oxfmt 0.58.0 → 0.59.0
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/configuration_schema.json +3 -3
- package/dist/{acorn-CZllRq2x.js → acorn-Dxp-n4ed.js} +136 -43
- package/dist/{angular-CsoDKqo4.js → angular-Clx-wbm6.js} +253 -90
- package/dist/{apis-DLO0lBDu.js → apis-D299uPBa.js} +4 -4
- package/dist/{babel-DZD6u90w.js → babel-7tfAjQas.js} +178 -69
- package/dist/{bindings-DTiEua0g.js → bindings-CjOHPMBU.js} +26 -26
- package/dist/{chunk-DSjvVL_1-DX2STy_I.js → chunk-DSjvVL_1-Do0Iorfu.js} +1 -1
- package/dist/cli-worker.d.ts +18 -24
- package/dist/cli-worker.js +1 -1
- package/dist/cli.js +2 -2
- package/dist/{dist-YOS4M6hk.js → dist-Byfj_1s9.js} +14 -14
- package/dist/{estree-ChnhgzGg.js → estree-CyQu6pff.js} +1982 -1861
- package/dist/{flow-C6LkWPPl.js → flow-BH5imzwC.js} +2014 -1999
- package/dist/{glimmer-YnkKK2a7.js → glimmer-B5hfTXAX.js} +107 -42
- package/dist/{graphql-BNiwkZTo.js → graphql-DQB_nHt9.js} +80 -15
- package/dist/{html-DMHXIbrM.js → html--849eFzc.js} +257 -155
- package/dist/index.d.ts +7 -3
- package/dist/index.js +3 -3
- package/dist/{jiti-Bb1dT6Cw-B61jQmj-.js → jiti-Bb1dT6Cw-cY1yrK9n.js} +2 -2
- package/dist/{markdown-BjyDFyaO.js → markdown-B1lBrqaF.js} +3778 -3745
- package/dist/{meriyah-zDNCk2o1.js → meriyah-B5wbO5kj.js} +264 -213
- package/dist/{migrate-prettier-BmSsy164.js → migrate-prettier-CbxtU9AG.js} +1 -1
- package/dist/{plugin-B4cguZ1l.js → plugin-D1B0s0iv.js} +3 -3
- package/dist/{postcss-CwPwODg8.js → postcss-DuOoF7OX.js} +1129 -1050
- package/dist/{prettier-BByt4AhK.js → prettier-CEZwFZsY.js} +18 -19
- package/dist/{sorter-BZkvDMjt-B8ihSEiX.js → sorter-BZkvDMjt-DFTeIPU-.js} +7 -7
- package/dist/{sorter-BcGkkjyR.js → sorter-Cm0Z2eGI.js} +1 -1
- package/dist/{typescript-Bq_S3kyC.js → typescript-Cvdwz3-D.js} +120 -47
- package/dist/{v3-D-mr2VVh-p01OHBjH.js → v3-D-mr2VVh-C_WUxELf.js} +6 -5
- package/dist/{v4-C-HWEQJm-BbuYNtSW.js → v4-C-HWEQJm-C0ut0NwJ.js} +108 -30
- package/dist/{yaml-DlyuuZmC.js → yaml-Dd4aShtG.js} +138 -49
- package/package.json +20 -20
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { n as __esmMin, r as __exportAll } from "./rolldown-runtime-CE-6LUnI.js";
|
|
2
|
-
//#region ../../node_modules/.pnpm/prettier@3.9.
|
|
2
|
+
//#region ../../node_modules/.pnpm/prettier@3.9.5/node_modules/prettier/plugins/postcss.mjs
|
|
3
3
|
var postcss_exports = /* @__PURE__ */ __exportAll({
|
|
4
|
-
default: () =>
|
|
5
|
-
languages: () =>
|
|
6
|
-
options: () =>
|
|
4
|
+
default: () => Ml,
|
|
5
|
+
languages: () => Fi,
|
|
6
|
+
options: () => $i,
|
|
7
7
|
parsers: () => cn,
|
|
8
|
-
printers: () =>
|
|
8
|
+
printers: () => gg
|
|
9
9
|
});
|
|
10
|
-
function
|
|
10
|
+
function zl(t) {
|
|
11
11
|
return this[t < 0 ? this.length + t : t];
|
|
12
12
|
}
|
|
13
13
|
function mn(t, e, s) {
|
|
@@ -17,21 +17,21 @@ function mn(t, e, s) {
|
|
|
17
17
|
}
|
|
18
18
|
return t.get(e);
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function Ql(t) {
|
|
21
21
|
if (typeof t == "string") return Ke;
|
|
22
22
|
if (Array.isArray(t)) return Xe;
|
|
23
23
|
if (!t) return;
|
|
24
24
|
let { type: e } = t;
|
|
25
25
|
if (Nt.has(e)) return e;
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function Xl(t) {
|
|
28
28
|
let e = t === null ? "null" : typeof t;
|
|
29
29
|
if (e !== "string" && e !== "object") return `Unexpected doc '${e}',
|
|
30
30
|
Expected it to be 'string' or 'object'.`;
|
|
31
31
|
if (ae(t)) throw new Error("doc is valid.");
|
|
32
32
|
let s = Object.prototype.toString.call(t);
|
|
33
33
|
if (s !== "[object Object]") return `Unexpected doc '${s}'.`;
|
|
34
|
-
let r =
|
|
34
|
+
let r = Kl([...Nt].map((n) => `'${n}'`));
|
|
35
35
|
return `Unexpected doc.type '${t.type}'.
|
|
36
36
|
Expected it to be ${r}.`;
|
|
37
37
|
}
|
|
@@ -62,57 +62,57 @@ function yn(t, e) {
|
|
|
62
62
|
expandedStates: o
|
|
63
63
|
});
|
|
64
64
|
}
|
|
65
|
-
case
|
|
65
|
+
case Pe:
|
|
66
66
|
case ne:
|
|
67
67
|
case At:
|
|
68
68
|
case Ct:
|
|
69
|
-
case
|
|
69
|
+
case Re: return e({
|
|
70
70
|
...i,
|
|
71
71
|
contents: r(i.contents)
|
|
72
72
|
});
|
|
73
73
|
case Ke:
|
|
74
74
|
case kt:
|
|
75
75
|
case Ot:
|
|
76
|
-
case
|
|
76
|
+
case Ie:
|
|
77
77
|
case H:
|
|
78
|
-
case
|
|
78
|
+
case Le: return e(i);
|
|
79
79
|
default: throw new dn(i);
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function Jl(t) {
|
|
84
84
|
return t.type === H && !t.hard ? t.soft ? "" : " " : t.type === ge ? t.flatContents : t;
|
|
85
85
|
}
|
|
86
86
|
function gn(t) {
|
|
87
|
-
return yn(t,
|
|
87
|
+
return yn(t, Jl);
|
|
88
88
|
}
|
|
89
89
|
function wn(t, e = vn) {
|
|
90
|
-
return yn(t, (s) => typeof s == "string" ?
|
|
90
|
+
return yn(t, (s) => typeof s == "string" ? Y(e, s.split(`
|
|
91
91
|
`)) : s);
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function R(t) {
|
|
94
94
|
return F(t), {
|
|
95
95
|
type: ne,
|
|
96
96
|
contents: t
|
|
97
97
|
};
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function Zl(t, e) {
|
|
100
100
|
return _n(t), F(e), {
|
|
101
|
-
type:
|
|
101
|
+
type: Pe,
|
|
102
102
|
contents: e,
|
|
103
103
|
n: t
|
|
104
104
|
};
|
|
105
105
|
}
|
|
106
106
|
function ue(t) {
|
|
107
|
-
return
|
|
107
|
+
return Zl(-1, t);
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function qe(t) {
|
|
110
110
|
return xn(t), {
|
|
111
111
|
type: oe,
|
|
112
112
|
parts: t
|
|
113
113
|
};
|
|
114
114
|
}
|
|
115
|
-
function
|
|
115
|
+
function D(t, e = {}) {
|
|
116
116
|
return F(t), we(e.expandedStates, !0), {
|
|
117
117
|
type: ie,
|
|
118
118
|
id: e.id,
|
|
@@ -129,7 +129,7 @@ function Pt(t, e = "", s = {}) {
|
|
|
129
129
|
groupId: s.groupId
|
|
130
130
|
};
|
|
131
131
|
}
|
|
132
|
-
function
|
|
132
|
+
function Y(t, e) {
|
|
133
133
|
F(t), we(e);
|
|
134
134
|
let s = [];
|
|
135
135
|
for (let r = 0; r < e.length; r++) r !== 0 && s.push(t), s.push(e[r]);
|
|
@@ -137,14 +137,14 @@ function G(t, e) {
|
|
|
137
137
|
}
|
|
138
138
|
function Rt(t) {
|
|
139
139
|
return F(t), {
|
|
140
|
-
type:
|
|
140
|
+
type: Re,
|
|
141
141
|
contents: t
|
|
142
142
|
};
|
|
143
143
|
}
|
|
144
144
|
function tc(t) {
|
|
145
145
|
return Array.isArray(t) && t.length > 0;
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function Tn(t, e) {
|
|
148
148
|
let { preferred: s, alternate: r } = e === !0 || e === "'" ? rc : sc, { length: n } = t, i = 0, o = 0;
|
|
149
149
|
for (let u = 0; u < n; u++) {
|
|
150
150
|
let a = t.charCodeAt(u);
|
|
@@ -154,14 +154,14 @@ function Sn(t, e) {
|
|
|
154
154
|
}
|
|
155
155
|
function ic(t, e) {
|
|
156
156
|
let s = e === "\"" ? "'" : "\"";
|
|
157
|
-
return e +
|
|
157
|
+
return e + T(0, t, nc, (n, i, o) => i ? i === s ? s : n : o === e ? "\\" + o : o) + e;
|
|
158
158
|
}
|
|
159
159
|
function oc(t, e) {
|
|
160
|
-
|
|
160
|
+
G(/^(?<quote>["']).*\k<quote>$/s.test(t));
|
|
161
161
|
let s = t.slice(1, -1), r;
|
|
162
|
-
return e.parser === "json" || e.parser === "jsonc" || e.parser === "json-stringify" || e.parser === "json5" && e.quoteProps === "preserve" && !e.singleQuote ? r = "\"" : e.__isInHtmlAttribute ? r = "'" : r =
|
|
162
|
+
return e.parser === "json" || e.parser === "jsonc" || e.parser === "json-stringify" || e.parser === "json5" && e.quoteProps === "preserve" && !e.singleQuote ? r = "\"" : e.__isInHtmlAttribute ? r = "'" : r = Tn(s, e.singleQuote), t.charAt(0) === r ? t : On(s, r);
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function Cn() {}
|
|
165
165
|
function Ze(t) {
|
|
166
166
|
if (Je !== null && typeof Je.property) {
|
|
167
167
|
let e = Je;
|
|
@@ -201,31 +201,31 @@ function qt(t) {
|
|
|
201
201
|
return o === -1 || o === i ? o : !1;
|
|
202
202
|
};
|
|
203
203
|
}
|
|
204
|
-
function
|
|
204
|
+
function qn(t, e) {
|
|
205
205
|
let { value: s } = t;
|
|
206
206
|
return s === "-" || s === "--" || s.charAt(0) !== "-" ? e : e - (s.charAt(1) === "-" ? 2 : 1);
|
|
207
207
|
}
|
|
208
|
-
function
|
|
208
|
+
function Dn(t, e) {
|
|
209
209
|
if (typeof t.source?.start?.offset == "number") return t.source.start.offset;
|
|
210
|
-
if (typeof t.sourceIndex == "number") return t.type === "value-word" ?
|
|
210
|
+
if (typeof t.sourceIndex == "number") return t.type === "value-word" ? qn(t, t.sourceIndex) : t.sourceIndex;
|
|
211
211
|
if (t.source?.start) return ts(t.source.start, e);
|
|
212
212
|
throw Object.assign(/* @__PURE__ */ new Error("Can not locate node."), { node: t });
|
|
213
213
|
}
|
|
214
|
-
function
|
|
214
|
+
function Mn(t, e) {
|
|
215
215
|
if (t.type === "css-comment" && t.inline) return Mt(e, t.source.startOffset);
|
|
216
216
|
if (t.type === "value-paren" && typeof t.sourceIndex == "number") return t.sourceIndex + (t.value === ")" ? t.value.length : 0);
|
|
217
217
|
if (typeof t.source?.end?.offset == "number") return t.source.end.offset;
|
|
218
218
|
if (t.source) {
|
|
219
219
|
if (t.source.end) {
|
|
220
220
|
let s = ts(t.source.end, e);
|
|
221
|
-
return t.type === "value-word" ?
|
|
221
|
+
return t.type === "value-word" ? qn(t, s) : s;
|
|
222
222
|
}
|
|
223
|
-
if (le(t.nodes)) return
|
|
224
|
-
if (t.type === "css-atrule" && typeof t.name == "string") return
|
|
223
|
+
if (le(t.nodes)) return Mn($(0, t.nodes, -1), e);
|
|
224
|
+
if (t.type === "css-atrule" && typeof t.name == "string") return Dn(t, e) + 1 + t.name.length + t.raws.afterName.length + t.raws.params.length;
|
|
225
225
|
}
|
|
226
226
|
return typeof t.sourceIndex == "number" && typeof t.value == "string" ? t.sourceIndex + t.value.length : null;
|
|
227
227
|
}
|
|
228
|
-
function
|
|
228
|
+
function Bn(t, e) {
|
|
229
229
|
ss(t, e, 0, !1);
|
|
230
230
|
}
|
|
231
231
|
function ss(t, e, s, r) {
|
|
@@ -234,8 +234,8 @@ function ss(t, e, s, r) {
|
|
|
234
234
|
if (t.source || typeof t.sourceIndex == "number") {
|
|
235
235
|
t.source ?? (t.source = {});
|
|
236
236
|
let n = s + e.length;
|
|
237
|
-
t.source.startOffset = Math.min(
|
|
238
|
-
let i =
|
|
237
|
+
t.source.startOffset = Math.min(Dn(t, e) + s, n);
|
|
238
|
+
let i = Mn(t, e);
|
|
239
239
|
t.source.endOffset = typeof i == "number" ? Math.min(i + s, n) : i;
|
|
240
240
|
}
|
|
241
241
|
}
|
|
@@ -246,18 +246,18 @@ function ss(t, e, s, r) {
|
|
|
246
246
|
for (let u of o) {
|
|
247
247
|
if (!u || typeof u != "object") continue;
|
|
248
248
|
let a = fc(t, u, s);
|
|
249
|
-
a ? ss(u, a.text, a.rootOffset, !0) : ss(u, e, s, !1),
|
|
249
|
+
a ? ss(u, a.text, a.rootOffset, !0) : ss(u, e, s, !1), Wn(u, t);
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
252
|
mc(t), dc(t);
|
|
253
253
|
}
|
|
254
254
|
function fc(t, e, s) {
|
|
255
255
|
if (e.type === "value-root" || e.type === "value-unknown") return {
|
|
256
|
-
rootOffset:
|
|
256
|
+
rootOffset: Un(t),
|
|
257
257
|
text: e.text || e.value || ""
|
|
258
258
|
};
|
|
259
259
|
if (e.type === "media-query-list" || t.params === e) return {
|
|
260
|
-
rootOffset:
|
|
260
|
+
rootOffset: Fn(t),
|
|
261
261
|
text: t.raws?.params || e.value || ""
|
|
262
262
|
};
|
|
263
263
|
if (e.type?.startsWith("selector-")) {
|
|
@@ -268,11 +268,11 @@ function fc(t, e, s) {
|
|
|
268
268
|
};
|
|
269
269
|
}
|
|
270
270
|
}
|
|
271
|
-
function
|
|
271
|
+
function Un(t) {
|
|
272
272
|
let e = t.source.startOffset;
|
|
273
273
|
return typeof t.prop == "string" && (e += t.prop.length), t.type === "css-atrule" && typeof t.name == "string" && (e += 1 + t.name.length + t.raws.afterName.match(/^\s*:?\s*/)[0].length), t.type !== "css-atrule" && typeof t.raws?.between == "string" && (e += t.raws.between.length), e;
|
|
274
274
|
}
|
|
275
|
-
function
|
|
275
|
+
function Fn(t) {
|
|
276
276
|
let e = t.source.startOffset;
|
|
277
277
|
return t.type === "css-atrule" && typeof t.name == "string" && (e += 1 + t.name.length + t.raws.afterName.match(/^\s*:?\s*/)[0].length), e;
|
|
278
278
|
}
|
|
@@ -290,7 +290,7 @@ function pc(t, e) {
|
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
292
|
function hc(t, e, s, r) {
|
|
293
|
-
return typeof e.sourceIndex == "number" && typeof e.raws?.selector == "string" ? r + e.sourceIndex : t.mixin ? t.source.startOffset : typeof t.raws?.selector == "string" ? t.source.startOffset + rs(t.raws.selector, s) : typeof t.raws?.params == "string" ?
|
|
293
|
+
return typeof e.sourceIndex == "number" && typeof e.raws?.selector == "string" ? r + e.sourceIndex : t.mixin ? t.source.startOffset : typeof t.raws?.selector == "string" ? t.source.startOffset + rs(t.raws.selector, s) : typeof t.raws?.params == "string" ? Fn(t) + rs(t.raws.params, s) : t.type === "css-decl" && typeof t.raws?.value == "string" ? Un(t) + rs(t.raws.value, s) : r;
|
|
294
294
|
}
|
|
295
295
|
function rs(t, e) {
|
|
296
296
|
let s = t.indexOf(e);
|
|
@@ -309,7 +309,7 @@ function mc(t) {
|
|
|
309
309
|
}
|
|
310
310
|
r !== Number.POSITIVE_INFINITY && (t.source ?? (t.source = {}), e || (t.source.startOffset = r, t.source.endOffset = n), (u = t.source).start ?? (u.start = i), (a = t.source).end ?? (a.end = o));
|
|
311
311
|
}
|
|
312
|
-
function
|
|
312
|
+
function Wn(t, e) {
|
|
313
313
|
typeof t.type != "string" || t.source || typeof e.source?.startOffset != "number" || typeof e.source?.endOffset != "number" || !yc(t) || (t.source = {
|
|
314
314
|
startOffset: e.source.startOffset,
|
|
315
315
|
endOffset: e.source.startOffset,
|
|
@@ -321,13 +321,13 @@ function dc(t) {
|
|
|
321
321
|
if (!(typeof t.source?.startOffset != "number" || typeof t.source?.endOffset != "number")) for (let e in t) {
|
|
322
322
|
if (e === "source" || e === "raws" || e === "spaces") continue;
|
|
323
323
|
let s = t[e], r = Array.isArray(s) ? s : [s];
|
|
324
|
-
for (let n of r) n && typeof n == "object" &&
|
|
324
|
+
for (let n of r) n && typeof n == "object" && Wn(n, t);
|
|
325
325
|
}
|
|
326
326
|
}
|
|
327
327
|
function yc(t) {
|
|
328
328
|
return Array.isArray(t.nodes) && t.nodes.length === 0 || Array.isArray(t.groups) && t.groups.length === 0;
|
|
329
329
|
}
|
|
330
|
-
function
|
|
330
|
+
function $n(t) {
|
|
331
331
|
let e = "initial", s = "initial", r, n = !1, i = [];
|
|
332
332
|
for (let o = 0; o < t.length; o++) {
|
|
333
333
|
let u = t[o];
|
|
@@ -345,12 +345,9 @@ function Wn(t) {
|
|
|
345
345
|
e = "url", o += 3;
|
|
346
346
|
continue;
|
|
347
347
|
}
|
|
348
|
-
if (u === "
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
}
|
|
352
|
-
if (u === "/" && t[o - 1] === "/") {
|
|
353
|
-
e = "comment-inline", r = o - 1;
|
|
348
|
+
if (u === "/") {
|
|
349
|
+
let a = t[o + 1];
|
|
350
|
+
a === "*" ? (e = "comment-block", o++) : a === "/" && (e = "comment-inline", r = o, o++);
|
|
354
351
|
continue;
|
|
355
352
|
}
|
|
356
353
|
continue;
|
|
@@ -384,14 +381,14 @@ function Wn(t) {
|
|
|
384
381
|
continue;
|
|
385
382
|
}
|
|
386
383
|
}
|
|
387
|
-
for (let [o, u] of i) t = t.slice(0, o) +
|
|
384
|
+
for (let [o, u] of i) t = t.slice(0, o) + T(0, t.slice(o, u), /["'*]/g, " ") + t.slice(u);
|
|
388
385
|
return t;
|
|
389
386
|
}
|
|
390
387
|
function gc(t) {
|
|
391
388
|
return !!t?.[Bt];
|
|
392
389
|
}
|
|
393
390
|
function wc(t) {
|
|
394
|
-
return
|
|
391
|
+
return T(0, t, /[^\n]/g, " ");
|
|
395
392
|
}
|
|
396
393
|
function vc(t) {
|
|
397
394
|
let e = t.slice(0, et);
|
|
@@ -443,17 +440,17 @@ function xc(t) {
|
|
|
443
440
|
} : { content: t };
|
|
444
441
|
}
|
|
445
442
|
function ns(t, e, s) {
|
|
446
|
-
if (t.type === "css-comment" && s.type === "css-root" && s.nodes.length > 0 && ((s.nodes[0] === t ||
|
|
447
|
-
if (t.type === "value-root" && delete e.text, (t.type === "media-query" || t.type === "media-query-list" || t.type === "media-feature-expression") && delete e.value, t.type === "css-rule" && delete e.params, (t.type === "media-feature" || t.type === "media-keyword" || t.type === "media-type" || t.type === "media-unknown" || t.type === "media-url" || t.type === "media-value" || t.type === "selector-attribute" || t.type === "selector-string" || t.type === "selector-class" || t.type === "selector-combinator" || t.type === "value-string") && t.value && (e.value = bc(t.value)), t.type === "selector-combinator" && (e.value =
|
|
443
|
+
if (t.type === "css-comment" && s.type === "css-root" && s.nodes.length > 0 && ((s.nodes[0] === t || De(s.nodes[0]) && s.nodes[1] === t) && (delete e.text, /^\*\s*@(?:format|prettier)\s*$/.test(t.text)) || s.type === "css-root" && $(0, s.nodes, -1) === t)) return null;
|
|
444
|
+
if (t.type === "value-root" && delete e.text, (t.type === "media-query" || t.type === "media-query-list" || t.type === "media-feature-expression") && delete e.value, t.type === "css-rule" && (delete e.params, t.extend && Ec(t.selector) && delete e.extend), (t.type === "media-feature" || t.type === "media-keyword" || t.type === "media-type" || t.type === "media-unknown" || t.type === "media-url" || t.type === "media-value" || t.type === "selector-attribute" || t.type === "selector-string" || t.type === "selector-class" || t.type === "selector-combinator" || t.type === "value-string") && t.value && (e.value = bc(t.value)), t.type === "selector-combinator" && (e.value = T(0, e.value, /\s+/g, " ")), t.type === "media-feature" && (e.value = T(0, e.value, " ", "")), (t.type === "value-word" && (t.isColor && t.isHex || [
|
|
448
445
|
"initial",
|
|
449
446
|
"inherit",
|
|
450
447
|
"unset",
|
|
451
448
|
"revert"
|
|
452
|
-
].includes(t.value.toLowerCase())) || t.type === "media-feature" || t.type === "selector-root-invalid" || t.type === "selector-pseudo") && (e.value = e.value.toLowerCase()), t.type === "css-decl" && (e.prop = t.prop.toLowerCase()), (t.type === "css-atrule" || t.type === "css-import") && (e.name = t.name.toLowerCase()), t.type === "value-number" && (e.unit = t.unit.toLowerCase()), t.type === "value-unknown" && (e.value =
|
|
449
|
+
].includes(t.value.toLowerCase())) || t.type === "media-feature" || t.type === "selector-root-invalid" || t.type === "selector-pseudo") && (e.value = e.value.toLowerCase()), t.type === "css-decl" && (e.prop = t.prop.toLowerCase()), (t.type === "css-atrule" || t.type === "css-import") && (e.name = t.name.toLowerCase()), t.type === "value-number" && (e.unit = t.unit.toLowerCase()), t.type === "value-unknown" && (e.value = T(0, e.value, /;$/g, "")), t.type === "selector-attribute" && (e.attribute = t.attribute.trim(), t.namespace && typeof t.namespace == "string" && (e.namespace = t.namespace.trim() || !0), t.value)) {
|
|
453
450
|
let { value: r } = e;
|
|
454
451
|
/\s[a-z]$/i.test(r) && (e.__prettier_attribute_selector_flag = $(0, r, -1), r = r.slice(0, -1)), r = r.trim(), r = r.replace(/^(?<quote>["'])(?<value>.*?)\k<quote>$/, "$<value>"), e.value = r, delete e.quoted;
|
|
455
452
|
}
|
|
456
|
-
if ((t.type === "media-value" || t.type === "media-type" || t.type === "value-number" || t.type === "selector-root-invalid" || t.type === "selector-class" || t.type === "selector-combinator" || t.type === "selector-tag") && t.value && (e.value =
|
|
453
|
+
if ((t.type === "media-value" || t.type === "media-type" || t.type === "value-number" || t.type === "selector-root-invalid" || t.type === "selector-class" || t.type === "selector-combinator" || t.type === "selector-tag") && t.value && (e.value = T(0, e.value, /([\d+.e-]+)([a-z]*)/gi, (r, n, i) => {
|
|
457
454
|
let o = Number(n);
|
|
458
455
|
return Number.isNaN(o) ? r : o + i.toLowerCase();
|
|
459
456
|
})), t.type === "selector-tag") {
|
|
@@ -488,30 +485,33 @@ function ns(t, e, s) {
|
|
|
488
485
|
}
|
|
489
486
|
}
|
|
490
487
|
function bc(t) {
|
|
491
|
-
return
|
|
488
|
+
return T(0, T(0, t, "'", "\""), /\\([^\da-f])/gi, "$1");
|
|
492
489
|
}
|
|
493
|
-
function
|
|
494
|
-
|
|
495
|
-
return e ? e[0].trimStart() : "";
|
|
490
|
+
function Ec(t) {
|
|
491
|
+
return t?.nodes?.some((e) => e.nodes?.some((s) => s.type === "selector-pseudo" && s.value === ":extend"));
|
|
496
492
|
}
|
|
497
493
|
function Hn(t) {
|
|
498
|
-
let
|
|
499
|
-
return
|
|
494
|
+
let e = t.match(zn);
|
|
495
|
+
return e ? e[0].trimStart() : "";
|
|
500
496
|
}
|
|
501
497
|
function Qn(t) {
|
|
502
|
-
|
|
498
|
+
let s = t.match(zn)?.[0];
|
|
499
|
+
return s == null ? t : t.slice(s.length);
|
|
500
|
+
}
|
|
501
|
+
function Kn(t) {
|
|
502
|
+
t = T(0, t.replace(kc, "").replace(Tc, ""), Cc, "$1");
|
|
503
503
|
let s = "";
|
|
504
|
-
for (; s !== t;) s = t, t =
|
|
504
|
+
for (; s !== t;) s = t, t = T(0, t, Ac, `
|
|
505
505
|
$1 $2
|
|
506
506
|
`);
|
|
507
|
-
t = t.replace(
|
|
508
|
-
let r = Object.create(null), n =
|
|
509
|
-
for (; i =
|
|
510
|
-
let o =
|
|
507
|
+
t = t.replace(Gn, "").trimEnd();
|
|
508
|
+
let r = Object.create(null), n = T(0, t, Yn, "").replace(Gn, "").trimEnd(), i;
|
|
509
|
+
for (; i = Yn.exec(t);) {
|
|
510
|
+
let o = T(0, i[2], Oc, "");
|
|
511
511
|
if (typeof r[i[1]] == "string" || Array.isArray(r[i[1]])) {
|
|
512
512
|
let u = r[i[1]];
|
|
513
513
|
r[i[1]] = [
|
|
514
|
-
...
|
|
514
|
+
...jn,
|
|
515
515
|
...Array.isArray(u) ? u : [u],
|
|
516
516
|
o
|
|
517
517
|
];
|
|
@@ -522,14 +522,14 @@ $1 $2
|
|
|
522
522
|
pragmas: r
|
|
523
523
|
};
|
|
524
524
|
}
|
|
525
|
-
function
|
|
526
|
-
let o = Object.keys(e), u = o.flatMap((c) =>
|
|
525
|
+
function Xn({ comments: t = "", pragmas: e = {} }) {
|
|
526
|
+
let o = Object.keys(e), u = o.flatMap((c) => Vn(c, e[c])).map((c) => ` * ${c}
|
|
527
527
|
`).join("");
|
|
528
528
|
if (!t) {
|
|
529
529
|
if (o.length === 0) return "";
|
|
530
530
|
if (o.length === 1 && !Array.isArray(e[o[0]])) {
|
|
531
531
|
let c = e[o[0]];
|
|
532
|
-
return `/** ${
|
|
532
|
+
return `/** ${Vn(o[0], c)[0]} */`;
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
535
|
let a = t.split(`
|
|
@@ -540,19 +540,19 @@ function Kn({ comments: t = "", pragmas: e = {} }) {
|
|
|
540
540
|
` + (t ? a : "") + (t && o.length > 0 ? ` *
|
|
541
541
|
` : "") + u + " */";
|
|
542
542
|
}
|
|
543
|
-
function
|
|
544
|
-
return [...
|
|
543
|
+
function Vn(t, e) {
|
|
544
|
+
return [...jn, ...Array.isArray(e) ? e : [e]].map((s) => `@${t} ${s}`.trim());
|
|
545
545
|
}
|
|
546
|
-
function
|
|
546
|
+
function Nc(t) {
|
|
547
547
|
if (!t.startsWith("#!")) return "";
|
|
548
548
|
let e = t.indexOf(`
|
|
549
549
|
`);
|
|
550
550
|
return e === -1 ? t : t.slice(0, e);
|
|
551
551
|
}
|
|
552
552
|
function os(t) {
|
|
553
|
-
let e =
|
|
553
|
+
let e = ti(t);
|
|
554
554
|
e && (t = t.slice(e.length + 1));
|
|
555
|
-
let { pragmas: r, comments: n } =
|
|
555
|
+
let { pragmas: r, comments: n } = Kn(Hn(t));
|
|
556
556
|
return {
|
|
557
557
|
shebang: e,
|
|
558
558
|
text: t,
|
|
@@ -560,18 +560,18 @@ function os(t) {
|
|
|
560
560
|
comments: n
|
|
561
561
|
};
|
|
562
562
|
}
|
|
563
|
-
function ti(t) {
|
|
564
|
-
let { pragmas: e } = os(t);
|
|
565
|
-
return Jn.some((s) => is(e, s));
|
|
566
|
-
}
|
|
567
563
|
function ri(t) {
|
|
568
564
|
let { pragmas: e } = os(t);
|
|
569
|
-
return
|
|
565
|
+
return Zn.some((s) => is(e, s));
|
|
570
566
|
}
|
|
571
567
|
function si(t) {
|
|
572
|
-
let {
|
|
568
|
+
let { pragmas: e } = os(t);
|
|
569
|
+
return Jn.some((s) => is(e, s));
|
|
570
|
+
}
|
|
571
|
+
function ni(t) {
|
|
572
|
+
let { shebang: e, text: s, pragmas: r, comments: n } = os(t), i = Qn(s), o = Xn({
|
|
573
573
|
pragmas: {
|
|
574
|
-
[
|
|
574
|
+
[ei]: "",
|
|
575
575
|
...r
|
|
576
576
|
},
|
|
577
577
|
comments: n.trimStart()
|
|
@@ -583,85 +583,85 @@ function si(t) {
|
|
|
583
583
|
|
|
584
584
|
`) + i;
|
|
585
585
|
}
|
|
586
|
-
function
|
|
586
|
+
function ui(t) {
|
|
587
587
|
return t.findAncestor((e) => e.type === "css-decl")?.prop?.toLowerCase();
|
|
588
588
|
}
|
|
589
|
-
function
|
|
590
|
-
return
|
|
589
|
+
function li(t) {
|
|
590
|
+
return Rc.has(t.toLowerCase());
|
|
591
591
|
}
|
|
592
|
-
function
|
|
592
|
+
function ci(t, e) {
|
|
593
593
|
return t.findAncestor((r) => r.type === "css-atrule")?.name?.toLowerCase().endsWith("keyframes") && ["from", "to"].includes(e.toLowerCase());
|
|
594
594
|
}
|
|
595
|
-
function
|
|
595
|
+
function Me(t) {
|
|
596
596
|
return t.includes("$") || t.includes("@") || t.includes("#") || t.startsWith("%") || t.startsWith("--") || t.startsWith(":--") || t.includes("(") && t.includes(")") ? t : t.toLowerCase();
|
|
597
597
|
}
|
|
598
|
-
function
|
|
598
|
+
function _e(t, e) {
|
|
599
599
|
return t.findAncestor((r) => r.type === "value-func")?.value?.toLowerCase() === e;
|
|
600
600
|
}
|
|
601
|
-
function
|
|
601
|
+
function fi(t) {
|
|
602
602
|
return t.hasAncestor((e) => {
|
|
603
603
|
if (e.type !== "css-rule") return !1;
|
|
604
604
|
let s = e.raws?.selector;
|
|
605
605
|
return s && (s.startsWith(":import") || s.startsWith(":export"));
|
|
606
606
|
});
|
|
607
607
|
}
|
|
608
|
-
function
|
|
608
|
+
function be(t, e) {
|
|
609
609
|
let s = Array.isArray(e) ? e : [e], r = t.findAncestor((n) => n.type === "css-atrule");
|
|
610
610
|
return r && s.includes(r.name.toLowerCase());
|
|
611
611
|
}
|
|
612
|
-
function
|
|
612
|
+
function pi(t) {
|
|
613
613
|
let { node: e } = t;
|
|
614
614
|
return e.groups[0]?.value === "url" && e.groups.length === 2 && t.findAncestor((s) => s.type === "css-atrule")?.name === "import";
|
|
615
615
|
}
|
|
616
|
-
function
|
|
616
|
+
function hi(t) {
|
|
617
617
|
return t.type === "value-func" && t.value.toLowerCase() === "url";
|
|
618
618
|
}
|
|
619
|
-
function
|
|
619
|
+
function mi(t) {
|
|
620
620
|
return t.type === "value-func" && t.value.toLowerCase() === "var";
|
|
621
621
|
}
|
|
622
|
-
function
|
|
622
|
+
function di(t) {
|
|
623
623
|
let { selector: e } = t;
|
|
624
624
|
return e ? typeof e == "string" && /^@.+:.*$/.test(e) || e.value && /^@.+:.*$/.test(e.value) : !1;
|
|
625
625
|
}
|
|
626
|
-
function
|
|
626
|
+
function yi(t) {
|
|
627
627
|
return t.type === "value-word" && [
|
|
628
628
|
"from",
|
|
629
629
|
"through",
|
|
630
630
|
"end"
|
|
631
631
|
].includes(t.value);
|
|
632
632
|
}
|
|
633
|
-
function
|
|
633
|
+
function gi(t) {
|
|
634
634
|
return t.type === "value-word" && [
|
|
635
635
|
"and",
|
|
636
636
|
"or",
|
|
637
637
|
"not"
|
|
638
638
|
].includes(t.value);
|
|
639
639
|
}
|
|
640
|
-
function
|
|
640
|
+
function wi(t) {
|
|
641
641
|
return t.type === "value-word" && t.value === "in";
|
|
642
642
|
}
|
|
643
643
|
function Ft(t) {
|
|
644
644
|
return t.type === "value-operator" && t.value === "*";
|
|
645
645
|
}
|
|
646
|
-
function
|
|
646
|
+
function Ee(t) {
|
|
647
647
|
return t?.type === "value-operator" && t.value === "/";
|
|
648
648
|
}
|
|
649
|
-
function
|
|
649
|
+
function K(t) {
|
|
650
650
|
return t.type === "value-operator" && t.value === "+";
|
|
651
651
|
}
|
|
652
|
-
function
|
|
652
|
+
function Se(t) {
|
|
653
653
|
return t.type === "value-operator" && t.value === "-";
|
|
654
654
|
}
|
|
655
|
-
function
|
|
655
|
+
function Ic(t) {
|
|
656
656
|
return t.type === "value-operator" && t.value === "%";
|
|
657
657
|
}
|
|
658
658
|
function tt(t) {
|
|
659
|
-
return Ft(t) ||
|
|
659
|
+
return Ft(t) || Ee(t) || K(t) || Se(t) || Ic(t);
|
|
660
660
|
}
|
|
661
|
-
function
|
|
661
|
+
function vi(t) {
|
|
662
662
|
return t.type === "value-word" && ["==", "!="].includes(t.value);
|
|
663
663
|
}
|
|
664
|
-
function
|
|
664
|
+
function xi(t) {
|
|
665
665
|
return t.type === "value-word" && [
|
|
666
666
|
"<",
|
|
667
667
|
">",
|
|
@@ -684,19 +684,19 @@ function us(t) {
|
|
|
684
684
|
function Wt(t) {
|
|
685
685
|
return t.name.startsWith("prettier-placeholder");
|
|
686
686
|
}
|
|
687
|
-
function
|
|
687
|
+
function _i(t) {
|
|
688
688
|
return t.prop.startsWith("@prettier-placeholder");
|
|
689
689
|
}
|
|
690
|
-
function
|
|
690
|
+
function bi(t, e) {
|
|
691
691
|
return t.value === "$$" && t.type === "value-func" && e?.type === "value-word" && !e.raws.before;
|
|
692
692
|
}
|
|
693
|
-
function
|
|
693
|
+
function Ei(t) {
|
|
694
694
|
return t.value?.type === "value-root" && t.value.group?.type === "value-value" && t.prop.toLowerCase() === "composes";
|
|
695
695
|
}
|
|
696
|
-
function
|
|
696
|
+
function Si(t) {
|
|
697
697
|
return t.value?.group?.group?.type === "value-paren_group" && t.value.group.group.open !== null && t.value.group.group.close !== null;
|
|
698
698
|
}
|
|
699
|
-
function
|
|
699
|
+
function X(t) {
|
|
700
700
|
return t?.raws?.before === "";
|
|
701
701
|
}
|
|
702
702
|
function $t(t) {
|
|
@@ -732,20 +732,20 @@ function nt(t) {
|
|
|
732
732
|
function Vt(t) {
|
|
733
733
|
return t?.type === "value-colon";
|
|
734
734
|
}
|
|
735
|
-
function
|
|
735
|
+
function Ti(t, e) {
|
|
736
736
|
if (!$t(e)) return !1;
|
|
737
737
|
let { groups: s } = e, r = s.indexOf(t);
|
|
738
738
|
return r === -1 ? !1 : Vt(s[r + 1]);
|
|
739
739
|
}
|
|
740
|
-
function
|
|
740
|
+
function ki(t) {
|
|
741
741
|
return t.value && [
|
|
742
742
|
"not",
|
|
743
743
|
"and",
|
|
744
744
|
"or"
|
|
745
745
|
].includes(t.value.toLowerCase());
|
|
746
746
|
}
|
|
747
|
-
function
|
|
748
|
-
return t.type !== "value-func" ? !1 :
|
|
747
|
+
function Oi(t) {
|
|
748
|
+
return t.type !== "value-func" ? !1 : Pc.has(t.value.toLowerCase());
|
|
749
749
|
}
|
|
750
750
|
function Be(t) {
|
|
751
751
|
return /\/\//.test(t.split(/[\n\r]/).pop());
|
|
@@ -753,7 +753,7 @@ function Be(t) {
|
|
|
753
753
|
function ce(t) {
|
|
754
754
|
return t?.type === "value-atword" && t.value.startsWith("prettier-placeholder-");
|
|
755
755
|
}
|
|
756
|
-
function
|
|
756
|
+
function Ai(t, e) {
|
|
757
757
|
if (t.open?.value !== "(" || t.close?.value !== ")" || t.groups.some((s) => s.type !== "value-comma_group")) return !1;
|
|
758
758
|
if (e.type === "value-comma_group") {
|
|
759
759
|
let s = e.groups.indexOf(t) - 1, r = e.groups[s];
|
|
@@ -764,8 +764,8 @@ function Oi(t, e) {
|
|
|
764
764
|
function it(t) {
|
|
765
765
|
return t.type === "value-paren_group" && t.open?.value === "(" && t.close?.value === ")";
|
|
766
766
|
}
|
|
767
|
-
function
|
|
768
|
-
let { node: r } = t, n = t.parent, i = t.grandparent, o =
|
|
767
|
+
function Lc(t, e, s) {
|
|
768
|
+
let { node: r } = t, n = t.parent, i = t.grandparent, o = ui(t), u = o && n.type === "value-value" && (o === "grid" || o.startsWith("grid-template")), a = t.findAncestor((p) => p.type === "css-atrule"), c = a && rt(a, e), f = r.groups.some((p) => st(p)), h = t.map(s, "groups"), l = [""], d = _e(t, "url"), x = !1, m = !1;
|
|
769
769
|
for (let p = 0; p < r.groups.length; ++p) {
|
|
770
770
|
let y = r.groups[p - 1], g = r.groups[p], v = r.groups[p + 1];
|
|
771
771
|
if (st(g) && !v) {
|
|
@@ -773,23 +773,31 @@ function Ic(t, e, s) {
|
|
|
773
773
|
continue;
|
|
774
774
|
}
|
|
775
775
|
if (l.push([l.pop(), h[p]]), d) {
|
|
776
|
-
(v &&
|
|
776
|
+
(v && K(v) || K(g)) && l.push([l.pop(), " "]);
|
|
777
777
|
continue;
|
|
778
778
|
}
|
|
779
|
-
if (
|
|
779
|
+
if (be(t, "forward") && g.type === "value-word" && g.value && y !== void 0 && y.type === "value-word" && y.value === "as" && v.type === "value-operator" && v.value === "*" || be(t, "utility") && g.type === "value-word" && v && v.type === "value-operator" && v.value === "*" || !v || e.parser === "scss" && v.type === "value-word" && v.value === ";" && t.match(void 0, (b, S) => S === "groups" && b.type === "value-paren_group", (b, S) => S === "group" && b.type === "value-func" && b.value === "if") || g.type === "value-word" && ce(v) && P(g) === N(v)) continue;
|
|
780
780
|
if (g.type === "value-string" && g.quoted) {
|
|
781
|
-
let b = g.value.lastIndexOf("#{"),
|
|
782
|
-
b !== -1 &&
|
|
781
|
+
let b = g.value.lastIndexOf("#{"), S = g.value.lastIndexOf("}");
|
|
782
|
+
b !== -1 && S !== -1 ? x = b > S : b !== -1 ? x = !0 : S !== -1 && (x = !1);
|
|
783
|
+
}
|
|
784
|
+
if (x || Vt(g) || Vt(v) || g.type === "value-atword" && (g.value === "" || g.value.endsWith("[")) || v.type === "value-word" && v.value.startsWith("]") || g.value === "~") continue;
|
|
785
|
+
if (e.parser === "less") {
|
|
786
|
+
if (v?.type === "value-word" && v.value === "[") continue;
|
|
787
|
+
if (g.type === "value-word" && g.value.endsWith("[") && (v?.type === "value-atword" || v?.type === "value-word")) {
|
|
788
|
+
G(r.groups.some((b, S) => S > p && (b.value?.startsWith("]") || b.value?.endsWith("]"))));
|
|
789
|
+
continue;
|
|
790
|
+
}
|
|
783
791
|
}
|
|
784
|
-
if (
|
|
785
|
-
let C = tt(g),
|
|
786
|
-
if ((C && Gt(v) ||
|
|
792
|
+
if (g.type !== "value-string" && g.value && g.value.includes("\\") && v && v.type !== "value-comment" || y?.value && y.value.indexOf("\\") === y.value.length - 1 && g.type === "value-operator" && g.value === "/" || g.value === "\\" || bi(g, v) || Gt(g) || cs(g) || Yt(v) || cs(v) && X(v) || Yt(g) && X(v) || g.value === "--" && Gt(v)) continue;
|
|
793
|
+
let C = tt(g), q = tt(v);
|
|
794
|
+
if ((C && Gt(v) || q && Yt(g)) && X(v) || K(v) && _e(t, "type") && X(v) || !y && Ee(g) || _e(t, "calc") && (K(g) || K(v) || Se(g) || Se(v)) && X(v)) continue;
|
|
787
795
|
if (e.parser === "scss" && C && g.value === "-" && v.type === "value-func" && P(g) !== N(v)) {
|
|
788
796
|
l.push([l.pop(), " "]);
|
|
789
797
|
continue;
|
|
790
798
|
}
|
|
791
|
-
let W = r.groups[p + 2], se = (
|
|
792
|
-
if (!(!(Ft(v) || Ft(g)) && !
|
|
799
|
+
let W = r.groups[p + 2], se = (K(g) || Se(g)) && p === 0 && (v.type === "value-number" || v.isHex) && i && Oi(i) && !X(v), ye = W?.type === "value-func" || W && nt(W) || g.type === "value-func" || nt(g), k = v.type === "value-func" || nt(v) || y?.type === "value-func" || y && nt(y);
|
|
800
|
+
if (!(!(Ft(v) || Ft(g)) && !_e(t, "calc") && !se && (Ee(v) && !ye || Ee(g) && !k || K(v) && !ye || K(g) && !k || Se(v) || Se(g)) && (X(v) || C && (!y || y && tt(y)))) && !((e.parser === "scss" || e.parser === "less") && C && g.value === "-" && it(v) && P(g) === N(v.open) && v.open.value === "(")) {
|
|
793
801
|
if (st(g)) {
|
|
794
802
|
if (n.type === "value-paren_group") {
|
|
795
803
|
l.push(ue(O), "");
|
|
@@ -798,7 +806,7 @@ function Ic(t, e, s) {
|
|
|
798
806
|
l.push(O, "");
|
|
799
807
|
continue;
|
|
800
808
|
}
|
|
801
|
-
if (c && (
|
|
809
|
+
if (c && (vi(v) || xi(v) || gi(v) || wi(g) || yi(g))) {
|
|
802
810
|
l.push([l.pop(), " "]);
|
|
803
811
|
continue;
|
|
804
812
|
}
|
|
@@ -810,18 +818,18 @@ function Ic(t, e, s) {
|
|
|
810
818
|
g.source && v.source && g.source.start.line !== v.source.start.line ? (l.push(O, ""), m = !0) : l.push([l.pop(), " "]);
|
|
811
819
|
continue;
|
|
812
820
|
}
|
|
813
|
-
if (!(o && (o === "font" || o.startsWith("--")) && (
|
|
814
|
-
if (
|
|
821
|
+
if (!(o && (o === "font" || o.startsWith("--")) && (Ee(v) && X(v) && Ci(g) || Ee(g) && X(g) && Ci(y)))) {
|
|
822
|
+
if (q) {
|
|
815
823
|
l.push([l.pop(), " "]);
|
|
816
824
|
continue;
|
|
817
825
|
}
|
|
818
826
|
if (v?.value !== "..." && !(ce(g) && ce(v) && P(g) === N(v))) {
|
|
819
827
|
if (ce(g) && it(v) && P(g) === N(v.open)) {
|
|
820
|
-
l.push(
|
|
828
|
+
l.push(I, "");
|
|
821
829
|
continue;
|
|
822
830
|
}
|
|
823
831
|
if (g.value === "with" && it(v)) {
|
|
824
|
-
l = [[
|
|
832
|
+
l = [[qe(l), " "]];
|
|
825
833
|
continue;
|
|
826
834
|
}
|
|
827
835
|
if (!(g.value?.endsWith("#") && v.value === "{" && it(v.group)) && !(st(v) && !W)) {
|
|
@@ -835,102 +843,102 @@ function Ic(t, e, s) {
|
|
|
835
843
|
}
|
|
836
844
|
}
|
|
837
845
|
}
|
|
838
|
-
return f && l.push([l.pop(), ve]), m && l.unshift("", O), c ?
|
|
846
|
+
return f && l.push([l.pop(), ve]), m && l.unshift("", O), c ? D(R(l)) : pi(t) ? D(qe(l)) : D(R(qe(l)));
|
|
839
847
|
}
|
|
840
|
-
function
|
|
848
|
+
function Ci(t) {
|
|
841
849
|
if (t?.type === "value-number") return !0;
|
|
842
850
|
if (t?.type !== "value-func") return !1;
|
|
843
851
|
let e = t.value.toLowerCase();
|
|
844
852
|
return e === "var" || e === "calc" || e === "min" || e === "max" || e === "clamp" || e.startsWith("--");
|
|
845
853
|
}
|
|
846
|
-
function
|
|
854
|
+
function qc(t) {
|
|
847
855
|
return t.length === 1 ? t : t.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(?=\d)/, "$1$2").replace(/^([+-]?[\d.]+)e[+-]?0+$/, "$1").replace(/^([+-])?\./, "$10.").replace(/(\.\d+?)0+(?=e|$)/, "$1").replace(/\.(?=e|$)/, "");
|
|
848
856
|
}
|
|
849
857
|
function fs(t) {
|
|
850
858
|
let e = t.toLowerCase();
|
|
851
859
|
return zt.has(e) ? zt.get(e) : t;
|
|
852
860
|
}
|
|
853
|
-
function
|
|
854
|
-
return
|
|
861
|
+
function V(t, e) {
|
|
862
|
+
return T(0, t, Ri, (s) => Lt(s, e));
|
|
855
863
|
}
|
|
856
|
-
function
|
|
864
|
+
function Ii(t, e) {
|
|
857
865
|
let s = e.singleQuote ? "'" : "\"", r = "", n = t.match(/^(?<value>.+?)\s+(?<flag>[a-z])$/i);
|
|
858
866
|
return n && ({value: t, flag: r} = n.groups), (t.includes("\"") || t.includes("'") ? t : s + t + s) + (r ? ` ${r}` : "");
|
|
859
867
|
}
|
|
860
|
-
function
|
|
861
|
-
return
|
|
868
|
+
function Te(t) {
|
|
869
|
+
return T(0, t, Uc, (e, s, r, n, i) => !r && n && (i ?? (i = ""), i = i.toLowerCase(), !i || i === "n" || zt.has(i)) ? ps(n) + (i ? fs(i) : "") : e);
|
|
862
870
|
}
|
|
863
871
|
function ps(t) {
|
|
864
|
-
return
|
|
872
|
+
return Pi(t).replace(/\.0(?=$|e)/, "");
|
|
865
873
|
}
|
|
866
|
-
function
|
|
874
|
+
function Li(t) {
|
|
867
875
|
return t.trailingComma === "es5" || t.trailingComma === "all";
|
|
868
876
|
}
|
|
869
|
-
function
|
|
877
|
+
function Fc(t, e, s) {
|
|
870
878
|
if (e === !1) return !1;
|
|
871
879
|
let r = !!s?.backwards, n = t.charAt(e);
|
|
872
880
|
if (r) {
|
|
873
881
|
if (t.charAt(e - 1) === "\r" && n === `
|
|
874
882
|
`) return e - 2;
|
|
875
|
-
if (
|
|
883
|
+
if (qi(n)) return e - 1;
|
|
876
884
|
} else {
|
|
877
885
|
if (n === "\r" && t.charAt(e + 1) === `
|
|
878
886
|
`) return e + 2;
|
|
879
|
-
if (
|
|
887
|
+
if (qi(n)) return e + 1;
|
|
880
888
|
}
|
|
881
889
|
return e;
|
|
882
890
|
}
|
|
883
|
-
function
|
|
891
|
+
function Wc(t, e, s = {}) {
|
|
884
892
|
let r = Dt(t, s.backwards ? e - 1 : e, s);
|
|
885
893
|
return r !== jt(t, r, s);
|
|
886
894
|
}
|
|
887
|
-
function
|
|
895
|
+
function $c(t, e) {
|
|
888
896
|
if (e === !1) return !1;
|
|
889
897
|
if (t.charAt(e) === "/" && t.charAt(e + 1) === "*") {
|
|
890
898
|
for (let s = e + 2; s < t.length; ++s) if (t.charAt(s) === "*" && t.charAt(s + 1) === "/") return s + 2;
|
|
891
899
|
}
|
|
892
900
|
return e;
|
|
893
901
|
}
|
|
894
|
-
function
|
|
902
|
+
function Gc(t, e) {
|
|
895
903
|
return e === !1 ? !1 : t.charAt(e) === "/" && t.charAt(e + 1) === "/" ? Mt(t, e) : e;
|
|
896
904
|
}
|
|
897
|
-
function
|
|
905
|
+
function Yc(t, e) {
|
|
898
906
|
let s = null, r = e;
|
|
899
|
-
for (; r !== s;) s = r, r =
|
|
900
|
-
return r =
|
|
907
|
+
for (; r !== s;) s = r, r = Ln(t, r), r = Di(t, r), r = Dt(t, r);
|
|
908
|
+
return r = Mi(t, r), r = jt(t, r), r !== !1 && Ht(t, r);
|
|
901
909
|
}
|
|
902
|
-
function
|
|
910
|
+
function Vc({ node: t, parent: e }, s) {
|
|
903
911
|
return !!(t.source && s.originalText.slice(N(t), N(e.close)).trimEnd().endsWith(","));
|
|
904
912
|
}
|
|
905
|
-
function
|
|
906
|
-
return
|
|
913
|
+
function zc(t, e) {
|
|
914
|
+
return mi(t.grandparent) && Vc(t, e) ? "," : t.node.type !== "value-comment" && !(t.node.type === "value-comma_group" && t.node.groups.every((s) => s.type === "value-comment")) && Li(e) && t.callParent(() => ls(t, e)) ? Pt(",") : "";
|
|
907
915
|
}
|
|
908
|
-
function
|
|
916
|
+
function Bi(t, e, s) {
|
|
909
917
|
let { node: r, parent: n } = t, i = t.map(({ node: d }) => typeof d == "string" ? d : s(), "groups");
|
|
910
|
-
if (n &&
|
|
918
|
+
if (n && hi(n) && (r.groups.length === 1 || r.groups.length > 0 && r.groups[0].type === "value-comma_group" && r.groups[0].groups.length > 0 && r.groups[0].groups[0].type === "value-word" && r.groups[0].groups[0].value.startsWith("data:"))) return [
|
|
911
919
|
r.open ? s("open") : "",
|
|
912
|
-
|
|
920
|
+
Y(",", i),
|
|
913
921
|
r.close ? s("close") : ""
|
|
914
922
|
];
|
|
915
923
|
if (!r.open) {
|
|
916
924
|
let d = hs(t);
|
|
917
925
|
we(i);
|
|
918
|
-
let x =
|
|
919
|
-
return
|
|
926
|
+
let x = Hc(Y(",", i), 2), m = Y(d ? O : A, x);
|
|
927
|
+
return R(d ? [O, m] : D([jc(t) ? I : "", qe(m)]));
|
|
920
928
|
}
|
|
921
929
|
let o = t.map(({ node: d, isLast: x, index: m }) => {
|
|
922
930
|
let p = i[m];
|
|
923
|
-
$t(d) && d.type === "value-comma_group" && d.groups && d.groups[0].type !== "value-paren_group" && d.groups[2]?.type === "value-paren_group" && ae(p) === ie && ae(p.contents) === ne && ae(p.contents.contents) === oe && (p =
|
|
924
|
-
let y = [p, x ?
|
|
931
|
+
$t(d) && d.type === "value-comma_group" && d.groups && d.groups[0].type !== "value-paren_group" && d.groups[2]?.type === "value-paren_group" && ae(p) === ie && ae(p.contents) === ne && ae(p.contents.contents) === oe && (p = D(ue(p)));
|
|
932
|
+
let y = [p, x ? zc(t, e) : ","];
|
|
925
933
|
if (!x && d.type === "value-comma_group" && le(d.groups)) {
|
|
926
934
|
let g = $(0, d.groups, -1);
|
|
927
935
|
!g.source && g.close && (g = g.close), g.source && Qt(e.originalText, P(g)) && y.push(O);
|
|
928
936
|
}
|
|
929
937
|
return y;
|
|
930
|
-
}, "groups"), u =
|
|
938
|
+
}, "groups"), u = Ti(r, n), a = Ai(r, n), c = ls(t, e), f = a || c && !u, h = a || u, l = D([
|
|
931
939
|
r.open ? s("open") : "",
|
|
932
|
-
|
|
933
|
-
|
|
940
|
+
R([I, Y(A, o)]),
|
|
941
|
+
I,
|
|
934
942
|
It,
|
|
935
943
|
r.close ? s("close") : ""
|
|
936
944
|
], { shouldBreak: f });
|
|
@@ -939,24 +947,24 @@ function Mi(t, e, s) {
|
|
|
939
947
|
function hs(t) {
|
|
940
948
|
return t.match((e) => e.type === "value-paren_group" && !e.open && e.groups.some((s) => s.type === "value-comma_group"), (e, s) => s === "group" && e.type === "value-value", (e, s) => s === "group" && e.type === "value-root", (e, s) => s === "value" && (e.type === "css-decl" && !e.prop.startsWith("--") || e.type === "css-atrule" && e.variable));
|
|
941
949
|
}
|
|
942
|
-
function
|
|
950
|
+
function jc(t) {
|
|
943
951
|
return t.match((e) => e.type === "value-paren_group" && !e.open, (e, s) => s === "group" && e.type === "value-value", (e, s) => s === "group" && e.type === "value-root", (e, s) => s === "value" && e.type === "css-decl");
|
|
944
952
|
}
|
|
945
|
-
function
|
|
953
|
+
function Hc(t, e) {
|
|
946
954
|
let s = [];
|
|
947
955
|
for (let r = 0; r < t.length; r += e) s.push(t.slice(r, r + e));
|
|
948
956
|
return s;
|
|
949
957
|
}
|
|
950
|
-
function
|
|
958
|
+
function Qc(t, e, s) {
|
|
951
959
|
let r = [];
|
|
952
960
|
return t.each(() => {
|
|
953
961
|
let { node: n, previous: i } = t;
|
|
954
962
|
if (i?.type === "css-comment" && i.text.trim() === "prettier-ignore" ? r.push(e.originalText.slice(N(n), P(n))) : r.push(s()), t.isLast) return;
|
|
955
963
|
let { next: o } = t;
|
|
956
|
-
o.type === "css-comment" && !Ht(e.originalText, N(o), { backwards: !0 }) && !
|
|
964
|
+
o.type === "css-comment" && !Ht(e.originalText, N(o), { backwards: !0 }) && !De(n) || o.type === "css-atrule" && o.name === "else" && n.type !== "css-comment" ? r.push(" ") : (r.push(e.__isHTMLStyleAttribute ? A : O), Qt(e.originalText, P(n)) && !De(n) && r.push(O));
|
|
957
965
|
}, "nodes"), r;
|
|
958
966
|
}
|
|
959
|
-
function
|
|
967
|
+
function Kc(t, e, s) {
|
|
960
968
|
let { node: r } = t;
|
|
961
969
|
switch (r.type) {
|
|
962
970
|
case "css-root": {
|
|
@@ -982,21 +990,26 @@ function Qc(t, e, s) {
|
|
|
982
990
|
r.nodes ? [
|
|
983
991
|
r.selector?.type === "selector-unknown" && Be(r.selector.value) ? A : r.selector ? " " : "",
|
|
984
992
|
"{",
|
|
985
|
-
r.nodes.length > 0 ?
|
|
993
|
+
r.nodes.length > 0 ? R([O, Ue(t, e, s)]) : "",
|
|
986
994
|
O,
|
|
987
995
|
"}",
|
|
988
|
-
|
|
996
|
+
di(r) ? ";" : ""
|
|
989
997
|
] : ";"
|
|
990
998
|
];
|
|
991
999
|
case "css-decl": {
|
|
992
1000
|
let n = t.parent, { between: i } = r.raws, o = i.trim(), u = o === ":", a = i.endsWith(" ") && u, c = typeof r.value == "string" && /^ *$/.test(r.value), f = typeof r.value == "string" ? r.value : s("value");
|
|
993
|
-
return f =
|
|
994
|
-
|
|
995
|
-
n.type === "css-atrule" && n.variable ||
|
|
1001
|
+
return f = Ei(r) ? gn(f) : f, !u && Be(o) && !t.call(() => hs(t), "value", "group", "group") && (f = R([O, ue(f)])), [
|
|
1002
|
+
T(0, r.raws.before, /[\s;]/g, ""),
|
|
1003
|
+
n.type === "css-atrule" && n.variable || fi(t) ? r.prop : Me(r.prop),
|
|
996
1004
|
o.startsWith("//") ? " " : "",
|
|
997
1005
|
o,
|
|
998
1006
|
r.extend || c || !a && r.isNested && (ce(r.value.group.group) || ce(r.value.group.group.groups?.[0])) ? "" : " ",
|
|
999
|
-
e.parser === "less" && r.extend && r.selector ? [
|
|
1007
|
+
e.parser === "less" && r.extend && r.selector ? r.selector.nodes.length > 1 ? D([
|
|
1008
|
+
"extend(",
|
|
1009
|
+
R([I, s("selector")]),
|
|
1010
|
+
I,
|
|
1011
|
+
")"
|
|
1012
|
+
]) : [
|
|
1000
1013
|
"extend(",
|
|
1001
1014
|
s("selector"),
|
|
1002
1015
|
")"
|
|
@@ -1007,10 +1020,10 @@ function Qc(t, e, s) {
|
|
|
1007
1020
|
r.raws.scssGlobal ? r.raws.scssGlobal.replace(/\s*!global/i, " !global") : r.scssGlobal ? " !global" : "",
|
|
1008
1021
|
r.nodes ? [
|
|
1009
1022
|
" {",
|
|
1010
|
-
r.nodes.length > 0 ?
|
|
1011
|
-
|
|
1023
|
+
r.nodes.length > 0 ? R([I, Ue(t, e, s)]) : "",
|
|
1024
|
+
I,
|
|
1012
1025
|
"}"
|
|
1013
|
-
] :
|
|
1026
|
+
] : _i(r) && !n.raws.semicolon && e.originalText[P(r) - 1] !== ";" ? "" : e.__isHTMLStyleAttribute && t.isLast ? Pt(";") : ";"
|
|
1014
1027
|
];
|
|
1015
1028
|
}
|
|
1016
1029
|
case "css-atrule": {
|
|
@@ -1034,8 +1047,8 @@ function Qc(t, e, s) {
|
|
|
1034
1047
|
r.raws.between.trim() ? r.raws.between.trim() + " " : "",
|
|
1035
1048
|
r.nodes ? [
|
|
1036
1049
|
"{",
|
|
1037
|
-
r.nodes.length > 0 ?
|
|
1038
|
-
|
|
1050
|
+
r.nodes.length > 0 ? R([I, Ue(t, e, s)]) : "",
|
|
1051
|
+
I,
|
|
1039
1052
|
"}"
|
|
1040
1053
|
] : "",
|
|
1041
1054
|
i ? "" : ";"
|
|
@@ -1044,19 +1057,19 @@ function Qc(t, e, s) {
|
|
|
1044
1057
|
let o = r.name === "import" && r.params?.type === "value-unknown" && r.params.value.endsWith(";");
|
|
1045
1058
|
return [
|
|
1046
1059
|
"@",
|
|
1047
|
-
us(r) || r.name.endsWith(":") || Wt(r) ? r.name :
|
|
1060
|
+
us(r) || r.name.endsWith(":") || Wt(r) ? r.name : Me(r.name),
|
|
1048
1061
|
r.params ? [us(r) ? "" : Wt(r) ? r.raws.afterName === "" ? "" : r.name.endsWith(":") ? " " : /^\s*\n\s*\n/.test(r.raws.afterName) ? [O, O] : /^\s*\n/.test(r.raws.afterName) ? O : " " : " ", typeof r.params == "string" ? r.params : s("params")] : "",
|
|
1049
|
-
r.selector ?
|
|
1050
|
-
r.value ?
|
|
1062
|
+
r.selector ? R([" ", s("selector")]) : "",
|
|
1063
|
+
r.value ? D([
|
|
1051
1064
|
" ",
|
|
1052
1065
|
s("value"),
|
|
1053
|
-
rt(r, e) ?
|
|
1066
|
+
rt(r, e) ? Si(r) ? " " : A : ""
|
|
1054
1067
|
]) : r.name === "else" ? " " : "",
|
|
1055
1068
|
r.nodes ? [
|
|
1056
1069
|
rt(r, e) ? "" : r.selector && !r.selector.nodes && typeof r.selector.value == "string" && Be(r.selector.value) || !r.selector && typeof r.params == "string" && Be(r.params) ? A : " ",
|
|
1057
1070
|
"{",
|
|
1058
|
-
r.nodes.length > 0 ?
|
|
1059
|
-
|
|
1071
|
+
r.nodes.length > 0 ? R([I, Ue(t, e, s)]) : "",
|
|
1072
|
+
I,
|
|
1060
1073
|
"}"
|
|
1061
1074
|
] : i || o ? "" : ";"
|
|
1062
1075
|
];
|
|
@@ -1065,38 +1078,38 @@ function Qc(t, e, s) {
|
|
|
1065
1078
|
let n = [];
|
|
1066
1079
|
return t.each(({ node: i }) => {
|
|
1067
1080
|
i.type === "media-query" && i.value === "" || n.push(s());
|
|
1068
|
-
}, "nodes"),
|
|
1081
|
+
}, "nodes"), D(R(Y(A, n)));
|
|
1069
1082
|
}
|
|
1070
|
-
case "media-query": return [
|
|
1071
|
-
case "media-type": return
|
|
1083
|
+
case "media-query": return [Y(" ", t.map(s, "nodes")), t.isLast ? "" : ","];
|
|
1084
|
+
case "media-type": return Te(V(r.value, e));
|
|
1072
1085
|
case "media-feature-expression": return r.nodes ? [
|
|
1073
1086
|
"(",
|
|
1074
1087
|
...t.map(s, "nodes"),
|
|
1075
1088
|
")"
|
|
1076
1089
|
] : r.value;
|
|
1077
|
-
case "media-feature": return
|
|
1090
|
+
case "media-feature": return Me(V(T(0, r.value, / +/g, " "), e));
|
|
1078
1091
|
case "media-colon": return [r.value, " "];
|
|
1079
|
-
case "media-value": return
|
|
1080
|
-
case "media-keyword": return
|
|
1081
|
-
case "media-url": return
|
|
1092
|
+
case "media-value": return Te(V(r.value, e));
|
|
1093
|
+
case "media-keyword": return V(r.value, e);
|
|
1094
|
+
case "media-url": return V(T(0, T(0, r.value, /^url\(\s+/gi, "url("), /\s+\)$/g, ")"), e);
|
|
1082
1095
|
case "media-unknown": return r.value;
|
|
1083
|
-
case "selector-root": return
|
|
1096
|
+
case "selector-root": return D([be(t, "custom-selector") ? [t.findAncestor((n) => n.type === "css-atrule").customSelector, A] : "", Y([",", be(t, [
|
|
1084
1097
|
"extend",
|
|
1085
1098
|
"custom-selector",
|
|
1086
1099
|
"nest"
|
|
1087
1100
|
]) ? A : O], t.map(s, "nodes"))]);
|
|
1088
|
-
case "selector-selector": return
|
|
1101
|
+
case "selector-selector": return D((r.nodes.length > 2 ? R : (i) => i)(t.map(s, "nodes")));
|
|
1089
1102
|
case "selector-comment": return r.value;
|
|
1090
|
-
case "selector-string": return
|
|
1091
|
-
case "selector-tag": return [r.namespace ? [r.namespace === !0 ? "" : r.namespace.trim(), "|"] : "", t.previous?.type === "selector-nesting" ? r.value :
|
|
1103
|
+
case "selector-string": return V(r.value, e);
|
|
1104
|
+
case "selector-tag": return [r.namespace ? [r.namespace === !0 ? "" : r.namespace.trim(), "|"] : "", t.previous?.type === "selector-nesting" ? r.value : Te(ci(t, r.value) ? r.value.toLowerCase() : r.value)];
|
|
1092
1105
|
case "selector-id": return ["#", r.value];
|
|
1093
|
-
case "selector-class": return [".",
|
|
1106
|
+
case "selector-class": return [".", Te(V(r.value, e))];
|
|
1094
1107
|
case "selector-attribute": return [
|
|
1095
1108
|
"[",
|
|
1096
1109
|
r.namespace ? [r.namespace === !0 ? "" : r.namespace.trim(), "|"] : "",
|
|
1097
1110
|
r.attribute.trim(),
|
|
1098
1111
|
r.operator ?? "",
|
|
1099
|
-
r.value ? wn(
|
|
1112
|
+
r.value ? wn(Ii(V(r.value.trim(), e), e), Xr) : "",
|
|
1100
1113
|
r.insensitive ? " i" : "",
|
|
1101
1114
|
"]"
|
|
1102
1115
|
];
|
|
@@ -1109,17 +1122,17 @@ function Qc(t, e, s) {
|
|
|
1109
1122
|
t.isLast ? "" : " "
|
|
1110
1123
|
];
|
|
1111
1124
|
}
|
|
1112
|
-
return [r.value.trim().startsWith("(") ? A : "",
|
|
1125
|
+
return [r.value.trim().startsWith("(") ? A : "", Te(V(r.value.trim(), e)) || A];
|
|
1113
1126
|
case "selector-universal": return [r.namespace ? [r.namespace === !0 ? "" : r.namespace.trim(), "|"] : "", r.value];
|
|
1114
|
-
case "selector-pseudo": return [
|
|
1127
|
+
case "selector-pseudo": return [Me(r.value), le(r.nodes) ? D([
|
|
1115
1128
|
"(",
|
|
1116
|
-
|
|
1117
|
-
|
|
1129
|
+
R([I, Y([",", A], t.map(s, "nodes"))]),
|
|
1130
|
+
I,
|
|
1118
1131
|
")"
|
|
1119
1132
|
]) : ""];
|
|
1120
1133
|
case "selector-nesting": return r.value;
|
|
1121
1134
|
case "selector-unknown": {
|
|
1122
|
-
if (t.findAncestor((u) => u.type === "css-rule")?.
|
|
1135
|
+
if (t.findAncestor((u) => u.type === "css-rule")?.isScssNestedProperty) return Te(V(Me(r.value), e));
|
|
1123
1136
|
let i = t.parent;
|
|
1124
1137
|
if (i.raws?.selector) {
|
|
1125
1138
|
let u = N(i), a = u + i.raws.selector.length;
|
|
@@ -1138,54 +1151,54 @@ function Qc(t, e, s) {
|
|
|
1138
1151
|
let n = e.originalText.slice(N(r), P(r));
|
|
1139
1152
|
return r.inline ? Rt(n.trimEnd()) : n;
|
|
1140
1153
|
}
|
|
1141
|
-
case "value-comma_group": return
|
|
1142
|
-
case "value-paren_group": return
|
|
1154
|
+
case "value-comma_group": return Ni(t, e, s);
|
|
1155
|
+
case "value-paren_group": return Bi(t, e, s);
|
|
1143
1156
|
case "value-func": return [
|
|
1144
1157
|
r.value,
|
|
1145
|
-
|
|
1158
|
+
be(t, "supports") && ki(r) ? " " : "",
|
|
1146
1159
|
s("group")
|
|
1147
1160
|
];
|
|
1148
1161
|
case "value-paren": return r.value;
|
|
1149
1162
|
case "value-number": return [ps(r.value), fs(r.unit)];
|
|
1150
1163
|
case "value-operator": return r.value;
|
|
1151
|
-
case "value-word": return r.isColor && r.isHex ||
|
|
1164
|
+
case "value-word": return r.isColor && r.isHex || li(r.value) ? r.value.toLowerCase() : r.value;
|
|
1152
1165
|
case "value-colon": {
|
|
1153
1166
|
let { previous: n } = t;
|
|
1154
|
-
return
|
|
1167
|
+
return D([r.value, typeof n?.value == "string" && n.value.endsWith("\\") || _e(t, "url") ? "" : A]);
|
|
1155
1168
|
}
|
|
1156
1169
|
case "value-string": return Lt(r.raws.quote + r.value + r.raws.quote, e);
|
|
1157
1170
|
case "value-atword": return ["@", r.value];
|
|
1158
1171
|
case "value-unicode-range": return r.value;
|
|
1159
1172
|
case "value-unknown": return r.value;
|
|
1160
|
-
default: throw new
|
|
1173
|
+
default: throw new An(r, "PostCSS");
|
|
1161
1174
|
}
|
|
1162
1175
|
}
|
|
1163
|
-
function
|
|
1176
|
+
function Fp(t, e) {
|
|
1164
1177
|
let s = /* @__PURE__ */ new SyntaxError(t + " (" + e.loc.start.line + ":" + e.loc.start.column + ")");
|
|
1165
1178
|
return Object.assign(s, e);
|
|
1166
1179
|
}
|
|
1167
|
-
function
|
|
1180
|
+
function Wp(t) {
|
|
1168
1181
|
return t !== null && typeof t == "object";
|
|
1169
1182
|
}
|
|
1170
1183
|
function ee(t, e, s) {
|
|
1171
|
-
if (
|
|
1184
|
+
if (Ae(t)) {
|
|
1172
1185
|
delete t.parent;
|
|
1173
1186
|
for (let r in t) ee(t[r], e, s), r === "type" && typeof t[r] == "string" && !t[r].startsWith(e) && (!s || !s.test(t[r])) && (t[r] = e + t[r]);
|
|
1174
1187
|
}
|
|
1175
1188
|
return t;
|
|
1176
1189
|
}
|
|
1177
1190
|
function js(t) {
|
|
1178
|
-
if (
|
|
1191
|
+
if (Ae(t)) {
|
|
1179
1192
|
delete t.parent;
|
|
1180
1193
|
for (let e in t) js(t[e]);
|
|
1181
1194
|
!Array.isArray(t) && t.value && !t.type && (t.type = "unknown");
|
|
1182
1195
|
}
|
|
1183
1196
|
return t;
|
|
1184
1197
|
}
|
|
1185
|
-
function
|
|
1198
|
+
function eh(t) {
|
|
1186
1199
|
let e;
|
|
1187
1200
|
try {
|
|
1188
|
-
e =
|
|
1201
|
+
e = Zp(t);
|
|
1189
1202
|
} catch {
|
|
1190
1203
|
return {
|
|
1191
1204
|
type: "selector-unknown",
|
|
@@ -1194,14 +1207,14 @@ function Zp(t) {
|
|
|
1194
1207
|
}
|
|
1195
1208
|
return ee(js(e), "media-");
|
|
1196
1209
|
}
|
|
1197
|
-
function
|
|
1198
|
-
if (/\/[/*]/.test(
|
|
1210
|
+
function my(t) {
|
|
1211
|
+
if (/\/[/*]/.test(T(0, t, /"[^"]+"|'[^']+'/g, ""))) return {
|
|
1199
1212
|
type: "selector-unknown",
|
|
1200
1213
|
value: t.trim()
|
|
1201
1214
|
};
|
|
1202
1215
|
let e;
|
|
1203
1216
|
try {
|
|
1204
|
-
new
|
|
1217
|
+
new Iu.default((s) => {
|
|
1205
1218
|
e = s;
|
|
1206
1219
|
}).process(t);
|
|
1207
1220
|
} catch {
|
|
@@ -1212,22 +1225,22 @@ function hy(t) {
|
|
|
1212
1225
|
}
|
|
1213
1226
|
return ee(e, "selector-");
|
|
1214
1227
|
}
|
|
1215
|
-
function
|
|
1228
|
+
function sg(t) {
|
|
1216
1229
|
return jr(t).text.slice(t.group.open.sourceIndex + 1, t.group.close.sourceIndex).trim();
|
|
1217
1230
|
}
|
|
1218
|
-
function
|
|
1231
|
+
function ng(t) {
|
|
1219
1232
|
if (le(t)) {
|
|
1220
1233
|
for (let e = t.length - 1; e > 0; e--) if (t[e].type === "word" && t[e].value === "{" && t[e - 1].type === "word" && t[e - 1].value.endsWith("#")) return !0;
|
|
1221
1234
|
}
|
|
1222
1235
|
return !1;
|
|
1223
1236
|
}
|
|
1224
|
-
function
|
|
1237
|
+
function ig(t) {
|
|
1225
1238
|
return t.some((e) => e.type === "string" || e.type === "func" && !e.value.endsWith("\\"));
|
|
1226
1239
|
}
|
|
1227
|
-
function
|
|
1240
|
+
function og(t, e) {
|
|
1228
1241
|
return !!(e.parser === "scss" && t?.type === "word" && t.value.startsWith("$"));
|
|
1229
1242
|
}
|
|
1230
|
-
function
|
|
1243
|
+
function ag(t, e) {
|
|
1231
1244
|
let { nodes: s } = t, r = {
|
|
1232
1245
|
open: null,
|
|
1233
1246
|
close: null,
|
|
@@ -1249,7 +1262,7 @@ function og(t, e) {
|
|
|
1249
1262
|
let d = f[l];
|
|
1250
1263
|
d.type === "comma_group" ? h = [...h, ...d.groups] : h.push(d);
|
|
1251
1264
|
}
|
|
1252
|
-
(
|
|
1265
|
+
(bl(h) || !El(h) && !Sl(h[0], e)) && (c.group.groups = [_l(c)]);
|
|
1253
1266
|
}
|
|
1254
1267
|
if (c.type === "paren" && c.value === "(") r = {
|
|
1255
1268
|
open: c,
|
|
@@ -1260,11 +1273,11 @@ function og(t, e) {
|
|
|
1260
1273
|
groups: [],
|
|
1261
1274
|
type: "comma_group"
|
|
1262
1275
|
}, u.push(o);
|
|
1263
|
-
else if (
|
|
1276
|
+
else if (Tl(c)) {
|
|
1264
1277
|
if (o.groups.length > 0 && r.groups.push(o), r.close = c, u.length === 1) throw new Error("Unbalanced parenthesis");
|
|
1265
1278
|
u.pop(), o = $(0, u, -1), o.groups.push(r), n.pop(), r = $(0, n, -1);
|
|
1266
1279
|
} else if (c.type === "comma") {
|
|
1267
|
-
if (a === s.length - 3 && s[a + 1].type === "comment" &&
|
|
1280
|
+
if (a === s.length - 3 && s[a + 1].type === "comment" && Tl(s[a + 2])) continue;
|
|
1268
1281
|
r.groups.push(o), o = {
|
|
1269
1282
|
groups: [],
|
|
1270
1283
|
type: "comma_group"
|
|
@@ -1279,18 +1292,18 @@ function Hr(t) {
|
|
|
1279
1292
|
groups: t.groups.map(Hr)
|
|
1280
1293
|
} : t;
|
|
1281
1294
|
}
|
|
1282
|
-
function
|
|
1283
|
-
if (
|
|
1295
|
+
function Ol(t, e) {
|
|
1296
|
+
if (Ae(t)) for (let s in t) s !== "parent" && (Ol(t[s], e), s === "nodes" && (t.type === "atword" && t.nodes.length === 0 || (t.group = Hr(ag(t, e))), delete t[s]));
|
|
1284
1297
|
return t;
|
|
1285
1298
|
}
|
|
1286
|
-
function
|
|
1299
|
+
function ug(t, e) {
|
|
1287
1300
|
if (e.parser === "less" && t.startsWith("~`")) return {
|
|
1288
1301
|
type: "value-unknown",
|
|
1289
1302
|
value: t
|
|
1290
1303
|
};
|
|
1291
1304
|
let s;
|
|
1292
1305
|
try {
|
|
1293
|
-
s = new
|
|
1306
|
+
s = new kl.default(t, { loose: !0 }).parse();
|
|
1294
1307
|
} catch {
|
|
1295
1308
|
return {
|
|
1296
1309
|
type: "value-unknown",
|
|
@@ -1298,24 +1311,24 @@ function ag(t, e) {
|
|
|
1298
1311
|
};
|
|
1299
1312
|
}
|
|
1300
1313
|
s.text = t;
|
|
1301
|
-
return ee(
|
|
1314
|
+
return ee(Ol(s, e), "value-", /^selector-/);
|
|
1302
1315
|
}
|
|
1303
|
-
function
|
|
1304
|
-
return
|
|
1316
|
+
function cg(t) {
|
|
1317
|
+
return lg.has(t);
|
|
1305
1318
|
}
|
|
1306
|
-
function
|
|
1319
|
+
function fg(t, e) {
|
|
1307
1320
|
return e.parser !== "scss" || !t.selector ? !1 : t.selector.replace(/\/\*.*?\*\//, "").replace(/\/\/.*\n/, "").trim().endsWith(":");
|
|
1308
1321
|
}
|
|
1309
|
-
function
|
|
1310
|
-
if (
|
|
1322
|
+
function Il(t, e) {
|
|
1323
|
+
if (Ae(t)) {
|
|
1311
1324
|
delete t.parent;
|
|
1312
|
-
for (let i in t)
|
|
1325
|
+
for (let i in t) Il(t[i], e);
|
|
1313
1326
|
if (!t.type) return t;
|
|
1314
1327
|
if (t.raws ?? (t.raws = {}), t.type === "css-decl" && typeof t.prop == "string" && t.prop.startsWith("--") && typeof t.value == "string" && t.value.startsWith("{")) {
|
|
1315
1328
|
let i;
|
|
1316
1329
|
if (t.value.trimEnd().endsWith("}")) {
|
|
1317
1330
|
let o = e.originalText.slice(0, t.source.start.offset), u = "a".repeat(t.prop.length) + e.originalText.slice(t.source.start.offset + t.prop.length, t.source.end.offset), a = Ut(o) + u, c;
|
|
1318
|
-
e.parser === "scss" ? c =
|
|
1331
|
+
e.parser === "scss" ? c = Dl : e.parser === "less" ? c = ql : c = Ll;
|
|
1319
1332
|
let f;
|
|
1320
1333
|
try {
|
|
1321
1334
|
f = c(a, { ...e });
|
|
@@ -1335,18 +1348,18 @@ function Rl(t, e) {
|
|
|
1335
1348
|
let r = "";
|
|
1336
1349
|
typeof t.value == "string" && (r = t.raws.value ? t.raws.value.scss ?? t.raws.value.raw : t.value, t.raws.value = r.trim());
|
|
1337
1350
|
let n = "";
|
|
1338
|
-
if (typeof t.params == "string" && (n = t.raws.params ? t.raws.params.scss ?? t.raws.params.raw : t.params, t.raws.afterName && t.raws.afterName.trim().length > 0 && (n = t.raws.afterName + n), t.raws.between && t.raws.between.trim().length > 0 && (n += t.raws.between), n = n.trim(), t.raws.params = n), s.trim().length > 0) return s.startsWith("@") && s.endsWith(":") ? t : t.mixin ? (t.selector = de(s, e), t) : (
|
|
1351
|
+
if (typeof t.params == "string" && (n = t.raws.params ? t.raws.params.scss ?? t.raws.params.raw : t.params, t.raws.afterName && t.raws.afterName.trim().length > 0 && (n = t.raws.afterName + n), t.raws.between && t.raws.between.trim().length > 0 && (n += t.raws.between), n = n.trim(), t.raws.params = n), s.trim().length > 0) return s.startsWith("@") && s.endsWith(":") ? t : t.mixin ? (t.selector = de(s, e), t) : (Cl(t, e) && (t.isScssNestedProperty = !0), t.selector = re(s), t);
|
|
1339
1352
|
if (r.trim().length > 0) {
|
|
1340
|
-
let i = r.match(
|
|
1353
|
+
let i = r.match(pg);
|
|
1341
1354
|
i && (r = r.slice(0, i.index), t.scssDefault = !0, i[0].trim() !== "!default" && (t.raws.scssDefault = i[0]));
|
|
1342
|
-
let o = r.match(
|
|
1355
|
+
let o = r.match(hg);
|
|
1343
1356
|
if (o && (r = r.slice(0, o.index), t.scssGlobal = !0, o[0].trim() !== "!global" && (t.raws.scssGlobal = o[0])), r.startsWith("progid:")) return {
|
|
1344
1357
|
type: "value-unknown",
|
|
1345
1358
|
value: r
|
|
1346
1359
|
};
|
|
1347
1360
|
t.value = de(r, e);
|
|
1348
1361
|
}
|
|
1349
|
-
if (e.parser === "less" && t.type === "css-decl" && r.startsWith("extend(") && (t.extend || (t.extend = t.raws.between === ":"), t.extend && !t.selector && (delete t.value, t.selector = re(r.slice(7, -1)))), t.type === "css-atrule") {
|
|
1362
|
+
if (e.parser === "less" && t.type === "css-decl" && typeof t.prop == "string" && /^\s*\+\s*:/.test(t.raws.between) && (t.prop += "+", t.raws.between = t.raws.between.replace("+", "")), e.parser === "less" && t.type === "css-decl" && r.startsWith("extend(") && (t.extend || (t.extend = t.raws.between === ":"), t.extend && !t.selector && (delete t.value, t.selector = re(r.slice(7, -1)))), t.type === "css-atrule") {
|
|
1350
1363
|
if (e.parser === "less") {
|
|
1351
1364
|
if (t.mixin) return t.selector = re(t.raws.identifier + t.name + t.raws.afterName + t.raws.params), delete t.params, t;
|
|
1352
1365
|
if (t.function) return t;
|
|
@@ -1384,7 +1397,7 @@ function Rl(t, e) {
|
|
|
1384
1397
|
if (i === "extend" || i === "nest") return t.selector = re(n), delete t.params, t;
|
|
1385
1398
|
if (i === "at-root") return /^\(\s*(?:without|with)\s*:.+\)$/s.test(n) ? t.params = de(n, e) : (t.selector = re(n), delete t.params), t;
|
|
1386
1399
|
let o = i.toLowerCase();
|
|
1387
|
-
return
|
|
1400
|
+
return Al(o) ? (t.import = !0, delete t.filename, t.params = de(n, e), t) : [
|
|
1388
1401
|
"namespace",
|
|
1389
1402
|
"supports",
|
|
1390
1403
|
"if",
|
|
@@ -1402,7 +1415,7 @@ function Rl(t, e) {
|
|
|
1402
1415
|
].includes(i) ? (n = n.replace(/(\$\S+?)(\s+)?\.{3}/, "$1...$2"), n = n.replace(/^(?!if)([^"'\s(]+)(\s+)\(/, "$1($2"), t.value = de(n, e), delete t.params, t) : ["media", "custom-media"].includes(o) ? n.includes("#{") ? {
|
|
1403
1416
|
type: "media-unknown",
|
|
1404
1417
|
value: n
|
|
1405
|
-
} : (t.params =
|
|
1418
|
+
} : (t.params = Ua(n), t) : (t.params = n, t);
|
|
1406
1419
|
}
|
|
1407
1420
|
}
|
|
1408
1421
|
return t;
|
|
@@ -1413,7 +1426,7 @@ function un(t, e, s) {
|
|
|
1413
1426
|
i = t(n, { map: !1 });
|
|
1414
1427
|
} catch (o) {
|
|
1415
1428
|
let { name: u, reason: a, line: c, column: f } = o;
|
|
1416
|
-
throw typeof c != "number" ? o :
|
|
1429
|
+
throw typeof c != "number" ? o : Pa(`${u}: ${a}`, {
|
|
1417
1430
|
loc: { start: {
|
|
1418
1431
|
line: c,
|
|
1419
1432
|
column: f
|
|
@@ -1421,7 +1434,7 @@ function un(t, e, s) {
|
|
|
1421
1434
|
cause: o
|
|
1422
1435
|
});
|
|
1423
1436
|
}
|
|
1424
|
-
return s.originalText = e, i =
|
|
1437
|
+
return s.originalText = e, i = Il(ee(i, "css-"), s), Bn(i, e), r && (i.frontMatter = {
|
|
1425
1438
|
...r,
|
|
1426
1439
|
type: "front-matter",
|
|
1427
1440
|
source: {
|
|
@@ -1430,46 +1443,49 @@ function un(t, e, s) {
|
|
|
1430
1443
|
}
|
|
1431
1444
|
}), i;
|
|
1432
1445
|
}
|
|
1433
|
-
function Il(t, e = {}) {
|
|
1434
|
-
return un(Cl.default.default, t, e);
|
|
1435
|
-
}
|
|
1436
1446
|
function Ll(t, e = {}) {
|
|
1437
|
-
return un(
|
|
1447
|
+
return un(Nl.default.default, t, e);
|
|
1438
1448
|
}
|
|
1439
1449
|
function ql(t, e = {}) {
|
|
1440
|
-
return un(Pl.default, t, e);
|
|
1450
|
+
return un((s) => Pl.default.parse($n(s)), t, e);
|
|
1451
|
+
}
|
|
1452
|
+
function Dl(t, e = {}) {
|
|
1453
|
+
return un(Rl.default, t, e);
|
|
1441
1454
|
}
|
|
1442
|
-
var
|
|
1455
|
+
var Bl, Qr, Ul, Fl, Wl, $l, w, hn, Gl, Ne, Yi, ds, Kt, Xt, ut, Jt, ft, Fe, mt, pe, co, fo, _s, $e, er, Ye, ks, tr, nr, ir, yt, Lo, Do, Bo, Fo, Yo, jo, Qo, Ko, ar, ta, Ps, Rs, ur, Is, Ds, pa, ma, lr, Ea, ka, Aa, Na, Ws, Gs, Da, Ma, Hs, Qs, Ks, Ce, M, dr, ja, Qa, je, Ja, eu, ru, nu, ou, uu, cu, pu, mu, yu, wu, Ou, Nu, Ru, j, U, Mu, Uu, $u, Yu, zu, Hu, Xu, Zu, tl, sl, il, al, ll, fl, ml, yl, xl, Ml, Tt, Yl, T, $, Hl, G, Ke, Xe, kt, ne, Pe, Ot, ie, oe, ge, At, Re, Ie, H, Ct, Le, Nt, ae, Kl, Kr, dn, F, we, xn, _n, ve, A, I, O, Xr, vn, It, le, En, Sn, rc, sc, nc, On, Lt, Zr, An, Nn, Je, ac, Pn, Q, In, ts, Dt, Ln, Mt, N, P, Bt, De, Ut, et, xe, _c, is, Tc, kc, zn, Oc, Gn, Ac, Yn, Cc, jn, Jn, Zn, ei, ti, ii, oi, ai, Pc, Rc, Ni, Pi, zt, Ri, Uc, qi, jt, Ht, Di, Mi, Qt, Ue, Ui, Fi, $i, cn, Nl, Pl, Rl, Pa, Ae, Ba, Zp, Ua, Iu, re, kl, rg, jr, _l, bl, El, Sl, Tl, de, lg, Al, Cl, pg, hg, ln, mg, dg, yg, gg;
|
|
1443
1456
|
var init_postcss = __esmMin((() => {
|
|
1444
|
-
|
|
1457
|
+
Bl = Object.create;
|
|
1445
1458
|
Qr = Object.defineProperty;
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1459
|
+
Ul = Object.getOwnPropertyDescriptor;
|
|
1460
|
+
Fl = Object.getOwnPropertyNames;
|
|
1461
|
+
Wl = Object.getPrototypeOf;
|
|
1462
|
+
$l = Object.prototype.hasOwnProperty;
|
|
1449
1463
|
w = (t, e) => () => {
|
|
1450
1464
|
try {
|
|
1451
1465
|
return e || t((e = { exports: {} }).exports, e), e.exports;
|
|
1452
1466
|
} catch (s) {
|
|
1453
1467
|
throw e = 0, s;
|
|
1454
1468
|
}
|
|
1455
|
-
}
|
|
1469
|
+
};
|
|
1470
|
+
hn = (t, e) => {
|
|
1456
1471
|
for (var s in e) Qr(t, s, {
|
|
1457
1472
|
get: e[s],
|
|
1458
1473
|
enumerable: !0
|
|
1459
1474
|
});
|
|
1460
|
-
}
|
|
1461
|
-
|
|
1475
|
+
};
|
|
1476
|
+
Gl = (t, e, s, r) => {
|
|
1477
|
+
if (e && typeof e == "object" || typeof e == "function") for (let n of Fl(e)) !$l.call(t, n) && n !== s && Qr(t, n, {
|
|
1462
1478
|
get: () => e[n],
|
|
1463
|
-
enumerable: !(r =
|
|
1479
|
+
enumerable: !(r = Ul(e, n)) || r.enumerable
|
|
1464
1480
|
});
|
|
1465
1481
|
return t;
|
|
1466
1482
|
};
|
|
1467
|
-
|
|
1483
|
+
Ne = (t, e, s) => (s = t != null ? Bl(Wl(t)) : {}, Gl(e || !t || !t.__esModule ? Qr(s, "default", {
|
|
1468
1484
|
value: t,
|
|
1469
1485
|
enumerable: !0
|
|
1470
1486
|
}) : s, t));
|
|
1471
|
-
|
|
1472
|
-
var _ = String,
|
|
1487
|
+
Yi = w((Bx, ms) => {
|
|
1488
|
+
var _ = String, Gi = function() {
|
|
1473
1489
|
return {
|
|
1474
1490
|
isColorSupported: !1,
|
|
1475
1491
|
reset: _,
|
|
@@ -1515,13 +1531,13 @@ var init_postcss = __esmMin((() => {
|
|
|
1515
1531
|
bgWhiteBright: _
|
|
1516
1532
|
};
|
|
1517
1533
|
};
|
|
1518
|
-
ms.exports =
|
|
1519
|
-
ms.exports.createColors =
|
|
1534
|
+
ms.exports = Gi();
|
|
1535
|
+
ms.exports.createColors = Gi;
|
|
1520
1536
|
});
|
|
1521
1537
|
ds = w(() => {});
|
|
1522
|
-
Kt = w((
|
|
1538
|
+
Kt = w((Wx, ji) => {
|
|
1523
1539
|
"use strict";
|
|
1524
|
-
var
|
|
1540
|
+
var Vi = Yi(), zi = ds(), ot = class t extends Error {
|
|
1525
1541
|
constructor(e, s, r, n, i, o) {
|
|
1526
1542
|
super(e), this.name = "CssSyntaxError", this.reason = e, i && (this.file = i), n && (this.source = n), o && (this.plugin = o), typeof s < "u" && typeof r < "u" && (typeof s == "number" ? (this.line = s, this.column = r) : (this.line = s.line, this.column = s.column, this.endLine = r.line, this.endColumn = r.column)), this.setMessage(), Error.captureStackTrace && Error.captureStackTrace(this, t);
|
|
1527
1543
|
}
|
|
@@ -1531,11 +1547,11 @@ var init_postcss = __esmMin((() => {
|
|
|
1531
1547
|
showSourceCode(e) {
|
|
1532
1548
|
if (!this.source) return "";
|
|
1533
1549
|
let s = this.source;
|
|
1534
|
-
e ??=
|
|
1550
|
+
e ??= Vi.isColorSupported;
|
|
1535
1551
|
let r = (f) => f, n = (f) => f, i = (f) => f;
|
|
1536
1552
|
if (e) {
|
|
1537
|
-
let { bold: f, gray: h, red: l } =
|
|
1538
|
-
n = (d) => f(l(d)), r = (d) => h(d),
|
|
1553
|
+
let { bold: f, gray: h, red: l } = Vi.createColors(!0);
|
|
1554
|
+
n = (d) => f(l(d)), r = (d) => h(d), zi && (i = (d) => zi(d));
|
|
1539
1555
|
}
|
|
1540
1556
|
let o = s.split(/\r?\n/), u = Math.max(this.line - 3, 0), a = Math.min(this.line + 2, o.length), c = String(a).length;
|
|
1541
1557
|
return o.slice(u, a).map((f, h) => {
|
|
@@ -1562,16 +1578,16 @@ var init_postcss = __esmMin((() => {
|
|
|
1562
1578
|
`), this.name + ": " + this.message + e;
|
|
1563
1579
|
}
|
|
1564
1580
|
};
|
|
1565
|
-
|
|
1581
|
+
ji.exports = ot;
|
|
1566
1582
|
ot.default = ot;
|
|
1567
1583
|
});
|
|
1568
|
-
Xt = w((
|
|
1584
|
+
Xt = w(($x, Qi) => {
|
|
1569
1585
|
"use strict";
|
|
1570
|
-
var
|
|
1586
|
+
var Zc = /(<)(\/?style\b)/gi, ef = /(<)(!--)/g;
|
|
1571
1587
|
function fe(t) {
|
|
1572
|
-
return typeof t != "string" || !t.includes("<") ? t : t.replace(
|
|
1588
|
+
return typeof t != "string" || !t.includes("<") ? t : t.replace(Zc, "\\3c $2").replace(ef, "\\3c $2");
|
|
1573
1589
|
}
|
|
1574
|
-
var
|
|
1590
|
+
var Hi = {
|
|
1575
1591
|
after: `
|
|
1576
1592
|
`,
|
|
1577
1593
|
beforeClose: `
|
|
@@ -1590,7 +1606,7 @@ var init_postcss = __esmMin((() => {
|
|
|
1590
1606
|
indent: " ",
|
|
1591
1607
|
semicolon: !1
|
|
1592
1608
|
};
|
|
1593
|
-
function
|
|
1609
|
+
function tf(t) {
|
|
1594
1610
|
return t[0].toUpperCase() + t.slice(1);
|
|
1595
1611
|
}
|
|
1596
1612
|
var at = class {
|
|
@@ -1648,17 +1664,17 @@ var init_postcss = __esmMin((() => {
|
|
|
1648
1664
|
if (r || (r = s), s && (n = e.raws[s], typeof n < "u")) return n;
|
|
1649
1665
|
let i = e.parent;
|
|
1650
1666
|
if (r === "before" && (!i || i.type === "root" && i.first === e || i && i.type === "document")) return "";
|
|
1651
|
-
if (!i) return
|
|
1667
|
+
if (!i) return Hi[r];
|
|
1652
1668
|
let o = e.root(), u = o.rawCache || (o.rawCache = {});
|
|
1653
1669
|
if (typeof u[r] < "u") return u[r];
|
|
1654
1670
|
if (r === "before" || r === "after") return this.beforeAfter(e, r);
|
|
1655
1671
|
{
|
|
1656
|
-
let a = "raw" +
|
|
1672
|
+
let a = "raw" + tf(r);
|
|
1657
1673
|
this[a] ? n = this[a](o, e) : o.walk((c) => {
|
|
1658
1674
|
if (n = c.raws[s], typeof n < "u") return !1;
|
|
1659
1675
|
});
|
|
1660
1676
|
}
|
|
1661
|
-
return typeof n > "u" && (n =
|
|
1677
|
+
return typeof n > "u" && (n = Hi[r]), u[r] = n, n;
|
|
1662
1678
|
}
|
|
1663
1679
|
rawBeforeClose(e) {
|
|
1664
1680
|
let s;
|
|
@@ -1742,26 +1758,26 @@ var init_postcss = __esmMin((() => {
|
|
|
1742
1758
|
this[e.type](e, s);
|
|
1743
1759
|
}
|
|
1744
1760
|
};
|
|
1745
|
-
|
|
1761
|
+
Qi.exports = at;
|
|
1746
1762
|
at.default = at;
|
|
1747
1763
|
});
|
|
1748
|
-
ut = w((
|
|
1764
|
+
ut = w((Gx, Ki) => {
|
|
1749
1765
|
"use strict";
|
|
1750
|
-
var
|
|
1766
|
+
var rf = Xt();
|
|
1751
1767
|
function ys(t, e) {
|
|
1752
|
-
new
|
|
1768
|
+
new rf(e).stringify(t);
|
|
1753
1769
|
}
|
|
1754
|
-
|
|
1770
|
+
Ki.exports = ys;
|
|
1755
1771
|
ys.default = ys;
|
|
1756
1772
|
});
|
|
1757
|
-
Jt = w((
|
|
1773
|
+
Jt = w((Yx, gs) => {
|
|
1758
1774
|
"use strict";
|
|
1759
1775
|
gs.exports.isClean = Symbol("isClean");
|
|
1760
1776
|
gs.exports.my = Symbol("my");
|
|
1761
1777
|
});
|
|
1762
|
-
ft = w((
|
|
1778
|
+
ft = w((Vx, Xi) => {
|
|
1763
1779
|
"use strict";
|
|
1764
|
-
var
|
|
1780
|
+
var sf = Kt(), nf = Xt(), of = ut(), { isClean: lt, my: af } = Jt();
|
|
1765
1781
|
function ws(t, e) {
|
|
1766
1782
|
let s = new t.constructor();
|
|
1767
1783
|
for (let r in t) {
|
|
@@ -1771,7 +1787,7 @@ var init_postcss = __esmMin((() => {
|
|
|
1771
1787
|
}
|
|
1772
1788
|
return s;
|
|
1773
1789
|
}
|
|
1774
|
-
function
|
|
1790
|
+
function J(t, e) {
|
|
1775
1791
|
if (e && typeof e.offset < "u") return e.offset;
|
|
1776
1792
|
let s = 1, r = 1, n = 0;
|
|
1777
1793
|
for (let i = 0; i < t.length; i++) {
|
|
@@ -1789,10 +1805,10 @@ var init_postcss = __esmMin((() => {
|
|
|
1789
1805
|
return this;
|
|
1790
1806
|
}
|
|
1791
1807
|
constructor(e = {}) {
|
|
1792
|
-
this.raws = {}, this[lt] = !1, this[
|
|
1808
|
+
this.raws = {}, this[lt] = !1, this[af] = !0;
|
|
1793
1809
|
for (let s in e) if (s === "nodes") {
|
|
1794
1810
|
this.nodes = [];
|
|
1795
|
-
for (let r of e[s]) typeof r.clone == "function" ? this.append(r.clone()) : this.append(r);
|
|
1811
|
+
for (let r of e[s]) typeof r.clone == "function" && r.parent ? this.append(r.clone()) : this.append(r);
|
|
1796
1812
|
} else this[s] = e[s];
|
|
1797
1813
|
}
|
|
1798
1814
|
addToError(e) {
|
|
@@ -1839,7 +1855,7 @@ var init_postcss = __esmMin((() => {
|
|
|
1839
1855
|
line: r.line
|
|
1840
1856
|
}, s);
|
|
1841
1857
|
}
|
|
1842
|
-
return new
|
|
1858
|
+
return new sf(e);
|
|
1843
1859
|
}
|
|
1844
1860
|
getProxyProcessor() {
|
|
1845
1861
|
return {
|
|
@@ -1867,16 +1883,20 @@ var init_postcss = __esmMin((() => {
|
|
|
1867
1883
|
return this.parent.nodes[e + 1];
|
|
1868
1884
|
}
|
|
1869
1885
|
positionBy(e = {}) {
|
|
1870
|
-
let s = this.source.
|
|
1871
|
-
|
|
1886
|
+
let s = "document" in this.source.input ? this.source.input.document : this.source.input.css, r = {
|
|
1887
|
+
column: this.source.start.column,
|
|
1888
|
+
line: this.source.start.line,
|
|
1889
|
+
offset: J(s, this.source.start)
|
|
1890
|
+
};
|
|
1891
|
+
if (e.index) r = this.positionInside(e.index);
|
|
1872
1892
|
else if (e.word) {
|
|
1873
|
-
let
|
|
1874
|
-
i !== -1 && (
|
|
1893
|
+
let i = s.slice(J(s, this.source.start), J(s, this.source.end)).indexOf(e.word);
|
|
1894
|
+
i !== -1 && (r = this.positionInside(i));
|
|
1875
1895
|
}
|
|
1876
|
-
return
|
|
1896
|
+
return r;
|
|
1877
1897
|
}
|
|
1878
1898
|
positionInside(e) {
|
|
1879
|
-
let s = this.source.start.column, r = this.source.start.line, n = "document" in this.source.input ? this.source.input.document : this.source.input.css, i =
|
|
1899
|
+
let s = this.source.start.column, r = this.source.start.line, n = "document" in this.source.input ? this.source.input.document : this.source.input.css, i = J(n, this.source.start), o = i + e;
|
|
1880
1900
|
for (let u = i; u < o; u++) n[u] === `
|
|
1881
1901
|
` ? (s = 1, r += 1) : s += 1;
|
|
1882
1902
|
return {
|
|
@@ -1894,28 +1914,28 @@ var init_postcss = __esmMin((() => {
|
|
|
1894
1914
|
let s = "document" in this.source.input ? this.source.input.document : this.source.input.css, r = {
|
|
1895
1915
|
column: this.source.start.column,
|
|
1896
1916
|
line: this.source.start.line,
|
|
1897
|
-
offset:
|
|
1917
|
+
offset: J(s, this.source.start)
|
|
1898
1918
|
}, n = this.source.end ? {
|
|
1899
1919
|
column: this.source.end.column + 1,
|
|
1900
1920
|
line: this.source.end.line,
|
|
1901
|
-
offset: typeof this.source.end.offset == "number" ? this.source.end.offset :
|
|
1921
|
+
offset: typeof this.source.end.offset == "number" ? this.source.end.offset : J(s, this.source.end) + 1
|
|
1902
1922
|
} : {
|
|
1903
1923
|
column: r.column + 1,
|
|
1904
1924
|
line: r.line,
|
|
1905
1925
|
offset: r.offset + 1
|
|
1906
1926
|
};
|
|
1907
1927
|
if (e.word) {
|
|
1908
|
-
let o = s.slice(
|
|
1928
|
+
let o = s.slice(J(s, this.source.start), J(s, this.source.end)).indexOf(e.word);
|
|
1909
1929
|
o !== -1 && (r = this.positionInside(o), n = this.positionInside(o + e.word.length));
|
|
1910
1930
|
} else e.start ? r = {
|
|
1911
1931
|
column: e.start.column,
|
|
1912
1932
|
line: e.start.line,
|
|
1913
|
-
offset:
|
|
1914
|
-
} : e.index && (r = this.positionInside(e.index)), e.end ? n = {
|
|
1933
|
+
offset: J(s, e.start)
|
|
1934
|
+
} : typeof e.index == "number" && (r = this.positionInside(e.index)), e.end ? n = {
|
|
1915
1935
|
column: e.end.column,
|
|
1916
1936
|
line: e.end.line,
|
|
1917
|
-
offset:
|
|
1918
|
-
} : typeof e.endIndex == "number" ? n = this.positionInside(e.endIndex) : e.index && (n = this.positionInside(e.index + 1));
|
|
1937
|
+
offset: J(s, e.end)
|
|
1938
|
+
} : typeof e.endIndex == "number" ? n = this.positionInside(e.endIndex) : typeof e.index == "number" && (n = this.positionInside(e.index + 1));
|
|
1919
1939
|
return (n.line < r.line || n.line === r.line && n.column <= r.column) && (n = {
|
|
1920
1940
|
column: r.column + 1,
|
|
1921
1941
|
line: r.line,
|
|
@@ -1926,7 +1946,7 @@ var init_postcss = __esmMin((() => {
|
|
|
1926
1946
|
};
|
|
1927
1947
|
}
|
|
1928
1948
|
raw(e, s) {
|
|
1929
|
-
return new
|
|
1949
|
+
return new nf().raw(this, e, s);
|
|
1930
1950
|
}
|
|
1931
1951
|
remove() {
|
|
1932
1952
|
return this.parent && this.parent.removeChild(this), this.parent = void 0, this;
|
|
@@ -1968,7 +1988,7 @@ var init_postcss = __esmMin((() => {
|
|
|
1968
1988
|
toProxy() {
|
|
1969
1989
|
return this.proxyCache || (this.proxyCache = new Proxy(this, this.getProxyProcessor())), this.proxyCache;
|
|
1970
1990
|
}
|
|
1971
|
-
toString(e =
|
|
1991
|
+
toString(e = of) {
|
|
1972
1992
|
e.stringify && (e = e.stringify);
|
|
1973
1993
|
let s = "";
|
|
1974
1994
|
return e(this, (r) => {
|
|
@@ -1981,22 +2001,22 @@ var init_postcss = __esmMin((() => {
|
|
|
1981
2001
|
return e.warn(s, n);
|
|
1982
2002
|
}
|
|
1983
2003
|
};
|
|
1984
|
-
|
|
2004
|
+
Xi.exports = ct;
|
|
1985
2005
|
ct.default = ct;
|
|
1986
2006
|
});
|
|
1987
|
-
Fe = w((
|
|
2007
|
+
Fe = w((zx, Ji) => {
|
|
1988
2008
|
"use strict";
|
|
1989
|
-
var
|
|
2009
|
+
var uf = ft(), pt = class extends uf {
|
|
1990
2010
|
constructor(e) {
|
|
1991
2011
|
super(e), this.type = "comment";
|
|
1992
2012
|
}
|
|
1993
2013
|
};
|
|
1994
|
-
|
|
2014
|
+
Ji.exports = pt;
|
|
1995
2015
|
pt.default = pt;
|
|
1996
2016
|
});
|
|
1997
|
-
mt = w((
|
|
2017
|
+
mt = w((jx, Zi) => {
|
|
1998
2018
|
"use strict";
|
|
1999
|
-
var
|
|
2019
|
+
var lf = ft(), ht = class extends lf {
|
|
2000
2020
|
get variable() {
|
|
2001
2021
|
return this.prop.startsWith("--") || this.prop[0] === "$";
|
|
2002
2022
|
}
|
|
@@ -2007,19 +2027,19 @@ var init_postcss = __esmMin((() => {
|
|
|
2007
2027
|
}), super(e), this.type = "decl";
|
|
2008
2028
|
}
|
|
2009
2029
|
};
|
|
2010
|
-
|
|
2030
|
+
Zi.exports = ht;
|
|
2011
2031
|
ht.default = ht;
|
|
2012
2032
|
});
|
|
2013
|
-
pe = w((
|
|
2033
|
+
pe = w((Hx, uo) => {
|
|
2014
2034
|
"use strict";
|
|
2015
|
-
var
|
|
2016
|
-
function io(t) {
|
|
2017
|
-
return t.map((e) => (e.nodes && (e.nodes = io(e.nodes)), delete e.source, e));
|
|
2018
|
-
}
|
|
2035
|
+
var eo = Fe(), to = mt(), cf = ft(), { isClean: ro, my: so } = Jt(), vs, no, io, xs;
|
|
2019
2036
|
function oo(t) {
|
|
2020
|
-
|
|
2037
|
+
return t.map((e) => (e.nodes && (e.nodes = oo(e.nodes)), delete e.source, e));
|
|
2038
|
+
}
|
|
2039
|
+
function ao(t) {
|
|
2040
|
+
if (t[ro] = !1, t.proxyOf.nodes) for (let e of t.proxyOf.nodes) ao(e);
|
|
2021
2041
|
}
|
|
2022
|
-
var
|
|
2042
|
+
var z = class t extends cf {
|
|
2023
2043
|
get first() {
|
|
2024
2044
|
if (this.proxyOf.nodes) return this.proxyOf.nodes[0];
|
|
2025
2045
|
}
|
|
@@ -2080,7 +2100,7 @@ var init_postcss = __esmMin((() => {
|
|
|
2080
2100
|
return this.markDirty(), this;
|
|
2081
2101
|
}
|
|
2082
2102
|
normalize(e, s) {
|
|
2083
|
-
if (typeof e == "string") e =
|
|
2103
|
+
if (typeof e == "string") e = oo(no(e).nodes);
|
|
2084
2104
|
else if (typeof e > "u") e = [];
|
|
2085
2105
|
else if (Array.isArray(e)) {
|
|
2086
2106
|
e = e.slice(0);
|
|
@@ -2091,12 +2111,12 @@ var init_postcss = __esmMin((() => {
|
|
|
2091
2111
|
} else if (e.type) e = [e];
|
|
2092
2112
|
else if (e.prop) {
|
|
2093
2113
|
if (typeof e.value > "u") throw new Error("Value field is missed in node creation");
|
|
2094
|
-
typeof e.value != "string" && (e.value = String(e.value)), e = [new
|
|
2114
|
+
typeof e.value != "string" && (e.value = String(e.value)), e = [new to(e)];
|
|
2095
2115
|
} else if (e.selector || e.selectors) e = [new xs(e)];
|
|
2096
2116
|
else if (e.name) e = [new vs(e)];
|
|
2097
|
-
else if (e.text) e = [new
|
|
2117
|
+
else if (e.text) e = [new eo(e)];
|
|
2098
2118
|
else throw new Error("Unknown node type in node creation");
|
|
2099
|
-
return e.map((n) => (n[
|
|
2119
|
+
return e.map((n) => (n[so] || t.rebuild(n), n = n.proxyOf, n.parent && n.parent.removeChild(n), n[ro] && ao(n), n.raws || (n.raws = {}), typeof n.raws.before > "u" && s && typeof s.raws.before < "u" && (n.raws.before = s.raws.before.replace(/\S/g, "")), n.parent = this.proxyOf, n));
|
|
2100
2120
|
}
|
|
2101
2121
|
prepend(...e) {
|
|
2102
2122
|
e = e.reverse();
|
|
@@ -2172,49 +2192,49 @@ var init_postcss = __esmMin((() => {
|
|
|
2172
2192
|
}));
|
|
2173
2193
|
}
|
|
2174
2194
|
};
|
|
2175
|
-
|
|
2176
|
-
|
|
2195
|
+
z.registerParse = (t) => {
|
|
2196
|
+
no = t;
|
|
2177
2197
|
};
|
|
2178
|
-
|
|
2198
|
+
z.registerRule = (t) => {
|
|
2179
2199
|
xs = t;
|
|
2180
2200
|
};
|
|
2181
|
-
|
|
2201
|
+
z.registerAtRule = (t) => {
|
|
2182
2202
|
vs = t;
|
|
2183
2203
|
};
|
|
2184
|
-
|
|
2185
|
-
|
|
2204
|
+
z.registerRoot = (t) => {
|
|
2205
|
+
io = t;
|
|
2186
2206
|
};
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
t.type === "atrule" ? Object.setPrototypeOf(t, vs.prototype) : t.type === "rule" ? Object.setPrototypeOf(t, xs.prototype) : t.type === "decl" ? Object.setPrototypeOf(t,
|
|
2191
|
-
|
|
2207
|
+
uo.exports = z;
|
|
2208
|
+
z.default = z;
|
|
2209
|
+
z.rebuild = (t) => {
|
|
2210
|
+
t.type === "atrule" ? Object.setPrototypeOf(t, vs.prototype) : t.type === "rule" ? Object.setPrototypeOf(t, xs.prototype) : t.type === "decl" ? Object.setPrototypeOf(t, to.prototype) : t.type === "comment" ? Object.setPrototypeOf(t, eo.prototype) : t.type === "root" && Object.setPrototypeOf(t, io.prototype), t[so] = !0, t.nodes && t.nodes.forEach((e) => {
|
|
2211
|
+
z.rebuild(e);
|
|
2192
2212
|
});
|
|
2193
2213
|
};
|
|
2194
2214
|
});
|
|
2195
|
-
|
|
2196
|
-
var
|
|
2215
|
+
co = w((Qx, lo) => {
|
|
2216
|
+
var ff = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", pf = (t, e = 21) => (s = e) => {
|
|
2197
2217
|
let r = "", n = s | 0;
|
|
2198
2218
|
for (; n--;) r += t[Math.random() * t.length | 0];
|
|
2199
2219
|
return r;
|
|
2200
|
-
},
|
|
2220
|
+
}, hf = (t = 21) => {
|
|
2201
2221
|
let e = "", s = t | 0;
|
|
2202
|
-
for (; s--;) e +=
|
|
2222
|
+
for (; s--;) e += ff[Math.random() * 64 | 0];
|
|
2203
2223
|
return e;
|
|
2204
2224
|
};
|
|
2205
|
-
|
|
2206
|
-
nanoid:
|
|
2207
|
-
customAlphabet:
|
|
2225
|
+
lo.exports = {
|
|
2226
|
+
nanoid: hf,
|
|
2227
|
+
customAlphabet: pf
|
|
2208
2228
|
};
|
|
2209
2229
|
});
|
|
2210
|
-
|
|
2211
|
-
_s = w((
|
|
2212
|
-
|
|
2230
|
+
fo = w(() => {});
|
|
2231
|
+
_s = w((Jx, po) => {
|
|
2232
|
+
po.exports = class {};
|
|
2213
2233
|
});
|
|
2214
|
-
$e = w((
|
|
2234
|
+
$e = w((e_, wo) => {
|
|
2215
2235
|
"use strict";
|
|
2216
|
-
var { nanoid:
|
|
2217
|
-
function
|
|
2236
|
+
var { nanoid: mf } = co(), { isAbsolute: Ss, resolve: Ts } = {}, { SourceMapConsumer: df, SourceMapGenerator: yf } = fo(), { fileURLToPath: ho, pathToFileURL: Zt } = {}, mo = Kt(), gf = _s(), bs = ds(), Es = Symbol("lineToIndexCache"), wf = !!(df && yf), yo = !!(Ts && Ss);
|
|
2237
|
+
function go(t) {
|
|
2218
2238
|
if (t[Es]) return t[Es];
|
|
2219
2239
|
let e = t.css.split(`
|
|
2220
2240
|
`), s = new Array(e.length), r = 0;
|
|
@@ -2227,15 +2247,15 @@ var init_postcss = __esmMin((() => {
|
|
|
2227
2247
|
}
|
|
2228
2248
|
constructor(e, s = {}) {
|
|
2229
2249
|
if (e === null || typeof e > "u" || typeof e == "object" && !e.toString) throw new Error(`PostCSS received ${e} instead of CSS string`);
|
|
2230
|
-
if (this.css = e.toString(), this.css[0] === "" || this.css[0] === "" ? (this.hasBOM = !0, this.css = this.css.slice(1)) : this.hasBOM = !1, this.document = this.css, s.document && (this.document = s.document.toString()), s.from && (!
|
|
2231
|
-
let r = new
|
|
2250
|
+
if (this.css = e.toString(), this.css[0] === "" || this.css[0] === "" ? (this.hasBOM = !0, this.css = this.css.slice(1)) : this.hasBOM = !1, this.document = this.css, s.document && (this.document = s.document.toString()), s.from && (!yo || /^\w+:\/\//.test(s.from) || Ss(s.from) ? this.file = s.from : this.file = Ts(s.from)), yo && wf) {
|
|
2251
|
+
let r = new gf(this.css, s);
|
|
2232
2252
|
if (r.text) {
|
|
2233
2253
|
this.map = r;
|
|
2234
2254
|
let n = r.consumer().file;
|
|
2235
2255
|
!this.file && n && (this.file = this.mapResolve(n));
|
|
2236
2256
|
}
|
|
2237
2257
|
}
|
|
2238
|
-
this.file || (this.id = "<input css " +
|
|
2258
|
+
this.file || (this.id = "<input css " + mf(6) + ">"), this.map && (this.map.file = this.from);
|
|
2239
2259
|
}
|
|
2240
2260
|
error(e, s, r, n = {}) {
|
|
2241
2261
|
let i, o, u, a, c;
|
|
@@ -2258,13 +2278,13 @@ var init_postcss = __esmMin((() => {
|
|
|
2258
2278
|
s = h.line, r = h.col;
|
|
2259
2279
|
}
|
|
2260
2280
|
let f = this.origin(s, r, o, i);
|
|
2261
|
-
return f ? c = new
|
|
2281
|
+
return f ? c = new mo(e, f.endLine === void 0 ? f.line : {
|
|
2262
2282
|
column: f.column,
|
|
2263
2283
|
line: f.line
|
|
2264
2284
|
}, f.endLine === void 0 ? f.column : {
|
|
2265
2285
|
column: f.endColumn,
|
|
2266
2286
|
line: f.endLine
|
|
2267
|
-
}, f.source, f.file, n.plugin) : c = new
|
|
2287
|
+
}, f.source, f.file, n.plugin) : c = new mo(e, o === void 0 ? s : {
|
|
2268
2288
|
column: r,
|
|
2269
2289
|
line: s
|
|
2270
2290
|
}, o === void 0 ? r : {
|
|
@@ -2281,10 +2301,10 @@ var init_postcss = __esmMin((() => {
|
|
|
2281
2301
|
}, this.file && (Zt && (c.input.url = Zt(this.file).toString()), c.input.file = this.file), c;
|
|
2282
2302
|
}
|
|
2283
2303
|
fromLineAndColumn(e, s) {
|
|
2284
|
-
return
|
|
2304
|
+
return go(this)[e - 1] + s - 1;
|
|
2285
2305
|
}
|
|
2286
2306
|
fromOffset(e) {
|
|
2287
|
-
let s =
|
|
2307
|
+
let s = go(this), r = s[s.length - 1], n = 0;
|
|
2288
2308
|
if (e >= r) n = s.length - 1;
|
|
2289
2309
|
else {
|
|
2290
2310
|
let i = s.length - 2, o;
|
|
@@ -2306,25 +2326,25 @@ var init_postcss = __esmMin((() => {
|
|
|
2306
2326
|
origin(e, s, r, n) {
|
|
2307
2327
|
if (!this.map) return !1;
|
|
2308
2328
|
let i = this.map.consumer(), o = i.originalPositionFor({
|
|
2309
|
-
column: s,
|
|
2329
|
+
column: s - 1,
|
|
2310
2330
|
line: e
|
|
2311
2331
|
});
|
|
2312
2332
|
if (!o.source) return !1;
|
|
2313
2333
|
let u;
|
|
2314
2334
|
typeof r == "number" && (u = i.originalPositionFor({
|
|
2315
|
-
column: n,
|
|
2335
|
+
column: n - 1,
|
|
2316
2336
|
line: r
|
|
2317
2337
|
}));
|
|
2318
2338
|
let a;
|
|
2319
2339
|
Ss(o.source) ? a = Zt(o.source) : a = new URL(o.source, this.map.consumer().sourceRoot || Zt(this.map.mapFile));
|
|
2320
2340
|
let c = {
|
|
2321
|
-
column: o.column,
|
|
2322
|
-
endColumn: u && u.column,
|
|
2341
|
+
column: o.column + 1,
|
|
2342
|
+
endColumn: u && u.column + 1,
|
|
2323
2343
|
endLine: u && u.line,
|
|
2324
2344
|
line: o.line,
|
|
2325
2345
|
url: a.toString()
|
|
2326
2346
|
};
|
|
2327
|
-
if (a.protocol === "file:") if (
|
|
2347
|
+
if (a.protocol === "file:") if (ho) c.file = ho(a);
|
|
2328
2348
|
else throw new Error("file: protocol is not available in this PostCSS build");
|
|
2329
2349
|
let f = i.sourceContentFor(o.source);
|
|
2330
2350
|
return f && (c.source = f), c;
|
|
@@ -2340,13 +2360,13 @@ var init_postcss = __esmMin((() => {
|
|
|
2340
2360
|
return this.map && (e.map = { ...this.map }, e.map.consumerCache && (e.map.consumerCache = void 0)), e;
|
|
2341
2361
|
}
|
|
2342
2362
|
};
|
|
2343
|
-
|
|
2363
|
+
wo.exports = We;
|
|
2344
2364
|
We.default = We;
|
|
2345
2365
|
bs && bs.registerInput && bs.registerInput(We);
|
|
2346
2366
|
});
|
|
2347
|
-
er = w((
|
|
2367
|
+
er = w((t_, xo) => {
|
|
2348
2368
|
"use strict";
|
|
2349
|
-
var
|
|
2369
|
+
var vo = pe(), Ge = class extends vo {
|
|
2350
2370
|
constructor(e) {
|
|
2351
2371
|
super(e), this.type = "atrule";
|
|
2352
2372
|
}
|
|
@@ -2357,13 +2377,13 @@ var init_postcss = __esmMin((() => {
|
|
|
2357
2377
|
return this.proxyOf.nodes || (this.nodes = []), super.prepend(...e);
|
|
2358
2378
|
}
|
|
2359
2379
|
};
|
|
2360
|
-
|
|
2380
|
+
xo.exports = Ge;
|
|
2361
2381
|
Ge.default = Ge;
|
|
2362
|
-
|
|
2382
|
+
vo.registerAtRule(Ge);
|
|
2363
2383
|
});
|
|
2364
|
-
Ye = w((
|
|
2384
|
+
Ye = w((r_, So) => {
|
|
2365
2385
|
"use strict";
|
|
2366
|
-
var
|
|
2386
|
+
var _o = pe(), bo, Eo, he = class extends _o {
|
|
2367
2387
|
constructor(e) {
|
|
2368
2388
|
super(e), this.type = "root", this.nodes || (this.nodes = []);
|
|
2369
2389
|
}
|
|
@@ -2380,20 +2400,20 @@ var init_postcss = __esmMin((() => {
|
|
|
2380
2400
|
return !s && r === 0 && this.nodes.length > 1 && (this.nodes[1].raws.before = this.nodes[r].raws.before), super.removeChild(e);
|
|
2381
2401
|
}
|
|
2382
2402
|
toResult(e = {}) {
|
|
2383
|
-
return new
|
|
2403
|
+
return new bo(new Eo(), this, e).stringify();
|
|
2384
2404
|
}
|
|
2385
2405
|
};
|
|
2386
2406
|
he.registerLazyResult = (t) => {
|
|
2387
|
-
|
|
2407
|
+
bo = t;
|
|
2388
2408
|
};
|
|
2389
2409
|
he.registerProcessor = (t) => {
|
|
2390
|
-
|
|
2410
|
+
Eo = t;
|
|
2391
2411
|
};
|
|
2392
|
-
|
|
2412
|
+
So.exports = he;
|
|
2393
2413
|
he.default = he;
|
|
2394
|
-
|
|
2414
|
+
_o.registerRoot(he);
|
|
2395
2415
|
});
|
|
2396
|
-
ks = w((
|
|
2416
|
+
ks = w((s_, To) => {
|
|
2397
2417
|
"use strict";
|
|
2398
2418
|
var dt = {
|
|
2399
2419
|
comma(t) {
|
|
@@ -2413,14 +2433,14 @@ var init_postcss = __esmMin((() => {
|
|
|
2413
2433
|
return (s || n !== "") && r.push(n.trim()), r;
|
|
2414
2434
|
}
|
|
2415
2435
|
};
|
|
2416
|
-
|
|
2436
|
+
To.exports = dt;
|
|
2417
2437
|
dt.default = dt;
|
|
2418
2438
|
});
|
|
2419
|
-
tr = w((
|
|
2439
|
+
tr = w((n_, Oo) => {
|
|
2420
2440
|
"use strict";
|
|
2421
|
-
var
|
|
2441
|
+
var ko = pe(), vf = ks(), Ve = class extends ko {
|
|
2422
2442
|
get selectors() {
|
|
2423
|
-
return
|
|
2443
|
+
return vf.comma(this.selector);
|
|
2424
2444
|
}
|
|
2425
2445
|
set selectors(e) {
|
|
2426
2446
|
let s = this.selector ? this.selector.match(/,\s*/) : null, r = s ? s[0] : "," + this.raw("between", "beforeOpen");
|
|
@@ -2430,19 +2450,19 @@ var init_postcss = __esmMin((() => {
|
|
|
2430
2450
|
super(e), this.type = "rule", this.nodes || (this.nodes = []);
|
|
2431
2451
|
}
|
|
2432
2452
|
};
|
|
2433
|
-
|
|
2453
|
+
Oo.exports = Ve;
|
|
2434
2454
|
Ve.default = Ve;
|
|
2435
|
-
|
|
2455
|
+
ko.registerRule(Ve);
|
|
2436
2456
|
});
|
|
2437
|
-
nr = w((
|
|
2457
|
+
nr = w((i_, Co) => {
|
|
2438
2458
|
"use strict";
|
|
2439
|
-
var rr = /[\t\n\f\r "#'()/;[\\\]{}]/g, sr = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,
|
|
2440
|
-
|
|
2459
|
+
var rr = /[\t\n\f\r "#'()/;[\\\]{}]/g, sr = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, xf = /.[\r\n"'(/\\]/, Ao = /[\da-f]/i;
|
|
2460
|
+
Co.exports = function(e, s = {}) {
|
|
2441
2461
|
let r = e.css.valueOf(), n = s.ignoreErrors, i, o, u, a, c, f, h, l, d, x, m = r.length, p = 0, y = [], g = [], v = -1;
|
|
2442
2462
|
function C() {
|
|
2443
2463
|
return p;
|
|
2444
2464
|
}
|
|
2445
|
-
function
|
|
2465
|
+
function q(k) {
|
|
2446
2466
|
throw e.error("Unclosed " + k, p);
|
|
2447
2467
|
}
|
|
2448
2468
|
function W() {
|
|
@@ -2471,10 +2491,10 @@ var init_postcss = __esmMin((() => {
|
|
|
2471
2491
|
case 58:
|
|
2472
2492
|
case 59:
|
|
2473
2493
|
case 41: {
|
|
2474
|
-
let
|
|
2494
|
+
let S = String.fromCharCode(i);
|
|
2475
2495
|
f = [
|
|
2476
|
-
|
|
2477
|
-
|
|
2496
|
+
S,
|
|
2497
|
+
S,
|
|
2478
2498
|
p
|
|
2479
2499
|
];
|
|
2480
2500
|
break;
|
|
@@ -2486,7 +2506,7 @@ var init_postcss = __esmMin((() => {
|
|
|
2486
2506
|
if (h = !1, a = r.indexOf(")", a + 1), a === -1) if (n || b) {
|
|
2487
2507
|
a = p;
|
|
2488
2508
|
break;
|
|
2489
|
-
} else
|
|
2509
|
+
} else q("bracket");
|
|
2490
2510
|
for (l = a; r.charCodeAt(l - 1) === 92;) l -= 1, h = !h;
|
|
2491
2511
|
} while (h);
|
|
2492
2512
|
f = [
|
|
@@ -2499,7 +2519,7 @@ var init_postcss = __esmMin((() => {
|
|
|
2499
2519
|
"(",
|
|
2500
2520
|
"(",
|
|
2501
2521
|
p
|
|
2502
|
-
] : (a = r.indexOf(")", p + 1), o = r.slice(p, a + 1), a === -1 ||
|
|
2522
|
+
] : (a = r.indexOf(")", p + 1), o = r.slice(p, a + 1), a === -1 || xf.test(o) ? (v = a === -1 ? m : a, f = [
|
|
2503
2523
|
"(",
|
|
2504
2524
|
"(",
|
|
2505
2525
|
p
|
|
@@ -2517,7 +2537,7 @@ var init_postcss = __esmMin((() => {
|
|
|
2517
2537
|
if (h = !1, a = r.indexOf(c, a + 1), a === -1) if (n || b) {
|
|
2518
2538
|
a = p + 1;
|
|
2519
2539
|
break;
|
|
2520
|
-
} else
|
|
2540
|
+
} else q("string");
|
|
2521
2541
|
for (l = a; r.charCodeAt(l - 1) === 92;) l -= 1, h = !h;
|
|
2522
2542
|
} while (h);
|
|
2523
2543
|
f = [
|
|
@@ -2537,8 +2557,8 @@ var init_postcss = __esmMin((() => {
|
|
|
2537
2557
|
break;
|
|
2538
2558
|
case 92:
|
|
2539
2559
|
for (a = p, u = !0; r.charCodeAt(a + 1) === 92;) a += 1, u = !u;
|
|
2540
|
-
if (i = r.charCodeAt(a + 1), u && i !== 47 && i !== 32 && i !== 10 && i !== 9 && i !== 13 && i !== 12 && (a += 1,
|
|
2541
|
-
for (;
|
|
2560
|
+
if (i = r.charCodeAt(a + 1), u && i !== 47 && i !== 32 && i !== 10 && i !== 9 && i !== 13 && i !== 12 && (a += 1, Ao.test(r.charAt(a)))) {
|
|
2561
|
+
for (; Ao.test(r.charAt(a + 1));) a += 1;
|
|
2542
2562
|
r.charCodeAt(a + 1) === 32 && (a += 1);
|
|
2543
2563
|
}
|
|
2544
2564
|
f = [
|
|
@@ -2549,7 +2569,7 @@ var init_postcss = __esmMin((() => {
|
|
|
2549
2569
|
], p = a;
|
|
2550
2570
|
break;
|
|
2551
2571
|
default:
|
|
2552
|
-
i === 47 && r.charCodeAt(p + 1) === 42 ? (a = r.indexOf("*/", p + 2) + 1, a === 0 && (n || b ? a = r.length :
|
|
2572
|
+
i === 47 && r.charCodeAt(p + 1) === 42 ? (a = r.indexOf("*/", p + 2) + 1, a === 0 && (n || b ? a = r.length : q("comment")), f = [
|
|
2553
2573
|
"comment",
|
|
2554
2574
|
r.slice(p, a + 1),
|
|
2555
2575
|
p,
|
|
@@ -2575,13 +2595,13 @@ var init_postcss = __esmMin((() => {
|
|
|
2575
2595
|
};
|
|
2576
2596
|
};
|
|
2577
2597
|
});
|
|
2578
|
-
ir = w((
|
|
2598
|
+
ir = w((o_, Ro) => {
|
|
2579
2599
|
"use strict";
|
|
2580
|
-
var
|
|
2600
|
+
var _f = er(), bf = Fe(), Ef = mt(), Sf = Ye(), No = tr(), Tf = nr(), Po = {
|
|
2581
2601
|
empty: !0,
|
|
2582
2602
|
space: !0
|
|
2583
2603
|
};
|
|
2584
|
-
function
|
|
2604
|
+
function kf(t) {
|
|
2585
2605
|
for (let e = t.length - 1; e >= 0; e--) {
|
|
2586
2606
|
let s = t[e], r = s[3] || s[2];
|
|
2587
2607
|
if (r) return r;
|
|
@@ -2594,7 +2614,7 @@ var init_postcss = __esmMin((() => {
|
|
|
2594
2614
|
}
|
|
2595
2615
|
var As = class {
|
|
2596
2616
|
constructor(e) {
|
|
2597
|
-
this.input = e, this.root = new
|
|
2617
|
+
this.input = e, this.root = new Sf(), this.current = this.root, this.spaces = "", this.semicolon = !1, this.createTokenizer(), this.root.source = {
|
|
2598
2618
|
input: e,
|
|
2599
2619
|
start: {
|
|
2600
2620
|
column: 1,
|
|
@@ -2604,7 +2624,7 @@ var init_postcss = __esmMin((() => {
|
|
|
2604
2624
|
};
|
|
2605
2625
|
}
|
|
2606
2626
|
atrule(e) {
|
|
2607
|
-
let s = new
|
|
2627
|
+
let s = new _f();
|
|
2608
2628
|
s.name = e[1].slice(1), s.name === "" && this.unnamedAtrule(s, e), this.init(s, e[2]);
|
|
2609
2629
|
let r, n, i, o = !1, u = !1, a = [], c = [];
|
|
2610
2630
|
for (; !this.tokenizer.endOfFile();) {
|
|
@@ -2650,7 +2670,7 @@ var init_postcss = __esmMin((() => {
|
|
|
2650
2670
|
return !1;
|
|
2651
2671
|
}
|
|
2652
2672
|
comment(e) {
|
|
2653
|
-
let s = new
|
|
2673
|
+
let s = new bf();
|
|
2654
2674
|
this.init(s, e[2]), s.source.end = this.getPosition(e[3] || e[2]), s.source.end.offset++;
|
|
2655
2675
|
let r = e[1].slice(2, -2);
|
|
2656
2676
|
if (!r.trim()) s.text = "", s.raws.left = r, s.raws.right = "";
|
|
@@ -2660,13 +2680,13 @@ var init_postcss = __esmMin((() => {
|
|
|
2660
2680
|
}
|
|
2661
2681
|
}
|
|
2662
2682
|
createTokenizer() {
|
|
2663
|
-
this.tokenizer =
|
|
2683
|
+
this.tokenizer = Tf(this.input);
|
|
2664
2684
|
}
|
|
2665
2685
|
decl(e, s) {
|
|
2666
|
-
let r = new
|
|
2686
|
+
let r = new Ef();
|
|
2667
2687
|
this.init(r, e[0][2]);
|
|
2668
2688
|
let n = e[e.length - 1];
|
|
2669
|
-
n[0] === ";" && (this.semicolon = !0, e.pop()), r.source.end = this.getPosition(n[3] || n[2] ||
|
|
2689
|
+
n[0] === ";" && (this.semicolon = !0, e.pop()), r.source.end = this.getPosition(n[3] || n[2] || kf(e)), r.source.end.offset++;
|
|
2670
2690
|
let i = 0;
|
|
2671
2691
|
for (; e[i][0] !== "word";) i === e.length - 1 && this.unknownWord([e[i]]), i++;
|
|
2672
2692
|
r.raws.before += Os(e, 0, i), r.source.start = this.getPosition(e[i][2]);
|
|
@@ -2711,7 +2731,7 @@ var init_postcss = __esmMin((() => {
|
|
|
2711
2731
|
throw this.input.error("Double colon", { offset: e[2] }, { offset: e[2] + e[1].length });
|
|
2712
2732
|
}
|
|
2713
2733
|
emptyRule(e) {
|
|
2714
|
-
let s = new
|
|
2734
|
+
let s = new No();
|
|
2715
2735
|
this.init(s, e[2]), s.selector = "", s.raws.between = "", this.current = s;
|
|
2716
2736
|
}
|
|
2717
2737
|
end(e) {
|
|
@@ -2794,7 +2814,7 @@ var init_postcss = __esmMin((() => {
|
|
|
2794
2814
|
precheckMissedSemicolon() {}
|
|
2795
2815
|
raw(e, s, r, n) {
|
|
2796
2816
|
let i, o, u = r.length, a = "", c = !0, f, h;
|
|
2797
|
-
for (let l = 0; l < u; l += 1) i = r[l], o = i[0], o === "space" && l === u - 1 && !n ? c = !1 : o === "comment" ? (h = r[l - 1] ? r[l - 1][0] : "empty", f = r[l + 1] ? r[l + 1][0] : "empty", !
|
|
2817
|
+
for (let l = 0; l < u; l += 1) i = r[l], o = i[0], o === "space" && l === u - 1 && !n ? c = !1 : o === "comment" ? (h = r[l - 1] ? r[l - 1][0] : "empty", f = r[l + 1] ? r[l + 1][0] : "empty", !Po[h] && !Po[f] ? a.slice(-1) === "," ? c = !1 : a += i[1] : c = !1) : a += i[1];
|
|
2798
2818
|
if (!c) {
|
|
2799
2819
|
let l = r.reduce((d, x) => d + x[1], "");
|
|
2800
2820
|
e.raws[s] = {
|
|
@@ -2806,7 +2826,7 @@ var init_postcss = __esmMin((() => {
|
|
|
2806
2826
|
}
|
|
2807
2827
|
rule(e) {
|
|
2808
2828
|
e.pop();
|
|
2809
|
-
let s = new
|
|
2829
|
+
let s = new No();
|
|
2810
2830
|
this.init(s, e[0][2]), s.raws.between = this.spacesAndCommentsFromEnd(e), this.raw(s, "selector", e), this.current = s;
|
|
2811
2831
|
}
|
|
2812
2832
|
spacesAndCommentsFromEnd(e) {
|
|
@@ -2846,13 +2866,13 @@ var init_postcss = __esmMin((() => {
|
|
|
2846
2866
|
throw this.input.error("At-rule without name", { offset: s[2] }, { offset: s[2] + s[1].length });
|
|
2847
2867
|
}
|
|
2848
2868
|
};
|
|
2849
|
-
|
|
2869
|
+
Ro.exports = As;
|
|
2850
2870
|
});
|
|
2851
|
-
yt = w((
|
|
2871
|
+
yt = w((a_, Io) => {
|
|
2852
2872
|
"use strict";
|
|
2853
|
-
var
|
|
2873
|
+
var Of = pe(), Af = $e(), Cf = ir();
|
|
2854
2874
|
function or(t, e) {
|
|
2855
|
-
let r = new
|
|
2875
|
+
let r = new Cf(new Af(t, e));
|
|
2856
2876
|
try {
|
|
2857
2877
|
r.parse();
|
|
2858
2878
|
} catch (n) {
|
|
@@ -2860,12 +2880,12 @@ var init_postcss = __esmMin((() => {
|
|
|
2860
2880
|
}
|
|
2861
2881
|
return r.root;
|
|
2862
2882
|
}
|
|
2863
|
-
|
|
2883
|
+
Io.exports = or;
|
|
2864
2884
|
or.default = or;
|
|
2865
|
-
|
|
2885
|
+
Of.registerParse(or);
|
|
2866
2886
|
});
|
|
2867
|
-
|
|
2868
|
-
var
|
|
2887
|
+
Lo = w((u_, Cs) => {
|
|
2888
|
+
var Nf = nr(), Pf = $e();
|
|
2869
2889
|
Cs.exports = { isInlineComment(t) {
|
|
2870
2890
|
if (t[0] === "word" && t[1].slice(0, 2) === "//") {
|
|
2871
2891
|
let e = t, s = [], r, n;
|
|
@@ -2888,7 +2908,7 @@ var init_postcss = __esmMin((() => {
|
|
|
2888
2908
|
e[2],
|
|
2889
2909
|
r
|
|
2890
2910
|
];
|
|
2891
|
-
return this.inlineComment(i), n && (this.input = new
|
|
2911
|
+
return this.inlineComment(i), n && (this.input = new Pf(n), this.tokenizer = Nf(this.input)), !0;
|
|
2892
2912
|
} else if (t[1] === "/") {
|
|
2893
2913
|
let e = this.tokenizer.nextToken({ ignoreUnclosed: !0 });
|
|
2894
2914
|
if (e[0] === "comment" && /^\/\*/.test(e[1])) return e[0] = "word", e[1] = e[1].slice(1), t[1] = "//", this.tokenizer.back(e), Cs.exports.isInlineComment.bind(this)(t);
|
|
@@ -2896,8 +2916,8 @@ var init_postcss = __esmMin((() => {
|
|
|
2896
2916
|
return !1;
|
|
2897
2917
|
} };
|
|
2898
2918
|
});
|
|
2899
|
-
|
|
2900
|
-
|
|
2919
|
+
Do = w((l_, qo) => {
|
|
2920
|
+
qo.exports = { interpolation(t) {
|
|
2901
2921
|
let e = [t, this.tokenizer.nextToken()], s = ["word", "}"];
|
|
2902
2922
|
if (e[0][1].length > 1 || e[1][0] !== "{") return this.tokenizer.back(e[1]), !1;
|
|
2903
2923
|
for (t = this.tokenizer.nextToken(); t && s.includes(t[0]);) e.push(t), t = this.tokenizer.nextToken();
|
|
@@ -2910,21 +2930,21 @@ var init_postcss = __esmMin((() => {
|
|
|
2910
2930
|
return this.tokenizer.back(t), this.tokenizer.back(o), !0;
|
|
2911
2931
|
} };
|
|
2912
2932
|
});
|
|
2913
|
-
|
|
2914
|
-
var
|
|
2933
|
+
Bo = w((c_, Mo) => {
|
|
2934
|
+
var Rf = /^#[0-9a-fA-F]{6}$|^#[0-9a-fA-F]{3}$/, If = /\.[0-9]/, Lf = (t) => {
|
|
2915
2935
|
let [, e] = t, [s] = e;
|
|
2916
|
-
return (s === "." || s === "#") &&
|
|
2936
|
+
return (s === "." || s === "#") && Rf.test(e) === !1 && If.test(e) === !1;
|
|
2917
2937
|
};
|
|
2918
|
-
|
|
2938
|
+
Mo.exports = { isMixinToken: Lf };
|
|
2919
2939
|
});
|
|
2920
|
-
|
|
2921
|
-
var
|
|
2922
|
-
|
|
2940
|
+
Fo = w((f_, Uo) => {
|
|
2941
|
+
var qf = nr(), Df = /^url\((.+)\)/;
|
|
2942
|
+
Uo.exports = (t) => {
|
|
2923
2943
|
let { name: e, params: s = "" } = t;
|
|
2924
2944
|
if (e === "import" && s.length) {
|
|
2925
2945
|
t.import = !0;
|
|
2926
|
-
let r =
|
|
2927
|
-
for (t.filename = s.replace(
|
|
2946
|
+
let r = qf({ css: s });
|
|
2947
|
+
for (t.filename = s.replace(Df, "$1"); !r.endOfFile();) {
|
|
2928
2948
|
let [n, i] = r.nextToken();
|
|
2929
2949
|
if (n === "word" && i === "url") return;
|
|
2930
2950
|
if (n === "brackets") {
|
|
@@ -2935,30 +2955,30 @@ var init_postcss = __esmMin((() => {
|
|
|
2935
2955
|
}
|
|
2936
2956
|
};
|
|
2937
2957
|
});
|
|
2938
|
-
|
|
2939
|
-
var
|
|
2940
|
-
|
|
2958
|
+
Yo = w((p_, Go) => {
|
|
2959
|
+
var Wo = /:$/, $o = /^:(\s+)?/;
|
|
2960
|
+
Go.exports = (t) => {
|
|
2941
2961
|
let { name: e, params: s = "" } = t;
|
|
2942
2962
|
if (t.name.slice(-1) === ":") {
|
|
2943
|
-
if (
|
|
2944
|
-
let [r] = e.match(
|
|
2963
|
+
if (Wo.test(e)) {
|
|
2964
|
+
let [r] = e.match(Wo);
|
|
2945
2965
|
t.name = e.replace(r, ""), t.raws.afterName = r + (t.raws.afterName || ""), t.variable = !0, t.value = t.params;
|
|
2946
2966
|
}
|
|
2947
|
-
if (
|
|
2948
|
-
let [r] = s.match(
|
|
2967
|
+
if ($o.test(s)) {
|
|
2968
|
+
let [r] = s.match($o);
|
|
2949
2969
|
t.value = s.replace(r, ""), t.raws.afterName = (t.raws.afterName || "") + r, t.variable = !0;
|
|
2950
2970
|
}
|
|
2951
2971
|
}
|
|
2952
2972
|
};
|
|
2953
2973
|
});
|
|
2954
|
-
|
|
2955
|
-
var
|
|
2956
|
-
|
|
2974
|
+
jo = w((m_, zo) => {
|
|
2975
|
+
var Mf = Fe(), Bf = ir(), { isInlineComment: Uf } = Lo(), { interpolation: Vo } = Do(), { isMixinToken: Ff } = Bo(), Wf = Fo(), $f = Yo(), Gf = /(!\s*important)$/i;
|
|
2976
|
+
zo.exports = class extends Bf {
|
|
2957
2977
|
constructor(...e) {
|
|
2958
2978
|
super(...e), this.lastNode = null;
|
|
2959
2979
|
}
|
|
2960
2980
|
atrule(e) {
|
|
2961
|
-
|
|
2981
|
+
Vo.bind(this)(e) || (super.atrule(e), Wf(this.lastNode), $f(this.lastNode));
|
|
2962
2982
|
}
|
|
2963
2983
|
decl(...e) {
|
|
2964
2984
|
super.decl(...e), /extend\(.+\)/i.test(this.lastNode.value) && (this.lastNode.extend = !0);
|
|
@@ -2973,7 +2993,7 @@ var init_postcss = __esmMin((() => {
|
|
|
2973
2993
|
super.init(e, s, r), this.lastNode = e;
|
|
2974
2994
|
}
|
|
2975
2995
|
inlineComment(e) {
|
|
2976
|
-
let s = new
|
|
2996
|
+
let s = new Mf(), r = e[1].slice(2);
|
|
2977
2997
|
if (this.init(s, e[2]), s.source.end = this.getPosition(e[3] || e[2]), s.inline = !0, s.raws.begin = "//", /^\s*$/.test(r)) s.text = "", s.raws.left = r, s.raws.right = "";
|
|
2978
2998
|
else {
|
|
2979
2999
|
let n = r.match(/^(\s*)([^]*[^\s])(\s*)$/);
|
|
@@ -2983,7 +3003,7 @@ var init_postcss = __esmMin((() => {
|
|
|
2983
3003
|
mixin(e) {
|
|
2984
3004
|
let [s] = e, r = s[1].slice(0, 1), n = e.findIndex((c) => c[0] === "brackets"), i = e.findIndex((c) => c[0] === "("), o = "";
|
|
2985
3005
|
if ((n < 0 || n > 3) && i > 0) {
|
|
2986
|
-
let c = e.reduce((v, C,
|
|
3006
|
+
let c = e.reduce((v, C, q) => C[0] === ")" ? q : v), h = e.slice(i, c + i).map((v) => v[1]).join(""), [l] = e.slice(i), d = [l[2], l[3]], [x] = e.slice(c, c + 1), m = [x[2], x[3]], p = ["brackets", h].concat(d, m), y = e.slice(0, i), g = e.slice(c + 1);
|
|
2987
3007
|
e = y, e.push(p), e = e.concat(g);
|
|
2988
3008
|
}
|
|
2989
3009
|
let u = [];
|
|
@@ -2992,17 +3012,17 @@ var init_postcss = __esmMin((() => {
|
|
|
2992
3012
|
let [c] = u, f = e.indexOf(c), h = u[u.length - 1], l = [c[2], c[3]], d = [h[4], h[5]], m = ["word", u.map((p) => p[1]).join("")].concat(l, d);
|
|
2993
3013
|
e.splice(f, u.length, m);
|
|
2994
3014
|
}
|
|
2995
|
-
let a = e.findIndex((c) =>
|
|
3015
|
+
let a = e.findIndex((c) => Gf.test(c[1]));
|
|
2996
3016
|
a > 0 && ([, o] = e[a], e.splice(a, 1));
|
|
2997
3017
|
for (let c of e.reverse()) this.tokenizer.back(c);
|
|
2998
3018
|
this.atrule(this.tokenizer.nextToken()), this.lastNode.mixin = !0, this.lastNode.raws.identifier = r, o && (this.lastNode.important = !0, this.lastNode.raws.important = o);
|
|
2999
3019
|
}
|
|
3000
3020
|
other(e) {
|
|
3001
|
-
|
|
3021
|
+
Uf.bind(this)(e) || super.other(e);
|
|
3002
3022
|
}
|
|
3003
3023
|
rule(e) {
|
|
3004
3024
|
let s = e[e.length - 1], r = e[e.length - 2];
|
|
3005
|
-
if (r[0] === "at-word" && s[0] === "{" && (this.tokenizer.back(s),
|
|
3025
|
+
if (r[0] === "at-word" && s[0] === "{" && (this.tokenizer.back(s), Vo.bind(this)(r))) {
|
|
3006
3026
|
let i = this.tokenizer.nextToken();
|
|
3007
3027
|
e = e.slice(0, e.length - 2).concat([i]);
|
|
3008
3028
|
for (let o of e.reverse()) this.tokenizer.back(o);
|
|
@@ -3016,7 +3036,7 @@ var init_postcss = __esmMin((() => {
|
|
|
3016
3036
|
this.each(e);
|
|
3017
3037
|
return;
|
|
3018
3038
|
}
|
|
3019
|
-
if (
|
|
3039
|
+
if (Ff(s)) {
|
|
3020
3040
|
this.mixin(e);
|
|
3021
3041
|
return;
|
|
3022
3042
|
}
|
|
@@ -3024,9 +3044,9 @@ var init_postcss = __esmMin((() => {
|
|
|
3024
3044
|
}
|
|
3025
3045
|
};
|
|
3026
3046
|
});
|
|
3027
|
-
|
|
3028
|
-
var
|
|
3029
|
-
|
|
3047
|
+
Qo = w((y_, Ho) => {
|
|
3048
|
+
var Yf = Xt();
|
|
3049
|
+
Ho.exports = class extends Yf {
|
|
3030
3050
|
atrule(e, s) {
|
|
3031
3051
|
if (!e.mixin && !e.variable && !e.function) {
|
|
3032
3052
|
super.atrule(e, s);
|
|
@@ -3047,11 +3067,11 @@ var init_postcss = __esmMin((() => {
|
|
|
3047
3067
|
}
|
|
3048
3068
|
};
|
|
3049
3069
|
});
|
|
3050
|
-
|
|
3051
|
-
var
|
|
3070
|
+
Ko = w((g_, Ns) => {
|
|
3071
|
+
var Vf = $e(), zf = jo(), jf = Qo();
|
|
3052
3072
|
Ns.exports = {
|
|
3053
3073
|
parse(t, e) {
|
|
3054
|
-
let s = new
|
|
3074
|
+
let s = new Vf(t, e), r = new zf(s);
|
|
3055
3075
|
return r.parse(), r.root.walk((n) => {
|
|
3056
3076
|
let i = s.css.lastIndexOf(n.source.input.css);
|
|
3057
3077
|
if (i === 0) return;
|
|
@@ -3072,7 +3092,7 @@ var init_postcss = __esmMin((() => {
|
|
|
3072
3092
|
}), r.root;
|
|
3073
3093
|
},
|
|
3074
3094
|
stringify(t, e) {
|
|
3075
|
-
new
|
|
3095
|
+
new jf(e).stringify(t);
|
|
3076
3096
|
},
|
|
3077
3097
|
nodeToString(t) {
|
|
3078
3098
|
let e = "";
|
|
@@ -3082,9 +3102,9 @@ var init_postcss = __esmMin((() => {
|
|
|
3082
3102
|
}
|
|
3083
3103
|
};
|
|
3084
3104
|
});
|
|
3085
|
-
ar = w((
|
|
3105
|
+
ar = w((w_, Zo) => {
|
|
3086
3106
|
"use strict";
|
|
3087
|
-
var
|
|
3107
|
+
var Hf = pe(), Xo, Jo, ke = class extends Hf {
|
|
3088
3108
|
constructor(e) {
|
|
3089
3109
|
super({
|
|
3090
3110
|
type: "document",
|
|
@@ -3092,57 +3112,64 @@ var init_postcss = __esmMin((() => {
|
|
|
3092
3112
|
}), this.nodes || (this.nodes = []);
|
|
3093
3113
|
}
|
|
3094
3114
|
toResult(e = {}) {
|
|
3095
|
-
return new
|
|
3115
|
+
return new Xo(new Jo(), this, e).stringify();
|
|
3096
3116
|
}
|
|
3097
3117
|
};
|
|
3098
|
-
|
|
3099
|
-
Ko = t;
|
|
3100
|
-
};
|
|
3101
|
-
Te.registerProcessor = (t) => {
|
|
3118
|
+
ke.registerLazyResult = (t) => {
|
|
3102
3119
|
Xo = t;
|
|
3103
3120
|
};
|
|
3104
|
-
|
|
3105
|
-
|
|
3121
|
+
ke.registerProcessor = (t) => {
|
|
3122
|
+
Jo = t;
|
|
3123
|
+
};
|
|
3124
|
+
Zo.exports = ke;
|
|
3125
|
+
ke.default = ke;
|
|
3106
3126
|
});
|
|
3107
|
-
|
|
3127
|
+
ta = w((v_, ea) => {
|
|
3108
3128
|
"use strict";
|
|
3109
|
-
var
|
|
3129
|
+
var Qf = er(), Kf = Fe(), Xf = mt(), Jf = $e(), Zf = _s(), ep = Ye(), tp = tr();
|
|
3110
3130
|
function gt(t, e) {
|
|
3111
|
-
if (Array.isArray(t)) return t.map((
|
|
3131
|
+
if (Array.isArray(t)) return t.map((o) => gt(o));
|
|
3112
3132
|
let { inputs: s, ...r } = t;
|
|
3113
3133
|
if (s) {
|
|
3114
3134
|
e = [];
|
|
3115
|
-
for (let
|
|
3116
|
-
let
|
|
3117
|
-
...
|
|
3118
|
-
__proto__: Xf.prototype
|
|
3119
|
-
};
|
|
3120
|
-
i.map && (i.map = {
|
|
3121
|
-
...i.map,
|
|
3135
|
+
for (let o of s) {
|
|
3136
|
+
let u = {
|
|
3137
|
+
...o,
|
|
3122
3138
|
__proto__: Jf.prototype
|
|
3123
|
-
}
|
|
3139
|
+
};
|
|
3140
|
+
u.map && (u.map = {
|
|
3141
|
+
...u.map,
|
|
3142
|
+
__proto__: Zf.prototype
|
|
3143
|
+
}), e.push(u);
|
|
3124
3144
|
}
|
|
3125
3145
|
}
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3146
|
+
let n;
|
|
3147
|
+
if (r.nodes && (n = t.nodes.map((o) => gt(o, e)), delete r.nodes), r.source) {
|
|
3148
|
+
let { inputId: o, ...u } = r.source;
|
|
3149
|
+
r.source = u, o != null && (r.source.input = e[o]);
|
|
3129
3150
|
}
|
|
3130
|
-
|
|
3131
|
-
if (r.type === "
|
|
3132
|
-
if (r.type === "
|
|
3133
|
-
if (r.type === "
|
|
3134
|
-
if (r.type === "
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3151
|
+
let i;
|
|
3152
|
+
if (r.type === "root") i = new ep(r);
|
|
3153
|
+
else if (r.type === "decl") i = new Xf(r);
|
|
3154
|
+
else if (r.type === "rule") i = new tp(r);
|
|
3155
|
+
else if (r.type === "comment") i = new Kf(r);
|
|
3156
|
+
else if (r.type === "atrule") i = new Qf(r);
|
|
3157
|
+
else throw new Error("Unknown node type: " + t.type);
|
|
3158
|
+
if (n) {
|
|
3159
|
+
i.nodes = n;
|
|
3160
|
+
for (let o of n) o.parent = i;
|
|
3161
|
+
}
|
|
3162
|
+
return i;
|
|
3163
|
+
}
|
|
3164
|
+
ea.exports = gt;
|
|
3138
3165
|
gt.default = gt;
|
|
3139
3166
|
});
|
|
3140
|
-
Ps = w((
|
|
3141
|
-
|
|
3167
|
+
Ps = w((x_, ra) => {
|
|
3168
|
+
ra.exports = class {
|
|
3142
3169
|
generate() {}
|
|
3143
3170
|
};
|
|
3144
3171
|
});
|
|
3145
|
-
Rs = w((
|
|
3172
|
+
Rs = w((b_, sa) => {
|
|
3146
3173
|
"use strict";
|
|
3147
3174
|
var wt = class {
|
|
3148
3175
|
constructor(e, s = {}) {
|
|
@@ -3160,12 +3187,12 @@ var init_postcss = __esmMin((() => {
|
|
|
3160
3187
|
}).message : this.plugin ? this.plugin + ": " + this.text : this.text;
|
|
3161
3188
|
}
|
|
3162
3189
|
};
|
|
3163
|
-
|
|
3190
|
+
sa.exports = wt;
|
|
3164
3191
|
wt.default = wt;
|
|
3165
3192
|
});
|
|
3166
|
-
ur = w((
|
|
3193
|
+
ur = w((E_, na) => {
|
|
3167
3194
|
"use strict";
|
|
3168
|
-
var
|
|
3195
|
+
var rp = Rs(), vt = class {
|
|
3169
3196
|
get content() {
|
|
3170
3197
|
return this.css;
|
|
3171
3198
|
}
|
|
@@ -3177,35 +3204,35 @@ var init_postcss = __esmMin((() => {
|
|
|
3177
3204
|
}
|
|
3178
3205
|
warn(e, s = {}) {
|
|
3179
3206
|
s.plugin || this.lastPlugin && this.lastPlugin.postcssPlugin && (s.plugin = this.lastPlugin.postcssPlugin);
|
|
3180
|
-
let r = new
|
|
3207
|
+
let r = new rp(e, s);
|
|
3181
3208
|
return this.messages.push(r), r;
|
|
3182
3209
|
}
|
|
3183
3210
|
warnings() {
|
|
3184
3211
|
return this.messages.filter((e) => e.type === "warning");
|
|
3185
3212
|
}
|
|
3186
3213
|
};
|
|
3187
|
-
|
|
3214
|
+
na.exports = vt;
|
|
3188
3215
|
vt.default = vt;
|
|
3189
3216
|
});
|
|
3190
|
-
Is = w((
|
|
3217
|
+
Is = w((S_, oa) => {
|
|
3191
3218
|
"use strict";
|
|
3192
|
-
var
|
|
3193
|
-
|
|
3194
|
-
|
|
3219
|
+
var ia = {};
|
|
3220
|
+
oa.exports = function(e) {
|
|
3221
|
+
ia[e] || (ia[e] = !0, typeof console < "u" && console.warn && console.warn(e));
|
|
3195
3222
|
};
|
|
3196
3223
|
});
|
|
3197
|
-
Ds = w((
|
|
3224
|
+
Ds = w((k_, ca) => {
|
|
3198
3225
|
"use strict";
|
|
3199
|
-
var
|
|
3226
|
+
var sp = pe(), np = ar(), ip = Ps(), op = yt(), aa = ur(), ap = Ye(), up = ut(), { isClean: Z, my: lp } = Jt();
|
|
3200
3227
|
Is();
|
|
3201
|
-
var
|
|
3228
|
+
var cp = {
|
|
3202
3229
|
atrule: "AtRule",
|
|
3203
3230
|
comment: "Comment",
|
|
3204
3231
|
decl: "Declaration",
|
|
3205
3232
|
document: "Document",
|
|
3206
3233
|
root: "Root",
|
|
3207
3234
|
rule: "Rule"
|
|
3208
|
-
},
|
|
3235
|
+
}, fp = {
|
|
3209
3236
|
AtRule: !0,
|
|
3210
3237
|
AtRuleExit: !0,
|
|
3211
3238
|
Comment: !0,
|
|
@@ -3222,7 +3249,7 @@ var init_postcss = __esmMin((() => {
|
|
|
3222
3249
|
RootExit: !0,
|
|
3223
3250
|
Rule: !0,
|
|
3224
3251
|
RuleExit: !0
|
|
3225
|
-
},
|
|
3252
|
+
}, pp = {
|
|
3226
3253
|
Once: !0,
|
|
3227
3254
|
postcssPlugin: !0,
|
|
3228
3255
|
prepare: !0
|
|
@@ -3230,8 +3257,8 @@ var init_postcss = __esmMin((() => {
|
|
|
3230
3257
|
function xt(t) {
|
|
3231
3258
|
return typeof t == "object" && typeof t.then == "function";
|
|
3232
3259
|
}
|
|
3233
|
-
function
|
|
3234
|
-
let e = !1, s =
|
|
3260
|
+
function la(t) {
|
|
3261
|
+
let e = !1, s = cp[t.type];
|
|
3235
3262
|
return t.type === "decl" ? e = t.prop.toLowerCase() : t.type === "atrule" && (e = t.name.toLowerCase()), e && t.append ? [
|
|
3236
3263
|
s,
|
|
3237
3264
|
s + "-" + e,
|
|
@@ -3249,7 +3276,7 @@ var init_postcss = __esmMin((() => {
|
|
|
3249
3276
|
s + "Exit"
|
|
3250
3277
|
] : [s, s + "Exit"];
|
|
3251
3278
|
}
|
|
3252
|
-
function
|
|
3279
|
+
function ua(t) {
|
|
3253
3280
|
let e;
|
|
3254
3281
|
return t.type === "document" ? e = [
|
|
3255
3282
|
"Document",
|
|
@@ -3259,7 +3286,7 @@ var init_postcss = __esmMin((() => {
|
|
|
3259
3286
|
"Root",
|
|
3260
3287
|
ze,
|
|
3261
3288
|
"RootExit"
|
|
3262
|
-
] : e =
|
|
3289
|
+
] : e = la(t), {
|
|
3263
3290
|
eventIndex: 0,
|
|
3264
3291
|
events: e,
|
|
3265
3292
|
iterator: 0,
|
|
@@ -3269,7 +3296,7 @@ var init_postcss = __esmMin((() => {
|
|
|
3269
3296
|
};
|
|
3270
3297
|
}
|
|
3271
3298
|
function Ls(t) {
|
|
3272
|
-
return t[
|
|
3299
|
+
return t[Z] = !1, t.nodes && t.nodes.forEach((e) => Ls(e)), t;
|
|
3273
3300
|
}
|
|
3274
3301
|
var qs = {}, me = class t {
|
|
3275
3302
|
get content() {
|
|
@@ -3300,18 +3327,18 @@ var init_postcss = __esmMin((() => {
|
|
|
3300
3327
|
this.stringified = !1, this.processed = !1;
|
|
3301
3328
|
let n;
|
|
3302
3329
|
if (typeof s == "object" && s !== null && (s.type === "root" || s.type === "document")) n = Ls(s);
|
|
3303
|
-
else if (s instanceof t || s instanceof
|
|
3330
|
+
else if (s instanceof t || s instanceof aa) n = Ls(s.root), s.map && (typeof r.map > "u" && (r.map = {}), r.map.inline || (r.map.inline = !1), r.map.prev = s.map);
|
|
3304
3331
|
else {
|
|
3305
|
-
let i =
|
|
3332
|
+
let i = op;
|
|
3306
3333
|
r.syntax && (i = r.syntax.parse), r.parser && (i = r.parser), i.parse && (i = i.parse);
|
|
3307
3334
|
try {
|
|
3308
3335
|
n = i(s, r);
|
|
3309
3336
|
} catch (o) {
|
|
3310
3337
|
this.processed = !0, this.error = o;
|
|
3311
3338
|
}
|
|
3312
|
-
n && !n[
|
|
3339
|
+
n && !n[lp] && sp.rebuild(n);
|
|
3313
3340
|
}
|
|
3314
|
-
this.result = new
|
|
3341
|
+
this.result = new aa(e, n, r), this.helpers = {
|
|
3315
3342
|
...qs,
|
|
3316
3343
|
postcss: qs,
|
|
3317
3344
|
result: this.result
|
|
@@ -3347,8 +3374,8 @@ var init_postcss = __esmMin((() => {
|
|
|
3347
3374
|
this.listeners[r] || (this.listeners[r] = []), this.listeners[r].push([s, n]);
|
|
3348
3375
|
};
|
|
3349
3376
|
for (let s of this.plugins) if (typeof s == "object") for (let r in s) {
|
|
3350
|
-
if (!
|
|
3351
|
-
if (!
|
|
3377
|
+
if (!fp[r] && /^[A-Z]/.test(r)) throw new Error(`Unknown event ${r} in ${s.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);
|
|
3378
|
+
if (!pp[r]) if (typeof s[r] == "object") for (let n in s[r]) n === "*" ? e(s, r, s[r][n]) : e(s, r + "-" + n.toLowerCase(), s[r][n]);
|
|
3352
3379
|
else typeof s[r] == "function" && e(s, r, s[r]);
|
|
3353
3380
|
}
|
|
3354
3381
|
this.hasListener = Object.keys(this.listeners).length > 0;
|
|
@@ -3365,9 +3392,9 @@ var init_postcss = __esmMin((() => {
|
|
|
3365
3392
|
}
|
|
3366
3393
|
if (this.prepareVisitors(), this.hasListener) {
|
|
3367
3394
|
let e = this.result.root;
|
|
3368
|
-
for (; !e[
|
|
3369
|
-
e[
|
|
3370
|
-
let s = [
|
|
3395
|
+
for (; !e[Z];) {
|
|
3396
|
+
e[Z] = !0;
|
|
3397
|
+
let s = [ua(e)];
|
|
3371
3398
|
for (; s.length > 0;) {
|
|
3372
3399
|
let r = this.visitTick(s);
|
|
3373
3400
|
if (xt(r)) try {
|
|
@@ -3410,7 +3437,7 @@ var init_postcss = __esmMin((() => {
|
|
|
3410
3437
|
if (this.error) throw this.error;
|
|
3411
3438
|
if (this.stringified) return this.result;
|
|
3412
3439
|
this.stringified = !0, this.sync();
|
|
3413
|
-
let e = this.result.opts, s =
|
|
3440
|
+
let e = this.result.opts, s = up;
|
|
3414
3441
|
e.syntax && (s = e.syntax.stringify), e.stringifier && (s = e.stringifier), s.stringify && (s = s.stringify);
|
|
3415
3442
|
let r = this.result.root.source;
|
|
3416
3443
|
if (e.map === void 0 && !(r && r.input && r.input.map)) {
|
|
@@ -3419,7 +3446,7 @@ var init_postcss = __esmMin((() => {
|
|
|
3419
3446
|
o += u;
|
|
3420
3447
|
}), this.result.css = o, this.result;
|
|
3421
3448
|
}
|
|
3422
|
-
let i = new
|
|
3449
|
+
let i = new ip(s, this.result.root, this.result.opts).generate();
|
|
3423
3450
|
return this.result.css = i[0], this.result.map = i[1], this.result;
|
|
3424
3451
|
}
|
|
3425
3452
|
sync() {
|
|
@@ -3429,7 +3456,7 @@ var init_postcss = __esmMin((() => {
|
|
|
3429
3456
|
for (let e of this.plugins) if (xt(this.runOnRoot(e))) throw this.getAsyncError();
|
|
3430
3457
|
if (this.prepareVisitors(), this.hasListener) {
|
|
3431
3458
|
let e = this.result.root;
|
|
3432
|
-
for (; !e[
|
|
3459
|
+
for (; !e[Z];) e[Z] = !0, this.walkSync(e);
|
|
3433
3460
|
if (this.listeners.OnceExit) if (e.type === "document") for (let s of e.nodes) this.visitSync(this.listeners.OnceExit, s);
|
|
3434
3461
|
else this.visitSync(this.listeners.OnceExit, e);
|
|
3435
3462
|
}
|
|
@@ -3471,8 +3498,8 @@ var init_postcss = __esmMin((() => {
|
|
|
3471
3498
|
}
|
|
3472
3499
|
if (s.iterator !== 0) {
|
|
3473
3500
|
let o = s.iterator, u;
|
|
3474
|
-
for (; u = r.nodes[r.indexes[o]];) if (r.indexes[o] += 1, !u[
|
|
3475
|
-
u[
|
|
3501
|
+
for (; u = r.nodes[r.indexes[o]];) if (r.indexes[o] += 1, !u[Z]) {
|
|
3502
|
+
u[Z] = !0, e.push(ua(u));
|
|
3476
3503
|
return;
|
|
3477
3504
|
}
|
|
3478
3505
|
s.iterator = 0, delete r.indexes[o];
|
|
@@ -3481,7 +3508,7 @@ var init_postcss = __esmMin((() => {
|
|
|
3481
3508
|
for (; s.eventIndex < i.length;) {
|
|
3482
3509
|
let o = i[s.eventIndex];
|
|
3483
3510
|
if (s.eventIndex += 1, o === ze) {
|
|
3484
|
-
r.nodes && r.nodes.length && (r[
|
|
3511
|
+
r.nodes && r.nodes.length && (r[Z] = !0, s.iterator = r.getIterator());
|
|
3485
3512
|
return;
|
|
3486
3513
|
} else if (this.listeners[o]) {
|
|
3487
3514
|
s.visitors = this.listeners[o];
|
|
@@ -3491,10 +3518,10 @@ var init_postcss = __esmMin((() => {
|
|
|
3491
3518
|
e.pop();
|
|
3492
3519
|
}
|
|
3493
3520
|
walkSync(e) {
|
|
3494
|
-
e[
|
|
3495
|
-
let s =
|
|
3521
|
+
e[Z] = !0;
|
|
3522
|
+
let s = la(e);
|
|
3496
3523
|
for (let r of s) if (r === ze) e.nodes && e.each((n) => {
|
|
3497
|
-
n[
|
|
3524
|
+
n[Z] || this.walkSync(n);
|
|
3498
3525
|
});
|
|
3499
3526
|
else {
|
|
3500
3527
|
let n = this.listeners[r];
|
|
@@ -3508,14 +3535,14 @@ var init_postcss = __esmMin((() => {
|
|
|
3508
3535
|
me.registerPostcss = (t) => {
|
|
3509
3536
|
qs = t;
|
|
3510
3537
|
};
|
|
3511
|
-
|
|
3538
|
+
ca.exports = me;
|
|
3512
3539
|
me.default = me;
|
|
3513
|
-
|
|
3514
|
-
|
|
3540
|
+
ap.registerLazyResult(me);
|
|
3541
|
+
np.registerLazyResult(me);
|
|
3515
3542
|
});
|
|
3516
|
-
|
|
3543
|
+
pa = w((A_, fa) => {
|
|
3517
3544
|
"use strict";
|
|
3518
|
-
var
|
|
3545
|
+
var hp = Ps(), mp = yt(), dp = ur(), yp = ut();
|
|
3519
3546
|
Is();
|
|
3520
3547
|
var _t = class {
|
|
3521
3548
|
get content() {
|
|
@@ -3538,7 +3565,7 @@ var init_postcss = __esmMin((() => {
|
|
|
3538
3565
|
}
|
|
3539
3566
|
get root() {
|
|
3540
3567
|
if (this._root) return this._root;
|
|
3541
|
-
let e, s =
|
|
3568
|
+
let e, s = mp;
|
|
3542
3569
|
try {
|
|
3543
3570
|
e = s(this._css, this._opts);
|
|
3544
3571
|
} catch (r) {
|
|
@@ -3552,13 +3579,13 @@ var init_postcss = __esmMin((() => {
|
|
|
3552
3579
|
}
|
|
3553
3580
|
constructor(e, s, r) {
|
|
3554
3581
|
s = s.toString(), this.stringified = !1, this._processor = e, this._css = s, this._opts = r, this._map = void 0;
|
|
3555
|
-
let n =
|
|
3556
|
-
this.result = new
|
|
3582
|
+
let n = yp;
|
|
3583
|
+
this.result = new dp(this._processor, void 0, this._opts), this.result.css = s;
|
|
3557
3584
|
let i = this;
|
|
3558
3585
|
Object.defineProperty(this.result, "root", { get() {
|
|
3559
3586
|
return i.root;
|
|
3560
3587
|
} });
|
|
3561
|
-
let o = new
|
|
3588
|
+
let o = new hp(n, void 0, this._opts, s);
|
|
3562
3589
|
if (o.isMap()) {
|
|
3563
3590
|
let [u, a] = o.generate();
|
|
3564
3591
|
u && (this.result.css = u), a && (this.result.map = a);
|
|
@@ -3587,14 +3614,14 @@ var init_postcss = __esmMin((() => {
|
|
|
3587
3614
|
return [];
|
|
3588
3615
|
}
|
|
3589
3616
|
};
|
|
3590
|
-
|
|
3617
|
+
fa.exports = _t;
|
|
3591
3618
|
_t.default = _t;
|
|
3592
3619
|
});
|
|
3593
|
-
|
|
3620
|
+
ma = w((C_, ha) => {
|
|
3594
3621
|
"use strict";
|
|
3595
|
-
var
|
|
3622
|
+
var gp = ar(), wp = Ds(), vp = pa(), xp = Ye(), Oe = class {
|
|
3596
3623
|
constructor(e = []) {
|
|
3597
|
-
this.version = "8.5.
|
|
3624
|
+
this.version = "8.5.16", this.plugins = this.normalize(e);
|
|
3598
3625
|
}
|
|
3599
3626
|
normalize(e) {
|
|
3600
3627
|
let s = [];
|
|
@@ -3605,20 +3632,20 @@ var init_postcss = __esmMin((() => {
|
|
|
3605
3632
|
return s;
|
|
3606
3633
|
}
|
|
3607
3634
|
process(e, s = {}) {
|
|
3608
|
-
return !this.plugins.length && !s.parser && !s.stringifier && !s.syntax ? new
|
|
3635
|
+
return !this.plugins.length && !s.parser && !s.stringifier && !s.syntax ? new vp(this, e, s) : new wp(this, e, s);
|
|
3609
3636
|
}
|
|
3610
3637
|
use(e) {
|
|
3611
3638
|
return this.plugins = this.plugins.concat(this.normalize([e])), this;
|
|
3612
3639
|
}
|
|
3613
3640
|
};
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3641
|
+
ha.exports = Oe;
|
|
3642
|
+
Oe.default = Oe;
|
|
3643
|
+
xp.registerProcessor(Oe);
|
|
3644
|
+
gp.registerProcessor(Oe);
|
|
3618
3645
|
});
|
|
3619
|
-
lr = w((
|
|
3646
|
+
lr = w((N_, _a) => {
|
|
3620
3647
|
"use strict";
|
|
3621
|
-
var
|
|
3648
|
+
var da = er(), ya = Fe(), _p = pe(), bp = Kt(), ga = mt(), wa = ar(), Ep = ta(), Sp = $e(), Tp = Ds(), kp = ks(), Op = ft(), Ap = yt(), Ms = ma(), Cp = ur(), va = Ye(), xa = tr(), Np = ut(), Pp = Rs();
|
|
3622
3649
|
function E(...t) {
|
|
3623
3650
|
return t.length === 1 && Array.isArray(t[0]) && (t = t[0]), new Ms(t);
|
|
3624
3651
|
}
|
|
@@ -3637,45 +3664,45 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
3637
3664
|
return E([n(a)]).process(o, u);
|
|
3638
3665
|
}, n;
|
|
3639
3666
|
};
|
|
3640
|
-
E.stringify =
|
|
3641
|
-
E.parse =
|
|
3642
|
-
E.fromJSON =
|
|
3643
|
-
E.list =
|
|
3644
|
-
E.comment = (t) => new
|
|
3645
|
-
E.atRule = (t) => new
|
|
3646
|
-
E.decl = (t) => new
|
|
3647
|
-
E.rule = (t) => new
|
|
3648
|
-
E.root = (t) => new
|
|
3649
|
-
E.document = (t) => new
|
|
3650
|
-
E.CssSyntaxError =
|
|
3651
|
-
E.Declaration =
|
|
3652
|
-
E.Container =
|
|
3667
|
+
E.stringify = Np;
|
|
3668
|
+
E.parse = Ap;
|
|
3669
|
+
E.fromJSON = Ep;
|
|
3670
|
+
E.list = kp;
|
|
3671
|
+
E.comment = (t) => new ya(t);
|
|
3672
|
+
E.atRule = (t) => new da(t);
|
|
3673
|
+
E.decl = (t) => new ga(t);
|
|
3674
|
+
E.rule = (t) => new xa(t);
|
|
3675
|
+
E.root = (t) => new va(t);
|
|
3676
|
+
E.document = (t) => new wa(t);
|
|
3677
|
+
E.CssSyntaxError = bp;
|
|
3678
|
+
E.Declaration = ga;
|
|
3679
|
+
E.Container = _p;
|
|
3653
3680
|
E.Processor = Ms;
|
|
3654
|
-
E.Document =
|
|
3655
|
-
E.Comment =
|
|
3656
|
-
E.Warning =
|
|
3657
|
-
E.AtRule =
|
|
3658
|
-
E.Result =
|
|
3659
|
-
E.Input =
|
|
3660
|
-
E.Rule =
|
|
3661
|
-
E.Root =
|
|
3662
|
-
E.Node =
|
|
3663
|
-
|
|
3664
|
-
|
|
3681
|
+
E.Document = wa;
|
|
3682
|
+
E.Comment = ya;
|
|
3683
|
+
E.Warning = Pp;
|
|
3684
|
+
E.AtRule = da;
|
|
3685
|
+
E.Result = Cp;
|
|
3686
|
+
E.Input = Sp;
|
|
3687
|
+
E.Rule = xa;
|
|
3688
|
+
E.Root = va;
|
|
3689
|
+
E.Node = Op;
|
|
3690
|
+
Tp.registerPostcss(E);
|
|
3691
|
+
_a.exports = E;
|
|
3665
3692
|
E.default = E;
|
|
3666
3693
|
});
|
|
3667
|
-
|
|
3668
|
-
var { Container:
|
|
3694
|
+
Ea = w((P_, ba) => {
|
|
3695
|
+
var { Container: Rp } = lr(), Bs = class extends Rp {
|
|
3669
3696
|
constructor(e) {
|
|
3670
3697
|
super(e), this.type = "decl", this.isNested = !0, this.nodes || (this.nodes = []);
|
|
3671
3698
|
}
|
|
3672
3699
|
};
|
|
3673
|
-
|
|
3700
|
+
ba.exports = Bs;
|
|
3674
3701
|
});
|
|
3675
|
-
|
|
3702
|
+
ka = w((R_, Ta) => {
|
|
3676
3703
|
"use strict";
|
|
3677
|
-
var cr = /[\t\n\f\r "#'()/;[\\\]{}]/g, fr = /[,\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,
|
|
3678
|
-
|
|
3704
|
+
var cr = /[\t\n\f\r "#'()/;[\\\]{}]/g, fr = /[,\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, Ip = /.[\r\n"'(/\\]/, Sa = /[\da-f]/i, pr = /[\n\f\r]/g;
|
|
3705
|
+
Ta.exports = function(e, s = {}) {
|
|
3679
3706
|
let r = e.css.valueOf(), n = s.ignoreErrors, i, o, u, a, c, f, h, l, d, x = r.length, m = 0, p = [], y = [], g;
|
|
3680
3707
|
function v() {
|
|
3681
3708
|
return m;
|
|
@@ -3683,12 +3710,12 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
3683
3710
|
function C(k) {
|
|
3684
3711
|
throw e.error("Unclosed " + k, m);
|
|
3685
3712
|
}
|
|
3686
|
-
function
|
|
3713
|
+
function q() {
|
|
3687
3714
|
return y.length === 0 && m >= x;
|
|
3688
3715
|
}
|
|
3689
3716
|
function W() {
|
|
3690
|
-
let k = 1, b = !1,
|
|
3691
|
-
for (; k > 0;) o += 1, r.length <= o && C("interpolation"), i = r.charCodeAt(o), l = r.charCodeAt(o + 1), b ? !
|
|
3717
|
+
let k = 1, b = !1, S = !1;
|
|
3718
|
+
for (; k > 0;) o += 1, r.length <= o && C("interpolation"), i = r.charCodeAt(o), l = r.charCodeAt(o + 1), b ? !S && i === b ? (b = !1, S = !1) : i === 92 ? S = !S : S && (S = !1) : i === 39 || i === 34 ? b = i : i === 125 ? k -= 1 : i === 35 && l === 123 && (k += 1);
|
|
3692
3719
|
}
|
|
3693
3720
|
function se(k) {
|
|
3694
3721
|
if (y.length) return y.pop();
|
|
@@ -3713,10 +3740,10 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
3713
3740
|
case 58:
|
|
3714
3741
|
case 59:
|
|
3715
3742
|
case 41: {
|
|
3716
|
-
let
|
|
3743
|
+
let S = String.fromCharCode(i);
|
|
3717
3744
|
d = [
|
|
3718
|
-
|
|
3719
|
-
|
|
3745
|
+
S,
|
|
3746
|
+
S,
|
|
3720
3747
|
m
|
|
3721
3748
|
];
|
|
3722
3749
|
break;
|
|
@@ -3743,7 +3770,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
3743
3770
|
m,
|
|
3744
3771
|
o
|
|
3745
3772
|
], m = o;
|
|
3746
|
-
} else o = r.indexOf(")", m + 1), a = r.slice(m, o + 1), o === -1 ||
|
|
3773
|
+
} else o = r.indexOf(")", m + 1), a = r.slice(m, o + 1), o === -1 || Ip.test(a) ? d = [
|
|
3747
3774
|
"(",
|
|
3748
3775
|
"(",
|
|
3749
3776
|
m
|
|
@@ -3774,8 +3801,8 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
3774
3801
|
break;
|
|
3775
3802
|
case 92:
|
|
3776
3803
|
for (o = m, c = !0; r.charCodeAt(o + 1) === 92;) o += 1, c = !c;
|
|
3777
|
-
if (i = r.charCodeAt(o + 1), c && i !== 47 && i !== 32 && i !== 10 && i !== 9 && i !== 13 && i !== 12 && (o += 1,
|
|
3778
|
-
for (;
|
|
3804
|
+
if (i = r.charCodeAt(o + 1), c && i !== 47 && i !== 32 && i !== 10 && i !== 9 && i !== 13 && i !== 12 && (o += 1, Sa.test(r.charAt(o)))) {
|
|
3805
|
+
for (; Sa.test(r.charAt(o + 1));) o += 1;
|
|
3779
3806
|
r.charCodeAt(o + 1) === 32 && (o += 1);
|
|
3780
3807
|
}
|
|
3781
3808
|
d = [
|
|
@@ -3817,14 +3844,14 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
3817
3844
|
}
|
|
3818
3845
|
return {
|
|
3819
3846
|
back: ye,
|
|
3820
|
-
endOfFile:
|
|
3847
|
+
endOfFile: q,
|
|
3821
3848
|
nextToken: se,
|
|
3822
3849
|
position: v
|
|
3823
3850
|
};
|
|
3824
3851
|
};
|
|
3825
3852
|
});
|
|
3826
|
-
|
|
3827
|
-
var { Comment:
|
|
3853
|
+
Aa = w((I_, Oa) => {
|
|
3854
|
+
var { Comment: Lp } = lr(), qp = ir(), Dp = Ea(), Mp = ka(), Us = class extends qp {
|
|
3828
3855
|
atrule(e) {
|
|
3829
3856
|
let s = e[1], r = e;
|
|
3830
3857
|
for (; !this.tokenizer.endOfFile();) {
|
|
@@ -3844,7 +3871,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
3844
3871
|
}
|
|
3845
3872
|
comment(e) {
|
|
3846
3873
|
if (e[4] === "inline") {
|
|
3847
|
-
let s = new
|
|
3874
|
+
let s = new Lp();
|
|
3848
3875
|
this.init(s, e[2]), s.raws.inline = !0;
|
|
3849
3876
|
let r = this.input.fromOffset(e[3]);
|
|
3850
3877
|
s.source.end = {
|
|
@@ -3861,7 +3888,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
3861
3888
|
} else super.comment(e);
|
|
3862
3889
|
}
|
|
3863
3890
|
createTokenizer() {
|
|
3864
|
-
this.tokenizer =
|
|
3891
|
+
this.tokenizer = Mp(this.input);
|
|
3865
3892
|
}
|
|
3866
3893
|
raw(e, s, r, n) {
|
|
3867
3894
|
if (super.raw(e, s, r, n), e.raws[s]) {
|
|
@@ -3885,7 +3912,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
3885
3912
|
if (!s || n.trim() === "" || /^[#:A-Za-z-]/.test(n)) super.rule(e);
|
|
3886
3913
|
else {
|
|
3887
3914
|
e.pop();
|
|
3888
|
-
let i = new
|
|
3915
|
+
let i = new Dp();
|
|
3889
3916
|
this.init(i, e[0][2]);
|
|
3890
3917
|
let o;
|
|
3891
3918
|
for (let a = e.length - 1; a >= 0; a--) if (e[a][0] !== "space") {
|
|
@@ -3949,28 +3976,28 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
3949
3976
|
}
|
|
3950
3977
|
}
|
|
3951
3978
|
};
|
|
3952
|
-
|
|
3979
|
+
Oa.exports = Us;
|
|
3953
3980
|
});
|
|
3954
|
-
|
|
3955
|
-
var { Input:
|
|
3956
|
-
|
|
3957
|
-
let n = new
|
|
3981
|
+
Na = w((L_, Ca) => {
|
|
3982
|
+
var { Input: Bp } = lr(), Up = Aa();
|
|
3983
|
+
Ca.exports = function(e, s) {
|
|
3984
|
+
let n = new Up(new Bp(e, s));
|
|
3958
3985
|
return n.parse(), n.root;
|
|
3959
3986
|
};
|
|
3960
3987
|
});
|
|
3961
3988
|
Ws = w((Fs) => {
|
|
3962
3989
|
"use strict";
|
|
3963
3990
|
Object.defineProperty(Fs, "__esModule", { value: !0 });
|
|
3964
|
-
function
|
|
3991
|
+
function $p(t) {
|
|
3965
3992
|
this.after = t.after, this.before = t.before, this.type = t.type, this.value = t.value, this.sourceIndex = t.sourceIndex;
|
|
3966
3993
|
}
|
|
3967
|
-
Fs.default =
|
|
3994
|
+
Fs.default = $p;
|
|
3968
3995
|
});
|
|
3969
3996
|
Gs = w(($s) => {
|
|
3970
3997
|
"use strict";
|
|
3971
3998
|
Object.defineProperty($s, "__esModule", { value: !0 });
|
|
3972
|
-
var
|
|
3973
|
-
function
|
|
3999
|
+
var Ra = Yp(Ws());
|
|
4000
|
+
function Yp(t) {
|
|
3974
4001
|
return t && t.__esModule ? t : { default: t };
|
|
3975
4002
|
}
|
|
3976
4003
|
function bt(t) {
|
|
@@ -3979,8 +4006,8 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
3979
4006
|
s.parent = e;
|
|
3980
4007
|
});
|
|
3981
4008
|
}
|
|
3982
|
-
bt.prototype = Object.create(
|
|
3983
|
-
bt.constructor =
|
|
4009
|
+
bt.prototype = Object.create(Ra.default.prototype);
|
|
4010
|
+
bt.constructor = Ra.default;
|
|
3984
4011
|
bt.prototype.walk = function(e, s) {
|
|
3985
4012
|
for (var r = typeof e == "string" || e instanceof RegExp, n = r ? s : e, i = typeof e == "string" ? new RegExp(e) : e, o = 0; o < this.nodes.length; o++) {
|
|
3986
4013
|
var u = this.nodes[o];
|
|
@@ -3997,17 +4024,17 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
3997
4024
|
};
|
|
3998
4025
|
$s.default = bt;
|
|
3999
4026
|
});
|
|
4000
|
-
|
|
4027
|
+
Da = w((Et) => {
|
|
4001
4028
|
"use strict";
|
|
4002
4029
|
Object.defineProperty(Et, "__esModule", { value: !0 });
|
|
4003
|
-
Et.parseMediaFeature =
|
|
4030
|
+
Et.parseMediaFeature = qa;
|
|
4004
4031
|
Et.parseMediaQuery = Vs;
|
|
4005
|
-
Et.parseMediaList =
|
|
4006
|
-
var
|
|
4007
|
-
function
|
|
4032
|
+
Et.parseMediaList = jp;
|
|
4033
|
+
var Ia = La(Ws()), Ys = La(Gs());
|
|
4034
|
+
function La(t) {
|
|
4008
4035
|
return t && t.__esModule ? t : { default: t };
|
|
4009
4036
|
}
|
|
4010
|
-
function
|
|
4037
|
+
function qa(t) {
|
|
4011
4038
|
var e = arguments.length <= 1 || arguments[1] === void 0 ? 0 : arguments[1], s = [{
|
|
4012
4039
|
mode: "normal",
|
|
4013
4040
|
character: null
|
|
@@ -4062,7 +4089,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
4062
4089
|
"not",
|
|
4063
4090
|
"only",
|
|
4064
4091
|
"and"
|
|
4065
|
-
].indexOf(i.value) !== -1 && (i.type = "keyword"), i.type === "media-feature-expression" && (i.nodes =
|
|
4092
|
+
].indexOf(i.value) !== -1 && (i.type = "keyword"), i.type === "media-feature-expression" && (i.nodes = qa(i.value, i.sourceIndex)), s.push(Array.isArray(i.nodes) ? new Ys.default(i) : new Ia.default(i)), i = o(), n = !1);
|
|
4066
4093
|
}
|
|
4067
4094
|
for (var c = 0; c < s.length; c++) if (i = s[c], c > 0 && (s[c - 1].after = i.before), i.type === void 0) {
|
|
4068
4095
|
if (c > 0) {
|
|
@@ -4107,14 +4134,14 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
4107
4134
|
}
|
|
4108
4135
|
return s;
|
|
4109
4136
|
}
|
|
4110
|
-
function
|
|
4137
|
+
function jp(t) {
|
|
4111
4138
|
var e = [], s = 0, r = 0, n = /^(\s*)url\s*\(/.exec(t);
|
|
4112
4139
|
if (n !== null) {
|
|
4113
4140
|
for (var i = n[0].length, o = 1; o > 0;) {
|
|
4114
4141
|
var u = t[i];
|
|
4115
4142
|
u === "(" && o++, u === ")" && o--, i++;
|
|
4116
4143
|
}
|
|
4117
|
-
e.unshift(new
|
|
4144
|
+
e.unshift(new Ia.default({
|
|
4118
4145
|
type: "url",
|
|
4119
4146
|
value: t.substring(0, i).trim(),
|
|
4120
4147
|
sourceIndex: n[1].length,
|
|
@@ -4147,24 +4174,24 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
4147
4174
|
})), e;
|
|
4148
4175
|
}
|
|
4149
4176
|
});
|
|
4150
|
-
|
|
4177
|
+
Ma = w((zs) => {
|
|
4151
4178
|
"use strict";
|
|
4152
4179
|
Object.defineProperty(zs, "__esModule", { value: !0 });
|
|
4153
|
-
zs.default =
|
|
4154
|
-
var
|
|
4155
|
-
function
|
|
4180
|
+
zs.default = Jp;
|
|
4181
|
+
var Qp = Xp(Gs()), Kp = Da();
|
|
4182
|
+
function Xp(t) {
|
|
4156
4183
|
return t && t.__esModule ? t : { default: t };
|
|
4157
4184
|
}
|
|
4158
|
-
function
|
|
4159
|
-
return new
|
|
4160
|
-
nodes: (0,
|
|
4185
|
+
function Jp(t) {
|
|
4186
|
+
return new Qp.default({
|
|
4187
|
+
nodes: (0, Kp.parseMediaList)(t),
|
|
4161
4188
|
type: "media-query-list",
|
|
4162
4189
|
value: t.trim()
|
|
4163
4190
|
});
|
|
4164
4191
|
}
|
|
4165
4192
|
});
|
|
4166
|
-
Hs = w((
|
|
4167
|
-
|
|
4193
|
+
Hs = w((V_, Fa) => {
|
|
4194
|
+
Fa.exports = function(e, s) {
|
|
4168
4195
|
if (s = typeof s == "number" ? s : Infinity, !s) return Array.isArray(e) ? e.map(function(n) {
|
|
4169
4196
|
return n;
|
|
4170
4197
|
}) : e;
|
|
@@ -4176,15 +4203,15 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
4176
4203
|
}
|
|
4177
4204
|
};
|
|
4178
4205
|
});
|
|
4179
|
-
Qs = w((
|
|
4180
|
-
|
|
4206
|
+
Qs = w((z_, Wa) => {
|
|
4207
|
+
Wa.exports = function(t, e) {
|
|
4181
4208
|
for (var s = -1, r = []; (s = t.indexOf(e, s + 1)) !== -1;) r.push(s);
|
|
4182
4209
|
return r;
|
|
4183
4210
|
};
|
|
4184
4211
|
});
|
|
4185
|
-
Ks = w((
|
|
4212
|
+
Ks = w((j_, $a) => {
|
|
4186
4213
|
"use strict";
|
|
4187
|
-
function
|
|
4214
|
+
function th(t, e) {
|
|
4188
4215
|
for (var s = 1, r = t.length, n = t[0], i = t[0], o = 1; o < r; ++o) if (i = n, n = t[o], e(n, i)) {
|
|
4189
4216
|
if (o === s) {
|
|
4190
4217
|
s++;
|
|
@@ -4194,7 +4221,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
4194
4221
|
}
|
|
4195
4222
|
return t.length = s, t;
|
|
4196
4223
|
}
|
|
4197
|
-
function
|
|
4224
|
+
function rh(t) {
|
|
4198
4225
|
for (var e = 1, s = t.length, r = t[0], n = t[0], i = 1; i < s; ++i, n = r) if (n = r, r = t[i], r !== n) {
|
|
4199
4226
|
if (i === e) {
|
|
4200
4227
|
e++;
|
|
@@ -4204,27 +4231,27 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
4204
4231
|
}
|
|
4205
4232
|
return t.length = e, t;
|
|
4206
4233
|
}
|
|
4207
|
-
function
|
|
4208
|
-
return t.length === 0 ? t : e ? (s || t.sort(e),
|
|
4234
|
+
function sh(t, e, s) {
|
|
4235
|
+
return t.length === 0 ? t : e ? (s || t.sort(e), th(t, e)) : (s || t.sort(), rh(t));
|
|
4209
4236
|
}
|
|
4210
|
-
|
|
4237
|
+
$a.exports = sh;
|
|
4211
4238
|
});
|
|
4212
|
-
|
|
4239
|
+
Ce = w((hr, Ya) => {
|
|
4213
4240
|
"use strict";
|
|
4214
4241
|
hr.__esModule = !0;
|
|
4215
|
-
var
|
|
4242
|
+
var Ga = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
4216
4243
|
return typeof t;
|
|
4217
4244
|
} : function(t) {
|
|
4218
4245
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
4219
4246
|
};
|
|
4220
|
-
function
|
|
4247
|
+
function nh(t, e) {
|
|
4221
4248
|
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
|
|
4222
4249
|
}
|
|
4223
|
-
var
|
|
4224
|
-
if ((typeof e > "u" ? "undefined" :
|
|
4250
|
+
var ih = function t(e, s) {
|
|
4251
|
+
if ((typeof e > "u" ? "undefined" : Ga(e)) !== "object") return e;
|
|
4225
4252
|
var r = new e.constructor();
|
|
4226
4253
|
for (var n in e) if (e.hasOwnProperty(n)) {
|
|
4227
|
-
var i = e[n], o = typeof i > "u" ? "undefined" :
|
|
4254
|
+
var i = e[n], o = typeof i > "u" ? "undefined" : Ga(i);
|
|
4228
4255
|
n === "parent" && o === "object" ? s && (r[n] = s) : i instanceof Array ? r[n] = i.map(function(u) {
|
|
4229
4256
|
return t(u, r);
|
|
4230
4257
|
}) : r[n] = t(i, r);
|
|
@@ -4234,7 +4261,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
4234
4261
|
hr.default = (function() {
|
|
4235
4262
|
function t() {
|
|
4236
4263
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
4237
|
-
|
|
4264
|
+
nh(this, t);
|
|
4238
4265
|
for (var s in e) this[s] = e[s];
|
|
4239
4266
|
var r = e.spaces;
|
|
4240
4267
|
r = r === void 0 ? {} : r;
|
|
@@ -4257,7 +4284,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
4257
4284
|
}, t.prototype.prev = function() {
|
|
4258
4285
|
return this.parent.at(this.parent.index(this) - 1);
|
|
4259
4286
|
}, t.prototype.clone = function() {
|
|
4260
|
-
var s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r =
|
|
4287
|
+
var s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = ih(this);
|
|
4261
4288
|
for (var n in s) r[n] = s[n];
|
|
4262
4289
|
return r;
|
|
4263
4290
|
}, t.prototype.toString = function() {
|
|
@@ -4268,7 +4295,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
4268
4295
|
].join("");
|
|
4269
4296
|
}, t;
|
|
4270
4297
|
})();
|
|
4271
|
-
|
|
4298
|
+
Ya.exports = hr.default;
|
|
4272
4299
|
});
|
|
4273
4300
|
M = w((B) => {
|
|
4274
4301
|
"use strict";
|
|
@@ -4286,10 +4313,10 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
4286
4313
|
B.ATTRIBUTE = "attribute";
|
|
4287
4314
|
B.UNIVERSAL = "universal";
|
|
4288
4315
|
});
|
|
4289
|
-
dr = w((mr,
|
|
4316
|
+
dr = w((mr, Va) => {
|
|
4290
4317
|
"use strict";
|
|
4291
4318
|
mr.__esModule = !0;
|
|
4292
|
-
var
|
|
4319
|
+
var ah = (function() {
|
|
4293
4320
|
function t(e, s) {
|
|
4294
4321
|
for (var r = 0; r < s.length; r++) {
|
|
4295
4322
|
var n = s[r];
|
|
@@ -4299,24 +4326,24 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
4299
4326
|
return function(e, s, r) {
|
|
4300
4327
|
return s && t(e.prototype, s), r && t(e, r), e;
|
|
4301
4328
|
};
|
|
4302
|
-
})(),
|
|
4303
|
-
function
|
|
4329
|
+
})(), lh = ph(Ce()), te = fh(M());
|
|
4330
|
+
function fh(t) {
|
|
4304
4331
|
if (t && t.__esModule) return t;
|
|
4305
4332
|
var e = {};
|
|
4306
4333
|
if (t != null) for (var s in t) Object.prototype.hasOwnProperty.call(t, s) && (e[s] = t[s]);
|
|
4307
4334
|
return e.default = t, e;
|
|
4308
4335
|
}
|
|
4309
|
-
function
|
|
4336
|
+
function ph(t) {
|
|
4310
4337
|
return t && t.__esModule ? t : { default: t };
|
|
4311
4338
|
}
|
|
4312
|
-
function
|
|
4339
|
+
function hh(t, e) {
|
|
4313
4340
|
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
|
|
4314
4341
|
}
|
|
4315
|
-
function
|
|
4342
|
+
function mh(t, e) {
|
|
4316
4343
|
if (!t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4317
4344
|
return e && (typeof e == "object" || typeof e == "function") ? e : t;
|
|
4318
4345
|
}
|
|
4319
|
-
function
|
|
4346
|
+
function dh(t, e) {
|
|
4320
4347
|
if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof e);
|
|
4321
4348
|
t.prototype = Object.create(e && e.prototype, { constructor: {
|
|
4322
4349
|
value: t,
|
|
@@ -4326,10 +4353,10 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
4326
4353
|
} }), e && (Object.setPrototypeOf ? Object.setPrototypeOf(t, e) : t.__proto__ = e);
|
|
4327
4354
|
}
|
|
4328
4355
|
mr.default = (function(t) {
|
|
4329
|
-
|
|
4356
|
+
dh(e, t);
|
|
4330
4357
|
function e(s) {
|
|
4331
|
-
|
|
4332
|
-
var r =
|
|
4358
|
+
hh(this, e);
|
|
4359
|
+
var r = mh(this, t.call(this, s));
|
|
4333
4360
|
return r.nodes || (r.nodes = []), r;
|
|
4334
4361
|
}
|
|
4335
4362
|
return e.prototype.append = function(r) {
|
|
@@ -4450,7 +4477,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
4450
4477
|
return this.nodes.sort(r);
|
|
4451
4478
|
}, e.prototype.toString = function() {
|
|
4452
4479
|
return this.map(String).join("");
|
|
4453
|
-
},
|
|
4480
|
+
}, ah(e, [
|
|
4454
4481
|
{
|
|
4455
4482
|
key: "first",
|
|
4456
4483
|
get: function() {
|
|
@@ -4470,24 +4497,24 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
4470
4497
|
}
|
|
4471
4498
|
}
|
|
4472
4499
|
]), e;
|
|
4473
|
-
})(
|
|
4474
|
-
|
|
4500
|
+
})(lh.default);
|
|
4501
|
+
Va.exports = mr.default;
|
|
4475
4502
|
});
|
|
4476
|
-
|
|
4503
|
+
ja = w((yr, za) => {
|
|
4477
4504
|
"use strict";
|
|
4478
4505
|
yr.__esModule = !0;
|
|
4479
|
-
var
|
|
4480
|
-
function
|
|
4506
|
+
var wh = xh(dr()), vh = M();
|
|
4507
|
+
function xh(t) {
|
|
4481
4508
|
return t && t.__esModule ? t : { default: t };
|
|
4482
4509
|
}
|
|
4483
|
-
function
|
|
4510
|
+
function _h(t, e) {
|
|
4484
4511
|
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
|
|
4485
4512
|
}
|
|
4486
|
-
function
|
|
4513
|
+
function bh(t, e) {
|
|
4487
4514
|
if (!t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4488
4515
|
return e && (typeof e == "object" || typeof e == "function") ? e : t;
|
|
4489
4516
|
}
|
|
4490
|
-
function
|
|
4517
|
+
function Eh(t, e) {
|
|
4491
4518
|
if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof e);
|
|
4492
4519
|
t.prototype = Object.create(e && e.prototype, { constructor: {
|
|
4493
4520
|
value: t,
|
|
@@ -4497,11 +4524,11 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
4497
4524
|
} }), e && (Object.setPrototypeOf ? Object.setPrototypeOf(t, e) : t.__proto__ = e);
|
|
4498
4525
|
}
|
|
4499
4526
|
yr.default = (function(t) {
|
|
4500
|
-
|
|
4527
|
+
Eh(e, t);
|
|
4501
4528
|
function e(s) {
|
|
4502
|
-
|
|
4503
|
-
var r =
|
|
4504
|
-
return r.type =
|
|
4529
|
+
_h(this, e);
|
|
4530
|
+
var r = bh(this, t.call(this, s));
|
|
4531
|
+
return r.type = vh.ROOT, r;
|
|
4505
4532
|
}
|
|
4506
4533
|
return e.prototype.toString = function() {
|
|
4507
4534
|
var r = this.reduce(function(n, i) {
|
|
@@ -4510,24 +4537,24 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
4510
4537
|
}, "").slice(0, -1);
|
|
4511
4538
|
return this.trailingComma ? r + "," : r;
|
|
4512
4539
|
}, e;
|
|
4513
|
-
})(
|
|
4514
|
-
|
|
4540
|
+
})(wh.default);
|
|
4541
|
+
za.exports = yr.default;
|
|
4515
4542
|
});
|
|
4516
|
-
|
|
4543
|
+
Qa = w((gr, Ha) => {
|
|
4517
4544
|
"use strict";
|
|
4518
4545
|
gr.__esModule = !0;
|
|
4519
|
-
var
|
|
4520
|
-
function
|
|
4546
|
+
var kh = Ah(dr()), Oh = M();
|
|
4547
|
+
function Ah(t) {
|
|
4521
4548
|
return t && t.__esModule ? t : { default: t };
|
|
4522
4549
|
}
|
|
4523
|
-
function
|
|
4550
|
+
function Ch(t, e) {
|
|
4524
4551
|
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
|
|
4525
4552
|
}
|
|
4526
|
-
function
|
|
4553
|
+
function Nh(t, e) {
|
|
4527
4554
|
if (!t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4528
4555
|
return e && (typeof e == "object" || typeof e == "function") ? e : t;
|
|
4529
4556
|
}
|
|
4530
|
-
function
|
|
4557
|
+
function Ph(t, e) {
|
|
4531
4558
|
if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof e);
|
|
4532
4559
|
t.prototype = Object.create(e && e.prototype, { constructor: {
|
|
4533
4560
|
value: t,
|
|
@@ -4537,20 +4564,20 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
4537
4564
|
} }), e && (Object.setPrototypeOf ? Object.setPrototypeOf(t, e) : t.__proto__ = e);
|
|
4538
4565
|
}
|
|
4539
4566
|
gr.default = (function(t) {
|
|
4540
|
-
|
|
4567
|
+
Ph(e, t);
|
|
4541
4568
|
function e(s) {
|
|
4542
|
-
|
|
4543
|
-
var r =
|
|
4544
|
-
return r.type =
|
|
4569
|
+
Ch(this, e);
|
|
4570
|
+
var r = Nh(this, t.call(this, s));
|
|
4571
|
+
return r.type = Oh.SELECTOR, r;
|
|
4545
4572
|
}
|
|
4546
4573
|
return e;
|
|
4547
|
-
})(
|
|
4548
|
-
|
|
4574
|
+
})(kh.default);
|
|
4575
|
+
Ha.exports = gr.default;
|
|
4549
4576
|
});
|
|
4550
|
-
je = w((wr,
|
|
4577
|
+
je = w((wr, Ka) => {
|
|
4551
4578
|
"use strict";
|
|
4552
4579
|
wr.__esModule = !0;
|
|
4553
|
-
var
|
|
4580
|
+
var Ih = (function() {
|
|
4554
4581
|
function t(e, s) {
|
|
4555
4582
|
for (var r = 0; r < s.length; r++) {
|
|
4556
4583
|
var n = s[r];
|
|
@@ -4560,18 +4587,18 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
4560
4587
|
return function(e, s, r) {
|
|
4561
4588
|
return s && t(e.prototype, s), r && t(e, r), e;
|
|
4562
4589
|
};
|
|
4563
|
-
})(),
|
|
4564
|
-
function
|
|
4590
|
+
})(), qh = Dh(Ce());
|
|
4591
|
+
function Dh(t) {
|
|
4565
4592
|
return t && t.__esModule ? t : { default: t };
|
|
4566
4593
|
}
|
|
4567
|
-
function
|
|
4594
|
+
function Mh(t, e) {
|
|
4568
4595
|
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
|
|
4569
4596
|
}
|
|
4570
|
-
function
|
|
4597
|
+
function Bh(t, e) {
|
|
4571
4598
|
if (!t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4572
4599
|
return e && (typeof e == "object" || typeof e == "function") ? e : t;
|
|
4573
4600
|
}
|
|
4574
|
-
function
|
|
4601
|
+
function Uh(t, e) {
|
|
4575
4602
|
if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof e);
|
|
4576
4603
|
t.prototype = Object.create(e && e.prototype, { constructor: {
|
|
4577
4604
|
value: t,
|
|
@@ -4581,9 +4608,9 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
4581
4608
|
} }), e && (Object.setPrototypeOf ? Object.setPrototypeOf(t, e) : t.__proto__ = e);
|
|
4582
4609
|
}
|
|
4583
4610
|
wr.default = (function(t) {
|
|
4584
|
-
|
|
4611
|
+
Uh(e, t);
|
|
4585
4612
|
function e() {
|
|
4586
|
-
return
|
|
4613
|
+
return Mh(this, e), Bh(this, t.apply(this, arguments));
|
|
4587
4614
|
}
|
|
4588
4615
|
return e.prototype.toString = function() {
|
|
4589
4616
|
return [
|
|
@@ -4592,31 +4619,31 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
4592
4619
|
String(this.value),
|
|
4593
4620
|
this.spaces.after
|
|
4594
4621
|
].join("");
|
|
4595
|
-
},
|
|
4622
|
+
}, Ih(e, [{
|
|
4596
4623
|
key: "ns",
|
|
4597
4624
|
get: function() {
|
|
4598
4625
|
var r = this.namespace;
|
|
4599
4626
|
return r ? (typeof r == "string" ? r : "") + "|" : "";
|
|
4600
4627
|
}
|
|
4601
4628
|
}]), e;
|
|
4602
|
-
})(
|
|
4603
|
-
|
|
4629
|
+
})(qh.default);
|
|
4630
|
+
Ka.exports = wr.default;
|
|
4604
4631
|
});
|
|
4605
|
-
|
|
4632
|
+
Ja = w((vr, Xa) => {
|
|
4606
4633
|
"use strict";
|
|
4607
4634
|
vr.__esModule = !0;
|
|
4608
|
-
var
|
|
4609
|
-
function
|
|
4635
|
+
var $h = Yh(je()), Gh = M();
|
|
4636
|
+
function Yh(t) {
|
|
4610
4637
|
return t && t.__esModule ? t : { default: t };
|
|
4611
4638
|
}
|
|
4612
|
-
function
|
|
4639
|
+
function Vh(t, e) {
|
|
4613
4640
|
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
|
|
4614
4641
|
}
|
|
4615
|
-
function
|
|
4642
|
+
function zh(t, e) {
|
|
4616
4643
|
if (!t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4617
4644
|
return e && (typeof e == "object" || typeof e == "function") ? e : t;
|
|
4618
4645
|
}
|
|
4619
|
-
function
|
|
4646
|
+
function jh(t, e) {
|
|
4620
4647
|
if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof e);
|
|
4621
4648
|
t.prototype = Object.create(e && e.prototype, { constructor: {
|
|
4622
4649
|
value: t,
|
|
@@ -4626,11 +4653,11 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
4626
4653
|
} }), e && (Object.setPrototypeOf ? Object.setPrototypeOf(t, e) : t.__proto__ = e);
|
|
4627
4654
|
}
|
|
4628
4655
|
vr.default = (function(t) {
|
|
4629
|
-
|
|
4656
|
+
jh(e, t);
|
|
4630
4657
|
function e(s) {
|
|
4631
|
-
|
|
4632
|
-
var r =
|
|
4633
|
-
return r.type =
|
|
4658
|
+
Vh(this, e);
|
|
4659
|
+
var r = zh(this, t.call(this, s));
|
|
4660
|
+
return r.type = Gh.CLASS, r;
|
|
4634
4661
|
}
|
|
4635
4662
|
return e.prototype.toString = function() {
|
|
4636
4663
|
return [
|
|
@@ -4640,24 +4667,24 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
4640
4667
|
this.spaces.after
|
|
4641
4668
|
].join("");
|
|
4642
4669
|
}, e;
|
|
4643
|
-
})(
|
|
4644
|
-
|
|
4670
|
+
})($h.default);
|
|
4671
|
+
Xa.exports = vr.default;
|
|
4645
4672
|
});
|
|
4646
|
-
|
|
4673
|
+
eu = w((xr, Za) => {
|
|
4647
4674
|
"use strict";
|
|
4648
4675
|
xr.__esModule = !0;
|
|
4649
|
-
var
|
|
4650
|
-
function
|
|
4676
|
+
var Kh = Jh(Ce()), Xh = M();
|
|
4677
|
+
function Jh(t) {
|
|
4651
4678
|
return t && t.__esModule ? t : { default: t };
|
|
4652
4679
|
}
|
|
4653
|
-
function
|
|
4680
|
+
function Zh(t, e) {
|
|
4654
4681
|
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
|
|
4655
4682
|
}
|
|
4656
|
-
function
|
|
4683
|
+
function em(t, e) {
|
|
4657
4684
|
if (!t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4658
4685
|
return e && (typeof e == "object" || typeof e == "function") ? e : t;
|
|
4659
4686
|
}
|
|
4660
|
-
function
|
|
4687
|
+
function tm(t, e) {
|
|
4661
4688
|
if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof e);
|
|
4662
4689
|
t.prototype = Object.create(e && e.prototype, { constructor: {
|
|
4663
4690
|
value: t,
|
|
@@ -4667,31 +4694,31 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
4667
4694
|
} }), e && (Object.setPrototypeOf ? Object.setPrototypeOf(t, e) : t.__proto__ = e);
|
|
4668
4695
|
}
|
|
4669
4696
|
xr.default = (function(t) {
|
|
4670
|
-
|
|
4697
|
+
tm(e, t);
|
|
4671
4698
|
function e(s) {
|
|
4672
|
-
|
|
4673
|
-
var r =
|
|
4674
|
-
return r.type =
|
|
4699
|
+
Zh(this, e);
|
|
4700
|
+
var r = em(this, t.call(this, s));
|
|
4701
|
+
return r.type = Xh.COMMENT, r;
|
|
4675
4702
|
}
|
|
4676
4703
|
return e;
|
|
4677
|
-
})(
|
|
4678
|
-
|
|
4704
|
+
})(Kh.default);
|
|
4705
|
+
Za.exports = xr.default;
|
|
4679
4706
|
});
|
|
4680
|
-
|
|
4707
|
+
ru = w((_r, tu) => {
|
|
4681
4708
|
"use strict";
|
|
4682
4709
|
_r.__esModule = !0;
|
|
4683
|
-
var
|
|
4684
|
-
function
|
|
4710
|
+
var nm = om(je()), im = M();
|
|
4711
|
+
function om(t) {
|
|
4685
4712
|
return t && t.__esModule ? t : { default: t };
|
|
4686
4713
|
}
|
|
4687
|
-
function
|
|
4714
|
+
function am(t, e) {
|
|
4688
4715
|
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
|
|
4689
4716
|
}
|
|
4690
|
-
function
|
|
4717
|
+
function um(t, e) {
|
|
4691
4718
|
if (!t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4692
4719
|
return e && (typeof e == "object" || typeof e == "function") ? e : t;
|
|
4693
4720
|
}
|
|
4694
|
-
function
|
|
4721
|
+
function lm(t, e) {
|
|
4695
4722
|
if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof e);
|
|
4696
4723
|
t.prototype = Object.create(e && e.prototype, { constructor: {
|
|
4697
4724
|
value: t,
|
|
@@ -4701,11 +4728,11 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
4701
4728
|
} }), e && (Object.setPrototypeOf ? Object.setPrototypeOf(t, e) : t.__proto__ = e);
|
|
4702
4729
|
}
|
|
4703
4730
|
_r.default = (function(t) {
|
|
4704
|
-
|
|
4731
|
+
lm(e, t);
|
|
4705
4732
|
function e(s) {
|
|
4706
|
-
|
|
4707
|
-
var r =
|
|
4708
|
-
return r.type =
|
|
4733
|
+
am(this, e);
|
|
4734
|
+
var r = um(this, t.call(this, s));
|
|
4735
|
+
return r.type = im.ID, r;
|
|
4709
4736
|
}
|
|
4710
4737
|
return e.prototype.toString = function() {
|
|
4711
4738
|
return [
|
|
@@ -4715,24 +4742,24 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
4715
4742
|
this.spaces.after
|
|
4716
4743
|
].join("");
|
|
4717
4744
|
}, e;
|
|
4718
|
-
})(
|
|
4719
|
-
|
|
4745
|
+
})(nm.default);
|
|
4746
|
+
tu.exports = _r.default;
|
|
4720
4747
|
});
|
|
4721
|
-
|
|
4748
|
+
nu = w((br, su) => {
|
|
4722
4749
|
"use strict";
|
|
4723
4750
|
br.__esModule = !0;
|
|
4724
|
-
var
|
|
4725
|
-
function
|
|
4751
|
+
var pm = mm(je()), hm = M();
|
|
4752
|
+
function mm(t) {
|
|
4726
4753
|
return t && t.__esModule ? t : { default: t };
|
|
4727
4754
|
}
|
|
4728
|
-
function
|
|
4755
|
+
function dm(t, e) {
|
|
4729
4756
|
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
|
|
4730
4757
|
}
|
|
4731
|
-
function
|
|
4758
|
+
function ym(t, e) {
|
|
4732
4759
|
if (!t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4733
4760
|
return e && (typeof e == "object" || typeof e == "function") ? e : t;
|
|
4734
4761
|
}
|
|
4735
|
-
function
|
|
4762
|
+
function gm(t, e) {
|
|
4736
4763
|
if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof e);
|
|
4737
4764
|
t.prototype = Object.create(e && e.prototype, { constructor: {
|
|
4738
4765
|
value: t,
|
|
@@ -4742,31 +4769,31 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
4742
4769
|
} }), e && (Object.setPrototypeOf ? Object.setPrototypeOf(t, e) : t.__proto__ = e);
|
|
4743
4770
|
}
|
|
4744
4771
|
br.default = (function(t) {
|
|
4745
|
-
|
|
4772
|
+
gm(e, t);
|
|
4746
4773
|
function e(s) {
|
|
4747
|
-
|
|
4748
|
-
var r =
|
|
4749
|
-
return r.type =
|
|
4774
|
+
dm(this, e);
|
|
4775
|
+
var r = ym(this, t.call(this, s));
|
|
4776
|
+
return r.type = hm.TAG, r;
|
|
4750
4777
|
}
|
|
4751
4778
|
return e;
|
|
4752
|
-
})(
|
|
4753
|
-
|
|
4779
|
+
})(pm.default);
|
|
4780
|
+
su.exports = br.default;
|
|
4754
4781
|
});
|
|
4755
|
-
|
|
4782
|
+
ou = w((Er, iu) => {
|
|
4756
4783
|
"use strict";
|
|
4757
4784
|
Er.__esModule = !0;
|
|
4758
|
-
var
|
|
4759
|
-
function
|
|
4785
|
+
var xm = bm(Ce()), _m = M();
|
|
4786
|
+
function bm(t) {
|
|
4760
4787
|
return t && t.__esModule ? t : { default: t };
|
|
4761
4788
|
}
|
|
4762
|
-
function
|
|
4789
|
+
function Em(t, e) {
|
|
4763
4790
|
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
|
|
4764
4791
|
}
|
|
4765
|
-
function
|
|
4792
|
+
function Sm(t, e) {
|
|
4766
4793
|
if (!t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4767
4794
|
return e && (typeof e == "object" || typeof e == "function") ? e : t;
|
|
4768
4795
|
}
|
|
4769
|
-
function
|
|
4796
|
+
function Tm(t, e) {
|
|
4770
4797
|
if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof e);
|
|
4771
4798
|
t.prototype = Object.create(e && e.prototype, { constructor: {
|
|
4772
4799
|
value: t,
|
|
@@ -4776,31 +4803,31 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
4776
4803
|
} }), e && (Object.setPrototypeOf ? Object.setPrototypeOf(t, e) : t.__proto__ = e);
|
|
4777
4804
|
}
|
|
4778
4805
|
Er.default = (function(t) {
|
|
4779
|
-
|
|
4806
|
+
Tm(e, t);
|
|
4780
4807
|
function e(s) {
|
|
4781
|
-
|
|
4782
|
-
var r =
|
|
4783
|
-
return r.type =
|
|
4808
|
+
Em(this, e);
|
|
4809
|
+
var r = Sm(this, t.call(this, s));
|
|
4810
|
+
return r.type = _m.STRING, r;
|
|
4784
4811
|
}
|
|
4785
4812
|
return e;
|
|
4786
|
-
})(
|
|
4787
|
-
|
|
4813
|
+
})(xm.default);
|
|
4814
|
+
iu.exports = Er.default;
|
|
4788
4815
|
});
|
|
4789
|
-
|
|
4816
|
+
uu = w((Sr, au) => {
|
|
4790
4817
|
"use strict";
|
|
4791
4818
|
Sr.__esModule = !0;
|
|
4792
|
-
var
|
|
4793
|
-
function
|
|
4819
|
+
var Am = Nm(dr()), Cm = M();
|
|
4820
|
+
function Nm(t) {
|
|
4794
4821
|
return t && t.__esModule ? t : { default: t };
|
|
4795
4822
|
}
|
|
4796
|
-
function
|
|
4823
|
+
function Pm(t, e) {
|
|
4797
4824
|
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
|
|
4798
4825
|
}
|
|
4799
|
-
function
|
|
4826
|
+
function Rm(t, e) {
|
|
4800
4827
|
if (!t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4801
4828
|
return e && (typeof e == "object" || typeof e == "function") ? e : t;
|
|
4802
4829
|
}
|
|
4803
|
-
function
|
|
4830
|
+
function Im(t, e) {
|
|
4804
4831
|
if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof e);
|
|
4805
4832
|
t.prototype = Object.create(e && e.prototype, { constructor: {
|
|
4806
4833
|
value: t,
|
|
@@ -4810,11 +4837,11 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
4810
4837
|
} }), e && (Object.setPrototypeOf ? Object.setPrototypeOf(t, e) : t.__proto__ = e);
|
|
4811
4838
|
}
|
|
4812
4839
|
Sr.default = (function(t) {
|
|
4813
|
-
|
|
4840
|
+
Im(e, t);
|
|
4814
4841
|
function e(s) {
|
|
4815
|
-
|
|
4816
|
-
var r =
|
|
4817
|
-
return r.type =
|
|
4842
|
+
Pm(this, e);
|
|
4843
|
+
var r = Rm(this, t.call(this, s));
|
|
4844
|
+
return r.type = Cm.PSEUDO, r;
|
|
4818
4845
|
}
|
|
4819
4846
|
return e.prototype.toString = function() {
|
|
4820
4847
|
var r = this.length ? "(" + this.map(String).join(",") + ")" : "";
|
|
@@ -4825,24 +4852,24 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
4825
4852
|
this.spaces.after
|
|
4826
4853
|
].join("");
|
|
4827
4854
|
}, e;
|
|
4828
|
-
})(
|
|
4829
|
-
|
|
4855
|
+
})(Am.default);
|
|
4856
|
+
au.exports = Sr.default;
|
|
4830
4857
|
});
|
|
4831
|
-
|
|
4858
|
+
cu = w((Tr, lu) => {
|
|
4832
4859
|
"use strict";
|
|
4833
4860
|
Tr.__esModule = !0;
|
|
4834
|
-
var
|
|
4835
|
-
function
|
|
4861
|
+
var Dm = Bm(je()), Mm = M();
|
|
4862
|
+
function Bm(t) {
|
|
4836
4863
|
return t && t.__esModule ? t : { default: t };
|
|
4837
4864
|
}
|
|
4838
|
-
function
|
|
4865
|
+
function Um(t, e) {
|
|
4839
4866
|
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
|
|
4840
4867
|
}
|
|
4841
|
-
function
|
|
4868
|
+
function Fm(t, e) {
|
|
4842
4869
|
if (!t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4843
4870
|
return e && (typeof e == "object" || typeof e == "function") ? e : t;
|
|
4844
4871
|
}
|
|
4845
|
-
function
|
|
4872
|
+
function Wm(t, e) {
|
|
4846
4873
|
if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof e);
|
|
4847
4874
|
t.prototype = Object.create(e && e.prototype, { constructor: {
|
|
4848
4875
|
value: t,
|
|
@@ -4852,11 +4879,11 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
4852
4879
|
} }), e && (Object.setPrototypeOf ? Object.setPrototypeOf(t, e) : t.__proto__ = e);
|
|
4853
4880
|
}
|
|
4854
4881
|
Tr.default = (function(t) {
|
|
4855
|
-
|
|
4882
|
+
Wm(e, t);
|
|
4856
4883
|
function e(s) {
|
|
4857
|
-
|
|
4858
|
-
var r =
|
|
4859
|
-
return r.type =
|
|
4884
|
+
Um(this, e);
|
|
4885
|
+
var r = Fm(this, t.call(this, s));
|
|
4886
|
+
return r.type = Mm.ATTRIBUTE, r.raws = {}, r;
|
|
4860
4887
|
}
|
|
4861
4888
|
return e.prototype.toString = function() {
|
|
4862
4889
|
var r = [
|
|
@@ -4867,24 +4894,24 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
4867
4894
|
];
|
|
4868
4895
|
return this.operator && r.push(this.operator), this.value && r.push(this.value), this.raws.insensitive ? r.push(this.raws.insensitive) : this.insensitive && r.push(" i"), r.push("]"), r.concat(this.spaces.after).join("");
|
|
4869
4896
|
}, e;
|
|
4870
|
-
})(
|
|
4871
|
-
|
|
4897
|
+
})(Dm.default);
|
|
4898
|
+
lu.exports = Tr.default;
|
|
4872
4899
|
});
|
|
4873
|
-
|
|
4900
|
+
pu = w((kr, fu) => {
|
|
4874
4901
|
"use strict";
|
|
4875
4902
|
kr.__esModule = !0;
|
|
4876
|
-
var
|
|
4877
|
-
function
|
|
4903
|
+
var Ym = zm(je()), Vm = M();
|
|
4904
|
+
function zm(t) {
|
|
4878
4905
|
return t && t.__esModule ? t : { default: t };
|
|
4879
4906
|
}
|
|
4880
|
-
function
|
|
4907
|
+
function jm(t, e) {
|
|
4881
4908
|
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
|
|
4882
4909
|
}
|
|
4883
|
-
function
|
|
4910
|
+
function Hm(t, e) {
|
|
4884
4911
|
if (!t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4885
4912
|
return e && (typeof e == "object" || typeof e == "function") ? e : t;
|
|
4886
4913
|
}
|
|
4887
|
-
function
|
|
4914
|
+
function Qm(t, e) {
|
|
4888
4915
|
if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof e);
|
|
4889
4916
|
t.prototype = Object.create(e && e.prototype, { constructor: {
|
|
4890
4917
|
value: t,
|
|
@@ -4894,31 +4921,31 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
4894
4921
|
} }), e && (Object.setPrototypeOf ? Object.setPrototypeOf(t, e) : t.__proto__ = e);
|
|
4895
4922
|
}
|
|
4896
4923
|
kr.default = (function(t) {
|
|
4897
|
-
|
|
4924
|
+
Qm(e, t);
|
|
4898
4925
|
function e(s) {
|
|
4899
|
-
|
|
4900
|
-
var r =
|
|
4901
|
-
return r.type =
|
|
4926
|
+
jm(this, e);
|
|
4927
|
+
var r = Hm(this, t.call(this, s));
|
|
4928
|
+
return r.type = Vm.UNIVERSAL, r.value = "*", r;
|
|
4902
4929
|
}
|
|
4903
4930
|
return e;
|
|
4904
|
-
})(
|
|
4905
|
-
|
|
4931
|
+
})(Ym.default);
|
|
4932
|
+
fu.exports = kr.default;
|
|
4906
4933
|
});
|
|
4907
|
-
|
|
4934
|
+
mu = w((Or, hu) => {
|
|
4908
4935
|
"use strict";
|
|
4909
4936
|
Or.__esModule = !0;
|
|
4910
|
-
var
|
|
4911
|
-
function
|
|
4937
|
+
var Jm = ed(Ce()), Zm = M();
|
|
4938
|
+
function ed(t) {
|
|
4912
4939
|
return t && t.__esModule ? t : { default: t };
|
|
4913
4940
|
}
|
|
4914
|
-
function
|
|
4941
|
+
function td(t, e) {
|
|
4915
4942
|
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
|
|
4916
4943
|
}
|
|
4917
|
-
function
|
|
4944
|
+
function rd(t, e) {
|
|
4918
4945
|
if (!t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4919
4946
|
return e && (typeof e == "object" || typeof e == "function") ? e : t;
|
|
4920
4947
|
}
|
|
4921
|
-
function
|
|
4948
|
+
function sd(t, e) {
|
|
4922
4949
|
if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof e);
|
|
4923
4950
|
t.prototype = Object.create(e && e.prototype, { constructor: {
|
|
4924
4951
|
value: t,
|
|
@@ -4928,31 +4955,31 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
4928
4955
|
} }), e && (Object.setPrototypeOf ? Object.setPrototypeOf(t, e) : t.__proto__ = e);
|
|
4929
4956
|
}
|
|
4930
4957
|
Or.default = (function(t) {
|
|
4931
|
-
|
|
4958
|
+
sd(e, t);
|
|
4932
4959
|
function e(s) {
|
|
4933
|
-
|
|
4934
|
-
var r =
|
|
4935
|
-
return r.type =
|
|
4960
|
+
td(this, e);
|
|
4961
|
+
var r = rd(this, t.call(this, s));
|
|
4962
|
+
return r.type = Zm.COMBINATOR, r;
|
|
4936
4963
|
}
|
|
4937
4964
|
return e;
|
|
4938
|
-
})(
|
|
4939
|
-
|
|
4965
|
+
})(Jm.default);
|
|
4966
|
+
hu.exports = Or.default;
|
|
4940
4967
|
});
|
|
4941
|
-
|
|
4968
|
+
yu = w((Ar, du) => {
|
|
4942
4969
|
"use strict";
|
|
4943
4970
|
Ar.__esModule = !0;
|
|
4944
|
-
var
|
|
4945
|
-
function
|
|
4971
|
+
var od = ud(Ce()), ad = M();
|
|
4972
|
+
function ud(t) {
|
|
4946
4973
|
return t && t.__esModule ? t : { default: t };
|
|
4947
4974
|
}
|
|
4948
|
-
function
|
|
4975
|
+
function ld(t, e) {
|
|
4949
4976
|
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
|
|
4950
4977
|
}
|
|
4951
|
-
function
|
|
4978
|
+
function cd(t, e) {
|
|
4952
4979
|
if (!t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4953
4980
|
return e && (typeof e == "object" || typeof e == "function") ? e : t;
|
|
4954
4981
|
}
|
|
4955
|
-
function
|
|
4982
|
+
function fd(t, e) {
|
|
4956
4983
|
if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof e);
|
|
4957
4984
|
t.prototype = Object.create(e && e.prototype, { constructor: {
|
|
4958
4985
|
value: t,
|
|
@@ -4962,35 +4989,35 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
4962
4989
|
} }), e && (Object.setPrototypeOf ? Object.setPrototypeOf(t, e) : t.__proto__ = e);
|
|
4963
4990
|
}
|
|
4964
4991
|
Ar.default = (function(t) {
|
|
4965
|
-
|
|
4992
|
+
fd(e, t);
|
|
4966
4993
|
function e(s) {
|
|
4967
|
-
|
|
4968
|
-
var r =
|
|
4969
|
-
return r.type =
|
|
4994
|
+
ld(this, e);
|
|
4995
|
+
var r = cd(this, t.call(this, s));
|
|
4996
|
+
return r.type = ad.NESTING, r.value = "&", r;
|
|
4970
4997
|
}
|
|
4971
4998
|
return e;
|
|
4972
|
-
})(
|
|
4973
|
-
|
|
4999
|
+
})(od.default);
|
|
5000
|
+
du.exports = Ar.default;
|
|
4974
5001
|
});
|
|
4975
|
-
|
|
5002
|
+
wu = w((Cr, gu) => {
|
|
4976
5003
|
"use strict";
|
|
4977
5004
|
Cr.__esModule = !0;
|
|
4978
|
-
Cr.default =
|
|
4979
|
-
function
|
|
5005
|
+
Cr.default = hd;
|
|
5006
|
+
function hd(t) {
|
|
4980
5007
|
return t.sort(function(e, s) {
|
|
4981
5008
|
return e - s;
|
|
4982
5009
|
});
|
|
4983
5010
|
}
|
|
4984
|
-
|
|
5011
|
+
gu.exports = Cr.default;
|
|
4985
5012
|
});
|
|
4986
|
-
|
|
5013
|
+
Ou = w((Rr, ku) => {
|
|
4987
5014
|
"use strict";
|
|
4988
5015
|
Rr.__esModule = !0;
|
|
4989
|
-
Rr.default =
|
|
4990
|
-
var
|
|
4991
|
-
function
|
|
4992
|
-
for (var e = [], s = t.css.valueOf(), r = void 0, n = void 0, i = void 0, o = void 0, u = void 0, a = void 0, c = void 0, f = void 0, h = void 0, l = void 0, d = void 0, x = s.length, m = -1, p = 1, y = 0, g = function(C,
|
|
4993
|
-
if (t.safe) s +=
|
|
5016
|
+
Rr.default = Sd;
|
|
5017
|
+
var vu = 39, md = 34, Xs = 92, xu = 47, St = 10, Js = 32, Zs = 12, en = 9, tn = 13, _u = 43, bu = 62, Eu = 126, Su = 124, dd = 44, yd = 40, gd = 41, wd = 91, vd = 93, xd = 59, Tu = 42, _d = 58, bd = 38, Ed = 64, Nr = /[ \n\t\r\{\(\)'"\\;/]/g, Pr = /[ \n\t\r\(\)\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g;
|
|
5018
|
+
function Sd(t) {
|
|
5019
|
+
for (var e = [], s = t.css.valueOf(), r = void 0, n = void 0, i = void 0, o = void 0, u = void 0, a = void 0, c = void 0, f = void 0, h = void 0, l = void 0, d = void 0, x = s.length, m = -1, p = 1, y = 0, g = function(C, q) {
|
|
5020
|
+
if (t.safe) s += q, n = s.length - 1;
|
|
4994
5021
|
else throw t.error("Unclosed " + C, p, y - m, y);
|
|
4995
5022
|
}; y < x;) {
|
|
4996
5023
|
switch (r = s.charCodeAt(y), r === St && (m = y, p += 1), r) {
|
|
@@ -5011,14 +5038,14 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
5011
5038
|
y
|
|
5012
5039
|
]), y = n - 1;
|
|
5013
5040
|
break;
|
|
5014
|
-
case xu:
|
|
5015
5041
|
case _u:
|
|
5016
5042
|
case bu:
|
|
5017
5043
|
case Eu:
|
|
5044
|
+
case Su:
|
|
5018
5045
|
n = y;
|
|
5019
5046
|
do
|
|
5020
5047
|
n += 1, r = s.charCodeAt(n);
|
|
5021
|
-
while (r ===
|
|
5048
|
+
while (r === _u || r === bu || r === Eu || r === Su);
|
|
5022
5049
|
e.push([
|
|
5023
5050
|
"combinator",
|
|
5024
5051
|
s.slice(y, n),
|
|
@@ -5027,7 +5054,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
5027
5054
|
y
|
|
5028
5055
|
]), y = n - 1;
|
|
5029
5056
|
break;
|
|
5030
|
-
case
|
|
5057
|
+
case Tu:
|
|
5031
5058
|
e.push([
|
|
5032
5059
|
"*",
|
|
5033
5060
|
"*",
|
|
@@ -5036,7 +5063,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
5036
5063
|
y
|
|
5037
5064
|
]);
|
|
5038
5065
|
break;
|
|
5039
|
-
case
|
|
5066
|
+
case bd:
|
|
5040
5067
|
e.push([
|
|
5041
5068
|
"&",
|
|
5042
5069
|
"&",
|
|
@@ -5045,7 +5072,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
5045
5072
|
y
|
|
5046
5073
|
]);
|
|
5047
5074
|
break;
|
|
5048
|
-
case
|
|
5075
|
+
case dd:
|
|
5049
5076
|
e.push([
|
|
5050
5077
|
",",
|
|
5051
5078
|
",",
|
|
@@ -5054,7 +5081,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
5054
5081
|
y
|
|
5055
5082
|
]);
|
|
5056
5083
|
break;
|
|
5057
|
-
case
|
|
5084
|
+
case wd:
|
|
5058
5085
|
e.push([
|
|
5059
5086
|
"[",
|
|
5060
5087
|
"[",
|
|
@@ -5063,7 +5090,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
5063
5090
|
y
|
|
5064
5091
|
]);
|
|
5065
5092
|
break;
|
|
5066
|
-
case
|
|
5093
|
+
case vd:
|
|
5067
5094
|
e.push([
|
|
5068
5095
|
"]",
|
|
5069
5096
|
"]",
|
|
@@ -5072,7 +5099,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
5072
5099
|
y
|
|
5073
5100
|
]);
|
|
5074
5101
|
break;
|
|
5075
|
-
case
|
|
5102
|
+
case _d:
|
|
5076
5103
|
e.push([
|
|
5077
5104
|
":",
|
|
5078
5105
|
":",
|
|
@@ -5081,7 +5108,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
5081
5108
|
y
|
|
5082
5109
|
]);
|
|
5083
5110
|
break;
|
|
5084
|
-
case
|
|
5111
|
+
case xd:
|
|
5085
5112
|
e.push([
|
|
5086
5113
|
";",
|
|
5087
5114
|
";",
|
|
@@ -5090,7 +5117,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
5090
5117
|
y
|
|
5091
5118
|
]);
|
|
5092
5119
|
break;
|
|
5093
|
-
case
|
|
5120
|
+
case yd:
|
|
5094
5121
|
e.push([
|
|
5095
5122
|
"(",
|
|
5096
5123
|
"(",
|
|
@@ -5099,7 +5126,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
5099
5126
|
y
|
|
5100
5127
|
]);
|
|
5101
5128
|
break;
|
|
5102
|
-
case
|
|
5129
|
+
case gd:
|
|
5103
5130
|
e.push([
|
|
5104
5131
|
")",
|
|
5105
5132
|
")",
|
|
@@ -5108,9 +5135,9 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
5108
5135
|
y
|
|
5109
5136
|
]);
|
|
5110
5137
|
break;
|
|
5111
|
-
case
|
|
5112
|
-
case
|
|
5113
|
-
i = r ===
|
|
5138
|
+
case vu:
|
|
5139
|
+
case md:
|
|
5140
|
+
i = r === vu ? "'" : "\"", n = y;
|
|
5114
5141
|
do
|
|
5115
5142
|
for (l = !1, n = s.indexOf(i, n + 1), n === -1 && g("quote", i), d = n; s.charCodeAt(d - 1) === Xs;) d -= 1, l = !l;
|
|
5116
5143
|
while (l);
|
|
@@ -5124,7 +5151,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
5124
5151
|
y
|
|
5125
5152
|
]), y = n;
|
|
5126
5153
|
break;
|
|
5127
|
-
case
|
|
5154
|
+
case Ed:
|
|
5128
5155
|
Nr.lastIndex = y + 1, Nr.test(s), Nr.lastIndex === 0 ? n = s.length - 1 : n = Nr.lastIndex - 2, e.push([
|
|
5129
5156
|
"at-word",
|
|
5130
5157
|
s.slice(y, n + 1),
|
|
@@ -5137,7 +5164,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
5137
5164
|
break;
|
|
5138
5165
|
case Xs:
|
|
5139
5166
|
for (n = y, c = !0; s.charCodeAt(n + 1) === Xs;) n += 1, c = !c;
|
|
5140
|
-
r = s.charCodeAt(n + 1), c && r !==
|
|
5167
|
+
r = s.charCodeAt(n + 1), c && r !== xu && r !== Js && r !== St && r !== en && r !== tn && r !== Zs && (n += 1), e.push([
|
|
5141
5168
|
"word",
|
|
5142
5169
|
s.slice(y, n + 1),
|
|
5143
5170
|
p,
|
|
@@ -5148,7 +5175,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
5148
5175
|
]), y = n;
|
|
5149
5176
|
break;
|
|
5150
5177
|
default:
|
|
5151
|
-
r ===
|
|
5178
|
+
r === xu && s.charCodeAt(y + 1) === Tu ? (n = s.indexOf("*/", y + 2) + 1, n === 0 && g("comment", "*/"), a = s.slice(y, n + 1), o = a.split(`
|
|
5152
5179
|
`), u = o.length - 1, u > 0 ? (f = p + u, h = n - o[u].length) : (f = p, h = m), e.push([
|
|
5153
5180
|
"comment",
|
|
5154
5181
|
a,
|
|
@@ -5172,12 +5199,12 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
5172
5199
|
}
|
|
5173
5200
|
return e;
|
|
5174
5201
|
}
|
|
5175
|
-
|
|
5202
|
+
ku.exports = Rr.default;
|
|
5176
5203
|
});
|
|
5177
|
-
|
|
5204
|
+
Nu = w((Ir, Cu) => {
|
|
5178
5205
|
"use strict";
|
|
5179
5206
|
Ir.__esModule = !0;
|
|
5180
|
-
var
|
|
5207
|
+
var Td = (function() {
|
|
5181
5208
|
function t(e, s) {
|
|
5182
5209
|
for (var r = 0; r < s.length; r++) {
|
|
5183
5210
|
var n = s[r];
|
|
@@ -5187,27 +5214,27 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
5187
5214
|
return function(e, s, r) {
|
|
5188
5215
|
return s && t(e.prototype, s), r && t(e, r), e;
|
|
5189
5216
|
};
|
|
5190
|
-
})(),
|
|
5191
|
-
function
|
|
5217
|
+
})(), Od = L(Hs()), rn = L(Qs()), Nd = L(Ks()), Rd = L(ja()), sn = L(Qa()), qd = L(Ja()), Md = L(eu()), Ud = L(ru()), Wd = L(nu()), Gd = L(ou()), Vd = L(uu()), jd = L(cu()), Qd = L(pu()), Xd = L(mu()), Zd = L(yu()), ty = L(wu()), Au = L(Ou()), ny = iy(M());
|
|
5218
|
+
function iy(t) {
|
|
5192
5219
|
if (t && t.__esModule) return t;
|
|
5193
5220
|
var e = {};
|
|
5194
5221
|
if (t != null) for (var s in t) Object.prototype.hasOwnProperty.call(t, s) && (e[s] = t[s]);
|
|
5195
5222
|
return e.default = t, e;
|
|
5196
5223
|
}
|
|
5197
|
-
function
|
|
5224
|
+
function L(t) {
|
|
5198
5225
|
return t && t.__esModule ? t : { default: t };
|
|
5199
5226
|
}
|
|
5200
|
-
function
|
|
5227
|
+
function oy(t, e) {
|
|
5201
5228
|
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
|
|
5202
5229
|
}
|
|
5203
5230
|
Ir.default = (function() {
|
|
5204
5231
|
function t(e) {
|
|
5205
|
-
|
|
5232
|
+
oy(this, t), this.input = e, this.lossy = e.options.lossless === !1, this.position = 0, this.root = new Rd.default();
|
|
5206
5233
|
var s = new sn.default();
|
|
5207
|
-
return this.root.append(s), this.current = s, this.lossy ? this.tokens = (0,
|
|
5234
|
+
return this.root.append(s), this.current = s, this.lossy ? this.tokens = (0, Au.default)({
|
|
5208
5235
|
safe: e.safe,
|
|
5209
5236
|
css: e.css.trim()
|
|
5210
|
-
}) : this.tokens = (0,
|
|
5237
|
+
}) : this.tokens = (0, Au.default)(e), this.loop();
|
|
5211
5238
|
}
|
|
5212
5239
|
return t.prototype.attribute = function() {
|
|
5213
5240
|
var s = "", r = void 0, n = this.currToken;
|
|
@@ -5228,14 +5255,14 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
5228
5255
|
},
|
|
5229
5256
|
sourceIndex: n[4]
|
|
5230
5257
|
};
|
|
5231
|
-
if (o.length > 1 ? (o[0] === "" && (o[0] = !0), u.attribute = this.parseValue(o[2]), u.namespace = this.parseNamespace(o[0])) : u.attribute = this.parseValue(i[0]), r = new
|
|
5258
|
+
if (o.length > 1 ? (o[0] === "" && (o[0] = !0), u.attribute = this.parseValue(o[2]), u.namespace = this.parseNamespace(o[0])) : u.attribute = this.parseValue(i[0]), r = new jd.default(u), i[2]) {
|
|
5232
5259
|
var a = i[2].split(/(\s+i\s*?)$/), c = a[0].trim();
|
|
5233
5260
|
r.value = this.lossy ? c : a[0], a[1] && (r.insensitive = !0, this.lossy || (r.raws.insensitive = a[1])), r.quoted = c[0] === "'" || c[0] === "\"", r.raws.unquoted = r.quoted ? c.slice(1, -1) : c;
|
|
5234
5261
|
}
|
|
5235
5262
|
this.newNode(r), this.position++;
|
|
5236
5263
|
}, t.prototype.combinator = function() {
|
|
5237
5264
|
if (this.currToken[1] === "|") return this.namespace();
|
|
5238
|
-
for (var s = new
|
|
5265
|
+
for (var s = new Xd.default({
|
|
5239
5266
|
value: "",
|
|
5240
5267
|
source: {
|
|
5241
5268
|
start: {
|
|
@@ -5258,7 +5285,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
5258
5285
|
var s = new sn.default();
|
|
5259
5286
|
this.current.parent.append(s), this.current = s, this.position++;
|
|
5260
5287
|
}, t.prototype.comment = function() {
|
|
5261
|
-
var s = new
|
|
5288
|
+
var s = new Md.default({
|
|
5262
5289
|
value: this.currToken[1],
|
|
5263
5290
|
source: {
|
|
5264
5291
|
start: {
|
|
@@ -5286,7 +5313,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
5286
5313
|
if (this.nextToken[0] === "word") return this.position++, this.word(s);
|
|
5287
5314
|
if (this.nextToken[0] === "*") return this.position++, this.universal(s);
|
|
5288
5315
|
}, t.prototype.nesting = function() {
|
|
5289
|
-
this.newNode(new
|
|
5316
|
+
this.newNode(new Zd.default({
|
|
5290
5317
|
value: this.currToken[1],
|
|
5291
5318
|
source: {
|
|
5292
5319
|
start: {
|
|
@@ -5302,7 +5329,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
5302
5329
|
})), this.position++;
|
|
5303
5330
|
}, t.prototype.parentheses = function() {
|
|
5304
5331
|
var s = this.current.last;
|
|
5305
|
-
if (s && s.type ===
|
|
5332
|
+
if (s && s.type === ny.PSEUDO) {
|
|
5306
5333
|
var r = new sn.default(), n = this.current;
|
|
5307
5334
|
s.append(r), this.current = r;
|
|
5308
5335
|
var i = 1;
|
|
@@ -5319,7 +5346,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
5319
5346
|
if (this.currToken[0] === "word") {
|
|
5320
5347
|
var i = void 0;
|
|
5321
5348
|
this.splitWord(!1, function(o, u) {
|
|
5322
|
-
r += o, i = new
|
|
5349
|
+
r += o, i = new Vd.default({
|
|
5323
5350
|
value: r,
|
|
5324
5351
|
source: {
|
|
5325
5352
|
start: {
|
|
@@ -5340,7 +5367,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
5340
5367
|
this.position === 0 || this.prevToken[0] === "," || this.prevToken[0] === "(" ? (this.spaces = this.parseSpace(s[1]), this.position++) : this.position === this.tokens.length - 1 || this.nextToken[0] === "," || this.nextToken[0] === ")" ? (this.current.last.spaces.after = this.parseSpace(s[1]), this.position++) : this.combinator();
|
|
5341
5368
|
}, t.prototype.string = function() {
|
|
5342
5369
|
var s = this.currToken;
|
|
5343
|
-
this.newNode(new
|
|
5370
|
+
this.newNode(new Gd.default({
|
|
5344
5371
|
value: this.currToken[1],
|
|
5345
5372
|
source: {
|
|
5346
5373
|
start: {
|
|
@@ -5357,7 +5384,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
5357
5384
|
}, t.prototype.universal = function(s) {
|
|
5358
5385
|
var r = this.nextToken;
|
|
5359
5386
|
if (r && r[1] === "|") return this.position++, this.namespace();
|
|
5360
|
-
this.newNode(new
|
|
5387
|
+
this.newNode(new Qd.default({
|
|
5361
5388
|
value: this.currToken[1],
|
|
5362
5389
|
source: {
|
|
5363
5390
|
start: {
|
|
@@ -5385,7 +5412,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
5385
5412
|
h.length && (f = f.filter(function(d) {
|
|
5386
5413
|
return !~h.indexOf(d);
|
|
5387
5414
|
}));
|
|
5388
|
-
var l = (0,
|
|
5415
|
+
var l = (0, ty.default)((0, Nd.default)((0, Od.default)([
|
|
5389
5416
|
[0],
|
|
5390
5417
|
c,
|
|
5391
5418
|
f
|
|
@@ -5394,7 +5421,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
5394
5421
|
var m = l[x + 1] || o.length, p = o.slice(d, m);
|
|
5395
5422
|
if (x === 0 && r) return r.call(n, p, l.length);
|
|
5396
5423
|
var y = void 0;
|
|
5397
|
-
~c.indexOf(d) ? y = new
|
|
5424
|
+
~c.indexOf(d) ? y = new qd.default({
|
|
5398
5425
|
value: p.slice(1),
|
|
5399
5426
|
source: {
|
|
5400
5427
|
start: {
|
|
@@ -5407,7 +5434,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
5407
5434
|
}
|
|
5408
5435
|
},
|
|
5409
5436
|
sourceIndex: n.currToken[6] + l[x]
|
|
5410
|
-
}) : ~f.indexOf(d) ? y = new
|
|
5437
|
+
}) : ~f.indexOf(d) ? y = new Ud.default({
|
|
5411
5438
|
value: p.slice(1),
|
|
5412
5439
|
source: {
|
|
5413
5440
|
start: {
|
|
@@ -5420,7 +5447,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
5420
5447
|
}
|
|
5421
5448
|
},
|
|
5422
5449
|
sourceIndex: n.currToken[6] + l[x]
|
|
5423
|
-
}) : y = new
|
|
5450
|
+
}) : y = new Wd.default({
|
|
5424
5451
|
value: p,
|
|
5425
5452
|
source: {
|
|
5426
5453
|
start: {
|
|
@@ -5501,7 +5528,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
5501
5528
|
return this.lossy ? s[0] === "space" ? this.parseSpace(s[1], " ") : this.parseValue(s[1]) : s[1];
|
|
5502
5529
|
}, t.prototype.newNode = function(s, r) {
|
|
5503
5530
|
return r && (s.namespace = this.parseNamespace(r)), this.spaces && (s.spaces.before = this.spaces, this.spaces = ""), this.current.append(s);
|
|
5504
|
-
},
|
|
5531
|
+
}, Td(t, [
|
|
5505
5532
|
{
|
|
5506
5533
|
key: "currToken",
|
|
5507
5534
|
get: function() {
|
|
@@ -5522,12 +5549,12 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
5522
5549
|
}
|
|
5523
5550
|
]), t;
|
|
5524
5551
|
})();
|
|
5525
|
-
|
|
5552
|
+
Cu.exports = Ir.default;
|
|
5526
5553
|
});
|
|
5527
|
-
|
|
5554
|
+
Ru = w((Lr, Pu) => {
|
|
5528
5555
|
"use strict";
|
|
5529
5556
|
Lr.__esModule = !0;
|
|
5530
|
-
var
|
|
5557
|
+
var uy = (function() {
|
|
5531
5558
|
function t(e, s) {
|
|
5532
5559
|
for (var r = 0; r < s.length; r++) {
|
|
5533
5560
|
var n = s[r];
|
|
@@ -5537,19 +5564,19 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
5537
5564
|
return function(e, s, r) {
|
|
5538
5565
|
return s && t(e.prototype, s), r && t(e, r), e;
|
|
5539
5566
|
};
|
|
5540
|
-
})(),
|
|
5541
|
-
function
|
|
5567
|
+
})(), cy = fy(Nu());
|
|
5568
|
+
function fy(t) {
|
|
5542
5569
|
return t && t.__esModule ? t : { default: t };
|
|
5543
5570
|
}
|
|
5544
|
-
function
|
|
5571
|
+
function py(t, e) {
|
|
5545
5572
|
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
|
|
5546
5573
|
}
|
|
5547
5574
|
Lr.default = (function() {
|
|
5548
5575
|
function t(e) {
|
|
5549
|
-
return
|
|
5576
|
+
return py(this, t), this.func = e || function() {}, this;
|
|
5550
5577
|
}
|
|
5551
5578
|
return t.prototype.process = function(s) {
|
|
5552
|
-
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = new
|
|
5579
|
+
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = new cy.default({
|
|
5553
5580
|
css: s,
|
|
5554
5581
|
error: function(o) {
|
|
5555
5582
|
throw new Error(o);
|
|
@@ -5557,16 +5584,16 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
5557
5584
|
options: r
|
|
5558
5585
|
});
|
|
5559
5586
|
return this.res = n, this.func(n), this;
|
|
5560
|
-
},
|
|
5587
|
+
}, uy(t, [{
|
|
5561
5588
|
key: "result",
|
|
5562
5589
|
get: function() {
|
|
5563
5590
|
return String(this.res);
|
|
5564
5591
|
}
|
|
5565
5592
|
}]), t;
|
|
5566
5593
|
})();
|
|
5567
|
-
|
|
5594
|
+
Pu.exports = Lr.default;
|
|
5568
5595
|
});
|
|
5569
|
-
|
|
5596
|
+
j = w((fb, Lu) => {
|
|
5570
5597
|
"use strict";
|
|
5571
5598
|
var nn = function(t, e) {
|
|
5572
5599
|
let s = new t.constructor();
|
|
@@ -5577,7 +5604,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
5577
5604
|
}
|
|
5578
5605
|
return s;
|
|
5579
5606
|
};
|
|
5580
|
-
|
|
5607
|
+
Lu.exports = class {
|
|
5581
5608
|
constructor(e) {
|
|
5582
5609
|
e = e || {}, this.raws = {
|
|
5583
5610
|
before: "",
|
|
@@ -5673,9 +5700,9 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
5673
5700
|
}
|
|
5674
5701
|
};
|
|
5675
5702
|
});
|
|
5676
|
-
U = w((
|
|
5703
|
+
U = w((pb, qu) => {
|
|
5677
5704
|
"use strict";
|
|
5678
|
-
var
|
|
5705
|
+
var dy = j(), He = class extends dy {
|
|
5679
5706
|
constructor(e) {
|
|
5680
5707
|
super(e), this.nodes || (this.nodes = []);
|
|
5681
5708
|
}
|
|
@@ -5760,29 +5787,29 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
5760
5787
|
return this.walkType(t, s);
|
|
5761
5788
|
});
|
|
5762
5789
|
};
|
|
5763
|
-
|
|
5790
|
+
qu.exports = He;
|
|
5764
5791
|
});
|
|
5765
|
-
|
|
5792
|
+
Mu = w((mb, Du) => {
|
|
5766
5793
|
"use strict";
|
|
5767
|
-
var
|
|
5768
|
-
|
|
5794
|
+
var yy = U();
|
|
5795
|
+
Du.exports = class extends yy {
|
|
5769
5796
|
constructor(e) {
|
|
5770
5797
|
super(e), this.type = "root";
|
|
5771
5798
|
}
|
|
5772
5799
|
};
|
|
5773
5800
|
});
|
|
5774
|
-
|
|
5801
|
+
Uu = w((yb, Bu) => {
|
|
5775
5802
|
"use strict";
|
|
5776
|
-
var
|
|
5777
|
-
|
|
5803
|
+
var gy = U();
|
|
5804
|
+
Bu.exports = class extends gy {
|
|
5778
5805
|
constructor(e) {
|
|
5779
5806
|
super(e), this.type = "value", this.unbalanced = 0;
|
|
5780
5807
|
}
|
|
5781
5808
|
};
|
|
5782
5809
|
});
|
|
5783
|
-
|
|
5810
|
+
$u = w((gb, Wu) => {
|
|
5784
5811
|
"use strict";
|
|
5785
|
-
var
|
|
5812
|
+
var Fu = U(), qr = class extends Fu {
|
|
5786
5813
|
constructor(e) {
|
|
5787
5814
|
super(e), this.type = "atword";
|
|
5788
5815
|
}
|
|
@@ -5796,32 +5823,32 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
5796
5823
|
].join("");
|
|
5797
5824
|
}
|
|
5798
5825
|
};
|
|
5799
|
-
|
|
5800
|
-
|
|
5826
|
+
Fu.registerWalker(qr);
|
|
5827
|
+
Wu.exports = qr;
|
|
5801
5828
|
});
|
|
5802
|
-
|
|
5829
|
+
Yu = w((wb, Gu) => {
|
|
5803
5830
|
"use strict";
|
|
5804
|
-
var
|
|
5831
|
+
var wy = U(), vy = j(), Dr = class extends vy {
|
|
5805
5832
|
constructor(e) {
|
|
5806
5833
|
super(e), this.type = "colon";
|
|
5807
5834
|
}
|
|
5808
5835
|
};
|
|
5809
|
-
|
|
5810
|
-
|
|
5836
|
+
wy.registerWalker(Dr);
|
|
5837
|
+
Gu.exports = Dr;
|
|
5811
5838
|
});
|
|
5812
|
-
|
|
5839
|
+
zu = w((vb, Vu) => {
|
|
5813
5840
|
"use strict";
|
|
5814
|
-
var
|
|
5841
|
+
var xy = U(), _y = j(), Mr = class extends _y {
|
|
5815
5842
|
constructor(e) {
|
|
5816
5843
|
super(e), this.type = "comma";
|
|
5817
5844
|
}
|
|
5818
5845
|
};
|
|
5819
|
-
|
|
5820
|
-
|
|
5846
|
+
xy.registerWalker(Mr);
|
|
5847
|
+
Vu.exports = Mr;
|
|
5821
5848
|
});
|
|
5822
|
-
|
|
5849
|
+
Hu = w((xb, ju) => {
|
|
5823
5850
|
"use strict";
|
|
5824
|
-
var
|
|
5851
|
+
var by = U(), Ey = j(), Br = class extends Ey {
|
|
5825
5852
|
constructor(e) {
|
|
5826
5853
|
super(e), this.type = "comment", this.inline = Object(e).inline || !1;
|
|
5827
5854
|
}
|
|
@@ -5835,22 +5862,22 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
5835
5862
|
].join("");
|
|
5836
5863
|
}
|
|
5837
5864
|
};
|
|
5838
|
-
|
|
5839
|
-
|
|
5865
|
+
by.registerWalker(Br);
|
|
5866
|
+
ju.exports = Br;
|
|
5840
5867
|
});
|
|
5841
|
-
|
|
5868
|
+
Xu = w((_b, Ku) => {
|
|
5842
5869
|
"use strict";
|
|
5843
|
-
var
|
|
5870
|
+
var Qu = U(), Ur = class extends Qu {
|
|
5844
5871
|
constructor(e) {
|
|
5845
5872
|
super(e), this.type = "func", this.unbalanced = -1;
|
|
5846
5873
|
}
|
|
5847
5874
|
};
|
|
5848
|
-
|
|
5849
|
-
|
|
5875
|
+
Qu.registerWalker(Ur);
|
|
5876
|
+
Ku.exports = Ur;
|
|
5850
5877
|
});
|
|
5851
|
-
|
|
5878
|
+
Zu = w((bb, Ju) => {
|
|
5852
5879
|
"use strict";
|
|
5853
|
-
var
|
|
5880
|
+
var Sy = U(), Ty = j(), Fr = class extends Ty {
|
|
5854
5881
|
constructor(e) {
|
|
5855
5882
|
super(e), this.type = "number", this.unit = Object(e).unit || "";
|
|
5856
5883
|
}
|
|
@@ -5863,32 +5890,32 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
5863
5890
|
].join("");
|
|
5864
5891
|
}
|
|
5865
5892
|
};
|
|
5866
|
-
|
|
5867
|
-
|
|
5893
|
+
Sy.registerWalker(Fr);
|
|
5894
|
+
Ju.exports = Fr;
|
|
5868
5895
|
});
|
|
5869
|
-
|
|
5896
|
+
tl = w((Eb, el) => {
|
|
5870
5897
|
"use strict";
|
|
5871
|
-
var
|
|
5898
|
+
var ky = U(), Oy = j(), Wr = class extends Oy {
|
|
5872
5899
|
constructor(e) {
|
|
5873
5900
|
super(e), this.type = "operator";
|
|
5874
5901
|
}
|
|
5875
5902
|
};
|
|
5876
|
-
|
|
5877
|
-
|
|
5903
|
+
ky.registerWalker(Wr);
|
|
5904
|
+
el.exports = Wr;
|
|
5878
5905
|
});
|
|
5879
|
-
|
|
5906
|
+
sl = w((Sb, rl) => {
|
|
5880
5907
|
"use strict";
|
|
5881
|
-
var
|
|
5908
|
+
var Ay = U(), Cy = j(), $r = class extends Cy {
|
|
5882
5909
|
constructor(e) {
|
|
5883
5910
|
super(e), this.type = "paren", this.parenType = "";
|
|
5884
5911
|
}
|
|
5885
5912
|
};
|
|
5886
|
-
|
|
5887
|
-
|
|
5913
|
+
Ay.registerWalker($r);
|
|
5914
|
+
rl.exports = $r;
|
|
5888
5915
|
});
|
|
5889
|
-
|
|
5916
|
+
il = w((Tb, nl) => {
|
|
5890
5917
|
"use strict";
|
|
5891
|
-
var
|
|
5918
|
+
var Ny = U(), Py = j(), Gr = class extends Py {
|
|
5892
5919
|
constructor(e) {
|
|
5893
5920
|
super(e), this.type = "string";
|
|
5894
5921
|
}
|
|
@@ -5903,46 +5930,46 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
5903
5930
|
].join("");
|
|
5904
5931
|
}
|
|
5905
5932
|
};
|
|
5906
|
-
|
|
5907
|
-
|
|
5933
|
+
Ny.registerWalker(Gr);
|
|
5934
|
+
nl.exports = Gr;
|
|
5908
5935
|
});
|
|
5909
|
-
|
|
5936
|
+
al = w((kb, ol) => {
|
|
5910
5937
|
"use strict";
|
|
5911
|
-
var
|
|
5938
|
+
var Ry = U(), Iy = j(), Yr = class extends Iy {
|
|
5912
5939
|
constructor(e) {
|
|
5913
5940
|
super(e), this.type = "word";
|
|
5914
5941
|
}
|
|
5915
5942
|
};
|
|
5916
|
-
|
|
5917
|
-
|
|
5943
|
+
Ry.registerWalker(Yr);
|
|
5944
|
+
ol.exports = Yr;
|
|
5918
5945
|
});
|
|
5919
|
-
|
|
5946
|
+
ll = w((Ob, ul) => {
|
|
5920
5947
|
"use strict";
|
|
5921
|
-
var
|
|
5948
|
+
var Ly = U(), qy = j(), Vr = class extends qy {
|
|
5922
5949
|
constructor(e) {
|
|
5923
5950
|
super(e), this.type = "unicode-range";
|
|
5924
5951
|
}
|
|
5925
5952
|
};
|
|
5926
|
-
|
|
5927
|
-
|
|
5953
|
+
Ly.registerWalker(Vr);
|
|
5954
|
+
ul.exports = Vr;
|
|
5928
5955
|
});
|
|
5929
|
-
|
|
5956
|
+
fl = w((Ab, cl) => {
|
|
5930
5957
|
"use strict";
|
|
5931
5958
|
var on = class extends Error {
|
|
5932
5959
|
constructor(e) {
|
|
5933
5960
|
super(e), this.name = this.constructor.name, this.message = e || "An error ocurred while tokzenizing.", typeof Error.captureStackTrace == "function" ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error(e).stack;
|
|
5934
5961
|
}
|
|
5935
5962
|
};
|
|
5936
|
-
|
|
5963
|
+
cl.exports = on;
|
|
5937
5964
|
});
|
|
5938
|
-
|
|
5965
|
+
ml = w((Cb, hl) => {
|
|
5939
5966
|
"use strict";
|
|
5940
|
-
var zr = /[ \n\t\r\{\(\)'"\\;,/]/g,
|
|
5941
|
-
|
|
5967
|
+
var zr = /[ \n\t\r\{\(\)'"\\;,/]/g, Dy = /[ \n\t\r\(\)\{\}\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g, Qe = /[ \n\t\r\(\)\{\}\*:;@!&'"\-\+\|~>,\[\]\\]|\//g, My = /^[a-z0-9]/i, By = /^[a-f0-9?\-]/i, pl = fl();
|
|
5968
|
+
hl.exports = function(e, s) {
|
|
5942
5969
|
s = s || {};
|
|
5943
|
-
let r = [], n = e.valueOf(), i = n.length, o = -1, u = 1, a = 0, c = 0, f = null, h, l, d, x, m, p, g, v, C,
|
|
5970
|
+
let r = [], n = e.valueOf(), i = n.length, o = -1, u = 1, a = 0, c = 0, f = null, h, l, d, x, m, p, g, v, C, q, W;
|
|
5944
5971
|
function se(k) {
|
|
5945
|
-
throw new
|
|
5972
|
+
throw new pl(`Unclosed ${k} at line: ${u}, column: ${a - o}, token: ${a}`);
|
|
5946
5973
|
}
|
|
5947
5974
|
for (; a < i;) {
|
|
5948
5975
|
switch (h = n.charCodeAt(a), h === 10 && (o = a, u += 1), h) {
|
|
@@ -6035,7 +6062,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
6035
6062
|
case 34:
|
|
6036
6063
|
d = h === 39 ? "'" : "\"", l = a;
|
|
6037
6064
|
do
|
|
6038
|
-
for (C = !1, l = n.indexOf(d, l + 1), l === -1 && se("quote", d),
|
|
6065
|
+
for (C = !1, l = n.indexOf(d, l + 1), l === -1 && se("quote", d), q = l; n.charCodeAt(q - 1) === 92;) q -= 1, C = !C;
|
|
6039
6066
|
while (C);
|
|
6040
6067
|
r.push([
|
|
6041
6068
|
"string",
|
|
@@ -6100,9 +6127,9 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
6100
6127
|
if (h === 47 && (n.charCodeAt(a + 1) === 42 || s.loose && !f && n.charCodeAt(a + 1) === 47)) {
|
|
6101
6128
|
if (n.charCodeAt(a + 1) === 42) l = n.indexOf("*/", a + 2) + 1, l === 0 && se("comment", "*/");
|
|
6102
6129
|
else {
|
|
6103
|
-
let
|
|
6130
|
+
let S = n.indexOf(`
|
|
6104
6131
|
`, a + 2);
|
|
6105
|
-
l =
|
|
6132
|
+
l = S !== -1 ? S - 1 : i;
|
|
6106
6133
|
}
|
|
6107
6134
|
p = n.slice(a, l + 1), x = p.split(`
|
|
6108
6135
|
`), m = x.length - 1, m > 0 ? (g = u + m, v = l - x[m].length) : (g = u, v = o), r.push([
|
|
@@ -6114,7 +6141,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
6114
6141
|
l - v,
|
|
6115
6142
|
a
|
|
6116
6143
|
]), o = v, u = g, a = l;
|
|
6117
|
-
} else if (h === 35 && !
|
|
6144
|
+
} else if (h === 35 && !My.test(n.slice(a + 1, a + 2))) l = a + 1, r.push([
|
|
6118
6145
|
"#",
|
|
6119
6146
|
n.slice(a, l),
|
|
6120
6147
|
u,
|
|
@@ -6127,7 +6154,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
6127
6154
|
l = a + 2;
|
|
6128
6155
|
do
|
|
6129
6156
|
l += 1, h = n.charCodeAt(l);
|
|
6130
|
-
while (l < i &&
|
|
6157
|
+
while (l < i && By.test(n.slice(l, l + 1)));
|
|
6131
6158
|
r.push([
|
|
6132
6159
|
"unicoderange",
|
|
6133
6160
|
n.slice(a, l),
|
|
@@ -6147,10 +6174,10 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
6147
6174
|
a
|
|
6148
6175
|
]), a = l - 1;
|
|
6149
6176
|
else {
|
|
6150
|
-
let b =
|
|
6177
|
+
let b = Dy;
|
|
6151
6178
|
if (h >= 48 && h <= 57 && (b = Qe), b.lastIndex = a + 1, b.test(n), b.lastIndex === 0 ? l = n.length - 1 : l = b.lastIndex - 2, b === Qe || h === 46) {
|
|
6152
|
-
let
|
|
6153
|
-
(
|
|
6179
|
+
let S = n.charCodeAt(l), fn = n.charCodeAt(l + 1), pn = n.charCodeAt(l + 2);
|
|
6180
|
+
(S === 101 || S === 69) && (fn === 45 || fn === 43) && pn >= 48 && pn <= 57 && (Qe.lastIndex = l + 2, Qe.test(n), Qe.lastIndex === 0 ? l = n.length - 1 : l = Qe.lastIndex - 2);
|
|
6154
6181
|
}
|
|
6155
6182
|
r.push([
|
|
6156
6183
|
"word",
|
|
@@ -6169,34 +6196,34 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
6169
6196
|
return r;
|
|
6170
6197
|
};
|
|
6171
6198
|
});
|
|
6172
|
-
|
|
6199
|
+
yl = w((Nb, dl) => {
|
|
6173
6200
|
"use strict";
|
|
6174
6201
|
var an = class extends Error {
|
|
6175
6202
|
constructor(e) {
|
|
6176
6203
|
super(e), this.name = this.constructor.name, this.message = e || "An error ocurred while parsing.", typeof Error.captureStackTrace == "function" ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error(e).stack;
|
|
6177
6204
|
}
|
|
6178
6205
|
};
|
|
6179
|
-
|
|
6206
|
+
dl.exports = an;
|
|
6180
6207
|
});
|
|
6181
|
-
|
|
6208
|
+
xl = w((Rb, vl) => {
|
|
6182
6209
|
"use strict";
|
|
6183
|
-
var
|
|
6184
|
-
function
|
|
6210
|
+
var Uy = Mu(), Fy = Uu(), Wy = $u(), $y = Yu(), Gy = zu(), Yy = Hu(), Vy = Xu(), zy = Zu(), jy = tl(), gl = sl(), Hy = il(), wl = al(), Qy = ll(), Ky = ml(), Xy = Hs(), Jy = Qs(), Zy = Ks(), eg = yl();
|
|
6211
|
+
function tg(t) {
|
|
6185
6212
|
return t.sort((e, s) => e - s);
|
|
6186
6213
|
}
|
|
6187
|
-
|
|
6214
|
+
vl.exports = class {
|
|
6188
6215
|
constructor(e, s) {
|
|
6189
6216
|
let r = { loose: !1 };
|
|
6190
|
-
this.cache = [], this.input = e, this.options = Object.assign({}, r, s), this.position = 0, this.unbalanced = 0, this.root = new
|
|
6191
|
-
let n = new
|
|
6192
|
-
this.root.append(n), this.current = n, this.tokens =
|
|
6217
|
+
this.cache = [], this.input = e, this.options = Object.assign({}, r, s), this.position = 0, this.unbalanced = 0, this.root = new Uy();
|
|
6218
|
+
let n = new Fy();
|
|
6219
|
+
this.root.append(n), this.current = n, this.tokens = Ky(e, this.options);
|
|
6193
6220
|
}
|
|
6194
6221
|
parse() {
|
|
6195
6222
|
return this.loop();
|
|
6196
6223
|
}
|
|
6197
6224
|
colon() {
|
|
6198
6225
|
let e = this.currToken;
|
|
6199
|
-
this.newNode(new
|
|
6226
|
+
this.newNode(new $y({
|
|
6200
6227
|
value: e[1],
|
|
6201
6228
|
source: {
|
|
6202
6229
|
start: {
|
|
@@ -6213,7 +6240,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
6213
6240
|
}
|
|
6214
6241
|
comma() {
|
|
6215
6242
|
let e = this.currToken;
|
|
6216
|
-
this.newNode(new
|
|
6243
|
+
this.newNode(new Gy({
|
|
6217
6244
|
value: e[1],
|
|
6218
6245
|
source: {
|
|
6219
6246
|
start: {
|
|
@@ -6230,7 +6257,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
6230
6257
|
}
|
|
6231
6258
|
comment() {
|
|
6232
6259
|
let e = !1, s = this.currToken[1].replace(/\/\*|\*\//g, ""), r;
|
|
6233
|
-
this.options.loose && s.startsWith("//") && (s = s.substring(2), e = !0), r = new
|
|
6260
|
+
this.options.loose && s.startsWith("//") && (s = s.substring(2), e = !0), r = new Yy({
|
|
6234
6261
|
value: s,
|
|
6235
6262
|
inline: e,
|
|
6236
6263
|
source: {
|
|
@@ -6247,7 +6274,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
6247
6274
|
}), this.newNode(r), this.position++;
|
|
6248
6275
|
}
|
|
6249
6276
|
error(e, s) {
|
|
6250
|
-
throw new
|
|
6277
|
+
throw new eg(e + ` at line: ${s[2]}, column ${s[3]}`);
|
|
6251
6278
|
}
|
|
6252
6279
|
loop() {
|
|
6253
6280
|
for (; this.position < this.tokens.length;) this.parseTokens();
|
|
@@ -6260,7 +6287,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
6260
6287
|
if ((!this.current.nodes.length || this.current.last && this.current.last.type === "operator") && this.nextToken[0] === "word") return this.word();
|
|
6261
6288
|
} else if (this.nextToken[0] === "word") return this.word();
|
|
6262
6289
|
}
|
|
6263
|
-
return s = new
|
|
6290
|
+
return s = new jy({
|
|
6264
6291
|
value: this.currToken[1],
|
|
6265
6292
|
source: {
|
|
6266
6293
|
start: {
|
|
@@ -6319,7 +6346,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
6319
6346
|
let i = this.tokens[s];
|
|
6320
6347
|
i[0] === "(" && e++, i[0] === ")" && e--, s++;
|
|
6321
6348
|
}
|
|
6322
|
-
if (e && this.error("Expected closing parenthesis", r), n = this.current.last, n && n.type === "func" && n.unbalanced < 0 && (n.unbalanced = 0, this.current = n), this.current.unbalanced++, this.newNode(new
|
|
6349
|
+
if (e && this.error("Expected closing parenthesis", r), n = this.current.last, n && n.type === "func" && n.unbalanced < 0 && (n.unbalanced = 0, this.current = n), this.current.unbalanced++, this.newNode(new gl({
|
|
6323
6350
|
value: r[1],
|
|
6324
6351
|
source: {
|
|
6325
6352
|
start: {
|
|
@@ -6338,7 +6365,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
6338
6365
|
column: this.currToken[3]
|
|
6339
6366
|
};
|
|
6340
6367
|
for (; i && i[0] !== ")" && this.current.unbalanced;) this.position++, o += this.currToken[1], i = this.nextToken;
|
|
6341
|
-
this.position !== this.tokens.length - 1 && (this.position++, this.newNode(new
|
|
6368
|
+
this.position !== this.tokens.length - 1 && (this.position++, this.newNode(new wl({
|
|
6342
6369
|
value: o,
|
|
6343
6370
|
source: {
|
|
6344
6371
|
start: u,
|
|
@@ -6353,7 +6380,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
6353
6380
|
}
|
|
6354
6381
|
parenClose() {
|
|
6355
6382
|
let e = this.currToken;
|
|
6356
|
-
this.newNode(new
|
|
6383
|
+
this.newNode(new gl({
|
|
6357
6384
|
value: e[1],
|
|
6358
6385
|
source: {
|
|
6359
6386
|
start: {
|
|
@@ -6374,7 +6401,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
6374
6401
|
}
|
|
6375
6402
|
unicodeRange() {
|
|
6376
6403
|
let e = this.currToken;
|
|
6377
|
-
this.newNode(new
|
|
6404
|
+
this.newNode(new Qy({
|
|
6378
6405
|
value: e[1],
|
|
6379
6406
|
source: {
|
|
6380
6407
|
start: {
|
|
@@ -6396,9 +6423,9 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
6396
6423
|
let u = this.currToken[1];
|
|
6397
6424
|
s += u, e = this.nextToken;
|
|
6398
6425
|
}
|
|
6399
|
-
i =
|
|
6426
|
+
i = Jy(s, "@"), o = tg(Zy(Xy([[0], i]))), o.forEach((u, a) => {
|
|
6400
6427
|
let c = o[a + 1] || s.length, f = s.slice(u, c), h;
|
|
6401
|
-
if (~i.indexOf(u)) h = new
|
|
6428
|
+
if (~i.indexOf(u)) h = new Wy({
|
|
6402
6429
|
value: f.slice(1),
|
|
6403
6430
|
source: {
|
|
6404
6431
|
start: {
|
|
@@ -6414,7 +6441,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
6414
6441
|
});
|
|
6415
6442
|
else if (r.test(this.currToken[1])) {
|
|
6416
6443
|
let l = f.replace(r, "");
|
|
6417
|
-
h = new
|
|
6444
|
+
h = new zy({
|
|
6418
6445
|
value: f.replace(l, ""),
|
|
6419
6446
|
source: {
|
|
6420
6447
|
start: {
|
|
@@ -6429,7 +6456,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
6429
6456
|
sourceIndex: this.currToken[6] + o[a],
|
|
6430
6457
|
unit: l
|
|
6431
6458
|
});
|
|
6432
|
-
} else h = new (e && e[0] === "(" ?
|
|
6459
|
+
} else h = new (e && e[0] === "(" ? Vy : wl)({
|
|
6433
6460
|
value: f,
|
|
6434
6461
|
source: {
|
|
6435
6462
|
start: {
|
|
@@ -6448,7 +6475,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
6448
6475
|
}
|
|
6449
6476
|
string() {
|
|
6450
6477
|
let e = this.currToken, s = this.currToken[1], r = /^(\"|\')/, n = r.test(s), i = "", o;
|
|
6451
|
-
n && (i = s.match(r)[0], s = s.slice(1, s.length - 1)), o = new
|
|
6478
|
+
n && (i = s.match(r)[0], s = s.slice(1, s.length - 1)), o = new Hy({
|
|
6452
6479
|
value: s,
|
|
6453
6480
|
source: {
|
|
6454
6481
|
start: {
|
|
@@ -6481,91 +6508,120 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
6481
6508
|
}
|
|
6482
6509
|
};
|
|
6483
6510
|
});
|
|
6484
|
-
|
|
6485
|
-
hn(
|
|
6486
|
-
languages: () =>
|
|
6487
|
-
options: () =>
|
|
6511
|
+
Ml = {};
|
|
6512
|
+
hn(Ml, {
|
|
6513
|
+
languages: () => Fi,
|
|
6514
|
+
options: () => $i,
|
|
6488
6515
|
parsers: () => cn,
|
|
6489
|
-
printers: () =>
|
|
6516
|
+
printers: () => gg
|
|
6490
6517
|
});
|
|
6491
6518
|
Tt = (t, e) => (s, r, ...n) => s | 1 && r == null ? void 0 : (e.call(r) ?? r[t]).apply(r, n);
|
|
6492
|
-
|
|
6519
|
+
Yl = String.prototype.replaceAll ?? function(t, e) {
|
|
6493
6520
|
return t.global ? this.replace(t, e) : this.split(t).join(e);
|
|
6494
|
-
}
|
|
6495
|
-
|
|
6521
|
+
};
|
|
6522
|
+
T = Tt("replaceAll", function() {
|
|
6523
|
+
if (typeof this == "string") return Yl;
|
|
6496
6524
|
});
|
|
6497
6525
|
$ = Tt("at", function() {
|
|
6498
|
-
if (Array.isArray(this) || typeof this == "string") return
|
|
6526
|
+
if (Array.isArray(this) || typeof this == "string") return zl;
|
|
6499
6527
|
});
|
|
6500
|
-
|
|
6501
|
-
|
|
6528
|
+
Hl = () => {};
|
|
6529
|
+
G = Hl;
|
|
6530
|
+
Ke = "string";
|
|
6531
|
+
Xe = "array";
|
|
6532
|
+
kt = "cursor";
|
|
6533
|
+
ne = "indent";
|
|
6534
|
+
Pe = "align";
|
|
6535
|
+
Ot = "trim";
|
|
6536
|
+
ie = "group";
|
|
6537
|
+
oe = "fill";
|
|
6538
|
+
ge = "if-break";
|
|
6539
|
+
At = "indent-if-break";
|
|
6540
|
+
Re = "line-suffix";
|
|
6541
|
+
Ie = "line-suffix-boundary";
|
|
6542
|
+
H = "line";
|
|
6543
|
+
Ct = "label";
|
|
6544
|
+
Le = "break-parent";
|
|
6545
|
+
Nt = /* @__PURE__ */ new Set([
|
|
6502
6546
|
kt,
|
|
6503
6547
|
ne,
|
|
6504
|
-
|
|
6548
|
+
Pe,
|
|
6505
6549
|
Ot,
|
|
6506
6550
|
ie,
|
|
6507
6551
|
oe,
|
|
6508
6552
|
ge,
|
|
6509
6553
|
At,
|
|
6510
|
-
Pe,
|
|
6511
6554
|
Re,
|
|
6555
|
+
Ie,
|
|
6512
6556
|
H,
|
|
6513
6557
|
Ct,
|
|
6514
|
-
|
|
6558
|
+
Le
|
|
6515
6559
|
]);
|
|
6516
|
-
ae =
|
|
6517
|
-
|
|
6560
|
+
ae = Ql;
|
|
6561
|
+
Kl = (t) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(t);
|
|
6518
6562
|
Kr = class extends Error {
|
|
6519
6563
|
name = "InvalidDocError";
|
|
6520
6564
|
constructor(e) {
|
|
6521
|
-
super(
|
|
6565
|
+
super(Xl(e)), this.doc = e;
|
|
6522
6566
|
}
|
|
6523
|
-
}
|
|
6524
|
-
|
|
6525
|
-
|
|
6526
|
-
|
|
6567
|
+
};
|
|
6568
|
+
dn = Kr;
|
|
6569
|
+
F = G;
|
|
6570
|
+
we = G;
|
|
6571
|
+
xn = G;
|
|
6572
|
+
_n = G;
|
|
6573
|
+
ve = { type: Le };
|
|
6574
|
+
A = { type: H };
|
|
6575
|
+
I = {
|
|
6527
6576
|
type: H,
|
|
6528
6577
|
soft: !0
|
|
6529
|
-
}
|
|
6578
|
+
};
|
|
6579
|
+
O = [{
|
|
6530
6580
|
type: H,
|
|
6531
6581
|
hard: !0
|
|
6532
|
-
}, ve]
|
|
6582
|
+
}, ve];
|
|
6583
|
+
Xr = {
|
|
6533
6584
|
type: H,
|
|
6534
6585
|
hard: !0,
|
|
6535
6586
|
literal: !0
|
|
6536
|
-
}
|
|
6537
|
-
|
|
6587
|
+
};
|
|
6588
|
+
vn = [Xr, ve];
|
|
6589
|
+
It = { type: Ie };
|
|
6538
6590
|
le = tc;
|
|
6539
|
-
|
|
6591
|
+
En = Object.freeze({
|
|
6540
6592
|
character: "'",
|
|
6541
6593
|
codePoint: 39
|
|
6542
|
-
})
|
|
6594
|
+
});
|
|
6595
|
+
Sn = Object.freeze({
|
|
6543
6596
|
character: "\"",
|
|
6544
6597
|
codePoint: 34
|
|
6545
|
-
})
|
|
6546
|
-
|
|
6547
|
-
alternate: En
|
|
6548
|
-
}), sc = Object.freeze({
|
|
6598
|
+
});
|
|
6599
|
+
rc = Object.freeze({
|
|
6549
6600
|
preferred: En,
|
|
6550
|
-
alternate:
|
|
6601
|
+
alternate: Sn
|
|
6602
|
+
});
|
|
6603
|
+
sc = Object.freeze({
|
|
6604
|
+
preferred: Sn,
|
|
6605
|
+
alternate: En
|
|
6551
6606
|
});
|
|
6552
6607
|
nc = /\\(["'\\])|(["'])/g;
|
|
6553
|
-
|
|
6608
|
+
On = ic;
|
|
6554
6609
|
Lt = oc;
|
|
6555
6610
|
Zr = class extends Error {
|
|
6556
6611
|
name = "UnexpectedNodeError";
|
|
6557
6612
|
constructor(e, s, r = "type") {
|
|
6558
6613
|
super(`Unexpected ${s} node ${r}: ${JSON.stringify(e[r])}.`), this.node = e;
|
|
6559
6614
|
}
|
|
6560
|
-
}
|
|
6561
|
-
An
|
|
6562
|
-
Cn =
|
|
6615
|
+
};
|
|
6616
|
+
An = Zr;
|
|
6617
|
+
Cn.getVisitorKeys = (t) => t.type === "css-root" ? ["frontMatter"] : [];
|
|
6618
|
+
Nn = Cn;
|
|
6563
6619
|
Je = null;
|
|
6564
6620
|
ac = 10;
|
|
6565
6621
|
for (let t = 0; t <= ac; t++) Ze();
|
|
6566
|
-
|
|
6622
|
+
Pn = uc;
|
|
6567
6623
|
Q = [["nodes"], ["group"]];
|
|
6568
|
-
|
|
6624
|
+
In = Pn({
|
|
6569
6625
|
"css-root": ["frontMatter", "nodes"],
|
|
6570
6626
|
"css-comment": [],
|
|
6571
6627
|
"css-rule": ["selector", "nodes"],
|
|
@@ -6625,10 +6681,13 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
6625
6681
|
"value-unknown": []
|
|
6626
6682
|
});
|
|
6627
6683
|
ts = cc;
|
|
6628
|
-
Dt = qt(" ")
|
|
6629
|
-
|
|
6684
|
+
Dt = qt(" ");
|
|
6685
|
+
Ln = qt(",; ");
|
|
6686
|
+
Mt = qt(/[^\n\r]/);
|
|
6687
|
+
N = (t) => t.source.startOffset;
|
|
6688
|
+
P = (t) => t.source.endOffset;
|
|
6630
6689
|
Bt = Symbol.for("PRETTIER_IS_FRONT_MATTER");
|
|
6631
|
-
|
|
6690
|
+
De = gc;
|
|
6632
6691
|
Ut = wc;
|
|
6633
6692
|
et = 3;
|
|
6634
6693
|
xe = xc;
|
|
@@ -6644,16 +6703,28 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
6644
6703
|
]);
|
|
6645
6704
|
ns.ignoredProperties = _c;
|
|
6646
6705
|
is = Object.hasOwn ?? Function.prototype.call.bind(Object.prototype.hasOwnProperty);
|
|
6647
|
-
|
|
6648
|
-
|
|
6649
|
-
|
|
6650
|
-
|
|
6706
|
+
Tc = /\*\/$/;
|
|
6707
|
+
kc = /^\/\*\*?/;
|
|
6708
|
+
zn = /^\s*(\/\*\*?(.|\r?\n)*?\*\/)/;
|
|
6709
|
+
Oc = /(^|\s+)\/\/([^\n\r]*)/g;
|
|
6710
|
+
Gn = /^(\r?\n)+/;
|
|
6711
|
+
Ac = /(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g;
|
|
6712
|
+
Yn = /(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g;
|
|
6713
|
+
Cc = /(\r?\n|^) *\* ?/g;
|
|
6714
|
+
jn = [];
|
|
6715
|
+
Jn = ["noformat", "noprettier"];
|
|
6716
|
+
Zn = ["format", "prettier"];
|
|
6717
|
+
ei = "format";
|
|
6718
|
+
ti = Nc;
|
|
6719
|
+
ii = (t) => ri(xe(t).content);
|
|
6720
|
+
oi = (t) => si(xe(t).content);
|
|
6721
|
+
ai = (t) => {
|
|
6651
6722
|
let { frontMatter: e, content: s } = xe(t);
|
|
6652
6723
|
return (e ? e.raw + `
|
|
6653
6724
|
|
|
6654
|
-
` : "") +
|
|
6725
|
+
` : "") + ni(s);
|
|
6655
6726
|
};
|
|
6656
|
-
|
|
6727
|
+
Pc = /* @__PURE__ */ new Set([
|
|
6657
6728
|
"red",
|
|
6658
6729
|
"green",
|
|
6659
6730
|
"blue",
|
|
@@ -6680,14 +6751,14 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
6680
6751
|
"hwb",
|
|
6681
6752
|
"hwba"
|
|
6682
6753
|
]);
|
|
6683
|
-
|
|
6754
|
+
Rc = /* @__PURE__ */ new Set([
|
|
6684
6755
|
"initial",
|
|
6685
6756
|
"inherit",
|
|
6686
6757
|
"unset",
|
|
6687
6758
|
"revert"
|
|
6688
6759
|
]);
|
|
6689
|
-
Ci = Ic;
|
|
6690
6760
|
Ni = Lc;
|
|
6761
|
+
Pi = qc;
|
|
6691
6762
|
zt = /* @__PURE__ */ new Map([
|
|
6692
6763
|
["em", "em"],
|
|
6693
6764
|
["rem", "rem"],
|
|
@@ -6752,28 +6823,29 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
6752
6823
|
["cqmax", "cqmax"],
|
|
6753
6824
|
["fr", "fr"]
|
|
6754
6825
|
]);
|
|
6755
|
-
|
|
6756
|
-
|
|
6826
|
+
Ri = /(["'])(?:(?!\1)[^\\]|\\.)*\1/gs;
|
|
6827
|
+
Uc = new RegExp(Ri.source + `|(${/[$@]?[_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/gi.source})?(${/(?:\d*\.\d+|\d+\.?)(?:e[+-]?\d+)?/gi.source})(${/[a-z]+/gi.source})?`, "gi");
|
|
6828
|
+
qi = (t) => t === `
|
|
6757
6829
|
` || t === "\r" || t === "\u2028" || t === "\u2029";
|
|
6758
|
-
jt =
|
|
6759
|
-
Ht =
|
|
6760
|
-
qi = Wc;
|
|
6830
|
+
jt = Fc;
|
|
6831
|
+
Ht = Wc;
|
|
6761
6832
|
Di = $c;
|
|
6762
|
-
|
|
6763
|
-
|
|
6764
|
-
|
|
6833
|
+
Mi = Gc;
|
|
6834
|
+
Qt = Yc;
|
|
6835
|
+
Ue = Qc;
|
|
6836
|
+
Ui = {
|
|
6765
6837
|
features: { experimental_frontMatterSupport: {
|
|
6766
6838
|
massageAstNode: !0,
|
|
6767
6839
|
embed: !0,
|
|
6768
6840
|
print: !0
|
|
6769
6841
|
} },
|
|
6770
|
-
print:
|
|
6771
|
-
embed:
|
|
6772
|
-
insertPragma:
|
|
6842
|
+
print: Kc,
|
|
6843
|
+
embed: Nn,
|
|
6844
|
+
insertPragma: ai,
|
|
6773
6845
|
massageAstNode: ns,
|
|
6774
|
-
getVisitorKeys:
|
|
6846
|
+
getVisitorKeys: In
|
|
6775
6847
|
};
|
|
6776
|
-
|
|
6848
|
+
Fi = [
|
|
6777
6849
|
{
|
|
6778
6850
|
name: "CSS",
|
|
6779
6851
|
type: "markup",
|
|
@@ -6823,7 +6895,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
6823
6895
|
linguistLanguageId: 329
|
|
6824
6896
|
}
|
|
6825
6897
|
];
|
|
6826
|
-
|
|
6898
|
+
$i = { singleQuote: {
|
|
6827
6899
|
bracketSpacing: {
|
|
6828
6900
|
category: "Common",
|
|
6829
6901
|
type: "boolean",
|
|
@@ -6885,55 +6957,62 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
|
|
|
6885
6957
|
}.singleQuote };
|
|
6886
6958
|
cn = {};
|
|
6887
6959
|
hn(cn, {
|
|
6888
|
-
css: () =>
|
|
6889
|
-
less: () =>
|
|
6890
|
-
scss: () =>
|
|
6960
|
+
css: () => mg,
|
|
6961
|
+
less: () => dg,
|
|
6962
|
+
scss: () => yg
|
|
6891
6963
|
});
|
|
6892
|
-
|
|
6893
|
-
|
|
6894
|
-
|
|
6895
|
-
|
|
6896
|
-
|
|
6897
|
-
Ba =
|
|
6898
|
-
|
|
6899
|
-
|
|
6900
|
-
|
|
6901
|
-
|
|
6964
|
+
Nl = Ne(yt(), 1);
|
|
6965
|
+
Pl = Ne(Ko(), 1);
|
|
6966
|
+
Rl = Ne(Na(), 1);
|
|
6967
|
+
Pa = Fp;
|
|
6968
|
+
Ae = Wp;
|
|
6969
|
+
Ba = Ne(Ma(), 1);
|
|
6970
|
+
Zp = Ba.default.default;
|
|
6971
|
+
Ua = eh;
|
|
6972
|
+
Iu = Ne(Ru(), 1);
|
|
6973
|
+
re = my;
|
|
6974
|
+
kl = Ne(xl(), 1);
|
|
6975
|
+
rg = (t) => {
|
|
6902
6976
|
for (; t.parent;) t = t.parent;
|
|
6903
6977
|
return t;
|
|
6904
|
-
}
|
|
6905
|
-
|
|
6978
|
+
};
|
|
6979
|
+
jr = rg;
|
|
6906
6980
|
_l = sg;
|
|
6907
6981
|
bl = ng;
|
|
6908
6982
|
El = ig;
|
|
6909
|
-
Sl =
|
|
6910
|
-
|
|
6911
|
-
|
|
6983
|
+
Sl = og;
|
|
6984
|
+
Tl = (t) => t.type === "paren" && t.value === ")";
|
|
6985
|
+
de = ug;
|
|
6986
|
+
lg = /* @__PURE__ */ new Set([
|
|
6912
6987
|
"import",
|
|
6913
6988
|
"use",
|
|
6914
6989
|
"forward"
|
|
6915
6990
|
]);
|
|
6916
|
-
Ol = lg;
|
|
6917
6991
|
Al = cg;
|
|
6918
|
-
|
|
6992
|
+
Cl = fg;
|
|
6993
|
+
pg = /(\s*)(!default).*$/;
|
|
6994
|
+
hg = /(\s*)(!global).*$/;
|
|
6919
6995
|
ln = {
|
|
6920
6996
|
astFormat: "postcss",
|
|
6921
|
-
hasPragma:
|
|
6922
|
-
hasIgnorePragma:
|
|
6997
|
+
hasPragma: ii,
|
|
6998
|
+
hasIgnorePragma: oi,
|
|
6923
6999
|
locStart: N,
|
|
6924
7000
|
locEnd: P
|
|
6925
|
-
}
|
|
6926
|
-
|
|
6927
|
-
parse: Il
|
|
6928
|
-
}, mg = {
|
|
7001
|
+
};
|
|
7002
|
+
mg = {
|
|
6929
7003
|
...ln,
|
|
6930
7004
|
parse: Ll
|
|
6931
|
-
}
|
|
7005
|
+
};
|
|
7006
|
+
dg = {
|
|
6932
7007
|
...ln,
|
|
6933
7008
|
parse: ql
|
|
6934
7009
|
};
|
|
6935
|
-
yg = {
|
|
7010
|
+
yg = {
|
|
7011
|
+
...ln,
|
|
7012
|
+
parse: Dl
|
|
7013
|
+
};
|
|
7014
|
+
gg = { postcss: Ui };
|
|
6936
7015
|
}));
|
|
6937
7016
|
//#endregion
|
|
6938
7017
|
init_postcss();
|
|
6939
|
-
export {
|
|
7018
|
+
export { Ml as default, Fi as languages, postcss_exports as n, $i as options, cn as parsers, gg as printers, init_postcss as t };
|