@vue/devtools-applet 8.0.2 → 8.0.3

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