@n3wth/ui 0.1.0 → 0.2.2

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,6 +1,6 @@
1
- import { jsxs as w, Fragment as he, jsx as c } from "react/jsx-runtime";
2
- import { forwardRef as q, isValidElement as fe, cloneElement as xe, useState as W, useCallback as V, useEffect as T, useRef as ve } from "react";
3
- const ar = {
1
+ import { jsxs as y, Fragment as de, jsx as i } from "react/jsx-runtime";
2
+ import { forwardRef as X, isValidElement as fe, cloneElement as xe, useState as W, useCallback as F, useEffect as L, useRef as ve } from "react";
3
+ const cr = {
4
4
  // Dark mode (default)
5
5
  dark: {
6
6
  bg: "#000000",
@@ -56,7 +56,7 @@ const ar = {
56
56
  gold: "#b25000"
57
57
  }
58
58
  }
59
- }, sr = {
59
+ }, dr = {
60
60
  fontFamily: {
61
61
  display: "'Mona Sans', system-ui, sans-serif",
62
62
  sans: "'Geist Sans', system-ui, sans-serif",
@@ -114,7 +114,7 @@ const ar = {
114
114
  normal: "1.5",
115
115
  relaxed: "1.625"
116
116
  }
117
- }, lr = {
117
+ }, ur = {
118
118
  px: "1px",
119
119
  0: "0",
120
120
  0.5: "0.125rem",
@@ -131,7 +131,7 @@ const ar = {
131
131
  20: "5rem",
132
132
  24: "6rem",
133
133
  32: "8rem"
134
- }, ir = {
134
+ }, mr = {
135
135
  none: "0",
136
136
  sm: "0.25rem",
137
137
  md: "0.5rem",
@@ -139,7 +139,7 @@ const ar = {
139
139
  xl: "1.25rem",
140
140
  "2xl": "1.5rem",
141
141
  full: "9999px"
142
- }, cr = {
142
+ }, gr = {
143
143
  // Transitions
144
144
  transition: {
145
145
  fast: "0.15s cubic-bezier(0.4, 0, 0.2, 1)",
@@ -161,17 +161,17 @@ const ar = {
161
161
  active: "1.05"
162
162
  }
163
163
  };
164
- function de(e) {
164
+ function ue(e) {
165
165
  var r, t, o = "";
166
166
  if (typeof e == "string" || typeof e == "number") o += e;
167
167
  else if (typeof e == "object") if (Array.isArray(e)) {
168
168
  var n = e.length;
169
- for (r = 0; r < n; r++) e[r] && (t = de(e[r])) && (o && (o += " "), o += t);
169
+ for (r = 0; r < n; r++) e[r] && (t = ue(e[r])) && (o && (o += " "), o += t);
170
170
  } else for (t in e) e[t] && (o && (o += " "), o += t);
171
171
  return o;
172
172
  }
173
173
  function ye() {
174
- for (var e, r, t = 0, o = "", n = arguments.length; t < n; t++) (e = arguments[t]) && (r = de(e)) && (o && (o += " "), o += r);
174
+ for (var e, r, t = 0, o = "", n = arguments.length; t < n; t++) (e = arguments[t]) && (r = ue(e)) && (o && (o += " "), o += r);
175
175
  return o;
176
176
  }
177
177
  const J = "-", we = (e) => {
@@ -182,18 +182,18 @@ const J = "-", we = (e) => {
182
182
  return {
183
183
  getClassGroupId: (s) => {
184
184
  const l = s.split(J);
185
- return l[0] === "" && l.length !== 1 && l.shift(), ue(l, r) || ke(s);
185
+ return l[0] === "" && l.length !== 1 && l.shift(), me(l, r) || ke(s);
186
186
  },
187
187
  getConflictingClassGroupIds: (s, l) => {
188
- const i = t[s] || [];
189
- return l && o[s] ? [...i, ...o[s]] : i;
188
+ const c = t[s] || [];
189
+ return l && o[s] ? [...c, ...o[s]] : c;
190
190
  }
191
191
  };
192
- }, ue = (e, r) => {
192
+ }, me = (e, r) => {
193
193
  var s;
194
194
  if (e.length === 0)
195
195
  return r.classGroupId;
196
- const t = e[0], o = r.nextPart.get(t), n = o ? ue(e.slice(1), o) : void 0;
196
+ const t = e[0], o = r.nextPart.get(t), n = o ? me(e.slice(1), o) : void 0;
197
197
  if (n)
198
198
  return n;
199
199
  if (r.validators.length === 0)
@@ -217,9 +217,9 @@ const J = "-", we = (e) => {
217
217
  validators: []
218
218
  };
219
219
  return Ce(Object.entries(e.classGroups), t).forEach(([a, s]) => {
220
- X(s, o, a, r);
220
+ q(s, o, a, r);
221
221
  }), o;
222
- }, X = (e, r, t, o) => {
222
+ }, q = (e, r, t, o) => {
223
223
  e.forEach((n) => {
224
224
  if (typeof n == "string") {
225
225
  const a = n === "" ? r : ie(r, n);
@@ -228,7 +228,7 @@ const J = "-", we = (e) => {
228
228
  }
229
229
  if (typeof n == "function") {
230
230
  if (Me(n)) {
231
- X(n(o), r, t, o);
231
+ q(n(o), r, t, o);
232
232
  return;
233
233
  }
234
234
  r.validators.push({
@@ -238,7 +238,7 @@ const J = "-", we = (e) => {
238
238
  return;
239
239
  }
240
240
  Object.entries(n).forEach(([a, s]) => {
241
- X(s, ie(r, a), t, o);
241
+ q(s, ie(r, a), t, o);
242
242
  });
243
243
  });
244
244
  }, ie = (e, r) => {
@@ -276,30 +276,30 @@ const J = "-", we = (e) => {
276
276
  t.has(a) ? t.set(a, s) : n(a, s);
277
277
  }
278
278
  };
279
- }, me = "!", Se = (e) => {
279
+ }, ge = "!", Se = (e) => {
280
280
  const {
281
281
  separator: r,
282
282
  experimentalParseClassName: t
283
283
  } = e, o = r.length === 1, n = r[0], a = r.length, s = (l) => {
284
- const i = [];
285
- let m = 0, u = 0, p;
284
+ const c = [];
285
+ let m = 0, d = 0, p;
286
286
  for (let h = 0; h < l.length; h++) {
287
- let y = l[h];
287
+ let w = l[h];
288
288
  if (m === 0) {
289
- if (y === n && (o || l.slice(h, h + a) === r)) {
290
- i.push(l.slice(u, h)), u = h + a;
289
+ if (w === n && (o || l.slice(h, h + a) === r)) {
290
+ c.push(l.slice(d, h)), d = h + a;
291
291
  continue;
292
292
  }
293
- if (y === "/") {
293
+ if (w === "/") {
294
294
  p = h;
295
295
  continue;
296
296
  }
297
297
  }
298
- y === "[" ? m++ : y === "]" && m--;
298
+ w === "[" ? m++ : w === "]" && m--;
299
299
  }
300
- const v = i.length === 0 ? l : l.substring(u), M = v.startsWith(me), k = M ? v.substring(1) : v, x = p && p > u ? p - u : void 0;
300
+ const v = c.length === 0 ? l : l.substring(d), M = v.startsWith(ge), k = M ? v.substring(1) : v, x = p && p > d ? p - d : void 0;
301
301
  return {
302
- modifiers: i,
302
+ modifiers: c,
303
303
  hasImportantModifier: M,
304
304
  baseClassName: k,
305
305
  maybePostfixModifierPosition: x
@@ -309,7 +309,7 @@ const J = "-", we = (e) => {
309
309
  className: l,
310
310
  parseClassName: s
311
311
  }) : s;
312
- }, Ae = (e) => {
312
+ }, Ee = (e) => {
313
313
  if (e.length <= 1)
314
314
  return e;
315
315
  const r = [];
@@ -317,20 +317,20 @@ const J = "-", we = (e) => {
317
317
  return e.forEach((o) => {
318
318
  o[0] === "[" ? (r.push(...t.sort(), o), t = []) : t.push(o);
319
319
  }), r.push(...t.sort()), r;
320
- }, Le = (e) => ({
320
+ }, Ae = (e) => ({
321
321
  cache: ze(e.cacheSize),
322
322
  parseClassName: Se(e),
323
323
  ...we(e)
324
- }), Ee = /\s+/, Re = (e, r) => {
324
+ }), Le = /\s+/, Re = (e, r) => {
325
325
  const {
326
326
  parseClassName: t,
327
327
  getClassGroupId: o,
328
328
  getConflictingClassGroupIds: n
329
- } = r, a = [], s = e.trim().split(Ee);
329
+ } = r, a = [], s = e.trim().split(Le);
330
330
  let l = "";
331
- for (let i = s.length - 1; i >= 0; i -= 1) {
332
- const m = s[i], {
333
- modifiers: u,
331
+ for (let c = s.length - 1; c >= 0; c -= 1) {
332
+ const m = s[c], {
333
+ modifiers: d,
334
334
  hasImportantModifier: p,
335
335
  baseClassName: v,
336
336
  maybePostfixModifierPosition: M
@@ -347,14 +347,14 @@ const J = "-", we = (e) => {
347
347
  }
348
348
  k = !1;
349
349
  }
350
- const h = Ae(u).join(":"), y = p ? h + me : h, N = y + x;
350
+ const h = Ee(d).join(":"), w = p ? h + ge : h, N = w + x;
351
351
  if (a.includes(N))
352
352
  continue;
353
353
  a.push(N);
354
- const j = n(x, k);
355
- for (let L = 0; L < j.length; ++L) {
356
- const K = j[L];
357
- a.push(y + K);
354
+ const I = n(x, k);
355
+ for (let A = 0; A < I.length; ++A) {
356
+ const B = I[A];
357
+ a.push(w + B);
358
358
  }
359
359
  l = m + (l.length > 0 ? " " + l : l);
360
360
  }
@@ -363,29 +363,29 @@ const J = "-", we = (e) => {
363
363
  function je() {
364
364
  let e = 0, r, t, o = "";
365
365
  for (; e < arguments.length; )
366
- (r = arguments[e++]) && (t = ge(r)) && (o && (o += " "), o += t);
366
+ (r = arguments[e++]) && (t = pe(r)) && (o && (o += " "), o += t);
367
367
  return o;
368
368
  }
369
- const ge = (e) => {
369
+ const pe = (e) => {
370
370
  if (typeof e == "string")
371
371
  return e;
372
372
  let r, t = "";
373
373
  for (let o = 0; o < e.length; o++)
374
- e[o] && (r = ge(e[o])) && (t && (t += " "), t += r);
374
+ e[o] && (r = pe(e[o])) && (t && (t += " "), t += r);
375
375
  return t;
376
376
  };
377
- function Ge(e, ...r) {
377
+ function Ie(e, ...r) {
378
378
  let t, o, n, a = s;
379
- function s(i) {
380
- const m = r.reduce((u, p) => p(u), e());
381
- return t = Le(m), o = t.cache.get, n = t.cache.set, a = l, l(i);
379
+ function s(c) {
380
+ const m = r.reduce((d, p) => p(d), e());
381
+ return t = Ae(m), o = t.cache.get, n = t.cache.set, a = l, l(c);
382
382
  }
383
- function l(i) {
384
- const m = o(i);
383
+ function l(c) {
384
+ const m = o(c);
385
385
  if (m)
386
386
  return m;
387
- const u = Re(i, t);
388
- return n(i, u), u;
387
+ const d = Re(c, t);
388
+ return n(c, d), d;
389
389
  }
390
390
  return function() {
391
391
  return a(je.apply(null, arguments));
@@ -394,26 +394,26 @@ function Ge(e, ...r) {
394
394
  const b = (e) => {
395
395
  const r = (t) => t[e] || [];
396
396
  return r.isThemeGetter = !0, r;
397
- }, pe = /^\[(?:([a-z-]+):)?(.+)\]$/i, Ie = /^\d+\/\d+$/, Pe = /* @__PURE__ */ new Set(["px", "full", "screen"]), Te = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, We = /\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$/, Ke = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Be = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Fe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, z = (e) => E(e) || Pe.has(e) || Ie.test(e), S = (e) => R(e, "length", Qe), E = (e) => !!e && !Number.isNaN(Number(e)), Q = (e) => R(e, "number", E), I = (e) => !!e && Number.isInteger(Number(e)), Ve = (e) => e.endsWith("%") && E(e.slice(0, -1)), d = (e) => pe.test(e), A = (e) => Te.test(e), Oe = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Ze = (e) => R(e, Oe, be), _e = (e) => R(e, "position", be), $e = /* @__PURE__ */ new Set(["image", "url"]), He = (e) => R(e, $e, qe), Ue = (e) => R(e, "", Xe), P = () => !0, R = (e, r, t) => {
398
- const o = pe.exec(e);
397
+ }, be = /^\[(?:([a-z-]+):)?(.+)\]$/i, Ge = /^\d+\/\d+$/, Te = /* @__PURE__ */ new Set(["px", "full", "screen"]), Pe = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, We = /\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$/, Be = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, $e = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ke = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, z = (e) => R(e) || Te.has(e) || Ge.test(e), S = (e) => j(e, "length", Qe), R = (e) => !!e && !Number.isNaN(Number(e)), Q = (e) => j(e, "number", R), T = (e) => !!e && Number.isInteger(Number(e)), Fe = (e) => e.endsWith("%") && R(e.slice(0, -1)), u = (e) => be.test(e), E = (e) => Pe.test(e), Ve = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Ze = (e) => j(e, Ve, he), He = (e) => j(e, "position", he), _e = /* @__PURE__ */ new Set(["image", "url"]), Ue = (e) => j(e, _e, Xe), De = (e) => j(e, "", qe), P = () => !0, j = (e, r, t) => {
398
+ const o = be.exec(e);
399
399
  return o ? o[1] ? typeof r == "string" ? o[1] === r : r.has(o[1]) : t(o[2]) : !1;
400
400
  }, Qe = (e) => (
401
401
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
402
402
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
403
403
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
404
- We.test(e) && !Ke.test(e)
405
- ), be = () => !1, Xe = (e) => Be.test(e), qe = (e) => Fe.test(e), Je = () => {
406
- const e = b("colors"), r = b("spacing"), t = b("blur"), o = b("brightness"), n = b("borderColor"), a = b("borderRadius"), s = b("borderSpacing"), l = b("borderWidth"), i = b("contrast"), m = b("grayscale"), u = b("hueRotate"), p = b("invert"), v = b("gap"), M = b("gradientColorStops"), k = b("gradientColorStopPositions"), x = b("inset"), h = b("margin"), y = b("opacity"), N = b("padding"), j = b("saturate"), L = b("scale"), K = b("sepia"), ee = b("skew"), re = b("space"), te = b("translate"), _ = () => ["auto", "contain", "none"], $ = () => ["auto", "hidden", "clip", "visible", "scroll"], H = () => ["auto", d, r], f = () => [d, r], oe = () => ["", z, S], B = () => ["auto", E, d], ne = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], F = () => ["solid", "dashed", "dotted", "double", "none"], ae = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], U = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], G = () => ["", "0", d], se = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], C = () => [E, d];
404
+ We.test(e) && !Be.test(e)
405
+ ), he = () => !1, qe = (e) => $e.test(e), Xe = (e) => Ke.test(e), Je = () => {
406
+ const e = b("colors"), r = b("spacing"), t = b("blur"), o = b("brightness"), n = b("borderColor"), a = b("borderRadius"), s = b("borderSpacing"), l = b("borderWidth"), c = b("contrast"), m = b("grayscale"), d = b("hueRotate"), p = b("invert"), v = b("gap"), M = b("gradientColorStops"), k = b("gradientColorStopPositions"), x = b("inset"), h = b("margin"), w = b("opacity"), N = b("padding"), I = b("saturate"), A = b("scale"), B = b("sepia"), ee = b("skew"), re = b("space"), te = b("translate"), H = () => ["auto", "contain", "none"], _ = () => ["auto", "hidden", "clip", "visible", "scroll"], U = () => ["auto", u, r], f = () => [u, r], oe = () => ["", z, S], $ = () => ["auto", R, u], ne = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], K = () => ["solid", "dashed", "dotted", "double", "none"], ae = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], D = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], G = () => ["", "0", u], se = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], C = () => [R, u];
407
407
  return {
408
408
  cacheSize: 500,
409
409
  separator: ":",
410
410
  theme: {
411
411
  colors: [P],
412
412
  spacing: [z, S],
413
- blur: ["none", "", A, d],
413
+ blur: ["none", "", E, u],
414
414
  brightness: C(),
415
415
  borderColor: [e],
416
- borderRadius: ["none", "", "full", A, d],
416
+ borderRadius: ["none", "", "full", E, u],
417
417
  borderSpacing: f(),
418
418
  borderWidth: oe(),
419
419
  contrast: C(),
@@ -422,9 +422,9 @@ const b = (e) => {
422
422
  invert: G(),
423
423
  gap: f(),
424
424
  gradientColorStops: [e],
425
- gradientColorStopPositions: [Ve, S],
426
- inset: H(),
427
- margin: H(),
425
+ gradientColorStopPositions: [Fe, S],
426
+ inset: U(),
427
+ margin: U(),
428
428
  opacity: C(),
429
429
  padding: f(),
430
430
  saturate: C(),
@@ -441,7 +441,7 @@ const b = (e) => {
441
441
  * @see https://tailwindcss.com/docs/aspect-ratio
442
442
  */
443
443
  aspect: [{
444
- aspect: ["auto", "square", "video", d]
444
+ aspect: ["auto", "square", "video", u]
445
445
  }],
446
446
  /**
447
447
  * Container
@@ -453,7 +453,7 @@ const b = (e) => {
453
453
  * @see https://tailwindcss.com/docs/columns
454
454
  */
455
455
  columns: [{
456
- columns: [A]
456
+ columns: [E]
457
457
  }],
458
458
  /**
459
459
  * Break After
@@ -526,49 +526,49 @@ const b = (e) => {
526
526
  * @see https://tailwindcss.com/docs/object-position
527
527
  */
528
528
  "object-position": [{
529
- object: [...ne(), d]
529
+ object: [...ne(), u]
530
530
  }],
531
531
  /**
532
532
  * Overflow
533
533
  * @see https://tailwindcss.com/docs/overflow
534
534
  */
535
535
  overflow: [{
536
- overflow: $()
536
+ overflow: _()
537
537
  }],
538
538
  /**
539
539
  * Overflow X
540
540
  * @see https://tailwindcss.com/docs/overflow
541
541
  */
542
542
  "overflow-x": [{
543
- "overflow-x": $()
543
+ "overflow-x": _()
544
544
  }],
545
545
  /**
546
546
  * Overflow Y
547
547
  * @see https://tailwindcss.com/docs/overflow
548
548
  */
549
549
  "overflow-y": [{
550
- "overflow-y": $()
550
+ "overflow-y": _()
551
551
  }],
552
552
  /**
553
553
  * Overscroll Behavior
554
554
  * @see https://tailwindcss.com/docs/overscroll-behavior
555
555
  */
556
556
  overscroll: [{
557
- overscroll: _()
557
+ overscroll: H()
558
558
  }],
559
559
  /**
560
560
  * Overscroll Behavior X
561
561
  * @see https://tailwindcss.com/docs/overscroll-behavior
562
562
  */
563
563
  "overscroll-x": [{
564
- "overscroll-x": _()
564
+ "overscroll-x": H()
565
565
  }],
566
566
  /**
567
567
  * Overscroll Behavior Y
568
568
  * @see https://tailwindcss.com/docs/overscroll-behavior
569
569
  */
570
570
  "overscroll-y": [{
571
- "overscroll-y": _()
571
+ "overscroll-y": H()
572
572
  }],
573
573
  /**
574
574
  * Position
@@ -648,7 +648,7 @@ const b = (e) => {
648
648
  * @see https://tailwindcss.com/docs/z-index
649
649
  */
650
650
  z: [{
651
- z: ["auto", I, d]
651
+ z: ["auto", T, u]
652
652
  }],
653
653
  // Flexbox and Grid
654
654
  /**
@@ -656,7 +656,7 @@ const b = (e) => {
656
656
  * @see https://tailwindcss.com/docs/flex-basis
657
657
  */
658
658
  basis: [{
659
- basis: H()
659
+ basis: U()
660
660
  }],
661
661
  /**
662
662
  * Flex Direction
@@ -677,7 +677,7 @@ const b = (e) => {
677
677
  * @see https://tailwindcss.com/docs/flex
678
678
  */
679
679
  flex: [{
680
- flex: ["1", "auto", "initial", "none", d]
680
+ flex: ["1", "auto", "initial", "none", u]
681
681
  }],
682
682
  /**
683
683
  * Flex Grow
@@ -698,7 +698,7 @@ const b = (e) => {
698
698
  * @see https://tailwindcss.com/docs/order
699
699
  */
700
700
  order: [{
701
- order: ["first", "last", "none", I, d]
701
+ order: ["first", "last", "none", T, u]
702
702
  }],
703
703
  /**
704
704
  * Grid Template Columns
@@ -713,22 +713,22 @@ const b = (e) => {
713
713
  */
714
714
  "col-start-end": [{
715
715
  col: ["auto", {
716
- span: ["full", I, d]
717
- }, d]
716
+ span: ["full", T, u]
717
+ }, u]
718
718
  }],
719
719
  /**
720
720
  * Grid Column Start
721
721
  * @see https://tailwindcss.com/docs/grid-column
722
722
  */
723
723
  "col-start": [{
724
- "col-start": B()
724
+ "col-start": $()
725
725
  }],
726
726
  /**
727
727
  * Grid Column End
728
728
  * @see https://tailwindcss.com/docs/grid-column
729
729
  */
730
730
  "col-end": [{
731
- "col-end": B()
731
+ "col-end": $()
732
732
  }],
733
733
  /**
734
734
  * Grid Template Rows
@@ -743,22 +743,22 @@ const b = (e) => {
743
743
  */
744
744
  "row-start-end": [{
745
745
  row: ["auto", {
746
- span: [I, d]
747
- }, d]
746
+ span: [T, u]
747
+ }, u]
748
748
  }],
749
749
  /**
750
750
  * Grid Row Start
751
751
  * @see https://tailwindcss.com/docs/grid-row
752
752
  */
753
753
  "row-start": [{
754
- "row-start": B()
754
+ "row-start": $()
755
755
  }],
756
756
  /**
757
757
  * Grid Row End
758
758
  * @see https://tailwindcss.com/docs/grid-row
759
759
  */
760
760
  "row-end": [{
761
- "row-end": B()
761
+ "row-end": $()
762
762
  }],
763
763
  /**
764
764
  * Grid Auto Flow
@@ -772,14 +772,14 @@ const b = (e) => {
772
772
  * @see https://tailwindcss.com/docs/grid-auto-columns
773
773
  */
774
774
  "auto-cols": [{
775
- "auto-cols": ["auto", "min", "max", "fr", d]
775
+ "auto-cols": ["auto", "min", "max", "fr", u]
776
776
  }],
777
777
  /**
778
778
  * Grid Auto Rows
779
779
  * @see https://tailwindcss.com/docs/grid-auto-rows
780
780
  */
781
781
  "auto-rows": [{
782
- "auto-rows": ["auto", "min", "max", "fr", d]
782
+ "auto-rows": ["auto", "min", "max", "fr", u]
783
783
  }],
784
784
  /**
785
785
  * Gap
@@ -807,7 +807,7 @@ const b = (e) => {
807
807
  * @see https://tailwindcss.com/docs/justify-content
808
808
  */
809
809
  "justify-content": [{
810
- justify: ["normal", ...U()]
810
+ justify: ["normal", ...D()]
811
811
  }],
812
812
  /**
813
813
  * Justify Items
@@ -828,7 +828,7 @@ const b = (e) => {
828
828
  * @see https://tailwindcss.com/docs/align-content
829
829
  */
830
830
  "align-content": [{
831
- content: ["normal", ...U(), "baseline"]
831
+ content: ["normal", ...D(), "baseline"]
832
832
  }],
833
833
  /**
834
834
  * Align Items
@@ -849,7 +849,7 @@ const b = (e) => {
849
849
  * @see https://tailwindcss.com/docs/place-content
850
850
  */
851
851
  "place-content": [{
852
- "place-content": [...U(), "baseline"]
852
+ "place-content": [...D(), "baseline"]
853
853
  }],
854
854
  /**
855
855
  * Place Items
@@ -1022,51 +1022,51 @@ const b = (e) => {
1022
1022
  * @see https://tailwindcss.com/docs/width
1023
1023
  */
1024
1024
  w: [{
1025
- w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", d, r]
1025
+ w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", u, r]
1026
1026
  }],
1027
1027
  /**
1028
1028
  * Min-Width
1029
1029
  * @see https://tailwindcss.com/docs/min-width
1030
1030
  */
1031
1031
  "min-w": [{
1032
- "min-w": [d, r, "min", "max", "fit"]
1032
+ "min-w": [u, r, "min", "max", "fit"]
1033
1033
  }],
1034
1034
  /**
1035
1035
  * Max-Width
1036
1036
  * @see https://tailwindcss.com/docs/max-width
1037
1037
  */
1038
1038
  "max-w": [{
1039
- "max-w": [d, r, "none", "full", "min", "max", "fit", "prose", {
1040
- screen: [A]
1041
- }, A]
1039
+ "max-w": [u, r, "none", "full", "min", "max", "fit", "prose", {
1040
+ screen: [E]
1041
+ }, E]
1042
1042
  }],
1043
1043
  /**
1044
1044
  * Height
1045
1045
  * @see https://tailwindcss.com/docs/height
1046
1046
  */
1047
1047
  h: [{
1048
- h: [d, r, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
1048
+ h: [u, r, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
1049
1049
  }],
1050
1050
  /**
1051
1051
  * Min-Height
1052
1052
  * @see https://tailwindcss.com/docs/min-height
1053
1053
  */
1054
1054
  "min-h": [{
1055
- "min-h": [d, r, "min", "max", "fit", "svh", "lvh", "dvh"]
1055
+ "min-h": [u, r, "min", "max", "fit", "svh", "lvh", "dvh"]
1056
1056
  }],
1057
1057
  /**
1058
1058
  * Max-Height
1059
1059
  * @see https://tailwindcss.com/docs/max-height
1060
1060
  */
1061
1061
  "max-h": [{
1062
- "max-h": [d, r, "min", "max", "fit", "svh", "lvh", "dvh"]
1062
+ "max-h": [u, r, "min", "max", "fit", "svh", "lvh", "dvh"]
1063
1063
  }],
1064
1064
  /**
1065
1065
  * Size
1066
1066
  * @see https://tailwindcss.com/docs/size
1067
1067
  */
1068
1068
  size: [{
1069
- size: [d, r, "auto", "min", "max", "fit"]
1069
+ size: [u, r, "auto", "min", "max", "fit"]
1070
1070
  }],
1071
1071
  // Typography
1072
1072
  /**
@@ -1074,7 +1074,7 @@ const b = (e) => {
1074
1074
  * @see https://tailwindcss.com/docs/font-size
1075
1075
  */
1076
1076
  "font-size": [{
1077
- text: ["base", A, S]
1077
+ text: ["base", E, S]
1078
1078
  }],
1079
1079
  /**
1080
1080
  * Font Smoothing
@@ -1135,35 +1135,35 @@ const b = (e) => {
1135
1135
  * @see https://tailwindcss.com/docs/letter-spacing
1136
1136
  */
1137
1137
  tracking: [{
1138
- tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", d]
1138
+ tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", u]
1139
1139
  }],
1140
1140
  /**
1141
1141
  * Line Clamp
1142
1142
  * @see https://tailwindcss.com/docs/line-clamp
1143
1143
  */
1144
1144
  "line-clamp": [{
1145
- "line-clamp": ["none", E, Q]
1145
+ "line-clamp": ["none", R, Q]
1146
1146
  }],
1147
1147
  /**
1148
1148
  * Line Height
1149
1149
  * @see https://tailwindcss.com/docs/line-height
1150
1150
  */
1151
1151
  leading: [{
1152
- leading: ["none", "tight", "snug", "normal", "relaxed", "loose", z, d]
1152
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose", z, u]
1153
1153
  }],
1154
1154
  /**
1155
1155
  * List Style Image
1156
1156
  * @see https://tailwindcss.com/docs/list-style-image
1157
1157
  */
1158
1158
  "list-image": [{
1159
- "list-image": ["none", d]
1159
+ "list-image": ["none", u]
1160
1160
  }],
1161
1161
  /**
1162
1162
  * List Style Type
1163
1163
  * @see https://tailwindcss.com/docs/list-style-type
1164
1164
  */
1165
1165
  "list-style-type": [{
1166
- list: ["none", "disc", "decimal", d]
1166
+ list: ["none", "disc", "decimal", u]
1167
1167
  }],
1168
1168
  /**
1169
1169
  * List Style Position
@@ -1185,7 +1185,7 @@ const b = (e) => {
1185
1185
  * @see https://tailwindcss.com/docs/placeholder-opacity
1186
1186
  */
1187
1187
  "placeholder-opacity": [{
1188
- "placeholder-opacity": [y]
1188
+ "placeholder-opacity": [w]
1189
1189
  }],
1190
1190
  /**
1191
1191
  * Text Alignment
@@ -1206,7 +1206,7 @@ const b = (e) => {
1206
1206
  * @see https://tailwindcss.com/docs/text-opacity
1207
1207
  */
1208
1208
  "text-opacity": [{
1209
- "text-opacity": [y]
1209
+ "text-opacity": [w]
1210
1210
  }],
1211
1211
  /**
1212
1212
  * Text Decoration
@@ -1218,7 +1218,7 @@ const b = (e) => {
1218
1218
  * @see https://tailwindcss.com/docs/text-decoration-style
1219
1219
  */
1220
1220
  "text-decoration-style": [{
1221
- decoration: [...F(), "wavy"]
1221
+ decoration: [...K(), "wavy"]
1222
1222
  }],
1223
1223
  /**
1224
1224
  * Text Decoration Thickness
@@ -1232,7 +1232,7 @@ const b = (e) => {
1232
1232
  * @see https://tailwindcss.com/docs/text-underline-offset
1233
1233
  */
1234
1234
  "underline-offset": [{
1235
- "underline-offset": ["auto", z, d]
1235
+ "underline-offset": ["auto", z, u]
1236
1236
  }],
1237
1237
  /**
1238
1238
  * Text Decoration Color
@@ -1270,7 +1270,7 @@ const b = (e) => {
1270
1270
  * @see https://tailwindcss.com/docs/vertical-align
1271
1271
  */
1272
1272
  "vertical-align": [{
1273
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", d]
1273
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", u]
1274
1274
  }],
1275
1275
  /**
1276
1276
  * Whitespace
@@ -1298,7 +1298,7 @@ const b = (e) => {
1298
1298
  * @see https://tailwindcss.com/docs/content
1299
1299
  */
1300
1300
  content: [{
1301
- content: ["none", d]
1301
+ content: ["none", u]
1302
1302
  }],
1303
1303
  // Backgrounds
1304
1304
  /**
@@ -1321,7 +1321,7 @@ const b = (e) => {
1321
1321
  * @see https://tailwindcss.com/docs/background-opacity
1322
1322
  */
1323
1323
  "bg-opacity": [{
1324
- "bg-opacity": [y]
1324
+ "bg-opacity": [w]
1325
1325
  }],
1326
1326
  /**
1327
1327
  * Background Origin
@@ -1335,7 +1335,7 @@ const b = (e) => {
1335
1335
  * @see https://tailwindcss.com/docs/background-position
1336
1336
  */
1337
1337
  "bg-position": [{
1338
- bg: [...ne(), _e]
1338
+ bg: [...ne(), He]
1339
1339
  }],
1340
1340
  /**
1341
1341
  * Background Repeat
@@ -1360,7 +1360,7 @@ const b = (e) => {
1360
1360
  "bg-image": [{
1361
1361
  bg: ["none", {
1362
1362
  "gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1363
- }, He]
1363
+ }, Ue]
1364
1364
  }],
1365
1365
  /**
1366
1366
  * Background Color
@@ -1585,14 +1585,14 @@ const b = (e) => {
1585
1585
  * @see https://tailwindcss.com/docs/border-opacity
1586
1586
  */
1587
1587
  "border-opacity": [{
1588
- "border-opacity": [y]
1588
+ "border-opacity": [w]
1589
1589
  }],
1590
1590
  /**
1591
1591
  * Border Style
1592
1592
  * @see https://tailwindcss.com/docs/border-style
1593
1593
  */
1594
1594
  "border-style": [{
1595
- border: [...F(), "hidden"]
1595
+ border: [...K(), "hidden"]
1596
1596
  }],
1597
1597
  /**
1598
1598
  * Divide Width X
@@ -1623,14 +1623,14 @@ const b = (e) => {
1623
1623
  * @see https://tailwindcss.com/docs/divide-opacity
1624
1624
  */
1625
1625
  "divide-opacity": [{
1626
- "divide-opacity": [y]
1626
+ "divide-opacity": [w]
1627
1627
  }],
1628
1628
  /**
1629
1629
  * Divide Style
1630
1630
  * @see https://tailwindcss.com/docs/divide-style
1631
1631
  */
1632
1632
  "divide-style": [{
1633
- divide: F()
1633
+ divide: K()
1634
1634
  }],
1635
1635
  /**
1636
1636
  * Border Color
@@ -1707,14 +1707,14 @@ const b = (e) => {
1707
1707
  * @see https://tailwindcss.com/docs/outline-style
1708
1708
  */
1709
1709
  "outline-style": [{
1710
- outline: ["", ...F()]
1710
+ outline: ["", ...K()]
1711
1711
  }],
1712
1712
  /**
1713
1713
  * Outline Offset
1714
1714
  * @see https://tailwindcss.com/docs/outline-offset
1715
1715
  */
1716
1716
  "outline-offset": [{
1717
- "outline-offset": [z, d]
1717
+ "outline-offset": [z, u]
1718
1718
  }],
1719
1719
  /**
1720
1720
  * Outline Width
@@ -1754,7 +1754,7 @@ const b = (e) => {
1754
1754
  * @see https://tailwindcss.com/docs/ring-opacity
1755
1755
  */
1756
1756
  "ring-opacity": [{
1757
- "ring-opacity": [y]
1757
+ "ring-opacity": [w]
1758
1758
  }],
1759
1759
  /**
1760
1760
  * Ring Offset Width
@@ -1776,7 +1776,7 @@ const b = (e) => {
1776
1776
  * @see https://tailwindcss.com/docs/box-shadow
1777
1777
  */
1778
1778
  shadow: [{
1779
- shadow: ["", "inner", "none", A, Ue]
1779
+ shadow: ["", "inner", "none", E, De]
1780
1780
  }],
1781
1781
  /**
1782
1782
  * Box Shadow Color
@@ -1790,7 +1790,7 @@ const b = (e) => {
1790
1790
  * @see https://tailwindcss.com/docs/opacity
1791
1791
  */
1792
1792
  opacity: [{
1793
- opacity: [y]
1793
+ opacity: [w]
1794
1794
  }],
1795
1795
  /**
1796
1796
  * Mix Blend Mode
@@ -1834,14 +1834,14 @@ const b = (e) => {
1834
1834
  * @see https://tailwindcss.com/docs/contrast
1835
1835
  */
1836
1836
  contrast: [{
1837
- contrast: [i]
1837
+ contrast: [c]
1838
1838
  }],
1839
1839
  /**
1840
1840
  * Drop Shadow
1841
1841
  * @see https://tailwindcss.com/docs/drop-shadow
1842
1842
  */
1843
1843
  "drop-shadow": [{
1844
- "drop-shadow": ["", "none", A, d]
1844
+ "drop-shadow": ["", "none", E, u]
1845
1845
  }],
1846
1846
  /**
1847
1847
  * Grayscale
@@ -1855,7 +1855,7 @@ const b = (e) => {
1855
1855
  * @see https://tailwindcss.com/docs/hue-rotate
1856
1856
  */
1857
1857
  "hue-rotate": [{
1858
- "hue-rotate": [u]
1858
+ "hue-rotate": [d]
1859
1859
  }],
1860
1860
  /**
1861
1861
  * Invert
@@ -1869,14 +1869,14 @@ const b = (e) => {
1869
1869
  * @see https://tailwindcss.com/docs/saturate
1870
1870
  */
1871
1871
  saturate: [{
1872
- saturate: [j]
1872
+ saturate: [I]
1873
1873
  }],
1874
1874
  /**
1875
1875
  * Sepia
1876
1876
  * @see https://tailwindcss.com/docs/sepia
1877
1877
  */
1878
1878
  sepia: [{
1879
- sepia: [K]
1879
+ sepia: [B]
1880
1880
  }],
1881
1881
  /**
1882
1882
  * Backdrop Filter
@@ -1905,7 +1905,7 @@ const b = (e) => {
1905
1905
  * @see https://tailwindcss.com/docs/backdrop-contrast
1906
1906
  */
1907
1907
  "backdrop-contrast": [{
1908
- "backdrop-contrast": [i]
1908
+ "backdrop-contrast": [c]
1909
1909
  }],
1910
1910
  /**
1911
1911
  * Backdrop Grayscale
@@ -1919,7 +1919,7 @@ const b = (e) => {
1919
1919
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
1920
1920
  */
1921
1921
  "backdrop-hue-rotate": [{
1922
- "backdrop-hue-rotate": [u]
1922
+ "backdrop-hue-rotate": [d]
1923
1923
  }],
1924
1924
  /**
1925
1925
  * Backdrop Invert
@@ -1933,21 +1933,21 @@ const b = (e) => {
1933
1933
  * @see https://tailwindcss.com/docs/backdrop-opacity
1934
1934
  */
1935
1935
  "backdrop-opacity": [{
1936
- "backdrop-opacity": [y]
1936
+ "backdrop-opacity": [w]
1937
1937
  }],
1938
1938
  /**
1939
1939
  * Backdrop Saturate
1940
1940
  * @see https://tailwindcss.com/docs/backdrop-saturate
1941
1941
  */
1942
1942
  "backdrop-saturate": [{
1943
- "backdrop-saturate": [j]
1943
+ "backdrop-saturate": [I]
1944
1944
  }],
1945
1945
  /**
1946
1946
  * Backdrop Sepia
1947
1947
  * @see https://tailwindcss.com/docs/backdrop-sepia
1948
1948
  */
1949
1949
  "backdrop-sepia": [{
1950
- "backdrop-sepia": [K]
1950
+ "backdrop-sepia": [B]
1951
1951
  }],
1952
1952
  // Tables
1953
1953
  /**
@@ -1998,7 +1998,7 @@ const b = (e) => {
1998
1998
  * @see https://tailwindcss.com/docs/transition-property
1999
1999
  */
2000
2000
  transition: [{
2001
- transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", d]
2001
+ transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", u]
2002
2002
  }],
2003
2003
  /**
2004
2004
  * Transition Duration
@@ -2012,7 +2012,7 @@ const b = (e) => {
2012
2012
  * @see https://tailwindcss.com/docs/transition-timing-function
2013
2013
  */
2014
2014
  ease: [{
2015
- ease: ["linear", "in", "out", "in-out", d]
2015
+ ease: ["linear", "in", "out", "in-out", u]
2016
2016
  }],
2017
2017
  /**
2018
2018
  * Transition Delay
@@ -2026,7 +2026,7 @@ const b = (e) => {
2026
2026
  * @see https://tailwindcss.com/docs/animation
2027
2027
  */
2028
2028
  animate: [{
2029
- animate: ["none", "spin", "ping", "pulse", "bounce", d]
2029
+ animate: ["none", "spin", "ping", "pulse", "bounce", u]
2030
2030
  }],
2031
2031
  // Transforms
2032
2032
  /**
@@ -2041,28 +2041,28 @@ const b = (e) => {
2041
2041
  * @see https://tailwindcss.com/docs/scale
2042
2042
  */
2043
2043
  scale: [{
2044
- scale: [L]
2044
+ scale: [A]
2045
2045
  }],
2046
2046
  /**
2047
2047
  * Scale X
2048
2048
  * @see https://tailwindcss.com/docs/scale
2049
2049
  */
2050
2050
  "scale-x": [{
2051
- "scale-x": [L]
2051
+ "scale-x": [A]
2052
2052
  }],
2053
2053
  /**
2054
2054
  * Scale Y
2055
2055
  * @see https://tailwindcss.com/docs/scale
2056
2056
  */
2057
2057
  "scale-y": [{
2058
- "scale-y": [L]
2058
+ "scale-y": [A]
2059
2059
  }],
2060
2060
  /**
2061
2061
  * Rotate
2062
2062
  * @see https://tailwindcss.com/docs/rotate
2063
2063
  */
2064
2064
  rotate: [{
2065
- rotate: [I, d]
2065
+ rotate: [T, u]
2066
2066
  }],
2067
2067
  /**
2068
2068
  * Translate X
@@ -2097,7 +2097,7 @@ const b = (e) => {
2097
2097
  * @see https://tailwindcss.com/docs/transform-origin
2098
2098
  */
2099
2099
  "transform-origin": [{
2100
- origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", d]
2100
+ origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", u]
2101
2101
  }],
2102
2102
  // Interactivity
2103
2103
  /**
@@ -2119,7 +2119,7 @@ const b = (e) => {
2119
2119
  * @see https://tailwindcss.com/docs/cursor
2120
2120
  */
2121
2121
  cursor: [{
2122
- cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", d]
2122
+ cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", u]
2123
2123
  }],
2124
2124
  /**
2125
2125
  * Caret Color
@@ -2341,7 +2341,7 @@ const b = (e) => {
2341
2341
  * @see https://tailwindcss.com/docs/will-change
2342
2342
  */
2343
2343
  "will-change": [{
2344
- "will-change": ["auto", "scroll", "contents", "transform", d]
2344
+ "will-change": ["auto", "scroll", "contents", "transform", u]
2345
2345
  }],
2346
2346
  // SVG
2347
2347
  /**
@@ -2431,11 +2431,11 @@ const b = (e) => {
2431
2431
  "font-size": ["leading"]
2432
2432
  }
2433
2433
  };
2434
- }, De = /* @__PURE__ */ Ge(Je);
2434
+ }, Oe = /* @__PURE__ */ Ie(Je);
2435
2435
  function g(...e) {
2436
- return De(ye(e));
2436
+ return Oe(ye(e));
2437
2437
  }
2438
- const O = q(
2438
+ const V = X(
2439
2439
  ({
2440
2440
  variant: e = "primary",
2441
2441
  size: r = "md",
@@ -2445,9 +2445,9 @@ const O = q(
2445
2445
  rightIcon: a,
2446
2446
  className: s,
2447
2447
  disabled: l,
2448
- asChild: i = !1,
2448
+ asChild: c = !1,
2449
2449
  ...m
2450
- }, u) => {
2450
+ }, d) => {
2451
2451
  const p = [
2452
2452
  "inline-flex items-center justify-center gap-2",
2453
2453
  "font-medium",
@@ -2485,19 +2485,19 @@ const O = q(
2485
2485
  sm: "px-3 py-1.5 text-xs",
2486
2486
  md: "px-4 py-2 text-sm",
2487
2487
  lg: "px-6 py-3 text-base"
2488
- }, k = g(p, v[e], M[r], s), x = fe(t) ? t : null, h = /* @__PURE__ */ w(he, { children: [
2489
- o ? /* @__PURE__ */ c("span", { className: "w-4 h-4 border-2 border-current border-t-transparent rounded-full animate-spin" }) : n,
2490
- i && x ? x.props.children : t,
2488
+ }, k = g(p, v[e], M[r], s), x = fe(t) ? t : null, h = /* @__PURE__ */ y(de, { children: [
2489
+ o ? /* @__PURE__ */ i("span", { className: "w-4 h-4 border-2 border-current border-t-transparent rounded-full animate-spin" }) : n,
2490
+ c && x ? x.props.children : t,
2491
2491
  !o && a
2492
2492
  ] });
2493
- return i && x ? xe(x, {
2493
+ return c && x ? xe(x, {
2494
2494
  className: g(k, x.props.className),
2495
- ref: u,
2495
+ ref: d,
2496
2496
  children: h
2497
- }) : /* @__PURE__ */ c(
2497
+ }) : /* @__PURE__ */ i(
2498
2498
  "button",
2499
2499
  {
2500
- ref: u,
2500
+ ref: d,
2501
2501
  className: k,
2502
2502
  disabled: l || o,
2503
2503
  ...m,
@@ -2506,7 +2506,7 @@ const O = q(
2506
2506
  );
2507
2507
  }
2508
2508
  );
2509
- O.displayName = "Button";
2509
+ V.displayName = "Button";
2510
2510
  function Ye({
2511
2511
  variant: e = "default",
2512
2512
  size: r = "sm",
@@ -2555,9 +2555,9 @@ function Ye({
2555
2555
  sm: "px-2 py-0.5 text-[10px] tracking-wide uppercase",
2556
2556
  md: "px-3 py-1 text-xs"
2557
2557
  };
2558
- return /* @__PURE__ */ c("span", { className: g(a, s[e], l[r], o), ...n, children: t });
2558
+ return /* @__PURE__ */ i("span", { className: g(a, s[e], l[r], o), ...n, children: t });
2559
2559
  }
2560
- const er = q(
2560
+ const er = X(
2561
2561
  ({
2562
2562
  variant: e = "default",
2563
2563
  inputSize: r = "md",
@@ -2567,7 +2567,7 @@ const er = q(
2567
2567
  className: a,
2568
2568
  ...s
2569
2569
  }, l) => {
2570
- const i = [
2570
+ const c = [
2571
2571
  "relative inline-flex items-center w-full",
2572
2572
  "border rounded-xl",
2573
2573
  "transition-all duration-200",
@@ -2584,7 +2584,7 @@ const er = q(
2584
2584
  n ? "border-[var(--color-coral)]" : "border-[var(--glass-border)]",
2585
2585
  "hover:bg-[rgba(255,255,255,0.08)]"
2586
2586
  ]
2587
- }, u = {
2587
+ }, d = {
2588
2588
  sm: "h-8",
2589
2589
  md: "h-10",
2590
2590
  lg: "h-12"
@@ -2597,9 +2597,9 @@ const er = q(
2597
2597
  md: { left: "pl-10", right: "pr-10" },
2598
2598
  lg: { left: "pl-12", right: "pr-12" }
2599
2599
  };
2600
- return /* @__PURE__ */ w("div", { className: g(i, m[e], u[r], a), children: [
2601
- t && /* @__PURE__ */ c("span", { className: "absolute left-3 text-[var(--color-grey-400)] pointer-events-none", children: t }),
2602
- /* @__PURE__ */ c(
2600
+ return /* @__PURE__ */ y("div", { className: g(c, m[e], d[r], a), children: [
2601
+ t && /* @__PURE__ */ i("span", { className: "absolute left-3 text-[var(--color-grey-400)] pointer-events-none", children: t }),
2602
+ /* @__PURE__ */ i(
2603
2603
  "input",
2604
2604
  {
2605
2605
  ref: l,
@@ -2615,7 +2615,7 @@ const er = q(
2615
2615
  ...s
2616
2616
  }
2617
2617
  ),
2618
- o && /* @__PURE__ */ c("span", { className: "absolute right-3 text-[var(--color-grey-400)]", children: o })
2618
+ o && /* @__PURE__ */ i("span", { className: "absolute right-3 text-[var(--color-grey-400)]", children: o })
2619
2619
  ] });
2620
2620
  }
2621
2621
  );
@@ -2648,9 +2648,9 @@ const rr = {
2648
2648
  lg: "w-6 h-6",
2649
2649
  xl: "w-8 h-8"
2650
2650
  };
2651
- function D({ name: e, size: r = "md", className: t, ...o }) {
2651
+ function O({ name: e, size: r = "md", className: t, ...o }) {
2652
2652
  const n = rr[e];
2653
- return /* @__PURE__ */ c(
2653
+ return /* @__PURE__ */ i(
2654
2654
  "svg",
2655
2655
  {
2656
2656
  viewBox: "0 0 24 24",
@@ -2662,11 +2662,184 @@ function D({ name: e, size: r = "md", className: t, ...o }) {
2662
2662
  className: g(tr[r], t),
2663
2663
  "aria-hidden": "true",
2664
2664
  ...o,
2665
- children: /* @__PURE__ */ c("path", { d: n })
2665
+ children: /* @__PURE__ */ i("path", { d: n })
2666
2666
  }
2667
2667
  );
2668
2668
  }
2669
- function dr({
2669
+ const or = `url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E")`;
2670
+ function pr({
2671
+ opacity: e = 0.03,
2672
+ fixed: r = !0,
2673
+ className: t,
2674
+ style: o,
2675
+ ...n
2676
+ }) {
2677
+ return /* @__PURE__ */ i(
2678
+ "div",
2679
+ {
2680
+ className: g(
2681
+ "inset-0 pointer-events-none z-50",
2682
+ r ? "fixed" : "absolute",
2683
+ t
2684
+ ),
2685
+ style: {
2686
+ backgroundImage: or,
2687
+ opacity: e,
2688
+ ...o
2689
+ },
2690
+ "aria-hidden": "true",
2691
+ ...n
2692
+ }
2693
+ );
2694
+ }
2695
+ const nr = {
2696
+ sm: { icon: 12, text: "text-[10px]" },
2697
+ md: { icon: 16, text: "text-xs" },
2698
+ lg: { icon: 20, text: "text-sm" }
2699
+ }, ar = {
2700
+ "bottom-left": "bottom-8 left-6 md:left-12",
2701
+ "bottom-center": "bottom-8 left-1/2 -translate-x-1/2",
2702
+ "bottom-right": "bottom-8 right-6 md:right-12"
2703
+ };
2704
+ function br({
2705
+ label: e = "Scroll",
2706
+ size: r = "md",
2707
+ position: t = "bottom-left",
2708
+ className: o,
2709
+ ...n
2710
+ }) {
2711
+ const { icon: a, text: s } = nr[r];
2712
+ return /* @__PURE__ */ y(
2713
+ "div",
2714
+ {
2715
+ className: g(
2716
+ "absolute flex items-center gap-3 text-current opacity-60",
2717
+ ar[t],
2718
+ o
2719
+ ),
2720
+ ...n,
2721
+ children: [
2722
+ /* @__PURE__ */ i(
2723
+ "svg",
2724
+ {
2725
+ width: a,
2726
+ height: a * 1.5,
2727
+ viewBox: "0 0 16 24",
2728
+ fill: "none",
2729
+ stroke: "currentColor",
2730
+ strokeWidth: "1.5",
2731
+ className: "animate-bounce",
2732
+ children: /* @__PURE__ */ i("path", { d: "M8 4v16M4 16l4 4 4-4" })
2733
+ }
2734
+ ),
2735
+ e && /* @__PURE__ */ i("span", { className: g("font-mono uppercase tracking-wider", s), children: e })
2736
+ ]
2737
+ }
2738
+ );
2739
+ }
2740
+ function hr({
2741
+ isOpen: e,
2742
+ size: r = 24,
2743
+ className: t,
2744
+ ...o
2745
+ }) {
2746
+ return /* @__PURE__ */ y(
2747
+ "svg",
2748
+ {
2749
+ xmlns: "http://www.w3.org/2000/svg",
2750
+ width: r,
2751
+ height: r,
2752
+ viewBox: "0 0 24 24",
2753
+ fill: "none",
2754
+ stroke: "currentColor",
2755
+ strokeWidth: "2",
2756
+ strokeLinecap: "round",
2757
+ strokeLinejoin: "round",
2758
+ className: g("transition-transform duration-300", t),
2759
+ ...o,
2760
+ children: [
2761
+ /* @__PURE__ */ i(
2762
+ "path",
2763
+ {
2764
+ d: e ? "M18 6L6 18" : "M4 6h16",
2765
+ className: "origin-center transition-all duration-300"
2766
+ }
2767
+ ),
2768
+ /* @__PURE__ */ i(
2769
+ "path",
2770
+ {
2771
+ d: e ? "M6 6l12 12" : "M4 12h16",
2772
+ className: g(
2773
+ "origin-center transition-all duration-300",
2774
+ e && "opacity-0"
2775
+ )
2776
+ }
2777
+ ),
2778
+ !e && /* @__PURE__ */ i("path", { d: "M4 18h16" })
2779
+ ]
2780
+ }
2781
+ );
2782
+ }
2783
+ const sr = {
2784
+ "fade-up": {
2785
+ initial: "opacity-0 translate-y-8",
2786
+ animate: "opacity-100 translate-y-0"
2787
+ },
2788
+ "fade-in": {
2789
+ initial: "opacity-0",
2790
+ animate: "opacity-100"
2791
+ },
2792
+ "slide-up": {
2793
+ initial: "opacity-0 translate-y-full",
2794
+ animate: "opacity-100 translate-y-0"
2795
+ },
2796
+ "blur-in": {
2797
+ initial: "opacity-0 blur-sm",
2798
+ animate: "opacity-100 blur-0"
2799
+ }
2800
+ };
2801
+ function fr({
2802
+ children: e,
2803
+ animation: r = "fade-up",
2804
+ delay: t = 0,
2805
+ duration: o = 600,
2806
+ as: n = "span",
2807
+ animateOnScroll: a = !0,
2808
+ className: s,
2809
+ style: l,
2810
+ ...c
2811
+ }) {
2812
+ const { initial: m } = sr[r], d = {
2813
+ "--animation-delay": `${t}ms`,
2814
+ "--animation-duration": `${o}ms`,
2815
+ ...l
2816
+ };
2817
+ return /* @__PURE__ */ i(
2818
+ n,
2819
+ {
2820
+ className: g(
2821
+ "transition-all ease-out",
2822
+ a ? "motion-safe:animate-fade-up" : "",
2823
+ // Fallback for reduced motion
2824
+ "motion-reduce:opacity-100 motion-reduce:translate-y-0 motion-reduce:blur-0",
2825
+ m,
2826
+ // Apply animate class after mount via CSS animation
2827
+ "[animation-fill-mode:forwards]",
2828
+ s
2829
+ ),
2830
+ style: {
2831
+ transitionDuration: `${o}ms`,
2832
+ transitionDelay: `${t}ms`,
2833
+ animationDelay: `${t}ms`,
2834
+ animationDuration: `${o}ms`,
2835
+ ...d
2836
+ },
2837
+ ...c,
2838
+ children: e
2839
+ }
2840
+ );
2841
+ }
2842
+ function xr({
2670
2843
  variant: e = "default",
2671
2844
  padding: r = "md",
2672
2845
  children: t,
@@ -2700,7 +2873,7 @@ function dr({
2700
2873
  md: "p-5",
2701
2874
  lg: "p-8"
2702
2875
  };
2703
- return /* @__PURE__ */ c(
2876
+ return /* @__PURE__ */ i(
2704
2877
  "div",
2705
2878
  {
2706
2879
  className: g(a, s[e], l[r], o),
@@ -2709,11 +2882,11 @@ function dr({
2709
2882
  }
2710
2883
  );
2711
2884
  }
2712
- function ur({ children: e, className: r, ...t }) {
2713
- return /* @__PURE__ */ c("div", { className: g("flex flex-col gap-1.5", r), ...t, children: e });
2885
+ function vr({ children: e, className: r, ...t }) {
2886
+ return /* @__PURE__ */ i("div", { className: g("flex flex-col gap-1.5", r), ...t, children: e });
2714
2887
  }
2715
- function mr({ children: e, as: r = "h3", className: t, ...o }) {
2716
- return /* @__PURE__ */ c(
2888
+ function yr({ children: e, as: r = "h3", className: t, ...o }) {
2889
+ return /* @__PURE__ */ i(
2717
2890
  r,
2718
2891
  {
2719
2892
  className: g(
@@ -2726,8 +2899,8 @@ function mr({ children: e, as: r = "h3", className: t, ...o }) {
2726
2899
  }
2727
2900
  );
2728
2901
  }
2729
- function gr({ children: e, className: r, ...t }) {
2730
- return /* @__PURE__ */ c(
2902
+ function wr({ children: e, className: r, ...t }) {
2903
+ return /* @__PURE__ */ i(
2731
2904
  "p",
2732
2905
  {
2733
2906
  className: g(
@@ -2740,11 +2913,11 @@ function gr({ children: e, className: r, ...t }) {
2740
2913
  }
2741
2914
  );
2742
2915
  }
2743
- function pr({ children: e, className: r, ...t }) {
2744
- return /* @__PURE__ */ c("div", { className: g("mt-4", r), ...t, children: e });
2916
+ function kr({ children: e, className: r, ...t }) {
2917
+ return /* @__PURE__ */ i("div", { className: g("mt-4", r), ...t, children: e });
2745
2918
  }
2746
- function br({ children: e, className: r, ...t }) {
2747
- return /* @__PURE__ */ c(
2919
+ function Nr({ children: e, className: r, ...t }) {
2920
+ return /* @__PURE__ */ i(
2748
2921
  "div",
2749
2922
  {
2750
2923
  className: g(
@@ -2758,8 +2931,8 @@ function br({ children: e, className: r, ...t }) {
2758
2931
  }
2759
2932
  );
2760
2933
  }
2761
- const Z = q(
2762
- ({ variant: e = "default", isActive: r = !1, children: t, className: o, ...n }, a) => /* @__PURE__ */ c("a", { ref: a, className: g([
2934
+ const Z = X(
2935
+ ({ variant: e = "default", isActive: r = !1, children: t, className: o, ...n }, a) => /* @__PURE__ */ i("a", { ref: a, className: g([
2763
2936
  "inline-flex items-center",
2764
2937
  "text-sm font-normal",
2765
2938
  "transition-all duration-200 ease-out",
@@ -2784,7 +2957,7 @@ const Z = q(
2784
2957
  }[e], o), ...n, children: t })
2785
2958
  );
2786
2959
  Z.displayName = "NavLink";
2787
- function hr({
2960
+ function Mr({
2788
2961
  command: e,
2789
2962
  variant: r = "default",
2790
2963
  showCopyButton: t = !0,
@@ -2792,14 +2965,14 @@ function hr({
2792
2965
  className: n,
2793
2966
  ...a
2794
2967
  }) {
2795
- const [s, l] = W(!1), i = V(async () => {
2968
+ const [s, l] = W(!1), c = F(async () => {
2796
2969
  try {
2797
2970
  await navigator.clipboard.writeText(e), l(!0), o == null || o(), setTimeout(() => l(!1), 2e3);
2798
2971
  } catch (p) {
2799
2972
  console.error("Failed to copy:", p);
2800
2973
  }
2801
2974
  }, [e, o]);
2802
- return /* @__PURE__ */ w("div", { className: g([
2975
+ return /* @__PURE__ */ y("div", { className: g([
2803
2976
  "flex items-center justify-between gap-3",
2804
2977
  "px-4 py-3",
2805
2978
  "rounded-xl",
@@ -2819,12 +2992,12 @@ function hr({
2819
2992
  "hover:bg-[rgba(255,255,255,0.12)]"
2820
2993
  ]
2821
2994
  }[r], n), ...a, children: [
2822
- /* @__PURE__ */ c("code", { className: "text-sm font-mono text-[var(--color-grey-300)] truncate", children: e }),
2823
- t && /* @__PURE__ */ c(
2995
+ /* @__PURE__ */ i("code", { className: "text-sm font-mono text-[var(--color-grey-300)] truncate", children: e }),
2996
+ t && /* @__PURE__ */ i(
2824
2997
  "button",
2825
2998
  {
2826
2999
  type: "button",
2827
- onClick: i,
3000
+ onClick: c,
2828
3001
  className: g(
2829
3002
  "flex-shrink-0",
2830
3003
  "p-2 rounded-lg",
@@ -2833,7 +3006,7 @@ function hr({
2833
3006
  s ? "bg-[var(--color-sage)] text-[var(--color-bg)]" : "bg-[rgba(255,255,255,0.1)] text-[var(--color-grey-400)] hover:bg-[rgba(255,255,255,0.15)] hover:text-[var(--color-white)]"
2834
3007
  ),
2835
3008
  "aria-label": s ? "Copied!" : "Copy to clipboard",
2836
- children: /* @__PURE__ */ c(D, { name: s ? "check" : "copy", size: "sm" })
3009
+ children: /* @__PURE__ */ i(O, { name: s ? "check" : "copy", size: "sm" })
2837
3010
  }
2838
3011
  )
2839
3012
  ] });
@@ -2852,7 +3025,7 @@ function ce({
2852
3025
  sm: "sm",
2853
3026
  md: "md"
2854
3027
  };
2855
- return /* @__PURE__ */ c(
3028
+ return /* @__PURE__ */ i(
2856
3029
  "button",
2857
3030
  {
2858
3031
  type: "button",
@@ -2875,11 +3048,66 @@ function ce({
2875
3048
  ),
2876
3049
  "aria-label": `Switch to ${e === "dark" ? "light" : "dark"} mode`,
2877
3050
  ...n,
2878
- children: /* @__PURE__ */ c(D, { name: e === "dark" ? "sun" : "moon", size: s[t] })
3051
+ children: /* @__PURE__ */ i(O, { name: e === "dark" ? "sun" : "moon", size: s[t] })
2879
3052
  }
2880
3053
  );
2881
3054
  }
2882
- function fr({
3055
+ function Cr({
3056
+ isOpen: e,
3057
+ onClose: r,
3058
+ children: t,
3059
+ width: o = "280px",
3060
+ position: n = "right",
3061
+ zIndex: a = 50,
3062
+ className: s,
3063
+ ...l
3064
+ }) {
3065
+ L(() => (e ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
3066
+ document.body.style.overflow = "";
3067
+ }), [e]), L(() => {
3068
+ const d = (p) => {
3069
+ p.key === "Escape" && e && r();
3070
+ };
3071
+ return document.addEventListener("keydown", d), () => document.removeEventListener("keydown", d);
3072
+ }, [e, r]);
3073
+ const c = n === "right" ? e ? "translate-x-0" : "translate-x-full" : e ? "translate-x-0" : "-translate-x-full", m = n === "right" ? "right-0" : "left-0";
3074
+ return /* @__PURE__ */ y(de, { children: [
3075
+ /* @__PURE__ */ i(
3076
+ "div",
3077
+ {
3078
+ className: g(
3079
+ "fixed inset-0 bg-black/50 transition-opacity duration-300",
3080
+ e ? "opacity-100" : "opacity-0 pointer-events-none"
3081
+ ),
3082
+ style: { zIndex: a },
3083
+ onClick: r,
3084
+ "aria-hidden": !e
3085
+ }
3086
+ ),
3087
+ /* @__PURE__ */ i(
3088
+ "div",
3089
+ {
3090
+ className: g(
3091
+ "fixed top-0 h-full bg-[var(--color-bg,#0a0a0a)] border-[var(--glass-border,rgba(255,255,255,0.1))]",
3092
+ "transition-transform duration-300 ease-out",
3093
+ c,
3094
+ m,
3095
+ n === "right" ? "border-l" : "border-r",
3096
+ s
3097
+ ),
3098
+ style: {
3099
+ width: o,
3100
+ maxWidth: "80vw",
3101
+ zIndex: a + 1
3102
+ },
3103
+ "aria-hidden": !e,
3104
+ ...l,
3105
+ children: t
3106
+ }
3107
+ )
3108
+ ] });
3109
+ }
3110
+ function zr({
2883
3111
  logo: e,
2884
3112
  items: r = [],
2885
3113
  theme: t = "dark",
@@ -2889,8 +3117,8 @@ function fr({
2889
3117
  className: s,
2890
3118
  ...l
2891
3119
  }) {
2892
- const [i, m] = W(!1);
2893
- return /* @__PURE__ */ c(
3120
+ const [c, m] = W(!1);
3121
+ return /* @__PURE__ */ i(
2894
3122
  "nav",
2895
3123
  {
2896
3124
  className: g(
@@ -2900,19 +3128,19 @@ function fr({
2900
3128
  s
2901
3129
  ),
2902
3130
  ...l,
2903
- children: /* @__PURE__ */ w("div", { className: "mx-auto max-w-7xl px-6 md:px-10", children: [
2904
- /* @__PURE__ */ w("div", { className: "flex h-16 items-center justify-between", children: [
2905
- /* @__PURE__ */ c("div", { className: "flex-shrink-0", children: e }),
2906
- /* @__PURE__ */ c("div", { className: "hidden md:flex md:items-center md:gap-8", children: r.map((u) => /* @__PURE__ */ c(Z, { href: u.href, isActive: u.isActive, variant: "underline", children: u.label }, u.href)) }),
2907
- /* @__PURE__ */ w("div", { className: "hidden md:flex md:items-center md:gap-4", children: [
2908
- n && o && /* @__PURE__ */ c(ce, { theme: t, onToggle: o, size: "sm" }),
2909
- a && /* @__PURE__ */ c(O, { variant: "secondary", size: "sm", asChild: !0, children: /* @__PURE__ */ c("a", { href: a.href, children: a.label }) })
3131
+ children: /* @__PURE__ */ y("div", { className: "mx-auto max-w-7xl px-6 md:px-10", children: [
3132
+ /* @__PURE__ */ y("div", { className: "flex h-16 items-center justify-between", children: [
3133
+ /* @__PURE__ */ i("div", { className: "flex-shrink-0", children: e }),
3134
+ /* @__PURE__ */ i("div", { className: "hidden md:flex md:items-center md:gap-8", children: r.map((d) => /* @__PURE__ */ i(Z, { href: d.href, isActive: d.isActive, variant: "underline", children: d.label }, d.href)) }),
3135
+ /* @__PURE__ */ y("div", { className: "hidden md:flex md:items-center md:gap-4", children: [
3136
+ n && o && /* @__PURE__ */ i(ce, { theme: t, onToggle: o, size: "sm" }),
3137
+ a && /* @__PURE__ */ i(V, { variant: "secondary", size: "sm", asChild: !0, children: /* @__PURE__ */ i("a", { href: a.href, children: a.label }) })
2910
3138
  ] }),
2911
- /* @__PURE__ */ c(
3139
+ /* @__PURE__ */ i(
2912
3140
  "button",
2913
3141
  {
2914
3142
  type: "button",
2915
- onClick: () => m(!i),
3143
+ onClick: () => m(!c),
2916
3144
  className: g(
2917
3145
  "md:hidden",
2918
3146
  "p-2 rounded-lg",
@@ -2922,36 +3150,36 @@ function fr({
2922
3150
  "transition-colors duration-200"
2923
3151
  ),
2924
3152
  "aria-label": "Toggle menu",
2925
- children: /* @__PURE__ */ c(D, { name: i ? "x" : "menu", size: "md" })
3153
+ children: /* @__PURE__ */ i(O, { name: c ? "x" : "menu", size: "md" })
2926
3154
  }
2927
3155
  )
2928
3156
  ] }),
2929
- i && /* @__PURE__ */ c("div", { className: "md:hidden py-4 border-t border-[var(--glass-border)]", children: /* @__PURE__ */ w("div", { className: "flex flex-col gap-2", children: [
2930
- r.map((u) => /* @__PURE__ */ c(
3157
+ c && /* @__PURE__ */ i("div", { className: "md:hidden py-4 border-t border-[var(--glass-border)]", children: /* @__PURE__ */ y("div", { className: "flex flex-col gap-2", children: [
3158
+ r.map((d) => /* @__PURE__ */ i(
2931
3159
  "a",
2932
3160
  {
2933
- href: u.href,
3161
+ href: d.href,
2934
3162
  className: g(
2935
3163
  "mobile-nav-link",
2936
3164
  "px-4 py-3 rounded-xl",
2937
3165
  "text-sm",
2938
- u.isActive ? "text-[var(--color-white)]" : "text-[var(--color-grey-400)]"
3166
+ d.isActive ? "text-[var(--color-white)]" : "text-[var(--color-grey-400)]"
2939
3167
  ),
2940
3168
  onClick: () => m(!1),
2941
- children: u.label
3169
+ children: d.label
2942
3170
  },
2943
- u.href
3171
+ d.href
2944
3172
  )),
2945
- /* @__PURE__ */ w("div", { className: "flex items-center justify-between px-4 pt-4 border-t border-[var(--glass-border)]", children: [
2946
- n && o && /* @__PURE__ */ c(ce, { theme: t, onToggle: o, size: "sm" }),
2947
- a && /* @__PURE__ */ c(O, { variant: "primary", size: "sm", asChild: !0, children: /* @__PURE__ */ c("a", { href: a.href, children: a.label }) })
3173
+ /* @__PURE__ */ y("div", { className: "flex items-center justify-between px-4 pt-4 border-t border-[var(--glass-border)]", children: [
3174
+ n && o && /* @__PURE__ */ i(ce, { theme: t, onToggle: o, size: "sm" }),
3175
+ a && /* @__PURE__ */ i(V, { variant: "primary", size: "sm", asChild: !0, children: /* @__PURE__ */ i("a", { href: a.href, children: a.label }) })
2948
3176
  ] })
2949
3177
  ] }) })
2950
3178
  ] })
2951
3179
  }
2952
3180
  );
2953
3181
  }
2954
- function xr({
3182
+ function Sr({
2955
3183
  logo: e,
2956
3184
  description: r,
2957
3185
  sections: t = [],
@@ -2961,7 +3189,7 @@ function xr({
2961
3189
  className: s,
2962
3190
  ...l
2963
3191
  }) {
2964
- return /* @__PURE__ */ c(
3192
+ return /* @__PURE__ */ i(
2965
3193
  "footer",
2966
3194
  {
2967
3195
  className: g(
@@ -2970,42 +3198,42 @@ function xr({
2970
3198
  s
2971
3199
  ),
2972
3200
  ...l,
2973
- children: /* @__PURE__ */ w("div", { className: "mx-auto max-w-7xl px-6 py-16 md:px-10", children: [
2974
- /* @__PURE__ */ w("div", { className: "grid grid-cols-1 gap-12 md:grid-cols-4 lg:grid-cols-5", children: [
2975
- /* @__PURE__ */ w("div", { className: "md:col-span-2 lg:col-span-2", children: [
2976
- e && /* @__PURE__ */ c("div", { className: "mb-4", children: e }),
2977
- r && /* @__PURE__ */ c("p", { className: "text-sm text-[var(--color-grey-400)] max-w-sm leading-relaxed", children: r }),
2978
- a.length > 0 && /* @__PURE__ */ c("div", { className: "flex items-center gap-4 mt-6", children: a.map((i) => /* @__PURE__ */ c(
3201
+ children: /* @__PURE__ */ y("div", { className: "mx-auto max-w-7xl px-6 py-16 md:px-10", children: [
3202
+ /* @__PURE__ */ y("div", { className: "grid grid-cols-1 gap-12 md:grid-cols-4 lg:grid-cols-5", children: [
3203
+ /* @__PURE__ */ y("div", { className: "md:col-span-2 lg:col-span-2", children: [
3204
+ e && /* @__PURE__ */ i("div", { className: "mb-4", children: e }),
3205
+ r && /* @__PURE__ */ i("p", { className: "text-sm text-[var(--color-grey-400)] max-w-sm leading-relaxed", children: r }),
3206
+ a.length > 0 && /* @__PURE__ */ i("div", { className: "flex items-center gap-4 mt-6", children: a.map((c) => /* @__PURE__ */ i(
2979
3207
  "a",
2980
3208
  {
2981
- href: i.href,
3209
+ href: c.href,
2982
3210
  className: g(
2983
3211
  "text-[var(--color-grey-600)]",
2984
3212
  "hover:text-[var(--color-white)]",
2985
3213
  "transition-colors duration-200"
2986
3214
  ),
2987
- "aria-label": i.label,
3215
+ "aria-label": c.label,
2988
3216
  target: "_blank",
2989
3217
  rel: "noopener noreferrer",
2990
- children: i.icon
3218
+ children: c.icon
2991
3219
  },
2992
- i.href
3220
+ c.href
2993
3221
  )) })
2994
3222
  ] }),
2995
- t.map((i) => /* @__PURE__ */ w("div", { children: [
2996
- /* @__PURE__ */ c("h4", { className: "label mb-4", children: i.title }),
2997
- /* @__PURE__ */ c("ul", { className: "space-y-3", children: i.links.map((m) => /* @__PURE__ */ c("li", { children: /* @__PURE__ */ c(Z, { href: m.href, variant: "default", children: m.label }) }, m.href)) })
2998
- ] }, i.title))
3223
+ t.map((c) => /* @__PURE__ */ y("div", { children: [
3224
+ /* @__PURE__ */ i("h4", { className: "label mb-4", children: c.title }),
3225
+ /* @__PURE__ */ i("ul", { className: "space-y-3", children: c.links.map((m) => /* @__PURE__ */ i("li", { children: /* @__PURE__ */ i(Z, { href: m.href, variant: "default", children: m.label }) }, m.href)) })
3226
+ ] }, c.title))
2999
3227
  ] }),
3000
- /* @__PURE__ */ w("div", { className: "mt-16 pt-8 border-t border-[var(--glass-border)] flex flex-col md:flex-row md:items-center md:justify-between gap-4", children: [
3001
- n && /* @__PURE__ */ c("p", { className: "text-xs text-[var(--color-grey-600)]", children: n }),
3002
- o.length > 0 && /* @__PURE__ */ c("div", { className: "flex flex-wrap items-center gap-6", children: o.map((i) => /* @__PURE__ */ c(Z, { href: i.href, variant: "default", children: /* @__PURE__ */ c("span", { className: "text-xs", children: i.label }) }, i.href)) })
3228
+ /* @__PURE__ */ y("div", { className: "mt-16 pt-8 border-t border-[var(--glass-border)] flex flex-col md:flex-row md:items-center md:justify-between gap-4", children: [
3229
+ n && /* @__PURE__ */ i("p", { className: "text-xs text-[var(--color-grey-600)]", children: n }),
3230
+ o.length > 0 && /* @__PURE__ */ i("div", { className: "flex flex-wrap items-center gap-6", children: o.map((c) => /* @__PURE__ */ i(Z, { href: c.href, variant: "default", children: /* @__PURE__ */ i("span", { className: "text-xs", children: c.label }) }, c.href)) })
3003
3231
  ] })
3004
3232
  ] })
3005
3233
  }
3006
3234
  );
3007
3235
  }
3008
- function vr({
3236
+ function Er({
3009
3237
  badge: e,
3010
3238
  title: r,
3011
3239
  description: t,
@@ -3014,16 +3242,16 @@ function vr({
3014
3242
  size: a = "default",
3015
3243
  gradient: s = !0,
3016
3244
  className: l,
3017
- ...i
3245
+ ...c
3018
3246
  }) {
3019
3247
  const m = {
3020
3248
  left: "text-left items-start",
3021
3249
  center: "text-center items-center"
3022
- }, u = {
3250
+ }, d = {
3023
3251
  default: "text-4xl sm:text-5xl md:text-6xl",
3024
3252
  large: "text-5xl sm:text-6xl md:text-7xl lg:text-8xl"
3025
3253
  };
3026
- return /* @__PURE__ */ c(
3254
+ return /* @__PURE__ */ i(
3027
3255
  "section",
3028
3256
  {
3029
3257
  className: g(
@@ -3031,8 +3259,8 @@ function vr({
3031
3259
  "px-6 py-24 md:py-32 lg:py-40",
3032
3260
  l
3033
3261
  ),
3034
- ...i,
3035
- children: /* @__PURE__ */ w(
3262
+ ...c,
3263
+ children: /* @__PURE__ */ y(
3036
3264
  "div",
3037
3265
  {
3038
3266
  className: g(
@@ -3041,13 +3269,13 @@ function vr({
3041
3269
  m[n]
3042
3270
  ),
3043
3271
  children: [
3044
- e && /* @__PURE__ */ c(Ye, { variant: "default", size: "md", className: "animate-in", children: e }),
3045
- /* @__PURE__ */ c(
3272
+ e && /* @__PURE__ */ i(Ye, { variant: "default", size: "md", className: "animate-in", children: e }),
3273
+ /* @__PURE__ */ i(
3046
3274
  "h1",
3047
3275
  {
3048
3276
  className: g(
3049
3277
  "font-display font-semibold tracking-tight",
3050
- u[a],
3278
+ d[a],
3051
3279
  s ? "hero-gradient-text" : "text-[var(--color-white)]",
3052
3280
  "animate-in"
3053
3281
  ),
@@ -3055,7 +3283,7 @@ function vr({
3055
3283
  children: r
3056
3284
  }
3057
3285
  ),
3058
- t && /* @__PURE__ */ c(
3286
+ t && /* @__PURE__ */ i(
3059
3287
  "p",
3060
3288
  {
3061
3289
  className: g(
@@ -3068,7 +3296,7 @@ function vr({
3068
3296
  children: t
3069
3297
  }
3070
3298
  ),
3071
- o.length > 0 && /* @__PURE__ */ c(
3299
+ o.length > 0 && /* @__PURE__ */ i(
3072
3300
  "div",
3073
3301
  {
3074
3302
  className: g(
@@ -3077,13 +3305,13 @@ function vr({
3077
3305
  "animate-in"
3078
3306
  ),
3079
3307
  style: { animationDelay: "0.3s" },
3080
- children: o.map((p, v) => /* @__PURE__ */ c(
3081
- O,
3308
+ children: o.map((p, v) => /* @__PURE__ */ i(
3309
+ V,
3082
3310
  {
3083
3311
  variant: p.variant || (v === 0 ? "primary" : "secondary"),
3084
3312
  size: "lg",
3085
3313
  asChild: !0,
3086
- children: /* @__PURE__ */ c("a", { href: p.href, children: p.label })
3314
+ children: /* @__PURE__ */ i("a", { href: p.href, children: p.label })
3087
3315
  },
3088
3316
  p.href
3089
3317
  ))
@@ -3095,7 +3323,7 @@ function vr({
3095
3323
  }
3096
3324
  );
3097
3325
  }
3098
- function yr({
3326
+ function Ar({
3099
3327
  children: e,
3100
3328
  size: r = "md",
3101
3329
  spacing: t = "md",
@@ -3109,7 +3337,7 @@ function yr({
3109
3337
  lg: "max-w-7xl",
3110
3338
  full: "max-w-none"
3111
3339
  };
3112
- return /* @__PURE__ */ c(
3340
+ return /* @__PURE__ */ i(
3113
3341
  "section",
3114
3342
  {
3115
3343
  className: g({
@@ -3119,18 +3347,18 @@ function yr({
3119
3347
  lg: "py-24 md:py-32"
3120
3348
  }[t], n),
3121
3349
  ...a,
3122
- children: o ? /* @__PURE__ */ c("div", { className: g("mx-auto px-6 md:px-10", s[r]), children: e }) : e
3350
+ children: o ? /* @__PURE__ */ i("div", { className: g("mx-auto px-6 md:px-10", s[r]), children: e }) : e
3123
3351
  }
3124
3352
  );
3125
3353
  }
3126
- function wr({
3354
+ function Lr({
3127
3355
  title: e,
3128
3356
  description: r,
3129
3357
  align: t = "left",
3130
3358
  className: o,
3131
3359
  ...n
3132
3360
  }) {
3133
- return /* @__PURE__ */ w(
3361
+ return /* @__PURE__ */ y(
3134
3362
  "div",
3135
3363
  {
3136
3364
  className: g("max-w-2xl mb-12", {
@@ -3139,36 +3367,36 @@ function wr({
3139
3367
  }[t], o),
3140
3368
  ...n,
3141
3369
  children: [
3142
- /* @__PURE__ */ c("h2", { className: "font-display text-2xl md:text-3xl font-semibold text-[var(--color-white)] tracking-tight", children: e }),
3143
- r && /* @__PURE__ */ c("p", { className: "mt-4 text-base md:text-lg text-[var(--color-grey-400)] leading-relaxed", children: r })
3370
+ /* @__PURE__ */ i("h2", { className: "font-display text-2xl md:text-3xl font-semibold text-[var(--color-white)] tracking-tight", children: e }),
3371
+ r && /* @__PURE__ */ i("p", { className: "mt-4 text-base md:text-lg text-[var(--color-grey-400)] leading-relaxed", children: r })
3144
3372
  ]
3145
3373
  }
3146
3374
  );
3147
3375
  }
3148
- function kr(e = {}) {
3376
+ function Rr(e = {}) {
3149
3377
  const {
3150
3378
  defaultTheme: r = "dark",
3151
3379
  storageKey: t = "n3wth-theme",
3152
3380
  attribute: o = "data-theme"
3153
3381
  } = e, [n, a] = W(() => {
3154
3382
  if (typeof window > "u") return r;
3155
- const i = localStorage.getItem(t);
3156
- return i === "dark" || i === "light" ? i : window.matchMedia("(prefers-color-scheme: light)").matches ? "light" : r;
3157
- }), s = V(
3158
- (i) => {
3159
- a(i), typeof window < "u" && (localStorage.setItem(t, i), document.documentElement.setAttribute(o, i));
3383
+ const c = localStorage.getItem(t);
3384
+ return c === "dark" || c === "light" ? c : window.matchMedia("(prefers-color-scheme: light)").matches ? "light" : r;
3385
+ }), s = F(
3386
+ (c) => {
3387
+ a(c), typeof window < "u" && (localStorage.setItem(t, c), document.documentElement.setAttribute(o, c));
3160
3388
  },
3161
3389
  [t, o]
3162
- ), l = V(() => {
3390
+ ), l = F(() => {
3163
3391
  s(n === "dark" ? "light" : "dark");
3164
3392
  }, [n, s]);
3165
- return T(() => {
3393
+ return L(() => {
3166
3394
  document.documentElement.setAttribute(o, n);
3167
- }, [o, n]), T(() => {
3168
- const i = window.matchMedia("(prefers-color-scheme: light)"), m = (u) => {
3169
- localStorage.getItem(t) || s(u.matches ? "light" : "dark");
3395
+ }, [o, n]), L(() => {
3396
+ const c = window.matchMedia("(prefers-color-scheme: light)"), m = (d) => {
3397
+ localStorage.getItem(t) || s(d.matches ? "light" : "dark");
3170
3398
  };
3171
- return i.addEventListener("change", m), () => i.removeEventListener("change", m);
3399
+ return c.addEventListener("change", m), () => c.removeEventListener("change", m);
3172
3400
  }, [t, s]), {
3173
3401
  theme: n,
3174
3402
  setTheme: s,
@@ -3177,20 +3405,20 @@ function kr(e = {}) {
3177
3405
  isLight: n === "light"
3178
3406
  };
3179
3407
  }
3180
- function Nr({
3408
+ function jr({
3181
3409
  shortcuts: e,
3182
3410
  enabled: r = !0
3183
3411
  }) {
3184
3412
  const t = ve(e);
3185
3413
  t.current = e;
3186
- const o = V(
3414
+ const o = F(
3187
3415
  (n) => {
3188
3416
  if (!r) return;
3189
3417
  const a = n.target;
3190
3418
  if (!(a.tagName === "INPUT" || a.tagName === "TEXTAREA" || a.isContentEditable))
3191
3419
  for (const s of t.current) {
3192
- const l = n.key.toLowerCase() === s.key.toLowerCase(), i = s.ctrl ? n.ctrlKey : !n.ctrlKey, m = s.meta ? n.metaKey : !n.metaKey, u = s.shift ? n.shiftKey : !n.shiftKey, p = s.alt ? n.altKey : !n.altKey;
3193
- if (l && i && m && u && p) {
3420
+ const l = n.key.toLowerCase() === s.key.toLowerCase(), c = s.ctrl ? n.ctrlKey : !n.ctrlKey, m = s.meta ? n.metaKey : !n.metaKey, d = s.shift ? n.shiftKey : !n.shiftKey, p = s.alt ? n.altKey : !n.altKey;
3421
+ if (l && c && m && d && p) {
3194
3422
  n.preventDefault(), s.handler();
3195
3423
  return;
3196
3424
  }
@@ -3198,18 +3426,18 @@ function Nr({
3198
3426
  },
3199
3427
  [r]
3200
3428
  );
3201
- T(() => (window.addEventListener("keydown", o), () => window.removeEventListener("keydown", o)), [o]);
3429
+ L(() => (window.addEventListener("keydown", o), () => window.removeEventListener("keydown", o)), [o]);
3202
3430
  }
3203
- function Mr() {
3431
+ function Ir() {
3204
3432
  return typeof navigator > "u" ? "ctrl" : navigator.platform.toLowerCase().includes("mac") ? "meta" : "ctrl";
3205
3433
  }
3206
- function Cr(e) {
3434
+ function Gr(e) {
3207
3435
  const r = [], t = typeof navigator < "u" && navigator.platform.toLowerCase().includes("mac");
3208
3436
  return e.ctrl && r.push(t ? "^" : "Ctrl"), e.meta && r.push(t ? "⌘" : "Win"), e.alt && r.push(t ? "⌥" : "Alt"), e.shift && r.push(t ? "⇧" : "Shift"), r.push(e.key.toUpperCase()), r.join(t ? "" : "+");
3209
3437
  }
3210
- function zr() {
3438
+ function Tr() {
3211
3439
  const [e, r] = W(!1);
3212
- return T(() => {
3440
+ return L(() => {
3213
3441
  const t = window.matchMedia("(prefers-reduced-motion: reduce)");
3214
3442
  r(t.matches);
3215
3443
  const o = (n) => {
@@ -3220,7 +3448,7 @@ function zr() {
3220
3448
  }
3221
3449
  function Y(e) {
3222
3450
  const [r, t] = W(!1);
3223
- return T(() => {
3451
+ return L(() => {
3224
3452
  const o = window.matchMedia(e);
3225
3453
  t(o.matches);
3226
3454
  const n = (a) => {
@@ -3229,47 +3457,52 @@ function Y(e) {
3229
3457
  return o.addEventListener("change", n), () => o.removeEventListener("change", n);
3230
3458
  }, [e]), r;
3231
3459
  }
3232
- function Sr() {
3460
+ function Pr() {
3233
3461
  return Y("(max-width: 767px)");
3234
3462
  }
3235
- function Ar() {
3463
+ function Wr() {
3236
3464
  return Y("(min-width: 768px) and (max-width: 1023px)");
3237
3465
  }
3238
- function Lr() {
3466
+ function Br() {
3239
3467
  return Y("(min-width: 1024px)");
3240
3468
  }
3241
3469
  export {
3470
+ fr as AnimatedText,
3242
3471
  Ye as Badge,
3243
- O as Button,
3244
- dr as Card,
3245
- pr as CardContent,
3246
- gr as CardDescription,
3247
- br as CardFooter,
3248
- ur as CardHeader,
3249
- mr as CardTitle,
3250
- hr as CommandBox,
3251
- xr as Footer,
3252
- vr as Hero,
3253
- D as Icon,
3472
+ V as Button,
3473
+ xr as Card,
3474
+ kr as CardContent,
3475
+ wr as CardDescription,
3476
+ Nr as CardFooter,
3477
+ vr as CardHeader,
3478
+ yr as CardTitle,
3479
+ Mr as CommandBox,
3480
+ Sr as Footer,
3481
+ hr as HamburgerIcon,
3482
+ Er as Hero,
3483
+ O as Icon,
3254
3484
  er as Input,
3255
- fr as Nav,
3485
+ Cr as MobileDrawer,
3486
+ zr as Nav,
3256
3487
  Z as NavLink,
3257
- yr as Section,
3258
- wr as SectionHeader,
3488
+ pr as NoiseOverlay,
3489
+ br as ScrollIndicator,
3490
+ Ar as Section,
3491
+ Lr as SectionHeader,
3259
3492
  ce as ThemeToggle,
3260
- ir as borderRadius,
3493
+ mr as borderRadius,
3261
3494
  g as cn,
3262
- ar as colors,
3263
- cr as effects,
3264
- Cr as formatShortcut,
3265
- Mr as getModifierKey,
3266
- lr as spacing,
3267
- sr as typography,
3268
- Lr as useIsDesktop,
3269
- Sr as useIsMobile,
3270
- Ar as useIsTablet,
3271
- Nr as useKeyboardShortcuts,
3495
+ cr as colors,
3496
+ gr as effects,
3497
+ Gr as formatShortcut,
3498
+ Ir as getModifierKey,
3499
+ ur as spacing,
3500
+ dr as typography,
3501
+ Br as useIsDesktop,
3502
+ Pr as useIsMobile,
3503
+ Wr as useIsTablet,
3504
+ jr as useKeyboardShortcuts,
3272
3505
  Y as useMediaQuery,
3273
- zr as useReducedMotion,
3274
- kr as useTheme
3506
+ Tr as useReducedMotion,
3507
+ Rr as useTheme
3275
3508
  };