@vue/devtools-applet 7.7.1 → 7.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,9 +1,9 @@
1
- import { defineComponent as Z, withDirectives as q, openBlock as d, createElementBlock as h, normalizeStyle as Te, unref as a, createTextVNode as X, toDisplayString as ie, mergeModels as Ae, useModel as Ye, Fragment as se, renderList as de, normalizeClass as ae, createBlock as B, toValue as te, ref as S, computed as V, h as sn, provide as _e, inject as he, createElementVNode as c, renderSlot as Xe, createCommentVNode as j, isRef as Ke, getCurrentScope as an, onScopeDispose as rn, watch as ee, onMounted as Vt, nextTick as Be, readonly as un, getCurrentInstance as Qe, reactive as ht, shallowRef as gt, toRaw as Nt, mergeProps as $e, withModifiers as ve, withCtx as H, createVNode as y, watchEffect as et, onUnmounted as we, vShow as cn, createStaticVNode as dn } from "vue";
2
- import { vTooltip as J, VueButton as fe, VueIcon as ue, VueDropdown as pn, VueDropdownButton as Ct, VueInput as ge, VueIcIcon as Fe, VueCodeBlock as fn, VueDialog as vn, VueSwitch as mn, VueSelect as hn } from "@vue/devtools-ui";
3
- import { isPlainObject as gn, UNDEFINED as Rt, NAN as Cn, INFINITY as _n, NEGATIVE_INFINITY as yn, getRaw as Dt, toSubmit as ze, formatInspectorStateValue as xn, getInspectorStateValueType as _t, escape as bn, toEdit as wn, parse as oe } from "@vue/devtools-kit";
4
- import { rpc as D, useDevToolsState as At, DevToolsMessagingEvents as Y, onRpcConnected as Pe } from "@vue/devtools-core";
5
- import { Splitpanes as Me, Pane as pe } from "splitpanes";
6
- import { isArray as yt, isObject as xt, sortByKey as Pt, isInSeparateWindow as kn, isInChromePanel as bt } from "@vue/devtools-shared";
1
+ import { defineComponent as Z, withDirectives as q, createElementBlock as h, openBlock as d, normalizeStyle as Ee, unref as r, createTextVNode as Q, toDisplayString as ie, mergeModels as Ae, useModel as Xe, Fragment as se, renderList as de, normalizeClass as ae, createBlock as B, inject as ge, toValue as Y, ref as R, computed as E, h as sn, provide as ye, createElementVNode as c, renderSlot as Qe, createCommentVNode as j, isRef as Ge, shallowRef as ve, readonly as an, onMounted as Vt, nextTick as Ze, watch as te, getCurrentScope as rn, onScopeDispose as un, getCurrentInstance as et, reactive as gt, toRaw as Nt, createVNode as y, mergeProps as Se, withModifiers as me, withCtx as H, watchEffect as tt, onUnmounted as ke, vShow as cn, createStaticVNode as dn } from "vue";
2
+ import { vTooltip as J, VueButton as fe, VueIcon as ue, VueDropdown as pn, VueDropdownButton as Ct, VueInput as Ce, VueIcIcon as Ke, VueCodeBlock as fn, VueDialog as vn, VueSwitch as mn, VueSelect as hn } from "@vue/devtools-ui";
3
+ import { isPlainObject as gn, UNDEFINED as Rt, NAN as Cn, INFINITY as _n, NEGATIVE_INFINITY as yn, getRaw as Dt, toSubmit as Be, formatInspectorStateValue as xn, getInspectorStateValueType as _t, escape as bn, toEdit as wn, parse as oe } from "@vue/devtools-kit";
4
+ import { rpc as D, useDevToolsState as Pt, DevToolsMessagingEvents as X, onRpcConnected as Me } from "@vue/devtools-core";
5
+ import { Splitpanes as Le, Pane as pe } from "splitpanes";
6
+ import { isArray as yt, isObject as xt, sortByKey as At, isInSeparateWindow as kn, isInChromePanel as bt } from "@vue/devtools-shared";
7
7
  import { debounce as In } from "perfect-debounce";
8
8
  import { RecycleScroller as $n } from "vue-virtual-scroller";
9
9
  import { flatten as Sn, groupBy as Tn } from "lodash-es";
@@ -25,7 +25,7 @@ function Lt(n, e, o, t) {
25
25
  let l = !1;
26
26
  const s = Object.keys(n);
27
27
  let p, i;
28
- for (let u = 0; u < s.length && (p = s[u], i = n[p], l = Ht(e, p, i, o, t + 1), !l); u++)
28
+ for (let a = 0; a < s.length && (p = s[a], i = n[p], l = Ht(e, p, i, o, t + 1), !l); a++)
29
29
  ;
30
30
  return l;
31
31
  }
@@ -47,15 +47,15 @@ function Rn(n, e, o, t) {
47
47
  ;
48
48
  return l;
49
49
  }
