@vue/devtools-electron 7.0.16 → 7.0.17

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.
@@ -1,4 +1,4 @@
1
- const De = /"(?:_|\\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*:/, Pe = /"(?: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*:/, Fe = /^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;
1
+ const je = /"(?:_|\\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*:/, Pe = /"(?: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*:/, Fe = /^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;
2
2
  function Ve(e, t) {
3
3
  if (e === "__proto__" || e === "constructor" && t && typeof t == "object" && "prototype" in t) {
4
4
  Ge(e);
@@ -41,7 +41,7 @@ function He(e, t = {}) {
41
41
  return e;
42
42
  }
43
43
  try {
44
- if (De.test(e) || Pe.test(e)) {
44
+ if (je.test(e) || Pe.test(e)) {
45
45
  if (t.strict)
46
46
  throw new Error("[destr] Possible prototype pollution");
47
47
  return JSON.parse(e, Ve);
@@ -128,16 +128,16 @@ function ut(e = "", t) {
128
128
  return r + "/" + (a.length > 0 ? `?${a.join("?")}` : "") + s;
129
129
  }
130
130
  function ft(e, t) {
131
- if (pt(t) || Se(e))
131
+ if (dt(t) || Se(e))
132
132
  return e;
133
133
  const n = lt(t);
134
134
  return e.startsWith(n) ? e : ht(n, e);
135
135
  }
136
- function dt(e, t) {
136
+ function pt(e, t) {
137
137
  const n = xe(e), s = { ...tt(n.search), ...t };
138
138
  return n.search = st(s), _t(n);
139
139
  }
140
- function pt(e) {
140
+ function dt(e) {
141
141
  return !e || e === "/";
142
142
  }
143
143
  function mt(e) {
@@ -159,11 +159,11 @@ function xe(e = "", t) {
159
159
  /^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i
160
160
  );
161
161
  if (n) {
162
- const [, f, p = ""] = n;
162
+ const [, f, d = ""] = n;
163
163
  return {
164
164
  protocol: f.toLowerCase(),
165
- pathname: p,
166
- href: f + p,
165
+ pathname: d,
166
+ href: f + d,
167
167
  auth: "",
168
168
  host: "",
169
169
  search: "",
@@ -203,8 +203,8 @@ class gt extends Error {
203
203
  }
204
204
  }
205
205
  function yt(e) {
206
- var c, u, i, f, p;
207
- const t = ((c = e.error) == null ? void 0 : c.message) || ((u = e.error) == null ? void 0 : u.toString()) || "", n = ((i = e.request) == null ? void 0 : i.method) || ((f = e.options) == null ? void 0 : f.method) || "GET", s = ((p = e.request) == null ? void 0 : p.url) || String(e.request) || "/", o = `[${n}] ${JSON.stringify(s)}`, r = e.response ? `${e.response.status} ${e.response.statusText}` : "<no response>", a = `${o}: ${r}${t ? ` ${t}` : ""}`, l = new gt(
206
+ var c, u, i, f, d;
207
+ const t = ((c = e.error) == null ? void 0 : c.message) || ((u = e.error) == null ? void 0 : u.toString()) || "", n = ((i = e.request) == null ? void 0 : i.method) || ((f = e.options) == null ? void 0 : f.method) || "GET", s = ((d = e.request) == null ? void 0 : d.url) || String(e.request) || "/", o = `[${n}] ${JSON.stringify(s)}`, r = e.response ? `${e.response.status} ${e.response.statusText}` : "<no response>", a = `${o}: ${r}${t ? ` ${t}` : ""}`, l = new gt(
208
208
  a,
209
209
  e.error ? { cause: e.error } : void 0
210
210
  );
@@ -301,8 +301,8 @@ function Ce(e = {}) {
301
301
  typeof l.options.retry == "number" ? i = l.options.retry : i = ie(l.options.method) ? 0 : 1;
302
302
  const f = l.response && l.response.status || 500;
303
303
  if (i > 0 && (Array.isArray(l.options.retryStatusCodes) ? l.options.retryStatusCodes.includes(f) : Ct.has(f))) {
304
- const p = l.options.retryDelay || 0;
305
- return p > 0 && await new Promise((h) => setTimeout(h, p)), r(l.request, {
304
+ const d = l.options.retryDelay || 0;
305
+ return d > 0 && await new Promise((h) => setTimeout(h, d)), r(l.request, {
306
306
  ...l.options,
307
307
  retry: i - 1,
308
308
  timeout: l.options.timeout
@@ -313,14 +313,14 @@ function Ce(e = {}) {
313
313
  throw Error.captureStackTrace && Error.captureStackTrace(u, r), u;
314
314
  }
315
315
  const r = async function(c, u = {}) {
316
- var p;
316
+ var d;
317
317
  const i = {
318
318
  request: c,
319
319
  options: xt(u, e.defaults, n),
320
320
  response: void 0,
321
321
  error: void 0
322
322
  };
323
- if (i.options.method = (p = i.options.method) == null ? void 0 : p.toUpperCase(), i.options.onRequest && await i.options.onRequest(i), typeof i.request == "string" && (i.options.baseURL && (i.request = ft(i.request, i.options.baseURL)), (i.options.query || i.options.params) && (i.request = dt(i.request, {
323
+ if (i.options.method = (d = i.options.method) == null ? void 0 : d.toUpperCase(), i.options.onRequest && await i.options.onRequest(i), typeof i.request == "string" && (i.options.baseURL && (i.request = ft(i.request, i.options.baseURL)), (i.options.query || i.options.params) && (i.request = pt(i.request, {
324
324
  ...i.options.params,
325
325
  ...i.options.query
326
326
  }))), i.options.body && ie(i.options.method) && (vt(i.options.body) ? (i.options.body = typeof i.options.body == "string" ? i.options.body : JSON.stringify(i.options.body), i.options.headers = new n(i.options.headers || {}), i.options.headers.has("content-type") || i.options.headers.set("content-type", "application/json"), i.options.headers.has("accept") || i.options.headers.set("accept", "application/json")) : (
@@ -378,7 +378,7 @@ const se = function() {
378
378
  return global;
379
379
  throw new Error("unable to locate global object");
380
380
  }(), Ot = se.fetch || (() => Promise.reject(new Error("[ofetch] global.fetch is not supported!"))), Rt = se.Headers, kt = se.AbortController, $t = Ce({ fetch: Ot, Headers: Rt, AbortController: kt }), Tt = $t;
381
- function Ut(e) {
381
+ function Lt(e) {
382
382
  const t = e.length;
383
383
  let n = -1, s, o = "";
384
384
  const r = e.charCodeAt(0);
@@ -419,26 +419,26 @@ function Ut(e) {
419
419
  }
420
420
  return o;
421
421
  }
422
- const J = Ut;
423
- function I(e = []) {
422
+ const J = Lt;
423
+ function M(e = []) {
424
424
  return Array.isArray(e) ? e : [e];
425
425
  }
426
426
  function q(e) {
427
427
  return Array.from(new Set(e));
428
428
  }
429
- function Lt(e, t) {
429
+ function Ut(e, t) {
430
430
  return e.reduce((n, s) => (n.findIndex((r) => t(s, r)) === -1 && n.push(s), n), []);
431
431
  }
432
- function U(e) {
432
+ function L(e) {
433
433
  return typeof e == "string";
434
434
  }
435
435
  function F(e) {
436
- return U(e) ? e : (Array.isArray(e) ? e : Object.entries(e)).filter((t) => t[1] != null);
436
+ return L(e) ? e : (Array.isArray(e) ? e : Object.entries(e)).filter((t) => t[1] != null);
437
437
  }
438
- function Mt(e) {
438
+ function It(e) {
439
439
  return Array.isArray(e) ? e.find((t) => !Array.isArray(t) || Array.isArray(t[0])) ? e.map((t) => F(t)) : [e] : [F(e)];
440
440
  }
441
- function It(e) {
441
+ function Mt(e) {
442
442
  return e.filter(([t, n], s) => {
443
443
  if (t.startsWith("$$"))
444
444
  return !1;
@@ -449,7 +449,7 @@ function It(e) {
449
449
  });
450
450
  }
451
451
  function X(e) {
452
- return e == null ? "" : It(e).map(([t, n]) => n != null ? `${t}:${n};` : void 0).filter(Boolean).join("");
452
+ return e == null ? "" : Mt(e).map(([t, n]) => n != null ? `${t}:${n};` : void 0).filter(Boolean).join("");
453
453
  }
454
454
  function G(e) {
455
455
  return e && typeof e == "object" && !Array.isArray(e);
@@ -484,13 +484,13 @@ function B(e) {
484
484
  return e;
485
485
  }
486
486
  function Nt(e) {
487
- return U(e[0]);
487
+ return L(e[0]);
488
488
  }
489
- function jt(e) {
490
- return U(e[0]);
489
+ function Dt(e) {
490
+ return L(e[0]);
491
491
  }
492
492
  const ae = "$$shortcut-no-merge";
493
- function Dt(e) {
493
+ function jt(e) {
494
494
  return typeof e == "function" ? { match: e } : e;
495
495
  }
496
496
  function ce(e) {
@@ -570,14 +570,14 @@ function Jt(e, t = ["-", ":"], n = 5) {
570
570
  do
571
571
  o = !1, r = r.replace(
572
572
  s,
573
- (u, i, f, p, h) => {
573
+ (u, i, f, d, h) => {
574
574
  var y;
575
575
  if (!t.includes(f))
576
576
  return u;
577
577
  o = !0, a.add(i + f);
578
578
  const g = h + i.length + f.length + 1, _ = { length: u.length, items: [] };
579
579
  l.set(h, _);
580
- for (const x of [...p.matchAll(/\S+/g)]) {
580
+ for (const x of [...d.matchAll(/\S+/g)]) {
581
581
  const w = g + x.index;
582
582
  let b = (y = l.get(w)) == null ? void 0 : y.items;
583
583
  b ? l.delete(w) : b = [{
@@ -597,7 +597,7 @@ function Jt(e, t = ["-", ":"], n = 5) {
597
597
  c = "";
598
598
  let u = 0;
599
599
  for (const [i, f] of l)
600
- c += e.slice(u, i), c += f.items.map((p) => p.className).join(" "), u = i + f.length;
600
+ c += e.slice(u, i), c += f.items.map((d) => d.className).join(" "), u = i + f.length;
601
601
  c += e.slice(u);
602
602
  } else {
603
603
  c = e;
@@ -655,7 +655,7 @@ const z = "default", te = "preflights", tn = "shortcuts", nn = "imports", sn = {
655
655
  [z]: 0
656
656
  };
657
657
  function ke(e) {
658
- return I(e).flatMap((t) => Array.isArray(t) ? [t] : Object.entries(t));
658
+ return M(e).flatMap((t) => Array.isArray(t) ? [t] : Object.entries(t));
659
659
  }
660
660
  const ue = "_uno_resolved";
661
661
  function on(e) {
@@ -672,7 +672,7 @@ function on(e) {
672
672
  const o = (r) => {
673
673
  r[2] || (r[2] = {});
674
674
  const a = r[2];
675
- a.prefix == null && t.prefix && (a.prefix = I(t.prefix)), a.layer == null && t.layer && (a.layer = t.layer);
675
+ a.prefix == null && t.prefix && (a.prefix = M(t.prefix)), a.layer == null && t.layer && (a.layer = t.layer);
676
676
  };
677
677
  n == null || n.forEach(o), (s = t.rules) == null || s.forEach(o);
678
678
  }
@@ -682,51 +682,51 @@ function $e(e) {
682
682
  const t = on(e);
683
683
  if (!t.presets)
684
684
  return [t];
685
- const n = (t.presets || []).flatMap(I).flatMap($e);
685
+ const n = (t.presets || []).flatMap(M).flatMap($e);
686
686
  return [t, ...n];
687
687
  }
688
688
  function fe(e = {}, t = {}) {
689
689
  var m, S;
690
- const n = Object.assign({}, t, e), s = Lt((n.presets || []).flatMap(I).flatMap($e), (d, E) => d.name === E.name), o = [
691
- ...s.filter((d) => d.enforce === "pre"),
692
- ...s.filter((d) => !d.enforce),
693
- ...s.filter((d) => d.enforce === "post")
690
+ const n = Object.assign({}, t, e), s = Ut((n.presets || []).flatMap(M).flatMap($e), (p, E) => p.name === E.name), o = [
691
+ ...s.filter((p) => p.enforce === "pre"),
692
+ ...s.filter((p) => !p.enforce),
693
+ ...s.filter((p) => p.enforce === "post")
694
694
  ], r = [
695
695
  ...o,
696
696
  n
697
- ], a = [...r].reverse(), l = Object.assign({}, sn, ...r.map((d) => d.layers));
698
- function c(d) {
699
- return q(r.flatMap((E) => I(E[d] || [])));
697
+ ], a = [...r].reverse(), l = Object.assign({}, sn, ...r.map((p) => p.layers));
698
+ function c(p) {
699
+ return q(r.flatMap((E) => M(E[p] || [])));
700
700
  }
701
701
  const u = c("extractors");
702
- let i = (m = a.find((d) => d.extractorDefault !== void 0)) == null ? void 0 : m.extractorDefault;
703
- i === void 0 && (i = Zt), i && !u.includes(i) && u.unshift(i), u.sort((d, E) => (d.order || 0) - (E.order || 0));
704
- const f = c("rules"), p = {}, h = f.length, g = f.map((d, E) => {
702
+ let i = (m = a.find((p) => p.extractorDefault !== void 0)) == null ? void 0 : m.extractorDefault;
703
+ i === void 0 && (i = Zt), i && !u.includes(i) && u.unshift(i), u.sort((p, E) => (p.order || 0) - (E.order || 0));
704
+ const f = c("rules"), d = {}, h = f.length, g = f.map((p, E) => {
705
705
  var R;
706
- if (Nt(d)) {
707
- I(((R = d[2]) == null ? void 0 : R.prefix) || "").forEach((N) => {
708
- p[N + d[0]] = [E, d[1], d[2], d];
706
+ if (Nt(p)) {
707
+ M(((R = p[2]) == null ? void 0 : R.prefix) || "").forEach((N) => {
708
+ d[N + p[0]] = [E, p[1], p[2], p];
709
709
  });
710
710
  return;
711
711
  }
712
- return [E, ...d];
712
+ return [E, ...p];
713
713
  }).filter(Boolean).reverse();
714
- let _ = rn(r.map((d) => d.theme));
714
+ let _ = rn(r.map((p) => p.theme));
715
715
  const y = c("extendTheme");
716
- for (const d of y)
717
- _ = d(_) || _;
716
+ for (const p of y)
717
+ _ = p(_) || _;
718
718
  const x = {
719
- templates: q(r.flatMap((d) => {
719
+ templates: q(r.flatMap((p) => {
720
720
  var E;
721
- return I((E = d.autocomplete) == null ? void 0 : E.templates);
721
+ return M((E = p.autocomplete) == null ? void 0 : E.templates);
722
722
  })),
723
- extractors: r.flatMap((d) => {
723
+ extractors: r.flatMap((p) => {
724
724
  var E;
725
- return I((E = d.autocomplete) == null ? void 0 : E.extractors);
726
- }).sort((d, E) => (d.order || 0) - (E.order || 0)),
727
- shorthands: an(r.map((d) => {
725
+ return M((E = p.autocomplete) == null ? void 0 : E.extractors);
726
+ }).sort((p, E) => (p.order || 0) - (E.order || 0)),
727
+ shorthands: an(r.map((p) => {
728
728
  var E;
729
- return ((E = d.autocomplete) == null ? void 0 : E.shorthands) || {};
729
+ return ((E = p.autocomplete) == null ? void 0 : E.shorthands) || {};
730
730
  }))
731
731
  };
732
732
  let w = c("separators");
@@ -734,7 +734,7 @@ function fe(e = {}, t = {}) {
734
734
  const b = {
735
735
  mergeSelectors: !0,
736
736
  warn: !0,
737
- sortLayers: (d) => d,
737
+ sortLayers: (p) => p,
738
738
  ...n,
739
739
  blocklist: c("blocklist"),
740
740
  presets: o,
@@ -744,20 +744,20 @@ function fe(e = {}, t = {}) {
744
744
  theme: _,
745
745
  rulesSize: h,
746
746
  rulesDynamic: g,
747
- rulesStaticMap: p,
747
+ rulesStaticMap: d,
748
748
  preprocess: c("preprocess"),
749
749
  postprocess: c("postprocess"),
750
750
  preflights: c("preflights"),
751
751
  autocomplete: x,
752
- variants: c("variants").map(Dt).sort((d, E) => (d.order || 0) - (E.order || 0)),
752
+ variants: c("variants").map(jt).sort((p, E) => (p.order || 0) - (E.order || 0)),
753
753
  shortcuts: ke(c("shortcuts")).reverse(),
754
754
  extractors: u,
755
755
  safelist: c("safelist"),
756
756
  separators: w,
757
757
  details: n.details ?? n.envMode === "dev"
758
758
  };
759
- for (const d of r)
760
- (S = d == null ? void 0 : d.configResolved) == null || S.call(d, b);
759
+ for (const p of r)
760
+ (S = p == null ? void 0 : p.configResolved) == null || S.call(p, b);
761
761
  return b;
762
762
  }
763
763
  function rn(e) {
@@ -777,10 +777,10 @@ function an(e) {
777
777
  }, {});
778
778
  }
779
779
  const cn = "0.58.5";
780
- var ln = Object.defineProperty, un = (e, t, n) => t in e ? ln(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, D = (e, t, n) => (un(e, typeof t != "symbol" ? t + "" : t, n), n);
780
+ var ln = Object.defineProperty, un = (e, t, n) => t in e ? ln(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, j = (e, t, n) => (un(e, typeof t != "symbol" ? t + "" : t, n), n);
781
781
  class fn {
782
782
  constructor(t = {}, n = {}) {
783
- this.userConfig = t, this.defaults = n, D(this, "version", cn), D(this, "_cache", /* @__PURE__ */ new Map()), D(this, "config"), D(this, "blocked", /* @__PURE__ */ new Set()), D(this, "parentOrders", /* @__PURE__ */ new Map()), D(this, "events", en()), this.config = fe(t, n), this.events.emit("config", this.config);
783
+ this.userConfig = t, this.defaults = n, j(this, "version", cn), j(this, "_cache", /* @__PURE__ */ new Map()), j(this, "config"), j(this, "blocked", /* @__PURE__ */ new Set()), j(this, "parentOrders", /* @__PURE__ */ new Map()), j(this, "events", en()), this.config = fe(t, n), this.events.emit("config", this.config);
784
784
  }
785
785
  setConfig(t, n) {
786
786
  t && (n && (this.defaults = n), this.userConfig = t, this.blocked.clear(), this.parentOrders.clear(), this._cache.clear(), this.config = fe(t, this.defaults), this.events.emit("config", this.config));
@@ -852,7 +852,7 @@ class fn {
852
852
  safelist: a = !0,
853
853
  minify: l = !1,
854
854
  extendedInfo: c = !1
855
- } = n, u = U(t) ? await this.applyExtractors(
855
+ } = n, u = L(t) ? await this.applyExtractors(
856
856
  t,
857
857
  s,
858
858
  c ? new Oe() : /* @__PURE__ */ new Set()
@@ -861,20 +861,20 @@ class fn {
861
861
  u.has(m) || u.add(m);
862
862
  });
863
863
  const i = l ? "" : `
864
- `, f = /* @__PURE__ */ new Set([z]), p = c ? /* @__PURE__ */ new Map() : /* @__PURE__ */ new Set(), h = /* @__PURE__ */ new Map();
864
+ `, f = /* @__PURE__ */ new Set([z]), d = c ? /* @__PURE__ */ new Map() : /* @__PURE__ */ new Set(), h = /* @__PURE__ */ new Map();
865
865
  let g = {};
866
866
  const _ = Array.from(u).map(async (m) => {
867
- var d;
868
- if (p.has(m))
867
+ var p;
868
+ if (d.has(m))
869
869
  return;
870
870
  const S = await this.parseToken(m);
871
871
  if (S != null) {
872
- p instanceof Map ? p.set(m, {
872
+ d instanceof Map ? d.set(m, {
873
873
  data: S,
874
874
  count: Y(u) ? u.getCount(m) : -1
875
- }) : p.add(m);
875
+ }) : d.add(m);
876
876
  for (const E of S) {
877
- const R = E[3] || "", $ = (d = E[4]) == null ? void 0 : d.layer;
877
+ const R = E[3] || "", $ = (p = E[4]) == null ? void 0 : p.layer;
878
878
  h.has(R) || h.set(R, []), h.get(R).push(E), $ && f.add($);
879
879
  }
880
880
  }
@@ -886,15 +886,15 @@ class fn {
886
886
  generator: this,
887
887
  theme: this.config.theme
888
888
  }, S = /* @__PURE__ */ new Set([]);
889
- this.config.preflights.forEach(({ layer: d = te }) => {
890
- f.add(d), S.add(d);
889
+ this.config.preflights.forEach(({ layer: p = te }) => {
890
+ f.add(p), S.add(p);
891
891
  }), g = Object.fromEntries(
892
892
  await Promise.all(Array.from(S).map(
893
- async (d) => {
893
+ async (p) => {
894
894
  const R = (await Promise.all(
895
- this.config.preflights.filter(($) => ($.layer || te) === d).map(async ($) => await $.getCSS(m))
895
+ this.config.preflights.filter(($) => ($.layer || te) === p).map(async ($) => await $.getCSS(m))
896
896
  )).filter(Boolean).join(i);
897
- return [d, R];
897
+ return [p, R];
898
898
  }
899
899
  ))
900
900
  );
@@ -910,25 +910,25 @@ class fn {
910
910
  var T;
911
911
  return (((T = k[4]) == null ? void 0 : T.layer) || z) === m;
912
912
  }).sort((k, T) => {
913
- var L, v, A, C, O, M, j;
914
- return k[0] - T[0] || (((L = k[4]) == null ? void 0 : L.sort) || 0) - (((v = T[4]) == null ? void 0 : v.sort) || 0) || ((O = (A = k[5]) == null ? void 0 : A.currentSelector) == null ? void 0 : O.localeCompare(((C = T[5]) == null ? void 0 : C.currentSelector) ?? "")) || ((M = k[1]) == null ? void 0 : M.localeCompare(T[1] || "")) || ((j = k[2]) == null ? void 0 : j.localeCompare(T[2] || "")) || 0;
915
- }).map(([, k, T, , L, , v]) => [
916
- [[(k && mn(k, o)) ?? "", (L == null ? void 0 : L.sort) ?? 0]],
913
+ var U, v, A, C, O, I, D;
914
+ return k[0] - T[0] || (((U = k[4]) == null ? void 0 : U.sort) || 0) - (((v = T[4]) == null ? void 0 : v.sort) || 0) || ((O = (A = k[5]) == null ? void 0 : A.currentSelector) == null ? void 0 : O.localeCompare(((C = T[5]) == null ? void 0 : C.currentSelector) ?? "")) || ((I = k[1]) == null ? void 0 : I.localeCompare(T[1] || "")) || ((D = k[2]) == null ? void 0 : D.localeCompare(T[2] || "")) || 0;
915
+ }).map(([, k, T, , U, , v]) => [
916
+ [[(k && mn(k, o)) ?? "", (U == null ? void 0 : U.sort) ?? 0]],
917
917
  T,
918
- !!(v ?? (L == null ? void 0 : L.noMerge))
918
+ !!(v ?? (U == null ? void 0 : U.noMerge))
919
919
  ]);
920
920
  if (!N.length)
921
921
  return;
922
- const P = N.reverse().map(([k, T, L], v) => {
923
- if (!L && this.config.mergeSelectors)
922
+ const P = N.reverse().map(([k, T, U], v) => {
923
+ if (!U && this.config.mergeSelectors)
924
924
  for (let C = v + 1; C < $; C++) {
925
925
  const O = N[C];
926
926
  if (O && !O[2] && (k && O[0] || k == null && O[0] == null) && O[1] === T)
927
927
  return k && O[0] && O[0].push(...k), null;
928
928
  }
929
929
  const A = k ? q(k.sort((C, O) => {
930
- var M;
931
- return C[1] - O[1] || ((M = C[0]) == null ? void 0 : M.localeCompare(O[0] || "")) || 0;
930
+ var I;
931
+ return C[1] - O[1] || ((I = C[0]) == null ? void 0 : I.localeCompare(O[0] || "")) || 0;
932
932
  }).map((C) => C[0]).filter(Boolean)) : [];
933
933
  return A.length ? `${A.join(`,${i}`)}{${T}}` : T;
934
934
  }).filter(Boolean).reverse().join(i);
@@ -938,15 +938,15 @@ class fn {
938
938
  return `${V.join("{")}{${i}${P}${i}${"}".repeat(V.length)}`;
939
939
  }).filter(Boolean).join(i);
940
940
  r && (S = [g[m], S].filter(Boolean).join(i));
941
- const d = l ? "" : `/* layer: ${m} */${i}`;
942
- return x[m] = S ? d + S : "";
943
- }, b = (m = y, S) => m.filter((d) => !(S != null && S.includes(d))).map((d) => w(d) || "").filter(Boolean).join(i);
941
+ const p = l ? "" : `/* layer: ${m} */${i}`;
942
+ return x[m] = S ? p + S : "";
943
+ }, b = (m = y, S) => m.filter((p) => !(S != null && S.includes(p))).map((p) => w(p) || "").filter(Boolean).join(i);
944
944
  return {
945
945
  get css() {
946
946
  return b();
947
947
  },
948
948
  layers: y,
949
- matched: p,
949
+ matched: d,
950
950
  getLayers: b,
951
951
  getLayer: w
952
952
  };
@@ -966,7 +966,7 @@ class fn {
966
966
  continue;
967
967
  let u = await c.match(r, l);
968
968
  if (u) {
969
- if (U(u)) {
969
+ if (L(u)) {
970
970
  if (u === r)
971
971
  continue;
972
972
  u = { matcher: u };
@@ -986,11 +986,11 @@ class fn {
986
986
  const r = n.slice().sort((u, i) => (u.order || 0) - (i.order || 0)).reduceRight(
987
987
  (u, i) => (f) => {
988
988
  var g, _;
989
- const p = ((g = i.body) == null ? void 0 : g.call(i, f.entries)) || f.entries, h = Array.isArray(i.parent) ? i.parent : [i.parent, void 0];
989
+ const d = ((g = i.body) == null ? void 0 : g.call(i, f.entries)) || f.entries, h = Array.isArray(i.parent) ? i.parent : [i.parent, void 0];
990
990
  return (i.handle ?? _n)({
991
991
  ...f,
992
- entries: p,
993
- selector: ((_ = i.selector) == null ? void 0 : _.call(i, f.selector, p)) || f.selector,
992
+ entries: d,
993
+ selector: ((_ = i.selector) == null ? void 0 : _.call(i, f.selector, d)) || f.selector,
994
994
  parent: h[0] || f.parent,
995
995
  parentOrder: h[1] || f.parentOrder,
996
996
  layer: i.layer || f.layer,
@@ -1023,31 +1023,31 @@ class fn {
1023
1023
  }
1024
1024
  constructCustomCSS(t, n, s) {
1025
1025
  const o = F(n);
1026
- if (U(o))
1026
+ if (L(o))
1027
1027
  return o;
1028
1028
  const { selector: r, entries: a, parent: l } = this.applyVariants([0, s || t.rawSelector, o, void 0, t.variantHandlers]), c = `${r}{${X(a)}}`;
1029
1029
  return l ? `${l}{${c}}` : c;
1030
1030
  }
1031
1031
  async parseUtil(t, n, s = !1, o) {
1032
1032
  var i;
1033
- const [r, a, l] = U(t) ? await this.matchVariants(t) : t;
1033
+ const [r, a, l] = L(t) ? await this.matchVariants(t) : t;
1034
1034
  this.config.details && (n.rules = n.rules ?? []);
1035
1035
  const c = this.config.rulesStaticMap[a];
1036
1036
  if (c && c[1] && (s || !((i = c[2]) != null && i.internal))) {
1037
1037
  this.config.details && n.rules.push(c[3]);
1038
- const f = c[0], p = F(c[1]), h = c[2];
1039
- return U(p) ? [[f, p, h]] : [[f, r, p, h, l]];
1038
+ const f = c[0], d = F(c[1]), h = c[2];
1039
+ return L(d) ? [[f, d, h]] : [[f, r, d, h, l]];
1040
1040
  }
1041
1041
  n.variantHandlers = l;
1042
1042
  const { rulesDynamic: u } = this.config;
1043
- for (const [f, p, h, g] of u) {
1043
+ for (const [f, d, h, g] of u) {
1044
1044
  if (g != null && g.internal && !s)
1045
1045
  continue;
1046
1046
  let _ = a;
1047
1047
  if (g != null && g.prefix) {
1048
- const b = I(g.prefix);
1048
+ const b = M(g.prefix);
1049
1049
  if (o) {
1050
- const m = I(o);
1050
+ const m = M(o);
1051
1051
  if (!b.some((S) => m.includes(S)))
1052
1052
  continue;
1053
1053
  } else {
@@ -1057,16 +1057,16 @@ class fn {
1057
1057
  _ = a.slice(m.length);
1058
1058
  }
1059
1059
  }
1060
- const y = _.match(p);
1060
+ const y = _.match(d);
1061
1061
  if (!y)
1062
1062
  continue;
1063
1063
  const x = await h(y, n);
1064
1064
  if (!x)
1065
1065
  continue;
1066
- this.config.details && n.rules.push([p, h, g]);
1067
- const w = Mt(x).filter((b) => b.length);
1066
+ this.config.details && n.rules.push([d, h, g]);
1067
+ const w = It(x).filter((b) => b.length);
1068
1068
  if (w.length)
1069
- return w.map((b) => U(b) ? [f, b, g] : [f, r, b, g, l]);
1069
+ return w.map((b) => L(b) ? [f, b, g] : [f, r, b, g, l]);
1070
1070
  }
1071
1071
  }
1072
1072
  stringifyUtil(t, n) {
@@ -1077,8 +1077,8 @@ class fn {
1077
1077
  const { selector: s, entries: o, parent: r, layer: a, sort: l, noMerge: c } = this.applyVariants(t), u = X(o);
1078
1078
  if (!u)
1079
1079
  return;
1080
- const { layer: i, sort: f, ...p } = t[3] ?? {}, h = {
1081
- ...p,
1080
+ const { layer: i, sort: f, ...d } = t[3] ?? {}, h = {
1081
+ ...d,
1082
1082
  layer: a ?? i,
1083
1083
  sort: l ?? f
1084
1084
  };
@@ -1095,12 +1095,12 @@ class fn {
1095
1095
  for (const c of this.config.shortcuts) {
1096
1096
  let u = t;
1097
1097
  if ((l = c[2]) != null && l.prefix) {
1098
- const f = I(c[2].prefix).find((p) => t.startsWith(p));
1098
+ const f = M(c[2].prefix).find((d) => t.startsWith(d));
1099
1099
  if (f == null)
1100
1100
  continue;
1101
1101
  u = t.slice(f.length);
1102
1102
  }
1103
- if (jt(c)) {
1103
+ if (Dt(c)) {
1104
1104
  if (c[0] === u) {
1105
1105
  r = r || c[2], a = c[1], o(c);
1106
1106
  break;
@@ -1113,18 +1113,18 @@ class fn {
1113
1113
  }
1114
1114
  }
1115
1115
  }
1116
- if (U(a) && (a = Xt(a.trim()).split(/\s+/g)), !a) {
1117
- const [c, u] = U(t) ? await this.matchVariants(t) : t;
1116
+ if (L(a) && (a = Xt(a.trim()).split(/\s+/g)), !a) {
1117
+ const [c, u] = L(t) ? await this.matchVariants(t) : t;
1118
1118
  if (c !== u) {
1119
1119
  const i = await this.expandShortcut(u, n, s - 1);
1120
- i && (a = i[0].map((f) => U(f) ? c.replace(u, f) : f));
1120
+ i && (a = i[0].map((f) => L(f) ? c.replace(u, f) : f));
1121
1121
  }
1122
1122
  }
1123
1123
  if (a)
1124
1124
  return [
1125
1125
  (await Promise.all(a.map(async (c) => {
1126
1126
  var u;
1127
- return (U(c) ? (u = await this.expandShortcut(c, n, s - 1)) == null ? void 0 : u[0] : void 0) || [c];
1127
+ return (L(c) ? (u = await this.expandShortcut(c, n, s - 1)) == null ? void 0 : u[0] : void 0) || [c];
1128
1128
  }))).flat(1).filter(Boolean),
1129
1129
  r
1130
1130
  ];
@@ -1132,24 +1132,24 @@ class fn {
1132
1132
  async stringifyShortcuts(t, n, s, o = { layer: this.config.shortcutsLayer }) {
1133
1133
  var i;
1134
1134
  const r = new Bt(), a = (await Promise.all(q(s).map(async (f) => {
1135
- const p = U(f) ? await this.parseUtil(f, n, !0, o.prefix) : [[Number.POSITIVE_INFINITY, "{inline}", F(f), void 0, []]];
1136
- return !p && this.config.warn && Re(`unmatched utility "${f}" in shortcut "${t[1]}"`), p || [];
1137
- }))).flat(1).filter(Boolean).sort((f, p) => f[0] - p[0]), [l, , c] = t, u = [];
1135
+ const d = L(f) ? await this.parseUtil(f, n, !0, o.prefix) : [[Number.POSITIVE_INFINITY, "{inline}", F(f), void 0, []]];
1136
+ return !d && this.config.warn && Re(`unmatched utility "${f}" in shortcut "${t[1]}"`), d || [];
1137
+ }))).flat(1).filter(Boolean).sort((f, d) => f[0] - d[0]), [l, , c] = t, u = [];
1138
1138
  for (const f of a) {
1139
1139
  if (ce(f)) {
1140
1140
  u.push([f[0], void 0, f[1], void 0, f[2], n, void 0]);
1141
1141
  continue;
1142
1142
  }
1143
- const { selector: p, entries: h, parent: g, sort: _, noMerge: y } = this.applyVariants(f, [...f[4], ...c], l);
1144
- r.getFallback(p, g, [[], f[0]])[0].push([h, !!(y ?? ((i = f[3]) == null ? void 0 : i.noMerge)), _ ?? 0]);
1143
+ const { selector: d, entries: h, parent: g, sort: _, noMerge: y } = this.applyVariants(f, [...f[4], ...c], l);
1144
+ r.getFallback(d, g, [[], f[0]])[0].push([h, !!(y ?? ((i = f[3]) == null ? void 0 : i.noMerge)), _ ?? 0]);
1145
1145
  }
1146
- return u.concat(r.map(([f, p], h, g) => {
1146
+ return u.concat(r.map(([f, d], h, g) => {
1147
1147
  const _ = (x, w, b) => {
1148
- const m = Math.max(...b.map((d) => d[1])), S = b.map((d) => d[0]);
1149
- return (x ? [S.flat(1)] : S).map((d) => {
1150
- const E = X(d);
1148
+ const m = Math.max(...b.map((p) => p[1])), S = b.map((p) => p[0]);
1149
+ return (x ? [S.flat(1)] : S).map((p) => {
1150
+ const E = X(p);
1151
1151
  if (E)
1152
- return [p, h, E, g, { ...o, noMerge: w, sort: m }, n, void 0];
1152
+ return [d, h, E, g, { ...o, noMerge: w, sort: m }, n, void 0];
1153
1153
  });
1154
1154
  };
1155
1155
  return [
@@ -1162,27 +1162,27 @@ class fn {
1162
1162
  }).flat(2).filter(Boolean));
1163
1163
  }
1164
1164
  isBlocked(t) {
1165
- return !t || this.config.blocklist.some((n) => typeof n == "function" ? n(t) : U(n) ? n === t : n.test(t));
1165
+ return !t || this.config.blocklist.some((n) => typeof n == "function" ? n(t) : L(n) ? n === t : n.test(t));
1166
1166
  }
1167
1167
  }
1168
- function dn(e, t) {
1168
+ function pn(e, t) {
1169
1169
  return new fn(e, t);
1170
1170
  }
1171
1171
  const Te = /\s\$\$\s+/g;
1172
- function pn(e) {
1172
+ function dn(e) {
1173
1173
  return Te.test(e);
1174
1174
  }
1175
1175
  function mn(e, t) {
1176
- return pn(e) ? e.replace(Te, t ? ` ${t} ` : " ") : t ? `${t} ${e}` : e;
1176
+ return dn(e) ? e.replace(Te, t ? ` ${t} ` : " ") : t ? `${t} ${e}` : e;
1177
1177
  }
1178
- const de = /^\[(.+?)(~?=)"(.*)"\]$/;
1178
+ const pe = /^\[(.+?)(~?=)"(.*)"\]$/;
1179
1179
  function hn(e) {
1180
- return de.test(e) ? e.replace(de, (t, n, s, o) => `[${J(n)}${s}"${J(o)}"]`) : `.${J(e)}`;
1180
+ return pe.test(e) ? e.replace(pe, (t, n, s, o) => `[${J(n)}${s}"${J(o)}"]`) : `.${J(e)}`;
1181
1181
  }
1182
1182
  function _n(e, t) {
1183
1183
  return t(e);
1184
1184
  }
1185
- var pe = { 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", npm_package_devDependencies_vite: "^5.1.4", 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.5", 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", ZDOTDIR: "/Users/arlo", ORIGINAL_XDG_CURRENT_DESKTOP: "undefined", MallocNanoZone: "0", TERM_SESSION_ID: "w0t0p0:EBC13AFE-91E7-4C01-A0EE-906F38822844", 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.6SNYWUo0i8/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.4/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: "", LSCOLORS: "Gxfxcxdxbxegedabagacad", FNM_VERSION_FILE_STRATEGY: "local", 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.4/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.4/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.4/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.4/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/791_1709303876576/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/98905_1709302425015/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: "8C52347B-2A2B-41CD-812D-4952400B468B", 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.9.0", npm_package_devDependencies_sass: "^1.71.1", npm_package_devDependencies__unocss_reset: "^0.58.5", 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.1.4_@types+node@20.11.24_sass@1.71.1/node_modules/vite/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/vite@5.1.4_@types+node@20.11.24_sass@1.71.1/node_modules/vite/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/vite@5.1.4_@types+node@20.11.24_sass@1.71.1/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.4/node_modules/pnpm/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.4/node_modules/pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.4/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.4/node_modules/pnpm/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.4/node_modules/pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.4/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.4/node_modules/pnpm/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.4/node_modules/pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.4/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.4/node_modules/pnpm/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.4/node_modules/pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.4/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", VSCODE_GIT_ASKPASS_EXTRA_ARGS: "--ms-enable-electron-run-as-node", XPC_FLAGS: "0x0", FNM_MULTISHELL_PATH: "/Users/arlo/Library/Caches/fnm_multishells/791_1709303876576", npm_package_devDependencies__unocss_core: "^0.58.5", 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.188", npm_package_dependencies_minimatch: "^9.0.3", npm_package_version: "7.0.16", XPC_SERVICE_NAME: "0", VSCODE_INJECTION: "1", npm_package_devDependencies_unocss: "^0.58.5", 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:EBC13AFE-91E7-4C01-A0EE-906F38822844", 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.4 npm/? node/v20.11.0 darwin arm64", FNM_RESOLVE_ENGINES: "false", npm_package_devDependencies__types_node: "^20.11.24", VSCODE_GIT_ASKPASS_NODE: "/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin)", GIT_ASKPASS: "/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass.sh", npm_package_devDependencies_vite_plugin_vue_devtools: "workspace:^", npm_package_scripts_stub: "nr stub:lib & vite build --watch", LC_TERMINAL: "iTerm2", npm_package_files_0: "dist", npm_package_devDependencies_unplugin: "^1.7.1", npm_package_dependencies_vue_router: "^4.3.0", npm_package_dependencies_shiki: "1.1.5", SECURITYSESSIONID: "186a4", npm_package_dependencies__unocss_preset_icons: "^0.58.5", 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" };
1185
+ var de = { 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.1.5", 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.5", 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:31DF3460-0650-44EA-906D-6BCB6072E17A", 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.6SNYWUo0i8/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.4/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.4/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.4/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.4/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/91545_1710247561326/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/63657_1710152682395/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: "8C52347B-2A2B-41CD-812D-4952400B468B", 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.10.0", npm_package_devDependencies_sass: "^1.71.1", npm_package_devDependencies__unocss_reset: "^0.58.5", 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.1.5_@types+node@20.11.25_sass@1.71.1/node_modules/vite/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/vite@5.1.5_@types+node@20.11.25_sass@1.71.1/node_modules/vite/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/vite@5.1.5_@types+node@20.11.25_sass@1.71.1/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.4/node_modules/pnpm/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.4/node_modules/pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.4/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.4/node_modules/pnpm/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.4/node_modules/pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.4/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/turbo@1.12.5/node_modules/turbo/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/turbo@1.12.5/node_modules/turbo/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/turbo@1.12.5/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.4/node_modules/pnpm/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.4/node_modules/pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.4/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/91545_1710247561326", TURBO_HASH: "59b76f3bea1d8d57", VSCODE_GIT_ASKPASS_EXTRA_ARGS: "--ms-enable-electron-run-as-node", XPC_FLAGS: "0x0", npm_package_devDependencies__unocss_core: "^0.58.5", 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.191", npm_package_dependencies_minimatch: "^9.0.3", npm_package_version: "7.0.17", XPC_SERVICE_NAME: "0", VSCODE_INJECTION: "1", npm_package_devDependencies_unocss: "^0.58.5", 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:31DF3460-0650-44EA-906D-6BCB6072E17A", 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.4 npm/? node/v20.11.0 darwin arm64", FNM_RESOLVE_ENGINES: "false", npm_package_devDependencies__types_node: "^20.11.25", 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.9.0", npm_package_dependencies_vue_router: "^4.3.0", npm_package_dependencies_shiki: "1.1.7", SECURITYSESSIONID: "186a4", npm_package_dependencies__unocss_preset_icons: "^0.58.5", 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" };
1186
1186
  const gn = Object.freeze(
1187
1187
  {
1188
1188
  left: 0,
@@ -1194,17 +1194,17 @@ const gn = Object.freeze(
1194
1194
  rotate: 0,
1195
1195
  vFlip: !1,
1196
1196
  hFlip: !1
1197
- }), Ue = Object.freeze({
1197
+ }), Le = Object.freeze({
1198
1198
  ...gn,
1199
1199
  ...W
1200
1200
  }), yn = Object.freeze({
1201
- ...Ue,
1201
+ ...Le,
1202
1202
  body: "",
1203
1203
  hidden: !1
1204
1204
  }), bn = Object.freeze({
1205
1205
  width: null,
1206
1206
  height: null
1207
- }), Le = Object.freeze({
1207
+ }), Ue = Object.freeze({
1208
1208
  // Dimensions
1209
1209
  ...bn,
1210
1210
  // Transformations
@@ -1304,10 +1304,10 @@ function On(e, t, n) {
1304
1304
  const oe = (e) => e === "unset" || e === "undefined" || e === "none";
1305
1305
  function Rn(e, t) {
1306
1306
  const n = {
1307
- ...Ue,
1307
+ ...Le,
1308
1308
  ...e
1309
1309
  }, s = {
1310
- ...Le,
1310
+ ...Ue,
1311
1311
  ...t
1312
1312
  }, o = {
1313
1313
  left: n.left,
@@ -1351,13 +1351,13 @@ function Rn(e, t) {
1351
1351
  const a = s.width, l = s.height, c = o.width, u = o.height;
1352
1352
  let i, f;
1353
1353
  a === null ? (f = l === null ? "1em" : l === "auto" ? u : l, i = _e(f, c / u)) : (i = a === "auto" ? c : a, f = l === null ? _e(i, u / c) : l === "auto" ? u : l);
1354
- const p = {}, h = (_, y) => {
1355
- oe(y) || (p[_] = y.toString());
1354
+ const d = {}, h = (_, y) => {
1355
+ oe(y) || (d[_] = y.toString());
1356
1356
  };
1357
1357
  h("width", i), h("height", f);
1358
1358
  const g = [o.left, o.top, c, u];
1359
- return p.viewBox = g.join(" "), {
1360
- attributes: p,
1359
+ return d.viewBox = g.join(" "), {
1360
+ attributes: d,
1361
1361
  viewBox: g,
1362
1362
  body: r
1363
1363
  };
@@ -1378,24 +1378,24 @@ function $n(e) {
1378
1378
  function Tn(e) {
1379
1379
  return e.replace(/(['"])\s*\n\s*([^>\\/\s])/g, "$1 $2").replace(/(["';{}><])\s*\n\s*/g, "$1").replace(/\s*\n\s*/g, " ").replace(/\s+"/g, '"').replace(/="\s+/g, '="').replace(/(\s)+\/>/g, "/>").trim();
1380
1380
  }
1381
- const Un = /\swidth\s*=\s*["']([\w.]+)["']/, Ln = /\sheight\s*=\s*["']([\w.]+)["']/, Q = /<svg\s+/;
1382
- function Mn(e, t, n) {
1381
+ const Ln = /\swidth\s*=\s*["']([\w.]+)["']/, Un = /\sheight\s*=\s*["']([\w.]+)["']/, Q = /<svg\s+/;
1382
+ function In(e, t, n) {
1383
1383
  const s = e.slice(0, e.indexOf(">")), o = (r, a) => {
1384
1384
  const l = a.exec(s), c = l != null, u = t[r];
1385
1385
  return !u && !oe(u) && (typeof n == "number" ? n > 0 && (t[r] = `${n}em`) : l && (t[r] = l[1])), c;
1386
1386
  };
1387
- return [o("width", Un), o("height", Ln)];
1387
+ return [o("width", Ln), o("height", Un)];
1388
1388
  }
1389
- async function Me(e, t, n, s, o, r) {
1389
+ async function Ie(e, t, n, s, o, r) {
1390
1390
  const { scale: a, addXmlNs: l = !1 } = s ?? {}, { additionalProps: c = {}, iconCustomizer: u } = (s == null ? void 0 : s.customizations) ?? {}, i = await (o == null ? void 0 : o()) ?? {};
1391
1391
  await (u == null ? void 0 : u(t, n, i)), Object.keys(c).forEach((_) => {
1392
1392
  const y = c[_];
1393
1393
  y != null && (i[_] = y);
1394
1394
  }), r == null || r(i);
1395
- const [f, p] = Mn(e, i, a);
1395
+ const [f, d] = In(e, i, a);
1396
1396
  l && (!e.includes("xmlns=") && !i.xmlns && (i.xmlns = "http://www.w3.org/2000/svg"), !e.includes("xmlns:xlink=") && e.includes("xlink:") && !i["xmlns:xlink"] && (i["xmlns:xlink"] = "http://www.w3.org/1999/xlink"));
1397
1397
  const h = Object.keys(i).map(
1398
- (_) => _ === "width" && f || _ === "height" && p ? null : `${_}="${i[_]}"`
1398
+ (_) => _ === "width" && f || _ === "height" && d ? null : `${_}="${i[_]}"`
1399
1399
  ).filter((_) => _ != null);
1400
1400
  if (h.length && (e = e.replace(Q, `<svg ${h.join(" ")} `)), s) {
1401
1401
  const { defaultStyle: _, defaultClass: y } = s;
@@ -1428,7 +1428,7 @@ async function ge(e, t, n, s) {
1428
1428
  const a = o.indexOf("<svg");
1429
1429
  a > 0 && (o = o.slice(a));
1430
1430
  const { transform: l } = (s == null ? void 0 : s.customizations) ?? {};
1431
- return o = typeof l == "function" ? await l(o, t, n) : o, o.startsWith("<svg") ? await Me(
1431
+ return o = typeof l == "function" ? await l(o, t, n) : o, o.startsWith("<svg") ? await Ie(
1432
1432
  ((r = s == null ? void 0 : s.customizations) == null ? void 0 : r.trimCustomSvg) === !0 ? Tn(o) : o,
1433
1433
  t,
1434
1434
  n,
@@ -1439,18 +1439,18 @@ async function ge(e, t, n, s) {
1439
1439
  ), o);
1440
1440
  }
1441
1441
  }
1442
- async function Ie(e, t, n, s) {
1442
+ async function Me(e, t, n, s) {
1443
1443
  let o;
1444
1444
  const { customize: r } = (s == null ? void 0 : s.customizations) ?? {};
1445
1445
  for (const a of n)
1446
1446
  if (o = Sn(e, a), o) {
1447
- let l = { ...Le };
1447
+ let l = { ...Ue };
1448
1448
  typeof r == "function" && (l = r(l));
1449
1449
  const {
1450
1450
  attributes: { width: c, height: u, ...i },
1451
1451
  body: f
1452
- } = Rn(o, l), p = s == null ? void 0 : s.scale;
1453
- return await Me(
1452
+ } = Rn(o, l), d = s == null ? void 0 : s.scale;
1453
+ return await Ie(
1454
1454
  // DON'T remove space on <svg >
1455
1455
  `<svg >${f}</svg>`,
1456
1456
  t,
@@ -1464,7 +1464,7 @@ async function Ie(e, t, n, s) {
1464
1464
  if (!oe(x)) {
1465
1465
  if (x)
1466
1466
  return;
1467
- typeof p == "number" ? p && (w = `${p}em`) : w = y;
1467
+ typeof d == "number" ? d && (w = `${d}em`) : w = y;
1468
1468
  }
1469
1469
  w ? h[_] = w : delete h[_];
1470
1470
  };
@@ -1502,7 +1502,7 @@ const Ne = async (e, t, n) => {
1502
1502
  t.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(),
1503
1503
  t.replace(/([a-z])(\d+)/g, "$1-$2")
1504
1504
  ];
1505
- return await Ie(
1505
+ return await Me(
1506
1506
  r,
1507
1507
  e,
1508
1508
  a,
@@ -1513,7 +1513,7 @@ const Ne = async (e, t, n) => {
1513
1513
  } else
1514
1514
  return await ge(s, e, t, n);
1515
1515
  };
1516
- function In(e) {
1516
+ function Mn(e) {
1517
1517
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1518
1518
  }
1519
1519
  var Nn = [
@@ -1688,7 +1688,7 @@ var Nn = [
1688
1688
  "zmdi",
1689
1689
  "zondicons"
1690
1690
  ];
1691
- const jn = /* @__PURE__ */ In(Nn), Dn = 3;
1691
+ const Dn = /* @__PURE__ */ Mn(Nn), jn = 3;
1692
1692
  function Pn(e) {
1693
1693
  return (t = {}) => {
1694
1694
  const {
@@ -1702,7 +1702,7 @@ function Pn(e) {
1702
1702
  autoInstall: u = !1,
1703
1703
  collectionsNodeResolvePath: i,
1704
1704
  layer: f = "icons",
1705
- unit: p
1705
+ unit: d
1706
1706
  } = t, h = Fn(), g = {
1707
1707
  addXmlNs: !0,
1708
1708
  scale: n,
@@ -1717,7 +1717,7 @@ function Pn(e) {
1717
1717
  trimCustomSvg: !0,
1718
1718
  async iconCustomizer(y, x, w) {
1719
1719
  var b;
1720
- await ((b = c.iconCustomizer) == null ? void 0 : b.call(c, y, x, w)), p && (w.width || (w.width = `${n}${p}`), w.height || (w.height = `${n}${p}`));
1720
+ await ((b = c.iconCustomizer) == null ? void 0 : b.call(c, y, x, w)), d && (w.width || (w.width = `${n}${d}`), w.height || (w.height = `${n}${d}`));
1721
1721
  }
1722
1722
  }
1723
1723
  };
@@ -1732,12 +1732,12 @@ function Pn(e) {
1732
1732
  async ([y, x, w = s]) => {
1733
1733
  let b = "", m = "", S;
1734
1734
  _ = _ || await e(t);
1735
- const d = {};
1735
+ const p = {};
1736
1736
  if (x.includes(":"))
1737
- [b, m] = x.split(":"), S = await _(b, m, { ...g, usedProps: d });
1737
+ [b, m] = x.split(":"), S = await _(b, m, { ...g, usedProps: p });
1738
1738
  else {
1739
1739
  const R = x.split(/-/g);
1740
- for (let $ = Dn; $ >= 1 && (b = R.slice(0, $).join("-"), m = R.slice($).join("-"), S = await _(b, m, { ...g, usedProps: d }), !S); $--)
1740
+ for (let $ = jn; $ >= 1 && (b = R.slice(0, $).join("-"), m = R.slice($).join("-"), S = await _(b, m, { ...g, usedProps: p }), !S); $--)
1741
1741
  ;
1742
1742
  }
1743
1743
  if (!S) {
@@ -1754,12 +1754,12 @@ function Pn(e) {
1754
1754
  "background-color": "currentColor",
1755
1755
  // for Safari https://github.com/elk-zone/elk/pull/264
1756
1756
  color: "inherit",
1757
- ...d
1757
+ ...p
1758
1758
  } : {
1759
1759
  background: `${E} no-repeat`,
1760
1760
  "background-size": "100% 100%",
1761
1761
  "background-color": "transparent",
1762
- ...d
1762
+ ...p
1763
1763
  };
1764
1764
  },
1765
1765
  { layer: f, prefix: o }
@@ -1767,10 +1767,10 @@ function Pn(e) {
1767
1767
  };
1768
1768
  };
1769
1769
  }
1770
- function je(e, t) {
1770
+ function De(e, t) {
1771
1771
  const n = /* @__PURE__ */ new Map();
1772
1772
  function s(o) {
1773
- if (jn.includes(o))
1773
+ if (Dn.includes(o))
1774
1774
  return n.has(o) || n.set(o, e(`${t}@iconify-json/${o}/icons.json`)), n.get(o);
1775
1775
  }
1776
1776
  return async (o, r, a) => {
@@ -1784,13 +1784,13 @@ function je(e, t) {
1784
1784
  r.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(),
1785
1785
  r.replace(/([a-z])(\d+)/g, "$1-$2")
1786
1786
  ];
1787
- l = await Ie(c, o, u, a);
1787
+ l = await Me(c, o, u, a);
1788
1788
  }
1789
1789
  return l;
1790
1790
  };
1791
1791
  }
1792
1792
  function Fn() {
1793
- const e = typeof process < "u" && process.stdout && !process.versions.deno, t = e && !!pe.VSCODE_CWD, n = e && !!pe.ESLINT;
1793
+ const e = typeof process < "u" && process.stdout && !process.versions.deno, t = e && !!de.VSCODE_CWD, n = e && !!de.ESLINT;
1794
1794
  return {
1795
1795
  isNode: e,
1796
1796
  isVSCode: t,
@@ -1798,11 +1798,11 @@ function Fn() {
1798
1798
  };
1799
1799
  }
1800
1800
  function Vn(e) {
1801
- return je(Tt, e);
1801
+ return De(Tt, e);
1802
1802
  }
1803
1803
  const Gn = Pn(async (e) => {
1804
1804
  const t = e == null ? void 0 : e.customFetch, n = e == null ? void 0 : e.cdn;
1805
- return t && n ? je(t, n) : n ? Vn(n) : Ne;
1805
+ return t && n ? De(t, n) : n ? Vn(n) : Ne;
1806
1806
  });
1807
1807
  function Hn(e) {
1808
1808
  return e.replace(/-(\w)/g, (t, n) => n ? n.toUpperCase() : "");
@@ -1839,15 +1839,15 @@ function zn(e) {
1839
1839
  return e.replace(/&amp;/g, "&").replace(/&gt;/g, ">").replace(/&lt;/g, "<");
1840
1840
  }
1841
1841
  function qn(e = {}) {
1842
- var k, T, L;
1842
+ var k, T, U;
1843
1843
  if (typeof window > "u") {
1844
1844
  console.warn("@unocss/runtime been used in non-browser environment, skipped.");
1845
1845
  return;
1846
1846
  }
1847
1847
  const t = window, n = window.document, s = () => n.documentElement, o = t.__unocss || {}, r = Object.assign({}, e, o.runtime), a = r.defaults || {}, l = r.cloakAttribute ?? "un-cloak";
1848
- r.autoPrefix && (a.postprocess = I(a.postprocess)).unshift(Bn(n.createElement("div").style)), (k = r.configResolved) == null || k.call(r, o, a);
1849
- const c = dn(o, a), u = (v) => r.inject ? r.inject(v) : s().prepend(v), i = () => r.rootElement ? r.rootElement() : n.body, f = /* @__PURE__ */ new Map();
1850
- let p = !0, h = /* @__PURE__ */ new Set(), g, _, y = [];
1848
+ r.autoPrefix && (a.postprocess = M(a.postprocess)).unshift(Bn(n.createElement("div").style)), (k = r.configResolved) == null || k.call(r, o, a);
1849
+ const c = pn(o, a), u = (v) => r.inject ? r.inject(v) : s().prepend(v), i = () => r.rootElement ? r.rootElement() : n.body, f = /* @__PURE__ */ new Map();
1850
+ let d = !0, h = /* @__PURE__ */ new Set(), g, _, y = [];
1851
1851
  const x = () => new Promise((v) => {
1852
1852
  y.push(v), _ != null && clearTimeout(_), _ = setTimeout(() => m().then(() => {
1853
1853
  const A = y;
@@ -1868,8 +1868,8 @@ function qn(e = {}) {
1868
1868
  if (C = n.createElement("style"), C.setAttribute("data-unocss-runtime-layer", v), f.set(v, C), A == null)
1869
1869
  u(C);
1870
1870
  else {
1871
- const O = b(A), M = O.parentNode;
1872
- M ? M.insertBefore(C, O.nextSibling) : u(C);
1871
+ const O = b(A), I = O.parentNode;
1872
+ I ? I.insertBefore(C, O.nextSibling) : u(C);
1873
1873
  }
1874
1874
  return C;
1875
1875
  }
@@ -1885,12 +1885,12 @@ function qn(e = {}) {
1885
1885
  const A = h.size;
1886
1886
  await c.applyExtractors(v, void 0, h), A !== h.size && await x();
1887
1887
  }
1888
- async function d(v = i()) {
1888
+ async function p(v = i()) {
1889
1889
  const A = v && v.outerHTML;
1890
1890
  A && (await S(`${A} ${zn(A)}`), w(s()), w(v));
1891
1891
  }
1892
1892
  const E = new MutationObserver((v) => {
1893
- p || v.forEach(async (A) => {
1893
+ d || v.forEach(async (A) => {
1894
1894
  if (A.target.nodeType !== 1)
1895
1895
  return;
1896
1896
  const C = A.target;
@@ -1901,15 +1901,15 @@ function qn(e = {}) {
1901
1901
  A.addedNodes.forEach(async (O) => {
1902
1902
  if (O.nodeType !== 1)
1903
1903
  return;
1904
- const M = O;
1905
- g && !g(M) || (await S(M.outerHTML), w(M));
1904
+ const I = O;
1905
+ g && !g(I) || (await S(I.outerHTML), w(I));
1906
1906
  });
1907
1907
  else {
1908
1908
  if (g && !g(C))
1909
1909
  return;
1910
1910
  if (A.attributeName !== l) {
1911
- const O = Array.from(C.attributes).map((j) => j.value ? `${j.name}="${j.value}"` : j.name).join(" "), M = `<${C.tagName.toLowerCase()} ${O}>`;
1912
- await S(M);
1911
+ const O = Array.from(C.attributes).map((D) => D.value ? `${D.name}="${D.value}"` : D.name).join(" "), I = `<${C.tagName.toLowerCase()} ${O}>`;
1912
+ await S(I);
1913
1913
  }
1914
1914
  C.hasAttribute(l) && C.removeAttribute(l);
1915
1915
  }
@@ -1929,7 +1929,7 @@ function qn(e = {}) {
1929
1929
  }), R = !0);
1930
1930
  }
1931
1931
  function N() {
1932
- r.bypassDefined && Wn(c.blocked), d(), $();
1932
+ r.bypassDefined && Wn(c.blocked), p(), $();
1933
1933
  }
1934
1934
  function P() {
1935
1935
  n.readyState === "loading" ? t.addEventListener("DOMContentLoaded", N) : N();
@@ -1938,19 +1938,19 @@ function qn(e = {}) {
1938
1938
  version: c.version,
1939
1939
  uno: c,
1940
1940
  async extract(v) {
1941
- U(v) || (v.forEach((A) => h.add(A)), v = ""), await S(v);
1941
+ L(v) || (v.forEach((A) => h.add(A)), v = ""), await S(v);
1942
1942
  },
1943
- extractAll: d,
1943
+ extractAll: p,
1944
1944
  inspect(v) {
1945
1945
  g = v;
1946
1946
  },
1947
1947
  toggleObserver(v) {
1948
- v === void 0 ? p = !p : p = !!v, !R && !p && P();
1948
+ v === void 0 ? d = !d : d = !!v, !R && !d && P();
1949
1949
  },
1950
1950
  update: m,
1951
1951
  presets: ((T = t.__unocss_runtime) == null ? void 0 : T.presets) ?? {}
1952
1952
  };
1953
- ((L = r.ready) == null ? void 0 : L.call(r, V)) !== !1 && (p = !1, P());
1953
+ ((U = r.ready) == null ? void 0 : U.call(r, V)) !== !1 && (d = !1, P());
1954
1954
  }
1955
1955
  function Wn(e = /* @__PURE__ */ new Set()) {
1956
1956
  for (let t = 0; t < document.styleSheets.length; t++) {