eddyter 1.3.63 → 1.3.64

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.
Files changed (35) hide show
  1. package/LICENSE +24 -24
  2. package/README.md +493 -493
  3. package/dist/ImageResizer-CbtUYHip.js +199 -0
  4. package/dist/api/auth.d.ts +4 -2
  5. package/dist/assets/style.css +1 -1
  6. package/dist/{babel-B9hn44Wo.js → babel-CCPWkrf4.js} +1302 -726
  7. package/dist/components/LockedFeature/LockedFeature.d.ts +23 -0
  8. package/dist/components/LockedFeature/index.d.ts +2 -0
  9. package/dist/components/UnifiedColorPicker/UnifiedColorPicker.d.ts +14 -0
  10. package/dist/components/VideoView/index.d.ts +13 -0
  11. package/dist/constants.d.ts +3 -1
  12. package/dist/editorConfig.d.ts +2 -3
  13. package/dist/{estree-CocPn_Md.js → estree-CxUPh9wa.js} +917 -529
  14. package/dist/{html-CxCicOef.js → html-CmniStvG.js} +589 -350
  15. package/dist/{html2pdf.bundle-Bc2h6DHT.js → html2pdf.bundle-C1B1lr_T.js} +3796 -2777
  16. package/dist/{html2pdf.bundle.min-BvakEXhX.js → html2pdf.bundle.min-kPviTsNx.js} +5223 -3407
  17. package/dist/index-BL8HWCRw.js +816 -0
  18. package/dist/index-BpsoOKOs.js +274 -0
  19. package/dist/{index-C2a6-XFM.js → index-DHKx5grA.js} +4 -4
  20. package/dist/{index-DoJIKSPF.js → index-FZVNbwSO.js} +12356 -11290
  21. package/dist/index.js +3 -3
  22. package/dist/{markdown-BUjgWFLu.js → markdown-B0mEGGfQ.js} +1015 -578
  23. package/dist/nodes/UploadingVideoNode.d.ts +30 -0
  24. package/dist/nodes/VideoNode.d.ts +47 -0
  25. package/dist/plugins/CustomHorizontalRulePlugin/HorizontalRuleCustomizationDialog.d.ts +2 -1
  26. package/dist/plugins/FloatingTextFormatToolbarPlugin/index.d.ts +1 -1
  27. package/dist/plugins/VideoPlugin.d.ts +17 -0
  28. package/dist/{postcss-CGIcwj_g.js → postcss-B0bxXf7u.js} +1065 -615
  29. package/dist/{standalone-C0qguT38.js → standalone-DmuJV5rn.js} +596 -350
  30. package/dist/types.d.ts +4 -6
  31. package/dist/{typescript-BM7wk6k-.js → typescript-DZlC_9M8.js} +1805 -1113
  32. package/dist/ui/Icons.d.ts +2 -1
  33. package/dist/utils/uploadManager.d.ts +17 -0
  34. package/package.json +151 -151
  35. package/dist/index-B0VTEqfr.js +0 -985
