@vue/devtools-applet 8.0.6 → 8.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,20 +1,20 @@
1
- import { defineComponent as F, withDirectives as q, createElementBlock as m, openBlock as c, normalizeStyle as Se, unref as a, createTextVNode as Q, toDisplayString as re, mergeModels as Re, useModel as Ye, Fragment as le, renderList as ce, normalizeClass as ie, createBlock as z, inject as ge, toValue as J, ref as E, computed as S, h as cn, provide as ye, createElementVNode as u, renderSlot as Xe, createCommentVNode as j, isRef as Fe, shallowRef as me, shallowReadonly as dn, onMounted as At, nextTick as Be, watch as te, getCurrentScope as pn, onScopeDispose as fn, getCurrentInstance as Qe, reactive as xt, toRaw as Rt, createVNode as b, mergeProps as Ie, withModifiers as he, withCtx as M, watchEffect as et, onUnmounted as ke, vShow as vn, createStaticVNode as mn } from "vue";
2
- import { vTooltip as Y, VueButton as fe, VueIcon as ue, VueDropdown as hn, VueDropdownButton as yt, VueInput as Ce, VueIcIcon as Ze, VueCodeBlock as gn, VueDialog as Cn, VueSwitch as xn, VueSelect as yn } from "@vue/devtools-ui";
3
- import { isPlainObject as bn, UNDEFINED as Dt, NAN as _n, INFINITY as wn, NEGATIVE_INFINITY as kn, getRaw as Pt, toSubmit as je, formatInspectorStateValue as In, getInspectorStateValueType as bt, escape as $n, toEdit as Sn, parse as ne } from "@vue/devtools-kit";
4
- import { rpc as V, useDevToolsState as Lt, DevToolsMessagingEvents as X, onRpcConnected as De } from "@vue/devtools-core";
5
- import { Splitpanes as Pe, Pane as de } from "splitpanes";
6
- import { isArray as _t, isObject as wt, sortByKey as Mt, isInSeparateWindow as Tn, isInChromePanel as kt } from "@vue/devtools-shared";
7
- import { debounce as En } from "perfect-debounce";
8
- import { RecycleScroller as Vn } from "vue-virtual-scroller";
9
- import { flatten as Nn, groupBy as An } from "lodash-es";
1
+ import { defineComponent as Z, withDirectives as q, createElementBlock as h, openBlock as c, normalizeStyle as Ee, unref as a, createTextVNode as Q, toDisplayString as re, mergeModels as De, useModel as Ye, Fragment as se, renderList as ce, normalizeClass as ie, createBlock as B, inject as xe, toValue as Y, ref as V, computed as $, h as un, provide as ye, createElementVNode as u, renderSlot as Xe, createCommentVNode as U, isRef as Ke, shallowRef as me, shallowReadonly as cn, onMounted as At, nextTick as Ze, watch as te, getCurrentScope as dn, onScopeDispose as pn, getCurrentInstance as Qe, reactive as xt, toRaw as Rt, createVNode as y, mergeProps as Se, withModifiers as he, withCtx as M, watchEffect as et, onUnmounted as Ie, vShow as fn, createStaticVNode as vn } from "vue";
2
+ import { vTooltip as J, VueButton as fe, VueIcon as ue, VueDropdown as mn, VueDropdownButton as yt, VueInput as ge, VueIcIcon as Fe, VueCodeBlock as hn, VueDialog as gn, VueSwitch as Cn, VueSelect as xn } from "@vue/devtools-ui";
3
+ import { isPlainObject as yn, UNDEFINED as Dt, NAN as bn, INFINITY as _n, NEGATIVE_INFINITY as wn, getRaw as Pt, toSubmit as ze, formatInspectorStateValue as kn, getInspectorStateValueType as bt, escape as In, toEdit as $n, parse as le } from "@vue/devtools-kit";
4
+ import { rpc as E, useDevToolsState as Lt, DevToolsMessagingEvents as X, onRpcConnected as Pe } from "@vue/devtools-core";
5
+ import { Splitpanes as Le, Pane as de } from "splitpanes";
6
+ import { isArray as _t, isObject as wt, sortByKey as Mt, isInSeparateWindow as Sn, isInChromePanel as kt } from "@vue/devtools-shared";
7
+ import { debounce as Tn } from "perfect-debounce";
8
+ import { RecycleScroller as En } from "vue-virtual-scroller";
9
+ import { flatten as Vn, groupBy as Nn } from "lodash-es";
10
10
  function It(e) {
11
11
  return e.toString(16).padStart(6, "0");
12
12
  }
