@vue/devtools-electron 7.0.23 → 7.0.25

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.
@@ -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) {
94
+ function ot(e, t) {
95
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,23 +121,23 @@ 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
- if (mt(t) || xe(e))
131
+ if (ht(t) || xe(e))
132
132
  return e;
133
133
  const n = ft(t);
134
134
  return e.startsWith(n) ? e : gt(n, e);
135
135
  }
136
- function ht(e, t) {
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
- function mt(e) {
140
+ function ht(e) {
141
141
  return !e || e === "/";
142
142
  }
143
143
  function _t(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,45 +194,45 @@ 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) {
202
202
  super(t, n), this.name = "FetchError", n != null && n.cause && !this.cause && (this.cause = n.cause);
203
203
  }
204
204
  }
205
- function wt(e) {
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
  );
211
- for (const h of ["request", "options", "response"])
212
- Object.defineProperty(l, h, {
211
+ for (const m of ["request", "options", "response"])
212
+ Object.defineProperty(l, m, {
213
213
  get() {
214
- return e[h];
214
+ return e[m];
215
215
  }
216
216
  });
217
- for (const [h, y] of [
217
+ for (const [m, y] of [
218
218
  ["data", "_data"],
219
219
  ["status", "status"],
220
220
  ["statusCode", "status"],
221
221
  ["statusText", "statusText"],
222
222
  ["statusMessage", "statusText"]
223
223
  ])
224
- Object.defineProperty(l, h, {
224
+ Object.defineProperty(l, m, {
225
225
  get() {
226
226
  return e.response && e.response[y];
227
227
  }
228
228
  });
229
229
  return l;
230
230
  }
231
- const vt = new Set(
231
+ const wt = new Set(
232
232
  Object.freeze(["PATCH", "POST", "PUT", "DELETE"])
233
233
  );
234
234
  function ce(e = "GET") {
235
- return vt.has(e.toUpperCase());
235
+ return wt.has(e.toUpperCase());
236
236
  }
237
237
  function St(e) {
238
238
  if (e === void 0)
@@ -265,8 +265,8 @@ 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
  }
@@ -294,7 +294,7 @@ function Oe(e = {}) {
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;
@@ -302,17 +302,17 @@ function Oe(e = {}) {
302
302
  const u = l.response && l.response.status || 500;
303
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((h) => setTimeout(h, 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
309
309
  });
310
310
  }
311
311
  }
312
- const f = wt(l);
313
- throw Error.captureStackTrace && Error.captureStackTrace(f, o), f;
312
+ const f = vt(l);
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,
@@ -320,7 +320,7 @@ function Oe(e = {}) {
320
320
  response: void 0,
321
321
  error: void 0
322
322
  };
323
- if (i.options.method = (d = i.options.method) == null ? void 0 : d.toUpperCase(), i.options.onRequest && await i.options.onRequest(i), typeof i.request == "string" && (i.options.baseURL && (i.request = dt(i.request, i.options.baseURL)), (i.options.query || i.options.params) && (i.request = ht(i.request, {
323
+ if (i.options.method = (d = i.options.method) == null ? void 0 : d.toUpperCase(), i.options.onRequest && await i.options.onRequest(i), typeof i.request == "string" && (i.options.baseURL && (i.request = dt(i.request, i.options.baseURL)), (i.options.query || i.options.params) && (i.request = mt(i.request, {
324
324
  ...i.options.params,
325
325
  ...i.options.query
326
326
  }))), i.options.body && ce(i.options.method) && (St(i.options.body) ? (i.options.body = typeof i.options.body == "string" ? i.options.body : JSON.stringify(i.options.body), i.options.headers = new n(i.options.headers || {}), i.options.headers.has("content-type") || i.options.headers.set("content-type", "application/json"), i.options.headers.has("accept") || i.options.headers.set("accept", "application/json")) : (
@@ -328,23 +328,23 @@ function Oe(e = {}) {
328
328
  ("pipeTo" in i.options.body && typeof i.options.body.pipeTo == "function" || // Node.js Stream Body
329
329
  typeof i.options.body.pipe == "function") && ("duplex" in i.options || (i.options.duplex = "half"))
330
330
  )), !i.options.signal && i.options.timeout) {
331
- const h = new s();
332
- setTimeout(() => h.abort(), i.options.timeout), i.options.signal = h.signal;
331
+ const m = new s();
332
+ setTimeout(() => m.abort(), i.options.timeout), i.options.signal = m.signal;
333
333
  }
334
334
  try {
335
335
  i.response = await t(
336
336
  i.request,
337
337
  i.options
338
338
  );
339
- } catch (h) {
340
- return i.error = h, i.options.onRequestError && await i.options.onRequestError(i), await r(i);
339
+ } catch (m) {
340
+ return i.error = m, i.options.onRequestError && await i.options.onRequestError(i), await o(i);
341
341
  }
342
342
  if (i.response.body && !Rt.has(i.response.status) && i.options.method !== "HEAD") {
343
- const h = (i.options.parseResponse ? "json" : i.options.responseType) || Ct(i.response.headers.get("content-type") || "");
344
- switch (h) {
343
+ const m = (i.options.parseResponse ? "json" : i.options.responseType) || Ct(i.response.headers.get("content-type") || "");
344
+ switch (m) {
345
345
  case "json": {
346
- const y = await i.response.text(), m = i.options.parseResponse || ze;
347
- i.response._data = m(y);
346
+ const y = await i.response.text(), h = i.options.parseResponse || ze;
347
+ i.response._data = h(y);
348
348
  break;
349
349
  }
350
350
  case "stream": {
@@ -352,14 +352,14 @@ function Oe(e = {}) {
352
352
  break;
353
353
  }
354
354
  default:
355
- i.response._data = await i.response[h]();
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 = {}) => Oe({
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 Oe(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
- }(), kt = re.fetch || (() => Promise.reject(new Error("[ofetch] global.fetch is not supported!"))), $t = re.Headers, Tt = re.AbortController, Lt = Oe({ fetch: kt, Headers: $t, AbortController: Tt }), Mt = Lt;
381
- function It(e) {
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
+ 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,60 +408,60 @@ function It(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 X = It;
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
- function I(e) {
432
+ function U(e) {
433
433
  return typeof e == "string";
434
434
  }
435
435
  function B(e) {
436
- return I(e) ? e : (Array.isArray(e) ? e : Object.entries(e)).filter((t) => t[1] != null);
436
+ return U(e) ? e : (Array.isArray(e) ? e : Object.entries(e)).filter((t) => t[1] != null);
437
437
  }
438
- function Dt(e) {
438
+ function Nt(e) {
439
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 Ut(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
451
  function Q(e) {
452
- return e == null ? "" : Ut(e).map(([t, n]) => n != null ? `${t}:${n};` : void 0).filter(Boolean).join("");
452
+ return e == null ? "" : Dt(e).map(([t, n]) => n != null ? `${t}:${n};` : void 0).filter(Boolean).join("");
453
453
  }
454
454
  function G(e) {
455
455
  return e && typeof e == "object" && !Array.isArray(e);
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 G(s) && G(r) && Object.keys(r).forEach((a) => {
463
- G(s[a]) && G(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;
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
465
  }
466
466
  function z(e) {
467
467
  let t, n, s;
@@ -484,10 +484,10 @@ function z(e) {
484
484
  return e;
485
485
  }
486
486
  function jt(e) {
487
- return I(e[0]);
487
+ return U(e[0]);
488
488
  }
489
489
  function Pt(e) {
490
- return I(e[0]);
490
+ return U(e[0]);
491
491
  }
492
492
  const le = "$$shortcut-no-merge";
493
493
  function Ft(e) {
@@ -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,14 +541,14 @@ 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
  }
@@ -583,33 +583,33 @@ function Qt(e = ["-", ":"]) {
583
583
  }
584
584
  function Yt(e, t = ["-", ":"], n = 5) {
585
585
  const s = Qt(t);
586
- let r, o = e.toString();
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
- (f, i, u, d, h) => {
592
- var w;
591
+ (f, i, u, d, m) => {
592
+ var v;
593
593
  if (!t.includes(u))
594
594
  return f;
595
- r = !0, a.add(i + u);
596
- const y = h + i.length + u.length + 1, m = { length: f.length, items: [] };
597
- l.set(h, m);
595
+ o = !0, a.add(i + u);
596
+ const y = m + i.length + u.length + 1, h = { length: f.length, items: [] };
597
+ l.set(m, h);
598
598
  for (const A of [...d.matchAll(/\S+/g)]) {
599
599
  const x = y + A.index;
600
- let g = (w = l.get(x)) == null ? void 0 : w.items;
600
+ let g = (v = l.get(x)) == null ? void 0 : v.items;
601
601
  g ? l.delete(x) : g = [{
602
602
  offset: x,
603
603
  length: A[0].length,
604
604
  className: A[0]
605
605
  }];
606
606
  for (const S of g)
607
- S.className = S.className === "~" ? i : S.className.replace(/^(!?)(.*)/, `$1${i}${u}$2`), m.items.push(S);
607
+ S.className = S.className === "~" ? i : S.className.replace(/^(!?)(.*)/, `$1${i}${u}$2`), h.items.push(S);
608
608
  }
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 Yt(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() {
@@ -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
675
  function Te(e) {
676
- return N(e).flatMap((t) => Array.isArray(t) ? [t] : Object.entries(t));
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) {
@@ -687,12 +687,12 @@ function cn(e) {
687
687
  });
688
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
  }
@@ -700,51 +700,51 @@ 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(Le);
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(Le), (p, v) => p.name === v.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((v) => N(v[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
- i === void 0 && (i = nn), i && !f.includes(i) && f.unshift(i), f.sort((p, v) => (p.order || 0) - (v.order || 0));
722
- const u = c("rules"), d = {}, h = u.length, y = u.map((p, v) => {
721
+ i === void 0 && (i = nn), i && !f.includes(i) && f.unshift(i), f.sort((p, w) => (p.order || 0) - (w.order || 0));
722
+ const u = c("rules"), d = {}, m = u.length, y = u.map((p, w) => {
723
723
  var R;
724
724
  if (jt(p)) {
725
- N(((R = p[2]) == null ? void 0 : R.prefix) || "").forEach((L) => {
726
- d[L + p[0]] = [v, p[1], p[2], 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
- return [v, ...p];
730
+ return [w, ...p];
731
731
  }).filter(Boolean).reverse();
732
- let m = ln(o.map((p) => p.theme));
733
- const w = c("extendTheme");
734
- for (const p of w)
735
- m = p(m) || m;
732
+ let h = ln(r.map((p) => p.theme));
733
+ const v = c("extendTheme");
734
+ for (const p of v)
735
+ h = p(h) || h;
736
736
  const A = {
737
- templates: W(o.flatMap((p) => {
738
- var v;
739
- return N((v = p.autocomplete) == null ? void 0 : v.templates);
737
+ templates: W(r.flatMap((p) => {
738
+ var w;
739
+ return I((w = p.autocomplete) == null ? void 0 : w.templates);
740
740
  })),
741
- extractors: o.flatMap((p) => {
742
- var v;
743
- return N((v = p.autocomplete) == null ? void 0 : v.extractors);
744
- }).sort((p, v) => (p.order || 0) - (v.order || 0)),
745
- shorthands: un(o.map((p) => {
746
- var v;
747
- return ((v = p.autocomplete) == null ? void 0 : v.shorthands) || {};
741
+ extractors: r.flatMap((p) => {
742
+ var w;
743
+ return I((w = p.autocomplete) == null ? void 0 : w.extractors);
744
+ }).sort((p, w) => (p.order || 0) - (w.order || 0)),
745
+ shorthands: un(r.map((p) => {
746
+ var w;
747
+ return ((w = p.autocomplete) == null ? void 0 : w.shorthands) || {};
748
748
  }))
749
749
  };
750
750
  let x = c("separators");
@@ -755,26 +755,26 @@ 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,
762
- theme: m,
763
- rulesSize: h,
762
+ theme: h,
763
+ rulesSize: m,
764
764
  rulesDynamic: y,
765
765
  rulesStaticMap: d,
766
766
  preprocess: c("preprocess"),
767
767
  postprocess: c("postprocess"),
768
768
  preflights: c("preflights"),
769
769
  autocomplete: A,
770
- variants: c("variants").map(Ft).sort((p, v) => (p.order || 0) - (v.order || 0)),
770
+ variants: c("variants").map(Ft).sort((p, w) => (p.order || 0) - (w.order || 0)),
771
771
  shortcuts: Te(c("shortcuts")).reverse(),
772
772
  extractors: f,
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
  }
@@ -784,9 +784,9 @@ function ln(e) {
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, U = (e, t, n) => (dn(e, typeof t != "symbol" ? t + "" : t, n), n);
799
- class hn {
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
+ class mn {
800
800
  constructor(t = {}, n = {}) {
801
- this.userConfig = t, this.defaults = n, U(this, "version", fn), U(this, "_cache", /* @__PURE__ */ new Map()), U(this, "config"), U(this, "blocked", /* @__PURE__ */ new Set()), U(this, "parentOrders", /* @__PURE__ */ new Map()), U(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,7 +813,7 @@ class hn {
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
818
  if (Y(l) && Y(s))
819
819
  for (const c of l)
@@ -831,7 +831,7 @@ class hn {
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,20 +843,20 @@ class hn {
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]]);
858
+ const a = this.makeContext(t, [n || r[0], r[1], r[2], r[3]]);
859
+ this.config.details && (a.variants = [...r[3]]);
860
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;
@@ -865,12 +865,12 @@ class hn {
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
- } = n, f = this.config.outputToCssLayers, i = I(t) ? await this.applyExtractors(
873
+ } = n, f = this.config.outputToCssLayers, i = U(t) ? await this.applyExtractors(
874
874
  t,
875
875
  s,
876
876
  c ? new ke() : /* @__PURE__ */ new Set()
@@ -879,40 +879,40 @@ class hn {
879
879
  i.has(b) || i.add(b);
880
880
  });
881
881
  const u = l ? "" : `
882
- `, d = /* @__PURE__ */ new Set([q]), h = c ? /* @__PURE__ */ new Map() : /* @__PURE__ */ new Set(), y = /* @__PURE__ */ new Map();
883
- let m = {};
884
- const w = Array.from(i).map(async (b) => {
885
- var v;
886
- if (h.has(b))
882
+ `, d = /* @__PURE__ */ new Set([q]), m = c ? /* @__PURE__ */ new Map() : /* @__PURE__ */ new Set(), y = /* @__PURE__ */ new Map();
883
+ let h = {};
884
+ const v = Array.from(i).map(async (b) => {
885
+ var w;
886
+ if (m.has(b))
887
887
  return;
888
888
  const p = await this.parseToken(b);
889
889
  if (p != null) {
890
- h instanceof Map ? h.set(b, {
890
+ m instanceof Map ? m.set(b, {
891
891
  data: p,
892
892
  count: Y(i) ? i.getCount(b) : -1
893
- }) : h.add(b);
893
+ }) : m.add(b);
894
894
  for (const R of p) {
895
- const O = R[3] || "", L = (v = R[4]) == null ? void 0 : v.layer;
895
+ const O = R[3] || "", L = (w = R[4]) == null ? void 0 : w.layer;
896
896
  y.has(O) || y.set(O, []), y.get(O).push(R), L && d.add(L);
897
897
  }
898
898
  }
899
899
  });
900
- await Promise.all(w), await (async () => {
901
- if (!o)
900
+ await Promise.all(v), await (async () => {
901
+ if (!r)
902
902
  return;
903
903
  const b = {
904
904
  generator: this,
905
905
  theme: this.config.theme
906
906
  }, p = /* @__PURE__ */ new Set([]);
907
- this.config.preflights.forEach(({ layer: v = ne }) => {
908
- d.add(v), p.add(v);
909
- }), m = Object.fromEntries(
907
+ this.config.preflights.forEach(({ layer: w = ne }) => {
908
+ d.add(w), p.add(w);
909
+ }), h = Object.fromEntries(
910
910
  await Promise.all(Array.from(p).map(
911
- async (v) => {
911
+ async (w) => {
912
912
  const O = (await Promise.all(
913
- this.config.preflights.filter((L) => (L.layer || ne) === v).map(async (L) => await L.getCSS(b))
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 [v, O];
915
+ return [w, O];
916
916
  }
917
917
  ))
918
918
  );
@@ -922,17 +922,17 @@ class hn {
922
922
  if (x[b])
923
923
  return x[b];
924
924
  let p = Array.from(y).sort((O, L) => {
925
- var D;
926
- return (this.parentOrders.get(O[0]) ?? 0) - (this.parentOrders.get(L[0]) ?? 0) || ((D = O[0]) == null ? void 0 : D.localeCompare(L[0] || "")) || 0;
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
927
  }).map(([O, L]) => {
928
- const D = L.length, j = L.filter((k) => {
928
+ const N = L.length, j = L.filter((k) => {
929
929
  var _;
930
930
  return (((_ = k[4]) == null ? void 0 : _.layer) || q) === b;
931
931
  }).sort((k, _) => {
932
932
  var E, C, M, $, T, V, ie;
933
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
934
  }).map(([, k, _, , E, , C]) => [
935
- [[(k && gn(k, r)) ?? "", (E == null ? void 0 : E.sort) ?? 0]],
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
  ]);
@@ -940,7 +940,7 @@ class hn {
940
940
  return;
941
941
  const P = j.reverse().map(([k, _, E], C) => {
942
942
  if (!E && this.config.mergeSelectors)
943
- for (let $ = C + 1; $ < D; $++) {
943
+ for (let $ = C + 1; $ < N; $++) {
944
944
  const T = j[$];
945
945
  if (T && !T[2] && (k && T[0] || k == null && T[0] == null) && T[1] === _)
946
946
  return k && T[0] && T[0].push(...k), null;
@@ -956,26 +956,26 @@ class hn {
956
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 = [m[b], p].filter(Boolean).join(u)), f && p) {
959
+ if (r && (p = [h[b], p].filter(Boolean).join(u)), f && p) {
960
960
  let O = typeof f == "object" ? (R = f.cssLayerName) == null ? void 0 : R.call(f, b) : void 0;
961
961
  O !== null && (O || (O = b), p = `@layer ${O}{${u}${p}${u}}`);
962
962
  }
963
- const v = l ? "" : `/* layer: ${b} */${u}`;
964
- return x[b] = p ? v + p : "";
965
- }, S = (b = A, p) => b.filter((v) => !(p != null && p.includes(v))).map((v) => g(v) || "").filter(Boolean).join(u);
963
+ const w = l ? "" : `/* layer: ${b} */${u}`;
964
+ return x[b] = p ? w + p : "";
965
+ }, S = (b = A, p) => b.filter((w) => !(p != null && p.includes(w))).map((w) => g(w) || "").filter(Boolean).join(u);
966
966
  return {
967
967
  get css() {
968
968
  return S();
969
969
  },
970
970
  layers: A,
971
- matched: h,
971
+ matched: m,
972
972
  getLayers: S,
973
973
  getLayer: g
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,35 +986,35 @@ class hn {
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
- if (I(f)) {
992
- if (f === o)
991
+ if (U(f)) {
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
- var y, m;
1011
- const d = ((y = i.body) == null ? void 0 : y.call(i, u.entries)) || u.entries, h = Array.isArray(i.parent) ? i.parent : [i.parent, void 0];
1010
+ var y, h;
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];
1012
1012
  return (i.handle ?? bn)({
1013
1013
  ...u,
1014
1014
  entries: d,
1015
- selector: ((m = i.selector) == null ? void 0 : m.call(i, u.selector, d)) || u.selector,
1016
- parent: h[0] || u.parent,
1017
- parentOrder: h[1] || u.parentOrder,
1015
+ selector: ((h = i.selector) == null ? void 0 : h.call(i, u.selector, d)) || u.selector,
1016
+ parent: m[0] || u.parent,
1017
+ parentOrder: m[1] || u.parentOrder,
1018
1018
  layer: i.layer || u.layer,
1019
1019
  sort: i.sort || u.sort
1020
1020
  }, f);
@@ -1025,70 +1025,70 @@ class hn {
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 = B(n);
1048
- if (I(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}{${Q(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] = I(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 = B(c[1]), h = c[2];
1061
- return I(d) ? [[u, d, h]] : [[u, o, d, h, 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;
1065
- for (const [u, d, h, y] of f) {
1065
+ for (const [u, d, m, y] of f) {
1066
1066
  if (y != null && y.internal && !s)
1067
1067
  continue;
1068
- let m = a;
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 {
1076
1076
  const S = g.find((b) => a.startsWith(b));
1077
1077
  if (S == null)
1078
1078
  continue;
1079
- m = a.slice(S.length);
1079
+ h = a.slice(S.length);
1080
1080
  }
1081
1081
  }
1082
- const w = m.match(d);
1083
- if (!w)
1082
+ const v = h.match(d);
1083
+ if (!v)
1084
1084
  continue;
1085
- const A = await h(w, n);
1085
+ const A = await m(v, n);
1086
1086
  if (!A)
1087
1087
  continue;
1088
- this.config.details && n.rules.push([d, h, y]);
1089
- const x = Dt(A).filter((g) => g.length);
1088
+ this.config.details && n.rules.push([d, m, y]);
1089
+ const x = Nt(A).filter((g) => g.length);
1090
1090
  if (x.length)
1091
- return x.map((g) => I(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,65 +1096,65 @@ class hn {
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 = Q(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
- const { layer: i, sort: u, ...d } = t[3] ?? {}, h = {
1102
+ const { layer: i, sort: u, ...d } = t[3] ?? {}, m = {
1103
1103
  ...d,
1104
1104
  layer: a ?? i,
1105
1105
  sort: l ?? u
1106
1106
  };
1107
- return [t[0], s, f, o, h, 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
1115
  } : Bt;
1116
- let o, a;
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
  }
1137
1137
  }
1138
- if (I(a) && (a = Zt(a.trim()).split(/\s+/g)), !a) {
1139
- const [c, f] = I(t) ? await this.matchVariants(t) : t;
1138
+ if (U(a) && (a = Zt(a.trim()).split(/\s+/g)), !a) {
1139
+ const [c, f] = U(t) ? await this.matchVariants(t) : t;
1140
1140
  if (c !== f) {
1141
1141
  const i = await this.expandShortcut(f, n, s - 1);
1142
- i && (a = i[0].map((u) => I(u) ? c.replace(f, u) : u));
1142
+ i && (a = i[0].map((u) => U(u) ? c.replace(f, u) : u));
1143
1143
  }
1144
1144
  }
1145
1145
  if (a)
1146
1146
  return [
1147
1147
  (await Promise.all(a.map(async (c) => {
1148
1148
  var f;
1149
- return (I(c) ? (f = await this.expandShortcut(c, n, s - 1)) == null ? void 0 : f[0] : void 0) || [c];
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 = I(u) ? await this.parseUtil(u, n, !0, r.prefix) : [[Number.POSITIVE_INFINITY, "{inline}", B(u), void 0, []]];
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
1158
  return !d && this.config.warn && $e(`unmatched utility "${u}" in shortcut "${t[1]}"`), d || [];
1159
1159
  }))).flat(1).filter(Boolean).sort((u, d) => u[0] - d[0]), [l, , c] = t, f = [];
1160
1160
  for (const u of a) {
@@ -1162,22 +1162,22 @@ class hn {
1162
1162
  f.push([u[0], void 0, u[1], void 0, u[2], n, void 0]);
1163
1163
  continue;
1164
1164
  }
1165
- const { selector: d, entries: h, parent: y, sort: m, noMerge: w, layer: A } = this.applyVariants(u, [...u[4], ...c], l);
1166
- o.getFallback(A ?? r.layer, new qt()).getFallback(d, y, [[], u[0]])[0].push([h, !!(w ?? ((i = u[3]) == null ? void 0 : i.noMerge)), m ?? 0]);
1165
+ const { selector: d, entries: m, parent: y, sort: h, noMerge: v, layer: A } = this.applyVariants(u, [...u[4], ...c], l);
1166
+ r.getFallback(A ?? o.layer, new qt()).getFallback(d, y, [[], u[0]])[0].push([m, !!(v ?? ((i = u[3]) == null ? void 0 : i.noMerge)), h ?? 0]);
1167
1167
  }
1168
- return f.concat(o.flatMap(
1169
- (u, d) => u.map(([h, y], m, w) => {
1168
+ return f.concat(r.flatMap(
1169
+ (u, d) => u.map(([m, y], h, v) => {
1170
1170
  const A = (g, S, b) => {
1171
- const p = Math.max(...b.map((R) => R[1])), v = b.map((R) => R[0]);
1172
- return (g ? [v.flat(1)] : v).map((R) => {
1171
+ const p = Math.max(...b.map((R) => R[1])), w = b.map((R) => R[0]);
1172
+ return (g ? [w.flat(1)] : w).map((R) => {
1173
1173
  const O = Q(R);
1174
1174
  if (O)
1175
- return [y, m, O, w, { ...r, noMerge: S, sort: p, layer: d }, n, void 0];
1175
+ return [y, h, O, v, { ...o, noMerge: S, sort: p, layer: d }, n, void 0];
1176
1176
  });
1177
1177
  };
1178
1178
  return [
1179
- [h.filter(([, g]) => g).map(([g, , S]) => [g, S]), !0],
1180
- [h.filter(([, g]) => !g).map(([g, , S]) => [g, S]), !1]
1179
+ [m.filter(([, g]) => g).map(([g, , S]) => [g, S]), !0],
1180
+ [m.filter(([, g]) => !g).map(([g, , S]) => [g, S]), !1]
1181
1181
  ].map(([g, S]) => [
1182
1182
  ...A(!1, S, g.filter(([b]) => b.some((p) => p[0] === le))),
1183
1183
  ...A(!0, S, g.filter(([b]) => b.every((p) => p[0] !== le)))
@@ -1186,11 +1186,11 @@ class hn {
1186
1186
  ));
1187
1187
  }
1188
1188
  isBlocked(t) {
1189
- return !t || this.config.blocklist.some((n) => typeof n == "function" ? n(t) : I(n) ? n === t : n.test(t));
1189
+ return !t || this.config.blocklist.some((n) => typeof n == "function" ? n(t) : U(n) ? n === t : n.test(t));
1190
1190
  }
1191
1191
  }
1192
- function mn(e, t) {
1193
- return new hn(e, t);
1192
+ function hn(e, t) {
1193
+ return new mn(e, t);
1194
1194
  }
1195
1195
  const Me = /\s\$\$\s+/g;
1196
1196
  function _n(e) {
@@ -1199,15 +1199,15 @@ function _n(e) {
1199
1199
  function gn(e, t) {
1200
1200
  return _n(e) ? e.replace(Me, t ? ` ${t} ` : " ") : t ? `${t} ${e}` : e;
1201
1201
  }
1202
- const he = /^\[(.+?)(~?=)"(.*)"\]$/;
1202
+ const me = /^\[(.+?)(~?=)"(.*)"\]$/;
1203
1203
  function yn(e) {
1204
- return he.test(e) ? e.replace(he, (t, n, s, r) => `[${X(n)}${s}"${X(r)}"]`) : `.${X(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 me = { 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:/usr/local/lib/node_modules/pnpm/dist/node-gyp-bin:/Users/arlo/g/devtools-next/node_modules/.bin:/Users/arlo/Library/Caches/fnm_multishells/83922_1711457313522/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/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/83922_1711457313522", TURBO_HASH: "73a8a949739ebd91", 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.23", 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
- const wn = Object.freeze(
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/55361_1711600338060/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/55361_1711600338060", TURBO_HASH: "2b8fe82c55078739", 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.25", 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
+ const vn = Object.freeze(
1211
1211
  {
1212
1212
  left: 0,
1213
1213
  top: 0,
@@ -1218,17 +1218,17 @@ const wn = Object.freeze(
1218
1218
  rotate: 0,
1219
1219
  vFlip: !1,
1220
1220
  hFlip: !1
1221
- }), Ie = Object.freeze({
1222
- ...wn,
1221
+ }), Ue = Object.freeze({
1222
+ ...vn,
1223
1223
  ...K
1224
- }), vn = Object.freeze({
1225
- ...Ie,
1224
+ }), wn = Object.freeze({
1225
+ ...Ue,
1226
1226
  body: "",
1227
1227
  hidden: !1
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
@@ -1242,34 +1242,34 @@ function En(e, t) {
1242
1242
  }
1243
1243
  function _e(e, t) {
1244
1244
  const n = En(e, t);
1245
- for (const s in vn)
1245
+ for (const s in wn)
1246
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])
@@ -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 = On.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,13 +1305,13 @@ 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,
@@ -1325,65 +1325,65 @@ function $n(e, t, n) {
1325
1325
  const s = Rn(e);
1326
1326
  return kn(s.defs, t + s.content + n);
1327
1327
  }
1328
- const oe = (e) => e === "unset" || e === "undefined" || e === "none";
1328
+ const re = (e) => e === "unset" || e === "undefined" || e === "none";
1329
1329
  function Tn(e, t) {
1330
1330
  const n = {
1331
- ...Ie,
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;
1343
- [n, s].forEach((m) => {
1344
- const w = [], A = m.hFlip, x = m.vFlip;
1345
- let g = m.rotate;
1346
- A ? x ? g += 2 : (w.push(
1347
- "translate(" + (r.width + r.left).toString() + " " + (0 - r.top).toString() + ")"
1348
- ), w.push("scale(-1 1)"), r.top = r.left = 0) : x && (w.push(
1349
- "translate(" + (0 - r.left).toString() + " " + (r.height + r.top).toString() + ")"
1350
- ), w.push("scale(1 -1)"), r.top = r.left = 0);
1342
+ let r = n.body;
1343
+ [n, s].forEach((h) => {
1344
+ const v = [], A = h.hFlip, x = h.vFlip;
1345
+ let g = h.rotate;
1346
+ A ? x ? g += 2 : (v.push(
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, w.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
- w.unshift(
1360
- "rotate(180 " + (r.width / 2 + r.left).toString() + " " + (r.height / 2 + r.top).toString() + ")"
1359
+ v.unshift(
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, w.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)), w.length && (o = $n(
1370
- o,
1371
- '<g transform="' + w.join(" ") + '">',
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
+ '<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
- const d = {}, h = (m, w) => {
1379
- oe(w) || (d[m] = w.toString());
1378
+ const d = {}, m = (h, v) => {
1379
+ re(v) || (d[h] = v.toString());
1380
1380
  };
1381
- h("width", i), h("height", u);
1382
- const y = [r.left, r.top, c, f];
1381
+ m("width", i), m("height", u);
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
1389
  function Ln(e) {
@@ -1399,47 +1399,47 @@ function Mn(e) {
1399
1399
  '<svg xmlns="http://www.w3.org/2000/svg" '
1400
1400
  )), Ln(t);
1401
1401
  }
1402
- function In(e) {
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.]+)["']/, Dn = /\sheight\s*=\s*["']([\w.]+)["']/, Z = /<svg\s+/;
1406
- function Un(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", Dn)];
1412
- }
1413
- async function De(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()) ?? {};
1415
- await (f == null ? void 0 : f(t, n, i)), Object.keys(c).forEach((m) => {
1416
- const w = c[m];
1417
- w != null && (i[m] = w);
1418
- }), o == null || o(i);
1419
- const [u, d] = Un(e, i, a);
1411
+ return [o("width", In), o("height", Nn)];
1412
+ }
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
+ await (f == null ? void 0 : f(t, n, i)), Object.keys(c).forEach((h) => {
1416
+ const v = c[h];
1417
+ v != null && (i[h] = v);
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
- const h = Object.keys(i).map(
1422
- (m) => m === "width" && u || m === "height" && d ? null : `${m}="${i[m]}"`
1423
- ).filter((m) => m != null);
1424
- if (h.length && (e = e.replace(Z, `<svg ${h.join(" ")} `)), s) {
1425
- const { defaultStyle: m, defaultClass: w } = s;
1426
- w && !e.includes("class=") && (e = e.replace(Z, `<svg class="${w}" `)), m && !e.includes("style=") && (e = e.replace(Z, `<svg style="${m}" `));
1421
+ const m = Object.keys(i).map(
1422
+ (h) => h === "width" && u || h === "height" && d ? null : `${h}="${i[h]}"`
1423
+ ).filter((h) => h != null);
1424
+ if (m.length && (e = e.replace(Z, `<svg ${m.join(" ")} `)), s) {
1425
+ const { defaultStyle: h, defaultClass: v } = s;
1426
+ v && !e.includes("class=") && (e = e.replace(Z, `<svg class="${v}" `)), h && !e.includes("style=") && (e = e.replace(Z, `<svg style="${h}" `));
1427
1427
  }
1428
1428
  const y = s == null ? void 0 : s.usedProps;
1429
- return y && (Object.keys(c).forEach((m) => {
1430
- const w = i[m];
1431
- w != null && (y[m] = w);
1429
+ return y && (Object.keys(c).forEach((h) => {
1430
+ const v = i[h];
1431
+ v != null && (y[h] = v);
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,49 +1448,49 @@ 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 De(
1456
- ((o = s == null ? void 0 : s.customizations) == null ? void 0 : o.trimCustomSvg) === !0 ? In(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 Ue(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
- } = Tn(r, l), d = s == null ? void 0 : s.scale;
1477
- return await De(
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,
1481
1481
  a,
1482
1482
  s,
1483
1483
  () => ({ ...i }),
1484
- (h) => {
1485
- const y = (m, w) => {
1486
- const A = h[m];
1484
+ (m) => {
1485
+ const y = (h, v) => {
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
- typeof d == "number" ? d && (x = `${d}em`) : x = w;
1491
+ typeof d == "number" ? d && (x = `${d}em`) : x = v;
1492
1492
  }
1493
- x ? h[m] = x : delete h[m];
1493
+ x ? m[h] = x : delete m[h];
1494
1494
  };
1495
1495
  y("width", c), y("height", f);
1496
1496
  }
@@ -1498,13 +1498,13 @@ async function Ue(e, t, n, s) {
1498
1498
  }
1499
1499
  }
1500
1500
  const je = async (e, t, n) => {
1501
- var r;
1502
- const s = (r = n == null ? void 0 : n.customCollections) == null ? void 0 : r[e];
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 je = 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 Ue(
1530
- o,
1529
+ return await De(
1530
+ r,
1531
1531
  e,
1532
1532
  a,
1533
1533
  n
@@ -1719,8 +1719,8 @@ function Bn(e) {
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 Bn(e) {
1728
1728
  collectionsNodeResolvePath: i,
1729
1729
  layer: u = "icons",
1730
1730
  unit: d
1731
- } = t, h = Gn(), y = {
1731
+ } = t, m = Gn(), y = {
1732
1732
  addXmlNs: !0,
1733
1733
  scale: n,
1734
1734
  customCollections: a,
@@ -1740,13 +1740,13 @@ function Bn(e) {
1740
1740
  ...c,
1741
1741
  additionalProps: { ...l },
1742
1742
  trimCustomSvg: !0,
1743
- async iconCustomizer(w, A, x) {
1743
+ async iconCustomizer(v, A, x) {
1744
1744
  var g;
1745
- await ((g = c.iconCustomizer) == null ? void 0 : g.call(c, w, A, x)), d && (x.width || (x.width = `${n}${d}`), x.height || (x.height = `${n}${d}`));
1745
+ await ((g = c.iconCustomizer) == null ? void 0 : g.call(c, v, A, x)), d && (x.width || (x.width = `${n}${d}`), x.height || (x.height = `${n}${d}`));
1746
1746
  }
1747
1747
  }
1748
1748
  };
1749
- let m;
1749
+ let h;
1750
1750
  return {
1751
1751
  name: "@unocss/preset-icons",
1752
1752
  enforce: "pre",
@@ -1754,24 +1754,24 @@ function Bn(e) {
1754
1754
  layers: { icons: -30 },
1755
1755
  rules: [[
1756
1756
  /^([a-z0-9:_-]+)(?:\?(mask|bg|auto))?$/,
1757
- async ([w, A, x = s]) => {
1757
+ async ([v, A, x = s]) => {
1758
1758
  let g = "", S = "", b;
1759
- m = m || await e(t);
1759
+ h = h || await e(t);
1760
1760
  const p = {};
1761
1761
  if (A.includes(":"))
1762
- [g, S] = A.split(":"), b = await m(g, S, { ...y, usedProps: p });
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 O = Vn; O >= 1 && (g = R.slice(0, O).join("-"), S = R.slice(O).join("-"), b = await m(g, S, { ...y, usedProps: p }), !b); O--)
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 && !h.isESLint && $e(`failed to load icon "${w}"`);
1769
+ r && !m.isESLint && $e(`failed to load icon "${v}"`);
1770
1770
  return;
1771
1771
  }
1772
- const v = `url("data:image/svg+xml;utf8,${Mn(b)}")`;
1772
+ const w = `url("data:image/svg+xml;utf8,${Mn(b)}")`;
1773
1773
  return x === "auto" && (x = b.includes("currentColor") ? "mask" : "bg"), x === "mask" ? {
1774
- "--un-icon": v,
1774
+ "--un-icon": w,
1775
1775
  "-webkit-mask": "var(--un-icon) no-repeat",
1776
1776
  mask: "var(--un-icon) no-repeat",
1777
1777
  "-webkit-mask-size": "100% 100%",
@@ -1781,41 +1781,41 @@ function Bn(e) {
1781
1781
  color: "inherit",
1782
1782
  ...p
1783
1783
  } : {
1784
- background: `${v} no-repeat`,
1784
+ background: `${w} no-repeat`,
1785
1785
  "background-size": "100% 100%",
1786
1786
  "background-color": "transparent",
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 je(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 Ue(c, r, f, a);
1812
+ l = await De(c, o, f, a);
1813
1813
  }
1814
1814
  return l;
1815
1815
  };
1816
1816
  }
1817
1817
  function Gn() {
1818
- const e = typeof process < "u" && process.stdout && !process.versions.deno, t = e && !!me.VSCODE_CWD, n = e && !!me.ESLINT;
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,
1821
1821
  isVSCode: t,
@@ -1832,32 +1832,32 @@ const zn = Bn(async (e) => {
1832
1832
  function qn(e) {
1833
1833
  return e.replace(/-(\w)/g, (t, n) => n ? n.toUpperCase() : "");
1834
1834
  }
1835
- function we(e) {
1835
+ function ve(e) {
1836
1836
  return e.charAt(0).toUpperCase() + e.slice(1);
1837
1837
  }
1838
- function ve(e) {
1838
+ function we(e) {
1839
1839
  return e.replace(/(?:^|\B)([A-Z])/g, "-$1").toLowerCase();
1840
1840
  }
1841
1841
  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] = ve(o);
1851
- o = we(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
- return t[s] = ve(we(l));
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
1863
  function Kn(e) {
@@ -1869,14 +1869,14 @@ function Jn(e = {}) {
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 = mn(r, a), f = (_) => o.inject ? o.inject(_) : s().prepend(_), i = () => o.rootElement ? o.rootElement() : n.body, u = /* @__PURE__ */ new Map();
1875
- let d = !0, h = /* @__PURE__ */ new Set(), y, m, w = [];
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
+ let d = !0, m = /* @__PURE__ */ new Set(), y, h, v = [];
1876
1876
  const A = () => new Promise((_) => {
1877
- w.push(_), m != null && clearTimeout(m), m = setTimeout(() => S().then(() => {
1878
- const E = w;
1879
- w = [], E.forEach((C) => C());
1877
+ v.push(_), h != null && clearTimeout(h), h = setTimeout(() => S().then(() => {
1878
+ const E = v;
1879
+ v = [], E.forEach((C) => C());
1880
1880
  }), 0);
1881
1881
  });
1882
1882
  function x(_) {
@@ -1899,22 +1899,22 @@ function Jn(e = {}) {
1899
1899
  return C;
1900
1900
  }
1901
1901
  async function S() {
1902
- const _ = await c.generate(h);
1903
- return _.layers.reduce((E, C) => (g(C, E).innerHTML = _.getLayer(C) ?? "", C), void 0), h = _.matched, {
1902
+ const _ = await c.generate(m);
1903
+ return _.layers.reduce((E, C) => (g(C, E).innerHTML = _.getLayer(C) ?? "", C), void 0), m = _.matched, {
1904
1904
  ..._,
1905
1905
  getStyleElement: (E) => u.get(E),
1906
1906
  getStyleElements: () => u
1907
1907
  };
1908
1908
  }
1909
1909
  async function b(_) {
1910
- const E = h.size;
1911
- await c.applyExtractors(_, void 0, h), E !== h.size && await A();
1910
+ const E = m.size;
1911
+ await c.applyExtractors(_, void 0, m), E !== m.size && await A();
1912
1912
  }
1913
1913
  async function p(_ = i()) {
1914
1914
  const E = _ && _.outerHTML;
1915
1915
  E && (await b(`${E} ${Kn(E)}`), x(s()), x(_));
1916
1916
  }
1917
- const v = new MutationObserver((_) => {
1917
+ const w = new MutationObserver((_) => {
1918
1918
  d || _.forEach(async (E) => {
1919
1919
  if (E.target.nodeType !== 1)
1920
1920
  return;
@@ -1945,37 +1945,37 @@ function Jn(e = {}) {
1945
1945
  var E, C;
1946
1946
  if (R)
1947
1947
  return;
1948
- const _ = (E = o.observer) != null && E.target ? o.observer.target() : i();
1949
- _ && (v.observe(_, {
1948
+ const _ = (E = r.observer) != null && E.target ? r.observer.target() : i();
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
1956
  function L() {
1957
- o.bypassDefined && Xn(c.blocked), p(), O();
1957
+ r.bypassDefined && Xn(c.blocked), p(), O();
1958
1958
  }
1959
- function D() {
1959
+ function N() {
1960
1960
  n.readyState === "loading" ? t.addEventListener("DOMContentLoaded", L) : L();
1961
1961
  }
1962
1962
  const j = t.__unocss_runtime = t.__unocss_runtime = {
1963
1963
  version: c.version,
1964
1964
  uno: c,
1965
1965
  async extract(_) {
1966
- I(_) || (_.forEach((E) => h.add(E)), _ = ""), await b(_);
1966
+ U(_) || (_.forEach((E) => m.add(E)), _ = ""), await b(_);
1967
1967
  },
1968
1968
  extractAll: p,
1969
1969
  inspect(_) {
1970
1970
  y = _;
1971
1971
  },
1972
1972
  toggleObserver(_) {
1973
- _ === void 0 ? d = !d : d = !!_, !R && !d && D();
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
- ((k = o.ready) == null ? void 0 : k.call(o, j)) !== !1 && (d = !1, D());
1978
+ ((k = r.ready) == null ? void 0 : k.call(r, j)) !== !1 && (d = !1, N());
1979
1979
  }
1980
1980
  function Xn(e = /* @__PURE__ */ new Set()) {
1981
1981
  for (let t = 0; t < document.styleSheets.length; t++) {
@@ -1984,11 +1984,11 @@ function Xn(e = /* @__PURE__ */ new Set()) {
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;