burne-ui 1.8.2 → 1.8.4
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/components/core/Badge/badgeAPI.d.ts +2 -0
- package/dist/components/core/Badge/badgeStyles.d.ts +11 -5
- package/dist/components/core/Kbd/kbdStyles.d.ts +3 -1
- package/dist/components/core/utils/fieldShellVariant.d.ts +2 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +4236 -4230
- package/dist/internal.cjs +1 -1
- package/dist/internal.d.ts +1 -1
- package/dist/internal.js +74 -72
- package/dist/theme/index.d.ts +1 -1
- package/dist/theme/themeDefaults.d.ts +17 -2
- package/dist/{themeRuntimeContext-D92UKMXD.js → themeRuntimeContext-CFUwV5z2.js} +776 -733
- package/dist/themeRuntimeContext-POhnqI3h.cjs +14 -0
- package/dist/tokens/config.d.ts +3 -0
- package/dist/tokens/index.d.ts +1 -1
- package/dist/ui.css +623 -61
- package/package.json +1 -1
- package/dist/themeRuntimeContext-BxpBT9_f.cjs +0 -14
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as Je, Fragment as Ao } from "react/jsx-runtime";
|
|
3
|
-
import { useSyncExternalStore as
|
|
3
|
+
import { useSyncExternalStore as Po, memo as zo, useRef as Q, useLayoutEffect as W, useState as Ze, useCallback as O, useEffect as Xr, useMemo as J, createElement as Yr, useContext as Be, createContext as jr } from "react";
|
|
4
4
|
import F from "gsap";
|
|
5
5
|
import { CustomEase as er } from "gsap/CustomEase";
|
|
6
6
|
function qr(e) {
|
|
@@ -12,40 +12,40 @@ function qr(e) {
|
|
|
12
12
|
} else for (o in e) e[o] && (n && (n += " "), n += o);
|
|
13
13
|
return n;
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function Mo() {
|
|
16
16
|
for (var e, r, o = 0, n = "", s = arguments.length; o < s; o++) (e = arguments[o]) && (r = qr(e)) && (n && (n += " "), n += r);
|
|
17
17
|
return n;
|
|
18
18
|
}
|
|
19
|
-
const
|
|
19
|
+
const No = (e, r) => {
|
|
20
20
|
const o = new Array(e.length + r.length);
|
|
21
21
|
for (let n = 0; n < e.length; n++)
|
|
22
22
|
o[n] = e[n];
|
|
23
23
|
for (let n = 0; n < r.length; n++)
|
|
24
24
|
o[e.length + n] = r[n];
|
|
25
25
|
return o;
|
|
26
|
-
},
|
|
26
|
+
}, Bo = (e, r) => ({
|
|
27
27
|
classGroupId: e,
|
|
28
28
|
validator: r
|
|
29
29
|
}), Kr = (e = /* @__PURE__ */ new Map(), r = null, o) => ({
|
|
30
30
|
nextPart: e,
|
|
31
31
|
validators: r,
|
|
32
32
|
classGroupId: o
|
|
33
|
-
}),
|
|
34
|
-
const r =
|
|
33
|
+
}), Re = "-", _r = [], Go = "arbitrary..", Ho = (e) => {
|
|
34
|
+
const r = Wo(e), {
|
|
35
35
|
conflictingClassGroups: o,
|
|
36
36
|
conflictingClassGroupModifiers: n
|
|
37
37
|
} = e;
|
|
38
38
|
return {
|
|
39
39
|
getClassGroupId: (a) => {
|
|
40
40
|
if (a.startsWith("[") && a.endsWith("]"))
|
|
41
|
-
return
|
|
42
|
-
const i = a.split(
|
|
41
|
+
return $o(a);
|
|
42
|
+
const i = a.split(Re), d = i[0] === "" && i.length > 1 ? 1 : 0;
|
|
43
43
|
return Qr(i, d, r);
|
|
44
44
|
},
|
|
45
45
|
getConflictingClassGroupIds: (a, i) => {
|
|
46
46
|
if (i) {
|
|
47
47
|
const d = n[a], l = o[a];
|
|
48
|
-
return d ? l ?
|
|
48
|
+
return d ? l ? No(l, d) : d : l || _r;
|
|
49
49
|
}
|
|
50
50
|
return o[a] || _r;
|
|
51
51
|
}
|
|
@@ -61,22 +61,22 @@ const Mo = (e, r) => {
|
|
|
61
61
|
const a = o.validators;
|
|
62
62
|
if (a === null)
|
|
63
63
|
return;
|
|
64
|
-
const i = r === 0 ? e.join(
|
|
64
|
+
const i = r === 0 ? e.join(Re) : e.slice(r).join(Re), d = a.length;
|
|
65
65
|
for (let l = 0; l < d; l++) {
|
|
66
66
|
const m = a[l];
|
|
67
67
|
if (m.validator(i))
|
|
68
68
|
return m.classGroupId;
|
|
69
69
|
}
|
|
70
|
-
},
|
|
70
|
+
}, $o = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
71
71
|
const r = e.slice(1, -1), o = r.indexOf(":"), n = r.slice(0, o);
|
|
72
|
-
return n ?
|
|
73
|
-
})(),
|
|
72
|
+
return n ? Go + n : void 0;
|
|
73
|
+
})(), Wo = (e) => {
|
|
74
74
|
const {
|
|
75
75
|
theme: r,
|
|
76
76
|
classGroups: o
|
|
77
77
|
} = e;
|
|
78
|
-
return
|
|
79
|
-
},
|
|
78
|
+
return Uo(o, r);
|
|
79
|
+
}, Uo = (e, r) => {
|
|
80
80
|
const o = Kr();
|
|
81
81
|
for (const n in e) {
|
|
82
82
|
const s = e[n];
|
|
@@ -87,28 +87,28 @@ const Mo = (e, r) => {
|
|
|
87
87
|
const s = e.length;
|
|
88
88
|
for (let t = 0; t < s; t++) {
|
|
89
89
|
const a = e[t];
|
|
90
|
-
|
|
90
|
+
Vo(a, r, o, n);
|
|
91
91
|
}
|
|
92
|
-
},
|
|
92
|
+
}, Vo = (e, r, o, n) => {
|
|
93
93
|
if (typeof e == "string") {
|
|
94
|
-
|
|
94
|
+
Xo(e, r, o);
|
|
95
95
|
return;
|
|
96
96
|
}
|
|
97
97
|
if (typeof e == "function") {
|
|
98
|
-
|
|
98
|
+
Yo(e, r, o, n);
|
|
99
99
|
return;
|
|
100
100
|
}
|
|
101
|
-
|
|
102
|
-
},
|
|
101
|
+
jo(e, r, o, n);
|
|
102
|
+
}, Xo = (e, r, o) => {
|
|
103
103
|
const n = e === "" ? r : Jr(r, e);
|
|
104
104
|
n.classGroupId = o;
|
|
105
|
-
},
|
|
106
|
-
if (
|
|
105
|
+
}, Yo = (e, r, o, n) => {
|
|
106
|
+
if (qo(e)) {
|
|
107
107
|
ar(e(n), r, o, n);
|
|
108
108
|
return;
|
|
109
109
|
}
|
|
110
|
-
r.validators === null && (r.validators = []), r.validators.push(
|
|
111
|
-
},
|
|
110
|
+
r.validators === null && (r.validators = []), r.validators.push(Bo(o, e));
|
|
111
|
+
}, jo = (e, r, o, n) => {
|
|
112
112
|
const s = Object.entries(e), t = s.length;
|
|
113
113
|
for (let a = 0; a < t; a++) {
|
|
114
114
|
const [i, d] = s[a];
|
|
@@ -116,14 +116,14 @@ const Mo = (e, r) => {
|
|
|
116
116
|
}
|
|
117
117
|
}, Jr = (e, r) => {
|
|
118
118
|
let o = e;
|
|
119
|
-
const n = r.split(
|
|
119
|
+
const n = r.split(Re), s = n.length;
|
|
120
120
|
for (let t = 0; t < s; t++) {
|
|
121
121
|
const a = n[t];
|
|
122
122
|
let i = o.nextPart.get(a);
|
|
123
123
|
i || (i = Kr(), o.nextPart.set(a, i)), o = i;
|
|
124
124
|
}
|
|
125
125
|
return o;
|
|
126
|
-
},
|
|
126
|
+
}, qo = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Ko = (e) => {
|
|
127
127
|
if (e < 1)
|
|
128
128
|
return {
|
|
129
129
|
get: () => {
|
|
@@ -147,13 +147,13 @@ const Mo = (e, r) => {
|
|
|
147
147
|
t in o ? o[t] = a : s(t, a);
|
|
148
148
|
}
|
|
149
149
|
};
|
|
150
|
-
}, rr = "!", Ir = ":",
|
|
150
|
+
}, rr = "!", Ir = ":", Qo = [], Lr = (e, r, o, n, s) => ({
|
|
151
151
|
modifiers: e,
|
|
152
152
|
hasImportantModifier: r,
|
|
153
153
|
baseClassName: o,
|
|
154
154
|
maybePostfixModifierPosition: n,
|
|
155
155
|
isExternal: s
|
|
156
|
-
}),
|
|
156
|
+
}), Jo = (e) => {
|
|
157
157
|
const {
|
|
158
158
|
prefix: r,
|
|
159
159
|
experimentalParseClassName: o
|
|
@@ -162,15 +162,15 @@ const Mo = (e, r) => {
|
|
|
162
162
|
const t = [];
|
|
163
163
|
let a = 0, i = 0, d = 0, l;
|
|
164
164
|
const m = s.length;
|
|
165
|
-
for (let
|
|
166
|
-
const _ = s[
|
|
165
|
+
for (let T = 0; T < m; T++) {
|
|
166
|
+
const _ = s[T];
|
|
167
167
|
if (a === 0 && i === 0) {
|
|
168
168
|
if (_ === Ir) {
|
|
169
|
-
t.push(s.slice(d,
|
|
169
|
+
t.push(s.slice(d, T)), d = T + 1;
|
|
170
170
|
continue;
|
|
171
171
|
}
|
|
172
172
|
if (_ === "/") {
|
|
173
|
-
l =
|
|
173
|
+
l = T;
|
|
174
174
|
continue;
|
|
175
175
|
}
|
|
176
176
|
}
|
|
@@ -190,7 +190,7 @@ const Mo = (e, r) => {
|
|
|
190
190
|
};
|
|
191
191
|
if (r) {
|
|
192
192
|
const s = r + Ir, t = n;
|
|
193
|
-
n = (a) => a.startsWith(s) ? t(a.slice(s.length)) : Lr(
|
|
193
|
+
n = (a) => a.startsWith(s) ? t(a.slice(s.length)) : Lr(Qo, !1, a, void 0, !0);
|
|
194
194
|
}
|
|
195
195
|
if (o) {
|
|
196
196
|
const s = n;
|
|
@@ -200,7 +200,7 @@ const Mo = (e, r) => {
|
|
|
200
200
|
});
|
|
201
201
|
}
|
|
202
202
|
return n;
|
|
203
|
-
},
|
|
203
|
+
}, Zo = (e) => {
|
|
204
204
|
const r = /* @__PURE__ */ new Map();
|
|
205
205
|
return e.orderSensitiveModifiers.forEach((o, n) => {
|
|
206
206
|
r.set(o, 1e6 + n);
|
|
@@ -213,33 +213,33 @@ const Mo = (e, r) => {
|
|
|
213
213
|
}
|
|
214
214
|
return s.length > 0 && (s.sort(), n.push(...s)), n;
|
|
215
215
|
};
|
|
216
|
-
},
|
|
217
|
-
cache:
|
|
218
|
-
parseClassName:
|
|
219
|
-
sortModifiers:
|
|
220
|
-
postfixLookupClassGroupIds:
|
|
221
|
-
...
|
|
222
|
-
}),
|
|
216
|
+
}, en = (e) => ({
|
|
217
|
+
cache: Ko(e.cacheSize),
|
|
218
|
+
parseClassName: Jo(e),
|
|
219
|
+
sortModifiers: Zo(e),
|
|
220
|
+
postfixLookupClassGroupIds: rn(e),
|
|
221
|
+
...Ho(e)
|
|
222
|
+
}), rn = (e) => {
|
|
223
223
|
const r = /* @__PURE__ */ Object.create(null), o = e.postfixLookupClassGroups;
|
|
224
224
|
if (o)
|
|
225
225
|
for (let n = 0; n < o.length; n++)
|
|
226
226
|
r[o[n]] = !0;
|
|
227
227
|
return r;
|
|
228
|
-
},
|
|
228
|
+
}, on = /\s+/, nn = (e, r) => {
|
|
229
229
|
const {
|
|
230
230
|
parseClassName: o,
|
|
231
231
|
getClassGroupId: n,
|
|
232
232
|
getConflictingClassGroupIds: s,
|
|
233
233
|
sortModifiers: t,
|
|
234
234
|
postfixLookupClassGroupIds: a
|
|
235
|
-
} = r, i = [], d = e.trim().split(
|
|
235
|
+
} = r, i = [], d = e.trim().split(on);
|
|
236
236
|
let l = "";
|
|
237
237
|
for (let m = d.length - 1; m >= 0; m -= 1) {
|
|
238
238
|
const b = d[m], {
|
|
239
239
|
isExternal: w,
|
|
240
240
|
modifiers: p,
|
|
241
241
|
hasImportantModifier: x,
|
|
242
|
-
baseClassName:
|
|
242
|
+
baseClassName: T,
|
|
243
243
|
maybePostfixModifierPosition: _
|
|
244
244
|
} = o(b);
|
|
245
245
|
if (w) {
|
|
@@ -248,24 +248,24 @@ const Mo = (e, r) => {
|
|
|
248
248
|
}
|
|
249
249
|
let B = !!_, C;
|
|
250
250
|
if (B) {
|
|
251
|
-
const G =
|
|
251
|
+
const G = T.substring(0, _);
|
|
252
252
|
C = n(G);
|
|
253
|
-
const f = C && a[C] ? n(
|
|
253
|
+
const f = C && a[C] ? n(T) : void 0;
|
|
254
254
|
f && f !== C && (C = f, B = !1);
|
|
255
255
|
} else
|
|
256
|
-
C = n(
|
|
256
|
+
C = n(T);
|
|
257
257
|
if (!C) {
|
|
258
258
|
if (!B) {
|
|
259
259
|
l = b + (l.length > 0 ? " " + l : l);
|
|
260
260
|
continue;
|
|
261
261
|
}
|
|
262
|
-
if (C = n(
|
|
262
|
+
if (C = n(T), !C) {
|
|
263
263
|
l = b + (l.length > 0 ? " " + l : l);
|
|
264
264
|
continue;
|
|
265
265
|
}
|
|
266
266
|
B = !1;
|
|
267
267
|
}
|
|
268
|
-
const
|
|
268
|
+
const ge = p.length === 0 ? "" : p.length === 1 ? p[0] : t(p).join(":"), ee = x ? ge + rr : ge, re = ee + C;
|
|
269
269
|
if (i.indexOf(re) > -1)
|
|
270
270
|
continue;
|
|
271
271
|
i.push(re);
|
|
@@ -277,7 +277,7 @@ const Mo = (e, r) => {
|
|
|
277
277
|
l = b + (l.length > 0 ? " " + l : l);
|
|
278
278
|
}
|
|
279
279
|
return l;
|
|
280
|
-
},
|
|
280
|
+
}, tn = (...e) => {
|
|
281
281
|
let r = 0, o, n, s = "";
|
|
282
282
|
for (; r < e.length; )
|
|
283
283
|
(o = e[r++]) && (n = Zr(o)) && (s && (s += " "), s += n);
|
|
@@ -289,35 +289,35 @@ const Mo = (e, r) => {
|
|
|
289
289
|
for (let n = 0; n < e.length; n++)
|
|
290
290
|
e[n] && (r = Zr(e[n])) && (o && (o += " "), o += r);
|
|
291
291
|
return o;
|
|
292
|
-
},
|
|
292
|
+
}, Rr = (e, ...r) => {
|
|
293
293
|
let o, n, s, t;
|
|
294
294
|
const a = (d) => {
|
|
295
295
|
const l = r.reduce((m, b) => b(m), e());
|
|
296
|
-
return o =
|
|
296
|
+
return o = en(l), n = o.cache.get, s = o.cache.set, t = i, i(d);
|
|
297
297
|
}, i = (d) => {
|
|
298
298
|
const l = n(d);
|
|
299
299
|
if (l)
|
|
300
300
|
return l;
|
|
301
|
-
const m =
|
|
301
|
+
const m = nn(d, o);
|
|
302
302
|
return s(d, m), m;
|
|
303
303
|
};
|
|
304
|
-
return t = a, (...d) => t(
|
|
305
|
-
},
|
|
306
|
-
const r = (o) => o[e] ||
|
|
304
|
+
return t = a, (...d) => t(tn(...d));
|
|
305
|
+
}, sn = [], E = (e) => {
|
|
306
|
+
const r = (o) => o[e] || sn;
|
|
307
307
|
return r.isThemeGetter = !0, r;
|
|
308
|
-
}, eo = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, ro = /^\((?:(\w[\w-]*):)?(.+)\)$/i,
|
|
308
|
+
}, eo = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, ro = /^\((?:(\w[\w-]*):)?(.+)\)$/i, an = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, ln = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, cn = /\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$/, un = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, dn = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, fn = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, V = (e) => an.test(e), h = (e) => !!e && !Number.isNaN(Number(e)), M = (e) => !!e && Number.isInteger(Number(e)), qe = (e) => e.endsWith("%") && h(e.slice(0, -1)), H = (e) => ln.test(e), oo = () => !0, gn = (e) => (
|
|
309
309
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
310
310
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
311
311
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
312
|
-
|
|
313
|
-
), ir = () => !1,
|
|
312
|
+
cn.test(e) && !un.test(e)
|
|
313
|
+
), ir = () => !1, pn = (e) => dn.test(e), mn = (e) => fn.test(e), bn = (e) => !c(e) && !u(e), hn = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), vn = (e) => X(e, so, ir), c = (e) => eo.test(e), j = (e) => X(e, ao, gn), Ar = (e) => X(e, Dn, h), wn = (e) => X(e, lo, oo), xn = (e) => X(e, io, ir), Pr = (e) => X(e, no, ir), yn = (e) => X(e, to, mn), Te = (e) => X(e, co, pn), u = (e) => ro.test(e), pe = (e) => Z(e, ao), Sn = (e) => Z(e, io), zr = (e) => Z(e, no), Tn = (e) => Z(e, so), kn = (e) => Z(e, to), ke = (e) => Z(e, co, !0), En = (e) => Z(e, lo, !0), X = (e, r, o) => {
|
|
314
314
|
const n = eo.exec(e);
|
|
315
315
|
return n ? n[1] ? r(n[1]) : o(n[2]) : !1;
|
|
316
316
|
}, Z = (e, r, o = !1) => {
|
|
317
317
|
const n = ro.exec(e);
|
|
318
318
|
return n ? n[1] ? r(n[1]) : o : !1;
|
|
319
|
-
}, no = (e) => e === "position" || e === "percentage", to = (e) => e === "image" || e === "url", so = (e) => e === "length" || e === "size" || e === "bg-size", ao = (e) => e === "length",
|
|
320
|
-
const e =
|
|
319
|
+
}, no = (e) => e === "position" || e === "percentage", to = (e) => e === "image" || e === "url", so = (e) => e === "length" || e === "size" || e === "bg-size", ao = (e) => e === "length", Dn = (e) => e === "number", io = (e) => e === "family-name", lo = (e) => e === "number" || e === "weight", co = (e) => e === "shadow", Mr = () => {
|
|
320
|
+
const e = E("color"), r = E("font"), o = E("text"), n = E("font-weight"), s = E("tracking"), t = E("leading"), a = E("breakpoint"), i = E("container"), d = E("spacing"), l = E("radius"), m = E("shadow"), b = E("inset-shadow"), w = E("text-shadow"), p = E("drop-shadow"), x = E("blur"), T = E("perspective"), _ = E("aspect"), B = E("ease"), C = E("animate"), ge = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], ee = () => [
|
|
321
321
|
"center",
|
|
322
322
|
"top",
|
|
323
323
|
"bottom",
|
|
@@ -335,15 +335,15 @@ const Mo = (e, r) => {
|
|
|
335
335
|
"bottom-left",
|
|
336
336
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
337
337
|
"left-bottom"
|
|
338
|
-
], re = () => [...ee(), u, c], oe = () => ["auto", "hidden", "clip", "visible", "scroll"], G = () => ["auto", "contain", "none"], f = () => [u, c, d],
|
|
338
|
+
], re = () => [...ee(), u, c], oe = () => ["auto", "hidden", "clip", "visible", "scroll"], G = () => ["auto", "contain", "none"], f = () => [u, c, d], R = () => [V, "full", "auto", ...f()], Sr = () => [M, "none", "subgrid", u, c], Tr = () => ["auto", {
|
|
339
339
|
span: ["full", M, u, c]
|
|
340
|
-
}, M, u, c],
|
|
340
|
+
}, M, u, c], ve = () => [M, "auto", u, c], kr = () => ["auto", "min", "max", "fr", u, c], Ue = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], ne = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], P = () => ["auto", ...f()], Y = () => [V, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...f()], Ve = () => [V, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...f()], Xe = () => [V, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...f()], g = () => [e, u, c], Er = () => [...ee(), zr, Pr, {
|
|
341
341
|
position: [u, c]
|
|
342
342
|
}], Dr = () => ["no-repeat", {
|
|
343
343
|
repeat: ["", "x", "y", "space", "round"]
|
|
344
|
-
}], Or = () => ["auto", "cover", "contain",
|
|
344
|
+
}], Or = () => ["auto", "cover", "contain", Tn, vn, {
|
|
345
345
|
size: [u, c]
|
|
346
|
-
}], Ye = () => [qe,
|
|
346
|
+
}], Ye = () => [qe, pe, j], I = () => [
|
|
347
347
|
// Deprecated since Tailwind CSS v4.0.0
|
|
348
348
|
"",
|
|
349
349
|
"none",
|
|
@@ -351,14 +351,14 @@ const Mo = (e, r) => {
|
|
|
351
351
|
l,
|
|
352
352
|
u,
|
|
353
353
|
c
|
|
354
|
-
], L = () => ["", h,
|
|
354
|
+
], L = () => ["", h, pe, j], we = () => ["solid", "dashed", "dotted", "double"], Cr = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], D = () => [h, qe, zr, Pr], Fr = () => [
|
|
355
355
|
// Deprecated since Tailwind CSS v4.0.0
|
|
356
356
|
"",
|
|
357
357
|
"none",
|
|
358
358
|
x,
|
|
359
359
|
u,
|
|
360
360
|
c
|
|
361
|
-
],
|
|
361
|
+
], xe = () => ["none", h, u, c], ye = () => ["none", h, u, c], je = () => [h, u, c], Se = () => [V, "full", ...f()];
|
|
362
362
|
return {
|
|
363
363
|
cacheSize: 500,
|
|
364
364
|
theme: {
|
|
@@ -370,7 +370,7 @@ const Mo = (e, r) => {
|
|
|
370
370
|
container: [H],
|
|
371
371
|
"drop-shadow": [H],
|
|
372
372
|
ease: ["in", "out", "in-out"],
|
|
373
|
-
font: [
|
|
373
|
+
font: [bn],
|
|
374
374
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
375
375
|
"inset-shadow": [H],
|
|
376
376
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
@@ -410,7 +410,7 @@ const Mo = (e, r) => {
|
|
|
410
410
|
* Container Name
|
|
411
411
|
* @see https://tailwindcss.com/docs/responsive-design#named-containers
|
|
412
412
|
*/
|
|
413
|
-
"container-named": [
|
|
413
|
+
"container-named": [hn],
|
|
414
414
|
/**
|
|
415
415
|
* Columns
|
|
416
416
|
* @see https://tailwindcss.com/docs/columns
|
|
@@ -423,14 +423,14 @@ const Mo = (e, r) => {
|
|
|
423
423
|
* @see https://tailwindcss.com/docs/break-after
|
|
424
424
|
*/
|
|
425
425
|
"break-after": [{
|
|
426
|
-
"break-after":
|
|
426
|
+
"break-after": ge()
|
|
427
427
|
}],
|
|
428
428
|
/**
|
|
429
429
|
* Break Before
|
|
430
430
|
* @see https://tailwindcss.com/docs/break-before
|
|
431
431
|
*/
|
|
432
432
|
"break-before": [{
|
|
433
|
-
"break-before":
|
|
433
|
+
"break-before": ge()
|
|
434
434
|
}],
|
|
435
435
|
/**
|
|
436
436
|
* Break Inside
|
|
@@ -548,21 +548,21 @@ const Mo = (e, r) => {
|
|
|
548
548
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
549
549
|
*/
|
|
550
550
|
inset: [{
|
|
551
|
-
inset:
|
|
551
|
+
inset: R()
|
|
552
552
|
}],
|
|
553
553
|
/**
|
|
554
554
|
* Inset Inline
|
|
555
555
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
556
556
|
*/
|
|
557
557
|
"inset-x": [{
|
|
558
|
-
"inset-x":
|
|
558
|
+
"inset-x": R()
|
|
559
559
|
}],
|
|
560
560
|
/**
|
|
561
561
|
* Inset Block
|
|
562
562
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
563
563
|
*/
|
|
564
564
|
"inset-y": [{
|
|
565
|
-
"inset-y":
|
|
565
|
+
"inset-y": R()
|
|
566
566
|
}],
|
|
567
567
|
/**
|
|
568
568
|
* Inset Inline Start
|
|
@@ -570,12 +570,12 @@ const Mo = (e, r) => {
|
|
|
570
570
|
* @todo class group will be renamed to `inset-s` in next major release
|
|
571
571
|
*/
|
|
572
572
|
start: [{
|
|
573
|
-
"inset-s":
|
|
573
|
+
"inset-s": R(),
|
|
574
574
|
/**
|
|
575
575
|
* @deprecated since Tailwind CSS v4.2.0 in favor of `inset-s-*` utilities.
|
|
576
576
|
* @see https://github.com/tailwindlabs/tailwindcss/pull/19613
|
|
577
577
|
*/
|
|
578
|
-
start:
|
|
578
|
+
start: R()
|
|
579
579
|
}],
|
|
580
580
|
/**
|
|
581
581
|
* Inset Inline End
|
|
@@ -583,54 +583,54 @@ const Mo = (e, r) => {
|
|
|
583
583
|
* @todo class group will be renamed to `inset-e` in next major release
|
|
584
584
|
*/
|
|
585
585
|
end: [{
|
|
586
|
-
"inset-e":
|
|
586
|
+
"inset-e": R(),
|
|
587
587
|
/**
|
|
588
588
|
* @deprecated since Tailwind CSS v4.2.0 in favor of `inset-e-*` utilities.
|
|
589
589
|
* @see https://github.com/tailwindlabs/tailwindcss/pull/19613
|
|
590
590
|
*/
|
|
591
|
-
end:
|
|
591
|
+
end: R()
|
|
592
592
|
}],
|
|
593
593
|
/**
|
|
594
594
|
* Inset Block Start
|
|
595
595
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
596
596
|
*/
|
|
597
597
|
"inset-bs": [{
|
|
598
|
-
"inset-bs":
|
|
598
|
+
"inset-bs": R()
|
|
599
599
|
}],
|
|
600
600
|
/**
|
|
601
601
|
* Inset Block End
|
|
602
602
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
603
603
|
*/
|
|
604
604
|
"inset-be": [{
|
|
605
|
-
"inset-be":
|
|
605
|
+
"inset-be": R()
|
|
606
606
|
}],
|
|
607
607
|
/**
|
|
608
608
|
* Top
|
|
609
609
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
610
610
|
*/
|
|
611
611
|
top: [{
|
|
612
|
-
top:
|
|
612
|
+
top: R()
|
|
613
613
|
}],
|
|
614
614
|
/**
|
|
615
615
|
* Right
|
|
616
616
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
617
617
|
*/
|
|
618
618
|
right: [{
|
|
619
|
-
right:
|
|
619
|
+
right: R()
|
|
620
620
|
}],
|
|
621
621
|
/**
|
|
622
622
|
* Bottom
|
|
623
623
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
624
624
|
*/
|
|
625
625
|
bottom: [{
|
|
626
|
-
bottom:
|
|
626
|
+
bottom: R()
|
|
627
627
|
}],
|
|
628
628
|
/**
|
|
629
629
|
* Left
|
|
630
630
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
631
631
|
*/
|
|
632
632
|
left: [{
|
|
633
|
-
left:
|
|
633
|
+
left: R()
|
|
634
634
|
}],
|
|
635
635
|
/**
|
|
636
636
|
* Visibility
|
|
@@ -715,14 +715,14 @@ const Mo = (e, r) => {
|
|
|
715
715
|
* @see https://tailwindcss.com/docs/grid-column
|
|
716
716
|
*/
|
|
717
717
|
"col-start": [{
|
|
718
|
-
"col-start":
|
|
718
|
+
"col-start": ve()
|
|
719
719
|
}],
|
|
720
720
|
/**
|
|
721
721
|
* Grid Column End
|
|
722
722
|
* @see https://tailwindcss.com/docs/grid-column
|
|
723
723
|
*/
|
|
724
724
|
"col-end": [{
|
|
725
|
-
"col-end":
|
|
725
|
+
"col-end": ve()
|
|
726
726
|
}],
|
|
727
727
|
/**
|
|
728
728
|
* Grid Template Rows
|
|
@@ -743,14 +743,14 @@ const Mo = (e, r) => {
|
|
|
743
743
|
* @see https://tailwindcss.com/docs/grid-row
|
|
744
744
|
*/
|
|
745
745
|
"row-start": [{
|
|
746
|
-
"row-start":
|
|
746
|
+
"row-start": ve()
|
|
747
747
|
}],
|
|
748
748
|
/**
|
|
749
749
|
* Grid Row End
|
|
750
750
|
* @see https://tailwindcss.com/docs/grid-row
|
|
751
751
|
*/
|
|
752
752
|
"row-end": [{
|
|
753
|
-
"row-end":
|
|
753
|
+
"row-end": ve()
|
|
754
754
|
}],
|
|
755
755
|
/**
|
|
756
756
|
* Grid Auto Flow
|
|
@@ -1159,7 +1159,7 @@ const Mo = (e, r) => {
|
|
|
1159
1159
|
* @see https://tailwindcss.com/docs/font-size
|
|
1160
1160
|
*/
|
|
1161
1161
|
"font-size": [{
|
|
1162
|
-
text: ["base", o,
|
|
1162
|
+
text: ["base", o, pe, j]
|
|
1163
1163
|
}],
|
|
1164
1164
|
/**
|
|
1165
1165
|
* Font Smoothing
|
|
@@ -1176,7 +1176,7 @@ const Mo = (e, r) => {
|
|
|
1176
1176
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1177
1177
|
*/
|
|
1178
1178
|
"font-weight": [{
|
|
1179
|
-
font: [n,
|
|
1179
|
+
font: [n, En, wn]
|
|
1180
1180
|
}],
|
|
1181
1181
|
/**
|
|
1182
1182
|
* Font Stretch
|
|
@@ -1190,7 +1190,7 @@ const Mo = (e, r) => {
|
|
|
1190
1190
|
* @see https://tailwindcss.com/docs/font-family
|
|
1191
1191
|
*/
|
|
1192
1192
|
"font-family": [{
|
|
1193
|
-
font: [
|
|
1193
|
+
font: [Sn, xn, r]
|
|
1194
1194
|
}],
|
|
1195
1195
|
/**
|
|
1196
1196
|
* Font Feature Settings
|
|
@@ -1241,7 +1241,7 @@ const Mo = (e, r) => {
|
|
|
1241
1241
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1242
1242
|
*/
|
|
1243
1243
|
"line-clamp": [{
|
|
1244
|
-
"line-clamp": [h, "none", u,
|
|
1244
|
+
"line-clamp": [h, "none", u, Ar]
|
|
1245
1245
|
}],
|
|
1246
1246
|
/**
|
|
1247
1247
|
* Line Height
|
|
@@ -1307,7 +1307,7 @@ const Mo = (e, r) => {
|
|
|
1307
1307
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1308
1308
|
*/
|
|
1309
1309
|
"text-decoration-style": [{
|
|
1310
|
-
decoration: [...
|
|
1310
|
+
decoration: [...we(), "wavy"]
|
|
1311
1311
|
}],
|
|
1312
1312
|
/**
|
|
1313
1313
|
* Text Decoration Thickness
|
|
@@ -1459,7 +1459,7 @@ const Mo = (e, r) => {
|
|
|
1459
1459
|
}, M, u, c],
|
|
1460
1460
|
radial: ["", u, c],
|
|
1461
1461
|
conic: [M, u, c]
|
|
1462
|
-
},
|
|
1462
|
+
}, kn, yn]
|
|
1463
1463
|
}],
|
|
1464
1464
|
/**
|
|
1465
1465
|
* Background Color
|
|
@@ -1724,14 +1724,14 @@ const Mo = (e, r) => {
|
|
|
1724
1724
|
* @see https://tailwindcss.com/docs/border-style
|
|
1725
1725
|
*/
|
|
1726
1726
|
"border-style": [{
|
|
1727
|
-
border: [...
|
|
1727
|
+
border: [...we(), "hidden", "none"]
|
|
1728
1728
|
}],
|
|
1729
1729
|
/**
|
|
1730
1730
|
* Divide Style
|
|
1731
1731
|
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
1732
1732
|
*/
|
|
1733
1733
|
"divide-style": [{
|
|
1734
|
-
divide: [...
|
|
1734
|
+
divide: [...we(), "hidden", "none"]
|
|
1735
1735
|
}],
|
|
1736
1736
|
/**
|
|
1737
1737
|
* Border Color
|
|
@@ -1822,7 +1822,7 @@ const Mo = (e, r) => {
|
|
|
1822
1822
|
* @see https://tailwindcss.com/docs/outline-style
|
|
1823
1823
|
*/
|
|
1824
1824
|
"outline-style": [{
|
|
1825
|
-
outline: [...
|
|
1825
|
+
outline: [...we(), "none", "hidden"]
|
|
1826
1826
|
}],
|
|
1827
1827
|
/**
|
|
1828
1828
|
* Outline Offset
|
|
@@ -1836,7 +1836,7 @@ const Mo = (e, r) => {
|
|
|
1836
1836
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1837
1837
|
*/
|
|
1838
1838
|
"outline-w": [{
|
|
1839
|
-
outline: ["", h,
|
|
1839
|
+
outline: ["", h, pe, j]
|
|
1840
1840
|
}],
|
|
1841
1841
|
/**
|
|
1842
1842
|
* Outline Color
|
|
@@ -1858,8 +1858,8 @@ const Mo = (e, r) => {
|
|
|
1858
1858
|
"",
|
|
1859
1859
|
"none",
|
|
1860
1860
|
m,
|
|
1861
|
-
|
|
1862
|
-
|
|
1861
|
+
ke,
|
|
1862
|
+
Te
|
|
1863
1863
|
]
|
|
1864
1864
|
}],
|
|
1865
1865
|
/**
|
|
@@ -1874,7 +1874,7 @@ const Mo = (e, r) => {
|
|
|
1874
1874
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
1875
1875
|
*/
|
|
1876
1876
|
"inset-shadow": [{
|
|
1877
|
-
"inset-shadow": ["none", b,
|
|
1877
|
+
"inset-shadow": ["none", b, ke, Te]
|
|
1878
1878
|
}],
|
|
1879
1879
|
/**
|
|
1880
1880
|
* Inset Box Shadow Color
|
|
@@ -1941,7 +1941,7 @@ const Mo = (e, r) => {
|
|
|
1941
1941
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
1942
1942
|
*/
|
|
1943
1943
|
"text-shadow": [{
|
|
1944
|
-
"text-shadow": ["none", w,
|
|
1944
|
+
"text-shadow": ["none", w, ke, Te]
|
|
1945
1945
|
}],
|
|
1946
1946
|
/**
|
|
1947
1947
|
* Text Shadow Color
|
|
@@ -1993,10 +1993,10 @@ const Mo = (e, r) => {
|
|
|
1993
1993
|
"mask-linear": [h]
|
|
1994
1994
|
}],
|
|
1995
1995
|
"mask-image-linear-from-pos": [{
|
|
1996
|
-
"mask-linear-from":
|
|
1996
|
+
"mask-linear-from": D()
|
|
1997
1997
|
}],
|
|
1998
1998
|
"mask-image-linear-to-pos": [{
|
|
1999
|
-
"mask-linear-to":
|
|
1999
|
+
"mask-linear-to": D()
|
|
2000
2000
|
}],
|
|
2001
2001
|
"mask-image-linear-from-color": [{
|
|
2002
2002
|
"mask-linear-from": g()
|
|
@@ -2005,10 +2005,10 @@ const Mo = (e, r) => {
|
|
|
2005
2005
|
"mask-linear-to": g()
|
|
2006
2006
|
}],
|
|
2007
2007
|
"mask-image-t-from-pos": [{
|
|
2008
|
-
"mask-t-from":
|
|
2008
|
+
"mask-t-from": D()
|
|
2009
2009
|
}],
|
|
2010
2010
|
"mask-image-t-to-pos": [{
|
|
2011
|
-
"mask-t-to":
|
|
2011
|
+
"mask-t-to": D()
|
|
2012
2012
|
}],
|
|
2013
2013
|
"mask-image-t-from-color": [{
|
|
2014
2014
|
"mask-t-from": g()
|
|
@@ -2017,10 +2017,10 @@ const Mo = (e, r) => {
|
|
|
2017
2017
|
"mask-t-to": g()
|
|
2018
2018
|
}],
|
|
2019
2019
|
"mask-image-r-from-pos": [{
|
|
2020
|
-
"mask-r-from":
|
|
2020
|
+
"mask-r-from": D()
|
|
2021
2021
|
}],
|
|
2022
2022
|
"mask-image-r-to-pos": [{
|
|
2023
|
-
"mask-r-to":
|
|
2023
|
+
"mask-r-to": D()
|
|
2024
2024
|
}],
|
|
2025
2025
|
"mask-image-r-from-color": [{
|
|
2026
2026
|
"mask-r-from": g()
|
|
@@ -2029,10 +2029,10 @@ const Mo = (e, r) => {
|
|
|
2029
2029
|
"mask-r-to": g()
|
|
2030
2030
|
}],
|
|
2031
2031
|
"mask-image-b-from-pos": [{
|
|
2032
|
-
"mask-b-from":
|
|
2032
|
+
"mask-b-from": D()
|
|
2033
2033
|
}],
|
|
2034
2034
|
"mask-image-b-to-pos": [{
|
|
2035
|
-
"mask-b-to":
|
|
2035
|
+
"mask-b-to": D()
|
|
2036
2036
|
}],
|
|
2037
2037
|
"mask-image-b-from-color": [{
|
|
2038
2038
|
"mask-b-from": g()
|
|
@@ -2041,10 +2041,10 @@ const Mo = (e, r) => {
|
|
|
2041
2041
|
"mask-b-to": g()
|
|
2042
2042
|
}],
|
|
2043
2043
|
"mask-image-l-from-pos": [{
|
|
2044
|
-
"mask-l-from":
|
|
2044
|
+
"mask-l-from": D()
|
|
2045
2045
|
}],
|
|
2046
2046
|
"mask-image-l-to-pos": [{
|
|
2047
|
-
"mask-l-to":
|
|
2047
|
+
"mask-l-to": D()
|
|
2048
2048
|
}],
|
|
2049
2049
|
"mask-image-l-from-color": [{
|
|
2050
2050
|
"mask-l-from": g()
|
|
@@ -2053,10 +2053,10 @@ const Mo = (e, r) => {
|
|
|
2053
2053
|
"mask-l-to": g()
|
|
2054
2054
|
}],
|
|
2055
2055
|
"mask-image-x-from-pos": [{
|
|
2056
|
-
"mask-x-from":
|
|
2056
|
+
"mask-x-from": D()
|
|
2057
2057
|
}],
|
|
2058
2058
|
"mask-image-x-to-pos": [{
|
|
2059
|
-
"mask-x-to":
|
|
2059
|
+
"mask-x-to": D()
|
|
2060
2060
|
}],
|
|
2061
2061
|
"mask-image-x-from-color": [{
|
|
2062
2062
|
"mask-x-from": g()
|
|
@@ -2065,10 +2065,10 @@ const Mo = (e, r) => {
|
|
|
2065
2065
|
"mask-x-to": g()
|
|
2066
2066
|
}],
|
|
2067
2067
|
"mask-image-y-from-pos": [{
|
|
2068
|
-
"mask-y-from":
|
|
2068
|
+
"mask-y-from": D()
|
|
2069
2069
|
}],
|
|
2070
2070
|
"mask-image-y-to-pos": [{
|
|
2071
|
-
"mask-y-to":
|
|
2071
|
+
"mask-y-to": D()
|
|
2072
2072
|
}],
|
|
2073
2073
|
"mask-image-y-from-color": [{
|
|
2074
2074
|
"mask-y-from": g()
|
|
@@ -2080,10 +2080,10 @@ const Mo = (e, r) => {
|
|
|
2080
2080
|
"mask-radial": [u, c]
|
|
2081
2081
|
}],
|
|
2082
2082
|
"mask-image-radial-from-pos": [{
|
|
2083
|
-
"mask-radial-from":
|
|
2083
|
+
"mask-radial-from": D()
|
|
2084
2084
|
}],
|
|
2085
2085
|
"mask-image-radial-to-pos": [{
|
|
2086
|
-
"mask-radial-to":
|
|
2086
|
+
"mask-radial-to": D()
|
|
2087
2087
|
}],
|
|
2088
2088
|
"mask-image-radial-from-color": [{
|
|
2089
2089
|
"mask-radial-from": g()
|
|
@@ -2107,10 +2107,10 @@ const Mo = (e, r) => {
|
|
|
2107
2107
|
"mask-conic": [h]
|
|
2108
2108
|
}],
|
|
2109
2109
|
"mask-image-conic-from-pos": [{
|
|
2110
|
-
"mask-conic-from":
|
|
2110
|
+
"mask-conic-from": D()
|
|
2111
2111
|
}],
|
|
2112
2112
|
"mask-image-conic-to-pos": [{
|
|
2113
|
-
"mask-conic-to":
|
|
2113
|
+
"mask-conic-to": D()
|
|
2114
2114
|
}],
|
|
2115
2115
|
"mask-image-conic-from-color": [{
|
|
2116
2116
|
"mask-conic-from": g()
|
|
@@ -2214,8 +2214,8 @@ const Mo = (e, r) => {
|
|
|
2214
2214
|
"",
|
|
2215
2215
|
"none",
|
|
2216
2216
|
p,
|
|
2217
|
-
|
|
2218
|
-
|
|
2217
|
+
ke,
|
|
2218
|
+
Te
|
|
2219
2219
|
]
|
|
2220
2220
|
}],
|
|
2221
2221
|
/**
|
|
@@ -2441,7 +2441,7 @@ const Mo = (e, r) => {
|
|
|
2441
2441
|
* @see https://tailwindcss.com/docs/perspective
|
|
2442
2442
|
*/
|
|
2443
2443
|
perspective: [{
|
|
2444
|
-
perspective: [
|
|
2444
|
+
perspective: [T, u, c]
|
|
2445
2445
|
}],
|
|
2446
2446
|
/**
|
|
2447
2447
|
* Perspective Origin
|
|
@@ -2455,56 +2455,56 @@ const Mo = (e, r) => {
|
|
|
2455
2455
|
* @see https://tailwindcss.com/docs/rotate
|
|
2456
2456
|
*/
|
|
2457
2457
|
rotate: [{
|
|
2458
|
-
rotate:
|
|
2458
|
+
rotate: xe()
|
|
2459
2459
|
}],
|
|
2460
2460
|
/**
|
|
2461
2461
|
* Rotate X
|
|
2462
2462
|
* @see https://tailwindcss.com/docs/rotate
|
|
2463
2463
|
*/
|
|
2464
2464
|
"rotate-x": [{
|
|
2465
|
-
"rotate-x":
|
|
2465
|
+
"rotate-x": xe()
|
|
2466
2466
|
}],
|
|
2467
2467
|
/**
|
|
2468
2468
|
* Rotate Y
|
|
2469
2469
|
* @see https://tailwindcss.com/docs/rotate
|
|
2470
2470
|
*/
|
|
2471
2471
|
"rotate-y": [{
|
|
2472
|
-
"rotate-y":
|
|
2472
|
+
"rotate-y": xe()
|
|
2473
2473
|
}],
|
|
2474
2474
|
/**
|
|
2475
2475
|
* Rotate Z
|
|
2476
2476
|
* @see https://tailwindcss.com/docs/rotate
|
|
2477
2477
|
*/
|
|
2478
2478
|
"rotate-z": [{
|
|
2479
|
-
"rotate-z":
|
|
2479
|
+
"rotate-z": xe()
|
|
2480
2480
|
}],
|
|
2481
2481
|
/**
|
|
2482
2482
|
* Scale
|
|
2483
2483
|
* @see https://tailwindcss.com/docs/scale
|
|
2484
2484
|
*/
|
|
2485
2485
|
scale: [{
|
|
2486
|
-
scale:
|
|
2486
|
+
scale: ye()
|
|
2487
2487
|
}],
|
|
2488
2488
|
/**
|
|
2489
2489
|
* Scale X
|
|
2490
2490
|
* @see https://tailwindcss.com/docs/scale
|
|
2491
2491
|
*/
|
|
2492
2492
|
"scale-x": [{
|
|
2493
|
-
"scale-x":
|
|
2493
|
+
"scale-x": ye()
|
|
2494
2494
|
}],
|
|
2495
2495
|
/**
|
|
2496
2496
|
* Scale Y
|
|
2497
2497
|
* @see https://tailwindcss.com/docs/scale
|
|
2498
2498
|
*/
|
|
2499
2499
|
"scale-y": [{
|
|
2500
|
-
"scale-y":
|
|
2500
|
+
"scale-y": ye()
|
|
2501
2501
|
}],
|
|
2502
2502
|
/**
|
|
2503
2503
|
* Scale Z
|
|
2504
2504
|
* @see https://tailwindcss.com/docs/scale
|
|
2505
2505
|
*/
|
|
2506
2506
|
"scale-z": [{
|
|
2507
|
-
"scale-z":
|
|
2507
|
+
"scale-z": ye()
|
|
2508
2508
|
}],
|
|
2509
2509
|
/**
|
|
2510
2510
|
* Scale 3D
|
|
@@ -2558,28 +2558,28 @@ const Mo = (e, r) => {
|
|
|
2558
2558
|
* @see https://tailwindcss.com/docs/translate
|
|
2559
2559
|
*/
|
|
2560
2560
|
translate: [{
|
|
2561
|
-
translate:
|
|
2561
|
+
translate: Se()
|
|
2562
2562
|
}],
|
|
2563
2563
|
/**
|
|
2564
2564
|
* Translate X
|
|
2565
2565
|
* @see https://tailwindcss.com/docs/translate
|
|
2566
2566
|
*/
|
|
2567
2567
|
"translate-x": [{
|
|
2568
|
-
"translate-x":
|
|
2568
|
+
"translate-x": Se()
|
|
2569
2569
|
}],
|
|
2570
2570
|
/**
|
|
2571
2571
|
* Translate Y
|
|
2572
2572
|
* @see https://tailwindcss.com/docs/translate
|
|
2573
2573
|
*/
|
|
2574
2574
|
"translate-y": [{
|
|
2575
|
-
"translate-y":
|
|
2575
|
+
"translate-y": Se()
|
|
2576
2576
|
}],
|
|
2577
2577
|
/**
|
|
2578
2578
|
* Translate Z
|
|
2579
2579
|
* @see https://tailwindcss.com/docs/translate
|
|
2580
2580
|
*/
|
|
2581
2581
|
"translate-z": [{
|
|
2582
|
-
"translate-z":
|
|
2582
|
+
"translate-z": Se()
|
|
2583
2583
|
}],
|
|
2584
2584
|
/**
|
|
2585
2585
|
* Translate None
|
|
@@ -2924,7 +2924,7 @@ const Mo = (e, r) => {
|
|
|
2924
2924
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2925
2925
|
*/
|
|
2926
2926
|
"stroke-w": [{
|
|
2927
|
-
stroke: [h,
|
|
2927
|
+
stroke: [h, pe, j, Ar]
|
|
2928
2928
|
}],
|
|
2929
2929
|
/**
|
|
2930
2930
|
* Stroke
|
|
@@ -3001,52 +3001,52 @@ const Mo = (e, r) => {
|
|
|
3001
3001
|
postfixLookupClassGroups: ["container-type"],
|
|
3002
3002
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
3003
3003
|
};
|
|
3004
|
-
},
|
|
3004
|
+
}, On = (e, {
|
|
3005
3005
|
cacheSize: r,
|
|
3006
3006
|
prefix: o,
|
|
3007
3007
|
experimentalParseClassName: n,
|
|
3008
3008
|
extend: s = {},
|
|
3009
3009
|
override: t = {}
|
|
3010
|
-
}) => (ae(e, "cacheSize", r), ae(e, "prefix", o), ae(e, "experimentalParseClassName", n),
|
|
3010
|
+
}) => (ae(e, "cacheSize", r), ae(e, "prefix", o), ae(e, "experimentalParseClassName", n), Ee(e.theme, t.theme), Ee(e.classGroups, t.classGroups), Ee(e.conflictingClassGroups, t.conflictingClassGroups), Ee(e.conflictingClassGroupModifiers, t.conflictingClassGroupModifiers), ae(e, "postfixLookupClassGroups", t.postfixLookupClassGroups), ae(e, "orderSensitiveModifiers", t.orderSensitiveModifiers), De(e.theme, s.theme), De(e.classGroups, s.classGroups), De(e.conflictingClassGroups, s.conflictingClassGroups), De(e.conflictingClassGroupModifiers, s.conflictingClassGroupModifiers), or(e, s, "postfixLookupClassGroups"), or(e, s, "orderSensitiveModifiers"), e), ae = (e, r, o) => {
|
|
3011
3011
|
o !== void 0 && (e[r] = o);
|
|
3012
|
-
},
|
|
3012
|
+
}, Ee = (e, r) => {
|
|
3013
3013
|
if (r)
|
|
3014
3014
|
for (const o in r)
|
|
3015
3015
|
ae(e, o, r[o]);
|
|
3016
|
-
},
|
|
3016
|
+
}, De = (e, r) => {
|
|
3017
3017
|
if (r)
|
|
3018
3018
|
for (const o in r)
|
|
3019
3019
|
or(e, r, o);
|
|
3020
3020
|
}, or = (e, r, o) => {
|
|
3021
3021
|
const n = r[o];
|
|
3022
3022
|
n !== void 0 && (e[o] = e[o] ? e[o].concat(n) : n);
|
|
3023
|
-
},
|
|
3024
|
-
fontFamilySans:
|
|
3025
|
-
fontFamilyMono:
|
|
3026
|
-
textScale:
|
|
3027
|
-
shadowOpacity:
|
|
3028
|
-
shadowGeom:
|
|
3029
|
-
},
|
|
3023
|
+
}, Cn = (e, ...r) => typeof e == "function" ? Rr(Mr, e, ...r) : Rr(() => On(Mr(), e), ...r), Fn = 'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif', _n = "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace", In = { xsmall: { size: 0.6875, line: 0.875 }, small: { size: 0.75, line: 1 }, base: { size: 0.875, line: 1.25 }, mid: { size: 1, line: 1.5 }, large: { size: 1.15, line: 1.75 }, xlarge: { size: 1.5, line: 2 }, "2xlarge": { size: 1.875, line: 2.25 }, "3xlarge": { size: 2.25, line: 2.5 } }, Ln = { dark: { small: { rest: 0.1, hover: 0.14, press: 0.07 }, base: { rest: 0.15, hover: 0.19, press: 0.1 }, mid: { rest: 0.2, hover: 0.24, press: 0.14 }, large: { rest: 0.24, hover: 0.28, press: 0.17 }, lift: { hover: 0.15 } }, light: { small: { rest: 0.05, hover: 0.08, press: 0.03 }, base: { rest: 0.08, hover: 0.11, press: 0.05 }, mid: { rest: 0.12, hover: 0.15, press: 0.08 }, large: { rest: 0.16, hover: 0.2, press: 0.11 }, lift: { hover: 0.08 } } }, Rn = { small: { rest: [0, 1, 1, 0], hover: [0, 2, 2, -1], press: [0, 1, 1, 0] }, base: { rest: [0, 2, 2, -1], hover: [0, 3, 3, -1], press: [0, 1, 1, 0] }, mid: { rest: [2, 4, 3, -2], hover: [2, 5, 4, -2], press: [1, 2, 2, -1] }, large: { rest: [3, 6, 5, -3], hover: [3, 7, 6, -3], press: [2, 4, 3, -2] }, lift: { hover: [0, 2, 2, -1] } }, $ = {
|
|
3024
|
+
fontFamilySans: Fn,
|
|
3025
|
+
fontFamilyMono: _n,
|
|
3026
|
+
textScale: In,
|
|
3027
|
+
shadowOpacity: Ln,
|
|
3028
|
+
shadowGeom: Rn
|
|
3029
|
+
}, Vs = ["none", "small", "base", "mid", "large"], uo = {
|
|
3030
3030
|
small: "--shadow-small",
|
|
3031
3031
|
base: "--shadow-base",
|
|
3032
3032
|
mid: "--shadow-mid",
|
|
3033
3033
|
large: "--shadow-large"
|
|
3034
|
-
}, An = "--shadow-lift",
|
|
3034
|
+
}, An = "--shadow-lift", Xs = {
|
|
3035
3035
|
opacity: 1,
|
|
3036
3036
|
blur: 1,
|
|
3037
3037
|
spread: 1,
|
|
3038
3038
|
offsetX: 0,
|
|
3039
3039
|
offsetY: 0
|
|
3040
|
-
},
|
|
3040
|
+
}, Ys = $.shadowOpacity, js = {
|
|
3041
3041
|
small: [$.shadowGeom.small.rest],
|
|
3042
3042
|
base: [$.shadowGeom.base.rest],
|
|
3043
3043
|
mid: [$.shadowGeom.mid.rest],
|
|
3044
3044
|
large: [$.shadowGeom.large.rest]
|
|
3045
|
-
},
|
|
3046
|
-
function
|
|
3045
|
+
}, qs = $.shadowGeom;
|
|
3046
|
+
function Ks(e) {
|
|
3047
3047
|
return `var(--shadow-${e})`;
|
|
3048
3048
|
}
|
|
3049
|
-
const
|
|
3049
|
+
const Qs = {
|
|
3050
3050
|
/** Namespace for documentation */
|
|
3051
3051
|
namespace: "burne",
|
|
3052
3052
|
tailwindBridge: {
|
|
@@ -3071,6 +3071,8 @@ const js = {
|
|
|
3071
3071
|
"color-surface": "color-surface",
|
|
3072
3072
|
"color-border": "color-border",
|
|
3073
3073
|
"border-token": "color-border",
|
|
3074
|
+
"color-shadow": "color-shadow",
|
|
3075
|
+
"color-shadow-secondary": "color-shadow-secondary",
|
|
3074
3076
|
"color-primary": "color-primary",
|
|
3075
3077
|
"color-primary-foreground": "color-primary-foreground",
|
|
3076
3078
|
"color-primary-hover": "color-primary-hover",
|
|
@@ -3127,7 +3129,7 @@ const js = {
|
|
|
3127
3129
|
"icon-2xlarge": "icon-size-2xlarge",
|
|
3128
3130
|
"icon-3xlarge": "icon-size-3xlarge"
|
|
3129
3131
|
}
|
|
3130
|
-
},
|
|
3132
|
+
}, Pn = [
|
|
3131
3133
|
"xsmall",
|
|
3132
3134
|
"small",
|
|
3133
3135
|
"base",
|
|
@@ -3136,13 +3138,13 @@ const js = {
|
|
|
3136
3138
|
"xlarge",
|
|
3137
3139
|
"2xlarge",
|
|
3138
3140
|
"3xlarge"
|
|
3139
|
-
],
|
|
3141
|
+
], zn = [
|
|
3140
3142
|
"xsmall",
|
|
3141
3143
|
"small",
|
|
3142
3144
|
"base",
|
|
3143
3145
|
"mid",
|
|
3144
3146
|
"large"
|
|
3145
|
-
],
|
|
3147
|
+
], Mn = [
|
|
3146
3148
|
"small",
|
|
3147
3149
|
"base",
|
|
3148
3150
|
"mid",
|
|
@@ -3151,19 +3153,19 @@ const js = {
|
|
|
3151
3153
|
"header-1",
|
|
3152
3154
|
"header-2",
|
|
3153
3155
|
"large"
|
|
3154
|
-
],
|
|
3156
|
+
], Nn = Cn({
|
|
3155
3157
|
extend: {
|
|
3156
3158
|
theme: {
|
|
3157
|
-
spacing: [...
|
|
3158
|
-
radius: [...
|
|
3159
|
-
text: [...
|
|
3159
|
+
spacing: [...Pn],
|
|
3160
|
+
radius: [...zn],
|
|
3161
|
+
text: [...Mn]
|
|
3160
3162
|
}
|
|
3161
3163
|
}
|
|
3162
3164
|
});
|
|
3163
3165
|
function y(...e) {
|
|
3164
|
-
return
|
|
3166
|
+
return Nn(Mo(e));
|
|
3165
3167
|
}
|
|
3166
|
-
const
|
|
3168
|
+
const ce = {
|
|
3167
3169
|
small: {
|
|
3168
3170
|
minWButton: "min-w-button-small",
|
|
3169
3171
|
padX: "px-base",
|
|
@@ -3220,35 +3222,35 @@ const le = {
|
|
|
3220
3222
|
spinnerBorder: "border-[2.5px]",
|
|
3221
3223
|
rounded: "rounded-large"
|
|
3222
3224
|
}
|
|
3223
|
-
},
|
|
3225
|
+
}, Bn = "(prefers-reduced-motion: reduce)";
|
|
3224
3226
|
function fo() {
|
|
3225
|
-
return typeof window > "u" || !window.matchMedia ? null : window.matchMedia(
|
|
3227
|
+
return typeof window > "u" || !window.matchMedia ? null : window.matchMedia(Bn);
|
|
3226
3228
|
}
|
|
3227
3229
|
function Ge() {
|
|
3228
3230
|
var e;
|
|
3229
3231
|
return ((e = fo()) == null ? void 0 : e.matches) ?? !1;
|
|
3230
3232
|
}
|
|
3231
|
-
function
|
|
3233
|
+
function Gn(e) {
|
|
3232
3234
|
const r = fo();
|
|
3233
3235
|
if (!r) return () => {
|
|
3234
3236
|
};
|
|
3235
3237
|
const o = () => e();
|
|
3236
3238
|
return r.addEventListener("change", o), () => r.removeEventListener("change", o);
|
|
3237
3239
|
}
|
|
3238
|
-
function
|
|
3240
|
+
function Hn() {
|
|
3239
3241
|
return Ge();
|
|
3240
3242
|
}
|
|
3241
|
-
function
|
|
3243
|
+
function $n() {
|
|
3242
3244
|
return !1;
|
|
3243
3245
|
}
|
|
3244
|
-
function
|
|
3245
|
-
return
|
|
3246
|
-
Bn,
|
|
3246
|
+
function Js() {
|
|
3247
|
+
return Po(
|
|
3247
3248
|
Gn,
|
|
3248
|
-
Hn
|
|
3249
|
+
Hn,
|
|
3250
|
+
$n
|
|
3249
3251
|
);
|
|
3250
3252
|
}
|
|
3251
|
-
const
|
|
3253
|
+
const Wn = {
|
|
3252
3254
|
surfaceDuration: "--motion-surface-duration"
|
|
3253
3255
|
}, lr = {
|
|
3254
3256
|
interactiveDuration: 280,
|
|
@@ -3302,20 +3304,20 @@ const $n = {
|
|
|
3302
3304
|
};
|
|
3303
3305
|
let v = { ...lr }, go = 0;
|
|
3304
3306
|
const nr = /* @__PURE__ */ new Set();
|
|
3305
|
-
function
|
|
3307
|
+
function Zs(e) {
|
|
3306
3308
|
return nr.add(e), () => {
|
|
3307
3309
|
nr.delete(e);
|
|
3308
3310
|
};
|
|
3309
3311
|
}
|
|
3310
|
-
function
|
|
3312
|
+
function ea() {
|
|
3311
3313
|
return go;
|
|
3312
3314
|
}
|
|
3313
3315
|
function po(e, r = v) {
|
|
3314
3316
|
if (typeof document > "u") return;
|
|
3315
|
-
const o = e ?? document.documentElement, n =
|
|
3317
|
+
const o = e ?? document.documentElement, n = Wn.surfaceDuration;
|
|
3316
3318
|
r.surfaceTransitionDuration === lr.surfaceTransitionDuration ? o.style.removeProperty(n) : o.style.setProperty(n, `${r.surfaceTransitionDuration}ms`);
|
|
3317
3319
|
}
|
|
3318
|
-
function
|
|
3320
|
+
function Un(e) {
|
|
3319
3321
|
v = { ...v, ...e }, go += 1, po(document.documentElement, v);
|
|
3320
3322
|
for (const r of nr)
|
|
3321
3323
|
r();
|
|
@@ -3323,19 +3325,19 @@ function Wn(e) {
|
|
|
3323
3325
|
function U() {
|
|
3324
3326
|
return v;
|
|
3325
3327
|
}
|
|
3326
|
-
function
|
|
3328
|
+
function ra() {
|
|
3327
3329
|
return v.enableAnimations;
|
|
3328
3330
|
}
|
|
3329
3331
|
function He(e) {
|
|
3330
3332
|
return v.enableAnimations && v[e];
|
|
3331
3333
|
}
|
|
3332
|
-
function
|
|
3334
|
+
function oa() {
|
|
3333
3335
|
return {
|
|
3334
3336
|
duration: v.interactiveDuration / 1e3,
|
|
3335
3337
|
ease: v.interactiveEase
|
|
3336
3338
|
};
|
|
3337
3339
|
}
|
|
3338
|
-
function
|
|
3340
|
+
function na() {
|
|
3339
3341
|
return {
|
|
3340
3342
|
duration: v.modalDuration / 1e3,
|
|
3341
3343
|
ease: v.interactiveEase
|
|
@@ -3344,78 +3346,78 @@ function ea() {
|
|
|
3344
3346
|
function mo() {
|
|
3345
3347
|
return v.interactiveDuration * v.pressSqueezeDurationFactor / 1e3;
|
|
3346
3348
|
}
|
|
3347
|
-
function
|
|
3349
|
+
function ta() {
|
|
3348
3350
|
return {
|
|
3349
3351
|
duration: v.selectionFillDuration / 1e3,
|
|
3350
3352
|
ease: v.selectionFillEase
|
|
3351
3353
|
};
|
|
3352
3354
|
}
|
|
3353
|
-
function
|
|
3355
|
+
function sa() {
|
|
3354
3356
|
return {
|
|
3355
3357
|
duration: v.tooltipDuration / 1e3,
|
|
3356
3358
|
ease: v.interactiveEase
|
|
3357
3359
|
};
|
|
3358
3360
|
}
|
|
3359
|
-
function
|
|
3361
|
+
function aa() {
|
|
3360
3362
|
return {
|
|
3361
3363
|
duration: v.switchThumbDuration / 1e3,
|
|
3362
3364
|
ease: v.switchThumbEase
|
|
3363
3365
|
};
|
|
3364
3366
|
}
|
|
3365
|
-
function
|
|
3367
|
+
function ia() {
|
|
3366
3368
|
return {
|
|
3367
3369
|
duration: v.expandDuration / 1e3,
|
|
3368
3370
|
ease: v.expandOpenEase
|
|
3369
3371
|
};
|
|
3370
3372
|
}
|
|
3371
|
-
function
|
|
3373
|
+
function la() {
|
|
3372
3374
|
return {
|
|
3373
3375
|
duration: v.tooltipDuration / 1e3,
|
|
3374
3376
|
ease: v.interactiveEase
|
|
3375
3377
|
};
|
|
3376
3378
|
}
|
|
3377
|
-
function
|
|
3379
|
+
function ca() {
|
|
3378
3380
|
return {
|
|
3379
3381
|
duration: v.feedbackExpandDuration / 1e3
|
|
3380
3382
|
};
|
|
3381
3383
|
}
|
|
3382
|
-
function
|
|
3384
|
+
function ua() {
|
|
3383
3385
|
return {
|
|
3384
3386
|
duration: v.progressFillDuration / 1e3,
|
|
3385
3387
|
ease: v.progressFillEase
|
|
3386
3388
|
};
|
|
3387
3389
|
}
|
|
3388
|
-
function
|
|
3390
|
+
function da() {
|
|
3389
3391
|
return {
|
|
3390
3392
|
duration: v.progressIndeterminateDuration / 1e3,
|
|
3391
3393
|
ease: v.progressIndeterminateEase
|
|
3392
3394
|
};
|
|
3393
3395
|
}
|
|
3394
|
-
function
|
|
3396
|
+
function fa() {
|
|
3395
3397
|
return {
|
|
3396
3398
|
duration: v.toastDismissDuration / 1e3,
|
|
3397
3399
|
ease: v.toastDismissEase
|
|
3398
3400
|
};
|
|
3399
3401
|
}
|
|
3400
|
-
const
|
|
3401
|
-
function
|
|
3402
|
+
const Vn = 3;
|
|
3403
|
+
function ga() {
|
|
3402
3404
|
const e = v.loadingDotsDuration / 1e3;
|
|
3403
3405
|
return {
|
|
3404
3406
|
cycleSec: e,
|
|
3405
|
-
staggerSec: e /
|
|
3407
|
+
staggerSec: e / Vn,
|
|
3406
3408
|
halfCycleSec: e / 2,
|
|
3407
3409
|
easeUp: v.loadingDotsEaseUp,
|
|
3408
3410
|
easeDown: v.loadingDotsEaseDown,
|
|
3409
3411
|
enabled: He("enableLoadingDots")
|
|
3410
3412
|
};
|
|
3411
3413
|
}
|
|
3412
|
-
const
|
|
3414
|
+
const Xn = "pointer-events-none absolute z-0 rounded-full", Ke = "brn-ripple";
|
|
3413
3415
|
let Nr = !1, Br = "";
|
|
3414
|
-
function
|
|
3416
|
+
function Yn() {
|
|
3415
3417
|
Nr || (F.registerPlugin(er), Nr = !0);
|
|
3416
3418
|
}
|
|
3417
|
-
function
|
|
3418
|
-
|
|
3419
|
+
function jn() {
|
|
3420
|
+
Yn();
|
|
3419
3421
|
const e = U().rippleEaseCss;
|
|
3420
3422
|
if (Br !== e) {
|
|
3421
3423
|
const r = /cubic-bezier\(\s*([\d.]+),\s*([\d.]+),\s*([\d.]+),\s*([\d.]+)\s*\)/.exec(e);
|
|
@@ -3423,7 +3425,7 @@ function Yn() {
|
|
|
3423
3425
|
}
|
|
3424
3426
|
return Ke;
|
|
3425
3427
|
}
|
|
3426
|
-
function
|
|
3428
|
+
function A(...e) {
|
|
3427
3429
|
F.killTweensOf(e);
|
|
3428
3430
|
for (const r of e) ho(r);
|
|
3429
3431
|
}
|
|
@@ -3438,14 +3440,14 @@ function ho(e) {
|
|
|
3438
3440
|
if (Array.isArray(e))
|
|
3439
3441
|
for (const r of e) ho(r);
|
|
3440
3442
|
}
|
|
3441
|
-
function
|
|
3443
|
+
function pa(e, r) {
|
|
3442
3444
|
return function() {
|
|
3443
3445
|
if (bo(e, !1), typeof r == "function")
|
|
3444
3446
|
return r.call(this);
|
|
3445
3447
|
};
|
|
3446
3448
|
}
|
|
3447
3449
|
const Qe = 0.12;
|
|
3448
|
-
function
|
|
3450
|
+
function qn({
|
|
3449
3451
|
id: e,
|
|
3450
3452
|
x: r,
|
|
3451
3453
|
y: o,
|
|
@@ -3461,28 +3463,28 @@ function jn({
|
|
|
3461
3463
|
const b = l.current;
|
|
3462
3464
|
if (!b) return;
|
|
3463
3465
|
let w = !1;
|
|
3464
|
-
|
|
3465
|
-
const p = i === "out" ? Qe : 1, x = i === "out" ? 1 : Qe,
|
|
3466
|
+
A(b);
|
|
3467
|
+
const p = i === "out" ? Qe : 1, x = i === "out" ? 1 : Qe, T = F.fromTo(
|
|
3466
3468
|
b,
|
|
3467
3469
|
{ scale: p, autoAlpha: t },
|
|
3468
3470
|
{
|
|
3469
3471
|
scale: x,
|
|
3470
3472
|
autoAlpha: 0,
|
|
3471
3473
|
duration: s / 1e3,
|
|
3472
|
-
ease:
|
|
3474
|
+
ease: jn(),
|
|
3473
3475
|
onComplete: () => {
|
|
3474
3476
|
w || m.current(e);
|
|
3475
3477
|
}
|
|
3476
3478
|
}
|
|
3477
3479
|
);
|
|
3478
3480
|
return () => {
|
|
3479
|
-
w = !0,
|
|
3481
|
+
w = !0, T.kill(), A(b);
|
|
3480
3482
|
};
|
|
3481
3483
|
}, [e, r, o, n, s, t, a, i]), /* @__PURE__ */ Je(
|
|
3482
3484
|
"span",
|
|
3483
3485
|
{
|
|
3484
3486
|
ref: l,
|
|
3485
|
-
className:
|
|
3487
|
+
className: Xn,
|
|
3486
3488
|
style: {
|
|
3487
3489
|
left: r - n / 2,
|
|
3488
3490
|
top: o - n / 2,
|
|
@@ -3496,7 +3498,7 @@ function jn({
|
|
|
3496
3498
|
}
|
|
3497
3499
|
);
|
|
3498
3500
|
}
|
|
3499
|
-
const
|
|
3501
|
+
const ma = zo(function({
|
|
3500
3502
|
ripples: r,
|
|
3501
3503
|
tone: o,
|
|
3502
3504
|
onDone: n,
|
|
@@ -3505,7 +3507,7 @@ const fa = Po(function({
|
|
|
3505
3507
|
direction: a = "in"
|
|
3506
3508
|
}) {
|
|
3507
3509
|
return /* @__PURE__ */ Je(Ao, { children: r.map((i) => /* @__PURE__ */ Je(
|
|
3508
|
-
|
|
3510
|
+
qn,
|
|
3509
3511
|
{
|
|
3510
3512
|
...i,
|
|
3511
3513
|
background: o,
|
|
@@ -3517,7 +3519,7 @@ const fa = Po(function({
|
|
|
3517
3519
|
i.id
|
|
3518
3520
|
)) });
|
|
3519
3521
|
});
|
|
3520
|
-
function
|
|
3522
|
+
function Kn(e, r, o, n) {
|
|
3521
3523
|
return Math.max(...[
|
|
3522
3524
|
[0, 0],
|
|
3523
3525
|
[o, 0],
|
|
@@ -3526,14 +3528,14 @@ function qn(e, r, o, n) {
|
|
|
3526
3528
|
].map(([t, a]) => Math.hypot(t - e, a - r)));
|
|
3527
3529
|
}
|
|
3528
3530
|
function vo(e, r, o, n) {
|
|
3529
|
-
const s = e.getBoundingClientRect(), t = r - s.left, a = o - s.top, i =
|
|
3531
|
+
const s = e.getBoundingClientRect(), t = r - s.left, a = o - s.top, i = Kn(t, a, s.width, s.height) * 2;
|
|
3530
3532
|
return { id: n, x: t, y: a, size: i };
|
|
3531
3533
|
}
|
|
3532
|
-
function
|
|
3534
|
+
function ba(e, r) {
|
|
3533
3535
|
const o = e.currentTarget;
|
|
3534
3536
|
return o ? vo(o, e.clientX, e.clientY, r) : null;
|
|
3535
3537
|
}
|
|
3536
|
-
function
|
|
3538
|
+
function ha() {
|
|
3537
3539
|
const e = Q(0), [r, o] = Ze([]), n = O((a) => {
|
|
3538
3540
|
o((i) => i.filter((d) => d.id !== a));
|
|
3539
3541
|
}, []), s = O(
|
|
@@ -3553,24 +3555,26 @@ function pa() {
|
|
|
3553
3555
|
}, [s]);
|
|
3554
3556
|
return { ripples: r, pushFromPointer: t, pushAtClientCoords: s, dismiss: n };
|
|
3555
3557
|
}
|
|
3556
|
-
const
|
|
3558
|
+
const va = ["small", "base", "mid", "strong", "bold"], cr = {
|
|
3557
3559
|
small: "--font-w-small",
|
|
3558
3560
|
base: "--font-w-base",
|
|
3559
3561
|
mid: "--font-w-mid",
|
|
3560
3562
|
strong: "--font-w-strong",
|
|
3561
3563
|
bold: "--font-w-bold"
|
|
3562
|
-
},
|
|
3564
|
+
}, Qn = {
|
|
3563
3565
|
small: 400,
|
|
3564
3566
|
base: 500,
|
|
3565
3567
|
mid: 600,
|
|
3566
3568
|
strong: 700,
|
|
3567
3569
|
bold: 800
|
|
3568
3570
|
};
|
|
3569
|
-
function
|
|
3571
|
+
function wa(e) {
|
|
3570
3572
|
return `var(--font-w-${e})`;
|
|
3571
3573
|
}
|
|
3572
|
-
const
|
|
3574
|
+
const ue = $.textScale, Jn = 1024, wo = `(max-width: ${Jn}px), (hover: none), (pointer: coarse)`, xa = `${wo}, (any-pointer: coarse)`, ya = [
|
|
3573
3575
|
"--border-width",
|
|
3576
|
+
"--border-width-outline",
|
|
3577
|
+
"--border-color",
|
|
3574
3578
|
"--focus-ring-width",
|
|
3575
3579
|
"--focus-ring-offset",
|
|
3576
3580
|
"--motion-surface-duration",
|
|
@@ -3589,6 +3593,8 @@ const ce = $.textScale, Qn = 1024, wo = `(max-width: ${Qn}px), (hover: none), (p
|
|
|
3589
3593
|
"--color-background",
|
|
3590
3594
|
"--color-surface",
|
|
3591
3595
|
"--color-border",
|
|
3596
|
+
"--color-shadow",
|
|
3597
|
+
"--color-shadow-secondary",
|
|
3592
3598
|
"--color-foreground",
|
|
3593
3599
|
"--color-muted",
|
|
3594
3600
|
"--color-muted-foreground",
|
|
@@ -3767,10 +3773,10 @@ const ce = $.textScale, Qn = 1024, wo = `(max-width: ${Qn}px), (hover: none), (p
|
|
|
3767
3773
|
"--toast-scrim-size",
|
|
3768
3774
|
"--toast-scrim-density"
|
|
3769
3775
|
];
|
|
3770
|
-
function
|
|
3776
|
+
function k(e) {
|
|
3771
3777
|
return `var(--color-${e})`;
|
|
3772
3778
|
}
|
|
3773
|
-
function
|
|
3779
|
+
function Zn(e, r) {
|
|
3774
3780
|
return r == null || !(r instanceof Node) ? !0 : !e.contains(r);
|
|
3775
3781
|
}
|
|
3776
3782
|
function ur({
|
|
@@ -3786,12 +3792,12 @@ function ur({
|
|
|
3786
3792
|
if (!s) return;
|
|
3787
3793
|
const i = r.current;
|
|
3788
3794
|
return () => {
|
|
3789
|
-
i &&
|
|
3795
|
+
i && A(i);
|
|
3790
3796
|
};
|
|
3791
3797
|
}, [s, r]), J(() => ({ onPointerOver: (l) => {
|
|
3792
3798
|
if (!e || l.defaultPrevented) return;
|
|
3793
3799
|
const m = l.currentTarget;
|
|
3794
|
-
if (!(l.target instanceof Node) || !m.contains(l.target) || !
|
|
3800
|
+
if (!(l.target instanceof Node) || !m.contains(l.target) || !Zn(m, l.relatedTarget) || n != null && n()) return;
|
|
3795
3801
|
const b = r.current;
|
|
3796
3802
|
b && (o && (o.current = !0), t(b, l));
|
|
3797
3803
|
}, onPointerOut: (l) => {
|
|
@@ -3801,23 +3807,23 @@ function ur({
|
|
|
3801
3807
|
w && a(w, l);
|
|
3802
3808
|
} }), [e, t, a, o, n, r]);
|
|
3803
3809
|
}
|
|
3804
|
-
const xo = { force3D: !1 }, tr = "0px 0px 0px 0px rgba(0, 0, 0, 0)";
|
|
3805
|
-
function
|
|
3810
|
+
const xo = { force3D: !1 }, tr = "0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)";
|
|
3811
|
+
function et(e) {
|
|
3806
3812
|
return e || document.documentElement;
|
|
3807
3813
|
}
|
|
3808
3814
|
function Gr(e, r) {
|
|
3809
|
-
return typeof window > "u" ? "none" : getComputedStyle(
|
|
3815
|
+
return typeof window > "u" ? "none" : getComputedStyle(et(r)).getPropertyValue(e).trim() || "none";
|
|
3810
3816
|
}
|
|
3811
3817
|
function z(e, r = "rest") {
|
|
3812
3818
|
return e === "none" ? r === "hover" ? `var(${An})` : "var(--shadow-none)" : r === "rest" ? `var(${uo[e]})` : `var(--shadow-${e}-${r})`;
|
|
3813
3819
|
}
|
|
3814
|
-
const
|
|
3815
|
-
function
|
|
3820
|
+
const de = () => z("none"), Sa = () => z("small"), rt = () => z("base"), Ta = () => z("mid"), ka = () => z("large"), Ea = () => z("none", "hover");
|
|
3821
|
+
function Ie(e) {
|
|
3816
3822
|
const r = e.trim();
|
|
3817
3823
|
return !r || r === "none" ? tr : r;
|
|
3818
3824
|
}
|
|
3819
3825
|
let te = null;
|
|
3820
|
-
function
|
|
3826
|
+
function ot() {
|
|
3821
3827
|
if (typeof document > "u")
|
|
3822
3828
|
throw new Error("resolveConcreteBoxShadow requires a document");
|
|
3823
3829
|
return te || (te = document.createElement("span"), te.setAttribute("aria-hidden", "true"), te.setAttribute("data-burne-shadow-probe", ""), te.style.cssText = "position:absolute;width:0;height:0;overflow:hidden;pointer-events:none;visibility:hidden;"), te;
|
|
@@ -3828,34 +3834,34 @@ function dr(e, r) {
|
|
|
3828
3834
|
if (!o || o === "none") return tr;
|
|
3829
3835
|
if (!o.includes("var(") && !o.includes("calc("))
|
|
3830
3836
|
return o;
|
|
3831
|
-
const n =
|
|
3837
|
+
const n = ot();
|
|
3832
3838
|
n.style.boxShadow = o;
|
|
3833
3839
|
const s = e.isConnected ? e : document.documentElement;
|
|
3834
3840
|
n.parentNode !== s && s.appendChild(n);
|
|
3835
3841
|
const t = getComputedStyle(n).boxShadow;
|
|
3836
|
-
return s !== document.documentElement && document.documentElement.appendChild(n),
|
|
3842
|
+
return s !== document.documentElement && document.documentElement.appendChild(n), Ie(t);
|
|
3837
3843
|
}
|
|
3838
|
-
function
|
|
3844
|
+
function Da(e, r) {
|
|
3839
3845
|
return dr(e, z(r));
|
|
3840
3846
|
}
|
|
3841
|
-
function
|
|
3847
|
+
function Oa(e, r) {
|
|
3842
3848
|
return Gr(e === "none" ? "--shadow-none" : uo[e], r);
|
|
3843
3849
|
}
|
|
3844
|
-
function
|
|
3850
|
+
function nt(e, r) {
|
|
3845
3851
|
return dr(e, r);
|
|
3846
3852
|
}
|
|
3847
3853
|
function fr(e) {
|
|
3848
3854
|
e.style.removeProperty("box-shadow"), F.set(e, { clearProps: "boxShadow" });
|
|
3849
3855
|
}
|
|
3850
|
-
function
|
|
3856
|
+
function tt(e) {
|
|
3851
3857
|
const r = e.style.boxShadow.trim();
|
|
3852
3858
|
if (r && !r.includes("var(") && !r.includes("calc("))
|
|
3853
|
-
return
|
|
3859
|
+
return Ie(r);
|
|
3854
3860
|
const o = String(F.getProperty(e, "boxShadow") ?? "").trim();
|
|
3855
3861
|
if (o && !o.includes("var(") && !o.includes("calc(") && o !== "none")
|
|
3856
|
-
return
|
|
3862
|
+
return Ie(o);
|
|
3857
3863
|
const n = e.style.getPropertyValue("--el-shadow").trim();
|
|
3858
|
-
return n ? dr(e, n) :
|
|
3864
|
+
return n ? dr(e, n) : Ie(getComputedStyle(e).boxShadow);
|
|
3859
3865
|
}
|
|
3860
3866
|
function sr(e, r, o, n, s, t) {
|
|
3861
3867
|
const a = t == null ? void 0 : t.timeline, i = (t == null ? void 0 : t.commitShadow) !== !1, d = { ...xo, overwrite: "auto" };
|
|
@@ -3864,7 +3870,7 @@ function sr(e, r, o, n, s, t) {
|
|
|
3864
3870
|
a ? a.to(e, x) : F.to(e, x);
|
|
3865
3871
|
return;
|
|
3866
3872
|
}
|
|
3867
|
-
const l =
|
|
3873
|
+
const l = tt(e), m = nt(e, o), w = { scale: Number(F.getProperty(e, "scale")) || 1, boxShadow: l }, p = {
|
|
3868
3874
|
scale: r,
|
|
3869
3875
|
boxShadow: m,
|
|
3870
3876
|
duration: n,
|
|
@@ -3876,43 +3882,43 @@ function sr(e, r, o, n, s, t) {
|
|
|
3876
3882
|
};
|
|
3877
3883
|
a ? a.fromTo(e, w, p) : F.fromTo(e, w, p);
|
|
3878
3884
|
}
|
|
3879
|
-
function
|
|
3885
|
+
function me(e, r) {
|
|
3880
3886
|
e && (e.style.setProperty("--el-shadow", r), fr(e));
|
|
3881
3887
|
}
|
|
3882
|
-
function
|
|
3888
|
+
function st() {
|
|
3883
3889
|
return typeof window > "u" || !window.matchMedia ? !1 : window.matchMedia(wo).matches;
|
|
3884
3890
|
}
|
|
3885
3891
|
function N() {
|
|
3886
|
-
return Ge() ||
|
|
3892
|
+
return Ge() || st() || !He("enableHoverLift");
|
|
3887
3893
|
}
|
|
3888
|
-
const
|
|
3894
|
+
const at = 2.4, it = 3e-3, lt = 1.8, ct = 2e-3;
|
|
3889
3895
|
function yo(e) {
|
|
3890
3896
|
const { width: r, height: o } = e.getBoundingClientRect(), n = Math.max(r, o, 1), s = 1 - U().pressSqueezeScale[1];
|
|
3891
3897
|
return 1 - Math.min(
|
|
3892
|
-
Math.max(
|
|
3898
|
+
Math.max(at / n, it),
|
|
3893
3899
|
s
|
|
3894
3900
|
);
|
|
3895
3901
|
}
|
|
3896
3902
|
function gr(e) {
|
|
3897
3903
|
return pr(e);
|
|
3898
3904
|
}
|
|
3899
|
-
function
|
|
3905
|
+
function ut(e) {
|
|
3900
3906
|
return yo(e);
|
|
3901
3907
|
}
|
|
3902
3908
|
function pr(e) {
|
|
3903
3909
|
const { width: r, height: o } = e.getBoundingClientRect(), n = Math.max(r, o, 1);
|
|
3904
3910
|
return 1 + Math.min(
|
|
3905
|
-
Math.max(
|
|
3911
|
+
Math.max(lt / n, ct),
|
|
3906
3912
|
U().hoverLiftScale - 1
|
|
3907
3913
|
);
|
|
3908
3914
|
}
|
|
3909
3915
|
function Ae(e, r, o, n) {
|
|
3910
|
-
const s = n ? r ? n.hover : n.idle ??
|
|
3916
|
+
const s = n ? r ? n.hover : n.idle ?? de() : null;
|
|
3911
3917
|
if (N()) {
|
|
3912
|
-
r || (
|
|
3918
|
+
r || (A(e), s && (e.style.setProperty("--el-shadow", s), fr(e)), F.set(e, { scale: 1, ...xo }));
|
|
3913
3919
|
return;
|
|
3914
3920
|
}
|
|
3915
|
-
|
|
3921
|
+
A(e);
|
|
3916
3922
|
const t = r ? o !== void 0 ? o : pr(e) : 1, a = U();
|
|
3917
3923
|
sr(
|
|
3918
3924
|
e,
|
|
@@ -3922,18 +3928,18 @@ function Ae(e, r, o, n) {
|
|
|
3922
3928
|
a.hoverLiftEase
|
|
3923
3929
|
);
|
|
3924
3930
|
}
|
|
3925
|
-
function
|
|
3931
|
+
function Ca(e) {
|
|
3926
3932
|
return !e.repeat && (e.key === "Enter" || e.key === " ");
|
|
3927
3933
|
}
|
|
3928
|
-
function
|
|
3934
|
+
function dt(e) {
|
|
3929
3935
|
return e == null ? !1 : typeof e == "function" ? !!e() : typeof e == "object" ? !!e.current : !!e;
|
|
3930
3936
|
}
|
|
3931
|
-
function
|
|
3937
|
+
function Fa(e, r) {
|
|
3932
3938
|
var m;
|
|
3933
3939
|
if (!He("enablePressSqueeze"))
|
|
3934
3940
|
return (m = r == null ? void 0 : r.onReleaseStart) == null || m.call(r), Promise.resolve();
|
|
3935
|
-
|
|
3936
|
-
const o = yo(e), n = U(), s = mo(), t = s * 0.3, a = !N(), i = r == null ? void 0 : r.shadow, d = i ? i.idle ??
|
|
3941
|
+
A(e);
|
|
3942
|
+
const o = yo(e), n = U(), s = mo(), t = s * 0.3, a = !N(), i = r == null ? void 0 : r.shadow, d = i ? i.idle ?? de() : null, l = i ? i.press ?? d : null;
|
|
3937
3943
|
return new Promise((b) => {
|
|
3938
3944
|
const w = F.timeline({
|
|
3939
3945
|
onComplete: () => {
|
|
@@ -3945,15 +3951,15 @@ function Da(e, r) {
|
|
|
3945
3951
|
commitShadow: !1
|
|
3946
3952
|
}), w.add(() => {
|
|
3947
3953
|
var C;
|
|
3948
|
-
const p =
|
|
3949
|
-
(C = r == null ? void 0 : r.onReleaseStart) == null || C.call(r), sr(e, x, B,
|
|
3954
|
+
const p = dt(r == null ? void 0 : r.pointerInside) && a, x = p ? (r == null ? void 0 : r.liftScale) !== void 0 ? r.liftScale : pr(e) : 1, T = p ? s : s * 0.5, _ = p ? n.hoverLiftEase : "sine.inOut", B = i && d != null ? p ? i.hover : d : null;
|
|
3955
|
+
(C = r == null ? void 0 : r.onReleaseStart) == null || C.call(r), sr(e, x, B, T, _, {
|
|
3950
3956
|
timeline: w,
|
|
3951
3957
|
commitShadow: !0
|
|
3952
3958
|
});
|
|
3953
3959
|
});
|
|
3954
3960
|
});
|
|
3955
3961
|
}
|
|
3956
|
-
function
|
|
3962
|
+
function ft(e, r, o, n, s) {
|
|
3957
3963
|
const t = O(
|
|
3958
3964
|
(i) => {
|
|
3959
3965
|
Ae(i, !0, n, s);
|
|
@@ -3974,19 +3980,19 @@ function dt(e, r, o, n, s) {
|
|
|
3974
3980
|
onLeave: a
|
|
3975
3981
|
});
|
|
3976
3982
|
}
|
|
3977
|
-
const
|
|
3983
|
+
const be = "data-gloss-motion-init", So = "origin-center", Hr = {
|
|
3978
3984
|
rest: { angle1: -75, angle2: -45, shineX: 0, shineY: 50 },
|
|
3979
3985
|
hover: { angle1: -80, angle2: -45, shineX: 10, shineY: 50 },
|
|
3980
3986
|
press: { angle1: -75, angle2: -15, shineX: 15, shineY: 15 }
|
|
3981
|
-
},
|
|
3982
|
-
function
|
|
3987
|
+
}, gt = 120, pt = 0.35;
|
|
3988
|
+
function mt(e) {
|
|
3983
3989
|
const { width: r, height: o } = e.getBoundingClientRect(), n = Math.max(r, o, 1);
|
|
3984
|
-
return Math.min(1, Math.max(
|
|
3990
|
+
return Math.min(1, Math.max(pt, gt / n));
|
|
3985
3991
|
}
|
|
3986
|
-
function
|
|
3992
|
+
function bt(e, r) {
|
|
3987
3993
|
const o = Hr.rest, n = Hr[r];
|
|
3988
3994
|
if (r === "rest") return n;
|
|
3989
|
-
const s =
|
|
3995
|
+
const s = mt(e);
|
|
3990
3996
|
return {
|
|
3991
3997
|
angle1: o.angle1 + (n.angle1 - o.angle1) * s,
|
|
3992
3998
|
angle2: o.angle2 + (n.angle2 - o.angle2) * s,
|
|
@@ -3998,8 +4004,8 @@ function q(e, r) {
|
|
|
3998
4004
|
const o = getComputedStyle(e).getPropertyValue(r).trim();
|
|
3999
4005
|
return o || (typeof document > "u" ? "" : getComputedStyle(document.documentElement).getPropertyValue(r).trim());
|
|
4000
4006
|
}
|
|
4001
|
-
function
|
|
4002
|
-
const o =
|
|
4007
|
+
function ht(e, r) {
|
|
4008
|
+
const o = bt(e, r);
|
|
4003
4009
|
return {
|
|
4004
4010
|
"--gloss-angle-1": `${o.angle1}deg`,
|
|
4005
4011
|
"--gloss-angle-2": `${o.angle2}deg`,
|
|
@@ -4007,47 +4013,47 @@ function bt(e, r) {
|
|
|
4007
4013
|
"--gloss-shine-y": o.shineY
|
|
4008
4014
|
};
|
|
4009
4015
|
}
|
|
4010
|
-
function
|
|
4016
|
+
function vt(e, r) {
|
|
4011
4017
|
const o = q(e, "--gloss-inset-top"), n = q(e, "--gloss-inset-bottom"), s = q(e, "--gloss-elevation"), t = q(e, "--gloss-elevation-hover") || s, a = q(e, "--gloss-inner-glow"), i = q(e, "--gloss-glow-hover"), d = q(e, "--gloss-press-inset"), l = `inset 0 0.425em 0.425em ${o}, inset 0 -0.225em 0.225em ${n}`, m = r === "hover" ? `0 0.125em 0.3125em -0.1875em ${t}` : r === "press" ? `0 0.04em 0.08em -0.0625em ${s}` : `0 0.0625em 0.125em -0.0625em ${s}`, b = r === "hover" ? `inset 0 0 0.1em 0.25em ${i}` : `inset 0 0 0.05em 0.1em ${a}`, w = r === "press" ? `inset 0 0.25em 0.06em 0 ${d}` : "inset 0 0.25em 0.06em 0 rgb(0 0 0 / 0)";
|
|
4012
4018
|
return `${l}, ${m}, ${b}, ${w}`;
|
|
4013
4019
|
}
|
|
4014
|
-
function
|
|
4020
|
+
function fe(e, r) {
|
|
4015
4021
|
return {
|
|
4016
|
-
...
|
|
4017
|
-
boxShadow:
|
|
4022
|
+
...ht(e, r),
|
|
4023
|
+
boxShadow: vt(e, r)
|
|
4018
4024
|
};
|
|
4019
4025
|
}
|
|
4020
|
-
function
|
|
4021
|
-
|
|
4026
|
+
function Pe(e) {
|
|
4027
|
+
A(e), F.set(e, {
|
|
4022
4028
|
scale: 1,
|
|
4023
|
-
...
|
|
4029
|
+
...fe(e, "rest")
|
|
4024
4030
|
});
|
|
4025
4031
|
}
|
|
4026
|
-
let K = null,
|
|
4032
|
+
let K = null, Le = 0;
|
|
4027
4033
|
function To(e) {
|
|
4028
4034
|
if (N()) {
|
|
4029
|
-
|
|
4035
|
+
Pe(e);
|
|
4030
4036
|
return;
|
|
4031
4037
|
}
|
|
4032
4038
|
const r = e.matches(":hover") || e.matches(":focus-within");
|
|
4033
|
-
if (
|
|
4039
|
+
if (A(e), r) {
|
|
4034
4040
|
F.set(e, {
|
|
4035
4041
|
scale: gr(e),
|
|
4036
|
-
...
|
|
4042
|
+
...fe(e, "hover")
|
|
4037
4043
|
});
|
|
4038
4044
|
return;
|
|
4039
4045
|
}
|
|
4040
|
-
|
|
4046
|
+
Pe(e);
|
|
4041
4047
|
}
|
|
4042
|
-
function
|
|
4048
|
+
function wt(e) {
|
|
4043
4049
|
if (typeof document > "u") return;
|
|
4044
|
-
document.querySelectorAll(`[${
|
|
4050
|
+
document.querySelectorAll(`[${be}]`).forEach(To);
|
|
4045
4051
|
}
|
|
4046
|
-
function
|
|
4052
|
+
function xt() {
|
|
4047
4053
|
K || typeof document > "u" || (K = new MutationObserver((e) => {
|
|
4048
4054
|
for (const r of e)
|
|
4049
4055
|
if (r.type === "attributes" && r.attributeName === "data-theme") {
|
|
4050
|
-
|
|
4056
|
+
wt();
|
|
4051
4057
|
return;
|
|
4052
4058
|
}
|
|
4053
4059
|
}), K.observe(document.documentElement, {
|
|
@@ -4055,26 +4061,26 @@ function wt() {
|
|
|
4055
4061
|
attributeFilter: ["data-theme"]
|
|
4056
4062
|
}));
|
|
4057
4063
|
}
|
|
4058
|
-
function
|
|
4064
|
+
function yt() {
|
|
4059
4065
|
K == null || K.disconnect(), K = null;
|
|
4060
4066
|
}
|
|
4061
|
-
function
|
|
4062
|
-
e.hasAttribute(
|
|
4067
|
+
function St(e) {
|
|
4068
|
+
e.hasAttribute(be) || (e.setAttribute(be, ""), Le += 1, xt(), Pe(e));
|
|
4063
4069
|
}
|
|
4064
4070
|
function $r(e) {
|
|
4065
|
-
e.hasAttribute(
|
|
4071
|
+
e.hasAttribute(be) && (e.removeAttribute(be), Le = Math.max(0, Le - 1), Le === 0 && yt());
|
|
4066
4072
|
}
|
|
4067
4073
|
function ko(e, r = !0) {
|
|
4068
4074
|
let o = null;
|
|
4069
4075
|
return (n) => {
|
|
4070
4076
|
if (o && o !== n && ($r(o), o = null), e.current = n, n && r) {
|
|
4071
|
-
|
|
4077
|
+
St(n), o = n;
|
|
4072
4078
|
return;
|
|
4073
4079
|
}
|
|
4074
4080
|
o && ($r(o), o = null);
|
|
4075
4081
|
};
|
|
4076
4082
|
}
|
|
4077
|
-
function
|
|
4083
|
+
function _a(e, r = !0) {
|
|
4078
4084
|
const o = Q(null), n = J(
|
|
4079
4085
|
() => ko(o, r),
|
|
4080
4086
|
[r]
|
|
@@ -4086,34 +4092,34 @@ function Oa(e, r = !0) {
|
|
|
4086
4092
|
[n, e]
|
|
4087
4093
|
);
|
|
4088
4094
|
}
|
|
4089
|
-
function
|
|
4095
|
+
function ze(e, r, o) {
|
|
4090
4096
|
if (N()) {
|
|
4091
|
-
r || (
|
|
4097
|
+
r || (A(e), F.set(e, { scale: 1, ...fe(e, "rest") }));
|
|
4092
4098
|
return;
|
|
4093
4099
|
}
|
|
4094
|
-
|
|
4100
|
+
A(e);
|
|
4095
4101
|
const n = U(), s = r ? "hover" : "rest", t = r ? o !== void 0 ? o : gr(e) : 1;
|
|
4096
4102
|
F.to(e, {
|
|
4097
4103
|
scale: t,
|
|
4098
|
-
...
|
|
4104
|
+
...fe(e, s),
|
|
4099
4105
|
duration: n.interactiveDuration / 1e3,
|
|
4100
4106
|
ease: n.hoverLiftEase,
|
|
4101
4107
|
overwrite: "auto",
|
|
4102
4108
|
force3D: !1
|
|
4103
4109
|
});
|
|
4104
4110
|
}
|
|
4105
|
-
function
|
|
4111
|
+
function Tt(e, r = !1, o, n) {
|
|
4106
4112
|
if (Ge())
|
|
4107
4113
|
return Promise.resolve();
|
|
4108
4114
|
const s = U();
|
|
4109
4115
|
if (!He("enablePressSqueeze"))
|
|
4110
|
-
return n == null || n(), N() ||
|
|
4116
|
+
return n == null || n(), N() || ze(
|
|
4111
4117
|
e,
|
|
4112
4118
|
Wr(r),
|
|
4113
4119
|
o
|
|
4114
4120
|
), Promise.resolve();
|
|
4115
|
-
|
|
4116
|
-
const t =
|
|
4121
|
+
A(e);
|
|
4122
|
+
const t = ut(e), a = mo(), i = a * 0.3, d = !N();
|
|
4117
4123
|
return new Promise((l) => {
|
|
4118
4124
|
const m = F.timeline({
|
|
4119
4125
|
onComplete: () => {
|
|
@@ -4121,7 +4127,7 @@ function St(e, r = !1, o, n) {
|
|
|
4121
4127
|
}
|
|
4122
4128
|
});
|
|
4123
4129
|
m.to(e, {
|
|
4124
|
-
...
|
|
4130
|
+
...fe(e, "press"),
|
|
4125
4131
|
scale: t,
|
|
4126
4132
|
duration: i,
|
|
4127
4133
|
ease: "power1.out",
|
|
@@ -4130,7 +4136,7 @@ function St(e, r = !1, o, n) {
|
|
|
4130
4136
|
}).add(() => {
|
|
4131
4137
|
const b = Wr(r) && d, w = b ? "hover" : "rest", p = b ? gr(e) : 1, x = a * 1;
|
|
4132
4138
|
n == null || n(), m.to(e, {
|
|
4133
|
-
...
|
|
4139
|
+
...fe(e, w),
|
|
4134
4140
|
force3D: !1,
|
|
4135
4141
|
scale: p,
|
|
4136
4142
|
duration: x,
|
|
@@ -4143,21 +4149,21 @@ function St(e, r = !1, o, n) {
|
|
|
4143
4149
|
function Wr(e) {
|
|
4144
4150
|
return typeof e == "function" ? !!e() : typeof e == "object" && e !== null && "current" in e ? !!e.current : !!e;
|
|
4145
4151
|
}
|
|
4146
|
-
function
|
|
4152
|
+
function kt(e, r, o) {
|
|
4147
4153
|
const n = o == null ? void 0 : o.liftScale, s = o == null ? void 0 : o.pointerInsideRef;
|
|
4148
4154
|
W(() => {
|
|
4149
4155
|
if (!r) return;
|
|
4150
4156
|
const i = e.current;
|
|
4151
|
-
i &&
|
|
4157
|
+
i && Pe(i);
|
|
4152
4158
|
}, [r, e]);
|
|
4153
4159
|
const t = O(
|
|
4154
4160
|
(i) => {
|
|
4155
|
-
|
|
4161
|
+
ze(i, !0, n);
|
|
4156
4162
|
},
|
|
4157
4163
|
[n]
|
|
4158
4164
|
), a = O(
|
|
4159
4165
|
(i) => {
|
|
4160
|
-
|
|
4166
|
+
ze(i, !1, n);
|
|
4161
4167
|
},
|
|
4162
4168
|
[n]
|
|
4163
4169
|
);
|
|
@@ -4170,7 +4176,7 @@ function Tt(e, r, o) {
|
|
|
4170
4176
|
onLeave: a
|
|
4171
4177
|
});
|
|
4172
4178
|
}
|
|
4173
|
-
function
|
|
4179
|
+
function Ia(e, r) {
|
|
4174
4180
|
const o = Q(!1), n = Q(!1), s = Q(!1), t = J(
|
|
4175
4181
|
() => ko(e, r),
|
|
4176
4182
|
[e, r]
|
|
@@ -4178,8 +4184,8 @@ function Ca(e, r) {
|
|
|
4178
4184
|
const p = e.current;
|
|
4179
4185
|
if (!p || !r || N()) return;
|
|
4180
4186
|
const x = o.current || n.current;
|
|
4181
|
-
|
|
4182
|
-
}, [r, e]), i =
|
|
4187
|
+
ze(p, x);
|
|
4188
|
+
}, [r, e]), i = kt(e, r, {
|
|
4183
4189
|
pointerInsideRef: o
|
|
4184
4190
|
});
|
|
4185
4191
|
W(() => {
|
|
@@ -4213,7 +4219,7 @@ function Ca(e, r) {
|
|
|
4213
4219
|
), w = O(() => {
|
|
4214
4220
|
if (!r) return;
|
|
4215
4221
|
const p = e.current;
|
|
4216
|
-
!p || Ge() || (o.current = !0, s.current = !0,
|
|
4222
|
+
!p || Ge() || (o.current = !0, s.current = !0, Tt(p, !0).finally(() => {
|
|
4217
4223
|
s.current = !1;
|
|
4218
4224
|
}));
|
|
4219
4225
|
}, [r, e]);
|
|
@@ -4230,38 +4236,38 @@ function Ca(e, r) {
|
|
|
4230
4236
|
const mr = "animate-shadow origin-center";
|
|
4231
4237
|
function $e(e = "base") {
|
|
4232
4238
|
return e === "none" ? {
|
|
4233
|
-
idle:
|
|
4239
|
+
idle: de(),
|
|
4234
4240
|
hover: z("none", "hover"),
|
|
4235
|
-
press:
|
|
4241
|
+
press: de()
|
|
4236
4242
|
} : {
|
|
4237
4243
|
idle: z(e, "rest"),
|
|
4238
4244
|
hover: z(e, "hover"),
|
|
4239
4245
|
press: z(e, "press")
|
|
4240
4246
|
};
|
|
4241
4247
|
}
|
|
4242
|
-
function
|
|
4248
|
+
function La() {
|
|
4243
4249
|
return $e("none");
|
|
4244
4250
|
}
|
|
4245
|
-
function
|
|
4251
|
+
function Ra(e = "base") {
|
|
4246
4252
|
return $e(e);
|
|
4247
4253
|
}
|
|
4248
|
-
function
|
|
4254
|
+
function Aa(e, r, o = rt, n) {
|
|
4249
4255
|
W(() => {
|
|
4250
|
-
r &&
|
|
4256
|
+
r && me(e.current, o());
|
|
4251
4257
|
}, [r, e, o, n]);
|
|
4252
4258
|
}
|
|
4253
4259
|
function Eo(e) {
|
|
4254
|
-
e && (
|
|
4260
|
+
e && (A(e), F.set(e, { scale: 1, force3D: !1 }));
|
|
4255
4261
|
}
|
|
4256
|
-
function
|
|
4262
|
+
function Et(e, r, o) {
|
|
4257
4263
|
var w;
|
|
4258
|
-
const n = (o == null ? void 0 : o.shadowSize) ?? "base", s = r && ((o == null ? void 0 : o.interactive) ?? !0), t = J(() => $e(n), [n]), a = ((w = o == null ? void 0 : o.resolveIdle) == null ? void 0 : w.call(o)) ?? t.idle ??
|
|
4264
|
+
const n = (o == null ? void 0 : o.shadowSize) ?? "base", s = r && ((o == null ? void 0 : o.interactive) ?? !0), t = J(() => $e(n), [n]), a = ((w = o == null ? void 0 : o.resolveIdle) == null ? void 0 : w.call(o)) ?? t.idle ?? de(), i = o == null ? void 0 : o.liftScale;
|
|
4259
4265
|
W(() => {
|
|
4260
|
-
r &&
|
|
4266
|
+
r && me(e.current, a);
|
|
4261
4267
|
}, [r, e, a, o == null ? void 0 : o.idleSyncKey]), W(() => {
|
|
4262
4268
|
if (!r || s) return;
|
|
4263
4269
|
const p = e.current;
|
|
4264
|
-
Eo(p),
|
|
4270
|
+
Eo(p), me(p, a);
|
|
4265
4271
|
}, [r, s, e, a]);
|
|
4266
4272
|
const d = O(
|
|
4267
4273
|
(p) => {
|
|
@@ -4292,17 +4298,17 @@ function kt(e, r, o) {
|
|
|
4292
4298
|
onPointerLeave: b
|
|
4293
4299
|
};
|
|
4294
4300
|
}
|
|
4295
|
-
function
|
|
4301
|
+
function Pa(e, r, o) {
|
|
4296
4302
|
var d;
|
|
4297
|
-
const n = (o == null ? void 0 : o.shadowSize) ?? "base", s = r && ((o == null ? void 0 : o.interactive) ?? !0), t = J(() => $e(n), [n]), a = ((d = o == null ? void 0 : o.resolveIdle) == null ? void 0 : d.call(o)) ?? t.idle ??
|
|
4303
|
+
const n = (o == null ? void 0 : o.shadowSize) ?? "base", s = r && ((o == null ? void 0 : o.interactive) ?? !0), t = J(() => $e(n), [n]), a = ((d = o == null ? void 0 : o.resolveIdle) == null ? void 0 : d.call(o)) ?? t.idle ?? de();
|
|
4298
4304
|
W(() => {
|
|
4299
|
-
r &&
|
|
4305
|
+
r && me(e.current, a);
|
|
4300
4306
|
}, [r, e, a, o == null ? void 0 : o.idleSyncKey]), W(() => {
|
|
4301
4307
|
if (!r || s) return;
|
|
4302
4308
|
const l = e.current;
|
|
4303
|
-
Eo(l),
|
|
4309
|
+
Eo(l), me(l, a);
|
|
4304
4310
|
}, [r, s, e, a]);
|
|
4305
|
-
const i =
|
|
4311
|
+
const i = ft(
|
|
4306
4312
|
e,
|
|
4307
4313
|
s,
|
|
4308
4314
|
o == null ? void 0 : o.pointerInsideRef,
|
|
@@ -4315,32 +4321,32 @@ function La(e, r, o) {
|
|
|
4315
4321
|
...i
|
|
4316
4322
|
};
|
|
4317
4323
|
}
|
|
4318
|
-
const
|
|
4324
|
+
const Oe = {
|
|
4319
4325
|
danger: "text-danger",
|
|
4320
4326
|
success: "text-success",
|
|
4321
4327
|
info: "text-info",
|
|
4322
4328
|
warning: "text-warning"
|
|
4323
|
-
},
|
|
4329
|
+
}, Dt = {
|
|
4324
4330
|
danger: "bg-surface-tint-danger border-token",
|
|
4325
4331
|
success: "bg-surface-tint-success border-token",
|
|
4326
4332
|
info: "bg-surface-tint-info border-token",
|
|
4327
4333
|
warning: "bg-surface-tint-warning border-token"
|
|
4328
|
-
},
|
|
4334
|
+
}, Ot = {
|
|
4329
4335
|
danger: "bg-danger border border-transparent text-danger-foreground",
|
|
4330
4336
|
success: "bg-success border border-transparent text-success-foreground",
|
|
4331
4337
|
info: "bg-info border border-transparent text-info-foreground",
|
|
4332
4338
|
warning: "bg-warning border border-transparent text-warning-foreground"
|
|
4333
|
-
},
|
|
4339
|
+
}, Ct = {
|
|
4334
4340
|
danger: "text-danger-foreground",
|
|
4335
4341
|
success: "text-success-foreground",
|
|
4336
4342
|
info: "text-info-foreground",
|
|
4337
4343
|
warning: "text-warning-foreground"
|
|
4338
|
-
},
|
|
4344
|
+
}, Ft = {
|
|
4339
4345
|
danger: "border-token-danger",
|
|
4340
4346
|
success: "border-token-success",
|
|
4341
4347
|
info: "border-token-info",
|
|
4342
4348
|
warning: "border-token-warning"
|
|
4343
|
-
},
|
|
4349
|
+
}, _t = "surface-color-transition motion-reduce:transition-none", za = "text-color-transition motion-reduce:transition-none", It = {
|
|
4344
4350
|
default: {
|
|
4345
4351
|
"focus-visible": "hover:bg-default-hover focus-visible:bg-default-hover",
|
|
4346
4352
|
"focus-within": "hover:bg-default-hover focus-within:bg-default-hover"
|
|
@@ -4407,19 +4413,19 @@ const De = {
|
|
|
4407
4413
|
}
|
|
4408
4414
|
};
|
|
4409
4415
|
function Do(e = "default", r = "focus-visible") {
|
|
4410
|
-
return
|
|
4416
|
+
return It[e][r];
|
|
4411
4417
|
}
|
|
4412
|
-
function
|
|
4413
|
-
return y(
|
|
4418
|
+
function Lt(e = "default") {
|
|
4419
|
+
return y(_t, Do(e, "focus-visible"));
|
|
4414
4420
|
}
|
|
4415
4421
|
const se = {
|
|
4416
4422
|
default: "bg-surface text-foreground border-token",
|
|
4417
4423
|
primary: "bg-primary text-primary-foreground border border-transparent",
|
|
4418
|
-
outline: "bg-transparent border-token text-foreground",
|
|
4424
|
+
outline: "bg-transparent border-token-outline text-foreground",
|
|
4419
4425
|
secondary: "bg-secondary text-secondary-foreground border border-token",
|
|
4420
4426
|
ghost: "bg-transparent text-foreground border border-transparent",
|
|
4421
4427
|
gloss: ""
|
|
4422
|
-
},
|
|
4428
|
+
}, Ma = /* @__PURE__ */ new Set([
|
|
4423
4429
|
"default",
|
|
4424
4430
|
"primary",
|
|
4425
4431
|
"outline",
|
|
@@ -4450,48 +4456,48 @@ const se = {
|
|
|
4450
4456
|
root: se.gloss,
|
|
4451
4457
|
loaderText: "text-foreground"
|
|
4452
4458
|
}
|
|
4453
|
-
},
|
|
4459
|
+
}, Rt = {
|
|
4454
4460
|
default: "",
|
|
4455
4461
|
danger: "gloss-btn-danger",
|
|
4456
4462
|
success: "gloss-btn-success",
|
|
4457
4463
|
info: "gloss-btn-info",
|
|
4458
4464
|
warning: "gloss-btn-warning"
|
|
4459
|
-
},
|
|
4465
|
+
}, Na = {
|
|
4460
4466
|
default: "",
|
|
4461
4467
|
danger: "[--color-focus-ring:var(--color-focus-ring-danger)]",
|
|
4462
4468
|
success: "[--color-focus-ring:var(--color-focus-ring-success)]",
|
|
4463
4469
|
info: "[--color-focus-ring:var(--color-focus-ring-info)]",
|
|
4464
4470
|
warning: "[--color-focus-ring:var(--color-focus-ring-warning)]"
|
|
4465
4471
|
}, At = {
|
|
4466
|
-
default:
|
|
4467
|
-
danger:
|
|
4468
|
-
success:
|
|
4469
|
-
info:
|
|
4470
|
-
warning:
|
|
4471
|
-
}, Rt = {
|
|
4472
|
-
danger: T("converge-ripple-danger"),
|
|
4473
|
-
success: T("converge-ripple-success"),
|
|
4474
|
-
info: T("converge-ripple-info"),
|
|
4475
|
-
warning: T("converge-ripple-warning")
|
|
4472
|
+
default: k("converge-ripple-neutral"),
|
|
4473
|
+
danger: k("converge-ripple-danger"),
|
|
4474
|
+
success: k("converge-ripple-success"),
|
|
4475
|
+
info: k("converge-ripple-info"),
|
|
4476
|
+
warning: k("converge-ripple-warning")
|
|
4476
4477
|
}, Pt = {
|
|
4478
|
+
danger: k("converge-ripple-danger"),
|
|
4479
|
+
success: k("converge-ripple-success"),
|
|
4480
|
+
info: k("converge-ripple-info"),
|
|
4481
|
+
warning: k("converge-ripple-warning")
|
|
4482
|
+
}, zt = {
|
|
4477
4483
|
small: "[&_svg]:icon-small",
|
|
4478
4484
|
base: "[&_svg]:icon-base",
|
|
4479
4485
|
mid: "[&_svg]:icon-mid",
|
|
4480
4486
|
large: "[&_svg]:icon-large"
|
|
4481
|
-
},
|
|
4487
|
+
}, Ba = {
|
|
4482
4488
|
small: "small",
|
|
4483
4489
|
base: "base",
|
|
4484
4490
|
mid: "mid",
|
|
4485
4491
|
large: "large"
|
|
4486
|
-
},
|
|
4487
|
-
function
|
|
4492
|
+
}, Ga = "relative overflow-hidden inline-flex items-center justify-center outline-none focus-ring disabled:pointer-events-none", Ha = "pointer-events-none absolute inset-0 z-0 overflow-hidden", Mt = "relative z-[1] grid w-full min-w-0 place-items-center", Nt = "origin-center", Bt = "col-start-1 row-start-1 inline-flex w-full min-w-0 items-center justify-center gap-xsmall", Gt = "inline-flex shrink-0 items-center justify-center", Ht = "min-w-0 shrink", br = "col-start-1 row-start-1 flex items-center justify-center", We = "invisible opacity-0 pointer-events-none", $t = "text-success", Wt = "text-danger", $a = "animate-spin motion-reduce:animate-none", Wa = "cursor-pointer", Ua = "opacity-50";
|
|
4493
|
+
function Ut(e, r) {
|
|
4488
4494
|
const { root: o } = Oo[e];
|
|
4489
4495
|
return e === "outline" && r !== "default" ? "bg-transparent text-foreground" : o;
|
|
4490
4496
|
}
|
|
4491
|
-
function
|
|
4497
|
+
function Vt(e) {
|
|
4492
4498
|
return Oo[e].loaderText;
|
|
4493
4499
|
}
|
|
4494
|
-
function
|
|
4500
|
+
function Xt(e, r) {
|
|
4495
4501
|
if (r === "default")
|
|
4496
4502
|
switch (e) {
|
|
4497
4503
|
case "default":
|
|
@@ -4521,94 +4527,94 @@ function Vt(e, r) {
|
|
|
4521
4527
|
return "default";
|
|
4522
4528
|
}
|
|
4523
4529
|
}
|
|
4524
|
-
function
|
|
4530
|
+
function Yt(e, r) {
|
|
4525
4531
|
if (r === "default") return "";
|
|
4526
4532
|
switch (e) {
|
|
4527
4533
|
case "default":
|
|
4528
|
-
return y(
|
|
4534
|
+
return y(Dt[r], Oe[r]);
|
|
4529
4535
|
case "primary":
|
|
4530
|
-
return
|
|
4536
|
+
return Ot[r];
|
|
4531
4537
|
case "outline":
|
|
4532
|
-
return y(
|
|
4538
|
+
return y(Ft[r], Oe[r]);
|
|
4533
4539
|
case "secondary":
|
|
4534
|
-
return
|
|
4540
|
+
return Oe[r];
|
|
4535
4541
|
case "ghost":
|
|
4536
|
-
return
|
|
4542
|
+
return Oe[r];
|
|
4537
4543
|
case "gloss":
|
|
4538
4544
|
return "";
|
|
4539
4545
|
}
|
|
4540
4546
|
}
|
|
4541
|
-
function
|
|
4542
|
-
return o ? "" :
|
|
4547
|
+
function jt(e, r, o) {
|
|
4548
|
+
return o ? "" : Lt(Xt(e, r));
|
|
4543
4549
|
}
|
|
4544
|
-
function
|
|
4545
|
-
return e === "primary" && r !== "default" ?
|
|
4550
|
+
function Va(e, r) {
|
|
4551
|
+
return e === "primary" && r !== "default" ? Ct[r] : Vt(e);
|
|
4546
4552
|
}
|
|
4547
|
-
function
|
|
4548
|
-
return e === "primary" ? r === "default" ?
|
|
4553
|
+
function Xa(e, r) {
|
|
4554
|
+
return e === "primary" ? r === "default" ? k("converge-ripple-primary-fill") : Pt[r] : At[r];
|
|
4549
4555
|
}
|
|
4550
|
-
const
|
|
4556
|
+
const qt = {
|
|
4551
4557
|
small: "h-control-small",
|
|
4552
4558
|
base: "h-control-base",
|
|
4553
4559
|
mid: "h-control-mid",
|
|
4554
4560
|
large: "h-control-large"
|
|
4555
4561
|
};
|
|
4556
|
-
function
|
|
4557
|
-
const o =
|
|
4562
|
+
function Ya(e, r = ce[e].minWButton) {
|
|
4563
|
+
const o = ce[e];
|
|
4558
4564
|
return y(r, o.padX, o.padY);
|
|
4559
4565
|
}
|
|
4560
|
-
function
|
|
4561
|
-
const o =
|
|
4566
|
+
function ja(e, r = !1) {
|
|
4567
|
+
const o = ce[e];
|
|
4562
4568
|
return y(
|
|
4563
|
-
|
|
4569
|
+
qt[e],
|
|
4564
4570
|
r ? "min-w-fit" : o.minWButton,
|
|
4565
4571
|
o.padX,
|
|
4566
4572
|
o.padY
|
|
4567
4573
|
);
|
|
4568
4574
|
}
|
|
4569
|
-
function
|
|
4570
|
-
const r =
|
|
4575
|
+
function qa(e) {
|
|
4576
|
+
const r = ce[e];
|
|
4571
4577
|
return y(r.spinnerIcon, r.spinnerBorder);
|
|
4572
4578
|
}
|
|
4573
|
-
function
|
|
4579
|
+
function Ka() {
|
|
4574
4580
|
return "pointer-events-none absolute left-1/2 top-1/2 z-0 rounded-full";
|
|
4575
4581
|
}
|
|
4576
|
-
function
|
|
4582
|
+
function Qa() {
|
|
4577
4583
|
return "box-border inline-block rounded-full border-current border-t-transparent";
|
|
4578
4584
|
}
|
|
4579
|
-
function
|
|
4585
|
+
function Ja({
|
|
4580
4586
|
groupSegment: e,
|
|
4581
4587
|
slotClass: r,
|
|
4582
4588
|
className: o
|
|
4583
4589
|
}) {
|
|
4584
4590
|
return y(
|
|
4585
|
-
|
|
4586
|
-
e &&
|
|
4591
|
+
Mt,
|
|
4592
|
+
e && Nt,
|
|
4587
4593
|
r,
|
|
4588
4594
|
o
|
|
4589
4595
|
);
|
|
4590
4596
|
}
|
|
4591
|
-
function
|
|
4597
|
+
function Za({
|
|
4592
4598
|
slotClass: e,
|
|
4593
4599
|
className: r,
|
|
4594
4600
|
layoutClass: o,
|
|
4595
4601
|
cssHidden: n
|
|
4596
4602
|
}) {
|
|
4597
4603
|
return y(
|
|
4598
|
-
|
|
4604
|
+
Bt,
|
|
4599
4605
|
n && We,
|
|
4600
4606
|
e,
|
|
4601
4607
|
o,
|
|
4602
4608
|
r
|
|
4603
4609
|
);
|
|
4604
4610
|
}
|
|
4605
|
-
function
|
|
4606
|
-
return y(
|
|
4611
|
+
function ei(e, r) {
|
|
4612
|
+
return y(Gt, zt[e], r);
|
|
4607
4613
|
}
|
|
4608
|
-
function
|
|
4609
|
-
return y(
|
|
4614
|
+
function ri(e, r) {
|
|
4615
|
+
return y(Ht, e, r);
|
|
4610
4616
|
}
|
|
4611
|
-
function
|
|
4617
|
+
function oi(e, r, o) {
|
|
4612
4618
|
return y(
|
|
4613
4619
|
br,
|
|
4614
4620
|
o && We,
|
|
@@ -4616,90 +4622,90 @@ function Za(e, r, o) {
|
|
|
4616
4622
|
r
|
|
4617
4623
|
);
|
|
4618
4624
|
}
|
|
4619
|
-
function
|
|
4625
|
+
function ni(e, r) {
|
|
4620
4626
|
return y(
|
|
4621
4627
|
br,
|
|
4622
4628
|
r && We,
|
|
4623
|
-
|
|
4629
|
+
$t,
|
|
4624
4630
|
e
|
|
4625
4631
|
);
|
|
4626
4632
|
}
|
|
4627
|
-
function
|
|
4633
|
+
function ti(e, r) {
|
|
4628
4634
|
return y(
|
|
4629
4635
|
br,
|
|
4630
4636
|
r && We,
|
|
4631
|
-
|
|
4637
|
+
Wt,
|
|
4632
4638
|
e
|
|
4633
4639
|
);
|
|
4634
4640
|
}
|
|
4635
|
-
function
|
|
4641
|
+
function si() {
|
|
4636
4642
|
return "shrink-0";
|
|
4637
4643
|
}
|
|
4638
|
-
const
|
|
4639
|
-
default:
|
|
4640
|
-
primary:
|
|
4641
|
-
outline:
|
|
4642
|
-
secondary:
|
|
4643
|
-
ghost:
|
|
4644
|
-
gloss:
|
|
4645
|
-
},
|
|
4646
|
-
danger:
|
|
4647
|
-
success:
|
|
4648
|
-
info:
|
|
4649
|
-
warning:
|
|
4644
|
+
const Kt = {
|
|
4645
|
+
default: k("converge-ripple-neutral"),
|
|
4646
|
+
primary: k("converge-ripple-primary-fill"),
|
|
4647
|
+
outline: k("converge-ripple-neutral"),
|
|
4648
|
+
secondary: k("converge-ripple-neutral"),
|
|
4649
|
+
ghost: k("converge-ripple-neutral"),
|
|
4650
|
+
gloss: k("converge-ripple-neutral")
|
|
4651
|
+
}, Qt = {
|
|
4652
|
+
danger: k("converge-ripple-danger"),
|
|
4653
|
+
success: k("converge-ripple-success"),
|
|
4654
|
+
info: k("converge-ripple-info"),
|
|
4655
|
+
warning: k("converge-ripple-warning")
|
|
4650
4656
|
};
|
|
4651
|
-
function
|
|
4652
|
-
return r !== "default" ?
|
|
4657
|
+
function ai(e, r = "default") {
|
|
4658
|
+
return r !== "default" ? Qt[r] : Kt[e];
|
|
4653
4659
|
}
|
|
4654
|
-
function
|
|
4655
|
-
return e ? y("gloss-btn", So,
|
|
4656
|
-
|
|
4657
|
-
|
|
4660
|
+
function ii(e, r, o, n, s) {
|
|
4661
|
+
return e ? y("gloss-btn", So, Rt[r]) : y(
|
|
4662
|
+
Ut(o, r),
|
|
4663
|
+
Yt(o, r),
|
|
4658
4664
|
!n && mr,
|
|
4659
|
-
|
|
4665
|
+
jt(o, r, s)
|
|
4660
4666
|
);
|
|
4661
4667
|
}
|
|
4662
|
-
const
|
|
4668
|
+
const li = {
|
|
4663
4669
|
small: "small",
|
|
4664
4670
|
base: "base",
|
|
4665
4671
|
mid: "mid",
|
|
4666
4672
|
large: "large"
|
|
4667
|
-
},
|
|
4673
|
+
}, Jt = {
|
|
4668
4674
|
small: "h-control-small",
|
|
4669
4675
|
base: "h-control-base",
|
|
4670
4676
|
mid: "h-control-mid",
|
|
4671
4677
|
large: "h-control-large"
|
|
4672
4678
|
};
|
|
4673
|
-
function Jt(e) {
|
|
4674
|
-
const { padX: r, padY: o } = le[e];
|
|
4675
|
-
return y(Qt[e], r, o);
|
|
4676
|
-
}
|
|
4677
4679
|
function Zt(e) {
|
|
4680
|
+
const { padX: r, padY: o } = ce[e];
|
|
4681
|
+
return y(Jt[e], r, o);
|
|
4682
|
+
}
|
|
4683
|
+
function es(e) {
|
|
4678
4684
|
if (e == null) return "";
|
|
4679
4685
|
const { orientation: r, position: o } = e;
|
|
4680
4686
|
return o === "only" ? "rounded-[inherit]" : r === "horizontal" ? o === "first" ? "rounded-l-[inherit] rounded-r-none" : o === "middle" ? "rounded-none" : "rounded-r-[inherit] rounded-l-none" : o === "first" ? "rounded-t-[inherit] rounded-b-none" : o === "middle" ? "rounded-none" : "rounded-b-[inherit] rounded-t-none";
|
|
4681
4687
|
}
|
|
4682
|
-
const
|
|
4683
|
-
function
|
|
4688
|
+
const ci = "min-h-0 min-w-0 self-stretch rounded-[inherit]";
|
|
4689
|
+
function ui(e) {
|
|
4684
4690
|
if (e == null || e.position === "only") return "";
|
|
4685
4691
|
const { orientation: r, position: o } = e;
|
|
4686
4692
|
return r === "horizontal" ? o === "first" ? "" : "border-l-0" : o === "first" ? "" : "border-t-0";
|
|
4687
4693
|
}
|
|
4688
|
-
function
|
|
4694
|
+
function rs(e) {
|
|
4689
4695
|
return e == null ? "" : y(
|
|
4690
4696
|
"!border-0 [border:0!important] !shadow-none [box-shadow:none!important]",
|
|
4691
4697
|
"z-0 focus-visible:z-[2]"
|
|
4692
4698
|
);
|
|
4693
4699
|
}
|
|
4694
|
-
function
|
|
4700
|
+
function os(e) {
|
|
4695
4701
|
return y(
|
|
4696
4702
|
"relative inline-flex shrink-0 select-none items-center justify-center border-token bg-surface text-muted",
|
|
4697
|
-
|
|
4698
|
-
e != null &&
|
|
4703
|
+
es(e),
|
|
4704
|
+
e != null && rs(e),
|
|
4699
4705
|
"z-0"
|
|
4700
4706
|
);
|
|
4701
4707
|
}
|
|
4702
|
-
function
|
|
4708
|
+
function di({
|
|
4703
4709
|
orientation: e,
|
|
4704
4710
|
segmented: r,
|
|
4705
4711
|
variant: o,
|
|
@@ -4718,62 +4724,62 @@ function li({
|
|
|
4718
4724
|
n
|
|
4719
4725
|
);
|
|
4720
4726
|
}
|
|
4721
|
-
function
|
|
4727
|
+
function fi(e, r) {
|
|
4722
4728
|
return y(
|
|
4723
4729
|
"pointer-events-none shrink-0",
|
|
4724
4730
|
e === "horizontal" ? "my-[var(--border-width)] self-stretch border-r-token" : "mx-[var(--border-width)] self-stretch border-b-token",
|
|
4725
4731
|
r
|
|
4726
4732
|
);
|
|
4727
4733
|
}
|
|
4728
|
-
function
|
|
4734
|
+
function gi({
|
|
4729
4735
|
groupSegment: e,
|
|
4730
4736
|
groupVariant: r,
|
|
4731
4737
|
buttonSize: o,
|
|
4732
4738
|
className: n
|
|
4733
4739
|
}) {
|
|
4734
4740
|
return y(
|
|
4735
|
-
|
|
4741
|
+
os(e),
|
|
4736
4742
|
r === "gloss" && "bg-transparent text-foreground",
|
|
4737
4743
|
"inline-flex items-center",
|
|
4738
|
-
|
|
4744
|
+
Zt(o),
|
|
4739
4745
|
n
|
|
4740
4746
|
);
|
|
4741
4747
|
}
|
|
4742
|
-
const
|
|
4748
|
+
const pi = "max-w-component-xsmall truncate font-w-base whitespace-nowrap md:max-w-component-base", ns = {
|
|
4743
4749
|
default: "bg-surface",
|
|
4744
4750
|
outline: "bg-transparent",
|
|
4745
4751
|
secondary: "bg-secondary"
|
|
4746
4752
|
};
|
|
4747
|
-
function
|
|
4753
|
+
function ts(e) {
|
|
4748
4754
|
return e === "secondary" ? "secondary" : "default";
|
|
4749
4755
|
}
|
|
4750
|
-
function
|
|
4756
|
+
function mi(e) {
|
|
4751
4757
|
return e === "gloss" ? "gloss" : e === "outline" ? "outline" : e === "secondary" ? "secondary" : "default";
|
|
4752
4758
|
}
|
|
4753
|
-
function
|
|
4759
|
+
function bi({
|
|
4754
4760
|
variant: e
|
|
4755
4761
|
}) {
|
|
4756
|
-
return e === "gloss" ? "gloss-control" : e === "outline" ? "bg-transparent border-token" : y(
|
|
4762
|
+
return e === "gloss" ? "gloss-control" : e === "outline" ? "bg-transparent border-token-outline" : y(ns[e], "border-token");
|
|
4757
4763
|
}
|
|
4758
|
-
function
|
|
4759
|
-
return e ? Do(
|
|
4764
|
+
function hi(e, r = "default", o = "default") {
|
|
4765
|
+
return e ? Do(ts(o), "focus-within") : "";
|
|
4760
4766
|
}
|
|
4761
|
-
const
|
|
4767
|
+
const vi = "field-shell-transition motion-reduce:transition-none", ss = "focus-within-ring", Ce = "outline-solid outline-[length:var(--focus-ring-width,2px)] outline-offset-[length:var(--focus-ring-offset,0px)]", Fe = {
|
|
4762
4768
|
danger: "outline-[var(--color-focus-ring-danger)] focus-within:outline-[var(--color-focus-ring-danger)]",
|
|
4763
4769
|
success: "outline-[var(--color-focus-ring-success)] focus-within:outline-[var(--color-focus-ring-success)]",
|
|
4764
4770
|
info: "outline-[var(--color-focus-ring-info)] focus-within:outline-[var(--color-focus-ring-info)]",
|
|
4765
4771
|
warning: "outline-[var(--color-focus-ring-warning)] focus-within:outline-[var(--color-focus-ring-warning)]"
|
|
4766
|
-
},
|
|
4767
|
-
danger: y(
|
|
4768
|
-
success: y(
|
|
4769
|
-
info: y(
|
|
4770
|
-
warning: y(
|
|
4772
|
+
}, as = {
|
|
4773
|
+
danger: y(Ce, Fe.danger),
|
|
4774
|
+
success: y(Ce, Fe.success),
|
|
4775
|
+
info: y(Ce, Fe.info),
|
|
4776
|
+
warning: y(Ce, Fe.warning)
|
|
4771
4777
|
};
|
|
4772
|
-
function
|
|
4773
|
-
return e === "default" ?
|
|
4778
|
+
function wi(e = "default") {
|
|
4779
|
+
return e === "default" ? ss : as[e];
|
|
4774
4780
|
}
|
|
4775
|
-
function
|
|
4776
|
-
const o =
|
|
4781
|
+
function xi(e, r) {
|
|
4782
|
+
const o = Et(e, r, {
|
|
4777
4783
|
interactive: r
|
|
4778
4784
|
});
|
|
4779
4785
|
return {
|
|
@@ -4782,41 +4788,41 @@ function hi(e, r) {
|
|
|
4782
4788
|
onShellPointerLeave: o.onPointerLeave
|
|
4783
4789
|
};
|
|
4784
4790
|
}
|
|
4785
|
-
function
|
|
4786
|
-
const r =
|
|
4791
|
+
function yi(e) {
|
|
4792
|
+
const r = ce[e];
|
|
4787
4793
|
return y(
|
|
4788
4794
|
"flex self-stretch shrink-0 items-center text-muted",
|
|
4789
4795
|
r.affixPadX,
|
|
4790
4796
|
r.affixText
|
|
4791
4797
|
);
|
|
4792
4798
|
}
|
|
4793
|
-
const
|
|
4799
|
+
const is = {
|
|
4794
4800
|
small: "min-w-control-small",
|
|
4795
4801
|
base: "min-w-control-base",
|
|
4796
4802
|
mid: "min-w-control-mid",
|
|
4797
4803
|
large: "min-w-control-large"
|
|
4798
4804
|
};
|
|
4799
|
-
function
|
|
4800
|
-
return
|
|
4805
|
+
function Si(e) {
|
|
4806
|
+
return is[e];
|
|
4801
4807
|
}
|
|
4802
|
-
const
|
|
4808
|
+
const ls = {
|
|
4803
4809
|
small: "--control-height-small",
|
|
4804
4810
|
base: "--control-height-base",
|
|
4805
4811
|
mid: "--control-height-mid",
|
|
4806
4812
|
large: "--control-height-large"
|
|
4807
|
-
},
|
|
4813
|
+
}, cs = {
|
|
4808
4814
|
small: 1.75,
|
|
4809
4815
|
base: 2.2,
|
|
4810
4816
|
mid: 2.5,
|
|
4811
4817
|
large: 3
|
|
4812
4818
|
}, Ur = /* @__PURE__ */ new Map();
|
|
4813
|
-
function
|
|
4819
|
+
function us(e) {
|
|
4814
4820
|
if (typeof document > "u") return null;
|
|
4815
4821
|
const r = Ur.get(e);
|
|
4816
4822
|
if (r != null) return r;
|
|
4817
4823
|
try {
|
|
4818
4824
|
const o = document.createElement("div");
|
|
4819
|
-
o.style.position = "absolute", o.style.visibility = "hidden", o.style.height = `var(${
|
|
4825
|
+
o.style.position = "absolute", o.style.visibility = "hidden", o.style.height = `var(${ls[e]})`, document.body.appendChild(o);
|
|
4820
4826
|
const n = o.getBoundingClientRect().height;
|
|
4821
4827
|
if (document.body.removeChild(o), n > 0)
|
|
4822
4828
|
return Ur.set(e, n), n;
|
|
@@ -4824,10 +4830,10 @@ function cs(e) {
|
|
|
4824
4830
|
}
|
|
4825
4831
|
return null;
|
|
4826
4832
|
}
|
|
4827
|
-
function
|
|
4828
|
-
return
|
|
4833
|
+
function Ti(e, r = 16) {
|
|
4834
|
+
return us(e) ?? r * cs[e];
|
|
4829
4835
|
}
|
|
4830
|
-
const
|
|
4836
|
+
const ds = {
|
|
4831
4837
|
convergeRipplePrimaryFill: "color-mix(in oklab, var(--color-primary-foreground) 38%, transparent)",
|
|
4832
4838
|
convergeRippleNeutral: "var(--color-primary-tint-strong)",
|
|
4833
4839
|
convergeRippleNeutralMuted: "color-mix(in oklab, var(--color-primary) 14%, transparent)",
|
|
@@ -4835,7 +4841,7 @@ const us = {
|
|
|
4835
4841
|
convergeRippleSuccess: "color-mix(in oklab, var(--color-success-foreground) 38%, transparent)",
|
|
4836
4842
|
convergeRippleInfo: "color-mix(in oklab, var(--color-info-foreground) 38%, transparent)",
|
|
4837
4843
|
convergeRippleWarning: "color-mix(in oklab, var(--color-warning-foreground) 38%, transparent)"
|
|
4838
|
-
},
|
|
4844
|
+
}, fs = {
|
|
4839
4845
|
convergeRipplePrimaryFill: "color-mix(in oklab, var(--color-primary-foreground) 52%, var(--color-primary))",
|
|
4840
4846
|
convergeRippleNeutral: "var(--color-primary-tint-strong)",
|
|
4841
4847
|
convergeRippleNeutralMuted: "color-mix(in oklab, var(--color-primary) 14%, transparent)",
|
|
@@ -4843,7 +4849,7 @@ const us = {
|
|
|
4843
4849
|
convergeRippleSuccess: "color-mix(in oklab, var(--color-success-foreground) 38%, transparent)",
|
|
4844
4850
|
convergeRippleInfo: "color-mix(in oklab, var(--color-info-foreground) 38%, transparent)",
|
|
4845
4851
|
convergeRippleWarning: "color-mix(in oklab, var(--color-warning-foreground) 38%, transparent)"
|
|
4846
|
-
},
|
|
4852
|
+
}, gs = {
|
|
4847
4853
|
background: "#0c0d10",
|
|
4848
4854
|
surface: "#171717",
|
|
4849
4855
|
secondary: "color-mix(in oklab, var(--color-foreground) 12%, var(--color-surface))",
|
|
@@ -4851,6 +4857,8 @@ const us = {
|
|
|
4851
4857
|
tertiary: "color-mix(in oklab, var(--color-foreground) 24%, var(--color-surface))",
|
|
4852
4858
|
tertiaryForeground: "var(--color-foreground)",
|
|
4853
4859
|
border: "color-mix(in oklab, var(--color-foreground) 12%, transparent)",
|
|
4860
|
+
shadow: "#000000",
|
|
4861
|
+
shadowSecondary: "#000000",
|
|
4854
4862
|
foreground: "#f4f5f7",
|
|
4855
4863
|
muted: "color-mix(in oklab, var(--color-foreground) 6%, var(--color-surface))",
|
|
4856
4864
|
mutedForeground: "#858994",
|
|
@@ -4890,8 +4898,8 @@ const us = {
|
|
|
4890
4898
|
surfaceTintWarning: "color-mix(in oklab, var(--color-warning) 15%, transparent)",
|
|
4891
4899
|
surfaceTintWarningHover: "color-mix(in oklab, var(--color-warning) 25%, transparent)",
|
|
4892
4900
|
warningFillHover: "color-mix(in oklab, var(--color-warning) 80%, transparent)",
|
|
4893
|
-
...
|
|
4894
|
-
},
|
|
4901
|
+
...ds
|
|
4902
|
+
}, ps = {
|
|
4895
4903
|
background: "#f5f5f5",
|
|
4896
4904
|
surface: "#ffffff",
|
|
4897
4905
|
secondary: "color-mix(in oklab, var(--color-foreground) 12%, var(--color-surface))",
|
|
@@ -4899,6 +4907,8 @@ const us = {
|
|
|
4899
4907
|
tertiary: "color-mix(in oklab, var(--color-foreground) 24%, var(--color-surface))",
|
|
4900
4908
|
tertiaryForeground: "var(--color-foreground)",
|
|
4901
4909
|
border: "color-mix(in oklab, var(--color-foreground) 12%, transparent)",
|
|
4910
|
+
shadow: "#000000",
|
|
4911
|
+
shadowSecondary: "#000000",
|
|
4902
4912
|
foreground: "#18181b",
|
|
4903
4913
|
muted: "color-mix(in oklab, var(--color-foreground) 12%, var(--color-surface))",
|
|
4904
4914
|
mutedForeground: "#646467",
|
|
@@ -4938,7 +4948,7 @@ const us = {
|
|
|
4938
4948
|
surfaceTintWarning: "color-mix(in oklab, var(--color-warning) 15%, transparent)",
|
|
4939
4949
|
surfaceTintWarningHover: "color-mix(in oklab, var(--color-warning) 25%, transparent)",
|
|
4940
4950
|
warningFillHover: "color-mix(in oklab, var(--color-warning) 80%, transparent)",
|
|
4941
|
-
...
|
|
4951
|
+
...fs
|
|
4942
4952
|
}, hr = {
|
|
4943
4953
|
background: "--color-background",
|
|
4944
4954
|
surface: "--color-surface",
|
|
@@ -4947,6 +4957,8 @@ const us = {
|
|
|
4947
4957
|
tertiary: "--color-tertiary",
|
|
4948
4958
|
tertiaryForeground: "--color-tertiary-foreground",
|
|
4949
4959
|
border: "--color-border",
|
|
4960
|
+
shadow: "--color-shadow",
|
|
4961
|
+
shadowSecondary: "--color-shadow-secondary",
|
|
4950
4962
|
foreground: "--color-foreground",
|
|
4951
4963
|
muted: "--color-muted",
|
|
4952
4964
|
mutedForeground: "--color-muted-foreground",
|
|
@@ -4993,7 +5005,7 @@ const us = {
|
|
|
4993
5005
|
convergeRippleSuccess: "--color-converge-ripple-success",
|
|
4994
5006
|
convergeRippleInfo: "--color-converge-ripple-info",
|
|
4995
5007
|
convergeRippleWarning: "--color-converge-ripple-warning"
|
|
4996
|
-
},
|
|
5008
|
+
}, ms = {
|
|
4997
5009
|
space: 0.5,
|
|
4998
5010
|
size: 1,
|
|
4999
5011
|
radius: 0.5,
|
|
@@ -5009,87 +5021,117 @@ const us = {
|
|
|
5009
5021
|
shadowOffsetY: 0,
|
|
5010
5022
|
toastScrimSize: 1,
|
|
5011
5023
|
toastScrimDensity: 1
|
|
5012
|
-
},
|
|
5024
|
+
}, bs = (() => {
|
|
5013
5025
|
const { pressSqueezeScale: e, ...r } = lr;
|
|
5014
5026
|
return {
|
|
5015
5027
|
...r,
|
|
5016
5028
|
pressSqueezeMid: e[1]
|
|
5017
5029
|
};
|
|
5018
|
-
})(),
|
|
5019
|
-
function
|
|
5030
|
+
})(), hs = $.fontFamilySans, vs = $.fontFamilyMono, ws = 0.9375, xs = 0.875, ys = 0.25;
|
|
5031
|
+
function _e(e) {
|
|
5020
5032
|
const r = Math.round(e * 1e8) / 1e8;
|
|
5021
5033
|
return String(r);
|
|
5022
5034
|
}
|
|
5023
|
-
function
|
|
5035
|
+
function le(e) {
|
|
5024
5036
|
if (e === 0) return "0rem";
|
|
5025
|
-
const r =
|
|
5037
|
+
const r = _e(e * ws), o = _e(e * xs), n = _e(e * ys), s = _e(e);
|
|
5026
5038
|
return `clamp(${r}rem, ${o}rem + ${n}vw, ${s}rem)`;
|
|
5027
5039
|
}
|
|
5028
|
-
function
|
|
5029
|
-
|
|
5040
|
+
function Ss(e, r, o) {
|
|
5041
|
+
S(
|
|
5030
5042
|
e,
|
|
5031
5043
|
"--shadow-opacity",
|
|
5032
5044
|
r.shadowOpacity !== o.shadowOpacity ? String(r.shadowOpacity) : null
|
|
5033
|
-
),
|
|
5045
|
+
), S(
|
|
5034
5046
|
e,
|
|
5035
5047
|
"--shadow-blur",
|
|
5036
5048
|
r.shadowBlur !== o.shadowBlur ? String(r.shadowBlur) : null
|
|
5037
|
-
),
|
|
5049
|
+
), S(
|
|
5038
5050
|
e,
|
|
5039
5051
|
"--shadow-spread",
|
|
5040
5052
|
r.shadowSpread !== o.shadowSpread ? String(r.shadowSpread) : null
|
|
5041
|
-
),
|
|
5053
|
+
), S(
|
|
5042
5054
|
e,
|
|
5043
5055
|
"--shadow-offset-x",
|
|
5044
5056
|
r.shadowOffsetX !== o.shadowOffsetX ? `${r.shadowOffsetX}px` : null
|
|
5045
|
-
),
|
|
5057
|
+
), S(
|
|
5046
5058
|
e,
|
|
5047
5059
|
"--shadow-offset-y",
|
|
5048
5060
|
r.shadowOffsetY !== o.shadowOffsetY ? `${r.shadowOffsetY}px` : null
|
|
5049
5061
|
);
|
|
5050
5062
|
}
|
|
5051
|
-
function
|
|
5052
|
-
for (const o of Object.keys(
|
|
5053
|
-
const { size: n, line: s } =
|
|
5063
|
+
function Ts(e, r) {
|
|
5064
|
+
for (const o of Object.keys(ue)) {
|
|
5065
|
+
const { size: n, line: s } = ue[o], t = n * r, a = s * r;
|
|
5054
5066
|
e.style.setProperty(`--text-scale-${o}`, `${t}rem`), e.style.setProperty(
|
|
5055
5067
|
`--text-scale-${o}--line-height`,
|
|
5056
5068
|
`calc(${a}rem / ${t}rem)`
|
|
5057
5069
|
);
|
|
5058
5070
|
}
|
|
5059
5071
|
}
|
|
5060
|
-
function
|
|
5061
|
-
for (const r of Object.keys(
|
|
5072
|
+
function ks(e) {
|
|
5073
|
+
for (const r of Object.keys(ue))
|
|
5062
5074
|
e.style.removeProperty(`--text-scale-${r}`), e.style.removeProperty(`--text-scale-${r}--line-height`);
|
|
5063
5075
|
}
|
|
5064
|
-
function
|
|
5076
|
+
function Es(e, r, o) {
|
|
5065
5077
|
for (const [n, s] of Object.entries(cr))
|
|
5066
|
-
|
|
5078
|
+
S(e, s, r[n] !== o[n] ? String(r[n]) : null);
|
|
5067
5079
|
}
|
|
5068
|
-
function
|
|
5080
|
+
function S(e, r, o) {
|
|
5069
5081
|
o === null ? e.style.removeProperty(r) : e.style.setProperty(r, o);
|
|
5070
5082
|
}
|
|
5071
|
-
function
|
|
5083
|
+
function ie(e) {
|
|
5072
5084
|
return e === 0 ? "0px" : `${e}px`;
|
|
5073
5085
|
}
|
|
5074
|
-
|
|
5086
|
+
const Ds = 0.5;
|
|
5087
|
+
function Co(e) {
|
|
5088
|
+
const r = Math.max(e, Ds);
|
|
5089
|
+
return e <= 0 ? {
|
|
5090
|
+
borderWidth: ie(r),
|
|
5091
|
+
borderWidthOutline: ie(r),
|
|
5092
|
+
borderColor: "transparent"
|
|
5093
|
+
} : {
|
|
5094
|
+
borderWidth: ie(e),
|
|
5095
|
+
borderWidthOutline: ie(r),
|
|
5096
|
+
borderColor: null
|
|
5097
|
+
};
|
|
5098
|
+
}
|
|
5099
|
+
function Os(e, r, o) {
|
|
5100
|
+
if (r === o) {
|
|
5101
|
+
S(e, "--border-width", null), S(e, "--border-width-outline", null), S(e, "--border-color", null);
|
|
5102
|
+
return;
|
|
5103
|
+
}
|
|
5104
|
+
const n = Co(r);
|
|
5105
|
+
S(e, "--border-width", n.borderWidth), S(e, "--border-width-outline", n.borderWidthOutline), S(e, "--border-color", n.borderColor);
|
|
5106
|
+
}
|
|
5107
|
+
function Fo() {
|
|
5075
5108
|
return {
|
|
5076
|
-
dark: { ...
|
|
5077
|
-
light: { ...
|
|
5109
|
+
dark: { ...gs },
|
|
5110
|
+
light: { ...ps }
|
|
5078
5111
|
};
|
|
5079
5112
|
}
|
|
5080
5113
|
function vr(e) {
|
|
5081
|
-
var
|
|
5082
|
-
|
|
5083
|
-
|
|
5114
|
+
var t, a;
|
|
5115
|
+
const r = Fo();
|
|
5116
|
+
if (!((t = e.modePalettes) != null && t.dark) || !((a = e.modePalettes) != null && a.light)) {
|
|
5117
|
+
const i = { ...r[e.theme], ...e.colors };
|
|
5118
|
+
return {
|
|
5119
|
+
...e,
|
|
5120
|
+
colors: i,
|
|
5121
|
+
modePalettes: {
|
|
5122
|
+
dark: e.theme === "dark" ? i : { ...r.dark },
|
|
5123
|
+
light: e.theme === "light" ? i : { ...r.light }
|
|
5124
|
+
}
|
|
5125
|
+
};
|
|
5126
|
+
}
|
|
5127
|
+
const o = { ...r.dark, ...e.modePalettes.dark }, n = { ...r.light, ...e.modePalettes.light }, s = { ...e.theme === "dark" ? o : n, ...e.colors };
|
|
5084
5128
|
return {
|
|
5085
5129
|
...e,
|
|
5086
|
-
|
|
5087
|
-
|
|
5088
|
-
light: e.theme === "light" ? o : r.light
|
|
5089
|
-
}
|
|
5130
|
+
colors: { ...r[e.theme], ...s },
|
|
5131
|
+
modePalettes: { dark: o, light: n }
|
|
5090
5132
|
};
|
|
5091
5133
|
}
|
|
5092
|
-
function
|
|
5134
|
+
function ki(e, r) {
|
|
5093
5135
|
const o = vr(e), n = o.modePalettes[r];
|
|
5094
5136
|
return {
|
|
5095
5137
|
...o,
|
|
@@ -5097,7 +5139,7 @@ function yi(e, r) {
|
|
|
5097
5139
|
colors: { ...n }
|
|
5098
5140
|
};
|
|
5099
5141
|
}
|
|
5100
|
-
function
|
|
5142
|
+
function Ei(e, r, o) {
|
|
5101
5143
|
const n = vr(e), s = { ...n.colors, [r]: o };
|
|
5102
5144
|
return {
|
|
5103
5145
|
...n,
|
|
@@ -5108,24 +5150,26 @@ function Si(e, r, o) {
|
|
|
5108
5150
|
}
|
|
5109
5151
|
};
|
|
5110
5152
|
}
|
|
5111
|
-
function
|
|
5112
|
-
const r =
|
|
5153
|
+
function he(e = "dark") {
|
|
5154
|
+
const r = Fo(), o = r[e];
|
|
5113
5155
|
return {
|
|
5114
5156
|
theme: e,
|
|
5115
|
-
...ps,
|
|
5116
5157
|
...ms,
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
|
|
5158
|
+
...bs,
|
|
5159
|
+
fontFamily: hs,
|
|
5160
|
+
fontFamilyMono: vs,
|
|
5161
|
+
fontWeights: { ...Qn },
|
|
5120
5162
|
colors: { ...o },
|
|
5121
5163
|
modePalettes: r
|
|
5122
5164
|
};
|
|
5123
5165
|
}
|
|
5124
|
-
const
|
|
5166
|
+
const Cs = [
|
|
5125
5167
|
"--space",
|
|
5126
5168
|
"--size",
|
|
5127
5169
|
"--radius",
|
|
5128
5170
|
"--border-width",
|
|
5171
|
+
"--border-width-outline",
|
|
5172
|
+
"--border-color",
|
|
5129
5173
|
"--focus-ring-width",
|
|
5130
5174
|
"--focus-ring-offset",
|
|
5131
5175
|
"--motion-surface-duration",
|
|
@@ -5140,21 +5184,21 @@ const Es = [
|
|
|
5140
5184
|
"--shadow-offset-y",
|
|
5141
5185
|
"--toast-scrim-size",
|
|
5142
5186
|
"--toast-scrim-density",
|
|
5143
|
-
...Object.keys(
|
|
5187
|
+
...Object.keys(ue).flatMap((e) => [
|
|
5144
5188
|
`--text-scale-${e}`,
|
|
5145
5189
|
`--text-scale-${e}--line-height`
|
|
5146
5190
|
]),
|
|
5147
5191
|
...Object.values(hr)
|
|
5148
5192
|
];
|
|
5149
|
-
function
|
|
5193
|
+
function Di(e) {
|
|
5150
5194
|
if (typeof document > "u") return;
|
|
5151
5195
|
const r = e ?? document.documentElement;
|
|
5152
|
-
for (const o of
|
|
5196
|
+
for (const o of Cs)
|
|
5153
5197
|
r.style.removeProperty(o);
|
|
5154
5198
|
delete r.dataset.theme;
|
|
5155
5199
|
}
|
|
5156
5200
|
let Vr = "";
|
|
5157
|
-
function
|
|
5201
|
+
function Fs(e, r) {
|
|
5158
5202
|
const o = JSON.stringify({
|
|
5159
5203
|
interactiveDuration: e.interactiveDuration,
|
|
5160
5204
|
interactiveEase: e.interactiveEase,
|
|
@@ -5205,7 +5249,7 @@ function Ds(e, r) {
|
|
|
5205
5249
|
enablePaginationFlip: e.enablePaginationFlip,
|
|
5206
5250
|
enableSelectionFill: e.enableSelectionFill
|
|
5207
5251
|
});
|
|
5208
|
-
o !== Vr && (Vr = o,
|
|
5252
|
+
o !== Vr && (Vr = o, Un({
|
|
5209
5253
|
interactiveDuration: e.interactiveDuration,
|
|
5210
5254
|
interactiveEase: e.interactiveEase,
|
|
5211
5255
|
hoverLiftEase: e.hoverLiftEase,
|
|
@@ -5258,69 +5302,69 @@ function Ds(e, r) {
|
|
|
5258
5302
|
surfaceTransitionDuration: e.surfaceTransitionDuration
|
|
5259
5303
|
}));
|
|
5260
5304
|
}
|
|
5261
|
-
function
|
|
5305
|
+
function _s(e, r) {
|
|
5262
5306
|
if (typeof document > "u") return;
|
|
5263
|
-
const o = r ?? document.documentElement, n =
|
|
5264
|
-
e.theme === "light" ? o.dataset.theme = "light" : delete o.dataset.theme,
|
|
5307
|
+
const o = r ?? document.documentElement, n = he(e.theme);
|
|
5308
|
+
e.theme === "light" ? o.dataset.theme = "light" : delete o.dataset.theme, S(
|
|
5265
5309
|
o,
|
|
5266
5310
|
"--space",
|
|
5267
|
-
e.space !== n.space ?
|
|
5268
|
-
),
|
|
5311
|
+
e.space !== n.space ? le(e.space) : null
|
|
5312
|
+
), S(
|
|
5269
5313
|
o,
|
|
5270
5314
|
"--size",
|
|
5271
|
-
e.size !== n.size ?
|
|
5272
|
-
),
|
|
5315
|
+
e.size !== n.size ? le(e.size) : null
|
|
5316
|
+
), S(
|
|
5273
5317
|
o,
|
|
5274
5318
|
"--radius",
|
|
5275
|
-
e.radius !== n.radius ?
|
|
5276
|
-
),
|
|
5277
|
-
o,
|
|
5278
|
-
"--border-width",
|
|
5279
|
-
e.borderWidth !== n.borderWidth ? ze(e.borderWidth) : null
|
|
5280
|
-
), D(
|
|
5319
|
+
e.radius !== n.radius ? le(e.radius) : null
|
|
5320
|
+
), Os(o, e.borderWidth, n.borderWidth), S(
|
|
5281
5321
|
o,
|
|
5282
5322
|
"--focus-ring-width",
|
|
5283
|
-
e.focusRingWidth !== n.focusRingWidth ?
|
|
5284
|
-
),
|
|
5323
|
+
e.focusRingWidth !== n.focusRingWidth ? ie(e.focusRingWidth) : null
|
|
5324
|
+
), S(
|
|
5285
5325
|
o,
|
|
5286
5326
|
"--focus-ring-offset",
|
|
5287
5327
|
e.focusRingOffset !== n.focusRingOffset ? `${e.focusRingOffset}px` : null
|
|
5288
|
-
),
|
|
5328
|
+
), S(
|
|
5289
5329
|
o,
|
|
5290
5330
|
"--font-family-sans",
|
|
5291
5331
|
e.fontFamily !== n.fontFamily ? e.fontFamily : null
|
|
5292
|
-
),
|
|
5332
|
+
), S(
|
|
5293
5333
|
o,
|
|
5294
5334
|
"--font-family-mono",
|
|
5295
5335
|
e.fontFamilyMono !== n.fontFamilyMono ? e.fontFamilyMono : null
|
|
5296
|
-
),
|
|
5336
|
+
), S(
|
|
5297
5337
|
o,
|
|
5298
5338
|
"--letter-spacing",
|
|
5299
5339
|
e.letterSpacing !== n.letterSpacing ? `${e.letterSpacing}em` : null
|
|
5300
|
-
),
|
|
5340
|
+
), Es(o, e.fontWeights, n.fontWeights), Fs(e, o), e.textScale !== n.textScale ? Ts(o, e.textScale) : ks(o), Ss(o, e, n), S(
|
|
5301
5341
|
o,
|
|
5302
5342
|
"--toast-scrim-size",
|
|
5303
5343
|
e.toastScrimSize !== n.toastScrimSize ? String(e.toastScrimSize) : null
|
|
5304
|
-
),
|
|
5344
|
+
), S(
|
|
5305
5345
|
o,
|
|
5306
5346
|
"--toast-scrim-density",
|
|
5307
5347
|
e.toastScrimDensity !== n.toastScrimDensity ? String(e.toastScrimDensity) : null
|
|
5308
5348
|
);
|
|
5309
5349
|
for (const [s, t] of Object.entries(hr))
|
|
5310
|
-
|
|
5350
|
+
S(
|
|
5311
5351
|
o,
|
|
5312
5352
|
t,
|
|
5313
5353
|
e.colors[s] !== n.colors[s] ? e.colors[s] : null
|
|
5314
5354
|
);
|
|
5315
5355
|
}
|
|
5316
|
-
function
|
|
5317
|
-
const r =
|
|
5318
|
-
e.space !== r.space && o.push(` --space: ${
|
|
5356
|
+
function Is(e) {
|
|
5357
|
+
const r = he(e.theme), o = [":root {"];
|
|
5358
|
+
if (e.space !== r.space && o.push(` --space: ${le(e.space)};`), e.size !== r.size && o.push(` --size: ${le(e.size)};`), e.radius !== r.radius && o.push(` --radius: ${le(e.radius)};`), e.borderWidth !== r.borderWidth) {
|
|
5359
|
+
const n = Co(e.borderWidth);
|
|
5360
|
+
o.push(` --border-width: ${n.borderWidth};`), o.push(` --border-width-outline: ${n.borderWidthOutline};`), n.borderColor != null && o.push(` --border-color: ${n.borderColor};`);
|
|
5361
|
+
}
|
|
5362
|
+
e.focusRingWidth !== r.focusRingWidth && o.push(` --focus-ring-width: ${ie(e.focusRingWidth)};`), e.focusRingOffset !== r.focusRingOffset && o.push(` --focus-ring-offset: ${e.focusRingOffset}px;`), e.fontFamily !== r.fontFamily && o.push(` --font-family-sans: ${e.fontFamily};`), e.fontFamilyMono !== r.fontFamilyMono && o.push(` --font-family-mono: ${e.fontFamilyMono};`), e.letterSpacing !== r.letterSpacing && o.push(` --letter-spacing: ${e.letterSpacing}em;`);
|
|
5319
5363
|
for (const [n, s] of Object.entries(cr))
|
|
5320
5364
|
e.fontWeights[n] !== r.fontWeights[n] && o.push(` ${s}: ${e.fontWeights[n]};`);
|
|
5321
5365
|
if (e.shadowOpacity !== r.shadowOpacity && o.push(` --shadow-opacity: ${e.shadowOpacity};`), e.shadowBlur !== r.shadowBlur && o.push(` --shadow-blur: ${e.shadowBlur};`), e.shadowSpread !== r.shadowSpread && o.push(` --shadow-spread: ${e.shadowSpread};`), e.shadowOffsetX !== r.shadowOffsetX && o.push(` --shadow-offset-x: ${e.shadowOffsetX}px;`), e.shadowOffsetY !== r.shadowOffsetY && o.push(` --shadow-offset-y: ${e.shadowOffsetY}px;`), e.toastScrimSize !== r.toastScrimSize && o.push(` --toast-scrim-size: ${e.toastScrimSize};`), e.toastScrimDensity !== r.toastScrimDensity && o.push(` --toast-scrim-density: ${e.toastScrimDensity};`), e.surfaceTransitionDuration !== r.surfaceTransitionDuration && o.push(` --motion-surface-duration: ${e.surfaceTransitionDuration}ms;`), e.textScale !== r.textScale)
|
|
5322
|
-
for (const n of Object.keys(
|
|
5323
|
-
const { size: s, line: t } =
|
|
5366
|
+
for (const n of Object.keys(ue)) {
|
|
5367
|
+
const { size: s, line: t } = ue[n], a = s * e.textScale, i = t * e.textScale;
|
|
5324
5368
|
o.push(` --text-scale-${n}: ${a}rem;`), o.push(
|
|
5325
5369
|
` --text-scale-${n}--line-height: calc(${i}rem / ${a}rem);`
|
|
5326
5370
|
);
|
|
@@ -5330,13 +5374,13 @@ function Cs(e) {
|
|
|
5330
5374
|
return o.length === 1 && o.push(" /* (no overrides vs kit defaults) */"), o.push("}"), e.theme === "light" && (o.push("", "/* Optional: light theme via data-attribute */"), o.push('/* <html data-theme="light"> */')), o.join(`
|
|
5331
5375
|
`);
|
|
5332
5376
|
}
|
|
5333
|
-
const
|
|
5334
|
-
function
|
|
5377
|
+
const _o = "burne-ui-theme";
|
|
5378
|
+
function Io(e, r) {
|
|
5335
5379
|
var a;
|
|
5336
|
-
const o =
|
|
5380
|
+
const o = he(r), n = e.tokens ?? {}, s = (a = e.colors) == null ? void 0 : a[r], t = s ? { ...o.colors, ...s } : o.colors;
|
|
5337
5381
|
return {
|
|
5338
5382
|
...o,
|
|
5339
|
-
...
|
|
5383
|
+
...Ro({
|
|
5340
5384
|
space: n.space,
|
|
5341
5385
|
size: n.size,
|
|
5342
5386
|
radius: n.radius,
|
|
@@ -5363,7 +5407,7 @@ function _o(e, r) {
|
|
|
5363
5407
|
}
|
|
5364
5408
|
};
|
|
5365
5409
|
}
|
|
5366
|
-
function
|
|
5410
|
+
function Ls(e) {
|
|
5367
5411
|
const r = vr(e), o = {
|
|
5368
5412
|
interactiveDuration: r.interactiveDuration,
|
|
5369
5413
|
interactiveEase: r.interactiveEase,
|
|
@@ -5444,25 +5488,25 @@ function Fs(e) {
|
|
|
5444
5488
|
toast: !0
|
|
5445
5489
|
};
|
|
5446
5490
|
}
|
|
5447
|
-
function
|
|
5491
|
+
function Rs(e, r) {
|
|
5448
5492
|
var n;
|
|
5449
5493
|
if (typeof e == "string" || typeof e == "number" || typeof e == "boolean")
|
|
5450
5494
|
return { value: e };
|
|
5451
5495
|
const o = ((n = e.values) == null ? void 0 : n[r]) ?? e.value;
|
|
5452
5496
|
return o === void 0 ? null : { value: o, unit: e.unit };
|
|
5453
5497
|
}
|
|
5454
|
-
function
|
|
5498
|
+
function Lo(e, r) {
|
|
5455
5499
|
const o = {};
|
|
5456
5500
|
if (!e) return o;
|
|
5457
5501
|
for (const [n, s] of Object.entries(e)) {
|
|
5458
|
-
const t =
|
|
5502
|
+
const t = Rs(s, r);
|
|
5459
5503
|
t && (o[n] = typeof t.value == "number" && t.unit ? `${t.value}${t.unit}` : String(t.value));
|
|
5460
5504
|
}
|
|
5461
5505
|
return o;
|
|
5462
5506
|
}
|
|
5463
5507
|
const Me = /* @__PURE__ */ new WeakMap();
|
|
5464
|
-
function
|
|
5465
|
-
const n =
|
|
5508
|
+
function As(e, r, o) {
|
|
5509
|
+
const n = Lo(e, o), s = new Set(Object.keys(n)), t = Me.get(r) ?? /* @__PURE__ */ new Map();
|
|
5466
5510
|
t.forEach((a, i) => {
|
|
5467
5511
|
s.has(i) || (a.value ? r.style.setProperty(i, a.value, a.priority) : r.style.removeProperty(i), t.delete(i));
|
|
5468
5512
|
});
|
|
@@ -5473,7 +5517,7 @@ function Is(e, r, o) {
|
|
|
5473
5517
|
}), r.style.setProperty(a, i);
|
|
5474
5518
|
Me.set(r, t);
|
|
5475
5519
|
}
|
|
5476
|
-
function
|
|
5520
|
+
function Oi(e) {
|
|
5477
5521
|
var o;
|
|
5478
5522
|
if (typeof document > "u") return;
|
|
5479
5523
|
const r = e ?? document.documentElement;
|
|
@@ -5481,14 +5525,14 @@ function ki(e) {
|
|
|
5481
5525
|
n.value ? r.style.setProperty(s, n.value, n.priority) : r.style.removeProperty(s);
|
|
5482
5526
|
}), Me.delete(r);
|
|
5483
5527
|
}
|
|
5484
|
-
function
|
|
5528
|
+
function Ps(e) {
|
|
5485
5529
|
return {
|
|
5486
|
-
...
|
|
5487
|
-
storageKey: (e == null ? void 0 : e.storageKey) === void 0 ?
|
|
5530
|
+
...Ls(he((e == null ? void 0 : e.theme) ?? "dark")),
|
|
5531
|
+
storageKey: (e == null ? void 0 : e.storageKey) === void 0 ? _o : e.storageKey
|
|
5488
5532
|
};
|
|
5489
5533
|
}
|
|
5490
|
-
function
|
|
5491
|
-
const r = (e == null ? void 0 : e.exportName) ?? "burneTheme", o = Ne(
|
|
5534
|
+
function Ci(e) {
|
|
5535
|
+
const r = (e == null ? void 0 : e.exportName) ?? "burneTheme", o = Ne(Ps(), 0);
|
|
5492
5536
|
return [
|
|
5493
5537
|
"/**",
|
|
5494
5538
|
" * Burne UI theme config (starter snapshot).",
|
|
@@ -5510,11 +5554,11 @@ function Ei(e) {
|
|
|
5510
5554
|
].join(`
|
|
5511
5555
|
`);
|
|
5512
5556
|
}
|
|
5513
|
-
function
|
|
5514
|
-
const o =
|
|
5557
|
+
function Fi(e, r = "dark") {
|
|
5558
|
+
const o = he(r);
|
|
5515
5559
|
return e ? {
|
|
5516
5560
|
...o,
|
|
5517
|
-
...
|
|
5561
|
+
...Ro({
|
|
5518
5562
|
space: e.space,
|
|
5519
5563
|
size: e.size,
|
|
5520
5564
|
radius: e.radius,
|
|
@@ -5536,29 +5580,29 @@ function Di(e, r = "dark") {
|
|
|
5536
5580
|
fontWeights: e.fontWeights ? { ...o.fontWeights, ...e.fontWeights } : o.fontWeights
|
|
5537
5581
|
} : o;
|
|
5538
5582
|
}
|
|
5539
|
-
function
|
|
5583
|
+
function Ro(e) {
|
|
5540
5584
|
const r = {};
|
|
5541
5585
|
for (const [o, n] of Object.entries(e))
|
|
5542
5586
|
n !== void 0 && (r[o] = n);
|
|
5543
5587
|
return r;
|
|
5544
5588
|
}
|
|
5545
|
-
function
|
|
5589
|
+
function zs(e, r, o = wr(e.theme)) {
|
|
5546
5590
|
if (typeof document > "u") return;
|
|
5547
|
-
const n = r ?? document.documentElement, s =
|
|
5591
|
+
const n = r ?? document.documentElement, s = Io(e, o);
|
|
5548
5592
|
if (e.motion) {
|
|
5549
5593
|
const t = e.motion;
|
|
5550
5594
|
t.interactiveDuration !== void 0 && (s.interactiveDuration = t.interactiveDuration), t.interactiveEase !== void 0 && (s.interactiveEase = t.interactiveEase), t.hoverLiftEase !== void 0 && (s.hoverLiftEase = t.hoverLiftEase), t.tooltipDuration !== void 0 && (s.tooltipDuration = t.tooltipDuration), t.modalDuration !== void 0 && (s.modalDuration = t.modalDuration), t.switchThumbDuration !== void 0 && (s.switchThumbDuration = t.switchThumbDuration), t.switchThumbEase !== void 0 && (s.switchThumbEase = t.switchThumbEase), t.selectionFillDuration !== void 0 && (s.selectionFillDuration = t.selectionFillDuration), t.selectionFillEase !== void 0 && (s.selectionFillEase = t.selectionFillEase), t.hoverLiftScale !== void 0 && (s.hoverLiftScale = t.hoverLiftScale), t.badgeAnchorHoverLiftScale !== void 0 && (s.badgeAnchorHoverLiftScale = t.badgeAnchorHoverLiftScale), t.pressSqueezeScale !== void 0 && (s.pressSqueezeMid = t.pressSqueezeScale[1]), t.pressSqueezeDurationFactor !== void 0 && (s.pressSqueezeDurationFactor = t.pressSqueezeDurationFactor), t.rippleDefaultDuration !== void 0 && (s.rippleDefaultDuration = t.rippleDefaultDuration), t.rippleDefaultOpacityFrom !== void 0 && (s.rippleDefaultOpacityFrom = t.rippleDefaultOpacityFrom), t.rippleExpandableDuration !== void 0 && (s.rippleExpandableDuration = t.rippleExpandableDuration), t.rippleExpandableOpacityFrom !== void 0 && (s.rippleExpandableOpacityFrom = t.rippleExpandableOpacityFrom), t.rippleEaseCss !== void 0 && (s.rippleEaseCss = t.rippleEaseCss), t.feedbackExpandDuration !== void 0 && (s.feedbackExpandDuration = t.feedbackExpandDuration), t.expandDuration !== void 0 && (s.expandDuration = t.expandDuration), t.expandOpenEase !== void 0 && (s.expandOpenEase = t.expandOpenEase), t.surfaceTransitionDuration !== void 0 && (s.surfaceTransitionDuration = t.surfaceTransitionDuration), t.toastDismissDuration !== void 0 && (s.toastDismissDuration = t.toastDismissDuration), t.toastDismissEase !== void 0 && (s.toastDismissEase = t.toastDismissEase), t.progressFillDuration !== void 0 && (s.progressFillDuration = t.progressFillDuration), t.progressFillEase !== void 0 && (s.progressFillEase = t.progressFillEase), t.progressIndeterminateDuration !== void 0 && (s.progressIndeterminateDuration = t.progressIndeterminateDuration), t.progressIndeterminateEase !== void 0 && (s.progressIndeterminateEase = t.progressIndeterminateEase), t.loadingDotsDuration !== void 0 && (s.loadingDotsDuration = t.loadingDotsDuration), t.loadingDotsEaseUp !== void 0 && (s.loadingDotsEaseUp = t.loadingDotsEaseUp), t.loadingDotsEaseDown !== void 0 && (s.loadingDotsEaseDown = t.loadingDotsEaseDown), t.enableAnimations !== void 0 && (s.enableAnimations = t.enableAnimations), t.enableHoverLift !== void 0 && (s.enableHoverLift = t.enableHoverLift), t.enablePressSqueeze !== void 0 && (s.enablePressSqueeze = t.enablePressSqueeze), t.enableToggleButtonFill !== void 0 && (s.enableToggleButtonFill = t.enableToggleButtonFill), t.enableRipple !== void 0 && (s.enableRipple = t.enableRipple), t.enableExpandable !== void 0 && (s.enableExpandable = t.enableExpandable), t.enableToastStack !== void 0 && (s.enableToastStack = t.enableToastStack), t.enableAsyncButtonCrossfade !== void 0 && (s.enableAsyncButtonCrossfade = t.enableAsyncButtonCrossfade), t.enableContentFade !== void 0 && (s.enableContentFade = t.enableContentFade), t.enableFeedbackExpand !== void 0 && (s.enableFeedbackExpand = t.enableFeedbackExpand), t.enableProgressFill !== void 0 && (s.enableProgressFill = t.enableProgressFill), t.enableLoadingDots !== void 0 && (s.enableLoadingDots = t.enableLoadingDots), t.enableModalMotion !== void 0 && (s.enableModalMotion = t.enableModalMotion), t.enableSwitchThumb !== void 0 && (s.enableSwitchThumb = t.enableSwitchThumb), t.enableTabsIndicator !== void 0 && (s.enableTabsIndicator = t.enableTabsIndicator), t.enablePaginationFlip !== void 0 && (s.enablePaginationFlip = t.enablePaginationFlip), t.enableSelectionFill !== void 0 && (s.enableSelectionFill = t.enableSelectionFill);
|
|
5551
5595
|
}
|
|
5552
|
-
|
|
5596
|
+
_s(s, n), As(e.customTokens, n, o);
|
|
5553
5597
|
}
|
|
5554
5598
|
function wr(e = "system") {
|
|
5555
5599
|
return e === "light" || e === "dark" ? e : typeof window < "u" && window.matchMedia("(prefers-color-scheme: light)").matches ? "light" : "dark";
|
|
5556
5600
|
}
|
|
5557
|
-
function
|
|
5558
|
-
|
|
5601
|
+
function _i(e, r, o = "dark") {
|
|
5602
|
+
zs({ theme: o, tokens: e }, r, o);
|
|
5559
5603
|
}
|
|
5560
|
-
function
|
|
5561
|
-
const r = wr(e.theme), o =
|
|
5604
|
+
function Ii(e) {
|
|
5605
|
+
const r = wr(e.theme), o = Io(e, r), n = Is(o), s = Lo(e.customTokens, r), t = Object.entries(s);
|
|
5562
5606
|
if (t.length === 0) return n;
|
|
5563
5607
|
const a = t.map(([i, d]) => ` ${i}: ${d};`).join(`
|
|
5564
5608
|
`);
|
|
@@ -5583,17 +5627,17 @@ ${o}]`;
|
|
|
5583
5627
|
);
|
|
5584
5628
|
return s.length === 0 ? "{}" : `{
|
|
5585
5629
|
${s.map(
|
|
5586
|
-
([a, i]) => `${n}${
|
|
5630
|
+
([a, i]) => `${n}${Ms(a)}: ${Ne(i, r + 1)}`
|
|
5587
5631
|
).join(`,
|
|
5588
5632
|
`)},
|
|
5589
5633
|
${o}}`;
|
|
5590
5634
|
}
|
|
5591
5635
|
return JSON.stringify(e);
|
|
5592
5636
|
}
|
|
5593
|
-
function
|
|
5637
|
+
function Ms(e) {
|
|
5594
5638
|
return /^[A-Za-z_$][\w$]*$/.test(e) ? e : JSON.stringify(e);
|
|
5595
5639
|
}
|
|
5596
|
-
function
|
|
5640
|
+
function Li(e, r) {
|
|
5597
5641
|
const o = (r == null ? void 0 : r.exportName) ?? "burneTheme", n = Ne(e, 0);
|
|
5598
5642
|
return [
|
|
5599
5643
|
"/**",
|
|
@@ -5618,7 +5662,7 @@ function Fi(e, r) {
|
|
|
5618
5662
|
`);
|
|
5619
5663
|
}
|
|
5620
5664
|
const xr = jr(null);
|
|
5621
|
-
function
|
|
5665
|
+
function Ns(e) {
|
|
5622
5666
|
if (!e || typeof window > "u") return null;
|
|
5623
5667
|
try {
|
|
5624
5668
|
const r = window.localStorage.getItem(e);
|
|
@@ -5627,41 +5671,41 @@ function Ps(e) {
|
|
|
5627
5671
|
}
|
|
5628
5672
|
return null;
|
|
5629
5673
|
}
|
|
5630
|
-
function
|
|
5674
|
+
function Bs(e, r) {
|
|
5631
5675
|
if (!(!e || typeof window > "u"))
|
|
5632
5676
|
try {
|
|
5633
5677
|
window.localStorage.setItem(e, r);
|
|
5634
5678
|
} catch {
|
|
5635
5679
|
}
|
|
5636
5680
|
}
|
|
5637
|
-
function
|
|
5681
|
+
function Gs(e, r) {
|
|
5638
5682
|
if (typeof document > "u") return;
|
|
5639
5683
|
const o = r ?? document.documentElement;
|
|
5640
5684
|
e === "light" ? o.dataset.theme = "light" : delete o.dataset.theme;
|
|
5641
5685
|
}
|
|
5642
|
-
function
|
|
5686
|
+
function Ri({
|
|
5643
5687
|
children: e,
|
|
5644
5688
|
theme: r,
|
|
5645
5689
|
defaultTheme: o = "dark",
|
|
5646
|
-
storageKey: n =
|
|
5690
|
+
storageKey: n = _o,
|
|
5647
5691
|
root: s = null,
|
|
5648
5692
|
onThemeChange: t
|
|
5649
5693
|
}) {
|
|
5650
|
-
const [a, i] = Ze(() =>
|
|
5694
|
+
const [a, i] = Ze(() => Ns(n) ?? o), [d, l] = Ze(0), m = r ?? a, b = J(() => wr(m), [m, d]), w = O(
|
|
5651
5695
|
(x) => {
|
|
5652
|
-
r === void 0 && i(x),
|
|
5696
|
+
r === void 0 && i(x), Bs(n, x), t == null || t(x);
|
|
5653
5697
|
},
|
|
5654
5698
|
[r, n, t]
|
|
5655
5699
|
);
|
|
5656
5700
|
W(() => {
|
|
5657
5701
|
const x = s ?? (typeof document < "u" ? document.documentElement : null);
|
|
5658
|
-
x &&
|
|
5702
|
+
x && Gs(b, x);
|
|
5659
5703
|
}, [b, s]), Xr(() => {
|
|
5660
5704
|
if (m !== "system" || typeof window > "u") return;
|
|
5661
|
-
const x = window.matchMedia("(prefers-color-scheme: light)"),
|
|
5705
|
+
const x = window.matchMedia("(prefers-color-scheme: light)"), T = () => {
|
|
5662
5706
|
l((_) => _ + 1);
|
|
5663
5707
|
};
|
|
5664
|
-
return x.addEventListener("change",
|
|
5708
|
+
return x.addEventListener("change", T), () => x.removeEventListener("change", T);
|
|
5665
5709
|
}, [m]);
|
|
5666
5710
|
const p = J(
|
|
5667
5711
|
() => ({ theme: m, resolvedTheme: b, setTheme: w }),
|
|
@@ -5669,205 +5713,204 @@ function _i({
|
|
|
5669
5713
|
);
|
|
5670
5714
|
return Yr(xr.Provider, { value: p }, e);
|
|
5671
5715
|
}
|
|
5672
|
-
function
|
|
5716
|
+
function Ai() {
|
|
5673
5717
|
const e = Be(xr);
|
|
5674
5718
|
if (!e)
|
|
5675
5719
|
throw new Error("useBurneTheme must be used within ThemeProvider or BurneUIProvider.");
|
|
5676
5720
|
return e;
|
|
5677
5721
|
}
|
|
5678
|
-
function
|
|
5722
|
+
function Pi() {
|
|
5679
5723
|
return Be(xr);
|
|
5680
5724
|
}
|
|
5681
5725
|
const yr = jr(null);
|
|
5682
|
-
function
|
|
5726
|
+
function zi({
|
|
5683
5727
|
children: e,
|
|
5684
5728
|
value: r
|
|
5685
5729
|
}) {
|
|
5686
5730
|
return Yr(yr.Provider, { value: r }, e);
|
|
5687
5731
|
}
|
|
5688
|
-
function
|
|
5732
|
+
function Mi() {
|
|
5689
5733
|
const e = Be(yr);
|
|
5690
5734
|
if (!e)
|
|
5691
5735
|
throw new Error("useBurneThemeRuntime must be used within BurneUIProvider.");
|
|
5692
5736
|
return e;
|
|
5693
5737
|
}
|
|
5694
|
-
function
|
|
5738
|
+
function Ni() {
|
|
5695
5739
|
return Be(yr);
|
|
5696
5740
|
}
|
|
5697
5741
|
export {
|
|
5698
|
-
|
|
5699
|
-
|
|
5700
|
-
|
|
5742
|
+
Ii as $,
|
|
5743
|
+
Da as A,
|
|
5744
|
+
ui as B,
|
|
5701
5745
|
hr as C,
|
|
5702
|
-
|
|
5703
|
-
|
|
5704
|
-
|
|
5705
|
-
|
|
5706
|
-
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
|
|
5710
|
-
|
|
5746
|
+
gs as D,
|
|
5747
|
+
es as E,
|
|
5748
|
+
ss as F,
|
|
5749
|
+
rs as G,
|
|
5750
|
+
Zt as H,
|
|
5751
|
+
os as I,
|
|
5752
|
+
ai as J,
|
|
5753
|
+
ja as K,
|
|
5754
|
+
ps as L,
|
|
5711
5755
|
lr as M,
|
|
5712
|
-
|
|
5713
|
-
|
|
5714
|
-
|
|
5715
|
-
|
|
5716
|
-
|
|
5717
|
-
|
|
5718
|
-
|
|
5719
|
-
|
|
5720
|
-
|
|
5721
|
-
|
|
5722
|
-
|
|
5723
|
-
|
|
5724
|
-
|
|
5725
|
-
|
|
5726
|
-
|
|
5727
|
-
|
|
5728
|
-
|
|
5729
|
-
|
|
5730
|
-
|
|
5731
|
-
|
|
5732
|
-
|
|
5733
|
-
|
|
5734
|
-
|
|
5735
|
-
|
|
5736
|
-
|
|
5737
|
-
|
|
5738
|
-
|
|
5739
|
-
|
|
5740
|
-
|
|
5741
|
-
|
|
5742
|
-
|
|
5743
|
-
|
|
5744
|
-
|
|
5745
|
-
|
|
5746
|
-
|
|
5747
|
-
|
|
5748
|
-
|
|
5749
|
-
|
|
5750
|
-
|
|
5751
|
-
|
|
5752
|
-
|
|
5753
|
-
|
|
5754
|
-
|
|
5755
|
-
|
|
5756
|
-
|
|
5757
|
-
|
|
5758
|
-
|
|
5759
|
-
|
|
5760
|
-
|
|
5761
|
-
|
|
5762
|
-
|
|
5763
|
-
|
|
5764
|
-
|
|
5765
|
-
|
|
5766
|
-
|
|
5767
|
-
|
|
5768
|
-
|
|
5769
|
-
|
|
5770
|
-
|
|
5771
|
-
|
|
5772
|
-
|
|
5773
|
-
|
|
5774
|
-
|
|
5775
|
-
|
|
5776
|
-
|
|
5777
|
-
|
|
5778
|
-
|
|
5779
|
-
|
|
5780
|
-
|
|
5781
|
-
|
|
5782
|
-
|
|
5783
|
-
|
|
5784
|
-
|
|
5785
|
-
|
|
5786
|
-
|
|
5787
|
-
|
|
5788
|
-
|
|
5789
|
-
|
|
5790
|
-
|
|
5791
|
-
|
|
5756
|
+
qa as N,
|
|
5757
|
+
Ds as O,
|
|
5758
|
+
Oi as P,
|
|
5759
|
+
Di as Q,
|
|
5760
|
+
Ya as R,
|
|
5761
|
+
ms as S,
|
|
5762
|
+
ue as T,
|
|
5763
|
+
vo as U,
|
|
5764
|
+
ba as V,
|
|
5765
|
+
Ps as W,
|
|
5766
|
+
he as X,
|
|
5767
|
+
vr as Y,
|
|
5768
|
+
jn as Z,
|
|
5769
|
+
Li as _,
|
|
5770
|
+
ce as a,
|
|
5771
|
+
Ka as a$,
|
|
5772
|
+
Ci as a0,
|
|
5773
|
+
Is as a1,
|
|
5774
|
+
hi as a2,
|
|
5775
|
+
La as a3,
|
|
5776
|
+
le as a4,
|
|
5777
|
+
me as a5,
|
|
5778
|
+
Ca as a6,
|
|
5779
|
+
A as a7,
|
|
5780
|
+
Fi as a8,
|
|
5781
|
+
Ei as a9,
|
|
5782
|
+
Aa as aA,
|
|
5783
|
+
Js as aB,
|
|
5784
|
+
Et as aC,
|
|
5785
|
+
Pa as aD,
|
|
5786
|
+
k as aE,
|
|
5787
|
+
y as aF,
|
|
5788
|
+
U as aG,
|
|
5789
|
+
He as aH,
|
|
5790
|
+
ko as aI,
|
|
5791
|
+
Tt as aJ,
|
|
5792
|
+
ze as aK,
|
|
5793
|
+
Ma as aL,
|
|
5794
|
+
oa as aM,
|
|
5795
|
+
ti as aN,
|
|
5796
|
+
ni as aO,
|
|
5797
|
+
oi as aP,
|
|
5798
|
+
Ba as aQ,
|
|
5799
|
+
ri as aR,
|
|
5800
|
+
ei as aS,
|
|
5801
|
+
Za as aT,
|
|
5802
|
+
Ja as aU,
|
|
5803
|
+
si as aV,
|
|
5804
|
+
Qa as aW,
|
|
5805
|
+
$a as aX,
|
|
5806
|
+
bo as aY,
|
|
5807
|
+
pa as aZ,
|
|
5808
|
+
ca as a_,
|
|
5809
|
+
Ge as aa,
|
|
5810
|
+
Ti as ab,
|
|
5811
|
+
Oa as ac,
|
|
5812
|
+
Gr as ad,
|
|
5813
|
+
Co as ae,
|
|
5814
|
+
dr as af,
|
|
5815
|
+
Lo as ag,
|
|
5816
|
+
wr as ah,
|
|
5817
|
+
Io as ai,
|
|
5818
|
+
Ra as aj,
|
|
5819
|
+
rt as ak,
|
|
5820
|
+
z as al,
|
|
5821
|
+
ka as am,
|
|
5822
|
+
Ea as an,
|
|
5823
|
+
Ta as ao,
|
|
5824
|
+
$e as ap,
|
|
5825
|
+
de as aq,
|
|
5826
|
+
Sa as ar,
|
|
5827
|
+
N as as,
|
|
5828
|
+
Ls as at,
|
|
5829
|
+
Mi as au,
|
|
5830
|
+
Ni as av,
|
|
5831
|
+
ur as aw,
|
|
5832
|
+
ha as ax,
|
|
5833
|
+
xi as ay,
|
|
5834
|
+
ft as az,
|
|
5835
|
+
ma as b,
|
|
5792
5836
|
Ha as b0,
|
|
5793
|
-
|
|
5794
|
-
|
|
5795
|
-
|
|
5796
|
-
|
|
5797
|
-
|
|
5798
|
-
|
|
5799
|
-
|
|
5800
|
-
|
|
5801
|
-
|
|
5802
|
-
|
|
5803
|
-
|
|
5804
|
-
|
|
5805
|
-
|
|
5806
|
-
|
|
5807
|
-
|
|
5808
|
-
|
|
5809
|
-
|
|
5810
|
-
|
|
5811
|
-
|
|
5812
|
-
|
|
5813
|
-
|
|
5814
|
-
|
|
5815
|
-
|
|
5816
|
-
|
|
5817
|
-
|
|
5818
|
-
|
|
5819
|
-
|
|
5820
|
-
|
|
5821
|
-
|
|
5822
|
-
|
|
5823
|
-
|
|
5824
|
-
|
|
5825
|
-
|
|
5826
|
-
|
|
5827
|
-
|
|
5828
|
-
|
|
5829
|
-
|
|
5830
|
-
|
|
5831
|
-
|
|
5832
|
-
|
|
5833
|
-
|
|
5834
|
-
|
|
5835
|
-
|
|
5836
|
-
|
|
5837
|
-
|
|
5838
|
-
|
|
5839
|
-
|
|
5840
|
-
|
|
5841
|
-
|
|
5842
|
-
|
|
5843
|
-
|
|
5844
|
-
|
|
5845
|
-
|
|
5846
|
-
|
|
5847
|
-
|
|
5848
|
-
|
|
5849
|
-
|
|
5850
|
-
|
|
5851
|
-
mi as e,
|
|
5837
|
+
Wa as b1,
|
|
5838
|
+
Ua as b2,
|
|
5839
|
+
ii as b3,
|
|
5840
|
+
Na as b4,
|
|
5841
|
+
Ga as b5,
|
|
5842
|
+
Va as b6,
|
|
5843
|
+
Xa as b7,
|
|
5844
|
+
se as b8,
|
|
5845
|
+
Lt as b9,
|
|
5846
|
+
ua as bA,
|
|
5847
|
+
da as bB,
|
|
5848
|
+
la as bC,
|
|
5849
|
+
_o as bD,
|
|
5850
|
+
Ri as bE,
|
|
5851
|
+
Ai as bF,
|
|
5852
|
+
zi as bG,
|
|
5853
|
+
Jn as bH,
|
|
5854
|
+
uo as bI,
|
|
5855
|
+
wo as bJ,
|
|
5856
|
+
xa as bK,
|
|
5857
|
+
va as bL,
|
|
5858
|
+
Vs as bM,
|
|
5859
|
+
Un as bN,
|
|
5860
|
+
ya as bO,
|
|
5861
|
+
wa as bP,
|
|
5862
|
+
ra as bQ,
|
|
5863
|
+
Ks as bR,
|
|
5864
|
+
Qs as bS,
|
|
5865
|
+
Pi as bT,
|
|
5866
|
+
So as ba,
|
|
5867
|
+
ia as bb,
|
|
5868
|
+
_a as bc,
|
|
5869
|
+
Oe as bd,
|
|
5870
|
+
kt as be,
|
|
5871
|
+
ta as bf,
|
|
5872
|
+
_t as bg,
|
|
5873
|
+
sa as bh,
|
|
5874
|
+
wi as bi,
|
|
5875
|
+
bi as bj,
|
|
5876
|
+
Ia as bk,
|
|
5877
|
+
mi as bl,
|
|
5878
|
+
ci as bm,
|
|
5879
|
+
za as bn,
|
|
5880
|
+
ns as bo,
|
|
5881
|
+
di as bp,
|
|
5882
|
+
fi as bq,
|
|
5883
|
+
li as br,
|
|
5884
|
+
pi as bs,
|
|
5885
|
+
gi as bt,
|
|
5886
|
+
na as bu,
|
|
5887
|
+
Zs as bv,
|
|
5888
|
+
ea as bw,
|
|
5889
|
+
ga as bx,
|
|
5890
|
+
fa as by,
|
|
5891
|
+
aa as bz,
|
|
5892
|
+
hs as c,
|
|
5893
|
+
vs as d,
|
|
5894
|
+
vi as e,
|
|
5852
5895
|
cr as f,
|
|
5853
|
-
|
|
5854
|
-
|
|
5855
|
-
|
|
5856
|
-
|
|
5857
|
-
|
|
5858
|
-
|
|
5896
|
+
Qn as g,
|
|
5897
|
+
Wn as h,
|
|
5898
|
+
bs as i,
|
|
5899
|
+
qs as j,
|
|
5900
|
+
Xs as k,
|
|
5901
|
+
js as l,
|
|
5859
5902
|
An as m,
|
|
5860
5903
|
mr as n,
|
|
5861
|
-
|
|
5862
|
-
|
|
5863
|
-
|
|
5864
|
-
|
|
5904
|
+
Ys as o,
|
|
5905
|
+
ki as p,
|
|
5906
|
+
yi as q,
|
|
5907
|
+
Si as r,
|
|
5865
5908
|
Ae as s,
|
|
5866
|
-
|
|
5867
|
-
|
|
5868
|
-
|
|
5909
|
+
Fa as t,
|
|
5910
|
+
zs as u,
|
|
5911
|
+
As as v,
|
|
5869
5912
|
po as w,
|
|
5870
|
-
|
|
5871
|
-
|
|
5872
|
-
|
|
5913
|
+
Gs as x,
|
|
5914
|
+
_s as y,
|
|
5915
|
+
_i as z
|
|
5873
5916
|
};
|