@vue/devtools-applet 7.5.4 → 7.5.6

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