@@ -1,7 +1,10 @@
1
1
  var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDescriptor, Yr = Object.getOwnPropertyNames, es = Object.getPrototypeOf, ts = Object.prototype.hasOwnProperty, E = (e, s) => () => (s || e((s = { exports: {} }).exports, s), s.exports), Qt = (e, s) => {
2
- for (var n in s) wt(e, n, { get: s[n], enumerable: !0 });
2
+ for (var n in s)
3
+ wt(e, n, { get: s[n], enumerable: !0 });
3
4
  }, rs = (e, s, n, o) => {
4
- if (s && typeof s == "object" || typeof s == "function") for (let c of Yr(s)) !ts.call(e, c) && c !== n && wt(e, c, { get: () => s[c], enumerable: !(o = Xr(s, c)) || o.enumerable });
5
+ if (s && typeof s == "object" || typeof s == "function")
6
+ for (let c of Yr(s))
7
+ !ts.call(e, c) && c !== n && wt(e, c, { get: () => s[c], enumerable: !(o = Xr(s, c)) || o.enumerable });
5
8
  return e;
6
9
  }, we = (e, s, n) => (n = e != null ? Kr(es(e)) : {}, rs(wt(n, "default", { value: e, enumerable: !0 }), e)), ss = E((e, s) => {
7
10
  var n = String, o = function() {
@@ -18,7 +21,8 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
18
21
  this.message = this.plugin ? this.plugin + ": " : "", this.message += this.file ? this.file : "<css input>", typeof this.line < "u" && (this.message += ":" + this.line + ":" + this.column), this.message += ": " + this.reason;
19
22
  }
20
23
  showSourceCode(f) {
21
- if (!this.source) return "";
24
+ if (!this.source)
25
+ return "";
22
26
  let u = this.source;
23
27
  f == null && (f = n.isColorSupported);
24
28
  let m = (l) => l, p = (l) => l, r = (l) => l;
@@ -68,7 +72,8 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
68
72
  }
69
73
  atrule(i, f) {
70
74
  let u = "@" + i.name, m = i.params ? this.rawValue(i, "params") : "";
71
- if (typeof i.raws.afterName < "u" ? u += i.raws.afterName : m && (u += " "), i.nodes) this.block(i, u + m);
75
+ if (typeof i.raws.afterName < "u" ? u += i.raws.afterName : m && (u += " "), i.nodes)
76
+ this.block(i, u + m);
72
77
  else {
73
78
  let p = (i.raws.between || "") + (f ? ";" : "");
74
79
  this.builder(u + m + p, i);
@@ -78,11 +83,14 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
78
83
  let u;
79
84
  i.type === "decl" ? u = this.raw(i, null, "beforeDecl") : i.type === "comment" ? u = this.raw(i, null, "beforeComment") : f === "before" ? u = this.raw(i, null, "beforeRule") : u = this.raw(i, null, "beforeClose");
80
85
  let m = i.parent, p = 0;
81
- for (; m && m.type !== "root"; ) p += 1, m = m.parent;
86
+ for (; m && m.type !== "root"; )
87
+ p += 1, m = m.parent;
82
88
  if (u.includes(`
83
89
  `)) {
84
90
  let r = this.raw(i, null, "indent");
85
- if (r.length) for (let t = 0; t < p; t++) u += r;
91
+ if (r.length)
92
+ for (let t = 0; t < p; t++)
93
+ u += r;
86
94
  }
87
95
  return u;
88
96
  }
@@ -94,7 +102,8 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
94
102
  }
95
103
  body(i) {
96
104
  let f = i.nodes.length - 1;
97
- for (; f > 0 && i.nodes[f].type === "comment"; ) f -= 1;
105
+ for (; f > 0 && i.nodes[f].type === "comment"; )
106
+ f -= 1;
98
107
  let u = this.raw(i, "semicolon");
99
108
  for (let m = 0; m < i.nodes.length; m++) {
100
109
  let p = i.nodes[m], r = this.raw(p, "before");
@@ -114,17 +123,23 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
114
123
  }
115
124
  raw(i, f, u) {
116
125
  let m;
117
- if (u || (u = f), f && (m = i.raws[f], typeof m < "u")) return m;
126
+ if (u || (u = f), f && (m = i.raws[f], typeof m < "u"))
127
+ return m;
118
128
  let p = i.parent;
119
- if (u === "before" && (!p || p.type === "root" && p.first === i || p && p.type === "document")) return "";
120
- if (!p) return n[u];
129
+ if (u === "before" && (!p || p.type === "root" && p.first === i || p && p.type === "document"))
130
+ return "";
131
+ if (!p)
132
+ return n[u];
121
133
  let r = i.root();
122
- if (r.rawCache || (r.rawCache = {}), typeof r.rawCache[u] < "u") return r.rawCache[u];
123
- if (u === "before" || u === "after") return this.beforeAfter(i, u);
134
+ if (r.rawCache || (r.rawCache = {}), typeof r.rawCache[u] < "u")
135
+ return r.rawCache[u];
136
+ if (u === "before" || u === "after")
137
+ return this.beforeAfter(i, u);
124
138
  {
125
139
  let t = "raw" + o(u);
126
140
  this[t] ? m = this[t](r, i) : r.walk((h) => {
127
- if (m = h.raws[f], typeof m < "u") return !1;
141
+ if (m = h.raws[f], typeof m < "u")
142
+ return !1;
128
143
  });
129
144
  }
130
145
  return typeof m > "u" && (m = n[u]), r.rawCache[u] = m, m;
@@ -132,51 +147,59 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
132
147
  rawBeforeClose(i) {
133
148
  let f;
134
149
  return i.walk((u) => {
135
- if (u.nodes && u.nodes.length > 0 && typeof u.raws.after < "u") return f = u.raws.after, f.includes(`
150
+ if (u.nodes && u.nodes.length > 0 && typeof u.raws.after < "u")
151
+ return f = u.raws.after, f.includes(`
136
152
  `) && (f = f.replace(/[^\n]+$/, "")), !1;
137
153
  }), f && (f = f.replace(/\S/g, "")), f;
138
154
  }
139
155
  rawBeforeComment(i, f) {
140
156
  let u;
141
157
  return i.walkComments((m) => {
142
- if (typeof m.raws.before < "u") return u = m.raws.before, u.includes(`
158
+ if (typeof m.raws.before < "u")
159
+ return u = m.raws.before, u.includes(`
143
160
  `) && (u = u.replace(/[^\n]+$/, "")), !1;
144
161
  }), typeof u > "u" ? u = this.raw(f, null, "beforeDecl") : u && (u = u.replace(/\S/g, "")), u;
145
162
  }
146
163
  rawBeforeDecl(i, f) {
147
164
  let u;
148
165
  return i.walkDecls((m) => {
149
- if (typeof m.raws.before < "u") return u = m.raws.before, u.includes(`
166
+ if (typeof m.raws.before < "u")
167
+ return u = m.raws.before, u.includes(`
150
168
  `) && (u = u.replace(/[^\n]+$/, "")), !1;
151
169
  }), typeof u > "u" ? u = this.raw(f, null, "beforeRule") : u && (u = u.replace(/\S/g, "")), u;
152
170
  }
153
171
  rawBeforeOpen(i) {
154
172
  let f;
155
173
  return i.walk((u) => {
156
- if (u.type !== "decl" && (f = u.raws.between, typeof f < "u")) return !1;
174
+ if (u.type !== "decl" && (f = u.raws.between, typeof f < "u"))
175
+ return !1;
157
176
  }), f;
158
177
  }
159
178
  rawBeforeRule(i) {
160
179
  let f;
161
180
  return i.walk((u) => {
162
- if (u.nodes && (u.parent !== i || i.first !== u) && typeof u.raws.before < "u") return f = u.raws.before, f.includes(`
181
+ if (u.nodes && (u.parent !== i || i.first !== u) && typeof u.raws.before < "u")
182
+ return f = u.raws.before, f.includes(`
163
183
  `) && (f = f.replace(/[^\n]+$/, "")), !1;
164
184
  }), f && (f = f.replace(/\S/g, "")), f;
165
185
  }
166
186
  rawColon(i) {
167
187
  let f;
168
188
  return i.walkDecls((u) => {
169
- if (typeof u.raws.between < "u") return f = u.raws.between.replace(/[^\s:]/g, ""), !1;
189
+ if (typeof u.raws.between < "u")
190
+ return f = u.raws.between.replace(/[^\s:]/g, ""), !1;
170
191
  }), f;
171
192
  }
172
193
  rawEmptyBody(i) {
173
194
  let f;
174
195
  return i.walk((u) => {
175
- if (u.nodes && u.nodes.length === 0 && (f = u.raws.after, typeof f < "u")) return !1;
196
+ if (u.nodes && u.nodes.length === 0 && (f = u.raws.after, typeof f < "u"))
197
+ return !1;
176
198
  }), f;
177
199
  }
178
200
  rawIndent(i) {
179
- if (i.raws.indent) return i.raws.indent;
201
+ if (i.raws.indent)
202
+ return i.raws.indent;
180
203
  let f;
181
204
  return i.walk((u) => {
182
205
  let m = u.parent;
@@ -190,7 +213,8 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
190
213
  rawSemicolon(i) {
191
214
  let f;
192
215
  return i.walk((u) => {
193
- if (u.nodes && u.nodes.length && u.last.type === "decl" && (f = u.raws.semicolon, typeof f < "u")) return !1;
216
+ if (u.nodes && u.nodes.length && u.last.type === "decl" && (f = u.raws.semicolon, typeof f < "u"))
217
+ return !1;
194
218
  }), f;
195
219
  }
196
220
  rawValue(i, f) {
@@ -204,7 +228,8 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
204
228
  this.block(i, this.rawValue(i, "selector")), i.raws.ownSemicolon && this.builder(i.raws.ownSemicolon, i, "end");
205
229
  }
206
230
  stringify(i, f) {
207
- if (!this[i.type]) throw new Error("Unknown AST node type " + i.type + ". Maybe you need to change PostCSS stringifier.");
231
+ if (!this[i.type])
232
+ throw new Error("Unknown AST node type " + i.type + ". Maybe you need to change PostCSS stringifier.");
208
233
  this[i.type](i, f);
209
234
  }
210
235
  };
@@ -216,20 +241,22 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
216
241
  }
217
242
  s.exports = o, o.default = o;
218
243
  }), kt = E((e, s) => {
219
- s.exports.isClean = /* @__PURE__ */ Symbol("isClean"), s.exports.my = /* @__PURE__ */ Symbol("my");
244
+ s.exports.isClean = Symbol("isClean"), s.exports.my = Symbol("my");
220
245
  }), et = E((e, s) => {
221
246
  var n = bt(), o = xt(), c = Ye(), { isClean: i, my: f } = kt();
222
247
  function u(r, t) {
223
248
  let h = new r.constructor();
224
249
  for (let a in r) {
225
- if (!Object.prototype.hasOwnProperty.call(r, a) || a === "proxyCache") continue;
250
+ if (!Object.prototype.hasOwnProperty.call(r, a) || a === "proxyCache")
251
+ continue;
226
252
  let d = r[a], l = typeof d;
227
253
  a === "parent" && l === "object" ? t && (h[a] = t) : a === "source" ? h[a] = d : Array.isArray(d) ? h[a] = d.map((b) => u(b, h)) : (l === "object" && d !== null && (d = u(d)), h[a] = d);
228
254
  }
229
255
  return h;
230
256
  }
231
257
  function m(r, t) {
232
- if (t && typeof t.offset < "u") return t.offset;
258
+ if (t && typeof t.offset < "u")
259
+ return t.offset;
233
260
  let h = 1, a = 1, d = 0;
234
261
  for (let l = 0; l < r.length; l++) {
235
262
  if (a === t.line && h === t.column) {
@@ -247,10 +274,13 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
247
274
  }
248
275
  constructor(r = {}) {
249
276
  this.raws = {}, this[i] = !1, this[f] = !0;
250
- for (let t in r) if (t === "nodes") {
251
- this.nodes = [];
252
- for (let h of r[t]) typeof h.clone == "function" ? this.append(h.clone()) : this.append(h);
253
- } else this[t] = r[t];
277
+ for (let t in r)
278
+ if (t === "nodes") {
279
+ this.nodes = [];
280
+ for (let h of r[t])
281
+ typeof h.clone == "function" ? this.append(h.clone()) : this.append(h);
282
+ } else
283
+ this[t] = r[t];
254
284
  }
255
285
  addToError(r) {
256
286
  if (r.postcssNode = this, r.stack && this.source && /\n\s{4}at /.test(r.stack)) {
@@ -263,7 +293,8 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
263
293
  return this.parent.insertAfter(this, r), this;
264
294
  }
265
295
  assign(r = {}) {
266
- for (let t in r) this[t] = r[t];
296
+ for (let t in r)
297
+ this[t] = r[t];
267
298
  return this;
268
299
  }
269
300
  before(r) {
@@ -274,7 +305,8 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
274
305
  }
275
306
  clone(r = {}) {
276
307
  let t = u(this);
277
- for (let h in r) t[h] = r[h];
308
+ for (let h in r)
309
+ t[h] = r[h];
278
310
  return t;
279
311
  }
280
312
  cloneAfter(r = {}) {
@@ -306,17 +338,20 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
306
338
  if (this[i]) {
307
339
  this[i] = !1;
308
340
  let r = this;
309
- for (; r = r.parent; ) r[i] = !1;
341
+ for (; r = r.parent; )
342
+ r[i] = !1;
310
343
  }
311
344
  }
312
345
  next() {
313
- if (!this.parent) return;
346
+ if (!this.parent)
347
+ return;
314
348
  let r = this.parent.index(this);
315
349
  return this.parent.nodes[r + 1];
316
350
  }
317
351
  positionBy(r = {}) {
318
352
  let t = this.source.start;
319
- if (r.index) t = this.positionInside(r.index);
353
+ if (r.index)
354
+ t = this.positionInside(r.index);
320
355
  else if (r.word) {
321
356
  let h = "document" in this.source.input ? this.source.input.document : this.source.input.css, a = h.slice(m(h, this.source.start), m(h, this.source.end)).indexOf(r.word);
322
357
  a !== -1 && (t = this.positionInside(a));
@@ -325,12 +360,14 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
325
360
  }
326
361
  positionInside(r) {
327
362
  let t = this.source.start.column, h = this.source.start.line, a = "document" in this.source.input ? this.source.input.document : this.source.input.css, d = m(a, this.source.start), l = d + r;
328
- for (let b = d; b < l; b++) a[b] === `
363
+ for (let b = d; b < l; b++)
364
+ a[b] === `
329
365
  ` ? (t = 1, h += 1) : t += 1;
330
366
  return { column: t, line: h, offset: l };
331
367
  }
332
368
  prev() {
333
- if (!this.parent) return;
369
+ if (!this.parent)
370
+ return;
334
371
  let r = this.parent.index(this);
335
372
  return this.parent.nodes[r - 1];
336
373
  }
@@ -339,7 +376,8 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
339
376
  if (r.word) {
340
377
  let d = t.slice(m(t, this.source.start), m(t, this.source.end)).indexOf(r.word);
341
378
  d !== -1 && (h = this.positionInside(d), a = this.positionInside(d + r.word.length));
342
- } else r.start ? h = { column: r.start.column, line: r.start.line, offset: m(t, r.start) } : r.index && (h = this.positionInside(r.index)), r.end ? a = { column: r.end.column, line: r.end.line, offset: m(t, r.end) } : typeof r.endIndex == "number" ? a = this.positionInside(r.endIndex) : r.index && (a = this.positionInside(r.index + 1));
379
+ } else
380
+ r.start ? h = { column: r.start.column, line: r.start.line, offset: m(t, r.start) } : r.index && (h = this.positionInside(r.index)), r.end ? a = { column: r.end.column, line: r.end.line, offset: m(t, r.end) } : typeof r.endIndex == "number" ? a = this.positionInside(r.endIndex) : r.index && (a = this.positionInside(r.index + 1));
343
381
  return (a.line < h.line || a.line === h.line && a.column <= h.column) && (a = { column: h.column + 1, line: h.line, offset: h.offset + 1 }), { end: a, start: h };
344
382
  }
345
383
  raw(r, t) {
@@ -351,14 +389,16 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
351
389
  replaceWith(...r) {
352
390
  if (this.parent) {
353
391
  let t = this, h = !1;
354
- for (let a of r) a === this ? h = !0 : h ? (this.parent.insertAfter(t, a), t = a) : this.parent.insertBefore(t, a);
392
+ for (let a of r)
393
+ a === this ? h = !0 : h ? (this.parent.insertAfter(t, a), t = a) : this.parent.insertBefore(t, a);
355
394
  h || this.remove();
356
395
  }
357
396
  return this;
358
397
  }
359
398
  root() {
360
399
  let r = this;
361
- for (; r.parent && r.parent.type !== "document"; ) r = r.parent;
400
+ for (; r.parent && r.parent.type !== "document"; )
401
+ r = r.parent;
362
402
  return r;
363
403
  }
364
404
  toJSON(r, t) {
@@ -366,15 +406,20 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
366
406
  t = t || /* @__PURE__ */ new Map();
367
407
  let d = 0;
368
408
  for (let l in this) {
369
- if (!Object.prototype.hasOwnProperty.call(this, l) || l === "parent" || l === "proxyCache") continue;
409
+ if (!Object.prototype.hasOwnProperty.call(this, l) || l === "parent" || l === "proxyCache")
410
+ continue;
370
411
  let b = this[l];
371
- if (Array.isArray(b)) h[l] = b.map((y) => typeof y == "object" && y.toJSON ? y.toJSON(null, t) : y);
372
- else if (typeof b == "object" && b.toJSON) h[l] = b.toJSON(null, t);
412
+ if (Array.isArray(b))
413
+ h[l] = b.map((y) => typeof y == "object" && y.toJSON ? y.toJSON(null, t) : y);
414
+ else if (typeof b == "object" && b.toJSON)
415
+ h[l] = b.toJSON(null, t);
373
416
  else if (l === "source") {
374
- if (b == null) continue;
417
+ if (b == null)
418
+ continue;
375
419
  let y = t.get(b.input);
376
420
  y == null && (y = d, t.set(b.input, d), d++), h[l] = { end: b.end, inputId: y, start: b.start };
377
- } else h[l] = b;
421
+ } else
422
+ h[l] = b;
378
423
  }
379
424
  return a && (h.inputs = [...t.keys()].map((l) => l.toJSON())), h;
380
425
  }
@@ -390,7 +435,8 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
390
435
  }
391
436
  warn(r, t, h = {}) {
392
437
  let a = { node: this };
393
- for (let d in h) a[d] = h[d];
438
+ for (let d in h)
439
+ a[d] = h[d];
394
440
  return r.warn(t, a);
395
441
  }
396
442
  };
@@ -418,29 +464,38 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
418
464
  return d.map((l) => (l.nodes && (l.nodes = t(l.nodes)), delete l.source, l));
419
465
  }
420
466
  function h(d) {
421
- if (d[i] = !1, d.proxyOf.nodes) for (let l of d.proxyOf.nodes) h(l);
467
+ if (d[i] = !1, d.proxyOf.nodes)
468
+ for (let l of d.proxyOf.nodes)
469
+ h(l);
422
470
  }
423
471
  var a = class Xt extends c {
424
472
  get first() {
425
- if (this.proxyOf.nodes) return this.proxyOf.nodes[0];
473
+ if (this.proxyOf.nodes)
474
+ return this.proxyOf.nodes[0];
426
475
  }
427
476
  get last() {
428
- if (this.proxyOf.nodes) return this.proxyOf.nodes[this.proxyOf.nodes.length - 1];
477
+ if (this.proxyOf.nodes)
478
+ return this.proxyOf.nodes[this.proxyOf.nodes.length - 1];
429
479
  }
430
480
  append(...l) {
431
481
  for (let b of l) {
432
482
  let y = this.normalize(b, this.last);
433
- for (let v of y) this.proxyOf.nodes.push(v);
483
+ for (let v of y)
484
+ this.proxyOf.nodes.push(v);
434
485
  }
435
486
  return this.markDirty(), this;
436
487
  }
437
488
  cleanRaws(l) {
438
- if (super.cleanRaws(l), this.nodes) for (let b of this.nodes) b.cleanRaws(l);
489
+ if (super.cleanRaws(l), this.nodes)
490
+ for (let b of this.nodes)
491
+ b.cleanRaws(l);
439
492
  }
440
493
  each(l) {
441
- if (!this.proxyOf.nodes) return;
494
+ if (!this.proxyOf.nodes)
495
+ return;
442
496
  let b = this.getIterator(), y, v;
443
- for (; this.indexes[b] < this.proxyOf.nodes.length && (y = this.indexes[b], v = l(this.proxyOf.nodes[y], y), v !== !1); ) this.indexes[b] += 1;
497
+ for (; this.indexes[b] < this.proxyOf.nodes.length && (y = this.indexes[b], v = l(this.proxyOf.nodes[y], y), v !== !1); )
498
+ this.indexes[b] += 1;
444
499
  return delete this.indexes[b], v;
445
500
  }
446
501
  every(l) {
@@ -464,44 +519,60 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
464
519
  insertAfter(l, b) {
465
520
  let y = this.index(l), v = this.normalize(b, this.proxyOf.nodes[y]).reverse();
466
521
  y = this.index(l);
467
- for (let k of v) this.proxyOf.nodes.splice(y + 1, 0, k);
522
+ for (let k of v)
523
+ this.proxyOf.nodes.splice(y + 1, 0, k);
468
524
  let g;
469
- for (let k in this.indexes) g = this.indexes[k], y < g && (this.indexes[k] = g + v.length);
525
+ for (let k in this.indexes)
526
+ g = this.indexes[k], y < g && (this.indexes[k] = g + v.length);
470
527
  return this.markDirty(), this;
471
528
  }
472
529
  insertBefore(l, b) {
473
530
  let y = this.index(l), v = y === 0 ? "prepend" : !1, g = this.normalize(b, this.proxyOf.nodes[y], v).reverse();
474
531
  y = this.index(l);
475
- for (let w of g) this.proxyOf.nodes.splice(y, 0, w);
532
+ for (let w of g)
533
+ this.proxyOf.nodes.splice(y, 0, w);
476
534
  let k;
477
- for (let w in this.indexes) k = this.indexes[w], y <= k && (this.indexes[w] = k + g.length);
535
+ for (let w in this.indexes)
536
+ k = this.indexes[w], y <= k && (this.indexes[w] = k + g.length);
478
537
  return this.markDirty(), this;
479
538
  }
480
539
  normalize(l, b) {
481
- if (typeof l == "string") l = t(m(l).nodes);
482
- else if (typeof l > "u") l = [];
540
+ if (typeof l == "string")
541
+ l = t(m(l).nodes);
542
+ else if (typeof l > "u")
543
+ l = [];
483
544
  else if (Array.isArray(l)) {
484
545
  l = l.slice(0);
485
- for (let y of l) y.parent && y.parent.removeChild(y, "ignore");
546
+ for (let y of l)
547
+ y.parent && y.parent.removeChild(y, "ignore");
486
548
  } else if (l.type === "root" && this.type !== "document") {
487
549
  l = l.nodes.slice(0);
488
- for (let y of l) y.parent && y.parent.removeChild(y, "ignore");
489
- } else if (l.type) l = [l];
550
+ for (let y of l)
551
+ y.parent && y.parent.removeChild(y, "ignore");
552
+ } else if (l.type)
553
+ l = [l];
490
554
  else if (l.prop) {
491
- if (typeof l.value > "u") throw new Error("Value field is missed in node creation");
555
+ if (typeof l.value > "u")
556
+ throw new Error("Value field is missed in node creation");
492
557
  typeof l.value != "string" && (l.value = String(l.value)), l = [new o(l)];
493
- } else if (l.selector || l.selectors) l = [new r(l)];
494
- else if (l.name) l = [new u(l)];
495
- else if (l.text) l = [new n(l)];
496
- else throw new Error("Unknown node type in node creation");
558
+ } else if (l.selector || l.selectors)
559
+ l = [new r(l)];
560
+ else if (l.name)
561
+ l = [new u(l)];
562
+ else if (l.text)
563
+ l = [new n(l)];
564
+ else
565
+ throw new Error("Unknown node type in node creation");
497
566
  return l.map((y) => (y[f] || Xt.rebuild(y), y = y.proxyOf, y.parent && y.parent.removeChild(y), y[i] && h(y), y.raws || (y.raws = {}), typeof y.raws.before > "u" && b && typeof b.raws.before < "u" && (y.raws.before = b.raws.before.replace(/\S/g, "")), y.parent = this.proxyOf, y));
498
567
  }
499
568
  prepend(...l) {
500
569
  l = l.reverse();
501
570
  for (let b of l) {
502
571
  let y = this.normalize(b, this.first, "prepend").reverse();
503
- for (let v of y) this.proxyOf.nodes.unshift(v);
504
- for (let v in this.indexes) this.indexes[v] = this.indexes[v] + y.length;
572
+ for (let v of y)
573
+ this.proxyOf.nodes.unshift(v);
574
+ for (let v in this.indexes)
575
+ this.indexes[v] = this.indexes[v] + y.length;
505
576
  }
506
577
  return this.markDirty(), this;
507
578
  }
@@ -509,13 +580,15 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
509
580
  return l.parent = this, this.proxyOf.nodes.push(l), this;
510
581
  }
511
582
  removeAll() {
512
- for (let l of this.proxyOf.nodes) l.parent = void 0;
583
+ for (let l of this.proxyOf.nodes)
584
+ l.parent = void 0;
513
585
  return this.proxyOf.nodes = [], this.markDirty(), this;
514
586
  }
515
587
  removeChild(l) {
516
588
  l = this.index(l), this.proxyOf.nodes[l].parent = void 0, this.proxyOf.nodes.splice(l, 1);
517
589
  let b;
518
- for (let y in this.indexes) b = this.indexes[y], b >= l && (this.indexes[y] = b - 1);
590
+ for (let y in this.indexes)
591
+ b = this.indexes[y], b >= l && (this.indexes[y] = b - 1);
519
592
  return this.markDirty(), this;
520
593
  }
521
594
  replaceValues(l, b, y) {
@@ -539,34 +612,44 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
539
612
  }
540
613
  walkAtRules(l, b) {
541
614
  return b ? l instanceof RegExp ? this.walk((y, v) => {
542
- if (y.type === "atrule" && l.test(y.name)) return b(y, v);
615
+ if (y.type === "atrule" && l.test(y.name))
616
+ return b(y, v);
543
617
  }) : this.walk((y, v) => {
544
- if (y.type === "atrule" && y.name === l) return b(y, v);
618
+ if (y.type === "atrule" && y.name === l)
619
+ return b(y, v);
545
620
  }) : (b = l, this.walk((y, v) => {
546
- if (y.type === "atrule") return b(y, v);
621
+ if (y.type === "atrule")
622
+ return b(y, v);
547
623
  }));
548
624
  }
549
625
  walkComments(l) {
550
626
  return this.walk((b, y) => {
551
- if (b.type === "comment") return l(b, y);
627
+ if (b.type === "comment")
628
+ return l(b, y);
552
629
  });
553
630
  }
554
631
  walkDecls(l, b) {
555
632
  return b ? l instanceof RegExp ? this.walk((y, v) => {
556
- if (y.type === "decl" && l.test(y.prop)) return b(y, v);
633
+ if (y.type === "decl" && l.test(y.prop))
634
+ return b(y, v);
557
635
  }) : this.walk((y, v) => {
558
- if (y.type === "decl" && y.prop === l) return b(y, v);
636
+ if (y.type === "decl" && y.prop === l)
637
+ return b(y, v);
559
638
  }) : (b = l, this.walk((y, v) => {
560
- if (y.type === "decl") return b(y, v);
639
+ if (y.type === "decl")
640
+ return b(y, v);
561
641
  }));
562
642
  }
563
643
  walkRules(l, b) {
564
644
  return b ? l instanceof RegExp ? this.walk((y, v) => {
565
- if (y.type === "rule" && l.test(y.selector)) return b(y, v);
645
+ if (y.type === "rule" && l.test(y.selector))
646
+ return b(y, v);
566
647
  }) : this.walk((y, v) => {
567
- if (y.type === "rule" && y.selector === l) return b(y, v);
648
+ if (y.type === "rule" && y.selector === l)
649
+ return b(y, v);
568
650
  }) : (b = l, this.walk((y, v) => {
569
- if (y.type === "rule") return b(y, v);
651
+ if (y.type === "rule")
652
+ return b(y, v);
570
653
  }));
571
654
  }
572
655
  };
@@ -586,11 +669,13 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
586
669
  }), ns = E((e, s) => {
587
670
  var n = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", o = (i, f = 21) => (u = f) => {
588
671
  let m = "", p = u | 0;
589
- for (; p--; ) m += i[Math.random() * i.length | 0];
672
+ for (; p--; )
673
+ m += i[Math.random() * i.length | 0];
590
674
  return m;
591
675
  }, c = (i = 21) => {
592
676
  let f = "", u = i | 0;
593
- for (; u--; ) f += n[Math.random() * 64 | 0];
677
+ for (; u--; )
678
+ f += n[Math.random() * 64 | 0];
594
679
  return f;
595
680
  };
596
681
  s.exports = { nanoid: c, customAlphabet: o };
@@ -599,12 +684,14 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
599
684
  s.exports = class {
600
685
  };
601
686
  }), Ne = E((e, s) => {
602
- var { nanoid: n } = ns(), { isAbsolute: o, resolve: c } = {}, { SourceMapConsumer: i, SourceMapGenerator: f } = os(), { fileURLToPath: u, pathToFileURL: m } = {}, p = bt(), r = Yt(), t = Zt(), h = /* @__PURE__ */ Symbol("lineToIndexCache"), a = !!(i && f), d = !!(c && o);
687
+ var { nanoid: n } = ns(), { isAbsolute: o, resolve: c } = {}, { SourceMapConsumer: i, SourceMapGenerator: f } = os(), { fileURLToPath: u, pathToFileURL: m } = {}, p = bt(), r = Yt(), t = Zt(), h = Symbol("lineToIndexCache"), a = !!(i && f), d = !!(c && o);
603
688
  function l(y) {
604
- if (y[h]) return y[h];
689
+ if (y[h])
690
+ return y[h];
605
691
  let v = y.css.split(`
606
692
  `), g = new Array(v.length), k = 0;
607
- for (let w = 0, x = v.length; w < x; w++) g[w] = k, k += v[w].length + 1;
693
+ for (let w = 0, x = v.length; w < x; w++)
694
+ g[w] = k, k += v[w].length + 1;
608
695
  return y[h] = g, g;
609
696
  }
610
697
  var b = class {
@@ -612,7 +699,8 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
612
699
  return this.file || this.id;
613
700
  }
614
701
  constructor(y, v = {}) {
615
- if (y === null || typeof y > "u" || typeof y == "object" && !y.toString) throw new Error(`PostCSS received ${y} instead of CSS string`);
702
+ if (y === null || typeof y > "u" || typeof y == "object" && !y.toString)
703
+ throw new Error(`PostCSS received ${y} instead of CSS string`);
616
704
  if (this.css = y.toString(), this.css[0] === "\uFEFF" || this.css[0] === "￾" ? (this.hasBOM = !0, this.css = this.css.slice(1)) : this.hasBOM = !1, this.document = this.css, v.document && (this.document = v.document.toString()), v.from && (!d || /^\w+:\/\//.test(v.from) || o(v.from) ? this.file = v.from : this.file = c(v.from)), d && a) {
617
705
  let g = new r(this.css, v);
618
706
  if (g.text) {
@@ -631,13 +719,16 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
631
719
  T = I.offset;
632
720
  let R = this.fromOffset(T);
633
721
  v = R.line, g = R.col;
634
- } else v = I.line, g = I.column, T = this.fromLineAndColumn(v, g);
722
+ } else
723
+ v = I.line, g = I.column, T = this.fromLineAndColumn(v, g);
635
724
  if (typeof N.offset == "number") {
636
725
  O = N.offset;
637
726
  let R = this.fromOffset(O);
638
727
  x = R.line, w = R.col;
639
- } else x = N.line, w = N.column, O = this.fromLineAndColumn(N.line, N.column);
640
- } else if (g) T = this.fromLineAndColumn(v, g);
728
+ } else
729
+ x = N.line, w = N.column, O = this.fromLineAndColumn(N.line, N.column);
730
+ } else if (g)
731
+ T = this.fromLineAndColumn(v, g);
641
732
  else {
642
733
  T = v;
643
734
  let I = this.fromOffset(T);
@@ -651,15 +742,19 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
651
742
  }
652
743
  fromOffset(y) {
653
744
  let v = l(this), g = v[v.length - 1], k = 0;
654
- if (y >= g) k = v.length - 1;
745
+ if (y >= g)
746
+ k = v.length - 1;
655
747
  else {
656
748
  let w = v.length - 2, x;
657
- for (; k < w; ) if (x = k + (w - k >> 1), y < v[x]) w = x - 1;
658
- else if (y >= v[x + 1]) k = x + 1;
659
- else {
660
- k = x;
661
- break;
662
- }
749
+ for (; k < w; )
750
+ if (x = k + (w - k >> 1), y < v[x])
751
+ w = x - 1;
752
+ else if (y >= v[x + 1])
753
+ k = x + 1;
754
+ else {
755
+ k = x;
756
+ break;
757
+ }
663
758
  }
664
759
  return { col: y - v[k] + 1, line: k + 1 };
665
760
  }
@@ -667,22 +762,28 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
667
762
  return /^\w+:\/\//.test(y) ? y : c(this.map.consumer().sourceRoot || this.map.root || ".", y);
668
763
  }
669
764
  origin(y, v, g, k) {
670
- if (!this.map) return !1;
765
+ if (!this.map)
766
+ return !1;
671
767
  let w = this.map.consumer(), x = w.originalPositionFor({ column: v, line: y });
672
- if (!x.source) return !1;
768
+ if (!x.source)
769
+ return !1;
673
770
  let O;
674
771
  typeof g == "number" && (O = w.originalPositionFor({ column: k, line: g }));
675
772
  let T;
676
773
  o(x.source) ? T = m(x.source) : T = new URL(x.source, this.map.consumer().sourceRoot || m(this.map.mapFile));
677
774
  let _ = { column: x.column, endColumn: O && O.column, endLine: O && O.line, line: x.line, url: T.toString() };
678
- if (T.protocol === "file:") if (u) _.file = u(T);
679
- else throw new Error("file: protocol is not available in this PostCSS build");
775
+ if (T.protocol === "file:")
776
+ if (u)
777
+ _.file = u(T);
778
+ else
779
+ throw new Error("file: protocol is not available in this PostCSS build");
680
780
  let A = w.sourceContentFor(x.source);
681
781
  return A && (_.source = A), _;
682
782
  }
683
783
  toJSON() {
684
784
  let y = {};
685
- for (let v of ["hasBOM", "css", "file", "id"]) this[v] != null && (y[v] = this[v]);
785
+ for (let v of ["hasBOM", "css", "file", "id"])
786
+ this[v] != null && (y[v] = this[v]);
686
787
  return this.map && (y.map = { ...this.map }, y.map.consumerCache && (y.map.consumerCache = void 0)), y;
687
788
  }
688
789
  };
@@ -708,8 +809,11 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
708
809
  normalize(f, u, m) {
709
810
  let p = super.normalize(f);
710
811
  if (u) {
711
- if (m === "prepend") this.nodes.length > 1 ? u.raws.before = this.nodes[1].raws.before : delete u.raws.before;
712
- else if (this.first !== u) for (let r of p) r.raws.before = u.raws.before;
812
+ if (m === "prepend")
813
+ this.nodes.length > 1 ? u.raws.before = this.nodes[1].raws.before : delete u.raws.before;
814
+ else if (this.first !== u)
815
+ for (let r of p)
816
+ r.raws.before = u.raws.before;
713
817
  }
714
818
  return p;
715
819
  }
@@ -735,7 +839,8 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
735
839
  return n.split(o, c);
736
840
  }, split(o, c, i) {
737
841
  let f = [], u = "", m = !1, p = 0, r = !1, t = "", h = !1;
738
- for (let a of o) h ? h = !1 : a === "\\" ? h = !0 : r ? a === t && (r = !1) : a === '"' || a === "'" ? (r = !0, t = a) : a === "(" ? p += 1 : a === ")" ? p > 0 && (p -= 1) : p === 0 && c.includes(a) && (m = !0), m ? (u !== "" && f.push(u.trim()), u = "", m = !1) : u += a;
842
+ for (let a of o)
843
+ h ? h = !1 : a === "\\" ? h = !0 : r ? a === t && (r = !1) : a === '"' || a === "'" ? (r = !0, t = a) : a === "(" ? p += 1 : a === ")" ? p > 0 && (p -= 1) : p === 0 && c.includes(a) && (m = !0), m ? (u !== "" && f.push(u.trim()), u = "", m = !1) : u += a;
739
844
  return (i || u !== "") && f.push(u.trim()), f;
740
845
  } };
741
846
  s.exports = n, n.default = n;
@@ -767,8 +872,10 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
767
872
  return O.length === 0 && w >= k;
768
873
  }
769
874
  function I(R) {
770
- if (O.length) return O.pop();
771
- if (w >= k) return;
875
+ if (O.length)
876
+ return O.pop();
877
+ if (w >= k)
878
+ return;
772
879
  let $ = R ? R.ignoreUnclosed : !1;
773
880
  switch (r = m.charCodeAt(w), r) {
774
881
  case 10:
@@ -798,25 +905,32 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
798
905
  if (g = x.length ? x.pop()[1] : "", v = m.charCodeAt(w + 1), g === "url" && v !== 39 && v !== 34 && v !== 32 && v !== 10 && v !== 9 && v !== 12 && v !== 13) {
799
906
  a = w;
800
907
  do {
801
- if (b = !1, a = m.indexOf(")", a + 1), a === -1) if (p || $) {
802
- a = w;
803
- break;
804
- } else _("bracket");
805
- for (y = a; m.charCodeAt(y - 1) === 92; ) y -= 1, b = !b;
908
+ if (b = !1, a = m.indexOf(")", a + 1), a === -1)
909
+ if (p || $) {
910
+ a = w;
911
+ break;
912
+ } else
913
+ _("bracket");
914
+ for (y = a; m.charCodeAt(y - 1) === 92; )
915
+ y -= 1, b = !b;
806
916
  } while (b);
807
917
  l = ["brackets", m.slice(w, a + 1), w, a], w = a;
808
- } else a = m.indexOf(")", w + 1), t = m.slice(w, a + 1), a === -1 || c.test(t) ? l = ["(", "(", w] : (l = ["brackets", t, w, a], w = a);
918
+ } else
919
+ a = m.indexOf(")", w + 1), t = m.slice(w, a + 1), a === -1 || c.test(t) ? l = ["(", "(", w] : (l = ["brackets", t, w, a], w = a);
809
920
  break;
810
921
  }
811
922
  case 39:
812
923
  case 34: {
813
924
  d = r === 39 ? "'" : '"', a = w;
814
925
  do {
815
- if (b = !1, a = m.indexOf(d, a + 1), a === -1) if (p || $) {
816
- a = w + 1;
817
- break;
818
- } else _("string");
819
- for (y = a; m.charCodeAt(y - 1) === 92; ) y -= 1, b = !b;
926
+ if (b = !1, a = m.indexOf(d, a + 1), a === -1)
927
+ if (p || $) {
928
+ a = w + 1;
929
+ break;
930
+ } else
931
+ _("string");
932
+ for (y = a; m.charCodeAt(y - 1) === 92; )
933
+ y -= 1, b = !b;
820
934
  } while (b);
821
935
  l = ["string", m.slice(w, a + 1), w, a], w = a;
822
936
  break;
@@ -826,9 +940,11 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
826
940
  break;
827
941
  }
828
942
  case 92: {
829
- for (a = w, h = !0; m.charCodeAt(a + 1) === 92; ) a += 1, h = !h;
943
+ for (a = w, h = !0; m.charCodeAt(a + 1) === 92; )
944
+ a += 1, h = !h;
830
945
  if (r = m.charCodeAt(a + 1), h && r !== 47 && r !== 32 && r !== 10 && r !== 9 && r !== 13 && r !== 12 && (a += 1, i.test(m.charAt(a)))) {
831
- for (; i.test(m.charAt(a + 1)); ) a += 1;
946
+ for (; i.test(m.charAt(a + 1)); )
947
+ a += 1;
832
948
  m.charCodeAt(a + 1) === 32 && (a += 1);
833
949
  }
834
950
  l = ["word", m.slice(w, a + 1), w, a], w = a;
@@ -851,7 +967,8 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
851
967
  function p(t) {
852
968
  for (let h = t.length - 1; h >= 0; h--) {
853
969
  let a = t[h], d = a[3] || a[2];
854
- if (d) return d;
970
+ if (d)
971
+ return d;
855
972
  }
856
973
  }
857
974
  var r = class {
@@ -863,21 +980,25 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
863
980
  h.name = t[1].slice(1), h.name === "" && this.unnamedAtrule(h, t), this.init(h, t[2]);
864
981
  let a, d, l, b = !1, y = !1, v = [], g = [];
865
982
  for (; !this.tokenizer.endOfFile(); ) {
866
- if (t = this.tokenizer.nextToken(), a = t[0], a === "(" || a === "[" ? g.push(a === "(" ? ")" : "]") : a === "{" && g.length > 0 ? g.push("}") : a === g[g.length - 1] && g.pop(), g.length === 0) if (a === ";") {
867
- h.source.end = this.getPosition(t[2]), h.source.end.offset++, this.semicolon = !0;
868
- break;
869
- } else if (a === "{") {
870
- y = !0;
871
- break;
872
- } else if (a === "}") {
873
- if (v.length > 0) {
874
- for (l = v.length - 1, d = v[l]; d && d[0] === "space"; ) d = v[--l];
875
- d && (h.source.end = this.getPosition(d[3] || d[2]), h.source.end.offset++);
876
- }
877
- this.end(t);
878
- break;
879
- } else v.push(t);
880
- else v.push(t);
983
+ if (t = this.tokenizer.nextToken(), a = t[0], a === "(" || a === "[" ? g.push(a === "(" ? ")" : "]") : a === "{" && g.length > 0 ? g.push("}") : a === g[g.length - 1] && g.pop(), g.length === 0)
984
+ if (a === ";") {
985
+ h.source.end = this.getPosition(t[2]), h.source.end.offset++, this.semicolon = !0;
986
+ break;
987
+ } else if (a === "{") {
988
+ y = !0;
989
+ break;
990
+ } else if (a === "}") {
991
+ if (v.length > 0) {
992
+ for (l = v.length - 1, d = v[l]; d && d[0] === "space"; )
993
+ d = v[--l];
994
+ d && (h.source.end = this.getPosition(d[3] || d[2]), h.source.end.offset++);
995
+ }
996
+ this.end(t);
997
+ break;
998
+ } else
999
+ v.push(t);
1000
+ else
1001
+ v.push(t);
881
1002
  if (this.tokenizer.endOfFile()) {
882
1003
  b = !0;
883
1004
  break;
@@ -887,19 +1008,24 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
887
1008
  }
888
1009
  checkMissedSemicolon(t) {
889
1010
  let h = this.colon(t);
890
- if (h === !1) return;
1011
+ if (h === !1)
1012
+ return;
891
1013
  let a = 0, d;
892
- for (let l = h - 1; l >= 0 && (d = t[l], !(d[0] !== "space" && (a += 1, a === 2))); l--) ;
1014
+ for (let l = h - 1; l >= 0 && (d = t[l], !(d[0] !== "space" && (a += 1, a === 2))); l--)
1015
+ ;
893
1016
  throw this.input.error("Missed semicolon", d[0] === "word" ? d[3] + 1 : d[2]);
894
1017
  }
895
1018
  colon(t) {
896
1019
  let h = 0, a, d, l;
897
1020
  for (let [b, y] of t.entries()) {
898
- if (d = y, l = d[0], l === "(" && (h += 1), l === ")" && (h -= 1), h === 0 && l === ":") if (!a) this.doubleColon(d);
899
- else {
900
- if (a[0] === "word" && a[1] === "progid") continue;
901
- return b;
902
- }
1021
+ if (d = y, l = d[0], l === "(" && (h += 1), l === ")" && (h -= 1), h === 0 && l === ":")
1022
+ if (!a)
1023
+ this.doubleColon(d);
1024
+ else {
1025
+ if (a[0] === "word" && a[1] === "progid")
1026
+ continue;
1027
+ return b;
1028
+ }
903
1029
  a = d;
904
1030
  }
905
1031
  return !1;
@@ -908,7 +1034,8 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
908
1034
  let h = new o();
909
1035
  this.init(h, t[2]), h.source.end = this.getPosition(t[3] || t[2]), h.source.end.offset++;
910
1036
  let a = t[1].slice(2, -2);
911
- if (/^\s*$/.test(a)) h.text = "", h.raws.left = a, h.raws.right = "";
1037
+ if (/^\s*$/.test(a))
1038
+ h.text = "", h.raws.left = a, h.raws.right = "";
912
1039
  else {
913
1040
  let d = a.match(/^(\s*)([^]*\S)(\s*)$/);
914
1041
  h.text = d[2], h.raws.left = d[1], h.raws.right = d[3];
@@ -921,21 +1048,26 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
921
1048
  let a = new c();
922
1049
  this.init(a, t[0][2]);
923
1050
  let d = t[t.length - 1];
924
- for (d[0] === ";" && (this.semicolon = !0, t.pop()), a.source.end = this.getPosition(d[3] || d[2] || p(t)), a.source.end.offset++; t[0][0] !== "word"; ) t.length === 1 && this.unknownWord(t), a.raws.before += t.shift()[1];
1051
+ for (d[0] === ";" && (this.semicolon = !0, t.pop()), a.source.end = this.getPosition(d[3] || d[2] || p(t)), a.source.end.offset++; t[0][0] !== "word"; )
1052
+ t.length === 1 && this.unknownWord(t), a.raws.before += t.shift()[1];
925
1053
  for (a.source.start = this.getPosition(t[0][2]), a.prop = ""; t.length; ) {
926
1054
  let v = t[0][0];
927
- if (v === ":" || v === "space" || v === "comment") break;
1055
+ if (v === ":" || v === "space" || v === "comment")
1056
+ break;
928
1057
  a.prop += t.shift()[1];
929
1058
  }
930
1059
  a.raws.between = "";
931
1060
  let l;
932
- for (; t.length; ) if (l = t.shift(), l[0] === ":") {
933
- a.raws.between += l[1];
934
- break;
935
- } else l[0] === "word" && /\w/.test(l[1]) && this.unknownWord([l]), a.raws.between += l[1];
1061
+ for (; t.length; )
1062
+ if (l = t.shift(), l[0] === ":") {
1063
+ a.raws.between += l[1];
1064
+ break;
1065
+ } else
1066
+ l[0] === "word" && /\w/.test(l[1]) && this.unknownWord([l]), a.raws.between += l[1];
936
1067
  (a.prop[0] === "_" || a.prop[0] === "*") && (a.raws.before += a.prop[0], a.prop = a.prop.slice(1));
937
1068
  let b = [], y;
938
- for (; t.length && (y = t[0][0], !(y !== "space" && y !== "comment")); ) b.push(t.shift());
1069
+ for (; t.length && (y = t[0][0], !(y !== "space" && y !== "comment")); )
1070
+ b.push(t.shift());
939
1071
  this.precheckMissedSemicolon(t);
940
1072
  for (let v = t.length - 1; v >= 0; v--) {
941
1073
  if (l = t[v], l[1].toLowerCase() === "!important") {
@@ -947,12 +1079,14 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
947
1079
  let g = t.slice(0), k = "";
948
1080
  for (let w = v; w > 0; w--) {
949
1081
  let x = g[w][0];
950
- if (k.trim().startsWith("!") && x !== "space") break;
1082
+ if (k.trim().startsWith("!") && x !== "space")
1083
+ break;
951
1084
  k = g.pop()[1] + k;
952
1085
  }
953
1086
  k.trim().startsWith("!") && (a.important = !0, a.raws.important = k, t = g);
954
1087
  }
955
- if (l[0] !== "space" && l[0] !== "comment") break;
1088
+ if (l[0] !== "space" && l[0] !== "comment")
1089
+ break;
956
1090
  }
957
1091
  t.some((v) => v[0] !== "space" && v[0] !== "comment") && (a.raws.between += b.map((v) => v[1]).join(""), b = []), this.raw(a, "value", b.concat(t), h), a.value.includes(":") && !h && this.checkMissedSemicolon(t);
958
1092
  }
@@ -985,59 +1119,71 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
985
1119
  other(t) {
986
1120
  let h = !1, a = null, d = !1, l = null, b = [], y = t[1].startsWith("--"), v = [], g = t;
987
1121
  for (; g; ) {
988
- if (a = g[0], v.push(g), a === "(" || a === "[") l || (l = g), b.push(a === "(" ? ")" : "]");
989
- else if (y && d && a === "{") l || (l = g), b.push("}");
990
- else if (b.length === 0) if (a === ";") if (d) {
991
- this.decl(v, y);
992
- return;
993
- } else break;
994
- else if (a === "{") {
995
- this.rule(v);
996
- return;
997
- } else if (a === "}") {
998
- this.tokenizer.back(v.pop()), h = !0;
999
- break;
1000
- } else a === ":" && (d = !0);
1001
- else a === b[b.length - 1] && (b.pop(), b.length === 0 && (l = null));
1122
+ if (a = g[0], v.push(g), a === "(" || a === "[")
1123
+ l || (l = g), b.push(a === "(" ? ")" : "]");
1124
+ else if (y && d && a === "{")
1125
+ l || (l = g), b.push("}");
1126
+ else if (b.length === 0)
1127
+ if (a === ";")
1128
+ if (d) {
1129
+ this.decl(v, y);
1130
+ return;
1131
+ } else
1132
+ break;
1133
+ else if (a === "{") {
1134
+ this.rule(v);
1135
+ return;
1136
+ } else if (a === "}") {
1137
+ this.tokenizer.back(v.pop()), h = !0;
1138
+ break;
1139
+ } else
1140
+ a === ":" && (d = !0);
1141
+ else
1142
+ a === b[b.length - 1] && (b.pop(), b.length === 0 && (l = null));
1002
1143
  g = this.tokenizer.nextToken();
1003
1144
  }
1004
1145
  if (this.tokenizer.endOfFile() && (h = !0), b.length > 0 && this.unclosedBracket(l), h && d) {
1005
- if (!y) for (; v.length && (g = v[v.length - 1][0], !(g !== "space" && g !== "comment")); ) this.tokenizer.back(v.pop());
1146
+ if (!y)
1147
+ for (; v.length && (g = v[v.length - 1][0], !(g !== "space" && g !== "comment")); )
1148
+ this.tokenizer.back(v.pop());
1006
1149
  this.decl(v, y);
1007
- } else this.unknownWord(v);
1150
+ } else
1151
+ this.unknownWord(v);
1008
1152
  }
1009
1153
  parse() {
1010
1154
  let t;
1011
- for (; !this.tokenizer.endOfFile(); ) switch (t = this.tokenizer.nextToken(), t[0]) {
1012
- case "space":
1013
- this.spaces += t[1];
1014
- break;
1015
- case ";":
1016
- this.freeSemicolon(t);
1017
- break;
1018
- case "}":
1019
- this.end(t);
1020
- break;
1021
- case "comment":
1022
- this.comment(t);
1023
- break;
1024
- case "at-word":
1025
- this.atrule(t);
1026
- break;
1027
- case "{":
1028
- this.emptyRule(t);
1029
- break;
1030
- default:
1031
- this.other(t);
1032
- break;
1033
- }
1155
+ for (; !this.tokenizer.endOfFile(); )
1156
+ switch (t = this.tokenizer.nextToken(), t[0]) {
1157
+ case "space":
1158
+ this.spaces += t[1];
1159
+ break;
1160
+ case ";":
1161
+ this.freeSemicolon(t);
1162
+ break;
1163
+ case "}":
1164
+ this.end(t);
1165
+ break;
1166
+ case "comment":
1167
+ this.comment(t);
1168
+ break;
1169
+ case "at-word":
1170
+ this.atrule(t);
1171
+ break;
1172
+ case "{":
1173
+ this.emptyRule(t);
1174
+ break;
1175
+ default:
1176
+ this.other(t);
1177
+ break;
1178
+ }
1034
1179
  this.endFile();
1035
1180
  }
1036
1181
  precheckMissedSemicolon() {
1037
1182
  }
1038
1183
  raw(t, h, a, d) {
1039
1184
  let l, b, y = a.length, v = "", g = !0, k, w;
1040
- for (let x = 0; x < y; x += 1) l = a[x], b = l[0], b === "space" && x === y - 1 && !d ? g = !1 : b === "comment" ? (w = a[x - 1] ? a[x - 1][0] : "empty", k = a[x + 1] ? a[x + 1][0] : "empty", !m[w] && !m[k] ? v.slice(-1) === "," ? g = !1 : v += l[1] : g = !1) : v += l[1];
1185
+ for (let x = 0; x < y; x += 1)
1186
+ l = a[x], b = l[0], b === "space" && x === y - 1 && !d ? g = !1 : b === "comment" ? (w = a[x - 1] ? a[x - 1][0] : "empty", k = a[x + 1] ? a[x + 1][0] : "empty", !m[w] && !m[k] ? v.slice(-1) === "," ? g = !1 : v += l[1] : g = !1) : v += l[1];
1041
1187
  if (!g) {
1042
1188
  let x = a.reduce((O, T) => O + T[1], "");
1043
1189
  t.raws[h] = { raw: x, value: v };
@@ -1051,22 +1197,26 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
1051
1197
  }
1052
1198
  spacesAndCommentsFromEnd(t) {
1053
1199
  let h, a = "";
1054
- for (; t.length && (h = t[t.length - 1][0], !(h !== "space" && h !== "comment")); ) a = t.pop()[1] + a;
1200
+ for (; t.length && (h = t[t.length - 1][0], !(h !== "space" && h !== "comment")); )
1201
+ a = t.pop()[1] + a;
1055
1202
  return a;
1056
1203
  }
1057
1204
  spacesAndCommentsFromStart(t) {
1058
1205
  let h, a = "";
1059
- for (; t.length && (h = t[0][0], !(h !== "space" && h !== "comment")); ) a += t.shift()[1];
1206
+ for (; t.length && (h = t[0][0], !(h !== "space" && h !== "comment")); )
1207
+ a += t.shift()[1];
1060
1208
  return a;
1061
1209
  }
1062
1210
  spacesFromEnd(t) {
1063
1211
  let h, a = "";
1064
- for (; t.length && (h = t[t.length - 1][0], h === "space"); ) a = t.pop()[1] + a;
1212
+ for (; t.length && (h = t[t.length - 1][0], h === "space"); )
1213
+ a = t.pop()[1] + a;
1065
1214
  return a;
1066
1215
  }
1067
1216
  stringFrom(t, h) {
1068
1217
  let a = "";
1069
- for (let d = h; d < t.length; d++) a += t[d][1];
1218
+ for (let d = h; d < t.length; d++)
1219
+ a += t[d][1];
1070
1220
  return t.splice(h, t.length - h), a;
1071
1221
  }
1072
1222
  unclosedBlock() {
@@ -1112,7 +1262,8 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
1112
1262
  `));
1113
1263
  let r = this.input.css.valueOf().substring(this.tokenizer.position());
1114
1264
  m += r, u = c[3] + r.length - m.length;
1115
- } else this.tokenizer.back(c);
1265
+ } else
1266
+ this.tokenizer.back(c);
1116
1267
  break;
1117
1268
  }
1118
1269
  f.push(c[1]), u = c[2], c = this.tokenizer.nextToken({ ignoreUnclosed: !0 });
@@ -1121,15 +1272,18 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
1121
1272
  return this.inlineComment(p), m && (this.input = new o(m), this.tokenizer = n(this.input)), !0;
1122
1273
  } else if (c[1] === "/") {
1123
1274
  let i = this.tokenizer.nextToken({ ignoreUnclosed: !0 });
1124
- if (i[0] === "comment" && /^\/\*/.test(i[1])) return i[0] = "word", i[1] = i[1].slice(1), c[1] = "//", this.tokenizer.back(i), s.exports.isInlineComment.bind(this)(c);
1275
+ if (i[0] === "comment" && /^\/\*/.test(i[1]))
1276
+ return i[0] = "word", i[1] = i[1].slice(1), c[1] = "//", this.tokenizer.back(i), s.exports.isInlineComment.bind(this)(c);
1125
1277
  }
1126
1278
  return !1;
1127
1279
  } };
1128
1280
  }), as = E((e, s) => {
1129
1281
  s.exports = { interpolation(n) {
1130
1282
  let o = [n, this.tokenizer.nextToken()], c = ["word", "}"];
1131
- if (o[0][1].length > 1 || o[1][0] !== "{") return this.tokenizer.back(o[1]), !1;
1132
- for (n = this.tokenizer.nextToken(); n && c.includes(n[0]); ) o.push(n), n = this.tokenizer.nextToken();
1283
+ if (o[0][1].length > 1 || o[1][0] !== "{")
1284
+ return this.tokenizer.back(o[1]), !1;
1285
+ for (n = this.tokenizer.nextToken(); n && c.includes(n[0]); )
1286
+ o.push(n), n = this.tokenizer.nextToken();
1133
1287
  let i = o.map((p) => p[1]), [f] = o, u = o.pop(), m = ["word", i.join(""), f[2], u[2]];
1134
1288
  return this.tokenizer.back(n), this.tokenizer.back(m), !0;
1135
1289
  } };
@@ -1148,7 +1302,8 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
1148
1302
  let u = n({ css: f });
1149
1303
  for (c.filename = f.replace(o, "$1"); !u.endOfFile(); ) {
1150
1304
  let [m, p] = u.nextToken();
1151
- if (m === "word" && p === "url") return;
1305
+ if (m === "word" && p === "url")
1306
+ return;
1152
1307
  if (m === "brackets") {
1153
1308
  c.options = p, c.filename = f.replace(p, "").trim();
1154
1309
  break;
@@ -1186,7 +1341,8 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
1186
1341
  each(r) {
1187
1342
  r[0][1] = ` ${r[0][1]}`;
1188
1343
  let t = r.findIndex((l) => l[0] === "("), h = r.reverse().find((l) => l[0] === ")"), a = r.reverse().indexOf(h), d = r.splice(t, a).map((l) => l[1]).join("");
1189
- for (let l of r.reverse()) this.tokenizer.back(l);
1344
+ for (let l of r.reverse())
1345
+ this.tokenizer.back(l);
1190
1346
  this.atrule(this.tokenizer.nextToken()), this.lastNode.function = !0, this.lastNode.params = d;
1191
1347
  }
1192
1348
  init(r, t, h) {
@@ -1194,7 +1350,8 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
1194
1350
  }
1195
1351
  inlineComment(r) {
1196
1352
  let t = new n(), h = r[1].slice(2);
1197
- if (this.init(t, r[2]), t.source.end = this.getPosition(r[3] || r[2]), t.inline = !0, t.raws.begin = "//", /^\s*$/.test(h)) t.text = "", t.raws.left = h, t.raws.right = "";
1353
+ if (this.init(t, r[2]), t.source.end = this.getPosition(r[3] || r[2]), t.inline = !0, t.raws.begin = "//", /^\s*$/.test(h))
1354
+ t.text = "", t.raws.left = h, t.raws.right = "";
1198
1355
  else {
1199
1356
  let a = h.match(/^(\s*)([^]*[^\s])(\s*)$/);
1200
1357
  [, t.raws.left, t.text, t.raws.right] = a;
@@ -1207,14 +1364,17 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
1207
1364
  r = _, r.push(T), r = r.concat(A);
1208
1365
  }
1209
1366
  let b = [];
1210
- for (let v of r) if ((v[1] === "!" || b.length) && b.push(v), v[1] === "important") break;
1367
+ for (let v of r)
1368
+ if ((v[1] === "!" || b.length) && b.push(v), v[1] === "important")
1369
+ break;
1211
1370
  if (b.length) {
1212
1371
  let [v] = b, g = r.indexOf(v), k = b[b.length - 1], w = [v[2], v[3]], x = [k[4], k[5]], O = ["word", b.map((T) => T[1]).join("")].concat(w, x);
1213
1372
  r.splice(g, b.length, O);
1214
1373
  }
1215
1374
  let y = r.findIndex((v) => p.test(v[1]));
1216
1375
  y > 0 && ([, l] = r[y], r.splice(y, 1));
1217
- for (let v of r.reverse()) this.tokenizer.back(v);
1376
+ for (let v of r.reverse())
1377
+ this.tokenizer.back(v);
1218
1378
  this.atrule(this.tokenizer.nextToken()), this.lastNode.mixin = !0, this.lastNode.raws.identifier = h, l && (this.lastNode.important = !0, this.lastNode.raws.important = l);
1219
1379
  }
1220
1380
  other(r) {
@@ -1225,7 +1385,8 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
1225
1385
  if (h[0] === "at-word" && t[0] === "{" && (this.tokenizer.back(t), i.bind(this)(h))) {
1226
1386
  let a = this.tokenizer.nextToken();
1227
1387
  r = r.slice(0, r.length - 2).concat([a]);
1228
- for (let d of r.reverse()) this.tokenizer.back(d);
1388
+ for (let d of r.reverse())
1389
+ this.tokenizer.back(d);
1229
1390
  return;
1230
1391
  }
1231
1392
  super.rule(r), /:extend\(.+\)/i.test(this.lastNode.selector) && (this.lastNode.extend = !0);
@@ -1252,7 +1413,8 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
1252
1413
  return;
1253
1414
  }
1254
1415
  let i = `${o.function ? "" : o.raws.identifier || "@"}${o.name}`, f = o.params ? this.rawValue(o, "params") : "", u = o.raws.important || "";
1255
- if (o.variable && (f = o.value), typeof o.raws.afterName < "u" ? i += o.raws.afterName : f && (i += " "), o.nodes) this.block(o, i + f + u);
1416
+ if (o.variable && (f = o.value), typeof o.raws.afterName < "u" ? i += o.raws.afterName : f && (i += " "), o.nodes)
1417
+ this.block(o, i + f + u);
1256
1418
  else {
1257
1419
  let m = (o.raws.between || "") + u + (c ? ";" : "");
1258
1420
  this.builder(i + f + m, o);
@@ -1262,7 +1424,8 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
1262
1424
  if (o.inline) {
1263
1425
  let c = this.raw(o, "left", "commentLeft"), i = this.raw(o, "right", "commentRight");
1264
1426
  this.builder(`//${c}${o.text}${i}`, o);
1265
- } else super.comment(o);
1427
+ } else
1428
+ super.comment(o);
1266
1429
  }
1267
1430
  };
1268
1431
  }), hs = E((e, s) => {
@@ -1271,8 +1434,10 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
1271
1434
  let u = new n(i, f), m = new o(u);
1272
1435
  return m.parse(), m.root.walk((p) => {
1273
1436
  let r = u.css.lastIndexOf(p.source.input.css);
1274
- if (r === 0) return;
1275
- if (r + p.source.input.css.length !== u.css.length) throw new Error("Invalid state detected in postcss-less");
1437
+ if (r === 0)
1438
+ return;
1439
+ if (r + p.source.input.css.length !== u.css.length)
1440
+ throw new Error("Invalid state detected in postcss-less");
1276
1441
  let t = r + p.source.start.offset, h = u.fromOffset(r + p.source.start.offset);
1277
1442
  if (p.source.start = { offset: t, line: h.line, column: h.col }, p.source.end) {
1278
1443
  let a = r + p.source.end.offset, d = u.fromOffset(r + p.source.end.offset);
@@ -1304,7 +1469,8 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
1304
1469
  }), ds = E((e, s) => {
1305
1470
  var n = Ot(), o = Re(), c = tt(), i = Ne(), f = Yt(), u = Le(), m = Tt();
1306
1471
  function p(r, t) {
1307
- if (Array.isArray(r)) return r.map((d) => p(d));
1472
+ if (Array.isArray(r))
1473
+ return r.map((d) => p(d));
1308
1474
  let { inputs: h, ...a } = r;
1309
1475
  if (h) {
1310
1476
  t = [];
@@ -1317,11 +1483,16 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
1317
1483
  let { inputId: d, ...l } = a.source;
1318
1484
  a.source = l, d != null && (a.source.input = t[d]);
1319
1485
  }
1320
- if (a.type === "root") return new u(a);
1321
- if (a.type === "decl") return new c(a);
1322
- if (a.type === "rule") return new m(a);
1323
- if (a.type === "comment") return new o(a);
1324
- if (a.type === "atrule") return new n(a);
1486
+ if (a.type === "root")
1487
+ return new u(a);
1488
+ if (a.type === "decl")
1489
+ return new c(a);
1490
+ if (a.type === "rule")
1491
+ return new m(a);
1492
+ if (a.type === "comment")
1493
+ return new o(a);
1494
+ if (a.type === "atrule")
1495
+ return new n(a);
1325
1496
  throw new Error("Unknown node type: " + r.type);
1326
1497
  }
1327
1498
  s.exports = p, p.default = p;
@@ -1337,7 +1508,8 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
1337
1508
  let i = c.node.rangeBy(c);
1338
1509
  this.line = i.start.line, this.column = i.start.column, this.endLine = i.end.line, this.endColumn = i.end.column;
1339
1510
  }
1340
- for (let i in c) this[i] = c[i];
1511
+ for (let i in c)
1512
+ this[i] = c[i];
1341
1513
  }
1342
1514
  toString() {
1343
1515
  return this.node ? this.node.error(this.text, { index: this.index, plugin: this.plugin, word: this.word }).message : this.plugin ? this.plugin + ": " + this.text : this.text;
@@ -1416,8 +1588,10 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
1416
1588
  constructor(x, O, T) {
1417
1589
  this.stringified = !1, this.processed = !1;
1418
1590
  let _;
1419
- if (typeof O == "object" && O !== null && (O.type === "root" || O.type === "document")) _ = v(O);
1420
- else if (O instanceof or || O instanceof f) _ = v(O.root), O.map && (typeof T.map > "u" && (T.map = {}), T.map.inline || (T.map.inline = !1), T.map.prev = O.map);
1591
+ if (typeof O == "object" && O !== null && (O.type === "root" || O.type === "document"))
1592
+ _ = v(O);
1593
+ else if (O instanceof or || O instanceof f)
1594
+ _ = v(O.root), O.map && (typeof T.map > "u" && (T.map = {}), T.map.inline || (T.map.inline = !1), T.map.prev = O.map);
1421
1595
  else {
1422
1596
  let A = i;
1423
1597
  T.syntax && (A = T.syntax.parse), T.parser && (A = T.parser), A.parse && (A = A.parse);
@@ -1456,22 +1630,30 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
1456
1630
  let x = (O, T, _) => {
1457
1631
  this.listeners[T] || (this.listeners[T] = []), this.listeners[T].push([O, _]);
1458
1632
  };
1459
- for (let O of this.plugins) if (typeof O == "object") for (let T in O) {
1460
- if (!h[T] && /^[A-Z]/.test(T)) throw new Error(`Unknown event ${T} in ${O.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);
1461
- if (!a[T]) if (typeof O[T] == "object") for (let _ in O[T]) _ === "*" ? x(O, T, O[T][_]) : x(O, T + "-" + _.toLowerCase(), O[T][_]);
1462
- else typeof O[T] == "function" && x(O, T, O[T]);
1463
- }
1633
+ for (let O of this.plugins)
1634
+ if (typeof O == "object")
1635
+ for (let T in O) {
1636
+ if (!h[T] && /^[A-Z]/.test(T))
1637
+ throw new Error(`Unknown event ${T} in ${O.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);
1638
+ if (!a[T])
1639
+ if (typeof O[T] == "object")
1640
+ for (let _ in O[T])
1641
+ _ === "*" ? x(O, T, O[T][_]) : x(O, T + "-" + _.toLowerCase(), O[T][_]);
1642
+ else
1643
+ typeof O[T] == "function" && x(O, T, O[T]);
1644
+ }
1464
1645
  this.hasListener = Object.keys(this.listeners).length > 0;
1465
1646
  }
1466
1647
  async runAsync() {
1467
1648
  this.plugin = 0;
1468
1649
  for (let x = 0; x < this.plugins.length; x++) {
1469
1650
  let O = this.plugins[x], T = this.runOnRoot(O);
1470
- if (l(T)) try {
1471
- await T;
1472
- } catch (_) {
1473
- throw this.handleError(_);
1474
- }
1651
+ if (l(T))
1652
+ try {
1653
+ await T;
1654
+ } catch (_) {
1655
+ throw this.handleError(_);
1656
+ }
1475
1657
  }
1476
1658
  if (this.prepareVisitors(), this.hasListener) {
1477
1659
  let x = this.result.root;
@@ -1480,25 +1662,28 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
1480
1662
  let O = [y(x)];
1481
1663
  for (; O.length > 0; ) {
1482
1664
  let T = this.visitTick(O);
1483
- if (l(T)) try {
1484
- await T;
1485
- } catch (_) {
1486
- let A = O[O.length - 1].node;
1487
- throw this.handleError(_, A);
1488
- }
1665
+ if (l(T))
1666
+ try {
1667
+ await T;
1668
+ } catch (_) {
1669
+ let A = O[O.length - 1].node;
1670
+ throw this.handleError(_, A);
1671
+ }
1489
1672
  }
1490
1673
  }
1491
- if (this.listeners.OnceExit) for (let [O, T] of this.listeners.OnceExit) {
1492
- this.result.lastPlugin = O;
1493
- try {
1494
- if (x.type === "document") {
1495
- let _ = x.nodes.map((A) => T(A, this.helpers));
1496
- await Promise.all(_);
1497
- } else await T(x, this.helpers);
1498
- } catch (_) {
1499
- throw this.handleError(_);
1674
+ if (this.listeners.OnceExit)
1675
+ for (let [O, T] of this.listeners.OnceExit) {
1676
+ this.result.lastPlugin = O;
1677
+ try {
1678
+ if (x.type === "document") {
1679
+ let _ = x.nodes.map((A) => T(A, this.helpers));
1680
+ await Promise.all(_);
1681
+ } else
1682
+ await T(x, this.helpers);
1683
+ } catch (_) {
1684
+ throw this.handleError(_);
1685
+ }
1500
1686
  }
1501
- }
1502
1687
  }
1503
1688
  return this.processed = !0, this.stringify();
1504
1689
  }
@@ -1511,14 +1696,17 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
1511
1696
  return l(O[0]) ? Promise.all(O) : O;
1512
1697
  }
1513
1698
  return x.Once(this.result.root, this.helpers);
1514
- } else if (typeof x == "function") return x(this.result.root, this.result);
1699
+ } else if (typeof x == "function")
1700
+ return x(this.result.root, this.result);
1515
1701
  } catch (O) {
1516
1702
  throw this.handleError(O);
1517
1703
  }
1518
1704
  }
1519
1705
  stringify() {
1520
- if (this.error) throw this.error;
1521
- if (this.stringified) return this.result;
1706
+ if (this.error)
1707
+ throw this.error;
1708
+ if (this.stringified)
1709
+ return this.result;
1522
1710
  this.stringified = !0, this.sync();
1523
1711
  let x = this.result.opts, O = m;
1524
1712
  x.syntax && (O = x.syntax.stringify), x.stringifier && (O = x.stringifier), O.stringify && (O = O.stringify);
@@ -1526,18 +1714,27 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
1526
1714
  return this.result.css = T[0], this.result.map = T[1], this.result;
1527
1715
  }
1528
1716
  sync() {
1529
- if (this.error) throw this.error;
1530
- if (this.processed) return this.result;
1531
- if (this.processed = !0, this.processing) throw this.getAsyncError();
1717
+ if (this.error)
1718
+ throw this.error;
1719
+ if (this.processed)
1720
+ return this.result;
1721
+ if (this.processed = !0, this.processing)
1722
+ throw this.getAsyncError();
1532
1723
  for (let x of this.plugins) {
1533
1724
  let O = this.runOnRoot(x);
1534
- if (l(O)) throw this.getAsyncError();
1725
+ if (l(O))
1726
+ throw this.getAsyncError();
1535
1727
  }
1536
1728
  if (this.prepareVisitors(), this.hasListener) {
1537
1729
  let x = this.result.root;
1538
- for (; !x[p]; ) x[p] = !0, this.walkSync(x);
1539
- if (this.listeners.OnceExit) if (x.type === "document") for (let O of x.nodes) this.visitSync(this.listeners.OnceExit, O);
1540
- else this.visitSync(this.listeners.OnceExit, x);
1730
+ for (; !x[p]; )
1731
+ x[p] = !0, this.walkSync(x);
1732
+ if (this.listeners.OnceExit)
1733
+ if (x.type === "document")
1734
+ for (let O of x.nodes)
1735
+ this.visitSync(this.listeners.OnceExit, O);
1736
+ else
1737
+ this.visitSync(this.listeners.OnceExit, x);
1541
1738
  }
1542
1739
  return this.result;
1543
1740
  }
@@ -1556,8 +1753,10 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
1556
1753
  } catch (I) {
1557
1754
  throw this.handleError(I, O.proxyOf);
1558
1755
  }
1559
- if (O.type !== "root" && O.type !== "document" && !O.parent) return !0;
1560
- if (l(A)) throw this.getAsyncError();
1756
+ if (O.type !== "root" && O.type !== "document" && !O.parent)
1757
+ return !0;
1758
+ if (l(A))
1759
+ throw this.getAsyncError();
1561
1760
  }
1562
1761
  }
