@vue/devtools-applet 7.6.7 → 7.7.0

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