kku-ui 0.9.952 → 0.9.953

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/lib/es/index.js CHANGED
@@ -3,7 +3,7 @@ import * as f from "react";
3
3
  import C, { forwardRef as se, useMemo as it, Children as Ec, isValidElement as Rc, cloneElement as Mc, createContext as Jn, useContext as ke, useLayoutEffect as Aa, useState as Ia, useEffect as Nc, useId as cr, useRef as Da, useImperativeHandle as dr, useCallback as Wn, memo as Oa } from "react";
4
4
  import * as eo from "react-dom";
5
5
  import Ba from "react-dom";
6
- import { ChevronDown as jo, ChevronRight as Fa, Check as $a, Circle as Pc, X as Tc, Loader2 as _c, ChevronUp as Lc } from "lucide-react";
6
+ import { ChevronDown as jo, ChevronRight as $a, Check as Fa, Circle as Pc, X as Tc, Loader2 as _c, ChevronUp as Lc } from "lucide-react";
7
7
  function Ur(e, t) {
8
8
  if (typeof e == "function")
9
9
  return e(t);
@@ -40,7 +40,7 @@ function Wa(e) {
40
40
  const t = /* @__PURE__ */ Oc(e), n = f.forwardRef((o, r) => {
41
41
  let { children: a, ...s } = o;
42
42
  za(a) && typeof Vn == "function" && (a = Vn(a._payload));
43
- const l = f.Children.toArray(a), d = l.find(Fc);
43
+ const l = f.Children.toArray(a), d = l.find($c);
44
44
  if (d) {
45
45
  const u = d.props.children, p = l.map((c) => c === d ? f.Children.count(u) > 1 ? f.Children.only(null) : f.isValidElement(u) ? u.props.children : null : c);
46
46
  return /* @__PURE__ */ i(t, { ...s, ref: r, children: f.isValidElement(u) ? f.cloneElement(u, void 0, p) : null });
@@ -55,7 +55,7 @@ function Oc(e) {
55
55
  const t = f.forwardRef((n, o) => {
56
56
  let { children: r, ...a } = n;
57
57
  if (za(r) && typeof Vn == "function" && (r = Vn(r._payload)), f.isValidElement(r)) {
58
- const s = zc(r), l = $c(a, r.props);
58
+ const s = zc(r), l = Fc(a, r.props);
59
59
  return r.type !== f.Fragment && (l.ref = o ? ln(o, s) : s), f.cloneElement(r, l);
60
60
  }
61
61
  return f.Children.count(r) > 1 ? f.Children.only(null) : null;
@@ -63,10 +63,10 @@ function Oc(e) {
63
63
  return t.displayName = `${e}.SlotClone`, t;
64
64
  }
65
65
  var Bc = Symbol("radix.slottable");
66
- function Fc(e) {
66
+ function $c(e) {
67
67
  return f.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Bc;
68
68
  }
69
- function $c(e, t) {
69
+ function Fc(e, t) {
70
70
  const n = { ...t };
71
71
  for (const o in t) {
72
72
  const r = e[o], a = t[o];
@@ -427,7 +427,7 @@ const Gr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Yr = Ha, c
427
427
  "bottom-left",
428
428
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
429
429
  "left-bottom"
430
- ], M = () => [...S(), W, z], I = () => ["auto", "hidden", "clip", "visible", "scroll"], E = () => ["auto", "contain", "none"], k = () => [W, z, d], L = () => [At, "full", "auto", ...k()], O = () => [ft, "none", "subgrid", W, z], $ = () => ["auto", {
430
+ ], M = () => [...S(), W, z], I = () => ["auto", "hidden", "clip", "visible", "scroll"], E = () => ["auto", "contain", "none"], k = () => [W, z, d], L = () => [At, "full", "auto", ...k()], O = () => [ft, "none", "subgrid", W, z], F = () => ["auto", {
431
431
  span: ["full", ft, W, z]
432
432
  }, ft, W, z], j = () => [ft, "auto", W, z], N = () => ["auto", "min", "max", "fr", W, z], H = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], U = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], P = () => ["auto", ...k()], D = () => [At, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...k()], R = () => [e, W, z], A = () => [...S(), Jr, Qr, {
433
433
  position: [W, z]
@@ -762,7 +762,7 @@ const Gr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Yr = Ha, c
762
762
  * @see https://tailwindcss.com/docs/grid-column
763
763
  */
764
764
  "col-start-end": [{
765
- col: $()
765
+ col: F()
766
766
  }],
767
767
  /**
768
768
  * Grid Column Start
@@ -790,7 +790,7 @@ const Gr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Yr = Ha, c
790
790
  * @see https://tailwindcss.com/docs/grid-row
791
791
  */
792
792
  "row-start-end": [{
793
- row: $()
793
+ row: F()
794
794
  }],
795
795
  /**
796
796
  * Grid Row Start
@@ -2879,7 +2879,7 @@ const Gr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Yr = Ha, c
2879
2879
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
2880
2880
  };
2881
2881
  }, Nd = /* @__PURE__ */ sd(Md);
2882
- function F(...e) {
2882
+ function $(...e) {
2883
2883
  return Nd(Ha(e));
2884
2884
  }
2885
2885
  const Pd = ct(
@@ -2926,7 +2926,7 @@ const Pd = ct(
2926
2926
  d,
2927
2927
  {
2928
2928
  ref: l,
2929
- className: F(Pd({ variant: t, size: n, width: u ? void 0 : o, className: e })),
2929
+ className: $(Pd({ variant: t, size: n, width: u ? void 0 : o, className: e })),
2930
2930
  style: { width: u ? o : void 0, ...r },
2931
2931
  ...s
2932
2932
  }
@@ -2945,7 +2945,7 @@ const Td = (e) => {
2945
2945
  "div",
2946
2946
  {
2947
2947
  role: "group",
2948
- className: F(
2948
+ className: $(
2949
2949
  "k-button-group",
2950
2950
  "inline-flex",
2951
2951
  o ? "flex-col" : "flex-row",
@@ -3111,7 +3111,7 @@ function ri(e) {
3111
3111
  // @__NO_SIDE_EFFECTS__
3112
3112
  function Et(e) {
3113
3113
  const t = /* @__PURE__ */ Od(e), n = f.forwardRef((o, r) => {
3114
- const { children: a, ...s } = o, l = f.Children.toArray(a), d = l.find(Fd);
3114
+ const { children: a, ...s } = o, l = f.Children.toArray(a), d = l.find($d);
3115
3115
  if (d) {
3116
3116
  const u = d.props.children, p = l.map((c) => c === d ? f.Children.count(u) > 1 ? f.Children.only(null) : f.isValidElement(u) ? u.props.children : null : c);
3117
3117
  return /* @__PURE__ */ i(t, { ...s, ref: r, children: f.isValidElement(u) ? f.cloneElement(u, void 0, p) : null });
@@ -3125,7 +3125,7 @@ function Od(e) {
3125
3125
  const t = f.forwardRef((n, o) => {
3126
3126
  const { children: r, ...a } = n;
3127
3127
  if (f.isValidElement(r)) {
3128
- const s = zd(r), l = $d(a, r.props);
3128
+ const s = zd(r), l = Fd(a, r.props);
3129
3129
  return r.type !== f.Fragment && (l.ref = o ? ln(o, s) : s), f.cloneElement(r, l);
3130
3130
  }
3131
3131
  return f.Children.count(r) > 1 ? f.Children.only(null) : null;
@@ -3133,10 +3133,10 @@ function Od(e) {
3133
3133
  return t.displayName = `${e}.SlotClone`, t;
3134
3134
  }
3135
3135
  var Bd = Symbol("radix.slottable");
3136
- function Fd(e) {
3136
+ function $d(e) {
3137
3137
  return f.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Bd;
3138
3138
  }
3139
- function $d(e, t) {
3139
+ function Fd(e, t) {
3140
3140
  const n = { ...t };
3141
3141
  for (const o in t) {
3142
3142
  const r = e[o], a = t[o];
@@ -3301,7 +3301,7 @@ const Yd = se(
3301
3301
  Ud,
3302
3302
  {
3303
3303
  ref: n,
3304
- className: F(
3304
+ className: $(
3305
3305
  "k-switch peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors",
3306
3306
  "focus-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",
3307
3307
  e
@@ -3310,7 +3310,7 @@ const Yd = se(
3310
3310
  children: /* @__PURE__ */ i(
3311
3311
  Gd,
3312
3312
  {
3313
- className: F(
3313
+ className: $(
3314
3314
  "pointer-events-none block h-5 w-5 rounded-full bg-white shadow-lg ring-0 transition-transform",
3315
3315
  "data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0"
3316
3316
  )
@@ -3763,9 +3763,9 @@ const wr = Jn({ size: "md" }), xu = ct(
3763
3763
  }
3764
3764
  }
3765
3765
  ), Cu = se(
3766
- ({ size: e = "md", className: t, children: n, ...o }, r) => /* @__PURE__ */ i(wr.Provider, { value: { size: e }, children: /* @__PURE__ */ i(gu, { ref: r, ...o, className: F("k-accordion", t), children: n }) })
3766
+ ({ size: e = "md", className: t, children: n, ...o }, r) => /* @__PURE__ */ i(wr.Provider, { value: { size: e }, children: /* @__PURE__ */ i(gu, { ref: r, ...o, className: $("k-accordion", t), children: n }) })
3767
3767
  ), Su = se(
3768
- ({ className: e, ...t }, n) => /* @__PURE__ */ i(vu, { ref: n, className: F("k-accordion__item border-b", e), ...t })
3768
+ ({ className: e, ...t }, n) => /* @__PURE__ */ i(vu, { ref: n, className: $("k-accordion__item border-b", e), ...t })
3769
3769
  ), ku = se(
3770
3770
  ({ className: e, children: t, ...n }, o) => {
3771
3771
  const { size: r } = ke(wr);
@@ -3773,14 +3773,14 @@ const wr = Jn({ size: "md" }), xu = ct(
3773
3773
  bu,
3774
3774
  {
3775
3775
  ref: o,
3776
- className: F("k-accordion__trigger", xu({ size: r, className: e })),
3776
+ className: $("k-accordion__trigger", xu({ size: r, className: e })),
3777
3777
  ...n,
3778
3778
  children: [
3779
3779
  t,
3780
3780
  /* @__PURE__ */ i(
3781
3781
  jo,
3782
3782
  {
3783
- className: F(
3783
+ className: $(
3784
3784
  "shrink-0 text-muted-foreground transition-transform duration-200",
3785
3785
  r === "sm" ? "h-3 w-3" : "h-4 w-4"
3786
3786
  )
@@ -3799,7 +3799,7 @@ const wr = Jn({ size: "md" }), xu = ct(
3799
3799
  ref: o,
3800
3800
  className: "k-accordion__content overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
3801
3801
  ...n,
3802
- children: /* @__PURE__ */ i("div", { className: F("pt-0", r === "sm" ? "pb-2 text-xs" : "pb-4 text-sm", e), children: t })
3802
+ children: /* @__PURE__ */ i("div", { className: $("pt-0", r === "sm" ? "pb-2 text-xs" : "pb-4 text-sm", e), children: t })
3803
3803
  }
3804
3804
  );
3805
3805
  }
@@ -4051,17 +4051,17 @@ function Bu(e, { upTo: t }) {
4051
4051
  }
4052
4052
  return !1;
4053
4053
  }
4054
- function Fu(e) {
4054
+ function $u(e) {
4055
4055
  return e instanceof HTMLInputElement && "select" in e;
4056
4056
  }
4057
4057
  function pt(e, { select: t = !1 } = {}) {
4058
4058
  if (e && e.focus) {
4059
4059
  const n = document.activeElement;
4060
- e.focus({ preventScroll: !0 }), e !== n && Fu(e) && t && e.select();
4060
+ e.focus({ preventScroll: !0 }), e !== n && $u(e) && t && e.select();
4061
4061
  }
4062
4062
  }
4063
- var aa = $u();
4064
- function $u() {
4063
+ var aa = Fu();
4064
+ function Fu() {
4065
4065
  let e = [];
4066
4066
  return {
4067
4067
  add(t) {
@@ -4364,7 +4364,7 @@ const Ju = (e) => ({
4364
4364
  }, v = xr(r), b = yr(v), h = await s.getDimensions(u), w = v === "y", g = w ? "top" : "left", x = w ? "bottom" : "right", y = w ? "clientHeight" : "clientWidth", S = a.reference[b] + a.reference[v] - m[v] - a.floating[b], M = m[v] - a.reference[v], I = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(u));
4365
4365
  let E = I ? I[y] : 0;
4366
4366
  (!E || !await (s.isElement == null ? void 0 : s.isElement(I))) && (E = l.floating[y] || a.floating[b]);
4367
- const k = S / 2 - M / 2, L = E / 2 - h[b] / 2 - 1, O = mt(c[g], L), $ = mt(c[x], L), j = O, N = E - h[b] - $, H = E / 2 - h[b] / 2 + k, U = Zo(j, H, N), P = !d.arrow && Ht(r) != null && H !== U && a.reference[b] / 2 - (H < j ? O : $) - h[b] / 2 < 0, D = P ? H < j ? H - j : H - N : 0;
4367
+ const k = S / 2 - M / 2, L = E / 2 - h[b] / 2 - 1, O = mt(c[g], L), F = mt(c[x], L), j = O, N = E - h[b] - F, H = E / 2 - h[b] / 2 + k, U = Zo(j, H, N), P = !d.arrow && Ht(r) != null && H !== U && a.reference[b] / 2 - (H < j ? O : F) - h[b] / 2 < 0, D = P ? H < j ? H - j : H - N : 0;
4368
4368
  return {
4369
4369
  [v]: m[v] + D,
4370
4370
  data: {
@@ -4413,8 +4413,8 @@ const Ju = (e) => ({
4413
4413
  placement: r,
4414
4414
  overflows: L
4415
4415
  }], !L.every((H) => H <= 0)) {
4416
- var $, j;
4417
- const H = ((($ = a.flip) == null ? void 0 : $.index) || 0) + 1, U = E[H];
4416
+ var F, j;
4417
+ const H = (((F = a.flip) == null ? void 0 : F.index) || 0) + 1, U = E[H];
4418
4418
  if (U && (!(c === "alignment" ? x !== Qe(U) : !1) || // We leave the current main axis only if every placement on that axis
4419
4419
  // overflows the main axis.
4420
4420
  O.every((R) => Qe(R.placement) === x ? R.overflows[0] > 0 : !0)))
@@ -4683,8 +4683,8 @@ const o1 = function(e) {
4683
4683
  const x = h - p.top - p.bottom, y = b - p.left - p.right, S = mt(h - p[w], x), M = mt(b - p[g], y), I = !t.middlewareData.shift;
4684
4684
  let E = S, k = M;
4685
4685
  if ((n = t.middlewareData.shift) != null && n.enabled.x && (k = y), (o = t.middlewareData.shift) != null && o.enabled.y && (E = x), I && !m) {
4686
- const O = Ae(p.left, 0), $ = Ae(p.right, 0), j = Ae(p.top, 0), N = Ae(p.bottom, 0);
4687
- v ? k = b - 2 * (O !== 0 || $ !== 0 ? O + $ : Ae(p.left, p.right)) : E = h - 2 * (j !== 0 || N !== 0 ? j + N : Ae(p.top, p.bottom));
4686
+ const O = Ae(p.left, 0), F = Ae(p.right, 0), j = Ae(p.top, 0), N = Ae(p.bottom, 0);
4687
+ v ? k = b - 2 * (O !== 0 || F !== 0 ? O + F : Ae(p.left, p.right)) : E = h - 2 * (j !== 0 || N !== 0 ? j + N : Ae(p.top, p.bottom));
4688
4688
  }
4689
4689
  await d({
4690
4690
  ...t,
@@ -4757,7 +4757,7 @@ function Cr(e) {
4757
4757
  }
4758
4758
  function m1(e) {
4759
4759
  let t = ht(e);
4760
- for (; et(t) && !$t(t); ) {
4760
+ for (; et(t) && !Ft(t); ) {
4761
4761
  if (Cr(t))
4762
4762
  return t;
4763
4763
  if (co(t))
@@ -4770,7 +4770,7 @@ function Sr() {
4770
4770
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
4771
4771
  }
4772
4772
  const h1 = /* @__PURE__ */ new Set(["html", "body", "#document"]);
4773
- function $t(e) {
4773
+ function Ft(e) {
4774
4774
  return h1.has(Kt(e));
4775
4775
  }
4776
4776
  function je(e) {
@@ -4799,7 +4799,7 @@ function ht(e) {
4799
4799
  }
4800
4800
  function Ai(e) {
4801
4801
  const t = ht(e);
4802
- return $t(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : et(t) && un(t) ? t : Ai(t);
4802
+ return Ft(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : et(t) && un(t) ? t : Ai(t);
4803
4803
  }
4804
4804
  function rn(e, t, n) {
4805
4805
  var o;
@@ -4979,7 +4979,7 @@ function ma(e, t, n) {
4979
4979
  }
4980
4980
  function Bi(e, t) {
4981
4981
  const n = ht(e);
4982
- return n === t || !Ke(n) || $t(n) ? !1 : je(n).position === "fixed" || Bi(n, t);
4982
+ return n === t || !Ke(n) || Ft(n) ? !1 : je(n).position === "fixed" || Bi(n, t);
4983
4983
  }
4984
4984
  function k1(e, t) {
4985
4985
  const n = t.get(e);
@@ -4988,7 +4988,7 @@ function k1(e, t) {
4988
4988
  let o = rn(e, [], !1).filter((l) => Ke(l) && Kt(l) !== "body"), r = null;
4989
4989
  const a = je(e).position === "fixed";
4990
4990
  let s = a ? ht(e) : e;
4991
- for (; Ke(s) && !$t(s); ) {
4991
+ for (; Ke(s) && !Ft(s); ) {
4992
4992
  const l = je(s), d = Cr(s);
4993
4993
  !d && l.position === "fixed" && (r = null), (a ? !d && !r : !d && l.position === "static" && !!r && C1.has(r.position) || un(s) && !d && Bi(e, s)) ? o = o.filter((p) => p !== s) : r = l, s = ht(s);
4994
4994
  }
@@ -5057,13 +5057,13 @@ function ha(e, t) {
5057
5057
  let n = e.offsetParent;
5058
5058
  return tt(e) === n && (n = n.ownerDocument.body), n;
5059
5059
  }
5060
- function Fi(e, t) {
5060
+ function $i(e, t) {
5061
5061
  const n = Ie(e);
5062
5062
  if (co(e))
5063
5063
  return n;
5064
5064
  if (!et(e)) {
5065
5065
  let r = ht(e);
5066
- for (; r && !$t(r); ) {
5066
+ for (; r && !Ft(r); ) {
5067
5067
  if (Ke(r) && !Io(r))
5068
5068
  return r;
5069
5069
  r = ht(r);
@@ -5073,10 +5073,10 @@ function Fi(e, t) {
5073
5073
  let o = ha(e, t);
5074
5074
  for (; o && c1(o) && Io(o); )
5075
5075
  o = ha(o, t);
5076
- return o && $t(o) && Io(o) && !Cr(o) ? n : o || m1(e) || n;
5076
+ return o && Ft(o) && Io(o) && !Cr(o) ? n : o || m1(e) || n;
5077
5077
  }
5078
5078
  const N1 = async function(e) {
5079
- const t = this.getOffsetParent || Fi, n = this.getDimensions, o = await n(e.floating);
5079
+ const t = this.getOffsetParent || $i, n = this.getDimensions, o = await n(e.floating);
5080
5080
  return {
5081
5081
  reference: M1(e.reference, await t(e.floating), e.strategy),
5082
5082
  floating: {
@@ -5094,7 +5094,7 @@ const T1 = {
5094
5094
  convertOffsetParentRelativeRectToViewportRelativeRect: w1,
5095
5095
  getDocumentElement: tt,
5096
5096
  getClippingRect: E1,
5097
- getOffsetParent: Fi,
5097
+ getOffsetParent: $i,
5098
5098
  getElementRects: N1,
5099
5099
  getClientRects: b1,
5100
5100
  getDimensions: R1,
@@ -5102,7 +5102,7 @@ const T1 = {
5102
5102
  isElement: Ke,
5103
5103
  isRTL: P1
5104
5104
  };
5105
- function $i(e, t) {
5105
+ function Fi(e, t) {
5106
5106
  return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
5107
5107
  }
5108
5108
  function _1(e, t) {
@@ -5136,7 +5136,7 @@ function _1(e, t) {
5136
5136
  s(!1, 1e-7);
5137
5137
  }, 1e3);
5138
5138
  }
5139
- E === 1 && !$i(u, e.getBoundingClientRect()) && s(), S = !1;
5139
+ E === 1 && !Fi(u, e.getBoundingClientRect()) && s(), S = !1;
5140
5140
  }
5141
5141
  try {
5142
5142
  n = new IntersectionObserver(M, {
@@ -5178,7 +5178,7 @@ function L1(e, t, n, o) {
5178
5178
  d && w();
5179
5179
  function w() {
5180
5180
  const g = Rt(e);
5181
- h && !$i(h, g) && n(), h = g, b = requestAnimationFrame(w);
5181
+ h && !Fi(h, g) && n(), h = g, b = requestAnimationFrame(w);
5182
5182
  }
5183
5183
  return n(), () => {
5184
5184
  var g;
@@ -5187,7 +5187,7 @@ function L1(e, t, n, o) {
5187
5187
  }), c?.(), (g = v) == null || g.disconnect(), v = null, d && cancelAnimationFrame(b);
5188
5188
  };
5189
5189
  }
5190
- const A1 = o1, I1 = r1, D1 = e1, O1 = i1, B1 = t1, ga = Ju, F1 = a1, $1 = (e, t, n) => {
5190
+ const A1 = o1, I1 = r1, D1 = e1, O1 = i1, B1 = t1, ga = Ju, $1 = a1, F1 = (e, t, n) => {
5191
5191
  const o = /* @__PURE__ */ new Map(), r = {
5192
5192
  platform: T1,
5193
5193
  ...n
@@ -5201,7 +5201,7 @@ const A1 = o1, I1 = r1, D1 = e1, O1 = i1, B1 = t1, ga = Ju, F1 = a1, $1 = (e, t,
5201
5201
  });
5202
5202
  };
5203
5203
  var z1 = typeof document < "u", W1 = function() {
5204
- }, Fn = z1 ? Aa : W1;
5204
+ }, $n = z1 ? Aa : W1;
5205
5205
  function Yn(e, t) {
5206
5206
  if (e === t)
5207
5207
  return !0;
@@ -5241,7 +5241,7 @@ function va(e, t) {
5241
5241
  }
5242
5242
  function Do(e) {
5243
5243
  const t = f.useRef(e);
5244
- return Fn(() => {
5244
+ return $n(() => {
5245
5245
  t.current = e;
5246
5246
  }), t;
5247
5247
  }
@@ -5272,7 +5272,7 @@ function V1(e) {
5272
5272
  R !== I.current && (I.current = R, h(R));
5273
5273
  }, []), y = f.useCallback((R) => {
5274
5274
  R !== E.current && (E.current = R, g(R));
5275
- }, []), S = a || b, M = s || w, I = f.useRef(null), E = f.useRef(null), k = f.useRef(p), L = d != null, O = Do(d), $ = Do(r), j = Do(u), N = f.useCallback(() => {
5275
+ }, []), S = a || b, M = s || w, I = f.useRef(null), E = f.useRef(null), k = f.useRef(p), L = d != null, O = Do(d), F = Do(r), j = Do(u), N = f.useCallback(() => {
5276
5276
  if (!I.current || !E.current)
5277
5277
  return;
5278
5278
  const R = {
@@ -5280,7 +5280,7 @@ function V1(e) {
5280
5280
  strategy: n,
5281
5281
  middleware: m
5282
5282
  };
5283
- $.current && (R.platform = $.current), $1(I.current, E.current, R).then((A) => {
5283
+ F.current && (R.platform = F.current), F1(I.current, E.current, R).then((A) => {
5284
5284
  const J = {
5285
5285
  ...A,
5286
5286
  // The floating element's position may be recomputed while it's closed
@@ -5293,17 +5293,17 @@ function V1(e) {
5293
5293
  c(J);
5294
5294
  }));
5295
5295
  });
5296
- }, [m, t, n, $, j]);
5297
- Fn(() => {
5296
+ }, [m, t, n, F, j]);
5297
+ $n(() => {
5298
5298
  u === !1 && k.current.isPositioned && (k.current.isPositioned = !1, c((R) => ({
5299
5299
  ...R,
5300
5300
  isPositioned: !1
5301
5301
  })));
5302
5302
  }, [u]);
5303
5303
  const H = f.useRef(!1);
5304
- Fn(() => (H.current = !0, () => {
5304
+ $n(() => (H.current = !0, () => {
5305
5305
  H.current = !1;
5306
- }), []), Fn(() => {
5306
+ }), []), $n(() => {
5307
5307
  if (S && (I.current = S), M && (E.current = M), S && M) {
5308
5308
  if (O.current)
5309
5309
  return O.current(S, M, N);
@@ -5375,7 +5375,7 @@ const H1 = (e) => {
5375
5375
  ...I1(e),
5376
5376
  options: [e, t]
5377
5377
  }), U1 = (e, t) => ({
5378
- ...F1(e),
5378
+ ...$1(e),
5379
5379
  options: [e, t]
5380
5380
  }), G1 = (e, t) => ({
5381
5381
  ...D1(e),
@@ -5438,9 +5438,9 @@ var Rr = "PopperContent", [e0, t0] = Vi(Rr), Gi = f.forwardRef(
5438
5438
  updatePositionStrategy: v = "optimized",
5439
5439
  onPlaced: b,
5440
5440
  ...h
5441
- } = e, w = Hi(Rr, n), [g, x] = f.useState(null), y = ce(t, (T) => x(T)), [S, M] = f.useState(null), I = ri(S), E = I?.width ?? 0, k = I?.height ?? 0, L = o + (a !== "center" ? "-" + a : ""), O = typeof p == "number" ? p : { top: 0, right: 0, bottom: 0, left: 0, ...p }, $ = Array.isArray(u) ? u : [u], j = $.length > 0, N = {
5441
+ } = e, w = Hi(Rr, n), [g, x] = f.useState(null), y = ce(t, (T) => x(T)), [S, M] = f.useState(null), I = ri(S), E = I?.width ?? 0, k = I?.height ?? 0, L = o + (a !== "center" ? "-" + a : ""), O = typeof p == "number" ? p : { top: 0, right: 0, bottom: 0, left: 0, ...p }, F = Array.isArray(u) ? u : [u], j = F.length > 0, N = {
5442
5442
  padding: O,
5443
- boundary: $.filter(o0),
5443
+ boundary: F.filter(o0),
5444
5444
  // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
5445
5445
  altBoundary: j
5446
5446
  }, { refs: H, floatingStyles: U, placement: P, isPositioned: D, middlewareData: R } = V1({
@@ -5675,7 +5675,7 @@ var u0 = f.forwardRef((e, t) => {
5675
5675
  if (k.target === k.currentTarget && L && !g) {
5676
5676
  const O = new CustomEvent(Oo, i0);
5677
5677
  if (k.currentTarget.dispatchEvent(O), !O.defaultPrevented) {
5678
- const $ = S().filter((P) => P.focusable), j = $.find((P) => P.active), N = $.find((P) => P.id === h), U = [j, N, ...$].filter(
5678
+ const F = S().filter((P) => P.focusable), j = F.find((P) => P.active), N = F.find((P) => P.id === h), U = [j, N, ...F].filter(
5679
5679
  Boolean
5680
5680
  ).map((P) => P.ref.current);
5681
5681
  ns(U, p);
@@ -5843,8 +5843,8 @@ function x0(e, t, n) {
5843
5843
  (a || !(o in t)) && (a || (a = Array.prototype.slice.call(t, 0, o)), a[o] = t[o]);
5844
5844
  return e.concat(a || Array.prototype.slice.call(t));
5845
5845
  }
5846
- var $n = "right-scroll-bar-position", zn = "width-before-scroll-bar", C0 = "with-scroll-bars-hidden", S0 = "--removed-body-scroll-bar-size";
5847
- function Fo(e, t) {
5846
+ var Fn = "right-scroll-bar-position", zn = "width-before-scroll-bar", C0 = "with-scroll-bars-hidden", S0 = "--removed-body-scroll-bar-size";
5847
+ function $o(e, t) {
5848
5848
  return typeof e == "function" ? e(t) : e && (e.current = t), e;
5849
5849
  }
5850
5850
  function k0(e, t) {
@@ -5872,7 +5872,7 @@ var E0 = typeof window < "u" ? f.useLayoutEffect : f.useEffect, wa = /* @__PURE_
5872
5872
  function R0(e, t) {
5873
5873
  var n = k0(null, function(o) {
5874
5874
  return e.forEach(function(r) {
5875
- return Fo(r, o);
5875
+ return $o(r, o);
5876
5876
  });
5877
5877
  });
5878
5878
  return E0(function() {
@@ -5880,9 +5880,9 @@ function R0(e, t) {
5880
5880
  if (o) {
5881
5881
  var r = new Set(o), a = new Set(e), s = n.current;
5882
5882
  r.forEach(function(l) {
5883
- a.has(l) || Fo(l, null);
5883
+ a.has(l) || $o(l, null);
5884
5884
  }), a.forEach(function(l) {
5885
- r.has(l) || Fo(l, s);
5885
+ r.has(l) || $o(l, s);
5886
5886
  });
5887
5887
  }
5888
5888
  wa.set(n, e);
@@ -5964,12 +5964,12 @@ as.isSideCarExport = !0;
5964
5964
  function T0(e, t) {
5965
5965
  return e.useMedium(t), as;
5966
5966
  }
5967
- var is = P0(), $o = function() {
5967
+ var is = P0(), Fo = function() {
5968
5968
  }, go = f.forwardRef(function(e, t) {
5969
5969
  var n = f.useRef(null), o = f.useState({
5970
- onScrollCapture: $o,
5971
- onWheelCapture: $o,
5972
- onTouchMoveCapture: $o
5970
+ onScrollCapture: Fo,
5971
+ onWheelCapture: Fo,
5972
+ onTouchMoveCapture: Fo
5973
5973
  }), r = o[0], a = o[1], s = e.forwardProps, l = e.children, d = e.className, u = e.removeScrollBar, p = e.enabled, c = e.shards, m = e.sideCar, v = e.noRelative, b = e.noIsolation, h = e.inert, w = e.allowPinchZoom, g = e.as, x = g === void 0 ? "div" : g, y = e.gapMode, S = rs(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), M = m, I = R0([n, t]), E = qe(qe({}, S), r);
5974
5974
  return f.createElement(
5975
5975
  f.Fragment,
@@ -5985,7 +5985,7 @@ go.defaultProps = {
5985
5985
  };
5986
5986
  go.classNames = {
5987
5987
  fullWidth: zn,
5988
- zeroRight: $n
5988
+ zeroRight: Fn
5989
5989
  };
5990
5990
  var _0 = function() {
5991
5991
  if (typeof __webpack_nonce__ < "u")
@@ -6038,27 +6038,27 @@ var D0 = function() {
6038
6038
  gap: 0
6039
6039
  }, zo = function(e) {
6040
6040
  return parseInt(e || "", 10) || 0;
6041
- }, F0 = function(e) {
6041
+ }, $0 = function(e) {
6042
6042
  var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], o = t[e === "padding" ? "paddingTop" : "marginTop"], r = t[e === "padding" ? "paddingRight" : "marginRight"];
6043
6043
  return [zo(n), zo(o), zo(r)];
6044
- }, $0 = function(e) {
6044
+ }, F0 = function(e) {
6045
6045
  if (e === void 0 && (e = "margin"), typeof window > "u")
6046
6046
  return B0;
6047
- var t = F0(e), n = document.documentElement.clientWidth, o = window.innerWidth;
6047
+ var t = $0(e), n = document.documentElement.clientWidth, o = window.innerWidth;
6048
6048
  return {
6049
6049
  left: t[0],
6050
6050
  top: t[1],
6051
6051
  right: t[2],
6052
6052
  gap: Math.max(0, o - n + t[2] - t[0])
6053
6053
  };
6054
- }, z0 = ss(), Ft = "data-scroll-locked", W0 = function(e, t, n, o) {
6054
+ }, z0 = ss(), $t = "data-scroll-locked", W0 = function(e, t, n, o) {
6055
6055
  var r = e.left, a = e.top, s = e.right, l = e.gap;
6056
6056
  return n === void 0 && (n = "margin"), `
6057
6057
  .`.concat(C0, ` {
6058
6058
  overflow: hidden `).concat(o, `;
6059
6059
  padding-right: `).concat(l, "px ").concat(o, `;
6060
6060
  }
6061
- body[`).concat(Ft, `] {
6061
+ body[`).concat($t, `] {
6062
6062
  overflow: hidden `).concat(o, `;
6063
6063
  overscroll-behavior: contain;
6064
6064
  `).concat([
@@ -6075,7 +6075,7 @@ var D0 = function() {
6075
6075
  ].filter(Boolean).join(""), `
6076
6076
  }
6077
6077
 
6078
- .`).concat($n, ` {
6078
+ .`).concat(Fn, ` {
6079
6079
  right: `).concat(l, "px ").concat(o, `;
6080
6080
  }
6081
6081
 
@@ -6083,7 +6083,7 @@ var D0 = function() {
6083
6083
  margin-right: `).concat(l, "px ").concat(o, `;
6084
6084
  }
6085
6085
 
6086
- .`).concat($n, " .").concat($n, ` {
6086
+ .`).concat(Fn, " .").concat(Fn, ` {
6087
6087
  right: 0 `).concat(o, `;
6088
6088
  }
6089
6089
 
@@ -6091,25 +6091,25 @@ var D0 = function() {
6091
6091
  margin-right: 0 `).concat(o, `;
6092
6092
  }
6093
6093
 
6094
- body[`).concat(Ft, `] {
6094
+ body[`).concat($t, `] {
6095
6095
  `).concat(S0, ": ").concat(l, `px;
6096
6096
  }
6097
6097
  `);
6098
6098
  }, ba = function() {
6099
- var e = parseInt(document.body.getAttribute(Ft) || "0", 10);
6099
+ var e = parseInt(document.body.getAttribute($t) || "0", 10);
6100
6100
  return isFinite(e) ? e : 0;
6101
6101
  }, V0 = function() {
6102
6102
  f.useEffect(function() {
6103
- return document.body.setAttribute(Ft, (ba() + 1).toString()), function() {
6103
+ return document.body.setAttribute($t, (ba() + 1).toString()), function() {
6104
6104
  var e = ba() - 1;
6105
- e <= 0 ? document.body.removeAttribute(Ft) : document.body.setAttribute(Ft, e.toString());
6105
+ e <= 0 ? document.body.removeAttribute($t) : document.body.setAttribute($t, e.toString());
6106
6106
  };
6107
6107
  }, []);
6108
6108
  }, H0 = function(e) {
6109
6109
  var t = e.noRelative, n = e.noImportant, o = e.gapMode, r = o === void 0 ? "margin" : o;
6110
6110
  V0();
6111
6111
  var a = f.useMemo(function() {
6112
- return $0(r);
6112
+ return F0(r);
6113
6113
  }, [r]);
6114
6114
  return f.createElement(z0, { styles: W0(a, !t, r, n ? "" : "!important") });
6115
6115
  }, Jo = !1;
@@ -6227,10 +6227,10 @@ function ef(e) {
6227
6227
  var k = window.getSelection(), L = k && k.anchorNode, O = L ? L === I || L.contains(I) : !1;
6228
6228
  if (O)
6229
6229
  return !1;
6230
- var $ = ya(E, I);
6231
- if (!$)
6230
+ var F = ya(E, I);
6231
+ if (!F)
6232
6232
  return !0;
6233
- if ($ ? M = E : (M = E === "v" ? "h" : "v", $ = ya(E, I)), !$)
6233
+ if (F ? M = E : (M = E === "v" ? "h" : "v", F = ya(E, I)), !F)
6234
6234
  return !1;
6235
6235
  if (!o.current && "changedTouches" in h && (y || S) && (o.current = M), !M)
6236
6236
  return !0;
@@ -6352,14 +6352,14 @@ var Tr = "MenuPortal", [ff, gs] = Tt(Tr, {
6352
6352
  return /* @__PURE__ */ i(ff, { scope: t, forceMount: n, children: /* @__PURE__ */ i(Ge, { present: n || a.open, children: /* @__PURE__ */ i(fn, { asChild: !0, container: r, children: o }) }) });
6353
6353
  };
6354
6354
  vs.displayName = Tr;
6355
- var Fe = "MenuContent", [pf, _r] = Tt(Fe), ws = f.forwardRef(
6355
+ var $e = "MenuContent", [pf, _r] = Tt($e), ws = f.forwardRef(
6356
6356
  (e, t) => {
6357
- const n = gs(Fe, e.__scopeMenu), { forceMount: o = n.forceMount, ...r } = e, a = gt(Fe, e.__scopeMenu), s = vn(Fe, e.__scopeMenu);
6357
+ const n = gs($e, e.__scopeMenu), { forceMount: o = n.forceMount, ...r } = e, a = gt($e, e.__scopeMenu), s = vn($e, e.__scopeMenu);
6358
6358
  return /* @__PURE__ */ i(an.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ i(Ge, { present: o || a.open, children: /* @__PURE__ */ i(an.Slot, { scope: e.__scopeMenu, children: s.modal ? /* @__PURE__ */ i(mf, { ...r, ref: t }) : /* @__PURE__ */ i(hf, { ...r, ref: t }) }) }) });
6359
6359
  }
6360
6360
  ), mf = f.forwardRef(
6361
6361
  (e, t) => {
6362
- const n = gt(Fe, e.__scopeMenu), o = f.useRef(null), r = ce(t, o);
6362
+ const n = gt($e, e.__scopeMenu), o = f.useRef(null), r = ce(t, o);
6363
6363
  return f.useEffect(() => {
6364
6364
  const a = o.current;
6365
6365
  if (a) return ho(a);
@@ -6381,7 +6381,7 @@ var Fe = "MenuContent", [pf, _r] = Tt(Fe), ws = f.forwardRef(
6381
6381
  );
6382
6382
  }
6383
6383
  ), hf = f.forwardRef((e, t) => {
6384
- const n = gt(Fe, e.__scopeMenu);
6384
+ const n = gt($e, e.__scopeMenu);
6385
6385
  return /* @__PURE__ */ i(
6386
6386
  Lr,
6387
6387
  {
@@ -6410,7 +6410,7 @@ var Fe = "MenuContent", [pf, _r] = Tt(Fe), ws = f.forwardRef(
6410
6410
  onDismiss: v,
6411
6411
  disableOutsideScroll: b,
6412
6412
  ...h
6413
- } = e, w = gt(Fe, n), g = vn(Fe, n), x = gn(n), y = ps(n), S = lf(n), [M, I] = f.useState(null), E = f.useRef(null), k = ce(t, E, w.onContentChange), L = f.useRef(0), O = f.useRef(""), $ = f.useRef(0), j = f.useRef(null), N = f.useRef("right"), H = f.useRef(0), U = b ? mn : f.Fragment, P = b ? { as: gf, allowPinchZoom: !0 } : void 0, D = (A) => {
6413
+ } = e, w = gt($e, n), g = vn($e, n), x = gn(n), y = ps(n), S = lf(n), [M, I] = f.useState(null), E = f.useRef(null), k = ce(t, E, w.onContentChange), L = f.useRef(0), O = f.useRef(""), F = f.useRef(0), j = f.useRef(null), N = f.useRef("right"), H = f.useRef(0), U = b ? mn : f.Fragment, P = b ? { as: gf, allowPinchZoom: !0 } : void 0, D = (A) => {
6414
6414
  const J = O.current + A, fe = S().filter((T) => !T.disabled), we = document.activeElement, B = fe.find((T) => T.ref.current === we)?.textValue, Z = fe.map((T) => T.textValue), ee = Nf(Z, J, B), le = fe.find((T) => T.textValue === ee)?.ref.current;
6415
6415
  (function T(K) {
6416
6416
  O.current = K, window.clearTimeout(L.current), K !== "" && (L.current = window.setTimeout(() => T(""), 1e3));
@@ -6441,7 +6441,7 @@ var Fe = "MenuContent", [pf, _r] = Tt(Fe), ws = f.forwardRef(
6441
6441
  },
6442
6442
  [R]
6443
6443
  ),
6444
- pointerGraceTimerRef: $,
6444
+ pointerGraceTimerRef: F,
6445
6445
  onPointerGraceIntentChange: f.useCallback((A) => {
6446
6446
  j.current = A;
6447
6447
  }, []),
@@ -6524,7 +6524,7 @@ var Fe = "MenuContent", [pf, _r] = Tt(Fe), ws = f.forwardRef(
6524
6524
  );
6525
6525
  }
6526
6526
  );
6527
- ws.displayName = Fe;
6527
+ ws.displayName = $e;
6528
6528
  var vf = "MenuGroup", Ar = f.forwardRef(
6529
6529
  (e, t) => {
6530
6530
  const { __scopeMenu: n, ...o } = e;
@@ -6801,7 +6801,7 @@ var en = "MenuSubTrigger", Ls = f.forwardRef(
6801
6801
  Ls.displayName = en;
6802
6802
  var As = "MenuSubContent", Is = f.forwardRef(
6803
6803
  (e, t) => {
6804
- const n = gs(Fe, e.__scopeMenu), { forceMount: o = n.forceMount, ...r } = e, a = gt(Fe, e.__scopeMenu), s = vn(Fe, e.__scopeMenu), l = Ts(As, e.__scopeMenu), d = f.useRef(null), u = ce(t, d);
6804
+ const n = gs($e, e.__scopeMenu), { forceMount: o = n.forceMount, ...r } = e, a = gt($e, e.__scopeMenu), s = vn($e, e.__scopeMenu), l = Ts(As, e.__scopeMenu), d = f.useRef(null), u = ce(t, d);
6805
6805
  return /* @__PURE__ */ i(an.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ i(Ge, { present: o || a.open, children: /* @__PURE__ */ i(an.Slot, { scope: e.__scopeMenu, children: /* @__PURE__ */ i(
6806
6806
  Lr,
6807
6807
  {
@@ -6876,7 +6876,7 @@ function Tf(e, t) {
6876
6876
  function sn(e) {
6877
6877
  return (t) => t.pointerType === "mouse" ? e(t) : void 0;
6878
6878
  }
6879
- var _f = hs, Lf = Pr, Af = vs, If = ws, Df = Ar, Of = bs, Bf = vo, Ff = xs, $f = Ss, zf = Es, Wf = Ms, Vf = Ns, Hf = Ps, Kf = _s, jf = Ls, Uf = Is, wo = "DropdownMenu", [Gf, j5] = Ue(
6879
+ var _f = hs, Lf = Pr, Af = vs, If = ws, Df = Ar, Of = bs, Bf = vo, $f = xs, Ff = Ss, zf = Es, Wf = Ms, Vf = Ns, Hf = Ps, Kf = _s, jf = Ls, Uf = Is, wo = "DropdownMenu", [Gf, j5] = Ue(
6880
6880
  wo,
6881
6881
  [fs]
6882
6882
  ), Me = fs(), [Yf, Os] = Gf(wo), Bs = (e) => {
@@ -6910,9 +6910,9 @@ var _f = hs, Lf = Pr, Af = vs, If = ws, Df = Ar, Of = bs, Bf = vo, Ff = xs, $f =
6910
6910
  );
6911
6911
  };
6912
6912
  Bs.displayName = wo;
6913
- var Fs = "DropdownMenuTrigger", $s = f.forwardRef(
6913
+ var $s = "DropdownMenuTrigger", Fs = f.forwardRef(
6914
6914
  (e, t) => {
6915
- const { __scopeDropdownMenu: n, disabled: o = !1, ...r } = e, a = Os(Fs, n), s = Me(n);
6915
+ const { __scopeDropdownMenu: n, disabled: o = !1, ...r } = e, a = Os($s, n), s = Me(n);
6916
6916
  return /* @__PURE__ */ i(Lf, { asChild: !0, ...s, children: /* @__PURE__ */ i(
6917
6917
  Q.button,
6918
6918
  {
@@ -6936,7 +6936,7 @@ var Fs = "DropdownMenuTrigger", $s = f.forwardRef(
6936
6936
  ) });
6937
6937
  }
6938
6938
  );
6939
- $s.displayName = Fs;
6939
+ Fs.displayName = $s;
6940
6940
  var Zf = "DropdownMenuPortal", zs = (e) => {
6941
6941
  const { __scopeDropdownMenu: t, ...n } = e, o = Me(t);
6942
6942
  return /* @__PURE__ */ i(Af, { ...o, ...n });
@@ -6996,12 +6996,12 @@ var Qf = "DropdownMenuItem", js = f.forwardRef(
6996
6996
  js.displayName = Qf;
6997
6997
  var Jf = "DropdownMenuCheckboxItem", Us = f.forwardRef((e, t) => {
6998
6998
  const { __scopeDropdownMenu: n, ...o } = e, r = Me(n);
6999
- return /* @__PURE__ */ i(Ff, { ...r, ...o, ref: t });
6999
+ return /* @__PURE__ */ i($f, { ...r, ...o, ref: t });
7000
7000
  });
7001
7001
  Us.displayName = Jf;
7002
7002
  var e2 = "DropdownMenuRadioGroup", Gs = f.forwardRef((e, t) => {
7003
7003
  const { __scopeDropdownMenu: n, ...o } = e, r = Me(n);
7004
- return /* @__PURE__ */ i($f, { ...r, ...o, ref: t });
7004
+ return /* @__PURE__ */ i(Ff, { ...r, ...o, ref: t });
7005
7005
  });
7006
7006
  Gs.displayName = e2;
7007
7007
  var t2 = "DropdownMenuRadioItem", Ys = f.forwardRef((e, t) => {
@@ -7059,7 +7059,7 @@ var l2 = "DropdownMenuSubContent", Qs = f.forwardRef((e, t) => {
7059
7059
  );
7060
7060
  });
7061
7061
  Qs.displayName = l2;
7062
- var c2 = Bs, d2 = $s, Js = zs, u2 = Vs, f2 = Hs, p2 = Ks, m2 = js, h2 = Us, g2 = Gs, v2 = Ys, el = Zs, w2 = Xs, b2 = i2, y2 = qs, x2 = Qs;
7062
+ var c2 = Bs, d2 = Fs, Js = zs, u2 = Vs, f2 = Hs, p2 = Ks, m2 = js, h2 = Us, g2 = Gs, v2 = Ys, el = Zs, w2 = Xs, b2 = i2, y2 = qs, x2 = Qs;
7063
7063
  const Ut = Jn({ size: "md" }), bo = ct(
7064
7064
  "relative flex cursor-default select-none items-center gap-2 rounded-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",
7065
7065
  {
@@ -7074,40 +7074,40 @@ const Ut = Jn({ size: "md" }), bo = ct(
7074
7074
  },
7075
7075
  defaultVariants: { size: "md" }
7076
7076
  }), S2 = ({ size: e = "md", ...t }) => /* @__PURE__ */ i(Ut.Provider, { value: { size: e }, children: /* @__PURE__ */ i(c2, { ...t }) }), k2 = se(
7077
- ({ className: e, ...t }, n) => /* @__PURE__ */ i(d2, { ref: n, className: F("k-dropdown-menu__trigger", e), ...t })
7077
+ ({ className: e, ...t }, n) => /* @__PURE__ */ i(d2, { ref: n, className: $("k-dropdown-menu__trigger", e), ...t })
7078
7078
  ), E2 = se(
7079
- ({ className: e, ...t }, n) => /* @__PURE__ */ i(f2, { ref: n, className: F("k-dropdown-menu__group", e), ...t })
7079
+ ({ className: e, ...t }, n) => /* @__PURE__ */ i(f2, { ref: n, className: $("k-dropdown-menu__group", e), ...t })
7080
7080
  ), R2 = se(
7081
- ({ className: e, ...t }, n) => /* @__PURE__ */ i(g2, { ref: n, className: F("k-dropdown-menu__radio-group", e), ...t })
7081
+ ({ className: e, ...t }, n) => /* @__PURE__ */ i(g2, { ref: n, className: $("k-dropdown-menu__radio-group", e), ...t })
7082
7082
  ), M2 = Js, N2 = b2, P2 = se(
7083
7083
  ({ className: e, inset: t, children: n, ...o }, r) => {
7084
7084
  const { size: a } = ke(Ut);
7085
- return /* @__PURE__ */ _(y2, { ref: r, className: F("k-dropdown-menu__sub-trigger", bo({ size: a, className: e }), "data-[state=open]:bg-accent", t && "pl-8"), ...o, children: [
7085
+ return /* @__PURE__ */ _(y2, { ref: r, className: $("k-dropdown-menu__sub-trigger", bo({ size: a, className: e }), "data-[state=open]:bg-accent", t && "pl-8"), ...o, children: [
7086
7086
  n,
7087
- /* @__PURE__ */ i(Fa, { className: "ml-auto size-4" })
7087
+ /* @__PURE__ */ i($a, { className: "ml-auto size-4" })
7088
7088
  ] });
7089
7089
  }
7090
7090
  ), T2 = se(
7091
- ({ className: e, ...t }, n) => /* @__PURE__ */ i(x2, { ref: n, className: F("k-dropdown-menu__sub-content z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin]", e), ...t })
7091
+ ({ className: e, ...t }, n) => /* @__PURE__ */ i(x2, { ref: n, className: $("k-dropdown-menu__sub-content z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin]", e), ...t })
7092
7092
  ), _2 = se(
7093
- ({ className: e, sideOffset: t = 4, ...n }, o) => /* @__PURE__ */ i(Js, { children: /* @__PURE__ */ i(u2, { ref: o, sideOffset: t, className: F("k-dropdown-menu z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin]", e), ...n }) })
7093
+ ({ className: e, sideOffset: t = 4, ...n }, o) => /* @__PURE__ */ i(Js, { children: /* @__PURE__ */ i(u2, { ref: o, sideOffset: t, className: $("k-dropdown-menu z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin]", e), ...n }) })
7094
7094
  ), L2 = se(
7095
7095
  ({ className: e, inset: t, ...n }, o) => {
7096
7096
  const { size: r } = ke(Ut);
7097
- return /* @__PURE__ */ i(m2, { ref: o, className: F("k-dropdown-menu__item", bo({ size: r, className: e }), t && "pl-8"), ...n });
7097
+ return /* @__PURE__ */ i(m2, { ref: o, className: $("k-dropdown-menu__item", bo({ size: r, className: e }), t && "pl-8"), ...n });
7098
7098
  }
7099
7099
  ), A2 = se(
7100
7100
  ({ className: e, children: t, checked: n, ...o }, r) => {
7101
7101
  const { size: a } = ke(Ut);
7102
- return /* @__PURE__ */ _(h2, { ref: r, className: F("k-dropdown-menu__checkbox-item", bo({ size: a, className: e }), "pl-8"), checked: n, ...o, children: [
7103
- /* @__PURE__ */ i("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ i(el, { children: /* @__PURE__ */ i($a, { className: "size-4" }) }) }),
7102
+ return /* @__PURE__ */ _(h2, { ref: r, className: $("k-dropdown-menu__checkbox-item", bo({ size: a, className: e }), "pl-8"), checked: n, ...o, children: [
7103
+ /* @__PURE__ */ i("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ i(el, { children: /* @__PURE__ */ i(Fa, { className: "size-4" }) }) }),
7104
7104
  t
7105
7105
  ] });
7106
7106
  }
7107
7107
  ), I2 = se(
7108
7108
  ({ className: e, children: t, ...n }, o) => {
7109
7109
  const { size: r } = ke(Ut);
7110
- return /* @__PURE__ */ _(v2, { ref: o, className: F("k-dropdown-menu__radio-item", bo({ size: r, className: e }), "pl-8"), ...n, children: [
7110
+ return /* @__PURE__ */ _(v2, { ref: o, className: $("k-dropdown-menu__radio-item", bo({ size: r, className: e }), "pl-8"), ...n, children: [
7111
7111
  /* @__PURE__ */ i("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ i(el, { children: /* @__PURE__ */ i(Pc, { className: "size-2 fill-current" }) }) }),
7112
7112
  t
7113
7113
  ] });
@@ -7115,11 +7115,11 @@ const Ut = Jn({ size: "md" }), bo = ct(
7115
7115
  ), D2 = se(
7116
7116
  ({ className: e, inset: t, ...n }, o) => {
7117
7117
  const { size: r } = ke(Ut);
7118
- return /* @__PURE__ */ i(p2, { ref: o, className: F("k-dropdown-menu__label", C2({ size: r }), t && "pl-8", e), ...n });
7118
+ return /* @__PURE__ */ i(p2, { ref: o, className: $("k-dropdown-menu__label", C2({ size: r }), t && "pl-8", e), ...n });
7119
7119
  }
7120
7120
  ), O2 = se(
7121
- ({ className: e, ...t }, n) => /* @__PURE__ */ i(w2, { ref: n, className: F("k-dropdown-menu__separator -mx-1 my-1 h-px bg-muted", e), ...t })
7122
- ), B2 = ({ className: e, ...t }) => /* @__PURE__ */ i("span", { className: F("k-dropdown-menu__shortcut ml-auto text-xs tracking-widest opacity-60", e), ...t });
7121
+ ({ className: e, ...t }, n) => /* @__PURE__ */ i(w2, { ref: n, className: $("k-dropdown-menu__separator -mx-1 my-1 h-px bg-muted", e), ...t })
7122
+ ), B2 = ({ className: e, ...t }) => /* @__PURE__ */ i("span", { className: $("k-dropdown-menu__shortcut ml-auto text-xs tracking-widest opacity-60", e), ...t });
7123
7123
  S2.displayName = "KDropdownMenu";
7124
7124
  k2.displayName = "KDropdownMenuTrigger";
7125
7125
  P2.displayName = "KDropdownMenuSubTrigger";
@@ -7135,7 +7135,7 @@ E2.displayName = "KDropdownMenuGroup";
7135
7135
  M2.displayName = "KDropdownMenuPortal";
7136
7136
  N2.displayName = "KDropdownMenuSub";
7137
7137
  R2.displayName = "KDropdownMenuRadioGroup";
7138
- var yo = "Dialog", [tl, U5] = Ue(yo), [F2, Ze] = tl(yo), nl = (e) => {
7138
+ var yo = "Dialog", [tl, U5] = Ue(yo), [$2, Ze] = tl(yo), nl = (e) => {
7139
7139
  const {
7140
7140
  __scopeDialog: t,
7141
7141
  children: n,
@@ -7150,7 +7150,7 @@ var yo = "Dialog", [tl, U5] = Ue(yo), [F2, Ze] = tl(yo), nl = (e) => {
7150
7150
  caller: yo
7151
7151
  });
7152
7152
  return /* @__PURE__ */ i(
7153
- F2,
7153
+ $2,
7154
7154
  {
7155
7155
  scope: t,
7156
7156
  triggerRef: l,
@@ -7177,7 +7177,7 @@ var ol = "DialogTrigger", rl = f.forwardRef(
7177
7177
  "aria-haspopup": "dialog",
7178
7178
  "aria-expanded": r.open,
7179
7179
  "aria-controls": r.contentId,
7180
- "data-state": $r(r.open),
7180
+ "data-state": Fr(r.open),
7181
7181
  ...o,
7182
7182
  ref: a,
7183
7183
  onClick: V(e.onClick, r.onOpenToggle)
@@ -7186,11 +7186,11 @@ var ol = "DialogTrigger", rl = f.forwardRef(
7186
7186
  }
7187
7187
  );
7188
7188
  rl.displayName = ol;
7189
- var Br = "DialogPortal", [$2, al] = tl(Br, {
7189
+ var Br = "DialogPortal", [F2, al] = tl(Br, {
7190
7190
  forceMount: void 0
7191
7191
  }), il = (e) => {
7192
7192
  const { __scopeDialog: t, forceMount: n, children: o, container: r } = e, a = Ze(Br, t);
7193
- return /* @__PURE__ */ i($2, { scope: t, forceMount: n, children: f.Children.map(o, (s) => /* @__PURE__ */ i(Ge, { present: n || a.open, children: /* @__PURE__ */ i(fn, { asChild: !0, container: r, children: s }) })) });
7193
+ return /* @__PURE__ */ i(F2, { scope: t, forceMount: n, children: f.Children.map(o, (s) => /* @__PURE__ */ i(Ge, { present: n || a.open, children: /* @__PURE__ */ i(fn, { asChild: !0, container: r, children: s }) })) });
7194
7194
  };
7195
7195
  il.displayName = Br;
7196
7196
  var qn = "DialogOverlay", sl = f.forwardRef(
@@ -7209,7 +7209,7 @@ var z2 = /* @__PURE__ */ Et("DialogOverlay.RemoveScroll"), W2 = f.forwardRef(
7209
7209
  /* @__PURE__ */ i(mn, { as: z2, allowPinchZoom: !0, shards: [r.contentRef], children: /* @__PURE__ */ i(
7210
7210
  Q.div,
7211
7211
  {
7212
- "data-state": $r(r.open),
7212
+ "data-state": Fr(r.open),
7213
7213
  ...o,
7214
7214
  ref: t,
7215
7215
  style: { pointerEvents: "auto", ...o.style }
@@ -7291,7 +7291,7 @@ var V2 = f.forwardRef(
7291
7291
  id: l.contentId,
7292
7292
  "aria-describedby": l.descriptionId,
7293
7293
  "aria-labelledby": l.titleId,
7294
- "data-state": $r(l.open),
7294
+ "data-state": Fr(l.open),
7295
7295
  ...s,
7296
7296
  ref: u,
7297
7297
  onDismiss: () => l.onOpenChange(!1)
@@ -7305,13 +7305,13 @@ var V2 = f.forwardRef(
7305
7305
  ] })
7306
7306
  ] });
7307
7307
  }
7308
- ), Fr = "DialogTitle", dl = f.forwardRef(
7308
+ ), $r = "DialogTitle", dl = f.forwardRef(
7309
7309
  (e, t) => {
7310
- const { __scopeDialog: n, ...o } = e, r = Ze(Fr, n);
7310
+ const { __scopeDialog: n, ...o } = e, r = Ze($r, n);
7311
7311
  return /* @__PURE__ */ i(Q.h2, { id: r.titleId, ...o, ref: t });
7312
7312
  }
7313
7313
  );
7314
- dl.displayName = Fr;
7314
+ dl.displayName = $r;
7315
7315
  var ul = "DialogDescription", fl = f.forwardRef(
7316
7316
  (e, t) => {
7317
7317
  const { __scopeDialog: n, ...o } = e, r = Ze(ul, n);
@@ -7334,12 +7334,12 @@ var pl = "DialogClose", ml = f.forwardRef(
7334
7334
  }
7335
7335
  );
7336
7336
  ml.displayName = pl;
7337
- function $r(e) {
7337
+ function Fr(e) {
7338
7338
  return e ? "open" : "closed";
7339
7339
  }
7340
7340
  var hl = "DialogTitleWarning", [G5, gl] = _d(hl, {
7341
7341
  contentName: Mt,
7342
- titleName: Fr,
7342
+ titleName: $r,
7343
7343
  docsSlug: "dialog"
7344
7344
  }), K2 = ({ titleId: e }) => {
7345
7345
  const t = gl(hl), n = `\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
@@ -7703,12 +7703,12 @@ function fp({ activeSnapPointProp: e, setActiveSnapPointProp: t, snapPoints: n,
7703
7703
  var k;
7704
7704
  return (k = n?.map((L) => {
7705
7705
  const O = typeof L == "string";
7706
- let $ = 0;
7707
- if (O && ($ = parseInt(L, 10)), xe(l)) {
7708
- const N = O ? $ : m ? L * E.height : 0;
7706
+ let F = 0;
7707
+ if (O && (F = parseInt(L, 10)), xe(l)) {
7708
+ const N = O ? F : m ? L * E.height : 0;
7709
7709
  return m ? l === "bottom" ? E.height - N : -E.height + N : N;
7710
7710
  }
7711
- const j = O ? $ : m ? L * E.width : 0;
7711
+ const j = O ? F : m ? L * E.width : 0;
7712
7712
  return m ? l === "right" ? E.width - j : -E.width + j : j;
7713
7713
  })) != null ? k : [];
7714
7714
  }, [
@@ -7754,7 +7754,7 @@ function fp({ activeSnapPointProp: e, setActiveSnapPointProp: t, snapPoints: n,
7754
7754
  ]);
7755
7755
  function S({ draggedDistance: E, closeDrawer: k, velocity: L, dismissible: O }) {
7756
7756
  if (a === void 0) return;
7757
- const $ = l === "bottom" || l === "right" ? (x ?? 0) - E : (x ?? 0) + E, j = h === a - 1, N = h === 0, H = E > 0;
7757
+ const F = l === "bottom" || l === "right" ? (x ?? 0) - E : (x ?? 0) + E, j = h === a - 1, N = h === 0, H = E > 0;
7758
7758
  if (j && Se(r.current, {
7759
7759
  transition: `opacity ${ye.DURATION}s cubic-bezier(${ye.EASE.join(",")})`
7760
7760
  }), !u && L > 2 && !H) {
@@ -7765,7 +7765,7 @@ function fp({ activeSnapPointProp: e, setActiveSnapPointProp: t, snapPoints: n,
7765
7765
  y(g[n.length - 1]);
7766
7766
  return;
7767
7767
  }
7768
- const U = g?.reduce((D, R) => typeof D != "number" || typeof R != "number" ? D : Math.abs(R - $) < Math.abs(D - $) ? R : D), P = xe(l) ? window.innerHeight : window.innerWidth;
7768
+ const U = g?.reduce((D, R) => typeof D != "number" || typeof R != "number" ? D : Math.abs(R - F) < Math.abs(D - F) ? R : D), P = xe(l) ? window.innerHeight : window.innerWidth;
7769
7769
  if (L > Pl && Math.abs(E) < P * 0.4) {
7770
7770
  const D = H ? 1 : -1;
7771
7771
  if (D > 0 && b && n) {
@@ -7792,7 +7792,7 @@ function fp({ activeSnapPointProp: e, setActiveSnapPointProp: t, snapPoints: n,
7792
7792
  return 0;
7793
7793
  if (L && !k) return 1;
7794
7794
  if (!w && !L) return null;
7795
- const $ = L ? h + 1 : h - 1, j = L ? g[$] - g[$ - 1] : g[$ + 1] - g[$], N = E / Math.abs(j);
7795
+ const F = L ? h + 1 : h - 1, j = L ? g[F] - g[F - 1] : g[F + 1] - g[F], N = E / Math.abs(j);
7796
7796
  return L ? 1 - N : N;
7797
7797
  }
7798
7798
  return {
@@ -7917,7 +7917,7 @@ function hp({ isOpen: e, modal: t, nested: n, hasBeenOpened: o, preventScrollRes
7917
7917
  restorePositionSetting: p
7918
7918
  };
7919
7919
  }
7920
- function gp({ open: e, onOpenChange: t, children: n, onDrag: o, onRelease: r, snapPoints: a, shouldScaleBackground: s = !1, setBackgroundColorOnScale: l = !0, closeThreshold: d = cp, scrollLockTimeout: u = dp, dismissible: p = !0, handleOnly: c = !1, fadeFromIndex: m = a && a.length - 1, activeSnapPoint: v, setActiveSnapPoint: b, fixed: h, modal: w = !0, onClose: g, nested: x, noBodyStyles: y = !1, direction: S = "bottom", defaultOpen: M = !1, disablePreventScroll: I = !0, snapToSequentialPoint: E = !1, preventScrollRestoration: k = !1, repositionInputs: L = !0, onAnimationEnd: O, container: $, autoFocus: j = !1 }) {
7920
+ function gp({ open: e, onOpenChange: t, children: n, onDrag: o, onRelease: r, snapPoints: a, shouldScaleBackground: s = !1, setBackgroundColorOnScale: l = !0, closeThreshold: d = cp, scrollLockTimeout: u = dp, dismissible: p = !0, handleOnly: c = !1, fadeFromIndex: m = a && a.length - 1, activeSnapPoint: v, setActiveSnapPoint: b, fixed: h, modal: w = !0, onClose: g, nested: x, noBodyStyles: y = !1, direction: S = "bottom", defaultOpen: M = !1, disablePreventScroll: I = !0, snapToSequentialPoint: E = !1, preventScrollRestoration: k = !1, repositionInputs: L = !0, onAnimationEnd: O, container: F, autoFocus: j = !1 }) {
7921
7921
  var N, H;
7922
7922
  const [U = !1, P] = Ll({
7923
7923
  defaultProp: M,
@@ -7931,7 +7931,7 @@ function gp({ open: e, onOpenChange: t, children: n, onDrag: o, onRelease: r, sn
7931
7931
  }
7932
7932
  }), [D, R] = C.useState(!1), [A, J] = C.useState(!1), [fe, we] = C.useState(!1), B = C.useRef(null), Z = C.useRef(null), ee = C.useRef(null), le = C.useRef(null), T = C.useRef(null), K = C.useRef(!1), de = C.useRef(null), ne = C.useRef(0), te = C.useRef(!1), re = C.useRef(!M), Ee = C.useRef(0), X = C.useRef(null), dt = C.useRef(((N = X.current) == null ? void 0 : N.getBoundingClientRect().height) || 0), nt = C.useRef(((H = X.current) == null ? void 0 : H.getBoundingClientRect().width) || 0), Le = C.useRef(0), yn = C.useCallback((G) => {
7933
7933
  a && G === De.length - 1 && (Z.current = /* @__PURE__ */ new Date());
7934
- }, []), { activeSnapPoint: $e, activeSnapPointIndex: ut, setActiveSnapPoint: xn, onRelease: Ne, snapPointsOffset: De, onDrag: Eo, shouldFade: Cn, getPercentageDragged: Lt } = fp({
7934
+ }, []), { activeSnapPoint: Fe, activeSnapPointIndex: ut, setActiveSnapPoint: xn, onRelease: Ne, snapPointsOffset: De, onDrag: Eo, shouldFade: Cn, getPercentageDragged: Lt } = fp({
7935
7935
  snapPoints: a,
7936
7936
  activeSnapPointProp: v,
7937
7937
  setActiveSnapPointProp: b,
@@ -7940,7 +7940,7 @@ function gp({ open: e, onOpenChange: t, children: n, onDrag: o, onRelease: r, sn
7940
7940
  overlayRef: B,
7941
7941
  onSnapPointChange: yn,
7942
7942
  direction: S,
7943
- container: $,
7943
+ container: F,
7944
7944
  snapToSequentialPoint: E
7945
7945
  });
7946
7946
  tp({
@@ -8184,7 +8184,7 @@ function gp({ open: e, onOpenChange: t, children: n, onDrag: o, onRelease: r, sn
8184
8184
  open: U
8185
8185
  }, /* @__PURE__ */ C.createElement(kl.Provider, {
8186
8186
  value: {
8187
- activeSnapPoint: $e,
8187
+ activeSnapPoint: Fe,
8188
8188
  snapPoints: a,
8189
8189
  setActiveSnapPoint: xn,
8190
8190
  drawerRef: X,
@@ -8211,7 +8211,7 @@ function gp({ open: e, onOpenChange: t, children: n, onDrag: o, onRelease: r, sn
8211
8211
  shouldScaleBackground: s,
8212
8212
  setBackgroundColorOnScale: l,
8213
8213
  noBodyStyles: y,
8214
- container: $,
8214
+ container: F,
8215
8215
  autoFocus: j
8216
8216
  }
8217
8217
  }, n));
@@ -8237,7 +8237,7 @@ Al.displayName = "Drawer.Overlay";
8237
8237
  const Il = /* @__PURE__ */ C.forwardRef(function({ onPointerDownOutside: e, style: t, onOpenAutoFocus: n, ...o }, r) {
8238
8238
  const { drawerRef: a, onPress: s, onRelease: l, onDrag: d, keyboardIsOpen: u, snapPointsOffset: p, activeSnapPointIndex: c, modal: m, isOpen: v, direction: b, snapPoints: h, container: w, handleOnly: g, shouldAnimate: x, autoFocus: y } = wn(), [S, M] = C.useState(!1), I = Ml(r, a), E = C.useRef(null), k = C.useRef(null), L = C.useRef(!1), O = h && h.length > 0;
8239
8239
  mp();
8240
- const $ = (N, H, U = 0) => {
8240
+ const F = (N, H, U = 0) => {
8241
8241
  if (L.current) return !0;
8242
8242
  const P = Math.abs(N.y), D = Math.abs(N.x), R = D > P, A = [
8243
8243
  "bottom",
@@ -8296,7 +8296,7 @@ const Il = /* @__PURE__ */ C.forwardRef(function({ onPointerDownOutside: e, styl
8296
8296
  onPointerMove: (N) => {
8297
8297
  if (k.current = N, g || (o.onPointerMove == null || o.onPointerMove.call(o, N), !E.current)) return;
8298
8298
  const H = N.pageY - E.current.y, U = N.pageX - E.current.x, P = N.pointerType === "touch" ? 10 : 2;
8299
- $({
8299
+ F({
8300
8300
  x: U,
8301
8301
  y: H
8302
8302
  }, b, P) ? d(N) : (Math.abs(U) > P || Math.abs(H) > P) && (E.current = null);
@@ -8400,7 +8400,7 @@ const vt = {
8400
8400
  vt.Overlay,
8401
8401
  {
8402
8402
  ref: o,
8403
- className: F("k-bottom-sheet__overlay fixed inset-0 z-50", e),
8403
+ className: $("k-bottom-sheet__overlay fixed inset-0 z-50", e),
8404
8404
  style: {
8405
8405
  backgroundColor: `rgba(0, 0, 0, ${(r ?? 80) / 100})`,
8406
8406
  backdropFilter: `blur(${a ?? 4}px)`,
@@ -8420,7 +8420,7 @@ const vt = {
8420
8420
  vt.Content,
8421
8421
  {
8422
8422
  ref: o,
8423
- className: F(
8423
+ className: $(
8424
8424
  "k-bottom-sheet__content",
8425
8425
  "fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background shadow-lg outline-none",
8426
8426
  r === "sm" ? "max-w-md mx-auto" : "w-full",
@@ -8429,15 +8429,15 @@ const vt = {
8429
8429
  ...n,
8430
8430
  children: [
8431
8431
  /* @__PURE__ */ i("div", { className: "mx-auto mt-4 h-1.5 w-12 rounded-full bg-muted" }),
8432
- /* @__PURE__ */ i("div", { className: F("grid w-full", r === "sm" ? "gap-2 p-4 text-sm" : "gap-4 p-5 text-md"), children: t })
8432
+ /* @__PURE__ */ i("div", { className: $("grid w-full", r === "sm" ? "gap-2 p-4 text-sm" : "gap-4 p-5 text-md"), children: t })
8433
8433
  ]
8434
8434
  }
8435
8435
  )
8436
8436
  ] });
8437
8437
  }
8438
- ), Rp = ({ className: e, ...t }) => /* @__PURE__ */ i("div", { className: F("k-bottom-sheet__header grid gap-1.5 text-center sm:text-left", e), ...t }), Mp = ({ className: e, ...t }) => {
8438
+ ), Rp = ({ className: e, ...t }) => /* @__PURE__ */ i("div", { className: $("k-bottom-sheet__header grid gap-1.5 text-center sm:text-left", e), ...t }), Mp = ({ className: e, ...t }) => {
8439
8439
  const { size: n } = ke(Gt);
8440
- return /* @__PURE__ */ i("div", { className: F("k-bottom-sheet__footer mt-auto flex flex-col gap-2", n === "sm" ? "mt-2" : "mt-4", e), ...t });
8440
+ return /* @__PURE__ */ i("div", { className: $("k-bottom-sheet__footer mt-auto flex flex-col gap-2", n === "sm" ? "mt-2" : "mt-4", e), ...t });
8441
8441
  }, Np = se(
8442
8442
  ({ className: e, ...t }, n) => {
8443
8443
  const { size: o } = ke(Gt);
@@ -8445,7 +8445,7 @@ const vt = {
8445
8445
  vt.Title,
8446
8446
  {
8447
8447
  ref: n,
8448
- className: F("k-bottom-sheet__title font-semibold leading-none tracking-tight", o === "sm" ? "text-base" : "text-lg", e),
8448
+ className: $("k-bottom-sheet__title font-semibold leading-none tracking-tight", o === "sm" ? "text-base" : "text-lg", e),
8449
8449
  ...t
8450
8450
  }
8451
8451
  );
@@ -8457,7 +8457,7 @@ const vt = {
8457
8457
  vt.Description,
8458
8458
  {
8459
8459
  ref: n,
8460
- className: F("k-bottom-sheet__description text-muted-foreground", o === "sm" ? "text-xs" : "text-sm", e),
8460
+ className: $("k-bottom-sheet__description text-muted-foreground", o === "sm" ? "text-xs" : "text-sm", e),
8461
8461
  ...t
8462
8462
  }
8463
8463
  );
@@ -8485,7 +8485,7 @@ const _t = Jn({ size: "md", opacity: 40, blur: 0 }), Tp = ({ size: e = "md", opa
8485
8485
  WebkitBackdropFilter: `blur(${a}px)`,
8486
8486
  ...t
8487
8487
  },
8488
- className: F(
8488
+ className: $(
8489
8489
  "k-dialog__overlay fixed inset-0 z-50 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
8490
8490
  e
8491
8491
  ),
@@ -8502,7 +8502,7 @@ const _t = Jn({ size: "md", opacity: 40, blur: 0 }), Tp = ({ size: e = "md", opa
8502
8502
  xl,
8503
8503
  {
8504
8504
  ref: o,
8505
- className: F(
8505
+ className: $(
8506
8506
  "k-dialog__content fixed left-[50%] top-[50%] z-50 grid w-full translate-x-[-50%] translate-y-[-50%] border bg-background shadow-lg duration-200",
8507
8507
  "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
8508
8508
  "data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%]",
@@ -8516,7 +8516,7 @@ const _t = Jn({ size: "md", opacity: 40, blur: 0 }), Tp = ({ size: e = "md", opa
8516
8516
  /* @__PURE__ */ _(
8517
8517
  zr,
8518
8518
  {
8519
- className: F(
8519
+ className: $(
8520
8520
  "k-dialog__close absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity",
8521
8521
  "hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",
8522
8522
  "data-[state=open]:bg-accent data-[state=open]:text-muted-foreground"
@@ -8534,19 +8534,19 @@ const _t = Jn({ size: "md", opacity: 40, blur: 0 }), Tp = ({ size: e = "md", opa
8534
8534
  }
8535
8535
  ), Ip = ({ className: e, ...t }) => {
8536
8536
  const { size: n } = ke(_t);
8537
- return /* @__PURE__ */ i("div", { className: F("k-dialog__header flex flex-col text-left sm:text-left", n === "sm" ? "space-y-1" : "space-y-1.5", e), ...t });
8537
+ return /* @__PURE__ */ i("div", { className: $("k-dialog__header flex flex-col text-left sm:text-left", n === "sm" ? "space-y-1" : "space-y-1.5", e), ...t });
8538
8538
  }, Dp = ({ className: e, ...t }) => {
8539
8539
  const { size: n } = ke(_t);
8540
- return /* @__PURE__ */ i("div", { className: F("k-dialog__footer flex sm:flex-row justify-end space-x-2", n === "sm" ? "mt-2" : "mt-4", e), ...t });
8540
+ return /* @__PURE__ */ i("div", { className: $("k-dialog__footer flex sm:flex-row justify-end space-x-2", n === "sm" ? "mt-2" : "mt-4", e), ...t });
8541
8541
  }, Op = se(
8542
8542
  ({ className: e, ...t }, n) => {
8543
8543
  const { size: o } = ke(_t);
8544
- return /* @__PURE__ */ i(Cl, { ref: n, className: F("k-dialog__title font-semibold leading-none tracking-tight", o === "sm" ? "text-base" : "text-lg", e), ...t });
8544
+ return /* @__PURE__ */ i(Cl, { ref: n, className: $("k-dialog__title font-semibold leading-none tracking-tight", o === "sm" ? "text-base" : "text-lg", e), ...t });
8545
8545
  }
8546
8546
  ), Bp = se(
8547
8547
  ({ className: e, ...t }, n) => {
8548
8548
  const { size: o } = ke(_t);
8549
- return /* @__PURE__ */ i(Sl, { ref: n, className: F("k-dialog__description text-muted-foreground", o === "sm" ? "text-xs" : "text-sm", e), ...t });
8549
+ return /* @__PURE__ */ i(Sl, { ref: n, className: $("k-dialog__description text-muted-foreground", o === "sm" ? "text-xs" : "text-sm", e), ...t });
8550
8550
  }
8551
8551
  );
8552
8552
  Tp.displayName = "KDialog";
@@ -8557,11 +8557,11 @@ Ip.displayName = "KDialogHeader";
8557
8557
  Dp.displayName = "KDialogFooter";
8558
8558
  Op.displayName = "KDialogTitle";
8559
8559
  Bp.displayName = "KDialogDescription";
8560
- const Fp = ({ className: e, circle: t, ...n }) => /* @__PURE__ */ i("div", { "aria-hidden": "true", ...n, className: F("k-skeleton animate-pulse bg-muted", t ? "rounded-full" : "rounded-md", e) });
8561
- Fp.displayName = "KSkeleton";
8560
+ const $p = ({ className: e, circle: t, ...n }) => /* @__PURE__ */ i("div", { "aria-hidden": "true", ...n, className: $("k-skeleton animate-pulse bg-muted", t ? "rounded-full" : "rounded-md", e) });
8561
+ $p.displayName = "KSkeleton";
8562
8562
  var xo = "Popover", [Bl, Z5] = Ue(xo, [
8563
8563
  jt
8564
- ]), bn = jt(), [$p, wt] = Bl(xo), Fl = (e) => {
8564
+ ]), bn = jt(), [Fp, wt] = Bl(xo), $l = (e) => {
8565
8565
  const {
8566
8566
  __scopePopover: t,
8567
8567
  children: n,
@@ -8576,7 +8576,7 @@ var xo = "Popover", [Bl, Z5] = Ue(xo, [
8576
8576
  caller: xo
8577
8577
  });
8578
8578
  return /* @__PURE__ */ i(po, { ...l, children: /* @__PURE__ */ i(
8579
- $p,
8579
+ Fp,
8580
8580
  {
8581
8581
  scope: t,
8582
8582
  contentId: _e(),
@@ -8592,14 +8592,14 @@ var xo = "Popover", [Bl, Z5] = Ue(xo, [
8592
8592
  }
8593
8593
  ) });
8594
8594
  };
8595
- Fl.displayName = xo;
8596
- var $l = "PopoverAnchor", zl = f.forwardRef(
8595
+ $l.displayName = xo;
8596
+ var Fl = "PopoverAnchor", zl = f.forwardRef(
8597
8597
  (e, t) => {
8598
- const { __scopePopover: n, ...o } = e, r = wt($l, n), a = bn(n), { onCustomAnchorAdd: s, onCustomAnchorRemove: l } = r;
8598
+ const { __scopePopover: n, ...o } = e, r = wt(Fl, n), a = bn(n), { onCustomAnchorAdd: s, onCustomAnchorRemove: l } = r;
8599
8599
  return f.useEffect(() => (s(), () => l()), [s, l]), /* @__PURE__ */ i(mo, { ...a, ...o, ref: t });
8600
8600
  }
8601
8601
  );
8602
- zl.displayName = $l;
8602
+ zl.displayName = Fl;
8603
8603
  var Wl = "PopoverTrigger", Vl = f.forwardRef(
8604
8604
  (e, t) => {
8605
8605
  const { __scopePopover: n, ...o } = e, r = wt(Wl, n), a = bn(n), s = ce(t, r.triggerRef), l = /* @__PURE__ */ i(
@@ -8767,15 +8767,15 @@ Gp.displayName = Up;
8767
8767
  function Gl(e) {
8768
8768
  return e ? "open" : "closed";
8769
8769
  }
8770
- var Yp = Fl, Zp = zl, Xp = Vl, qp = Hl, Qp = Kl;
8771
- const Jp = Yp, em = Zp, tm = se(({ className: e, ...t }, n) => /* @__PURE__ */ i(Xp, { ref: n, className: F("k-popover__trigger", e), ...t })), nm = se(({ className: e, align: t = "center", side: n = "bottom", sideOffset: o = 4, ...r }, a) => /* @__PURE__ */ i(qp, { children: /* @__PURE__ */ i(
8770
+ var Yp = $l, Zp = zl, Xp = Vl, qp = Hl, Qp = Kl;
8771
+ const Jp = Yp, em = Zp, tm = se(({ className: e, ...t }, n) => /* @__PURE__ */ i(Xp, { ref: n, className: $("k-popover__trigger", e), ...t })), nm = se(({ className: e, align: t = "center", side: n = "bottom", sideOffset: o = 4, ...r }, a) => /* @__PURE__ */ i(qp, { children: /* @__PURE__ */ i(
8772
8772
  Qp,
8773
8773
  {
8774
8774
  ref: a,
8775
8775
  align: t,
8776
8776
  side: n,
8777
8777
  sideOffset: o,
8778
- className: F(
8778
+ className: $(
8779
8779
  "k-popover__content",
8780
8780
  "z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none",
8781
8781
  // 열고 닫기 애니메이션
@@ -9083,7 +9083,7 @@ function Rm(e) {
9083
9083
  }
9084
9084
  const Mm = (e) => {
9085
9085
  var t, n, o, r, a, s, l, d, u;
9086
- const { invert: p, toast: c, unstyled: m, interacting: v, setHeights: b, visibleToasts: h, heights: w, index: g, toasts: x, expanded: y, removeToast: S, defaultRichColors: M, closeButton: I, style: E, cancelButtonStyle: k, actionButtonStyle: L, className: O = "", descriptionClassName: $ = "", duration: j, position: N, gap: H, expandByDefault: U, classNames: P, icons: D, closeButtonAriaLabel: R = "Close toast" } = e, [A, J] = C.useState(null), [fe, we] = C.useState(null), [B, Z] = C.useState(!1), [ee, le] = C.useState(!1), [T, K] = C.useState(!1), [de, ne] = C.useState(!1), [te, re] = C.useState(!1), [Ee, X] = C.useState(0), [dt, nt] = C.useState(0), Le = C.useRef(c.duration || j || Na), yn = C.useRef(null), $e = C.useRef(null), ut = g === 0, xn = g + 1 <= h, Ne = c.type, De = c.dismissible !== !1, Eo = c.className || "", Cn = c.descriptionClassName || "", Lt = C.useMemo(() => w.findIndex((Y) => Y.toastId === c.id) || 0, [
9086
+ const { invert: p, toast: c, unstyled: m, interacting: v, setHeights: b, visibleToasts: h, heights: w, index: g, toasts: x, expanded: y, removeToast: S, defaultRichColors: M, closeButton: I, style: E, cancelButtonStyle: k, actionButtonStyle: L, className: O = "", descriptionClassName: F = "", duration: j, position: N, gap: H, expandByDefault: U, classNames: P, icons: D, closeButtonAriaLabel: R = "Close toast" } = e, [A, J] = C.useState(null), [fe, we] = C.useState(null), [B, Z] = C.useState(!1), [ee, le] = C.useState(!1), [T, K] = C.useState(!1), [de, ne] = C.useState(!1), [te, re] = C.useState(!1), [Ee, X] = C.useState(0), [dt, nt] = C.useState(0), Le = C.useRef(c.duration || j || Na), yn = C.useRef(null), Fe = C.useRef(null), ut = g === 0, xn = g + 1 <= h, Ne = c.type, De = c.dismissible !== !1, Eo = c.className || "", Cn = c.descriptionClassName || "", Lt = C.useMemo(() => w.findIndex((Y) => Y.toastId === c.id) || 0, [
9087
9087
  w,
9088
9088
  c.id
9089
9089
  ]), Ro = C.useMemo(() => {
@@ -9109,7 +9109,7 @@ const Mm = (e) => {
9109
9109
  ]), C.useEffect(() => {
9110
9110
  Z(!0);
9111
9111
  }, []), C.useEffect(() => {
9112
- const Y = $e.current;
9112
+ const Y = Fe.current;
9113
9113
  if (Y) {
9114
9114
  const ie = Y.getBoundingClientRect().height;
9115
9115
  return nt(ie), b((he) => [
@@ -9126,7 +9126,7 @@ const Mm = (e) => {
9126
9126
  c.id
9127
9127
  ]), C.useLayoutEffect(() => {
9128
9128
  if (!B) return;
9129
- const Y = $e.current, ie = Y.style.height;
9129
+ const Y = Fe.current, ie = Y.style.height;
9130
9130
  Y.style.height = "auto";
9131
9131
  const he = Y.getBoundingClientRect().height;
9132
9132
  Y.style.height = ie, nt(he), b((ge) => ge.find((me) => me.toastId === c.id) ? ge.map((me) => me.toastId === c.id ? {
@@ -9205,7 +9205,7 @@ const Mm = (e) => {
9205
9205
  var ae, ve;
9206
9206
  return /* @__PURE__ */ C.createElement("li", {
9207
9207
  tabIndex: 0,
9208
- ref: $e,
9208
+ ref: Fe,
9209
9209
  className: Xe(O, Eo, P?.toast, c == null || (t = c.classNames) == null ? void 0 : t.toast, P?.default, P?.[Ne], c == null || (n = c.classNames) == null ? void 0 : n[Ne]),
9210
9210
  "data-sonner-toast": "",
9211
9211
  "data-rich-colors": (ae = c.richColors) != null ? ae : M,
@@ -9249,13 +9249,13 @@ const Mm = (e) => {
9249
9249
  var Y, ie, he;
9250
9250
  if (de || !De) return;
9251
9251
  Oe.current = null;
9252
- const ge = Number(((Y = $e.current) == null ? void 0 : Y.style.getPropertyValue("--swipe-amount-x").replace("px", "")) || 0), Be = Number(((ie = $e.current) == null ? void 0 : ie.style.getPropertyValue("--swipe-amount-y").replace("px", "")) || 0), me = (/* @__PURE__ */ new Date()).getTime() - ((he = yn.current) == null ? void 0 : he.getTime()), be = A === "x" ? ge : Be, rt = Math.abs(be) / me;
9252
+ const ge = Number(((Y = Fe.current) == null ? void 0 : Y.style.getPropertyValue("--swipe-amount-x").replace("px", "")) || 0), Be = Number(((ie = Fe.current) == null ? void 0 : ie.style.getPropertyValue("--swipe-amount-y").replace("px", "")) || 0), me = (/* @__PURE__ */ new Date()).getTime() - ((he = yn.current) == null ? void 0 : he.getTime()), be = A === "x" ? ge : Be, rt = Math.abs(be) / me;
9253
9253
  if (Math.abs(be) >= km || rt > 0.11) {
9254
9254
  X(ot.current), c.onDismiss == null || c.onDismiss.call(c, c), we(A === "x" ? ge > 0 ? "right" : "left" : Be > 0 ? "down" : "up"), G(), ne(!0);
9255
9255
  return;
9256
9256
  } else {
9257
9257
  var Pe, ze;
9258
- (Pe = $e.current) == null || Pe.style.setProperty("--swipe-amount-x", "0px"), (ze = $e.current) == null || ze.style.setProperty("--swipe-amount-y", "0px");
9258
+ (Pe = Fe.current) == null || Pe.style.setProperty("--swipe-amount-x", "0px"), (ze = Fe.current) == null || ze.style.setProperty("--swipe-amount-y", "0px");
9259
9259
  }
9260
9260
  re(!1), K(!1), J(null);
9261
9261
  },
@@ -9286,7 +9286,7 @@ const Mm = (e) => {
9286
9286
  const Ct = be * jr(be);
9287
9287
  ze.x = Math.abs(Ct) < Math.abs(be) ? Ct : be;
9288
9288
  }
9289
- (Math.abs(ze.x) > 0 || Math.abs(ze.y) > 0) && re(!0), (he = $e.current) == null || he.style.setProperty("--swipe-amount-x", `${ze.x}px`), (ge = $e.current) == null || ge.style.setProperty("--swipe-amount-y", `${ze.y}px`);
9289
+ (Math.abs(ze.x) > 0 || Math.abs(ze.y) > 0) && re(!0), (he = Fe.current) == null || he.style.setProperty("--swipe-amount-x", `${ze.x}px`), (ge = Fe.current) == null || ge.style.setProperty("--swipe-amount-y", `${ze.y}px`);
9290
9290
  }
9291
9291
  }, Ro && !c.jsx && Ne !== "loading" ? /* @__PURE__ */ C.createElement("button", {
9292
9292
  "aria-label": R,
@@ -9308,7 +9308,7 @@ const Mm = (e) => {
9308
9308
  className: Xe(P?.title, c == null || (s = c.classNames) == null ? void 0 : s.title)
9309
9309
  }, c.jsx ? c.jsx : typeof c.title == "function" ? c.title() : c.title), c.description ? /* @__PURE__ */ C.createElement("div", {
9310
9310
  "data-description": "",
9311
- className: Xe($, Cn, P?.description, c == null || (l = c.classNames) == null ? void 0 : l.description)
9311
+ className: Xe(F, Cn, P?.description, c == null || (l = c.classNames) == null ? void 0 : l.description)
9312
9312
  }, typeof c.description == "function" ? c.description() : c.description) : null), /* @__PURE__ */ C.isValidElement(c.cancel) ? c.cancel : c.cancel && Bn(c.cancel) ? /* @__PURE__ */ C.createElement("button", {
9313
9313
  "data-button": !0,
9314
9314
  "data-cancel": !0,
@@ -9371,7 +9371,7 @@ const Pm = /* @__PURE__ */ C.forwardRef(function(t, n) {
9371
9371
  ].concat(k.filter((B) => B.position).map((B) => B.position)))), [
9372
9372
  k,
9373
9373
  a
9374
- ]), [O, $] = C.useState([]), [j, N] = C.useState(!1), [H, U] = C.useState(!1), [P, D] = C.useState(m !== "system" ? m : typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light"), R = C.useRef(null), A = s.join("+").replace(/Key/g, "").replace(/Digit/g, ""), J = C.useRef(null), fe = C.useRef(!1), we = C.useCallback((B) => {
9374
+ ]), [O, F] = C.useState([]), [j, N] = C.useState(!1), [H, U] = C.useState(!1), [P, D] = C.useState(m !== "system" ? m : typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light"), R = C.useRef(null), A = s.join("+").replace(/Key/g, "").replace(/Digit/g, ""), J = C.useRef(null), fe = C.useRef(!1), we = C.useCallback((B) => {
9375
9375
  E((Z) => {
9376
9376
  var ee;
9377
9377
  return (ee = Z.find((le) => le.id === B.id)) != null && ee.delete || Te.dismiss(B.id), Z.filter(({ id: le }) => le !== B.id);
@@ -9526,7 +9526,7 @@ const Pm = /* @__PURE__ */ C.forwardRef(function(t, n) {
9526
9526
  removeToast: we,
9527
9527
  toasts: k.filter((re) => re.position == K.position),
9528
9528
  heights: O.filter((re) => re.position == K.position),
9529
- setHeights: $,
9529
+ setHeights: F,
9530
9530
  expandByDefault: l,
9531
9531
  gap: y,
9532
9532
  expanded: j,
@@ -9564,29 +9564,29 @@ const Pm = /* @__PURE__ */ C.forwardRef(function(t, n) {
9564
9564
  ...n.toastOptions,
9565
9565
  classNames: {
9566
9566
  ...n.toastOptions?.classNames,
9567
- toast: F(
9567
+ toast: $(
9568
9568
  "group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:rounded-md group-[.toaster]:shadow-lg flex items-center",
9569
9569
  _m[e],
9570
9570
  n.toastOptions?.classNames?.toast
9571
9571
  ),
9572
- title: F(
9572
+ title: $(
9573
9573
  "k-toast__title",
9574
9574
  Ta[e].title,
9575
9575
  "font-semibold",
9576
9576
  n.toastOptions?.classNames?.title
9577
9577
  ),
9578
- description: F(
9578
+ description: $(
9579
9579
  "k-toast__description",
9580
9580
  "group-[.toast]:text-muted-foreground",
9581
9581
  Ta[e].description,
9582
9582
  n.toastOptions?.classNames?.description
9583
9583
  ),
9584
- actionButton: F(
9584
+ actionButton: $(
9585
9585
  "k-toast__action-button",
9586
9586
  "group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",
9587
9587
  n.toastOptions?.classNames?.actionButton
9588
9588
  ),
9589
- cancelButton: F(
9589
+ cancelButton: $(
9590
9590
  "k-toast__cancel-button",
9591
9591
  "group-[.toast]:bg-muted group-[.toast]:text-muted-foreground",
9592
9592
  n.toastOptions?.classNames?.cancelButton
@@ -9607,7 +9607,7 @@ const Am = {
9607
9607
  _c,
9608
9608
  {
9609
9609
  ref: o,
9610
- className: F(
9610
+ className: $(
9611
9611
  "k-spinner animate-spin text-muted-foreground",
9612
9612
  Am[e],
9613
9613
  t
@@ -9626,7 +9626,7 @@ const Hr = se(
9626
9626
  "input",
9627
9627
  {
9628
9628
  type: t,
9629
- className: F(
9629
+ className: $(
9630
9630
  "flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
9631
9631
  e
9632
9632
  ),
@@ -9683,7 +9683,7 @@ const Dm = ct(
9683
9683
  return x.current?.value || "";
9684
9684
  }
9685
9685
  }));
9686
- const I = it(() => F(
9686
+ const I = it(() => $(
9687
9687
  "grid items-center gap-1.5",
9688
9688
  (M || u === "full" || u === "xs" || u === "sm" || u === "md" || u === "lg") && "w-full",
9689
9689
  u === "auto" && "w-fit",
@@ -9692,10 +9692,10 @@ const Dm = ct(
9692
9692
  if (!m) return !0;
9693
9693
  const L = x.current?.value || "";
9694
9694
  for (const O of m) {
9695
- const $ = await O(L);
9696
- if (typeof $ == "string")
9697
- return S($), !1;
9698
- if ($ === !1)
9695
+ const F = await O(L);
9696
+ if (typeof F == "string")
9697
+ return S(F), !1;
9698
+ if (F === !1)
9699
9699
  return S("유효하지 않은 값입니다."), !1;
9700
9700
  }
9701
9701
  return S(null), !0;
@@ -9703,7 +9703,7 @@ const Dm = ct(
9703
9703
  y && S(null), v?.(L);
9704
9704
  }, [y, v]);
9705
9705
  return /* @__PURE__ */ _("div", { className: I, style: { ...b, width: M ? u : b?.width }, children: [
9706
- a && /* @__PURE__ */ _("label", { htmlFor: g, className: F("font-medium", d === "sm" ? "text-sm" : "text-md"), children: [
9706
+ a && /* @__PURE__ */ _("label", { htmlFor: g, className: $("font-medium", d === "sm" ? "text-sm" : "text-md"), children: [
9707
9707
  a,
9708
9708
  s && /* @__PURE__ */ i("span", { className: "text-danger ml-0.5", children: "*" })
9709
9709
  ] }),
@@ -9717,7 +9717,7 @@ const Dm = ct(
9717
9717
  onChange: k,
9718
9718
  readOnly: l,
9719
9719
  maxLength: c,
9720
- className: F(
9720
+ className: $(
9721
9721
  Dm({ size: d, width: M ? "full" : u }),
9722
9722
  y && "border-danger focus-visible:ring-danger",
9723
9723
  o
@@ -9743,7 +9743,7 @@ var Yl = Object.freeze({
9743
9743
  clip: "rect(0, 0, 0, 0)",
9744
9744
  whiteSpace: "nowrap",
9745
9745
  wordWrap: "normal"
9746
- }), Bm = "VisuallyHidden", Fm = f.forwardRef(
9746
+ }), Bm = "VisuallyHidden", $m = f.forwardRef(
9747
9747
  (e, t) => /* @__PURE__ */ i(
9748
9748
  Q.span,
9749
9749
  {
@@ -9753,8 +9753,8 @@ var Yl = Object.freeze({
9753
9753
  }
9754
9754
  )
9755
9755
  );
9756
- Fm.displayName = Bm;
9757
- var $m = [" ", "Enter", "ArrowUp", "ArrowDown"], zm = [" ", "Enter"], Nt = "Select", [Co, So, Wm] = no(Nt), [Yt, q5] = Ue(Nt, [
9756
+ $m.displayName = Bm;
9757
+ var Fm = [" ", "Enter", "ArrowUp", "ArrowDown"], zm = [" ", "Enter"], Nt = "Select", [Co, So, Wm] = no(Nt), [Yt, q5] = Ue(Nt, [
9758
9758
  Wm,
9759
9759
  jt
9760
9760
  ]), ko = jt(), [Vm, bt] = Yt(Nt), [Hm, Km] = Yt(Nt), Zl = (e) => {
@@ -9783,7 +9783,7 @@ var $m = [" ", "Enter", "ArrowUp", "ArrowDown"], zm = [" ", "Enter"], Nt = "Sele
9783
9783
  defaultProp: l,
9784
9784
  onChange: d,
9785
9785
  caller: Nt
9786
- }), $ = f.useRef(null), j = w ? b || !!w.closest("form") : !0, [N, H] = f.useState(/* @__PURE__ */ new Set()), U = Array.from(N).map((P) => P.props.value).join(";");
9786
+ }), F = f.useRef(null), j = w ? b || !!w.closest("form") : !0, [N, H] = f.useState(/* @__PURE__ */ new Set()), U = Array.from(N).map((P) => P.props.value).join(";");
9787
9787
  return /* @__PURE__ */ i(po, { ...h, children: /* @__PURE__ */ _(
9788
9788
  Vm,
9789
9789
  {
@@ -9801,7 +9801,7 @@ var $m = [" ", "Enter", "ArrowUp", "ArrowDown"], zm = [" ", "Enter"], Nt = "Sele
9801
9801
  open: E,
9802
9802
  onOpenChange: k,
9803
9803
  dir: I,
9804
- triggerPointerDownPosRef: $,
9804
+ triggerPointerDownPosRef: F,
9805
9805
  disabled: m,
9806
9806
  children: [
9807
9807
  /* @__PURE__ */ i(Co.Provider, { scope: t, children: /* @__PURE__ */ i(
@@ -9881,7 +9881,7 @@ var Xl = "SelectTrigger", ql = f.forwardRef(
9881
9881
  }),
9882
9882
  onKeyDown: V(r.onKeyDown, (h) => {
9883
9883
  const w = c.current !== "";
9884
- !(h.ctrlKey || h.altKey || h.metaKey) && h.key.length === 1 && m(h.key), !(w && h.key === " ") && $m.includes(h.key) && (b(), h.preventDefault());
9884
+ !(h.ctrlKey || h.altKey || h.metaKey) && h.key.length === 1 && m(h.key), !(w && h.key === " ") && Fm.includes(h.key) && (b(), h.preventDefault());
9885
9885
  })
9886
9886
  }
9887
9887
  ) });
@@ -9952,7 +9952,7 @@ var We = 10, [oc, yt] = Yt(Pt), Gm = "SelectContentImpl", Ym = /* @__PURE__ */ E
9952
9952
  avoidCollisions: w,
9953
9953
  //
9954
9954
  ...g
9955
- } = e, x = bt(Pt, n), [y, S] = f.useState(null), [M, I] = f.useState(null), E = ce(t, (T) => S(T)), [k, L] = f.useState(null), [O, $] = f.useState(
9955
+ } = e, x = bt(Pt, n), [y, S] = f.useState(null), [M, I] = f.useState(null), E = ce(t, (T) => S(T)), [k, L] = f.useState(null), [O, F] = f.useState(
9956
9956
  null
9957
9957
  ), j = So(n), [N, H] = f.useState(!1), U = f.useRef(!1);
9958
9958
  f.useEffect(() => {
@@ -10006,7 +10006,7 @@ var We = 10, [oc, yt] = Yt(Pt), Gm = "SelectContentImpl", Ym = /* @__PURE__ */ E
10006
10006
  ), B = f.useCallback(() => y?.focus(), [y]), Z = f.useCallback(
10007
10007
  (T, K, de) => {
10008
10008
  const ne = !U.current && !de;
10009
- (x.value !== void 0 && x.value === K || ne) && $(T);
10009
+ (x.value !== void 0 && x.value === K || ne) && F(T);
10010
10010
  },
10011
10011
  [x.value]
10012
10012
  ), ee = o === "popper" ? rr : ac, le = ee === rr ? {
@@ -10121,9 +10121,9 @@ var Zm = "SelectItemAlignedPosition", ac = f.forwardRef((e, t) => {
10121
10121
  ]);
10122
10122
  l.style.minWidth = X + "px", l.style.right = Le + "px";
10123
10123
  }
10124
- const $ = m(), j = window.innerHeight - We * 2, N = h.scrollHeight, H = window.getComputedStyle(u), U = parseInt(H.borderTopWidth, 10), P = parseInt(H.paddingTop, 10), D = parseInt(H.borderBottomWidth, 10), R = parseInt(H.paddingBottom, 10), A = U + P + N + R + D, J = Math.min(w.offsetHeight * 5, A), fe = window.getComputedStyle(h), we = parseInt(fe.paddingTop, 10), B = parseInt(fe.paddingBottom, 10), Z = E.top + E.height / 2 - We, ee = j - Z, le = w.offsetHeight / 2, T = w.offsetTop + le, K = U + P + T, de = A - K;
10124
+ const F = m(), j = window.innerHeight - We * 2, N = h.scrollHeight, H = window.getComputedStyle(u), U = parseInt(H.borderTopWidth, 10), P = parseInt(H.paddingTop, 10), D = parseInt(H.borderBottomWidth, 10), R = parseInt(H.paddingBottom, 10), A = U + P + N + R + D, J = Math.min(w.offsetHeight * 5, A), fe = window.getComputedStyle(h), we = parseInt(fe.paddingTop, 10), B = parseInt(fe.paddingBottom, 10), Z = E.top + E.height / 2 - We, ee = j - Z, le = w.offsetHeight / 2, T = w.offsetTop + le, K = U + P + T, de = A - K;
10125
10125
  if (K <= Z) {
10126
- const te = $.length > 0 && w === $[$.length - 1].ref.current;
10126
+ const te = F.length > 0 && w === F[F.length - 1].ref.current;
10127
10127
  l.style.bottom = "0px";
10128
10128
  const re = u.clientHeight - h.offsetTop - h.offsetHeight, Ee = Math.max(
10129
10129
  ee,
@@ -10132,7 +10132,7 @@ var Zm = "SelectItemAlignedPosition", ac = f.forwardRef((e, t) => {
10132
10132
  ), X = K + Ee;
10133
10133
  l.style.height = X + "px";
10134
10134
  } else {
10135
- const te = $.length > 0 && w === $[0].ref.current;
10135
+ const te = F.length > 0 && w === F[0].ref.current;
10136
10136
  l.style.top = "0px";
10137
10137
  const Ee = Math.max(
10138
10138
  Z,
@@ -10596,9 +10596,7 @@ const y5 = ct(
10596
10596
  error: c,
10597
10597
  selectLabel: m,
10598
10598
  ...v
10599
- } = e, b = cr(), h = d || b, w = typeof p == "number", g = it(() => ({
10600
- width: w ? `${p}px` : void 0
10601
- }), [p, w]);
10599
+ } = e, b = cr(), h = d || b, w = typeof p == "number", g = it(() => w ? { width: `${p}px`, minWidth: `${p}px`, maxWidth: `${p}px` } : void 0, [p, w]);
10602
10600
  dr(t, () => ({ value: o }));
10603
10601
  const x = Wn((y) => {
10604
10602
  r?.(y);
@@ -10616,7 +10614,7 @@ const y5 = ct(
10616
10614
  {
10617
10615
  id: h,
10618
10616
  style: g,
10619
- className: F(
10617
+ className: $(
10620
10618
  y5({ size: u, width: w ? void 0 : p }),
10621
10619
  c && "border-danger focus:ring-danger",
10622
10620
  "[&>span]:line-clamp-1 [&>span]:flex-1 [&>span]:text-left",
@@ -10624,7 +10622,7 @@ const y5 = ct(
10624
10622
  ),
10625
10623
  children: [
10626
10624
  /* @__PURE__ */ i(l5, { placeholder: a }),
10627
- /* @__PURE__ */ i(c5, { asChild: !0, children: /* @__PURE__ */ i(jo, { className: F("opacity-50 shrink-0 ml-2", u === "sm" ? "h-3 w-3" : "h-4 w-4") }) })
10625
+ /* @__PURE__ */ i(c5, { asChild: !0, children: /* @__PURE__ */ i(jo, { className: $("opacity-50 shrink-0 ml-2", u === "sm" ? "h-3 w-3" : "h-4 w-4") }) })
10628
10626
  ]
10629
10627
  }
10630
10628
  ),
@@ -10633,7 +10631,7 @@ const y5 = ct(
10633
10631
  {
10634
10632
  position: "item-aligned",
10635
10633
  sideOffset: 4,
10636
- className: F(
10634
+ className: $(
10637
10635
  "relative z-50 min-w-[var(--radix-select-trigger-width)] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md",
10638
10636
  "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
10639
10637
  "data-[side=bottom]:slide-in-from-top-2 data-[side=top]:slide-in-from-bottom-2"
@@ -10647,10 +10645,10 @@ const y5 = ct(
10647
10645
  {
10648
10646
  value: y.value,
10649
10647
  disabled: y.disabled,
10650
- className: F(x5({ size: u })),
10648
+ className: $(x5({ size: u })),
10651
10649
  children: [
10652
10650
  /* @__PURE__ */ i(g5, { children: y.label }),
10653
- /* @__PURE__ */ i("span", { className: "absolute right-2 flex items-center justify-center", children: /* @__PURE__ */ i(v5, { children: /* @__PURE__ */ i($a, { className: F(u === "sm" ? "h-3 w-3" : "h-4 w-4") }) }) })
10651
+ /* @__PURE__ */ i("span", { className: "absolute right-2 flex items-center justify-center", children: /* @__PURE__ */ i(v5, { children: /* @__PURE__ */ i(Fa, { className: $(u === "sm" ? "h-3 w-3" : "h-4 w-4") }) }) })
10654
10652
  ]
10655
10653
  },
10656
10654
  y.value
@@ -10669,7 +10667,7 @@ const Sc = se(({ className: e, ...t }, n) => /* @__PURE__ */ i(
10669
10667
  "textarea",
10670
10668
  {
10671
10669
  ref: n,
10672
- className: F(
10670
+ className: $(
10673
10671
  "k-textarea flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
10674
10672
  e
10675
10673
  ),
@@ -10683,7 +10681,7 @@ function Q5({ className: e, ...t }) {
10683
10681
  {
10684
10682
  "data-slot": "input-group",
10685
10683
  role: "group",
10686
- className: F(
10684
+ className: $(
10687
10685
  "k-input-group group/input-group border-input dark:bg-input/30 shadow-xs relative flex w-full items-center rounded-md border outline-none ",
10688
10686
  "transition-[color,box-shadow] h-9 has-[>textarea]:h-auto",
10689
10687
  // Variants based on alignment.
@@ -10726,7 +10724,7 @@ function J5({ className: e, align: t = "inline-start", ...n }) {
10726
10724
  role: "group",
10727
10725
  "data-slot": "input-group-addon",
10728
10726
  "data-align": t,
10729
- className: F("k-input-group__addon", S5({ align: t }), e),
10727
+ className: $("k-input-group__addon", S5({ align: t }), e),
10730
10728
  onClick: (o) => {
10731
10729
  o.target.closest("button") || o.currentTarget.parentElement?.querySelector("input")?.focus();
10732
10730
  },
@@ -10758,7 +10756,7 @@ function e3({ className: e, type: t = "button", variant: n = "ghost", size: o =
10758
10756
  type: t,
10759
10757
  "data-size": o,
10760
10758
  variant: n,
10761
- className: F("k-input-group__button", k5({ size: o }), e),
10759
+ className: $("k-input-group__button", k5({ size: o }), e),
10762
10760
  ...r
10763
10761
  }
10764
10762
  );
@@ -10767,7 +10765,7 @@ function t3({ className: e, ...t }) {
10767
10765
  return /* @__PURE__ */ i(
10768
10766
  "span",
10769
10767
  {
10770
- className: F(
10768
+ className: $(
10771
10769
  "k-input-group__text text-muted-foreground flex items-center gap-2 text-sm [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none",
10772
10770
  e
10773
10771
  ),
@@ -10780,7 +10778,7 @@ function n3({ className: e, ...t }) {
10780
10778
  Hr,
10781
10779
  {
10782
10780
  "data-slot": "input-group-control",
10783
- className: F(
10781
+ className: $(
10784
10782
  "k-input-group__input flex-1 rounded-none border-0 bg-transparent shadow-none dark:bg-transparent",
10785
10783
  // 핵심: 기존 KInput의 focus-ring(shadow)을 제거하고 아웃라인도 방지
10786
10784
  "focus:ring-0 focus:ring-offset-0 focus-visible:ring-0 focus-visible:ring-offset-0 focus-visible:outline-none",
@@ -10795,7 +10793,7 @@ function o3({ className: e, ...t }) {
10795
10793
  Sc,
10796
10794
  {
10797
10795
  "data-slot": "input-group-control",
10798
- className: F(
10796
+ className: $(
10799
10797
  "k-input-group__textarea flex-1 resize-none rounded-none border-0 bg-transparent py-3 shadow-none focus-visible:ring-0 dark:bg-transparent",
10800
10798
  e
10801
10799
  ),
@@ -10813,7 +10811,7 @@ const E5 = Oa(
10813
10811
  "div",
10814
10812
  {
10815
10813
  ref: t,
10816
- className: F("relative w-full overflow-hidden", o),
10814
+ className: $("relative w-full overflow-hidden", o),
10817
10815
  style: { ...a, aspectRatio: `${d}` },
10818
10816
  ...s,
10819
10817
  children: /* @__PURE__ */ i("div", { className: "absolute inset-0 [&>img]:h-full [&>img]:w-full [&>img]:object-cover [&>video]:h-full [&>video]:w-full [&>video]:object-cover", children: r })
@@ -10867,15 +10865,15 @@ var _5 = kc;
10867
10865
  const L5 = ({
10868
10866
  icon: e,
10869
10867
  label: t,
10870
- rightElement: n = /* @__PURE__ */ i(Fa, { className: "w-5 h-5 text-border" }),
10868
+ rightElement: n = /* @__PURE__ */ i($a, { className: "w-5 h-5 text-border" }),
10871
10869
  onClick: o,
10872
10870
  className: r
10873
- }) => /* @__PURE__ */ _("div", { className: F("group bg-background", r), children: [
10871
+ }) => /* @__PURE__ */ _("div", { className: $("group bg-background", r), children: [
10874
10872
  /* @__PURE__ */ _(
10875
10873
  "div",
10876
10874
  {
10877
10875
  onClick: o,
10878
- className: F(
10876
+ className: $(
10879
10877
  "flex items-center justify-between px-4 py-[11px] transition-colors",
10880
10878
  o && "active:bg-secondary cursor-pointer"
10881
10879
  ),
@@ -10895,14 +10893,14 @@ const L5 = ({
10895
10893
  orientation: "horizontal"
10896
10894
  }
10897
10895
  ) })
10898
- ] }), A5 = ({ children: e, header: t, footer: n, width: o = "md", className: r }) => /* @__PURE__ */ _("section", { className: F("w-full mx-auto my-5 px-4", {
10896
+ ] }), A5 = ({ children: e, header: t, footer: n, width: o = "md", className: r }) => /* @__PURE__ */ _("section", { className: $("w-full mx-auto [&&+&]:mt-6 px-0", {
10899
10897
  sm: "max-w-[440px]",
10900
10898
  md: "max-w-[600px]",
10901
10899
  lg: "max-w-[800px]",
10902
10900
  auto: "w-fit",
10903
10901
  full: "max-w-full"
10904
10902
  }[o], r), children: [
10905
- t && /* @__PURE__ */ i("header", { className: "px-4 mb-2 text-[13px] text-muted-foreground uppercase", children: t }),
10903
+ t && /* @__PURE__ */ i("header", { className: "px-4 mb-2 text-[14px] text-muted-foreground uppercase", children: t }),
10906
10904
  /* @__PURE__ */ i("div", { className: "overflow-hidden bg-card rounded-xl border-[0.5px] border-border shadow-sm", children: e }),
10907
10905
  n && /* @__PURE__ */ i("footer", { className: "px-4 mt-2 text-[13px] text-muted-foreground leading-tight", children: n })
10908
10906
  ] });
@@ -11983,7 +11981,7 @@ const q = "currentColor", I5 = {
11983
11981
  c.current?.click();
11984
11982
  }
11985
11983
  }));
11986
- const b = !!l && !u, h = it(() => F(
11984
+ const b = !!l && !u, h = it(() => $(
11987
11985
  "k-icon inline-flex items-center justify-center shrink-0 transition-colors overflow-hidden",
11988
11986
  // overflow-hidden 추가
11989
11987
  typeof s == "string" ? O5[s] : "",
@@ -12078,7 +12076,7 @@ export {
12078
12076
  nm as KPopoverContent,
12079
12077
  tm as KPopoverTrigger,
12080
12078
  C5 as KSelect,
12081
- Fp as KSkeleton,
12079
+ $p as KSkeleton,
12082
12080
  Im as KSpinner,
12083
12081
  Yd as KSwitch,
12084
12082
  Om as KTextField,