tvuikit 0.8.0 → 0.8.2
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/tvuikit.es.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import He, { createContext as Je, useContext as Xe, Activity as
|
|
1
|
+
import He, { createContext as Je, useContext as Xe, Activity as pt, useState as ie, useRef as Y, useEffect as le, useCallback as ae, useLayoutEffect as qe } from "react";
|
|
2
2
|
import { createPortal as Ae } from "react-dom";
|
|
3
3
|
const bt = {
|
|
4
4
|
default: "#0A0A0A",
|
|
5
5
|
component: "#00000065",
|
|
6
6
|
smooth: "#111111"
|
|
7
|
-
},
|
|
7
|
+
}, Ze = {
|
|
8
8
|
default: "#EDEDED",
|
|
9
9
|
text: "#EDEDED",
|
|
10
10
|
miniText: "#EDEDED40",
|
|
11
11
|
card: "#27272780",
|
|
12
12
|
component: "#272727"
|
|
13
|
-
},
|
|
14
|
-
default:
|
|
13
|
+
}, Ke = {
|
|
14
|
+
default: Ze.default,
|
|
15
15
|
primary: "#2AFF6A",
|
|
16
16
|
danger: "#FF0000",
|
|
17
17
|
secondary: "#000000",
|
|
@@ -19,8 +19,8 @@ const bt = {
|
|
|
19
19
|
}, gt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
20
20
|
__proto__: null,
|
|
21
21
|
BACKGROUND: bt,
|
|
22
|
-
BUTTONS:
|
|
23
|
-
FOREGROUND:
|
|
22
|
+
BUTTONS: Ke,
|
|
23
|
+
FOREGROUND: Ze
|
|
24
24
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
25
25
|
var X = /* @__PURE__ */ ((e) => (e.h1 = "36px", e.h2 = "32px", e.h3 = "24px", e.h4 = "20px", e.h5 = "18px", e.base = "16px", e.mini = "14px", e))(X || {});
|
|
26
26
|
const ht = {
|
|
@@ -41,17 +41,17 @@ const ht = {
|
|
|
41
41
|
COLORS: gt,
|
|
42
42
|
FONTS: xt
|
|
43
43
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
44
|
-
function
|
|
44
|
+
function Qe(e) {
|
|
45
45
|
var r, n, o = "";
|
|
46
46
|
if (typeof e == "string" || typeof e == "number") o += e;
|
|
47
47
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
48
48
|
var s = e.length;
|
|
49
|
-
for (r = 0; r < s; r++) e[r] && (n =
|
|
49
|
+
for (r = 0; r < s; r++) e[r] && (n = Qe(e[r])) && (o && (o += " "), o += n);
|
|
50
50
|
} else for (n in e) e[n] && (o && (o += " "), o += n);
|
|
51
51
|
return o;
|
|
52
52
|
}
|
|
53
53
|
function yt() {
|
|
54
|
-
for (var e, r, n = 0, o = "", s = arguments.length; n < s; n++) (e = arguments[n]) && (r =
|
|
54
|
+
for (var e, r, n = 0, o = "", s = arguments.length; n < s; n++) (e = arguments[n]) && (r = Qe(e)) && (o && (o += " "), o += r);
|
|
55
55
|
return o;
|
|
56
56
|
}
|
|
57
57
|
const wt = (e, r) => {
|
|
@@ -64,7 +64,7 @@ const wt = (e, r) => {
|
|
|
64
64
|
}, vt = (e, r) => ({
|
|
65
65
|
classGroupId: e,
|
|
66
66
|
validator: r
|
|
67
|
-
}),
|
|
67
|
+
}), et = (e = /* @__PURE__ */ new Map(), r = null, n) => ({
|
|
68
68
|
nextPart: e,
|
|
69
69
|
validators: r,
|
|
70
70
|
classGroupId: n
|
|
@@ -77,32 +77,32 @@ const wt = (e, r) => {
|
|
|
77
77
|
getClassGroupId: (i) => {
|
|
78
78
|
if (i.startsWith("[") && i.endsWith("]"))
|
|
79
79
|
return Et(i);
|
|
80
|
-
const
|
|
81
|
-
return
|
|
80
|
+
const u = i.split(ve), l = u[0] === "" && u.length > 1 ? 1 : 0;
|
|
81
|
+
return tt(u, l, r);
|
|
82
82
|
},
|
|
83
|
-
getConflictingClassGroupIds: (i,
|
|
84
|
-
if (
|
|
85
|
-
const
|
|
86
|
-
return
|
|
83
|
+
getConflictingClassGroupIds: (i, u) => {
|
|
84
|
+
if (u) {
|
|
85
|
+
const l = o[i], f = n[i];
|
|
86
|
+
return l ? f ? wt(f, l) : l : f || Pe;
|
|
87
87
|
}
|
|
88
88
|
return n[i] || Pe;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
},
|
|
91
|
+
}, tt = (e, r, n) => {
|
|
92
92
|
if (e.length - r === 0)
|
|
93
93
|
return n.classGroupId;
|
|
94
94
|
const s = e[r], a = n.nextPart.get(s);
|
|
95
95
|
if (a) {
|
|
96
|
-
const f =
|
|
96
|
+
const f = tt(e, r + 1, a);
|
|
97
97
|
if (f) return f;
|
|
98
98
|
}
|
|
99
99
|
const i = n.validators;
|
|
100
100
|
if (i === null)
|
|
101
101
|
return;
|
|
102
|
-
const
|
|
103
|
-
for (let f = 0; f <
|
|
102
|
+
const u = r === 0 ? e.join(ve) : e.slice(r).join(ve), l = i.length;
|
|
103
|
+
for (let f = 0; f < l; f++) {
|
|
104
104
|
const v = i[f];
|
|
105
|
-
if (v.validator(
|
|
105
|
+
if (v.validator(u))
|
|
106
106
|
return v.classGroupId;
|
|
107
107
|
}
|
|
108
108
|
}, Et = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
@@ -115,7 +115,7 @@ const wt = (e, r) => {
|
|
|
115
115
|
} = e;
|
|
116
116
|
return _t(n, r);
|
|
117
117
|
}, _t = (e, r) => {
|
|
118
|
-
const n =
|
|
118
|
+
const n = et();
|
|
119
119
|
for (const o in e) {
|
|
120
120
|
const s = e[o];
|
|
121
121
|
Ne(s, n, o, r);
|
|
@@ -138,7 +138,7 @@ const wt = (e, r) => {
|
|
|
138
138
|
}
|
|
139
139
|
At(e, r, n, o);
|
|
140
140
|
}, Tt = (e, r, n) => {
|
|
141
|
-
const o = e === "" ? r :
|
|
141
|
+
const o = e === "" ? r : rt(r, e);
|
|
142
142
|
o.classGroupId = n;
|
|
143
143
|
}, Ct = (e, r, n, o) => {
|
|
144
144
|
if (Nt(e)) {
|
|
@@ -149,16 +149,16 @@ const wt = (e, r) => {
|
|
|
149
149
|
}, At = (e, r, n, o) => {
|
|
150
150
|
const s = Object.entries(e), a = s.length;
|
|
151
151
|
for (let i = 0; i < a; i++) {
|
|
152
|
-
const [
|
|
153
|
-
Ne(
|
|
152
|
+
const [u, l] = s[i];
|
|
153
|
+
Ne(l, rt(r, u), n, o);
|
|
154
154
|
}
|
|
155
|
-
},
|
|
155
|
+
}, rt = (e, r) => {
|
|
156
156
|
let n = e;
|
|
157
157
|
const o = r.split(ve), s = o.length;
|
|
158
158
|
for (let a = 0; a < s; a++) {
|
|
159
159
|
const i = o[a];
|
|
160
|
-
let
|
|
161
|
-
|
|
160
|
+
let u = n.nextPart.get(i);
|
|
161
|
+
u || (u = et(), n.nextPart.set(i, u)), n = u;
|
|
162
162
|
}
|
|
163
163
|
return n;
|
|
164
164
|
}, Nt = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Ot = (e) => {
|
|
@@ -198,32 +198,32 @@ const wt = (e, r) => {
|
|
|
198
198
|
} = e;
|
|
199
199
|
let o = (s) => {
|
|
200
200
|
const a = [];
|
|
201
|
-
let i = 0,
|
|
201
|
+
let i = 0, u = 0, l = 0, f;
|
|
202
202
|
const v = s.length;
|
|
203
|
-
for (let
|
|
204
|
-
const
|
|
205
|
-
if (i === 0 &&
|
|
206
|
-
if (
|
|
207
|
-
a.push(s.slice(
|
|
203
|
+
for (let _ = 0; _ < v; _++) {
|
|
204
|
+
const S = s[_];
|
|
205
|
+
if (i === 0 && u === 0) {
|
|
206
|
+
if (S === ze) {
|
|
207
|
+
a.push(s.slice(l, _)), l = _ + 1;
|
|
208
208
|
continue;
|
|
209
209
|
}
|
|
210
|
-
if (
|
|
211
|
-
f =
|
|
210
|
+
if (S === "/") {
|
|
211
|
+
f = _;
|
|
212
212
|
continue;
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
|
-
|
|
215
|
+
S === "[" ? i++ : S === "]" ? i-- : S === "(" ? u++ : S === ")" && u--;
|
|
216
216
|
}
|
|
217
|
-
const
|
|
218
|
-
let j =
|
|
219
|
-
|
|
217
|
+
const k = a.length === 0 ? s : s.slice(l);
|
|
218
|
+
let j = k, g = !1;
|
|
219
|
+
k.endsWith(Ce) ? (j = k.slice(0, -1), g = !0) : (
|
|
220
220
|
/**
|
|
221
221
|
* In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
|
|
222
222
|
* @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
|
|
223
223
|
*/
|
|
224
|
-
|
|
224
|
+
k.startsWith(Ce) && (j = k.slice(1), g = !0)
|
|
225
225
|
);
|
|
226
|
-
const R = f && f >
|
|
226
|
+
const R = f && f > l ? f - l : void 0;
|
|
227
227
|
return $e(a, g, j, R);
|
|
228
228
|
};
|
|
229
229
|
if (r) {
|
|
@@ -246,8 +246,8 @@ const wt = (e, r) => {
|
|
|
246
246
|
const o = [];
|
|
247
247
|
let s = [];
|
|
248
248
|
for (let a = 0; a < n.length; a++) {
|
|
249
|
-
const i = n[a],
|
|
250
|
-
|
|
249
|
+
const i = n[a], u = i[0] === "[", l = r.has(i);
|
|
250
|
+
u || l ? (s.length > 0 && (s.sort(), o.push(...s), s = []), o.push(i)) : s.push(i);
|
|
251
251
|
}
|
|
252
252
|
return s.length > 0 && (s.sort(), o.push(...s)), o;
|
|
253
253
|
};
|
|
@@ -262,85 +262,85 @@ const wt = (e, r) => {
|
|
|
262
262
|
getClassGroupId: o,
|
|
263
263
|
getConflictingClassGroupIds: s,
|
|
264
264
|
sortModifiers: a
|
|
265
|
-
} = r, i = [],
|
|
266
|
-
let
|
|
267
|
-
for (let f =
|
|
268
|
-
const v =
|
|
269
|
-
isExternal:
|
|
265
|
+
} = r, i = [], u = e.trim().split(Dt);
|
|
266
|
+
let l = "";
|
|
267
|
+
for (let f = u.length - 1; f >= 0; f -= 1) {
|
|
268
|
+
const v = u[f], {
|
|
269
|
+
isExternal: k,
|
|
270
270
|
modifiers: j,
|
|
271
271
|
hasImportantModifier: g,
|
|
272
272
|
baseClassName: R,
|
|
273
|
-
maybePostfixModifierPosition:
|
|
273
|
+
maybePostfixModifierPosition: _
|
|
274
274
|
} = n(v);
|
|
275
|
-
if (
|
|
276
|
-
|
|
275
|
+
if (k) {
|
|
276
|
+
l = v + (l.length > 0 ? " " + l : l);
|
|
277
277
|
continue;
|
|
278
278
|
}
|
|
279
|
-
let
|
|
280
|
-
if (!
|
|
281
|
-
if (!
|
|
282
|
-
|
|
279
|
+
let S = !!_, T = o(S ? R.substring(0, _) : R);
|
|
280
|
+
if (!T) {
|
|
281
|
+
if (!S) {
|
|
282
|
+
l = v + (l.length > 0 ? " " + l : l);
|
|
283
283
|
continue;
|
|
284
284
|
}
|
|
285
|
-
if (
|
|
286
|
-
|
|
285
|
+
if (T = o(R), !T) {
|
|
286
|
+
l = v + (l.length > 0 ? " " + l : l);
|
|
287
287
|
continue;
|
|
288
288
|
}
|
|
289
|
-
|
|
289
|
+
S = !1;
|
|
290
290
|
}
|
|
291
|
-
const
|
|
292
|
-
if (i.indexOf(
|
|
291
|
+
const $ = j.length === 0 ? "" : j.length === 1 ? j[0] : a(j).join(":"), I = g ? $ + Ce : $, L = I + T;
|
|
292
|
+
if (i.indexOf(L) > -1)
|
|
293
293
|
continue;
|
|
294
|
-
i.push(
|
|
295
|
-
const
|
|
296
|
-
for (let
|
|
297
|
-
const
|
|
298
|
-
i.push(
|
|
294
|
+
i.push(L);
|
|
295
|
+
const C = s(T, S);
|
|
296
|
+
for (let N = 0; N < C.length; ++N) {
|
|
297
|
+
const D = C[N];
|
|
298
|
+
i.push(I + D);
|
|
299
299
|
}
|
|
300
|
-
|
|
300
|
+
l = v + (l.length > 0 ? " " + l : l);
|
|
301
301
|
}
|
|
302
|
-
return
|
|
302
|
+
return l;
|
|
303
303
|
}, Lt = (...e) => {
|
|
304
304
|
let r = 0, n, o, s = "";
|
|
305
305
|
for (; r < e.length; )
|
|
306
|
-
(n = e[r++]) && (o =
|
|
306
|
+
(n = e[r++]) && (o = ot(n)) && (s && (s += " "), s += o);
|
|
307
307
|
return s;
|
|
308
|
-
},
|
|
308
|
+
}, ot = (e) => {
|
|
309
309
|
if (typeof e == "string")
|
|
310
310
|
return e;
|
|
311
311
|
let r, n = "";
|
|
312
312
|
for (let o = 0; o < e.length; o++)
|
|
313
|
-
e[o] && (r =
|
|
313
|
+
e[o] && (r = ot(e[o])) && (n && (n += " "), n += r);
|
|
314
314
|
return n;
|
|
315
315
|
}, Ft = (e, ...r) => {
|
|
316
316
|
let n, o, s, a;
|
|
317
|
-
const i = (
|
|
318
|
-
const f = r.reduce((v,
|
|
319
|
-
return n = It(f), o = n.cache.get, s = n.cache.set, a =
|
|
320
|
-
},
|
|
321
|
-
const f = o(
|
|
317
|
+
const i = (l) => {
|
|
318
|
+
const f = r.reduce((v, k) => k(v), e());
|
|
319
|
+
return n = It(f), o = n.cache.get, s = n.cache.set, a = u, u(l);
|
|
320
|
+
}, u = (l) => {
|
|
321
|
+
const f = o(l);
|
|
322
322
|
if (f)
|
|
323
323
|
return f;
|
|
324
|
-
const v = Mt(
|
|
325
|
-
return s(
|
|
324
|
+
const v = Mt(l, n);
|
|
325
|
+
return s(l, v), v;
|
|
326
326
|
};
|
|
327
|
-
return a = i, (...
|
|
328
|
-
}, Gt = [],
|
|
327
|
+
return a = i, (...l) => a(Lt(...l));
|
|
328
|
+
}, Gt = [], A = (e) => {
|
|
329
329
|
const r = (n) => n[e] || Gt;
|
|
330
330
|
return r.isThemeGetter = !0, r;
|
|
331
|
-
},
|
|
331
|
+
}, nt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, st = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Bt = /^\d+\/\d+$/, Ut = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Vt = /\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$/, Wt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Yt = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ht = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, se = (e) => Bt.test(e), E = (e) => !!e && !Number.isNaN(Number(e)), ee = (e) => !!e && Number.isInteger(Number(e)), Ee = (e) => e.endsWith("%") && E(e.slice(0, -1)), J = (e) => Ut.test(e), Jt = () => !0, Xt = (e) => (
|
|
332
332
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
333
333
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
334
334
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
335
335
|
Vt.test(e) && !Wt.test(e)
|
|
336
|
-
),
|
|
337
|
-
const o =
|
|
336
|
+
), at = () => !1, qt = (e) => Yt.test(e), Zt = (e) => Ht.test(e), Kt = (e) => !m(e) && !p(e), Qt = (e) => de(e, ct, at), m = (e) => nt.test(e), re = (e) => de(e, dt, Xt), Re = (e) => de(e, nr, E), Ie = (e) => de(e, it, at), er = (e) => de(e, lt, Zt), he = (e) => de(e, ut, qt), p = (e) => st.test(e), fe = (e) => ue(e, dt), tr = (e) => ue(e, sr), De = (e) => ue(e, it), rr = (e) => ue(e, ct), or = (e) => ue(e, lt), xe = (e) => ue(e, ut, !0), de = (e, r, n) => {
|
|
337
|
+
const o = nt.exec(e);
|
|
338
338
|
return o ? o[1] ? r(o[1]) : n(o[2]) : !1;
|
|
339
339
|
}, ue = (e, r, n = !1) => {
|
|
340
|
-
const o =
|
|
340
|
+
const o = st.exec(e);
|
|
341
341
|
return o ? o[1] ? r(o[1]) : n : !1;
|
|
342
|
-
},
|
|
343
|
-
const e =
|
|
342
|
+
}, it = (e) => e === "position" || e === "percentage", lt = (e) => e === "image" || e === "url", ct = (e) => e === "length" || e === "size" || e === "bg-size", dt = (e) => e === "length", nr = (e) => e === "number", sr = (e) => e === "family-name", ut = (e) => e === "shadow", ar = () => {
|
|
343
|
+
const e = A("color"), r = A("font"), n = A("text"), o = A("font-weight"), s = A("tracking"), a = A("leading"), i = A("breakpoint"), u = A("container"), l = A("spacing"), f = A("radius"), v = A("shadow"), k = A("inset-shadow"), j = A("text-shadow"), g = A("drop-shadow"), R = A("blur"), _ = A("perspective"), S = A("aspect"), T = A("ease"), $ = A("animate"), I = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], L = () => [
|
|
344
344
|
"center",
|
|
345
345
|
"top",
|
|
346
346
|
"bottom",
|
|
@@ -358,9 +358,9 @@ const wt = (e, r) => {
|
|
|
358
358
|
"bottom-left",
|
|
359
359
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
360
360
|
"left-bottom"
|
|
361
|
-
],
|
|
361
|
+
], C = () => [...L(), p, m], N = () => ["auto", "hidden", "clip", "visible", "scroll"], D = () => ["auto", "contain", "none"], w = () => [p, m, l], O = () => [se, "full", "auto", ...w()], oe = () => [ee, "none", "subgrid", p, m], ne = () => ["auto", {
|
|
362
362
|
span: ["full", ee, p, m]
|
|
363
|
-
}, ee, p, m],
|
|
363
|
+
}, ee, p, m], V = () => [ee, "auto", p, m], q = () => ["auto", "min", "max", "fr", p, m], te = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], F = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], M = () => ["auto", ...w()], B = () => [se, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...w()], x = () => [e, p, m], Z = () => [...L(), De, Ie, {
|
|
364
364
|
position: [p, m]
|
|
365
365
|
}], K = () => ["no-repeat", {
|
|
366
366
|
repeat: ["", "x", "y", "space", "round"]
|
|
@@ -374,14 +374,14 @@ const wt = (e, r) => {
|
|
|
374
374
|
f,
|
|
375
375
|
p,
|
|
376
376
|
m
|
|
377
|
-
], y = () => ["", E, fe, re],
|
|
377
|
+
], y = () => ["", E, fe, re], U = () => ["solid", "dashed", "dotted", "double"], H = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], h = () => [E, Ee, De, Ie], z = () => [
|
|
378
378
|
// Deprecated since Tailwind CSS v4.0.0
|
|
379
379
|
"",
|
|
380
380
|
"none",
|
|
381
381
|
R,
|
|
382
382
|
p,
|
|
383
383
|
m
|
|
384
|
-
],
|
|
384
|
+
], W = () => ["none", E, p, m], Q = () => ["none", E, p, m], je = () => [E, p, m], ge = () => [se, "full", ...w()];
|
|
385
385
|
return {
|
|
386
386
|
cacheSize: 500,
|
|
387
387
|
theme: {
|
|
@@ -414,7 +414,7 @@ const wt = (e, r) => {
|
|
|
414
414
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
415
415
|
*/
|
|
416
416
|
aspect: [{
|
|
417
|
-
aspect: ["auto", "square", se, m, p,
|
|
417
|
+
aspect: ["auto", "square", se, m, p, S]
|
|
418
418
|
}],
|
|
419
419
|
/**
|
|
420
420
|
* Container
|
|
@@ -427,21 +427,21 @@ const wt = (e, r) => {
|
|
|
427
427
|
* @see https://tailwindcss.com/docs/columns
|
|
428
428
|
*/
|
|
429
429
|
columns: [{
|
|
430
|
-
columns: [E, m, p,
|
|
430
|
+
columns: [E, m, p, u]
|
|
431
431
|
}],
|
|
432
432
|
/**
|
|
433
433
|
* Break After
|
|
434
434
|
* @see https://tailwindcss.com/docs/break-after
|
|
435
435
|
*/
|
|
436
436
|
"break-after": [{
|
|
437
|
-
"break-after":
|
|
437
|
+
"break-after": I()
|
|
438
438
|
}],
|
|
439
439
|
/**
|
|
440
440
|
* Break Before
|
|
441
441
|
* @see https://tailwindcss.com/docs/break-before
|
|
442
442
|
*/
|
|
443
443
|
"break-before": [{
|
|
444
|
-
"break-before":
|
|
444
|
+
"break-before": I()
|
|
445
445
|
}],
|
|
446
446
|
/**
|
|
447
447
|
* Break Inside
|
|
@@ -505,49 +505,49 @@ const wt = (e, r) => {
|
|
|
505
505
|
* @see https://tailwindcss.com/docs/object-position
|
|
506
506
|
*/
|
|
507
507
|
"object-position": [{
|
|
508
|
-
object:
|
|
508
|
+
object: C()
|
|
509
509
|
}],
|
|
510
510
|
/**
|
|
511
511
|
* Overflow
|
|
512
512
|
* @see https://tailwindcss.com/docs/overflow
|
|
513
513
|
*/
|
|
514
514
|
overflow: [{
|
|
515
|
-
overflow:
|
|
515
|
+
overflow: N()
|
|
516
516
|
}],
|
|
517
517
|
/**
|
|
518
518
|
* Overflow X
|
|
519
519
|
* @see https://tailwindcss.com/docs/overflow
|
|
520
520
|
*/
|
|
521
521
|
"overflow-x": [{
|
|
522
|
-
"overflow-x":
|
|
522
|
+
"overflow-x": N()
|
|
523
523
|
}],
|
|
524
524
|
/**
|
|
525
525
|
* Overflow Y
|
|
526
526
|
* @see https://tailwindcss.com/docs/overflow
|
|
527
527
|
*/
|
|
528
528
|
"overflow-y": [{
|
|
529
|
-
"overflow-y":
|
|
529
|
+
"overflow-y": N()
|
|
530
530
|
}],
|
|
531
531
|
/**
|
|
532
532
|
* Overscroll Behavior
|
|
533
533
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
534
534
|
*/
|
|
535
535
|
overscroll: [{
|
|
536
|
-
overscroll:
|
|
536
|
+
overscroll: D()
|
|
537
537
|
}],
|
|
538
538
|
/**
|
|
539
539
|
* Overscroll Behavior X
|
|
540
540
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
541
541
|
*/
|
|
542
542
|
"overscroll-x": [{
|
|
543
|
-
"overscroll-x":
|
|
543
|
+
"overscroll-x": D()
|
|
544
544
|
}],
|
|
545
545
|
/**
|
|
546
546
|
* Overscroll Behavior Y
|
|
547
547
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
548
548
|
*/
|
|
549
549
|
"overscroll-y": [{
|
|
550
|
-
"overscroll-y":
|
|
550
|
+
"overscroll-y": D()
|
|
551
551
|
}],
|
|
552
552
|
/**
|
|
553
553
|
* Position
|
|
@@ -559,63 +559,63 @@ const wt = (e, r) => {
|
|
|
559
559
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
560
560
|
*/
|
|
561
561
|
inset: [{
|
|
562
|
-
inset:
|
|
562
|
+
inset: O()
|
|
563
563
|
}],
|
|
564
564
|
/**
|
|
565
565
|
* Right / Left
|
|
566
566
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
567
567
|
*/
|
|
568
568
|
"inset-x": [{
|
|
569
|
-
"inset-x":
|
|
569
|
+
"inset-x": O()
|
|
570
570
|
}],
|
|
571
571
|
/**
|
|
572
572
|
* Top / Bottom
|
|
573
573
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
574
574
|
*/
|
|
575
575
|
"inset-y": [{
|
|
576
|
-
"inset-y":
|
|
576
|
+
"inset-y": O()
|
|
577
577
|
}],
|
|
578
578
|
/**
|
|
579
579
|
* Start
|
|
580
580
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
581
581
|
*/
|
|
582
582
|
start: [{
|
|
583
|
-
start:
|
|
583
|
+
start: O()
|
|
584
584
|
}],
|
|
585
585
|
/**
|
|
586
586
|
* End
|
|
587
587
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
588
588
|
*/
|
|
589
589
|
end: [{
|
|
590
|
-
end:
|
|
590
|
+
end: O()
|
|
591
591
|
}],
|
|
592
592
|
/**
|
|
593
593
|
* Top
|
|
594
594
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
595
595
|
*/
|
|
596
596
|
top: [{
|
|
597
|
-
top:
|
|
597
|
+
top: O()
|
|
598
598
|
}],
|
|
599
599
|
/**
|
|
600
600
|
* Right
|
|
601
601
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
602
602
|
*/
|
|
603
603
|
right: [{
|
|
604
|
-
right:
|
|
604
|
+
right: O()
|
|
605
605
|
}],
|
|
606
606
|
/**
|
|
607
607
|
* Bottom
|
|
608
608
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
609
609
|
*/
|
|
610
610
|
bottom: [{
|
|
611
|
-
bottom:
|
|
611
|
+
bottom: O()
|
|
612
612
|
}],
|
|
613
613
|
/**
|
|
614
614
|
* Left
|
|
615
615
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
616
616
|
*/
|
|
617
617
|
left: [{
|
|
618
|
-
left:
|
|
618
|
+
left: O()
|
|
619
619
|
}],
|
|
620
620
|
/**
|
|
621
621
|
* Visibility
|
|
@@ -637,7 +637,7 @@ const wt = (e, r) => {
|
|
|
637
637
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
638
638
|
*/
|
|
639
639
|
basis: [{
|
|
640
|
-
basis: [se, "full", "auto",
|
|
640
|
+
basis: [se, "full", "auto", u, ...w()]
|
|
641
641
|
}],
|
|
642
642
|
/**
|
|
643
643
|
* Flex Direction
|
|
@@ -700,14 +700,14 @@ const wt = (e, r) => {
|
|
|
700
700
|
* @see https://tailwindcss.com/docs/grid-column
|
|
701
701
|
*/
|
|
702
702
|
"col-start": [{
|
|
703
|
-
"col-start":
|
|
703
|
+
"col-start": V()
|
|
704
704
|
}],
|
|
705
705
|
/**
|
|
706
706
|
* Grid Column End
|
|
707
707
|
* @see https://tailwindcss.com/docs/grid-column
|
|
708
708
|
*/
|
|
709
709
|
"col-end": [{
|
|
710
|
-
"col-end":
|
|
710
|
+
"col-end": V()
|
|
711
711
|
}],
|
|
712
712
|
/**
|
|
713
713
|
* Grid Template Rows
|
|
@@ -728,14 +728,14 @@ const wt = (e, r) => {
|
|
|
728
728
|
* @see https://tailwindcss.com/docs/grid-row
|
|
729
729
|
*/
|
|
730
730
|
"row-start": [{
|
|
731
|
-
"row-start":
|
|
731
|
+
"row-start": V()
|
|
732
732
|
}],
|
|
733
733
|
/**
|
|
734
734
|
* Grid Row End
|
|
735
735
|
* @see https://tailwindcss.com/docs/grid-row
|
|
736
736
|
*/
|
|
737
737
|
"row-end": [{
|
|
738
|
-
"row-end":
|
|
738
|
+
"row-end": V()
|
|
739
739
|
}],
|
|
740
740
|
/**
|
|
741
741
|
* Grid Auto Flow
|
|
@@ -763,21 +763,21 @@ const wt = (e, r) => {
|
|
|
763
763
|
* @see https://tailwindcss.com/docs/gap
|
|
764
764
|
*/
|
|
765
765
|
gap: [{
|
|
766
|
-
gap:
|
|
766
|
+
gap: w()
|
|
767
767
|
}],
|
|
768
768
|
/**
|
|
769
769
|
* Gap X
|
|
770
770
|
* @see https://tailwindcss.com/docs/gap
|
|
771
771
|
*/
|
|
772
772
|
"gap-x": [{
|
|
773
|
-
"gap-x":
|
|
773
|
+
"gap-x": w()
|
|
774
774
|
}],
|
|
775
775
|
/**
|
|
776
776
|
* Gap Y
|
|
777
777
|
* @see https://tailwindcss.com/docs/gap
|
|
778
778
|
*/
|
|
779
779
|
"gap-y": [{
|
|
780
|
-
"gap-y":
|
|
780
|
+
"gap-y": w()
|
|
781
781
|
}],
|
|
782
782
|
/**
|
|
783
783
|
* Justify Content
|
|
@@ -791,14 +791,14 @@ const wt = (e, r) => {
|
|
|
791
791
|
* @see https://tailwindcss.com/docs/justify-items
|
|
792
792
|
*/
|
|
793
793
|
"justify-items": [{
|
|
794
|
-
"justify-items": [...
|
|
794
|
+
"justify-items": [...F(), "normal"]
|
|
795
795
|
}],
|
|
796
796
|
/**
|
|
797
797
|
* Justify Self
|
|
798
798
|
* @see https://tailwindcss.com/docs/justify-self
|
|
799
799
|
*/
|
|
800
800
|
"justify-self": [{
|
|
801
|
-
"justify-self": ["auto", ...
|
|
801
|
+
"justify-self": ["auto", ...F()]
|
|
802
802
|
}],
|
|
803
803
|
/**
|
|
804
804
|
* Align Content
|
|
@@ -812,7 +812,7 @@ const wt = (e, r) => {
|
|
|
812
812
|
* @see https://tailwindcss.com/docs/align-items
|
|
813
813
|
*/
|
|
814
814
|
"align-items": [{
|
|
815
|
-
items: [...
|
|
815
|
+
items: [...F(), {
|
|
816
816
|
baseline: ["", "last"]
|
|
817
817
|
}]
|
|
818
818
|
}],
|
|
@@ -821,7 +821,7 @@ const wt = (e, r) => {
|
|
|
821
821
|
* @see https://tailwindcss.com/docs/align-self
|
|
822
822
|
*/
|
|
823
823
|
"align-self": [{
|
|
824
|
-
self: ["auto", ...
|
|
824
|
+
self: ["auto", ...F(), {
|
|
825
825
|
baseline: ["", "last"]
|
|
826
826
|
}]
|
|
827
827
|
}],
|
|
@@ -837,14 +837,14 @@ const wt = (e, r) => {
|
|
|
837
837
|
* @see https://tailwindcss.com/docs/place-items
|
|
838
838
|
*/
|
|
839
839
|
"place-items": [{
|
|
840
|
-
"place-items": [...
|
|
840
|
+
"place-items": [...F(), "baseline"]
|
|
841
841
|
}],
|
|
842
842
|
/**
|
|
843
843
|
* Place Self
|
|
844
844
|
* @see https://tailwindcss.com/docs/place-self
|
|
845
845
|
*/
|
|
846
846
|
"place-self": [{
|
|
847
|
-
"place-self": ["auto", ...
|
|
847
|
+
"place-self": ["auto", ...F()]
|
|
848
848
|
}],
|
|
849
849
|
// Spacing
|
|
850
850
|
/**
|
|
@@ -852,133 +852,133 @@ const wt = (e, r) => {
|
|
|
852
852
|
* @see https://tailwindcss.com/docs/padding
|
|
853
853
|
*/
|
|
854
854
|
p: [{
|
|
855
|
-
p:
|
|
855
|
+
p: w()
|
|
856
856
|
}],
|
|
857
857
|
/**
|
|
858
858
|
* Padding X
|
|
859
859
|
* @see https://tailwindcss.com/docs/padding
|
|
860
860
|
*/
|
|
861
861
|
px: [{
|
|
862
|
-
px:
|
|
862
|
+
px: w()
|
|
863
863
|
}],
|
|
864
864
|
/**
|
|
865
865
|
* Padding Y
|
|
866
866
|
* @see https://tailwindcss.com/docs/padding
|
|
867
867
|
*/
|
|
868
868
|
py: [{
|
|
869
|
-
py:
|
|
869
|
+
py: w()
|
|
870
870
|
}],
|
|
871
871
|
/**
|
|
872
872
|
* Padding Start
|
|
873
873
|
* @see https://tailwindcss.com/docs/padding
|
|
874
874
|
*/
|
|
875
875
|
ps: [{
|
|
876
|
-
ps:
|
|
876
|
+
ps: w()
|
|
877
877
|
}],
|
|
878
878
|
/**
|
|
879
879
|
* Padding End
|
|
880
880
|
* @see https://tailwindcss.com/docs/padding
|
|
881
881
|
*/
|
|
882
882
|
pe: [{
|
|
883
|
-
pe:
|
|
883
|
+
pe: w()
|
|
884
884
|
}],
|
|
885
885
|
/**
|
|
886
886
|
* Padding Top
|
|
887
887
|
* @see https://tailwindcss.com/docs/padding
|
|
888
888
|
*/
|
|
889
889
|
pt: [{
|
|
890
|
-
pt:
|
|
890
|
+
pt: w()
|
|
891
891
|
}],
|
|
892
892
|
/**
|
|
893
893
|
* Padding Right
|
|
894
894
|
* @see https://tailwindcss.com/docs/padding
|
|
895
895
|
*/
|
|
896
896
|
pr: [{
|
|
897
|
-
pr:
|
|
897
|
+
pr: w()
|
|
898
898
|
}],
|
|
899
899
|
/**
|
|
900
900
|
* Padding Bottom
|
|
901
901
|
* @see https://tailwindcss.com/docs/padding
|
|
902
902
|
*/
|
|
903
903
|
pb: [{
|
|
904
|
-
pb:
|
|
904
|
+
pb: w()
|
|
905
905
|
}],
|
|
906
906
|
/**
|
|
907
907
|
* Padding Left
|
|
908
908
|
* @see https://tailwindcss.com/docs/padding
|
|
909
909
|
*/
|
|
910
910
|
pl: [{
|
|
911
|
-
pl:
|
|
911
|
+
pl: w()
|
|
912
912
|
}],
|
|
913
913
|
/**
|
|
914
914
|
* Margin
|
|
915
915
|
* @see https://tailwindcss.com/docs/margin
|
|
916
916
|
*/
|
|
917
917
|
m: [{
|
|
918
|
-
m:
|
|
918
|
+
m: M()
|
|
919
919
|
}],
|
|
920
920
|
/**
|
|
921
921
|
* Margin X
|
|
922
922
|
* @see https://tailwindcss.com/docs/margin
|
|
923
923
|
*/
|
|
924
924
|
mx: [{
|
|
925
|
-
mx:
|
|
925
|
+
mx: M()
|
|
926
926
|
}],
|
|
927
927
|
/**
|
|
928
928
|
* Margin Y
|
|
929
929
|
* @see https://tailwindcss.com/docs/margin
|
|
930
930
|
*/
|
|
931
931
|
my: [{
|
|
932
|
-
my:
|
|
932
|
+
my: M()
|
|
933
933
|
}],
|
|
934
934
|
/**
|
|
935
935
|
* Margin Start
|
|
936
936
|
* @see https://tailwindcss.com/docs/margin
|
|
937
937
|
*/
|
|
938
938
|
ms: [{
|
|
939
|
-
ms:
|
|
939
|
+
ms: M()
|
|
940
940
|
}],
|
|
941
941
|
/**
|
|
942
942
|
* Margin End
|
|
943
943
|
* @see https://tailwindcss.com/docs/margin
|
|
944
944
|
*/
|
|
945
945
|
me: [{
|
|
946
|
-
me:
|
|
946
|
+
me: M()
|
|
947
947
|
}],
|
|
948
948
|
/**
|
|
949
949
|
* Margin Top
|
|
950
950
|
* @see https://tailwindcss.com/docs/margin
|
|
951
951
|
*/
|
|
952
952
|
mt: [{
|
|
953
|
-
mt:
|
|
953
|
+
mt: M()
|
|
954
954
|
}],
|
|
955
955
|
/**
|
|
956
956
|
* Margin Right
|
|
957
957
|
* @see https://tailwindcss.com/docs/margin
|
|
958
958
|
*/
|
|
959
959
|
mr: [{
|
|
960
|
-
mr:
|
|
960
|
+
mr: M()
|
|
961
961
|
}],
|
|
962
962
|
/**
|
|
963
963
|
* Margin Bottom
|
|
964
964
|
* @see https://tailwindcss.com/docs/margin
|
|
965
965
|
*/
|
|
966
966
|
mb: [{
|
|
967
|
-
mb:
|
|
967
|
+
mb: M()
|
|
968
968
|
}],
|
|
969
969
|
/**
|
|
970
970
|
* Margin Left
|
|
971
971
|
* @see https://tailwindcss.com/docs/margin
|
|
972
972
|
*/
|
|
973
973
|
ml: [{
|
|
974
|
-
ml:
|
|
974
|
+
ml: M()
|
|
975
975
|
}],
|
|
976
976
|
/**
|
|
977
977
|
* Space Between X
|
|
978
978
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
979
979
|
*/
|
|
980
980
|
"space-x": [{
|
|
981
|
-
"space-x":
|
|
981
|
+
"space-x": w()
|
|
982
982
|
}],
|
|
983
983
|
/**
|
|
984
984
|
* Space Between X Reverse
|
|
@@ -990,7 +990,7 @@ const wt = (e, r) => {
|
|
|
990
990
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
991
991
|
*/
|
|
992
992
|
"space-y": [{
|
|
993
|
-
"space-y":
|
|
993
|
+
"space-y": w()
|
|
994
994
|
}],
|
|
995
995
|
/**
|
|
996
996
|
* Space Between Y Reverse
|
|
@@ -1005,14 +1005,14 @@ const wt = (e, r) => {
|
|
|
1005
1005
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
1006
1006
|
*/
|
|
1007
1007
|
size: [{
|
|
1008
|
-
size:
|
|
1008
|
+
size: B()
|
|
1009
1009
|
}],
|
|
1010
1010
|
/**
|
|
1011
1011
|
* Width
|
|
1012
1012
|
* @see https://tailwindcss.com/docs/width
|
|
1013
1013
|
*/
|
|
1014
1014
|
w: [{
|
|
1015
|
-
w: [
|
|
1015
|
+
w: [u, "screen", ...B()]
|
|
1016
1016
|
}],
|
|
1017
1017
|
/**
|
|
1018
1018
|
* Min-Width
|
|
@@ -1020,11 +1020,11 @@ const wt = (e, r) => {
|
|
|
1020
1020
|
*/
|
|
1021
1021
|
"min-w": [{
|
|
1022
1022
|
"min-w": [
|
|
1023
|
-
|
|
1023
|
+
u,
|
|
1024
1024
|
"screen",
|
|
1025
1025
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1026
1026
|
"none",
|
|
1027
|
-
...
|
|
1027
|
+
...B()
|
|
1028
1028
|
]
|
|
1029
1029
|
}],
|
|
1030
1030
|
/**
|
|
@@ -1033,7 +1033,7 @@ const wt = (e, r) => {
|
|
|
1033
1033
|
*/
|
|
1034
1034
|
"max-w": [{
|
|
1035
1035
|
"max-w": [
|
|
1036
|
-
|
|
1036
|
+
u,
|
|
1037
1037
|
"screen",
|
|
1038
1038
|
"none",
|
|
1039
1039
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
@@ -1042,7 +1042,7 @@ const wt = (e, r) => {
|
|
|
1042
1042
|
{
|
|
1043
1043
|
screen: [i]
|
|
1044
1044
|
},
|
|
1045
|
-
...
|
|
1045
|
+
...B()
|
|
1046
1046
|
]
|
|
1047
1047
|
}],
|
|
1048
1048
|
/**
|
|
@@ -1050,21 +1050,21 @@ const wt = (e, r) => {
|
|
|
1050
1050
|
* @see https://tailwindcss.com/docs/height
|
|
1051
1051
|
*/
|
|
1052
1052
|
h: [{
|
|
1053
|
-
h: ["screen", "lh", ...
|
|
1053
|
+
h: ["screen", "lh", ...B()]
|
|
1054
1054
|
}],
|
|
1055
1055
|
/**
|
|
1056
1056
|
* Min-Height
|
|
1057
1057
|
* @see https://tailwindcss.com/docs/min-height
|
|
1058
1058
|
*/
|
|
1059
1059
|
"min-h": [{
|
|
1060
|
-
"min-h": ["screen", "lh", "none", ...
|
|
1060
|
+
"min-h": ["screen", "lh", "none", ...B()]
|
|
1061
1061
|
}],
|
|
1062
1062
|
/**
|
|
1063
1063
|
* Max-Height
|
|
1064
1064
|
* @see https://tailwindcss.com/docs/max-height
|
|
1065
1065
|
*/
|
|
1066
1066
|
"max-h": [{
|
|
1067
|
-
"max-h": ["screen", "lh", ...
|
|
1067
|
+
"max-h": ["screen", "lh", ...B()]
|
|
1068
1068
|
}],
|
|
1069
1069
|
// ------------------
|
|
1070
1070
|
// --- Typography ---
|
|
@@ -1159,7 +1159,7 @@ const wt = (e, r) => {
|
|
|
1159
1159
|
leading: [
|
|
1160
1160
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1161
1161
|
a,
|
|
1162
|
-
...
|
|
1162
|
+
...w()
|
|
1163
1163
|
]
|
|
1164
1164
|
}],
|
|
1165
1165
|
/**
|
|
@@ -1215,7 +1215,7 @@ const wt = (e, r) => {
|
|
|
1215
1215
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1216
1216
|
*/
|
|
1217
1217
|
"text-decoration-style": [{
|
|
1218
|
-
decoration: [...
|
|
1218
|
+
decoration: [...U(), "wavy"]
|
|
1219
1219
|
}],
|
|
1220
1220
|
/**
|
|
1221
1221
|
* Text Decoration Thickness
|
|
@@ -1260,7 +1260,7 @@ const wt = (e, r) => {
|
|
|
1260
1260
|
* @see https://tailwindcss.com/docs/text-indent
|
|
1261
1261
|
*/
|
|
1262
1262
|
indent: [{
|
|
1263
|
-
indent:
|
|
1263
|
+
indent: w()
|
|
1264
1264
|
}],
|
|
1265
1265
|
/**
|
|
1266
1266
|
* Vertical Alignment
|
|
@@ -1611,14 +1611,14 @@ const wt = (e, r) => {
|
|
|
1611
1611
|
* @see https://tailwindcss.com/docs/border-style
|
|
1612
1612
|
*/
|
|
1613
1613
|
"border-style": [{
|
|
1614
|
-
border: [...
|
|
1614
|
+
border: [...U(), "hidden", "none"]
|
|
1615
1615
|
}],
|
|
1616
1616
|
/**
|
|
1617
1617
|
* Divide Style
|
|
1618
1618
|
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
1619
1619
|
*/
|
|
1620
1620
|
"divide-style": [{
|
|
1621
|
-
divide: [...
|
|
1621
|
+
divide: [...U(), "hidden", "none"]
|
|
1622
1622
|
}],
|
|
1623
1623
|
/**
|
|
1624
1624
|
* Border Color
|
|
@@ -1695,7 +1695,7 @@ const wt = (e, r) => {
|
|
|
1695
1695
|
* @see https://tailwindcss.com/docs/outline-style
|
|
1696
1696
|
*/
|
|
1697
1697
|
"outline-style": [{
|
|
1698
|
-
outline: [...
|
|
1698
|
+
outline: [...U(), "none", "hidden"]
|
|
1699
1699
|
}],
|
|
1700
1700
|
/**
|
|
1701
1701
|
* Outline Offset
|
|
@@ -1747,7 +1747,7 @@ const wt = (e, r) => {
|
|
|
1747
1747
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
1748
1748
|
*/
|
|
1749
1749
|
"inset-shadow": [{
|
|
1750
|
-
"inset-shadow": ["none",
|
|
1750
|
+
"inset-shadow": ["none", k, xe, he]
|
|
1751
1751
|
}],
|
|
1752
1752
|
/**
|
|
1753
1753
|
* Inset Box Shadow Color
|
|
@@ -1835,14 +1835,14 @@ const wt = (e, r) => {
|
|
|
1835
1835
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
1836
1836
|
*/
|
|
1837
1837
|
"mix-blend": [{
|
|
1838
|
-
"mix-blend": [...
|
|
1838
|
+
"mix-blend": [...H(), "plus-darker", "plus-lighter"]
|
|
1839
1839
|
}],
|
|
1840
1840
|
/**
|
|
1841
1841
|
* Background Blend Mode
|
|
1842
1842
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
1843
1843
|
*/
|
|
1844
1844
|
"bg-blend": [{
|
|
1845
|
-
"bg-blend":
|
|
1845
|
+
"bg-blend": H()
|
|
1846
1846
|
}],
|
|
1847
1847
|
/**
|
|
1848
1848
|
* Mask Clip
|
|
@@ -1974,7 +1974,7 @@ const wt = (e, r) => {
|
|
|
1974
1974
|
}]
|
|
1975
1975
|
}],
|
|
1976
1976
|
"mask-image-radial-pos": [{
|
|
1977
|
-
"mask-radial-at":
|
|
1977
|
+
"mask-radial-at": L()
|
|
1978
1978
|
}],
|
|
1979
1979
|
"mask-image-conic-pos": [{
|
|
1980
1980
|
"mask-conic": [E]
|
|
@@ -2061,7 +2061,7 @@ const wt = (e, r) => {
|
|
|
2061
2061
|
* @see https://tailwindcss.com/docs/blur
|
|
2062
2062
|
*/
|
|
2063
2063
|
blur: [{
|
|
2064
|
-
blur:
|
|
2064
|
+
blur: z()
|
|
2065
2065
|
}],
|
|
2066
2066
|
/**
|
|
2067
2067
|
* Brightness
|
|
@@ -2151,7 +2151,7 @@ const wt = (e, r) => {
|
|
|
2151
2151
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2152
2152
|
*/
|
|
2153
2153
|
"backdrop-blur": [{
|
|
2154
|
-
"backdrop-blur":
|
|
2154
|
+
"backdrop-blur": z()
|
|
2155
2155
|
}],
|
|
2156
2156
|
/**
|
|
2157
2157
|
* Backdrop Brightness
|
|
@@ -2224,21 +2224,21 @@ const wt = (e, r) => {
|
|
|
2224
2224
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2225
2225
|
*/
|
|
2226
2226
|
"border-spacing": [{
|
|
2227
|
-
"border-spacing":
|
|
2227
|
+
"border-spacing": w()
|
|
2228
2228
|
}],
|
|
2229
2229
|
/**
|
|
2230
2230
|
* Border Spacing X
|
|
2231
2231
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2232
2232
|
*/
|
|
2233
2233
|
"border-spacing-x": [{
|
|
2234
|
-
"border-spacing-x":
|
|
2234
|
+
"border-spacing-x": w()
|
|
2235
2235
|
}],
|
|
2236
2236
|
/**
|
|
2237
2237
|
* Border Spacing Y
|
|
2238
2238
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2239
2239
|
*/
|
|
2240
2240
|
"border-spacing-y": [{
|
|
2241
|
-
"border-spacing-y":
|
|
2241
|
+
"border-spacing-y": w()
|
|
2242
2242
|
}],
|
|
2243
2243
|
/**
|
|
2244
2244
|
* Table Layout
|
|
@@ -2283,7 +2283,7 @@ const wt = (e, r) => {
|
|
|
2283
2283
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2284
2284
|
*/
|
|
2285
2285
|
ease: [{
|
|
2286
|
-
ease: ["linear", "initial",
|
|
2286
|
+
ease: ["linear", "initial", T, p, m]
|
|
2287
2287
|
}],
|
|
2288
2288
|
/**
|
|
2289
2289
|
* Transition Delay
|
|
@@ -2297,7 +2297,7 @@ const wt = (e, r) => {
|
|
|
2297
2297
|
* @see https://tailwindcss.com/docs/animation
|
|
2298
2298
|
*/
|
|
2299
2299
|
animate: [{
|
|
2300
|
-
animate: ["none",
|
|
2300
|
+
animate: ["none", $, p, m]
|
|
2301
2301
|
}],
|
|
2302
2302
|
// ------------------
|
|
2303
2303
|
// --- Transforms ---
|
|
@@ -2314,42 +2314,42 @@ const wt = (e, r) => {
|
|
|
2314
2314
|
* @see https://tailwindcss.com/docs/perspective
|
|
2315
2315
|
*/
|
|
2316
2316
|
perspective: [{
|
|
2317
|
-
perspective: [
|
|
2317
|
+
perspective: [_, p, m]
|
|
2318
2318
|
}],
|
|
2319
2319
|
/**
|
|
2320
2320
|
* Perspective Origin
|
|
2321
2321
|
* @see https://tailwindcss.com/docs/perspective-origin
|
|
2322
2322
|
*/
|
|
2323
2323
|
"perspective-origin": [{
|
|
2324
|
-
"perspective-origin":
|
|
2324
|
+
"perspective-origin": C()
|
|
2325
2325
|
}],
|
|
2326
2326
|
/**
|
|
2327
2327
|
* Rotate
|
|
2328
2328
|
* @see https://tailwindcss.com/docs/rotate
|
|
2329
2329
|
*/
|
|
2330
2330
|
rotate: [{
|
|
2331
|
-
rotate:
|
|
2331
|
+
rotate: W()
|
|
2332
2332
|
}],
|
|
2333
2333
|
/**
|
|
2334
2334
|
* Rotate X
|
|
2335
2335
|
* @see https://tailwindcss.com/docs/rotate
|
|
2336
2336
|
*/
|
|
2337
2337
|
"rotate-x": [{
|
|
2338
|
-
"rotate-x":
|
|
2338
|
+
"rotate-x": W()
|
|
2339
2339
|
}],
|
|
2340
2340
|
/**
|
|
2341
2341
|
* Rotate Y
|
|
2342
2342
|
* @see https://tailwindcss.com/docs/rotate
|
|
2343
2343
|
*/
|
|
2344
2344
|
"rotate-y": [{
|
|
2345
|
-
"rotate-y":
|
|
2345
|
+
"rotate-y": W()
|
|
2346
2346
|
}],
|
|
2347
2347
|
/**
|
|
2348
2348
|
* Rotate Z
|
|
2349
2349
|
* @see https://tailwindcss.com/docs/rotate
|
|
2350
2350
|
*/
|
|
2351
2351
|
"rotate-z": [{
|
|
2352
|
-
"rotate-z":
|
|
2352
|
+
"rotate-z": W()
|
|
2353
2353
|
}],
|
|
2354
2354
|
/**
|
|
2355
2355
|
* Scale
|
|
@@ -2417,7 +2417,7 @@ const wt = (e, r) => {
|
|
|
2417
2417
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
2418
2418
|
*/
|
|
2419
2419
|
"transform-origin": [{
|
|
2420
|
-
origin:
|
|
2420
|
+
origin: C()
|
|
2421
2421
|
}],
|
|
2422
2422
|
/**
|
|
2423
2423
|
* Transform Style
|
|
@@ -2530,126 +2530,126 @@ const wt = (e, r) => {
|
|
|
2530
2530
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2531
2531
|
*/
|
|
2532
2532
|
"scroll-m": [{
|
|
2533
|
-
"scroll-m":
|
|
2533
|
+
"scroll-m": w()
|
|
2534
2534
|
}],
|
|
2535
2535
|
/**
|
|
2536
2536
|
* Scroll Margin X
|
|
2537
2537
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2538
2538
|
*/
|
|
2539
2539
|
"scroll-mx": [{
|
|
2540
|
-
"scroll-mx":
|
|
2540
|
+
"scroll-mx": w()
|
|
2541
2541
|
}],
|
|
2542
2542
|
/**
|
|
2543
2543
|
* Scroll Margin Y
|
|
2544
2544
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2545
2545
|
*/
|
|
2546
2546
|
"scroll-my": [{
|
|
2547
|
-
"scroll-my":
|
|
2547
|
+
"scroll-my": w()
|
|
2548
2548
|
}],
|
|
2549
2549
|
/**
|
|
2550
2550
|
* Scroll Margin Start
|
|
2551
2551
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2552
2552
|
*/
|
|
2553
2553
|
"scroll-ms": [{
|
|
2554
|
-
"scroll-ms":
|
|
2554
|
+
"scroll-ms": w()
|
|
2555
2555
|
}],
|
|
2556
2556
|
/**
|
|
2557
2557
|
* Scroll Margin End
|
|
2558
2558
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2559
2559
|
*/
|
|
2560
2560
|
"scroll-me": [{
|
|
2561
|
-
"scroll-me":
|
|
2561
|
+
"scroll-me": w()
|
|
2562
2562
|
}],
|
|
2563
2563
|
/**
|
|
2564
2564
|
* Scroll Margin Top
|
|
2565
2565
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2566
2566
|
*/
|
|
2567
2567
|
"scroll-mt": [{
|
|
2568
|
-
"scroll-mt":
|
|
2568
|
+
"scroll-mt": w()
|
|
2569
2569
|
}],
|
|
2570
2570
|
/**
|
|
2571
2571
|
* Scroll Margin Right
|
|
2572
2572
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2573
2573
|
*/
|
|
2574
2574
|
"scroll-mr": [{
|
|
2575
|
-
"scroll-mr":
|
|
2575
|
+
"scroll-mr": w()
|
|
2576
2576
|
}],
|
|
2577
2577
|
/**
|
|
2578
2578
|
* Scroll Margin Bottom
|
|
2579
2579
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2580
2580
|
*/
|
|
2581
2581
|
"scroll-mb": [{
|
|
2582
|
-
"scroll-mb":
|
|
2582
|
+
"scroll-mb": w()
|
|
2583
2583
|
}],
|
|
2584
2584
|
/**
|
|
2585
2585
|
* Scroll Margin Left
|
|
2586
2586
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2587
2587
|
*/
|
|
2588
2588
|
"scroll-ml": [{
|
|
2589
|
-
"scroll-ml":
|
|
2589
|
+
"scroll-ml": w()
|
|
2590
2590
|
}],
|
|
2591
2591
|
/**
|
|
2592
2592
|
* Scroll Padding
|
|
2593
2593
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2594
2594
|
*/
|
|
2595
2595
|
"scroll-p": [{
|
|
2596
|
-
"scroll-p":
|
|
2596
|
+
"scroll-p": w()
|
|
2597
2597
|
}],
|
|
2598
2598
|
/**
|
|
2599
2599
|
* Scroll Padding X
|
|
2600
2600
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2601
2601
|
*/
|
|
2602
2602
|
"scroll-px": [{
|
|
2603
|
-
"scroll-px":
|
|
2603
|
+
"scroll-px": w()
|
|
2604
2604
|
}],
|
|
2605
2605
|
/**
|
|
2606
2606
|
* Scroll Padding Y
|
|
2607
2607
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2608
2608
|
*/
|
|
2609
2609
|
"scroll-py": [{
|
|
2610
|
-
"scroll-py":
|
|
2610
|
+
"scroll-py": w()
|
|
2611
2611
|
}],
|
|
2612
2612
|
/**
|
|
2613
2613
|
* Scroll Padding Start
|
|
2614
2614
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2615
2615
|
*/
|
|
2616
2616
|
"scroll-ps": [{
|
|
2617
|
-
"scroll-ps":
|
|
2617
|
+
"scroll-ps": w()
|
|
2618
2618
|
}],
|
|
2619
2619
|
/**
|
|
2620
2620
|
* Scroll Padding End
|
|
2621
2621
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2622
2622
|
*/
|
|
2623
2623
|
"scroll-pe": [{
|
|
2624
|
-
"scroll-pe":
|
|
2624
|
+
"scroll-pe": w()
|
|
2625
2625
|
}],
|
|
2626
2626
|
/**
|
|
2627
2627
|
* Scroll Padding Top
|
|
2628
2628
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2629
2629
|
*/
|
|
2630
2630
|
"scroll-pt": [{
|
|
2631
|
-
"scroll-pt":
|
|
2631
|
+
"scroll-pt": w()
|
|
2632
2632
|
}],
|
|
2633
2633
|
/**
|
|
2634
2634
|
* Scroll Padding Right
|
|
2635
2635
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2636
2636
|
*/
|
|
2637
2637
|
"scroll-pr": [{
|
|
2638
|
-
"scroll-pr":
|
|
2638
|
+
"scroll-pr": w()
|
|
2639
2639
|
}],
|
|
2640
2640
|
/**
|
|
2641
2641
|
* Scroll Padding Bottom
|
|
2642
2642
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2643
2643
|
*/
|
|
2644
2644
|
"scroll-pb": [{
|
|
2645
|
-
"scroll-pb":
|
|
2645
|
+
"scroll-pb": w()
|
|
2646
2646
|
}],
|
|
2647
2647
|
/**
|
|
2648
2648
|
* Scroll Padding Left
|
|
2649
2649
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2650
2650
|
*/
|
|
2651
2651
|
"scroll-pl": [{
|
|
2652
|
-
"scroll-pl":
|
|
2652
|
+
"scroll-pl": w()
|
|
2653
2653
|
}],
|
|
2654
2654
|
/**
|
|
2655
2655
|
* Scroll Snap Align
|
|
@@ -2809,7 +2809,7 @@ const wt = (e, r) => {
|
|
|
2809
2809
|
},
|
|
2810
2810
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
2811
2811
|
};
|
|
2812
|
-
}, ir = /* @__PURE__ */ Ft(ar),
|
|
2812
|
+
}, ir = /* @__PURE__ */ Ft(ar), G = (...e) => ir(yt(e)), $r = (e = "context") => {
|
|
2813
2813
|
const r = Je(null);
|
|
2814
2814
|
return [r, () => {
|
|
2815
2815
|
const o = Xe(r);
|
|
@@ -2828,8 +2828,8 @@ function lr() {
|
|
|
2828
2828
|
var i = null;
|
|
2829
2829
|
if (a !== void 0 && (i = "" + a), s.key !== void 0 && (i = "" + s.key), "key" in s) {
|
|
2830
2830
|
a = {};
|
|
2831
|
-
for (var
|
|
2832
|
-
|
|
2831
|
+
for (var u in s)
|
|
2832
|
+
u !== "key" && (a[u] = s[u]);
|
|
2833
2833
|
} else a = s;
|
|
2834
2834
|
return s = a.ref, {
|
|
2835
2835
|
$$typeof: e,
|
|
@@ -2851,15 +2851,15 @@ function cr() {
|
|
|
2851
2851
|
return t.$$typeof === ne ? null : t.displayName || t.name || null;
|
|
2852
2852
|
if (typeof t == "string") return t;
|
|
2853
2853
|
switch (t) {
|
|
2854
|
-
case
|
|
2854
|
+
case S:
|
|
2855
2855
|
return "Fragment";
|
|
2856
|
-
case
|
|
2856
|
+
case $:
|
|
2857
2857
|
return "Profiler";
|
|
2858
|
-
case
|
|
2858
|
+
case T:
|
|
2859
2859
|
return "StrictMode";
|
|
2860
|
-
case
|
|
2860
|
+
case N:
|
|
2861
2861
|
return "Suspense";
|
|
2862
|
-
case
|
|
2862
|
+
case D:
|
|
2863
2863
|
return "SuspenseList";
|
|
2864
2864
|
case oe:
|
|
2865
2865
|
return "Activity";
|
|
@@ -2868,18 +2868,18 @@ function cr() {
|
|
|
2868
2868
|
switch (typeof t.tag == "number" && console.error(
|
|
2869
2869
|
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
2870
2870
|
), t.$$typeof) {
|
|
2871
|
-
case
|
|
2871
|
+
case _:
|
|
2872
2872
|
return "Portal";
|
|
2873
|
-
case
|
|
2873
|
+
case L:
|
|
2874
2874
|
return t.displayName || "Context";
|
|
2875
|
-
case
|
|
2875
|
+
case I:
|
|
2876
2876
|
return (t._context.displayName || "Context") + ".Consumer";
|
|
2877
|
-
case
|
|
2877
|
+
case C:
|
|
2878
2878
|
var c = t.render;
|
|
2879
2879
|
return t = t.displayName, t || (t = c.displayName || c.name || "", t = t !== "" ? "ForwardRef(" + t + ")" : "ForwardRef"), t;
|
|
2880
|
-
case
|
|
2880
|
+
case w:
|
|
2881
2881
|
return c = t.displayName || null, c !== null ? c : e(t.type) || "Memo";
|
|
2882
|
-
case
|
|
2882
|
+
case O:
|
|
2883
2883
|
c = t._payload, t = t._init;
|
|
2884
2884
|
try {
|
|
2885
2885
|
return e(t(c));
|
|
@@ -2909,8 +2909,8 @@ function cr() {
|
|
|
2909
2909
|
}
|
|
2910
2910
|
}
|
|
2911
2911
|
function o(t) {
|
|
2912
|
-
if (t ===
|
|
2913
|
-
if (typeof t == "object" && t !== null && t.$$typeof ===
|
|
2912
|
+
if (t === S) return "<>";
|
|
2913
|
+
if (typeof t == "object" && t !== null && t.$$typeof === O)
|
|
2914
2914
|
return "<...>";
|
|
2915
2915
|
try {
|
|
2916
2916
|
var c = e(t);
|
|
@@ -2920,7 +2920,7 @@ function cr() {
|
|
|
2920
2920
|
}
|
|
2921
2921
|
}
|
|
2922
2922
|
function s() {
|
|
2923
|
-
var t =
|
|
2923
|
+
var t = V.A;
|
|
2924
2924
|
return t === null ? null : t.getOwner();
|
|
2925
2925
|
}
|
|
2926
2926
|
function a() {
|
|
@@ -2933,9 +2933,9 @@ function cr() {
|
|
|
2933
2933
|
}
|
|
2934
2934
|
return t.key !== void 0;
|
|
2935
2935
|
}
|
|
2936
|
-
function
|
|
2936
|
+
function u(t, c) {
|
|
2937
2937
|
function b() {
|
|
2938
|
-
|
|
2938
|
+
M || (M = !0, console.error(
|
|
2939
2939
|
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
2940
2940
|
c
|
|
2941
2941
|
));
|
|
@@ -2945,13 +2945,13 @@ function cr() {
|
|
|
2945
2945
|
configurable: !0
|
|
2946
2946
|
});
|
|
2947
2947
|
}
|
|
2948
|
-
function
|
|
2948
|
+
function l() {
|
|
2949
2949
|
var t = e(this.type);
|
|
2950
|
-
return
|
|
2950
|
+
return B[t] || (B[t] = !0, console.error(
|
|
2951
2951
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
2952
2952
|
)), t = this.props.ref, t !== void 0 ? t : null;
|
|
2953
2953
|
}
|
|
2954
|
-
function f(t, c, b, y,
|
|
2954
|
+
function f(t, c, b, y, U, H) {
|
|
2955
2955
|
var h = b.ref;
|
|
2956
2956
|
return t = {
|
|
2957
2957
|
$$typeof: R,
|
|
@@ -2961,7 +2961,7 @@ function cr() {
|
|
|
2961
2961
|
_owner: y
|
|
2962
2962
|
}, (h !== void 0 ? h : null) !== null ? Object.defineProperty(t, "ref", {
|
|
2963
2963
|
enumerable: !1,
|
|
2964
|
-
get:
|
|
2964
|
+
get: l
|
|
2965
2965
|
}) : Object.defineProperty(t, "ref", { enumerable: !1, value: null }), t._store = {}, Object.defineProperty(t._store, "validated", {
|
|
2966
2966
|
configurable: !1,
|
|
2967
2967
|
enumerable: !1,
|
|
@@ -2976,33 +2976,33 @@ function cr() {
|
|
|
2976
2976
|
configurable: !1,
|
|
2977
2977
|
enumerable: !1,
|
|
2978
2978
|
writable: !0,
|
|
2979
|
-
value:
|
|
2979
|
+
value: U
|
|
2980
2980
|
}), Object.defineProperty(t, "_debugTask", {
|
|
2981
2981
|
configurable: !1,
|
|
2982
2982
|
enumerable: !1,
|
|
2983
2983
|
writable: !0,
|
|
2984
|
-
value:
|
|
2984
|
+
value: H
|
|
2985
2985
|
}), Object.freeze && (Object.freeze(t.props), Object.freeze(t)), t;
|
|
2986
2986
|
}
|
|
2987
|
-
function v(t, c, b, y,
|
|
2987
|
+
function v(t, c, b, y, U, H) {
|
|
2988
2988
|
var h = c.children;
|
|
2989
2989
|
if (h !== void 0)
|
|
2990
2990
|
if (y)
|
|
2991
2991
|
if (te(h)) {
|
|
2992
2992
|
for (y = 0; y < h.length; y++)
|
|
2993
|
-
|
|
2993
|
+
k(h[y]);
|
|
2994
2994
|
Object.freeze && Object.freeze(h);
|
|
2995
2995
|
} else
|
|
2996
2996
|
console.error(
|
|
2997
2997
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
2998
2998
|
);
|
|
2999
|
-
else
|
|
2999
|
+
else k(h);
|
|
3000
3000
|
if (q.call(c, "key")) {
|
|
3001
3001
|
h = e(t);
|
|
3002
|
-
var
|
|
3002
|
+
var z = Object.keys(c).filter(function(Q) {
|
|
3003
3003
|
return Q !== "key";
|
|
3004
3004
|
});
|
|
3005
|
-
y = 0 <
|
|
3005
|
+
y = 0 < z.length ? "{key: someKey, " + z.join(": ..., ") + ": ...}" : "{key: someKey}", K[h + y] || (z = 0 < z.length ? "{" + z.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
3006
3006
|
`A props object containing a "key" prop is being spread into JSX:
|
|
3007
3007
|
let props = %s;
|
|
3008
3008
|
<%s {...props} />
|
|
@@ -3011,16 +3011,16 @@ React keys must be passed directly to JSX without using spread:
|
|
|
3011
3011
|
<%s key={someKey} {...props} />`,
|
|
3012
3012
|
y,
|
|
3013
3013
|
h,
|
|
3014
|
-
|
|
3014
|
+
z,
|
|
3015
3015
|
h
|
|
3016
3016
|
), K[h + y] = !0);
|
|
3017
3017
|
}
|
|
3018
3018
|
if (h = null, b !== void 0 && (n(b), h = "" + b), i(c) && (n(c.key), h = "" + c.key), "key" in c) {
|
|
3019
3019
|
b = {};
|
|
3020
|
-
for (var
|
|
3021
|
-
|
|
3020
|
+
for (var W in c)
|
|
3021
|
+
W !== "key" && (b[W] = c[W]);
|
|
3022
3022
|
} else b = c;
|
|
3023
|
-
return h &&
|
|
3023
|
+
return h && u(
|
|
3024
3024
|
b,
|
|
3025
3025
|
typeof t == "function" ? t.displayName || t.name || "Unknown" : t
|
|
3026
3026
|
), f(
|
|
@@ -3028,17 +3028,17 @@ React keys must be passed directly to JSX without using spread:
|
|
|
3028
3028
|
h,
|
|
3029
3029
|
b,
|
|
3030
3030
|
s(),
|
|
3031
|
-
|
|
3032
|
-
|
|
3031
|
+
U,
|
|
3032
|
+
H
|
|
3033
3033
|
);
|
|
3034
3034
|
}
|
|
3035
|
-
function
|
|
3036
|
-
j(t) ? t._store && (t._store.validated = 1) : typeof t == "object" && t !== null && t.$$typeof ===
|
|
3035
|
+
function k(t) {
|
|
3036
|
+
j(t) ? t._store && (t._store.validated = 1) : typeof t == "object" && t !== null && t.$$typeof === O && (t._payload.status === "fulfilled" ? j(t._payload.value) && t._payload.value._store && (t._payload.value._store.validated = 1) : t._store && (t._store.validated = 1));
|
|
3037
3037
|
}
|
|
3038
3038
|
function j(t) {
|
|
3039
3039
|
return typeof t == "object" && t !== null && t.$$typeof === R;
|
|
3040
3040
|
}
|
|
3041
|
-
var g = He, R = /* @__PURE__ */ Symbol.for("react.transitional.element"),
|
|
3041
|
+
var g = He, R = /* @__PURE__ */ Symbol.for("react.transitional.element"), _ = /* @__PURE__ */ Symbol.for("react.portal"), S = /* @__PURE__ */ Symbol.for("react.fragment"), T = /* @__PURE__ */ Symbol.for("react.strict_mode"), $ = /* @__PURE__ */ Symbol.for("react.profiler"), I = /* @__PURE__ */ Symbol.for("react.consumer"), L = /* @__PURE__ */ Symbol.for("react.context"), C = /* @__PURE__ */ Symbol.for("react.forward_ref"), N = /* @__PURE__ */ Symbol.for("react.suspense"), D = /* @__PURE__ */ Symbol.for("react.suspense_list"), w = /* @__PURE__ */ Symbol.for("react.memo"), O = /* @__PURE__ */ Symbol.for("react.lazy"), oe = /* @__PURE__ */ Symbol.for("react.activity"), ne = /* @__PURE__ */ Symbol.for("react.client.reference"), V = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, q = Object.prototype.hasOwnProperty, te = Array.isArray, F = console.createTask ? console.createTask : function() {
|
|
3042
3042
|
return null;
|
|
3043
3043
|
};
|
|
3044
3044
|
g = {
|
|
@@ -3046,29 +3046,29 @@ React keys must be passed directly to JSX without using spread:
|
|
|
3046
3046
|
return t();
|
|
3047
3047
|
}
|
|
3048
3048
|
};
|
|
3049
|
-
var
|
|
3049
|
+
var M, B = {}, x = g.react_stack_bottom_frame.bind(
|
|
3050
3050
|
g,
|
|
3051
3051
|
a
|
|
3052
|
-
)(), Z =
|
|
3053
|
-
pe.Fragment =
|
|
3054
|
-
var y = 1e4 >
|
|
3052
|
+
)(), Z = F(o(a)), K = {};
|
|
3053
|
+
pe.Fragment = S, pe.jsx = function(t, c, b) {
|
|
3054
|
+
var y = 1e4 > V.recentlyCreatedOwnerStacks++;
|
|
3055
3055
|
return v(
|
|
3056
3056
|
t,
|
|
3057
3057
|
c,
|
|
3058
3058
|
b,
|
|
3059
3059
|
!1,
|
|
3060
3060
|
y ? Error("react-stack-top-frame") : x,
|
|
3061
|
-
y ?
|
|
3061
|
+
y ? F(o(t)) : Z
|
|
3062
3062
|
);
|
|
3063
3063
|
}, pe.jsxs = function(t, c, b) {
|
|
3064
|
-
var y = 1e4 >
|
|
3064
|
+
var y = 1e4 > V.recentlyCreatedOwnerStacks++;
|
|
3065
3065
|
return v(
|
|
3066
3066
|
t,
|
|
3067
3067
|
c,
|
|
3068
3068
|
b,
|
|
3069
3069
|
!0,
|
|
3070
3070
|
y ? Error("react-stack-top-frame") : x,
|
|
3071
|
-
y ?
|
|
3071
|
+
y ? F(o(t)) : Z
|
|
3072
3072
|
);
|
|
3073
3073
|
};
|
|
3074
3074
|
})()), pe;
|
|
@@ -3078,7 +3078,7 @@ function dr() {
|
|
|
3078
3078
|
return Fe || (Fe = 1, process.env.NODE_ENV === "production" ? ye.exports = lr() : ye.exports = cr()), ye.exports;
|
|
3079
3079
|
}
|
|
3080
3080
|
var d = dr();
|
|
3081
|
-
const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(
|
|
3081
|
+
const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(pt, { name: n, mode: e ? "visible" : "hidden", children: r }), Dr = ({
|
|
3082
3082
|
style: e,
|
|
3083
3083
|
imageVar: r,
|
|
3084
3084
|
className: n = "",
|
|
@@ -3089,7 +3089,7 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(mt, {
|
|
|
3089
3089
|
"div",
|
|
3090
3090
|
{
|
|
3091
3091
|
...o,
|
|
3092
|
-
className:
|
|
3092
|
+
className: G(n, s),
|
|
3093
3093
|
style: {
|
|
3094
3094
|
...e,
|
|
3095
3095
|
backgroundSize: "cover",
|
|
@@ -3108,7 +3108,7 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(mt, {
|
|
|
3108
3108
|
diabled: s.disabled ? "bg-(--bg-smooth) text-(--fg-mini-text)" : `bg-(--bg-card) color-${e} cursor-pointer`,
|
|
3109
3109
|
"hover:disabled": s.disabled ? "" : "hover:transform-[scale(1.1)]",
|
|
3110
3110
|
"active:disabled": s.disabled ? "" : "active:transform-[scale(0.9)] active:bg-(--fg-component) active:opacity-[0.7]"
|
|
3111
|
-
}, i = o ? n :
|
|
3111
|
+
}, i = o ? n : G(
|
|
3112
3112
|
"px-4 py-2 w-fit rounded-lg page duration-200",
|
|
3113
3113
|
a.diabled,
|
|
3114
3114
|
a["hover:disabled"],
|
|
@@ -3137,7 +3137,7 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(mt, {
|
|
|
3137
3137
|
}
|
|
3138
3138
|
) })
|
|
3139
3139
|
}
|
|
3140
|
-
),
|
|
3140
|
+
), ft = ({
|
|
3141
3141
|
size: e,
|
|
3142
3142
|
ref: r,
|
|
3143
3143
|
className: n,
|
|
@@ -3164,20 +3164,20 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(mt, {
|
|
|
3164
3164
|
onClick: s,
|
|
3165
3165
|
size: a = 24,
|
|
3166
3166
|
checked: i = !1,
|
|
3167
|
-
type:
|
|
3168
|
-
...
|
|
3167
|
+
type: u,
|
|
3168
|
+
...l
|
|
3169
3169
|
}) => {
|
|
3170
|
-
const [f, v] = ie(i),
|
|
3170
|
+
const [f, v] = ie(i), k = Y(null), j = Y(null), g = `${a + pr}px`;
|
|
3171
3171
|
return le(() => {
|
|
3172
|
-
|
|
3173
|
-
|
|
3172
|
+
k.current && (j.current && (j.current.checked = f), f ? k.current.style.display = o?.display || "block" : k.current.style.opacity = "0", setTimeout(() => {
|
|
3173
|
+
k.current && (f ? k.current.style.opacity = "1" : k.current.style.display = "none");
|
|
3174
3174
|
}, 100));
|
|
3175
3175
|
}, [f, o?.display]), /* @__PURE__ */ d.jsxs(
|
|
3176
3176
|
"div",
|
|
3177
3177
|
{
|
|
3178
3178
|
className: [
|
|
3179
3179
|
"bg-(--bg-card) border-(--fg-mini-text) border-1 p-[8px] cursor-pointer duration-300",
|
|
3180
|
-
|
|
3180
|
+
u === "checkbox" ? "rounded-[20%]" : "rounded-[100%]",
|
|
3181
3181
|
"hover:bg-(--fg-card)",
|
|
3182
3182
|
n
|
|
3183
3183
|
].join(" "),
|
|
@@ -3189,9 +3189,9 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(mt, {
|
|
|
3189
3189
|
onClick: (R) => {
|
|
3190
3190
|
s?.(R), v(!f);
|
|
3191
3191
|
},
|
|
3192
|
-
...
|
|
3192
|
+
...l,
|
|
3193
3193
|
children: [
|
|
3194
|
-
|
|
3194
|
+
u === "checkbox" ? /* @__PURE__ */ d.jsx(ur, { className: "duration-300", ref: k, size: a }) : /* @__PURE__ */ d.jsx(ft, { className: "duration-300", ref: k, size: a }),
|
|
3195
3195
|
/* @__PURE__ */ d.jsx(
|
|
3196
3196
|
"input",
|
|
3197
3197
|
{
|
|
@@ -3205,8 +3205,8 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(mt, {
|
|
|
3205
3205
|
]
|
|
3206
3206
|
}
|
|
3207
3207
|
);
|
|
3208
|
-
}, Mr = (e) => /* @__PURE__ */ d.jsx(br, { type: "checkbox", ...e }),
|
|
3209
|
-
const e = Xe(
|
|
3208
|
+
}, Mr = (e) => /* @__PURE__ */ d.jsx(br, { type: "checkbox", ...e }), mt = Je(null), Oe = () => {
|
|
3209
|
+
const e = Xe(mt);
|
|
3210
3210
|
if (!e)
|
|
3211
3211
|
throw new Error("useDropdown must be used within DropdownProvider");
|
|
3212
3212
|
return e;
|
|
@@ -3227,18 +3227,18 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(mt, {
|
|
|
3227
3227
|
defaultHorizontalPosition: s = "right",
|
|
3228
3228
|
defaultVertialPosition: a = "bottom",
|
|
3229
3229
|
menuAlign: i = "center",
|
|
3230
|
-
className:
|
|
3231
|
-
...
|
|
3230
|
+
className: u,
|
|
3231
|
+
...l
|
|
3232
3232
|
}) => {
|
|
3233
|
-
const [f, v] = ie(!1),
|
|
3234
|
-
(
|
|
3235
|
-
if (
|
|
3236
|
-
v(
|
|
3233
|
+
const [f, v] = ie(!1), k = Y(null), j = Y(null), g = Y(null), R = ae(
|
|
3234
|
+
(_) => {
|
|
3235
|
+
if (_) {
|
|
3236
|
+
v(_), r?.(_);
|
|
3237
3237
|
return;
|
|
3238
3238
|
}
|
|
3239
|
-
v((
|
|
3240
|
-
const
|
|
3241
|
-
return r?.(
|
|
3239
|
+
v((S) => {
|
|
3240
|
+
const T = !S;
|
|
3241
|
+
return r?.(T), T;
|
|
3242
3242
|
});
|
|
3243
3243
|
},
|
|
3244
3244
|
[v, r]
|
|
@@ -3246,19 +3246,19 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(mt, {
|
|
|
3246
3246
|
return gr(j, () => {
|
|
3247
3247
|
n && f && R(!1);
|
|
3248
3248
|
}), le(() => {
|
|
3249
|
-
const
|
|
3250
|
-
f &&
|
|
3249
|
+
const _ = (S) => {
|
|
3250
|
+
f && S.key === "Escape" && R(!1);
|
|
3251
3251
|
};
|
|
3252
|
-
return document.addEventListener("keydown",
|
|
3253
|
-
document.removeEventListener("keydown",
|
|
3252
|
+
return document.addEventListener("keydown", _), () => {
|
|
3253
|
+
document.removeEventListener("keydown", _);
|
|
3254
3254
|
};
|
|
3255
3255
|
}, [f, R]), /* @__PURE__ */ d.jsx(
|
|
3256
|
-
|
|
3256
|
+
mt.Provider,
|
|
3257
3257
|
{
|
|
3258
3258
|
value: {
|
|
3259
3259
|
opened: f,
|
|
3260
3260
|
toggle: R,
|
|
3261
|
-
dropdownRef:
|
|
3261
|
+
dropdownRef: k,
|
|
3262
3262
|
menuRef: j,
|
|
3263
3263
|
triggerRef: g,
|
|
3264
3264
|
openToOtherSide: o,
|
|
@@ -3269,9 +3269,9 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(mt, {
|
|
|
3269
3269
|
children: /* @__PURE__ */ d.jsx(
|
|
3270
3270
|
"div",
|
|
3271
3271
|
{
|
|
3272
|
-
ref:
|
|
3273
|
-
className:
|
|
3274
|
-
...
|
|
3272
|
+
ref: k,
|
|
3273
|
+
className: G("relative inline-block", u),
|
|
3274
|
+
...l,
|
|
3275
3275
|
children: e
|
|
3276
3276
|
}
|
|
3277
3277
|
)
|
|
@@ -3287,46 +3287,46 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(mt, {
|
|
|
3287
3287
|
opened: s,
|
|
3288
3288
|
menuRef: a,
|
|
3289
3289
|
triggerRef: i,
|
|
3290
|
-
defaultHorizontalPosition:
|
|
3291
|
-
defaultVertialPosition:
|
|
3290
|
+
defaultHorizontalPosition: u,
|
|
3291
|
+
defaultVertialPosition: l,
|
|
3292
3292
|
openToOtherSide: f,
|
|
3293
3293
|
menuAlign: v
|
|
3294
|
-
} = Oe(),
|
|
3294
|
+
} = Oe(), k = ae(
|
|
3295
3295
|
(g) => {
|
|
3296
|
-
const R = g === "x" ? "innerWidth" : "innerHeight",
|
|
3297
|
-
return (
|
|
3298
|
-
if (!a.current ||
|
|
3296
|
+
const R = g === "x" ? "innerWidth" : "innerHeight", _ = g === "x" ? "width" : "height", S = g === "x" ? "right" : "bottom";
|
|
3297
|
+
return (T, $) => {
|
|
3298
|
+
if (!a.current || T[S] < window[R])
|
|
3299
3299
|
return;
|
|
3300
|
-
const
|
|
3300
|
+
const I = T[S] - window[R];
|
|
3301
3301
|
if (f) {
|
|
3302
|
-
const
|
|
3303
|
-
a.current.style[g] = `${
|
|
3302
|
+
const C = g === "y" ? $ : 0;
|
|
3303
|
+
a.current.style[g] = `${T[g] - I - C}px`;
|
|
3304
3304
|
return;
|
|
3305
3305
|
}
|
|
3306
|
-
const
|
|
3307
|
-
if (
|
|
3308
|
-
a.current.style[g] = `${
|
|
3306
|
+
const L = T[g] - T[_];
|
|
3307
|
+
if (L >= 0) {
|
|
3308
|
+
a.current.style[g] = `${L}px`;
|
|
3309
3309
|
return;
|
|
3310
3310
|
}
|
|
3311
|
-
a.current.style[g] = `${
|
|
3311
|
+
a.current.style[g] = `${T[g] - I}px`;
|
|
3312
3312
|
};
|
|
3313
3313
|
},
|
|
3314
3314
|
[a, f]
|
|
3315
3315
|
);
|
|
3316
|
-
if (
|
|
3316
|
+
if (qe(() => {
|
|
3317
3317
|
if (!a.current || !i.current || !s)
|
|
3318
3318
|
return;
|
|
3319
|
-
const g = i.current.getBoundingClientRect(), R = a.current.getBoundingClientRect(),
|
|
3320
|
-
|
|
3321
|
-
const
|
|
3322
|
-
|
|
3319
|
+
const g = i.current.getBoundingClientRect(), R = a.current.getBoundingClientRect(), _ = v === "center" ? g.width / 2 : v === "right" ? g.width : 0, S = g.left + window.scrollX + _, T = g.top + g.height + window.scrollY;
|
|
3320
|
+
u === "right" ? a.current.style.left = `${S}px` : a.current.style.left = `${S - R.width}px`, l === "bottom" ? a.current.style.top = `${T}px` : a.current.style.top = `${T - R.height - g.height}px`;
|
|
3321
|
+
const $ = a.current.getBoundingClientRect();
|
|
3322
|
+
k("x")($, g.height), k("y")($, g.height);
|
|
3323
3323
|
}, [
|
|
3324
3324
|
s,
|
|
3325
|
-
|
|
3325
|
+
k,
|
|
3326
3326
|
a,
|
|
3327
3327
|
i,
|
|
3328
|
-
l,
|
|
3329
3328
|
u,
|
|
3329
|
+
l,
|
|
3330
3330
|
v
|
|
3331
3331
|
]), !s)
|
|
3332
3332
|
return null;
|
|
@@ -3334,7 +3334,7 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(mt, {
|
|
|
3334
3334
|
"div",
|
|
3335
3335
|
{
|
|
3336
3336
|
ref: a,
|
|
3337
|
-
className:
|
|
3337
|
+
className: G(
|
|
3338
3338
|
"bg-(--bg-smooth-light) absolute z-100 rounded-lg shadow-lg",
|
|
3339
3339
|
"flex flex-col min-w-40",
|
|
3340
3340
|
r
|
|
@@ -3356,14 +3356,14 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(mt, {
|
|
|
3356
3356
|
variant: o,
|
|
3357
3357
|
...s
|
|
3358
3358
|
}) => {
|
|
3359
|
-
const { toggle: a } = Oe(), i = (
|
|
3360
|
-
s.disabled || (r?.(
|
|
3359
|
+
const { toggle: a } = Oe(), i = (u) => {
|
|
3360
|
+
s.disabled || (r?.(u), a(!1));
|
|
3361
3361
|
};
|
|
3362
3362
|
return /* @__PURE__ */ d.jsx(
|
|
3363
3363
|
ke,
|
|
3364
3364
|
{
|
|
3365
3365
|
onClick: i,
|
|
3366
|
-
className:
|
|
3366
|
+
className: G(
|
|
3367
3367
|
"px-4 py-2 w-full text-left rounded-lg page duration-300",
|
|
3368
3368
|
s.disabled ? "text-(--fg-mini-text)" : `color-${o} cursor-pointer`,
|
|
3369
3369
|
"hover:bg-(--fg-mini-text-30)",
|
|
@@ -3400,7 +3400,7 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(mt, {
|
|
|
3400
3400
|
overwriteClassName: r,
|
|
3401
3401
|
...n
|
|
3402
3402
|
}) => {
|
|
3403
|
-
const o = r ? e :
|
|
3403
|
+
const o = r ? e : G(
|
|
3404
3404
|
"bg-(--bg-card) px-4 py-2 rounded-lg min-w-30 max-w-60",
|
|
3405
3405
|
"focus:outline-0",
|
|
3406
3406
|
e
|
|
@@ -3414,25 +3414,25 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(mt, {
|
|
|
3414
3414
|
onChange: s,
|
|
3415
3415
|
...a
|
|
3416
3416
|
}) => {
|
|
3417
|
-
const i = r ? e :
|
|
3417
|
+
const i = r ? e : G(
|
|
3418
3418
|
"bg-(--bg-card) px-4 py-2 rounded-lg min-w-30 max-w-150 min-h-10 resize",
|
|
3419
3419
|
"focus:outline-0",
|
|
3420
3420
|
e
|
|
3421
|
-
),
|
|
3422
|
-
const f =
|
|
3421
|
+
), u = (l) => {
|
|
3422
|
+
const f = l.currentTarget;
|
|
3423
3423
|
f.style.height = "auto";
|
|
3424
|
-
const v = parseInt(getComputedStyle(f).lineHeight),
|
|
3424
|
+
const v = parseInt(getComputedStyle(f).lineHeight), k = Math.min(
|
|
3425
3425
|
Math.max(f.scrollHeight, n * v),
|
|
3426
3426
|
o * v
|
|
3427
3427
|
);
|
|
3428
|
-
f.style.height = `${
|
|
3428
|
+
f.style.height = `${k}px`, s?.(l);
|
|
3429
3429
|
};
|
|
3430
3430
|
return /* @__PURE__ */ d.jsx(
|
|
3431
3431
|
"textarea",
|
|
3432
3432
|
{
|
|
3433
3433
|
placeholder: "write here...",
|
|
3434
3434
|
className: i,
|
|
3435
|
-
onChange:
|
|
3435
|
+
onChange: u,
|
|
3436
3436
|
...a
|
|
3437
3437
|
}
|
|
3438
3438
|
);
|
|
@@ -3445,12 +3445,12 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(mt, {
|
|
|
3445
3445
|
style: a,
|
|
3446
3446
|
...i
|
|
3447
3447
|
}) => {
|
|
3448
|
-
const
|
|
3448
|
+
const u = s ? "" : "z-100";
|
|
3449
3449
|
return Ae(
|
|
3450
3450
|
/* @__PURE__ */ d.jsx(
|
|
3451
3451
|
"div",
|
|
3452
3452
|
{
|
|
3453
|
-
className:
|
|
3453
|
+
className: G("fixed top-0 h-screen w-screen", u, o),
|
|
3454
3454
|
...i,
|
|
3455
3455
|
style: {
|
|
3456
3456
|
zIndex: s,
|
|
@@ -3465,7 +3465,7 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(mt, {
|
|
|
3465
3465
|
}, Yr = ({ size: e = 48, className: r = "" }) => /* @__PURE__ */ d.jsxs(
|
|
3466
3466
|
"svg",
|
|
3467
3467
|
{
|
|
3468
|
-
className:
|
|
3468
|
+
className: G("animate-spin text-(--bg-smooth-light)", r),
|
|
3469
3469
|
style: {
|
|
3470
3470
|
height: e + "px",
|
|
3471
3471
|
width: e + "px"
|
|
@@ -3491,7 +3491,7 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(mt, {
|
|
|
3491
3491
|
className: o
|
|
3492
3492
|
}) => {
|
|
3493
3493
|
const s = Math.round(e);
|
|
3494
|
-
return /* @__PURE__ */ d.jsx("div", { className:
|
|
3494
|
+
return /* @__PURE__ */ d.jsx("div", { className: G("w-full", o), children: /* @__PURE__ */ d.jsxs("div", { className: "relative w-full", style: { height: r }, children: [
|
|
3495
3495
|
/* @__PURE__ */ d.jsx(
|
|
3496
3496
|
"svg",
|
|
3497
3497
|
{
|
|
@@ -3540,7 +3540,7 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(mt, {
|
|
|
3540
3540
|
}, Jr = ({
|
|
3541
3541
|
className: e,
|
|
3542
3542
|
height: r
|
|
3543
|
-
}) => /* @__PURE__ */ d.jsx("div", { className:
|
|
3543
|
+
}) => /* @__PURE__ */ d.jsx("div", { className: G("w-full", e), children: /* @__PURE__ */ d.jsxs("div", { className: "relative w-full", style: { height: r }, children: [
|
|
3544
3544
|
/* @__PURE__ */ d.jsx(
|
|
3545
3545
|
"svg",
|
|
3546
3546
|
{
|
|
@@ -3589,21 +3589,21 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(mt, {
|
|
|
3589
3589
|
color: s = "var(--bg-smooth)",
|
|
3590
3590
|
animation: a,
|
|
3591
3591
|
delay: i = 0.1,
|
|
3592
|
-
container:
|
|
3593
|
-
autoPaddingDisabled:
|
|
3592
|
+
container: u,
|
|
3593
|
+
autoPaddingDisabled: l = !1
|
|
3594
3594
|
}) => {
|
|
3595
|
-
const f = e === "orbit" ? "absolute" : "", v =
|
|
3595
|
+
const f = e === "orbit" ? "absolute" : "", v = l ? {} : { padding: r * 2 }, k = a ? `var(${a})` : `var(--animate-ellipse-${e})`;
|
|
3596
3596
|
if (n <= 0)
|
|
3597
3597
|
throw new Error("Elements can not be zero");
|
|
3598
3598
|
if (n > 12)
|
|
3599
3599
|
throw new Error("Element can not be more than 12");
|
|
3600
3600
|
const j = new Array(n).fill(n).map((g, R) => /* @__PURE__ */ d.jsx(
|
|
3601
|
-
|
|
3601
|
+
ft,
|
|
3602
3602
|
{
|
|
3603
3603
|
size: r,
|
|
3604
3604
|
fill: s,
|
|
3605
3605
|
style: {
|
|
3606
|
-
animation:
|
|
3606
|
+
animation: k,
|
|
3607
3607
|
animationDuration: o + "s",
|
|
3608
3608
|
animationDelay: `${i * R}s`
|
|
3609
3609
|
},
|
|
@@ -3611,7 +3611,7 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(mt, {
|
|
|
3611
3611
|
},
|
|
3612
3612
|
g + R
|
|
3613
3613
|
));
|
|
3614
|
-
return
|
|
3614
|
+
return u ? /* @__PURE__ */ d.jsx(u, { children: j }) : /* @__PURE__ */ d.jsx("div", { className: "flex flex-row gap-2 w-fit h-fit", style: v, children: j });
|
|
3615
3615
|
}, hr = 12, xr = 8, qr = ({
|
|
3616
3616
|
inputId: e,
|
|
3617
3617
|
inputName: r,
|
|
@@ -3620,31 +3620,31 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(mt, {
|
|
|
3620
3620
|
className: s,
|
|
3621
3621
|
onClick: a,
|
|
3622
3622
|
radioSize: i = 24,
|
|
3623
|
-
checked:
|
|
3624
|
-
...
|
|
3623
|
+
checked: u = !1,
|
|
3624
|
+
...l
|
|
3625
3625
|
}) => {
|
|
3626
|
-
const [f, v] = ie(
|
|
3626
|
+
const [f, v] = ie(u);
|
|
3627
3627
|
i < hr && !n && console.error(
|
|
3628
3628
|
"radio size less than minimal, set radioSize = 12 or more too resolve"
|
|
3629
3629
|
);
|
|
3630
|
-
const
|
|
3630
|
+
const k = i * 4, j = k - xr * 2 - i, g = f ? "bg-(--bg-card)" : "bg-(--bg-section)", R = f ? "bg-(--fg-default)" : "bg-(--fg-mini-text)", _ = f ? j : 0;
|
|
3631
3631
|
return /* @__PURE__ */ d.jsxs(
|
|
3632
3632
|
"div",
|
|
3633
3633
|
{
|
|
3634
3634
|
style: {
|
|
3635
|
-
width: `${
|
|
3635
|
+
width: `${k}px`,
|
|
3636
3636
|
...o
|
|
3637
3637
|
},
|
|
3638
|
-
className:
|
|
3638
|
+
className: G(
|
|
3639
3639
|
"rounded-[200px] py-[6px] px-[8px] cursor-pointer duration-300",
|
|
3640
3640
|
g,
|
|
3641
3641
|
"hover:bg-(--fg-card)",
|
|
3642
3642
|
s
|
|
3643
3643
|
),
|
|
3644
|
-
onClick: (
|
|
3645
|
-
v(!f), a?.(
|
|
3644
|
+
onClick: (S) => {
|
|
3645
|
+
v(!f), a?.(S);
|
|
3646
3646
|
},
|
|
3647
|
-
...
|
|
3647
|
+
...l,
|
|
3648
3648
|
children: [
|
|
3649
3649
|
/* @__PURE__ */ d.jsx(
|
|
3650
3650
|
"div",
|
|
@@ -3656,7 +3656,7 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(mt, {
|
|
|
3656
3656
|
style: {
|
|
3657
3657
|
height: `${i}px`,
|
|
3658
3658
|
width: `${i}px`,
|
|
3659
|
-
left: `${
|
|
3659
|
+
left: `${_}px`
|
|
3660
3660
|
}
|
|
3661
3661
|
}
|
|
3662
3662
|
),
|
|
@@ -3682,18 +3682,18 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(mt, {
|
|
|
3682
3682
|
"div",
|
|
3683
3683
|
{
|
|
3684
3684
|
...n,
|
|
3685
|
-
className:
|
|
3685
|
+
className: G(
|
|
3686
3686
|
"bg-(image:--image-bg) flex gap-8 px-12 py-4 rounded-lg page",
|
|
3687
3687
|
o,
|
|
3688
3688
|
r
|
|
3689
3689
|
)
|
|
3690
3690
|
}
|
|
3691
3691
|
);
|
|
3692
|
-
},
|
|
3692
|
+
}, P = [];
|
|
3693
3693
|
for (let e = 0; e < 256; ++e)
|
|
3694
|
-
|
|
3694
|
+
P.push((e + 256).toString(16).slice(1));
|
|
3695
3695
|
function yr(e, r = 0) {
|
|
3696
|
-
return (
|
|
3696
|
+
return (P[e[r + 0]] + P[e[r + 1]] + P[e[r + 2]] + P[e[r + 3]] + "-" + P[e[r + 4]] + P[e[r + 5]] + "-" + P[e[r + 6]] + P[e[r + 7]] + "-" + P[e[r + 8]] + P[e[r + 9]] + "-" + P[e[r + 10]] + P[e[r + 11]] + P[e[r + 12]] + P[e[r + 13]] + P[e[r + 14]] + P[e[r + 15]]).toLowerCase();
|
|
3697
3697
|
}
|
|
3698
3698
|
let _e;
|
|
3699
3699
|
const wr = new Uint8Array(16);
|
|
@@ -3725,8 +3725,8 @@ function Rr() {
|
|
|
3725
3725
|
var i = null;
|
|
3726
3726
|
if (a !== void 0 && (i = "" + a), s.key !== void 0 && (i = "" + s.key), "key" in s) {
|
|
3727
3727
|
a = {};
|
|
3728
|
-
for (var
|
|
3729
|
-
|
|
3728
|
+
for (var u in s)
|
|
3729
|
+
u !== "key" && (a[u] = s[u]);
|
|
3730
3730
|
} else a = s;
|
|
3731
3731
|
return s = a.ref, {
|
|
3732
3732
|
$$typeof: e,
|
|
@@ -3747,15 +3747,15 @@ function _r() {
|
|
|
3747
3747
|
return t.$$typeof === ne ? null : t.displayName || t.name || null;
|
|
3748
3748
|
if (typeof t == "string") return t;
|
|
3749
3749
|
switch (t) {
|
|
3750
|
-
case
|
|
3750
|
+
case S:
|
|
3751
3751
|
return "Fragment";
|
|
3752
|
-
case
|
|
3752
|
+
case $:
|
|
3753
3753
|
return "Profiler";
|
|
3754
|
-
case
|
|
3754
|
+
case T:
|
|
3755
3755
|
return "StrictMode";
|
|
3756
|
-
case
|
|
3756
|
+
case N:
|
|
3757
3757
|
return "Suspense";
|
|
3758
|
-
case
|
|
3758
|
+
case D:
|
|
3759
3759
|
return "SuspenseList";
|
|
3760
3760
|
case oe:
|
|
3761
3761
|
return "Activity";
|
|
@@ -3764,18 +3764,18 @@ function _r() {
|
|
|
3764
3764
|
switch (typeof t.tag == "number" && console.error(
|
|
3765
3765
|
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
3766
3766
|
), t.$$typeof) {
|
|
3767
|
-
case
|
|
3767
|
+
case _:
|
|
3768
3768
|
return "Portal";
|
|
3769
|
-
case
|
|
3769
|
+
case L:
|
|
3770
3770
|
return t.displayName || "Context";
|
|
3771
|
-
case
|
|
3771
|
+
case I:
|
|
3772
3772
|
return (t._context.displayName || "Context") + ".Consumer";
|
|
3773
|
-
case
|
|
3773
|
+
case C:
|
|
3774
3774
|
var c = t.render;
|
|
3775
3775
|
return t = t.displayName, t || (t = c.displayName || c.name || "", t = t !== "" ? "ForwardRef(" + t + ")" : "ForwardRef"), t;
|
|
3776
|
-
case
|
|
3776
|
+
case w:
|
|
3777
3777
|
return c = t.displayName || null, c !== null ? c : e(t.type) || "Memo";
|
|
3778
|
-
case
|
|
3778
|
+
case O:
|
|
3779
3779
|
c = t._payload, t = t._init;
|
|
3780
3780
|
try {
|
|
3781
3781
|
return e(t(c));
|
|
@@ -3805,8 +3805,8 @@ function _r() {
|
|
|
3805
3805
|
}
|
|
3806
3806
|
}
|
|
3807
3807
|
function o(t) {
|
|
3808
|
-
if (t ===
|
|
3809
|
-
if (typeof t == "object" && t !== null && t.$$typeof ===
|
|
3808
|
+
if (t === S) return "<>";
|
|
3809
|
+
if (typeof t == "object" && t !== null && t.$$typeof === O)
|
|
3810
3810
|
return "<...>";
|
|
3811
3811
|
try {
|
|
3812
3812
|
var c = e(t);
|
|
@@ -3816,7 +3816,7 @@ function _r() {
|
|
|
3816
3816
|
}
|
|
3817
3817
|
}
|
|
3818
3818
|
function s() {
|
|
3819
|
-
var t =
|
|
3819
|
+
var t = V.A;
|
|
3820
3820
|
return t === null ? null : t.getOwner();
|
|
3821
3821
|
}
|
|
3822
3822
|
function a() {
|
|
@@ -3829,9 +3829,9 @@ function _r() {
|
|
|
3829
3829
|
}
|
|
3830
3830
|
return t.key !== void 0;
|
|
3831
3831
|
}
|
|
3832
|
-
function
|
|
3832
|
+
function u(t, c) {
|
|
3833
3833
|
function b() {
|
|
3834
|
-
|
|
3834
|
+
M || (M = !0, console.error(
|
|
3835
3835
|
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
3836
3836
|
c
|
|
3837
3837
|
));
|
|
@@ -3841,13 +3841,13 @@ function _r() {
|
|
|
3841
3841
|
configurable: !0
|
|
3842
3842
|
});
|
|
3843
3843
|
}
|
|
3844
|
-
function
|
|
3844
|
+
function l() {
|
|
3845
3845
|
var t = e(this.type);
|
|
3846
|
-
return
|
|
3846
|
+
return B[t] || (B[t] = !0, console.error(
|
|
3847
3847
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
3848
3848
|
)), t = this.props.ref, t !== void 0 ? t : null;
|
|
3849
3849
|
}
|
|
3850
|
-
function f(t, c, b, y,
|
|
3850
|
+
function f(t, c, b, y, U, H) {
|
|
3851
3851
|
var h = b.ref;
|
|
3852
3852
|
return t = {
|
|
3853
3853
|
$$typeof: R,
|
|
@@ -3857,7 +3857,7 @@ function _r() {
|
|
|
3857
3857
|
_owner: y
|
|
3858
3858
|
}, (h !== void 0 ? h : null) !== null ? Object.defineProperty(t, "ref", {
|
|
3859
3859
|
enumerable: !1,
|
|
3860
|
-
get:
|
|
3860
|
+
get: l
|
|
3861
3861
|
}) : Object.defineProperty(t, "ref", { enumerable: !1, value: null }), t._store = {}, Object.defineProperty(t._store, "validated", {
|
|
3862
3862
|
configurable: !1,
|
|
3863
3863
|
enumerable: !1,
|
|
@@ -3872,33 +3872,33 @@ function _r() {
|
|
|
3872
3872
|
configurable: !1,
|
|
3873
3873
|
enumerable: !1,
|
|
3874
3874
|
writable: !0,
|
|
3875
|
-
value:
|
|
3875
|
+
value: U
|
|
3876
3876
|
}), Object.defineProperty(t, "_debugTask", {
|
|
3877
3877
|
configurable: !1,
|
|
3878
3878
|
enumerable: !1,
|
|
3879
3879
|
writable: !0,
|
|
3880
|
-
value:
|
|
3880
|
+
value: H
|
|
3881
3881
|
}), Object.freeze && (Object.freeze(t.props), Object.freeze(t)), t;
|
|
3882
3882
|
}
|
|
3883
|
-
function v(t, c, b, y,
|
|
3883
|
+
function v(t, c, b, y, U, H) {
|
|
3884
3884
|
var h = c.children;
|
|
3885
3885
|
if (h !== void 0)
|
|
3886
3886
|
if (y)
|
|
3887
3887
|
if (te(h)) {
|
|
3888
3888
|
for (y = 0; y < h.length; y++)
|
|
3889
|
-
|
|
3889
|
+
k(h[y]);
|
|
3890
3890
|
Object.freeze && Object.freeze(h);
|
|
3891
3891
|
} else
|
|
3892
3892
|
console.error(
|
|
3893
3893
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
3894
3894
|
);
|
|
3895
|
-
else
|
|
3895
|
+
else k(h);
|
|
3896
3896
|
if (q.call(c, "key")) {
|
|
3897
3897
|
h = e(t);
|
|
3898
|
-
var
|
|
3898
|
+
var z = Object.keys(c).filter(function(Q) {
|
|
3899
3899
|
return Q !== "key";
|
|
3900
3900
|
});
|
|
3901
|
-
y = 0 <
|
|
3901
|
+
y = 0 < z.length ? "{key: someKey, " + z.join(": ..., ") + ": ...}" : "{key: someKey}", K[h + y] || (z = 0 < z.length ? "{" + z.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
3902
3902
|
`A props object containing a "key" prop is being spread into JSX:
|
|
3903
3903
|
let props = %s;
|
|
3904
3904
|
<%s {...props} />
|
|
@@ -3907,16 +3907,16 @@ React keys must be passed directly to JSX without using spread:
|
|
|
3907
3907
|
<%s key={someKey} {...props} />`,
|
|
3908
3908
|
y,
|
|
3909
3909
|
h,
|
|
3910
|
-
|
|
3910
|
+
z,
|
|
3911
3911
|
h
|
|
3912
3912
|
), K[h + y] = !0);
|
|
3913
3913
|
}
|
|
3914
3914
|
if (h = null, b !== void 0 && (n(b), h = "" + b), i(c) && (n(c.key), h = "" + c.key), "key" in c) {
|
|
3915
3915
|
b = {};
|
|
3916
|
-
for (var
|
|
3917
|
-
|
|
3916
|
+
for (var W in c)
|
|
3917
|
+
W !== "key" && (b[W] = c[W]);
|
|
3918
3918
|
} else b = c;
|
|
3919
|
-
return h &&
|
|
3919
|
+
return h && u(
|
|
3920
3920
|
b,
|
|
3921
3921
|
typeof t == "function" ? t.displayName || t.name || "Unknown" : t
|
|
3922
3922
|
), f(
|
|
@@ -3924,17 +3924,17 @@ React keys must be passed directly to JSX without using spread:
|
|
|
3924
3924
|
h,
|
|
3925
3925
|
b,
|
|
3926
3926
|
s(),
|
|
3927
|
-
|
|
3928
|
-
|
|
3927
|
+
U,
|
|
3928
|
+
H
|
|
3929
3929
|
);
|
|
3930
3930
|
}
|
|
3931
|
-
function
|
|
3932
|
-
j(t) ? t._store && (t._store.validated = 1) : typeof t == "object" && t !== null && t.$$typeof ===
|
|
3931
|
+
function k(t) {
|
|
3932
|
+
j(t) ? t._store && (t._store.validated = 1) : typeof t == "object" && t !== null && t.$$typeof === O && (t._payload.status === "fulfilled" ? j(t._payload.value) && t._payload.value._store && (t._payload.value._store.validated = 1) : t._store && (t._store.validated = 1));
|
|
3933
3933
|
}
|
|
3934
3934
|
function j(t) {
|
|
3935
3935
|
return typeof t == "object" && t !== null && t.$$typeof === R;
|
|
3936
3936
|
}
|
|
3937
|
-
var g = He, R = /* @__PURE__ */ Symbol.for("react.transitional.element"),
|
|
3937
|
+
var g = He, R = /* @__PURE__ */ Symbol.for("react.transitional.element"), _ = /* @__PURE__ */ Symbol.for("react.portal"), S = /* @__PURE__ */ Symbol.for("react.fragment"), T = /* @__PURE__ */ Symbol.for("react.strict_mode"), $ = /* @__PURE__ */ Symbol.for("react.profiler"), I = /* @__PURE__ */ Symbol.for("react.consumer"), L = /* @__PURE__ */ Symbol.for("react.context"), C = /* @__PURE__ */ Symbol.for("react.forward_ref"), N = /* @__PURE__ */ Symbol.for("react.suspense"), D = /* @__PURE__ */ Symbol.for("react.suspense_list"), w = /* @__PURE__ */ Symbol.for("react.memo"), O = /* @__PURE__ */ Symbol.for("react.lazy"), oe = /* @__PURE__ */ Symbol.for("react.activity"), ne = /* @__PURE__ */ Symbol.for("react.client.reference"), V = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, q = Object.prototype.hasOwnProperty, te = Array.isArray, F = console.createTask ? console.createTask : function() {
|
|
3938
3938
|
return null;
|
|
3939
3939
|
};
|
|
3940
3940
|
g = {
|
|
@@ -3942,29 +3942,29 @@ React keys must be passed directly to JSX without using spread:
|
|
|
3942
3942
|
return t();
|
|
3943
3943
|
}
|
|
3944
3944
|
};
|
|
3945
|
-
var
|
|
3945
|
+
var M, B = {}, x = g.react_stack_bottom_frame.bind(
|
|
3946
3946
|
g,
|
|
3947
3947
|
a
|
|
3948
|
-
)(), Z =
|
|
3949
|
-
we.Fragment =
|
|
3950
|
-
var y = 1e4 >
|
|
3948
|
+
)(), Z = F(o(a)), K = {};
|
|
3949
|
+
we.Fragment = S, we.jsx = function(t, c, b) {
|
|
3950
|
+
var y = 1e4 > V.recentlyCreatedOwnerStacks++;
|
|
3951
3951
|
return v(
|
|
3952
3952
|
t,
|
|
3953
3953
|
c,
|
|
3954
3954
|
b,
|
|
3955
3955
|
!1,
|
|
3956
3956
|
y ? Error("react-stack-top-frame") : x,
|
|
3957
|
-
y ?
|
|
3957
|
+
y ? F(o(t)) : Z
|
|
3958
3958
|
);
|
|
3959
3959
|
}, we.jsxs = function(t, c, b) {
|
|
3960
|
-
var y = 1e4 >
|
|
3960
|
+
var y = 1e4 > V.recentlyCreatedOwnerStacks++;
|
|
3961
3961
|
return v(
|
|
3962
3962
|
t,
|
|
3963
3963
|
c,
|
|
3964
3964
|
b,
|
|
3965
3965
|
!0,
|
|
3966
3966
|
y ? Error("react-stack-top-frame") : x,
|
|
3967
|
-
y ?
|
|
3967
|
+
y ? F(o(t)) : Z
|
|
3968
3968
|
);
|
|
3969
3969
|
};
|
|
3970
3970
|
})()), we;
|
|
@@ -3982,18 +3982,18 @@ const We = 2, Ye = 2, Tr = ({
|
|
|
3982
3982
|
className: s,
|
|
3983
3983
|
...a
|
|
3984
3984
|
}) => {
|
|
3985
|
-
const i = e - We,
|
|
3985
|
+
const i = e - We, u = i + We, l = u / 2, f = n || i >= 24 ? Ye : Ye / 2, v = (i - f) / 2, k = l - v, j = l - f / 2;
|
|
3986
3986
|
if (i < 12 && !o)
|
|
3987
3987
|
throw new Error("size of X can not be less than 12");
|
|
3988
3988
|
const g = (R) => /* @__PURE__ */ Te.jsx(
|
|
3989
3989
|
"rect",
|
|
3990
3990
|
{
|
|
3991
|
-
x:
|
|
3991
|
+
x: k,
|
|
3992
3992
|
y: j,
|
|
3993
3993
|
width: i,
|
|
3994
3994
|
height: f,
|
|
3995
3995
|
rx: f / 2,
|
|
3996
|
-
transform: `rotate(${R} ${
|
|
3996
|
+
transform: `rotate(${R} ${l} ${l})`,
|
|
3997
3997
|
fill: r
|
|
3998
3998
|
}
|
|
3999
3999
|
);
|
|
@@ -4008,9 +4008,9 @@ const We = 2, Ye = 2, Tr = ({
|
|
|
4008
4008
|
children: /* @__PURE__ */ Te.jsxs(
|
|
4009
4009
|
"svg",
|
|
4010
4010
|
{
|
|
4011
|
-
width:
|
|
4012
|
-
height:
|
|
4013
|
-
viewBox: `0 0 ${
|
|
4011
|
+
width: u,
|
|
4012
|
+
height: u,
|
|
4013
|
+
viewBox: `0 0 ${u} ${u}`,
|
|
4014
4014
|
fill: "none",
|
|
4015
4015
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4016
4016
|
children: [
|
|
@@ -4032,7 +4032,7 @@ const We = 2, Ye = 2, Tr = ({
|
|
|
4032
4032
|
}) => /* @__PURE__ */ d.jsxs(
|
|
4033
4033
|
"div",
|
|
4034
4034
|
{
|
|
4035
|
-
className:
|
|
4035
|
+
className: G(
|
|
4036
4036
|
!o && "fixed left-1/2 -translate-x-1/2 top-3/4",
|
|
4037
4037
|
"bg-(--bg-card) text-base rounded-lg py-2 px-5",
|
|
4038
4038
|
"flex gap-3 items-center shadow-lg",
|
|
@@ -4052,72 +4052,77 @@ const We = 2, Ye = 2, Tr = ({
|
|
|
4052
4052
|
)
|
|
4053
4053
|
]
|
|
4054
4054
|
}
|
|
4055
|
-
), Kr = (
|
|
4056
|
-
|
|
4057
|
-
|
|
4058
|
-
|
|
4055
|
+
), Kr = ({
|
|
4056
|
+
duration: e,
|
|
4057
|
+
delay: r = 1e3,
|
|
4058
|
+
usePortal: n = !0
|
|
4059
|
+
}) => {
|
|
4060
|
+
const o = Y({}), [s, a] = ie([]), [i, u] = ie(!0), [l, f] = ie(null), v = Y(l), k = Y(0), j = Y(/* @__PURE__ */ new Map()), g = Y(null), R = Y(null), _ = ae(
|
|
4061
|
+
(C) => {
|
|
4062
|
+
if (!v.current)
|
|
4059
4063
|
return;
|
|
4060
|
-
if (
|
|
4061
|
-
return
|
|
4062
|
-
|
|
4063
|
-
const
|
|
4064
|
-
|
|
4065
|
-
|
|
4064
|
+
if (v.current.id !== C)
|
|
4065
|
+
return a((D) => D.filter((w) => w.id !== C)), j.current.delete(C);
|
|
4066
|
+
u(!0);
|
|
4067
|
+
const N = j.current.get(C);
|
|
4068
|
+
N && (window.clearTimeout(N), j.current.delete(C)), g.current && window.clearTimeout(g.current), g.current = window.setTimeout(() => {
|
|
4069
|
+
a((D) => D.filter((w) => w.id !== C)), f(null), g.current = null;
|
|
4066
4070
|
}, r);
|
|
4067
4071
|
},
|
|
4068
|
-
[
|
|
4069
|
-
),
|
|
4070
|
-
|
|
4071
|
-
}, [
|
|
4072
|
-
if (
|
|
4073
|
-
return
|
|
4074
|
-
const
|
|
4075
|
-
|
|
4076
|
-
const
|
|
4077
|
-
|
|
4072
|
+
[v, r]
|
|
4073
|
+
), S = ae(() => {
|
|
4074
|
+
j.current.forEach(window.clearTimeout), g.current && window.clearTimeout(g.current), l && _(l.id), a([]), u(!0);
|
|
4075
|
+
}, [_, l]), T = ae(() => {
|
|
4076
|
+
if (s.length === 0)
|
|
4077
|
+
return f(null);
|
|
4078
|
+
const C = s[0];
|
|
4079
|
+
f(C), u(!1);
|
|
4080
|
+
const N = window.setTimeout(() => {
|
|
4081
|
+
_(C.id);
|
|
4078
4082
|
}, e);
|
|
4079
|
-
|
|
4080
|
-
}, [
|
|
4081
|
-
(
|
|
4082
|
-
|
|
4083
|
-
const
|
|
4084
|
-
id: String(
|
|
4085
|
-
text:
|
|
4086
|
-
close:
|
|
4083
|
+
j.current.set(C.id, N);
|
|
4084
|
+
}, [_, e, s]), $ = ae(
|
|
4085
|
+
(C) => {
|
|
4086
|
+
k.current++;
|
|
4087
|
+
const D = {
|
|
4088
|
+
id: String(k.current),
|
|
4089
|
+
text: C,
|
|
4090
|
+
close: _
|
|
4087
4091
|
};
|
|
4088
|
-
|
|
4092
|
+
a((w) => [...w, D]);
|
|
4089
4093
|
},
|
|
4090
|
-
[
|
|
4094
|
+
[_]
|
|
4091
4095
|
);
|
|
4092
|
-
|
|
4093
|
-
|
|
4096
|
+
le(() => {
|
|
4097
|
+
v.current = l;
|
|
4094
4098
|
}, [l]), le(() => {
|
|
4095
|
-
!l &&
|
|
4096
|
-
}, [l,
|
|
4097
|
-
|
|
4099
|
+
!l && s.length > 0 && T();
|
|
4100
|
+
}, [l, s, T]), le(() => () => {
|
|
4101
|
+
j.current.forEach(window.clearTimeout), g.current && window.clearTimeout(g.current);
|
|
4102
|
+
}, []);
|
|
4103
|
+
const I = /* @__PURE__ */ d.jsx("div", { className: "fixed w-0 h-0", children: /* @__PURE__ */ d.jsx(
|
|
4104
|
+
Cr,
|
|
4105
|
+
{
|
|
4106
|
+
...l || {},
|
|
4107
|
+
close: _,
|
|
4108
|
+
closed: i,
|
|
4109
|
+
text: l ? l.text instanceof Function ? l.text({ count: k.current, current: l, queue: s }) : l.text : null
|
|
4110
|
+
}
|
|
4111
|
+
) });
|
|
4112
|
+
return qe(() => {
|
|
4113
|
+
R.current = document;
|
|
4098
4114
|
}, []), {
|
|
4099
|
-
NotificationComponent: Ae(
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
|
|
4104
|
-
close: g,
|
|
4105
|
-
closed: a,
|
|
4106
|
-
text: l ? l.text instanceof Function ? l.text({ count: v.current, current: l, queue: o }) : l.text : null
|
|
4107
|
-
}
|
|
4108
|
-
) }),
|
|
4109
|
-
document.body
|
|
4110
|
-
),
|
|
4111
|
-
notifications: n,
|
|
4112
|
-
notificate: _,
|
|
4113
|
-
count: v,
|
|
4114
|
-
queue: o,
|
|
4115
|
+
NotificationComponent: n ? R.current ? Ae(I, R.current.body) : null : I,
|
|
4116
|
+
notifications: o,
|
|
4117
|
+
notificate: $,
|
|
4118
|
+
count: k,
|
|
4119
|
+
queue: s,
|
|
4115
4120
|
current: l,
|
|
4116
|
-
closeAll:
|
|
4117
|
-
close:
|
|
4121
|
+
closeAll: S,
|
|
4122
|
+
close: _
|
|
4118
4123
|
};
|
|
4119
4124
|
}, Ar = () => /* @__PURE__ */ d.jsxs("div", { className: "flex flex-col justify-center gap-4", children: [
|
|
4120
|
-
Object.keys(
|
|
4125
|
+
Object.keys(Ke).map((e) => /* @__PURE__ */ d.jsxs(ke, { variant: e, children: [
|
|
4121
4126
|
"Button ",
|
|
4122
4127
|
e
|
|
4123
4128
|
] }, e)),
|
|
@@ -4199,7 +4204,7 @@ export {
|
|
|
4199
4204
|
zr as VARIABLES,
|
|
4200
4205
|
Zr as Wrapper,
|
|
4201
4206
|
ce as borderRadius,
|
|
4202
|
-
|
|
4207
|
+
G as cn,
|
|
4203
4208
|
$r as createContext,
|
|
4204
4209
|
Kr as useNotifications
|
|
4205
4210
|
};
|