13
- function Rn(e, t) {
13
+ function An(e, t) {
14
14
  const o = new Date(e);
15
15
  return `${o.toString().match(/\d\d:\d\d:\d\d/)[0]}${t === "ms" ? `.${String(o.getMilliseconds()).padStart(3, "0")}` : ""}`;
16
16
  }
17
- function Dn(e, t) {
17
+ function Rn(e, t) {
18
18
  const o = /* @__PURE__ */ new Map(), n = Ot(e, t.toLowerCase(), o, 0);
19
19
  return o.clear(), n;
20
20
  }
@@ -31,15 +31,15 @@ function Ot(e, t, o, n) {
31
31
  }
32
32
  function Ut(e, t, o, n, l) {
33
33
  let s = !1, p;
34
- return t === "_custom" && (t = o.display, o = o.value), (p = Pn(o)) && (o = p), t && $t(t, e) ? (s = !0, n.set(o, !0)) : n.has(o) ? s = n.get(o) : Array.isArray(o) ? (n.set(o, null), s = Ln(o, e, n, l), n.set(o, s)) : bn(o) ? (n.set(o, null), s = Ot(o, e, n, l), n.set(o, s)) : $t(o, e) && (s = !0, n.set(o, !0)), s;
34
+ return t === "_custom" && (t = o.display, o = o.value), (p = Dn(o)) && (o = p), t && $t(t, e) ? (s = !0, n.set(o, !0)) : n.has(o) ? s = n.get(o) : Array.isArray(o) ? (n.set(o, null), s = Pn(o, e, n, l), n.set(o, s)) : yn(o) ? (n.set(o, null), s = Ot(o, e, n, l), n.set(o, s)) : $t(o, e) && (s = !0, n.set(o, !0)), s;
35
35
  }
36
36
  function $t(e, t) {
37
37
  return `${e}`.toLowerCase().includes(t);
38
38
  }
39
- function Pn(e) {
40
- return e === null ? "null" : e === Dt ? "undefined" : e === _n ? "NaN" : e === wn ? "Infinity" : e === kn ? "-Infinity" : !1;
39
+ function Dn(e) {
40
+ return e === null ? "null" : e === Dt ? "undefined" : e === bn ? "NaN" : e === _n ? "Infinity" : e === wn ? "-Infinity" : !1;
41
41
  }
42
- function Ln(e, t, o, n) {
42
+ function Pn(e, t, o, n) {
43
43
  if (n > Ht)
44
44
  return !1;
45
45
  let l = !1, s;
@@ -53,7 +53,7 @@ function tt(e) {
53
53
  return t;
54
54
  const l = {};
55
55
  for (const s in t) {
56
- const i = t[s].filter((r) => Dn({
56
+ const i = t[s].filter((r) => Rn({
57
57
  // @ts-expect-error typing weak
58
58
  [r.key]: r.value
59
59
  }, o));
@@ -61,14 +61,14 @@ function tt(e) {
61
61
  }
62
62
  return l;
63
63
  }
64
- const jt = /* @__PURE__ */ F({
64
+ const jt = /* @__PURE__ */ Z({
65
65
  __name: "NodeTag",
66
66
  props: {
67
67
  tag: {}
68
68
  },
69
69
  setup(e) {
70
- return (t, o) => q((c(), m("span", {
71
- style: Se({
70
+ return (t, o) => q((c(), h("span", {
71
+ style: Ee({
72
72
  color: `#${a(It)(e.tag.textColor)}`,
73
73
  backgroundColor: `#${a(It)(e.tag.backgroundColor)}`
74
74
  }),
@@ -76,49 +76,49 @@ const jt = /* @__PURE__ */ F({
76
76
  }, [
77
77
  Q(re(e.tag.label), 1)
78
78
  ], 4)), [
79
- [a(Y), {
79
+ [a(J), {
80
80
  content: e.tag.tooltip,
81
81
  html: !0
82
82
  }]
83
83
  ]);
84
84
  }
85
- }), Mn = { class: "p2" }, Hn = ["onClick"], On = /* @__PURE__ */ F({
85
+ }), Ln = { class: "p2" }, Mn = ["onClick"], Hn = /* @__PURE__ */ Z({
86
86
  __name: "SelectiveList",
87
- props: /* @__PURE__ */ Re({
87
+ props: /* @__PURE__ */ De({
88
88
  data: {}
89
89
  }, {
90
90
  modelValue: {},
91
91
  modelModifiers: {}
92
92
  }),
93
- emits: /* @__PURE__ */ Re(["select"], ["update:modelValue"]),
93
+ emits: /* @__PURE__ */ De(["select"], ["update:modelValue"]),
94
94
  setup(e, { emit: t }) {
95
95
  const o = t, n = Ye(e, "modelValue");
96
96
  function l(s) {
97
97
  n.value = s, o("select", s);
98
98
  }
99
- return (s, p) => (c(), m("ul", Mn, [
100
- (c(!0), m(le, null, ce(e.data, (i) => (c(), m("li", {
99
+ return (s, p) => (c(), h("ul", Ln, [
100
+ (c(!0), h(se, null, ce(e.data, (i) => (c(), h("li", {
101
101
  key: i.id,
102
102
  class: ie(["selectable-item", { active: i.id === n.value }]),
103
103
  onClick: (r) => l(i.id)
104
104
  }, [
105
105
  Q(re(i.label) + " ", 1),
106
- (c(!0), m(le, null, ce(i.tags, (r, f) => (c(), z(jt, {
106
+ (c(!0), h(se, null, ce(i.tags, (r, f) => (c(), B(jt, {
107
107
  key: f,
108
108
  tag: r
109
109
  }, null, 8, ["tag"]))), 128))
110
- ], 10, Hn))), 128))
110
+ ], 10, Mn))), 128))
111
111
  ]));
112
112
  }
113
113
  }), nt = Symbol("VirtualRouteKey"), zt = Symbol("VirtualRoutesKey");
114
114
  function ot(e, t) {
115
- const o = t?.defaultRoutePath ?? J(e)[0].path, n = E({
115
+ const o = t?.defaultRoutePath ?? Y(e)[0].path, n = V({
116
116
  path: o
117
- }), l = S(() => J(e)), s = S(() => n.value.path), p = F({
117
+ }), l = $(() => Y(e)), s = $(() => n.value.path), p = Z({
118
118
  setup() {
119
119
  return () => {
120
120
  const r = l.value.find((f) => f.path === s.value);
121
- return r ? cn(r.component) : null;
121
+ return r ? un(r.component) : null;
122
122
  };
123
123
  }
124
124
  });
@@ -127,33 +127,33 @@ function ot(e, t) {
127
127
  }
128
128
  return ye(nt, n), ye(zt, l), { VirtualRouterView: p, restoreRouter: i };
129
129
  }
130
- function Le() {
131
- const e = ge(nt);
130
+ function Me() {
131
+ const e = xe(nt);
132
132
  return {
133
133
  push(t) {
134
134
  e.value.path = t;
135
135
  }
136
136
  };
137
137
  }
138
- function Un() {
139
- const e = ge(zt), t = ge(nt);
138
+ function On() {
139
+ const e = xe(zt), t = xe(nt);
140
140
  return {
141
141
  routes: e,
142
142
  currentRoute: t
143
143
  };
144
144
  }
145
- const jn = {
145
+ const Un = {
146
146
  border: "b base",
147
147
  class: "flex items-center justify-between px3"
148
- }, zn = ["href"], Bn = ["href"], Te = /* @__PURE__ */ F({
148
+ }, jn = ["href"], zn = ["href"], Ve = /* @__PURE__ */ Z({
149
149
  __name: "DevToolsHeader",
150
150
  props: {
151
151
  githubRepoLink: {},
152
152
  docLink: {}
153
153
  },
154
154
  setup(e) {
155
- const t = Le();
156
- return (o, n) => (c(), m("div", jn, [
155
+ const t = Me();
156
+ return (o, n) => (c(), h("div", Un, [
157
157
  u("div", null, [
158
158
  Xe(o.$slots, "default", {}, () => [
159
159
  u("i", {
@@ -170,15 +170,15 @@ const jn = {
170
170
  title: "View Documentation"
171
171
  }, [...n[1] || (n[1] = [
172
172
  u("i", { class: "i-clarity:document-line cursor-pointer text-base op70 hover:op100" }, null, -1)
173
- ])], 8, zn),
174
- e.githubRepoLink ? (c(), m("a", {
173
+ ])], 8, jn),
174
+ e.githubRepoLink ? (c(), h("a", {
175
175
  key: 0,
176
176
  href: e.githubRepoLink,
177
177
  target: "_blank",
178
178
  title: "Star on GitHub"
179
179
  }, [...n[2] || (n[2] = [
180
180
  u("i", { class: "i-mdi:github cursor-pointer text-base op70 hover:op100" }, null, -1)
181
- ])], 8, Bn)) : j("", !0)
181
+ ])], 8, zn)) : U("", !0)
182
182
  ])
183
183
  ]));
184
184
  }
@@ -187,51 +187,51 @@ const jn = {
187
187
  for (const [n, l] of t)
188
188
  o[n] = l;
189
189
  return o;
190
- }, Zn = {}, Fn = { class: "h-full flex flex-col items-center justify-center op50" };
191
- function Kn(e, t) {
192
- return c(), m("div", Fn, [
190
+ }, Bn = {}, Zn = { class: "h-full flex flex-col items-center justify-center op50" };
191
+ function Fn(e, t) {
192
+ return c(), h("div", Zn, [
193
193
  t[0] || (t[0] = u("i", { class: "i-lets-icons:blank-light" }, null, -1)),
194
194
  u("span", null, [
195
195
  Xe(e.$slots, "default")
196
196
  ])
197
197
  ]);
198
198
  }
199
- const $e = /* @__PURE__ */ _e(Zn, [["render", Kn]]), Gn = { class: "flex gap3" }, Wn = ["onClick"], Ee = /* @__PURE__ */ F({
199
+ const Te = /* @__PURE__ */ _e(Bn, [["render", Fn]]), Kn = { class: "flex gap3" }, Gn = ["onClick"], Ne = /* @__PURE__ */ Z({
200
200
  __name: "Navbar",
201
201
  setup(e) {
202
- const { routes: t, currentRoute: o } = Un(), n = Le();
203
- return (l, s) => (c(), m("ul", Gn, [
204
- (c(!0), m(le, null, ce(a(t), (p, i) => (c(), m("li", {
202
+ const { routes: t, currentRoute: o } = On(), n = Me();
203
+ return (l, s) => (c(), h("ul", Kn, [
204
+ (c(!0), h(se, null, ce(a(t), (p, i) => (c(), h("li", {
205
205
  key: i,
206
206
  class: ie(["h-10 flex cursor-pointer items-center justify-center border-b-[2px] border-solid text-size-sm leading-none hover:op100", a(o).path === p.path ? "op-100 font-medium text-primary-400 border-primary-400" : "border-transparent op-70"]),
207
207
  onClick: (r) => a(n).push(p.path)
208
- }, re(p.name), 11, Wn))), 128))
208
+ }, re(p.name), 11, Gn))), 128))
209
209
  ]));
210
210
  }
211
- }), lt = /* @__PURE__ */ F({
211
+ }), lt = /* @__PURE__ */ Z({
212
212
  __name: "ToggleExpanded",
213
213
  props: {
214
214
  value: { type: Boolean }
215
215
  },
216
216
  setup(e) {
217
- return (t, o) => (c(), m("i", {
217
+ return (t, o) => (c(), h("i", {
218
218
  class: ie(["i-radix-icons:triangle-right flex-none text-4 op-50 transition-base", {
219
219
  "transform rotate-90": e.value
220
220
  }])
221
221
  }, null, 2));
222
222
  }
223
223
  }), Bt = Symbol("StateEditorSymbol");
224
- function qn(e) {
225
- const t = E(e);
224
+ function Wn(e) {
225
+ const t = V(e);
226
226
  return ye(Bt, t), {
227
227
  context: t
228
228
  };
229
229
  }
230
230
  function st() {
231
- return ge(Bt);
231
+ return xe(Bt);
232
232
  }
233
- function Jn() {
234
- const e = E(""), t = E("string"), o = E(!1), n = st();
233
+ function qn() {
234
+ const e = V(""), t = V("string"), o = V(!1), n = st();
235
235
  return {
236
236
  editingText: e,
237
237
  editing: o,
@@ -239,10 +239,10 @@ function Jn() {
239
239
  l && (t.value = l), o.value = !o.value;
240
240
  },
241
241
  editingType: t,
242
- nodeId: S(() => n.value.nodeId)
242
+ nodeId: $(() => n.value.nodeId)
243
243
  };
244
244
  }
245
- function Yn(e, t) {
245
+ function Jn(e, t) {
246
246
  if (e === "array")
247
247
  return t.length;
248
248
  const o = "newProp";
@@ -254,14 +254,14 @@ function Yn(e, t) {
254
254
  n++;
255
255
  }
256
256
  }
257
- function Xn() {
258
- const e = E({
257
+ function Yn() {
258
+ const e = V({
259
259
  enable: !1,
260
260
  key: "",
261
261
  value: "undefined"
262
262
  });
263
263
  function t(n, l) {
264
- const s = Yn(n, l);
264
+ const s = Jn(n, l);
265
265
  e.value = {
266
266
  enable: !0,
267
267
  key: s.toString(),
@@ -282,14 +282,14 @@ function Xn() {
282
282
  };
283
283
  }
284
284
  const Zt = "expanded-state";
285
- function xe(e = "") {
286
- const t = E([]);
285
+ function Ce(e = "") {
286
+ const t = V([]);
287
287
  return ye(`${Zt}-${e}`, t), {
288
288
  expanded: t
289
289
  };
290
290
  }
291
291
  function at(e = "") {
292
- const t = ge(`${Zt}-${e}`, E([]));
292
+ const t = xe(`${Zt}-${e}`, V([]));
293
293
  function o(n) {
294
294
  const l = t.value.indexOf(n);
295
295
  l === -1 ? t.value.push(n) : t.value.splice(l, 1);
@@ -300,11 +300,11 @@ function at(e = "") {
300
300
  };
301
301
  }
302
302
  function it(e) {
303
- return pn() ? (fn(e), !0) : !1;
303
+ return dn() ? (pn(e), !0) : !1;
304
304
  }
305
305
  const rt = typeof window < "u" && typeof document < "u";
306
306
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
307
- const Qn = (e) => typeof e < "u", eo = Object.prototype.toString, to = (e) => eo.call(e) === "[object Object]", qe = () => {
307
+ const Xn = (e) => typeof e < "u", Qn = Object.prototype.toString, eo = (e) => Qn.call(e) === "[object Object]", qe = () => {
308
308
  };
309
309
  function Ft(e, t) {
310
310
  function o(...n) {
@@ -314,7 +314,7 @@ function Ft(e, t) {
314
314
  }
315
315
  return o;
316
316
  }
317
- const no = (e) => e();
317
+ const to = (e) => e();
318
318
  function Kt(e, t = {}) {
319
319
  let o, n, l = qe;
320
320
  const s = (r) => {
@@ -322,11 +322,11 @@ function Kt(e, t = {}) {
322
322
  };
323
323
  let p;
324
324
  return (r) => {
325
- const f = J(e), v = J(t.maxWait);
326
- return o && s(o), f <= 0 || v !== void 0 && v <= 0 ? (n && (s(n), n = void 0), Promise.resolve(r())) : new Promise((d, h) => {
327
- l = t.rejectOnCancel ? h : d, p = r, v && !n && (n = setTimeout(() => {
325
+ const f = Y(e), m = Y(t.maxWait);
326
+ return o && s(o), f <= 0 || m !== void 0 && m <= 0 ? (n && (s(n), n = void 0), Promise.resolve(r())) : new Promise((d, g) => {
327
+ l = t.rejectOnCancel ? g : d, p = r, m && !n && (n = setTimeout(() => {
328
328
  o && s(o), n = void 0, d(p());
329
- }, v)), o = setTimeout(() => {
329
+ }, m)), o = setTimeout(() => {
330
330
  n && s(n), n = void 0, d(r());
331
331
  }, f);
332
332
  });
@@ -337,7 +337,7 @@ function St(e, t = !1, o = "Timeout") {
337
337
  setTimeout(t ? () => l(o) : n, e);
338
338
  });
339
339
  }
340
- function oo(e) {
340
+ function no(e) {
341
341
  let t;
342
342
  function o() {
343
343
  return t || (t = e()), t;
@@ -347,10 +347,10 @@ function oo(e) {
347
347
  t = void 0, n && await n;
348
348
  }, o;
349
349
  }
350
- function ze(e) {
350
+ function Be(e) {
351
351
  return Array.isArray(e) ? e : [e];
352
352
  }
353
- function lo(e) {
353
+ function oo(e) {
354
354
  return Qe();
355
355
  }
356
356
  // @__NO_SIDE_EFFECTS__
@@ -360,9 +360,9 @@ function Tt(e, t = 200, o = {}) {
360
360
  e
361
361
  );
362
362
  }
363
- function so(e, t, o = {}) {
363
+ function lo(e, t, o = {}) {
364
364
  const {
365
- eventFilter: n = no,
365
+ eventFilter: n = to,
366
366
  ...l
367
367
  } = o;
368
368
  return te(
@@ -374,53 +374,53 @@ function so(e, t, o = {}) {
374
374
  l
375
375
  );
376
376
  }
377
- function ao(e, t = !0, o) {
378
- lo() ? At(e, o) : t ? e() : Be(e);
377
+ function so(e, t = !0, o) {
378
+ oo() ? At(e, o) : t ? e() : Ze(e);
379
379
  }
380
380
  function Je(e, t = !1) {
381
- function o(d, { flush: h = "sync", deep: T = !1, timeout: A, throwOnTimeout: $ } = {}) {
382
- let I = null;
383
- const N = [new Promise((w) => {
384
- I = te(
381
+ function o(d, { flush: g = "sync", deep: T = !1, timeout: R, throwOnTimeout: k } = {}) {
382
+ let S = null;
383
+ const A = [new Promise((w) => {
384
+ S = te(
385
385
  e,
386
- (R) => {
387
- d(R) !== t && (I ? I() : Be(() => I?.()), w(R));
386
+ (D) => {
387
+ d(D) !== t && (S ? S() : Ze(() => S?.()), w(D));
388
388
  },
389
389
  {
390
- flush: h,
390
+ flush: g,
391
391
  deep: T,
392
392
  immediate: !0
393
393
  }
394
394
  );
395
395
  })];
396
- return A != null && N.push(
397
- St(A, $).then(() => J(e)).finally(() => I?.())
398
- ), Promise.race(N);
396
+ return R != null && A.push(
397
+ St(R, k).then(() => Y(e)).finally(() => S?.())
398
+ ), Promise.race(A);
399
399
  }
400
- function n(d, h) {
401
- if (!Fe(d))
402
- return o((R) => R === d, h);
403
- const { flush: T = "sync", deep: A = !1, timeout: $, throwOnTimeout: I } = h ?? {};
404
- let P = null;
405
- const w = [new Promise((R) => {
406
- P = te(
400
+ function n(d, g) {
401
+ if (!Ke(d))
402
+ return o((D) => D === d, g);
403
+ const { flush: T = "sync", deep: R = !1, timeout: k, throwOnTimeout: S } = g ?? {};
404
+ let N = null;
405
+ const w = [new Promise((D) => {
406
+ N = te(
407
407
  [e, d],
408
- ([B, G]) => {
409
- t !== (B === G) && (P ? P() : Be(() => P?.()), R(B));
408
+ ([j, K]) => {
409
+ t !== (j === K) && (N ? N() : Ze(() => N?.()), D(j));
410
410
  },
411
411
  {
412
412
  flush: T,
413
- deep: A,
413
+ deep: R,
414
414
  immediate: !0
415
415
  }
416
416
  );
417
417
  })];
418
- return $ != null && w.push(
419
- St($, I).then(() => J(e)).finally(() => (P?.(), J(e)))
418
+ return k != null && w.push(
419
+ St(k, S).then(() => Y(e)).finally(() => (N?.(), Y(e)))
420
420
  ), Promise.race(w);
421
421
  }
422
422
  function l(d) {
423
- return o((h) => !!h, d);
423
+ return o((g) => !!g, d);
424
424
  }
425
425
  function s(d) {
426
426
  return n(null, d);
@@ -431,24 +431,24 @@ function Je(e, t = !1) {
431
431
  function i(d) {
432
432
  return o(Number.isNaN, d);
433
433
  }
434
- function r(d, h) {
434
+ function r(d, g) {
435
435
  return o((T) => {
436
- const A = Array.from(T);
437
- return A.includes(d) || A.includes(J(d));
438
- }, h);
436
+ const R = Array.from(T);
437
+ return R.includes(d) || R.includes(Y(d));
438
+ }, g);
439
439
  }
440
440
  function f(d) {
441
- return v(1, d);
441
+ return m(1, d);
442
442
  }
443
- function v(d = 1, h) {
443
+ function m(d = 1, g) {
444
444
  let T = -1;
445
- return o(() => (T += 1, T >= d), h);
445
+ return o(() => (T += 1, T >= d), g);
446
446
  }
447
- return Array.isArray(J(e)) ? {
447
+ return Array.isArray(Y(e)) ? {
448
448
  toMatch: o,
449
449
  toContains: r,
450
450
  changed: f,
451
- changedTimes: v,
451
+ changedTimes: m,
452
452
  get not() {
453
453
  return Je(e, !t);
454
454
  }
@@ -460,7 +460,7 @@ function Je(e, t = !1) {
460
460
  toBeNaN: i,
461
461
  toBeUndefined: p,
462
462
  changed: f,
463
- changedTimes: v,
463
+ changedTimes: m,
464
464
  get not() {
465
465
  return Je(e, !t);
466
466
  }
@@ -469,7 +469,7 @@ function Je(e, t = !1) {
469
469
  function Gt(e) {
470
470
  return Je(e);
471
471
  }
472
- function io(e, t, o = {}) {
472
+ function ao(e, t, o = {}) {
473
473
  const {
474
474
  immediate: n = !0,
475
475
  immediateCallback: l = !1
@@ -481,13 +481,13 @@ function io(e, t, o = {}) {
481
481
  function r() {
482
482
  s.value = !1, i();
483
483
  }
484
- function f(...v) {
484
+ function f(...m) {
485
485
  l && e(), i(), s.value = !0, p = setTimeout(() => {
486
- s.value = !1, p = void 0, e(...v);
487
- }, J(t));
486
+ s.value = !1, p = void 0, e(...m);
487
+ }, Y(t));
488
488
  }
489
489
  return n && (s.value = !0, rt && f()), it(r), {
490
- isPending: dn(s),
490
+ isPending: cn(s),
491
491
  start: f,
492
492
  stop: r
493
493
  };
@@ -497,13 +497,13 @@ function Wt(e = !1, t = {}) {
497
497
  const {
498
498
  truthyValue: o = !0,
499
499
  falsyValue: n = !1
500
- } = t, l = Fe(e), s = me(e);
500
+ } = t, l = Ke(e), s = me(e);
501
501
  function p(i) {
502
502
  if (arguments.length)
503
503
  return s.value = i, s.value;
504
504
  {
505
- const r = J(o);
506
- return s.value = s.value === r ? J(n) : r, s.value;
505
+ const r = Y(o);
506
+ return s.value = s.value === r ? Y(n) : r, s.value;
507
507
  }
508
508
  }
509
509
  return l ? p : [s, p];
@@ -514,7 +514,7 @@ function qt(e, t, o = {}) {
514
514
  maxWait: l = void 0,
515
515
  ...s
516
516
  } = o;
517
- return so(
517
+ return lo(
518
518
  e,
519
519
  t,
520
520
  {
@@ -523,7 +523,7 @@ function qt(e, t, o = {}) {
523
523
  }
524
524
  );
525
525
  }
526
- function ro(e, t, o) {
526
+ function io(e, t, o) {
527
527
  return te(
528
528
  e,
529
529
  t,
@@ -533,37 +533,37 @@ function ro(e, t, o) {
533
533
  }
534
534
  );
535
535
  }
536
- const Me = rt ? window : void 0, Jt = rt ? window.navigator : void 0;
537
- function we(e) {
536
+ const He = rt ? window : void 0, Jt = rt ? window.navigator : void 0;
537
+ function ke(e) {
538
538
  var t;
539
- const o = J(e);
539
+ const o = Y(e);
540
540
  return (t = o?.$el) != null ? t : o;
541
541
  }
542
542
  function ve(...e) {
543
543
  const t = [], o = () => {
544
544
  t.forEach((i) => i()), t.length = 0;
545
- }, n = (i, r, f, v) => (i.addEventListener(r, f, v), () => i.removeEventListener(r, f, v)), l = S(() => {
546
- const i = ze(J(e[0])).filter((r) => r != null);
545
+ }, n = (i, r, f, m) => (i.addEventListener(r, f, m), () => i.removeEventListener(r, f, m)), l = $(() => {
546
+ const i = Be(Y(e[0])).filter((r) => r != null);
547
547
  return i.every((r) => typeof r != "string") ? i : void 0;
548
- }), s = ro(
548
+ }), s = io(
549
549
  () => {
550
550
  var i, r;
551
551
  return [
552
- (r = (i = l.value) == null ? void 0 : i.map((f) => we(f))) != null ? r : [Me].filter((f) => f != null),
553
- ze(J(l.value ? e[1] : e[0])),
554
- ze(a(l.value ? e[2] : e[1])),
552
+ (r = (i = l.value) == null ? void 0 : i.map((f) => ke(f))) != null ? r : [He].filter((f) => f != null),
553
+ Be(Y(l.value ? e[1] : e[0])),
554
+ Be(a(l.value ? e[2] : e[1])),
555
555
  // @ts-expect-error - TypeScript gets the correct types, but somehow still complains
556
- J(l.value ? e[3] : e[2])
556
+ Y(l.value ? e[3] : e[2])
557
557
  ];
558
558
  },
559
- ([i, r, f, v]) => {
559
+ ([i, r, f, m]) => {
560
560
  if (o(), !i?.length || !r?.length || !f?.length)
561
561
  return;
562
- const d = to(v) ? { ...v } : v;
562
+ const d = eo(m) ? { ...m } : m;
563
563
  t.push(
564
564
  ...i.flatMap(
565
- (h) => r.flatMap(
566
- (T) => f.map((A) => n(h, T, A, d))
565
+ (g) => r.flatMap(
566
+ (T) => f.map((R) => n(g, T, R, d))
567
567
  )
568
568
  )
569
569
  );
@@ -575,7 +575,7 @@ function ve(...e) {
575
575
  return it(o), p;
576
576
  }
577
577
  // @__NO_SIDE_EFFECTS__
578
- function uo() {
578
+ function ro() {
579
579
  const e = me(!1), t = Qe();
580
580
  return t && At(() => {
581
581
  e.value = !0;
@@ -583,23 +583,23 @@ function uo() {
583
583
  }
584
584
  // @__NO_SIDE_EFFECTS__
585
585
  function ut(e) {
586
- const t = /* @__PURE__ */ uo();
587
- return S(() => (t.value, !!e()));
586
+ const t = /* @__PURE__ */ ro();
587
+ return $(() => (t.value, !!e()));
588
588
  }
589
- function co(e) {
589
+ function uo(e) {
590
590
  return typeof e == "function" ? e : typeof e == "string" ? (t) => t.key === e : Array.isArray(e) ? (t) => e.includes(t.key) : () => !0;
591
591
  }
592
- function Ne(...e) {
592
+ function Ae(...e) {
593
593
  let t, o, n = {};
594
594
  e.length === 3 ? (t = e[0], o = e[1], n = e[2]) : e.length === 2 ? typeof e[1] == "object" ? (t = !0, o = e[0], n = e[1]) : (t = e[0], o = e[1]) : (t = !0, o = e[0]);
595
595
  const {
596
- target: l = Me,
596
+ target: l = He,
597
597
  eventName: s = "keydown",
598
598
  passive: p = !1,
599
599
  dedupe: i = !1
600
- } = n, r = co(t);
601
- return ve(l, s, (v) => {
602
- v.repeat && J(i) || r(v) && o(v);
600
+ } = n, r = uo(t);
601
+ return ve(l, s, (m) => {
602
+ m.repeat && Y(i) || r(m) && o(m);
603
603
  }, p);
604
604
  }
605
605
  // @__NO_SIDE_EFFECTS__
@@ -608,11 +608,11 @@ function Et(e, t = {}) {
608
608
  controls: o = !1,
609
609
  navigator: n = Jt
610
610
  } = t, l = /* @__PURE__ */ ut(() => n && "permissions" in n), s = me(), p = typeof e == "string" ? { name: e } : e, i = me(), r = () => {
611
- var v, d;
612
- i.value = (d = (v = s.value) == null ? void 0 : v.state) != null ? d : "prompt";
611
+ var m, d;
612
+ i.value = (d = (m = s.value) == null ? void 0 : m.state) != null ? d : "prompt";
613
613
  };
614
614
  ve(s, "change", r, { passive: !0 });
615
- const f = oo(async () => {
615
+ const f = no(async () => {
616
616
  if (l.value) {
617
617
  if (!s.value)
618
618
  try {
@@ -632,126 +632,126 @@ function Et(e, t = {}) {
632
632
  query: f
633
633
  } : i;
634
634
  }
635
- function po(e = {}) {
635
+ function co(e = {}) {
636
636
  const {
637
637
  navigator: t = Jt,
638
638
  read: o = !1,
639
639
  source: n,
640
640
  copiedDuring: l = 1500,
641
641
  legacy: s = !1
642
- } = e, p = /* @__PURE__ */ ut(() => t && "clipboard" in t), i = /* @__PURE__ */ Et("clipboard-read"), r = /* @__PURE__ */ Et("clipboard-write"), f = S(() => p.value || s), v = me(""), d = me(!1), h = io(() => d.value = !1, l, { immediate: !1 });
642
+ } = e, p = /* @__PURE__ */ ut(() => t && "clipboard" in t), i = /* @__PURE__ */ Et("clipboard-read"), r = /* @__PURE__ */ Et("clipboard-write"), f = $(() => p.value || s), m = me(""), d = me(!1), g = ao(() => d.value = !1, l, { immediate: !1 });
643
643
  async function T() {
644
- let N = !(p.value && P(i.value));
645
- if (!N)
644
+ let A = !(p.value && N(i.value));
645
+ if (!A)
646
646
  try {
647
- v.value = await t.clipboard.readText();
647
+ m.value = await t.clipboard.readText();
648
648
  } catch {
649
- N = !0;
649
+ A = !0;
650
650
  }
651
- N && (v.value = I());
651
+ A && (m.value = S());
652
652
  }
653
653
  f.value && o && ve(["copy", "cut"], T, { passive: !0 });
654
- async function A(N = J(n)) {
655
- if (f.value && N != null) {
656
- let w = !(p.value && P(r.value));
654
+ async function R(A = Y(n)) {
655
+ if (f.value && A != null) {
656
+ let w = !(p.value && N(r.value));
657
657
  if (!w)
658
658
  try {
659
- await t.clipboard.writeText(N);
659
+ await t.clipboard.writeText(A);
660
660
  } catch {
661
661
  w = !0;
662
662
  }
663
- w && $(N), v.value = N, d.value = !0, h.start();
663
+ w && k(A), m.value = A, d.value = !0, g.start();
664
664
  }
665
665
  }
666
- function $(N) {
666
+ function k(A) {
667
667
  const w = document.createElement("textarea");
668
- w.value = N ?? "", w.style.position = "absolute", w.style.opacity = "0", document.body.appendChild(w), w.select(), document.execCommand("copy"), w.remove();
668
+ w.value = A ?? "", w.style.position = "absolute", w.style.opacity = "0", document.body.appendChild(w), w.select(), document.execCommand("copy"), w.remove();
669
669
  }
670
- function I() {
671
- var N, w, R;
672
- return (R = (w = (N = document?.getSelection) == null ? void 0 : N.call(document)) == null ? void 0 : w.toString()) != null ? R : "";
670
+ function S() {
671
+ var A, w, D;
672
+ return (D = (w = (A = document?.getSelection) == null ? void 0 : A.call(document)) == null ? void 0 : w.toString()) != null ? D : "";
673
673
  }
674
- function P(N) {
675
- return N === "granted" || N === "prompt";
674
+ function N(A) {
675
+ return A === "granted" || A === "prompt";
676
676
  }
677
677
  return {
678
678
  isSupported: f,
679
- text: v,
679
+ text: m,
680
680
  copied: d,
681
- copy: A
681
+ copy: R
682
682
  };
683
683
  }
684
- function fo(e) {
684
+ function po(e) {
685
685
  return JSON.parse(JSON.stringify(e));
686
686
  }
687
- function vo(e, t, o = {}) {
688
- const { window: n = Me, ...l } = o;
687
+ function fo(e, t, o = {}) {
688
+ const { window: n = He, ...l } = o;
689
689
  let s;
690
690
  const p = /* @__PURE__ */ ut(() => n && "ResizeObserver" in n), i = () => {
691
691
  s && (s.disconnect(), s = void 0);
692
- }, r = S(() => {
693
- const d = J(e);
694
- return Array.isArray(d) ? d.map((h) => we(h)) : [we(d)];
692
+ }, r = $(() => {
693
+ const d = Y(e);
694
+ return Array.isArray(d) ? d.map((g) => ke(g)) : [ke(d)];
695
695
  }), f = te(
696
696
  r,
697
697
  (d) => {
698
698
  if (i(), p.value && n) {
699
699
  s = new ResizeObserver(t);
700
- for (const h of d)
701
- h && s.observe(h, l);
700
+ for (const g of d)
701
+ g && s.observe(g, l);
702
702
  }
703
703
  },
704
704
  { immediate: !0, flush: "post" }
705
- ), v = () => {
705
+ ), m = () => {
706
706
  i(), f();
707
707
  };
708
- return it(v), {
708
+ return it(m), {
709
709
  isSupported: p,
710
- stop: v
710
+ stop: m
711
711
  };
712
712
  }
713
- function mo(e, t = { width: 0, height: 0 }, o = {}) {
714
- const { window: n = Me, box: l = "content-box" } = o, s = S(() => {
715
- var d, h;
716
- return (h = (d = we(e)) == null ? void 0 : d.namespaceURI) == null ? void 0 : h.includes("svg");
717
- }), p = me(t.width), i = me(t.height), { stop: r } = vo(
713
+ function vo(e, t = { width: 0, height: 0 }, o = {}) {
714
+ const { window: n = He, box: l = "content-box" } = o, s = $(() => {
715
+ var d, g;
716
+ return (g = (d = ke(e)) == null ? void 0 : d.namespaceURI) == null ? void 0 : g.includes("svg");
717
+ }), p = me(t.width), i = me(t.height), { stop: r } = fo(
718
718
  e,
719
719
  ([d]) => {
720
- const h = l === "border-box" ? d.borderBoxSize : l === "content-box" ? d.contentBoxSize : d.devicePixelContentBoxSize;
720
+ const g = l === "border-box" ? d.borderBoxSize : l === "content-box" ? d.contentBoxSize : d.devicePixelContentBoxSize;
721
721
  if (n && s.value) {
722
- const T = we(e);
722
+ const T = ke(e);
723
723
  if (T) {
724
- const A = T.getBoundingClientRect();
725
- p.value = A.width, i.value = A.height;
724
+ const R = T.getBoundingClientRect();
725
+ p.value = R.width, i.value = R.height;
726
726
  }
727
- } else if (h) {
728
- const T = ze(h);
729
- p.value = T.reduce((A, { inlineSize: $ }) => A + $, 0), i.value = T.reduce((A, { blockSize: $ }) => A + $, 0);
727
+ } else if (g) {
728
+ const T = Be(g);
729
+ p.value = T.reduce((R, { inlineSize: k }) => R + k, 0), i.value = T.reduce((R, { blockSize: k }) => R + k, 0);
730
730
  } else
731
731
  p.value = d.contentRect.width, i.value = d.contentRect.height;
732
732
  },
733
733
  o
734
734
  );
735
- ao(() => {
736
- const d = we(e);
735
+ so(() => {
736
+ const d = ke(e);
737
737
  d && (p.value = "offsetWidth" in d ? d.offsetWidth : t.width, i.value = "offsetHeight" in d ? d.offsetHeight : t.height);
738
738
  });
739
739
  const f = te(
740
- () => we(e),
740
+ () => ke(e),
741
741
  (d) => {
742
742
  p.value = d ? t.width : 0, i.value = d ? t.height : 0;
743
743
  }
744
744
  );
745
- function v() {
745
+ function m() {
746
746
  r(), f();
747
747
  }
748
748
  return {
749
749
  width: p,
750
750
  height: i,
751
- stop: v
751
+ stop: m
752
752
  };
753
753
  }
754
- const ho = {
754
+ const mo = {
755
755
  ctrl: "control",
756
756
  command: "meta",
757
757
  cmd: "meta",
@@ -761,11 +761,11 @@ const ho = {
761
761
  left: "arrowleft",
762
762
  right: "arrowright"
763
763
  };
764
- function go(e = {}) {
764
+ function ho(e = {}) {
765
765
  const {
766
766
  reactive: t = !1,
767
- target: o = Me,
768
- aliasMap: n = ho,
767
+ target: o = He,
768
+ aliasMap: n = mo,
769
769
  passive: l = !0,
770
770
  onEventFired: s = qe
771
771
  } = e, p = xt(/* @__PURE__ */ new Set()), i = {
@@ -773,100 +773,100 @@ function go(e = {}) {
773
773
  return {};
774
774
  },
775
775
  current: p
776
- }, r = t ? xt(i) : i, f = /* @__PURE__ */ new Set(), v = /* @__PURE__ */ new Set(), d = /* @__PURE__ */ new Set();
777
- function h(I, P) {
778
- I in r && (t ? r[I] = P : r[I].value = P);
776
+ }, r = t ? xt(i) : i, f = /* @__PURE__ */ new Set(), m = /* @__PURE__ */ new Set(), d = /* @__PURE__ */ new Set();
777
+ function g(S, N) {
778
+ S in r && (t ? r[S] = N : r[S].value = N);
779
779
  }
780
780
  function T() {
781
781
  p.clear();
782
- for (const I of d)
783
- h(I, !1);
782
+ for (const S of d)
783
+ g(S, !1);
784
784
  }
785
- function A(I, P) {
786
- var N, w;
787
- const R = (N = I.key) == null ? void 0 : N.toLowerCase(), G = [(w = I.code) == null ? void 0 : w.toLowerCase(), R].filter(Boolean);
788
- R && (P ? p.add(R) : p.delete(R));
789
- for (const W of G)
790
- d.add(W), h(W, P);
791
- if (R === "shift" && !P) {
792
- const W = Array.from(v), O = W.indexOf("shift");
793
- W.forEach((C, U) => {
794
- U >= O && (p.delete(C), h(C, !1));
795
- }), v.clear();
796
- } else typeof I.getModifierState == "function" && I.getModifierState("Shift") && P && [...p, ...G].forEach((W) => v.add(W));
797
- R === "meta" && !P ? (f.forEach((W) => {
798
- p.delete(W), h(W, !1);
799
- }), f.clear()) : typeof I.getModifierState == "function" && I.getModifierState("Meta") && P && [...p, ...G].forEach((W) => f.add(W));
785
+ function R(S, N) {
786
+ var A, w;
787
+ const D = (A = S.key) == null ? void 0 : A.toLowerCase(), K = [(w = S.code) == null ? void 0 : w.toLowerCase(), D].filter(Boolean);
788
+ D && (N ? p.add(D) : p.delete(D));
789
+ for (const G of K)
790
+ d.add(G), g(G, N);
791
+ if (D === "shift" && !N) {
792
+ const G = Array.from(m), O = G.indexOf("shift");
793
+ G.forEach((_, H) => {
794
+ H >= O && (p.delete(_), g(_, !1));
795
+ }), m.clear();
796
+ } else typeof S.getModifierState == "function" && S.getModifierState("Shift") && N && [...p, ...K].forEach((G) => m.add(G));
797
+ D === "meta" && !N ? (f.forEach((G) => {
798
+ p.delete(G), g(G, !1);
799
+ }), f.clear()) : typeof S.getModifierState == "function" && S.getModifierState("Meta") && N && [...p, ...K].forEach((G) => f.add(G));
800
800
  }
801
- ve(o, "keydown", (I) => (A(I, !0), s(I)), { passive: l }), ve(o, "keyup", (I) => (A(I, !1), s(I)), { passive: l }), ve("blur", T, { passive: l }), ve("focus", T, { passive: l });
802
- const $ = new Proxy(
801
+ ve(o, "keydown", (S) => (R(S, !0), s(S)), { passive: l }), ve(o, "keyup", (S) => (R(S, !1), s(S)), { passive: l }), ve("blur", T, { passive: l }), ve("focus", T, { passive: l });
802
+ const k = new Proxy(
803
803
  r,
804
804
  {
805
- get(I, P, N) {
806
- if (typeof P != "string")
807
- return Reflect.get(I, P, N);
808
- if (P = P.toLowerCase(), P in n && (P = n[P]), !(P in r))
809
- if (/[+_-]/.test(P)) {
810
- const R = P.split(/[+_-]/g).map((B) => B.trim());
811
- r[P] = S(() => R.map((B) => J($[B])).every(Boolean));
805
+ get(S, N, A) {
806
+ if (typeof N != "string")
807
+ return Reflect.get(S, N, A);
808
+ if (N = N.toLowerCase(), N in n && (N = n[N]), !(N in r))
809
+ if (/[+_-]/.test(N)) {
810
+ const D = N.split(/[+_-]/g).map((j) => j.trim());
811
+ r[N] = $(() => D.map((j) => Y(k[j])).every(Boolean));
812
812
  } else
813
- r[P] = me(!1);
814
- const w = Reflect.get(I, P, N);
815
- return t ? J(w) : w;
813
+ r[N] = me(!1);
814
+ const w = Reflect.get(S, N, A);
815
+ return t ? Y(w) : w;
816
816
  }
817
817
  }
818
818
  );
819
- return $;
819
+ return k;
820
820
  }
821
821
  // @__NO_SIDE_EFFECTS__
822
- function Co(e, t, o, n = {}) {
822
+ function go(e, t, o, n = {}) {
823
823
  var l, s, p;
824
824
  const {
825
825
  clone: i = !1,
826
826
  passive: r = !1,
827
827
  eventName: f,
828
- deep: v = !1,
828
+ deep: m = !1,
829
829
  defaultValue: d,
830
- shouldEmit: h
831
- } = n, T = Qe(), A = o || T?.emit || ((l = T?.$emit) == null ? void 0 : l.bind(T)) || ((p = (s = T?.proxy) == null ? void 0 : s.$emit) == null ? void 0 : p.bind(T?.proxy));
832
- let $ = f;
833
- $ = $ || `update:${t.toString()}`;
834
- const I = (w) => i ? typeof i == "function" ? i(w) : fo(w) : w, P = () => Qn(e[t]) ? I(e[t]) : d, N = (w) => {
835
- h ? h(w) && A($, w) : A($, w);
830
+ shouldEmit: g
831
+ } = n, T = Qe(), R = o || T?.emit || ((l = T?.$emit) == null ? void 0 : l.bind(T)) || ((p = (s = T?.proxy) == null ? void 0 : s.$emit) == null ? void 0 : p.bind(T?.proxy));
832
+ let k = f;
833
+ k = k || `update:${t.toString()}`;
834
+ const S = (w) => i ? typeof i == "function" ? i(w) : po(w) : w, N = () => Xn(e[t]) ? S(e[t]) : d, A = (w) => {
835
+ g ? g(w) && R(k, w) : R(k, w);
836
836
  };
837
837
  if (r) {
838
- const w = P(), R = E(w);
839
- let B = !1;
838
+ const w = N(), D = V(w);
839
+ let j = !1;
840
840
  return te(
841
841
  () => e[t],
842
- (G) => {
843
- B || (B = !0, R.value = I(G), Be(() => B = !1));
842
+ (K) => {
843
+ j || (j = !0, D.value = S(K), Ze(() => j = !1));
844
844
  }
845
845
  ), te(
846
- R,
847
- (G) => {
848
- !B && (G !== e[t] || v) && N(G);
846
+ D,
847
+ (K) => {
848
+ !j && (K !== e[t] || m) && A(K);
849
849
  },
850
- { deep: v }
851
- ), R;
850
+ { deep: m }
851
+ ), D;
852
852
  } else
853
- return S({
853
+ return $({
854
854
  get() {
855
- return P();
855
+ return N();
856
856
  },
857
857
  set(w) {
858
- N(w);
858
+ A(w);
859
859
  }
860
860
  });
861
861
  }
862
- function xo(e, t = {}) {
862
+ function Co(e, t = {}) {
863
863
  const {
864
864
  enter: o = () => {
865
865
  },
866
866
  leave: n = () => {
867
867
  },
868
868
  initial: l = !1
869
- } = t, s = E(l);
869
+ } = t, s = V(l);
870
870
  return ve(e, "mouseenter", () => {
871
871
  s.value = !0, o();
872
872
  }), ve(e, "mouseleave", () => {
@@ -875,7 +875,7 @@ function xo(e, t = {}) {
875
875
  isHovering: s
876
876
  };
877
877
  }
878
- const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__PURE__ */ F({
878
+ const xo = { class: "flex pl5px" }, yo = { class: "w160px py5px" }, bo = /* @__PURE__ */ Z({
879
879
  __name: "StateFieldEditor",
880
880
  props: {
881
881
  data: {},
@@ -886,101 +886,101 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
886
886
  },
887
887
  emits: ["enableEditInput", "addNewProp"],
888
888
  setup(e) {
889
- const t = e, o = st(), { copy: n, isSupported: l } = po(), s = E(!1), p = S(() => Pt(t.data.value)), i = S(() => p.value.value), r = S(() => p.value.customType), f = S(() => i.value === null ? "null" : typeof i.value), v = {
889
+ const t = e, o = st(), { copy: n, isSupported: l } = co(), s = V(!1), p = $(() => Pt(t.data.value)), i = $(() => p.value.value), r = $(() => p.value.customType), f = $(() => i.value === null ? "null" : typeof i.value), m = {
890
890
  flat: !0,
891
891
  size: "mini"
892
- }, d = S(() => ({
892
+ }, d = $(() => ({
893
893
  "opacity-0": !t.hovering
894
894
  }));
895
- async function h(A, $ = !1) {
896
- await V.value.editInspectorState({
895
+ async function g(R, k = !1) {
896
+ await E.value.editInspectorState({
897
897
  path: t.data.path || [t.data.key],
898
898
  inspectorId: o.value.inspectorId,
899
899
  type: t.data.stateType,
900
900
  nodeId: o.value.nodeId,
901
901
  state: {
902
902
  newKey: null,
903
- value: Rt(A),
903
+ value: Rt(R),
904
904
  type: f.value,
905
- remove: $
905
+ remove: k
906
906
  }
907
- }), await V.value.sendInspectorState(o.value.inspectorId);
907
+ }), await E.value.sendInspectorState(o.value.inspectorId);
908
908
  }
909
- function T(A, $) {
910
- const I = typeof A == "number" ? A + $ : BigInt(A) + BigInt($);
911
- h(I);
909
+ function T(R, k) {
910
+ const S = typeof R == "number" ? R + k : BigInt(R) + BigInt(k);
911
+ g(S);
912
912
  }
913
- return (A, $) => (c(), m("div", yo, [
914
- !t.disableEdit && e.data.editable ? (c(), m(le, { key: 0 }, [
915
- f.value === "string" || f.value === "number" || f.value === "object" || f.value === "null" ? (c(), m(le, { key: 0 }, [
916
- q((c(), z(a(fe), Ie(v, {
913
+ return (R, k) => (c(), h("div", xo, [
914
+ !t.disableEdit && e.data.editable ? (c(), h(se, { key: 0 }, [
915
+ f.value === "string" || f.value === "number" || f.value === "object" || f.value === "null" ? (c(), h(se, { key: 0 }, [
916
+ q((c(), B(a(fe), Se(m, {
917
917
  class: d.value,
918
- onClick: $[0] || ($[0] = he((I) => A.$emit("enableEditInput", f.value), ["stop"]))
918
+ onClick: k[0] || (k[0] = he((S) => R.$emit("enableEditInput", f.value), ["stop"]))
919
919
  }), {
920
920
  icon: M(() => [
921
- b(a(ue), { icon: "i-material-symbols-edit-rounded" })
921
+ y(a(ue), { icon: "i-material-symbols-edit-rounded" })
922
922
  ]),
923
923
  _: 1
924
924
  }, 16, ["class"])), [
925
- [a(Y), {
925
+ [a(J), {
926
926
  content: "Edit value"
927
927
  }]
928
928
  ]),
929
- f.value === "object" && e.showAddIfNeeded ? q((c(), z(a(fe), Ie({ key: 0 }, v, {
929
+ f.value === "object" && e.showAddIfNeeded ? q((c(), B(a(fe), Se({ key: 0 }, m, {
930
930
  class: d.value,
931
- onClick: $[1] || ($[1] = he((I) => A.$emit("addNewProp", Array.isArray(i.value) ? "array" : "object"), ["stop"]))
931
+ onClick: k[1] || (k[1] = he((S) => R.$emit("addNewProp", Array.isArray(i.value) ? "array" : "object"), ["stop"]))
932
932
  }), {
933
933
  icon: M(() => [
934
- b(a(ue), { icon: "i-material-symbols-add-circle-rounded" })
934
+ y(a(ue), { icon: "i-material-symbols-add-circle-rounded" })
935
935
  ]),
936
936
  _: 1
937
937
  }, 16, ["class"])), [
938
- [a(Y), {
938
+ [a(J), {
939
939
  content: "Add new value"
940
940
  }]
941
- ]) : j("", !0)
942
- ], 64)) : j("", !0),
943
- f.value === "boolean" ? (c(), z(a(fe), Ie({ key: 1 }, v, {
941
+ ]) : U("", !0)
942
+ ], 64)) : U("", !0),
943
+ f.value === "boolean" ? (c(), B(a(fe), Se({ key: 1 }, m, {
944
944
  class: d.value,
945
- onClick: $[2] || ($[2] = (I) => h(!i.value))
945
+ onClick: k[2] || (k[2] = (S) => g(!i.value))
946
946
  }), {
947
947
  icon: M(() => [
948
- b(a(ue), {
948
+ y(a(ue), {
949
949
  icon: i.value ? "i-material-symbols-check-box-sharp" : "i-material-symbols-check-box-outline-blank-sharp"
950
950
  }, null, 8, ["icon"])
951
951
  ]),
952
952
  _: 1
953
- }, 16, ["class"])) : f.value === "number" || r.value === "bigint" ? (c(), m(le, { key: 2 }, [
954
- b(a(fe), Ie(v, {
953
+ }, 16, ["class"])) : f.value === "number" || r.value === "bigint" ? (c(), h(se, { key: 2 }, [
954
+ y(a(fe), Se(m, {
955
955
  class: d.value,
956
- onClick: $[3] || ($[3] = he((I) => T(i.value, 1), ["stop"]))
956
+ onClick: k[3] || (k[3] = he((S) => T(i.value, 1), ["stop"]))
957
957
  }), {
958
958
  icon: M(() => [
959
- b(a(ue), { icon: "i-carbon-add" })
959
+ y(a(ue), { icon: "i-carbon-add" })
960
960
  ]),
961
961
  _: 1
962
962
  }, 16, ["class"]),
963
- b(a(fe), Ie(v, {
963
+ y(a(fe), Se(m, {
964
964
  class: d.value,
965
- onClick: $[4] || ($[4] = he((I) => T(i.value, -1), ["stop"]))
965
+ onClick: k[4] || (k[4] = he((S) => T(i.value, -1), ["stop"]))
966
966
  }), {
967
967
  icon: M(() => [
968
- b(a(ue), { icon: "i-carbon-subtract" })
968
+ y(a(ue), { icon: "i-carbon-subtract" })
969
969
  ]),
970
970
  _: 1
971
971
  }, 16, ["class"])
972
- ], 64)) : j("", !0)
973
- ], 64)) : j("", !0),
974
- !t.disableEdit && e.depth > 0 && e.data.editable ? (c(), z(a(fe), Ie({ key: 1 }, v, {
972
+ ], 64)) : U("", !0)
973
+ ], 64)) : U("", !0),
974
+ !t.disableEdit && e.depth > 0 && e.data.editable ? (c(), B(a(fe), Se({ key: 1 }, m, {
975
975
  class: d.value,
976
- onClick: $[5] || ($[5] = he((I) => h(i.value, !0), ["stop"]))
976
+ onClick: k[5] || (k[5] = he((S) => g(i.value, !0), ["stop"]))
977
977
  }), {
978
978
  icon: M(() => [
979
- b(a(ue), { icon: "i-material-symbols-delete-rounded" })
979
+ y(a(ue), { icon: "i-material-symbols-delete-rounded" })
980
980
  ]),
981
981
  _: 1
982
- }, 16, ["class"])) : j("", !0),
983
- b(a(hn), {
982
+ }, 16, ["class"])) : U("", !0),
983
+ y(a(mn), {
984
984
  class: ie({
985
985
  "opacity-0": !e.hovering && !s.value
986
986
  }),
@@ -989,46 +989,46 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
989
989
  size: "mini"
990
990
  },
991
991
  disabled: !a(l),
992
- "onUpdate:visible": $[8] || ($[8] = (I) => s.value = I)
992
+ "onUpdate:visible": k[8] || (k[8] = (S) => s.value = S)
993
993
  }, {
994
994
  popper: M(() => [
995
- u("div", bo, [
996
- b(a(yt), {
997
- onClick: $[6] || ($[6] = (I) => a(n)(typeof i.value == "object" ? JSON.stringify(i.value) : i.value.toString()))
995
+ u("div", yo, [
996
+ y(a(yt), {
997
+ onClick: k[6] || (k[6] = (S) => a(n)(typeof i.value == "object" ? JSON.stringify(i.value) : i.value.toString()))
998
998
  }, {
999
999
  icon: M(() => [
1000
- b(a(ue), {
1000
+ y(a(ue), {
1001
1001
  icon: "i-material-symbols-copy-all-rounded",
1002
1002
  class: "mt4px"
1003
1003
  }),
1004
- $[9] || ($[9] = Q(" Copy Value ", -1))
1004
+ k[9] || (k[9] = Q(" Copy Value ", -1))
1005
1005
  ]),
1006
1006
  _: 1
1007
1007
  }),
1008
- b(a(yt), {
1009
- onClick: $[7] || ($[7] = () => {
1008
+ y(a(yt), {
1009
+ onClick: k[7] || (k[7] = () => {
1010
1010
  a(n)(e.data.key);
1011
1011
  })
1012
1012
  }, {
1013
1013
  icon: M(() => [
1014
- b(a(ue), {
1014
+ y(a(ue), {
1015
1015
  icon: "i-material-symbols-copy-all-rounded",
1016
1016
  class: "mt4px"
1017
1017
  }),
1018
- $[10] || ($[10] = Q(" Copy Path ", -1))
1018
+ k[10] || (k[10] = Q(" Copy Path ", -1))
1019
1019
  ]),
1020
1020
  _: 1
1021
1021
  })
1022
1022
  ])
1023
1023
  ]),
1024
1024
  "button-icon": M(() => [
1025
- b(a(ue), { icon: "i-material-symbols:more-vert" })
1025
+ y(a(ue), { icon: "i-material-symbols:more-vert" })
1026
1026
  ]),
1027
1027
  _: 1
1028
1028
  }, 8, ["class", "disabled"])
1029
1029
  ]));
1030
1030
  }
1031
- }), wo = { class: "flex-inline items-center gap4px" }, We = /* @__PURE__ */ F({
1031
+ }), _o = { class: "flex-inline items-center gap4px" }, We = /* @__PURE__ */ Z({
1032
1032
  __name: "StateFieldInputEditor",
1033
1033
  props: {
1034
1034
  modelValue: {},
@@ -1038,89 +1038,89 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
1038
1038
  },
1039
1039
  emits: ["cancel", "submit", "update:modelValue"],
1040
1040
  setup(e, { emit: t }) {
1041
- const o = e, n = t, l = S(() => o.customType === "date" ? "datetime-local" : ""), { escape: s, enter: p } = go();
1041
+ const o = e, n = t, l = $(() => o.customType === "date" ? "datetime-local" : ""), { escape: s, enter: p } = ho();
1042
1042
  et(() => {
1043
1043
  s.value ? n("cancel") : p.value && n("submit");
1044
1044
  });
1045
- const i = /* @__PURE__ */ Co(o, "modelValue", n);
1045
+ const i = /* @__PURE__ */ go(o, "modelValue", n);
1046
1046
  function r(d) {
1047
1047
  try {
1048
- return je(d, o.customType), !0;
1048
+ return ze(d, o.customType), !0;
1049
1049
  } catch {
1050
1050
  return !1;
1051
1051
  }
1052
1052
  }
1053
- const f = E(!1);
1054
- return te(i, En(() => {
1053
+ const f = V(!1);
1054
+ return te(i, Tn(() => {
1055
1055
  f.value = !r(i.value);
1056
- }, 300)), (d, h) => (c(), m("span", wo, [
1057
- b(a(Ce), {
1056
+ }, 300)), (d, g) => (c(), h("span", _o, [
1057
+ y(a(ge), {
1058
1058
  modelValue: a(i),
1059
- "onUpdate:modelValue": h[0] || (h[0] = (T) => Fe(i) ? i.value = T : null),
1059
+ "onUpdate:modelValue": g[0] || (g[0] = (T) => Ke(i) ? i.value = T : null),
1060
1060
  type: l.value,
1061
1061
  variant: f.value ? "warning" : "normal",
1062
1062
  class: ie(["h25px px4px", e.customType === "date" ? "w240px" : "w120px"]),
1063
1063
  "auto-focus": e.autoFocus,
1064
- onClick: h[1] || (h[1] = he(() => {
1064
+ onClick: g[1] || (g[1] = he(() => {
1065
1065
  }, ["stop"]))
1066
1066
  }, null, 8, ["modelValue", "type", "variant", "class", "auto-focus"]),
1067
- e.showActions ? (c(), m(le, { key: 0 }, [
1068
- q((c(), z(a(fe), {
1067
+ e.showActions ? (c(), h(se, { key: 0 }, [
1068
+ q((c(), B(a(fe), {
1069
1069
  size: "mini",
1070
1070
  flat: "",
1071
1071
  class: "p2px!",
1072
- onClick: h[2] || (h[2] = he((T) => d.$emit("cancel"), ["stop"]))
1072
+ onClick: g[2] || (g[2] = he((T) => d.$emit("cancel"), ["stop"]))
1073
1073
  }, {
1074
1074
  icon: M(() => [
1075
- b(a(ue), { icon: "i-material-symbols-cancel" })
1075
+ y(a(ue), { icon: "i-material-symbols-cancel" })
1076
1076
  ]),
1077
1077
  _: 1
1078
1078
  })), [
1079
- [a(Y), {
1079
+ [a(J), {
1080
1080
  content: "Esc to cancel"
1081
1081
  }]
1082
1082
  ]),
1083
- f.value ? q((c(), z(a(ue), {
1083
+ f.value ? q((c(), B(a(ue), {
1084
1084
  key: 1,
1085
1085
  icon: "i-material-symbols-warning",
1086
1086
  class: "color-warning-500 dark:color-warning-300"
1087
1087
  }, null, 512)), [
1088
- [a(Y), {
1088
+ [a(J), {
1089
1089
  content: "Invalid value"
1090
1090
  }]
1091
- ]) : q((c(), z(a(fe), {
1091
+ ]) : q((c(), B(a(fe), {
1092
1092
  key: 0,
1093
1093
  size: "mini",
1094
1094
  flat: "",
1095
1095
  class: "p2px!",
1096
- onClick: h[3] || (h[3] = he((T) => d.$emit("submit"), ["stop"]))
1096
+ onClick: g[3] || (g[3] = he((T) => d.$emit("submit"), ["stop"]))
1097
1097
  }, {
1098
1098
  icon: M(() => [
1099
- b(a(ue), { icon: "i-material-symbols-save" })
1099
+ y(a(ue), { icon: "i-material-symbols-save" })
1100
1100
  ]),
1101
1101
  _: 1
1102
1102
  })), [
1103
- [a(Y), {
1103
+ [a(J), {
1104
1104
  content: "Enter to submit change"
1105
1105
  }]
1106
1106
  ])
1107
- ], 64)) : j("", !0)
1107
+ ], 64)) : U("", !0)
1108
1108
  ]));
1109
1109
  }
1110
- }), ko = {
1110
+ }), wo = {
1111
1111
  key: 1,
1112
1112
  pl5: ""
1113
- }, Io = {
1113
+ }, ko = {
1114
1114
  "whitespace-nowrap": "",
1115
1115
  "text-purple-700": "",
1116
1116
  op70: "",
1117
1117
  "dark:text-purple-300": ""
1118
- }, $o = ["innerHTML"], So = { key: 0 }, To = {
1118
+ }, Io = ["innerHTML"], $o = { key: 0 }, So = {
1119
1119
  "overflow-hidden": "",
1120
1120
  "text-ellipsis": "",
1121
1121
  "whitespace-nowrap": "",
1122
1122
  "state-key": ""
1123
- }, Vt = 30, Eo = /* @__PURE__ */ F({
1123
+ }, Vt = 30, To = /* @__PURE__ */ Z({
1124
1124
  __name: "StateFieldViewer",
1125
1125
  props: {
1126
1126
  data: {},
@@ -1129,166 +1129,179 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
1129
1129
  expandedStateId: {}
1130
1130
  },
1131
1131
  setup(e) {
1132
- const t = e, o = E(Vt), n = S(() => In(t.data.value, !1, {
1132
+ const t = e, o = V(Vt), n = $(() => kn(t.data.value, !1, {
1133
1133
  customClass: {
1134
1134
  string: "max-w-120 truncate"
1135
1135
  }
1136
- })), l = S(() => bt(t.data.value)), s = S(() => Pt(t.data.value)), { expanded: p, toggleExpanded: i } = at(t.expandedStateId ?? ""), r = S(() => l.value === "custom" ? `${t.data.value._custom?.type ?? "string"}-custom-state` : "unknown-state-type"), f = S(() => {
1137
- const { value: H } = s.value;
1138
- return _t(H) ? H.length : wt(H) ? Object.keys(H).length : 0;
1139
- }), v = S(() => t.data.path || [t.data.key]), d = S(() => v.value[v.value.length - 1]), h = S(() => {
1140
- const H = ["Reactive"], k = t.data.value?._custom?.stateTypeName || t.data?.stateTypeName;
1141
- if (H.includes(k))
1142
- return k;
1136
+ })), l = $(() => bt(t.data.value)), s = $(() => Pt(t.data.value)), { expanded: p, toggleExpanded: i } = at(t.expandedStateId ?? ""), r = $(() => l.value === "custom" ? `${t.data.value._custom?.type ?? "string"}-custom-state` : "unknown-state-type"), f = $(() => {
1137
+ const { value: I } = s.value;
1138
+ return _t(I) ? I.length : wt(I) ? Object.keys(I).length : 0;
1139
+ }), m = $(() => t.data.path || [t.data.key]), d = $(() => m.value[m.value.length - 1]), g = $(() => {
1140
+ const I = ["Reactive"], v = t.data.value?._custom?.stateTypeName || t.data?.stateTypeName;
1141
+ if (I.includes(v))
1142
+ return v;
1143
1143
  if (t.data.value?.fields?.abstract)
1144
1144
  return "";
1145
1145
  {
1146
- const g = t.data.value?._custom?.type, y = l.value === "custom" && !g ? `"${n.value}"` : n.value === "" ? '""' : n.value, D = l.value === "custom" && g === "ref" ? bt(y) : l.value, Z = l.value === "string" ? "select-text" : "", ae = `<span title="${l.value === "string" ? $n(t.data.value) : ""}" class="${D}-state-type flex whitespace-nowrap ${Z}">${y}</span>`;
1147
- return k ? `${ae} <span class="text-gray-500">(${k})</span>` : ae;
1146
+ const C = t.data.value?._custom?.type, P = l.value === "custom" && !C ? `"${n.value}"` : n.value === "" ? '""' : n.value, z = l.value === "custom" && C === "ref" ? bt(P) : l.value, oe = l.value === "string" ? "select-text" : "", we = `<span title="${l.value === "string" ? In(t.data.value) : ""}" class="${z}-state-type flex whitespace-nowrap ${oe}">${P}</span>`;
1147
+ return v ? `${we} <span class="text-gray-500">(${v})</span>` : we;
1148
1148
  }
1149
- }), T = S(() => {
1150
- const { value: H, inherit: k, customType: g } = s.value, y = g === "set";
1151
- let D = [];
1152
- return _t(H) ? H.slice(0, o.value).map((ae, Ve) => ({
1153
- key: Ve.toString(),
1154
- path: [...v.value, Ve.toString()],
1155
- value: ae,
1156
- ...k,
1157
- editable: t.data.editable && !y,
1149
+ }), T = $(() => {
1150
+ const I = {
1151
+ content: "",
1152
+ disabled: !0,
1153
+ html: !0
1154
+ };
1155
+ if (l.value === "custom") {
1156
+ const v = t.data.value?._custom?.tooltipText;
1157
+ v && (I.content = v, I.disabled = !1);
1158
+ }
1159
+ return I;
1160
+ }), R = $(() => {
1161
+ const { value: I, inherit: v, customType: C } = s.value, P = C === "set";
1162
+ let z = [];
1163
+ return _t(I) ? I.slice(0, o.value).map((we, $e) => ({
1164
+ key: $e.toString(),
1165
+ path: [...m.value, $e.toString()],
1166
+ value: we,
1167
+ ...v,
1168
+ editable: t.data.editable && !P,
1158
1169
  creating: !1
1159
- })) : (wt(H) && (D = Object.keys(H).slice(0, o.value).map((Z) => ({
1160
- key: Z,
1161
- path: [...v.value, Z],
1162
- value: H[Z],
1163
- ...k,
1164
- editable: t.data.editable && !y,
1170
+ })) : (wt(I) && (z = Object.keys(I).slice(0, o.value).map((oe) => ({
1171
+ key: oe,
1172
+ path: [...m.value, oe],
1173
+ value: I[oe],
1174
+ ...v,
1175
+ editable: t.data.editable && !P,
1165
1176
  creating: !1
1166
- })), l.value !== "custom" && (D = Mt(D))), D === t.data.value ? [] : D);
1167
- }), A = S(() => T.value.length > 0), $ = E(), I = st(), { isHovering: P } = xo(() => $.value), { editingType: N, editing: w, editingText: R, toggleEditing: B, nodeId: G } = Jn();
1168
- te(() => w.value, (H) => {
1169
- if (H) {
1170
- const { value: k } = s.value;
1171
- R.value = Sn(k, s.value.customType);
1177
+ })), l.value !== "custom" && (z = Mt(z))), z === t.data.value ? [] : z);
1178
+ }), k = $(() => R.value.length > 0), S = V(), N = st(), { isHovering: A } = Co(() => S.value), { editingType: w, editing: D, editingText: j, toggleEditing: K, nodeId: G } = qn();
1179
+ te(() => D.value, (I) => {
1180
+ if (I) {
1181
+ const { value: v } = s.value;
1182
+ j.value = $n(v, s.value.customType);
1172
1183
  } else
1173
- R.value = "";
1184
+ j.value = "";
1174
1185
  });
1175
- async function W() {
1176
- const H = t.data;
1177
- await V.value.editInspectorState({
1178
- path: v.value,
1179
- inspectorId: I.value.inspectorId,
1180
- type: H.stateType,
1186
+ async function O() {
1187
+ const I = t.data;
1188
+ await E.value.editInspectorState({
1189
+ path: m.value,
1190
+ inspectorId: N.value.inspectorId,
1191
+ type: I.stateType,
1181
1192
  nodeId: G.value,
1182
1193
  state: {
1183
1194
  newKey: null,
1184
- type: N.value,
1185
- value: je(R.value, s.value.customType)
1195
+ type: w.value,
1196
+ value: ze(j.value, s.value.customType)
1186
1197
  }
1187
- }), await V.value.sendInspectorState(I.value.inspectorId), B();
1188
- }
1189
- const { addNewProp: O, draftingNewProp: C, resetDrafting: U } = Xn();
1190
- function oe(H) {
1191
- const k = `${t.depth}-${t.index}`;
1192
- p.value.includes(k) || i(k), O(H, s.value.value);
1193
- }
1194
- async function se() {
1195
- const H = t.data;
1196
- await V.value.editInspectorState({
1197
- path: [...v.value, C.value.key],
1198
- inspectorId: I.value.inspectorId,
1199
- type: H.stateType,
1198
+ }), await E.value.sendInspectorState(N.value.inspectorId), K();
1199
+ }
1200
+ const { addNewProp: _, draftingNewProp: H, resetDrafting: ne } = Yn();
1201
+ function ae(I) {
1202
+ const v = `${t.depth}-${t.index}`;
1203
+ p.value.includes(v) || i(v), _(I, s.value.value);
1204
+ }
1205
+ async function W() {
1206
+ const I = t.data;
1207
+ await E.value.editInspectorState({
1208
+ path: [...m.value, H.value.key],
1209
+ inspectorId: N.value.inspectorId,
1210
+ type: I.stateType,
1200
1211
  nodeId: G.value,
1201
1212
  state: {
1202
- newKey: C.value.key,
1203
- type: typeof je(C.value.value),
1204
- value: je(C.value.value)
1213
+ newKey: H.value.key,
1214
+ type: typeof ze(H.value.value),
1215
+ value: ze(H.value.value)
1205
1216
  }
1206
- }), await V.value.sendInspectorState(I.value.inspectorId), U();
1217
+ }), await E.value.sendInspectorState(N.value.inspectorId), ne();
1207
1218
  }
1208
- return (H, k) => (c(), m("div", null, [
1219
+ return (I, v) => (c(), h("div", null, [
1209
1220
  u("div", {
1210
1221
  ref_key: "containerRef",
1211
- ref: $,
1212
- class: ie(["font-state-field flex items-center text-3.5", [A.value && "cursor-pointer hover:bg-active"]]),
1213
- style: Se({ paddingLeft: `${e.depth * 15 + 4}px` }),
1214
- onClick: k[1] || (k[1] = (g) => a(i)(`${e.depth}-${e.index}`))
1222
+ ref: S,
1223
+ class: ie(["font-state-field flex items-center text-3.5", [k.value && "cursor-pointer hover:bg-active"]]),
1224
+ style: Ee({ paddingLeft: `${e.depth * 15 + 4}px` }),
1225
+ onClick: v[1] || (v[1] = (C) => a(i)(`${e.depth}-${e.index}`))
1215
1226
  }, [
1216
- A.value ? (c(), z(lt, {
1227
+ k.value ? (c(), B(lt, {
1217
1228
  key: 0,
1218
1229
  value: a(p).includes(`${e.depth}-${e.index}`)
1219
- }, null, 8, ["value"])) : (c(), m("span", ko)),
1220
- u("span", Io, re(d.value), 1),
1221
- k[5] || (k[5] = u("span", { mx1: "" }, ":", -1)),
1222
- a(w) ? (c(), z(We, {
1230
+ }, null, 8, ["value"])) : (c(), h("span", wo)),
1231
+ u("span", ko, re(d.value), 1),
1232
+ v[5] || (v[5] = u("span", { mx1: "" }, ":", -1)),
1233
+ a(D) ? (c(), B(We, {
1223
1234
  key: 2,
1224
- modelValue: a(R),
1225
- "onUpdate:modelValue": k[0] || (k[0] = (g) => Fe(R) ? R.value = g : null),
1235
+ modelValue: a(j),
1236
+ "onUpdate:modelValue": v[0] || (v[0] = (C) => Ke(j) ? j.value = C : null),
1226
1237
  class: "mr-1",
1227
1238
  "custom-type": s.value.customType,
1228
- onCancel: a(B),
1229
- onSubmit: W
1230
- }, null, 8, ["modelValue", "custom-type", "onCancel"])) : j("", !0),
1239
+ onCancel: a(K),
1240
+ onSubmit: O
1241
+ }, null, 8, ["modelValue", "custom-type", "onCancel"])) : U("", !0),
1231
1242
  u("span", {
1232
1243
  class: ie([r.value, "flex whitespace-nowrap dark:text-#bdc6cf"])
1233
1244
  }, [
1234
- u("span", {
1245
+ q(u("span", {
1235
1246
  class: "flex",
1236
- innerHTML: h.value
1237
- }, null, 8, $o)
1247
+ innerHTML: g.value
1248
+ }, null, 8, Io), [
1249
+ [a(J), T.value]
1250
+ ])
1238
1251
  ], 2),
1239
- b(_o, {
1240
- hovering: a(P),
1241
- "disable-edit": a(I).disableEdit || a(w),
1252
+ y(bo, {
1253
+ hovering: a(A),
1254
+ "disable-edit": a(N).disableEdit || a(D),
1242
1255
  data: e.data,
1243
1256
  depth: e.depth,
1244
- onEnableEditInput: a(B),
1245
- onAddNewProp: oe
1257
+ onEnableEditInput: a(K),
1258
+ onAddNewProp: ae
1246
1259
  }, null, 8, ["hovering", "disable-edit", "data", "depth", "onEnableEditInput"])
1247
1260
  ], 6),
1248
- A.value && a(p).includes(`${e.depth}-${e.index}`) ? (c(), m("div", So, [
1249
- b(Yt, {
1250
- data: T.value,
1261
+ k.value && a(p).includes(`${e.depth}-${e.index}`) ? (c(), h("div", $o, [
1262
+ y(Yt, {
1263
+ data: R.value,
1251
1264
  depth: e.depth,
1252
1265
  index: e.index
1253
1266
  }, null, 8, ["data", "depth", "index"]),
1254
- f.value > o.value ? q((c(), z(a(fe), {
1267
+ f.value > o.value ? q((c(), B(a(fe), {
1255
1268
  key: 0,
1256
1269
  flat: "",
1257
1270
  size: "mini",
1258
1271
  class: "ml-4",
1259
- onClick: k[2] || (k[2] = (g) => o.value += Vt)
1272
+ onClick: v[2] || (v[2] = (C) => o.value += Vt)
1260
1273
  }, {
1261
1274
  icon: M(() => [
1262
- b(a(ue), { icon: "i-material-symbols-more-horiz" })
1275
+ y(a(ue), { icon: "i-material-symbols-more-horiz" })
1263
1276
  ]),
1264
1277
  _: 1
1265
1278
  })), [
1266
- [a(Y), "Show more"]
1267
- ]) : j("", !0),
1268
- a(C).enable ? (c(), m("div", {
1279
+ [a(J), "Show more"]
1280
+ ]) : U("", !0),
1281
+ a(H).enable ? (c(), h("div", {
1269
1282
  key: 1,
1270
- style: Se({ paddingLeft: `${(e.depth + 1) * 15 + 4}px` })
1283
+ style: Ee({ paddingLeft: `${(e.depth + 1) * 15 + 4}px` })
1271
1284
  }, [
1272
- u("span", To, [
1273
- b(We, {
1274
- modelValue: a(C).key,
1275
- "onUpdate:modelValue": k[3] || (k[3] = (g) => a(C).key = g),
1285
+ u("span", So, [
1286
+ y(We, {
1287
+ modelValue: a(H).key,
1288
+ "onUpdate:modelValue": v[3] || (v[3] = (C) => a(H).key = C),
1276
1289
  "show-actions": !1
1277
1290
  }, null, 8, ["modelValue"])
1278
1291
  ]),
1279
- k[6] || (k[6] = u("span", { "mx-1": "" }, ":", -1)),
1280
- b(We, {
1281
- modelValue: a(C).value,
1282
- "onUpdate:modelValue": k[4] || (k[4] = (g) => a(C).value = g),
1292
+ v[6] || (v[6] = u("span", { "mx-1": "" }, ":", -1)),
1293
+ y(We, {
1294
+ modelValue: a(H).value,
1295
+ "onUpdate:modelValue": v[4] || (v[4] = (C) => a(H).value = C),
1283
1296
  "auto-focus": !1,
1284
- onCancel: a(U),
1285
- onSubmit: se
1297
+ onCancel: a(ne),
1298
+ onSubmit: W
1286
1299
  }, null, 8, ["modelValue", "onCancel"])
1287
- ], 4)) : j("", !0)
1288
- ])) : j("", !0)
1300
+ ], 4)) : U("", !0)
1301
+ ])) : U("", !0)
1289
1302
  ]));
1290
1303
  }
1291
- }), Vo = /* @__PURE__ */ _e(Eo, [["__scopeId", "data-v-7918b8f2"]]), Yt = /* @__PURE__ */ F({
1304
+ }), Eo = /* @__PURE__ */ _e(To, [["__scopeId", "data-v-1662487a"]]), Yt = /* @__PURE__ */ Z({
1292
1305
  __name: "ChildStateViewer",
1293
1306
  props: {
1294
1307
  data: {},
@@ -1297,9 +1310,9 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
1297
1310
  expandedStateId: { default: "" }
1298
1311
  },
1299
1312
  setup(e) {
1300
- return (t, o) => (c(), m("div", null, [
1301
- (c(!0), m(le, null, ce(e.data, (n, l) => (c(), m("div", { key: l }, [
1302
- b(Vo, {
1313
+ return (t, o) => (c(), h("div", null, [
1314
+ (c(!0), h(se, null, ce(e.data, (n, l) => (c(), h("div", { key: l }, [
1315
+ y(Eo, {
1303
1316
  data: n,
1304
1317
  depth: e.depth + 1,
1305
1318
  index: `${e.index}-${l}`,
@@ -1308,14 +1321,14 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
1308
1321
  ]))), 128))
1309
1322
  ]));
1310
1323
  }
1311
- }), No = ["onClick"], Ao = {
1324
+ }), Vo = ["onClick"], No = {
1312
1325
  key: 1,
1313
1326
  pl5: ""
1314
- }, Ro = {
1327
+ }, Ao = {
1315
1328
  "font-state-field": "",
1316
1329
  "text-3.5": "",
1317
1330
  "text-hex-a3a3a3": ""
1318
- }, Do = { key: 0 }, He = /* @__PURE__ */ F({
1331
+ }, Ro = { key: 0 }, Oe = /* @__PURE__ */ Z({
1319
1332
  __name: "RootStateViewer",
1320
1333
  props: {
1321
1334
  data: {},
@@ -1333,49 +1346,49 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
1333
1346
  disableEdit: t.disableEdit
1334
1347
  };
1335
1348
  }
1336
- const { context: n } = qn(o());
1349
+ const { context: n } = Wn(o());
1337
1350
  et(() => {
1338
1351
  n.value = o();
1339
1352
  });
1340
1353
  const { expanded: l, toggleExpanded: s } = at(t.expandedStateId);
1341
- return (p, i) => (c(), m("div", null, [
1342
- (c(!0), m(le, null, ce(e.data, (r, f, v) => (c(), m("div", { key: v }, [
1354
+ return (p, i) => (c(), h("div", null, [
1355
+ (c(!0), h(se, null, ce(e.data, (r, f, m) => (c(), h("div", { key: m }, [
1343
1356
  u("div", {
1344
1357
  class: ie(["flex items-center", [r?.length && "cursor-pointer hover:bg-active"]]),
1345
- onClick: (d) => a(s)(`${v}`)
1358
+ onClick: (d) => a(s)(`${m}`)
1346
1359
  }, [
1347
- r?.length ? (c(), z(lt, {
1360
+ r?.length ? (c(), B(lt, {
1348
1361
  key: 0,
1349
- value: a(l).includes(`${v}`)
1350
- }, null, 8, ["value"])) : (c(), m("span", Ao)),
1351
- u("span", Ro, re(f), 1)
1352
- ], 10, No),
1353
- r?.length && a(l).includes(`${v}`) ? (c(), m("div", Do, [
1354
- b(Yt, {
1362
+ value: a(l).includes(`${m}`)
1363
+ }, null, 8, ["value"])) : (c(), h("span", No)),
1364
+ u("span", Ao, re(f), 1)
1365
+ ], 10, Vo),
1366
+ r?.length && a(l).includes(`${m}`) ? (c(), h("div", Ro, [
1367
+ y(Yt, {
1355
1368
  data: r,
1356
- index: `${v}`,
1369
+ index: `${m}`,
1357
1370
  "expanded-state-id": e.expandedStateId
1358
1371
  }, null, 8, ["data", "index", "expanded-state-id"])
1359
- ])) : j("", !0)
1372
+ ])) : U("", !0)
1360
1373
  ]))), 128))
1361
1374
  ]));
1362
1375
  }
1363
- }), Po = { class: "p3" }, Lo = ["onClick"], Mo = {
1376
+ }), Do = { class: "p3" }, Po = ["onClick"], Lo = {
1364
1377
  key: 0,
1365
1378
  class: "absolute left-5px top-4.5 h10 w0 border-l-2",
1366
1379
  border: "solid gray2"
1367
- }, Ho = { class: "h-full flex items-center truncate pl5" }, Oo = {
1380
+ }, Mo = { class: "h-full flex items-center truncate pl5" }, Ho = {
1368
1381
  absolute: "",
1369
1382
  "top-5": "",
1370
1383
  pr2: "",
1371
1384
  "text-3": "",
1372
1385
  op40: ""
1373
- }, Uo = {
1386
+ }, Oo = {
1374
1387
  pl2: "",
1375
1388
  op30: ""
1376
- }, jo = /* @__PURE__ */ F({
1389
+ }, Uo = /* @__PURE__ */ Z({
1377
1390
  __name: "EventList",
1378
- props: /* @__PURE__ */ Re({
1391
+ props: /* @__PURE__ */ De({
1379
1392
  data: {}
1380
1393
  }, {
1381
1394
  modelValue: {},
@@ -1383,7 +1396,7 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
1383
1396
  }),
1384
1397
  emits: ["update:modelValue"],
1385
1398
  setup(e) {
1386
- const t = e, o = Ye(e, "modelValue"), n = ["#3e5770", "#42b983", "#0098c4"], l = E(null), s = S(() => {
1399
+ const t = e, o = Ye(e, "modelValue"), n = ["#3e5770", "#42b983", "#0098c4"], l = V(null), s = $(() => {
1387
1400
  let p = -1, i = 0;
1388
1401
  return t.data.forEach((r, f) => {
1389
1402
  (r.groupId !== i || p === -1) && (p = (p + 1) % n.length), i = r.groupId ?? i, r.id = f, r.color = n[p];
@@ -1391,8 +1404,8 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
1391
1404
  });
1392
1405
  return te(() => s.value.length, (p) => {
1393
1406
  l.value?.scrollToItem(p - 1);
1394
- }, { flush: "post" }), (p, i) => (c(), m("div", Po, [
1395
- b(a(Vn), {
1407
+ }, { flush: "post" }), (p, i) => (c(), h("div", Do, [
1408
+ y(a(En), {
1396
1409
  ref_key: "scrollerRef",
1397
1410
  ref: l,
1398
1411
  items: s.value,
@@ -1406,47 +1419,47 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
1406
1419
  default: M(({ item: r }) => [
1407
1420
  u("div", {
1408
1421
  class: "relative mb7 h6 cursor-pointer",
1409
- style: Se({ color: o.value === r.id ? r.color : "" }),
1422
+ style: Ee({ color: o.value === r.id ? r.color : "" }),
1410
1423
  onClick: (f) => o.value = r.id
1411
1424
  }, [
1412
1425
  u("span", {
1413
1426
  class: "absolute top-1.5 inline-block h3 w3 b rounded-50%",
1414
- style: Se({ border: `3px solid ${r.color}` })
1427
+ style: Ee({ border: `3px solid ${r.color}` })
1415
1428
  }, null, 4),
1416
- r.id < e.data.length - 1 ? (c(), m("span", Mo)) : j("", !0),
1417
- u("p", Ho, [
1418
- u("span", Oo, "[" + re(a(Rn)(r.time)) + "]", 1),
1429
+ r.id < e.data.length - 1 ? (c(), h("span", Lo)) : U("", !0),
1430
+ u("p", Mo, [
1431
+ u("span", Ho, "[" + re(a(An)(r.time)) + "]", 1),
1419
1432
  Q(" " + re(r.title) + " ", 1),
1420
- u("span", Uo, re(r.subtitle), 1)
1433
+ u("span", Oo, re(r.subtitle), 1)
1421
1434
  ])
1422
- ], 12, Lo)
1435
+ ], 12, Po)
1423
1436
  ]),
1424
1437
  _: 1
1425
1438
  }, 8, ["items"])
1426
1439
  ]));
1427
1440
  }
1428
- }), zo = { class: "relative h-full flex flex-col" }, Bo = {
1441
+ }), jo = { class: "relative h-full flex flex-col" }, zo = {
1429
1442
  key: 1,
1430
1443
  class: "flex-1 overflow-hidden"
1431
- }, Zo = {
1444
+ }, Bo = {
1432
1445
  "h-full": "",
1433
1446
  "select-none": "",
1434
1447
  "overflow-scroll": "",
1435
1448
  class: "no-scrollbar"
1436
- }, Fo = {
1449
+ }, Zo = {
1437
1450
  "h-full": "",
1438
1451
  "overflow-scroll": "",
1439
1452
  class: "no-scrollbar"
1440
- }, Ko = {
1453
+ }, Fo = {
1441
1454
  key: 3,
1442
1455
  class: "absolute right-3 top-12 flex items-center justify-end b-1 border-base rounded-1 b-solid px2 py1"
1443
- }, Go = { class: "flex items-center gap-2 px-1" }, Wo = {
1456
+ }, Ko = { class: "flex items-center gap-2 px-1" }, Go = {
1444
1457
  key: 0,
1445
1458
  class: "recording recording-btn bg-[#ef4444]"
1446
- }, qo = {
1459
+ }, Wo = {
1447
1460
  key: 1,
1448
1461
  class: "recording-btn bg-black op70 dark:bg-white hover:op100"
1449
- }, Jo = { class: "flex items-center gap1" }, Yo = /* @__PURE__ */ F({
1462
+ }, qo = { class: "flex items-center gap1" }, Jo = /* @__PURE__ */ Z({
1450
1463
  __name: "index",
1451
1464
  props: {
1452
1465
  layerIds: {},
@@ -1457,94 +1470,94 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
1457
1470
  switcherVisible: { type: Boolean, default: !0 }
1458
1471
  },
1459
1472
  setup(e, { expose: t }) {
1460
- const o = e, { expanded: n } = xe("timeline-state");
1473
+ const o = e, { expanded: n } = Ce("timeline-state");
1461
1474
  n.value = ["0", "1"];
1462
- const l = E([]), s = E(/* @__PURE__ */ new Map()), p = E(0), i = Lt(), r = S(() => i.timelineLayersState.value?.[o.pluginId]), f = S(() => l.value[p.value] ?? null), v = S(() => r.value ? "Stop recording" : "Start recording"), d = S(() => {
1463
- const N = [];
1475
+ const l = V([]), s = V(/* @__PURE__ */ new Map()), p = V(0), i = Lt(), r = $(() => i.timelineLayersState.value?.[o.pluginId]), f = $(() => l.value[p.value] ?? null), m = $(() => r.value ? "Stop recording" : "Start recording"), d = $(() => {
1476
+ const A = [];
1464
1477
  for (const w in f.value?.data)
1465
- N.push({
1478
+ A.push({
1466
1479
  key: w,
1467
1480
  type: w,
1468
1481
  editable: !1,
1469
1482
  value: f.value.data[w]
1470
1483
  });
1471
- return N;
1472
- }), h = S(() => {
1473
- const N = f.value?.groupId, w = s.value.get(N);
1484
+ return A;
1485
+ }), g = $(() => {
1486
+ const A = f.value?.groupId, w = s.value.get(A);
1474
1487
  if (w) {
1475
- const R = w[w.length - 1]?.time - (w[0]?.time ?? 0);
1488
+ const D = w[w.length - 1]?.time - (w[0]?.time ?? 0);
1476
1489
  return [{
1477
1490
  key: "events",
1478
1491
  type: "events",
1479
1492
  editable: !1,
1480
1493
  value: w.length
1481
- }, R && {
1494
+ }, D && {
1482
1495
  key: "duration",
1483
1496
  type: "duration",
1484
1497
  editable: !1,
1485
- value: `${R}ms`
1498
+ value: `${D}ms`
1486
1499
  }].filter(Boolean);
1487
1500
  }
1488
- }), T = S(() => ({ "Event Info": d.value, ...h.value && { "Group Info": h.value } }));
1489
- function A(N) {
1490
- const w = N.groupId;
1491
- w !== void 0 && (s.value.set(w, s.value.get(w) ?? []), s.value.get(w)?.push(N));
1501
+ }), T = $(() => ({ "Event Info": d.value, ...g.value && { "Group Info": g.value } }));
1502
+ function R(A) {
1503
+ const w = A.groupId;
1504
+ w !== void 0 && (s.value.set(w, s.value.get(w) ?? []), s.value.get(w)?.push(A));
1492
1505
  }
1493
- function $(N) {
1494
- const w = ne(N);
1506
+ function k(A) {
1507
+ const w = le(A);
1495
1508
  if (!w)
1496
1509
  return;
1497
- const { layerId: R, event: B } = w;
1498
- o.layerIds.includes(R) && (l.value.push(B), A(B));
1510
+ const { layerId: D, event: j } = w;
1511
+ o.layerIds.includes(D) && (l.value.push(j), R(j));
1499
1512
  }
1500
- V.functions.on(X.TIMELINE_EVENT_UPDATED, $), ke(() => {
1501
- V.functions.off(X.TIMELINE_EVENT_UPDATED, $);
1513
+ E.functions.on(X.TIMELINE_EVENT_UPDATED, k), Ie(() => {
1514
+ E.functions.off(X.TIMELINE_EVENT_UPDATED, k);
1502
1515
  });
1503
- function I() {
1516
+ function S() {
1504
1517
  l.value = [], s.value.clear();
1505
1518
  }
1506
1519
  t({
1507
- clear: I
1520
+ clear: S
1508
1521
  });
1509
- function P() {
1510
- V.value.updateTimelineLayersState({
1522
+ function N() {
1523
+ E.value.updateTimelineLayersState({
1511
1524
  [o.pluginId]: !r.value
1512
1525
  });
1513
1526
  }
1514
- return (N, w) => (c(), m("div", zo, [
1515
- e.headerVisible ? (c(), z(Te, {
1527
+ return (A, w) => (c(), h("div", jo, [
1528
+ e.headerVisible ? (c(), B(Ve, {
1516
1529
  key: 0,
1517
1530
  "doc-link": e.docLink,
1518
1531
  "github-repo-link": e.githubRepoLink
1519
1532
  }, {
1520
1533
  default: M(() => [
1521
- b(Ee)
1534
+ y(Ne)
1522
1535
  ]),
1523
1536
  _: 1
1524
- }, 8, ["doc-link", "github-repo-link"])) : j("", !0),
1525
- l.value.length ? (c(), m("div", Bo, [
1526
- b(a(Pe), { class: "h-full" }, {
1537
+ }, 8, ["doc-link", "github-repo-link"])) : U("", !0),
1538
+ l.value.length ? (c(), h("div", zo, [
1539
+ y(a(Le), { class: "h-full" }, {
1527
1540
  default: M(() => [
1528
- b(a(de), {
1541
+ y(a(de), {
1529
1542
  border: "r base",
1530
1543
  size: "40",
1531
1544
  "h-full": ""
1532
1545
  }, {
1533
1546
  default: M(() => [
1534
- u("div", Zo, [
1535
- b(jo, {
1547
+ u("div", Bo, [
1548
+ y(Uo, {
1536
1549
  modelValue: p.value,
1537
- "onUpdate:modelValue": w[0] || (w[0] = (R) => p.value = R),
1550
+ "onUpdate:modelValue": w[0] || (w[0] = (D) => p.value = D),
1538
1551
  data: l.value
1539
1552
  }, null, 8, ["modelValue", "data"])
1540
1553
  ])
1541
1554
  ]),
1542
1555
  _: 1
1543
1556
  }),
1544
- b(a(de), { size: "60" }, {
1557
+ y(a(de), { size: "60" }, {
1545
1558
  default: M(() => [
1546
- u("div", Fo, [
1547
- b(He, {
1559
+ u("div", Zo, [
1560
+ y(Oe, {
1548
1561
  class: "p3",
1549
1562
  data: T.value,
1550
1563
  "node-id": "",
@@ -1559,7 +1572,7 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
1559
1572
  ]),
1560
1573
  _: 1
1561
1574
  })
1562
- ])) : (c(), z($e, {
1575
+ ])) : (c(), B(Te, {
1563
1576
  key: 2,
1564
1577
  class: "flex-1"
1565
1578
  }, {
@@ -1568,26 +1581,26 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
1568
1581
  ])]),
1569
1582
  _: 1
1570
1583
  })),
1571
- e.switcherVisible ? (c(), m("div", Ko, [
1572
- u("div", Go, [
1573
- q((c(), m("div", {
1584
+ e.switcherVisible ? (c(), h("div", Fo, [
1585
+ u("div", Ko, [
1586
+ q((c(), h("div", {
1574
1587
  class: "flex items-center gap1",
1575
- onClick: P
1588
+ onClick: N
1576
1589
  }, [
1577
- r.value ? (c(), m("span", Wo)) : (c(), m("span", qo))
1590
+ r.value ? (c(), h("span", Go)) : (c(), h("span", Wo))
1578
1591
  ])), [
1579
1592
  [
1580
- a(Y),
1581
- { content: v.value },
1593
+ a(J),
1594
+ { content: m.value },
1582
1595
  void 0,
1583
1596
  { "bottom-end": !0 }
1584
1597
  ]
1585
1598
  ]),
1586
- q((c(), m("div", {
1599
+ q((c(), h("div", {
1587
1600
  class: "flex items-center gap1",
1588
- onClick: I
1601
+ onClick: S
1589
1602
  }, [
1590
- b(a(Ze), {
1603
+ y(a(Fe), {
1591
1604
  name: "baseline-delete",
1592
1605
  "cursor-pointer": "",
1593
1606
  "text-xl": "",
@@ -1596,14 +1609,14 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
1596
1609
  })
1597
1610
  ])), [
1598
1611
  [
1599
- a(Y),
1612
+ a(J),
1600
1613
  { content: "Clear all timelines" },
1601
1614
  void 0,
1602
1615
  { "bottom-end": !0 }
1603
1616
  ]
1604
1617
  ]),
1605
- q((c(), m("div", Jo, [
1606
- b(a(Ze), {
1618
+ q((c(), h("div", qo, [
1619
+ y(a(Fe), {
1607
1620
  name: "baseline-tips-and-updates",
1608
1621
  "cursor-pointer": "",
1609
1622
  "text-xl": "",
@@ -1612,82 +1625,65 @@ const yo = { class: "flex pl5px" }, bo = { class: "w160px py5px" }, _o = /* @__P
1612
1625
  })
1613
1626
  ])), [
1614
1627
  [
1615
- a(Y),
1628
+ a(J),
1616
1629
  { content: "<p style='width: 285px'>Timeline events can cause significant performance overhead in large applications, so we recommend enabling it only when needed and on-demand. </p>", html: !0 },
1617
1630
  void 0,
1618
1631
  { "bottom-end": !0 }
1619
1632
  ]
1620
1633
  ])
1621
1634
  ])
1622
- ])) : j("", !0)
1635
+ ])) : U("", !0)
1623
1636
  ]));
1624
1637
  }
1625
- }), ct = /* @__PURE__ */ _e(Yo, [["__scopeId", "data-v-3dbcfd2a"]]);
1626
- function gs() {
1627
- const e = E([]), t = E([]);
1638
+ }), ct = /* @__PURE__ */ _e(Jo, [["__scopeId", "data-v-3dbcfd2a"]]);
1639
+ function hs() {
1640
+ const e = V([]), t = V([]);
1628
1641
  function o(l) {
1629
1642
  t.value = l, l.length < e.value.length && (e.value = []), t.value.forEach((s) => {
1630
1643
  n(s);
1631
1644
  });
1632
1645
  }
1633
- De(() => {
1634
- V.value.getCustomInspector().then((l) => {
1646
+ Pe(() => {
1647
+ E.value.getCustomInspector().then((l) => {
1635
1648
  t.value = l, t.value.forEach((s) => {
1636
1649
  n(s);
1637
1650
  });
1638
- }), V.functions.on(X.INSPECTOR_UPDATED, o);
1651
+ }), E.functions.on(X.INSPECTOR_UPDATED, o);
1639
1652
  });
1640
1653
  function n(l) {
1641
1654
  e.value.some((s) => s.id === l.id) || e.value.push(l);
1642
1655
  }
1643
- return ke(() => {
1644
- V.functions.off(X.INSPECTOR_UPDATED, o);
1656
+ return Ie(() => {
1657
+ E.functions.off(X.INSPECTOR_UPDATED, o);
1645
1658
  }), {
1646
1659
  registeredInspector: e,
1647
1660
  register: n
1648
1661
  };
1649
1662
  }
1650
- const Xt = Symbol("SelectedSymbolKey");
1651
- function Xo() {
1652
- const e = E("");
1653
- return ye(Xt, e), {
1654
- selected: e
1655
- };
1656
- }
1657
- function Qo() {
1658
- const e = ge(Xt, E(""));
1659
- function t(o) {
1660
- e.value = o;
1661
- }
1662
- return {
1663
- selected: e,
1664
- select: t
1665
- };
1666
- }
1667
- const el = ["onClick", "onDblclick", "onMouseover"], tl = {
1663
+ const Yo = ["onClick", "onDblclick", "onMouseover"], Xo = {
1668
1664
  key: 1,
1669
1665
  pl5: ""
1670
- }, nl = {
1666
+ }, Qo = {
1671
1667
  "font-state-field": "",
1672
1668
  "text-3.5": ""
1673
- }, ol = {
1669
+ }, el = {
1674
1670
  key: 0,
1675
1671
  class: "text-gray-400 dark:text-gray-600 group-hover:text-white group-hover:op50 [.active_&]:op50 [.active_&]:text-white!"
1676
- }, ll = {
1672
+ }, tl = {
1677
1673
  "group-hover:text-white": "",
1678
1674
  class: "ws-nowrap [.active_&]:text-white"
1679
- }, sl = {
1675
+ }, nl = {
1680
1676
  key: 2,
1681
1677
  class: "text-gray-400 dark:text-gray-600 group-hover:text-white group-hover:op50 [.active_&]:op50 [.active_&]:text-white!"
1682
- }, al = {
1678
+ }, ol = {
1683
1679
  key: 2,
1684
1680
  class: "ml-2 rounded-sm bg-blue-400 px-1 text-[0.75rem] leading-snug dark:bg-blue-800"
1685
- }, il = {
1681
+ }, ll = {
1686
1682
  key: 3,
1687
1683
  class: "ml-2 rounded-sm bg-gray-500 px-1 text-[0.75rem] leading-snug"
1688
- }, rl = { key: 0 }, Oe = /* @__PURE__ */ F({
1684
+ }, sl = { key: 0 }, Ue = /* @__PURE__ */ Z({
1689
1685
  __name: "TreeViewer",
1690
- props: /* @__PURE__ */ Re({
1686
+ props: /* @__PURE__ */ De({
1691
1687
  data: {},
1692
1688
  depth: { default: 0 },
1693
1689
  withTag: { type: Boolean, default: !1 }
@@ -1695,89 +1691,95 @@ const el = ["onClick", "onDblclick", "onMouseover"], tl = {
1695
1691
  modelValue: {},
1696
1692
  modelModifiers: {}
1697
1693
  }),
1698
- emits: /* @__PURE__ */ Re(["hover", "leave"], ["update:modelValue"]),
1694
+ emits: /* @__PURE__ */ De(["hover", "leave"], ["update:modelValue"]),
1699
1695
  setup(e, { emit: t }) {
1700
1696
  const o = t, n = Ye(e, "modelValue"), { expanded: l, toggleExpanded: s } = at();
1701
- Qo();
1702
1697
  function p(r) {
1703
1698
  return "name" in r && r?.name || "label" in r && r.label;
1704
1699
  }
1705
1700
  function i(r) {
1706
1701
  n.value = r;
1707
1702
  }
1708
- return (r, f) => (c(!0), m(le, null, ce(e.data, (v, d) => (c(), m("div", {
1703
+ return (r, f) => (c(!0), h(se, null, ce(e.data, (m, d) => (c(), h("div", {
1709
1704
  key: d,
1710
1705
  class: ie({
1711
1706
  "min-w-max": e.depth === 0
1712
1707
  })
1713
1708
  }, [
1714
1709
  u("div", {
1715
- class: ie(["group flex cursor-pointer items-center rounded-1 hover:bg-primary-300 hover:dark:bg-gray-600", { "bg-primary-600! active": n.value === v.id }]),
1716
- style: Se({ paddingLeft: `${15 * e.depth + 4}px` }),
1717
- onClick: (h) => i(v.id),
1718
- onDblclick: (h) => a(s)(v.id),
1719
- onMouseover: () => o("hover", v.id),
1710
+ class: ie(["group flex cursor-pointer items-center rounded-1 hover:bg-primary-300 hover:dark:bg-gray-600", { "bg-primary-600! active": n.value === m.id }]),
1711
+ style: Ee({ paddingLeft: `${15 * e.depth + 4}px` }),
1712
+ onClick: (g) => i(m.id),
1713
+ onDblclick: (g) => a(s)(m.id),
1714
+ onMouseover: () => o("hover", m.id),
1720
1715
  onMouseleave: f[0] || (f[0] = () => o("leave"))
1721
1716
  }, [
1722
- v?.children?.length ? (c(), z(lt, {
1717
+ m?.children?.length ? (c(), B(lt, {
1723
1718
  key: 0,
1724
- value: a(l).includes(v.id),
1719
+ value: a(l).includes(m.id),
1725
1720
  class: "[.active_&]:op20 group-hover:op20",
1726
- onClick: he((h) => a(s)(v.id), ["stop"])
1727
- }, null, 8, ["value", "onClick"])) : (c(), m("span", tl)),
1728
- u("span", nl, [
1729
- e.withTag ? (c(), m("span", ol, "<")) : j("", !0),
1730
- u("span", ll, re(p(v)), 1),
1731
- (v.renderKey === 0 || v.renderKey) && v.renderKey !== a(Dt) ? (c(), m("span", {
1721
+ onClick: he((g) => a(s)(m.id), ["stop"])
1722
+ }, null, 8, ["value", "onClick"])) : (c(), h("span", Xo)),
1723
+ u("span", Qo, [
1724
+ e.withTag ? (c(), h("span", el, "<")) : U("", !0),
1725
+ u("span", tl, re(p(m)), 1),
1726
+ (m.renderKey === 0 || m.renderKey) && m.renderKey !== a(Dt) ? (c(), h("span", {
1732
1727
  key: 1,
1733
1728
  class: ie(["text-xs opacity-50", {
1734
- "opacity-100": n.value === v.id
1729
+ "opacity-100": n.value === m.id
1735
1730
  }])
1736
1731
  }, [
1737
1732
  u("span", {
1738
- class: ie([n.value === v.id ? "text-purple-200" : "text-purple-500"])
1733
+ class: ie([n.value === m.id ? "text-purple-200" : "text-purple-500"])
1739
1734
  }, " key", 2),
1740
1735
  f[4] || (f[4] = Q("=", -1)),
1741
- u("span", null, re(v.renderKey), 1)
1742
- ], 2)) : j("", !0),
1743
- e.withTag ? (c(), m("span", sl, ">")) : j("", !0)
1736
+ u("span", null, re(m.renderKey), 1)
1737
+ ], 2)) : U("", !0),
1738
+ e.withTag ? (c(), h("span", nl, ">")) : U("", !0)
1744
1739
  ]),
1745
- v.isFragment ? q((c(), m("span", al, [...f[5] || (f[5] = [
1740
+ m.isFragment ? q((c(), h("span", ol, [...f[5] || (f[5] = [
1746
1741
  Q(" fragment ", -1)
1747
1742
  ])])), [
1748
- [a(Y), "Has multiple root DOM nodes"]
1749
- ]) : j("", !0),
1750
- v.inactive ? q((c(), m("span", il, [...f[6] || (f[6] = [
1743
+ [a(J), "Has multiple root DOM nodes"]
1744
+ ]) : U("", !0),
1745
+ m.inactive ? q((c(), h("span", ll, [...f[6] || (f[6] = [
1751
1746
  Q(" inactive ", -1)
1752
1747
  ])])), [
1753
- [a(Y), "Currently inactive but not destroyed"]
1754
- ]) : j("", !0),
1755
- (c(!0), m(le, null, ce(v.tags, (h, T) => (c(), z(jt, {
1748
+ [a(J), "Currently inactive but not destroyed"]
1749
+ ]) : U("", !0),
1750
+ (c(!0), h(se, null, ce(m.tags, (g, T) => (c(), B(jt, {
1756
1751
  key: T,
1757
- tag: h
1752
+ tag: g
1758
1753
  }, null, 8, ["tag"]))), 128))
1759
- ], 46, el),
1760
- v?.children?.length && a(l).includes(v.id) ? (c(), m("div", rl, [
1761
- b(Oe, {
1754
+ ], 46, Yo),
1755
+ m?.children?.length && a(l).includes(m.id) ? (c(), h("div", sl, [
1756
+ y(Ue, {
1762
1757
  modelValue: n.value,
1763
- "onUpdate:modelValue": f[1] || (f[1] = (h) => n.value = h),
1764
- data: v?.children,
1758
+ "onUpdate:modelValue": f[1] || (f[1] = (g) => n.value = g),
1759
+ data: m?.children,
1765
1760
  depth: e.depth + 1,
1766
1761
  "with-tag": e.withTag,
1767
- onHover: f[2] || (f[2] = (h) => o("hover", h)),
1768
- onLeave: f[3] || (f[3] = (h) => o("leave"))
1762
+ onHover: f[2] || (f[2] = (g) => o("hover", g)),
1763
+ onLeave: f[3] || (f[3] = (g) => o("leave"))
1769
1764
  }, null, 8, ["modelValue", "data", "depth", "with-tag"])
1770
- ])) : j("", !0)
1765
+ ])) : U("", !0)
1771
1766
  ], 2))), 128));
1772
1767
  }
1773
1768
  }), Nt = 200;
1774
- function ul() {
1769
+ function al() {
1775
1770
  return {
1776
- highlight: /* @__PURE__ */ Tt((o) => V.value.highlighComponent(o), Nt),
1777
- unhighlight: /* @__PURE__ */ Tt(() => V.value.unhighlight(), Nt)
1771
+ highlight: /* @__PURE__ */ Tt((o) => E.value.highlighComponent(o), Nt),
1772
+ unhighlight: /* @__PURE__ */ Tt(() => E.value.unhighlight(), Nt)
1773
+ };
1774
+ }
1775
+ const il = Symbol("SelectedSymbolKey");
1776
+ function rl() {
1777
+ const e = V("");
1778
+ return ye(il, e), {
1779
+ selected: e
1778
1780
  };
1779
1781
  }
1780
- const cl = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-br-2.5 rounded-tr-2.5 bg-white p2 dark:bg-#121212" }, dl = { class: "flex-1 overflow-scroll text-3.5" }, pl = /* @__PURE__ */ F({
1782
+ const ul = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-br-2.5 rounded-tr-2.5 bg-white p2 dark:bg-#121212" }, cl = { class: "flex-1 overflow-scroll text-3.5" }, dl = /* @__PURE__ */ Z({
1781
1783
  __name: "RenderCode",
1782
1784
  props: {
1783
1785
  code: {}
@@ -1788,7 +1790,7 @@ const cl = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
1788
1790
  function n() {
1789
1791
  o("close");
1790
1792
  }
1791
- return (l, s) => (c(), m("div", cl, [
1793
+ return (l, s) => (c(), h("div", ul, [
1792
1794
  u("div", { class: "h-12 w-full flex items-center justify-between p-2" }, [
1793
1795
  s[0] || (s[0] = u("span", { class: "font-500" }, "Render Code", -1)),
1794
1796
  u("i", {
@@ -1796,227 +1798,227 @@ const cl = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
1796
1798
  onClick: n
1797
1799
  })
1798
1800
  ]),
1799
- u("div", dl, [
1800
- b(a(gn), {
1801
+ u("div", cl, [
1802
+ y(a(hn), {
1801
1803
  code: e.code,
1802
1804
  lang: "javascript"
1803
1805
  }, null, 8, ["code"])
1804
1806
  ])
1805
1807
  ]));
1806
1808
  }
1807
- }), fl = { class: "h-full w-full" }, vl = { class: "no-scrollbar h-full flex select-none gap-2 overflow-scroll" }, ml = {
1809
+ }), pl = { class: "h-full w-full" }, fl = { class: "no-scrollbar h-full flex select-none gap-2 overflow-scroll" }, vl = {
1808
1810
  key: 0,
1809
1811
  class: "h-full flex flex-col p2"
1810
- }, hl = { class: "flex py2" }, gl = {
1812
+ }, ml = { class: "flex py2" }, hl = {
1811
1813
  xmlns: "http://www.w3.org/2000/svg",
1812
1814
  style: { height: "1.1em", width: "1.1em" },
1813
1815
  class: "op-80 hover:op-100",
1814
1816
  viewBox: "0 0 24 24"
1815
- }, Cl = { class: "h-full flex flex-col p2" }, xl = { class: "flex py2" }, yl = {
1817
+ }, gl = { class: "h-full flex flex-col p2" }, Cl = { class: "flex py2" }, xl = {
1816
1818
  key: 0,
1817
1819
  class: "font-state-field flex items-center px-1 text-3.5"
1818
- }, bl = {
1820
+ }, yl = {
1819
1821
  "group-hover:text-white": "",
1820
1822
  class: "max-w-40 of-hidden text-ellipsis ws-nowrap [.active_&]:text-white"
1821
- }, _l = { class: "flex items-center gap-2 px-1" }, wl = { class: "h-full flex flex-col items-center justify-center gap-2" }, kl = { class: "block" }, Il = {
1823
+ }, bl = { class: "flex items-center gap-2 px-1" }, _l = { class: "h-full flex flex-col items-center justify-center gap-2" }, wl = { class: "block" }, kl = {
1822
1824
  xmlns: "http://www.w3.org/2000/svg",
1823
1825
  style: { height: "2em", width: "2em", opacity: "0.5", color: "#00dc82" },
1824
1826
  class: "animate-fade",
1825
1827
  viewBox: "0 0 24 24"
1826
- }, $l = { class: "flex items-center justify-center" }, Ae = "components", Sl = /* @__PURE__ */ F({
1828
+ }, Il = { class: "flex items-center justify-center" }, Re = "components", $l = /* @__PURE__ */ Z({
1827
1829
  __name: "index",
1828
1830
  emits: ["openInEditor", "onInspectComponentStart", "onInspectComponentEnd"],
1829
1831
  setup(e, { emit: t }) {
1830
- const o = t, n = E(), l = E(!1), { width: s } = mo(n), p = S(() => l.value ? s.value < 700 : !1), i = E(""), r = E(""), [f, v] = /* @__PURE__ */ Wt(!0), d = E(!1), h = E(!1), T = E(""), A = E(!1), $ = ul();
1831
- function I(_, x = [], L = []) {
1832
- return x.push(_.id), _.children?.length === 0 && L.push([...x]), Array.isArray(_.children) && _.children.forEach((K) => {
1833
- I(K, x, L);
1832
+ const o = t, n = V(), l = V(!1), { width: s } = vo(n), p = $(() => l.value ? s.value < 700 : !1), i = V(""), r = V(""), [f, m] = /* @__PURE__ */ Wt(!0), d = V(!1), g = V(!1), T = V(""), R = V(!1), k = al();
1833
+ function S(b, x = [], L = []) {
1834
+ return x.push(b.id), b.children?.length === 0 && L.push([...x]), Array.isArray(b.children) && b.children.forEach((F) => {
1835
+ S(F, x, L);
1834
1836
  }), x.pop(), L;
1835
1837
  }
1836
- function P(_) {
1837
- const x = [], L = (K) => {
1838
- K?.forEach((ee) => {
1838
+ function N(b) {
1839
+ const x = [], L = (F) => {
1840
+ F?.forEach((ee) => {
1839
1841
  x.push(ee), ee.children?.length && L(ee.children);
1840
1842
  });
1841
1843
  };
1842
- return L(_), x;
1844
+ return L(b), x;
1843
1845
  }
1844
- function N(_, x) {
1846
+ function A(b, x) {
1845
1847
  const L = [];
1846
- return _?.forEach((K) => {
1847
- L.push(...K.slice(0, x + 1));
1848
+ return b?.forEach((F) => {
1849
+ L.push(...F.slice(0, x + 1));
1848
1850
  }), [...new Set(L)];
1849
1851
  }
1850
- function w(_, x) {
1852
+ function w(b, x) {
1851
1853
  const L = [];
1852
- return _.forEach((K) => {
1853
- const ee = K.indexOf(x);
1854
- ee !== -1 && L.push(...K.slice(0, ee + 1));
1854
+ return b.forEach((F) => {
1855
+ const ee = F.indexOf(x);
1856
+ ee !== -1 && L.push(...F.slice(0, ee + 1));
1855
1857
  }), [...new Set(L)];
1856
1858
  }
1857
- const R = E([]), B = S(() => R.value?.length ? I(R.value?.[0]) : []), G = S(() => P(R.value)), W = S(() => G.value.map((_) => _.id)), O = E({}), C = E(""), U = S(() => {
1858
- const _ = [], x = (L) => {
1859
- L.forEach((K) => {
1860
- K.id === C.value && _.push(K), K.children?.length && x(K.children);
1859
+ const D = V([]), j = $(() => D.value?.length ? S(D.value?.[0]) : []), K = $(() => N(D.value)), G = $(() => K.value.map((b) => b.id)), O = V({}), _ = V(""), H = $(() => {
1860
+ const b = [], x = (L) => {
1861
+ L.forEach((F) => {
1862
+ F.id === _.value && b.push(F), F.children?.length && x(F.children);
1861
1863
  });
1862
1864
  };
1863
- return x(R.value), _[0];
1864
- }), oe = S(() => U.value?.file ?? ""), se = S(() => tt({
1865
+ return x(D.value), b[0];
1866
+ }), ne = $(() => H.value?.file ?? ""), ae = $(() => tt({
1865
1867
  state: O.value,
1866
1868
  filterKey: r.value,
1867
- processGroup(_) {
1868
- return Nn(Object.values(An(Mt(_), "stateType")));
1869
+ processGroup(b) {
1870
+ return Vn(Object.values(Nn(Mt(b), "stateType")));
1869
1871
  }
1870
- })), { expanded: H } = xe(), { expanded: k } = xe("component-state");
1871
- Xo();
1872
- async function g(_ = "") {
1873
- return V.value.getInspectorTree({ inspectorId: Ae, filter: _ }).then((x) => {
1874
- const L = ne(x);
1875
- R.value = L, C.value = R.value?.[0]?.id, H.value = N(B.value, 1), d.value = !0;
1872
+ })), { expanded: W } = Ce(), { expanded: I } = Ce("component-state");
1873
+ rl();
1874
+ async function v(b = "") {
1875
+ return E.value.getInspectorTree({ inspectorId: Re, filter: b }).then((x) => {
1876
+ const L = le(x);
1877
+ D.value = L, _.value = D.value?.[0]?.id, W.value = A(j.value, 1), d.value = !0;
1876
1878
  });
1877
1879
  }
1878
- function y(_) {
1879
- if (!_ || !_?.state)
1880
+ function C(b) {
1881
+ if (!b || !b?.state)
1880
1882
  return {};
1881
1883
  const x = {};
1882
- return _.state.forEach((L) => {
1884
+ return b.state.forEach((L) => {
1883
1885
  x[L.type] || (x[L.type] = []), x[L.type].push(L);
1884
1886
  }), x;
1885
1887
  }
1886
- function D(_) {
1887
- V.value.getInspectorState({ inspectorId: Ae, nodeId: _ }).then((x) => {
1888
- const L = ne(x);
1889
- L && (O.value = y(L), k.value = Array.from({ length: Object.keys(O.value).length }, (K, ee) => `${ee}`));
1888
+ function P(b) {
1889
+ E.value.getInspectorState({ inspectorId: Re, nodeId: b }).then((x) => {
1890
+ const L = le(x);
1891
+ L && (O.value = C(L), I.value = Array.from({ length: Object.keys(O.value).length }, (F, ee) => `${ee}`));
1890
1892
  });
1891
1893
  }
1892
- te(C, (_) => {
1893
- D(_), A.value && gt();
1894
+ te(_, (b) => {
1895
+ P(b), R.value && gt();
1894
1896
  });
1895
- function Z(_) {
1896
- const x = ne(_);
1897
- x.inspectorId !== Ae || x.nodeId !== C.value || (O.value = y({ state: x.state.state }));
1898
- }
1899
- V.functions.on(X.INSPECTOR_STATE_UPDATED, Z), g();
1900
- function ae(_) {
1901
- const x = _.trim().toLowerCase();
1902
- v(), g(x).then(() => {
1903
- v();
1897
+ function z(b) {
1898
+ const x = le(b);
1899
+ x.inspectorId !== Re || x.nodeId !== _.value || (O.value = C({ state: x.state.state }));
1900
+ }
1901
+ E.functions.on(X.INSPECTOR_STATE_UPDATED, z), v();
1902
+ function oe(b) {
1903
+ const x = b.trim().toLowerCase();
1904
+ m(), v(x).then(() => {
1905
+ m();
1904
1906
  });
1905
1907
  }
1906
- qt(i, (_) => {
1907
- ae(_);
1908
+ qt(i, (b) => {
1909
+ oe(b);
1908
1910
  }, { debounce: 300 });
1909
- function Ve(_) {
1910
- const x = ne(_);
1911
- x.inspectorId === Ae && (i.value ? ae(i.value) : R.value = x.rootNodes, W.value.includes(C.value) || (C.value = R.value?.[0]?.id, H.value = N(B.value, 1)));
1911
+ function we(b) {
1912
+ const x = le(b);
1913
+ x.inspectorId === Re && (i.value ? oe(i.value) : D.value = x.rootNodes, G.value.includes(_.value) || (_.value = D.value?.[0]?.id, W.value = A(j.value, 1)));
1912
1914
  }
1913
- V.functions.on(X.INSPECTOR_TREE_UPDATED, Ve), ke(() => {
1914
- V.functions.off(X.INSPECTOR_STATE_UPDATED, Z), V.functions.off(X.INSPECTOR_TREE_UPDATED, Ve);
1915
+ E.functions.on(X.INSPECTOR_TREE_UPDATED, we), Ie(() => {
1916
+ E.functions.off(X.INSPECTOR_STATE_UPDATED, z), E.functions.off(X.INSPECTOR_TREE_UPDATED, we);
1915
1917
  });
1916
- const Ke = Lt(), pt = S(() => Ke.appRecords.value.map((_) => ({
1917
- label: _.name + (_.version ? ` (${_.version})` : ""),
1918
- value: _.id,
1919
- iframe: _.iframe
1920
- }))), nn = S(() => pt.value.map((_) => ({
1921
- label: _.label + (_.iframe ? ` (iframe: ${_.iframe})` : ""),
1922
- id: _.value
1923
- }))), Ue = E(Ke.activeAppRecordId.value);
1918
+ const $e = Lt(), pt = $(() => $e.appRecords.value.map((b) => ({
1919
+ label: b.name + (b.version ? ` (${b.version})` : ""),
1920
+ value: b.id,
1921
+ iframe: b.iframe
1922
+ }))), tn = $(() => pt.value.map((b) => ({
1923
+ label: b.label + (b.iframe ? ` (iframe: ${b.iframe})` : ""),
1924
+ id: b.value
1925
+ }))), je = V($e.activeAppRecordId.value);
1924
1926
  et(() => {
1925
- Ue.value = Ke.activeAppRecordId.value;
1927
+ je.value = $e.activeAppRecordId.value;
1926
1928
  });
1927
- async function ft(_, x = {}) {
1928
- await V.value.toggleApp(_, x), C.value = "", await g();
1929
+ async function ft(b, x = {}) {
1930
+ await E.value.toggleApp(b, x), _.value = "", await v();
1929
1931
  }
1930
1932
  async function vt() {
1931
- h.value = !0, o("onInspectComponentStart");
1933
+ g.value = !0, o("onInspectComponentStart");
1932
1934
  try {
1933
- const _ = JSON.parse(await V.value.inspectComponentInspector()), x = _.id.split(":")[0];
1934
- Ue.value !== _.appId && await ft(x, { inspectingComponent: !0 }), C.value = _.id, H.value.includes(_.id) || H.value.push(_.id), H.value = [.../* @__PURE__ */ new Set([...H.value, ...w(B.value, _.id)])], rn();
1935
+ const b = JSON.parse(await E.value.inspectComponentInspector()), x = b.id.split(":")[0];
1936
+ je.value !== b.appId && await ft(x, { inspectingComponent: !0 }), _.value = b.id, W.value.includes(b.id) || W.value.push(b.id), W.value = [.../* @__PURE__ */ new Set([...W.value, ...w(j.value, b.id)])], an();
1935
1937
  } finally {
1936
- h.value = !1, o("onInspectComponentEnd");
1938
+ g.value = !1, o("onInspectComponentEnd");
1937
1939
  }
1938
1940
  }
1939
1941
  function mt() {
1940
- h.value = !1, V.value.cancelInspectComponentInspector();
1941
- }
1942
- ve("keydown", (_) => {
1943
- _.key === "s" && (_.ctrlKey || _.metaKey) && !h.value ? vt() : _.key === "Escape" && h.value && mt();
1944
- }), Ne("ArrowRight", () => {
1945
- const _ = H.value.includes(C.value), x = G.value.find((L) => L.id === C.value)?.children?.length;
1946
- !_ && x && H.value.push(C.value);
1947
- }), Ne("ArrowLeft", () => {
1948
- H.value.includes(C.value) && H.value.splice(H.value.indexOf(C.value), 1);
1949
- }), Ne("ArrowDown", () => {
1950
- const _ = W.value.indexOf(C.value);
1951
- if (H.value.includes(C.value) && _ >= 0 && _ < W.value.length - 1)
1952
- C.value = W.value[_ + 1];
1942
+ g.value = !1, E.value.cancelInspectComponentInspector();
1943
+ }
1944
+ ve("keydown", (b) => {
1945
+ b.key === "s" && (b.ctrlKey || b.metaKey) && !g.value ? vt() : b.key === "Escape" && g.value && mt();
1946
+ }), Ae("ArrowRight", () => {
1947
+ const b = W.value.includes(_.value), x = K.value.find((L) => L.id === _.value)?.children?.length;
1948
+ !b && x && W.value.push(_.value);
1949
+ }), Ae("ArrowLeft", () => {
1950
+ W.value.includes(_.value) && W.value.splice(W.value.indexOf(_.value), 1);
1951
+ }), Ae("ArrowDown", () => {
1952
+ const b = G.value.indexOf(_.value);
1953
+ if (W.value.includes(_.value) && b >= 0 && b < G.value.length - 1)
1954
+ _.value = G.value[b + 1];
1953
1955
  else {
1954
- if (_ === 0)
1956
+ if (b === 0)
1955
1957
  return !1;
1956
- C.value = on();
1958
+ _.value = nn();
1957
1959
  }
1958
- }), Ne("ArrowUp", () => {
1959
- const _ = C.value, x = B.value.find((Ge) => Ge.includes(_));
1960
+ }), Ae("ArrowUp", () => {
1961
+ const b = _.value, x = j.value.find((Ge) => Ge.includes(b));
1960
1962
  if (!x)
1961
1963
  return;
1962
- const L = x.indexOf(_), K = L > 0 ? L - 1 : 0, ee = x[K], pe = ht(ee);
1963
- pe && (C.value = pe.id);
1964
- }), Ne([" ", "Enter"], () => {
1965
- if (!G.value.find((L) => L.id === C.value)?.children?.length)
1964
+ const L = x.indexOf(b), F = L > 0 ? L - 1 : 0, ee = x[F], pe = ht(ee);
1965
+ pe && (_.value = pe.id);
1966
+ }), Ae([" ", "Enter"], () => {
1967
+ if (!K.value.find((L) => L.id === _.value)?.children?.length)
1966
1968
  return;
1967
- const x = H.value.indexOf(C.value);
1968
- x === -1 ? H.value.push(C.value) : H.value.splice(x, 1);
1969
+ const x = W.value.indexOf(_.value);
1970
+ x === -1 ? W.value.push(_.value) : W.value.splice(x, 1);
1969
1971
  });
1970
- function ht(_) {
1971
- const x = G.value.find((ee) => ee.id === _);
1972
+ function ht(b) {
1973
+ const x = K.value.find((ee) => ee.id === b);
1972
1974
  if (!x || !x.children?.length || x.children.length === 1)
1973
1975
  return x;
1974
- const L = x?.children?.findIndex((ee) => ee.id === C.value);
1976
+ const L = x?.children?.findIndex((ee) => ee.id === _.value);
1975
1977
  if (L <= 0)
1976
1978
  return x;
1977
- let K = x.children[L - 1];
1978
- for (; K && H.value.includes(K.id) && K.children?.length; ) {
1979
- const ee = K.children[K.children.length - 1], pe = ht(ee.id);
1980
- if (!pe || pe.id === K.id)
1979
+ let F = x.children[L - 1];
1980
+ for (; F && W.value.includes(F.id) && F.children?.length; ) {
1981
+ const ee = F.children[F.children.length - 1], pe = ht(ee.id);
1982
+ if (!pe || pe.id === F.id)
1981
1983
  break;
1982
- K = pe;
1984
+ F = pe;
1983
1985
  }
1984
- return K || x;
1986
+ return F || x;
1985
1987
  }
1986
- function on() {
1987
- const _ = B.value, x = [..._].findLastIndex((pe) => pe?.includes(C.value));
1988
+ function nn() {
1989
+ const b = j.value, x = [...b].findLastIndex((pe) => pe?.includes(_.value));
1988
1990
  if (x === -1)
1989
- return C.value;
1990
- const L = _[x], K = _[x + 1], ee = K?.findIndex((pe, Ge) => pe !== L[Ge]) ?? -1;
1991
- return ee !== -1 ? K[ee] : C.value;
1991
+ return _.value;
1992
+ const L = b[x], F = b[x + 1], ee = F?.findIndex((pe, Ge) => pe !== L[Ge]) ?? -1;
1993
+ return ee !== -1 ? F[ee] : _.value;
1992
1994
  }
1993
- function ln() {
1994
- V.value.scrollToComponent(C.value);
1995
+ function on() {
1996
+ E.value.scrollToComponent(_.value);
1995
1997
  }
1996
- function sn() {
1997
- V.value.inspectDOM(C.value).then(() => {
1998
+ function ln() {
1999
+ E.value.inspectDOM(_.value).then(() => {
1998
2000
  chrome.devtools.inspectedWindow.eval("inspect(window.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__)");
1999
2001
  });
2000
2002
  }
2001
2003
  function gt() {
2002
- V.value.getComponentRenderCode(C.value).then((_) => {
2003
- T.value = _, A.value = !0;
2004
+ E.value.getComponentRenderCode(_.value).then((b) => {
2005
+ T.value = b, R.value = !0;
2004
2006
  });
2005
2007
  }
2006
- function an() {
2007
- o("openInEditor", oe.value);
2008
+ function sn() {
2009
+ o("openInEditor", ne.value);
2008
2010
  }
2009
- const Ct = E();
2010
- function rn() {
2011
+ const Ct = V();
2012
+ function an() {
2011
2013
  setTimeout(() => {
2012
2014
  Ct.value?.querySelector(".active")?.scrollIntoView({ behavior: "smooth", block: "center" });
2013
2015
  }, 300);
2014
2016
  }
2015
- function un() {
2016
- T.value = "", A.value = !1;
2017
+ function rn() {
2018
+ T.value = "", R.value = !1;
2017
2019
  }
2018
- return (_, x) => (c(), m("div", fl, [
2019
- b(a(Pe), {
2020
+ return (b, x) => (c(), h("div", pl, [
2021
+ y(a(Le), {
2020
2022
  ref_key: "splitpanesRef",
2021
2023
  ref: n,
2022
2024
  class: "flex-1 overflow-auto",
@@ -2024,32 +2026,32 @@ const cl = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
2024
2026
  onReady: x[4] || (x[4] = (L) => l.value = !0)
2025
2027
  }, {
2026
2028
  default: M(() => [
2027
- pt.value.length > 1 ? (c(), z(a(de), {
2029
+ pt.value.length > 1 ? (c(), B(a(de), {
2028
2030
  key: 0,
2029
2031
  border: "base h-full",
2030
2032
  size: "20"
2031
2033
  }, {
2032
2034
  default: M(() => [
2033
- u("div", vl, [
2034
- b(On, {
2035
- modelValue: Ue.value,
2036
- "onUpdate:modelValue": x[0] || (x[0] = (L) => Ue.value = L),
2037
- data: nn.value,
2035
+ u("div", fl, [
2036
+ y(Hn, {
2037
+ modelValue: je.value,
2038
+ "onUpdate:modelValue": x[0] || (x[0] = (L) => je.value = L),
2039
+ data: tn.value,
2038
2040
  class: "w-full",
2039
2041
  onSelect: ft
2040
2042
  }, null, 8, ["modelValue", "data"])
2041
2043
  ])
2042
2044
  ]),
2043
2045
  _: 1
2044
- })) : j("", !0),
2045
- b(a(de), {
2046
+ })) : U("", !0),
2047
+ y(a(de), {
2046
2048
  border: "base",
2047
2049
  "h-full": ""
2048
2050
  }, {
2049
2051
  default: M(() => [
2050
- d.value ? (c(), m("div", ml, [
2051
- u("div", hl, [
2052
- b(a(Ce), {
2052
+ d.value ? (c(), h("div", vl, [
2053
+ u("div", ml, [
2054
+ y(a(ge), {
2053
2055
  modelValue: i.value,
2054
2056
  "onUpdate:modelValue": x[1] || (x[1] = (L) => i.value = L),
2055
2057
  "loading-debounce-time": 250,
@@ -2057,13 +2059,13 @@ const cl = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
2057
2059
  placeholder: "Find components...",
2058
2060
  class: "flex-1 text-3.5"
2059
2061
  }, null, 8, ["modelValue", "loading"]),
2060
- a(Tn) ? j("", !0) : q((c(), m("button", {
2062
+ a(Sn) ? U("", !0) : q((c(), h("button", {
2061
2063
  key: 0,
2062
2064
  "px-1": "",
2063
2065
  class: "hover:color-#00dc82",
2064
2066
  onClick: vt
2065
2067
  }, [
2066
- (c(), m("svg", gl, [...x[6] || (x[6] = [
2068
+ (c(), h("svg", hl, [...x[6] || (x[6] = [
2067
2069
  u("path", {
2068
2070
  fill: "currentColor",
2069
2071
  d: "M10.611 10.611a1 1 0 0 1 1.11-.208l8.839 3.889a1 1 0 0 1-.14 1.88l-3.338.91l-.91 3.338a1 1 0 0 1-1.88.14l-3.89-8.84a1 1 0 0 1 .209-1.109M17 3a3 3 0 0 1 3 3v3a1 1 0 1 1-2 0V6a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h3a1 1 0 1 1 0 2H6a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3zm-3.73 10.269l1.715 3.9l.318-1.164a1 1 0 0 1 .701-.702l1.165-.318l-3.9-1.716Z"
@@ -2071,7 +2073,7 @@ const cl = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
2071
2073
  ])]))
2072
2074
  ])), [
2073
2075
  [
2074
- a(Y),
2076
+ a(J),
2075
2077
  "Select component in the page",
2076
2078
  void 0,
2077
2079
  { bottom: !0 }
@@ -2083,45 +2085,45 @@ const cl = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
2083
2085
  ref: Ct,
2084
2086
  class: "no-scrollbar flex-1 select-none overflow-scroll"
2085
2087
  }, [
2086
- b(Oe, {
2087
- modelValue: C.value,
2088
- "onUpdate:modelValue": x[2] || (x[2] = (L) => C.value = L),
2089
- data: R.value,
2088
+ y(Ue, {
2089
+ modelValue: _.value,
2090
+ "onUpdate:modelValue": x[2] || (x[2] = (L) => _.value = L),
2091
+ data: D.value,
2090
2092
  "with-tag": !0,
2091
- onHover: a($).highlight,
2092
- onLeave: a($).unhighlight
2093
+ onHover: a(k).highlight,
2094
+ onLeave: a(k).unhighlight
2093
2095
  }, null, 8, ["modelValue", "data", "onHover", "onLeave"])
2094
2096
  ], 512)
2095
- ])) : j("", !0)
2097
+ ])) : U("", !0)
2096
2098
  ]),
2097
2099
  _: 1
2098
2100
  }),
2099
- b(a(de), {
2101
+ y(a(de), {
2100
2102
  relative: "",
2101
2103
  "h-full": ""
2102
2104
  }, {
2103
2105
  default: M(() => [
2104
- u("div", Cl, [
2105
- u("div", xl, [
2106
- U.value?.name ? (c(), m("span", yl, [
2106
+ u("div", gl, [
2107
+ u("div", Cl, [
2108
+ H.value?.name ? (c(), h("span", xl, [
2107
2109
  x[7] || (x[7] = u("span", { class: "text-gray-400 dark:text-gray-600" }, "<", -1)),
2108
- u("span", bl, re(U.value.name), 1),
2110
+ u("span", yl, re(H.value.name), 1),
2109
2111
  x[8] || (x[8] = u("span", { class: "text-gray-400 dark:text-gray-600" }, ">", -1))
2110
- ])) : j("", !0),
2111
- b(a(Ce), {
2112
+ ])) : U("", !0),
2113
+ y(a(ge), {
2112
2114
  modelValue: r.value,
2113
2115
  "onUpdate:modelValue": x[3] || (x[3] = (L) => r.value = L),
2114
2116
  "loading-debounce-time": 250,
2115
2117
  placeholder: "Filter State...",
2116
2118
  class: "flex-1 text-3.5"
2117
2119
  }, null, 8, ["modelValue"]),
2118
- u("div", _l, [
2120
+ u("div", bl, [
2119
2121
  q(u("i", {
2120
2122
  class: "i-material-symbols-light:eye-tracking-outline h-4 w-4 cursor-pointer hover:op-70",
2121
- onClick: ln
2123
+ onClick: on
2122
2124
  }, null, 512), [
2123
2125
  [
2124
- a(Y),
2126
+ a(J),
2125
2127
  "Scroll to component",
2126
2128
  void 0,
2127
2129
  { bottom: !0 }
@@ -2132,68 +2134,68 @@ const cl = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
2132
2134
  onClick: gt
2133
2135
  }, null, 512), [
2134
2136
  [
2135
- a(Y),
2137
+ a(J),
2136
2138
  "Show render code",
2137
2139
  void 0,
2138
2140
  { bottom: !0 }
2139
2141
  ]
2140
2142
  ]),
2141
- a(kt) ? q((c(), m("i", {
2143
+ a(kt) ? q((c(), h("i", {
2142
2144
  key: 0,
2143
2145
  class: "i-material-symbols-light:menu-open h-5 w-5 cursor-pointer hover:op-70",
2144
- onClick: sn
2146
+ onClick: ln
2145
2147
  }, null, 512)), [
2146
2148
  [
2147
- a(Y),
2149
+ a(J),
2148
2150
  "Inspect DOM",
2149
2151
  void 0,
2150
2152
  { bottom: !0 }
2151
2153
  ]
2152
- ]) : j("", !0),
2153
- oe.value ? q((c(), m("i", {
2154
+ ]) : U("", !0),
2155
+ ne.value ? q((c(), h("i", {
2154
2156
  key: 1,
2155
2157
  class: "i-carbon-launch h-4 w-4 cursor-pointer hover:op-70",
2156
- onClick: an
2158
+ onClick: sn
2157
2159
  }, null, 512)), [
2158
2160
  [
2159
- a(Y),
2161
+ a(J),
2160
2162
  "Open in Editor",
2161
2163
  void 0,
2162
2164
  { bottom: !0 }
2163
2165
  ]
2164
- ]) : j("", !0)
2166
+ ]) : U("", !0)
2165
2167
  ])
2166
2168
  ]),
2167
- b(He, {
2169
+ y(Oe, {
2168
2170
  class: "no-scrollbar flex-1 overflow-scroll",
2169
- data: se.value,
2170
- "node-id": C.value,
2171
- "inspector-id": Ae,
2171
+ data: ae.value,
2172
+ "node-id": _.value,
2173
+ "inspector-id": Re,
2172
2174
  "expanded-state-id": "component-state"
2173
2175
  }, null, 8, ["data", "node-id"])
2174
2176
  ]),
2175
- A.value && T.value ? (c(), z(pl, {
2177
+ R.value && T.value ? (c(), B(dl, {
2176
2178
  key: 0,
2177
2179
  code: T.value,
2178
- onClose: un
2179
- }, null, 8, ["code"])) : j("", !0)
2180
+ onClose: rn
2181
+ }, null, 8, ["code"])) : U("", !0)
2180
2182
  ]),
2181
2183
  _: 1
2182
2184
  })
2183
2185
  ]),
2184
2186
  _: 1
2185
2187
  }, 8, ["horizontal"]),
2186
- a(kt) ? (c(), z(a(Cn), {
2188
+ a(kt) ? (c(), B(a(gn), {
2187
2189
  key: 0,
2188
- modelValue: h.value,
2189
- "onUpdate:modelValue": x[5] || (x[5] = (L) => h.value = L),
2190
+ modelValue: g.value,
2191
+ "onUpdate:modelValue": x[5] || (x[5] = (L) => g.value = L),
2190
2192
  title: "",
2191
2193
  height: "12rem",
2192
2194
  closable: !1
2193
2195
  }, {
2194
2196
  footer: M(() => [
2195
- u("div", $l, [
2196
- b(a(fe), { onClick: mt }, {
2197
+ u("div", Il, [
2198
+ y(a(fe), { onClick: mt }, {
2197
2199
  default: M(() => [...x[11] || (x[11] = [
2198
2200
  Q(" Cancel ", -1)
2199
2201
  ])]),
@@ -2202,9 +2204,9 @@ const cl = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
2202
2204
  ])
2203
2205
  ]),
2204
2206
  default: M(() => [
2205
- u("div", wl, [
2206
- u("span", kl, [
2207
- (c(), m("svg", Il, [...x[9] || (x[9] = [
2207
+ u("div", _l, [
2208
+ u("span", wl, [
2209
+ (c(), h("svg", kl, [...x[9] || (x[9] = [
2208
2210
  u("g", {
2209
2211
  fill: "none",
2210
2212
  stroke: "currentColor",
@@ -2226,12 +2228,12 @@ const cl = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
2226
2228
  ])
2227
2229
  ]),
2228
2230
  _: 1
2229
- }, 8, ["modelValue"])) : j("", !0)
2231
+ }, 8, ["modelValue"])) : U("", !0)
2230
2232
  ]));
2231
2233
  }
2232
- }), Cs = /* @__PURE__ */ _e(Sl, [["__scopeId", "data-v-fbde5eca"]]), Tl = {}, El = { class: "h-screen w-screen $ui-fcc flex-col" };
2233
- function Vl(e, t) {
2234
- return c(), m("div", El, [
2234
+ }), gs = /* @__PURE__ */ _e($l, [["__scopeId", "data-v-fbde5eca"]]), Sl = {}, Tl = { class: "h-screen w-screen $ui-fcc flex-col" };
2235
+ function El(e, t) {
2236
+ return c(), h("div", Tl, [
2235
2237
  t[0] || (t[0] = u("div", { class: "outer" }, [
2236
2238
  u("div", { class: "inner" }, [
2237
2239
  u("i", {
@@ -2243,108 +2245,108 @@ function Vl(e, t) {
2243
2245
  Xe(e.$slots, "default", {}, void 0, !0)
2244
2246
  ]);
2245
2247
  }
2246
- const Nl = /* @__PURE__ */ _e(Tl, [["render", Vl], ["__scopeId", "data-v-b8018f07"]]), Qt = Symbol.for("VueDevToolsCustomInspectorStateSymbol");
2248
+ const Vl = /* @__PURE__ */ _e(Sl, [["render", El], ["__scopeId", "data-v-b8018f07"]]), Xt = Symbol.for("VueDevToolsCustomInspectorStateSymbol");
2247
2249
  function be() {
2248
- return ge(Qt);
2250
+ return xe(Xt);
2249
2251
  }
2250
2252
  function dt() {
2251
- const e = E({
2253
+ const e = V({
2252
2254
  homepage: "",
2253
2255
  id: "",
2254
2256
  label: "",
2255
2257
  logo: "",
2256
2258
  timelineLayerIds: []
2257
2259
  });
2258
- return ye(Qt, e), e;
2260
+ return ye(Xt, e), e;
2259
2261
  }
2260
- const Al = {}, Rl = {
2262
+ const Nl = {}, Al = {
2261
2263
  width: "175",
2262
2264
  height: "34",
2263
2265
  viewBox: "0 0 175 34",
2264
2266
  fill: "none",
2265
2267
  xmlns: "http://www.w3.org/2000/svg"
2266
2268
  };
2267
- function Dl(e, t) {
2268
- return c(), m("svg", Rl, [...t[0] || (t[0] = [
2269
+ function Rl(e, t) {
2270
+ return c(), h("svg", Al, [...t[0] || (t[0] = [
2269
2271
  u("path", {
2270
2272
  fill: "currentColor",
2271
2273
  d: "M0.570999 33.3121V1.80715H10.8288C13.6975 1.80715 16.3198 2.39225 18.6962 3.56242C21.0721 4.73263 22.9701 6.5029 24.3901 8.87327C25.81 11.2136 26.52 14.1091 26.52 17.5596C26.52 20.9801 25.81 23.8756 24.3901 26.2458C22.9701 28.6162 21.0721 30.3868 18.6962 31.5568C16.3198 32.7269 13.6975 33.3121 10.8288 33.3121H0.570999ZM10.1332 27.461C12.9439 27.461 15.2767 26.6812 17.1314 25.1208C18.9858 23.5306 19.913 21.0102 19.913 17.5596C19.913 14.1091 18.9858 11.5887 17.1314 9.99846C15.2767 8.40819 12.9439 7.61306 10.1332 7.61306H7.09085V27.461H10.1332ZM50.3628 25.6159C49.928 28.0463 48.7544 29.9966 46.8421 31.4669C44.9297 32.9368 42.6257 33.672 39.931 33.672C37.5551 33.672 35.5119 33.117 33.8024 32.007C32.1216 30.8668 30.8468 29.3965 29.9772 27.5961C29.1081 25.7961 28.6733 23.9056 28.6733 21.9253C28.6733 19.915 29.0645 18.0247 29.8468 16.2544C30.6584 14.4841 31.8756 13.0439 33.498 11.9337C35.1499 10.8236 37.1491 10.2685 39.4962 10.2685C41.9306 10.2685 43.9589 10.8086 45.5817 11.8888C47.2045 12.9689 48.3924 14.3491 49.1456 16.0294C49.928 17.7097 50.3192 19.4799 50.3192 21.3402C50.3192 22.0303 50.2904 22.7054 50.2324 23.3656H34.4979C34.7295 24.9858 35.3091 26.2612 36.2363 27.191C37.1927 28.0914 38.4243 28.5412 39.931 28.5412C41.1482 28.5412 42.1478 28.3014 42.9301 27.8214C43.7125 27.3111 44.2197 26.5759 44.4513 25.6159H50.3628ZM39.4962 14.8592C38.1055 14.8592 37.0043 15.2343 36.1931 15.9844C35.3815 16.7045 34.8455 17.8447 34.5847 19.4049H44.2777C44.1905 18.0847 43.7269 17.0045 42.8865 16.1644C42.0466 15.2943 40.9162 14.8592 39.4962 14.8592ZM64.1603 33.3121H58.5969L50.599 10.6285H56.7713L61.3788 25.3008L65.9427 10.6285H72.1582L64.1603 33.3121ZM88.2757 33.3121H81.7559V7.61306H72.7585V1.80715H97.2731V7.61306H88.2757V33.3121ZM106.325 33.672C104.123 33.672 102.138 33.1771 100.37 32.1868C98.6029 31.1667 97.2266 29.7717 96.2414 28.0011C95.2562 26.2011 94.7634 24.1907 94.7634 21.9703C94.7634 19.75 95.2562 17.7547 96.2414 15.9844C97.2266 14.1841 98.6029 12.7889 100.37 11.7987C102.138 10.7786 104.123 10.2685 106.325 10.2685C108.528 10.2685 110.513 10.7786 112.28 11.7987C114.048 12.7889 115.424 14.1841 116.409 15.9844C117.395 17.7547 117.887 19.75 117.887 21.9703C117.887 24.1907 117.395 26.2011 116.409 28.0011C115.424 29.7717 114.048 31.1667 112.28 32.1868C110.513 33.1771 108.528 33.672 106.325 33.672ZM106.325 28.2712C107.948 28.2712 109.266 27.6864 110.281 26.5159C111.295 25.3458 111.802 23.8306 111.802 21.9703C111.802 20.08 111.295 18.5498 110.281 17.3796C109.266 16.2094 107.948 15.6243 106.325 15.6243C104.702 15.6243 103.384 16.2094 102.37 17.3796C101.356 18.5498 100.848 20.08 100.848 21.9703C100.848 23.8306 101.356 25.3458 102.37 26.5159C103.384 27.6864 104.702 28.2712 106.325 28.2712ZM131.624 33.672C129.422 33.672 127.436 33.1771 125.669 32.1868C123.901 31.1667 122.525 29.7717 121.54 28.0011C120.555 26.2011 120.062 24.1907 120.062 21.9703C120.062 19.75 120.555 17.7547 121.54 15.9844C122.525 14.1841 123.901 12.7889 125.669 11.7987C127.436 10.7786 129.422 10.2685 131.624 10.2685C133.826 10.2685 135.811 10.7786 137.579 11.7987C139.346 12.7889 140.722 14.1841 141.708 15.9844C142.693 17.7547 143.186 19.75 143.186 21.9703C143.186 24.1907 142.693 26.2011 141.708 28.0011C140.722 29.7717 139.346 31.1667 137.579 32.1868C135.811 33.1771 133.826 33.672 131.624 33.672ZM131.624 28.2712C133.246 28.2712 134.565 27.6864 135.579 26.5159C136.593 25.3458 137.101 23.8306 137.101 21.9703C137.101 20.08 136.593 18.5498 135.579 17.3796C134.565 16.2094 133.246 15.6243 131.624 15.6243C130.001 15.6243 128.682 16.2094 127.668 17.3796C126.654 18.5498 126.147 20.08 126.147 21.9703C126.147 23.8306 126.654 25.3458 127.668 26.5159C128.682 27.6864 130.001 28.2712 131.624 28.2712ZM152.88 33.3121H146.838V0.771999H152.88V33.3121ZM165.652 33.672C162.957 33.672 160.769 32.9522 159.088 31.5117C157.437 30.0418 156.553 28.0914 156.437 25.661H161.653C161.768 26.6812 162.174 27.4913 162.87 28.0914C163.594 28.6613 164.522 28.9463 165.652 28.9463C166.579 28.9463 167.332 28.7363 167.912 28.3163C168.52 27.8963 168.825 27.3712 168.825 26.7412C168.825 25.9008 168.477 25.3159 167.782 24.9858C167.086 24.6557 165.985 24.3557 164.478 24.0856C162.913 23.7856 161.638 23.4556 160.653 23.0955C159.668 22.7354 158.813 22.0903 158.089 21.1602C157.393 20.2 157.045 18.8498 157.045 17.1096C157.045 15.7893 157.379 14.6192 158.045 13.599C158.741 12.5488 159.682 11.7387 160.871 11.1686C162.058 10.5685 163.391 10.2685 164.869 10.2685C167.506 10.2685 169.636 10.9436 171.259 12.2938C172.91 13.644 173.794 15.4293 173.91 17.6496H168.651C168.535 16.7195 168.115 15.9994 167.39 15.4893C166.695 14.9492 165.912 14.6792 165.043 14.6792C164.174 14.6792 163.478 14.8742 162.957 15.2643C162.435 15.6543 162.174 16.1944 162.174 16.8845C162.174 17.7246 162.508 18.2948 163.174 18.5948C163.87 18.8648 164.956 19.1049 166.434 19.3149C168.028 19.5549 169.331 19.855 170.346 20.215C171.389 20.5451 172.287 21.2052 173.041 22.1953C173.794 23.1855 174.171 24.6257 174.171 26.5159C174.171 28.6762 173.389 30.4166 171.824 31.737C170.288 33.0271 168.23 33.672 165.652 33.672Z"
2272
2274
  }, null, -1)
2273
2275
  ])]);
2274
2276
  }
2275
- const Pl = /* @__PURE__ */ _e(Al, [["render", Dl]]), Ll = {
2277
+ const Dl = /* @__PURE__ */ _e(Nl, [["render", Rl]]), Pl = {
2276
2278
  "h-full": "",
2277
2279
  "w-full": "",
2278
2280
  flex: "",
2279
2281
  "items-center": ""
2280
- }, Ml = {
2282
+ }, Ll = {
2281
2283
  flex: "~ col gap2",
2282
2284
  ma: "",
2283
2285
  "px-5": ""
2284
- }, Hl = {
2286
+ }, Ml = {
2285
2287
  flex: "~ col",
2286
2288
  "mt-20": "",
2287
2289
  "items-center": ""
2288
- }, Ol = {
2290
+ }, Hl = {
2289
2291
  flex: "~",
2290
2292
  "mt--10": "",
2291
2293
  "items-center": "",
2292
2294
  "justify-center": ""
2293
- }, Ul = { class: "mr-1" }, jl = {
2295
+ }, Ol = { class: "mr-1" }, Ul = {
2294
2296
  key: 0,
2295
2297
  class: "inline-block w20"
2296
- }, zl = ["src", "alt"], Bl = {
2298
+ }, jl = ["src", "alt"], zl = {
2297
2299
  key: 1,
2298
2300
  class: "mr2 inline-block min-w-20 text-center text-10 font-600"
2299
- }, Zl = {
2301
+ }, Bl = {
2300
2302
  mb6: "",
2301
2303
  "mt--1": "",
2302
2304
  "text-center": "",
2303
2305
  "text-sm": "",
2304
2306
  flex: "~ gap-1"
2305
- }, Fl = { op40: "" }, Kl = { flex: "~ gap2 wrap" }, Gl = {
2307
+ }, Zl = { op40: "" }, Fl = { flex: "~ gap2 wrap" }, Kl = {
2306
2308
  flex: "~ gap-6 wrap",
2307
2309
  "mt-5": "",
2308
2310
  "items-center": "",
2309
2311
  "justify-center": ""
2310
- }, Wl = ["href"], ql = /* @__PURE__ */ F({
2312
+ }, Gl = ["href"], Wl = /* @__PURE__ */ Z({
2311
2313
  __name: "About",
2312
2314
  setup(e) {
2313
- const t = Le(), o = be(), n = E(!1), l = E(!1);
2315
+ const t = Me(), o = be(), n = V(!1), l = V(!1);
2314
2316
  function s() {
2315
2317
  n.value = !0;
2316
2318
  }
2317
2319
  function p() {
2318
2320
  n.value = !0, l.value = !0;
2319
2321
  }
2320
- return (i, r) => (c(), m("div", Ll, [
2321
- u("div", Ml, [
2322
+ return (i, r) => (c(), h("div", Pl, [
2323
+ u("div", Ll, [
2322
2324
  r[5] || (r[5] = u("div", { "flex-auto": "" }, null, -1)),
2323
- u("div", Hl, [
2324
- u("div", Ol, [
2325
- u("span", Ul, [
2326
- n.value ? j("", !0) : (c(), m("span", jl)),
2325
+ u("div", Ml, [
2326
+ u("div", Hl, [
2327
+ u("span", Ol, [
2328
+ n.value ? U("", !0) : (c(), h("span", Ul)),
2327
2329
  q(u("img", {
2328
2330
  src: a(o).logo,
2329
2331
  alt: `${a(o).label} Logo`,
2330
2332
  class: "inline-block h16",
2331
2333
  onError: p,
2332
2334
  onLoad: s
2333
- }, null, 40, zl), [
2334
- [vn, n.value && !l.value]
2335
+ }, null, 40, jl), [
2336
+ [fn, n.value && !l.value]
2335
2337
  ]),
2336
- l.value ? (c(), m("span", Bl, re(a(o).label), 1)) : j("", !0)
2338
+ l.value ? (c(), h("span", zl, re(a(o).label), 1)) : U("", !0)
2337
2339
  ]),
2338
2340
  u("span", null, [
2339
- b(Pl, { "h-18": "" })
2341
+ y(Dl, { "h-18": "" })
2340
2342
  ])
2341
2343
  ]),
2342
- u("div", Zl, [
2343
- u("span", Fl, re(a(o).label) + " DevTools ", 1)
2344
+ u("div", Bl, [
2345
+ u("span", Zl, re(a(o).label) + " DevTools ", 1)
2344
2346
  ])
2345
2347
  ]),
2346
2348
  r[6] || (r[6] = u("div", { "flex-auto": "" }, null, -1)),
2347
- u("div", Kl, [
2349
+ u("div", Fl, [
2348
2350
  u("div", {
2349
2351
  flex: "~ col auto",
2350
2352
  "min-w-40": "",
@@ -2358,7 +2360,7 @@ const Pl = /* @__PURE__ */ _e(Al, [["render", Dl]]), Ll = {
2358
2360
  }, null, -1),
2359
2361
  u("code", null, "State", -1)
2360
2362
  ])]),
2361
- a(o).timelineLayerIds?.length ? (c(), m("div", {
2363
+ a(o).timelineLayerIds?.length ? (c(), h("div", {
2362
2364
  key: 0,
2363
2365
  flex: "~ col auto",
2364
2366
  "min-w-40": "",
@@ -2371,9 +2373,9 @@ const Pl = /* @__PURE__ */ _e(Al, [["render", Dl]]), Ll = {
2371
2373
  "text-3xl": ""
2372
2374
  }, null, -1),
2373
2375
  u("div", null, "Timeline", -1)
2374
- ])])) : j("", !0)
2376
+ ])])) : U("", !0)
2375
2377
  ]),
2376
- u("div", Gl, [
2378
+ u("div", Kl, [
2377
2379
  u("a", {
2378
2380
  href: a(o).homepage,
2379
2381
  target: "_blank",
@@ -2385,16 +2387,16 @@ const Pl = /* @__PURE__ */ _e(Al, [["render", Dl]]), Ll = {
2385
2387
  }, [...r[4] || (r[4] = [
2386
2388
  u("div", { "i-carbon-document": "" }, null, -1),
2387
2389
  Q(" View Documentation ", -1)
2388
- ])], 8, Wl)
2390
+ ])], 8, Gl)
2389
2391
  ]),
2390
2392
  r[7] || (r[7] = u("div", { "flex-auto": "" }, null, -1))
2391
2393
  ])
2392
2394
  ]));
2393
2395
  }
2394
- }), Jl = { class: "flex-1 overflow-y-auto p2" }, Yl = { class: "max-w-[190px] flex-1 select-none py-1.5 text-sm" }, Xl = { class: "w-4/5" }, Ql = {
2396
+ }), ql = { class: "flex-1 overflow-y-auto p2" }, Jl = { class: "max-w-[190px] flex-1 select-none py-1.5 text-sm" }, Yl = { class: "w-4/5" }, Xl = {
2395
2397
  key: 0,
2396
2398
  class: "flex justify-start"
2397
- }, e1 = { key: 1 }, en = /* @__PURE__ */ F({
2399
+ }, Ql = { key: 1 }, Qt = /* @__PURE__ */ Z({
2398
2400
  __name: "Settings",
2399
2401
  props: {
2400
2402
  pluginId: {},
@@ -2403,59 +2405,59 @@ const Pl = /* @__PURE__ */ _e(Al, [["render", Dl]]), Ll = {
2403
2405
  },
2404
2406
  emits: ["update"],
2405
2407
  setup(e, { emit: t }) {
2406
- const o = e, n = t, l = S(() => o.options), s = S(() => o.values);
2408
+ const o = e, n = t, l = $(() => o.options), s = $(() => o.values);
2407
2409
  function p(i, r) {
2408
- V.value.updatePluginSettings(o.pluginId, i, r), V.value.getPluginSettings(o.pluginId).then((f) => {
2410
+ E.value.updatePluginSettings(o.pluginId, i, r), E.value.getPluginSettings(o.pluginId).then((f) => {
2409
2411
  n("update", f);
2410
2412
  });
2411
2413
  }
2412
- return (i, r) => (c(), m("div", Jl, [
2414
+ return (i, r) => (c(), h("div", ql, [
2413
2415
  u("ul", null, [
2414
- (c(!0), m(le, null, ce(l.value, (f, v) => (c(), m("li", {
2415
- key: v,
2416
+ (c(!0), h(se, null, ce(l.value, (f, m) => (c(), h("li", {
2417
+ key: m,
2416
2418
  class: "flex items-center py-2"
2417
2419
  }, [
2418
- u("div", Yl, re(f.label), 1),
2419
- u("div", Xl, [
2420
- f.type === "boolean" ? (c(), m("div", Ql, [
2421
- b(a(xn), {
2422
- "model-value": s.value[v],
2420
+ u("div", Jl, re(f.label), 1),
2421
+ u("div", Yl, [
2422
+ f.type === "boolean" ? (c(), h("div", Xl, [
2423
+ y(a(Cn), {
2424
+ "model-value": s.value[m],
2423
2425
  class: "row-reverse flex py1 pl2 pr1 hover:bg-active",
2424
- "onUpdate:modelValue": (d) => p(v, d)
2426
+ "onUpdate:modelValue": (d) => p(m, d)
2425
2427
  }, null, 8, ["model-value", "onUpdate:modelValue"])
2426
- ])) : f.type === "choice" ? (c(), m("div", e1, [
2427
- b(a(yn), {
2428
- "model-value": s.value[v],
2428
+ ])) : f.type === "choice" ? (c(), h("div", Ql, [
2429
+ y(a(xn), {
2430
+ "model-value": s.value[m],
2429
2431
  options: f.options,
2430
- "onUpdate:modelValue": (d) => p(v, d)
2432
+ "onUpdate:modelValue": (d) => p(m, d)
2431
2433
  }, null, 8, ["model-value", "options", "onUpdate:modelValue"])
2432
- ])) : f.type === "text" ? (c(), z(a(Ce), {
2434
+ ])) : f.type === "text" ? (c(), B(a(ge), {
2433
2435
  key: 2,
2434
- "model-value": s.value[v],
2435
- "onUpdate:modelValue": (d) => p(v, d)
2436
- }, null, 8, ["model-value", "onUpdate:modelValue"])) : j("", !0)
2436
+ "model-value": s.value[m],
2437
+ "onUpdate:modelValue": (d) => p(m, d)
2438
+ }, null, 8, ["model-value", "onUpdate:modelValue"])) : U("", !0)
2437
2439
  ])
2438
2440
  ]))), 128))
2439
2441
  ])
2440
2442
  ]));
2441
2443
  }
2442
- }), t1 = { class: "h-full flex flex-col" }, n1 = /* @__PURE__ */ F({
2444
+ }), e1 = { class: "h-full flex flex-col" }, t1 = /* @__PURE__ */ Z({
2443
2445
  __name: "Settings",
2444
2446
  setup(e) {
2445
- const t = ge("pluginSettings"), o = be(), n = S(() => t.value.options), l = S(() => t.value.values);
2447
+ const t = xe("pluginSettings"), o = be(), n = $(() => t.value.options), l = $(() => t.value.values);
2446
2448
  function s(p) {
2447
2449
  t.value = p;
2448
2450
  }
2449
- return (p, i) => (c(), m("div", t1, [
2450
- b(Te, {
2451
+ return (p, i) => (c(), h("div", e1, [
2452
+ y(Ve, {
2451
2453
  "doc-link": a(o).homepage
2452
2454
  }, {
2453
2455
  default: M(() => [
2454
- b(Ee)
2456
+ y(Ne)
2455
2457
  ]),
2456
2458
  _: 1
2457
2459
  }, 8, ["doc-link"]),
2458
- b(en, {
2460
+ y(Qt, {
2459
2461
  "plugin-id": a(o).pluginId,
2460
2462
  options: n.value,
2461
2463
  values: l.value,
@@ -2463,170 +2465,170 @@ const Pl = /* @__PURE__ */ _e(Al, [["render", Dl]]), Ll = {
2463
2465
  }, null, 8, ["plugin-id", "options", "values"])
2464
2466
  ]));
2465
2467
  }
2466
- }), o1 = { class: "h-full flex flex-col" }, l1 = { class: "h-full flex flex-col p2" }, s1 = {
2468
+ }), n1 = { class: "h-full flex flex-col" }, o1 = { class: "h-full flex flex-col p2" }, l1 = {
2467
2469
  class: "grid grid-cols-[1fr_auto] mb1 items-center gap2 pb1",
2468
2470
  border: "b dashed base"
2469
- }, a1 = {
2471
+ }, s1 = {
2470
2472
  key: 0,
2471
2473
  class: "flex items-center gap-2 px-1"
2472
- }, i1 = ["onClick"], r1 = {
2474
+ }, a1 = ["onClick"], i1 = {
2473
2475
  key: 0,
2474
2476
  class: "no-scrollbar flex-1 select-none overflow-scroll"
2475
- }, u1 = { class: "h-full flex flex-col p2" }, c1 = {
2477
+ }, r1 = { class: "h-full flex flex-col p2" }, u1 = {
2476
2478
  class: "grid grid-cols-[1fr_auto] mb1 items-center gap2 pb1",
2477
2479
  border: "b dashed base"
2478
- }, d1 = {
2480
+ }, c1 = {
2479
2481
  key: 0,
2480
2482
  class: "flex items-center gap-2 px-1"
2481
- }, p1 = ["onClick"], f1 = /* @__PURE__ */ F({
2483
+ }, d1 = ["onClick"], p1 = /* @__PURE__ */ Z({
2482
2484
  __name: "Index",
2483
2485
  setup(e) {
2484
- const { expanded: t } = xe(), { expanded: o } = xe("custom-inspector-state"), n = be(), l = S(() => n.value.id), s = E([]), p = E([]), i = E([]), r = S(() => i.value?.length ? N(i.value?.[0]) : []), f = S(() => R(i.value)), v = S(() => f.value.map((g) => g.id)), d = E(""), h = E({}), T = S(() => !Object.keys(h.value).length), A = be(), $ = E(""), I = E("");
2485
- te($, (g, y) => {
2486
- !g.trim().length && !y.trim().length || se(g);
2486
+ const { expanded: t } = Ce(), { expanded: o } = Ce("custom-inspector-state"), n = be(), l = $(() => n.value.id), s = V([]), p = V([]), i = V([]), r = $(() => i.value?.length ? A(i.value?.[0]) : []), f = $(() => D(i.value)), m = $(() => f.value.map((v) => v.id)), d = V(""), g = V({}), T = $(() => !Object.keys(g.value).length), R = be(), k = V(""), S = V("");
2487
+ te(k, (v, C) => {
2488
+ !v.trim().length && !C.trim().length || ae(v);
2487
2489
  });
2488
- const P = S(() => tt({
2489
- state: h.value,
2490
- filterKey: I.value
2490
+ const N = $(() => tt({
2491
+ state: g.value,
2492
+ filterKey: S.value
2491
2493
  }));
2492
- function N(g, y = [], D = []) {
2493
- return y.push(g.id), g.children?.length === 0 && D.push([...y]), Array.isArray(g.children) && g.children.forEach((Z) => {
2494
- N(Z, y, D);
2495
- }), y.pop(), D;
2496
- }
2497
- function w(g, y) {
2498
- const D = [];
2499
- return g?.forEach((Z) => {
2500
- D.push(...Z.slice(0, y + 1));
2501
- }), [...new Set(D)];
2502
- }
2503
- function R(g) {
2504
- const y = [], D = (Z) => {
2505
- Z?.forEach((ae) => {
2506
- y.push(ae), ae.children?.length && D(ae.children);
2494
+ function A(v, C = [], P = []) {
2495
+ return C.push(v.id), v.children?.length === 0 && P.push([...C]), Array.isArray(v.children) && v.children.forEach((z) => {
2496
+ A(z, C, P);
2497
+ }), C.pop(), P;
2498
+ }
2499
+ function w(v, C) {
2500
+ const P = [];
2501
+ return v?.forEach((z) => {
2502
+ P.push(...z.slice(0, C + 1));
2503
+ }), [...new Set(P)];
2504
+ }
2505
+ function D(v) {
2506
+ const C = [], P = (z) => {
2507
+ z?.forEach((oe) => {
2508
+ C.push(oe), oe.children?.length && P(oe.children);
2507
2509
  });
2508
2510
  };
2509
- return D(g), y;
2511
+ return P(v), C;
2510
2512
  }
2511
- function B() {
2512
- V.value.getInspectorNodeActions(l.value).then((g) => {
2513
- s.value = g;
2513
+ function j() {
2514
+ E.value.getInspectorNodeActions(l.value).then((v) => {
2515
+ s.value = v;
2514
2516
  });
2515
2517
  }
2516
- function G() {
2517
- V.value.getInspectorActions(l.value).then((g) => {
2518
- p.value = g;
2518
+ function K() {
2519
+ E.value.getInspectorActions(l.value).then((v) => {
2520
+ p.value = v;
2519
2521
  });
2520
2522
  }
2521
- B(), G();
2522
- function W(g) {
2523
- V.value.callInspectorNodeAction(l.value, g, d.value);
2523
+ j(), K();
2524
+ function G(v) {
2525
+ E.value.callInspectorNodeAction(l.value, v, d.value);
2524
2526
  }
2525
- function O(g) {
2526
- V.value.callInspectorAction(l.value, g);
2527
+ function O(v) {
2528
+ E.value.callInspectorAction(l.value, v);
2527
2529
  }
2528
- function C(g) {
2529
- for (const y in g)
2530
- g[y]?.length || delete g[y];
2531
- return g;
2530
+ function _(v) {
2531
+ for (const C in v)
2532
+ v[C]?.length || delete v[C];
2533
+ return v;
2532
2534
  }
2533
- function U(g) {
2534
- V.value.getInspectorState({ inspectorId: l.value, nodeId: g }).then((y) => {
2535
- const D = ne(y);
2536
- D && (h.value = C(D), o.value = Array.from({ length: Object.keys(h.value).length }, (Z, ae) => `${ae}`));
2535
+ function H(v) {
2536
+ E.value.getInspectorState({ inspectorId: l.value, nodeId: v }).then((C) => {
2537
+ const P = le(C);
2538
+ P && (g.value = _(P), o.value = Array.from({ length: Object.keys(g.value).length }, (z, oe) => `${oe}`));
2537
2539
  });
2538
2540
  }
2539
- function oe() {
2540
- h.value = {};
2541
+ function ne() {
2542
+ g.value = {};
2541
2543
  }
2542
2544
  te(d, () => {
2543
- oe(), U(d.value);
2545
+ ne(), H(d.value);
2544
2546
  });
2545
- function se(g = "") {
2546
- V.value.getInspectorTree({ inspectorId: l.value, filter: g }).then((y) => {
2547
- const D = ne(y);
2548
- i.value = D, !d.value && D.length && (d.value = D[0].id, t.value = w(r.value, 1), U(D[0].id));
2547
+ function ae(v = "") {
2548
+ E.value.getInspectorTree({ inspectorId: l.value, filter: v }).then((C) => {
2549
+ const P = le(C);
2550
+ i.value = P, !d.value && P.length && (d.value = P[0].id, t.value = w(r.value, 1), H(P[0].id));
2549
2551
  });
2550
2552
  }
2551
- Gt(l).toBeTruthy().then(() => se());
2552
- function H(g) {
2553
- const y = ne(g);
2554
- !y.rootNodes.length || y.inspectorId !== l.value || (i.value = y.rootNodes, v.value.includes(d.value) || (d.value = i.value?.[0]?.id, t.value = w(r.value, 1)));
2553
+ Gt(l).toBeTruthy().then(() => ae());
2554
+ function W(v) {
2555
+ const C = le(v);
2556
+ !C.rootNodes.length || C.inspectorId !== l.value || (i.value = C.rootNodes, m.value.includes(d.value) || (d.value = i.value?.[0]?.id, t.value = w(r.value, 1)));
2555
2557
  }
2556
- function k(g) {
2557
- const y = ne(g);
2558
- if (y.inspectorId !== l.value || !y.state || y.nodeId !== d.value)
2558
+ function I(v) {
2559
+ const C = le(v);
2560
+ if (C.inspectorId !== l.value || !C.state || C.nodeId !== d.value)
2559
2561
  return;
2560
- const { inspectorId: D, ...Z } = y.state;
2561
- h.value = C(Z);
2562
- }
2563
- return De(() => {
2564
- V.functions.on(X.INSPECTOR_TREE_UPDATED, H), V.functions.on(X.INSPECTOR_STATE_UPDATED, k);
2565
- }), ke(() => {
2566
- V.functions.off(X.INSPECTOR_TREE_UPDATED, H), V.functions.off(X.INSPECTOR_STATE_UPDATED, k);
2567
- }), (g, y) => (c(), m("div", o1, [
2568
- b(Te, {
2562
+ const { inspectorId: P, ...z } = C.state;
2563
+ g.value = _(z);
2564
+ }
2565
+ return Pe(() => {
2566
+ E.functions.on(X.INSPECTOR_TREE_UPDATED, W), E.functions.on(X.INSPECTOR_STATE_UPDATED, I);
2567
+ }), Ie(() => {
2568
+ E.functions.off(X.INSPECTOR_TREE_UPDATED, W), E.functions.off(X.INSPECTOR_STATE_UPDATED, I);
2569
+ }), (v, C) => (c(), h("div", n1, [
2570
+ y(Ve, {
2569
2571
  "doc-link": a(n).homepage
2570
2572
  }, {
2571
2573
  default: M(() => [
2572
- b(Ee)
2574
+ y(Ne)
2573
2575
  ]),
2574
2576
  _: 1
2575
2577
  }, 8, ["doc-link"]),
2576
- !i.value.length && !$.value.trim().length ? (c(), z($e, { key: 0 }, {
2577
- default: M(() => [...y[3] || (y[3] = [
2578
+ !i.value.length && !k.value.trim().length ? (c(), B(Te, { key: 0 }, {
2579
+ default: M(() => [...C[3] || (C[3] = [
2578
2580
  Q(" No Data ", -1)
2579
2581
  ])]),
2580
2582
  _: 1
2581
- })) : (c(), z(a(Pe), {
2583
+ })) : (c(), B(a(Le), {
2582
2584
  key: 1,
2583
2585
  class: "flex-1 overflow-auto"
2584
2586
  }, {
2585
2587
  default: M(() => [
2586
- b(a(de), {
2588
+ y(a(de), {
2587
2589
  border: "r base",
2588
2590
  size: "40",
2589
2591
  "h-full": ""
2590
2592
  }, {
2591
2593
  default: M(() => [
2592
- u("div", l1, [
2593
- u("div", s1, [
2594
- b(a(Ce), {
2595
- modelValue: $.value,
2596
- "onUpdate:modelValue": y[0] || (y[0] = (D) => $.value = D),
2597
- placeholder: a(A).treeFilterPlaceholder
2594
+ u("div", o1, [
2595
+ u("div", l1, [
2596
+ y(a(ge), {
2597
+ modelValue: k.value,
2598
+ "onUpdate:modelValue": C[0] || (C[0] = (P) => k.value = P),
2599
+ placeholder: a(R).treeFilterPlaceholder
2598
2600
  }, null, 8, ["modelValue", "placeholder"]),
2599
- p.value?.length ? (c(), m("div", a1, [
2600
- (c(!0), m(le, null, ce(p.value, (D, Z) => q((c(), m("div", {
2601
- key: Z,
2601
+ p.value?.length ? (c(), h("div", s1, [
2602
+ (c(!0), h(se, null, ce(p.value, (P, z) => q((c(), h("div", {
2603
+ key: z,
2602
2604
  class: "flex items-center gap1",
2603
- onClick: (ae) => O(Z)
2605
+ onClick: (oe) => O(z)
2604
2606
  }, [
2605
- b(a(Ze), {
2606
- name: `baseline-${D.icon.replace(/\_/g, "-")}`,
2607
+ y(a(Fe), {
2608
+ name: `baseline-${P.icon.replace(/\_/g, "-")}`,
2607
2609
  "cursor-pointer": "",
2608
2610
  "text-base": "",
2609
2611
  op70: "",
2610
2612
  "hover:op100": ""
2611
2613
  }, null, 8, ["name"])
2612
- ], 8, i1)), [
2614
+ ], 8, a1)), [
2613
2615
  [
2614
- a(Y),
2615
- { content: D.tooltip },
2616
+ a(J),
2617
+ { content: P.tooltip },
2616
2618
  void 0,
2617
2619
  { "bottom-end": !0 }
2618
2620
  ]
2619
2621
  ])), 128))
2620
- ])) : j("", !0)
2622
+ ])) : U("", !0)
2621
2623
  ]),
2622
- i.value.length ? (c(), m("div", r1, [
2623
- b(Oe, {
2624
+ i.value.length ? (c(), h("div", i1, [
2625
+ y(Ue, {
2624
2626
  modelValue: d.value,
2625
- "onUpdate:modelValue": y[1] || (y[1] = (D) => d.value = D),
2627
+ "onUpdate:modelValue": C[1] || (C[1] = (P) => d.value = P),
2626
2628
  data: i.value
2627
2629
  }, null, 8, ["modelValue", "data"])
2628
- ])) : (c(), z($e, { key: 1 }, {
2629
- default: M(() => [...y[4] || (y[4] = [
2630
+ ])) : (c(), B(Te, { key: 1 }, {
2631
+ default: M(() => [...C[4] || (C[4] = [
2630
2632
  Q(" No Data ", -1)
2631
2633
  ])]),
2632
2634
  _: 1
@@ -2635,47 +2637,47 @@ const Pl = /* @__PURE__ */ _e(Al, [["render", Dl]]), Ll = {
2635
2637
  ]),
2636
2638
  _: 1
2637
2639
  }),
2638
- b(a(de), { size: "60" }, {
2640
+ y(a(de), { size: "60" }, {
2639
2641
  default: M(() => [
2640
- u("div", u1, [
2641
- u("div", c1, [
2642
- b(a(Ce), {
2643
- modelValue: I.value,
2644
- "onUpdate:modelValue": y[2] || (y[2] = (D) => I.value = D),
2645
- placeholder: a(A).stateFilterPlaceholder
2642
+ u("div", r1, [
2643
+ u("div", u1, [
2644
+ y(a(ge), {
2645
+ modelValue: S.value,
2646
+ "onUpdate:modelValue": C[2] || (C[2] = (P) => S.value = P),
2647
+ placeholder: a(R).stateFilterPlaceholder
2646
2648
  }, null, 8, ["modelValue", "placeholder"]),
2647
- s.value?.length ? (c(), m("div", d1, [
2648
- (c(!0), m(le, null, ce(s.value, (D, Z) => q((c(), m("div", {
2649
- key: Z,
2649
+ s.value?.length ? (c(), h("div", c1, [
2650
+ (c(!0), h(se, null, ce(s.value, (P, z) => q((c(), h("div", {
2651
+ key: z,
2650
2652
  class: "flex items-center gap1",
2651
- onClick: (ae) => W(Z)
2653
+ onClick: (oe) => G(z)
2652
2654
  }, [
2653
- b(a(Ze), {
2654
- name: `baseline-${D.icon.replace(/\_/g, "-")}`,
2655
+ y(a(Fe), {
2656
+ name: `baseline-${P.icon.replace(/\_/g, "-")}`,
2655
2657
  "cursor-pointer": "",
2656
2658
  "text-base": "",
2657
2659
  op70: "",
2658
2660
  "hover:op100": ""
2659
2661
  }, null, 8, ["name"])
2660
- ], 8, p1)), [
2662
+ ], 8, d1)), [
2661
2663
  [
2662
- a(Y),
2663
- { content: D.tooltip },
2664
+ a(J),
2665
+ { content: P.tooltip },
2664
2666
  void 0,
2665
2667
  { "bottom-end": !0 }
2666
2668
  ]
2667
2669
  ])), 128))
2668
- ])) : j("", !0)
2670
+ ])) : U("", !0)
2669
2671
  ]),
2670
- d.value && !T.value ? (c(), z(He, {
2672
+ d.value && !T.value ? (c(), B(Oe, {
2671
2673
  key: 0,
2672
- data: P.value,
2674
+ data: N.value,
2673
2675
  "node-id": d.value,
2674
2676
  "inspector-id": l.value,
2675
2677
  "expanded-state-id": "custom-inspector-state",
2676
2678
  class: "no-scrollbar flex-1 overflow-scroll"
2677
- }, null, 8, ["data", "node-id", "inspector-id"])) : (c(), z($e, { key: 1 }, {
2678
- default: M(() => [...y[5] || (y[5] = [
2679
+ }, null, 8, ["data", "node-id", "inspector-id"])) : (c(), B(Te, { key: 1 }, {
2680
+ default: M(() => [...C[5] || (C[5] = [
2679
2681
  Q(" No Data ", -1)
2680
2682
  ])]),
2681
2683
  _: 1
@@ -2689,20 +2691,20 @@ const Pl = /* @__PURE__ */ _e(Al, [["render", Dl]]), Ll = {
2689
2691
  }))
2690
2692
  ]));
2691
2693
  }
2692
- }), v1 = /* @__PURE__ */ F({
2694
+ }), f1 = /* @__PURE__ */ Z({
2693
2695
  __name: "Index",
2694
2696
  setup(e) {
2695
2697
  const t = be();
2696
- return (o, n) => (c(), z(ct, {
2698
+ return (o, n) => (c(), B(ct, {
2697
2699
  "layer-ids": a(t).timelineLayerIds,
2698
2700
  "doc-link": a(t).homepage,
2699
2701
  "plugin-id": a(t).pluginId
2700
2702
  }, null, 8, ["layer-ids", "doc-link", "plugin-id"]));
2701
2703
  }
2702
- }), m1 = {
2704
+ }), v1 = {
2703
2705
  "h-full": "",
2704
2706
  "w-full": ""
2705
- }, h1 = { key: 0 }, xs = /* @__PURE__ */ F({
2707
+ }, m1 = { key: 0 }, Cs = /* @__PURE__ */ Z({
2706
2708
  __name: "index",
2707
2709
  props: {
2708
2710
  id: {},
@@ -2710,43 +2712,43 @@ const Pl = /* @__PURE__ */ _e(Al, [["render", Dl]]), Ll = {
2710
2712
  },
2711
2713
  emits: ["loadError"],
2712
2714
  setup(e, { emit: t }) {
2713
- const o = e, n = t, l = dt(), s = E(!1), p = E(null);
2715
+ const o = e, n = t, l = dt(), s = V(!1), p = V(null);
2714
2716
  ye("pluginSettings", p);
2715
- const i = S(() => [
2717
+ const i = $(() => [
2716
2718
  {
2717
2719
  path: "/state",
2718
2720
  name: "State",
2719
- component: f1,
2721
+ component: p1,
2720
2722
  icon: "i-carbon-tree-view-alt"
2721
2723
  },
2722
2724
  l.value.timelineLayerIds?.length && {
2723
2725
  path: "/timeline",
2724
2726
  name: "Timeline",
2725
- component: v1,
2727
+ component: f1,
2726
2728
  icon: "i-mdi:timeline-clock-outline"
2727
2729
  },
2728
2730
  {
2729
2731
  path: "/about",
2730
2732
  name: "About",
2731
- component: ql
2733
+ component: Wl
2732
2734
  },
2733
2735
  p.value && {
2734
2736
  path: "/settings",
2735
2737
  name: "Settings",
2736
- component: n1,
2738
+ component: t1,
2737
2739
  icon: "i-mdi:cog-outline"
2738
2740
  }
2739
2741
  ].filter(Boolean)), { VirtualRouterView: r, restoreRouter: f } = ot(i, {
2740
2742
  defaultRoutePath: "/state"
2741
2743
  });
2742
- function v() {
2743
- s.value = !0, De(() => {
2744
- V.value.getInspectorInfo(o.id).then((d) => {
2744
+ function m() {
2745
+ s.value = !0, Pe(() => {
2746
+ E.value.getInspectorInfo(o.id).then((d) => {
2745
2747
  if (!d) {
2746
2748
  n("loadError");
2747
2749
  return;
2748
2750
  }
2749
- const h = {
2751
+ const g = {
2750
2752
  homepage: d?.homepage,
2751
2753
  id: d?.id,
2752
2754
  label: d?.label,
@@ -2756,62 +2758,62 @@ const Pl = /* @__PURE__ */ _e(Al, [["render", Dl]]), Ll = {
2756
2758
  treeFilterPlaceholder: d.treeFilterPlaceholder,
2757
2759
  stateFilterPlaceholder: d.stateFilterPlaceholder
2758
2760
  };
2759
- l.value = h, f(), s.value = !1;
2760
- }), V.value.getPluginSettings(o.pluginId).then((d) => {
2761
+ l.value = g, f(), s.value = !1;
2762
+ }), E.value.getPluginSettings(o.pluginId).then((d) => {
2761
2763
  d.options ? p.value = d : p.value = null;
2762
2764
  });
2763
2765
  });
2764
2766
  }
2765
2767
  return te(() => o.id, () => {
2766
- v();
2768
+ m();
2767
2769
  }, {
2768
2770
  immediate: !0
2769
- }), ke(() => {
2770
- V.value.unhighlight();
2771
- }), (d, h) => (c(), m("div", m1, [
2772
- s.value ? (c(), m("div", h1, [
2773
- b(Nl)
2774
- ])) : (c(), z(a(r), { key: 1 }))
2771
+ }), Ie(() => {
2772
+ E.value.unhighlight();
2773
+ }), (d, g) => (c(), h("div", v1, [
2774
+ s.value ? (c(), h("div", m1, [
2775
+ y(Vl)
2776
+ ])) : (c(), B(a(r), { key: 1 }))
2775
2777
  ]));
2776
2778
  }
2777
- }), g1 = {}, C1 = {
2779
+ }), h1 = {}, g1 = {
2778
2780
  viewBox: "0 0 566 154",
2779
2781
  fill: "none",
2780
2782
  xmlns: "http://www.w3.org/2000/svg"
2781
2783
  };
2782
- function x1(e, t) {
2783
- return c(), m("svg", C1, [...t[0] || (t[0] = [
2784
- mn('<svg height="130" viewBox="0 0 319 477" width="180" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a"><stop offset="0" stop-color="#52ce63"></stop><stop offset="1" stop-color="#51a256"></stop></linearGradient><linearGradient id="b" x1="55.342075%" x2="42.816933%" xlink:href="#a" y1="0%" y2="42.862855%"></linearGradient><linearGradient id="c" x1="55.348642%" x2="42.808103%" xlink:href="#a" y1="0%" y2="42.862855%"></linearGradient><linearGradient id="d" x1="50%" x2="50%" y1="0%" y2="58.811243%"><stop offset="0" stop-color="#8ae99c"></stop><stop offset="1" stop-color="#52ce63"></stop></linearGradient><linearGradient id="e" x1="51.37763%" x2="44.584719%" y1="17.472551%" y2="100%"><stop offset="0" stop-color="#ffe56c"></stop><stop offset="1" stop-color="#ffc63a"></stop></linearGradient><g fill="none" fill-rule="evenodd" transform="translate(-34 -24)"><g transform="matrix(.99254615 .12186934 -.12186934 .99254615 33.922073 .976691)"><path d="m103.950535 258.274149c44.361599-4.360825 60.014503-40.391282 65.353094-94.699444s-30.93219-103.451001-46.020347-101.9678079c-15.088156 1.4831932-63.0385313 58.9051239-68.3771222 113.2132869-5.3385908 54.308162 4.6827754 87.814791 49.0443752 83.453965z" fill="url(#b)" transform="matrix(.70710678 -.70710678 .70710678 .70710678 -80.496332 125.892944)"></path><path d="m275.876752 258.273992c44.3616 4.360826 53.167133-29.265322 47.828542-83.573485-5.338591-54.308162-52.073133-111.6105744-67.16129-113.0937675-15.088156-1.4831931-52.57477 47.5401275-47.236179 101.8482895s22.207328 90.458137 66.568927 94.818963z" fill="url(#c)" transform="matrix(.70710678 .70710678 -.70710678 .70710678 191.403399 -141.861963)"></path><path d="m188.370027 216.876305c39.941834 0 50.95265-38.251987 50.95265-97.89874 0-59.6467532-37.367733-118.10125956-50.95265-118.10125956s-52.04735 58.45450636-52.04735 118.10125956c0 59.646753 12.105516 97.89874 52.04735 97.89874z" fill="url(#d)"></path></g><path d="m184.473473 501c83.118854 0 150.526527-24.145148 150.526527-133.645148s-67.407673-199.354852-150.526527-199.354852c-83.118855 0-150.473473 89.854852-150.473473 199.354852s67.354618 133.645148 150.473473 133.645148z" fill="url(#e)"></path><ellipse cx="260.5" cy="335" fill="#eaadcc" rx="21.5" ry="10"></ellipse><ellipse cx="102.5" cy="329" fill="#eaadcc" rx="21.5" ry="10" transform="matrix(.99254615 .12186934 -.12186934 .99254615 40.859033 -10.039292)"></ellipse><g transform="matrix(-.99939083 .0348995 .0348995 .99939083 269.284825 271.027667)"><path d="m73.1046985 58.2728794c6.7372416 4.9130333 14.3132632 6.6640587 22.7280649 5.2530761 8.4148016-1.4109825 14.5054466-5.2535769 18.2719346-11.527783" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="6" transform="matrix(.9998477 .01745241 -.01745241 .9998477 1.026464 -1.624794)"></path><path d="m154.501124 3c-5.937545 0-11.312782 2.40629805-15.203644 6.29680621-3.89094 3.89058529-6.29748 9.26545449-6.29748 15.20263179 0 5.9376888 2.406488 11.3127422 6.297291 15.2034272 3.890886 3.8907673 9.266197 6.2971348 15.203833 6.2971348 5.937109 0 11.311896-2.4063889 15.202387-6.2972348 3.890299-3.8906535 6.296489-9.2656636 6.296489-15.2033272 0-5.9371521-2.406242-11.3119781-6.296677-15.20253181-3.890469-3.89058674-9.265181-6.29690619-15.202199-6.29690619z" fill="#000"></path><path d="m154 21c0-3.865549 3.135362-7 6.999413-7 3.866399 0 7.000587 3.134451 7.000587 7s-3.134188 7-7.000587 7c-3.864051-.0011735-6.999413-3.134451-6.999413-7z" fill="#fff"></path><path d="m24.5 13c-5.9375292 0-11.312426 2.406268-15.20299427 6.2967181-3.89069464 3.8905765-6.29700573 9.2654765-6.29700573 15.2027199 0 5.9377549 2.40625962 11.3128391 6.29681766 15.2035153 3.89059104 3.8907092 9.26556184 6.2970467 15.20318234 6.2970467 5.9371249 0 11.3122514-2.406419 15.2030371-6.2973229 3.8905441-3.8906623 6.2969629-9.2656416 6.2969629-15.2032391 0-5.937086-2.4064703-11.3118811-6.297151-15.2024437-3.890763-3.8906448-9.2658154-6.2969943-15.202849-6.2969943z" fill="#000"></path><g fill="#fff"><path d="m136 24.499438c0 10.2185232 8.282911 18.500562 18.501124 18.500562 10.217089 0 18.498876-8.2820388 18.498876-18.500562 0-10.2173992-8.281787-18.499438-18.498876-18.499438-10.218213 0-18.501124 8.2820388-18.501124 18.499438zm-6 0c0-13.5311954 10.96929-24.499438 24.501124-24.499438 13.530838 0 24.498876 10.9683711 24.498876 24.499438 0 13.5319607-10.967808 24.500562-24.498876 24.500562-13.532064 0-24.501124-10.9684728-24.501124-24.500562z" fill-rule="nonzero" stroke="#fff" stroke-width="3"></path><path d="m6 34.499438c0 10.2185232 8.2817873 18.500562 18.5 18.500562 10.2170889 0 18.5-8.2820388 18.5-18.500562 0-10.2173992-8.2829111-18.499438-18.5-18.499438-10.2182127 0-18.5 8.2820388-18.5 18.499438zm-6 0c0-13.531297 10.9682681-24.499438 24.5-24.499438 13.5309398 0 24.5 10.9684728 24.5 24.499438 0 13.5318591-10.96883 24.500562-24.5 24.500562-13.531962 0-24.5-10.9683711-24.5-24.500562z" fill-rule="nonzero" stroke="#fff" stroke-width="3"></path><path d="m24 31c0-3.865549 3.134451-7 7-7s7 3.134451 7 7-3.134451 7-7 7-7-3.134451-7-7z"></path></g></g><g stroke-linecap="round" stroke-width="11"><g stroke="#ecb732"><path d="m70.5 377.5 74 77"></path><path d="m134.5 386.5-47 50"></path></g><g stroke="#ecb732" transform="matrix(-1 0 0 1 298 377)"><path d="m.5.5 74 77"></path><path d="m64.5 9.5-47 50"></path></g><g stroke="#ffc73b" transform="matrix(0 1 -1 0 215 207)"><path d="m.5.5 49 49"></path><path d="m.5 10.5 49 49" transform="matrix(-1 0 0 1 50 0)"></path></g></g></g></svg><path d="M152.571 118V46.1333H176.8C183.576 46.1333 189.77 47.468 195.383 50.1373C200.995 52.8067 205.478 56.8449 208.832 62.252C212.186 67.5907 213.863 74.1956 213.863 82.0667C213.863 89.8693 212.186 96.4742 208.832 101.881C205.478 107.288 200.995 111.327 195.383 113.996C189.77 116.665 183.576 118 176.8 118H152.571ZM175.157 104.653C181.796 104.653 187.306 102.874 191.687 99.3147C196.067 95.6871 198.257 89.9378 198.257 82.0667C198.257 74.1956 196.067 68.4462 191.687 64.8187C187.306 61.1911 181.796 59.3773 175.157 59.3773H167.971V104.653H175.157ZM270.18 100.444C269.153 105.988 266.381 110.437 261.864 113.791C257.347 117.144 251.905 118.821 245.54 118.821C239.928 118.821 235.102 117.555 231.064 115.023C227.094 112.422 224.083 109.068 222.029 104.961C219.976 100.855 218.949 96.5427 218.949 92.0253C218.949 87.4396 219.873 83.1276 221.721 79.0893C223.638 75.0511 226.513 71.7658 230.345 69.2333C234.247 66.7009 238.969 65.4347 244.513 65.4347C250.263 65.4347 255.054 66.6667 258.887 69.1307C262.72 71.5947 265.526 74.7431 267.305 78.576C269.153 82.4089 270.077 86.4471 270.077 90.6907C270.077 92.2649 270.009 93.8049 269.872 95.3107H232.707C233.254 99.0067 234.623 101.916 236.813 104.037C239.072 106.091 241.981 107.117 245.54 107.117C248.415 107.117 250.776 106.57 252.624 105.475C254.472 104.311 255.67 102.634 256.217 100.444H270.18ZM244.513 75.9067C241.228 75.9067 238.627 76.7622 236.711 78.4733C234.794 80.116 233.528 82.7169 232.912 86.276H255.807C255.601 83.2644 254.506 80.8004 252.521 78.884C250.537 76.8991 247.867 75.9067 244.513 75.9067ZM302.77 118H289.629L270.738 66.256H285.317L296.2 99.7253L306.98 66.256H321.661L302.77 118ZM359.731 118H344.331V59.3773H323.079V46.1333H380.983V59.3773H359.731V118ZM402.364 118.821C397.163 118.821 392.474 117.692 388.299 115.433C384.124 113.106 380.873 109.924 378.546 105.885C376.219 101.779 375.055 97.1929 375.055 92.128C375.055 87.0631 376.219 82.5116 378.546 78.4733C380.873 74.3667 384.124 71.184 388.299 68.9253C392.474 66.5982 397.163 65.4347 402.364 65.4347C407.566 65.4347 412.255 66.5982 416.43 68.9253C420.605 71.184 423.856 74.3667 426.183 78.4733C428.51 82.5116 429.674 87.0631 429.674 92.128C429.674 97.1929 428.51 101.779 426.183 105.885C423.856 109.924 420.605 113.106 416.43 115.433C412.255 117.692 407.566 118.821 402.364 118.821ZM402.364 106.501C406.197 106.501 409.311 105.167 411.707 102.497C414.103 99.828 415.3 96.3716 415.3 92.128C415.3 87.816 414.103 84.3253 411.707 81.656C409.311 78.9867 406.197 77.652 402.364 77.652C398.531 77.652 395.417 78.9867 393.022 81.656C390.626 84.3253 389.428 87.816 389.428 92.128C389.428 96.3716 390.626 99.828 393.022 102.497C395.417 105.167 398.531 106.501 402.364 106.501ZM462.12 118.821C456.918 118.821 452.229 117.692 448.054 115.433C443.879 113.106 440.628 109.924 438.301 105.885C435.974 101.779 434.81 97.1929 434.81 92.128C434.81 87.0631 435.974 82.5116 438.301 78.4733C440.628 74.3667 443.879 71.184 448.054 68.9253C452.229 66.5982 456.918 65.4347 462.12 65.4347C467.321 65.4347 472.01 66.5982 476.185 68.9253C480.36 71.184 483.611 74.3667 485.938 78.4733C488.265 82.5116 489.429 87.0631 489.429 92.128C489.429 97.1929 488.265 101.779 485.938 105.885C483.611 109.924 480.36 113.106 476.185 115.433C472.01 117.692 467.321 118.821 462.12 118.821ZM462.12 106.501C465.952 106.501 469.067 105.167 471.462 102.497C473.858 99.828 475.056 96.3716 475.056 92.128C475.056 87.816 473.858 84.3253 471.462 81.656C469.067 78.9867 465.952 77.652 462.12 77.652C458.287 77.652 455.172 78.9867 452.777 81.656C450.381 84.3253 449.184 87.816 449.184 92.128C449.184 96.3716 450.381 99.828 452.777 102.497C455.172 105.167 458.287 106.501 462.12 106.501ZM512.327 118H498.056V43.772H512.327V118ZM542.494 118.821C536.129 118.821 530.961 117.179 526.991 113.893C523.09 110.54 521.002 106.091 520.729 100.547H533.049C533.322 102.874 534.281 104.722 535.923 106.091C537.634 107.391 539.825 108.041 542.494 108.041C544.684 108.041 546.464 107.562 547.833 106.604C549.27 105.646 549.989 104.448 549.989 103.011C549.989 101.094 549.167 99.7596 547.525 99.0067C545.882 98.2538 543.281 97.5693 539.722 96.9533C536.026 96.2689 533.014 95.516 530.687 94.6947C528.36 93.8733 526.341 92.4018 524.63 90.28C522.987 88.0898 522.166 85.0098 522.166 81.04C522.166 78.0284 522.953 75.3591 524.527 73.032C526.17 70.6364 528.394 68.7884 531.201 67.488C534.007 66.1191 537.155 65.4347 540.646 65.4347C546.874 65.4347 551.905 66.9747 555.738 70.0547C559.639 73.1347 561.727 77.2071 562.001 82.272H549.578C549.304 80.1502 548.312 78.5076 546.601 77.344C544.958 76.112 543.11 75.496 541.057 75.496C539.003 75.496 537.361 75.9409 536.129 76.8307C534.897 77.7204 534.281 78.9524 534.281 80.5267C534.281 82.4431 535.068 83.7436 536.642 84.428C538.285 85.044 540.851 85.5916 544.342 86.0707C548.106 86.6182 551.186 87.3027 553.582 88.124C556.046 88.8769 558.168 90.3827 559.947 92.6413C561.727 94.9 562.617 98.1853 562.617 102.497C562.617 107.425 560.769 111.395 557.073 114.407C553.445 117.35 548.585 118.821 542.494 118.821Z" fill="currentColor"></path>', 2)
2784
+ function C1(e, t) {
2785
+ return c(), h("svg", g1, [...t[0] || (t[0] = [
2786
+ vn('<svg height="130" viewBox="0 0 319 477" width="180" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a"><stop offset="0" stop-color="#52ce63"></stop><stop offset="1" stop-color="#51a256"></stop></linearGradient><linearGradient id="b" x1="55.342075%" x2="42.816933%" xlink:href="#a" y1="0%" y2="42.862855%"></linearGradient><linearGradient id="c" x1="55.348642%" x2="42.808103%" xlink:href="#a" y1="0%" y2="42.862855%"></linearGradient><linearGradient id="d" x1="50%" x2="50%" y1="0%" y2="58.811243%"><stop offset="0" stop-color="#8ae99c"></stop><stop offset="1" stop-color="#52ce63"></stop></linearGradient><linearGradient id="e" x1="51.37763%" x2="44.584719%" y1="17.472551%" y2="100%"><stop offset="0" stop-color="#ffe56c"></stop><stop offset="1" stop-color="#ffc63a"></stop></linearGradient><g fill="none" fill-rule="evenodd" transform="translate(-34 -24)"><g transform="matrix(.99254615 .12186934 -.12186934 .99254615 33.922073 .976691)"><path d="m103.950535 258.274149c44.361599-4.360825 60.014503-40.391282 65.353094-94.699444s-30.93219-103.451001-46.020347-101.9678079c-15.088156 1.4831932-63.0385313 58.9051239-68.3771222 113.2132869-5.3385908 54.308162 4.6827754 87.814791 49.0443752 83.453965z" fill="url(#b)" transform="matrix(.70710678 -.70710678 .70710678 .70710678 -80.496332 125.892944)"></path><path d="m275.876752 258.273992c44.3616 4.360826 53.167133-29.265322 47.828542-83.573485-5.338591-54.308162-52.073133-111.6105744-67.16129-113.0937675-15.088156-1.4831931-52.57477 47.5401275-47.236179 101.8482895s22.207328 90.458137 66.568927 94.818963z" fill="url(#c)" transform="matrix(.70710678 .70710678 -.70710678 .70710678 191.403399 -141.861963)"></path><path d="m188.370027 216.876305c39.941834 0 50.95265-38.251987 50.95265-97.89874 0-59.6467532-37.367733-118.10125956-50.95265-118.10125956s-52.04735 58.45450636-52.04735 118.10125956c0 59.646753 12.105516 97.89874 52.04735 97.89874z" fill="url(#d)"></path></g><path d="m184.473473 501c83.118854 0 150.526527-24.145148 150.526527-133.645148s-67.407673-199.354852-150.526527-199.354852c-83.118855 0-150.473473 89.854852-150.473473 199.354852s67.354618 133.645148 150.473473 133.645148z" fill="url(#e)"></path><ellipse cx="260.5" cy="335" fill="#eaadcc" rx="21.5" ry="10"></ellipse><ellipse cx="102.5" cy="329" fill="#eaadcc" rx="21.5" ry="10" transform="matrix(.99254615 .12186934 -.12186934 .99254615 40.859033 -10.039292)"></ellipse><g transform="matrix(-.99939083 .0348995 .0348995 .99939083 269.284825 271.027667)"><path d="m73.1046985 58.2728794c6.7372416 4.9130333 14.3132632 6.6640587 22.7280649 5.2530761 8.4148016-1.4109825 14.5054466-5.2535769 18.2719346-11.527783" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="6" transform="matrix(.9998477 .01745241 -.01745241 .9998477 1.026464 -1.624794)"></path><path d="m154.501124 3c-5.937545 0-11.312782 2.40629805-15.203644 6.29680621-3.89094 3.89058529-6.29748 9.26545449-6.29748 15.20263179 0 5.9376888 2.406488 11.3127422 6.297291 15.2034272 3.890886 3.8907673 9.266197 6.2971348 15.203833 6.2971348 5.937109 0 11.311896-2.4063889 15.202387-6.2972348 3.890299-3.8906535 6.296489-9.2656636 6.296489-15.2033272 0-5.9371521-2.406242-11.3119781-6.296677-15.20253181-3.890469-3.89058674-9.265181-6.29690619-15.202199-6.29690619z" fill="#000"></path><path d="m154 21c0-3.865549 3.135362-7 6.999413-7 3.866399 0 7.000587 3.134451 7.000587 7s-3.134188 7-7.000587 7c-3.864051-.0011735-6.999413-3.134451-6.999413-7z" fill="#fff"></path><path d="m24.5 13c-5.9375292 0-11.312426 2.406268-15.20299427 6.2967181-3.89069464 3.8905765-6.29700573 9.2654765-6.29700573 15.2027199 0 5.9377549 2.40625962 11.3128391 6.29681766 15.2035153 3.89059104 3.8907092 9.26556184 6.2970467 15.20318234 6.2970467 5.9371249 0 11.3122514-2.406419 15.2030371-6.2973229 3.8905441-3.8906623 6.2969629-9.2656416 6.2969629-15.2032391 0-5.937086-2.4064703-11.3118811-6.297151-15.2024437-3.890763-3.8906448-9.2658154-6.2969943-15.202849-6.2969943z" fill="#000"></path><g fill="#fff"><path d="m136 24.499438c0 10.2185232 8.282911 18.500562 18.501124 18.500562 10.217089 0 18.498876-8.2820388 18.498876-18.500562 0-10.2173992-8.281787-18.499438-18.498876-18.499438-10.218213 0-18.501124 8.2820388-18.501124 18.499438zm-6 0c0-13.5311954 10.96929-24.499438 24.501124-24.499438 13.530838 0 24.498876 10.9683711 24.498876 24.499438 0 13.5319607-10.967808 24.500562-24.498876 24.500562-13.532064 0-24.501124-10.9684728-24.501124-24.500562z" fill-rule="nonzero" stroke="#fff" stroke-width="3"></path><path d="m6 34.499438c0 10.2185232 8.2817873 18.500562 18.5 18.500562 10.2170889 0 18.5-8.2820388 18.5-18.500562 0-10.2173992-8.2829111-18.499438-18.5-18.499438-10.2182127 0-18.5 8.2820388-18.5 18.499438zm-6 0c0-13.531297 10.9682681-24.499438 24.5-24.499438 13.5309398 0 24.5 10.9684728 24.5 24.499438 0 13.5318591-10.96883 24.500562-24.5 24.500562-13.531962 0-24.5-10.9683711-24.5-24.500562z" fill-rule="nonzero" stroke="#fff" stroke-width="3"></path><path d="m24 31c0-3.865549 3.134451-7 7-7s7 3.134451 7 7-3.134451 7-7 7-7-3.134451-7-7z"></path></g></g><g stroke-linecap="round" stroke-width="11"><g stroke="#ecb732"><path d="m70.5 377.5 74 77"></path><path d="m134.5 386.5-47 50"></path></g><g stroke="#ecb732" transform="matrix(-1 0 0 1 298 377)"><path d="m.5.5 74 77"></path><path d="m64.5 9.5-47 50"></path></g><g stroke="#ffc73b" transform="matrix(0 1 -1 0 215 207)"><path d="m.5.5 49 49"></path><path d="m.5 10.5 49 49" transform="matrix(-1 0 0 1 50 0)"></path></g></g></g></svg><path d="M152.571 118V46.1333H176.8C183.576 46.1333 189.77 47.468 195.383 50.1373C200.995 52.8067 205.478 56.8449 208.832 62.252C212.186 67.5907 213.863 74.1956 213.863 82.0667C213.863 89.8693 212.186 96.4742 208.832 101.881C205.478 107.288 200.995 111.327 195.383 113.996C189.77 116.665 183.576 118 176.8 118H152.571ZM175.157 104.653C181.796 104.653 187.306 102.874 191.687 99.3147C196.067 95.6871 198.257 89.9378 198.257 82.0667C198.257 74.1956 196.067 68.4462 191.687 64.8187C187.306 61.1911 181.796 59.3773 175.157 59.3773H167.971V104.653H175.157ZM270.18 100.444C269.153 105.988 266.381 110.437 261.864 113.791C257.347 117.144 251.905 118.821 245.54 118.821C239.928 118.821 235.102 117.555 231.064 115.023C227.094 112.422 224.083 109.068 222.029 104.961C219.976 100.855 218.949 96.5427 218.949 92.0253C218.949 87.4396 219.873 83.1276 221.721 79.0893C223.638 75.0511 226.513 71.7658 230.345 69.2333C234.247 66.7009 238.969 65.4347 244.513 65.4347C250.263 65.4347 255.054 66.6667 258.887 69.1307C262.72 71.5947 265.526 74.7431 267.305 78.576C269.153 82.4089 270.077 86.4471 270.077 90.6907C270.077 92.2649 270.009 93.8049 269.872 95.3107H232.707C233.254 99.0067 234.623 101.916 236.813 104.037C239.072 106.091 241.981 107.117 245.54 107.117C248.415 107.117 250.776 106.57 252.624 105.475C254.472 104.311 255.67 102.634 256.217 100.444H270.18ZM244.513 75.9067C241.228 75.9067 238.627 76.7622 236.711 78.4733C234.794 80.116 233.528 82.7169 232.912 86.276H255.807C255.601 83.2644 254.506 80.8004 252.521 78.884C250.537 76.8991 247.867 75.9067 244.513 75.9067ZM302.77 118H289.629L270.738 66.256H285.317L296.2 99.7253L306.98 66.256H321.661L302.77 118ZM359.731 118H344.331V59.3773H323.079V46.1333H380.983V59.3773H359.731V118ZM402.364 118.821C397.163 118.821 392.474 117.692 388.299 115.433C384.124 113.106 380.873 109.924 378.546 105.885C376.219 101.779 375.055 97.1929 375.055 92.128C375.055 87.0631 376.219 82.5116 378.546 78.4733C380.873 74.3667 384.124 71.184 388.299 68.9253C392.474 66.5982 397.163 65.4347 402.364 65.4347C407.566 65.4347 412.255 66.5982 416.43 68.9253C420.605 71.184 423.856 74.3667 426.183 78.4733C428.51 82.5116 429.674 87.0631 429.674 92.128C429.674 97.1929 428.51 101.779 426.183 105.885C423.856 109.924 420.605 113.106 416.43 115.433C412.255 117.692 407.566 118.821 402.364 118.821ZM402.364 106.501C406.197 106.501 409.311 105.167 411.707 102.497C414.103 99.828 415.3 96.3716 415.3 92.128C415.3 87.816 414.103 84.3253 411.707 81.656C409.311 78.9867 406.197 77.652 402.364 77.652C398.531 77.652 395.417 78.9867 393.022 81.656C390.626 84.3253 389.428 87.816 389.428 92.128C389.428 96.3716 390.626 99.828 393.022 102.497C395.417 105.167 398.531 106.501 402.364 106.501ZM462.12 118.821C456.918 118.821 452.229 117.692 448.054 115.433C443.879 113.106 440.628 109.924 438.301 105.885C435.974 101.779 434.81 97.1929 434.81 92.128C434.81 87.0631 435.974 82.5116 438.301 78.4733C440.628 74.3667 443.879 71.184 448.054 68.9253C452.229 66.5982 456.918 65.4347 462.12 65.4347C467.321 65.4347 472.01 66.5982 476.185 68.9253C480.36 71.184 483.611 74.3667 485.938 78.4733C488.265 82.5116 489.429 87.0631 489.429 92.128C489.429 97.1929 488.265 101.779 485.938 105.885C483.611 109.924 480.36 113.106 476.185 115.433C472.01 117.692 467.321 118.821 462.12 118.821ZM462.12 106.501C465.952 106.501 469.067 105.167 471.462 102.497C473.858 99.828 475.056 96.3716 475.056 92.128C475.056 87.816 473.858 84.3253 471.462 81.656C469.067 78.9867 465.952 77.652 462.12 77.652C458.287 77.652 455.172 78.9867 452.777 81.656C450.381 84.3253 449.184 87.816 449.184 92.128C449.184 96.3716 450.381 99.828 452.777 102.497C455.172 105.167 458.287 106.501 462.12 106.501ZM512.327 118H498.056V43.772H512.327V118ZM542.494 118.821C536.129 118.821 530.961 117.179 526.991 113.893C523.09 110.54 521.002 106.091 520.729 100.547H533.049C533.322 102.874 534.281 104.722 535.923 106.091C537.634 107.391 539.825 108.041 542.494 108.041C544.684 108.041 546.464 107.562 547.833 106.604C549.27 105.646 549.989 104.448 549.989 103.011C549.989 101.094 549.167 99.7596 547.525 99.0067C545.882 98.2538 543.281 97.5693 539.722 96.9533C536.026 96.2689 533.014 95.516 530.687 94.6947C528.36 93.8733 526.341 92.4018 524.63 90.28C522.987 88.0898 522.166 85.0098 522.166 81.04C522.166 78.0284 522.953 75.3591 524.527 73.032C526.17 70.6364 528.394 68.7884 531.201 67.488C534.007 66.1191 537.155 65.4347 540.646 65.4347C546.874 65.4347 551.905 66.9747 555.738 70.0547C559.639 73.1347 561.727 77.2071 562.001 82.272H549.578C549.304 80.1502 548.312 78.5076 546.601 77.344C544.958 76.112 543.11 75.496 541.057 75.496C539.003 75.496 537.361 75.9409 536.129 76.8307C534.897 77.7204 534.281 78.9524 534.281 80.5267C534.281 82.4431 535.068 83.7436 536.642 84.428C538.285 85.044 540.851 85.5916 544.342 86.0707C548.106 86.6182 551.186 87.3027 553.582 88.124C556.046 88.8769 558.168 90.3827 559.947 92.6413C561.727 94.9 562.617 98.1853 562.617 102.497C562.617 107.425 560.769 111.395 557.073 114.407C553.445 117.35 548.585 118.821 542.494 118.821Z" fill="currentColor"></path>', 2)
2785
2787
  ])]);
2786
2788
  }
2787
- const y1 = /* @__PURE__ */ _e(g1, [["render", x1]]), b1 = {
2789
+ const x1 = /* @__PURE__ */ _e(h1, [["render", C1]]), y1 = {
2788
2790
  "h-full": "",
2789
2791
  "w-full": "",
2790
2792
  flex: "",
2791
2793
  "items-center": ""
2792
- }, _1 = {
2794
+ }, b1 = {
2793
2795
  flex: "~ col gap2",
2794
2796
  ma: "",
2795
2797
  "px-5": ""
2796
- }, w1 = {
2798
+ }, _1 = {
2797
2799
  flex: "~ col",
2798
2800
  "mt-20": "",
2799
2801
  "items-center": ""
2800
- }, k1 = {
2802
+ }, w1 = {
2801
2803
  flex: "~",
2802
2804
  "mt--10": "",
2803
2805
  "items-center": "",
2804
2806
  "justify-center": ""
2805
- }, I1 = { flex: "~ gap2 wrap" }, $1 = /* @__PURE__ */ F({
2807
+ }, k1 = { flex: "~ gap2 wrap" }, I1 = /* @__PURE__ */ Z({
2806
2808
  __name: "About",
2807
2809
  setup(e) {
2808
- const t = Le();
2809
- return (o, n) => (c(), m("div", b1, [
2810
- u("div", _1, [
2810
+ const t = Me();
2811
+ return (o, n) => (c(), h("div", y1, [
2812
+ u("div", b1, [
2811
2813
  n[5] || (n[5] = u("div", { "flex-auto": "" }, null, -1)),
2812
- u("div", w1, [
2813
- u("div", k1, [
2814
- b(y1, { "h-18": "" })
2814
+ u("div", _1, [
2815
+ u("div", w1, [
2816
+ y(x1, { "h-18": "" })
2815
2817
  ]),
2816
2818
  n[2] || (n[2] = u("div", {
2817
2819
  mb6: "",
@@ -2824,7 +2826,7 @@ const y1 = /* @__PURE__ */ _e(g1, [["render", x1]]), b1 = {
2824
2826
  ], -1))
2825
2827
  ]),
2826
2828
  n[6] || (n[6] = u("div", { "flex-auto": "" }, null, -1)),
2827
- u("div", I1, [
2829
+ u("div", k1, [
2828
2830
  u("div", {
2829
2831
  flex: "~ col auto",
2830
2832
  "min-w-40": "",
@@ -2887,24 +2889,24 @@ const y1 = /* @__PURE__ */ _e(g1, [["render", x1]]), b1 = {
2887
2889
  ])
2888
2890
  ]));
2889
2891
  }
2890
- }), S1 = { class: "h-full flex flex-col" }, T1 = /* @__PURE__ */ F({
2892
+ }), $1 = { class: "h-full flex flex-col" }, S1 = /* @__PURE__ */ Z({
2891
2893
  __name: "Settings",
2892
2894
  setup(e) {
2893
- const t = ge("pluginSettings"), o = S(() => t.value.options), n = S(() => t.value.values);
2895
+ const t = xe("pluginSettings"), o = $(() => t.value.options), n = $(() => t.value.values);
2894
2896
  function l(s) {
2895
2897
  t.value = s;
2896
2898
  }
2897
- return (s, p) => (c(), m("div", S1, [
2898
- b(Te, {
2899
+ return (s, p) => (c(), h("div", $1, [
2900
+ y(Ve, {
2899
2901
  "doc-link": "https://pinia.vuejs.org/",
2900
2902
  "github-repo-link": "https://github.com/vuejs/pinia"
2901
2903
  }, {
2902
2904
  default: M(() => [
2903
- b(Ee)
2905
+ y(Ne)
2904
2906
  ]),
2905
2907
  _: 1
2906
2908
  }),
2907
- b(en, {
2909
+ y(Qt, {
2908
2910
  "plugin-id": "dev.esm.pinia",
2909
2911
  options: o.value,
2910
2912
  values: n.value,
@@ -2912,157 +2914,157 @@ const y1 = /* @__PURE__ */ _e(g1, [["render", x1]]), b1 = {
2912
2914
  }, null, 8, ["options", "values"])
2913
2915
  ]));
2914
2916
  }
2915
- }), E1 = "dev.esm.pinia", tn = "pinia", V1 = { class: "h-full flex flex-col" }, N1 = { class: "h-full flex flex-col p2" }, A1 = {
2917
+ }), T1 = "dev.esm.pinia", en = "pinia", E1 = { class: "h-full flex flex-col" }, V1 = { class: "h-full flex flex-col p2" }, N1 = {
2916
2918
  class: "grid grid-cols-[1fr_auto] mb1 items-center gap2 pb1",
2917
2919
  border: "b dashed base"
2918
- }, R1 = {
2920
+ }, A1 = {
2919
2921
  key: 0,
2920
2922
  class: "flex items-center gap-2 px-1"
2921
- }, D1 = ["onClick"], P1 = { class: "no-scrollbar flex-1 select-none overflow-scroll" }, L1 = { class: "h-full flex flex-col p2" }, M1 = {
2923
+ }, R1 = ["onClick"], D1 = { class: "no-scrollbar flex-1 select-none overflow-scroll" }, P1 = { class: "h-full flex flex-col p2" }, L1 = {
2922
2924
  class: "grid grid-cols-[1fr_auto] mb1 items-center gap2 pb1",
2923
2925
  border: "b dashed base"
2924
- }, H1 = {
2926
+ }, M1 = {
2925
2927
  key: 0,
2926
2928
  class: "flex items-center gap-2 px-1"
2927
- }, O1 = ["onClick"], U1 = /* @__PURE__ */ F({
2929
+ }, H1 = ["onClick"], O1 = /* @__PURE__ */ Z({
2928
2930
  __name: "Index",
2929
2931
  setup(e) {
2930
- const { expanded: t } = xe(), { expanded: o } = xe("pinia-store-state"), n = tn, l = E([]), s = E([]), p = be(), i = E(""), r = E([]), f = S(() => r.value?.length ? P(r.value?.[0]) : []), v = S(() => w(r.value)), d = S(() => v.value.map((k) => k.id)), h = E({}), T = E(""), A = E("");
2931
- te(T, (k, g) => {
2932
- !k.trim().length && !g.trim().length || oe(k);
2932
+ const { expanded: t } = Ce(), { expanded: o } = Ce("pinia-store-state"), n = en, l = V([]), s = V([]), p = be(), i = V(""), r = V([]), f = $(() => r.value?.length ? N(r.value?.[0]) : []), m = $(() => w(r.value)), d = $(() => m.value.map((I) => I.id)), g = V({}), T = V(""), R = V("");
2933
+ te(T, (I, v) => {
2934
+ !I.trim().length && !v.trim().length || ne(I);
2933
2935
  });
2934
- const $ = S(() => tt({
2935
- state: h.value,
2936
- filterKey: A.value
2937
- })), I = S(() => !h.value.state?.length && !h.value.getters?.length);
2938
- function P(k, g = [], y = []) {
2939
- return g.push(k.id), k.children?.length === 0 && y.push([...g]), Array.isArray(k.children) && k.children.forEach((D) => {
2940
- P(D, g, y);
2941
- }), g.pop(), y;
2942
- }
2943
- function N(k, g) {
2944
- const y = [];
2945
- return k?.forEach((D) => {
2946
- y.push(...D.slice(0, g + 1));
2947
- }), [...new Set(y)];
2948
- }
2949
- function w(k) {
2950
- const g = [], y = (D) => {
2951
- D?.forEach((Z) => {
2952
- g.push(Z), Z.children?.length && y(Z.children);
2936
+ const k = $(() => tt({
2937
+ state: g.value,
2938
+ filterKey: R.value
2939
+ })), S = $(() => !g.value.state?.length && !g.value.getters?.length);
2940
+ function N(I, v = [], C = []) {
2941
+ return v.push(I.id), I.children?.length === 0 && C.push([...v]), Array.isArray(I.children) && I.children.forEach((P) => {
2942
+ N(P, v, C);
2943
+ }), v.pop(), C;
2944
+ }
2945
+ function A(I, v) {
2946
+ const C = [];
2947
+ return I?.forEach((P) => {
2948
+ C.push(...P.slice(0, v + 1));
2949
+ }), [...new Set(C)];
2950
+ }
2951
+ function w(I) {
2952
+ const v = [], C = (P) => {
2953
+ P?.forEach((z) => {
2954
+ v.push(z), z.children?.length && C(z.children);
2953
2955
  });
2954
2956
  };
2955
- return y(k), g;
2957
+ return C(I), v;
2956
2958
  }
2957
- function R() {
2958
- V.value.getInspectorNodeActions(n).then((k) => {
2959
- l.value = k;
2959
+ function D() {
2960
+ E.value.getInspectorNodeActions(n).then((I) => {
2961
+ l.value = I;
2960
2962
  });
2961
2963
  }
2962
- function B() {
2963
- V.value.getInspectorActions(n).then((k) => {
2964
- s.value = k;
2964
+ function j() {
2965
+ E.value.getInspectorActions(n).then((I) => {
2966
+ s.value = I;
2965
2967
  });
2966
2968
  }
2967
- R(), B();
2968
- function G(k) {
2969
- V.value.callInspectorNodeAction(n, k, i.value);
2969
+ D(), j();
2970
+ function K(I) {
2971
+ E.value.callInspectorNodeAction(n, I, i.value);
2970
2972
  }
2971
- function W(k) {
2972
- V.value.callInspectorAction(n, k);
2973
+ function G(I) {
2974
+ E.value.callInspectorAction(n, I);
2973
2975
  }
2974
- function O(k) {
2975
- for (const g in k)
2976
- k[g]?.length || delete k[g];
2977
- return k;
2976
+ function O(I) {
2977
+ for (const v in I)
2978
+ I[v]?.length || delete I[v];
2979
+ return I;
2978
2980
  }
2979
- function C(k) {
2980
- V.value.getInspectorState({ inspectorId: n, nodeId: k }).then((g) => {
2981
- const y = ne(g);
2982
- y && (h.value = O(y), o.value = Array.from({ length: Object.keys(h.value).length }, (D, Z) => `${Z}`));
2981
+ function _(I) {
2982
+ E.value.getInspectorState({ inspectorId: n, nodeId: I }).then((v) => {
2983
+ const C = le(v);
2984
+ C && (g.value = O(C), o.value = Array.from({ length: Object.keys(g.value).length }, (P, z) => `${z}`));
2983
2985
  });
2984
2986
  }
2985
- function U() {
2986
- h.value = {};
2987
+ function H() {
2988
+ g.value = {};
2987
2989
  }
2988
2990
  te(i, () => {
2989
- U(), C(i.value);
2991
+ H(), _(i.value);
2990
2992
  });
2991
- function oe(k = "") {
2992
- V.value.getInspectorTree({ inspectorId: n, filter: k }).then((g) => {
2993
- const y = ne(g);
2994
- r.value = y, !i.value && y.length && (i.value = y[0].id, C(y[0].id), t.value = N(f.value, 1));
2993
+ function ne(I = "") {
2994
+ E.value.getInspectorTree({ inspectorId: n, filter: I }).then((v) => {
2995
+ const C = le(v);
2996
+ r.value = C, !i.value && C.length && (i.value = C[0].id, _(C[0].id), t.value = A(f.value, 1));
2995
2997
  });
2996
2998
  }
2997
- oe();
2998
- function se(k) {
2999
- const g = ne(k);
3000
- g.inspectorId !== n || !g.rootNodes.length || (r.value = g.rootNodes, d.value.includes(i.value) || (i.value = g.rootNodes[0].id, t.value = N(f.value, 1), C(g.rootNodes[0].id)));
2999
+ ne();
3000
+ function ae(I) {
3001
+ const v = le(I);
3002
+ v.inspectorId !== n || !v.rootNodes.length || (r.value = v.rootNodes, d.value.includes(i.value) || (i.value = v.rootNodes[0].id, t.value = A(f.value, 1), _(v.rootNodes[0].id)));
3001
3003
  }
3002
- function H(k) {
3003
- const g = ne(k);
3004
- if (g.inspectorId !== n)
3004
+ function W(I) {
3005
+ const v = le(I);
3006
+ if (v.inspectorId !== n)
3005
3007
  return;
3006
- const y = g.state;
3007
- y && (h.value = O({
3008
- state: y.state,
3009
- getters: y.getters
3008
+ const C = v.state;
3009
+ C && (g.value = O({
3010
+ state: C.state,
3011
+ getters: C.getters
3010
3012
  }));
3011
3013
  }
3012
- return V.functions.on(X.INSPECTOR_TREE_UPDATED, se), V.functions.on(X.INSPECTOR_STATE_UPDATED, H), ke(() => {
3013
- V.functions.off(X.INSPECTOR_TREE_UPDATED, se), V.functions.off(X.INSPECTOR_STATE_UPDATED, H);
3014
- }), (k, g) => (c(), m("div", V1, [
3015
- b(Te, {
3014
+ return E.functions.on(X.INSPECTOR_TREE_UPDATED, ae), E.functions.on(X.INSPECTOR_STATE_UPDATED, W), Ie(() => {
3015
+ E.functions.off(X.INSPECTOR_TREE_UPDATED, ae), E.functions.off(X.INSPECTOR_STATE_UPDATED, W);
3016
+ }), (I, v) => (c(), h("div", E1, [
3017
+ y(Ve, {
3016
3018
  "doc-link": "https://pinia.vuejs.org/",
3017
3019
  "github-repo-link": "https://github.com/vuejs/pinia"
3018
3020
  }, {
3019
3021
  default: M(() => [
3020
- b(Ee)
3022
+ y(Ne)
3021
3023
  ]),
3022
3024
  _: 1
3023
3025
  }),
3024
- b(a(Pe), { class: "flex-1 overflow-auto" }, {
3026
+ y(a(Le), { class: "flex-1 overflow-auto" }, {
3025
3027
  default: M(() => [
3026
- b(a(de), {
3028
+ y(a(de), {
3027
3029
  border: "r base",
3028
3030
  size: "40",
3029
3031
  "h-full": ""
3030
3032
  }, {
3031
3033
  default: M(() => [
3032
- u("div", N1, [
3033
- u("div", A1, [
3034
- b(a(Ce), {
3034
+ u("div", V1, [
3035
+ u("div", N1, [
3036
+ y(a(ge), {
3035
3037
  modelValue: T.value,
3036
- "onUpdate:modelValue": g[0] || (g[0] = (y) => T.value = y),
3038
+ "onUpdate:modelValue": v[0] || (v[0] = (C) => T.value = C),
3037
3039
  placeholder: a(p).treeFilterPlaceholder
3038
3040
  }, null, 8, ["modelValue", "placeholder"]),
3039
- s.value?.length ? (c(), m("div", R1, [
3040
- (c(!0), m(le, null, ce(s.value, (y, D) => q((c(), m("div", {
3041
- key: D,
3041
+ s.value?.length ? (c(), h("div", A1, [
3042
+ (c(!0), h(se, null, ce(s.value, (C, P) => q((c(), h("div", {
3043
+ key: P,
3042
3044
  class: "flex items-center gap1",
3043
- onClick: (Z) => W(D)
3045
+ onClick: (z) => G(P)
3044
3046
  }, [
3045
3047
  u("i", {
3046
- class: ie(`i-ic-baseline-${y.icon.replace(/\_/g, "-")}`),
3048
+ class: ie(`i-ic-baseline-${C.icon.replace(/\_/g, "-")}`),
3047
3049
  "cursor-pointer": "",
3048
3050
  "text-base": "",
3049
3051
  op70: "",
3050
3052
  "hover:op100": ""
3051
3053
  }, null, 2)
3052
- ], 8, D1)), [
3054
+ ], 8, R1)), [
3053
3055
  [
3054
- a(Y),
3055
- { content: y.tooltip },
3056
+ a(J),
3057
+ { content: C.tooltip },
3056
3058
  void 0,
3057
3059
  { "bottom-end": !0 }
3058
3060
  ]
3059
3061
  ])), 128))
3060
- ])) : j("", !0)
3062
+ ])) : U("", !0)
3061
3063
  ]),
3062
- u("div", P1, [
3063
- b(Oe, {
3064
+ u("div", D1, [
3065
+ y(Ue, {
3064
3066
  modelValue: i.value,
3065
- "onUpdate:modelValue": g[1] || (g[1] = (y) => i.value = y),
3067
+ "onUpdate:modelValue": v[1] || (v[1] = (C) => i.value = C),
3066
3068
  data: r.value
3067
3069
  }, null, 8, ["modelValue", "data"])
3068
3070
  ])
@@ -3070,47 +3072,47 @@ const y1 = /* @__PURE__ */ _e(g1, [["render", x1]]), b1 = {
3070
3072
  ]),
3071
3073
  _: 1
3072
3074
  }),
3073
- b(a(de), { size: "60" }, {
3075
+ y(a(de), { size: "60" }, {
3074
3076
  default: M(() => [
3075
- u("div", L1, [
3076
- u("div", M1, [
3077
- b(a(Ce), {
3078
- modelValue: A.value,
3079
- "onUpdate:modelValue": g[2] || (g[2] = (y) => A.value = y),
3077
+ u("div", P1, [
3078
+ u("div", L1, [
3079
+ y(a(ge), {
3080
+ modelValue: R.value,
3081
+ "onUpdate:modelValue": v[2] || (v[2] = (C) => R.value = C),
3080
3082
  placeholder: a(p).stateFilterPlaceholder
3081
3083
  }, null, 8, ["modelValue", "placeholder"]),
3082
- l.value?.length ? (c(), m("div", H1, [
3083
- (c(!0), m(le, null, ce(l.value, (y, D) => q((c(), m("div", {
3084
- key: D,
3084
+ l.value?.length ? (c(), h("div", M1, [
3085
+ (c(!0), h(se, null, ce(l.value, (C, P) => q((c(), h("div", {
3086
+ key: P,
3085
3087
  class: "flex items-center gap1",
3086
- onClick: (Z) => G(D)
3088
+ onClick: (z) => K(P)
3087
3089
  }, [
3088
3090
  u("i", {
3089
- class: ie(`i-ic-baseline-${y.icon.replace(/\_/g, "-")}`),
3091
+ class: ie(`i-ic-baseline-${C.icon.replace(/\_/g, "-")}`),
3090
3092
  "cursor-pointer": "",
3091
3093
  "text-base": "",
3092
3094
  op70: "",
3093
3095
  "hover:op100": ""
3094
3096
  }, null, 2)
3095
- ], 8, O1)), [
3097
+ ], 8, H1)), [
3096
3098
  [
3097
- a(Y),
3098
- { content: y.tooltip },
3099
+ a(J),
3100
+ { content: C.tooltip },
3099
3101
  void 0,
3100
3102
  { "bottom-end": !0 }
3101
3103
  ]
3102
3104
  ])), 128))
3103
- ])) : j("", !0)
3105
+ ])) : U("", !0)
3104
3106
  ]),
3105
- i.value && !I.value ? (c(), z(He, {
3107
+ i.value && !S.value ? (c(), B(Oe, {
3106
3108
  key: 0,
3107
3109
  class: "no-scrollbar flex-1 overflow-scroll",
3108
- data: $.value,
3110
+ data: k.value,
3109
3111
  "node-id": i.value,
3110
3112
  "inspector-id": a(n),
3111
3113
  "expanded-state-id": "pinia-store-state"
3112
- }, null, 8, ["data", "node-id", "inspector-id"])) : (c(), z($e, { key: 1 }, {
3113
- default: M(() => [...g[3] || (g[3] = [
3114
+ }, null, 8, ["data", "node-id", "inspector-id"])) : (c(), B(Te, { key: 1 }, {
3115
+ default: M(() => [...v[3] || (v[3] = [
3114
3116
  Q(" No Data ", -1)
3115
3117
  ])]),
3116
3118
  _: 1
@@ -3124,73 +3126,73 @@ const y1 = /* @__PURE__ */ _e(g1, [["render", x1]]), b1 = {
3124
3126
  })
3125
3127
  ]));
3126
3128
  }
3127
- }), j1 = "dev.esm.pinia", z1 = /* @__PURE__ */ F({
3129
+ }), U1 = "dev.esm.pinia", j1 = /* @__PURE__ */ Z({
3128
3130
  __name: "Index",
3129
3131
  setup(e) {
3130
3132
  const t = ["pinia:mutations"];
3131
- return (o, n) => (c(), z(ct, {
3133
+ return (o, n) => (c(), B(ct, {
3132
3134
  "layer-ids": t,
3133
3135
  "doc-link": "https://pinia.vuejs.org/",
3134
- "plugin-id": j1,
3136
+ "plugin-id": U1,
3135
3137
  "github-repo-link": "https://github.com/vuejs/pinia"
3136
3138
  }));
3137
3139
  }
3138
- }), B1 = {
3140
+ }), z1 = {
3139
3141
  "h-full": "",
3140
3142
  "w-full": ""
3141
- }, ys = /* @__PURE__ */ F({
3143
+ }, xs = /* @__PURE__ */ Z({
3142
3144
  __name: "index",
3143
3145
  setup(e) {
3144
- const t = E(null);
3146
+ const t = V(null);
3145
3147
  ye("pluginSettings", t);
3146
- const o = S(() => [
3148
+ const o = $(() => [
3147
3149
  {
3148
3150
  path: "/store",
3149
3151
  name: "Store",
3150
- component: U1,
3152
+ component: O1,
3151
3153
  icon: "i-carbon-tree-view-alt"
3152
3154
  },
3153
3155
  {
3154
3156
  path: "/timeline",
3155
3157
  name: "Timeline",
3156
- component: z1,
3158
+ component: j1,
3157
3159
  icon: "i-mdi:timeline-clock-outline"
3158
3160
  },
3159
3161
  {
3160
3162
  path: "/",
3161
3163
  name: "About",
3162
- component: $1,
3164
+ component: I1,
3163
3165
  icon: "i-logos-pinia"
3164
3166
  },
3165
3167
  t.value && {
3166
3168
  path: "/settings",
3167
3169
  name: "Settings",
3168
- component: T1,
3170
+ component: S1,
3169
3171
  icon: "i-mdi:cog-outline"
3170
3172
  }
3171
3173
  ].filter(Boolean)), { VirtualRouterView: n } = ot(o, {
3172
3174
  defaultRoutePath: "/store"
3173
3175
  }), l = dt();
3174
- return De(() => {
3175
- V.value.getPluginSettings(E1).then((s) => {
3176
+ return Pe(() => {
3177
+ E.value.getPluginSettings(T1).then((s) => {
3176
3178
  s.options ? t.value = s : t.value = null;
3177
- }), V.value.getInspectorInfo(tn).then((s) => {
3179
+ }), E.value.getInspectorInfo(en).then((s) => {
3178
3180
  s && (l.value = {
3179
3181
  stateFilterPlaceholder: s.stateFilterPlaceholder,
3180
3182
  treeFilterPlaceholder: s.treeFilterPlaceholder
3181
3183
  });
3182
3184
  });
3183
- }), (s, p) => (c(), m("div", B1, [
3184
- b(a(n))
3185
+ }), (s, p) => (c(), h("div", z1, [
3186
+ y(a(n))
3185
3187
  ]));
3186
3188
  }
3187
- }), Z1 = {}, F1 = {
3189
+ }), B1 = {}, Z1 = {
3188
3190
  viewBox: "0 0 566 154",
3189
3191
  fill: "none",
3190
3192
  xmlns: "http://www.w3.org/2000/svg"
3191
3193
  };
3192
- function K1(e, t) {
3193
- return c(), m("svg", F1, [...t[0] || (t[0] = [
3194
+ function F1(e, t) {
3195
+ return c(), h("svg", Z1, [...t[0] || (t[0] = [
3194
3196
  u("svg", {
3195
3197
  xmlns: "http://www.w3.org/2000/svg",
3196
3198
  width: "8em",
@@ -3208,34 +3210,34 @@ function K1(e, t) {
3208
3210
  }, null, -1)
3209
3211
  ])]);
3210
3212
  }
3211
- const G1 = /* @__PURE__ */ _e(Z1, [["render", K1]]), W1 = {
3213
+ const K1 = /* @__PURE__ */ _e(B1, [["render", F1]]), G1 = {
3212
3214
  "h-full": "",
3213
3215
  "w-full": "",
3214
3216
  flex: "",
3215
3217
  "items-center": ""
3216
- }, q1 = {
3218
+ }, W1 = {
3217
3219
  flex: "~ col gap2",
3218
3220
  ma: "",
3219
3221
  "px-5": ""
3220
- }, J1 = {
3222
+ }, q1 = {
3221
3223
  flex: "~ col",
3222
3224
  "mt-20": "",
3223
3225
  "items-center": ""
3224
- }, Y1 = {
3226
+ }, J1 = {
3225
3227
  flex: "~",
3226
3228
  "mt--10": "",
3227
3229
  "items-center": "",
3228
3230
  "justify-center": ""
3229
- }, X1 = { flex: "~ gap2 wrap" }, Q1 = /* @__PURE__ */ F({
3231
+ }, Y1 = { flex: "~ gap2 wrap" }, X1 = /* @__PURE__ */ Z({
3230
3232
  __name: "About",
3231
3233
  setup(e) {
3232
- const t = Le();
3233
- return (o, n) => (c(), m("div", W1, [
3234
- u("div", q1, [
3234
+ const t = Me();
3235
+ return (o, n) => (c(), h("div", G1, [
3236
+ u("div", W1, [
3235
3237
  n[5] || (n[5] = u("div", { "flex-auto": "" }, null, -1)),
3236
- u("div", J1, [
3237
- u("div", Y1, [
3238
- b(G1, { "h-18": "" })
3238
+ u("div", q1, [
3239
+ u("div", J1, [
3240
+ y(K1, { "h-18": "" })
3239
3241
  ]),
3240
3242
  n[2] || (n[2] = u("div", {
3241
3243
  mb6: "",
@@ -3248,7 +3250,7 @@ const G1 = /* @__PURE__ */ _e(Z1, [["render", K1]]), W1 = {
3248
3250
  ], -1))
3249
3251
  ]),
3250
3252
  n[6] || (n[6] = u("div", { "flex-auto": "" }, null, -1)),
3251
- u("div", X1, [
3253
+ u("div", Y1, [
3252
3254
  u("div", {
3253
3255
  flex: "~ col auto",
3254
3256
  "min-w-40": "",
@@ -3311,137 +3313,137 @@ const G1 = /* @__PURE__ */ _e(Z1, [["render", K1]]), W1 = {
3311
3313
  ])
3312
3314
  ]));
3313
3315
  }
3314
- }), es = { class: "h-full flex flex-col" }, ts = {
3316
+ }), Q1 = { class: "h-full flex flex-col" }, es = {
3315
3317
  "h-full": "",
3316
3318
  "select-none": "",
3317
3319
  "overflow-scroll": "",
3318
3320
  p2: "",
3319
3321
  class: "no-scrollbar"
3320
- }, ns = { class: "pb2" }, os = {
3322
+ }, ts = { class: "pb2" }, ns = {
3321
3323
  "h-full": "",
3322
3324
  "overflow-scroll": "",
3323
3325
  class: "no-scrollbar"
3324
- }, ls = /* @__PURE__ */ F({
3326
+ }, os = /* @__PURE__ */ Z({
3325
3327
  __name: "Index",
3326
3328
  setup(e) {
3327
- const { expanded: t } = xe(), { expanded: o } = xe("routes-state"), n = be(), l = S(() => n.value.id), s = E(""), p = E(""), [i, r] = /* @__PURE__ */ Wt(!0), f = E([]), v = S(() => f.value?.length ? A(f.value?.[0]) : []), d = S(() => I(f.value)), h = S(() => d.value.map((O) => O.id)), T = E({});
3328
- function A(O, C = [], U = []) {
3329
- return C.push(O.id), O.children?.length === 0 && U.push([...C]), Array.isArray(O.children) && O.children.forEach((oe) => {
3330
- A(oe, C, U);
3331
- }), C.pop(), U;
3332
- }
3333
- function $(O, C) {
3334
- const U = [];
3335
- return O?.forEach((oe) => {
3336
- U.push(...oe.slice(0, C + 1));
3337
- }), [...new Set(U)];
3338
- }
3339
- function I(O) {
3340
- const C = [], U = (oe) => {
3341
- oe?.forEach((se) => {
3342
- C.push(se), se.children?.length && U(se.children);
3329
+ const { expanded: t } = Ce(), { expanded: o } = Ce("routes-state"), n = be(), l = $(() => n.value.id), s = V(""), p = V(""), [i, r] = /* @__PURE__ */ Wt(!0), f = V([]), m = $(() => f.value?.length ? R(f.value?.[0]) : []), d = $(() => S(f.value)), g = $(() => d.value.map((O) => O.id)), T = V({});
3330
+ function R(O, _ = [], H = []) {
3331
+ return _.push(O.id), O.children?.length === 0 && H.push([..._]), Array.isArray(O.children) && O.children.forEach((ne) => {
3332
+ R(ne, _, H);
3333
+ }), _.pop(), H;
3334
+ }
3335
+ function k(O, _) {
3336
+ const H = [];
3337
+ return O?.forEach((ne) => {
3338
+ H.push(...ne.slice(0, _ + 1));
3339
+ }), [...new Set(H)];
3340
+ }
3341
+ function S(O) {
3342
+ const _ = [], H = (ne) => {
3343
+ ne?.forEach((ae) => {
3344
+ _.push(ae), ae.children?.length && H(ae.children);
3343
3345
  });
3344
3346
  };
3345
- return U(O), C;
3347
+ return H(O), _;
3346
3348
  }
3347
- function P(O) {
3348
- for (const C in O)
3349
- O[C]?.length || delete O[C];
3349
+ function N(O) {
3350
+ for (const _ in O)
3351
+ O[_]?.length || delete O[_];
3350
3352
  return O;
3351
3353
  }
3352
- function N(O) {
3353
- V.value.getInspectorState({ inspectorId: l.value, nodeId: O }).then((C) => {
3354
- const U = ne(C);
3355
- U && (T.value = P(U), o.value = Array.from({ length: Object.keys(T.value).length }, (oe, se) => `${se}`));
3354
+ function A(O) {
3355
+ E.value.getInspectorState({ inspectorId: l.value, nodeId: O }).then((_) => {
3356
+ const H = le(_);
3357
+ H && (T.value = N(H), o.value = Array.from({ length: Object.keys(T.value).length }, (ne, ae) => `${ae}`));
3356
3358
  });
3357
3359
  }
3358
3360
  function w() {
3359
3361
  T.value = {};
3360
3362
  }
3361
3363
  te(s, () => {
3362
- w(), N(s.value);
3364
+ w(), A(s.value);
3363
3365
  });
3364
- const R = async (O = "") => {
3365
- await V.value.getInspectorTree({ inspectorId: l.value, filter: O }).then((C) => {
3366
- const U = ne(C);
3367
- f.value = U, !s.value && U.length && (s.value = U[0].id, N(U[0].id), t.value = $(v.value, 1));
3366
+ const D = async (O = "") => {
3367
+ await E.value.getInspectorTree({ inspectorId: l.value, filter: O }).then((_) => {
3368
+ const H = le(_);
3369
+ f.value = H, !s.value && H.length && (s.value = H[0].id, A(H[0].id), t.value = k(m.value, 1));
3368
3370
  });
3369
3371
  };
3370
3372
  Gt(l).toBeTruthy().then(() => {
3371
- R();
3373
+ D();
3372
3374
  });
3373
- function B(O) {
3374
- const C = ne(O);
3375
- C.inspectorId !== l.value || !C.rootNodes.length || (f.value = C.rootNodes, h.value.includes(s.value) || (s.value = C.rootNodes[0].id, t.value = $(v.value, 1), N(C.rootNodes[0].id)));
3375
+ function j(O) {
3376
+ const _ = le(O);
3377
+ _.inspectorId !== l.value || !_.rootNodes.length || (f.value = _.rootNodes, g.value.includes(s.value) || (s.value = _.rootNodes[0].id, t.value = k(m.value, 1), A(_.rootNodes[0].id)));
3376
3378
  }
3377
- function G(O) {
3378
- const C = ne(O);
3379
- if (C.inspectorId !== l.value)
3379
+ function K(O) {
3380
+ const _ = le(O);
3381
+ if (_.inspectorId !== l.value)
3380
3382
  return;
3381
- const U = C.state;
3382
- T.value = P(U);
3383
+ const H = _.state;
3384
+ T.value = N(H);
3383
3385
  }
3384
- V.functions.on(X.INSPECTOR_TREE_UPDATED, B), V.functions.on(X.INSPECTOR_STATE_UPDATED, G), ke(() => {
3385
- V.functions.off(X.INSPECTOR_TREE_UPDATED, B), V.functions.off(X.INSPECTOR_STATE_UPDATED, G);
3386
+ E.functions.on(X.INSPECTOR_TREE_UPDATED, j), E.functions.on(X.INSPECTOR_STATE_UPDATED, K), Ie(() => {
3387
+ E.functions.off(X.INSPECTOR_TREE_UPDATED, j), E.functions.off(X.INSPECTOR_STATE_UPDATED, K);
3386
3388
  });
3387
- function W(O) {
3388
- const C = O.trim().toLowerCase();
3389
- r(), R(C).then(() => {
3389
+ function G(O) {
3390
+ const _ = O.trim().toLowerCase();
3391
+ r(), D(_).then(() => {
3390
3392
  r();
3391
3393
  });
3392
3394
  }
3393
3395
  return qt(p, (O) => {
3394
- W(O);
3395
- }, { debounce: 300 }), (O, C) => (c(), m("div", es, [
3396
- b(Te, {
3396
+ G(O);
3397
+ }, { debounce: 300 }), (O, _) => (c(), h("div", Q1, [
3398
+ y(Ve, {
3397
3399
  "doc-link": "https://router.vuejs.org/",
3398
3400
  "github-repo-link": "https://github.com/vuejs/router"
3399
3401
  }, {
3400
3402
  default: M(() => [
3401
- b(Ee)
3403
+ y(Ne)
3402
3404
  ]),
3403
3405
  _: 1
3404
3406
  }),
3405
- b(a(Pe), { class: "flex-1 overflow-auto" }, {
3407
+ y(a(Le), { class: "flex-1 overflow-auto" }, {
3406
3408
  default: M(() => [
3407
- b(a(de), {
3409
+ y(a(de), {
3408
3410
  border: "r base",
3409
3411
  size: "40",
3410
3412
  "h-full": ""
3411
3413
  }, {
3412
3414
  default: M(() => [
3413
- u("div", ts, [
3414
- u("div", ns, [
3415
- b(a(Ce), {
3415
+ u("div", es, [
3416
+ u("div", ts, [
3417
+ y(a(ge), {
3416
3418
  modelValue: p.value,
3417
- "onUpdate:modelValue": C[0] || (C[0] = (U) => p.value = U),
3419
+ "onUpdate:modelValue": _[0] || (_[0] = (H) => p.value = H),
3418
3420
  placeholder: "Search routes",
3419
3421
  loading: !a(i),
3420
3422
  "loading-debounce-time": 250,
3421
3423
  class: "text-3.5"
3422
3424
  }, null, 8, ["modelValue", "loading"])
3423
3425
  ]),
3424
- b(Oe, {
3426
+ y(Ue, {
3425
3427
  modelValue: s.value,
3426
- "onUpdate:modelValue": C[1] || (C[1] = (U) => s.value = U),
3428
+ "onUpdate:modelValue": _[1] || (_[1] = (H) => s.value = H),
3427
3429
  data: f.value
3428
3430
  }, null, 8, ["modelValue", "data"])
3429
3431
  ])
3430
3432
  ]),
3431
3433
  _: 1
3432
3434
  }),
3433
- b(a(de), { size: "60" }, {
3435
+ y(a(de), { size: "60" }, {
3434
3436
  default: M(() => [
3435
- u("div", os, [
3436
- s.value ? (c(), z(He, {
3437
+ u("div", ns, [
3438
+ s.value ? (c(), B(Oe, {
3437
3439
  key: 0,
3438
3440
  class: "p3",
3439
3441
  data: T.value,
3440
3442
  "node-id": "",
3441
3443
  "inspector-id": "router",
3442
3444
  "expanded-state-id": "routes-state"
3443
- }, null, 8, ["data"])) : (c(), z($e, { key: 1 }, {
3444
- default: M(() => [...C[2] || (C[2] = [
3445
+ }, null, 8, ["data"])) : (c(), B(Te, { key: 1 }, {
3446
+ default: M(() => [..._[2] || (_[2] = [
3445
3447
  Q(" No Data ", -1)
3446
3448
  ])]),
3447
3449
  _: 1
@@ -3455,51 +3457,51 @@ const G1 = /* @__PURE__ */ _e(Z1, [["render", K1]]), W1 = {
3455
3457
  })
3456
3458
  ]));
3457
3459
  }
3458
- }), ss = "org.vuejs.router", as = /* @__PURE__ */ F({
3460
+ }), ls = "org.vuejs.router", ss = /* @__PURE__ */ Z({
3459
3461
  __name: "Index",
3460
3462
  setup(e) {
3461
3463
  const t = be();
3462
- return (o, n) => (c(), z(ct, {
3464
+ return (o, n) => (c(), B(ct, {
3463
3465
  "layer-ids": a(t).timelineLayerIds,
3464
3466
  "doc-link": "https://router.vuejs.org/",
3465
- "plugin-id": ss,
3467
+ "plugin-id": ls,
3466
3468
  "github-repo-link": "https://github.com/vuejs/router"
3467
3469
  }, null, 8, ["layer-ids"]));
3468
3470
  }
3469
- }), is = {
3471
+ }), as = {
3470
3472
  "h-full": "",
3471
3473
  "w-full": ""
3472
- }, bs = /* @__PURE__ */ F({
3474
+ }, ys = /* @__PURE__ */ Z({
3473
3475
  __name: "index",
3474
3476
  props: {
3475
3477
  id: {}
3476
3478
  },
3477
3479
  setup(e) {
3478
- const t = e, o = dt(), n = E(!1), { VirtualRouterView: l, restoreRouter: s } = ot([
3480
+ const t = e, o = dt(), n = V(!1), { VirtualRouterView: l, restoreRouter: s } = ot([
3479
3481
  {
3480
3482
  path: "/routes",
3481
3483
  name: "Routes",
3482
- component: ls,
3484
+ component: os,
3483
3485
  icon: "i-carbon-tree-view-alt"
3484
3486
  },
3485
3487
  {
3486
3488
  path: "/timeline",
3487
3489
  name: "Timeline",
3488
- component: as,
3490
+ component: ss,
3489
3491
  icon: "i-mdi:timeline-clock-outline"
3490
3492
  },
3491
3493
  {
3492
3494
  path: "/about",
3493
3495
  name: "About",
3494
- component: Q1,
3496
+ component: X1,
3495
3497
  icon: "i-ri-route-line"
3496
3498
  }
3497
3499
  ], {
3498
3500
  defaultRoutePath: "/routes"
3499
3501
  });
3500
3502
  function p() {
3501
- n.value = !0, De(() => {
3502
- V.value.getInspectorInfo(t.id).then((i) => {
3503
+ n.value = !0, Pe(() => {
3504
+ E.value.getInspectorInfo(t.id).then((i) => {
3503
3505
  if (!i)
3504
3506
  return;
3505
3507
  const r = {
@@ -3515,17 +3517,17 @@ const G1 = /* @__PURE__ */ _e(Z1, [["render", K1]]), W1 = {
3515
3517
  }
3516
3518
  return te(() => t.id, (i) => {
3517
3519
  i && p();
3518
- }), (i, r) => (c(), m("div", is, [
3519
- b(a(l))
3520
+ }), (i, r) => (c(), h("div", as, [
3521
+ y(a(l))
3520
3522
  ]));
3521
3523
  }
3522
3524
  });
3523
3525
  export {
3524
- Cs as Components,
3525
- xs as CustomInspector,
3526
- ys as Pinia,
3527
- bs as Router,
3528
- On as SelectiveList,
3526
+ gs as Components,
3527
+ Cs as CustomInspector,
3528
+ xs as Pinia,
3529
+ ys as Router,
3530
+ Hn as SelectiveList,
3529
3531
  ct as Timeline,
3530
- gs as useCustomInspector
3532
+ hs as useCustomInspector
3531
3533
  };