cyberui-2045 2.1.1 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,5 +1,5 @@
1
- import Ee, { useCallback as D, useState as X, useEffect as ae, useRef as te, useId as Fe, memo as $e, useMemo as be, createContext as lt, useContext as it } from "react";
2
- import { createPortal as Be } from "react-dom";
1
+ import Ee, { useCallback as D, useState as Z, useEffect as oe, useRef as te, useId as Be, memo as _e, useMemo as pe, createContext as lt, useContext as it } from "react";
2
+ import { createPortal as Fe } from "react-dom";
3
3
  var ve = { exports: {} }, he = {};
4
4
  /**
5
5
  * @license React
@@ -48,38 +48,38 @@ function dt() {
48
48
  function e(o) {
49
49
  if (o == null) return null;
50
50
  if (typeof o == "function")
51
- return o.$$typeof === U ? null : o.displayName || o.name || null;
51
+ return o.$$typeof === V ? null : o.displayName || o.name || null;
52
52
  if (typeof o == "string") return o;
53
53
  switch (o) {
54
- case y:
54
+ case x:
55
55
  return "Fragment";
56
56
  case A:
57
57
  return "Profiler";
58
- case w:
58
+ case v:
59
59
  return "StrictMode";
60
- case k:
60
+ case C:
61
61
  return "Suspense";
62
- case L:
63
- return "SuspenseList";
64
62
  case z:
63
+ return "SuspenseList";
64
+ case M:
65
65
  return "Activity";
66
66
  }
67
67
  if (typeof o == "object")
68
68
  switch (typeof o.tag == "number" && console.error(
69
69
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
70
70
  ), o.$$typeof) {
71
- case v:
71
+ case w:
72
72
  return "Portal";
73
- case _:
73
+ case T:
74
74
  return (o.displayName || "Context") + ".Provider";
75
- case C:
75
+ case N:
76
76
  return (o._context.displayName || "Context") + ".Consumer";
77
- case $:
77
+ case _:
78
78
  var u = o.render;
79
79
  return o = o.displayName, o || (o = u.displayName || u.name || "", o = o !== "" ? "ForwardRef(" + o + ")" : "ForwardRef"), o;
80
80
  case G:
81
81
  return u = o.displayName || null, u !== null ? u : e(o.type) || "Memo";
82
- case h:
82
+ case f:
83
83
  u = o._payload, o = o._init;
84
84
  try {
85
85
  return e(o(u));
@@ -100,8 +100,8 @@ function dt() {
100
100
  }
101
101
  if (u) {
102
102
  u = console;
103
- var f = u.error, R = typeof Symbol == "function" && Symbol.toStringTag && o[Symbol.toStringTag] || o.constructor.name || "Object";
104
- return f.call(
103
+ var b = u.error, R = typeof Symbol == "function" && Symbol.toStringTag && o[Symbol.toStringTag] || o.constructor.name || "Object";
104
+ return b.call(
105
105
  u,
106
106
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
107
107
  R
@@ -109,8 +109,8 @@ function dt() {
109
109
  }
110
110
  }
111
111
  function s(o) {
112
- if (o === y) return "<>";
113
- if (typeof o == "object" && o !== null && o.$$typeof === h)
112
+ if (o === x) return "<>";
113
+ if (typeof o == "object" && o !== null && o.$$typeof === f)
114
114
  return "<...>";
115
115
  try {
116
116
  var u = e(o);
@@ -120,7 +120,7 @@ function dt() {
120
120
  }
121
121
  }
122
122
  function n() {
123
- var o = q.A;
123
+ var o = X.A;
124
124
  return o === null ? null : o.getOwner();
125
125
  }
126
126
  function c() {
@@ -134,31 +134,31 @@ function dt() {
134
134
  return o.key !== void 0;
135
135
  }
136
136
  function i(o, u) {
137
- function f() {
138
- B || (B = !0, console.error(
137
+ function b() {
138
+ F || (F = !0, console.error(
139
139
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
140
140
  u
141
141
  ));
142
142
  }
143
- f.isReactWarning = !0, Object.defineProperty(o, "key", {
144
- get: f,
143
+ b.isReactWarning = !0, Object.defineProperty(o, "key", {
144
+ get: b,
145
145
  configurable: !0
146
146
  });
147
147
  }
148
148
  function d() {
149
149
  var o = e(this.type);
150
- return H[o] || (H[o] = !0, console.error(
150
+ return U[o] || (U[o] = !0, console.error(
151
151
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
152
152
  )), o = this.props.ref, o !== void 0 ? o : null;
153
153
  }
154
- function x(o, u, f, R, S, E, O, W) {
155
- return f = E.ref, o = {
156
- $$typeof: p,
154
+ function g(o, u, b, R, S, E, I, W) {
155
+ return b = E.ref, o = {
156
+ $$typeof: h,
157
157
  type: o,
158
158
  key: u,
159
159
  props: E,
160
160
  _owner: S
161
- }, (f !== void 0 ? f : null) !== null ? Object.defineProperty(o, "ref", {
161
+ }, (b !== void 0 ? b : null) !== null ? Object.defineProperty(o, "ref", {
162
162
  enumerable: !1,
163
163
  get: d
164
164
  }) : Object.defineProperty(o, "ref", { enumerable: !1, value: null }), o._store = {}, Object.defineProperty(o._store, "validated", {
@@ -175,7 +175,7 @@ function dt() {
175
175
  configurable: !1,
176
176
  enumerable: !1,
177
177
  writable: !0,
178
- value: O
178
+ value: I
179
179
  }), Object.defineProperty(o, "_debugTask", {
180
180
  configurable: !1,
181
181
  enumerable: !1,
@@ -183,25 +183,25 @@ function dt() {
183
183
  value: W
184
184
  }), Object.freeze && (Object.freeze(o.props), Object.freeze(o)), o;
185
185
  }
186
- function b(o, u, f, R, S, E, O, W) {
187
- var I = u.children;
188
- if (I !== void 0)
186
+ function m(o, u, b, R, S, E, I, W) {
187
+ var O = u.children;
188
+ if (O !== void 0)
189
189
  if (R)
190
- if (re(I)) {
191
- for (R = 0; R < I.length; R++)
192
- g(I[R]);
193
- Object.freeze && Object.freeze(I);
190
+ if (re(O)) {
191
+ for (R = 0; R < O.length; R++)
192
+ y(O[R]);
193
+ Object.freeze && Object.freeze(O);
194
194
  } else
195
195
  console.error(
196
196
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
197
197
  );
198
- else g(I);
198
+ else y(O);
199
199
  if (Q.call(u, "key")) {
200
- I = e(o);
201
- var M = Object.keys(u).filter(function(se) {
200
+ O = e(o);
201
+ var L = Object.keys(u).filter(function(se) {
202
202
  return se !== "key";
203
203
  });
204
- R = 0 < M.length ? "{key: someKey, " + M.join(": ..., ") + ": ...}" : "{key: someKey}", K[I + R] || (M = 0 < M.length ? "{" + M.join(": ..., ") + ": ...}" : "{}", console.error(
204
+ R = 0 < L.length ? "{key: someKey, " + L.join(": ..., ") + ": ...}" : "{key: someKey}", K[O + R] || (L = 0 < L.length ? "{" + L.join(": ..., ") + ": ...}" : "{}", console.error(
205
205
  `A props object containing a "key" prop is being spread into JSX:
206
206
  let props = %s;
207
207
  <%s {...props} />
@@ -209,67 +209,67 @@ React keys must be passed directly to JSX without using spread:
209
209
  let props = %s;
210
210
  <%s key={someKey} {...props} />`,
211
211
  R,
212
- I,
213
- M,
214
- I
215
- ), K[I + R] = !0);
212
+ O,
213
+ L,
214
+ O
215
+ ), K[O + R] = !0);
216
216
  }
217
- if (I = null, f !== void 0 && (a(f), I = "" + f), l(u) && (a(u.key), I = "" + u.key), "key" in u) {
218
- f = {};
219
- for (var F in u)
220
- F !== "key" && (f[F] = u[F]);
221
- } else f = u;
222
- return I && i(
223
- f,
217
+ if (O = null, b !== void 0 && (a(b), O = "" + b), l(u) && (a(u.key), O = "" + u.key), "key" in u) {
218
+ b = {};
219
+ for (var B in u)
220
+ B !== "key" && (b[B] = u[B]);
221
+ } else b = u;
222
+ return O && i(
223
+ b,
224
224
  typeof o == "function" ? o.displayName || o.name || "Unknown" : o
225
- ), x(
225
+ ), g(
226
226
  o,
227
- I,
227
+ O,
228
228
  E,
229
229
  S,
230
230
  n(),
231
- f,
232
- O,
231
+ b,
232
+ I,
233
233
  W
234
234
  );
235
235
  }
236
- function g(o) {
237
- typeof o == "object" && o !== null && o.$$typeof === p && o._store && (o._store.validated = 1);
236
+ function y(o) {
237
+ typeof o == "object" && o !== null && o.$$typeof === h && o._store && (o._store.validated = 1);
238
238
  }
239
- var m = Ee, p = Symbol.for("react.transitional.element"), v = Symbol.for("react.portal"), y = Symbol.for("react.fragment"), w = Symbol.for("react.strict_mode"), A = Symbol.for("react.profiler"), C = Symbol.for("react.consumer"), _ = Symbol.for("react.context"), $ = Symbol.for("react.forward_ref"), k = Symbol.for("react.suspense"), L = Symbol.for("react.suspense_list"), G = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), z = Symbol.for("react.activity"), U = Symbol.for("react.client.reference"), q = m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, Q = Object.prototype.hasOwnProperty, re = Array.isArray, ee = console.createTask ? console.createTask : function() {
239
+ var p = Ee, h = Symbol.for("react.transitional.element"), w = Symbol.for("react.portal"), x = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), A = Symbol.for("react.profiler"), N = Symbol.for("react.consumer"), T = Symbol.for("react.context"), _ = Symbol.for("react.forward_ref"), C = Symbol.for("react.suspense"), z = Symbol.for("react.suspense_list"), G = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), M = Symbol.for("react.activity"), V = Symbol.for("react.client.reference"), X = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, Q = Object.prototype.hasOwnProperty, re = Array.isArray, ee = console.createTask ? console.createTask : function() {
240
240
  return null;
241
241
  };
242
- m = {
242
+ p = {
243
243
  react_stack_bottom_frame: function(o) {
244
244
  return o();
245
245
  }
246
246
  };
247
- var B, H = {}, Z = m.react_stack_bottom_frame.bind(
248
- m,
247
+ var F, U = {}, q = p.react_stack_bottom_frame.bind(
248
+ p,
249
249
  c
250
250
  )(), Y = ee(s(c)), K = {};
251
- ge.Fragment = y, ge.jsx = function(o, u, f, R, S) {
252
- var E = 1e4 > q.recentlyCreatedOwnerStacks++;
253
- return b(
251
+ ge.Fragment = x, ge.jsx = function(o, u, b, R, S) {
252
+ var E = 1e4 > X.recentlyCreatedOwnerStacks++;
253
+ return m(
254
254
  o,
255
255
  u,
256
- f,
256
+ b,
257
257
  !1,
258
258
  R,
259
259
  S,
260
- E ? Error("react-stack-top-frame") : Z,
260
+ E ? Error("react-stack-top-frame") : q,
261
261
  E ? ee(s(o)) : Y
262
262
  );
263
- }, ge.jsxs = function(o, u, f, R, S) {
264
- var E = 1e4 > q.recentlyCreatedOwnerStacks++;
265
- return b(
263
+ }, ge.jsxs = function(o, u, b, R, S) {
264
+ var E = 1e4 > X.recentlyCreatedOwnerStacks++;
265
+ return m(
266
266
  o,
267
267
  u,
268
- f,
268
+ b,
269
269
  !0,
270
270
  R,
271
271
  S,
272
- E ? Error("react-stack-top-frame") : Z,
272
+ E ? Error("react-stack-top-frame") : q,
273
273
  E ? ee(s(o)) : Y
274
274
  );
275
275
  };
@@ -280,8 +280,8 @@ function ut() {
280
280
  return Le || (Le = 1, process.env.NODE_ENV === "production" ? ve.exports = ct() : ve.exports = dt()), ve.exports;
281
281
  }
282
282
  var t = ut();
283
- const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
284
- if (!Te(e))
283
+ const $e = (e) => typeof e == "object" && e !== null, H = (e, r) => {
284
+ if (!$e(e))
285
285
  return r[e] || "";
286
286
  const a = [];
287
287
  if (e.base && r[e.base] && a.push(r[e.base]), e.sm && r[e.sm]) {
@@ -305,7 +305,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
305
305
  a.push(...s);
306
306
  }
307
307
  return a.join(" ");
308
- }, pr = (...e) => e.filter(Boolean).join(" "), oe = {
308
+ }, vr = (...e) => e.filter(Boolean).join(" "), ae = {
309
309
  button: {
310
310
  sm: "py-1 px-4 text-sm",
311
311
  md: "py-2 px-6 text-lg",
@@ -366,7 +366,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
366
366
  xl: 1280,
367
367
  "2xl": 1536
368
368
  }, ft = (e, r, a) => {
369
- if (!Te(e))
369
+ if (!$e(e))
370
370
  return e ?? a;
371
371
  let s = e.base ?? a;
372
372
  const n = ["sm", "md", "lg", "xl", "2xl"];
@@ -379,16 +379,16 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
379
379
  const a = D(
380
380
  () => typeof window > "u" ? r : ft(e, window.innerWidth, r),
381
381
  [r, e]
382
- ), [s, n] = X(a);
383
- return ae(() => {
384
- if (!Te(e)) {
382
+ ), [s, n] = Z(a);
383
+ return oe(() => {
384
+ if (!$e(e)) {
385
385
  n(e ?? r);
386
386
  return;
387
387
  }
388
388
  const c = () => n(a());
389
389
  return c(), window.addEventListener("resize", c), () => window.removeEventListener("resize", c);
390
390
  }, [r, a, e]), s;
391
- }, bt = ({
391
+ }, pt = ({
392
392
  tabs: e,
393
393
  activeTab: r,
394
394
  onTabChange: a,
@@ -398,75 +398,75 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
398
398
  menuClassName: l = "",
399
399
  menuItemClassName: i = "",
400
400
  dropdownLabel: d,
401
- anchorIcon: x,
402
- showAnchorLabel: b = !0,
403
- anchorAriaLabel: g,
404
- closeOnSelect: m = !0
401
+ anchorIcon: g,
402
+ showAnchorLabel: m = !0,
403
+ anchorAriaLabel: y,
404
+ closeOnSelect: p = !0
405
405
  }) => {
406
- const [p, v] = X(!1), [y, w] = X(!1), [A, C] = X(!1), [_, $] = X(!1), k = te(null), L = te(null);
407
- ae(() => {
408
- if (!p) return;
409
- const h = (z) => {
410
- k.current && !k.current.contains(z.target) && (C(!0), setTimeout(() => {
411
- v(!1), C(!1);
406
+ const [h, w] = Z(!1), [x, v] = Z(!1), [A, N] = Z(!1), [T, _] = Z(!1), C = te(null), z = te(null);
407
+ oe(() => {
408
+ if (!h) return;
409
+ const f = (M) => {
410
+ C.current && !C.current.contains(M.target) && (N(!0), setTimeout(() => {
411
+ w(!1), N(!1);
412
412
  }, 180));
413
413
  };
414
- return document.addEventListener("mousedown", h), () => document.removeEventListener("mousedown", h);
415
- }, [p]), ae(() => {
416
- if (!p) return;
417
- const h = L.current;
414
+ return document.addEventListener("mousedown", f), () => document.removeEventListener("mousedown", f);
415
+ }, [h]), oe(() => {
418
416
  if (!h) return;
419
- const z = h.getBoundingClientRect();
420
- $(z.right > window.innerWidth);
421
- }, [p]);
417
+ const f = z.current;
418
+ if (!f) return;
419
+ const M = f.getBoundingClientRect();
420
+ _(M.right > window.innerWidth);
421
+ }, [h]);
422
422
  const G = () => {
423
- p ? (C(!0), setTimeout(() => {
424
- v(!1), C(!1);
425
- }, 180)) : (w(!0), v(!0), setTimeout(() => w(!1), 30));
423
+ h ? (N(!0), setTimeout(() => {
424
+ w(!1), N(!1);
425
+ }, 180)) : (v(!0), w(!0), setTimeout(() => v(!1), 30));
426
426
  };
427
- return /* @__PURE__ */ t.jsx("div", { className: `${n}`, children: /* @__PURE__ */ t.jsxs("div", { ref: k, className: "relative inline-block", children: [
427
+ return /* @__PURE__ */ t.jsx("div", { className: `${n}`, children: /* @__PURE__ */ t.jsxs("div", { ref: C, className: "relative inline-block", children: [
428
428
  /* @__PURE__ */ t.jsxs(
429
429
  "button",
430
430
  {
431
431
  onClick: G,
432
432
  className: `inline-flex items-center gap-2 ${s} bg-surface text-default border-2 border-border-default rounded-lg transition-all duration-300 hover:text-secondary hover:border-secondary hover:cursor-pointer shadow-secondary/30 ${c}`,
433
433
  "aria-haspopup": "menu",
434
- "aria-expanded": p,
435
- "aria-label": b ? void 0 : g ?? (typeof d == "string" ? d : "Open tabs"),
434
+ "aria-expanded": h,
435
+ "aria-label": m ? void 0 : y ?? (typeof d == "string" ? d : "Open tabs"),
436
436
  children: [
437
- x ?? /* @__PURE__ */ t.jsxs("svg", { className: "w-5 h-5", viewBox: "0 0 20 20", fill: "currentColor", "aria-hidden": "true", children: [
437
+ g ?? /* @__PURE__ */ t.jsxs("svg", { className: "w-5 h-5", viewBox: "0 0 20 20", fill: "currentColor", "aria-hidden": "true", children: [
438
438
  /* @__PURE__ */ t.jsx("rect", { x: "3", y: "5", width: "14", height: "2", rx: "1" }),
439
439
  /* @__PURE__ */ t.jsx("rect", { x: "3", y: "9", width: "14", height: "2", rx: "1" }),
440
440
  /* @__PURE__ */ t.jsx("rect", { x: "3", y: "13", width: "14", height: "2", rx: "1" })
441
441
  ] }),
442
- b && /* @__PURE__ */ t.jsx("span", { children: d ?? r })
442
+ m && /* @__PURE__ */ t.jsx("span", { children: d ?? r })
443
443
  ]
444
444
  }
445
445
  ),
446
- (p || A) && /* @__PURE__ */ t.jsx(
446
+ (h || A) && /* @__PURE__ */ t.jsx(
447
447
  "div",
448
448
  {
449
- ref: L,
450
- "aria-hidden": !p,
451
- className: `absolute ${_ ? "right-0" : "left-0"} mt-2 min-w-40 z-50 bg-surface border-2 border-border-default rounded-lg shadow-secondary overflow-hidden ${l}
452
- transition-transform transition-opacity duration-200 ease-[cubic-bezier(.2,0,0,1)] transform-gpu origin-top will-change-transform will-change-opacity ${y || A ? "opacity-0 scale-y-0 pointer-events-none" : "opacity-100 scale-y-100 pointer-events-auto"}`,
453
- children: /* @__PURE__ */ t.jsx("div", { className: "py-1", children: e.map((h) => /* @__PURE__ */ t.jsx(
449
+ ref: z,
450
+ "aria-hidden": !h,
451
+ className: `absolute ${T ? "right-0" : "left-0"} mt-2 min-w-40 z-50 bg-surface border-2 border-border-default rounded-lg shadow-secondary overflow-hidden ${l}
452
+ transition-transform transition-opacity duration-200 ease-[cubic-bezier(.2,0,0,1)] transform-gpu origin-top will-change-transform will-change-opacity ${x || A ? "opacity-0 scale-y-0 pointer-events-none" : "opacity-100 scale-y-100 pointer-events-auto"}`,
453
+ children: /* @__PURE__ */ t.jsx("div", { className: "py-1", children: e.map((f) => /* @__PURE__ */ t.jsx(
454
454
  "button",
455
455
  {
456
456
  onClick: () => {
457
- a(h), m && (C(!0), setTimeout(() => {
458
- v(!1), C(!1);
457
+ a(f), p && (N(!0), setTimeout(() => {
458
+ w(!1), N(!1);
459
459
  }, 180));
460
460
  },
461
- className: `w-full flex items-center justify-between text-left px-4 py-2 font-bold transition-colors duration-200 outline-none hover:cursor-pointer ${r === h ? "text-secondary relative pl-4 before:content-[''] before:h-full before:absolute before:left-0 before:top-1/2 before:-translate-y-1/2 before:h-4 before:w-[3px] before:rounded before:bg-accent before:shadow-lg-accent" : "text-default hover:text-secondary hover:bg-base/70"} ${i}`,
462
- children: /* @__PURE__ */ t.jsx("span", { children: h })
461
+ className: `w-full flex items-center justify-between text-left px-4 py-2 font-bold transition-colors duration-200 outline-none hover:cursor-pointer ${r === f ? "text-secondary relative pl-4 before:content-[''] before:h-full before:absolute before:left-0 before:top-1/2 before:-translate-y-1/2 before:h-4 before:w-[3px] before:rounded before:bg-accent before:shadow-lg-accent" : "text-default hover:text-secondary hover:bg-base/70"} ${i}`,
462
+ children: /* @__PURE__ */ t.jsx("span", { children: f })
463
463
  },
464
- h
464
+ f
465
465
  )) })
466
466
  }
467
467
  )
468
468
  ] }) });
469
- }, hr = ({
469
+ }, wr = ({
470
470
  tabs: e,
471
471
  activeTab: r,
472
472
  onTabChange: a,
@@ -476,14 +476,14 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
476
476
  tabsClassName: l = "",
477
477
  dropdownLabel: i,
478
478
  anchorIcon: d,
479
- showAnchorLabel: x = !0,
480
- anchorAriaLabel: b,
481
- closeOnSelect: g = !0,
482
- anchorClassName: m = "",
483
- menuClassName: p = "",
484
- menuItemClassName: v = ""
479
+ showAnchorLabel: g = !0,
480
+ anchorAriaLabel: m,
481
+ closeOnSelect: y = !0,
482
+ anchorClassName: p = "",
483
+ menuClassName: h = "",
484
+ menuItemClassName: w = ""
485
485
  }) => {
486
- const w = (($) => V($, oe.tabNavigation))(s), A = Ve(n, "scroll"), C = () => {
486
+ const v = ((_) => H(_, ae.tabNavigation))(s), A = Ve(n, "scroll"), N = () => {
487
487
  switch (A) {
488
488
  case "scroll":
489
489
  return "w-full overflow-x-auto overflow-y-hidden scrollbar-thin scrollbar-thumb-border-default scrollbar-track-transparent hover:scrollbar-thumb-secondary/50 py-1";
@@ -496,43 +496,43 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
496
496
  default:
497
497
  return "flex space-x-2";
498
498
  }
499
- }, _ = /* @__PURE__ */ t.jsx(t.Fragment, { children: e.map(($) => /* @__PURE__ */ t.jsx(
499
+ }, T = /* @__PURE__ */ t.jsx(t.Fragment, { children: e.map((_) => /* @__PURE__ */ t.jsx(
500
500
  "button",
501
501
  {
502
- onClick: () => a($),
502
+ onClick: () => a(_),
503
503
  className: `
504
- ${w} font-bold transition-colors duration-200 rounded-t-lg cursor-pointer whitespace-nowrap flex-shrink-0 relative
504
+ ${v} font-bold transition-colors duration-200 rounded-t-lg cursor-pointer whitespace-nowrap flex-shrink-0 relative
505
505
  after:content-[''] after:absolute after:left-0 after:right-0 after:-bottom-[2px] after:h-[2px] after:w-full after:scale-x-0 after:origin-center after:transition-transform after:duration-300 after:ease-out
506
506
  before:content-[''] before:absolute before:left-1/2 before:-translate-x-1/2 before:-bottom-[6px] before:w-1.5 before:h-1.5 before:bg-accent before:rotate-45 before:rounded-[2px] before:opacity-0 before:transition-opacity before:duration-200
507
- ${r === $ ? "text-secondary after:bg-linear-(--gradient-accent) after:shadow-lg-accent after:scale-x-100" : "text-muted hover:text-secondary hover:before:opacity-70"}
507
+ ${r === _ ? "text-secondary after:bg-linear-(--gradient-accent) after:shadow-lg-accent after:scale-x-100" : "text-muted hover:text-secondary hover:before:opacity-70"}
508
508
  ${l}
509
509
  `,
510
510
  role: "tab",
511
- "aria-selected": r === $,
512
- tabIndex: r === $ ? 0 : -1,
513
- children: $
511
+ "aria-selected": r === _,
512
+ tabIndex: r === _ ? 0 : -1,
513
+ children: _
514
514
  },
515
- $
515
+ _
516
516
  )) });
517
517
  return A === "dropdown" ? /* @__PURE__ */ t.jsx(
518
- bt,
518
+ pt,
519
519
  {
520
520
  tabs: e,
521
521
  activeTab: r,
522
522
  onTabChange: a,
523
- sizeClasses: w,
523
+ sizeClasses: v,
524
524
  containerClassName: c,
525
- anchorClassName: m,
526
- menuClassName: p,
527
- menuItemClassName: v,
525
+ anchorClassName: p,
526
+ menuClassName: h,
527
+ menuItemClassName: w,
528
528
  dropdownLabel: i,
529
529
  anchorIcon: d,
530
- showAnchorLabel: x,
531
- anchorAriaLabel: b,
532
- closeOnSelect: g
530
+ showAnchorLabel: g,
531
+ anchorAriaLabel: m,
532
+ closeOnSelect: y
533
533
  }
534
- ) : A === "scroll" ? /* @__PURE__ */ t.jsx("div", { className: `${C()} ${c}`, role: "tablist", "aria-label": "Tabs", children: /* @__PURE__ */ t.jsx("div", { className: "w-max mx-auto flex space-x-2", children: _ }) }) : /* @__PURE__ */ t.jsx("div", { className: `${C()} ${c}`, role: "tablist", "aria-label": "Tabs", children: _ });
535
- }, pt = (e, r) => {
534
+ ) : A === "scroll" ? /* @__PURE__ */ t.jsx("div", { className: `${N()} ${c}`, role: "tablist", "aria-label": "Tabs", children: /* @__PURE__ */ t.jsx("div", { className: "w-max mx-auto flex space-x-2", children: T }) }) : /* @__PURE__ */ t.jsx("div", { className: `${N()} ${c}`, role: "tablist", "aria-label": "Tabs", children: T });
535
+ }, bt = (e, r) => {
536
536
  const a = new Array(e.length + r.length);
537
537
  for (let s = 0; s < e.length; s++)
538
538
  a[s] = e[s];
@@ -542,7 +542,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
542
542
  }, ht = (e, r) => ({
543
543
  classGroupId: e,
544
544
  validator: r
545
- }), Ue = (e = /* @__PURE__ */ new Map(), r = null, a) => ({
545
+ }), He = (e = /* @__PURE__ */ new Map(), r = null, a) => ({
546
546
  nextPart: e,
547
547
  validators: r,
548
548
  classGroupId: a
@@ -556,32 +556,32 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
556
556
  if (l.startsWith("[") && l.endsWith("]"))
557
557
  return yt(l);
558
558
  const i = l.split(Ne), d = i[0] === "" && i.length > 1 ? 1 : 0;
559
- return He(i, d, r);
559
+ return Ue(i, d, r);
560
560
  },
561
561
  getConflictingClassGroupIds: (l, i) => {
562
562
  if (i) {
563
- const d = s[l], x = a[l];
564
- return d ? x ? pt(x, d) : d : x || ze;
563
+ const d = s[l], g = a[l];
564
+ return d ? g ? bt(g, d) : d : g || ze;
565
565
  }
566
566
  return a[l] || ze;
567
567
  }
568
568
  };
569
- }, He = (e, r, a) => {
569
+ }, Ue = (e, r, a) => {
570
570
  if (e.length - r === 0)
571
571
  return a.classGroupId;
572
572
  const n = e[r], c = a.nextPart.get(n);
573
573
  if (c) {
574
- const x = He(e, r + 1, c);
575
- if (x) return x;
574
+ const g = Ue(e, r + 1, c);
575
+ if (g) return g;
576
576
  }
577
577
  const l = a.validators;
578
578
  if (l === null)
579
579
  return;
580
580
  const i = r === 0 ? e.join(Ne) : e.slice(r).join(Ne), d = l.length;
581
- for (let x = 0; x < d; x++) {
582
- const b = l[x];
583
- if (b.validator(i))
584
- return b.classGroupId;
581
+ for (let g = 0; g < d; g++) {
582
+ const m = l[g];
583
+ if (m.validator(i))
584
+ return m.classGroupId;
585
585
  }
586
586
  }, yt = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
587
587
  const r = e.slice(1, -1), a = r.indexOf(":"), s = r.slice(0, a);
@@ -593,13 +593,13 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
593
593
  } = e;
594
594
  return wt(a, r);
595
595
  }, wt = (e, r) => {
596
- const a = Ue();
596
+ const a = He();
597
597
  for (const s in e) {
598
598
  const n = e[s];
599
- _e(n, a, s, r);
599
+ Te(n, a, s, r);
600
600
  }
601
601
  return a;
602
- }, _e = (e, r, a, s) => {
602
+ }, Te = (e, r, a, s) => {
603
603
  const n = e.length;
604
604
  for (let c = 0; c < n; c++) {
605
605
  const l = e[c];
@@ -620,7 +620,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
620
620
  s.classGroupId = a;
621
621
  }, Nt = (e, r, a, s) => {
622
622
  if (St(e)) {
623
- _e(e(s), r, a, s);
623
+ Te(e(s), r, a, s);
624
624
  return;
625
625
  }
626
626
  r.validators === null && (r.validators = []), r.validators.push(ht(a, e));
@@ -628,7 +628,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
628
628
  const n = Object.entries(e), c = n.length;
629
629
  for (let l = 0; l < c; l++) {
630
630
  const [i, d] = n[l];
631
- _e(d, Ye(r, i), a, s);
631
+ Te(d, Ye(r, i), a, s);
632
632
  }
633
633
  }, Ye = (e, r) => {
634
634
  let a = e;
@@ -636,7 +636,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
636
636
  for (let c = 0; c < n; c++) {
637
637
  const l = s[c];
638
638
  let i = a.nextPart.get(l);
639
- i || (i = Ue(), a.nextPart.set(l, i)), a = i;
639
+ i || (i = He(), a.nextPart.set(l, i)), a = i;
640
640
  }
641
641
  return a;
642
642
  }, St = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Et = (e) => {
@@ -663,50 +663,50 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
663
663
  c in a ? a[c] = l : n(c, l);
664
664
  }
665
665
  };
666
- }, Se = "!", Pe = ":", $t = [], Oe = (e, r, a, s, n) => ({
666
+ }, Se = "!", Pe = ":", _t = [], Ie = (e, r, a, s, n) => ({
667
667
  modifiers: e,
668
668
  hasImportantModifier: r,
669
669
  baseClassName: a,
670
670
  maybePostfixModifierPosition: s,
671
671
  isExternal: n
672
- }), Tt = (e) => {
672
+ }), $t = (e) => {
673
673
  const {
674
674
  prefix: r,
675
675
  experimentalParseClassName: a
676
676
  } = e;
677
677
  let s = (n) => {
678
678
  const c = [];
679
- let l = 0, i = 0, d = 0, x;
680
- const b = n.length;
681
- for (let y = 0; y < b; y++) {
682
- const w = n[y];
679
+ let l = 0, i = 0, d = 0, g;
680
+ const m = n.length;
681
+ for (let x = 0; x < m; x++) {
682
+ const v = n[x];
683
683
  if (l === 0 && i === 0) {
684
- if (w === Pe) {
685
- c.push(n.slice(d, y)), d = y + 1;
684
+ if (v === Pe) {
685
+ c.push(n.slice(d, x)), d = x + 1;
686
686
  continue;
687
687
  }
688
- if (w === "/") {
689
- x = y;
688
+ if (v === "/") {
689
+ g = x;
690
690
  continue;
691
691
  }
692
692
  }
693
- w === "[" ? l++ : w === "]" ? l-- : w === "(" ? i++ : w === ")" && i--;
693
+ v === "[" ? l++ : v === "]" ? l-- : v === "(" ? i++ : v === ")" && i--;
694
694
  }
695
- const g = c.length === 0 ? n : n.slice(d);
696
- let m = g, p = !1;
697
- g.endsWith(Se) ? (m = g.slice(0, -1), p = !0) : (
695
+ const y = c.length === 0 ? n : n.slice(d);
696
+ let p = y, h = !1;
697
+ y.endsWith(Se) ? (p = y.slice(0, -1), h = !0) : (
698
698
  /**
699
699
  * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
700
700
  * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
701
701
  */
702
- g.startsWith(Se) && (m = g.slice(1), p = !0)
702
+ y.startsWith(Se) && (p = y.slice(1), h = !0)
703
703
  );
704
- const v = x && x > d ? x - d : void 0;
705
- return Oe(c, p, m, v);
704
+ const w = g && g > d ? g - d : void 0;
705
+ return Ie(c, h, p, w);
706
706
  };
707
707
  if (r) {
708
708
  const n = r + Pe, c = s;
709
- s = (l) => l.startsWith(n) ? c(l.slice(n.length)) : Oe($t, !1, l, void 0, !0);
709
+ s = (l) => l.startsWith(n) ? c(l.slice(n.length)) : Ie(_t, !1, l, void 0, !0);
710
710
  }
711
711
  if (a) {
712
712
  const n = s;
@@ -716,7 +716,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
716
716
  });
717
717
  }
718
718
  return s;
719
- }, _t = (e) => {
719
+ }, Tt = (e) => {
720
720
  const r = /* @__PURE__ */ new Map();
721
721
  return e.orderSensitiveModifiers.forEach((a, s) => {
722
722
  r.set(a, 1e6 + s);
@@ -731,8 +731,8 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
731
731
  };
732
732
  }, Rt = (e) => ({
733
733
  cache: Et(e.cacheSize),
734
- parseClassName: Tt(e),
735
- sortModifiers: _t(e),
734
+ parseClassName: $t(e),
735
+ sortModifiers: Tt(e),
736
736
  ...xt(e)
737
737
  }), At = /\s+/, Mt = (e, r) => {
738
738
  const {
@@ -742,40 +742,40 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
742
742
  sortModifiers: c
743
743
  } = r, l = [], i = e.trim().split(At);
744
744
  let d = "";
745
- for (let x = i.length - 1; x >= 0; x -= 1) {
746
- const b = i[x], {
747
- isExternal: g,
748
- modifiers: m,
749
- hasImportantModifier: p,
750
- baseClassName: v,
751
- maybePostfixModifierPosition: y
752
- } = a(b);
753
- if (g) {
754
- d = b + (d.length > 0 ? " " + d : d);
745
+ for (let g = i.length - 1; g >= 0; g -= 1) {
746
+ const m = i[g], {
747
+ isExternal: y,
748
+ modifiers: p,
749
+ hasImportantModifier: h,
750
+ baseClassName: w,
751
+ maybePostfixModifierPosition: x
752
+ } = a(m);
753
+ if (y) {
754
+ d = m + (d.length > 0 ? " " + d : d);
755
755
  continue;
756
756
  }
757
- let w = !!y, A = s(w ? v.substring(0, y) : v);
757
+ let v = !!x, A = s(v ? w.substring(0, x) : w);
758
758
  if (!A) {
759
- if (!w) {
760
- d = b + (d.length > 0 ? " " + d : d);
759
+ if (!v) {
760
+ d = m + (d.length > 0 ? " " + d : d);
761
761
  continue;
762
762
  }
763
- if (A = s(v), !A) {
764
- d = b + (d.length > 0 ? " " + d : d);
763
+ if (A = s(w), !A) {
764
+ d = m + (d.length > 0 ? " " + d : d);
765
765
  continue;
766
766
  }
767
- w = !1;
767
+ v = !1;
768
768
  }
769
- const C = m.length === 0 ? "" : m.length === 1 ? m[0] : c(m).join(":"), _ = p ? C + Se : C, $ = _ + A;
770
- if (l.indexOf($) > -1)
769
+ const N = p.length === 0 ? "" : p.length === 1 ? p[0] : c(p).join(":"), T = h ? N + Se : N, _ = T + A;
770
+ if (l.indexOf(_) > -1)
771
771
  continue;
772
- l.push($);
773
- const k = n(A, w);
774
- for (let L = 0; L < k.length; ++L) {
775
- const G = k[L];
776
- l.push(_ + G);
772
+ l.push(_);
773
+ const C = n(A, v);
774
+ for (let z = 0; z < C.length; ++z) {
775
+ const G = C[z];
776
+ l.push(T + G);
777
777
  }
778
- d = b + (d.length > 0 ? " " + d : d);
778
+ d = m + (d.length > 0 ? " " + d : d);
779
779
  }
780
780
  return d;
781
781
  }, Lt = (...e) => {
@@ -793,32 +793,32 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
793
793
  }, zt = (e, ...r) => {
794
794
  let a, s, n, c;
795
795
  const l = (d) => {
796
- const x = r.reduce((b, g) => g(b), e());
797
- return a = Rt(x), s = a.cache.get, n = a.cache.set, c = i, i(d);
796
+ const g = r.reduce((m, y) => y(m), e());
797
+ return a = Rt(g), s = a.cache.get, n = a.cache.set, c = i, i(d);
798
798
  }, i = (d) => {
799
- const x = s(d);
800
- if (x)
801
- return x;
802
- const b = Mt(d, a);
803
- return n(d, b), b;
799
+ const g = s(d);
800
+ if (g)
801
+ return g;
802
+ const m = Mt(d, a);
803
+ return n(d, m), m;
804
804
  };
805
805
  return c = l, (...d) => c(Lt(...d));
806
806
  }, Pt = [], J = (e) => {
807
807
  const r = (a) => a[e] || Pt;
808
808
  return r.isThemeGetter = !0, r;
809
- }, Xe = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, qe = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Ot = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, It = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Dt = /\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$/, Gt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Wt = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ft = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, ie = (e) => Ot.test(e), P = (e) => !!e && !Number.isNaN(Number(e)), ce = (e) => !!e && Number.isInteger(Number(e)), Ce = (e) => e.endsWith("%") && P(e.slice(0, -1)), le = (e) => It.test(e), Ke = () => !0, Bt = (e) => (
809
+ }, Xe = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, qe = /^\((?:(\w[\w-]*):)?(.+)\)$/i, It = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Ot = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Dt = /\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$/, Gt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Wt = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Bt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, ie = (e) => It.test(e), P = (e) => !!e && !Number.isNaN(Number(e)), ce = (e) => !!e && Number.isInteger(Number(e)), Ce = (e) => e.endsWith("%") && P(e.slice(0, -1)), le = (e) => Ot.test(e), Ke = () => !0, Ft = (e) => (
810
810
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
811
811
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
812
812
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
813
813
  Dt.test(e) && !Gt.test(e)
814
- ), Re = () => !1, Vt = (e) => Wt.test(e), Ut = (e) => Ft.test(e), Ht = (e) => !j(e) && !N(e), Yt = (e) => de(e, et, Re), j = (e) => Xe.test(e), ue = (e) => de(e, tt, Bt), Ie = (e) => de(e, tr, P), Zt = (e) => de(e, st, Ke), Xt = (e) => de(e, rt, Re), De = (e) => de(e, Je, Re), qt = (e) => de(e, Qe, Ut), we = (e) => de(e, ot, Vt), N = (e) => qe.test(e), xe = (e) => me(e, tt), Kt = (e) => me(e, rt), Ge = (e) => me(e, Je), Jt = (e) => me(e, et), Qt = (e) => me(e, Qe), ke = (e) => me(e, ot, !0), er = (e) => me(e, st, !0), de = (e, r, a) => {
814
+ ), Re = () => !1, Vt = (e) => Wt.test(e), Ht = (e) => Bt.test(e), Ut = (e) => !k(e) && !j(e), Yt = (e) => de(e, et, Re), k = (e) => Xe.test(e), ue = (e) => de(e, tt, Ft), Oe = (e) => de(e, tr, P), Zt = (e) => de(e, st, Ke), Xt = (e) => de(e, rt, Re), De = (e) => de(e, Je, Re), qt = (e) => de(e, Qe, Ht), we = (e) => de(e, ot, Vt), j = (e) => qe.test(e), xe = (e) => me(e, tt), Kt = (e) => me(e, rt), Ge = (e) => me(e, Je), Jt = (e) => me(e, et), Qt = (e) => me(e, Qe), ke = (e) => me(e, ot, !0), er = (e) => me(e, st, !0), de = (e, r, a) => {
815
815
  const s = Xe.exec(e);
816
816
  return s ? s[1] ? r(s[1]) : a(s[2]) : !1;
817
817
  }, me = (e, r, a = !1) => {
818
818
  const s = qe.exec(e);
819
819
  return s ? s[1] ? r(s[1]) : a : !1;
820
820
  }, Je = (e) => e === "position" || e === "percentage", Qe = (e) => e === "image" || e === "url", et = (e) => e === "length" || e === "size" || e === "bg-size", tt = (e) => e === "length", tr = (e) => e === "number", rt = (e) => e === "family-name", st = (e) => e === "number" || e === "weight", ot = (e) => e === "shadow", rr = () => {
821
- const e = J("color"), r = J("font"), a = J("text"), s = J("font-weight"), n = J("tracking"), c = J("leading"), l = J("breakpoint"), i = J("container"), d = J("spacing"), x = J("radius"), b = J("shadow"), g = J("inset-shadow"), m = J("text-shadow"), p = J("drop-shadow"), v = J("blur"), y = J("perspective"), w = J("aspect"), A = J("ease"), C = J("animate"), _ = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], $ = () => [
821
+ const e = J("color"), r = J("font"), a = J("text"), s = J("font-weight"), n = J("tracking"), c = J("leading"), l = J("breakpoint"), i = J("container"), d = J("spacing"), g = J("radius"), m = J("shadow"), y = J("inset-shadow"), p = J("text-shadow"), h = J("drop-shadow"), w = J("blur"), x = J("perspective"), v = J("aspect"), A = J("ease"), N = J("animate"), T = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], _ = () => [
822
822
  "center",
823
823
  "top",
824
824
  "bottom",
@@ -836,30 +836,30 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
836
836
  "bottom-left",
837
837
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
838
838
  "left-bottom"
839
- ], k = () => [...$(), N, j], L = () => ["auto", "hidden", "clip", "visible", "scroll"], G = () => ["auto", "contain", "none"], h = () => [N, j, d], z = () => [ie, "full", "auto", ...h()], U = () => [ce, "none", "subgrid", N, j], q = () => ["auto", {
840
- span: ["full", ce, N, j]
841
- }, ce, N, j], Q = () => [ce, "auto", N, j], re = () => ["auto", "min", "max", "fr", N, j], ee = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], B = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], H = () => ["auto", ...h()], Z = () => [ie, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...h()], Y = () => [ie, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...h()], K = () => [ie, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...h()], o = () => [e, N, j], u = () => [...$(), Ge, De, {
842
- position: [N, j]
843
- }], f = () => ["no-repeat", {
839
+ ], C = () => [..._(), j, k], z = () => ["auto", "hidden", "clip", "visible", "scroll"], G = () => ["auto", "contain", "none"], f = () => [j, k, d], M = () => [ie, "full", "auto", ...f()], V = () => [ce, "none", "subgrid", j, k], X = () => ["auto", {
840
+ span: ["full", ce, j, k]
841
+ }, ce, j, k], Q = () => [ce, "auto", j, k], re = () => ["auto", "min", "max", "fr", j, k], ee = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], F = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], U = () => ["auto", ...f()], q = () => [ie, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...f()], Y = () => [ie, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...f()], K = () => [ie, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...f()], o = () => [e, j, k], u = () => [..._(), Ge, De, {
842
+ position: [j, k]
843
+ }], b = () => ["no-repeat", {
844
844
  repeat: ["", "x", "y", "space", "round"]
845
845
  }], R = () => ["auto", "cover", "contain", Jt, Yt, {
846
- size: [N, j]
846
+ size: [j, k]
847
847
  }], S = () => [Ce, xe, ue], E = () => [
848
848
  // Deprecated since Tailwind CSS v4.0.0
849
849
  "",
850
850
  "none",
851
851
  "full",
852
- x,
853
- N,
854
- j
855
- ], O = () => ["", P, xe, ue], W = () => ["solid", "dashed", "dotted", "double"], I = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], M = () => [P, Ce, Ge, De], F = () => [
852
+ g,
853
+ j,
854
+ k
855
+ ], I = () => ["", P, xe, ue], W = () => ["solid", "dashed", "dotted", "double"], O = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], L = () => [P, Ce, Ge, De], B = () => [
856
856
  // Deprecated since Tailwind CSS v4.0.0
857
857
  "",
858
858
  "none",
859
- v,
860
- N,
861
- j
862
- ], se = () => ["none", P, N, j], fe = () => ["none", P, N, j], pe = () => [P, N, j], ye = () => [ie, "full", ...h()];
859
+ w,
860
+ j,
861
+ k
862
+ ], se = () => ["none", P, j, k], fe = () => ["none", P, j, k], be = () => [P, j, k], ye = () => [ie, "full", ...f()];
863
863
  return {
864
864
  cacheSize: 500,
865
865
  theme: {
@@ -871,7 +871,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
871
871
  container: [le],
872
872
  "drop-shadow": [le],
873
873
  ease: ["in", "out", "in-out"],
874
- font: [Ht],
874
+ font: [Ut],
875
875
  "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
876
876
  "inset-shadow": [le],
877
877
  leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
@@ -892,7 +892,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
892
892
  * @see https://tailwindcss.com/docs/aspect-ratio
893
893
  */
894
894
  aspect: [{
895
- aspect: ["auto", "square", ie, j, N, w]
895
+ aspect: ["auto", "square", ie, k, j, v]
896
896
  }],
897
897
  /**
898
898
  * Container
@@ -905,21 +905,21 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
905
905
  * @see https://tailwindcss.com/docs/columns
906
906
  */
907
907
  columns: [{
908
- columns: [P, j, N, i]
908
+ columns: [P, k, j, i]
909
909
  }],
910
910
  /**
911
911
  * Break After
912
912
  * @see https://tailwindcss.com/docs/break-after
913
913
  */
914
914
  "break-after": [{
915
- "break-after": _()
915
+ "break-after": T()
916
916
  }],
917
917
  /**
918
918
  * Break Before
919
919
  * @see https://tailwindcss.com/docs/break-before
920
920
  */
921
921
  "break-before": [{
922
- "break-before": _()
922
+ "break-before": T()
923
923
  }],
924
924
  /**
925
925
  * Break Inside
@@ -983,28 +983,28 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
983
983
  * @see https://tailwindcss.com/docs/object-position
984
984
  */
985
985
  "object-position": [{
986
- object: k()
986
+ object: C()
987
987
  }],
988
988
  /**
989
989
  * Overflow
990
990
  * @see https://tailwindcss.com/docs/overflow
991
991
  */
992
992
  overflow: [{
993
- overflow: L()
993
+ overflow: z()
994
994
  }],
995
995
  /**
996
996
  * Overflow X
997
997
  * @see https://tailwindcss.com/docs/overflow
998
998
  */
999
999
  "overflow-x": [{
1000
- "overflow-x": L()
1000
+ "overflow-x": z()
1001
1001
  }],
1002
1002
  /**
1003
1003
  * Overflow Y
1004
1004
  * @see https://tailwindcss.com/docs/overflow
1005
1005
  */
1006
1006
  "overflow-y": [{
1007
- "overflow-y": L()
1007
+ "overflow-y": z()
1008
1008
  }],
1009
1009
  /**
1010
1010
  * Overscroll Behavior
@@ -1037,21 +1037,21 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
1037
1037
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1038
1038
  */
1039
1039
  inset: [{
1040
- inset: z()
1040
+ inset: M()
1041
1041
  }],
1042
1042
  /**
1043
1043
  * Inset Inline
1044
1044
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1045
1045
  */
1046
1046
  "inset-x": [{
1047
- "inset-x": z()
1047
+ "inset-x": M()
1048
1048
  }],
1049
1049
  /**
1050
1050
  * Inset Block
1051
1051
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1052
1052
  */
1053
1053
  "inset-y": [{
1054
- "inset-y": z()
1054
+ "inset-y": M()
1055
1055
  }],
1056
1056
  /**
1057
1057
  * Inset Inline Start
@@ -1059,12 +1059,12 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
1059
1059
  * @todo class group will be renamed to `inset-s` in next major release
1060
1060
  */
1061
1061
  start: [{
1062
- "inset-s": z(),
1062
+ "inset-s": M(),
1063
1063
  /**
1064
1064
  * @deprecated since Tailwind CSS v4.2.0 in favor of `inset-s-*` utilities.
1065
1065
  * @see https://github.com/tailwindlabs/tailwindcss/pull/19613
1066
1066
  */
1067
- start: z()
1067
+ start: M()
1068
1068
  }],
1069
1069
  /**
1070
1070
  * Inset Inline End
@@ -1072,54 +1072,54 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
1072
1072
  * @todo class group will be renamed to `inset-e` in next major release
1073
1073
  */
1074
1074
  end: [{
1075
- "inset-e": z(),
1075
+ "inset-e": M(),
1076
1076
  /**
1077
1077
  * @deprecated since Tailwind CSS v4.2.0 in favor of `inset-e-*` utilities.
1078
1078
  * @see https://github.com/tailwindlabs/tailwindcss/pull/19613
1079
1079
  */
1080
- end: z()
1080
+ end: M()
1081
1081
  }],
1082
1082
  /**
1083
1083
  * Inset Block Start
1084
1084
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1085
1085
  */
1086
1086
  "inset-bs": [{
1087
- "inset-bs": z()
1087
+ "inset-bs": M()
1088
1088
  }],
1089
1089
  /**
1090
1090
  * Inset Block End
1091
1091
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1092
1092
  */
1093
1093
  "inset-be": [{
1094
- "inset-be": z()
1094
+ "inset-be": M()
1095
1095
  }],
1096
1096
  /**
1097
1097
  * Top
1098
1098
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1099
1099
  */
1100
1100
  top: [{
1101
- top: z()
1101
+ top: M()
1102
1102
  }],
1103
1103
  /**
1104
1104
  * Right
1105
1105
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1106
1106
  */
1107
1107
  right: [{
1108
- right: z()
1108
+ right: M()
1109
1109
  }],
1110
1110
  /**
1111
1111
  * Bottom
1112
1112
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1113
1113
  */
1114
1114
  bottom: [{
1115
- bottom: z()
1115
+ bottom: M()
1116
1116
  }],
1117
1117
  /**
1118
1118
  * Left
1119
1119
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1120
1120
  */
1121
1121
  left: [{
1122
- left: z()
1122
+ left: M()
1123
1123
  }],
1124
1124
  /**
1125
1125
  * Visibility
@@ -1131,7 +1131,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
1131
1131
  * @see https://tailwindcss.com/docs/z-index
1132
1132
  */
1133
1133
  z: [{
1134
- z: [ce, "auto", N, j]
1134
+ z: [ce, "auto", j, k]
1135
1135
  }],
1136
1136
  // ------------------------
1137
1137
  // --- Flexbox and Grid ---
@@ -1141,7 +1141,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
1141
1141
  * @see https://tailwindcss.com/docs/flex-basis
1142
1142
  */
1143
1143
  basis: [{
1144
- basis: [ie, "full", "auto", i, ...h()]
1144
+ basis: [ie, "full", "auto", i, ...f()]
1145
1145
  }],
1146
1146
  /**
1147
1147
  * Flex Direction
@@ -1162,42 +1162,42 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
1162
1162
  * @see https://tailwindcss.com/docs/flex
1163
1163
  */
1164
1164
  flex: [{
1165
- flex: [P, ie, "auto", "initial", "none", j]
1165
+ flex: [P, ie, "auto", "initial", "none", k]
1166
1166
  }],
1167
1167
  /**
1168
1168
  * Flex Grow
1169
1169
  * @see https://tailwindcss.com/docs/flex-grow
1170
1170
  */
1171
1171
  grow: [{
1172
- grow: ["", P, N, j]
1172
+ grow: ["", P, j, k]
1173
1173
  }],
1174
1174
  /**
1175
1175
  * Flex Shrink
1176
1176
  * @see https://tailwindcss.com/docs/flex-shrink
1177
1177
  */
1178
1178
  shrink: [{
1179
- shrink: ["", P, N, j]
1179
+ shrink: ["", P, j, k]
1180
1180
  }],
1181
1181
  /**
1182
1182
  * Order
1183
1183
  * @see https://tailwindcss.com/docs/order
1184
1184
  */
1185
1185
  order: [{
1186
- order: [ce, "first", "last", "none", N, j]
1186
+ order: [ce, "first", "last", "none", j, k]
1187
1187
  }],
1188
1188
  /**
1189
1189
  * Grid Template Columns
1190
1190
  * @see https://tailwindcss.com/docs/grid-template-columns
1191
1191
  */
1192
1192
  "grid-cols": [{
1193
- "grid-cols": U()
1193
+ "grid-cols": V()
1194
1194
  }],
1195
1195
  /**
1196
1196
  * Grid Column Start / End
1197
1197
  * @see https://tailwindcss.com/docs/grid-column
1198
1198
  */
1199
1199
  "col-start-end": [{
1200
- col: q()
1200
+ col: X()
1201
1201
  }],
1202
1202
  /**
1203
1203
  * Grid Column Start
@@ -1218,14 +1218,14 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
1218
1218
  * @see https://tailwindcss.com/docs/grid-template-rows
1219
1219
  */
1220
1220
  "grid-rows": [{
1221
- "grid-rows": U()
1221
+ "grid-rows": V()
1222
1222
  }],
1223
1223
  /**
1224
1224
  * Grid Row Start / End
1225
1225
  * @see https://tailwindcss.com/docs/grid-row
1226
1226
  */
1227
1227
  "row-start-end": [{
1228
- row: q()
1228
+ row: X()
1229
1229
  }],
1230
1230
  /**
1231
1231
  * Grid Row Start
@@ -1267,21 +1267,21 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
1267
1267
  * @see https://tailwindcss.com/docs/gap
1268
1268
  */
1269
1269
  gap: [{
1270
- gap: h()
1270
+ gap: f()
1271
1271
  }],
1272
1272
  /**
1273
1273
  * Gap X
1274
1274
  * @see https://tailwindcss.com/docs/gap
1275
1275
  */
1276
1276
  "gap-x": [{
1277
- "gap-x": h()
1277
+ "gap-x": f()
1278
1278
  }],
1279
1279
  /**
1280
1280
  * Gap Y
1281
1281
  * @see https://tailwindcss.com/docs/gap
1282
1282
  */
1283
1283
  "gap-y": [{
1284
- "gap-y": h()
1284
+ "gap-y": f()
1285
1285
  }],
1286
1286
  /**
1287
1287
  * Justify Content
@@ -1295,14 +1295,14 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
1295
1295
  * @see https://tailwindcss.com/docs/justify-items
1296
1296
  */
1297
1297
  "justify-items": [{
1298
- "justify-items": [...B(), "normal"]
1298
+ "justify-items": [...F(), "normal"]
1299
1299
  }],
1300
1300
  /**
1301
1301
  * Justify Self
1302
1302
  * @see https://tailwindcss.com/docs/justify-self
1303
1303
  */
1304
1304
  "justify-self": [{
1305
- "justify-self": ["auto", ...B()]
1305
+ "justify-self": ["auto", ...F()]
1306
1306
  }],
1307
1307
  /**
1308
1308
  * Align Content
@@ -1316,7 +1316,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
1316
1316
  * @see https://tailwindcss.com/docs/align-items
1317
1317
  */
1318
1318
  "align-items": [{
1319
- items: [...B(), {
1319
+ items: [...F(), {
1320
1320
  baseline: ["", "last"]
1321
1321
  }]
1322
1322
  }],
@@ -1325,7 +1325,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
1325
1325
  * @see https://tailwindcss.com/docs/align-self
1326
1326
  */
1327
1327
  "align-self": [{
1328
- self: ["auto", ...B(), {
1328
+ self: ["auto", ...F(), {
1329
1329
  baseline: ["", "last"]
1330
1330
  }]
1331
1331
  }],
@@ -1341,14 +1341,14 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
1341
1341
  * @see https://tailwindcss.com/docs/place-items
1342
1342
  */
1343
1343
  "place-items": [{
1344
- "place-items": [...B(), "baseline"]
1344
+ "place-items": [...F(), "baseline"]
1345
1345
  }],
1346
1346
  /**
1347
1347
  * Place Self
1348
1348
  * @see https://tailwindcss.com/docs/place-self
1349
1349
  */
1350
1350
  "place-self": [{
1351
- "place-self": ["auto", ...B()]
1351
+ "place-self": ["auto", ...F()]
1352
1352
  }],
1353
1353
  // Spacing
1354
1354
  /**
@@ -1356,161 +1356,161 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
1356
1356
  * @see https://tailwindcss.com/docs/padding
1357
1357
  */
1358
1358
  p: [{
1359
- p: h()
1359
+ p: f()
1360
1360
  }],
1361
1361
  /**
1362
1362
  * Padding Inline
1363
1363
  * @see https://tailwindcss.com/docs/padding
1364
1364
  */
1365
1365
  px: [{
1366
- px: h()
1366
+ px: f()
1367
1367
  }],
1368
1368
  /**
1369
1369
  * Padding Block
1370
1370
  * @see https://tailwindcss.com/docs/padding
1371
1371
  */
1372
1372
  py: [{
1373
- py: h()
1373
+ py: f()
1374
1374
  }],
1375
1375
  /**
1376
1376
  * Padding Inline Start
1377
1377
  * @see https://tailwindcss.com/docs/padding
1378
1378
  */
1379
1379
  ps: [{
1380
- ps: h()
1380
+ ps: f()
1381
1381
  }],
1382
1382
  /**
1383
1383
  * Padding Inline End
1384
1384
  * @see https://tailwindcss.com/docs/padding
1385
1385
  */
1386
1386
  pe: [{
1387
- pe: h()
1387
+ pe: f()
1388
1388
  }],
1389
1389
  /**
1390
1390
  * Padding Block Start
1391
1391
  * @see https://tailwindcss.com/docs/padding
1392
1392
  */
1393
1393
  pbs: [{
1394
- pbs: h()
1394
+ pbs: f()
1395
1395
  }],
1396
1396
  /**
1397
1397
  * Padding Block End
1398
1398
  * @see https://tailwindcss.com/docs/padding
1399
1399
  */
1400
1400
  pbe: [{
1401
- pbe: h()
1401
+ pbe: f()
1402
1402
  }],
1403
1403
  /**
1404
1404
  * Padding Top
1405
1405
  * @see https://tailwindcss.com/docs/padding
1406
1406
  */
1407
1407
  pt: [{
1408
- pt: h()
1408
+ pt: f()
1409
1409
  }],
1410
1410
  /**
1411
1411
  * Padding Right
1412
1412
  * @see https://tailwindcss.com/docs/padding
1413
1413
  */
1414
1414
  pr: [{
1415
- pr: h()
1415
+ pr: f()
1416
1416
  }],
1417
1417
  /**
1418
1418
  * Padding Bottom
1419
1419
  * @see https://tailwindcss.com/docs/padding
1420
1420
  */
1421
1421
  pb: [{
1422
- pb: h()
1422
+ pb: f()
1423
1423
  }],
1424
1424
  /**
1425
1425
  * Padding Left
1426
1426
  * @see https://tailwindcss.com/docs/padding
1427
1427
  */
1428
1428
  pl: [{
1429
- pl: h()
1429
+ pl: f()
1430
1430
  }],
1431
1431
  /**
1432
1432
  * Margin
1433
1433
  * @see https://tailwindcss.com/docs/margin
1434
1434
  */
1435
1435
  m: [{
1436
- m: H()
1436
+ m: U()
1437
1437
  }],
1438
1438
  /**
1439
1439
  * Margin Inline
1440
1440
  * @see https://tailwindcss.com/docs/margin
1441
1441
  */
1442
1442
  mx: [{
1443
- mx: H()
1443
+ mx: U()
1444
1444
  }],
1445
1445
  /**
1446
1446
  * Margin Block
1447
1447
  * @see https://tailwindcss.com/docs/margin
1448
1448
  */
1449
1449
  my: [{
1450
- my: H()
1450
+ my: U()
1451
1451
  }],
1452
1452
  /**
1453
1453
  * Margin Inline Start
1454
1454
  * @see https://tailwindcss.com/docs/margin
1455
1455
  */
1456
1456
  ms: [{
1457
- ms: H()
1457
+ ms: U()
1458
1458
  }],
1459
1459
  /**
1460
1460
  * Margin Inline End
1461
1461
  * @see https://tailwindcss.com/docs/margin
1462
1462
  */
1463
1463
  me: [{
1464
- me: H()
1464
+ me: U()
1465
1465
  }],
1466
1466
  /**
1467
1467
  * Margin Block Start
1468
1468
  * @see https://tailwindcss.com/docs/margin
1469
1469
  */
1470
1470
  mbs: [{
1471
- mbs: H()
1471
+ mbs: U()
1472
1472
  }],
1473
1473
  /**
1474
1474
  * Margin Block End
1475
1475
  * @see https://tailwindcss.com/docs/margin
1476
1476
  */
1477
1477
  mbe: [{
1478
- mbe: H()
1478
+ mbe: U()
1479
1479
  }],
1480
1480
  /**
1481
1481
  * Margin Top
1482
1482
  * @see https://tailwindcss.com/docs/margin
1483
1483
  */
1484
1484
  mt: [{
1485
- mt: H()
1485
+ mt: U()
1486
1486
  }],
1487
1487
  /**
1488
1488
  * Margin Right
1489
1489
  * @see https://tailwindcss.com/docs/margin
1490
1490
  */
1491
1491
  mr: [{
1492
- mr: H()
1492
+ mr: U()
1493
1493
  }],
1494
1494
  /**
1495
1495
  * Margin Bottom
1496
1496
  * @see https://tailwindcss.com/docs/margin
1497
1497
  */
1498
1498
  mb: [{
1499
- mb: H()
1499
+ mb: U()
1500
1500
  }],
1501
1501
  /**
1502
1502
  * Margin Left
1503
1503
  * @see https://tailwindcss.com/docs/margin
1504
1504
  */
1505
1505
  ml: [{
1506
- ml: H()
1506
+ ml: U()
1507
1507
  }],
1508
1508
  /**
1509
1509
  * Space Between X
1510
1510
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1511
1511
  */
1512
1512
  "space-x": [{
1513
- "space-x": h()
1513
+ "space-x": f()
1514
1514
  }],
1515
1515
  /**
1516
1516
  * Space Between X Reverse
@@ -1522,7 +1522,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
1522
1522
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1523
1523
  */
1524
1524
  "space-y": [{
1525
- "space-y": h()
1525
+ "space-y": f()
1526
1526
  }],
1527
1527
  /**
1528
1528
  * Space Between Y Reverse
@@ -1537,7 +1537,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
1537
1537
  * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
1538
1538
  */
1539
1539
  size: [{
1540
- size: Z()
1540
+ size: q()
1541
1541
  }],
1542
1542
  /**
1543
1543
  * Inline Size
@@ -1586,7 +1586,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
1586
1586
  * @see https://tailwindcss.com/docs/width
1587
1587
  */
1588
1588
  w: [{
1589
- w: [i, "screen", ...Z()]
1589
+ w: [i, "screen", ...q()]
1590
1590
  }],
1591
1591
  /**
1592
1592
  * Min-Width
@@ -1598,7 +1598,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
1598
1598
  "screen",
1599
1599
  /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1600
1600
  "none",
1601
- ...Z()
1601
+ ...q()
1602
1602
  ]
1603
1603
  }],
1604
1604
  /**
@@ -1616,7 +1616,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
1616
1616
  {
1617
1617
  screen: [l]
1618
1618
  },
1619
- ...Z()
1619
+ ...q()
1620
1620
  ]
1621
1621
  }],
1622
1622
  /**
@@ -1624,21 +1624,21 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
1624
1624
  * @see https://tailwindcss.com/docs/height
1625
1625
  */
1626
1626
  h: [{
1627
- h: ["screen", "lh", ...Z()]
1627
+ h: ["screen", "lh", ...q()]
1628
1628
  }],
1629
1629
  /**
1630
1630
  * Min-Height
1631
1631
  * @see https://tailwindcss.com/docs/min-height
1632
1632
  */
1633
1633
  "min-h": [{
1634
- "min-h": ["screen", "lh", "none", ...Z()]
1634
+ "min-h": ["screen", "lh", "none", ...q()]
1635
1635
  }],
1636
1636
  /**
1637
1637
  * Max-Height
1638
1638
  * @see https://tailwindcss.com/docs/max-height
1639
1639
  */
1640
1640
  "max-h": [{
1641
- "max-h": ["screen", "lh", ...Z()]
1641
+ "max-h": ["screen", "lh", ...q()]
1642
1642
  }],
1643
1643
  // ------------------
1644
1644
  // --- Typography ---
@@ -1672,7 +1672,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
1672
1672
  * @see https://tailwindcss.com/docs/font-stretch
1673
1673
  */
1674
1674
  "font-stretch": [{
1675
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Ce, j]
1675
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Ce, k]
1676
1676
  }],
1677
1677
  /**
1678
1678
  * Font Family
@@ -1686,7 +1686,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
1686
1686
  * @see https://tailwindcss.com/docs/font-feature-settings
1687
1687
  */
1688
1688
  "font-features": [{
1689
- "font-features": [j]
1689
+ "font-features": [k]
1690
1690
  }],
1691
1691
  /**
1692
1692
  * Font Variant Numeric
@@ -1723,14 +1723,14 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
1723
1723
  * @see https://tailwindcss.com/docs/letter-spacing
1724
1724
  */
1725
1725
  tracking: [{
1726
- tracking: [n, N, j]
1726
+ tracking: [n, j, k]
1727
1727
  }],
1728
1728
  /**
1729
1729
  * Line Clamp
1730
1730
  * @see https://tailwindcss.com/docs/line-clamp
1731
1731
  */
1732
1732
  "line-clamp": [{
1733
- "line-clamp": [P, "none", N, Ie]
1733
+ "line-clamp": [P, "none", j, Oe]
1734
1734
  }],
1735
1735
  /**
1736
1736
  * Line Height
@@ -1740,7 +1740,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
1740
1740
  leading: [
1741
1741
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1742
1742
  c,
1743
- ...h()
1743
+ ...f()
1744
1744
  ]
1745
1745
  }],
1746
1746
  /**
@@ -1748,7 +1748,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
1748
1748
  * @see https://tailwindcss.com/docs/list-style-image
1749
1749
  */
1750
1750
  "list-image": [{
1751
- "list-image": ["none", N, j]
1751
+ "list-image": ["none", j, k]
1752
1752
  }],
1753
1753
  /**
1754
1754
  * List Style Position
@@ -1762,7 +1762,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
1762
1762
  * @see https://tailwindcss.com/docs/list-style-type
1763
1763
  */
1764
1764
  "list-style-type": [{
1765
- list: ["disc", "decimal", "none", N, j]
1765
+ list: ["disc", "decimal", "none", j, k]
1766
1766
  }],
1767
1767
  /**
1768
1768
  * Text Alignment
@@ -1803,7 +1803,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
1803
1803
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1804
1804
  */
1805
1805
  "text-decoration-thickness": [{
1806
- decoration: [P, "from-font", "auto", N, ue]
1806
+ decoration: [P, "from-font", "auto", j, ue]
1807
1807
  }],
1808
1808
  /**
1809
1809
  * Text Decoration Color
@@ -1817,7 +1817,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
1817
1817
  * @see https://tailwindcss.com/docs/text-underline-offset
1818
1818
  */
1819
1819
  "underline-offset": [{
1820
- "underline-offset": [P, "auto", N, j]
1820
+ "underline-offset": [P, "auto", j, k]
1821
1821
  }],
1822
1822
  /**
1823
1823
  * Text Transform
@@ -1841,14 +1841,14 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
1841
1841
  * @see https://tailwindcss.com/docs/text-indent
1842
1842
  */
1843
1843
  indent: [{
1844
- indent: h()
1844
+ indent: f()
1845
1845
  }],
1846
1846
  /**
1847
1847
  * Vertical Alignment
1848
1848
  * @see https://tailwindcss.com/docs/vertical-align
1849
1849
  */
1850
1850
  "vertical-align": [{
1851
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", N, j]
1851
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", j, k]
1852
1852
  }],
1853
1853
  /**
1854
1854
  * Whitespace
@@ -1883,7 +1883,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
1883
1883
  * @see https://tailwindcss.com/docs/content
1884
1884
  */
1885
1885
  content: [{
1886
- content: ["none", N, j]
1886
+ content: ["none", j, k]
1887
1887
  }],
1888
1888
  // -------------------
1889
1889
  // --- Backgrounds ---
@@ -1921,7 +1921,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
1921
1921
  * @see https://tailwindcss.com/docs/background-repeat
1922
1922
  */
1923
1923
  "bg-repeat": [{
1924
- bg: f()
1924
+ bg: b()
1925
1925
  }],
1926
1926
  /**
1927
1927
  * Background Size
@@ -1938,9 +1938,9 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
1938
1938
  bg: ["none", {
1939
1939
  linear: [{
1940
1940
  to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1941
- }, ce, N, j],
1942
- radial: ["", N, j],
1943
- conic: [ce, N, j]
1941
+ }, ce, j, k],
1942
+ radial: ["", j, k],
1943
+ conic: [ce, j, k]
1944
1944
  }, Qt, qt]
1945
1945
  }],
1946
1946
  /**
@@ -2105,84 +2105,84 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
2105
2105
  * @see https://tailwindcss.com/docs/border-width
2106
2106
  */
2107
2107
  "border-w": [{
2108
- border: O()
2108
+ border: I()
2109
2109
  }],
2110
2110
  /**
2111
2111
  * Border Width Inline
2112
2112
  * @see https://tailwindcss.com/docs/border-width
2113
2113
  */
2114
2114
  "border-w-x": [{
2115
- "border-x": O()
2115
+ "border-x": I()
2116
2116
  }],
2117
2117
  /**
2118
2118
  * Border Width Block
2119
2119
  * @see https://tailwindcss.com/docs/border-width
2120
2120
  */
2121
2121
  "border-w-y": [{
2122
- "border-y": O()
2122
+ "border-y": I()
2123
2123
  }],
2124
2124
  /**
2125
2125
  * Border Width Inline Start
2126
2126
  * @see https://tailwindcss.com/docs/border-width
2127
2127
  */
2128
2128
  "border-w-s": [{
2129
- "border-s": O()
2129
+ "border-s": I()
2130
2130
  }],
2131
2131
  /**
2132
2132
  * Border Width Inline End
2133
2133
  * @see https://tailwindcss.com/docs/border-width
2134
2134
  */
2135
2135
  "border-w-e": [{
2136
- "border-e": O()
2136
+ "border-e": I()
2137
2137
  }],
2138
2138
  /**
2139
2139
  * Border Width Block Start
2140
2140
  * @see https://tailwindcss.com/docs/border-width
2141
2141
  */
2142
2142
  "border-w-bs": [{
2143
- "border-bs": O()
2143
+ "border-bs": I()
2144
2144
  }],
2145
2145
  /**
2146
2146
  * Border Width Block End
2147
2147
  * @see https://tailwindcss.com/docs/border-width
2148
2148
  */
2149
2149
  "border-w-be": [{
2150
- "border-be": O()
2150
+ "border-be": I()
2151
2151
  }],
2152
2152
  /**
2153
2153
  * Border Width Top
2154
2154
  * @see https://tailwindcss.com/docs/border-width
2155
2155
  */
2156
2156
  "border-w-t": [{
2157
- "border-t": O()
2157
+ "border-t": I()
2158
2158
  }],
2159
2159
  /**
2160
2160
  * Border Width Right
2161
2161
  * @see https://tailwindcss.com/docs/border-width
2162
2162
  */
2163
2163
  "border-w-r": [{
2164
- "border-r": O()
2164
+ "border-r": I()
2165
2165
  }],
2166
2166
  /**
2167
2167
  * Border Width Bottom
2168
2168
  * @see https://tailwindcss.com/docs/border-width
2169
2169
  */
2170
2170
  "border-w-b": [{
2171
- "border-b": O()
2171
+ "border-b": I()
2172
2172
  }],
2173
2173
  /**
2174
2174
  * Border Width Left
2175
2175
  * @see https://tailwindcss.com/docs/border-width
2176
2176
  */
2177
2177
  "border-w-l": [{
2178
- "border-l": O()
2178
+ "border-l": I()
2179
2179
  }],
2180
2180
  /**
2181
2181
  * Divide Width X
2182
2182
  * @see https://tailwindcss.com/docs/border-width#between-children
2183
2183
  */
2184
2184
  "divide-x": [{
2185
- "divide-x": O()
2185
+ "divide-x": I()
2186
2186
  }],
2187
2187
  /**
2188
2188
  * Divide Width X Reverse
@@ -2194,7 +2194,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
2194
2194
  * @see https://tailwindcss.com/docs/border-width#between-children
2195
2195
  */
2196
2196
  "divide-y": [{
2197
- "divide-y": O()
2197
+ "divide-y": I()
2198
2198
  }],
2199
2199
  /**
2200
2200
  * Divide Width Y Reverse
@@ -2311,7 +2311,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
2311
2311
  * @see https://tailwindcss.com/docs/outline-offset
2312
2312
  */
2313
2313
  "outline-offset": [{
2314
- "outline-offset": [P, N, j]
2314
+ "outline-offset": [P, j, k]
2315
2315
  }],
2316
2316
  /**
2317
2317
  * Outline Width
@@ -2339,7 +2339,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
2339
2339
  // Deprecated since Tailwind CSS v4.0.0
2340
2340
  "",
2341
2341
  "none",
2342
- b,
2342
+ m,
2343
2343
  ke,
2344
2344
  we
2345
2345
  ]
@@ -2356,7 +2356,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
2356
2356
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
2357
2357
  */
2358
2358
  "inset-shadow": [{
2359
- "inset-shadow": ["none", g, ke, we]
2359
+ "inset-shadow": ["none", y, ke, we]
2360
2360
  }],
2361
2361
  /**
2362
2362
  * Inset Box Shadow Color
@@ -2370,7 +2370,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
2370
2370
  * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
2371
2371
  */
2372
2372
  "ring-w": [{
2373
- ring: O()
2373
+ ring: I()
2374
2374
  }],
2375
2375
  /**
2376
2376
  * Ring Width Inset
@@ -2409,7 +2409,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
2409
2409
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
2410
2410
  */
2411
2411
  "inset-ring-w": [{
2412
- "inset-ring": O()
2412
+ "inset-ring": I()
2413
2413
  }],
2414
2414
  /**
2415
2415
  * Inset Ring Color
@@ -2423,7 +2423,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
2423
2423
  * @see https://tailwindcss.com/docs/text-shadow
2424
2424
  */
2425
2425
  "text-shadow": [{
2426
- "text-shadow": ["none", m, ke, we]
2426
+ "text-shadow": ["none", p, ke, we]
2427
2427
  }],
2428
2428
  /**
2429
2429
  * Text Shadow Color
@@ -2437,21 +2437,21 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
2437
2437
  * @see https://tailwindcss.com/docs/opacity
2438
2438
  */
2439
2439
  opacity: [{
2440
- opacity: [P, N, j]
2440
+ opacity: [P, j, k]
2441
2441
  }],
2442
2442
  /**
2443
2443
  * Mix Blend Mode
2444
2444
  * @see https://tailwindcss.com/docs/mix-blend-mode
2445
2445
  */
2446
2446
  "mix-blend": [{
2447
- "mix-blend": [...I(), "plus-darker", "plus-lighter"]
2447
+ "mix-blend": [...O(), "plus-darker", "plus-lighter"]
2448
2448
  }],
2449
2449
  /**
2450
2450
  * Background Blend Mode
2451
2451
  * @see https://tailwindcss.com/docs/background-blend-mode
2452
2452
  */
2453
2453
  "bg-blend": [{
2454
- "bg-blend": I()
2454
+ "bg-blend": O()
2455
2455
  }],
2456
2456
  /**
2457
2457
  * Mask Clip
@@ -2475,10 +2475,10 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
2475
2475
  "mask-linear": [P]
2476
2476
  }],
2477
2477
  "mask-image-linear-from-pos": [{
2478
- "mask-linear-from": M()
2478
+ "mask-linear-from": L()
2479
2479
  }],
2480
2480
  "mask-image-linear-to-pos": [{
2481
- "mask-linear-to": M()
2481
+ "mask-linear-to": L()
2482
2482
  }],
2483
2483
  "mask-image-linear-from-color": [{
2484
2484
  "mask-linear-from": o()
@@ -2487,10 +2487,10 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
2487
2487
  "mask-linear-to": o()
2488
2488
  }],
2489
2489
  "mask-image-t-from-pos": [{
2490
- "mask-t-from": M()
2490
+ "mask-t-from": L()
2491
2491
  }],
2492
2492
  "mask-image-t-to-pos": [{
2493
- "mask-t-to": M()
2493
+ "mask-t-to": L()
2494
2494
  }],
2495
2495
  "mask-image-t-from-color": [{
2496
2496
  "mask-t-from": o()
@@ -2499,10 +2499,10 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
2499
2499
  "mask-t-to": o()
2500
2500
  }],
2501
2501
  "mask-image-r-from-pos": [{
2502
- "mask-r-from": M()
2502
+ "mask-r-from": L()
2503
2503
  }],
2504
2504
  "mask-image-r-to-pos": [{
2505
- "mask-r-to": M()
2505
+ "mask-r-to": L()
2506
2506
  }],
2507
2507
  "mask-image-r-from-color": [{
2508
2508
  "mask-r-from": o()
@@ -2511,10 +2511,10 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
2511
2511
  "mask-r-to": o()
2512
2512
  }],
2513
2513
  "mask-image-b-from-pos": [{
2514
- "mask-b-from": M()
2514
+ "mask-b-from": L()
2515
2515
  }],
2516
2516
  "mask-image-b-to-pos": [{
2517
- "mask-b-to": M()
2517
+ "mask-b-to": L()
2518
2518
  }],
2519
2519
  "mask-image-b-from-color": [{
2520
2520
  "mask-b-from": o()
@@ -2523,10 +2523,10 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
2523
2523
  "mask-b-to": o()
2524
2524
  }],
2525
2525
  "mask-image-l-from-pos": [{
2526
- "mask-l-from": M()
2526
+ "mask-l-from": L()
2527
2527
  }],
2528
2528
  "mask-image-l-to-pos": [{
2529
- "mask-l-to": M()
2529
+ "mask-l-to": L()
2530
2530
  }],
2531
2531
  "mask-image-l-from-color": [{
2532
2532
  "mask-l-from": o()
@@ -2535,10 +2535,10 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
2535
2535
  "mask-l-to": o()
2536
2536
  }],
2537
2537
  "mask-image-x-from-pos": [{
2538
- "mask-x-from": M()
2538
+ "mask-x-from": L()
2539
2539
  }],
2540
2540
  "mask-image-x-to-pos": [{
2541
- "mask-x-to": M()
2541
+ "mask-x-to": L()
2542
2542
  }],
2543
2543
  "mask-image-x-from-color": [{
2544
2544
  "mask-x-from": o()
@@ -2547,10 +2547,10 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
2547
2547
  "mask-x-to": o()
2548
2548
  }],
2549
2549
  "mask-image-y-from-pos": [{
2550
- "mask-y-from": M()
2550
+ "mask-y-from": L()
2551
2551
  }],
2552
2552
  "mask-image-y-to-pos": [{
2553
- "mask-y-to": M()
2553
+ "mask-y-to": L()
2554
2554
  }],
2555
2555
  "mask-image-y-from-color": [{
2556
2556
  "mask-y-from": o()
@@ -2559,13 +2559,13 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
2559
2559
  "mask-y-to": o()
2560
2560
  }],
2561
2561
  "mask-image-radial": [{
2562
- "mask-radial": [N, j]
2562
+ "mask-radial": [j, k]
2563
2563
  }],
2564
2564
  "mask-image-radial-from-pos": [{
2565
- "mask-radial-from": M()
2565
+ "mask-radial-from": L()
2566
2566
  }],
2567
2567
  "mask-image-radial-to-pos": [{
2568
- "mask-radial-to": M()
2568
+ "mask-radial-to": L()
2569
2569
  }],
2570
2570
  "mask-image-radial-from-color": [{
2571
2571
  "mask-radial-from": o()
@@ -2583,16 +2583,16 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
2583
2583
  }]
2584
2584
  }],
2585
2585
  "mask-image-radial-pos": [{
2586
- "mask-radial-at": $()
2586
+ "mask-radial-at": _()
2587
2587
  }],
2588
2588
  "mask-image-conic-pos": [{
2589
2589
  "mask-conic": [P]
2590
2590
  }],
2591
2591
  "mask-image-conic-from-pos": [{
2592
- "mask-conic-from": M()
2592
+ "mask-conic-from": L()
2593
2593
  }],
2594
2594
  "mask-image-conic-to-pos": [{
2595
- "mask-conic-to": M()
2595
+ "mask-conic-to": L()
2596
2596
  }],
2597
2597
  "mask-image-conic-from-color": [{
2598
2598
  "mask-conic-from": o()
@@ -2626,7 +2626,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
2626
2626
  * @see https://tailwindcss.com/docs/mask-repeat
2627
2627
  */
2628
2628
  "mask-repeat": [{
2629
- mask: f()
2629
+ mask: b()
2630
2630
  }],
2631
2631
  /**
2632
2632
  * Mask Size
@@ -2647,7 +2647,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
2647
2647
  * @see https://tailwindcss.com/docs/mask-image
2648
2648
  */
2649
2649
  "mask-image": [{
2650
- mask: ["none", N, j]
2650
+ mask: ["none", j, k]
2651
2651
  }],
2652
2652
  // ---------------
2653
2653
  // --- Filters ---
@@ -2661,8 +2661,8 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
2661
2661
  // Deprecated since Tailwind CSS v3.0.0
2662
2662
  "",
2663
2663
  "none",
2664
- N,
2665
- j
2664
+ j,
2665
+ k
2666
2666
  ]
2667
2667
  }],
2668
2668
  /**
@@ -2670,21 +2670,21 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
2670
2670
  * @see https://tailwindcss.com/docs/blur
2671
2671
  */
2672
2672
  blur: [{
2673
- blur: F()
2673
+ blur: B()
2674
2674
  }],
2675
2675
  /**
2676
2676
  * Brightness
2677
2677
  * @see https://tailwindcss.com/docs/brightness
2678
2678
  */
2679
2679
  brightness: [{
2680
- brightness: [P, N, j]
2680
+ brightness: [P, j, k]
2681
2681
  }],
2682
2682
  /**
2683
2683
  * Contrast
2684
2684
  * @see https://tailwindcss.com/docs/contrast
2685
2685
  */
2686
2686
  contrast: [{
2687
- contrast: [P, N, j]
2687
+ contrast: [P, j, k]
2688
2688
  }],
2689
2689
  /**
2690
2690
  * Drop Shadow
@@ -2695,7 +2695,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
2695
2695
  // Deprecated since Tailwind CSS v4.0.0
2696
2696
  "",
2697
2697
  "none",
2698
- p,
2698
+ h,
2699
2699
  ke,
2700
2700
  we
2701
2701
  ]
@@ -2712,35 +2712,35 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
2712
2712
  * @see https://tailwindcss.com/docs/grayscale
2713
2713
  */
2714
2714
  grayscale: [{
2715
- grayscale: ["", P, N, j]
2715
+ grayscale: ["", P, j, k]
2716
2716
  }],
2717
2717
  /**
2718
2718
  * Hue Rotate
2719
2719
  * @see https://tailwindcss.com/docs/hue-rotate
2720
2720
  */
2721
2721
  "hue-rotate": [{
2722
- "hue-rotate": [P, N, j]
2722
+ "hue-rotate": [P, j, k]
2723
2723
  }],
2724
2724
  /**
2725
2725
  * Invert
2726
2726
  * @see https://tailwindcss.com/docs/invert
2727
2727
  */
2728
2728
  invert: [{
2729
- invert: ["", P, N, j]
2729
+ invert: ["", P, j, k]
2730
2730
  }],
2731
2731
  /**
2732
2732
  * Saturate
2733
2733
  * @see https://tailwindcss.com/docs/saturate
2734
2734
  */
2735
2735
  saturate: [{
2736
- saturate: [P, N, j]
2736
+ saturate: [P, j, k]
2737
2737
  }],
2738
2738
  /**
2739
2739
  * Sepia
2740
2740
  * @see https://tailwindcss.com/docs/sepia
2741
2741
  */
2742
2742
  sepia: [{
2743
- sepia: ["", P, N, j]
2743
+ sepia: ["", P, j, k]
2744
2744
  }],
2745
2745
  /**
2746
2746
  * Backdrop Filter
@@ -2751,8 +2751,8 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
2751
2751
  // Deprecated since Tailwind CSS v3.0.0
2752
2752
  "",
2753
2753
  "none",
2754
- N,
2755
- j
2754
+ j,
2755
+ k
2756
2756
  ]
2757
2757
  }],
2758
2758
  /**
@@ -2760,63 +2760,63 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
2760
2760
  * @see https://tailwindcss.com/docs/backdrop-blur
2761
2761
  */
2762
2762
  "backdrop-blur": [{
2763
- "backdrop-blur": F()
2763
+ "backdrop-blur": B()
2764
2764
  }],
2765
2765
  /**
2766
2766
  * Backdrop Brightness
2767
2767
  * @see https://tailwindcss.com/docs/backdrop-brightness
2768
2768
  */
2769
2769
  "backdrop-brightness": [{
2770
- "backdrop-brightness": [P, N, j]
2770
+ "backdrop-brightness": [P, j, k]
2771
2771
  }],
2772
2772
  /**
2773
2773
  * Backdrop Contrast
2774
2774
  * @see https://tailwindcss.com/docs/backdrop-contrast
2775
2775
  */
2776
2776
  "backdrop-contrast": [{
2777
- "backdrop-contrast": [P, N, j]
2777
+ "backdrop-contrast": [P, j, k]
2778
2778
  }],
2779
2779
  /**
2780
2780
  * Backdrop Grayscale
2781
2781
  * @see https://tailwindcss.com/docs/backdrop-grayscale
2782
2782
  */
2783
2783
  "backdrop-grayscale": [{
2784
- "backdrop-grayscale": ["", P, N, j]
2784
+ "backdrop-grayscale": ["", P, j, k]
2785
2785
  }],
2786
2786
  /**
2787
2787
  * Backdrop Hue Rotate
2788
2788
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2789
2789
  */
2790
2790
  "backdrop-hue-rotate": [{
2791
- "backdrop-hue-rotate": [P, N, j]
2791
+ "backdrop-hue-rotate": [P, j, k]
2792
2792
  }],
2793
2793
  /**
2794
2794
  * Backdrop Invert
2795
2795
  * @see https://tailwindcss.com/docs/backdrop-invert
2796
2796
  */
2797
2797
  "backdrop-invert": [{
2798
- "backdrop-invert": ["", P, N, j]
2798
+ "backdrop-invert": ["", P, j, k]
2799
2799
  }],
2800
2800
  /**
2801
2801
  * Backdrop Opacity
2802
2802
  * @see https://tailwindcss.com/docs/backdrop-opacity
2803
2803
  */
2804
2804
  "backdrop-opacity": [{
2805
- "backdrop-opacity": [P, N, j]
2805
+ "backdrop-opacity": [P, j, k]
2806
2806
  }],
2807
2807
  /**
2808
2808
  * Backdrop Saturate
2809
2809
  * @see https://tailwindcss.com/docs/backdrop-saturate
2810
2810
  */
2811
2811
  "backdrop-saturate": [{
2812
- "backdrop-saturate": [P, N, j]
2812
+ "backdrop-saturate": [P, j, k]
2813
2813
  }],
2814
2814
  /**
2815
2815
  * Backdrop Sepia
2816
2816
  * @see https://tailwindcss.com/docs/backdrop-sepia
2817
2817
  */
2818
2818
  "backdrop-sepia": [{
2819
- "backdrop-sepia": ["", P, N, j]
2819
+ "backdrop-sepia": ["", P, j, k]
2820
2820
  }],
2821
2821
  // --------------
2822
2822
  // --- Tables ---
@@ -2833,21 +2833,21 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
2833
2833
  * @see https://tailwindcss.com/docs/border-spacing
2834
2834
  */
2835
2835
  "border-spacing": [{
2836
- "border-spacing": h()
2836
+ "border-spacing": f()
2837
2837
  }],
2838
2838
  /**
2839
2839
  * Border Spacing X
2840
2840
  * @see https://tailwindcss.com/docs/border-spacing
2841
2841
  */
2842
2842
  "border-spacing-x": [{
2843
- "border-spacing-x": h()
2843
+ "border-spacing-x": f()
2844
2844
  }],
2845
2845
  /**
2846
2846
  * Border Spacing Y
2847
2847
  * @see https://tailwindcss.com/docs/border-spacing
2848
2848
  */
2849
2849
  "border-spacing-y": [{
2850
- "border-spacing-y": h()
2850
+ "border-spacing-y": f()
2851
2851
  }],
2852
2852
  /**
2853
2853
  * Table Layout
@@ -2871,7 +2871,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
2871
2871
  * @see https://tailwindcss.com/docs/transition-property
2872
2872
  */
2873
2873
  transition: [{
2874
- transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", N, j]
2874
+ transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", j, k]
2875
2875
  }],
2876
2876
  /**
2877
2877
  * Transition Behavior
@@ -2885,28 +2885,28 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
2885
2885
  * @see https://tailwindcss.com/docs/transition-duration
2886
2886
  */
2887
2887
  duration: [{
2888
- duration: [P, "initial", N, j]
2888
+ duration: [P, "initial", j, k]
2889
2889
  }],
2890
2890
  /**
2891
2891
  * Transition Timing Function
2892
2892
  * @see https://tailwindcss.com/docs/transition-timing-function
2893
2893
  */
2894
2894
  ease: [{
2895
- ease: ["linear", "initial", A, N, j]
2895
+ ease: ["linear", "initial", A, j, k]
2896
2896
  }],
2897
2897
  /**
2898
2898
  * Transition Delay
2899
2899
  * @see https://tailwindcss.com/docs/transition-delay
2900
2900
  */
2901
2901
  delay: [{
2902
- delay: [P, N, j]
2902
+ delay: [P, j, k]
2903
2903
  }],
2904
2904
  /**
2905
2905
  * Animation
2906
2906
  * @see https://tailwindcss.com/docs/animation
2907
2907
  */
2908
2908
  animate: [{
2909
- animate: ["none", C, N, j]
2909
+ animate: ["none", N, j, k]
2910
2910
  }],
2911
2911
  // ------------------
2912
2912
  // --- Transforms ---
@@ -2923,14 +2923,14 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
2923
2923
  * @see https://tailwindcss.com/docs/perspective
2924
2924
  */
2925
2925
  perspective: [{
2926
- perspective: [y, N, j]
2926
+ perspective: [x, j, k]
2927
2927
  }],
2928
2928
  /**
2929
2929
  * Perspective Origin
2930
2930
  * @see https://tailwindcss.com/docs/perspective-origin
2931
2931
  */
2932
2932
  "perspective-origin": [{
2933
- "perspective-origin": k()
2933
+ "perspective-origin": C()
2934
2934
  }],
2935
2935
  /**
2936
2936
  * Rotate
@@ -2998,35 +2998,35 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
2998
2998
  * @see https://tailwindcss.com/docs/skew
2999
2999
  */
3000
3000
  skew: [{
3001
- skew: pe()
3001
+ skew: be()
3002
3002
  }],
3003
3003
  /**
3004
3004
  * Skew X
3005
3005
  * @see https://tailwindcss.com/docs/skew
3006
3006
  */
3007
3007
  "skew-x": [{
3008
- "skew-x": pe()
3008
+ "skew-x": be()
3009
3009
  }],
3010
3010
  /**
3011
3011
  * Skew Y
3012
3012
  * @see https://tailwindcss.com/docs/skew
3013
3013
  */
3014
3014
  "skew-y": [{
3015
- "skew-y": pe()
3015
+ "skew-y": be()
3016
3016
  }],
3017
3017
  /**
3018
3018
  * Transform
3019
3019
  * @see https://tailwindcss.com/docs/transform
3020
3020
  */
3021
3021
  transform: [{
3022
- transform: [N, j, "", "none", "gpu", "cpu"]
3022
+ transform: [j, k, "", "none", "gpu", "cpu"]
3023
3023
  }],
3024
3024
  /**
3025
3025
  * Transform Origin
3026
3026
  * @see https://tailwindcss.com/docs/transform-origin
3027
3027
  */
3028
3028
  "transform-origin": [{
3029
- origin: k()
3029
+ origin: C()
3030
3030
  }],
3031
3031
  /**
3032
3032
  * Transform Style
@@ -3104,7 +3104,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
3104
3104
  * @see https://tailwindcss.com/docs/cursor
3105
3105
  */
3106
3106
  cursor: [{
3107
- 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", N, j]
3107
+ 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", j, k]
3108
3108
  }],
3109
3109
  /**
3110
3110
  * Field Sizing
@@ -3139,154 +3139,154 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
3139
3139
  * @see https://tailwindcss.com/docs/scroll-margin
3140
3140
  */
3141
3141
  "scroll-m": [{
3142
- "scroll-m": h()
3142
+ "scroll-m": f()
3143
3143
  }],
3144
3144
  /**
3145
3145
  * Scroll Margin Inline
3146
3146
  * @see https://tailwindcss.com/docs/scroll-margin
3147
3147
  */
3148
3148
  "scroll-mx": [{
3149
- "scroll-mx": h()
3149
+ "scroll-mx": f()
3150
3150
  }],
3151
3151
  /**
3152
3152
  * Scroll Margin Block
3153
3153
  * @see https://tailwindcss.com/docs/scroll-margin
3154
3154
  */
3155
3155
  "scroll-my": [{
3156
- "scroll-my": h()
3156
+ "scroll-my": f()
3157
3157
  }],
3158
3158
  /**
3159
3159
  * Scroll Margin Inline Start
3160
3160
  * @see https://tailwindcss.com/docs/scroll-margin
3161
3161
  */
3162
3162
  "scroll-ms": [{
3163
- "scroll-ms": h()
3163
+ "scroll-ms": f()
3164
3164
  }],
3165
3165
  /**
3166
3166
  * Scroll Margin Inline End
3167
3167
  * @see https://tailwindcss.com/docs/scroll-margin
3168
3168
  */
3169
3169
  "scroll-me": [{
3170
- "scroll-me": h()
3170
+ "scroll-me": f()
3171
3171
  }],
3172
3172
  /**
3173
3173
  * Scroll Margin Block Start
3174
3174
  * @see https://tailwindcss.com/docs/scroll-margin
3175
3175
  */
3176
3176
  "scroll-mbs": [{
3177
- "scroll-mbs": h()
3177
+ "scroll-mbs": f()
3178
3178
  }],
3179
3179
  /**
3180
3180
  * Scroll Margin Block End
3181
3181
  * @see https://tailwindcss.com/docs/scroll-margin
3182
3182
  */
3183
3183
  "scroll-mbe": [{
3184
- "scroll-mbe": h()
3184
+ "scroll-mbe": f()
3185
3185
  }],
3186
3186
  /**
3187
3187
  * Scroll Margin Top
3188
3188
  * @see https://tailwindcss.com/docs/scroll-margin
3189
3189
  */
3190
3190
  "scroll-mt": [{
3191
- "scroll-mt": h()
3191
+ "scroll-mt": f()
3192
3192
  }],
3193
3193
  /**
3194
3194
  * Scroll Margin Right
3195
3195
  * @see https://tailwindcss.com/docs/scroll-margin
3196
3196
  */
3197
3197
  "scroll-mr": [{
3198
- "scroll-mr": h()
3198
+ "scroll-mr": f()
3199
3199
  }],
3200
3200
  /**
3201
3201
  * Scroll Margin Bottom
3202
3202
  * @see https://tailwindcss.com/docs/scroll-margin
3203
3203
  */
3204
3204
  "scroll-mb": [{
3205
- "scroll-mb": h()
3205
+ "scroll-mb": f()
3206
3206
  }],
3207
3207
  /**
3208
3208
  * Scroll Margin Left
3209
3209
  * @see https://tailwindcss.com/docs/scroll-margin
3210
3210
  */
3211
3211
  "scroll-ml": [{
3212
- "scroll-ml": h()
3212
+ "scroll-ml": f()
3213
3213
  }],
3214
3214
  /**
3215
3215
  * Scroll Padding
3216
3216
  * @see https://tailwindcss.com/docs/scroll-padding
3217
3217
  */
3218
3218
  "scroll-p": [{
3219
- "scroll-p": h()
3219
+ "scroll-p": f()
3220
3220
  }],
3221
3221
  /**
3222
3222
  * Scroll Padding Inline
3223
3223
  * @see https://tailwindcss.com/docs/scroll-padding
3224
3224
  */
3225
3225
  "scroll-px": [{
3226
- "scroll-px": h()
3226
+ "scroll-px": f()
3227
3227
  }],
3228
3228
  /**
3229
3229
  * Scroll Padding Block
3230
3230
  * @see https://tailwindcss.com/docs/scroll-padding
3231
3231
  */
3232
3232
  "scroll-py": [{
3233
- "scroll-py": h()
3233
+ "scroll-py": f()
3234
3234
  }],
3235
3235
  /**
3236
3236
  * Scroll Padding Inline Start
3237
3237
  * @see https://tailwindcss.com/docs/scroll-padding
3238
3238
  */
3239
3239
  "scroll-ps": [{
3240
- "scroll-ps": h()
3240
+ "scroll-ps": f()
3241
3241
  }],
3242
3242
  /**
3243
3243
  * Scroll Padding Inline End
3244
3244
  * @see https://tailwindcss.com/docs/scroll-padding
3245
3245
  */
3246
3246
  "scroll-pe": [{
3247
- "scroll-pe": h()
3247
+ "scroll-pe": f()
3248
3248
  }],
3249
3249
  /**
3250
3250
  * Scroll Padding Block Start
3251
3251
  * @see https://tailwindcss.com/docs/scroll-padding
3252
3252
  */
3253
3253
  "scroll-pbs": [{
3254
- "scroll-pbs": h()
3254
+ "scroll-pbs": f()
3255
3255
  }],
3256
3256
  /**
3257
3257
  * Scroll Padding Block End
3258
3258
  * @see https://tailwindcss.com/docs/scroll-padding
3259
3259
  */
3260
3260
  "scroll-pbe": [{
3261
- "scroll-pbe": h()
3261
+ "scroll-pbe": f()
3262
3262
  }],
3263
3263
  /**
3264
3264
  * Scroll Padding Top
3265
3265
  * @see https://tailwindcss.com/docs/scroll-padding
3266
3266
  */
3267
3267
  "scroll-pt": [{
3268
- "scroll-pt": h()
3268
+ "scroll-pt": f()
3269
3269
  }],
3270
3270
  /**
3271
3271
  * Scroll Padding Right
3272
3272
  * @see https://tailwindcss.com/docs/scroll-padding
3273
3273
  */
3274
3274
  "scroll-pr": [{
3275
- "scroll-pr": h()
3275
+ "scroll-pr": f()
3276
3276
  }],
3277
3277
  /**
3278
3278
  * Scroll Padding Bottom
3279
3279
  * @see https://tailwindcss.com/docs/scroll-padding
3280
3280
  */
3281
3281
  "scroll-pb": [{
3282
- "scroll-pb": h()
3282
+ "scroll-pb": f()
3283
3283
  }],
3284
3284
  /**
3285
3285
  * Scroll Padding Left
3286
3286
  * @see https://tailwindcss.com/docs/scroll-padding
3287
3287
  */
3288
3288
  "scroll-pl": [{
3289
- "scroll-pl": h()
3289
+ "scroll-pl": f()
3290
3290
  }],
3291
3291
  /**
3292
3292
  * Scroll Snap Align
@@ -3354,7 +3354,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
3354
3354
  * @see https://tailwindcss.com/docs/will-change
3355
3355
  */
3356
3356
  "will-change": [{
3357
- "will-change": ["auto", "scroll", "contents", "transform", N, j]
3357
+ "will-change": ["auto", "scroll", "contents", "transform", j, k]
3358
3358
  }],
3359
3359
  // -----------
3360
3360
  // --- SVG ---
@@ -3371,7 +3371,7 @@ const Te = (e) => typeof e == "object" && e !== null, V = (e, r) => {
3371
3371
  * @see https://tailwindcss.com/docs/stroke-width
3372
3372
  */
3373
3373
  "stroke-w": [{
3374
- stroke: [P, xe, ue, Ie]
3374
+ stroke: [P, xe, ue, Oe]
3375
3375
  }],
3376
3376
  /**
3377
3377
  * Stroke
@@ -3460,23 +3460,29 @@ function or() {
3460
3460
  for (var e, r, a = 0, s = "", n = arguments.length; a < n; a++) (e = arguments[a]) && (r = at(e)) && (s && (s += " "), s += r);
3461
3461
  return s;
3462
3462
  }
3463
- function T(...e) {
3463
+ function $(...e) {
3464
3464
  return sr(or(e));
3465
3465
  }
3466
- const gr = ({
3466
+ const ar = {
3467
+ sm: "w-16 h-16",
3468
+ md: "w-24 h-24",
3469
+ lg: "w-32 h-32",
3470
+ xl: "w-40 h-40"
3471
+ }, kr = ({
3467
3472
  progress: e,
3468
- radius: r,
3469
- className: a = "",
3470
- children: s,
3471
- ariaLabel: n
3473
+ size: r = "md",
3474
+ radius: a = 20,
3475
+ className: s = "",
3476
+ children: n,
3477
+ ariaLabel: c
3472
3478
  }) => {
3473
- const c = 2 * Math.PI * r, l = c / 2, i = l * (1 - e / 100), d = l * (1 - e / 100);
3479
+ const l = 2 * Math.PI * a, i = l / 2, d = i * (1 - e / 100), g = i * (1 - e / 100);
3474
3480
  return /* @__PURE__ */ t.jsxs(
3475
3481
  "div",
3476
3482
  {
3477
- className: T("relative", a),
3483
+ className: $("relative", ar[r], s),
3478
3484
  role: "progressbar",
3479
- "aria-label": n || "Progress",
3485
+ "aria-label": c || "Progress",
3480
3486
  "aria-valuenow": Math.max(0, Math.min(100, e)),
3481
3487
  "aria-valuemin": 0,
3482
3488
  "aria-valuemax": 100,
@@ -3492,13 +3498,13 @@ const gr = ({
3492
3498
  {
3493
3499
  cx: "25",
3494
3500
  cy: "25",
3495
- r,
3501
+ r: a,
3496
3502
  fill: "none",
3497
3503
  stroke: "var(--color-accent)",
3498
3504
  strokeWidth: "4",
3499
3505
  strokeLinecap: "butt",
3500
- strokeDasharray: `${l * 0.98} ${c}`,
3501
- strokeDashoffset: i,
3506
+ strokeDasharray: `${i * 0.98} ${l}`,
3507
+ strokeDashoffset: d,
3502
3508
  transform: "rotate(-90 25 25)",
3503
3509
  style: {
3504
3510
  filter: "drop-shadow(0 0 8px var(--color-accent))"
@@ -3510,13 +3516,13 @@ const gr = ({
3510
3516
  {
3511
3517
  cx: "25",
3512
3518
  cy: "25",
3513
- r,
3519
+ r: a,
3514
3520
  fill: "none",
3515
3521
  stroke: "var(--color-primary)",
3516
3522
  strokeWidth: "4",
3517
3523
  strokeLinecap: "butt",
3518
- strokeDasharray: `${l * 0.98} ${c}`,
3519
- strokeDashoffset: d,
3524
+ strokeDasharray: `${i * 0.98} ${l}`,
3525
+ strokeDashoffset: g,
3520
3526
  transform: "rotate(90 25 25)",
3521
3527
  style: {
3522
3528
  filter: "drop-shadow(0 0 8px var(--color-primary))"
@@ -3526,81 +3532,95 @@ const gr = ({
3526
3532
  ]
3527
3533
  }
3528
3534
  ),
3529
- s && /* @__PURE__ */ t.jsx("div", { className: "absolute inset-0 flex items-center justify-center", children: s })
3535
+ n && /* @__PURE__ */ t.jsx("div", { className: "absolute inset-0 flex items-center justify-center", children: n })
3530
3536
  ]
3531
3537
  }
3532
3538
  );
3533
- }, ar = {
3539
+ }, nr = {
3534
3540
  SEGMENT_COUNT: 20,
3535
3541
  SEGMENT_ANGLE: 360 / 20,
3536
3542
  GAP_ANGLE: 4,
3537
3543
  INNER_RADIUS: 18.5,
3538
3544
  OUTER_RADIUS: 23.5,
3539
3545
  OUTER_TICK_RADIUS: 30
3540
- }, xr = ({
3541
- progress: e,
3542
- className: r = "",
3543
- children: a
3544
- }) => {
3546
+ }, lr = {
3547
+ sm: "w-16 h-16",
3548
+ md: "w-24 h-24",
3549
+ lg: "w-32 h-32",
3550
+ xl: "w-40 h-40"
3551
+ }, ir = ({ progress: e, size: r = "md", className: a, children: s }) => {
3545
3552
  const {
3546
- SEGMENT_COUNT: s,
3547
- SEGMENT_ANGLE: n,
3548
- GAP_ANGLE: c,
3549
- INNER_RADIUS: l,
3550
- OUTER_RADIUS: i,
3551
- OUTER_TICK_RADIUS: d
3552
- } = ar, x = n - c;
3553
- return /* @__PURE__ */ t.jsxs("div", { className: T("relative", r), children: [
3554
- /* @__PURE__ */ t.jsxs(
3555
- "svg",
3556
- {
3557
- className: "w-full h-full",
3558
- viewBox: "0 0 60 60",
3559
- style: { overflow: "visible" },
3560
- children: [
3561
- [...Array(60)].map((b, g) => {
3562
- const m = 6 * g, v = g % 5 === 0 ? 6 : 3, y = "var(--color-muted)", w = 30 + d * Math.cos(m * Math.PI / 180), A = 30 + d * Math.sin(m * Math.PI / 180), C = 30 + (d - v) * Math.cos(m * Math.PI / 180), _ = 30 + (d - v) * Math.sin(m * Math.PI / 180);
3563
- return /* @__PURE__ */ t.jsx(
3564
- "line",
3565
- {
3566
- x1: w,
3567
- y1: A,
3568
- x2: C,
3569
- y2: _,
3570
- stroke: y,
3571
- strokeWidth: 1,
3572
- strokeLinecap: "round",
3573
- opacity: 0.7
3574
- },
3575
- `tick-${g}`
3576
- );
3577
- }),
3578
- [...Array(s)].map((b, g) => {
3579
- const m = n * g - 90 + c / 2, p = m + x, v = (z) => z * Math.PI / 180, y = 30 + l * Math.cos(v(m)), w = 30 + l * Math.sin(v(m)), A = 30 + i * Math.cos(v(m)), C = 30 + i * Math.sin(v(m)), _ = 30 + i * Math.cos(v(p)), $ = 30 + i * Math.sin(v(p)), k = 30 + l * Math.cos(v(p)), L = 30 + l * Math.sin(v(p)), G = `M ${y} ${w} L ${A} ${C} L ${_} ${$} L ${k} ${L} Z`, h = g < Math.floor(e / 5);
3580
- return /* @__PURE__ */ t.jsx(
3581
- "path",
3582
- {
3583
- d: G,
3584
- fill: h ? "var(--color-accent)" : "var(--color-border-default)",
3585
- style: {
3586
- filter: h ? "drop-shadow(0 0 6px var(--color-accent))" : "none",
3587
- transition: "fill 0.3s ease"
3588
- }
3589
- },
3590
- `segment-${g}`
3591
- );
3592
- })
3593
- ]
3594
- }
3595
- ),
3596
- a && /* @__PURE__ */ t.jsx("div", { className: "absolute inset-0 flex items-center justify-center", children: a })
3553
+ SEGMENT_COUNT: n,
3554
+ SEGMENT_ANGLE: c,
3555
+ GAP_ANGLE: l,
3556
+ INNER_RADIUS: i,
3557
+ OUTER_RADIUS: d,
3558
+ OUTER_TICK_RADIUS: g
3559
+ } = nr, m = c - l;
3560
+ return /* @__PURE__ */ t.jsxs("div", { className: $("relative", lr[r], a), children: [
3561
+ /* @__PURE__ */ t.jsxs("svg", { className: "w-full h-full", viewBox: "0 0 60 60", style: { overflow: "visible" }, children: [
3562
+ [...Array(60)].map((y, p) => {
3563
+ const h = 6 * p, x = p % 5 === 0 ? 6 : 3, v = 30 + g * Math.cos(h * Math.PI / 180), A = 30 + g * Math.sin(h * Math.PI / 180), N = 30 + (g - x) * Math.cos(h * Math.PI / 180), T = 30 + (g - x) * Math.sin(h * Math.PI / 180);
3564
+ return /* @__PURE__ */ t.jsx(
3565
+ "line",
3566
+ {
3567
+ x1: v,
3568
+ y1: A,
3569
+ x2: N,
3570
+ y2: T,
3571
+ stroke: "var(--color-muted)",
3572
+ strokeWidth: 1,
3573
+ strokeLinecap: "round",
3574
+ opacity: 0.7
3575
+ },
3576
+ `tick-${p}`
3577
+ );
3578
+ }),
3579
+ [...Array(n)].map((y, p) => {
3580
+ const h = c * p - 90 + l / 2, w = h + m, x = (M) => M * Math.PI / 180, v = 30 + i * Math.cos(x(h)), A = 30 + i * Math.sin(x(h)), N = 30 + d * Math.cos(x(h)), T = 30 + d * Math.sin(x(h)), _ = 30 + d * Math.cos(x(w)), C = 30 + d * Math.sin(x(w)), z = 30 + i * Math.cos(x(w)), G = 30 + i * Math.sin(x(w)), f = p < Math.floor(e / 5);
3581
+ return /* @__PURE__ */ t.jsx(
3582
+ "path",
3583
+ {
3584
+ d: `M ${v} ${A} L ${N} ${T} L ${_} ${C} L ${z} ${G} Z`,
3585
+ fill: f ? "var(--color-accent)" : "var(--color-border-default)",
3586
+ style: {
3587
+ filter: f ? "drop-shadow(0 0 6px var(--color-accent))" : "none",
3588
+ transition: "fill 0.3s ease"
3589
+ }
3590
+ },
3591
+ `segment-${p}`
3592
+ );
3593
+ })
3594
+ ] }),
3595
+ s && /* @__PURE__ */ t.jsx("div", { className: "absolute inset-0 flex items-center justify-center", children: s })
3597
3596
  ] });
3598
- }, yr = ({
3597
+ }, cr = {
3598
+ sm: "h-3",
3599
+ md: "h-5",
3600
+ lg: "h-7",
3601
+ xl: "h-9"
3602
+ }, dr = ({ progress: e, segments: r = 10, size: a = "md", className: s }) => {
3603
+ const n = Math.round(Math.min(100, Math.max(0, e)) / 100 * r);
3604
+ return /* @__PURE__ */ t.jsx("div", { className: $("flex gap-1 w-full", s), children: [...Array(r)].map((c, l) => {
3605
+ const i = l < n;
3606
+ return /* @__PURE__ */ t.jsx(
3607
+ "div",
3608
+ {
3609
+ className: $("flex-1 rounded-sm transition-all duration-300", cr[a]),
3610
+ style: {
3611
+ backgroundColor: i ? "var(--color-accent)" : "var(--color-border-default)",
3612
+ boxShadow: i ? "0 0 6px var(--color-accent)" : "none"
3613
+ }
3614
+ },
3615
+ l
3616
+ );
3617
+ }) });
3618
+ }, jr = (e) => e.variant === "block" ? /* @__PURE__ */ t.jsx(dr, { ...e }) : /* @__PURE__ */ t.jsx(ir, { ...e }), Nr = ({
3599
3619
  progress: e,
3600
3620
  size: r = "md",
3601
3621
  className: a = ""
3602
3622
  }) => {
3603
- const s = (x) => V(x, oe.linearProgress.width), n = (x) => V(x, oe.linearProgress.height), c = s(r), l = n(r), i = T("bg-surface rounded-full shadow-inner", l, a || c), d = T("bg-gradient-to-r from-accent to-primary rounded-full shadow-lg-accent transition-all duration-500 ease-out", l);
3623
+ const s = (g) => H(g, ae.linearProgress.width), n = (g) => H(g, ae.linearProgress.height), c = s(r), l = n(r), i = $("bg-surface rounded-full shadow-inner", l, a || c), d = $("bg-gradient-to-r from-accent to-primary rounded-full shadow-lg-accent transition-all duration-500 ease-out", l);
3604
3624
  return /* @__PURE__ */ t.jsx(
3605
3625
  "div",
3606
3626
  {
@@ -3618,14 +3638,14 @@ const gr = ({
3618
3638
  )
3619
3639
  }
3620
3640
  );
3621
- }, nr = ({
3641
+ }, ur = ({
3622
3642
  type: e,
3623
3643
  title: r,
3624
3644
  message: a,
3625
3645
  size: s = "md",
3626
3646
  onClose: n
3627
3647
  }) => {
3628
- const c = (g) => V(g, oe.notification), i = (() => {
3648
+ const c = (y) => H(y, ae.notification), i = (() => {
3629
3649
  switch (e) {
3630
3650
  case "success":
3631
3651
  return {
@@ -3673,8 +3693,8 @@ const gr = ({
3673
3693
  icon: null
3674
3694
  };
3675
3695
  }
3676
- })(), d = c(s), x = e === "error" ? "alert" : "status", b = e === "warning" ? "hover:text-default/70" : "hover:text-base/70";
3677
- return /* @__PURE__ */ t.jsxs("div", { className: `flex items-start rounded-lg ${d} ${i.container}`, role: x, "aria-atomic": "true", children: [
3696
+ })(), d = c(s), g = e === "error" ? "alert" : "status", m = e === "warning" ? "hover:text-default/70" : "hover:text-base/70";
3697
+ return /* @__PURE__ */ t.jsxs("div", { className: `flex items-start rounded-lg ${d} ${i.container}`, role: g, "aria-atomic": "true", children: [
3678
3698
  /* @__PURE__ */ t.jsx("div", { className: "flex-shrink-0", children: i.icon }),
3679
3699
  /* @__PURE__ */ t.jsxs("div", { className: "flex-1", children: [
3680
3700
  /* @__PURE__ */ t.jsx("h4", { className: `font-bold ${i.textColor}`, children: r }),
@@ -3683,7 +3703,7 @@ const gr = ({
3683
3703
  n && /* @__PURE__ */ t.jsx(
3684
3704
  "button",
3685
3705
  {
3686
- className: `flex-shrink-0 ${i.textColor} ${b} transition-colors cursor-pointer`,
3706
+ className: `flex-shrink-0 ${i.textColor} ${m} transition-colors cursor-pointer`,
3687
3707
  onClick: n,
3688
3708
  "aria-label": "Close notification",
3689
3709
  children: /* @__PURE__ */ t.jsx("svg", { className: "w-5 h-5", fill: "currentColor", viewBox: "0 0 20 20", children: /* @__PURE__ */ t.jsx(
@@ -3716,41 +3736,40 @@ const gr = ({
3716
3736
  "transition-all",
3717
3737
  "duration-300",
3718
3738
  "ease-in-out",
3719
- "transform",
3720
3739
  "focus:outline-none",
3721
3740
  s ? "cursor-not-allowed" : "cursor-pointer"
3722
- ].join(" "), i = (g) => V(g, oe.button), d = (g, m) => ({
3741
+ ].join(" "), i = (y) => H(y, ae.button), d = (y, p) => ({
3723
3742
  primary: {
3724
- enabled: "bg-linear-(--gradient-accent) text-base shadow-primary border-none hover:shadow-lg-accent hover:scale-105 focus-visible:ring-2 focus-visible:ring-accent/50 active:scale-95",
3725
- disabled: "bg-base border-2 border-accent/20 text-accent/40 shadow-none opacity-50 hover:scale-100"
3743
+ enabled: "bg-linear-(--gradient-accent) text-base shadow-primary border-none hover:shadow-lg-accent hover:brightness-110 focus-visible:ring-2 focus-visible:ring-accent/50 active:scale-95",
3744
+ disabled: "bg-base border-2 border-accent/20 text-accent/40 shadow-none opacity-50"
3726
3745
  },
3727
3746
  secondary: {
3728
- enabled: "bg-surface border-2 border-secondary text-secondary shadow-secondary/30 hover:bg-secondary hover:text-base hover:shadow-secondary hover:scale-105 focus-visible:ring-2 focus-visible:ring-secondary/50 active:scale-95",
3729
- disabled: "bg-base border-2 border-secondary/20 text-secondary/40 shadow-none opacity-50 hover:bg-base hover:text-secondary/40 hover:scale-100"
3747
+ enabled: "bg-surface border-2 border-secondary text-secondary shadow-secondary/30 hover:bg-secondary hover:text-base hover:shadow-secondary focus-visible:ring-2 focus-visible:ring-secondary/50 active:scale-95",
3748
+ disabled: "bg-base border-2 border-secondary/20 text-secondary/40 shadow-none opacity-50"
3730
3749
  },
3731
3750
  danger: {
3732
- enabled: "bg-surface border-2 border-error text-error shadow-error/30 hover:bg-error hover:text-base hover:shadow-error hover:scale-105 focus-visible:ring-2 focus-visible:ring-error/50 active:scale-95",
3733
- disabled: "bg-base border-2 border-error/20 text-error/40 shadow-none opacity-50 hover:bg-base hover:text-error/40 hover:scale-100"
3751
+ enabled: "bg-surface border-2 border-error text-error shadow-error/30 hover:bg-error hover:text-base hover:shadow-error focus-visible:ring-2 focus-visible:ring-error/50 active:scale-95",
3752
+ disabled: "bg-base border-2 border-error/20 text-error/40 shadow-none opacity-50"
3734
3753
  },
3735
3754
  ghost: {
3736
- enabled: "bg-surface border-2 border-accent text-accent shadow-secondary hover:bg-accent hover:text-base hover:shadow-lg-accent hover:scale-105 focus-visible:ring-2 focus-visible:ring-accent/50 active:scale-95",
3737
- disabled: "bg-base border-2 border-accent/10 text-muted/60 shadow-none opacity-40 hover:bg-base hover:text-muted/60 hover:scale-100"
3755
+ enabled: "bg-surface border-2 border-accent text-accent shadow-secondary hover:bg-accent hover:text-base hover:shadow-lg-accent focus-visible:ring-2 focus-visible:ring-accent/50 active:scale-95",
3756
+ disabled: "bg-base border-2 border-accent/10 text-muted/60 shadow-none opacity-40"
3738
3757
  }
3739
- })[g][m ? "disabled" : "enabled"], x = T(l, i(r), d(e, s), a), b = e === "primary" && !s;
3758
+ })[y][p ? "disabled" : "enabled"], g = $(l, i(r), d(e, s), a), m = e === "primary" && !s;
3740
3759
  return /* @__PURE__ */ t.jsxs(
3741
3760
  "button",
3742
3761
  {
3743
- className: x,
3762
+ className: g,
3744
3763
  disabled: s,
3745
3764
  ...c,
3746
3765
  children: [
3747
3766
  /* @__PURE__ */ t.jsx("span", { className: "relative z-10", children: n }),
3748
- b && /* @__PURE__ */ t.jsx("div", { className: "absolute inset-0 bg-gradient-to-r from-transparent via-white/20 to-transparent -translate-x-full group-hover:translate-x-full transition-transform duration-700" }),
3767
+ m && /* @__PURE__ */ t.jsx("div", { className: "absolute inset-0 bg-gradient-to-r from-transparent via-white/20 to-transparent -translate-x-full group-hover:translate-x-full transition-transform duration-700" }),
3749
3768
  s && /* @__PURE__ */ t.jsx("div", { className: "absolute inset-0 bg-gradient-to-br from-transparent via-base/10 to-transparent pointer-events-none" })
3750
3769
  ]
3751
3770
  }
3752
3771
  );
3753
- }, vr = ({
3772
+ }, Cr = ({
3754
3773
  variant: e = "primary",
3755
3774
  size: r = "md",
3756
3775
  label: a,
@@ -3760,9 +3779,9 @@ const gr = ({
3760
3779
  rightIcon: l,
3761
3780
  className: i = "",
3762
3781
  disabled: d = !1,
3763
- ...x
3782
+ ...g
3764
3783
  }) => {
3765
- const b = Fe(), g = x.id || b, m = [
3784
+ const m = Be(), y = g.id || m, p = [
3766
3785
  "w-full",
3767
3786
  "rounded-lg",
3768
3787
  "bg-surface",
@@ -3772,45 +3791,45 @@ const gr = ({
3772
3791
  "duration-300",
3773
3792
  "focus:outline-none",
3774
3793
  d ? "cursor-not-allowed opacity-60" : "cursor-text"
3775
- ].join(" "), p = ($) => V($, oe.input), v = ($) => {
3776
- const k = p($);
3777
- return c && l ? `pl-10 pr-10 ${k}` : c ? `pl-10 pr-4 ${k}` : l ? `pl-4 pr-10 ${k}` : `px-4 ${k}`;
3778
- }, y = ($, k, L) => k ? "border-2 border-error shadow-error/30 hover:shadow-error focus:ring-2 focus:ring-error focus:shadow-error active:bg-base" : L ? {
3794
+ ].join(" "), h = (_) => H(_, ae.input), w = (_) => {
3795
+ const C = h(_);
3796
+ return c && l ? `pl-10 pr-10 ${C}` : c ? `pl-10 pr-4 ${C}` : l ? `pl-4 pr-10 ${C}` : `px-4 ${C}`;
3797
+ }, x = (_, C, z) => C ? "border-2 border-error shadow-error/30 hover:shadow-error focus:ring-2 focus:ring-error focus:shadow-error active:bg-base" : z ? {
3779
3798
  primary: "border-2 border-accent/20 shadow-none",
3780
3799
  secondary: "border-2 border-secondary/20 shadow-none",
3781
3800
  danger: "border-2 border-error/20 shadow-none",
3782
3801
  ghost: "border border-border-default shadow-none"
3783
- }[$] : {
3802
+ }[_] : {
3784
3803
  primary: "border-2 border-accent shadow-input-accent hover:shadow-lg-accent focus:ring-2 focus:ring-accent focus:shadow-lg-accent active:bg-base",
3785
3804
  secondary: "border-2 border-secondary shadow-secondary/30 hover:shadow-secondary focus:ring-2 focus:ring-secondary focus:shadow-secondary active:bg-base",
3786
3805
  danger: "border-2 border-error shadow-error/30 hover:shadow-error focus:ring-2 focus:ring-error focus:shadow-error active:bg-base",
3787
3806
  ghost: "border border-border-default shadow-none hover:border-accent focus:ring-2 focus:ring-accent focus:border-accent active:bg-base"
3788
- }[$], w = ($) => ({
3807
+ }[_], v = (_) => ({
3789
3808
  primary: "text-accent",
3790
3809
  secondary: "text-secondary",
3791
3810
  danger: "text-error",
3792
3811
  ghost: "text-muted"
3793
- })[$], A = T(m, v(r), y(e, !!n, d), i), C = w(e), _ = n ? `${g}-error` : s ? `${g}-help` : void 0;
3812
+ })[_], A = $(p, w(r), x(e, !!n, d), i), N = v(e), T = n ? `${y}-error` : s ? `${y}-help` : void 0;
3794
3813
  return /* @__PURE__ */ t.jsxs("div", { className: "space-y-2", children: [
3795
- a && /* @__PURE__ */ t.jsx("label", { htmlFor: g, className: "block text-sm font-medium text-default", children: a }),
3814
+ a && /* @__PURE__ */ t.jsx("label", { htmlFor: y, className: "block text-sm font-medium text-default", children: a }),
3796
3815
  /* @__PURE__ */ t.jsxs("div", { className: "relative", children: [
3797
- c && /* @__PURE__ */ t.jsx("div", { className: `absolute inset-y-0 left-0 flex items-center pl-3 ${C}`, children: c }),
3816
+ c && /* @__PURE__ */ t.jsx("div", { className: `absolute inset-y-0 left-0 flex items-center pl-3 ${N}`, children: c }),
3798
3817
  /* @__PURE__ */ t.jsx(
3799
3818
  "input",
3800
3819
  {
3801
3820
  className: A,
3802
3821
  disabled: d,
3803
- id: g,
3822
+ id: y,
3804
3823
  "aria-invalid": !!n,
3805
- "aria-describedby": _,
3806
- ...x
3824
+ "aria-describedby": T,
3825
+ ...g
3807
3826
  }
3808
3827
  ),
3809
- l && /* @__PURE__ */ t.jsx("div", { className: `absolute inset-y-0 right-0 flex items-center pr-3 ${C}`, children: l })
3828
+ l && /* @__PURE__ */ t.jsx("div", { className: `absolute inset-y-0 right-0 flex items-center pr-3 ${N}`, children: l })
3810
3829
  ] }),
3811
- (s || n) && /* @__PURE__ */ t.jsx("div", { id: n ? `${g}-error` : `${g}-help`, className: `text-xs font-mono ${n ? "text-error" : "text-muted"}`, children: n || s })
3830
+ (s || n) && /* @__PURE__ */ t.jsx("div", { id: n ? `${y}-error` : `${y}-help`, className: `text-xs font-mono ${n ? "text-error" : "text-muted"}`, children: n || s })
3812
3831
  ] });
3813
- }, wr = ({
3832
+ }, Sr = ({
3814
3833
  variant: e = "default",
3815
3834
  size: r = "md",
3816
3835
  title: a,
@@ -3819,19 +3838,19 @@ const gr = ({
3819
3838
  className: c = "",
3820
3839
  ...l
3821
3840
  }) => {
3822
- const i = (b) => V(b, oe.card), d = (b) => {
3823
- const g = i(r);
3841
+ const i = (m) => H(m, ae.card), d = (m) => {
3842
+ const y = i(r);
3824
3843
  return {
3825
- default: `bg-base border border-border-default rounded-xl ${g}`,
3826
- accent: `bg-surface border-2 border-accent rounded-xl shadow-input-accent/50 hover:shadow-lg-accent transition-all duration-300 transform ${g}`,
3827
- small: `bg-base rounded-lg border border-border-default ${g}`
3828
- }[b];
3829
- }, x = (b) => b ? "text-xl font-semibold text-secondary mb-4 border-b border-accent pb-2" : "text-xl font-semibold text-secondary mb-4";
3830
- return /* @__PURE__ */ t.jsxs("div", { className: T(d(e), c), ...l, children: [
3831
- a && /* @__PURE__ */ t.jsx("h3", { className: x(s), children: a }),
3844
+ default: `bg-base border border-border-default rounded-xl text-primary ${y}`,
3845
+ accent: `bg-surface border-2 border-accent rounded-xl shadow-input-accent/50 hover:shadow-lg-accent transition-all duration-300 transform text-primary ${y}`,
3846
+ small: `bg-base rounded-lg border border-border-default text-primary ${y}`
3847
+ }[m];
3848
+ }, g = (m) => m ? "text-xl font-semibold text-secondary mb-4 border-b border-accent pb-2" : "text-xl font-semibold text-secondary mb-4";
3849
+ return /* @__PURE__ */ t.jsxs("div", { className: $(d(e), c), ...l, children: [
3850
+ a && /* @__PURE__ */ t.jsx("h3", { className: g(s), children: a }),
3832
3851
  n
3833
3852
  ] });
3834
- }, kr = ({
3853
+ }, Er = ({
3835
3854
  variant: e = "primary",
3836
3855
  size: r = "md",
3837
3856
  children: a,
@@ -3842,25 +3861,25 @@ const gr = ({
3842
3861
  onClick: i,
3843
3862
  ...d
3844
3863
  }) => {
3845
- const x = (m) => V(m, oe.badge), b = (m) => ({
3846
- primary: "text-base bg-primary shadow-lg",
3847
- secondary: "text-base bg-secondary shadow-lg",
3848
- accent: "text-base bg-accent shadow-lg",
3849
- success: "text-base bg-success shadow-lg",
3850
- error: "text-base bg-error shadow-lg",
3851
- warning: "text-base bg-warning shadow-lg"
3852
- })[m], g = (m, p) => !p && !i ? "transition-shadow" : {
3864
+ const g = (p) => H(p, ae.badge), m = (p) => ({
3865
+ primary: "bg-primary shadow-lg",
3866
+ secondary: "bg-secondary shadow-lg",
3867
+ accent: "bg-accent shadow-lg",
3868
+ success: "bg-success shadow-lg",
3869
+ error: "bg-error shadow-lg",
3870
+ warning: "bg-warning shadow-lg"
3871
+ })[p], y = (p, h) => !h && !i ? "transition-shadow" : {
3853
3872
  primary: "hover:shadow-primary transition-shadow cursor-pointer",
3854
3873
  secondary: "hover:shadow-secondary transition-shadow cursor-pointer",
3855
3874
  accent: "hover:shadow-lg-accent transition-shadow cursor-pointer",
3856
3875
  success: "hover:shadow-success transition-shadow cursor-pointer",
3857
3876
  error: "hover:shadow-error transition-shadow cursor-pointer",
3858
3877
  warning: "hover:shadow-warning transition-shadow cursor-pointer"
3859
- }[m];
3878
+ }[p];
3860
3879
  return /* @__PURE__ */ t.jsxs(
3861
3880
  "span",
3862
3881
  {
3863
- className: T("inline-flex items-center rounded-full font-semibold", x(r), b(e), g(e, l || !!i), s),
3882
+ className: $("inline-flex items-center rounded-full font-semibold", g(r), m(e), y(e, l || !!i), s),
3864
3883
  onClick: i,
3865
3884
  ...d,
3866
3885
  children: [
@@ -3870,7 +3889,7 @@ const gr = ({
3870
3889
  ]
3871
3890
  }
3872
3891
  );
3873
- }, jr = ({
3892
+ }, _r = ({
3874
3893
  label: e,
3875
3894
  size: r = "md",
3876
3895
  variant: a = "primary",
@@ -3881,34 +3900,34 @@ const gr = ({
3881
3900
  id: i,
3882
3901
  ...d
3883
3902
  }) => {
3884
- const x = (y) => {
3885
- l || c && c(y.target.checked);
3886
- }, b = (y) => V(y, {
3903
+ const g = (x) => {
3904
+ l || c && c(x.target.checked);
3905
+ }, m = (x) => H(x, {
3887
3906
  sm: "w-10 h-5 after:h-4 after:w-4",
3888
3907
  md: "w-14 h-7 after:h-6 after:w-6",
3889
3908
  lg: "w-16 h-8 after:h-7 after:w-7"
3890
- }), g = (y, w) => {
3891
- if (w)
3909
+ }), y = (x, v) => {
3910
+ if (v)
3892
3911
  return "bg-gray-600 peer-checked:bg-gray-500 opacity-50 cursor-not-allowed";
3893
3912
  const A = {
3894
3913
  primary: "bg-gray-600 peer-checked:bg-linear-(--gradient-accent) peer-focus:ring-primary",
3895
3914
  secondary: "bg-gray-600 peer-checked:bg-secondary peer-focus:ring-secondary",
3896
3915
  accent: "bg-gray-600 peer-checked:bg-accent peer-focus:ring-accent"
3897
3916
  };
3898
- return A[y] || A.primary;
3899
- }, m = T(
3917
+ return A[x] || A.primary;
3918
+ }, p = $(
3900
3919
  "relative inline-flex items-center",
3901
3920
  l ? "cursor-not-allowed opacity-50" : "cursor-pointer"
3902
- ), p = T(
3903
- b(r),
3904
- g(a, l),
3921
+ ), h = $(
3922
+ m(r),
3923
+ y(a, l),
3905
3924
  "peer-focus:outline-none rounded-full peer",
3906
3925
  "peer-checked:after:translate-x-full peer-checked:after:border-white",
3907
3926
  "after:content-[''] after:absolute after:top-[2px] after:left-[2px]",
3908
3927
  "after:bg-white after:rounded-full after:transition-all",
3909
3928
  "transition-colors duration-300"
3910
- ), v = T("flex items-center justify-between", e && "space-x-3", s);
3911
- return /* @__PURE__ */ t.jsxs("div", { className: v, children: [
3929
+ ), w = $("flex items-center justify-between", e && "space-x-3", s);
3930
+ return /* @__PURE__ */ t.jsxs("div", { className: w, children: [
3912
3931
  e && /* @__PURE__ */ t.jsx(
3913
3932
  "label",
3914
3933
  {
@@ -3917,23 +3936,23 @@ const gr = ({
3917
3936
  children: e
3918
3937
  }
3919
3938
  ),
3920
- /* @__PURE__ */ t.jsxs("label", { className: m, children: [
3939
+ /* @__PURE__ */ t.jsxs("label", { className: p, children: [
3921
3940
  /* @__PURE__ */ t.jsx(
3922
3941
  "input",
3923
3942
  {
3924
3943
  type: "checkbox",
3925
3944
  className: "sr-only peer",
3926
3945
  checked: n,
3927
- onChange: x,
3946
+ onChange: g,
3928
3947
  disabled: l,
3929
3948
  id: i,
3930
3949
  ...d
3931
3950
  }
3932
3951
  ),
3933
- /* @__PURE__ */ t.jsx("div", { className: p })
3952
+ /* @__PURE__ */ t.jsx("div", { className: h })
3934
3953
  ] })
3935
3954
  ] });
3936
- }, Nr = ({
3955
+ }, $r = ({
3937
3956
  label: e,
3938
3957
  size: r = "md",
3939
3958
  variant: a = "primary",
@@ -3943,53 +3962,58 @@ const gr = ({
3943
3962
  error: l,
3944
3963
  className: i = "",
3945
3964
  disabled: d = !1,
3946
- id: x,
3947
- name: b,
3948
- ...g
3965
+ id: g,
3966
+ name: m,
3967
+ onValueChange: y,
3968
+ onChange: p,
3969
+ ...h
3949
3970
  }) => {
3950
- const m = Fe(), p = x || m, v = b || p, y = (k) => V(k, oe.input), w = (k, L, G) => {
3951
- if (L)
3971
+ const w = (f) => {
3972
+ p?.(f), y?.(f.target.value);
3973
+ }, x = Be(), v = g || x, A = m || v, N = (f) => H(f, ae.input), T = (f, M, V) => {
3974
+ if (M)
3952
3975
  return "bg-base border-2 border-border-default/30 text-muted/50 cursor-not-allowed opacity-50";
3953
- if (G)
3976
+ if (V)
3954
3977
  return "bg-surface border-2 border-error text-default focus:ring-2 focus:ring-error focus:border-error shadow-error";
3955
- const h = {
3978
+ const X = {
3956
3979
  primary: "bg-surface border-2 border-border-default text-default focus:ring-2 focus:ring-primary focus:border-primary shadow-primary",
3957
3980
  secondary: "bg-surface border-2 border-secondary text-default focus:ring-2 focus:ring-secondary focus:border-secondary shadow-secondary/30",
3958
3981
  danger: "bg-surface border-2 border-error text-default focus:ring-2 focus:ring-error focus:border-error shadow-error/30",
3959
3982
  ghost: "bg-base border-2 border-accent/20 text-default focus:ring-2 focus:ring-accent focus:border-accent shadow-secondary"
3960
3983
  };
3961
- return h[k] || h.primary;
3962
- }, A = T(
3984
+ return X[f] || X.primary;
3985
+ }, _ = $(
3963
3986
  "appearance-none w-full rounded-lg font-mono transition-all duration-300 focus:outline-none px-4 pr-10",
3964
- y(r),
3965
- w(a, d, !!l),
3987
+ N(r),
3988
+ T(a, d, !!l),
3966
3989
  i
3967
- ), C = "relative w-full", _ = T(
3990
+ ), C = "relative w-full", z = $(
3968
3991
  "block text-sm font-medium mb-2 transition-colors duration-200",
3969
3992
  d ? "text-muted opacity-50" : l ? "text-error" : "text-default"
3970
- ), $ = T("mt-2 text-xs transition-colors duration-200", l ? "text-error" : "text-muted");
3993
+ ), G = $("mt-2 text-xs transition-colors duration-200", l ? "text-error" : "text-muted");
3971
3994
  return /* @__PURE__ */ t.jsxs("div", { className: "w-full", children: [
3972
- e && /* @__PURE__ */ t.jsx("label", { htmlFor: p, className: _, children: e }),
3995
+ e && /* @__PURE__ */ t.jsx("label", { htmlFor: v, className: z, children: e }),
3973
3996
  /* @__PURE__ */ t.jsxs("div", { className: C, children: [
3974
3997
  /* @__PURE__ */ t.jsxs(
3975
3998
  "select",
3976
3999
  {
3977
- className: A,
4000
+ className: _,
3978
4001
  disabled: d,
3979
- id: p,
3980
- name: v,
3981
- ...g,
4002
+ id: v,
4003
+ name: A,
4004
+ onChange: w,
4005
+ ...h,
3982
4006
  children: [
3983
4007
  n && /* @__PURE__ */ t.jsx("option", { value: "", disabled: !0, children: n }),
3984
- s.map((k) => /* @__PURE__ */ t.jsx(
4008
+ s.map((f) => /* @__PURE__ */ t.jsx(
3985
4009
  "option",
3986
4010
  {
3987
- value: k.value,
3988
- disabled: k.disabled,
4011
+ value: f.value,
4012
+ disabled: f.disabled,
3989
4013
  className: "bg-surface text-default",
3990
- children: k.label
4014
+ children: f.label
3991
4015
  },
3992
- k.value
4016
+ f.value
3993
4017
  ))
3994
4018
  ]
3995
4019
  }
@@ -4009,9 +4033,9 @@ const gr = ({
4009
4033
  }
4010
4034
  )
4011
4035
  ] }),
4012
- (c || l) && /* @__PURE__ */ t.jsx("div", { className: $, children: l || c })
4036
+ (c || l) && /* @__PURE__ */ t.jsx("div", { className: G, children: l || c })
4013
4037
  ] });
4014
- }, Cr = ({
4038
+ }, Tr = ({
4015
4039
  variant: e = "text",
4016
4040
  size: r = "md",
4017
4041
  width: a,
@@ -4020,46 +4044,46 @@ const gr = ({
4020
4044
  lines: c = 3,
4021
4045
  animate: l = !0
4022
4046
  }) => {
4023
- const d = T("bg-gray-600", l && "animate-pulse", ((b) => V(b, oe.skeleton))(r), n), x = () => {
4024
- const b = {};
4025
- return a && (b.width = typeof a == "number" ? `${a}px` : a), s && (b.height = typeof s == "number" ? `${s}px` : s), b;
4047
+ const d = $("bg-gray-600", l && "animate-pulse", ((m) => H(m, ae.skeleton))(r), n), g = () => {
4048
+ const m = {};
4049
+ return a && (m.width = typeof a == "number" ? `${a}px` : a), s && (m.height = typeof s == "number" ? `${s}px` : s), m;
4026
4050
  };
4027
4051
  if (e === "text")
4028
- return /* @__PURE__ */ t.jsx("div", { className: `space-y-3 ${n}`, children: Array.from({ length: c }).map((b, g) => {
4029
- const p = g === c - 1 ? "w-2/3" : g % 2 === 0 ? "w-full" : "w-5/6";
4052
+ return /* @__PURE__ */ t.jsx("div", { className: `space-y-3 ${n}`, children: Array.from({ length: c }).map((m, y) => {
4053
+ const h = y === c - 1 ? "w-2/3" : y % 2 === 0 ? "w-full" : "w-5/6";
4030
4054
  return /* @__PURE__ */ t.jsx(
4031
4055
  "div",
4032
4056
  {
4033
- className: `h-3 rounded ${d} ${p}`,
4034
- style: x()
4057
+ className: `h-3 rounded ${d} ${h}`,
4058
+ style: g()
4035
4059
  },
4036
- g
4060
+ y
4037
4061
  );
4038
4062
  }) });
4039
4063
  if (e === "circular") {
4040
- const b = r === "sm" ? "h-12 w-12" : r === "lg" ? "h-20 w-20" : "h-16 w-16";
4064
+ const m = r === "sm" ? "h-12 w-12" : r === "lg" ? "h-20 w-20" : "h-16 w-16";
4041
4065
  return /* @__PURE__ */ t.jsx(
4042
4066
  "div",
4043
4067
  {
4044
- className: `rounded-full ${d} ${b}`,
4045
- style: x()
4068
+ className: `rounded-full ${d} ${m}`,
4069
+ style: g()
4046
4070
  }
4047
4071
  );
4048
4072
  }
4049
4073
  if (e === "rectangular") {
4050
- const b = r === "sm" ? "h-20" : r === "lg" ? "h-40" : "h-32";
4074
+ const m = r === "sm" ? "h-20" : r === "lg" ? "h-40" : "h-32";
4051
4075
  return /* @__PURE__ */ t.jsx(
4052
4076
  "div",
4053
4077
  {
4054
- className: `rounded-lg ${d} w-full ${b}`,
4055
- style: x()
4078
+ className: `rounded-lg ${d} w-full ${m}`,
4079
+ style: g()
4056
4080
  }
4057
4081
  );
4058
4082
  }
4059
4083
  if (e === "avatar-text") {
4060
- const b = r === "sm" ? "h-12 w-12" : r === "lg" ? "h-20 w-20" : "h-16 w-16";
4084
+ const m = r === "sm" ? "h-12 w-12" : r === "lg" ? "h-20 w-20" : "h-16 w-16";
4061
4085
  return /* @__PURE__ */ t.jsxs("div", { className: `flex items-center space-x-4 ${n}`, children: [
4062
- /* @__PURE__ */ t.jsx("div", { className: `rounded-full ${d} ${b}` }),
4086
+ /* @__PURE__ */ t.jsx("div", { className: `rounded-full ${d} ${m}` }),
4063
4087
  /* @__PURE__ */ t.jsxs("div", { className: "flex-1 space-y-3", children: [
4064
4088
  /* @__PURE__ */ t.jsx("div", { className: `h-4 rounded w-3/4 ${d}` }),
4065
4089
  /* @__PURE__ */ t.jsx("div", { className: `h-3 rounded w-1/2 ${d}` })
@@ -4067,18 +4091,18 @@ const gr = ({
4067
4091
  ] });
4068
4092
  }
4069
4093
  if (e === "button-group") {
4070
- const b = r === "sm" ? "h-8" : r === "lg" ? "h-12" : "h-10";
4094
+ const m = r === "sm" ? "h-8" : r === "lg" ? "h-12" : "h-10";
4071
4095
  return /* @__PURE__ */ t.jsxs("div", { className: `flex space-x-4 ${n}`, children: [
4072
- /* @__PURE__ */ t.jsx("div", { className: `${b} rounded w-20 ${d}` }),
4073
- /* @__PURE__ */ t.jsx("div", { className: `${b} rounded w-24 ${d}` })
4096
+ /* @__PURE__ */ t.jsx("div", { className: `${m} rounded w-20 ${d}` }),
4097
+ /* @__PURE__ */ t.jsx("div", { className: `${m} rounded w-24 ${d}` })
4074
4098
  ] });
4075
4099
  }
4076
4100
  if (e === "card") {
4077
- const b = r === "sm" ? "p-4" : r === "lg" ? "p-8" : "p-6";
4101
+ const m = r === "sm" ? "p-4" : r === "lg" ? "p-8" : "p-6";
4078
4102
  return /* @__PURE__ */ t.jsx(
4079
4103
  "div",
4080
4104
  {
4081
- className: `border border-border-default rounded-lg bg-surface ${b} space-y-4 ${n}`,
4105
+ className: `border border-border-default rounded-lg bg-surface ${m} space-y-4 ${n}`,
4082
4106
  children: l && /* @__PURE__ */ t.jsxs("div", { className: "animate-pulse space-y-4", children: [
4083
4107
  /* @__PURE__ */ t.jsxs("div", { className: "flex items-center space-x-4", children: [
4084
4108
  /* @__PURE__ */ t.jsx("div", { className: `rounded-full ${d} h-16 w-16` }),
@@ -4104,14 +4128,14 @@ const gr = ({
4104
4128
  "div",
4105
4129
  {
4106
4130
  className: `h-4 rounded ${d} w-full`,
4107
- style: x()
4131
+ style: g()
4108
4132
  }
4109
4133
  );
4110
- }, lr = {
4134
+ }, mr = {
4111
4135
  openDuration: 50,
4112
4136
  closeDuration: 350,
4113
4137
  cyberpunkEffects: !0
4114
- }, je = $e(
4138
+ }, je = _e(
4115
4139
  ({
4116
4140
  src: e,
4117
4141
  alt: r,
@@ -4122,35 +4146,35 @@ const gr = ({
4122
4146
  className: l = "",
4123
4147
  animation: i,
4124
4148
  eager: d = !1,
4125
- previewClassName: x = "",
4126
- onPreviewOpen: b,
4127
- onPreviewClose: g,
4128
- onLoad: m,
4129
- onError: p,
4130
- ...v
4149
+ previewClassName: g = "",
4150
+ onPreviewOpen: m,
4151
+ onPreviewClose: y,
4152
+ onLoad: p,
4153
+ onError: h,
4154
+ ...w
4131
4155
  }) => {
4132
- const y = { ...lr, ...i }, [w, A] = X(!1), [C, _] = X(!1), [$, k] = X(!1), [L, G] = X(!0), [h, z] = X(!1), [U, q] = X(!1), Q = te(null), re = te(null), ee = D(
4133
- (S) => V(S, oe.card),
4156
+ const x = { ...mr, ...i }, [v, A] = Z(!1), [N, T] = Z(!1), [_, C] = Z(!1), [z, G] = Z(!0), [f, M] = Z(!1), [V, X] = Z(!1), Q = te(null), re = te(null), ee = D(
4157
+ (S) => H(S, ae.card),
4134
4158
  []
4135
- ), B = D(
4159
+ ), F = D(
4136
4160
  (S) => {
4137
- G(!1), z(!1), m?.(S);
4161
+ G(!1), M(!1), p?.(S);
4138
4162
  },
4139
- [m]
4140
- ), H = D(
4163
+ [p]
4164
+ ), U = D(
4141
4165
  (S) => {
4142
- G(!1), n && !U ? (q(!0), z(!1)) : z(!0), p?.(S);
4166
+ G(!1), n && !V ? (X(!0), M(!1)) : M(!0), h?.(S);
4143
4167
  },
4144
- [p, n, U]
4145
- ), Z = D(() => {
4146
- s && !h && (k(!0), A(!0), b?.(), setTimeout(() => {
4147
- k(!1);
4148
- }, y.openDuration));
4149
- }, [s, h, b, y.openDuration]), Y = D(() => {
4150
- _(!0), g?.(), setTimeout(() => {
4151
- A(!1), _(!1);
4152
- }, y.closeDuration);
4153
- }, [g, y.closeDuration]), K = D(
4168
+ [h, n, V]
4169
+ ), q = D(() => {
4170
+ s && !f && (C(!0), A(!0), m?.(), setTimeout(() => {
4171
+ C(!1);
4172
+ }, x.openDuration));
4173
+ }, [s, f, m, x.openDuration]), Y = D(() => {
4174
+ T(!0), y?.(), setTimeout(() => {
4175
+ A(!1), T(!1);
4176
+ }, x.closeDuration);
4177
+ }, [y, x.closeDuration]), K = D(
4154
4178
  (S) => {
4155
4179
  (S.target === Q.current || S.target === S.currentTarget) && Y();
4156
4180
  },
@@ -4161,43 +4185,43 @@ const gr = ({
4161
4185
  },
4162
4186
  [Y]
4163
4187
  );
4164
- ae(() => {
4165
- if (w) {
4188
+ oe(() => {
4189
+ if (v) {
4166
4190
  document.addEventListener("keydown", o);
4167
- const S = document.body.style.overflow, E = document.documentElement.style.scrollbarGutter, O = document.body.style.paddingRight, W = window.innerWidth - document.documentElement.clientWidth;
4191
+ const S = document.body.style.overflow, E = document.documentElement.style.scrollbarGutter, I = document.body.style.paddingRight, W = window.innerWidth - document.documentElement.clientWidth;
4168
4192
  return document.body.style.overflow = "hidden", document.body.style.paddingRight = `${W}px`, document.documentElement.style.scrollbarGutter = "auto", () => {
4169
- document.removeEventListener("keydown", o), document.body.style.overflow = S, document.body.style.paddingRight = O, document.documentElement.style.scrollbarGutter = E;
4193
+ document.removeEventListener("keydown", o), document.body.style.overflow = S, document.body.style.paddingRight = I, document.documentElement.style.scrollbarGutter = E;
4170
4194
  };
4171
4195
  }
4172
- }, [w, o]);
4173
- const u = be(
4174
- () => T(
4196
+ }, [v, o]);
4197
+ const u = pe(
4198
+ () => $(
4175
4199
  "relative rounded-lg overflow-hidden border-2 border-accent/30 transition-all duration-300 ease-in-out transform flex justify-center content-center",
4176
- s && !h ? "cursor-pointer hover:scale-105 hover:border-accent hover:shadow-lg-accent focus:outline-none focus:ring-4 focus:ring-accent/50" : "",
4200
+ s && !f ? "cursor-pointer hover:scale-105 hover:border-accent hover:shadow-lg-accent focus:outline-none focus:ring-4 focus:ring-accent/50" : "",
4177
4201
  ee(a),
4178
4202
  l
4179
4203
  ),
4180
- [s, h, ee, a, l]
4181
- ), f = be(
4204
+ [s, f, ee, a, l]
4205
+ ), b = pe(
4182
4206
  () => ({
4183
4207
  role: s ? "button" : "img",
4184
- tabIndex: s && !h ? 0 : -1,
4208
+ tabIndex: s && !f ? 0 : -1,
4185
4209
  "aria-label": s ? `${r}. Click to enlarge` : r,
4186
- "aria-expanded": s ? w : void 0,
4187
- onKeyDown: s && !h ? (S) => {
4188
- (S.key === "Enter" || S.key === " ") && (S.preventDefault(), Z());
4210
+ "aria-expanded": s ? v : void 0,
4211
+ onKeyDown: s && !f ? (S) => {
4212
+ (S.key === "Enter" || S.key === " ") && (S.preventDefault(), q());
4189
4213
  } : void 0
4190
4214
  }),
4191
- [s, h, r, w, Z]
4192
- ), R = be(
4215
+ [s, f, r, v, q]
4216
+ ), R = pe(
4193
4217
  () => /* @__PURE__ */ t.jsxs(
4194
4218
  "div",
4195
4219
  {
4196
4220
  className: u,
4197
- onClick: Z,
4198
- ...f,
4221
+ onClick: q,
4222
+ ...b,
4199
4223
  children: [
4200
- L && /* @__PURE__ */ t.jsx(
4224
+ z && /* @__PURE__ */ t.jsx(
4201
4225
  "div",
4202
4226
  {
4203
4227
  className: "absolute m-0 inset-0 flex items-center justify-center bg-surface border-2 border-accent/20",
@@ -4206,7 +4230,7 @@ const gr = ({
4206
4230
  children: c || /* @__PURE__ */ t.jsx("div", { className: "animate-pulse bg-gradient-to-r from-accent/20 to-secondary/20 w-full h-full flex items-center justify-center", children: /* @__PURE__ */ t.jsx("div", { className: "text-muted text-sm", children: "Loading..." }) })
4207
4231
  }
4208
4232
  ),
4209
- h ? /* @__PURE__ */ t.jsx(
4233
+ f ? /* @__PURE__ */ t.jsx(
4210
4234
  "div",
4211
4235
  {
4212
4236
  className: "flex items-center justify-center bg-surface border-2 border-error/30 text-error p-4 rounded-lg min-h-[100px]",
@@ -4217,21 +4241,21 @@ const gr = ({
4217
4241
  /* @__PURE__ */ t.jsx("div", { className: "text-sm", children: "Failed to load image" })
4218
4242
  ] })
4219
4243
  }
4220
- ) : U ? /* @__PURE__ */ t.jsx(
4244
+ ) : V ? /* @__PURE__ */ t.jsx(
4221
4245
  "img",
4222
4246
  {
4223
4247
  ref: re,
4224
4248
  src: n,
4225
4249
  alt: `${r} (fallback)`,
4226
4250
  className: "w-full h-full m-0 object-cover transition-opacity duration-300",
4227
- style: { opacity: L ? 0 : 1 },
4228
- onLoad: B,
4251
+ style: { opacity: z ? 0 : 1 },
4252
+ onLoad: F,
4229
4253
  onError: () => {
4230
- z(!0), q(!1);
4254
+ M(!0), X(!1);
4231
4255
  },
4232
4256
  loading: d ? "eager" : "lazy",
4233
4257
  decoding: "async",
4234
- ...v
4258
+ ...w
4235
4259
  }
4236
4260
  ) : /* @__PURE__ */ t.jsx(
4237
4261
  "img",
@@ -4240,15 +4264,15 @@ const gr = ({
4240
4264
  src: e,
4241
4265
  alt: r,
4242
4266
  className: "w-full h-full m-0 object-cover transition-opacity duration-300",
4243
- style: { opacity: L ? 0 : 1 },
4244
- onLoad: B,
4245
- onError: H,
4267
+ style: { opacity: z ? 0 : 1 },
4268
+ onLoad: F,
4269
+ onError: U,
4246
4270
  loading: d ? "eager" : "lazy",
4247
4271
  decoding: "async",
4248
- ...v
4272
+ ...w
4249
4273
  }
4250
4274
  ),
4251
- s && !L && !h && /* @__PURE__ */ t.jsx(
4275
+ s && !z && !f && /* @__PURE__ */ t.jsx(
4252
4276
  "div",
4253
4277
  {
4254
4278
  className: "absolute inset-0 bg-black/0 hover:bg-black/20 transition-all duration-300 flex items-center justify-center opacity-0 hover:opacity-100",
@@ -4261,30 +4285,30 @@ const gr = ({
4261
4285
  ),
4262
4286
  [
4263
4287
  u,
4264
- Z,
4265
- f,
4266
- L,
4288
+ q,
4289
+ b,
4290
+ z,
4267
4291
  c,
4268
- h,
4269
- U,
4292
+ f,
4293
+ V,
4270
4294
  n,
4271
4295
  r,
4272
- B,
4296
+ F,
4273
4297
  d,
4274
- v,
4298
+ w,
4275
4299
  e,
4276
- H,
4300
+ U,
4277
4301
  s
4278
4302
  ]
4279
4303
  );
4280
4304
  return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
4281
4305
  R,
4282
- w && Be(
4306
+ v && Fe(
4283
4307
  /* @__PURE__ */ t.jsxs(
4284
4308
  "div",
4285
4309
  {
4286
4310
  ref: Q,
4287
- className: `fixed z-50 flex items-center justify-center p-4 transition-all ease-out ${x} ${C ? "bg-black/0 backdrop-blur-none opacity-0 duration-300" : $ ? "bg-black/80 backdrop-blur-sm opacity-100 duration-500" : "bg-black/80 backdrop-blur-sm opacity-100 duration-300"}`,
4311
+ className: `fixed z-50 flex items-center justify-center p-4 transition-all ease-out ${g} ${N ? "bg-black/0 backdrop-blur-none opacity-0 duration-300" : _ ? "bg-black/80 backdrop-blur-sm opacity-100 duration-500" : "bg-black/80 backdrop-blur-sm opacity-100 duration-300"}`,
4288
4312
  style: {
4289
4313
  top: 0,
4290
4314
  left: 0,
@@ -4297,10 +4321,10 @@ const gr = ({
4297
4321
  "aria-modal": "true",
4298
4322
  "aria-label": `Preview: ${r}`,
4299
4323
  children: [
4300
- y.cyberpunkEffects && /* @__PURE__ */ t.jsx(
4324
+ x.cyberpunkEffects && /* @__PURE__ */ t.jsx(
4301
4325
  "div",
4302
4326
  {
4303
- className: `absolute transition-opacity duration-300 ${C ? "opacity-0" : "opacity-20"}`,
4327
+ className: `absolute transition-opacity duration-300 ${N ? "opacity-0" : "opacity-20"}`,
4304
4328
  style: {
4305
4329
  top: 0,
4306
4330
  left: 0,
@@ -4337,7 +4361,7 @@ const gr = ({
4337
4361
  "button",
4338
4362
  {
4339
4363
  onClick: Y,
4340
- className: `absolute top-4 right-4 text-white hover:text-accent/80 transition-all duration-300 font-bold z-20 rounded-full w-10 h-10 flex items-center justify-center cursor-pointer transform ${C ? "bg-black/0 scale-50 rotate-180 opacity-0" : $ ? "bg-black/50 scale-0 rotate-0 opacity-0 duration-500" : "bg-black/50 hover:bg-accent/20 scale-100 rotate-0 opacity-100 hover:scale-110"}`,
4364
+ className: `absolute top-4 right-4 text-white hover:text-accent/80 transition-all duration-300 font-bold z-20 rounded-full w-10 h-10 flex items-center justify-center cursor-pointer transform ${N ? "bg-black/0 scale-50 rotate-180 opacity-0" : _ ? "bg-black/50 scale-0 rotate-0 opacity-0 duration-500" : "bg-black/50 hover:bg-accent/20 scale-100 rotate-0 opacity-100 hover:scale-110"}`,
4341
4365
  style: { lineHeight: "1" },
4342
4366
  children: /* @__PURE__ */ t.jsxs(
4343
4367
  "svg",
@@ -4377,20 +4401,20 @@ const gr = ({
4377
4401
  /* @__PURE__ */ t.jsxs(
4378
4402
  "div",
4379
4403
  {
4380
- className: `relative max-w-full max-h-full flex items-center justify-center transition-all ease-out ${C ? "scale-75 opacity-0 rotate-1 duration-300" : $ ? "scale-95 opacity-0 rotate-0 duration-500" : "scale-100 opacity-100 rotate-0 duration-300"}`,
4404
+ className: `relative max-w-full max-h-full flex items-center justify-center transition-all ease-out ${N ? "scale-75 opacity-0 rotate-1 duration-300" : _ ? "scale-95 opacity-0 rotate-0 duration-500" : "scale-100 opacity-100 rotate-0 duration-300"}`,
4381
4405
  onClick: (S) => S.stopPropagation(),
4382
4406
  children: [
4383
- y.cyberpunkEffects && /* @__PURE__ */ t.jsx(
4407
+ x.cyberpunkEffects && /* @__PURE__ */ t.jsx(
4384
4408
  "div",
4385
4409
  {
4386
- className: `absolute inset-0 rounded-lg border-2 transition-all duration-300 ${C ? "border-transparent shadow-none" : "border-accent shadow-lg-accent animate-pulse"}`,
4410
+ className: `absolute inset-0 rounded-lg border-2 transition-all duration-300 ${N ? "border-transparent shadow-none" : "border-accent shadow-lg-accent animate-pulse"}`,
4387
4411
  "aria-hidden": "true"
4388
4412
  }
4389
4413
  ),
4390
- y.cyberpunkEffects && /* @__PURE__ */ t.jsx(
4414
+ x.cyberpunkEffects && /* @__PURE__ */ t.jsx(
4391
4415
  "div",
4392
4416
  {
4393
- className: `absolute inset-0 overflow-hidden rounded-lg transition-opacity duration-300 z-10 ${C ? "opacity-0" : "opacity-100"}`,
4417
+ className: `absolute inset-0 overflow-hidden rounded-lg transition-opacity duration-300 z-10 ${N ? "opacity-0" : "opacity-100"}`,
4394
4418
  "aria-hidden": "true",
4395
4419
  children: /* @__PURE__ */ t.jsxs("div", { className: "absolute top-0 left-0 w-full h-px animate-scan opacity-20", children: [
4396
4420
  /* @__PURE__ */ t.jsx("div", { className: "w-full h-full bg-gradient-to-r from-transparent via-accent to-transparent shadow-lg-accent opacity-80" }),
@@ -4401,9 +4425,9 @@ const gr = ({
4401
4425
  /* @__PURE__ */ t.jsx(
4402
4426
  "img",
4403
4427
  {
4404
- src: U ? n : e,
4405
- alt: U ? `${r} (fallback)` : r,
4406
- className: `max-w-[95vw] max-h-[95vh] w-auto h-auto object-contain rounded-lg transition-all duration-300 ease-out ${C ? "filter blur-sm brightness-50" : "filter blur-0 brightness-100"}`,
4428
+ src: V ? n : e,
4429
+ alt: V ? `${r} (fallback)` : r,
4430
+ className: `max-w-[95vw] max-h-[95vh] w-auto h-auto object-contain rounded-lg transition-all duration-300 ease-out ${N ? "filter blur-sm brightness-50" : "filter blur-0 brightness-100"}`,
4407
4431
  style: {
4408
4432
  maxWidth: "95vw",
4409
4433
  maxHeight: "95vh",
@@ -4415,39 +4439,39 @@ const gr = ({
4415
4439
  /* @__PURE__ */ t.jsx(
4416
4440
  "div",
4417
4441
  {
4418
- className: `absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black/80 via-black/40 to-transparent p-3 rounded-b-lg transition-all duration-300 ${C ? "translate-y-4 opacity-0" : "translate-y-0 opacity-100"}`,
4442
+ className: `absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black/80 via-black/40 to-transparent p-3 rounded-b-lg transition-all duration-300 ${N ? "translate-y-4 opacity-0" : "translate-y-0 opacity-100"}`,
4419
4443
  children: /* @__PURE__ */ t.jsxs("p", { className: "text-white text-sm font-medium truncate relative", children: [
4420
- U ? `${r} (fallback)` : r,
4421
- y.cyberpunkEffects && /* @__PURE__ */ t.jsx("span", { className: "absolute inset-0 text-accent opacity-20 animate-pulse", children: U ? `${r} (fallback)` : r })
4444
+ V ? `${r} (fallback)` : r,
4445
+ x.cyberpunkEffects && /* @__PURE__ */ t.jsx("span", { className: "absolute inset-0 text-accent opacity-20 animate-pulse", children: V ? `${r} (fallback)` : r })
4422
4446
  ] })
4423
4447
  }
4424
4448
  ),
4425
- y.cyberpunkEffects && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
4449
+ x.cyberpunkEffects && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
4426
4450
  /* @__PURE__ */ t.jsx(
4427
4451
  "div",
4428
4452
  {
4429
- className: `absolute top-2 left-2 w-4 h-4 border-l-2 border-t-2 border-accent transition-all duration-300 ${C ? "opacity-0 scale-0" : "opacity-60 scale-100"}`,
4453
+ className: `absolute top-2 left-2 w-4 h-4 border-l-2 border-t-2 border-accent transition-all duration-300 ${N ? "opacity-0 scale-0" : "opacity-60 scale-100"}`,
4430
4454
  "aria-hidden": "true"
4431
4455
  }
4432
4456
  ),
4433
4457
  /* @__PURE__ */ t.jsx(
4434
4458
  "div",
4435
4459
  {
4436
- className: `absolute top-2 right-2 w-4 h-4 border-r-2 border-t-2 border-accent transition-all duration-300 ${C ? "opacity-0 scale-0" : "opacity-60 scale-100"}`,
4460
+ className: `absolute top-2 right-2 w-4 h-4 border-r-2 border-t-2 border-accent transition-all duration-300 ${N ? "opacity-0 scale-0" : "opacity-60 scale-100"}`,
4437
4461
  "aria-hidden": "true"
4438
4462
  }
4439
4463
  ),
4440
4464
  /* @__PURE__ */ t.jsx(
4441
4465
  "div",
4442
4466
  {
4443
- className: `absolute bottom-2 left-2 w-4 h-4 border-l-2 border-b-2 border-accent transition-all duration-300 ${C ? "opacity-0 scale-0" : "opacity-60 scale-100"}`,
4467
+ className: `absolute bottom-2 left-2 w-4 h-4 border-l-2 border-b-2 border-accent transition-all duration-300 ${N ? "opacity-0 scale-0" : "opacity-60 scale-100"}`,
4444
4468
  "aria-hidden": "true"
4445
4469
  }
4446
4470
  ),
4447
4471
  /* @__PURE__ */ t.jsx(
4448
4472
  "div",
4449
4473
  {
4450
- className: `absolute bottom-2 right-2 w-4 h-4 border-r-2 border-b-2 border-accent transition-all duration-300 ${C ? "opacity-0 scale-0" : "opacity-60 scale-100"}`,
4474
+ className: `absolute bottom-2 right-2 w-4 h-4 border-r-2 border-b-2 border-accent transition-all duration-300 ${N ? "opacity-0 scale-0" : "opacity-60 scale-100"}`,
4451
4475
  "aria-hidden": "true"
4452
4476
  }
4453
4477
  )
@@ -4467,7 +4491,7 @@ const gr = ({
4467
4491
  }
4468
4492
  );
4469
4493
  je.displayName = "CyberUI.Image";
4470
- const ir = ({
4494
+ const fr = ({
4471
4495
  images: e,
4472
4496
  currentIndex: r,
4473
4497
  onChange: a,
@@ -4477,74 +4501,74 @@ const ir = ({
4477
4501
  infinite: l = !0,
4478
4502
  transition: i = "slide",
4479
4503
  objectFit: d = "cover",
4480
- showArrows: x = !0,
4481
- showIndicators: b = !0,
4482
- className: g = "",
4483
- disableImagePreview: m = !1,
4484
- glitchRate: p = 1,
4485
- onBeforeChange: v,
4486
- onAfterChange: y
4504
+ showArrows: g = !0,
4505
+ showIndicators: m = !0,
4506
+ className: y = "",
4507
+ disableImagePreview: p = !1,
4508
+ glitchRate: h = 1,
4509
+ onBeforeChange: w,
4510
+ onAfterChange: x
4487
4511
  }) => {
4488
- const [w, A] = X(!1), [C, _] = X(n), [$, k] = X(!0), L = be(
4489
- () => V(s, oe.carousel),
4512
+ const [v, A] = Z(!1), [N, T] = Z(n), [_, C] = Z(!0), z = pe(
4513
+ () => H(s, ae.carousel),
4490
4514
  [s]
4491
- ), G = "w-full h-full", h = D(
4515
+ ), G = "w-full h-full", f = D(
4492
4516
  (o) => {
4493
- if (o === r || w) return;
4494
- const u = i === "signal-glitch" && (typeof p == "boolean" ? p : Math.random() < p);
4495
- k(u), A(!0), v?.(r, o), setTimeout(() => {
4496
- a(o), A(!1), y?.(o);
4517
+ if (o === r || v) return;
4518
+ const u = i === "signal-glitch" && (typeof h == "boolean" ? h : Math.random() < h);
4519
+ C(u), A(!0), w?.(r, o), setTimeout(() => {
4520
+ a(o), A(!1), x?.(o);
4497
4521
  }, i === "slide" ? 0 : i === "signal-glitch" && u ? 600 : 250);
4498
4522
  },
4499
4523
  [
4500
4524
  r,
4501
- w,
4502
- a,
4503
4525
  v,
4504
- y,
4526
+ a,
4527
+ w,
4528
+ x,
4505
4529
  i,
4506
- p
4530
+ h
4507
4531
  ]
4508
4532
  );
4509
- ae(() => {
4510
- if (!C || e.length <= 1) return;
4533
+ oe(() => {
4534
+ if (!N || e.length <= 1) return;
4511
4535
  const o = setInterval(() => {
4512
4536
  const u = l ? (r + 1) % e.length : Math.min(r + 1, e.length - 1);
4513
4537
  if (!l && u === e.length - 1) {
4514
- _(!1);
4538
+ T(!1);
4515
4539
  return;
4516
4540
  }
4517
- h(u);
4541
+ f(u);
4518
4542
  }, c);
4519
4543
  return () => clearInterval(o);
4520
4544
  }, [
4521
- C,
4545
+ N,
4522
4546
  r,
4523
4547
  e.length,
4524
4548
  l,
4525
4549
  c,
4526
- h
4550
+ f
4527
4551
  ]);
4528
- const z = D(() => {
4552
+ const M = D(() => {
4529
4553
  if (e.length <= 1) return;
4530
4554
  const o = l ? (r - 1 + e.length) % e.length : Math.max(r - 1, 0);
4531
- _(!1), h(o);
4532
- }, [r, e.length, l, h]), U = D(() => {
4555
+ T(!1), f(o);
4556
+ }, [r, e.length, l, f]), V = D(() => {
4533
4557
  if (e.length <= 1) return;
4534
4558
  const o = l ? (r + 1) % e.length : Math.min(r + 1, e.length - 1);
4535
- _(!1), h(o);
4536
- }, [r, e.length, l, h]), q = D(
4559
+ T(!1), f(o);
4560
+ }, [r, e.length, l, f]), X = D(
4537
4561
  (o) => {
4538
- _(!1), h(o);
4562
+ T(!1), f(o);
4539
4563
  },
4540
- [h]
4564
+ [f]
4541
4565
  );
4542
- ae(() => {
4566
+ oe(() => {
4543
4567
  const o = (u) => {
4544
- u.key === "ArrowLeft" && z(), u.key === "ArrowRight" && U();
4568
+ u.key === "ArrowLeft" && M(), u.key === "ArrowRight" && V();
4545
4569
  };
4546
4570
  return window.addEventListener("keydown", o), () => window.removeEventListener("keydown", o);
4547
- }, [z, U]);
4571
+ }, [M, V]);
4548
4572
  const Q = () => /* @__PURE__ */ t.jsx(
4549
4573
  "div",
4550
4574
  {
@@ -4561,25 +4585,25 @@ const ir = ({
4561
4585
  fallback: o.fallbackSrc,
4562
4586
  className: G,
4563
4587
  size: "lg",
4564
- preview: !m,
4588
+ preview: !p,
4565
4589
  loading: u <= 1 ? "eager" : "lazy",
4566
- onPreviewOpen: () => _(!1),
4567
- onPreviewClose: () => _(n)
4590
+ onPreviewOpen: () => T(!1),
4591
+ onPreviewClose: () => T(n)
4568
4592
  }
4569
4593
  ) }, u))
4570
4594
  }
4571
4595
  ), re = () => /* @__PURE__ */ t.jsx(t.Fragment, { children: e.map((o, u) => {
4572
- const f = u === r, R = i === "fade" ? {
4573
- opacity: f ? 1 : 0,
4596
+ const b = u === r, R = i === "fade" ? {
4597
+ opacity: b ? 1 : 0,
4574
4598
  transition: "opacity 500ms ease-in-out",
4575
4599
  willChange: "opacity"
4576
4600
  } : i === "matrix" ? {
4577
- opacity: f ? 1 : 0,
4578
- transform: f ? "scale(1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translateZ(0) skew(0deg) perspective(1000px)" : w ? "scale(0.6) rotateX(35deg) rotateY(15deg) rotateZ(-3deg) translateZ(-80px) skew(5deg, 2deg) perspective(1000px)" : "scale(0.92) rotateX(8deg) rotateY(2deg) translateZ(-20px) skew(1deg) perspective(1000px)",
4579
- filter: f ? "brightness(1) contrast(1) hue-rotate(0deg) saturate(1) drop-shadow(0 0 10px rgba(0, 255, 136, 0.3))" : w ? "brightness(0.1) contrast(4) hue-rotate(270deg) saturate(3) blur(2px) drop-shadow(0 0 20px rgba(255, 0, 93, 0.8)) drop-shadow(0 0 30px rgba(0, 255, 249, 0.6))" : "brightness(0.7) contrast(1.5) hue-rotate(120deg) saturate(1.4) drop-shadow(0 0 8px rgba(0, 255, 136, 0.4))",
4601
+ opacity: b ? 1 : 0,
4602
+ transform: b ? "scale(1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translateZ(0) skew(0deg) perspective(1000px)" : v ? "scale(0.6) rotateX(35deg) rotateY(15deg) rotateZ(-3deg) translateZ(-80px) skew(5deg, 2deg) perspective(1000px)" : "scale(0.92) rotateX(8deg) rotateY(2deg) translateZ(-20px) skew(1deg) perspective(1000px)",
4603
+ filter: b ? "brightness(1) contrast(1) hue-rotate(0deg) saturate(1) drop-shadow(0 0 10px rgba(0, 255, 136, 0.3))" : v ? "brightness(0.1) contrast(4) hue-rotate(270deg) saturate(3) blur(2px) drop-shadow(0 0 20px rgba(255, 0, 93, 0.8)) drop-shadow(0 0 30px rgba(0, 255, 249, 0.6))" : "brightness(0.7) contrast(1.5) hue-rotate(120deg) saturate(1.4) drop-shadow(0 0 8px rgba(0, 255, 136, 0.4))",
4580
4604
  transition: "all 1200ms cubic-bezier(0.175, 0.885, 0.32, 1.275)",
4581
4605
  willChange: "transform, opacity, filter",
4582
- boxShadow: f ? "0 0 30px rgba(0, 255, 136, 0.5), inset 0 0 30px rgba(0, 255, 136, 0.15), 0 0 60px rgba(0, 255, 136, 0.2)" : w ? "0 0 50px rgba(255, 0, 93, 1), 0 0 100px rgba(0, 255, 249, 0.8), 0 0 150px rgba(255, 251, 0, 0.6), inset 0 0 50px rgba(255, 0, 93, 0.3), inset 0 0 80px rgba(0, 255, 249, 0.2), 0 0 0 3px rgba(255, 0, 93, 0.8), 0 0 0 6px rgba(0, 255, 249, 0.6), 0 0 200px rgba(255, 251, 0, 0.3)" : "0 0 20px rgba(0, 255, 136, 0.4), inset 0 0 15px rgba(0, 255, 136, 0.1), 0 0 40px rgba(0, 255, 136, 0.2)"
4606
+ boxShadow: b ? "0 0 30px rgba(0, 255, 136, 0.5), inset 0 0 30px rgba(0, 255, 136, 0.15), 0 0 60px rgba(0, 255, 136, 0.2)" : v ? "0 0 50px rgba(255, 0, 93, 1), 0 0 100px rgba(0, 255, 249, 0.8), 0 0 150px rgba(255, 251, 0, 0.6), inset 0 0 50px rgba(255, 0, 93, 0.3), inset 0 0 80px rgba(0, 255, 249, 0.2), 0 0 0 3px rgba(255, 0, 93, 0.8), 0 0 0 6px rgba(0, 255, 249, 0.6), 0 0 200px rgba(255, 251, 0, 0.3)" : "0 0 20px rgba(0, 255, 136, 0.4), inset 0 0 15px rgba(0, 255, 136, 0.1), 0 0 40px rgba(0, 255, 136, 0.2)"
4583
4607
  } : {};
4584
4608
  return /* @__PURE__ */ t.jsxs(
4585
4609
  "div",
@@ -4587,7 +4611,7 @@ const ir = ({
4587
4611
  className: "absolute inset-0 w-full h-full",
4588
4612
  style: {
4589
4613
  ...R,
4590
- pointerEvents: f ? "auto" : "none"
4614
+ pointerEvents: b ? "auto" : "none"
4591
4615
  },
4592
4616
  children: [
4593
4617
  /* @__PURE__ */ t.jsx(
@@ -4598,30 +4622,30 @@ const ir = ({
4598
4622
  fallback: o.fallbackSrc,
4599
4623
  className: G,
4600
4624
  size: "lg",
4601
- preview: !m,
4625
+ preview: !p,
4602
4626
  loading: u <= 1 ? "eager" : "lazy",
4603
- onPreviewOpen: () => _(!1),
4604
- onPreviewClose: () => _(n)
4627
+ onPreviewOpen: () => T(!1),
4628
+ onPreviewClose: () => T(n)
4605
4629
  }
4606
4630
  ),
4607
- i === "matrix" && B(f, w)
4631
+ i === "matrix" && F(b, v)
4608
4632
  ]
4609
4633
  },
4610
4634
  u
4611
4635
  );
4612
4636
  }) }), ee = () => /* @__PURE__ */ t.jsx(t.Fragment, { children: e.map((o, u) => {
4613
- const f = u === r, R = u === (r - 1 + e.length) % e.length, S = w && i === "signal-glitch" && $ ? {
4614
- opacity: f ? 1 : R ? 0.8 : 0,
4615
- animation: f ? "signal-image-flicker-in 1s ease-out forwards" : R ? "signal-image-flicker-out 1s ease-out forwards" : "none",
4637
+ const b = u === r, R = u === (r - 1 + e.length) % e.length, S = v && i === "signal-glitch" && _ ? {
4638
+ opacity: b ? 1 : R ? 0.8 : 0,
4639
+ animation: b ? "signal-image-flicker-in 1s ease-out forwards" : R ? "signal-image-flicker-out 1s ease-out forwards" : "none",
4616
4640
  willChange: "opacity",
4617
- pointerEvents: w && !f ? "none" : "auto",
4618
- transform: w ? "translateZ(0)" : "none"
4641
+ pointerEvents: v && !b ? "none" : "auto",
4642
+ transform: v ? "translateZ(0)" : "none"
4619
4643
  // Reduce jumping with hardware acceleration
4620
4644
  } : {
4621
- opacity: f ? 1 : 0,
4645
+ opacity: b ? 1 : 0,
4622
4646
  transition: "opacity 250ms ease-in-out",
4623
4647
  willChange: "opacity",
4624
- pointerEvents: f ? "auto" : "none"
4648
+ pointerEvents: b ? "auto" : "none"
4625
4649
  };
4626
4650
  return /* @__PURE__ */ t.jsxs(
4627
4651
  "div",
@@ -4637,24 +4661,24 @@ const ir = ({
4637
4661
  fallback: o.fallbackSrc,
4638
4662
  className: G,
4639
4663
  size: "lg",
4640
- preview: !m && !(w && i === "signal-glitch" && $),
4664
+ preview: !p && !(v && i === "signal-glitch" && _),
4641
4665
  loading: u <= 1 ? "eager" : "lazy",
4642
- onPreviewOpen: () => _(!1),
4643
- onPreviewClose: () => _(n)
4666
+ onPreviewOpen: () => T(!1),
4667
+ onPreviewClose: () => T(n)
4644
4668
  }
4645
4669
  ),
4646
- i === "signal-glitch" && w && $ && H(f)
4670
+ i === "signal-glitch" && v && _ && U(b)
4647
4671
  ]
4648
4672
  },
4649
4673
  u
4650
4674
  );
4651
- }) }), B = (o, u) => /* @__PURE__ */ t.jsx(t.Fragment, { children: u && /* @__PURE__ */ t.jsx("div", { className: "absolute inset-0 overflow-hidden pointer-events-none", children: o ? (
4675
+ }) }), F = (o, u) => /* @__PURE__ */ t.jsx(t.Fragment, { children: u && /* @__PURE__ */ t.jsx("div", { className: "absolute inset-0 overflow-hidden pointer-events-none", children: o ? (
4652
4676
  // Active image gets subtle enhancement effects
4653
4677
  /* @__PURE__ */ t.jsx("div", { className: "w-full h-full bg-gradient-to-b from-primary/5 to-transparent opacity-30" })
4654
4678
  ) : (
4655
4679
  // Transitioning image gets more dramatic effects
4656
4680
  /* @__PURE__ */ t.jsx("div", { className: "w-full h-full bg-gradient-to-b from-primary/10 via-secondary/5 to-accent/10 opacity-50" })
4657
- ) }) }), H = (o) => /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
4681
+ ) }) }), U = (o) => /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
4658
4682
  /* @__PURE__ */ t.jsx(
4659
4683
  "div",
4660
4684
  {
@@ -4785,12 +4809,12 @@ const ir = ({
4785
4809
  }
4786
4810
  )
4787
4811
  ] })
4788
- ] }), Z = () => x && e.length > 1 && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
4812
+ ] }), q = () => g && e.length > 1 && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
4789
4813
  /* @__PURE__ */ t.jsx(
4790
4814
  "button",
4791
4815
  {
4792
- onClick: z,
4793
- disabled: !l && r === 0 || w && i === "signal-glitch" && $,
4816
+ onClick: M,
4817
+ disabled: !l && r === 0 || v && i === "signal-glitch" && _,
4794
4818
  className: "group absolute left-2 top-1/2 -translate-y-1/2 w-16 h-16 text-primary hover:text-accent cursor-pointer disabled:cursor-not-allowed disabled:opacity-30 focus:outline-none transition-all duration-300 flex items-center justify-center hover:scale-110",
4795
4819
  "aria-label": "Previous image",
4796
4820
  children: /* @__PURE__ */ t.jsxs(
@@ -4882,8 +4906,8 @@ const ir = ({
4882
4906
  /* @__PURE__ */ t.jsx(
4883
4907
  "button",
4884
4908
  {
4885
- onClick: U,
4886
- disabled: !l && r === e.length - 1 || w && i === "signal-glitch" && $,
4909
+ onClick: V,
4910
+ disabled: !l && r === e.length - 1 || v && i === "signal-glitch" && _,
4887
4911
  className: "group absolute right-2 top-1/2 -translate-y-1/2 w-16 h-16 text-primary hover:text-accent cursor-pointer disabled:cursor-not-allowed disabled:opacity-30 focus:outline-none transition-all duration-300 flex items-center justify-center hover:scale-110",
4888
4912
  "aria-label": "Next image",
4889
4913
  children: /* @__PURE__ */ t.jsxs(
@@ -4933,11 +4957,11 @@ const ir = ({
4933
4957
  )
4934
4958
  }
4935
4959
  )
4936
- ] }), Y = () => b && e.length > 1 && /* @__PURE__ */ t.jsx("div", { className: "flex justify-center mt-4 space-x-4", children: e.map((o, u) => /* @__PURE__ */ t.jsxs(
4960
+ ] }), Y = () => m && e.length > 1 && /* @__PURE__ */ t.jsx("div", { className: "flex justify-center mt-4 space-x-4", children: e.map((o, u) => /* @__PURE__ */ t.jsxs(
4937
4961
  "button",
4938
4962
  {
4939
- onClick: () => q(u),
4940
- disabled: w && i === "signal-glitch" && $,
4963
+ onClick: () => X(u),
4964
+ disabled: v && i === "signal-glitch" && _,
4941
4965
  className: "group relative transition-all duration-300 hover:scale-110 focus:outline-none cursor-pointer disabled:cursor-not-allowed disabled:opacity-30",
4942
4966
  style: {
4943
4967
  width: "24px",
@@ -5004,16 +5028,16 @@ const ir = ({
5004
5028
  return /* @__PURE__ */ t.jsx(
5005
5029
  "div",
5006
5030
  {
5007
- className: T(L, "w-full bg-surface border border-accent rounded-lg flex items-center justify-center", g),
5031
+ className: $(z, "w-full bg-surface border border-accent rounded-lg flex items-center justify-center", y),
5008
5032
  children: /* @__PURE__ */ t.jsx("p", { className: "text-muted", children: "No images to display" })
5009
5033
  }
5010
5034
  );
5011
5035
  const K = e[r];
5012
- return /* @__PURE__ */ t.jsxs("div", { className: T("relative w-full", g), children: [
5036
+ return /* @__PURE__ */ t.jsxs("div", { className: $("relative w-full", y), children: [
5013
5037
  /* @__PURE__ */ t.jsxs(
5014
5038
  "div",
5015
5039
  {
5016
- className: `relative w-full overflow-hidden rounded-lg border border-accent bg-surface ${L}`,
5040
+ className: `relative w-full overflow-hidden rounded-lg border border-accent bg-surface ${z}`,
5017
5041
  children: [
5018
5042
  /* @__PURE__ */ t.jsxs("div", { className: "absolute inset-0 pointer-events-none", children: [
5019
5043
  /* @__PURE__ */ t.jsx("div", { className: "absolute top-2 left-2 w-4 h-4 border-l-2 border-t-2 border-primary opacity-60" }),
@@ -5034,23 +5058,23 @@ const ir = ({
5034
5058
  }
5035
5059
  ),
5036
5060
  K.caption && /* @__PURE__ */ t.jsx("div", { className: "absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black/80 to-transparent p-4", children: /* @__PURE__ */ t.jsx("p", { className: "text-white text-sm font-medium", children: K.caption }) }),
5037
- Z()
5061
+ q()
5038
5062
  ]
5039
5063
  }
5040
5064
  ),
5041
5065
  Y()
5042
5066
  ] });
5043
- }, Sr = $e(ir), cr = {
5067
+ }, Rr = _e(fr), pr = {
5044
5068
  openDuration: 600,
5045
5069
  closeDuration: 400,
5046
5070
  crtEffects: !0
5047
- }, dr = {
5071
+ }, br = {
5048
5072
  sm: "max-w-md",
5049
5073
  md: "max-w-lg",
5050
5074
  lg: "max-w-2xl",
5051
5075
  xl: "max-w-4xl",
5052
5076
  fullscreen: "max-w-none w-full h-full"
5053
- }, ur = $e(
5077
+ }, hr = _e(
5054
5078
  ({
5055
5079
  isOpen: e,
5056
5080
  onClose: r,
@@ -5061,78 +5085,78 @@ const ir = ({
5061
5085
  onConfirm: l,
5062
5086
  cancelText: i = "Cancel",
5063
5087
  confirmText: d = "Confirm",
5064
- confirmLoading: x = !1,
5065
- showCancel: b = !0,
5066
- showConfirm: g = !0,
5067
- size: m = "md",
5068
- variant: p = "default",
5069
- closeOnOverlayClick: v = !0,
5070
- closeOnEscape: y = !0,
5071
- animation: w,
5088
+ confirmLoading: g = !1,
5089
+ showCancel: m = !0,
5090
+ showConfirm: y = !0,
5091
+ size: p = "lg",
5092
+ variant: h = "default",
5093
+ closeOnOverlayClick: w = !0,
5094
+ closeOnEscape: x = !0,
5095
+ animation: v,
5072
5096
  className: A = "",
5073
- overlayClassName: C = "",
5074
- showCloseButton: _ = !0,
5075
- onOpen: $,
5076
- onCRTBootComplete: k
5097
+ overlayClassName: N = "",
5098
+ showCloseButton: T = !0,
5099
+ onOpen: _,
5100
+ onCRTBootComplete: C
5077
5101
  }) => {
5078
- const L = be(
5079
- () => ({ ...cr, ...w }),
5080
- [w]
5081
- ), [G, h] = X(!1), [z, U] = X(!0), q = te(null), Q = te(null), re = te(null), ee = te(`modal-title-${Math.random().toString(36).slice(2)}`), B = D(() => {
5082
- h(!0), setTimeout(() => {
5083
- h(!1), U(!0), r();
5084
- }, L.closeDuration);
5085
- }, [r, L.closeDuration]);
5086
- ae(() => {
5087
- e && !G && (re.current = document.activeElement || null, U(!0), $?.(), setTimeout(() => {
5088
- U(!1), k?.(), Q.current?.focus();
5089
- }, L.openDuration));
5102
+ const z = pe(
5103
+ () => ({ ...pr, ...v }),
5104
+ [v]
5105
+ ), [G, f] = Z(!1), [M, V] = Z(!0), X = te(null), Q = te(null), re = te(null), ee = te(`modal-title-${Math.random().toString(36).slice(2)}`), F = D(() => {
5106
+ f(!0), setTimeout(() => {
5107
+ f(!1), V(!0), r();
5108
+ }, z.closeDuration);
5109
+ }, [r, z.closeDuration]);
5110
+ oe(() => {
5111
+ e && !G && (re.current = document.activeElement || null, V(!0), _?.(), setTimeout(() => {
5112
+ V(!1), C?.(), Q.current?.focus();
5113
+ }, z.openDuration));
5090
5114
  }, [
5091
5115
  e,
5092
5116
  G,
5093
- $,
5094
- k,
5095
- L.openDuration
5117
+ _,
5118
+ C,
5119
+ z.openDuration
5096
5120
  ]);
5097
- const H = D(() => {
5098
- c?.(), B();
5099
- }, [c, B]), Z = D(() => {
5100
- l?.(), B();
5101
- }, [l, B]), Y = D(
5121
+ const U = D(() => {
5122
+ c?.(), F();
5123
+ }, [c, F]), q = D(() => {
5124
+ l?.(), F();
5125
+ }, [l, F]), Y = D(
5102
5126
  (u) => {
5103
- v && (u.target === q.current || u.target === u.currentTarget) && B();
5127
+ w && (u.target === X.current || u.target === u.currentTarget) && F();
5104
5128
  },
5105
- [B, v]
5129
+ [F, w]
5106
5130
  ), K = D(
5107
5131
  (u) => {
5108
- y && u.key === "Escape" && B();
5132
+ x && u.key === "Escape" && F();
5109
5133
  },
5110
- [B, y]
5134
+ [F, x]
5111
5135
  );
5112
- ae(() => {
5136
+ oe(() => {
5113
5137
  if (e) {
5114
5138
  document.addEventListener("keydown", K);
5115
- const u = document.body.style.overflow, f = window.innerWidth - document.documentElement.clientWidth;
5116
- return document.body.style.overflow = "hidden", document.body.style.paddingRight = `${f}px`, () => {
5139
+ const u = document.body.style.overflow, b = window.innerWidth - document.documentElement.clientWidth;
5140
+ return document.body.style.overflow = "hidden", document.body.style.paddingRight = `${b}px`, () => {
5117
5141
  document.removeEventListener("keydown", K), document.body.style.overflow = u, document.body.style.paddingRight = "", re.current?.focus?.();
5118
5142
  };
5119
5143
  }
5120
5144
  }, [e, K]);
5121
- const o = be(() => {
5122
- const u = p === "danger", f = u ? "border-error" : "border-accent", R = u ? "shadow-error" : "shadow-lg-accent", S = u ? "shadow-error/50" : "shadow-input-accent/50", E = u ? "animate-danger-glow" : "animate-rgb-glow";
5123
- return T(
5145
+ const o = pe(() => {
5146
+ const u = h === "danger", b = u ? "border-error" : "border-accent", R = u ? "shadow-error" : "shadow-lg-accent", S = u ? "shadow-error/50" : "shadow-input-accent/50", E = u ? "animate-danger-glow" : "animate-rgb-glow";
5147
+ return $(
5124
5148
  "relative bg-surface border-2 rounded-lg max-h-[90vh] overflow-hidden flex flex-col transform transition-all duration-300",
5125
- dr[m],
5126
- L.crtEffects && z ? `animate-crt-power-on ${f} ${R}` : L.crtEffects && G ? `animate-crt-power-off ${f} ${R}` : G ? `scale-95 opacity-0 ${f}/20` : z ? `scale-105 opacity-90 ${f} ${S}` : `scale-100 opacity-100 ${E}`,
5149
+ br[p],
5150
+ z.crtEffects && M ? `animate-crt-power-on ${b} ${R}` : z.crtEffects && G ? `animate-crt-power-off ${b} ${R}` : G ? `scale-95 opacity-0 ${b}/20` : M ? `scale-105 opacity-90 ${b} ${S}` : `scale-100 opacity-100 ${E}`,
5127
5151
  A
5128
5152
  );
5129
- }, [m, L.crtEffects, G, z, A, p]);
5130
- return e ? Be(
5153
+ }, [p, z.crtEffects, G, M, A, h]);
5154
+ return e ? Fe(
5131
5155
  /* @__PURE__ */ t.jsx(
5132
5156
  "div",
5133
5157
  {
5134
- ref: q,
5135
- className: `fixed z-50 flex items-center justify-center p-4 transition-all ease-out ${C} ${G ? "bg-black/0 backdrop-blur-none opacity-0 duration-800" : z ? "bg-black/30 backdrop-blur-md opacity-100 duration-500" : "bg-black/30 backdrop-blur-sm opacity-100 duration-300"}`,
5158
+ ref: X,
5159
+ className: `fixed z-50 flex items-center justify-center p-4 transition-all ease-out ${N} ${G ? "bg-black/0 backdrop-blur-none opacity-0 duration-800" : M ? "bg-black/30 backdrop-blur-md opacity-100 duration-500" : "bg-black/30 backdrop-blur-sm opacity-100 duration-300"}`,
5136
5160
  style: {
5137
5161
  top: 0,
5138
5162
  left: 0,
@@ -5152,11 +5176,11 @@ const ir = ({
5152
5176
  "aria-labelledby": a ? ee.current : void 0,
5153
5177
  tabIndex: -1,
5154
5178
  children: [
5155
- _ && /* @__PURE__ */ t.jsx(
5179
+ T && /* @__PURE__ */ t.jsx(
5156
5180
  "button",
5157
5181
  {
5158
- onClick: B,
5159
- className: `absolute top-4 right-4 text-muted hover:text-accent transition-all duration-300 z-20 rounded-full w-8 h-8 flex items-center justify-center cursor-pointer transform ${G ? "scale-0 rotate-180 opacity-0" : z ? "scale-0 opacity-0" : "scale-100 opacity-100 hover:scale-110 hover:bg-accent/10"}`,
5182
+ onClick: F,
5183
+ className: `absolute top-4 right-4 text-muted hover:text-accent transition-all duration-300 z-20 rounded-full w-8 h-8 flex items-center justify-center cursor-pointer transform ${G ? "scale-0 rotate-180 opacity-0" : M ? "scale-0 opacity-0" : "scale-100 opacity-100 hover:scale-110 hover:bg-accent/10"}`,
5160
5184
  "aria-label": "Close modal",
5161
5185
  children: /* @__PURE__ */ t.jsx(
5162
5186
  "svg",
@@ -5183,16 +5207,16 @@ const ir = ({
5183
5207
  a && /* @__PURE__ */ t.jsx(
5184
5208
  "div",
5185
5209
  {
5186
- className: T(
5210
+ className: $(
5187
5211
  "px-6 py-4 border-b flex-shrink-0 transition-all duration-300",
5188
- p === "danger" ? "border-error/20" : "border-accent/20",
5189
- z ? "opacity-0 translate-y-2" : "opacity-100 translate-y-0"
5212
+ h === "danger" ? "border-error/20" : "border-accent/20",
5213
+ M ? "opacity-0 translate-y-2" : "opacity-100 translate-y-0"
5190
5214
  ),
5191
5215
  children: /* @__PURE__ */ t.jsx(
5192
5216
  "h2",
5193
5217
  {
5194
5218
  id: ee.current,
5195
- className: T("text-lg font-semibold", p === "danger" ? "text-error" : "text-primary"),
5219
+ className: $("text-lg font-semibold", h === "danger" ? "text-error" : "text-primary"),
5196
5220
  children: a
5197
5221
  }
5198
5222
  )
@@ -5201,29 +5225,29 @@ const ir = ({
5201
5225
  /* @__PURE__ */ t.jsx(
5202
5226
  "div",
5203
5227
  {
5204
- className: `flex-1 overflow-auto p-6 transition-all duration-500 ${z ? "opacity-0 translate-y-4" : "opacity-100 translate-y-0"}`,
5228
+ className: `flex-1 overflow-auto p-6 transition-all duration-500 ${M ? "opacity-0 translate-y-4" : "opacity-100 translate-y-0"}`,
5205
5229
  children: s
5206
5230
  }
5207
5231
  ),
5208
5232
  (n || c || l) && /* @__PURE__ */ t.jsx(
5209
5233
  "div",
5210
5234
  {
5211
- className: T(
5235
+ className: $(
5212
5236
  "px-6 py-4 border-t flex-shrink-0 transition-all duration-300",
5213
- p === "danger" ? "border-error/20" : "border-accent/20",
5214
- z ? "opacity-0 translate-y-2" : "opacity-100 translate-y-0"
5237
+ h === "danger" ? "border-error/20" : "border-accent/20",
5238
+ M ? "opacity-0 translate-y-2" : "opacity-100 translate-y-0"
5215
5239
  ),
5216
5240
  children: n || /* @__PURE__ */ t.jsxs("div", { className: "flex flex-col-reverse sm:flex-row justify-between items-center gap-3", children: [
5217
5241
  /* @__PURE__ */ t.jsx("span", { className: "text-muted text-xs font-mono hidden sm:block", children: "> ESC to abort" }),
5218
5242
  /* @__PURE__ */ t.jsxs("div", { className: "flex gap-3 w-full sm:w-auto", children: [
5219
- b && c && /* @__PURE__ */ t.jsx(We, { variant: "ghost", size: "sm", onClick: H, className: "flex-1 sm:flex-none", children: i }),
5220
- g && l && /* @__PURE__ */ t.jsx(
5243
+ m && c && /* @__PURE__ */ t.jsx(We, { variant: "ghost", size: "sm", onClick: U, className: "flex-1 sm:flex-none", children: i }),
5244
+ y && l && /* @__PURE__ */ t.jsx(
5221
5245
  We,
5222
5246
  {
5223
- variant: p === "danger" ? "danger" : "primary",
5247
+ variant: h === "danger" ? "danger" : "primary",
5224
5248
  size: "sm",
5225
- onClick: Z,
5226
- disabled: x,
5249
+ onClick: q,
5250
+ disabled: g,
5227
5251
  className: "flex-1 sm:flex-none",
5228
5252
  children: d
5229
5253
  }
@@ -5241,8 +5265,8 @@ const ir = ({
5241
5265
  ) : null;
5242
5266
  }
5243
5267
  );
5244
- ur.displayName = "CyberUI.Modal";
5245
- const Er = ({
5268
+ hr.displayName = "CyberUI.Modal";
5269
+ const Ar = ({
5246
5270
  children: e,
5247
5271
  variant: r = "primary",
5248
5272
  as: a = "span",
@@ -5256,11 +5280,11 @@ const Er = ({
5256
5280
  return /* @__PURE__ */ t.jsx(
5257
5281
  a,
5258
5282
  {
5259
- className: T("bg-clip-text text-transparent inline-block", n(r), s),
5283
+ className: $("bg-clip-text text-transparent inline-block", n(r), s),
5260
5284
  children: e
5261
5285
  }
5262
5286
  );
5263
- }, $r = ({
5287
+ }, Mr = ({
5264
5288
  children: e,
5265
5289
  showLine: r = !0,
5266
5290
  size: a = "md",
@@ -5278,12 +5302,12 @@ const Er = ({
5278
5302
  sm: "gap-3",
5279
5303
  md: "gap-4",
5280
5304
  lg: "gap-5"
5281
- }, i = V(a, n), d = V(a, c), x = V(a, l), b = T("flex items-center", x, d), g = T("uppercase tracking-[0.2em] text-secondary font-bold whitespace-nowrap", i);
5282
- return /* @__PURE__ */ t.jsxs("div", { className: T(b, s), children: [
5283
- /* @__PURE__ */ t.jsx("h2", { className: g, children: e }),
5305
+ }, i = H(a, n), d = H(a, c), g = H(a, l), m = $("flex items-center", g, d), y = $("uppercase tracking-[0.2em] text-secondary font-bold whitespace-nowrap", i);
5306
+ return /* @__PURE__ */ t.jsxs("div", { className: $(m, s), children: [
5307
+ /* @__PURE__ */ t.jsx("h2", { className: y, children: e }),
5284
5308
  r && /* @__PURE__ */ t.jsx("div", { className: "h-[1px] w-full bg-gradient-to-r from-secondary/50 to-transparent" })
5285
5309
  ] });
5286
- }, Tr = ({
5310
+ }, Lr = ({
5287
5311
  events: e,
5288
5312
  size: r = "md",
5289
5313
  className: a = ""
@@ -5312,12 +5336,12 @@ const Er = ({
5312
5336
  sm: "gap-3",
5313
5337
  md: "gap-4",
5314
5338
  lg: "gap-5"
5315
- }, x = {
5339
+ }, g = {
5316
5340
  sm: "space-y-4",
5317
5341
  md: "space-y-6",
5318
5342
  lg: "space-y-8"
5319
- }, b = V(r, s), g = V(r, n), m = V(r, c), p = V(r, l), v = V(r, i), y = V(r, d), w = V(r, x), A = (_) => {
5320
- const $ = {
5343
+ }, m = H(r, s), y = H(r, n), p = H(r, c), h = H(r, l), w = H(r, i), x = H(r, d), v = H(r, g), A = (T) => {
5344
+ const _ = {
5321
5345
  success: {
5322
5346
  border: "border-success bg-success/30 shadow-[0_0_10px_var(--color-success)]",
5323
5347
  background: "border-success bg-success/30 shadow-[0_0_10px_var(--color-success)]",
@@ -5339,109 +5363,109 @@ const Er = ({
5339
5363
  inner: "bg-info/60"
5340
5364
  }
5341
5365
  };
5342
- return $[_] || $.info;
5343
- }, C = "polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%)";
5344
- return /* @__PURE__ */ t.jsx("div", { className: T(w, a), children: e.map((_, $) => {
5345
- const k = A(_.status);
5346
- return /* @__PURE__ */ t.jsxs("div", { className: T("flex", y, "group"), children: [
5366
+ return _[T] || _.info;
5367
+ }, N = "polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%)";
5368
+ return /* @__PURE__ */ t.jsx("div", { className: $(v, a), children: e.map((T, _) => {
5369
+ const C = A(T.status);
5370
+ return /* @__PURE__ */ t.jsxs("div", { className: $("flex", x, "group"), children: [
5347
5371
  /* @__PURE__ */ t.jsxs("div", { className: "flex flex-col items-center", children: [
5348
- /* @__PURE__ */ t.jsxs("div", { className: T("relative flex-shrink-0 mt-1.5", b), children: [
5372
+ /* @__PURE__ */ t.jsxs("div", { className: $("relative flex-shrink-0 mt-1.5", m), children: [
5349
5373
  /* @__PURE__ */ t.jsx(
5350
5374
  "div",
5351
5375
  {
5352
- className: T("absolute inset-0 border-2 transition-all duration-300", k.border),
5353
- style: { clipPath: C }
5376
+ className: $("absolute inset-0 border-2 transition-all duration-300", C.border),
5377
+ style: { clipPath: N }
5354
5378
  }
5355
5379
  ),
5356
5380
  /* @__PURE__ */ t.jsx(
5357
5381
  "div",
5358
5382
  {
5359
- className: T("absolute", g, k.inner),
5360
- style: { clipPath: C }
5383
+ className: $("absolute", y, C.inner),
5384
+ style: { clipPath: N }
5361
5385
  }
5362
5386
  )
5363
5387
  ] }),
5364
- $ < e.length - 1 && /* @__PURE__ */ t.jsx("div", { className: "w-[2px] flex-1 bg-gradient-to-b from-secondary/50 to-transparent mt-2" })
5388
+ _ < e.length - 1 && /* @__PURE__ */ t.jsx("div", { className: "w-[2px] flex-1 bg-gradient-to-b from-secondary/50 to-transparent mt-2" })
5365
5389
  ] }),
5366
5390
  /* @__PURE__ */ t.jsxs("div", { className: "flex-1 pb-6", children: [
5367
5391
  /* @__PURE__ */ t.jsxs("div", { className: "flex items-center justify-between mb-1", children: [
5368
- /* @__PURE__ */ t.jsx("h4", { className: T("font-semibold text-default group-hover:text-secondary transition-colors", m), children: _.title }),
5369
- /* @__PURE__ */ t.jsx("span", { className: T("text-muted whitespace-nowrap ml-4", v), children: _.time })
5392
+ /* @__PURE__ */ t.jsx("h4", { className: $("font-semibold text-default group-hover:text-secondary transition-colors", p), children: T.title }),
5393
+ /* @__PURE__ */ t.jsx("span", { className: $("text-muted whitespace-nowrap ml-4", w), children: T.time })
5370
5394
  ] }),
5371
- _.description && /* @__PURE__ */ t.jsx("p", { className: T("text-muted mt-1", p), children: _.description })
5395
+ T.description && /* @__PURE__ */ t.jsx("p", { className: $("text-muted mt-1", h), children: T.description })
5372
5396
  ] })
5373
- ] }, $);
5397
+ ] }, _);
5374
5398
  }) });
5375
- }, _r = ({
5399
+ }, zr = ({
5376
5400
  items: e,
5377
5401
  current: r = 0,
5378
5402
  orientation: a = { base: "vertical", md: "horizontal" },
5379
5403
  className: s = ""
5380
5404
  }) => {
5381
- const c = Ve(a, "vertical") === "vertical", l = (m, p) => {
5382
- const v = m.status === "completed" || m.status === void 0 && p < r, y = m.status === "current" || m.status === void 0 && p === r && r < e.length, w = m.status === "error";
5383
- return { isCompleted: v, isCurrent: y, isError: w };
5384
- }, i = (m, p, v) => {
5385
- const y = T(
5405
+ const c = Ve(a, "vertical") === "vertical", l = (p, h) => {
5406
+ const w = p.status === "completed" || p.status === void 0 && h < r, x = p.status === "current" || p.status === void 0 && h === r && r < e.length, v = p.status === "error";
5407
+ return { isCompleted: w, isCurrent: x, isError: v };
5408
+ }, i = (p, h, w) => {
5409
+ const x = $(
5386
5410
  "relative px-2 py-1 pb-2 font-bold text-sm transition-colors duration-200 whitespace-nowrap overflow-hidden",
5387
5411
  "after:content-[''] after:absolute after:left-0 after:right-0 after:bottom-0 after:h-[2px] after:w-full after:scale-x-0 after:origin-center after:transition-transform after:duration-300 after:ease-out",
5388
5412
  "before:content-[''] before:absolute before:left-1/2 before:-translate-x-1/2 before:-bottom-[3px] before:w-1.5 before:h-1.5 before:bg-accent before:rotate-45 before:rounded-[2px] before:opacity-0 before:transition-opacity before:duration-200"
5389
5413
  );
5390
- return m ? T(y, "text-secondary after:bg-linear-(--gradient-accent) after:shadow-lg-accent after:scale-x-100") : p ? T(y, "text-secondary before:opacity-100") : v ? T(y, "text-error") : T(y, "text-muted");
5391
- }, d = (m, p, v, y) => ({
5414
+ return p ? $(x, "text-secondary after:bg-linear-(--gradient-accent) after:shadow-lg-accent after:scale-x-100") : h ? $(x, "text-secondary before:opacity-100") : w ? $(x, "text-error") : $(x, "text-muted");
5415
+ }, d = (p, h, w, x) => ({
5392
5416
  color: "var(--color-primary)",
5393
- opacity: v ? 0.8 : 0.3,
5394
- filter: v ? "drop-shadow(0 0 4px color-mix(in srgb, var(--color-primary), transparent 40%))" : "none",
5395
- animation: p && m ? `chevronFlow 1.5s ease-in-out infinite ${y * 0.2}s` : "none"
5396
- }), x = T(c ? "flex flex-col items-start gap-0" : "flex items-center justify-center gap-4", s), b = (m, p, v) => m ? "text-secondary drop-shadow-[0_0_4px_var(--color-secondary)]" : p ? "text-accent drop-shadow-[0_0_6px_var(--color-accent)]" : v ? "text-error drop-shadow-[0_0_4px_var(--color-error)]" : "text-muted/50", g = (m, p, v) => {
5397
- const y = T(
5417
+ opacity: w ? 0.8 : 0.3,
5418
+ filter: w ? "drop-shadow(0 0 4px color-mix(in srgb, var(--color-primary), transparent 40%))" : "none",
5419
+ animation: h && p ? `chevronFlow 1.5s ease-in-out infinite ${x * 0.2}s` : "none"
5420
+ }), g = $(c ? "flex flex-col items-start gap-0" : "flex items-center justify-center gap-4", s), m = (p, h, w) => p ? "text-secondary drop-shadow-[0_0_4px_var(--color-secondary)]" : h ? "text-accent drop-shadow-[0_0_6px_var(--color-accent)]" : w ? "text-error drop-shadow-[0_0_4px_var(--color-error)]" : "text-muted/50", y = (p, h, w) => {
5421
+ const x = $(
5398
5422
  "relative font-bold text-sm transition-colors duration-200 pb-1 w-fit",
5399
5423
  "after:content-[''] after:absolute after:left-0 after:right-0 after:bottom-0 after:h-[2px] after:w-full after:scale-x-0 after:origin-left after:transition-transform after:duration-300 after:ease-out"
5400
5424
  );
5401
- return m ? T(y, "text-secondary after:bg-linear-(--gradient-accent) after:shadow-lg-accent after:scale-x-100") : p ? T(y, "text-secondary") : v ? T(y, "text-error") : T(y, "text-muted");
5425
+ return p ? $(x, "text-secondary after:bg-linear-(--gradient-accent) after:shadow-lg-accent after:scale-x-100") : h ? $(x, "text-secondary") : w ? $(x, "text-error") : $(x, "text-muted");
5402
5426
  };
5403
- return /* @__PURE__ */ t.jsx("div", { className: x, children: e.map((m, p) => {
5404
- const { isCompleted: v, isCurrent: y, isError: w } = l(m, p), A = p < e.length - 1 && (e[p + 1]?.status === "current" || e[p + 1]?.status === void 0 && p + 1 === r && r < e.length), C = p < e.length - 1 && (e[p + 1]?.status === "completed" || e[p + 1]?.status === void 0 && p + 1 < r);
5427
+ return /* @__PURE__ */ t.jsx("div", { className: g, children: e.map((p, h) => {
5428
+ const { isCompleted: w, isCurrent: x, isError: v } = l(p, h), A = h < e.length - 1 && (e[h + 1]?.status === "current" || e[h + 1]?.status === void 0 && h + 1 === r && r < e.length), N = h < e.length - 1 && (e[h + 1]?.status === "completed" || e[h + 1]?.status === void 0 && h + 1 < r);
5405
5429
  return /* @__PURE__ */ t.jsxs(Ee.Fragment, { children: [
5406
5430
  c ? (
5407
5431
  // Vertical layout: step row + chevrons below
5408
5432
  /* @__PURE__ */ t.jsxs("div", { className: "flex flex-col w-full", children: [
5409
5433
  /* @__PURE__ */ t.jsxs("div", { className: "flex items-start gap-1.5", children: [
5410
- /* @__PURE__ */ t.jsx("span", { className: T("text-xs leading-5 flex-shrink-0", b(v, y, w)), children: "▸" }),
5434
+ /* @__PURE__ */ t.jsx("span", { className: $("text-xs leading-5 flex-shrink-0", m(w, x, v)), children: "▸" }),
5411
5435
  /* @__PURE__ */ t.jsxs("div", { className: "flex flex-col", children: [
5412
- /* @__PURE__ */ t.jsx("div", { className: g(v, y, w), children: m.title }),
5413
- m.description && /* @__PURE__ */ t.jsx("div", { className: "text-xs text-muted mt-0.5 font-normal", children: m.description })
5436
+ /* @__PURE__ */ t.jsx("div", { className: y(w, x, v), children: p.title }),
5437
+ p.description && /* @__PURE__ */ t.jsx("div", { className: "text-xs text-muted mt-0.5 font-normal", children: p.description })
5414
5438
  ] })
5415
5439
  ] }),
5416
- p < e.length - 1 && /* @__PURE__ */ t.jsx("div", { className: "flex flex-col items-center py-0.5", children: [0, 1, 2].map((_) => /* @__PURE__ */ t.jsx(
5440
+ h < e.length - 1 && /* @__PURE__ */ t.jsx("div", { className: "flex flex-col items-center py-0.5", children: [0, 1, 2].map((T) => /* @__PURE__ */ t.jsx(
5417
5441
  "div",
5418
5442
  {
5419
5443
  className: "text-sm font-bold transition-all duration-300 rotate-90 leading-[0.6]",
5420
- style: d(v, A, C, _),
5444
+ style: d(w, A, N, T),
5421
5445
  children: "›"
5422
5446
  },
5423
- _
5447
+ T
5424
5448
  )) })
5425
5449
  ] })
5426
5450
  ) : (
5427
5451
  // Horizontal layout: title and description stacked with underline indicator
5428
5452
  /* @__PURE__ */ t.jsxs("div", { className: "flex flex-col items-center", children: [
5429
- /* @__PURE__ */ t.jsx("div", { className: i(v, y, w), children: m.title }),
5430
- m.description && /* @__PURE__ */ t.jsx("div", { className: "text-xs text-muted mt-1 font-normal", children: m.description })
5453
+ /* @__PURE__ */ t.jsx("div", { className: i(w, x, v), children: p.title }),
5454
+ p.description && /* @__PURE__ */ t.jsx("div", { className: "text-xs text-muted mt-1 font-normal", children: p.description })
5431
5455
  ] })
5432
5456
  ),
5433
- !c && p < e.length - 1 && /* @__PURE__ */ t.jsx("div", { className: "flex", children: [0, 1, 2].map((_) => /* @__PURE__ */ t.jsx(
5457
+ !c && h < e.length - 1 && /* @__PURE__ */ t.jsx("div", { className: "flex", children: [0, 1, 2].map((T) => /* @__PURE__ */ t.jsx(
5434
5458
  "div",
5435
5459
  {
5436
5460
  className: "text-2xl font-bold transition-all duration-300",
5437
- style: d(v, A, C, _),
5461
+ style: d(w, A, N, T),
5438
5462
  children: "›"
5439
5463
  },
5440
- _
5464
+ T
5441
5465
  )) })
5442
- ] }, p);
5466
+ ] }, h);
5443
5467
  }) });
5444
- }, Rr = ({
5468
+ }, Pr = ({
5445
5469
  variant: e = "gradient",
5446
5470
  orientation: r = "horizontal",
5447
5471
  className: a = ""
@@ -5450,13 +5474,13 @@ const Er = ({
5450
5474
  gradient: i === "horizontal" ? "bg-gradient-to-r from-transparent via-secondary/50 to-transparent" : "bg-gradient-to-b from-transparent via-secondary/50 to-transparent",
5451
5475
  solid: "bg-secondary/30",
5452
5476
  dashed: `border-dashed border-secondary/50 ${i === "horizontal" ? "border-t" : "border-l"}`
5453
- })[l], c = T(
5477
+ })[l], c = $(
5454
5478
  s(r),
5455
5479
  n(e, r),
5456
5480
  a
5457
5481
  );
5458
5482
  return /* @__PURE__ */ t.jsx("div", { className: c });
5459
- }, Ar = ({
5483
+ }, Ir = ({
5460
5484
  label: e,
5461
5485
  error: r,
5462
5486
  size: a = "md",
@@ -5467,34 +5491,34 @@ const Er = ({
5467
5491
  disabled: i,
5468
5492
  ...d
5469
5493
  }) => {
5470
- const [x, b] = Ee.useState(d.defaultChecked || !1), g = n !== void 0 ? n : x, m = (k) => {
5471
- i || (n === void 0 && b(k.target.checked), c?.(k), l?.(k.target.checked));
5472
- }, p = {
5494
+ const [g, m] = Ee.useState(d.defaultChecked || !1), y = n !== void 0 ? n : g, p = (C) => {
5495
+ i || (n === void 0 && m(C.target.checked), c?.(C), l?.(C.target.checked));
5496
+ }, h = {
5473
5497
  sm: "w-4 h-4",
5474
5498
  md: "w-5 h-5",
5475
5499
  lg: "w-6 h-6"
5476
- }, v = {
5500
+ }, w = {
5477
5501
  sm: "text-xs",
5478
5502
  md: "text-sm",
5479
5503
  lg: "text-base"
5480
- }, y = {
5504
+ }, x = {
5481
5505
  sm: "ml-6",
5482
5506
  md: "ml-8",
5483
5507
  lg: "ml-9"
5484
- }, w = V(a, p), A = V(a, v), C = V(a, y), _ = (k) => i ? "stroke-muted/20" : T("transition-all duration-200 group-hover:stroke-secondary group-hover:stroke-[1.5]", k ? "stroke-secondary" : "stroke-secondary/50"), $ = (k) => {
5485
- const L = "transition-all duration-200";
5486
- return i ? T(L, k ? "fill-muted/20" : "fill-transparent") : T(L, k ? "fill-secondary" : "fill-transparent");
5508
+ }, v = H(a, h), A = H(a, w), N = H(a, x), T = (C) => i ? "stroke-muted/20" : $("transition-all duration-200 group-hover:stroke-secondary group-hover:stroke-[1.5]", C ? "stroke-secondary" : "stroke-secondary/50"), _ = (C) => {
5509
+ const z = "transition-all duration-200";
5510
+ return i ? $(z, C ? "fill-muted/20" : "fill-transparent") : $(z, C ? "fill-secondary" : "fill-transparent");
5487
5511
  };
5488
- return /* @__PURE__ */ t.jsxs("div", { className: T("flex flex-col gap-1", s, i && "opacity-50 cursor-not-allowed"), children: [
5489
- /* @__PURE__ */ t.jsxs("label", { className: T("flex items-center gap-3 group", i ? "cursor-not-allowed pointer-events-none" : "cursor-pointer"), children: [
5490
- /* @__PURE__ */ t.jsxs("div", { className: T("relative flex-shrink-0", w), children: [
5512
+ return /* @__PURE__ */ t.jsxs("div", { className: $("flex flex-col gap-1", s, i && "opacity-50 cursor-not-allowed"), children: [
5513
+ /* @__PURE__ */ t.jsxs("label", { className: $("flex items-center gap-3 group", i ? "cursor-not-allowed pointer-events-none" : "cursor-pointer"), children: [
5514
+ /* @__PURE__ */ t.jsxs("div", { className: $("relative flex-shrink-0", v), children: [
5491
5515
  /* @__PURE__ */ t.jsx(
5492
5516
  "input",
5493
5517
  {
5494
5518
  type: "checkbox",
5495
5519
  className: "absolute opacity-0 w-0 h-0",
5496
- checked: g,
5497
- onChange: m,
5520
+ checked: y,
5521
+ onChange: p,
5498
5522
  disabled: i,
5499
5523
  ...d
5500
5524
  }
@@ -5518,7 +5542,7 @@ const Er = ({
5518
5542
  "path",
5519
5543
  {
5520
5544
  d: "M 1 1 L 19 1 L 19 15 L 15 19 L 1 19 Z",
5521
- className: _(g),
5545
+ className: T(y),
5522
5546
  strokeWidth: "1",
5523
5547
  fill: "none"
5524
5548
  }
@@ -5527,16 +5551,16 @@ const Er = ({
5527
5551
  "path",
5528
5552
  {
5529
5553
  d: "M 4 4 L 16 4 L 16 13 L 13 16 L 4 16 Z",
5530
- className: $(g)
5554
+ className: _(y)
5531
5555
  }
5532
5556
  )
5533
5557
  ]
5534
5558
  }
5535
5559
  )
5536
5560
  ] }),
5537
- e && /* @__PURE__ */ t.jsx("span", { className: T("transition-colors", A, i ? "text-muted" : "text-muted group-hover:text-secondary"), children: e })
5561
+ e && /* @__PURE__ */ t.jsx("span", { className: $("transition-colors", A, i ? "text-muted" : "text-muted group-hover:text-secondary"), children: e })
5538
5562
  ] }),
5539
- r && !i && /* @__PURE__ */ t.jsx("span", { className: T("text-xs text-error", C), children: r })
5563
+ r && !i && /* @__PURE__ */ t.jsx("span", { className: $("text-xs text-error", N), children: r })
5540
5564
  ] });
5541
5565
  }, ne = {
5542
5566
  MOBILE_BREAKPOINT: 768,
@@ -5546,7 +5570,7 @@ const Er = ({
5546
5570
  DISTANCE_THRESHOLD: 100,
5547
5571
  MAX_ANIMATION_SPEED: 5,
5548
5572
  MIN_GLOW_DURATION: 150
5549
- }, Mr = (e = {}) => {
5573
+ }, Or = (e = {}) => {
5550
5574
  const {
5551
5575
  glowColor: r = "primary",
5552
5576
  sensitivity: a = 2,
@@ -5554,20 +5578,20 @@ const Er = ({
5554
5578
  pageLevel: n,
5555
5579
  variant: c = "default",
5556
5580
  className: l = ""
5557
- } = e, i = te(null), d = te(null), x = te(Date.now()), b = te(0), g = te(void 0), m = te([]), p = te(void 0), [v, y] = X({
5581
+ } = e, i = te(null), d = te(null), g = te(Date.now()), m = te(0), y = te(void 0), p = te([]), h = te(void 0), [w, x] = Z({
5558
5582
  isScrolling: !1,
5559
5583
  direction: null,
5560
5584
  velocity: 0,
5561
5585
  position: 0,
5562
5586
  scrollDistance: 0
5563
- }), [w, A] = X(!1), [C, _] = X(() => typeof window > "u" ? !1 : window.innerWidth >= ne.MOBILE_BREAKPOINT), $ = te(0), [k, L] = X(n ?? !1);
5564
- ae(() => {
5587
+ }), [v, A] = Z(!1), [N, T] = Z(() => typeof window > "u" ? !1 : window.innerWidth >= ne.MOBILE_BREAKPOINT), _ = te(0), [C, z] = Z(n ?? !1);
5588
+ oe(() => {
5565
5589
  if (n !== void 0)
5566
- L(n);
5590
+ z(n);
5567
5591
  else {
5568
5592
  const u = setTimeout(() => {
5569
- const f = i.current !== null;
5570
- L(!f);
5593
+ const b = i.current !== null;
5594
+ z(!b);
5571
5595
  }, 0);
5572
5596
  return () => clearTimeout(u);
5573
5597
  }
@@ -5597,7 +5621,7 @@ const Er = ({
5597
5621
  boxShadow: "0 0 10px rgba(255, 0, 93, 0.3), inset 0 0 10px rgba(255, 0, 93, 0.1)"
5598
5622
  };
5599
5623
  }
5600
- }, []), h = D(() => {
5624
+ }, []), f = D(() => {
5601
5625
  const u = window.innerWidth < ne.MOBILE_BREAKPOINT;
5602
5626
  return {
5603
5627
  isMobile: u,
@@ -5606,35 +5630,35 @@ const Er = ({
5606
5630
  lineSize: u ? 8 : 12,
5607
5631
  arrowGap: u ? 2 : 4
5608
5632
  };
5609
- }, []), z = D((u, f, R, S) => {
5610
- const E = (S + R) * 2, O = R * 4, I = (u - E - O) / 2;
5611
- return Math.floor(I / (f + R));
5612
- }, []), U = D((u) => {
5613
- if (k) {
5633
+ }, []), M = D((u, b, R, S) => {
5634
+ const E = (S + R) * 2, I = R * 4, O = (u - E - I) / 2;
5635
+ return Math.floor(O / (b + R));
5636
+ }, []), V = D((u) => {
5637
+ if (C) {
5614
5638
  if (!document.querySelector("#cyber-page-scrollbar-styles")) {
5615
- const f = document.createElement("style");
5616
- f.id = "cyber-page-scrollbar-styles", f.textContent = `
5639
+ const b = document.createElement("style");
5640
+ b.id = "cyber-page-scrollbar-styles", b.textContent = `
5617
5641
  html::-webkit-scrollbar { display: none; }
5618
5642
  html { scrollbar-width: none; -ms-overflow-style: none; }
5619
- `, document.head.appendChild(f);
5643
+ `, document.head.appendChild(b);
5620
5644
  }
5621
5645
  } else if (u) {
5622
5646
  if (u.style.scrollbarWidth = "none", u.style.msOverflowStyle = "none", !document.querySelector("#cyber-scrollbar-styles")) {
5623
- const f = document.createElement("style");
5624
- f.id = "cyber-scrollbar-styles", f.textContent = `
5647
+ const b = document.createElement("style");
5648
+ b.id = "cyber-scrollbar-styles", b.textContent = `
5625
5649
  .cyber-scrollbar-container::-webkit-scrollbar { display: none; }
5626
- `, document.head.appendChild(f);
5650
+ `, document.head.appendChild(b);
5627
5651
  }
5628
5652
  u.classList.add("cyber-scrollbar-container");
5629
5653
  }
5630
- }, [k]), q = D((u, f, R, S) => {
5631
- const E = document.createElement("div"), O = u === "arrow";
5632
- O && f ? (E.className = `cyber-arrow cyber-arrow-${f} cyber-arrow-${R}`, E.innerHTML = f === "up" ? "▲" : "▼") : (E.className = `cyber-line cyber-line-${R}`, E.innerHTML = "=");
5654
+ }, [C]), X = D((u, b, R, S) => {
5655
+ const E = document.createElement("div"), I = u === "arrow";
5656
+ I && b ? (E.className = `cyber-arrow cyber-arrow-${b} cyber-arrow-${R}`, E.innerHTML = b === "up" ? "▲" : "▼") : (E.className = `cyber-line cyber-line-${R}`, E.innerHTML = "=");
5633
5657
  const W = S.isMobile ? "none" : `drop-shadow(0 0 6px var(--color-${r}))
5634
5658
  drop-shadow(0 0 12px var(--color-${r}))
5635
5659
  drop-shadow(0 0 18px var(--color-${r}))`;
5636
5660
  return E.style.cssText = `
5637
- font-size: ${O ? S.arrowSize : S.lineSize}px;
5661
+ font-size: ${I ? S.arrowSize : S.lineSize}px;
5638
5662
  color: var(--color-${r});
5639
5663
  opacity: 0;
5640
5664
  transition: all 0.2s ease;
@@ -5643,109 +5667,109 @@ const Er = ({
5643
5667
  font-weight: bold;
5644
5668
  `, E;
5645
5669
  }, [r]), Q = D(() => {
5646
- if (k)
5670
+ if (C)
5647
5671
  return {
5648
5672
  height: window.innerHeight,
5649
5673
  top: 0,
5650
5674
  right: 0
5651
5675
  };
5652
5676
  {
5653
- const f = i.current.getBoundingClientRect();
5677
+ const b = i.current.getBoundingClientRect();
5654
5678
  return {
5655
- height: f.height,
5656
- top: f.top,
5657
- right: window.innerWidth - f.right
5679
+ height: b.height,
5680
+ top: b.top,
5681
+ right: window.innerWidth - b.right
5658
5682
  };
5659
5683
  }
5660
- }, [k]), re = D(() => {
5661
- if (s || !k && !i.current || (d.current && d.current.remove(), !(k ? document.body.scrollHeight > window.innerHeight : i.current.scrollHeight > i.current.clientHeight))) return;
5662
- const f = h(), R = Q(), S = z(R.height, f.arrowSize, f.arrowGap, f.lineSize);
5663
- U(k ? void 0 : i.current || void 0);
5684
+ }, [C]), re = D(() => {
5685
+ if (s || !C && !i.current || (d.current && d.current.remove(), !(C ? document.body.scrollHeight > window.innerHeight : i.current.scrollHeight > i.current.clientHeight))) return;
5686
+ const b = f(), R = Q(), S = M(R.height, b.arrowSize, b.arrowGap, b.lineSize);
5687
+ V(C ? void 0 : i.current || void 0);
5664
5688
  const E = document.createElement("div");
5665
5689
  E.className = `cyber-scrollbar ${l}`.trim();
5666
- const W = f.isMobile ? "transparent" : c, I = G(W);
5690
+ const W = b.isMobile ? "transparent" : c, O = G(W);
5667
5691
  E.style.cssText = `
5668
5692
  position: fixed;
5669
5693
  top: ${R.top}px;
5670
5694
  right: ${R.right}px;
5671
- width: ${f.scrollbarWidth}px;
5695
+ width: ${b.scrollbarWidth}px;
5672
5696
  height: ${R.height}px;
5673
5697
  pointer-events: none;
5674
5698
  z-index: 9999;
5675
- display: ${C ? "flex" : "none"};
5699
+ display: ${N ? "flex" : "none"};
5676
5700
  flex-direction: column;
5677
5701
  align-items: center;
5678
5702
  justify-content: center;
5679
- gap: ${f.arrowGap}px;
5680
- background: ${I.background};
5681
- backdrop-filter: ${I.backdropFilter};
5682
- border-radius: ${k ? "4px 0 0 4px" : "4px"};
5683
- border: ${I.border};
5684
- box-shadow: ${I.boxShadow};
5703
+ gap: ${b.arrowGap}px;
5704
+ background: ${O.background};
5705
+ backdrop-filter: ${O.backdropFilter};
5706
+ border-radius: ${C ? "4px 0 0 4px" : "4px"};
5707
+ border: ${O.border};
5708
+ box-shadow: ${O.boxShadow};
5685
5709
  `;
5686
- for (let F = 0; F < S; F++)
5687
- E.appendChild(q("arrow", "up", F, f));
5688
- for (let F = 0; F < 2; F++)
5689
- E.appendChild(q("line", void 0, F, f));
5690
- for (let F = 0; F < S; F++)
5691
- E.appendChild(q("arrow", "down", F, f));
5710
+ for (let B = 0; B < S; B++)
5711
+ E.appendChild(X("arrow", "up", B, b));
5712
+ for (let B = 0; B < 2; B++)
5713
+ E.appendChild(X("line", void 0, B, b));
5714
+ for (let B = 0; B < S; B++)
5715
+ E.appendChild(X("arrow", "down", B, b));
5692
5716
  document.body.appendChild(E), d.current = E;
5693
- const M = k ? void 0 : () => {
5694
- const F = i.current;
5695
- if (F) {
5696
- const se = F.getBoundingClientRect();
5717
+ const L = C ? void 0 : () => {
5718
+ const B = i.current;
5719
+ if (B) {
5720
+ const se = B.getBoundingClientRect();
5697
5721
  E.style.top = `${se.top}px`, E.style.right = `${window.innerWidth - se.right}px`, E.style.height = `${se.height}px`;
5698
5722
  }
5699
5723
  };
5700
- return M && (window.addEventListener("resize", M), window.addEventListener("scroll", M)), () => {
5701
- E.remove(), !k && i.current && i.current.classList.remove("cyber-scrollbar-container"), M && (window.removeEventListener("resize", M), window.removeEventListener("scroll", M));
5724
+ return L && (window.addEventListener("resize", L), window.addEventListener("scroll", L)), () => {
5725
+ E.remove(), !C && i.current && i.current.classList.remove("cyber-scrollbar-container"), L && (window.removeEventListener("resize", L), window.removeEventListener("scroll", L));
5702
5726
  };
5703
- }, [s, k, C, U, Q, q, h, z, G, c, l]), ee = D((u, f) => {
5704
- const R = Math.max(1, Math.min(3, Math.ceil(u * 0.8))), S = Math.floor(f / ne.DISTANCE_THRESHOLD);
5727
+ }, [s, C, N, V, Q, X, f, M, G, c, l]), ee = D((u, b) => {
5728
+ const R = Math.max(1, Math.min(3, Math.ceil(u * 0.8))), S = Math.floor(b / ne.DISTANCE_THRESHOLD);
5705
5729
  return R + S;
5706
- }, []), B = D((u, f, R) => {
5730
+ }, []), F = D((u, b, R) => {
5707
5731
  const S = Array.from(u).filter(
5708
- (O) => O.classList.contains(`cyber-arrow-${f}`)
5732
+ (I) => I.classList.contains(`cyber-arrow-${b}`)
5709
5733
  ), E = Math.min(R, S.length);
5710
- return f === "up" ? S.slice(-E) : S.slice(0, E);
5711
- }, []), H = D((u, f, R) => {
5712
- const S = Math.min(f * a, ne.MAX_ANIMATION_SPEED), E = window.innerWidth < ne.MOBILE_BREAKPOINT, O = Math.max(300 / S, ne.MIN_GLOW_DURATION) * (E ? 1.5 : 1), W = Math.max(40, 80 / S) * (E ? 1.25 : 1), I = R === "up" ? [...u].reverse() : u;
5713
- I.forEach((M) => {
5714
- M.style.opacity = "0.3";
5715
- }), I.forEach((M, F) => {
5716
- const se = F * W, fe = setTimeout(() => {
5717
- M.style.opacity = "1";
5718
- const pe = setTimeout(() => {
5719
- M.style.opacity = "0.3";
5720
- }, O);
5721
- m.current.push(pe);
5734
+ return b === "up" ? S.slice(-E) : S.slice(0, E);
5735
+ }, []), U = D((u, b, R) => {
5736
+ const S = Math.min(b * a, ne.MAX_ANIMATION_SPEED), E = window.innerWidth < ne.MOBILE_BREAKPOINT, I = Math.max(300 / S, ne.MIN_GLOW_DURATION) * (E ? 1.5 : 1), W = Math.max(40, 80 / S) * (E ? 1.25 : 1), O = R === "up" ? [...u].reverse() : u;
5737
+ O.forEach((L) => {
5738
+ L.style.opacity = "0.3";
5739
+ }), O.forEach((L, B) => {
5740
+ const se = B * W, fe = setTimeout(() => {
5741
+ L.style.opacity = "1";
5742
+ const be = setTimeout(() => {
5743
+ L.style.opacity = "0.3";
5744
+ }, I);
5745
+ p.current.push(be);
5722
5746
  }, se);
5723
- m.current.push(fe);
5747
+ p.current.push(fe);
5724
5748
  });
5725
- }, [a]), Z = D(() => {
5749
+ }, [a]), q = D(() => {
5726
5750
  if (!d.current) return;
5727
- const { isScrolling: u, direction: f, velocity: R, scrollDistance: S } = v, E = d.current.querySelectorAll(".cyber-arrow"), O = d.current.querySelectorAll(".cyber-line");
5728
- if (u && f) {
5729
- O.forEach((I) => {
5730
- I.style.opacity = "0";
5751
+ const { isScrolling: u, direction: b, velocity: R, scrollDistance: S } = w, E = d.current.querySelectorAll(".cyber-arrow"), I = d.current.querySelectorAll(".cyber-line");
5752
+ if (u && b) {
5753
+ I.forEach((O) => {
5754
+ O.style.opacity = "0";
5731
5755
  });
5732
5756
  const W = ee(R, S);
5733
- if (W !== $.current) {
5734
- m.current.forEach((M) => clearTimeout(M)), m.current = [], E.forEach((M) => {
5735
- M.style.opacity = "0";
5757
+ if (W !== _.current) {
5758
+ p.current.forEach((L) => clearTimeout(L)), p.current = [], E.forEach((L) => {
5759
+ L.style.opacity = "0";
5736
5760
  });
5737
- const I = B(Array.from(E), f, W);
5738
- H(I, R, f), $.current = W;
5761
+ const O = F(Array.from(E), b, W);
5762
+ U(O, R, b), _.current = W;
5739
5763
  }
5740
5764
  } else
5741
- m.current.forEach((W) => clearTimeout(W)), m.current = [], $.current = 0, E.forEach((W) => {
5765
+ p.current.forEach((W) => clearTimeout(W)), p.current = [], _.current = 0, E.forEach((W) => {
5742
5766
  W.style.opacity = "0";
5743
- }), w && O.forEach((W) => {
5767
+ }), v && I.forEach((W) => {
5744
5768
  W.style.opacity = "0.6";
5745
5769
  });
5746
- }, [v, w, H, ee, B]), Y = te(null), K = D(() => {
5747
- if (s || !k && !i.current) return;
5748
- const u = Date.now(), f = k ? {
5770
+ }, [w, v, U, ee, F]), Y = te(null), K = D(() => {
5771
+ if (s || !C && !i.current) return;
5772
+ const u = Date.now(), b = C ? {
5749
5773
  currentScrollTop: window.scrollY,
5750
5774
  scrollHeight: document.body.scrollHeight,
5751
5775
  clientHeight: window.innerHeight
@@ -5753,130 +5777,141 @@ const Er = ({
5753
5777
  currentScrollTop: i.current.scrollTop,
5754
5778
  scrollHeight: i.current.scrollHeight,
5755
5779
  clientHeight: i.current.clientHeight
5756
- }, R = u - x.current, S = f.currentScrollTop - b.current, O = Math.abs(S) / Math.max(R, 1) * ne.VELOCITY_MULTIPLIER, W = S > 0 ? "down" : S < 0 ? "up" : null, I = f.currentScrollTop / (f.scrollHeight - f.clientHeight);
5757
- w || A(!0);
5758
- const M = window.innerWidth < ne.MOBILE_BREAKPOINT;
5759
- M && !C && _(!0), y((F) => ({
5780
+ }, R = u - g.current, S = b.currentScrollTop - m.current, I = Math.abs(S) / Math.max(R, 1) * ne.VELOCITY_MULTIPLIER, W = S > 0 ? "down" : S < 0 ? "up" : null, O = b.currentScrollTop / (b.scrollHeight - b.clientHeight);
5781
+ v || A(!0);
5782
+ const L = window.innerWidth < ne.MOBILE_BREAKPOINT;
5783
+ L && !N && T(!0), x((B) => ({
5760
5784
  isScrolling: !0,
5761
5785
  direction: W,
5762
- velocity: O,
5763
- position: I,
5764
- scrollDistance: F.direction !== W ? Math.abs(S) : F.scrollDistance + Math.abs(S)
5765
- })), g.current && clearTimeout(g.current), p.current && clearTimeout(p.current), g.current = setTimeout(() => {
5766
- m.current.forEach((F) => clearTimeout(F)), m.current = [], y((F) => ({
5767
- ...F,
5786
+ velocity: I,
5787
+ position: O,
5788
+ scrollDistance: B.direction !== W ? Math.abs(S) : B.scrollDistance + Math.abs(S)
5789
+ })), y.current && clearTimeout(y.current), h.current && clearTimeout(h.current), y.current = setTimeout(() => {
5790
+ p.current.forEach((B) => clearTimeout(B)), p.current = [], x((B) => ({
5791
+ ...B,
5768
5792
  isScrolling: !1,
5769
5793
  velocity: 0,
5770
5794
  scrollDistance: 0
5771
- })), M && (p.current = setTimeout(() => {
5772
- _(!1);
5795
+ })), L && (h.current = setTimeout(() => {
5796
+ T(!1);
5773
5797
  }, ne.MOBILE_HIDE_DELAY));
5774
- }, ne.STABLE_TIMEOUT), x.current = u, b.current = f.currentScrollTop;
5775
- }, [s, k, w, C]), o = D(() => {
5798
+ }, ne.STABLE_TIMEOUT), g.current = u, m.current = b.currentScrollTop;
5799
+ }, [s, C, v, N]), o = D(() => {
5776
5800
  Y.current === null && (Y.current = requestAnimationFrame(() => {
5777
5801
  Y.current = null, K();
5778
5802
  }));
5779
5803
  }, [K]);
5780
- return ae(() => {
5781
- if (s || !k && !i.current) return;
5782
- const u = re(), f = k ? window : i.current;
5783
- return f.addEventListener("scroll", o, { passive: !0 }), () => {
5784
- f.removeEventListener("scroll", o), g.current && clearTimeout(g.current), p.current && clearTimeout(p.current), m.current.forEach((R) => clearTimeout(R)), Y.current !== null && (cancelAnimationFrame(Y.current), Y.current = null), u?.();
5804
+ return oe(() => {
5805
+ if (s || !C && !i.current) return;
5806
+ const u = re(), b = C ? window : i.current;
5807
+ return b.addEventListener("scroll", o, { passive: !0 }), () => {
5808
+ b.removeEventListener("scroll", o), y.current && clearTimeout(y.current), h.current && clearTimeout(h.current), p.current.forEach((R) => clearTimeout(R)), Y.current !== null && (cancelAnimationFrame(Y.current), Y.current = null), u?.();
5785
5809
  };
5786
- }, [re, o, s, k]), ae(() => {
5787
- Z();
5788
- }, [Z]), i;
5789
- }, nt = lt(void 0), Lr = () => {
5810
+ }, [re, o, s, C]), oe(() => {
5811
+ q();
5812
+ }, [q]), i;
5813
+ }, nt = lt(void 0), Dr = () => {
5790
5814
  const e = it(nt);
5791
5815
  if (e === void 0)
5792
5816
  throw new Error(
5793
5817
  "useCyberNotifications must be used within a CyberNotificationProvider"
5794
5818
  );
5795
5819
  return e;
5796
- }, zr = ({ children: e, position: r = "top-right", defaultDuration: a = 2500 }) => {
5797
- const [s, n] = X([]), c = D(
5798
- (b, g, m, p = {}) => {
5799
- const v = Date.now().toString(), { autoHide: y = !0, duration: w = a } = p;
5800
- return n((A) => [...A, { id: v, type: b, title: g, message: m }]), y && setTimeout(() => {
5820
+ }, Gr = (e = {}) => {
5821
+ const { min: r = 5, max: a = 95, speed: s = 30 } = e, [n, c] = Z(0), [l, i] = Z(1);
5822
+ return oe(() => {
5823
+ const d = setInterval(() => {
5824
+ c((g) => {
5825
+ let m = g + l;
5826
+ return m >= a ? (m = a, i(-1)) : m <= r && (m = r, i(1)), m;
5827
+ });
5828
+ }, s);
5829
+ return () => clearInterval(d);
5830
+ }, [l, r, a, s]), n;
5831
+ }, Wr = ({ children: e, position: r = "top-right", defaultDuration: a = 2500 }) => {
5832
+ const [s, n] = Z([]), c = D(
5833
+ (m, y, p, h = {}) => {
5834
+ const w = Date.now().toString(), { autoHide: x = !0, duration: v = a } = h;
5835
+ return n((A) => [...A, { id: w, type: m, title: y, message: p }]), x && setTimeout(() => {
5801
5836
  n(
5802
- (A) => A.map((C) => C.id === v ? { ...C, isClosing: !0 } : C)
5837
+ (A) => A.map((N) => N.id === w ? { ...N, isClosing: !0 } : N)
5803
5838
  ), setTimeout(() => {
5804
- n((A) => A.filter((C) => C.id !== v));
5839
+ n((A) => A.filter((N) => N.id !== w));
5805
5840
  }, 500);
5806
- }, w), v;
5841
+ }, v), w;
5807
5842
  },
5808
5843
  [a]
5809
- ), l = D((b) => {
5844
+ ), l = D((m) => {
5810
5845
  n(
5811
- (g) => g.map((m) => m.id === b ? { ...m, isClosing: !0 } : m)
5846
+ (y) => y.map((p) => p.id === m ? { ...p, isClosing: !0 } : p)
5812
5847
  ), setTimeout(() => {
5813
- n((g) => g.filter((m) => m.id !== b));
5848
+ n((y) => y.filter((p) => p.id !== m));
5814
5849
  }, 500);
5815
5850
  }, []), i = D(() => {
5816
5851
  n([]);
5817
- }, []), d = D((b, g) => {
5852
+ }, []), d = D((m, y) => {
5818
5853
  n(
5819
- (m) => m.map((p) => p.id === b ? { ...p, width: g } : p)
5854
+ (p) => p.map((h) => h.id === m ? { ...h, width: y } : h)
5820
5855
  );
5821
- }, []), x = {
5856
+ }, []), g = {
5822
5857
  notifications: s,
5823
5858
  showNotification: c,
5824
5859
  hideNotification: l,
5825
5860
  clearAllNotifications: i
5826
5861
  };
5827
- return /* @__PURE__ */ t.jsxs(nt.Provider, { value: x, children: [
5862
+ return /* @__PURE__ */ t.jsxs(nt.Provider, { value: g, children: [
5828
5863
  e,
5829
5864
  s.length > 0 && /* @__PURE__ */ t.jsx(
5830
5865
  "div",
5831
5866
  {
5832
- className: `fixed z-50 ${mr(r)}`,
5867
+ className: `fixed z-50 ${gr(r)}`,
5833
5868
  "aria-live": "polite",
5834
5869
  "aria-relevant": "additions text",
5835
5870
  "aria-atomic": "true",
5836
- children: s.map((b, g) => /* @__PURE__ */ t.jsx(
5871
+ children: s.map((m, y) => /* @__PURE__ */ t.jsx(
5837
5872
  "div",
5838
5873
  {
5839
5874
  className: "absolute",
5840
5875
  style: {
5841
5876
  right: r.includes("right") ? 0 : void 0,
5842
5877
  left: r.includes("left") ? 0 : void 0,
5843
- top: `${g * 70}px`,
5844
- width: b.width ? `${b.width}px` : "auto"
5878
+ top: `${y * 70}px`,
5879
+ width: m.width ? `${m.width}px` : "auto"
5845
5880
  },
5846
5881
  children: /* @__PURE__ */ t.jsx(
5847
5882
  "div",
5848
5883
  {
5849
- className: `transform transition-all duration-500 ease-out scale-75 opacity-90 w-full ${r.includes("right") ? "flex justify-end" : "flex justify-start"} ${b.isClosing ? `${r.includes("right") ? "translate-x-full" : "-translate-x-full"} opacity-0` : "translate-x-0 opacity-90"}`,
5884
+ className: `transform transition-all duration-500 ease-out scale-75 opacity-90 w-full ${r.includes("right") ? "flex justify-end" : "flex justify-start"} ${m.isClosing ? `${r.includes("right") ? "translate-x-full" : "-translate-x-full"} opacity-0` : "translate-x-0 opacity-90"}`,
5850
5885
  style: {
5851
5886
  whiteSpace: "nowrap",
5852
5887
  transformOrigin: r.includes("right") ? "right center" : "left center",
5853
- transform: b.isClosing ? `translateX(${r.includes("right") ? "100%" : "-100%"}) scale(0.75)` : `translateX(${b.width ? "0px" : r.includes("right") ? "100%" : "-100%"}) scale(0.75)`
5888
+ transform: m.isClosing ? `translateX(${r.includes("right") ? "100%" : "-100%"}) scale(0.75)` : `translateX(${m.width ? "0px" : r.includes("right") ? "100%" : "-100%"}) scale(0.75)`
5854
5889
  },
5855
- ref: (m) => {
5856
- if (m && !b.width) {
5857
- const p = m.scrollWidth;
5858
- d(b.id, p);
5890
+ ref: (p) => {
5891
+ if (p && !m.width) {
5892
+ const h = p.scrollWidth;
5893
+ d(m.id, h);
5859
5894
  }
5860
5895
  },
5861
5896
  children: /* @__PURE__ */ t.jsx(
5862
- nr,
5897
+ ur,
5863
5898
  {
5864
- type: b.type,
5865
- title: b.title,
5866
- message: b.message,
5867
- onClose: () => l(b.id),
5899
+ type: m.type,
5900
+ title: m.title,
5901
+ message: m.message,
5902
+ onClose: () => l(m.id),
5868
5903
  size: "sm"
5869
5904
  }
5870
5905
  )
5871
5906
  }
5872
5907
  )
5873
5908
  },
5874
- b.id
5909
+ m.id
5875
5910
  ))
5876
5911
  }
5877
5912
  )
5878
5913
  ] });
5879
- }, mr = (e) => {
5914
+ }, gr = (e) => {
5880
5915
  const r = {
5881
5916
  "top-right": "top-4 right-4",
5882
5917
  "top-left": "top-4 left-4",
@@ -5884,36 +5919,50 @@ const Er = ({
5884
5919
  "bottom-left": "bottom-4 left-4"
5885
5920
  };
5886
5921
  return r[e] || r["top-right"];
5887
- }, Pr = "2.1.1";
5922
+ }, Br = "2.3.0";
5923
+ if (typeof window < "u") {
5924
+ const e = () => {
5925
+ getComputedStyle(document.documentElement).getPropertyValue("--color-primary").trim() || console.warn(
5926
+ `[cyberui-2045] Stylesheet not detected.
5927
+ Add this line to your app entry file (e.g. main.tsx / index.tsx):
5928
+
5929
+ import 'cyberui-2045/styles.css';
5930
+
5931
+ Without it all components lose colors, backgrounds, and animations.`
5932
+ );
5933
+ };
5934
+ document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", e, { once: !0 }) : e();
5935
+ }
5888
5936
  export {
5889
- kr as Badge,
5937
+ Er as Badge,
5890
5938
  We as Button,
5891
- wr as Card,
5892
- Sr as Carousel,
5893
- Ar as Checkbox,
5894
- gr as CircularProgress,
5895
- zr as CyberNotificationProvider,
5896
- Rr as Divider,
5897
- Er as GradientText,
5939
+ Sr as Card,
5940
+ Rr as Carousel,
5941
+ Ir as Checkbox,
5942
+ kr as CircularProgress,
5943
+ Wr as CyberNotificationProvider,
5944
+ Pr as Divider,
5945
+ Ar as GradientText,
5898
5946
  je as Image,
5899
- vr as Input,
5900
- yr as LinearProgress,
5901
- ur as Modal,
5902
- nr as Notification,
5903
- oe as RESPONSIVE_SIZE_MAPS,
5904
- $r as SectionTitle,
5905
- xr as SegmentedProgress,
5906
- Nr as Select,
5907
- Cr as Skeleton,
5908
- _r as Steps,
5909
- hr as TabNavigation,
5910
- Tr as Timeline,
5911
- jr as Toggle,
5912
- T as cn,
5913
- pr as combineResponsiveClasses,
5914
- V as getResponsiveClasses,
5915
- Lr as useCyberNotifications,
5916
- Mr as useCyberScrollbar,
5917
- Pr as version
5947
+ Cr as Input,
5948
+ Nr as LinearProgress,
5949
+ hr as Modal,
5950
+ ur as Notification,
5951
+ ae as RESPONSIVE_SIZE_MAPS,
5952
+ Mr as SectionTitle,
5953
+ jr as SegmentedProgress,
5954
+ $r as Select,
5955
+ Tr as Skeleton,
5956
+ zr as Steps,
5957
+ wr as TabNavigation,
5958
+ Lr as Timeline,
5959
+ _r as Toggle,
5960
+ $ as cn,
5961
+ vr as combineResponsiveClasses,
5962
+ H as getResponsiveClasses,
5963
+ Gr as useAnimatedProgress,
5964
+ Dr as useCyberNotifications,
5965
+ Or as useCyberScrollbar,
5966
+ Br as version
5918
5967
  };
5919
5968
  //# sourceMappingURL=index.es.js.map