@turystack/ui 0.0.10 → 0.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,7 +1,8 @@
1
- import { jsxs as qe, jsx as Xe } from "react/jsx-runtime";
2
- import { Slot as Je } from "@radix-ui/react-slot";
3
- import { Loader2 as He } from "lucide-react";
4
- var Qe = /\s+/g, Ze = (e) => typeof e != "string" || !e ? e : e.replace(Qe, " ").trim(), me = (...e) => {
1
+ import { jsx as Z, jsxs as Qe, Fragment as Ze } from "react/jsx-runtime";
2
+ import { Slot as er } from "@radix-ui/react-slot";
3
+ import { Loader2 as rr } from "lucide-react";
4
+ import { createContext as tr, useContext as or } from "react";
5
+ var sr = /\s+/g, nr = (e) => typeof e != "string" || !e ? e : e.replace(sr, " ").trim(), fe = (...e) => {
5
6
  const o = [], t = (r) => {
6
7
  if (!r && r !== 0 && r !== 0n) return;
7
8
  if (Array.isArray(r)) {
@@ -24,12 +25,12 @@ var Qe = /\s+/g, Ze = (e) => typeof e != "string" || !e ? e : e.replace(Qe, " ")
24
25
  const s = e[r];
25
26
  s != null && t(s);
26
27
  }
27
- return o.length > 0 ? Ze(o.join(" ")) : void 0;
28
- }, ze = (e) => e === !1 ? "false" : e === !0 ? "true" : e === 0 ? "0" : e, O = (e) => {
28
+ return o.length > 0 ? nr(o.join(" ")) : void 0;
29
+ }, Se = (e) => e === !1 ? "false" : e === !0 ? "true" : e === 0 ? "0" : e, j = (e) => {
29
30
  if (!e || typeof e != "object") return !0;
30
31
  for (const o in e) return !1;
31
32
  return !0;
32
- }, er = (e, o) => {
33
+ }, ar = (e, o) => {
33
34
  if (e === o) return !0;
34
35
  if (!e || !o) return !1;
35
36
  const t = Object.keys(e), r = Object.keys(o);
@@ -39,43 +40,43 @@ var Qe = /\s+/g, Ze = (e) => typeof e != "string" || !e ? e : e.replace(Qe, " ")
39
40
  if (!r.includes(s) || e[s] !== o[s]) return !1;
40
41
  }
41
42
  return !0;
42
- }, rr = (e, o) => {
43
+ }, ir = (e, o) => {
43
44
  for (const t in o)
44
45
  if (Object.prototype.hasOwnProperty.call(o, t)) {
45
46
  const r = o[t];
46
- t in e ? e[t] = me(e[t], r) : e[t] = r;
47
+ t in e ? e[t] = fe(e[t], r) : e[t] = r;
47
48
  }
48
49
  return e;
49
- }, Pe = (e, o) => {
50
+ }, Ne = (e, o) => {
50
51
  for (let t = 0; t < e.length; t++) {
51
52
  const r = e[t];
52
- Array.isArray(r) ? Pe(r, o) : r && o.push(r);
53
+ Array.isArray(r) ? Ne(r, o) : r && o.push(r);
53
54
  }
54
55
  }, Re = (...e) => {
55
56
  const o = [];
56
- Pe(e, o);
57
+ Ne(e, o);
57
58
  const t = [];
58
59
  for (let r = 0; r < o.length; r++)
59
60
  o[r] && t.push(o[r]);
60
61
  return t;
61
- }, be = (e, o) => {
62
+ }, he = (e, o) => {
62
63
  const t = {};
63
64
  for (const r in e) {
64
65
  const n = e[r];
65
66
  if (r in o) {
66
67
  const s = o[r];
67
- Array.isArray(n) || Array.isArray(s) ? t[r] = Re(s, n) : typeof n == "object" && typeof s == "object" && n && s ? t[r] = be(n, s) : t[r] = s + " " + n;
68
+ Array.isArray(n) || Array.isArray(s) ? t[r] = Re(s, n) : typeof n == "object" && typeof s == "object" && n && s ? t[r] = he(n, s) : t[r] = s + " " + n;
68
69
  } else
69
70
  t[r] = n;
70
71
  }
71
72
  for (const r in o)
72
73
  r in e || (t[r] = o[r]);
73
74
  return t;
74
- }, tr = {
75
+ }, lr = {
75
76
  twMerge: !0,
76
77
  twMergeConfig: {}
77
78
  };
78
- function or() {
79
+ function cr() {
79
80
  let e = null, o = {}, t = !1;
80
81
  return {
81
82
  get cachedTwMerge() {
@@ -101,7 +102,7 @@ function or() {
101
102
  }
102
103
  };
103
104
  }
104
- var U = or(), sr = (e) => {
105
+ var U = cr(), dr = (e) => {
105
106
  const o = (r, n) => {
106
107
  const {
107
108
  extend: s = null,
@@ -109,280 +110,280 @@ var U = or(), sr = (e) => {
109
110
  variants: m = {},
110
111
  compoundVariants: d = [],
111
112
  compoundSlots: g = [],
112
- defaultVariants: C = {}
113
- } = r, z = { ...tr, ...n }, T = s?.base ? me(s.base, r?.base) : r?.base, k = s?.variants && !O(s.variants) ? be(m, s.variants) : m, j = s?.defaultVariants && !O(s.defaultVariants) ? { ...s.defaultVariants, ...C } : C;
114
- !O(z.twMergeConfig) && !er(z.twMergeConfig, U.cachedTwMergeConfig) && (U.didTwMergeConfigChange = !0, U.cachedTwMergeConfig = z.twMergeConfig);
115
- const G = O(s?.slots), V = O(a) ? {} : {
113
+ defaultVariants: z = {}
114
+ } = r, S = { ...lr, ...n }, P = s?.base ? fe(s.base, r?.base) : r?.base, x = s?.variants && !j(s.variants) ? he(m, s.variants) : m, T = s?.defaultVariants && !j(s.defaultVariants) ? { ...s.defaultVariants, ...z } : z;
115
+ !j(S.twMergeConfig) && !ar(S.twMergeConfig, U.cachedTwMergeConfig) && (U.didTwMergeConfigChange = !0, U.cachedTwMergeConfig = S.twMergeConfig);
116
+ const v = j(s?.slots), M = j(a) ? {} : {
116
117
  // add "base" to the slots object
117
- base: me(r?.base, G && s?.base),
118
+ base: fe(r?.base, v && s?.base),
118
119
  ...a
119
- }, E = G ? V : rr(
120
+ }, O = v ? M : ir(
120
121
  { ...s?.slots },
121
- O(V) ? { base: r?.base } : V
122
- ), _ = O(s?.compoundVariants) ? d : Re(s?.compoundVariants, d), N = (P) => {
123
- if (O(k) && O(a) && G)
124
- return e(T, P?.class, P?.className)(z);
125
- if (_ && !Array.isArray(_))
122
+ j(M) ? { base: r?.base } : M
123
+ ), N = j(s?.compoundVariants) ? d : Re(s?.compoundVariants, d), E = (R) => {
124
+ if (j(x) && j(a) && v)
125
+ return e(P, R?.class, R?.className)(S);
126
+ if (N && !Array.isArray(N))
126
127
  throw new TypeError(
127
- `The "compoundVariants" prop must be an array. Received: ${typeof _}`
128
+ `The "compoundVariants" prop must be an array. Received: ${typeof N}`
128
129
  );
129
130
  if (g && !Array.isArray(g))
130
131
  throw new TypeError(
131
132
  `The "compoundSlots" prop must be an array. Received: ${typeof g}`
132
133
  );
133
- const B = (b, h = k, f = null, y = null) => {
134
- const w = h[b];
135
- if (!w || O(w))
134
+ const B = (b, h = x, f = null, y = null) => {
135
+ const k = h[b];
136
+ if (!k || j(k))
136
137
  return null;
137
- const x = y?.[b] ?? P?.[b];
138
- if (x === null) return null;
139
- const c = ze(x);
138
+ const C = y?.[b] ?? R?.[b];
139
+ if (C === null) return null;
140
+ const c = Se(C);
140
141
  if (typeof c == "object")
141
142
  return null;
142
- const F = j?.[b], I = c ?? ze(F);
143
- return w[I || "false"];
143
+ const _ = T?.[b], L = c ?? Se(_);
144
+ return k[L || "false"];
144
145
  }, X = () => {
145
- if (!k) return null;
146
- const b = Object.keys(k), h = [];
146
+ if (!x) return null;
147
+ const b = Object.keys(x), h = [];
147
148
  for (let f = 0; f < b.length; f++) {
148
- const y = B(b[f], k);
149
+ const y = B(b[f], x);
149
150
  y && h.push(y);
150
151
  }
151
152
  return h;
152
153
  }, u = (b, h) => {
153
- if (!k || typeof k != "object") return null;
154
+ if (!x || typeof x != "object") return null;
154
155
  const f = [];
155
- for (const y in k) {
156
- const w = B(y, k, b, h), x = b === "base" && typeof w == "string" ? w : w && w[b];
157
- x && f.push(x);
156
+ for (const y in x) {
157
+ const k = B(y, x, b, h), C = b === "base" && typeof k == "string" ? k : k && k[b];
158
+ C && f.push(C);
158
159
  }
159
160
  return f;
160
- }, R = {};
161
- for (const b in P) {
162
- const h = P[b];
163
- h !== void 0 && (R[b] = h);
161
+ }, I = {};
162
+ for (const b in R) {
163
+ const h = R[b];
164
+ h !== void 0 && (I[b] = h);
164
165
  }
165
- const Z = (b, h) => {
166
- const f = typeof P?.[b] == "object" ? {
167
- [b]: P[b]?.initial
166
+ const ee = (b, h) => {
167
+ const f = typeof R?.[b] == "object" ? {
168
+ [b]: R[b]?.initial
168
169
  } : {};
169
170
  return {
170
- ...j,
171
- ...R,
171
+ ...T,
172
+ ...I,
172
173
  ...f,
173
174
  ...h
174
175
  };
175
- }, ee = (b = [], h) => {
176
+ }, re = (b = [], h) => {
176
177
  const f = [], y = b.length;
177
- for (let w = 0; w < y; w++) {
178
- const { class: x, className: c, ...F } = b[w];
179
- let I = !0;
180
- const L = Z(null, h);
181
- for (const W in F) {
182
- const v = F[W], A = L[W];
183
- if (Array.isArray(v)) {
184
- if (!v.includes(A)) {
185
- I = !1;
178
+ for (let k = 0; k < y; k++) {
179
+ const { class: C, className: c, ..._ } = b[k];
180
+ let L = !0;
181
+ const F = ee(null, h);
182
+ for (const W in _) {
183
+ const w = _[W], A = F[W];
184
+ if (Array.isArray(w)) {
185
+ if (!w.includes(A)) {
186
+ L = !1;
186
187
  break;
187
188
  }
188
189
  } else {
189
- if ((v == null || v === !1) && (A == null || A === !1))
190
+ if ((w == null || w === !1) && (A == null || A === !1))
190
191
  continue;
191
- if (A !== v) {
192
- I = !1;
192
+ if (A !== w) {
193
+ L = !1;
193
194
  break;
194
195
  }
195
196
  }
196
197
  }
197
- I && (x && f.push(x), c && f.push(c));
198
+ L && (C && f.push(C), c && f.push(c));
198
199
  }
199
200
  return f;
200
201
  }, Q = (b) => {
201
- const h = ee(_, b);
202
+ const h = re(N, b);
202
203
  if (!Array.isArray(h)) return h;
203
204
  const f = {}, y = e;
204
- for (let w = 0; w < h.length; w++) {
205
- const x = h[w];
206
- if (typeof x == "string")
207
- f.base = y(f.base, x)(z);
208
- else if (typeof x == "object")
209
- for (const c in x)
210
- f[c] = y(f[c], x[c])(z);
205
+ for (let k = 0; k < h.length; k++) {
206
+ const C = h[k];
207
+ if (typeof C == "string")
208
+ f.base = y(f.base, C)(S);
209
+ else if (typeof C == "object")
210
+ for (const c in C)
211
+ f[c] = y(f[c], C[c])(S);
211
212
  }
212
213
  return f;
213
- }, oe = (b) => {
214
+ }, se = (b) => {
214
215
  if (g.length < 1) return null;
215
- const h = {}, f = Z(null, b);
216
+ const h = {}, f = ee(null, b);
216
217
  for (let y = 0; y < g.length; y++) {
217
218
  const {
218
- slots: w = [],
219
- class: x,
219
+ slots: k = [],
220
+ class: C,
220
221
  className: c,
221
- ...F
222
+ ..._
222
223
  } = g[y];
223
- if (!O(F)) {
224
- let I = !0;
225
- for (const L in F) {
226
- const W = f[L], v = F[L];
227
- if (W === void 0 || (Array.isArray(v) ? !v.includes(W) : v !== W)) {
228
- I = !1;
224
+ if (!j(_)) {
225
+ let L = !0;
226
+ for (const F in _) {
227
+ const W = f[F], w = _[F];
228
+ if (W === void 0 || (Array.isArray(w) ? !w.includes(W) : w !== W)) {
229
+ L = !1;
229
230
  break;
230
231
  }
231
232
  }
232
- if (!I) continue;
233
+ if (!L) continue;
233
234
  }
234
- for (let I = 0; I < w.length; I++) {
235
- const L = w[I];
236
- h[L] || (h[L] = []), h[L].push([x, c]);
235
+ for (let L = 0; L < k.length; L++) {
236
+ const F = k[L];
237
+ h[F] || (h[F] = []), h[F].push([C, c]);
237
238
  }
238
239
  }
239
240
  return h;
240
241
  };
241
- if (!O(a) || !G) {
242
+ if (!j(a) || !v) {
242
243
  const b = {};
243
- if (typeof E == "object" && !O(E)) {
244
+ if (typeof O == "object" && !j(O)) {
244
245
  const h = e;
245
- for (const f in E)
246
+ for (const f in O)
246
247
  b[f] = (y) => {
247
- const w = Q(y), x = oe(y);
248
+ const k = Q(y), C = se(y);
248
249
  return h(
249
- E[f],
250
+ O[f],
250
251
  u(f, y),
251
- w ? w[f] : void 0,
252
- x ? x[f] : void 0,
252
+ k ? k[f] : void 0,
253
+ C ? C[f] : void 0,
253
254
  y?.class,
254
255
  y?.className
255
- )(z);
256
+ )(S);
256
257
  };
257
258
  }
258
259
  return b;
259
260
  }
260
261
  return e(
261
- T,
262
+ P,
262
263
  X(),
263
- ee(_),
264
- P?.class,
265
- P?.className
266
- )(z);
264
+ re(N),
265
+ R?.class,
266
+ R?.className
267
+ )(S);
267
268
  }, D = () => {
268
- if (!(!k || typeof k != "object"))
269
- return Object.keys(k);
269
+ if (!(!x || typeof x != "object"))
270
+ return Object.keys(x);
270
271
  };
271
- return N.variantKeys = D(), N.extend = s, N.base = T, N.slots = E, N.variants = k, N.defaultVariants = j, N.compoundSlots = g, N.compoundVariants = _, N;
272
+ return E.variantKeys = D(), E.extend = s, E.base = P, E.slots = O, E.variants = x, E.defaultVariants = T, E.compoundSlots = g, E.compoundVariants = N, E;
272
273
  };
273
274
  return {
274
275
  tv: o,
275
- createTV: (r) => (n, s) => o(n, s ? be(r, s) : r)
276
+ createTV: (r) => (n, s) => o(n, s ? he(r, s) : r)
276
277
  };
277
278
  };
278
- const nr = (e, o) => {
279
+ const ur = (e, o) => {
279
280
  const t = new Array(e.length + o.length);
280
281
  for (let r = 0; r < e.length; r++)
281
282
  t[r] = e[r];
282
283
  for (let r = 0; r < o.length; r++)
283
284
  t[e.length + r] = o[r];
284
285
  return t;
285
- }, ar = (e, o) => ({
286
+ }, mr = (e, o) => ({
286
287
  classGroupId: e,
287
288
  validator: o
288
- }), Ne = (e = /* @__PURE__ */ new Map(), o = null, t) => ({
289
+ }), Ie = (e = /* @__PURE__ */ new Map(), o = null, t) => ({
289
290
  nextPart: e,
290
291
  validators: o,
291
292
  classGroupId: t
292
- }), fe = "-", Ae = [], ir = "arbitrary..", lr = (e) => {
293
- const o = dr(e), {
293
+ }), pe = "-", Ae = [], fr = "arbitrary..", pr = (e) => {
294
+ const o = br(e), {
294
295
  conflictingClassGroups: t,
295
296
  conflictingClassGroupModifiers: r
296
297
  } = e;
297
298
  return {
298
299
  getClassGroupId: (a) => {
299
300
  if (a.startsWith("[") && a.endsWith("]"))
300
- return cr(a);
301
- const m = a.split(fe), d = m[0] === "" && m.length > 1 ? 1 : 0;
302
- return Ie(m, d, o);
301
+ return gr(a);
302
+ const m = a.split(pe), d = m[0] === "" && m.length > 1 ? 1 : 0;
303
+ return Oe(m, d, o);
303
304
  },
304
305
  getConflictingClassGroupIds: (a, m) => {
305
306
  if (m) {
306
307
  const d = r[a], g = t[a];
307
- return d ? g ? nr(g, d) : d : g || Ae;
308
+ return d ? g ? ur(g, d) : d : g || Ae;
308
309
  }
309
310
  return t[a] || Ae;
310
311
  }
311
312
  };
312
- }, Ie = (e, o, t) => {
313
+ }, Oe = (e, o, t) => {
313
314
  if (e.length - o === 0)
314
315
  return t.classGroupId;
315
316
  const n = e[o], s = t.nextPart.get(n);
316
317
  if (s) {
317
- const g = Ie(e, o + 1, s);
318
+ const g = Oe(e, o + 1, s);
318
319
  if (g) return g;
319
320
  }
320
321
  const a = t.validators;
321
322
  if (a === null)
322
323
  return;
323
- const m = o === 0 ? e.join(fe) : e.slice(o).join(fe), d = a.length;
324
+ const m = o === 0 ? e.join(pe) : e.slice(o).join(pe), d = a.length;
324
325
  for (let g = 0; g < d; g++) {
325
- const C = a[g];
326
- if (C.validator(m))
327
- return C.classGroupId;
326
+ const z = a[g];
327
+ if (z.validator(m))
328
+ return z.classGroupId;
328
329
  }
329
- }, cr = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
330
+ }, gr = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
330
331
  const o = e.slice(1, -1), t = o.indexOf(":"), r = o.slice(0, t);
331
- return r ? ir + r : void 0;
332
- })(), dr = (e) => {
332
+ return r ? fr + r : void 0;
333
+ })(), br = (e) => {
333
334
  const {
334
335
  theme: o,
335
336
  classGroups: t
336
337
  } = e;
337
- return ur(t, o);
338
- }, ur = (e, o) => {
339
- const t = Ne();
338
+ return hr(t, o);
339
+ }, hr = (e, o) => {
340
+ const t = Ie();
340
341
  for (const r in e) {
341
342
  const n = e[r];
342
- ve(n, t, r, o);
343
+ we(n, t, r, o);
343
344
  }
344
345
  return t;
345
- }, ve = (e, o, t, r) => {
346
+ }, we = (e, o, t, r) => {
346
347
  const n = e.length;
347
348
  for (let s = 0; s < n; s++) {
348
349
  const a = e[s];
349
- mr(a, o, t, r);
350
+ yr(a, o, t, r);
350
351
  }
351
- }, mr = (e, o, t, r) => {
352
+ }, yr = (e, o, t, r) => {
352
353
  if (typeof e == "string") {
353
- fr(e, o, t);
354
+ vr(e, o, t);
354
355
  return;
355
356
  }
356
357
  if (typeof e == "function") {
357
- pr(e, o, t, r);
358
+ kr(e, o, t, r);
358
359
  return;
359
360
  }
360
- gr(e, o, t, r);
361
- }, fr = (e, o, t) => {
362
- const r = e === "" ? o : Oe(o, e);
361
+ wr(e, o, t, r);
362
+ }, vr = (e, o, t) => {
363
+ const r = e === "" ? o : Ee(o, e);
363
364
  r.classGroupId = t;
364
- }, pr = (e, o, t, r) => {
365
- if (br(e)) {
366
- ve(e(r), o, t, r);
365
+ }, kr = (e, o, t, r) => {
366
+ if (xr(e)) {
367
+ we(e(r), o, t, r);
367
368
  return;
368
369
  }
369
- o.validators === null && (o.validators = []), o.validators.push(ar(t, e));
370
- }, gr = (e, o, t, r) => {
370
+ o.validators === null && (o.validators = []), o.validators.push(mr(t, e));
371
+ }, wr = (e, o, t, r) => {
371
372
  const n = Object.entries(e), s = n.length;
372
373
  for (let a = 0; a < s; a++) {
373
374
  const [m, d] = n[a];
374
- ve(d, Oe(o, m), t, r);
375
+ we(d, Ee(o, m), t, r);
375
376
  }
376
- }, Oe = (e, o) => {
377
+ }, Ee = (e, o) => {
377
378
  let t = e;
378
- const r = o.split(fe), n = r.length;
379
+ const r = o.split(pe), n = r.length;
379
380
  for (let s = 0; s < n; s++) {
380
381
  const a = r[s];
381
382
  let m = t.nextPart.get(a);
382
- m || (m = Ne(), t.nextPart.set(a, m)), t = m;
383
+ m || (m = Ie(), t.nextPart.set(a, m)), t = m;
383
384
  }
384
385
  return t;
385
- }, br = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, hr = (e) => {
386
+ }, xr = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Cr = (e) => {
386
387
  if (e < 1)
387
388
  return {
388
389
  get: () => {
@@ -406,13 +407,13 @@ const nr = (e, o) => {
406
407
  s in t ? t[s] = a : n(s, a);
407
408
  }
408
409
  };
409
- }, he = "!", Se = ":", yr = [], Me = (e, o, t, r, n) => ({
410
+ }, ye = "!", Me = ":", zr = [], Ve = (e, o, t, r, n) => ({
410
411
  modifiers: e,
411
412
  hasImportantModifier: o,
412
413
  baseClassName: t,
413
414
  maybePostfixModifierPosition: r,
414
415
  isExternal: n
415
- }), wr = (e) => {
416
+ }), Sr = (e) => {
416
417
  const {
417
418
  prefix: o,
418
419
  experimentalParseClassName: t
@@ -420,36 +421,36 @@ const nr = (e, o) => {
420
421
  let r = (n) => {
421
422
  const s = [];
422
423
  let a = 0, m = 0, d = 0, g;
423
- const C = n.length;
424
- for (let G = 0; G < C; G++) {
425
- const V = n[G];
424
+ const z = n.length;
425
+ for (let v = 0; v < z; v++) {
426
+ const M = n[v];
426
427
  if (a === 0 && m === 0) {
427
- if (V === Se) {
428
- s.push(n.slice(d, G)), d = G + 1;
428
+ if (M === Me) {
429
+ s.push(n.slice(d, v)), d = v + 1;
429
430
  continue;
430
431
  }
431
- if (V === "/") {
432
- g = G;
432
+ if (M === "/") {
433
+ g = v;
433
434
  continue;
434
435
  }
435
436
  }
436
- V === "[" ? a++ : V === "]" ? a-- : V === "(" ? m++ : V === ")" && m--;
437
+ M === "[" ? a++ : M === "]" ? a-- : M === "(" ? m++ : M === ")" && m--;
437
438
  }
438
- const z = s.length === 0 ? n : n.slice(d);
439
- let T = z, k = !1;
440
- z.endsWith(he) ? (T = z.slice(0, -1), k = !0) : (
439
+ const S = s.length === 0 ? n : n.slice(d);
440
+ let P = S, x = !1;
441
+ S.endsWith(ye) ? (P = S.slice(0, -1), x = !0) : (
441
442
  /**
442
443
  * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
443
444
  * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
444
445
  */
445
- z.startsWith(he) && (T = z.slice(1), k = !0)
446
+ S.startsWith(ye) && (P = S.slice(1), x = !0)
446
447
  );
447
- const j = g && g > d ? g - d : void 0;
448
- return Me(s, k, T, j);
448
+ const T = g && g > d ? g - d : void 0;
449
+ return Ve(s, x, P, T);
449
450
  };
450
451
  if (o) {
451
- const n = o + Se, s = r;
452
- r = (a) => a.startsWith(n) ? s(a.slice(n.length)) : Me(yr, !1, a, void 0, !0);
452
+ const n = o + Me, s = r;
453
+ r = (a) => a.startsWith(n) ? s(a.slice(n.length)) : Ve(zr, !1, a, void 0, !0);
453
454
  }
454
455
  if (t) {
455
456
  const n = r;
@@ -459,7 +460,7 @@ const nr = (e, o) => {
459
460
  });
460
461
  }
461
462
  return r;
462
- }, vr = (e) => {
463
+ }, Ar = (e) => {
463
464
  const o = /* @__PURE__ */ new Map();
464
465
  return e.orderSensitiveModifiers.forEach((t, r) => {
465
466
  o.set(t, 1e6 + r);
@@ -472,96 +473,96 @@ const nr = (e, o) => {
472
473
  }
473
474
  return n.length > 0 && (n.sort(), r.push(...n)), r;
474
475
  };
475
- }, kr = (e) => ({
476
- cache: hr(e.cacheSize),
477
- parseClassName: wr(e),
478
- sortModifiers: vr(e),
479
- ...lr(e)
480
- }), xr = /\s+/, Cr = (e, o) => {
476
+ }, Mr = (e) => ({
477
+ cache: Cr(e.cacheSize),
478
+ parseClassName: Sr(e),
479
+ sortModifiers: Ar(e),
480
+ ...pr(e)
481
+ }), Vr = /\s+/, Tr = (e, o) => {
481
482
  const {
482
483
  parseClassName: t,
483
484
  getClassGroupId: r,
484
485
  getConflictingClassGroupIds: n,
485
486
  sortModifiers: s
486
- } = o, a = [], m = e.trim().split(xr);
487
+ } = o, a = [], m = e.trim().split(Vr);
487
488
  let d = "";
488
489
  for (let g = m.length - 1; g >= 0; g -= 1) {
489
- const C = m[g], {
490
- isExternal: z,
491
- modifiers: T,
492
- hasImportantModifier: k,
493
- baseClassName: j,
494
- maybePostfixModifierPosition: G
495
- } = t(C);
496
- if (z) {
497
- d = C + (d.length > 0 ? " " + d : d);
490
+ const z = m[g], {
491
+ isExternal: S,
492
+ modifiers: P,
493
+ hasImportantModifier: x,
494
+ baseClassName: T,
495
+ maybePostfixModifierPosition: v
496
+ } = t(z);
497
+ if (S) {
498
+ d = z + (d.length > 0 ? " " + d : d);
498
499
  continue;
499
500
  }
500
- let V = !!G, E = r(V ? j.substring(0, G) : j);
501
- if (!E) {
502
- if (!V) {
503
- d = C + (d.length > 0 ? " " + d : d);
501
+ let M = !!v, O = r(M ? T.substring(0, v) : T);
502
+ if (!O) {
503
+ if (!M) {
504
+ d = z + (d.length > 0 ? " " + d : d);
504
505
  continue;
505
506
  }
506
- if (E = r(j), !E) {
507
- d = C + (d.length > 0 ? " " + d : d);
507
+ if (O = r(T), !O) {
508
+ d = z + (d.length > 0 ? " " + d : d);
508
509
  continue;
509
510
  }
510
- V = !1;
511
+ M = !1;
511
512
  }
512
- const _ = T.length === 0 ? "" : T.length === 1 ? T[0] : s(T).join(":"), N = k ? _ + he : _, D = N + E;
513
+ const N = P.length === 0 ? "" : P.length === 1 ? P[0] : s(P).join(":"), E = x ? N + ye : N, D = E + O;
513
514
  if (a.indexOf(D) > -1)
514
515
  continue;
515
516
  a.push(D);
516
- const P = n(E, V);
517
- for (let B = 0; B < P.length; ++B) {
518
- const X = P[B];
519
- a.push(N + X);
517
+ const R = n(O, M);
518
+ for (let B = 0; B < R.length; ++B) {
519
+ const X = R[B];
520
+ a.push(E + X);
520
521
  }
521
- d = C + (d.length > 0 ? " " + d : d);
522
+ d = z + (d.length > 0 ? " " + d : d);
522
523
  }
523
524
  return d;
524
- }, zr = (...e) => {
525
+ }, Gr = (...e) => {
525
526
  let o = 0, t, r, n = "";
526
527
  for (; o < e.length; )
527
- (t = e[o++]) && (r = Ee(t)) && (n && (n += " "), n += r);
528
+ (t = e[o++]) && (r = Le(t)) && (n && (n += " "), n += r);
528
529
  return n;
529
- }, Ee = (e) => {
530
+ }, Le = (e) => {
530
531
  if (typeof e == "string")
531
532
  return e;
532
533
  let o, t = "";
533
534
  for (let r = 0; r < e.length; r++)
534
- e[r] && (o = Ee(e[r])) && (t && (t += " "), t += o);
535
+ e[r] && (o = Le(e[r])) && (t && (t += " "), t += o);
535
536
  return t;
536
- }, ye = (e, ...o) => {
537
+ }, ve = (e, ...o) => {
537
538
  let t, r, n, s;
538
539
  const a = (d) => {
539
- const g = o.reduce((C, z) => z(C), e());
540
- return t = kr(g), r = t.cache.get, n = t.cache.set, s = m, m(d);
540
+ const g = o.reduce((z, S) => S(z), e());
541
+ return t = Mr(g), r = t.cache.get, n = t.cache.set, s = m, m(d);
541
542
  }, m = (d) => {
542
543
  const g = r(d);
543
544
  if (g)
544
545
  return g;
545
- const C = Cr(d, t);
546
- return n(d, C), C;
546
+ const z = Tr(d, t);
547
+ return n(d, z), z;
547
548
  };
548
- return s = a, (...d) => s(zr(...d));
549
- }, Ar = [], S = (e) => {
550
- const o = (t) => t[e] || Ar;
549
+ return s = a, (...d) => s(Gr(...d));
550
+ }, Pr = [], V = (e) => {
551
+ const o = (t) => t[e] || Pr;
551
552
  return o.isThemeGetter = !0, o;
552
- }, Le = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, je = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Sr = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Mr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Vr = /\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$/, Tr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Gr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Pr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, K = (e) => Sr.test(e), p = (e) => !!e && !Number.isNaN(Number(e)), Y = (e) => !!e && Number.isInteger(Number(e)), ge = (e) => e.endsWith("%") && p(e.slice(0, -1)), $ = (e) => Mr.test(e), _e = () => !0, Rr = (e) => (
553
+ }, je = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Fe = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Nr = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Rr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ir = /\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$/, Or = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Er = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Lr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, K = (e) => Nr.test(e), p = (e) => !!e && !Number.isNaN(Number(e)), Y = (e) => !!e && Number.isInteger(Number(e)), be = (e) => e.endsWith("%") && p(e.slice(0, -1)), $ = (e) => Rr.test(e), _e = () => !0, jr = (e) => (
553
554
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
554
555
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
555
556
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
556
- Vr.test(e) && !Tr.test(e)
557
- ), ke = () => !1, Nr = (e) => Gr.test(e), Ir = (e) => Pr.test(e), Or = (e) => !i(e) && !l(e), Er = (e) => q(e, We, ke), i = (e) => Le.test(e), J = (e) => q(e, $e, Rr), Ve = (e) => q(e, Ur, p), Lr = (e) => q(e, De, _e), jr = (e) => q(e, Ue, ke), Te = (e) => q(e, Fe, ke), _r = (e) => q(e, Be, Ir), le = (e) => q(e, Ke, Nr), l = (e) => je.test(e), re = (e) => H(e, $e), Fr = (e) => H(e, Ue), Ge = (e) => H(e, Fe), Br = (e) => H(e, We), Wr = (e) => H(e, Be), ce = (e) => H(e, Ke, !0), $r = (e) => H(e, De, !0), q = (e, o, t) => {
558
- const r = Le.exec(e);
557
+ Ir.test(e) && !Or.test(e)
558
+ ), xe = () => !1, Fr = (e) => Er.test(e), _r = (e) => Lr.test(e), Br = (e) => !i(e) && !l(e), Wr = (e) => q(e, $e, xe), i = (e) => je.test(e), J = (e) => q(e, Ue, jr), Te = (e) => q(e, Jr, p), $r = (e) => q(e, Ke, _e), Ur = (e) => q(e, De, xe), Ge = (e) => q(e, Be, xe), Dr = (e) => q(e, We, _r), ce = (e) => q(e, Ye, Fr), l = (e) => Fe.test(e), te = (e) => H(e, Ue), Kr = (e) => H(e, De), Pe = (e) => H(e, Be), Yr = (e) => H(e, $e), qr = (e) => H(e, We), de = (e) => H(e, Ye, !0), Xr = (e) => H(e, Ke, !0), q = (e, o, t) => {
559
+ const r = je.exec(e);
559
560
  return r ? r[1] ? o(r[1]) : t(r[2]) : !1;
560
561
  }, H = (e, o, t = !1) => {
561
- const r = je.exec(e);
562
+ const r = Fe.exec(e);
562
563
  return r ? r[1] ? o(r[1]) : t : !1;
563
- }, Fe = (e) => e === "position" || e === "percentage", Be = (e) => e === "image" || e === "url", We = (e) => e === "length" || e === "size" || e === "bg-size", $e = (e) => e === "length", Ur = (e) => e === "number", Ue = (e) => e === "family-name", De = (e) => e === "number" || e === "weight", Ke = (e) => e === "shadow", we = () => {
564
- const e = S("color"), o = S("font"), t = S("text"), r = S("font-weight"), n = S("tracking"), s = S("leading"), a = S("breakpoint"), m = S("container"), d = S("spacing"), g = S("radius"), C = S("shadow"), z = S("inset-shadow"), T = S("text-shadow"), k = S("drop-shadow"), j = S("blur"), G = S("perspective"), V = S("aspect"), E = S("ease"), _ = S("animate"), N = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], D = () => [
564
+ }, Be = (e) => e === "position" || e === "percentage", We = (e) => e === "image" || e === "url", $e = (e) => e === "length" || e === "size" || e === "bg-size", Ue = (e) => e === "length", Jr = (e) => e === "number", De = (e) => e === "family-name", Ke = (e) => e === "number" || e === "weight", Ye = (e) => e === "shadow", ke = () => {
565
+ const e = V("color"), o = V("font"), t = V("text"), r = V("font-weight"), n = V("tracking"), s = V("leading"), a = V("breakpoint"), m = V("container"), d = V("spacing"), g = V("radius"), z = V("shadow"), S = V("inset-shadow"), P = V("text-shadow"), x = V("drop-shadow"), T = V("blur"), v = V("perspective"), M = V("aspect"), O = V("ease"), N = V("animate"), E = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], D = () => [
565
566
  "center",
566
567
  "top",
567
568
  "bottom",
@@ -579,15 +580,15 @@ const nr = (e, o) => {
579
580
  "bottom-left",
580
581
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
581
582
  "left-bottom"
582
- ], P = () => [...D(), l, i], B = () => ["auto", "hidden", "clip", "visible", "scroll"], X = () => ["auto", "contain", "none"], u = () => [l, i, d], R = () => [K, "full", "auto", ...u()], Z = () => [Y, "none", "subgrid", l, i], ee = () => ["auto", {
583
+ ], R = () => [...D(), l, i], B = () => ["auto", "hidden", "clip", "visible", "scroll"], X = () => ["auto", "contain", "none"], u = () => [l, i, d], I = () => [K, "full", "auto", ...u()], ee = () => [Y, "none", "subgrid", l, i], re = () => ["auto", {
583
584
  span: ["full", Y, l, i]
584
- }, Y, l, i], Q = () => [Y, "auto", l, i], oe = () => ["auto", "min", "max", "fr", l, i], b = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], h = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], f = () => ["auto", ...u()], y = () => [K, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...u()], w = () => [K, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...u()], x = () => [K, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...u()], c = () => [e, l, i], F = () => [...D(), Ge, Te, {
585
+ }, Y, l, i], Q = () => [Y, "auto", l, i], se = () => ["auto", "min", "max", "fr", l, i], b = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], h = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], f = () => ["auto", ...u()], y = () => [K, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...u()], k = () => [K, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...u()], C = () => [K, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...u()], c = () => [e, l, i], _ = () => [...D(), Pe, Ge, {
585
586
  position: [l, i]
586
- }], I = () => ["no-repeat", {
587
+ }], L = () => ["no-repeat", {
587
588
  repeat: ["", "x", "y", "space", "round"]
588
- }], L = () => ["auto", "cover", "contain", Br, Er, {
589
+ }], F = () => ["auto", "cover", "contain", Yr, Wr, {
589
590
  size: [l, i]
590
- }], W = () => [ge, re, J], v = () => [
591
+ }], W = () => [be, te, J], w = () => [
591
592
  // Deprecated since Tailwind CSS v4.0.0
592
593
  "",
593
594
  "none",
@@ -595,14 +596,14 @@ const nr = (e, o) => {
595
596
  g,
596
597
  l,
597
598
  i
598
- ], A = () => ["", p, re, J], se = () => ["solid", "dashed", "dotted", "double"], xe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], M = () => [p, ge, Ge, Te], Ce = () => [
599
+ ], A = () => ["", p, te, J], ne = () => ["solid", "dashed", "dotted", "double"], Ce = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], G = () => [p, be, Pe, Ge], ze = () => [
599
600
  // Deprecated since Tailwind CSS v4.0.0
600
601
  "",
601
602
  "none",
602
- j,
603
+ T,
603
604
  l,
604
605
  i
605
- ], ne = () => ["none", p, l, i], ae = () => ["none", p, l, i], pe = () => [p, l, i], ie = () => [K, "full", ...u()];
606
+ ], ae = () => ["none", p, l, i], ie = () => ["none", p, l, i], ge = () => [p, l, i], le = () => [K, "full", ...u()];
606
607
  return {
607
608
  cacheSize: 500,
608
609
  theme: {
@@ -614,7 +615,7 @@ const nr = (e, o) => {
614
615
  container: [$],
615
616
  "drop-shadow": [$],
616
617
  ease: ["in", "out", "in-out"],
617
- font: [Or],
618
+ font: [Br],
618
619
  "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
619
620
  "inset-shadow": [$],
620
621
  leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
@@ -635,7 +636,7 @@ const nr = (e, o) => {
635
636
  * @see https://tailwindcss.com/docs/aspect-ratio
636
637
  */
637
638
  aspect: [{
638
- aspect: ["auto", "square", K, i, l, V]
639
+ aspect: ["auto", "square", K, i, l, M]
639
640
  }],
640
641
  /**
641
642
  * Container
@@ -655,14 +656,14 @@ const nr = (e, o) => {
655
656
  * @see https://tailwindcss.com/docs/break-after
656
657
  */
657
658
  "break-after": [{
658
- "break-after": N()
659
+ "break-after": E()
659
660
  }],
660
661
  /**
661
662
  * Break Before
662
663
  * @see https://tailwindcss.com/docs/break-before
663
664
  */
664
665
  "break-before": [{
665
- "break-before": N()
666
+ "break-before": E()
666
667
  }],
667
668
  /**
668
669
  * Break Inside
@@ -726,7 +727,7 @@ const nr = (e, o) => {
726
727
  * @see https://tailwindcss.com/docs/object-position
727
728
  */
728
729
  "object-position": [{
729
- object: P()
730
+ object: R()
730
731
  }],
731
732
  /**
732
733
  * Overflow
@@ -780,21 +781,21 @@ const nr = (e, o) => {
780
781
  * @see https://tailwindcss.com/docs/top-right-bottom-left
781
782
  */
782
783
  inset: [{
783
- inset: R()
784
+ inset: I()
784
785
  }],
785
786
  /**
786
787
  * Inset Inline
787
788
  * @see https://tailwindcss.com/docs/top-right-bottom-left
788
789
  */
789
790
  "inset-x": [{
790
- "inset-x": R()
791
+ "inset-x": I()
791
792
  }],
792
793
  /**
793
794
  * Inset Block
794
795
  * @see https://tailwindcss.com/docs/top-right-bottom-left
795
796
  */
796
797
  "inset-y": [{
797
- "inset-y": R()
798
+ "inset-y": I()
798
799
  }],
799
800
  /**
800
801
  * Inset Inline Start
@@ -802,12 +803,12 @@ const nr = (e, o) => {
802
803
  * @todo class group will be renamed to `inset-s` in next major release
803
804
  */
804
805
  start: [{
805
- "inset-s": R(),
806
+ "inset-s": I(),
806
807
  /**
807
808
  * @deprecated since Tailwind CSS v4.2.0 in favor of `inset-s-*` utilities.
808
809
  * @see https://github.com/tailwindlabs/tailwindcss/pull/19613
809
810
  */
810
- start: R()
811
+ start: I()
811
812
  }],
812
813
  /**
813
814
  * Inset Inline End
@@ -815,54 +816,54 @@ const nr = (e, o) => {
815
816
  * @todo class group will be renamed to `inset-e` in next major release
816
817
  */
817
818
  end: [{
818
- "inset-e": R(),
819
+ "inset-e": I(),
819
820
  /**
820
821
  * @deprecated since Tailwind CSS v4.2.0 in favor of `inset-e-*` utilities.
821
822
  * @see https://github.com/tailwindlabs/tailwindcss/pull/19613
822
823
  */
823
- end: R()
824
+ end: I()
824
825
  }],
825
826
  /**
826
827
  * Inset Block Start
827
828
  * @see https://tailwindcss.com/docs/top-right-bottom-left
828
829
  */
829
830
  "inset-bs": [{
830
- "inset-bs": R()
831
+ "inset-bs": I()
831
832
  }],
832
833
  /**
833
834
  * Inset Block End
834
835
  * @see https://tailwindcss.com/docs/top-right-bottom-left
835
836
  */
836
837
  "inset-be": [{
837
- "inset-be": R()
838
+ "inset-be": I()
838
839
  }],
839
840
  /**
840
841
  * Top
841
842
  * @see https://tailwindcss.com/docs/top-right-bottom-left
842
843
  */
843
844
  top: [{
844
- top: R()
845
+ top: I()
845
846
  }],
846
847
  /**
847
848
  * Right
848
849
  * @see https://tailwindcss.com/docs/top-right-bottom-left
849
850
  */
850
851
  right: [{
851
- right: R()
852
+ right: I()
852
853
  }],
853
854
  /**
854
855
  * Bottom
855
856
  * @see https://tailwindcss.com/docs/top-right-bottom-left
856
857
  */
857
858
  bottom: [{
858
- bottom: R()
859
+ bottom: I()
859
860
  }],
860
861
  /**
861
862
  * Left
862
863
  * @see https://tailwindcss.com/docs/top-right-bottom-left
863
864
  */
864
865
  left: [{
865
- left: R()
866
+ left: I()
866
867
  }],
867
868
  /**
868
869
  * Visibility
@@ -933,14 +934,14 @@ const nr = (e, o) => {
933
934
  * @see https://tailwindcss.com/docs/grid-template-columns
934
935
  */
935
936
  "grid-cols": [{
936
- "grid-cols": Z()
937
+ "grid-cols": ee()
937
938
  }],
938
939
  /**
939
940
  * Grid Column Start / End
940
941
  * @see https://tailwindcss.com/docs/grid-column
941
942
  */
942
943
  "col-start-end": [{
943
- col: ee()
944
+ col: re()
944
945
  }],
945
946
  /**
946
947
  * Grid Column Start
@@ -961,14 +962,14 @@ const nr = (e, o) => {
961
962
  * @see https://tailwindcss.com/docs/grid-template-rows
962
963
  */
963
964
  "grid-rows": [{
964
- "grid-rows": Z()
965
+ "grid-rows": ee()
965
966
  }],
966
967
  /**
967
968
  * Grid Row Start / End
968
969
  * @see https://tailwindcss.com/docs/grid-row
969
970
  */
970
971
  "row-start-end": [{
971
- row: ee()
972
+ row: re()
972
973
  }],
973
974
  /**
974
975
  * Grid Row Start
@@ -996,14 +997,14 @@ const nr = (e, o) => {
996
997
  * @see https://tailwindcss.com/docs/grid-auto-columns
997
998
  */
998
999
  "auto-cols": [{
999
- "auto-cols": oe()
1000
+ "auto-cols": se()
1000
1001
  }],
1001
1002
  /**
1002
1003
  * Grid Auto Rows
1003
1004
  * @see https://tailwindcss.com/docs/grid-auto-rows
1004
1005
  */
1005
1006
  "auto-rows": [{
1006
- "auto-rows": oe()
1007
+ "auto-rows": se()
1007
1008
  }],
1008
1009
  /**
1009
1010
  * Gap
@@ -1287,42 +1288,42 @@ const nr = (e, o) => {
1287
1288
  * @see https://tailwindcss.com/docs/width
1288
1289
  */
1289
1290
  "inline-size": [{
1290
- inline: ["auto", ...w()]
1291
+ inline: ["auto", ...k()]
1291
1292
  }],
1292
1293
  /**
1293
1294
  * Min-Inline Size
1294
1295
  * @see https://tailwindcss.com/docs/min-width
1295
1296
  */
1296
1297
  "min-inline-size": [{
1297
- "min-inline": ["auto", ...w()]
1298
+ "min-inline": ["auto", ...k()]
1298
1299
  }],
1299
1300
  /**
1300
1301
  * Max-Inline Size
1301
1302
  * @see https://tailwindcss.com/docs/max-width
1302
1303
  */
1303
1304
  "max-inline-size": [{
1304
- "max-inline": ["none", ...w()]
1305
+ "max-inline": ["none", ...k()]
1305
1306
  }],
1306
1307
  /**
1307
1308
  * Block Size
1308
1309
  * @see https://tailwindcss.com/docs/height
1309
1310
  */
1310
1311
  "block-size": [{
1311
- block: ["auto", ...x()]
1312
+ block: ["auto", ...C()]
1312
1313
  }],
1313
1314
  /**
1314
1315
  * Min-Block Size
1315
1316
  * @see https://tailwindcss.com/docs/min-height
1316
1317
  */
1317
1318
  "min-block-size": [{
1318
- "min-block": ["auto", ...x()]
1319
+ "min-block": ["auto", ...C()]
1319
1320
  }],
1320
1321
  /**
1321
1322
  * Max-Block Size
1322
1323
  * @see https://tailwindcss.com/docs/max-height
1323
1324
  */
1324
1325
  "max-block-size": [{
1325
- "max-block": ["none", ...x()]
1326
+ "max-block": ["none", ...C()]
1326
1327
  }],
1327
1328
  /**
1328
1329
  * Width
@@ -1391,7 +1392,7 @@ const nr = (e, o) => {
1391
1392
  * @see https://tailwindcss.com/docs/font-size
1392
1393
  */
1393
1394
  "font-size": [{
1394
- text: ["base", t, re, J]
1395
+ text: ["base", t, te, J]
1395
1396
  }],
1396
1397
  /**
1397
1398
  * Font Smoothing
@@ -1408,21 +1409,21 @@ const nr = (e, o) => {
1408
1409
  * @see https://tailwindcss.com/docs/font-weight
1409
1410
  */
1410
1411
  "font-weight": [{
1411
- font: [r, $r, Lr]
1412
+ font: [r, Xr, $r]
1412
1413
  }],
1413
1414
  /**
1414
1415
  * Font Stretch
1415
1416
  * @see https://tailwindcss.com/docs/font-stretch
1416
1417
  */
1417
1418
  "font-stretch": [{
1418
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", ge, i]
1419
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", be, i]
1419
1420
  }],
1420
1421
  /**
1421
1422
  * Font Family
1422
1423
  * @see https://tailwindcss.com/docs/font-family
1423
1424
  */
1424
1425
  "font-family": [{
1425
- font: [Fr, jr, o]
1426
+ font: [Kr, Ur, o]
1426
1427
  }],
1427
1428
  /**
1428
1429
  * Font Feature Settings
@@ -1473,7 +1474,7 @@ const nr = (e, o) => {
1473
1474
  * @see https://tailwindcss.com/docs/line-clamp
1474
1475
  */
1475
1476
  "line-clamp": [{
1476
- "line-clamp": [p, "none", l, Ve]
1477
+ "line-clamp": [p, "none", l, Te]
1477
1478
  }],
1478
1479
  /**
1479
1480
  * Line Height
@@ -1539,7 +1540,7 @@ const nr = (e, o) => {
1539
1540
  * @see https://tailwindcss.com/docs/text-decoration-style
1540
1541
  */
1541
1542
  "text-decoration-style": [{
1542
- decoration: [...se(), "wavy"]
1543
+ decoration: [...ne(), "wavy"]
1543
1544
  }],
1544
1545
  /**
1545
1546
  * Text Decoration Thickness
@@ -1657,21 +1658,21 @@ const nr = (e, o) => {
1657
1658
  * @see https://tailwindcss.com/docs/background-position
1658
1659
  */
1659
1660
  "bg-position": [{
1660
- bg: F()
1661
+ bg: _()
1661
1662
  }],
1662
1663
  /**
1663
1664
  * Background Repeat
1664
1665
  * @see https://tailwindcss.com/docs/background-repeat
1665
1666
  */
1666
1667
  "bg-repeat": [{
1667
- bg: I()
1668
+ bg: L()
1668
1669
  }],
1669
1670
  /**
1670
1671
  * Background Size
1671
1672
  * @see https://tailwindcss.com/docs/background-size
1672
1673
  */
1673
1674
  "bg-size": [{
1674
- bg: L()
1675
+ bg: F()
1675
1676
  }],
1676
1677
  /**
1677
1678
  * Background Image
@@ -1684,7 +1685,7 @@ const nr = (e, o) => {
1684
1685
  }, Y, l, i],
1685
1686
  radial: ["", l, i],
1686
1687
  conic: [Y, l, i]
1687
- }, Wr, _r]
1688
+ }, qr, Dr]
1688
1689
  }],
1689
1690
  /**
1690
1691
  * Background Color
@@ -1743,105 +1744,105 @@ const nr = (e, o) => {
1743
1744
  * @see https://tailwindcss.com/docs/border-radius
1744
1745
  */
1745
1746
  rounded: [{
1746
- rounded: v()
1747
+ rounded: w()
1747
1748
  }],
1748
1749
  /**
1749
1750
  * Border Radius Start
1750
1751
  * @see https://tailwindcss.com/docs/border-radius
1751
1752
  */
1752
1753
  "rounded-s": [{
1753
- "rounded-s": v()
1754
+ "rounded-s": w()
1754
1755
  }],
1755
1756
  /**
1756
1757
  * Border Radius End
1757
1758
  * @see https://tailwindcss.com/docs/border-radius
1758
1759
  */
1759
1760
  "rounded-e": [{
1760
- "rounded-e": v()
1761
+ "rounded-e": w()
1761
1762
  }],
1762
1763
  /**
1763
1764
  * Border Radius Top
1764
1765
  * @see https://tailwindcss.com/docs/border-radius
1765
1766
  */
1766
1767
  "rounded-t": [{
1767
- "rounded-t": v()
1768
+ "rounded-t": w()
1768
1769
  }],
1769
1770
  /**
1770
1771
  * Border Radius Right
1771
1772
  * @see https://tailwindcss.com/docs/border-radius
1772
1773
  */
1773
1774
  "rounded-r": [{
1774
- "rounded-r": v()
1775
+ "rounded-r": w()
1775
1776
  }],
1776
1777
  /**
1777
1778
  * Border Radius Bottom
1778
1779
  * @see https://tailwindcss.com/docs/border-radius
1779
1780
  */
1780
1781
  "rounded-b": [{
1781
- "rounded-b": v()
1782
+ "rounded-b": w()
1782
1783
  }],
1783
1784
  /**
1784
1785
  * Border Radius Left
1785
1786
  * @see https://tailwindcss.com/docs/border-radius
1786
1787
  */
1787
1788
  "rounded-l": [{
1788
- "rounded-l": v()
1789
+ "rounded-l": w()
1789
1790
  }],
1790
1791
  /**
1791
1792
  * Border Radius Start Start
1792
1793
  * @see https://tailwindcss.com/docs/border-radius
1793
1794
  */
1794
1795
  "rounded-ss": [{
1795
- "rounded-ss": v()
1796
+ "rounded-ss": w()
1796
1797
  }],
1797
1798
  /**
1798
1799
  * Border Radius Start End
1799
1800
  * @see https://tailwindcss.com/docs/border-radius
1800
1801
  */
1801
1802
  "rounded-se": [{
1802
- "rounded-se": v()
1803
+ "rounded-se": w()
1803
1804
  }],
1804
1805
  /**
1805
1806
  * Border Radius End End
1806
1807
  * @see https://tailwindcss.com/docs/border-radius
1807
1808
  */
1808
1809
  "rounded-ee": [{
1809
- "rounded-ee": v()
1810
+ "rounded-ee": w()
1810
1811
  }],
1811
1812
  /**
1812
1813
  * Border Radius End Start
1813
1814
  * @see https://tailwindcss.com/docs/border-radius
1814
1815
  */
1815
1816
  "rounded-es": [{
1816
- "rounded-es": v()
1817
+ "rounded-es": w()
1817
1818
  }],
1818
1819
  /**
1819
1820
  * Border Radius Top Left
1820
1821
  * @see https://tailwindcss.com/docs/border-radius
1821
1822
  */
1822
1823
  "rounded-tl": [{
1823
- "rounded-tl": v()
1824
+ "rounded-tl": w()
1824
1825
  }],
1825
1826
  /**
1826
1827
  * Border Radius Top Right
1827
1828
  * @see https://tailwindcss.com/docs/border-radius
1828
1829
  */
1829
1830
  "rounded-tr": [{
1830
- "rounded-tr": v()
1831
+ "rounded-tr": w()
1831
1832
  }],
1832
1833
  /**
1833
1834
  * Border Radius Bottom Right
1834
1835
  * @see https://tailwindcss.com/docs/border-radius
1835
1836
  */
1836
1837
  "rounded-br": [{
1837
- "rounded-br": v()
1838
+ "rounded-br": w()
1838
1839
  }],
1839
1840
  /**
1840
1841
  * Border Radius Bottom Left
1841
1842
  * @see https://tailwindcss.com/docs/border-radius
1842
1843
  */
1843
1844
  "rounded-bl": [{
1844
- "rounded-bl": v()
1845
+ "rounded-bl": w()
1845
1846
  }],
1846
1847
  /**
1847
1848
  * Border Width
@@ -1949,14 +1950,14 @@ const nr = (e, o) => {
1949
1950
  * @see https://tailwindcss.com/docs/border-style
1950
1951
  */
1951
1952
  "border-style": [{
1952
- border: [...se(), "hidden", "none"]
1953
+ border: [...ne(), "hidden", "none"]
1953
1954
  }],
1954
1955
  /**
1955
1956
  * Divide Style
1956
1957
  * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
1957
1958
  */
1958
1959
  "divide-style": [{
1959
- divide: [...se(), "hidden", "none"]
1960
+ divide: [...ne(), "hidden", "none"]
1960
1961
  }],
1961
1962
  /**
1962
1963
  * Border Color
@@ -2047,7 +2048,7 @@ const nr = (e, o) => {
2047
2048
  * @see https://tailwindcss.com/docs/outline-style
2048
2049
  */
2049
2050
  "outline-style": [{
2050
- outline: [...se(), "none", "hidden"]
2051
+ outline: [...ne(), "none", "hidden"]
2051
2052
  }],
2052
2053
  /**
2053
2054
  * Outline Offset
@@ -2061,7 +2062,7 @@ const nr = (e, o) => {
2061
2062
  * @see https://tailwindcss.com/docs/outline-width
2062
2063
  */
2063
2064
  "outline-w": [{
2064
- outline: ["", p, re, J]
2065
+ outline: ["", p, te, J]
2065
2066
  }],
2066
2067
  /**
2067
2068
  * Outline Color
@@ -2082,9 +2083,9 @@ const nr = (e, o) => {
2082
2083
  // Deprecated since Tailwind CSS v4.0.0
2083
2084
  "",
2084
2085
  "none",
2085
- C,
2086
- ce,
2087
- le
2086
+ z,
2087
+ de,
2088
+ ce
2088
2089
  ]
2089
2090
  }],
2090
2091
  /**
@@ -2099,7 +2100,7 @@ const nr = (e, o) => {
2099
2100
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
2100
2101
  */
2101
2102
  "inset-shadow": [{
2102
- "inset-shadow": ["none", z, ce, le]
2103
+ "inset-shadow": ["none", S, de, ce]
2103
2104
  }],
2104
2105
  /**
2105
2106
  * Inset Box Shadow Color
@@ -2166,7 +2167,7 @@ const nr = (e, o) => {
2166
2167
  * @see https://tailwindcss.com/docs/text-shadow
2167
2168
  */
2168
2169
  "text-shadow": [{
2169
- "text-shadow": ["none", T, ce, le]
2170
+ "text-shadow": ["none", P, de, ce]
2170
2171
  }],
2171
2172
  /**
2172
2173
  * Text Shadow Color
@@ -2187,14 +2188,14 @@ const nr = (e, o) => {
2187
2188
  * @see https://tailwindcss.com/docs/mix-blend-mode
2188
2189
  */
2189
2190
  "mix-blend": [{
2190
- "mix-blend": [...xe(), "plus-darker", "plus-lighter"]
2191
+ "mix-blend": [...Ce(), "plus-darker", "plus-lighter"]
2191
2192
  }],
2192
2193
  /**
2193
2194
  * Background Blend Mode
2194
2195
  * @see https://tailwindcss.com/docs/background-blend-mode
2195
2196
  */
2196
2197
  "bg-blend": [{
2197
- "bg-blend": xe()
2198
+ "bg-blend": Ce()
2198
2199
  }],
2199
2200
  /**
2200
2201
  * Mask Clip
@@ -2218,10 +2219,10 @@ const nr = (e, o) => {
2218
2219
  "mask-linear": [p]
2219
2220
  }],
2220
2221
  "mask-image-linear-from-pos": [{
2221
- "mask-linear-from": M()
2222
+ "mask-linear-from": G()
2222
2223
  }],
2223
2224
  "mask-image-linear-to-pos": [{
2224
- "mask-linear-to": M()
2225
+ "mask-linear-to": G()
2225
2226
  }],
2226
2227
  "mask-image-linear-from-color": [{
2227
2228
  "mask-linear-from": c()
@@ -2230,10 +2231,10 @@ const nr = (e, o) => {
2230
2231
  "mask-linear-to": c()
2231
2232
  }],
2232
2233
  "mask-image-t-from-pos": [{
2233
- "mask-t-from": M()
2234
+ "mask-t-from": G()
2234
2235
  }],
2235
2236
  "mask-image-t-to-pos": [{
2236
- "mask-t-to": M()
2237
+ "mask-t-to": G()
2237
2238
  }],
2238
2239
  "mask-image-t-from-color": [{
2239
2240
  "mask-t-from": c()
@@ -2242,10 +2243,10 @@ const nr = (e, o) => {
2242
2243
  "mask-t-to": c()
2243
2244
  }],
2244
2245
  "mask-image-r-from-pos": [{
2245
- "mask-r-from": M()
2246
+ "mask-r-from": G()
2246
2247
  }],
2247
2248
  "mask-image-r-to-pos": [{
2248
- "mask-r-to": M()
2249
+ "mask-r-to": G()
2249
2250
  }],
2250
2251
  "mask-image-r-from-color": [{
2251
2252
  "mask-r-from": c()
@@ -2254,10 +2255,10 @@ const nr = (e, o) => {
2254
2255
  "mask-r-to": c()
2255
2256
  }],
2256
2257
  "mask-image-b-from-pos": [{
2257
- "mask-b-from": M()
2258
+ "mask-b-from": G()
2258
2259
  }],
2259
2260
  "mask-image-b-to-pos": [{
2260
- "mask-b-to": M()
2261
+ "mask-b-to": G()
2261
2262
  }],
2262
2263
  "mask-image-b-from-color": [{
2263
2264
  "mask-b-from": c()
@@ -2266,10 +2267,10 @@ const nr = (e, o) => {
2266
2267
  "mask-b-to": c()
2267
2268
  }],
2268
2269
  "mask-image-l-from-pos": [{
2269
- "mask-l-from": M()
2270
+ "mask-l-from": G()
2270
2271
  }],
2271
2272
  "mask-image-l-to-pos": [{
2272
- "mask-l-to": M()
2273
+ "mask-l-to": G()
2273
2274
  }],
2274
2275
  "mask-image-l-from-color": [{
2275
2276
  "mask-l-from": c()
@@ -2278,10 +2279,10 @@ const nr = (e, o) => {
2278
2279
  "mask-l-to": c()
2279
2280
  }],
2280
2281
  "mask-image-x-from-pos": [{
2281
- "mask-x-from": M()
2282
+ "mask-x-from": G()
2282
2283
  }],
2283
2284
  "mask-image-x-to-pos": [{
2284
- "mask-x-to": M()
2285
+ "mask-x-to": G()
2285
2286
  }],
2286
2287
  "mask-image-x-from-color": [{
2287
2288
  "mask-x-from": c()
@@ -2290,10 +2291,10 @@ const nr = (e, o) => {
2290
2291
  "mask-x-to": c()
2291
2292
  }],
2292
2293
  "mask-image-y-from-pos": [{
2293
- "mask-y-from": M()
2294
+ "mask-y-from": G()
2294
2295
  }],
2295
2296
  "mask-image-y-to-pos": [{
2296
- "mask-y-to": M()
2297
+ "mask-y-to": G()
2297
2298
  }],
2298
2299
  "mask-image-y-from-color": [{
2299
2300
  "mask-y-from": c()
@@ -2305,10 +2306,10 @@ const nr = (e, o) => {
2305
2306
  "mask-radial": [l, i]
2306
2307
  }],
2307
2308
  "mask-image-radial-from-pos": [{
2308
- "mask-radial-from": M()
2309
+ "mask-radial-from": G()
2309
2310
  }],
2310
2311
  "mask-image-radial-to-pos": [{
2311
- "mask-radial-to": M()
2312
+ "mask-radial-to": G()
2312
2313
  }],
2313
2314
  "mask-image-radial-from-color": [{
2314
2315
  "mask-radial-from": c()
@@ -2332,10 +2333,10 @@ const nr = (e, o) => {
2332
2333
  "mask-conic": [p]
2333
2334
  }],
2334
2335
  "mask-image-conic-from-pos": [{
2335
- "mask-conic-from": M()
2336
+ "mask-conic-from": G()
2336
2337
  }],
2337
2338
  "mask-image-conic-to-pos": [{
2338
- "mask-conic-to": M()
2339
+ "mask-conic-to": G()
2339
2340
  }],
2340
2341
  "mask-image-conic-from-color": [{
2341
2342
  "mask-conic-from": c()
@@ -2362,21 +2363,21 @@ const nr = (e, o) => {
2362
2363
  * @see https://tailwindcss.com/docs/mask-position
2363
2364
  */
2364
2365
  "mask-position": [{
2365
- mask: F()
2366
+ mask: _()
2366
2367
  }],
2367
2368
  /**
2368
2369
  * Mask Repeat
2369
2370
  * @see https://tailwindcss.com/docs/mask-repeat
2370
2371
  */
2371
2372
  "mask-repeat": [{
2372
- mask: I()
2373
+ mask: L()
2373
2374
  }],
2374
2375
  /**
2375
2376
  * Mask Size
2376
2377
  * @see https://tailwindcss.com/docs/mask-size
2377
2378
  */
2378
2379
  "mask-size": [{
2379
- mask: L()
2380
+ mask: F()
2380
2381
  }],
2381
2382
  /**
2382
2383
  * Mask Type
@@ -2413,7 +2414,7 @@ const nr = (e, o) => {
2413
2414
  * @see https://tailwindcss.com/docs/blur
2414
2415
  */
2415
2416
  blur: [{
2416
- blur: Ce()
2417
+ blur: ze()
2417
2418
  }],
2418
2419
  /**
2419
2420
  * Brightness
@@ -2438,9 +2439,9 @@ const nr = (e, o) => {
2438
2439
  // Deprecated since Tailwind CSS v4.0.0
2439
2440
  "",
2440
2441
  "none",
2441
- k,
2442
- ce,
2443
- le
2442
+ x,
2443
+ de,
2444
+ ce
2444
2445
  ]
2445
2446
  }],
2446
2447
  /**
@@ -2503,7 +2504,7 @@ const nr = (e, o) => {
2503
2504
  * @see https://tailwindcss.com/docs/backdrop-blur
2504
2505
  */
2505
2506
  "backdrop-blur": [{
2506
- "backdrop-blur": Ce()
2507
+ "backdrop-blur": ze()
2507
2508
  }],
2508
2509
  /**
2509
2510
  * Backdrop Brightness
@@ -2635,7 +2636,7 @@ const nr = (e, o) => {
2635
2636
  * @see https://tailwindcss.com/docs/transition-timing-function
2636
2637
  */
2637
2638
  ease: [{
2638
- ease: ["linear", "initial", E, l, i]
2639
+ ease: ["linear", "initial", O, l, i]
2639
2640
  }],
2640
2641
  /**
2641
2642
  * Transition Delay
@@ -2649,7 +2650,7 @@ const nr = (e, o) => {
2649
2650
  * @see https://tailwindcss.com/docs/animation
2650
2651
  */
2651
2652
  animate: [{
2652
- animate: ["none", _, l, i]
2653
+ animate: ["none", N, l, i]
2653
2654
  }],
2654
2655
  // ------------------
2655
2656
  // --- Transforms ---
@@ -2666,70 +2667,70 @@ const nr = (e, o) => {
2666
2667
  * @see https://tailwindcss.com/docs/perspective
2667
2668
  */
2668
2669
  perspective: [{
2669
- perspective: [G, l, i]
2670
+ perspective: [v, l, i]
2670
2671
  }],
2671
2672
  /**
2672
2673
  * Perspective Origin
2673
2674
  * @see https://tailwindcss.com/docs/perspective-origin
2674
2675
  */
2675
2676
  "perspective-origin": [{
2676
- "perspective-origin": P()
2677
+ "perspective-origin": R()
2677
2678
  }],
2678
2679
  /**
2679
2680
  * Rotate
2680
2681
  * @see https://tailwindcss.com/docs/rotate
2681
2682
  */
2682
2683
  rotate: [{
2683
- rotate: ne()
2684
+ rotate: ae()
2684
2685
  }],
2685
2686
  /**
2686
2687
  * Rotate X
2687
2688
  * @see https://tailwindcss.com/docs/rotate
2688
2689
  */
2689
2690
  "rotate-x": [{
2690
- "rotate-x": ne()
2691
+ "rotate-x": ae()
2691
2692
  }],
2692
2693
  /**
2693
2694
  * Rotate Y
2694
2695
  * @see https://tailwindcss.com/docs/rotate
2695
2696
  */
2696
2697
  "rotate-y": [{
2697
- "rotate-y": ne()
2698
+ "rotate-y": ae()
2698
2699
  }],
2699
2700
  /**
2700
2701
  * Rotate Z
2701
2702
  * @see https://tailwindcss.com/docs/rotate
2702
2703
  */
2703
2704
  "rotate-z": [{
2704
- "rotate-z": ne()
2705
+ "rotate-z": ae()
2705
2706
  }],
2706
2707
  /**
2707
2708
  * Scale
2708
2709
  * @see https://tailwindcss.com/docs/scale
2709
2710
  */
2710
2711
  scale: [{
2711
- scale: ae()
2712
+ scale: ie()
2712
2713
  }],
2713
2714
  /**
2714
2715
  * Scale X
2715
2716
  * @see https://tailwindcss.com/docs/scale
2716
2717
  */
2717
2718
  "scale-x": [{
2718
- "scale-x": ae()
2719
+ "scale-x": ie()
2719
2720
  }],
2720
2721
  /**
2721
2722
  * Scale Y
2722
2723
  * @see https://tailwindcss.com/docs/scale
2723
2724
  */
2724
2725
  "scale-y": [{
2725
- "scale-y": ae()
2726
+ "scale-y": ie()
2726
2727
  }],
2727
2728
  /**
2728
2729
  * Scale Z
2729
2730
  * @see https://tailwindcss.com/docs/scale
2730
2731
  */
2731
2732
  "scale-z": [{
2732
- "scale-z": ae()
2733
+ "scale-z": ie()
2733
2734
  }],
2734
2735
  /**
2735
2736
  * Scale 3D
@@ -2741,21 +2742,21 @@ const nr = (e, o) => {
2741
2742
  * @see https://tailwindcss.com/docs/skew
2742
2743
  */
2743
2744
  skew: [{
2744
- skew: pe()
2745
+ skew: ge()
2745
2746
  }],
2746
2747
  /**
2747
2748
  * Skew X
2748
2749
  * @see https://tailwindcss.com/docs/skew
2749
2750
  */
2750
2751
  "skew-x": [{
2751
- "skew-x": pe()
2752
+ "skew-x": ge()
2752
2753
  }],
2753
2754
  /**
2754
2755
  * Skew Y
2755
2756
  * @see https://tailwindcss.com/docs/skew
2756
2757
  */
2757
2758
  "skew-y": [{
2758
- "skew-y": pe()
2759
+ "skew-y": ge()
2759
2760
  }],
2760
2761
  /**
2761
2762
  * Transform
@@ -2769,7 +2770,7 @@ const nr = (e, o) => {
2769
2770
  * @see https://tailwindcss.com/docs/transform-origin
2770
2771
  */
2771
2772
  "transform-origin": [{
2772
- origin: P()
2773
+ origin: R()
2773
2774
  }],
2774
2775
  /**
2775
2776
  * Transform Style
@@ -2783,28 +2784,28 @@ const nr = (e, o) => {
2783
2784
  * @see https://tailwindcss.com/docs/translate
2784
2785
  */
2785
2786
  translate: [{
2786
- translate: ie()
2787
+ translate: le()
2787
2788
  }],
2788
2789
  /**
2789
2790
  * Translate X
2790
2791
  * @see https://tailwindcss.com/docs/translate
2791
2792
  */
2792
2793
  "translate-x": [{
2793
- "translate-x": ie()
2794
+ "translate-x": le()
2794
2795
  }],
2795
2796
  /**
2796
2797
  * Translate Y
2797
2798
  * @see https://tailwindcss.com/docs/translate
2798
2799
  */
2799
2800
  "translate-y": [{
2800
- "translate-y": ie()
2801
+ "translate-y": le()
2801
2802
  }],
2802
2803
  /**
2803
2804
  * Translate Z
2804
2805
  * @see https://tailwindcss.com/docs/translate
2805
2806
  */
2806
2807
  "translate-z": [{
2807
- "translate-z": ie()
2808
+ "translate-z": le()
2808
2809
  }],
2809
2810
  /**
2810
2811
  * Translate None
@@ -3114,7 +3115,7 @@ const nr = (e, o) => {
3114
3115
  * @see https://tailwindcss.com/docs/stroke-width
3115
3116
  */
3116
3117
  "stroke-w": [{
3117
- stroke: [p, re, J, Ve]
3118
+ stroke: [p, te, J, Te]
3118
3119
  }],
3119
3120
  /**
3120
3121
  * Stroke
@@ -3189,27 +3190,27 @@ const nr = (e, o) => {
3189
3190
  },
3190
3191
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
3191
3192
  };
3192
- }, Dr = (e, {
3193
+ }, Hr = (e, {
3193
3194
  cacheSize: o,
3194
3195
  prefix: t,
3195
3196
  experimentalParseClassName: r,
3196
3197
  extend: n = {},
3197
3198
  override: s = {}
3198
- }) => (te(e, "cacheSize", o), te(e, "prefix", t), te(e, "experimentalParseClassName", r), de(e.theme, s.theme), de(e.classGroups, s.classGroups), de(e.conflictingClassGroups, s.conflictingClassGroups), de(e.conflictingClassGroupModifiers, s.conflictingClassGroupModifiers), te(e, "orderSensitiveModifiers", s.orderSensitiveModifiers), ue(e.theme, n.theme), ue(e.classGroups, n.classGroups), ue(e.conflictingClassGroups, n.conflictingClassGroups), ue(e.conflictingClassGroupModifiers, n.conflictingClassGroupModifiers), Ye(e, n, "orderSensitiveModifiers"), e), te = (e, o, t) => {
3199
+ }) => (oe(e, "cacheSize", o), oe(e, "prefix", t), oe(e, "experimentalParseClassName", r), ue(e.theme, s.theme), ue(e.classGroups, s.classGroups), ue(e.conflictingClassGroups, s.conflictingClassGroups), ue(e.conflictingClassGroupModifiers, s.conflictingClassGroupModifiers), oe(e, "orderSensitiveModifiers", s.orderSensitiveModifiers), me(e.theme, n.theme), me(e.classGroups, n.classGroups), me(e.conflictingClassGroups, n.conflictingClassGroups), me(e.conflictingClassGroupModifiers, n.conflictingClassGroupModifiers), qe(e, n, "orderSensitiveModifiers"), e), oe = (e, o, t) => {
3199
3200
  t !== void 0 && (e[o] = t);
3200
- }, de = (e, o) => {
3201
+ }, ue = (e, o) => {
3201
3202
  if (o)
3202
3203
  for (const t in o)
3203
- te(e, t, o[t]);
3204
- }, ue = (e, o) => {
3204
+ oe(e, t, o[t]);
3205
+ }, me = (e, o) => {
3205
3206
  if (o)
3206
3207
  for (const t in o)
3207
- Ye(e, o, t);
3208
- }, Ye = (e, o, t) => {
3208
+ qe(e, o, t);
3209
+ }, qe = (e, o, t) => {
3209
3210
  const r = o[t];
3210
3211
  r !== void 0 && (e[t] = e[t] ? e[t].concat(r) : r);
3211
- }, Kr = (e, ...o) => typeof e == "function" ? ye(we, e, ...o) : ye(() => Dr(we(), e), ...o), Yr = /* @__PURE__ */ ye(we);
3212
- var qr = (e) => O(e) ? Yr : Kr({
3212
+ }, Qr = (e, ...o) => typeof e == "function" ? ve(ke, e, ...o) : ve(() => Hr(ke(), e), ...o), Xe = /* @__PURE__ */ ve(ke);
3213
+ var Zr = (e) => j(e) ? Xe : Qr({
3213
3214
  ...e,
3214
3215
  extend: {
3215
3216
  theme: e.theme,
@@ -3218,11 +3219,31 @@ var qr = (e) => O(e) ? Yr : Kr({
3218
3219
  conflictingClassGroups: e.conflictingClassGroups,
3219
3220
  ...e.extend
3220
3221
  }
3221
- }), Xr = (e, o) => {
3222
- const t = me(e);
3223
- return !t || !(o?.twMerge ?? !0) ? t : ((!U.cachedTwMerge || U.didTwMergeConfigChange) && (U.didTwMergeConfigChange = !1, U.cachedTwMerge = qr(U.cachedTwMergeConfig)), U.cachedTwMerge(t) || void 0);
3224
- }, Jr = (...e) => (o) => Xr(e, o), { tv: Hr } = sr(Jr);
3225
- const Qr = Hr({
3222
+ }), et = (e, o) => {
3223
+ const t = fe(e);
3224
+ return !t || !(o?.twMerge ?? !0) ? t : ((!U.cachedTwMerge || U.didTwMergeConfigChange) && (U.didTwMergeConfigChange = !1, U.cachedTwMerge = Zr(U.cachedTwMergeConfig)), U.cachedTwMerge(t) || void 0);
3225
+ }, rt = (...e) => (o) => et(e, o), { tv: tt } = dr(rt);
3226
+ const Je = tr(void 0);
3227
+ function ot() {
3228
+ return or(Je);
3229
+ }
3230
+ function He(e) {
3231
+ var o, t, r = "";
3232
+ if (typeof e == "string" || typeof e == "number") r += e;
3233
+ else if (typeof e == "object") if (Array.isArray(e)) {
3234
+ var n = e.length;
3235
+ for (o = 0; o < n; o++) e[o] && (t = He(e[o])) && (r && (r += " "), r += t);
3236
+ } else for (t in e) e[t] && (r && (r += " "), r += t);
3237
+ return r;
3238
+ }
3239
+ function st() {
3240
+ for (var e, o, t = 0, r = "", n = arguments.length; t < n; t++) (e = arguments[t]) && (o = He(e)) && (r && (r += " "), r += o);
3241
+ return r;
3242
+ }
3243
+ function nt(...e) {
3244
+ return Xe(st(e));
3245
+ }
3246
+ const at = tt({
3226
3247
  base: "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md font-medium text-sm ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
3227
3248
  defaultVariants: {
3228
3249
  size: "md",
@@ -3249,43 +3270,60 @@ const Qr = Hr({
3249
3270
  }
3250
3271
  }
3251
3272
  });
3252
- function tt({
3253
- form: e,
3254
- type: o = "button",
3255
- size: t = "md",
3256
- variant: r = "default",
3257
- leftSection: n,
3258
- rightSection: s,
3259
- block: a = !1,
3260
- loading: m = !1,
3261
- disabled: d = !1,
3262
- asChild: g = !1,
3263
- onClick: C,
3264
- children: z
3265
- }) {
3266
- const T = g ? Je : "button", k = d || m;
3267
- return /* @__PURE__ */ qe(
3268
- T,
3273
+ function ut(e) {
3274
+ const {
3275
+ form: o,
3276
+ type: t = "button",
3277
+ size: r,
3278
+ variant: n,
3279
+ leftSection: s,
3280
+ rightSection: a,
3281
+ block: m,
3282
+ loading: d,
3283
+ disabled: g,
3284
+ asChild: z,
3285
+ onClick: S,
3286
+ children: P
3287
+ } = e, x = ot(), T = x?.button?.defaultProps, v = {
3288
+ asChild: z ?? T?.asChild ?? !1,
3289
+ block: m ?? T?.block ?? !1,
3290
+ disabled: g ?? T?.disabled ?? !1,
3291
+ loading: d ?? T?.loading ?? !1,
3292
+ size: r ?? T?.size ?? "md",
3293
+ variant: n ?? T?.variant ?? "default"
3294
+ }, M = v.asChild ? er : "button", O = v.disabled || v.loading, N = x?.button?.classNames;
3295
+ return /* @__PURE__ */ Z(
3296
+ M,
3269
3297
  {
3270
- className: Qr({
3271
- block: a,
3272
- size: t,
3273
- variant: r
3274
- }),
3275
- disabled: k,
3276
- form: g ? void 0 : e,
3277
- onClick: C,
3278
- type: g ? void 0 : o,
3279
- children: [
3280
- m ? /* @__PURE__ */ Xe(He, { className: "animate-spin" }) : n,
3281
- z,
3282
- !m && s
3283
- ]
3298
+ className: nt(
3299
+ at({
3300
+ block: v.block,
3301
+ size: v.size,
3302
+ variant: v.variant
3303
+ }),
3304
+ N?.root
3305
+ ),
3306
+ disabled: O,
3307
+ form: v.asChild ? void 0 : o,
3308
+ onClick: S,
3309
+ type: v.asChild ? void 0 : t,
3310
+ children: v.loading ? /* @__PURE__ */ Z("span", { className: N?.loading, children: /* @__PURE__ */ Z(rr, { className: "animate-spin" }) }) : /* @__PURE__ */ Qe(Ze, { children: [
3311
+ s && /* @__PURE__ */ Z("span", { className: N?.leftSection, children: s }),
3312
+ P,
3313
+ a && /* @__PURE__ */ Z("span", { className: N?.rightSection, children: a })
3314
+ ] })
3284
3315
  }
3285
3316
  );
3286
3317
  }
3287
- const ot = 5e3;
3318
+ function mt({
3319
+ children: e,
3320
+ ...o
3321
+ }) {
3322
+ return /* @__PURE__ */ Z(Je.Provider, { value: o, children: e });
3323
+ }
3288
3324
  export {
3289
- tt as Button,
3290
- ot as a
3325
+ ut as Button,
3326
+ Je as TuryStackContext,
3327
+ mt as TuryStackProvider,
3328
+ ot as useTuryStack
3291
3329
  };