1563
1762
  visitTick(x) {
@@ -1577,10 +1776,11 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
1577
1776
  }
1578
1777
  if (O.iterator !== 0) {
1579
1778
  let I = O.iterator, N;
1580
- for (; N = T.nodes[T.indexes[I]]; ) if (T.indexes[I] += 1, !N[p]) {
1581
- N[p] = !0, x.push(y(N));
1582
- return;
1583
- }
1779
+ for (; N = T.nodes[T.indexes[I]]; )
1780
+ if (T.indexes[I] += 1, !N[p]) {
1781
+ N[p] = !0, x.push(y(N));
1782
+ return;
1783
+ }
1584
1784
  O.iterator = 0, delete T.indexes[I];
1585
1785
  }
1586
1786
  let A = O.events;
@@ -1599,13 +1799,16 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
1599
1799
  walkSync(x) {
1600
1800
  x[p] = !0;
1601
1801
  let O = b(x);
1602
- for (let T of O) if (T === d) x.nodes && x.each((_) => {
1603
- _[p] || this.walkSync(_);
1604
- });
1605
- else {
1606
- let _ = this.listeners[T];
1607
- if (_ && this.visitSync(_, x.toProxy())) return;
1608
- }
1802
+ for (let T of O)
1803
+ if (T === d)
1804
+ x.nodes && x.each((_) => {
1805
+ _[p] || this.walkSync(_);
1806
+ });
1807
+ else {
1808
+ let _ = this.listeners[T];
1809
+ if (_ && this.visitSync(_, x.toProxy()))
1810
+ return;
1811
+ }
1609
1812
  }
1610
1813
  warnings() {
1611
1814
  return this.sync().warnings();
@@ -1637,14 +1840,16 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
1637
1840
  return this.result.processor;
1638
1841
  }
1639
1842
  get root() {
1640
- if (this._root) return this._root;
1843
+ if (this._root)
1844
+ return this._root;
1641
1845
  let u, m = o;
1642
1846
  try {
1643
1847
  u = m(this._css, this._opts);
1644
1848
  } catch (p) {
1645
1849
  this.error = p;
1646
1850
  }
1647
- if (this.error) throw this.error;
1851
+ if (this.error)
1852
+ throw this.error;
1648
1853
  return this._root = u, u;
1649
1854
  }
1650
1855
  get [Symbol.toStringTag]() {
@@ -1662,7 +1867,8 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
1662
1867
  if (a.isMap()) {
1663
1868
  let [d, l] = a.generate();
1664
1869
  d && (this.result.css = d), l && (this.result.map = l);
1665
- } else a.clearAnnotation(), this.result.css = a.css;
1870
+ } else
1871
+ a.clearAnnotation(), this.result.css = a.css;
1666
1872
  }
1667
1873
  async() {
1668
1874
  return this.error ? Promise.reject(this.error) : Promise.resolve(this.result);
@@ -1674,7 +1880,8 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
1674
1880
  return this.async().then(u, u);
1675
1881
  }
1676
1882
  sync() {
1677
- if (this.error) throw this.error;
1883
+ if (this.error)
1884
+ throw this.error;
1678
1885
  return this.result;
1679
1886
  }
1680
1887
  then(u, m) {
@@ -1695,10 +1902,15 @@ var Kr = Object.create, wt = Object.defineProperty, Xr = Object.getOwnPropertyDe
1695
1902
  }
