ingeniuscliq-core 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.d.ts +2 -0
- package/dist/index.js +4480 -30
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -1,21 +1,4468 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { jsx as M, jsxs as te, Fragment as Je } from "react/jsx-runtime";
|
|
2
|
+
import * as V from "react";
|
|
3
|
+
import { useRef as dt, useState as ft, useCallback as an, useEffect as Ge, forwardRef as At, createElement as _e } from "react";
|
|
4
|
+
import { useTranslation as cn } from "react-i18next";
|
|
5
|
+
import { Link as ln } from "@tanstack/react-router";
|
|
6
|
+
class Zr {
|
|
7
|
+
}
|
|
8
|
+
function un(e) {
|
|
9
|
+
return Object.prototype.toString.call(e) === "[object Object]";
|
|
10
|
+
}
|
|
11
|
+
function mt(e) {
|
|
12
|
+
return un(e) || Array.isArray(e);
|
|
13
|
+
}
|
|
14
|
+
function dn() {
|
|
15
|
+
return !!(typeof window < "u" && window.document && window.document.createElement);
|
|
16
|
+
}
|
|
17
|
+
function Qe(e, t) {
|
|
18
|
+
const n = Object.keys(e), r = Object.keys(t);
|
|
19
|
+
if (n.length !== r.length) return !1;
|
|
20
|
+
const o = JSON.stringify(Object.keys(e.breakpoints || {})), s = JSON.stringify(Object.keys(t.breakpoints || {}));
|
|
21
|
+
return o !== s ? !1 : n.every((i) => {
|
|
22
|
+
const c = e[i], a = t[i];
|
|
23
|
+
return typeof c == "function" ? `${c}` == `${a}` : !mt(c) || !mt(a) ? c === a : Qe(c, a);
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
function pt(e) {
|
|
27
|
+
return e.concat().sort((t, n) => t.name > n.name ? 1 : -1).map((t) => t.options);
|
|
28
|
+
}
|
|
29
|
+
function fn(e, t) {
|
|
30
|
+
if (e.length !== t.length) return !1;
|
|
31
|
+
const n = pt(e), r = pt(t);
|
|
32
|
+
return n.every((o, s) => {
|
|
33
|
+
const i = r[s];
|
|
34
|
+
return Qe(o, i);
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
function Xe(e) {
|
|
38
|
+
return typeof e == "number";
|
|
39
|
+
}
|
|
40
|
+
function He(e) {
|
|
41
|
+
return typeof e == "string";
|
|
42
|
+
}
|
|
43
|
+
function Te(e) {
|
|
44
|
+
return typeof e == "boolean";
|
|
45
|
+
}
|
|
46
|
+
function gt(e) {
|
|
47
|
+
return Object.prototype.toString.call(e) === "[object Object]";
|
|
48
|
+
}
|
|
49
|
+
function F(e) {
|
|
50
|
+
return Math.abs(e);
|
|
51
|
+
}
|
|
52
|
+
function Ze(e) {
|
|
53
|
+
return Math.sign(e);
|
|
54
|
+
}
|
|
55
|
+
function Ce(e, t) {
|
|
56
|
+
return F(e - t);
|
|
57
|
+
}
|
|
58
|
+
function mn(e, t) {
|
|
59
|
+
if (e === 0 || t === 0 || F(e) <= F(t)) return 0;
|
|
60
|
+
const n = Ce(F(e), F(t));
|
|
61
|
+
return F(n / e);
|
|
62
|
+
}
|
|
63
|
+
function pn(e) {
|
|
64
|
+
return Math.round(e * 100) / 100;
|
|
65
|
+
}
|
|
66
|
+
function Ae(e) {
|
|
67
|
+
return Ee(e).map(Number);
|
|
68
|
+
}
|
|
69
|
+
function ne(e) {
|
|
70
|
+
return e[Ie(e)];
|
|
71
|
+
}
|
|
72
|
+
function Ie(e) {
|
|
73
|
+
return Math.max(0, e.length - 1);
|
|
74
|
+
}
|
|
75
|
+
function Ye(e, t) {
|
|
76
|
+
return t === Ie(e);
|
|
77
|
+
}
|
|
78
|
+
function bt(e, t = 0) {
|
|
79
|
+
return Array.from(Array(e), (n, r) => t + r);
|
|
80
|
+
}
|
|
81
|
+
function Ee(e) {
|
|
82
|
+
return Object.keys(e);
|
|
83
|
+
}
|
|
84
|
+
function Et(e, t) {
|
|
85
|
+
return [e, t].reduce((n, r) => (Ee(r).forEach((o) => {
|
|
86
|
+
const s = n[o], i = r[o], c = gt(s) && gt(i);
|
|
87
|
+
n[o] = c ? Et(s, i) : i;
|
|
88
|
+
}), n), {});
|
|
89
|
+
}
|
|
90
|
+
function Ue(e, t) {
|
|
91
|
+
return typeof t.MouseEvent < "u" && e instanceof t.MouseEvent;
|
|
92
|
+
}
|
|
93
|
+
function gn(e, t) {
|
|
94
|
+
const n = {
|
|
95
|
+
start: r,
|
|
96
|
+
center: o,
|
|
97
|
+
end: s
|
|
98
|
+
};
|
|
99
|
+
function r() {
|
|
100
|
+
return 0;
|
|
101
|
+
}
|
|
102
|
+
function o(a) {
|
|
103
|
+
return s(a) / 2;
|
|
104
|
+
}
|
|
105
|
+
function s(a) {
|
|
106
|
+
return t - a;
|
|
107
|
+
}
|
|
108
|
+
function i(a, l) {
|
|
109
|
+
return He(e) ? n[e](a) : e(t, a, l);
|
|
110
|
+
}
|
|
111
|
+
return {
|
|
112
|
+
measure: i
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
function ze() {
|
|
116
|
+
let e = [];
|
|
117
|
+
function t(o, s, i, c = {
|
|
118
|
+
passive: !0
|
|
119
|
+
}) {
|
|
120
|
+
let a;
|
|
121
|
+
if ("addEventListener" in o)
|
|
122
|
+
o.addEventListener(s, i, c), a = () => o.removeEventListener(s, i, c);
|
|
123
|
+
else {
|
|
124
|
+
const l = o;
|
|
125
|
+
l.addListener(i), a = () => l.removeListener(i);
|
|
126
|
+
}
|
|
127
|
+
return e.push(a), r;
|
|
128
|
+
}
|
|
129
|
+
function n() {
|
|
130
|
+
e = e.filter((o) => o());
|
|
131
|
+
}
|
|
132
|
+
const r = {
|
|
133
|
+
add: t,
|
|
134
|
+
clear: n
|
|
135
|
+
};
|
|
136
|
+
return r;
|
|
137
|
+
}
|
|
138
|
+
function bn(e, t, n, r) {
|
|
139
|
+
const o = ze(), s = 1e3 / 60;
|
|
140
|
+
let i = null, c = 0, a = 0;
|
|
141
|
+
function l() {
|
|
142
|
+
o.add(e, "visibilitychange", () => {
|
|
143
|
+
e.hidden && d();
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
function m() {
|
|
147
|
+
y(), o.clear();
|
|
148
|
+
}
|
|
149
|
+
function f(b) {
|
|
150
|
+
if (!a) return;
|
|
151
|
+
i || (i = b, n(), n());
|
|
152
|
+
const u = b - i;
|
|
153
|
+
for (i = b, c += u; c >= s; )
|
|
154
|
+
n(), c -= s;
|
|
155
|
+
const x = c / s;
|
|
156
|
+
r(x), a && (a = t.requestAnimationFrame(f));
|
|
157
|
+
}
|
|
158
|
+
function g() {
|
|
159
|
+
a || (a = t.requestAnimationFrame(f));
|
|
160
|
+
}
|
|
161
|
+
function y() {
|
|
162
|
+
t.cancelAnimationFrame(a), i = null, c = 0, a = 0;
|
|
163
|
+
}
|
|
164
|
+
function d() {
|
|
165
|
+
i = null, c = 0;
|
|
166
|
+
}
|
|
167
|
+
return {
|
|
168
|
+
init: l,
|
|
169
|
+
destroy: m,
|
|
170
|
+
start: g,
|
|
171
|
+
stop: y,
|
|
172
|
+
update: n,
|
|
173
|
+
render: r
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
function hn(e, t) {
|
|
177
|
+
const n = t === "rtl", r = e === "y", o = r ? "y" : "x", s = r ? "x" : "y", i = !r && n ? -1 : 1, c = m(), a = f();
|
|
178
|
+
function l(d) {
|
|
179
|
+
const {
|
|
180
|
+
height: p,
|
|
181
|
+
width: b
|
|
182
|
+
} = d;
|
|
183
|
+
return r ? p : b;
|
|
184
|
+
}
|
|
185
|
+
function m() {
|
|
186
|
+
return r ? "top" : n ? "right" : "left";
|
|
187
|
+
}
|
|
188
|
+
function f() {
|
|
189
|
+
return r ? "bottom" : n ? "left" : "right";
|
|
190
|
+
}
|
|
191
|
+
function g(d) {
|
|
192
|
+
return d * i;
|
|
193
|
+
}
|
|
194
|
+
return {
|
|
195
|
+
scroll: o,
|
|
196
|
+
cross: s,
|
|
197
|
+
startEdge: c,
|
|
198
|
+
endEdge: a,
|
|
199
|
+
measureSize: l,
|
|
200
|
+
direction: g
|
|
201
|
+
};
|
|
202
|
+
}
|
|
203
|
+
function ge(e = 0, t = 0) {
|
|
204
|
+
const n = F(e - t);
|
|
205
|
+
function r(l) {
|
|
206
|
+
return l < e;
|
|
207
|
+
}
|
|
208
|
+
function o(l) {
|
|
209
|
+
return l > t;
|
|
210
|
+
}
|
|
211
|
+
function s(l) {
|
|
212
|
+
return r(l) || o(l);
|
|
213
|
+
}
|
|
214
|
+
function i(l) {
|
|
215
|
+
return s(l) ? r(l) ? e : t : l;
|
|
216
|
+
}
|
|
217
|
+
function c(l) {
|
|
218
|
+
return n ? l - n * Math.ceil((l - t) / n) : l;
|
|
219
|
+
}
|
|
220
|
+
return {
|
|
221
|
+
length: n,
|
|
222
|
+
max: t,
|
|
223
|
+
min: e,
|
|
224
|
+
constrain: i,
|
|
225
|
+
reachedAny: s,
|
|
226
|
+
reachedMax: o,
|
|
227
|
+
reachedMin: r,
|
|
228
|
+
removeOffset: c
|
|
229
|
+
};
|
|
230
|
+
}
|
|
231
|
+
function zt(e, t, n) {
|
|
232
|
+
const {
|
|
233
|
+
constrain: r
|
|
234
|
+
} = ge(0, e), o = e + 1;
|
|
235
|
+
let s = i(t);
|
|
236
|
+
function i(g) {
|
|
237
|
+
return n ? F((o + g) % o) : r(g);
|
|
238
|
+
}
|
|
239
|
+
function c() {
|
|
240
|
+
return s;
|
|
241
|
+
}
|
|
242
|
+
function a(g) {
|
|
243
|
+
return s = i(g), f;
|
|
244
|
+
}
|
|
245
|
+
function l(g) {
|
|
246
|
+
return m().set(c() + g);
|
|
247
|
+
}
|
|
248
|
+
function m() {
|
|
249
|
+
return zt(e, c(), n);
|
|
250
|
+
}
|
|
251
|
+
const f = {
|
|
252
|
+
get: c,
|
|
253
|
+
set: a,
|
|
254
|
+
add: l,
|
|
255
|
+
clone: m
|
|
256
|
+
};
|
|
257
|
+
return f;
|
|
258
|
+
}
|
|
259
|
+
function xn(e, t, n, r, o, s, i, c, a, l, m, f, g, y, d, p, b, u, x) {
|
|
260
|
+
const {
|
|
261
|
+
cross: S,
|
|
262
|
+
direction: L
|
|
263
|
+
} = e, N = ["INPUT", "SELECT", "TEXTAREA"], I = {
|
|
264
|
+
passive: !1
|
|
265
|
+
}, A = ze(), h = ze(), z = ge(50, 225).constrain(y.measure(20)), D = {
|
|
266
|
+
mouse: 300,
|
|
267
|
+
touch: 400
|
|
268
|
+
}, T = {
|
|
269
|
+
mouse: 500,
|
|
270
|
+
touch: 600
|
|
271
|
+
}, $ = d ? 43 : 25;
|
|
272
|
+
let Z = !1, Q = 0, U = 0, q = !1, K = !1, C = !1, ee = !1;
|
|
273
|
+
function ce(k) {
|
|
274
|
+
if (!x) return;
|
|
275
|
+
function R(J) {
|
|
276
|
+
(Te(x) || x(k, J)) && le(J);
|
|
277
|
+
}
|
|
278
|
+
const B = t;
|
|
279
|
+
A.add(B, "dragstart", (J) => J.preventDefault(), I).add(B, "touchmove", () => {
|
|
280
|
+
}, I).add(B, "touchend", () => {
|
|
281
|
+
}).add(B, "touchstart", R).add(B, "mousedown", R).add(B, "touchcancel", H).add(B, "contextmenu", H).add(B, "click", X, !0);
|
|
282
|
+
}
|
|
283
|
+
function Y() {
|
|
284
|
+
A.clear(), h.clear();
|
|
285
|
+
}
|
|
286
|
+
function re() {
|
|
287
|
+
const k = ee ? n : t;
|
|
288
|
+
h.add(k, "touchmove", P, I).add(k, "touchend", H).add(k, "mousemove", P, I).add(k, "mouseup", H);
|
|
289
|
+
}
|
|
290
|
+
function G(k) {
|
|
291
|
+
const R = k.nodeName || "";
|
|
292
|
+
return N.includes(R);
|
|
293
|
+
}
|
|
294
|
+
function j() {
|
|
295
|
+
return (d ? T : D)[ee ? "mouse" : "touch"];
|
|
296
|
+
}
|
|
297
|
+
function oe(k, R) {
|
|
298
|
+
const B = f.add(Ze(k) * -1), J = m.byDistance(k, !d).distance;
|
|
299
|
+
return d || F(k) < z ? J : b && R ? J * 0.5 : m.byIndex(B.get(), 0).distance;
|
|
300
|
+
}
|
|
301
|
+
function le(k) {
|
|
302
|
+
const R = Ue(k, r);
|
|
303
|
+
ee = R, C = d && R && !k.buttons && Z, Z = Ce(o.get(), i.get()) >= 2, !(R && k.button !== 0) && (G(k.target) || (q = !0, s.pointerDown(k), l.useFriction(0).useDuration(0), o.set(i), re(), Q = s.readPoint(k), U = s.readPoint(k, S), g.emit("pointerDown")));
|
|
304
|
+
}
|
|
305
|
+
function P(k) {
|
|
306
|
+
if (!Ue(k, r) && k.touches.length >= 2) return H(k);
|
|
307
|
+
const B = s.readPoint(k), J = s.readPoint(k, S), se = Ce(B, Q), ie = Ce(J, U);
|
|
308
|
+
if (!K && !ee && (!k.cancelable || (K = se > ie, !K)))
|
|
309
|
+
return H(k);
|
|
310
|
+
const fe = s.pointerMove(k);
|
|
311
|
+
se > p && (C = !0), l.useFriction(0.3).useDuration(0.75), c.start(), o.add(L(fe)), k.preventDefault();
|
|
312
|
+
}
|
|
313
|
+
function H(k) {
|
|
314
|
+
const B = m.byDistance(0, !1).index !== f.get(), J = s.pointerUp(k) * j(), se = oe(L(J), B), ie = mn(J, se), fe = $ - 10 * ie, ue = u + ie / 50;
|
|
315
|
+
K = !1, q = !1, h.clear(), l.useDuration(fe).useFriction(ue), a.distance(se, !d), ee = !1, g.emit("pointerUp");
|
|
316
|
+
}
|
|
317
|
+
function X(k) {
|
|
318
|
+
C && (k.stopPropagation(), k.preventDefault(), C = !1);
|
|
319
|
+
}
|
|
320
|
+
function W() {
|
|
321
|
+
return q;
|
|
322
|
+
}
|
|
323
|
+
return {
|
|
324
|
+
init: ce,
|
|
325
|
+
destroy: Y,
|
|
326
|
+
pointerDown: W
|
|
327
|
+
};
|
|
328
|
+
}
|
|
329
|
+
function yn(e, t) {
|
|
330
|
+
let r, o;
|
|
331
|
+
function s(f) {
|
|
332
|
+
return f.timeStamp;
|
|
333
|
+
}
|
|
334
|
+
function i(f, g) {
|
|
335
|
+
const d = `client${(g || e.scroll) === "x" ? "X" : "Y"}`;
|
|
336
|
+
return (Ue(f, t) ? f : f.touches[0])[d];
|
|
337
|
+
}
|
|
338
|
+
function c(f) {
|
|
339
|
+
return r = f, o = f, i(f);
|
|
340
|
+
}
|
|
341
|
+
function a(f) {
|
|
342
|
+
const g = i(f) - i(o), y = s(f) - s(r) > 170;
|
|
343
|
+
return o = f, y && (r = f), g;
|
|
344
|
+
}
|
|
345
|
+
function l(f) {
|
|
346
|
+
if (!r || !o) return 0;
|
|
347
|
+
const g = i(o) - i(r), y = s(f) - s(r), d = s(f) - s(o) > 170, p = g / y;
|
|
348
|
+
return y && !d && F(p) > 0.1 ? p : 0;
|
|
349
|
+
}
|
|
350
|
+
return {
|
|
351
|
+
pointerDown: c,
|
|
352
|
+
pointerMove: a,
|
|
353
|
+
pointerUp: l,
|
|
354
|
+
readPoint: i
|
|
355
|
+
};
|
|
356
|
+
}
|
|
357
|
+
function vn() {
|
|
358
|
+
function e(n) {
|
|
359
|
+
const {
|
|
360
|
+
offsetTop: r,
|
|
361
|
+
offsetLeft: o,
|
|
362
|
+
offsetWidth: s,
|
|
363
|
+
offsetHeight: i
|
|
364
|
+
} = n;
|
|
365
|
+
return {
|
|
366
|
+
top: r,
|
|
367
|
+
right: o + s,
|
|
368
|
+
bottom: r + i,
|
|
369
|
+
left: o,
|
|
370
|
+
width: s,
|
|
371
|
+
height: i
|
|
372
|
+
};
|
|
373
|
+
}
|
|
374
|
+
return {
|
|
375
|
+
measure: e
|
|
376
|
+
};
|
|
377
|
+
}
|
|
378
|
+
function wn(e) {
|
|
379
|
+
function t(r) {
|
|
380
|
+
return e * (r / 100);
|
|
381
|
+
}
|
|
382
|
+
return {
|
|
383
|
+
measure: t
|
|
384
|
+
};
|
|
385
|
+
}
|
|
386
|
+
function kn(e, t, n, r, o, s, i) {
|
|
387
|
+
const c = [e].concat(r);
|
|
388
|
+
let a, l, m = [], f = !1;
|
|
389
|
+
function g(b) {
|
|
390
|
+
return o.measureSize(i.measure(b));
|
|
391
|
+
}
|
|
392
|
+
function y(b) {
|
|
393
|
+
if (!s) return;
|
|
394
|
+
l = g(e), m = r.map(g);
|
|
395
|
+
function u(x) {
|
|
396
|
+
for (const S of x) {
|
|
397
|
+
if (f) return;
|
|
398
|
+
const L = S.target === e, N = r.indexOf(S.target), I = L ? l : m[N], A = g(L ? e : r[N]);
|
|
399
|
+
if (F(A - I) >= 0.5) {
|
|
400
|
+
b.reInit(), t.emit("resize");
|
|
401
|
+
break;
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
a = new ResizeObserver((x) => {
|
|
406
|
+
(Te(s) || s(b, x)) && u(x);
|
|
407
|
+
}), n.requestAnimationFrame(() => {
|
|
408
|
+
c.forEach((x) => a.observe(x));
|
|
409
|
+
});
|
|
410
|
+
}
|
|
411
|
+
function d() {
|
|
412
|
+
f = !0, a && a.disconnect();
|
|
413
|
+
}
|
|
414
|
+
return {
|
|
415
|
+
init: y,
|
|
416
|
+
destroy: d
|
|
417
|
+
};
|
|
418
|
+
}
|
|
419
|
+
function Sn(e, t, n, r, o, s) {
|
|
420
|
+
let i = 0, c = 0, a = o, l = s, m = e.get(), f = 0;
|
|
421
|
+
function g() {
|
|
422
|
+
const I = r.get() - e.get(), A = !a;
|
|
423
|
+
let h = 0;
|
|
424
|
+
return A ? (i = 0, n.set(r), e.set(r), h = I) : (n.set(e), i += I / a, i *= l, m += i, e.add(i), h = m - f), c = Ze(h), f = m, N;
|
|
425
|
+
}
|
|
426
|
+
function y() {
|
|
427
|
+
const I = r.get() - t.get();
|
|
428
|
+
return F(I) < 1e-3;
|
|
429
|
+
}
|
|
430
|
+
function d() {
|
|
431
|
+
return a;
|
|
432
|
+
}
|
|
433
|
+
function p() {
|
|
434
|
+
return c;
|
|
435
|
+
}
|
|
436
|
+
function b() {
|
|
437
|
+
return i;
|
|
438
|
+
}
|
|
439
|
+
function u() {
|
|
440
|
+
return S(o);
|
|
441
|
+
}
|
|
442
|
+
function x() {
|
|
443
|
+
return L(s);
|
|
444
|
+
}
|
|
445
|
+
function S(I) {
|
|
446
|
+
return a = I, N;
|
|
447
|
+
}
|
|
448
|
+
function L(I) {
|
|
449
|
+
return l = I, N;
|
|
450
|
+
}
|
|
451
|
+
const N = {
|
|
452
|
+
direction: p,
|
|
453
|
+
duration: d,
|
|
454
|
+
velocity: b,
|
|
455
|
+
seek: g,
|
|
456
|
+
settled: y,
|
|
457
|
+
useBaseFriction: x,
|
|
458
|
+
useBaseDuration: u,
|
|
459
|
+
useFriction: L,
|
|
460
|
+
useDuration: S
|
|
461
|
+
};
|
|
462
|
+
return N;
|
|
463
|
+
}
|
|
464
|
+
function Cn(e, t, n, r, o) {
|
|
465
|
+
const s = o.measure(10), i = o.measure(50), c = ge(0.1, 0.99);
|
|
466
|
+
let a = !1;
|
|
467
|
+
function l() {
|
|
468
|
+
return !(a || !e.reachedAny(n.get()) || !e.reachedAny(t.get()));
|
|
469
|
+
}
|
|
470
|
+
function m(y) {
|
|
471
|
+
if (!l()) return;
|
|
472
|
+
const d = e.reachedMin(t.get()) ? "min" : "max", p = F(e[d] - t.get()), b = n.get() - t.get(), u = c.constrain(p / i);
|
|
473
|
+
n.subtract(b * u), !y && F(b) < s && (n.set(e.constrain(n.get())), r.useDuration(25).useBaseFriction());
|
|
474
|
+
}
|
|
475
|
+
function f(y) {
|
|
476
|
+
a = !y;
|
|
477
|
+
}
|
|
478
|
+
return {
|
|
479
|
+
shouldConstrain: l,
|
|
480
|
+
constrain: m,
|
|
481
|
+
toggleActive: f
|
|
482
|
+
};
|
|
483
|
+
}
|
|
484
|
+
function An(e, t, n, r, o) {
|
|
485
|
+
const s = ge(-t + e, 0), i = f(), c = m(), a = g();
|
|
486
|
+
function l(d, p) {
|
|
487
|
+
return Ce(d, p) <= 1;
|
|
488
|
+
}
|
|
489
|
+
function m() {
|
|
490
|
+
const d = i[0], p = ne(i), b = i.lastIndexOf(d), u = i.indexOf(p) + 1;
|
|
491
|
+
return ge(b, u);
|
|
492
|
+
}
|
|
493
|
+
function f() {
|
|
494
|
+
return n.map((d, p) => {
|
|
495
|
+
const {
|
|
496
|
+
min: b,
|
|
497
|
+
max: u
|
|
498
|
+
} = s, x = s.constrain(d), S = !p, L = Ye(n, p);
|
|
499
|
+
return S ? u : L || l(b, x) ? b : l(u, x) ? u : x;
|
|
500
|
+
}).map((d) => parseFloat(d.toFixed(3)));
|
|
501
|
+
}
|
|
502
|
+
function g() {
|
|
503
|
+
if (t <= e + o) return [s.max];
|
|
504
|
+
if (r === "keepSnaps") return i;
|
|
505
|
+
const {
|
|
506
|
+
min: d,
|
|
507
|
+
max: p
|
|
508
|
+
} = c;
|
|
509
|
+
return i.slice(d, p);
|
|
510
|
+
}
|
|
511
|
+
return {
|
|
512
|
+
snapsContained: a,
|
|
513
|
+
scrollContainLimit: c
|
|
514
|
+
};
|
|
515
|
+
}
|
|
516
|
+
function En(e, t, n) {
|
|
517
|
+
const r = t[0], o = n ? r - e : ne(t);
|
|
518
|
+
return {
|
|
519
|
+
limit: ge(o, r)
|
|
520
|
+
};
|
|
521
|
+
}
|
|
522
|
+
function zn(e, t, n, r) {
|
|
523
|
+
const s = t.min + 0.1, i = t.max + 0.1, {
|
|
524
|
+
reachedMin: c,
|
|
525
|
+
reachedMax: a
|
|
526
|
+
} = ge(s, i);
|
|
527
|
+
function l(g) {
|
|
528
|
+
return g === 1 ? a(n.get()) : g === -1 ? c(n.get()) : !1;
|
|
529
|
+
}
|
|
530
|
+
function m(g) {
|
|
531
|
+
if (!l(g)) return;
|
|
532
|
+
const y = e * (g * -1);
|
|
533
|
+
r.forEach((d) => d.add(y));
|
|
534
|
+
}
|
|
535
|
+
return {
|
|
536
|
+
loop: m
|
|
537
|
+
};
|
|
538
|
+
}
|
|
539
|
+
function In(e) {
|
|
540
|
+
const {
|
|
541
|
+
max: t,
|
|
542
|
+
length: n
|
|
543
|
+
} = e;
|
|
544
|
+
function r(s) {
|
|
545
|
+
const i = s - t;
|
|
546
|
+
return n ? i / -n : 0;
|
|
547
|
+
}
|
|
548
|
+
return {
|
|
549
|
+
get: r
|
|
550
|
+
};
|
|
551
|
+
}
|
|
552
|
+
function Ln(e, t, n, r, o) {
|
|
553
|
+
const {
|
|
554
|
+
startEdge: s,
|
|
555
|
+
endEdge: i
|
|
556
|
+
} = e, {
|
|
557
|
+
groupSlides: c
|
|
558
|
+
} = o, a = f().map(t.measure), l = g(), m = y();
|
|
559
|
+
function f() {
|
|
560
|
+
return c(r).map((p) => ne(p)[i] - p[0][s]).map(F);
|
|
561
|
+
}
|
|
562
|
+
function g() {
|
|
563
|
+
return r.map((p) => n[s] - p[s]).map((p) => -F(p));
|
|
564
|
+
}
|
|
565
|
+
function y() {
|
|
566
|
+
return c(l).map((p) => p[0]).map((p, b) => p + a[b]);
|
|
567
|
+
}
|
|
568
|
+
return {
|
|
569
|
+
snaps: l,
|
|
570
|
+
snapsAligned: m
|
|
571
|
+
};
|
|
572
|
+
}
|
|
573
|
+
function Mn(e, t, n, r, o, s) {
|
|
574
|
+
const {
|
|
575
|
+
groupSlides: i
|
|
576
|
+
} = o, {
|
|
577
|
+
min: c,
|
|
578
|
+
max: a
|
|
579
|
+
} = r, l = m();
|
|
580
|
+
function m() {
|
|
581
|
+
const g = i(s), y = !e || t === "keepSnaps";
|
|
582
|
+
return n.length === 1 ? [s] : y ? g : g.slice(c, a).map((d, p, b) => {
|
|
583
|
+
const u = !p, x = Ye(b, p);
|
|
584
|
+
if (u) {
|
|
585
|
+
const S = ne(b[0]) + 1;
|
|
586
|
+
return bt(S);
|
|
587
|
+
}
|
|
588
|
+
if (x) {
|
|
589
|
+
const S = Ie(s) - ne(b)[0] + 1;
|
|
590
|
+
return bt(S, ne(b)[0]);
|
|
591
|
+
}
|
|
592
|
+
return d;
|
|
593
|
+
});
|
|
594
|
+
}
|
|
595
|
+
return {
|
|
596
|
+
slideRegistry: l
|
|
597
|
+
};
|
|
598
|
+
}
|
|
599
|
+
function Nn(e, t, n, r, o) {
|
|
600
|
+
const {
|
|
601
|
+
reachedAny: s,
|
|
602
|
+
removeOffset: i,
|
|
603
|
+
constrain: c
|
|
604
|
+
} = r;
|
|
605
|
+
function a(d) {
|
|
606
|
+
return d.concat().sort((p, b) => F(p) - F(b))[0];
|
|
607
|
+
}
|
|
608
|
+
function l(d) {
|
|
609
|
+
const p = e ? i(d) : c(d), b = t.map((x, S) => ({
|
|
610
|
+
diff: m(x - p, 0),
|
|
611
|
+
index: S
|
|
612
|
+
})).sort((x, S) => F(x.diff) - F(S.diff)), {
|
|
613
|
+
index: u
|
|
614
|
+
} = b[0];
|
|
615
|
+
return {
|
|
616
|
+
index: u,
|
|
617
|
+
distance: p
|
|
618
|
+
};
|
|
619
|
+
}
|
|
620
|
+
function m(d, p) {
|
|
621
|
+
const b = [d, d + n, d - n];
|
|
622
|
+
if (!e) return d;
|
|
623
|
+
if (!p) return a(b);
|
|
624
|
+
const u = b.filter((x) => Ze(x) === p);
|
|
625
|
+
return u.length ? a(u) : ne(b) - n;
|
|
626
|
+
}
|
|
627
|
+
function f(d, p) {
|
|
628
|
+
const b = t[d] - o.get(), u = m(b, p);
|
|
629
|
+
return {
|
|
630
|
+
index: d,
|
|
631
|
+
distance: u
|
|
632
|
+
};
|
|
633
|
+
}
|
|
634
|
+
function g(d, p) {
|
|
635
|
+
const b = o.get() + d, {
|
|
636
|
+
index: u,
|
|
637
|
+
distance: x
|
|
638
|
+
} = l(b), S = !e && s(b);
|
|
639
|
+
if (!p || S) return {
|
|
640
|
+
index: u,
|
|
641
|
+
distance: d
|
|
642
|
+
};
|
|
643
|
+
const L = t[u] - x, N = d + m(L, 0);
|
|
644
|
+
return {
|
|
645
|
+
index: u,
|
|
646
|
+
distance: N
|
|
647
|
+
};
|
|
648
|
+
}
|
|
649
|
+
return {
|
|
650
|
+
byDistance: g,
|
|
651
|
+
byIndex: f,
|
|
652
|
+
shortcut: m
|
|
653
|
+
};
|
|
654
|
+
}
|
|
655
|
+
function Pn(e, t, n, r, o, s, i) {
|
|
656
|
+
function c(f) {
|
|
657
|
+
const g = f.distance, y = f.index !== t.get();
|
|
658
|
+
s.add(g), g && (r.duration() ? e.start() : (e.update(), e.render(1), e.update())), y && (n.set(t.get()), t.set(f.index), i.emit("select"));
|
|
659
|
+
}
|
|
660
|
+
function a(f, g) {
|
|
661
|
+
const y = o.byDistance(f, g);
|
|
662
|
+
c(y);
|
|
663
|
+
}
|
|
664
|
+
function l(f, g) {
|
|
665
|
+
const y = t.clone().set(f), d = o.byIndex(y.get(), g);
|
|
666
|
+
c(d);
|
|
667
|
+
}
|
|
668
|
+
return {
|
|
669
|
+
distance: a,
|
|
670
|
+
index: l
|
|
671
|
+
};
|
|
672
|
+
}
|
|
673
|
+
function Tn(e, t, n, r, o, s, i, c) {
|
|
674
|
+
const a = {
|
|
675
|
+
passive: !0,
|
|
676
|
+
capture: !0
|
|
677
|
+
};
|
|
678
|
+
let l = 0;
|
|
679
|
+
function m(y) {
|
|
680
|
+
if (!c) return;
|
|
681
|
+
function d(p) {
|
|
682
|
+
if ((/* @__PURE__ */ new Date()).getTime() - l > 10) return;
|
|
683
|
+
i.emit("slideFocusStart"), e.scrollLeft = 0;
|
|
684
|
+
const x = n.findIndex((S) => S.includes(p));
|
|
685
|
+
Xe(x) && (o.useDuration(0), r.index(x, 0), i.emit("slideFocus"));
|
|
686
|
+
}
|
|
687
|
+
s.add(document, "keydown", f, !1), t.forEach((p, b) => {
|
|
688
|
+
s.add(p, "focus", (u) => {
|
|
689
|
+
(Te(c) || c(y, u)) && d(b);
|
|
690
|
+
}, a);
|
|
691
|
+
});
|
|
692
|
+
}
|
|
693
|
+
function f(y) {
|
|
694
|
+
y.code === "Tab" && (l = (/* @__PURE__ */ new Date()).getTime());
|
|
695
|
+
}
|
|
696
|
+
return {
|
|
697
|
+
init: m
|
|
698
|
+
};
|
|
699
|
+
}
|
|
700
|
+
function Se(e) {
|
|
701
|
+
let t = e;
|
|
702
|
+
function n() {
|
|
703
|
+
return t;
|
|
704
|
+
}
|
|
705
|
+
function r(a) {
|
|
706
|
+
t = i(a);
|
|
707
|
+
}
|
|
708
|
+
function o(a) {
|
|
709
|
+
t += i(a);
|
|
710
|
+
}
|
|
711
|
+
function s(a) {
|
|
712
|
+
t -= i(a);
|
|
713
|
+
}
|
|
714
|
+
function i(a) {
|
|
715
|
+
return Xe(a) ? a : a.get();
|
|
716
|
+
}
|
|
717
|
+
return {
|
|
718
|
+
get: n,
|
|
719
|
+
set: r,
|
|
720
|
+
add: o,
|
|
721
|
+
subtract: s
|
|
722
|
+
};
|
|
723
|
+
}
|
|
724
|
+
function It(e, t) {
|
|
725
|
+
const n = e.scroll === "x" ? i : c, r = t.style;
|
|
726
|
+
let o = null, s = !1;
|
|
727
|
+
function i(g) {
|
|
728
|
+
return `translate3d(${g}px,0px,0px)`;
|
|
729
|
+
}
|
|
730
|
+
function c(g) {
|
|
731
|
+
return `translate3d(0px,${g}px,0px)`;
|
|
732
|
+
}
|
|
733
|
+
function a(g) {
|
|
734
|
+
if (s) return;
|
|
735
|
+
const y = pn(e.direction(g));
|
|
736
|
+
y !== o && (r.transform = n(y), o = y);
|
|
737
|
+
}
|
|
738
|
+
function l(g) {
|
|
739
|
+
s = !g;
|
|
740
|
+
}
|
|
741
|
+
function m() {
|
|
742
|
+
s || (r.transform = "", t.getAttribute("style") || t.removeAttribute("style"));
|
|
743
|
+
}
|
|
744
|
+
return {
|
|
745
|
+
clear: m,
|
|
746
|
+
to: a,
|
|
747
|
+
toggleActive: l
|
|
748
|
+
};
|
|
749
|
+
}
|
|
750
|
+
function On(e, t, n, r, o, s, i, c, a) {
|
|
751
|
+
const m = Ae(o), f = Ae(o).reverse(), g = u().concat(x());
|
|
752
|
+
function y(A, h) {
|
|
753
|
+
return A.reduce((z, D) => z - o[D], h);
|
|
754
|
+
}
|
|
755
|
+
function d(A, h) {
|
|
756
|
+
return A.reduce((z, D) => y(z, h) > 0 ? z.concat([D]) : z, []);
|
|
757
|
+
}
|
|
758
|
+
function p(A) {
|
|
759
|
+
return s.map((h, z) => ({
|
|
760
|
+
start: h - r[z] + 0.5 + A,
|
|
761
|
+
end: h + t - 0.5 + A
|
|
762
|
+
}));
|
|
763
|
+
}
|
|
764
|
+
function b(A, h, z) {
|
|
765
|
+
const D = p(h);
|
|
766
|
+
return A.map((T) => {
|
|
767
|
+
const $ = z ? 0 : -n, Z = z ? n : 0, Q = z ? "end" : "start", U = D[T][Q];
|
|
768
|
+
return {
|
|
769
|
+
index: T,
|
|
770
|
+
loopPoint: U,
|
|
771
|
+
slideLocation: Se(-1),
|
|
772
|
+
translate: It(e, a[T]),
|
|
773
|
+
target: () => c.get() > U ? $ : Z
|
|
774
|
+
};
|
|
775
|
+
});
|
|
776
|
+
}
|
|
777
|
+
function u() {
|
|
778
|
+
const A = i[0], h = d(f, A);
|
|
779
|
+
return b(h, n, !1);
|
|
780
|
+
}
|
|
781
|
+
function x() {
|
|
782
|
+
const A = t - i[0] - 1, h = d(m, A);
|
|
783
|
+
return b(h, -n, !0);
|
|
784
|
+
}
|
|
785
|
+
function S() {
|
|
786
|
+
return g.every(({
|
|
787
|
+
index: A
|
|
788
|
+
}) => {
|
|
789
|
+
const h = m.filter((z) => z !== A);
|
|
790
|
+
return y(h, t) <= 0.1;
|
|
791
|
+
});
|
|
792
|
+
}
|
|
793
|
+
function L() {
|
|
794
|
+
g.forEach((A) => {
|
|
795
|
+
const {
|
|
796
|
+
target: h,
|
|
797
|
+
translate: z,
|
|
798
|
+
slideLocation: D
|
|
799
|
+
} = A, T = h();
|
|
800
|
+
T !== D.get() && (z.to(T), D.set(T));
|
|
801
|
+
});
|
|
802
|
+
}
|
|
803
|
+
function N() {
|
|
804
|
+
g.forEach((A) => A.translate.clear());
|
|
805
|
+
}
|
|
806
|
+
return {
|
|
807
|
+
canLoop: S,
|
|
808
|
+
clear: N,
|
|
809
|
+
loop: L,
|
|
810
|
+
loopPoints: g
|
|
811
|
+
};
|
|
812
|
+
}
|
|
813
|
+
function Rn(e, t, n) {
|
|
814
|
+
let r, o = !1;
|
|
815
|
+
function s(a) {
|
|
816
|
+
if (!n) return;
|
|
817
|
+
function l(m) {
|
|
818
|
+
for (const f of m)
|
|
819
|
+
if (f.type === "childList") {
|
|
820
|
+
a.reInit(), t.emit("slidesChanged");
|
|
821
|
+
break;
|
|
822
|
+
}
|
|
823
|
+
}
|
|
824
|
+
r = new MutationObserver((m) => {
|
|
825
|
+
o || (Te(n) || n(a, m)) && l(m);
|
|
826
|
+
}), r.observe(e, {
|
|
827
|
+
childList: !0
|
|
828
|
+
});
|
|
829
|
+
}
|
|
830
|
+
function i() {
|
|
831
|
+
r && r.disconnect(), o = !0;
|
|
832
|
+
}
|
|
833
|
+
return {
|
|
834
|
+
init: s,
|
|
835
|
+
destroy: i
|
|
836
|
+
};
|
|
837
|
+
}
|
|
838
|
+
function Vn(e, t, n, r) {
|
|
839
|
+
const o = {};
|
|
840
|
+
let s = null, i = null, c, a = !1;
|
|
841
|
+
function l() {
|
|
842
|
+
c = new IntersectionObserver((d) => {
|
|
843
|
+
a || (d.forEach((p) => {
|
|
844
|
+
const b = t.indexOf(p.target);
|
|
845
|
+
o[b] = p;
|
|
846
|
+
}), s = null, i = null, n.emit("slidesInView"));
|
|
847
|
+
}, {
|
|
848
|
+
root: e.parentElement,
|
|
849
|
+
threshold: r
|
|
850
|
+
}), t.forEach((d) => c.observe(d));
|
|
851
|
+
}
|
|
852
|
+
function m() {
|
|
853
|
+
c && c.disconnect(), a = !0;
|
|
854
|
+
}
|
|
855
|
+
function f(d) {
|
|
856
|
+
return Ee(o).reduce((p, b) => {
|
|
857
|
+
const u = parseInt(b), {
|
|
858
|
+
isIntersecting: x
|
|
859
|
+
} = o[u];
|
|
860
|
+
return (d && x || !d && !x) && p.push(u), p;
|
|
861
|
+
}, []);
|
|
862
|
+
}
|
|
863
|
+
function g(d = !0) {
|
|
864
|
+
if (d && s) return s;
|
|
865
|
+
if (!d && i) return i;
|
|
866
|
+
const p = f(d);
|
|
867
|
+
return d && (s = p), d || (i = p), p;
|
|
868
|
+
}
|
|
869
|
+
return {
|
|
870
|
+
init: l,
|
|
871
|
+
destroy: m,
|
|
872
|
+
get: g
|
|
873
|
+
};
|
|
874
|
+
}
|
|
875
|
+
function Dn(e, t, n, r, o, s) {
|
|
876
|
+
const {
|
|
877
|
+
measureSize: i,
|
|
878
|
+
startEdge: c,
|
|
879
|
+
endEdge: a
|
|
880
|
+
} = e, l = n[0] && o, m = d(), f = p(), g = n.map(i), y = b();
|
|
881
|
+
function d() {
|
|
882
|
+
if (!l) return 0;
|
|
883
|
+
const x = n[0];
|
|
884
|
+
return F(t[c] - x[c]);
|
|
885
|
+
}
|
|
886
|
+
function p() {
|
|
887
|
+
if (!l) return 0;
|
|
888
|
+
const x = s.getComputedStyle(ne(r));
|
|
889
|
+
return parseFloat(x.getPropertyValue(`margin-${a}`));
|
|
890
|
+
}
|
|
891
|
+
function b() {
|
|
892
|
+
return n.map((x, S, L) => {
|
|
893
|
+
const N = !S, I = Ye(L, S);
|
|
894
|
+
return N ? g[S] + m : I ? g[S] + f : L[S + 1][c] - x[c];
|
|
895
|
+
}).map(F);
|
|
896
|
+
}
|
|
897
|
+
return {
|
|
898
|
+
slideSizes: g,
|
|
899
|
+
slideSizesWithGaps: y,
|
|
900
|
+
startGap: m,
|
|
901
|
+
endGap: f
|
|
902
|
+
};
|
|
903
|
+
}
|
|
904
|
+
function jn(e, t, n, r, o, s, i, c, a) {
|
|
905
|
+
const {
|
|
906
|
+
startEdge: l,
|
|
907
|
+
endEdge: m,
|
|
908
|
+
direction: f
|
|
909
|
+
} = e, g = Xe(n);
|
|
910
|
+
function y(u, x) {
|
|
911
|
+
return Ae(u).filter((S) => S % x === 0).map((S) => u.slice(S, S + x));
|
|
912
|
+
}
|
|
913
|
+
function d(u) {
|
|
914
|
+
return u.length ? Ae(u).reduce((x, S, L) => {
|
|
915
|
+
const N = ne(x) || 0, I = N === 0, A = S === Ie(u), h = o[l] - s[N][l], z = o[l] - s[S][m], D = !r && I ? f(i) : 0, T = !r && A ? f(c) : 0, $ = F(z - T - (h + D));
|
|
916
|
+
return L && $ > t + a && x.push(S), A && x.push(u.length), x;
|
|
917
|
+
}, []).map((x, S, L) => {
|
|
918
|
+
const N = Math.max(L[S - 1] || 0);
|
|
919
|
+
return u.slice(N, x);
|
|
920
|
+
}) : [];
|
|
921
|
+
}
|
|
922
|
+
function p(u) {
|
|
923
|
+
return g ? y(u, n) : d(u);
|
|
924
|
+
}
|
|
925
|
+
return {
|
|
926
|
+
groupSlides: p
|
|
927
|
+
};
|
|
928
|
+
}
|
|
929
|
+
function Fn(e, t, n, r, o, s, i) {
|
|
930
|
+
const {
|
|
931
|
+
align: c,
|
|
932
|
+
axis: a,
|
|
933
|
+
direction: l,
|
|
934
|
+
startIndex: m,
|
|
935
|
+
loop: f,
|
|
936
|
+
duration: g,
|
|
937
|
+
dragFree: y,
|
|
938
|
+
dragThreshold: d,
|
|
939
|
+
inViewThreshold: p,
|
|
940
|
+
slidesToScroll: b,
|
|
941
|
+
skipSnaps: u,
|
|
942
|
+
containScroll: x,
|
|
943
|
+
watchResize: S,
|
|
944
|
+
watchSlides: L,
|
|
945
|
+
watchDrag: N,
|
|
946
|
+
watchFocus: I
|
|
947
|
+
} = s, A = 2, h = vn(), z = h.measure(t), D = n.map(h.measure), T = hn(a, l), $ = T.measureSize(z), Z = wn($), Q = gn(c, $), U = !f && !!x, q = f || !!x, {
|
|
948
|
+
slideSizes: K,
|
|
949
|
+
slideSizesWithGaps: C,
|
|
950
|
+
startGap: ee,
|
|
951
|
+
endGap: ce
|
|
952
|
+
} = Dn(T, z, D, n, q, o), Y = jn(T, $, b, f, z, D, ee, ce, A), {
|
|
953
|
+
snaps: re,
|
|
954
|
+
snapsAligned: G
|
|
955
|
+
} = Ln(T, Q, z, D, Y), j = -ne(re) + ne(C), {
|
|
956
|
+
snapsContained: oe,
|
|
957
|
+
scrollContainLimit: le
|
|
958
|
+
} = An($, j, G, x, A), P = U ? oe : G, {
|
|
959
|
+
limit: H
|
|
960
|
+
} = En(j, P, f), X = zt(Ie(P), m, f), W = X.clone(), O = Ae(n), k = ({
|
|
961
|
+
dragHandler: be,
|
|
962
|
+
scrollBody: je,
|
|
963
|
+
scrollBounds: Fe,
|
|
964
|
+
options: {
|
|
965
|
+
loop: Le
|
|
966
|
+
}
|
|
967
|
+
}) => {
|
|
968
|
+
Le || Fe.constrain(be.pointerDown()), je.seek();
|
|
969
|
+
}, R = ({
|
|
970
|
+
scrollBody: be,
|
|
971
|
+
translate: je,
|
|
972
|
+
location: Fe,
|
|
973
|
+
offsetLocation: Le,
|
|
974
|
+
previousLocation: Zt,
|
|
975
|
+
scrollLooper: Yt,
|
|
976
|
+
slideLooper: en,
|
|
977
|
+
dragHandler: tn,
|
|
978
|
+
animation: nn,
|
|
979
|
+
eventHandler: st,
|
|
980
|
+
scrollBounds: rn,
|
|
981
|
+
options: {
|
|
982
|
+
loop: it
|
|
983
|
+
}
|
|
984
|
+
}, at) => {
|
|
985
|
+
const ct = be.settled(), on = !rn.shouldConstrain(), lt = it ? ct : ct && on, ut = lt && !tn.pointerDown();
|
|
986
|
+
ut && nn.stop();
|
|
987
|
+
const sn = Fe.get() * at + Zt.get() * (1 - at);
|
|
988
|
+
Le.set(sn), it && (Yt.loop(be.direction()), en.loop()), je.to(Le.get()), ut && st.emit("settle"), lt || st.emit("scroll");
|
|
989
|
+
}, B = bn(r, o, () => k(De), (be) => R(De, be)), J = 0.68, se = P[X.get()], ie = Se(se), fe = Se(se), ue = Se(se), me = Se(se), we = Sn(ie, ue, fe, me, g, J), Re = Nn(f, P, j, H, me), Ve = Pn(B, X, W, we, Re, me, i), nt = In(H), rt = ze(), Qt = Vn(t, n, i, p), {
|
|
990
|
+
slideRegistry: ot
|
|
991
|
+
} = Mn(U, x, P, le, Y, O), Xt = Tn(e, n, ot, Ve, we, rt, i, I), De = {
|
|
992
|
+
ownerDocument: r,
|
|
993
|
+
ownerWindow: o,
|
|
994
|
+
eventHandler: i,
|
|
995
|
+
containerRect: z,
|
|
996
|
+
slideRects: D,
|
|
997
|
+
animation: B,
|
|
998
|
+
axis: T,
|
|
999
|
+
dragHandler: xn(T, e, r, o, me, yn(T, o), ie, B, Ve, we, Re, X, i, Z, y, d, u, J, N),
|
|
1000
|
+
eventStore: rt,
|
|
1001
|
+
percentOfView: Z,
|
|
1002
|
+
index: X,
|
|
1003
|
+
indexPrevious: W,
|
|
1004
|
+
limit: H,
|
|
1005
|
+
location: ie,
|
|
1006
|
+
offsetLocation: ue,
|
|
1007
|
+
previousLocation: fe,
|
|
1008
|
+
options: s,
|
|
1009
|
+
resizeHandler: kn(t, i, o, n, T, S, h),
|
|
1010
|
+
scrollBody: we,
|
|
1011
|
+
scrollBounds: Cn(H, ue, me, we, Z),
|
|
1012
|
+
scrollLooper: zn(j, H, ue, [ie, ue, fe, me]),
|
|
1013
|
+
scrollProgress: nt,
|
|
1014
|
+
scrollSnapList: P.map(nt.get),
|
|
1015
|
+
scrollSnaps: P,
|
|
1016
|
+
scrollTarget: Re,
|
|
1017
|
+
scrollTo: Ve,
|
|
1018
|
+
slideLooper: On(T, $, j, K, C, re, P, ue, n),
|
|
1019
|
+
slideFocus: Xt,
|
|
1020
|
+
slidesHandler: Rn(t, i, L),
|
|
1021
|
+
slidesInView: Qt,
|
|
1022
|
+
slideIndexes: O,
|
|
1023
|
+
slideRegistry: ot,
|
|
1024
|
+
slidesToScroll: Y,
|
|
1025
|
+
target: me,
|
|
1026
|
+
translate: It(T, t)
|
|
1027
|
+
};
|
|
1028
|
+
return De;
|
|
1029
|
+
}
|
|
1030
|
+
function Gn() {
|
|
1031
|
+
let e = {}, t;
|
|
1032
|
+
function n(l) {
|
|
1033
|
+
t = l;
|
|
1034
|
+
}
|
|
1035
|
+
function r(l) {
|
|
1036
|
+
return e[l] || [];
|
|
1037
|
+
}
|
|
1038
|
+
function o(l) {
|
|
1039
|
+
return r(l).forEach((m) => m(t, l)), a;
|
|
1040
|
+
}
|
|
1041
|
+
function s(l, m) {
|
|
1042
|
+
return e[l] = r(l).concat([m]), a;
|
|
1043
|
+
}
|
|
1044
|
+
function i(l, m) {
|
|
1045
|
+
return e[l] = r(l).filter((f) => f !== m), a;
|
|
1046
|
+
}
|
|
1047
|
+
function c() {
|
|
1048
|
+
e = {};
|
|
1049
|
+
}
|
|
1050
|
+
const a = {
|
|
1051
|
+
init: n,
|
|
1052
|
+
emit: o,
|
|
1053
|
+
off: i,
|
|
1054
|
+
on: s,
|
|
1055
|
+
clear: c
|
|
1056
|
+
};
|
|
1057
|
+
return a;
|
|
1058
|
+
}
|
|
1059
|
+
const Bn = {
|
|
1060
|
+
align: "center",
|
|
1061
|
+
axis: "x",
|
|
1062
|
+
container: null,
|
|
1063
|
+
slides: null,
|
|
1064
|
+
containScroll: "trimSnaps",
|
|
1065
|
+
direction: "ltr",
|
|
1066
|
+
slidesToScroll: 1,
|
|
1067
|
+
inViewThreshold: 0,
|
|
1068
|
+
breakpoints: {},
|
|
1069
|
+
dragFree: !1,
|
|
1070
|
+
dragThreshold: 10,
|
|
1071
|
+
loop: !1,
|
|
1072
|
+
skipSnaps: !1,
|
|
1073
|
+
duration: 25,
|
|
1074
|
+
startIndex: 0,
|
|
1075
|
+
active: !0,
|
|
1076
|
+
watchDrag: !0,
|
|
1077
|
+
watchResize: !0,
|
|
1078
|
+
watchSlides: !0,
|
|
1079
|
+
watchFocus: !0
|
|
1080
|
+
};
|
|
1081
|
+
function $n(e) {
|
|
1082
|
+
function t(s, i) {
|
|
1083
|
+
return Et(s, i || {});
|
|
1084
|
+
}
|
|
1085
|
+
function n(s) {
|
|
1086
|
+
const i = s.breakpoints || {}, c = Ee(i).filter((a) => e.matchMedia(a).matches).map((a) => i[a]).reduce((a, l) => t(a, l), {});
|
|
1087
|
+
return t(s, c);
|
|
1088
|
+
}
|
|
1089
|
+
function r(s) {
|
|
1090
|
+
return s.map((i) => Ee(i.breakpoints || {})).reduce((i, c) => i.concat(c), []).map(e.matchMedia);
|
|
1091
|
+
}
|
|
1092
|
+
return {
|
|
1093
|
+
mergeOptions: t,
|
|
1094
|
+
optionsAtMedia: n,
|
|
1095
|
+
optionsMediaQueries: r
|
|
1096
|
+
};
|
|
1097
|
+
}
|
|
1098
|
+
function _n(e) {
|
|
1099
|
+
let t = [];
|
|
1100
|
+
function n(s, i) {
|
|
1101
|
+
return t = i.filter(({
|
|
1102
|
+
options: c
|
|
1103
|
+
}) => e.optionsAtMedia(c).active !== !1), t.forEach((c) => c.init(s, e)), i.reduce((c, a) => Object.assign(c, {
|
|
1104
|
+
[a.name]: a
|
|
1105
|
+
}), {});
|
|
1106
|
+
}
|
|
1107
|
+
function r() {
|
|
1108
|
+
t = t.filter((s) => s.destroy());
|
|
1109
|
+
}
|
|
1110
|
+
return {
|
|
1111
|
+
init: n,
|
|
1112
|
+
destroy: r
|
|
1113
|
+
};
|
|
1114
|
+
}
|
|
1115
|
+
function Pe(e, t, n) {
|
|
1116
|
+
const r = e.ownerDocument, o = r.defaultView, s = $n(o), i = _n(s), c = ze(), a = Gn(), {
|
|
1117
|
+
mergeOptions: l,
|
|
1118
|
+
optionsAtMedia: m,
|
|
1119
|
+
optionsMediaQueries: f
|
|
1120
|
+
} = s, {
|
|
1121
|
+
on: g,
|
|
1122
|
+
off: y,
|
|
1123
|
+
emit: d
|
|
1124
|
+
} = a, p = T;
|
|
1125
|
+
let b = !1, u, x = l(Bn, Pe.globalOptions), S = l(x), L = [], N, I, A;
|
|
1126
|
+
function h() {
|
|
1127
|
+
const {
|
|
1128
|
+
container: O,
|
|
1129
|
+
slides: k
|
|
1130
|
+
} = S;
|
|
1131
|
+
I = (He(O) ? e.querySelector(O) : O) || e.children[0];
|
|
1132
|
+
const B = He(k) ? I.querySelectorAll(k) : k;
|
|
1133
|
+
A = [].slice.call(B || I.children);
|
|
1134
|
+
}
|
|
1135
|
+
function z(O) {
|
|
1136
|
+
const k = Fn(e, I, A, r, o, O, a);
|
|
1137
|
+
if (O.loop && !k.slideLooper.canLoop()) {
|
|
1138
|
+
const R = Object.assign({}, O, {
|
|
1139
|
+
loop: !1
|
|
1140
|
+
});
|
|
1141
|
+
return z(R);
|
|
1142
|
+
}
|
|
1143
|
+
return k;
|
|
1144
|
+
}
|
|
1145
|
+
function D(O, k) {
|
|
1146
|
+
b || (x = l(x, O), S = m(x), L = k || L, h(), u = z(S), f([x, ...L.map(({
|
|
1147
|
+
options: R
|
|
1148
|
+
}) => R)]).forEach((R) => c.add(R, "change", T)), S.active && (u.translate.to(u.location.get()), u.animation.init(), u.slidesInView.init(), u.slideFocus.init(W), u.eventHandler.init(W), u.resizeHandler.init(W), u.slidesHandler.init(W), u.options.loop && u.slideLooper.loop(), I.offsetParent && A.length && u.dragHandler.init(W), N = i.init(W, L)));
|
|
1149
|
+
}
|
|
1150
|
+
function T(O, k) {
|
|
1151
|
+
const R = Y();
|
|
1152
|
+
$(), D(l({
|
|
1153
|
+
startIndex: R
|
|
1154
|
+
}, O), k), a.emit("reInit");
|
|
1155
|
+
}
|
|
1156
|
+
function $() {
|
|
1157
|
+
u.dragHandler.destroy(), u.eventStore.clear(), u.translate.clear(), u.slideLooper.clear(), u.resizeHandler.destroy(), u.slidesHandler.destroy(), u.slidesInView.destroy(), u.animation.destroy(), i.destroy(), c.clear();
|
|
1158
|
+
}
|
|
1159
|
+
function Z() {
|
|
1160
|
+
b || (b = !0, c.clear(), $(), a.emit("destroy"), a.clear());
|
|
1161
|
+
}
|
|
1162
|
+
function Q(O, k, R) {
|
|
1163
|
+
!S.active || b || (u.scrollBody.useBaseFriction().useDuration(k === !0 ? 0 : S.duration), u.scrollTo.index(O, R || 0));
|
|
1164
|
+
}
|
|
1165
|
+
function U(O) {
|
|
1166
|
+
const k = u.index.add(1).get();
|
|
1167
|
+
Q(k, O, -1);
|
|
1168
|
+
}
|
|
1169
|
+
function q(O) {
|
|
1170
|
+
const k = u.index.add(-1).get();
|
|
1171
|
+
Q(k, O, 1);
|
|
1172
|
+
}
|
|
1173
|
+
function K() {
|
|
1174
|
+
return u.index.add(1).get() !== Y();
|
|
1175
|
+
}
|
|
1176
|
+
function C() {
|
|
1177
|
+
return u.index.add(-1).get() !== Y();
|
|
1178
|
+
}
|
|
1179
|
+
function ee() {
|
|
1180
|
+
return u.scrollSnapList;
|
|
1181
|
+
}
|
|
1182
|
+
function ce() {
|
|
1183
|
+
return u.scrollProgress.get(u.offsetLocation.get());
|
|
1184
|
+
}
|
|
1185
|
+
function Y() {
|
|
1186
|
+
return u.index.get();
|
|
1187
|
+
}
|
|
1188
|
+
function re() {
|
|
1189
|
+
return u.indexPrevious.get();
|
|
1190
|
+
}
|
|
1191
|
+
function G() {
|
|
1192
|
+
return u.slidesInView.get();
|
|
1193
|
+
}
|
|
1194
|
+
function j() {
|
|
1195
|
+
return u.slidesInView.get(!1);
|
|
1196
|
+
}
|
|
1197
|
+
function oe() {
|
|
1198
|
+
return N;
|
|
1199
|
+
}
|
|
1200
|
+
function le() {
|
|
1201
|
+
return u;
|
|
1202
|
+
}
|
|
1203
|
+
function P() {
|
|
1204
|
+
return e;
|
|
1205
|
+
}
|
|
1206
|
+
function H() {
|
|
1207
|
+
return I;
|
|
1208
|
+
}
|
|
1209
|
+
function X() {
|
|
1210
|
+
return A;
|
|
1211
|
+
}
|
|
1212
|
+
const W = {
|
|
1213
|
+
canScrollNext: K,
|
|
1214
|
+
canScrollPrev: C,
|
|
1215
|
+
containerNode: H,
|
|
1216
|
+
internalEngine: le,
|
|
1217
|
+
destroy: Z,
|
|
1218
|
+
off: y,
|
|
1219
|
+
on: g,
|
|
1220
|
+
emit: d,
|
|
1221
|
+
plugins: oe,
|
|
1222
|
+
previousScrollSnap: re,
|
|
1223
|
+
reInit: p,
|
|
1224
|
+
rootNode: P,
|
|
1225
|
+
scrollNext: U,
|
|
1226
|
+
scrollPrev: q,
|
|
1227
|
+
scrollProgress: ce,
|
|
1228
|
+
scrollSnapList: ee,
|
|
1229
|
+
scrollTo: Q,
|
|
1230
|
+
selectedScrollSnap: Y,
|
|
1231
|
+
slideNodes: X,
|
|
1232
|
+
slidesInView: G,
|
|
1233
|
+
slidesNotInView: j
|
|
1234
|
+
};
|
|
1235
|
+
return D(t, n), setTimeout(() => a.emit("init"), 0), W;
|
|
1236
|
+
}
|
|
1237
|
+
Pe.globalOptions = void 0;
|
|
1238
|
+
function et(e = {}, t = []) {
|
|
1239
|
+
const n = dt(e), r = dt(t), [o, s] = ft(), [i, c] = ft(), a = an(() => {
|
|
1240
|
+
o && o.reInit(n.current, r.current);
|
|
1241
|
+
}, [o]);
|
|
1242
|
+
return Ge(() => {
|
|
1243
|
+
Qe(n.current, e) || (n.current = e, a());
|
|
1244
|
+
}, [e, a]), Ge(() => {
|
|
1245
|
+
fn(r.current, t) || (r.current = t, a());
|
|
1246
|
+
}, [t, a]), Ge(() => {
|
|
1247
|
+
if (dn() && i) {
|
|
1248
|
+
Pe.globalOptions = et.globalOptions;
|
|
1249
|
+
const l = Pe(i, n.current, r.current);
|
|
1250
|
+
return s(l), () => l.destroy();
|
|
1251
|
+
} else
|
|
1252
|
+
s(void 0);
|
|
1253
|
+
}, [i, s]), [c, o];
|
|
1254
|
+
}
|
|
1255
|
+
et.globalOptions = void 0;
|
|
1256
|
+
/**
|
|
1257
|
+
* @license lucide-react v0.539.0 - ISC
|
|
1258
|
+
*
|
|
1259
|
+
* This source code is licensed under the ISC license.
|
|
1260
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
1261
|
+
*/
|
|
1262
|
+
const Hn = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Un = (e) => e.replace(
|
|
1263
|
+
/^([A-Z])|[\s-_]+(\w)/g,
|
|
1264
|
+
(t, n, r) => r ? r.toUpperCase() : n.toLowerCase()
|
|
1265
|
+
), ht = (e) => {
|
|
1266
|
+
const t = Un(e);
|
|
1267
|
+
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
1268
|
+
}, Lt = (...e) => e.filter((t, n, r) => !!t && t.trim() !== "" && r.indexOf(t) === n).join(" ").trim(), qn = (e) => {
|
|
1269
|
+
for (const t in e)
|
|
1270
|
+
if (t.startsWith("aria-") || t === "role" || t === "title")
|
|
1271
|
+
return !0;
|
|
1272
|
+
};
|
|
1273
|
+
/**
|
|
1274
|
+
* @license lucide-react v0.539.0 - ISC
|
|
1275
|
+
*
|
|
1276
|
+
* This source code is licensed under the ISC license.
|
|
1277
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
1278
|
+
*/
|
|
1279
|
+
var Wn = {
|
|
1280
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1281
|
+
width: 24,
|
|
1282
|
+
height: 24,
|
|
1283
|
+
viewBox: "0 0 24 24",
|
|
1284
|
+
fill: "none",
|
|
1285
|
+
stroke: "currentColor",
|
|
1286
|
+
strokeWidth: 2,
|
|
1287
|
+
strokeLinecap: "round",
|
|
1288
|
+
strokeLinejoin: "round"
|
|
1289
|
+
};
|
|
1290
|
+
/**
|
|
1291
|
+
* @license lucide-react v0.539.0 - ISC
|
|
1292
|
+
*
|
|
1293
|
+
* This source code is licensed under the ISC license.
|
|
1294
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
1295
|
+
*/
|
|
1296
|
+
const Kn = At(
|
|
1297
|
+
({
|
|
1298
|
+
color: e = "currentColor",
|
|
1299
|
+
size: t = 24,
|
|
1300
|
+
strokeWidth: n = 2,
|
|
1301
|
+
absoluteStrokeWidth: r,
|
|
1302
|
+
className: o = "",
|
|
1303
|
+
children: s,
|
|
1304
|
+
iconNode: i,
|
|
1305
|
+
...c
|
|
1306
|
+
}, a) => _e(
|
|
1307
|
+
"svg",
|
|
1308
|
+
{
|
|
1309
|
+
ref: a,
|
|
1310
|
+
...Wn,
|
|
1311
|
+
width: t,
|
|
1312
|
+
height: t,
|
|
1313
|
+
stroke: e,
|
|
1314
|
+
strokeWidth: r ? Number(n) * 24 / Number(t) : n,
|
|
1315
|
+
className: Lt("lucide", o),
|
|
1316
|
+
...!s && !qn(c) && { "aria-hidden": "true" },
|
|
1317
|
+
...c
|
|
1318
|
+
},
|
|
1319
|
+
[
|
|
1320
|
+
...i.map(([l, m]) => _e(l, m)),
|
|
1321
|
+
...Array.isArray(s) ? s : [s]
|
|
1322
|
+
]
|
|
1323
|
+
)
|
|
1324
|
+
);
|
|
1325
|
+
/**
|
|
1326
|
+
* @license lucide-react v0.539.0 - ISC
|
|
1327
|
+
*
|
|
1328
|
+
* This source code is licensed under the ISC license.
|
|
1329
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
1330
|
+
*/
|
|
1331
|
+
const Mt = (e, t) => {
|
|
1332
|
+
const n = At(
|
|
1333
|
+
({ className: r, ...o }, s) => _e(Kn, {
|
|
1334
|
+
ref: s,
|
|
1335
|
+
iconNode: t,
|
|
1336
|
+
className: Lt(
|
|
1337
|
+
`lucide-${Hn(ht(e))}`,
|
|
1338
|
+
`lucide-${e}`,
|
|
1339
|
+
r
|
|
1340
|
+
),
|
|
1341
|
+
...o
|
|
1342
|
+
})
|
|
1343
|
+
);
|
|
1344
|
+
return n.displayName = ht(e), n;
|
|
1345
|
+
};
|
|
1346
|
+
/**
|
|
1347
|
+
* @license lucide-react v0.539.0 - ISC
|
|
1348
|
+
*
|
|
1349
|
+
* This source code is licensed under the ISC license.
|
|
1350
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
1351
|
+
*/
|
|
1352
|
+
const Jn = [
|
|
1353
|
+
["path", { d: "m12 19-7-7 7-7", key: "1l729n" }],
|
|
1354
|
+
["path", { d: "M19 12H5", key: "x3x0zl" }]
|
|
1355
|
+
], Qn = Mt("arrow-left", Jn);
|
|
1356
|
+
/**
|
|
1357
|
+
* @license lucide-react v0.539.0 - ISC
|
|
1358
|
+
*
|
|
1359
|
+
* This source code is licensed under the ISC license.
|
|
1360
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
1361
|
+
*/
|
|
1362
|
+
const Xn = [
|
|
1363
|
+
["path", { d: "M5 12h14", key: "1ays0h" }],
|
|
1364
|
+
["path", { d: "m12 5 7 7-7 7", key: "xquz4c" }]
|
|
1365
|
+
], Zn = Mt("arrow-right", Xn);
|
|
1366
|
+
function Nt(e) {
|
|
1367
|
+
var t, n, r = "";
|
|
1368
|
+
if (typeof e == "string" || typeof e == "number") r += e;
|
|
1369
|
+
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
1370
|
+
var o = e.length;
|
|
1371
|
+
for (t = 0; t < o; t++) e[t] && (n = Nt(e[t])) && (r && (r += " "), r += n);
|
|
1372
|
+
} else for (n in e) e[n] && (r && (r += " "), r += n);
|
|
1373
|
+
return r;
|
|
1374
|
+
}
|
|
1375
|
+
function Pt() {
|
|
1376
|
+
for (var e, t, n = 0, r = "", o = arguments.length; n < o; n++) (e = arguments[n]) && (t = Nt(e)) && (r && (r += " "), r += t);
|
|
1377
|
+
return r;
|
|
1378
|
+
}
|
|
1379
|
+
const tt = "-", Yn = (e) => {
|
|
1380
|
+
const t = tr(e), {
|
|
1381
|
+
conflictingClassGroups: n,
|
|
1382
|
+
conflictingClassGroupModifiers: r
|
|
1383
|
+
} = e;
|
|
1384
|
+
return {
|
|
1385
|
+
getClassGroupId: (i) => {
|
|
1386
|
+
const c = i.split(tt);
|
|
1387
|
+
return c[0] === "" && c.length !== 1 && c.shift(), Tt(c, t) || er(i);
|
|
1388
|
+
},
|
|
1389
|
+
getConflictingClassGroupIds: (i, c) => {
|
|
1390
|
+
const a = n[i] || [];
|
|
1391
|
+
return c && r[i] ? [...a, ...r[i]] : a;
|
|
1392
|
+
}
|
|
1393
|
+
};
|
|
1394
|
+
}, Tt = (e, t) => {
|
|
1395
|
+
var i;
|
|
1396
|
+
if (e.length === 0)
|
|
1397
|
+
return t.classGroupId;
|
|
1398
|
+
const n = e[0], r = t.nextPart.get(n), o = r ? Tt(e.slice(1), r) : void 0;
|
|
1399
|
+
if (o)
|
|
1400
|
+
return o;
|
|
1401
|
+
if (t.validators.length === 0)
|
|
1402
|
+
return;
|
|
1403
|
+
const s = e.join(tt);
|
|
1404
|
+
return (i = t.validators.find(({
|
|
1405
|
+
validator: c
|
|
1406
|
+
}) => c(s))) == null ? void 0 : i.classGroupId;
|
|
1407
|
+
}, xt = /^\[(.+)\]$/, er = (e) => {
|
|
1408
|
+
if (xt.test(e)) {
|
|
1409
|
+
const t = xt.exec(e)[1], n = t == null ? void 0 : t.substring(0, t.indexOf(":"));
|
|
1410
|
+
if (n)
|
|
1411
|
+
return "arbitrary.." + n;
|
|
1412
|
+
}
|
|
1413
|
+
}, tr = (e) => {
|
|
1414
|
+
const {
|
|
1415
|
+
theme: t,
|
|
1416
|
+
classGroups: n
|
|
1417
|
+
} = e, r = {
|
|
1418
|
+
nextPart: /* @__PURE__ */ new Map(),
|
|
1419
|
+
validators: []
|
|
1420
|
+
};
|
|
1421
|
+
for (const o in n)
|
|
1422
|
+
qe(n[o], r, o, t);
|
|
1423
|
+
return r;
|
|
1424
|
+
}, qe = (e, t, n, r) => {
|
|
1425
|
+
e.forEach((o) => {
|
|
1426
|
+
if (typeof o == "string") {
|
|
1427
|
+
const s = o === "" ? t : yt(t, o);
|
|
1428
|
+
s.classGroupId = n;
|
|
1429
|
+
return;
|
|
1430
|
+
}
|
|
1431
|
+
if (typeof o == "function") {
|
|
1432
|
+
if (nr(o)) {
|
|
1433
|
+
qe(o(r), t, n, r);
|
|
1434
|
+
return;
|
|
1435
|
+
}
|
|
1436
|
+
t.validators.push({
|
|
1437
|
+
validator: o,
|
|
1438
|
+
classGroupId: n
|
|
1439
|
+
});
|
|
1440
|
+
return;
|
|
1441
|
+
}
|
|
1442
|
+
Object.entries(o).forEach(([s, i]) => {
|
|
1443
|
+
qe(i, yt(t, s), n, r);
|
|
1444
|
+
});
|
|
1445
|
+
});
|
|
1446
|
+
}, yt = (e, t) => {
|
|
1447
|
+
let n = e;
|
|
1448
|
+
return t.split(tt).forEach((r) => {
|
|
1449
|
+
n.nextPart.has(r) || n.nextPart.set(r, {
|
|
1450
|
+
nextPart: /* @__PURE__ */ new Map(),
|
|
1451
|
+
validators: []
|
|
1452
|
+
}), n = n.nextPart.get(r);
|
|
1453
|
+
}), n;
|
|
1454
|
+
}, nr = (e) => e.isThemeGetter, rr = (e) => {
|
|
1455
|
+
if (e < 1)
|
|
1456
|
+
return {
|
|
1457
|
+
get: () => {
|
|
1458
|
+
},
|
|
1459
|
+
set: () => {
|
|
1460
|
+
}
|
|
1461
|
+
};
|
|
1462
|
+
let t = 0, n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map();
|
|
1463
|
+
const o = (s, i) => {
|
|
1464
|
+
n.set(s, i), t++, t > e && (t = 0, r = n, n = /* @__PURE__ */ new Map());
|
|
1465
|
+
};
|
|
1466
|
+
return {
|
|
1467
|
+
get(s) {
|
|
1468
|
+
let i = n.get(s);
|
|
1469
|
+
if (i !== void 0)
|
|
1470
|
+
return i;
|
|
1471
|
+
if ((i = r.get(s)) !== void 0)
|
|
1472
|
+
return o(s, i), i;
|
|
1473
|
+
},
|
|
1474
|
+
set(s, i) {
|
|
1475
|
+
n.has(s) ? n.set(s, i) : o(s, i);
|
|
1476
|
+
}
|
|
1477
|
+
};
|
|
1478
|
+
}, We = "!", Ke = ":", or = Ke.length, sr = (e) => {
|
|
1479
|
+
const {
|
|
1480
|
+
prefix: t,
|
|
1481
|
+
experimentalParseClassName: n
|
|
1482
|
+
} = e;
|
|
1483
|
+
let r = (o) => {
|
|
1484
|
+
const s = [];
|
|
1485
|
+
let i = 0, c = 0, a = 0, l;
|
|
1486
|
+
for (let d = 0; d < o.length; d++) {
|
|
1487
|
+
let p = o[d];
|
|
1488
|
+
if (i === 0 && c === 0) {
|
|
1489
|
+
if (p === Ke) {
|
|
1490
|
+
s.push(o.slice(a, d)), a = d + or;
|
|
1491
|
+
continue;
|
|
1492
|
+
}
|
|
1493
|
+
if (p === "/") {
|
|
1494
|
+
l = d;
|
|
1495
|
+
continue;
|
|
1496
|
+
}
|
|
1497
|
+
}
|
|
1498
|
+
p === "[" ? i++ : p === "]" ? i-- : p === "(" ? c++ : p === ")" && c--;
|
|
1499
|
+
}
|
|
1500
|
+
const m = s.length === 0 ? o : o.substring(a), f = ir(m), g = f !== m, y = l && l > a ? l - a : void 0;
|
|
1501
|
+
return {
|
|
1502
|
+
modifiers: s,
|
|
1503
|
+
hasImportantModifier: g,
|
|
1504
|
+
baseClassName: f,
|
|
1505
|
+
maybePostfixModifierPosition: y
|
|
1506
|
+
};
|
|
1507
|
+
};
|
|
1508
|
+
if (t) {
|
|
1509
|
+
const o = t + Ke, s = r;
|
|
1510
|
+
r = (i) => i.startsWith(o) ? s(i.substring(o.length)) : {
|
|
1511
|
+
isExternal: !0,
|
|
1512
|
+
modifiers: [],
|
|
1513
|
+
hasImportantModifier: !1,
|
|
1514
|
+
baseClassName: i,
|
|
1515
|
+
maybePostfixModifierPosition: void 0
|
|
1516
|
+
};
|
|
1517
|
+
}
|
|
1518
|
+
if (n) {
|
|
1519
|
+
const o = r;
|
|
1520
|
+
r = (s) => n({
|
|
1521
|
+
className: s,
|
|
1522
|
+
parseClassName: o
|
|
1523
|
+
});
|
|
1524
|
+
}
|
|
1525
|
+
return r;
|
|
1526
|
+
}, ir = (e) => e.endsWith(We) ? e.substring(0, e.length - 1) : e.startsWith(We) ? e.substring(1) : e, ar = (e) => {
|
|
1527
|
+
const t = Object.fromEntries(e.orderSensitiveModifiers.map((r) => [r, !0]));
|
|
1528
|
+
return (r) => {
|
|
1529
|
+
if (r.length <= 1)
|
|
1530
|
+
return r;
|
|
1531
|
+
const o = [];
|
|
1532
|
+
let s = [];
|
|
1533
|
+
return r.forEach((i) => {
|
|
1534
|
+
i[0] === "[" || t[i] ? (o.push(...s.sort(), i), s = []) : s.push(i);
|
|
1535
|
+
}), o.push(...s.sort()), o;
|
|
1536
|
+
};
|
|
1537
|
+
}, cr = (e) => ({
|
|
1538
|
+
cache: rr(e.cacheSize),
|
|
1539
|
+
parseClassName: sr(e),
|
|
1540
|
+
sortModifiers: ar(e),
|
|
1541
|
+
...Yn(e)
|
|
1542
|
+
}), lr = /\s+/, ur = (e, t) => {
|
|
1543
|
+
const {
|
|
1544
|
+
parseClassName: n,
|
|
1545
|
+
getClassGroupId: r,
|
|
1546
|
+
getConflictingClassGroupIds: o,
|
|
1547
|
+
sortModifiers: s
|
|
1548
|
+
} = t, i = [], c = e.trim().split(lr);
|
|
1549
|
+
let a = "";
|
|
1550
|
+
for (let l = c.length - 1; l >= 0; l -= 1) {
|
|
1551
|
+
const m = c[l], {
|
|
1552
|
+
isExternal: f,
|
|
1553
|
+
modifiers: g,
|
|
1554
|
+
hasImportantModifier: y,
|
|
1555
|
+
baseClassName: d,
|
|
1556
|
+
maybePostfixModifierPosition: p
|
|
1557
|
+
} = n(m);
|
|
1558
|
+
if (f) {
|
|
1559
|
+
a = m + (a.length > 0 ? " " + a : a);
|
|
1560
|
+
continue;
|
|
1561
|
+
}
|
|
1562
|
+
let b = !!p, u = r(b ? d.substring(0, p) : d);
|
|
1563
|
+
if (!u) {
|
|
1564
|
+
if (!b) {
|
|
1565
|
+
a = m + (a.length > 0 ? " " + a : a);
|
|
1566
|
+
continue;
|
|
1567
|
+
}
|
|
1568
|
+
if (u = r(d), !u) {
|
|
1569
|
+
a = m + (a.length > 0 ? " " + a : a);
|
|
1570
|
+
continue;
|
|
1571
|
+
}
|
|
1572
|
+
b = !1;
|
|
1573
|
+
}
|
|
1574
|
+
const x = s(g).join(":"), S = y ? x + We : x, L = S + u;
|
|
1575
|
+
if (i.includes(L))
|
|
1576
|
+
continue;
|
|
1577
|
+
i.push(L);
|
|
1578
|
+
const N = o(u, b);
|
|
1579
|
+
for (let I = 0; I < N.length; ++I) {
|
|
1580
|
+
const A = N[I];
|
|
1581
|
+
i.push(S + A);
|
|
1582
|
+
}
|
|
1583
|
+
a = m + (a.length > 0 ? " " + a : a);
|
|
1584
|
+
}
|
|
1585
|
+
return a;
|
|
1586
|
+
};
|
|
1587
|
+
function dr() {
|
|
1588
|
+
let e = 0, t, n, r = "";
|
|
1589
|
+
for (; e < arguments.length; )
|
|
1590
|
+
(t = arguments[e++]) && (n = Ot(t)) && (r && (r += " "), r += n);
|
|
1591
|
+
return r;
|
|
1592
|
+
}
|
|
1593
|
+
const Ot = (e) => {
|
|
1594
|
+
if (typeof e == "string")
|
|
1595
|
+
return e;
|
|
1596
|
+
let t, n = "";
|
|
1597
|
+
for (let r = 0; r < e.length; r++)
|
|
1598
|
+
e[r] && (t = Ot(e[r])) && (n && (n += " "), n += t);
|
|
1599
|
+
return n;
|
|
1600
|
+
};
|
|
1601
|
+
function fr(e, ...t) {
|
|
1602
|
+
let n, r, o, s = i;
|
|
1603
|
+
function i(a) {
|
|
1604
|
+
const l = t.reduce((m, f) => f(m), e());
|
|
1605
|
+
return n = cr(l), r = n.cache.get, o = n.cache.set, s = c, c(a);
|
|
1606
|
+
}
|
|
1607
|
+
function c(a) {
|
|
1608
|
+
const l = r(a);
|
|
1609
|
+
if (l)
|
|
1610
|
+
return l;
|
|
1611
|
+
const m = ur(a, n);
|
|
1612
|
+
return o(a, m), m;
|
|
1613
|
+
}
|
|
1614
|
+
return function() {
|
|
1615
|
+
return s(dr.apply(null, arguments));
|
|
1616
|
+
};
|
|
1617
|
+
}
|
|
1618
|
+
const _ = (e) => {
|
|
1619
|
+
const t = (n) => n[e] || [];
|
|
1620
|
+
return t.isThemeGetter = !0, t;
|
|
1621
|
+
}, Rt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Vt = /^\((?:(\w[\w-]*):)?(.+)\)$/i, mr = /^\d+\/\d+$/, pr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, gr = /\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$/, br = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, hr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, xr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, he = (e) => mr.test(e), E = (e) => !!e && !Number.isNaN(Number(e)), de = (e) => !!e && Number.isInteger(Number(e)), Be = (e) => e.endsWith("%") && E(e.slice(0, -1)), ae = (e) => pr.test(e), yr = () => !0, vr = (e) => (
|
|
1622
|
+
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
1623
|
+
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
1624
|
+
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
1625
|
+
gr.test(e) && !br.test(e)
|
|
1626
|
+
), Dt = () => !1, wr = (e) => hr.test(e), kr = (e) => xr.test(e), Sr = (e) => !v(e) && !w(e), Cr = (e) => xe(e, Gt, Dt), v = (e) => Rt.test(e), pe = (e) => xe(e, Bt, vr), $e = (e) => xe(e, Lr, E), vt = (e) => xe(e, jt, Dt), Ar = (e) => xe(e, Ft, kr), Me = (e) => xe(e, $t, wr), w = (e) => Vt.test(e), ke = (e) => ye(e, Bt), Er = (e) => ye(e, Mr), wt = (e) => ye(e, jt), zr = (e) => ye(e, Gt), Ir = (e) => ye(e, Ft), Ne = (e) => ye(e, $t, !0), xe = (e, t, n) => {
|
|
1627
|
+
const r = Rt.exec(e);
|
|
1628
|
+
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
|
|
1629
|
+
}, ye = (e, t, n = !1) => {
|
|
1630
|
+
const r = Vt.exec(e);
|
|
1631
|
+
return r ? r[1] ? t(r[1]) : n : !1;
|
|
1632
|
+
}, jt = (e) => e === "position" || e === "percentage", Ft = (e) => e === "image" || e === "url", Gt = (e) => e === "length" || e === "size" || e === "bg-size", Bt = (e) => e === "length", Lr = (e) => e === "number", Mr = (e) => e === "family-name", $t = (e) => e === "shadow", Nr = () => {
|
|
1633
|
+
const e = _("color"), t = _("font"), n = _("text"), r = _("font-weight"), o = _("tracking"), s = _("leading"), i = _("breakpoint"), c = _("container"), a = _("spacing"), l = _("radius"), m = _("shadow"), f = _("inset-shadow"), g = _("text-shadow"), y = _("drop-shadow"), d = _("blur"), p = _("perspective"), b = _("aspect"), u = _("ease"), x = _("animate"), S = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], L = () => [
|
|
1634
|
+
"center",
|
|
1635
|
+
"top",
|
|
1636
|
+
"bottom",
|
|
1637
|
+
"left",
|
|
1638
|
+
"right",
|
|
1639
|
+
"top-left",
|
|
1640
|
+
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
1641
|
+
"left-top",
|
|
1642
|
+
"top-right",
|
|
1643
|
+
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
1644
|
+
"right-top",
|
|
1645
|
+
"bottom-right",
|
|
1646
|
+
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
1647
|
+
"right-bottom",
|
|
1648
|
+
"bottom-left",
|
|
1649
|
+
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
1650
|
+
"left-bottom"
|
|
1651
|
+
], N = () => [...L(), w, v], I = () => ["auto", "hidden", "clip", "visible", "scroll"], A = () => ["auto", "contain", "none"], h = () => [w, v, a], z = () => [he, "full", "auto", ...h()], D = () => [de, "none", "subgrid", w, v], T = () => ["auto", {
|
|
1652
|
+
span: ["full", de, w, v]
|
|
1653
|
+
}, de, w, v], $ = () => [de, "auto", w, v], Z = () => ["auto", "min", "max", "fr", w, v], Q = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], U = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], q = () => ["auto", ...h()], K = () => [he, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...h()], C = () => [e, w, v], ee = () => [...L(), wt, vt, {
|
|
1654
|
+
position: [w, v]
|
|
1655
|
+
}], ce = () => ["no-repeat", {
|
|
1656
|
+
repeat: ["", "x", "y", "space", "round"]
|
|
1657
|
+
}], Y = () => ["auto", "cover", "contain", zr, Cr, {
|
|
1658
|
+
size: [w, v]
|
|
1659
|
+
}], re = () => [Be, ke, pe], G = () => [
|
|
1660
|
+
// Deprecated since Tailwind CSS v4.0.0
|
|
1661
|
+
"",
|
|
1662
|
+
"none",
|
|
1663
|
+
"full",
|
|
1664
|
+
l,
|
|
1665
|
+
w,
|
|
1666
|
+
v
|
|
1667
|
+
], j = () => ["", E, ke, pe], oe = () => ["solid", "dashed", "dotted", "double"], le = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], P = () => [E, Be, wt, vt], H = () => [
|
|
1668
|
+
// Deprecated since Tailwind CSS v4.0.0
|
|
1669
|
+
"",
|
|
1670
|
+
"none",
|
|
1671
|
+
d,
|
|
1672
|
+
w,
|
|
1673
|
+
v
|
|
1674
|
+
], X = () => ["none", E, w, v], W = () => ["none", E, w, v], O = () => [E, w, v], k = () => [he, "full", ...h()];
|
|
1675
|
+
return {
|
|
1676
|
+
cacheSize: 500,
|
|
1677
|
+
theme: {
|
|
1678
|
+
animate: ["spin", "ping", "pulse", "bounce"],
|
|
1679
|
+
aspect: ["video"],
|
|
1680
|
+
blur: [ae],
|
|
1681
|
+
breakpoint: [ae],
|
|
1682
|
+
color: [yr],
|
|
1683
|
+
container: [ae],
|
|
1684
|
+
"drop-shadow": [ae],
|
|
1685
|
+
ease: ["in", "out", "in-out"],
|
|
1686
|
+
font: [Sr],
|
|
1687
|
+
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
1688
|
+
"inset-shadow": [ae],
|
|
1689
|
+
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
1690
|
+
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
1691
|
+
radius: [ae],
|
|
1692
|
+
shadow: [ae],
|
|
1693
|
+
spacing: ["px", E],
|
|
1694
|
+
text: [ae],
|
|
1695
|
+
"text-shadow": [ae],
|
|
1696
|
+
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
1697
|
+
},
|
|
1698
|
+
classGroups: {
|
|
1699
|
+
// --------------
|
|
1700
|
+
// --- Layout ---
|
|
1701
|
+
// --------------
|
|
1702
|
+
/**
|
|
1703
|
+
* Aspect Ratio
|
|
1704
|
+
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
1705
|
+
*/
|
|
1706
|
+
aspect: [{
|
|
1707
|
+
aspect: ["auto", "square", he, v, w, b]
|
|
1708
|
+
}],
|
|
1709
|
+
/**
|
|
1710
|
+
* Container
|
|
1711
|
+
* @see https://tailwindcss.com/docs/container
|
|
1712
|
+
* @deprecated since Tailwind CSS v4.0.0
|
|
1713
|
+
*/
|
|
1714
|
+
container: ["container"],
|
|
1715
|
+
/**
|
|
1716
|
+
* Columns
|
|
1717
|
+
* @see https://tailwindcss.com/docs/columns
|
|
1718
|
+
*/
|
|
1719
|
+
columns: [{
|
|
1720
|
+
columns: [E, v, w, c]
|
|
1721
|
+
}],
|
|
1722
|
+
/**
|
|
1723
|
+
* Break After
|
|
1724
|
+
* @see https://tailwindcss.com/docs/break-after
|
|
1725
|
+
*/
|
|
1726
|
+
"break-after": [{
|
|
1727
|
+
"break-after": S()
|
|
1728
|
+
}],
|
|
1729
|
+
/**
|
|
1730
|
+
* Break Before
|
|
1731
|
+
* @see https://tailwindcss.com/docs/break-before
|
|
1732
|
+
*/
|
|
1733
|
+
"break-before": [{
|
|
1734
|
+
"break-before": S()
|
|
1735
|
+
}],
|
|
1736
|
+
/**
|
|
1737
|
+
* Break Inside
|
|
1738
|
+
* @see https://tailwindcss.com/docs/break-inside
|
|
1739
|
+
*/
|
|
1740
|
+
"break-inside": [{
|
|
1741
|
+
"break-inside": ["auto", "avoid", "avoid-page", "avoid-column"]
|
|
1742
|
+
}],
|
|
1743
|
+
/**
|
|
1744
|
+
* Box Decoration Break
|
|
1745
|
+
* @see https://tailwindcss.com/docs/box-decoration-break
|
|
1746
|
+
*/
|
|
1747
|
+
"box-decoration": [{
|
|
1748
|
+
"box-decoration": ["slice", "clone"]
|
|
1749
|
+
}],
|
|
1750
|
+
/**
|
|
1751
|
+
* Box Sizing
|
|
1752
|
+
* @see https://tailwindcss.com/docs/box-sizing
|
|
1753
|
+
*/
|
|
1754
|
+
box: [{
|
|
1755
|
+
box: ["border", "content"]
|
|
1756
|
+
}],
|
|
1757
|
+
/**
|
|
1758
|
+
* Display
|
|
1759
|
+
* @see https://tailwindcss.com/docs/display
|
|
1760
|
+
*/
|
|
1761
|
+
display: ["block", "inline-block", "inline", "flex", "inline-flex", "table", "inline-table", "table-caption", "table-cell", "table-column", "table-column-group", "table-footer-group", "table-header-group", "table-row-group", "table-row", "flow-root", "grid", "inline-grid", "contents", "list-item", "hidden"],
|
|
1762
|
+
/**
|
|
1763
|
+
* Screen Reader Only
|
|
1764
|
+
* @see https://tailwindcss.com/docs/display#screen-reader-only
|
|
1765
|
+
*/
|
|
1766
|
+
sr: ["sr-only", "not-sr-only"],
|
|
1767
|
+
/**
|
|
1768
|
+
* Floats
|
|
1769
|
+
* @see https://tailwindcss.com/docs/float
|
|
1770
|
+
*/
|
|
1771
|
+
float: [{
|
|
1772
|
+
float: ["right", "left", "none", "start", "end"]
|
|
1773
|
+
}],
|
|
1774
|
+
/**
|
|
1775
|
+
* Clear
|
|
1776
|
+
* @see https://tailwindcss.com/docs/clear
|
|
1777
|
+
*/
|
|
1778
|
+
clear: [{
|
|
1779
|
+
clear: ["left", "right", "both", "none", "start", "end"]
|
|
1780
|
+
}],
|
|
1781
|
+
/**
|
|
1782
|
+
* Isolation
|
|
1783
|
+
* @see https://tailwindcss.com/docs/isolation
|
|
1784
|
+
*/
|
|
1785
|
+
isolation: ["isolate", "isolation-auto"],
|
|
1786
|
+
/**
|
|
1787
|
+
* Object Fit
|
|
1788
|
+
* @see https://tailwindcss.com/docs/object-fit
|
|
1789
|
+
*/
|
|
1790
|
+
"object-fit": [{
|
|
1791
|
+
object: ["contain", "cover", "fill", "none", "scale-down"]
|
|
1792
|
+
}],
|
|
1793
|
+
/**
|
|
1794
|
+
* Object Position
|
|
1795
|
+
* @see https://tailwindcss.com/docs/object-position
|
|
1796
|
+
*/
|
|
1797
|
+
"object-position": [{
|
|
1798
|
+
object: N()
|
|
1799
|
+
}],
|
|
1800
|
+
/**
|
|
1801
|
+
* Overflow
|
|
1802
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
1803
|
+
*/
|
|
1804
|
+
overflow: [{
|
|
1805
|
+
overflow: I()
|
|
1806
|
+
}],
|
|
1807
|
+
/**
|
|
1808
|
+
* Overflow X
|
|
1809
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
1810
|
+
*/
|
|
1811
|
+
"overflow-x": [{
|
|
1812
|
+
"overflow-x": I()
|
|
1813
|
+
}],
|
|
1814
|
+
/**
|
|
1815
|
+
* Overflow Y
|
|
1816
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
1817
|
+
*/
|
|
1818
|
+
"overflow-y": [{
|
|
1819
|
+
"overflow-y": I()
|
|
1820
|
+
}],
|
|
1821
|
+
/**
|
|
1822
|
+
* Overscroll Behavior
|
|
1823
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1824
|
+
*/
|
|
1825
|
+
overscroll: [{
|
|
1826
|
+
overscroll: A()
|
|
1827
|
+
}],
|
|
1828
|
+
/**
|
|
1829
|
+
* Overscroll Behavior X
|
|
1830
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1831
|
+
*/
|
|
1832
|
+
"overscroll-x": [{
|
|
1833
|
+
"overscroll-x": A()
|
|
1834
|
+
}],
|
|
1835
|
+
/**
|
|
1836
|
+
* Overscroll Behavior Y
|
|
1837
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1838
|
+
*/
|
|
1839
|
+
"overscroll-y": [{
|
|
1840
|
+
"overscroll-y": A()
|
|
1841
|
+
}],
|
|
1842
|
+
/**
|
|
1843
|
+
* Position
|
|
1844
|
+
* @see https://tailwindcss.com/docs/position
|
|
1845
|
+
*/
|
|
1846
|
+
position: ["static", "fixed", "absolute", "relative", "sticky"],
|
|
1847
|
+
/**
|
|
1848
|
+
* Top / Right / Bottom / Left
|
|
1849
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1850
|
+
*/
|
|
1851
|
+
inset: [{
|
|
1852
|
+
inset: z()
|
|
1853
|
+
}],
|
|
1854
|
+
/**
|
|
1855
|
+
* Right / Left
|
|
1856
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1857
|
+
*/
|
|
1858
|
+
"inset-x": [{
|
|
1859
|
+
"inset-x": z()
|
|
1860
|
+
}],
|
|
1861
|
+
/**
|
|
1862
|
+
* Top / Bottom
|
|
1863
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1864
|
+
*/
|
|
1865
|
+
"inset-y": [{
|
|
1866
|
+
"inset-y": z()
|
|
1867
|
+
}],
|
|
1868
|
+
/**
|
|
1869
|
+
* Start
|
|
1870
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1871
|
+
*/
|
|
1872
|
+
start: [{
|
|
1873
|
+
start: z()
|
|
1874
|
+
}],
|
|
1875
|
+
/**
|
|
1876
|
+
* End
|
|
1877
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1878
|
+
*/
|
|
1879
|
+
end: [{
|
|
1880
|
+
end: z()
|
|
1881
|
+
}],
|
|
1882
|
+
/**
|
|
1883
|
+
* Top
|
|
1884
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1885
|
+
*/
|
|
1886
|
+
top: [{
|
|
1887
|
+
top: z()
|
|
1888
|
+
}],
|
|
1889
|
+
/**
|
|
1890
|
+
* Right
|
|
1891
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1892
|
+
*/
|
|
1893
|
+
right: [{
|
|
1894
|
+
right: z()
|
|
1895
|
+
}],
|
|
1896
|
+
/**
|
|
1897
|
+
* Bottom
|
|
1898
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1899
|
+
*/
|
|
1900
|
+
bottom: [{
|
|
1901
|
+
bottom: z()
|
|
1902
|
+
}],
|
|
1903
|
+
/**
|
|
1904
|
+
* Left
|
|
1905
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1906
|
+
*/
|
|
1907
|
+
left: [{
|
|
1908
|
+
left: z()
|
|
1909
|
+
}],
|
|
1910
|
+
/**
|
|
1911
|
+
* Visibility
|
|
1912
|
+
* @see https://tailwindcss.com/docs/visibility
|
|
1913
|
+
*/
|
|
1914
|
+
visibility: ["visible", "invisible", "collapse"],
|
|
1915
|
+
/**
|
|
1916
|
+
* Z-Index
|
|
1917
|
+
* @see https://tailwindcss.com/docs/z-index
|
|
1918
|
+
*/
|
|
1919
|
+
z: [{
|
|
1920
|
+
z: [de, "auto", w, v]
|
|
1921
|
+
}],
|
|
1922
|
+
// ------------------------
|
|
1923
|
+
// --- Flexbox and Grid ---
|
|
1924
|
+
// ------------------------
|
|
1925
|
+
/**
|
|
1926
|
+
* Flex Basis
|
|
1927
|
+
* @see https://tailwindcss.com/docs/flex-basis
|
|
1928
|
+
*/
|
|
1929
|
+
basis: [{
|
|
1930
|
+
basis: [he, "full", "auto", c, ...h()]
|
|
1931
|
+
}],
|
|
1932
|
+
/**
|
|
1933
|
+
* Flex Direction
|
|
1934
|
+
* @see https://tailwindcss.com/docs/flex-direction
|
|
1935
|
+
*/
|
|
1936
|
+
"flex-direction": [{
|
|
1937
|
+
flex: ["row", "row-reverse", "col", "col-reverse"]
|
|
1938
|
+
}],
|
|
1939
|
+
/**
|
|
1940
|
+
* Flex Wrap
|
|
1941
|
+
* @see https://tailwindcss.com/docs/flex-wrap
|
|
1942
|
+
*/
|
|
1943
|
+
"flex-wrap": [{
|
|
1944
|
+
flex: ["nowrap", "wrap", "wrap-reverse"]
|
|
1945
|
+
}],
|
|
1946
|
+
/**
|
|
1947
|
+
* Flex
|
|
1948
|
+
* @see https://tailwindcss.com/docs/flex
|
|
1949
|
+
*/
|
|
1950
|
+
flex: [{
|
|
1951
|
+
flex: [E, he, "auto", "initial", "none", v]
|
|
1952
|
+
}],
|
|
1953
|
+
/**
|
|
1954
|
+
* Flex Grow
|
|
1955
|
+
* @see https://tailwindcss.com/docs/flex-grow
|
|
1956
|
+
*/
|
|
1957
|
+
grow: [{
|
|
1958
|
+
grow: ["", E, w, v]
|
|
1959
|
+
}],
|
|
1960
|
+
/**
|
|
1961
|
+
* Flex Shrink
|
|
1962
|
+
* @see https://tailwindcss.com/docs/flex-shrink
|
|
1963
|
+
*/
|
|
1964
|
+
shrink: [{
|
|
1965
|
+
shrink: ["", E, w, v]
|
|
1966
|
+
}],
|
|
1967
|
+
/**
|
|
1968
|
+
* Order
|
|
1969
|
+
* @see https://tailwindcss.com/docs/order
|
|
1970
|
+
*/
|
|
1971
|
+
order: [{
|
|
1972
|
+
order: [de, "first", "last", "none", w, v]
|
|
1973
|
+
}],
|
|
1974
|
+
/**
|
|
1975
|
+
* Grid Template Columns
|
|
1976
|
+
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
1977
|
+
*/
|
|
1978
|
+
"grid-cols": [{
|
|
1979
|
+
"grid-cols": D()
|
|
1980
|
+
}],
|
|
1981
|
+
/**
|
|
1982
|
+
* Grid Column Start / End
|
|
1983
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
1984
|
+
*/
|
|
1985
|
+
"col-start-end": [{
|
|
1986
|
+
col: T()
|
|
1987
|
+
}],
|
|
1988
|
+
/**
|
|
1989
|
+
* Grid Column Start
|
|
1990
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
1991
|
+
*/
|
|
1992
|
+
"col-start": [{
|
|
1993
|
+
"col-start": $()
|
|
1994
|
+
}],
|
|
1995
|
+
/**
|
|
1996
|
+
* Grid Column End
|
|
1997
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
1998
|
+
*/
|
|
1999
|
+
"col-end": [{
|
|
2000
|
+
"col-end": $()
|
|
2001
|
+
}],
|
|
2002
|
+
/**
|
|
2003
|
+
* Grid Template Rows
|
|
2004
|
+
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
2005
|
+
*/
|
|
2006
|
+
"grid-rows": [{
|
|
2007
|
+
"grid-rows": D()
|
|
2008
|
+
}],
|
|
2009
|
+
/**
|
|
2010
|
+
* Grid Row Start / End
|
|
2011
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
2012
|
+
*/
|
|
2013
|
+
"row-start-end": [{
|
|
2014
|
+
row: T()
|
|
2015
|
+
}],
|
|
2016
|
+
/**
|
|
2017
|
+
* Grid Row Start
|
|
2018
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
2019
|
+
*/
|
|
2020
|
+
"row-start": [{
|
|
2021
|
+
"row-start": $()
|
|
2022
|
+
}],
|
|
2023
|
+
/**
|
|
2024
|
+
* Grid Row End
|
|
2025
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
2026
|
+
*/
|
|
2027
|
+
"row-end": [{
|
|
2028
|
+
"row-end": $()
|
|
2029
|
+
}],
|
|
2030
|
+
/**
|
|
2031
|
+
* Grid Auto Flow
|
|
2032
|
+
* @see https://tailwindcss.com/docs/grid-auto-flow
|
|
2033
|
+
*/
|
|
2034
|
+
"grid-flow": [{
|
|
2035
|
+
"grid-flow": ["row", "col", "dense", "row-dense", "col-dense"]
|
|
2036
|
+
}],
|
|
2037
|
+
/**
|
|
2038
|
+
* Grid Auto Columns
|
|
2039
|
+
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
2040
|
+
*/
|
|
2041
|
+
"auto-cols": [{
|
|
2042
|
+
"auto-cols": Z()
|
|
2043
|
+
}],
|
|
2044
|
+
/**
|
|
2045
|
+
* Grid Auto Rows
|
|
2046
|
+
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
2047
|
+
*/
|
|
2048
|
+
"auto-rows": [{
|
|
2049
|
+
"auto-rows": Z()
|
|
2050
|
+
}],
|
|
2051
|
+
/**
|
|
2052
|
+
* Gap
|
|
2053
|
+
* @see https://tailwindcss.com/docs/gap
|
|
2054
|
+
*/
|
|
2055
|
+
gap: [{
|
|
2056
|
+
gap: h()
|
|
2057
|
+
}],
|
|
2058
|
+
/**
|
|
2059
|
+
* Gap X
|
|
2060
|
+
* @see https://tailwindcss.com/docs/gap
|
|
2061
|
+
*/
|
|
2062
|
+
"gap-x": [{
|
|
2063
|
+
"gap-x": h()
|
|
2064
|
+
}],
|
|
2065
|
+
/**
|
|
2066
|
+
* Gap Y
|
|
2067
|
+
* @see https://tailwindcss.com/docs/gap
|
|
2068
|
+
*/
|
|
2069
|
+
"gap-y": [{
|
|
2070
|
+
"gap-y": h()
|
|
2071
|
+
}],
|
|
2072
|
+
/**
|
|
2073
|
+
* Justify Content
|
|
2074
|
+
* @see https://tailwindcss.com/docs/justify-content
|
|
2075
|
+
*/
|
|
2076
|
+
"justify-content": [{
|
|
2077
|
+
justify: [...Q(), "normal"]
|
|
2078
|
+
}],
|
|
2079
|
+
/**
|
|
2080
|
+
* Justify Items
|
|
2081
|
+
* @see https://tailwindcss.com/docs/justify-items
|
|
2082
|
+
*/
|
|
2083
|
+
"justify-items": [{
|
|
2084
|
+
"justify-items": [...U(), "normal"]
|
|
2085
|
+
}],
|
|
2086
|
+
/**
|
|
2087
|
+
* Justify Self
|
|
2088
|
+
* @see https://tailwindcss.com/docs/justify-self
|
|
2089
|
+
*/
|
|
2090
|
+
"justify-self": [{
|
|
2091
|
+
"justify-self": ["auto", ...U()]
|
|
2092
|
+
}],
|
|
2093
|
+
/**
|
|
2094
|
+
* Align Content
|
|
2095
|
+
* @see https://tailwindcss.com/docs/align-content
|
|
2096
|
+
*/
|
|
2097
|
+
"align-content": [{
|
|
2098
|
+
content: ["normal", ...Q()]
|
|
2099
|
+
}],
|
|
2100
|
+
/**
|
|
2101
|
+
* Align Items
|
|
2102
|
+
* @see https://tailwindcss.com/docs/align-items
|
|
2103
|
+
*/
|
|
2104
|
+
"align-items": [{
|
|
2105
|
+
items: [...U(), {
|
|
2106
|
+
baseline: ["", "last"]
|
|
2107
|
+
}]
|
|
2108
|
+
}],
|
|
2109
|
+
/**
|
|
2110
|
+
* Align Self
|
|
2111
|
+
* @see https://tailwindcss.com/docs/align-self
|
|
2112
|
+
*/
|
|
2113
|
+
"align-self": [{
|
|
2114
|
+
self: ["auto", ...U(), {
|
|
2115
|
+
baseline: ["", "last"]
|
|
2116
|
+
}]
|
|
2117
|
+
}],
|
|
2118
|
+
/**
|
|
2119
|
+
* Place Content
|
|
2120
|
+
* @see https://tailwindcss.com/docs/place-content
|
|
2121
|
+
*/
|
|
2122
|
+
"place-content": [{
|
|
2123
|
+
"place-content": Q()
|
|
2124
|
+
}],
|
|
2125
|
+
/**
|
|
2126
|
+
* Place Items
|
|
2127
|
+
* @see https://tailwindcss.com/docs/place-items
|
|
2128
|
+
*/
|
|
2129
|
+
"place-items": [{
|
|
2130
|
+
"place-items": [...U(), "baseline"]
|
|
2131
|
+
}],
|
|
2132
|
+
/**
|
|
2133
|
+
* Place Self
|
|
2134
|
+
* @see https://tailwindcss.com/docs/place-self
|
|
2135
|
+
*/
|
|
2136
|
+
"place-self": [{
|
|
2137
|
+
"place-self": ["auto", ...U()]
|
|
2138
|
+
}],
|
|
2139
|
+
// Spacing
|
|
2140
|
+
/**
|
|
2141
|
+
* Padding
|
|
2142
|
+
* @see https://tailwindcss.com/docs/padding
|
|
2143
|
+
*/
|
|
2144
|
+
p: [{
|
|
2145
|
+
p: h()
|
|
2146
|
+
}],
|
|
2147
|
+
/**
|
|
2148
|
+
* Padding X
|
|
2149
|
+
* @see https://tailwindcss.com/docs/padding
|
|
2150
|
+
*/
|
|
2151
|
+
px: [{
|
|
2152
|
+
px: h()
|
|
2153
|
+
}],
|
|
2154
|
+
/**
|
|
2155
|
+
* Padding Y
|
|
2156
|
+
* @see https://tailwindcss.com/docs/padding
|
|
2157
|
+
*/
|
|
2158
|
+
py: [{
|
|
2159
|
+
py: h()
|
|
2160
|
+
}],
|
|
2161
|
+
/**
|
|
2162
|
+
* Padding Start
|
|
2163
|
+
* @see https://tailwindcss.com/docs/padding
|
|
2164
|
+
*/
|
|
2165
|
+
ps: [{
|
|
2166
|
+
ps: h()
|
|
2167
|
+
}],
|
|
2168
|
+
/**
|
|
2169
|
+
* Padding End
|
|
2170
|
+
* @see https://tailwindcss.com/docs/padding
|
|
2171
|
+
*/
|
|
2172
|
+
pe: [{
|
|
2173
|
+
pe: h()
|
|
2174
|
+
}],
|
|
2175
|
+
/**
|
|
2176
|
+
* Padding Top
|
|
2177
|
+
* @see https://tailwindcss.com/docs/padding
|
|
2178
|
+
*/
|
|
2179
|
+
pt: [{
|
|
2180
|
+
pt: h()
|
|
2181
|
+
}],
|
|
2182
|
+
/**
|
|
2183
|
+
* Padding Right
|
|
2184
|
+
* @see https://tailwindcss.com/docs/padding
|
|
2185
|
+
*/
|
|
2186
|
+
pr: [{
|
|
2187
|
+
pr: h()
|
|
2188
|
+
}],
|
|
2189
|
+
/**
|
|
2190
|
+
* Padding Bottom
|
|
2191
|
+
* @see https://tailwindcss.com/docs/padding
|
|
2192
|
+
*/
|
|
2193
|
+
pb: [{
|
|
2194
|
+
pb: h()
|
|
2195
|
+
}],
|
|
2196
|
+
/**
|
|
2197
|
+
* Padding Left
|
|
2198
|
+
* @see https://tailwindcss.com/docs/padding
|
|
2199
|
+
*/
|
|
2200
|
+
pl: [{
|
|
2201
|
+
pl: h()
|
|
2202
|
+
}],
|
|
2203
|
+
/**
|
|
2204
|
+
* Margin
|
|
2205
|
+
* @see https://tailwindcss.com/docs/margin
|
|
2206
|
+
*/
|
|
2207
|
+
m: [{
|
|
2208
|
+
m: q()
|
|
2209
|
+
}],
|
|
2210
|
+
/**
|
|
2211
|
+
* Margin X
|
|
2212
|
+
* @see https://tailwindcss.com/docs/margin
|
|
2213
|
+
*/
|
|
2214
|
+
mx: [{
|
|
2215
|
+
mx: q()
|
|
2216
|
+
}],
|
|
2217
|
+
/**
|
|
2218
|
+
* Margin Y
|
|
2219
|
+
* @see https://tailwindcss.com/docs/margin
|
|
2220
|
+
*/
|
|
2221
|
+
my: [{
|
|
2222
|
+
my: q()
|
|
2223
|
+
}],
|
|
2224
|
+
/**
|
|
2225
|
+
* Margin Start
|
|
2226
|
+
* @see https://tailwindcss.com/docs/margin
|
|
2227
|
+
*/
|
|
2228
|
+
ms: [{
|
|
2229
|
+
ms: q()
|
|
2230
|
+
}],
|
|
2231
|
+
/**
|
|
2232
|
+
* Margin End
|
|
2233
|
+
* @see https://tailwindcss.com/docs/margin
|
|
2234
|
+
*/
|
|
2235
|
+
me: [{
|
|
2236
|
+
me: q()
|
|
2237
|
+
}],
|
|
2238
|
+
/**
|
|
2239
|
+
* Margin Top
|
|
2240
|
+
* @see https://tailwindcss.com/docs/margin
|
|
2241
|
+
*/
|
|
2242
|
+
mt: [{
|
|
2243
|
+
mt: q()
|
|
2244
|
+
}],
|
|
2245
|
+
/**
|
|
2246
|
+
* Margin Right
|
|
2247
|
+
* @see https://tailwindcss.com/docs/margin
|
|
2248
|
+
*/
|
|
2249
|
+
mr: [{
|
|
2250
|
+
mr: q()
|
|
2251
|
+
}],
|
|
2252
|
+
/**
|
|
2253
|
+
* Margin Bottom
|
|
2254
|
+
* @see https://tailwindcss.com/docs/margin
|
|
2255
|
+
*/
|
|
2256
|
+
mb: [{
|
|
2257
|
+
mb: q()
|
|
2258
|
+
}],
|
|
2259
|
+
/**
|
|
2260
|
+
* Margin Left
|
|
2261
|
+
* @see https://tailwindcss.com/docs/margin
|
|
2262
|
+
*/
|
|
2263
|
+
ml: [{
|
|
2264
|
+
ml: q()
|
|
2265
|
+
}],
|
|
2266
|
+
/**
|
|
2267
|
+
* Space Between X
|
|
2268
|
+
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
2269
|
+
*/
|
|
2270
|
+
"space-x": [{
|
|
2271
|
+
"space-x": h()
|
|
2272
|
+
}],
|
|
2273
|
+
/**
|
|
2274
|
+
* Space Between X Reverse
|
|
2275
|
+
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
2276
|
+
*/
|
|
2277
|
+
"space-x-reverse": ["space-x-reverse"],
|
|
2278
|
+
/**
|
|
2279
|
+
* Space Between Y
|
|
2280
|
+
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
2281
|
+
*/
|
|
2282
|
+
"space-y": [{
|
|
2283
|
+
"space-y": h()
|
|
2284
|
+
}],
|
|
2285
|
+
/**
|
|
2286
|
+
* Space Between Y Reverse
|
|
2287
|
+
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
2288
|
+
*/
|
|
2289
|
+
"space-y-reverse": ["space-y-reverse"],
|
|
2290
|
+
// --------------
|
|
2291
|
+
// --- Sizing ---
|
|
2292
|
+
// --------------
|
|
2293
|
+
/**
|
|
2294
|
+
* Size
|
|
2295
|
+
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
2296
|
+
*/
|
|
2297
|
+
size: [{
|
|
2298
|
+
size: K()
|
|
2299
|
+
}],
|
|
2300
|
+
/**
|
|
2301
|
+
* Width
|
|
2302
|
+
* @see https://tailwindcss.com/docs/width
|
|
2303
|
+
*/
|
|
2304
|
+
w: [{
|
|
2305
|
+
w: [c, "screen", ...K()]
|
|
2306
|
+
}],
|
|
2307
|
+
/**
|
|
2308
|
+
* Min-Width
|
|
2309
|
+
* @see https://tailwindcss.com/docs/min-width
|
|
2310
|
+
*/
|
|
2311
|
+
"min-w": [{
|
|
2312
|
+
"min-w": [
|
|
2313
|
+
c,
|
|
2314
|
+
"screen",
|
|
2315
|
+
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
2316
|
+
"none",
|
|
2317
|
+
...K()
|
|
2318
|
+
]
|
|
2319
|
+
}],
|
|
2320
|
+
/**
|
|
2321
|
+
* Max-Width
|
|
2322
|
+
* @see https://tailwindcss.com/docs/max-width
|
|
2323
|
+
*/
|
|
2324
|
+
"max-w": [{
|
|
2325
|
+
"max-w": [
|
|
2326
|
+
c,
|
|
2327
|
+
"screen",
|
|
2328
|
+
"none",
|
|
2329
|
+
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
2330
|
+
"prose",
|
|
2331
|
+
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
2332
|
+
{
|
|
2333
|
+
screen: [i]
|
|
2334
|
+
},
|
|
2335
|
+
...K()
|
|
2336
|
+
]
|
|
2337
|
+
}],
|
|
2338
|
+
/**
|
|
2339
|
+
* Height
|
|
2340
|
+
* @see https://tailwindcss.com/docs/height
|
|
2341
|
+
*/
|
|
2342
|
+
h: [{
|
|
2343
|
+
h: ["screen", "lh", ...K()]
|
|
2344
|
+
}],
|
|
2345
|
+
/**
|
|
2346
|
+
* Min-Height
|
|
2347
|
+
* @see https://tailwindcss.com/docs/min-height
|
|
2348
|
+
*/
|
|
2349
|
+
"min-h": [{
|
|
2350
|
+
"min-h": ["screen", "lh", "none", ...K()]
|
|
2351
|
+
}],
|
|
2352
|
+
/**
|
|
2353
|
+
* Max-Height
|
|
2354
|
+
* @see https://tailwindcss.com/docs/max-height
|
|
2355
|
+
*/
|
|
2356
|
+
"max-h": [{
|
|
2357
|
+
"max-h": ["screen", "lh", ...K()]
|
|
2358
|
+
}],
|
|
2359
|
+
// ------------------
|
|
2360
|
+
// --- Typography ---
|
|
2361
|
+
// ------------------
|
|
2362
|
+
/**
|
|
2363
|
+
* Font Size
|
|
2364
|
+
* @see https://tailwindcss.com/docs/font-size
|
|
2365
|
+
*/
|
|
2366
|
+
"font-size": [{
|
|
2367
|
+
text: ["base", n, ke, pe]
|
|
2368
|
+
}],
|
|
2369
|
+
/**
|
|
2370
|
+
* Font Smoothing
|
|
2371
|
+
* @see https://tailwindcss.com/docs/font-smoothing
|
|
2372
|
+
*/
|
|
2373
|
+
"font-smoothing": ["antialiased", "subpixel-antialiased"],
|
|
2374
|
+
/**
|
|
2375
|
+
* Font Style
|
|
2376
|
+
* @see https://tailwindcss.com/docs/font-style
|
|
2377
|
+
*/
|
|
2378
|
+
"font-style": ["italic", "not-italic"],
|
|
2379
|
+
/**
|
|
2380
|
+
* Font Weight
|
|
2381
|
+
* @see https://tailwindcss.com/docs/font-weight
|
|
2382
|
+
*/
|
|
2383
|
+
"font-weight": [{
|
|
2384
|
+
font: [r, w, $e]
|
|
2385
|
+
}],
|
|
2386
|
+
/**
|
|
2387
|
+
* Font Stretch
|
|
2388
|
+
* @see https://tailwindcss.com/docs/font-stretch
|
|
2389
|
+
*/
|
|
2390
|
+
"font-stretch": [{
|
|
2391
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Be, v]
|
|
2392
|
+
}],
|
|
2393
|
+
/**
|
|
2394
|
+
* Font Family
|
|
2395
|
+
* @see https://tailwindcss.com/docs/font-family
|
|
2396
|
+
*/
|
|
2397
|
+
"font-family": [{
|
|
2398
|
+
font: [Er, v, t]
|
|
2399
|
+
}],
|
|
2400
|
+
/**
|
|
2401
|
+
* Font Variant Numeric
|
|
2402
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
2403
|
+
*/
|
|
2404
|
+
"fvn-normal": ["normal-nums"],
|
|
2405
|
+
/**
|
|
2406
|
+
* Font Variant Numeric
|
|
2407
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
2408
|
+
*/
|
|
2409
|
+
"fvn-ordinal": ["ordinal"],
|
|
2410
|
+
/**
|
|
2411
|
+
* Font Variant Numeric
|
|
2412
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
2413
|
+
*/
|
|
2414
|
+
"fvn-slashed-zero": ["slashed-zero"],
|
|
2415
|
+
/**
|
|
2416
|
+
* Font Variant Numeric
|
|
2417
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
2418
|
+
*/
|
|
2419
|
+
"fvn-figure": ["lining-nums", "oldstyle-nums"],
|
|
2420
|
+
/**
|
|
2421
|
+
* Font Variant Numeric
|
|
2422
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
2423
|
+
*/
|
|
2424
|
+
"fvn-spacing": ["proportional-nums", "tabular-nums"],
|
|
2425
|
+
/**
|
|
2426
|
+
* Font Variant Numeric
|
|
2427
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
2428
|
+
*/
|
|
2429
|
+
"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
|
|
2430
|
+
/**
|
|
2431
|
+
* Letter Spacing
|
|
2432
|
+
* @see https://tailwindcss.com/docs/letter-spacing
|
|
2433
|
+
*/
|
|
2434
|
+
tracking: [{
|
|
2435
|
+
tracking: [o, w, v]
|
|
2436
|
+
}],
|
|
2437
|
+
/**
|
|
2438
|
+
* Line Clamp
|
|
2439
|
+
* @see https://tailwindcss.com/docs/line-clamp
|
|
2440
|
+
*/
|
|
2441
|
+
"line-clamp": [{
|
|
2442
|
+
"line-clamp": [E, "none", w, $e]
|
|
2443
|
+
}],
|
|
2444
|
+
/**
|
|
2445
|
+
* Line Height
|
|
2446
|
+
* @see https://tailwindcss.com/docs/line-height
|
|
2447
|
+
*/
|
|
2448
|
+
leading: [{
|
|
2449
|
+
leading: [
|
|
2450
|
+
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
2451
|
+
s,
|
|
2452
|
+
...h()
|
|
2453
|
+
]
|
|
2454
|
+
}],
|
|
2455
|
+
/**
|
|
2456
|
+
* List Style Image
|
|
2457
|
+
* @see https://tailwindcss.com/docs/list-style-image
|
|
2458
|
+
*/
|
|
2459
|
+
"list-image": [{
|
|
2460
|
+
"list-image": ["none", w, v]
|
|
2461
|
+
}],
|
|
2462
|
+
/**
|
|
2463
|
+
* List Style Position
|
|
2464
|
+
* @see https://tailwindcss.com/docs/list-style-position
|
|
2465
|
+
*/
|
|
2466
|
+
"list-style-position": [{
|
|
2467
|
+
list: ["inside", "outside"]
|
|
2468
|
+
}],
|
|
2469
|
+
/**
|
|
2470
|
+
* List Style Type
|
|
2471
|
+
* @see https://tailwindcss.com/docs/list-style-type
|
|
2472
|
+
*/
|
|
2473
|
+
"list-style-type": [{
|
|
2474
|
+
list: ["disc", "decimal", "none", w, v]
|
|
2475
|
+
}],
|
|
2476
|
+
/**
|
|
2477
|
+
* Text Alignment
|
|
2478
|
+
* @see https://tailwindcss.com/docs/text-align
|
|
2479
|
+
*/
|
|
2480
|
+
"text-alignment": [{
|
|
2481
|
+
text: ["left", "center", "right", "justify", "start", "end"]
|
|
2482
|
+
}],
|
|
2483
|
+
/**
|
|
2484
|
+
* Placeholder Color
|
|
2485
|
+
* @deprecated since Tailwind CSS v3.0.0
|
|
2486
|
+
* @see https://v3.tailwindcss.com/docs/placeholder-color
|
|
2487
|
+
*/
|
|
2488
|
+
"placeholder-color": [{
|
|
2489
|
+
placeholder: C()
|
|
2490
|
+
}],
|
|
2491
|
+
/**
|
|
2492
|
+
* Text Color
|
|
2493
|
+
* @see https://tailwindcss.com/docs/text-color
|
|
2494
|
+
*/
|
|
2495
|
+
"text-color": [{
|
|
2496
|
+
text: C()
|
|
2497
|
+
}],
|
|
2498
|
+
/**
|
|
2499
|
+
* Text Decoration
|
|
2500
|
+
* @see https://tailwindcss.com/docs/text-decoration
|
|
2501
|
+
*/
|
|
2502
|
+
"text-decoration": ["underline", "overline", "line-through", "no-underline"],
|
|
2503
|
+
/**
|
|
2504
|
+
* Text Decoration Style
|
|
2505
|
+
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
2506
|
+
*/
|
|
2507
|
+
"text-decoration-style": [{
|
|
2508
|
+
decoration: [...oe(), "wavy"]
|
|
2509
|
+
}],
|
|
2510
|
+
/**
|
|
2511
|
+
* Text Decoration Thickness
|
|
2512
|
+
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
2513
|
+
*/
|
|
2514
|
+
"text-decoration-thickness": [{
|
|
2515
|
+
decoration: [E, "from-font", "auto", w, pe]
|
|
2516
|
+
}],
|
|
2517
|
+
/**
|
|
2518
|
+
* Text Decoration Color
|
|
2519
|
+
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
2520
|
+
*/
|
|
2521
|
+
"text-decoration-color": [{
|
|
2522
|
+
decoration: C()
|
|
2523
|
+
}],
|
|
2524
|
+
/**
|
|
2525
|
+
* Text Underline Offset
|
|
2526
|
+
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
2527
|
+
*/
|
|
2528
|
+
"underline-offset": [{
|
|
2529
|
+
"underline-offset": [E, "auto", w, v]
|
|
2530
|
+
}],
|
|
2531
|
+
/**
|
|
2532
|
+
* Text Transform
|
|
2533
|
+
* @see https://tailwindcss.com/docs/text-transform
|
|
2534
|
+
*/
|
|
2535
|
+
"text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
|
|
2536
|
+
/**
|
|
2537
|
+
* Text Overflow
|
|
2538
|
+
* @see https://tailwindcss.com/docs/text-overflow
|
|
2539
|
+
*/
|
|
2540
|
+
"text-overflow": ["truncate", "text-ellipsis", "text-clip"],
|
|
2541
|
+
/**
|
|
2542
|
+
* Text Wrap
|
|
2543
|
+
* @see https://tailwindcss.com/docs/text-wrap
|
|
2544
|
+
*/
|
|
2545
|
+
"text-wrap": [{
|
|
2546
|
+
text: ["wrap", "nowrap", "balance", "pretty"]
|
|
2547
|
+
}],
|
|
2548
|
+
/**
|
|
2549
|
+
* Text Indent
|
|
2550
|
+
* @see https://tailwindcss.com/docs/text-indent
|
|
2551
|
+
*/
|
|
2552
|
+
indent: [{
|
|
2553
|
+
indent: h()
|
|
2554
|
+
}],
|
|
2555
|
+
/**
|
|
2556
|
+
* Vertical Alignment
|
|
2557
|
+
* @see https://tailwindcss.com/docs/vertical-align
|
|
2558
|
+
*/
|
|
2559
|
+
"vertical-align": [{
|
|
2560
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", w, v]
|
|
2561
|
+
}],
|
|
2562
|
+
/**
|
|
2563
|
+
* Whitespace
|
|
2564
|
+
* @see https://tailwindcss.com/docs/whitespace
|
|
2565
|
+
*/
|
|
2566
|
+
whitespace: [{
|
|
2567
|
+
whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"]
|
|
2568
|
+
}],
|
|
2569
|
+
/**
|
|
2570
|
+
* Word Break
|
|
2571
|
+
* @see https://tailwindcss.com/docs/word-break
|
|
2572
|
+
*/
|
|
2573
|
+
break: [{
|
|
2574
|
+
break: ["normal", "words", "all", "keep"]
|
|
2575
|
+
}],
|
|
2576
|
+
/**
|
|
2577
|
+
* Overflow Wrap
|
|
2578
|
+
* @see https://tailwindcss.com/docs/overflow-wrap
|
|
2579
|
+
*/
|
|
2580
|
+
wrap: [{
|
|
2581
|
+
wrap: ["break-word", "anywhere", "normal"]
|
|
2582
|
+
}],
|
|
2583
|
+
/**
|
|
2584
|
+
* Hyphens
|
|
2585
|
+
* @see https://tailwindcss.com/docs/hyphens
|
|
2586
|
+
*/
|
|
2587
|
+
hyphens: [{
|
|
2588
|
+
hyphens: ["none", "manual", "auto"]
|
|
2589
|
+
}],
|
|
2590
|
+
/**
|
|
2591
|
+
* Content
|
|
2592
|
+
* @see https://tailwindcss.com/docs/content
|
|
2593
|
+
*/
|
|
2594
|
+
content: [{
|
|
2595
|
+
content: ["none", w, v]
|
|
2596
|
+
}],
|
|
2597
|
+
// -------------------
|
|
2598
|
+
// --- Backgrounds ---
|
|
2599
|
+
// -------------------
|
|
2600
|
+
/**
|
|
2601
|
+
* Background Attachment
|
|
2602
|
+
* @see https://tailwindcss.com/docs/background-attachment
|
|
2603
|
+
*/
|
|
2604
|
+
"bg-attachment": [{
|
|
2605
|
+
bg: ["fixed", "local", "scroll"]
|
|
2606
|
+
}],
|
|
2607
|
+
/**
|
|
2608
|
+
* Background Clip
|
|
2609
|
+
* @see https://tailwindcss.com/docs/background-clip
|
|
2610
|
+
*/
|
|
2611
|
+
"bg-clip": [{
|
|
2612
|
+
"bg-clip": ["border", "padding", "content", "text"]
|
|
2613
|
+
}],
|
|
2614
|
+
/**
|
|
2615
|
+
* Background Origin
|
|
2616
|
+
* @see https://tailwindcss.com/docs/background-origin
|
|
2617
|
+
*/
|
|
2618
|
+
"bg-origin": [{
|
|
2619
|
+
"bg-origin": ["border", "padding", "content"]
|
|
2620
|
+
}],
|
|
2621
|
+
/**
|
|
2622
|
+
* Background Position
|
|
2623
|
+
* @see https://tailwindcss.com/docs/background-position
|
|
2624
|
+
*/
|
|
2625
|
+
"bg-position": [{
|
|
2626
|
+
bg: ee()
|
|
2627
|
+
}],
|
|
2628
|
+
/**
|
|
2629
|
+
* Background Repeat
|
|
2630
|
+
* @see https://tailwindcss.com/docs/background-repeat
|
|
2631
|
+
*/
|
|
2632
|
+
"bg-repeat": [{
|
|
2633
|
+
bg: ce()
|
|
2634
|
+
}],
|
|
2635
|
+
/**
|
|
2636
|
+
* Background Size
|
|
2637
|
+
* @see https://tailwindcss.com/docs/background-size
|
|
2638
|
+
*/
|
|
2639
|
+
"bg-size": [{
|
|
2640
|
+
bg: Y()
|
|
2641
|
+
}],
|
|
2642
|
+
/**
|
|
2643
|
+
* Background Image
|
|
2644
|
+
* @see https://tailwindcss.com/docs/background-image
|
|
2645
|
+
*/
|
|
2646
|
+
"bg-image": [{
|
|
2647
|
+
bg: ["none", {
|
|
2648
|
+
linear: [{
|
|
2649
|
+
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
2650
|
+
}, de, w, v],
|
|
2651
|
+
radial: ["", w, v],
|
|
2652
|
+
conic: [de, w, v]
|
|
2653
|
+
}, Ir, Ar]
|
|
2654
|
+
}],
|
|
2655
|
+
/**
|
|
2656
|
+
* Background Color
|
|
2657
|
+
* @see https://tailwindcss.com/docs/background-color
|
|
2658
|
+
*/
|
|
2659
|
+
"bg-color": [{
|
|
2660
|
+
bg: C()
|
|
2661
|
+
}],
|
|
2662
|
+
/**
|
|
2663
|
+
* Gradient Color Stops From Position
|
|
2664
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2665
|
+
*/
|
|
2666
|
+
"gradient-from-pos": [{
|
|
2667
|
+
from: re()
|
|
2668
|
+
}],
|
|
2669
|
+
/**
|
|
2670
|
+
* Gradient Color Stops Via Position
|
|
2671
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2672
|
+
*/
|
|
2673
|
+
"gradient-via-pos": [{
|
|
2674
|
+
via: re()
|
|
2675
|
+
}],
|
|
2676
|
+
/**
|
|
2677
|
+
* Gradient Color Stops To Position
|
|
2678
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2679
|
+
*/
|
|
2680
|
+
"gradient-to-pos": [{
|
|
2681
|
+
to: re()
|
|
2682
|
+
}],
|
|
2683
|
+
/**
|
|
2684
|
+
* Gradient Color Stops From
|
|
2685
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2686
|
+
*/
|
|
2687
|
+
"gradient-from": [{
|
|
2688
|
+
from: C()
|
|
2689
|
+
}],
|
|
2690
|
+
/**
|
|
2691
|
+
* Gradient Color Stops Via
|
|
2692
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2693
|
+
*/
|
|
2694
|
+
"gradient-via": [{
|
|
2695
|
+
via: C()
|
|
2696
|
+
}],
|
|
2697
|
+
/**
|
|
2698
|
+
* Gradient Color Stops To
|
|
2699
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2700
|
+
*/
|
|
2701
|
+
"gradient-to": [{
|
|
2702
|
+
to: C()
|
|
2703
|
+
}],
|
|
2704
|
+
// ---------------
|
|
2705
|
+
// --- Borders ---
|
|
2706
|
+
// ---------------
|
|
2707
|
+
/**
|
|
2708
|
+
* Border Radius
|
|
2709
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2710
|
+
*/
|
|
2711
|
+
rounded: [{
|
|
2712
|
+
rounded: G()
|
|
2713
|
+
}],
|
|
2714
|
+
/**
|
|
2715
|
+
* Border Radius Start
|
|
2716
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2717
|
+
*/
|
|
2718
|
+
"rounded-s": [{
|
|
2719
|
+
"rounded-s": G()
|
|
2720
|
+
}],
|
|
2721
|
+
/**
|
|
2722
|
+
* Border Radius End
|
|
2723
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2724
|
+
*/
|
|
2725
|
+
"rounded-e": [{
|
|
2726
|
+
"rounded-e": G()
|
|
2727
|
+
}],
|
|
2728
|
+
/**
|
|
2729
|
+
* Border Radius Top
|
|
2730
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2731
|
+
*/
|
|
2732
|
+
"rounded-t": [{
|
|
2733
|
+
"rounded-t": G()
|
|
2734
|
+
}],
|
|
2735
|
+
/**
|
|
2736
|
+
* Border Radius Right
|
|
2737
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2738
|
+
*/
|
|
2739
|
+
"rounded-r": [{
|
|
2740
|
+
"rounded-r": G()
|
|
2741
|
+
}],
|
|
2742
|
+
/**
|
|
2743
|
+
* Border Radius Bottom
|
|
2744
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2745
|
+
*/
|
|
2746
|
+
"rounded-b": [{
|
|
2747
|
+
"rounded-b": G()
|
|
2748
|
+
}],
|
|
2749
|
+
/**
|
|
2750
|
+
* Border Radius Left
|
|
2751
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2752
|
+
*/
|
|
2753
|
+
"rounded-l": [{
|
|
2754
|
+
"rounded-l": G()
|
|
2755
|
+
}],
|
|
2756
|
+
/**
|
|
2757
|
+
* Border Radius Start Start
|
|
2758
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2759
|
+
*/
|
|
2760
|
+
"rounded-ss": [{
|
|
2761
|
+
"rounded-ss": G()
|
|
2762
|
+
}],
|
|
2763
|
+
/**
|
|
2764
|
+
* Border Radius Start End
|
|
2765
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2766
|
+
*/
|
|
2767
|
+
"rounded-se": [{
|
|
2768
|
+
"rounded-se": G()
|
|
2769
|
+
}],
|
|
2770
|
+
/**
|
|
2771
|
+
* Border Radius End End
|
|
2772
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2773
|
+
*/
|
|
2774
|
+
"rounded-ee": [{
|
|
2775
|
+
"rounded-ee": G()
|
|
2776
|
+
}],
|
|
2777
|
+
/**
|
|
2778
|
+
* Border Radius End Start
|
|
2779
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2780
|
+
*/
|
|
2781
|
+
"rounded-es": [{
|
|
2782
|
+
"rounded-es": G()
|
|
2783
|
+
}],
|
|
2784
|
+
/**
|
|
2785
|
+
* Border Radius Top Left
|
|
2786
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2787
|
+
*/
|
|
2788
|
+
"rounded-tl": [{
|
|
2789
|
+
"rounded-tl": G()
|
|
2790
|
+
}],
|
|
2791
|
+
/**
|
|
2792
|
+
* Border Radius Top Right
|
|
2793
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2794
|
+
*/
|
|
2795
|
+
"rounded-tr": [{
|
|
2796
|
+
"rounded-tr": G()
|
|
2797
|
+
}],
|
|
2798
|
+
/**
|
|
2799
|
+
* Border Radius Bottom Right
|
|
2800
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2801
|
+
*/
|
|
2802
|
+
"rounded-br": [{
|
|
2803
|
+
"rounded-br": G()
|
|
2804
|
+
}],
|
|
2805
|
+
/**
|
|
2806
|
+
* Border Radius Bottom Left
|
|
2807
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2808
|
+
*/
|
|
2809
|
+
"rounded-bl": [{
|
|
2810
|
+
"rounded-bl": G()
|
|
2811
|
+
}],
|
|
2812
|
+
/**
|
|
2813
|
+
* Border Width
|
|
2814
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2815
|
+
*/
|
|
2816
|
+
"border-w": [{
|
|
2817
|
+
border: j()
|
|
2818
|
+
}],
|
|
2819
|
+
/**
|
|
2820
|
+
* Border Width X
|
|
2821
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2822
|
+
*/
|
|
2823
|
+
"border-w-x": [{
|
|
2824
|
+
"border-x": j()
|
|
2825
|
+
}],
|
|
2826
|
+
/**
|
|
2827
|
+
* Border Width Y
|
|
2828
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2829
|
+
*/
|
|
2830
|
+
"border-w-y": [{
|
|
2831
|
+
"border-y": j()
|
|
2832
|
+
}],
|
|
2833
|
+
/**
|
|
2834
|
+
* Border Width Start
|
|
2835
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2836
|
+
*/
|
|
2837
|
+
"border-w-s": [{
|
|
2838
|
+
"border-s": j()
|
|
2839
|
+
}],
|
|
2840
|
+
/**
|
|
2841
|
+
* Border Width End
|
|
2842
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2843
|
+
*/
|
|
2844
|
+
"border-w-e": [{
|
|
2845
|
+
"border-e": j()
|
|
2846
|
+
}],
|
|
2847
|
+
/**
|
|
2848
|
+
* Border Width Top
|
|
2849
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2850
|
+
*/
|
|
2851
|
+
"border-w-t": [{
|
|
2852
|
+
"border-t": j()
|
|
2853
|
+
}],
|
|
2854
|
+
/**
|
|
2855
|
+
* Border Width Right
|
|
2856
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2857
|
+
*/
|
|
2858
|
+
"border-w-r": [{
|
|
2859
|
+
"border-r": j()
|
|
2860
|
+
}],
|
|
2861
|
+
/**
|
|
2862
|
+
* Border Width Bottom
|
|
2863
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2864
|
+
*/
|
|
2865
|
+
"border-w-b": [{
|
|
2866
|
+
"border-b": j()
|
|
2867
|
+
}],
|
|
2868
|
+
/**
|
|
2869
|
+
* Border Width Left
|
|
2870
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2871
|
+
*/
|
|
2872
|
+
"border-w-l": [{
|
|
2873
|
+
"border-l": j()
|
|
2874
|
+
}],
|
|
2875
|
+
/**
|
|
2876
|
+
* Divide Width X
|
|
2877
|
+
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
2878
|
+
*/
|
|
2879
|
+
"divide-x": [{
|
|
2880
|
+
"divide-x": j()
|
|
2881
|
+
}],
|
|
2882
|
+
/**
|
|
2883
|
+
* Divide Width X Reverse
|
|
2884
|
+
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
2885
|
+
*/
|
|
2886
|
+
"divide-x-reverse": ["divide-x-reverse"],
|
|
2887
|
+
/**
|
|
2888
|
+
* Divide Width Y
|
|
2889
|
+
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
2890
|
+
*/
|
|
2891
|
+
"divide-y": [{
|
|
2892
|
+
"divide-y": j()
|
|
2893
|
+
}],
|
|
2894
|
+
/**
|
|
2895
|
+
* Divide Width Y Reverse
|
|
2896
|
+
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
2897
|
+
*/
|
|
2898
|
+
"divide-y-reverse": ["divide-y-reverse"],
|
|
2899
|
+
/**
|
|
2900
|
+
* Border Style
|
|
2901
|
+
* @see https://tailwindcss.com/docs/border-style
|
|
2902
|
+
*/
|
|
2903
|
+
"border-style": [{
|
|
2904
|
+
border: [...oe(), "hidden", "none"]
|
|
2905
|
+
}],
|
|
2906
|
+
/**
|
|
2907
|
+
* Divide Style
|
|
2908
|
+
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
2909
|
+
*/
|
|
2910
|
+
"divide-style": [{
|
|
2911
|
+
divide: [...oe(), "hidden", "none"]
|
|
2912
|
+
}],
|
|
2913
|
+
/**
|
|
2914
|
+
* Border Color
|
|
2915
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2916
|
+
*/
|
|
2917
|
+
"border-color": [{
|
|
2918
|
+
border: C()
|
|
2919
|
+
}],
|
|
2920
|
+
/**
|
|
2921
|
+
* Border Color X
|
|
2922
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2923
|
+
*/
|
|
2924
|
+
"border-color-x": [{
|
|
2925
|
+
"border-x": C()
|
|
2926
|
+
}],
|
|
2927
|
+
/**
|
|
2928
|
+
* Border Color Y
|
|
2929
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2930
|
+
*/
|
|
2931
|
+
"border-color-y": [{
|
|
2932
|
+
"border-y": C()
|
|
2933
|
+
}],
|
|
2934
|
+
/**
|
|
2935
|
+
* Border Color S
|
|
2936
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2937
|
+
*/
|
|
2938
|
+
"border-color-s": [{
|
|
2939
|
+
"border-s": C()
|
|
2940
|
+
}],
|
|
2941
|
+
/**
|
|
2942
|
+
* Border Color E
|
|
2943
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2944
|
+
*/
|
|
2945
|
+
"border-color-e": [{
|
|
2946
|
+
"border-e": C()
|
|
2947
|
+
}],
|
|
2948
|
+
/**
|
|
2949
|
+
* Border Color Top
|
|
2950
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2951
|
+
*/
|
|
2952
|
+
"border-color-t": [{
|
|
2953
|
+
"border-t": C()
|
|
2954
|
+
}],
|
|
2955
|
+
/**
|
|
2956
|
+
* Border Color Right
|
|
2957
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2958
|
+
*/
|
|
2959
|
+
"border-color-r": [{
|
|
2960
|
+
"border-r": C()
|
|
2961
|
+
}],
|
|
2962
|
+
/**
|
|
2963
|
+
* Border Color Bottom
|
|
2964
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2965
|
+
*/
|
|
2966
|
+
"border-color-b": [{
|
|
2967
|
+
"border-b": C()
|
|
2968
|
+
}],
|
|
2969
|
+
/**
|
|
2970
|
+
* Border Color Left
|
|
2971
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2972
|
+
*/
|
|
2973
|
+
"border-color-l": [{
|
|
2974
|
+
"border-l": C()
|
|
2975
|
+
}],
|
|
2976
|
+
/**
|
|
2977
|
+
* Divide Color
|
|
2978
|
+
* @see https://tailwindcss.com/docs/divide-color
|
|
2979
|
+
*/
|
|
2980
|
+
"divide-color": [{
|
|
2981
|
+
divide: C()
|
|
2982
|
+
}],
|
|
2983
|
+
/**
|
|
2984
|
+
* Outline Style
|
|
2985
|
+
* @see https://tailwindcss.com/docs/outline-style
|
|
2986
|
+
*/
|
|
2987
|
+
"outline-style": [{
|
|
2988
|
+
outline: [...oe(), "none", "hidden"]
|
|
2989
|
+
}],
|
|
2990
|
+
/**
|
|
2991
|
+
* Outline Offset
|
|
2992
|
+
* @see https://tailwindcss.com/docs/outline-offset
|
|
2993
|
+
*/
|
|
2994
|
+
"outline-offset": [{
|
|
2995
|
+
"outline-offset": [E, w, v]
|
|
2996
|
+
}],
|
|
2997
|
+
/**
|
|
2998
|
+
* Outline Width
|
|
2999
|
+
* @see https://tailwindcss.com/docs/outline-width
|
|
3000
|
+
*/
|
|
3001
|
+
"outline-w": [{
|
|
3002
|
+
outline: ["", E, ke, pe]
|
|
3003
|
+
}],
|
|
3004
|
+
/**
|
|
3005
|
+
* Outline Color
|
|
3006
|
+
* @see https://tailwindcss.com/docs/outline-color
|
|
3007
|
+
*/
|
|
3008
|
+
"outline-color": [{
|
|
3009
|
+
outline: C()
|
|
3010
|
+
}],
|
|
3011
|
+
// ---------------
|
|
3012
|
+
// --- Effects ---
|
|
3013
|
+
// ---------------
|
|
3014
|
+
/**
|
|
3015
|
+
* Box Shadow
|
|
3016
|
+
* @see https://tailwindcss.com/docs/box-shadow
|
|
3017
|
+
*/
|
|
3018
|
+
shadow: [{
|
|
3019
|
+
shadow: [
|
|
3020
|
+
// Deprecated since Tailwind CSS v4.0.0
|
|
3021
|
+
"",
|
|
3022
|
+
"none",
|
|
3023
|
+
m,
|
|
3024
|
+
Ne,
|
|
3025
|
+
Me
|
|
3026
|
+
]
|
|
3027
|
+
}],
|
|
3028
|
+
/**
|
|
3029
|
+
* Box Shadow Color
|
|
3030
|
+
* @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
|
|
3031
|
+
*/
|
|
3032
|
+
"shadow-color": [{
|
|
3033
|
+
shadow: C()
|
|
3034
|
+
}],
|
|
3035
|
+
/**
|
|
3036
|
+
* Inset Box Shadow
|
|
3037
|
+
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
3038
|
+
*/
|
|
3039
|
+
"inset-shadow": [{
|
|
3040
|
+
"inset-shadow": ["none", f, Ne, Me]
|
|
3041
|
+
}],
|
|
3042
|
+
/**
|
|
3043
|
+
* Inset Box Shadow Color
|
|
3044
|
+
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
|
|
3045
|
+
*/
|
|
3046
|
+
"inset-shadow-color": [{
|
|
3047
|
+
"inset-shadow": C()
|
|
3048
|
+
}],
|
|
3049
|
+
/**
|
|
3050
|
+
* Ring Width
|
|
3051
|
+
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
3052
|
+
*/
|
|
3053
|
+
"ring-w": [{
|
|
3054
|
+
ring: j()
|
|
3055
|
+
}],
|
|
3056
|
+
/**
|
|
3057
|
+
* Ring Width Inset
|
|
3058
|
+
* @see https://v3.tailwindcss.com/docs/ring-width#inset-rings
|
|
3059
|
+
* @deprecated since Tailwind CSS v4.0.0
|
|
3060
|
+
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
3061
|
+
*/
|
|
3062
|
+
"ring-w-inset": ["ring-inset"],
|
|
3063
|
+
/**
|
|
3064
|
+
* Ring Color
|
|
3065
|
+
* @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
|
|
3066
|
+
*/
|
|
3067
|
+
"ring-color": [{
|
|
3068
|
+
ring: C()
|
|
3069
|
+
}],
|
|
3070
|
+
/**
|
|
3071
|
+
* Ring Offset Width
|
|
3072
|
+
* @see https://v3.tailwindcss.com/docs/ring-offset-width
|
|
3073
|
+
* @deprecated since Tailwind CSS v4.0.0
|
|
3074
|
+
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
3075
|
+
*/
|
|
3076
|
+
"ring-offset-w": [{
|
|
3077
|
+
"ring-offset": [E, pe]
|
|
3078
|
+
}],
|
|
3079
|
+
/**
|
|
3080
|
+
* Ring Offset Color
|
|
3081
|
+
* @see https://v3.tailwindcss.com/docs/ring-offset-color
|
|
3082
|
+
* @deprecated since Tailwind CSS v4.0.0
|
|
3083
|
+
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
3084
|
+
*/
|
|
3085
|
+
"ring-offset-color": [{
|
|
3086
|
+
"ring-offset": C()
|
|
3087
|
+
}],
|
|
3088
|
+
/**
|
|
3089
|
+
* Inset Ring Width
|
|
3090
|
+
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
3091
|
+
*/
|
|
3092
|
+
"inset-ring-w": [{
|
|
3093
|
+
"inset-ring": j()
|
|
3094
|
+
}],
|
|
3095
|
+
/**
|
|
3096
|
+
* Inset Ring Color
|
|
3097
|
+
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
|
|
3098
|
+
*/
|
|
3099
|
+
"inset-ring-color": [{
|
|
3100
|
+
"inset-ring": C()
|
|
3101
|
+
}],
|
|
3102
|
+
/**
|
|
3103
|
+
* Text Shadow
|
|
3104
|
+
* @see https://tailwindcss.com/docs/text-shadow
|
|
3105
|
+
*/
|
|
3106
|
+
"text-shadow": [{
|
|
3107
|
+
"text-shadow": ["none", g, Ne, Me]
|
|
3108
|
+
}],
|
|
3109
|
+
/**
|
|
3110
|
+
* Text Shadow Color
|
|
3111
|
+
* @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
|
|
3112
|
+
*/
|
|
3113
|
+
"text-shadow-color": [{
|
|
3114
|
+
"text-shadow": C()
|
|
3115
|
+
}],
|
|
3116
|
+
/**
|
|
3117
|
+
* Opacity
|
|
3118
|
+
* @see https://tailwindcss.com/docs/opacity
|
|
3119
|
+
*/
|
|
3120
|
+
opacity: [{
|
|
3121
|
+
opacity: [E, w, v]
|
|
3122
|
+
}],
|
|
3123
|
+
/**
|
|
3124
|
+
* Mix Blend Mode
|
|
3125
|
+
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
3126
|
+
*/
|
|
3127
|
+
"mix-blend": [{
|
|
3128
|
+
"mix-blend": [...le(), "plus-darker", "plus-lighter"]
|
|
3129
|
+
}],
|
|
3130
|
+
/**
|
|
3131
|
+
* Background Blend Mode
|
|
3132
|
+
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
3133
|
+
*/
|
|
3134
|
+
"bg-blend": [{
|
|
3135
|
+
"bg-blend": le()
|
|
3136
|
+
}],
|
|
3137
|
+
/**
|
|
3138
|
+
* Mask Clip
|
|
3139
|
+
* @see https://tailwindcss.com/docs/mask-clip
|
|
3140
|
+
*/
|
|
3141
|
+
"mask-clip": [{
|
|
3142
|
+
"mask-clip": ["border", "padding", "content", "fill", "stroke", "view"]
|
|
3143
|
+
}, "mask-no-clip"],
|
|
3144
|
+
/**
|
|
3145
|
+
* Mask Composite
|
|
3146
|
+
* @see https://tailwindcss.com/docs/mask-composite
|
|
3147
|
+
*/
|
|
3148
|
+
"mask-composite": [{
|
|
3149
|
+
mask: ["add", "subtract", "intersect", "exclude"]
|
|
3150
|
+
}],
|
|
3151
|
+
/**
|
|
3152
|
+
* Mask Image
|
|
3153
|
+
* @see https://tailwindcss.com/docs/mask-image
|
|
3154
|
+
*/
|
|
3155
|
+
"mask-image-linear-pos": [{
|
|
3156
|
+
"mask-linear": [E]
|
|
3157
|
+
}],
|
|
3158
|
+
"mask-image-linear-from-pos": [{
|
|
3159
|
+
"mask-linear-from": P()
|
|
3160
|
+
}],
|
|
3161
|
+
"mask-image-linear-to-pos": [{
|
|
3162
|
+
"mask-linear-to": P()
|
|
3163
|
+
}],
|
|
3164
|
+
"mask-image-linear-from-color": [{
|
|
3165
|
+
"mask-linear-from": C()
|
|
3166
|
+
}],
|
|
3167
|
+
"mask-image-linear-to-color": [{
|
|
3168
|
+
"mask-linear-to": C()
|
|
3169
|
+
}],
|
|
3170
|
+
"mask-image-t-from-pos": [{
|
|
3171
|
+
"mask-t-from": P()
|
|
3172
|
+
}],
|
|
3173
|
+
"mask-image-t-to-pos": [{
|
|
3174
|
+
"mask-t-to": P()
|
|
3175
|
+
}],
|
|
3176
|
+
"mask-image-t-from-color": [{
|
|
3177
|
+
"mask-t-from": C()
|
|
3178
|
+
}],
|
|
3179
|
+
"mask-image-t-to-color": [{
|
|
3180
|
+
"mask-t-to": C()
|
|
3181
|
+
}],
|
|
3182
|
+
"mask-image-r-from-pos": [{
|
|
3183
|
+
"mask-r-from": P()
|
|
3184
|
+
}],
|
|
3185
|
+
"mask-image-r-to-pos": [{
|
|
3186
|
+
"mask-r-to": P()
|
|
3187
|
+
}],
|
|
3188
|
+
"mask-image-r-from-color": [{
|
|
3189
|
+
"mask-r-from": C()
|
|
3190
|
+
}],
|
|
3191
|
+
"mask-image-r-to-color": [{
|
|
3192
|
+
"mask-r-to": C()
|
|
3193
|
+
}],
|
|
3194
|
+
"mask-image-b-from-pos": [{
|
|
3195
|
+
"mask-b-from": P()
|
|
3196
|
+
}],
|
|
3197
|
+
"mask-image-b-to-pos": [{
|
|
3198
|
+
"mask-b-to": P()
|
|
3199
|
+
}],
|
|
3200
|
+
"mask-image-b-from-color": [{
|
|
3201
|
+
"mask-b-from": C()
|
|
3202
|
+
}],
|
|
3203
|
+
"mask-image-b-to-color": [{
|
|
3204
|
+
"mask-b-to": C()
|
|
3205
|
+
}],
|
|
3206
|
+
"mask-image-l-from-pos": [{
|
|
3207
|
+
"mask-l-from": P()
|
|
3208
|
+
}],
|
|
3209
|
+
"mask-image-l-to-pos": [{
|
|
3210
|
+
"mask-l-to": P()
|
|
3211
|
+
}],
|
|
3212
|
+
"mask-image-l-from-color": [{
|
|
3213
|
+
"mask-l-from": C()
|
|
3214
|
+
}],
|
|
3215
|
+
"mask-image-l-to-color": [{
|
|
3216
|
+
"mask-l-to": C()
|
|
3217
|
+
}],
|
|
3218
|
+
"mask-image-x-from-pos": [{
|
|
3219
|
+
"mask-x-from": P()
|
|
3220
|
+
}],
|
|
3221
|
+
"mask-image-x-to-pos": [{
|
|
3222
|
+
"mask-x-to": P()
|
|
3223
|
+
}],
|
|
3224
|
+
"mask-image-x-from-color": [{
|
|
3225
|
+
"mask-x-from": C()
|
|
3226
|
+
}],
|
|
3227
|
+
"mask-image-x-to-color": [{
|
|
3228
|
+
"mask-x-to": C()
|
|
3229
|
+
}],
|
|
3230
|
+
"mask-image-y-from-pos": [{
|
|
3231
|
+
"mask-y-from": P()
|
|
3232
|
+
}],
|
|
3233
|
+
"mask-image-y-to-pos": [{
|
|
3234
|
+
"mask-y-to": P()
|
|
3235
|
+
}],
|
|
3236
|
+
"mask-image-y-from-color": [{
|
|
3237
|
+
"mask-y-from": C()
|
|
3238
|
+
}],
|
|
3239
|
+
"mask-image-y-to-color": [{
|
|
3240
|
+
"mask-y-to": C()
|
|
3241
|
+
}],
|
|
3242
|
+
"mask-image-radial": [{
|
|
3243
|
+
"mask-radial": [w, v]
|
|
3244
|
+
}],
|
|
3245
|
+
"mask-image-radial-from-pos": [{
|
|
3246
|
+
"mask-radial-from": P()
|
|
3247
|
+
}],
|
|
3248
|
+
"mask-image-radial-to-pos": [{
|
|
3249
|
+
"mask-radial-to": P()
|
|
3250
|
+
}],
|
|
3251
|
+
"mask-image-radial-from-color": [{
|
|
3252
|
+
"mask-radial-from": C()
|
|
3253
|
+
}],
|
|
3254
|
+
"mask-image-radial-to-color": [{
|
|
3255
|
+
"mask-radial-to": C()
|
|
3256
|
+
}],
|
|
3257
|
+
"mask-image-radial-shape": [{
|
|
3258
|
+
"mask-radial": ["circle", "ellipse"]
|
|
3259
|
+
}],
|
|
3260
|
+
"mask-image-radial-size": [{
|
|
3261
|
+
"mask-radial": [{
|
|
3262
|
+
closest: ["side", "corner"],
|
|
3263
|
+
farthest: ["side", "corner"]
|
|
3264
|
+
}]
|
|
3265
|
+
}],
|
|
3266
|
+
"mask-image-radial-pos": [{
|
|
3267
|
+
"mask-radial-at": L()
|
|
3268
|
+
}],
|
|
3269
|
+
"mask-image-conic-pos": [{
|
|
3270
|
+
"mask-conic": [E]
|
|
3271
|
+
}],
|
|
3272
|
+
"mask-image-conic-from-pos": [{
|
|
3273
|
+
"mask-conic-from": P()
|
|
3274
|
+
}],
|
|
3275
|
+
"mask-image-conic-to-pos": [{
|
|
3276
|
+
"mask-conic-to": P()
|
|
3277
|
+
}],
|
|
3278
|
+
"mask-image-conic-from-color": [{
|
|
3279
|
+
"mask-conic-from": C()
|
|
3280
|
+
}],
|
|
3281
|
+
"mask-image-conic-to-color": [{
|
|
3282
|
+
"mask-conic-to": C()
|
|
3283
|
+
}],
|
|
3284
|
+
/**
|
|
3285
|
+
* Mask Mode
|
|
3286
|
+
* @see https://tailwindcss.com/docs/mask-mode
|
|
3287
|
+
*/
|
|
3288
|
+
"mask-mode": [{
|
|
3289
|
+
mask: ["alpha", "luminance", "match"]
|
|
3290
|
+
}],
|
|
3291
|
+
/**
|
|
3292
|
+
* Mask Origin
|
|
3293
|
+
* @see https://tailwindcss.com/docs/mask-origin
|
|
3294
|
+
*/
|
|
3295
|
+
"mask-origin": [{
|
|
3296
|
+
"mask-origin": ["border", "padding", "content", "fill", "stroke", "view"]
|
|
3297
|
+
}],
|
|
3298
|
+
/**
|
|
3299
|
+
* Mask Position
|
|
3300
|
+
* @see https://tailwindcss.com/docs/mask-position
|
|
3301
|
+
*/
|
|
3302
|
+
"mask-position": [{
|
|
3303
|
+
mask: ee()
|
|
3304
|
+
}],
|
|
3305
|
+
/**
|
|
3306
|
+
* Mask Repeat
|
|
3307
|
+
* @see https://tailwindcss.com/docs/mask-repeat
|
|
3308
|
+
*/
|
|
3309
|
+
"mask-repeat": [{
|
|
3310
|
+
mask: ce()
|
|
3311
|
+
}],
|
|
3312
|
+
/**
|
|
3313
|
+
* Mask Size
|
|
3314
|
+
* @see https://tailwindcss.com/docs/mask-size
|
|
3315
|
+
*/
|
|
3316
|
+
"mask-size": [{
|
|
3317
|
+
mask: Y()
|
|
3318
|
+
}],
|
|
3319
|
+
/**
|
|
3320
|
+
* Mask Type
|
|
3321
|
+
* @see https://tailwindcss.com/docs/mask-type
|
|
3322
|
+
*/
|
|
3323
|
+
"mask-type": [{
|
|
3324
|
+
"mask-type": ["alpha", "luminance"]
|
|
3325
|
+
}],
|
|
3326
|
+
/**
|
|
3327
|
+
* Mask Image
|
|
3328
|
+
* @see https://tailwindcss.com/docs/mask-image
|
|
3329
|
+
*/
|
|
3330
|
+
"mask-image": [{
|
|
3331
|
+
mask: ["none", w, v]
|
|
3332
|
+
}],
|
|
3333
|
+
// ---------------
|
|
3334
|
+
// --- Filters ---
|
|
3335
|
+
// ---------------
|
|
3336
|
+
/**
|
|
3337
|
+
* Filter
|
|
3338
|
+
* @see https://tailwindcss.com/docs/filter
|
|
3339
|
+
*/
|
|
3340
|
+
filter: [{
|
|
3341
|
+
filter: [
|
|
3342
|
+
// Deprecated since Tailwind CSS v3.0.0
|
|
3343
|
+
"",
|
|
3344
|
+
"none",
|
|
3345
|
+
w,
|
|
3346
|
+
v
|
|
3347
|
+
]
|
|
3348
|
+
}],
|
|
3349
|
+
/**
|
|
3350
|
+
* Blur
|
|
3351
|
+
* @see https://tailwindcss.com/docs/blur
|
|
3352
|
+
*/
|
|
3353
|
+
blur: [{
|
|
3354
|
+
blur: H()
|
|
3355
|
+
}],
|
|
3356
|
+
/**
|
|
3357
|
+
* Brightness
|
|
3358
|
+
* @see https://tailwindcss.com/docs/brightness
|
|
3359
|
+
*/
|
|
3360
|
+
brightness: [{
|
|
3361
|
+
brightness: [E, w, v]
|
|
3362
|
+
}],
|
|
3363
|
+
/**
|
|
3364
|
+
* Contrast
|
|
3365
|
+
* @see https://tailwindcss.com/docs/contrast
|
|
3366
|
+
*/
|
|
3367
|
+
contrast: [{
|
|
3368
|
+
contrast: [E, w, v]
|
|
3369
|
+
}],
|
|
3370
|
+
/**
|
|
3371
|
+
* Drop Shadow
|
|
3372
|
+
* @see https://tailwindcss.com/docs/drop-shadow
|
|
3373
|
+
*/
|
|
3374
|
+
"drop-shadow": [{
|
|
3375
|
+
"drop-shadow": [
|
|
3376
|
+
// Deprecated since Tailwind CSS v4.0.0
|
|
3377
|
+
"",
|
|
3378
|
+
"none",
|
|
3379
|
+
y,
|
|
3380
|
+
Ne,
|
|
3381
|
+
Me
|
|
3382
|
+
]
|
|
3383
|
+
}],
|
|
3384
|
+
/**
|
|
3385
|
+
* Drop Shadow Color
|
|
3386
|
+
* @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
|
|
3387
|
+
*/
|
|
3388
|
+
"drop-shadow-color": [{
|
|
3389
|
+
"drop-shadow": C()
|
|
3390
|
+
}],
|
|
3391
|
+
/**
|
|
3392
|
+
* Grayscale
|
|
3393
|
+
* @see https://tailwindcss.com/docs/grayscale
|
|
3394
|
+
*/
|
|
3395
|
+
grayscale: [{
|
|
3396
|
+
grayscale: ["", E, w, v]
|
|
3397
|
+
}],
|
|
3398
|
+
/**
|
|
3399
|
+
* Hue Rotate
|
|
3400
|
+
* @see https://tailwindcss.com/docs/hue-rotate
|
|
3401
|
+
*/
|
|
3402
|
+
"hue-rotate": [{
|
|
3403
|
+
"hue-rotate": [E, w, v]
|
|
3404
|
+
}],
|
|
3405
|
+
/**
|
|
3406
|
+
* Invert
|
|
3407
|
+
* @see https://tailwindcss.com/docs/invert
|
|
3408
|
+
*/
|
|
3409
|
+
invert: [{
|
|
3410
|
+
invert: ["", E, w, v]
|
|
3411
|
+
}],
|
|
3412
|
+
/**
|
|
3413
|
+
* Saturate
|
|
3414
|
+
* @see https://tailwindcss.com/docs/saturate
|
|
3415
|
+
*/
|
|
3416
|
+
saturate: [{
|
|
3417
|
+
saturate: [E, w, v]
|
|
3418
|
+
}],
|
|
3419
|
+
/**
|
|
3420
|
+
* Sepia
|
|
3421
|
+
* @see https://tailwindcss.com/docs/sepia
|
|
3422
|
+
*/
|
|
3423
|
+
sepia: [{
|
|
3424
|
+
sepia: ["", E, w, v]
|
|
3425
|
+
}],
|
|
3426
|
+
/**
|
|
3427
|
+
* Backdrop Filter
|
|
3428
|
+
* @see https://tailwindcss.com/docs/backdrop-filter
|
|
3429
|
+
*/
|
|
3430
|
+
"backdrop-filter": [{
|
|
3431
|
+
"backdrop-filter": [
|
|
3432
|
+
// Deprecated since Tailwind CSS v3.0.0
|
|
3433
|
+
"",
|
|
3434
|
+
"none",
|
|
3435
|
+
w,
|
|
3436
|
+
v
|
|
3437
|
+
]
|
|
3438
|
+
}],
|
|
3439
|
+
/**
|
|
3440
|
+
* Backdrop Blur
|
|
3441
|
+
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
3442
|
+
*/
|
|
3443
|
+
"backdrop-blur": [{
|
|
3444
|
+
"backdrop-blur": H()
|
|
3445
|
+
}],
|
|
3446
|
+
/**
|
|
3447
|
+
* Backdrop Brightness
|
|
3448
|
+
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
3449
|
+
*/
|
|
3450
|
+
"backdrop-brightness": [{
|
|
3451
|
+
"backdrop-brightness": [E, w, v]
|
|
3452
|
+
}],
|
|
3453
|
+
/**
|
|
3454
|
+
* Backdrop Contrast
|
|
3455
|
+
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
3456
|
+
*/
|
|
3457
|
+
"backdrop-contrast": [{
|
|
3458
|
+
"backdrop-contrast": [E, w, v]
|
|
3459
|
+
}],
|
|
3460
|
+
/**
|
|
3461
|
+
* Backdrop Grayscale
|
|
3462
|
+
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
3463
|
+
*/
|
|
3464
|
+
"backdrop-grayscale": [{
|
|
3465
|
+
"backdrop-grayscale": ["", E, w, v]
|
|
3466
|
+
}],
|
|
3467
|
+
/**
|
|
3468
|
+
* Backdrop Hue Rotate
|
|
3469
|
+
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
3470
|
+
*/
|
|
3471
|
+
"backdrop-hue-rotate": [{
|
|
3472
|
+
"backdrop-hue-rotate": [E, w, v]
|
|
3473
|
+
}],
|
|
3474
|
+
/**
|
|
3475
|
+
* Backdrop Invert
|
|
3476
|
+
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
3477
|
+
*/
|
|
3478
|
+
"backdrop-invert": [{
|
|
3479
|
+
"backdrop-invert": ["", E, w, v]
|
|
3480
|
+
}],
|
|
3481
|
+
/**
|
|
3482
|
+
* Backdrop Opacity
|
|
3483
|
+
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
3484
|
+
*/
|
|
3485
|
+
"backdrop-opacity": [{
|
|
3486
|
+
"backdrop-opacity": [E, w, v]
|
|
3487
|
+
}],
|
|
3488
|
+
/**
|
|
3489
|
+
* Backdrop Saturate
|
|
3490
|
+
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
3491
|
+
*/
|
|
3492
|
+
"backdrop-saturate": [{
|
|
3493
|
+
"backdrop-saturate": [E, w, v]
|
|
3494
|
+
}],
|
|
3495
|
+
/**
|
|
3496
|
+
* Backdrop Sepia
|
|
3497
|
+
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
3498
|
+
*/
|
|
3499
|
+
"backdrop-sepia": [{
|
|
3500
|
+
"backdrop-sepia": ["", E, w, v]
|
|
3501
|
+
}],
|
|
3502
|
+
// --------------
|
|
3503
|
+
// --- Tables ---
|
|
3504
|
+
// --------------
|
|
3505
|
+
/**
|
|
3506
|
+
* Border Collapse
|
|
3507
|
+
* @see https://tailwindcss.com/docs/border-collapse
|
|
3508
|
+
*/
|
|
3509
|
+
"border-collapse": [{
|
|
3510
|
+
border: ["collapse", "separate"]
|
|
3511
|
+
}],
|
|
3512
|
+
/**
|
|
3513
|
+
* Border Spacing
|
|
3514
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
3515
|
+
*/
|
|
3516
|
+
"border-spacing": [{
|
|
3517
|
+
"border-spacing": h()
|
|
3518
|
+
}],
|
|
3519
|
+
/**
|
|
3520
|
+
* Border Spacing X
|
|
3521
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
3522
|
+
*/
|
|
3523
|
+
"border-spacing-x": [{
|
|
3524
|
+
"border-spacing-x": h()
|
|
3525
|
+
}],
|
|
3526
|
+
/**
|
|
3527
|
+
* Border Spacing Y
|
|
3528
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
3529
|
+
*/
|
|
3530
|
+
"border-spacing-y": [{
|
|
3531
|
+
"border-spacing-y": h()
|
|
3532
|
+
}],
|
|
3533
|
+
/**
|
|
3534
|
+
* Table Layout
|
|
3535
|
+
* @see https://tailwindcss.com/docs/table-layout
|
|
3536
|
+
*/
|
|
3537
|
+
"table-layout": [{
|
|
3538
|
+
table: ["auto", "fixed"]
|
|
3539
|
+
}],
|
|
3540
|
+
/**
|
|
3541
|
+
* Caption Side
|
|
3542
|
+
* @see https://tailwindcss.com/docs/caption-side
|
|
3543
|
+
*/
|
|
3544
|
+
caption: [{
|
|
3545
|
+
caption: ["top", "bottom"]
|
|
3546
|
+
}],
|
|
3547
|
+
// ---------------------------------
|
|
3548
|
+
// --- Transitions and Animation ---
|
|
3549
|
+
// ---------------------------------
|
|
3550
|
+
/**
|
|
3551
|
+
* Transition Property
|
|
3552
|
+
* @see https://tailwindcss.com/docs/transition-property
|
|
3553
|
+
*/
|
|
3554
|
+
transition: [{
|
|
3555
|
+
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", w, v]
|
|
3556
|
+
}],
|
|
3557
|
+
/**
|
|
3558
|
+
* Transition Behavior
|
|
3559
|
+
* @see https://tailwindcss.com/docs/transition-behavior
|
|
3560
|
+
*/
|
|
3561
|
+
"transition-behavior": [{
|
|
3562
|
+
transition: ["normal", "discrete"]
|
|
3563
|
+
}],
|
|
3564
|
+
/**
|
|
3565
|
+
* Transition Duration
|
|
3566
|
+
* @see https://tailwindcss.com/docs/transition-duration
|
|
3567
|
+
*/
|
|
3568
|
+
duration: [{
|
|
3569
|
+
duration: [E, "initial", w, v]
|
|
3570
|
+
}],
|
|
3571
|
+
/**
|
|
3572
|
+
* Transition Timing Function
|
|
3573
|
+
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
3574
|
+
*/
|
|
3575
|
+
ease: [{
|
|
3576
|
+
ease: ["linear", "initial", u, w, v]
|
|
3577
|
+
}],
|
|
3578
|
+
/**
|
|
3579
|
+
* Transition Delay
|
|
3580
|
+
* @see https://tailwindcss.com/docs/transition-delay
|
|
3581
|
+
*/
|
|
3582
|
+
delay: [{
|
|
3583
|
+
delay: [E, w, v]
|
|
3584
|
+
}],
|
|
3585
|
+
/**
|
|
3586
|
+
* Animation
|
|
3587
|
+
* @see https://tailwindcss.com/docs/animation
|
|
3588
|
+
*/
|
|
3589
|
+
animate: [{
|
|
3590
|
+
animate: ["none", x, w, v]
|
|
3591
|
+
}],
|
|
3592
|
+
// ------------------
|
|
3593
|
+
// --- Transforms ---
|
|
3594
|
+
// ------------------
|
|
3595
|
+
/**
|
|
3596
|
+
* Backface Visibility
|
|
3597
|
+
* @see https://tailwindcss.com/docs/backface-visibility
|
|
3598
|
+
*/
|
|
3599
|
+
backface: [{
|
|
3600
|
+
backface: ["hidden", "visible"]
|
|
3601
|
+
}],
|
|
3602
|
+
/**
|
|
3603
|
+
* Perspective
|
|
3604
|
+
* @see https://tailwindcss.com/docs/perspective
|
|
3605
|
+
*/
|
|
3606
|
+
perspective: [{
|
|
3607
|
+
perspective: [p, w, v]
|
|
3608
|
+
}],
|
|
3609
|
+
/**
|
|
3610
|
+
* Perspective Origin
|
|
3611
|
+
* @see https://tailwindcss.com/docs/perspective-origin
|
|
3612
|
+
*/
|
|
3613
|
+
"perspective-origin": [{
|
|
3614
|
+
"perspective-origin": N()
|
|
3615
|
+
}],
|
|
3616
|
+
/**
|
|
3617
|
+
* Rotate
|
|
3618
|
+
* @see https://tailwindcss.com/docs/rotate
|
|
3619
|
+
*/
|
|
3620
|
+
rotate: [{
|
|
3621
|
+
rotate: X()
|
|
3622
|
+
}],
|
|
3623
|
+
/**
|
|
3624
|
+
* Rotate X
|
|
3625
|
+
* @see https://tailwindcss.com/docs/rotate
|
|
3626
|
+
*/
|
|
3627
|
+
"rotate-x": [{
|
|
3628
|
+
"rotate-x": X()
|
|
3629
|
+
}],
|
|
3630
|
+
/**
|
|
3631
|
+
* Rotate Y
|
|
3632
|
+
* @see https://tailwindcss.com/docs/rotate
|
|
3633
|
+
*/
|
|
3634
|
+
"rotate-y": [{
|
|
3635
|
+
"rotate-y": X()
|
|
3636
|
+
}],
|
|
3637
|
+
/**
|
|
3638
|
+
* Rotate Z
|
|
3639
|
+
* @see https://tailwindcss.com/docs/rotate
|
|
3640
|
+
*/
|
|
3641
|
+
"rotate-z": [{
|
|
3642
|
+
"rotate-z": X()
|
|
3643
|
+
}],
|
|
3644
|
+
/**
|
|
3645
|
+
* Scale
|
|
3646
|
+
* @see https://tailwindcss.com/docs/scale
|
|
3647
|
+
*/
|
|
3648
|
+
scale: [{
|
|
3649
|
+
scale: W()
|
|
3650
|
+
}],
|
|
3651
|
+
/**
|
|
3652
|
+
* Scale X
|
|
3653
|
+
* @see https://tailwindcss.com/docs/scale
|
|
3654
|
+
*/
|
|
3655
|
+
"scale-x": [{
|
|
3656
|
+
"scale-x": W()
|
|
3657
|
+
}],
|
|
3658
|
+
/**
|
|
3659
|
+
* Scale Y
|
|
3660
|
+
* @see https://tailwindcss.com/docs/scale
|
|
3661
|
+
*/
|
|
3662
|
+
"scale-y": [{
|
|
3663
|
+
"scale-y": W()
|
|
3664
|
+
}],
|
|
3665
|
+
/**
|
|
3666
|
+
* Scale Z
|
|
3667
|
+
* @see https://tailwindcss.com/docs/scale
|
|
3668
|
+
*/
|
|
3669
|
+
"scale-z": [{
|
|
3670
|
+
"scale-z": W()
|
|
3671
|
+
}],
|
|
3672
|
+
/**
|
|
3673
|
+
* Scale 3D
|
|
3674
|
+
* @see https://tailwindcss.com/docs/scale
|
|
3675
|
+
*/
|
|
3676
|
+
"scale-3d": ["scale-3d"],
|
|
3677
|
+
/**
|
|
3678
|
+
* Skew
|
|
3679
|
+
* @see https://tailwindcss.com/docs/skew
|
|
3680
|
+
*/
|
|
3681
|
+
skew: [{
|
|
3682
|
+
skew: O()
|
|
3683
|
+
}],
|
|
3684
|
+
/**
|
|
3685
|
+
* Skew X
|
|
3686
|
+
* @see https://tailwindcss.com/docs/skew
|
|
3687
|
+
*/
|
|
3688
|
+
"skew-x": [{
|
|
3689
|
+
"skew-x": O()
|
|
3690
|
+
}],
|
|
3691
|
+
/**
|
|
3692
|
+
* Skew Y
|
|
3693
|
+
* @see https://tailwindcss.com/docs/skew
|
|
3694
|
+
*/
|
|
3695
|
+
"skew-y": [{
|
|
3696
|
+
"skew-y": O()
|
|
3697
|
+
}],
|
|
3698
|
+
/**
|
|
3699
|
+
* Transform
|
|
3700
|
+
* @see https://tailwindcss.com/docs/transform
|
|
3701
|
+
*/
|
|
3702
|
+
transform: [{
|
|
3703
|
+
transform: [w, v, "", "none", "gpu", "cpu"]
|
|
3704
|
+
}],
|
|
3705
|
+
/**
|
|
3706
|
+
* Transform Origin
|
|
3707
|
+
* @see https://tailwindcss.com/docs/transform-origin
|
|
3708
|
+
*/
|
|
3709
|
+
"transform-origin": [{
|
|
3710
|
+
origin: N()
|
|
3711
|
+
}],
|
|
3712
|
+
/**
|
|
3713
|
+
* Transform Style
|
|
3714
|
+
* @see https://tailwindcss.com/docs/transform-style
|
|
3715
|
+
*/
|
|
3716
|
+
"transform-style": [{
|
|
3717
|
+
transform: ["3d", "flat"]
|
|
3718
|
+
}],
|
|
3719
|
+
/**
|
|
3720
|
+
* Translate
|
|
3721
|
+
* @see https://tailwindcss.com/docs/translate
|
|
3722
|
+
*/
|
|
3723
|
+
translate: [{
|
|
3724
|
+
translate: k()
|
|
3725
|
+
}],
|
|
3726
|
+
/**
|
|
3727
|
+
* Translate X
|
|
3728
|
+
* @see https://tailwindcss.com/docs/translate
|
|
3729
|
+
*/
|
|
3730
|
+
"translate-x": [{
|
|
3731
|
+
"translate-x": k()
|
|
3732
|
+
}],
|
|
3733
|
+
/**
|
|
3734
|
+
* Translate Y
|
|
3735
|
+
* @see https://tailwindcss.com/docs/translate
|
|
3736
|
+
*/
|
|
3737
|
+
"translate-y": [{
|
|
3738
|
+
"translate-y": k()
|
|
3739
|
+
}],
|
|
3740
|
+
/**
|
|
3741
|
+
* Translate Z
|
|
3742
|
+
* @see https://tailwindcss.com/docs/translate
|
|
3743
|
+
*/
|
|
3744
|
+
"translate-z": [{
|
|
3745
|
+
"translate-z": k()
|
|
3746
|
+
}],
|
|
3747
|
+
/**
|
|
3748
|
+
* Translate None
|
|
3749
|
+
* @see https://tailwindcss.com/docs/translate
|
|
3750
|
+
*/
|
|
3751
|
+
"translate-none": ["translate-none"],
|
|
3752
|
+
// ---------------------
|
|
3753
|
+
// --- Interactivity ---
|
|
3754
|
+
// ---------------------
|
|
3755
|
+
/**
|
|
3756
|
+
* Accent Color
|
|
3757
|
+
* @see https://tailwindcss.com/docs/accent-color
|
|
3758
|
+
*/
|
|
3759
|
+
accent: [{
|
|
3760
|
+
accent: C()
|
|
3761
|
+
}],
|
|
3762
|
+
/**
|
|
3763
|
+
* Appearance
|
|
3764
|
+
* @see https://tailwindcss.com/docs/appearance
|
|
3765
|
+
*/
|
|
3766
|
+
appearance: [{
|
|
3767
|
+
appearance: ["none", "auto"]
|
|
3768
|
+
}],
|
|
3769
|
+
/**
|
|
3770
|
+
* Caret Color
|
|
3771
|
+
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
3772
|
+
*/
|
|
3773
|
+
"caret-color": [{
|
|
3774
|
+
caret: C()
|
|
3775
|
+
}],
|
|
3776
|
+
/**
|
|
3777
|
+
* Color Scheme
|
|
3778
|
+
* @see https://tailwindcss.com/docs/color-scheme
|
|
3779
|
+
*/
|
|
3780
|
+
"color-scheme": [{
|
|
3781
|
+
scheme: ["normal", "dark", "light", "light-dark", "only-dark", "only-light"]
|
|
3782
|
+
}],
|
|
3783
|
+
/**
|
|
3784
|
+
* Cursor
|
|
3785
|
+
* @see https://tailwindcss.com/docs/cursor
|
|
3786
|
+
*/
|
|
3787
|
+
cursor: [{
|
|
3788
|
+
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", w, v]
|
|
3789
|
+
}],
|
|
3790
|
+
/**
|
|
3791
|
+
* Field Sizing
|
|
3792
|
+
* @see https://tailwindcss.com/docs/field-sizing
|
|
3793
|
+
*/
|
|
3794
|
+
"field-sizing": [{
|
|
3795
|
+
"field-sizing": ["fixed", "content"]
|
|
3796
|
+
}],
|
|
3797
|
+
/**
|
|
3798
|
+
* Pointer Events
|
|
3799
|
+
* @see https://tailwindcss.com/docs/pointer-events
|
|
3800
|
+
*/
|
|
3801
|
+
"pointer-events": [{
|
|
3802
|
+
"pointer-events": ["auto", "none"]
|
|
3803
|
+
}],
|
|
3804
|
+
/**
|
|
3805
|
+
* Resize
|
|
3806
|
+
* @see https://tailwindcss.com/docs/resize
|
|
3807
|
+
*/
|
|
3808
|
+
resize: [{
|
|
3809
|
+
resize: ["none", "", "y", "x"]
|
|
3810
|
+
}],
|
|
3811
|
+
/**
|
|
3812
|
+
* Scroll Behavior
|
|
3813
|
+
* @see https://tailwindcss.com/docs/scroll-behavior
|
|
3814
|
+
*/
|
|
3815
|
+
"scroll-behavior": [{
|
|
3816
|
+
scroll: ["auto", "smooth"]
|
|
3817
|
+
}],
|
|
3818
|
+
/**
|
|
3819
|
+
* Scroll Margin
|
|
3820
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3821
|
+
*/
|
|
3822
|
+
"scroll-m": [{
|
|
3823
|
+
"scroll-m": h()
|
|
3824
|
+
}],
|
|
3825
|
+
/**
|
|
3826
|
+
* Scroll Margin X
|
|
3827
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3828
|
+
*/
|
|
3829
|
+
"scroll-mx": [{
|
|
3830
|
+
"scroll-mx": h()
|
|
3831
|
+
}],
|
|
3832
|
+
/**
|
|
3833
|
+
* Scroll Margin Y
|
|
3834
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3835
|
+
*/
|
|
3836
|
+
"scroll-my": [{
|
|
3837
|
+
"scroll-my": h()
|
|
3838
|
+
}],
|
|
3839
|
+
/**
|
|
3840
|
+
* Scroll Margin Start
|
|
3841
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3842
|
+
*/
|
|
3843
|
+
"scroll-ms": [{
|
|
3844
|
+
"scroll-ms": h()
|
|
3845
|
+
}],
|
|
3846
|
+
/**
|
|
3847
|
+
* Scroll Margin End
|
|
3848
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3849
|
+
*/
|
|
3850
|
+
"scroll-me": [{
|
|
3851
|
+
"scroll-me": h()
|
|
3852
|
+
}],
|
|
3853
|
+
/**
|
|
3854
|
+
* Scroll Margin Top
|
|
3855
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3856
|
+
*/
|
|
3857
|
+
"scroll-mt": [{
|
|
3858
|
+
"scroll-mt": h()
|
|
3859
|
+
}],
|
|
3860
|
+
/**
|
|
3861
|
+
* Scroll Margin Right
|
|
3862
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3863
|
+
*/
|
|
3864
|
+
"scroll-mr": [{
|
|
3865
|
+
"scroll-mr": h()
|
|
3866
|
+
}],
|
|
3867
|
+
/**
|
|
3868
|
+
* Scroll Margin Bottom
|
|
3869
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3870
|
+
*/
|
|
3871
|
+
"scroll-mb": [{
|
|
3872
|
+
"scroll-mb": h()
|
|
3873
|
+
}],
|
|
3874
|
+
/**
|
|
3875
|
+
* Scroll Margin Left
|
|
3876
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3877
|
+
*/
|
|
3878
|
+
"scroll-ml": [{
|
|
3879
|
+
"scroll-ml": h()
|
|
3880
|
+
}],
|
|
3881
|
+
/**
|
|
3882
|
+
* Scroll Padding
|
|
3883
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3884
|
+
*/
|
|
3885
|
+
"scroll-p": [{
|
|
3886
|
+
"scroll-p": h()
|
|
3887
|
+
}],
|
|
3888
|
+
/**
|
|
3889
|
+
* Scroll Padding X
|
|
3890
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3891
|
+
*/
|
|
3892
|
+
"scroll-px": [{
|
|
3893
|
+
"scroll-px": h()
|
|
3894
|
+
}],
|
|
3895
|
+
/**
|
|
3896
|
+
* Scroll Padding Y
|
|
3897
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3898
|
+
*/
|
|
3899
|
+
"scroll-py": [{
|
|
3900
|
+
"scroll-py": h()
|
|
3901
|
+
}],
|
|
3902
|
+
/**
|
|
3903
|
+
* Scroll Padding Start
|
|
3904
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3905
|
+
*/
|
|
3906
|
+
"scroll-ps": [{
|
|
3907
|
+
"scroll-ps": h()
|
|
3908
|
+
}],
|
|
3909
|
+
/**
|
|
3910
|
+
* Scroll Padding End
|
|
3911
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3912
|
+
*/
|
|
3913
|
+
"scroll-pe": [{
|
|
3914
|
+
"scroll-pe": h()
|
|
3915
|
+
}],
|
|
3916
|
+
/**
|
|
3917
|
+
* Scroll Padding Top
|
|
3918
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3919
|
+
*/
|
|
3920
|
+
"scroll-pt": [{
|
|
3921
|
+
"scroll-pt": h()
|
|
3922
|
+
}],
|
|
3923
|
+
/**
|
|
3924
|
+
* Scroll Padding Right
|
|
3925
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3926
|
+
*/
|
|
3927
|
+
"scroll-pr": [{
|
|
3928
|
+
"scroll-pr": h()
|
|
3929
|
+
}],
|
|
3930
|
+
/**
|
|
3931
|
+
* Scroll Padding Bottom
|
|
3932
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3933
|
+
*/
|
|
3934
|
+
"scroll-pb": [{
|
|
3935
|
+
"scroll-pb": h()
|
|
3936
|
+
}],
|
|
3937
|
+
/**
|
|
3938
|
+
* Scroll Padding Left
|
|
3939
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3940
|
+
*/
|
|
3941
|
+
"scroll-pl": [{
|
|
3942
|
+
"scroll-pl": h()
|
|
3943
|
+
}],
|
|
3944
|
+
/**
|
|
3945
|
+
* Scroll Snap Align
|
|
3946
|
+
* @see https://tailwindcss.com/docs/scroll-snap-align
|
|
3947
|
+
*/
|
|
3948
|
+
"snap-align": [{
|
|
3949
|
+
snap: ["start", "end", "center", "align-none"]
|
|
3950
|
+
}],
|
|
3951
|
+
/**
|
|
3952
|
+
* Scroll Snap Stop
|
|
3953
|
+
* @see https://tailwindcss.com/docs/scroll-snap-stop
|
|
3954
|
+
*/
|
|
3955
|
+
"snap-stop": [{
|
|
3956
|
+
snap: ["normal", "always"]
|
|
3957
|
+
}],
|
|
3958
|
+
/**
|
|
3959
|
+
* Scroll Snap Type
|
|
3960
|
+
* @see https://tailwindcss.com/docs/scroll-snap-type
|
|
3961
|
+
*/
|
|
3962
|
+
"snap-type": [{
|
|
3963
|
+
snap: ["none", "x", "y", "both"]
|
|
3964
|
+
}],
|
|
3965
|
+
/**
|
|
3966
|
+
* Scroll Snap Type Strictness
|
|
3967
|
+
* @see https://tailwindcss.com/docs/scroll-snap-type
|
|
3968
|
+
*/
|
|
3969
|
+
"snap-strictness": [{
|
|
3970
|
+
snap: ["mandatory", "proximity"]
|
|
3971
|
+
}],
|
|
3972
|
+
/**
|
|
3973
|
+
* Touch Action
|
|
3974
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
3975
|
+
*/
|
|
3976
|
+
touch: [{
|
|
3977
|
+
touch: ["auto", "none", "manipulation"]
|
|
3978
|
+
}],
|
|
3979
|
+
/**
|
|
3980
|
+
* Touch Action X
|
|
3981
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
3982
|
+
*/
|
|
3983
|
+
"touch-x": [{
|
|
3984
|
+
"touch-pan": ["x", "left", "right"]
|
|
3985
|
+
}],
|
|
3986
|
+
/**
|
|
3987
|
+
* Touch Action Y
|
|
3988
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
3989
|
+
*/
|
|
3990
|
+
"touch-y": [{
|
|
3991
|
+
"touch-pan": ["y", "up", "down"]
|
|
3992
|
+
}],
|
|
3993
|
+
/**
|
|
3994
|
+
* Touch Action Pinch Zoom
|
|
3995
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
3996
|
+
*/
|
|
3997
|
+
"touch-pz": ["touch-pinch-zoom"],
|
|
3998
|
+
/**
|
|
3999
|
+
* User Select
|
|
4000
|
+
* @see https://tailwindcss.com/docs/user-select
|
|
4001
|
+
*/
|
|
4002
|
+
select: [{
|
|
4003
|
+
select: ["none", "text", "all", "auto"]
|
|
4004
|
+
}],
|
|
4005
|
+
/**
|
|
4006
|
+
* Will Change
|
|
4007
|
+
* @see https://tailwindcss.com/docs/will-change
|
|
4008
|
+
*/
|
|
4009
|
+
"will-change": [{
|
|
4010
|
+
"will-change": ["auto", "scroll", "contents", "transform", w, v]
|
|
4011
|
+
}],
|
|
4012
|
+
// -----------
|
|
4013
|
+
// --- SVG ---
|
|
4014
|
+
// -----------
|
|
4015
|
+
/**
|
|
4016
|
+
* Fill
|
|
4017
|
+
* @see https://tailwindcss.com/docs/fill
|
|
4018
|
+
*/
|
|
4019
|
+
fill: [{
|
|
4020
|
+
fill: ["none", ...C()]
|
|
4021
|
+
}],
|
|
4022
|
+
/**
|
|
4023
|
+
* Stroke Width
|
|
4024
|
+
* @see https://tailwindcss.com/docs/stroke-width
|
|
4025
|
+
*/
|
|
4026
|
+
"stroke-w": [{
|
|
4027
|
+
stroke: [E, ke, pe, $e]
|
|
4028
|
+
}],
|
|
4029
|
+
/**
|
|
4030
|
+
* Stroke
|
|
4031
|
+
* @see https://tailwindcss.com/docs/stroke
|
|
4032
|
+
*/
|
|
4033
|
+
stroke: [{
|
|
4034
|
+
stroke: ["none", ...C()]
|
|
4035
|
+
}],
|
|
4036
|
+
// ---------------------
|
|
4037
|
+
// --- Accessibility ---
|
|
4038
|
+
// ---------------------
|
|
4039
|
+
/**
|
|
4040
|
+
* Forced Color Adjust
|
|
4041
|
+
* @see https://tailwindcss.com/docs/forced-color-adjust
|
|
4042
|
+
*/
|
|
4043
|
+
"forced-color-adjust": [{
|
|
4044
|
+
"forced-color-adjust": ["auto", "none"]
|
|
4045
|
+
}]
|
|
4046
|
+
},
|
|
4047
|
+
conflictingClassGroups: {
|
|
4048
|
+
overflow: ["overflow-x", "overflow-y"],
|
|
4049
|
+
overscroll: ["overscroll-x", "overscroll-y"],
|
|
4050
|
+
inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
|
|
4051
|
+
"inset-x": ["right", "left"],
|
|
4052
|
+
"inset-y": ["top", "bottom"],
|
|
4053
|
+
flex: ["basis", "grow", "shrink"],
|
|
4054
|
+
gap: ["gap-x", "gap-y"],
|
|
4055
|
+
p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
|
|
4056
|
+
px: ["pr", "pl"],
|
|
4057
|
+
py: ["pt", "pb"],
|
|
4058
|
+
m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
|
|
4059
|
+
mx: ["mr", "ml"],
|
|
4060
|
+
my: ["mt", "mb"],
|
|
4061
|
+
size: ["w", "h"],
|
|
4062
|
+
"font-size": ["leading"],
|
|
4063
|
+
"fvn-normal": ["fvn-ordinal", "fvn-slashed-zero", "fvn-figure", "fvn-spacing", "fvn-fraction"],
|
|
4064
|
+
"fvn-ordinal": ["fvn-normal"],
|
|
4065
|
+
"fvn-slashed-zero": ["fvn-normal"],
|
|
4066
|
+
"fvn-figure": ["fvn-normal"],
|
|
4067
|
+
"fvn-spacing": ["fvn-normal"],
|
|
4068
|
+
"fvn-fraction": ["fvn-normal"],
|
|
4069
|
+
"line-clamp": ["display", "overflow"],
|
|
4070
|
+
rounded: ["rounded-s", "rounded-e", "rounded-t", "rounded-r", "rounded-b", "rounded-l", "rounded-ss", "rounded-se", "rounded-ee", "rounded-es", "rounded-tl", "rounded-tr", "rounded-br", "rounded-bl"],
|
|
4071
|
+
"rounded-s": ["rounded-ss", "rounded-es"],
|
|
4072
|
+
"rounded-e": ["rounded-se", "rounded-ee"],
|
|
4073
|
+
"rounded-t": ["rounded-tl", "rounded-tr"],
|
|
4074
|
+
"rounded-r": ["rounded-tr", "rounded-br"],
|
|
4075
|
+
"rounded-b": ["rounded-br", "rounded-bl"],
|
|
4076
|
+
"rounded-l": ["rounded-tl", "rounded-bl"],
|
|
4077
|
+
"border-spacing": ["border-spacing-x", "border-spacing-y"],
|
|
4078
|
+
"border-w": ["border-w-x", "border-w-y", "border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
|
|
4079
|
+
"border-w-x": ["border-w-r", "border-w-l"],
|
|
4080
|
+
"border-w-y": ["border-w-t", "border-w-b"],
|
|
4081
|
+
"border-color": ["border-color-x", "border-color-y", "border-color-s", "border-color-e", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
|
|
4082
|
+
"border-color-x": ["border-color-r", "border-color-l"],
|
|
4083
|
+
"border-color-y": ["border-color-t", "border-color-b"],
|
|
4084
|
+
translate: ["translate-x", "translate-y", "translate-none"],
|
|
4085
|
+
"translate-none": ["translate", "translate-x", "translate-y", "translate-z"],
|
|
4086
|
+
"scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
|
|
4087
|
+
"scroll-mx": ["scroll-mr", "scroll-ml"],
|
|
4088
|
+
"scroll-my": ["scroll-mt", "scroll-mb"],
|
|
4089
|
+
"scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
|
|
4090
|
+
"scroll-px": ["scroll-pr", "scroll-pl"],
|
|
4091
|
+
"scroll-py": ["scroll-pt", "scroll-pb"],
|
|
4092
|
+
touch: ["touch-x", "touch-y", "touch-pz"],
|
|
4093
|
+
"touch-x": ["touch"],
|
|
4094
|
+
"touch-y": ["touch"],
|
|
4095
|
+
"touch-pz": ["touch"]
|
|
4096
|
+
},
|
|
4097
|
+
conflictingClassGroupModifiers: {
|
|
4098
|
+
"font-size": ["leading"]
|
|
4099
|
+
},
|
|
4100
|
+
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
4101
|
+
};
|
|
4102
|
+
}, Pr = /* @__PURE__ */ fr(Nr);
|
|
4103
|
+
function ve(...e) {
|
|
4104
|
+
return Pr(Pt(e));
|
|
4105
|
+
}
|
|
4106
|
+
function kt(e, t) {
|
|
4107
|
+
if (typeof e == "function")
|
|
4108
|
+
return e(t);
|
|
4109
|
+
e != null && (e.current = t);
|
|
4110
|
+
}
|
|
4111
|
+
function Tr(...e) {
|
|
4112
|
+
return (t) => {
|
|
4113
|
+
let n = !1;
|
|
4114
|
+
const r = e.map((o) => {
|
|
4115
|
+
const s = kt(o, t);
|
|
4116
|
+
return !n && typeof s == "function" && (n = !0), s;
|
|
4117
|
+
});
|
|
4118
|
+
if (n)
|
|
4119
|
+
return () => {
|
|
4120
|
+
for (let o = 0; o < r.length; o++) {
|
|
4121
|
+
const s = r[o];
|
|
4122
|
+
typeof s == "function" ? s() : kt(e[o], null);
|
|
4123
|
+
}
|
|
4124
|
+
};
|
|
4125
|
+
};
|
|
4126
|
+
}
|
|
4127
|
+
// @__NO_SIDE_EFFECTS__
|
|
4128
|
+
function Or(e) {
|
|
4129
|
+
const t = /* @__PURE__ */ Vr(e), n = V.forwardRef((r, o) => {
|
|
4130
|
+
const { children: s, ...i } = r, c = V.Children.toArray(s), a = c.find(jr);
|
|
4131
|
+
if (a) {
|
|
4132
|
+
const l = a.props.children, m = c.map((f) => f === a ? V.Children.count(l) > 1 ? V.Children.only(null) : V.isValidElement(l) ? l.props.children : null : f);
|
|
4133
|
+
return /* @__PURE__ */ M(t, { ...i, ref: o, children: V.isValidElement(l) ? V.cloneElement(l, void 0, m) : null });
|
|
4134
|
+
}
|
|
4135
|
+
return /* @__PURE__ */ M(t, { ...i, ref: o, children: s });
|
|
4136
|
+
});
|
|
4137
|
+
return n.displayName = `${e}.Slot`, n;
|
|
4138
|
+
}
|
|
4139
|
+
var Rr = /* @__PURE__ */ Or("Slot");
|
|
4140
|
+
// @__NO_SIDE_EFFECTS__
|
|
4141
|
+
function Vr(e) {
|
|
4142
|
+
const t = V.forwardRef((n, r) => {
|
|
4143
|
+
const { children: o, ...s } = n;
|
|
4144
|
+
if (V.isValidElement(o)) {
|
|
4145
|
+
const i = Gr(o), c = Fr(s, o.props);
|
|
4146
|
+
return o.type !== V.Fragment && (c.ref = r ? Tr(r, i) : i), V.cloneElement(o, c);
|
|
4147
|
+
}
|
|
4148
|
+
return V.Children.count(o) > 1 ? V.Children.only(null) : null;
|
|
4149
|
+
});
|
|
4150
|
+
return t.displayName = `${e}.SlotClone`, t;
|
|
4151
|
+
}
|
|
4152
|
+
var Dr = Symbol("radix.slottable");
|
|
4153
|
+
function jr(e) {
|
|
4154
|
+
return V.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Dr;
|
|
4155
|
+
}
|
|
4156
|
+
function Fr(e, t) {
|
|
4157
|
+
const n = { ...t };
|
|
4158
|
+
for (const r in t) {
|
|
4159
|
+
const o = e[r], s = t[r];
|
|
4160
|
+
/^on[A-Z]/.test(r) ? o && s ? n[r] = (...c) => {
|
|
4161
|
+
const a = s(...c);
|
|
4162
|
+
return o(...c), a;
|
|
4163
|
+
} : o && (n[r] = o) : r === "style" ? n[r] = { ...o, ...s } : r === "className" && (n[r] = [o, s].filter(Boolean).join(" "));
|
|
4164
|
+
}
|
|
4165
|
+
return { ...e, ...n };
|
|
4166
|
+
}
|
|
4167
|
+
function Gr(e) {
|
|
4168
|
+
var r, o;
|
|
4169
|
+
let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
4170
|
+
return n ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
4171
|
+
}
|
|
4172
|
+
const St = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ct = Pt, Br = (e, t) => (n) => {
|
|
4173
|
+
var r;
|
|
4174
|
+
if ((t == null ? void 0 : t.variants) == null) return Ct(e, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
|
|
4175
|
+
const { variants: o, defaultVariants: s } = t, i = Object.keys(o).map((l) => {
|
|
4176
|
+
const m = n == null ? void 0 : n[l], f = s == null ? void 0 : s[l];
|
|
4177
|
+
if (m === null) return null;
|
|
4178
|
+
const g = St(m) || St(f);
|
|
4179
|
+
return o[l][g];
|
|
4180
|
+
}), c = n && Object.entries(n).reduce((l, m) => {
|
|
4181
|
+
let [f, g] = m;
|
|
4182
|
+
return g === void 0 || (l[f] = g), l;
|
|
4183
|
+
}, {}), a = t == null || (r = t.compoundVariants) === null || r === void 0 ? void 0 : r.reduce((l, m) => {
|
|
4184
|
+
let { class: f, className: g, ...y } = m;
|
|
4185
|
+
return Object.entries(y).every((d) => {
|
|
4186
|
+
let [p, b] = d;
|
|
4187
|
+
return Array.isArray(b) ? b.includes({
|
|
4188
|
+
...s,
|
|
4189
|
+
...c
|
|
4190
|
+
}[p]) : {
|
|
4191
|
+
...s,
|
|
4192
|
+
...c
|
|
4193
|
+
}[p] === b;
|
|
4194
|
+
}) ? [
|
|
4195
|
+
...l,
|
|
4196
|
+
f,
|
|
4197
|
+
g
|
|
4198
|
+
] : l;
|
|
4199
|
+
}, []);
|
|
4200
|
+
return Ct(e, i, a, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
|
|
4201
|
+
}, $r = Br(
|
|
4202
|
+
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
|
|
4203
|
+
{
|
|
4204
|
+
variants: {
|
|
4205
|
+
variant: {
|
|
4206
|
+
default: "bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",
|
|
4207
|
+
destructive: "bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
|
|
4208
|
+
outline: "border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",
|
|
4209
|
+
secondary: "bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",
|
|
4210
|
+
ghost: "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",
|
|
4211
|
+
link: "text-primary underline-offset-4 hover:underline"
|
|
4212
|
+
},
|
|
4213
|
+
size: {
|
|
4214
|
+
default: "h-9 px-4 py-2 has-[>svg]:px-3",
|
|
4215
|
+
sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",
|
|
4216
|
+
lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
|
|
4217
|
+
icon: "size-9"
|
|
4218
|
+
}
|
|
4219
|
+
},
|
|
4220
|
+
defaultVariants: {
|
|
4221
|
+
variant: "default",
|
|
4222
|
+
size: "default"
|
|
4223
|
+
}
|
|
4224
|
+
}
|
|
4225
|
+
);
|
|
4226
|
+
function _t({
|
|
4227
|
+
className: e,
|
|
4228
|
+
variant: t,
|
|
4229
|
+
size: n,
|
|
4230
|
+
asChild: r = !1,
|
|
4231
|
+
...o
|
|
4232
|
+
}) {
|
|
4233
|
+
return /* @__PURE__ */ M(
|
|
4234
|
+
r ? Rr : "button",
|
|
4235
|
+
{
|
|
4236
|
+
"data-slot": "button",
|
|
4237
|
+
className: ve($r({ variant: t, size: n, className: e })),
|
|
4238
|
+
...o
|
|
4239
|
+
}
|
|
4240
|
+
);
|
|
4241
|
+
}
|
|
4242
|
+
const Ht = V.createContext(null);
|
|
4243
|
+
function Oe() {
|
|
4244
|
+
const e = V.useContext(Ht);
|
|
4245
|
+
if (!e)
|
|
4246
|
+
throw new Error("useCarousel must be used within a <Carousel />");
|
|
4247
|
+
return e;
|
|
4248
|
+
}
|
|
4249
|
+
function Ut({
|
|
4250
|
+
orientation: e = "horizontal",
|
|
4251
|
+
opts: t,
|
|
4252
|
+
setApi: n,
|
|
4253
|
+
plugins: r,
|
|
4254
|
+
className: o,
|
|
4255
|
+
children: s,
|
|
4256
|
+
...i
|
|
4257
|
+
}) {
|
|
4258
|
+
const [c, a] = et(
|
|
4259
|
+
{
|
|
4260
|
+
...t,
|
|
4261
|
+
axis: e === "horizontal" ? "x" : "y"
|
|
4262
|
+
},
|
|
4263
|
+
r
|
|
4264
|
+
), [l, m] = V.useState(!1), [f, g] = V.useState(!1), y = V.useCallback((u) => {
|
|
4265
|
+
u && (m(u.canScrollPrev()), g(u.canScrollNext()));
|
|
4266
|
+
}, []), d = V.useCallback(() => {
|
|
4267
|
+
a == null || a.scrollPrev();
|
|
4268
|
+
}, [a]), p = V.useCallback(() => {
|
|
4269
|
+
a == null || a.scrollNext();
|
|
4270
|
+
}, [a]), b = V.useCallback(
|
|
4271
|
+
(u) => {
|
|
4272
|
+
u.key === "ArrowLeft" ? (u.preventDefault(), d()) : u.key === "ArrowRight" && (u.preventDefault(), p());
|
|
4273
|
+
},
|
|
4274
|
+
[d, p]
|
|
4275
|
+
);
|
|
4276
|
+
return V.useEffect(() => {
|
|
4277
|
+
!a || !n || n(a);
|
|
4278
|
+
}, [a, n]), V.useEffect(() => {
|
|
4279
|
+
if (a)
|
|
4280
|
+
return y(a), a.on("reInit", y), a.on("select", y), () => {
|
|
4281
|
+
a == null || a.off("select", y);
|
|
4282
|
+
};
|
|
4283
|
+
}, [a, y]), /* @__PURE__ */ M(
|
|
4284
|
+
Ht.Provider,
|
|
4285
|
+
{
|
|
4286
|
+
value: {
|
|
4287
|
+
carouselRef: c,
|
|
4288
|
+
api: a,
|
|
4289
|
+
opts: t,
|
|
4290
|
+
orientation: e || ((t == null ? void 0 : t.axis) === "y" ? "vertical" : "horizontal"),
|
|
4291
|
+
scrollPrev: d,
|
|
4292
|
+
scrollNext: p,
|
|
4293
|
+
canScrollPrev: l,
|
|
4294
|
+
canScrollNext: f
|
|
4295
|
+
},
|
|
4296
|
+
children: /* @__PURE__ */ M(
|
|
4297
|
+
"div",
|
|
4298
|
+
{
|
|
4299
|
+
onKeyDownCapture: b,
|
|
4300
|
+
className: ve("relative", o),
|
|
4301
|
+
role: "region",
|
|
4302
|
+
"aria-roledescription": "carousel",
|
|
4303
|
+
"data-slot": "carousel",
|
|
4304
|
+
...i,
|
|
4305
|
+
children: s
|
|
4306
|
+
}
|
|
4307
|
+
)
|
|
4308
|
+
}
|
|
4309
|
+
);
|
|
4310
|
+
}
|
|
4311
|
+
function qt({ className: e, ...t }) {
|
|
4312
|
+
const { carouselRef: n, orientation: r } = Oe();
|
|
4313
|
+
return /* @__PURE__ */ M(
|
|
4314
|
+
"div",
|
|
4315
|
+
{
|
|
4316
|
+
ref: n,
|
|
4317
|
+
className: "overflow-hidden",
|
|
4318
|
+
"data-slot": "carousel-content",
|
|
4319
|
+
children: /* @__PURE__ */ M(
|
|
4320
|
+
"div",
|
|
4321
|
+
{
|
|
4322
|
+
className: ve(
|
|
4323
|
+
"flex",
|
|
4324
|
+
r === "horizontal" ? "-ml-4" : "-mt-4 flex-col",
|
|
4325
|
+
e
|
|
4326
|
+
),
|
|
4327
|
+
...t
|
|
4328
|
+
}
|
|
4329
|
+
)
|
|
4330
|
+
}
|
|
4331
|
+
);
|
|
4332
|
+
}
|
|
4333
|
+
function Wt({ className: e, ...t }) {
|
|
4334
|
+
const { orientation: n } = Oe();
|
|
4335
|
+
return /* @__PURE__ */ M(
|
|
4336
|
+
"div",
|
|
4337
|
+
{
|
|
4338
|
+
role: "group",
|
|
4339
|
+
"aria-roledescription": "slide",
|
|
4340
|
+
"data-slot": "carousel-item",
|
|
4341
|
+
className: ve(
|
|
4342
|
+
"min-w-0 shrink-0 grow-0 basis-full",
|
|
4343
|
+
n === "horizontal" ? "pl-4" : "pt-4",
|
|
4344
|
+
e
|
|
4345
|
+
),
|
|
4346
|
+
...t
|
|
4347
|
+
}
|
|
4348
|
+
);
|
|
4349
|
+
}
|
|
4350
|
+
function Kt({
|
|
4351
|
+
className: e,
|
|
4352
|
+
variant: t = "outline",
|
|
4353
|
+
size: n = "icon",
|
|
4354
|
+
...r
|
|
4355
|
+
}) {
|
|
4356
|
+
const { orientation: o, scrollPrev: s, canScrollPrev: i } = Oe();
|
|
4357
|
+
return /* @__PURE__ */ te(
|
|
4358
|
+
_t,
|
|
4359
|
+
{
|
|
4360
|
+
"data-slot": "carousel-previous",
|
|
4361
|
+
variant: t,
|
|
4362
|
+
size: n,
|
|
4363
|
+
className: ve(
|
|
4364
|
+
"absolute size-8 rounded-full",
|
|
4365
|
+
o === "horizontal" ? "top-1/2 -left-12 -translate-y-1/2" : "-top-12 left-1/2 -translate-x-1/2 rotate-90",
|
|
4366
|
+
e
|
|
4367
|
+
),
|
|
4368
|
+
disabled: !i,
|
|
4369
|
+
onClick: s,
|
|
4370
|
+
...r,
|
|
4371
|
+
children: [
|
|
4372
|
+
/* @__PURE__ */ M(Qn, {}),
|
|
4373
|
+
/* @__PURE__ */ M("span", { className: "sr-only", children: "Previous slide" })
|
|
4374
|
+
]
|
|
4375
|
+
}
|
|
4376
|
+
);
|
|
4377
|
+
}
|
|
4378
|
+
function Jt({
|
|
4379
|
+
className: e,
|
|
4380
|
+
variant: t = "outline",
|
|
4381
|
+
size: n = "icon",
|
|
4382
|
+
...r
|
|
4383
|
+
}) {
|
|
4384
|
+
const { orientation: o, scrollNext: s, canScrollNext: i } = Oe();
|
|
4385
|
+
return /* @__PURE__ */ te(
|
|
4386
|
+
_t,
|
|
4387
|
+
{
|
|
4388
|
+
"data-slot": "carousel-next",
|
|
4389
|
+
variant: t,
|
|
4390
|
+
size: n,
|
|
4391
|
+
className: ve(
|
|
4392
|
+
"absolute size-8 rounded-full",
|
|
4393
|
+
o === "horizontal" ? "top-1/2 -right-12 -translate-y-1/2" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90",
|
|
4394
|
+
e
|
|
4395
|
+
),
|
|
4396
|
+
disabled: !i,
|
|
4397
|
+
onClick: s,
|
|
4398
|
+
...r,
|
|
4399
|
+
children: [
|
|
4400
|
+
/* @__PURE__ */ M(Zn, {}),
|
|
4401
|
+
/* @__PURE__ */ M("span", { className: "sr-only", children: "Next slide" })
|
|
4402
|
+
]
|
|
4403
|
+
}
|
|
4404
|
+
);
|
|
4405
|
+
}
|
|
4406
|
+
function Yr({ items: e, withoutControls: t = !1, className: n = "" }) {
|
|
4407
|
+
return /* @__PURE__ */ te(Ut, { className: `${n}`, children: [
|
|
4408
|
+
/* @__PURE__ */ M(qt, { children: e.map((r) => /* @__PURE__ */ M(Wt, { children: /* @__PURE__ */ M("div", { className: "p-1 aspect-square w-max", children: /* @__PURE__ */ M("img", { src: r.src, alt: r.alt }) }) }, r.id)) }),
|
|
4409
|
+
!t && /* @__PURE__ */ te(Je, { children: [
|
|
4410
|
+
/* @__PURE__ */ M(Kt, {}),
|
|
4411
|
+
/* @__PURE__ */ M(Jt, {})
|
|
4412
|
+
] })
|
|
4413
|
+
] });
|
|
4414
|
+
}
|
|
4415
|
+
function eo({ className: e = "", subtitle: t, title: n, renderActions: r, itemComponent: o, items: s, withoutControls: i = !1 }) {
|
|
4416
|
+
return /* @__PURE__ */ te(
|
|
4417
|
+
"div",
|
|
4418
|
+
{
|
|
4419
|
+
className: `w-full mx-auto py-10 px-2 ${e}`,
|
|
4420
|
+
children: [
|
|
4421
|
+
/* @__PURE__ */ te(
|
|
4422
|
+
"div",
|
|
4423
|
+
{
|
|
4424
|
+
className: "flex flex-col sm:flex-row sm:justify-between sm:items-end",
|
|
4425
|
+
children: [
|
|
4426
|
+
/* @__PURE__ */ te("div", { children: [
|
|
4427
|
+
/* @__PURE__ */ M("span", { className: "translateUp text-primary text-xl font-semibold my-10", children: t }),
|
|
4428
|
+
/* @__PURE__ */ M(
|
|
4429
|
+
"h5",
|
|
4430
|
+
{
|
|
4431
|
+
className: `translateUp text-customGray-700 text-[32px] sm:text-[40px] md:text-[32px] font-semibold ${t ? "my-2" : "my-10"}`,
|
|
4432
|
+
children: n
|
|
4433
|
+
}
|
|
4434
|
+
)
|
|
4435
|
+
] }),
|
|
4436
|
+
r
|
|
4437
|
+
]
|
|
4438
|
+
}
|
|
4439
|
+
),
|
|
4440
|
+
/* @__PURE__ */ te(Ut, { children: [
|
|
4441
|
+
/* @__PURE__ */ M(qt, { children: /* @__PURE__ */ M(Wt, { className: "md:basis-1/2 lg:basis-1/3", children: s.map((c) => /* @__PURE__ */ M("div", { children: /* @__PURE__ */ M(o, { ...c }) }, c.id)) }) }),
|
|
4442
|
+
!i && /* @__PURE__ */ te(Je, { children: [
|
|
4443
|
+
/* @__PURE__ */ M(Kt, {}),
|
|
4444
|
+
/* @__PURE__ */ M(Jt, {})
|
|
4445
|
+
] })
|
|
4446
|
+
] })
|
|
4447
|
+
]
|
|
4448
|
+
}
|
|
4449
|
+
);
|
|
4450
|
+
}
|
|
4451
|
+
function _r({ className: e = "", renderLogo: t, center: n, right: r }) {
|
|
4452
|
+
return /* @__PURE__ */ M("nav", { className: `w-full py-4 bg-navbar-bg-color text-navbar-text-color ${e}`, children: /* @__PURE__ */ te("div", { className: "relative flex items-center justify-between max-container", children: [
|
|
7
4453
|
t,
|
|
8
|
-
|
|
4454
|
+
n,
|
|
4455
|
+
/* @__PURE__ */ M("div", { className: "flex items-center gap-2", children: r })
|
|
9
4456
|
] }) });
|
|
10
4457
|
}
|
|
11
|
-
function
|
|
12
|
-
const { t:
|
|
13
|
-
return { t:
|
|
14
|
-
const
|
|
15
|
-
|
|
4458
|
+
function Hr() {
|
|
4459
|
+
const { t: e, i18n: t } = cn();
|
|
4460
|
+
return { t: e, i18n: t, toggleLanguage: () => {
|
|
4461
|
+
const r = t.language === "en" ? "es" : "en";
|
|
4462
|
+
t.changeLanguage(r);
|
|
16
4463
|
} };
|
|
17
4464
|
}
|
|
18
|
-
const
|
|
4465
|
+
const Ur = [
|
|
19
4466
|
{
|
|
20
4467
|
id: 1,
|
|
21
4468
|
name: "menu.store",
|
|
@@ -33,30 +4480,33 @@ const m = [
|
|
|
33
4480
|
route: "/contact-us"
|
|
34
4481
|
}
|
|
35
4482
|
];
|
|
36
|
-
function
|
|
37
|
-
const { t } =
|
|
38
|
-
return /* @__PURE__ */
|
|
39
|
-
|
|
4483
|
+
function qr({ className: e = "", classNameItems: t = "" }) {
|
|
4484
|
+
const { t: n } = Hr();
|
|
4485
|
+
return /* @__PURE__ */ M("div", { className: `${e} flex flex-1 w-full items-center gap-5`, children: Ur.map((r) => /* @__PURE__ */ M(
|
|
4486
|
+
ln,
|
|
40
4487
|
{
|
|
41
|
-
to:
|
|
42
|
-
className: `${
|
|
43
|
-
children:
|
|
4488
|
+
to: r.route ?? "",
|
|
4489
|
+
className: `${r.isMainAction ? "bg-submenu-main-bg-color hover:bg-submenu-main-hover-bg-color border border-submenu-main-border-color text-submenu-main-text-color hover:text-submenu-main-hover-text-color rounded-full px-7 py-2" : "!p-0 text-submenu-text-color hover:text-submenu-hover-text-color bg-submenu-bg-color hover:bg-submenu-hover-bg-color border border-submenu-border-color"} flex items-center text-sm lg:text-base w-max font-bold cursor-pointer ${t}`,
|
|
4490
|
+
children: n(r.name)
|
|
44
4491
|
},
|
|
45
|
-
|
|
4492
|
+
r.id
|
|
46
4493
|
)) });
|
|
47
4494
|
}
|
|
48
|
-
function
|
|
49
|
-
return /* @__PURE__ */
|
|
50
|
-
/* @__PURE__ */
|
|
51
|
-
/* @__PURE__ */
|
|
4495
|
+
function Wr({ className: e = "", subMenuHeaderLeft: t, subMenuHeaderRight: n }) {
|
|
4496
|
+
return /* @__PURE__ */ M("nav", { className: `${e} w-full bg-submenuheader-bg-color border-y border-y-submenuheader-border-color`, children: /* @__PURE__ */ te("div", { className: "w-full h-[4.5rem] max-h-[4.5rem] grid grid-cols-12 items-center gap-5 max-container", children: [
|
|
4497
|
+
/* @__PURE__ */ M("div", { className: "flex items-center w-full col-span-4 gap-5 md:col-span-8", children: t ?? /* @__PURE__ */ M(qr, {}) }),
|
|
4498
|
+
/* @__PURE__ */ M("div", { className: "flex items-center justify-end col-span-8 md:col-span-4 font-primary", children: n })
|
|
52
4499
|
] }) });
|
|
53
4500
|
}
|
|
54
|
-
function
|
|
55
|
-
return /* @__PURE__ */
|
|
56
|
-
|
|
57
|
-
|
|
4501
|
+
function to({ renderNavbar: e, renderSubMenuHeader: t }) {
|
|
4502
|
+
return /* @__PURE__ */ te(Je, { children: [
|
|
4503
|
+
e ?? /* @__PURE__ */ M(_r, {}),
|
|
4504
|
+
t ?? /* @__PURE__ */ M(Wr, {})
|
|
58
4505
|
] });
|
|
59
4506
|
}
|
|
60
4507
|
export {
|
|
61
|
-
|
|
4508
|
+
Zr as CoreBuilder,
|
|
4509
|
+
to as CoreHeader,
|
|
4510
|
+
Yr as CustomCarousel,
|
|
4511
|
+
eo as CustomCarouselSection
|
|
62
4512
|
};
|