@vue/devtools-electron 7.1.2 → 7.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/assets/index-Bk3Utm9b.css +1 -0
- package/client/assets/{index-NGtCHpUr.js → index-YDvBrsd9.js} +13 -13
- package/client/devtools-panel.css +1 -1
- package/client/devtools-panel.js +183 -178
- package/client/index.html +2 -2
- package/client/{unocss-runtime-o7rv-_rM.js → unocss-runtime-DnMV7EO2.js} +101 -101
- package/dist/devtools.js +16 -16
- package/package.json +3 -3
- package/client/assets/index-BFXmWfZp.css +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
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;
|
|
@@ -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) {
|
|
@@ -53,12 +53,12 @@ function ze(e, t = {}) {
|
|
|
53
53
|
return e;
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
|
-
const qe = /#/g, We = /&/g, Ke = /\//g, Je = /=/g, se = /\+/g, Xe = /%5e/gi,
|
|
56
|
+
const qe = /#/g, We = /&/g, Ke = /\//g, Je = /=/g, se = /\+/g, Xe = /%5e/gi, Qe = /%60/gi, Ye = /%7c/gi, Ze = /%20/gi;
|
|
57
57
|
function et(e) {
|
|
58
|
-
return encodeURI("" + e).replace(
|
|
58
|
+
return encodeURI("" + e).replace(Ye, "|");
|
|
59
59
|
}
|
|
60
60
|
function ee(e) {
|
|
61
|
-
return et(typeof e == "string" ? e : JSON.stringify(e)).replace(se, "%2B").replace(Ze, "+").replace(qe, "%23").replace(We, "%26").replace(
|
|
61
|
+
return et(typeof e == "string" ? e : JSON.stringify(e)).replace(se, "%2B").replace(Ze, "+").replace(qe, "%23").replace(We, "%26").replace(Qe, "`").replace(Xe, "^").replace(Ke, "%2F");
|
|
62
62
|
}
|
|
63
63
|
function J(e) {
|
|
64
64
|
return ee(e).replace(Je, "%3D");
|
|
@@ -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 = Ce(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 Ae = Symbol.for("ufo:protocolRelative");
|
|
157
|
+
function Ce(e = "", t) {
|
|
158
158
|
const n = e.match(
|
|
159
159
|
/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i
|
|
160
160
|
);
|
|
@@ -171,7 +171,7 @@ function Ae(e = "", t) {
|
|
|
171
171
|
};
|
|
172
172
|
}
|
|
173
173
|
if (!xe(e, { acceptRelative: !0 }))
|
|
174
|
-
return t ?
|
|
174
|
+
return t ? Ce(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 Ae(e = "", t) {
|
|
|
182
182
|
pathname: c,
|
|
183
183
|
search: f,
|
|
184
184
|
hash: i,
|
|
185
|
-
[
|
|
185
|
+
[Ae]: !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[Ae] ? (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 At(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 Ct(e, t, n = globalThis.Headers) {
|
|
256
256
|
const s = {
|
|
257
257
|
...t,
|
|
258
258
|
...e
|
|
@@ -315,7 +315,7 @@ function Oe(e = {}) {
|
|
|
315
315
|
var _;
|
|
316
316
|
const i = {
|
|
317
317
|
request: c,
|
|
318
|
-
options:
|
|
318
|
+
options: Ct(f, e.defaults, n),
|
|
319
319
|
response: void 0,
|
|
320
320
|
error: void 0
|
|
321
321
|
};
|
|
@@ -346,7 +346,7 @@ function Oe(e = {}) {
|
|
|
346
346
|
u && clearTimeout(u);
|
|
347
347
|
}
|
|
348
348
|
if (i.response.body && !Rt.has(i.response.status) && i.options.method !== "HEAD") {
|
|
349
|
-
const h = (i.options.parseResponse ? "json" : i.options.responseType) ||
|
|
349
|
+
const h = (i.options.parseResponse ? "json" : i.options.responseType) || At(i.response.headers.get("content-type") || "");
|
|
350
350
|
switch (h) {
|
|
351
351
|
case "json": {
|
|
352
352
|
const m = await i.response.text(), b = i.options.parseResponse || ze;
|
|
@@ -438,11 +438,11 @@ function It(e, t) {
|
|
|
438
438
|
function U(e) {
|
|
439
439
|
return typeof e == "string";
|
|
440
440
|
}
|
|
441
|
-
function
|
|
441
|
+
function G(e) {
|
|
442
442
|
return U(e) ? e : (Array.isArray(e) ? e : Object.entries(e)).filter((t) => t[1] != null);
|
|
443
443
|
}
|
|
444
444
|
function Nt(e) {
|
|
445
|
-
return Array.isArray(e) ? e.find((t) => !Array.isArray(t) || Array.isArray(t[0])) ? e.map((t) =>
|
|
445
|
+
return Array.isArray(e) ? e.find((t) => !Array.isArray(t) || Array.isArray(t[0])) ? e.map((t) => G(t)) : [e] : [G(e)];
|
|
446
446
|
}
|
|
447
447
|
function Dt(e) {
|
|
448
448
|
return e.filter(([t, n], s) => {
|
|
@@ -454,10 +454,10 @@ function Dt(e) {
|
|
|
454
454
|
return !0;
|
|
455
455
|
});
|
|
456
456
|
}
|
|
457
|
-
function
|
|
457
|
+
function Q(e) {
|
|
458
458
|
return e == null ? "" : Dt(e).map(([t, n]) => n != null ? `${t}:${n};` : void 0).filter(Boolean).join("");
|
|
459
459
|
}
|
|
460
|
-
function
|
|
460
|
+
function H(e) {
|
|
461
461
|
return e && typeof e == "object" && !Array.isArray(e);
|
|
462
462
|
}
|
|
463
463
|
function Re(e, t, n = !1) {
|
|
@@ -465,8 +465,8 @@ function Re(e, t, n = !1) {
|
|
|
465
465
|
if (Array.isArray(o))
|
|
466
466
|
return n && Array.isArray(o) ? [...s, ...o] : [...o];
|
|
467
467
|
const r = { ...s };
|
|
468
|
-
return
|
|
469
|
-
|
|
468
|
+
return H(s) && H(o) && Object.keys(o).forEach((a) => {
|
|
469
|
+
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] });
|
|
470
470
|
}), r;
|
|
471
471
|
}
|
|
472
472
|
function z(e) {
|
|
@@ -505,9 +505,9 @@ function ue(e) {
|
|
|
505
505
|
function Vt(e) {
|
|
506
506
|
return e != null;
|
|
507
507
|
}
|
|
508
|
-
function
|
|
508
|
+
function Gt() {
|
|
509
509
|
}
|
|
510
|
-
var
|
|
510
|
+
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);
|
|
511
511
|
class qt {
|
|
512
512
|
constructor() {
|
|
513
513
|
zt(this, "_map", /* @__PURE__ */ new Map());
|
|
@@ -579,16 +579,16 @@ class ke extends Set {
|
|
|
579
579
|
return this._map.set(t, n), super.add(t);
|
|
580
580
|
}
|
|
581
581
|
}
|
|
582
|
-
function
|
|
582
|
+
function Y(e) {
|
|
583
583
|
return e instanceof ke;
|
|
584
584
|
}
|
|
585
585
|
const B = {};
|
|
586
|
-
function
|
|
586
|
+
function Qt(e = ["-", ":"]) {
|
|
587
587
|
const t = e.join("|");
|
|
588
588
|
return B[t] || (B[t] = new RegExp(`((?:[!@<~\\w+:_/-]|\\[&?>?:?\\S*\\])+?)(${t})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[.*?\\])+?)\\)(?!\\s*?=>)`, "gm")), B[t].lastIndex = 0, B[t];
|
|
589
589
|
}
|
|
590
|
-
function
|
|
591
|
-
const s =
|
|
590
|
+
function Yt(e, t = ["-", ":"], n = 5) {
|
|
591
|
+
const s = Qt(t);
|
|
592
592
|
let o, r = e.toString();
|
|
593
593
|
const a = /* @__PURE__ */ new Set(), l = /* @__PURE__ */ new Map();
|
|
594
594
|
do
|
|
@@ -601,13 +601,13 @@ function Qt(e, t = ["-", ":"], n = 5) {
|
|
|
601
601
|
o = !0, a.add(i + u);
|
|
602
602
|
const h = _ + i.length + u.length + 1, m = { length: f.length, items: [] };
|
|
603
603
|
l.set(_, m);
|
|
604
|
-
for (const
|
|
605
|
-
const x = h +
|
|
604
|
+
for (const C of [...d.matchAll(/\S+/g)]) {
|
|
605
|
+
const x = h + C.index;
|
|
606
606
|
let y = (b = l.get(x)) == null ? void 0 : b.items;
|
|
607
607
|
y ? l.delete(x) : y = [{
|
|
608
608
|
offset: x,
|
|
609
|
-
length:
|
|
610
|
-
className:
|
|
609
|
+
length: C[0].length,
|
|
610
|
+
className: C[0]
|
|
611
611
|
}];
|
|
612
612
|
for (const S of y)
|
|
613
613
|
S.className = S.className === "~" ? i : S.className.replace(/^(!?)(.*)/, `$1${i}${u}$2`), m.items.push(S);
|
|
@@ -643,7 +643,7 @@ function Qt(e, t = ["-", ":"], n = 5) {
|
|
|
643
643
|
};
|
|
644
644
|
}
|
|
645
645
|
function Zt(e, t = ["-", ":"], n = 5) {
|
|
646
|
-
const s =
|
|
646
|
+
const s = Yt(e, t, n);
|
|
647
647
|
return typeof e == "string" ? s.expanded : e;
|
|
648
648
|
}
|
|
649
649
|
const fe = /* @__PURE__ */ new Set();
|
|
@@ -739,7 +739,7 @@ function de(e = {}, t = {}) {
|
|
|
739
739
|
const b = c("extendTheme");
|
|
740
740
|
for (const p of b)
|
|
741
741
|
m = p(m) || m;
|
|
742
|
-
const
|
|
742
|
+
const C = {
|
|
743
743
|
templates: W(r.flatMap((p) => {
|
|
744
744
|
var w;
|
|
745
745
|
return I((w = p.autocomplete) == null ? void 0 : w.templates);
|
|
@@ -772,7 +772,7 @@ function de(e = {}, t = {}) {
|
|
|
772
772
|
preprocess: c("preprocess"),
|
|
773
773
|
postprocess: c("postprocess"),
|
|
774
774
|
preflights: c("preflights"),
|
|
775
|
-
autocomplete:
|
|
775
|
+
autocomplete: C,
|
|
776
776
|
variants: c("variants").map(Ft).sort((p, w) => (p.order || 0) - (w.order || 0)),
|
|
777
777
|
shortcuts: $e(c("shortcuts")).reverse(),
|
|
778
778
|
extractors: f,
|
|
@@ -821,7 +821,7 @@ class mn {
|
|
|
821
821
|
for (const a of this.config.extractors) {
|
|
822
822
|
const l = await ((r = a.extract) == null ? void 0 : r.call(a, o));
|
|
823
823
|
if (l)
|
|
824
|
-
if (
|
|
824
|
+
if (Y(l) && Y(s))
|
|
825
825
|
for (const c of l)
|
|
826
826
|
s.setCount(c, s.getCount(c) + l.getCount(c));
|
|
827
827
|
else
|
|
@@ -901,7 +901,7 @@ class mn {
|
|
|
901
901
|
if (p != null) {
|
|
902
902
|
_ instanceof Map ? _.set(v, {
|
|
903
903
|
data: p,
|
|
904
|
-
count:
|
|
904
|
+
count: Y(i) ? i.getCount(v) : -1
|
|
905
905
|
}) : _.add(v);
|
|
906
906
|
for (const R of p) {
|
|
907
907
|
const O = R[3] || "", L = (w = R[4]) == null ? void 0 : w.layer;
|
|
@@ -929,7 +929,7 @@ class mn {
|
|
|
929
929
|
))
|
|
930
930
|
);
|
|
931
931
|
})();
|
|
932
|
-
const
|
|
932
|
+
const C = this.config.sortLayers(Array.from(d).sort((v, p) => (this.config.layers[v] ?? 0) - (this.config.layers[p] ?? 0) || v.localeCompare(p))), x = {}, y = (v = q) => {
|
|
933
933
|
var R;
|
|
934
934
|
if (x[v])
|
|
935
935
|
return x[v];
|
|
@@ -941,18 +941,18 @@ class mn {
|
|
|
941
941
|
var g;
|
|
942
942
|
return (((g = k[4]) == null ? void 0 : g.layer) || q) === v;
|
|
943
943
|
}).sort((k, g) => {
|
|
944
|
-
var E,
|
|
945
|
-
return k[0] - g[0] || (((E = k[4]) == null ? void 0 : E.sort) || 0) - (((
|
|
946
|
-
}).map(([, k, g, , E, ,
|
|
944
|
+
var E, A, M, T, $, V, ie;
|
|
945
|
+
return k[0] - g[0] || (((E = k[4]) == null ? void 0 : E.sort) || 0) - (((A = g[4]) == null ? void 0 : A.sort) || 0) || (($ = (M = k[5]) == null ? void 0 : M.currentSelector) == null ? void 0 : $.localeCompare(((T = g[5]) == null ? void 0 : T.currentSelector) ?? "")) || ((V = k[1]) == null ? void 0 : V.localeCompare(g[1] || "")) || ((ie = k[2]) == null ? void 0 : ie.localeCompare(g[2] || "")) || 0;
|
|
946
|
+
}).map(([, k, g, , E, , A]) => [
|
|
947
947
|
[[(k && gn(k, o)) ?? "", (E == null ? void 0 : E.sort) ?? 0]],
|
|
948
948
|
g,
|
|
949
|
-
!!(
|
|
949
|
+
!!(A ?? (E == null ? void 0 : E.noMerge))
|
|
950
950
|
]);
|
|
951
951
|
if (!j.length)
|
|
952
952
|
return;
|
|
953
|
-
const P = j.reverse().map(([k, g, E],
|
|
953
|
+
const P = j.reverse().map(([k, g, E], A) => {
|
|
954
954
|
if (!E && this.config.mergeSelectors)
|
|
955
|
-
for (let T =
|
|
955
|
+
for (let T = A + 1; T < N; T++) {
|
|
956
956
|
const $ = j[T];
|
|
957
957
|
if ($ && !$[2] && (k && $[0] || k == null && $[0] == null) && $[1] === g)
|
|
958
958
|
return k && $[0] && $[0].push(...k), null;
|
|
@@ -974,12 +974,12 @@ class mn {
|
|
|
974
974
|
}
|
|
975
975
|
const w = l ? "" : `/* layer: ${v} */${u}`;
|
|
976
976
|
return x[v] = p ? w + p : "";
|
|
977
|
-
}, S = (v =
|
|
977
|
+
}, S = (v = C, p) => v.filter((w) => !(p != null && p.includes(w))).map((w) => y(w) || "").filter(Boolean).join(u);
|
|
978
978
|
return {
|
|
979
979
|
get css() {
|
|
980
980
|
return S();
|
|
981
981
|
},
|
|
982
|
-
layers:
|
|
982
|
+
layers: C,
|
|
983
983
|
matched: _,
|
|
984
984
|
getLayers: S,
|
|
985
985
|
getLayer: y
|
|
@@ -1056,10 +1056,10 @@ class mn {
|
|
|
1056
1056
|
return c;
|
|
1057
1057
|
}
|
|
1058
1058
|
constructCustomCSS(t, n, s) {
|
|
1059
|
-
const o =
|
|
1059
|
+
const o = G(n);
|
|
1060
1060
|
if (U(o))
|
|
1061
1061
|
return o;
|
|
1062
|
-
const { selector: r, entries: a, parent: l } = this.applyVariants([0, s || t.rawSelector, o, void 0, t.variantHandlers]), c = `${r}{${
|
|
1062
|
+
const { selector: r, entries: a, parent: l } = this.applyVariants([0, s || t.rawSelector, o, void 0, t.variantHandlers]), c = `${r}{${Q(a)}}`;
|
|
1063
1063
|
return l ? `${l}{${c}}` : c;
|
|
1064
1064
|
}
|
|
1065
1065
|
async parseUtil(t, n, s = !1, o) {
|
|
@@ -1069,7 +1069,7 @@ class mn {
|
|
|
1069
1069
|
const c = this.config.rulesStaticMap[a];
|
|
1070
1070
|
if (c && c[1] && (s || !((i = c[2]) != null && i.internal))) {
|
|
1071
1071
|
this.config.details && n.rules.push(c[3]);
|
|
1072
|
-
const u = c[0], d =
|
|
1072
|
+
const u = c[0], d = G(c[1]), _ = c[2];
|
|
1073
1073
|
return U(d) ? [[u, d, _]] : [[u, r, d, _, l]];
|
|
1074
1074
|
}
|
|
1075
1075
|
n.variantHandlers = l;
|
|
@@ -1094,11 +1094,11 @@ class mn {
|
|
|
1094
1094
|
const b = m.match(d);
|
|
1095
1095
|
if (!b)
|
|
1096
1096
|
continue;
|
|
1097
|
-
const
|
|
1098
|
-
if (!
|
|
1097
|
+
const C = await _(b, n);
|
|
1098
|
+
if (!C)
|
|
1099
1099
|
continue;
|
|
1100
1100
|
this.config.details && n.rules.push([d, _, h]);
|
|
1101
|
-
const x = Nt(
|
|
1101
|
+
const x = Nt(C).filter((y) => y.length);
|
|
1102
1102
|
if (x.length)
|
|
1103
1103
|
return x.map((y) => U(y) ? [u, y, h] : [u, r, y, h, l]);
|
|
1104
1104
|
}
|
|
@@ -1108,7 +1108,7 @@ class mn {
|
|
|
1108
1108
|
return;
|
|
1109
1109
|
if (ue(t))
|
|
1110
1110
|
return [t[0], void 0, t[1], void 0, t[2], this.config.details ? n : void 0, void 0];
|
|
1111
|
-
const { selector: s, entries: o, parent: r, layer: a, sort: l, noMerge: c } = this.applyVariants(t), f =
|
|
1111
|
+
const { selector: s, entries: o, parent: r, layer: a, sort: l, noMerge: c } = this.applyVariants(t), f = Q(o);
|
|
1112
1112
|
if (!f)
|
|
1113
1113
|
return;
|
|
1114
1114
|
const { layer: i, sort: u, ...d } = t[3] ?? {}, _ = {
|
|
@@ -1124,7 +1124,7 @@ class mn {
|
|
|
1124
1124
|
return;
|
|
1125
1125
|
const o = this.config.details ? (c) => {
|
|
1126
1126
|
n.shortcuts = n.shortcuts ?? [], n.shortcuts.push(c);
|
|
1127
|
-
} :
|
|
1127
|
+
} : Gt;
|
|
1128
1128
|
let r, a;
|
|
1129
1129
|
for (const c of this.config.shortcuts) {
|
|
1130
1130
|
let f = t;
|
|
@@ -1166,7 +1166,7 @@ class mn {
|
|
|
1166
1166
|
async stringifyShortcuts(t, n, s, o = { layer: this.config.shortcutsLayer }) {
|
|
1167
1167
|
var i;
|
|
1168
1168
|
const r = new Wt(), a = (await Promise.all(W(s).map(async (u) => {
|
|
1169
|
-
const d = U(u) ? await this.parseUtil(u, n, !0, o.prefix) : [[Number.POSITIVE_INFINITY, "{inline}",
|
|
1169
|
+
const d = U(u) ? await this.parseUtil(u, n, !0, o.prefix) : [[Number.POSITIVE_INFINITY, "{inline}", G(u), void 0, []]];
|
|
1170
1170
|
return !d && this.config.warn && Te(`unmatched utility "${u}" in shortcut "${t[1]}"`), d || [];
|
|
1171
1171
|
}))).flat(1).filter(Boolean).sort((u, d) => u[0] - d[0]), [l, , c] = t, f = [];
|
|
1172
1172
|
for (const u of a) {
|
|
@@ -1174,15 +1174,15 @@ class mn {
|
|
|
1174
1174
|
f.push([u[0], void 0, u[1], void 0, u[2], n, void 0]);
|
|
1175
1175
|
continue;
|
|
1176
1176
|
}
|
|
1177
|
-
const { selector: d, entries: _, parent: h, sort: m, noMerge: b, layer:
|
|
1178
|
-
r.getFallback(
|
|
1177
|
+
const { selector: d, entries: _, parent: h, sort: m, noMerge: b, layer: C } = this.applyVariants(u, [...u[4], ...c], l);
|
|
1178
|
+
r.getFallback(C ?? o.layer, new qt()).getFallback(d, h, [[], u[0]])[0].push([_, !!(b ?? ((i = u[3]) == null ? void 0 : i.noMerge)), m ?? 0]);
|
|
1179
1179
|
}
|
|
1180
1180
|
return f.concat(r.flatMap(
|
|
1181
1181
|
(u, d) => u.map(([_, h], m, b) => {
|
|
1182
|
-
const
|
|
1182
|
+
const C = (y, S, v) => {
|
|
1183
1183
|
const p = Math.max(...v.map((R) => R[1])), w = v.map((R) => R[0]);
|
|
1184
1184
|
return (y ? [w.flat(1)] : w).map((R) => {
|
|
1185
|
-
const O =
|
|
1185
|
+
const O = Q(R);
|
|
1186
1186
|
if (O)
|
|
1187
1187
|
return [h, m, O, b, { ...o, noMerge: S, sort: p, layer: d }, n, void 0];
|
|
1188
1188
|
});
|
|
@@ -1191,8 +1191,8 @@ class mn {
|
|
|
1191
1191
|
[_.filter(([, y]) => y).map(([y, , S]) => [y, S]), !0],
|
|
1192
1192
|
[_.filter(([, y]) => !y).map(([y, , S]) => [y, S]), !1]
|
|
1193
1193
|
].map(([y, S]) => [
|
|
1194
|
-
...
|
|
1195
|
-
...
|
|
1194
|
+
...C(!1, S, y.filter(([v]) => v.some((p) => p[0] === le))),
|
|
1195
|
+
...C(!0, S, y.filter(([v]) => v.every((p) => p[0] !== le)))
|
|
1196
1196
|
]);
|
|
1197
1197
|
}).flat(2).filter(Boolean)
|
|
1198
1198
|
));
|
|
@@ -1218,7 +1218,7 @@ function yn(e) {
|
|
|
1218
1218
|
function bn(e, t) {
|
|
1219
1219
|
return t(e);
|
|
1220
1220
|
}
|
|
1221
|
-
var he = { npm_package_dependencies__vueuse_core: "^10.9.0", COREPACK_ROOT: "/Users/arlo/Library/Application Support/fnm/node-versions/v20.12.2/installation/lib/node_modules/corepack", TERM_PROGRAM: "vscode", npm_package_devDependencies__types_splitpanes: "^2.2.6", FNM_LOGLEVEL: "info", NODE: "/Users/arlo/Library/Application Support/fnm/node-versions/v20.12.2/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.10", 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.59.4", TMPDIR: "/var/folders/6s/79hm4q7x5f982tndmbvckmn80000gn/T/", TERM_PROGRAM_VERSION: "1.88.0", 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:234A6DC0-F4C5-4C50-AEE4-FB3A44C50A9C", 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.2bYcbedzEH/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@9.0.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@9.0.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@9.0.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@9.0.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/.cache/node/corepack/v1/pnpm/9.0.5/dist/node-gyp-bin:/Users/arlo/g/devtools-next/node_modules/.bin:/Users/arlo/Library/Caches/fnm_multishells/58793_1713883409402/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/34428_1713758129440/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: "DA9FCCD3-7DFB-43C5-9302-9E7BC0DC0C15", npm_package_dependencies_splitpanes: "^3.1.5", npm_package_author: "webfansplz", COREPACK_ENABLE_DOWNLOAD_PROMPT: "1", 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.23", npm_package_name: "@vue/devtools-client", LANG: "zh_CN.UTF-8", ITERM_PROFILE: "Default", npm_package_devDependencies_simple_git_hooks: "^2.11.1", npm_package_devDependencies_sass: "^1.75.0", npm_package_devDependencies__unocss_reset: "^0.59.4", 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.10_@types+node@20.12.7_sass@1.75.0_terser@5.26.0/node_modules/vite/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/vite@5.2.10_@types+node@20.12.7_sass@1.75.0_terser@5.26.0/node_modules/vite/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/vite@5.2.10_@types+node@20.12.7_sass@1.75.0_terser@5.26.0/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@9.0.5/node_modules/pnpm/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@9.0.5/node_modules/pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@9.0.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@9.0.5/node_modules/pnpm/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@9.0.5/node_modules/pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@9.0.5/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/turbo@1.13.2/node_modules/turbo/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/turbo@1.13.2/node_modules/turbo/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/turbo@1.13.2/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@9.0.5/node_modules/pnpm/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@9.0.5/node_modules/pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@9.0.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/58793_1713883409402", TURBO_HASH: "302655beb7363e53", VSCODE_GIT_ASKPASS_EXTRA_ARGS: "", XPC_FLAGS: "0x0", npm_package_devDependencies__unocss_core: "^0.59.4", npm_package_engines_node: ">=v14.21.3", npm_config_node_gyp: "/Users/arlo/.cache/node/corepack/v1/pnpm/9.0.5/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.203", npm_package_dependencies_minimatch: "^9.0.4", npm_package_version: "7.1.2", XPC_SERVICE_NAME: "0", npm_package_dependencies__vue_devtools_applet: "workspace:^", VSCODE_INJECTION: "1", npm_package_devDependencies_unocss: "^0.59.4", 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:234A6DC0-F4C5-4C50-AEE4-FB3A44C50A9C", 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-dffc443db3.sock", npm_config_user_agent: "pnpm/9.0.5 npm/? node/v20.12.2 darwin arm64", FNM_RESOLVE_ENGINES: "false", npm_package_devDependencies__types_node: "^20.12.7", 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.1", npm_package_dependencies_vue_router: "^4.3.2", npm_package_dependencies_shiki: "1.3.0", SECURITYSESSIONID: "186a4", npm_package_dependencies__unocss_preset_icons: "^0.59.4", npm_node_execpath: "/Users/arlo/Library/Application Support/fnm/node-versions/v20.12.2/installation/bin/node", npm_config_shell_emulator: "true", COLORTERM: "truecolor", NODE_ENV: "production" };
|
|
1221
|
+
var he = { npm_package_dependencies__vueuse_core: "^10.9.0", COREPACK_ROOT: "/Users/arlo/Library/Application Support/fnm/node-versions/v20.12.2/installation/lib/node_modules/corepack", TERM_PROGRAM: "vscode", npm_package_devDependencies__types_splitpanes: "^2.2.6", FNM_LOGLEVEL: "info", NODE: "/Users/arlo/Library/Application Support/fnm/node-versions/v20.12.2/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.10", 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.59.4", TMPDIR: "/var/folders/6s/79hm4q7x5f982tndmbvckmn80000gn/T/", TERM_PROGRAM_VERSION: "1.88.0", 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:42A1DD38-0894-435F-8A99-368B69BD8EAA", 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.hIbk1CMcRx/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@9.0.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@9.0.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@9.0.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@9.0.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/.cache/node/corepack/v1/pnpm/9.0.5/dist/node-gyp-bin:/Users/arlo/g/devtools-next/node_modules/.bin:/Users/arlo/Library/Caches/fnm_multishells/7723_1714136767405/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/1193_1714109727664/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: "5ABC45EB-59AF-406A-98E9-CCE655CDC232", npm_package_dependencies_splitpanes: "^3.1.5", npm_package_author: "webfansplz", COREPACK_ENABLE_DOWNLOAD_PROMPT: "1", 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.23", npm_package_name: "@vue/devtools-client", LANG: "zh_CN.UTF-8", ITERM_PROFILE: "Default", npm_package_devDependencies_simple_git_hooks: "^2.11.1", npm_package_devDependencies_sass: "^1.75.0", npm_package_devDependencies__unocss_reset: "^0.59.4", 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.10_@types+node@20.12.7_sass@1.75.0_terser@5.26.0/node_modules/vite/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/vite@5.2.10_@types+node@20.12.7_sass@1.75.0_terser@5.26.0/node_modules/vite/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/vite@5.2.10_@types+node@20.12.7_sass@1.75.0_terser@5.26.0/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@9.0.5/node_modules/pnpm/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@9.0.5/node_modules/pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@9.0.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@9.0.5/node_modules/pnpm/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@9.0.5/node_modules/pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@9.0.5/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/turbo@1.13.2/node_modules/turbo/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/turbo@1.13.2/node_modules/turbo/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/turbo@1.13.2/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@9.0.5/node_modules/pnpm/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@9.0.5/node_modules/pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@9.0.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/7723_1714136767405", TURBO_HASH: "8231f778df7e5812", VSCODE_GIT_ASKPASS_EXTRA_ARGS: "", XPC_FLAGS: "0x0", npm_package_devDependencies__unocss_core: "^0.59.4", npm_package_engines_node: ">=v14.21.3", npm_config_node_gyp: "/Users/arlo/.cache/node/corepack/v1/pnpm/9.0.5/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.203", npm_package_dependencies_minimatch: "^9.0.4", npm_package_version: "7.1.3", XPC_SERVICE_NAME: "0", npm_package_dependencies__vue_devtools_applet: "workspace:^", VSCODE_INJECTION: "1", npm_package_devDependencies_unocss: "^0.59.4", 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:42A1DD38-0894-435F-8A99-368B69BD8EAA", 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-dffc443db3.sock", npm_config_user_agent: "pnpm/9.0.5 npm/? node/v20.12.2 darwin arm64", FNM_RESOLVE_ENGINES: "false", npm_package_devDependencies__types_node: "^20.12.7", 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.1", npm_package_dependencies_vue_router: "^4.3.2", npm_package_dependencies_shiki: "1.3.0", SECURITYSESSIONID: "186a3", npm_package_dependencies__unocss_preset_icons: "^0.59.4", npm_node_execpath: "/Users/arlo/Library/Application Support/fnm/node-versions/v20.12.2/installation/bin/node", npm_config_shell_emulator: "true", COLORTERM: "truecolor", NODE_ENV: "production" };
|
|
1222
1222
|
const vn = Object.freeze(
|
|
1223
1223
|
{
|
|
1224
1224
|
left: 0,
|
|
@@ -1283,13 +1283,13 @@ function ge(e, t, n) {
|
|
|
1283
1283
|
}
|
|
1284
1284
|
return a(t), n.forEach(a), _e(e, r);
|
|
1285
1285
|
}
|
|
1286
|
-
function
|
|
1286
|
+
function An(e, t) {
|
|
1287
1287
|
if (e.icons[t])
|
|
1288
1288
|
return ge(e, t, []);
|
|
1289
1289
|
const n = xn(e, [t])[t];
|
|
1290
1290
|
return n ? ge(e, t, n) : null;
|
|
1291
1291
|
}
|
|
1292
|
-
const
|
|
1292
|
+
const Cn = /(-?[0-9.]*[0-9]+[0-9.]*)/g, On = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
|
|
1293
1293
|
function ye(e, t, n) {
|
|
1294
1294
|
if (t === 1)
|
|
1295
1295
|
return e;
|
|
@@ -1297,7 +1297,7 @@ function ye(e, t, n) {
|
|
|
1297
1297
|
return Math.ceil(e * t * n) / n;
|
|
1298
1298
|
if (typeof e != "string")
|
|
1299
1299
|
return e;
|
|
1300
|
-
const s = e.split(
|
|
1300
|
+
const s = e.split(Cn);
|
|
1301
1301
|
if (s === null || !s.length)
|
|
1302
1302
|
return e;
|
|
1303
1303
|
const o = [];
|
|
@@ -1353,9 +1353,9 @@ function $n(e, t) {
|
|
|
1353
1353
|
};
|
|
1354
1354
|
let r = n.body;
|
|
1355
1355
|
[n, s].forEach((m) => {
|
|
1356
|
-
const b = [],
|
|
1356
|
+
const b = [], C = m.hFlip, x = m.vFlip;
|
|
1357
1357
|
let y = m.rotate;
|
|
1358
|
-
|
|
1358
|
+
C ? x ? y += 2 : (b.push(
|
|
1359
1359
|
"translate(" + (o.width + o.left).toString() + " " + (0 - o.top).toString() + ")"
|
|
1360
1360
|
), b.push("scale(-1 1)"), o.top = o.left = 0) : x && (b.push(
|
|
1361
1361
|
"translate(" + (0 - o.left).toString() + " " + (o.height + o.top).toString() + ")"
|
|
@@ -1479,7 +1479,7 @@ async function De(e, t, n, s) {
|
|
|
1479
1479
|
let o;
|
|
1480
1480
|
const { customize: r } = (s == null ? void 0 : s.customizations) ?? {};
|
|
1481
1481
|
for (const a of n)
|
|
1482
|
-
if (o =
|
|
1482
|
+
if (o = An(e, a), o) {
|
|
1483
1483
|
let l = { ...Ie };
|
|
1484
1484
|
typeof r == "function" && (l = r(l));
|
|
1485
1485
|
const {
|
|
@@ -1495,10 +1495,10 @@ async function De(e, t, n, s) {
|
|
|
1495
1495
|
() => ({ ...i }),
|
|
1496
1496
|
(_) => {
|
|
1497
1497
|
const h = (m, b) => {
|
|
1498
|
-
const
|
|
1498
|
+
const C = _[m];
|
|
1499
1499
|
let x;
|
|
1500
|
-
if (!re(
|
|
1501
|
-
if (
|
|
1500
|
+
if (!re(C)) {
|
|
1501
|
+
if (C)
|
|
1502
1502
|
return;
|
|
1503
1503
|
typeof d == "number" ? d && (x = `${d}em`) : x = b;
|
|
1504
1504
|
}
|
|
@@ -1730,7 +1730,7 @@ var Pn = [
|
|
|
1730
1730
|
"zondicons"
|
|
1731
1731
|
];
|
|
1732
1732
|
const Fn = /* @__PURE__ */ jn(Pn), Vn = 3;
|
|
1733
|
-
function
|
|
1733
|
+
function Gn(e) {
|
|
1734
1734
|
return (t = {}) => {
|
|
1735
1735
|
const {
|
|
1736
1736
|
scale: n = 1,
|
|
@@ -1744,7 +1744,7 @@ function Hn(e) {
|
|
|
1744
1744
|
collectionsNodeResolvePath: i,
|
|
1745
1745
|
layer: u = "icons",
|
|
1746
1746
|
unit: d
|
|
1747
|
-
} = t, _ =
|
|
1747
|
+
} = t, _ = Hn(), h = {
|
|
1748
1748
|
addXmlNs: !0,
|
|
1749
1749
|
scale: n,
|
|
1750
1750
|
customCollections: a,
|
|
@@ -1756,9 +1756,9 @@ function Hn(e) {
|
|
|
1756
1756
|
...c,
|
|
1757
1757
|
additionalProps: { ...l },
|
|
1758
1758
|
trimCustomSvg: !0,
|
|
1759
|
-
async iconCustomizer(b,
|
|
1759
|
+
async iconCustomizer(b, C, x) {
|
|
1760
1760
|
var y;
|
|
1761
|
-
await ((y = c.iconCustomizer) == null ? void 0 : y.call(c, b,
|
|
1761
|
+
await ((y = c.iconCustomizer) == null ? void 0 : y.call(c, b, C, x)), d && (x.width || (x.width = `${n}${d}`), x.height || (x.height = `${n}${d}`));
|
|
1762
1762
|
}
|
|
1763
1763
|
}
|
|
1764
1764
|
};
|
|
@@ -1770,14 +1770,14 @@ function Hn(e) {
|
|
|
1770
1770
|
layers: { icons: -30 },
|
|
1771
1771
|
rules: [[
|
|
1772
1772
|
/^([a-z0-9:_-]+)(?:\?(mask|bg|auto))?$/,
|
|
1773
|
-
async ([b,
|
|
1773
|
+
async ([b, C, x = s]) => {
|
|
1774
1774
|
let y = "", S = "", v;
|
|
1775
1775
|
m = m || await e(t);
|
|
1776
1776
|
const p = {};
|
|
1777
|
-
if (
|
|
1778
|
-
[y, S] =
|
|
1777
|
+
if (C.includes(":"))
|
|
1778
|
+
[y, S] = C.split(":"), v = await m(y, S, { ...h, usedProps: p });
|
|
1779
1779
|
else {
|
|
1780
|
-
const R =
|
|
1780
|
+
const R = C.split(/-/g);
|
|
1781
1781
|
for (let O = Vn; O >= 1 && (y = R.slice(0, O).join("-"), S = R.slice(O).join("-"), v = await m(y, S, { ...h, usedProps: p }), !v); O--)
|
|
1782
1782
|
;
|
|
1783
1783
|
}
|
|
@@ -1830,7 +1830,7 @@ function Pe(e, t) {
|
|
|
1830
1830
|
return l;
|
|
1831
1831
|
};
|
|
1832
1832
|
}
|
|
1833
|
-
function
|
|
1833
|
+
function Hn() {
|
|
1834
1834
|
const e = typeof process < "u" && process.stdout && !process.versions.deno, t = e && !!he.VSCODE_CWD, n = e && !!he.ESLINT;
|
|
1835
1835
|
return {
|
|
1836
1836
|
isNode: e,
|
|
@@ -1841,7 +1841,7 @@ function Gn() {
|
|
|
1841
1841
|
function Bn(e) {
|
|
1842
1842
|
return Pe(Mt, e);
|
|
1843
1843
|
}
|
|
1844
|
-
const zn =
|
|
1844
|
+
const zn = Gn(async (e) => {
|
|
1845
1845
|
const t = e == null ? void 0 : e.customFetch, n = e == null ? void 0 : e.cdn;
|
|
1846
1846
|
return t && n ? Pe(t, n) : n ? Bn(n) : je;
|
|
1847
1847
|
});
|
|
@@ -1889,34 +1889,34 @@ function Jn(e = {}) {
|
|
|
1889
1889
|
r.autoPrefix && (a.postprocess = I(a.postprocess)).unshift(Wn(n.createElement("div").style)), (P = r.configResolved) == null || P.call(r, o, a);
|
|
1890
1890
|
const c = hn(o, a), f = (g) => r.inject ? r.inject(g) : s().prepend(g), i = () => r.rootElement ? r.rootElement() : n.body, u = /* @__PURE__ */ new Map();
|
|
1891
1891
|
let d = !0, _ = /* @__PURE__ */ new Set(), h, m, b = [];
|
|
1892
|
-
const
|
|
1892
|
+
const C = () => new Promise((g) => {
|
|
1893
1893
|
b.push(g), m != null && clearTimeout(m), m = setTimeout(() => S().then(() => {
|
|
1894
1894
|
const E = b;
|
|
1895
|
-
b = [], E.forEach((
|
|
1895
|
+
b = [], E.forEach((A) => A());
|
|
1896
1896
|
}), 0);
|
|
1897
1897
|
});
|
|
1898
1898
|
function x(g) {
|
|
1899
1899
|
if (g.nodeType !== 1)
|
|
1900
1900
|
return;
|
|
1901
1901
|
const E = g;
|
|
1902
|
-
E.hasAttribute(l) && E.removeAttribute(l), E.querySelectorAll(`[${l}]`).forEach((
|
|
1903
|
-
|
|
1902
|
+
E.hasAttribute(l) && E.removeAttribute(l), E.querySelectorAll(`[${l}]`).forEach((A) => {
|
|
1903
|
+
A.removeAttribute(l);
|
|
1904
1904
|
});
|
|
1905
1905
|
}
|
|
1906
1906
|
function y(g, E) {
|
|
1907
|
-
let
|
|
1908
|
-
if (!
|
|
1909
|
-
if (
|
|
1910
|
-
f(
|
|
1907
|
+
let A = u.get(g);
|
|
1908
|
+
if (!A)
|
|
1909
|
+
if (A = n.createElement("style"), A.setAttribute("data-unocss-runtime-layer", g), u.set(g, A), E == null)
|
|
1910
|
+
f(A);
|
|
1911
1911
|
else {
|
|
1912
1912
|
const M = y(E), T = M.parentNode;
|
|
1913
|
-
T ? T.insertBefore(
|
|
1913
|
+
T ? T.insertBefore(A, M.nextSibling) : f(A);
|
|
1914
1914
|
}
|
|
1915
|
-
return
|
|
1915
|
+
return A;
|
|
1916
1916
|
}
|
|
1917
1917
|
async function S() {
|
|
1918
1918
|
const g = await c.generate(_);
|
|
1919
|
-
return g.layers.reduce((E,
|
|
1919
|
+
return g.layers.reduce((E, A) => (y(A, E).innerHTML = g.getLayer(A) ?? "", A), void 0), _ = g.matched, {
|
|
1920
1920
|
...g,
|
|
1921
1921
|
getStyleElement: (E) => u.get(E),
|
|
1922
1922
|
getStyleElements: () => u
|
|
@@ -1924,7 +1924,7 @@ function Jn(e = {}) {
|
|
|
1924
1924
|
}
|
|
1925
1925
|
async function v(g) {
|
|
1926
1926
|
const E = _.size;
|
|
1927
|
-
await c.applyExtractors(g, void 0, _), E !== _.size && await
|
|
1927
|
+
await c.applyExtractors(g, void 0, _), E !== _.size && await C();
|
|
1928
1928
|
}
|
|
1929
1929
|
async function p(g = i()) {
|
|
1930
1930
|
const E = g && g.outerHTML;
|
|
@@ -1934,9 +1934,9 @@ function Jn(e = {}) {
|
|
|
1934
1934
|
d || g.forEach(async (E) => {
|
|
1935
1935
|
if (E.target.nodeType !== 1)
|
|
1936
1936
|
return;
|
|
1937
|
-
const
|
|
1937
|
+
const A = E.target;
|
|
1938
1938
|
for (const M of u)
|
|
1939
|
-
if (
|
|
1939
|
+
if (A === M[1])
|
|
1940
1940
|
return;
|
|
1941
1941
|
if (E.type === "childList")
|
|
1942
1942
|
E.addedNodes.forEach(async (M) => {
|
|
@@ -1946,19 +1946,19 @@ function Jn(e = {}) {
|
|
|
1946
1946
|
h && !h(T) || (await v(T.outerHTML), x(T));
|
|
1947
1947
|
});
|
|
1948
1948
|
else {
|
|
1949
|
-
if (h && !h(
|
|
1949
|
+
if (h && !h(A))
|
|
1950
1950
|
return;
|
|
1951
1951
|
if (E.attributeName !== l) {
|
|
1952
|
-
const M = Array.from(
|
|
1952
|
+
const M = Array.from(A.attributes).map(($) => $.value ? `${$.name}="${$.value}"` : $.name).join(" "), T = `<${A.tagName.toLowerCase()} ${M}>`;
|
|
1953
1953
|
await v(T);
|
|
1954
1954
|
}
|
|
1955
|
-
|
|
1955
|
+
A.hasAttribute(l) && A.removeAttribute(l);
|
|
1956
1956
|
}
|
|
1957
1957
|
});
|
|
1958
1958
|
});
|
|
1959
1959
|
let R = !1;
|
|
1960
1960
|
function O() {
|
|
1961
|
-
var E,
|
|
1961
|
+
var E, A;
|
|
1962
1962
|
if (R)
|
|
1963
1963
|
return;
|
|
1964
1964
|
const g = (E = r.observer) != null && E.target ? r.observer.target() : i();
|
|
@@ -1966,7 +1966,7 @@ function Jn(e = {}) {
|
|
|
1966
1966
|
childList: !0,
|
|
1967
1967
|
subtree: !0,
|
|
1968
1968
|
attributes: !0,
|
|
1969
|
-
attributeFilter: (
|
|
1969
|
+
attributeFilter: (A = r.observer) == null ? void 0 : A.attributeFilter
|
|
1970
1970
|
}), R = !0);
|
|
1971
1971
|
}
|
|
1972
1972
|
function L() {
|