@vue/devtools-applet 7.5.4 → 7.5.5

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 U, 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 D, 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)
166
+ r("i", { class: "i-mdi:github cursor-pointer op70 text-base hover:op100" }, null, -1)
167
167
  ]), 8, Nn)) : U("", !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 P = [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 && P.push(
375
+ kt(A, g).then(() => ee(n)).finally(() => $ == null ? void 0 : $())
376
+ ), Promise.race(P);
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 O = null;
383
+ const _ = [new Promise((C) => {
384
+ O = 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) && (O ? O() : Be(() => O == null ? void 0 : O()), 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(() => (O == null || O(), 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 && O(c.value) ? e.clipboard.readText().then((P) => {
580
+ f.value = P;
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(P = ee(t)) {
585
+ h.value && P != null && (i.value && O(d.value) ? await e.clipboard.writeText(P) : g(P), f.value = P, 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(P) {
588
+ const _ = document.createElement("textarea");
589
+ _.value = P ?? "", _.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 P, _, C;
593
+ return (C = (_ = (P = document == null ? void 0 : document.getSelection) == null ? void 0 : P.call(document)) == null ? void 0 : _.toString()) != null ? C : "";
594
594
  }
595
- function j(L) {
596
- return L === "granted" || L === "prompt";
595
+ function O(P) {
596
+ return P === "granted" || P === "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 O, P;
708
+ const _ = (O = g.key) == null ? void 0 : O.toLowerCase(), S = [(P = g.code) == null ? void 0 : P.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, $, O) {
721
+ if (typeof $ != "string")
722
+ return Reflect.get(g, $, O);
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 P = Reflect.get(g, $, O);
730
+ return e ? ee(P) : P;
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(_) : _, O = () => Un(n[e]) ? $(n[e]) : a, P = (_) => {
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 _ = O(), 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) && P(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 O();
770
770
  },
771
- set(A) {
772
- L(A);
771
+ set(_) {
772
+ P(_);
773
773
  }
774
774
  });
775
775
  }
@@ -800,13 +800,13 @@ 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) {
809
+ async function m(A, g = !1) {
810
810
  await D.value.editInspectorState({
811
811
  path: e.data.path || [e.data.key],
812
812
  inspectorId: o.value.inspectorId,
@@ -814,135 +814,135 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
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
821
  }), await D.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
855
  ]) : U("", !0)
856
856
  ], 64)) : U("", !0),
857
- g.value === "boolean" ? (p(), z(d(de), ke({ key: 1 }, f, {
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
886
  ], 64)) : U("", !0)
887
887
  ], 64)) : U("", !0),
888
- !e.disableEdit && C.depth > 0 && C.data.editable ? (p(), z(d(de), ke({ key: 1 }, f, {
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
896
  }, 16, ["class"])) : U("", !0),
897
- x(d(nn), {
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,68 +953,68 @@ 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
  ])
@@ -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: O } = ro(() => g.value), { editingType: P, 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;
1092
+ const x = e.data;
1093
1093
  await D.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: P.value,
1101
+ value: Ue(C.value, l.value.customType)
1102
1102
  }
1103
- }), await D.value.sendInspectorState(w.value.inspectorId), R();
1103
+ }), await D.value.sendInspectorState($.value.inspectorId), S();
1104
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);
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
1109
  }
