@stackloop/ui 2.3.1 → 2.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsxs as d, jsx as r, Fragment as ae } from "react/jsx-runtime";
2
2
  import Le, { forwardRef as se, useState as D, useRef as H, useEffect as Z, createContext as er, useCallback as ze, useContext as rr } from "react";
3
- import { motion as g, AnimatePresence as Q } from "framer-motion";
4
- import { Loader2 as tr, EyeOff as or, Eye as ar, Check as Oe, X as $, ChevronDown as Ee, Search as Fe, Calendar as sr, ChevronLeft as Pe, ChevronRight as Ge, ArrowUp as nr, ArrowDown as ir, ChevronsUpDown as lr, Plus as cr, WifiOff as ge, Wifi as Te, Info as dr, AlertTriangle as mr, AlertCircle as ur, CheckCircle as pr, Camera as br, Upload as hr, Play as fr, Pause as gr, Mic as yr, Square as xr, Trash2 as wr, Image as vr, FileText as Me } from "lucide-react";
3
+ import { motion as g, AnimatePresence as K } from "framer-motion";
4
+ import { Loader2 as tr, EyeOff as or, Eye as ar, Check as Ee, X as $, ChevronDown as Oe, Search as Fe, Calendar as sr, ChevronLeft as Pe, ChevronRight as Ge, ArrowUp as nr, ArrowDown as ir, ChevronsUpDown as lr, Plus as cr, WifiOff as ge, Wifi as Te, Info as dr, AlertTriangle as mr, AlertCircle as ur, CheckCircle as pr, Camera as br, Upload as hr, Play as fr, Pause as gr, Mic as yr, Square as xr, Trash2 as wr, Image as vr, FileText as Me } from "lucide-react";
5
5
  function Be(e) {
6
6
  var t, a, o = "";
7
7
  if (typeof e == "string" || typeof e == "number") o += e;
@@ -122,7 +122,7 @@ const kr = (e, t) => {
122
122
  c || (c = Ue(), a.nextPart.set(n, c)), a = c;
123
123
  }
124
124
  return a;
125
- }, Lr = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Or = (e) => {
125
+ }, Lr = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Er = (e) => {
126
126
  if (e < 1)
127
127
  return {
128
128
  get: () => {
@@ -146,7 +146,7 @@ const kr = (e, t) => {
146
146
  l in a ? a[l] = n : s(l, n);
147
147
  }
148
148
  };
149
- }, ye = "!", Ae = ":", Er = [], Ie = (e, t, a, o, s) => ({
149
+ }, ye = "!", Ae = ":", Or = [], Ie = (e, t, a, o, s) => ({
150
150
  modifiers: e,
151
151
  hasImportantModifier: t,
152
152
  baseClassName: a,
@@ -161,35 +161,35 @@ const kr = (e, t) => {
161
161
  const l = [];
162
162
  let n = 0, c = 0, i = 0, m;
163
163
  const x = s.length;
164
- for (let w = 0; w < x; w++) {
165
- const M = s[w];
164
+ for (let v = 0; v < x; v++) {
165
+ const M = s[v];
166
166
  if (n === 0 && c === 0) {
167
167
  if (M === Ae) {
168
- l.push(s.slice(i, w)), i = w + 1;
168
+ l.push(s.slice(i, v)), i = v + 1;
169
169
  continue;
170
170
  }
171
171
  if (M === "/") {
172
- m = w;
172
+ m = v;
173
173
  continue;
174
174
  }
175
175
  }
176
176
  M === "[" ? n++ : M === "]" ? n-- : M === "(" ? c++ : M === ")" && c--;
177
177
  }
178
178
  const y = l.length === 0 ? s : s.slice(i);
179
- let h = y, N = !1;
180
- y.endsWith(ye) ? (h = y.slice(0, -1), N = !0) : (
179
+ let h = y, C = !1;
180
+ y.endsWith(ye) ? (h = y.slice(0, -1), C = !0) : (
181
181
  /**
182
182
  * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
183
183
  * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
184
184
  */
185
- y.startsWith(ye) && (h = y.slice(1), N = !0)
185
+ y.startsWith(ye) && (h = y.slice(1), C = !0)
186
186
  );
187
- const k = m && m > i ? m - i : void 0;
188
- return Ie(l, N, h, k);
187
+ const w = m && m > i ? m - i : void 0;
188
+ return Ie(l, C, h, w);
189
189
  };
190
190
  if (t) {
191
191
  const s = t + Ae, l = o;
192
- o = (n) => n.startsWith(s) ? l(n.slice(s.length)) : Ie(Er, !1, n, void 0, !0);
192
+ o = (n) => n.startsWith(s) ? l(n.slice(s.length)) : Ie(Or, !1, n, void 0, !0);
193
193
  }
194
194
  if (a) {
195
195
  const s = o;
@@ -213,7 +213,7 @@ const kr = (e, t) => {
213
213
  return s.length > 0 && (s.sort(), o.push(...s)), o;
214
214
  };
215
215
  }, Gr = (e) => ({
216
- cache: Or(e.cacheSize),
216
+ cache: Er(e.cacheSize),
217
217
  parseClassName: Fr(e),
218
218
  sortModifiers: Pr(e),
219
219
  ...zr(e)
@@ -229,34 +229,34 @@ const kr = (e, t) => {
229
229
  const x = c[m], {
230
230
  isExternal: y,
231
231
  modifiers: h,
232
- hasImportantModifier: N,
233
- baseClassName: k,
234
- maybePostfixModifierPosition: w
232
+ hasImportantModifier: C,
233
+ baseClassName: w,
234
+ maybePostfixModifierPosition: v
235
235
  } = a(x);
236
236
  if (y) {
237
237
  i = x + (i.length > 0 ? " " + i : i);
238
238
  continue;
239
239
  }
240
- let M = !!w, j = o(M ? k.substring(0, w) : k);
240
+ let M = !!v, j = o(M ? w.substring(0, v) : w);
241
241
  if (!j) {
242
242
  if (!M) {
243
243
  i = x + (i.length > 0 ? " " + i : i);
244
244
  continue;
245
245
  }
246
- if (j = o(k), !j) {
246
+ if (j = o(w), !j) {
247
247
  i = x + (i.length > 0 ? " " + i : i);
248
248
  continue;
249
249
  }
250
250
  M = !1;
251
251
  }
252
- const L = h.length === 0 ? "" : h.length === 1 ? h[0] : l(h).join(":"), T = N ? L + ye : L, F = T + j;
253
- if (n.indexOf(F) > -1)
252
+ const L = h.length === 0 ? "" : h.length === 1 ? h[0] : l(h).join(":"), T = C ? L + ye : L, P = T + j;
253
+ if (n.indexOf(P) > -1)
254
254
  continue;
255
- n.push(F);
256
- const P = s(j, M);
257
- for (let S = 0; S < P.length; ++S) {
258
- const O = P[S];
259
- n.push(T + O);
255
+ n.push(P);
256
+ const O = s(j, M);
257
+ for (let N = 0; N < O.length; ++N) {
258
+ const E = O[N];
259
+ n.push(T + E);
260
260
  }
261
261
  i = x + (i.length > 0 ? " " + i : i);
262
262
  }
@@ -289,19 +289,19 @@ const kr = (e, t) => {
289
289
  }, Vr = [], R = (e) => {
290
290
  const t = (a) => a[e] || Vr;
291
291
  return t.isThemeGetter = !0, t;
292
- }, We = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ye = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Wr = /^\d+\/\d+$/, Yr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Hr = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, qr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Jr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Qr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, X = (e) => Wr.test(e), z = (e) => !!e && !Number.isNaN(Number(e)), J = (e) => !!e && Number.isInteger(Number(e)), he = (e) => e.endsWith("%") && z(e.slice(0, -1)), Y = (e) => Yr.test(e), Kr = () => !0, Xr = (e) => (
292
+ }, We = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ye = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Wr = /^\d+\/\d+$/, Yr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Hr = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, qr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Jr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Kr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, X = (e) => Wr.test(e), z = (e) => !!e && !Number.isNaN(Number(e)), J = (e) => !!e && Number.isInteger(Number(e)), he = (e) => e.endsWith("%") && z(e.slice(0, -1)), Y = (e) => Yr.test(e), Qr = () => !0, Xr = (e) => (
293
293
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
294
294
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
295
295
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
296
296
  Hr.test(e) && !qr.test(e)
297
- ), He = () => !1, Zr = (e) => Jr.test(e), et = (e) => Qr.test(e), rt = (e) => !p(e) && !b(e), tt = (e) => ee(e, Qe, He), p = (e) => We.test(e), K = (e) => ee(e, Ke, Xr), fe = (e) => ee(e, it, z), je = (e) => ee(e, qe, He), ot = (e) => ee(e, Je, et), de = (e) => ee(e, Xe, Zr), b = (e) => Ye.test(e), oe = (e) => re(e, Ke), at = (e) => re(e, lt), De = (e) => re(e, qe), st = (e) => re(e, Qe), nt = (e) => re(e, Je), me = (e) => re(e, Xe, !0), ee = (e, t, a) => {
297
+ ), He = () => !1, Zr = (e) => Jr.test(e), et = (e) => Kr.test(e), rt = (e) => !p(e) && !b(e), tt = (e) => ee(e, Ke, He), p = (e) => We.test(e), Q = (e) => ee(e, Qe, Xr), fe = (e) => ee(e, it, z), je = (e) => ee(e, qe, He), ot = (e) => ee(e, Je, et), de = (e) => ee(e, Xe, Zr), b = (e) => Ye.test(e), oe = (e) => re(e, Qe), at = (e) => re(e, lt), De = (e) => re(e, qe), st = (e) => re(e, Ke), nt = (e) => re(e, Je), me = (e) => re(e, Xe, !0), ee = (e, t, a) => {
298
298
  const o = We.exec(e);
299
299
  return o ? o[1] ? t(o[1]) : a(o[2]) : !1;
300
300
  }, re = (e, t, a = !1) => {
301
301
  const o = Ye.exec(e);
302
302
  return o ? o[1] ? t(o[1]) : a : !1;
303
- }, qe = (e) => e === "position" || e === "percentage", Je = (e) => e === "image" || e === "url", Qe = (e) => e === "length" || e === "size" || e === "bg-size", Ke = (e) => e === "length", it = (e) => e === "number", lt = (e) => e === "family-name", Xe = (e) => e === "shadow", ct = () => {
304
- const e = R("color"), t = R("font"), a = R("text"), o = R("font-weight"), s = R("tracking"), l = R("leading"), n = R("breakpoint"), c = R("container"), i = R("spacing"), m = R("radius"), x = R("shadow"), y = R("inset-shadow"), h = R("text-shadow"), N = R("drop-shadow"), k = R("blur"), w = R("perspective"), M = R("aspect"), j = R("ease"), L = R("animate"), T = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], F = () => [
303
+ }, qe = (e) => e === "position" || e === "percentage", Je = (e) => e === "image" || e === "url", Ke = (e) => e === "length" || e === "size" || e === "bg-size", Qe = (e) => e === "length", it = (e) => e === "number", lt = (e) => e === "family-name", Xe = (e) => e === "shadow", ct = () => {
304
+ const e = R("color"), t = R("font"), a = R("text"), o = R("font-weight"), s = R("tracking"), l = R("leading"), n = R("breakpoint"), c = R("container"), i = R("spacing"), m = R("radius"), x = R("shadow"), y = R("inset-shadow"), h = R("text-shadow"), C = R("drop-shadow"), w = R("blur"), v = R("perspective"), M = R("aspect"), j = R("ease"), L = R("animate"), T = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], P = () => [
305
305
  "center",
306
306
  "top",
307
307
  "bottom",
@@ -319,15 +319,15 @@ const kr = (e, t) => {
319
319
  "bottom-left",
320
320
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
321
321
  "left-bottom"
322
- ], P = () => [...F(), b, p], S = () => ["auto", "hidden", "clip", "visible", "scroll"], O = () => ["auto", "contain", "none"], f = () => [b, p, i], C = () => [X, "full", "auto", ...f()], A = () => [J, "none", "subgrid", b, p], _ = () => ["auto", {
322
+ ], O = () => [...P(), b, p], N = () => ["auto", "hidden", "clip", "visible", "scroll"], E = () => ["auto", "contain", "none"], f = () => [b, p, i], S = () => [X, "full", "auto", ...f()], A = () => [J, "none", "subgrid", b, p], _ = () => ["auto", {
323
323
  span: ["full", J, b, p]
324
- }, J, b, p], V = () => [J, "auto", b, p], W = () => ["auto", "min", "max", "fr", b, p], te = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], q = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], B = () => ["auto", ...f()], G = () => [X, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...f()], v = () => [e, b, p], ve = () => [...F(), De, je, {
324
+ }, J, b, p], V = () => [J, "auto", b, p], W = () => ["auto", "min", "max", "fr", b, p], te = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], q = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], B = () => ["auto", ...f()], G = () => [X, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...f()], k = () => [e, b, p], ve = () => [...P(), De, je, {
325
325
  position: [b, p]
326
326
  }], Ne = () => ["no-repeat", {
327
327
  repeat: ["", "x", "y", "space", "round"]
328
328
  }], ke = () => ["auto", "cover", "contain", st, tt, {
329
329
  size: [b, p]
330
- }], pe = () => [he, oe, K], E = () => [
330
+ }], pe = () => [he, oe, Q], F = () => [
331
331
  // Deprecated since Tailwind CSS v4.0.0
332
332
  "",
333
333
  "none",
@@ -335,11 +335,11 @@ const kr = (e, t) => {
335
335
  m,
336
336
  b,
337
337
  p
338
- ], U = () => ["", z, oe, K], ne = () => ["solid", "dashed", "dotted", "double"], Ce = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], I = () => [z, he, De, je], Se = () => [
338
+ ], U = () => ["", z, oe, Q], ne = () => ["solid", "dashed", "dotted", "double"], Ce = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], I = () => [z, he, De, je], Se = () => [
339
339
  // Deprecated since Tailwind CSS v4.0.0
340
340
  "",
341
341
  "none",
342
- k,
342
+ w,
343
343
  b,
344
344
  p
345
345
  ], ie = () => ["none", z, b, p], le = () => ["none", z, b, p], be = () => [z, b, p], ce = () => [X, "full", ...f()];
@@ -350,7 +350,7 @@ const kr = (e, t) => {
350
350
  aspect: ["video"],
351
351
  blur: [Y],
352
352
  breakpoint: [Y],
353
- color: [Kr],
353
+ color: [Qr],
354
354
  container: [Y],
355
355
  "drop-shadow": [Y],
356
356
  ease: ["in", "out", "in-out"],
@@ -466,49 +466,49 @@ const kr = (e, t) => {
466
466
  * @see https://tailwindcss.com/docs/object-position
467
467
  */
468
468
  "object-position": [{
469
- object: P()
469
+ object: O()
470
470
  }],
471
471
  /**
472
472
  * Overflow
473
473
  * @see https://tailwindcss.com/docs/overflow
474
474
  */
475
475
  overflow: [{
476
- overflow: S()
476
+ overflow: N()
477
477
  }],
478
478
  /**
479
479
  * Overflow X
480
480
  * @see https://tailwindcss.com/docs/overflow
481
481
  */
482
482
  "overflow-x": [{
483
- "overflow-x": S()
483
+ "overflow-x": N()
484
484
  }],
485
485
  /**
486
486
  * Overflow Y
487
487
  * @see https://tailwindcss.com/docs/overflow
488
488
  */
489
489
  "overflow-y": [{
490
- "overflow-y": S()
490
+ "overflow-y": N()
491
491
  }],
492
492
  /**
493
493
  * Overscroll Behavior
494
494
  * @see https://tailwindcss.com/docs/overscroll-behavior
495
495
  */
496
496
  overscroll: [{
497
- overscroll: O()
497
+ overscroll: E()
498
498
  }],
499
499
  /**
500
500
  * Overscroll Behavior X
501
501
  * @see https://tailwindcss.com/docs/overscroll-behavior
502
502
  */
503
503
  "overscroll-x": [{
504
- "overscroll-x": O()
504
+ "overscroll-x": E()
505
505
  }],
506
506
  /**
507
507
  * Overscroll Behavior Y
508
508
  * @see https://tailwindcss.com/docs/overscroll-behavior
509
509
  */
510
510
  "overscroll-y": [{
511
- "overscroll-y": O()
511
+ "overscroll-y": E()
512
512
  }],
513
513
  /**
514
514
  * Position
@@ -520,63 +520,63 @@ const kr = (e, t) => {
520
520
  * @see https://tailwindcss.com/docs/top-right-bottom-left
521
521
  */
522
522
  inset: [{
523
- inset: C()
523
+ inset: S()
524
524
  }],
525
525
  /**
526
526
  * Right / Left
527
527
  * @see https://tailwindcss.com/docs/top-right-bottom-left
528
528
  */
529
529
  "inset-x": [{
530
- "inset-x": C()
530
+ "inset-x": S()
531
531
  }],
532
532
  /**
533
533
  * Top / Bottom
534
534
  * @see https://tailwindcss.com/docs/top-right-bottom-left
535
535
  */
536
536
  "inset-y": [{
537
- "inset-y": C()
537
+ "inset-y": S()
538
538
  }],
539
539
  /**
540
540
  * Start
541
541
  * @see https://tailwindcss.com/docs/top-right-bottom-left
542
542
  */
543
543
  start: [{
544
- start: C()
544
+ start: S()
545
545
  }],
546
546
  /**
547
547
  * End
548
548
  * @see https://tailwindcss.com/docs/top-right-bottom-left
549
549
  */
550
550
  end: [{
551
- end: C()
551
+ end: S()
552
552
  }],
553
553
  /**
554
554
  * Top
555
555
  * @see https://tailwindcss.com/docs/top-right-bottom-left
556
556
  */
557
557
  top: [{
558
- top: C()
558
+ top: S()
559
559
  }],
560
560
  /**
561
561
  * Right
562
562
  * @see https://tailwindcss.com/docs/top-right-bottom-left
563
563
  */
564
564
  right: [{
565
- right: C()
565
+ right: S()
566
566
  }],
567
567
  /**
568
568
  * Bottom
569
569
  * @see https://tailwindcss.com/docs/top-right-bottom-left
570
570
  */
571
571
  bottom: [{
572
- bottom: C()
572
+ bottom: S()
573
573
  }],
574
574
  /**
575
575
  * Left
576
576
  * @see https://tailwindcss.com/docs/top-right-bottom-left
577
577
  */
578
578
  left: [{
579
- left: C()
579
+ left: S()
580
580
  }],
581
581
  /**
582
582
  * Visibility
@@ -1035,7 +1035,7 @@ const kr = (e, t) => {
1035
1035
  * @see https://tailwindcss.com/docs/font-size
1036
1036
  */
1037
1037
  "font-size": [{
1038
- text: ["base", a, oe, K]
1038
+ text: ["base", a, oe, Q]
1039
1039
  }],
1040
1040
  /**
1041
1041
  * Font Smoothing
@@ -1157,14 +1157,14 @@ const kr = (e, t) => {
1157
1157
  * @see https://v3.tailwindcss.com/docs/placeholder-color
1158
1158
  */
1159
1159
  "placeholder-color": [{
1160
- placeholder: v()
1160
+ placeholder: k()
1161
1161
  }],
1162
1162
  /**
1163
1163
  * Text Color
1164
1164
  * @see https://tailwindcss.com/docs/text-color
1165
1165
  */
1166
1166
  "text-color": [{
1167
- text: v()
1167
+ text: k()
1168
1168
  }],
1169
1169
  /**
1170
1170
  * Text Decoration
@@ -1183,14 +1183,14 @@ const kr = (e, t) => {
1183
1183
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1184
1184
  */
1185
1185
  "text-decoration-thickness": [{
1186
- decoration: [z, "from-font", "auto", b, K]
1186
+ decoration: [z, "from-font", "auto", b, Q]
1187
1187
  }],
1188
1188
  /**
1189
1189
  * Text Decoration Color
1190
1190
  * @see https://tailwindcss.com/docs/text-decoration-color
1191
1191
  */
1192
1192
  "text-decoration-color": [{
1193
- decoration: v()
1193
+ decoration: k()
1194
1194
  }],
1195
1195
  /**
1196
1196
  * Text Underline Offset
@@ -1328,7 +1328,7 @@ const kr = (e, t) => {
1328
1328
  * @see https://tailwindcss.com/docs/background-color
1329
1329
  */
1330
1330
  "bg-color": [{
1331
- bg: v()
1331
+ bg: k()
1332
1332
  }],
1333
1333
  /**
1334
1334
  * Gradient Color Stops From Position
@@ -1356,21 +1356,21 @@ const kr = (e, t) => {
1356
1356
  * @see https://tailwindcss.com/docs/gradient-color-stops
1357
1357
  */
1358
1358
  "gradient-from": [{
1359
- from: v()
1359
+ from: k()
1360
1360
  }],
1361
1361
  /**
1362
1362
  * Gradient Color Stops Via
1363
1363
  * @see https://tailwindcss.com/docs/gradient-color-stops
1364
1364
  */
1365
1365
  "gradient-via": [{
1366
- via: v()
1366
+ via: k()
1367
1367
  }],
1368
1368
  /**
1369
1369
  * Gradient Color Stops To
1370
1370
  * @see https://tailwindcss.com/docs/gradient-color-stops
1371
1371
  */
1372
1372
  "gradient-to": [{
1373
- to: v()
1373
+ to: k()
1374
1374
  }],
1375
1375
  // ---------------
1376
1376
  // --- Borders ---
@@ -1380,105 +1380,105 @@ const kr = (e, t) => {
1380
1380
  * @see https://tailwindcss.com/docs/border-radius
1381
1381
  */
1382
1382
  rounded: [{
1383
- rounded: E()
1383
+ rounded: F()
1384
1384
  }],
1385
1385
  /**
1386
1386
  * Border Radius Start
1387
1387
  * @see https://tailwindcss.com/docs/border-radius
1388
1388
  */
1389
1389
  "rounded-s": [{
1390
- "rounded-s": E()
1390
+ "rounded-s": F()
1391
1391
  }],
1392
1392
  /**
1393
1393
  * Border Radius End
1394
1394
  * @see https://tailwindcss.com/docs/border-radius
1395
1395
  */
1396
1396
  "rounded-e": [{
1397
- "rounded-e": E()
1397
+ "rounded-e": F()
1398
1398
  }],
1399
1399
  /**
1400
1400
  * Border Radius Top
1401
1401
  * @see https://tailwindcss.com/docs/border-radius
1402
1402
  */
1403
1403
  "rounded-t": [{
1404
- "rounded-t": E()
1404
+ "rounded-t": F()
1405
1405
  }],
1406
1406
  /**
1407
1407
  * Border Radius Right
1408
1408
  * @see https://tailwindcss.com/docs/border-radius
1409
1409
  */
1410
1410
  "rounded-r": [{
1411
- "rounded-r": E()
1411
+ "rounded-r": F()
1412
1412
  }],
1413
1413
  /**
1414
1414
  * Border Radius Bottom
1415
1415
  * @see https://tailwindcss.com/docs/border-radius
1416
1416
  */
1417
1417
  "rounded-b": [{
1418
- "rounded-b": E()
1418
+ "rounded-b": F()
1419
1419
  }],
1420
1420
  /**
1421
1421
  * Border Radius Left
1422
1422
  * @see https://tailwindcss.com/docs/border-radius
1423
1423
  */
1424
1424
  "rounded-l": [{
1425
- "rounded-l": E()
1425
+ "rounded-l": F()
1426
1426
  }],
1427
1427
  /**
1428
1428
  * Border Radius Start Start
1429
1429
  * @see https://tailwindcss.com/docs/border-radius
1430
1430
  */
1431
1431
  "rounded-ss": [{
1432
- "rounded-ss": E()
1432
+ "rounded-ss": F()
1433
1433
  }],
1434
1434
  /**
1435
1435
  * Border Radius Start End
1436
1436
  * @see https://tailwindcss.com/docs/border-radius
1437
1437
  */
1438
1438
  "rounded-se": [{
1439
- "rounded-se": E()
1439
+ "rounded-se": F()
1440
1440
  }],
1441
1441
  /**
1442
1442
  * Border Radius End End
1443
1443
  * @see https://tailwindcss.com/docs/border-radius
1444
1444
  */
1445
1445
  "rounded-ee": [{
1446
- "rounded-ee": E()
1446
+ "rounded-ee": F()
1447
1447
  }],
1448
1448
  /**
1449
1449
  * Border Radius End Start
1450
1450
  * @see https://tailwindcss.com/docs/border-radius
1451
1451
  */
1452
1452
  "rounded-es": [{
1453
- "rounded-es": E()
1453
+ "rounded-es": F()
1454
1454
  }],
1455
1455
  /**
1456
1456
  * Border Radius Top Left
1457
1457
  * @see https://tailwindcss.com/docs/border-radius
1458
1458
  */
1459
1459
  "rounded-tl": [{
1460
- "rounded-tl": E()
1460
+ "rounded-tl": F()
1461
1461
  }],
1462
1462
  /**
1463
1463
  * Border Radius Top Right
1464
1464
  * @see https://tailwindcss.com/docs/border-radius
1465
1465
  */
1466
1466
  "rounded-tr": [{
1467
- "rounded-tr": E()
1467
+ "rounded-tr": F()
1468
1468
  }],
1469
1469
  /**
1470
1470
  * Border Radius Bottom Right
1471
1471
  * @see https://tailwindcss.com/docs/border-radius
1472
1472
  */
1473
1473
  "rounded-br": [{
1474
- "rounded-br": E()
1474
+ "rounded-br": F()
1475
1475
  }],
1476
1476
  /**
1477
1477
  * Border Radius Bottom Left
1478
1478
  * @see https://tailwindcss.com/docs/border-radius
1479
1479
  */
1480
1480
  "rounded-bl": [{
1481
- "rounded-bl": E()
1481
+ "rounded-bl": F()
1482
1482
  }],
1483
1483
  /**
1484
1484
  * Border Width
@@ -1586,70 +1586,70 @@ const kr = (e, t) => {
1586
1586
  * @see https://tailwindcss.com/docs/border-color
1587
1587
  */
1588
1588
  "border-color": [{
1589
- border: v()
1589
+ border: k()
1590
1590
  }],
1591
1591
  /**
1592
1592
  * Border Color X
1593
1593
  * @see https://tailwindcss.com/docs/border-color
1594
1594
  */
1595
1595
  "border-color-x": [{
1596
- "border-x": v()
1596
+ "border-x": k()
1597
1597
  }],
1598
1598
  /**
1599
1599
  * Border Color Y
1600
1600
  * @see https://tailwindcss.com/docs/border-color
1601
1601
  */
1602
1602
  "border-color-y": [{
1603
- "border-y": v()
1603
+ "border-y": k()
1604
1604
  }],
1605
1605
  /**
1606
1606
  * Border Color S
1607
1607
  * @see https://tailwindcss.com/docs/border-color
1608
1608
  */
1609
1609
  "border-color-s": [{
1610
- "border-s": v()
1610
+ "border-s": k()
1611
1611
  }],
1612
1612
  /**
1613
1613
  * Border Color E
1614
1614
  * @see https://tailwindcss.com/docs/border-color
1615
1615
  */
1616
1616
  "border-color-e": [{
1617
- "border-e": v()
1617
+ "border-e": k()
1618
1618
  }],
1619
1619
  /**
1620
1620
  * Border Color Top
1621
1621
  * @see https://tailwindcss.com/docs/border-color
1622
1622
  */
1623
1623
  "border-color-t": [{
1624
- "border-t": v()
1624
+ "border-t": k()
1625
1625
  }],
1626
1626
  /**
1627
1627
  * Border Color Right
1628
1628
  * @see https://tailwindcss.com/docs/border-color
1629
1629
  */
1630
1630
  "border-color-r": [{
1631
- "border-r": v()
1631
+ "border-r": k()
1632
1632
  }],
1633
1633
  /**
1634
1634
  * Border Color Bottom
1635
1635
  * @see https://tailwindcss.com/docs/border-color
1636
1636
  */
1637
1637
  "border-color-b": [{
1638
- "border-b": v()
1638
+ "border-b": k()
1639
1639
  }],
1640
1640
  /**
1641
1641
  * Border Color Left
1642
1642
  * @see https://tailwindcss.com/docs/border-color
1643
1643
  */
1644
1644
  "border-color-l": [{
1645
- "border-l": v()
1645
+ "border-l": k()
1646
1646
  }],
1647
1647
  /**
1648
1648
  * Divide Color
1649
1649
  * @see https://tailwindcss.com/docs/divide-color
1650
1650
  */
1651
1651
  "divide-color": [{
1652
- divide: v()
1652
+ divide: k()
1653
1653
  }],
1654
1654
  /**
1655
1655
  * Outline Style
@@ -1670,14 +1670,14 @@ const kr = (e, t) => {
1670
1670
  * @see https://tailwindcss.com/docs/outline-width
1671
1671
  */
1672
1672
  "outline-w": [{
1673
- outline: ["", z, oe, K]
1673
+ outline: ["", z, oe, Q]
1674
1674
  }],
1675
1675
  /**
1676
1676
  * Outline Color
1677
1677
  * @see https://tailwindcss.com/docs/outline-color
1678
1678
  */
1679
1679
  "outline-color": [{
1680
- outline: v()
1680
+ outline: k()
1681
1681
  }],
1682
1682
  // ---------------
1683
1683
  // --- Effects ---
@@ -1701,7 +1701,7 @@ const kr = (e, t) => {
1701
1701
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
1702
1702
  */
1703
1703
  "shadow-color": [{
1704
- shadow: v()
1704
+ shadow: k()
1705
1705
  }],
1706
1706
  /**
1707
1707
  * Inset Box Shadow
@@ -1715,7 +1715,7 @@ const kr = (e, t) => {
1715
1715
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
1716
1716
  */
1717
1717
  "inset-shadow-color": [{
1718
- "inset-shadow": v()
1718
+ "inset-shadow": k()
1719
1719
  }],
1720
1720
  /**
1721
1721
  * Ring Width
@@ -1736,7 +1736,7 @@ const kr = (e, t) => {
1736
1736
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
1737
1737
  */
1738
1738
  "ring-color": [{
1739
- ring: v()
1739
+ ring: k()
1740
1740
  }],
1741
1741
  /**
1742
1742
  * Ring Offset Width
@@ -1745,7 +1745,7 @@ const kr = (e, t) => {
1745
1745
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1746
1746
  */
1747
1747
  "ring-offset-w": [{
1748
- "ring-offset": [z, K]
1748
+ "ring-offset": [z, Q]
1749
1749
  }],
1750
1750
  /**
1751
1751
  * Ring Offset Color
@@ -1754,7 +1754,7 @@ const kr = (e, t) => {
1754
1754
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1755
1755
  */
1756
1756
  "ring-offset-color": [{
1757
- "ring-offset": v()
1757
+ "ring-offset": k()
1758
1758
  }],
1759
1759
  /**
1760
1760
  * Inset Ring Width
@@ -1768,7 +1768,7 @@ const kr = (e, t) => {
1768
1768
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
1769
1769
  */
1770
1770
  "inset-ring-color": [{
1771
- "inset-ring": v()
1771
+ "inset-ring": k()
1772
1772
  }],
1773
1773
  /**
1774
1774
  * Text Shadow
@@ -1782,7 +1782,7 @@ const kr = (e, t) => {
1782
1782
  * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
1783
1783
  */
1784
1784
  "text-shadow-color": [{
1785
- "text-shadow": v()
1785
+ "text-shadow": k()
1786
1786
  }],
1787
1787
  /**
1788
1788
  * Opacity
@@ -1833,10 +1833,10 @@ const kr = (e, t) => {
1833
1833
  "mask-linear-to": I()
1834
1834
  }],
1835
1835
  "mask-image-linear-from-color": [{
1836
- "mask-linear-from": v()
1836
+ "mask-linear-from": k()
1837
1837
  }],
1838
1838
  "mask-image-linear-to-color": [{
1839
- "mask-linear-to": v()
1839
+ "mask-linear-to": k()
1840
1840
  }],
1841
1841
  "mask-image-t-from-pos": [{
1842
1842
  "mask-t-from": I()
@@ -1845,10 +1845,10 @@ const kr = (e, t) => {
1845
1845
  "mask-t-to": I()
1846
1846
  }],
1847
1847
  "mask-image-t-from-color": [{
1848
- "mask-t-from": v()
1848
+ "mask-t-from": k()
1849
1849
  }],
1850
1850
  "mask-image-t-to-color": [{
1851
- "mask-t-to": v()
1851
+ "mask-t-to": k()
1852
1852
  }],
1853
1853
  "mask-image-r-from-pos": [{
1854
1854
  "mask-r-from": I()
@@ -1857,10 +1857,10 @@ const kr = (e, t) => {
1857
1857
  "mask-r-to": I()
1858
1858
  }],
1859
1859
  "mask-image-r-from-color": [{
1860
- "mask-r-from": v()
1860
+ "mask-r-from": k()
1861
1861
  }],
1862
1862
  "mask-image-r-to-color": [{
1863
- "mask-r-to": v()
1863
+ "mask-r-to": k()
1864
1864
  }],
1865
1865
  "mask-image-b-from-pos": [{
1866
1866
  "mask-b-from": I()
@@ -1869,10 +1869,10 @@ const kr = (e, t) => {
1869
1869
  "mask-b-to": I()
1870
1870
  }],
1871
1871
  "mask-image-b-from-color": [{
1872
- "mask-b-from": v()
1872
+ "mask-b-from": k()
1873
1873
  }],
1874
1874
  "mask-image-b-to-color": [{
1875
- "mask-b-to": v()
1875
+ "mask-b-to": k()
1876
1876
  }],
1877
1877
  "mask-image-l-from-pos": [{
1878
1878
  "mask-l-from": I()
@@ -1881,10 +1881,10 @@ const kr = (e, t) => {
1881
1881
  "mask-l-to": I()
1882
1882
  }],
1883
1883
  "mask-image-l-from-color": [{
1884
- "mask-l-from": v()
1884
+ "mask-l-from": k()
1885
1885
  }],
1886
1886
  "mask-image-l-to-color": [{
1887
- "mask-l-to": v()
1887
+ "mask-l-to": k()
1888
1888
  }],
1889
1889
  "mask-image-x-from-pos": [{
1890
1890
  "mask-x-from": I()
@@ -1893,10 +1893,10 @@ const kr = (e, t) => {
1893
1893
  "mask-x-to": I()
1894
1894
  }],
1895
1895
  "mask-image-x-from-color": [{
1896
- "mask-x-from": v()
1896
+ "mask-x-from": k()
1897
1897
  }],
1898
1898
  "mask-image-x-to-color": [{
1899
- "mask-x-to": v()
1899
+ "mask-x-to": k()
1900
1900
  }],
1901
1901
  "mask-image-y-from-pos": [{
1902
1902
  "mask-y-from": I()
@@ -1905,10 +1905,10 @@ const kr = (e, t) => {
1905
1905
  "mask-y-to": I()
1906
1906
  }],
1907
1907
  "mask-image-y-from-color": [{
1908
- "mask-y-from": v()
1908
+ "mask-y-from": k()
1909
1909
  }],
1910
1910
  "mask-image-y-to-color": [{
1911
- "mask-y-to": v()
1911
+ "mask-y-to": k()
1912
1912
  }],
1913
1913
  "mask-image-radial": [{
1914
1914
  "mask-radial": [b, p]
@@ -1920,10 +1920,10 @@ const kr = (e, t) => {
1920
1920
  "mask-radial-to": I()
1921
1921
  }],
1922
1922
  "mask-image-radial-from-color": [{
1923
- "mask-radial-from": v()
1923
+ "mask-radial-from": k()
1924
1924
  }],
1925
1925
  "mask-image-radial-to-color": [{
1926
- "mask-radial-to": v()
1926
+ "mask-radial-to": k()
1927
1927
  }],
1928
1928
  "mask-image-radial-shape": [{
1929
1929
  "mask-radial": ["circle", "ellipse"]
@@ -1935,7 +1935,7 @@ const kr = (e, t) => {
1935
1935
  }]
1936
1936
  }],
1937
1937
  "mask-image-radial-pos": [{
1938
- "mask-radial-at": F()
1938
+ "mask-radial-at": P()
1939
1939
  }],
1940
1940
  "mask-image-conic-pos": [{
1941
1941
  "mask-conic": [z]
@@ -1947,10 +1947,10 @@ const kr = (e, t) => {
1947
1947
  "mask-conic-to": I()
1948
1948
  }],
1949
1949
  "mask-image-conic-from-color": [{
1950
- "mask-conic-from": v()
1950
+ "mask-conic-from": k()
1951
1951
  }],
1952
1952
  "mask-image-conic-to-color": [{
1953
- "mask-conic-to": v()
1953
+ "mask-conic-to": k()
1954
1954
  }],
1955
1955
  /**
1956
1956
  * Mask Mode
@@ -2047,7 +2047,7 @@ const kr = (e, t) => {
2047
2047
  // Deprecated since Tailwind CSS v4.0.0
2048
2048
  "",
2049
2049
  "none",
2050
- N,
2050
+ C,
2051
2051
  me,
2052
2052
  de
2053
2053
  ]
@@ -2057,7 +2057,7 @@ const kr = (e, t) => {
2057
2057
  * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
2058
2058
  */
2059
2059
  "drop-shadow-color": [{
2060
- "drop-shadow": v()
2060
+ "drop-shadow": k()
2061
2061
  }],
2062
2062
  /**
2063
2063
  * Grayscale
@@ -2275,14 +2275,14 @@ const kr = (e, t) => {
2275
2275
  * @see https://tailwindcss.com/docs/perspective
2276
2276
  */
2277
2277
  perspective: [{
2278
- perspective: [w, b, p]
2278
+ perspective: [v, b, p]
2279
2279
  }],
2280
2280
  /**
2281
2281
  * Perspective Origin
2282
2282
  * @see https://tailwindcss.com/docs/perspective-origin
2283
2283
  */
2284
2284
  "perspective-origin": [{
2285
- "perspective-origin": P()
2285
+ "perspective-origin": O()
2286
2286
  }],
2287
2287
  /**
2288
2288
  * Rotate
@@ -2378,7 +2378,7 @@ const kr = (e, t) => {
2378
2378
  * @see https://tailwindcss.com/docs/transform-origin
2379
2379
  */
2380
2380
  "transform-origin": [{
2381
- origin: P()
2381
+ origin: O()
2382
2382
  }],
2383
2383
  /**
2384
2384
  * Transform Style
@@ -2428,7 +2428,7 @@ const kr = (e, t) => {
2428
2428
  * @see https://tailwindcss.com/docs/accent-color
2429
2429
  */
2430
2430
  accent: [{
2431
- accent: v()
2431
+ accent: k()
2432
2432
  }],
2433
2433
  /**
2434
2434
  * Appearance
@@ -2442,7 +2442,7 @@ const kr = (e, t) => {
2442
2442
  * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2443
2443
  */
2444
2444
  "caret-color": [{
2445
- caret: v()
2445
+ caret: k()
2446
2446
  }],
2447
2447
  /**
2448
2448
  * Color Scheme
@@ -2688,21 +2688,21 @@ const kr = (e, t) => {
2688
2688
  * @see https://tailwindcss.com/docs/fill
2689
2689
  */
2690
2690
  fill: [{
2691
- fill: ["none", ...v()]
2691
+ fill: ["none", ...k()]
2692
2692
  }],
2693
2693
  /**
2694
2694
  * Stroke Width
2695
2695
  * @see https://tailwindcss.com/docs/stroke-width
2696
2696
  */
2697
2697
  "stroke-w": [{
2698
- stroke: [z, oe, K, fe]
2698
+ stroke: [z, oe, Q, fe]
2699
2699
  }],
2700
2700
  /**
2701
2701
  * Stroke
2702
2702
  * @see https://tailwindcss.com/docs/stroke
2703
2703
  */
2704
2704
  stroke: [{
2705
- stroke: ["none", ...v()]
2705
+ stroke: ["none", ...k()]
2706
2706
  }],
2707
2707
  // ---------------------
2708
2708
  // --- Accessibility ---
@@ -2949,7 +2949,7 @@ const pt = se(
2949
2949
  a
2950
2950
  ),
2951
2951
  whileTap: { scale: 0.95 },
2952
- children: /* @__PURE__ */ r(Oe, { className: u(
2952
+ children: /* @__PURE__ */ r(Ee, { className: u(
2953
2953
  "w-4 h-4 text-white transition-opacity duration-200",
2954
2954
  x ? "opacity-100" : "opacity-0"
2955
2955
  ) })
@@ -3088,7 +3088,7 @@ const At = ({
3088
3088
  max: o,
3089
3089
  step: s,
3090
3090
  value: e,
3091
- onChange: (N) => t(Number(N.target.value)),
3091
+ onChange: (C) => t(Number(C.target.value)),
3092
3092
  onMouseDown: () => y(!0),
3093
3093
  onMouseUp: () => y(!1),
3094
3094
  onTouchStart: () => y(!0),
@@ -3126,9 +3126,9 @@ const At = ({
3126
3126
  disabled: m,
3127
3127
  className: x
3128
3128
  }) => {
3129
- const y = e + t, h = y > 0 ? e / y * 100 : 50, N = y > 0 ? t / y * 100 : 50, k = (w) => {
3130
- const M = n - w;
3131
- a(w, Math.max(l, Math.min(n, M)));
3129
+ const y = e + t, h = y > 0 ? e / y * 100 : 50, C = y > 0 ? t / y * 100 : 50, w = (v) => {
3130
+ const M = n - v;
3131
+ a(v, Math.max(l, Math.min(n, M)));
3132
3132
  };
3133
3133
  return /* @__PURE__ */ d("div", { className: u("w-full space-y-3", x), children: [
3134
3134
  /* @__PURE__ */ d("div", { className: "space-y-2", children: [
@@ -3157,7 +3157,7 @@ const At = ({
3157
3157
  max: n,
3158
3158
  step: c,
3159
3159
  value: e,
3160
- onChange: (w) => k(Number(w.target.value)),
3160
+ onChange: (v) => w(Number(v.target.value)),
3161
3161
  disabled: m,
3162
3162
  className: "absolute inset-0 w-full opacity-0 cursor-pointer disabled:cursor-not-allowed"
3163
3163
  }
@@ -3178,7 +3178,7 @@ const At = ({
3178
3178
  {
3179
3179
  className: "h-full bg-success",
3180
3180
  initial: !1,
3181
- animate: { width: `${N}%` },
3181
+ animate: { width: `${C}%` },
3182
3182
  transition: { type: "spring", stiffness: 300, damping: 30 }
3183
3183
  }
3184
3184
  ) }),
@@ -3190,7 +3190,7 @@ const At = ({
3190
3190
  max: n,
3191
3191
  step: c,
3192
3192
  value: t,
3193
- onChange: (w) => k(n - Number(w.target.value)),
3193
+ onChange: (v) => w(n - Number(v.target.value)),
3194
3194
  disabled: m,
3195
3195
  className: "absolute inset-0 w-full opacity-0 cursor-pointer disabled:cursor-not-allowed"
3196
3196
  }
@@ -3215,21 +3215,21 @@ const At = ({
3215
3215
  disabled: i,
3216
3216
  className: m
3217
3217
  }) => {
3218
- const [x, y] = D(!1), [h, N] = D(""), k = H(null), w = e.find((T) => T.value === t), M = n ? e.filter(
3218
+ const [x, y] = D(!1), [h, C] = D(""), w = H(null), v = e.find((T) => T.value === t), M = n ? e.filter(
3219
3219
  (T) => T.label.toLowerCase().includes(h.toLowerCase())
3220
3220
  ) : e;
3221
3221
  Z(() => {
3222
- const T = (F) => {
3223
- k.current && !k.current.contains(F.target) && (y(!1), N(""));
3222
+ const T = (P) => {
3223
+ w.current && !w.current.contains(P.target) && (y(!1), C(""));
3224
3224
  };
3225
3225
  return document.addEventListener("mousedown", T), () => document.removeEventListener("mousedown", T);
3226
3226
  }, []);
3227
3227
  const j = (T) => {
3228
- a(T), y(!1), N("");
3228
+ a(T), y(!1), C("");
3229
3229
  }, L = (T) => {
3230
3230
  T.stopPropagation(), a("");
3231
3231
  };
3232
- return /* @__PURE__ */ d("div", { ref: k, className: u("relative w-full", m), children: [
3232
+ return /* @__PURE__ */ d("div", { ref: w, className: u("relative w-full", m), children: [
3233
3233
  s && /* @__PURE__ */ r("label", { className: "block mb-1.5 text-sm font-medium text-foreground", children: s }),
3234
3234
  /* @__PURE__ */ d(
3235
3235
  "button",
@@ -3249,11 +3249,11 @@ const At = ({
3249
3249
  ),
3250
3250
  children: [
3251
3251
  /* @__PURE__ */ d("div", { className: "flex items-center gap-2 flex-1 min-w-0", children: [
3252
- w?.icon && /* @__PURE__ */ r("span", { className: "flex-shrink-0", children: w.icon }),
3253
- /* @__PURE__ */ r("span", { className: u("truncate", !w && "text-foreground/50"), children: w?.label || o })
3252
+ v?.icon && /* @__PURE__ */ r("span", { className: "flex-shrink-0", children: v.icon }),
3253
+ /* @__PURE__ */ r("span", { className: u("truncate", !v && "text-foreground/50"), children: v?.label || o })
3254
3254
  ] }),
3255
3255
  /* @__PURE__ */ d("div", { className: "flex items-center gap-1 flex-shrink-0", children: [
3256
- c && w && /* @__PURE__ */ r(
3256
+ c && v && /* @__PURE__ */ r(
3257
3257
  "button",
3258
3258
  {
3259
3259
  type: "button",
@@ -3263,7 +3263,7 @@ const At = ({
3263
3263
  }
3264
3264
  ),
3265
3265
  /* @__PURE__ */ r(
3266
- Ee,
3266
+ Oe,
3267
3267
  {
3268
3268
  className: u(
3269
3269
  "w-5 h-5 text-primary transition-transform",
@@ -3275,7 +3275,7 @@ const At = ({
3275
3275
  ]
3276
3276
  }
3277
3277
  ),
3278
- /* @__PURE__ */ r(Q, { children: x && /* @__PURE__ */ d(
3278
+ /* @__PURE__ */ r(K, { children: x && /* @__PURE__ */ d(
3279
3279
  g.div,
3280
3280
  {
3281
3281
  initial: { opacity: 0, y: -10 },
@@ -3292,14 +3292,14 @@ const At = ({
3292
3292
  type: "text",
3293
3293
  placeholder: "Search...",
3294
3294
  value: h,
3295
- onChange: (T) => N(T.target.value),
3295
+ onChange: (T) => C(T.target.value),
3296
3296
  className: "w-full pl-10 pr-8 py-2 text-sm border border-border rounded-md focus:outline-none focus:ring-2 focus:ring-primary"
3297
3297
  }
3298
3298
  ),
3299
3299
  h && /* @__PURE__ */ r(
3300
3300
  "button",
3301
3301
  {
3302
- onClick: () => N(""),
3302
+ onClick: () => C(""),
3303
3303
  className: "absolute right-2 top-1/2 -translate-y-1/2",
3304
3304
  children: /* @__PURE__ */ r($, { className: "w-4 h-4 text-primary/50 hover:text-primary" })
3305
3305
  }
@@ -3349,19 +3349,19 @@ const At = ({
3349
3349
  required: x,
3350
3350
  className: y
3351
3351
  }, h) => {
3352
- const [N, k] = D(!1), [w, M] = D(""), j = H(null), L = e.find((S) => S.value === t), T = c ? e.filter(
3353
- (S) => S.label.toLowerCase().includes(w.toLowerCase())
3352
+ const [C, w] = D(!1), [v, M] = D(""), j = H(null), L = e.find((N) => N.value === t), T = c ? e.filter(
3353
+ (N) => N.label.toLowerCase().includes(v.toLowerCase())
3354
3354
  ) : e;
3355
3355
  Z(() => {
3356
- const S = (O) => {
3357
- j.current && !j.current.contains(O.target) && (k(!1), M(""));
3356
+ const N = (E) => {
3357
+ j.current && !j.current.contains(E.target) && (w(!1), M(""));
3358
3358
  };
3359
- return document.addEventListener("mousedown", S), () => document.removeEventListener("mousedown", S);
3359
+ return document.addEventListener("mousedown", N), () => document.removeEventListener("mousedown", N);
3360
3360
  }, []);
3361
- const F = (S) => {
3362
- a(S), k(!1), M("");
3363
- }, P = (S) => {
3364
- S.stopPropagation(), a("");
3361
+ const P = (N) => {
3362
+ a(N), w(!1), M("");
3363
+ }, O = (N) => {
3364
+ N.stopPropagation(), a("");
3365
3365
  };
3366
3366
  return /* @__PURE__ */ d("div", { ref: h, className: u("w-full space-y-1.5", y), children: [
3367
3367
  s && /* @__PURE__ */ d("label", { className: "block text-sm font-medium text-foreground", children: [
@@ -3373,10 +3373,10 @@ const At = ({
3373
3373
  "button",
3374
3374
  {
3375
3375
  type: "button",
3376
- onClick: () => !m && k(!N),
3376
+ onClick: () => !m && w(!C),
3377
3377
  disabled: m,
3378
3378
  "aria-haspopup": "listbox",
3379
- "aria-expanded": N,
3379
+ "aria-expanded": C,
3380
3380
  "aria-required": x,
3381
3381
  className: u(
3382
3382
  "w-full px-4 py-3 rounded-md border transition-all duration-200",
@@ -3386,7 +3386,7 @@ const At = ({
3386
3386
  "touch-target text-base",
3387
3387
  l && "border-error focus:ring-error",
3388
3388
  !l && "border-border",
3389
- N && "ring-2 ring-primary"
3389
+ C && "ring-2 ring-primary"
3390
3390
  ),
3391
3391
  children: [
3392
3392
  /* @__PURE__ */ d("div", { className: "flex items-center gap-2 flex-1 min-w-0", children: [
@@ -3395,21 +3395,25 @@ const At = ({
3395
3395
  ] }),
3396
3396
  /* @__PURE__ */ d("div", { className: "flex items-center gap-1 flex-shrink-0", children: [
3397
3397
  i && L && !m && /* @__PURE__ */ r(
3398
- "button",
3398
+ "span",
3399
3399
  {
3400
- type: "button",
3401
- onClick: P,
3402
- className: "p-1 hover:bg-secondary rounded transition-colors",
3400
+ role: "button",
3401
+ tabIndex: 0,
3402
+ onClick: O,
3403
+ onKeyDown: (N) => {
3404
+ (N.key === "Enter" || N.key === " ") && (N.preventDefault(), O(N));
3405
+ },
3406
+ className: "p-1 hover:bg-secondary rounded transition-colors cursor-pointer",
3403
3407
  "aria-label": "Clear selection",
3404
3408
  children: /* @__PURE__ */ r($, { className: "w-4 h-4 text-primary" })
3405
3409
  }
3406
3410
  ),
3407
3411
  /* @__PURE__ */ r(
3408
- Ee,
3412
+ Oe,
3409
3413
  {
3410
3414
  className: u(
3411
3415
  "w-5 h-5 text-primary transition-transform",
3412
- N && "rotate-180"
3416
+ C && "rotate-180"
3413
3417
  )
3414
3418
  }
3415
3419
  )
@@ -3417,7 +3421,7 @@ const At = ({
3417
3421
  ]
3418
3422
  }
3419
3423
  ),
3420
- /* @__PURE__ */ r(Q, { children: N && /* @__PURE__ */ d(
3424
+ /* @__PURE__ */ r(K, { children: C && /* @__PURE__ */ d(
3421
3425
  g.div,
3422
3426
  {
3423
3427
  initial: { opacity: 0, y: -10 },
@@ -3434,13 +3438,13 @@ const At = ({
3434
3438
  {
3435
3439
  type: "text",
3436
3440
  placeholder: "Search...",
3437
- value: w,
3438
- onChange: (S) => M(S.target.value),
3441
+ value: v,
3442
+ onChange: (N) => M(N.target.value),
3439
3443
  className: "w-full pl-10 pr-8 py-2 text-sm border border-border rounded-md bg-background text-foreground focus:outline-none focus:ring-2 focus:ring-primary",
3440
3444
  "aria-label": "Search options"
3441
3445
  }
3442
3446
  ),
3443
- w && /* @__PURE__ */ r(
3447
+ v && /* @__PURE__ */ r(
3444
3448
  "button",
3445
3449
  {
3446
3450
  type: "button",
@@ -3451,26 +3455,26 @@ const At = ({
3451
3455
  }
3452
3456
  )
3453
3457
  ] }) }),
3454
- /* @__PURE__ */ r("div", { className: "overflow-y-auto max-h-64", children: T.length > 0 ? T.map((S) => /* @__PURE__ */ d(
3458
+ /* @__PURE__ */ r("div", { className: "overflow-y-auto max-h-64", children: T.length > 0 ? T.map((N) => /* @__PURE__ */ d(
3455
3459
  "button",
3456
3460
  {
3457
3461
  type: "button",
3458
3462
  role: "option",
3459
- "aria-selected": S.value === t,
3460
- onClick: () => !S.disabled && F(S.value),
3461
- disabled: S.disabled,
3463
+ "aria-selected": N.value === t,
3464
+ onClick: () => !N.disabled && P(N.value),
3465
+ disabled: N.disabled,
3462
3466
  className: u(
3463
3467
  "w-full px-4 py-3 text-left flex items-center gap-2",
3464
3468
  "hover:bg-secondary transition-colors",
3465
3469
  "disabled:opacity-50 disabled:cursor-not-allowed",
3466
- S.value === t && "bg-border text-foreground font-medium"
3470
+ N.value === t && "bg-border text-foreground font-medium"
3467
3471
  ),
3468
3472
  children: [
3469
- S.icon && /* @__PURE__ */ r("span", { className: "flex-shrink-0", children: S.icon }),
3470
- /* @__PURE__ */ r("span", { children: S.label })
3473
+ N.icon && /* @__PURE__ */ r("span", { className: "flex-shrink-0", children: N.icon }),
3474
+ /* @__PURE__ */ r("span", { children: N.label })
3471
3475
  ]
3472
3476
  },
3473
- S.value
3477
+ N.value
3474
3478
  )) : /* @__PURE__ */ r("div", { className: "px-4 py-6 text-center text-primary/70 text-sm", children: "No options found" }) })
3475
3479
  ]
3476
3480
  }
@@ -3501,16 +3505,16 @@ const Dt = ({
3501
3505
  maxDate: c,
3502
3506
  className: i
3503
3507
  }) => {
3504
- const [m, x] = D(!1), [y, h] = D(e || /* @__PURE__ */ new Date()), N = H(null);
3508
+ const [m, x] = D(!1), [y, h] = D(e || /* @__PURE__ */ new Date()), C = H(null);
3505
3509
  Z(() => {
3506
- const C = (A) => {
3507
- N.current && !N.current.contains(A.target) && x(!1);
3510
+ const S = (A) => {
3511
+ C.current && !C.current.contains(A.target) && x(!1);
3508
3512
  };
3509
- return m && document.addEventListener("mousedown", C), () => {
3510
- document.removeEventListener("mousedown", C);
3513
+ return m && document.addEventListener("mousedown", S), () => {
3514
+ document.removeEventListener("mousedown", S);
3511
3515
  };
3512
3516
  }, [m]);
3513
- const k = [
3517
+ const w = [
3514
3518
  "January",
3515
3519
  "February",
3516
3520
  "March",
@@ -3523,8 +3527,8 @@ const Dt = ({
3523
3527
  "October",
3524
3528
  "November",
3525
3529
  "December"
3526
- ], w = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], M = (C) => {
3527
- const A = C.getFullYear(), _ = C.getMonth(), V = new Date(A, _, 1), te = new Date(A, _ + 1, 0).getDate(), q = V.getDay(), B = [];
3530
+ ], v = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], M = (S) => {
3531
+ const A = S.getFullYear(), _ = S.getMonth(), V = new Date(A, _, 1), te = new Date(A, _ + 1, 0).getDate(), q = V.getDay(), B = [];
3528
3532
  for (let G = 0; G < q; G++)
3529
3533
  B.push(null);
3530
3534
  for (let G = 1; G <= te; G++)
@@ -3534,14 +3538,14 @@ const Dt = ({
3534
3538
  h(new Date(y.getFullYear(), y.getMonth() - 1, 1));
3535
3539
  }, L = () => {
3536
3540
  h(new Date(y.getFullYear(), y.getMonth() + 1, 1));
3537
- }, T = (C) => {
3538
- t(C), x(!1);
3539
- }, F = (C) => !!(n && C < n || c && C > c), P = (C, A) => !C || !A ? !1 : C.getDate() === A.getDate() && C.getMonth() === A.getMonth() && C.getFullYear() === A.getFullYear(), S = (C) => C ? P(C, /* @__PURE__ */ new Date()) : !1, O = (C) => C ? C.toLocaleDateString("en-US", {
3541
+ }, T = (S) => {
3542
+ t(S), x(!1);
3543
+ }, P = (S) => !!(n && S < n || c && S > c), O = (S, A) => !S || !A ? !1 : S.getDate() === A.getDate() && S.getMonth() === A.getMonth() && S.getFullYear() === A.getFullYear(), N = (S) => S ? O(S, /* @__PURE__ */ new Date()) : !1, E = (S) => S ? S.toLocaleDateString("en-US", {
3540
3544
  year: "numeric",
3541
3545
  month: "short",
3542
3546
  day: "numeric"
3543
3547
  }) : "", f = M(y);
3544
- return /* @__PURE__ */ d("div", { ref: N, className: u("relative w-full", i), children: [
3548
+ return /* @__PURE__ */ d("div", { ref: C, className: u("relative w-full", i), children: [
3545
3549
  a && /* @__PURE__ */ r("label", { className: "block mb-1.5 text-sm font-medium text-foreground", children: a }),
3546
3550
  /* @__PURE__ */ d(
3547
3551
  "button",
@@ -3560,12 +3564,12 @@ const Dt = ({
3560
3564
  m && "ring-2 ring-primary"
3561
3565
  ),
3562
3566
  children: [
3563
- /* @__PURE__ */ r("span", { className: u("truncate", !e && "text-foreground/50"), children: e ? O(e) : o }),
3567
+ /* @__PURE__ */ r("span", { className: u("truncate", !e && "text-foreground/50"), children: e ? E(e) : o }),
3564
3568
  /* @__PURE__ */ r(sr, { className: "w-5 h-5 text-primary flex-shrink-0" })
3565
3569
  ]
3566
3570
  }
3567
3571
  ),
3568
- /* @__PURE__ */ r(Q, { children: m && /* @__PURE__ */ d(
3572
+ /* @__PURE__ */ r(K, { children: m && /* @__PURE__ */ d(
3569
3573
  g.div,
3570
3574
  {
3571
3575
  initial: { opacity: 0, y: -10 },
@@ -3585,7 +3589,7 @@ const Dt = ({
3585
3589
  }
3586
3590
  ),
3587
3591
  /* @__PURE__ */ d("div", { className: "font-semibold text-foreground", children: [
3588
- k[y.getMonth()],
3592
+ w[y.getMonth()],
3589
3593
  " ",
3590
3594
  y.getFullYear()
3591
3595
  ] }),
@@ -3599,24 +3603,24 @@ const Dt = ({
3599
3603
  }
3600
3604
  )
3601
3605
  ] }),
3602
- /* @__PURE__ */ r("div", { className: "grid grid-cols-7 gap-1 mb-2", children: w.map((C) => /* @__PURE__ */ r(
3606
+ /* @__PURE__ */ r("div", { className: "grid grid-cols-7 gap-1 mb-2", children: v.map((S) => /* @__PURE__ */ r(
3603
3607
  "div",
3604
3608
  {
3605
3609
  className: "text-center text-xs font-medium text-primary/70 py-2",
3606
- children: C
3610
+ children: S
3607
3611
  },
3608
- C
3612
+ S
3609
3613
  )) }),
3610
- /* @__PURE__ */ r("div", { className: "grid grid-cols-7 gap-1", children: f.map((C, A) => {
3611
- if (!C)
3614
+ /* @__PURE__ */ r("div", { className: "grid grid-cols-7 gap-1", children: f.map((S, A) => {
3615
+ if (!S)
3612
3616
  return /* @__PURE__ */ r("div", { className: "aspect-square" }, `empty-${A}`);
3613
- const _ = P(C, e || null), V = S(C), W = F(C);
3617
+ const _ = O(S, e || null), V = N(S), W = P(S);
3614
3618
  return /* @__PURE__ */ r(
3615
3619
  g.button,
3616
3620
  {
3617
3621
  type: "button",
3618
3622
  whileTap: { scale: W ? 1 : 0.95 },
3619
- onClick: () => !W && T(C),
3623
+ onClick: () => !W && T(S),
3620
3624
  disabled: W,
3621
3625
  className: u(
3622
3626
  "aspect-square rounded-lg flex items-center justify-center",
@@ -3627,9 +3631,9 @@ const Dt = ({
3627
3631
  W && "text-border-dark cursor-not-allowed hover:bg-transparent",
3628
3632
  !_ && !V && !W && "text-foreground"
3629
3633
  ),
3630
- children: C.getDate()
3634
+ children: S.getDate()
3631
3635
  },
3632
- C.toISOString()
3636
+ S.toISOString()
3633
3637
  );
3634
3638
  }) }),
3635
3639
  /* @__PURE__ */ r("div", { className: "mt-4 pt-4 border-t border-border", children: /* @__PURE__ */ r(
@@ -3691,7 +3695,7 @@ const Dt = ({
3691
3695
  children: e
3692
3696
  }
3693
3697
  );
3694
- }, Ot = ({ children: e, className: t }) => /* @__PURE__ */ r("div", { className: u("mb-4", t), children: e }), Et = ({ children: e, className: t }) => /* @__PURE__ */ r("h3", { className: u("text-lg font-semibold text-foreground", t), children: e }), Ft = ({ children: e, className: t }) => /* @__PURE__ */ r("p", { className: u("text-sm text-foreground/70 mt-1", t), children: e }), Pt = ({ children: e, className: t }) => /* @__PURE__ */ r("div", { className: t, children: e }), Gt = ({
3698
+ }, Et = ({ children: e, className: t }) => /* @__PURE__ */ r("div", { className: u("mb-4", t), children: e }), Ot = ({ children: e, className: t }) => /* @__PURE__ */ r("h3", { className: u("text-lg font-semibold text-foreground", t), children: e }), Ft = ({ children: e, className: t }) => /* @__PURE__ */ r("p", { className: u("text-sm text-foreground/70 mt-1", t), children: e }), Pt = ({ children: e, className: t }) => /* @__PURE__ */ r("div", { className: t, children: e }), Gt = ({
3695
3699
  isOpen: e,
3696
3700
  onClose: t,
3697
3701
  children: a,
@@ -3705,7 +3709,7 @@ const Dt = ({
3705
3709
  return e && (document.addEventListener("keydown", n), document.body.style.overflow = "hidden"), () => {
3706
3710
  document.removeEventListener("keydown", n), document.body.style.overflow = "unset";
3707
3711
  };
3708
- }, [e, t]), /* @__PURE__ */ r(Q, { children: e && /* @__PURE__ */ d(ae, { children: [
3712
+ }, [e, t]), /* @__PURE__ */ r(K, { children: e && /* @__PURE__ */ d(ae, { children: [
3709
3713
  /* @__PURE__ */ r(
3710
3714
  g.div,
3711
3715
  {
@@ -3771,7 +3775,7 @@ const Dt = ({
3771
3775
  xl: "max-w-6xl",
3772
3776
  full: "max-w-full mx-4"
3773
3777
  };
3774
- return /* @__PURE__ */ r(Q, { children: e && /* @__PURE__ */ r(
3778
+ return /* @__PURE__ */ r(K, { children: e && /* @__PURE__ */ r(
3775
3779
  "div",
3776
3780
  {
3777
3781
  className: "fixed inset-0 z-50 flex items-center justify-center bg-black/70 p-4",
@@ -3825,7 +3829,7 @@ const Dt = ({
3825
3829
  className: l
3826
3830
  }) => (Z(() => (e ? document.body.style.overflow = "hidden" : document.body.style.overflow = "unset", () => {
3827
3831
  document.body.style.overflow = "unset";
3828
- }), [e]), /* @__PURE__ */ r(Q, { children: e && /* @__PURE__ */ d(ae, { children: [
3832
+ }), [e]), /* @__PURE__ */ r(K, { children: e && /* @__PURE__ */ d(ae, { children: [
3829
3833
  /* @__PURE__ */ r(
3830
3834
  g.div,
3831
3835
  {
@@ -3877,13 +3881,13 @@ function Vt({
3877
3881
  }) {
3878
3882
  const [n, c] = D(null), [i, m] = D("asc"), x = (h) => {
3879
3883
  n === h ? m(i === "asc" ? "desc" : "asc") : (c(h), m("asc"));
3880
- }, y = n ? [...e].sort((h, N) => {
3881
- const k = h[n], w = N[n];
3882
- return k < w ? i === "asc" ? -1 : 1 : k > w ? i === "asc" ? 1 : -1 : 0;
3884
+ }, y = n ? [...e].sort((h, C) => {
3885
+ const w = h[n], v = C[n];
3886
+ return w < v ? i === "asc" ? -1 : 1 : w > v ? i === "asc" ? 1 : -1 : 0;
3883
3887
  }) : e;
3884
3888
  return a ? /* @__PURE__ */ r("div", { className: u("border border-border rounded-lg overflow-hidden", l), children: /* @__PURE__ */ r("div", { className: "overflow-x-auto", children: /* @__PURE__ */ d("table", { className: "w-full", children: [
3885
- /* @__PURE__ */ r("thead", { className: "border-b border-border", children: /* @__PURE__ */ r("tr", { children: t.map((h, N) => /* @__PURE__ */ r("th", { className: "px-6 py-4 text-left", children: /* @__PURE__ */ r("div", { className: "h-4 bg-border rounded w-24 animate-pulse" }) }, N)) }) }),
3886
- /* @__PURE__ */ r("tbody", { children: [...Array(5)].map((h, N) => /* @__PURE__ */ r("tr", { className: "border-b border-border", children: t.map((k, w) => /* @__PURE__ */ r("td", { className: "px-6 py-4", children: /* @__PURE__ */ r("div", { className: "h-4 bg-secondary rounded animate-pulse" }) }, w)) }, N)) })
3889
+ /* @__PURE__ */ r("thead", { className: "border-b border-border", children: /* @__PURE__ */ r("tr", { children: t.map((h, C) => /* @__PURE__ */ r("th", { className: "px-6 py-4 text-left", children: /* @__PURE__ */ r("div", { className: "h-4 bg-border rounded w-24 animate-pulse" }) }, C)) }) }),
3890
+ /* @__PURE__ */ r("tbody", { children: [...Array(5)].map((h, C) => /* @__PURE__ */ r("tr", { className: "border-b border-border", children: t.map((w, v) => /* @__PURE__ */ r("td", { className: "px-6 py-4", children: /* @__PURE__ */ r("div", { className: "h-4 bg-secondary rounded animate-pulse" }) }, v)) }, C)) })
3887
3891
  ] }) }) }) : /* @__PURE__ */ r(
3888
3892
  g.div,
3889
3893
  {
@@ -3892,7 +3896,7 @@ function Vt({
3892
3896
  transition: { duration: 0.3 },
3893
3897
  className: u("border border-border rounded-lg overflow-hidden", l),
3894
3898
  children: /* @__PURE__ */ r("div", { className: "overflow-x-auto", children: /* @__PURE__ */ d("table", { className: "w-full", children: [
3895
- /* @__PURE__ */ r("thead", { className: "border-b border-border", children: /* @__PURE__ */ r("tr", { children: t.map((h, N) => /* @__PURE__ */ r(
3899
+ /* @__PURE__ */ r("thead", { className: "border-b border-border", children: /* @__PURE__ */ r("tr", { children: t.map((h, C) => /* @__PURE__ */ r(
3896
3900
  "th",
3897
3901
  {
3898
3902
  className: u(
@@ -3906,31 +3910,31 @@ function Vt({
3906
3910
  h.sortable && /* @__PURE__ */ r("span", { className: "text-primary/50 hover:text-primary transition-colors", children: n === h.key ? i === "asc" ? /* @__PURE__ */ r(nr, { className: "w-4 h-4" }) : /* @__PURE__ */ r(ir, { className: "w-4 h-4" }) : /* @__PURE__ */ r(lr, { className: "w-4 h-4" }) })
3907
3911
  ] })
3908
3912
  },
3909
- N
3913
+ C
3910
3914
  )) }) }),
3911
- /* @__PURE__ */ r("tbody", { children: y.map((h, N) => /* @__PURE__ */ r(
3915
+ /* @__PURE__ */ r("tbody", { children: y.map((h, C) => /* @__PURE__ */ r(
3912
3916
  g.tr,
3913
3917
  {
3914
3918
  initial: { opacity: 0, y: 10 },
3915
3919
  animate: { opacity: 1, y: 0 },
3916
- transition: { duration: 0.2, delay: N * 0.05 },
3920
+ transition: { duration: 0.2, delay: C * 0.05 },
3917
3921
  onClick: () => o && o(h),
3918
3922
  className: u(
3919
3923
  "border-b border-border transition-colors",
3920
3924
  o && "cursor-pointer hover:bg-secondary"
3921
3925
  ),
3922
- children: t.map((k, w) => /* @__PURE__ */ r(
3926
+ children: t.map((w, v) => /* @__PURE__ */ r(
3923
3927
  "td",
3924
3928
  {
3925
3929
  className: u(
3926
3930
  "px-6 py-4 text-sm text-foreground/70",
3927
- k.width
3931
+ w.width
3928
3932
  ),
3929
- style: k.width ? { width: k.width } : void 0,
3930
- title: k.truncate && !k.render ? String(h[k.key] ?? "") : void 0,
3931
- children: k.truncate && !k.render ? /* @__PURE__ */ r("div", { className: "truncate", children: String(h[k.key] ?? "") }) : k.render ? k.render(h) : String(h[k.key] ?? "")
3933
+ style: w.width ? { width: w.width } : void 0,
3934
+ title: w.truncate && !w.render ? String(h[w.key] ?? "") : void 0,
3935
+ children: w.truncate && !w.render ? /* @__PURE__ */ r("div", { className: "truncate", children: String(h[w.key] ?? "") }) : w.render ? w.render(h) : String(h[w.key] ?? "")
3932
3936
  },
3933
- w
3937
+ v
3934
3938
  ))
3935
3939
  },
3936
3940
  s(h)
@@ -4060,45 +4064,55 @@ const Wt = ({
4060
4064
  success: "bg-success text-white",
4061
4065
  danger: "bg-error text-white",
4062
4066
  warning: "bg-warning text-white"
4063
- }, N = () => {
4067
+ }, C = () => {
4064
4068
  o && o.length > 0 ? m(!i) : t && t();
4065
4069
  };
4066
4070
  return /* @__PURE__ */ d("div", { className: u(x[l], "z-50", c), children: [
4067
- /* @__PURE__ */ r(Q, { children: i && o && /* @__PURE__ */ r(
4071
+ /* @__PURE__ */ r(K, { children: i && o && /* @__PURE__ */ r(
4068
4072
  g.div,
4069
4073
  {
4070
4074
  initial: { opacity: 0 },
4071
4075
  animate: { opacity: 1 },
4072
4076
  exit: { opacity: 0 },
4073
4077
  className: "absolute bottom-20 right-0 flex flex-col gap-3 mb-2",
4074
- children: o.map((k, w) => /* @__PURE__ */ d(
4078
+ children: o.map((w, v) => /* @__PURE__ */ d(
4075
4079
  g.div,
4076
4080
  {
4077
4081
  initial: { opacity: 0, y: 20, scale: 0.8 },
4078
4082
  animate: { opacity: 1, y: 0, scale: 1 },
4079
4083
  exit: { opacity: 0, y: 20, scale: 0.8 },
4080
- transition: { delay: w * 0.05 },
4084
+ transition: { delay: v * 0.05 },
4081
4085
  className: "flex items-center gap-3",
4082
4086
  children: [
4083
- /* @__PURE__ */ r("span", { className: "bg-background border border-border rounded-md px-3 py-1.5 text-sm font-medium whitespace-nowrap shadow-lg", children: k.label }),
4087
+ /* @__PURE__ */ r(
4088
+ "span",
4089
+ {
4090
+ className: u(
4091
+ "bg-background border border-border rounded-md px-3 py-1.5 text-sm font-medium whitespace-nowrap shadow-lg",
4092
+ w.labelClassName
4093
+ ),
4094
+ style: w.labelStyle,
4095
+ children: w.label
4096
+ }
4097
+ ),
4084
4098
  /* @__PURE__ */ r(
4085
4099
  g.button,
4086
4100
  {
4087
4101
  whileHover: { scale: 1.1 },
4088
4102
  whileTap: { scale: 0.9 },
4089
4103
  onClick: () => {
4090
- k.onClick(), m(!1);
4104
+ w.onClick(), m(!1);
4091
4105
  },
4092
4106
  className: u(
4093
4107
  "w-12 h-12 rounded-full shadow-lg flex items-center justify-center transition-all",
4094
- h[k.variant || "primary"]
4108
+ h[w.variant || "primary"]
4095
4109
  ),
4096
- children: k.icon
4110
+ children: w.icon
4097
4111
  }
4098
4112
  )
4099
4113
  ]
4100
4114
  },
4101
- w
4115
+ v
4102
4116
  ))
4103
4117
  }
4104
4118
  ) }),
@@ -4107,7 +4121,7 @@ const Wt = ({
4107
4121
  {
4108
4122
  whileTap: { scale: n ? 1 : 0.9 },
4109
4123
  whileHover: { scale: n ? 1 : 1.05 },
4110
- onClick: N,
4124
+ onClick: C,
4111
4125
  disabled: n,
4112
4126
  className: u(
4113
4127
  "z-30 rounded-full p-4 transition-all duration-200",
@@ -4149,7 +4163,7 @@ const Wt = ({
4149
4163
  (n || c) && "bg-primary text-white shadow-lg",
4150
4164
  i && "bg-border text-muted-foreground"
4151
4165
  ),
4152
- children: n ? /* @__PURE__ */ r(Oe, { className: "w-6 h-6 stroke-[3]" }) : /* @__PURE__ */ r("span", { children: l + 1 })
4166
+ children: n ? /* @__PURE__ */ r(Ee, { className: "w-6 h-6 stroke-[3]" }) : /* @__PURE__ */ r("span", { children: l + 1 })
4153
4167
  }
4154
4168
  ),
4155
4169
  /* @__PURE__ */ d("div", { className: "mt-3 text-center max-w-[120px]", children: [
@@ -4288,7 +4302,7 @@ const Wt = ({
4288
4302
  /* @__PURE__ */ r("span", { children: "Offline Mode" })
4289
4303
  ]
4290
4304
  }
4291
- ) : null, Qt = ({
4305
+ ) : null, Kt = ({
4292
4306
  status: e,
4293
4307
  count: t,
4294
4308
  className: a
@@ -4368,7 +4382,7 @@ const Wt = ({
4368
4382
  o && /* @__PURE__ */ r("span", { className: "text-sm text-foreground/70", children: o })
4369
4383
  ] });
4370
4384
  xt.displayName = "Spinner";
4371
- const Ze = er(void 0), Kt = () => {
4385
+ const Ze = er(void 0), Qt = () => {
4372
4386
  const e = rr(Ze);
4373
4387
  if (!e)
4374
4388
  throw new Error("useToast must be used within ToastProvider");
@@ -4453,7 +4467,7 @@ const Ze = er(void 0), Kt = () => {
4453
4467
  );
4454
4468
  return /* @__PURE__ */ d(Ze.Provider, { value: { toasts: o, addToast: n, removeToast: l }, children: [
4455
4469
  e,
4456
- /* @__PURE__ */ r("div", { className: u("fixed z-[100] flex flex-col gap-2", Nt[t]), children: /* @__PURE__ */ r(Q, { mode: "popLayout", children: o.map((c) => /* @__PURE__ */ r(kt, { toast: c, onRemove: l }, c.id)) }) })
4470
+ /* @__PURE__ */ r("div", { className: u("fixed z-[100] flex flex-col gap-2", Nt[t]), children: /* @__PURE__ */ r(K, { mode: "popLayout", children: o.map((c) => /* @__PURE__ */ r(kt, { toast: c, onRemove: l }, c.id)) }) })
4457
4471
  ] });
4458
4472
  };
4459
4473
  Ct.displayName = "ToastProvider";
@@ -4575,33 +4589,33 @@ const Xt = ({
4575
4589
  disabled: o,
4576
4590
  className: s
4577
4591
  }) => {
4578
- const [l, n] = D(!1), [c, i] = D(!1), [m, x] = D(0), [y, h] = D(null), N = H(null), k = H([]), w = H(null), M = async () => {
4592
+ const [l, n] = D(!1), [c, i] = D(!1), [m, x] = D(0), [y, h] = D(null), C = H(null), w = H([]), v = H(null), M = async () => {
4579
4593
  try {
4580
- const S = await navigator.mediaDevices.getUserMedia({ audio: !0 }), O = new MediaRecorder(S);
4581
- N.current = O, k.current = [], O.ondataavailable = (f) => {
4582
- f.data.size > 0 && k.current.push(f.data);
4583
- }, O.onstop = () => {
4584
- const f = new Blob(k.current, { type: "audio/webm" }), C = URL.createObjectURL(f);
4585
- h(C), e(f), S.getTracks().forEach((A) => A.stop());
4586
- }, O.start(), n(!0), x(0), w.current = setInterval(() => {
4594
+ const N = await navigator.mediaDevices.getUserMedia({ audio: !0 }), E = new MediaRecorder(N);
4595
+ C.current = E, w.current = [], E.ondataavailable = (f) => {
4596
+ f.data.size > 0 && w.current.push(f.data);
4597
+ }, E.onstop = () => {
4598
+ const f = new Blob(w.current, { type: "audio/webm" }), S = URL.createObjectURL(f);
4599
+ h(S), e(f), N.getTracks().forEach((A) => A.stop());
4600
+ }, E.start(), n(!0), x(0), v.current = setInterval(() => {
4587
4601
  x((f) => f >= a ? (T(), f) : f + 1);
4588
4602
  }, 1e3);
4589
- } catch (S) {
4590
- console.error("Error accessing microphone:", S);
4603
+ } catch (N) {
4604
+ console.error("Error accessing microphone:", N);
4591
4605
  }
4592
4606
  }, j = () => {
4593
- N.current?.state === "recording" && (N.current.pause(), i(!0), w.current && clearInterval(w.current));
4607
+ C.current?.state === "recording" && (C.current.pause(), i(!0), v.current && clearInterval(v.current));
4594
4608
  }, L = () => {
4595
- N.current?.state === "paused" && (N.current.resume(), i(!1), w.current = setInterval(() => {
4596
- x((S) => Math.min(S + 1, a));
4609
+ C.current?.state === "paused" && (C.current.resume(), i(!1), v.current = setInterval(() => {
4610
+ x((N) => Math.min(N + 1, a));
4597
4611
  }, 1e3));
4598
4612
  }, T = () => {
4599
- N.current && (N.current.stop(), n(!1), i(!1), w.current && (clearInterval(w.current), w.current = null));
4600
- }, F = () => {
4613
+ C.current && (C.current.stop(), n(!1), i(!1), v.current && (clearInterval(v.current), v.current = null));
4614
+ }, P = () => {
4601
4615
  h(null), x(0);
4602
- }, P = (S) => {
4603
- const O = Math.floor(S / 60), f = S % 60;
4604
- return `${O.toString().padStart(2, "0")}:${f.toString().padStart(2, "0")}`;
4616
+ }, O = (N) => {
4617
+ const E = Math.floor(N / 60), f = N % 60;
4618
+ return `${E.toString().padStart(2, "0")}:${f.toString().padStart(2, "0")}`;
4605
4619
  };
4606
4620
  return /* @__PURE__ */ d("div", { className: u("w-full", s), children: [
4607
4621
  t && /* @__PURE__ */ r("label", { className: "block mb-2 text-sm font-medium text-primary", children: t }),
@@ -4634,7 +4648,7 @@ const Xt = ({
4634
4648
  )
4635
4649
  ] }),
4636
4650
  /* @__PURE__ */ d("div", { className: "text-center", children: [
4637
- /* @__PURE__ */ r("p", { className: "text-xl md:text-2xl font-mono font-semibold text-foreground", children: P(m) }),
4651
+ /* @__PURE__ */ r("p", { className: "text-xl md:text-2xl font-mono font-semibold text-foreground", children: O(m) }),
4638
4652
  /* @__PURE__ */ r("p", { className: "text-xs md:text-sm text-primary/70 mt-1", children: l ? c ? "Paused" : "Recording..." : "Tap to record" })
4639
4653
  ] }),
4640
4654
  l && /* @__PURE__ */ d(
@@ -4663,13 +4677,13 @@ const Xt = ({
4663
4677
  /* @__PURE__ */ d("div", { className: "flex items-center justify-between", children: [
4664
4678
  /* @__PURE__ */ d("span", { className: "text-sm text-primary/70", children: [
4665
4679
  "Duration: ",
4666
- P(m)
4680
+ O(m)
4667
4681
  ] }),
4668
4682
  /* @__PURE__ */ d(
4669
4683
  "button",
4670
4684
  {
4671
4685
  type: "button",
4672
- onClick: F,
4686
+ onClick: P,
4673
4687
  className: "flex items-center gap-2 px-3 py-1.5 text-sm text-error hover:bg-red-50 rounded-lg transition-colors",
4674
4688
  children: [
4675
4689
  /* @__PURE__ */ r(wr, { className: "w-4 h-4" }),
@@ -4801,8 +4815,8 @@ export {
4801
4815
  Lt as Card,
4802
4816
  Pt as CardContent,
4803
4817
  Ft as CardDescription,
4804
- Ot as CardHeader,
4805
- Et as CardTitle,
4818
+ Et as CardHeader,
4819
+ Ot as CardTitle,
4806
4820
  pt as Checkbox,
4807
4821
  to as CreditBar,
4808
4822
  Dt as DatePicker,
@@ -4823,13 +4837,13 @@ export {
4823
4837
  At as Slider,
4824
4838
  xt as Spinner,
4825
4839
  Ht as StepProgress,
4826
- Qt as SyncIndicator,
4840
+ Kt as SyncIndicator,
4827
4841
  Vt as Table,
4828
4842
  ut as Textarea,
4829
4843
  ro as ThumbnailGrid,
4830
4844
  Ct as ToastProvider,
4831
4845
  bt as Toggle,
4832
4846
  u as cn,
4833
- Kt as useToast
4847
+ Qt as useToast
4834
4848
  };
4835
4849
  //# sourceMappingURL=index.js.map