1696
1903
  normalize(u) {
1697
1904
  let m = [];
1698
- for (let p of u) if (p.postcss === !0 ? p = p() : p.postcss && (p = p.postcss), typeof p == "object" && Array.isArray(p.plugins)) m = m.concat(p.plugins);
1699
- else if (typeof p == "object" && p.postcssPlugin) m.push(p);
1700
- else if (typeof p == "function") m.push(p);
1701
- else if (!(typeof p == "object" && (p.parse || p.stringify))) throw new Error(p + " is not a PostCSS plugin");
1905
+ for (let p of u)
1906
+ if (p.postcss === !0 ? p = p() : p.postcss && (p = p.postcss), typeof p == "object" && Array.isArray(p.plugins))
1907
+ m = m.concat(p.plugins);
1908
+ else if (typeof p == "object" && p.postcssPlugin)
1909
+ m.push(p);
1910
+ else if (typeof p == "function")
1911
+ m.push(p);
1912
+ else if (!(typeof p == "object" && (p.parse || p.stringify)))
1913
+ throw new Error(p + " is not a PostCSS plugin");
1702
1914
  return m;
1703
1915
  }
1704
1916
  process(u, m = {}) {
@@ -1751,11 +1963,14 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
1751
1963
  }
1752
1964
  function N() {
1753
1965
  let M = 1, P = !1, D = !1;
1754
- for (; M > 0; ) h += 1, p.length <= h && A("interpolation"), t = p.charCodeAt(h), v = p.charCodeAt(h + 1), P ? !D && t === P ? (P = !1, D = !1) : t === 92 ? D = !D : D && (D = !1) : t === 39 || t === 34 ? P = t : t === 125 ? M -= 1 : t === 35 && v === 123 && (M += 1);
1966
+ for (; M > 0; )
1967
+ h += 1, p.length <= h && A("interpolation"), t = p.charCodeAt(h), v = p.charCodeAt(h + 1), P ? !D && t === P ? (P = !1, D = !1) : t === 92 ? D = !D : D && (D = !1) : t === 39 || t === 34 ? P = t : t === 125 ? M -= 1 : t === 35 && v === 123 && (M += 1);
1755
1968
  }
1756
1969
  function R(M) {
1757
- if (O.length) return O.pop();
1758
- if (w >= k) return;
1970
+ if (O.length)
1971
+ return O.pop();
1972
+ if (w >= k)
1973
+ return;
1759
1974
  let P = M ? M.ignoreUnclosed : !1;
1760
1975
  switch (t = p.charCodeAt(w), t) {
1761
1976
  case 10:
@@ -1788,18 +2003,23 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
1788
2003
  case 40: {
1789
2004
  if (y = x.length ? x.pop()[1] : "", v = p.charCodeAt(w + 1), y === "url" && v !== 39 && v !== 34) {
1790
2005
  for (T = 1, b = !1, h = w + 1; h <= p.length - 1; ) {
1791
- if (v = p.charCodeAt(h), v === 92) b = !b;
1792
- else if (v === 40) T += 1;
1793
- else if (v === 41 && (T -= 1, T === 0)) break;
2006
+ if (v = p.charCodeAt(h), v === 92)
2007
+ b = !b;
2008
+ else if (v === 40)
2009
+ T += 1;
2010
+ else if (v === 41 && (T -= 1, T === 0))
2011
+ break;
1794
2012
  h += 1;
1795
2013
  }
1796
2014
  d = p.slice(w, h + 1), g = ["brackets", d, w, h], w = h;
1797
- } else h = p.indexOf(")", w + 1), d = p.slice(w, h + 1), h === -1 || c.test(d) ? g = ["(", "(", w] : (g = ["brackets", d, w, h], w = h);
2015
+ } else
2016
+ h = p.indexOf(")", w + 1), d = p.slice(w, h + 1), h === -1 || c.test(d) ? g = ["(", "(", w] : (g = ["brackets", d, w, h], w = h);
1798
2017
  break;
1799
2018
  }
1800
2019
  case 39:
1801
2020
  case 34: {
1802
- for (a = t, h = w, b = !1; h < k && (h++, h === k && A("string"), t = p.charCodeAt(h), v = p.charCodeAt(h + 1), !(!b && t === a)); ) t === 92 ? b = !b : b ? b = !1 : t === 35 && v === 123 && N();
2021
+ for (a = t, h = w, b = !1; h < k && (h++, h === k && A("string"), t = p.charCodeAt(h), v = p.charCodeAt(h + 1), !(!b && t === a)); )
2022
+ t === 92 ? b = !b : b ? b = !1 : t === 35 && v === 123 && N();
1803
2023
  g = ["string", p.slice(w, h + 1), w, h], w = h;
1804
2024
  break;
1805
2025
  }
@@ -1808,9 +2028,11 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
1808
2028
  break;
1809
2029
  }
1810
2030
  case 92: {
1811
- for (h = w, l = !0; p.charCodeAt(h + 1) === 92; ) h += 1, l = !l;
2031
+ for (h = w, l = !0; p.charCodeAt(h + 1) === 92; )
2032
+ h += 1, l = !l;
1812
2033
  if (t = p.charCodeAt(h + 1), l && t !== 47 && t !== 32 && t !== 10 && t !== 9 && t !== 13 && t !== 12 && (h += 1, i.test(p.charAt(h)))) {
1813
- for (; i.test(p.charAt(h + 1)); ) h += 1;
2034
+ for (; i.test(p.charAt(h + 1)); )
2035
+ h += 1;
1814
2036
  p.charCodeAt(h + 1) === 32 && (h += 1);
1815
2037
  }
1816
2038
  g = ["word", p.slice(w, h + 1), w, h], w = h;
@@ -1833,7 +2055,8 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
1833
2055
  let m = u[1], p = u;
1834
2056
  for (; !this.tokenizer.endOfFile(); ) {
1835
2057
  let r = this.tokenizer.nextToken();
1836
- if (r[0] === "word" && r[2] === p[3] + 1) m += r[1], p = r;
2058
+ if (r[0] === "word" && r[2] === p[3] + 1)
2059
+ m += r[1], p = r;
1837
2060
  else {
1838
2061
  this.tokenizer.back(r);
1839
2062
  break;
@@ -1848,12 +2071,14 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
1848
2071
  let p = this.input.fromOffset(u[3]);
1849
2072
  m.source.end = { column: p.col, line: p.line, offset: u[3] + 1 };
1850
2073
  let r = u[1].slice(2);
1851
- if (/^\s*$/.test(r)) m.text = "", m.raws.left = r, m.raws.right = "";
2074
+ if (/^\s*$/.test(r))
2075
+ m.text = "", m.raws.left = r, m.raws.right = "";
1852
2076
  else {
1853
2077
  let t = r.match(/^(\s*)([^]*\S)(\s*)$/), h = t[2].replace(/(\*\/|\/\*)/g, "*//*");
1854
2078
  m.text = h, m.raws.left = t[1], m.raws.right = t[3], m.raws.text = t[2];
1855
2079
  }
1856
- } else super.comment(u);
2080
+ } else
2081
+ super.comment(u);
1857
2082
  }
1858
2083
  createTokenizer() {
1859
2084
  this.tokenizer = i(this.input);
@@ -1865,28 +2090,34 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
1865
2090
  if (a[0] === "comment" && a[4] === "inline") {
1866
2091
  let d = a[1].slice(2).replace(/(\*\/|\/\*)/g, "*//*");
1867
2092
  return h + "/*" + d + "*/";
1868
- } else return h + a[1];
2093
+ } else
2094
+ return h + a[1];
1869
2095
  }, ""), t !== u.raws[m].raw && (u.raws[m].scss = t);
1870
2096
  }
1871
2097
  }
