@byuckchon-frontend/core 1.1.2 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +1031 -830
- package/dist/index.umd.js +2 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,114 +1,114 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { createContext as
|
|
3
|
-
const
|
|
4
|
-
const r = new Array(
|
|
5
|
-
for (let n = 0; n <
|
|
6
|
-
r[n] =
|
|
1
|
+
import { jsxs as Fo, jsx as mo } from "react/jsx-runtime";
|
|
2
|
+
import { createContext as Uo, useState as Go, useContext as Ho, Component as Wo } from "react";
|
|
3
|
+
const Bo = (e, o) => {
|
|
4
|
+
const r = new Array(e.length + o.length);
|
|
5
|
+
for (let n = 0; n < e.length; n++)
|
|
6
|
+
r[n] = e[n];
|
|
7
7
|
for (let n = 0; n < o.length; n++)
|
|
8
|
-
r[
|
|
8
|
+
r[e.length + n] = o[n];
|
|
9
9
|
return r;
|
|
10
|
-
},
|
|
11
|
-
classGroupId:
|
|
10
|
+
}, jo = (e, o) => ({
|
|
11
|
+
classGroupId: e,
|
|
12
12
|
validator: o
|
|
13
|
-
}),
|
|
14
|
-
nextPart:
|
|
13
|
+
}), uo = (e = /* @__PURE__ */ new Map(), o = null, r) => ({
|
|
14
|
+
nextPart: e,
|
|
15
15
|
validators: o,
|
|
16
16
|
classGroupId: r
|
|
17
|
-
}),
|
|
18
|
-
const o =
|
|
17
|
+
}), ot = "-", Vt = [], Vo = "arbitrary..", Yo = (e) => {
|
|
18
|
+
const o = $o(e), {
|
|
19
19
|
conflictingClassGroups: r,
|
|
20
20
|
conflictingClassGroupModifiers: n
|
|
21
|
-
} =
|
|
21
|
+
} = e;
|
|
22
22
|
return {
|
|
23
|
-
getClassGroupId: (
|
|
24
|
-
if (
|
|
25
|
-
return
|
|
26
|
-
const
|
|
27
|
-
return
|
|
23
|
+
getClassGroupId: (a) => {
|
|
24
|
+
if (a.startsWith("[") && a.endsWith("]"))
|
|
25
|
+
return Xo(a);
|
|
26
|
+
const h = a.split(ot), u = h[0] === "" && h.length > 1 ? 1 : 0;
|
|
27
|
+
return fo(h, u, o);
|
|
28
28
|
},
|
|
29
|
-
getConflictingClassGroupIds: (
|
|
30
|
-
if (
|
|
31
|
-
const
|
|
32
|
-
return
|
|
29
|
+
getConflictingClassGroupIds: (a, h) => {
|
|
30
|
+
if (h) {
|
|
31
|
+
const u = n[a], b = r[a];
|
|
32
|
+
return u ? b ? Bo(b, u) : u : b || Vt;
|
|
33
33
|
}
|
|
34
|
-
return r[
|
|
34
|
+
return r[a] || Vt;
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
|
-
},
|
|
38
|
-
if (
|
|
37
|
+
}, fo = (e, o, r) => {
|
|
38
|
+
if (e.length - o === 0)
|
|
39
39
|
return r.classGroupId;
|
|
40
|
-
const
|
|
40
|
+
const i = e[o], l = r.nextPart.get(i);
|
|
41
41
|
if (l) {
|
|
42
|
-
const
|
|
43
|
-
if (
|
|
42
|
+
const b = fo(e, o + 1, l);
|
|
43
|
+
if (b) return b;
|
|
44
44
|
}
|
|
45
|
-
const
|
|
46
|
-
if (
|
|
45
|
+
const a = r.validators;
|
|
46
|
+
if (a === null)
|
|
47
47
|
return;
|
|
48
|
-
const
|
|
49
|
-
for (let
|
|
50
|
-
const w =
|
|
51
|
-
if (w.validator(
|
|
48
|
+
const h = o === 0 ? e.join(ot) : e.slice(o).join(ot), u = a.length;
|
|
49
|
+
for (let b = 0; b < u; b++) {
|
|
50
|
+
const w = a[b];
|
|
51
|
+
if (w.validator(h))
|
|
52
52
|
return w.classGroupId;
|
|
53
53
|
}
|
|
54
|
-
},
|
|
55
|
-
const o =
|
|
56
|
-
return n ?
|
|
57
|
-
})(),
|
|
54
|
+
}, Xo = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
55
|
+
const o = e.slice(1, -1), r = o.indexOf(":"), n = o.slice(0, r);
|
|
56
|
+
return n ? Vo + n : void 0;
|
|
57
|
+
})(), $o = (e) => {
|
|
58
58
|
const {
|
|
59
59
|
theme: o,
|
|
60
60
|
classGroups: r
|
|
61
|
-
} =
|
|
62
|
-
return
|
|
63
|
-
},
|
|
64
|
-
const r =
|
|
65
|
-
for (const n in
|
|
66
|
-
const
|
|
67
|
-
|
|
61
|
+
} = e;
|
|
62
|
+
return qo(r, o);
|
|
63
|
+
}, qo = (e, o) => {
|
|
64
|
+
const r = uo();
|
|
65
|
+
for (const n in e) {
|
|
66
|
+
const i = e[n];
|
|
67
|
+
St(i, r, n, o);
|
|
68
68
|
}
|
|
69
69
|
return r;
|
|
70
|
-
},
|
|
71
|
-
const
|
|
72
|
-
for (let l = 0; l <
|
|
73
|
-
const
|
|
74
|
-
|
|
70
|
+
}, St = (e, o, r, n) => {
|
|
71
|
+
const i = e.length;
|
|
72
|
+
for (let l = 0; l < i; l++) {
|
|
73
|
+
const a = e[l];
|
|
74
|
+
Ko(a, o, r, n);
|
|
75
75
|
}
|
|
76
|
-
},
|
|
77
|
-
if (typeof
|
|
78
|
-
|
|
76
|
+
}, Ko = (e, o, r, n) => {
|
|
77
|
+
if (typeof e == "string") {
|
|
78
|
+
Zo(e, o, r);
|
|
79
79
|
return;
|
|
80
80
|
}
|
|
81
|
-
if (typeof
|
|
82
|
-
|
|
81
|
+
if (typeof e == "function") {
|
|
82
|
+
Jo(e, o, r, n);
|
|
83
83
|
return;
|
|
84
84
|
}
|
|
85
|
-
|
|
86
|
-
},
|
|
87
|
-
const n =
|
|
85
|
+
Qo(e, o, r, n);
|
|
86
|
+
}, Zo = (e, o, r) => {
|
|
87
|
+
const n = e === "" ? o : po(o, e);
|
|
88
88
|
n.classGroupId = r;
|
|
89
|
-
},
|
|
90
|
-
if (
|
|
91
|
-
|
|
89
|
+
}, Jo = (e, o, r, n) => {
|
|
90
|
+
if (en(e)) {
|
|
91
|
+
St(e(n), o, r, n);
|
|
92
92
|
return;
|
|
93
93
|
}
|
|
94
|
-
o.validators === null && (o.validators = []), o.validators.push(
|
|
95
|
-
},
|
|
96
|
-
const
|
|
97
|
-
for (let
|
|
98
|
-
const [
|
|
99
|
-
|
|
94
|
+
o.validators === null && (o.validators = []), o.validators.push(jo(r, e));
|
|
95
|
+
}, Qo = (e, o, r, n) => {
|
|
96
|
+
const i = Object.entries(e), l = i.length;
|
|
97
|
+
for (let a = 0; a < l; a++) {
|
|
98
|
+
const [h, u] = i[a];
|
|
99
|
+
St(u, po(o, h), r, n);
|
|
100
100
|
}
|
|
101
|
-
},
|
|
102
|
-
let r =
|
|
103
|
-
const n = o.split(
|
|
104
|
-
for (let l = 0; l <
|
|
105
|
-
const
|
|
106
|
-
let
|
|
107
|
-
|
|
101
|
+
}, po = (e, o) => {
|
|
102
|
+
let r = e;
|
|
103
|
+
const n = o.split(ot), i = n.length;
|
|
104
|
+
for (let l = 0; l < i; l++) {
|
|
105
|
+
const a = n[l];
|
|
106
|
+
let h = r.nextPart.get(a);
|
|
107
|
+
h || (h = uo(), r.nextPart.set(a, h)), r = h;
|
|
108
108
|
}
|
|
109
109
|
return r;
|
|
110
|
-
},
|
|
111
|
-
if (
|
|
110
|
+
}, en = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, tn = (e) => {
|
|
111
|
+
if (e < 1)
|
|
112
112
|
return {
|
|
113
113
|
get: () => {
|
|
114
114
|
},
|
|
@@ -116,177 +116,177 @@ const No = (t, o) => {
|
|
|
116
116
|
}
|
|
117
117
|
};
|
|
118
118
|
let o = 0, r = /* @__PURE__ */ Object.create(null), n = /* @__PURE__ */ Object.create(null);
|
|
119
|
-
const
|
|
120
|
-
r[l] =
|
|
119
|
+
const i = (l, a) => {
|
|
120
|
+
r[l] = a, o++, o > e && (o = 0, n = r, r = /* @__PURE__ */ Object.create(null));
|
|
121
121
|
};
|
|
122
122
|
return {
|
|
123
123
|
get(l) {
|
|
124
|
-
let
|
|
125
|
-
if (
|
|
126
|
-
return
|
|
127
|
-
if ((
|
|
128
|
-
return
|
|
124
|
+
let a = r[l];
|
|
125
|
+
if (a !== void 0)
|
|
126
|
+
return a;
|
|
127
|
+
if ((a = n[l]) !== void 0)
|
|
128
|
+
return i(l, a), a;
|
|
129
129
|
},
|
|
130
|
-
set(l,
|
|
131
|
-
l in r ? r[l] =
|
|
130
|
+
set(l, a) {
|
|
131
|
+
l in r ? r[l] = a : i(l, a);
|
|
132
132
|
}
|
|
133
133
|
};
|
|
134
|
-
},
|
|
135
|
-
modifiers:
|
|
134
|
+
}, wt = "!", Yt = ":", on = [], Xt = (e, o, r, n, i) => ({
|
|
135
|
+
modifiers: e,
|
|
136
136
|
hasImportantModifier: o,
|
|
137
137
|
baseClassName: r,
|
|
138
138
|
maybePostfixModifierPosition: n,
|
|
139
|
-
isExternal:
|
|
140
|
-
}),
|
|
139
|
+
isExternal: i
|
|
140
|
+
}), nn = (e) => {
|
|
141
141
|
const {
|
|
142
142
|
prefix: o,
|
|
143
143
|
experimentalParseClassName: r
|
|
144
|
-
} =
|
|
145
|
-
let n = (
|
|
144
|
+
} = e;
|
|
145
|
+
let n = (i) => {
|
|
146
146
|
const l = [];
|
|
147
|
-
let
|
|
148
|
-
const w =
|
|
149
|
-
for (let
|
|
150
|
-
const
|
|
151
|
-
if (
|
|
152
|
-
if (
|
|
153
|
-
l.push(
|
|
147
|
+
let a = 0, h = 0, u = 0, b;
|
|
148
|
+
const w = i.length;
|
|
149
|
+
for (let Y = 0; Y < w; Y++) {
|
|
150
|
+
const F = i[Y];
|
|
151
|
+
if (a === 0 && h === 0) {
|
|
152
|
+
if (F === Yt) {
|
|
153
|
+
l.push(i.slice(u, Y)), u = Y + 1;
|
|
154
154
|
continue;
|
|
155
155
|
}
|
|
156
|
-
if (
|
|
157
|
-
|
|
156
|
+
if (F === "/") {
|
|
157
|
+
b = Y;
|
|
158
158
|
continue;
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
|
-
|
|
161
|
+
F === "[" ? a++ : F === "]" ? a-- : F === "(" ? h++ : F === ")" && h--;
|
|
162
162
|
}
|
|
163
|
-
const
|
|
164
|
-
let
|
|
165
|
-
|
|
163
|
+
const z = l.length === 0 ? i : i.slice(u);
|
|
164
|
+
let W = z, $ = !1;
|
|
165
|
+
z.endsWith(wt) ? (W = z.slice(0, -1), $ = !0) : (
|
|
166
166
|
/**
|
|
167
167
|
* In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
|
|
168
168
|
* @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
|
|
169
169
|
*/
|
|
170
|
-
|
|
170
|
+
z.startsWith(wt) && (W = z.slice(1), $ = !0)
|
|
171
171
|
);
|
|
172
|
-
const
|
|
173
|
-
return
|
|
172
|
+
const V = b && b > u ? b - u : void 0;
|
|
173
|
+
return Xt(l, $, W, V);
|
|
174
174
|
};
|
|
175
175
|
if (o) {
|
|
176
|
-
const
|
|
177
|
-
n = (
|
|
176
|
+
const i = o + Yt, l = n;
|
|
177
|
+
n = (a) => a.startsWith(i) ? l(a.slice(i.length)) : Xt(on, !1, a, void 0, !0);
|
|
178
178
|
}
|
|
179
179
|
if (r) {
|
|
180
|
-
const
|
|
180
|
+
const i = n;
|
|
181
181
|
n = (l) => r({
|
|
182
182
|
className: l,
|
|
183
|
-
parseClassName:
|
|
183
|
+
parseClassName: i
|
|
184
184
|
});
|
|
185
185
|
}
|
|
186
186
|
return n;
|
|
187
|
-
},
|
|
187
|
+
}, rn = (e) => {
|
|
188
188
|
const o = /* @__PURE__ */ new Map();
|
|
189
|
-
return
|
|
189
|
+
return e.orderSensitiveModifiers.forEach((r, n) => {
|
|
190
190
|
o.set(r, 1e6 + n);
|
|
191
191
|
}), (r) => {
|
|
192
192
|
const n = [];
|
|
193
|
-
let
|
|
193
|
+
let i = [];
|
|
194
194
|
for (let l = 0; l < r.length; l++) {
|
|
195
|
-
const
|
|
196
|
-
|
|
195
|
+
const a = r[l], h = a[0] === "[", u = o.has(a);
|
|
196
|
+
h || u ? (i.length > 0 && (i.sort(), n.push(...i), i = []), n.push(a)) : i.push(a);
|
|
197
197
|
}
|
|
198
|
-
return
|
|
198
|
+
return i.length > 0 && (i.sort(), n.push(...i)), n;
|
|
199
199
|
};
|
|
200
|
-
},
|
|
201
|
-
cache:
|
|
202
|
-
parseClassName:
|
|
203
|
-
sortModifiers:
|
|
204
|
-
...
|
|
205
|
-
}),
|
|
200
|
+
}, sn = (e) => ({
|
|
201
|
+
cache: tn(e.cacheSize),
|
|
202
|
+
parseClassName: nn(e),
|
|
203
|
+
sortModifiers: rn(e),
|
|
204
|
+
...Yo(e)
|
|
205
|
+
}), an = /\s+/, ln = (e, o) => {
|
|
206
206
|
const {
|
|
207
207
|
parseClassName: r,
|
|
208
208
|
getClassGroupId: n,
|
|
209
|
-
getConflictingClassGroupIds:
|
|
209
|
+
getConflictingClassGroupIds: i,
|
|
210
210
|
sortModifiers: l
|
|
211
|
-
} = o,
|
|
212
|
-
let
|
|
213
|
-
for (let
|
|
214
|
-
const w = b
|
|
215
|
-
isExternal:
|
|
216
|
-
modifiers:
|
|
217
|
-
hasImportantModifier:
|
|
218
|
-
baseClassName:
|
|
219
|
-
maybePostfixModifierPosition:
|
|
211
|
+
} = o, a = [], h = e.trim().split(an);
|
|
212
|
+
let u = "";
|
|
213
|
+
for (let b = h.length - 1; b >= 0; b -= 1) {
|
|
214
|
+
const w = h[b], {
|
|
215
|
+
isExternal: z,
|
|
216
|
+
modifiers: W,
|
|
217
|
+
hasImportantModifier: $,
|
|
218
|
+
baseClassName: V,
|
|
219
|
+
maybePostfixModifierPosition: Y
|
|
220
220
|
} = r(w);
|
|
221
|
-
if (
|
|
222
|
-
|
|
221
|
+
if (z) {
|
|
222
|
+
u = w + (u.length > 0 ? " " + u : u);
|
|
223
223
|
continue;
|
|
224
224
|
}
|
|
225
|
-
let
|
|
226
|
-
if (!
|
|
227
|
-
if (!
|
|
228
|
-
|
|
225
|
+
let F = !!Y, ae = n(F ? V.substring(0, Y) : V);
|
|
226
|
+
if (!ae) {
|
|
227
|
+
if (!F) {
|
|
228
|
+
u = w + (u.length > 0 ? " " + u : u);
|
|
229
229
|
continue;
|
|
230
230
|
}
|
|
231
|
-
if (
|
|
232
|
-
|
|
231
|
+
if (ae = n(V), !ae) {
|
|
232
|
+
u = w + (u.length > 0 ? " " + u : u);
|
|
233
233
|
continue;
|
|
234
234
|
}
|
|
235
|
-
|
|
235
|
+
F = !1;
|
|
236
236
|
}
|
|
237
|
-
const
|
|
238
|
-
if (
|
|
237
|
+
const ke = W.length === 0 ? "" : W.length === 1 ? W[0] : l(W).join(":"), ne = $ ? ke + wt : ke, _ = ne + ae;
|
|
238
|
+
if (a.indexOf(_) > -1)
|
|
239
239
|
continue;
|
|
240
|
-
|
|
241
|
-
const
|
|
242
|
-
for (let
|
|
243
|
-
const
|
|
244
|
-
|
|
240
|
+
a.push(_);
|
|
241
|
+
const q = i(ae, F);
|
|
242
|
+
for (let J = 0; J < q.length; ++J) {
|
|
243
|
+
const Te = q[J];
|
|
244
|
+
a.push(ne + Te);
|
|
245
245
|
}
|
|
246
|
-
|
|
246
|
+
u = w + (u.length > 0 ? " " + u : u);
|
|
247
247
|
}
|
|
248
|
-
return
|
|
249
|
-
},
|
|
250
|
-
let o = 0, r, n,
|
|
251
|
-
for (; o <
|
|
252
|
-
(r =
|
|
253
|
-
return
|
|
254
|
-
},
|
|
255
|
-
if (typeof
|
|
256
|
-
return
|
|
248
|
+
return u;
|
|
249
|
+
}, cn = (...e) => {
|
|
250
|
+
let o = 0, r, n, i = "";
|
|
251
|
+
for (; o < e.length; )
|
|
252
|
+
(r = e[o++]) && (n = go(r)) && (i && (i += " "), i += n);
|
|
253
|
+
return i;
|
|
254
|
+
}, go = (e) => {
|
|
255
|
+
if (typeof e == "string")
|
|
256
|
+
return e;
|
|
257
257
|
let o, r = "";
|
|
258
|
-
for (let n = 0; n <
|
|
259
|
-
|
|
258
|
+
for (let n = 0; n < e.length; n++)
|
|
259
|
+
e[n] && (o = go(e[n])) && (r && (r += " "), r += o);
|
|
260
260
|
return r;
|
|
261
|
-
},
|
|
262
|
-
let r, n,
|
|
263
|
-
const
|
|
264
|
-
const
|
|
265
|
-
return r =
|
|
266
|
-
},
|
|
267
|
-
const
|
|
268
|
-
if (
|
|
269
|
-
return
|
|
270
|
-
const w =
|
|
271
|
-
return
|
|
261
|
+
}, dn = (e, ...o) => {
|
|
262
|
+
let r, n, i, l;
|
|
263
|
+
const a = (u) => {
|
|
264
|
+
const b = o.reduce((w, z) => z(w), e());
|
|
265
|
+
return r = sn(b), n = r.cache.get, i = r.cache.set, l = h, h(u);
|
|
266
|
+
}, h = (u) => {
|
|
267
|
+
const b = n(u);
|
|
268
|
+
if (b)
|
|
269
|
+
return b;
|
|
270
|
+
const w = ln(u, r);
|
|
271
|
+
return i(u, w), w;
|
|
272
272
|
};
|
|
273
|
-
return l =
|
|
274
|
-
},
|
|
275
|
-
const o = (r) => r[
|
|
273
|
+
return l = a, (...u) => l(cn(...u));
|
|
274
|
+
}, mn = [], L = (e) => {
|
|
275
|
+
const o = (r) => r[e] || mn;
|
|
276
276
|
return o.isThemeGetter = !0, o;
|
|
277
|
-
},
|
|
277
|
+
}, bo = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, ho = /^\((?:(\w[\w-]*):)?(.+)\)$/i, un = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, fn = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, pn = /\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$/, gn = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, bn = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, hn = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, ge = (e) => un.test(e), A = (e) => !!e && !Number.isNaN(Number(e)), be = (e) => !!e && Number.isInteger(Number(e)), bt = (e) => e.endsWith("%") && A(e.slice(0, -1)), ue = (e) => fn.test(e), To = () => !0, Tn = (e) => (
|
|
278
278
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
279
279
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
280
280
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
281
|
-
|
|
282
|
-
),
|
|
283
|
-
const n =
|
|
281
|
+
pn.test(e) && !gn.test(e)
|
|
282
|
+
), kt = () => !1, An = (e) => bn.test(e), yn = (e) => hn.test(e), En = (e) => !c(e) && !d(e), wn = (e) => he(e, Eo, kt), c = (e) => bo.test(e), xe = (e) => he(e, wo, Tn), $t = (e) => he(e, Cn, A), _n = (e) => he(e, xo, To), xn = (e) => he(e, _o, kt), qt = (e) => he(e, Ao, kt), Sn = (e) => he(e, yo, yn), Je = (e) => he(e, So, An), d = (e) => ho.test(e), He = (e) => Se(e, wo), kn = (e) => Se(e, _o), Kt = (e) => Se(e, Ao), Rn = (e) => Se(e, Eo), vn = (e) => Se(e, yo), Qe = (e) => Se(e, So, !0), On = (e) => Se(e, xo, !0), he = (e, o, r) => {
|
|
283
|
+
const n = bo.exec(e);
|
|
284
284
|
return n ? n[1] ? o(n[1]) : r(n[2]) : !1;
|
|
285
|
-
},
|
|
286
|
-
const n =
|
|
285
|
+
}, Se = (e, o, r = !1) => {
|
|
286
|
+
const n = ho.exec(e);
|
|
287
287
|
return n ? n[1] ? o(n[1]) : r : !1;
|
|
288
|
-
},
|
|
289
|
-
const
|
|
288
|
+
}, Ao = (e) => e === "position" || e === "percentage", yo = (e) => e === "image" || e === "url", Eo = (e) => e === "length" || e === "size" || e === "bg-size", wo = (e) => e === "length", Cn = (e) => e === "number", _o = (e) => e === "family-name", xo = (e) => e === "number" || e === "weight", So = (e) => e === "shadow", In = () => {
|
|
289
|
+
const e = L("color"), o = L("font"), r = L("text"), n = L("font-weight"), i = L("tracking"), l = L("leading"), a = L("breakpoint"), h = L("container"), u = L("spacing"), b = L("radius"), w = L("shadow"), z = L("inset-shadow"), W = L("text-shadow"), $ = L("drop-shadow"), V = L("blur"), Y = L("perspective"), F = L("aspect"), ae = L("ease"), ke = L("animate"), ne = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], _ = () => [
|
|
290
290
|
"center",
|
|
291
291
|
"top",
|
|
292
292
|
"bottom",
|
|
@@ -304,51 +304,51 @@ const No = (t, o) => {
|
|
|
304
304
|
"bottom-left",
|
|
305
305
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
306
306
|
"left-bottom"
|
|
307
|
-
],
|
|
308
|
-
span: ["full",
|
|
309
|
-
},
|
|
307
|
+
], q = () => [..._(), d, c], J = () => ["auto", "hidden", "clip", "visible", "scroll"], Te = () => ["auto", "contain", "none"], f = () => [d, c, u], U = () => [ge, "full", "auto", ...f()], Xe = () => [be, "none", "subgrid", d, c], D = () => ["auto", {
|
|
308
|
+
span: ["full", be, d, c]
|
|
309
|
+
}, be, d, c], le = () => [be, "auto", d, c], Ae = () => ["auto", "min", "max", "fr", d, c], fe = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], pe = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], X = () => ["auto", ...f()], ce = () => [ge, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...f()], Re = () => [ge, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...f()], ze = () => [ge, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...f()], p = () => [e, d, c], S = () => [..._(), Kt, qt, {
|
|
310
310
|
position: [d, c]
|
|
311
|
-
}],
|
|
311
|
+
}], Fe = () => ["no-repeat", {
|
|
312
312
|
repeat: ["", "x", "y", "space", "round"]
|
|
313
|
-
}],
|
|
313
|
+
}], v = () => ["auto", "cover", "contain", Rn, wn, {
|
|
314
314
|
size: [d, c]
|
|
315
|
-
}],
|
|
315
|
+
}], ve = () => [bt, He, xe], y = () => [
|
|
316
316
|
// Deprecated since Tailwind CSS v4.0.0
|
|
317
317
|
"",
|
|
318
318
|
"none",
|
|
319
319
|
"full",
|
|
320
|
-
|
|
320
|
+
b,
|
|
321
321
|
d,
|
|
322
322
|
c
|
|
323
|
-
],
|
|
323
|
+
], k = () => ["", A, He, xe], de = () => ["solid", "dashed", "dotted", "double"], Q = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], R = () => [A, bt, Kt, qt], Oe = () => [
|
|
324
324
|
// Deprecated since Tailwind CSS v4.0.0
|
|
325
325
|
"",
|
|
326
326
|
"none",
|
|
327
|
-
|
|
327
|
+
V,
|
|
328
328
|
d,
|
|
329
329
|
c
|
|
330
|
-
],
|
|
330
|
+
], ye = () => ["none", A, d, c], Ee = () => ["none", A, d, c], ee = () => [A, d, c], re = () => [ge, "full", ...f()];
|
|
331
331
|
return {
|
|
332
332
|
cacheSize: 500,
|
|
333
333
|
theme: {
|
|
334
334
|
animate: ["spin", "ping", "pulse", "bounce"],
|
|
335
335
|
aspect: ["video"],
|
|
336
|
-
blur: [
|
|
337
|
-
breakpoint: [
|
|
338
|
-
color: [
|
|
339
|
-
container: [
|
|
340
|
-
"drop-shadow": [
|
|
336
|
+
blur: [ue],
|
|
337
|
+
breakpoint: [ue],
|
|
338
|
+
color: [To],
|
|
339
|
+
container: [ue],
|
|
340
|
+
"drop-shadow": [ue],
|
|
341
341
|
ease: ["in", "out", "in-out"],
|
|
342
|
-
font: [
|
|
342
|
+
font: [En],
|
|
343
343
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
344
|
-
"inset-shadow": [
|
|
344
|
+
"inset-shadow": [ue],
|
|
345
345
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
346
346
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
347
|
-
radius: [
|
|
348
|
-
shadow: [
|
|
349
|
-
spacing: ["px",
|
|
350
|
-
text: [
|
|
351
|
-
"text-shadow": [
|
|
347
|
+
radius: [ue],
|
|
348
|
+
shadow: [ue],
|
|
349
|
+
spacing: ["px", A],
|
|
350
|
+
text: [ue],
|
|
351
|
+
"text-shadow": [ue],
|
|
352
352
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
353
353
|
},
|
|
354
354
|
classGroups: {
|
|
@@ -360,7 +360,7 @@ const No = (t, o) => {
|
|
|
360
360
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
361
361
|
*/
|
|
362
362
|
aspect: [{
|
|
363
|
-
aspect: ["auto", "square",
|
|
363
|
+
aspect: ["auto", "square", ge, c, d, F]
|
|
364
364
|
}],
|
|
365
365
|
/**
|
|
366
366
|
* Container
|
|
@@ -373,21 +373,21 @@ const No = (t, o) => {
|
|
|
373
373
|
* @see https://tailwindcss.com/docs/columns
|
|
374
374
|
*/
|
|
375
375
|
columns: [{
|
|
376
|
-
columns: [
|
|
376
|
+
columns: [A, c, d, h]
|
|
377
377
|
}],
|
|
378
378
|
/**
|
|
379
379
|
* Break After
|
|
380
380
|
* @see https://tailwindcss.com/docs/break-after
|
|
381
381
|
*/
|
|
382
382
|
"break-after": [{
|
|
383
|
-
"break-after":
|
|
383
|
+
"break-after": ne()
|
|
384
384
|
}],
|
|
385
385
|
/**
|
|
386
386
|
* Break Before
|
|
387
387
|
* @see https://tailwindcss.com/docs/break-before
|
|
388
388
|
*/
|
|
389
389
|
"break-before": [{
|
|
390
|
-
"break-before":
|
|
390
|
+
"break-before": ne()
|
|
391
391
|
}],
|
|
392
392
|
/**
|
|
393
393
|
* Break Inside
|
|
@@ -451,49 +451,49 @@ const No = (t, o) => {
|
|
|
451
451
|
* @see https://tailwindcss.com/docs/object-position
|
|
452
452
|
*/
|
|
453
453
|
"object-position": [{
|
|
454
|
-
object:
|
|
454
|
+
object: q()
|
|
455
455
|
}],
|
|
456
456
|
/**
|
|
457
457
|
* Overflow
|
|
458
458
|
* @see https://tailwindcss.com/docs/overflow
|
|
459
459
|
*/
|
|
460
460
|
overflow: [{
|
|
461
|
-
overflow:
|
|
461
|
+
overflow: J()
|
|
462
462
|
}],
|
|
463
463
|
/**
|
|
464
464
|
* Overflow X
|
|
465
465
|
* @see https://tailwindcss.com/docs/overflow
|
|
466
466
|
*/
|
|
467
467
|
"overflow-x": [{
|
|
468
|
-
"overflow-x":
|
|
468
|
+
"overflow-x": J()
|
|
469
469
|
}],
|
|
470
470
|
/**
|
|
471
471
|
* Overflow Y
|
|
472
472
|
* @see https://tailwindcss.com/docs/overflow
|
|
473
473
|
*/
|
|
474
474
|
"overflow-y": [{
|
|
475
|
-
"overflow-y":
|
|
475
|
+
"overflow-y": J()
|
|
476
476
|
}],
|
|
477
477
|
/**
|
|
478
478
|
* Overscroll Behavior
|
|
479
479
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
480
480
|
*/
|
|
481
481
|
overscroll: [{
|
|
482
|
-
overscroll:
|
|
482
|
+
overscroll: Te()
|
|
483
483
|
}],
|
|
484
484
|
/**
|
|
485
485
|
* Overscroll Behavior X
|
|
486
486
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
487
487
|
*/
|
|
488
488
|
"overscroll-x": [{
|
|
489
|
-
"overscroll-x":
|
|
489
|
+
"overscroll-x": Te()
|
|
490
490
|
}],
|
|
491
491
|
/**
|
|
492
492
|
* Overscroll Behavior Y
|
|
493
493
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
494
494
|
*/
|
|
495
495
|
"overscroll-y": [{
|
|
496
|
-
"overscroll-y":
|
|
496
|
+
"overscroll-y": Te()
|
|
497
497
|
}],
|
|
498
498
|
/**
|
|
499
499
|
* Position
|
|
@@ -501,67 +501,93 @@ const No = (t, o) => {
|
|
|
501
501
|
*/
|
|
502
502
|
position: ["static", "fixed", "absolute", "relative", "sticky"],
|
|
503
503
|
/**
|
|
504
|
-
*
|
|
504
|
+
* Inset
|
|
505
505
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
506
506
|
*/
|
|
507
507
|
inset: [{
|
|
508
|
-
inset:
|
|
508
|
+
inset: U()
|
|
509
509
|
}],
|
|
510
510
|
/**
|
|
511
|
-
*
|
|
511
|
+
* Inset Inline
|
|
512
512
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
513
513
|
*/
|
|
514
514
|
"inset-x": [{
|
|
515
|
-
"inset-x":
|
|
515
|
+
"inset-x": U()
|
|
516
516
|
}],
|
|
517
517
|
/**
|
|
518
|
-
*
|
|
518
|
+
* Inset Block
|
|
519
519
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
520
520
|
*/
|
|
521
521
|
"inset-y": [{
|
|
522
|
-
"inset-y":
|
|
522
|
+
"inset-y": U()
|
|
523
523
|
}],
|
|
524
524
|
/**
|
|
525
|
-
* Start
|
|
525
|
+
* Inset Inline Start
|
|
526
526
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
527
|
+
* @todo class group will be renamed to `inset-s` in next major release
|
|
527
528
|
*/
|
|
528
529
|
start: [{
|
|
529
|
-
|
|
530
|
+
"inset-s": U(),
|
|
531
|
+
/**
|
|
532
|
+
* @deprecated since Tailwind CSS v4.2.0 in favor of `inset-s-*` utilities.
|
|
533
|
+
* @see https://github.com/tailwindlabs/tailwindcss/pull/19613
|
|
534
|
+
*/
|
|
535
|
+
start: U()
|
|
530
536
|
}],
|
|
531
537
|
/**
|
|
532
|
-
* End
|
|
538
|
+
* Inset Inline End
|
|
533
539
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
540
|
+
* @todo class group will be renamed to `inset-e` in next major release
|
|
534
541
|
*/
|
|
535
542
|
end: [{
|
|
536
|
-
|
|
543
|
+
"inset-e": U(),
|
|
544
|
+
/**
|
|
545
|
+
* @deprecated since Tailwind CSS v4.2.0 in favor of `inset-e-*` utilities.
|
|
546
|
+
* @see https://github.com/tailwindlabs/tailwindcss/pull/19613
|
|
547
|
+
*/
|
|
548
|
+
end: U()
|
|
549
|
+
}],
|
|
550
|
+
/**
|
|
551
|
+
* Inset Block Start
|
|
552
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
553
|
+
*/
|
|
554
|
+
"inset-bs": [{
|
|
555
|
+
"inset-bs": U()
|
|
556
|
+
}],
|
|
557
|
+
/**
|
|
558
|
+
* Inset Block End
|
|
559
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
560
|
+
*/
|
|
561
|
+
"inset-be": [{
|
|
562
|
+
"inset-be": U()
|
|
537
563
|
}],
|
|
538
564
|
/**
|
|
539
565
|
* Top
|
|
540
566
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
541
567
|
*/
|
|
542
568
|
top: [{
|
|
543
|
-
top:
|
|
569
|
+
top: U()
|
|
544
570
|
}],
|
|
545
571
|
/**
|
|
546
572
|
* Right
|
|
547
573
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
548
574
|
*/
|
|
549
575
|
right: [{
|
|
550
|
-
right:
|
|
576
|
+
right: U()
|
|
551
577
|
}],
|
|
552
578
|
/**
|
|
553
579
|
* Bottom
|
|
554
580
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
555
581
|
*/
|
|
556
582
|
bottom: [{
|
|
557
|
-
bottom:
|
|
583
|
+
bottom: U()
|
|
558
584
|
}],
|
|
559
585
|
/**
|
|
560
586
|
* Left
|
|
561
587
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
562
588
|
*/
|
|
563
589
|
left: [{
|
|
564
|
-
left:
|
|
590
|
+
left: U()
|
|
565
591
|
}],
|
|
566
592
|
/**
|
|
567
593
|
* Visibility
|
|
@@ -573,7 +599,7 @@ const No = (t, o) => {
|
|
|
573
599
|
* @see https://tailwindcss.com/docs/z-index
|
|
574
600
|
*/
|
|
575
601
|
z: [{
|
|
576
|
-
z: [
|
|
602
|
+
z: [be, "auto", d, c]
|
|
577
603
|
}],
|
|
578
604
|
// ------------------------
|
|
579
605
|
// --- Flexbox and Grid ---
|
|
@@ -583,7 +609,7 @@ const No = (t, o) => {
|
|
|
583
609
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
584
610
|
*/
|
|
585
611
|
basis: [{
|
|
586
|
-
basis: [
|
|
612
|
+
basis: [ge, "full", "auto", h, ...f()]
|
|
587
613
|
}],
|
|
588
614
|
/**
|
|
589
615
|
* Flex Direction
|
|
@@ -604,84 +630,84 @@ const No = (t, o) => {
|
|
|
604
630
|
* @see https://tailwindcss.com/docs/flex
|
|
605
631
|
*/
|
|
606
632
|
flex: [{
|
|
607
|
-
flex: [
|
|
633
|
+
flex: [A, ge, "auto", "initial", "none", c]
|
|
608
634
|
}],
|
|
609
635
|
/**
|
|
610
636
|
* Flex Grow
|
|
611
637
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
612
638
|
*/
|
|
613
639
|
grow: [{
|
|
614
|
-
grow: ["",
|
|
640
|
+
grow: ["", A, d, c]
|
|
615
641
|
}],
|
|
616
642
|
/**
|
|
617
643
|
* Flex Shrink
|
|
618
644
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
619
645
|
*/
|
|
620
646
|
shrink: [{
|
|
621
|
-
shrink: ["",
|
|
647
|
+
shrink: ["", A, d, c]
|
|
622
648
|
}],
|
|
623
649
|
/**
|
|
624
650
|
* Order
|
|
625
651
|
* @see https://tailwindcss.com/docs/order
|
|
626
652
|
*/
|
|
627
653
|
order: [{
|
|
628
|
-
order: [
|
|
654
|
+
order: [be, "first", "last", "none", d, c]
|
|
629
655
|
}],
|
|
630
656
|
/**
|
|
631
657
|
* Grid Template Columns
|
|
632
658
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
633
659
|
*/
|
|
634
660
|
"grid-cols": [{
|
|
635
|
-
"grid-cols":
|
|
661
|
+
"grid-cols": Xe()
|
|
636
662
|
}],
|
|
637
663
|
/**
|
|
638
664
|
* Grid Column Start / End
|
|
639
665
|
* @see https://tailwindcss.com/docs/grid-column
|
|
640
666
|
*/
|
|
641
667
|
"col-start-end": [{
|
|
642
|
-
col:
|
|
668
|
+
col: D()
|
|
643
669
|
}],
|
|
644
670
|
/**
|
|
645
671
|
* Grid Column Start
|
|
646
672
|
* @see https://tailwindcss.com/docs/grid-column
|
|
647
673
|
*/
|
|
648
674
|
"col-start": [{
|
|
649
|
-
"col-start":
|
|
675
|
+
"col-start": le()
|
|
650
676
|
}],
|
|
651
677
|
/**
|
|
652
678
|
* Grid Column End
|
|
653
679
|
* @see https://tailwindcss.com/docs/grid-column
|
|
654
680
|
*/
|
|
655
681
|
"col-end": [{
|
|
656
|
-
"col-end":
|
|
682
|
+
"col-end": le()
|
|
657
683
|
}],
|
|
658
684
|
/**
|
|
659
685
|
* Grid Template Rows
|
|
660
686
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
661
687
|
*/
|
|
662
688
|
"grid-rows": [{
|
|
663
|
-
"grid-rows":
|
|
689
|
+
"grid-rows": Xe()
|
|
664
690
|
}],
|
|
665
691
|
/**
|
|
666
692
|
* Grid Row Start / End
|
|
667
693
|
* @see https://tailwindcss.com/docs/grid-row
|
|
668
694
|
*/
|
|
669
695
|
"row-start-end": [{
|
|
670
|
-
row:
|
|
696
|
+
row: D()
|
|
671
697
|
}],
|
|
672
698
|
/**
|
|
673
699
|
* Grid Row Start
|
|
674
700
|
* @see https://tailwindcss.com/docs/grid-row
|
|
675
701
|
*/
|
|
676
702
|
"row-start": [{
|
|
677
|
-
"row-start":
|
|
703
|
+
"row-start": le()
|
|
678
704
|
}],
|
|
679
705
|
/**
|
|
680
706
|
* Grid Row End
|
|
681
707
|
* @see https://tailwindcss.com/docs/grid-row
|
|
682
708
|
*/
|
|
683
709
|
"row-end": [{
|
|
684
|
-
"row-end":
|
|
710
|
+
"row-end": le()
|
|
685
711
|
}],
|
|
686
712
|
/**
|
|
687
713
|
* Grid Auto Flow
|
|
@@ -709,21 +735,21 @@ const No = (t, o) => {
|
|
|
709
735
|
* @see https://tailwindcss.com/docs/gap
|
|
710
736
|
*/
|
|
711
737
|
gap: [{
|
|
712
|
-
gap:
|
|
738
|
+
gap: f()
|
|
713
739
|
}],
|
|
714
740
|
/**
|
|
715
741
|
* Gap X
|
|
716
742
|
* @see https://tailwindcss.com/docs/gap
|
|
717
743
|
*/
|
|
718
744
|
"gap-x": [{
|
|
719
|
-
"gap-x":
|
|
745
|
+
"gap-x": f()
|
|
720
746
|
}],
|
|
721
747
|
/**
|
|
722
748
|
* Gap Y
|
|
723
749
|
* @see https://tailwindcss.com/docs/gap
|
|
724
750
|
*/
|
|
725
751
|
"gap-y": [{
|
|
726
|
-
"gap-y":
|
|
752
|
+
"gap-y": f()
|
|
727
753
|
}],
|
|
728
754
|
/**
|
|
729
755
|
* Justify Content
|
|
@@ -737,14 +763,14 @@ const No = (t, o) => {
|
|
|
737
763
|
* @see https://tailwindcss.com/docs/justify-items
|
|
738
764
|
*/
|
|
739
765
|
"justify-items": [{
|
|
740
|
-
"justify-items": [...
|
|
766
|
+
"justify-items": [...pe(), "normal"]
|
|
741
767
|
}],
|
|
742
768
|
/**
|
|
743
769
|
* Justify Self
|
|
744
770
|
* @see https://tailwindcss.com/docs/justify-self
|
|
745
771
|
*/
|
|
746
772
|
"justify-self": [{
|
|
747
|
-
"justify-self": ["auto", ...
|
|
773
|
+
"justify-self": ["auto", ...pe()]
|
|
748
774
|
}],
|
|
749
775
|
/**
|
|
750
776
|
* Align Content
|
|
@@ -758,7 +784,7 @@ const No = (t, o) => {
|
|
|
758
784
|
* @see https://tailwindcss.com/docs/align-items
|
|
759
785
|
*/
|
|
760
786
|
"align-items": [{
|
|
761
|
-
items: [...
|
|
787
|
+
items: [...pe(), {
|
|
762
788
|
baseline: ["", "last"]
|
|
763
789
|
}]
|
|
764
790
|
}],
|
|
@@ -767,7 +793,7 @@ const No = (t, o) => {
|
|
|
767
793
|
* @see https://tailwindcss.com/docs/align-self
|
|
768
794
|
*/
|
|
769
795
|
"align-self": [{
|
|
770
|
-
self: ["auto", ...
|
|
796
|
+
self: ["auto", ...pe(), {
|
|
771
797
|
baseline: ["", "last"]
|
|
772
798
|
}]
|
|
773
799
|
}],
|
|
@@ -783,14 +809,14 @@ const No = (t, o) => {
|
|
|
783
809
|
* @see https://tailwindcss.com/docs/place-items
|
|
784
810
|
*/
|
|
785
811
|
"place-items": [{
|
|
786
|
-
"place-items": [...
|
|
812
|
+
"place-items": [...pe(), "baseline"]
|
|
787
813
|
}],
|
|
788
814
|
/**
|
|
789
815
|
* Place Self
|
|
790
816
|
* @see https://tailwindcss.com/docs/place-self
|
|
791
817
|
*/
|
|
792
818
|
"place-self": [{
|
|
793
|
-
"place-self": ["auto", ...
|
|
819
|
+
"place-self": ["auto", ...pe()]
|
|
794
820
|
}],
|
|
795
821
|
// Spacing
|
|
796
822
|
/**
|
|
@@ -798,133 +824,161 @@ const No = (t, o) => {
|
|
|
798
824
|
* @see https://tailwindcss.com/docs/padding
|
|
799
825
|
*/
|
|
800
826
|
p: [{
|
|
801
|
-
p:
|
|
827
|
+
p: f()
|
|
802
828
|
}],
|
|
803
829
|
/**
|
|
804
|
-
* Padding
|
|
830
|
+
* Padding Inline
|
|
805
831
|
* @see https://tailwindcss.com/docs/padding
|
|
806
832
|
*/
|
|
807
833
|
px: [{
|
|
808
|
-
px:
|
|
834
|
+
px: f()
|
|
809
835
|
}],
|
|
810
836
|
/**
|
|
811
|
-
* Padding
|
|
837
|
+
* Padding Block
|
|
812
838
|
* @see https://tailwindcss.com/docs/padding
|
|
813
839
|
*/
|
|
814
840
|
py: [{
|
|
815
|
-
py:
|
|
841
|
+
py: f()
|
|
816
842
|
}],
|
|
817
843
|
/**
|
|
818
|
-
* Padding Start
|
|
844
|
+
* Padding Inline Start
|
|
819
845
|
* @see https://tailwindcss.com/docs/padding
|
|
820
846
|
*/
|
|
821
847
|
ps: [{
|
|
822
|
-
ps:
|
|
848
|
+
ps: f()
|
|
823
849
|
}],
|
|
824
850
|
/**
|
|
825
|
-
* Padding End
|
|
851
|
+
* Padding Inline End
|
|
826
852
|
* @see https://tailwindcss.com/docs/padding
|
|
827
853
|
*/
|
|
828
854
|
pe: [{
|
|
829
|
-
pe:
|
|
855
|
+
pe: f()
|
|
856
|
+
}],
|
|
857
|
+
/**
|
|
858
|
+
* Padding Block Start
|
|
859
|
+
* @see https://tailwindcss.com/docs/padding
|
|
860
|
+
*/
|
|
861
|
+
pbs: [{
|
|
862
|
+
pbs: f()
|
|
863
|
+
}],
|
|
864
|
+
/**
|
|
865
|
+
* Padding Block End
|
|
866
|
+
* @see https://tailwindcss.com/docs/padding
|
|
867
|
+
*/
|
|
868
|
+
pbe: [{
|
|
869
|
+
pbe: f()
|
|
830
870
|
}],
|
|
831
871
|
/**
|
|
832
872
|
* Padding Top
|
|
833
873
|
* @see https://tailwindcss.com/docs/padding
|
|
834
874
|
*/
|
|
835
875
|
pt: [{
|
|
836
|
-
pt:
|
|
876
|
+
pt: f()
|
|
837
877
|
}],
|
|
838
878
|
/**
|
|
839
879
|
* Padding Right
|
|
840
880
|
* @see https://tailwindcss.com/docs/padding
|
|
841
881
|
*/
|
|
842
882
|
pr: [{
|
|
843
|
-
pr:
|
|
883
|
+
pr: f()
|
|
844
884
|
}],
|
|
845
885
|
/**
|
|
846
886
|
* Padding Bottom
|
|
847
887
|
* @see https://tailwindcss.com/docs/padding
|
|
848
888
|
*/
|
|
849
889
|
pb: [{
|
|
850
|
-
pb:
|
|
890
|
+
pb: f()
|
|
851
891
|
}],
|
|
852
892
|
/**
|
|
853
893
|
* Padding Left
|
|
854
894
|
* @see https://tailwindcss.com/docs/padding
|
|
855
895
|
*/
|
|
856
896
|
pl: [{
|
|
857
|
-
pl:
|
|
897
|
+
pl: f()
|
|
858
898
|
}],
|
|
859
899
|
/**
|
|
860
900
|
* Margin
|
|
861
901
|
* @see https://tailwindcss.com/docs/margin
|
|
862
902
|
*/
|
|
863
903
|
m: [{
|
|
864
|
-
m:
|
|
904
|
+
m: X()
|
|
865
905
|
}],
|
|
866
906
|
/**
|
|
867
|
-
* Margin
|
|
907
|
+
* Margin Inline
|
|
868
908
|
* @see https://tailwindcss.com/docs/margin
|
|
869
909
|
*/
|
|
870
910
|
mx: [{
|
|
871
|
-
mx:
|
|
911
|
+
mx: X()
|
|
872
912
|
}],
|
|
873
913
|
/**
|
|
874
|
-
* Margin
|
|
914
|
+
* Margin Block
|
|
875
915
|
* @see https://tailwindcss.com/docs/margin
|
|
876
916
|
*/
|
|
877
917
|
my: [{
|
|
878
|
-
my:
|
|
918
|
+
my: X()
|
|
879
919
|
}],
|
|
880
920
|
/**
|
|
881
|
-
* Margin Start
|
|
921
|
+
* Margin Inline Start
|
|
882
922
|
* @see https://tailwindcss.com/docs/margin
|
|
883
923
|
*/
|
|
884
924
|
ms: [{
|
|
885
|
-
ms:
|
|
925
|
+
ms: X()
|
|
886
926
|
}],
|
|
887
927
|
/**
|
|
888
|
-
* Margin End
|
|
928
|
+
* Margin Inline End
|
|
889
929
|
* @see https://tailwindcss.com/docs/margin
|
|
890
930
|
*/
|
|
891
931
|
me: [{
|
|
892
|
-
me:
|
|
932
|
+
me: X()
|
|
933
|
+
}],
|
|
934
|
+
/**
|
|
935
|
+
* Margin Block Start
|
|
936
|
+
* @see https://tailwindcss.com/docs/margin
|
|
937
|
+
*/
|
|
938
|
+
mbs: [{
|
|
939
|
+
mbs: X()
|
|
940
|
+
}],
|
|
941
|
+
/**
|
|
942
|
+
* Margin Block End
|
|
943
|
+
* @see https://tailwindcss.com/docs/margin
|
|
944
|
+
*/
|
|
945
|
+
mbe: [{
|
|
946
|
+
mbe: X()
|
|
893
947
|
}],
|
|
894
948
|
/**
|
|
895
949
|
* Margin Top
|
|
896
950
|
* @see https://tailwindcss.com/docs/margin
|
|
897
951
|
*/
|
|
898
952
|
mt: [{
|
|
899
|
-
mt:
|
|
953
|
+
mt: X()
|
|
900
954
|
}],
|
|
901
955
|
/**
|
|
902
956
|
* Margin Right
|
|
903
957
|
* @see https://tailwindcss.com/docs/margin
|
|
904
958
|
*/
|
|
905
959
|
mr: [{
|
|
906
|
-
mr:
|
|
960
|
+
mr: X()
|
|
907
961
|
}],
|
|
908
962
|
/**
|
|
909
963
|
* Margin Bottom
|
|
910
964
|
* @see https://tailwindcss.com/docs/margin
|
|
911
965
|
*/
|
|
912
966
|
mb: [{
|
|
913
|
-
mb:
|
|
967
|
+
mb: X()
|
|
914
968
|
}],
|
|
915
969
|
/**
|
|
916
970
|
* Margin Left
|
|
917
971
|
* @see https://tailwindcss.com/docs/margin
|
|
918
972
|
*/
|
|
919
973
|
ml: [{
|
|
920
|
-
ml:
|
|
974
|
+
ml: X()
|
|
921
975
|
}],
|
|
922
976
|
/**
|
|
923
977
|
* Space Between X
|
|
924
978
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
925
979
|
*/
|
|
926
980
|
"space-x": [{
|
|
927
|
-
"space-x":
|
|
981
|
+
"space-x": f()
|
|
928
982
|
}],
|
|
929
983
|
/**
|
|
930
984
|
* Space Between X Reverse
|
|
@@ -936,7 +990,7 @@ const No = (t, o) => {
|
|
|
936
990
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
937
991
|
*/
|
|
938
992
|
"space-y": [{
|
|
939
|
-
"space-y":
|
|
993
|
+
"space-y": f()
|
|
940
994
|
}],
|
|
941
995
|
/**
|
|
942
996
|
* Space Between Y Reverse
|
|
@@ -951,14 +1005,56 @@ const No = (t, o) => {
|
|
|
951
1005
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
952
1006
|
*/
|
|
953
1007
|
size: [{
|
|
954
|
-
size:
|
|
1008
|
+
size: ce()
|
|
1009
|
+
}],
|
|
1010
|
+
/**
|
|
1011
|
+
* Inline Size
|
|
1012
|
+
* @see https://tailwindcss.com/docs/width
|
|
1013
|
+
*/
|
|
1014
|
+
"inline-size": [{
|
|
1015
|
+
inline: ["auto", ...Re()]
|
|
1016
|
+
}],
|
|
1017
|
+
/**
|
|
1018
|
+
* Min-Inline Size
|
|
1019
|
+
* @see https://tailwindcss.com/docs/min-width
|
|
1020
|
+
*/
|
|
1021
|
+
"min-inline-size": [{
|
|
1022
|
+
"min-inline": ["auto", ...Re()]
|
|
1023
|
+
}],
|
|
1024
|
+
/**
|
|
1025
|
+
* Max-Inline Size
|
|
1026
|
+
* @see https://tailwindcss.com/docs/max-width
|
|
1027
|
+
*/
|
|
1028
|
+
"max-inline-size": [{
|
|
1029
|
+
"max-inline": ["none", ...Re()]
|
|
1030
|
+
}],
|
|
1031
|
+
/**
|
|
1032
|
+
* Block Size
|
|
1033
|
+
* @see https://tailwindcss.com/docs/height
|
|
1034
|
+
*/
|
|
1035
|
+
"block-size": [{
|
|
1036
|
+
block: ["auto", ...ze()]
|
|
1037
|
+
}],
|
|
1038
|
+
/**
|
|
1039
|
+
* Min-Block Size
|
|
1040
|
+
* @see https://tailwindcss.com/docs/min-height
|
|
1041
|
+
*/
|
|
1042
|
+
"min-block-size": [{
|
|
1043
|
+
"min-block": ["auto", ...ze()]
|
|
1044
|
+
}],
|
|
1045
|
+
/**
|
|
1046
|
+
* Max-Block Size
|
|
1047
|
+
* @see https://tailwindcss.com/docs/max-height
|
|
1048
|
+
*/
|
|
1049
|
+
"max-block-size": [{
|
|
1050
|
+
"max-block": ["none", ...ze()]
|
|
955
1051
|
}],
|
|
956
1052
|
/**
|
|
957
1053
|
* Width
|
|
958
1054
|
* @see https://tailwindcss.com/docs/width
|
|
959
1055
|
*/
|
|
960
1056
|
w: [{
|
|
961
|
-
w: [
|
|
1057
|
+
w: [h, "screen", ...ce()]
|
|
962
1058
|
}],
|
|
963
1059
|
/**
|
|
964
1060
|
* Min-Width
|
|
@@ -966,11 +1062,11 @@ const No = (t, o) => {
|
|
|
966
1062
|
*/
|
|
967
1063
|
"min-w": [{
|
|
968
1064
|
"min-w": [
|
|
969
|
-
|
|
1065
|
+
h,
|
|
970
1066
|
"screen",
|
|
971
1067
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
972
1068
|
"none",
|
|
973
|
-
...
|
|
1069
|
+
...ce()
|
|
974
1070
|
]
|
|
975
1071
|
}],
|
|
976
1072
|
/**
|
|
@@ -979,16 +1075,16 @@ const No = (t, o) => {
|
|
|
979
1075
|
*/
|
|
980
1076
|
"max-w": [{
|
|
981
1077
|
"max-w": [
|
|
982
|
-
|
|
1078
|
+
h,
|
|
983
1079
|
"screen",
|
|
984
1080
|
"none",
|
|
985
1081
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
986
1082
|
"prose",
|
|
987
1083
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
988
1084
|
{
|
|
989
|
-
screen: [
|
|
1085
|
+
screen: [a]
|
|
990
1086
|
},
|
|
991
|
-
...
|
|
1087
|
+
...ce()
|
|
992
1088
|
]
|
|
993
1089
|
}],
|
|
994
1090
|
/**
|
|
@@ -996,21 +1092,21 @@ const No = (t, o) => {
|
|
|
996
1092
|
* @see https://tailwindcss.com/docs/height
|
|
997
1093
|
*/
|
|
998
1094
|
h: [{
|
|
999
|
-
h: ["screen", "lh", ...
|
|
1095
|
+
h: ["screen", "lh", ...ce()]
|
|
1000
1096
|
}],
|
|
1001
1097
|
/**
|
|
1002
1098
|
* Min-Height
|
|
1003
1099
|
* @see https://tailwindcss.com/docs/min-height
|
|
1004
1100
|
*/
|
|
1005
1101
|
"min-h": [{
|
|
1006
|
-
"min-h": ["screen", "lh", "none", ...
|
|
1102
|
+
"min-h": ["screen", "lh", "none", ...ce()]
|
|
1007
1103
|
}],
|
|
1008
1104
|
/**
|
|
1009
1105
|
* Max-Height
|
|
1010
1106
|
* @see https://tailwindcss.com/docs/max-height
|
|
1011
1107
|
*/
|
|
1012
1108
|
"max-h": [{
|
|
1013
|
-
"max-h": ["screen", "lh", ...
|
|
1109
|
+
"max-h": ["screen", "lh", ...ce()]
|
|
1014
1110
|
}],
|
|
1015
1111
|
// ------------------
|
|
1016
1112
|
// --- Typography ---
|
|
@@ -1020,7 +1116,7 @@ const No = (t, o) => {
|
|
|
1020
1116
|
* @see https://tailwindcss.com/docs/font-size
|
|
1021
1117
|
*/
|
|
1022
1118
|
"font-size": [{
|
|
1023
|
-
text: ["base", r,
|
|
1119
|
+
text: ["base", r, He, xe]
|
|
1024
1120
|
}],
|
|
1025
1121
|
/**
|
|
1026
1122
|
* Font Smoothing
|
|
@@ -1037,21 +1133,28 @@ const No = (t, o) => {
|
|
|
1037
1133
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1038
1134
|
*/
|
|
1039
1135
|
"font-weight": [{
|
|
1040
|
-
font: [n,
|
|
1136
|
+
font: [n, On, _n]
|
|
1041
1137
|
}],
|
|
1042
1138
|
/**
|
|
1043
1139
|
* Font Stretch
|
|
1044
1140
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
1045
1141
|
*/
|
|
1046
1142
|
"font-stretch": [{
|
|
1047
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded",
|
|
1143
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", bt, c]
|
|
1048
1144
|
}],
|
|
1049
1145
|
/**
|
|
1050
1146
|
* Font Family
|
|
1051
1147
|
* @see https://tailwindcss.com/docs/font-family
|
|
1052
1148
|
*/
|
|
1053
1149
|
"font-family": [{
|
|
1054
|
-
font: [
|
|
1150
|
+
font: [kn, xn, o]
|
|
1151
|
+
}],
|
|
1152
|
+
/**
|
|
1153
|
+
* Font Feature Settings
|
|
1154
|
+
* @see https://tailwindcss.com/docs/font-feature-settings
|
|
1155
|
+
*/
|
|
1156
|
+
"font-features": [{
|
|
1157
|
+
"font-features": [c]
|
|
1055
1158
|
}],
|
|
1056
1159
|
/**
|
|
1057
1160
|
* Font Variant Numeric
|
|
@@ -1088,14 +1191,14 @@ const No = (t, o) => {
|
|
|
1088
1191
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1089
1192
|
*/
|
|
1090
1193
|
tracking: [{
|
|
1091
|
-
tracking: [
|
|
1194
|
+
tracking: [i, d, c]
|
|
1092
1195
|
}],
|
|
1093
1196
|
/**
|
|
1094
1197
|
* Line Clamp
|
|
1095
1198
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1096
1199
|
*/
|
|
1097
1200
|
"line-clamp": [{
|
|
1098
|
-
"line-clamp": [
|
|
1201
|
+
"line-clamp": [A, "none", d, $t]
|
|
1099
1202
|
}],
|
|
1100
1203
|
/**
|
|
1101
1204
|
* Line Height
|
|
@@ -1105,7 +1208,7 @@ const No = (t, o) => {
|
|
|
1105
1208
|
leading: [
|
|
1106
1209
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1107
1210
|
l,
|
|
1108
|
-
...
|
|
1211
|
+
...f()
|
|
1109
1212
|
]
|
|
1110
1213
|
}],
|
|
1111
1214
|
/**
|
|
@@ -1161,14 +1264,14 @@ const No = (t, o) => {
|
|
|
1161
1264
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1162
1265
|
*/
|
|
1163
1266
|
"text-decoration-style": [{
|
|
1164
|
-
decoration: [...
|
|
1267
|
+
decoration: [...de(), "wavy"]
|
|
1165
1268
|
}],
|
|
1166
1269
|
/**
|
|
1167
1270
|
* Text Decoration Thickness
|
|
1168
1271
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1169
1272
|
*/
|
|
1170
1273
|
"text-decoration-thickness": [{
|
|
1171
|
-
decoration: [
|
|
1274
|
+
decoration: [A, "from-font", "auto", d, xe]
|
|
1172
1275
|
}],
|
|
1173
1276
|
/**
|
|
1174
1277
|
* Text Decoration Color
|
|
@@ -1182,7 +1285,7 @@ const No = (t, o) => {
|
|
|
1182
1285
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1183
1286
|
*/
|
|
1184
1287
|
"underline-offset": [{
|
|
1185
|
-
"underline-offset": [
|
|
1288
|
+
"underline-offset": [A, "auto", d, c]
|
|
1186
1289
|
}],
|
|
1187
1290
|
/**
|
|
1188
1291
|
* Text Transform
|
|
@@ -1206,7 +1309,7 @@ const No = (t, o) => {
|
|
|
1206
1309
|
* @see https://tailwindcss.com/docs/text-indent
|
|
1207
1310
|
*/
|
|
1208
1311
|
indent: [{
|
|
1209
|
-
indent:
|
|
1312
|
+
indent: f()
|
|
1210
1313
|
}],
|
|
1211
1314
|
/**
|
|
1212
1315
|
* Vertical Alignment
|
|
@@ -1279,21 +1382,21 @@ const No = (t, o) => {
|
|
|
1279
1382
|
* @see https://tailwindcss.com/docs/background-position
|
|
1280
1383
|
*/
|
|
1281
1384
|
"bg-position": [{
|
|
1282
|
-
bg:
|
|
1385
|
+
bg: S()
|
|
1283
1386
|
}],
|
|
1284
1387
|
/**
|
|
1285
1388
|
* Background Repeat
|
|
1286
1389
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
1287
1390
|
*/
|
|
1288
1391
|
"bg-repeat": [{
|
|
1289
|
-
bg:
|
|
1392
|
+
bg: Fe()
|
|
1290
1393
|
}],
|
|
1291
1394
|
/**
|
|
1292
1395
|
* Background Size
|
|
1293
1396
|
* @see https://tailwindcss.com/docs/background-size
|
|
1294
1397
|
*/
|
|
1295
1398
|
"bg-size": [{
|
|
1296
|
-
bg:
|
|
1399
|
+
bg: v()
|
|
1297
1400
|
}],
|
|
1298
1401
|
/**
|
|
1299
1402
|
* Background Image
|
|
@@ -1303,10 +1406,10 @@ const No = (t, o) => {
|
|
|
1303
1406
|
bg: ["none", {
|
|
1304
1407
|
linear: [{
|
|
1305
1408
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1306
|
-
},
|
|
1409
|
+
}, be, d, c],
|
|
1307
1410
|
radial: ["", d, c],
|
|
1308
|
-
conic: [
|
|
1309
|
-
},
|
|
1411
|
+
conic: [be, d, c]
|
|
1412
|
+
}, vn, Sn]
|
|
1310
1413
|
}],
|
|
1311
1414
|
/**
|
|
1312
1415
|
* Background Color
|
|
@@ -1320,21 +1423,21 @@ const No = (t, o) => {
|
|
|
1320
1423
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1321
1424
|
*/
|
|
1322
1425
|
"gradient-from-pos": [{
|
|
1323
|
-
from:
|
|
1426
|
+
from: ve()
|
|
1324
1427
|
}],
|
|
1325
1428
|
/**
|
|
1326
1429
|
* Gradient Color Stops Via Position
|
|
1327
1430
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1328
1431
|
*/
|
|
1329
1432
|
"gradient-via-pos": [{
|
|
1330
|
-
via:
|
|
1433
|
+
via: ve()
|
|
1331
1434
|
}],
|
|
1332
1435
|
/**
|
|
1333
1436
|
* Gradient Color Stops To Position
|
|
1334
1437
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1335
1438
|
*/
|
|
1336
1439
|
"gradient-to-pos": [{
|
|
1337
|
-
to:
|
|
1440
|
+
to: ve()
|
|
1338
1441
|
}],
|
|
1339
1442
|
/**
|
|
1340
1443
|
* Gradient Color Stops From
|
|
@@ -1365,175 +1468,189 @@ const No = (t, o) => {
|
|
|
1365
1468
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1366
1469
|
*/
|
|
1367
1470
|
rounded: [{
|
|
1368
|
-
rounded:
|
|
1471
|
+
rounded: y()
|
|
1369
1472
|
}],
|
|
1370
1473
|
/**
|
|
1371
1474
|
* Border Radius Start
|
|
1372
1475
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1373
1476
|
*/
|
|
1374
1477
|
"rounded-s": [{
|
|
1375
|
-
"rounded-s":
|
|
1478
|
+
"rounded-s": y()
|
|
1376
1479
|
}],
|
|
1377
1480
|
/**
|
|
1378
1481
|
* Border Radius End
|
|
1379
1482
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1380
1483
|
*/
|
|
1381
1484
|
"rounded-e": [{
|
|
1382
|
-
"rounded-e":
|
|
1485
|
+
"rounded-e": y()
|
|
1383
1486
|
}],
|
|
1384
1487
|
/**
|
|
1385
1488
|
* Border Radius Top
|
|
1386
1489
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1387
1490
|
*/
|
|
1388
1491
|
"rounded-t": [{
|
|
1389
|
-
"rounded-t":
|
|
1492
|
+
"rounded-t": y()
|
|
1390
1493
|
}],
|
|
1391
1494
|
/**
|
|
1392
1495
|
* Border Radius Right
|
|
1393
1496
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1394
1497
|
*/
|
|
1395
1498
|
"rounded-r": [{
|
|
1396
|
-
"rounded-r":
|
|
1499
|
+
"rounded-r": y()
|
|
1397
1500
|
}],
|
|
1398
1501
|
/**
|
|
1399
1502
|
* Border Radius Bottom
|
|
1400
1503
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1401
1504
|
*/
|
|
1402
1505
|
"rounded-b": [{
|
|
1403
|
-
"rounded-b":
|
|
1506
|
+
"rounded-b": y()
|
|
1404
1507
|
}],
|
|
1405
1508
|
/**
|
|
1406
1509
|
* Border Radius Left
|
|
1407
1510
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1408
1511
|
*/
|
|
1409
1512
|
"rounded-l": [{
|
|
1410
|
-
"rounded-l":
|
|
1513
|
+
"rounded-l": y()
|
|
1411
1514
|
}],
|
|
1412
1515
|
/**
|
|
1413
1516
|
* Border Radius Start Start
|
|
1414
1517
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1415
1518
|
*/
|
|
1416
1519
|
"rounded-ss": [{
|
|
1417
|
-
"rounded-ss":
|
|
1520
|
+
"rounded-ss": y()
|
|
1418
1521
|
}],
|
|
1419
1522
|
/**
|
|
1420
1523
|
* Border Radius Start End
|
|
1421
1524
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1422
1525
|
*/
|
|
1423
1526
|
"rounded-se": [{
|
|
1424
|
-
"rounded-se":
|
|
1527
|
+
"rounded-se": y()
|
|
1425
1528
|
}],
|
|
1426
1529
|
/**
|
|
1427
1530
|
* Border Radius End End
|
|
1428
1531
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1429
1532
|
*/
|
|
1430
1533
|
"rounded-ee": [{
|
|
1431
|
-
"rounded-ee":
|
|
1534
|
+
"rounded-ee": y()
|
|
1432
1535
|
}],
|
|
1433
1536
|
/**
|
|
1434
1537
|
* Border Radius End Start
|
|
1435
1538
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1436
1539
|
*/
|
|
1437
1540
|
"rounded-es": [{
|
|
1438
|
-
"rounded-es":
|
|
1541
|
+
"rounded-es": y()
|
|
1439
1542
|
}],
|
|
1440
1543
|
/**
|
|
1441
1544
|
* Border Radius Top Left
|
|
1442
1545
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1443
1546
|
*/
|
|
1444
1547
|
"rounded-tl": [{
|
|
1445
|
-
"rounded-tl":
|
|
1548
|
+
"rounded-tl": y()
|
|
1446
1549
|
}],
|
|
1447
1550
|
/**
|
|
1448
1551
|
* Border Radius Top Right
|
|
1449
1552
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1450
1553
|
*/
|
|
1451
1554
|
"rounded-tr": [{
|
|
1452
|
-
"rounded-tr":
|
|
1555
|
+
"rounded-tr": y()
|
|
1453
1556
|
}],
|
|
1454
1557
|
/**
|
|
1455
1558
|
* Border Radius Bottom Right
|
|
1456
1559
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1457
1560
|
*/
|
|
1458
1561
|
"rounded-br": [{
|
|
1459
|
-
"rounded-br":
|
|
1562
|
+
"rounded-br": y()
|
|
1460
1563
|
}],
|
|
1461
1564
|
/**
|
|
1462
1565
|
* Border Radius Bottom Left
|
|
1463
1566
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1464
1567
|
*/
|
|
1465
1568
|
"rounded-bl": [{
|
|
1466
|
-
"rounded-bl":
|
|
1569
|
+
"rounded-bl": y()
|
|
1467
1570
|
}],
|
|
1468
1571
|
/**
|
|
1469
1572
|
* Border Width
|
|
1470
1573
|
* @see https://tailwindcss.com/docs/border-width
|
|
1471
1574
|
*/
|
|
1472
1575
|
"border-w": [{
|
|
1473
|
-
border:
|
|
1576
|
+
border: k()
|
|
1474
1577
|
}],
|
|
1475
1578
|
/**
|
|
1476
|
-
* Border Width
|
|
1579
|
+
* Border Width Inline
|
|
1477
1580
|
* @see https://tailwindcss.com/docs/border-width
|
|
1478
1581
|
*/
|
|
1479
1582
|
"border-w-x": [{
|
|
1480
|
-
"border-x":
|
|
1583
|
+
"border-x": k()
|
|
1481
1584
|
}],
|
|
1482
1585
|
/**
|
|
1483
|
-
* Border Width
|
|
1586
|
+
* Border Width Block
|
|
1484
1587
|
* @see https://tailwindcss.com/docs/border-width
|
|
1485
1588
|
*/
|
|
1486
1589
|
"border-w-y": [{
|
|
1487
|
-
"border-y":
|
|
1590
|
+
"border-y": k()
|
|
1488
1591
|
}],
|
|
1489
1592
|
/**
|
|
1490
|
-
* Border Width Start
|
|
1593
|
+
* Border Width Inline Start
|
|
1491
1594
|
* @see https://tailwindcss.com/docs/border-width
|
|
1492
1595
|
*/
|
|
1493
1596
|
"border-w-s": [{
|
|
1494
|
-
"border-s":
|
|
1597
|
+
"border-s": k()
|
|
1495
1598
|
}],
|
|
1496
1599
|
/**
|
|
1497
|
-
* Border Width End
|
|
1600
|
+
* Border Width Inline End
|
|
1498
1601
|
* @see https://tailwindcss.com/docs/border-width
|
|
1499
1602
|
*/
|
|
1500
1603
|
"border-w-e": [{
|
|
1501
|
-
"border-e":
|
|
1604
|
+
"border-e": k()
|
|
1605
|
+
}],
|
|
1606
|
+
/**
|
|
1607
|
+
* Border Width Block Start
|
|
1608
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1609
|
+
*/
|
|
1610
|
+
"border-w-bs": [{
|
|
1611
|
+
"border-bs": k()
|
|
1612
|
+
}],
|
|
1613
|
+
/**
|
|
1614
|
+
* Border Width Block End
|
|
1615
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1616
|
+
*/
|
|
1617
|
+
"border-w-be": [{
|
|
1618
|
+
"border-be": k()
|
|
1502
1619
|
}],
|
|
1503
1620
|
/**
|
|
1504
1621
|
* Border Width Top
|
|
1505
1622
|
* @see https://tailwindcss.com/docs/border-width
|
|
1506
1623
|
*/
|
|
1507
1624
|
"border-w-t": [{
|
|
1508
|
-
"border-t":
|
|
1625
|
+
"border-t": k()
|
|
1509
1626
|
}],
|
|
1510
1627
|
/**
|
|
1511
1628
|
* Border Width Right
|
|
1512
1629
|
* @see https://tailwindcss.com/docs/border-width
|
|
1513
1630
|
*/
|
|
1514
1631
|
"border-w-r": [{
|
|
1515
|
-
"border-r":
|
|
1632
|
+
"border-r": k()
|
|
1516
1633
|
}],
|
|
1517
1634
|
/**
|
|
1518
1635
|
* Border Width Bottom
|
|
1519
1636
|
* @see https://tailwindcss.com/docs/border-width
|
|
1520
1637
|
*/
|
|
1521
1638
|
"border-w-b": [{
|
|
1522
|
-
"border-b":
|
|
1639
|
+
"border-b": k()
|
|
1523
1640
|
}],
|
|
1524
1641
|
/**
|
|
1525
1642
|
* Border Width Left
|
|
1526
1643
|
* @see https://tailwindcss.com/docs/border-width
|
|
1527
1644
|
*/
|
|
1528
1645
|
"border-w-l": [{
|
|
1529
|
-
"border-l":
|
|
1646
|
+
"border-l": k()
|
|
1530
1647
|
}],
|
|
1531
1648
|
/**
|
|
1532
1649
|
* Divide Width X
|
|
1533
1650
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1534
1651
|
*/
|
|
1535
1652
|
"divide-x": [{
|
|
1536
|
-
"divide-x":
|
|
1653
|
+
"divide-x": k()
|
|
1537
1654
|
}],
|
|
1538
1655
|
/**
|
|
1539
1656
|
* Divide Width X Reverse
|
|
@@ -1545,7 +1662,7 @@ const No = (t, o) => {
|
|
|
1545
1662
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1546
1663
|
*/
|
|
1547
1664
|
"divide-y": [{
|
|
1548
|
-
"divide-y":
|
|
1665
|
+
"divide-y": k()
|
|
1549
1666
|
}],
|
|
1550
1667
|
/**
|
|
1551
1668
|
* Divide Width Y Reverse
|
|
@@ -1557,14 +1674,14 @@ const No = (t, o) => {
|
|
|
1557
1674
|
* @see https://tailwindcss.com/docs/border-style
|
|
1558
1675
|
*/
|
|
1559
1676
|
"border-style": [{
|
|
1560
|
-
border: [...
|
|
1677
|
+
border: [...de(), "hidden", "none"]
|
|
1561
1678
|
}],
|
|
1562
1679
|
/**
|
|
1563
1680
|
* Divide Style
|
|
1564
1681
|
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
1565
1682
|
*/
|
|
1566
1683
|
"divide-style": [{
|
|
1567
|
-
divide: [...
|
|
1684
|
+
divide: [...de(), "hidden", "none"]
|
|
1568
1685
|
}],
|
|
1569
1686
|
/**
|
|
1570
1687
|
* Border Color
|
|
@@ -1574,33 +1691,47 @@ const No = (t, o) => {
|
|
|
1574
1691
|
border: p()
|
|
1575
1692
|
}],
|
|
1576
1693
|
/**
|
|
1577
|
-
* Border Color
|
|
1694
|
+
* Border Color Inline
|
|
1578
1695
|
* @see https://tailwindcss.com/docs/border-color
|
|
1579
1696
|
*/
|
|
1580
1697
|
"border-color-x": [{
|
|
1581
1698
|
"border-x": p()
|
|
1582
1699
|
}],
|
|
1583
1700
|
/**
|
|
1584
|
-
* Border Color
|
|
1701
|
+
* Border Color Block
|
|
1585
1702
|
* @see https://tailwindcss.com/docs/border-color
|
|
1586
1703
|
*/
|
|
1587
1704
|
"border-color-y": [{
|
|
1588
1705
|
"border-y": p()
|
|
1589
1706
|
}],
|
|
1590
1707
|
/**
|
|
1591
|
-
* Border Color
|
|
1708
|
+
* Border Color Inline Start
|
|
1592
1709
|
* @see https://tailwindcss.com/docs/border-color
|
|
1593
1710
|
*/
|
|
1594
1711
|
"border-color-s": [{
|
|
1595
1712
|
"border-s": p()
|
|
1596
1713
|
}],
|
|
1597
1714
|
/**
|
|
1598
|
-
* Border Color
|
|
1715
|
+
* Border Color Inline End
|
|
1599
1716
|
* @see https://tailwindcss.com/docs/border-color
|
|
1600
1717
|
*/
|
|
1601
1718
|
"border-color-e": [{
|
|
1602
1719
|
"border-e": p()
|
|
1603
1720
|
}],
|
|
1721
|
+
/**
|
|
1722
|
+
* Border Color Block Start
|
|
1723
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1724
|
+
*/
|
|
1725
|
+
"border-color-bs": [{
|
|
1726
|
+
"border-bs": p()
|
|
1727
|
+
}],
|
|
1728
|
+
/**
|
|
1729
|
+
* Border Color Block End
|
|
1730
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1731
|
+
*/
|
|
1732
|
+
"border-color-be": [{
|
|
1733
|
+
"border-be": p()
|
|
1734
|
+
}],
|
|
1604
1735
|
/**
|
|
1605
1736
|
* Border Color Top
|
|
1606
1737
|
* @see https://tailwindcss.com/docs/border-color
|
|
@@ -1641,21 +1772,21 @@ const No = (t, o) => {
|
|
|
1641
1772
|
* @see https://tailwindcss.com/docs/outline-style
|
|
1642
1773
|
*/
|
|
1643
1774
|
"outline-style": [{
|
|
1644
|
-
outline: [...
|
|
1775
|
+
outline: [...de(), "none", "hidden"]
|
|
1645
1776
|
}],
|
|
1646
1777
|
/**
|
|
1647
1778
|
* Outline Offset
|
|
1648
1779
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
1649
1780
|
*/
|
|
1650
1781
|
"outline-offset": [{
|
|
1651
|
-
"outline-offset": [
|
|
1782
|
+
"outline-offset": [A, d, c]
|
|
1652
1783
|
}],
|
|
1653
1784
|
/**
|
|
1654
1785
|
* Outline Width
|
|
1655
1786
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1656
1787
|
*/
|
|
1657
1788
|
"outline-w": [{
|
|
1658
|
-
outline: ["",
|
|
1789
|
+
outline: ["", A, He, xe]
|
|
1659
1790
|
}],
|
|
1660
1791
|
/**
|
|
1661
1792
|
* Outline Color
|
|
@@ -1677,8 +1808,8 @@ const No = (t, o) => {
|
|
|
1677
1808
|
"",
|
|
1678
1809
|
"none",
|
|
1679
1810
|
w,
|
|
1680
|
-
|
|
1681
|
-
|
|
1811
|
+
Qe,
|
|
1812
|
+
Je
|
|
1682
1813
|
]
|
|
1683
1814
|
}],
|
|
1684
1815
|
/**
|
|
@@ -1693,7 +1824,7 @@ const No = (t, o) => {
|
|
|
1693
1824
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
1694
1825
|
*/
|
|
1695
1826
|
"inset-shadow": [{
|
|
1696
|
-
"inset-shadow": ["none",
|
|
1827
|
+
"inset-shadow": ["none", z, Qe, Je]
|
|
1697
1828
|
}],
|
|
1698
1829
|
/**
|
|
1699
1830
|
* Inset Box Shadow Color
|
|
@@ -1707,7 +1838,7 @@ const No = (t, o) => {
|
|
|
1707
1838
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
1708
1839
|
*/
|
|
1709
1840
|
"ring-w": [{
|
|
1710
|
-
ring:
|
|
1841
|
+
ring: k()
|
|
1711
1842
|
}],
|
|
1712
1843
|
/**
|
|
1713
1844
|
* Ring Width Inset
|
|
@@ -1730,7 +1861,7 @@ const No = (t, o) => {
|
|
|
1730
1861
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
1731
1862
|
*/
|
|
1732
1863
|
"ring-offset-w": [{
|
|
1733
|
-
"ring-offset": [
|
|
1864
|
+
"ring-offset": [A, xe]
|
|
1734
1865
|
}],
|
|
1735
1866
|
/**
|
|
1736
1867
|
* Ring Offset Color
|
|
@@ -1746,7 +1877,7 @@ const No = (t, o) => {
|
|
|
1746
1877
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
1747
1878
|
*/
|
|
1748
1879
|
"inset-ring-w": [{
|
|
1749
|
-
"inset-ring":
|
|
1880
|
+
"inset-ring": k()
|
|
1750
1881
|
}],
|
|
1751
1882
|
/**
|
|
1752
1883
|
* Inset Ring Color
|
|
@@ -1760,7 +1891,7 @@ const No = (t, o) => {
|
|
|
1760
1891
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
1761
1892
|
*/
|
|
1762
1893
|
"text-shadow": [{
|
|
1763
|
-
"text-shadow": ["none",
|
|
1894
|
+
"text-shadow": ["none", W, Qe, Je]
|
|
1764
1895
|
}],
|
|
1765
1896
|
/**
|
|
1766
1897
|
* Text Shadow Color
|
|
@@ -1774,21 +1905,21 @@ const No = (t, o) => {
|
|
|
1774
1905
|
* @see https://tailwindcss.com/docs/opacity
|
|
1775
1906
|
*/
|
|
1776
1907
|
opacity: [{
|
|
1777
|
-
opacity: [
|
|
1908
|
+
opacity: [A, d, c]
|
|
1778
1909
|
}],
|
|
1779
1910
|
/**
|
|
1780
1911
|
* Mix Blend Mode
|
|
1781
1912
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
1782
1913
|
*/
|
|
1783
1914
|
"mix-blend": [{
|
|
1784
|
-
"mix-blend": [...
|
|
1915
|
+
"mix-blend": [...Q(), "plus-darker", "plus-lighter"]
|
|
1785
1916
|
}],
|
|
1786
1917
|
/**
|
|
1787
1918
|
* Background Blend Mode
|
|
1788
1919
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
1789
1920
|
*/
|
|
1790
1921
|
"bg-blend": [{
|
|
1791
|
-
"bg-blend":
|
|
1922
|
+
"bg-blend": Q()
|
|
1792
1923
|
}],
|
|
1793
1924
|
/**
|
|
1794
1925
|
* Mask Clip
|
|
@@ -1809,13 +1940,13 @@ const No = (t, o) => {
|
|
|
1809
1940
|
* @see https://tailwindcss.com/docs/mask-image
|
|
1810
1941
|
*/
|
|
1811
1942
|
"mask-image-linear-pos": [{
|
|
1812
|
-
"mask-linear": [
|
|
1943
|
+
"mask-linear": [A]
|
|
1813
1944
|
}],
|
|
1814
1945
|
"mask-image-linear-from-pos": [{
|
|
1815
|
-
"mask-linear-from":
|
|
1946
|
+
"mask-linear-from": R()
|
|
1816
1947
|
}],
|
|
1817
1948
|
"mask-image-linear-to-pos": [{
|
|
1818
|
-
"mask-linear-to":
|
|
1949
|
+
"mask-linear-to": R()
|
|
1819
1950
|
}],
|
|
1820
1951
|
"mask-image-linear-from-color": [{
|
|
1821
1952
|
"mask-linear-from": p()
|
|
@@ -1824,10 +1955,10 @@ const No = (t, o) => {
|
|
|
1824
1955
|
"mask-linear-to": p()
|
|
1825
1956
|
}],
|
|
1826
1957
|
"mask-image-t-from-pos": [{
|
|
1827
|
-
"mask-t-from":
|
|
1958
|
+
"mask-t-from": R()
|
|
1828
1959
|
}],
|
|
1829
1960
|
"mask-image-t-to-pos": [{
|
|
1830
|
-
"mask-t-to":
|
|
1961
|
+
"mask-t-to": R()
|
|
1831
1962
|
}],
|
|
1832
1963
|
"mask-image-t-from-color": [{
|
|
1833
1964
|
"mask-t-from": p()
|
|
@@ -1836,10 +1967,10 @@ const No = (t, o) => {
|
|
|
1836
1967
|
"mask-t-to": p()
|
|
1837
1968
|
}],
|
|
1838
1969
|
"mask-image-r-from-pos": [{
|
|
1839
|
-
"mask-r-from":
|
|
1970
|
+
"mask-r-from": R()
|
|
1840
1971
|
}],
|
|
1841
1972
|
"mask-image-r-to-pos": [{
|
|
1842
|
-
"mask-r-to":
|
|
1973
|
+
"mask-r-to": R()
|
|
1843
1974
|
}],
|
|
1844
1975
|
"mask-image-r-from-color": [{
|
|
1845
1976
|
"mask-r-from": p()
|
|
@@ -1848,10 +1979,10 @@ const No = (t, o) => {
|
|
|
1848
1979
|
"mask-r-to": p()
|
|
1849
1980
|
}],
|
|
1850
1981
|
"mask-image-b-from-pos": [{
|
|
1851
|
-
"mask-b-from":
|
|
1982
|
+
"mask-b-from": R()
|
|
1852
1983
|
}],
|
|
1853
1984
|
"mask-image-b-to-pos": [{
|
|
1854
|
-
"mask-b-to":
|
|
1985
|
+
"mask-b-to": R()
|
|
1855
1986
|
}],
|
|
1856
1987
|
"mask-image-b-from-color": [{
|
|
1857
1988
|
"mask-b-from": p()
|
|
@@ -1860,10 +1991,10 @@ const No = (t, o) => {
|
|
|
1860
1991
|
"mask-b-to": p()
|
|
1861
1992
|
}],
|
|
1862
1993
|
"mask-image-l-from-pos": [{
|
|
1863
|
-
"mask-l-from":
|
|
1994
|
+
"mask-l-from": R()
|
|
1864
1995
|
}],
|
|
1865
1996
|
"mask-image-l-to-pos": [{
|
|
1866
|
-
"mask-l-to":
|
|
1997
|
+
"mask-l-to": R()
|
|
1867
1998
|
}],
|
|
1868
1999
|
"mask-image-l-from-color": [{
|
|
1869
2000
|
"mask-l-from": p()
|
|
@@ -1872,10 +2003,10 @@ const No = (t, o) => {
|
|
|
1872
2003
|
"mask-l-to": p()
|
|
1873
2004
|
}],
|
|
1874
2005
|
"mask-image-x-from-pos": [{
|
|
1875
|
-
"mask-x-from":
|
|
2006
|
+
"mask-x-from": R()
|
|
1876
2007
|
}],
|
|
1877
2008
|
"mask-image-x-to-pos": [{
|
|
1878
|
-
"mask-x-to":
|
|
2009
|
+
"mask-x-to": R()
|
|
1879
2010
|
}],
|
|
1880
2011
|
"mask-image-x-from-color": [{
|
|
1881
2012
|
"mask-x-from": p()
|
|
@@ -1884,10 +2015,10 @@ const No = (t, o) => {
|
|
|
1884
2015
|
"mask-x-to": p()
|
|
1885
2016
|
}],
|
|
1886
2017
|
"mask-image-y-from-pos": [{
|
|
1887
|
-
"mask-y-from":
|
|
2018
|
+
"mask-y-from": R()
|
|
1888
2019
|
}],
|
|
1889
2020
|
"mask-image-y-to-pos": [{
|
|
1890
|
-
"mask-y-to":
|
|
2021
|
+
"mask-y-to": R()
|
|
1891
2022
|
}],
|
|
1892
2023
|
"mask-image-y-from-color": [{
|
|
1893
2024
|
"mask-y-from": p()
|
|
@@ -1899,10 +2030,10 @@ const No = (t, o) => {
|
|
|
1899
2030
|
"mask-radial": [d, c]
|
|
1900
2031
|
}],
|
|
1901
2032
|
"mask-image-radial-from-pos": [{
|
|
1902
|
-
"mask-radial-from":
|
|
2033
|
+
"mask-radial-from": R()
|
|
1903
2034
|
}],
|
|
1904
2035
|
"mask-image-radial-to-pos": [{
|
|
1905
|
-
"mask-radial-to":
|
|
2036
|
+
"mask-radial-to": R()
|
|
1906
2037
|
}],
|
|
1907
2038
|
"mask-image-radial-from-color": [{
|
|
1908
2039
|
"mask-radial-from": p()
|
|
@@ -1920,16 +2051,16 @@ const No = (t, o) => {
|
|
|
1920
2051
|
}]
|
|
1921
2052
|
}],
|
|
1922
2053
|
"mask-image-radial-pos": [{
|
|
1923
|
-
"mask-radial-at":
|
|
2054
|
+
"mask-radial-at": _()
|
|
1924
2055
|
}],
|
|
1925
2056
|
"mask-image-conic-pos": [{
|
|
1926
|
-
"mask-conic": [
|
|
2057
|
+
"mask-conic": [A]
|
|
1927
2058
|
}],
|
|
1928
2059
|
"mask-image-conic-from-pos": [{
|
|
1929
|
-
"mask-conic-from":
|
|
2060
|
+
"mask-conic-from": R()
|
|
1930
2061
|
}],
|
|
1931
2062
|
"mask-image-conic-to-pos": [{
|
|
1932
|
-
"mask-conic-to":
|
|
2063
|
+
"mask-conic-to": R()
|
|
1933
2064
|
}],
|
|
1934
2065
|
"mask-image-conic-from-color": [{
|
|
1935
2066
|
"mask-conic-from": p()
|
|
@@ -1956,21 +2087,21 @@ const No = (t, o) => {
|
|
|
1956
2087
|
* @see https://tailwindcss.com/docs/mask-position
|
|
1957
2088
|
*/
|
|
1958
2089
|
"mask-position": [{
|
|
1959
|
-
mask:
|
|
2090
|
+
mask: S()
|
|
1960
2091
|
}],
|
|
1961
2092
|
/**
|
|
1962
2093
|
* Mask Repeat
|
|
1963
2094
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
1964
2095
|
*/
|
|
1965
2096
|
"mask-repeat": [{
|
|
1966
|
-
mask:
|
|
2097
|
+
mask: Fe()
|
|
1967
2098
|
}],
|
|
1968
2099
|
/**
|
|
1969
2100
|
* Mask Size
|
|
1970
2101
|
* @see https://tailwindcss.com/docs/mask-size
|
|
1971
2102
|
*/
|
|
1972
2103
|
"mask-size": [{
|
|
1973
|
-
mask:
|
|
2104
|
+
mask: v()
|
|
1974
2105
|
}],
|
|
1975
2106
|
/**
|
|
1976
2107
|
* Mask Type
|
|
@@ -2007,21 +2138,21 @@ const No = (t, o) => {
|
|
|
2007
2138
|
* @see https://tailwindcss.com/docs/blur
|
|
2008
2139
|
*/
|
|
2009
2140
|
blur: [{
|
|
2010
|
-
blur:
|
|
2141
|
+
blur: Oe()
|
|
2011
2142
|
}],
|
|
2012
2143
|
/**
|
|
2013
2144
|
* Brightness
|
|
2014
2145
|
* @see https://tailwindcss.com/docs/brightness
|
|
2015
2146
|
*/
|
|
2016
2147
|
brightness: [{
|
|
2017
|
-
brightness: [
|
|
2148
|
+
brightness: [A, d, c]
|
|
2018
2149
|
}],
|
|
2019
2150
|
/**
|
|
2020
2151
|
* Contrast
|
|
2021
2152
|
* @see https://tailwindcss.com/docs/contrast
|
|
2022
2153
|
*/
|
|
2023
2154
|
contrast: [{
|
|
2024
|
-
contrast: [
|
|
2155
|
+
contrast: [A, d, c]
|
|
2025
2156
|
}],
|
|
2026
2157
|
/**
|
|
2027
2158
|
* Drop Shadow
|
|
@@ -2032,9 +2163,9 @@ const No = (t, o) => {
|
|
|
2032
2163
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2033
2164
|
"",
|
|
2034
2165
|
"none",
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2166
|
+
$,
|
|
2167
|
+
Qe,
|
|
2168
|
+
Je
|
|
2038
2169
|
]
|
|
2039
2170
|
}],
|
|
2040
2171
|
/**
|
|
@@ -2049,35 +2180,35 @@ const No = (t, o) => {
|
|
|
2049
2180
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2050
2181
|
*/
|
|
2051
2182
|
grayscale: [{
|
|
2052
|
-
grayscale: ["",
|
|
2183
|
+
grayscale: ["", A, d, c]
|
|
2053
2184
|
}],
|
|
2054
2185
|
/**
|
|
2055
2186
|
* Hue Rotate
|
|
2056
2187
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2057
2188
|
*/
|
|
2058
2189
|
"hue-rotate": [{
|
|
2059
|
-
"hue-rotate": [
|
|
2190
|
+
"hue-rotate": [A, d, c]
|
|
2060
2191
|
}],
|
|
2061
2192
|
/**
|
|
2062
2193
|
* Invert
|
|
2063
2194
|
* @see https://tailwindcss.com/docs/invert
|
|
2064
2195
|
*/
|
|
2065
2196
|
invert: [{
|
|
2066
|
-
invert: ["",
|
|
2197
|
+
invert: ["", A, d, c]
|
|
2067
2198
|
}],
|
|
2068
2199
|
/**
|
|
2069
2200
|
* Saturate
|
|
2070
2201
|
* @see https://tailwindcss.com/docs/saturate
|
|
2071
2202
|
*/
|
|
2072
2203
|
saturate: [{
|
|
2073
|
-
saturate: [
|
|
2204
|
+
saturate: [A, d, c]
|
|
2074
2205
|
}],
|
|
2075
2206
|
/**
|
|
2076
2207
|
* Sepia
|
|
2077
2208
|
* @see https://tailwindcss.com/docs/sepia
|
|
2078
2209
|
*/
|
|
2079
2210
|
sepia: [{
|
|
2080
|
-
sepia: ["",
|
|
2211
|
+
sepia: ["", A, d, c]
|
|
2081
2212
|
}],
|
|
2082
2213
|
/**
|
|
2083
2214
|
* Backdrop Filter
|
|
@@ -2097,63 +2228,63 @@ const No = (t, o) => {
|
|
|
2097
2228
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2098
2229
|
*/
|
|
2099
2230
|
"backdrop-blur": [{
|
|
2100
|
-
"backdrop-blur":
|
|
2231
|
+
"backdrop-blur": Oe()
|
|
2101
2232
|
}],
|
|
2102
2233
|
/**
|
|
2103
2234
|
* Backdrop Brightness
|
|
2104
2235
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2105
2236
|
*/
|
|
2106
2237
|
"backdrop-brightness": [{
|
|
2107
|
-
"backdrop-brightness": [
|
|
2238
|
+
"backdrop-brightness": [A, d, c]
|
|
2108
2239
|
}],
|
|
2109
2240
|
/**
|
|
2110
2241
|
* Backdrop Contrast
|
|
2111
2242
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2112
2243
|
*/
|
|
2113
2244
|
"backdrop-contrast": [{
|
|
2114
|
-
"backdrop-contrast": [
|
|
2245
|
+
"backdrop-contrast": [A, d, c]
|
|
2115
2246
|
}],
|
|
2116
2247
|
/**
|
|
2117
2248
|
* Backdrop Grayscale
|
|
2118
2249
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2119
2250
|
*/
|
|
2120
2251
|
"backdrop-grayscale": [{
|
|
2121
|
-
"backdrop-grayscale": ["",
|
|
2252
|
+
"backdrop-grayscale": ["", A, d, c]
|
|
2122
2253
|
}],
|
|
2123
2254
|
/**
|
|
2124
2255
|
* Backdrop Hue Rotate
|
|
2125
2256
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2126
2257
|
*/
|
|
2127
2258
|
"backdrop-hue-rotate": [{
|
|
2128
|
-
"backdrop-hue-rotate": [
|
|
2259
|
+
"backdrop-hue-rotate": [A, d, c]
|
|
2129
2260
|
}],
|
|
2130
2261
|
/**
|
|
2131
2262
|
* Backdrop Invert
|
|
2132
2263
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2133
2264
|
*/
|
|
2134
2265
|
"backdrop-invert": [{
|
|
2135
|
-
"backdrop-invert": ["",
|
|
2266
|
+
"backdrop-invert": ["", A, d, c]
|
|
2136
2267
|
}],
|
|
2137
2268
|
/**
|
|
2138
2269
|
* Backdrop Opacity
|
|
2139
2270
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2140
2271
|
*/
|
|
2141
2272
|
"backdrop-opacity": [{
|
|
2142
|
-
"backdrop-opacity": [
|
|
2273
|
+
"backdrop-opacity": [A, d, c]
|
|
2143
2274
|
}],
|
|
2144
2275
|
/**
|
|
2145
2276
|
* Backdrop Saturate
|
|
2146
2277
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2147
2278
|
*/
|
|
2148
2279
|
"backdrop-saturate": [{
|
|
2149
|
-
"backdrop-saturate": [
|
|
2280
|
+
"backdrop-saturate": [A, d, c]
|
|
2150
2281
|
}],
|
|
2151
2282
|
/**
|
|
2152
2283
|
* Backdrop Sepia
|
|
2153
2284
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2154
2285
|
*/
|
|
2155
2286
|
"backdrop-sepia": [{
|
|
2156
|
-
"backdrop-sepia": ["",
|
|
2287
|
+
"backdrop-sepia": ["", A, d, c]
|
|
2157
2288
|
}],
|
|
2158
2289
|
// --------------
|
|
2159
2290
|
// --- Tables ---
|
|
@@ -2170,21 +2301,21 @@ const No = (t, o) => {
|
|
|
2170
2301
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2171
2302
|
*/
|
|
2172
2303
|
"border-spacing": [{
|
|
2173
|
-
"border-spacing":
|
|
2304
|
+
"border-spacing": f()
|
|
2174
2305
|
}],
|
|
2175
2306
|
/**
|
|
2176
2307
|
* Border Spacing X
|
|
2177
2308
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2178
2309
|
*/
|
|
2179
2310
|
"border-spacing-x": [{
|
|
2180
|
-
"border-spacing-x":
|
|
2311
|
+
"border-spacing-x": f()
|
|
2181
2312
|
}],
|
|
2182
2313
|
/**
|
|
2183
2314
|
* Border Spacing Y
|
|
2184
2315
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2185
2316
|
*/
|
|
2186
2317
|
"border-spacing-y": [{
|
|
2187
|
-
"border-spacing-y":
|
|
2318
|
+
"border-spacing-y": f()
|
|
2188
2319
|
}],
|
|
2189
2320
|
/**
|
|
2190
2321
|
* Table Layout
|
|
@@ -2222,28 +2353,28 @@ const No = (t, o) => {
|
|
|
2222
2353
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2223
2354
|
*/
|
|
2224
2355
|
duration: [{
|
|
2225
|
-
duration: [
|
|
2356
|
+
duration: [A, "initial", d, c]
|
|
2226
2357
|
}],
|
|
2227
2358
|
/**
|
|
2228
2359
|
* Transition Timing Function
|
|
2229
2360
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2230
2361
|
*/
|
|
2231
2362
|
ease: [{
|
|
2232
|
-
ease: ["linear", "initial",
|
|
2363
|
+
ease: ["linear", "initial", ae, d, c]
|
|
2233
2364
|
}],
|
|
2234
2365
|
/**
|
|
2235
2366
|
* Transition Delay
|
|
2236
2367
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2237
2368
|
*/
|
|
2238
2369
|
delay: [{
|
|
2239
|
-
delay: [
|
|
2370
|
+
delay: [A, d, c]
|
|
2240
2371
|
}],
|
|
2241
2372
|
/**
|
|
2242
2373
|
* Animation
|
|
2243
2374
|
* @see https://tailwindcss.com/docs/animation
|
|
2244
2375
|
*/
|
|
2245
2376
|
animate: [{
|
|
2246
|
-
animate: ["none",
|
|
2377
|
+
animate: ["none", ke, d, c]
|
|
2247
2378
|
}],
|
|
2248
2379
|
// ------------------
|
|
2249
2380
|
// --- Transforms ---
|
|
@@ -2260,70 +2391,70 @@ const No = (t, o) => {
|
|
|
2260
2391
|
* @see https://tailwindcss.com/docs/perspective
|
|
2261
2392
|
*/
|
|
2262
2393
|
perspective: [{
|
|
2263
|
-
perspective: [
|
|
2394
|
+
perspective: [Y, d, c]
|
|
2264
2395
|
}],
|
|
2265
2396
|
/**
|
|
2266
2397
|
* Perspective Origin
|
|
2267
2398
|
* @see https://tailwindcss.com/docs/perspective-origin
|
|
2268
2399
|
*/
|
|
2269
2400
|
"perspective-origin": [{
|
|
2270
|
-
"perspective-origin":
|
|
2401
|
+
"perspective-origin": q()
|
|
2271
2402
|
}],
|
|
2272
2403
|
/**
|
|
2273
2404
|
* Rotate
|
|
2274
2405
|
* @see https://tailwindcss.com/docs/rotate
|
|
2275
2406
|
*/
|
|
2276
2407
|
rotate: [{
|
|
2277
|
-
rotate:
|
|
2408
|
+
rotate: ye()
|
|
2278
2409
|
}],
|
|
2279
2410
|
/**
|
|
2280
2411
|
* Rotate X
|
|
2281
2412
|
* @see https://tailwindcss.com/docs/rotate
|
|
2282
2413
|
*/
|
|
2283
2414
|
"rotate-x": [{
|
|
2284
|
-
"rotate-x":
|
|
2415
|
+
"rotate-x": ye()
|
|
2285
2416
|
}],
|
|
2286
2417
|
/**
|
|
2287
2418
|
* Rotate Y
|
|
2288
2419
|
* @see https://tailwindcss.com/docs/rotate
|
|
2289
2420
|
*/
|
|
2290
2421
|
"rotate-y": [{
|
|
2291
|
-
"rotate-y":
|
|
2422
|
+
"rotate-y": ye()
|
|
2292
2423
|
}],
|
|
2293
2424
|
/**
|
|
2294
2425
|
* Rotate Z
|
|
2295
2426
|
* @see https://tailwindcss.com/docs/rotate
|
|
2296
2427
|
*/
|
|
2297
2428
|
"rotate-z": [{
|
|
2298
|
-
"rotate-z":
|
|
2429
|
+
"rotate-z": ye()
|
|
2299
2430
|
}],
|
|
2300
2431
|
/**
|
|
2301
2432
|
* Scale
|
|
2302
2433
|
* @see https://tailwindcss.com/docs/scale
|
|
2303
2434
|
*/
|
|
2304
2435
|
scale: [{
|
|
2305
|
-
scale:
|
|
2436
|
+
scale: Ee()
|
|
2306
2437
|
}],
|
|
2307
2438
|
/**
|
|
2308
2439
|
* Scale X
|
|
2309
2440
|
* @see https://tailwindcss.com/docs/scale
|
|
2310
2441
|
*/
|
|
2311
2442
|
"scale-x": [{
|
|
2312
|
-
"scale-x":
|
|
2443
|
+
"scale-x": Ee()
|
|
2313
2444
|
}],
|
|
2314
2445
|
/**
|
|
2315
2446
|
* Scale Y
|
|
2316
2447
|
* @see https://tailwindcss.com/docs/scale
|
|
2317
2448
|
*/
|
|
2318
2449
|
"scale-y": [{
|
|
2319
|
-
"scale-y":
|
|
2450
|
+
"scale-y": Ee()
|
|
2320
2451
|
}],
|
|
2321
2452
|
/**
|
|
2322
2453
|
* Scale Z
|
|
2323
2454
|
* @see https://tailwindcss.com/docs/scale
|
|
2324
2455
|
*/
|
|
2325
2456
|
"scale-z": [{
|
|
2326
|
-
"scale-z":
|
|
2457
|
+
"scale-z": Ee()
|
|
2327
2458
|
}],
|
|
2328
2459
|
/**
|
|
2329
2460
|
* Scale 3D
|
|
@@ -2335,21 +2466,21 @@ const No = (t, o) => {
|
|
|
2335
2466
|
* @see https://tailwindcss.com/docs/skew
|
|
2336
2467
|
*/
|
|
2337
2468
|
skew: [{
|
|
2338
|
-
skew:
|
|
2469
|
+
skew: ee()
|
|
2339
2470
|
}],
|
|
2340
2471
|
/**
|
|
2341
2472
|
* Skew X
|
|
2342
2473
|
* @see https://tailwindcss.com/docs/skew
|
|
2343
2474
|
*/
|
|
2344
2475
|
"skew-x": [{
|
|
2345
|
-
"skew-x":
|
|
2476
|
+
"skew-x": ee()
|
|
2346
2477
|
}],
|
|
2347
2478
|
/**
|
|
2348
2479
|
* Skew Y
|
|
2349
2480
|
* @see https://tailwindcss.com/docs/skew
|
|
2350
2481
|
*/
|
|
2351
2482
|
"skew-y": [{
|
|
2352
|
-
"skew-y":
|
|
2483
|
+
"skew-y": ee()
|
|
2353
2484
|
}],
|
|
2354
2485
|
/**
|
|
2355
2486
|
* Transform
|
|
@@ -2363,7 +2494,7 @@ const No = (t, o) => {
|
|
|
2363
2494
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
2364
2495
|
*/
|
|
2365
2496
|
"transform-origin": [{
|
|
2366
|
-
origin:
|
|
2497
|
+
origin: q()
|
|
2367
2498
|
}],
|
|
2368
2499
|
/**
|
|
2369
2500
|
* Transform Style
|
|
@@ -2377,28 +2508,28 @@ const No = (t, o) => {
|
|
|
2377
2508
|
* @see https://tailwindcss.com/docs/translate
|
|
2378
2509
|
*/
|
|
2379
2510
|
translate: [{
|
|
2380
|
-
translate:
|
|
2511
|
+
translate: re()
|
|
2381
2512
|
}],
|
|
2382
2513
|
/**
|
|
2383
2514
|
* Translate X
|
|
2384
2515
|
* @see https://tailwindcss.com/docs/translate
|
|
2385
2516
|
*/
|
|
2386
2517
|
"translate-x": [{
|
|
2387
|
-
"translate-x":
|
|
2518
|
+
"translate-x": re()
|
|
2388
2519
|
}],
|
|
2389
2520
|
/**
|
|
2390
2521
|
* Translate Y
|
|
2391
2522
|
* @see https://tailwindcss.com/docs/translate
|
|
2392
2523
|
*/
|
|
2393
2524
|
"translate-y": [{
|
|
2394
|
-
"translate-y":
|
|
2525
|
+
"translate-y": re()
|
|
2395
2526
|
}],
|
|
2396
2527
|
/**
|
|
2397
2528
|
* Translate Z
|
|
2398
2529
|
* @see https://tailwindcss.com/docs/translate
|
|
2399
2530
|
*/
|
|
2400
2531
|
"translate-z": [{
|
|
2401
|
-
"translate-z":
|
|
2532
|
+
"translate-z": re()
|
|
2402
2533
|
}],
|
|
2403
2534
|
/**
|
|
2404
2535
|
* Translate None
|
|
@@ -2476,126 +2607,154 @@ const No = (t, o) => {
|
|
|
2476
2607
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2477
2608
|
*/
|
|
2478
2609
|
"scroll-m": [{
|
|
2479
|
-
"scroll-m":
|
|
2610
|
+
"scroll-m": f()
|
|
2480
2611
|
}],
|
|
2481
2612
|
/**
|
|
2482
|
-
* Scroll Margin
|
|
2613
|
+
* Scroll Margin Inline
|
|
2483
2614
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2484
2615
|
*/
|
|
2485
2616
|
"scroll-mx": [{
|
|
2486
|
-
"scroll-mx":
|
|
2617
|
+
"scroll-mx": f()
|
|
2487
2618
|
}],
|
|
2488
2619
|
/**
|
|
2489
|
-
* Scroll Margin
|
|
2620
|
+
* Scroll Margin Block
|
|
2490
2621
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2491
2622
|
*/
|
|
2492
2623
|
"scroll-my": [{
|
|
2493
|
-
"scroll-my":
|
|
2624
|
+
"scroll-my": f()
|
|
2494
2625
|
}],
|
|
2495
2626
|
/**
|
|
2496
|
-
* Scroll Margin Start
|
|
2627
|
+
* Scroll Margin Inline Start
|
|
2497
2628
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2498
2629
|
*/
|
|
2499
2630
|
"scroll-ms": [{
|
|
2500
|
-
"scroll-ms":
|
|
2631
|
+
"scroll-ms": f()
|
|
2501
2632
|
}],
|
|
2502
2633
|
/**
|
|
2503
|
-
* Scroll Margin End
|
|
2634
|
+
* Scroll Margin Inline End
|
|
2504
2635
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2505
2636
|
*/
|
|
2506
2637
|
"scroll-me": [{
|
|
2507
|
-
"scroll-me":
|
|
2638
|
+
"scroll-me": f()
|
|
2639
|
+
}],
|
|
2640
|
+
/**
|
|
2641
|
+
* Scroll Margin Block Start
|
|
2642
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2643
|
+
*/
|
|
2644
|
+
"scroll-mbs": [{
|
|
2645
|
+
"scroll-mbs": f()
|
|
2646
|
+
}],
|
|
2647
|
+
/**
|
|
2648
|
+
* Scroll Margin Block End
|
|
2649
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2650
|
+
*/
|
|
2651
|
+
"scroll-mbe": [{
|
|
2652
|
+
"scroll-mbe": f()
|
|
2508
2653
|
}],
|
|
2509
2654
|
/**
|
|
2510
2655
|
* Scroll Margin Top
|
|
2511
2656
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2512
2657
|
*/
|
|
2513
2658
|
"scroll-mt": [{
|
|
2514
|
-
"scroll-mt":
|
|
2659
|
+
"scroll-mt": f()
|
|
2515
2660
|
}],
|
|
2516
2661
|
/**
|
|
2517
2662
|
* Scroll Margin Right
|
|
2518
2663
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2519
2664
|
*/
|
|
2520
2665
|
"scroll-mr": [{
|
|
2521
|
-
"scroll-mr":
|
|
2666
|
+
"scroll-mr": f()
|
|
2522
2667
|
}],
|
|
2523
2668
|
/**
|
|
2524
2669
|
* Scroll Margin Bottom
|
|
2525
2670
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2526
2671
|
*/
|
|
2527
2672
|
"scroll-mb": [{
|
|
2528
|
-
"scroll-mb":
|
|
2673
|
+
"scroll-mb": f()
|
|
2529
2674
|
}],
|
|
2530
2675
|
/**
|
|
2531
2676
|
* Scroll Margin Left
|
|
2532
2677
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2533
2678
|
*/
|
|
2534
2679
|
"scroll-ml": [{
|
|
2535
|
-
"scroll-ml":
|
|
2680
|
+
"scroll-ml": f()
|
|
2536
2681
|
}],
|
|
2537
2682
|
/**
|
|
2538
2683
|
* Scroll Padding
|
|
2539
2684
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2540
2685
|
*/
|
|
2541
2686
|
"scroll-p": [{
|
|
2542
|
-
"scroll-p":
|
|
2687
|
+
"scroll-p": f()
|
|
2543
2688
|
}],
|
|
2544
2689
|
/**
|
|
2545
|
-
* Scroll Padding
|
|
2690
|
+
* Scroll Padding Inline
|
|
2546
2691
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2547
2692
|
*/
|
|
2548
2693
|
"scroll-px": [{
|
|
2549
|
-
"scroll-px":
|
|
2694
|
+
"scroll-px": f()
|
|
2550
2695
|
}],
|
|
2551
2696
|
/**
|
|
2552
|
-
* Scroll Padding
|
|
2697
|
+
* Scroll Padding Block
|
|
2553
2698
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2554
2699
|
*/
|
|
2555
2700
|
"scroll-py": [{
|
|
2556
|
-
"scroll-py":
|
|
2701
|
+
"scroll-py": f()
|
|
2557
2702
|
}],
|
|
2558
2703
|
/**
|
|
2559
|
-
* Scroll Padding Start
|
|
2704
|
+
* Scroll Padding Inline Start
|
|
2560
2705
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2561
2706
|
*/
|
|
2562
2707
|
"scroll-ps": [{
|
|
2563
|
-
"scroll-ps":
|
|
2708
|
+
"scroll-ps": f()
|
|
2564
2709
|
}],
|
|
2565
2710
|
/**
|
|
2566
|
-
* Scroll Padding End
|
|
2711
|
+
* Scroll Padding Inline End
|
|
2567
2712
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2568
2713
|
*/
|
|
2569
2714
|
"scroll-pe": [{
|
|
2570
|
-
"scroll-pe":
|
|
2715
|
+
"scroll-pe": f()
|
|
2716
|
+
}],
|
|
2717
|
+
/**
|
|
2718
|
+
* Scroll Padding Block Start
|
|
2719
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2720
|
+
*/
|
|
2721
|
+
"scroll-pbs": [{
|
|
2722
|
+
"scroll-pbs": f()
|
|
2723
|
+
}],
|
|
2724
|
+
/**
|
|
2725
|
+
* Scroll Padding Block End
|
|
2726
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2727
|
+
*/
|
|
2728
|
+
"scroll-pbe": [{
|
|
2729
|
+
"scroll-pbe": f()
|
|
2571
2730
|
}],
|
|
2572
2731
|
/**
|
|
2573
2732
|
* Scroll Padding Top
|
|
2574
2733
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2575
2734
|
*/
|
|
2576
2735
|
"scroll-pt": [{
|
|
2577
|
-
"scroll-pt":
|
|
2736
|
+
"scroll-pt": f()
|
|
2578
2737
|
}],
|
|
2579
2738
|
/**
|
|
2580
2739
|
* Scroll Padding Right
|
|
2581
2740
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2582
2741
|
*/
|
|
2583
2742
|
"scroll-pr": [{
|
|
2584
|
-
"scroll-pr":
|
|
2743
|
+
"scroll-pr": f()
|
|
2585
2744
|
}],
|
|
2586
2745
|
/**
|
|
2587
2746
|
* Scroll Padding Bottom
|
|
2588
2747
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2589
2748
|
*/
|
|
2590
2749
|
"scroll-pb": [{
|
|
2591
|
-
"scroll-pb":
|
|
2750
|
+
"scroll-pb": f()
|
|
2592
2751
|
}],
|
|
2593
2752
|
/**
|
|
2594
2753
|
* Scroll Padding Left
|
|
2595
2754
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2596
2755
|
*/
|
|
2597
2756
|
"scroll-pl": [{
|
|
2598
|
-
"scroll-pl":
|
|
2757
|
+
"scroll-pl": f()
|
|
2599
2758
|
}],
|
|
2600
2759
|
/**
|
|
2601
2760
|
* Scroll Snap Align
|
|
@@ -2680,7 +2839,7 @@ const No = (t, o) => {
|
|
|
2680
2839
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2681
2840
|
*/
|
|
2682
2841
|
"stroke-w": [{
|
|
2683
|
-
stroke: [
|
|
2842
|
+
stroke: [A, He, xe, $t]
|
|
2684
2843
|
}],
|
|
2685
2844
|
/**
|
|
2686
2845
|
* Stroke
|
|
@@ -2703,15 +2862,15 @@ const No = (t, o) => {
|
|
|
2703
2862
|
conflictingClassGroups: {
|
|
2704
2863
|
overflow: ["overflow-x", "overflow-y"],
|
|
2705
2864
|
overscroll: ["overscroll-x", "overscroll-y"],
|
|
2706
|
-
inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
|
|
2865
|
+
inset: ["inset-x", "inset-y", "inset-bs", "inset-be", "start", "end", "top", "right", "bottom", "left"],
|
|
2707
2866
|
"inset-x": ["right", "left"],
|
|
2708
2867
|
"inset-y": ["top", "bottom"],
|
|
2709
2868
|
flex: ["basis", "grow", "shrink"],
|
|
2710
2869
|
gap: ["gap-x", "gap-y"],
|
|
2711
|
-
p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
|
|
2870
|
+
p: ["px", "py", "ps", "pe", "pbs", "pbe", "pt", "pr", "pb", "pl"],
|
|
2712
2871
|
px: ["pr", "pl"],
|
|
2713
2872
|
py: ["pt", "pb"],
|
|
2714
|
-
m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
|
|
2873
|
+
m: ["mx", "my", "ms", "me", "mbs", "mbe", "mt", "mr", "mb", "ml"],
|
|
2715
2874
|
mx: ["mr", "ml"],
|
|
2716
2875
|
my: ["mt", "mb"],
|
|
2717
2876
|
size: ["w", "h"],
|
|
@@ -2731,18 +2890,18 @@ const No = (t, o) => {
|
|
|
2731
2890
|
"rounded-b": ["rounded-br", "rounded-bl"],
|
|
2732
2891
|
"rounded-l": ["rounded-tl", "rounded-bl"],
|
|
2733
2892
|
"border-spacing": ["border-spacing-x", "border-spacing-y"],
|
|
2734
|
-
"border-w": ["border-w-x", "border-w-y", "border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
|
|
2893
|
+
"border-w": ["border-w-x", "border-w-y", "border-w-s", "border-w-e", "border-w-bs", "border-w-be", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
|
|
2735
2894
|
"border-w-x": ["border-w-r", "border-w-l"],
|
|
2736
2895
|
"border-w-y": ["border-w-t", "border-w-b"],
|
|
2737
|
-
"border-color": ["border-color-x", "border-color-y", "border-color-s", "border-color-e", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
|
|
2896
|
+
"border-color": ["border-color-x", "border-color-y", "border-color-s", "border-color-e", "border-color-bs", "border-color-be", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
|
|
2738
2897
|
"border-color-x": ["border-color-r", "border-color-l"],
|
|
2739
2898
|
"border-color-y": ["border-color-t", "border-color-b"],
|
|
2740
2899
|
translate: ["translate-x", "translate-y", "translate-none"],
|
|
2741
2900
|
"translate-none": ["translate", "translate-x", "translate-y", "translate-z"],
|
|
2742
|
-
"scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
|
|
2901
|
+
"scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mbs", "scroll-mbe", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
|
|
2743
2902
|
"scroll-mx": ["scroll-mr", "scroll-ml"],
|
|
2744
2903
|
"scroll-my": ["scroll-mt", "scroll-mb"],
|
|
2745
|
-
"scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
|
|
2904
|
+
"scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pbs", "scroll-pbe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
|
|
2746
2905
|
"scroll-px": ["scroll-pr", "scroll-pl"],
|
|
2747
2906
|
"scroll-py": ["scroll-pt", "scroll-pb"],
|
|
2748
2907
|
touch: ["touch-x", "touch-y", "touch-pz"],
|
|
@@ -2755,57 +2914,57 @@ const No = (t, o) => {
|
|
|
2755
2914
|
},
|
|
2756
2915
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
2757
2916
|
};
|
|
2758
|
-
},
|
|
2759
|
-
function
|
|
2760
|
-
children:
|
|
2917
|
+
}, Ln = /* @__PURE__ */ dn(In), ko = Uo(null);
|
|
2918
|
+
function ar({
|
|
2919
|
+
children: e,
|
|
2761
2920
|
overlayBgClassName: o = "bg-black/40"
|
|
2762
2921
|
}) {
|
|
2763
|
-
const [r, n] =
|
|
2922
|
+
const [r, n] = Go({
|
|
2764
2923
|
node: null,
|
|
2765
2924
|
resolve: void 0,
|
|
2766
2925
|
isOpen: !1,
|
|
2767
2926
|
closeValue: null
|
|
2768
2927
|
});
|
|
2769
|
-
function
|
|
2928
|
+
function i(b) {
|
|
2770
2929
|
return new Promise((w) => {
|
|
2771
2930
|
n({
|
|
2772
|
-
node:
|
|
2931
|
+
node: b,
|
|
2773
2932
|
resolve: w,
|
|
2774
2933
|
isOpen: !0,
|
|
2775
2934
|
closeValue: null
|
|
2776
2935
|
});
|
|
2777
2936
|
});
|
|
2778
2937
|
}
|
|
2779
|
-
function l(
|
|
2938
|
+
function l(b) {
|
|
2780
2939
|
n((w) => ({
|
|
2781
2940
|
...w,
|
|
2782
2941
|
isOpen: !1,
|
|
2783
|
-
closeValue:
|
|
2942
|
+
closeValue: b
|
|
2784
2943
|
}));
|
|
2785
2944
|
}
|
|
2786
|
-
function
|
|
2787
|
-
n((
|
|
2945
|
+
function a() {
|
|
2946
|
+
n((b) => (b.resolve?.(b.closeValue), {
|
|
2788
2947
|
node: null,
|
|
2789
2948
|
resolve: void 0,
|
|
2790
2949
|
isOpen: !1,
|
|
2791
2950
|
closeValue: null
|
|
2792
2951
|
}));
|
|
2793
2952
|
}
|
|
2794
|
-
function b
|
|
2795
|
-
l(
|
|
2953
|
+
function h(b) {
|
|
2954
|
+
l(b), a();
|
|
2796
2955
|
}
|
|
2797
|
-
const
|
|
2798
|
-
open:
|
|
2799
|
-
close:
|
|
2956
|
+
const u = {
|
|
2957
|
+
open: i,
|
|
2958
|
+
close: h,
|
|
2800
2959
|
requestClose: l,
|
|
2801
|
-
finishClose:
|
|
2960
|
+
finishClose: a
|
|
2802
2961
|
};
|
|
2803
|
-
return /* @__PURE__ */
|
|
2804
|
-
|
|
2805
|
-
r.node && /* @__PURE__ */
|
|
2962
|
+
return /* @__PURE__ */ Fo(ko.Provider, { value: u, children: [
|
|
2963
|
+
e,
|
|
2964
|
+
r.node && /* @__PURE__ */ mo(
|
|
2806
2965
|
"div",
|
|
2807
2966
|
{
|
|
2808
|
-
className:
|
|
2967
|
+
className: Ln(
|
|
2809
2968
|
"fixed inset-0 z-[9999] flex items-center justify-center",
|
|
2810
2969
|
o
|
|
2811
2970
|
),
|
|
@@ -2814,15 +2973,15 @@ function $n({
|
|
|
2814
2973
|
)
|
|
2815
2974
|
] });
|
|
2816
2975
|
}
|
|
2817
|
-
function
|
|
2818
|
-
const
|
|
2819
|
-
if (!
|
|
2976
|
+
function lr() {
|
|
2977
|
+
const e = Ho(ko);
|
|
2978
|
+
if (!e)
|
|
2820
2979
|
throw new Error(
|
|
2821
2980
|
"useOverlay는 반드시 OverlayRoot 내부에서 사용해야 합니다."
|
|
2822
2981
|
);
|
|
2823
|
-
return
|
|
2982
|
+
return e;
|
|
2824
2983
|
}
|
|
2825
|
-
class
|
|
2984
|
+
class cr extends Wo {
|
|
2826
2985
|
state = {
|
|
2827
2986
|
hasError: !1
|
|
2828
2987
|
};
|
|
@@ -2837,142 +2996,179 @@ class Kn extends Do {
|
|
|
2837
2996
|
}
|
|
2838
2997
|
}
|
|
2839
2998
|
const {
|
|
2840
|
-
entries:
|
|
2841
|
-
setPrototypeOf:
|
|
2842
|
-
isFrozen:
|
|
2843
|
-
getPrototypeOf:
|
|
2844
|
-
getOwnPropertyDescriptor:
|
|
2999
|
+
entries: Ro,
|
|
3000
|
+
setPrototypeOf: Zt,
|
|
3001
|
+
isFrozen: Dn,
|
|
3002
|
+
getPrototypeOf: Nn,
|
|
3003
|
+
getOwnPropertyDescriptor: Mn
|
|
2845
3004
|
} = Object;
|
|
2846
3005
|
let {
|
|
2847
|
-
freeze:
|
|
2848
|
-
seal:
|
|
2849
|
-
create:
|
|
3006
|
+
freeze: H,
|
|
3007
|
+
seal: Z,
|
|
3008
|
+
create: Me
|
|
2850
3009
|
} = Object, {
|
|
2851
|
-
apply:
|
|
2852
|
-
construct:
|
|
3010
|
+
apply: _t,
|
|
3011
|
+
construct: xt
|
|
2853
3012
|
} = typeof Reflect < "u" && Reflect;
|
|
2854
|
-
|
|
3013
|
+
H || (H = function(o) {
|
|
2855
3014
|
return o;
|
|
2856
3015
|
});
|
|
2857
|
-
|
|
3016
|
+
Z || (Z = function(o) {
|
|
2858
3017
|
return o;
|
|
2859
3018
|
});
|
|
2860
|
-
|
|
2861
|
-
for (var n = arguments.length,
|
|
2862
|
-
|
|
2863
|
-
return o.apply(r,
|
|
3019
|
+
_t || (_t = function(o, r) {
|
|
3020
|
+
for (var n = arguments.length, i = new Array(n > 2 ? n - 2 : 0), l = 2; l < n; l++)
|
|
3021
|
+
i[l - 2] = arguments[l];
|
|
3022
|
+
return o.apply(r, i);
|
|
2864
3023
|
});
|
|
2865
|
-
|
|
2866
|
-
for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0),
|
|
2867
|
-
n[
|
|
3024
|
+
xt || (xt = function(o) {
|
|
3025
|
+
for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
|
|
3026
|
+
n[i - 1] = arguments[i];
|
|
2868
3027
|
return new o(...n);
|
|
2869
3028
|
});
|
|
2870
|
-
const
|
|
2871
|
-
function
|
|
3029
|
+
const We = C(Array.prototype.forEach), Pn = C(Array.prototype.lastIndexOf), Jt = C(Array.prototype.pop), Be = C(Array.prototype.push), zn = C(Array.prototype.splice), G = Array.isArray, Ye = C(String.prototype.toLowerCase), ht = C(String.prototype.toString), Qt = C(String.prototype.match), Ne = C(String.prototype.replace), eo = C(String.prototype.indexOf), Fn = C(String.prototype.trim), Un = C(Number.prototype.toString), Gn = C(Boolean.prototype.toString), to = typeof BigInt > "u" ? null : C(BigInt.prototype.toString), oo = typeof Symbol > "u" ? null : C(Symbol.prototype.toString), x = C(Object.prototype.hasOwnProperty), je = C(Object.prototype.toString), M = C(RegExp.prototype.test), et = Hn(TypeError);
|
|
3030
|
+
function C(e) {
|
|
2872
3031
|
return function(o) {
|
|
2873
3032
|
o instanceof RegExp && (o.lastIndex = 0);
|
|
2874
|
-
for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0),
|
|
2875
|
-
n[
|
|
2876
|
-
return
|
|
3033
|
+
for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
|
|
3034
|
+
n[i - 1] = arguments[i];
|
|
3035
|
+
return _t(e, o, n);
|
|
2877
3036
|
};
|
|
2878
3037
|
}
|
|
2879
|
-
function
|
|
3038
|
+
function Hn(e) {
|
|
2880
3039
|
return function() {
|
|
2881
3040
|
for (var o = arguments.length, r = new Array(o), n = 0; n < o; n++)
|
|
2882
3041
|
r[n] = arguments[n];
|
|
2883
|
-
return
|
|
3042
|
+
return xt(e, r);
|
|
2884
3043
|
};
|
|
2885
3044
|
}
|
|
2886
|
-
function
|
|
2887
|
-
let r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] :
|
|
2888
|
-
|
|
3045
|
+
function T(e, o) {
|
|
3046
|
+
let r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Ye;
|
|
3047
|
+
if (Zt && Zt(e, null), !G(o))
|
|
3048
|
+
return e;
|
|
2889
3049
|
let n = o.length;
|
|
2890
3050
|
for (; n--; ) {
|
|
2891
|
-
let
|
|
2892
|
-
if (typeof
|
|
2893
|
-
const l = r(
|
|
2894
|
-
l !==
|
|
3051
|
+
let i = o[n];
|
|
3052
|
+
if (typeof i == "string") {
|
|
3053
|
+
const l = r(i);
|
|
3054
|
+
l !== i && (Dn(o) || (o[n] = l), i = l);
|
|
2895
3055
|
}
|
|
2896
|
-
|
|
3056
|
+
e[i] = !0;
|
|
2897
3057
|
}
|
|
2898
|
-
return
|
|
3058
|
+
return e;
|
|
2899
3059
|
}
|
|
2900
|
-
function
|
|
2901
|
-
for (let o = 0; o <
|
|
2902
|
-
|
|
2903
|
-
return
|
|
3060
|
+
function Wn(e) {
|
|
3061
|
+
for (let o = 0; o < e.length; o++)
|
|
3062
|
+
x(e, o) || (e[o] = null);
|
|
3063
|
+
return e;
|
|
2904
3064
|
}
|
|
2905
|
-
function
|
|
2906
|
-
const o =
|
|
2907
|
-
for (const [r, n] of
|
|
2908
|
-
|
|
3065
|
+
function j(e) {
|
|
3066
|
+
const o = Me(null);
|
|
3067
|
+
for (const [r, n] of Ro(e))
|
|
3068
|
+
x(e, r) && (G(n) ? o[r] = Wn(n) : n && typeof n == "object" && n.constructor === Object ? o[r] = j(n) : o[r] = n);
|
|
2909
3069
|
return o;
|
|
2910
3070
|
}
|
|
2911
|
-
function
|
|
2912
|
-
|
|
2913
|
-
|
|
3071
|
+
function Bn(e) {
|
|
3072
|
+
switch (typeof e) {
|
|
3073
|
+
case "string":
|
|
3074
|
+
return e;
|
|
3075
|
+
case "number":
|
|
3076
|
+
return Un(e);
|
|
3077
|
+
case "boolean":
|
|
3078
|
+
return Gn(e);
|
|
3079
|
+
case "bigint":
|
|
3080
|
+
return to ? to(e) : "0";
|
|
3081
|
+
case "symbol":
|
|
3082
|
+
return oo ? oo(e) : "Symbol()";
|
|
3083
|
+
case "undefined":
|
|
3084
|
+
return je(e);
|
|
3085
|
+
case "function":
|
|
3086
|
+
case "object": {
|
|
3087
|
+
if (e === null)
|
|
3088
|
+
return je(e);
|
|
3089
|
+
const o = e, r = Pe(o, "toString");
|
|
3090
|
+
if (typeof r == "function") {
|
|
3091
|
+
const n = r(o);
|
|
3092
|
+
return typeof n == "string" ? n : je(n);
|
|
3093
|
+
}
|
|
3094
|
+
return je(e);
|
|
3095
|
+
}
|
|
3096
|
+
default:
|
|
3097
|
+
return je(e);
|
|
3098
|
+
}
|
|
3099
|
+
}
|
|
3100
|
+
function Pe(e, o) {
|
|
3101
|
+
for (; e !== null; ) {
|
|
3102
|
+
const n = Mn(e, o);
|
|
2914
3103
|
if (n) {
|
|
2915
3104
|
if (n.get)
|
|
2916
|
-
return
|
|
3105
|
+
return C(n.get);
|
|
2917
3106
|
if (typeof n.value == "function")
|
|
2918
|
-
return
|
|
3107
|
+
return C(n.value);
|
|
2919
3108
|
}
|
|
2920
|
-
|
|
3109
|
+
e = Nn(e);
|
|
2921
3110
|
}
|
|
2922
3111
|
function r() {
|
|
2923
3112
|
return null;
|
|
2924
3113
|
}
|
|
2925
3114
|
return r;
|
|
2926
3115
|
}
|
|
2927
|
-
|
|
3116
|
+
function jn(e) {
|
|
3117
|
+
try {
|
|
3118
|
+
return M(e, ""), !0;
|
|
3119
|
+
} catch {
|
|
3120
|
+
return !1;
|
|
3121
|
+
}
|
|
3122
|
+
}
|
|
3123
|
+
const no = H(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Tt = H(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), At = H(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Vn = H(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), yt = H(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Yn = H(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), ro = H(["#text"]), so = H(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns"]), Et = H(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), io = H(["accent", "accentunder", "align", "bevelled", "close", "columnalign", "columnlines", "columnspacing", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lquote", "lspace", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), tt = H(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Xn = Z(/\{\{[\w\W]*|[\w\W]*\}\}/gm), $n = Z(/<%[\w\W]*|[\w\W]*%>/gm), qn = Z(/\$\{[\w\W]*/gm), Kn = Z(/^data-[\-\w.\u00B7-\uFFFF]+$/), Zn = Z(/^aria-[\-\w]+$/), vo = Z(
|
|
2928
3124
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
2929
3125
|
// eslint-disable-line no-useless-escape
|
|
2930
|
-
),
|
|
3126
|
+
), Jn = Z(/^(?:\w+script|data):/i), Qn = Z(
|
|
2931
3127
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
2932
3128
|
// eslint-disable-line no-control-regex
|
|
2933
|
-
),
|
|
2934
|
-
var
|
|
3129
|
+
), Oo = Z(/^html$/i), er = Z(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
3130
|
+
var ao = /* @__PURE__ */ Object.freeze({
|
|
2935
3131
|
__proto__: null,
|
|
2936
|
-
ARIA_ATTR:
|
|
2937
|
-
ATTR_WHITESPACE:
|
|
2938
|
-
CUSTOM_ELEMENT:
|
|
2939
|
-
DATA_ATTR:
|
|
2940
|
-
DOCTYPE_NAME:
|
|
2941
|
-
ERB_EXPR:
|
|
2942
|
-
IS_ALLOWED_URI:
|
|
2943
|
-
IS_SCRIPT_OR_DATA:
|
|
2944
|
-
MUSTACHE_EXPR:
|
|
2945
|
-
TMPLIT_EXPR:
|
|
3132
|
+
ARIA_ATTR: Zn,
|
|
3133
|
+
ATTR_WHITESPACE: Qn,
|
|
3134
|
+
CUSTOM_ELEMENT: er,
|
|
3135
|
+
DATA_ATTR: Kn,
|
|
3136
|
+
DOCTYPE_NAME: Oo,
|
|
3137
|
+
ERB_EXPR: $n,
|
|
3138
|
+
IS_ALLOWED_URI: vo,
|
|
3139
|
+
IS_SCRIPT_OR_DATA: Jn,
|
|
3140
|
+
MUSTACHE_EXPR: Xn,
|
|
3141
|
+
TMPLIT_EXPR: qn
|
|
2946
3142
|
});
|
|
2947
|
-
const
|
|
3143
|
+
const Ve = {
|
|
2948
3144
|
element: 1,
|
|
2949
3145
|
text: 3,
|
|
2950
3146
|
// Deprecated
|
|
2951
3147
|
progressingInstruction: 7,
|
|
2952
3148
|
comment: 8,
|
|
2953
3149
|
document: 9
|
|
2954
|
-
},
|
|
3150
|
+
}, tr = function() {
|
|
2955
3151
|
return typeof window > "u" ? null : window;
|
|
2956
|
-
},
|
|
3152
|
+
}, or = function(o, r) {
|
|
2957
3153
|
if (typeof o != "object" || typeof o.createPolicy != "function")
|
|
2958
3154
|
return null;
|
|
2959
3155
|
let n = null;
|
|
2960
|
-
const
|
|
2961
|
-
r && r.hasAttribute(
|
|
3156
|
+
const i = "data-tt-policy-suffix";
|
|
3157
|
+
r && r.hasAttribute(i) && (n = r.getAttribute(i));
|
|
2962
3158
|
const l = "dompurify" + (n ? "#" + n : "");
|
|
2963
3159
|
try {
|
|
2964
3160
|
return o.createPolicy(l, {
|
|
2965
|
-
createHTML(
|
|
2966
|
-
return
|
|
3161
|
+
createHTML(a) {
|
|
3162
|
+
return a;
|
|
2967
3163
|
},
|
|
2968
|
-
createScriptURL(
|
|
2969
|
-
return
|
|
3164
|
+
createScriptURL(a) {
|
|
3165
|
+
return a;
|
|
2970
3166
|
}
|
|
2971
3167
|
});
|
|
2972
3168
|
} catch {
|
|
2973
3169
|
return console.warn("TrustedTypes policy " + l + " could not be created."), null;
|
|
2974
3170
|
}
|
|
2975
|
-
},
|
|
3171
|
+
}, lo = function() {
|
|
2976
3172
|
return {
|
|
2977
3173
|
afterSanitizeAttributes: [],
|
|
2978
3174
|
afterSanitizeElements: [],
|
|
@@ -2985,57 +3181,57 @@ const Ge = {
|
|
|
2985
3181
|
uponSanitizeShadowNode: []
|
|
2986
3182
|
};
|
|
2987
3183
|
};
|
|
2988
|
-
function
|
|
2989
|
-
let
|
|
2990
|
-
const o = (
|
|
2991
|
-
if (o.version = "3.
|
|
3184
|
+
function Co() {
|
|
3185
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : tr();
|
|
3186
|
+
const o = (g) => Co(g);
|
|
3187
|
+
if (o.version = "3.4.2", o.removed = [], !e || !e.document || e.document.nodeType !== Ve.document || !e.Element)
|
|
2992
3188
|
return o.isSupported = !1, o;
|
|
2993
3189
|
let {
|
|
2994
3190
|
document: r
|
|
2995
|
-
} =
|
|
2996
|
-
const n = r,
|
|
3191
|
+
} = e;
|
|
3192
|
+
const n = r, i = n.currentScript, {
|
|
2997
3193
|
DocumentFragment: l,
|
|
2998
|
-
HTMLTemplateElement:
|
|
2999
|
-
Node:
|
|
3000
|
-
Element:
|
|
3001
|
-
NodeFilter:
|
|
3002
|
-
NamedNodeMap: w =
|
|
3003
|
-
HTMLFormElement:
|
|
3004
|
-
DOMParser:
|
|
3005
|
-
trustedTypes:
|
|
3006
|
-
} =
|
|
3007
|
-
if (typeof
|
|
3008
|
-
const
|
|
3009
|
-
|
|
3194
|
+
HTMLTemplateElement: a,
|
|
3195
|
+
Node: h,
|
|
3196
|
+
Element: u,
|
|
3197
|
+
NodeFilter: b,
|
|
3198
|
+
NamedNodeMap: w = e.NamedNodeMap || e.MozNamedAttrMap,
|
|
3199
|
+
HTMLFormElement: z,
|
|
3200
|
+
DOMParser: W,
|
|
3201
|
+
trustedTypes: $
|
|
3202
|
+
} = e, V = u.prototype, Y = Pe(V, "cloneNode"), F = Pe(V, "remove"), ae = Pe(V, "nextSibling"), ke = Pe(V, "childNodes"), ne = Pe(V, "parentNode");
|
|
3203
|
+
if (typeof a == "function") {
|
|
3204
|
+
const g = r.createElement("template");
|
|
3205
|
+
g.content && g.content.ownerDocument && (r = g.content.ownerDocument);
|
|
3010
3206
|
}
|
|
3011
|
-
let
|
|
3207
|
+
let _, q = "";
|
|
3012
3208
|
const {
|
|
3013
|
-
implementation:
|
|
3014
|
-
createNodeIterator:
|
|
3015
|
-
createDocumentFragment:
|
|
3016
|
-
getElementsByTagName:
|
|
3209
|
+
implementation: J,
|
|
3210
|
+
createNodeIterator: Te,
|
|
3211
|
+
createDocumentFragment: f,
|
|
3212
|
+
getElementsByTagName: U
|
|
3017
3213
|
} = r, {
|
|
3018
|
-
importNode:
|
|
3214
|
+
importNode: Xe
|
|
3019
3215
|
} = n;
|
|
3020
|
-
let
|
|
3021
|
-
o.isSupported = typeof
|
|
3216
|
+
let D = lo();
|
|
3217
|
+
o.isSupported = typeof Ro == "function" && typeof ne == "function" && J && J.createHTMLDocument !== void 0;
|
|
3022
3218
|
const {
|
|
3023
|
-
MUSTACHE_EXPR:
|
|
3219
|
+
MUSTACHE_EXPR: le,
|
|
3024
3220
|
ERB_EXPR: Ae,
|
|
3025
3221
|
TMPLIT_EXPR: fe,
|
|
3026
|
-
DATA_ATTR:
|
|
3027
|
-
ARIA_ATTR:
|
|
3028
|
-
IS_SCRIPT_OR_DATA:
|
|
3029
|
-
ATTR_WHITESPACE:
|
|
3030
|
-
CUSTOM_ELEMENT:
|
|
3031
|
-
} =
|
|
3222
|
+
DATA_ATTR: pe,
|
|
3223
|
+
ARIA_ATTR: X,
|
|
3224
|
+
IS_SCRIPT_OR_DATA: ce,
|
|
3225
|
+
ATTR_WHITESPACE: Re,
|
|
3226
|
+
CUSTOM_ELEMENT: ze
|
|
3227
|
+
} = ao;
|
|
3032
3228
|
let {
|
|
3033
|
-
IS_ALLOWED_URI:
|
|
3034
|
-
} =
|
|
3035
|
-
const
|
|
3036
|
-
let
|
|
3037
|
-
const
|
|
3038
|
-
let
|
|
3229
|
+
IS_ALLOWED_URI: p
|
|
3230
|
+
} = ao, S = null;
|
|
3231
|
+
const Fe = T({}, [...no, ...Tt, ...At, ...yt, ...ro]);
|
|
3232
|
+
let v = null;
|
|
3233
|
+
const ve = T({}, [...so, ...Et, ...io, ...tt]);
|
|
3234
|
+
let y = Object.seal(Me(null, {
|
|
3039
3235
|
tagNameCheck: {
|
|
3040
3236
|
writable: !0,
|
|
3041
3237
|
configurable: !1,
|
|
@@ -3054,8 +3250,8 @@ function Ao() {
|
|
|
3054
3250
|
enumerable: !0,
|
|
3055
3251
|
value: !1
|
|
3056
3252
|
}
|
|
3057
|
-
})),
|
|
3058
|
-
const
|
|
3253
|
+
})), k = null, de = null;
|
|
3254
|
+
const Q = Object.seal(Me(null, {
|
|
3059
3255
|
tagCheck: {
|
|
3060
3256
|
writable: !0,
|
|
3061
3257
|
configurable: !1,
|
|
@@ -3069,171 +3265,172 @@ function Ao() {
|
|
|
3069
3265
|
value: null
|
|
3070
3266
|
}
|
|
3071
3267
|
}));
|
|
3072
|
-
let
|
|
3073
|
-
const
|
|
3074
|
-
let
|
|
3075
|
-
const
|
|
3076
|
-
let
|
|
3077
|
-
const
|
|
3268
|
+
let R = !0, Oe = !0, ye = !1, Ee = !0, ee = !1, re = !0, we = !1, nt = !1, rt = !1, Ce = !1, $e = !1, qe = !1, Rt = !0, vt = !1;
|
|
3269
|
+
const Ot = "user-content-";
|
|
3270
|
+
let st = !0, Ue = !1, Ie = {}, se = null;
|
|
3271
|
+
const it = T({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
3272
|
+
let Ct = null;
|
|
3273
|
+
const It = T({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
3078
3274
|
let at = null;
|
|
3079
|
-
const
|
|
3080
|
-
let
|
|
3081
|
-
const
|
|
3082
|
-
let
|
|
3083
|
-
const
|
|
3084
|
-
let
|
|
3085
|
-
const
|
|
3086
|
-
let
|
|
3087
|
-
const
|
|
3088
|
-
return
|
|
3089
|
-
},
|
|
3090
|
-
let
|
|
3091
|
-
if (
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
}
|
|
3103
|
-
|
|
3104
|
-
|
|
3275
|
+
const Lt = T({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ke = "http://www.w3.org/1998/Math/MathML", Ze = "http://www.w3.org/2000/svg", ie = "http://www.w3.org/1999/xhtml";
|
|
3276
|
+
let Le = ie, lt = !1, ct = null;
|
|
3277
|
+
const Io = T({}, [Ke, Ze, ie], ht);
|
|
3278
|
+
let dt = T({}, ["mi", "mo", "mn", "ms", "mtext"]), mt = T({}, ["annotation-xml"]);
|
|
3279
|
+
const Lo = T({}, ["title", "style", "font", "a", "script"]);
|
|
3280
|
+
let Ge = null;
|
|
3281
|
+
const Do = ["application/xhtml+xml", "text/html"], No = "text/html";
|
|
3282
|
+
let I = null, De = null;
|
|
3283
|
+
const Mo = r.createElement("form"), Dt = function(t) {
|
|
3284
|
+
return t instanceof RegExp || t instanceof Function;
|
|
3285
|
+
}, ut = function() {
|
|
3286
|
+
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
3287
|
+
if (De && De === t)
|
|
3288
|
+
return;
|
|
3289
|
+
(!t || typeof t != "object") && (t = {}), t = j(t), Ge = // eslint-disable-next-line unicorn/prefer-includes
|
|
3290
|
+
Do.indexOf(t.PARSER_MEDIA_TYPE) === -1 ? No : t.PARSER_MEDIA_TYPE, I = Ge === "application/xhtml+xml" ? ht : Ye, S = x(t, "ALLOWED_TAGS") && G(t.ALLOWED_TAGS) ? T({}, t.ALLOWED_TAGS, I) : Fe, v = x(t, "ALLOWED_ATTR") && G(t.ALLOWED_ATTR) ? T({}, t.ALLOWED_ATTR, I) : ve, ct = x(t, "ALLOWED_NAMESPACES") && G(t.ALLOWED_NAMESPACES) ? T({}, t.ALLOWED_NAMESPACES, ht) : Io, at = x(t, "ADD_URI_SAFE_ATTR") && G(t.ADD_URI_SAFE_ATTR) ? T(j(Lt), t.ADD_URI_SAFE_ATTR, I) : Lt, Ct = x(t, "ADD_DATA_URI_TAGS") && G(t.ADD_DATA_URI_TAGS) ? T(j(It), t.ADD_DATA_URI_TAGS, I) : It, se = x(t, "FORBID_CONTENTS") && G(t.FORBID_CONTENTS) ? T({}, t.FORBID_CONTENTS, I) : it, k = x(t, "FORBID_TAGS") && G(t.FORBID_TAGS) ? T({}, t.FORBID_TAGS, I) : j({}), de = x(t, "FORBID_ATTR") && G(t.FORBID_ATTR) ? T({}, t.FORBID_ATTR, I) : j({}), Ie = x(t, "USE_PROFILES") ? t.USE_PROFILES && typeof t.USE_PROFILES == "object" ? j(t.USE_PROFILES) : t.USE_PROFILES : !1, R = t.ALLOW_ARIA_ATTR !== !1, Oe = t.ALLOW_DATA_ATTR !== !1, ye = t.ALLOW_UNKNOWN_PROTOCOLS || !1, Ee = t.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ee = t.SAFE_FOR_TEMPLATES || !1, re = t.SAFE_FOR_XML !== !1, we = t.WHOLE_DOCUMENT || !1, Ce = t.RETURN_DOM || !1, $e = t.RETURN_DOM_FRAGMENT || !1, qe = t.RETURN_TRUSTED_TYPE || !1, rt = t.FORCE_BODY || !1, Rt = t.SANITIZE_DOM !== !1, vt = t.SANITIZE_NAMED_PROPS || !1, st = t.KEEP_CONTENT !== !1, Ue = t.IN_PLACE || !1, p = jn(t.ALLOWED_URI_REGEXP) ? t.ALLOWED_URI_REGEXP : vo, Le = typeof t.NAMESPACE == "string" ? t.NAMESPACE : ie, dt = x(t, "MATHML_TEXT_INTEGRATION_POINTS") && t.MATHML_TEXT_INTEGRATION_POINTS && typeof t.MATHML_TEXT_INTEGRATION_POINTS == "object" ? j(t.MATHML_TEXT_INTEGRATION_POINTS) : T({}, ["mi", "mo", "mn", "ms", "mtext"]), mt = x(t, "HTML_INTEGRATION_POINTS") && t.HTML_INTEGRATION_POINTS && typeof t.HTML_INTEGRATION_POINTS == "object" ? j(t.HTML_INTEGRATION_POINTS) : T({}, ["annotation-xml"]);
|
|
3291
|
+
const s = x(t, "CUSTOM_ELEMENT_HANDLING") && t.CUSTOM_ELEMENT_HANDLING && typeof t.CUSTOM_ELEMENT_HANDLING == "object" ? j(t.CUSTOM_ELEMENT_HANDLING) : Me(null);
|
|
3292
|
+
if (y = Me(null), x(s, "tagNameCheck") && Dt(s.tagNameCheck) && (y.tagNameCheck = s.tagNameCheck), x(s, "attributeNameCheck") && Dt(s.attributeNameCheck) && (y.attributeNameCheck = s.attributeNameCheck), x(s, "allowCustomizedBuiltInElements") && typeof s.allowCustomizedBuiltInElements == "boolean" && (y.allowCustomizedBuiltInElements = s.allowCustomizedBuiltInElements), ee && (Oe = !1), $e && (Ce = !0), Ie && (S = T({}, ro), v = Me(null), Ie.html === !0 && (T(S, no), T(v, so)), Ie.svg === !0 && (T(S, Tt), T(v, Et), T(v, tt)), Ie.svgFilters === !0 && (T(S, At), T(v, Et), T(v, tt)), Ie.mathMl === !0 && (T(S, yt), T(v, io), T(v, tt))), Q.tagCheck = null, Q.attributeCheck = null, x(t, "ADD_TAGS") && (typeof t.ADD_TAGS == "function" ? Q.tagCheck = t.ADD_TAGS : G(t.ADD_TAGS) && (S === Fe && (S = j(S)), T(S, t.ADD_TAGS, I))), x(t, "ADD_ATTR") && (typeof t.ADD_ATTR == "function" ? Q.attributeCheck = t.ADD_ATTR : G(t.ADD_ATTR) && (v === ve && (v = j(v)), T(v, t.ADD_ATTR, I))), x(t, "ADD_URI_SAFE_ATTR") && G(t.ADD_URI_SAFE_ATTR) && T(at, t.ADD_URI_SAFE_ATTR, I), x(t, "FORBID_CONTENTS") && G(t.FORBID_CONTENTS) && (se === it && (se = j(se)), T(se, t.FORBID_CONTENTS, I)), x(t, "ADD_FORBID_CONTENTS") && G(t.ADD_FORBID_CONTENTS) && (se === it && (se = j(se)), T(se, t.ADD_FORBID_CONTENTS, I)), st && (S["#text"] = !0), we && T(S, ["html", "head", "body"]), S.table && (T(S, ["tbody"]), delete k.tbody), t.TRUSTED_TYPES_POLICY) {
|
|
3293
|
+
if (typeof t.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
3294
|
+
throw et('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
3295
|
+
if (typeof t.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
3296
|
+
throw et('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
3297
|
+
_ = t.TRUSTED_TYPES_POLICY, q = _.createHTML("");
|
|
3298
|
+
} else
|
|
3299
|
+
_ === void 0 && (_ = or($, i)), _ !== null && typeof q == "string" && (q = _.createHTML(""));
|
|
3300
|
+
H && H(t), De = t;
|
|
3301
|
+
}, Nt = T({}, [...Tt, ...At, ...Vn]), Mt = T({}, [...yt, ...Yn]), Po = function(t) {
|
|
3302
|
+
let s = ne(t);
|
|
3105
3303
|
(!s || !s.tagName) && (s = {
|
|
3106
|
-
namespaceURI:
|
|
3304
|
+
namespaceURI: Le,
|
|
3107
3305
|
tagName: "template"
|
|
3108
3306
|
});
|
|
3109
|
-
const m =
|
|
3110
|
-
return
|
|
3111
|
-
},
|
|
3112
|
-
|
|
3113
|
-
element:
|
|
3307
|
+
const m = Ye(t.tagName), E = Ye(s.tagName);
|
|
3308
|
+
return ct[t.namespaceURI] ? t.namespaceURI === Ze ? s.namespaceURI === ie ? m === "svg" : s.namespaceURI === Ke ? m === "svg" && (E === "annotation-xml" || dt[E]) : !!Nt[m] : t.namespaceURI === Ke ? s.namespaceURI === ie ? m === "math" : s.namespaceURI === Ze ? m === "math" && mt[E] : !!Mt[m] : t.namespaceURI === ie ? s.namespaceURI === Ze && !mt[E] || s.namespaceURI === Ke && !dt[E] ? !1 : !Mt[m] && (Lo[m] || !Nt[m]) : !!(Ge === "application/xhtml+xml" && ct[t.namespaceURI]) : !1;
|
|
3309
|
+
}, te = function(t) {
|
|
3310
|
+
Be(o.removed, {
|
|
3311
|
+
element: t
|
|
3114
3312
|
});
|
|
3115
3313
|
try {
|
|
3116
|
-
|
|
3314
|
+
ne(t).removeChild(t);
|
|
3117
3315
|
} catch {
|
|
3118
|
-
|
|
3316
|
+
F(t);
|
|
3119
3317
|
}
|
|
3120
|
-
},
|
|
3318
|
+
}, _e = function(t, s) {
|
|
3121
3319
|
try {
|
|
3122
|
-
|
|
3123
|
-
attribute: s.getAttributeNode(
|
|
3320
|
+
Be(o.removed, {
|
|
3321
|
+
attribute: s.getAttributeNode(t),
|
|
3124
3322
|
from: s
|
|
3125
3323
|
});
|
|
3126
3324
|
} catch {
|
|
3127
|
-
|
|
3325
|
+
Be(o.removed, {
|
|
3128
3326
|
attribute: null,
|
|
3129
3327
|
from: s
|
|
3130
3328
|
});
|
|
3131
3329
|
}
|
|
3132
|
-
if (s.removeAttribute(
|
|
3133
|
-
if (
|
|
3330
|
+
if (s.removeAttribute(t), t === "is")
|
|
3331
|
+
if (Ce || $e)
|
|
3134
3332
|
try {
|
|
3135
|
-
|
|
3333
|
+
te(s);
|
|
3136
3334
|
} catch {
|
|
3137
3335
|
}
|
|
3138
3336
|
else
|
|
3139
3337
|
try {
|
|
3140
|
-
s.setAttribute(
|
|
3338
|
+
s.setAttribute(t, "");
|
|
3141
3339
|
} catch {
|
|
3142
3340
|
}
|
|
3143
|
-
},
|
|
3341
|
+
}, Pt = function(t) {
|
|
3144
3342
|
let s = null, m = null;
|
|
3145
|
-
if (
|
|
3146
|
-
|
|
3343
|
+
if (rt)
|
|
3344
|
+
t = "<remove></remove>" + t;
|
|
3147
3345
|
else {
|
|
3148
|
-
const
|
|
3149
|
-
m =
|
|
3346
|
+
const O = Qt(t, /^[\r\n\t ]+/);
|
|
3347
|
+
m = O && O[0];
|
|
3150
3348
|
}
|
|
3151
|
-
|
|
3152
|
-
const
|
|
3153
|
-
if (
|
|
3349
|
+
Ge === "application/xhtml+xml" && Le === ie && (t = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + t + "</body></html>");
|
|
3350
|
+
const E = _ ? _.createHTML(t) : t;
|
|
3351
|
+
if (Le === ie)
|
|
3154
3352
|
try {
|
|
3155
|
-
s = new
|
|
3353
|
+
s = new W().parseFromString(E, Ge);
|
|
3156
3354
|
} catch {
|
|
3157
3355
|
}
|
|
3158
3356
|
if (!s || !s.documentElement) {
|
|
3159
|
-
s =
|
|
3357
|
+
s = J.createDocument(Le, "template", null);
|
|
3160
3358
|
try {
|
|
3161
|
-
s.documentElement.innerHTML =
|
|
3359
|
+
s.documentElement.innerHTML = lt ? q : E;
|
|
3162
3360
|
} catch {
|
|
3163
3361
|
}
|
|
3164
3362
|
}
|
|
3165
|
-
const
|
|
3166
|
-
return
|
|
3167
|
-
},
|
|
3168
|
-
return
|
|
3169
|
-
|
|
3170
|
-
|
|
3363
|
+
const P = s.body || s.documentElement;
|
|
3364
|
+
return t && m && P.insertBefore(r.createTextNode(m), P.childNodes[0] || null), Le === ie ? U.call(s, we ? "html" : "body")[0] : we ? s.documentElement : P;
|
|
3365
|
+
}, zt = function(t) {
|
|
3366
|
+
return Te.call(
|
|
3367
|
+
t.ownerDocument || t,
|
|
3368
|
+
t,
|
|
3171
3369
|
// eslint-disable-next-line no-bitwise
|
|
3172
|
-
|
|
3370
|
+
b.SHOW_ELEMENT | b.SHOW_COMMENT | b.SHOW_TEXT | b.SHOW_PROCESSING_INSTRUCTION | b.SHOW_CDATA_SECTION,
|
|
3173
3371
|
null
|
|
3174
3372
|
);
|
|
3175
|
-
},
|
|
3176
|
-
return
|
|
3177
|
-
},
|
|
3178
|
-
return typeof
|
|
3373
|
+
}, ft = function(t) {
|
|
3374
|
+
return t instanceof z && (typeof t.nodeName != "string" || typeof t.textContent != "string" || typeof t.removeChild != "function" || !(t.attributes instanceof w) || typeof t.removeAttribute != "function" || typeof t.setAttribute != "function" || typeof t.namespaceURI != "string" || typeof t.insertBefore != "function" || typeof t.hasChildNodes != "function");
|
|
3375
|
+
}, pt = function(t) {
|
|
3376
|
+
return typeof h == "function" && t instanceof h;
|
|
3179
3377
|
};
|
|
3180
|
-
function
|
|
3181
|
-
|
|
3182
|
-
m.call(o,
|
|
3378
|
+
function me(g, t, s) {
|
|
3379
|
+
We(g, (m) => {
|
|
3380
|
+
m.call(o, t, s, De);
|
|
3183
3381
|
});
|
|
3184
3382
|
}
|
|
3185
|
-
const
|
|
3383
|
+
const Ft = function(t) {
|
|
3186
3384
|
let s = null;
|
|
3187
|
-
if (
|
|
3188
|
-
return
|
|
3189
|
-
const m =
|
|
3190
|
-
if (
|
|
3385
|
+
if (me(D.beforeSanitizeElements, t, null), ft(t))
|
|
3386
|
+
return te(t), !0;
|
|
3387
|
+
const m = I(t.nodeName);
|
|
3388
|
+
if (me(D.uponSanitizeElement, t, {
|
|
3191
3389
|
tagName: m,
|
|
3192
3390
|
allowedTags: S
|
|
3193
|
-
}),
|
|
3194
|
-
return
|
|
3195
|
-
if (!(
|
|
3196
|
-
if (!
|
|
3391
|
+
}), re && t.hasChildNodes() && !pt(t.firstElementChild) && M(/<[/\w!]/g, t.innerHTML) && M(/<[/\w!]/g, t.textContent) || re && t.namespaceURI === ie && m === "style" && pt(t.firstElementChild) || t.nodeType === Ve.progressingInstruction || re && t.nodeType === Ve.comment && M(/<[/\w]/g, t.data))
|
|
3392
|
+
return te(t), !0;
|
|
3393
|
+
if (k[m] || !(Q.tagCheck instanceof Function && Q.tagCheck(m)) && !S[m]) {
|
|
3394
|
+
if (!k[m] && Gt(m) && (y.tagNameCheck instanceof RegExp && M(y.tagNameCheck, m) || y.tagNameCheck instanceof Function && y.tagNameCheck(m)))
|
|
3197
3395
|
return !1;
|
|
3198
|
-
if (
|
|
3199
|
-
const
|
|
3200
|
-
if (
|
|
3201
|
-
const
|
|
3202
|
-
for (let
|
|
3203
|
-
const
|
|
3204
|
-
|
|
3396
|
+
if (st && !se[m]) {
|
|
3397
|
+
const E = ne(t) || t.parentNode, P = ke(t) || t.childNodes;
|
|
3398
|
+
if (P && E) {
|
|
3399
|
+
const O = P.length;
|
|
3400
|
+
for (let B = O - 1; B >= 0; --B) {
|
|
3401
|
+
const K = Y(P[B], !0);
|
|
3402
|
+
E.insertBefore(K, ae(t));
|
|
3205
3403
|
}
|
|
3206
3404
|
}
|
|
3207
3405
|
}
|
|
3208
|
-
return
|
|
3406
|
+
return te(t), !0;
|
|
3209
3407
|
}
|
|
3210
|
-
return
|
|
3211
|
-
s =
|
|
3212
|
-
}),
|
|
3213
|
-
element:
|
|
3214
|
-
}),
|
|
3215
|
-
},
|
|
3216
|
-
if (
|
|
3408
|
+
return t instanceof u && !Po(t) || (m === "noscript" || m === "noembed" || m === "noframes") && M(/<\/no(script|embed|frames)/i, t.innerHTML) ? (te(t), !0) : (ee && t.nodeType === Ve.text && (s = t.textContent, We([le, Ae, fe], (E) => {
|
|
3409
|
+
s = Ne(s, E, " ");
|
|
3410
|
+
}), t.textContent !== s && (Be(o.removed, {
|
|
3411
|
+
element: t.cloneNode()
|
|
3412
|
+
}), t.textContent = s)), me(D.afterSanitizeElements, t, null), !1);
|
|
3413
|
+
}, Ut = function(t, s, m) {
|
|
3414
|
+
if (de[s] || Rt && (s === "id" || s === "name") && (m in r || m in Mo))
|
|
3217
3415
|
return !1;
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
}
|
|
3416
|
+
const E = v[s] || Q.attributeCheck instanceof Function && Q.attributeCheck(s, t);
|
|
3417
|
+
if (!(Oe && !de[s] && M(pe, s))) {
|
|
3418
|
+
if (!(R && M(X, s))) {
|
|
3419
|
+
if (!E || de[s]) {
|
|
3420
|
+
if (
|
|
3421
|
+
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
3422
|
+
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
3423
|
+
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
3424
|
+
!(Gt(t) && (y.tagNameCheck instanceof RegExp && M(y.tagNameCheck, t) || y.tagNameCheck instanceof Function && y.tagNameCheck(t)) && (y.attributeNameCheck instanceof RegExp && M(y.attributeNameCheck, s) || y.attributeNameCheck instanceof Function && y.attributeNameCheck(s, t)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
3425
|
+
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
3426
|
+
s === "is" && y.allowCustomizedBuiltInElements && (y.tagNameCheck instanceof RegExp && M(y.tagNameCheck, m) || y.tagNameCheck instanceof Function && y.tagNameCheck(m)))
|
|
3427
|
+
) return !1;
|
|
3428
|
+
} else if (!at[s]) {
|
|
3429
|
+
if (!M(p, Ne(m, Re, ""))) {
|
|
3430
|
+
if (!((s === "src" || s === "xlink:href" || s === "href") && t !== "script" && eo(m, "data:") === 0 && Ct[t])) {
|
|
3431
|
+
if (!(ye && !M(ce, Ne(m, Re, "")))) {
|
|
3432
|
+
if (m)
|
|
3433
|
+
return !1;
|
|
3237
3434
|
}
|
|
3238
3435
|
}
|
|
3239
3436
|
}
|
|
@@ -3241,185 +3438,189 @@ function Ao() {
|
|
|
3241
3438
|
}
|
|
3242
3439
|
}
|
|
3243
3440
|
return !0;
|
|
3244
|
-
},
|
|
3245
|
-
return
|
|
3246
|
-
},
|
|
3247
|
-
|
|
3441
|
+
}, zo = T({}, ["annotation-xml", "color-profile", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "missing-glyph"]), Gt = function(t) {
|
|
3442
|
+
return !zo[Ye(t)] && M(ze, t);
|
|
3443
|
+
}, Ht = function(t) {
|
|
3444
|
+
me(D.beforeSanitizeAttributes, t, null);
|
|
3248
3445
|
const {
|
|
3249
3446
|
attributes: s
|
|
3250
|
-
} =
|
|
3251
|
-
if (!s ||
|
|
3447
|
+
} = t;
|
|
3448
|
+
if (!s || ft(t))
|
|
3252
3449
|
return;
|
|
3253
3450
|
const m = {
|
|
3254
3451
|
attrName: "",
|
|
3255
3452
|
attrValue: "",
|
|
3256
3453
|
keepAttr: !0,
|
|
3257
|
-
allowedAttributes:
|
|
3454
|
+
allowedAttributes: v,
|
|
3258
3455
|
forceKeepAttr: void 0
|
|
3259
3456
|
};
|
|
3260
|
-
let
|
|
3261
|
-
for (;
|
|
3262
|
-
const
|
|
3263
|
-
name:
|
|
3264
|
-
namespaceURI:
|
|
3265
|
-
value:
|
|
3266
|
-
} =
|
|
3267
|
-
let
|
|
3268
|
-
if (m.attrName =
|
|
3269
|
-
|
|
3457
|
+
let E = s.length;
|
|
3458
|
+
for (; E--; ) {
|
|
3459
|
+
const P = s[E], {
|
|
3460
|
+
name: O,
|
|
3461
|
+
namespaceURI: B,
|
|
3462
|
+
value: K
|
|
3463
|
+
} = P, oe = I(O), gt = K;
|
|
3464
|
+
let N = O === "value" ? gt : Fn(gt);
|
|
3465
|
+
if (m.attrName = oe, m.attrValue = N, m.keepAttr = !0, m.forceKeepAttr = void 0, me(D.uponSanitizeAttribute, t, m), N = m.attrValue, vt && (oe === "id" || oe === "name") && eo(N, Ot) !== 0 && (_e(O, t), N = Ot + N), re && M(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, N)) {
|
|
3466
|
+
_e(O, t);
|
|
3270
3467
|
continue;
|
|
3271
3468
|
}
|
|
3272
|
-
if (
|
|
3273
|
-
|
|
3469
|
+
if (oe === "attributename" && Qt(N, "href")) {
|
|
3470
|
+
_e(O, t);
|
|
3274
3471
|
continue;
|
|
3275
3472
|
}
|
|
3276
3473
|
if (m.forceKeepAttr)
|
|
3277
3474
|
continue;
|
|
3278
3475
|
if (!m.keepAttr) {
|
|
3279
|
-
|
|
3476
|
+
_e(O, t);
|
|
3280
3477
|
continue;
|
|
3281
3478
|
}
|
|
3282
|
-
if (!
|
|
3283
|
-
|
|
3479
|
+
if (!Ee && M(/\/>/i, N)) {
|
|
3480
|
+
_e(O, t);
|
|
3284
3481
|
continue;
|
|
3285
3482
|
}
|
|
3286
|
-
|
|
3287
|
-
|
|
3483
|
+
ee && We([le, Ae, fe], (jt) => {
|
|
3484
|
+
N = Ne(N, jt, " ");
|
|
3288
3485
|
});
|
|
3289
|
-
const
|
|
3290
|
-
if (!
|
|
3291
|
-
|
|
3486
|
+
const Bt = I(t.nodeName);
|
|
3487
|
+
if (!Ut(Bt, oe, N)) {
|
|
3488
|
+
_e(O, t);
|
|
3292
3489
|
continue;
|
|
3293
3490
|
}
|
|
3294
|
-
if (
|
|
3295
|
-
switch (
|
|
3491
|
+
if (_ && typeof $ == "object" && typeof $.getAttributeType == "function" && !B)
|
|
3492
|
+
switch ($.getAttributeType(Bt, oe)) {
|
|
3296
3493
|
case "TrustedHTML": {
|
|
3297
|
-
|
|
3494
|
+
N = _.createHTML(N);
|
|
3298
3495
|
break;
|
|
3299
3496
|
}
|
|
3300
3497
|
case "TrustedScriptURL": {
|
|
3301
|
-
|
|
3498
|
+
N = _.createScriptURL(N);
|
|
3302
3499
|
break;
|
|
3303
3500
|
}
|
|
3304
3501
|
}
|
|
3305
|
-
if (
|
|
3502
|
+
if (N !== gt)
|
|
3306
3503
|
try {
|
|
3307
|
-
|
|
3504
|
+
B ? t.setAttributeNS(B, O, N) : t.setAttribute(O, N), ft(t) ? te(t) : Jt(o.removed);
|
|
3308
3505
|
} catch {
|
|
3309
|
-
|
|
3506
|
+
_e(O, t);
|
|
3310
3507
|
}
|
|
3311
3508
|
}
|
|
3312
|
-
|
|
3313
|
-
},
|
|
3509
|
+
me(D.afterSanitizeAttributes, t, null);
|
|
3510
|
+
}, Wt = function(t) {
|
|
3314
3511
|
let s = null;
|
|
3315
|
-
const m =
|
|
3316
|
-
for (
|
|
3317
|
-
|
|
3318
|
-
|
|
3512
|
+
const m = zt(t);
|
|
3513
|
+
for (me(D.beforeSanitizeShadowDOM, t, null); s = m.nextNode(); )
|
|
3514
|
+
me(D.uponSanitizeShadowNode, s, null), Ft(s), Ht(s), s.content instanceof l && Wt(s.content);
|
|
3515
|
+
me(D.afterSanitizeShadowDOM, t, null);
|
|
3319
3516
|
};
|
|
3320
|
-
return o.sanitize = function(
|
|
3321
|
-
let
|
|
3322
|
-
if (
|
|
3323
|
-
|
|
3324
|
-
if (u = u.toString(), typeof u != "string")
|
|
3325
|
-
throw Fe("dirty is not a string, aborting");
|
|
3326
|
-
} else
|
|
3327
|
-
throw Fe("toString is not a function");
|
|
3517
|
+
return o.sanitize = function(g) {
|
|
3518
|
+
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = null, m = null, E = null, P = null;
|
|
3519
|
+
if (lt = !g, lt && (g = "<!-->"), typeof g != "string" && !pt(g) && (g = Bn(g), typeof g != "string"))
|
|
3520
|
+
throw et("dirty is not a string, aborting");
|
|
3328
3521
|
if (!o.isSupported)
|
|
3329
|
-
return
|
|
3330
|
-
if (
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3522
|
+
return g;
|
|
3523
|
+
if (nt || ut(t), o.removed = [], typeof g == "string" && (Ue = !1), Ue) {
|
|
3524
|
+
const K = g.nodeName;
|
|
3525
|
+
if (typeof K == "string") {
|
|
3526
|
+
const oe = I(K);
|
|
3527
|
+
if (!S[oe] || k[oe])
|
|
3528
|
+
throw et("root node is forbidden and cannot be sanitized in-place");
|
|
3335
3529
|
}
|
|
3336
|
-
} else if (
|
|
3337
|
-
s =
|
|
3530
|
+
} else if (g instanceof h)
|
|
3531
|
+
s = Pt("<!---->"), m = s.ownerDocument.importNode(g, !0), m.nodeType === Ve.element && m.nodeName === "BODY" || m.nodeName === "HTML" ? s = m : s.appendChild(m);
|
|
3338
3532
|
else {
|
|
3339
|
-
if (!
|
|
3340
|
-
|
|
3341
|
-
return
|
|
3342
|
-
if (s =
|
|
3343
|
-
return
|
|
3533
|
+
if (!Ce && !ee && !we && // eslint-disable-next-line unicorn/prefer-includes
|
|
3534
|
+
g.indexOf("<") === -1)
|
|
3535
|
+
return _ && qe ? _.createHTML(g) : g;
|
|
3536
|
+
if (s = Pt(g), !s)
|
|
3537
|
+
return Ce ? null : qe ? q : "";
|
|
3344
3538
|
}
|
|
3345
|
-
s &&
|
|
3346
|
-
const
|
|
3347
|
-
for (;
|
|
3348
|
-
|
|
3349
|
-
if (
|
|
3350
|
-
return
|
|
3351
|
-
if (
|
|
3352
|
-
if (
|
|
3353
|
-
|
|
3354
|
-
|
|
3539
|
+
s && rt && te(s.firstChild);
|
|
3540
|
+
const O = zt(Ue ? g : s);
|
|
3541
|
+
for (; E = O.nextNode(); )
|
|
3542
|
+
Ft(E), Ht(E), E.content instanceof l && Wt(E.content);
|
|
3543
|
+
if (Ue)
|
|
3544
|
+
return g;
|
|
3545
|
+
if (Ce) {
|
|
3546
|
+
if (ee) {
|
|
3547
|
+
s.normalize();
|
|
3548
|
+
let K = s.innerHTML;
|
|
3549
|
+
We([le, Ae, fe], (oe) => {
|
|
3550
|
+
K = Ne(K, oe, " ");
|
|
3551
|
+
}), s.innerHTML = K;
|
|
3552
|
+
}
|
|
3553
|
+
if ($e)
|
|
3554
|
+
for (P = f.call(s.ownerDocument); s.firstChild; )
|
|
3555
|
+
P.appendChild(s.firstChild);
|
|
3355
3556
|
else
|
|
3356
|
-
|
|
3357
|
-
return (
|
|
3557
|
+
P = s;
|
|
3558
|
+
return (v.shadowroot || v.shadowrootmode) && (P = Xe.call(n, P, !0)), P;
|
|
3358
3559
|
}
|
|
3359
|
-
let
|
|
3360
|
-
return
|
|
3361
|
-
` +
|
|
3362
|
-
|
|
3363
|
-
}),
|
|
3560
|
+
let B = we ? s.outerHTML : s.innerHTML;
|
|
3561
|
+
return we && S["!doctype"] && s.ownerDocument && s.ownerDocument.doctype && s.ownerDocument.doctype.name && M(Oo, s.ownerDocument.doctype.name) && (B = "<!DOCTYPE " + s.ownerDocument.doctype.name + `>
|
|
3562
|
+
` + B), ee && We([le, Ae, fe], (K) => {
|
|
3563
|
+
B = Ne(B, K, " ");
|
|
3564
|
+
}), _ && qe ? _.createHTML(B) : B;
|
|
3364
3565
|
}, o.setConfig = function() {
|
|
3365
|
-
let
|
|
3366
|
-
|
|
3566
|
+
let g = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
3567
|
+
ut(g), nt = !0;
|
|
3367
3568
|
}, o.clearConfig = function() {
|
|
3368
|
-
|
|
3369
|
-
}, o.isValidAttribute = function(
|
|
3370
|
-
|
|
3371
|
-
const m =
|
|
3372
|
-
return
|
|
3373
|
-
}, o.addHook = function(
|
|
3374
|
-
typeof
|
|
3375
|
-
}, o.removeHook = function(
|
|
3376
|
-
if (
|
|
3377
|
-
const s =
|
|
3378
|
-
return s === -1 ? void 0 :
|
|
3569
|
+
De = null, nt = !1;
|
|
3570
|
+
}, o.isValidAttribute = function(g, t, s) {
|
|
3571
|
+
De || ut({});
|
|
3572
|
+
const m = I(g), E = I(t);
|
|
3573
|
+
return Ut(m, E, s);
|
|
3574
|
+
}, o.addHook = function(g, t) {
|
|
3575
|
+
typeof t == "function" && Be(D[g], t);
|
|
3576
|
+
}, o.removeHook = function(g, t) {
|
|
3577
|
+
if (t !== void 0) {
|
|
3578
|
+
const s = Pn(D[g], t);
|
|
3579
|
+
return s === -1 ? void 0 : zn(D[g], s, 1)[0];
|
|
3379
3580
|
}
|
|
3380
|
-
return
|
|
3381
|
-
}, o.removeHooks = function(
|
|
3382
|
-
|
|
3581
|
+
return Jt(D[g]);
|
|
3582
|
+
}, o.removeHooks = function(g) {
|
|
3583
|
+
D[g] = [];
|
|
3383
3584
|
}, o.removeAllHooks = function() {
|
|
3384
|
-
|
|
3585
|
+
D = lo();
|
|
3385
3586
|
}, o;
|
|
3386
3587
|
}
|
|
3387
|
-
var
|
|
3388
|
-
const
|
|
3588
|
+
var nr = Co();
|
|
3589
|
+
const rr = {
|
|
3389
3590
|
addElements: [],
|
|
3390
3591
|
allowElements: [],
|
|
3391
3592
|
allowAttributes: {},
|
|
3392
3593
|
dropElements: [],
|
|
3393
3594
|
dropAttributes: {}
|
|
3394
|
-
},
|
|
3395
|
-
content:
|
|
3595
|
+
}, co = (e) => e ? Array.from(new Set(Object.values(e).flat())) : [], dr = ({
|
|
3596
|
+
content: e,
|
|
3396
3597
|
config: o,
|
|
3397
3598
|
tagName: r = "div",
|
|
3398
3599
|
className: n
|
|
3399
3600
|
}) => {
|
|
3400
|
-
const
|
|
3601
|
+
const i = { ...rr, ...o }, l = co(i.allowAttributes), a = l.length > 0 ? {
|
|
3401
3602
|
ALLOWED_ATTR: [.../* @__PURE__ */ new Set([...l, "class", "id", "style"])]
|
|
3402
|
-
} : {},
|
|
3603
|
+
} : {}, h = co(i.dropAttributes), u = h.length > 0 ? { FORBID_ATTR: h } : {}, b = i.addElements && i.addElements.length > 0 && !(i.allowElements && i.allowElements.length > 0) ? { ADD_TAGS: i.addElements } : {}, w = i.allowElements && i.allowElements.length > 0 ? { ALLOWED_TAGS: i.allowElements } : {}, z = i.dropElements && i.dropElements.length > 0 ? { FORBID_TAGS: i.dropElements } : {}, W = {
|
|
3403
3604
|
ALLOW_UNKNOWN_PROTOCOLS: !1,
|
|
3404
|
-
...
|
|
3605
|
+
...b,
|
|
3405
3606
|
...w,
|
|
3406
|
-
...
|
|
3407
|
-
...
|
|
3408
|
-
...
|
|
3607
|
+
...u,
|
|
3608
|
+
...a,
|
|
3609
|
+
...z
|
|
3409
3610
|
};
|
|
3410
|
-
return /* @__PURE__ */
|
|
3611
|
+
return /* @__PURE__ */ mo(
|
|
3411
3612
|
r,
|
|
3412
3613
|
{
|
|
3413
3614
|
className: n,
|
|
3414
3615
|
dangerouslySetInnerHTML: {
|
|
3415
|
-
__html:
|
|
3616
|
+
__html: nr.sanitize(e, W)
|
|
3416
3617
|
}
|
|
3417
3618
|
}
|
|
3418
3619
|
);
|
|
3419
3620
|
};
|
|
3420
3621
|
export {
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3622
|
+
cr as ErrorBoundary,
|
|
3623
|
+
ar as OverlayRoot,
|
|
3624
|
+
dr as SanitizeHtmlRender,
|
|
3625
|
+
lr as useOverlay
|
|
3425
3626
|
};
|