1110
- async function $() {
1111
- const _ = e.data;
1110
+ async function k() {
1111
+ const x = e.data;
1112
1112
  await D.value.editInspectorState({
1113
- path: [...f.value, E.value.key],
1114
- inspectorId: w.value.inspectorId,
1115
- type: _.stateType,
1116
- nodeId: H.value,
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 D.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
1146
  }, null, 8, ["modelValue", "custom-type", "onCancel"])) : U("", !0),
1147
- u("span", {
1148
- class: ie([c.value, "flex whitespace-nowrap"])
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(O),
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"]
1182
+ [u(J), "Show more"]
1183
1183
  ]) : U("", !0),
1184
- d(E).enable ? (p(), m("div", {
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
1203
  ], 4)) : U("", !0)
1204
1204
  ])) : U("", !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,26 +1248,26 @@ 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"])
@@ -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)) : U("", !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,10 +1354,17 @@ 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 = { class: "absolute right-3 top-12 flex items-center justify-end b-1 border-base rounded-1 b-solid px2 py1" }, Lo = { class: "flex items-center gap-2 px-1" }, Ho = {
1358
+ key: 0,
1359
+ class: "recording recording-btn bg-[#ef4444]"
1360
+ }, jo = {
1361
+ key: 1,
1362
+ class: "recording-btn bg-black op70 dark:bg-white hover:op100"
1363
+ }, Oo = { class: "flex items-center gap1" }, Uo = /* @__PURE__ */ B({
1358
1364
  __name: "index",
1359
1365
  props: {
1360
1366
  layerIds: {},
1367
+ pluginId: {},
1361
1368
  docLink: {},
1362
1369
  githubRepoLink: {},
1363
1370
  headerVisible: { type: Boolean, default: !0 }
@@ -1365,89 +1372,100 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
1365
1372
  setup(n, { expose: e }) {
1366
1373
  const o = n, { expanded: t } = me("timeline-state");
1367
1374
  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,
1375
+ const s = T([]), l = T(/* @__PURE__ */ new Map()), i = T(0), c = Vt(), d = V(() => {
1376
+ var P;
1377
+ return (P = c.timelineLayersState.value) == null ? void 0 : P[o.pluginId];
1378
+ }), h = V(() => s.value[i.value] ?? null), f = V(() => d.value ? "Stop recording" : "Start recording"), a = V(() => {
1379
+ var _;
1380
+ const P = [];
1381
+ for (const C in (_ = h.value) == null ? void 0 : _.data)
1382
+ P.push({
1383
+ key: C,
1384
+ type: C,
1375
1385
  editable: !1,
1376
- value: r.value.data[v]
1386
+ value: h.value.data[C]
1377
1387
  });
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);
1388
+ return P;
1389
+ }), m = V(() => {
1390
+ var C, S, L;
1391
+ const P = (C = h.value) == null ? void 0 : C.groupId, _ = l.value.get(P);
1392
+ if (_) {
1393
+ const K = ((S = _[_.length - 1]) == null ? void 0 : S.time) - (((L = _[0]) == null ? void 0 : L.time) ?? 0);
1384
1394
  return [{
1385
1395
  key: "events",
1386
1396
  type: "events",
1387
1397
  editable: !1,
1388
- value: C.length
1389
- }, L && {
1398
+ value: _.length
1399
+ }, K && {
1390
1400
  key: "duration",
1391
1401
  type: "duration",
1392
1402
  editable: !1,
1393
- value: `${L}ms`
1403
+ value: `${K}ms`
1394
1404
  }].filter(Boolean);
1395
1405
  }
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)
1406
+ }), E = V(() => ({ "Event Info": a.value, ...m.value && { "Group Info": m.value } }));
1407
+ function A(P) {
1408
+ var C;
1409
+ const _ = P.groupId;
1410
+ _ !== void 0 && (l.value.set(_, l.value.get(_) ?? []), (C = l.value.get(_)) == null || C.push(P));
1411
+ }
1412
+ function g(P) {
1413
+ const _ = X(P);
1414
+ if (!_)
1405
1415
  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, {
1416
+ const { layerId: C, event: S } = _;
1417
+ o.layerIds.includes(C) && (s.value.push(S), A(S));
1418
+ }
1419
+ D.functions.on(q.TIMELINE_EVENT_UPDATED, g), be(() => {
1420
+ D.functions.off(q.TIMELINE_EVENT_UPDATED, g);
1421
+ });
1422
+ function $() {
1423
+ s.value = [], l.value.clear();
1424
+ }
1425
+ e({
1426
+ clear: $
1427
+ });
1428
+ function O() {
1429
+ D.value.updateTimelineLayersState({
1430
+ [o.pluginId]: !d.value
1431
+ });
1432
+ }
1433
+ return (P, _) => (p(), v("div", Ro, [
1434
+ P.headerVisible ? (p(), z($e, {
1417
1435
  key: 0,
1418
- "doc-link": y.docLink,
1419
- "github-repo-link": y.githubRepoLink
1436
+ "doc-link": P.docLink,
1437
+ "github-repo-link": P.githubRepoLink
1420
1438
  }, {
1421
- default: M(() => [
1422
- x(Se)
1439
+ default: H(() => [
1440
+ y(Se)
1423
1441
  ]),
1424
1442
  _: 1
1425
1443
  }, 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), {
1444
+ s.value.length ? (p(), v("div", Ao, [
1445
+ y(u(Ae), { class: "h-full" }, {
1446
+ default: H(() => [
1447
+ y(u(ue), {
1430
1448
  border: "r base",
1431
1449
  size: "40",
1432
1450
  "h-full": ""
1433
1451
  }, {
1434
- default: M(() => [
1435
- u("div", Do, [
1436
- x(No, {
1452
+ default: H(() => [
1453
+ r("div", Do, [
1454
+ y(No, {
1437
1455
  modelValue: i.value,
1438
- "onUpdate:modelValue": C[0] || (C[0] = (v) => i.value = v),
1456
+ "onUpdate:modelValue": _[0] || (_[0] = (C) => i.value = C),
1439
1457
  data: s.value
1440
1458
  }, null, 8, ["modelValue", "data"])
1441
1459
  ])
1442
1460
  ]),
1443
1461
  _: 1
1444
1462
  }),
1445
- x(d(ue), { size: "60" }, {
1446
- default: M(() => [
1447
- u("div", Po, [
1448
- x(Pe, {
1463
+ y(u(ue), { size: "60" }, {
1464
+ default: H(() => [
1465
+ r("div", Po, [
1466
+ y(Pe, {
1449
1467
  class: "p3",
1450
- data: f.value,
1468
+ data: E.value,
1451
1469
  "node-id": "",
1452
1470
  "inspector-id": "",
1453
1471
  "disable-edit": !0,
@@ -1464,15 +1482,67 @@ const uo = { class: "flex pl5px" }, co = { class: "w160px py5px" }, po = /* @__P
1464
1482
  key: 2,
1465
1483
  class: "flex-1"
1466
1484
  }, {
1467
- default: M(() => C[1] || (C[1] = [
1485
+ default: H(() => _[1] || (_[1] = [
1468
1486
  ne(" No events ")
1469
1487
  ])),
1470
1488
  _: 1
1471
- }))
1489
+ })),
1490
+ r("div", Mo, [
1491
+ r("div", Lo, [
1492
+ W((p(), v("div", {
1493
+ class: "flex items-center gap1",
1494
+ onClick: O
1495
+ }, [
1496
+ d.value ? (p(), v("span", Ho)) : (p(), v("span", jo))
1497
+ ])), [
1498
+ [
1499
+ u(J),
1500
+ { content: f.value },
1501
+ void 0,
1502
+ { "bottom-end": !0 }
1503
+ ]
1504
+ ]),
1505
+ W((p(), v("div", {
1506
+ class: "flex items-center gap1",
1507
+ onClick: $
1508
+ }, [
1509
+ y(u(Fe), {
1510
+ name: "baseline-delete",
1511
+ "cursor-pointer": "",
1512
+ "text-xl": "",
1513
+ op70: "",
1514
+ "hover:op100": ""
1515
+ })
1516
+ ])), [
1517
+ [
1518
+ u(J),
1519
+ { content: "Clear all timelines" },
1520
+ void 0,
1521
+ { "bottom-end": !0 }
1522
+ ]
1523
+ ]),
1524
+ W((p(), v("div", Oo, [
1525
+ y(u(Fe), {
1526
+ name: "baseline-tips-and-updates",
1527
+ "cursor-pointer": "",
1528
+ "text-xl": "",
1529
+ op70: "",
1530
+ "hover:op100": ""
1531
+ })
1532
+ ])), [
1533
+ [
1534
+ u(J),
1535
+ { 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 },
1536
+ void 0,
1537
+ { "bottom-end": !0 }
1538
+ ]
1539
+ ])
1540
+ ])
1541
+ ])
1472
1542
  ]));
1473
1543
  }
1474
- });
1475
- function W1() {
1544
+ }), pt = /* @__PURE__ */ Ce(Uo, [["__scopeId", "data-v-27e6deca"]]);
1545
+ function ns() {
1476
1546
  const n = T([]), e = T([]);
1477
1547
  function o(s) {
1478
1548
  e.value = s, s.length < n.value.length && (n.value = []), e.value.forEach((l) => {
@@ -1484,27 +1554,27 @@ function W1() {
1484
1554
  e.value = s, e.value.forEach((l) => {
1485
1555
  t(l);
1486
1556
  });
1487
- }), D.functions.on(W.INSPECTOR_UPDATED, o);
1557
+ }), D.functions.on(q.INSPECTOR_UPDATED, o);
1488
1558
  });
1489
1559
  function t(s) {
1490
1560
  n.value.some((l) => l.id === s.id) || n.value.push(s);
1491
1561
  }
1492
- return ye(() => {
1493
- D.functions.off(W.INSPECTOR_UPDATED, o);
1562
+ return be(() => {
1563
+ D.functions.off(q.INSPECTOR_UPDATED, o);
1494
1564
  }), {
1495
1565
  registeredInspector: n,
1496
1566
  register: t
1497
1567
  };
1498
1568
  }
1499
- const Ut = Symbol("SelectedSymbolKey");
1500
- function Mo() {
1569
+ const zt = Symbol("SelectedSymbolKey");
1570
+ function zo() {
1501
1571
  const n = T("");
1502
- return ge(Ut, n), {
1572
+ return ge(zt, n), {
1503
1573
  selected: n
1504
1574
  };
1505
1575
  }
1506
- function Ho() {
1507
- const n = ve(Ut, T(""));
1576
+ function Bo() {
1577
+ const n = ve(zt, T(""));
1508
1578
  function e(o) {
1509
1579
  n.value = o;
1510
1580
  }
@@ -1513,22 +1583,22 @@ function Ho() {
1513
1583
  select: e
1514
1584
  };
1515
1585
  }
1516
- const Lo = ["onClick", "onDblclick"], Oo = {
1586
+ const Zo = ["onClick", "onDblclick"], Fo = {
1517
1587
  key: 1,
1518
1588
  pl5: ""
1519
- }, jo = {
1589
+ }, Go = {
1520
1590
  "font-state-field": "",
1521
1591
  "text-3.5": ""
1522
- }, Uo = {
1592
+ }, Ko = {
1523
1593
  key: 0,
1524
1594
  class: "text-gray-400 dark:text-gray-600 group-hover:text-white group-hover:op50 [.active_&]:op50 [.active_&]:text-white!"
1525
- }, zo = {
1595
+ }, Wo = {
1526
1596
  "group-hover:text-white": "",
1527
1597
  class: "ws-nowrap [.active_&]:text-white"
1528
- }, Bo = {
1598
+ }, qo = {
1529
1599
  key: 1,
1530
1600
  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({
1601
+ }, Jo = { key: 0 }, Me = /* @__PURE__ */ B({
1532
1602
  __name: "TreeViewer",
1533
1603
  props: /* @__PURE__ */ ze({
1534
1604
  data: {},
@@ -1540,49 +1610,49 @@ const Lo = ["onClick", "onDblclick"], Oo = {
1540
1610
  }),
1541
1611
  emits: ["update:modelValue"],
1542
1612
  setup(n) {
1543
- const e = Qe(n, "modelValue"), { expanded: o, toggleExpanded: t } = it();
1544
- Ho();
1613
+ const e = et(n, "modelValue"), { expanded: o, toggleExpanded: t } = rt();
1614
+ Bo();
1545
1615
  function s(i) {
1546
1616
  return "name" in i && (i == null ? void 0 : i.name) || "label" in i && i.label;
1547
1617
  }
1548
1618
  function l(i) {
1549
1619
  e.value = i;
1550
1620
  }
1551
- return (i, r) => (p(!0), m(te, null, ae(i.data, (c, g) => {
1621
+ return (i, c) => (p(!0), v(te, null, ae(i.data, (d, h) => {
1552
1622
  var f, a;
1553
- return p(), m("div", {
1554
- key: g,
1623
+ return p(), v("div", {
1624
+ key: h,
1555
1625
  class: ie({
1556
1626
  "min-w-max": i.depth === 0
1557
1627
  })
1558
1628
  }, [
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 }]),
1629
+ r("div", {
1630
+ 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
1631
  style: Ie({ paddingLeft: `${15 * i.depth + 4}px` }),
1562
- onClick: (h) => l(c.id),
1563
- onDblclick: (h) => d(t)(c.id)
1632
+ onClick: (m) => l(d.id),
1633
+ onDblclick: (m) => u(t)(d.id)
1564
1634
  }, [
1565
- (f = c == null ? void 0 : c.children) != null && f.length ? (p(), z(st, {
1635
+ (f = d == null ? void 0 : d.children) != null && f.length ? (p(), z(at, {
1566
1636
  key: 0,
1567
- value: d(o).includes(c.id),
1637
+ value: u(o).includes(d.id),
1568
1638
  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)
1639
+ onClick: fe((m) => u(t)(d.id), ["stop"])
1640
+ }, null, 8, ["value", "onClick"])) : (p(), v("span", Fo)),
1641
+ r("span", Go, [
1642
+ i.withTag ? (p(), v("span", Ko, "<")) : U("", !0),
1643
+ r("span", Wo, le(s(d)), 1),
1644
+ i.withTag ? (p(), v("span", qo, ">")) : U("", !0)
1575
1645
  ]),
1576
- (p(!0), m(te, null, ae(c.tags, (h, y) => (p(), z(Dt, {
1577
- key: y,
1578
- tag: h
1646
+ (p(!0), v(te, null, ae(d.tags, (m, E) => (p(), z(Pt, {
1647
+ key: E,
1648
+ tag: m
1579
1649
  }, 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, {
1650
+ ], 46, Zo),
1651
+ (a = d == null ? void 0 : d.children) != null && a.length && u(o).includes(d.id) ? (p(), v("div", Jo, [
1652
+ y(Me, {
1583
1653
  modelValue: e.value,
1584
- "onUpdate:modelValue": r[0] || (r[0] = (h) => e.value = h),
1585
- data: c == null ? void 0 : c.children,
1654
+ "onUpdate:modelValue": c[0] || (c[0] = (m) => e.value = m),
1655
+ data: d == null ? void 0 : d.children,
1586
1656
  depth: i.depth + 1,
1587
1657
  "with-tag": i.withTag
1588
1658
  }, null, 8, ["modelValue", "data", "depth", "with-tag"])
@@ -1590,7 +1660,7 @@ const Lo = ["onClick", "onDblclick"], Oo = {
1590
1660
  ], 2);
1591
1661
  }), 128));
1592
1662
  }
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({
1663
+ }), 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
1664
  __name: "RenderCode",
1595
1665
  props: {
1596
1666
  code: {}
@@ -1601,278 +1671,278 @@ const Lo = ["onClick", "onDblclick"], Oo = {
1601
1671
  function t() {
1602
1672
  o("close");
1603
1673
  }
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", {
1674
+ return (s, l) => (p(), v("div", Yo, [
1675
+ r("div", { class: "h-12 w-full flex items-center justify-between p-2" }, [
1676
+ l[0] || (l[0] = r("span", { class: "font-500" }, "Render Code", -1)),
1677
+ r("i", {
1608
1678
  class: "i-carbon-close cursor-pointer hover:op80",
1609
1679
  onClick: t
1610
1680
  })
1611
1681
  ]),
1612
- u("div", Go, [
1613
- x(d(on), {
1682
+ r("div", Xo, [
1683
+ y(u(ln), {
1614
1684
  code: s.code,
1615
1685
  lang: "javascript"
1616
1686
  }, null, 8, ["code"])
1617
1687
  ])
1618
1688
  ]));
1619
1689
  }
1620
- }), Wo = { class: "h-full w-full" }, qo = { class: "no-scrollbar h-full flex select-none gap-2 overflow-scroll" }, Jo = {
1690
+ }), el = { class: "h-full w-full" }, tl = { class: "no-scrollbar h-full flex select-none gap-2 overflow-scroll" }, nl = {
1621
1691
  key: 0,
1622
1692
  class: "h-full flex flex-col p2"
1623
- }, Yo = { class: "flex py2" }, Xo = {
1693
+ }, ol = { class: "flex py2" }, ll = {
1624
1694
  xmlns: "http://www.w3.org/2000/svg",
1625
1695
  style: { height: "1.1em", width: "1.1em" },
1626
1696
  class: "op-80 hover:op-100",
1627
1697
  viewBox: "0 0 24 24"
1628
- }, Qo = { class: "h-full flex flex-col p2" }, el = { class: "flex py2" }, tl = {
1698
+ }, sl = { class: "h-full flex flex-col p2" }, al = { class: "flex py2" }, il = {
1629
1699
  key: 0,
1630
1700
  class: "font-state-field flex items-center px-1 text-3.5"
1631
- }, nl = {
1701
+ }, rl = {
1632
1702
  "group-hover:text-white": "",
1633
1703
  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 = {
1704
+ }, 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
1705
  xmlns: "http://www.w3.org/2000/svg",
1636
1706
  style: { height: "2em", width: "2em", opacity: "0.5", color: "#00dc82" },
1637
1707
  class: "animate-fade",
1638
1708
  viewBox: "0 0 24 24"
1639
- }, il = { class: "flex items-center justify-center" }, Ve = "components", rl = /* @__PURE__ */ B({
1709
+ }, fl = { class: "flex items-center justify-center" }, Ve = "components", vl = /* @__PURE__ */ B({
1640
1710
  __name: "index",
1641
1711
  emits: ["openInEditor", "onInspectComponentStart", "onInspectComponentEnd"],
1642
1712
  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 = []) {
1713
+ 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);
1714
+ function g(I, b = [], j = []) {
1645
1715
  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;
1716
+ 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) => {
1717
+ g(Y, b, j);
1718
+ }), b.pop(), j;
1649
1719
  }
1650
- function w(S) {
1651
- const b = [], O = (G) => {
1652
- G == null || G.forEach((q) => {
1720
+ function $(I) {
1721
+ const b = [], j = (G) => {
1722
+ G == null || G.forEach((Y) => {
1653
1723
  var we;
1654
- b.push(q), (we = q.children) != null && we.length && O(q.children);
1724
+ b.push(Y), (we = Y.children) != null && we.length && j(Y.children);
1655
1725
  });
1656
1726
  };
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);
1727
+ return j(I), b;
1728
+ }
1729
+ function O(I, b) {
1730
+ const j = [];
1731
+ return I == null || I.forEach((G) => {
1732
+ j.push(...G.slice(0, b + 1));
1733
+ }), [...new Set(j)];
1734
+ }
1735
+ function P(I, b) {
1736
+ const j = [];
1737
+ return I.forEach((G) => {
1738
+ const Y = G.indexOf(b);
1739
+ Y !== -1 && j.push(...G.slice(0, Y + 1));
1740
+ }), [...new Set(j)];
1741
+ }
1742
+ const _ = T([]), C = V(() => {
1743
+ var I, b;
1744
+ return (I = _.value) != null && I.length ? g((b = _.value) == null ? void 0 : b[0]) : [];
1745
+ }), S = V(() => $(_.value)), L = V(() => S.value.map((I) => I.id)), K = T({}), Z = T(""), N = V(() => {
1746
+ const I = [], b = (j) => {
1747
+ j.forEach((G) => {
1748
+ var Y;
1749
+ G.id === Z.value && I.push(G), (Y = G.children) != null && Y.length && b(G.children);
1680
1750
  });
1681
1751
  };
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 = {};
1752
+ return b(_.value), I[0];
1753
+ }), M = V(() => {
1754
+ var I;
1755
+ return ((I = N.value) == null ? void 0 : I.file) ?? "";
1756
+ }), w = V(() => {
1757
+ const I = {};
1688
1758
  for (const b in K.value) {
1689
1759
  const G = K.value[b].filter((we) => {
1690
1760
  try {
1691
1761
  return bn({
1692
1762
  [we.key]: we.value
1693
- }, c.value);
1694
- } catch (qt) {
1763
+ }, d.value);
1764
+ } catch (Jt) {
1695
1765
  return {
1696
- [we.key]: qt
1766
+ [we.key]: Jt
1697
1767
  };
1698
1768
  }
1699
- }), q = _n(Object.values(xn(Vt(G), "stateType")));
1700
- G.length && (S[b] = q);
1769
+ }), Y = _n(Object.values(xn(Nt(G), "stateType")));
1770
+ G.length && (I[b] = Y);
1701
1771
  }
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;
1772
+ return I;
1773
+ }), { expanded: k } = me(), { expanded: x } = me("component-state");
1774
+ zo();
1775
+ async function R(I = "") {
1776
+ return D.value.getInspectorTree({ inspectorId: Ve, filter: I }).then((b) => {
1777
+ var G, Y;
1778
+ const j = X(b);
1779
+ _.value = j, Z.value = (Y = (G = _.value) == null ? void 0 : G[0]) == null ? void 0 : Y.id, k.value = O(C.value, 1), a.value = !0;
1710
1780
  });
1711
1781
  }
1712
- function F(S) {
1713
- if (!S || !(S != null && S.state))
1782
+ function F(I) {
1783
+ if (!I || !(I != null && I.state))
1714
1784
  return {};
1715
1785
  const b = {};
1716
- return S.state.forEach((O) => {
1717
- b[O.type] || (b[O.type] = []), b[O.type].push(O);
1786
+ return I.state.forEach((j) => {
1787
+ b[j.type] || (b[j.type] = []), b[j.type].push(j);
1718
1788
  }), b;
1719
1789
  }
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}`));
1790
+ function se(I) {
1791
+ D.value.getInspectorState({ inspectorId: Ve, nodeId: I }).then((b) => {
1792
+ const j = X(b);
1793
+ j && (K.value = F(j), x.value = Array.from({ length: Object.keys(K.value).length }, (G, Y) => `${Y}`));
1724
1794
  });
1725
1795
  }
1726
- X(Z, (S) => {
1727
- se(S), C.value && je();
1796
+ Q(Z, (I) => {
1797
+ se(I), A.value && Oe();
1728
1798
  });
1729
- function re(S) {
1730
- const b = Y(S);
1799
+ function re(I) {
1800
+ const b = X(I);
1731
1801
  b.inspectorId !== Ve || b.nodeId !== Z.value || (K.value = F({ state: b.state.state }));
1732
1802
  }
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(() => {
1803
+ D.functions.on(q.INSPECTOR_STATE_UPDATED, re), R();
1804
+ function ce(I) {
1805
+ const b = I.trim().toLowerCase();
1806
+ f(), R(b).then(() => {
1737
1807
  f();
1738
1808
  });
1739
1809
  }
1740
- Qn(r, (S) => {
1741
- ce(S);
1810
+ Qn(c, (I) => {
1811
+ ce(I);
1742
1812
  }, { 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)));
1813
+ function _e(I) {
1814
+ var j, G;
1815
+ const b = X(I);
1816
+ 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 = O(C.value, 1)));
1747
1817
  }
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);
1818
+ D.functions.on(q.INSPECTOR_TREE_UPDATED, _e), be(() => {
1819
+ D.functions.off(q.INSPECTOR_STATE_UPDATED, re), D.functions.off(q.INSPECTOR_TREE_UPDATED, _e);
1750
1820
  });
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();
1821
+ function xe() {
1822
+ m.value = !0, o("onInspectComponentStart"), D.value.inspectComponentInspector().then((I) => {
1823
+ const b = JSON.parse(I);
1824
+ Z.value = b.id, k.value.includes(b.id) || k.value.push(b.id), k.value = [.../* @__PURE__ */ new Set([...k.value, ...P(C.value, b.id)])], Gt();
1755
1825
  }).finally(() => {
1756
- h.value = !1, o("onInspectComponentEnd");
1826
+ m.value = !1, o("onInspectComponentEnd");
1757
1827
  });
1758
1828
  }
1759
- function He() {
1760
- h.value = !1, D.value.cancelInspectComponentInspector();
1761
- }
1762
1829
  function Le() {
1830
+ m.value = !1, D.value.cancelInspectComponentInspector();
1831
+ }
1832
+ function He() {
1763
1833
  D.value.scrollToComponent(Z.value);
1764
1834
  }
1765
- function Oe() {
1835
+ function je() {
1766
1836
  D.value.inspectDOM(Z.value).then(() => {
1767
1837
  chrome.devtools.inspectedWindow.eval("inspect(window.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__)");
1768
1838
  });
1769
1839
  }
1770
- function je() {
1771
- D.value.getComponentRenderCode(Z.value).then((S) => {
1772
- y.value = S, C.value = !0;
1840
+ function Oe() {
1841
+ D.value.getComponentRenderCode(Z.value).then((I) => {
1842
+ E.value = I, A.value = !0;
1773
1843
  });
1774
1844
  }
1775
- function We() {
1776
- o("openInEditor", P.value);
1845
+ function qe() {
1846
+ o("openInEditor", M.value);
1777
1847
  }
1778
1848
  const Ee = T();
1779
- function Ft() {
1849
+ function Gt() {
1780
1850
  setTimeout(() => {
1781
1851
  var b;
1782
- const S = (b = Ee.value) == null ? void 0 : b.querySelector(".active");
1783
- S == null || S.scrollIntoView({ behavior: "smooth", block: "center" });
1852
+ const I = (b = Ee.value) == null ? void 0 : b.querySelector(".active");
1853
+ I == null || I.scrollIntoView({ behavior: "smooth", block: "center" });
1784
1854
  }, 300);
1785
1855
  }
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;
1856
+ function Kt() {
1857
+ E.value = "", A.value = !1;
1858
+ }
1859
+ const Je = Vt(), ft = V(() => Je.appRecords.value.map((I) => ({
1860
+ label: I.name + (I.version ? ` (${I.version})` : ""),
1861
+ value: I.id
1862
+ }))), Wt = V(() => ft.value.map((I) => ({
1863
+ label: I.label,
1864
+ id: I.value
1865
+ }))), Ye = T(Je.activeAppRecordId.value);
1866
+ ot(() => {
1867
+ Ye.value = Je.activeAppRecordId.value;
1798
1868
  });
1799
- function Wt(S) {
1800
- D.value.toggleApp(S).then(() => {
1801
- Z.value = "", N();
1869
+ function qt(I) {
1870
+ D.value.toggleApp(I).then(() => {
1871
+ Z.value = "", R();
1802
1872
  });
1803
1873
  }
1804
- return (S, b) => (p(), m("div", Wo, [
1805
- x(d(Ae), {
1874
+ return (I, b) => (p(), v("div", el, [
1875
+ y(u(Ae), {
1806
1876
  ref_key: "splitpanesRef",
1807
1877
  ref: t,
1808
1878
  class: "flex-1 overflow-auto",
1809
1879
  horizontal: i.value,
1810
- onReady: b[4] || (b[4] = (O) => s.value = !0)
1880
+ onReady: b[4] || (b[4] = (j) => s.value = !0)
1811
1881
  }, {
1812
- default: M(() => [
1813
- pt.value.length > 1 ? (p(), z(d(ue), {
1882
+ default: H(() => [
1883
+ ft.value.length > 1 ? (p(), z(u(ue), {
1814
1884
  key: 0,
1815
1885
  border: "base h-full",
1816
1886
  size: "20"
1817
1887
  }, {
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,
1888
+ default: H(() => [
1889
+ r("div", tl, [
1890
+ y(Sn, {
1891
+ modelValue: Ye.value,
1892
+ "onUpdate:modelValue": b[0] || (b[0] = (j) => Ye.value = j),
1893
+ data: Wt.value,
1824
1894
  class: "w-full",
1825
- onSelect: Wt
1895
+ onSelect: qt
1826
1896
  }, null, 8, ["modelValue", "data"])
1827
1897
  ])
1828
1898
  ]),
1829
1899
  _: 1
1830
1900
  })) : U("", !0),
1831
- x(d(ue), {
1901
+ y(u(ue), {
1832
1902
  border: "base",
1833
1903
  "h-full": ""
1834
1904
  }, {
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),
1905
+ default: H(() => [
1906
+ a.value ? (p(), v("div", nl, [
1907
+ r("div", ol, [
1908
+ y(u(Ze), {
1909
+ modelValue: c.value,
1910
+ "onUpdate:modelValue": b[1] || (b[1] = (j) => c.value = j),
1841
1911
  "loading-debounce-time": 250,
1842
- loading: !d(g),
1912
+ loading: !u(h),
1843
1913
  placeholder: "Find components...",
1844
1914
  class: "flex-1 text-3.5"
1845
1915
  }, null, 8, ["modelValue", "loading"]),
1846
- d(hn) ? U("", !0) : J((p(), m("button", {
1916
+ u(hn) ? U("", !0) : W((p(), v("button", {
1847
1917
  key: 0,
1848
1918
  "px-1": "",
1849
1919
  class: "hover:color-#00dc82",
1850
- onClick: _e
1920
+ onClick: xe
1851
1921
  }, [
1852
- (p(), m("svg", Xo, b[6] || (b[6] = [
1853
- u("path", {
1922
+ (p(), v("svg", ll, b[6] || (b[6] = [
1923
+ r("path", {
1854
1924
  fill: "currentColor",
1855
1925
  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
1926
  }, null, -1)
1857
1927
  ])))
1858
1928
  ])), [
1859
1929
  [
1860
- d(Q),
1930
+ u(J),
1861
1931
  "Select component in the page",
1862
1932
  void 0,
1863
1933
  { bottom: !0 }
1864
1934
  ]
1865
1935
  ])
1866
1936
  ]),
1867
- u("div", {
1937
+ r("div", {
1868
1938
  ref_key: "componentTreeContainer",
1869
1939
  ref: Ee,
1870
1940
  class: "no-scrollbar flex-1 select-none overflow-scroll"
1871
1941
  }, [
1872
- x(Me, {
1942
+ y(Me, {
1873
1943
  modelValue: Z.value,
1874
- "onUpdate:modelValue": b[2] || (b[2] = (O) => Z.value = O),
1875
- data: A.value,
1944
+ "onUpdate:modelValue": b[2] || (b[2] = (j) => Z.value = j),
1945
+ data: _.value,
1876
1946
  "with-tag": !0
1877
1947
  }, null, 8, ["modelValue", "data"])
1878
1948
  ], 512)
@@ -1880,69 +1950,69 @@ const Lo = ["onClick", "onDblclick"], Oo = {
1880
1950
  ]),
1881
1951
  _: 1
1882
1952
  }),
1883
- x(d(ue), {
1953
+ y(u(ue), {
1884
1954
  relative: "",
1885
1955
  "h-full": ""
1886
1956
  }, {
1887
- default: M(() => {
1888
- var O;
1957
+ default: H(() => {
1958
+ var j;
1889
1959
  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))
1960
+ r("div", sl, [
1961
+ r("div", al, [
1962
+ (j = N.value) != null && j.name ? (p(), v("span", il, [
1963
+ b[7] || (b[7] = r("span", { class: "text-gray-400 dark:text-gray-600" }, "<", -1)),
1964
+ r("span", rl, le(N.value.name), 1),
1965
+ b[8] || (b[8] = r("span", { class: "text-gray-400 dark:text-gray-600" }, ">", -1))
1896
1966
  ])) : U("", !0),
1897
- x(d(Ze), {
1898
- modelValue: c.value,
1899
- "onUpdate:modelValue": b[3] || (b[3] = (G) => c.value = G),
1967
+ y(u(Ze), {
1968
+ modelValue: d.value,
1969
+ "onUpdate:modelValue": b[3] || (b[3] = (G) => d.value = G),
1900
1970
  "loading-debounce-time": 250,
1901
1971
  placeholder: "Filter State...",
1902
1972
  class: "flex-1 text-3.5"
1903
1973
  }, null, 8, ["modelValue"]),
1904
- u("div", ol, [
1905
- J(u("i", {
1974
+ r("div", ul, [
1975
+ W(r("i", {
1906
1976
  class: "i-material-symbols-light:eye-tracking-outline h-4 w-4 cursor-pointer hover:op-70",
1907
- onClick: Le
1977
+ onClick: He
1908
1978
  }, null, 512), [
1909
1979
  [
1910
- d(Q),
1980
+ u(J),
1911
1981
  "Scroll to component",
1912
1982
  void 0,
1913
1983
  { bottom: !0 }
1914
1984
  ]
1915
1985
  ]),
1916
- J(u("i", {
1986
+ W(r("i", {
1917
1987
  class: "i-material-symbols-light:code h-5 w-5 cursor-pointer hover:op-70",
1918
- onClick: je
1988
+ onClick: Oe
1919
1989
  }, null, 512), [
1920
1990
  [
1921
- d(Q),
1991
+ u(J),
1922
1992
  "Show render code",
1923
1993
  void 0,
1924
1994
  { bottom: !0 }
1925
1995
  ]
1926
1996
  ]),
1927
- d(yt) ? J((p(), m("i", {
1997
+ u(yt) ? W((p(), v("i", {
1928
1998
  key: 0,
1929
1999
  class: "i-material-symbols-light:menu-open h-5 w-5 cursor-pointer hover:op-70",
1930
- onClick: Oe
2000
+ onClick: je
1931
2001
  }, null, 512)), [
1932
2002
  [
1933
- d(Q),
2003
+ u(J),
1934
2004
  "Inspect DOM",
1935
2005
  void 0,
1936
2006
  { bottom: !0 }
1937
2007
  ]
1938
2008
  ]) : U("", !0),
1939
- P.value ? J((p(), m("i", {
2009
+ M.value ? W((p(), v("i", {
1940
2010
  key: 1,
1941
2011
  class: "i-carbon-launch h-4 w-4 cursor-pointer hover:op-70",
1942
- onClick: We
2012
+ onClick: qe
1943
2013
  }, null, 512)), [
1944
2014
  [
1945
- d(Q),
2015
+ u(J),
1946
2016
  "Open in Editor",
1947
2017
  void 0,
1948
2018
  { bottom: !0 }
@@ -1950,18 +2020,18 @@ const Lo = ["onClick", "onDblclick"], Oo = {
1950
2020
  ]) : U("", !0)
1951
2021
  ])
1952
2022
  ]),
1953
- x(Pe, {
2023
+ y(Pe, {
1954
2024
  class: "no-scrollbar flex-1 select-none overflow-scroll",
1955
- data: k.value,
2025
+ data: w.value,
1956
2026
  "node-id": Z.value,
1957
2027
  "inspector-id": Ve,
1958
2028
  "expanded-state-id": "component-state"
1959
2029
  }, null, 8, ["data", "node-id"])
1960
2030
  ]),
1961
- C.value && y.value ? (p(), z(Ko, {
2031
+ A.value && E.value ? (p(), z(Qo, {
1962
2032
  key: 0,
1963
- code: y.value,
1964
- onClose: Gt
2033
+ code: E.value,
2034
+ onClose: Kt
1965
2035
  }, null, 8, ["code"])) : U("", !0)
1966
2036
  ];
1967
2037
  }),
@@ -1970,71 +2040,71 @@ const Lo = ["onClick", "onDblclick"], Oo = {
1970
2040
  ]),
1971
2041
  _: 1
1972
2042
  }, 8, ["horizontal"]),
1973
- d(yt) ? (p(), z(d(ln), {
2043
+ u(yt) ? (p(), z(u(sn), {
1974
2044
  key: 0,
1975
- modelValue: h.value,
1976
- "onUpdate:modelValue": b[5] || (b[5] = (O) => h.value = O),
2045
+ modelValue: m.value,
2046
+ "onUpdate:modelValue": b[5] || (b[5] = (j) => m.value = j),
1977
2047
  title: "",
1978
2048
  height: "12rem",
1979
2049
  closable: !1
1980
2050
  }, {
1981
- footer: M(() => [
1982
- u("div", il, [
1983
- x(d(de), { onClick: He }, {
1984
- default: M(() => b[11] || (b[11] = [
2051
+ footer: H(() => [
2052
+ r("div", fl, [
2053
+ y(u(de), { onClick: Le }, {
2054
+ default: H(() => b[11] || (b[11] = [
1985
2055
  ne(" Cancel ")
1986
2056
  ])),
1987
2057
  _: 1
1988
2058
  })
1989
2059
  ])
1990
2060
  ]),
1991
- default: M(() => [
1992
- u("div", ll, [
1993
- u("span", sl, [
1994
- (p(), m("svg", al, b[9] || (b[9] = [
1995
- u("g", {
2061
+ default: H(() => [
2062
+ r("div", cl, [
2063
+ r("span", dl, [
2064
+ (p(), v("svg", pl, b[9] || (b[9] = [
2065
+ r("g", {
1996
2066
  fill: "none",
1997
2067
  stroke: "currentColor",
1998
2068
  "stroke-linecap": "round",
1999
2069
  "stroke-linejoin": "round",
2000
2070
  "stroke-width": "2"
2001
2071
  }, [
2002
- u("circle", {
2072
+ r("circle", {
2003
2073
  cx: "12",
2004
2074
  cy: "12",
2005
2075
  r: ".5",
2006
2076
  fill: "currentColor"
2007
2077
  }),
2008
- u("path", { d: "M5 12a7 7 0 1 0 14 0a7 7 0 1 0-14 0m7-9v2m-9 7h2m7 7v2m7-9h2" })
2078
+ r("path", { d: "M5 12a7 7 0 1 0 14 0a7 7 0 1 0-14 0m7-9v2m-9 7h2m7 7v2m7-9h2" })
2009
2079
  ], -1)
2010
2080
  ])))
2011
2081
  ]),
2012
- b[10] || (b[10] = u("p", null, " Click on a component on the page to select it ", -1))
2082
+ b[10] || (b[10] = r("p", null, " Click on a component on the page to select it ", -1))
2013
2083
  ])
2014
2084
  ]),
2015
2085
  _: 1
2016
2086
  }, 8, ["modelValue"])) : U("", !0)
2017
2087
  ]));
2018
2088
  }
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", {
2089
+ }), os = /* @__PURE__ */ Ce(vl, [["__scopeId", "data-v-38589395"]]), ml = {}, hl = { class: "h-screen w-screen $ui-fcc flex-col" };
2090
+ function gl(n, e) {
2091
+ return p(), v("div", hl, [
2092
+ e[0] || (e[0] = r("div", { class: "outer" }, [
2093
+ r("div", { class: "inner" }, [
2094
+ r("i", {
2025
2095
  class: "i-logos-vue inline-block h8! w8!",
2026
2096
  alt: "Vue logo"
2027
2097
  })
2028
2098
  ])
2029
2099
  ], -1)),
2030
- et(n.$slots, "default", {}, void 0, !0)
2100
+ tt(n.$slots, "default", {}, void 0, !0)
2031
2101
  ]);
2032
2102
  }
2033
- const pl = /* @__PURE__ */ be(ul, [["render", dl], ["__scopeId", "data-v-b8018f07"]]), zt = Symbol.for("VueDevToolsCustomInspectorStateSymbol");
2103
+ const Cl = /* @__PURE__ */ Ce(ml, [["render", gl], ["__scopeId", "data-v-b8018f07"]]), Bt = Symbol.for("VueDevToolsCustomInspectorStateSymbol");
2034
2104
  function Te() {
2035
- return ve(zt);
2105
+ return ve(Bt);
2036
2106
  }
2037
- function Bt() {
2107
+ function Zt() {
2038
2108
  const n = T({
2039
2109
  homepage: "",
2040
2110
  id: "",
@@ -2042,59 +2112,59 @@ function Bt() {
2042
2112
  logo: "",
2043
2113
  timelineLayerIds: []
2044
2114
  });
2045
- return ge(zt, n), n;
2115
+ return ge(Bt, n), n;
2046
2116
  }
2047
- const fl = {}, vl = {
2117
+ const _l = {}, xl = {
2048
2118
  width: "175",
2049
2119
  height: "34",
2050
2120
  viewBox: "0 0 175 34",
2051
2121
  fill: "none",
2052
2122
  xmlns: "http://www.w3.org/2000/svg"
2053
2123
  };
2054
- function ml(n, e) {
2055
- return p(), m("svg", vl, e[0] || (e[0] = [
2056
- u("path", {
2124
+ function yl(n, e) {
2125
+ return p(), v("svg", xl, e[0] || (e[0] = [
2126
+ r("path", {
2057
2127
  fill: "currentColor",
2058
2128
  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
2129
  }, null, -1)
2060
2130
  ]));
2061
2131
  }
2062
- const hl = /* @__PURE__ */ be(fl, [["render", ml]]), gl = {
2132
+ const bl = /* @__PURE__ */ Ce(_l, [["render", yl]]), wl = {
2063
2133
  "h-full": "",
2064
2134
  "w-full": "",
2065
2135
  flex: "",
2066
2136
  "items-center": ""
2067
- }, Cl = {
2137
+ }, kl = {
2068
2138
  flex: "~ col gap2",
2069
2139
  ma: "",
2070
2140
  "px-5": ""
2071
- }, _l = {
2141
+ }, Il = {
2072
2142
  flex: "~ col",
2073
2143
  "mt-20": "",
2074
2144
  "items-center": ""
2075
- }, xl = {
2145
+ }, $l = {
2076
2146
  flex: "~",
2077
2147
  "mt--10": "",
2078
2148
  "items-center": "",
2079
2149
  "justify-center": ""
2080
- }, yl = { class: "mr-1" }, bl = {
2150
+ }, Sl = { class: "mr-1" }, Tl = {
2081
2151
  key: 0,
2082
2152
  class: "inline-block w20"
2083
- }, wl = ["src", "alt"], kl = {
2153
+ }, El = ["src", "alt"], Vl = {
2084
2154
  key: 1,
2085
2155
  class: "mr2 inline-block min-w-20 text-center text-10 font-600"
2086
- }, Il = {
2156
+ }, Nl = {
2087
2157
  mb6: "",
2088
2158
  "mt--1": "",
2089
2159
  "text-center": "",
2090
2160
  "text-sm": "",
2091
2161
  flex: "~ gap-1"
2092
- }, $l = { op40: "" }, Sl = { flex: "~ gap2 wrap" }, Tl = {
2162
+ }, Rl = { op40: "" }, Al = { flex: "~ gap2 wrap" }, Dl = {
2093
2163
  flex: "~ gap-6 wrap",
2094
2164
  "mt-5": "",
2095
2165
  "items-center": "",
2096
2166
  "justify-center": ""
2097
- }, El = ["href"], Vl = /* @__PURE__ */ B({
2167
+ }, Pl = ["href"], Ml = /* @__PURE__ */ B({
2098
2168
  __name: "About",
2099
2169
  setup(n) {
2100
2170
  const e = De(), o = Te(), t = T(!1), s = T(!1);
@@ -2104,87 +2174,87 @@ const hl = /* @__PURE__ */ be(fl, [["render", ml]]), gl = {
2104
2174
  function i() {
2105
2175
  t.value = !0, s.value = !0;
2106
2176
  }
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`,
2177
+ return (c, d) => {
2178
+ var h;
2179
+ return p(), v("div", wl, [
2180
+ r("div", kl, [
2181
+ d[5] || (d[5] = r("div", { "flex-auto": "" }, null, -1)),
2182
+ r("div", Il, [
2183
+ r("div", $l, [
2184
+ r("span", Sl, [
2185
+ t.value ? U("", !0) : (p(), v("span", Tl)),
2186
+ W(r("img", {
2187
+ src: u(o).logo,
2188
+ alt: `${u(o).label} Logo`,
2119
2189
  class: "inline-block h16",
2120
2190
  onError: i,
2121
2191
  onLoad: l
2122
- }, null, 40, wl), [
2123
- [en, t.value && !s.value]
2192
+ }, null, 40, El), [
2193
+ [tn, t.value && !s.value]
2124
2194
  ]),
2125
- s.value ? (p(), m("span", kl, le(d(o).label), 1)) : U("", !0)
2195
+ s.value ? (p(), v("span", Vl, le(u(o).label), 1)) : U("", !0)
2126
2196
  ]),
2127
- u("span", null, [
2128
- x(hl, { "h-18": "" })
2197
+ r("span", null, [
2198
+ y(bl, { "h-18": "" })
2129
2199
  ])
2130
2200
  ]),
2131
- u("div", Il, [
2132
- u("span", $l, le(d(o).label) + " DevTools ", 1)
2201
+ r("div", Nl, [
2202
+ r("span", Rl, le(u(o).label) + " DevTools ", 1)
2133
2203
  ])
2134
2204
  ]),
2135
- c[6] || (c[6] = u("div", { "flex-auto": "" }, null, -1)),
2136
- u("div", Sl, [
2137
- u("div", {
2205
+ d[6] || (d[6] = r("div", { "flex-auto": "" }, null, -1)),
2206
+ r("div", Al, [
2207
+ r("div", {
2138
2208
  flex: "~ col auto",
2139
2209
  "min-w-40": "",
2140
2210
  p4: "",
2141
2211
  "theme-card-lime": "",
2142
- onClick: c[0] || (c[0] = (f) => d(e).push("/state"))
2143
- }, c[2] || (c[2] = [
2144
- u("div", {
2212
+ onClick: d[0] || (d[0] = (f) => u(e).push("/state"))
2213
+ }, d[2] || (d[2] = [
2214
+ r("div", {
2145
2215
  "i-carbon-tree-view-alt": "",
2146
2216
  "text-3xl": ""
2147
2217
  }, null, -1),
2148
- u("code", null, "State", -1)
2218
+ r("code", null, "State", -1)
2149
2219
  ])),
2150
- (g = d(o).timelineLayerIds) != null && g.length ? (p(), m("div", {
2220
+ (h = u(o).timelineLayerIds) != null && h.length ? (p(), v("div", {
2151
2221
  key: 0,
2152
2222
  flex: "~ col auto",
2153
2223
  "min-w-40": "",
2154
2224
  p4: "",
2155
2225
  "theme-card-lime": "",
2156
- onClick: c[1] || (c[1] = (f) => d(e).push("/timeline"))
2157
- }, c[3] || (c[3] = [
2158
- u("div", {
2226
+ onClick: d[1] || (d[1] = (f) => u(e).push("/timeline"))
2227
+ }, d[3] || (d[3] = [
2228
+ r("div", {
2159
2229
  "i-mdi:timeline-clock-outline": "",
2160
2230
  "text-3xl": ""
2161
2231
  }, null, -1),
2162
- u("div", null, "Timeline", -1)
2232
+ r("div", null, "Timeline", -1)
2163
2233
  ]))) : U("", !0)
2164
2234
  ]),
2165
- u("div", Tl, [
2166
- u("a", {
2167
- href: d(o).homepage,
2235
+ r("div", Dl, [
2236
+ r("a", {
2237
+ href: u(o).homepage,
2168
2238
  target: "_blank",
2169
2239
  flex: "~ gap1",
2170
2240
  "items-center": "",
2171
2241
  op50: "",
2172
2242
  hover: "op100 text-yellow",
2173
2243
  transition: ""
2174
- }, c[4] || (c[4] = [
2175
- u("div", { "i-carbon-document": "" }, null, -1),
2244
+ }, d[4] || (d[4] = [
2245
+ r("div", { "i-carbon-document": "" }, null, -1),
2176
2246
  ne(" View Documentation ")
2177
- ]), 8, El)
2247
+ ]), 8, Pl)
2178
2248
  ]),
2179
- c[7] || (c[7] = u("div", { "flex-auto": "" }, null, -1))
2249
+ d[7] || (d[7] = r("div", { "flex-auto": "" }, null, -1))
2180
2250
  ])
2181
2251
  ]);
2182
2252
  };
2183
2253
  }
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 = {
2254
+ }), 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
2255
  key: 0,
2186
2256
  class: "flex justify-start"
2187
- }, Pl = { key: 1 }, Zt = /* @__PURE__ */ B({
2257
+ }, Ul = { key: 1 }, Ft = /* @__PURE__ */ B({
2188
2258
  __name: "Settings",
2189
2259
  props: {
2190
2260
  pluginId: {},
@@ -2194,32 +2264,32 @@ const hl = /* @__PURE__ */ be(fl, [["render", ml]]), gl = {
2194
2264
  emits: ["update"],
2195
2265
  setup(n, { emit: e }) {
2196
2266
  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);
2267
+ function i(c, d) {
2268
+ D.value.updatePluginSettings(o.pluginId, c, d), D.value.getPluginSettings(o.pluginId).then((h) => {
2269
+ t("update", h);
2200
2270
  });
2201
2271
  }
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", {
2272
+ return (c, d) => (p(), v("div", Ll, [
2273
+ r("ul", null, [
2274
+ (p(!0), v(te, null, ae(s.value, (h, f) => (p(), v("li", {
2205
2275
  key: f,
2206
2276
  class: "flex items-center py-2"
2207
2277
  }, [
2208
- u("div", Rl, le(g.label), 1),
2209
- u("div", Al, [
2210
- g.type === "boolean" ? (p(), m("div", Dl, [
2211
- x(d(sn), {
2278
+ r("div", Hl, le(h.label), 1),
2279
+ r("div", jl, [
2280
+ h.type === "boolean" ? (p(), v("div", Ol, [
2281
+ y(u(an), {
2212
2282
  "model-value": l.value[f],
2213
2283
  class: "row-reverse flex hover:bg-active py1 pl2 pr1",
2214
2284
  "onUpdate:modelValue": (a) => i(f, a)
2215
2285
  }, null, 8, ["model-value", "onUpdate:modelValue"])
2216
- ])) : g.type === "choice" ? (p(), m("div", Pl, [
2217
- x(d(an), {
2286
+ ])) : h.type === "choice" ? (p(), v("div", Ul, [
2287
+ y(u(rn), {
2218
2288
  "model-value": l.value[f],
2219
- options: g.options,
2289
+ options: h.options,
2220
2290
  "onUpdate:modelValue": (a) => i(f, a)
2221
2291
  }, null, 8, ["model-value", "options", "onUpdate:modelValue"])
2222
- ])) : g.type === "text" ? (p(), z(d(Ze), {
2292
+ ])) : h.type === "text" ? (p(), z(u(Ze), {
2223
2293
  key: 2,
2224
2294
  "model-value": l.value[f],
2225
2295
  "onUpdate:modelValue": (a) => i(f, a)
@@ -2229,176 +2299,176 @@ const hl = /* @__PURE__ */ be(fl, [["render", ml]]), gl = {
2229
2299
  ])
2230
2300
  ]));
2231
2301
  }
2232
- }), Ml = { class: "h-full flex flex-col" }, Hl = /* @__PURE__ */ B({
2302
+ }), zl = { class: "h-full flex flex-col" }, Bl = /* @__PURE__ */ B({
2233
2303
  __name: "Settings",
2234
2304
  setup(n) {
2235
2305
  const e = ve("pluginSettings"), o = Te(), t = V(() => e.value.options), s = V(() => e.value.values);
2236
2306
  function l(i) {
2237
2307
  e.value = i;
2238
2308
  }
2239
- return (i, r) => (p(), m("div", Ml, [
2240
- x($e, {
2241
- "doc-link": d(o).homepage
2309
+ return (i, c) => (p(), v("div", zl, [
2310
+ y($e, {
2311
+ "doc-link": u(o).homepage
2242
2312
  }, {
2243
- default: M(() => [
2244
- x(Se)
2313
+ default: H(() => [
2314
+ y(Se)
2245
2315
  ]),
2246
2316
  _: 1
2247
2317
  }, 8, ["doc-link"]),
2248
- x(Zt, {
2249
- "plugin-id": d(o).pluginId,
2318
+ y(Ft, {
2319
+ "plugin-id": u(o).pluginId,
2250
2320
  options: t.value,
2251
2321
  values: s.value,
2252
2322
  onUpdate: l
2253
2323
  }, null, 8, ["plugin-id", "options", "values"])
2254
2324
  ]));
2255
2325
  }
2256
- }), Ll = { class: "h-full flex flex-col" }, Ol = { class: "h-full flex flex-col p2" }, jl = {
2326
+ }), Zl = { class: "h-full flex flex-col" }, Fl = { class: "h-full flex flex-col p2" }, Gl = {
2257
2327
  key: 0,
2258
2328
  class: "mb-1 flex justify-end pb-1",
2259
2329
  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 = {
2330
+ }, 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
2331
  key: 0,
2262
2332
  class: "mb-1 flex justify-end pb-1",
2263
2333
  border: "b dashed base"
2264
- }, Gl = { class: "flex items-center gap-2 px-1" }, Kl = ["onClick"], Wl = /* @__PURE__ */ B({
2334
+ }, Xl = { class: "flex items-center gap-2 px-1" }, Ql = ["onClick"], e1 = /* @__PURE__ */ B({
2265
2335
  __name: "Index",
2266
2336
  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) => {
2337
+ 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(() => {
2338
+ var w, k;
2339
+ return (w = c.value) != null && w.length ? A((k = c.value) == null ? void 0 : k[0]) : [];
2340
+ }), h = V(() => $(c.value)), f = V(() => h.value.map((w) => w.id)), a = T(""), m = T({}), E = V(() => !Object.keys(m.value).length);
2341
+ function A(w, k = [], x = []) {
2342
+ var R;
2343
+ 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) => {
2344
+ A(F, k, x);
2345
+ }), k.pop(), x;
2346
+ }
2347
+ function g(w, k) {
2348
+ const x = [];
2349
+ return w == null || w.forEach((R) => {
2350
+ x.push(...R.slice(0, k + 1));
2351
+ }), [...new Set(x)];
2352
+ }
2353
+ function $(w) {
2354
+ const k = [], x = (R) => {
2355
+ R == null || R.forEach((F) => {
2286
2356
  var se;
2287
- $.push(F), (se = F.children) != null && se.length && _(F.children);
2357
+ k.push(F), (se = F.children) != null && se.length && x(F.children);
2288
2358
  });
2289
2359
  };
2290
- return _(k), $;
2360
+ return x(w), k;
2291
2361
  }
2292
- function j() {
2293
- D.value.getInspectorNodeActions(s.value).then((k) => {
2294
- l.value = k;
2362
+ function O() {
2363
+ D.value.getInspectorNodeActions(s.value).then((w) => {
2364
+ l.value = w;
2295
2365
  });
2296
2366
  }
2297
- function L() {
2298
- D.value.getInspectorActions(s.value).then((k) => {
2299
- i.value = k;
2367
+ function P() {
2368
+ D.value.getInspectorActions(s.value).then((w) => {
2369
+ i.value = w;
2300
2370
  });
2301
2371
  }
2302
- j(), L();
2303
- function A(k) {
2304
- D.value.callInspectorNodeAction(s.value, k, a.value);
2372
+ O(), P();
2373
+ function _(w) {
2374
+ D.value.callInspectorNodeAction(s.value, w, a.value);
2305
2375
  }
2306
- function I(k) {
2307
- D.value.callInspectorAction(s.value, k);
2376
+ function C(w) {
2377
+ D.value.callInspectorAction(s.value, w);
2308
2378
  }
2309
- function R(k) {
2310
- var $;
2311
- for (const _ in k)
2312
- ($ = k[_]) != null && $.length || delete k[_];
2313
- return k;
2379
+ function S(w) {
2380
+ var k;
2381
+ for (const x in w)
2382
+ (k = w[x]) != null && k.length || delete w[x];
2383
+ return w;
2314
2384
  }
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}`));
2385
+ function L(w) {
2386
+ D.value.getInspectorState({ inspectorId: s.value, nodeId: w }).then((k) => {
2387
+ const x = X(k);
2388
+ x && (m.value = S(x), o.value = Array.from({ length: Object.keys(m.value).length }, (R, F) => `${F}`));
2319
2389
  });
2320
2390
  }
2321
2391
  function K() {
2322
- h.value = {};
2392
+ m.value = {};
2323
2393
  }
2324
- X(a, () => {
2325
- K(), H(a.value);
2394
+ Q(a, () => {
2395
+ K(), L(a.value);
2326
2396
  });
2327
2397
  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));
2398
+ D.value.getInspectorTree({ inspectorId: s.value, filter: "" }).then((w) => {
2399
+ const k = X(w);
2400
+ c.value = k, !a.value && k.length && (a.value = k[0].id, e.value = g(d.value, 1), L(k[0].id));
2331
2401
  });
2332
2402
  };
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)
2403
+ jt(s).toBeTruthy().then(Z);
2404
+ function N(w) {
2405
+ var x, R;
2406
+ const k = X(w);
2407
+ !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)));
2408
+ }
2409
+ function M(w) {
2410
+ const k = X(w);
2411
+ if (k.inspectorId !== s.value || !k.state || k.nodeId !== a.value)
2342
2412
  return;
2343
- const { inspectorId: _, ...N } = $.state;
2344
- h.value = R(N);
2413
+ const { inspectorId: x, ...R } = k.state;
2414
+ m.value = S(R);
2345
2415
  }
2346
2416
  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
2417
+ D.functions.on(q.INSPECTOR_TREE_UPDATED, N), D.functions.on(q.INSPECTOR_STATE_UPDATED, M);
2418
+ }), be(() => {
2419
+ D.functions.off(q.INSPECTOR_TREE_UPDATED, N), D.functions.off(q.INSPECTOR_STATE_UPDATED, M);
2420
+ }), (w, k) => (p(), v("div", Zl, [
2421
+ y($e, {
2422
+ "doc-link": u(t).homepage
2353
2423
  }, {
2354
- default: M(() => [
2355
- x(Se)
2424
+ default: H(() => [
2425
+ y(Se)
2356
2426
  ]),
2357
2427
  _: 1
2358
2428
  }, 8, ["doc-link"]),
2359
- r.value.length ? (p(), z(d(Ae), {
2429
+ c.value.length ? (p(), z(u(Ae), {
2360
2430
  key: 0,
2361
2431
  class: "flex-1 overflow-auto"
2362
2432
  }, {
2363
- default: M(() => [
2364
- x(d(ue), {
2433
+ default: H(() => [
2434
+ y(u(ue), {
2365
2435
  border: "r base",
2366
2436
  size: "40",
2367
2437
  "h-full": ""
2368
2438
  }, {
2369
- default: M(() => {
2370
- var _;
2439
+ default: H(() => {
2440
+ var x;
2371
2441
  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", {
2442
+ r("div", Fl, [
2443
+ (x = i.value) != null && x.length ? (p(), v("div", Gl, [
2444
+ r("div", Kl, [
2445
+ (p(!0), v(te, null, ae(i.value, (R, F) => W((p(), v("div", {
2376
2446
  key: F,
2377
2447
  class: "flex items-center gap1",
2378
- onClick: (se) => I(F)
2448
+ onClick: (se) => C(F)
2379
2449
  }, [
2380
- x(d(gt), {
2381
- name: `baseline-${N.icon.replace(/\_/g, "-")}`,
2450
+ y(u(Fe), {
2451
+ name: `baseline-${R.icon.replace(/\_/g, "-")}`,
2382
2452
  "cursor-pointer": "",
2383
2453
  op70: "",
2384
2454
  "text-base": "",
2385
2455
  "hover:op100": ""
2386
2456
  }, null, 8, ["name"])
2387
- ], 8, zl)), [
2457
+ ], 8, Wl)), [
2388
2458
  [
2389
- d(Q),
2390
- { content: N.tooltip },
2459
+ u(J),
2460
+ { content: R.tooltip },
2391
2461
  void 0,
2392
2462
  { "bottom-end": !0 }
2393
2463
  ]
2394
2464
  ])), 128))
2395
2465
  ])
2396
2466
  ])) : U("", !0),
2397
- u("div", Bl, [
2398
- x(Me, {
2467
+ r("div", ql, [
2468
+ y(Me, {
2399
2469
  modelValue: a.value,
2400
- "onUpdate:modelValue": $[0] || ($[0] = (N) => a.value = N),
2401
- data: r.value
2470
+ "onUpdate:modelValue": k[0] || (k[0] = (R) => a.value = R),
2471
+ data: c.value
2402
2472
  }, null, 8, ["modelValue", "data"])
2403
2473
  ])
2404
2474
  ])
@@ -2406,44 +2476,44 @@ const hl = /* @__PURE__ */ be(fl, [["render", ml]]), gl = {
2406
2476
  }),
2407
2477
  _: 1
2408
2478
  }),
2409
- x(d(ue), { size: "60" }, {
2410
- default: M(() => {
2411
- var _;
2479
+ y(u(ue), { size: "60" }, {
2480
+ default: H(() => {
2481
+ var x;
2412
2482
  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", {
2483
+ r("div", Jl, [
2484
+ (x = l.value) != null && x.length ? (p(), v("div", Yl, [
2485
+ r("div", Xl, [
2486
+ (p(!0), v(te, null, ae(l.value, (R, F) => W((p(), v("div", {
2417
2487
  key: F,
2418
2488
  class: "flex items-center gap1",
2419
- onClick: (se) => A(F)
2489
+ onClick: (se) => _(F)
2420
2490
  }, [
2421
- x(d(gt), {
2422
- name: `baseline-${N.icon.replace(/\_/g, "-")}`,
2491
+ y(u(Fe), {
2492
+ name: `baseline-${R.icon.replace(/\_/g, "-")}`,
2423
2493
  "cursor-pointer": "",
2424
2494
  op70: "",
2425
2495
  "text-base": "",
2426
2496
  "hover:op100": ""
2427
2497
  }, null, 8, ["name"])
2428
- ], 8, Kl)), [
2498
+ ], 8, Ql)), [
2429
2499
  [
2430
- d(Q),
2431
- { content: N.tooltip },
2500
+ u(J),
2501
+ { content: R.tooltip },
2432
2502
  void 0,
2433
2503
  { "bottom-end": !0 }
2434
2504
  ]
2435
2505
  ])), 128))
2436
2506
  ])
2437
2507
  ])) : U("", !0),
2438
- a.value && !y.value ? (p(), z(Pe, {
2508
+ a.value && !E.value ? (p(), z(Pe, {
2439
2509
  key: 1,
2440
- data: h.value,
2510
+ data: m.value,
2441
2511
  "node-id": a.value,
2442
2512
  "inspector-id": s.value,
2443
2513
  "expanded-state-id": "custom-inspector-state",
2444
2514
  class: "no-scrollbar flex-1 select-none overflow-scroll"
2445
2515
  }, null, 8, ["data", "node-id", "inspector-id"])) : (p(), z(Ne, { key: 2 }, {
2446
- default: M(() => $[1] || ($[1] = [
2516
+ default: H(() => k[1] || (k[1] = [
2447
2517
  ne(" No Data ")
2448
2518
  ])),
2449
2519
  _: 1
@@ -2456,26 +2526,27 @@ const hl = /* @__PURE__ */ be(fl, [["render", ml]]), gl = {
2456
2526
  ]),
2457
2527
  _: 1
2458
2528
  })) : (p(), z(Ne, { key: 1 }, {
2459
- default: M(() => $[2] || ($[2] = [
2529
+ default: H(() => k[2] || (k[2] = [
2460
2530
  ne(" No Data ")
2461
2531
  ])),
2462
2532
  _: 1
2463
2533
  }))
2464
2534
  ]));
2465
2535
  }
2466
- }), ql = /* @__PURE__ */ B({
2536
+ }), t1 = /* @__PURE__ */ B({
2467
2537
  __name: "Index",
2468
2538
  setup(n) {
2469
2539
  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"]));
2540
+ return (o, t) => (p(), z(pt, {
2541
+ "layer-ids": u(e).timelineLayerIds,
2542
+ "doc-link": u(e).homepage,
2543
+ "plugin-id": u(e).pluginId
2544
+ }, null, 8, ["layer-ids", "doc-link", "plugin-id"]));
2474
2545
  }
2475
- }), Jl = {
2546
+ }), n1 = {
2476
2547
  "h-full": "",
2477
2548
  "w-full": ""
2478
- }, Yl = { key: 0 }, J1 = /* @__PURE__ */ B({
2549
+ }, o1 = { key: 0 }, ls = /* @__PURE__ */ B({
2479
2550
  __name: "index",
2480
2551
  props: {
2481
2552
  id: {},
@@ -2483,36 +2554,36 @@ const hl = /* @__PURE__ */ be(fl, [["render", ml]]), gl = {
2483
2554
  },
2484
2555
  emits: ["loadError"],
2485
2556
  setup(n, { emit: e }) {
2486
- const o = n, t = e, s = Bt(), l = T(!1), i = T(null);
2557
+ const o = n, t = e, s = Zt(), l = T(!1), i = T(null);
2487
2558
  ge("pluginSettings", i);
2488
- const r = V(() => {
2559
+ const c = V(() => {
2489
2560
  var a;
2490
2561
  return [
2491
2562
  {
2492
2563
  path: "/state",
2493
2564
  name: "State",
2494
- component: Wl,
2565
+ component: e1,
2495
2566
  icon: "i-carbon-tree-view-alt"
2496
2567
  },
2497
2568
  ((a = s.value.timelineLayerIds) == null ? void 0 : a.length) && {
2498
2569
  path: "/timeline",
2499
2570
  name: "Timeline",
2500
- component: ql,
2571
+ component: t1,
2501
2572
  icon: "i-mdi:timeline-clock-outline"
2502
2573
  },
2503
2574
  {
2504
2575
  path: "/about",
2505
2576
  name: "About",
2506
- component: Vl
2577
+ component: Ml
2507
2578
  },
2508
2579
  i.value && {
2509
2580
  path: "/settings",
2510
2581
  name: "Settings",
2511
- component: Hl,
2582
+ component: Bl,
2512
2583
  icon: "i-mdi:cog-outline"
2513
2584
  }
2514
2585
  ].filter(Boolean);
2515
- }), { VirtualRouterView: c, restoreRouter: g } = lt(r, {
2586
+ }), { VirtualRouterView: d, restoreRouter: h } = st(c, {
2516
2587
  defaultRoutePath: "/state"
2517
2588
  });
2518
2589
  function f() {
@@ -2522,117 +2593,117 @@ const hl = /* @__PURE__ */ be(fl, [["render", ml]]), gl = {
2522
2593
  t("loadError");
2523
2594
  return;
2524
2595
  }
2525
- const h = {
2596
+ const m = {
2526
2597
  homepage: a == null ? void 0 : a.homepage,
2527
2598
  id: a == null ? void 0 : a.id,
2528
2599
  label: a == null ? void 0 : a.label,
2529
2600
  logo: a == null ? void 0 : a.logo,
2530
- timelineLayerIds: a == null ? void 0 : a.timelineLayers.map((y) => y.id),
2601
+ timelineLayerIds: a == null ? void 0 : a.timelineLayers.map((E) => E.id),
2531
2602
  pluginId: o.pluginId
2532
2603
  };
2533
- s.value = h, g(), l.value = !1;
2604
+ s.value = m, h(), l.value = !1;
2534
2605
  }), D.value.getPluginSettings(o.pluginId).then((a) => {
2535
2606
  a.options ? i.value = a : i.value = null;
2536
2607
  });
2537
2608
  });
2538
2609
  }
2539
- return X(() => o.id, () => {
2610
+ return Q(() => o.id, () => {
2540
2611
  f();
2541
2612
  }, {
2542
2613
  immediate: !0
2543
- }), ye(() => {
2614
+ }), be(() => {
2544
2615
  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 }))
2616
+ }), (a, m) => (p(), v("div", n1, [
2617
+ l.value ? (p(), v("div", o1, [
2618
+ y(Cl)
2619
+ ])) : (p(), z(u(d), { key: 1 }))
2549
2620
  ]));
2550
2621
  }
2551
- }), Xl = {}, Ql = {
2622
+ }), l1 = {}, s1 = {
2552
2623
  viewBox: "0 0 566 154",
2553
2624
  fill: "none",
2554
2625
  xmlns: "http://www.w3.org/2000/svg"
2555
2626
  };
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)
2627
+ function a1(n, e) {
2628
+ return p(), v("svg", s1, e[0] || (e[0] = [
2629
+ 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
2630
  ]));
2560
2631
  }
2561
- const t1 = /* @__PURE__ */ be(Xl, [["render", e1]]), n1 = {
2632
+ const i1 = /* @__PURE__ */ Ce(l1, [["render", a1]]), r1 = {
2562
2633
  "h-full": "",
2563
2634
  "w-full": "",
2564
2635
  flex: "",
2565
2636
  "items-center": ""
2566
- }, o1 = {
2637
+ }, u1 = {
2567
2638
  flex: "~ col gap2",
2568
2639
  ma: "",
2569
2640
  "px-5": ""
2570
- }, l1 = {
2641
+ }, c1 = {
2571
2642
  flex: "~ col",
2572
2643
  "mt-20": "",
2573
2644
  "items-center": ""
2574
- }, s1 = {
2645
+ }, d1 = {
2575
2646
  flex: "~",
2576
2647
  "mt--10": "",
2577
2648
  "items-center": "",
2578
2649
  "justify-center": ""
2579
- }, a1 = { flex: "~ gap2 wrap" }, i1 = /* @__PURE__ */ B({
2650
+ }, p1 = { flex: "~ gap2 wrap" }, f1 = /* @__PURE__ */ B({
2580
2651
  __name: "About",
2581
2652
  setup(n) {
2582
2653
  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": "" })
2654
+ return (o, t) => (p(), v("div", r1, [
2655
+ r("div", u1, [
2656
+ t[5] || (t[5] = r("div", { "flex-auto": "" }, null, -1)),
2657
+ r("div", c1, [
2658
+ r("div", d1, [
2659
+ y(i1, { "h-18": "" })
2589
2660
  ]),
2590
- t[2] || (t[2] = u("div", {
2661
+ t[2] || (t[2] = r("div", {
2591
2662
  mb6: "",
2592
2663
  "mt--1": "",
2593
2664
  "text-center": "",
2594
2665
  "text-sm": "",
2595
2666
  flex: "~ gap-1"
2596
2667
  }, [
2597
- u("span", { op40: "" }, " Pinia DevTools ")
2668
+ r("span", { op40: "" }, " Pinia DevTools ")
2598
2669
  ], -1))
2599
2670
  ]),
2600
- t[6] || (t[6] = u("div", { "flex-auto": "" }, null, -1)),
2601
- u("div", a1, [
2602
- u("div", {
2671
+ t[6] || (t[6] = r("div", { "flex-auto": "" }, null, -1)),
2672
+ r("div", p1, [
2673
+ r("div", {
2603
2674
  flex: "~ col auto",
2604
2675
  "min-w-40": "",
2605
2676
  p4: "",
2606
2677
  "theme-card-lime": "",
2607
- onClick: t[0] || (t[0] = (s) => d(e).push("/store"))
2678
+ onClick: t[0] || (t[0] = (s) => u(e).push("/store"))
2608
2679
  }, t[3] || (t[3] = [
2609
- u("div", {
2680
+ r("div", {
2610
2681
  "i-carbon-tree-view-alt": "",
2611
2682
  "text-3xl": ""
2612
2683
  }, null, -1),
2613
- u("code", null, "Store", -1)
2684
+ r("code", null, "Store", -1)
2614
2685
  ])),
2615
- u("div", {
2686
+ r("div", {
2616
2687
  flex: "~ col auto",
2617
2688
  "min-w-40": "",
2618
2689
  p4: "",
2619
2690
  "theme-card-lime": "",
2620
- onClick: t[1] || (t[1] = (s) => d(e).push("/timeline"))
2691
+ onClick: t[1] || (t[1] = (s) => u(e).push("/timeline"))
2621
2692
  }, t[4] || (t[4] = [
2622
- u("div", {
2693
+ r("div", {
2623
2694
  "i-mdi:timeline-clock-outline": "",
2624
2695
  "text-3xl": ""
2625
2696
  }, null, -1),
2626
- u("div", null, "Timeline", -1)
2697
+ r("div", null, "Timeline", -1)
2627
2698
  ]))
2628
2699
  ]),
2629
- t[7] || (t[7] = u("div", {
2700
+ t[7] || (t[7] = r("div", {
2630
2701
  flex: "~ gap-6 wrap",
2631
2702
  "mt-5": "",
2632
2703
  "items-center": "",
2633
2704
  "justify-center": ""
2634
2705
  }, [
2635
- u("a", {
2706
+ r("a", {
2636
2707
  href: "https://github.com/vuejs/pinia",
2637
2708
  target: "_blank",
2638
2709
  flex: "~ gap1",
@@ -2641,10 +2712,10 @@ const t1 = /* @__PURE__ */ be(Xl, [["render", e1]]), n1 = {
2641
2712
  hover: "op100 text-blue",
2642
2713
  transition: ""
2643
2714
  }, [
2644
- u("div", { "i-carbon-star": "" }),
2715
+ r("div", { "i-carbon-star": "" }),
2645
2716
  ne(" Star on GitHub ")
2646
2717
  ]),
2647
- u("a", {
2718
+ r("a", {
2648
2719
  href: "https://pinia.vuejs.org/",
2649
2720
  target: "_blank",
2650
2721
  flex: "~ gap1",
@@ -2653,32 +2724,32 @@ const t1 = /* @__PURE__ */ be(Xl, [["render", e1]]), n1 = {
2653
2724
  hover: "op100 text-yellow",
2654
2725
  transition: ""
2655
2726
  }, [
2656
- u("div", { "i-carbon-document": "" }),
2727
+ r("div", { "i-carbon-document": "" }),
2657
2728
  ne(" View Documentation ")
2658
2729
  ])
2659
2730
  ], -1)),
2660
- t[8] || (t[8] = u("div", { "flex-auto": "" }, null, -1))
2731
+ t[8] || (t[8] = r("div", { "flex-auto": "" }, null, -1))
2661
2732
  ])
2662
2733
  ]));
2663
2734
  }
2664
- }), r1 = { class: "h-full flex flex-col" }, u1 = /* @__PURE__ */ B({
2735
+ }), v1 = { class: "h-full flex flex-col" }, m1 = /* @__PURE__ */ B({
2665
2736
  __name: "Settings",
2666
2737
  setup(n) {
2667
2738
  const e = ve("pluginSettings"), o = V(() => e.value.options), t = V(() => e.value.values);
2668
2739
  function s(l) {
2669
2740
  e.value = l;
2670
2741
  }
2671
- return (l, i) => (p(), m("div", r1, [
2672
- x($e, {
2742
+ return (l, i) => (p(), v("div", v1, [
2743
+ y($e, {
2673
2744
  "doc-link": "https://pinia.vuejs.org/",
2674
2745
  "github-repo-link": "https://github.com/vuejs/pinia"
2675
2746
  }, {
2676
- default: M(() => [
2677
- x(Se)
2747
+ default: H(() => [
2748
+ y(Se)
2678
2749
  ]),
2679
2750
  _: 1
2680
2751
  }),
2681
- x(Zt, {
2752
+ y(Ft, {
2682
2753
  "plugin-id": "dev.esm.pinia",
2683
2754
  options: o.value,
2684
2755
  values: t.value,
@@ -2686,150 +2757,150 @@ const t1 = /* @__PURE__ */ be(Xl, [["render", e1]]), n1 = {
2686
2757
  }, null, 8, ["options", "values"])
2687
2758
  ]));
2688
2759
  }
2689
- }), c1 = { class: "h-full flex flex-col" }, d1 = { class: "h-full flex flex-col p2" }, p1 = {
2760
+ }), h1 = { class: "h-full flex flex-col" }, g1 = { class: "h-full flex flex-col p2" }, C1 = {
2690
2761
  key: 0,
2691
2762
  class: "mb-1 flex justify-end pb-1",
2692
2763
  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 = {
2764
+ }, _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
2765
  key: 0,
2695
2766
  class: "mb-1 flex justify-end pb-1",
2696
2767
  border: "b dashed base"
2697
- }, C1 = { class: "flex items-center gap-2 px-1" }, _1 = ["onClick"], pe = "pinia", x1 = /* @__PURE__ */ B({
2768
+ }, k1 = { class: "flex items-center gap-2 px-1" }, I1 = ["onClick"], pe = "pinia", $1 = /* @__PURE__ */ B({
2698
2769
  __name: "Index",
2699
2770
  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);
2771
+ const { expanded: e } = me(), { expanded: o } = me("pinia-store-state"), t = T([]), s = T([]), l = T(""), i = T([]), c = V(() => {
2772
+ var N, M;
2773
+ return (N = i.value) != null && N.length ? m((M = i.value) == null ? void 0 : M[0]) : [];
2774
+ }), d = V(() => A(i.value)), h = V(() => d.value.map((N) => N.id)), f = T({}), a = V(() => {
2775
+ var N, M;
2776
+ return !((N = f.value.state) != null && N.length) && !((M = f.value.getters) != null && M.length);
2706
2777
  });
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);
2778
+ function m(N, M = [], w = []) {
2779
+ var k;
2780
+ 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) => {
2781
+ m(x, M, w);
2782
+ }), M.pop(), w;
2783
+ }
2784
+ function E(N, M) {
2785
+ const w = [];
2786
+ return N == null || N.forEach((k) => {
2787
+ w.push(...k.slice(0, M + 1));
2788
+ }), [...new Set(w)];
2789
+ }
2790
+ function A(N) {
2791
+ const M = [], w = (k) => {
2792
+ k == null || k.forEach((x) => {
2793
+ var R;
2794
+ M.push(x), (R = x.children) != null && R.length && w(x.children);
2724
2795
  });
2725
2796
  };
2726
- return k(E), P;
2797
+ return w(N), M;
2727
2798
  }
2728
- function v() {
2729
- D.value.getInspectorNodeActions(pe).then((E) => {
2730
- t.value = E;
2799
+ function g() {
2800
+ D.value.getInspectorNodeActions(pe).then((N) => {
2801
+ t.value = N;
2731
2802
  });
2732
2803
  }
2733
- function w() {
2734
- D.value.getInspectorActions(pe).then((E) => {
2735
- s.value = E;
2804
+ function $() {
2805
+ D.value.getInspectorActions(pe).then((N) => {
2806
+ s.value = N;
2736
2807
  });
2737
2808
  }
2738
- v(), w();
2739
- function j(E) {
2740
- D.value.callInspectorNodeAction(pe, E, l.value);
2809
+ g(), $();
2810
+ function O(N) {
2811
+ D.value.callInspectorNodeAction(pe, N, l.value);
2741
2812
  }
2742
- function L(E) {
2743
- D.value.callInspectorAction(pe, E);
2813
+ function P(N) {
2814
+ D.value.callInspectorAction(pe, N);
2744
2815
  }
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;
2750
- }
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 }, ($, _) => `${_}`));
2816
+ function _(N) {
2817
+ var M;
2818
+ for (const w in N)
2819
+ (M = N[w]) != null && M.length || delete N[w];
2820
+ return N;
2821
+ }
2822
+ function C(N) {
2823
+ D.value.getInspectorState({ inspectorId: pe, nodeId: N }).then((M) => {
2824
+ const w = X(M);
2825
+ w && (f.value = _(w), o.value = Array.from({ length: Object.keys(f.value).length }, (k, x) => `${x}`));
2755
2826
  });
2756
2827
  }
2757
- function R() {
2828
+ function S() {
2758
2829
  f.value = {};
2759
2830
  }
2760
- X(l, () => {
2761
- R(), I(l.value);
2831
+ Q(l, () => {
2832
+ S(), C(l.value);
2762
2833
  }), (() => {
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));
2834
+ D.value.getInspectorTree({ inspectorId: pe, filter: "" }).then((N) => {
2835
+ const M = X(N);
2836
+ i.value = M, !l.value && M.length && (l.value = M[0].id, C(M[0].id), e.value = E(c.value, 1));
2766
2837
  });
2767
2838
  })();
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)));
2839
+ function K(N) {
2840
+ const M = X(N);
2841
+ 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
2842
  }
2772
- function Z(E) {
2773
- const P = Y(E);
2774
- if (P.inspectorId !== pe)
2843
+ function Z(N) {
2844
+ const M = X(N);
2845
+ if (M.inspectorId !== pe)
2775
2846
  return;
2776
- const k = P.state;
2777
- f.value = A({
2778
- state: k.state,
2779
- getters: k.getters
2847
+ const w = M.state;
2848
+ f.value = _({
2849
+ state: w.state,
2850
+ getters: w.getters
2780
2851
  });
2781
2852
  }
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, {
2853
+ return D.functions.on(q.INSPECTOR_TREE_UPDATED, K), D.functions.on(q.INSPECTOR_STATE_UPDATED, Z), be(() => {
2854
+ D.functions.off(q.INSPECTOR_TREE_UPDATED, K), D.functions.off(q.INSPECTOR_STATE_UPDATED, Z);
2855
+ }), (N, M) => (p(), v("div", h1, [
2856
+ y($e, {
2786
2857
  "doc-link": "https://pinia.vuejs.org/",
2787
2858
  "github-repo-link": "https://github.com/vuejs/pinia"
2788
2859
  }, {
2789
- default: M(() => [
2790
- x(Se)
2860
+ default: H(() => [
2861
+ y(Se)
2791
2862
  ]),
2792
2863
  _: 1
2793
2864
  }),
2794
- x(d(Ae), { class: "flex-1 overflow-auto" }, {
2795
- default: M(() => [
2796
- x(d(ue), {
2865
+ y(u(Ae), { class: "flex-1 overflow-auto" }, {
2866
+ default: H(() => [
2867
+ y(u(ue), {
2797
2868
  border: "r base",
2798
2869
  size: "40",
2799
2870
  "h-full": ""
2800
2871
  }, {
2801
- default: M(() => {
2802
- var k;
2872
+ default: H(() => {
2873
+ var w;
2803
2874
  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: _,
2875
+ r("div", g1, [
2876
+ (w = s.value) != null && w.length ? (p(), v("div", C1, [
2877
+ r("div", _1, [
2878
+ (p(!0), v(te, null, ae(s.value, (k, x) => W((p(), v("div", {
2879
+ key: x,
2809
2880
  class: "flex items-center gap1",
2810
- onClick: (N) => L(_)
2881
+ onClick: (R) => P(x)
2811
2882
  }, [
2812
- u("i", {
2813
- class: ie(`i-ic-baseline-${$.icon.replace(/\_/g, "-")}`),
2883
+ r("i", {
2884
+ class: ie(`i-ic-baseline-${k.icon.replace(/\_/g, "-")}`),
2814
2885
  "cursor-pointer": "",
2815
2886
  op70: "",
2816
2887
  "text-base": "",
2817
2888
  "hover:op100": ""
2818
2889
  }, null, 2)
2819
- ], 8, v1)), [
2890
+ ], 8, x1)), [
2820
2891
  [
2821
- d(Q),
2822
- { content: $.tooltip },
2892
+ u(J),
2893
+ { content: k.tooltip },
2823
2894
  void 0,
2824
2895
  { "bottom-end": !0 }
2825
2896
  ]
2826
2897
  ])), 128))
2827
2898
  ])
2828
2899
  ])) : U("", !0),
2829
- u("div", m1, [
2830
- x(Me, {
2900
+ r("div", y1, [
2901
+ y(Me, {
2831
2902
  modelValue: l.value,
2832
- "onUpdate:modelValue": P[0] || (P[0] = ($) => l.value = $),
2903
+ "onUpdate:modelValue": M[0] || (M[0] = (k) => l.value = k),
2833
2904
  data: i.value
2834
2905
  }, null, 8, ["modelValue", "data"])
2835
2906
  ])
@@ -2838,29 +2909,29 @@ const t1 = /* @__PURE__ */ be(Xl, [["render", e1]]), n1 = {
2838
2909
  }),
2839
2910
  _: 1
2840
2911
  }),
2841
- x(d(ue), { size: "60" }, {
2842
- default: M(() => {
2843
- var k;
2912
+ y(u(ue), { size: "60" }, {
2913
+ default: H(() => {
2914
+ var w;
2844
2915
  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: _,
2916
+ r("div", b1, [
2917
+ (w = t.value) != null && w.length ? (p(), v("div", w1, [
2918
+ r("div", k1, [
2919
+ (p(!0), v(te, null, ae(t.value, (k, x) => W((p(), v("div", {
2920
+ key: x,
2850
2921
  class: "flex items-center gap1",
2851
- onClick: (N) => j(_)
2922
+ onClick: (R) => O(x)
2852
2923
  }, [
2853
- u("i", {
2854
- class: ie(`i-ic-baseline-${$.icon.replace(/\_/g, "-")}`),
2924
+ r("i", {
2925
+ class: ie(`i-ic-baseline-${k.icon.replace(/\_/g, "-")}`),
2855
2926
  "cursor-pointer": "",
2856
2927
  op70: "",
2857
2928
  "text-base": "",
2858
2929
  "hover:op100": ""
2859
2930
  }, null, 2)
2860
- ], 8, _1)), [
2931
+ ], 8, I1)), [
2861
2932
  [
2862
- d(Q),
2863
- { content: $.tooltip },
2933
+ u(J),
2934
+ { content: k.tooltip },
2864
2935
  void 0,
2865
2936
  { "bottom-end": !0 }
2866
2937
  ]
@@ -2875,7 +2946,7 @@ const t1 = /* @__PURE__ */ be(Xl, [["render", e1]]), n1 = {
2875
2946
  "inspector-id": pe,
2876
2947
  "expanded-state-id": "pinia-store-state"
2877
2948
  }, null, 8, ["data", "node-id"])) : (p(), z(Ne, { key: 2 }, {
2878
- default: M(() => P[1] || (P[1] = [
2949
+ default: H(() => M[1] || (M[1] = [
2879
2950
  ne(" No Data ")
2880
2951
  ])),
2881
2952
  _: 1
@@ -2890,20 +2961,21 @@ const t1 = /* @__PURE__ */ be(Xl, [["render", e1]]), n1 = {
2890
2961
  })
2891
2962
  ]));
2892
2963
  }
2893
- }), y1 = /* @__PURE__ */ B({
2964
+ }), S1 = "dev.esm.pinia", T1 = /* @__PURE__ */ B({
2894
2965
  __name: "Index",
2895
2966
  setup(n) {
2896
2967
  const e = ["pinia:mutations"];
2897
- return (o, t) => (p(), z(dt, {
2968
+ return (o, t) => (p(), z(pt, {
2898
2969
  "layer-ids": e,
2899
2970
  "doc-link": "https://pinia.vuejs.org/",
2971
+ "plugin-id": S1,
2900
2972
  "github-repo-link": "https://github.com/vuejs/pinia"
2901
2973
  }));
2902
2974
  }
2903
- }), b1 = {
2975
+ }), E1 = {
2904
2976
  "h-full": "",
2905
2977
  "w-full": ""
2906
- }, Y1 = /* @__PURE__ */ B({
2978
+ }, ss = /* @__PURE__ */ B({
2907
2979
  __name: "index",
2908
2980
  setup(n) {
2909
2981
  const e = T(null);
@@ -2912,137 +2984,137 @@ const t1 = /* @__PURE__ */ be(Xl, [["render", e1]]), n1 = {
2912
2984
  {
2913
2985
  path: "/store",
2914
2986
  name: "Store",
2915
- component: x1,
2987
+ component: $1,
2916
2988
  icon: "i-carbon-tree-view-alt"
2917
2989
  },
2918
2990
  {
2919
2991
  path: "/timeline",
2920
2992
  name: "Timeline",
2921
- component: y1,
2993
+ component: T1,
2922
2994
  icon: "i-mdi:timeline-clock-outline"
2923
2995
  },
2924
2996
  {
2925
2997
  path: "/",
2926
2998
  name: "About",
2927
- component: i1,
2999
+ component: f1,
2928
3000
  icon: "i-logos-pinia"
2929
3001
  },
2930
3002
  e.value && {
2931
3003
  path: "/settings",
2932
3004
  name: "Settings",
2933
- component: u1,
3005
+ component: m1,
2934
3006
  icon: "i-mdi:cog-outline"
2935
3007
  }
2936
- ].filter(Boolean)), { VirtualRouterView: t, restoreRouter: s } = lt(o, {
3008
+ ].filter(Boolean)), { VirtualRouterView: t, restoreRouter: s } = st(o, {
2937
3009
  defaultRoutePath: "/store"
2938
3010
  });
2939
3011
  return Re(() => {
2940
3012
  D.value.getPluginSettings("dev.esm.pinia").then((i) => {
2941
3013
  i.options ? e.value = i : e.value = null;
2942
3014
  });
2943
- }), (l, i) => (p(), m("div", b1, [
2944
- x(d(t))
3015
+ }), (l, i) => (p(), v("div", E1, [
3016
+ y(u(t))
2945
3017
  ]));
2946
3018
  }
2947
- }), w1 = {}, k1 = {
3019
+ }), V1 = {}, N1 = {
2948
3020
  viewBox: "0 0 566 154",
2949
3021
  fill: "none",
2950
3022
  xmlns: "http://www.w3.org/2000/svg"
2951
3023
  };
2952
- function I1(n, e) {
2953
- return p(), m("svg", k1, e[0] || (e[0] = [
2954
- u("svg", {
3024
+ function R1(n, e) {
3025
+ return p(), v("svg", N1, e[0] || (e[0] = [
3026
+ r("svg", {
2955
3027
  xmlns: "http://www.w3.org/2000/svg",
2956
3028
  width: "8em",
2957
3029
  height: "8em",
2958
3030
  viewBox: "0 -4 24 24"
2959
3031
  }, [
2960
- u("path", {
3032
+ r("path", {
2961
3033
  fill: "#3dd68c",
2962
3034
  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
3035
  })
2964
3036
  ], -1),
2965
- u("path", {
3037
+ r("path", {
2966
3038
  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
3039
  fill: "currentColor"
2968
3040
  }, null, -1)
2969
3041
  ]));
2970
3042
  }
2971
- const $1 = /* @__PURE__ */ be(w1, [["render", I1]]), S1 = {
3043
+ const A1 = /* @__PURE__ */ Ce(V1, [["render", R1]]), D1 = {
2972
3044
  "h-full": "",
2973
3045
  "w-full": "",
2974
3046
  flex: "",
2975
3047
  "items-center": ""
2976
- }, T1 = {
3048
+ }, P1 = {
2977
3049
  flex: "~ col gap2",
2978
3050
  ma: "",
2979
3051
  "px-5": ""
2980
- }, E1 = {
3052
+ }, M1 = {
2981
3053
  flex: "~ col",
2982
3054
  "mt-20": "",
2983
3055
  "items-center": ""
2984
- }, V1 = {
3056
+ }, L1 = {
2985
3057
  flex: "~",
2986
3058
  "mt--10": "",
2987
3059
  "items-center": "",
2988
3060
  "justify-center": ""
2989
- }, N1 = { flex: "~ gap2 wrap" }, R1 = /* @__PURE__ */ B({
3061
+ }, H1 = { flex: "~ gap2 wrap" }, j1 = /* @__PURE__ */ B({
2990
3062
  __name: "About",
2991
3063
  setup(n) {
2992
3064
  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": "" })
3065
+ return (o, t) => (p(), v("div", D1, [
3066
+ r("div", P1, [
3067
+ t[5] || (t[5] = r("div", { "flex-auto": "" }, null, -1)),
3068
+ r("div", M1, [
3069
+ r("div", L1, [
3070
+ y(A1, { "h-18": "" })
2999
3071
  ]),
3000
- t[2] || (t[2] = u("div", {
3072
+ t[2] || (t[2] = r("div", {
3001
3073
  mb6: "",
3002
3074
  "mt--1": "",
3003
3075
  "text-center": "",
3004
3076
  "text-sm": "",
3005
3077
  flex: "~ gap-1"
3006
3078
  }, [
3007
- u("span", { op40: "" }, " Router DevTools ")
3079
+ r("span", { op40: "" }, " Router DevTools ")
3008
3080
  ], -1))
3009
3081
  ]),
3010
- t[6] || (t[6] = u("div", { "flex-auto": "" }, null, -1)),
3011
- u("div", N1, [
3012
- u("div", {
3082
+ t[6] || (t[6] = r("div", { "flex-auto": "" }, null, -1)),
3083
+ r("div", H1, [
3084
+ r("div", {
3013
3085
  flex: "~ col auto",
3014
3086
  "min-w-40": "",
3015
3087
  p4: "",
3016
3088
  "theme-card-lime": "",
3017
- onClick: t[0] || (t[0] = (s) => d(e).push("/routes"))
3089
+ onClick: t[0] || (t[0] = (s) => u(e).push("/routes"))
3018
3090
  }, t[3] || (t[3] = [
3019
- u("div", {
3091
+ r("div", {
3020
3092
  "i-carbon-tree-view-alt": "",
3021
3093
  "text-3xl": ""
3022
3094
  }, null, -1),
3023
- u("code", null, "Routes", -1)
3095
+ r("code", null, "Routes", -1)
3024
3096
  ])),
3025
- u("div", {
3097
+ r("div", {
3026
3098
  flex: "~ col auto",
3027
3099
  "min-w-40": "",
3028
3100
  p4: "",
3029
3101
  "theme-card-lime": "",
3030
- onClick: t[1] || (t[1] = (s) => d(e).push("/timeline"))
3102
+ onClick: t[1] || (t[1] = (s) => u(e).push("/timeline"))
3031
3103
  }, t[4] || (t[4] = [
3032
- u("div", {
3104
+ r("div", {
3033
3105
  "i-mdi:timeline-clock-outline": "",
3034
3106
  "text-3xl": ""
3035
3107
  }, null, -1),
3036
- u("div", null, "Timeline", -1)
3108
+ r("div", null, "Timeline", -1)
3037
3109
  ]))
3038
3110
  ]),
3039
- t[7] || (t[7] = u("div", {
3111
+ t[7] || (t[7] = r("div", {
3040
3112
  flex: "~ gap-6 wrap",
3041
3113
  "mt-5": "",
3042
3114
  "items-center": "",
3043
3115
  "justify-center": ""
3044
3116
  }, [
3045
- u("a", {
3117
+ r("a", {
3046
3118
  href: "https://github.com/vuejs/router",
3047
3119
  target: "_blank",
3048
3120
  flex: "~ gap1",
@@ -3051,10 +3123,10 @@ const $1 = /* @__PURE__ */ be(w1, [["render", I1]]), S1 = {
3051
3123
  hover: "op100 text-blue",
3052
3124
  transition: ""
3053
3125
  }, [
3054
- u("div", { "i-carbon-star": "" }),
3126
+ r("div", { "i-carbon-star": "" }),
3055
3127
  ne(" Star on GitHub ")
3056
3128
  ]),
3057
- u("a", {
3129
+ r("a", {
3058
3130
  href: "https://router.vuejs.org/",
3059
3131
  target: "_blank",
3060
3132
  flex: "~ gap1",
@@ -3063,122 +3135,122 @@ const $1 = /* @__PURE__ */ be(w1, [["render", I1]]), S1 = {
3063
3135
  hover: "op100 text-yellow",
3064
3136
  transition: ""
3065
3137
  }, [
3066
- u("div", { "i-carbon-document": "" }),
3138
+ r("div", { "i-carbon-document": "" }),
3067
3139
  ne(" View Documentation ")
3068
3140
  ])
3069
3141
  ], -1)),
3070
- t[8] || (t[8] = u("div", { "flex-auto": "" }, null, -1))
3142
+ t[8] || (t[8] = r("div", { "flex-auto": "" }, null, -1))
3071
3143
  ])
3072
3144
  ]));
3073
3145
  }
3074
- }), A1 = { class: "h-full flex flex-col" }, D1 = {
3146
+ }), O1 = { class: "h-full flex flex-col" }, U1 = {
3075
3147
  "h-full": "",
3076
3148
  "select-none": "",
3077
3149
  "overflow-scroll": "",
3078
3150
  p2: "",
3079
3151
  class: "no-scrollbar"
3080
- }, P1 = {
3152
+ }, z1 = {
3081
3153
  "h-full": "",
3082
3154
  "select-none": "",
3083
3155
  "overflow-scroll": "",
3084
3156
  class: "no-scrollbar"
3085
- }, M1 = /* @__PURE__ */ B({
3157
+ }, B1 = /* @__PURE__ */ B({
3086
3158
  __name: "Index",
3087
3159
  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 = []) {
3160
+ const { expanded: e } = me(), { expanded: o } = me("routes-state"), t = Te(), s = V(() => t.value.id), l = T(""), i = T([]), c = V(() => {
3161
+ var C, S;
3162
+ return (C = i.value) != null && C.length ? a((S = i.value) == null ? void 0 : S[0]) : [];
3163
+ }), d = V(() => E(i.value)), h = V(() => d.value.map((C) => C.id)), f = T({});
3164
+ function a(C, S = [], L = []) {
3093
3165
  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) => {
3166
+ 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) => {
3167
+ a(Z, S, L);
3168
+ }), S.pop(), L;
3169
+ }
3170
+ function m(C, S) {
3171
+ const L = [];
3172
+ return C == null || C.forEach((K) => {
3173
+ L.push(...K.slice(0, S + 1));
3174
+ }), [...new Set(L)];
3175
+ }
3176
+ function E(C) {
3177
+ const S = [], L = (K) => {
3106
3178
  K == null || K.forEach((Z) => {
3107
- var E;
3108
- R.push(Z), (E = Z.children) != null && E.length && H(Z.children);
3179
+ var N;
3180
+ S.push(Z), (N = Z.children) != null && N.length && L(Z.children);
3109
3181
  });
3110
3182
  };
3111
- return H(I), R;
3183
+ return L(C), S;
3112
3184
  }
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}`));
3185
+ function A(C) {
3186
+ var S;
3187
+ for (const L in C)
3188
+ (S = C[L]) != null && S.length || delete C[L];
3189
+ return C;
3190
+ }
3191
+ function g(C) {
3192
+ D.value.getInspectorState({ inspectorId: s.value, nodeId: C }).then((S) => {
3193
+ const L = X(S);
3194
+ L && (f.value = A(L), o.value = Array.from({ length: Object.keys(f.value).length }, (K, Z) => `${Z}`));
3123
3195
  });
3124
3196
  }
3125
- function w() {
3197
+ function $() {
3126
3198
  f.value = {};
3127
3199
  }
3128
- X(l, () => {
3129
- w(), v(l.value);
3200
+ Q(l, () => {
3201
+ $(), g(l.value);
3130
3202
  });
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));
3203
+ const O = () => {
3204
+ D.value.getInspectorTree({ inspectorId: s.value, filter: "" }).then((C) => {
3205
+ const S = X(C);
3206
+ i.value = S, !l.value && S.length && (l.value = S[0].id, g(S[0].id), e.value = m(c.value, 1));
3135
3207
  });
3136
3208
  };
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)
3209
+ jt(s).toBeTruthy().then(O);
3210
+ function P(C) {
3211
+ const S = X(C);
3212
+ 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)));
3213
+ }
3214
+ function _(C) {
3215
+ const S = X(C);
3216
+ if (S.inspectorId !== s.value)
3145
3217
  return;
3146
- const H = R.state;
3147
- f.value = C(H);
3218
+ const L = S.state;
3219
+ f.value = A(L);
3148
3220
  }
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, {
3221
+ return D.functions.on(q.INSPECTOR_TREE_UPDATED, P), D.functions.on(q.INSPECTOR_STATE_UPDATED, _), be(() => {
3222
+ D.functions.off(q.INSPECTOR_TREE_UPDATED, P), D.functions.off(q.INSPECTOR_STATE_UPDATED, _);
3223
+ }), (C, S) => (p(), v("div", O1, [
3224
+ y($e, {
3153
3225
  "doc-link": "https://router.vuejs.org/",
3154
3226
  "github-repo-link": "https://github.com/vuejs/router"
3155
3227
  }, {
3156
- default: M(() => [
3157
- x(Se)
3228
+ default: H(() => [
3229
+ y(Se)
3158
3230
  ]),
3159
3231
  _: 1
3160
3232
  }),
3161
- x(d(Ae), { class: "flex-1 overflow-auto" }, {
3162
- default: M(() => [
3163
- x(d(ue), {
3233
+ y(u(Ae), { class: "flex-1 overflow-auto" }, {
3234
+ default: H(() => [
3235
+ y(u(ue), {
3164
3236
  border: "r base",
3165
3237
  size: "40",
3166
3238
  "h-full": ""
3167
3239
  }, {
3168
- default: M(() => [
3169
- u("div", D1, [
3170
- x(Me, {
3240
+ default: H(() => [
3241
+ r("div", U1, [
3242
+ y(Me, {
3171
3243
  modelValue: l.value,
3172
- "onUpdate:modelValue": R[0] || (R[0] = (H) => l.value = H),
3244
+ "onUpdate:modelValue": S[0] || (S[0] = (L) => l.value = L),
3173
3245
  data: i.value
3174
3246
  }, null, 8, ["modelValue", "data"])
3175
3247
  ])
3176
3248
  ]),
3177
3249
  _: 1
3178
3250
  }),
3179
- x(d(ue), { size: "60" }, {
3180
- default: M(() => [
3181
- u("div", P1, [
3251
+ y(u(ue), { size: "60" }, {
3252
+ default: H(() => [
3253
+ r("div", z1, [
3182
3254
  l.value ? (p(), z(Pe, {
3183
3255
  key: 0,
3184
3256
  class: "p3",
@@ -3187,7 +3259,7 @@ const $1 = /* @__PURE__ */ be(w1, [["render", I1]]), S1 = {
3187
3259
  "inspector-id": "router",
3188
3260
  "expanded-state-id": "routes-state"
3189
3261
  }, null, 8, ["data"])) : (p(), z(Ne, { key: 1 }, {
3190
- default: M(() => R[1] || (R[1] = [
3262
+ default: H(() => S[1] || (S[1] = [
3191
3263
  ne(" No Data ")
3192
3264
  ])),
3193
3265
  _: 1
@@ -3201,42 +3273,43 @@ const $1 = /* @__PURE__ */ be(w1, [["render", I1]]), S1 = {
3201
3273
  })
3202
3274
  ]));
3203
3275
  }
3204
- }), H1 = /* @__PURE__ */ B({
3276
+ }), Z1 = "org.vuejs.router", F1 = /* @__PURE__ */ B({
3205
3277
  __name: "Index",
3206
3278
  setup(n) {
3207
3279
  const e = Te();
3208
- return (o, t) => (p(), z(dt, {
3209
- "layer-ids": d(e).timelineLayerIds,
3280
+ return (o, t) => (p(), z(pt, {
3281
+ "layer-ids": u(e).timelineLayerIds,
3210
3282
  "doc-link": "https://router.vuejs.org/",
3283
+ "plugin-id": Z1,
3211
3284
  "github-repo-link": "https://github.com/vuejs/router"
3212
3285
  }, null, 8, ["layer-ids"]));
3213
3286
  }
3214
- }), L1 = {
3287
+ }), G1 = {
3215
3288
  "h-full": "",
3216
3289
  "w-full": ""
3217
- }, X1 = /* @__PURE__ */ B({
3290
+ }, as = /* @__PURE__ */ B({
3218
3291
  __name: "index",
3219
3292
  props: {
3220
3293
  id: {}
3221
3294
  },
3222
3295
  setup(n) {
3223
- const e = n, o = Bt(), t = T(!1), { VirtualRouterView: s, restoreRouter: l } = lt([
3296
+ const e = n, o = Zt(), t = T(!1), { VirtualRouterView: s, restoreRouter: l } = st([
3224
3297
  {
3225
3298
  path: "/routes",
3226
3299
  name: "Routes",
3227
- component: M1,
3300
+ component: B1,
3228
3301
  icon: "i-carbon-tree-view-alt"
3229
3302
  },
3230
3303
  {
3231
3304
  path: "/timeline",
3232
3305
  name: "Timeline",
3233
- component: H1,
3306
+ component: F1,
3234
3307
  icon: "i-mdi:timeline-clock-outline"
3235
3308
  },
3236
3309
  {
3237
3310
  path: "/about",
3238
3311
  name: "About",
3239
- component: R1,
3312
+ component: j1,
3240
3313
  icon: "i-ri-route-line"
3241
3314
  }
3242
3315
  ], {
@@ -3244,33 +3317,33 @@ const $1 = /* @__PURE__ */ be(w1, [["render", I1]]), S1 = {
3244
3317
  });
3245
3318
  function i() {
3246
3319
  t.value = !0, Re(() => {
3247
- D.value.getInspectorInfo(e.id).then((r) => {
3248
- if (!r)
3320
+ D.value.getInspectorInfo(e.id).then((c) => {
3321
+ if (!c)
3249
3322
  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)
3323
+ const d = {
3324
+ homepage: c == null ? void 0 : c.homepage,
3325
+ id: c == null ? void 0 : c.id,
3326
+ label: c == null ? void 0 : c.label,
3327
+ logo: c == null ? void 0 : c.logo,
3328
+ timelineLayerIds: c == null ? void 0 : c.timelineLayers.map((h) => h.id)
3256
3329
  };
3257
- o.value = c, l(), t.value = !1;
3330
+ o.value = d, l(), t.value = !1;
3258
3331
  });
3259
3332
  });
3260
3333
  }
3261
- return X(() => e.id, (r) => {
3262
- r && i();
3263
- }), (r, c) => (p(), m("div", L1, [
3264
- x(d(s))
3334
+ return Q(() => e.id, (c) => {
3335
+ c && i();
3336
+ }), (c, d) => (p(), v("div", G1, [
3337
+ y(u(s))
3265
3338
  ]));
3266
3339
  }
3267
3340
  });
3268
3341
  export {
3269
- q1 as Components,
3270
- J1 as CustomInspector,
3271
- Y1 as Pinia,
3272
- X1 as Router,
3342
+ os as Components,
3343
+ ls as CustomInspector,
3344
+ ss as Pinia,
3345
+ as as Router,
3273
3346
  Sn as SelectiveList,
3274
- dt as Timeline,
3275
- W1 as useCustomInspector
3347
+ pt as Timeline,
3348
+ ns as useCustomInspector
3276
3349
  };