@vue/devtools-electron 7.0.19 → 7.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/assets/{html-KTYx-Ibi.js → html-CqhC7HHo.js} +1 -1
- package/client/assets/{index-RYPjiZAm.js → index-tdDG9S3C.js} +20 -20
- package/client/assets/{vue-EJd75Pva.js → vue-CP4EDFt0.js} +1 -1
- package/client/assets/{vue-html-Zq9JvlnT.js → vue-html-9lCBN0KK.js} +1 -1
- package/client/devtools-panel.js +1669 -1675
- package/client/{html-5TX0KzMQ.js → html-BZB5lEhh.js} +2 -2
- package/client/index.html +2 -2
- package/client/{unocss-runtime-3cAvH9Ku.js → unocss-runtime-2Lp04-6S.js} +93 -93
- package/client/{vue-Wq24sg5G.js → vue-CSiwUDF5.js} +6 -6
- package/client/{vue-html-IdmxoL84.js → vue-html-D0BKftsE.js} +2 -2
- package/dist/devtools.js +101 -101
- package/dist/index.cjs +32 -32
- package/dist/index.js +31 -31
- package/dist/user-app.cjs +35 -35
- package/dist/user-app.iife.js +54 -54
- package/dist/user-app.js +29 -29
- package/package.json +4 -4
- /package/client/assets/{css-tuEqSfZX.js → css-CbYhyuC0.js} +0 -0
- /package/client/assets/{diff--l9-nN5b.js → diff-DvyTQcux.js} +0 -0
- /package/client/assets/{index-GBG_N3yP.css → index-YEb83fI8.css} +0 -0
- /package/client/assets/{javascript-JMZ6uy5M.js → javascript-Dch3xQiY.js} +0 -0
- /package/client/assets/{json-xL80yL3n.js → json-CupVZNk8.js} +0 -0
- /package/client/assets/{shellscript-QP4ZqdYB.js → shellscript-BVYSsK7b.js} +0 -0
- /package/client/assets/{typescript-HpdcmTOD.js → typescript-DC8MraHL.js} +0 -0
- /package/client/assets/{unocss-runtime-1I7U-Xvx.js → unocss-runtime--QU4d9Ny.js} +0 -0
- /package/client/assets/{vitesse-dark-jCpginLY.js → vitesse-dark-DggdVF2v.js} +0 -0
- /package/client/assets/{vitesse-light-W1hZpt2R.js → vitesse-light-A1WiD9SJ.js} +0 -0
- /package/client/assets/{vue-apis-Nh9IahXf.js → vue-apis-buOuct3A.js} +0 -0
- /package/client/assets/{yaml-zytfnWoA.js → yaml-C5gCGmDW.js} +0 -0
- /package/client/{css-FzZ_BjSq.js → css-CAzixsid.js} +0 -0
- /package/client/{diff-nydZCsp5.js → diff-Bo5iyMQ2.js} +0 -0
- /package/client/{javascript-ewd2r-0o.js → javascript-DqVBMyXe.js} +0 -0
- /package/client/{json-GUBx_oBO.js → json-B12k4-6m.js} +0 -0
- /package/client/{shellscript-h-Nc7Y6x.js → shellscript-CUUTQKn5.js} +0 -0
- /package/client/{typescript-Uom77LgO.js → typescript-AEg-ehu7.js} +0 -0
- /package/client/{vitesse-dark-dKCfdby4.js → vitesse-dark-DEltXrMK.js} +0 -0
- /package/client/{vitesse-light-zG4GVY1U.js → vitesse-light-C4WnY2Z4.js} +0 -0
- /package/client/{vue-apis-j7ljdRbm.js → vue-apis-CBD-3_AQ.js} +0 -0
- /package/client/{yaml-0qnKYER3.js → yaml-PGla5xPP.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
const Fe = /"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/, Ve = /"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,
|
|
2
|
-
function
|
|
1
|
+
const Fe = /"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/, Ve = /"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/, Ge = /^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;
|
|
2
|
+
function He(e, t) {
|
|
3
3
|
if (e === "__proto__" || e === "constructor" && t && typeof t == "object" && "prototype" in t) {
|
|
4
|
-
|
|
4
|
+
Be(e);
|
|
5
5
|
return;
|
|
6
6
|
}
|
|
7
7
|
return t;
|
|
8
8
|
}
|
|
9
|
-
function
|
|
9
|
+
function Be(e) {
|
|
10
10
|
console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`);
|
|
11
11
|
}
|
|
12
12
|
function ze(e, t = {}) {
|
|
@@ -35,7 +35,7 @@ function ze(e, t = {}) {
|
|
|
35
35
|
if (s === "-infinity")
|
|
36
36
|
return Number.NEGATIVE_INFINITY;
|
|
37
37
|
}
|
|
38
|
-
if (!
|
|
38
|
+
if (!Ge.test(e)) {
|
|
39
39
|
if (t.strict)
|
|
40
40
|
throw new SyntaxError("[destr] Invalid JSON");
|
|
41
41
|
return e;
|
|
@@ -44,7 +44,7 @@ function ze(e, t = {}) {
|
|
|
44
44
|
if (Fe.test(e) || Ve.test(e)) {
|
|
45
45
|
if (t.strict)
|
|
46
46
|
throw new Error("[destr] Possible prototype pollution");
|
|
47
|
-
return JSON.parse(e,
|
|
47
|
+
return JSON.parse(e, He);
|
|
48
48
|
}
|
|
49
49
|
return JSON.parse(e);
|
|
50
50
|
} catch (s) {
|
|
@@ -134,7 +134,7 @@ function dt(e, t) {
|
|
|
134
134
|
return e.startsWith(n) ? e : gt(n, e);
|
|
135
135
|
}
|
|
136
136
|
function mt(e, t) {
|
|
137
|
-
const n =
|
|
137
|
+
const n = Ae(e), s = { ...st(n.search), ...t };
|
|
138
138
|
return n.search = rt(s), yt(n);
|
|
139
139
|
}
|
|
140
140
|
function ht(e) {
|
|
@@ -153,8 +153,8 @@ function gt(e, ...t) {
|
|
|
153
153
|
n = s;
|
|
154
154
|
return n;
|
|
155
155
|
}
|
|
156
|
-
const
|
|
157
|
-
function
|
|
156
|
+
const Ce = Symbol.for("ufo:protocolRelative");
|
|
157
|
+
function Ae(e = "", t) {
|
|
158
158
|
const n = e.match(
|
|
159
159
|
/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i
|
|
160
160
|
);
|
|
@@ -171,7 +171,7 @@ function Ce(e = "", t) {
|
|
|
171
171
|
};
|
|
172
172
|
}
|
|
173
173
|
if (!xe(e, { acceptRelative: !0 }))
|
|
174
|
-
return t ?
|
|
174
|
+
return t ? Ae(t + e) : ae(e);
|
|
175
175
|
const [, s = "", o, r = ""] = e.replace(/\\/g, "/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/) || [], [, a = "", l = ""] = r.match(/([^#/?]*)(.*)?/) || [], { pathname: c, search: f, hash: i } = ae(
|
|
176
176
|
l.replace(/\/(?=[A-Za-z]:)/, "")
|
|
177
177
|
);
|
|
@@ -182,7 +182,7 @@ function Ce(e = "", t) {
|
|
|
182
182
|
pathname: c,
|
|
183
183
|
search: f,
|
|
184
184
|
hash: i,
|
|
185
|
-
[
|
|
185
|
+
[Ce]: !s
|
|
186
186
|
};
|
|
187
187
|
}
|
|
188
188
|
function ae(e = "") {
|
|
@@ -195,7 +195,7 @@ function ae(e = "") {
|
|
|
195
195
|
}
|
|
196
196
|
function yt(e) {
|
|
197
197
|
const t = e.pathname || "", n = e.search ? (e.search.startsWith("?") ? "" : "?") + e.search : "", s = e.hash || "", o = e.auth ? e.auth + "@" : "", r = e.host || "";
|
|
198
|
-
return (e.protocol || e[
|
|
198
|
+
return (e.protocol || e[Ce] ? (e.protocol || "") + "//" : "") + o + r + t + n + s;
|
|
199
199
|
}
|
|
200
200
|
class bt extends Error {
|
|
201
201
|
constructor(t, n) {
|
|
@@ -246,13 +246,13 @@ const Et = /* @__PURE__ */ new Set([
|
|
|
246
246
|
"application/xhtml",
|
|
247
247
|
"application/html"
|
|
248
248
|
]), xt = /^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;
|
|
249
|
-
function
|
|
249
|
+
function Ct(e = "") {
|
|
250
250
|
if (!e)
|
|
251
251
|
return "json";
|
|
252
252
|
const t = e.split(";").shift() || "";
|
|
253
253
|
return xt.test(t) ? "json" : Et.has(t) || t.startsWith("text/") ? "text" : "blob";
|
|
254
254
|
}
|
|
255
|
-
function
|
|
255
|
+
function At(e, t, n = globalThis.Headers) {
|
|
256
256
|
const s = {
|
|
257
257
|
...t,
|
|
258
258
|
...e
|
|
@@ -316,7 +316,7 @@ function Oe(e = {}) {
|
|
|
316
316
|
var d;
|
|
317
317
|
const i = {
|
|
318
318
|
request: c,
|
|
319
|
-
options:
|
|
319
|
+
options: At(f, e.defaults, n),
|
|
320
320
|
response: void 0,
|
|
321
321
|
error: void 0
|
|
322
322
|
};
|
|
@@ -340,7 +340,7 @@ function Oe(e = {}) {
|
|
|
340
340
|
return i.error = m, i.options.onRequestError && await i.options.onRequestError(i), await o(i);
|
|
341
341
|
}
|
|
342
342
|
if (i.response.body && !Rt.has(i.response.status) && i.options.method !== "HEAD") {
|
|
343
|
-
const m = (i.options.parseResponse ? "json" : i.options.responseType) ||
|
|
343
|
+
const m = (i.options.parseResponse ? "json" : i.options.responseType) || Ct(i.response.headers.get("content-type") || "");
|
|
344
344
|
switch (m) {
|
|
345
345
|
case "json": {
|
|
346
346
|
const y = await i.response.text(), h = i.options.parseResponse || ze;
|
|
@@ -432,11 +432,11 @@ function It(e, t) {
|
|
|
432
432
|
function U(e) {
|
|
433
433
|
return typeof e == "string";
|
|
434
434
|
}
|
|
435
|
-
function
|
|
435
|
+
function G(e) {
|
|
436
436
|
return U(e) ? e : (Array.isArray(e) ? e : Object.entries(e)).filter((t) => t[1] != null);
|
|
437
437
|
}
|
|
438
438
|
function Nt(e) {
|
|
439
|
-
return Array.isArray(e) ? e.find((t) => !Array.isArray(t) || Array.isArray(t[0])) ? e.map((t) =>
|
|
439
|
+
return Array.isArray(e) ? e.find((t) => !Array.isArray(t) || Array.isArray(t[0])) ? e.map((t) => G(t)) : [e] : [G(e)];
|
|
440
440
|
}
|
|
441
441
|
function Dt(e) {
|
|
442
442
|
return e.filter(([t, n], s) => {
|
|
@@ -451,7 +451,7 @@ function Dt(e) {
|
|
|
451
451
|
function Q(e) {
|
|
452
452
|
return e == null ? "" : Dt(e).map(([t, n]) => n != null ? `${t}:${n};` : void 0).filter(Boolean).join("");
|
|
453
453
|
}
|
|
454
|
-
function
|
|
454
|
+
function H(e) {
|
|
455
455
|
return e && typeof e == "object" && !Array.isArray(e);
|
|
456
456
|
}
|
|
457
457
|
function Re(e, t, n = !1) {
|
|
@@ -459,8 +459,8 @@ function Re(e, t, n = !1) {
|
|
|
459
459
|
if (Array.isArray(o))
|
|
460
460
|
return n && Array.isArray(o) ? [...s, ...o] : [...o];
|
|
461
461
|
const r = { ...s };
|
|
462
|
-
return
|
|
463
|
-
|
|
462
|
+
return H(s) && H(o) && Object.keys(o).forEach((a) => {
|
|
463
|
+
H(s[a]) && H(o[a]) || Array.isArray(s[a]) && Array.isArray(o[a]) ? r[a] = Re(s[a], o[a], n) : Object.assign(r, { [a]: o[a] });
|
|
464
464
|
}), r;
|
|
465
465
|
}
|
|
466
466
|
function z(e) {
|
|
@@ -499,9 +499,9 @@ function ue(e) {
|
|
|
499
499
|
function Vt(e) {
|
|
500
500
|
return e != null;
|
|
501
501
|
}
|
|
502
|
-
function
|
|
502
|
+
function Gt() {
|
|
503
503
|
}
|
|
504
|
-
var
|
|
504
|
+
var Ht = Object.defineProperty, Bt = (e, t, n) => t in e ? Ht(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, zt = (e, t, n) => (Bt(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
505
505
|
class qt {
|
|
506
506
|
constructor() {
|
|
507
507
|
zt(this, "_map", /* @__PURE__ */ new Map());
|
|
@@ -576,10 +576,10 @@ class ke extends Set {
|
|
|
576
576
|
function Y(e) {
|
|
577
577
|
return e instanceof ke;
|
|
578
578
|
}
|
|
579
|
-
const
|
|
579
|
+
const B = {};
|
|
580
580
|
function Qt(e = ["-", ":"]) {
|
|
581
581
|
const t = e.join("|");
|
|
582
|
-
return
|
|
582
|
+
return B[t] || (B[t] = new RegExp(`((?:[!@<~\\w+:_/-]|\\[&?>?:?\\S*\\])+?)(${t})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[.*?\\])+?)\\)(?!\\s*?=>)`, "gm")), B[t].lastIndex = 0, B[t];
|
|
583
583
|
}
|
|
584
584
|
function Yt(e, t = ["-", ":"], n = 5) {
|
|
585
585
|
const s = Qt(t);
|
|
@@ -595,13 +595,13 @@ function Yt(e, t = ["-", ":"], n = 5) {
|
|
|
595
595
|
o = !0, a.add(i + u);
|
|
596
596
|
const y = m + i.length + u.length + 1, h = { length: f.length, items: [] };
|
|
597
597
|
l.set(m, h);
|
|
598
|
-
for (const
|
|
599
|
-
const x = y +
|
|
598
|
+
for (const A of [...d.matchAll(/\S+/g)]) {
|
|
599
|
+
const x = y + A.index;
|
|
600
600
|
let g = (v = l.get(x)) == null ? void 0 : v.items;
|
|
601
601
|
g ? l.delete(x) : g = [{
|
|
602
602
|
offset: x,
|
|
603
|
-
length:
|
|
604
|
-
className:
|
|
603
|
+
length: A[0].length,
|
|
604
|
+
className: A[0]
|
|
605
605
|
}];
|
|
606
606
|
for (const S of g)
|
|
607
607
|
S.className = S.className === "~" ? i : S.className.replace(/^(!?)(.*)/, `$1${i}${u}$2`), h.items.push(S);
|
|
@@ -733,7 +733,7 @@ function de(e = {}, t = {}) {
|
|
|
733
733
|
const v = c("extendTheme");
|
|
734
734
|
for (const p of v)
|
|
735
735
|
h = p(h) || h;
|
|
736
|
-
const
|
|
736
|
+
const A = {
|
|
737
737
|
templates: W(r.flatMap((p) => {
|
|
738
738
|
var w;
|
|
739
739
|
return I((w = p.autocomplete) == null ? void 0 : w.templates);
|
|
@@ -766,7 +766,7 @@ function de(e = {}, t = {}) {
|
|
|
766
766
|
preprocess: c("preprocess"),
|
|
767
767
|
postprocess: c("postprocess"),
|
|
768
768
|
preflights: c("preflights"),
|
|
769
|
-
autocomplete:
|
|
769
|
+
autocomplete: A,
|
|
770
770
|
variants: c("variants").map(Ft).sort((p, w) => (p.order || 0) - (w.order || 0)),
|
|
771
771
|
shortcuts: Te(c("shortcuts")).reverse(),
|
|
772
772
|
extractors: f,
|
|
@@ -917,7 +917,7 @@ class mn {
|
|
|
917
917
|
))
|
|
918
918
|
);
|
|
919
919
|
})();
|
|
920
|
-
const
|
|
920
|
+
const A = this.config.sortLayers(Array.from(d).sort((b, p) => (this.config.layers[b] ?? 0) - (this.config.layers[p] ?? 0) || b.localeCompare(p))), x = {}, g = (b = q) => {
|
|
921
921
|
var R;
|
|
922
922
|
if (x[b])
|
|
923
923
|
return x[b];
|
|
@@ -929,18 +929,18 @@ class mn {
|
|
|
929
929
|
var _;
|
|
930
930
|
return (((_ = k[4]) == null ? void 0 : _.layer) || q) === b;
|
|
931
931
|
}).sort((k, _) => {
|
|
932
|
-
var E,
|
|
933
|
-
return k[0] - _[0] || (((E = k[4]) == null ? void 0 : E.sort) || 0) - (((
|
|
934
|
-
}).map(([, k, _, , E, ,
|
|
932
|
+
var E, C, M, $, T, V, ie;
|
|
933
|
+
return k[0] - _[0] || (((E = k[4]) == null ? void 0 : E.sort) || 0) - (((C = _[4]) == null ? void 0 : C.sort) || 0) || ((T = (M = k[5]) == null ? void 0 : M.currentSelector) == null ? void 0 : T.localeCompare((($ = _[5]) == null ? void 0 : $.currentSelector) ?? "")) || ((V = k[1]) == null ? void 0 : V.localeCompare(_[1] || "")) || ((ie = k[2]) == null ? void 0 : ie.localeCompare(_[2] || "")) || 0;
|
|
934
|
+
}).map(([, k, _, , E, , C]) => [
|
|
935
935
|
[[(k && gn(k, o)) ?? "", (E == null ? void 0 : E.sort) ?? 0]],
|
|
936
936
|
_,
|
|
937
|
-
!!(
|
|
937
|
+
!!(C ?? (E == null ? void 0 : E.noMerge))
|
|
938
938
|
]);
|
|
939
939
|
if (!j.length)
|
|
940
940
|
return;
|
|
941
|
-
const P = j.reverse().map(([k, _, E],
|
|
941
|
+
const P = j.reverse().map(([k, _, E], C) => {
|
|
942
942
|
if (!E && this.config.mergeSelectors)
|
|
943
|
-
for (let $ =
|
|
943
|
+
for (let $ = C + 1; $ < N; $++) {
|
|
944
944
|
const T = j[$];
|
|
945
945
|
if (T && !T[2] && (k && T[0] || k == null && T[0] == null) && T[1] === _)
|
|
946
946
|
return k && T[0] && T[0].push(...k), null;
|
|
@@ -962,12 +962,12 @@ class mn {
|
|
|
962
962
|
}
|
|
963
963
|
const w = l ? "" : `/* layer: ${b} */${u}`;
|
|
964
964
|
return x[b] = p ? w + p : "";
|
|
965
|
-
}, S = (b =
|
|
965
|
+
}, S = (b = A, p) => b.filter((w) => !(p != null && p.includes(w))).map((w) => g(w) || "").filter(Boolean).join(u);
|
|
966
966
|
return {
|
|
967
967
|
get css() {
|
|
968
968
|
return S();
|
|
969
969
|
},
|
|
970
|
-
layers:
|
|
970
|
+
layers: A,
|
|
971
971
|
matched: m,
|
|
972
972
|
getLayers: S,
|
|
973
973
|
getLayer: g
|
|
@@ -1044,7 +1044,7 @@ class mn {
|
|
|
1044
1044
|
return c;
|
|
1045
1045
|
}
|
|
1046
1046
|
constructCustomCSS(t, n, s) {
|
|
1047
|
-
const o =
|
|
1047
|
+
const o = G(n);
|
|
1048
1048
|
if (U(o))
|
|
1049
1049
|
return o;
|
|
1050
1050
|
const { selector: r, entries: a, parent: l } = this.applyVariants([0, s || t.rawSelector, o, void 0, t.variantHandlers]), c = `${r}{${Q(a)}}`;
|
|
@@ -1057,7 +1057,7 @@ class mn {
|
|
|
1057
1057
|
const c = this.config.rulesStaticMap[a];
|
|
1058
1058
|
if (c && c[1] && (s || !((i = c[2]) != null && i.internal))) {
|
|
1059
1059
|
this.config.details && n.rules.push(c[3]);
|
|
1060
|
-
const u = c[0], d =
|
|
1060
|
+
const u = c[0], d = G(c[1]), m = c[2];
|
|
1061
1061
|
return U(d) ? [[u, d, m]] : [[u, r, d, m, l]];
|
|
1062
1062
|
}
|
|
1063
1063
|
n.variantHandlers = l;
|
|
@@ -1082,11 +1082,11 @@ class mn {
|
|
|
1082
1082
|
const v = h.match(d);
|
|
1083
1083
|
if (!v)
|
|
1084
1084
|
continue;
|
|
1085
|
-
const
|
|
1086
|
-
if (!
|
|
1085
|
+
const A = await m(v, n);
|
|
1086
|
+
if (!A)
|
|
1087
1087
|
continue;
|
|
1088
1088
|
this.config.details && n.rules.push([d, m, y]);
|
|
1089
|
-
const x = Nt(
|
|
1089
|
+
const x = Nt(A).filter((g) => g.length);
|
|
1090
1090
|
if (x.length)
|
|
1091
1091
|
return x.map((g) => U(g) ? [u, g, y] : [u, r, g, y, l]);
|
|
1092
1092
|
}
|
|
@@ -1112,7 +1112,7 @@ class mn {
|
|
|
1112
1112
|
return;
|
|
1113
1113
|
const o = this.config.details ? (c) => {
|
|
1114
1114
|
n.shortcuts = n.shortcuts ?? [], n.shortcuts.push(c);
|
|
1115
|
-
} :
|
|
1115
|
+
} : Gt;
|
|
1116
1116
|
let r, a;
|
|
1117
1117
|
for (const c of this.config.shortcuts) {
|
|
1118
1118
|
let f = t;
|
|
@@ -1154,7 +1154,7 @@ class mn {
|
|
|
1154
1154
|
async stringifyShortcuts(t, n, s, o = { layer: this.config.shortcutsLayer }) {
|
|
1155
1155
|
var i;
|
|
1156
1156
|
const r = new Wt(), a = (await Promise.all(W(s).map(async (u) => {
|
|
1157
|
-
const d = U(u) ? await this.parseUtil(u, n, !0, o.prefix) : [[Number.POSITIVE_INFINITY, "{inline}",
|
|
1157
|
+
const d = U(u) ? await this.parseUtil(u, n, !0, o.prefix) : [[Number.POSITIVE_INFINITY, "{inline}", G(u), void 0, []]];
|
|
1158
1158
|
return !d && this.config.warn && $e(`unmatched utility "${u}" in shortcut "${t[1]}"`), d || [];
|
|
1159
1159
|
}))).flat(1).filter(Boolean).sort((u, d) => u[0] - d[0]), [l, , c] = t, f = [];
|
|
1160
1160
|
for (const u of a) {
|
|
@@ -1162,12 +1162,12 @@ class mn {
|
|
|
1162
1162
|
f.push([u[0], void 0, u[1], void 0, u[2], n, void 0]);
|
|
1163
1163
|
continue;
|
|
1164
1164
|
}
|
|
1165
|
-
const { selector: d, entries: m, parent: y, sort: h, noMerge: v, layer:
|
|
1166
|
-
r.getFallback(
|
|
1165
|
+
const { selector: d, entries: m, parent: y, sort: h, noMerge: v, layer: A } = this.applyVariants(u, [...u[4], ...c], l);
|
|
1166
|
+
r.getFallback(A ?? o.layer, new qt()).getFallback(d, y, [[], u[0]])[0].push([m, !!(v ?? ((i = u[3]) == null ? void 0 : i.noMerge)), h ?? 0]);
|
|
1167
1167
|
}
|
|
1168
1168
|
return f.concat(r.flatMap(
|
|
1169
1169
|
(u, d) => u.map(([m, y], h, v) => {
|
|
1170
|
-
const
|
|
1170
|
+
const A = (g, S, b) => {
|
|
1171
1171
|
const p = Math.max(...b.map((R) => R[1])), w = b.map((R) => R[0]);
|
|
1172
1172
|
return (g ? [w.flat(1)] : w).map((R) => {
|
|
1173
1173
|
const O = Q(R);
|
|
@@ -1179,8 +1179,8 @@ class mn {
|
|
|
1179
1179
|
[m.filter(([, g]) => g).map(([g, , S]) => [g, S]), !0],
|
|
1180
1180
|
[m.filter(([, g]) => !g).map(([g, , S]) => [g, S]), !1]
|
|
1181
1181
|
].map(([g, S]) => [
|
|
1182
|
-
...
|
|
1183
|
-
...
|
|
1182
|
+
...A(!1, S, g.filter(([b]) => b.some((p) => p[0] === le))),
|
|
1183
|
+
...A(!0, S, g.filter(([b]) => b.every((p) => p[0] !== le)))
|
|
1184
1184
|
]);
|
|
1185
1185
|
}).flat(2).filter(Boolean)
|
|
1186
1186
|
));
|
|
@@ -1206,7 +1206,7 @@ function yn(e) {
|
|
|
1206
1206
|
function bn(e, t) {
|
|
1207
1207
|
return t(e);
|
|
1208
1208
|
}
|
|
1209
|
-
var he = { npm_package_dependencies__vueuse_core: "^10.9.0", TERM_PROGRAM: "vscode", npm_package_devDependencies__types_splitpanes: "^2.2.6", FNM_LOGLEVEL: "info", NODE: "/Users/arlo/Library/Application Support/fnm/node-versions/v20.11.0/installation/bin/node", INIT_CWD: "/Users/arlo/g/devtools-next/packages/client", TURBO_INVOCATION_DIR: "/Users/arlo/g/devtools-next", npm_package_devDependencies_vite: "^5.
|
|
1209
|
+
var he = { npm_package_dependencies__vueuse_core: "^10.9.0", TERM_PROGRAM: "vscode", npm_package_devDependencies__types_splitpanes: "^2.2.6", FNM_LOGLEVEL: "info", NODE: "/Users/arlo/Library/Application Support/fnm/node-versions/v20.11.0/installation/bin/node", INIT_CWD: "/Users/arlo/g/devtools-next/packages/client", TURBO_INVOCATION_DIR: "/Users/arlo/g/devtools-next", npm_package_devDependencies_vite: "^5.2.6", SHELL: "/bin/zsh", TERM: "xterm-256color", npm_config_shamefully_hoist: "true", npm_package_devDependencies_ohash: "^1.1.3", npm_package_devDependencies_floating_vue: "5.2.2", npm_package_dependencies__vue_devtools_shared: "workspace:^", FNM_NODE_DIST_MIRROR: "https://nodejs.org/dist", npm_package_dependencies__unocss_runtime: "^0.58.6", TMPDIR: "/var/folders/6s/79hm4q7x5f982tndmbvckmn80000gn/T/", TERM_PROGRAM_VERSION: "1.85.1", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", npm_package_devDependencies_unplugin_vue_components: "^0.26.0", MallocNanoZone: "0", ORIGINAL_XDG_CURRENT_DESKTOP: "undefined", ZDOTDIR: "/Users/arlo", TERM_SESSION_ID: "w0t0p0:8971F0ED-F8C1-4D06-9525-E2751C5ADE77", npm_config_registry: "https://registry.npmjs.org/", npm_package_private: "true", PNPM_HOME: "/Users/arlo/Library/pnpm", ZSH: "/Users/arlo/.oh-my-zsh", FNM_COREPACK_ENABLED: "false", npm_package_devDependencies__vitejs_plugin_vue_jsx: "^3.1.0", USER: "arlo", npm_package_license: "MIT", LS_COLORS: "di=1;36:ln=35:so=32:pi=33:ex=31:bd=34;46:cd=34;43:su=30;41:sg=30;46:tw=30;42:ow=30;43", COMMAND_MODE: "unix2003", PNPM_SCRIPT_SRC_DIR: "/Users/arlo/g/devtools-next/packages/client", npm_config_strict_peer_dependencies: "", SSH_AUTH_SOCK: "/private/tmp/com.apple.launchd.iiMoEa4udc/Listeners", npm_package_devDependencies_dayjs: "^1.11.10", __CF_USER_TEXT_ENCODING: "0x1F5:0x19:0x34", npm_execpath: "/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.5/node_modules/pnpm/bin/pnpm.cjs", PAGER: "less", npm_package_devDependencies_unplugin_auto_import: "^0.17.5", npm_package_scripts_build_lib: "vite build --config vite.lib.config.ts", npm_config_frozen_lockfile: "", FNM_VERSION_FILE_STRATEGY: "local", LSCOLORS: "Gxfxcxdxbxegedabagacad", npm_package_dependencies_vue_virtual_scroller: "2.0.0-beta.8", npm_package_dependencies_fuse_js: "^7.0.0", FNM_ARCH: "arm64", PATH: "/Users/arlo/g/devtools-next/packages/client/node_modules/.bin:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.5/node_modules/pnpm/dist/node-gyp-bin:/Users/arlo/g/devtools-next/node_modules/.bin:/Users/arlo/g/devtools-next/packages/client/node_modules/.bin:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.5/node_modules/pnpm/dist/node-gyp-bin:/Users/arlo/g/devtools-next/node_modules/.bin:/Users/arlo/g/devtools-next/node_modules/.bin:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.5/node_modules/pnpm/dist/node-gyp-bin:/Users/arlo/g/devtools-next/node_modules/.bin:/Users/arlo/g/devtools-next/node_modules/.bin:/usr/local/lib/node_modules/pnpm/dist/node-gyp-bin:/Users/arlo/g/devtools-next/node_modules/.bin:/Users/arlo/Library/Caches/fnm_multishells/44407_1711385827024/bin:/opt/homebrew/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/arlo/Library/pnpm:/Users/arlo/Library/Caches/fnm_multishells/31472_1711379749762/bin:/opt/homebrew/bin", npm_package_dependencies__vue_devtools_ui: "workspace:*", npm_package_scripts_stub_lib: "vite build --config vite.lib.config.ts --watch", LaunchInstanceID: "9CD3969C-9E80-46DA-8F0E-F29DBC07DB6B", npm_package_dependencies_splitpanes: "^3.1.5", npm_package_author: "webfansplz", USER_ZDOTDIR: "/Users/arlo", __CFBundleIdentifier: "com.microsoft.VSCode", npm_command: "run-script", PWD: "/Users/arlo/g/devtools-next/packages/client", npm_package_exports____: "./dist/*", npm_lifecycle_event: "build:lib", npm_package_devDependencies_vue: "^3.4.21", npm_package_name: "@vue/devtools-client", LANG: "zh_CN.UTF-8", ITERM_PROFILE: "Default", npm_package_devDependencies_simple_git_hooks: "^2.11.0", npm_package_devDependencies_sass: "^1.72.0", npm_package_devDependencies__unocss_reset: "^0.58.6", npm_package_scripts_build: "tsx ./scripts/pre-build.ts && (nr build:lib & vite build)", NODE_PATH: "/Users/arlo/g/devtools-next/node_modules/.pnpm/vite@5.2.6_@types+node@20.11.30_sass@1.72.0/node_modules/vite/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/vite@5.2.6_@types+node@20.11.30_sass@1.72.0/node_modules/vite/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/vite@5.2.6_@types+node@20.11.30_sass@1.72.0/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.5/node_modules/pnpm/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.5/node_modules/pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.5/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/@antfu+ni@0.21.12/node_modules/@antfu/ni/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/@antfu+ni@0.21.12/node_modules/@antfu/ni/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/@antfu+ni@0.21.12/node_modules/@antfu/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/@antfu+ni@0.21.12/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.5/node_modules/pnpm/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.5/node_modules/pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.5/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/turbo@1.13.0/node_modules/turbo/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/turbo@1.13.0/node_modules/turbo/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/turbo@1.13.0/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.5/node_modules/pnpm/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.5/node_modules/pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.5/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/@antfu+ni@0.21.12/node_modules/@antfu/ni/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/@antfu+ni@0.21.12/node_modules/@antfu/ni/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/@antfu+ni@0.21.12/node_modules/@antfu/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/@antfu+ni@0.21.12/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/node_modules:/Users/arlo/Library/pnpm/global/5/.pnpm/@antfu+ni@0.21.12/node_modules/@antfu/ni/bin/node_modules:/Users/arlo/Library/pnpm/global/5/.pnpm/@antfu+ni@0.21.12/node_modules/@antfu/ni/node_modules:/Users/arlo/Library/pnpm/global/5/.pnpm/@antfu+ni@0.21.12/node_modules/@antfu/node_modules:/Users/arlo/Library/pnpm/global/5/.pnpm/@antfu+ni@0.21.12/node_modules:/Users/arlo/Library/pnpm/global/5/.pnpm/node_modules", npm_package_devDependencies_pinia: "^2.1.7", FNM_MULTISHELL_PATH: "/Users/arlo/Library/Caches/fnm_multishells/44407_1711385827024", TURBO_HASH: "78e0c40595afb691", VSCODE_GIT_ASKPASS_EXTRA_ARGS: "--ms-enable-electron-run-as-node", XPC_FLAGS: "0x0", npm_package_devDependencies__unocss_core: "^0.58.6", npm_package_engines_node: ">=v14.21.3", npm_config_node_gyp: "/usr/local/lib/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", npm_config_side_effects_cache: "", npm_package_dependencies_colord: "^2.9.3", npm_package_devDependencies__iconify_json: "^2.2.195", npm_package_dependencies_minimatch: "^9.0.3", npm_package_version: "7.0.21", XPC_SERVICE_NAME: "0", VSCODE_INJECTION: "1", npm_package_devDependencies_unocss: "^0.58.6", npm_package_dependencies__vue_devtools_core: "workspace:^", npm_package_type: "module", COLORFGBG: "7;0", HOME: "/Users/arlo", SHLVL: "3", VSCODE_GIT_ASKPASS_MAIN: "/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass-main.js", npm_package_dependencies_vite_hot_client: "^0.2.3", LC_TERMINAL_VERSION: "3.4.23", FNM_DIR: "/Users/arlo/Library/Application Support/fnm", npm_package_dependencies_vis_network: "^9.1.9", ITERM_SESSION_ID: "w0t0p0:8971F0ED-F8C1-4D06-9525-E2751C5ADE77", npm_package_peerDependencies_vite: "^3.1.0 || ^4.0.0-0 || ^5.0.0-0", LESS: "-R", LOGNAME: "arlo", npm_lifecycle_script: "vite build --config vite.lib.config.ts", npm_package_dependencies__vue_devtools_kit: "workspace:^", npm_package_dependencies__vueuse_integrations: "^10.9.0", VSCODE_GIT_IPC_HANDLE: "/var/folders/6s/79hm4q7x5f982tndmbvckmn80000gn/T/vscode-git-4d965c4849.sock", npm_config_user_agent: "pnpm/8.15.5 npm/? node/v20.11.0 darwin arm64", FNM_RESOLVE_ENGINES: "false", npm_package_devDependencies__types_node: "^20.11.30", GIT_ASKPASS: "/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass.sh", VSCODE_GIT_ASKPASS_NODE: "/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin)", npm_package_scripts_stub: "nr stub:lib & vite build --watch", LC_TERMINAL: "iTerm2", npm_package_files_0: "dist", npm_package_devDependencies_unplugin: "^1.10.0", npm_package_dependencies_vue_router: "^4.3.0", npm_package_dependencies_shiki: "1.2.0", SECURITYSESSIONID: "186b8", npm_package_dependencies__unocss_preset_icons: "^0.58.6", npm_node_execpath: "/Users/arlo/Library/Application Support/fnm/node-versions/v20.11.0/installation/bin/node", npm_config_shell_emulator: "true", COLORTERM: "truecolor", NODE_ENV: "production" };
|
|
1210
1210
|
const vn = Object.freeze(
|
|
1211
1211
|
{
|
|
1212
1212
|
left: 0,
|
|
@@ -1271,13 +1271,13 @@ function ge(e, t, n) {
|
|
|
1271
1271
|
}
|
|
1272
1272
|
return a(t), n.forEach(a), _e(e, r);
|
|
1273
1273
|
}
|
|
1274
|
-
function
|
|
1274
|
+
function Cn(e, t) {
|
|
1275
1275
|
if (e.icons[t])
|
|
1276
1276
|
return ge(e, t, []);
|
|
1277
1277
|
const n = xn(e, [t])[t];
|
|
1278
1278
|
return n ? ge(e, t, n) : null;
|
|
1279
1279
|
}
|
|
1280
|
-
const
|
|
1280
|
+
const An = /(-?[0-9.]*[0-9]+[0-9.]*)/g, On = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
|
|
1281
1281
|
function ye(e, t, n) {
|
|
1282
1282
|
if (t === 1)
|
|
1283
1283
|
return e;
|
|
@@ -1285,7 +1285,7 @@ function ye(e, t, n) {
|
|
|
1285
1285
|
return Math.ceil(e * t * n) / n;
|
|
1286
1286
|
if (typeof e != "string")
|
|
1287
1287
|
return e;
|
|
1288
|
-
const s = e.split(
|
|
1288
|
+
const s = e.split(An);
|
|
1289
1289
|
if (s === null || !s.length)
|
|
1290
1290
|
return e;
|
|
1291
1291
|
const o = [];
|
|
@@ -1341,9 +1341,9 @@ function Tn(e, t) {
|
|
|
1341
1341
|
};
|
|
1342
1342
|
let r = n.body;
|
|
1343
1343
|
[n, s].forEach((h) => {
|
|
1344
|
-
const v = [],
|
|
1344
|
+
const v = [], A = h.hFlip, x = h.vFlip;
|
|
1345
1345
|
let g = h.rotate;
|
|
1346
|
-
|
|
1346
|
+
A ? x ? g += 2 : (v.push(
|
|
1347
1347
|
"translate(" + (o.width + o.left).toString() + " " + (0 - o.top).toString() + ")"
|
|
1348
1348
|
), v.push("scale(-1 1)"), o.top = o.left = 0) : x && (v.push(
|
|
1349
1349
|
"translate(" + (0 - o.left).toString() + " " + (o.height + o.top).toString() + ")"
|
|
@@ -1467,7 +1467,7 @@ async function De(e, t, n, s) {
|
|
|
1467
1467
|
let o;
|
|
1468
1468
|
const { customize: r } = (s == null ? void 0 : s.customizations) ?? {};
|
|
1469
1469
|
for (const a of n)
|
|
1470
|
-
if (o =
|
|
1470
|
+
if (o = Cn(e, a), o) {
|
|
1471
1471
|
let l = { ...Ie };
|
|
1472
1472
|
typeof r == "function" && (l = r(l));
|
|
1473
1473
|
const {
|
|
@@ -1483,10 +1483,10 @@ async function De(e, t, n, s) {
|
|
|
1483
1483
|
() => ({ ...i }),
|
|
1484
1484
|
(m) => {
|
|
1485
1485
|
const y = (h, v) => {
|
|
1486
|
-
const
|
|
1486
|
+
const A = m[h];
|
|
1487
1487
|
let x;
|
|
1488
|
-
if (!re(
|
|
1489
|
-
if (
|
|
1488
|
+
if (!re(A)) {
|
|
1489
|
+
if (A)
|
|
1490
1490
|
return;
|
|
1491
1491
|
typeof d == "number" ? d && (x = `${d}em`) : x = v;
|
|
1492
1492
|
}
|
|
@@ -1714,7 +1714,7 @@ var Pn = [
|
|
|
1714
1714
|
"zondicons"
|
|
1715
1715
|
];
|
|
1716
1716
|
const Fn = /* @__PURE__ */ jn(Pn), Vn = 3;
|
|
1717
|
-
function
|
|
1717
|
+
function Gn(e) {
|
|
1718
1718
|
return (t = {}) => {
|
|
1719
1719
|
const {
|
|
1720
1720
|
scale: n = 1,
|
|
@@ -1728,7 +1728,7 @@ function Bn(e) {
|
|
|
1728
1728
|
collectionsNodeResolvePath: i,
|
|
1729
1729
|
layer: u = "icons",
|
|
1730
1730
|
unit: d
|
|
1731
|
-
} = t, m =
|
|
1731
|
+
} = t, m = Hn(), y = {
|
|
1732
1732
|
addXmlNs: !0,
|
|
1733
1733
|
scale: n,
|
|
1734
1734
|
customCollections: a,
|
|
@@ -1740,9 +1740,9 @@ function Bn(e) {
|
|
|
1740
1740
|
...c,
|
|
1741
1741
|
additionalProps: { ...l },
|
|
1742
1742
|
trimCustomSvg: !0,
|
|
1743
|
-
async iconCustomizer(v,
|
|
1743
|
+
async iconCustomizer(v, A, x) {
|
|
1744
1744
|
var g;
|
|
1745
|
-
await ((g = c.iconCustomizer) == null ? void 0 : g.call(c, v,
|
|
1745
|
+
await ((g = c.iconCustomizer) == null ? void 0 : g.call(c, v, A, x)), d && (x.width || (x.width = `${n}${d}`), x.height || (x.height = `${n}${d}`));
|
|
1746
1746
|
}
|
|
1747
1747
|
}
|
|
1748
1748
|
};
|
|
@@ -1754,14 +1754,14 @@ function Bn(e) {
|
|
|
1754
1754
|
layers: { icons: -30 },
|
|
1755
1755
|
rules: [[
|
|
1756
1756
|
/^([a-z0-9:_-]+)(?:\?(mask|bg|auto))?$/,
|
|
1757
|
-
async ([v,
|
|
1757
|
+
async ([v, A, x = s]) => {
|
|
1758
1758
|
let g = "", S = "", b;
|
|
1759
1759
|
h = h || await e(t);
|
|
1760
1760
|
const p = {};
|
|
1761
|
-
if (
|
|
1762
|
-
[g, S] =
|
|
1761
|
+
if (A.includes(":"))
|
|
1762
|
+
[g, S] = A.split(":"), b = await h(g, S, { ...y, usedProps: p });
|
|
1763
1763
|
else {
|
|
1764
|
-
const R =
|
|
1764
|
+
const R = A.split(/-/g);
|
|
1765
1765
|
for (let O = Vn; O >= 1 && (g = R.slice(0, O).join("-"), S = R.slice(O).join("-"), b = await h(g, S, { ...y, usedProps: p }), !b); O--)
|
|
1766
1766
|
;
|
|
1767
1767
|
}
|
|
@@ -1814,7 +1814,7 @@ function Pe(e, t) {
|
|
|
1814
1814
|
return l;
|
|
1815
1815
|
};
|
|
1816
1816
|
}
|
|
1817
|
-
function
|
|
1817
|
+
function Hn() {
|
|
1818
1818
|
const e = typeof process < "u" && process.stdout && !process.versions.deno, t = e && !!he.VSCODE_CWD, n = e && !!he.ESLINT;
|
|
1819
1819
|
return {
|
|
1820
1820
|
isNode: e,
|
|
@@ -1822,12 +1822,12 @@ function Gn() {
|
|
|
1822
1822
|
isESLint: n
|
|
1823
1823
|
};
|
|
1824
1824
|
}
|
|
1825
|
-
function
|
|
1825
|
+
function Bn(e) {
|
|
1826
1826
|
return Pe(Mt, e);
|
|
1827
1827
|
}
|
|
1828
|
-
const zn =
|
|
1828
|
+
const zn = Gn(async (e) => {
|
|
1829
1829
|
const t = e == null ? void 0 : e.customFetch, n = e == null ? void 0 : e.cdn;
|
|
1830
|
-
return t && n ? Pe(t, n) : n ?
|
|
1830
|
+
return t && n ? Pe(t, n) : n ? Bn(n) : je;
|
|
1831
1831
|
});
|
|
1832
1832
|
function qn(e) {
|
|
1833
1833
|
return e.replace(/-(\w)/g, (t, n) => n ? n.toUpperCase() : "");
|
|
@@ -1873,34 +1873,34 @@ function Jn(e = {}) {
|
|
|
1873
1873
|
r.autoPrefix && (a.postprocess = I(a.postprocess)).unshift(Wn(n.createElement("div").style)), (P = r.configResolved) == null || P.call(r, o, a);
|
|
1874
1874
|
const c = hn(o, a), f = (_) => r.inject ? r.inject(_) : s().prepend(_), i = () => r.rootElement ? r.rootElement() : n.body, u = /* @__PURE__ */ new Map();
|
|
1875
1875
|
let d = !0, m = /* @__PURE__ */ new Set(), y, h, v = [];
|
|
1876
|
-
const
|
|
1876
|
+
const A = () => new Promise((_) => {
|
|
1877
1877
|
v.push(_), h != null && clearTimeout(h), h = setTimeout(() => S().then(() => {
|
|
1878
1878
|
const E = v;
|
|
1879
|
-
v = [], E.forEach((
|
|
1879
|
+
v = [], E.forEach((C) => C());
|
|
1880
1880
|
}), 0);
|
|
1881
1881
|
});
|
|
1882
1882
|
function x(_) {
|
|
1883
1883
|
if (_.nodeType !== 1)
|
|
1884
1884
|
return;
|
|
1885
1885
|
const E = _;
|
|
1886
|
-
E.hasAttribute(l) && E.removeAttribute(l), E.querySelectorAll(`[${l}]`).forEach((
|
|
1887
|
-
|
|
1886
|
+
E.hasAttribute(l) && E.removeAttribute(l), E.querySelectorAll(`[${l}]`).forEach((C) => {
|
|
1887
|
+
C.removeAttribute(l);
|
|
1888
1888
|
});
|
|
1889
1889
|
}
|
|
1890
1890
|
function g(_, E) {
|
|
1891
|
-
let
|
|
1892
|
-
if (!
|
|
1893
|
-
if (
|
|
1894
|
-
f(
|
|
1891
|
+
let C = u.get(_);
|
|
1892
|
+
if (!C)
|
|
1893
|
+
if (C = n.createElement("style"), C.setAttribute("data-unocss-runtime-layer", _), u.set(_, C), E == null)
|
|
1894
|
+
f(C);
|
|
1895
1895
|
else {
|
|
1896
1896
|
const M = g(E), $ = M.parentNode;
|
|
1897
|
-
$ ? $.insertBefore(
|
|
1897
|
+
$ ? $.insertBefore(C, M.nextSibling) : f(C);
|
|
1898
1898
|
}
|
|
1899
|
-
return
|
|
1899
|
+
return C;
|
|
1900
1900
|
}
|
|
1901
1901
|
async function S() {
|
|
1902
1902
|
const _ = await c.generate(m);
|
|
1903
|
-
return _.layers.reduce((E,
|
|
1903
|
+
return _.layers.reduce((E, C) => (g(C, E).innerHTML = _.getLayer(C) ?? "", C), void 0), m = _.matched, {
|
|
1904
1904
|
..._,
|
|
1905
1905
|
getStyleElement: (E) => u.get(E),
|
|
1906
1906
|
getStyleElements: () => u
|
|
@@ -1908,7 +1908,7 @@ function Jn(e = {}) {
|
|
|
1908
1908
|
}
|
|
1909
1909
|
async function b(_) {
|
|
1910
1910
|
const E = m.size;
|
|
1911
|
-
await c.applyExtractors(_, void 0, m), E !== m.size && await
|
|
1911
|
+
await c.applyExtractors(_, void 0, m), E !== m.size && await A();
|
|
1912
1912
|
}
|
|
1913
1913
|
async function p(_ = i()) {
|
|
1914
1914
|
const E = _ && _.outerHTML;
|
|
@@ -1918,9 +1918,9 @@ function Jn(e = {}) {
|
|
|
1918
1918
|
d || _.forEach(async (E) => {
|
|
1919
1919
|
if (E.target.nodeType !== 1)
|
|
1920
1920
|
return;
|
|
1921
|
-
const
|
|
1921
|
+
const C = E.target;
|
|
1922
1922
|
for (const M of u)
|
|
1923
|
-
if (
|
|
1923
|
+
if (C === M[1])
|
|
1924
1924
|
return;
|
|
1925
1925
|
if (E.type === "childList")
|
|
1926
1926
|
E.addedNodes.forEach(async (M) => {
|
|
@@ -1930,19 +1930,19 @@ function Jn(e = {}) {
|
|
|
1930
1930
|
y && !y($) || (await b($.outerHTML), x($));
|
|
1931
1931
|
});
|
|
1932
1932
|
else {
|
|
1933
|
-
if (y && !y(
|
|
1933
|
+
if (y && !y(C))
|
|
1934
1934
|
return;
|
|
1935
1935
|
if (E.attributeName !== l) {
|
|
1936
|
-
const M = Array.from(
|
|
1936
|
+
const M = Array.from(C.attributes).map((T) => T.value ? `${T.name}="${T.value}"` : T.name).join(" "), $ = `<${C.tagName.toLowerCase()} ${M}>`;
|
|
1937
1937
|
await b($);
|
|
1938
1938
|
}
|
|
1939
|
-
|
|
1939
|
+
C.hasAttribute(l) && C.removeAttribute(l);
|
|
1940
1940
|
}
|
|
1941
1941
|
});
|
|
1942
1942
|
});
|
|
1943
1943
|
let R = !1;
|
|
1944
1944
|
function O() {
|
|
1945
|
-
var E,
|
|
1945
|
+
var E, C;
|
|
1946
1946
|
if (R)
|
|
1947
1947
|
return;
|
|
1948
1948
|
const _ = (E = r.observer) != null && E.target ? r.observer.target() : i();
|
|
@@ -1950,7 +1950,7 @@ function Jn(e = {}) {
|
|
|
1950
1950
|
childList: !0,
|
|
1951
1951
|
subtree: !0,
|
|
1952
1952
|
attributes: !0,
|
|
1953
|
-
attributeFilter: (
|
|
1953
|
+
attributeFilter: (C = r.observer) == null ? void 0 : C.attributeFilter
|
|
1954
1954
|
}), R = !0);
|
|
1955
1955
|
}
|
|
1956
1956
|
function L() {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import n from "./html-
|
|
2
|
-
import e from "./javascript-
|
|
3
|
-
import t from "./css-
|
|
4
|
-
import a from "./typescript-
|
|
5
|
-
import l from "./json-
|
|
6
|
-
import u from "./yaml-
|
|
1
|
+
import n from "./html-BZB5lEhh.js";
|
|
2
|
+
import e from "./javascript-DqVBMyXe.js";
|
|
3
|
+
import t from "./css-CAzixsid.js";
|
|
4
|
+
import a from "./typescript-AEg-ehu7.js";
|
|
5
|
+
import l from "./json-B12k4-6m.js";
|
|
6
|
+
import u from "./yaml-PGla5xPP.js";
|
|
7
7
|
const m = Object.freeze({ displayName: "Markdown", name: "markdown", patterns: [{ include: "#frontMatter" }, { include: "#block" }], repository: { ampersand: { comment: "Markdown will convert this for us. We match it so that the HTML grammar will not mark it up as invalid.", match: "&(?!([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+);)", name: "meta.other.valid-ampersand.markdown" }, block: { patterns: [{ include: "#separator" }, { include: "#heading" }, { include: "#blockquote" }, { include: "#lists" }, { include: "#fenced_code_block" }, { include: "#raw_block" }, { include: "#link-def" }, { include: "#html" }, { include: "#table" }, { include: "#paragraph" }] }, blockquote: { begin: "(^|\\G)[ ]{0,3}(>) ?", captures: { 2: { name: "punctuation.definition.quote.begin.markdown" } }, name: "markup.quote.markdown", patterns: [{ include: "#block" }], while: "(^|\\G)\\s*(>) ?" }, bold: { begin: `(?x) (?<open>(\\*\\*(?=\\w)|(?<!\\w)\\*\\*|(?<!\\w)\\b__))(?=\\S) (?=
|
|
8
8
|
(
|
|
9
9
|
<[^>]*+>
|