1872
2098
  rule(u) {
1873
2099
  let m = !1, p = 0, r = "";
1874
- for (let t of u) if (m) t[0] !== "comment" && t[0] !== "{" && (r += t[1]);
1875
- else {
1876
- if (t[0] === "space" && t[1].includes(`
1877
- `)) break;
1878
- t[0] === "(" ? p += 1 : t[0] === ")" ? p -= 1 : p === 0 && t[0] === ":" && (m = !0);
1879
- }
1880
- if (!m || r.trim() === "" || /^[#:A-Za-z-]/.test(r)) super.rule(u);
2100
+ for (let t of u)
2101
+ if (m)
2102
+ t[0] !== "comment" && t[0] !== "{" && (r += t[1]);
2103
+ else {
2104
+ if (t[0] === "space" && t[1].includes(`
2105
+ `))
2106
+ break;
2107
+ t[0] === "(" ? p += 1 : t[0] === ")" ? p -= 1 : p === 0 && t[0] === ":" && (m = !0);
2108
+ }
2109
+ if (!m || r.trim() === "" || /^[#:A-Za-z-]/.test(r))
2110
+ super.rule(u);
1881
2111
  else {
1882
2112
  u.pop();
1883
2113
  let t = new c();
1884
2114
  this.init(t, u[0][2]);
1885
2115
  let h;
1886
- for (let d = u.length - 1; d >= 0; d--) if (u[d][0] !== "space") {
1887
- h = u[d];
1888
- break;
1889
- }
2116
+ for (let d = u.length - 1; d >= 0; d--)
2117
+ if (u[d][0] !== "space") {
2118
+ h = u[d];
2119
+ break;
2120
+ }
1890
2121
  if (h[3]) {
1891
2122
  let d = this.input.fromOffset(h[3]);
1892
2123
  t.source.end = { column: d.col, line: d.line, offset: h[3] + 1 };
@@ -1894,22 +2125,26 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
1894
2125
  let d = this.input.fromOffset(h[2]);
1895
2126
  t.source.end = { column: d.col, line: d.line, offset: h[2] + 1 };
1896
2127
  }
1897
- for (; u[0][0] !== "word"; ) t.raws.before += u.shift()[1];
2128
+ for (; u[0][0] !== "word"; )
2129
+ t.raws.before += u.shift()[1];
1898
2130
  if (u[0][2]) {
1899
2131
  let d = this.input.fromOffset(u[0][2]);
1900
2132
  t.source.start = { column: d.col, line: d.line, offset: u[0][2] };
1901
2133
  }
1902
2134
  for (t.prop = ""; u.length; ) {
1903
2135
  let d = u[0][0];
1904
- if (d === ":" || d === "space" || d === "comment") break;
2136
+ if (d === ":" || d === "space" || d === "comment")
2137
+ break;
1905
2138
  t.prop += u.shift()[1];
1906
2139
  }
1907
2140
  t.raws.between = "";
1908
2141
  let a;
1909
- for (; u.length; ) if (a = u.shift(), a[0] === ":") {
1910
- t.raws.between += a[1];
1911
- break;
1912
- } else t.raws.between += a[1];
2142
+ for (; u.length; )
2143
+ if (a = u.shift(), a[0] === ":") {
2144
+ t.raws.between += a[1];
2145
+ break;
2146
+ } else
2147
+ t.raws.between += a[1];
1913
2148
  (t.prop[0] === "_" || t.prop[0] === "*") && (t.raws.before += t.prop[0], t.prop = t.prop.slice(1)), t.raws.between += this.spacesAndCommentsFromStart(u), this.precheckMissedSemicolon(u);
1914
2149
  for (let d = u.length - 1; d > 0; d--) {
1915
2150
  if (a = u[d], a[1] === "!important") {
@@ -1921,12 +2156,14 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
1921
2156
  let l = u.slice(0), b = "";
1922
2157
  for (let y = d; y > 0; y--) {
1923
2158
  let v = l[y][0];
1924
- if (b.trim().indexOf("!") === 0 && v !== "space") break;
2159
+ if (b.trim().indexOf("!") === 0 && v !== "space")
2160
+ break;
1925
2161
  b = l.pop()[1] + b;
1926
2162
  }
1927
2163
  b.trim().indexOf("!") === 0 && (t.important = !0, t.raws.important = b, u = l);
1928
2164
  }
1929
- if (a[0] !== "space" && a[0] !== "comment") break;
2165
+ if (a[0] !== "space" && a[0] !== "comment")
2166
+ break;
1930
2167
  }
1931
2168
  this.raw(t, "value", u), t.value.includes(":") && this.checkMissedSemicolon(u), this.current = t;
1932
2169
  }
@@ -1960,14 +2197,16 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
1960
2197
  c.prototype = Object.create(n.default.prototype), c.constructor = n.default, c.prototype.walk = function(i, f) {
1961
2198
  for (var u = typeof i == "string" || i instanceof RegExp, m = u ? f : i, p = typeof i == "string" ? new RegExp(i) : i, r = 0; r < this.nodes.length; r++) {
1962
2199
  var t = this.nodes[r], h = u ? p.test(t.type) : !0;
1963
- if (h && m && m(t, r, this.nodes) === !1 || t.nodes && t.walk(i, f) === !1) return !1;
2200
+ if (h && m && m(t, r, this.nodes) === !1 || t.nodes && t.walk(i, f) === !1)
2201
+ return !1;
1964
2202
  }
1965
2203
  return !0;
1966
2204
  }, c.prototype.each = function() {
1967
2205
  for (var i = arguments.length <= 0 || arguments[0] === void 0 ? function() {
1968
2206
  } : arguments[0], f = 0; f < this.nodes.length; f++) {
1969
2207
  var u = this.nodes[f];
1970
- if (i(u, f, this.nodes) === !1) return !1;
2208
+ if (i(u, f, this.nodes) === !1)
2209
+ return !1;
1971
2210
  }
1972
2211
  return !0;
1973
2212
  }, e.default = c;
@@ -2001,47 +2240,48 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2001
2240
  var y = p[b];
2002
2241
  a ? (d.value += y, (y === "{" || y === "(") && h++, (y === ")" || y === "}") && h--) : y.search(/\s/) !== -1 ? d.before += y : (y === "(" && (d.type = "media-feature-expression", h++), d.value = y, d.sourceIndex = r + b, a = !0), a && h === 0 && (y === ")" || b === p.length - 1 || p[b + 1].search(/\s/) !== -1) && (["not", "only", "and"].indexOf(d.value) !== -1 && (d.type = "keyword"), d.type === "media-feature-expression" && (d.nodes = f(d.value, d.sourceIndex)), t.push(Array.isArray(d.nodes) ? new c.default(d) : new n.default(d)), d = l(), a = !1);
2003
2242
  }
2004
- for (var v = 0; v < t.length; v++) if (d = t[v], v > 0 && (t[v - 1].after = d.before), d.type === void 0) {
2005
- if (v > 0) {
2006
- if (t[v - 1].type === "media-feature-expression") {
2007
- d.type = "keyword";
2008
- continue;
2009
- }
2010
- if (t[v - 1].value === "not" || t[v - 1].value === "only") {
2011
- d.type = "media-type";
2012
- continue;
2013
- }
2014
- if (t[v - 1].value === "and") {
2015
- d.type = "media-feature-expression";
2016
- continue;
2017
- }
2018
- t[v - 1].type === "media-type" && (t[v + 1] ? d.type = t[v + 1].type === "media-feature-expression" ? "keyword" : "media-feature-expression" : d.type = "media-feature-expression");
2019
- }
2020
- if (v === 0) {
2021
- if (!t[v + 1]) {
2022
- d.type = "media-type";
2023
- continue;
2024
- }
2025
- if (t[v + 1] && (t[v + 1].type === "media-feature-expression" || t[v + 1].type === "keyword")) {
2026
- d.type = "media-type";
2027
- continue;
2028
- }
2029
- if (t[v + 2]) {
2030
- if (t[v + 2].type === "media-feature-expression") {
2031
- d.type = "media-type", t[v + 1].type = "keyword";
2243
+ for (var v = 0; v < t.length; v++)
2244
+ if (d = t[v], v > 0 && (t[v - 1].after = d.before), d.type === void 0) {
2245
+ if (v > 0) {
2246
+ if (t[v - 1].type === "media-feature-expression") {
2247
+ d.type = "keyword";
2248
+ continue;
2249
+ }
2250
+ if (t[v - 1].value === "not" || t[v - 1].value === "only") {
2251
+ d.type = "media-type";
2032
2252
  continue;
2033
2253
  }
2034
- if (t[v + 2].type === "keyword") {
2035
- d.type = "keyword", t[v + 1].type = "media-type";
2254
+ if (t[v - 1].value === "and") {
2255
+ d.type = "media-feature-expression";
2036
2256
  continue;
2037
2257
  }
2258
+ t[v - 1].type === "media-type" && (t[v + 1] ? d.type = t[v + 1].type === "media-feature-expression" ? "keyword" : "media-feature-expression" : d.type = "media-feature-expression");
2038
2259
  }
2039
- if (t[v + 3] && t[v + 3].type === "media-feature-expression") {
2040
- d.type = "keyword", t[v + 1].type = "media-type", t[v + 2].type = "keyword";
2041
- continue;
2260
+ if (v === 0) {
2261
+ if (!t[v + 1]) {
2262
+ d.type = "media-type";
2263
+ continue;
2264
+ }
2265
+ if (t[v + 1] && (t[v + 1].type === "media-feature-expression" || t[v + 1].type === "keyword")) {
2266
+ d.type = "media-type";
2267
+ continue;
2268
+ }
2269
+ if (t[v + 2]) {
2270
+ if (t[v + 2].type === "media-feature-expression") {
2271
+ d.type = "media-type", t[v + 1].type = "keyword";
2272
+ continue;
2273
+ }
2274
+ if (t[v + 2].type === "keyword") {
2275
+ d.type = "keyword", t[v + 1].type = "media-type";
2276
+ continue;
2277
+ }
2278
+ }
2279
+ if (t[v + 3] && t[v + 3].type === "media-feature-expression") {
2280
+ d.type = "keyword", t[v + 1].type = "media-type", t[v + 2].type = "keyword";
2281
+ continue;
2282
+ }
2042
2283
  }
2043
2284
  }
2044
- }
2045
2285
  return t;
2046
2286
  }
2047
2287
  function m(p) {
@@ -2074,9 +2314,10 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2074
2314
  }
2075
2315
  }), ur = E((e, s) => {
2076
2316
  s.exports = function(n, o) {
2077
- if (o = typeof o == "number" ? o : 1 / 0, !o) return Array.isArray(n) ? n.map(function(i) {
2078
- return i;
2079
- }) : n;
2317
+ if (o = typeof o == "number" ? o : 1 / 0, !o)
2318
+ return Array.isArray(n) ? n.map(function(i) {
2319
+ return i;
2320
+ }) : n;
2080
2321
  return c(n, 1);
2081
2322
  function c(i, f) {
2082
2323
  return i.reduce(function(u, m) {
@@ -2086,28 +2327,31 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2086
2327
  };
2087
2328
  }), lr = E((e, s) => {
2088
2329
  s.exports = function(n, o) {
2089
- for (var c = -1, i = []; (c = n.indexOf(o, c + 1)) !== -1; ) i.push(c);
2330
+ for (var c = -1, i = []; (c = n.indexOf(o, c + 1)) !== -1; )
2331
+ i.push(c);
2090
2332
  return i;
2091
2333
  };
2092
2334
  }), cr = E((e, s) => {
2093
2335
  function n(i, f) {
2094
- for (var u = 1, m = i.length, p = i[0], r = i[0], t = 1; t < m; ++t) if (r = p, p = i[t], f(p, r)) {
2095
- if (t === u) {
2096
- u++;
2097
- continue;
2336
+ for (var u = 1, m = i.length, p = i[0], r = i[0], t = 1; t < m; ++t)
2337
+ if (r = p, p = i[t], f(p, r)) {
2338
+ if (t === u) {
2339
+ u++;
2340
+ continue;
2341
+ }
2342
+ i[u++] = p;
2098
2343
  }
2099
- i[u++] = p;
2100
- }
2101
2344
  return i.length = u, i;
2102
2345
  }
2103
2346
  function o(i) {
2104
- for (var f = 1, u = i.length, m = i[0], p = i[0], r = 1; r < u; ++r, p = m) if (p = m, m = i[r], m !== p) {
2105
- if (r === f) {
2106
- f++;
2107
- continue;
2347
+ for (var f = 1, u = i.length, m = i[0], p = i[0], r = 1; r < u; ++r, p = m)
2348
+ if (p = m, m = i[r], m !== p) {
2349
+ if (r === f) {
2350
+ f++;
2351
+ continue;
2352
+ }
2353
+ i[f++] = m;
2108
2354
  }
2109
- i[f++] = m;
2110
- }
2111
2355
  return i.length = f, i;
2112
2356
  }
2113
2357
  function c(i, f, u) {
@@ -2122,23 +2366,27 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2122
2366
  return f && typeof Symbol == "function" && f.constructor === Symbol && f !== Symbol.prototype ? "symbol" : typeof f;
2123
2367
  };
2124
2368
  function o(f, u) {
2125
- if (!(f instanceof u)) throw new TypeError("Cannot call a class as a function");
2369
+ if (!(f instanceof u))
2370
+ throw new TypeError("Cannot call a class as a function");
2126
2371
  }
2127
2372
  var c = function f(u, m) {
2128
- if ((typeof u > "u" ? "undefined" : n(u)) !== "object") return u;
2373
+ if ((typeof u > "u" ? "undefined" : n(u)) !== "object")
2374
+ return u;
2129
2375
  var p = new u.constructor();
2130
- for (var r in u) if (u.hasOwnProperty(r)) {
2131
- var t = u[r], h = typeof t > "u" ? "undefined" : n(t);
2132
- r === "parent" && h === "object" ? m && (p[r] = m) : t instanceof Array ? p[r] = t.map(function(a) {
2133
- return f(a, p);
2134
- }) : p[r] = f(t, p);
2135
- }
2376
+ for (var r in u)
2377
+ if (u.hasOwnProperty(r)) {
2378
+ var t = u[r], h = typeof t > "u" ? "undefined" : n(t);
2379
+ r === "parent" && h === "object" ? m && (p[r] = m) : t instanceof Array ? p[r] = t.map(function(a) {
2380
+ return f(a, p);
2381
+ }) : p[r] = f(t, p);
2382
+ }
2136
2383
  return p;
2137
- }, i = (function() {
2384
+ }, i = function() {
2138
2385
  function f() {
2139
2386
  var u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2140
2387
  o(this, f);
2141
- for (var m in u) this[m] = u[m];
2388
+ for (var m in u)
2389
+ this[m] = u[m];
2142
2390
  var p = u.spaces;
2143
2391
  p = p === void 0 ? {} : p;
2144
2392
  var r = p.before, t = r === void 0 ? "" : r, h = p.after, a = h === void 0 ? "" : h;
@@ -2148,7 +2396,8 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2148
2396
  return this.parent && this.parent.removeChild(this), this.parent = void 0, this;
2149
2397
  }, f.prototype.replaceWith = function() {
2150
2398
  if (this.parent) {
2151
- for (var u in arguments) this.parent.insertBefore(this, arguments[u]);
2399
+ for (var u in arguments)
2400
+ this.parent.insertBefore(this, arguments[u]);
2152
2401
  this.remove();
2153
2402
  }
2154
2403
  return this;
@@ -2158,18 +2407,19 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2158
2407
  return this.parent.at(this.parent.index(this) - 1);
2159
2408
  }, f.prototype.clone = function() {
2160
2409
  var u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, m = c(this);
2161
- for (var p in u) m[p] = u[p];
2410
+ for (var p in u)
2411
+ m[p] = u[p];
2162
2412
  return m;
2163
2413
  }, f.prototype.toString = function() {
2164
2414
  return [this.spaces.before, String(this.value), this.spaces.after].join("");
2165
2415
  }, f;
2166
- })();
2416
+ }();
2167
2417
  e.default = i, s.exports = e.default;
2168
2418
  }), J = E((e) => {
2169
2419
  e.__esModule = !0, e.TAG = "tag", e.STRING = "string", e.SELECTOR = "selector", e.ROOT = "root", e.PSEUDO = "pseudo", e.NESTING = "nesting", e.ID = "id", e.COMMENT = "comment", e.COMBINATOR = "combinator", e.CLASS = "class", e.ATTRIBUTE = "attribute", e.UNIVERSAL = "universal";
2170
2420
  }), jt = E((e, s) => {
2171
2421
  e.__esModule = !0;
2172
- var n = /* @__PURE__ */ (function() {
2422
+ var n = function() {
2173
2423
  function a(d, l) {
2174
2424
  for (var b = 0; b < l.length; b++) {
2175
2425
  var y = l[b];
@@ -2179,28 +2429,34 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2179
2429
  return function(d, l, b) {
2180
2430
  return l && a(d.prototype, l), b && a(d, b), d;
2181
2431
  };
2182
- })(), o = be(), c = m(o), i = J(), f = u(i);
2432
+ }(), o = be(), c = m(o), i = J(), f = u(i);
2183
2433
  function u(a) {
2184
- if (a && a.__esModule) return a;
2434
+ if (a && a.__esModule)
2435
+ return a;
2185
2436
  var d = {};
2186
- if (a != null) for (var l in a) Object.prototype.hasOwnProperty.call(a, l) && (d[l] = a[l]);
2437
+ if (a != null)
2438
+ for (var l in a)
2439
+ Object.prototype.hasOwnProperty.call(a, l) && (d[l] = a[l]);
2187
2440
  return d.default = a, d;
2188
2441
  }
2189
2442
  function m(a) {
2190
2443
  return a && a.__esModule ? a : { default: a };
2191
2444
  }
2192
2445
  function p(a, d) {
2193
- if (!(a instanceof d)) throw new TypeError("Cannot call a class as a function");
2446
+ if (!(a instanceof d))
2447
+ throw new TypeError("Cannot call a class as a function");
2194
2448
  }
2195
2449
  function r(a, d) {
2196
- if (!a) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2450
+ if (!a)
2451
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2197
2452
  return d && (typeof d == "object" || typeof d == "function") ? d : a;
2198
2453
  }
2199
2454
  function t(a, d) {
2200
- if (typeof d != "function" && d !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof d);
2455
+ if (typeof d != "function" && d !== null)
2456
+ throw new TypeError("Super expression must either be null or a function, not " + typeof d);
2201
2457
  a.prototype = Object.create(d && d.prototype, { constructor: { value: a, enumerable: !1, writable: !0, configurable: !0 } }), d && (Object.setPrototypeOf ? Object.setPrototypeOf(a, d) : a.__proto__ = d);
2202
2458
  }
2203
- var h = (function(a) {
2459
+ var h = function(a) {
2204
2460
  t(d, a);
2205
2461
  function d(l) {
2206
2462
  p(this, d);
@@ -2218,16 +2474,19 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2218
2474
  }, d.prototype.removeChild = function(l) {
2219
2475
  l = this.index(l), this.at(l).parent = void 0, this.nodes.splice(l, 1);
2220
2476
  var b = void 0;
2221
- for (var y in this.indexes) b = this.indexes[y], b >= l && (this.indexes[y] = b - 1);
2477
+ for (var y in this.indexes)
2478
+ b = this.indexes[y], b >= l && (this.indexes[y] = b - 1);
2222
2479
  return this;
2223
2480
  }, d.prototype.removeAll = function() {
2224
2481
  for (var y = this.nodes, l = Array.isArray(y), b = 0, y = l ? y : y[Symbol.iterator](); ; ) {
2225
2482
  var v;
2226
2483
  if (l) {
2227
- if (b >= y.length) break;
2484
+ if (b >= y.length)
2485
+ break;
2228
2486
  v = y[b++];
2229
2487
  } else {
2230
- if (b = y.next(), b.done) break;
2488
+ if (b = y.next(), b.done)
2489
+ break;
2231
2490
  v = b.value;
2232
2491
  }
2233
2492
  var g = v;
@@ -2240,70 +2499,84 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2240
2499
  var y = this.index(l);
2241
2500
  this.nodes.splice(y + 1, 0, b);
2242
2501
  var v = void 0;
2243
- for (var g in this.indexes) v = this.indexes[g], y <= v && (this.indexes[g] = v + this.nodes.length);
2502
+ for (var g in this.indexes)
2503
+ v = this.indexes[g], y <= v && (this.indexes[g] = v + this.nodes.length);
2244
2504
  return this;
2245
2505
  }, d.prototype.insertBefore = function(l, b) {
2246
2506
  var y = this.index(l);
2247
2507
  this.nodes.splice(y, 0, b);
2248
2508
  var v = void 0;
2249
- for (var g in this.indexes) v = this.indexes[g], y <= v && (this.indexes[g] = v + this.nodes.length);
2509
+ for (var g in this.indexes)
2510
+ v = this.indexes[g], y <= v && (this.indexes[g] = v + this.nodes.length);
2250
2511
  return this;
2251
2512
  }, d.prototype.each = function(l) {
2252
2513
  this.lastEach || (this.lastEach = 0), this.indexes || (this.indexes = {}), this.lastEach++;
2253
2514
  var b = this.lastEach;
2254
2515
  if (this.indexes[b] = 0, !!this.length) {
2255
- for (var y = void 0, v = void 0; this.indexes[b] < this.length && (y = this.indexes[b], v = l(this.at(y), y), v !== !1); ) this.indexes[b] += 1;
2256
- if (delete this.indexes[b], v === !1) return !1;
2516
+ for (var y = void 0, v = void 0; this.indexes[b] < this.length && (y = this.indexes[b], v = l(this.at(y), y), v !== !1); )
2517
+ this.indexes[b] += 1;
2518
+ if (delete this.indexes[b], v === !1)
2519
+ return !1;
2257
2520
  }
2258
2521
  }, d.prototype.walk = function(l) {
2259
2522
  return this.each(function(b, y) {
2260
2523
  var v = l(b, y);
2261
- if (v !== !1 && b.length && (v = b.walk(l)), v === !1) return !1;
2524
+ if (v !== !1 && b.length && (v = b.walk(l)), v === !1)
2525
+ return !1;
2262
2526
  });
2263
2527
  }, d.prototype.walkAttributes = function(l) {
2264
2528
  var b = this;
2265
2529
  return this.walk(function(y) {
2266
- if (y.type === f.ATTRIBUTE) return l.call(b, y);
2530
+ if (y.type === f.ATTRIBUTE)
2531
+ return l.call(b, y);
2267
2532
  });
2268
2533
  }, d.prototype.walkClasses = function(l) {
2269
2534
  var b = this;
2270
2535
  return this.walk(function(y) {
2271
- if (y.type === f.CLASS) return l.call(b, y);
2536
+ if (y.type === f.CLASS)
2537
+ return l.call(b, y);
2272
2538
  });
2273
2539
  }, d.prototype.walkCombinators = function(l) {
2274
2540
  var b = this;
2275
2541
  return this.walk(function(y) {
2276
- if (y.type === f.COMBINATOR) return l.call(b, y);
2542
+ if (y.type === f.COMBINATOR)
2543
+ return l.call(b, y);
2277
2544
  });
2278
2545
  }, d.prototype.walkComments = function(l) {
2279
2546
  var b = this;
2280
2547
  return this.walk(function(y) {
2281
- if (y.type === f.COMMENT) return l.call(b, y);
2548
+ if (y.type === f.COMMENT)
2549
+ return l.call(b, y);
2282
2550
  });
2283
2551
  }, d.prototype.walkIds = function(l) {
2284
2552
  var b = this;
2285
2553
  return this.walk(function(y) {
2286
- if (y.type === f.ID) return l.call(b, y);
2554
+ if (y.type === f.ID)
2555
+ return l.call(b, y);
2287
2556
  });
2288
2557
  }, d.prototype.walkNesting = function(l) {
2289
2558
  var b = this;
2290
2559
  return this.walk(function(y) {
2291
- if (y.type === f.NESTING) return l.call(b, y);
2560
+ if (y.type === f.NESTING)
2561
+ return l.call(b, y);
2292
2562
  });
2293
2563
  }, d.prototype.walkPseudos = function(l) {
2294
2564
  var b = this;
2295
2565
  return this.walk(function(y) {
2296
- if (y.type === f.PSEUDO) return l.call(b, y);
2566
+ if (y.type === f.PSEUDO)
2567
+ return l.call(b, y);
2297
2568
  });
2298
2569
  }, d.prototype.walkTags = function(l) {
2299
2570
  var b = this;
2300
2571
  return this.walk(function(y) {
2301
- if (y.type === f.TAG) return l.call(b, y);
2572
+ if (y.type === f.TAG)
2573
+ return l.call(b, y);
2302
2574
  });
2303
2575
  }, d.prototype.walkUniversals = function(l) {
2304
2576
  var b = this;
2305
2577
  return this.walk(function(y) {
2306
- if (y.type === f.UNIVERSAL) return l.call(b, y);
2578
+ if (y.type === f.UNIVERSAL)
2579
+ return l.call(b, y);
2307
2580
  });
2308
2581
  }, d.prototype.split = function(l) {
2309
2582
  var b = this, y = [];
@@ -2332,7 +2605,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2332
2605
  } }, { key: "length", get: function() {
2333
2606
  return this.nodes.length;
2334
2607
  } }]), d;
2335
- })(c.default);
2608
+ }(c.default);
2336
2609
  e.default = h, s.exports = e.default;
2337
2610
  }), Os = E((e, s) => {
2338
2611
  e.__esModule = !0;
@@ -2341,17 +2614,20 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2341
2614
  return r && r.__esModule ? r : { default: r };
2342
2615
  }
2343
2616
  function f(r, t) {
2344
- if (!(r instanceof t)) throw new TypeError("Cannot call a class as a function");
2617
+ if (!(r instanceof t))
2618
+ throw new TypeError("Cannot call a class as a function");
2345
2619
  }
2346
2620
  function u(r, t) {
2347
- if (!r) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2621
+ if (!r)
2622
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2348
2623
  return t && (typeof t == "object" || typeof t == "function") ? t : r;
2349
2624
  }
2350
2625
  function m(r, t) {
2351
- if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
2626
+ if (typeof t != "function" && t !== null)
2627
+ throw new TypeError("Super expression must either be null or a function, not " + typeof t);
2352
2628
  r.prototype = Object.create(t && t.prototype, { constructor: { value: r, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(r, t) : r.__proto__ = t);
2353
2629
  }
2354
- var p = (function(r) {
2630
+ var p = function(r) {
2355
2631
  m(t, r);
2356
2632
  function t(h) {
2357
2633
  f(this, t);
@@ -2365,7 +2641,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2365
2641
  }, "").slice(0, -1);
2366
2642
  return this.trailingComma ? h + "," : h;
2367
2643
  }, t;
2368
- })(o.default);
2644
+ }(o.default);
2369
2645
  e.default = p, s.exports = e.default;
2370
2646
  }), Ts = E((e, s) => {
2371
2647
  e.__esModule = !0;
@@ -2374,17 +2650,20 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2374
2650
  return r && r.__esModule ? r : { default: r };
2375
2651
  }
2376
2652
  function f(r, t) {
2377
- if (!(r instanceof t)) throw new TypeError("Cannot call a class as a function");
2653
+ if (!(r instanceof t))
2654
+ throw new TypeError("Cannot call a class as a function");
2378
2655
  }
2379
2656
  function u(r, t) {
2380
- if (!r) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2657
+ if (!r)
2658
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2381
2659
  return t && (typeof t == "object" || typeof t == "function") ? t : r;
2382
2660
  }
2383
2661
  function m(r, t) {
2384
- if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
2662
+ if (typeof t != "function" && t !== null)
2663
+ throw new TypeError("Super expression must either be null or a function, not " + typeof t);
2385
2664
  r.prototype = Object.create(t && t.prototype, { constructor: { value: r, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(r, t) : r.__proto__ = t);
2386
2665
  }
2387
- var p = (function(r) {
2666
+ var p = function(r) {
2388
2667
  m(t, r);
2389
2668
  function t(h) {
2390
2669
  f(this, t);
@@ -2392,11 +2671,11 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2392
2671
  return a.type = c.SELECTOR, a;
2393
2672
  }
2394
2673
  return t;
2395
- })(o.default);
2674
+ }(o.default);
2396
2675
  e.default = p, s.exports = e.default;
2397
2676
  }), We = E((e, s) => {
2398
2677
  e.__esModule = !0;
2399
- var n = /* @__PURE__ */ (function() {
2678
+ var n = function() {
2400
2679
  function r(t, h) {
2401
2680
  for (var a = 0; a < h.length; a++) {
2402
2681
  var d = h[a];
@@ -2406,22 +2685,25 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2406
2685
  return function(t, h, a) {
2407
2686
  return h && r(t.prototype, h), a && r(t, a), t;
2408
2687
  };
2409
- })(), o = be(), c = i(o);
2688
+ }(), o = be(), c = i(o);
2410
2689
  function i(r) {
2411
2690
  return r && r.__esModule ? r : { default: r };
2412
2691
  }
2413
2692
  function f(r, t) {
2414
- if (!(r instanceof t)) throw new TypeError("Cannot call a class as a function");
2693
+ if (!(r instanceof t))
2694
+ throw new TypeError("Cannot call a class as a function");
2415
2695
  }
2416
2696
  function u(r, t) {
2417
- if (!r) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2697
+ if (!r)
2698
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2418
2699
  return t && (typeof t == "object" || typeof t == "function") ? t : r;
2419
2700
  }
2420
2701
  function m(r, t) {
2421
- if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
2702
+ if (typeof t != "function" && t !== null)
2703
+ throw new TypeError("Super expression must either be null or a function, not " + typeof t);
2422
2704
  r.prototype = Object.create(t && t.prototype, { constructor: { value: r, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(r, t) : r.__proto__ = t);
2423
2705
  }
2424
- var p = (function(r) {
2706
+ var p = function(r) {
2425
2707
  m(t, r);
2426
2708
  function t() {
2427
2709
  return f(this, t), u(this, r.apply(this, arguments));
@@ -2432,7 +2714,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2432
2714
  var h = this.namespace;
2433
2715
  return h ? (typeof h == "string" ? h : "") + "|" : "";
2434
2716
  } }]), t;
2435
- })(c.default);
2717
+ }(c.default);
2436
2718
  e.default = p, s.exports = e.default;
2437
2719
  }), Cs = E((e, s) => {
2438
2720
  e.__esModule = !0;
@@ -2441,17 +2723,20 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2441
2723
  return r && r.__esModule ? r : { default: r };
2442
2724
  }
2443
2725
  function f(r, t) {
2444
- if (!(r instanceof t)) throw new TypeError("Cannot call a class as a function");
2726
+ if (!(r instanceof t))
2727
+ throw new TypeError("Cannot call a class as a function");
2445
2728
  }
2446
2729
  function u(r, t) {
2447
- if (!r) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2730
+ if (!r)
2731
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2448
2732
  return t && (typeof t == "object" || typeof t == "function") ? t : r;
2449
2733
  }
2450
2734
  function m(r, t) {
2451
- if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
2735
+ if (typeof t != "function" && t !== null)
2736
+ throw new TypeError("Super expression must either be null or a function, not " + typeof t);
2452
2737
  r.prototype = Object.create(t && t.prototype, { constructor: { value: r, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(r, t) : r.__proto__ = t);
2453
2738
  }
2454
- var p = (function(r) {
2739
+ var p = function(r) {
2455
2740
  m(t, r);
2456
2741
  function t(h) {
2457
2742
  f(this, t);
@@ -2461,7 +2746,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2461
2746
  return t.prototype.toString = function() {
2462
2747
  return [this.spaces.before, this.ns, "." + this.value, this.spaces.after].join("");
2463
2748
  }, t;
2464
- })(o.default);
2749
+ }(o.default);
2465
2750
  e.default = p, s.exports = e.default;
2466
2751
  }), Ss = E((e, s) => {
2467
2752
  e.__esModule = !0;
@@ -2470,17 +2755,20 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2470
2755
  return r && r.__esModule ? r : { default: r };
2471
2756
  }
2472
2757
  function f(r, t) {
2473
- if (!(r instanceof t)) throw new TypeError("Cannot call a class as a function");
2758
+ if (!(r instanceof t))
2759
+ throw new TypeError("Cannot call a class as a function");
2474
2760
  }
2475
2761
  function u(r, t) {
2476
- if (!r) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2762
+ if (!r)
2763
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2477
2764
  return t && (typeof t == "object" || typeof t == "function") ? t : r;
2478
2765
  }
2479
2766
  function m(r, t) {
2480
- if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
2767
+ if (typeof t != "function" && t !== null)
2768
+ throw new TypeError("Super expression must either be null or a function, not " + typeof t);
2481
2769
  r.prototype = Object.create(t && t.prototype, { constructor: { value: r, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(r, t) : r.__proto__ = t);
2482
2770
  }
2483
- var p = (function(r) {
2771
+ var p = function(r) {
2484
2772
  m(t, r);
2485
2773
  function t(h) {
2486
2774
  f(this, t);
@@ -2488,7 +2776,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2488
2776
  return a.type = c.COMMENT, a;
2489
2777
  }
2490
2778
  return t;
2491
- })(o.default);
2779
+ }(o.default);
2492
2780
  e.default = p, s.exports = e.default;
2493
2781
  }), _s = E((e, s) => {
2494
2782
  e.__esModule = !0;
@@ -2497,17 +2785,20 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2497
2785
  return r && r.__esModule ? r : { default: r };
2498
2786
  }
2499
2787
  function f(r, t) {
2500
- if (!(r instanceof t)) throw new TypeError("Cannot call a class as a function");
2788
+ if (!(r instanceof t))
2789
+ throw new TypeError("Cannot call a class as a function");
2501
2790
  }
2502
2791
  function u(r, t) {
2503
- if (!r) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2792
+ if (!r)
2793
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2504
2794
  return t && (typeof t == "object" || typeof t == "function") ? t : r;
2505
2795
  }
2506
2796
  function m(r, t) {
2507
- if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
2797
+ if (typeof t != "function" && t !== null)
2798
+ throw new TypeError("Super expression must either be null or a function, not " + typeof t);
2508
2799
  r.prototype = Object.create(t && t.prototype, { constructor: { value: r, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(r, t) : r.__proto__ = t);
2509
2800
  }
2510
- var p = (function(r) {
2801
+ var p = function(r) {
2511
2802
  m(t, r);
2512
2803
  function t(h) {
2513
2804
  f(this, t);
@@ -2517,7 +2808,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2517
2808
  return t.prototype.toString = function() {
2518
2809
  return [this.spaces.before, this.ns, "#" + this.value, this.spaces.after].join("");
2519
2810
  }, t;
2520
- })(o.default);
2811
+ }(o.default);
2521
2812
  e.default = p, s.exports = e.default;
2522
2813
  }), Es = E((e, s) => {
2523
2814
  e.__esModule = !0;
@@ -2526,17 +2817,20 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2526
2817
  return r && r.__esModule ? r : { default: r };
2527
2818
  }
2528
2819
  function f(r, t) {
2529
- if (!(r instanceof t)) throw new TypeError("Cannot call a class as a function");
2820
+ if (!(r instanceof t))
2821
+ throw new TypeError("Cannot call a class as a function");
2530
2822
  }
2531
2823
  function u(r, t) {
2532
- if (!r) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2824
+ if (!r)
2825
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2533
2826
  return t && (typeof t == "object" || typeof t == "function") ? t : r;
2534
2827
  }
2535
2828
  function m(r, t) {
2536
- if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
2829
+ if (typeof t != "function" && t !== null)
2830
+ throw new TypeError("Super expression must either be null or a function, not " + typeof t);
2537
2831
  r.prototype = Object.create(t && t.prototype, { constructor: { value: r, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(r, t) : r.__proto__ = t);
2538
2832
  }
2539
- var p = (function(r) {
2833
+ var p = function(r) {
2540
2834
  m(t, r);
2541
2835
  function t(h) {
2542
2836
  f(this, t);
@@ -2544,7 +2838,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2544
2838
  return a.type = c.TAG, a;
2545
2839
  }
2546
2840
  return t;
2547
- })(o.default);
2841
+ }(o.default);
2548
2842
  e.default = p, s.exports = e.default;
2549
2843
  }), As = E((e, s) => {
2550
2844
  e.__esModule = !0;
@@ -2553,17 +2847,20 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2553
2847
  return r && r.__esModule ? r : { default: r };
2554
2848
  }
2555
2849
  function f(r, t) {
2556
- if (!(r instanceof t)) throw new TypeError("Cannot call a class as a function");
2850
+ if (!(r instanceof t))
2851
+ throw new TypeError("Cannot call a class as a function");
2557
2852
  }
2558
2853
  function u(r, t) {
2559
- if (!r) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2854
+ if (!r)
2855
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2560
2856
  return t && (typeof t == "object" || typeof t == "function") ? t : r;
2561
2857
  }
2562
2858
  function m(r, t) {
2563
- if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
2859
+ if (typeof t != "function" && t !== null)
2860
+ throw new TypeError("Super expression must either be null or a function, not " + typeof t);
2564
2861
  r.prototype = Object.create(t && t.prototype, { constructor: { value: r, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(r, t) : r.__proto__ = t);
2565
2862
  }
2566
- var p = (function(r) {
2863
+ var p = function(r) {
2567
2864
  m(t, r);
2568
2865
  function t(h) {
2569
2866
  f(this, t);
@@ -2571,7 +2868,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2571
2868
  return a.type = c.STRING, a;
2572
2869
  }
2573
2870
  return t;
2574
- })(o.default);
2871
+ }(o.default);
2575
2872
  e.default = p, s.exports = e.default;
2576
2873
  }), js = E((e, s) => {
2577
2874
  e.__esModule = !0;
@@ -2580,17 +2877,20 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2580
2877
  return r && r.__esModule ? r : { default: r };
2581
2878
  }
2582
2879
  function f(r, t) {
2583
- if (!(r instanceof t)) throw new TypeError("Cannot call a class as a function");
2880
+ if (!(r instanceof t))
2881
+ throw new TypeError("Cannot call a class as a function");
2584
2882
  }
2585
2883
  function u(r, t) {
2586
- if (!r) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2884
+ if (!r)
2885
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2587
2886
  return t && (typeof t == "object" || typeof t == "function") ? t : r;
2588
2887
  }
2589
2888
  function m(r, t) {
2590
- if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
2889
+ if (typeof t != "function" && t !== null)
2890
+ throw new TypeError("Super expression must either be null or a function, not " + typeof t);
2591
2891
  r.prototype = Object.create(t && t.prototype, { constructor: { value: r, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(r, t) : r.__proto__ = t);
2592
2892
  }
2593
- var p = (function(r) {
2893
+ var p = function(r) {
2594
2894
  m(t, r);
2595
2895
  function t(h) {
2596
2896
  f(this, t);
@@ -2601,7 +2901,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2601
2901
  var h = this.length ? "(" + this.map(String).join(",") + ")" : "";
2602
2902
  return [this.spaces.before, String(this.value), h, this.spaces.after].join("");
2603
2903
  }, t;
2604
- })(o.default);
2904
+ }(o.default);
2605
2905
  e.default = p, s.exports = e.default;
2606
2906
  }), Is = E((e, s) => {
2607
2907
  e.__esModule = !0;
@@ -2610,17 +2910,20 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2610
2910
  return r && r.__esModule ? r : { default: r };
2611
2911
  }
2612
2912
  function f(r, t) {
2613
- if (!(r instanceof t)) throw new TypeError("Cannot call a class as a function");
2913
+ if (!(r instanceof t))
2914
+ throw new TypeError("Cannot call a class as a function");
2614
2915
  }
2615
2916
  function u(r, t) {
2616
- if (!r) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2917
+ if (!r)
2918
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2617
2919
  return t && (typeof t == "object" || typeof t == "function") ? t : r;
2618
2920
  }
2619
2921
  function m(r, t) {
2620
- if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
2922
+ if (typeof t != "function" && t !== null)
2923
+ throw new TypeError("Super expression must either be null or a function, not " + typeof t);
2621
2924
  r.prototype = Object.create(t && t.prototype, { constructor: { value: r, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(r, t) : r.__proto__ = t);
2622
2925
  }
2623
- var p = (function(r) {
2926
+ var p = function(r) {
2624
2927
  m(t, r);
2625
2928
  function t(h) {
2626
2929
  f(this, t);
@@ -2631,7 +2934,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2631
2934
  var h = [this.spaces.before, "[", this.ns, this.attribute];
2632
2935
  return this.operator && h.push(this.operator), this.value && h.push(this.value), this.raws.insensitive ? h.push(this.raws.insensitive) : this.insensitive && h.push(" i"), h.push("]"), h.concat(this.spaces.after).join("");
2633
2936
  }, t;
2634
- })(o.default);
2937
+ }(o.default);
2635
2938
  e.default = p, s.exports = e.default;
2636
2939
  }), Ps = E((e, s) => {
2637
2940
  e.__esModule = !0;
@@ -2640,17 +2943,20 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2640
2943
  return r && r.__esModule ? r : { default: r };
2641
2944
  }
2642
2945
  function f(r, t) {
2643
- if (!(r instanceof t)) throw new TypeError("Cannot call a class as a function");
2946
+ if (!(r instanceof t))
2947
+ throw new TypeError("Cannot call a class as a function");
2644
2948
  }
2645
2949
  function u(r, t) {
2646
- if (!r) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2950
+ if (!r)
2951
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2647
2952
  return t && (typeof t == "object" || typeof t == "function") ? t : r;
2648
2953
  }
2649
2954
  function m(r, t) {
2650
- if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
2955
+ if (typeof t != "function" && t !== null)
2956
+ throw new TypeError("Super expression must either be null or a function, not " + typeof t);
2651
2957
  r.prototype = Object.create(t && t.prototype, { constructor: { value: r, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(r, t) : r.__proto__ = t);
2652
2958
  }
2653
- var p = (function(r) {
2959
+ var p = function(r) {
2654
2960
  m(t, r);
2655
2961
  function t(h) {
2656
2962
  f(this, t);
@@ -2658,7 +2964,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2658
2964
  return a.type = c.UNIVERSAL, a.value = "*", a;
2659
2965
  }
2660
2966
  return t;
2661
- })(o.default);
2967
+ }(o.default);
2662
2968
  e.default = p, s.exports = e.default;
2663
2969
  }), Ms = E((e, s) => {
2664
2970
  e.__esModule = !0;
@@ -2667,17 +2973,20 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2667
2973
  return r && r.__esModule ? r : { default: r };
2668
2974
  }
2669
2975
  function f(r, t) {
2670
- if (!(r instanceof t)) throw new TypeError("Cannot call a class as a function");
2976
+ if (!(r instanceof t))
2977
+ throw new TypeError("Cannot call a class as a function");
2671
2978
  }
2672
2979
  function u(r, t) {
2673
- if (!r) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2980
+ if (!r)
2981
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2674
2982
  return t && (typeof t == "object" || typeof t == "function") ? t : r;
2675
2983
  }
2676
2984
  function m(r, t) {
2677
- if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
2985
+ if (typeof t != "function" && t !== null)
2986
+ throw new TypeError("Super expression must either be null or a function, not " + typeof t);
2678
2987
  r.prototype = Object.create(t && t.prototype, { constructor: { value: r, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(r, t) : r.__proto__ = t);
2679
2988
  }
2680
- var p = (function(r) {
2989
+ var p = function(r) {
2681
2990
  m(t, r);
2682
2991
  function t(h) {
2683
2992
  f(this, t);
@@ -2685,7 +2994,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2685
2994
  return a.type = c.COMBINATOR, a;
2686
2995
  }
2687
2996
  return t;
2688
- })(o.default);
2997
+ }(o.default);
2689
2998
  e.default = p, s.exports = e.default;
2690
2999
  }), $s = E((e, s) => {
2691
3000
  e.__esModule = !0;
@@ -2694,17 +3003,20 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2694
3003
  return r && r.__esModule ? r : { default: r };
2695
3004
  }
2696
3005
  function f(r, t) {
2697
- if (!(r instanceof t)) throw new TypeError("Cannot call a class as a function");
3006
+ if (!(r instanceof t))
3007
+ throw new TypeError("Cannot call a class as a function");
2698
3008
  }
2699
3009
  function u(r, t) {
2700
- if (!r) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
3010
+ if (!r)
3011
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2701
3012
  return t && (typeof t == "object" || typeof t == "function") ? t : r;
2702
3013
  }
2703
3014
  function m(r, t) {
2704
- if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
3015
+ if (typeof t != "function" && t !== null)
3016
+ throw new TypeError("Super expression must either be null or a function, not " + typeof t);
2705
3017
  r.prototype = Object.create(t && t.prototype, { constructor: { value: r, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(r, t) : r.__proto__ = t);
2706
3018
  }
2707
- var p = (function(r) {
3019
+ var p = function(r) {
2708
3020
  m(t, r);
2709
3021
  function t(h) {
2710
3022
  f(this, t);
@@ -2712,7 +3024,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2712
3024
  return a.type = c.NESTING, a.value = "&", a;
2713
3025
  }
2714
3026
  return t;
2715
- })(o.default);
3027
+ }(o.default);
2716
3028
  e.default = p, s.exports = e.default;
2717
3029
  }), Rs = E((e, s) => {
2718
3030
  e.__esModule = !0, e.default = n;
@@ -2727,8 +3039,10 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2727
3039
  var n = 39, o = 34, c = 92, i = 47, f = 10, u = 32, m = 12, p = 9, r = 13, t = 43, h = 62, a = 126, d = 124, l = 44, b = 40, y = 41, v = 91, g = 93, k = 59, w = 42, x = 58, O = 38, T = 64, _ = /[ \n\t\r\{\(\)'"\\;/]/g, A = /[ \n\t\r\(\)\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g;
2728
3040
  function I(N) {
2729
3041
  for (var R = [], $ = N.css.valueOf(), M = void 0, P = void 0, D = void 0, ke = void 0, le = void 0, ce = void 0, pe = void 0, fe = void 0, he = void 0, z = void 0, Oe = void 0, lt = $.length, j = -1, C = 1, S = 0, L = function(W, q) {
2730
- if (N.safe) $ += q, P = $.length - 1;
2731
- else throw N.error("Unclosed " + W, C, S - j, S);
3042
+ if (N.safe)
3043
+ $ += q, P = $.length - 1;
3044
+ else
3045
+ throw N.error("Unclosed " + W, C, S - j, S);
2732
3046
  }; S < lt; ) {
2733
3047
  switch (M = $.charCodeAt(S), M === f && (j = S, C += 1), M) {
2734
3048
  case f:
@@ -2783,7 +3097,8 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2783
3097
  case o:
2784
3098
  D = M === n ? "'" : '"', P = S;
2785
3099
  do
2786
- for (z = !1, P = $.indexOf(D, P + 1), P === -1 && L("quote", D), Oe = P; $.charCodeAt(Oe - 1) === c; ) Oe -= 1, z = !z;
3100
+ for (z = !1, P = $.indexOf(D, P + 1), P === -1 && L("quote", D), Oe = P; $.charCodeAt(Oe - 1) === c; )
3101
+ Oe -= 1, z = !z;
2787
3102
  while (z);
2788
3103
  R.push(["string", $.slice(S, P + 1), C, S - j, C, P - j, S]), S = P;
2789
3104
  break;
@@ -2791,7 +3106,8 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2791
3106
  _.lastIndex = S + 1, _.test($), _.lastIndex === 0 ? P = $.length - 1 : P = _.lastIndex - 2, R.push(["at-word", $.slice(S, P + 1), C, S - j, C, P - j, S]), S = P;
2792
3107
  break;
2793
3108
  case c:
2794
- for (P = S, pe = !0; $.charCodeAt(P + 1) === c; ) P += 1, pe = !pe;
3109
+ for (P = S, pe = !0; $.charCodeAt(P + 1) === c; )
3110
+ P += 1, pe = !pe;
2795
3111
  M = $.charCodeAt(P + 1), pe && M !== i && M !== u && M !== f && M !== p && M !== r && M !== m && (P += 1), R.push(["word", $.slice(S, P + 1), C, S - j, C, P - j, S]), S = P;
2796
3112
  break;
2797
3113
  default:
@@ -2806,7 +3122,7 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2806
3122
  s.exports = e.default;
2807
3123
  }), Ls = E((e, s) => {
2808
3124
  e.__esModule = !0;
2809
- var n = /* @__PURE__ */ (function() {
3125
+ var n = function() {
2810
3126
  function j(C, S) {
2811
3127
  for (var L = 0; L < S.length; L++) {
2812
3128
  var W = S[L];
@@ -2816,20 +3132,24 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2816
3132
  return function(C, S, L) {
2817
3133
  return S && j(C.prototype, S), L && j(C, L), C;
2818
3134
  };
2819
- })(), o = ur(), c = z(o), i = lr(), f = z(i), u = cr(), m = z(u), p = Os(), r = z(p), t = Ts(), h = z(t), a = Cs(), d = z(a), l = Ss(), b = z(l), y = _s(), v = z(y), g = Es(), k = z(g), w = As(), x = z(w), O = js(), T = z(O), _ = Is(), A = z(_), I = Ps(), N = z(I), R = Ms(), $ = z(R), M = $s(), P = z(M), D = Rs(), ke = z(D), le = Ns(), ce = z(le), pe = J(), fe = he(pe);
3135
+ }(), o = ur(), c = z(o), i = lr(), f = z(i), u = cr(), m = z(u), p = Os(), r = z(p), t = Ts(), h = z(t), a = Cs(), d = z(a), l = Ss(), b = z(l), y = _s(), v = z(y), g = Es(), k = z(g), w = As(), x = z(w), O = js(), T = z(O), _ = Is(), A = z(_), I = Ps(), N = z(I), R = Ms(), $ = z(R), M = $s(), P = z(M), D = Rs(), ke = z(D), le = Ns(), ce = z(le), pe = J(), fe = he(pe);
2820
3136
  function he(j) {
2821
- if (j && j.__esModule) return j;
3137
+ if (j && j.__esModule)
3138
+ return j;
2822
3139
  var C = {};
2823
- if (j != null) for (var S in j) Object.prototype.hasOwnProperty.call(j, S) && (C[S] = j[S]);
3140
+ if (j != null)
3141
+ for (var S in j)
3142
+ Object.prototype.hasOwnProperty.call(j, S) && (C[S] = j[S]);
2824
3143
  return C.default = j, C;
2825
3144
  }
2826
3145
  function z(j) {
2827
3146
  return j && j.__esModule ? j : { default: j };
2828
3147
  }
2829
3148
  function Oe(j, C) {
2830
- if (!(j instanceof C)) throw new TypeError("Cannot call a class as a function");
3149
+ if (!(j instanceof C))
3150
+ throw new TypeError("Cannot call a class as a function");
2831
3151
  }
2832
- var lt = (function() {
3152
+ var lt = function() {
2833
3153
  function j(C) {
2834
3154
  Oe(this, j), this.input = C, this.lossy = C.options.lossless === !1, this.position = 0, this.root = new r.default();
2835
3155
  var S = new h.default();
@@ -2837,7 +3157,8 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2837
3157
  }
2838
3158
  return j.prototype.attribute = function() {
2839
3159
  var C = "", S = void 0, L = this.currToken;
2840
- for (this.position++; this.position < this.tokens.length && this.currToken[0] !== "]"; ) C += this.tokens[this.position][1], this.position++;
3160
+ for (this.position++; this.position < this.tokens.length && this.currToken[0] !== "]"; )
3161
+ C += this.tokens[this.position][1], this.position++;
2841
3162
  this.position === this.tokens.length && !~C.indexOf("]") && this.error("Expected a closing square bracket.");
2842
3163
  var W = C.split(/((?:[*~^$|]?=))([^]*)/), q = W[0].split(/(\|)/g), X = { operator: W[1], value: W[2], source: { start: { line: L[2], column: L[3] }, end: { line: this.currToken[2], column: this.currToken[3] } }, sourceIndex: L[4] };
2843
3164
  if (q.length > 1 ? (q[0] === "" && (q[0] = !0), X.attribute = this.parseValue(q[2]), X.namespace = this.parseNamespace(q[0])) : X.attribute = this.parseValue(W[0]), S = new A.default(X), W[2]) {
@@ -2846,8 +3167,10 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2846
3167
  }
2847
3168
  this.newNode(S), this.position++;
2848
3169
  }, j.prototype.combinator = function() {
2849
- if (this.currToken[1] === "|") return this.namespace();
2850
- for (var C = new $.default({ value: "", source: { start: { line: this.currToken[2], column: this.currToken[3] }, end: { line: this.currToken[2], column: this.currToken[3] } }, sourceIndex: this.currToken[4] }); this.position < this.tokens.length && this.currToken && (this.currToken[0] === "space" || this.currToken[0] === "combinator"); ) this.nextToken && this.nextToken[0] === "combinator" ? (C.spaces.before = this.parseSpace(this.currToken[1]), C.source.start.line = this.nextToken[2], C.source.start.column = this.nextToken[3], C.source.end.column = this.nextToken[3], C.source.end.line = this.nextToken[2], C.sourceIndex = this.nextToken[4]) : this.prevToken && this.prevToken[0] === "combinator" ? C.spaces.after = this.parseSpace(this.currToken[1]) : this.currToken[0] === "combinator" ? C.value = this.currToken[1] : this.currToken[0] === "space" && (C.value = this.parseSpace(this.currToken[1], " ")), this.position++;
3170
+ if (this.currToken[1] === "|")
3171
+ return this.namespace();
3172
+ for (var C = new $.default({ value: "", source: { start: { line: this.currToken[2], column: this.currToken[3] }, end: { line: this.currToken[2], column: this.currToken[3] } }, sourceIndex: this.currToken[4] }); this.position < this.tokens.length && this.currToken && (this.currToken[0] === "space" || this.currToken[0] === "combinator"); )
3173
+ this.nextToken && this.nextToken[0] === "combinator" ? (C.spaces.before = this.parseSpace(this.currToken[1]), C.source.start.line = this.nextToken[2], C.source.start.column = this.nextToken[3], C.source.end.column = this.nextToken[3], C.source.end.line = this.nextToken[2], C.sourceIndex = this.nextToken[4]) : this.prevToken && this.prevToken[0] === "combinator" ? C.spaces.after = this.parseSpace(this.currToken[1]) : this.currToken[0] === "combinator" ? C.value = this.currToken[1] : this.currToken[0] === "space" && (C.value = this.parseSpace(this.currToken[1], " ")), this.position++;
2851
3174
  return this.newNode(C);
2852
3175
  }, j.prototype.comma = function() {
2853
3176
  if (this.position === this.tokens.length - 1) {
@@ -2869,8 +3192,10 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2869
3192
  return this.error("Expected opening square bracket.");
2870
3193
  }, j.prototype.namespace = function() {
2871
3194
  var C = this.prevToken && this.prevToken[1] || !0;
2872
- if (this.nextToken[0] === "word") return this.position++, this.word(C);
2873
- if (this.nextToken[0] === "*") return this.position++, this.universal(C);
3195
+ if (this.nextToken[0] === "word")
3196
+ return this.position++, this.word(C);
3197
+ if (this.nextToken[0] === "*")
3198
+ return this.position++, this.universal(C);
2874
3199
  }, j.prototype.nesting = function() {
2875
3200
  this.newNode(new P.default({ value: this.currToken[1], source: { start: { line: this.currToken[2], column: this.currToken[3] }, end: { line: this.currToken[2], column: this.currToken[3] } }, sourceIndex: this.currToken[4] })), this.position++;
2876
3201
  }, j.prototype.parentheses = function() {
@@ -2879,22 +3204,27 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2879
3204
  var S = new h.default(), L = this.current;
2880
3205
  C.append(S), this.current = S;
2881
3206
  var W = 1;
2882
- for (this.position++; this.position < this.tokens.length && W; ) this.currToken[0] === "(" && W++, this.currToken[0] === ")" && W--, W ? this.parse() : (S.parent.source.end.line = this.currToken[2], S.parent.source.end.column = this.currToken[3], this.position++);
3207
+ for (this.position++; this.position < this.tokens.length && W; )
3208
+ this.currToken[0] === "(" && W++, this.currToken[0] === ")" && W--, W ? this.parse() : (S.parent.source.end.line = this.currToken[2], S.parent.source.end.column = this.currToken[3], this.position++);
2883
3209
  W && this.error("Expected closing parenthesis."), this.current = L;
2884
3210
  } else {
2885
3211
  var q = 1;
2886
- for (this.position++, C.value += "("; this.position < this.tokens.length && q; ) this.currToken[0] === "(" && q++, this.currToken[0] === ")" && q--, C.value += this.parseParenthesisToken(this.currToken), this.position++;
3212
+ for (this.position++, C.value += "("; this.position < this.tokens.length && q; )
3213
+ this.currToken[0] === "(" && q++, this.currToken[0] === ")" && q--, C.value += this.parseParenthesisToken(this.currToken), this.position++;
2887
3214
  q && this.error("Expected closing parenthesis.");
2888
3215
  }
2889
3216
  }, j.prototype.pseudo = function() {
2890
- for (var C = this, S = "", L = this.currToken; this.currToken && this.currToken[0] === ":"; ) S += this.currToken[1], this.position++;
2891
- if (!this.currToken) return this.error("Expected pseudo-class or pseudo-element");
3217
+ for (var C = this, S = "", L = this.currToken; this.currToken && this.currToken[0] === ":"; )
3218
+ S += this.currToken[1], this.position++;
3219
+ if (!this.currToken)
3220
+ return this.error("Expected pseudo-class or pseudo-element");
2892
3221
  if (this.currToken[0] === "word") {
2893
3222
  var W = void 0;
2894
3223
  this.splitWord(!1, function(q, X) {
2895
3224
  S += q, W = new T.default({ value: S, source: { start: { line: L[2], column: L[3] }, end: { line: C.currToken[4], column: C.currToken[5] } }, sourceIndex: L[4] }), C.newNode(W), X > 1 && C.nextToken && C.nextToken[0] === "(" && C.error("Misplaced parenthesis.");
2896
3225
  });
2897
- } else this.error('Unexpected "' + this.currToken[0] + '" found.');
3226
+ } else
3227
+ this.error('Unexpected "' + this.currToken[0] + '" found.');
2898
3228
  }, j.prototype.space = function() {
2899
3229
  var C = this.currToken;
2900
3230
  this.position === 0 || this.prevToken[0] === "," || this.prevToken[0] === "(" ? (this.spaces = this.parseSpace(C[1]), this.position++) : this.position === this.tokens.length - 1 || this.nextToken[0] === "," || this.nextToken[0] === ")" ? (this.current.last.spaces.after = this.parseSpace(C[1]), this.position++) : this.combinator();
@@ -2903,7 +3233,8 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2903
3233
  this.newNode(new x.default({ value: this.currToken[1], source: { start: { line: C[2], column: C[3] }, end: { line: C[4], column: C[5] } }, sourceIndex: C[6] })), this.position++;
2904
3234
  }, j.prototype.universal = function(C) {
2905
3235
  var S = this.nextToken;
2906
- if (S && S[1] === "|") return this.position++, this.namespace();
3236
+ if (S && S[1] === "|")
3237
+ return this.position++, this.namespace();
2907
3238
  this.newNode(new N.default({ value: this.currToken[1], source: { start: { line: this.currToken[2], column: this.currToken[3] }, end: { line: this.currToken[2], column: this.currToken[3] } }, sourceIndex: this.currToken[4] }), C), this.position++;
2908
3239
  }, j.prototype.splitWord = function(C, S) {
2909
3240
  for (var L = this, W = this.nextToken, q = this.currToken[1]; W && W[0] === "word"; ) {
@@ -2922,7 +3253,8 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2922
3253
  var de = (0, ke.default)((0, m.default)((0, c.default)([[0], re, qe])));
2923
3254
  de.forEach(function(se, Te) {
2924
3255
  var Be = de[Te + 1] || q.length, Fe = q.slice(se, Be);
2925
- if (Te === 0 && S) return S.call(L, Fe, de.length);
3256
+ if (Te === 0 && S)
3257
+ return S.call(L, Fe, de.length);
2926
3258
  var De = void 0;
2927
3259
  ~re.indexOf(se) ? De = new d.default({ value: Fe.slice(1), source: { start: { line: L.currToken[2], column: L.currToken[3] + se }, end: { line: L.currToken[4], column: L.currToken[3] + (Be - 1) } }, sourceIndex: L.currToken[6] + de[Te] }) : ~qe.indexOf(se) ? De = new v.default({ value: Fe.slice(1), source: { start: { line: L.currToken[2], column: L.currToken[3] + se }, end: { line: L.currToken[4], column: L.currToken[3] + (Be - 1) } }, sourceIndex: L.currToken[6] + de[Te] }) : De = new k.default({ value: Fe, source: { start: { line: L.currToken[2], column: L.currToken[3] + se }, end: { line: L.currToken[4], column: L.currToken[3] + (Be - 1) } }, sourceIndex: L.currToken[6] + de[Te] }), L.newNode(De, C);
2928
3260
  }), this.position++;
@@ -2930,7 +3262,8 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2930
3262
  var S = this.nextToken;
2931
3263
  return S && S[1] === "|" ? (this.position++, this.namespace()) : this.splitWord(C);
2932
3264
  }, j.prototype.loop = function() {
2933
- for (; this.position < this.tokens.length; ) this.parse(!0);
3265
+ for (; this.position < this.tokens.length; )
3266
+ this.parse(!0);
2934
3267
  return this.root;
2935
3268
  }, j.prototype.parse = function(C) {
2936
3269
  switch (this.currToken[0]) {
@@ -2999,11 +3332,11 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
2999
3332
  } }, { key: "prevToken", get: function() {
3000
3333
  return this.tokens[this.position - 1];
3001
3334
  } }]), j;
3002
- })();
3335
+ }();
3003
3336
  e.default = lt, s.exports = e.default;
3004
3337
  }), Ws = E((e, s) => {
3005
3338
  e.__esModule = !0;
3006
- var n = /* @__PURE__ */ (function() {
3339
+ var n = function() {
3007
3340
  function m(p, r) {
3008
3341
  for (var t = 0; t < r.length; t++) {
3009
3342
  var h = r[t];
@@ -3013,14 +3346,15 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
3013
3346
  return function(p, r, t) {
3014
3347
  return r && m(p.prototype, r), t && m(p, t), p;
3015
3348
  };
3016
- })(), o = Ls(), c = i(o);
3349
+ }(), o = Ls(), c = i(o);
3017
3350
  function i(m) {
3018
3351
  return m && m.__esModule ? m : { default: m };
3019
3352
  }
3020
3353
  function f(m, p) {
3021
- if (!(m instanceof p)) throw new TypeError("Cannot call a class as a function");
3354
+ if (!(m instanceof p))
3355
+ throw new TypeError("Cannot call a class as a function");
3022
3356
  }
3023
- var u = (function() {
3357
+ var u = function() {
3024
3358
  function m(p) {
3025
3359
  return f(this, m), this.func = p || function() {
3026
3360
  }, this;
@@ -3033,13 +3367,14 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
3033
3367
  }, n(m, [{ key: "result", get: function() {
3034
3368
  return String(this.res);
3035
3369
  } }]), m;
3036
- })();
3370
+ }();
3037
3371
  e.default = u, s.exports = e.default;
3038
3372
  }), ee = E((e, s) => {
3039
3373
  var n = function(o, c) {
3040
3374
  let i = new o.constructor();
3041
3375
  for (let f in o) {
3042
- if (!o.hasOwnProperty(f)) continue;
3376
+ if (!o.hasOwnProperty(f))
3377
+ continue;
3043
3378
  let u = o[f], m = typeof u;
3044
3379
  f === "parent" && m === "object" ? c && (i[f] = c) : f === "source" ? i[f] = u : u instanceof Array ? i[f] = u.map((p) => n(p, i)) : f !== "before" && f !== "after" && f !== "between" && f !== "semicolon" && (m === "object" && u !== null && (u = n(u)), i[f] = u);
3045
3380
  }
@@ -3048,7 +3383,8 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
3048
3383
  s.exports = class {
3049
3384
  constructor(o) {
3050
3385
  o = o || {}, this.raws = { before: "", after: "" };
3051
- for (let c in o) this[c] = o[c];
3386
+ for (let c in o)
3387
+ this[c] = o[c];
3052
3388
  }
3053
3389
  remove() {
3054
3390
  return this.parent && this.parent.removeChild(this), this.parent = void 0, this;
@@ -3059,7 +3395,8 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
3059
3395
  clone(o) {
3060
3396
  o = o || {};
3061
3397
  let c = n(this);
3062
- for (let i in o) c[i] = o[i];
3398
+ for (let i in o)
3399
+ c[i] = o[i];
3063
3400
  return c;
3064
3401
  }
3065
3402
  cloneBefore(o) {
@@ -3075,7 +3412,8 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
3075
3412
  replaceWith() {
3076
3413
  let o = Array.prototype.slice.call(arguments);
3077
3414
  if (this.parent) {
3078
- for (let c of o) this.parent.insertBefore(this, c);
3415
+ for (let c of o)
3416
+ this.parent.insertBefore(this, c);
3079
3417
  this.remove();
3080
3418
  }
3081
3419
  return this;
@@ -3100,7 +3438,8 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
3100
3438
  toJSON() {
3101
3439
  let o = {};
3102
3440
  for (let c in this) {
3103
- if (!this.hasOwnProperty(c) || c === "parent") continue;
3441
+ if (!this.hasOwnProperty(c) || c === "parent")
3442
+ continue;
3104
3443
  let i = this[c];
3105
3444
  i instanceof Array ? o[c] = i.map((f) => typeof f == "object" && f.toJSON ? f.toJSON() : f) : typeof i == "object" && i.toJSON ? o[c] = i.toJSON() : o[c] = i;
3106
3445
  }
@@ -3108,7 +3447,8 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
3108
3447
  }
3109
3448
  root() {
3110
3449
  let o = this;
3111
- for (; o.parent; ) o = o.parent;
3450
+ for (; o.parent; )
3451
+ o = o.parent;
3112
3452
  return o;
3113
3453
  }
3114
3454
  cleanRaws(o) {
@@ -3116,13 +3456,15 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
3116
3456
  }
3117
3457
  positionInside(o) {
3118
3458
  let c = this.toString(), i = this.source.start.column, f = this.source.start.line;
3119
- for (let u = 0; u < o; u++) c[u] === `
3459
+ for (let u = 0; u < o; u++)
3460
+ c[u] === `
3120
3461
  ` ? (i = 1, f += 1) : i += 1;
3121
3462
  return { line: f, column: i };
3122
3463
  }
3123
3464
  positionBy(o) {
3124
3465
  let c = this.source.start;
3125
- if (Object(o).index) c = this.positionInside(o.index);
3466
+ if (Object(o).index)
3467
+ c = this.positionInside(o.index);
3126
3468
  else if (Object(o).word) {
3127
3469
  let i = this.toString().indexOf(o.word);
3128
3470
  i !== -1 && (c = this.positionInside(i));
@@ -3142,7 +3484,8 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
3142
3484
  this.lastEach || (this.lastEach = 0), this.indexes || (this.indexes = {}), this.lastEach += 1;
3143
3485
  let i = this.lastEach, f, u;
3144
3486
  if (this.indexes[i] = 0, !!this.nodes) {
3145
- for (; this.indexes[i] < this.nodes.length && (f = this.indexes[i], u = c(this.nodes[f], f), u !== !1); ) this.indexes[i] += 1;
3487
+ for (; this.indexes[i] < this.nodes.length && (f = this.indexes[i], u = c(this.nodes[f], f), u !== !1); )
3488
+ this.indexes[i] += 1;
3146
3489
  return delete this.indexes[i], u;
3147
3490
  }
3148
3491
  }
@@ -3153,10 +3496,12 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
3153
3496
  });
3154
3497
  }
3155
3498
  walkType(c, i) {
3156
- if (!c || !i) throw new Error("Parameters {type} and {callback} are required.");
3499
+ if (!c || !i)
3500
+ throw new Error("Parameters {type} and {callback} are required.");
3157
3501
  let f = typeof c == "function";
3158
3502
  return this.walk((u, m) => {
3159
- if (f && u instanceof c || !f && u.type === c) return i.call(this, u, m);
3503
+ if (f && u instanceof c || !f && u.type === c)
3504
+ return i.call(this, u, m);
3160
3505
  });
3161
3506
  }
3162
3507
  append(c) {
@@ -3166,28 +3511,34 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
3166
3511
  return c.parent = this, this.nodes.unshift(c), this;
3167
3512
  }
3168
3513
  cleanRaws(c) {
3169
- if (super.cleanRaws(c), this.nodes) for (let i of this.nodes) i.cleanRaws(c);
3514
+ if (super.cleanRaws(c), this.nodes)
3515
+ for (let i of this.nodes)
3516
+ i.cleanRaws(c);
3170
3517
  }
3171
3518
  insertAfter(c, i) {
3172
3519
  let f = this.index(c), u;
3173
3520
  this.nodes.splice(f + 1, 0, i);
3174
- for (let m in this.indexes) u = this.indexes[m], f <= u && (this.indexes[m] = u + this.nodes.length);
3521
+ for (let m in this.indexes)
3522
+ u = this.indexes[m], f <= u && (this.indexes[m] = u + this.nodes.length);
3175
3523
  return this;
3176
3524
  }
3177
3525
  insertBefore(c, i) {
3178
3526
  let f = this.index(c), u;
3179
3527
  this.nodes.splice(f, 0, i);
3180
- for (let m in this.indexes) u = this.indexes[m], f <= u && (this.indexes[m] = u + this.nodes.length);
3528
+ for (let m in this.indexes)
3529
+ u = this.indexes[m], f <= u && (this.indexes[m] = u + this.nodes.length);
3181
3530
  return this;
3182
3531
  }
3183
3532
  removeChild(c) {
3184
3533
  c = this.index(c), this.nodes[c].parent = void 0, this.nodes.splice(c, 1);
3185
3534
  let i;
3186
- for (let f in this.indexes) i = this.indexes[f], i >= c && (this.indexes[f] = i - 1);
3535
+ for (let f in this.indexes)
3536
+ i = this.indexes[f], i >= c && (this.indexes[f] = i - 1);
3187
3537
  return this;
3188
3538
  }
3189
3539
  removeAll() {
3190
- for (let c of this.nodes) c.parent = void 0;
3540
+ for (let c of this.nodes)
3541
+ c.parent = void 0;
3191
3542
  return this.nodes = [], this;
3192
3543
  }
3193
3544
  every(c) {
@@ -3200,10 +3551,12 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
3200
3551
  return typeof c == "number" ? c : this.nodes.indexOf(c);
3201
3552
  }
3202
3553
  get first() {
3203
- if (this.nodes) return this.nodes[0];
3554
+ if (this.nodes)
3555
+ return this.nodes[0];
3204
3556
  }
3205
3557
  get last() {
3206
- if (this.nodes) return this.nodes[this.nodes.length - 1];
3558
+ if (this.nodes)
3559
+ return this.nodes[this.nodes.length - 1];
3207
3560
  }
3208
3561
  toString() {
3209
3562
  let c = this.nodes.map(String).join("");
@@ -3371,7 +3724,8 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
3371
3724
  case 34:
3372
3725
  k = v === 39 ? "'" : '"', g = l;
3373
3726
  do
3374
- for (A = !1, g = t.indexOf(k, g + 1), g === -1 && R("quote"), I = g; t.charCodeAt(I - 1) === 92; ) I -= 1, A = !A;
3727
+ for (A = !1, g = t.indexOf(k, g + 1), g === -1 && R("quote"), I = g; t.charCodeAt(I - 1) === 92; )
3728
+ I -= 1, A = !A;
3375
3729
  while (A);
3376
3730
  r.push(["string", t.slice(l, g + 1), d, l - a, d, g - a, l]), l = g;
3377
3731
  break;
@@ -3392,7 +3746,8 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
3392
3746
  break;
3393
3747
  default:
3394
3748
  if (v === 47 && (t.charCodeAt(l + 1) === 42 || p.loose && !y && t.charCodeAt(l + 1) === 47)) {
3395
- if (t.charCodeAt(l + 1) === 42) g = t.indexOf("*/", l + 2) + 1, g === 0 && R("comment");
3749
+ if (t.charCodeAt(l + 1) === 42)
3750
+ g = t.indexOf("*/", l + 2) + 1, g === 0 && R("comment");
3396
3751
  else {
3397
3752
  let $ = t.indexOf(`
3398
3753
  `, l + 2);
@@ -3400,14 +3755,16 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
3400
3755
  }
3401
3756
  O = t.slice(l, g + 1), w = O.split(`
3402
3757
  `), x = w.length - 1, x > 0 ? (T = d + x, _ = g - w[x].length) : (T = d, _ = a), r.push(["comment", O, d, l - a, T, g - _, l]), a = _, d = T, l = g;
3403
- } else if (v === 35 && !i.test(t.slice(l + 1, l + 2))) g = l + 1, r.push(["#", t.slice(l, g), d, l - a, d, g - a, l]), l = g - 1;
3758
+ } else if (v === 35 && !i.test(t.slice(l + 1, l + 2)))
3759
+ g = l + 1, r.push(["#", t.slice(l, g), d, l - a, d, g - a, l]), l = g - 1;
3404
3760
  else if ((v === 117 || v === 85) && t.charCodeAt(l + 1) === 43) {
3405
3761
  g = l + 2;
3406
3762
  do
3407
3763
  g += 1, v = t.charCodeAt(g);
3408
3764
  while (g < h && f.test(t.slice(g, g + 1)));
3409
3765
  r.push(["unicoderange", t.slice(l, g), d, l - a, d, g - a, l]), l = g - 1;
3410
- } else if (v === 47) g = l + 1, r.push(["operator", t.slice(l, g), d, l - a, d, g - a, l]), l = g - 1;
3766
+ } else if (v === 47)
3767
+ g = l + 1, r.push(["operator", t.slice(l, g), d, l - a, d, g - a, l]), l = g - 1;
3411
3768
  else {
3412
3769
  let $ = o;
3413
3770
  if (v >= 48 && v <= 57 && ($ = c), $.lastIndex = l + 1, $.test(t), $.lastIndex === 0 ? g = t.length - 1 : g = $.lastIndex - 2, $ === c || v === 46) {
@@ -3460,15 +3817,18 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
3460
3817
  throw new g(w + ` at line: ${x[2]}, column ${x[3]}`);
3461
3818
  }
3462
3819
  loop() {
3463
- for (; this.position < this.tokens.length; ) this.parseTokens();
3820
+ for (; this.position < this.tokens.length; )
3821
+ this.parseTokens();
3464
3822
  return !this.current.last && this.spaces ? this.current.raws.before += this.spaces : this.spaces && (this.current.last.raws.after += this.spaces), this.spaces = "", this.root;
3465
3823
  }
3466
3824
  operator() {
3467
3825
  let w = this.currToken[1], x;
3468
3826
  if (w === "+" || w === "-") {
3469
3827
  if (this.options.loose || this.position > 0 && (this.current.type === "func" && this.current.value === "calc" ? this.prevToken[0] !== "space" && this.prevToken[0] !== "(" ? this.error("Syntax Error", this.currToken) : this.nextToken[0] !== "space" && this.nextToken[0] !== "word" ? this.error("Syntax Error", this.currToken) : this.nextToken[0] === "word" && this.current.last.type !== "operator" && this.current.last.value !== "(" && this.error("Syntax Error", this.currToken) : (this.nextToken[0] === "space" || this.nextToken[0] === "operator" || this.prevToken[0] === "operator") && this.error("Syntax Error", this.currToken)), this.options.loose) {
3470
- if ((!this.current.nodes.length || this.current.last && this.current.last.type === "operator") && this.nextToken[0] === "word") return this.word();
3471
- } else if (this.nextToken[0] === "word") return this.word();
3828
+ if ((!this.current.nodes.length || this.current.last && this.current.last.type === "operator") && this.nextToken[0] === "word")
3829
+ return this.word();
3830
+ } else if (this.nextToken[0] === "word")
3831
+ return this.word();
3472
3832
  }
3473
3833
  return x = new r({ value: this.currToken[1], source: { start: { line: this.currToken[2], column: this.currToken[3] }, end: { line: this.currToken[2], column: this.currToken[3] } }, sourceIndex: this.currToken[4] }), this.position++, this.newNode(x);
3474
3834
  }
@@ -3518,7 +3878,8 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
3518
3878
  }
3519
3879
  if (w && this.error("Expected closing parenthesis", O), T = this.current.last, T && T.type === "func" && T.unbalanced < 0 && (T.unbalanced = 0, this.current = T), this.current.unbalanced++, this.newNode(new t({ value: O[1], source: { start: { line: O[2], column: O[3] }, end: { line: O[4], column: O[5] } }, sourceIndex: O[6] })), this.position++, this.current.type === "func" && this.current.unbalanced && this.current.value === "url" && this.currToken[0] !== "string" && this.currToken[0] !== ")" && !this.options.loose) {
3520
3880
  let _ = this.nextToken, A = this.currToken[1], I = { line: this.currToken[2], column: this.currToken[3] };
3521
- for (; _ && _[0] !== ")" && this.current.unbalanced; ) this.position++, A += this.currToken[1], _ = this.nextToken;
3881
+ for (; _ && _[0] !== ")" && this.current.unbalanced; )
3882
+ this.position++, A += this.currToken[1], _ = this.nextToken;
3522
3883
  this.position !== this.tokens.length - 1 && (this.position++, this.newNode(new a({ value: A, source: { start: I, end: { line: this.currToken[4], column: this.currToken[5] } }, sourceIndex: this.currToken[6] })));
3523
3884
  }
3524
3885
  }
@@ -3536,18 +3897,21 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
3536
3897
  }
3537
3898
  splitWord() {
3538
3899
  let w = this.nextToken, x = this.currToken[1], O = /^[\+\-]?((\d+(\.\d*)?)|(\.\d+))([eE][\+\-]?\d+)?/, T = /^(?!\#([a-z0-9]+))[\#\{\}]/gi, _, A;
3539
- if (!T.test(x)) for (; w && w[0] === "word"; ) {
3540
- this.position++;
3541
- let I = this.currToken[1];
3542
- x += I, w = this.nextToken;
3543
- }
3900
+ if (!T.test(x))
3901
+ for (; w && w[0] === "word"; ) {
3902
+ this.position++;
3903
+ let I = this.currToken[1];
3904
+ x += I, w = this.nextToken;
3905
+ }
3544
3906
  _ = y(x, "@"), A = k(v(b([[0], _]))), A.forEach((I, N) => {
3545
3907
  let R = A[N + 1] || x.length, $ = x.slice(I, R), M;
3546
- if (~_.indexOf(I)) M = new c({ value: $.slice(1), source: { start: { line: this.currToken[2], column: this.currToken[3] + I }, end: { line: this.currToken[4], column: this.currToken[3] + (R - 1) } }, sourceIndex: this.currToken[6] + A[N] });
3908
+ if (~_.indexOf(I))
3909
+ M = new c({ value: $.slice(1), source: { start: { line: this.currToken[2], column: this.currToken[3] + I }, end: { line: this.currToken[4], column: this.currToken[3] + (R - 1) } }, sourceIndex: this.currToken[6] + A[N] });
3547
3910
  else if (O.test(this.currToken[1])) {
3548
3911
  let P = $.replace(O, "");
3549
3912
  M = new p({ value: $.replace(P, ""), source: { start: { line: this.currToken[2], column: this.currToken[3] + I }, end: { line: this.currToken[4], column: this.currToken[3] + (R - 1) } }, sourceIndex: this.currToken[6] + A[N], unit: P });
3550
- } else M = new (w && w[0] === "(" ? m : a)({ value: $, source: { start: { line: this.currToken[2], column: this.currToken[3] + I }, end: { line: this.currToken[4], column: this.currToken[3] + (R - 1) } }, sourceIndex: this.currToken[6] + A[N] }), M.type === "word" ? (M.isHex = /^#(.+)/.test($), M.isColor = /^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test($)) : this.cache.push(this.current);
3913
+ } else
3914
+ M = new (w && w[0] === "(" ? m : a)({ value: $, source: { start: { line: this.currToken[2], column: this.currToken[3] + I }, end: { line: this.currToken[4], column: this.currToken[3] + (R - 1) } }, sourceIndex: this.currToken[6] + A[N] }), M.type === "word" ? (M.isHex = /^#(.+)/.test($), M.isColor = /^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test($)) : this.cache.push(this.current);
3551
3915
  this.newNode(M);
3552
3916
  }), this.position++;
3553
3917
  }
@@ -3574,25 +3938,34 @@ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));
3574
3938
  }), pr = {};
3575
3939
  Qt(pr, { languages: () => pi, options: () => di, parsers: () => Dr, printers: () => Hi });
3576
3940
  var rn = (e, s, n, o) => {
3577
- if (!(e && s == null)) return s.replaceAll ? s.replaceAll(n, o) : n.global ? s.replace(n, o) : s.split(n).join(o);
3941
+ if (!(e && s == null))
3942
+ return s.replaceAll ? s.replaceAll(n, o) : n.global ? s.replace(n, o) : s.split(n).join(o);
3578
3943
  }, F = rn, fr = "string", hr = "array", dr = "cursor", st = "indent", It = "align", mr = "trim", nt = "group", ot = "fill", it = "if-break", vr = "indent-if-break", Pt = "line-suffix", yr = "line-suffix-boundary", xe = "line", gr = "label", Mt = "break-parent", wr = /* @__PURE__ */ new Set([dr, st, It, mr, nt, ot, it, vr, Pt, yr, xe, gr, Mt]), sn = (e, s, n) => {
3579
- if (!(e && s == null)) return Array.isArray(s) || typeof s == "string" ? s[n < 0 ? s.length + n : n] : s.at(n);
3944
+ if (!(e && s == null))
3945
+ return Array.isArray(s) || typeof s == "string" ? s[n < 0 ? s.length + n : n] : s.at(n);
3580
3946
  }, ge = sn;
3581
3947
  function nn(e) {
3582
- if (typeof e == "string") return fr;
3583
- if (Array.isArray(e)) return hr;
3584
- if (!e) return;
3948
+ if (typeof e == "string")
3949
+ return fr;
3950
+ if (Array.isArray(e))
3951
+ return hr;
3952
+ if (!e)
3953
+ return;
3585
3954
  let { type: s } = e;
3586
- if (wr.has(s)) return s;
3955
+ if (wr.has(s))
3956
+ return s;
3587
3957
  }
3588
3958
  var Ie = nn, on = (e) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(e);
3589
3959
  function an(e) {
3590
3960
  let s = e === null ? "null" : typeof e;
3591
- if (s !== "string" && s !== "object") return `Unexpected doc '${s}',
3961
+ if (s !== "string" && s !== "object")
3962
+ return `Unexpected doc '${s}',
3592
3963
  Expected it to be 'string' or 'object'.`;
3593
- if (Ie(e)) throw new Error("doc is valid.");
3964
+ if (Ie(e))
3965
+ throw new Error("doc is valid.");
3594
3966
  let n = Object.prototype.toString.call(e);
3595
- if (n !== "[object Object]") return `Unexpected doc '${n}'.`;
3967
+ if (n !== "[object Object]")
3968
+ return `Unexpected doc '${n}'.`;
3596
3969
  let o = on([...wr].map((c) => `'${c}'`));
3597
3970
  return `Unexpected doc.type '${e.type}'.
3598
3971
  Expected it to be ${o}.`;
@@ -3604,11 +3977,13 @@ var un = class extends Error {
3604
3977
  }
3605
3978
  }, ln = un;
3606
3979
  function cn(e, s) {
3607
- if (typeof e == "string") return s(e);
3980
+ if (typeof e == "string")
3981
+ return s(e);
3608
3982
  let n = /* @__PURE__ */ new Map();
3609
3983
  return o(e);
3610
3984
  function o(i) {
3611
- if (n.has(i)) return n.get(i);
3985
+ if (n.has(i))
3986
+ return n.get(i);
3612
3987
  let f = c(i);
3613
3988
  return n.set(i, f), f;
3614
3989
  }
@@ -3677,7 +4052,8 @@ function vn(e) {
3677
4052
  var $t = { type: Mt }, yn = { type: xe, hard: !0 }, U = { type: xe }, Z = { type: xe, soft: !0 }, B = [yn, $t];
3678
4053
  function oe(e, s) {
3679
4054
  let n = [];
3680
- for (let o = 0; o < s.length; o++) o !== 0 && n.push(e), n.push(s[o]);
4055
+ for (let o = 0; o < s.length; o++)
4056
+ o !== 0 && n.push(e), n.push(s[o]);
3681
4057
  return n;
3682
4058
  }
3683
4059
  function gn(e) {
@@ -3687,7 +4063,8 @@ var at = gn, kr = new Proxy(() => {
3687
4063
  }, { get: () => kr }), wn = kr, Ue = "'", Ft = '"';
3688
4064
  function bn(e, s) {
3689
4065
  let n = s === !0 || s === Ue ? Ue : Ft, o = n === Ue ? Ft : Ue, c = 0, i = 0;
3690
- for (let f of e) f === n ? c++ : f === o && i++;
4066
+ for (let f of e)
4067
+ f === n ? c++ : f === o && i++;
3691
4068
  return c > i ? o : n;
3692
4069
  }
3693
4070
  var xn = bn;
@@ -3712,7 +4089,8 @@ function _n(e) {
3712
4089
  }
3713
4090
  var Xe = _n, En = /* @__PURE__ */ new Set(["raw", "raws", "sourceIndex", "source", "before", "after", "trailingComma", "spaces"]);
3714
4091
  function Tr(e, s, n) {
3715
- if (Xe(e) && e.language === "yaml" && delete s.value, e.type === "css-comment" && n.type === "css-root" && n.nodes.length > 0 && ((n.nodes[0] === e || Xe(n.nodes[0]) && n.nodes[1] === e) && (delete s.text, /^\*\s*@(?:format|prettier)\s*$/u.test(e.text)) || n.type === "css-root" && ge(!1, n.nodes, -1) === e)) return null;
4092
+ if (Xe(e) && e.language === "yaml" && delete s.value, e.type === "css-comment" && n.type === "css-root" && n.nodes.length > 0 && ((n.nodes[0] === e || Xe(n.nodes[0]) && n.nodes[1] === e) && (delete s.text, /^\*\s*@(?:format|prettier)\s*$/u.test(e.text)) || n.type === "css-root" && ge(!1, n.nodes, -1) === e))
4093
+ return null;
3716
4094
  if (e.type === "value-root" && delete s.text, (e.type === "media-query" || e.type === "media-query-list" || e.type === "media-feature-expression") && delete s.value, e.type === "css-rule" && delete s.params, (e.type === "media-feature" || e.type === "media-keyword" || e.type === "media-type" || e.type === "media-unknown" || e.type === "media-url" || e.type === "media-value" || e.type === "selector-attribute" || e.type === "selector-string" || e.type === "selector-class" || e.type === "selector-combinator" || e.type === "value-string") && e.value && (s.value = An(e.value)), e.type === "selector-combinator" && (s.value = F(!1, s.value, /\s+/gu, " ")), e.type === "media-feature" && (s.value = F(!1, s.value, " ", "")), (e.type === "value-word" && (e.isColor && e.isHex || ["initial", "inherit", "unset", "revert"].includes(e.value.toLowerCase())) || e.type === "media-feature" || e.type === "selector-root-invalid" || e.type === "selector-pseudo") && (s.value = s.value.toLowerCase()), e.type === "css-decl" && (s.prop = e.prop.toLowerCase()), (e.type === "css-atrule" || e.type === "css-import") && (s.name = e.name.toLowerCase()), e.type === "value-number" && (s.unit = e.unit.toLowerCase()), e.type === "value-unknown" && (s.value = F(!1, s.value, /;$/gu, "")), e.type === "selector-attribute" && (s.attribute = e.attribute.trim(), e.namespace && typeof e.namespace == "string" && (s.namespace = e.namespace.trim() || !0), e.value && (s.value = F(!1, s.value.trim(), /^["']|["']$/gu, ""), delete s.quoted)), (e.type === "media-value" || e.type === "media-type" || e.type === "value-number" || e.type === "selector-root-invalid" || e.type === "selector-class" || e.type === "selector-combinator" || e.type === "selector-tag") && e.value && (s.value = F(!1, s.value, /([\d+.e-]+)([a-z]*)/giu, (o, c, i) => {
3717
4095
  let f = Number(c);
3718
4096
  return Number.isNaN(f) ? o : f + i.toLowerCase();
@@ -3724,7 +4102,8 @@ function Tr(e, s, n) {
3724
4102
  let o = e.groups.findIndex((c) => c.type === "value-number" && c.unit === "...");
3725
4103
  o !== -1 && (s.groups[o].unit = "", s.groups.splice(o + 1, 0, { type: "value-word", value: "...", isColor: !1, isHex: !1 }));
3726
4104
  }
3727
- if (e.type === "value-comma_group" && e.groups.some((o) => o.type === "value-atword" && o.value.endsWith("[") || o.type === "value-word" && o.value.startsWith("]"))) return { type: "value-atword", value: e.groups.map((o) => o.value).join(""), group: { open: null, close: null, groups: [], type: "value-paren_group" } };
4105
+ if (e.type === "value-comma_group" && e.groups.some((o) => o.type === "value-atword" && o.value.endsWith("[") || o.type === "value-word" && o.value.startsWith("]")))
4106
+ return { type: "value-atword", value: e.groups.map((o) => o.value).join(""), group: { open: null, close: null, groups: [], type: "value-paren_group" } };
3728
4107
  }
3729
4108
  Tr.ignoredProperties = En;
3730
4109
  function An(e) {
@@ -3740,10 +4119,11 @@ async function In(e, s) {
3740
4119
  var Pn = In;
3741
4120
  function Cr(e) {
3742
4121
  let { node: s } = e;
3743
- if (s.type === "front-matter") return async (n) => {
3744
- let o = await Pn(s, n);
3745
- return o ? [o, B] : void 0;
3746
- };
4122
+ if (s.type === "front-matter")
4123
+ return async (n) => {
4124
+ let o = await Pn(s, n);
4125
+ return o ? [o, B] : void 0;
4126
+ };
3747
4127
  }
3748
4128
  Cr.getVisitorKeys = (e) => e.type === "css-root" ? ["frontMatter"] : [];
3749
4129
  var Mn = Cr, Ce = null;
@@ -3755,7 +4135,8 @@ function Pe(e) {
3755
4135
  return Ce = Pe.prototype = e ?? /* @__PURE__ */ Object.create(null), new Pe();
3756
4136
  }
3757
4137
  var $n = 10;
3758
- for (let e = 0; e <= $n; e++) Pe();
4138
+ for (let e = 0; e <= $n; e++)
4139
+ Pe();
3759
4140
  function Rn(e) {
3760
4141
  return Pe(e);
3761
4142
  }
@@ -3763,7 +4144,8 @@ function Nn(e, s = "type") {
3763
4144
  Rn(e);
3764
4145
  function n(o) {
3765
4146
  let c = o[s], i = e[c];
3766
- if (!Array.isArray(i)) throw Object.assign(new Error(`Missing visitor keys for '${c}'.`), { node: o });
4147
+ if (!Array.isArray(i))
4148
+ throw Object.assign(new Error(`Missing visitor keys for '${c}'.`), { node: o });
3767
4149
  return i;
3768
4150
  }
3769
4151
  return n;
@@ -3771,7 +4153,8 @@ function Nn(e, s = "type") {
3771
4153
  var Ln = Nn, Wn = { "front-matter": [], "css-root": ["frontMatter", "nodes"], "css-comment": [], "css-rule": ["selector", "nodes"], "css-decl": ["value", "selector", "nodes"], "css-atrule": ["selector", "params", "value", "nodes"], "media-query-list": ["nodes"], "media-query": ["nodes"], "media-type": [], "media-feature-expression": ["nodes"], "media-feature": [], "media-colon": [], "media-value": [], "media-keyword": [], "media-url": [], "media-unknown": [], "selector-root": ["nodes"], "selector-selector": ["nodes"], "selector-comment": [], "selector-string": [], "selector-tag": [], "selector-id": [], "selector-class": [], "selector-attribute": [], "selector-combinator": ["nodes"], "selector-universal": [], "selector-pseudo": ["nodes"], "selector-nesting": [], "selector-unknown": [], "value-value": ["group"], "value-root": ["group"], "value-comment": [], "value-comma_group": ["groups"], "value-paren_group": ["open", "groups", "close"], "value-func": ["group"], "value-paren": [], "value-number": [], "value-operator": [], "value-word": [], "value-colon": [], "value-comma": [], "value-string": [], "value-atword": [], "value-unicode-range": [], "value-unknown": [] }, zn = Wn, qn = Ln(zn), Bn = qn;
3772
4154
  function Fn(e, s) {
3773
4155
  let n = 0;
3774
- for (let o = 0; o < e.line - 1; ++o) n = s.indexOf(`
4156
+ for (let o = 0; o < e.line - 1; ++o)
4157
+ n = s.indexOf(`
3775
4158
  `, n) + 1;
3776
4159
  return n + e.column;
3777
4160
  }
@@ -3779,13 +4162,16 @@ var Sr = Fn;
3779
4162
  function Rt(e) {
3780
4163
  return (s, n, o) => {
3781
4164
  let c = !!(o != null && o.backwards);
3782
- if (n === !1) return !1;
4165
+ if (n === !1)
4166
+ return !1;
3783
4167
  let { length: i } = s, f = n;
3784
4168
  for (; f >= 0 && f < i; ) {
3785
4169
  let u = s.charAt(f);
3786
4170
  if (e instanceof RegExp) {
3787
- if (!e.test(u)) return f;
3788
- } else if (!e.includes(u)) return f;
4171
+ if (!e.test(u))
4172
+ return f;
4173
+ } else if (!e.includes(u))
4174
+ return f;
3789
4175
  c ? f-- : f++;
3790
4176
  }
3791
4177
  return f === -1 || f === i ? f : !1;
@@ -3798,21 +4184,27 @@ function Ar(e, s) {
3798
4184
  }
3799
4185
  function jr(e, s) {
3800
4186
  var n, o, c;
3801
- if (typeof ((o = (n = e.source) == null ? void 0 : n.start) == null ? void 0 : o.offset) == "number") return e.source.start.offset;
3802
- if (typeof e.sourceIndex == "number") return e.type === "value-word" ? Ar(e, e.sourceIndex) : e.sourceIndex;
3803
- if ((c = e.source) != null && c.start) return Sr(e.source.start, s);
4187
+ if (typeof ((o = (n = e.source) == null ? void 0 : n.start) == null ? void 0 : o.offset) == "number")
4188
+ return e.source.start.offset;
4189
+ if (typeof e.sourceIndex == "number")
4190
+ return e.type === "value-word" ? Ar(e, e.sourceIndex) : e.sourceIndex;
4191
+ if ((c = e.source) != null && c.start)
4192
+ return Sr(e.source.start, s);
3804
4193
  throw Object.assign(new Error("Can not locate node."), { node: e });
3805
4194
  }
3806
4195
  function Nt(e, s) {
3807
4196
  var n, o;
3808
- if (e.type === "css-comment" && e.inline) return Er(s, e.source.startOffset);
3809
- if (typeof ((o = (n = e.source) == null ? void 0 : n.end) == null ? void 0 : o.offset) == "number") return e.source.end.offset;
4197
+ if (e.type === "css-comment" && e.inline)
4198
+ return Er(s, e.source.startOffset);
4199
+ if (typeof ((o = (n = e.source) == null ? void 0 : n.end) == null ? void 0 : o.offset) == "number")
4200
+ return e.source.end.offset;
3810
4201
  if (e.source) {
3811
4202
  if (e.source.end) {
3812
4203
  let c = Sr(e.source.end, s);
3813
4204
  return e.type === "value-word" ? Ar(e, c) : c;
3814
4205
  }
3815
- if (at(e.nodes)) return Nt(ge(!1, e.nodes, -1), s);
4206
+ if (at(e.nodes))
4207
+ return Nt(ge(!1, e.nodes, -1), s);
3816
4208
  }
3817
4209
  return null;
3818
4210
  }
@@ -3864,15 +4256,18 @@ function Vn(e) {
3864
4256
  continue;
3865
4257
  case "single-quotes":
3866
4258
  if (u === "'" && e[f - 1] !== "\\" && (s = n, n = "initial"), u === `
3867
- ` || u === "\r") return e;
4259
+ ` || u === "\r")
4260
+ return e;
3868
4261
  continue;
3869
4262
  case "double-quotes":
3870
4263
  if (u === '"' && e[f - 1] !== "\\" && (s = n, n = "initial"), u === `
3871
- ` || u === "\r") return e;
4264
+ ` || u === "\r")
4265
+ return e;
3872
4266
  continue;
3873
4267
  case "url":
3874
4268
  if (u === ")" && (s = "initial"), u === `
3875
- ` || u === "\r") return e;
4269
+ ` || u === "\r")
4270
+ return e;
3876
4271
  if (u === "'") {
3877
4272
  s = "single-quotes", n = "url";
3878
4273
  continue;
@@ -3891,7 +4286,8 @@ function Vn(e) {
3891
4286
  continue;
3892
4287
  }
3893
4288
  }
3894
- for (let [f, u] of i) e = e.slice(0, f) + F(!1, e.slice(f, u), /["'*]/gu, " ") + e.slice(u);
4289
+ for (let [f, u] of i)
4290
+ e = e.slice(0, f) + F(!1, e.slice(f, u), /["'*]/gu, " ") + e.slice(u);
3895
4291
  return e;
3896
4292
  }
3897
4293
  function V(e) {
@@ -3916,7 +4312,8 @@ function Yn(e) {
3916
4312
  `;
3917
4313
  e = F(!1, e.replace(Jn, "").replace(Gn, ""), Zn, "$1");
3918
4314
  let n = "";
3919
- for (; n !== e; ) n = e, e = F(!1, e, Qn, `${s}$1 $2${s}`);
4315
+ for (; n !== e; )
4316
+ n = e, e = F(!1, e, Qn, `${s}$1 $2${s}`);
3920
4317
  e = e.replace(Dt, "").trimEnd();
3921
4318
  let o = /* @__PURE__ */ Object.create(null), c = F(!1, e, Ut, "").replace(Dt, "").trimEnd(), i;
3922
4319
  for (; i = Ut.exec(e); ) {
@@ -3924,7 +4321,8 @@ function Yn(e) {
3924
4321
  if (typeof o[i[1]] == "string" || Array.isArray(o[i[1]])) {
3925
4322
  let u = o[i[1]];
3926
4323
  o[i[1]] = [...$r, ...Array.isArray(u) ? u : [u], f];
3927
- } else o[i[1]] = f;
4324
+ } else
4325
+ o[i[1]] = f;
3928
4326
  }
3929
4327
  return { comments: c, pragmas: o };
3930
4328
  }
@@ -3932,7 +4330,8 @@ function eo({ comments: e = "", pragmas: s = {} }) {
3932
4330
  let n = `
3933
4331
  `, o = "/**", c = " *", i = " */", f = Object.keys(s), u = f.flatMap((p) => Vt(p, s[p])).map((p) => `${c} ${p}${n}`).join("");
3934
4332
  if (!e) {
3935
- if (f.length === 0) return "";
4333
+ if (f.length === 0)
4334
+ return "";
3936
4335
  if (f.length === 1 && !Array.isArray(s[f[0]])) {
3937
4336
  let p = s[f[0]];
3938
4337
  return `${o} ${Vt(f[0], p)[0]}${i}`;
@@ -3946,7 +4345,8 @@ function Vt(e, s) {
3946
4345
  }
3947
4346
  var to = ["noformat", "noprettier"], ro = ["format", "prettier"], so = "format";
3948
4347
  function no(e) {
3949
- if (!e.startsWith("#!")) return "";
4348
+ if (!e.startsWith("#!"))
4349
+ return "";
3950
4350
  let s = e.indexOf(`
3951
4351
  `);
3952
4352
  return s === -1 ? e : e.slice(0, s);
@@ -3978,22 +4378,27 @@ function uo(e) {
3978
4378
  var Se = 3;
3979
4379
  function lo(e) {
3980
4380
  let s = e.slice(0, Se);
3981
- if (s !== "---" && s !== "+++") return;
4381
+ if (s !== "---" && s !== "+++")
4382
+ return;
3982
4383
  let n = e.indexOf(`
3983
4384
  `, Se);
3984
- if (n === -1) return;
4385
+ if (n === -1)
4386
+ return;
3985
4387
  let o = e.slice(Se, n).trim(), c = e.indexOf(`
3986
4388
  ${s}`, n), i = o;
3987
4389
  if (i || (i = s === "+++" ? "toml" : "yaml"), c === -1 && s === "---" && i === "yaml" && (c = e.indexOf(`
3988
- ...`, n)), c === -1) return;
4390
+ ...`, n)), c === -1)
4391
+ return;
3989
4392
  let f = c + 1 + Se, u = e.charAt(f + 1);
3990
- if (!/\s?/u.test(u)) return;
4393
+ if (!/\s?/u.test(u))
4394
+ return;
3991
4395
  let m = e.slice(0, f);
3992
4396
  return { type: "front-matter", language: i, explicitLanguage: o, value: e.slice(n + 1, c), startDelimiter: s, endDelimiter: m.slice(-Se), raw: m };
3993
4397
  }
3994
4398
  function co(e) {
3995
4399
  let s = lo(e);
3996
- if (!s) return { content: e };
4400
+ if (!s)
4401
+ return { content: e };
3997
4402
  let { raw: n } = s;
3998
4403
  return { frontMatter: s, content: F(!1, n, /[^\n]/gu, " ") + e.slice(n.length) };
3999
4404
  }
@@ -4127,11 +4532,14 @@ function ft(e) {
4127
4532
  }
4128
4533
  function Rr(e, s) {
4129
4534
  var n;
4130
- if (s.parser !== "scss") return !1;
4535
+ if (s.parser !== "scss")
4536
+ return !1;
4131
4537
  let { node: o } = e;
4132
- if (o.groups.length === 0) return !1;
4538
+ if (o.groups.length === 0)
4539
+ return !1;
4133
4540
  let c = e.grandparent;
4134
- if (!ft(o) && !(c && ft(c))) return !1;
4541
+ if (!ft(o) && !(c && ft(c)))
4542
+ return !1;
4135
4543
  let i = e.findAncestor((f) => f.type === "css-decl");
4136
4544
  return !!((n = i?.prop) != null && n.startsWith("$") || ft(c) || c.type === "value-func");
4137
4545
  }
@@ -4154,7 +4562,8 @@ function Ke(e) {
4154
4562
  return e?.type === "value-colon";
4155
4563
  }
4156
4564
  function Ro(e, s) {
4157
- if (!Wt(s)) return !1;
4565
+ if (!Wt(s))
4566
+ return !1;
4158
4567
  let { groups: n } = s, o = n.indexOf(e);
4159
4568
  return o === -1 ? !1 : Ke(n[o + 1]);
4160
4569
  }
@@ -4172,10 +4581,12 @@ function Ge(e) {
4172
4581
  }
4173
4582
  function Wo(e, s) {
4174
4583
  var n, o;
4175
- if (((n = e.open) == null ? void 0 : n.value) !== "(" || ((o = e.close) == null ? void 0 : o.value) !== ")" || e.groups.some((c) => c.type !== "value-comma_group")) return !1;
4584
+ if (((n = e.open) == null ? void 0 : n.value) !== "(" || ((o = e.close) == null ? void 0 : o.value) !== ")" || e.groups.some((c) => c.type !== "value-comma_group"))
4585
+ return !1;
4176
4586
  if (s.type === "value-comma_group") {
4177
4587
  let c = s.groups.indexOf(e) - 1, i = s.groups[c];
4178
- if (i?.type === "value-word" && i.value === "with") return !0;
4588
+ if (i?.type === "value-word" && i.value === "with")
4589
+ return !0;
4179
4590
  }
4180
4591
  return !1;
4181
4592
  }
@@ -4196,14 +4607,17 @@ function zo(e, s, n) {
4196
4607
  (k && ne(k) || ne(g)) && a.push([a.pop(), " "]);
4197
4608
  continue;
4198
4609
  }
4199
- if (Ke(k) && g.type === "value-word" && a.length > 2 && c.groups.slice(0, y).every((I) => I.type === "value-comment") && !Ee(v) && (a[a.length - 2] = $e(ge(!1, a, -2))), Me(e, "forward") && g.type === "value-word" && g.value && v !== void 0 && v.type === "value-word" && v.value === "as" && k.type === "value-operator" && k.value === "*" || Me(e, "utility") && g.type === "value-word" && k && k.type === "value-operator" && k.value === "*" || !k || g.type === "value-word" && Ge(k) && G(g) === V(k)) continue;
4610
+ if (Ke(k) && g.type === "value-word" && a.length > 2 && c.groups.slice(0, y).every((I) => I.type === "value-comment") && !Ee(v) && (a[a.length - 2] = $e(ge(!1, a, -2))), Me(e, "forward") && g.type === "value-word" && g.value && v !== void 0 && v.type === "value-word" && v.value === "as" && k.type === "value-operator" && k.value === "*" || Me(e, "utility") && g.type === "value-word" && k && k.type === "value-operator" && k.value === "*" || !k || g.type === "value-word" && Ge(k) && G(g) === V(k))
4611
+ continue;
4200
4612
  if (g.type === "value-string" && g.quoted) {
4201
4613
  let I = g.value.lastIndexOf("#{"), N = g.value.lastIndexOf("}");
4202
4614
  I !== -1 && N !== -1 ? l = I > N : I !== -1 ? l = !0 : N !== -1 && (l = !1);
4203
4615
  }
4204
- if (l || Ke(g) || Ke(k) || g.type === "value-atword" && (g.value === "" || g.value.endsWith("[")) || k.type === "value-word" && k.value.startsWith("]") || g.value === "~" || g.type !== "value-string" && g.value && g.value.includes("\\") && k && k.type !== "value-comment" || v != null && v.value && v.value.indexOf("\\") === v.value.length - 1 && g.type === "value-operator" && g.value === "/" || g.value === "\\" || Po(g, k) || ht(g) || Jt(g) || dt(k) || Jt(k) && me(k) || dt(g) && me(k) || g.value === "--" && ht(k)) continue;
4616
+ if (l || Ke(g) || Ke(k) || g.type === "value-atword" && (g.value === "" || g.value.endsWith("[")) || k.type === "value-word" && k.value.startsWith("]") || g.value === "~" || g.type !== "value-string" && g.value && g.value.includes("\\") && k && k.type !== "value-comment" || v != null && v.value && v.value.indexOf("\\") === v.value.length - 1 && g.type === "value-operator" && g.value === "/" || g.value === "\\" || Po(g, k) || ht(g) || Jt(g) || dt(k) || Jt(k) && me(k) || dt(g) && me(k) || g.value === "--" && ht(k))
4617
+ continue;
4205
4618
  let x = ct(g), O = ct(k);
4206
- if ((x && ht(k) || O && dt(g)) && me(k) || !v && Ze(g) || Qe(e, "calc") && (ne(g) || ne(k) || ye(g) || ye(k)) && me(k)) continue;
4619
+ if ((x && ht(k) || O && dt(g)) && me(k) || !v && Ze(g) || Qe(e, "calc") && (ne(g) || ne(k) || ye(g) || ye(k)) && me(k))
4620
+ continue;
4207
4621
  let T = (ne(g) || ye(g)) && y === 0 && (k.type === "value-number" || k.isHex) && f && Lo(f) && !me(k), _ = w?.type === "value-func" || w && Ve(w) || g.type === "value-func" || Ve(g), A = k.type === "value-func" || Ve(k) || v?.type === "value-func" || v && Ve(v);
4208
4622
  if (s.parser === "scss" && x && g.value === "-" && k.type === "value-func" && G(g) !== V(k)) {
4209
4623
  a.push([a.pop(), " "]);
@@ -4277,18 +4691,23 @@ function Ho(e) {
4277
4691
  }
4278
4692
  function Qo(e, s, n) {
4279
4693
  let o = !!(n != null && n.backwards);
4280
- if (s === !1) return !1;
4694
+ if (s === !1)
4695
+ return !1;
4281
4696
  let c = e.charAt(s);
4282
4697
  if (o) {
4283
4698
  if (e.charAt(s - 1) === "\r" && c === `
4284
- `) return s - 2;
4699
+ `)
4700
+ return s - 2;
4285
4701
  if (c === `
4286
- ` || c === "\r" || c === "\u2028" || c === "\u2029") return s - 1;
4702
+ ` || c === "\r" || c === "\u2028" || c === "\u2029")
4703
+ return s - 1;
4287
4704
  } else {
4288
4705
  if (c === "\r" && e.charAt(s + 1) === `
4289
- `) return s + 2;
4706
+ `)
4707
+ return s + 2;
4290
4708
  if (c === `
4291
- ` || c === "\r" || c === "\u2028" || c === "\u2029") return s + 1;
4709
+ ` || c === "\r" || c === "\u2028" || c === "\u2029")
4710
+ return s + 1;
4292
4711
  }
4293
4712
  return s;
4294
4713
  }
@@ -4299,9 +4718,12 @@ function Zo(e, s, n = {}) {
4299
4718
  }
4300
4719
  var qr = Zo;
4301
4720
  function Ko(e, s) {
4302
- if (s === !1) return !1;
4721
+ if (s === !1)
4722
+ return !1;
4303
4723
  if (e.charAt(s) === "/" && e.charAt(s + 1) === "*") {
4304
- for (let n = s + 2; n < e.length; ++n) if (e.charAt(n) === "*" && e.charAt(n + 1) === "/") return n + 2;
4724
+ for (let n = s + 2; n < e.length; ++n)
4725
+ if (e.charAt(n) === "*" && e.charAt(n + 1) === "/")
4726
+ return n + 2;
4305
4727
  }
4306
4728
  return s;
4307
4729
  }
@@ -4312,7 +4734,8 @@ function Yo(e, s) {
4312
4734
  var ei = Yo;
4313
4735
  function ti(e, s) {
4314
4736
  let n = null, o = s;
4315
- for (; o !== n; ) n = o, o = Dn(e, o), o = Xo(e, o), o = _r(e, o);
4737
+ for (; o !== n; )
4738
+ n = o, o = Dn(e, o), o = Xo(e, o), o = _r(e, o);
4316
4739
  return o = ei(e, o), o = zr(e, o), o !== !1 && qr(e, o);
4317
4740
  }
4318
4741
  var Br = ti;
@@ -4324,7 +4747,8 @@ function si(e, s) {
4324
4747
  }
4325
4748
  function ni(e, s, n) {
4326
4749
  let { node: o, parent: c } = e, i = e.map(({ node: a }) => typeof a == "string" ? a : n(), "groups");
4327
- if (c && ko(c) && (o.groups.length === 1 || o.groups.length > 0 && o.groups[0].type === "value-comma_group" && o.groups[0].groups.length > 0 && o.groups[0].groups[0].type === "value-word" && o.groups[0].groups[0].value.startsWith("data:"))) return [o.open ? n("open") : "", oe(",", i), o.close ? n("close") : ""];
4750
+ if (c && ko(c) && (o.groups.length === 1 || o.groups.length > 0 && o.groups[0].type === "value-comma_group" && o.groups[0].groups.length > 0 && o.groups[0].groups[0].type === "value-word" && o.groups[0].groups[0].value.startsWith("data:")))
4751
+ return [o.open ? n("open") : "", oe(",", i), o.close ? n("close") : ""];
4328
4752
  if (!o.open) {
4329
4753
  let a = Fr(e), d = ii(oe(",", i), 2), l = oe(a ? B : U, d);
4330
4754
  return H(a ? [B, l] : K([oi(e) ? Z : "", He(l)]));
@@ -4350,14 +4774,16 @@ function oi(e) {
4350
4774
  }
4351
4775
  function ii(e, s) {
4352
4776
  let n = [];
4353
- for (let o = 0; o < e.length; o += s) n.push(e.slice(o, o + s));
4777
+ for (let o = 0; o < e.length; o += s)
4778
+ n.push(e.slice(o, o + s));
4354
4779
  return n;
4355
4780
  }
4356
4781
  function ai(e, s, n) {
4357
4782
  let o = [];
4358
4783
  return e.each(() => {
4359
4784
  let { node: c, previous: i } = e;
4360
- if (i?.type === "css-comment" && i.text.trim() === "prettier-ignore" ? o.push(s.originalText.slice(V(c), G(c))) : o.push(n()), e.isLast) return;
4785
+ if (i?.type === "css-comment" && i.text.trim() === "prettier-ignore" ? o.push(s.originalText.slice(V(c), G(c))) : o.push(n()), e.isLast)
4786
+ return;
4361
4787
  let { next: f } = e;
4362
4788
  f.type === "css-comment" && !qr(s.originalText, V(f), { backwards: !0 }) && !Xe(c) || f.type === "css-atrule" && f.name === "else" && c.type !== "css-comment" ? o.push(" ") : (o.push(s.__isHTMLStyleAttribute ? U : B), Br(s.originalText, G(c)) && !Xe(c) && o.push(B));
4363
4789
  }, "nodes"), o;
@@ -4386,9 +4812,12 @@ function ui(e, s, n) {
4386
4812
  case "css-atrule": {
4387
4813
  let r = e.parent, t = pt(p) && !r.raws.semicolon && s.originalText[G(p) - 1] !== ";";
4388
4814
  if (s.parser === "less") {
4389
- if (p.mixin) return [n("selector"), p.important ? " !important" : "", t ? "" : ";"];
4390
- if (p.function) return [p.name, typeof p.params == "string" ? p.params : n("params"), t ? "" : ";"];
4391
- if (p.variable) return ["@", p.name, ": ", p.value ? n("value") : "", p.raws.between.trim() ? p.raws.between.trim() + " " : "", p.nodes ? ["{", H([p.nodes.length > 0 ? Z : "", je(e, s, n)]), Z, "}"] : "", t ? "" : ";"];
4815
+ if (p.mixin)
4816
+ return [n("selector"), p.important ? " !important" : "", t ? "" : ";"];
4817
+ if (p.function)
4818
+ return [p.name, typeof p.params == "string" ? p.params : n("params"), t ? "" : ";"];
4819
+ if (p.variable)
4820
+ return ["@", p.name, ": ", p.value ? n("value") : "", p.raws.between.trim() ? p.raws.between.trim() + " " : "", p.nodes ? ["{", H([p.nodes.length > 0 ? Z : "", je(e, s, n)]), Z, "}"] : "", t ? "" : ";"];
4392
4821
  }
4393
4822
  let h = p.name === "import" && ((f = p.params) == null ? void 0 : f.type) === "value-unknown" && p.params.value.endsWith(";");
4394
4823
  return ["@", Gt(p) || p.name.endsWith(":") || pt(p) ? p.name : _e(p.name), p.params ? [Gt(p) ? "" : pt(p) ? p.raws.afterName === "" ? "" : p.name.endsWith(":") ? " " : /^\s*\n\s*\n/u.test(p.raws.afterName) ? [B, B] : /^\s*\n/u.test(p.raws.afterName) ? B : " " : " ", typeof p.params == "string" ? p.params : n("params")] : "", p.selector ? H([" ", n("selector")]) : "", p.value ? K([" ", n("value"), vt(p, s) ? $o(p) ? " " : U : ""]) : p.name === "else" ? " " : "", p.nodes ? [vt(p, s) ? "" : p.selector && !p.selector.nodes && typeof p.selector.value == "string" && Ae(p.selector.value) || !p.selector && typeof p.params == "string" && Ae(p.params) ? U : " ", "{", H([p.nodes.length > 0 ? Z : "", je(e, s, n)]), Z, "}"] : t || h ? "" : ";"];
@@ -4451,7 +4880,8 @@ function ui(e, s, n) {
4451
4880
  return p.value;
4452
4881
  case "selector-unknown": {
4453
4882
  let r = e.findAncestor((a) => a.type === "css-rule");
4454
- if (r != null && r.isSCSSNesterProperty) return ve(Y(_e(p.value), s));
4883
+ if (r != null && r.isSCSSNesterProperty)
4884
+ return ve(Y(_e(p.value), s));
4455
4885
  let t = e.parent;
4456
4886
  if ((m = t.raws) != null && m.selector) {
4457
4887
  let a = V(t), d = a + t.raws.selector.length;
@@ -4495,6 +4925,7 @@ function ui(e, s, n) {
4495
4925
  return p.value;
4496
4926
  case "value-unknown":
4497
4927
  return p.value;
4928
+ case "value-comma":
4498
4929
  default:
4499
4930
  throw new Sn(p, "PostCSS");
4500
4931
  }
@@ -4510,14 +4941,16 @@ var wi = gi, bi = we(ks());
4510
4941
  function ze(e, s, n) {
4511
4942
  if (e && typeof e == "object") {
4512
4943
  delete e.parent;
4513
- for (let o in e) ze(e[o], s, n), o === "type" && typeof e[o] == "string" && !e[o].startsWith(s) && (!n || !n.test(e[o])) && (e[o] = s + e[o]);
4944
+ for (let o in e)
4945
+ ze(e[o], s, n), o === "type" && typeof e[o] == "string" && !e[o].startsWith(s) && (!n || !n.test(e[o])) && (e[o] = s + e[o]);
4514
4946
  }
4515
4947
  return e;
4516
4948
  }
4517
4949
  function Ur(e) {
4518
4950
  if (e && typeof e == "object") {
4519
4951
  delete e.parent;
4520
- for (let s in e) Ur(e[s]);
4952
+ for (let s in e)
4953
+ Ur(e[s]);
4521
4954
  !Array.isArray(e) && e.value && !e.type && (e.type = "unknown");
4522
4955
  }
4523
4956
  return e;
@@ -4534,7 +4967,8 @@ function ki(e) {
4534
4967
  }
4535
4968
  var Oi = ki, Ti = we(Ws());
4536
4969
  function Ci(e) {
4537
- if (/\/\/|\/\*/u.test(e)) return { type: "selector-unknown", value: e.trim() };
4970
+ if (/\/\/|\/\*/u.test(e))
4971
+ return { type: "selector-unknown", value: e.trim() };
4538
4972
  let s;
4539
4973
  try {
4540
4974
  new Ti.default((n) => {
@@ -4546,7 +4980,8 @@ function Ci(e) {
4546
4980
  return ze(s, "selector-");
4547
4981
  }
4548
4982
  var ae = Ci, Si = we(tn()), _i = (e) => {
4549
- for (; e.parent; ) e = e.parent;
4983
+ for (; e.parent; )
4984
+ e = e.parent;
4550
4985
  return e;
4551
4986
  }, Vr = _i;
4552
4987
  function Ei(e) {
@@ -4555,7 +4990,9 @@ function Ei(e) {
4555
4990
  var Ai = Ei;
4556
4991
  function ji(e) {
4557
4992
  if (at(e)) {
4558
- for (let s = e.length - 1; s > 0; s--) if (e[s].type === "word" && e[s].value === "{" && e[s - 1].type === "word" && e[s - 1].value.endsWith("#")) return !0;
4993
+ for (let s = e.length - 1; s > 0; s--)
4994
+ if (e[s].type === "word" && e[s].value === "{" && e[s - 1].type === "word" && e[s - 1].value.endsWith("#"))
4995
+ return !0;
4559
4996
  }
4560
4997
  return !1;
4561
4998
  }
@@ -4581,14 +5018,18 @@ function Ni(e, s) {
4581
5018
  }
4582
5019
  (Ii(h) || !Mi(h) && !Ri(h[0], s)) && (r.group.groups = [Ai(r)]);
4583
5020
  }
4584
- if (r.type === "paren" && r.value === "(") c = { open: r, close: null, groups: [], type: "paren_group" }, i.push(c), u = { groups: [], type: "comma_group" }, m.push(u);
5021
+ if (r.type === "paren" && r.value === "(")
5022
+ c = { open: r, close: null, groups: [], type: "paren_group" }, i.push(c), u = { groups: [], type: "comma_group" }, m.push(u);
4585
5023
  else if (Ht(r)) {
4586
- if (u.groups.length > 0 && c.groups.push(u), c.close = r, m.length === 1) throw new Error("Unbalanced parenthesis");
5024
+ if (u.groups.length > 0 && c.groups.push(u), c.close = r, m.length === 1)
5025
+ throw new Error("Unbalanced parenthesis");
4587
5026
  m.pop(), u = ge(!1, m, -1), u.groups.push(c), i.pop(), c = ge(!1, i, -1);
4588
5027
  } else if (r.type === "comma") {
4589
- if (p === o.length - 3 && o[p + 1].type === "comment" && Ht(o[p + 2])) continue;
5028
+ if (p === o.length - 3 && o[p + 1].type === "comment" && Ht(o[p + 2]))
5029
+ continue;
4590
5030
  c.groups.push(u), u = { groups: [], type: "comma_group" }, m[m.length - 1] = u;
4591
- } else u.groups.push(r);
5031
+ } else
5032
+ u.groups.push(r);
4592
5033
  }
4593
5034
  return u.groups.length > 0 && c.groups.push(u), f;
4594
5035
  }
@@ -4596,11 +5037,14 @@ function gt(e) {
4596
5037
  return e.type === "paren_group" && !e.open && !e.close && e.groups.length === 1 || e.type === "comma_group" && e.groups.length === 1 ? gt(e.groups[0]) : e.type === "paren_group" || e.type === "comma_group" ? { ...e, groups: e.groups.map(gt) } : e;
4597
5038
  }
4598
5039
  function Gr(e, s) {
4599
- if (e && typeof e == "object") for (let n in e) n !== "parent" && (Gr(e[n], s), n === "nodes" && (e.group = gt(Ni(e, s)), delete e[n]));
5040
+ if (e && typeof e == "object")
5041
+ for (let n in e)
5042
+ n !== "parent" && (Gr(e[n], s), n === "nodes" && (e.group = gt(Ni(e, s)), delete e[n]));
4600
5043
  return e;
4601
5044
  }
4602
5045
  function Li(e, s) {
4603
- if (s.parser === "less" && e.startsWith("~`")) return { type: "value-unknown", value: e };
5046
+ if (s.parser === "less" && e.startsWith("~`"))
5047
+ return { type: "value-unknown", value: e };
4604
5048
  let n = null;
4605
5049
  try {
4606
5050
  n = new Si.default(e, { loose: !0 }).parse();
@@ -4624,8 +5068,10 @@ function Jr(e, s) {
4624
5068
  var n, o;
4625
5069
  if (e && typeof e == "object") {
4626
5070
  delete e.parent;
4627
- for (let u in e) Jr(e[u], s);
4628
- if (!e.type) return e;
5071
+ for (let u in e)
5072
+ Jr(e[u], s);
5073
+ if (!e.type)
5074
+ return e;
4629
5075
  if (e.raws ?? (e.raws = {}), e.type === "css-decl" && typeof e.prop == "string" && e.prop.startsWith("--") && typeof e.value == "string" && e.value.startsWith("{")) {
4630
5076
  let u;
4631
5077
  if (e.value.trimEnd().endsWith("}")) {
@@ -4645,12 +5091,14 @@ function Jr(e, s) {
4645
5091
  let i = "";
4646
5092
  typeof e.value == "string" && (i = e.raws.value ? e.raws.value.scss ?? e.raws.value.raw : e.value, e.raws.value = i.trim());
4647
5093
  let f = "";
4648
- if (typeof e.params == "string" && (f = e.raws.params ? e.raws.params.scss ?? e.raws.params.raw : e.params, e.raws.afterName && e.raws.afterName.trim().length > 0 && (f = e.raws.afterName + f), e.raws.between && e.raws.between.trim().length > 0 && (f = f + e.raws.between), f = f.trim(), e.raws.params = f), c.trim().length > 0) return c.startsWith("@") && c.endsWith(":") ? e : e.mixin ? (e.selector = ie(c, s), e) : (Fi(e, s) && (e.isSCSSNesterProperty = !0), e.selector = ae(c), e);
5094
+ if (typeof e.params == "string" && (f = e.raws.params ? e.raws.params.scss ?? e.raws.params.raw : e.params, e.raws.afterName && e.raws.afterName.trim().length > 0 && (f = e.raws.afterName + f), e.raws.between && e.raws.between.trim().length > 0 && (f = f + e.raws.between), f = f.trim(), e.raws.params = f), c.trim().length > 0)
5095
+ return c.startsWith("@") && c.endsWith(":") ? e : e.mixin ? (e.selector = ie(c, s), e) : (Fi(e, s) && (e.isSCSSNesterProperty = !0), e.selector = ae(c), e);
4649
5096
  if (i.trim().length > 0) {
4650
5097
  let u = i.match(Di);
4651
5098
  u && (i = i.slice(0, u.index), e.scssDefault = !0, u[0].trim() !== "!default" && (e.raws.scssDefault = u[0]));
4652
5099
  let m = i.match(Ui);
4653
- if (m && (i = i.slice(0, m.index), e.scssGlobal = !0, m[0].trim() !== "!global" && (e.raws.scssGlobal = m[0])), i.startsWith("progid:")) return { type: "value-unknown", value: i };
5100
+ if (m && (i = i.slice(0, m.index), e.scssGlobal = !0, m[0].trim() !== "!global" && (e.raws.scssGlobal = m[0])), i.startsWith("progid:"))
5101
+ return { type: "value-unknown", value: i };
4654
5102
  e.value = ie(i, s);
4655
5103
  }
4656
5104
  if (s.parser === "less" && e.type === "css-decl" && i.startsWith("extend(") && (e.extend || (e.extend = e.raws.between === ":"), e.extend && !e.selector && (delete e.value, e.selector = ae(i.slice(7, -1)))), e.type === "css-atrule") {
@@ -4659,7 +5107,8 @@ function Jr(e, s) {
4659
5107
  let u = e.raws.identifier + e.name + e.raws.afterName + e.raws.params;
4660
5108
  return e.selector = ae(u), delete e.params, e;
4661
5109
  }
4662
- if (e.function) return e;
5110
+ if (e.function)
5111
+ return e;
4663
5112
  }
4664
5113
  if (s.parser === "css" && e.name === "custom-selector") {
4665
5114
  let u = e.params.match(/:--\S+\s+/u)[0].trim();
@@ -4676,7 +5125,8 @@ function Jr(e, s) {
4676
5125
  let u = e.params.slice(1);
4677
5126
  u && (e.value = ie(u, s)), e.raws.afterName += ":";
4678
5127
  }
4679
- if (e.variable) return delete e.params, e.value || delete e.value, e;
5128
+ if (e.variable)
5129
+ return delete e.params, e.value || delete e.value, e;
4680
5130
  }
4681
5131
  }
4682
5132
  if (e.type === "css-atrule" && f.length > 0) {