@vue/devtools-electron 7.0.22 → 7.0.24

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,15 +1,15 @@
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*:/, Be = /"(?: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*:/, Ve = /^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;
2
- function He(e, t) {
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*:/, Be = /^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;
2
+ function Ge(e, t) {
3
3
  if (e === "__proto__" || e === "constructor" && t && typeof t == "object" && "prototype" in t) {
4
- ze(e);
4
+ He(e);
5
5
  return;
6
6
  }
7
7
  return t;
8
8
  }
9
- function ze(e) {
9
+ function He(e) {
10
10
  console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`);
11
11
  }
12
- function Ge(e, t = {}) {
12
+ function ze(e, t = {}) {
13
13
  if (typeof e != "string")
14
14
  return e;
15
15
  const n = e.trim();
@@ -35,16 +35,16 @@ function Ge(e, t = {}) {
35
35
  if (s === "-infinity")
36
36
  return Number.NEGATIVE_INFINITY;
37
37
  }
38
- if (!Ve.test(e)) {
38
+ if (!Be.test(e)) {
39
39
  if (t.strict)
40
40
  throw new SyntaxError("[destr] Invalid JSON");
41
41
  return e;
42
42
  }
43
43
  try {
44
- if (Fe.test(e) || Be.test(e)) {
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, He);
47
+ return JSON.parse(e, Ge);
48
48
  }
49
49
  return JSON.parse(e);
50
50
  } catch (s) {
@@ -53,15 +53,15 @@ function Ge(e, t = {}) {
53
53
  return e;
54
54
  }
55
55
  }
56
- const qe = /#/g, We = /&/g, Je = /\//g, Ke = /=/g, se = /\+/g, Qe = /%5e/gi, Ye = /%60/gi, Xe = /%7c/gi, Ze = /%20/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(Xe, "|");
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(Ye, "`").replace(Qe, "^").replace(Je, "%2F");
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
- function K(e) {
64
- return ee(e).replace(Ke, "%3D");
63
+ function J(e) {
64
+ return ee(e).replace(Je, "%3D");
65
65
  }
66
66
  function Ee(e = "") {
67
67
  try {
@@ -83,19 +83,19 @@ function st(e = "") {
83
83
  const s = n.match(/([^=]+)=?(.*)/) || [];
84
84
  if (s.length < 2)
85
85
  continue;
86
- const r = tt(s[1]);
87
- if (r === "__proto__" || r === "constructor")
86
+ const o = tt(s[1]);
87
+ if (o === "__proto__" || o === "constructor")
88
88
  continue;
89
- const o = nt(s[2] || "");
90
- t[r] === void 0 ? t[r] = o : Array.isArray(t[r]) ? t[r].push(o) : t[r] = [t[r], o];
89
+ const r = nt(s[2] || "");
90
+ t[o] === void 0 ? t[o] = r : Array.isArray(t[o]) ? t[o].push(r) : t[o] = [t[o], r];
91
91
  }
92
92
  return t;
93
93
  }
94
- function rt(e, t) {
95
- return (typeof t == "number" || typeof t == "boolean") && (t = String(t)), t ? Array.isArray(t) ? t.map((n) => `${K(e)}=${ee(n)}`).join("&") : `${K(e)}=${ee(t)}` : K(e);
94
+ function ot(e, t) {
95
+ return (typeof t == "number" || typeof t == "boolean") && (t = String(t)), t ? Array.isArray(t) ? t.map((n) => `${J(e)}=${ee(n)}`).join("&") : `${J(e)}=${ee(t)}` : J(e);
96
96
  }
97
- function ot(e) {
98
- return Object.keys(e).filter((t) => e[t] !== void 0).map((t) => rt(t, e[t])).filter(Boolean).join("&");
97
+ function rt(e) {
98
+ return Object.keys(e).filter((t) => e[t] !== void 0).map((t) => ot(t, e[t])).filter(Boolean).join("&");
99
99
  }
100
100
  const it = /^[\s\w\0+.-]{2,}:([/\\]{1,2})/, at = /^[\s\w\0+.-]{2,}:([/\\]{2})?/, ct = /^([/\\]\s*){2,}[^/\\]/, lt = /\/$|\/\?|\/#/, ut = /^\.?\//;
101
101
  function xe(e, t = {}) {
@@ -110,10 +110,10 @@ function ft(e = "", t) {
110
110
  if (!te(e, !0))
111
111
  return e || "/";
112
112
  let n = e, s = "";
113
- const r = e.indexOf("#");
114
- r >= 0 && (n = e.slice(0, r), s = e.slice(r));
115
- const [o, ...a] = n.split("?");
116
- return (o.slice(0, -1) || "/") + (a.length > 0 ? `?${a.join("?")}` : "") + s;
113
+ const o = e.indexOf("#");
114
+ o >= 0 && (n = e.slice(0, o), s = e.slice(o));
115
+ const [r, ...a] = n.split("?");
116
+ return (r.slice(0, -1) || "/") + (a.length > 0 ? `?${a.join("?")}` : "") + s;
117
117
  }
118
118
  function pt(e = "", t) {
119
119
  if (!t)
@@ -121,11 +121,11 @@ function pt(e = "", t) {
121
121
  if (te(e, !0))
122
122
  return e || "/";
123
123
  let n = e, s = "";
124
- const r = e.indexOf("#");
125
- if (r >= 0 && (n = e.slice(0, r), s = e.slice(r), !n))
124
+ const o = e.indexOf("#");
125
+ if (o >= 0 && (n = e.slice(0, o), s = e.slice(o), !n))
126
126
  return s;
127
- const [o, ...a] = n.split("?");
128
- return o + "/" + (a.length > 0 ? `?${a.join("?")}` : "") + s;
127
+ const [r, ...a] = n.split("?");
128
+ return r + "/" + (a.length > 0 ? `?${a.join("?")}` : "") + s;
129
129
  }
130
130
  function dt(e, t) {
131
131
  if (ht(t) || xe(e))
@@ -135,7 +135,7 @@ function dt(e, t) {
135
135
  }
136
136
  function mt(e, t) {
137
137
  const n = Ae(e), s = { ...st(n.search), ...t };
138
- return n.search = ot(s), yt(n);
138
+ return n.search = rt(s), yt(n);
139
139
  }
140
140
  function ht(e) {
141
141
  return !e || e === "/";
@@ -145,10 +145,10 @@ function _t(e) {
145
145
  }
146
146
  function gt(e, ...t) {
147
147
  let n = e || "";
148
- for (const s of t.filter((r) => _t(r)))
148
+ for (const s of t.filter((o) => _t(o)))
149
149
  if (n) {
150
- const r = s.replace(ut, "");
151
- n = pt(n) + r;
150
+ const o = s.replace(ut, "");
151
+ n = pt(n) + o;
152
152
  } else
153
153
  n = s;
154
154
  return n;
@@ -172,12 +172,12 @@ function Ae(e = "", t) {
172
172
  }
173
173
  if (!xe(e, { acceptRelative: !0 }))
174
174
  return t ? Ae(t + e) : ae(e);
175
- const [, s = "", r, o = ""] = e.replace(/\\/g, "/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/) || [], [, a = "", l = ""] = o.match(/([^#/?]*)(.*)?/) || [], { pathname: c, search: f, hash: i } = ae(
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
  );
178
178
  return {
179
179
  protocol: s.toLowerCase(),
180
- auth: r ? r.slice(0, Math.max(0, r.length - 1)) : "",
180
+ auth: o ? o.slice(0, Math.max(0, o.length - 1)) : "",
181
181
  host: a,
182
182
  pathname: c,
183
183
  search: f,
@@ -194,8 +194,8 @@ function ae(e = "") {
194
194
  };
195
195
  }
196
196
  function yt(e) {
197
- const t = e.pathname || "", n = e.search ? (e.search.startsWith("?") ? "" : "?") + e.search : "", s = e.hash || "", r = e.auth ? e.auth + "@" : "", o = e.host || "";
198
- return (e.protocol || e[Ce] ? (e.protocol || "") + "//" : "") + r + o + t + n + s;
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[Ce] ? (e.protocol || "") + "//" : "") + o + r + t + n + s;
199
199
  }
200
200
  class bt extends Error {
201
201
  constructor(t, n) {
@@ -204,7 +204,7 @@ class bt extends Error {
204
204
  }
205
205
  function vt(e) {
206
206
  var c, f, i, u, d;
207
- const t = ((c = e.error) == null ? void 0 : c.message) || ((f = e.error) == null ? void 0 : f.toString()) || "", n = ((i = e.request) == null ? void 0 : i.method) || ((u = e.options) == null ? void 0 : u.method) || "GET", s = ((d = e.request) == null ? void 0 : d.url) || String(e.request) || "/", r = `[${n}] ${JSON.stringify(s)}`, o = e.response ? `${e.response.status} ${e.response.statusText}` : "<no response>", a = `${r}: ${o}${t ? ` ${t}` : ""}`, l = new bt(
207
+ const t = ((c = e.error) == null ? void 0 : c.message) || ((f = e.error) == null ? void 0 : f.toString()) || "", n = ((i = e.request) == null ? void 0 : i.method) || ((u = e.options) == null ? void 0 : u.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 bt(
208
208
  a,
209
209
  e.error ? { cause: e.error } : void 0
210
210
  );
@@ -265,12 +265,12 @@ function At(e, t, n = globalThis.Headers) {
265
265
  ...e == null ? void 0 : e.query
266
266
  }), t != null && t.headers && (e != null && e.headers)) {
267
267
  s.headers = new n((t == null ? void 0 : t.headers) || {});
268
- for (const [r, o] of new n((e == null ? void 0 : e.headers) || {}))
269
- s.headers.set(r, o);
268
+ for (const [o, r] of new n((e == null ? void 0 : e.headers) || {}))
269
+ s.headers.set(o, r);
270
270
  }
271
271
  return s;
272
272
  }
273
- const $t = /* @__PURE__ */ new Set([
273
+ const Ot = /* @__PURE__ */ new Set([
274
274
  408,
275
275
  // Request Timeout
276
276
  409,
@@ -288,21 +288,21 @@ const $t = /* @__PURE__ */ new Set([
288
288
  504
289
289
  // Gateway Timeout
290
290
  ]), Rt = /* @__PURE__ */ new Set([101, 204, 205, 304]);
291
- function $e(e = {}) {
291
+ function Oe(e = {}) {
292
292
  const {
293
293
  fetch: t = globalThis.fetch,
294
294
  Headers: n = globalThis.Headers,
295
295
  AbortController: s = globalThis.AbortController
296
296
  } = e;
297
- async function r(l) {
297
+ async function o(l) {
298
298
  const c = l.error && l.error.name === "AbortError" && !l.options.timeout || !1;
299
299
  if (l.options.retry !== !1 && !c) {
300
300
  let i;
301
301
  typeof l.options.retry == "number" ? i = l.options.retry : i = ce(l.options.method) ? 0 : 1;
302
302
  const u = l.response && l.response.status || 500;
303
- if (i > 0 && (Array.isArray(l.options.retryStatusCodes) ? l.options.retryStatusCodes.includes(u) : $t.has(u))) {
303
+ if (i > 0 && (Array.isArray(l.options.retryStatusCodes) ? l.options.retryStatusCodes.includes(u) : Ot.has(u))) {
304
304
  const d = l.options.retryDelay || 0;
305
- return d > 0 && await new Promise((m) => setTimeout(m, d)), o(l.request, {
305
+ return d > 0 && await new Promise((m) => setTimeout(m, d)), r(l.request, {
306
306
  ...l.options,
307
307
  retry: i - 1,
308
308
  timeout: l.options.timeout
@@ -310,9 +310,9 @@ function $e(e = {}) {
310
310
  }
311
311
  }
312
312
  const f = vt(l);
313
- throw Error.captureStackTrace && Error.captureStackTrace(f, o), f;
313
+ throw Error.captureStackTrace && Error.captureStackTrace(f, r), f;
314
314
  }
315
- const o = async function(c, f = {}) {
315
+ const r = async function(c, f = {}) {
316
316
  var d;
317
317
  const i = {
318
318
  request: c,
@@ -337,13 +337,13 @@ function $e(e = {}) {
337
337
  i.options
338
338
  );
339
339
  } catch (m) {
340
- return i.error = m, i.options.onRequestError && await i.options.onRequestError(i), await r(i);
340
+ return i.error = m, i.options.onRequestError && await i.options.onRequestError(i), await o(i);
341
341
  }
342
342
  if (i.response.body && !Rt.has(i.response.status) && i.options.method !== "HEAD") {
343
343
  const m = (i.options.parseResponse ? "json" : i.options.responseType) || Ct(i.response.headers.get("content-type") || "");
344
344
  switch (m) {
345
345
  case "json": {
346
- const y = await i.response.text(), h = i.options.parseResponse || Ge;
346
+ const y = await i.response.text(), h = i.options.parseResponse || ze;
347
347
  i.response._data = h(y);
348
348
  break;
349
349
  }
@@ -355,11 +355,11 @@ function $e(e = {}) {
355
355
  i.response._data = await i.response[m]();
356
356
  }
357
357
  }
358
- return i.options.onResponse && await i.options.onResponse(i), !i.options.ignoreResponseError && i.response.status >= 400 && i.response.status < 600 ? (i.options.onResponseError && await i.options.onResponseError(i), await r(i)) : i.response;
358
+ return i.options.onResponse && await i.options.onResponse(i), !i.options.ignoreResponseError && i.response.status >= 400 && i.response.status < 600 ? (i.options.onResponseError && await i.options.onResponseError(i), await o(i)) : i.response;
359
359
  }, a = async function(c, f) {
360
- return (await o(c, f))._data;
360
+ return (await r(c, f))._data;
361
361
  };
362
- return a.raw = o, a.native = (...l) => t(...l), a.create = (l = {}) => $e({
362
+ return a.raw = r, a.native = (...l) => t(...l), a.create = (l = {}) => Oe({
363
363
  ...e,
364
364
  defaults: {
365
365
  ...e.defaults,
@@ -367,7 +367,7 @@ function $e(e = {}) {
367
367
  }
368
368
  }), a;
369
369
  }
370
- const re = function() {
370
+ const oe = function() {
371
371
  if (typeof globalThis < "u")
372
372
  return globalThis;
373
373
  if (typeof self < "u")
@@ -377,30 +377,30 @@ const re = function() {
377
377
  if (typeof global < "u")
378
378
  return global;
379
379
  throw new Error("unable to locate global object");
380
- }(), Ot = re.fetch || (() => Promise.reject(new Error("[ofetch] global.fetch is not supported!"))), kt = re.Headers, Lt = re.AbortController, Tt = $e({ fetch: Ot, Headers: kt, AbortController: Lt }), Mt = Tt;
380
+ }(), kt = oe.fetch || (() => Promise.reject(new Error("[ofetch] global.fetch is not supported!"))), $t = oe.Headers, Tt = oe.AbortController, Lt = Oe({ fetch: kt, Headers: $t, AbortController: Tt }), Mt = Lt;
381
381
  function Ut(e) {
382
382
  const t = e.length;
383
- let n = -1, s, r = "";
384
- const o = e.charCodeAt(0);
383
+ let n = -1, s, o = "";
384
+ const r = e.charCodeAt(0);
385
385
  for (; ++n < t; ) {
386
386
  if (s = e.charCodeAt(n), s === 0) {
387
- r += "�";
387
+ o += "�";
388
388
  continue;
389
389
  }
390
390
  if (s === 37) {
391
- r += "\\%";
391
+ o += "\\%";
392
392
  continue;
393
393
  }
394
394
  if (s === 44) {
395
- r += "\\,";
395
+ o += "\\,";
396
396
  continue;
397
397
  }
398
398
  if (
399
399
  // If the character is in the range [\1-\1F] (U+0001 to U+001F) or is
400
400
  // U+007F, […]
401
- s >= 1 && s <= 31 || s === 127 || n === 0 && s >= 48 && s <= 57 || n === 1 && s >= 48 && s <= 57 && o === 45
401
+ s >= 1 && s <= 31 || s === 127 || n === 0 && s >= 48 && s <= 57 || n === 1 && s >= 48 && s <= 57 && r === 45
402
402
  ) {
403
- r += `\\${s.toString(16)} `;
403
+ o += `\\${s.toString(16)} `;
404
404
  continue;
405
405
  }
406
406
  if (
@@ -408,82 +408,82 @@ function Ut(e) {
408
408
  // there is no second character, […]
409
409
  n === 0 && t === 1 && s === 45
410
410
  ) {
411
- r += `\\${e.charAt(n)}`;
411
+ o += `\\${e.charAt(n)}`;
412
412
  continue;
413
413
  }
414
414
  if (s >= 128 || s === 45 || s === 95 || s >= 48 && s <= 57 || s >= 65 && s <= 90 || s >= 97 && s <= 122) {
415
- r += e.charAt(n);
415
+ o += e.charAt(n);
416
416
  continue;
417
417
  }
418
- r += `\\${e.charAt(n)}`;
418
+ o += `\\${e.charAt(n)}`;
419
419
  }
420
- return r;
420
+ return o;
421
421
  }
422
- const Q = Ut;
423
- function N(e = []) {
422
+ const X = Ut;
423
+ function I(e = []) {
424
424
  return Array.isArray(e) ? e : [e];
425
425
  }
426
426
  function W(e) {
427
427
  return Array.from(new Set(e));
428
428
  }
429
- function Nt(e, t) {
430
- return e.reduce((n, s) => (n.findIndex((o) => t(s, o)) === -1 && n.push(s), n), []);
429
+ function It(e, t) {
430
+ return e.reduce((n, s) => (n.findIndex((r) => t(s, r)) === -1 && n.push(s), n), []);
431
431
  }
432
432
  function U(e) {
433
433
  return typeof e == "string";
434
434
  }
435
- function V(e) {
435
+ function B(e) {
436
436
  return U(e) ? e : (Array.isArray(e) ? e : Object.entries(e)).filter((t) => t[1] != null);
437
437
  }
438
- function jt(e) {
439
- return Array.isArray(e) ? e.find((t) => !Array.isArray(t) || Array.isArray(t[0])) ? e.map((t) => V(t)) : [e] : [V(e)];
438
+ function Nt(e) {
439
+ return Array.isArray(e) ? e.find((t) => !Array.isArray(t) || Array.isArray(t[0])) ? e.map((t) => B(t)) : [e] : [B(e)];
440
440
  }
441
- function It(e) {
441
+ function Dt(e) {
442
442
  return e.filter(([t, n], s) => {
443
443
  if (t.startsWith("$$"))
444
444
  return !1;
445
- for (let r = s - 1; r >= 0; r--)
446
- if (e[r][0] === t && e[r][1] === n)
445
+ for (let o = s - 1; o >= 0; o--)
446
+ if (e[o][0] === t && e[o][1] === n)
447
447
  return !1;
448
448
  return !0;
449
449
  });
450
450
  }
451
- function Y(e) {
452
- return e == null ? "" : It(e).map(([t, n]) => n != null ? `${t}:${n};` : void 0).filter(Boolean).join("");
451
+ function Q(e) {
452
+ return e == null ? "" : Dt(e).map(([t, n]) => n != null ? `${t}:${n};` : void 0).filter(Boolean).join("");
453
453
  }
454
- function H(e) {
454
+ function G(e) {
455
455
  return e && typeof e == "object" && !Array.isArray(e);
456
456
  }
457
457
  function Re(e, t, n = !1) {
458
- const s = e, r = t;
459
- if (Array.isArray(r))
460
- return n && Array.isArray(r) ? [...s, ...r] : [...r];
461
- const o = { ...s };
462
- return H(s) && H(r) && Object.keys(r).forEach((a) => {
463
- H(s[a]) && H(r[a]) || Array.isArray(s[a]) && Array.isArray(r[a]) ? o[a] = Re(s[a], r[a], n) : Object.assign(o, { [a]: r[a] });
464
- }), o;
465
- }
466
- function G(e) {
458
+ const s = e, o = t;
459
+ if (Array.isArray(o))
460
+ return n && Array.isArray(o) ? [...s, ...o] : [...o];
461
+ const r = { ...s };
462
+ return G(s) && G(o) && Object.keys(o).forEach((a) => {
463
+ G(s[a]) && G(o[a]) || Array.isArray(s[a]) && Array.isArray(o[a]) ? r[a] = Re(s[a], o[a], n) : Object.assign(r, { [a]: o[a] });
464
+ }), r;
465
+ }
466
+ function z(e) {
467
467
  let t, n, s;
468
468
  if (Array.isArray(e)) {
469
469
  for (n = Array(t = e.length); t--; )
470
- n[t] = (s = e[t]) && typeof s == "object" ? G(s) : s;
470
+ n[t] = (s = e[t]) && typeof s == "object" ? z(s) : s;
471
471
  return n;
472
472
  }
473
473
  if (Object.prototype.toString.call(e) === "[object Object]") {
474
474
  n = {};
475
475
  for (t in e)
476
476
  t === "__proto__" ? Object.defineProperty(n, t, {
477
- value: G(e[t]),
477
+ value: z(e[t]),
478
478
  configurable: !0,
479
479
  enumerable: !0,
480
480
  writable: !0
481
- }) : n[t] = (s = e[t]) && typeof s == "object" ? G(s) : s;
481
+ }) : n[t] = (s = e[t]) && typeof s == "object" ? z(s) : s;
482
482
  return n;
483
483
  }
484
484
  return e;
485
485
  }
486
- function Dt(e) {
486
+ function jt(e) {
487
487
  return U(e[0]);
488
488
  }
489
489
  function Pt(e) {
@@ -496,15 +496,15 @@ function Ft(e) {
496
496
  function ue(e) {
497
497
  return e.length === 3;
498
498
  }
499
- function Bt(e) {
499
+ function Vt(e) {
500
500
  return e != null;
501
501
  }
502
- function Vt() {
502
+ function Bt() {
503
503
  }
504
- var Ht = Object.defineProperty, zt = (e, t, n) => t in e ? Ht(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Gt = (e, t, n) => (zt(e, typeof t != "symbol" ? t + "" : t, n), n);
504
+ var Gt = Object.defineProperty, Ht = (e, t, n) => t in e ? Gt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, zt = (e, t, n) => (Ht(e, typeof t != "symbol" ? t + "" : t, n), n);
505
505
  class qt {
506
506
  constructor() {
507
- Gt(this, "_map", /* @__PURE__ */ new Map());
507
+ zt(this, "_map", /* @__PURE__ */ new Map());
508
508
  }
509
509
  get(t, n) {
510
510
  const s = this._map.get(t);
@@ -512,12 +512,12 @@ class qt {
512
512
  return s.get(n);
513
513
  }
514
514
  getFallback(t, n, s) {
515
- let r = this._map.get(t);
516
- return r || (r = /* @__PURE__ */ new Map(), this._map.set(t, r)), r.has(n) || r.set(n, s), r.get(n);
515
+ let o = this._map.get(t);
516
+ return o || (o = /* @__PURE__ */ new Map(), this._map.set(t, o)), o.has(n) || o.set(n, s), o.get(n);
517
517
  }
518
518
  set(t, n, s) {
519
- let r = this._map.get(t);
520
- return r || (r = /* @__PURE__ */ new Map(), this._map.set(t, r)), r.set(n, s), this;
519
+ let o = this._map.get(t);
520
+ return o || (o = /* @__PURE__ */ new Map(), this._map.set(t, o)), o.set(n, s), this;
521
521
  }
522
522
  has(t, n) {
523
523
  var s;
@@ -531,7 +531,7 @@ class qt {
531
531
  return this._map.delete(t);
532
532
  }
533
533
  map(t) {
534
- return Array.from(this._map.entries()).flatMap(([n, s]) => Array.from(s.entries()).map(([r, o]) => t(o, n, r)));
534
+ return Array.from(this._map.entries()).flatMap(([n, s]) => Array.from(s.entries()).map(([o, r]) => t(r, n, o)));
535
535
  }
536
536
  }
537
537
  class Wt extends Map {
@@ -541,21 +541,21 @@ class Wt extends Map {
541
541
  }
542
542
  map(t) {
543
543
  const n = [];
544
- return this.forEach((s, r) => {
545
- n.push(t(s, r));
544
+ return this.forEach((s, o) => {
545
+ n.push(t(s, o));
546
546
  }), n;
547
547
  }
548
548
  flatMap(t) {
549
549
  const n = [];
550
- return this.forEach((s, r) => {
551
- n.push(...t(s, r));
550
+ return this.forEach((s, o) => {
551
+ n.push(...t(s, o));
552
552
  }), n;
553
553
  }
554
554
  }
555
- var Jt = Object.defineProperty, Kt = (e, t, n) => t in e ? Jt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Qt = (e, t, n) => (Kt(e, typeof t != "symbol" ? t + "" : t, n), n);
556
- class Oe extends Set {
555
+ var Kt = Object.defineProperty, Jt = (e, t, n) => t in e ? Kt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Xt = (e, t, n) => (Jt(e, typeof t != "symbol" ? t + "" : t, n), n);
556
+ class ke extends Set {
557
557
  constructor(t) {
558
- super(t), Qt(this, "_map"), this._map ?? (this._map = /* @__PURE__ */ new Map());
558
+ super(t), Xt(this, "_map"), this._map ?? (this._map = /* @__PURE__ */ new Map());
559
559
  }
560
560
  add(t) {
561
561
  return this._map ?? (this._map = /* @__PURE__ */ new Map()), this._map.set(t, (this._map.get(t) ?? 0) + 1), super.add(t);
@@ -573,26 +573,26 @@ class Oe extends Set {
573
573
  return this._map.set(t, n), super.add(t);
574
574
  }
575
575
  }
576
- function X(e) {
577
- return e instanceof Oe;
576
+ function Y(e) {
577
+ return e instanceof ke;
578
578
  }
579
- const z = {};
580
- function Yt(e = ["-", ":"]) {
579
+ const H = {};
580
+ function Qt(e = ["-", ":"]) {
581
581
  const t = e.join("|");
582
- return z[t] || (z[t] = new RegExp(`((?:[!@<~\\w+:_/-]|\\[&?>?:?\\S*\\])+?)(${t})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[.*?\\])+?)\\)(?!\\s*?=>)`, "gm")), z[t].lastIndex = 0, z[t];
582
+ return H[t] || (H[t] = new RegExp(`((?:[!@<~\\w+:_/-]|\\[&?>?:?\\S*\\])+?)(${t})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[.*?\\])+?)\\)(?!\\s*?=>)`, "gm")), H[t].lastIndex = 0, H[t];
583
583
  }
584
- function Xt(e, t = ["-", ":"], n = 5) {
585
- const s = Yt(t);
586
- let r, o = e.toString();
584
+ function Yt(e, t = ["-", ":"], n = 5) {
585
+ const s = Qt(t);
586
+ let o, r = e.toString();
587
587
  const a = /* @__PURE__ */ new Set(), l = /* @__PURE__ */ new Map();
588
588
  do
589
- r = !1, o = o.replace(
589
+ o = !1, r = r.replace(
590
590
  s,
591
591
  (f, i, u, d, m) => {
592
592
  var v;
593
593
  if (!t.includes(u))
594
594
  return f;
595
- r = !0, a.add(i + u);
595
+ o = !0, a.add(i + u);
596
596
  const y = m + i.length + u.length + 1, h = { length: f.length, items: [] };
597
597
  l.set(m, h);
598
598
  for (const A of [...d.matchAll(/\S+/g)]) {
@@ -609,7 +609,7 @@ function Xt(e, t = ["-", ":"], n = 5) {
609
609
  return "$".repeat(f.length);
610
610
  }
611
611
  ), n -= 1;
612
- while (r && n);
612
+ while (o && n);
613
613
  let c;
614
614
  if (typeof e == "string") {
615
615
  c = "";
@@ -628,7 +628,7 @@ function Xt(e, t = ["-", ":"], n = 5) {
628
628
  }
629
629
  return {
630
630
  prefixes: Array.from(a),
631
- hasChanged: r,
631
+ hasChanged: o,
632
632
  groupsByOffset: l,
633
633
  // Computed lazily because MagicString's toString does a lot of work
634
634
  get expanded() {
@@ -637,11 +637,11 @@ function Xt(e, t = ["-", ":"], n = 5) {
637
637
  };
638
638
  }
639
639
  function Zt(e, t = ["-", ":"], n = 5) {
640
- const s = Xt(e, t, n);
640
+ const s = Yt(e, t, n);
641
641
  return typeof e == "string" ? s.expanded : e;
642
642
  }
643
643
  const fe = /* @__PURE__ */ new Set();
644
- function ke(e) {
644
+ function $e(e) {
645
645
  fe.has(e) || (console.warn("[unocss]", e), fe.add(e));
646
646
  }
647
647
  const en = /[\\:]?[\s'"`;{}]+/g;
@@ -666,14 +666,14 @@ function sn() {
666
666
  }
667
667
  };
668
668
  }
669
- const q = "default", ne = "preflights", rn = "shortcuts", on = "imports", an = {
670
- [on]: -200,
669
+ const q = "default", ne = "preflights", on = "shortcuts", rn = "imports", an = {
670
+ [rn]: -200,
671
671
  [ne]: -100,
672
- [rn]: -10,
672
+ [on]: -10,
673
673
  [q]: 0
674
674
  };
675
- function Le(e) {
676
- return N(e).flatMap((t) => Array.isArray(t) ? [t] : Object.entries(t));
675
+ function Te(e) {
676
+ return I(e).flatMap((t) => Array.isArray(t) ? [t] : Object.entries(t));
677
677
  }
678
678
  const pe = "_uno_resolved";
679
679
  function cn(e) {
@@ -685,64 +685,64 @@ function cn(e) {
685
685
  value: !0,
686
686
  enumerable: !1
687
687
  });
688
- const n = t.shortcuts ? Le(t.shortcuts) : void 0;
688
+ const n = t.shortcuts ? Te(t.shortcuts) : void 0;
689
689
  if (t.shortcuts = n, t.prefix || t.layer) {
690
- const r = (o) => {
691
- o[2] || (o[2] = {});
692
- const a = o[2];
693
- a.prefix == null && t.prefix && (a.prefix = N(t.prefix)), a.layer == null && t.layer && (a.layer = t.layer);
690
+ const o = (r) => {
691
+ r[2] || (r[2] = {});
692
+ const a = r[2];
693
+ a.prefix == null && t.prefix && (a.prefix = I(t.prefix)), a.layer == null && t.layer && (a.layer = t.layer);
694
694
  };
695
- n == null || n.forEach(r), (s = t.rules) == null || s.forEach(r);
695
+ n == null || n.forEach(o), (s = t.rules) == null || s.forEach(o);
696
696
  }
697
697
  return t;
698
698
  }
699
- function Te(e) {
699
+ function Le(e) {
700
700
  const t = cn(e);
701
701
  if (!t.presets)
702
702
  return [t];
703
- const n = (t.presets || []).flatMap(N).flatMap(Te);
703
+ const n = (t.presets || []).flatMap(I).flatMap(Le);
704
704
  return [t, ...n];
705
705
  }
706
706
  function de(e = {}, t = {}) {
707
707
  var S, b;
708
- const n = Object.assign({}, t, e), s = Nt((n.presets || []).flatMap(N).flatMap(Te), (p, w) => p.name === w.name), r = [
708
+ const n = Object.assign({}, t, e), s = It((n.presets || []).flatMap(I).flatMap(Le), (p, w) => p.name === w.name), o = [
709
709
  ...s.filter((p) => p.enforce === "pre"),
710
710
  ...s.filter((p) => !p.enforce),
711
711
  ...s.filter((p) => p.enforce === "post")
712
- ], o = [
713
- ...r,
712
+ ], r = [
713
+ ...o,
714
714
  n
715
- ], a = [...o].reverse(), l = Object.assign({}, an, ...o.map((p) => p.layers));
715
+ ], a = [...r].reverse(), l = Object.assign({}, an, ...r.map((p) => p.layers));
716
716
  function c(p) {
717
- return W(o.flatMap((w) => N(w[p] || [])));
717
+ return W(r.flatMap((w) => I(w[p] || [])));
718
718
  }
719
719
  const f = c("extractors");
720
720
  let i = (S = a.find((p) => p.extractorDefault !== void 0)) == null ? void 0 : S.extractorDefault;
721
721
  i === void 0 && (i = nn), i && !f.includes(i) && f.unshift(i), f.sort((p, w) => (p.order || 0) - (w.order || 0));
722
722
  const u = c("rules"), d = {}, m = u.length, y = u.map((p, w) => {
723
723
  var R;
724
- if (Dt(p)) {
725
- N(((R = p[2]) == null ? void 0 : R.prefix) || "").forEach((T) => {
726
- d[T + p[0]] = [w, p[1], p[2], p];
724
+ if (jt(p)) {
725
+ I(((R = p[2]) == null ? void 0 : R.prefix) || "").forEach((L) => {
726
+ d[L + p[0]] = [w, p[1], p[2], p];
727
727
  });
728
728
  return;
729
729
  }
730
730
  return [w, ...p];
731
731
  }).filter(Boolean).reverse();
732
- let h = ln(o.map((p) => p.theme));
732
+ let h = ln(r.map((p) => p.theme));
733
733
  const v = c("extendTheme");
734
734
  for (const p of v)
735
735
  h = p(h) || h;
736
736
  const A = {
737
- templates: W(o.flatMap((p) => {
737
+ templates: W(r.flatMap((p) => {
738
738
  var w;
739
- return N((w = p.autocomplete) == null ? void 0 : w.templates);
739
+ return I((w = p.autocomplete) == null ? void 0 : w.templates);
740
740
  })),
741
- extractors: o.flatMap((p) => {
741
+ extractors: r.flatMap((p) => {
742
742
  var w;
743
- return N((w = p.autocomplete) == null ? void 0 : w.extractors);
743
+ return I((w = p.autocomplete) == null ? void 0 : w.extractors);
744
744
  }).sort((p, w) => (p.order || 0) - (w.order || 0)),
745
- shorthands: un(o.map((p) => {
745
+ shorthands: un(r.map((p) => {
746
746
  var w;
747
747
  return ((w = p.autocomplete) == null ? void 0 : w.shorthands) || {};
748
748
  }))
@@ -755,7 +755,7 @@ function de(e = {}, t = {}) {
755
755
  sortLayers: (p) => p,
756
756
  ...n,
757
757
  blocklist: c("blocklist"),
758
- presets: r,
758
+ presets: o,
759
759
  envMode: n.envMode || "build",
760
760
  shortcutsLayer: n.shortcutsLayer || "shortcuts",
761
761
  layers: l,
@@ -768,25 +768,25 @@ function de(e = {}, t = {}) {
768
768
  preflights: c("preflights"),
769
769
  autocomplete: A,
770
770
  variants: c("variants").map(Ft).sort((p, w) => (p.order || 0) - (w.order || 0)),
771
- shortcuts: Le(c("shortcuts")).reverse(),
771
+ shortcuts: Te(c("shortcuts")).reverse(),
772
772
  extractors: f,
773
773
  safelist: c("safelist"),
774
774
  separators: x,
775
775
  details: n.details ?? n.envMode === "dev"
776
776
  };
777
- for (const p of o)
777
+ for (const p of r)
778
778
  (b = p == null ? void 0 : p.configResolved) == null || b.call(p, g);
779
779
  return g;
780
780
  }
781
781
  function ln(e) {
782
- return e.map((t) => t ? G(t) : {}).reduce((t, n) => Re(t, n), {});
782
+ return e.map((t) => t ? z(t) : {}).reduce((t, n) => Re(t, n), {});
783
783
  }
784
784
  function un(e) {
785
785
  return e.reduce((t, n) => {
786
786
  const s = {};
787
- for (const r in n) {
788
- const o = n[r];
789
- Array.isArray(o) ? s[r] = `(${o.join("|")})` : s[r] = o;
787
+ for (const o in n) {
788
+ const r = n[o];
789
+ Array.isArray(r) ? s[o] = `(${r.join("|")})` : s[o] = r;
790
790
  }
791
791
  return {
792
792
  ...t,
@@ -795,17 +795,17 @@ function un(e) {
795
795
  }, {});
796
796
  }
797
797
  const fn = "0.58.6";
798
- var pn = Object.defineProperty, dn = (e, t, n) => t in e ? pn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, I = (e, t, n) => (dn(e, typeof t != "symbol" ? t + "" : t, n), n);
798
+ var pn = Object.defineProperty, dn = (e, t, n) => t in e ? pn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, D = (e, t, n) => (dn(e, typeof t != "symbol" ? t + "" : t, n), n);
799
799
  class mn {
800
800
  constructor(t = {}, n = {}) {
801
- this.userConfig = t, this.defaults = n, I(this, "version", fn), I(this, "_cache", /* @__PURE__ */ new Map()), I(this, "config"), I(this, "blocked", /* @__PURE__ */ new Set()), I(this, "parentOrders", /* @__PURE__ */ new Map()), I(this, "events", sn()), this.config = de(t, n), this.events.emit("config", this.config);
801
+ this.userConfig = t, this.defaults = n, D(this, "version", fn), D(this, "_cache", /* @__PURE__ */ new Map()), D(this, "config"), D(this, "blocked", /* @__PURE__ */ new Set()), D(this, "parentOrders", /* @__PURE__ */ new Map()), D(this, "events", sn()), this.config = de(t, n), this.events.emit("config", this.config);
802
802
  }
803
803
  setConfig(t, n) {
804
804
  t && (n && (this.defaults = n), this.userConfig = t, this.blocked.clear(), this.parentOrders.clear(), this._cache.clear(), this.config = de(t, this.defaults), this.events.emit("config", this.config));
805
805
  }
806
806
  async applyExtractors(t, n, s = /* @__PURE__ */ new Set()) {
807
- var o;
808
- const r = {
807
+ var r;
808
+ const o = {
809
809
  original: t,
810
810
  code: t,
811
811
  id: n,
@@ -813,9 +813,9 @@ class mn {
813
813
  envMode: this.config.envMode
814
814
  };
815
815
  for (const a of this.config.extractors) {
816
- const l = await ((o = a.extract) == null ? void 0 : o.call(a, r));
816
+ const l = await ((r = a.extract) == null ? void 0 : r.call(a, o));
817
817
  if (l)
818
- if (X(l) && X(s))
818
+ if (Y(l) && Y(s))
819
819
  for (const c of l)
820
820
  s.setCount(c, s.getCount(c) + l.getCount(c));
821
821
  else
@@ -831,7 +831,7 @@ class mn {
831
831
  theme: this.config.theme,
832
832
  generator: this,
833
833
  variantHandlers: n[2],
834
- constructCSS: (...r) => this.constructCustomCSS(s, ...r),
834
+ constructCSS: (...o) => this.constructCustomCSS(s, ...o),
835
835
  variantMatch: n
836
836
  };
837
837
  return s;
@@ -843,21 +843,21 @@ class mn {
843
843
  const s = `${t}${n ? ` ${n}` : ""}`;
844
844
  if (this._cache.has(s))
845
845
  return this._cache.get(s);
846
- let r = t;
846
+ let o = t;
847
847
  for (const i of this.config.preprocess)
848
- r = i(t);
849
- if (this.isBlocked(r)) {
848
+ o = i(t);
849
+ if (this.isBlocked(o)) {
850
850
  this.blocked.add(t), this._cache.set(s, null);
851
851
  return;
852
852
  }
853
- const o = await this.matchVariants(t, r);
854
- if (!o || this.isBlocked(o[1])) {
853
+ const r = await this.matchVariants(t, o);
854
+ if (!r || this.isBlocked(r[1])) {
855
855
  this.blocked.add(t), this._cache.set(s, null);
856
856
  return;
857
857
  }
858
- const a = this.makeContext(t, [n || o[0], o[1], o[2], o[3]]);
859
- this.config.details && (a.variants = [...o[3]]);
860
- const l = await this.expandShortcut(a.currentSelector, a), c = l ? await this.stringifyShortcuts(a.variantMatch, a, l[0], l[1]) : (f = await this.parseUtil(a.variantMatch, a)) == null ? void 0 : f.map((i) => this.stringifyUtil(i, a)).filter(Bt);
858
+ const a = this.makeContext(t, [n || r[0], r[1], r[2], r[3]]);
859
+ this.config.details && (a.variants = [...r[3]]);
860
+ const l = await this.expandShortcut(a.currentSelector, a), c = l ? await this.stringifyShortcuts(a.variantMatch, a, l[0], l[1]) : (f = await this.parseUtil(a.variantMatch, a)) == null ? void 0 : f.map((i) => this.stringifyUtil(i, a)).filter(Vt);
861
861
  if (c != null && c.length)
862
862
  return this._cache.set(s, c), c;
863
863
  this._cache.set(s, null);
@@ -865,15 +865,15 @@ class mn {
865
865
  async generate(t, n = {}) {
866
866
  const {
867
867
  id: s,
868
- scope: r,
869
- preflights: o = !0,
868
+ scope: o,
869
+ preflights: r = !0,
870
870
  safelist: a = !0,
871
871
  minify: l = !1,
872
872
  extendedInfo: c = !1
873
873
  } = n, f = this.config.outputToCssLayers, i = U(t) ? await this.applyExtractors(
874
874
  t,
875
875
  s,
876
- c ? new Oe() : /* @__PURE__ */ new Set()
876
+ c ? new ke() : /* @__PURE__ */ new Set()
877
877
  ) : Array.isArray(t) ? new Set(t) : t;
878
878
  a && this.config.safelist.forEach((b) => {
879
879
  i.has(b) || i.add(b);
@@ -889,16 +889,16 @@ class mn {
889
889
  if (p != null) {
890
890
  m instanceof Map ? m.set(b, {
891
891
  data: p,
892
- count: X(i) ? i.getCount(b) : -1
892
+ count: Y(i) ? i.getCount(b) : -1
893
893
  }) : m.add(b);
894
894
  for (const R of p) {
895
- const $ = R[3] || "", T = (w = R[4]) == null ? void 0 : w.layer;
896
- y.has($) || y.set($, []), y.get($).push(R), T && d.add(T);
895
+ const O = R[3] || "", L = (w = R[4]) == null ? void 0 : w.layer;
896
+ y.has(O) || y.set(O, []), y.get(O).push(R), L && d.add(L);
897
897
  }
898
898
  }
899
899
  });
900
900
  await Promise.all(v), await (async () => {
901
- if (!o)
901
+ if (!r)
902
902
  return;
903
903
  const b = {
904
904
  generator: this,
@@ -909,10 +909,10 @@ class mn {
909
909
  }), h = Object.fromEntries(
910
910
  await Promise.all(Array.from(p).map(
911
911
  async (w) => {
912
- const $ = (await Promise.all(
913
- this.config.preflights.filter((T) => (T.layer || ne) === w).map(async (T) => await T.getCSS(b))
912
+ const O = (await Promise.all(
913
+ this.config.preflights.filter((L) => (L.layer || ne) === w).map(async (L) => await L.getCSS(b))
914
914
  )).filter(Boolean).join(u);
915
- return [w, $];
915
+ return [w, O];
916
916
  }
917
917
  ))
918
918
  );
@@ -921,44 +921,44 @@ class mn {
921
921
  var R;
922
922
  if (x[b])
923
923
  return x[b];
924
- let p = Array.from(y).sort(($, T) => {
925
- var j;
926
- return (this.parentOrders.get($[0]) ?? 0) - (this.parentOrders.get(T[0]) ?? 0) || ((j = $[0]) == null ? void 0 : j.localeCompare(T[0] || "")) || 0;
927
- }).map(([$, T]) => {
928
- const j = T.length, D = T.filter((O) => {
924
+ let p = Array.from(y).sort((O, L) => {
925
+ var N;
926
+ return (this.parentOrders.get(O[0]) ?? 0) - (this.parentOrders.get(L[0]) ?? 0) || ((N = O[0]) == null ? void 0 : N.localeCompare(L[0] || "")) || 0;
927
+ }).map(([O, L]) => {
928
+ const N = L.length, j = L.filter((k) => {
929
929
  var _;
930
- return (((_ = O[4]) == null ? void 0 : _.layer) || q) === b;
931
- }).sort((O, _) => {
932
- var E, C, M, k, L, B, ie;
933
- return O[0] - _[0] || (((E = O[4]) == null ? void 0 : E.sort) || 0) - (((C = _[4]) == null ? void 0 : C.sort) || 0) || ((L = (M = O[5]) == null ? void 0 : M.currentSelector) == null ? void 0 : L.localeCompare(((k = _[5]) == null ? void 0 : k.currentSelector) ?? "")) || ((B = O[1]) == null ? void 0 : B.localeCompare(_[1] || "")) || ((ie = O[2]) == null ? void 0 : ie.localeCompare(_[2] || "")) || 0;
934
- }).map(([, O, _, , E, , C]) => [
935
- [[(O && gn(O, r)) ?? "", (E == null ? void 0 : E.sort) ?? 0]],
930
+ return (((_ = k[4]) == null ? void 0 : _.layer) || q) === b;
931
+ }).sort((k, _) => {
932
+ var E, C, M, $, T, V, ie;
933
+ return k[0] - _[0] || (((E = k[4]) == null ? void 0 : E.sort) || 0) - (((C = _[4]) == null ? void 0 : C.sort) || 0) || ((T = (M = k[5]) == null ? void 0 : M.currentSelector) == null ? void 0 : T.localeCompare((($ = _[5]) == null ? void 0 : $.currentSelector) ?? "")) || ((V = k[1]) == null ? void 0 : V.localeCompare(_[1] || "")) || ((ie = k[2]) == null ? void 0 : ie.localeCompare(_[2] || "")) || 0;
934
+ }).map(([, k, _, , E, , C]) => [
935
+ [[(k && gn(k, o)) ?? "", (E == null ? void 0 : E.sort) ?? 0]],
936
936
  _,
937
937
  !!(C ?? (E == null ? void 0 : E.noMerge))
938
938
  ]);
939
- if (!D.length)
939
+ if (!j.length)
940
940
  return;
941
- const P = D.reverse().map(([O, _, E], C) => {
941
+ const P = j.reverse().map(([k, _, E], C) => {
942
942
  if (!E && this.config.mergeSelectors)
943
- for (let k = C + 1; k < j; k++) {
944
- const L = D[k];
945
- if (L && !L[2] && (O && L[0] || O == null && L[0] == null) && L[1] === _)
946
- return O && L[0] && L[0].push(...O), null;
943
+ for (let $ = C + 1; $ < N; $++) {
944
+ const T = j[$];
945
+ if (T && !T[2] && (k && T[0] || k == null && T[0] == null) && T[1] === _)
946
+ return k && T[0] && T[0].push(...k), null;
947
947
  }
948
- const M = O ? W(O.sort((k, L) => {
949
- var B;
950
- return k[1] - L[1] || ((B = k[0]) == null ? void 0 : B.localeCompare(L[0] || "")) || 0;
951
- }).map((k) => k[0]).filter(Boolean)) : [];
948
+ const M = k ? W(k.sort(($, T) => {
949
+ var V;
950
+ return $[1] - T[1] || ((V = $[0]) == null ? void 0 : V.localeCompare(T[0] || "")) || 0;
951
+ }).map(($) => $[0]).filter(Boolean)) : [];
952
952
  return M.length ? `${M.join(`,${u}`)}{${_}}` : _;
953
953
  }).filter(Boolean).reverse().join(u);
954
- if (!$)
954
+ if (!O)
955
955
  return P;
956
- const F = $.split(" $$ ");
956
+ const F = O.split(" $$ ");
957
957
  return `${F.join("{")}{${u}${P}${u}${"}".repeat(F.length)}`;
958
958
  }).filter(Boolean).join(u);
959
- if (o && (p = [h[b], p].filter(Boolean).join(u)), f && p) {
960
- let $ = typeof f == "object" ? (R = f.cssLayerName) == null ? void 0 : R.call(f, b) : void 0;
961
- $ !== null && ($ || ($ = b), p = `@layer ${$}{${u}${p}${u}}`);
959
+ if (r && (p = [h[b], p].filter(Boolean).join(u)), f && p) {
960
+ let O = typeof f == "object" ? (R = f.cssLayerName) == null ? void 0 : R.call(f, b) : void 0;
961
+ O !== null && (O || (O = b), p = `@layer ${O}{${u}${p}${u}}`);
962
962
  }
963
963
  const w = l ? "" : `/* layer: ${b} */${u}`;
964
964
  return x[b] = p ? w + p : "";
@@ -974,8 +974,8 @@ class mn {
974
974
  };
975
975
  }
976
976
  async matchVariants(t, n) {
977
- const s = /* @__PURE__ */ new Set(), r = [];
978
- let o = n || t, a = !0;
977
+ const s = /* @__PURE__ */ new Set(), o = [];
978
+ let r = n || t, a = !0;
979
979
  const l = {
980
980
  rawSelector: t,
981
981
  theme: this.config.theme,
@@ -986,26 +986,26 @@ class mn {
986
986
  for (const c of this.config.variants) {
987
987
  if (!c.multiPass && s.has(c))
988
988
  continue;
989
- let f = await c.match(o, l);
989
+ let f = await c.match(r, l);
990
990
  if (f) {
991
991
  if (U(f)) {
992
- if (f === o)
992
+ if (f === r)
993
993
  continue;
994
994
  f = { matcher: f };
995
995
  }
996
- o = f.matcher, r.unshift(f), s.add(c), a = !0;
996
+ r = f.matcher, o.unshift(f), s.add(c), a = !0;
997
997
  break;
998
998
  }
999
999
  }
1000
1000
  if (!a)
1001
1001
  break;
1002
- if (r.length > 500)
1002
+ if (o.length > 500)
1003
1003
  throw new Error(`Too many variants applied to "${t}"`);
1004
1004
  }
1005
- return [t, o, r, s];
1005
+ return [t, r, o, s];
1006
1006
  }
1007
1007
  applyVariants(t, n = t[4], s = t[1]) {
1008
- const o = n.slice().sort((f, i) => (f.order || 0) - (i.order || 0)).reduceRight(
1008
+ const r = n.slice().sort((f, i) => (f.order || 0) - (i.order || 0)).reduceRight(
1009
1009
  (f, i) => (u) => {
1010
1010
  var y, h;
1011
1011
  const d = ((y = i.body) == null ? void 0 : y.call(i, u.entries)) || u.entries, m = Array.isArray(i.parent) ? i.parent : [i.parent, void 0];
@@ -1025,40 +1025,40 @@ class mn {
1025
1025
  selector: yn(s),
1026
1026
  pseudo: "",
1027
1027
  entries: t[2]
1028
- }), { parent: a, parentOrder: l } = o;
1028
+ }), { parent: a, parentOrder: l } = r;
1029
1029
  a != null && l != null && this.parentOrders.set(a, l);
1030
1030
  const c = {
1031
1031
  selector: [
1032
- o.prefix,
1033
- o.selector,
1034
- o.pseudo
1032
+ r.prefix,
1033
+ r.selector,
1034
+ r.pseudo
1035
1035
  ].join(""),
1036
- entries: o.entries,
1036
+ entries: r.entries,
1037
1037
  parent: a,
1038
- layer: o.layer,
1039
- sort: o.sort,
1040
- noMerge: o.noMerge
1038
+ layer: r.layer,
1039
+ sort: r.sort,
1040
+ noMerge: r.noMerge
1041
1041
  };
1042
1042
  for (const f of this.config.postprocess)
1043
1043
  f(c);
1044
1044
  return c;
1045
1045
  }
1046
1046
  constructCustomCSS(t, n, s) {
1047
- const r = V(n);
1048
- if (U(r))
1049
- return r;
1050
- const { selector: o, entries: a, parent: l } = this.applyVariants([0, s || t.rawSelector, r, void 0, t.variantHandlers]), c = `${o}{${Y(a)}}`;
1047
+ const o = B(n);
1048
+ if (U(o))
1049
+ return o;
1050
+ const { selector: r, entries: a, parent: l } = this.applyVariants([0, s || t.rawSelector, o, void 0, t.variantHandlers]), c = `${r}{${Q(a)}}`;
1051
1051
  return l ? `${l}{${c}}` : c;
1052
1052
  }
1053
- async parseUtil(t, n, s = !1, r) {
1053
+ async parseUtil(t, n, s = !1, o) {
1054
1054
  var i;
1055
- const [o, a, l] = U(t) ? await this.matchVariants(t) : t;
1055
+ const [r, a, l] = U(t) ? await this.matchVariants(t) : t;
1056
1056
  this.config.details && (n.rules = n.rules ?? []);
1057
1057
  const c = this.config.rulesStaticMap[a];
1058
1058
  if (c && c[1] && (s || !((i = c[2]) != null && i.internal))) {
1059
1059
  this.config.details && n.rules.push(c[3]);
1060
- const u = c[0], d = V(c[1]), m = c[2];
1061
- return U(d) ? [[u, d, m]] : [[u, o, d, m, l]];
1060
+ const u = c[0], d = B(c[1]), m = c[2];
1061
+ return U(d) ? [[u, d, m]] : [[u, r, d, m, l]];
1062
1062
  }
1063
1063
  n.variantHandlers = l;
1064
1064
  const { rulesDynamic: f } = this.config;
@@ -1067,9 +1067,9 @@ class mn {
1067
1067
  continue;
1068
1068
  let h = a;
1069
1069
  if (y != null && y.prefix) {
1070
- const g = N(y.prefix);
1071
- if (r) {
1072
- const S = N(r);
1070
+ const g = I(y.prefix);
1071
+ if (o) {
1072
+ const S = I(o);
1073
1073
  if (!g.some((b) => S.includes(b)))
1074
1074
  continue;
1075
1075
  } else {
@@ -1086,9 +1086,9 @@ class mn {
1086
1086
  if (!A)
1087
1087
  continue;
1088
1088
  this.config.details && n.rules.push([d, m, y]);
1089
- const x = jt(A).filter((g) => g.length);
1089
+ const x = Nt(A).filter((g) => g.length);
1090
1090
  if (x.length)
1091
- return x.map((g) => U(g) ? [u, g, y] : [u, o, g, y, l]);
1091
+ return x.map((g) => U(g) ? [u, g, y] : [u, r, g, y, l]);
1092
1092
  }
1093
1093
  }
1094
1094
  stringifyUtil(t, n) {
@@ -1096,7 +1096,7 @@ class mn {
1096
1096
  return;
1097
1097
  if (ue(t))
1098
1098
  return [t[0], void 0, t[1], void 0, t[2], this.config.details ? n : void 0, void 0];
1099
- const { selector: s, entries: r, parent: o, layer: a, sort: l, noMerge: c } = this.applyVariants(t), f = Y(r);
1099
+ const { selector: s, entries: o, parent: r, layer: a, sort: l, noMerge: c } = this.applyVariants(t), f = Q(o);
1100
1100
  if (!f)
1101
1101
  return;
1102
1102
  const { layer: i, sort: u, ...d } = t[3] ?? {}, m = {
@@ -1104,33 +1104,33 @@ class mn {
1104
1104
  layer: a ?? i,
1105
1105
  sort: l ?? u
1106
1106
  };
1107
- return [t[0], s, f, o, m, this.config.details ? n : void 0, c];
1107
+ return [t[0], s, f, r, m, this.config.details ? n : void 0, c];
1108
1108
  }
1109
1109
  async expandShortcut(t, n, s = 5) {
1110
1110
  var l;
1111
1111
  if (s === 0)
1112
1112
  return;
1113
- const r = this.config.details ? (c) => {
1113
+ const o = this.config.details ? (c) => {
1114
1114
  n.shortcuts = n.shortcuts ?? [], n.shortcuts.push(c);
1115
- } : Vt;
1116
- let o, a;
1115
+ } : Bt;
1116
+ let r, a;
1117
1117
  for (const c of this.config.shortcuts) {
1118
1118
  let f = t;
1119
1119
  if ((l = c[2]) != null && l.prefix) {
1120
- const u = N(c[2].prefix).find((d) => t.startsWith(d));
1120
+ const u = I(c[2].prefix).find((d) => t.startsWith(d));
1121
1121
  if (u == null)
1122
1122
  continue;
1123
1123
  f = t.slice(u.length);
1124
1124
  }
1125
1125
  if (Pt(c)) {
1126
1126
  if (c[0] === f) {
1127
- o = o || c[2], a = c[1], r(c);
1127
+ r = r || c[2], a = c[1], o(c);
1128
1128
  break;
1129
1129
  }
1130
1130
  } else {
1131
1131
  const i = f.match(c[0]);
1132
1132
  if (i && (a = c[1](i, n)), a) {
1133
- o = o || c[2], r(c);
1133
+ r = r || c[2], o(c);
1134
1134
  break;
1135
1135
  }
1136
1136
  }
@@ -1148,14 +1148,14 @@ class mn {
1148
1148
  var f;
1149
1149
  return (U(c) ? (f = await this.expandShortcut(c, n, s - 1)) == null ? void 0 : f[0] : void 0) || [c];
1150
1150
  }))).flat(1).filter(Boolean),
1151
- o
1151
+ r
1152
1152
  ];
1153
1153
  }
1154
- async stringifyShortcuts(t, n, s, r = { layer: this.config.shortcutsLayer }) {
1154
+ async stringifyShortcuts(t, n, s, o = { layer: this.config.shortcutsLayer }) {
1155
1155
  var i;
1156
- const o = new Wt(), a = (await Promise.all(W(s).map(async (u) => {
1157
- const d = U(u) ? await this.parseUtil(u, n, !0, r.prefix) : [[Number.POSITIVE_INFINITY, "{inline}", V(u), void 0, []]];
1158
- return !d && this.config.warn && ke(`unmatched utility "${u}" in shortcut "${t[1]}"`), d || [];
1156
+ const r = new Wt(), a = (await Promise.all(W(s).map(async (u) => {
1157
+ const d = U(u) ? await this.parseUtil(u, n, !0, o.prefix) : [[Number.POSITIVE_INFINITY, "{inline}", B(u), void 0, []]];
1158
+ return !d && this.config.warn && $e(`unmatched utility "${u}" in shortcut "${t[1]}"`), d || [];
1159
1159
  }))).flat(1).filter(Boolean).sort((u, d) => u[0] - d[0]), [l, , c] = t, f = [];
1160
1160
  for (const u of a) {
1161
1161
  if (ue(u)) {
@@ -1163,16 +1163,16 @@ class mn {
1163
1163
  continue;
1164
1164
  }
1165
1165
  const { selector: d, entries: m, parent: y, sort: h, noMerge: v, layer: A } = this.applyVariants(u, [...u[4], ...c], l);
1166
- o.getFallback(A ?? r.layer, new qt()).getFallback(d, y, [[], u[0]])[0].push([m, !!(v ?? ((i = u[3]) == null ? void 0 : i.noMerge)), h ?? 0]);
1166
+ r.getFallback(A ?? o.layer, new qt()).getFallback(d, y, [[], u[0]])[0].push([m, !!(v ?? ((i = u[3]) == null ? void 0 : i.noMerge)), h ?? 0]);
1167
1167
  }
1168
- return f.concat(o.flatMap(
1168
+ return f.concat(r.flatMap(
1169
1169
  (u, d) => u.map(([m, y], h, v) => {
1170
1170
  const A = (g, S, b) => {
1171
1171
  const p = Math.max(...b.map((R) => R[1])), w = b.map((R) => R[0]);
1172
1172
  return (g ? [w.flat(1)] : w).map((R) => {
1173
- const $ = Y(R);
1174
- if ($)
1175
- return [y, h, $, v, { ...r, noMerge: S, sort: p, layer: d }, n, void 0];
1173
+ const O = Q(R);
1174
+ if (O)
1175
+ return [y, h, O, v, { ...o, noMerge: S, sort: p, layer: d }, n, void 0];
1176
1176
  });
1177
1177
  };
1178
1178
  return [
@@ -1201,12 +1201,12 @@ function gn(e, t) {
1201
1201
  }
1202
1202
  const me = /^\[(.+?)(~?=)"(.*)"\]$/;
1203
1203
  function yn(e) {
1204
- return me.test(e) ? e.replace(me, (t, n, s, r) => `[${Q(n)}${s}"${Q(r)}"]`) : `.${Q(e)}`;
1204
+ return me.test(e) ? e.replace(me, (t, n, s, o) => `[${X(n)}${s}"${X(o)}"]`) : `.${X(e)}`;
1205
1205
  }
1206
1206
  function bn(e, t) {
1207
1207
  return t(e);
1208
1208
  }
1209
- var he = { npm_package_dependencies__vueuse_core: "^10.9.0", TERM_PROGRAM: "iTerm.app", npm_package_devDependencies__types_splitpanes: "^2.2.6", FNM_LOGLEVEL: "info", NODE: "/Users/arlo/Library/Application Support/fnm/node-versions/v20.11.0/installation/bin/node", INIT_CWD: "/Users/arlo/g/devtools-next/packages/client", TURBO_INVOCATION_DIR: "/Users/arlo/g/devtools-next", npm_package_devDependencies_vite: "^5.2.6", SHELL: "/bin/zsh", TERM: "xterm-256color", npm_config_shamefully_hoist: "true", npm_package_devDependencies_ohash: "^1.1.3", npm_package_devDependencies_floating_vue: "5.2.2", npm_package_dependencies__vue_devtools_shared: "workspace:^", FNM_NODE_DIST_MIRROR: "https://nodejs.org/dist", npm_package_dependencies__unocss_runtime: "^0.58.6", TMPDIR: "/var/folders/6s/79hm4q7x5f982tndmbvckmn80000gn/T/", TERM_PROGRAM_VERSION: "3.4.23", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", npm_package_devDependencies_unplugin_vue_components: "^0.26.0", TERM_SESSION_ID: "w0t0p0:2E0B5736-117B-4988-B3C1-797FF9A069EE", npm_config_registry: "https://registry.npmjs.org/", npm_package_private: "true", PNPM_HOME: "/Users/arlo/Library/pnpm", ZSH: "/Users/arlo/.oh-my-zsh", FNM_COREPACK_ENABLED: "false", npm_package_devDependencies__vitejs_plugin_vue_jsx: "^3.1.0", USER: "arlo", npm_package_license: "MIT", LS_COLORS: "di=1;36:ln=35:so=32:pi=33:ex=31:bd=34;46:cd=34;43:su=30;41:sg=30;46:tw=30;42:ow=30;43", COMMAND_MODE: "unix2003", PNPM_SCRIPT_SRC_DIR: "/Users/arlo/g/devtools-next/packages/client", npm_config_strict_peer_dependencies: "", SSH_AUTH_SOCK: "/private/tmp/com.apple.launchd.iiMoEa4udc/Listeners", npm_package_devDependencies_dayjs: "^1.11.10", __CF_USER_TEXT_ENCODING: "0x1F5:0x19:0x34", npm_execpath: "/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.5/node_modules/pnpm/bin/pnpm.cjs", PAGER: "less", npm_package_devDependencies_unplugin_auto_import: "^0.17.5", npm_package_scripts_build_lib: "vite build --config vite.lib.config.ts", npm_config_frozen_lockfile: "", FNM_VERSION_FILE_STRATEGY: "local", LSCOLORS: "Gxfxcxdxbxegedabagacad", npm_package_dependencies_vue_virtual_scroller: "2.0.0-beta.8", npm_package_dependencies_fuse_js: "^7.0.0", FNM_ARCH: "arm64", PATH: "/Users/arlo/g/devtools-next/packages/client/node_modules/.bin:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.5/node_modules/pnpm/dist/node-gyp-bin:/Users/arlo/g/devtools-next/node_modules/.bin:/Users/arlo/g/devtools-next/packages/client/node_modules/.bin:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.5/node_modules/pnpm/dist/node-gyp-bin:/Users/arlo/g/devtools-next/node_modules/.bin:/Users/arlo/g/devtools-next/node_modules/.bin:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.5/node_modules/pnpm/dist/node-gyp-bin:/Users/arlo/g/devtools-next/node_modules/.bin:/Users/arlo/g/devtools-next/node_modules/.bin:/Users/arlo/Library/pnpm/global/5/.pnpm/pnpm@8.15.5/node_modules/pnpm/dist/node-gyp-bin:/Users/arlo/g/devtools-next/node_modules/.bin:/Users/arlo/Library/pnpm:/Users/arlo/Library/Caches/fnm_multishells/80019_1711455399433/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", npm_package_dependencies__vue_devtools_ui: "workspace:*", npm_package_scripts_stub_lib: "vite build --config vite.lib.config.ts --watch", LaunchInstanceID: "9CD3969C-9E80-46DA-8F0E-F29DBC07DB6B", npm_package_dependencies_splitpanes: "^3.1.5", npm_package_author: "webfansplz", __CFBundleIdentifier: "com.googlecode.iterm2", npm_command: "run-script", PWD: "/Users/arlo/g/devtools-next/packages/client", npm_package_exports____: "./dist/*", npm_lifecycle_event: "build:lib", npm_package_devDependencies_vue: "^3.4.21", npm_package_name: "@vue/devtools-client", LANG: "zh_CN.UTF-8", ITERM_PROFILE: "Default", npm_package_devDependencies_simple_git_hooks: "^2.11.0", npm_package_devDependencies_sass: "^1.72.0", npm_package_devDependencies__unocss_reset: "^0.58.6", npm_package_scripts_build: "tsx ./scripts/pre-build.ts && (nr build:lib & vite build)", NODE_PATH: "/Users/arlo/g/devtools-next/node_modules/.pnpm/vite@5.2.6_@types+node@20.11.30_sass@1.72.0/node_modules/vite/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/vite@5.2.6_@types+node@20.11.30_sass@1.72.0/node_modules/vite/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/vite@5.2.6_@types+node@20.11.30_sass@1.72.0/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.5/node_modules/pnpm/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.5/node_modules/pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.5/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/@antfu+ni@0.21.12/node_modules/@antfu/ni/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/@antfu+ni@0.21.12/node_modules/@antfu/ni/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/@antfu+ni@0.21.12/node_modules/@antfu/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/@antfu+ni@0.21.12/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.5/node_modules/pnpm/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.5/node_modules/pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.5/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/turbo@1.13.0/node_modules/turbo/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/turbo@1.13.0/node_modules/turbo/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/turbo@1.13.0/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.5/node_modules/pnpm/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.5/node_modules/pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.5/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/@antfu+ni@0.21.12/node_modules/@antfu/ni/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/@antfu+ni@0.21.12/node_modules/@antfu/ni/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/@antfu+ni@0.21.12/node_modules/@antfu/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/@antfu+ni@0.21.12/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/node_modules:/Users/arlo/Library/pnpm/global/5/.pnpm/pnpm@8.15.5/node_modules/pnpm/bin/node_modules:/Users/arlo/Library/pnpm/global/5/.pnpm/pnpm@8.15.5/node_modules/pnpm/node_modules:/Users/arlo/Library/pnpm/global/5/.pnpm/pnpm@8.15.5/node_modules:/Users/arlo/Library/pnpm/global/5/.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/80019_1711455399433", TURBO_HASH: "41d4800e35dfc663", XPC_FLAGS: "0x0", npm_package_devDependencies__unocss_core: "^0.58.6", npm_package_engines_node: ">=v14.21.3", npm_config_node_gyp: "/Users/arlo/Library/pnpm/global/5/.pnpm/pnpm@8.15.5/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", npm_config_side_effects_cache: "", npm_package_dependencies_colord: "^2.9.3", npm_package_devDependencies__iconify_json: "^2.2.195", npm_package_dependencies_minimatch: "^9.0.3", npm_package_version: "7.0.22", XPC_SERVICE_NAME: "0", npm_package_devDependencies_unocss: "^0.58.6", npm_package_dependencies__vue_devtools_core: "workspace:^", npm_package_type: "module", COLORFGBG: "7;0", HOME: "/Users/arlo", SHLVL: "1", 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:2E0B5736-117B-4988-B3C1-797FF9A069EE", 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", npm_config_user_agent: "pnpm/8.15.5 npm/? node/v20.11.0 darwin arm64", FNM_RESOLVE_ENGINES: "false", npm_package_devDependencies__types_node: "^20.11.30", npm_package_scripts_stub: "nr stub:lib & vite build --watch", LC_TERMINAL: "iTerm2", npm_package_files_0: "dist", npm_package_devDependencies_unplugin: "^1.10.0", npm_package_dependencies_vue_router: "^4.3.0", npm_package_dependencies_shiki: "1.2.0", SECURITYSESSIONID: "186b8", npm_package_dependencies__unocss_preset_icons: "^0.58.6", npm_node_execpath: "/Users/arlo/Library/Application Support/fnm/node-versions/v20.11.0/installation/bin/node", npm_config_shell_emulator: "true", COLORTERM: "truecolor", NODE_ENV: "production" };
1209
+ var he = { npm_package_dependencies__vueuse_core: "^10.9.0", TERM_PROGRAM: "vscode", npm_package_devDependencies__types_splitpanes: "^2.2.6", FNM_LOGLEVEL: "info", NODE: "/Users/arlo/Library/Application Support/fnm/node-versions/v20.11.0/installation/bin/node", INIT_CWD: "/Users/arlo/g/devtools-next/packages/client", TURBO_INVOCATION_DIR: "/Users/arlo/g/devtools-next", npm_package_devDependencies_vite: "^5.2.6", SHELL: "/bin/zsh", TERM: "xterm-256color", npm_config_shamefully_hoist: "true", npm_package_devDependencies_ohash: "^1.1.3", npm_package_devDependencies_floating_vue: "5.2.2", npm_package_dependencies__vue_devtools_shared: "workspace:^", FNM_NODE_DIST_MIRROR: "https://nodejs.org/dist", npm_package_dependencies__unocss_runtime: "^0.58.6", TMPDIR: "/var/folders/6s/79hm4q7x5f982tndmbvckmn80000gn/T/", TERM_PROGRAM_VERSION: "1.85.1", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", npm_package_devDependencies_unplugin_vue_components: "^0.26.0", MallocNanoZone: "0", ORIGINAL_XDG_CURRENT_DESKTOP: "undefined", ZDOTDIR: "/Users/arlo", TERM_SESSION_ID: "w0t0p0:2E0B5736-117B-4988-B3C1-797FF9A069EE", npm_config_registry: "https://registry.npmjs.org/", npm_package_private: "true", PNPM_HOME: "/Users/arlo/Library/pnpm", ZSH: "/Users/arlo/.oh-my-zsh", FNM_COREPACK_ENABLED: "false", npm_package_devDependencies__vitejs_plugin_vue_jsx: "^3.1.0", USER: "arlo", npm_package_license: "MIT", LS_COLORS: "di=1;36:ln=35:so=32:pi=33:ex=31:bd=34;46:cd=34;43:su=30;41:sg=30;46:tw=30;42:ow=30;43", COMMAND_MODE: "unix2003", PNPM_SCRIPT_SRC_DIR: "/Users/arlo/g/devtools-next/packages/client", npm_config_strict_peer_dependencies: "", SSH_AUTH_SOCK: "/private/tmp/com.apple.launchd.iiMoEa4udc/Listeners", npm_package_devDependencies_dayjs: "^1.11.10", __CF_USER_TEXT_ENCODING: "0x1F5:0x19:0x34", npm_execpath: "/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.5/node_modules/pnpm/bin/pnpm.cjs", PAGER: "less", npm_package_devDependencies_unplugin_auto_import: "^0.17.5", npm_package_scripts_build_lib: "vite build --config vite.lib.config.ts", npm_config_frozen_lockfile: "", FNM_VERSION_FILE_STRATEGY: "local", LSCOLORS: "Gxfxcxdxbxegedabagacad", npm_package_dependencies_vue_virtual_scroller: "2.0.0-beta.8", npm_package_dependencies_fuse_js: "^7.0.0", FNM_ARCH: "arm64", PATH: "/Users/arlo/g/devtools-next/packages/client/node_modules/.bin:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.5/node_modules/pnpm/dist/node-gyp-bin:/Users/arlo/g/devtools-next/node_modules/.bin:/Users/arlo/g/devtools-next/packages/client/node_modules/.bin:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.5/node_modules/pnpm/dist/node-gyp-bin:/Users/arlo/g/devtools-next/node_modules/.bin:/Users/arlo/g/devtools-next/node_modules/.bin:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.5/node_modules/pnpm/dist/node-gyp-bin:/Users/arlo/g/devtools-next/node_modules/.bin:/Users/arlo/g/devtools-next/node_modules/.bin:/usr/local/lib/node_modules/pnpm/dist/node-gyp-bin:/Users/arlo/g/devtools-next/node_modules/.bin:/Users/arlo/Library/Caches/fnm_multishells/19331_1711514150980/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/80019_1711455399433/bin:/opt/homebrew/bin", npm_package_dependencies__vue_devtools_ui: "workspace:*", npm_package_scripts_stub_lib: "vite build --config vite.lib.config.ts --watch", LaunchInstanceID: "9CD3969C-9E80-46DA-8F0E-F29DBC07DB6B", npm_package_dependencies_splitpanes: "^3.1.5", npm_package_author: "webfansplz", USER_ZDOTDIR: "/Users/arlo", __CFBundleIdentifier: "com.microsoft.VSCode", npm_command: "run-script", PWD: "/Users/arlo/g/devtools-next/packages/client", npm_package_exports____: "./dist/*", npm_lifecycle_event: "build:lib", npm_package_devDependencies_vue: "^3.4.21", npm_package_name: "@vue/devtools-client", LANG: "zh_CN.UTF-8", ITERM_PROFILE: "Default", npm_package_devDependencies_simple_git_hooks: "^2.11.0", npm_package_devDependencies_sass: "^1.72.0", npm_package_devDependencies__unocss_reset: "^0.58.6", npm_package_scripts_build: "tsx ./scripts/pre-build.ts && (nr build:lib & vite build)", NODE_PATH: "/Users/arlo/g/devtools-next/node_modules/.pnpm/vite@5.2.6_@types+node@20.11.30_sass@1.72.0/node_modules/vite/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/vite@5.2.6_@types+node@20.11.30_sass@1.72.0/node_modules/vite/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/vite@5.2.6_@types+node@20.11.30_sass@1.72.0/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.5/node_modules/pnpm/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.5/node_modules/pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.5/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/@antfu+ni@0.21.12/node_modules/@antfu/ni/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/@antfu+ni@0.21.12/node_modules/@antfu/ni/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/@antfu+ni@0.21.12/node_modules/@antfu/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/@antfu+ni@0.21.12/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.5/node_modules/pnpm/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.5/node_modules/pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.5/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/turbo@1.13.0/node_modules/turbo/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/turbo@1.13.0/node_modules/turbo/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/turbo@1.13.0/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.5/node_modules/pnpm/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.5/node_modules/pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/pnpm@8.15.5/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/@antfu+ni@0.21.12/node_modules/@antfu/ni/bin/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/@antfu+ni@0.21.12/node_modules/@antfu/ni/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/@antfu+ni@0.21.12/node_modules/@antfu/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/@antfu+ni@0.21.12/node_modules:/Users/arlo/g/devtools-next/node_modules/.pnpm/node_modules:/Users/arlo/Library/pnpm/global/5/.pnpm/@antfu+ni@0.21.12/node_modules/@antfu/ni/bin/node_modules:/Users/arlo/Library/pnpm/global/5/.pnpm/@antfu+ni@0.21.12/node_modules/@antfu/ni/node_modules:/Users/arlo/Library/pnpm/global/5/.pnpm/@antfu+ni@0.21.12/node_modules/@antfu/node_modules:/Users/arlo/Library/pnpm/global/5/.pnpm/@antfu+ni@0.21.12/node_modules:/Users/arlo/Library/pnpm/global/5/.pnpm/node_modules", npm_package_devDependencies_pinia: "^2.1.7", FNM_MULTISHELL_PATH: "/Users/arlo/Library/Caches/fnm_multishells/19331_1711514150980", TURBO_HASH: "be1ed54c3e82e4c0", VSCODE_GIT_ASKPASS_EXTRA_ARGS: "--ms-enable-electron-run-as-node", XPC_FLAGS: "0x0", npm_package_devDependencies__unocss_core: "^0.58.6", npm_package_engines_node: ">=v14.21.3", npm_config_node_gyp: "/usr/local/lib/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", npm_config_side_effects_cache: "", npm_package_dependencies_colord: "^2.9.3", npm_package_devDependencies__iconify_json: "^2.2.195", npm_package_dependencies_minimatch: "^9.0.3", npm_package_version: "7.0.24", XPC_SERVICE_NAME: "0", VSCODE_INJECTION: "1", npm_package_devDependencies_unocss: "^0.58.6", npm_package_dependencies__vue_devtools_core: "workspace:^", npm_package_type: "module", COLORFGBG: "7;0", HOME: "/Users/arlo", SHLVL: "3", VSCODE_GIT_ASKPASS_MAIN: "/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass-main.js", npm_package_dependencies_vite_hot_client: "^0.2.3", LC_TERMINAL_VERSION: "3.4.23", FNM_DIR: "/Users/arlo/Library/Application Support/fnm", npm_package_dependencies_vis_network: "^9.1.9", ITERM_SESSION_ID: "w0t0p0:2E0B5736-117B-4988-B3C1-797FF9A069EE", npm_package_peerDependencies_vite: "^3.1.0 || ^4.0.0-0 || ^5.0.0-0", LESS: "-R", LOGNAME: "arlo", npm_lifecycle_script: "vite build --config vite.lib.config.ts", npm_package_dependencies__vue_devtools_kit: "workspace:^", npm_package_dependencies__vueuse_integrations: "^10.9.0", VSCODE_GIT_IPC_HANDLE: "/var/folders/6s/79hm4q7x5f982tndmbvckmn80000gn/T/vscode-git-4d965c4849.sock", npm_config_user_agent: "pnpm/8.15.5 npm/? node/v20.11.0 darwin arm64", FNM_RESOLVE_ENGINES: "false", npm_package_devDependencies__types_node: "^20.11.30", GIT_ASKPASS: "/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass.sh", VSCODE_GIT_ASKPASS_NODE: "/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin)", npm_package_scripts_stub: "nr stub:lib & vite build --watch", LC_TERMINAL: "iTerm2", npm_package_files_0: "dist", npm_package_devDependencies_unplugin: "^1.10.0", npm_package_dependencies_vue_router: "^4.3.0", npm_package_dependencies_shiki: "1.2.0", SECURITYSESSIONID: "186b8", npm_package_dependencies__unocss_preset_icons: "^0.58.6", npm_node_execpath: "/Users/arlo/Library/Application Support/fnm/node-versions/v20.11.0/installation/bin/node", npm_config_shell_emulator: "true", COLORTERM: "truecolor", NODE_ENV: "production" };
1210
1210
  const vn = Object.freeze(
1211
1211
  {
1212
1212
  left: 0,
@@ -1214,13 +1214,13 @@ const vn = Object.freeze(
1214
1214
  width: 16,
1215
1215
  height: 16
1216
1216
  }
1217
- ), J = Object.freeze({
1217
+ ), K = Object.freeze({
1218
1218
  rotate: 0,
1219
1219
  vFlip: !1,
1220
1220
  hFlip: !1
1221
1221
  }), Ue = Object.freeze({
1222
1222
  ...vn,
1223
- ...J
1223
+ ...K
1224
1224
  }), wn = Object.freeze({
1225
1225
  ...Ue,
1226
1226
  body: "",
@@ -1228,11 +1228,11 @@ const vn = Object.freeze(
1228
1228
  }), Sn = Object.freeze({
1229
1229
  width: null,
1230
1230
  height: null
1231
- }), Ne = Object.freeze({
1231
+ }), Ie = Object.freeze({
1232
1232
  // Dimensions
1233
1233
  ...Sn,
1234
1234
  // Transformations
1235
- ...J
1235
+ ...K
1236
1236
  });
1237
1237
  function En(e, t) {
1238
1238
  const n = {};
@@ -1243,33 +1243,33 @@ function En(e, t) {
1243
1243
  function _e(e, t) {
1244
1244
  const n = En(e, t);
1245
1245
  for (const s in wn)
1246
- s in J ? s in e && !(s in n) && (n[s] = J[s]) : s in t ? n[s] = t[s] : s in e && (n[s] = e[s]);
1246
+ s in K ? s in e && !(s in n) && (n[s] = K[s]) : s in t ? n[s] = t[s] : s in e && (n[s] = e[s]);
1247
1247
  return n;
1248
1248
  }
1249
1249
  function xn(e, t) {
1250
- const n = e.icons, s = e.aliases || /* @__PURE__ */ Object.create(null), r = /* @__PURE__ */ Object.create(null);
1251
- function o(a) {
1250
+ const n = e.icons, s = e.aliases || /* @__PURE__ */ Object.create(null), o = /* @__PURE__ */ Object.create(null);
1251
+ function r(a) {
1252
1252
  if (n[a])
1253
- return r[a] = [];
1254
- if (!(a in r)) {
1255
- r[a] = null;
1256
- const l = s[a] && s[a].parent, c = l && o(l);
1257
- c && (r[a] = [l].concat(c));
1253
+ return o[a] = [];
1254
+ if (!(a in o)) {
1255
+ o[a] = null;
1256
+ const l = s[a] && s[a].parent, c = l && r(l);
1257
+ c && (o[a] = [l].concat(c));
1258
1258
  }
1259
- return r[a];
1259
+ return o[a];
1260
1260
  }
1261
- return (t || Object.keys(n).concat(Object.keys(s))).forEach(o), r;
1261
+ return (t || Object.keys(n).concat(Object.keys(s))).forEach(r), o;
1262
1262
  }
1263
1263
  function ge(e, t, n) {
1264
- const s = e.icons, r = e.aliases || /* @__PURE__ */ Object.create(null);
1265
- let o = {};
1264
+ const s = e.icons, o = e.aliases || /* @__PURE__ */ Object.create(null);
1265
+ let r = {};
1266
1266
  function a(l) {
1267
- o = _e(
1268
- s[l] || r[l],
1269
- o
1267
+ r = _e(
1268
+ s[l] || o[l],
1269
+ r
1270
1270
  );
1271
1271
  }
1272
- return a(t), n.forEach(a), _e(e, o);
1272
+ return a(t), n.forEach(a), _e(e, r);
1273
1273
  }
1274
1274
  function Cn(e, t) {
1275
1275
  if (e.icons[t])
@@ -1277,7 +1277,7 @@ function Cn(e, t) {
1277
1277
  const n = xn(e, [t])[t];
1278
1278
  return n ? ge(e, t, n) : null;
1279
1279
  }
1280
- const An = /(-?[0-9.]*[0-9]+[0-9.]*)/g, $n = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
1280
+ const An = /(-?[0-9.]*[0-9]+[0-9.]*)/g, On = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
1281
1281
  function ye(e, t, n) {
1282
1282
  if (t === 1)
1283
1283
  return e;
@@ -1288,16 +1288,16 @@ function ye(e, t, n) {
1288
1288
  const s = e.split(An);
1289
1289
  if (s === null || !s.length)
1290
1290
  return e;
1291
- const r = [];
1292
- let o = s.shift(), a = $n.test(o);
1291
+ const o = [];
1292
+ let r = s.shift(), a = On.test(r);
1293
1293
  for (; ; ) {
1294
1294
  if (a) {
1295
- const l = parseFloat(o);
1296
- isNaN(l) ? r.push(o) : r.push(Math.ceil(l * t * n) / n);
1295
+ const l = parseFloat(r);
1296
+ isNaN(l) ? o.push(r) : o.push(Math.ceil(l * t * n) / n);
1297
1297
  } else
1298
- r.push(o);
1299
- if (o = s.shift(), o === void 0)
1300
- return r.join("");
1298
+ o.push(r);
1299
+ if (r = s.shift(), r === void 0)
1300
+ return o.join("");
1301
1301
  a = !a;
1302
1302
  }
1303
1303
  }
@@ -1305,88 +1305,88 @@ function Rn(e, t = "defs") {
1305
1305
  let n = "";
1306
1306
  const s = e.indexOf("<" + t);
1307
1307
  for (; s >= 0; ) {
1308
- const r = e.indexOf(">", s), o = e.indexOf("</" + t);
1309
- if (r === -1 || o === -1)
1308
+ const o = e.indexOf(">", s), r = e.indexOf("</" + t);
1309
+ if (o === -1 || r === -1)
1310
1310
  break;
1311
- const a = e.indexOf(">", o);
1311
+ const a = e.indexOf(">", r);
1312
1312
  if (a === -1)
1313
1313
  break;
1314
- n += e.slice(r + 1, o).trim(), e = e.slice(0, s).trim() + e.slice(a + 1);
1314
+ n += e.slice(o + 1, r).trim(), e = e.slice(0, s).trim() + e.slice(a + 1);
1315
1315
  }
1316
1316
  return {
1317
1317
  defs: n,
1318
1318
  content: e
1319
1319
  };
1320
1320
  }
1321
- function On(e, t) {
1321
+ function kn(e, t) {
1322
1322
  return e ? "<defs>" + e + "</defs>" + t : t;
1323
1323
  }
1324
- function kn(e, t, n) {
1324
+ function $n(e, t, n) {
1325
1325
  const s = Rn(e);
1326
- return On(s.defs, t + s.content + n);
1326
+ return kn(s.defs, t + s.content + n);
1327
1327
  }
1328
- const oe = (e) => e === "unset" || e === "undefined" || e === "none";
1329
- function Ln(e, t) {
1328
+ const re = (e) => e === "unset" || e === "undefined" || e === "none";
1329
+ function Tn(e, t) {
1330
1330
  const n = {
1331
1331
  ...Ue,
1332
1332
  ...e
1333
1333
  }, s = {
1334
- ...Ne,
1334
+ ...Ie,
1335
1335
  ...t
1336
- }, r = {
1336
+ }, o = {
1337
1337
  left: n.left,
1338
1338
  top: n.top,
1339
1339
  width: n.width,
1340
1340
  height: n.height
1341
1341
  };
1342
- let o = n.body;
1342
+ let r = n.body;
1343
1343
  [n, s].forEach((h) => {
1344
1344
  const v = [], A = h.hFlip, x = h.vFlip;
1345
1345
  let g = h.rotate;
1346
1346
  A ? x ? g += 2 : (v.push(
1347
- "translate(" + (r.width + r.left).toString() + " " + (0 - r.top).toString() + ")"
1348
- ), v.push("scale(-1 1)"), r.top = r.left = 0) : x && (v.push(
1349
- "translate(" + (0 - r.left).toString() + " " + (r.height + r.top).toString() + ")"
1350
- ), v.push("scale(1 -1)"), r.top = r.left = 0);
1347
+ "translate(" + (o.width + o.left).toString() + " " + (0 - o.top).toString() + ")"
1348
+ ), v.push("scale(-1 1)"), o.top = o.left = 0) : x && (v.push(
1349
+ "translate(" + (0 - o.left).toString() + " " + (o.height + o.top).toString() + ")"
1350
+ ), v.push("scale(1 -1)"), o.top = o.left = 0);
1351
1351
  let S;
1352
1352
  switch (g < 0 && (g -= Math.floor(g / 4) * 4), g = g % 4, g) {
1353
1353
  case 1:
1354
- S = r.height / 2 + r.top, v.unshift(
1354
+ S = o.height / 2 + o.top, v.unshift(
1355
1355
  "rotate(90 " + S.toString() + " " + S.toString() + ")"
1356
1356
  );
1357
1357
  break;
1358
1358
  case 2:
1359
1359
  v.unshift(
1360
- "rotate(180 " + (r.width / 2 + r.left).toString() + " " + (r.height / 2 + r.top).toString() + ")"
1360
+ "rotate(180 " + (o.width / 2 + o.left).toString() + " " + (o.height / 2 + o.top).toString() + ")"
1361
1361
  );
1362
1362
  break;
1363
1363
  case 3:
1364
- S = r.width / 2 + r.left, v.unshift(
1364
+ S = o.width / 2 + o.left, v.unshift(
1365
1365
  "rotate(-90 " + S.toString() + " " + S.toString() + ")"
1366
1366
  );
1367
1367
  break;
1368
1368
  }
1369
- g % 2 === 1 && (r.left !== r.top && (S = r.left, r.left = r.top, r.top = S), r.width !== r.height && (S = r.width, r.width = r.height, r.height = S)), v.length && (o = kn(
1370
- o,
1369
+ g % 2 === 1 && (o.left !== o.top && (S = o.left, o.left = o.top, o.top = S), o.width !== o.height && (S = o.width, o.width = o.height, o.height = S)), v.length && (r = $n(
1370
+ r,
1371
1371
  '<g transform="' + v.join(" ") + '">',
1372
1372
  "</g>"
1373
1373
  ));
1374
1374
  });
1375
- const a = s.width, l = s.height, c = r.width, f = r.height;
1375
+ const a = s.width, l = s.height, c = o.width, f = o.height;
1376
1376
  let i, u;
1377
1377
  a === null ? (u = l === null ? "1em" : l === "auto" ? f : l, i = ye(u, c / f)) : (i = a === "auto" ? c : a, u = l === null ? ye(i, f / c) : l === "auto" ? f : l);
1378
1378
  const d = {}, m = (h, v) => {
1379
- oe(v) || (d[h] = v.toString());
1379
+ re(v) || (d[h] = v.toString());
1380
1380
  };
1381
1381
  m("width", i), m("height", u);
1382
- const y = [r.left, r.top, c, f];
1382
+ const y = [o.left, o.top, c, f];
1383
1383
  return d.viewBox = y.join(" "), {
1384
1384
  attributes: d,
1385
1385
  viewBox: y,
1386
- body: o
1386
+ body: r
1387
1387
  };
1388
1388
  }
1389
- function Tn(e) {
1389
+ function Ln(e) {
1390
1390
  return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
1391
1391
  }
1392
1392
  function Mn(e) {
@@ -1397,26 +1397,26 @@ function Mn(e) {
1397
1397
  )), t.includes(" xmlns=") || (t = t.replace(
1398
1398
  "<svg ",
1399
1399
  '<svg xmlns="http://www.w3.org/2000/svg" '
1400
- )), Tn(t);
1400
+ )), Ln(t);
1401
1401
  }
1402
1402
  function Un(e) {
1403
1403
  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();
1404
1404
  }
1405
- const Nn = /\swidth\s*=\s*["']([\w.]+)["']/, jn = /\sheight\s*=\s*["']([\w.]+)["']/, Z = /<svg\s+/;
1406
- function In(e, t, n) {
1407
- const s = e.slice(0, e.indexOf(">")), r = (o, a) => {
1408
- const l = a.exec(s), c = l != null, f = t[o];
1409
- return !f && !oe(f) && (typeof n == "number" ? n > 0 && (t[o] = `${n}em`) : l && (t[o] = l[1])), c;
1405
+ const In = /\swidth\s*=\s*["']([\w.]+)["']/, Nn = /\sheight\s*=\s*["']([\w.]+)["']/, Z = /<svg\s+/;
1406
+ function Dn(e, t, n) {
1407
+ const s = e.slice(0, e.indexOf(">")), o = (r, a) => {
1408
+ const l = a.exec(s), c = l != null, f = t[r];
1409
+ return !f && !re(f) && (typeof n == "number" ? n > 0 && (t[r] = `${n}em`) : l && (t[r] = l[1])), c;
1410
1410
  };
1411
- return [r("width", Nn), r("height", jn)];
1411
+ return [o("width", In), o("height", Nn)];
1412
1412
  }
1413
- async function je(e, t, n, s, r, o) {
1414
- const { scale: a, addXmlNs: l = !1 } = s ?? {}, { additionalProps: c = {}, iconCustomizer: f } = (s == null ? void 0 : s.customizations) ?? {}, i = await (r == null ? void 0 : r()) ?? {};
1413
+ async function Ne(e, t, n, s, o, r) {
1414
+ const { scale: a, addXmlNs: l = !1 } = s ?? {}, { additionalProps: c = {}, iconCustomizer: f } = (s == null ? void 0 : s.customizations) ?? {}, i = await (o == null ? void 0 : o()) ?? {};
1415
1415
  await (f == null ? void 0 : f(t, n, i)), Object.keys(c).forEach((h) => {
1416
1416
  const v = c[h];
1417
1417
  v != null && (i[h] = v);
1418
- }), o == null || o(i);
1419
- const [u, d] = In(e, i, a);
1418
+ }), r == null || r(i);
1419
+ const [u, d] = Dn(e, i, a);
1420
1420
  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"));
1421
1421
  const m = Object.keys(i).map(
1422
1422
  (h) => h === "width" && u || h === "height" && d ? null : `${h}="${i[h]}"`
@@ -1432,14 +1432,14 @@ async function je(e, t, n, s, r, o) {
1432
1432
  }), typeof i.width < "u" && i.width !== null && (y.width = i.width), typeof i.height < "u" && i.height !== null && (y.height = i.height)), e;
1433
1433
  }
1434
1434
  async function be(e, t, n, s) {
1435
- var o;
1436
- let r;
1435
+ var r;
1436
+ let o;
1437
1437
  try {
1438
1438
  if (typeof e == "function")
1439
- r = await e(n);
1439
+ o = await e(n);
1440
1440
  else {
1441
1441
  const a = e[n];
1442
- r = typeof a == "function" ? await a() : a;
1442
+ o = typeof a == "function" ? await a() : a;
1443
1443
  }
1444
1444
  } catch (a) {
1445
1445
  console.warn(
@@ -1448,33 +1448,33 @@ async function be(e, t, n, s) {
1448
1448
  );
1449
1449
  return;
1450
1450
  }
1451
- if (r) {
1452
- const a = r.indexOf("<svg");
1453
- a > 0 && (r = r.slice(a));
1451
+ if (o) {
1452
+ const a = o.indexOf("<svg");
1453
+ a > 0 && (o = o.slice(a));
1454
1454
  const { transform: l } = (s == null ? void 0 : s.customizations) ?? {};
1455
- return r = typeof l == "function" ? await l(r, t, n) : r, r.startsWith("<svg") ? await je(
1456
- ((o = s == null ? void 0 : s.customizations) == null ? void 0 : o.trimCustomSvg) === !0 ? Un(r) : r,
1455
+ return o = typeof l == "function" ? await l(o, t, n) : o, o.startsWith("<svg") ? await Ne(
1456
+ ((r = s == null ? void 0 : s.customizations) == null ? void 0 : r.trimCustomSvg) === !0 ? Un(o) : o,
1457
1457
  t,
1458
1458
  n,
1459
1459
  s,
1460
1460
  void 0
1461
1461
  ) : (console.warn(
1462
1462
  `Custom icon "${n}" in "${t}" is not a valid SVG`
1463
- ), r);
1463
+ ), o);
1464
1464
  }
1465
1465
  }
1466
- async function Ie(e, t, n, s) {
1467
- let r;
1468
- const { customize: o } = (s == null ? void 0 : s.customizations) ?? {};
1466
+ async function De(e, t, n, s) {
1467
+ let o;
1468
+ const { customize: r } = (s == null ? void 0 : s.customizations) ?? {};
1469
1469
  for (const a of n)
1470
- if (r = Cn(e, a), r) {
1471
- let l = { ...Ne };
1472
- typeof o == "function" && (l = o(l));
1470
+ if (o = Cn(e, a), o) {
1471
+ let l = { ...Ie };
1472
+ typeof r == "function" && (l = r(l));
1473
1473
  const {
1474
1474
  attributes: { width: c, height: f, ...i },
1475
1475
  body: u
1476
- } = Ln(r, l), d = s == null ? void 0 : s.scale;
1477
- return await je(
1476
+ } = Tn(o, l), d = s == null ? void 0 : s.scale;
1477
+ return await Ne(
1478
1478
  // DON'T remove space on <svg >
1479
1479
  `<svg >${u}</svg>`,
1480
1480
  t,
@@ -1485,7 +1485,7 @@ async function Ie(e, t, n, s) {
1485
1485
  const y = (h, v) => {
1486
1486
  const A = m[h];
1487
1487
  let x;
1488
- if (!oe(A)) {
1488
+ if (!re(A)) {
1489
1489
  if (A)
1490
1490
  return;
1491
1491
  typeof d == "number" ? d && (x = `${d}em`) : x = v;
@@ -1497,14 +1497,14 @@ async function Ie(e, t, n, s) {
1497
1497
  );
1498
1498
  }
1499
1499
  }
1500
- const De = async (e, t, n) => {
1501
- var r;
1502
- const s = (r = n == null ? void 0 : n.customCollections) == null ? void 0 : r[e];
1500
+ const je = async (e, t, n) => {
1501
+ var o;
1502
+ const s = (o = n == null ? void 0 : n.customCollections) == null ? void 0 : o[e];
1503
1503
  if (s)
1504
1504
  if (typeof s == "function") {
1505
- let o;
1505
+ let r;
1506
1506
  try {
1507
- o = await s(t);
1507
+ r = await s(t);
1508
1508
  } catch (a) {
1509
1509
  console.warn(
1510
1510
  `Failed to load custom icon "${t}" in "${e}":`,
@@ -1512,22 +1512,22 @@ const De = async (e, t, n) => {
1512
1512
  );
1513
1513
  return;
1514
1514
  }
1515
- if (o) {
1516
- if (typeof o == "string")
1515
+ if (r) {
1516
+ if (typeof r == "string")
1517
1517
  return await be(
1518
- () => o,
1518
+ () => r,
1519
1519
  e,
1520
1520
  t,
1521
1521
  n
1522
1522
  );
1523
- if ("icons" in o) {
1523
+ if ("icons" in r) {
1524
1524
  const a = [
1525
1525
  t,
1526
1526
  t.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(),
1527
1527
  t.replace(/([a-z])(\d+)/g, "$1-$2")
1528
1528
  ];
1529
- return await Ie(
1530
- o,
1529
+ return await De(
1530
+ r,
1531
1531
  e,
1532
1532
  a,
1533
1533
  n
@@ -1537,7 +1537,7 @@ const De = async (e, t, n) => {
1537
1537
  } else
1538
1538
  return await be(s, e, t, n);
1539
1539
  };
1540
- function Dn(e) {
1540
+ function jn(e) {
1541
1541
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1542
1542
  }
1543
1543
  var Pn = [
@@ -1713,14 +1713,14 @@ var Pn = [
1713
1713
  "zmdi",
1714
1714
  "zondicons"
1715
1715
  ];
1716
- const Fn = /* @__PURE__ */ Dn(Pn), Bn = 3;
1717
- function Vn(e) {
1716
+ const Fn = /* @__PURE__ */ jn(Pn), Vn = 3;
1717
+ function Bn(e) {
1718
1718
  return (t = {}) => {
1719
1719
  const {
1720
1720
  scale: n = 1,
1721
1721
  mode: s = "auto",
1722
- prefix: r = "i-",
1723
- warn: o = !1,
1722
+ prefix: o = "i-",
1723
+ warn: r = !1,
1724
1724
  collections: a,
1725
1725
  extraProperties: l = {},
1726
1726
  customizations: c = {},
@@ -1728,7 +1728,7 @@ function Vn(e) {
1728
1728
  collectionsNodeResolvePath: i,
1729
1729
  layer: u = "icons",
1730
1730
  unit: d
1731
- } = t, m = Hn(), y = {
1731
+ } = t, m = Gn(), y = {
1732
1732
  addXmlNs: !0,
1733
1733
  scale: n,
1734
1734
  customCollections: a,
@@ -1762,11 +1762,11 @@ function Vn(e) {
1762
1762
  [g, S] = A.split(":"), b = await h(g, S, { ...y, usedProps: p });
1763
1763
  else {
1764
1764
  const R = A.split(/-/g);
1765
- for (let $ = Bn; $ >= 1 && (g = R.slice(0, $).join("-"), S = R.slice($).join("-"), b = await h(g, S, { ...y, usedProps: p }), !b); $--)
1765
+ for (let O = Vn; O >= 1 && (g = R.slice(0, O).join("-"), S = R.slice(O).join("-"), b = await h(g, S, { ...y, usedProps: p }), !b); O--)
1766
1766
  ;
1767
1767
  }
1768
1768
  if (!b) {
1769
- o && !m.isESLint && ke(`failed to load icon "${v}"`);
1769
+ r && !m.isESLint && $e(`failed to load icon "${v}"`);
1770
1770
  return;
1771
1771
  }
1772
1772
  const w = `url("data:image/svg+xml;utf8,${Mn(b)}")`;
@@ -1787,34 +1787,34 @@ function Vn(e) {
1787
1787
  ...p
1788
1788
  };
1789
1789
  },
1790
- { layer: u, prefix: r }
1790
+ { layer: u, prefix: o }
1791
1791
  ]]
1792
1792
  };
1793
1793
  };
1794
1794
  }
1795
1795
  function Pe(e, t) {
1796
1796
  const n = /* @__PURE__ */ new Map();
1797
- function s(r) {
1798
- if (Fn.includes(r))
1799
- return n.has(r) || n.set(r, e(`${t}@iconify-json/${r}/icons.json`)), n.get(r);
1797
+ function s(o) {
1798
+ if (Fn.includes(o))
1799
+ return n.has(o) || n.set(o, e(`${t}@iconify-json/${o}/icons.json`)), n.get(o);
1800
1800
  }
1801
- return async (r, o, a) => {
1802
- let l = await De(r, o, a);
1801
+ return async (o, r, a) => {
1802
+ let l = await je(o, r, a);
1803
1803
  if (l)
1804
1804
  return l;
1805
- const c = await s(r);
1805
+ const c = await s(o);
1806
1806
  if (c) {
1807
1807
  const f = [
1808
- o,
1809
- o.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(),
1810
- o.replace(/([a-z])(\d+)/g, "$1-$2")
1808
+ r,
1809
+ r.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(),
1810
+ r.replace(/([a-z])(\d+)/g, "$1-$2")
1811
1811
  ];
1812
- l = await Ie(c, r, f, a);
1812
+ l = await De(c, o, f, a);
1813
1813
  }
1814
1814
  return l;
1815
1815
  };
1816
1816
  }
1817
- function Hn() {
1817
+ function Gn() {
1818
1818
  const e = typeof process < "u" && process.stdout && !process.versions.deno, t = e && !!he.VSCODE_CWD, n = e && !!he.ESLINT;
1819
1819
  return {
1820
1820
  isNode: e,
@@ -1822,12 +1822,12 @@ function Hn() {
1822
1822
  isESLint: n
1823
1823
  };
1824
1824
  }
1825
- function zn(e) {
1825
+ function Hn(e) {
1826
1826
  return Pe(Mt, e);
1827
1827
  }
1828
- const Gn = Vn(async (e) => {
1828
+ const zn = Bn(async (e) => {
1829
1829
  const t = e == null ? void 0 : e.customFetch, n = e == null ? void 0 : e.cdn;
1830
- return t && n ? Pe(t, n) : n ? zn(n) : De;
1830
+ return t && n ? Pe(t, n) : n ? Hn(n) : je;
1831
1831
  });
1832
1832
  function qn(e) {
1833
1833
  return e.replace(/-(\w)/g, (t, n) => n ? n.toUpperCase() : "");
@@ -1842,36 +1842,36 @@ var Se = ["Webkit", "Moz", "ms"];
1842
1842
  function Wn(e) {
1843
1843
  const t = {};
1844
1844
  function n(s) {
1845
- const r = t[s];
1846
- if (r)
1847
- return r;
1848
- let o = qn(s);
1849
- if (o !== "filter" && o in e)
1850
- return t[s] = we(o);
1851
- o = ve(o);
1845
+ const o = t[s];
1846
+ if (o)
1847
+ return o;
1848
+ let r = qn(s);
1849
+ if (r !== "filter" && r in e)
1850
+ return t[s] = we(r);
1851
+ r = ve(r);
1852
1852
  for (let a = 0; a < Se.length; a++) {
1853
- const l = `${Se[a]}${o}`;
1853
+ const l = `${Se[a]}${r}`;
1854
1854
  if (l in e)
1855
1855
  return t[s] = we(ve(l));
1856
1856
  }
1857
1857
  return s;
1858
1858
  }
1859
- return ({ entries: s }) => s.forEach((r) => {
1860
- r[0].startsWith("--") || (r[0] = n(r[0]));
1859
+ return ({ entries: s }) => s.forEach((o) => {
1860
+ o[0].startsWith("--") || (o[0] = n(o[0]));
1861
1861
  });
1862
1862
  }
1863
- function Jn(e) {
1863
+ function Kn(e) {
1864
1864
  return e.replace(/&amp;/g, "&").replace(/&gt;/g, ">").replace(/&lt;/g, "<");
1865
1865
  }
1866
- function Kn(e = {}) {
1867
- var P, F, O;
1866
+ function Jn(e = {}) {
1867
+ var P, F, k;
1868
1868
  if (typeof window > "u") {
1869
1869
  console.warn("@unocss/runtime been used in non-browser environment, skipped.");
1870
1870
  return;
1871
1871
  }
1872
- const t = window, n = window.document, s = () => n.documentElement, r = t.__unocss || {}, o = Object.assign({}, e, r.runtime), a = o.defaults || {}, l = o.cloakAttribute ?? "un-cloak";
1873
- o.autoPrefix && (a.postprocess = N(a.postprocess)).unshift(Wn(n.createElement("div").style)), (P = o.configResolved) == null || P.call(o, r, a);
1874
- const c = hn(r, a), f = (_) => o.inject ? o.inject(_) : s().prepend(_), i = () => o.rootElement ? o.rootElement() : n.body, u = /* @__PURE__ */ new Map();
1872
+ 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";
1873
+ r.autoPrefix && (a.postprocess = I(a.postprocess)).unshift(Wn(n.createElement("div").style)), (P = r.configResolved) == null || P.call(r, o, a);
1874
+ const c = hn(o, a), f = (_) => r.inject ? r.inject(_) : s().prepend(_), i = () => r.rootElement ? r.rootElement() : n.body, u = /* @__PURE__ */ new Map();
1875
1875
  let d = !0, m = /* @__PURE__ */ new Set(), y, h, v = [];
1876
1876
  const A = () => new Promise((_) => {
1877
1877
  v.push(_), h != null && clearTimeout(h), h = setTimeout(() => S().then(() => {
@@ -1893,8 +1893,8 @@ function Kn(e = {}) {
1893
1893
  if (C = n.createElement("style"), C.setAttribute("data-unocss-runtime-layer", _), u.set(_, C), E == null)
1894
1894
  f(C);
1895
1895
  else {
1896
- const M = g(E), k = M.parentNode;
1897
- k ? k.insertBefore(C, M.nextSibling) : f(C);
1896
+ const M = g(E), $ = M.parentNode;
1897
+ $ ? $.insertBefore(C, M.nextSibling) : f(C);
1898
1898
  }
1899
1899
  return C;
1900
1900
  }
@@ -1912,7 +1912,7 @@ function Kn(e = {}) {
1912
1912
  }
1913
1913
  async function p(_ = i()) {
1914
1914
  const E = _ && _.outerHTML;
1915
- E && (await b(`${E} ${Jn(E)}`), x(s()), x(_));
1915
+ E && (await b(`${E} ${Kn(E)}`), x(s()), x(_));
1916
1916
  }
1917
1917
  const w = new MutationObserver((_) => {
1918
1918
  d || _.forEach(async (E) => {
@@ -1926,40 +1926,40 @@ function Kn(e = {}) {
1926
1926
  E.addedNodes.forEach(async (M) => {
1927
1927
  if (M.nodeType !== 1)
1928
1928
  return;
1929
- const k = M;
1930
- y && !y(k) || (await b(k.outerHTML), x(k));
1929
+ const $ = M;
1930
+ y && !y($) || (await b($.outerHTML), x($));
1931
1931
  });
1932
1932
  else {
1933
1933
  if (y && !y(C))
1934
1934
  return;
1935
1935
  if (E.attributeName !== l) {
1936
- const M = Array.from(C.attributes).map((L) => L.value ? `${L.name}="${L.value}"` : L.name).join(" "), k = `<${C.tagName.toLowerCase()} ${M}>`;
1937
- await b(k);
1936
+ const M = Array.from(C.attributes).map((T) => T.value ? `${T.name}="${T.value}"` : T.name).join(" "), $ = `<${C.tagName.toLowerCase()} ${M}>`;
1937
+ await b($);
1938
1938
  }
1939
1939
  C.hasAttribute(l) && C.removeAttribute(l);
1940
1940
  }
1941
1941
  });
1942
1942
  });
1943
1943
  let R = !1;
1944
- function $() {
1944
+ function O() {
1945
1945
  var E, C;
1946
1946
  if (R)
1947
1947
  return;
1948
- const _ = (E = o.observer) != null && E.target ? o.observer.target() : i();
1948
+ const _ = (E = r.observer) != null && E.target ? r.observer.target() : i();
1949
1949
  _ && (w.observe(_, {
1950
1950
  childList: !0,
1951
1951
  subtree: !0,
1952
1952
  attributes: !0,
1953
- attributeFilter: (C = o.observer) == null ? void 0 : C.attributeFilter
1953
+ attributeFilter: (C = r.observer) == null ? void 0 : C.attributeFilter
1954
1954
  }), R = !0);
1955
1955
  }
1956
- function T() {
1957
- o.bypassDefined && Qn(c.blocked), p(), $();
1956
+ function L() {
1957
+ r.bypassDefined && Xn(c.blocked), p(), O();
1958
1958
  }
1959
- function j() {
1960
- n.readyState === "loading" ? t.addEventListener("DOMContentLoaded", T) : T();
1959
+ function N() {
1960
+ n.readyState === "loading" ? t.addEventListener("DOMContentLoaded", L) : L();
1961
1961
  }
1962
- const D = t.__unocss_runtime = t.__unocss_runtime = {
1962
+ const j = t.__unocss_runtime = t.__unocss_runtime = {
1963
1963
  version: c.version,
1964
1964
  uno: c,
1965
1965
  async extract(_) {
@@ -1970,25 +1970,25 @@ function Kn(e = {}) {
1970
1970
  y = _;
1971
1971
  },
1972
1972
  toggleObserver(_) {
1973
- _ === void 0 ? d = !d : d = !!_, !R && !d && j();
1973
+ _ === void 0 ? d = !d : d = !!_, !R && !d && N();
1974
1974
  },
1975
1975
  update: S,
1976
1976
  presets: ((F = t.__unocss_runtime) == null ? void 0 : F.presets) ?? {}
1977
1977
  };
1978
- ((O = o.ready) == null ? void 0 : O.call(o, D)) !== !1 && (d = !1, j());
1978
+ ((k = r.ready) == null ? void 0 : k.call(r, j)) !== !1 && (d = !1, N());
1979
1979
  }
1980
- function Qn(e = /* @__PURE__ */ new Set()) {
1980
+ function Xn(e = /* @__PURE__ */ new Set()) {
1981
1981
  for (let t = 0; t < document.styleSheets.length; t++) {
1982
1982
  const n = document.styleSheets[t];
1983
1983
  let s;
1984
1984
  try {
1985
1985
  if (s = n.cssRules || n.rules, !s)
1986
1986
  continue;
1987
- Array.from(s).flatMap((r) => {
1988
- var o;
1989
- return ((o = r.selectorText) == null ? void 0 : o.split(/,/g)) || [];
1990
- }).forEach((r) => {
1991
- r && (r = r.trim(), r.startsWith(".") && (r = r.slice(1)), e.add(r));
1987
+ Array.from(s).flatMap((o) => {
1988
+ var r;
1989
+ return ((r = o.selectorText) == null ? void 0 : r.split(/,/g)) || [];
1990
+ }).forEach((o) => {
1991
+ o && (o = o.trim(), o.startsWith(".") && (o = o.slice(1)), e.add(o));
1992
1992
  });
1993
1993
  } catch {
1994
1994
  continue;
@@ -1996,10 +1996,10 @@ function Qn(e = /* @__PURE__ */ new Set()) {
1996
1996
  }
1997
1997
  return e;
1998
1998
  }
1999
- Kn({
1999
+ Jn({
2000
2000
  defaults: {
2001
2001
  presets: [
2002
- Gn({
2002
+ zn({
2003
2003
  prefix: ["i-", ""],
2004
2004
  collections: {},
2005
2005
  cdn: "https://esm.sh/",