50
- function tt(n) {
50
+ function nt(n) {
51
51
  const { state: e, filterKey: o, processGroup: t } = n;
52
52
  if (!o || !o.trim().length)
53
53
  return e;
54
54
  const l = {};
55
55
  for (const s in e) {
56
- const i = e[s].filter((u) => Vn({
56
+ const i = e[s].filter((a) => Vn({
57
57
  // @ts-expect-error typing weak
58
- [u.key]: u.value
58
+ [a.key]: a.value
59
59
  }, o));
60
60
  i.length && (l[s] = t ? t(i) : i);
61
61
  }
@@ -68,21 +68,21 @@ const Ut = /* @__PURE__ */ Z({
68
68
  },
69
69
  setup(n) {
70
70
  return (e, o) => q((d(), h("span", {
71
- style: Te({
72
- color: `#${a(wt)(e.tag.textColor)}`,
73
- backgroundColor: `#${a(wt)(e.tag.backgroundColor)}`
71
+ style: Ee({
72
+ color: `#${r(wt)(e.tag.textColor)}`,
73
+ backgroundColor: `#${r(wt)(e.tag.backgroundColor)}`
74
74
  }),
75
75
  class: "ml-2 rounded-sm px-1 text-[0.75rem] leading-snug"
76
76
  }, [
77
- X(ie(e.tag.label), 1)
77
+ Q(ie(e.tag.label), 1)
78
78
  ], 4)), [
79
- [a(J), {
79
+ [r(J), {
80
80
  content: e.tag.tooltip,
81
81
  html: !0
82
82
  }]
83
83
  ]);
84
84
  }
85
- }), Dn = { class: "p2" }, An = ["onClick"], Pn = /* @__PURE__ */ Z({
85
+ }), Dn = { class: "p2" }, Pn = ["onClick"], An = /* @__PURE__ */ Z({
86
86
  __name: "SelectiveList",
87
87
  props: /* @__PURE__ */ Ae({
88
88
  data: {}
@@ -92,7 +92,7 @@ const Ut = /* @__PURE__ */ Z({
92
92
  }),
93
93
  emits: /* @__PURE__ */ Ae(["select"], ["update:modelValue"]),
94
94
  setup(n, { emit: e }) {
95
- const o = e, t = Ye(n, "modelValue");
95
+ const o = e, t = Xe(n, "modelValue");
96
96
  function l(s) {
97
97
  t.value = s, o("select", s);
98
98
  }
@@ -100,35 +100,35 @@ const Ut = /* @__PURE__ */ Z({
100
100
  (d(!0), h(se, null, de(s.data, (i) => (d(), h("li", {
101
101
  key: i.id,
102
102
  class: ae(["selectable-item", { active: i.id === t.value }]),
103
- onClick: (u) => l(i.id)
103
+ onClick: (a) => l(i.id)
104
104
  }, [
105
- X(ie(i.label) + " ", 1),
106
- (d(!0), h(se, null, de(i.tags, (u, v) => (d(), B(Ut, {
107
- key: v,
108
- tag: u
105
+ Q(ie(i.label) + " ", 1),
106
+ (d(!0), h(se, null, de(i.tags, (a, f) => (d(), B(Ut, {
107
+ key: f,
108
+ tag: a
109
109
  }, null, 8, ["tag"]))), 128))
110
- ], 10, An))), 128))
110
+ ], 10, Pn))), 128))
111
111
  ]));
112
112
  }
113
- }), nt = Symbol("VirtualRouteKey"), Ot = Symbol("VirtualRoutesKey");
114
- function ot(n, e) {
115
- const o = (e == null ? void 0 : e.defaultRoutePath) ?? te(n)[0].path, t = S({
113
+ }), ot = Symbol("VirtualRouteKey"), Ot = Symbol("VirtualRoutesKey");
114
+ function lt(n, e) {
115
+ const o = (e == null ? void 0 : e.defaultRoutePath) ?? Y(n)[0].path, t = R({
116
116
  path: o
117
- }), l = V(() => te(n)), s = V(() => t.value.path), p = Z({
117
+ }), l = E(() => Y(n)), s = E(() => t.value.path), p = Z({
118
118
  setup() {
119
119
  return () => {
120
- const u = l.value.find((v) => v.path === s.value);
121
- return u ? sn(u.component) : null;
120
+ const a = l.value.find((f) => f.path === s.value);
121
+ return a ? sn(a.component) : null;
122
122
  };
123
123
  }
124
124
  });
125
125
  function i() {
126
126
  t.value.path = o;
127
127
  }
128
- return _e(nt, t), _e(Ot, l), { VirtualRouterView: p, restoreRouter: i };
128
+ return ye(ot, t), ye(Ot, l), { VirtualRouterView: p, restoreRouter: i };
129
129
  }
130
- function Le() {
131
- const n = he(nt);
130
+ function He() {
131
+ const n = ge(ot);
132
132
  return {
133
133
  push(e) {
134
134
  n.value.path = e;
@@ -136,7 +136,7 @@ function Le() {
136
136
  };
137
137
  }
138
138
  function Mn() {
139
- const n = he(Ot), e = he(nt);
139
+ const n = ge(Ot), e = ge(ot);
140
140
  return {
141
141
  routes: n,
142
142
  currentRoute: e
@@ -145,20 +145,20 @@ function Mn() {
145
145
  const Ln = {
146
146
  border: "b base",
147
147
  class: "flex items-center justify-between px3"
148
- }, Hn = ["href"], Un = ["href"], Ee = /* @__PURE__ */ Z({
148
+ }, Hn = ["href"], Un = ["href"], Ve = /* @__PURE__ */ Z({
149
149
  __name: "DevToolsHeader",
150
150
  props: {
151
151
  githubRepoLink: {},
152
152
  docLink: {}
153
153
  },
154
154
  setup(n) {
155
- const e = Le();
155
+ const e = He();
156
156
  return (o, t) => (d(), h("div", Ln, [
157
157
  c("div", null, [
158
- Xe(o.$slots, "default", {}, () => [
158
+ Qe(o.$slots, "default", {}, () => [
159
159
  c("i", {
160
160
  class: "i-ep:back cursor-pointer op70 text-base hover:op100",
161
- onClick: t[0] || (t[0] = (l) => a(e).push("/"))
161
+ onClick: t[0] || (t[0] = (l) => r(e).push("/"))
162
162
  })
163
163
  ])
164
164
  ]),
@@ -182,7 +182,7 @@ const Ln = {
182
182
  ])
183
183
  ]));
184
184
  }
185
- }), xe = (n, e) => {
185
+ }), be = (n, e) => {
186
186
  const o = n.__vccOpts || n;
187
187
  for (const [t, l] of e)
188
188
  o[t] = l;
@@ -192,23 +192,23 @@ function zn(n, e) {
192
192
  return d(), h("div", jn, [
193
193
  e[0] || (e[0] = c("i", { class: "i-lets-icons:blank-light" }, null, -1)),
194
194
  c("span", null, [
195
- Xe(n.$slots, "default")
195
+ Qe(n.$slots, "default")
196
196
  ])
197
197
  ]);
198
198
  }
199
- const Se = /* @__PURE__ */ xe(On, [["render", zn]]), Bn = { class: "flex gap3" }, Fn = ["onClick"], Ve = /* @__PURE__ */ Z({
199
+ const Te = /* @__PURE__ */ be(On, [["render", zn]]), Bn = { class: "flex gap3" }, Fn = ["onClick"], Ne = /* @__PURE__ */ Z({
200
200
  __name: "Navbar",
201
201
  setup(n) {
202
- const { routes: e, currentRoute: o } = Mn(), t = Le();
202
+ const { routes: e, currentRoute: o } = Mn(), t = He();
203
203
  return (l, s) => (d(), h("ul", Bn, [
204
- (d(!0), h(se, null, de(a(e), (p, i) => (d(), h("li", {
204
+ (d(!0), h(se, null, de(r(e), (p, i) => (d(), h("li", {
205
205
  key: i,
206
- class: ae(["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
- onClick: (u) => a(t).push(p.path)
206
+ class: ae(["h-10 flex cursor-pointer items-center justify-center border-b-[2px] border-solid text-size-sm leading-none hover:op100", r(o).path === p.path ? "op-100 font-medium text-primary-400 border-primary-400" : "border-transparent op-70"]),
207
+ onClick: (a) => r(t).push(p.path)
208
208
  }, ie(p.name), 11, Fn))), 128))
209
209
  ]));
210
210
  }
211
- }), lt = /* @__PURE__ */ Z({
211
+ }), st = /* @__PURE__ */ Z({
212
212
  __name: "ToggleExpanded",
213
213
  props: {
214
214
  value: { type: Boolean }
@@ -222,16 +222,16 @@ const Se = /* @__PURE__ */ xe(On, [["render", zn]]), Bn = { class: "flex gap3" }
222
222
  }
223
223
  }), jt = Symbol("StateEditorSymbol");
224
224
  function Zn(n) {
225
- const e = S(n);
226
- return _e(jt, e), {
225
+ const e = R(n);
226
+ return ye(jt, e), {
227
227
  context: e
228
228
  };
229
229
  }
230
- function st() {
231
- return he(jt);
230
+ function at() {
231
+ return ge(jt);
232
232
  }
233
233
  function Kn() {
234
- const n = S(""), e = S("string"), o = S(!1), t = st();
234
+ const n = R(""), e = R("string"), o = R(!1), t = at();
235
235
  return {
236
236
  editingText: n,
237
237
  editing: o,
@@ -239,7 +239,7 @@ function Kn() {
239
239
  l && (e.value = l), o.value = !o.value;
240
240
  },
241
241
  editingType: e,
242
- nodeId: V(() => t.value.nodeId)
242
+ nodeId: E(() => t.value.nodeId)
243
243
  };
244
244
  }
245
245
  function Gn(n, e) {
@@ -255,7 +255,7 @@ function Gn(n, e) {
255
255
  }
256
256
  }
257
257
  function Wn() {
258
- const n = S({
258
+ const n = R({
259
259
  enable: !1,
260
260
  key: "",
261
261
  value: "undefined"
@@ -282,14 +282,14 @@ function Wn() {
282
282
  };
283
283
  }
284
284
  const zt = "expanded-state";
285
- function Ce(n = "") {
286
- const e = S([]);
287
- return _e(`${zt}-${n}`, e), {
285
+ function _e(n = "") {
286
+ const e = R([]);
287
+ return ye(`${zt}-${n}`, e), {
288
288
  expanded: e
289
289
  };
290
290
  }
291
- function at(n = "") {
292
- const e = he(`${zt}-${n}`, S([]));
291
+ function it(n = "") {
292
+ const e = ge(`${zt}-${n}`, R([]));
293
293
  function o(t) {
294
294
  const l = e.value.indexOf(t);
295
295
  l === -1 ? e.value.push(t) : e.value.splice(l, 1);
@@ -299,12 +299,12 @@ function at(n = "") {
299
299
  toggleExpanded: o
300
300
  };
301
301
  }
302
- function it(n) {
303
- return an() ? (rn(n), !0) : !1;
302
+ function rt(n) {
303
+ return rn() ? (un(n), !0) : !1;
304
304
  }
305
- const rt = typeof window < "u" && typeof document < "u";
305
+ const ut = typeof window < "u" && typeof document < "u";
306
306
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
307
- const qn = (n) => typeof n < "u", Jn = Object.prototype.toString, Yn = (n) => Jn.call(n) === "[object Object]", Ze = () => {
307
+ const qn = (n) => typeof n < "u", Jn = Object.prototype.toString, Yn = (n) => Jn.call(n) === "[object Object]", Je = () => {
308
308
  };
309
309
  function Bt(n, e) {
310
310
  function o(...t) {
@@ -316,18 +316,19 @@ function Bt(n, e) {
316
316
  }
317
317
  const Xn = (n) => n();
318
318
  function Ft(n, e = {}) {
319
- let o, t, l = Ze;
320
- const s = (i) => {
321
- clearTimeout(i), l(), l = Ze;
319
+ let o, t, l = Je;
320
+ const s = (a) => {
321
+ clearTimeout(a), l(), l = Je;
322
322
  };
323
- return (i) => {
324
- const u = te(n), v = te(e.maxWait);
325
- return o && s(o), u <= 0 || v !== void 0 && v <= 0 ? (t && (s(t), t = null), Promise.resolve(i())) : new Promise((f, r) => {
326
- l = e.rejectOnCancel ? r : f, v && !t && (t = setTimeout(() => {
327
- o && s(o), t = null, f(i());
323
+ let p;
324
+ return (a) => {
325
+ const f = Y(n), v = Y(e.maxWait);
326
+ return o && s(o), f <= 0 || v !== void 0 && v <= 0 ? (t && (s(t), t = null), Promise.resolve(a())) : new Promise((u, C) => {
327
+ l = e.rejectOnCancel ? C : u, p = a, v && !t && (t = setTimeout(() => {
328
+ o && s(o), t = null, u(p());
328
329
  }, v)), o = setTimeout(() => {
329
- t && s(t), t = null, f(i());
330
- }, u);
330
+ t && s(t), t = null, u(a());
331
+ }, f);
331
332
  });
332
333
  };
333
334
  }
@@ -347,9 +348,9 @@ function Qn(n) {
347
348
  }, o;
348
349
  }
349
350
  function eo(n) {
350
- return Qe();
351
+ return et();
351
352
  }
352
- function qe(n) {
353
+ function Fe(n) {
353
354
  return Array.isArray(n) ? n : [n];
354
355
  }
355
356
  function $t(n, e = 200, o = {}) {
@@ -363,7 +364,7 @@ function to(n, e, o = {}) {
363
364
  eventFilter: t = Xn,
364
365
  ...l
365
366
  } = o;
366
- return ee(
367
+ return te(
367
368
  n,
368
369
  Bt(
369
370
  t,
@@ -373,82 +374,82 @@ function to(n, e, o = {}) {
373
374
  );
374
375
  }
375
376
  function no(n, e = !0, o) {
376
- eo() ? Vt(n, o) : e ? n() : Be(n);
377
+ eo() ? Vt(n, o) : e ? n() : Ze(n);
377
378
  }
378
- function Je(n, e = !1) {
379
- function o(r, { flush: g = "sync", deep: $ = !1, timeout: w, throwOnTimeout: C } = {}) {
380
- let T = null;
381
- const R = [new Promise((k) => {
382
- T = ee(
379
+ function Ye(n, e = !1) {
380
+ function o(u, { flush: C = "sync", deep: T = !1, timeout: k, throwOnTimeout: g } = {}) {
381
+ let $ = null;
382
+ const V = [new Promise((b) => {
383
+ $ = te(
383
384
  n,
384
- (A) => {
385
- r(A) !== e && (T ? T() : Be(() => T == null ? void 0 : T()), k(A));
385
+ (P) => {
386
+ u(P) !== e && ($ ? $() : Ze(() => $ == null ? void 0 : $()), b(P));
386
387
  },
387
388
  {
388
- flush: g,
389
- deep: $,
389
+ flush: C,
390
+ deep: T,
390
391
  immediate: !0
391
392
  }
392
393
  );
393
394
  })];
394
- return w != null && R.push(
395
- It(w, C).then(() => te(n)).finally(() => T == null ? void 0 : T())
396
- ), Promise.race(R);
395
+ return k != null && V.push(
396
+ It(k, g).then(() => Y(n)).finally(() => $ == null ? void 0 : $())
397
+ ), Promise.race(V);
397
398
  }
398
- function t(r, g) {
399
- if (!Ke(r))
400
- return o((A) => A === r, g);
401
- const { flush: $ = "sync", deep: w = !1, timeout: C, throwOnTimeout: T } = g ?? {};
399
+ function t(u, C) {
400
+ if (!Ge(u))
401
+ return o((P) => P === u, C);
402
+ const { flush: T = "sync", deep: k = !1, timeout: g, throwOnTimeout: $ } = C ?? {};
402
403
  let z = null;
403
- const k = [new Promise((A) => {
404
- z = ee(
405
- [n, r],
404
+ const b = [new Promise((P) => {
405
+ z = te(
406
+ [n, u],
406
407
  ([F, K]) => {
407
- e !== (F === K) && (z ? z() : Be(() => z == null ? void 0 : z()), A(F));
408
+ e !== (F === K) && (z ? z() : Ze(() => z == null ? void 0 : z()), P(F));
408
409
  },
409
410
  {
410
- flush: $,
411
- deep: w,
411
+ flush: T,
412
+ deep: k,
412
413
  immediate: !0
413
414
  }
414
415
  );
415
416
  })];
416
- return C != null && k.push(
417
- It(C, T).then(() => te(n)).finally(() => (z == null || z(), te(n)))
418
- ), Promise.race(k);
417
+ return g != null && b.push(
418
+ It(g, $).then(() => Y(n)).finally(() => (z == null || z(), Y(n)))
419
+ ), Promise.race(b);
419
420
  }
420
- function l(r) {
421
- return o((g) => !!g, r);
421
+ function l(u) {
422
+ return o((C) => !!C, u);
422
423
  }
423
- function s(r) {
424
- return t(null, r);
424
+ function s(u) {
425
+ return t(null, u);
425
426
  }
426
- function p(r) {
427
- return t(void 0, r);
427
+ function p(u) {
428
+ return t(void 0, u);
428
429
  }
429
- function i(r) {
430
- return o(Number.isNaN, r);
430
+ function i(u) {
431
+ return o(Number.isNaN, u);
431
432
  }
432
- function u(r, g) {
433
- return o(($) => {
434
- const w = Array.from($);
435
- return w.includes(r) || w.includes(te(r));
436
- }, g);
433
+ function a(u, C) {
434
+ return o((T) => {
435
+ const k = Array.from(T);
436
+ return k.includes(u) || k.includes(Y(u));
437
+ }, C);
437
438
  }
438
- function v(r) {
439
- return f(1, r);
439
+ function f(u) {
440
+ return v(1, u);
440
441
  }
441
- function f(r = 1, g) {
442
- let $ = -1;
443
- return o(() => ($ += 1, $ >= r), g);
442
+ function v(u = 1, C) {
443
+ let T = -1;
444
+ return o(() => (T += 1, T >= u), C);
444
445
  }
445
- return Array.isArray(te(n)) ? {
446
+ return Array.isArray(Y(n)) ? {
446
447
  toMatch: o,
447
- toContains: u,
448
- changed: v,
449
- changedTimes: f,
448
+ toContains: a,
449
+ changed: f,
450
+ changedTimes: v,
450
451
  get not() {
451
- return Je(n, !e);
452
+ return Ye(n, !e);
452
453
  }
453
454
  } : {
454
455
  toMatch: o,
@@ -457,49 +458,50 @@ function Je(n, e = !1) {
457
458
  toBeNull: s,
458
459
  toBeNaN: i,
459
460
  toBeUndefined: p,
460
- changed: v,
461
- changedTimes: f,
461
+ changed: f,
462
+ changedTimes: v,
462
463
  get not() {
463
- return Je(n, !e);
464
+ return Ye(n, !e);
464
465
  }
465
466
  };
466
467
  }
467
468
  function Zt(n) {
468
- return Je(n);
469
+ return Ye(n);
469
470
  }
470
471
  function oo(n, e, o = {}) {
471
472
  const {
472
- immediate: t = !0
473
- } = o, l = S(!1);
474
- let s = null;
475
- function p() {
476
- s && (clearTimeout(s), s = null);
477
- }
473
+ immediate: t = !0,
474
+ immediateCallback: l = !1
475
+ } = o, s = ve(!1);
476
+ let p = null;
478
477
  function i() {
479
- l.value = !1, p();
478
+ p && (clearTimeout(p), p = null);
480
479
  }
481
- function u(...v) {
482
- p(), l.value = !0, s = setTimeout(() => {
483
- l.value = !1, s = null, n(...v);
484
- }, te(e));
480
+ function a() {
481
+ s.value = !1, i();
485
482
  }
486
- return t && (l.value = !0, rt && u()), it(i), {
487
- isPending: un(l),
488
- start: u,
489
- stop: i
483
+ function f(...v) {
484
+ l && n(), i(), s.value = !0, p = setTimeout(() => {
485
+ s.value = !1, p = null, n(...v);
486
+ }, Y(e));
487
+ }
488
+ return t && (s.value = !0, ut && f()), rt(a), {
489
+ isPending: an(s),
490
+ start: f,
491
+ stop: a
490
492
  };
491
493
  }
492
494
  function Kt(n = !1, e = {}) {
493
495
  const {
494
496
  truthyValue: o = !0,
495
497
  falsyValue: t = !1
496
- } = e, l = Ke(n), s = S(n);
498
+ } = e, l = Ge(n), s = ve(n);
497
499
  function p(i) {
498
500
  if (arguments.length)
499
501
  return s.value = i, s.value;
500
502
  {
501
- const u = te(o);
502
- return s.value = s.value === u ? te(t) : u, s.value;
503
+ const a = Y(o);
504
+ return s.value = s.value === a ? Y(t) : a, s.value;
503
505
  }
504
506
  }
505
507
  return l ? p : [s, p];
@@ -519,55 +521,77 @@ function Gt(n, e, o = {}) {
519
521
  }
520
522
  );
521
523
  }
522
- const Ge = rt ? window : void 0, Wt = rt ? window.navigator : void 0;
523
- function be(n) {
524
+ function lo(n, e, o) {
525
+ return te(
526
+ n,
527
+ e,
528
+ {
529
+ ...o,
530
+ immediate: !0
531
+ }
532
+ );
533
+ }
534
+ const We = ut ? window : void 0, Wt = ut ? window.navigator : void 0;
535
+ function we(n) {
524
536
  var e;
525
- const o = te(n);
537
+ const o = Y(n);
526
538
  return (e = o == null ? void 0 : o.$el) != null ? e : o;
527
539
  }
528
- function me(...n) {
529
- let e, o, t, l;
530
- if (typeof n[0] == "string" || Array.isArray(n[0]) ? ([o, t, l] = n, e = Ge) : [e, o, t, l] = n, !e)
531
- return Ze;
532
- o = qe(o), t = qe(t);
533
- const s = [], p = () => {
534
- s.forEach((f) => f()), s.length = 0;
535
- }, i = (f, r, g, $) => (f.addEventListener(r, g, $), () => f.removeEventListener(r, g, $)), u = ee(
536
- () => [be(e), te(l)],
537
- ([f, r]) => {
538
- if (p(), !f)
540
+ function he(...n) {
541
+ const e = [], o = () => {
542
+ e.forEach((i) => i()), e.length = 0;
543
+ }, t = (i, a, f, v) => (i.addEventListener(a, f, v), () => i.removeEventListener(a, f, v)), l = E(() => {
544
+ const i = Fe(Y(n[0])).filter((a) => a != null);
545
+ return i.every((a) => typeof a != "string") ? i : void 0;
546
+ }), s = lo(
547
+ () => {
548
+ var i, a;
549
+ return [
550
+ (a = (i = l.value) == null ? void 0 : i.map((f) => we(f))) != null ? a : [We].filter((f) => f != null),
551
+ Fe(Y(l.value ? n[1] : n[0])),
552
+ Fe(r(l.value ? n[2] : n[1])),
553
+ // @ts-expect-error - TypeScript gets the correct types, but somehow still complains
554
+ Y(l.value ? n[3] : n[2])
555
+ ];
556
+ },
557
+ ([i, a, f, v]) => {
558
+ if (o(), !(i != null && i.length) || !(a != null && a.length) || !(f != null && f.length))
539
559
  return;
540
- const g = Yn(r) ? { ...r } : r;
541
- s.push(
542
- ...o.flatMap(($) => t.map((w) => i(f, $, w, g)))
560
+ const u = Yn(v) ? { ...v } : v;
561
+ e.push(
562
+ ...i.flatMap(
563
+ (C) => a.flatMap(
564
+ (T) => f.map((k) => t(C, T, k, u))
565
+ )
566
+ )
543
567
  );
544
568
  },
545
- { immediate: !0, flush: "post" }
546
- ), v = () => {
547
- u(), p();
569
+ { flush: "post" }
570
+ ), p = () => {
571
+ s(), o();
548
572
  };
549
- return it(v), v;
573
+ return rt(o), p;
550
574
  }
551
- function lo() {
552
- const n = S(!1), e = Qe();
575
+ function so() {
576
+ const n = ve(!1), e = et();
553
577
  return e && Vt(() => {
554
578
  n.value = !0;
555
579
  }, e), n;
556
580
  }
557
- function ut(n) {
558
- const e = lo();
559
- return V(() => (e.value, !!n()));
581
+ function ct(n) {
582
+ const e = so();
583
+ return E(() => (e.value, !!n()));
560
584
  }
561
585
  function St(n, e = {}) {
562
586
  const {
563
587
  controls: o = !1,
564
588
  navigator: t = Wt
565
- } = e, l = ut(() => t && "permissions" in t), s = gt(), p = typeof n == "string" ? { name: n } : n, i = gt(), u = () => {
566
- var f, r;
567
- i.value = (r = (f = s.value) == null ? void 0 : f.state) != null ? r : "prompt";
589
+ } = e, l = ct(() => t && "permissions" in t), s = ve(), p = typeof n == "string" ? { name: n } : n, i = ve(), a = () => {
590
+ var v, u;
591
+ i.value = (u = (v = s.value) == null ? void 0 : v.state) != null ? u : "prompt";
568
592
  };
569
- me(s, "change", u);
570
- const v = Qn(async () => {
593
+ he(s, "change", a, { passive: !0 });
594
+ const f = Qn(async () => {
571
595
  if (l.value) {
572
596
  if (!s.value)
573
597
  try {
@@ -575,124 +599,138 @@ function St(n, e = {}) {
575
599
  } catch {
576
600
  s.value = void 0;
577
601
  } finally {
578
- u();
602
+ a();
579
603
  }
580
604
  if (o)
581
605
  return Nt(s.value);
582
606
  }
583
607
  });
584
- return v(), o ? {
608
+ return f(), o ? {
585
609
  state: i,
586
610
  isSupported: l,
587
- query: v
611
+ query: f
588
612
  } : i;
589
613
  }
590
- function so(n = {}) {
614
+ function ao(n = {}) {
591
615
  const {
592
616
  navigator: e = Wt,
593
617
  read: o = !1,
594
618
  source: t,
595
619
  copiedDuring: l = 1500,
596
620
  legacy: s = !1
597
- } = n, p = ut(() => e && "clipboard" in e), i = St("clipboard-read"), u = St("clipboard-write"), v = V(() => p.value || s), f = S(""), r = S(!1), g = oo(() => r.value = !1, l, { immediate: !1 });
598
- function $() {
599
- p.value && z(i.value) ? e.clipboard.readText().then((R) => {
600
- f.value = R;
601
- }) : f.value = T();
621
+ } = n, p = ct(() => e && "clipboard" in e), i = St("clipboard-read"), a = St("clipboard-write"), f = E(() => p.value || s), v = ve(""), u = ve(!1), C = oo(() => u.value = !1, l, { immediate: !1 });
622
+ async function T() {
623
+ let V = !(p.value && z(i.value));
624
+ if (!V)
625
+ try {
626
+ v.value = await e.clipboard.readText();
627
+ } catch {
628
+ V = !0;
629
+ }
630
+ V && (v.value = $());
602
631
  }
603
- v.value && o && me(["copy", "cut"], $);
604
- async function w(R = te(t)) {
605
- v.value && R != null && (p.value && z(u.value) ? await e.clipboard.writeText(R) : C(R), f.value = R, r.value = !0, g.start());
632
+ f.value && o && he(["copy", "cut"], T, { passive: !0 });
633
+ async function k(V = Y(t)) {
634
+ if (f.value && V != null) {
635
+ let b = !(p.value && z(a.value));
636
+ if (!b)
637
+ try {
638
+ await e.clipboard.writeText(V);
639
+ } catch {
640
+ b = !0;
641
+ }
642
+ b && g(V), v.value = V, u.value = !0, C.start();
643
+ }
606
644
  }
607
- function C(R) {
608
- const k = document.createElement("textarea");
609
- k.value = R ?? "", k.style.position = "absolute", k.style.opacity = "0", document.body.appendChild(k), k.select(), document.execCommand("copy"), k.remove();
645
+ function g(V) {
646
+ const b = document.createElement("textarea");
647
+ b.value = V ?? "", b.style.position = "absolute", b.style.opacity = "0", document.body.appendChild(b), b.select(), document.execCommand("copy"), b.remove();
610
648
  }
611
- function T() {
612
- var R, k, A;
613
- return (A = (k = (R = document == null ? void 0 : document.getSelection) == null ? void 0 : R.call(document)) == null ? void 0 : k.toString()) != null ? A : "";
649
+ function $() {
650
+ var V, b, P;
651
+ return (P = (b = (V = document == null ? void 0 : document.getSelection) == null ? void 0 : V.call(document)) == null ? void 0 : b.toString()) != null ? P : "";
614
652
  }
615
- function z(R) {
616
- return R === "granted" || R === "prompt";
653
+ function z(V) {
654
+ return V === "granted" || V === "prompt";
617
655
  }
618
656
  return {
619
- isSupported: v,
620
- text: f,
621
- copied: r,
622
- copy: w
657
+ isSupported: f,
658
+ text: v,
659
+ copied: u,
660
+ copy: k
623
661
  };
624
662
  }
625
- function ao(n) {
663
+ function io(n) {
626
664
  return JSON.parse(JSON.stringify(n));
627
665
  }
628
- function io(n, e, o = {}) {
629
- const { window: t = Ge, ...l } = o;
666
+ function ro(n, e, o = {}) {
667
+ const { window: t = We, ...l } = o;
630
668
  let s;
631
- const p = ut(() => t && "ResizeObserver" in t), i = () => {
669
+ const p = ct(() => t && "ResizeObserver" in t), i = () => {
632
670
  s && (s.disconnect(), s = void 0);
633
- }, u = V(() => {
634
- const r = te(n);
635
- return Array.isArray(r) ? r.map((g) => be(g)) : [be(r)];
636
- }), v = ee(
637
- u,
638
- (r) => {
671
+ }, a = E(() => {
672
+ const u = Y(n);
673
+ return Array.isArray(u) ? u.map((C) => we(C)) : [we(u)];
674
+ }), f = te(
675
+ a,
676
+ (u) => {
639
677
  if (i(), p.value && t) {
640
678
  s = new ResizeObserver(e);
641
- for (const g of r)
642
- g && s.observe(g, l);
679
+ for (const C of u)
680
+ C && s.observe(C, l);
643
681
  }
644
682
  },
645
683
  { immediate: !0, flush: "post" }
646
- ), f = () => {
647
- i(), v();
684
+ ), v = () => {
685
+ i(), f();
648
686
  };
649
- return it(f), {
687
+ return rt(v), {
650
688
  isSupported: p,
651
- stop: f
689
+ stop: v
652
690
  };
653
691
  }
654
- function ro(n, e = { width: 0, height: 0 }, o = {}) {
655
- const { window: t = Ge, box: l = "content-box" } = o, s = V(() => {
656
- var r, g;
657
- return (g = (r = be(n)) == null ? void 0 : r.namespaceURI) == null ? void 0 : g.includes("svg");
658
- }), p = S(e.width), i = S(e.height), { stop: u } = io(
692
+ function uo(n, e = { width: 0, height: 0 }, o = {}) {
693
+ const { window: t = We, box: l = "content-box" } = o, s = E(() => {
694
+ var u, C;
695
+ return (C = (u = we(n)) == null ? void 0 : u.namespaceURI) == null ? void 0 : C.includes("svg");
696
+ }), p = ve(e.width), i = ve(e.height), { stop: a } = ro(
659
697
  n,
660
- ([r]) => {
661
- const g = l === "border-box" ? r.borderBoxSize : l === "content-box" ? r.contentBoxSize : r.devicePixelContentBoxSize;
698
+ ([u]) => {
699
+ const C = l === "border-box" ? u.borderBoxSize : l === "content-box" ? u.contentBoxSize : u.devicePixelContentBoxSize;
662
700
  if (t && s.value) {
663
- const $ = be(n);
664
- if ($) {
665
- const w = $.getBoundingClientRect();
666
- p.value = w.width, i.value = w.height;
701
+ const T = we(n);
702
+ if (T) {
703
+ const k = T.getBoundingClientRect();
704
+ p.value = k.width, i.value = k.height;
667
705
  }
668
- } else if (g) {
669
- const $ = qe(g);
670
- p.value = $.reduce((w, { inlineSize: C }) => w + C, 0), i.value = $.reduce((w, { blockSize: C }) => w + C, 0);
706
+ } else if (C) {
707
+ const T = Fe(C);
708
+ p.value = T.reduce((k, { inlineSize: g }) => k + g, 0), i.value = T.reduce((k, { blockSize: g }) => k + g, 0);
671
709
  } else
672
- p.value = r.contentRect.width, i.value = r.contentRect.height;
710
+ p.value = u.contentRect.width, i.value = u.contentRect.height;
673
711
  },
674
712
  o
675
713
  );
676
714
  no(() => {
677
- const r = be(n);
678
- r && (p.value = "offsetWidth" in r ? r.offsetWidth : e.width, i.value = "offsetHeight" in r ? r.offsetHeight : e.height);
715
+ const u = we(n);
716
+ u && (p.value = "offsetWidth" in u ? u.offsetWidth : e.width, i.value = "offsetHeight" in u ? u.offsetHeight : e.height);
679
717
  });
680
- const v = ee(
681
- () => be(n),
682
- (r) => {
683
- p.value = r ? e.width : 0, i.value = r ? e.height : 0;
718
+ const f = te(
719
+ () => we(n),
720
+ (u) => {
721
+ p.value = u ? e.width : 0, i.value = u ? e.height : 0;
684
722
  }
685
723
  );
686
- function f() {
687
- u(), v();
724
+ function v() {
725
+ a(), f();
688
726
  }
689
727
  return {
690
728
  width: p,
691
729
  height: i,
692
- stop: f
730
+ stop: v
693
731
  };
694
732
  }
695
- const uo = {
733
+ const co = {
696
734
  ctrl: "control",
697
735
  command: "meta",
698
736
  cmd: "meta",
@@ -702,114 +740,114 @@ const uo = {
702
740
  left: "arrowleft",
703
741
  right: "arrowright"
704
742
  };
705
- function co(n = {}) {
743
+ function po(n = {}) {
706
744
  const {
707
745
  reactive: e = !1,
708
- target: o = Ge,
709
- aliasMap: t = uo,
746
+ target: o = We,
747
+ aliasMap: t = co,
710
748
  passive: l = !0,
711
- onEventFired: s = Ze
712
- } = n, p = ht(/* @__PURE__ */ new Set()), i = {
749
+ onEventFired: s = Je
750
+ } = n, p = gt(/* @__PURE__ */ new Set()), i = {
713
751
  toJSON() {
714
752
  return {};
715
753
  },
716
754
  current: p
717
- }, u = e ? ht(i) : i, v = /* @__PURE__ */ new Set(), f = /* @__PURE__ */ new Set();
718
- function r(C, T) {
719
- C in u && (e ? u[C] = T : u[C].value = T);
755
+ }, a = e ? gt(i) : i, f = /* @__PURE__ */ new Set(), v = /* @__PURE__ */ new Set();
756
+ function u(g, $) {
757
+ g in a && (e ? a[g] = $ : a[g].value = $);
720
758
  }
721
- function g() {
759
+ function C() {
722
760
  p.clear();
723
- for (const C of f)
724
- r(C, !1);
761
+ for (const g of v)
762
+ u(g, !1);
725
763
  }
726
- function $(C, T) {
727
- var z, R;
728
- const k = (z = C.key) == null ? void 0 : z.toLowerCase(), F = [(R = C.code) == null ? void 0 : R.toLowerCase(), k].filter(Boolean);
729
- k && (T ? p.add(k) : p.delete(k));
764
+ function T(g, $) {
765
+ var z, V;
766
+ const b = (z = g.key) == null ? void 0 : z.toLowerCase(), F = [(V = g.code) == null ? void 0 : V.toLowerCase(), b].filter(Boolean);
767
+ b && ($ ? p.add(b) : p.delete(b));
730
768
  for (const K of F)
731
- f.add(K), r(K, T);
732
- k === "meta" && !T ? (v.forEach((K) => {
733
- p.delete(K), r(K, !1);
734
- }), v.clear()) : typeof C.getModifierState == "function" && C.getModifierState("Meta") && T && [...p, ...F].forEach((K) => v.add(K));
769
+ v.add(K), u(K, $);
770
+ b === "meta" && !$ ? (f.forEach((K) => {
771
+ p.delete(K), u(K, !1);
772
+ }), f.clear()) : typeof g.getModifierState == "function" && g.getModifierState("Meta") && $ && [...p, ...F].forEach((K) => f.add(K));
735
773
  }
736
- me(o, "keydown", (C) => ($(C, !0), s(C)), { passive: l }), me(o, "keyup", (C) => ($(C, !1), s(C)), { passive: l }), me("blur", g, { passive: !0 }), me("focus", g, { passive: !0 });
737
- const w = new Proxy(
738
- u,
774
+ he(o, "keydown", (g) => (T(g, !0), s(g)), { passive: l }), he(o, "keyup", (g) => (T(g, !1), s(g)), { passive: l }), he("blur", C, { passive: l }), he("focus", C, { passive: l });
775
+ const k = new Proxy(
776
+ a,
739
777
  {
740
- get(C, T, z) {
741
- if (typeof T != "string")
742
- return Reflect.get(C, T, z);
743
- if (T = T.toLowerCase(), T in t && (T = t[T]), !(T in u))
744
- if (/[+_-]/.test(T)) {
745
- const k = T.split(/[+_-]/g).map((A) => A.trim());
746
- u[T] = V(() => k.every((A) => te(w[A])));
778
+ get(g, $, z) {
779
+ if (typeof $ != "string")
780
+ return Reflect.get(g, $, z);
781
+ if ($ = $.toLowerCase(), $ in t && ($ = t[$]), !($ in a))
782
+ if (/[+_-]/.test($)) {
783
+ const b = $.split(/[+_-]/g).map((P) => P.trim());
784
+ a[$] = E(() => b.map((P) => Y(k[P])).every(Boolean));
747
785
  } else
748
- u[T] = S(!1);
749
- const R = Reflect.get(C, T, z);
750
- return e ? te(R) : R;
786
+ a[$] = ve(!1);
787
+ const V = Reflect.get(g, $, z);
788
+ return e ? Y(V) : V;
751
789
  }
752
790
  }
753
791
  );
754
- return w;
792
+ return k;
755
793
  }
756
- function po(n, e, o, t = {}) {
794
+ function fo(n, e, o, t = {}) {
757
795
  var l, s, p;
758
796
  const {
759
797
  clone: i = !1,
760
- passive: u = !1,
761
- eventName: v,
762
- deep: f = !1,
763
- defaultValue: r,
764
- shouldEmit: g
765
- } = t, $ = Qe(), w = o || ($ == null ? void 0 : $.emit) || ((l = $ == null ? void 0 : $.$emit) == null ? void 0 : l.bind($)) || ((p = (s = $ == null ? void 0 : $.proxy) == null ? void 0 : s.$emit) == null ? void 0 : p.bind($ == null ? void 0 : $.proxy));
766
- let C = v;
767
- C = C || `update:${e.toString()}`;
768
- const T = (k) => i ? typeof i == "function" ? i(k) : ao(k) : k, z = () => qn(n[e]) ? T(n[e]) : r, R = (k) => {
769
- g ? g(k) && w(C, k) : w(C, k);
798
+ passive: a = !1,
799
+ eventName: f,
800
+ deep: v = !1,
801
+ defaultValue: u,
802
+ shouldEmit: C
803
+ } = t, T = et(), k = o || (T == null ? void 0 : T.emit) || ((l = T == null ? void 0 : T.$emit) == null ? void 0 : l.bind(T)) || ((p = (s = T == null ? void 0 : T.proxy) == null ? void 0 : s.$emit) == null ? void 0 : p.bind(T == null ? void 0 : T.proxy));
804
+ let g = f;
805
+ g = g || `update:${e.toString()}`;
806
+ const $ = (b) => i ? typeof i == "function" ? i(b) : io(b) : b, z = () => qn(n[e]) ? $(n[e]) : u, V = (b) => {
807
+ C ? C(b) && k(g, b) : k(g, b);
770
808
  };
771
- if (u) {
772
- const k = z(), A = S(k);
809
+ if (a) {
810
+ const b = z(), P = R(b);
773
811
  let F = !1;
774
- return ee(
812
+ return te(
775
813
  () => n[e],
776
814
  (K) => {
777
- F || (F = !0, A.value = T(K), Be(() => F = !1));
815
+ F || (F = !0, P.value = $(K), Ze(() => F = !1));
778
816
  }
779
- ), ee(
780
- A,
817
+ ), te(
818
+ P,
781
819
  (K) => {
782
- !F && (K !== n[e] || f) && R(K);
820
+ !F && (K !== n[e] || v) && V(K);
783
821
  },
784
- { deep: f }
785
- ), A;
822
+ { deep: v }
823
+ ), P;
786
824
  } else
787
- return V({
825
+ return E({
788
826
  get() {
789
827
  return z();
790
828
  },
791
- set(k) {
792
- R(k);
829
+ set(b) {
830
+ V(b);
793
831
  }
794
832
  });
795
833
  }
796
- function fo(n, e = {}) {
834
+ function vo(n, e = {}) {
797
835
  const {
798
836
  enter: o = () => {
799
837
  },
800
838
  leave: t = () => {
801
839
  },
802
840
  initial: l = !1
803
- } = e, s = S(l);
804
- return me(n, "mouseenter", () => {
841
+ } = e, s = R(l);
842
+ return he(n, "mouseenter", () => {
805
843
  s.value = !0, o();
806
- }), me(n, "mouseleave", () => {
844
+ }), he(n, "mouseleave", () => {
807
845
  s.value = !1, t();
808
846
  }), {
809
847
  isHovering: s
810
848
  };
811
849
  }
812
- const vo = { class: "flex pl5px" }, mo = { class: "w160px py5px" }, ho = /* @__PURE__ */ Z({
850
+ const mo = { class: "flex pl5px" }, ho = { class: "w160px py5px" }, go = /* @__PURE__ */ Z({
813
851
  __name: "StateFieldEditor",
814
852
  props: {
815
853
  data: {},
@@ -820,13 +858,13 @@ const vo = { class: "flex pl5px" }, mo = { class: "w160px py5px" }, ho = /* @__P
820
858
  },
821
859
  emits: ["enableEditInput", "addNewProp"],
822
860
  setup(n) {
823
- const e = n, o = st(), { copy: t, isSupported: l } = so(), s = S(!1), p = V(() => Dt(e.data.value)), i = V(() => p.value.value), u = V(() => p.value.customType), v = V(() => i.value === null ? "null" : typeof i.value), f = {
861
+ const e = n, o = at(), { copy: t, isSupported: l } = ao(), s = R(!1), p = E(() => Dt(e.data.value)), i = E(() => p.value.value), a = E(() => p.value.customType), f = E(() => i.value === null ? "null" : typeof i.value), v = {
824
862
  flat: !0,
825
863
  size: "mini"
826
- }, r = V(() => ({
864
+ }, u = E(() => ({
827
865
  "opacity-0": !e.hovering
828
866
  }));
829
- async function g(w, C = !1) {
867
+ async function C(k, g = !1) {
830
868
  await D.value.editInspectorState({
831
869
  path: e.data.path || [e.data.key],
832
870
  inspectorId: o.value.inspectorId,
@@ -834,135 +872,135 @@ const vo = { class: "flex pl5px" }, mo = { class: "w160px py5px" }, ho = /* @__P
834
872
  nodeId: o.value.nodeId,
835
873
  state: {
836
874
  newKey: null,
837
- value: Nt(w),
838
- type: v.value,
839
- remove: C
875
+ value: Nt(k),
876
+ type: f.value,
877
+ remove: g
840
878
  }
841
879
  }), await D.value.sendInspectorState(o.value.inspectorId);
842
880
  }
843
- function $(w, C) {
844
- const T = typeof w == "number" ? w + C : BigInt(w) + BigInt(C);
845
- g(T);
881
+ function T(k, g) {
882
+ const $ = typeof k == "number" ? k + g : BigInt(k) + BigInt(g);
883
+ C($);
846
884
  }
847
- return (w, C) => (d(), h("div", vo, [
848
- !e.disableEdit && w.data.editable ? (d(), h(se, { key: 0 }, [
849
- v.value === "string" || v.value === "number" || v.value === "object" || v.value === "null" ? (d(), h(se, { key: 0 }, [
850
- q((d(), B(a(fe), $e(f, {
851
- class: r.value,
852
- onClick: C[0] || (C[0] = ve((T) => w.$emit("enableEditInput", v.value), ["stop"]))
885
+ return (k, g) => (d(), h("div", mo, [
886
+ !e.disableEdit && k.data.editable ? (d(), h(se, { key: 0 }, [
887
+ f.value === "string" || f.value === "number" || f.value === "object" || f.value === "null" ? (d(), h(se, { key: 0 }, [
888
+ q((d(), B(r(fe), Se(v, {
889
+ class: u.value,
890
+ onClick: g[0] || (g[0] = me(($) => k.$emit("enableEditInput", f.value), ["stop"]))
853
891
  }), {
854
892
  icon: H(() => [
855
- y(a(ue), { icon: "i-material-symbols-edit-rounded" })
893
+ y(r(ue), { icon: "i-material-symbols-edit-rounded" })
856
894
  ]),
857
895
  _: 1
858
896
  }, 16, ["class"])), [
859
- [a(J), {
897
+ [r(J), {
860
898
  content: "Edit value"
861
899
  }]
862
900
  ]),
863
- v.value === "object" && w.showAddIfNeeded ? q((d(), B(a(fe), $e({ key: 0 }, f, {
864
- class: r.value,
865
- onClick: C[1] || (C[1] = ve((T) => w.$emit("addNewProp", Array.isArray(i.value) ? "array" : "object"), ["stop"]))
901
+ f.value === "object" && k.showAddIfNeeded ? q((d(), B(r(fe), Se({ key: 0 }, v, {
902
+ class: u.value,
903
+ onClick: g[1] || (g[1] = me(($) => k.$emit("addNewProp", Array.isArray(i.value) ? "array" : "object"), ["stop"]))
866
904
  }), {
867
905
  icon: H(() => [
868
- y(a(ue), { icon: "i-material-symbols-add-circle-rounded" })
906
+ y(r(ue), { icon: "i-material-symbols-add-circle-rounded" })
869
907
  ]),
870
908
  _: 1
871
909
  }, 16, ["class"])), [
872
- [a(J), {
910
+ [r(J), {
873
911
  content: "Add new value"
874
912
  }]
875
913
  ]) : j("", !0)
876
914
  ], 64)) : j("", !0),
877
- v.value === "boolean" ? (d(), B(a(fe), $e({ key: 1 }, f, {
878
- class: r.value,
879
- onClick: C[2] || (C[2] = (T) => g(!i.value))
915
+ f.value === "boolean" ? (d(), B(r(fe), Se({ key: 1 }, v, {
916
+ class: u.value,
917
+ onClick: g[2] || (g[2] = ($) => C(!i.value))
880
918
  }), {
881
919
  icon: H(() => [
882
- y(a(ue), {
920
+ y(r(ue), {
883
921
  icon: i.value ? "i-material-symbols-check-box-sharp" : "i-material-symbols-check-box-outline-blank-sharp"
884
922
  }, null, 8, ["icon"])
885
923
  ]),
886
924
  _: 1
887
- }, 16, ["class"])) : v.value === "number" || u.value === "bigint" ? (d(), h(se, { key: 2 }, [
888
- y(a(fe), $e(f, {
889
- class: r.value,
890
- onClick: C[3] || (C[3] = ve((T) => $(i.value, 1), ["stop"]))
925
+ }, 16, ["class"])) : f.value === "number" || a.value === "bigint" ? (d(), h(se, { key: 2 }, [
926
+ y(r(fe), Se(v, {
927
+ class: u.value,
928
+ onClick: g[3] || (g[3] = me(($) => T(i.value, 1), ["stop"]))
891
929
  }), {
892
930
  icon: H(() => [
893
- y(a(ue), { icon: "i-carbon-add" })
931
+ y(r(ue), { icon: "i-carbon-add" })
894
932
  ]),
895
933
  _: 1
896
934
  }, 16, ["class"]),
897
- y(a(fe), $e(f, {
898
- class: r.value,
899
- onClick: C[4] || (C[4] = ve((T) => $(i.value, -1), ["stop"]))
935
+ y(r(fe), Se(v, {
936
+ class: u.value,
937
+ onClick: g[4] || (g[4] = me(($) => T(i.value, -1), ["stop"]))
900
938
  }), {
901
939
  icon: H(() => [
902
- y(a(ue), { icon: "i-carbon-subtract" })
940
+ y(r(ue), { icon: "i-carbon-subtract" })
903
941
  ]),
904
942
  _: 1
905
943
  }, 16, ["class"])
906
944
  ], 64)) : j("", !0)
907
945
  ], 64)) : j("", !0),
908
- !e.disableEdit && w.depth > 0 && w.data.editable ? (d(), B(a(fe), $e({ key: 1 }, f, {
909
- class: r.value,
910
- onClick: C[5] || (C[5] = ve((T) => g(i.value, !0), ["stop"]))
946
+ !e.disableEdit && k.depth > 0 && k.data.editable ? (d(), B(r(fe), Se({ key: 1 }, v, {
947
+ class: u.value,
948
+ onClick: g[5] || (g[5] = me(($) => C(i.value, !0), ["stop"]))
911
949
  }), {
912
950
  icon: H(() => [
913
- y(a(ue), { icon: "i-material-symbols-delete-rounded" })
951
+ y(r(ue), { icon: "i-material-symbols-delete-rounded" })
914
952
  ]),
915
953
  _: 1
916
954
  }, 16, ["class"])) : j("", !0),
917
- y(a(pn), {
955
+ y(r(pn), {
918
956
  class: ae({
919
- "opacity-0": !w.hovering && !s.value
957
+ "opacity-0": !k.hovering && !s.value
920
958
  }),
921
959
  "button-props": {
922
960
  flat: !0,
923
961
  size: "mini"
924
962
  },
925
- disabled: !a(l),
926
- "onUpdate:visible": C[8] || (C[8] = (T) => s.value = T)
963
+ disabled: !r(l),
964
+ "onUpdate:visible": g[8] || (g[8] = ($) => s.value = $)
927
965
  }, {
928
966
  popper: H(() => [
929
- c("div", mo, [
930
- y(a(Ct), {
931
- onClick: C[6] || (C[6] = (T) => a(t)(typeof i.value == "object" ? JSON.stringify(i.value) : i.value.toString()))
967
+ c("div", ho, [
968
+ y(r(Ct), {
969
+ onClick: g[6] || (g[6] = ($) => r(t)(typeof i.value == "object" ? JSON.stringify(i.value) : i.value.toString()))
932
970
  }, {
933
971
  icon: H(() => [
934
- y(a(ue), {
972
+ y(r(ue), {
935
973
  icon: "i-material-symbols-copy-all-rounded",
936
974
  class: "mt4px"
937
975
  }),
938
- C[9] || (C[9] = X(" Copy Value "))
976
+ g[9] || (g[9] = Q(" Copy Value "))
939
977
  ]),
940
978
  _: 1
941
979
  }),
942
- y(a(Ct), {
943
- onClick: C[7] || (C[7] = () => {
944
- a(t)(w.data.key);
980
+ y(r(Ct), {
981
+ onClick: g[7] || (g[7] = () => {
982
+ r(t)(k.data.key);
945
983
  })
946
984
  }, {
947
985
  icon: H(() => [
948
- y(a(ue), {
986
+ y(r(ue), {
949
987
  icon: "i-material-symbols-copy-all-rounded",
950
988
  class: "mt4px"
951
989
  }),
952
- C[10] || (C[10] = X(" Copy Path "))
990
+ g[10] || (g[10] = Q(" Copy Path "))
953
991
  ]),
954
992
  _: 1
955
993
  })
956
994
  ])
957
995
  ]),
958
996
  "button-icon": H(() => [
959
- y(a(ue), { icon: "i-material-symbols:more-vert" })
997
+ y(r(ue), { icon: "i-material-symbols:more-vert" })
960
998
  ]),
961
999
  _: 1
962
1000
  }, 8, ["class", "disabled"])
963
1001
  ]));
964
1002
  }
965
- }), go = { class: "flex-inline items-center gap4px" }, We = /* @__PURE__ */ Z({
1003
+ }), Co = { class: "flex-inline items-center gap4px" }, qe = /* @__PURE__ */ Z({
966
1004
  __name: "StateFieldInputEditor",
967
1005
  props: {
968
1006
  modelValue: {},
@@ -972,89 +1010,89 @@ const vo = { class: "flex pl5px" }, mo = { class: "w160px py5px" }, ho = /* @__P
972
1010
  },
973
1011
  emits: ["cancel", "submit", "update:modelValue"],
974
1012
  setup(n, { emit: e }) {
975
- const o = n, t = e, l = V(() => o.customType === "date" ? "datetime-local" : ""), { escape: s, enter: p } = co();
976
- et(() => {
1013
+ const o = n, t = e, l = E(() => o.customType === "date" ? "datetime-local" : ""), { escape: s, enter: p } = po();
1014
+ tt(() => {
977
1015
  s.value ? t("cancel") : p.value && t("submit");
978
1016
  });
979
- const i = po(o, "modelValue", t);
980
- function u(r) {
1017
+ const i = fo(o, "modelValue", t);
1018
+ function a(u) {
981
1019
  try {
982
- return ze(r, o.customType), !0;
1020
+ return Be(u, o.customType), !0;
983
1021
  } catch {
984
1022
  return !1;
985
1023
  }
986
1024
  }
987
- const v = S(!1);
988
- return ee(i, In(() => {
989
- v.value = !u(i.value);
990
- }, 300)), (r, g) => (d(), h("span", go, [
991
- y(a(ge), {
992
- modelValue: a(i),
993
- "onUpdate:modelValue": g[0] || (g[0] = ($) => Ke(i) ? i.value = $ : null),
1025
+ const f = R(!1);
1026
+ return te(i, In(() => {
1027
+ f.value = !a(i.value);
1028
+ }, 300)), (u, C) => (d(), h("span", Co, [
1029
+ y(r(Ce), {
1030
+ modelValue: r(i),
1031
+ "onUpdate:modelValue": C[0] || (C[0] = (T) => Ge(i) ? i.value = T : null),
994
1032
  type: l.value,
995
- variant: v.value ? "warning" : "normal",
996
- class: ae(["h25px px4px", r.customType === "date" ? "w240px" : "w120px"]),
997
- "auto-focus": r.autoFocus,
998
- onClick: g[1] || (g[1] = ve(() => {
1033
+ variant: f.value ? "warning" : "normal",
1034
+ class: ae(["h25px px4px", u.customType === "date" ? "w240px" : "w120px"]),
1035
+ "auto-focus": u.autoFocus,
1036
+ onClick: C[1] || (C[1] = me(() => {
999
1037
  }, ["stop"]))
1000
1038
  }, null, 8, ["modelValue", "type", "variant", "class", "auto-focus"]),
1001
- r.showActions ? (d(), h(se, { key: 0 }, [
1002
- q((d(), B(a(fe), {
1039
+ u.showActions ? (d(), h(se, { key: 0 }, [
1040
+ q((d(), B(r(fe), {
1003
1041
  size: "mini",
1004
1042
  flat: "",
1005
1043
  class: "p2px!",
1006
- onClick: g[2] || (g[2] = ve(($) => r.$emit("cancel"), ["stop"]))
1044
+ onClick: C[2] || (C[2] = me((T) => u.$emit("cancel"), ["stop"]))
1007
1045
  }, {
1008
1046
  icon: H(() => [
1009
- y(a(ue), { icon: "i-material-symbols-cancel" })
1047
+ y(r(ue), { icon: "i-material-symbols-cancel" })
1010
1048
  ]),
1011
1049
  _: 1
1012
1050
  })), [
1013
- [a(J), {
1051
+ [r(J), {
1014
1052
  content: "Esc to cancel"
1015
1053
  }]
1016
1054
  ]),
1017
- v.value ? q((d(), B(a(ue), {
1055
+ f.value ? q((d(), B(r(ue), {
1018
1056
  key: 1,
1019
1057
  icon: "i-material-symbols-warning",
1020
1058
  class: "color-warning-500 dark:color-warning-300"
1021
1059
  }, null, 512)), [
1022
- [a(J), {
1060
+ [r(J), {
1023
1061
  content: "Invalid value"
1024
1062
  }]
1025
- ]) : q((d(), B(a(fe), {
1063
+ ]) : q((d(), B(r(fe), {
1026
1064
  key: 0,
1027
1065
  size: "mini",
1028
1066
  flat: "",
1029
1067
  class: "p2px!",
1030
- onClick: g[3] || (g[3] = ve(($) => r.$emit("submit"), ["stop"]))
1068
+ onClick: C[3] || (C[3] = me((T) => u.$emit("submit"), ["stop"]))
1031
1069
  }, {
1032
1070
  icon: H(() => [
1033
- y(a(ue), { icon: "i-material-symbols-save" })
1071
+ y(r(ue), { icon: "i-material-symbols-save" })
1034
1072
  ]),
1035
1073
  _: 1
1036
1074
  })), [
1037
- [a(J), {
1075
+ [r(J), {
1038
1076
  content: "Enter to submit change"
1039
1077
  }]
1040
1078
  ])
1041
1079
  ], 64)) : j("", !0)
1042
1080
  ]));
1043
1081
  }
1044
- }), Co = {
1082
+ }), _o = {
1045
1083
  key: 1,
1046
1084
  pl5: ""
1047
- }, _o = {
1085
+ }, yo = {
1048
1086
  "whitespace-nowrap": "",
1049
1087
  "text-purple-700": "",
1050
1088
  op70: "",
1051
1089
  "dark:text-purple-300": ""
1052
- }, yo = ["innerHTML"], xo = { key: 0 }, bo = {
1090
+ }, xo = ["innerHTML"], bo = { key: 0 }, wo = {
1053
1091
  "overflow-hidden": "",
1054
1092
  "text-ellipsis": "",
1055
1093
  "whitespace-nowrap": "",
1056
1094
  "state-key": ""
1057
- }, Tt = 30, wo = /* @__PURE__ */ Z({
1095
+ }, Tt = 30, ko = /* @__PURE__ */ Z({
1058
1096
  __name: "StateFieldViewer",
1059
1097
  props: {
1060
1098
  data: {},
@@ -1063,133 +1101,133 @@ const vo = { class: "flex pl5px" }, mo = { class: "w160px py5px" }, ho = /* @__P
1063
1101
  expandedStateId: {}
1064
1102
  },
1065
1103
  setup(n) {
1066
- const e = n, o = S(Tt), t = V(() => xn(e.data.value, !1, {
1104
+ const e = n, o = R(Tt), t = E(() => xn(e.data.value, !1, {
1067
1105
  customClass: {
1068
1106
  string: "max-w-120 truncate"
1069
1107
  }
1070
- })), l = V(() => _t(e.data.value)), s = V(() => Dt(e.data.value)), { expanded: p, toggleExpanded: i } = at(e.expandedStateId ?? ""), u = V(() => {
1071
- var P;
1072
- return l.value === "custom" ? `${((P = e.data.value._custom) == null ? void 0 : P.type) ?? "string"}-custom-state` : "unknown-state-type";
1073
- }), v = V(() => {
1074
- const { value: P } = s.value;
1075
- return yt(P) ? P.length : xt(P) ? Object.keys(P).length : 0;
1076
- }), f = V(() => e.data.path || [e.data.key]), r = V(() => f.value[f.value.length - 1]), g = V(() => {
1077
- var m, _, N, M, G, re, ke;
1078
- const P = ["Reactive"], x = ((_ = (m = e.data.value) == null ? void 0 : m._custom) == null ? void 0 : _.stateTypeName) || ((N = e.data) == null ? void 0 : N.stateTypeName);
1079
- if (P.includes(x))
1108
+ })), l = E(() => _t(e.data.value)), s = E(() => Dt(e.data.value)), { expanded: p, toggleExpanded: i } = it(e.expandedStateId ?? ""), a = E(() => {
1109
+ var A;
1110
+ return l.value === "custom" ? `${((A = e.data.value._custom) == null ? void 0 : A.type) ?? "string"}-custom-state` : "unknown-state-type";
1111
+ }), f = E(() => {
1112
+ const { value: A } = s.value;
1113
+ return yt(A) ? A.length : xt(A) ? Object.keys(A).length : 0;
1114
+ }), v = E(() => e.data.path || [e.data.key]), u = E(() => v.value[v.value.length - 1]), C = E(() => {
1115
+ var m, _, N, M, G, re, Ie;
1116
+ const A = ["Reactive"], x = ((_ = (m = e.data.value) == null ? void 0 : m._custom) == null ? void 0 : _.stateTypeName) || ((N = e.data) == null ? void 0 : N.stateTypeName);
1117
+ if (A.includes(x))
1080
1118
  return x;
1081
1119
  if ((G = (M = e.data.value) == null ? void 0 : M.fields) != null && G.abstract)
1082
1120
  return "";
1083
1121
  {
1084
- const Ne = (ke = (re = e.data.value) == null ? void 0 : re._custom) == null ? void 0 : ke.type, Oe = l.value === "custom" && !Ne ? `"${t.value}"` : t.value === "" ? '""' : t.value, Ie = l.value === "custom" && Ne === "ref" ? _t(Oe) : l.value, je = l.value === "string" ? "select-text" : "", Re = `<span title="${l.value === "string" ? bn(e.data.value) : ""}" class="${Ie}-state-type flex whitespace-nowrap ${je}">${Oe}</span>`;
1085
- return x ? `${Re} <span class="text-gray-500">(${x})</span>` : Re;
1122
+ const Re = (Ie = (re = e.data.value) == null ? void 0 : re._custom) == null ? void 0 : Ie.type, je = l.value === "custom" && !Re ? `"${t.value}"` : t.value === "" ? '""' : t.value, $e = l.value === "custom" && Re === "ref" ? _t(je) : l.value, ze = l.value === "string" ? "select-text" : "", De = `<span title="${l.value === "string" ? bn(e.data.value) : ""}" class="${$e}-state-type flex whitespace-nowrap ${ze}">${je}</span>`;
1123
+ return x ? `${De} <span class="text-gray-500">(${x})</span>` : De;
1086
1124
  }
1087
- }), $ = V(() => {
1088
- const { value: P, inherit: x, customType: m } = s.value, _ = m === "set";
1125
+ }), T = E(() => {
1126
+ const { value: A, inherit: x, customType: m } = s.value, _ = m === "set";
1089
1127
  let N = [];
1090
- return yt(P) ? P.slice(0, o.value).map((G, re) => ({
1128
+ return yt(A) ? A.slice(0, o.value).map((G, re) => ({
1091
1129
  key: re.toString(),
1092
- path: [...f.value, re.toString()],
1130
+ path: [...v.value, re.toString()],
1093
1131
  value: G,
1094
1132
  ...x,
1095
1133
  editable: e.data.editable && !_,
1096
1134
  creating: !1
1097
- })) : (xt(P) && (N = Object.keys(P).slice(0, o.value).map((M) => ({
1135
+ })) : (xt(A) && (N = Object.keys(A).slice(0, o.value).map((M) => ({
1098
1136
  key: M,
1099
- path: [...f.value, M],
1100
- value: P[M],
1137
+ path: [...v.value, M],
1138
+ value: A[M],
1101
1139
  ...x,
1102
1140
  editable: e.data.editable && !_,
1103
1141
  creating: !1
1104
- })), l.value !== "custom" && (N = Pt(N))), N === e.data.value ? [] : N);
1105
- }), w = V(() => $.value.length > 0), C = S(), T = st(), { isHovering: z } = fo(() => C.value), { editingType: R, editing: k, editingText: A, toggleEditing: F, nodeId: K } = Kn();
1106
- ee(() => k.value, (P) => {
1107
- if (P) {
1142
+ })), l.value !== "custom" && (N = At(N))), N === e.data.value ? [] : N);
1143
+ }), k = E(() => T.value.length > 0), g = R(), $ = at(), { isHovering: z } = vo(() => g.value), { editingType: V, editing: b, editingText: P, toggleEditing: F, nodeId: K } = Kn();
1144
+ te(() => b.value, (A) => {
1145
+ if (A) {
1108
1146
  const { value: x } = s.value;
1109
- A.value = wn(x, s.value.customType);
1147
+ P.value = wn(x, s.value.customType);
1110
1148
  } else
1111
- A.value = "";
1149
+ P.value = "";
1112
1150
  });
1113
1151
  async function ce() {
1114
- const P = e.data;
1152
+ const A = e.data;
1115
1153
  await D.value.editInspectorState({
1116
- path: f.value,
1117
- inspectorId: T.value.inspectorId,
1118
- type: P.stateType,
1154
+ path: v.value,
1155
+ inspectorId: $.value.inspectorId,
1156
+ type: A.stateType,
1119
1157
  nodeId: K.value,
1120
1158
  state: {
1121
1159
  newKey: null,
1122
- type: R.value,
1123
- value: ze(A.value, s.value.customType)
1160
+ type: V.value,
1161
+ value: Be(P.value, s.value.customType)
1124
1162
  }
1125
- }), await D.value.sendInspectorState(T.value.inspectorId), F();
1163
+ }), await D.value.sendInspectorState($.value.inspectorId), F();
1126
1164
  }
1127
1165
  const { addNewProp: L, draftingNewProp: I, resetDrafting: O } = Wn();
1128
- function Q(P) {
1166
+ function ee(A) {
1129
1167
  const x = `${e.depth}-${e.index}`;
1130
- p.value.includes(x) || i(x), L(P, s.value.value);
1168
+ p.value.includes(x) || i(x), L(A, s.value.value);
1131
1169
  }
1132
1170
  async function ne() {
1133
- const P = e.data;
1171
+ const A = e.data;
1134
1172
  await D.value.editInspectorState({
1135
- path: [...f.value, I.value.key],
1136
- inspectorId: T.value.inspectorId,
1137
- type: P.stateType,
1173
+ path: [...v.value, I.value.key],
1174
+ inspectorId: $.value.inspectorId,
1175
+ type: A.stateType,
1138
1176
  nodeId: K.value,
1139
1177
  state: {
1140
1178
  newKey: I.value.key,
1141
- type: typeof ze(I.value.value),
1142
- value: ze(I.value.value)
1179
+ type: typeof Be(I.value.value),
1180
+ value: Be(I.value.value)
1143
1181
  }
1144
- }), await D.value.sendInspectorState(T.value.inspectorId), O();
1182
+ }), await D.value.sendInspectorState($.value.inspectorId), O();
1145
1183
  }
1146
- return (P, x) => (d(), h("div", null, [
1184
+ return (A, x) => (d(), h("div", null, [
1147
1185
  c("div", {
1148
1186
  ref_key: "containerRef",
1149
- ref: C,
1150
- class: ae(["font-state-field flex items-center text-3.5", [w.value && "cursor-pointer hover:bg-active"]]),
1151
- style: Te({ paddingLeft: `${P.depth * 15 + 4}px` }),
1152
- onClick: x[1] || (x[1] = (m) => a(i)(`${P.depth}-${P.index}`))
1187
+ ref: g,
1188
+ class: ae(["font-state-field flex items-center text-3.5", [k.value && "cursor-pointer hover:bg-active"]]),
1189
+ style: Ee({ paddingLeft: `${A.depth * 15 + 4}px` }),
1190
+ onClick: x[1] || (x[1] = (m) => r(i)(`${A.depth}-${A.index}`))
1153
1191
  }, [
1154
- w.value ? (d(), B(lt, {
1192
+ k.value ? (d(), B(st, {
1155
1193
  key: 0,
1156
- value: a(p).includes(`${P.depth}-${P.index}`)
1157
- }, null, 8, ["value"])) : (d(), h("span", Co)),
1158
- c("span", _o, ie(r.value), 1),
1194
+ value: r(p).includes(`${A.depth}-${A.index}`)
1195
+ }, null, 8, ["value"])) : (d(), h("span", _o)),
1196
+ c("span", yo, ie(u.value), 1),
1159
1197
  x[5] || (x[5] = c("span", { mx1: "" }, ":", -1)),
1160
- a(k) ? (d(), B(We, {
1198
+ r(b) ? (d(), B(qe, {
1161
1199
  key: 2,
1162
- modelValue: a(A),
1163
- "onUpdate:modelValue": x[0] || (x[0] = (m) => Ke(A) ? A.value = m : null),
1200
+ modelValue: r(P),
1201
+ "onUpdate:modelValue": x[0] || (x[0] = (m) => Ge(P) ? P.value = m : null),
1164
1202
  class: "mr-1",
1165
1203
  "custom-type": s.value.customType,
1166
- onCancel: a(F),
1204
+ onCancel: r(F),
1167
1205
  onSubmit: ce
1168
1206
  }, null, 8, ["modelValue", "custom-type", "onCancel"])) : j("", !0),
1169
1207
  c("span", {
1170
- class: ae([u.value, "flex whitespace-nowrap dark:text-#bdc6cf"])
1208
+ class: ae([a.value, "flex whitespace-nowrap dark:text-#bdc6cf"])
1171
1209
  }, [
1172
1210
  c("span", {
1173
1211
  class: "flex",
1174
- innerHTML: g.value
1175
- }, null, 8, yo)
1212
+ innerHTML: C.value
1213
+ }, null, 8, xo)
1176
1214
  ], 2),
1177
- y(ho, {
1178
- hovering: a(z),
1179
- "disable-edit": a(T).disableEdit || a(k),
1180
- data: P.data,
1181
- depth: P.depth,
1182
- onEnableEditInput: a(F),
1183
- onAddNewProp: Q
1215
+ y(go, {
1216
+ hovering: r(z),
1217
+ "disable-edit": r($).disableEdit || r(b),
1218
+ data: A.data,
1219
+ depth: A.depth,
1220
+ onEnableEditInput: r(F),
1221
+ onAddNewProp: ee
1184
1222
  }, null, 8, ["hovering", "disable-edit", "data", "depth", "onEnableEditInput"])
1185
1223
  ], 6),
1186
- w.value && a(p).includes(`${P.depth}-${P.index}`) ? (d(), h("div", xo, [
1224
+ k.value && r(p).includes(`${A.depth}-${A.index}`) ? (d(), h("div", bo, [
1187
1225
  y(qt, {
1188
- data: $.value,
1189
- depth: P.depth,
1190
- index: P.index
1226
+ data: T.value,
1227
+ depth: A.depth,
1228
+ index: A.index
1191
1229
  }, null, 8, ["data", "depth", "index"]),
1192
- v.value > o.value ? q((d(), B(a(fe), {
1230
+ f.value > o.value ? q((d(), B(r(fe), {
1193
1231
  key: 0,
1194
1232
  flat: "",
1195
1233
  size: "mini",
@@ -1197,36 +1235,36 @@ const vo = { class: "flex pl5px" }, mo = { class: "w160px py5px" }, ho = /* @__P
1197
1235
  onClick: x[2] || (x[2] = (m) => o.value += Tt)
1198
1236
  }, {
1199
1237
  icon: H(() => [
1200
- y(a(ue), { icon: "i-material-symbols-more-horiz" })
1238
+ y(r(ue), { icon: "i-material-symbols-more-horiz" })
1201
1239
  ]),
1202
1240
  _: 1
1203
1241
  })), [
1204
- [a(J), "Show more"]
1242
+ [r(J), "Show more"]
1205
1243
  ]) : j("", !0),
1206
- a(I).enable ? (d(), h("div", {
1244
+ r(I).enable ? (d(), h("div", {
1207
1245
  key: 1,
1208
- style: Te({ paddingLeft: `${(P.depth + 1) * 15 + 4}px` })
1246
+ style: Ee({ paddingLeft: `${(A.depth + 1) * 15 + 4}px` })
1209
1247
  }, [
1210
- c("span", bo, [
1211
- y(We, {
1212
- modelValue: a(I).key,
1213
- "onUpdate:modelValue": x[3] || (x[3] = (m) => a(I).key = m),
1248
+ c("span", wo, [
1249
+ y(qe, {
1250
+ modelValue: r(I).key,
1251
+ "onUpdate:modelValue": x[3] || (x[3] = (m) => r(I).key = m),
1214
1252
  "show-actions": !1
1215
1253
  }, null, 8, ["modelValue"])
1216
1254
  ]),
1217
1255
  x[6] || (x[6] = c("span", { "mx-1": "" }, ":", -1)),
1218
- y(We, {
1219
- modelValue: a(I).value,
1220
- "onUpdate:modelValue": x[4] || (x[4] = (m) => a(I).value = m),
1256
+ y(qe, {
1257
+ modelValue: r(I).value,
1258
+ "onUpdate:modelValue": x[4] || (x[4] = (m) => r(I).value = m),
1221
1259
  "auto-focus": !1,
1222
- onCancel: a(O),
1260
+ onCancel: r(O),
1223
1261
  onSubmit: ne
1224
1262
  }, null, 8, ["modelValue", "onCancel"])
1225
1263
  ], 4)) : j("", !0)
1226
1264
  ])) : j("", !0)
1227
1265
  ]));
1228
1266
  }
1229
- }), ko = /* @__PURE__ */ xe(wo, [["__scopeId", "data-v-7918b8f2"]]), qt = /* @__PURE__ */ Z({
1267
+ }), Io = /* @__PURE__ */ be(ko, [["__scopeId", "data-v-7918b8f2"]]), qt = /* @__PURE__ */ Z({
1230
1268
  __name: "ChildStateViewer",
1231
1269
  props: {
1232
1270
  data: {},
@@ -1237,7 +1275,7 @@ const vo = { class: "flex pl5px" }, mo = { class: "w160px py5px" }, ho = /* @__P
1237
1275
  setup(n) {
1238
1276
  return (e, o) => (d(), h("div", null, [
1239
1277
  (d(!0), h(se, null, de(e.data, (t, l) => (d(), h("div", { key: l }, [
1240
- y(ko, {
1278
+ y(Io, {
1241
1279
  data: t,
1242
1280
  depth: e.depth + 1,
1243
1281
  index: `${e.index}-${l}`,
@@ -1246,14 +1284,14 @@ const vo = { class: "flex pl5px" }, mo = { class: "w160px py5px" }, ho = /* @__P
1246
1284
  ]))), 128))
1247
1285
  ]));
1248
1286
  }
1249
- }), Io = ["onClick"], $o = {
1287
+ }), $o = ["onClick"], So = {
1250
1288
  key: 1,
1251
1289
  pl5: ""
1252
- }, So = {
1290
+ }, To = {
1253
1291
  "font-state-field": "",
1254
1292
  "text-3.5": "",
1255
1293
  "text-hex-a3a3a3": ""
1256
- }, To = { key: 0 }, He = /* @__PURE__ */ Z({
1294
+ }, Eo = { key: 0 }, Ue = /* @__PURE__ */ Z({
1257
1295
  __name: "RootStateViewer",
1258
1296
  props: {
1259
1297
  data: {},
@@ -1272,37 +1310,37 @@ const vo = { class: "flex pl5px" }, mo = { class: "w160px py5px" }, ho = /* @__P
1272
1310
  };
1273
1311
  }
1274
1312
  const { context: t } = Zn(o());
1275
- et(() => {
1313
+ tt(() => {
1276
1314
  t.value = o();
1277
1315
  });
1278
- const { expanded: l, toggleExpanded: s } = at(e.expandedStateId);
1316
+ const { expanded: l, toggleExpanded: s } = it(e.expandedStateId);
1279
1317
  return (p, i) => (d(), h("div", null, [
1280
- (d(!0), h(se, null, de(p.data, (u, v, f) => (d(), h("div", { key: f }, [
1318
+ (d(!0), h(se, null, de(p.data, (a, f, v) => (d(), h("div", { key: v }, [
1281
1319
  c("div", {
1282
- class: ae(["flex items-center", [(u == null ? void 0 : u.length) && "cursor-pointer hover:bg-active"]]),
1283
- onClick: (r) => a(s)(`${f}`)
1320
+ class: ae(["flex items-center", [(a == null ? void 0 : a.length) && "cursor-pointer hover:bg-active"]]),
1321
+ onClick: (u) => r(s)(`${v}`)
1284
1322
  }, [
1285
- u != null && u.length ? (d(), B(lt, {
1323
+ a != null && a.length ? (d(), B(st, {
1286
1324
  key: 0,
1287
- value: a(l).includes(`${f}`)
1288
- }, null, 8, ["value"])) : (d(), h("span", $o)),
1289
- c("span", So, ie(v), 1)
1290
- ], 10, Io),
1291
- u != null && u.length && a(l).includes(`${f}`) ? (d(), h("div", To, [
1325
+ value: r(l).includes(`${v}`)
1326
+ }, null, 8, ["value"])) : (d(), h("span", So)),
1327
+ c("span", To, ie(f), 1)
1328
+ ], 10, $o),
1329
+ a != null && a.length && r(l).includes(`${v}`) ? (d(), h("div", Eo, [
1292
1330
  y(qt, {
1293
- data: u,
1294
- index: `${f}`,
1331
+ data: a,
1332
+ index: `${v}`,
1295
1333
  "expanded-state-id": p.expandedStateId
1296
1334
  }, null, 8, ["data", "index", "expanded-state-id"])
1297
1335
  ])) : j("", !0)
1298
1336
  ]))), 128))
1299
1337
  ]));
1300
1338
  }
1301
- }), Eo = { class: "p3" }, Vo = ["onClick"], No = {
1339
+ }), Vo = { class: "p3" }, No = ["onClick"], Ro = {
1302
1340
  key: 0,
1303
1341
  class: "absolute left-5px top-4.5 h10 w0 border-l-2",
1304
1342
  border: "solid gray2"
1305
- }, Ro = { class: "h-full flex items-center truncate pl5" }, Do = {
1343
+ }, Do = { class: "h-full flex items-center truncate pl5" }, Po = {
1306
1344
  absolute: "",
1307
1345
  "top-5": "",
1308
1346
  pr2: "",
@@ -1311,7 +1349,7 @@ const vo = { class: "flex pl5px" }, mo = { class: "w160px py5px" }, ho = /* @__P
1311
1349
  }, Ao = {
1312
1350
  pl2: "",
1313
1351
  op30: ""
1314
- }, Po = /* @__PURE__ */ Z({
1352
+ }, Mo = /* @__PURE__ */ Z({
1315
1353
  __name: "EventList",
1316
1354
  props: /* @__PURE__ */ Ae({
1317
1355
  data: {}
@@ -1321,17 +1359,17 @@ const vo = { class: "flex pl5px" }, mo = { class: "w160px py5px" }, ho = /* @__P
1321
1359
  }),
1322
1360
  emits: ["update:modelValue"],
1323
1361
  setup(n) {
1324
- const e = n, o = Ye(n, "modelValue"), t = ["#3e5770", "#42b983", "#0098c4"], l = S(null), s = V(() => {
1362
+ const e = n, o = Xe(n, "modelValue"), t = ["#3e5770", "#42b983", "#0098c4"], l = R(null), s = E(() => {
1325
1363
  let p = -1, i = 0;
1326
- return e.data.forEach((u, v) => {
1327
- (u.groupId !== i || p === -1) && (p = (p + 1) % t.length), i = u.groupId ?? i, u.id = v, u.color = t[p];
1364
+ return e.data.forEach((a, f) => {
1365
+ (a.groupId !== i || p === -1) && (p = (p + 1) % t.length), i = a.groupId ?? i, a.id = f, a.color = t[p];
1328
1366
  }), e.data;
1329
1367
  });
1330
- return ee(() => s.value.length, (p) => {
1368
+ return te(() => s.value.length, (p) => {
1331
1369
  var i;
1332
1370
  (i = l.value) == null || i.scrollToItem(p - 1);
1333
- }, { flush: "post" }), (p, i) => (d(), h("div", Eo, [
1334
- y(a($n), {
1371
+ }, { flush: "post" }), (p, i) => (d(), h("div", Vo, [
1372
+ y(r($n), {
1335
1373
  ref_key: "scrollerRef",
1336
1374
  ref: l,
1337
1375
  items: s.value,
@@ -1342,50 +1380,50 @@ const vo = { class: "flex pl5px" }, mo = { class: "w160px py5px" }, ho = /* @__P
1342
1380
  "list-tag": "ul",
1343
1381
  buffer: 20
1344
1382
  }, {
1345
- default: H(({ item: u }) => [
1383
+ default: H(({ item: a }) => [
1346
1384
  c("div", {
1347
1385
  class: "relative mb7 h6 cursor-pointer",
1348
- style: Te({ color: o.value === u.id ? u.color : "" }),
1349
- onClick: (v) => o.value = u.id
1386
+ style: Ee({ color: o.value === a.id ? a.color : "" }),
1387
+ onClick: (f) => o.value = a.id
1350
1388
  }, [
1351
1389
  c("span", {
1352
1390
  class: "absolute top-1.5 inline-block h3 w3 b rounded-50%",
1353
- style: Te({ border: `3px solid ${u.color}` })
1391
+ style: Ee({ border: `3px solid ${a.color}` })
1354
1392
  }, null, 4),
1355
- u.id < p.data.length - 1 ? (d(), h("span", No)) : j("", !0),
1356
- c("p", Ro, [
1357
- c("span", Do, "[" + ie(a(En)(u.time)) + "]", 1),
1358
- X(" " + ie(u.title) + " ", 1),
1359
- c("span", Ao, ie(u.subtitle), 1)
1393
+ a.id < p.data.length - 1 ? (d(), h("span", Ro)) : j("", !0),
1394
+ c("p", Do, [
1395
+ c("span", Po, "[" + ie(r(En)(a.time)) + "]", 1),
1396
+ Q(" " + ie(a.title) + " ", 1),
1397
+ c("span", Ao, ie(a.subtitle), 1)
1360
1398
  ])
1361
- ], 12, Vo)
1399
+ ], 12, No)
1362
1400
  ]),
1363
1401
  _: 1
1364
1402
  }, 8, ["items"])
1365
1403
  ]));
1366
1404
  }
1367
- }), Mo = { class: "relative h-full flex flex-col" }, Lo = {
1405
+ }), Lo = { class: "relative h-full flex flex-col" }, Ho = {
1368
1406
  key: 1,
1369
1407
  class: "flex-1 overflow-hidden"
1370
- }, Ho = {
1408
+ }, Uo = {
1371
1409
  "h-full": "",
1372
1410
  "select-none": "",
1373
1411
  "overflow-scroll": "",
1374
1412
  class: "no-scrollbar"
1375
- }, Uo = {
1413
+ }, Oo = {
1376
1414
  "h-full": "",
1377
1415
  "overflow-scroll": "",
1378
1416
  class: "no-scrollbar"
1379
- }, Oo = {
1417
+ }, jo = {
1380
1418
  key: 3,
1381
1419
  class: "absolute right-3 top-12 flex items-center justify-end b-1 border-base rounded-1 b-solid px2 py1"
1382
- }, jo = { class: "flex items-center gap-2 px-1" }, zo = {
1420
+ }, zo = { class: "flex items-center gap-2 px-1" }, Bo = {
1383
1421
  key: 0,
1384
1422
  class: "recording recording-btn bg-[#ef4444]"
1385
- }, Bo = {
1423
+ }, Fo = {
1386
1424
  key: 1,
1387
1425
  class: "recording-btn bg-black op70 dark:bg-white hover:op100"
1388
- }, Fo = { class: "flex items-center gap1" }, Zo = /* @__PURE__ */ Z({
1426
+ }, Zo = { class: "flex items-center gap1" }, Ko = /* @__PURE__ */ Z({
1389
1427
  __name: "index",
1390
1428
  props: {
1391
1429
  layerIds: {},
@@ -1396,32 +1434,32 @@ const vo = { class: "flex pl5px" }, mo = { class: "w160px py5px" }, ho = /* @__P
1396
1434
  switcherVisible: { type: Boolean, default: !0 }
1397
1435
  },
1398
1436
  setup(n, { expose: e }) {
1399
- const o = n, { expanded: t } = Ce("timeline-state");
1437
+ const o = n, { expanded: t } = _e("timeline-state");
1400
1438
  t.value = ["0", "1"];
1401
- const l = S([]), s = S(/* @__PURE__ */ new Map()), p = S(0), i = At(), u = V(() => {
1402
- var R;
1403
- return (R = i.timelineLayersState.value) == null ? void 0 : R[o.pluginId];
1404
- }), v = V(() => l.value[p.value] ?? null), f = V(() => u.value ? "Stop recording" : "Start recording"), r = V(() => {
1405
- var k;
1406
- const R = [];
1407
- for (const A in (k = v.value) == null ? void 0 : k.data)
1408
- R.push({
1409
- key: A,
1410
- type: A,
1439
+ const l = R([]), s = R(/* @__PURE__ */ new Map()), p = R(0), i = Pt(), a = E(() => {
1440
+ var V;
1441
+ return (V = i.timelineLayersState.value) == null ? void 0 : V[o.pluginId];
1442
+ }), f = E(() => l.value[p.value] ?? null), v = E(() => a.value ? "Stop recording" : "Start recording"), u = E(() => {
1443
+ var b;
1444
+ const V = [];
1445
+ for (const P in (b = f.value) == null ? void 0 : b.data)
1446
+ V.push({
1447
+ key: P,
1448
+ type: P,
1411
1449
  editable: !1,
1412
- value: v.value.data[A]
1450
+ value: f.value.data[P]
1413
1451
  });
1414
- return R;
1415
- }), g = V(() => {
1416
- var A, F, K;
1417
- const R = (A = v.value) == null ? void 0 : A.groupId, k = s.value.get(R);
1418
- if (k) {
1419
- const ce = ((F = k[k.length - 1]) == null ? void 0 : F.time) - (((K = k[0]) == null ? void 0 : K.time) ?? 0);
1452
+ return V;
1453
+ }), C = E(() => {
1454
+ var P, F, K;
1455
+ const V = (P = f.value) == null ? void 0 : P.groupId, b = s.value.get(V);
1456
+ if (b) {
1457
+ const ce = ((F = b[b.length - 1]) == null ? void 0 : F.time) - (((K = b[0]) == null ? void 0 : K.time) ?? 0);
1420
1458
  return [{
1421
1459
  key: "events",
1422
1460
  type: "events",
1423
1461
  editable: !1,
1424
- value: k.length
1462
+ value: b.length
1425
1463
  }, ce && {
1426
1464
  key: "duration",
1427
1465
  type: "duration",
@@ -1429,69 +1467,69 @@ const vo = { class: "flex pl5px" }, mo = { class: "w160px py5px" }, ho = /* @__P
1429
1467
  value: `${ce}ms`
1430
1468
  }].filter(Boolean);
1431
1469
  }
1432
- }), $ = V(() => ({ "Event Info": r.value, ...g.value && { "Group Info": g.value } }));
1433
- function w(R) {
1434
- var A;
1435
- const k = R.groupId;
1436
- k !== void 0 && (s.value.set(k, s.value.get(k) ?? []), (A = s.value.get(k)) == null || A.push(R));
1470
+ }), T = E(() => ({ "Event Info": u.value, ...C.value && { "Group Info": C.value } }));
1471
+ function k(V) {
1472
+ var P;
1473
+ const b = V.groupId;
1474
+ b !== void 0 && (s.value.set(b, s.value.get(b) ?? []), (P = s.value.get(b)) == null || P.push(V));
1437
1475
  }
1438
- function C(R) {
1439
- const k = oe(R);
1440
- if (!k)
1476
+ function g(V) {
1477
+ const b = oe(V);
1478
+ if (!b)
1441
1479
  return;
1442
- const { layerId: A, event: F } = k;
1443
- o.layerIds.includes(A) && (l.value.push(F), w(F));
1480
+ const { layerId: P, event: F } = b;
1481
+ o.layerIds.includes(P) && (l.value.push(F), k(F));
1444
1482
  }
1445
- D.functions.on(Y.TIMELINE_EVENT_UPDATED, C), we(() => {
1446
- D.functions.off(Y.TIMELINE_EVENT_UPDATED, C);
1483
+ D.functions.on(X.TIMELINE_EVENT_UPDATED, g), ke(() => {
1484
+ D.functions.off(X.TIMELINE_EVENT_UPDATED, g);
1447
1485
  });
1448
- function T() {
1486
+ function $() {
1449
1487
  l.value = [], s.value.clear();
1450
1488
  }
1451
1489
  e({
1452
- clear: T
1490
+ clear: $
1453
1491
  });
1454
1492
  function z() {
1455
1493
  D.value.updateTimelineLayersState({
1456
- [o.pluginId]: !u.value
1494
+ [o.pluginId]: !a.value
1457
1495
  });
1458
1496
  }
1459
- return (R, k) => (d(), h("div", Mo, [
1460
- R.headerVisible ? (d(), B(Ee, {
1497
+ return (V, b) => (d(), h("div", Lo, [
1498
+ V.headerVisible ? (d(), B(Ve, {
1461
1499
  key: 0,
1462
- "doc-link": R.docLink,
1463
- "github-repo-link": R.githubRepoLink
1500
+ "doc-link": V.docLink,
1501
+ "github-repo-link": V.githubRepoLink
1464
1502
  }, {
1465
1503
  default: H(() => [
1466
- y(Ve)
1504
+ y(Ne)
1467
1505
  ]),
1468
1506
  _: 1
1469
1507
  }, 8, ["doc-link", "github-repo-link"])) : j("", !0),
1470
- l.value.length ? (d(), h("div", Lo, [
1471
- y(a(Me), { class: "h-full" }, {
1508
+ l.value.length ? (d(), h("div", Ho, [
1509
+ y(r(Le), { class: "h-full" }, {
1472
1510
  default: H(() => [
1473
- y(a(pe), {
1511
+ y(r(pe), {
1474
1512
  border: "r base",
1475
1513
  size: "40",
1476
1514
  "h-full": ""
1477
1515
  }, {
1478
1516
  default: H(() => [
1479
- c("div", Ho, [
1480
- y(Po, {
1517
+ c("div", Uo, [
1518
+ y(Mo, {
1481
1519
  modelValue: p.value,
1482
- "onUpdate:modelValue": k[0] || (k[0] = (A) => p.value = A),
1520
+ "onUpdate:modelValue": b[0] || (b[0] = (P) => p.value = P),
1483
1521
  data: l.value
1484
1522
  }, null, 8, ["modelValue", "data"])
1485
1523
  ])
1486
1524
  ]),
1487
1525
  _: 1
1488
1526
  }),
1489
- y(a(pe), { size: "60" }, {
1527
+ y(r(pe), { size: "60" }, {
1490
1528
  default: H(() => [
1491
- c("div", Uo, [
1492
- y(He, {
1529
+ c("div", Oo, [
1530
+ y(Ue, {
1493
1531
  class: "p3",
1494
- data: $.value,
1532
+ data: T.value,
1495
1533
  "node-id": "",
1496
1534
  "inspector-id": "",
1497
1535
  "disable-edit": !0,
@@ -1504,35 +1542,35 @@ const vo = { class: "flex pl5px" }, mo = { class: "w160px py5px" }, ho = /* @__P
1504
1542
  ]),
1505
1543
  _: 1
1506
1544
  })
1507
- ])) : (d(), B(Se, {
1545
+ ])) : (d(), B(Te, {
1508
1546
  key: 2,
1509
1547
  class: "flex-1"
1510
1548
  }, {
1511
- default: H(() => k[1] || (k[1] = [
1512
- X(" No events ")
1549
+ default: H(() => b[1] || (b[1] = [
1550
+ Q(" No events ")
1513
1551
  ])),
1514
1552
  _: 1
1515
1553
  })),
1516
- R.switcherVisible ? (d(), h("div", Oo, [
1517
- c("div", jo, [
1554
+ V.switcherVisible ? (d(), h("div", jo, [
1555
+ c("div", zo, [
1518
1556
  q((d(), h("div", {
1519
1557
  class: "flex items-center gap1",
1520
1558
  onClick: z
1521
1559
  }, [
1522
- u.value ? (d(), h("span", zo)) : (d(), h("span", Bo))
1560
+ a.value ? (d(), h("span", Bo)) : (d(), h("span", Fo))
1523
1561
  ])), [
1524
1562
  [
1525
- a(J),
1526
- { content: f.value },
1563
+ r(J),
1564
+ { content: v.value },
1527
1565
  void 0,
1528
1566
  { "bottom-end": !0 }
1529
1567
  ]
1530
1568
  ]),
1531
1569
  q((d(), h("div", {
1532
1570
  class: "flex items-center gap1",
1533
- onClick: T
1571
+ onClick: $
1534
1572
  }, [
1535
- y(a(Fe), {
1573
+ y(r(Ke), {
1536
1574
  name: "baseline-delete",
1537
1575
  "cursor-pointer": "",
1538
1576
  "text-xl": "",
@@ -1541,14 +1579,14 @@ const vo = { class: "flex pl5px" }, mo = { class: "w160px py5px" }, ho = /* @__P
1541
1579
  })
1542
1580
  ])), [
1543
1581
  [
1544
- a(J),
1582
+ r(J),
1545
1583
  { content: "Clear all timelines" },
1546
1584
  void 0,
1547
1585
  { "bottom-end": !0 }
1548
1586
  ]
1549
1587
  ]),
1550
- q((d(), h("div", Fo, [
1551
- y(a(Fe), {
1588
+ q((d(), h("div", Zo, [
1589
+ y(r(Ke), {
1552
1590
  name: "baseline-tips-and-updates",
1553
1591
  "cursor-pointer": "",
1554
1592
  "text-xl": "",
@@ -1557,7 +1595,7 @@ const vo = { class: "flex pl5px" }, mo = { class: "w160px py5px" }, ho = /* @__P
1557
1595
  })
1558
1596
  ])), [
1559
1597
  [
1560
- a(J),
1598
+ r(J),
1561
1599
  { 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 },
1562
1600
  void 0,
1563
1601
  { "bottom-end": !0 }
@@ -1567,40 +1605,40 @@ const vo = { class: "flex pl5px" }, mo = { class: "w160px py5px" }, ho = /* @__P
1567
1605
  ])) : j("", !0)
1568
1606
  ]));
1569
1607
  }
1570
- }), ct = /* @__PURE__ */ xe(Zo, [["__scopeId", "data-v-3dbcfd2a"]]);
1571
- function ds() {
1572
- const n = S([]), e = S([]);
1608
+ }), dt = /* @__PURE__ */ be(Ko, [["__scopeId", "data-v-3dbcfd2a"]]);
1609
+ function ps() {
1610
+ const n = R([]), e = R([]);
1573
1611
  function o(l) {
1574
1612
  e.value = l, l.length < n.value.length && (n.value = []), e.value.forEach((s) => {
1575
1613
  t(s);
1576
1614
  });
1577
1615
  }
1578
- Pe(() => {
1616
+ Me(() => {
1579
1617
  D.value.getCustomInspector().then((l) => {
1580
1618
  e.value = l, e.value.forEach((s) => {
1581
1619
  t(s);
1582
1620
  });
1583
- }), D.functions.on(Y.INSPECTOR_UPDATED, o);
1621
+ }), D.functions.on(X.INSPECTOR_UPDATED, o);
1584
1622
  });
1585
1623
  function t(l) {
1586
1624
  n.value.some((s) => s.id === l.id) || n.value.push(l);
1587
1625
  }
1588
- return we(() => {
1589
- D.functions.off(Y.INSPECTOR_UPDATED, o);
1626
+ return ke(() => {
1627
+ D.functions.off(X.INSPECTOR_UPDATED, o);
1590
1628
  }), {
1591
1629
  registeredInspector: n,
1592
1630
  register: t
1593
1631
  };
1594
1632
  }
1595
1633
  const Jt = Symbol("SelectedSymbolKey");
1596
- function Ko() {
1597
- const n = S("");
1598
- return _e(Jt, n), {
1634
+ function Go() {
1635
+ const n = R("");
1636
+ return ye(Jt, n), {
1599
1637
  selected: n
1600
1638
  };
1601
1639
  }
1602
- function Go() {
1603
- const n = he(Jt, S(""));
1640
+ function Wo() {
1641
+ const n = ge(Jt, R(""));
1604
1642
  function e(o) {
1605
1643
  n.value = o;
1606
1644
  }
@@ -1609,28 +1647,28 @@ function Go() {
1609
1647
  select: e
1610
1648
  };
1611
1649
  }
1612
- const Wo = ["onClick", "onDblclick", "onMouseover"], qo = {
1650
+ const qo = ["onClick", "onDblclick", "onMouseover"], Jo = {
1613
1651
  key: 1,
1614
1652
  pl5: ""
1615
- }, Jo = {
1653
+ }, Yo = {
1616
1654
  "font-state-field": "",
1617
1655
  "text-3.5": ""
1618
- }, Yo = {
1656
+ }, Xo = {
1619
1657
  key: 0,
1620
1658
  class: "text-gray-400 dark:text-gray-600 group-hover:text-white group-hover:op50 [.active_&]:op50 [.active_&]:text-white!"
1621
- }, Xo = {
1659
+ }, Qo = {
1622
1660
  "group-hover:text-white": "",
1623
1661
  class: "ws-nowrap [.active_&]:text-white"
1624
- }, Qo = {
1662
+ }, el = {
1625
1663
  key: 2,
1626
1664
  class: "text-gray-400 dark:text-gray-600 group-hover:text-white group-hover:op50 [.active_&]:op50 [.active_&]:text-white!"
1627
- }, el = {
1665
+ }, tl = {
1628
1666
  key: 2,
1629
1667
  class: "ml-2 rounded-sm bg-blue-400 px-1 text-[0.75rem] leading-snug dark:bg-blue-800"
1630
- }, tl = {
1668
+ }, nl = {
1631
1669
  key: 3,
1632
1670
  class: "ml-2 rounded-sm bg-gray-500 px-1 text-[0.75rem] leading-snug"
1633
- }, nl = { key: 0 }, Ue = /* @__PURE__ */ Z({
1671
+ }, ol = { key: 0 }, Oe = /* @__PURE__ */ Z({
1634
1672
  __name: "TreeViewer",
1635
1673
  props: /* @__PURE__ */ Ae({
1636
1674
  data: {},
@@ -1642,91 +1680,91 @@ const Wo = ["onClick", "onDblclick", "onMouseover"], qo = {
1642
1680
  }),
1643
1681
  emits: /* @__PURE__ */ Ae(["hover", "leave"], ["update:modelValue"]),
1644
1682
  setup(n, { emit: e }) {
1645
- const o = e, t = Ye(n, "modelValue"), { expanded: l, toggleExpanded: s } = at();
1646
- Go();
1647
- function p(u) {
1648
- return "name" in u && (u == null ? void 0 : u.name) || "label" in u && u.label;
1683
+ const o = e, t = Xe(n, "modelValue"), { expanded: l, toggleExpanded: s } = it();
1684
+ Wo();
1685
+ function p(a) {
1686
+ return "name" in a && (a == null ? void 0 : a.name) || "label" in a && a.label;
1649
1687
  }
1650
- function i(u) {
1651
- t.value = u;
1688
+ function i(a) {
1689
+ t.value = a;
1652
1690
  }
1653
- return (u, v) => (d(!0), h(se, null, de(u.data, (f, r) => {
1654
- var g, $;
1691
+ return (a, f) => (d(!0), h(se, null, de(a.data, (v, u) => {
1692
+ var C, T;
1655
1693
  return d(), h("div", {
1656
- key: r,
1694
+ key: u,
1657
1695
  class: ae({
1658
- "min-w-max": u.depth === 0
1696
+ "min-w-max": a.depth === 0
1659
1697
  })
1660
1698
  }, [
1661
1699
  c("div", {
1662
- class: ae(["group flex cursor-pointer items-center rounded-1 hover:bg-primary-300 hover:dark:bg-gray-600", { "bg-primary-600! active": t.value === f.id }]),
1663
- style: Te({ paddingLeft: `${15 * u.depth + 4}px` }),
1664
- onClick: (w) => i(f.id),
1665
- onDblclick: (w) => a(s)(f.id),
1666
- onMouseover: () => o("hover", f.id),
1667
- onMouseleave: v[0] || (v[0] = () => o("leave"))
1700
+ class: ae(["group flex cursor-pointer items-center rounded-1 hover:bg-primary-300 hover:dark:bg-gray-600", { "bg-primary-600! active": t.value === v.id }]),
1701
+ style: Ee({ paddingLeft: `${15 * a.depth + 4}px` }),
1702
+ onClick: (k) => i(v.id),
1703
+ onDblclick: (k) => r(s)(v.id),
1704
+ onMouseover: () => o("hover", v.id),
1705
+ onMouseleave: f[0] || (f[0] = () => o("leave"))
1668
1706
  }, [
1669
- (g = f == null ? void 0 : f.children) != null && g.length ? (d(), B(lt, {
1707
+ (C = v == null ? void 0 : v.children) != null && C.length ? (d(), B(st, {
1670
1708
  key: 0,
1671
- value: a(l).includes(f.id),
1709
+ value: r(l).includes(v.id),
1672
1710
  class: "[.active_&]:op20 group-hover:op20",
1673
- onClick: ve((w) => a(s)(f.id), ["stop"])
1674
- }, null, 8, ["value", "onClick"])) : (d(), h("span", qo)),
1675
- c("span", Jo, [
1676
- u.withTag ? (d(), h("span", Yo, "<")) : j("", !0),
1677
- c("span", Xo, ie(p(f)), 1),
1678
- (f.renderKey === 0 || f.renderKey) && f.renderKey !== a(Rt) ? (d(), h("span", {
1711
+ onClick: me((k) => r(s)(v.id), ["stop"])
1712
+ }, null, 8, ["value", "onClick"])) : (d(), h("span", Jo)),
1713
+ c("span", Yo, [
1714
+ a.withTag ? (d(), h("span", Xo, "<")) : j("", !0),
1715
+ c("span", Qo, ie(p(v)), 1),
1716
+ (v.renderKey === 0 || v.renderKey) && v.renderKey !== r(Rt) ? (d(), h("span", {
1679
1717
  key: 1,
1680
1718
  class: ae(["text-xs opacity-50", {
1681
- "opacity-100": t.value === f.id
1719
+ "opacity-100": t.value === v.id
1682
1720
  }])
1683
1721
  }, [
1684
1722
  c("span", {
1685
- class: ae([t.value === f.id ? "text-purple-200" : "text-purple-500"])
1723
+ class: ae([t.value === v.id ? "text-purple-200" : "text-purple-500"])
1686
1724
  }, " key", 2),
1687
- v[4] || (v[4] = X("=")),
1688
- c("span", null, ie(f.renderKey), 1)
1725
+ f[4] || (f[4] = Q("=")),
1726
+ c("span", null, ie(v.renderKey), 1)
1689
1727
  ], 2)) : j("", !0),
1690
- u.withTag ? (d(), h("span", Qo, ">")) : j("", !0)
1728
+ a.withTag ? (d(), h("span", el, ">")) : j("", !0)
1691
1729
  ]),
1692
- f.isFragment ? q((d(), h("span", el, v[5] || (v[5] = [
1693
- X(" fragment ")
1730
+ v.isFragment ? q((d(), h("span", tl, f[5] || (f[5] = [
1731
+ Q(" fragment ")
1694
1732
  ]))), [
1695
- [a(J), "Has multiple root DOM nodes"]
1733
+ [r(J), "Has multiple root DOM nodes"]
1696
1734
  ]) : j("", !0),
1697
- f.inactive ? q((d(), h("span", tl, v[6] || (v[6] = [
1698
- X(" inactive ")
1735
+ v.inactive ? q((d(), h("span", nl, f[6] || (f[6] = [
1736
+ Q(" inactive ")
1699
1737
  ]))), [
1700
- [a(J), "Currently inactive but not destroyed"]
1738
+ [r(J), "Currently inactive but not destroyed"]
1701
1739
  ]) : j("", !0),
1702
- (d(!0), h(se, null, de(f.tags, (w, C) => (d(), B(Ut, {
1703
- key: C,
1704
- tag: w
1740
+ (d(!0), h(se, null, de(v.tags, (k, g) => (d(), B(Ut, {
1741
+ key: g,
1742
+ tag: k
1705
1743
  }, null, 8, ["tag"]))), 128))
1706
- ], 46, Wo),
1707
- ($ = f == null ? void 0 : f.children) != null && $.length && a(l).includes(f.id) ? (d(), h("div", nl, [
1708
- y(Ue, {
1744
+ ], 46, qo),
1745
+ (T = v == null ? void 0 : v.children) != null && T.length && r(l).includes(v.id) ? (d(), h("div", ol, [
1746
+ y(Oe, {
1709
1747
  modelValue: t.value,
1710
- "onUpdate:modelValue": v[1] || (v[1] = (w) => t.value = w),
1711
- data: f == null ? void 0 : f.children,
1712
- depth: u.depth + 1,
1713
- "with-tag": u.withTag,
1714
- onHover: v[2] || (v[2] = (w) => o("hover", w)),
1715
- onLeave: v[3] || (v[3] = (w) => o("leave"))
1748
+ "onUpdate:modelValue": f[1] || (f[1] = (k) => t.value = k),
1749
+ data: v == null ? void 0 : v.children,
1750
+ depth: a.depth + 1,
1751
+ "with-tag": a.withTag,
1752
+ onHover: f[2] || (f[2] = (k) => o("hover", k)),
1753
+ onLeave: f[3] || (f[3] = (k) => o("leave"))
1716
1754
  }, null, 8, ["modelValue", "data", "depth", "with-tag"])
1717
1755
  ])) : j("", !0)
1718
1756
  ], 2);
1719
1757
  }), 128));
1720
1758
  }
1721
1759
  }), Et = 200;
1722
- function ol() {
1760
+ function ll() {
1723
1761
  const n = $t((o) => D.value.highlighComponent(o), Et), e = $t(() => D.value.unhighlight(), Et);
1724
1762
  return {
1725
1763
  highlight: n,
1726
1764
  unhighlight: e
1727
1765
  };
1728
1766
  }
1729
- const ll = { 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" }, sl = { class: "flex-1 overflow-scroll text-3.5" }, al = /* @__PURE__ */ Z({
1767
+ const sl = { 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" }, al = { class: "flex-1 overflow-scroll text-3.5" }, il = /* @__PURE__ */ Z({
1730
1768
  __name: "RenderCode",
1731
1769
  props: {
1732
1770
  code: {}
@@ -1737,7 +1775,7 @@ const ll = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
1737
1775
  function t() {
1738
1776
  o("close");
1739
1777
  }
1740
- return (l, s) => (d(), h("div", ll, [
1778
+ return (l, s) => (d(), h("div", sl, [
1741
1779
  c("div", { class: "h-12 w-full flex items-center justify-between p-2" }, [
1742
1780
  s[0] || (s[0] = c("span", { class: "font-500" }, "Render Code", -1)),
1743
1781
  c("i", {
@@ -1745,161 +1783,161 @@ const ll = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
1745
1783
  onClick: t
1746
1784
  })
1747
1785
  ]),
1748
- c("div", sl, [
1749
- y(a(fn), {
1786
+ c("div", al, [
1787
+ y(r(fn), {
1750
1788
  code: l.code,
1751
1789
  lang: "javascript"
1752
1790
  }, null, 8, ["code"])
1753
1791
  ])
1754
1792
  ]));
1755
1793
  }
1756
- }), il = { class: "h-full w-full" }, rl = { class: "no-scrollbar h-full flex select-none gap-2 overflow-scroll" }, ul = {
1794
+ }), rl = { class: "h-full w-full" }, ul = { class: "no-scrollbar h-full flex select-none gap-2 overflow-scroll" }, cl = {
1757
1795
  key: 0,
1758
1796
  class: "h-full flex flex-col p2"
1759
- }, cl = { class: "flex py2" }, dl = {
1797
+ }, dl = { class: "flex py2" }, pl = {
1760
1798
  xmlns: "http://www.w3.org/2000/svg",
1761
1799
  style: { height: "1.1em", width: "1.1em" },
1762
1800
  class: "op-80 hover:op-100",
1763
1801
  viewBox: "0 0 24 24"
1764
- }, pl = { class: "h-full flex flex-col p2" }, fl = { class: "flex py2" }, vl = {
1802
+ }, fl = { class: "h-full flex flex-col p2" }, vl = { class: "flex py2" }, ml = {
1765
1803
  key: 0,
1766
1804
  class: "font-state-field flex items-center px-1 text-3.5"
1767
- }, ml = {
1805
+ }, hl = {
1768
1806
  "group-hover:text-white": "",
1769
1807
  class: "max-w-40 of-hidden text-ellipsis ws-nowrap [.active_&]:text-white"
1770
- }, hl = { class: "flex items-center gap-2 px-1" }, gl = { class: "h-full flex flex-col items-center justify-center gap-2" }, Cl = { class: "block" }, _l = {
1808
+ }, gl = { class: "flex items-center gap-2 px-1" }, Cl = { class: "h-full flex flex-col items-center justify-center gap-2" }, _l = { class: "block" }, yl = {
1771
1809
  xmlns: "http://www.w3.org/2000/svg",
1772
1810
  style: { height: "2em", width: "2em", opacity: "0.5", color: "#00dc82" },
1773
1811
  class: "animate-fade",
1774
1812
  viewBox: "0 0 24 24"
1775
- }, yl = { class: "flex items-center justify-center" }, De = "components", xl = /* @__PURE__ */ Z({
1813
+ }, xl = { class: "flex items-center justify-center" }, Pe = "components", bl = /* @__PURE__ */ Z({
1776
1814
  __name: "index",
1777
1815
  emits: ["openInEditor", "onInspectComponentStart", "onInspectComponentEnd"],
1778
1816
  setup(n, { emit: e }) {
1779
- const o = e, t = S(), l = S(!1), { width: s } = ro(t), p = V(() => l.value ? s.value < 700 : !1), i = S(""), u = S(""), [v, f] = Kt(!0), r = S(!1), g = S(!1), $ = S(""), w = S(!1), C = ol();
1780
- function T(b, E = [], U = []) {
1817
+ const o = e, t = R(), l = R(!1), { width: s } = uo(t), p = E(() => l.value ? s.value < 700 : !1), i = R(""), a = R(""), [f, v] = Kt(!0), u = R(!1), C = R(!1), T = R(""), k = R(!1), g = ll();
1818
+ function $(w, S = [], U = []) {
1781
1819
  var W;
1782
- return E.push(b.id), ((W = b.children) == null ? void 0 : W.length) === 0 && U.push([...E]), Array.isArray(b.children) && b.children.forEach((le) => {
1783
- T(le, E, U);
1784
- }), E.pop(), U;
1820
+ return S.push(w.id), ((W = w.children) == null ? void 0 : W.length) === 0 && U.push([...S]), Array.isArray(w.children) && w.children.forEach((le) => {
1821
+ $(le, S, U);
1822
+ }), S.pop(), U;
1785
1823
  }
1786
- function z(b) {
1787
- const E = [], U = (W) => {
1824
+ function z(w) {
1825
+ const S = [], U = (W) => {
1788
1826
  W == null || W.forEach((le) => {
1789
- var mt;
1790
- E.push(le), (mt = le.children) != null && mt.length && U(le.children);
1827
+ var ht;
1828
+ S.push(le), (ht = le.children) != null && ht.length && U(le.children);
1791
1829
  });
1792
1830
  };
1793
- return U(b), E;
1831
+ return U(w), S;
1794
1832
  }
1795
- function R(b, E) {
1833
+ function V(w, S) {
1796
1834
  const U = [];
1797
- return b == null || b.forEach((W) => {
1798
- U.push(...W.slice(0, E + 1));
1835
+ return w == null || w.forEach((W) => {
1836
+ U.push(...W.slice(0, S + 1));
1799
1837
  }), [...new Set(U)];
1800
1838
  }
1801
- function k(b, E) {
1839
+ function b(w, S) {
1802
1840
  const U = [];
1803
- return b.forEach((W) => {
1804
- const le = W.indexOf(E);
1841
+ return w.forEach((W) => {
1842
+ const le = W.indexOf(S);
1805
1843
  le !== -1 && U.push(...W.slice(0, le + 1));
1806
1844
  }), [...new Set(U)];
1807
1845
  }
1808
- const A = S([]), F = V(() => {
1809
- var b, E;
1810
- return (b = A.value) != null && b.length ? T((E = A.value) == null ? void 0 : E[0]) : [];
1811
- }), K = V(() => z(A.value)), ce = V(() => K.value.map((b) => b.id)), L = S({}), I = S(""), O = V(() => {
1812
- const b = [], E = (U) => {
1846
+ const P = R([]), F = E(() => {
1847
+ var w, S;
1848
+ return (w = P.value) != null && w.length ? $((S = P.value) == null ? void 0 : S[0]) : [];
1849
+ }), K = E(() => z(P.value)), ce = E(() => K.value.map((w) => w.id)), L = R({}), I = R(""), O = E(() => {
1850
+ const w = [], S = (U) => {
1813
1851
  U.forEach((W) => {
1814
1852
  var le;
1815
- W.id === I.value && b.push(W), (le = W.children) != null && le.length && E(W.children);
1853
+ W.id === I.value && w.push(W), (le = W.children) != null && le.length && S(W.children);
1816
1854
  });
1817
1855
  };
1818
- return E(A.value), b[0];
1819
- }), Q = V(() => {
1820
- var b;
1821
- return ((b = O.value) == null ? void 0 : b.file) ?? "";
1822
- }), ne = V(() => tt({
1856
+ return S(P.value), w[0];
1857
+ }), ee = E(() => {
1858
+ var w;
1859
+ return ((w = O.value) == null ? void 0 : w.file) ?? "";
1860
+ }), ne = E(() => nt({
1823
1861
  state: L.value,
1824
- filterKey: u.value,
1825
- processGroup(b) {
1826
- return Sn(Object.values(Tn(Pt(b), "stateType")));
1862
+ filterKey: a.value,
1863
+ processGroup(w) {
1864
+ return Sn(Object.values(Tn(At(w), "stateType")));
1827
1865
  }
1828
- })), { expanded: P } = Ce(), { expanded: x } = Ce("component-state");
1829
- Ko();
1830
- async function m(b = "") {
1831
- return D.value.getInspectorTree({ inspectorId: De, filter: b }).then((E) => {
1866
+ })), { expanded: A } = _e(), { expanded: x } = _e("component-state");
1867
+ Go();
1868
+ async function m(w = "") {
1869
+ return D.value.getInspectorTree({ inspectorId: Pe, filter: w }).then((S) => {
1832
1870
  var W, le;
1833
- const U = oe(E);
1834
- A.value = U, I.value = (le = (W = A.value) == null ? void 0 : W[0]) == null ? void 0 : le.id, P.value = R(F.value, 1), r.value = !0;
1871
+ const U = oe(S);
1872
+ P.value = U, I.value = (le = (W = P.value) == null ? void 0 : W[0]) == null ? void 0 : le.id, A.value = V(F.value, 1), u.value = !0;
1835
1873
  });
1836
1874
  }
1837
- function _(b) {
1838
- if (!b || !(b != null && b.state))
1875
+ function _(w) {
1876
+ if (!w || !(w != null && w.state))
1839
1877
  return {};
1840
- const E = {};
1841
- return b.state.forEach((U) => {
1842
- E[U.type] || (E[U.type] = []), E[U.type].push(U);
1843
- }), E;
1844
- }
1845
- function N(b) {
1846
- D.value.getInspectorState({ inspectorId: De, nodeId: b }).then((E) => {
1847
- const U = oe(E);
1878
+ const S = {};
1879
+ return w.state.forEach((U) => {
1880
+ S[U.type] || (S[U.type] = []), S[U.type].push(U);
1881
+ }), S;
1882
+ }
1883
+ function N(w) {
1884
+ D.value.getInspectorState({ inspectorId: Pe, nodeId: w }).then((S) => {
1885
+ const U = oe(S);
1848
1886
  U && (L.value = _(U), x.value = Array.from({ length: Object.keys(L.value).length }, (W, le) => `${le}`));
1849
1887
  });
1850
1888
  }
1851
- ee(I, (b) => {
1852
- N(b), w.value && ft();
1889
+ te(I, (w) => {
1890
+ N(w), k.value && vt();
1853
1891
  });
1854
- function M(b) {
1855
- const E = oe(b);
1856
- E.inspectorId !== De || E.nodeId !== I.value || (L.value = _({ state: E.state.state }));
1857
- }
1858
- D.functions.on(Y.INSPECTOR_STATE_UPDATED, M), m();
1859
- function G(b) {
1860
- const E = b.trim().toLowerCase();
1861
- f(), m(E).then(() => {
1862
- f();
1892
+ function M(w) {
1893
+ const S = oe(w);
1894
+ S.inspectorId !== Pe || S.nodeId !== I.value || (L.value = _({ state: S.state.state }));
1895
+ }
1896
+ D.functions.on(X.INSPECTOR_STATE_UPDATED, M), m();
1897
+ function G(w) {
1898
+ const S = w.trim().toLowerCase();
1899
+ v(), m(S).then(() => {
1900
+ v();
1863
1901
  });
1864
1902
  }
1865
- Gt(i, (b) => {
1866
- G(b);
1903
+ Gt(i, (w) => {
1904
+ G(w);
1867
1905
  }, { debounce: 300 });
1868
- function re(b) {
1906
+ function re(w) {
1869
1907
  var U, W;
1870
- const E = oe(b);
1871
- E.inspectorId === De && (i.value ? G(i.value) : A.value = E.rootNodes, ce.value.includes(I.value) || (I.value = (W = (U = A.value) == null ? void 0 : U[0]) == null ? void 0 : W.id, P.value = R(F.value, 1)));
1908
+ const S = oe(w);
1909
+ S.inspectorId === Pe && (i.value ? G(i.value) : P.value = S.rootNodes, ce.value.includes(I.value) || (I.value = (W = (U = P.value) == null ? void 0 : U[0]) == null ? void 0 : W.id, A.value = V(F.value, 1)));
1872
1910
  }
1873
- D.functions.on(Y.INSPECTOR_TREE_UPDATED, re), we(() => {
1874
- D.functions.off(Y.INSPECTOR_STATE_UPDATED, M), D.functions.off(Y.INSPECTOR_TREE_UPDATED, re);
1911
+ D.functions.on(X.INSPECTOR_TREE_UPDATED, re), ke(() => {
1912
+ D.functions.off(X.INSPECTOR_STATE_UPDATED, M), D.functions.off(X.INSPECTOR_TREE_UPDATED, re);
1875
1913
  });
1876
- const ke = At(), Ne = V(() => ke.appRecords.value.map((b) => ({
1877
- label: b.name + (b.version ? ` (${b.version})` : ""),
1878
- value: b.id
1879
- }))), Oe = V(() => Ne.value.map((b) => ({
1880
- label: b.label,
1881
- id: b.value
1882
- }))), Ie = S(ke.activeAppRecordId.value);
1883
- et(() => {
1884
- Ie.value = ke.activeAppRecordId.value;
1914
+ const Ie = Pt(), Re = E(() => Ie.appRecords.value.map((w) => ({
1915
+ label: w.name + (w.version ? ` (${w.version})` : ""),
1916
+ value: w.id
1917
+ }))), je = E(() => Re.value.map((w) => ({
1918
+ label: w.label,
1919
+ id: w.value
1920
+ }))), $e = R(Ie.activeAppRecordId.value);
1921
+ tt(() => {
1922
+ $e.value = Ie.activeAppRecordId.value;
1885
1923
  });
1886
- async function je(b, E = {}) {
1887
- await D.value.toggleApp(b, E), I.value = "", await m();
1924
+ async function ze(w, S = {}) {
1925
+ await D.value.toggleApp(w, S), I.value = "", await m();
1888
1926
  }
1889
- async function Re() {
1890
- g.value = !0, o("onInspectComponentStart");
1927
+ async function De() {
1928
+ C.value = !0, o("onInspectComponentStart");
1891
1929
  try {
1892
- const b = JSON.parse(await D.value.inspectComponentInspector()), E = b.id.split(":")[0];
1893
- Ie.value !== b.appId && await je(E, { inspectingComponent: !0 }), I.value = b.id, P.value.includes(b.id) || P.value.push(b.id), P.value = [.../* @__PURE__ */ new Set([...P.value, ...k(F.value, b.id)])], on();
1930
+ const w = JSON.parse(await D.value.inspectComponentInspector()), S = w.id.split(":")[0];
1931
+ $e.value !== w.appId && await ze(S, { inspectingComponent: !0 }), I.value = w.id, A.value.includes(w.id) || A.value.push(w.id), A.value = [.../* @__PURE__ */ new Set([...A.value, ...b(F.value, w.id)])], on();
1894
1932
  } finally {
1895
- g.value = !1, o("onInspectComponentEnd");
1933
+ C.value = !1, o("onInspectComponentEnd");
1896
1934
  }
1897
1935
  }
1898
- function pt() {
1899
- g.value = !1, D.value.cancelInspectComponentInspector();
1936
+ function ft() {
1937
+ C.value = !1, D.value.cancelInspectComponentInspector();
1900
1938
  }
1901
- me("keydown", (b) => {
1902
- b.key === "s" && (b.ctrlKey || b.metaKey) && !g.value ? Re() : b.key === "Escape" && g.value && pt();
1939
+ he("keydown", (w) => {
1940
+ w.key === "s" && (w.ctrlKey || w.metaKey) && !C.value ? De() : w.key === "Escape" && C.value && ft();
1903
1941
  });
1904
1942
  function en() {
1905
1943
  D.value.scrollToComponent(I.value);
@@ -1909,74 +1947,74 @@ const ll = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
1909
1947
  chrome.devtools.inspectedWindow.eval("inspect(window.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__)");
1910
1948
  });
1911
1949
  }
1912
- function ft() {
1913
- D.value.getComponentRenderCode(I.value).then((b) => {
1914
- $.value = b, w.value = !0;
1950
+ function vt() {
1951
+ D.value.getComponentRenderCode(I.value).then((w) => {
1952
+ T.value = w, k.value = !0;
1915
1953
  });
1916
1954
  }
1917
1955
  function nn() {
1918
- o("openInEditor", Q.value);
1956
+ o("openInEditor", ee.value);
1919
1957
  }
1920
- const vt = S();
1958
+ const mt = R();
1921
1959
  function on() {
1922
1960
  setTimeout(() => {
1923
- var E;
1924
- const b = (E = vt.value) == null ? void 0 : E.querySelector(".active");
1925
- b == null || b.scrollIntoView({ behavior: "smooth", block: "center" });
1961
+ var S;
1962
+ const w = (S = mt.value) == null ? void 0 : S.querySelector(".active");
1963
+ w == null || w.scrollIntoView({ behavior: "smooth", block: "center" });
1926
1964
  }, 300);
1927
1965
  }
1928
1966
  function ln() {
1929
- $.value = "", w.value = !1;
1967
+ T.value = "", k.value = !1;
1930
1968
  }
1931
- return (b, E) => (d(), h("div", il, [
1932
- y(a(Me), {
1969
+ return (w, S) => (d(), h("div", rl, [
1970
+ y(r(Le), {
1933
1971
  ref_key: "splitpanesRef",
1934
1972
  ref: t,
1935
1973
  class: "flex-1 overflow-auto",
1936
1974
  horizontal: p.value,
1937
- onReady: E[4] || (E[4] = (U) => l.value = !0)
1975
+ onReady: S[4] || (S[4] = (U) => l.value = !0)
1938
1976
  }, {
1939
1977
  default: H(() => [
1940
- Ne.value.length > 1 ? (d(), B(a(pe), {
1978
+ Re.value.length > 1 ? (d(), B(r(pe), {
1941
1979
  key: 0,
1942
1980
  border: "base h-full",
1943
1981
  size: "20"
1944
1982
  }, {
1945
1983
  default: H(() => [
1946
- c("div", rl, [
1947
- y(Pn, {
1948
- modelValue: Ie.value,
1949
- "onUpdate:modelValue": E[0] || (E[0] = (U) => Ie.value = U),
1950
- data: Oe.value,
1984
+ c("div", ul, [
1985
+ y(An, {
1986
+ modelValue: $e.value,
1987
+ "onUpdate:modelValue": S[0] || (S[0] = (U) => $e.value = U),
1988
+ data: je.value,
1951
1989
  class: "w-full",
1952
- onSelect: je
1990
+ onSelect: ze
1953
1991
  }, null, 8, ["modelValue", "data"])
1954
1992
  ])
1955
1993
  ]),
1956
1994
  _: 1
1957
1995
  })) : j("", !0),
1958
- y(a(pe), {
1996
+ y(r(pe), {
1959
1997
  border: "base",
1960
1998
  "h-full": ""
1961
1999
  }, {
1962
2000
  default: H(() => [
1963
- r.value ? (d(), h("div", ul, [
1964
- c("div", cl, [
1965
- y(a(ge), {
2001
+ u.value ? (d(), h("div", cl, [
2002
+ c("div", dl, [
2003
+ y(r(Ce), {
1966
2004
  modelValue: i.value,
1967
- "onUpdate:modelValue": E[1] || (E[1] = (U) => i.value = U),
2005
+ "onUpdate:modelValue": S[1] || (S[1] = (U) => i.value = U),
1968
2006
  "loading-debounce-time": 250,
1969
- loading: !a(v),
2007
+ loading: !r(f),
1970
2008
  placeholder: "Find components...",
1971
2009
  class: "flex-1 text-3.5"
1972
2010
  }, null, 8, ["modelValue", "loading"]),
1973
- a(kn) ? j("", !0) : q((d(), h("button", {
2011
+ r(kn) ? j("", !0) : q((d(), h("button", {
1974
2012
  key: 0,
1975
2013
  "px-1": "",
1976
2014
  class: "hover:color-#00dc82",
1977
- onClick: Re
2015
+ onClick: De
1978
2016
  }, [
1979
- (d(), h("svg", dl, E[6] || (E[6] = [
2017
+ (d(), h("svg", pl, S[6] || (S[6] = [
1980
2018
  c("path", {
1981
2019
  fill: "currentColor",
1982
2020
  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"
@@ -1984,7 +2022,7 @@ const ll = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
1984
2022
  ])))
1985
2023
  ])), [
1986
2024
  [
1987
- a(J),
2025
+ r(J),
1988
2026
  "Select component in the page",
1989
2027
  void 0,
1990
2028
  { bottom: !0 }
@@ -1993,50 +2031,50 @@ const ll = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
1993
2031
  ]),
1994
2032
  c("div", {
1995
2033
  ref_key: "componentTreeContainer",
1996
- ref: vt,
2034
+ ref: mt,
1997
2035
  class: "no-scrollbar flex-1 select-none overflow-scroll"
1998
2036
  }, [
1999
- y(Ue, {
2037
+ y(Oe, {
2000
2038
  modelValue: I.value,
2001
- "onUpdate:modelValue": E[2] || (E[2] = (U) => I.value = U),
2002
- data: A.value,
2039
+ "onUpdate:modelValue": S[2] || (S[2] = (U) => I.value = U),
2040
+ data: P.value,
2003
2041
  "with-tag": !0,
2004
- onHover: a(C).highlight,
2005
- onLeave: a(C).unhighlight
2042
+ onHover: r(g).highlight,
2043
+ onLeave: r(g).unhighlight
2006
2044
  }, null, 8, ["modelValue", "data", "onHover", "onLeave"])
2007
2045
  ], 512)
2008
2046
  ])) : j("", !0)
2009
2047
  ]),
2010
2048
  _: 1
2011
2049
  }),
2012
- y(a(pe), {
2050
+ y(r(pe), {
2013
2051
  relative: "",
2014
2052
  "h-full": ""
2015
2053
  }, {
2016
2054
  default: H(() => {
2017
2055
  var U;
2018
2056
  return [
2019
- c("div", pl, [
2020
- c("div", fl, [
2021
- (U = O.value) != null && U.name ? (d(), h("span", vl, [
2022
- E[7] || (E[7] = c("span", { class: "text-gray-400 dark:text-gray-600" }, "<", -1)),
2023
- c("span", ml, ie(O.value.name), 1),
2024
- E[8] || (E[8] = c("span", { class: "text-gray-400 dark:text-gray-600" }, ">", -1))
2057
+ c("div", fl, [
2058
+ c("div", vl, [
2059
+ (U = O.value) != null && U.name ? (d(), h("span", ml, [
2060
+ S[7] || (S[7] = c("span", { class: "text-gray-400 dark:text-gray-600" }, "<", -1)),
2061
+ c("span", hl, ie(O.value.name), 1),
2062
+ S[8] || (S[8] = c("span", { class: "text-gray-400 dark:text-gray-600" }, ">", -1))
2025
2063
  ])) : j("", !0),
2026
- y(a(ge), {
2027
- modelValue: u.value,
2028
- "onUpdate:modelValue": E[3] || (E[3] = (W) => u.value = W),
2064
+ y(r(Ce), {
2065
+ modelValue: a.value,
2066
+ "onUpdate:modelValue": S[3] || (S[3] = (W) => a.value = W),
2029
2067
  "loading-debounce-time": 250,
2030
2068
  placeholder: "Filter State...",
2031
2069
  class: "flex-1 text-3.5"
2032
2070
  }, null, 8, ["modelValue"]),
2033
- c("div", hl, [
2071
+ c("div", gl, [
2034
2072
  q(c("i", {
2035
2073
  class: "i-material-symbols-light:eye-tracking-outline h-4 w-4 cursor-pointer hover:op-70",
2036
2074
  onClick: en
2037
2075
  }, null, 512), [
2038
2076
  [
2039
- a(J),
2077
+ r(J),
2040
2078
  "Scroll to component",
2041
2079
  void 0,
2042
2080
  { bottom: !0 }
@@ -2044,34 +2082,34 @@ const ll = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
2044
2082
  ]),
2045
2083
  q(c("i", {
2046
2084
  class: "i-material-symbols-light:code h-5 w-5 cursor-pointer hover:op-70",
2047
- onClick: ft
2085
+ onClick: vt
2048
2086
  }, null, 512), [
2049
2087
  [
2050
- a(J),
2088
+ r(J),
2051
2089
  "Show render code",
2052
2090
  void 0,
2053
2091
  { bottom: !0 }
2054
2092
  ]
2055
2093
  ]),
2056
- a(bt) ? q((d(), h("i", {
2094
+ r(bt) ? q((d(), h("i", {
2057
2095
  key: 0,
2058
2096
  class: "i-material-symbols-light:menu-open h-5 w-5 cursor-pointer hover:op-70",
2059
2097
  onClick: tn
2060
2098
  }, null, 512)), [
2061
2099
  [
2062
- a(J),
2100
+ r(J),
2063
2101
  "Inspect DOM",
2064
2102
  void 0,
2065
2103
  { bottom: !0 }
2066
2104
  ]
2067
2105
  ]) : j("", !0),
2068
- Q.value ? q((d(), h("i", {
2106
+ ee.value ? q((d(), h("i", {
2069
2107
  key: 1,
2070
2108
  class: "i-carbon-launch h-4 w-4 cursor-pointer hover:op-70",
2071
2109
  onClick: nn
2072
2110
  }, null, 512)), [
2073
2111
  [
2074
- a(J),
2112
+ r(J),
2075
2113
  "Open in Editor",
2076
2114
  void 0,
2077
2115
  { bottom: !0 }
@@ -2079,17 +2117,17 @@ const ll = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
2079
2117
  ]) : j("", !0)
2080
2118
  ])
2081
2119
  ]),
2082
- y(He, {
2120
+ y(Ue, {
2083
2121
  class: "no-scrollbar flex-1 overflow-scroll",
2084
2122
  data: ne.value,
2085
2123
  "node-id": I.value,
2086
- "inspector-id": De,
2124
+ "inspector-id": Pe,
2087
2125
  "expanded-state-id": "component-state"
2088
2126
  }, null, 8, ["data", "node-id"])
2089
2127
  ]),
2090
- w.value && $.value ? (d(), B(al, {
2128
+ k.value && T.value ? (d(), B(il, {
2091
2129
  key: 0,
2092
- code: $.value,
2130
+ code: T.value,
2093
2131
  onClose: ln
2094
2132
  }, null, 8, ["code"])) : j("", !0)
2095
2133
  ];
@@ -2099,28 +2137,28 @@ const ll = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
2099
2137
  ]),
2100
2138
  _: 1
2101
2139
  }, 8, ["horizontal"]),
2102
- a(bt) ? (d(), B(a(vn), {
2140
+ r(bt) ? (d(), B(r(vn), {
2103
2141
  key: 0,
2104
- modelValue: g.value,
2105
- "onUpdate:modelValue": E[5] || (E[5] = (U) => g.value = U),
2142
+ modelValue: C.value,
2143
+ "onUpdate:modelValue": S[5] || (S[5] = (U) => C.value = U),
2106
2144
  title: "",
2107
2145
  height: "12rem",
2108
2146
  closable: !1
2109
2147
  }, {
2110
2148
  footer: H(() => [
2111
- c("div", yl, [
2112
- y(a(fe), { onClick: pt }, {
2113
- default: H(() => E[11] || (E[11] = [
2114
- X(" Cancel ")
2149
+ c("div", xl, [
2150
+ y(r(fe), { onClick: ft }, {
2151
+ default: H(() => S[11] || (S[11] = [
2152
+ Q(" Cancel ")
2115
2153
  ])),
2116
2154
  _: 1
2117
2155
  })
2118
2156
  ])
2119
2157
  ]),
2120
2158
  default: H(() => [
2121
- c("div", gl, [
2122
- c("span", Cl, [
2123
- (d(), h("svg", _l, E[9] || (E[9] = [
2159
+ c("div", Cl, [
2160
+ c("span", _l, [
2161
+ (d(), h("svg", yl, S[9] || (S[9] = [
2124
2162
  c("g", {
2125
2163
  fill: "none",
2126
2164
  stroke: "currentColor",
@@ -2138,16 +2176,16 @@ const ll = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-b
2138
2176
  ], -1)
2139
2177
  ])))
2140
2178
  ]),
2141
- E[10] || (E[10] = c("p", null, " Click on a component on the page to select it ", -1))
2179
+ S[10] || (S[10] = c("p", null, " Click on a component on the page to select it ", -1))
2142
2180
  ])
2143
2181
  ]),
2144
2182
  _: 1
2145
2183
  }, 8, ["modelValue"])) : j("", !0)
2146
2184
  ]));
2147
2185
  }
2148
- }), ps = /* @__PURE__ */ xe(xl, [["__scopeId", "data-v-7f4a452a"]]), bl = {}, wl = { class: "h-screen w-screen $ui-fcc flex-col" };
2149
- function kl(n, e) {
2150
- return d(), h("div", wl, [
2186
+ }), fs = /* @__PURE__ */ be(bl, [["__scopeId", "data-v-7f4a452a"]]), wl = {}, kl = { class: "h-screen w-screen $ui-fcc flex-col" };
2187
+ function Il(n, e) {
2188
+ return d(), h("div", kl, [
2151
2189
  e[0] || (e[0] = c("div", { class: "outer" }, [
2152
2190
  c("div", { class: "inner" }, [
2153
2191
  c("i", {
@@ -2156,134 +2194,134 @@ function kl(n, e) {
2156
2194
  })
2157
2195
  ])
2158
2196
  ], -1)),
2159
- Xe(n.$slots, "default", {}, void 0, !0)
2197
+ Qe(n.$slots, "default", {}, void 0, !0)
2160
2198
  ]);
2161
2199
  }
2162
- const Il = /* @__PURE__ */ xe(bl, [["render", kl], ["__scopeId", "data-v-b8018f07"]]), Yt = Symbol.for("VueDevToolsCustomInspectorStateSymbol");
2163
- function ye() {
2164
- return he(Yt);
2200
+ const $l = /* @__PURE__ */ be(wl, [["render", Il], ["__scopeId", "data-v-b8018f07"]]), Yt = Symbol.for("VueDevToolsCustomInspectorStateSymbol");
2201
+ function xe() {
2202
+ return ge(Yt);
2165
2203
  }
2166
- function dt() {
2167
- const n = S({
2204
+ function pt() {
2205
+ const n = R({
2168
2206
  homepage: "",
2169
2207
  id: "",
2170
2208
  label: "",
2171
2209
  logo: "",
2172
2210
  timelineLayerIds: []
2173
2211
  });
2174
- return _e(Yt, n), n;
2212
+ return ye(Yt, n), n;
2175
2213
  }
2176
- const $l = {}, Sl = {
2214
+ const Sl = {}, Tl = {
2177
2215
  width: "175",
2178
2216
  height: "34",
2179
2217
  viewBox: "0 0 175 34",
2180
2218
  fill: "none",
2181
2219
  xmlns: "http://www.w3.org/2000/svg"
2182
2220
  };
2183
- function Tl(n, e) {
2184
- return d(), h("svg", Sl, e[0] || (e[0] = [
2221
+ function El(n, e) {
2222
+ return d(), h("svg", Tl, e[0] || (e[0] = [
2185
2223
  c("path", {
2186
2224
  fill: "currentColor",
2187
2225
  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"
2188
2226
  }, null, -1)
2189
2227
  ]));
2190
2228
  }
2191
- const El = /* @__PURE__ */ xe($l, [["render", Tl]]), Vl = {
2229
+ const Vl = /* @__PURE__ */ be(Sl, [["render", El]]), Nl = {
2192
2230
  "h-full": "",
2193
2231
  "w-full": "",
2194
2232
  flex: "",
2195
2233
  "items-center": ""
2196
- }, Nl = {
2234
+ }, Rl = {
2197
2235
  flex: "~ col gap2",
2198
2236
  ma: "",
2199
2237
  "px-5": ""
2200
- }, Rl = {
2238
+ }, Dl = {
2201
2239
  flex: "~ col",
2202
2240
  "mt-20": "",
2203
2241
  "items-center": ""
2204
- }, Dl = {
2242
+ }, Pl = {
2205
2243
  flex: "~",
2206
2244
  "mt--10": "",
2207
2245
  "items-center": "",
2208
2246
  "justify-center": ""
2209
- }, Al = { class: "mr-1" }, Pl = {
2247
+ }, Al = { class: "mr-1" }, Ml = {
2210
2248
  key: 0,
2211
2249
  class: "inline-block w20"
2212
- }, Ml = ["src", "alt"], Ll = {
2250
+ }, Ll = ["src", "alt"], Hl = {
2213
2251
  key: 1,
2214
2252
  class: "mr2 inline-block min-w-20 text-center text-10 font-600"
2215
- }, Hl = {
2253
+ }, Ul = {
2216
2254
  mb6: "",
2217
2255
  "mt--1": "",
2218
2256
  "text-center": "",
2219
2257
  "text-sm": "",
2220
2258
  flex: "~ gap-1"
2221
- }, Ul = { op40: "" }, Ol = { flex: "~ gap2 wrap" }, jl = {
2259
+ }, Ol = { op40: "" }, jl = { flex: "~ gap2 wrap" }, zl = {
2222
2260
  flex: "~ gap-6 wrap",
2223
2261
  "mt-5": "",
2224
2262
  "items-center": "",
2225
2263
  "justify-center": ""
2226
- }, zl = ["href"], Bl = /* @__PURE__ */ Z({
2264
+ }, Bl = ["href"], Fl = /* @__PURE__ */ Z({
2227
2265
  __name: "About",
2228
2266
  setup(n) {
2229
- const e = Le(), o = ye(), t = S(!1), l = S(!1);
2267
+ const e = He(), o = xe(), t = R(!1), l = R(!1);
2230
2268
  function s() {
2231
2269
  t.value = !0;
2232
2270
  }
2233
2271
  function p() {
2234
2272
  t.value = !0, l.value = !0;
2235
2273
  }
2236
- return (i, u) => {
2237
- var v;
2238
- return d(), h("div", Vl, [
2239
- c("div", Nl, [
2240
- u[5] || (u[5] = c("div", { "flex-auto": "" }, null, -1)),
2241
- c("div", Rl, [
2242
- c("div", Dl, [
2274
+ return (i, a) => {
2275
+ var f;
2276
+ return d(), h("div", Nl, [
2277
+ c("div", Rl, [
2278
+ a[5] || (a[5] = c("div", { "flex-auto": "" }, null, -1)),
2279
+ c("div", Dl, [
2280
+ c("div", Pl, [
2243
2281
  c("span", Al, [
2244
- t.value ? j("", !0) : (d(), h("span", Pl)),
2282
+ t.value ? j("", !0) : (d(), h("span", Ml)),
2245
2283
  q(c("img", {
2246
- src: a(o).logo,
2247
- alt: `${a(o).label} Logo`,
2284
+ src: r(o).logo,
2285
+ alt: `${r(o).label} Logo`,
2248
2286
  class: "inline-block h16",
2249
2287
  onError: p,
2250
2288
  onLoad: s
2251
- }, null, 40, Ml), [
2289
+ }, null, 40, Ll), [
2252
2290
  [cn, t.value && !l.value]
2253
2291
  ]),
2254
- l.value ? (d(), h("span", Ll, ie(a(o).label), 1)) : j("", !0)
2292
+ l.value ? (d(), h("span", Hl, ie(r(o).label), 1)) : j("", !0)
2255
2293
  ]),
2256
2294
  c("span", null, [
2257
- y(El, { "h-18": "" })
2295
+ y(Vl, { "h-18": "" })
2258
2296
  ])
2259
2297
  ]),
2260
- c("div", Hl, [
2261
- c("span", Ul, ie(a(o).label) + " DevTools ", 1)
2298
+ c("div", Ul, [
2299
+ c("span", Ol, ie(r(o).label) + " DevTools ", 1)
2262
2300
  ])
2263
2301
  ]),
2264
- u[6] || (u[6] = c("div", { "flex-auto": "" }, null, -1)),
2265
- c("div", Ol, [
2302
+ a[6] || (a[6] = c("div", { "flex-auto": "" }, null, -1)),
2303
+ c("div", jl, [
2266
2304
  c("div", {
2267
2305
  flex: "~ col auto",
2268
2306
  "min-w-40": "",
2269
2307
  p4: "",
2270
2308
  "theme-card-lime": "",
2271
- onClick: u[0] || (u[0] = (f) => a(e).push("/state"))
2272
- }, u[2] || (u[2] = [
2309
+ onClick: a[0] || (a[0] = (v) => r(e).push("/state"))
2310
+ }, a[2] || (a[2] = [
2273
2311
  c("div", {
2274
2312
  "i-carbon-tree-view-alt": "",
2275
2313
  "text-3xl": ""
2276
2314
  }, null, -1),
2277
2315
  c("code", null, "State", -1)
2278
2316
  ])),
2279
- (v = a(o).timelineLayerIds) != null && v.length ? (d(), h("div", {
2317
+ (f = r(o).timelineLayerIds) != null && f.length ? (d(), h("div", {
2280
2318
  key: 0,
2281
2319
  flex: "~ col auto",
2282
2320
  "min-w-40": "",
2283
2321
  p4: "",
2284
2322
  "theme-card-lime": "",
2285
- onClick: u[1] || (u[1] = (f) => a(e).push("/timeline"))
2286
- }, u[3] || (u[3] = [
2323
+ onClick: a[1] || (a[1] = (v) => r(e).push("/timeline"))
2324
+ }, a[3] || (a[3] = [
2287
2325
  c("div", {
2288
2326
  "i-mdi:timeline-clock-outline": "",
2289
2327
  "text-3xl": ""
@@ -2291,29 +2329,29 @@ const El = /* @__PURE__ */ xe($l, [["render", Tl]]), Vl = {
2291
2329
  c("div", null, "Timeline", -1)
2292
2330
  ]))) : j("", !0)
2293
2331
  ]),
2294
- c("div", jl, [
2332
+ c("div", zl, [
2295
2333
  c("a", {
2296
- href: a(o).homepage,
2334
+ href: r(o).homepage,
2297
2335
  target: "_blank",
2298
2336
  flex: "~ gap1",
2299
2337
  "items-center": "",
2300
2338
  op50: "",
2301
2339
  hover: "op100 text-yellow",
2302
2340
  transition: ""
2303
- }, u[4] || (u[4] = [
2341
+ }, a[4] || (a[4] = [
2304
2342
  c("div", { "i-carbon-document": "" }, null, -1),
2305
- X(" View Documentation ")
2306
- ]), 8, zl)
2343
+ Q(" View Documentation ")
2344
+ ]), 8, Bl)
2307
2345
  ]),
2308
- u[7] || (u[7] = c("div", { "flex-auto": "" }, null, -1))
2346
+ a[7] || (a[7] = c("div", { "flex-auto": "" }, null, -1))
2309
2347
  ])
2310
2348
  ]);
2311
2349
  };
2312
2350
  }
2313
- }), Fl = { class: "flex-1 overflow-y-auto p2" }, Zl = { class: "max-w-[190px] flex-1 select-none py-1.5 text-sm" }, Kl = { class: "w-4/5" }, Gl = {
2351
+ }), Zl = { class: "flex-1 overflow-y-auto p2" }, Kl = { class: "max-w-[190px] flex-1 select-none py-1.5 text-sm" }, Gl = { class: "w-4/5" }, Wl = {
2314
2352
  key: 0,
2315
2353
  class: "flex justify-start"
2316
- }, Wl = { key: 1 }, Xt = /* @__PURE__ */ Z({
2354
+ }, ql = { key: 1 }, Xt = /* @__PURE__ */ Z({
2317
2355
  __name: "Settings",
2318
2356
  props: {
2319
2357
  pluginId: {},
@@ -2322,108 +2360,108 @@ const El = /* @__PURE__ */ xe($l, [["render", Tl]]), Vl = {
2322
2360
  },
2323
2361
  emits: ["update"],
2324
2362
  setup(n, { emit: e }) {
2325
- const o = n, t = e, l = V(() => o.options), s = V(() => o.values);
2326
- function p(i, u) {
2327
- D.value.updatePluginSettings(o.pluginId, i, u), D.value.getPluginSettings(o.pluginId).then((v) => {
2328
- t("update", v);
2363
+ const o = n, t = e, l = E(() => o.options), s = E(() => o.values);
2364
+ function p(i, a) {
2365
+ D.value.updatePluginSettings(o.pluginId, i, a), D.value.getPluginSettings(o.pluginId).then((f) => {
2366
+ t("update", f);
2329
2367
  });
2330
2368
  }
2331
- return (i, u) => (d(), h("div", Fl, [
2369
+ return (i, a) => (d(), h("div", Zl, [
2332
2370
  c("ul", null, [
2333
- (d(!0), h(se, null, de(l.value, (v, f) => (d(), h("li", {
2334
- key: f,
2371
+ (d(!0), h(se, null, de(l.value, (f, v) => (d(), h("li", {
2372
+ key: v,
2335
2373
  class: "flex items-center py-2"
2336
2374
  }, [
2337
- c("div", Zl, ie(v.label), 1),
2338
- c("div", Kl, [
2339
- v.type === "boolean" ? (d(), h("div", Gl, [
2340
- y(a(mn), {
2341
- "model-value": s.value[f],
2375
+ c("div", Kl, ie(f.label), 1),
2376
+ c("div", Gl, [
2377
+ f.type === "boolean" ? (d(), h("div", Wl, [
2378
+ y(r(mn), {
2379
+ "model-value": s.value[v],
2342
2380
  class: "row-reverse flex hover:bg-active py1 pl2 pr1",
2343
- "onUpdate:modelValue": (r) => p(f, r)
2381
+ "onUpdate:modelValue": (u) => p(v, u)
2344
2382
  }, null, 8, ["model-value", "onUpdate:modelValue"])
2345
- ])) : v.type === "choice" ? (d(), h("div", Wl, [
2346
- y(a(hn), {
2347
- "model-value": s.value[f],
2348
- options: v.options,
2349
- "onUpdate:modelValue": (r) => p(f, r)
2383
+ ])) : f.type === "choice" ? (d(), h("div", ql, [
2384
+ y(r(hn), {
2385
+ "model-value": s.value[v],
2386
+ options: f.options,
2387
+ "onUpdate:modelValue": (u) => p(v, u)
2350
2388
  }, null, 8, ["model-value", "options", "onUpdate:modelValue"])
2351
- ])) : v.type === "text" ? (d(), B(a(ge), {
2389
+ ])) : f.type === "text" ? (d(), B(r(Ce), {
2352
2390
  key: 2,
2353
- "model-value": s.value[f],
2354
- "onUpdate:modelValue": (r) => p(f, r)
2391
+ "model-value": s.value[v],
2392
+ "onUpdate:modelValue": (u) => p(v, u)
2355
2393
  }, null, 8, ["model-value", "onUpdate:modelValue"])) : j("", !0)
2356
2394
  ])
2357
2395
  ]))), 128))
2358
2396
  ])
2359
2397
  ]));
2360
2398
  }
2361
- }), ql = { class: "h-full flex flex-col" }, Jl = /* @__PURE__ */ Z({
2399
+ }), Jl = { class: "h-full flex flex-col" }, Yl = /* @__PURE__ */ Z({
2362
2400
  __name: "Settings",
2363
2401
  setup(n) {
2364
- const e = he("pluginSettings"), o = ye(), t = V(() => e.value.options), l = V(() => e.value.values);
2402
+ const e = ge("pluginSettings"), o = xe(), t = E(() => e.value.options), l = E(() => e.value.values);
2365
2403
  function s(p) {
2366
2404
  e.value = p;
2367
2405
  }
2368
- return (p, i) => (d(), h("div", ql, [
2369
- y(Ee, {
2370
- "doc-link": a(o).homepage
2406
+ return (p, i) => (d(), h("div", Jl, [
2407
+ y(Ve, {
2408
+ "doc-link": r(o).homepage
2371
2409
  }, {
2372
2410
  default: H(() => [
2373
- y(Ve)
2411
+ y(Ne)
2374
2412
  ]),
2375
2413
  _: 1
2376
2414
  }, 8, ["doc-link"]),
2377
2415
  y(Xt, {
2378
- "plugin-id": a(o).pluginId,
2416
+ "plugin-id": r(o).pluginId,
2379
2417
  options: t.value,
2380
2418
  values: l.value,
2381
2419
  onUpdate: s
2382
2420
  }, null, 8, ["plugin-id", "options", "values"])
2383
2421
  ]));
2384
2422
  }
2385
- }), Yl = { class: "h-full flex flex-col" }, Xl = { class: "h-full flex flex-col p2" }, Ql = {
2423
+ }), Xl = { class: "h-full flex flex-col" }, Ql = { class: "h-full flex flex-col p2" }, e1 = {
2386
2424
  class: "grid grid-cols-[1fr_auto] mb1 items-center gap2 pb1",
2387
2425
  border: "b dashed base"
2388
- }, e1 = {
2426
+ }, t1 = {
2389
2427
  key: 0,
2390
2428
  class: "flex items-center gap-2 px-1"
2391
- }, t1 = ["onClick"], n1 = {
2429
+ }, n1 = ["onClick"], o1 = {
2392
2430
  key: 0,
2393
2431
  class: "no-scrollbar flex-1 select-none overflow-scroll"
2394
- }, o1 = { class: "h-full flex flex-col p2" }, l1 = {
2432
+ }, l1 = { class: "h-full flex flex-col p2" }, s1 = {
2395
2433
  class: "grid grid-cols-[1fr_auto] mb1 items-center gap2 pb1",
2396
2434
  border: "b dashed base"
2397
- }, s1 = {
2435
+ }, a1 = {
2398
2436
  key: 0,
2399
2437
  class: "flex items-center gap-2 px-1"
2400
- }, a1 = ["onClick"], i1 = /* @__PURE__ */ Z({
2438
+ }, i1 = ["onClick"], r1 = /* @__PURE__ */ Z({
2401
2439
  __name: "Index",
2402
2440
  setup(n) {
2403
- const { expanded: e } = Ce(), { expanded: o } = Ce("custom-inspector-state"), t = ye(), l = V(() => t.value.id), s = S([]), p = S([]), i = S([]), u = V(() => {
2441
+ const { expanded: e } = _e(), { expanded: o } = _e("custom-inspector-state"), t = xe(), l = E(() => t.value.id), s = R([]), p = R([]), i = R([]), a = E(() => {
2404
2442
  var m, _;
2405
- return (m = i.value) != null && m.length ? R((_ = i.value) == null ? void 0 : _[0]) : [];
2406
- }), v = V(() => A(i.value)), f = V(() => v.value.map((m) => m.id)), r = S(""), g = S({}), $ = V(() => !Object.keys(g.value).length), w = ye(), C = S(""), T = S("");
2407
- ee(C, (m, _) => {
2443
+ return (m = i.value) != null && m.length ? V((_ = i.value) == null ? void 0 : _[0]) : [];
2444
+ }), f = E(() => P(i.value)), v = E(() => f.value.map((m) => m.id)), u = R(""), C = R({}), T = E(() => !Object.keys(C.value).length), k = xe(), g = R(""), $ = R("");
2445
+ te(g, (m, _) => {
2408
2446
  !m.trim().length && !_.trim().length || ne(m);
2409
2447
  });
2410
- const z = V(() => tt({
2411
- state: g.value,
2412
- filterKey: T.value
2448
+ const z = E(() => nt({
2449
+ state: C.value,
2450
+ filterKey: $.value
2413
2451
  }));
2414
- function R(m, _ = [], N = []) {
2452
+ function V(m, _ = [], N = []) {
2415
2453
  var M;
2416
2454
  return _.push(m.id), ((M = m.children) == null ? void 0 : M.length) === 0 && N.push([..._]), Array.isArray(m.children) && m.children.forEach((G) => {
2417
- R(G, _, N);
2455
+ V(G, _, N);
2418
2456
  }), _.pop(), N;
2419
2457
  }
2420
- function k(m, _) {
2458
+ function b(m, _) {
2421
2459
  const N = [];
2422
2460
  return m == null || m.forEach((M) => {
2423
2461
  N.push(...M.slice(0, _ + 1));
2424
2462
  }), [...new Set(N)];
2425
2463
  }
2426
- function A(m) {
2464
+ function P(m) {
2427
2465
  const _ = [], N = (M) => {
2428
2466
  M == null || M.forEach((G) => {
2429
2467
  var re;
@@ -2444,7 +2482,7 @@ const El = /* @__PURE__ */ xe($l, [["render", Tl]]), Vl = {
2444
2482
  }
2445
2483
  F(), K();
2446
2484
  function ce(m) {
2447
- D.value.callInspectorNodeAction(l.value, m, r.value);
2485
+ D.value.callInspectorNodeAction(l.value, m, u.value);
2448
2486
  }
2449
2487
  function L(m) {
2450
2488
  D.value.callInspectorAction(l.value, m);
@@ -2458,58 +2496,58 @@ const El = /* @__PURE__ */ xe($l, [["render", Tl]]), Vl = {
2458
2496
  function O(m) {
2459
2497
  D.value.getInspectorState({ inspectorId: l.value, nodeId: m }).then((_) => {
2460
2498
  const N = oe(_);
2461
- N && (g.value = I(N), o.value = Array.from({ length: Object.keys(g.value).length }, (M, G) => `${G}`));
2499
+ N && (C.value = I(N), o.value = Array.from({ length: Object.keys(C.value).length }, (M, G) => `${G}`));
2462
2500
  });
2463
2501
  }
2464
- function Q() {
2465
- g.value = {};
2502
+ function ee() {
2503
+ C.value = {};
2466
2504
  }
2467
- ee(r, () => {
2468
- Q(), O(r.value);
2505
+ te(u, () => {
2506
+ ee(), O(u.value);
2469
2507
  });
2470
2508
  function ne(m = "") {
2471
2509
  D.value.getInspectorTree({ inspectorId: l.value, filter: m }).then((_) => {
2472
2510
  const N = oe(_);
2473
- i.value = N, !r.value && N.length && (r.value = N[0].id, e.value = k(u.value, 1), O(N[0].id));
2511
+ i.value = N, !u.value && N.length && (u.value = N[0].id, e.value = b(a.value, 1), O(N[0].id));
2474
2512
  });
2475
2513
  }
2476
2514
  Zt(l).toBeTruthy().then(() => ne());
2477
- function P(m) {
2515
+ function A(m) {
2478
2516
  var N, M;
2479
2517
  const _ = oe(m);
2480
- !_.rootNodes.length || _.inspectorId !== l.value || (i.value = _.rootNodes, f.value.includes(r.value) || (r.value = (M = (N = i.value) == null ? void 0 : N[0]) == null ? void 0 : M.id, e.value = k(u.value, 1)));
2518
+ !_.rootNodes.length || _.inspectorId !== l.value || (i.value = _.rootNodes, v.value.includes(u.value) || (u.value = (M = (N = i.value) == null ? void 0 : N[0]) == null ? void 0 : M.id, e.value = b(a.value, 1)));
2481
2519
  }
2482
2520
  function x(m) {
2483
2521
  const _ = oe(m);
2484
- if (_.inspectorId !== l.value || !_.state || _.nodeId !== r.value)
2522
+ if (_.inspectorId !== l.value || !_.state || _.nodeId !== u.value)
2485
2523
  return;
2486
2524
  const { inspectorId: N, ...M } = _.state;
2487
- g.value = I(M);
2488
- }
2489
- return Pe(() => {
2490
- D.functions.on(Y.INSPECTOR_TREE_UPDATED, P), D.functions.on(Y.INSPECTOR_STATE_UPDATED, x);
2491
- }), we(() => {
2492
- D.functions.off(Y.INSPECTOR_TREE_UPDATED, P), D.functions.off(Y.INSPECTOR_STATE_UPDATED, x);
2493
- }), (m, _) => (d(), h("div", Yl, [
2494
- y(Ee, {
2495
- "doc-link": a(t).homepage
2525
+ C.value = I(M);
2526
+ }
2527
+ return Me(() => {
2528
+ D.functions.on(X.INSPECTOR_TREE_UPDATED, A), D.functions.on(X.INSPECTOR_STATE_UPDATED, x);
2529
+ }), ke(() => {
2530
+ D.functions.off(X.INSPECTOR_TREE_UPDATED, A), D.functions.off(X.INSPECTOR_STATE_UPDATED, x);
2531
+ }), (m, _) => (d(), h("div", Xl, [
2532
+ y(Ve, {
2533
+ "doc-link": r(t).homepage
2496
2534
  }, {
2497
2535
  default: H(() => [
2498
- y(Ve)
2536
+ y(Ne)
2499
2537
  ]),
2500
2538
  _: 1
2501
2539
  }, 8, ["doc-link"]),
2502
- !i.value.length && !C.value.trim().length ? (d(), B(Se, { key: 0 }, {
2540
+ !i.value.length && !g.value.trim().length ? (d(), B(Te, { key: 0 }, {
2503
2541
  default: H(() => _[3] || (_[3] = [
2504
- X(" No Data ")
2542
+ Q(" No Data ")
2505
2543
  ])),
2506
2544
  _: 1
2507
- })) : (d(), B(a(Me), {
2545
+ })) : (d(), B(r(Le), {
2508
2546
  key: 1,
2509
2547
  class: "flex-1 overflow-auto"
2510
2548
  }, {
2511
2549
  default: H(() => [
2512
- y(a(pe), {
2550
+ y(r(pe), {
2513
2551
  border: "r base",
2514
2552
  size: "40",
2515
2553
  "h-full": ""
@@ -2517,29 +2555,29 @@ const El = /* @__PURE__ */ xe($l, [["render", Tl]]), Vl = {
2517
2555
  default: H(() => {
2518
2556
  var N;
2519
2557
  return [
2520
- c("div", Xl, [
2521
- c("div", Ql, [
2522
- y(a(ge), {
2523
- modelValue: C.value,
2524
- "onUpdate:modelValue": _[0] || (_[0] = (M) => C.value = M),
2525
- placeholder: a(w).treeFilterPlaceholder
2558
+ c("div", Ql, [
2559
+ c("div", e1, [
2560
+ y(r(Ce), {
2561
+ modelValue: g.value,
2562
+ "onUpdate:modelValue": _[0] || (_[0] = (M) => g.value = M),
2563
+ placeholder: r(k).treeFilterPlaceholder
2526
2564
  }, null, 8, ["modelValue", "placeholder"]),
2527
- (N = p.value) != null && N.length ? (d(), h("div", e1, [
2565
+ (N = p.value) != null && N.length ? (d(), h("div", t1, [
2528
2566
  (d(!0), h(se, null, de(p.value, (M, G) => q((d(), h("div", {
2529
2567
  key: G,
2530
2568
  class: "flex items-center gap1",
2531
2569
  onClick: (re) => L(G)
2532
2570
  }, [
2533
- y(a(Fe), {
2571
+ y(r(Ke), {
2534
2572
  name: `baseline-${M.icon.replace(/\_/g, "-")}`,
2535
2573
  "cursor-pointer": "",
2536
2574
  op70: "",
2537
2575
  "text-base": "",
2538
2576
  "hover:op100": ""
2539
2577
  }, null, 8, ["name"])
2540
- ], 8, t1)), [
2578
+ ], 8, n1)), [
2541
2579
  [
2542
- a(J),
2580
+ r(J),
2543
2581
  { content: M.tooltip },
2544
2582
  void 0,
2545
2583
  { "bottom-end": !0 }
@@ -2547,15 +2585,15 @@ const El = /* @__PURE__ */ xe($l, [["render", Tl]]), Vl = {
2547
2585
  ])), 128))
2548
2586
  ])) : j("", !0)
2549
2587
  ]),
2550
- i.value.length ? (d(), h("div", n1, [
2551
- y(Ue, {
2552
- modelValue: r.value,
2553
- "onUpdate:modelValue": _[1] || (_[1] = (M) => r.value = M),
2588
+ i.value.length ? (d(), h("div", o1, [
2589
+ y(Oe, {
2590
+ modelValue: u.value,
2591
+ "onUpdate:modelValue": _[1] || (_[1] = (M) => u.value = M),
2554
2592
  data: i.value
2555
2593
  }, null, 8, ["modelValue", "data"])
2556
- ])) : (d(), B(Se, { key: 1 }, {
2594
+ ])) : (d(), B(Te, { key: 1 }, {
2557
2595
  default: H(() => _[4] || (_[4] = [
2558
- X(" No Data ")
2596
+ Q(" No Data ")
2559
2597
  ])),
2560
2598
  _: 1
2561
2599
  }))
@@ -2564,33 +2602,33 @@ const El = /* @__PURE__ */ xe($l, [["render", Tl]]), Vl = {
2564
2602
  }),
2565
2603
  _: 1
2566
2604
  }),
2567
- y(a(pe), { size: "60" }, {
2605
+ y(r(pe), { size: "60" }, {
2568
2606
  default: H(() => {
2569
2607
  var N;
2570
2608
  return [
2571
- c("div", o1, [
2572
- c("div", l1, [
2573
- y(a(ge), {
2574
- modelValue: T.value,
2575
- "onUpdate:modelValue": _[2] || (_[2] = (M) => T.value = M),
2576
- placeholder: a(w).stateFilterPlaceholder
2609
+ c("div", l1, [
2610
+ c("div", s1, [
2611
+ y(r(Ce), {
2612
+ modelValue: $.value,
2613
+ "onUpdate:modelValue": _[2] || (_[2] = (M) => $.value = M),
2614
+ placeholder: r(k).stateFilterPlaceholder
2577
2615
  }, null, 8, ["modelValue", "placeholder"]),
2578
- (N = s.value) != null && N.length ? (d(), h("div", s1, [
2616
+ (N = s.value) != null && N.length ? (d(), h("div", a1, [
2579
2617
  (d(!0), h(se, null, de(s.value, (M, G) => q((d(), h("div", {
2580
2618
  key: G,
2581
2619
  class: "flex items-center gap1",
2582
2620
  onClick: (re) => ce(G)
2583
2621
  }, [
2584
- y(a(Fe), {
2622
+ y(r(Ke), {
2585
2623
  name: `baseline-${M.icon.replace(/\_/g, "-")}`,
2586
2624
  "cursor-pointer": "",
2587
2625
  op70: "",
2588
2626
  "text-base": "",
2589
2627
  "hover:op100": ""
2590
2628
  }, null, 8, ["name"])
2591
- ], 8, a1)), [
2629
+ ], 8, i1)), [
2592
2630
  [
2593
- a(J),
2631
+ r(J),
2594
2632
  { content: M.tooltip },
2595
2633
  void 0,
2596
2634
  { "bottom-end": !0 }
@@ -2598,16 +2636,16 @@ const El = /* @__PURE__ */ xe($l, [["render", Tl]]), Vl = {
2598
2636
  ])), 128))
2599
2637
  ])) : j("", !0)
2600
2638
  ]),
2601
- r.value && !$.value ? (d(), B(He, {
2639
+ u.value && !T.value ? (d(), B(Ue, {
2602
2640
  key: 0,
2603
2641
  data: z.value,
2604
- "node-id": r.value,
2642
+ "node-id": u.value,
2605
2643
  "inspector-id": l.value,
2606
2644
  "expanded-state-id": "custom-inspector-state",
2607
2645
  class: "no-scrollbar flex-1 overflow-scroll"
2608
- }, null, 8, ["data", "node-id", "inspector-id"])) : (d(), B(Se, { key: 1 }, {
2646
+ }, null, 8, ["data", "node-id", "inspector-id"])) : (d(), B(Te, { key: 1 }, {
2609
2647
  default: H(() => _[5] || (_[5] = [
2610
- X(" No Data ")
2648
+ Q(" No Data ")
2611
2649
  ])),
2612
2650
  _: 1
2613
2651
  }))
@@ -2621,20 +2659,20 @@ const El = /* @__PURE__ */ xe($l, [["render", Tl]]), Vl = {
2621
2659
  }))
2622
2660
  ]));
2623
2661
  }
2624
- }), r1 = /* @__PURE__ */ Z({
2662
+ }), u1 = /* @__PURE__ */ Z({
2625
2663
  __name: "Index",
2626
2664
  setup(n) {
2627
- const e = ye();
2628
- return (o, t) => (d(), B(ct, {
2629
- "layer-ids": a(e).timelineLayerIds,
2630
- "doc-link": a(e).homepage,
2631
- "plugin-id": a(e).pluginId
2665
+ const e = xe();
2666
+ return (o, t) => (d(), B(dt, {
2667
+ "layer-ids": r(e).timelineLayerIds,
2668
+ "doc-link": r(e).homepage,
2669
+ "plugin-id": r(e).pluginId
2632
2670
  }, null, 8, ["layer-ids", "doc-link", "plugin-id"]));
2633
2671
  }
2634
- }), u1 = {
2672
+ }), c1 = {
2635
2673
  "h-full": "",
2636
2674
  "w-full": ""
2637
- }, c1 = { key: 0 }, fs = /* @__PURE__ */ Z({
2675
+ }, d1 = { key: 0 }, vs = /* @__PURE__ */ Z({
2638
2676
  __name: "index",
2639
2677
  props: {
2640
2678
  id: {},
@@ -2642,111 +2680,111 @@ const El = /* @__PURE__ */ xe($l, [["render", Tl]]), Vl = {
2642
2680
  },
2643
2681
  emits: ["loadError"],
2644
2682
  setup(n, { emit: e }) {
2645
- const o = n, t = e, l = dt(), s = S(!1), p = S(null);
2646
- _e("pluginSettings", p);
2647
- const i = V(() => {
2648
- var r;
2683
+ const o = n, t = e, l = pt(), s = R(!1), p = R(null);
2684
+ ye("pluginSettings", p);
2685
+ const i = E(() => {
2686
+ var u;
2649
2687
  return [
2650
2688
  {
2651
2689
  path: "/state",
2652
2690
  name: "State",
2653
- component: i1,
2691
+ component: r1,
2654
2692
  icon: "i-carbon-tree-view-alt"
2655
2693
  },
2656
- ((r = l.value.timelineLayerIds) == null ? void 0 : r.length) && {
2694
+ ((u = l.value.timelineLayerIds) == null ? void 0 : u.length) && {
2657
2695
  path: "/timeline",
2658
2696
  name: "Timeline",
2659
- component: r1,
2697
+ component: u1,
2660
2698
  icon: "i-mdi:timeline-clock-outline"
2661
2699
  },
2662
2700
  {
2663
2701
  path: "/about",
2664
2702
  name: "About",
2665
- component: Bl
2703
+ component: Fl
2666
2704
  },
2667
2705
  p.value && {
2668
2706
  path: "/settings",
2669
2707
  name: "Settings",
2670
- component: Jl,
2708
+ component: Yl,
2671
2709
  icon: "i-mdi:cog-outline"
2672
2710
  }
2673
2711
  ].filter(Boolean);
2674
- }), { VirtualRouterView: u, restoreRouter: v } = ot(i, {
2712
+ }), { VirtualRouterView: a, restoreRouter: f } = lt(i, {
2675
2713
  defaultRoutePath: "/state"
2676
2714
  });
2677
- function f() {
2678
- s.value = !0, Pe(() => {
2679
- D.value.getInspectorInfo(o.id).then((r) => {
2680
- if (!r) {
2715
+ function v() {
2716
+ s.value = !0, Me(() => {
2717
+ D.value.getInspectorInfo(o.id).then((u) => {
2718
+ if (!u) {
2681
2719
  t("loadError");
2682
2720
  return;
2683
2721
  }
2684
- const g = {
2685
- homepage: r == null ? void 0 : r.homepage,
2686
- id: r == null ? void 0 : r.id,
2687
- label: r == null ? void 0 : r.label,
2688
- logo: r == null ? void 0 : r.logo,
2689
- timelineLayerIds: r == null ? void 0 : r.timelineLayers.map(($) => $.id),
2722
+ const C = {
2723
+ homepage: u == null ? void 0 : u.homepage,
2724
+ id: u == null ? void 0 : u.id,
2725
+ label: u == null ? void 0 : u.label,
2726
+ logo: u == null ? void 0 : u.logo,
2727
+ timelineLayerIds: u == null ? void 0 : u.timelineLayers.map((T) => T.id),
2690
2728
  pluginId: o.pluginId,
2691
- treeFilterPlaceholder: r.treeFilterPlaceholder,
2692
- stateFilterPlaceholder: r.stateFilterPlaceholder
2729
+ treeFilterPlaceholder: u.treeFilterPlaceholder,
2730
+ stateFilterPlaceholder: u.stateFilterPlaceholder
2693
2731
  };
2694
- l.value = g, v(), s.value = !1;
2695
- }), D.value.getPluginSettings(o.pluginId).then((r) => {
2696
- r.options ? p.value = r : p.value = null;
2732
+ l.value = C, f(), s.value = !1;
2733
+ }), D.value.getPluginSettings(o.pluginId).then((u) => {
2734
+ u.options ? p.value = u : p.value = null;
2697
2735
  });
2698
2736
  });
2699
2737
  }
2700
- return ee(() => o.id, () => {
2701
- f();
2738
+ return te(() => o.id, () => {
2739
+ v();
2702
2740
  }, {
2703
2741
  immediate: !0
2704
- }), we(() => {
2742
+ }), ke(() => {
2705
2743
  D.value.unhighlight();
2706
- }), (r, g) => (d(), h("div", u1, [
2707
- s.value ? (d(), h("div", c1, [
2708
- y(Il)
2709
- ])) : (d(), B(a(u), { key: 1 }))
2744
+ }), (u, C) => (d(), h("div", c1, [
2745
+ s.value ? (d(), h("div", d1, [
2746
+ y($l)
2747
+ ])) : (d(), B(r(a), { key: 1 }))
2710
2748
  ]));
2711
2749
  }
2712
- }), d1 = {}, p1 = {
2750
+ }), p1 = {}, f1 = {
2713
2751
  viewBox: "0 0 566 154",
2714
2752
  fill: "none",
2715
2753
  xmlns: "http://www.w3.org/2000/svg"
2716
2754
  };
2717
- function f1(n, e) {
2718
- return d(), h("svg", p1, e[0] || (e[0] = [
2755
+ function v1(n, e) {
2756
+ return d(), h("svg", f1, e[0] || (e[0] = [
2719
2757
  dn('<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)
2720
2758
  ]));
2721
2759
  }
2722
- const v1 = /* @__PURE__ */ xe(d1, [["render", f1]]), m1 = {
2760
+ const m1 = /* @__PURE__ */ be(p1, [["render", v1]]), h1 = {
2723
2761
  "h-full": "",
2724
2762
  "w-full": "",
2725
2763
  flex: "",
2726
2764
  "items-center": ""
2727
- }, h1 = {
2765
+ }, g1 = {
2728
2766
  flex: "~ col gap2",
2729
2767
  ma: "",
2730
2768
  "px-5": ""
2731
- }, g1 = {
2769
+ }, C1 = {
2732
2770
  flex: "~ col",
2733
2771
  "mt-20": "",
2734
2772
  "items-center": ""
2735
- }, C1 = {
2773
+ }, _1 = {
2736
2774
  flex: "~",
2737
2775
  "mt--10": "",
2738
2776
  "items-center": "",
2739
2777
  "justify-center": ""
2740
- }, _1 = { flex: "~ gap2 wrap" }, y1 = /* @__PURE__ */ Z({
2778
+ }, y1 = { flex: "~ gap2 wrap" }, x1 = /* @__PURE__ */ Z({
2741
2779
  __name: "About",
2742
2780
  setup(n) {
2743
- const e = Le();
2744
- return (o, t) => (d(), h("div", m1, [
2745
- c("div", h1, [
2781
+ const e = He();
2782
+ return (o, t) => (d(), h("div", h1, [
2783
+ c("div", g1, [
2746
2784
  t[5] || (t[5] = c("div", { "flex-auto": "" }, null, -1)),
2747
- c("div", g1, [
2748
- c("div", C1, [
2749
- y(v1, { "h-18": "" })
2785
+ c("div", C1, [
2786
+ c("div", _1, [
2787
+ y(m1, { "h-18": "" })
2750
2788
  ]),
2751
2789
  t[2] || (t[2] = c("div", {
2752
2790
  mb6: "",
@@ -2759,13 +2797,13 @@ const v1 = /* @__PURE__ */ xe(d1, [["render", f1]]), m1 = {
2759
2797
  ], -1))
2760
2798
  ]),
2761
2799
  t[6] || (t[6] = c("div", { "flex-auto": "" }, null, -1)),
2762
- c("div", _1, [
2800
+ c("div", y1, [
2763
2801
  c("div", {
2764
2802
  flex: "~ col auto",
2765
2803
  "min-w-40": "",
2766
2804
  p4: "",
2767
2805
  "theme-card-lime": "",
2768
- onClick: t[0] || (t[0] = (l) => a(e).push("/store"))
2806
+ onClick: t[0] || (t[0] = (l) => r(e).push("/store"))
2769
2807
  }, t[3] || (t[3] = [
2770
2808
  c("div", {
2771
2809
  "i-carbon-tree-view-alt": "",
@@ -2778,7 +2816,7 @@ const v1 = /* @__PURE__ */ xe(d1, [["render", f1]]), m1 = {
2778
2816
  "min-w-40": "",
2779
2817
  p4: "",
2780
2818
  "theme-card-lime": "",
2781
- onClick: t[1] || (t[1] = (l) => a(e).push("/timeline"))
2819
+ onClick: t[1] || (t[1] = (l) => r(e).push("/timeline"))
2782
2820
  }, t[4] || (t[4] = [
2783
2821
  c("div", {
2784
2822
  "i-mdi:timeline-clock-outline": "",
@@ -2803,7 +2841,7 @@ const v1 = /* @__PURE__ */ xe(d1, [["render", f1]]), m1 = {
2803
2841
  transition: ""
2804
2842
  }, [
2805
2843
  c("div", { "i-carbon-star": "" }),
2806
- X(" Star on GitHub ")
2844
+ Q(" Star on GitHub ")
2807
2845
  ]),
2808
2846
  c("a", {
2809
2847
  href: "https://pinia.vuejs.org/",
@@ -2815,27 +2853,27 @@ const v1 = /* @__PURE__ */ xe(d1, [["render", f1]]), m1 = {
2815
2853
  transition: ""
2816
2854
  }, [
2817
2855
  c("div", { "i-carbon-document": "" }),
2818
- X(" View Documentation ")
2856
+ Q(" View Documentation ")
2819
2857
  ])
2820
2858
  ], -1)),
2821
2859
  t[8] || (t[8] = c("div", { "flex-auto": "" }, null, -1))
2822
2860
  ])
2823
2861
  ]));
2824
2862
  }
2825
- }), x1 = { class: "h-full flex flex-col" }, b1 = /* @__PURE__ */ Z({
2863
+ }), b1 = { class: "h-full flex flex-col" }, w1 = /* @__PURE__ */ Z({
2826
2864
  __name: "Settings",
2827
2865
  setup(n) {
2828
- const e = he("pluginSettings"), o = V(() => e.value.options), t = V(() => e.value.values);
2866
+ const e = ge("pluginSettings"), o = E(() => e.value.options), t = E(() => e.value.values);
2829
2867
  function l(s) {
2830
2868
  e.value = s;
2831
2869
  }
2832
- return (s, p) => (d(), h("div", x1, [
2833
- y(Ee, {
2870
+ return (s, p) => (d(), h("div", b1, [
2871
+ y(Ve, {
2834
2872
  "doc-link": "https://pinia.vuejs.org/",
2835
2873
  "github-repo-link": "https://github.com/vuejs/pinia"
2836
2874
  }, {
2837
2875
  default: H(() => [
2838
- y(Ve)
2876
+ y(Ne)
2839
2877
  ]),
2840
2878
  _: 1
2841
2879
  }),
@@ -2847,34 +2885,34 @@ const v1 = /* @__PURE__ */ xe(d1, [["render", f1]]), m1 = {
2847
2885
  }, null, 8, ["options", "values"])
2848
2886
  ]));
2849
2887
  }
2850
- }), w1 = "dev.esm.pinia", Qt = "pinia", k1 = { class: "h-full flex flex-col" }, I1 = { class: "h-full flex flex-col p2" }, $1 = {
2888
+ }), k1 = "dev.esm.pinia", Qt = "pinia", I1 = { class: "h-full flex flex-col" }, $1 = { class: "h-full flex flex-col p2" }, S1 = {
2851
2889
  class: "grid grid-cols-[1fr_auto] mb1 items-center gap2 pb1",
2852
2890
  border: "b dashed base"
2853
- }, S1 = {
2891
+ }, T1 = {
2854
2892
  key: 0,
2855
2893
  class: "flex items-center gap-2 px-1"
2856
- }, T1 = ["onClick"], E1 = { class: "no-scrollbar flex-1 select-none overflow-scroll" }, V1 = { class: "h-full flex flex-col p2" }, N1 = {
2894
+ }, E1 = ["onClick"], V1 = { class: "no-scrollbar flex-1 select-none overflow-scroll" }, N1 = { class: "h-full flex flex-col p2" }, R1 = {
2857
2895
  class: "grid grid-cols-[1fr_auto] mb1 items-center gap2 pb1",
2858
2896
  border: "b dashed base"
2859
- }, R1 = {
2897
+ }, D1 = {
2860
2898
  key: 0,
2861
2899
  class: "flex items-center gap-2 px-1"
2862
- }, D1 = ["onClick"], A1 = /* @__PURE__ */ Z({
2900
+ }, P1 = ["onClick"], A1 = /* @__PURE__ */ Z({
2863
2901
  __name: "Index",
2864
2902
  setup(n) {
2865
- const { expanded: e } = Ce(), { expanded: o } = Ce("pinia-store-state"), t = Qt, l = S([]), s = S([]), p = ye(), i = S(""), u = S([]), v = V(() => {
2903
+ const { expanded: e } = _e(), { expanded: o } = _e("pinia-store-state"), t = Qt, l = R([]), s = R([]), p = xe(), i = R(""), a = R([]), f = E(() => {
2866
2904
  var x, m;
2867
- return (x = u.value) != null && x.length ? z((m = u.value) == null ? void 0 : m[0]) : [];
2868
- }), f = V(() => k(u.value)), r = V(() => f.value.map((x) => x.id)), g = S({}), $ = S(""), w = S("");
2869
- ee($, (x, m) => {
2870
- !x.trim().length && !m.trim().length || Q(x);
2905
+ return (x = a.value) != null && x.length ? z((m = a.value) == null ? void 0 : m[0]) : [];
2906
+ }), v = E(() => b(a.value)), u = E(() => v.value.map((x) => x.id)), C = R({}), T = R(""), k = R("");
2907
+ te(T, (x, m) => {
2908
+ !x.trim().length && !m.trim().length || ee(x);
2871
2909
  });
2872
- const C = V(() => tt({
2873
- state: g.value,
2874
- filterKey: w.value
2875
- })), T = V(() => {
2910
+ const g = E(() => nt({
2911
+ state: C.value,
2912
+ filterKey: k.value
2913
+ })), $ = E(() => {
2876
2914
  var x, m;
2877
- return !((x = g.value.state) != null && x.length) && !((m = g.value.getters) != null && m.length);
2915
+ return !((x = C.value.state) != null && x.length) && !((m = C.value.getters) != null && m.length);
2878
2916
  });
2879
2917
  function z(x, m = [], _ = []) {
2880
2918
  var N;
@@ -2882,13 +2920,13 @@ const v1 = /* @__PURE__ */ xe(d1, [["render", f1]]), m1 = {
2882
2920
  z(M, m, _);
2883
2921
  }), m.pop(), _;
2884
2922
  }
2885
- function R(x, m) {
2923
+ function V(x, m) {
2886
2924
  const _ = [];
2887
2925
  return x == null || x.forEach((N) => {
2888
2926
  _.push(...N.slice(0, m + 1));
2889
2927
  }), [...new Set(_)];
2890
2928
  }
2891
- function k(x) {
2929
+ function b(x) {
2892
2930
  const m = [], _ = (N) => {
2893
2931
  N == null || N.forEach((M) => {
2894
2932
  var G;
@@ -2897,7 +2935,7 @@ const v1 = /* @__PURE__ */ xe(d1, [["render", f1]]), m1 = {
2897
2935
  };
2898
2936
  return _(x), m;
2899
2937
  }
2900
- function A() {
2938
+ function P() {
2901
2939
  D.value.getInspectorNodeActions(t).then((x) => {
2902
2940
  l.value = x;
2903
2941
  });
@@ -2907,7 +2945,7 @@ const v1 = /* @__PURE__ */ xe(d1, [["render", f1]]), m1 = {
2907
2945
  s.value = x;
2908
2946
  });
2909
2947
  }
2910
- A(), F();
2948
+ P(), F();
2911
2949
  function K(x) {
2912
2950
  D.value.callInspectorNodeAction(t, x, i.value);
2913
2951
  }
@@ -2923,51 +2961,51 @@ const v1 = /* @__PURE__ */ xe(d1, [["render", f1]]), m1 = {
2923
2961
  function I(x) {
2924
2962
  D.value.getInspectorState({ inspectorId: t, nodeId: x }).then((m) => {
2925
2963
  const _ = oe(m);
2926
- _ && (g.value = L(_), o.value = Array.from({ length: Object.keys(g.value).length }, (N, M) => `${M}`));
2964
+ _ && (C.value = L(_), o.value = Array.from({ length: Object.keys(C.value).length }, (N, M) => `${M}`));
2927
2965
  });
2928
2966
  }
2929
2967
  function O() {
2930
- g.value = {};
2968
+ C.value = {};
2931
2969
  }
2932
- ee(i, () => {
2970
+ te(i, () => {
2933
2971
  O(), I(i.value);
2934
2972
  });
2935
- function Q(x = "") {
2973
+ function ee(x = "") {
2936
2974
  D.value.getInspectorTree({ inspectorId: t, filter: x }).then((m) => {
2937
2975
  const _ = oe(m);
2938
- u.value = _, !i.value && _.length && (i.value = _[0].id, I(_[0].id), e.value = R(v.value, 1));
2976
+ a.value = _, !i.value && _.length && (i.value = _[0].id, I(_[0].id), e.value = V(f.value, 1));
2939
2977
  });
2940
2978
  }
2941
- Q();
2979
+ ee();
2942
2980
  function ne(x) {
2943
2981
  const m = oe(x);
2944
- m.inspectorId !== t || !m.rootNodes.length || (u.value = m.rootNodes, r.value.includes(i.value) || (i.value = m.rootNodes[0].id, e.value = R(v.value, 1), I(m.rootNodes[0].id)));
2982
+ m.inspectorId !== t || !m.rootNodes.length || (a.value = m.rootNodes, u.value.includes(i.value) || (i.value = m.rootNodes[0].id, e.value = V(f.value, 1), I(m.rootNodes[0].id)));
2945
2983
  }
2946
- function P(x) {
2984
+ function A(x) {
2947
2985
  const m = oe(x);
2948
2986
  if (m.inspectorId !== t)
2949
2987
  return;
2950
2988
  const _ = m.state;
2951
- _ && (g.value = L({
2989
+ _ && (C.value = L({
2952
2990
  state: _.state,
2953
2991
  getters: _.getters
2954
2992
  }));
2955
2993
  }
2956
- return D.functions.on(Y.INSPECTOR_TREE_UPDATED, ne), D.functions.on(Y.INSPECTOR_STATE_UPDATED, P), we(() => {
2957
- D.functions.off(Y.INSPECTOR_TREE_UPDATED, ne), D.functions.off(Y.INSPECTOR_STATE_UPDATED, P);
2958
- }), (x, m) => (d(), h("div", k1, [
2959
- y(Ee, {
2994
+ return D.functions.on(X.INSPECTOR_TREE_UPDATED, ne), D.functions.on(X.INSPECTOR_STATE_UPDATED, A), ke(() => {
2995
+ D.functions.off(X.INSPECTOR_TREE_UPDATED, ne), D.functions.off(X.INSPECTOR_STATE_UPDATED, A);
2996
+ }), (x, m) => (d(), h("div", I1, [
2997
+ y(Ve, {
2960
2998
  "doc-link": "https://pinia.vuejs.org/",
2961
2999
  "github-repo-link": "https://github.com/vuejs/pinia"
2962
3000
  }, {
2963
3001
  default: H(() => [
2964
- y(Ve)
3002
+ y(Ne)
2965
3003
  ]),
2966
3004
  _: 1
2967
3005
  }),
2968
- y(a(Me), { class: "flex-1 overflow-auto" }, {
3006
+ y(r(Le), { class: "flex-1 overflow-auto" }, {
2969
3007
  default: H(() => [
2970
- y(a(pe), {
3008
+ y(r(pe), {
2971
3009
  border: "r base",
2972
3010
  size: "40",
2973
3011
  "h-full": ""
@@ -2975,14 +3013,14 @@ const v1 = /* @__PURE__ */ xe(d1, [["render", f1]]), m1 = {
2975
3013
  default: H(() => {
2976
3014
  var _;
2977
3015
  return [
2978
- c("div", I1, [
2979
- c("div", $1, [
2980
- y(a(ge), {
2981
- modelValue: $.value,
2982
- "onUpdate:modelValue": m[0] || (m[0] = (N) => $.value = N),
2983
- placeholder: a(p).treeFilterPlaceholder
3016
+ c("div", $1, [
3017
+ c("div", S1, [
3018
+ y(r(Ce), {
3019
+ modelValue: T.value,
3020
+ "onUpdate:modelValue": m[0] || (m[0] = (N) => T.value = N),
3021
+ placeholder: r(p).treeFilterPlaceholder
2984
3022
  }, null, 8, ["modelValue", "placeholder"]),
2985
- (_ = s.value) != null && _.length ? (d(), h("div", S1, [
3023
+ (_ = s.value) != null && _.length ? (d(), h("div", T1, [
2986
3024
  (d(!0), h(se, null, de(s.value, (N, M) => q((d(), h("div", {
2987
3025
  key: M,
2988
3026
  class: "flex items-center gap1",
@@ -2995,9 +3033,9 @@ const v1 = /* @__PURE__ */ xe(d1, [["render", f1]]), m1 = {
2995
3033
  "text-base": "",
2996
3034
  "hover:op100": ""
2997
3035
  }, null, 2)
2998
- ], 8, T1)), [
3036
+ ], 8, E1)), [
2999
3037
  [
3000
- a(J),
3038
+ r(J),
3001
3039
  { content: N.tooltip },
3002
3040
  void 0,
3003
3041
  { "bottom-end": !0 }
@@ -3005,11 +3043,11 @@ const v1 = /* @__PURE__ */ xe(d1, [["render", f1]]), m1 = {
3005
3043
  ])), 128))
3006
3044
  ])) : j("", !0)
3007
3045
  ]),
3008
- c("div", E1, [
3009
- y(Ue, {
3046
+ c("div", V1, [
3047
+ y(Oe, {
3010
3048
  modelValue: i.value,
3011
3049
  "onUpdate:modelValue": m[1] || (m[1] = (N) => i.value = N),
3012
- data: u.value
3050
+ data: a.value
3013
3051
  }, null, 8, ["modelValue", "data"])
3014
3052
  ])
3015
3053
  ])
@@ -3017,18 +3055,18 @@ const v1 = /* @__PURE__ */ xe(d1, [["render", f1]]), m1 = {
3017
3055
  }),
3018
3056
  _: 1
3019
3057
  }),
3020
- y(a(pe), { size: "60" }, {
3058
+ y(r(pe), { size: "60" }, {
3021
3059
  default: H(() => {
3022
3060
  var _;
3023
3061
  return [
3024
- c("div", V1, [
3025
- c("div", N1, [
3026
- y(a(ge), {
3027
- modelValue: w.value,
3028
- "onUpdate:modelValue": m[2] || (m[2] = (N) => w.value = N),
3029
- placeholder: a(p).stateFilterPlaceholder
3062
+ c("div", N1, [
3063
+ c("div", R1, [
3064
+ y(r(Ce), {
3065
+ modelValue: k.value,
3066
+ "onUpdate:modelValue": m[2] || (m[2] = (N) => k.value = N),
3067
+ placeholder: r(p).stateFilterPlaceholder
3030
3068
  }, null, 8, ["modelValue", "placeholder"]),
3031
- (_ = l.value) != null && _.length ? (d(), h("div", R1, [
3069
+ (_ = l.value) != null && _.length ? (d(), h("div", D1, [
3032
3070
  (d(!0), h(se, null, de(l.value, (N, M) => q((d(), h("div", {
3033
3071
  key: M,
3034
3072
  class: "flex items-center gap1",
@@ -3041,9 +3079,9 @@ const v1 = /* @__PURE__ */ xe(d1, [["render", f1]]), m1 = {
3041
3079
  "text-base": "",
3042
3080
  "hover:op100": ""
3043
3081
  }, null, 2)
3044
- ], 8, D1)), [
3082
+ ], 8, P1)), [
3045
3083
  [
3046
- a(J),
3084
+ r(J),
3047
3085
  { content: N.tooltip },
3048
3086
  void 0,
3049
3087
  { "bottom-end": !0 }
@@ -3051,16 +3089,16 @@ const v1 = /* @__PURE__ */ xe(d1, [["render", f1]]), m1 = {
3051
3089
  ])), 128))
3052
3090
  ])) : j("", !0)
3053
3091
  ]),
3054
- i.value && !T.value ? (d(), B(He, {
3092
+ i.value && !$.value ? (d(), B(Ue, {
3055
3093
  key: 0,
3056
3094
  class: "no-scrollbar flex-1 overflow-scroll",
3057
- data: C.value,
3095
+ data: g.value,
3058
3096
  "node-id": i.value,
3059
- "inspector-id": a(t),
3097
+ "inspector-id": r(t),
3060
3098
  "expanded-state-id": "pinia-store-state"
3061
- }, null, 8, ["data", "node-id", "inspector-id"])) : (d(), B(Se, { key: 1 }, {
3099
+ }, null, 8, ["data", "node-id", "inspector-id"])) : (d(), B(Te, { key: 1 }, {
3062
3100
  default: H(() => m[3] || (m[3] = [
3063
- X(" No Data ")
3101
+ Q(" No Data ")
3064
3102
  ])),
3065
3103
  _: 1
3066
3104
  }))
@@ -3074,26 +3112,26 @@ const v1 = /* @__PURE__ */ xe(d1, [["render", f1]]), m1 = {
3074
3112
  })
3075
3113
  ]));
3076
3114
  }
3077
- }), P1 = "dev.esm.pinia", M1 = /* @__PURE__ */ Z({
3115
+ }), M1 = "dev.esm.pinia", L1 = /* @__PURE__ */ Z({
3078
3116
  __name: "Index",
3079
3117
  setup(n) {
3080
3118
  const e = ["pinia:mutations"];
3081
- return (o, t) => (d(), B(ct, {
3119
+ return (o, t) => (d(), B(dt, {
3082
3120
  "layer-ids": e,
3083
3121
  "doc-link": "https://pinia.vuejs.org/",
3084
- "plugin-id": P1,
3122
+ "plugin-id": M1,
3085
3123
  "github-repo-link": "https://github.com/vuejs/pinia"
3086
3124
  }));
3087
3125
  }
3088
- }), L1 = {
3126
+ }), H1 = {
3089
3127
  "h-full": "",
3090
3128
  "w-full": ""
3091
- }, vs = /* @__PURE__ */ Z({
3129
+ }, ms = /* @__PURE__ */ Z({
3092
3130
  __name: "index",
3093
3131
  setup(n) {
3094
- const e = S(null);
3095
- _e("pluginSettings", e);
3096
- const o = V(() => [
3132
+ const e = R(null);
3133
+ ye("pluginSettings", e);
3134
+ const o = E(() => [
3097
3135
  {
3098
3136
  path: "/store",
3099
3137
  name: "Store",
@@ -3103,44 +3141,44 @@ const v1 = /* @__PURE__ */ xe(d1, [["render", f1]]), m1 = {
3103
3141
  {
3104
3142
  path: "/timeline",
3105
3143
  name: "Timeline",
3106
- component: M1,
3144
+ component: L1,
3107
3145
  icon: "i-mdi:timeline-clock-outline"
3108
3146
  },
3109
3147
  {
3110
3148
  path: "/",
3111
3149
  name: "About",
3112
- component: y1,
3150
+ component: x1,
3113
3151
  icon: "i-logos-pinia"
3114
3152
  },
3115
3153
  e.value && {
3116
3154
  path: "/settings",
3117
3155
  name: "Settings",
3118
- component: b1,
3156
+ component: w1,
3119
3157
  icon: "i-mdi:cog-outline"
3120
3158
  }
3121
- ].filter(Boolean)), { VirtualRouterView: t, restoreRouter: l } = ot(o, {
3159
+ ].filter(Boolean)), { VirtualRouterView: t } = lt(o, {
3122
3160
  defaultRoutePath: "/store"
3123
- }), s = dt();
3124
- return Pe(() => {
3125
- D.value.getPluginSettings(w1).then((p) => {
3126
- p.options ? e.value = p : e.value = null;
3127
- }), D.value.getInspectorInfo(Qt).then((p) => {
3128
- p && (s.value = {
3129
- stateFilterPlaceholder: p.stateFilterPlaceholder,
3130
- treeFilterPlaceholder: p.treeFilterPlaceholder
3161
+ }), l = pt();
3162
+ return Me(() => {
3163
+ D.value.getPluginSettings(k1).then((s) => {
3164
+ s.options ? e.value = s : e.value = null;
3165
+ }), D.value.getInspectorInfo(Qt).then((s) => {
3166
+ s && (l.value = {
3167
+ stateFilterPlaceholder: s.stateFilterPlaceholder,
3168
+ treeFilterPlaceholder: s.treeFilterPlaceholder
3131
3169
  });
3132
3170
  });
3133
- }), (p, i) => (d(), h("div", L1, [
3134
- y(a(t))
3171
+ }), (s, p) => (d(), h("div", H1, [
3172
+ y(r(t))
3135
3173
  ]));
3136
3174
  }
3137
- }), H1 = {}, U1 = {
3175
+ }), U1 = {}, O1 = {
3138
3176
  viewBox: "0 0 566 154",
3139
3177
  fill: "none",
3140
3178
  xmlns: "http://www.w3.org/2000/svg"
3141
3179
  };
3142
- function O1(n, e) {
3143
- return d(), h("svg", U1, e[0] || (e[0] = [
3180
+ function j1(n, e) {
3181
+ return d(), h("svg", O1, e[0] || (e[0] = [
3144
3182
  c("svg", {
3145
3183
  xmlns: "http://www.w3.org/2000/svg",
3146
3184
  width: "8em",
@@ -3158,34 +3196,34 @@ function O1(n, e) {
3158
3196
  }, null, -1)
3159
3197
  ]));
3160
3198
  }
3161
- const j1 = /* @__PURE__ */ xe(H1, [["render", O1]]), z1 = {
3199
+ const z1 = /* @__PURE__ */ be(U1, [["render", j1]]), B1 = {
3162
3200
  "h-full": "",
3163
3201
  "w-full": "",
3164
3202
  flex: "",
3165
3203
  "items-center": ""
3166
- }, B1 = {
3204
+ }, F1 = {
3167
3205
  flex: "~ col gap2",
3168
3206
  ma: "",
3169
3207
  "px-5": ""
3170
- }, F1 = {
3208
+ }, Z1 = {
3171
3209
  flex: "~ col",
3172
3210
  "mt-20": "",
3173
3211
  "items-center": ""
3174
- }, Z1 = {
3212
+ }, K1 = {
3175
3213
  flex: "~",
3176
3214
  "mt--10": "",
3177
3215
  "items-center": "",
3178
3216
  "justify-center": ""
3179
- }, K1 = { flex: "~ gap2 wrap" }, G1 = /* @__PURE__ */ Z({
3217
+ }, G1 = { flex: "~ gap2 wrap" }, W1 = /* @__PURE__ */ Z({
3180
3218
  __name: "About",
3181
3219
  setup(n) {
3182
- const e = Le();
3183
- return (o, t) => (d(), h("div", z1, [
3184
- c("div", B1, [
3220
+ const e = He();
3221
+ return (o, t) => (d(), h("div", B1, [
3222
+ c("div", F1, [
3185
3223
  t[5] || (t[5] = c("div", { "flex-auto": "" }, null, -1)),
3186
- c("div", F1, [
3187
- c("div", Z1, [
3188
- y(j1, { "h-18": "" })
3224
+ c("div", Z1, [
3225
+ c("div", K1, [
3226
+ y(z1, { "h-18": "" })
3189
3227
  ]),
3190
3228
  t[2] || (t[2] = c("div", {
3191
3229
  mb6: "",
@@ -3198,13 +3236,13 @@ const j1 = /* @__PURE__ */ xe(H1, [["render", O1]]), z1 = {
3198
3236
  ], -1))
3199
3237
  ]),
3200
3238
  t[6] || (t[6] = c("div", { "flex-auto": "" }, null, -1)),
3201
- c("div", K1, [
3239
+ c("div", G1, [
3202
3240
  c("div", {
3203
3241
  flex: "~ col auto",
3204
3242
  "min-w-40": "",
3205
3243
  p4: "",
3206
3244
  "theme-card-lime": "",
3207
- onClick: t[0] || (t[0] = (l) => a(e).push("/routes"))
3245
+ onClick: t[0] || (t[0] = (l) => r(e).push("/routes"))
3208
3246
  }, t[3] || (t[3] = [
3209
3247
  c("div", {
3210
3248
  "i-carbon-tree-view-alt": "",
@@ -3217,7 +3255,7 @@ const j1 = /* @__PURE__ */ xe(H1, [["render", O1]]), z1 = {
3217
3255
  "min-w-40": "",
3218
3256
  p4: "",
3219
3257
  "theme-card-lime": "",
3220
- onClick: t[1] || (t[1] = (l) => a(e).push("/timeline"))
3258
+ onClick: t[1] || (t[1] = (l) => r(e).push("/timeline"))
3221
3259
  }, t[4] || (t[4] = [
3222
3260
  c("div", {
3223
3261
  "i-mdi:timeline-clock-outline": "",
@@ -3242,7 +3280,7 @@ const j1 = /* @__PURE__ */ xe(H1, [["render", O1]]), z1 = {
3242
3280
  transition: ""
3243
3281
  }, [
3244
3282
  c("div", { "i-carbon-star": "" }),
3245
- X(" Star on GitHub ")
3283
+ Q(" Star on GitHub ")
3246
3284
  ]),
3247
3285
  c("a", {
3248
3286
  href: "https://router.vuejs.org/",
@@ -3254,47 +3292,47 @@ const j1 = /* @__PURE__ */ xe(H1, [["render", O1]]), z1 = {
3254
3292
  transition: ""
3255
3293
  }, [
3256
3294
  c("div", { "i-carbon-document": "" }),
3257
- X(" View Documentation ")
3295
+ Q(" View Documentation ")
3258
3296
  ])
3259
3297
  ], -1)),
3260
3298
  t[8] || (t[8] = c("div", { "flex-auto": "" }, null, -1))
3261
3299
  ])
3262
3300
  ]));
3263
3301
  }
3264
- }), W1 = { class: "h-full flex flex-col" }, q1 = {
3302
+ }), q1 = { class: "h-full flex flex-col" }, J1 = {
3265
3303
  "h-full": "",
3266
3304
  "select-none": "",
3267
3305
  "overflow-scroll": "",
3268
3306
  p2: "",
3269
3307
  class: "no-scrollbar"
3270
- }, J1 = { class: "pb2" }, Y1 = {
3308
+ }, Y1 = { class: "pb2" }, X1 = {
3271
3309
  "h-full": "",
3272
3310
  "overflow-scroll": "",
3273
3311
  class: "no-scrollbar"
3274
- }, X1 = /* @__PURE__ */ Z({
3312
+ }, Q1 = /* @__PURE__ */ Z({
3275
3313
  __name: "Index",
3276
3314
  setup(n) {
3277
- const { expanded: e } = Ce(), { expanded: o } = Ce("routes-state"), t = ye(), l = V(() => t.value.id), s = S(""), p = S(""), [i, u] = Kt(!0), v = S([]), f = V(() => {
3315
+ const { expanded: e } = _e(), { expanded: o } = _e("routes-state"), t = xe(), l = E(() => t.value.id), s = R(""), p = R(""), [i, a] = Kt(!0), f = R([]), v = E(() => {
3278
3316
  var L, I;
3279
- return (L = v.value) != null && L.length ? w((I = v.value) == null ? void 0 : I[0]) : [];
3280
- }), r = V(() => T(v.value)), g = V(() => r.value.map((L) => L.id)), $ = S({});
3281
- function w(L, I = [], O = []) {
3282
- var Q;
3283
- return I.push(L.id), ((Q = L.children) == null ? void 0 : Q.length) === 0 && O.push([...I]), Array.isArray(L.children) && L.children.forEach((ne) => {
3284
- w(ne, I, O);
3317
+ return (L = f.value) != null && L.length ? k((I = f.value) == null ? void 0 : I[0]) : [];
3318
+ }), u = E(() => $(f.value)), C = E(() => u.value.map((L) => L.id)), T = R({});
3319
+ function k(L, I = [], O = []) {
3320
+ var ee;
3321
+ return I.push(L.id), ((ee = L.children) == null ? void 0 : ee.length) === 0 && O.push([...I]), Array.isArray(L.children) && L.children.forEach((ne) => {
3322
+ k(ne, I, O);
3285
3323
  }), I.pop(), O;
3286
3324
  }
3287
- function C(L, I) {
3325
+ function g(L, I) {
3288
3326
  const O = [];
3289
- return L == null || L.forEach((Q) => {
3290
- O.push(...Q.slice(0, I + 1));
3327
+ return L == null || L.forEach((ee) => {
3328
+ O.push(...ee.slice(0, I + 1));
3291
3329
  }), [...new Set(O)];
3292
3330
  }
3293
- function T(L) {
3294
- const I = [], O = (Q) => {
3295
- Q == null || Q.forEach((ne) => {
3296
- var P;
3297
- I.push(ne), (P = ne.children) != null && P.length && O(ne.children);
3331
+ function $(L) {
3332
+ const I = [], O = (ee) => {
3333
+ ee == null || ee.forEach((ne) => {
3334
+ var A;
3335
+ I.push(ne), (A = ne.children) != null && A.length && O(ne.children);
3298
3336
  });
3299
3337
  };
3300
3338
  return O(L), I;
@@ -3305,100 +3343,100 @@ const j1 = /* @__PURE__ */ xe(H1, [["render", O1]]), z1 = {
3305
3343
  (I = L[O]) != null && I.length || delete L[O];
3306
3344
  return L;
3307
3345
  }
3308
- function R(L) {
3346
+ function V(L) {
3309
3347
  D.value.getInspectorState({ inspectorId: l.value, nodeId: L }).then((I) => {
3310
3348
  const O = oe(I);
3311
- O && ($.value = z(O), o.value = Array.from({ length: Object.keys($.value).length }, (Q, ne) => `${ne}`));
3349
+ O && (T.value = z(O), o.value = Array.from({ length: Object.keys(T.value).length }, (ee, ne) => `${ne}`));
3312
3350
  });
3313
3351
  }
3314
- function k() {
3315
- $.value = {};
3352
+ function b() {
3353
+ T.value = {};
3316
3354
  }
3317
- ee(s, () => {
3318
- k(), R(s.value);
3355
+ te(s, () => {
3356
+ b(), V(s.value);
3319
3357
  });
3320
- const A = async (L = "") => {
3358
+ const P = async (L = "") => {
3321
3359
  await D.value.getInspectorTree({ inspectorId: l.value, filter: L }).then((I) => {
3322
3360
  const O = oe(I);
3323
- v.value = O, !s.value && O.length && (s.value = O[0].id, R(O[0].id), e.value = C(f.value, 1));
3361
+ f.value = O, !s.value && O.length && (s.value = O[0].id, V(O[0].id), e.value = g(v.value, 1));
3324
3362
  });
3325
3363
  };
3326
3364
  Zt(l).toBeTruthy().then(() => {
3327
- A();
3365
+ P();
3328
3366
  });
3329
3367
  function F(L) {
3330
3368
  const I = oe(L);
3331
- I.inspectorId !== l.value || !I.rootNodes.length || (v.value = I.rootNodes, g.value.includes(s.value) || (s.value = I.rootNodes[0].id, e.value = C(f.value, 1), R(I.rootNodes[0].id)));
3369
+ I.inspectorId !== l.value || !I.rootNodes.length || (f.value = I.rootNodes, C.value.includes(s.value) || (s.value = I.rootNodes[0].id, e.value = g(v.value, 1), V(I.rootNodes[0].id)));
3332
3370
  }
3333
3371
  function K(L) {
3334
3372
  const I = oe(L);
3335
3373
  if (I.inspectorId !== l.value)
3336
3374
  return;
3337
3375
  const O = I.state;
3338
- $.value = z(O);
3376
+ T.value = z(O);
3339
3377
  }
3340
- D.functions.on(Y.INSPECTOR_TREE_UPDATED, F), D.functions.on(Y.INSPECTOR_STATE_UPDATED, K), we(() => {
3341
- D.functions.off(Y.INSPECTOR_TREE_UPDATED, F), D.functions.off(Y.INSPECTOR_STATE_UPDATED, K);
3378
+ D.functions.on(X.INSPECTOR_TREE_UPDATED, F), D.functions.on(X.INSPECTOR_STATE_UPDATED, K), ke(() => {
3379
+ D.functions.off(X.INSPECTOR_TREE_UPDATED, F), D.functions.off(X.INSPECTOR_STATE_UPDATED, K);
3342
3380
  });
3343
3381
  function ce(L) {
3344
3382
  const I = L.trim().toLowerCase();
3345
- u(), A(I).then(() => {
3346
- u();
3383
+ a(), P(I).then(() => {
3384
+ a();
3347
3385
  });
3348
3386
  }
3349
3387
  return Gt(p, (L) => {
3350
3388
  ce(L);
3351
- }, { debounce: 300 }), (L, I) => (d(), h("div", W1, [
3352
- y(Ee, {
3389
+ }, { debounce: 300 }), (L, I) => (d(), h("div", q1, [
3390
+ y(Ve, {
3353
3391
  "doc-link": "https://router.vuejs.org/",
3354
3392
  "github-repo-link": "https://github.com/vuejs/router"
3355
3393
  }, {
3356
3394
  default: H(() => [
3357
- y(Ve)
3395
+ y(Ne)
3358
3396
  ]),
3359
3397
  _: 1
3360
3398
  }),
3361
- y(a(Me), { class: "flex-1 overflow-auto" }, {
3399
+ y(r(Le), { class: "flex-1 overflow-auto" }, {
3362
3400
  default: H(() => [
3363
- y(a(pe), {
3401
+ y(r(pe), {
3364
3402
  border: "r base",
3365
3403
  size: "40",
3366
3404
  "h-full": ""
3367
3405
  }, {
3368
3406
  default: H(() => [
3369
- c("div", q1, [
3370
- c("div", J1, [
3371
- y(a(ge), {
3407
+ c("div", J1, [
3408
+ c("div", Y1, [
3409
+ y(r(Ce), {
3372
3410
  modelValue: p.value,
3373
3411
  "onUpdate:modelValue": I[0] || (I[0] = (O) => p.value = O),
3374
3412
  placeholder: "Search routes",
3375
- loading: !a(i),
3413
+ loading: !r(i),
3376
3414
  "loading-debounce-time": 250,
3377
3415
  class: "text-3.5"
3378
3416
  }, null, 8, ["modelValue", "loading"])
3379
3417
  ]),
3380
- y(Ue, {
3418
+ y(Oe, {
3381
3419
  modelValue: s.value,
3382
3420
  "onUpdate:modelValue": I[1] || (I[1] = (O) => s.value = O),
3383
- data: v.value
3421
+ data: f.value
3384
3422
  }, null, 8, ["modelValue", "data"])
3385
3423
  ])
3386
3424
  ]),
3387
3425
  _: 1
3388
3426
  }),
3389
- y(a(pe), { size: "60" }, {
3427
+ y(r(pe), { size: "60" }, {
3390
3428
  default: H(() => [
3391
- c("div", Y1, [
3392
- s.value ? (d(), B(He, {
3429
+ c("div", X1, [
3430
+ s.value ? (d(), B(Ue, {
3393
3431
  key: 0,
3394
3432
  class: "p3",
3395
- data: $.value,
3433
+ data: T.value,
3396
3434
  "node-id": "",
3397
3435
  "inspector-id": "router",
3398
3436
  "expanded-state-id": "routes-state"
3399
- }, null, 8, ["data"])) : (d(), B(Se, { key: 1 }, {
3437
+ }, null, 8, ["data"])) : (d(), B(Te, { key: 1 }, {
3400
3438
  default: H(() => I[2] || (I[2] = [
3401
- X(" No Data ")
3439
+ Q(" No Data ")
3402
3440
  ])),
3403
3441
  _: 1
3404
3442
  }))
@@ -3411,77 +3449,77 @@ const j1 = /* @__PURE__ */ xe(H1, [["render", O1]]), z1 = {
3411
3449
  })
3412
3450
  ]));
3413
3451
  }
3414
- }), Q1 = "org.vuejs.router", es = /* @__PURE__ */ Z({
3452
+ }), es = "org.vuejs.router", ts = /* @__PURE__ */ Z({
3415
3453
  __name: "Index",
3416
3454
  setup(n) {
3417
- const e = ye();
3418
- return (o, t) => (d(), B(ct, {
3419
- "layer-ids": a(e).timelineLayerIds,
3455
+ const e = xe();
3456
+ return (o, t) => (d(), B(dt, {
3457
+ "layer-ids": r(e).timelineLayerIds,
3420
3458
  "doc-link": "https://router.vuejs.org/",
3421
- "plugin-id": Q1,
3459
+ "plugin-id": es,
3422
3460
  "github-repo-link": "https://github.com/vuejs/router"
3423
3461
  }, null, 8, ["layer-ids"]));
3424
3462
  }
3425
- }), ts = {
3463
+ }), ns = {
3426
3464
  "h-full": "",
3427
3465
  "w-full": ""
3428
- }, ms = /* @__PURE__ */ Z({
3466
+ }, hs = /* @__PURE__ */ Z({
3429
3467
  __name: "index",
3430
3468
  props: {
3431
3469
  id: {}
3432
3470
  },
3433
3471
  setup(n) {
3434
- const e = n, o = dt(), t = S(!1), { VirtualRouterView: l, restoreRouter: s } = ot([
3472
+ const e = n, o = pt(), t = R(!1), { VirtualRouterView: l, restoreRouter: s } = lt([
3435
3473
  {
3436
3474
  path: "/routes",
3437
3475
  name: "Routes",
3438
- component: X1,
3476
+ component: Q1,
3439
3477
  icon: "i-carbon-tree-view-alt"
3440
3478
  },
3441
3479
  {
3442
3480
  path: "/timeline",
3443
3481
  name: "Timeline",
3444
- component: es,
3482
+ component: ts,
3445
3483
  icon: "i-mdi:timeline-clock-outline"
3446
3484
  },
3447
3485
  {
3448
3486
  path: "/about",
3449
3487
  name: "About",
3450
- component: G1,
3488
+ component: W1,
3451
3489
  icon: "i-ri-route-line"
3452
3490
  }
3453
3491
  ], {
3454
3492
  defaultRoutePath: "/routes"
3455
3493
  });
3456
3494
  function p() {
3457
- t.value = !0, Pe(() => {
3495
+ t.value = !0, Me(() => {
3458
3496
  D.value.getInspectorInfo(e.id).then((i) => {
3459
3497
  if (!i)
3460
3498
  return;
3461
- const u = {
3499
+ const a = {
3462
3500
  homepage: i == null ? void 0 : i.homepage,
3463
3501
  id: i == null ? void 0 : i.id,
3464
3502
  label: i == null ? void 0 : i.label,
3465
3503
  logo: i == null ? void 0 : i.logo,
3466
- timelineLayerIds: i == null ? void 0 : i.timelineLayers.map((v) => v.id)
3504
+ timelineLayerIds: i == null ? void 0 : i.timelineLayers.map((f) => f.id)
3467
3505
  };
3468
- o.value = u, s(), t.value = !1;
3506
+ o.value = a, s(), t.value = !1;
3469
3507
  });
3470
3508
  });
3471
3509
  }
3472
- return ee(() => e.id, (i) => {
3510
+ return te(() => e.id, (i) => {
3473
3511
  i && p();
3474
- }), (i, u) => (d(), h("div", ts, [
3475
- y(a(l))
3512
+ }), (i, a) => (d(), h("div", ns, [
3513
+ y(r(l))
3476
3514
  ]));
3477
3515
  }
3478
3516
  });
3479
3517
  export {
3480
- ps as Components,
3481
- fs as CustomInspector,
3482
- vs as Pinia,
3483
- ms as Router,
3484
- Pn as SelectiveList,
3485
- ct as Timeline,
3486
- ds as useCustomInspector
3518
+ fs as Components,
3519
+ vs as CustomInspector,
3520
+ ms as Pinia,
3521
+ hs as Router,
3522
+ An as SelectiveList,
3523
+ dt as Timeline,
3524
+ ps as useCustomInspector
3487
3525
  };