@sozialhelden/ui 1.4.1 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/index.d.ts +16 -0
  2. package/dist/index.js +318 -208
  3. package/package.json +17 -16
package/dist/index.js CHANGED
@@ -228,7 +228,7 @@ function of() {
228
228
  var ne = Object.keys($).filter(function(K) {
229
229
  return K !== "key";
230
230
  });
231
- q = 0 < ne.length ? "{key: someKey, " + ne.join(": ..., ") + ": ...}" : "{key: someKey}", O[H + q] || (ne = 0 < ne.length ? "{" + ne.join(": ..., ") + ": ...}" : "{}", console.error(
231
+ q = 0 < ne.length ? "{key: someKey, " + ne.join(": ..., ") + ": ...}" : "{key: someKey}", D[H + q] || (ne = 0 < ne.length ? "{" + ne.join(": ..., ") + ": ...}" : "{}", console.error(
232
232
  `A props object containing a "key" prop is being spread into JSX:
233
233
  let props = %s;
234
234
  <%s {...props} />
@@ -239,7 +239,7 @@ React keys must be passed directly to JSX without using spread:
239
239
  H,
240
240
  ne,
241
241
  H
242
- ), O[H + q] = !0);
242
+ ), D[H + q] = !0);
243
243
  }
244
244
  if (H = null, J !== void 0 && (n(J), H = "" + J), a($) && (n($.key), H = "" + $.key), "key" in $) {
245
245
  J = {};
@@ -274,7 +274,7 @@ React keys must be passed directly to JSX without using spread:
274
274
  var X, F = {}, G = m.react_stack_bottom_frame.bind(
275
275
  m,
276
276
  s
277
- )(), A = U(o(s)), O = {};
277
+ )(), A = U(o(s)), D = {};
278
278
  Dt.Fragment = g, Dt.jsx = function(_, $, J, q, Q) {
279
279
  var re = 1e4 > k.recentlyCreatedOwnerStacks++;
280
280
  return f(
@@ -723,7 +723,7 @@ const pe = (e) => {
723
723
  "left-bottom"
724
724
  ], C = () => [...S(), V, z], P = () => ["auto", "hidden", "clip", "visible", "scroll"], R = () => ["auto", "contain", "none"], E = () => [V, z, c], T = () => [ft, "full", "auto", ...E()], I = () => [Ve, "none", "subgrid", V, z], k = () => ["auto", {
725
725
  span: ["full", Ve, V, z]
726
- }, Ve, V, z], B = () => [Ve, "auto", V, z], Y = () => ["auto", "min", "max", "fr", V, z], U = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], X = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], F = () => ["auto", ...E()], G = () => [ft, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...E()], A = () => [e, V, z], O = () => [...S(), Ds, Os, {
726
+ }, Ve, V, z], B = () => [Ve, "auto", V, z], Y = () => ["auto", "min", "max", "fr", V, z], U = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], X = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], F = () => ["auto", ...E()], G = () => [ft, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...E()], A = () => [e, V, z], D = () => [...S(), Ds, Os, {
727
727
  position: [V, z]
728
728
  }], _ = () => ["no-repeat", {
729
729
  repeat: ["", "x", "y", "space", "round"]
@@ -744,7 +744,7 @@ const pe = (e) => {
744
744
  h,
745
745
  V,
746
746
  z
747
- ], ne = () => ["none", te, V, z], Z = () => ["none", te, V, z], K = () => [te, V, z], D = () => [ft, "full", ...E()];
747
+ ], ne = () => ["none", te, V, z], Z = () => ["none", te, V, z], K = () => [te, V, z], j = () => [ft, "full", ...E()];
748
748
  return {
749
749
  cacheSize: 500,
750
750
  theme: {
@@ -1696,7 +1696,7 @@ const pe = (e) => {
1696
1696
  * @see https://tailwindcss.com/docs/background-position
1697
1697
  */
1698
1698
  "bg-position": [{
1699
- bg: O()
1699
+ bg: D()
1700
1700
  }],
1701
1701
  /**
1702
1702
  * Background Repeat
@@ -2373,7 +2373,7 @@ const pe = (e) => {
2373
2373
  * @see https://tailwindcss.com/docs/mask-position
2374
2374
  */
2375
2375
  "mask-position": [{
2376
- mask: O()
2376
+ mask: D()
2377
2377
  }],
2378
2378
  /**
2379
2379
  * Mask Repeat
@@ -2794,28 +2794,28 @@ const pe = (e) => {
2794
2794
  * @see https://tailwindcss.com/docs/translate
2795
2795
  */
2796
2796
  translate: [{
2797
- translate: D()
2797
+ translate: j()
2798
2798
  }],
2799
2799
  /**
2800
2800
  * Translate X
2801
2801
  * @see https://tailwindcss.com/docs/translate
2802
2802
  */
2803
2803
  "translate-x": [{
2804
- "translate-x": D()
2804
+ "translate-x": j()
2805
2805
  }],
2806
2806
  /**
2807
2807
  * Translate Y
2808
2808
  * @see https://tailwindcss.com/docs/translate
2809
2809
  */
2810
2810
  "translate-y": [{
2811
- "translate-y": D()
2811
+ "translate-y": j()
2812
2812
  }],
2813
2813
  /**
2814
2814
  * Translate Z
2815
2815
  * @see https://tailwindcss.com/docs/translate
2816
2816
  */
2817
2817
  "translate-z": [{
2818
- "translate-z": D()
2818
+ "translate-z": j()
2819
2819
  }],
2820
2820
  /**
2821
2821
  * Translate None
@@ -3173,7 +3173,7 @@ const pe = (e) => {
3173
3173
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
3174
3174
  };
3175
3175
  }, Uf = /* @__PURE__ */ Rf(Gf);
3176
- function j(...e) {
3176
+ function O(...e) {
3177
3177
  return Uf(Na(e));
3178
3178
  }
3179
3179
  const Wf = Bn(
@@ -3200,7 +3200,7 @@ function Wy({
3200
3200
  {
3201
3201
  "data-slot": "alert",
3202
3202
  role: "alert",
3203
- className: j(Wf({ variant: t }), e),
3203
+ className: O(Wf({ variant: t }), e),
3204
3204
  ...n
3205
3205
  }
3206
3206
  );
@@ -3210,7 +3210,7 @@ function Ky({ className: e, ...t }) {
3210
3210
  "div",
3211
3211
  {
3212
3212
  "data-slot": "alert-title",
3213
- className: j(
3213
+ className: O(
3214
3214
  "col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight",
3215
3215
  e
3216
3216
  ),
@@ -3226,7 +3226,7 @@ function Yy({
3226
3226
  "div",
3227
3227
  {
3228
3228
  "data-slot": "alert-description",
3229
- className: j(
3229
+ className: O(
3230
3230
  "text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed",
3231
3231
  e
3232
3232
  ),
@@ -4577,7 +4577,7 @@ function Di({
4577
4577
  s,
4578
4578
  {
4579
4579
  "data-slot": "button",
4580
- className: j(Cr({ variant: t, size: n, className: e })),
4580
+ className: O(Cr({ variant: t, size: n, className: e })),
4581
4581
  ...r
4582
4582
  }
4583
4583
  );
@@ -4605,7 +4605,7 @@ function km({
4605
4605
  Pm,
4606
4606
  {
4607
4607
  "data-slot": "alert-dialog-overlay",
4608
- className: j(
4608
+ className: O(
4609
4609
  "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
4610
4610
  e
4611
4611
  ),
@@ -4623,7 +4623,7 @@ function Jy({
4623
4623
  _m,
4624
4624
  {
4625
4625
  "data-slot": "alert-dialog-content",
4626
- className: j(
4626
+ className: O(
4627
4627
  "bg-background 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 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",
4628
4628
  e
4629
4629
  ),
@@ -4640,7 +4640,7 @@ function Qy({
4640
4640
  "div",
4641
4641
  {
4642
4642
  "data-slot": "alert-dialog-header",
4643
- className: j("flex flex-col gap-2 text-center sm:text-left", e),
4643
+ className: O("flex flex-col gap-2 text-center sm:text-left", e),
4644
4644
  ...t
4645
4645
  }
4646
4646
  );
@@ -4653,7 +4653,7 @@ function eS({
4653
4653
  "div",
4654
4654
  {
4655
4655
  "data-slot": "alert-dialog-footer",
4656
- className: j(
4656
+ className: O(
4657
4657
  "flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
4658
4658
  e
4659
4659
  ),
@@ -4669,7 +4669,7 @@ function tS({
4669
4669
  Nm,
4670
4670
  {
4671
4671
  "data-slot": "alert-dialog-title",
4672
- className: j("text-lg font-semibold", e),
4672
+ className: O("text-lg font-semibold", e),
4673
4673
  ...t
4674
4674
  }
4675
4675
  );
@@ -4682,7 +4682,7 @@ function nS({
4682
4682
  Mm,
4683
4683
  {
4684
4684
  "data-slot": "alert-dialog-description",
4685
- className: j("text-muted-foreground text-sm", e),
4685
+ className: O("text-muted-foreground text-sm", e),
4686
4686
  ...t
4687
4687
  }
4688
4688
  );
@@ -4694,7 +4694,7 @@ function oS({
4694
4694
  return /* @__PURE__ */ d.jsx(
4695
4695
  Am,
4696
4696
  {
4697
- className: j(Cr(), e),
4697
+ className: O(Cr(), e),
4698
4698
  ...t
4699
4699
  }
4700
4700
  );
@@ -4706,7 +4706,7 @@ function rS({
4706
4706
  return /* @__PURE__ */ d.jsx(
4707
4707
  Tm,
4708
4708
  {
4709
- className: j(Cr({ variant: "outline" }), e),
4709
+ className: O(Cr({ variant: "outline" }), e),
4710
4710
  ...t
4711
4711
  }
4712
4712
  );
@@ -4909,7 +4909,7 @@ function aS({
4909
4909
  Hm,
4910
4910
  {
4911
4911
  "data-slot": "avatar",
4912
- className: j(
4912
+ className: O(
4913
4913
  "relative flex size-8 shrink-0 overflow-hidden rounded-full",
4914
4914
  e
4915
4915
  ),
@@ -4925,7 +4925,7 @@ function iS({
4925
4925
  Gm,
4926
4926
  {
4927
4927
  "data-slot": "avatar-image",
4928
- className: j("aspect-square size-full", e),
4928
+ className: O("aspect-square size-full", e),
4929
4929
  ...t
4930
4930
  }
4931
4931
  );
@@ -4938,7 +4938,7 @@ function cS({
4938
4938
  Um,
4939
4939
  {
4940
4940
  "data-slot": "avatar-fallback",
4941
- className: j(
4941
+ className: O(
4942
4942
  "bg-muted flex size-full items-center justify-center rounded-full",
4943
4943
  e
4944
4944
  ),
@@ -4973,7 +4973,7 @@ function lS({
4973
4973
  r,
4974
4974
  {
4975
4975
  "data-slot": "badge",
4976
- className: j(Wm({ variant: t }), e),
4976
+ className: O(Wm({ variant: t }), e),
4977
4977
  ...o
4978
4978
  }
4979
4979
  );
@@ -4983,7 +4983,7 @@ function uS({ className: e, ...t }) {
4983
4983
  "div",
4984
4984
  {
4985
4985
  "data-slot": "card",
4986
- className: j(
4986
+ className: O(
4987
4987
  "bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",
4988
4988
  e
4989
4989
  ),
@@ -4996,7 +4996,7 @@ function dS({ className: e, ...t }) {
4996
4996
  "div",
4997
4997
  {
4998
4998
  "data-slot": "card-header",
4999
- className: j(
4999
+ className: O(
5000
5000
  "@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",
5001
5001
  e
5002
5002
  ),
@@ -5009,7 +5009,7 @@ function fS({ className: e, ...t }) {
5009
5009
  "div",
5010
5010
  {
5011
5011
  "data-slot": "card-title",
5012
- className: j("leading-none font-semibold", e),
5012
+ className: O("leading-none font-semibold", e),
5013
5013
  ...t
5014
5014
  }
5015
5015
  );
@@ -5019,7 +5019,7 @@ function pS({ className: e, ...t }) {
5019
5019
  "div",
5020
5020
  {
5021
5021
  "data-slot": "card-description",
5022
- className: j("text-muted-foreground text-sm", e),
5022
+ className: O("text-muted-foreground text-sm", e),
5023
5023
  ...t
5024
5024
  }
5025
5025
  );
@@ -5029,7 +5029,7 @@ function mS({ className: e, ...t }) {
5029
5029
  "div",
5030
5030
  {
5031
5031
  "data-slot": "card-action",
5032
- className: j(
5032
+ className: O(
5033
5033
  "col-start-2 row-span-2 row-start-1 self-start justify-self-end",
5034
5034
  e
5035
5035
  ),
@@ -5042,7 +5042,7 @@ function gS({ className: e, ...t }) {
5042
5042
  "div",
5043
5043
  {
5044
5044
  "data-slot": "card-content",
5045
- className: j("px-6", e),
5045
+ className: O("px-6", e),
5046
5046
  ...t
5047
5047
  }
5048
5048
  );
@@ -5052,7 +5052,7 @@ function vS({ className: e, ...t }) {
5052
5052
  "div",
5053
5053
  {
5054
5054
  "data-slot": "card-footer",
5055
- className: j("flex items-center px-6 [.border-t]:pt-6", e),
5055
+ className: O("flex items-center px-6 [.border-t]:pt-6", e),
5056
5056
  ...t
5057
5057
  }
5058
5058
  );
@@ -5321,11 +5321,11 @@ function tg(e, t, n, o, r, s, a, i, c, u, f, p, m, v, h, g, x, b, w) {
5321
5321
  mouse: 500,
5322
5322
  touch: 600
5323
5323
  }, B = h ? 43 : 25;
5324
- let Y = !1, U = 0, X = 0, F = !1, G = !1, A = !1, O = !1;
5325
- function _(D) {
5324
+ let Y = !1, U = 0, X = 0, F = !1, G = !1, A = !1, D = !1;
5325
+ function _(j) {
5326
5326
  if (!w) return;
5327
5327
  function ee(fe) {
5328
- (Yn(w) || w(D, fe)) && ae(fe);
5328
+ (Yn(w) || w(j, fe)) && ae(fe);
5329
5329
  }
5330
5330
  const se = t;
5331
5331
  R.add(se, "dragstart", (fe) => fe.preventDefault(), P).add(se, "touchmove", () => {
@@ -5336,38 +5336,38 @@ function tg(e, t, n, o, r, s, a, i, c, u, f, p, m, v, h, g, x, b, w) {
5336
5336
  R.clear(), E.clear();
5337
5337
  }
5338
5338
  function J() {
5339
- const D = O ? n : t;
5340
- E.add(D, "touchmove", M, P).add(D, "touchend", H).add(D, "mousemove", M, P).add(D, "mouseup", H);
5339
+ const j = D ? n : t;
5340
+ E.add(j, "touchmove", M, P).add(j, "touchend", H).add(j, "mousemove", M, P).add(j, "mouseup", H);
5341
5341
  }
5342
- function q(D) {
5343
- const ee = D.nodeName || "";
5342
+ function q(j) {
5343
+ const ee = j.nodeName || "";
5344
5344
  return C.includes(ee);
5345
5345
  }
5346
5346
  function Q() {
5347
- return (h ? k : I)[O ? "mouse" : "touch"];
5347
+ return (h ? k : I)[D ? "mouse" : "touch"];
5348
5348
  }
5349
- function re(D, ee) {
5350
- const se = p.add(_r(D) * -1), fe = f.byDistance(D, !h).distance;
5351
- return h || le(D) < T ? fe : x && ee ? fe * 0.5 : f.byIndex(se.get(), 0).distance;
5349
+ function re(j, ee) {
5350
+ const se = p.add(_r(j) * -1), fe = f.byDistance(j, !h).distance;
5351
+ return h || le(j) < T ? fe : x && ee ? fe * 0.5 : f.byIndex(se.get(), 0).distance;
5352
5352
  }
5353
- function ae(D) {
5354
- const ee = Yo(D, o);
5355
- O = ee, A = h && ee && !D.buttons && Y, Y = Vt(r.get(), a.get()) >= 2, !(ee && D.button !== 0) && (q(D.target) || (F = !0, s.pointerDown(D), u.useFriction(0).useDuration(0), r.set(a), J(), U = s.readPoint(D), X = s.readPoint(D, y), m.emit("pointerDown")));
5353
+ function ae(j) {
5354
+ const ee = Yo(j, o);
5355
+ D = ee, A = h && ee && !j.buttons && Y, Y = Vt(r.get(), a.get()) >= 2, !(ee && j.button !== 0) && (q(j.target) || (F = !0, s.pointerDown(j), u.useFriction(0).useDuration(0), r.set(a), J(), U = s.readPoint(j), X = s.readPoint(j, y), m.emit("pointerDown")));
5356
5356
  }
5357
- function M(D) {
5358
- if (!Yo(D, o) && D.touches.length >= 2) return H(D);
5359
- const se = s.readPoint(D), fe = s.readPoint(D, y), he = Vt(se, U), be = Vt(fe, X);
5360
- if (!G && !O && (!D.cancelable || (G = he > be, !G)))
5361
- return H(D);
5362
- const Je = s.pointerMove(D);
5363
- he > g && (A = !0), u.useFriction(0.3).useDuration(0.75), i.start(), r.add(S(Je)), D.preventDefault();
5357
+ function M(j) {
5358
+ if (!Yo(j, o) && j.touches.length >= 2) return H(j);
5359
+ const se = s.readPoint(j), fe = s.readPoint(j, y), he = Vt(se, U), be = Vt(fe, X);
5360
+ if (!G && !D && (!j.cancelable || (G = he > be, !G)))
5361
+ return H(j);
5362
+ const Je = s.pointerMove(j);
5363
+ he > g && (A = !0), u.useFriction(0.3).useDuration(0.75), i.start(), r.add(S(Je)), j.preventDefault();
5364
5364
  }
5365
- function H(D) {
5366
- const se = f.byDistance(0, !1).index !== p.get(), fe = s.pointerUp(D) * Q(), he = re(S(fe), se), be = qm(fe, he), Je = B - 10 * be, ze = b + be / 50;
5367
- G = !1, F = !1, E.clear(), u.useDuration(Je).useFriction(ze), c.distance(he, !h), O = !1, m.emit("pointerUp");
5365
+ function H(j) {
5366
+ const se = f.byDistance(0, !1).index !== p.get(), fe = s.pointerUp(j) * Q(), he = re(S(fe), se), be = qm(fe, he), Je = B - 10 * be, ze = b + be / 50;
5367
+ G = !1, F = !1, E.clear(), u.useDuration(Je).useFriction(ze), c.distance(he, !h), D = !1, m.emit("pointerUp");
5368
5368
  }
5369
- function ne(D) {
5370
- A && (D.stopPropagation(), D.preventDefault(), A = !1);
5369
+ function ne(j) {
5370
+ A && (j.stopPropagation(), j.preventDefault(), A = !1);
5371
5371
  }
5372
5372
  function Z() {
5373
5373
  return F;
@@ -5999,9 +5999,9 @@ function Sg(e, t, n, o, r, s, a) {
5999
5999
  } = s, R = 2, E = og(), T = E.measure(t), I = n.map(E.measure), k = eg(c, u), B = k.measureSize(T), Y = rg(B), U = Jm(i, B), X = !p && !!w, F = p || !!w, {
6000
6000
  slideSizes: G,
6001
6001
  slideSizesWithGaps: A,
6002
- startGap: O,
6002
+ startGap: D,
6003
6003
  endGap: _
6004
- } = wg(k, T, I, n, F, r), $ = yg(k, B, x, p, T, I, O, _, R), {
6004
+ } = wg(k, T, I, n, F, r), $ = yg(k, B, x, p, T, I, D, _, R), {
6005
6005
  snaps: J,
6006
6006
  snapsAligned: q
6007
6007
  } = fg(k, U, T, I, $), Q = -Pe(J) + Pe(A), {
@@ -6009,7 +6009,7 @@ function Sg(e, t, n, o, r, s, a) {
6009
6009
  scrollContainLimit: ae
6010
6010
  } = cg(B, Q, q, w, R), M = X ? re : q, {
6011
6011
  limit: H
6012
- } = lg(Q, M, p), ne = Hi(en(M), f, p), Z = ne.clone(), K = Bt(n), D = ({
6012
+ } = lg(Q, M, p), ne = Hi(en(M), f, p), Z = ne.clone(), K = Bt(n), j = ({
6013
6013
  dragHandler: dt,
6014
6014
  scrollBody: Co,
6015
6015
  scrollBounds: Eo,
@@ -6038,7 +6038,7 @@ function Sg(e, t, n, o, r, s, a) {
6038
6038
  Es && Ud.stop();
6039
6039
  const Yd = Eo.get() * ys + Vd.get() * (1 - ys);
6040
6040
  fn.set(Yd), ws && (Bd.loop(dt.direction()), Hd.loop()), Co.to(fn.get()), Es && bs.emit("settle"), Cs || bs.emit("scroll");
6041
- }, se = Qm(o, r, () => D(So), (dt) => ee(So, dt)), fe = 0.68, he = M[ne.get()], be = Lt(he), Je = Lt(he), ze = Lt(he), Qe = Lt(he), kt = ag(be, ze, Je, Qe, m, fe), wo = mg(p, M, Q, H, Qe), yo = gg(se, ne, Z, kt, wo, Qe, a), vs = dg(H), hs = Gt(), $d = bg(t, n, a, g), {
6041
+ }, se = Qm(o, r, () => j(So), (dt) => ee(So, dt)), fe = 0.68, he = M[ne.get()], be = Lt(he), Je = Lt(he), ze = Lt(he), Qe = Lt(he), kt = ag(be, ze, Je, Qe, m, fe), wo = mg(p, M, Q, H, Qe), yo = gg(se, ne, Z, kt, wo, Qe, a), vs = dg(H), hs = Gt(), $d = bg(t, n, a, g), {
6042
6042
  slideRegistry: xs
6043
6043
  } = pg(X, w, M, ae, $, K), zd = vg(e, n, xs, yo, kt, hs, a, P), So = {
6044
6044
  ownerDocument: o,
@@ -6178,32 +6178,32 @@ function Tn(e, t, n) {
6178
6178
  function E() {
6179
6179
  const {
6180
6180
  container: K,
6181
- slides: D
6181
+ slides: j
6182
6182
  } = y;
6183
6183
  P = (Ko(K) ? e.querySelector(K) : K) || e.children[0];
6184
- const se = Ko(D) ? P.querySelectorAll(D) : D;
6184
+ const se = Ko(j) ? P.querySelectorAll(j) : j;
6185
6185
  R = [].slice.call(se || P.children);
6186
6186
  }
6187
6187
  function T(K) {
6188
- const D = Sg(e, P, R, o, r, K, c);
6189
- if (K.loop && !D.slideLooper.canLoop()) {
6188
+ const j = Sg(e, P, R, o, r, K, c);
6189
+ if (K.loop && !j.slideLooper.canLoop()) {
6190
6190
  const ee = Object.assign({}, K, {
6191
6191
  loop: !1
6192
6192
  });
6193
6193
  return T(ee);
6194
6194
  }
6195
- return D;
6195
+ return j;
6196
6196
  }
6197
- function I(K, D) {
6198
- x || (w = u(w, K), y = f(w), S = D || S, E(), b = T(y), p([w, ...S.map(({
6197
+ function I(K, j) {
6198
+ x || (w = u(w, K), y = f(w), S = j || S, E(), b = T(y), p([w, ...S.map(({
6199
6199
  options: ee
6200
6200
  }) => ee)]).forEach((ee) => i.add(ee, "change", k)), y.active && (b.translate.to(b.location.get()), b.animation.init(), b.slidesInView.init(), b.slideFocus.init(Z), b.eventHandler.init(Z), b.resizeHandler.init(Z), b.slidesHandler.init(Z), b.options.loop && b.slideLooper.loop(), P.offsetParent && R.length && b.dragHandler.init(Z), C = a.init(Z, S)));
6201
6201
  }
6202
- function k(K, D) {
6202
+ function k(K, j) {
6203
6203
  const ee = $();
6204
6204
  B(), I(u({
6205
6205
  startIndex: ee
6206
- }, K), D), c.emit("reInit");
6206
+ }, K), j), c.emit("reInit");
6207
6207
  }
6208
6208
  function B() {
6209
6209
  b.dragHandler.destroy(), b.eventStore.clear(), b.translate.clear(), b.slideLooper.clear(), b.resizeHandler.destroy(), b.slidesHandler.destroy(), b.slidesInView.destroy(), b.animation.destroy(), a.destroy(), i.clear();
@@ -6211,16 +6211,16 @@ function Tn(e, t, n) {
6211
6211
  function Y() {
6212
6212
  x || (x = !0, i.clear(), B(), c.emit("destroy"), c.clear());
6213
6213
  }
6214
- function U(K, D, ee) {
6215
- !y.active || x || (b.scrollBody.useBaseFriction().useDuration(D === !0 ? 0 : y.duration), b.scrollTo.index(K, ee || 0));
6214
+ function U(K, j, ee) {
6215
+ !y.active || x || (b.scrollBody.useBaseFriction().useDuration(j === !0 ? 0 : y.duration), b.scrollTo.index(K, ee || 0));
6216
6216
  }
6217
6217
  function X(K) {
6218
- const D = b.index.add(1).get();
6219
- U(D, K, -1);
6218
+ const j = b.index.add(1).get();
6219
+ U(j, K, -1);
6220
6220
  }
6221
6221
  function F(K) {
6222
- const D = b.index.add(-1).get();
6223
- U(D, K, 1);
6222
+ const j = b.index.add(-1).get();
6223
+ U(j, K, 1);
6224
6224
  }
6225
6225
  function G() {
6226
6226
  return b.index.add(1).get() !== $();
@@ -6228,7 +6228,7 @@ function Tn(e, t, n) {
6228
6228
  function A() {
6229
6229
  return b.index.add(-1).get() !== $();
6230
6230
  }
6231
- function O() {
6231
+ function D() {
6232
6232
  return b.scrollSnapList;
6233
6233
  }
6234
6234
  function _() {
@@ -6277,7 +6277,7 @@ function Tn(e, t, n) {
6277
6277
  scrollNext: X,
6278
6278
  scrollPrev: F,
6279
6279
  scrollProgress: _,
6280
- scrollSnapList: O,
6280
+ scrollSnapList: D,
6281
6281
  scrollTo: U,
6282
6282
  selectedScrollSnap: $,
6283
6283
  slideNodes: ne,
@@ -6363,7 +6363,7 @@ function hS({
6363
6363
  "div",
6364
6364
  {
6365
6365
  onKeyDownCapture: x,
6366
- className: j("relative", r),
6366
+ className: O("relative", r),
6367
6367
  role: "region",
6368
6368
  "aria-roledescription": "carousel",
6369
6369
  "data-slot": "carousel",
@@ -6385,7 +6385,7 @@ function xS({ className: e, ...t }) {
6385
6385
  children: /* @__PURE__ */ d.jsx(
6386
6386
  "div",
6387
6387
  {
6388
- className: j(
6388
+ className: O(
6389
6389
  "flex",
6390
6390
  o === "horizontal" ? "-ml-4" : "-mt-4 flex-col",
6391
6391
  e
@@ -6404,7 +6404,7 @@ function bS({ className: e, ...t }) {
6404
6404
  role: "group",
6405
6405
  "aria-roledescription": "slide",
6406
6406
  "data-slot": "carousel-item",
6407
- className: j(
6407
+ className: O(
6408
6408
  "min-w-0 shrink-0 grow-0 basis-full",
6409
6409
  n === "horizontal" ? "pl-4" : "pt-4",
6410
6410
  e
@@ -6426,7 +6426,7 @@ function wS({
6426
6426
  "data-slot": "carousel-previous",
6427
6427
  variant: t,
6428
6428
  size: n,
6429
- className: j(
6429
+ className: O(
6430
6430
  "absolute size-8 rounded-full",
6431
6431
  r === "horizontal" ? "top-1/2 -left-12 -translate-y-1/2" : "-top-12 left-1/2 -translate-x-1/2 rotate-90",
6432
6432
  e
@@ -6454,7 +6454,7 @@ function yS({
6454
6454
  "data-slot": "carousel-next",
6455
6455
  variant: t,
6456
6456
  size: n,
6457
- className: j(
6457
+ className: O(
6458
6458
  "absolute size-8 rounded-full",
6459
6459
  r === "horizontal" ? "top-1/2 -right-12 -translate-y-1/2" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90",
6460
6460
  e
@@ -6732,7 +6732,7 @@ function CS({
6732
6732
  Yi,
6733
6733
  {
6734
6734
  "data-slot": "checkbox",
6735
- className: j(
6735
+ className: O(
6736
6736
  "peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",
6737
6737
  e
6738
6738
  ),
@@ -6904,7 +6904,7 @@ function jg({
6904
6904
  xi,
6905
6905
  {
6906
6906
  "data-slot": "dialog-overlay",
6907
- className: j(
6907
+ className: O(
6908
6908
  "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
6909
6909
  e
6910
6910
  ),
@@ -6924,7 +6924,7 @@ function MS({
6924
6924
  bi,
6925
6925
  {
6926
6926
  "data-slot": "dialog-content",
6927
- className: j(
6927
+ className: O(
6928
6928
  "bg-background 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 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",
6929
6929
  e
6930
6930
  ),
@@ -6952,7 +6952,7 @@ function IS({ className: e, ...t }) {
6952
6952
  "div",
6953
6953
  {
6954
6954
  "data-slot": "dialog-header",
6955
- className: j("flex flex-col gap-2 text-center sm:text-left", e),
6955
+ className: O("flex flex-col gap-2 text-center sm:text-left", e),
6956
6956
  ...t
6957
6957
  }
6958
6958
  );
@@ -6962,7 +6962,7 @@ function kS({ className: e, ...t }) {
6962
6962
  "div",
6963
6963
  {
6964
6964
  "data-slot": "dialog-footer",
6965
- className: j(
6965
+ className: O(
6966
6966
  "flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
6967
6967
  e
6968
6968
  ),
@@ -6978,7 +6978,7 @@ function OS({
6978
6978
  wi,
6979
6979
  {
6980
6980
  "data-slot": "dialog-title",
6981
- className: j("text-lg leading-none font-semibold", e),
6981
+ className: O("text-lg leading-none font-semibold", e),
6982
6982
  ...t
6983
6983
  }
6984
6984
  );
@@ -6991,7 +6991,7 @@ function DS({
6991
6991
  yi,
6992
6992
  {
6993
6993
  "data-slot": "dialog-description",
6994
- className: j("text-muted-foreground text-sm", e),
6994
+ className: O("text-muted-foreground text-sm", e),
6995
6995
  ...t
6996
6996
  }
6997
6997
  );
@@ -7395,13 +7395,13 @@ const qg = (e) => ({
7395
7395
  var Y;
7396
7396
  const G = (Y = I.filter((A) => {
7397
7397
  if (P) {
7398
- const O = Me(A.placement);
7399
- return O === w || // Create a bias to the `y` side axis due to horizontal
7398
+ const D = Me(A.placement);
7399
+ return D === w || // Create a bias to the `y` side axis due to horizontal
7400
7400
  // reading directions favoring greater width.
7401
- O === "y";
7401
+ D === "y";
7402
7402
  }
7403
7403
  return !0;
7404
- }).map((A) => [A.placement, A.overflows.filter((O) => O > 0).reduce((O, _) => O + _, 0)]).sort((A, O) => A[1] - O[1])[0]) == null ? void 0 : Y[0];
7404
+ }).map((A) => [A.placement, A.overflows.filter((D) => D > 0).reduce((D, _) => D + _, 0)]).sort((A, D) => A[1] - D[1])[0]) == null ? void 0 : Y[0];
7405
7405
  G && (F = G);
7406
7406
  break;
7407
7407
  }
@@ -8239,9 +8239,9 @@ function $v(e) {
8239
8239
  strategy: n,
8240
8240
  middleware: m
8241
8241
  };
8242
- k.current && (A.platform = k.current), jv(P.current, R.current, A).then((O) => {
8242
+ k.current && (A.platform = k.current), jv(P.current, R.current, A).then((D) => {
8243
8243
  const _ = {
8244
- ...O,
8244
+ ...D,
8245
8245
  // The floating element's position may be recomputed while it's closed
8246
8246
  // but still mounted (such as when transitioning out). To ensure
8247
8247
  // `isPositioned` will be `false` initially on the next open, avoid
@@ -8285,16 +8285,16 @@ function $v(e) {
8285
8285
  };
8286
8286
  if (!F.floating)
8287
8287
  return A;
8288
- const O = da(F.floating, f.x), _ = da(F.floating, f.y);
8288
+ const D = da(F.floating, f.x), _ = da(F.floating, f.y);
8289
8289
  return i ? {
8290
8290
  ...A,
8291
- transform: "translate(" + O + "px, " + _ + "px)",
8291
+ transform: "translate(" + D + "px, " + _ + "px)",
8292
8292
  ...mc(F.floating) >= 1.5 && {
8293
8293
  willChange: "transform"
8294
8294
  }
8295
8295
  } : {
8296
8296
  position: n,
8297
- left: O,
8297
+ left: D,
8298
8298
  top: _
8299
8299
  };
8300
8300
  }, [n, i, F.floating, f.x, f.y]);
@@ -8424,15 +8424,15 @@ var Br = "PopperContent", [Zv, Jv] = vc(Br), yc = l.forwardRef(
8424
8424
  Uv({
8425
8425
  ...Y,
8426
8426
  apply: ({ elements: M, rects: H, availableWidth: ne, availableHeight: Z }) => {
8427
- const { width: K, height: D } = H.reference, ee = M.floating.style;
8428
- ee.setProperty("--radix-popper-available-width", `${ne}px`), ee.setProperty("--radix-popper-available-height", `${Z}px`), ee.setProperty("--radix-popper-anchor-width", `${K}px`), ee.setProperty("--radix-popper-anchor-height", `${D}px`);
8427
+ const { width: K, height: j } = H.reference, ee = M.floating.style;
8428
+ ee.setProperty("--radix-popper-available-width", `${ne}px`), ee.setProperty("--radix-popper-available-height", `${Z}px`), ee.setProperty("--radix-popper-anchor-width", `${K}px`), ee.setProperty("--radix-popper-anchor-height", `${j}px`);
8429
8429
  }
8430
8430
  }),
8431
8431
  S && Kv({ element: S, padding: i }),
8432
8432
  th({ arrowWidth: R, arrowHeight: E }),
8433
8433
  m && Wv({ strategy: "referenceHidden", ...Y })
8434
8434
  ]
8435
- }), [O, _] = Ec(F), $ = ie(h);
8435
+ }), [D, _] = Ec(F), $ = ie(h);
8436
8436
  ce(() => {
8437
8437
  G && $?.();
8438
8438
  }, [G, $]);
@@ -8467,7 +8467,7 @@ var Br = "PopperContent", [Zv, Jv] = vc(Br), yc = l.forwardRef(
8467
8467
  Zv,
8468
8468
  {
8469
8469
  scope: n,
8470
- placedSide: O,
8470
+ placedSide: D,
8471
8471
  onArrowChange: C,
8472
8472
  arrowX: J,
8473
8473
  arrowY: q,
@@ -8475,7 +8475,7 @@ var Br = "PopperContent", [Zv, Jv] = vc(Br), yc = l.forwardRef(
8475
8475
  children: /* @__PURE__ */ d.jsx(
8476
8476
  L.div,
8477
8477
  {
8478
- "data-side": O,
8478
+ "data-side": D,
8479
8479
  "data-align": _,
8480
8480
  ...g,
8481
8481
  ref: y,
@@ -8839,48 +8839,48 @@ var Se = "MenuContent", [yh, Ur] = lt(Se), $c = l.forwardRef(
8839
8839
  onDismiss: v,
8840
8840
  disableOutsideScroll: h,
8841
8841
  ...g
8842
- } = e, x = Ye(Se, n), b = ln(Se, n), w = cn(n), y = Oc(n), S = vh(n), [C, P] = l.useState(null), R = l.useRef(null), E = W(t, R, x.onContentChange), T = l.useRef(0), I = l.useRef(""), k = l.useRef(0), B = l.useRef(null), Y = l.useRef("right"), U = l.useRef(0), X = h ? Qt : l.Fragment, F = h ? { as: Eh, allowPinchZoom: !0 } : void 0, G = (O) => {
8843
- const _ = I.current + O, $ = S().filter((M) => !M.disabled), J = document.activeElement, q = $.find((M) => M.ref.current === J)?.textValue, Q = $.map((M) => M.textValue), re = jh(Q, _, q), ae = $.find((M) => M.textValue === re)?.ref.current;
8842
+ } = e, x = Ye(Se, n), b = ln(Se, n), w = cn(n), y = Oc(n), S = vh(n), [C, P] = l.useState(null), R = l.useRef(null), E = W(t, R, x.onContentChange), T = l.useRef(0), I = l.useRef(""), k = l.useRef(0), B = l.useRef(null), Y = l.useRef("right"), U = l.useRef(0), X = h ? Qt : l.Fragment, F = h ? { as: Eh, allowPinchZoom: !0 } : void 0, G = (D) => {
8843
+ const _ = I.current + D, $ = S().filter((M) => !M.disabled), J = document.activeElement, q = $.find((M) => M.ref.current === J)?.textValue, Q = $.map((M) => M.textValue), re = jh(Q, _, q), ae = $.find((M) => M.textValue === re)?.ref.current;
8844
8844
  (function M(H) {
8845
8845
  I.current = H, window.clearTimeout(T.current), H !== "" && (T.current = window.setTimeout(() => M(""), 1e3));
8846
8846
  })(_), ae && setTimeout(() => ae.focus());
8847
8847
  };
8848
8848
  l.useEffect(() => () => window.clearTimeout(T.current), []), Hn();
8849
- const A = l.useCallback((O) => Y.current === B.current?.side && Fh(O, B.current?.area), []);
8849
+ const A = l.useCallback((D) => Y.current === B.current?.side && Fh(D, B.current?.area), []);
8850
8850
  return /* @__PURE__ */ d.jsx(
8851
8851
  yh,
8852
8852
  {
8853
8853
  scope: n,
8854
8854
  searchRef: I,
8855
8855
  onItemEnter: l.useCallback(
8856
- (O) => {
8857
- A(O) && O.preventDefault();
8856
+ (D) => {
8857
+ A(D) && D.preventDefault();
8858
8858
  },
8859
8859
  [A]
8860
8860
  ),
8861
8861
  onItemLeave: l.useCallback(
8862
- (O) => {
8863
- A(O) || (R.current?.focus(), P(null));
8862
+ (D) => {
8863
+ A(D) || (R.current?.focus(), P(null));
8864
8864
  },
8865
8865
  [A]
8866
8866
  ),
8867
8867
  onTriggerLeave: l.useCallback(
8868
- (O) => {
8869
- A(O) && O.preventDefault();
8868
+ (D) => {
8869
+ A(D) && D.preventDefault();
8870
8870
  },
8871
8871
  [A]
8872
8872
  ),
8873
8873
  pointerGraceTimerRef: k,
8874
- onPointerGraceIntentChange: l.useCallback((O) => {
8875
- B.current = O;
8874
+ onPointerGraceIntentChange: l.useCallback((D) => {
8875
+ B.current = D;
8876
8876
  }, []),
8877
8877
  children: /* @__PURE__ */ d.jsx(X, { ...F, children: /* @__PURE__ */ d.jsx(
8878
8878
  Jt,
8879
8879
  {
8880
8880
  asChild: !0,
8881
8881
  trapped: r,
8882
- onMountAutoFocus: N(s, (O) => {
8883
- O.preventDefault(), R.current?.focus({ preventScroll: !0 });
8882
+ onMountAutoFocus: N(s, (D) => {
8883
+ D.preventDefault(), R.current?.focus({ preventScroll: !0 });
8884
8884
  }),
8885
8885
  onUnmountAutoFocus: a,
8886
8886
  children: /* @__PURE__ */ d.jsx(
@@ -8903,8 +8903,8 @@ var Se = "MenuContent", [yh, Ur] = lt(Se), $c = l.forwardRef(
8903
8903
  loop: o,
8904
8904
  currentTabStopId: C,
8905
8905
  onCurrentTabStopIdChange: P,
8906
- onEntryFocus: N(c, (O) => {
8907
- b.isUsingKeyboardRef.current || O.preventDefault();
8906
+ onEntryFocus: N(c, (D) => {
8907
+ b.isUsingKeyboardRef.current || D.preventDefault();
8908
8908
  }),
8909
8909
  preventScrollOnEntryFocus: !0,
8910
8910
  children: /* @__PURE__ */ d.jsx(
@@ -8919,25 +8919,25 @@ var Se = "MenuContent", [yh, Ur] = lt(Se), $c = l.forwardRef(
8919
8919
  ...g,
8920
8920
  ref: E,
8921
8921
  style: { outline: "none", ...g.style },
8922
- onKeyDown: N(g.onKeyDown, (O) => {
8923
- const $ = O.target.closest("[data-radix-menu-content]") === O.currentTarget, J = O.ctrlKey || O.altKey || O.metaKey, q = O.key.length === 1;
8924
- $ && (O.key === "Tab" && O.preventDefault(), !J && q && G(O.key));
8922
+ onKeyDown: N(g.onKeyDown, (D) => {
8923
+ const $ = D.target.closest("[data-radix-menu-content]") === D.currentTarget, J = D.ctrlKey || D.altKey || D.metaKey, q = D.key.length === 1;
8924
+ $ && (D.key === "Tab" && D.preventDefault(), !J && q && G(D.key));
8925
8925
  const Q = R.current;
8926
- if (O.target !== Q || !ph.includes(O.key)) return;
8927
- O.preventDefault();
8926
+ if (D.target !== Q || !ph.includes(D.key)) return;
8927
+ D.preventDefault();
8928
8928
  const ae = S().filter((M) => !M.disabled).map((M) => M.ref.current);
8929
- Ic.includes(O.key) && ae.reverse(), Oh(ae);
8929
+ Ic.includes(D.key) && ae.reverse(), Oh(ae);
8930
8930
  }),
8931
- onBlur: N(e.onBlur, (O) => {
8932
- O.currentTarget.contains(O.target) || (window.clearTimeout(T.current), I.current = "");
8931
+ onBlur: N(e.onBlur, (D) => {
8932
+ D.currentTarget.contains(D.target) || (window.clearTimeout(T.current), I.current = "");
8933
8933
  }),
8934
8934
  onPointerMove: N(
8935
8935
  e.onPointerMove,
8936
- Yt((O) => {
8937
- const _ = O.target, $ = U.current !== O.clientX;
8938
- if (O.currentTarget.contains(_) && $) {
8939
- const J = O.clientX > U.current ? "right" : "left";
8940
- Y.current = J, U.current = O.clientX;
8936
+ Yt((D) => {
8937
+ const _ = D.target, $ = U.current !== D.clientX;
8938
+ if (D.currentTarget.contains(_) && $) {
8939
+ const J = D.clientX > U.current ? "right" : "left";
8940
+ Y.current = J, U.current = D.clientX;
8941
8941
  }
8942
8942
  })
8943
8943
  )
@@ -9520,7 +9520,7 @@ function zS({
9520
9520
  {
9521
9521
  "data-slot": "dropdown-menu-content",
9522
9522
  sideOffset: t,
9523
- className: j(
9523
+ className: O(
9524
9524
  "bg-popover text-popover-foreground 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 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",
9525
9525
  e
9526
9526
  ),
@@ -9545,7 +9545,7 @@ function BS({
9545
9545
  "data-slot": "dropdown-menu-item",
9546
9546
  "data-inset": t,
9547
9547
  "data-variant": n,
9548
- className: j(
9548
+ className: O(
9549
9549
  "focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
9550
9550
  e
9551
9551
  ),
@@ -9563,7 +9563,7 @@ function HS({
9563
9563
  Cx,
9564
9564
  {
9565
9565
  "data-slot": "dropdown-menu-checkbox-item",
9566
- className: j(
9566
+ className: O(
9567
9567
  "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
9568
9568
  e
9569
9569
  ),
@@ -9596,7 +9596,7 @@ function US({
9596
9596
  Rx,
9597
9597
  {
9598
9598
  "data-slot": "dropdown-menu-radio-item",
9599
- className: j(
9599
+ className: O(
9600
9600
  "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
9601
9601
  e
9602
9602
  ),
@@ -9618,7 +9618,7 @@ function WS({
9618
9618
  {
9619
9619
  "data-slot": "dropdown-menu-label",
9620
9620
  "data-inset": t,
9621
- className: j(
9621
+ className: O(
9622
9622
  "px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",
9623
9623
  e
9624
9624
  ),
@@ -9634,7 +9634,7 @@ function KS({
9634
9634
  Px,
9635
9635
  {
9636
9636
  "data-slot": "dropdown-menu-separator",
9637
- className: j("bg-border -mx-1 my-1 h-px", e),
9637
+ className: O("bg-border -mx-1 my-1 h-px", e),
9638
9638
  ...t
9639
9639
  }
9640
9640
  );
@@ -9647,7 +9647,7 @@ function YS({
9647
9647
  "span",
9648
9648
  {
9649
9649
  "data-slot": "dropdown-menu-shortcut",
9650
- className: j(
9650
+ className: O(
9651
9651
  "text-muted-foreground ml-auto text-xs tracking-widest",
9652
9652
  e
9653
9653
  ),
@@ -9671,7 +9671,7 @@ function qS({
9671
9671
  {
9672
9672
  "data-slot": "dropdown-menu-sub-trigger",
9673
9673
  "data-inset": t,
9674
- className: j(
9674
+ className: O(
9675
9675
  "focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8",
9676
9676
  e
9677
9677
  ),
@@ -9691,7 +9691,7 @@ function ZS({
9691
9691
  Tx,
9692
9692
  {
9693
9693
  "data-slot": "dropdown-menu-sub-content",
9694
- className: j(
9694
+ className: O(
9695
9695
  "bg-popover text-popover-foreground 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 z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",
9696
9696
  e
9697
9697
  ),
@@ -9950,7 +9950,7 @@ function Wx({
9950
9950
  Ux,
9951
9951
  {
9952
9952
  "data-slot": "label",
9953
- className: j(
9953
+ className: O(
9954
9954
  "flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",
9955
9955
  e
9956
9956
  ),
@@ -9984,7 +9984,7 @@ function eC({ className: e, ...t }) {
9984
9984
  "div",
9985
9985
  {
9986
9986
  "data-slot": "form-item",
9987
- className: j("grid gap-2", e),
9987
+ className: O("grid gap-2", e),
9988
9988
  ...t
9989
9989
  }
9990
9990
  ) });
@@ -9999,7 +9999,7 @@ function tC({
9999
9999
  {
10000
10000
  "data-slot": "form-label",
10001
10001
  "data-error": !!n,
10002
- className: j("data-[error=true]:text-destructive", e),
10002
+ className: O("data-[error=true]:text-destructive", e),
10003
10003
  htmlFor: o,
10004
10004
  ...t
10005
10005
  }
@@ -10025,7 +10025,7 @@ function oC({ className: e, ...t }) {
10025
10025
  {
10026
10026
  "data-slot": "form-description",
10027
10027
  id: n,
10028
- className: j("text-muted-foreground text-sm", e),
10028
+ className: O("text-muted-foreground text-sm", e),
10029
10029
  ...t
10030
10030
  }
10031
10031
  );
@@ -10037,7 +10037,7 @@ function rC({ className: e, ...t }) {
10037
10037
  {
10038
10038
  "data-slot": "form-message",
10039
10039
  id: o,
10040
- className: j("text-destructive text-sm", e),
10040
+ className: O("text-destructive text-sm", e),
10041
10041
  ...t,
10042
10042
  children: r
10043
10043
  }
@@ -10049,7 +10049,7 @@ function sC({ className: e, type: t, ...n }) {
10049
10049
  {
10050
10050
  type: t,
10051
10051
  "data-slot": "input",
10052
- className: j(
10052
+ className: O(
10053
10053
  "file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
10054
10054
  "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
10055
10055
  "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
@@ -10632,7 +10632,7 @@ function iC({
10632
10632
  {
10633
10633
  "data-slot": "navigation-menu",
10634
10634
  "data-viewport": n,
10635
- className: j(
10635
+ className: O(
10636
10636
  "group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",
10637
10637
  e
10638
10638
  ),
@@ -10652,7 +10652,7 @@ function cC({
10652
10652
  lb,
10653
10653
  {
10654
10654
  "data-slot": "navigation-menu-list",
10655
- className: j(
10655
+ className: O(
10656
10656
  "group flex flex-1 list-none items-center justify-center gap-1",
10657
10657
  e
10658
10658
  ),
@@ -10668,7 +10668,7 @@ function lC({
10668
10668
  ub,
10669
10669
  {
10670
10670
  "data-slot": "navigation-menu-item",
10671
- className: j("relative", e),
10671
+ className: O("relative", e),
10672
10672
  ...t
10673
10673
  }
10674
10674
  );
@@ -10685,7 +10685,7 @@ function uC({
10685
10685
  db,
10686
10686
  {
10687
10687
  "data-slot": "navigation-menu-trigger",
10688
- className: j(vb(), "group", e),
10688
+ className: O(vb(), "group", e),
10689
10689
  ...n,
10690
10690
  children: [
10691
10691
  t,
@@ -10709,7 +10709,7 @@ function dC({
10709
10709
  mb,
10710
10710
  {
10711
10711
  "data-slot": "navigation-menu-content",
10712
- className: j(
10712
+ className: O(
10713
10713
  "data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 top-0 left-0 w-full p-2 pr-2.5 md:absolute md:w-auto",
10714
10714
  "group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0 group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-md group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:duration-200 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none",
10715
10715
  e
@@ -10725,14 +10725,14 @@ function hb({
10725
10725
  return /* @__PURE__ */ d.jsx(
10726
10726
  "div",
10727
10727
  {
10728
- className: j(
10728
+ className: O(
10729
10729
  "absolute top-full left-0 isolate z-50 flex justify-center"
10730
10730
  ),
10731
10731
  children: /* @__PURE__ */ d.jsx(
10732
10732
  gb,
10733
10733
  {
10734
10734
  "data-slot": "navigation-menu-viewport",
10735
- className: j(
10735
+ className: O(
10736
10736
  "origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border shadow md:w-[var(--radix-navigation-menu-viewport-width)]",
10737
10737
  e
10738
10738
  ),
@@ -10750,7 +10750,7 @@ function fC({
10750
10750
  fb,
10751
10751
  {
10752
10752
  "data-slot": "navigation-menu-link",
10753
- className: j(
10753
+ className: O(
10754
10754
  "data-[active=true]:focus:bg-accent data-[active=true]:hover:bg-accent data-[active=true]:bg-accent/50 data-[active=true]:text-accent-foreground hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:ring-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-sm p-2 text-sm transition-all outline-none focus-visible:ring-[3px] focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4",
10755
10755
  e
10756
10756
  ),
@@ -10766,7 +10766,7 @@ function pC({
10766
10766
  pb,
10767
10767
  {
10768
10768
  "data-slot": "navigation-menu-indicator",
10769
- className: j(
10769
+ className: O(
10770
10770
  "data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden",
10771
10771
  e
10772
10772
  ),
@@ -11006,7 +11006,7 @@ function hC({
11006
11006
  "data-slot": "popover-content",
11007
11007
  align: t,
11008
11008
  sideOffset: n,
11009
- className: j(
11009
+ className: O(
11010
11010
  "bg-popover text-popover-foreground 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 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",
11011
11011
  e
11012
11012
  ),
@@ -11102,7 +11102,7 @@ function wC({
11102
11102
  Fb,
11103
11103
  {
11104
11104
  "data-slot": "progress",
11105
- className: j(
11105
+ className: O(
11106
11106
  "bg-primary/20 relative h-2 w-full overflow-hidden rounded-full",
11107
11107
  e
11108
11108
  ),
@@ -11343,7 +11343,7 @@ function SC({
11343
11343
  Xb,
11344
11344
  {
11345
11345
  "data-slot": "radio-group",
11346
- className: j("grid gap-3", e),
11346
+ className: O("grid gap-3", e),
11347
11347
  ...t
11348
11348
  }
11349
11349
  );
@@ -11356,7 +11356,7 @@ function CC({
11356
11356
  qb,
11357
11357
  {
11358
11358
  "data-slot": "radio-group-item",
11359
- className: j(
11359
+ className: O(
11360
11360
  "border-input text-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",
11361
11361
  e
11362
11362
  ),
@@ -11893,7 +11893,7 @@ function RC({
11893
11893
  lw,
11894
11894
  {
11895
11895
  "data-slot": "scroll-area",
11896
- className: j("relative", e),
11896
+ className: O("relative", e),
11897
11897
  ...n,
11898
11898
  children: [
11899
11899
  /* @__PURE__ */ d.jsx(
@@ -11920,7 +11920,7 @@ function fw({
11920
11920
  {
11921
11921
  "data-slot": "scroll-area-scrollbar",
11922
11922
  orientation: t,
11923
- className: j(
11923
+ className: O(
11924
11924
  "flex touch-none p-px transition-colors select-none",
11925
11925
  t === "vertical" && "h-full w-2.5 border-l border-l-transparent",
11926
11926
  t === "horizontal" && "h-2.5 flex-col border-t border-t-transparent",
@@ -12143,9 +12143,9 @@ var Re = 10, [Gu, Ze] = Mt(at), yw = "SelectContentImpl", Sw = /* @__PURE__ */ G
12143
12143
  }, [y]), Hn();
12144
12144
  const F = l.useCallback(
12145
12145
  (M) => {
12146
- const [H, ...ne] = B().map((D) => D.ref.current), [Z] = ne.slice(-1), K = document.activeElement;
12147
- for (const D of M)
12148
- if (D === K || (D?.scrollIntoView({ block: "nearest" }), D === H && C && (C.scrollTop = 0), D === Z && C && (C.scrollTop = C.scrollHeight), D?.focus(), document.activeElement !== K)) return;
12146
+ const [H, ...ne] = B().map((j) => j.ref.current), [Z] = ne.slice(-1), K = document.activeElement;
12147
+ for (const j of M)
12148
+ if (j === K || (j?.scrollIntoView({ block: "nearest" }), j === H && C && (C.scrollTop = 0), j === Z && C && (C.scrollTop = C.scrollHeight), j?.focus(), document.activeElement !== K)) return;
12149
12149
  },
12150
12150
  [B, C]
12151
12151
  ), G = l.useCallback(
@@ -12155,23 +12155,23 @@ var Re = 10, [Gu, Ze] = Mt(at), yw = "SelectContentImpl", Sw = /* @__PURE__ */ G
12155
12155
  l.useEffect(() => {
12156
12156
  Y && G();
12157
12157
  }, [Y, G]);
12158
- const { onOpenChange: A, triggerPointerDownPosRef: O } = w;
12158
+ const { onOpenChange: A, triggerPointerDownPosRef: D } = w;
12159
12159
  l.useEffect(() => {
12160
12160
  if (y) {
12161
12161
  let M = { x: 0, y: 0 };
12162
12162
  const H = (Z) => {
12163
12163
  M = {
12164
- x: Math.abs(Math.round(Z.pageX) - (O.current?.x ?? 0)),
12165
- y: Math.abs(Math.round(Z.pageY) - (O.current?.y ?? 0))
12164
+ x: Math.abs(Math.round(Z.pageX) - (D.current?.x ?? 0)),
12165
+ y: Math.abs(Math.round(Z.pageY) - (D.current?.y ?? 0))
12166
12166
  };
12167
12167
  }, ne = (Z) => {
12168
- M.x <= 10 && M.y <= 10 ? Z.preventDefault() : y.contains(Z.target) || A(!1), document.removeEventListener("pointermove", H), O.current = null;
12168
+ M.x <= 10 && M.y <= 10 ? Z.preventDefault() : y.contains(Z.target) || A(!1), document.removeEventListener("pointermove", H), D.current = null;
12169
12169
  };
12170
- return O.current !== null && (document.addEventListener("pointermove", H), document.addEventListener("pointerup", ne, { capture: !0, once: !0 })), () => {
12170
+ return D.current !== null && (document.addEventListener("pointermove", H), document.addEventListener("pointerup", ne, { capture: !0, once: !0 })), () => {
12171
12171
  document.removeEventListener("pointermove", H), document.removeEventListener("pointerup", ne, { capture: !0 });
12172
12172
  };
12173
12173
  }
12174
- }, [y, A, O]), l.useEffect(() => {
12174
+ }, [y, A, D]), l.useEffect(() => {
12175
12175
  const M = () => A(!1);
12176
12176
  return window.addEventListener("blur", M), window.addEventListener("resize", M), () => {
12177
12177
  window.removeEventListener("blur", M), window.removeEventListener("resize", M);
@@ -12265,8 +12265,8 @@ var Re = 10, [Gu, Ze] = Mt(at), yw = "SelectContentImpl", Sw = /* @__PURE__ */ G
12265
12265
  if (M.key === "Tab" && M.preventDefault(), !H && M.key.length === 1 && $(M.key), ["ArrowUp", "ArrowDown", "Home", "End"].includes(M.key)) {
12266
12266
  let Z = B().filter((K) => !K.disabled).map((K) => K.ref.current);
12267
12267
  if (["ArrowUp", "End"].includes(M.key) && (Z = Z.slice().reverse()), ["ArrowUp", "ArrowDown"].includes(M.key)) {
12268
- const K = M.target, D = Z.indexOf(K);
12269
- Z = Z.slice(D + 1);
12268
+ const K = M.target, j = Z.indexOf(K);
12269
+ Z = Z.slice(j + 1);
12270
12270
  }
12271
12271
  setTimeout(() => F(Z)), M.preventDefault();
12272
12272
  }
@@ -12287,7 +12287,7 @@ var Cw = "SelectItemAlignedPosition", Wu = l.forwardRef((e, t) => {
12287
12287
  if (s.trigger && s.valueNode && i && u && g && x && b) {
12288
12288
  const R = s.trigger.getBoundingClientRect(), E = u.getBoundingClientRect(), T = s.valueNode.getBoundingClientRect(), I = b.getBoundingClientRect();
12289
12289
  if (s.dir !== "rtl") {
12290
- const K = I.left - E.left, D = T.left - K, ee = R.left - D, se = R.width + ee, fe = Math.max(se, E.width), he = window.innerWidth - Re, be = Xt(D, [
12290
+ const K = I.left - E.left, j = T.left - K, ee = R.left - j, se = R.width + ee, fe = Math.max(se, E.width), he = window.innerWidth - Re, be = Xt(j, [
12291
12291
  Re,
12292
12292
  // Prevents the content from going off the starting edge of the
12293
12293
  // viewport. It may still go off the ending edge, but this can be
@@ -12298,20 +12298,20 @@ var Cw = "SelectItemAlignedPosition", Wu = l.forwardRef((e, t) => {
12298
12298
  ]);
12299
12299
  i.style.minWidth = se + "px", i.style.left = be + "px";
12300
12300
  } else {
12301
- const K = E.right - I.right, D = window.innerWidth - T.right - K, ee = window.innerWidth - R.right - D, se = R.width + ee, fe = Math.max(se, E.width), he = window.innerWidth - Re, be = Xt(D, [
12301
+ const K = E.right - I.right, j = window.innerWidth - T.right - K, ee = window.innerWidth - R.right - j, se = R.width + ee, fe = Math.max(se, E.width), he = window.innerWidth - Re, be = Xt(j, [
12302
12302
  Re,
12303
12303
  Math.max(Re, he - fe)
12304
12304
  ]);
12305
12305
  i.style.minWidth = se + "px", i.style.right = be + "px";
12306
12306
  }
12307
- const k = m(), B = window.innerHeight - Re * 2, Y = g.scrollHeight, U = window.getComputedStyle(u), X = parseInt(U.borderTopWidth, 10), F = parseInt(U.paddingTop, 10), G = parseInt(U.borderBottomWidth, 10), A = parseInt(U.paddingBottom, 10), O = X + F + Y + A + G, _ = Math.min(x.offsetHeight * 5, O), $ = window.getComputedStyle(g), J = parseInt($.paddingTop, 10), q = parseInt($.paddingBottom, 10), Q = R.top + R.height / 2 - Re, re = B - Q, ae = x.offsetHeight / 2, M = x.offsetTop + ae, H = X + F + M, ne = O - H;
12307
+ const k = m(), B = window.innerHeight - Re * 2, Y = g.scrollHeight, U = window.getComputedStyle(u), X = parseInt(U.borderTopWidth, 10), F = parseInt(U.paddingTop, 10), G = parseInt(U.borderBottomWidth, 10), A = parseInt(U.paddingBottom, 10), D = X + F + Y + A + G, _ = Math.min(x.offsetHeight * 5, D), $ = window.getComputedStyle(g), J = parseInt($.paddingTop, 10), q = parseInt($.paddingBottom, 10), Q = R.top + R.height / 2 - Re, re = B - Q, ae = x.offsetHeight / 2, M = x.offsetTop + ae, H = X + F + M, ne = D - H;
12308
12308
  if (H <= Q) {
12309
12309
  const K = k.length > 0 && x === k[k.length - 1].ref.current;
12310
12310
  i.style.bottom = "0px";
12311
- const D = u.clientHeight - g.offsetTop - g.offsetHeight, ee = Math.max(
12311
+ const j = u.clientHeight - g.offsetTop - g.offsetHeight, ee = Math.max(
12312
12312
  re,
12313
12313
  ae + // viewport might have padding bottom, include it to avoid a scrollable viewport
12314
- (K ? q : 0) + D + G
12314
+ (K ? q : 0) + j + G
12315
12315
  ), se = H + ee;
12316
12316
  i.style.height = se + "px";
12317
12317
  } else {
@@ -12754,7 +12754,7 @@ function NC({
12754
12754
  {
12755
12755
  "data-slot": "select-trigger",
12756
12756
  "data-size": t,
12757
- className: j(
12757
+ className: O(
12758
12758
  "border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
12759
12759
  e
12760
12760
  ),
@@ -12776,7 +12776,7 @@ function MC({
12776
12776
  Fw,
12777
12777
  {
12778
12778
  "data-slot": "select-content",
12779
- className: j(
12779
+ className: O(
12780
12780
  "bg-popover text-popover-foreground 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 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md",
12781
12781
  n === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
12782
12782
  e
@@ -12788,7 +12788,7 @@ function MC({
12788
12788
  /* @__PURE__ */ d.jsx(
12789
12789
  $w,
12790
12790
  {
12791
- className: j(
12791
+ className: O(
12792
12792
  "p-1",
12793
12793
  n === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"
12794
12794
  ),
@@ -12808,7 +12808,7 @@ function IC({
12808
12808
  Vw,
12809
12809
  {
12810
12810
  "data-slot": "select-label",
12811
- className: j("text-muted-foreground px-2 py-1.5 text-xs", e),
12811
+ className: O("text-muted-foreground px-2 py-1.5 text-xs", e),
12812
12812
  ...t
12813
12813
  }
12814
12814
  );
@@ -12822,7 +12822,7 @@ function kC({
12822
12822
  Bw,
12823
12823
  {
12824
12824
  "data-slot": "select-item",
12825
- className: j(
12825
+ className: O(
12826
12826
  "focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",
12827
12827
  e
12828
12828
  ),
@@ -12842,7 +12842,7 @@ function OC({
12842
12842
  Kw,
12843
12843
  {
12844
12844
  "data-slot": "select-separator",
12845
- className: j("bg-border pointer-events-none -mx-1 my-1 h-px", e),
12845
+ className: O("bg-border pointer-events-none -mx-1 my-1 h-px", e),
12846
12846
  ...t
12847
12847
  }
12848
12848
  );
@@ -12855,7 +12855,7 @@ function Yw({
12855
12855
  Uw,
12856
12856
  {
12857
12857
  "data-slot": "select-scroll-up-button",
12858
- className: j(
12858
+ className: O(
12859
12859
  "flex cursor-default items-center justify-center py-1",
12860
12860
  e
12861
12861
  ),
@@ -12872,7 +12872,7 @@ function Xw({
12872
12872
  Ww,
12873
12873
  {
12874
12874
  "data-slot": "select-scroll-down-button",
12875
- className: j(
12875
+ className: O(
12876
12876
  "flex cursor-default items-center justify-center py-1",
12877
12877
  e
12878
12878
  ),
@@ -12886,7 +12886,7 @@ function DC({ className: e, ...t }) {
12886
12886
  "div",
12887
12887
  {
12888
12888
  "data-slot": "skeleton",
12889
- className: j("bg-accent animate-pulse rounded-md", e),
12889
+ className: O("bg-accent animate-pulse rounded-md", e),
12890
12890
  ...t
12891
12891
  }
12892
12892
  );
@@ -12941,8 +12941,8 @@ var dd = ["PageUp", "PageDown"], fd = ["ArrowUp", "ArrowDown", "ArrowLeft", "Arr
12941
12941
  const A = oy(G, F, B);
12942
12942
  if (cy(A, c * s)) {
12943
12943
  b.current = A.indexOf(F);
12944
- const O = String(A) !== String(G);
12945
- return O && Y && m(A), O ? A : G;
12944
+ const D = String(A) !== String(G);
12945
+ return D && Y && m(A), D ? A : G;
12946
12946
  } else
12947
12947
  return G;
12948
12948
  });
@@ -13325,7 +13325,7 @@ function LC({
13325
13325
  value: n,
13326
13326
  min: o,
13327
13327
  max: r,
13328
- className: j(
13328
+ className: O(
13329
13329
  "relative flex w-full touch-none items-center select-none data-[disabled]:opacity-50 data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col",
13330
13330
  e
13331
13331
  ),
@@ -13335,14 +13335,14 @@ function LC({
13335
13335
  fy,
13336
13336
  {
13337
13337
  "data-slot": "slider-track",
13338
- className: j(
13338
+ className: O(
13339
13339
  "bg-muted relative grow overflow-hidden rounded-full data-[orientation=horizontal]:h-1.5 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5"
13340
13340
  ),
13341
13341
  children: /* @__PURE__ */ d.jsx(
13342
13342
  py,
13343
13343
  {
13344
13344
  "data-slot": "slider-range",
13345
- className: j(
13345
+ className: O(
13346
13346
  "bg-primary absolute data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full"
13347
13347
  )
13348
13348
  }
@@ -13486,7 +13486,7 @@ function $C({
13486
13486
  by,
13487
13487
  {
13488
13488
  "data-slot": "switch",
13489
- className: j(
13489
+ className: O(
13490
13490
  "peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",
13491
13491
  e
13492
13492
  ),
@@ -13495,7 +13495,7 @@ function $C({
13495
13495
  wy,
13496
13496
  {
13497
13497
  "data-slot": "switch-thumb",
13498
- className: j(
13498
+ className: O(
13499
13499
  "bg-background dark:data-[state=unchecked]:bg-foreground dark:data-[state=checked]:bg-primary-foreground pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0"
13500
13500
  )
13501
13501
  }
@@ -13504,11 +13504,113 @@ function $C({
13504
13504
  );
13505
13505
  }
13506
13506
  function zC({ className: e, ...t }) {
13507
+ return /* @__PURE__ */ d.jsx(
13508
+ "div",
13509
+ {
13510
+ "data-slot": "table-container",
13511
+ className: "relative w-full overflow-x-auto",
13512
+ children: /* @__PURE__ */ d.jsx(
13513
+ "table",
13514
+ {
13515
+ "data-slot": "table",
13516
+ className: O("w-full caption-bottom text-sm", e),
13517
+ ...t
13518
+ }
13519
+ )
13520
+ }
13521
+ );
13522
+ }
13523
+ function VC({ className: e, ...t }) {
13524
+ return /* @__PURE__ */ d.jsx(
13525
+ "thead",
13526
+ {
13527
+ "data-slot": "table-header",
13528
+ className: O("[&_tr]:border-b", e),
13529
+ ...t
13530
+ }
13531
+ );
13532
+ }
13533
+ function BC({ className: e, ...t }) {
13534
+ return /* @__PURE__ */ d.jsx(
13535
+ "tbody",
13536
+ {
13537
+ "data-slot": "table-body",
13538
+ className: O("[&_tr:last-child]:border-0", e),
13539
+ ...t
13540
+ }
13541
+ );
13542
+ }
13543
+ function HC({ className: e, ...t }) {
13544
+ return /* @__PURE__ */ d.jsx(
13545
+ "tfoot",
13546
+ {
13547
+ "data-slot": "table-footer",
13548
+ className: O(
13549
+ "bg-muted/50 border-t font-medium [&>tr]:last:border-b-0",
13550
+ e
13551
+ ),
13552
+ ...t
13553
+ }
13554
+ );
13555
+ }
13556
+ function GC({ className: e, ...t }) {
13557
+ return /* @__PURE__ */ d.jsx(
13558
+ "tr",
13559
+ {
13560
+ "data-slot": "table-row",
13561
+ className: O(
13562
+ "hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors",
13563
+ e
13564
+ ),
13565
+ ...t
13566
+ }
13567
+ );
13568
+ }
13569
+ function UC({ className: e, ...t }) {
13570
+ return /* @__PURE__ */ d.jsx(
13571
+ "th",
13572
+ {
13573
+ "data-slot": "table-head",
13574
+ className: O(
13575
+ "text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
13576
+ e
13577
+ ),
13578
+ ...t
13579
+ }
13580
+ );
13581
+ }
13582
+ function WC({ className: e, ...t }) {
13583
+ return /* @__PURE__ */ d.jsx(
13584
+ "td",
13585
+ {
13586
+ "data-slot": "table-cell",
13587
+ className: O(
13588
+ "p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
13589
+ e
13590
+ ),
13591
+ ...t
13592
+ }
13593
+ );
13594
+ }
13595
+ function KC({
13596
+ className: e,
13597
+ ...t
13598
+ }) {
13599
+ return /* @__PURE__ */ d.jsx(
13600
+ "caption",
13601
+ {
13602
+ "data-slot": "table-caption",
13603
+ className: O("text-muted-foreground mt-4 text-sm", e),
13604
+ ...t
13605
+ }
13606
+ );
13607
+ }
13608
+ function YC({ className: e, ...t }) {
13507
13609
  return /* @__PURE__ */ d.jsx(
13508
13610
  "textarea",
13509
13611
  {
13510
13612
  "data-slot": "textarea",
13511
- className: j(
13613
+ className: O(
13512
13614
  "border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
13513
13615
  e
13514
13616
  ),
@@ -13516,7 +13618,7 @@ function zC({ className: e, ...t }) {
13516
13618
  }
13517
13619
  );
13518
13620
  }
13519
- var [xo, VC] = de("Tooltip", [
13621
+ var [xo, XC] = de("Tooltip", [
13520
13622
  Ke
13521
13623
  ]), bo = Ke(), Nd = "TooltipProvider", yy = 700, mr = "tooltip.open", [Sy, ms] = xo(Nd), Md = (e) => {
13522
13624
  const {
@@ -13839,17 +13941,17 @@ function By({
13839
13941
  }
13840
13942
  );
13841
13943
  }
13842
- function BC({
13944
+ function qC({
13843
13945
  ...e
13844
13946
  }) {
13845
13947
  return /* @__PURE__ */ d.jsx(By, { children: /* @__PURE__ */ d.jsx(Ly, { "data-slot": "tooltip", ...e }) });
13846
13948
  }
13847
- function HC({
13949
+ function ZC({
13848
13950
  ...e
13849
13951
  }) {
13850
13952
  return /* @__PURE__ */ d.jsx(Fy, { "data-slot": "tooltip-trigger", ...e });
13851
13953
  }
13852
- function GC({
13954
+ function JC({
13853
13955
  className: e,
13854
13956
  sideOffset: t = 0,
13855
13957
  children: n,
@@ -13860,7 +13962,7 @@ function GC({
13860
13962
  {
13861
13963
  "data-slot": "tooltip-content",
13862
13964
  sideOffset: t,
13863
- className: j(
13965
+ className: O(
13864
13966
  "bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",
13865
13967
  e
13866
13968
  ),
@@ -13973,11 +14075,19 @@ export {
13973
14075
  DC as Skeleton,
13974
14076
  LC as Slider,
13975
14077
  $C as Switch,
13976
- zC as Textarea,
13977
- BC as Tooltip,
13978
- GC as TooltipContent,
14078
+ zC as Table,
14079
+ BC as TableBody,
14080
+ KC as TableCaption,
14081
+ WC as TableCell,
14082
+ HC as TableFooter,
14083
+ UC as TableHead,
14084
+ VC as TableHeader,
14085
+ GC as TableRow,
14086
+ YC as Textarea,
14087
+ qC as Tooltip,
14088
+ JC as TooltipContent,
13979
14089
  By as TooltipProvider,
13980
- HC as TooltipTrigger,
14090
+ ZC as TooltipTrigger,
13981
14091
  Pa as VISUALLY_HIDDEN_STYLES,
13982
14092
  _a as VisuallyHidden,
13983
14093
  Wm as badgeVariants,