@imdanibytes/nexus-ui 0.6.0 → 0.7.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.js CHANGED
@@ -1,173 +1,174 @@
1
- import { jsx as be, jsxs as Oe } from "react/jsx-runtime";
2
- import * as L from "react";
3
- import { HeroUIProvider as Ne } from "@heroui/react";
4
- import { Toaster as Ve } from "sonner";
5
- import { Toaster as _o, toast as Fo } from "sonner";
6
- const ve = L.createContext({
1
+ import { jsx as g, jsxs as Y } from "react/jsx-runtime";
2
+ import * as M from "react";
3
+ import { useState as Ae, useEffect as we } from "react";
4
+ import { HeroUIProvider as We, Input as Fe, Button as $e } from "@heroui/react";
5
+ import { Toaster as Ue } from "sonner";
6
+ import { Toaster as Qt, toast as Zt } from "sonner";
7
+ const Re = M.createContext({
7
8
  apiUrl: "http://localhost:9600"
8
9
  });
9
- function Go() {
10
- return L.useContext(ve);
10
+ function Ft() {
11
+ return M.useContext(Re);
11
12
  }
12
- function te(e) {
13
+ function se(e) {
13
14
  e && e !== "default" ? document.documentElement.setAttribute("data-theme", e) : document.documentElement.removeAttribute("data-theme");
14
15
  }
15
- function _e() {
16
+ function De() {
16
17
  try {
17
18
  return new URLSearchParams(window.location.search).get("nexus_theme") ?? void 0;
18
19
  } catch {
19
20
  return;
20
21
  }
21
22
  }
22
- function Lo({
23
+ function $t({
23
24
  children: e,
24
25
  apiUrl: r = "http://localhost:9600",
25
26
  toaster: t = !0
26
27
  }) {
27
- const [o] = L.useState(() => {
28
- const a = _e();
29
- return a && te(a), document.documentElement.classList.contains("light") || document.documentElement.classList.add("dark"), !!a;
28
+ const [o] = M.useState(() => {
29
+ const n = De();
30
+ return n && se(n), document.documentElement.classList.contains("light") || document.documentElement.classList.add("dark"), !!n;
30
31
  });
31
- return L.useEffect(() => {
32
- o || fetch(`${r}/api/v1/theme`).then((a) => a.json()).then((a) => {
33
- te(a.theme);
32
+ return M.useEffect(() => {
33
+ o || fetch(`${r}/api/v1/theme`).then((n) => n.json()).then((n) => {
34
+ se(n.theme);
34
35
  }).catch(() => {
35
36
  });
36
- }, [r, o]), L.useEffect(() => {
37
- function a(c) {
38
- const i = c.data;
37
+ }, [r, o]), M.useEffect(() => {
38
+ function n(l) {
39
+ const i = l.data;
39
40
  if (i?.type === "nexus:system" && i.event === "theme_changed") {
40
- const u = i.data?.theme;
41
- te(u);
41
+ const p = i.data?.theme;
42
+ se(p);
42
43
  }
43
44
  }
44
- return window.addEventListener("message", a), () => window.removeEventListener("message", a);
45
- }, []), /* @__PURE__ */ be(Ne, { children: /* @__PURE__ */ Oe(ve.Provider, { value: { apiUrl: r }, children: [
45
+ return window.addEventListener("message", n), () => window.removeEventListener("message", n);
46
+ }, []), /* @__PURE__ */ g(We, { children: /* @__PURE__ */ Y(Re.Provider, { value: { apiUrl: r }, children: [
46
47
  e,
47
- t && /* @__PURE__ */ be(Ve, {})
48
+ t && /* @__PURE__ */ g(Ue, {})
48
49
  ] }) });
49
50
  }
50
- function ze(e) {
51
+ function Ie(e) {
51
52
  var r, t, o = "";
52
53
  if (typeof e == "string" || typeof e == "number") o += e;
53
54
  else if (typeof e == "object") if (Array.isArray(e)) {
54
- var a = e.length;
55
- for (r = 0; r < a; r++) e[r] && (t = ze(e[r])) && (o && (o += " "), o += t);
55
+ var n = e.length;
56
+ for (r = 0; r < n; r++) e[r] && (t = Ie(e[r])) && (o && (o += " "), o += t);
56
57
  } else for (t in e) e[t] && (o && (o += " "), o += t);
57
58
  return o;
58
59
  }
59
- function Fe() {
60
- for (var e, r, t = 0, o = "", a = arguments.length; t < a; t++) (e = arguments[t]) && (r = ze(e)) && (o && (o += " "), o += r);
60
+ function Ye() {
61
+ for (var e, r, t = 0, o = "", n = arguments.length; t < n; t++) (e = arguments[t]) && (r = Ie(e)) && (o && (o += " "), o += r);
61
62
  return o;
62
63
  }
63
- const We = (e, r) => {
64
+ const qe = (e, r) => {
64
65
  const t = new Array(e.length + r.length);
65
66
  for (let o = 0; o < e.length; o++)
66
67
  t[o] = e[o];
67
68
  for (let o = 0; o < r.length; o++)
68
69
  t[e.length + o] = r[o];
69
70
  return t;
70
- }, Be = (e, r) => ({
71
+ }, Xe = (e, r) => ({
71
72
  classGroupId: e,
72
73
  validator: r
73
- }), Ce = (e = /* @__PURE__ */ new Map(), r = null, t) => ({
74
+ }), Me = (e = /* @__PURE__ */ new Map(), r = null, t) => ({
74
75
  nextPart: e,
75
76
  validators: r,
76
77
  classGroupId: t
77
- }), Q = "-", he = [], $e = "arbitrary..", Ue = (e) => {
78
- const r = Ye(e), {
78
+ }), te = "-", ye = [], He = "arbitrary..", Je = (e) => {
79
+ const r = Qe(e), {
79
80
  conflictingClassGroups: t,
80
81
  conflictingClassGroupModifiers: o
81
82
  } = e;
82
83
  return {
83
84
  getClassGroupId: (i) => {
84
85
  if (i.startsWith("[") && i.endsWith("]"))
85
- return De(i);
86
- const u = i.split(Q), d = u[0] === "" && u.length > 1 ? 1 : 0;
87
- return Ae(u, d, r);
86
+ return Ke(i);
87
+ const p = i.split(te), c = p[0] === "" && p.length > 1 ? 1 : 0;
88
+ return Ne(p, c, r);
88
89
  },
89
- getConflictingClassGroupIds: (i, u) => {
90
- if (u) {
91
- const d = o[i], f = t[i];
92
- return d ? f ? We(f, d) : d : f || he;
90
+ getConflictingClassGroupIds: (i, p) => {
91
+ if (p) {
92
+ const c = o[i], f = t[i];
93
+ return c ? f ? qe(f, c) : c : f || ye;
93
94
  }
94
- return t[i] || he;
95
+ return t[i] || ye;
95
96
  }
96
97
  };
97
- }, Ae = (e, r, t) => {
98
+ }, Ne = (e, r, t) => {
98
99
  if (e.length - r === 0)
99
100
  return t.classGroupId;
100
- const a = e[r], c = t.nextPart.get(a);
101
- if (c) {
102
- const f = Ae(e, r + 1, c);
101
+ const n = e[r], l = t.nextPart.get(n);
102
+ if (l) {
103
+ const f = Ne(e, r + 1, l);
103
104
  if (f) return f;
104
105
  }
105
106
  const i = t.validators;
106
107
  if (i === null)
107
108
  return;
108
- const u = r === 0 ? e.join(Q) : e.slice(r).join(Q), d = i.length;
109
- for (let f = 0; f < d; f++) {
110
- const h = i[f];
111
- if (h.validator(u))
112
- return h.classGroupId;
109
+ const p = r === 0 ? e.join(te) : e.slice(r).join(te), c = i.length;
110
+ for (let f = 0; f < c; f++) {
111
+ const x = i[f];
112
+ if (x.validator(p))
113
+ return x.classGroupId;
113
114
  }
114
- }, De = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
115
+ }, Ke = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
115
116
  const r = e.slice(1, -1), t = r.indexOf(":"), o = r.slice(0, t);
116
- return o ? $e + o : void 0;
117
- })(), Ye = (e) => {
117
+ return o ? He + o : void 0;
118
+ })(), Qe = (e) => {
118
119
  const {
119
120
  theme: r,
120
121
  classGroups: t
121
122
  } = e;
122
- return qe(t, r);
123
- }, qe = (e, r) => {
124
- const t = Ce();
123
+ return Ze(t, r);
124
+ }, Ze = (e, r) => {
125
+ const t = Me();
125
126
  for (const o in e) {
126
- const a = e[o];
127
- ie(a, t, o, r);
127
+ const n = e[o];
128
+ de(n, t, o, r);
128
129
  }
129
130
  return t;
130
- }, ie = (e, r, t, o) => {
131
- const a = e.length;
132
- for (let c = 0; c < a; c++) {
133
- const i = e[c];
134
- Xe(i, r, t, o);
131
+ }, de = (e, r, t, o) => {
132
+ const n = e.length;
133
+ for (let l = 0; l < n; l++) {
134
+ const i = e[l];
135
+ et(i, r, t, o);
135
136
  }
136
- }, Xe = (e, r, t, o) => {
137
+ }, et = (e, r, t, o) => {
137
138
  if (typeof e == "string") {
138
- He(e, r, t);
139
+ tt(e, r, t);
139
140
  return;
140
141
  }
141
142
  if (typeof e == "function") {
142
- Je(e, r, t, o);
143
+ ot(e, r, t, o);
143
144
  return;
144
145
  }
145
- Ke(e, r, t, o);
146
- }, He = (e, r, t) => {
147
- const o = e === "" ? r : Se(r, e);
146
+ rt(e, r, t, o);
147
+ }, tt = (e, r, t) => {
148
+ const o = e === "" ? r : Pe(r, e);
148
149
  o.classGroupId = t;
149
- }, Je = (e, r, t, o) => {
150
- if (Qe(e)) {
151
- ie(e(o), r, t, o);
150
+ }, ot = (e, r, t, o) => {
151
+ if (nt(e)) {
152
+ de(e(o), r, t, o);
152
153
  return;
153
154
  }
154
- r.validators === null && (r.validators = []), r.validators.push(Be(t, e));
155
- }, Ke = (e, r, t, o) => {
156
- const a = Object.entries(e), c = a.length;
157
- for (let i = 0; i < c; i++) {
158
- const [u, d] = a[i];
159
- ie(d, Se(r, u), t, o);
155
+ r.validators === null && (r.validators = []), r.validators.push(Xe(t, e));
156
+ }, rt = (e, r, t, o) => {
157
+ const n = Object.entries(e), l = n.length;
158
+ for (let i = 0; i < l; i++) {
159
+ const [p, c] = n[i];
160
+ de(c, Pe(r, p), t, o);
160
161
  }
161
- }, Se = (e, r) => {
162
+ }, Pe = (e, r) => {
162
163
  let t = e;
163
- const o = r.split(Q), a = o.length;
164
- for (let c = 0; c < a; c++) {
165
- const i = o[c];
166
- let u = t.nextPart.get(i);
167
- u || (u = Ce(), t.nextPart.set(i, u)), t = u;
164
+ const o = r.split(te), n = o.length;
165
+ for (let l = 0; l < n; l++) {
166
+ const i = o[l];
167
+ let p = t.nextPart.get(i);
168
+ p || (p = Me(), t.nextPart.set(i, p)), t = p;
168
169
  }
169
170
  return t;
170
- }, Qe = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Ze = (e) => {
171
+ }, nt = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, st = (e) => {
171
172
  if (e < 1)
172
173
  return {
173
174
  get: () => {
@@ -176,177 +177,177 @@ const We = (e, r) => {
176
177
  }
177
178
  };
178
179
  let r = 0, t = /* @__PURE__ */ Object.create(null), o = /* @__PURE__ */ Object.create(null);
179
- const a = (c, i) => {
180
- t[c] = i, r++, r > e && (r = 0, o = t, t = /* @__PURE__ */ Object.create(null));
180
+ const n = (l, i) => {
181
+ t[l] = i, r++, r > e && (r = 0, o = t, t = /* @__PURE__ */ Object.create(null));
181
182
  };
182
183
  return {
183
- get(c) {
184
- let i = t[c];
184
+ get(l) {
185
+ let i = t[l];
185
186
  if (i !== void 0)
186
187
  return i;
187
- if ((i = o[c]) !== void 0)
188
- return a(c, i), i;
188
+ if ((i = o[l]) !== void 0)
189
+ return n(l, i), i;
189
190
  },
190
- set(c, i) {
191
- c in t ? t[c] = i : a(c, i);
191
+ set(l, i) {
192
+ l in t ? t[l] = i : n(l, i);
192
193
  }
193
194
  };
194
- }, ae = "!", we = ":", eo = [], xe = (e, r, t, o, a) => ({
195
+ }, ce = "!", ke = ":", at = [], ve = (e, r, t, o, n) => ({
195
196
  modifiers: e,
196
197
  hasImportantModifier: r,
197
198
  baseClassName: t,
198
199
  maybePostfixModifierPosition: o,
199
- isExternal: a
200
- }), oo = (e) => {
200
+ isExternal: n
201
+ }), it = (e) => {
201
202
  const {
202
203
  prefix: r,
203
204
  experimentalParseClassName: t
204
205
  } = e;
205
- let o = (a) => {
206
- const c = [];
207
- let i = 0, u = 0, d = 0, f;
208
- const h = a.length;
209
- for (let v = 0; v < h; v++) {
210
- const x = a[v];
211
- if (i === 0 && u === 0) {
212
- if (x === we) {
213
- c.push(a.slice(d, v)), d = v + 1;
206
+ let o = (n) => {
207
+ const l = [];
208
+ let i = 0, p = 0, c = 0, f;
209
+ const x = n.length;
210
+ for (let C = 0; C < x; C++) {
211
+ const y = n[C];
212
+ if (i === 0 && p === 0) {
213
+ if (y === ke) {
214
+ l.push(n.slice(c, C)), c = C + 1;
214
215
  continue;
215
216
  }
216
- if (x === "/") {
217
- f = v;
217
+ if (y === "/") {
218
+ f = C;
218
219
  continue;
219
220
  }
220
221
  }
221
- x === "[" ? i++ : x === "]" ? i-- : x === "(" ? u++ : x === ")" && u--;
222
+ y === "[" ? i++ : y === "]" ? i-- : y === "(" ? p++ : y === ")" && p--;
222
223
  }
223
- const y = c.length === 0 ? a : a.slice(d);
224
- let z = y, I = !1;
225
- y.endsWith(ae) ? (z = y.slice(0, -1), I = !0) : (
224
+ const v = l.length === 0 ? n : n.slice(c);
225
+ let z = v, P = !1;
226
+ v.endsWith(ce) ? (z = v.slice(0, -1), P = !0) : (
226
227
  /**
227
228
  * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
228
229
  * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
229
230
  */
230
- y.startsWith(ae) && (z = y.slice(1), I = !0)
231
+ v.startsWith(ce) && (z = v.slice(1), P = !0)
231
232
  );
232
- const M = f && f > d ? f - d : void 0;
233
- return xe(c, I, z, M);
233
+ const T = f && f > c ? f - c : void 0;
234
+ return ve(l, P, z, T);
234
235
  };
235
236
  if (r) {
236
- const a = r + we, c = o;
237
- o = (i) => i.startsWith(a) ? c(i.slice(a.length)) : xe(eo, !1, i, void 0, !0);
237
+ const n = r + ke, l = o;
238
+ o = (i) => i.startsWith(n) ? l(i.slice(n.length)) : ve(at, !1, i, void 0, !0);
238
239
  }
239
240
  if (t) {
240
- const a = o;
241
- o = (c) => t({
242
- className: c,
243
- parseClassName: a
241
+ const n = o;
242
+ o = (l) => t({
243
+ className: l,
244
+ parseClassName: n
244
245
  });
245
246
  }
246
247
  return o;
247
- }, to = (e) => {
248
+ }, lt = (e) => {
248
249
  const r = /* @__PURE__ */ new Map();
249
250
  return e.orderSensitiveModifiers.forEach((t, o) => {
250
251
  r.set(t, 1e6 + o);
251
252
  }), (t) => {
252
253
  const o = [];
253
- let a = [];
254
- for (let c = 0; c < t.length; c++) {
255
- const i = t[c], u = i[0] === "[", d = r.has(i);
256
- u || d ? (a.length > 0 && (a.sort(), o.push(...a), a = []), o.push(i)) : a.push(i);
254
+ let n = [];
255
+ for (let l = 0; l < t.length; l++) {
256
+ const i = t[l], p = i[0] === "[", c = r.has(i);
257
+ p || c ? (n.length > 0 && (n.sort(), o.push(...n), n = []), o.push(i)) : n.push(i);
257
258
  }
258
- return a.length > 0 && (a.sort(), o.push(...a)), o;
259
+ return n.length > 0 && (n.sort(), o.push(...n)), o;
259
260
  };
260
- }, ro = (e) => ({
261
- cache: Ze(e.cacheSize),
262
- parseClassName: oo(e),
263
- sortModifiers: to(e),
264
- ...Ue(e)
265
- }), so = /\s+/, no = (e, r) => {
261
+ }, ct = (e) => ({
262
+ cache: st(e.cacheSize),
263
+ parseClassName: it(e),
264
+ sortModifiers: lt(e),
265
+ ...Je(e)
266
+ }), dt = /\s+/, mt = (e, r) => {
266
267
  const {
267
268
  parseClassName: t,
268
269
  getClassGroupId: o,
269
- getConflictingClassGroupIds: a,
270
- sortModifiers: c
271
- } = r, i = [], u = e.trim().split(so);
272
- let d = "";
273
- for (let f = u.length - 1; f >= 0; f -= 1) {
274
- const h = u[f], {
275
- isExternal: y,
270
+ getConflictingClassGroupIds: n,
271
+ sortModifiers: l
272
+ } = r, i = [], p = e.trim().split(dt);
273
+ let c = "";
274
+ for (let f = p.length - 1; f >= 0; f -= 1) {
275
+ const x = p[f], {
276
+ isExternal: v,
276
277
  modifiers: z,
277
- hasImportantModifier: I,
278
- baseClassName: M,
279
- maybePostfixModifierPosition: v
280
- } = t(h);
281
- if (y) {
282
- d = h + (d.length > 0 ? " " + d : d);
278
+ hasImportantModifier: P,
279
+ baseClassName: T,
280
+ maybePostfixModifierPosition: C
281
+ } = t(x);
282
+ if (v) {
283
+ c = x + (c.length > 0 ? " " + c : c);
283
284
  continue;
284
285
  }
285
- let x = !!v, P = o(x ? M.substring(0, v) : M);
286
- if (!P) {
287
- if (!x) {
288
- d = h + (d.length > 0 ? " " + d : d);
286
+ let y = !!C, E = o(y ? T.substring(0, C) : T);
287
+ if (!E) {
288
+ if (!y) {
289
+ c = x + (c.length > 0 ? " " + c : c);
289
290
  continue;
290
291
  }
291
- if (P = o(M), !P) {
292
- d = h + (d.length > 0 ? " " + d : d);
292
+ if (E = o(T), !E) {
293
+ c = x + (c.length > 0 ? " " + c : c);
293
294
  continue;
294
295
  }
295
- x = !1;
296
+ y = !1;
296
297
  }
297
- const U = z.length === 0 ? "" : z.length === 1 ? z[0] : c(z).join(":"), W = I ? U + ae : U, j = W + P;
298
+ const q = z.length === 0 ? "" : z.length === 1 ? z[0] : l(z).join(":"), $ = P ? q + ce : q, j = $ + E;
298
299
  if (i.indexOf(j) > -1)
299
300
  continue;
300
301
  i.push(j);
301
- const O = a(P, x);
302
- for (let T = 0; T < O.length; ++T) {
303
- const B = O[T];
304
- i.push(W + B);
302
+ const B = n(E, y);
303
+ for (let L = 0; L < B.length; ++L) {
304
+ const U = B[L];
305
+ i.push($ + U);
305
306
  }
306
- d = h + (d.length > 0 ? " " + d : d);
307
+ c = x + (c.length > 0 ? " " + c : c);
307
308
  }
308
- return d;
309
- }, ao = (...e) => {
310
- let r = 0, t, o, a = "";
309
+ return c;
310
+ }, ut = (...e) => {
311
+ let r = 0, t, o, n = "";
311
312
  for (; r < e.length; )
312
- (t = e[r++]) && (o = Re(t)) && (a && (a += " "), a += o);
313
- return a;
314
- }, Re = (e) => {
313
+ (t = e[r++]) && (o = Te(t)) && (n && (n += " "), n += o);
314
+ return n;
315
+ }, Te = (e) => {
315
316
  if (typeof e == "string")
316
317
  return e;
317
318
  let r, t = "";
318
319
  for (let o = 0; o < e.length; o++)
319
- e[o] && (r = Re(e[o])) && (t && (t += " "), t += r);
320
+ e[o] && (r = Te(e[o])) && (t && (t += " "), t += r);
320
321
  return t;
321
- }, io = (e, ...r) => {
322
- let t, o, a, c;
323
- const i = (d) => {
324
- const f = r.reduce((h, y) => y(h), e());
325
- return t = ro(f), o = t.cache.get, a = t.cache.set, c = u, u(d);
326
- }, u = (d) => {
327
- const f = o(d);
322
+ }, pt = (e, ...r) => {
323
+ let t, o, n, l;
324
+ const i = (c) => {
325
+ const f = r.reduce((x, v) => v(x), e());
326
+ return t = ct(f), o = t.cache.get, n = t.cache.set, l = p, p(c);
327
+ }, p = (c) => {
328
+ const f = o(c);
328
329
  if (f)
329
330
  return f;
330
- const h = no(d, t);
331
- return a(d, h), h;
331
+ const x = mt(c, t);
332
+ return n(c, x), x;
332
333
  };
333
- return c = i, (...d) => c(ao(...d));
334
- }, lo = [], g = (e) => {
335
- const r = (t) => t[e] || lo;
334
+ return l = i, (...c) => l(ut(...c));
335
+ }, ft = [], b = (e) => {
336
+ const r = (t) => t[e] || ft;
336
337
  return r.isThemeGetter = !0, r;
337
- }, Ie = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Me = /^\((?:(\w[\w-]*):)?(.+)\)$/i, co = /^\d+\/\d+$/, mo = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, po = /\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$/, uo = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, fo = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, go = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, V = (e) => co.test(e), p = (e) => !!e && !Number.isNaN(Number(e)), R = (e) => !!e && Number.isInteger(Number(e)), re = (e) => e.endsWith("%") && p(e.slice(0, -1)), S = (e) => mo.test(e), bo = () => !0, ho = (e) => (
338
+ }, Ee = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Le = /^\((?:(\w[\w-]*):)?(.+)\)$/i, gt = /^\d+\/\d+$/, bt = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, ht = /\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$/, xt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, wt = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, yt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, V = (e) => gt.test(e), u = (e) => !!e && !Number.isNaN(Number(e)), I = (e) => !!e && Number.isInteger(Number(e)), ae = (e) => e.endsWith("%") && u(e.slice(0, -1)), R = (e) => bt.test(e), kt = () => !0, vt = (e) => (
338
339
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
339
340
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
340
341
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
341
- po.test(e) && !uo.test(e)
342
- ), Pe = () => !1, wo = (e) => fo.test(e), xo = (e) => go.test(e), ko = (e) => !s(e) && !n(e), yo = (e) => _(e, Ge, Pe), s = (e) => Ie.test(e), G = (e) => _(e, Le, ho), se = (e) => _(e, So, p), ke = (e) => _(e, Te, Pe), vo = (e) => _(e, Ee, xo), J = (e) => _(e, je, wo), n = (e) => Me.test(e), $ = (e) => F(e, Le), zo = (e) => F(e, Ro), ye = (e) => F(e, Te), Co = (e) => F(e, Ge), Ao = (e) => F(e, Ee), K = (e) => F(e, je, !0), _ = (e, r, t) => {
343
- const o = Ie.exec(e);
342
+ ht.test(e) && !xt.test(e)
343
+ ), Ge = () => !1, Ct = (e) => wt.test(e), zt = (e) => yt.test(e), St = (e) => !s(e) && !a(e), At = (e) => W(e, Be, Ge), s = (e) => Ee.test(e), O = (e) => W(e, _e, vt), ie = (e) => W(e, Pt, u), Ce = (e) => W(e, Oe, Ge), Rt = (e) => W(e, je, zt), Z = (e) => W(e, Ve, Ct), a = (e) => Le.test(e), D = (e) => F(e, _e), It = (e) => F(e, Tt), ze = (e) => F(e, Oe), Mt = (e) => F(e, Be), Nt = (e) => F(e, je), ee = (e) => F(e, Ve, !0), W = (e, r, t) => {
344
+ const o = Ee.exec(e);
344
345
  return o ? o[1] ? r(o[1]) : t(o[2]) : !1;
345
346
  }, F = (e, r, t = !1) => {
346
- const o = Me.exec(e);
347
+ const o = Le.exec(e);
347
348
  return o ? o[1] ? r(o[1]) : t : !1;
348
- }, Te = (e) => e === "position" || e === "percentage", Ee = (e) => e === "image" || e === "url", Ge = (e) => e === "length" || e === "size" || e === "bg-size", Le = (e) => e === "length", So = (e) => e === "number", Ro = (e) => e === "family-name", je = (e) => e === "shadow", Io = () => {
349
- const e = g("color"), r = g("font"), t = g("text"), o = g("font-weight"), a = g("tracking"), c = g("leading"), i = g("breakpoint"), u = g("container"), d = g("spacing"), f = g("radius"), h = g("shadow"), y = g("inset-shadow"), z = g("text-shadow"), I = g("drop-shadow"), M = g("blur"), v = g("perspective"), x = g("aspect"), P = g("ease"), U = g("animate"), W = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], j = () => [
349
+ }, Oe = (e) => e === "position" || e === "percentage", je = (e) => e === "image" || e === "url", Be = (e) => e === "length" || e === "size" || e === "bg-size", _e = (e) => e === "length", Pt = (e) => e === "number", Tt = (e) => e === "family-name", Ve = (e) => e === "shadow", Et = () => {
350
+ const e = b("color"), r = b("font"), t = b("text"), o = b("font-weight"), n = b("tracking"), l = b("leading"), i = b("breakpoint"), p = b("container"), c = b("spacing"), f = b("radius"), x = b("shadow"), v = b("inset-shadow"), z = b("text-shadow"), P = b("drop-shadow"), T = b("blur"), C = b("perspective"), y = b("aspect"), E = b("ease"), q = b("animate"), $ = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], j = () => [
350
351
  "center",
351
352
  "top",
352
353
  "bottom",
@@ -364,51 +365,51 @@ const We = (e, r) => {
364
365
  "bottom-left",
365
366
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
366
367
  "left-bottom"
367
- ], O = () => [...j(), n, s], T = () => ["auto", "hidden", "clip", "visible", "scroll"], B = () => ["auto", "contain", "none"], m = () => [n, s, d], C = () => [V, "full", "auto", ...m()], le = () => [R, "none", "subgrid", n, s], ce = () => ["auto", {
368
- span: ["full", R, n, s]
369
- }, R, n, s], D = () => [R, "auto", n, s], de = () => ["auto", "min", "max", "fr", n, s], Z = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], N = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], A = () => ["auto", ...m()], E = () => [V, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...m()], l = () => [e, n, s], me = () => [...j(), ye, ke, {
370
- position: [n, s]
371
- }], pe = () => ["no-repeat", {
368
+ ], B = () => [...j(), a, s], L = () => ["auto", "hidden", "clip", "visible", "scroll"], U = () => ["auto", "contain", "none"], m = () => [a, s, c], S = () => [V, "full", "auto", ...m()], me = () => [I, "none", "subgrid", a, s], ue = () => ["auto", {
369
+ span: ["full", I, a, s]
370
+ }, I, a, s], X = () => [I, "auto", a, s], pe = () => ["auto", "min", "max", "fr", a, s], oe = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], _ = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], A = () => ["auto", ...m()], G = () => [V, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...m()], d = () => [e, a, s], fe = () => [...j(), ze, Ce, {
371
+ position: [a, s]
372
+ }], ge = () => ["no-repeat", {
372
373
  repeat: ["", "x", "y", "space", "round"]
373
- }], ue = () => ["auto", "cover", "contain", Co, yo, {
374
- size: [n, s]
375
- }], ee = () => [re, $, G], w = () => [
374
+ }], be = () => ["auto", "cover", "contain", Mt, At, {
375
+ size: [a, s]
376
+ }], re = () => [ae, D, O], w = () => [
376
377
  // Deprecated since Tailwind CSS v4.0.0
377
378
  "",
378
379
  "none",
379
380
  "full",
380
381
  f,
381
- n,
382
+ a,
382
383
  s
383
- ], k = () => ["", p, $, G], Y = () => ["solid", "dashed", "dotted", "double"], fe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], b = () => [p, re, ye, ke], ge = () => [
384
+ ], k = () => ["", u, D, O], H = () => ["solid", "dashed", "dotted", "double"], he = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], h = () => [u, ae, ze, Ce], xe = () => [
384
385
  // Deprecated since Tailwind CSS v4.0.0
385
386
  "",
386
387
  "none",
387
- M,
388
- n,
388
+ T,
389
+ a,
389
390
  s
390
- ], q = () => ["none", p, n, s], X = () => ["none", p, n, s], oe = () => [p, n, s], H = () => [V, "full", ...m()];
391
+ ], J = () => ["none", u, a, s], K = () => ["none", u, a, s], ne = () => [u, a, s], Q = () => [V, "full", ...m()];
391
392
  return {
392
393
  cacheSize: 500,
393
394
  theme: {
394
395
  animate: ["spin", "ping", "pulse", "bounce"],
395
396
  aspect: ["video"],
396
- blur: [S],
397
- breakpoint: [S],
398
- color: [bo],
399
- container: [S],
400
- "drop-shadow": [S],
397
+ blur: [R],
398
+ breakpoint: [R],
399
+ color: [kt],
400
+ container: [R],
401
+ "drop-shadow": [R],
401
402
  ease: ["in", "out", "in-out"],
402
- font: [ko],
403
+ font: [St],
403
404
  "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
404
- "inset-shadow": [S],
405
+ "inset-shadow": [R],
405
406
  leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
406
407
  perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
407
- radius: [S],
408
- shadow: [S],
409
- spacing: ["px", p],
410
- text: [S],
411
- "text-shadow": [S],
408
+ radius: [R],
409
+ shadow: [R],
410
+ spacing: ["px", u],
411
+ text: [R],
412
+ "text-shadow": [R],
412
413
  tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
413
414
  },
414
415
  classGroups: {
@@ -420,7 +421,7 @@ const We = (e, r) => {
420
421
  * @see https://tailwindcss.com/docs/aspect-ratio
421
422
  */
422
423
  aspect: [{
423
- aspect: ["auto", "square", V, s, n, x]
424
+ aspect: ["auto", "square", V, s, a, y]
424
425
  }],
425
426
  /**
426
427
  * Container
@@ -433,21 +434,21 @@ const We = (e, r) => {
433
434
  * @see https://tailwindcss.com/docs/columns
434
435
  */
435
436
  columns: [{
436
- columns: [p, s, n, u]
437
+ columns: [u, s, a, p]
437
438
  }],
438
439
  /**
439
440
  * Break After
440
441
  * @see https://tailwindcss.com/docs/break-after
441
442
  */
442
443
  "break-after": [{
443
- "break-after": W()
444
+ "break-after": $()
444
445
  }],
445
446
  /**
446
447
  * Break Before
447
448
  * @see https://tailwindcss.com/docs/break-before
448
449
  */
449
450
  "break-before": [{
450
- "break-before": W()
451
+ "break-before": $()
451
452
  }],
452
453
  /**
453
454
  * Break Inside
@@ -511,49 +512,49 @@ const We = (e, r) => {
511
512
  * @see https://tailwindcss.com/docs/object-position
512
513
  */
513
514
  "object-position": [{
514
- object: O()
515
+ object: B()
515
516
  }],
516
517
  /**
517
518
  * Overflow
518
519
  * @see https://tailwindcss.com/docs/overflow
519
520
  */
520
521
  overflow: [{
521
- overflow: T()
522
+ overflow: L()
522
523
  }],
523
524
  /**
524
525
  * Overflow X
525
526
  * @see https://tailwindcss.com/docs/overflow
526
527
  */
527
528
  "overflow-x": [{
528
- "overflow-x": T()
529
+ "overflow-x": L()
529
530
  }],
530
531
  /**
531
532
  * Overflow Y
532
533
  * @see https://tailwindcss.com/docs/overflow
533
534
  */
534
535
  "overflow-y": [{
535
- "overflow-y": T()
536
+ "overflow-y": L()
536
537
  }],
537
538
  /**
538
539
  * Overscroll Behavior
539
540
  * @see https://tailwindcss.com/docs/overscroll-behavior
540
541
  */
541
542
  overscroll: [{
542
- overscroll: B()
543
+ overscroll: U()
543
544
  }],
544
545
  /**
545
546
  * Overscroll Behavior X
546
547
  * @see https://tailwindcss.com/docs/overscroll-behavior
547
548
  */
548
549
  "overscroll-x": [{
549
- "overscroll-x": B()
550
+ "overscroll-x": U()
550
551
  }],
551
552
  /**
552
553
  * Overscroll Behavior Y
553
554
  * @see https://tailwindcss.com/docs/overscroll-behavior
554
555
  */
555
556
  "overscroll-y": [{
556
- "overscroll-y": B()
557
+ "overscroll-y": U()
557
558
  }],
558
559
  /**
559
560
  * Position
@@ -565,63 +566,63 @@ const We = (e, r) => {
565
566
  * @see https://tailwindcss.com/docs/top-right-bottom-left
566
567
  */
567
568
  inset: [{
568
- inset: C()
569
+ inset: S()
569
570
  }],
570
571
  /**
571
572
  * Right / Left
572
573
  * @see https://tailwindcss.com/docs/top-right-bottom-left
573
574
  */
574
575
  "inset-x": [{
575
- "inset-x": C()
576
+ "inset-x": S()
576
577
  }],
577
578
  /**
578
579
  * Top / Bottom
579
580
  * @see https://tailwindcss.com/docs/top-right-bottom-left
580
581
  */
581
582
  "inset-y": [{
582
- "inset-y": C()
583
+ "inset-y": S()
583
584
  }],
584
585
  /**
585
586
  * Start
586
587
  * @see https://tailwindcss.com/docs/top-right-bottom-left
587
588
  */
588
589
  start: [{
589
- start: C()
590
+ start: S()
590
591
  }],
591
592
  /**
592
593
  * End
593
594
  * @see https://tailwindcss.com/docs/top-right-bottom-left
594
595
  */
595
596
  end: [{
596
- end: C()
597
+ end: S()
597
598
  }],
598
599
  /**
599
600
  * Top
600
601
  * @see https://tailwindcss.com/docs/top-right-bottom-left
601
602
  */
602
603
  top: [{
603
- top: C()
604
+ top: S()
604
605
  }],
605
606
  /**
606
607
  * Right
607
608
  * @see https://tailwindcss.com/docs/top-right-bottom-left
608
609
  */
609
610
  right: [{
610
- right: C()
611
+ right: S()
611
612
  }],
612
613
  /**
613
614
  * Bottom
614
615
  * @see https://tailwindcss.com/docs/top-right-bottom-left
615
616
  */
616
617
  bottom: [{
617
- bottom: C()
618
+ bottom: S()
618
619
  }],
619
620
  /**
620
621
  * Left
621
622
  * @see https://tailwindcss.com/docs/top-right-bottom-left
622
623
  */
623
624
  left: [{
624
- left: C()
625
+ left: S()
625
626
  }],
626
627
  /**
627
628
  * Visibility
@@ -633,7 +634,7 @@ const We = (e, r) => {
633
634
  * @see https://tailwindcss.com/docs/z-index
634
635
  */
635
636
  z: [{
636
- z: [R, "auto", n, s]
637
+ z: [I, "auto", a, s]
637
638
  }],
638
639
  // ------------------------
639
640
  // --- Flexbox and Grid ---
@@ -643,7 +644,7 @@ const We = (e, r) => {
643
644
  * @see https://tailwindcss.com/docs/flex-basis
644
645
  */
645
646
  basis: [{
646
- basis: [V, "full", "auto", u, ...m()]
647
+ basis: [V, "full", "auto", p, ...m()]
647
648
  }],
648
649
  /**
649
650
  * Flex Direction
@@ -664,84 +665,84 @@ const We = (e, r) => {
664
665
  * @see https://tailwindcss.com/docs/flex
665
666
  */
666
667
  flex: [{
667
- flex: [p, V, "auto", "initial", "none", s]
668
+ flex: [u, V, "auto", "initial", "none", s]
668
669
  }],
669
670
  /**
670
671
  * Flex Grow
671
672
  * @see https://tailwindcss.com/docs/flex-grow
672
673
  */
673
674
  grow: [{
674
- grow: ["", p, n, s]
675
+ grow: ["", u, a, s]
675
676
  }],
676
677
  /**
677
678
  * Flex Shrink
678
679
  * @see https://tailwindcss.com/docs/flex-shrink
679
680
  */
680
681
  shrink: [{
681
- shrink: ["", p, n, s]
682
+ shrink: ["", u, a, s]
682
683
  }],
683
684
  /**
684
685
  * Order
685
686
  * @see https://tailwindcss.com/docs/order
686
687
  */
687
688
  order: [{
688
- order: [R, "first", "last", "none", n, s]
689
+ order: [I, "first", "last", "none", a, s]
689
690
  }],
690
691
  /**
691
692
  * Grid Template Columns
692
693
  * @see https://tailwindcss.com/docs/grid-template-columns
693
694
  */
694
695
  "grid-cols": [{
695
- "grid-cols": le()
696
+ "grid-cols": me()
696
697
  }],
697
698
  /**
698
699
  * Grid Column Start / End
699
700
  * @see https://tailwindcss.com/docs/grid-column
700
701
  */
701
702
  "col-start-end": [{
702
- col: ce()
703
+ col: ue()
703
704
  }],
704
705
  /**
705
706
  * Grid Column Start
706
707
  * @see https://tailwindcss.com/docs/grid-column
707
708
  */
708
709
  "col-start": [{
709
- "col-start": D()
710
+ "col-start": X()
710
711
  }],
711
712
  /**
712
713
  * Grid Column End
713
714
  * @see https://tailwindcss.com/docs/grid-column
714
715
  */
715
716
  "col-end": [{
716
- "col-end": D()
717
+ "col-end": X()
717
718
  }],
718
719
  /**
719
720
  * Grid Template Rows
720
721
  * @see https://tailwindcss.com/docs/grid-template-rows
721
722
  */
722
723
  "grid-rows": [{
723
- "grid-rows": le()
724
+ "grid-rows": me()
724
725
  }],
725
726
  /**
726
727
  * Grid Row Start / End
727
728
  * @see https://tailwindcss.com/docs/grid-row
728
729
  */
729
730
  "row-start-end": [{
730
- row: ce()
731
+ row: ue()
731
732
  }],
732
733
  /**
733
734
  * Grid Row Start
734
735
  * @see https://tailwindcss.com/docs/grid-row
735
736
  */
736
737
  "row-start": [{
737
- "row-start": D()
738
+ "row-start": X()
738
739
  }],
739
740
  /**
740
741
  * Grid Row End
741
742
  * @see https://tailwindcss.com/docs/grid-row
742
743
  */
743
744
  "row-end": [{
744
- "row-end": D()
745
+ "row-end": X()
745
746
  }],
746
747
  /**
747
748
  * Grid Auto Flow
@@ -755,14 +756,14 @@ const We = (e, r) => {
755
756
  * @see https://tailwindcss.com/docs/grid-auto-columns
756
757
  */
757
758
  "auto-cols": [{
758
- "auto-cols": de()
759
+ "auto-cols": pe()
759
760
  }],
760
761
  /**
761
762
  * Grid Auto Rows
762
763
  * @see https://tailwindcss.com/docs/grid-auto-rows
763
764
  */
764
765
  "auto-rows": [{
765
- "auto-rows": de()
766
+ "auto-rows": pe()
766
767
  }],
767
768
  /**
768
769
  * Gap
@@ -790,35 +791,35 @@ const We = (e, r) => {
790
791
  * @see https://tailwindcss.com/docs/justify-content
791
792
  */
792
793
  "justify-content": [{
793
- justify: [...Z(), "normal"]
794
+ justify: [...oe(), "normal"]
794
795
  }],
795
796
  /**
796
797
  * Justify Items
797
798
  * @see https://tailwindcss.com/docs/justify-items
798
799
  */
799
800
  "justify-items": [{
800
- "justify-items": [...N(), "normal"]
801
+ "justify-items": [..._(), "normal"]
801
802
  }],
802
803
  /**
803
804
  * Justify Self
804
805
  * @see https://tailwindcss.com/docs/justify-self
805
806
  */
806
807
  "justify-self": [{
807
- "justify-self": ["auto", ...N()]
808
+ "justify-self": ["auto", ..._()]
808
809
  }],
809
810
  /**
810
811
  * Align Content
811
812
  * @see https://tailwindcss.com/docs/align-content
812
813
  */
813
814
  "align-content": [{
814
- content: ["normal", ...Z()]
815
+ content: ["normal", ...oe()]
815
816
  }],
816
817
  /**
817
818
  * Align Items
818
819
  * @see https://tailwindcss.com/docs/align-items
819
820
  */
820
821
  "align-items": [{
821
- items: [...N(), {
822
+ items: [..._(), {
822
823
  baseline: ["", "last"]
823
824
  }]
824
825
  }],
@@ -827,7 +828,7 @@ const We = (e, r) => {
827
828
  * @see https://tailwindcss.com/docs/align-self
828
829
  */
829
830
  "align-self": [{
830
- self: ["auto", ...N(), {
831
+ self: ["auto", ..._(), {
831
832
  baseline: ["", "last"]
832
833
  }]
833
834
  }],
@@ -836,21 +837,21 @@ const We = (e, r) => {
836
837
  * @see https://tailwindcss.com/docs/place-content
837
838
  */
838
839
  "place-content": [{
839
- "place-content": Z()
840
+ "place-content": oe()
840
841
  }],
841
842
  /**
842
843
  * Place Items
843
844
  * @see https://tailwindcss.com/docs/place-items
844
845
  */
845
846
  "place-items": [{
846
- "place-items": [...N(), "baseline"]
847
+ "place-items": [..._(), "baseline"]
847
848
  }],
848
849
  /**
849
850
  * Place Self
850
851
  * @see https://tailwindcss.com/docs/place-self
851
852
  */
852
853
  "place-self": [{
853
- "place-self": ["auto", ...N()]
854
+ "place-self": ["auto", ..._()]
854
855
  }],
855
856
  // Spacing
856
857
  /**
@@ -1011,14 +1012,14 @@ const We = (e, r) => {
1011
1012
  * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
1012
1013
  */
1013
1014
  size: [{
1014
- size: E()
1015
+ size: G()
1015
1016
  }],
1016
1017
  /**
1017
1018
  * Width
1018
1019
  * @see https://tailwindcss.com/docs/width
1019
1020
  */
1020
1021
  w: [{
1021
- w: [u, "screen", ...E()]
1022
+ w: [p, "screen", ...G()]
1022
1023
  }],
1023
1024
  /**
1024
1025
  * Min-Width
@@ -1026,11 +1027,11 @@ const We = (e, r) => {
1026
1027
  */
1027
1028
  "min-w": [{
1028
1029
  "min-w": [
1029
- u,
1030
+ p,
1030
1031
  "screen",
1031
1032
  /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1032
1033
  "none",
1033
- ...E()
1034
+ ...G()
1034
1035
  ]
1035
1036
  }],
1036
1037
  /**
@@ -1039,7 +1040,7 @@ const We = (e, r) => {
1039
1040
  */
1040
1041
  "max-w": [{
1041
1042
  "max-w": [
1042
- u,
1043
+ p,
1043
1044
  "screen",
1044
1045
  "none",
1045
1046
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
@@ -1048,7 +1049,7 @@ const We = (e, r) => {
1048
1049
  {
1049
1050
  screen: [i]
1050
1051
  },
1051
- ...E()
1052
+ ...G()
1052
1053
  ]
1053
1054
  }],
1054
1055
  /**
@@ -1056,21 +1057,21 @@ const We = (e, r) => {
1056
1057
  * @see https://tailwindcss.com/docs/height
1057
1058
  */
1058
1059
  h: [{
1059
- h: ["screen", "lh", ...E()]
1060
+ h: ["screen", "lh", ...G()]
1060
1061
  }],
1061
1062
  /**
1062
1063
  * Min-Height
1063
1064
  * @see https://tailwindcss.com/docs/min-height
1064
1065
  */
1065
1066
  "min-h": [{
1066
- "min-h": ["screen", "lh", "none", ...E()]
1067
+ "min-h": ["screen", "lh", "none", ...G()]
1067
1068
  }],
1068
1069
  /**
1069
1070
  * Max-Height
1070
1071
  * @see https://tailwindcss.com/docs/max-height
1071
1072
  */
1072
1073
  "max-h": [{
1073
- "max-h": ["screen", "lh", ...E()]
1074
+ "max-h": ["screen", "lh", ...G()]
1074
1075
  }],
1075
1076
  // ------------------
1076
1077
  // --- Typography ---
@@ -1080,7 +1081,7 @@ const We = (e, r) => {
1080
1081
  * @see https://tailwindcss.com/docs/font-size
1081
1082
  */
1082
1083
  "font-size": [{
1083
- text: ["base", t, $, G]
1084
+ text: ["base", t, D, O]
1084
1085
  }],
1085
1086
  /**
1086
1087
  * Font Smoothing
@@ -1097,21 +1098,21 @@ const We = (e, r) => {
1097
1098
  * @see https://tailwindcss.com/docs/font-weight
1098
1099
  */
1099
1100
  "font-weight": [{
1100
- font: [o, n, se]
1101
+ font: [o, a, ie]
1101
1102
  }],
1102
1103
  /**
1103
1104
  * Font Stretch
1104
1105
  * @see https://tailwindcss.com/docs/font-stretch
1105
1106
  */
1106
1107
  "font-stretch": [{
1107
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", re, s]
1108
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", ae, s]
1108
1109
  }],
1109
1110
  /**
1110
1111
  * Font Family
1111
1112
  * @see https://tailwindcss.com/docs/font-family
1112
1113
  */
1113
1114
  "font-family": [{
1114
- font: [zo, s, r]
1115
+ font: [It, s, r]
1115
1116
  }],
1116
1117
  /**
1117
1118
  * Font Variant Numeric
@@ -1148,14 +1149,14 @@ const We = (e, r) => {
1148
1149
  * @see https://tailwindcss.com/docs/letter-spacing
1149
1150
  */
1150
1151
  tracking: [{
1151
- tracking: [a, n, s]
1152
+ tracking: [n, a, s]
1152
1153
  }],
1153
1154
  /**
1154
1155
  * Line Clamp
1155
1156
  * @see https://tailwindcss.com/docs/line-clamp
1156
1157
  */
1157
1158
  "line-clamp": [{
1158
- "line-clamp": [p, "none", n, se]
1159
+ "line-clamp": [u, "none", a, ie]
1159
1160
  }],
1160
1161
  /**
1161
1162
  * Line Height
@@ -1164,7 +1165,7 @@ const We = (e, r) => {
1164
1165
  leading: [{
1165
1166
  leading: [
1166
1167
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1167
- c,
1168
+ l,
1168
1169
  ...m()
1169
1170
  ]
1170
1171
  }],
@@ -1173,7 +1174,7 @@ const We = (e, r) => {
1173
1174
  * @see https://tailwindcss.com/docs/list-style-image
1174
1175
  */
1175
1176
  "list-image": [{
1176
- "list-image": ["none", n, s]
1177
+ "list-image": ["none", a, s]
1177
1178
  }],
1178
1179
  /**
1179
1180
  * List Style Position
@@ -1187,7 +1188,7 @@ const We = (e, r) => {
1187
1188
  * @see https://tailwindcss.com/docs/list-style-type
1188
1189
  */
1189
1190
  "list-style-type": [{
1190
- list: ["disc", "decimal", "none", n, s]
1191
+ list: ["disc", "decimal", "none", a, s]
1191
1192
  }],
1192
1193
  /**
1193
1194
  * Text Alignment
@@ -1202,14 +1203,14 @@ const We = (e, r) => {
1202
1203
  * @see https://v3.tailwindcss.com/docs/placeholder-color
1203
1204
  */
1204
1205
  "placeholder-color": [{
1205
- placeholder: l()
1206
+ placeholder: d()
1206
1207
  }],
1207
1208
  /**
1208
1209
  * Text Color
1209
1210
  * @see https://tailwindcss.com/docs/text-color
1210
1211
  */
1211
1212
  "text-color": [{
1212
- text: l()
1213
+ text: d()
1213
1214
  }],
1214
1215
  /**
1215
1216
  * Text Decoration
@@ -1221,28 +1222,28 @@ const We = (e, r) => {
1221
1222
  * @see https://tailwindcss.com/docs/text-decoration-style
1222
1223
  */
1223
1224
  "text-decoration-style": [{
1224
- decoration: [...Y(), "wavy"]
1225
+ decoration: [...H(), "wavy"]
1225
1226
  }],
1226
1227
  /**
1227
1228
  * Text Decoration Thickness
1228
1229
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1229
1230
  */
1230
1231
  "text-decoration-thickness": [{
1231
- decoration: [p, "from-font", "auto", n, G]
1232
+ decoration: [u, "from-font", "auto", a, O]
1232
1233
  }],
1233
1234
  /**
1234
1235
  * Text Decoration Color
1235
1236
  * @see https://tailwindcss.com/docs/text-decoration-color
1236
1237
  */
1237
1238
  "text-decoration-color": [{
1238
- decoration: l()
1239
+ decoration: d()
1239
1240
  }],
1240
1241
  /**
1241
1242
  * Text Underline Offset
1242
1243
  * @see https://tailwindcss.com/docs/text-underline-offset
1243
1244
  */
1244
1245
  "underline-offset": [{
1245
- "underline-offset": [p, "auto", n, s]
1246
+ "underline-offset": [u, "auto", a, s]
1246
1247
  }],
1247
1248
  /**
1248
1249
  * Text Transform
@@ -1273,7 +1274,7 @@ const We = (e, r) => {
1273
1274
  * @see https://tailwindcss.com/docs/vertical-align
1274
1275
  */
1275
1276
  "vertical-align": [{
1276
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", n, s]
1277
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", a, s]
1277
1278
  }],
1278
1279
  /**
1279
1280
  * Whitespace
@@ -1308,7 +1309,7 @@ const We = (e, r) => {
1308
1309
  * @see https://tailwindcss.com/docs/content
1309
1310
  */
1310
1311
  content: [{
1311
- content: ["none", n, s]
1312
+ content: ["none", a, s]
1312
1313
  }],
1313
1314
  // -------------------
1314
1315
  // --- Backgrounds ---
@@ -1339,21 +1340,21 @@ const We = (e, r) => {
1339
1340
  * @see https://tailwindcss.com/docs/background-position
1340
1341
  */
1341
1342
  "bg-position": [{
1342
- bg: me()
1343
+ bg: fe()
1343
1344
  }],
1344
1345
  /**
1345
1346
  * Background Repeat
1346
1347
  * @see https://tailwindcss.com/docs/background-repeat
1347
1348
  */
1348
1349
  "bg-repeat": [{
1349
- bg: pe()
1350
+ bg: ge()
1350
1351
  }],
1351
1352
  /**
1352
1353
  * Background Size
1353
1354
  * @see https://tailwindcss.com/docs/background-size
1354
1355
  */
1355
1356
  "bg-size": [{
1356
- bg: ue()
1357
+ bg: be()
1357
1358
  }],
1358
1359
  /**
1359
1360
  * Background Image
@@ -1363,59 +1364,59 @@ const We = (e, r) => {
1363
1364
  bg: ["none", {
1364
1365
  linear: [{
1365
1366
  to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1366
- }, R, n, s],
1367
- radial: ["", n, s],
1368
- conic: [R, n, s]
1369
- }, Ao, vo]
1367
+ }, I, a, s],
1368
+ radial: ["", a, s],
1369
+ conic: [I, a, s]
1370
+ }, Nt, Rt]
1370
1371
  }],
1371
1372
  /**
1372
1373
  * Background Color
1373
1374
  * @see https://tailwindcss.com/docs/background-color
1374
1375
  */
1375
1376
  "bg-color": [{
1376
- bg: l()
1377
+ bg: d()
1377
1378
  }],
1378
1379
  /**
1379
1380
  * Gradient Color Stops From Position
1380
1381
  * @see https://tailwindcss.com/docs/gradient-color-stops
1381
1382
  */
1382
1383
  "gradient-from-pos": [{
1383
- from: ee()
1384
+ from: re()
1384
1385
  }],
1385
1386
  /**
1386
1387
  * Gradient Color Stops Via Position
1387
1388
  * @see https://tailwindcss.com/docs/gradient-color-stops
1388
1389
  */
1389
1390
  "gradient-via-pos": [{
1390
- via: ee()
1391
+ via: re()
1391
1392
  }],
1392
1393
  /**
1393
1394
  * Gradient Color Stops To Position
1394
1395
  * @see https://tailwindcss.com/docs/gradient-color-stops
1395
1396
  */
1396
1397
  "gradient-to-pos": [{
1397
- to: ee()
1398
+ to: re()
1398
1399
  }],
1399
1400
  /**
1400
1401
  * Gradient Color Stops From
1401
1402
  * @see https://tailwindcss.com/docs/gradient-color-stops
1402
1403
  */
1403
1404
  "gradient-from": [{
1404
- from: l()
1405
+ from: d()
1405
1406
  }],
1406
1407
  /**
1407
1408
  * Gradient Color Stops Via
1408
1409
  * @see https://tailwindcss.com/docs/gradient-color-stops
1409
1410
  */
1410
1411
  "gradient-via": [{
1411
- via: l()
1412
+ via: d()
1412
1413
  }],
1413
1414
  /**
1414
1415
  * Gradient Color Stops To
1415
1416
  * @see https://tailwindcss.com/docs/gradient-color-stops
1416
1417
  */
1417
1418
  "gradient-to": [{
1418
- to: l()
1419
+ to: d()
1419
1420
  }],
1420
1421
  // ---------------
1421
1422
  // --- Borders ---
@@ -1617,112 +1618,112 @@ const We = (e, r) => {
1617
1618
  * @see https://tailwindcss.com/docs/border-style
1618
1619
  */
1619
1620
  "border-style": [{
1620
- border: [...Y(), "hidden", "none"]
1621
+ border: [...H(), "hidden", "none"]
1621
1622
  }],
1622
1623
  /**
1623
1624
  * Divide Style
1624
1625
  * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
1625
1626
  */
1626
1627
  "divide-style": [{
1627
- divide: [...Y(), "hidden", "none"]
1628
+ divide: [...H(), "hidden", "none"]
1628
1629
  }],
1629
1630
  /**
1630
1631
  * Border Color
1631
1632
  * @see https://tailwindcss.com/docs/border-color
1632
1633
  */
1633
1634
  "border-color": [{
1634
- border: l()
1635
+ border: d()
1635
1636
  }],
1636
1637
  /**
1637
1638
  * Border Color X
1638
1639
  * @see https://tailwindcss.com/docs/border-color
1639
1640
  */
1640
1641
  "border-color-x": [{
1641
- "border-x": l()
1642
+ "border-x": d()
1642
1643
  }],
1643
1644
  /**
1644
1645
  * Border Color Y
1645
1646
  * @see https://tailwindcss.com/docs/border-color
1646
1647
  */
1647
1648
  "border-color-y": [{
1648
- "border-y": l()
1649
+ "border-y": d()
1649
1650
  }],
1650
1651
  /**
1651
1652
  * Border Color S
1652
1653
  * @see https://tailwindcss.com/docs/border-color
1653
1654
  */
1654
1655
  "border-color-s": [{
1655
- "border-s": l()
1656
+ "border-s": d()
1656
1657
  }],
1657
1658
  /**
1658
1659
  * Border Color E
1659
1660
  * @see https://tailwindcss.com/docs/border-color
1660
1661
  */
1661
1662
  "border-color-e": [{
1662
- "border-e": l()
1663
+ "border-e": d()
1663
1664
  }],
1664
1665
  /**
1665
1666
  * Border Color Top
1666
1667
  * @see https://tailwindcss.com/docs/border-color
1667
1668
  */
1668
1669
  "border-color-t": [{
1669
- "border-t": l()
1670
+ "border-t": d()
1670
1671
  }],
1671
1672
  /**
1672
1673
  * Border Color Right
1673
1674
  * @see https://tailwindcss.com/docs/border-color
1674
1675
  */
1675
1676
  "border-color-r": [{
1676
- "border-r": l()
1677
+ "border-r": d()
1677
1678
  }],
1678
1679
  /**
1679
1680
  * Border Color Bottom
1680
1681
  * @see https://tailwindcss.com/docs/border-color
1681
1682
  */
1682
1683
  "border-color-b": [{
1683
- "border-b": l()
1684
+ "border-b": d()
1684
1685
  }],
1685
1686
  /**
1686
1687
  * Border Color Left
1687
1688
  * @see https://tailwindcss.com/docs/border-color
1688
1689
  */
1689
1690
  "border-color-l": [{
1690
- "border-l": l()
1691
+ "border-l": d()
1691
1692
  }],
1692
1693
  /**
1693
1694
  * Divide Color
1694
1695
  * @see https://tailwindcss.com/docs/divide-color
1695
1696
  */
1696
1697
  "divide-color": [{
1697
- divide: l()
1698
+ divide: d()
1698
1699
  }],
1699
1700
  /**
1700
1701
  * Outline Style
1701
1702
  * @see https://tailwindcss.com/docs/outline-style
1702
1703
  */
1703
1704
  "outline-style": [{
1704
- outline: [...Y(), "none", "hidden"]
1705
+ outline: [...H(), "none", "hidden"]
1705
1706
  }],
1706
1707
  /**
1707
1708
  * Outline Offset
1708
1709
  * @see https://tailwindcss.com/docs/outline-offset
1709
1710
  */
1710
1711
  "outline-offset": [{
1711
- "outline-offset": [p, n, s]
1712
+ "outline-offset": [u, a, s]
1712
1713
  }],
1713
1714
  /**
1714
1715
  * Outline Width
1715
1716
  * @see https://tailwindcss.com/docs/outline-width
1716
1717
  */
1717
1718
  "outline-w": [{
1718
- outline: ["", p, $, G]
1719
+ outline: ["", u, D, O]
1719
1720
  }],
1720
1721
  /**
1721
1722
  * Outline Color
1722
1723
  * @see https://tailwindcss.com/docs/outline-color
1723
1724
  */
1724
1725
  "outline-color": [{
1725
- outline: l()
1726
+ outline: d()
1726
1727
  }],
1727
1728
  // ---------------
1728
1729
  // --- Effects ---
@@ -1736,9 +1737,9 @@ const We = (e, r) => {
1736
1737
  // Deprecated since Tailwind CSS v4.0.0
1737
1738
  "",
1738
1739
  "none",
1739
- h,
1740
- K,
1741
- J
1740
+ x,
1741
+ ee,
1742
+ Z
1742
1743
  ]
1743
1744
  }],
1744
1745
  /**
@@ -1746,21 +1747,21 @@ const We = (e, r) => {
1746
1747
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
1747
1748
  */
1748
1749
  "shadow-color": [{
1749
- shadow: l()
1750
+ shadow: d()
1750
1751
  }],
1751
1752
  /**
1752
1753
  * Inset Box Shadow
1753
1754
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
1754
1755
  */
1755
1756
  "inset-shadow": [{
1756
- "inset-shadow": ["none", y, K, J]
1757
+ "inset-shadow": ["none", v, ee, Z]
1757
1758
  }],
1758
1759
  /**
1759
1760
  * Inset Box Shadow Color
1760
1761
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
1761
1762
  */
1762
1763
  "inset-shadow-color": [{
1763
- "inset-shadow": l()
1764
+ "inset-shadow": d()
1764
1765
  }],
1765
1766
  /**
1766
1767
  * Ring Width
@@ -1781,7 +1782,7 @@ const We = (e, r) => {
1781
1782
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
1782
1783
  */
1783
1784
  "ring-color": [{
1784
- ring: l()
1785
+ ring: d()
1785
1786
  }],
1786
1787
  /**
1787
1788
  * Ring Offset Width
@@ -1790,7 +1791,7 @@ const We = (e, r) => {
1790
1791
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1791
1792
  */
1792
1793
  "ring-offset-w": [{
1793
- "ring-offset": [p, G]
1794
+ "ring-offset": [u, O]
1794
1795
  }],
1795
1796
  /**
1796
1797
  * Ring Offset Color
@@ -1799,7 +1800,7 @@ const We = (e, r) => {
1799
1800
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1800
1801
  */
1801
1802
  "ring-offset-color": [{
1802
- "ring-offset": l()
1803
+ "ring-offset": d()
1803
1804
  }],
1804
1805
  /**
1805
1806
  * Inset Ring Width
@@ -1813,42 +1814,42 @@ const We = (e, r) => {
1813
1814
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
1814
1815
  */
1815
1816
  "inset-ring-color": [{
1816
- "inset-ring": l()
1817
+ "inset-ring": d()
1817
1818
  }],
1818
1819
  /**
1819
1820
  * Text Shadow
1820
1821
  * @see https://tailwindcss.com/docs/text-shadow
1821
1822
  */
1822
1823
  "text-shadow": [{
1823
- "text-shadow": ["none", z, K, J]
1824
+ "text-shadow": ["none", z, ee, Z]
1824
1825
  }],
1825
1826
  /**
1826
1827
  * Text Shadow Color
1827
1828
  * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
1828
1829
  */
1829
1830
  "text-shadow-color": [{
1830
- "text-shadow": l()
1831
+ "text-shadow": d()
1831
1832
  }],
1832
1833
  /**
1833
1834
  * Opacity
1834
1835
  * @see https://tailwindcss.com/docs/opacity
1835
1836
  */
1836
1837
  opacity: [{
1837
- opacity: [p, n, s]
1838
+ opacity: [u, a, s]
1838
1839
  }],
1839
1840
  /**
1840
1841
  * Mix Blend Mode
1841
1842
  * @see https://tailwindcss.com/docs/mix-blend-mode
1842
1843
  */
1843
1844
  "mix-blend": [{
1844
- "mix-blend": [...fe(), "plus-darker", "plus-lighter"]
1845
+ "mix-blend": [...he(), "plus-darker", "plus-lighter"]
1845
1846
  }],
1846
1847
  /**
1847
1848
  * Background Blend Mode
1848
1849
  * @see https://tailwindcss.com/docs/background-blend-mode
1849
1850
  */
1850
1851
  "bg-blend": [{
1851
- "bg-blend": fe()
1852
+ "bg-blend": he()
1852
1853
  }],
1853
1854
  /**
1854
1855
  * Mask Clip
@@ -1869,106 +1870,106 @@ const We = (e, r) => {
1869
1870
  * @see https://tailwindcss.com/docs/mask-image
1870
1871
  */
1871
1872
  "mask-image-linear-pos": [{
1872
- "mask-linear": [p]
1873
+ "mask-linear": [u]
1873
1874
  }],
1874
1875
  "mask-image-linear-from-pos": [{
1875
- "mask-linear-from": b()
1876
+ "mask-linear-from": h()
1876
1877
  }],
1877
1878
  "mask-image-linear-to-pos": [{
1878
- "mask-linear-to": b()
1879
+ "mask-linear-to": h()
1879
1880
  }],
1880
1881
  "mask-image-linear-from-color": [{
1881
- "mask-linear-from": l()
1882
+ "mask-linear-from": d()
1882
1883
  }],
1883
1884
  "mask-image-linear-to-color": [{
1884
- "mask-linear-to": l()
1885
+ "mask-linear-to": d()
1885
1886
  }],
1886
1887
  "mask-image-t-from-pos": [{
1887
- "mask-t-from": b()
1888
+ "mask-t-from": h()
1888
1889
  }],
1889
1890
  "mask-image-t-to-pos": [{
1890
- "mask-t-to": b()
1891
+ "mask-t-to": h()
1891
1892
  }],
1892
1893
  "mask-image-t-from-color": [{
1893
- "mask-t-from": l()
1894
+ "mask-t-from": d()
1894
1895
  }],
1895
1896
  "mask-image-t-to-color": [{
1896
- "mask-t-to": l()
1897
+ "mask-t-to": d()
1897
1898
  }],
1898
1899
  "mask-image-r-from-pos": [{
1899
- "mask-r-from": b()
1900
+ "mask-r-from": h()
1900
1901
  }],
1901
1902
  "mask-image-r-to-pos": [{
1902
- "mask-r-to": b()
1903
+ "mask-r-to": h()
1903
1904
  }],
1904
1905
  "mask-image-r-from-color": [{
1905
- "mask-r-from": l()
1906
+ "mask-r-from": d()
1906
1907
  }],
1907
1908
  "mask-image-r-to-color": [{
1908
- "mask-r-to": l()
1909
+ "mask-r-to": d()
1909
1910
  }],
1910
1911
  "mask-image-b-from-pos": [{
1911
- "mask-b-from": b()
1912
+ "mask-b-from": h()
1912
1913
  }],
1913
1914
  "mask-image-b-to-pos": [{
1914
- "mask-b-to": b()
1915
+ "mask-b-to": h()
1915
1916
  }],
1916
1917
  "mask-image-b-from-color": [{
1917
- "mask-b-from": l()
1918
+ "mask-b-from": d()
1918
1919
  }],
1919
1920
  "mask-image-b-to-color": [{
1920
- "mask-b-to": l()
1921
+ "mask-b-to": d()
1921
1922
  }],
1922
1923
  "mask-image-l-from-pos": [{
1923
- "mask-l-from": b()
1924
+ "mask-l-from": h()
1924
1925
  }],
1925
1926
  "mask-image-l-to-pos": [{
1926
- "mask-l-to": b()
1927
+ "mask-l-to": h()
1927
1928
  }],
1928
1929
  "mask-image-l-from-color": [{
1929
- "mask-l-from": l()
1930
+ "mask-l-from": d()
1930
1931
  }],
1931
1932
  "mask-image-l-to-color": [{
1932
- "mask-l-to": l()
1933
+ "mask-l-to": d()
1933
1934
  }],
1934
1935
  "mask-image-x-from-pos": [{
1935
- "mask-x-from": b()
1936
+ "mask-x-from": h()
1936
1937
  }],
1937
1938
  "mask-image-x-to-pos": [{
1938
- "mask-x-to": b()
1939
+ "mask-x-to": h()
1939
1940
  }],
1940
1941
  "mask-image-x-from-color": [{
1941
- "mask-x-from": l()
1942
+ "mask-x-from": d()
1942
1943
  }],
1943
1944
  "mask-image-x-to-color": [{
1944
- "mask-x-to": l()
1945
+ "mask-x-to": d()
1945
1946
  }],
1946
1947
  "mask-image-y-from-pos": [{
1947
- "mask-y-from": b()
1948
+ "mask-y-from": h()
1948
1949
  }],
1949
1950
  "mask-image-y-to-pos": [{
1950
- "mask-y-to": b()
1951
+ "mask-y-to": h()
1951
1952
  }],
1952
1953
  "mask-image-y-from-color": [{
1953
- "mask-y-from": l()
1954
+ "mask-y-from": d()
1954
1955
  }],
1955
1956
  "mask-image-y-to-color": [{
1956
- "mask-y-to": l()
1957
+ "mask-y-to": d()
1957
1958
  }],
1958
1959
  "mask-image-radial": [{
1959
- "mask-radial": [n, s]
1960
+ "mask-radial": [a, s]
1960
1961
  }],
1961
1962
  "mask-image-radial-from-pos": [{
1962
- "mask-radial-from": b()
1963
+ "mask-radial-from": h()
1963
1964
  }],
1964
1965
  "mask-image-radial-to-pos": [{
1965
- "mask-radial-to": b()
1966
+ "mask-radial-to": h()
1966
1967
  }],
1967
1968
  "mask-image-radial-from-color": [{
1968
- "mask-radial-from": l()
1969
+ "mask-radial-from": d()
1969
1970
  }],
1970
1971
  "mask-image-radial-to-color": [{
1971
- "mask-radial-to": l()
1972
+ "mask-radial-to": d()
1972
1973
  }],
1973
1974
  "mask-image-radial-shape": [{
1974
1975
  "mask-radial": ["circle", "ellipse"]
@@ -1983,19 +1984,19 @@ const We = (e, r) => {
1983
1984
  "mask-radial-at": j()
1984
1985
  }],
1985
1986
  "mask-image-conic-pos": [{
1986
- "mask-conic": [p]
1987
+ "mask-conic": [u]
1987
1988
  }],
1988
1989
  "mask-image-conic-from-pos": [{
1989
- "mask-conic-from": b()
1990
+ "mask-conic-from": h()
1990
1991
  }],
1991
1992
  "mask-image-conic-to-pos": [{
1992
- "mask-conic-to": b()
1993
+ "mask-conic-to": h()
1993
1994
  }],
1994
1995
  "mask-image-conic-from-color": [{
1995
- "mask-conic-from": l()
1996
+ "mask-conic-from": d()
1996
1997
  }],
1997
1998
  "mask-image-conic-to-color": [{
1998
- "mask-conic-to": l()
1999
+ "mask-conic-to": d()
1999
2000
  }],
2000
2001
  /**
2001
2002
  * Mask Mode
@@ -2016,21 +2017,21 @@ const We = (e, r) => {
2016
2017
  * @see https://tailwindcss.com/docs/mask-position
2017
2018
  */
2018
2019
  "mask-position": [{
2019
- mask: me()
2020
+ mask: fe()
2020
2021
  }],
2021
2022
  /**
2022
2023
  * Mask Repeat
2023
2024
  * @see https://tailwindcss.com/docs/mask-repeat
2024
2025
  */
2025
2026
  "mask-repeat": [{
2026
- mask: pe()
2027
+ mask: ge()
2027
2028
  }],
2028
2029
  /**
2029
2030
  * Mask Size
2030
2031
  * @see https://tailwindcss.com/docs/mask-size
2031
2032
  */
2032
2033
  "mask-size": [{
2033
- mask: ue()
2034
+ mask: be()
2034
2035
  }],
2035
2036
  /**
2036
2037
  * Mask Type
@@ -2044,7 +2045,7 @@ const We = (e, r) => {
2044
2045
  * @see https://tailwindcss.com/docs/mask-image
2045
2046
  */
2046
2047
  "mask-image": [{
2047
- mask: ["none", n, s]
2048
+ mask: ["none", a, s]
2048
2049
  }],
2049
2050
  // ---------------
2050
2051
  // --- Filters ---
@@ -2058,7 +2059,7 @@ const We = (e, r) => {
2058
2059
  // Deprecated since Tailwind CSS v3.0.0
2059
2060
  "",
2060
2061
  "none",
2061
- n,
2062
+ a,
2062
2063
  s
2063
2064
  ]
2064
2065
  }],
@@ -2067,21 +2068,21 @@ const We = (e, r) => {
2067
2068
  * @see https://tailwindcss.com/docs/blur
2068
2069
  */
2069
2070
  blur: [{
2070
- blur: ge()
2071
+ blur: xe()
2071
2072
  }],
2072
2073
  /**
2073
2074
  * Brightness
2074
2075
  * @see https://tailwindcss.com/docs/brightness
2075
2076
  */
2076
2077
  brightness: [{
2077
- brightness: [p, n, s]
2078
+ brightness: [u, a, s]
2078
2079
  }],
2079
2080
  /**
2080
2081
  * Contrast
2081
2082
  * @see https://tailwindcss.com/docs/contrast
2082
2083
  */
2083
2084
  contrast: [{
2084
- contrast: [p, n, s]
2085
+ contrast: [u, a, s]
2085
2086
  }],
2086
2087
  /**
2087
2088
  * Drop Shadow
@@ -2092,9 +2093,9 @@ const We = (e, r) => {
2092
2093
  // Deprecated since Tailwind CSS v4.0.0
2093
2094
  "",
2094
2095
  "none",
2095
- I,
2096
- K,
2097
- J
2096
+ P,
2097
+ ee,
2098
+ Z
2098
2099
  ]
2099
2100
  }],
2100
2101
  /**
@@ -2102,42 +2103,42 @@ const We = (e, r) => {
2102
2103
  * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
2103
2104
  */
2104
2105
  "drop-shadow-color": [{
2105
- "drop-shadow": l()
2106
+ "drop-shadow": d()
2106
2107
  }],
2107
2108
  /**
2108
2109
  * Grayscale
2109
2110
  * @see https://tailwindcss.com/docs/grayscale
2110
2111
  */
2111
2112
  grayscale: [{
2112
- grayscale: ["", p, n, s]
2113
+ grayscale: ["", u, a, s]
2113
2114
  }],
2114
2115
  /**
2115
2116
  * Hue Rotate
2116
2117
  * @see https://tailwindcss.com/docs/hue-rotate
2117
2118
  */
2118
2119
  "hue-rotate": [{
2119
- "hue-rotate": [p, n, s]
2120
+ "hue-rotate": [u, a, s]
2120
2121
  }],
2121
2122
  /**
2122
2123
  * Invert
2123
2124
  * @see https://tailwindcss.com/docs/invert
2124
2125
  */
2125
2126
  invert: [{
2126
- invert: ["", p, n, s]
2127
+ invert: ["", u, a, s]
2127
2128
  }],
2128
2129
  /**
2129
2130
  * Saturate
2130
2131
  * @see https://tailwindcss.com/docs/saturate
2131
2132
  */
2132
2133
  saturate: [{
2133
- saturate: [p, n, s]
2134
+ saturate: [u, a, s]
2134
2135
  }],
2135
2136
  /**
2136
2137
  * Sepia
2137
2138
  * @see https://tailwindcss.com/docs/sepia
2138
2139
  */
2139
2140
  sepia: [{
2140
- sepia: ["", p, n, s]
2141
+ sepia: ["", u, a, s]
2141
2142
  }],
2142
2143
  /**
2143
2144
  * Backdrop Filter
@@ -2148,7 +2149,7 @@ const We = (e, r) => {
2148
2149
  // Deprecated since Tailwind CSS v3.0.0
2149
2150
  "",
2150
2151
  "none",
2151
- n,
2152
+ a,
2152
2153
  s
2153
2154
  ]
2154
2155
  }],
@@ -2157,63 +2158,63 @@ const We = (e, r) => {
2157
2158
  * @see https://tailwindcss.com/docs/backdrop-blur
2158
2159
  */
2159
2160
  "backdrop-blur": [{
2160
- "backdrop-blur": ge()
2161
+ "backdrop-blur": xe()
2161
2162
  }],
2162
2163
  /**
2163
2164
  * Backdrop Brightness
2164
2165
  * @see https://tailwindcss.com/docs/backdrop-brightness
2165
2166
  */
2166
2167
  "backdrop-brightness": [{
2167
- "backdrop-brightness": [p, n, s]
2168
+ "backdrop-brightness": [u, a, s]
2168
2169
  }],
2169
2170
  /**
2170
2171
  * Backdrop Contrast
2171
2172
  * @see https://tailwindcss.com/docs/backdrop-contrast
2172
2173
  */
2173
2174
  "backdrop-contrast": [{
2174
- "backdrop-contrast": [p, n, s]
2175
+ "backdrop-contrast": [u, a, s]
2175
2176
  }],
2176
2177
  /**
2177
2178
  * Backdrop Grayscale
2178
2179
  * @see https://tailwindcss.com/docs/backdrop-grayscale
2179
2180
  */
2180
2181
  "backdrop-grayscale": [{
2181
- "backdrop-grayscale": ["", p, n, s]
2182
+ "backdrop-grayscale": ["", u, a, s]
2182
2183
  }],
2183
2184
  /**
2184
2185
  * Backdrop Hue Rotate
2185
2186
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2186
2187
  */
2187
2188
  "backdrop-hue-rotate": [{
2188
- "backdrop-hue-rotate": [p, n, s]
2189
+ "backdrop-hue-rotate": [u, a, s]
2189
2190
  }],
2190
2191
  /**
2191
2192
  * Backdrop Invert
2192
2193
  * @see https://tailwindcss.com/docs/backdrop-invert
2193
2194
  */
2194
2195
  "backdrop-invert": [{
2195
- "backdrop-invert": ["", p, n, s]
2196
+ "backdrop-invert": ["", u, a, s]
2196
2197
  }],
2197
2198
  /**
2198
2199
  * Backdrop Opacity
2199
2200
  * @see https://tailwindcss.com/docs/backdrop-opacity
2200
2201
  */
2201
2202
  "backdrop-opacity": [{
2202
- "backdrop-opacity": [p, n, s]
2203
+ "backdrop-opacity": [u, a, s]
2203
2204
  }],
2204
2205
  /**
2205
2206
  * Backdrop Saturate
2206
2207
  * @see https://tailwindcss.com/docs/backdrop-saturate
2207
2208
  */
2208
2209
  "backdrop-saturate": [{
2209
- "backdrop-saturate": [p, n, s]
2210
+ "backdrop-saturate": [u, a, s]
2210
2211
  }],
2211
2212
  /**
2212
2213
  * Backdrop Sepia
2213
2214
  * @see https://tailwindcss.com/docs/backdrop-sepia
2214
2215
  */
2215
2216
  "backdrop-sepia": [{
2216
- "backdrop-sepia": ["", p, n, s]
2217
+ "backdrop-sepia": ["", u, a, s]
2217
2218
  }],
2218
2219
  // --------------
2219
2220
  // --- Tables ---
@@ -2268,7 +2269,7 @@ const We = (e, r) => {
2268
2269
  * @see https://tailwindcss.com/docs/transition-property
2269
2270
  */
2270
2271
  transition: [{
2271
- transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", n, s]
2272
+ transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", a, s]
2272
2273
  }],
2273
2274
  /**
2274
2275
  * Transition Behavior
@@ -2282,28 +2283,28 @@ const We = (e, r) => {
2282
2283
  * @see https://tailwindcss.com/docs/transition-duration
2283
2284
  */
2284
2285
  duration: [{
2285
- duration: [p, "initial", n, s]
2286
+ duration: [u, "initial", a, s]
2286
2287
  }],
2287
2288
  /**
2288
2289
  * Transition Timing Function
2289
2290
  * @see https://tailwindcss.com/docs/transition-timing-function
2290
2291
  */
2291
2292
  ease: [{
2292
- ease: ["linear", "initial", P, n, s]
2293
+ ease: ["linear", "initial", E, a, s]
2293
2294
  }],
2294
2295
  /**
2295
2296
  * Transition Delay
2296
2297
  * @see https://tailwindcss.com/docs/transition-delay
2297
2298
  */
2298
2299
  delay: [{
2299
- delay: [p, n, s]
2300
+ delay: [u, a, s]
2300
2301
  }],
2301
2302
  /**
2302
2303
  * Animation
2303
2304
  * @see https://tailwindcss.com/docs/animation
2304
2305
  */
2305
2306
  animate: [{
2306
- animate: ["none", U, n, s]
2307
+ animate: ["none", q, a, s]
2307
2308
  }],
2308
2309
  // ------------------
2309
2310
  // --- Transforms ---
@@ -2320,70 +2321,70 @@ const We = (e, r) => {
2320
2321
  * @see https://tailwindcss.com/docs/perspective
2321
2322
  */
2322
2323
  perspective: [{
2323
- perspective: [v, n, s]
2324
+ perspective: [C, a, s]
2324
2325
  }],
2325
2326
  /**
2326
2327
  * Perspective Origin
2327
2328
  * @see https://tailwindcss.com/docs/perspective-origin
2328
2329
  */
2329
2330
  "perspective-origin": [{
2330
- "perspective-origin": O()
2331
+ "perspective-origin": B()
2331
2332
  }],
2332
2333
  /**
2333
2334
  * Rotate
2334
2335
  * @see https://tailwindcss.com/docs/rotate
2335
2336
  */
2336
2337
  rotate: [{
2337
- rotate: q()
2338
+ rotate: J()
2338
2339
  }],
2339
2340
  /**
2340
2341
  * Rotate X
2341
2342
  * @see https://tailwindcss.com/docs/rotate
2342
2343
  */
2343
2344
  "rotate-x": [{
2344
- "rotate-x": q()
2345
+ "rotate-x": J()
2345
2346
  }],
2346
2347
  /**
2347
2348
  * Rotate Y
2348
2349
  * @see https://tailwindcss.com/docs/rotate
2349
2350
  */
2350
2351
  "rotate-y": [{
2351
- "rotate-y": q()
2352
+ "rotate-y": J()
2352
2353
  }],
2353
2354
  /**
2354
2355
  * Rotate Z
2355
2356
  * @see https://tailwindcss.com/docs/rotate
2356
2357
  */
2357
2358
  "rotate-z": [{
2358
- "rotate-z": q()
2359
+ "rotate-z": J()
2359
2360
  }],
2360
2361
  /**
2361
2362
  * Scale
2362
2363
  * @see https://tailwindcss.com/docs/scale
2363
2364
  */
2364
2365
  scale: [{
2365
- scale: X()
2366
+ scale: K()
2366
2367
  }],
2367
2368
  /**
2368
2369
  * Scale X
2369
2370
  * @see https://tailwindcss.com/docs/scale
2370
2371
  */
2371
2372
  "scale-x": [{
2372
- "scale-x": X()
2373
+ "scale-x": K()
2373
2374
  }],
2374
2375
  /**
2375
2376
  * Scale Y
2376
2377
  * @see https://tailwindcss.com/docs/scale
2377
2378
  */
2378
2379
  "scale-y": [{
2379
- "scale-y": X()
2380
+ "scale-y": K()
2380
2381
  }],
2381
2382
  /**
2382
2383
  * Scale Z
2383
2384
  * @see https://tailwindcss.com/docs/scale
2384
2385
  */
2385
2386
  "scale-z": [{
2386
- "scale-z": X()
2387
+ "scale-z": K()
2387
2388
  }],
2388
2389
  /**
2389
2390
  * Scale 3D
@@ -2395,35 +2396,35 @@ const We = (e, r) => {
2395
2396
  * @see https://tailwindcss.com/docs/skew
2396
2397
  */
2397
2398
  skew: [{
2398
- skew: oe()
2399
+ skew: ne()
2399
2400
  }],
2400
2401
  /**
2401
2402
  * Skew X
2402
2403
  * @see https://tailwindcss.com/docs/skew
2403
2404
  */
2404
2405
  "skew-x": [{
2405
- "skew-x": oe()
2406
+ "skew-x": ne()
2406
2407
  }],
2407
2408
  /**
2408
2409
  * Skew Y
2409
2410
  * @see https://tailwindcss.com/docs/skew
2410
2411
  */
2411
2412
  "skew-y": [{
2412
- "skew-y": oe()
2413
+ "skew-y": ne()
2413
2414
  }],
2414
2415
  /**
2415
2416
  * Transform
2416
2417
  * @see https://tailwindcss.com/docs/transform
2417
2418
  */
2418
2419
  transform: [{
2419
- transform: [n, s, "", "none", "gpu", "cpu"]
2420
+ transform: [a, s, "", "none", "gpu", "cpu"]
2420
2421
  }],
2421
2422
  /**
2422
2423
  * Transform Origin
2423
2424
  * @see https://tailwindcss.com/docs/transform-origin
2424
2425
  */
2425
2426
  "transform-origin": [{
2426
- origin: O()
2427
+ origin: B()
2427
2428
  }],
2428
2429
  /**
2429
2430
  * Transform Style
@@ -2437,28 +2438,28 @@ const We = (e, r) => {
2437
2438
  * @see https://tailwindcss.com/docs/translate
2438
2439
  */
2439
2440
  translate: [{
2440
- translate: H()
2441
+ translate: Q()
2441
2442
  }],
2442
2443
  /**
2443
2444
  * Translate X
2444
2445
  * @see https://tailwindcss.com/docs/translate
2445
2446
  */
2446
2447
  "translate-x": [{
2447
- "translate-x": H()
2448
+ "translate-x": Q()
2448
2449
  }],
2449
2450
  /**
2450
2451
  * Translate Y
2451
2452
  * @see https://tailwindcss.com/docs/translate
2452
2453
  */
2453
2454
  "translate-y": [{
2454
- "translate-y": H()
2455
+ "translate-y": Q()
2455
2456
  }],
2456
2457
  /**
2457
2458
  * Translate Z
2458
2459
  * @see https://tailwindcss.com/docs/translate
2459
2460
  */
2460
2461
  "translate-z": [{
2461
- "translate-z": H()
2462
+ "translate-z": Q()
2462
2463
  }],
2463
2464
  /**
2464
2465
  * Translate None
@@ -2473,7 +2474,7 @@ const We = (e, r) => {
2473
2474
  * @see https://tailwindcss.com/docs/accent-color
2474
2475
  */
2475
2476
  accent: [{
2476
- accent: l()
2477
+ accent: d()
2477
2478
  }],
2478
2479
  /**
2479
2480
  * Appearance
@@ -2487,7 +2488,7 @@ const We = (e, r) => {
2487
2488
  * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2488
2489
  */
2489
2490
  "caret-color": [{
2490
- caret: l()
2491
+ caret: d()
2491
2492
  }],
2492
2493
  /**
2493
2494
  * Color Scheme
@@ -2501,7 +2502,7 @@ const We = (e, r) => {
2501
2502
  * @see https://tailwindcss.com/docs/cursor
2502
2503
  */
2503
2504
  cursor: [{
2504
- 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, s]
2505
+ 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", a, s]
2505
2506
  }],
2506
2507
  /**
2507
2508
  * Field Sizing
@@ -2723,7 +2724,7 @@ const We = (e, r) => {
2723
2724
  * @see https://tailwindcss.com/docs/will-change
2724
2725
  */
2725
2726
  "will-change": [{
2726
- "will-change": ["auto", "scroll", "contents", "transform", n, s]
2727
+ "will-change": ["auto", "scroll", "contents", "transform", a, s]
2727
2728
  }],
2728
2729
  // -----------
2729
2730
  // --- SVG ---
@@ -2733,21 +2734,21 @@ const We = (e, r) => {
2733
2734
  * @see https://tailwindcss.com/docs/fill
2734
2735
  */
2735
2736
  fill: [{
2736
- fill: ["none", ...l()]
2737
+ fill: ["none", ...d()]
2737
2738
  }],
2738
2739
  /**
2739
2740
  * Stroke Width
2740
2741
  * @see https://tailwindcss.com/docs/stroke-width
2741
2742
  */
2742
2743
  "stroke-w": [{
2743
- stroke: [p, $, G, se]
2744
+ stroke: [u, D, O, ie]
2744
2745
  }],
2745
2746
  /**
2746
2747
  * Stroke
2747
2748
  * @see https://tailwindcss.com/docs/stroke
2748
2749
  */
2749
2750
  stroke: [{
2750
- stroke: ["none", ...l()]
2751
+ stroke: ["none", ...d()]
2751
2752
  }],
2752
2753
  // ---------------------
2753
2754
  // --- Accessibility ---
@@ -2815,25 +2816,164 @@ const We = (e, r) => {
2815
2816
  },
2816
2817
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
2817
2818
  };
2818
- }, Mo = /* @__PURE__ */ io(Io);
2819
- function jo(...e) {
2820
- return Mo(Fe(e));
2819
+ }, Lt = /* @__PURE__ */ pt(Et);
2820
+ function N(...e) {
2821
+ return Lt(Ye(e));
2821
2822
  }
2822
- const ne = 768;
2823
- function Oo() {
2824
- const [e, r] = L.useState(void 0);
2825
- return L.useEffect(() => {
2826
- const t = window.matchMedia(`(max-width: ${ne - 1}px)`), o = () => {
2827
- r(window.innerWidth < ne);
2823
+ const Gt = [
2824
+ { size: 700, x: "10%", y: "5%", color: "primary", opacity: 0.08, drift: "drift-1", duration: "25s" },
2825
+ { size: 600, x: "70%", y: "15%", color: "secondary", opacity: 0.06, drift: "drift-2", duration: "30s" },
2826
+ { size: 550, x: "30%", y: "65%", color: "primary", opacity: 0.05, drift: "drift-4", duration: "22s" }
2827
+ ];
2828
+ function Ut({ blobs: e = Gt, className: r }) {
2829
+ return /* @__PURE__ */ g("div", { className: N("fixed inset-0 -z-10 overflow-hidden bg-background", r), children: e.map((t, o) => /* @__PURE__ */ g(
2830
+ "div",
2831
+ {
2832
+ style: {
2833
+ position: "absolute",
2834
+ left: t.x,
2835
+ top: t.y,
2836
+ width: t.size,
2837
+ height: t.size,
2838
+ borderRadius: "50%",
2839
+ background: `radial-gradient(circle, hsl(var(--heroui-${t.color}) / ${t.opacity}) 0%, transparent 70%)`,
2840
+ willChange: "transform",
2841
+ animation: `${t.drift} ${t.duration} ease-in-out infinite alternate`,
2842
+ transform: "translate3d(0,0,0)"
2843
+ }
2844
+ },
2845
+ o
2846
+ )) });
2847
+ }
2848
+ const Ot = M.forwardRef(
2849
+ ({ variant: e = "default", className: r, children: t, ...o }, n) => /* @__PURE__ */ g(
2850
+ "div",
2851
+ {
2852
+ ref: n,
2853
+ className: N(
2854
+ e === "default" ? "nx-glass" : "nx-glass-strong",
2855
+ r
2856
+ ),
2857
+ ...o,
2858
+ children: t
2859
+ }
2860
+ )
2861
+ );
2862
+ Ot.displayName = "Surface";
2863
+ function Dt({
2864
+ value: e,
2865
+ onChange: r,
2866
+ placeholder: t = "Search...",
2867
+ delay: o = 300,
2868
+ icon: n,
2869
+ className: l
2870
+ }) {
2871
+ const [i, p] = Ae(e ?? "");
2872
+ return we(() => {
2873
+ e !== void 0 && p(e);
2874
+ }, [e]), we(() => {
2875
+ const c = setTimeout(() => r(i), o);
2876
+ return () => clearTimeout(c);
2877
+ }, [i, o, r]), /* @__PURE__ */ g(
2878
+ Fe,
2879
+ {
2880
+ type: "text",
2881
+ value: i,
2882
+ onValueChange: p,
2883
+ placeholder: t,
2884
+ isClearable: !0,
2885
+ onClear: () => p(""),
2886
+ startContent: n,
2887
+ className: N(l)
2888
+ }
2889
+ );
2890
+ }
2891
+ const Se = {
2892
+ running: "bg-success",
2893
+ stopped: "bg-default-400",
2894
+ error: "bg-danger",
2895
+ busy: "bg-warning",
2896
+ installing: "bg-warning"
2897
+ };
2898
+ function Yt({ status: e, ping: r, className: t }) {
2899
+ const o = r ?? e === "running";
2900
+ return /* @__PURE__ */ g("span", { className: N("flex items-center justify-center w-4 shrink-0", t), children: /* @__PURE__ */ Y("span", { className: "relative flex h-2 w-2", children: [
2901
+ o && /* @__PURE__ */ g(
2902
+ "span",
2903
+ {
2904
+ className: N(
2905
+ "absolute inline-flex h-full w-full rounded-full opacity-75 animate-ping",
2906
+ Se[e]
2907
+ )
2908
+ }
2909
+ ),
2910
+ /* @__PURE__ */ g(
2911
+ "span",
2912
+ {
2913
+ className: N(
2914
+ "relative inline-flex rounded-full h-2 w-2",
2915
+ Se[e]
2916
+ )
2917
+ }
2918
+ )
2919
+ ] }) });
2920
+ }
2921
+ function jt({ text: e, label: r }) {
2922
+ const [t, o] = Ae(!1);
2923
+ async function n() {
2924
+ await navigator.clipboard.writeText(e), o(!0), setTimeout(() => o(!1), 2e3);
2925
+ }
2926
+ return /* @__PURE__ */ g(
2927
+ $e,
2928
+ {
2929
+ isIconOnly: !0,
2930
+ size: "sm",
2931
+ variant: "light",
2932
+ onPress: n,
2933
+ className: "absolute top-2 right-2",
2934
+ title: r ?? "Copy to clipboard",
2935
+ children: t ? /* @__PURE__ */ g("svg", { width: "12", height: "12", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", className: "text-success", children: /* @__PURE__ */ g("polyline", { points: "20 6 9 17 4 12" }) }) : /* @__PURE__ */ Y("svg", { width: "12", height: "12", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", className: "text-default-400", children: [
2936
+ /* @__PURE__ */ g("rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2" }),
2937
+ /* @__PURE__ */ g("path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" })
2938
+ ] })
2939
+ }
2940
+ );
2941
+ }
2942
+ function qt({ text: e, copyLabel: r, className: t }) {
2943
+ return /* @__PURE__ */ Y("div", { className: N("relative", t), children: [
2944
+ /* @__PURE__ */ g("pre", { className: "bg-background border border-default-100 rounded-[8px] p-3 text-[11px] text-default-500 font-mono overflow-x-auto leading-relaxed whitespace-pre-wrap break-all", children: e }),
2945
+ /* @__PURE__ */ g(jt, { text: e, label: r })
2946
+ ] });
2947
+ }
2948
+ function Xt({ icon: e, title: r, description: t, action: o, className: n }) {
2949
+ return /* @__PURE__ */ Y("div", { className: N("text-center py-12 rounded-xl border border-dashed border-default-200/50", n), children: [
2950
+ /* @__PURE__ */ g(e, { size: 28, className: "mx-auto mb-3 text-default-400" }),
2951
+ /* @__PURE__ */ g("p", { className: "text-sm text-default-500", children: r }),
2952
+ t && /* @__PURE__ */ g("p", { className: "text-[11px] text-default-400 mt-1", children: t }),
2953
+ o && /* @__PURE__ */ g("div", { className: "mt-3", children: o })
2954
+ ] });
2955
+ }
2956
+ const le = 768;
2957
+ function Ht() {
2958
+ const [e, r] = M.useState(void 0);
2959
+ return M.useEffect(() => {
2960
+ const t = window.matchMedia(`(max-width: ${le - 1}px)`), o = () => {
2961
+ r(window.innerWidth < le);
2828
2962
  };
2829
- return t.addEventListener("change", o), r(window.innerWidth < ne), () => t.removeEventListener("change", o);
2963
+ return t.addEventListener("change", o), r(window.innerWidth < le), () => t.removeEventListener("change", o);
2830
2964
  }, []), !!e;
2831
2965
  }
2832
2966
  export {
2833
- Lo as NexusProvider,
2834
- _o as Toaster,
2835
- jo as cn,
2836
- Fo as toast,
2837
- Oo as useIsMobile,
2838
- Go as useNexus
2967
+ qt as CodeBlock,
2968
+ Xt as EmptyState,
2969
+ Ut as GradientBackground,
2970
+ $t as NexusProvider,
2971
+ Dt as SearchBar,
2972
+ Yt as StatusDot,
2973
+ Ot as Surface,
2974
+ Qt as Toaster,
2975
+ N as cn,
2976
+ Zt as toast,
2977
+ Ht as useIsMobile,
2978
+ Ft as useNexus
2839
2979
  };