app-devtools 0.28.0 → 0.29.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 (2) hide show
  1. package/dist/main.js +437 -425
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -1,34 +1,34 @@
1
1
  import ne from "dayjs";
2
- import { dequal as vt } from "dequal";
3
- import { produce as Zt } from "immer";
4
- import { parse as Wt } from "regexparam";
5
- import { nanoid as Kt } from "nanoid";
2
+ import { dequal as wt } from "dequal";
3
+ import { produce as Wt } from "immer";
4
+ import { parse as Kt } from "regexparam";
5
+ import { nanoid as Jt } from "nanoid";
6
6
  import * as Xt from "diff";
7
7
  import Yt from "tinykeys";
8
8
  const U = {}, Gt = (e, t) => e === t, D = Symbol("solid-proxy"), ve = Symbol("solid-track"), be = {
9
9
  equals: Gt
10
10
  };
11
- let Qt = At;
12
- const q = 1, we = 2, bt = {
11
+ let Qt = Tt;
12
+ const q = 1, we = 2, xt = {
13
13
  owned: null,
14
14
  cleanups: null,
15
15
  context: null,
16
16
  owner: null
17
17
  };
18
18
  var P = null;
19
- let X = null, A = null, E = null, Y = null, Ze = 0;
19
+ let J = null, N = null, E = null, X = null, Ke = 0;
20
20
  function re(e, t) {
21
- const n = A, r = P, l = e.length === 0, o = l ? bt : {
21
+ const n = N, r = P, l = e.length === 0, o = l ? xt : {
22
22
  owned: null,
23
23
  cleanups: null,
24
24
  context: null,
25
25
  owner: t === void 0 ? r : t
26
26
  }, s = l ? e : () => e(() => Z(() => Te(o)));
27
- P = o, A = null;
27
+ P = o, N = null;
28
28
  try {
29
29
  return ue(s, !0);
30
30
  } finally {
31
- A = n, P = r;
31
+ N = n, P = r;
32
32
  }
33
33
  }
34
34
  function oe(e, t) {
@@ -38,88 +38,88 @@ function oe(e, t) {
38
38
  observers: null,
39
39
  observerSlots: null,
40
40
  comparator: t.equals || void 0
41
- }, r = (l) => (typeof l == "function" && (l = l(n.value)), _t(n, l));
42
- return [Ct.bind(n), r];
41
+ }, r = (l) => (typeof l == "function" && (l = l(n.value)), kt(n, l));
42
+ return [St.bind(n), r];
43
43
  }
44
44
  function _(e, t, n) {
45
- const r = St(e, t, !1, q);
46
- Ne(r);
45
+ const r = Nt(e, t, !1, q);
46
+ Ae(r);
47
47
  }
48
48
  function m(e, t, n) {
49
49
  n = n ? Object.assign({}, be, n) : be;
50
- const r = St(e, t, !0, 0);
51
- return r.observers = null, r.observerSlots = null, r.comparator = n.equals || void 0, Ne(r), Ct.bind(r);
50
+ const r = Nt(e, t, !0, 0);
51
+ return r.observers = null, r.observerSlots = null, r.comparator = n.equals || void 0, Ae(r), St.bind(r);
52
52
  }
53
- function Jt(e) {
53
+ function qt(e) {
54
54
  return ue(e, !1);
55
55
  }
56
56
  function Z(e) {
57
- if (A === null)
57
+ if (N === null)
58
58
  return e();
59
- const t = A;
60
- A = null;
59
+ const t = N;
60
+ N = null;
61
61
  try {
62
62
  return e();
63
63
  } finally {
64
- A = t;
64
+ N = t;
65
65
  }
66
66
  }
67
- function wt(e) {
67
+ function Ct(e) {
68
68
  return P === null || (P.cleanups === null ? P.cleanups = [e] : P.cleanups.push(e)), e;
69
69
  }
70
- function xt() {
71
- return A;
70
+ function _t() {
71
+ return N;
72
72
  }
73
- function qt(e) {
73
+ function en(e) {
74
74
  const t = m(e), n = m(() => De(t()));
75
75
  return n.toArray = () => {
76
76
  const r = n();
77
77
  return Array.isArray(r) ? r : r != null ? [r] : [];
78
78
  }, n;
79
79
  }
80
- function Ct() {
81
- const e = X;
80
+ function St() {
81
+ const e = J;
82
82
  if (this.sources && (this.state || e))
83
83
  if (this.state === q || e)
84
- Ne(this);
84
+ Ae(this);
85
85
  else {
86
86
  const t = E;
87
87
  E = null, ue(() => xe(this), !1), E = t;
88
88
  }
89
- if (A) {
89
+ if (N) {
90
90
  const t = this.observers ? this.observers.length : 0;
91
- A.sources ? (A.sources.push(this), A.sourceSlots.push(t)) : (A.sources = [this], A.sourceSlots = [t]), this.observers ? (this.observers.push(A), this.observerSlots.push(A.sources.length - 1)) : (this.observers = [A], this.observerSlots = [A.sources.length - 1]);
91
+ N.sources ? (N.sources.push(this), N.sourceSlots.push(t)) : (N.sources = [this], N.sourceSlots = [t]), this.observers ? (this.observers.push(N), this.observerSlots.push(N.sources.length - 1)) : (this.observers = [N], this.observerSlots = [N.sources.length - 1]);
92
92
  }
93
93
  return this.value;
94
94
  }
95
- function _t(e, t, n) {
95
+ function kt(e, t, n) {
96
96
  let r = e.value;
97
97
  return (!e.comparator || !e.comparator(r, t)) && (e.value = t, e.observers && e.observers.length && ue(() => {
98
98
  for (let l = 0; l < e.observers.length; l += 1) {
99
- const o = e.observers[l], s = X && X.running;
100
- s && X.disposed.has(o), (s && !o.tState || !s && !o.state) && (o.pure ? E.push(o) : Y.push(o), o.observers && Nt(o)), s || (o.state = q);
99
+ const o = e.observers[l], s = J && J.running;
100
+ s && J.disposed.has(o), (s && !o.tState || !s && !o.state) && (o.pure ? E.push(o) : X.push(o), o.observers && Pt(o)), s || (o.state = q);
101
101
  }
102
102
  if (E.length > 1e6)
103
103
  throw E = [], new Error();
104
104
  }, !1)), t;
105
105
  }
106
- function Ne(e) {
106
+ function Ae(e) {
107
107
  if (!e.fn)
108
108
  return;
109
109
  Te(e);
110
- const t = P, n = A, r = Ze;
111
- A = P = e, en(e, e.value, r), A = n, P = t;
110
+ const t = P, n = N, r = Ke;
111
+ N = P = e, tn(e, e.value, r), N = n, P = t;
112
112
  }
113
- function en(e, t, n) {
113
+ function tn(e, t, n) {
114
114
  let r;
115
115
  try {
116
116
  r = e.fn(t);
117
117
  } catch (l) {
118
- e.pure && (e.state = q, e.owned && e.owned.forEach(Te), e.owned = null), Tt(l);
118
+ e.pure && (e.state = q, e.owned && e.owned.forEach(Te), e.owned = null), Et(l);
119
119
  }
120
- (!e.updatedAt || e.updatedAt <= n) && (e.updatedAt != null && "observers" in e ? _t(e, r) : e.value = r, e.updatedAt = n);
120
+ (!e.updatedAt || e.updatedAt <= n) && (e.updatedAt != null && "observers" in e ? kt(e, r) : e.value = r, e.updatedAt = n);
121
121
  }
122
- function St(e, t, n, r = q, l) {
122
+ function Nt(e, t, n, r = q, l) {
123
123
  const o = {
124
124
  fn: e,
125
125
  state: r,
@@ -133,10 +133,10 @@ function St(e, t, n, r = q, l) {
133
133
  context: null,
134
134
  pure: n
135
135
  };
136
- return P === null || P !== bt && (P.owned ? P.owned.push(o) : P.owned = [o]), o;
136
+ return P === null || P !== xt && (P.owned ? P.owned.push(o) : P.owned = [o]), o;
137
137
  }
138
- function kt(e) {
139
- const t = X;
138
+ function At(e) {
139
+ const t = J;
140
140
  if (e.state === 0 || t)
141
141
  return;
142
142
  if (e.state === we || t)
@@ -144,11 +144,11 @@ function kt(e) {
144
144
  if (e.suspense && Z(e.suspense.inFallback))
145
145
  return e.suspense.effects.push(e);
146
146
  const n = [e];
147
- for (; (e = e.owner) && (!e.updatedAt || e.updatedAt < Ze); )
147
+ for (; (e = e.owner) && (!e.updatedAt || e.updatedAt < Ke); )
148
148
  (e.state || t) && n.push(e);
149
149
  for (let r = n.length - 1; r >= 0; r--)
150
150
  if (e = n[r], e.state === q || t)
151
- Ne(e);
151
+ Ae(e);
152
152
  else if (e.state === we || t) {
153
153
  const l = E;
154
154
  E = null, ue(() => xe(e, n[0]), !1), E = l;
@@ -158,37 +158,37 @@ function ue(e, t) {
158
158
  if (E)
159
159
  return e();
160
160
  let n = !1;
161
- t || (E = []), Y ? n = !0 : Y = [], Ze++;
161
+ t || (E = []), X ? n = !0 : X = [], Ke++;
162
162
  try {
163
163
  const r = e();
164
- return tn(n), r;
164
+ return nn(n), r;
165
165
  } catch (r) {
166
- n || (Y = null), E = null, Tt(r);
166
+ n || (X = null), E = null, Et(r);
167
167
  }
168
168
  }
169
- function tn(e) {
170
- if (E && (At(E), E = null), e)
169
+ function nn(e) {
170
+ if (E && (Tt(E), E = null), e)
171
171
  return;
172
- const t = Y;
173
- Y = null, t.length && ue(() => Qt(t), !1);
172
+ const t = X;
173
+ X = null, t.length && ue(() => Qt(t), !1);
174
174
  }
175
- function At(e) {
175
+ function Tt(e) {
176
176
  for (let t = 0; t < e.length; t++)
177
- kt(e[t]);
177
+ At(e[t]);
178
178
  }
179
179
  function xe(e, t) {
180
- const n = X;
180
+ const n = J;
181
181
  e.state = 0;
182
182
  for (let r = 0; r < e.sources.length; r += 1) {
183
183
  const l = e.sources[r];
184
- l.sources && (l.state === q || n ? l !== t && kt(l) : (l.state === we || n) && xe(l, t));
184
+ l.sources && (l.state === q || n ? l !== t && At(l) : (l.state === we || n) && xe(l, t));
185
185
  }
186
186
  }
187
- function Nt(e) {
188
- const t = X;
187
+ function Pt(e) {
188
+ const t = J;
189
189
  for (let n = 0; n < e.observers.length; n += 1) {
190
190
  const r = e.observers[n];
191
- (!r.state || t) && (r.state = we, r.pure ? E.push(r) : Y.push(r), r.observers && Nt(r));
191
+ (!r.state || t) && (r.state = we, r.pure ? E.push(r) : X.push(r), r.observers && Pt(r));
192
192
  }
193
193
  }
194
194
  function Te(e) {
@@ -213,11 +213,11 @@ function Te(e) {
213
213
  }
214
214
  e.state = 0, e.context = null;
215
215
  }
216
- function nn(e) {
216
+ function rn(e) {
217
217
  return e instanceof Error || typeof e == "string" ? e : new Error("Unknown error");
218
218
  }
219
- function Tt(e) {
220
- throw e = nn(e), e;
219
+ function Et(e) {
220
+ throw e = rn(e), e;
221
221
  }
222
222
  function De(e) {
223
223
  if (typeof e == "function" && !e.length)
@@ -232,31 +232,31 @@ function De(e) {
232
232
  }
233
233
  return e;
234
234
  }
235
- const Re = Symbol("fallback");
235
+ const ze = Symbol("fallback");
236
236
  function Ce(e) {
237
237
  for (let t = 0; t < e.length; t++)
238
238
  e[t]();
239
239
  }
240
- function rn(e, t, n = {}) {
240
+ function ln(e, t, n = {}) {
241
241
  let r = [], l = [], o = [], s = 0, i = t.length > 1 ? [] : null;
242
- return wt(() => Ce(o)), () => {
242
+ return Ct(() => Ce(o)), () => {
243
243
  let a = e() || [], c, u;
244
244
  return a[ve], Z(() => {
245
- let d = a.length, g, v, b, w, k, x, N, T, O;
245
+ let d = a.length, g, v, b, w, k, x, A, T, O;
246
246
  if (d === 0)
247
- s !== 0 && (Ce(o), o = [], r = [], l = [], s = 0, i && (i = [])), n.fallback && (r = [Re], l[0] = re((H) => (o[0] = H, n.fallback())), s = 1);
247
+ s !== 0 && (Ce(o), o = [], r = [], l = [], s = 0, i && (i = [])), n.fallback && (r = [ze], l[0] = re((H) => (o[0] = H, n.fallback())), s = 1);
248
248
  else if (s === 0) {
249
249
  for (l = new Array(d), u = 0; u < d; u++)
250
250
  r[u] = a[u], l[u] = re(p);
251
251
  s = d;
252
252
  } else {
253
- for (b = new Array(d), w = new Array(d), i && (k = new Array(d)), x = 0, N = Math.min(s, d); x < N && r[x] === a[x]; x++)
253
+ for (b = new Array(d), w = new Array(d), i && (k = new Array(d)), x = 0, A = Math.min(s, d); x < A && r[x] === a[x]; x++)
254
254
  ;
255
- for (N = s - 1, T = d - 1; N >= x && T >= x && r[N] === a[T]; N--, T--)
256
- b[T] = l[N], w[T] = o[N], i && (k[T] = i[N]);
255
+ for (A = s - 1, T = d - 1; A >= x && T >= x && r[A] === a[T]; A--, T--)
256
+ b[T] = l[A], w[T] = o[A], i && (k[T] = i[A]);
257
257
  for (g = /* @__PURE__ */ new Map(), v = new Array(T + 1), u = T; u >= x; u--)
258
258
  O = a[u], c = g.get(O), v[u] = c === void 0 ? -1 : c, g.set(O, u);
259
- for (c = x; c <= N; c++)
259
+ for (c = x; c <= A; c++)
260
260
  O = r[c], u = g.get(O), u !== void 0 && u !== -1 ? (b[u] = l[c], w[u] = o[c], i && (k[u] = i[c]), u = v[u], g.set(O, u)) : o[c]();
261
261
  for (u = x; u < d; u++)
262
262
  u in b ? (l[u] = b[u], o[u] = w[u], i && (i[u] = k[u], i[u](u))) : l[u] = re(p);
@@ -273,14 +273,14 @@ function rn(e, t, n = {}) {
273
273
  }
274
274
  };
275
275
  }
276
- function ln(e, t, n = {}) {
276
+ function on(e, t, n = {}) {
277
277
  let r = [], l = [], o = [], s = [], i = 0, a;
278
- return wt(() => Ce(o)), () => {
278
+ return Ct(() => Ce(o)), () => {
279
279
  const c = e() || [];
280
280
  return c[ve], Z(() => {
281
281
  if (c.length === 0)
282
- return i !== 0 && (Ce(o), o = [], r = [], l = [], i = 0, s = []), n.fallback && (r = [Re], l[0] = re((p) => (o[0] = p, n.fallback())), i = 1), l;
283
- for (r[0] === Re && (o[0](), o = [], r = [], l = [], i = 0), a = 0; a < c.length; a++)
282
+ return i !== 0 && (Ce(o), o = [], r = [], l = [], i = 0, s = []), n.fallback && (r = [ze], l[0] = re((p) => (o[0] = p, n.fallback())), i = 1), l;
283
+ for (r[0] === ze && (o[0](), o = [], r = [], l = [], i = 0), a = 0; a < c.length; a++)
284
284
  a < r.length && r[a] !== c[a] ? s[a](() => c[a]) : a >= r.length && (l[a] = re(u));
285
285
  for (; a < r.length; a++)
286
286
  o[a]();
@@ -299,7 +299,7 @@ function h(e, t) {
299
299
  function me() {
300
300
  return !0;
301
301
  }
302
- const on = {
302
+ const sn = {
303
303
  get(e, t, n) {
304
304
  return t === D ? n : e.get(t);
305
305
  },
@@ -326,7 +326,7 @@ const on = {
326
326
  function Ie(e) {
327
327
  return (e = typeof e == "function" ? e() : e) ? e : {};
328
328
  }
329
- function sn(...e) {
329
+ function an(...e) {
330
330
  let t = !1;
331
331
  for (let r = 0; r < e.length; r++) {
332
332
  const l = e[r];
@@ -353,7 +353,7 @@ function sn(...e) {
353
353
  r.push(...Object.keys(Ie(e[l])));
354
354
  return [...new Set(r)];
355
355
  }
356
- }, on);
356
+ }, sn);
357
357
  const n = {};
358
358
  for (let r = e.length - 1; r >= 0; r--)
359
359
  if (e[r]) {
@@ -372,19 +372,19 @@ function sn(...e) {
372
372
  }
373
373
  return n;
374
374
  }
375
- function Q(e) {
375
+ function G(e) {
376
376
  const t = "fallback" in e && {
377
377
  fallback: () => e.fallback
378
378
  };
379
- return m(rn(() => e.each, e.children, t || void 0));
379
+ return m(ln(() => e.each, e.children, t || void 0));
380
380
  }
381
- function an(e) {
381
+ function cn(e) {
382
382
  const t = "fallback" in e && {
383
383
  fallback: () => e.fallback
384
384
  };
385
- return m(ln(() => e.each, e.children, t || void 0));
385
+ return m(on(() => e.each, e.children, t || void 0));
386
386
  }
387
- function G(e) {
387
+ function Y(e) {
388
388
  let t = !1;
389
389
  const n = e.keyed, r = m(() => e.when, void 0, {
390
390
  equals: (l, o) => t ? l === o : !l == !o
@@ -398,9 +398,9 @@ function G(e) {
398
398
  return e.fallback;
399
399
  }, void 0, void 0);
400
400
  }
401
- function cn(e) {
401
+ function un(e) {
402
402
  let t = !1, n = !1;
403
- const r = (s, i) => s[0] === i[0] && (t ? s[1] === i[1] : !s[1] == !i[1]) && s[2] === i[2], l = qt(() => e.children), o = m(() => {
403
+ const r = (s, i) => s[0] === i[0] && (t ? s[1] === i[1] : !s[1] == !i[1]) && s[2] === i[2], l = en(() => e.children), o = m(() => {
404
404
  let s = l();
405
405
  Array.isArray(s) || (s = [s]);
406
406
  for (let i = 0; i < s.length; i++) {
@@ -423,21 +423,21 @@ function cn(e) {
423
423
  function de(e) {
424
424
  return e;
425
425
  }
426
- const un = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "controls", "default", "disabled", "formnovalidate", "hidden", "indeterminate", "ismap", "loop", "multiple", "muted", "nomodule", "novalidate", "open", "playsinline", "readonly", "required", "reversed", "seamless", "selected"], dn = /* @__PURE__ */ new Set(["className", "value", "readOnly", "formNoValidate", "isMap", "noModule", "playsInline", ...un]), fn = /* @__PURE__ */ new Set(["innerHTML", "textContent", "innerText", "children"]), pn = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
426
+ const dn = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "controls", "default", "disabled", "formnovalidate", "hidden", "indeterminate", "ismap", "loop", "multiple", "muted", "nomodule", "novalidate", "open", "playsinline", "readonly", "required", "reversed", "seamless", "selected"], fn = /* @__PURE__ */ new Set(["className", "value", "readOnly", "formNoValidate", "isMap", "noModule", "playsInline", ...dn]), pn = /* @__PURE__ */ new Set(["innerHTML", "textContent", "innerText", "children"]), hn = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
427
427
  className: "class",
428
428
  htmlFor: "for"
429
- }), Xe = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
429
+ }), Ye = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
430
430
  class: "className",
431
431
  formnovalidate: "formNoValidate",
432
432
  ismap: "isMap",
433
433
  nomodule: "noModule",
434
434
  playsinline: "playsInline",
435
435
  readonly: "readOnly"
436
- }), hn = /* @__PURE__ */ new Set(["beforeinput", "click", "dblclick", "contextmenu", "focusin", "focusout", "input", "keydown", "keyup", "mousedown", "mousemove", "mouseout", "mouseover", "mouseup", "pointerdown", "pointermove", "pointerout", "pointerover", "pointerup", "touchend", "touchmove", "touchstart"]), gn = {
436
+ }), gn = /* @__PURE__ */ new Set(["beforeinput", "click", "dblclick", "contextmenu", "focusin", "focusout", "input", "keydown", "keyup", "mousedown", "mousemove", "mouseout", "mouseover", "mouseup", "pointerdown", "pointermove", "pointerout", "pointerover", "pointerup", "touchend", "touchmove", "touchstart"]), mn = {
437
437
  xlink: "http://www.w3.org/1999/xlink",
438
438
  xml: "http://www.w3.org/XML/1998/namespace"
439
439
  };
440
- function mn(e, t, n) {
440
+ function $n(e, t, n) {
441
441
  let r = n.length, l = t.length, o = r, s = 0, i = 0, a = t[l - 1].nextSibling, c = null;
442
442
  for (; s < l || i < o; ) {
443
443
  if (t[s] === n[i]) {
@@ -482,8 +482,8 @@ function mn(e, t, n) {
482
482
  }
483
483
  }
484
484
  }
485
- const Ye = "_$DX_DELEGATE";
486
- function $n(e, t, n, r = {}) {
485
+ const Ge = "_$DX_DELEGATE";
486
+ function yn(e, t, n, r = {}) {
487
487
  let l;
488
488
  return re((o) => {
489
489
  l = o, t === document ? e() : f(t, e(), t.firstChild ? null : void 0, n);
@@ -498,16 +498,16 @@ function y(e, t, n) {
498
498
  return n && (l = l.firstChild), l;
499
499
  }
500
500
  function Pe(e, t = window.document) {
501
- const n = t[Ye] || (t[Ye] = /* @__PURE__ */ new Set());
501
+ const n = t[Ge] || (t[Ge] = /* @__PURE__ */ new Set());
502
502
  for (let r = 0, l = e.length; r < l; r++) {
503
503
  const o = e[r];
504
- n.has(o) || (n.add(o), t.addEventListener(o, Cn));
504
+ n.has(o) || (n.add(o), t.addEventListener(o, _n));
505
505
  }
506
506
  }
507
507
  function j(e, t, n) {
508
508
  n == null ? e.removeAttribute(t) : e.setAttribute(t, n);
509
509
  }
510
- function yn(e, t, n, r) {
510
+ function vn(e, t, n, r) {
511
511
  r == null ? e.removeAttributeNS(t, n) : e.setAttributeNS(t, n, r);
512
512
  }
513
513
  function C(e, t) {
@@ -522,20 +522,20 @@ function _e(e, t, n, r) {
522
522
  } else
523
523
  e.addEventListener(t, n);
524
524
  }
525
- function vn(e, t, n = {}) {
525
+ function bn(e, t, n = {}) {
526
526
  const r = Object.keys(t || {}), l = Object.keys(n);
527
527
  let o, s;
528
528
  for (o = 0, s = l.length; o < s; o++) {
529
529
  const i = l[o];
530
- !i || i === "undefined" || t[i] || (Ge(e, i, !1), delete n[i]);
530
+ !i || i === "undefined" || t[i] || (Qe(e, i, !1), delete n[i]);
531
531
  }
532
532
  for (o = 0, s = r.length; o < s; o++) {
533
533
  const i = r[o], a = !!t[i];
534
- !i || i === "undefined" || n[i] === a || !a || (Ge(e, i, !0), n[i] = a);
534
+ !i || i === "undefined" || n[i] === a || !a || (Qe(e, i, !0), n[i] = a);
535
535
  }
536
536
  return n;
537
537
  }
538
- function Pt(e, t, n) {
538
+ function Lt(e, t, n) {
539
539
  if (!t)
540
540
  return n ? j(e, "style") : t;
541
541
  const r = e.style;
@@ -549,22 +549,22 @@ function Pt(e, t, n) {
549
549
  l = t[o], l !== n[o] && (r.setProperty(o, l), n[o] = l);
550
550
  return n;
551
551
  }
552
- function bn(e, t = {}, n, r) {
552
+ function wn(e, t = {}, n, r) {
553
553
  const l = {};
554
- return r || _(() => l.children = ie(e, t.children, l.children)), _(() => t.ref && t.ref(e)), _(() => wn(e, t, n, !0, l, !0)), l;
554
+ return r || _(() => l.children = ie(e, t.children, l.children)), _(() => t.ref && t.ref(e)), _(() => xn(e, t, n, !0, l, !0)), l;
555
555
  }
556
556
  function f(e, t, n, r) {
557
557
  if (n !== void 0 && !r && (r = []), typeof t != "function")
558
558
  return ie(e, t, r, n);
559
559
  _((l) => ie(e, t(), l, n), r);
560
560
  }
561
- function wn(e, t, n, r, l = {}, o = !1) {
561
+ function xn(e, t, n, r, l = {}, o = !1) {
562
562
  t || (t = {});
563
563
  for (const s in l)
564
564
  if (!(s in t)) {
565
565
  if (s === "children")
566
566
  continue;
567
- l[s] = Qe(e, s, null, l[s], n, o);
567
+ l[s] = qe(e, s, null, l[s], n, o);
568
568
  }
569
569
  for (const s in t) {
570
570
  if (s === "children") {
@@ -572,23 +572,23 @@ function wn(e, t, n, r, l = {}, o = !1) {
572
572
  continue;
573
573
  }
574
574
  const i = t[s];
575
- l[s] = Qe(e, s, i, l[s], n, o);
575
+ l[s] = qe(e, s, i, l[s], n, o);
576
576
  }
577
577
  }
578
- function xn(e) {
578
+ function Cn(e) {
579
579
  return e.toLowerCase().replace(/-([a-z])/g, (t, n) => n.toUpperCase());
580
580
  }
581
- function Ge(e, t, n) {
581
+ function Qe(e, t, n) {
582
582
  const r = t.trim().split(/\s+/);
583
583
  for (let l = 0, o = r.length; l < o; l++)
584
584
  e.classList.toggle(r[l], n);
585
585
  }
586
- function Qe(e, t, n, r, l, o) {
586
+ function qe(e, t, n, r, l, o) {
587
587
  let s, i, a;
588
588
  if (t === "style")
589
- return Pt(e, n, r);
589
+ return Lt(e, n, r);
590
590
  if (t === "classList")
591
- return vn(e, n, r);
591
+ return bn(e, n, r);
592
592
  if (n === r)
593
593
  return r;
594
594
  if (t === "ref")
@@ -600,21 +600,21 @@ function Qe(e, t, n, r, l, o) {
600
600
  const c = t.slice(10);
601
601
  r && e.removeEventListener(c, r, !0), n && e.addEventListener(c, n, !0);
602
602
  } else if (t.slice(0, 2) === "on") {
603
- const c = t.slice(2).toLowerCase(), u = hn.has(c);
603
+ const c = t.slice(2).toLowerCase(), u = gn.has(c);
604
604
  if (!u && r) {
605
605
  const p = Array.isArray(r) ? r[0] : r;
606
606
  e.removeEventListener(c, p);
607
607
  }
608
608
  (u || n) && (_e(e, c, n, u), u && Pe([c]));
609
- } else if ((a = fn.has(t)) || !l && (Xe[t] || (i = dn.has(t))) || (s = e.nodeName.includes("-")))
610
- t === "class" || t === "className" ? C(e, n) : s && !i && !a ? e[xn(t)] = n : e[Xe[t] || t] = n;
609
+ } else if ((a = pn.has(t)) || !l && (Ye[t] || (i = fn.has(t))) || (s = e.nodeName.includes("-")))
610
+ t === "class" || t === "className" ? C(e, n) : s && !i && !a ? e[Cn(t)] = n : e[Ye[t] || t] = n;
611
611
  else {
612
- const c = l && t.indexOf(":") > -1 && gn[t.split(":")[0]];
613
- c ? yn(e, c, t, n) : j(e, pn[t] || t, n);
612
+ const c = l && t.indexOf(":") > -1 && mn[t.split(":")[0]];
613
+ c ? vn(e, c, t, n) : j(e, hn[t] || t, n);
614
614
  }
615
615
  return n;
616
616
  }
617
- function Cn(e) {
617
+ function _n(e) {
618
618
  const t = `$$${e.type}`;
619
619
  let n = e.composedPath && e.composedPath()[0] || e.target;
620
620
  for (e.target !== n && Object.defineProperty(e, "target", {
@@ -669,7 +669,7 @@ function ie(e, t, n, r, l) {
669
669
  }), () => n;
670
670
  if (Array.isArray(t)) {
671
671
  const i = [], a = n && Array.isArray(n);
672
- if (ze(i, t, n, l))
672
+ if (Re(i, t, n, l))
673
673
  return _(() => n = ie(e, i, n, r, !0)), () => n;
674
674
  if (U.context) {
675
675
  if (!i.length)
@@ -682,7 +682,7 @@ function ie(e, t, n, r, l) {
682
682
  if (n = ee(e, n, r), s)
683
683
  return n;
684
684
  } else
685
- a ? n.length === 0 ? Je(e, i, r) : mn(e, n, i) : (n && ee(e), Je(e, i));
685
+ a ? n.length === 0 ? et(e, i, r) : $n(e, n, i) : (n && ee(e), et(e, i));
686
686
  n = i;
687
687
  } else if (t instanceof Node) {
688
688
  if (U.context && t.parentNode)
@@ -698,7 +698,7 @@ function ie(e, t, n, r, l) {
698
698
  }
699
699
  return n;
700
700
  }
701
- function ze(e, t, n, r) {
701
+ function Re(e, t, n, r) {
702
702
  let l = !1;
703
703
  for (let o = 0, s = t.length; o < s; o++) {
704
704
  let i = t[o], a = n && n[o];
@@ -706,12 +706,12 @@ function ze(e, t, n, r) {
706
706
  e.push(i);
707
707
  else if (!(i == null || i === !0 || i === !1))
708
708
  if (Array.isArray(i))
709
- l = ze(e, i, a) || l;
709
+ l = Re(e, i, a) || l;
710
710
  else if (typeof i == "function")
711
711
  if (r) {
712
712
  for (; typeof i == "function"; )
713
713
  i = i();
714
- l = ze(e, Array.isArray(i) ? i : [i], Array.isArray(a) ? a : [a]) || l;
714
+ l = Re(e, Array.isArray(i) ? i : [i], Array.isArray(a) ? a : [a]) || l;
715
715
  } else
716
716
  e.push(i), l = !0;
717
717
  else {
@@ -721,7 +721,7 @@ function ze(e, t, n, r) {
721
721
  }
722
722
  return l;
723
723
  }
724
- function Je(e, t, n = null) {
724
+ function et(e, t, n = null) {
725
725
  for (let r = 0, l = t.length; r < l; r++)
726
726
  e.insertBefore(t[r], n);
727
727
  }
@@ -743,7 +743,7 @@ function ee(e, t, n, r) {
743
743
  e.insertBefore(l, n);
744
744
  return [l];
745
745
  }
746
- var _n = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Fe = {}, Sn = {
746
+ var Sn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Fe = {}, kn = {
747
747
  get exports() {
748
748
  return Fe;
749
749
  },
@@ -754,7 +754,7 @@ var _n = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
754
754
  (function(e, t) {
755
755
  (function(n, r) {
756
756
  e.exports = r();
757
- })(_n, function() {
757
+ })(Sn, function() {
758
758
  return function(n, r, l) {
759
759
  n = n || {};
760
760
  var o = r.prototype, s = { future: "in %s", past: "%s ago", s: "a few seconds", m: "a minute", mm: "%d minutes", h: "an hour", hh: "%d hours", d: "a day", dd: "%d days", M: "a month", MM: "%d months", y: "a year", yy: "%d years" };
@@ -762,7 +762,7 @@ var _n = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
762
762
  return o.fromToBase(c, u, p, d);
763
763
  }
764
764
  l.en.relativeTime = s, o.fromToBase = function(c, u, p, d, g) {
765
- for (var v, b, w, k = p.$locale().relativeTime || s, x = n.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], N = x.length, T = 0; T < N; T += 1) {
765
+ for (var v, b, w, k = p.$locale().relativeTime || s, x = n.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], A = x.length, T = 0; T < A; T += 1) {
766
766
  var O = x[T];
767
767
  O.d && (v = d ? l(c).diff(p, O.d, !0) : p.diff(c, O.d, !0));
768
768
  var H = (n.rounding || Math.round)(Math.abs(v));
@@ -792,17 +792,17 @@ var _n = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
792
792
  };
793
793
  };
794
794
  });
795
- })(Sn);
796
- const kn = Fe, An = /* @__PURE__ */ y("<button></button>"), F = (e) => (() => {
795
+ })(kn);
796
+ const Nn = Fe, An = /* @__PURE__ */ y("<button></button>"), F = (e) => (() => {
797
797
  const t = An.cloneNode(!0);
798
- return bn(t, sn(e, {
799
- onMouseDown: Nn
798
+ return wn(t, an(e, {
799
+ onMouseDown: Tn
800
800
  }), !1, !1), t;
801
801
  })();
802
- function Nn(e) {
802
+ function Tn(e) {
803
803
  e.preventDefault();
804
804
  }
805
- const Tn = `<svg
805
+ const Pn = `<svg
806
806
  xmlns="http://www.w3.org/2000/svg"
807
807
  width="32"
808
808
  height="32"
@@ -813,77 +813,77 @@ const Tn = `<svg
813
813
  d="m24 12l-8 10l-8-10z"
814
814
  />
815
815
  </svg>
816
- `, Pn = `<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
816
+ `, En = `<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
817
817
  <path d="M21 28C22.1046 28 23 27.1046 23 26C23 24.8954 22.1046 24 21 24C19.8954 24 19 24.8954 19 26C19 27.1046 19.8954 28 21 28Z" fill="currentColor"/>
818
818
  <path d="M21 8C22.1046 8 23 7.10457 23 6C23 4.89543 22.1046 4 21 4C19.8954 4 19 4.89543 19 6C19 7.10457 19.8954 8 21 8Z" fill="currentColor"/>
819
819
  <path d="M4 18C5.10457 18 6 17.1046 6 16C6 14.8954 5.10457 14 4 14C2.89543 14 2 14.8954 2 16C2 17.1046 2.89543 18 4 18Z" fill="currentColor"/>
820
820
  <path d="M28 12C27.1156 12.0026 26.2571 12.2986 25.5589 12.8415C24.8608 13.3844 24.3624 14.1435 24.142 15H19.858C19.7164 14.4361 19.4525 13.9101 19.085 13.4595C18.7175 13.0089 18.2555 12.6446 17.7315 12.3924C17.2076 12.1402 16.6346 12.0064 16.0532 12.0002C15.4718 11.9941 14.8961 12.1159 14.367 12.357L11.19 8.387C11.7126 7.7007 11.997 6.86262 12 6C12 5.20887 11.7654 4.43552 11.3259 3.77772C10.8864 3.11992 10.2616 2.60723 9.53073 2.30448C8.79983 2.00173 7.99556 1.92252 7.21964 2.07686C6.44371 2.2312 5.73098 2.61216 5.17157 3.17157C4.61216 3.73098 4.2312 4.44371 4.07686 5.21964C3.92252 5.99556 4.00173 6.79983 4.30448 7.53073C4.60723 8.26164 5.11992 8.88635 5.77772 9.32588C6.43552 9.7654 7.20887 10 8 10C8.56387 9.99869 9.12096 9.87698 9.634 9.643L12.81 13.613C12.285 14.298 12.0005 15.137 12.0005 16C12.0005 16.863 12.285 17.702 12.81 18.387L9.634 22.357C9.12096 22.123 8.56387 22.0013 8 22C7.20887 22 6.43552 22.2346 5.77772 22.6741C5.11992 23.1136 4.60723 23.7384 4.30448 24.4693C4.00173 25.2002 3.92252 26.0044 4.07686 26.7804C4.2312 27.5563 4.61216 28.269 5.17157 28.8284C5.73098 29.3878 6.44371 29.7688 7.21964 29.9231C7.99556 30.0775 8.79983 29.9983 9.53073 29.6955C10.2616 29.3928 10.8864 28.8801 11.3259 28.2223C11.7654 27.5645 12 26.7911 12 26C11.9971 25.1374 11.7127 24.2993 11.19 23.613L14.366 19.643C14.8952 19.8843 15.4709 20.0062 16.0525 20.0002C16.634 19.9942 17.2071 19.8603 17.7312 19.6081C18.2552 19.3559 18.7174 18.9915 19.0849 18.5408C19.4525 18.0901 19.7164 17.5641 19.858 17H24.142C24.3303 17.7226 24.7175 18.3778 25.2595 18.8914C25.8015 19.405 26.4766 19.7563 27.2083 19.9055C27.9399 20.0547 28.6987 19.9957 29.3985 19.7353C30.0983 19.4749 30.7111 19.0234 31.1673 18.4323C31.6234 17.8411 31.9047 17.1339 31.9791 16.3909C32.0535 15.6479 31.9181 14.899 31.5882 14.2291C31.2584 13.5592 30.7473 12.9952 30.113 12.6012C29.4787 12.2072 28.7467 11.9989 28 12ZM6 6C6 5.60444 6.1173 5.21776 6.33706 4.88886C6.55682 4.55996 6.86918 4.30362 7.23463 4.15224C7.60009 4.00087 8.00222 3.96126 8.39018 4.03843C8.77814 4.1156 9.13451 4.30608 9.41421 4.58579C9.69392 4.86549 9.8844 5.22186 9.96157 5.60982C10.0387 5.99778 9.99913 6.39991 9.84776 6.76537C9.69638 7.13082 9.44004 7.44318 9.11114 7.66294C8.78224 7.8827 8.39556 8 8 8C7.46973 7.99947 6.96133 7.78859 6.58637 7.41363C6.21141 7.03867 6.00053 6.53027 6 6ZM8 28C7.60444 28 7.21776 27.8827 6.88886 27.6629C6.55996 27.4432 6.30362 27.1308 6.15224 26.7654C6.00087 26.3999 5.96126 25.9978 6.03843 25.6098C6.1156 25.2219 6.30608 24.8655 6.58579 24.5858C6.86549 24.3061 7.22186 24.1156 7.60982 24.0384C7.99778 23.9613 8.39991 24.0009 8.76537 24.1522C9.13082 24.3036 9.44318 24.56 9.66294 24.8889C9.8827 25.2178 10 25.6044 10 26C9.99947 26.5303 9.78859 27.0387 9.41363 27.4136C9.03867 27.7886 8.53027 27.9995 8 28ZM16 18C15.6044 18 15.2178 17.8827 14.8889 17.6629C14.56 17.4432 14.3036 17.1308 14.1522 16.7654C14.0009 16.3999 13.9613 15.9978 14.0384 15.6098C14.1156 15.2219 14.3061 14.8655 14.5858 14.5858C14.8655 14.3061 15.2219 14.1156 15.6098 14.0384C15.9978 13.9613 16.3999 14.0009 16.7654 14.1522C17.1308 14.3036 17.4432 14.56 17.6629 14.8889C17.8827 15.2178 18 15.6044 18 16C17.9995 16.5303 17.7886 17.0387 17.4136 17.4136C17.0387 17.7886 16.5303 17.9995 16 18ZM28 18C27.6044 18 27.2178 17.8827 26.8889 17.6629C26.56 17.4432 26.3036 17.1308 26.1522 16.7654C26.0009 16.3999 25.9613 15.9978 26.0384 15.6098C26.1156 15.2219 26.3061 14.8655 26.5858 14.5858C26.8655 14.3061 27.2219 14.1156 27.6098 14.0384C27.9978 13.9613 28.3999 14.0009 28.7654 14.1522C29.1308 14.3036 29.4432 14.56 29.6629 14.8889C29.8827 15.2178 30 15.6044 30 16C29.9995 16.5303 29.7886 17.0387 29.4136 17.4136C29.0387 17.7886 28.5303 17.9995 28 18Z" fill="currentColor"/>
821
821
  </svg>
822
- `, En = `<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
822
+ `, Ln = `<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
823
823
  <path d="M29 27.586L21.448 20.034C23.2628 17.8553 24.1678 15.0608 23.9747 12.2319C23.7816 9.40297 22.5053 6.75739 20.4112 4.84552C18.3172 2.93364 15.5667 1.90267 12.732 1.96709C9.89717 2.0315 7.19635 3.18633 5.19134 5.19134C3.18633 7.19635 2.0315 9.89717 1.96709 12.732C1.90268 15.5667 2.93364 18.3172 4.84552 20.4112C6.75739 22.5053 9.40297 23.7816 12.2319 23.9747C15.0608 24.1678 17.8553 23.2628 20.034 21.448L27.586 29L29 27.586ZM4 13C4 11.22 4.52784 9.47991 5.51677 7.99987C6.50571 6.51983 7.91132 5.36627 9.55585 4.68508C11.2004 4.0039 13.01 3.82567 14.7558 4.17293C16.5016 4.5202 18.1053 5.37737 19.364 6.63604C20.6226 7.89471 21.4798 9.49836 21.8271 11.2442C22.1743 12.99 21.9961 14.7996 21.3149 16.4442C20.6337 18.0887 19.4802 19.4943 18.0001 20.4832C16.5201 21.4722 14.78 22 13 22C10.6139 21.9974 8.32622 21.0483 6.63896 19.361C4.95171 17.6738 4.00265 15.3861 4 13Z" fill="currentColor"/>
824
824
  </svg>
825
- `, Ln = `<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
825
+ `, On = `<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
826
826
  <path d="M27.71 4.29C27.575 4.15567 27.4045 4.06267 27.2185 4.02193C27.0325 3.98118 26.8388 3.99439 26.66 4.06L4.66 12.06C4.47027 12.132 4.30692 12.26 4.19165 12.427C4.07638 12.594 4.01465 12.7921 4.01465 12.995C4.01465 13.1979 4.07638 13.396 4.19165 13.563C4.30692 13.73 4.47027 13.858 4.66 13.93L14.26 17.77L18.1 27.37C18.1721 27.5514 18.2958 27.7077 18.4557 27.8197C18.6157 27.9316 18.8049 27.9943 19 28C19.2021 27.9959 19.3982 27.9306 19.5624 27.8127C19.7266 27.6949 19.8513 27.5301 19.92 27.34L27.92 5.34C27.9881 5.16308 28.0046 4.97043 27.9674 4.78452C27.9302 4.59862 27.8409 4.42711 27.71 4.29ZM19 24.2L16.21 17.2L21 12.41L19.59 11L14.76 15.83L7.8 13L25.33 6.67L19 24.2Z" fill="currentColor"/>
827
827
  </svg>
828
- `, On = `<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
828
+ `, jn = `<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
829
829
  <path d="M30 8H25.9C25.4 5.7 23.4 4 21 4C18.6 4 16.6 5.7 16.1 8H2V10H16.1C16.6 12.3 18.6 14 21 14C23.4 14 25.4 12.3 25.9 10H30V8ZM21 12C19.3 12 18 10.7 18 9C18 7.3 19.3 6 21 6C22.7 6 24 7.3 24 9C24 10.7 22.7 12 21 12ZM2 24H6.1C6.6 26.3 8.6 28 11 28C13.4 28 15.4 26.3 15.9 24H30V22H15.9C15.4 19.7 13.4 18 11 18C8.6 18 6.6 19.7 6.1 22H2V24ZM11 20C12.7 20 14 21.3 14 23C14 24.7 12.7 26 11 26C9.3 26 8 24.7 8 23C8 21.3 9.3 20 11 20Z" fill="currentColor"/>
830
830
  </svg>
831
- `, jn = /* @__PURE__ */ Object.assign({
832
- "/src/assets/icons/caret-down.svg": Tn,
833
- "/src/assets/icons/network.svg": Pn,
834
- "/src/assets/icons/search.svg": En,
835
- "/src/assets/icons/send.svg": Ln,
836
- "/src/assets/icons/settings.svg": On
831
+ `, In = /* @__PURE__ */ Object.assign({
832
+ "/src/assets/icons/caret-down.svg": Pn,
833
+ "/src/assets/icons/network.svg": En,
834
+ "/src/assets/icons/search.svg": Ln,
835
+ "/src/assets/icons/send.svg": On,
836
+ "/src/assets/icons/settings.svg": jn
837
837
  });
838
- function In(e) {
839
- return jn[`/src/assets/icons/${e}.svg`];
838
+ function Mn(e) {
839
+ return In[`/src/assets/icons/${e}.svg`];
840
840
  }
841
- const We = `
841
+ const Je = `
842
842
  position: absolute;
843
843
  width: 100%;
844
844
  height: 100%;
845
845
  top: 0;
846
846
  left: 0;
847
847
  `;
848
- function Mn(e, t = "px") {
848
+ function Dn(e, t = "px") {
849
849
  return typeof e == "string" ? String(e) : Array.isArray(e) ? e.map((n) => `${n}${t}`).join(" ") : `${e}${t}`;
850
850
  }
851
- let Dn = { data: "" }, Rn = (e) => typeof window == "object" ? ((e ? e.querySelector("#_goober") : window._goober) || Object.assign((e || document.head).appendChild(document.createElement("style")), { innerHTML: " ", id: "_goober" })).firstChild : e || Dn, zn = /(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g, Fn = /\/\*[^]*?\*\/| +/g, qe = /\n+/g, K = (e, t) => {
851
+ let zn = { data: "" }, Rn = (e) => typeof window == "object" ? ((e ? e.querySelector("#_goober") : window._goober) || Object.assign((e || document.head).appendChild(document.createElement("style")), { innerHTML: " ", id: "_goober" })).firstChild : e || zn, Fn = /(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g, Bn = /\/\*[^]*?\*\/| +/g, tt = /\n+/g, K = (e, t) => {
852
852
  let n = "", r = "", l = "";
853
853
  for (let o in e) {
854
854
  let s = e[o];
855
855
  o[0] == "@" ? o[1] == "i" ? n = o + " " + s + ";" : r += o[1] == "f" ? K(s, o) : o + "{" + K(s, o[1] == "k" ? "" : t) + "}" : typeof s == "object" ? r += K(s, t ? t.replace(/([^,])+/g, (i) => o.replace(/(^:.*)|([^,])+/g, (a) => /&/.test(a) ? a.replace(/&/g, i) : i ? i + " " + a : a)) : o) : s != null && (o = /^--/.test(o) ? o : o.replace(/[A-Z]/g, "-$&").toLowerCase(), l += K.p ? K.p(o, s) : o + ":" + s + ";");
856
856
  }
857
857
  return n + (t && l ? t + "{" + l + "}" : l) + r;
858
- }, z = {}, Et = (e) => {
858
+ }, R = {}, Ot = (e) => {
859
859
  if (typeof e == "object") {
860
860
  let t = "";
861
861
  for (let n in e)
862
- t += n + Et(e[n]);
862
+ t += n + Ot(e[n]);
863
863
  return t;
864
864
  }
865
865
  return e;
866
- }, Bn = (e, t, n, r, l) => {
867
- let o = Et(e), s = z[o] || (z[o] = ((a) => {
866
+ }, Hn = (e, t, n, r, l) => {
867
+ let o = Ot(e), s = R[o] || (R[o] = ((a) => {
868
868
  let c = 0, u = 11;
869
869
  for (; c < a.length; )
870
870
  u = 101 * u + a.charCodeAt(c++) >>> 0;
871
871
  return "go" + u;
872
872
  })(o));
873
- if (!z[s]) {
873
+ if (!R[s]) {
874
874
  let a = o !== e ? e : ((c) => {
875
875
  let u, p, d = [{}];
876
- for (; u = zn.exec(c.replace(Fn, "")); )
877
- u[4] ? d.shift() : u[3] ? (p = u[3].replace(qe, " ").trim(), d.unshift(d[0][p] = d[0][p] || {})) : d[0][u[1]] = u[2].replace(qe, " ").trim();
876
+ for (; u = Fn.exec(c.replace(Bn, "")); )
877
+ u[4] ? d.shift() : u[3] ? (p = u[3].replace(tt, " ").trim(), d.unshift(d[0][p] = d[0][p] || {})) : d[0][u[1]] = u[2].replace(tt, " ").trim();
878
878
  return d[0];
879
879
  })(e);
880
- z[s] = K(l ? { ["@keyframes " + s]: a } : a, n ? "" : "." + s);
880
+ R[s] = K(l ? { ["@keyframes " + s]: a } : a, n ? "" : "." + s);
881
881
  }
882
- let i = n && z.g ? z.g : null;
883
- return n && (z.g = z[s]), ((a, c, u, p) => {
882
+ let i = n && R.g ? R.g : null;
883
+ return n && (R.g = R[s]), ((a, c, u, p) => {
884
884
  p ? c.data = c.data.replace(p, a) : c.data.indexOf(a) === -1 && (c.data = u ? a + c.data : c.data + a);
885
- })(z[s], t, r, i), s;
886
- }, Hn = (e, t, n) => e.reduce((r, l, o) => {
885
+ })(R[s], t, r, i), s;
886
+ }, Vn = (e, t, n) => e.reduce((r, l, o) => {
887
887
  let s = t[o];
888
888
  if (s && s.call) {
889
889
  let i = s(n), a = i && i.props && i.props.className || /^go/.test(i) && i;
@@ -893,11 +893,11 @@ let Dn = { data: "" }, Rn = (e) => typeof window == "object" ? ((e ? e.querySele
893
893
  }, "");
894
894
  function S(e) {
895
895
  let t = this || {}, n = e.call ? e(t.p) : e;
896
- return Bn(n.unshift ? n.raw ? Hn(n, [].slice.call(arguments, 1), t.p) : n.reduce((r, l) => Object.assign(r, l && l.call ? l(t.p) : l), {}) : n, Rn(t.target), t.g, t.o, t.k);
896
+ return Hn(n.unshift ? n.raw ? Vn(n, [].slice.call(arguments, 1), t.p) : n.reduce((r, l) => Object.assign(r, l && l.call ? l(t.p) : l), {}) : n, Rn(t.target), t.g, t.o, t.k);
897
897
  }
898
898
  S.bind({ g: 1 });
899
899
  S.bind({ k: 1 });
900
- const Vn = /* @__PURE__ */ y("<div></div>"), Un = S`
900
+ const Un = /* @__PURE__ */ y("<div></div>"), Zn = S`
901
901
  &&& {
902
902
  position: relative;
903
903
  color: currentColor;
@@ -906,26 +906,26 @@ const Vn = /* @__PURE__ */ y("<div></div>"), Un = S`
906
906
 
907
907
  svg {
908
908
  display: block;
909
- ${We};
909
+ ${Je};
910
910
  }
911
911
  }
912
912
  `, Ee = (e) => {
913
- const t = In(e.name);
913
+ const t = Mn(e.name);
914
914
  return (() => {
915
- const n = Vn.cloneNode(!0);
915
+ const n = Un.cloneNode(!0);
916
916
  return n.innerHTML = t, _((r) => {
917
- const l = `icon ${e.class || ""} ${Un}`, o = {
917
+ const l = `icon ${e.class || ""} ${Zn}`, o = {
918
918
  color: e.color,
919
- "--icon-size": e.size && Mn(e.size)
919
+ "--icon-size": e.size && Dn(e.size)
920
920
  };
921
- return l !== r._v$ && C(n, r._v$ = l), r._v$2 = Pt(n, o, r._v$2), r;
921
+ return l !== r._v$ && C(n, r._v$ = l), r._v$2 = Lt(n, o, r._v$2), r;
922
922
  }, {
923
923
  _v$: void 0,
924
924
  _v$2: void 0
925
925
  }), n;
926
926
  })();
927
- }, Se = Symbol("store-raw"), pe = Symbol("store-node"), Zn = Symbol("store-name");
928
- function Lt(e, t) {
927
+ }, Se = Symbol("store-raw"), pe = Symbol("store-node"), Wn = Symbol("store-name");
928
+ function jt(e, t) {
929
929
  let n = e[D];
930
930
  if (!n && (Object.defineProperty(e, D, {
931
931
  value: n = new Proxy(e, Xn)
@@ -963,29 +963,29 @@ function ae(e, t = /* @__PURE__ */ new Set()) {
963
963
  }
964
964
  return e;
965
965
  }
966
- function Ke(e) {
966
+ function Xe(e) {
967
967
  let t = e[pe];
968
968
  return t || Object.defineProperty(e, pe, {
969
969
  value: t = {}
970
970
  }), t;
971
971
  }
972
972
  function Be(e, t, n) {
973
- return e[t] || (e[t] = jt(n));
973
+ return e[t] || (e[t] = Mt(n));
974
974
  }
975
- function Wn(e, t) {
975
+ function Kn(e, t) {
976
976
  const n = Reflect.getOwnPropertyDescriptor(e, t);
977
- return !n || n.get || !n.configurable || t === D || t === pe || t === Zn || (delete n.value, delete n.writable, n.get = () => e[D][t]), n;
977
+ return !n || n.get || !n.configurable || t === D || t === pe || t === Wn || (delete n.value, delete n.writable, n.get = () => e[D][t]), n;
978
978
  }
979
- function Ot(e) {
980
- if (xt()) {
981
- const t = Ke(e);
982
- (t._ || (t._ = jt()))();
979
+ function It(e) {
980
+ if (_t()) {
981
+ const t = Xe(e);
982
+ (t._ || (t._ = Mt()))();
983
983
  }
984
984
  }
985
- function Kn(e) {
986
- return Ot(e), Reflect.ownKeys(e);
985
+ function Jn(e) {
986
+ return It(e), Reflect.ownKeys(e);
987
987
  }
988
- function jt(e) {
988
+ function Mt(e) {
989
989
  const [t, n] = oe(e, {
990
990
  equals: !1,
991
991
  internal: !0
@@ -999,16 +999,16 @@ const Xn = {
999
999
  if (t === D)
1000
1000
  return n;
1001
1001
  if (t === ve)
1002
- return Ot(e), n;
1003
- const r = Ke(e), l = r.hasOwnProperty(t);
1002
+ return It(e), n;
1003
+ const r = Xe(e), l = r.hasOwnProperty(t);
1004
1004
  let o = l ? r[t]() : e[t];
1005
1005
  if (t === pe || t === "__proto__")
1006
1006
  return o;
1007
1007
  if (!l) {
1008
1008
  const s = Object.getOwnPropertyDescriptor(e, t);
1009
- xt() && (typeof o != "function" || e.hasOwnProperty(t)) && !(s && s.get) && (o = Be(r, t, o)());
1009
+ _t() && (typeof o != "function" || e.hasOwnProperty(t)) && !(s && s.get) && (o = Be(r, t, o)());
1010
1010
  }
1011
- return se(o) ? Lt(o) : o;
1011
+ return se(o) ? jt(o) : o;
1012
1012
  },
1013
1013
  has(e, t) {
1014
1014
  return t === Se || t === D || t === ve || t === pe || t === "__proto__" ? !0 : (this.get(e, t, e), t in e);
@@ -1019,18 +1019,18 @@ const Xn = {
1019
1019
  deleteProperty() {
1020
1020
  return !0;
1021
1021
  },
1022
- ownKeys: Kn,
1023
- getOwnPropertyDescriptor: Wn
1022
+ ownKeys: Jn,
1023
+ getOwnPropertyDescriptor: Kn
1024
1024
  };
1025
1025
  function ce(e, t, n, r = !1) {
1026
1026
  if (!r && e[t] === n)
1027
1027
  return;
1028
1028
  const l = e[t], o = e.length;
1029
1029
  n === void 0 ? delete e[t] : e[t] = n;
1030
- let s = Ke(e), i;
1030
+ let s = Xe(e), i;
1031
1031
  (i = Be(s, t, l)) && i.$(() => n), Array.isArray(e) && e.length !== o && (i = Be(s, "length", o)) && i.$(e.length), (i = s._) && i.$();
1032
1032
  }
1033
- function It(e, t) {
1033
+ function Dt(e, t) {
1034
1034
  const n = Object.keys(t);
1035
1035
  for (let r = 0; r < n.length; r += 1) {
1036
1036
  const l = n[r];
@@ -1048,7 +1048,7 @@ function Yn(e, t) {
1048
1048
  }
1049
1049
  ce(e, "length", r);
1050
1050
  } else
1051
- It(e, t);
1051
+ Dt(e, t);
1052
1052
  }
1053
1053
  function fe(e, t, n = []) {
1054
1054
  let r, l = e;
@@ -1079,24 +1079,24 @@ function fe(e, t, n = []) {
1079
1079
  l = e[r], n = [r].concat(n);
1080
1080
  }
1081
1081
  let o = t[0];
1082
- typeof o == "function" && (o = o(l, n), o === l) || r === void 0 && o == null || (o = ae(o), r === void 0 || se(l) && se(o) && !Array.isArray(o) ? It(l, o) : ce(e, r, o));
1082
+ typeof o == "function" && (o = o(l, n), o === l) || r === void 0 && o == null || (o = ae(o), r === void 0 || se(l) && se(o) && !Array.isArray(o) ? Dt(l, o) : ce(e, r, o));
1083
1083
  }
1084
- function Mt(...[e, t]) {
1085
- const n = ae(e || {}), r = Array.isArray(n), l = Lt(n);
1084
+ function zt(...[e, t]) {
1085
+ const n = ae(e || {}), r = Array.isArray(n), l = jt(n);
1086
1086
  function o(...s) {
1087
- Jt(() => {
1087
+ qt(() => {
1088
1088
  r && s.length === 1 ? Yn(n, s[0]) : fe(n, s);
1089
1089
  });
1090
1090
  }
1091
1091
  return [l, o];
1092
1092
  }
1093
- const ke = /* @__PURE__ */ new WeakMap(), Dt = {
1093
+ const ke = /* @__PURE__ */ new WeakMap(), Rt = {
1094
1094
  get(e, t) {
1095
1095
  if (t === Se)
1096
1096
  return e;
1097
1097
  const n = e[t];
1098
1098
  let r;
1099
- return se(n) ? ke.get(n) || (ke.set(n, r = new Proxy(n, Dt)), r) : n;
1099
+ return se(n) ? ke.get(n) || (ke.set(n, r = new Proxy(n, Rt)), r) : n;
1100
1100
  },
1101
1101
  set(e, t, n) {
1102
1102
  return ce(e, t, ae(n)), !0;
@@ -1109,12 +1109,12 @@ function Gn(e) {
1109
1109
  return (t) => {
1110
1110
  if (se(t)) {
1111
1111
  let n;
1112
- (n = ke.get(t)) || ke.set(t, n = new Proxy(t, Dt)), e(n);
1112
+ (n = ke.get(t)) || ke.set(t, n = new Proxy(t, Rt)), e(n);
1113
1113
  }
1114
1114
  return t;
1115
1115
  };
1116
1116
  }
1117
- const [I, Ae] = Mt({
1117
+ const [I, Ne] = zt({
1118
1118
  selectedCall: null,
1119
1119
  selectedRequest: null,
1120
1120
  selectedTab: null,
@@ -1133,7 +1133,7 @@ const [I, Ae] = Mt({
1133
1133
  spaceBetween: "space-between",
1134
1134
  spaceAround: "space-around",
1135
1135
  spaceEvenly: "space-evenly"
1136
- }, Jn = {
1136
+ }, qn = {
1137
1137
  top: "flex-start",
1138
1138
  bottom: "flex-end",
1139
1139
  center: "center",
@@ -1147,15 +1147,15 @@ const [I, Ae] = Mt({
1147
1147
  column-gap: ${n}px;
1148
1148
  flex-direction: row;
1149
1149
  justify-content: ${Qn[e]};
1150
- align-items: ${Jn[t]};
1151
- `, qn = {
1150
+ align-items: ${qn[t]};
1151
+ `, er = {
1152
1152
  top: "flex-start",
1153
1153
  center: "center",
1154
1154
  bottom: "flex-end",
1155
1155
  spaceBetween: "space-between",
1156
1156
  spaceAround: "space-around",
1157
1157
  spaceEvenly: "space-evenly"
1158
- }, er = {
1158
+ }, tr = {
1159
1159
  left: "flex-start",
1160
1160
  right: "flex-end",
1161
1161
  center: "center",
@@ -1168,10 +1168,10 @@ const [I, Ae] = Mt({
1168
1168
  row-gap: ${n}px;
1169
1169
  display: flex;
1170
1170
  flex-direction: column;
1171
- justify-content: ${qn[e]};
1172
- align-items: ${er[t]};
1171
+ justify-content: ${er[e]};
1172
+ align-items: ${tr[t]};
1173
1173
  `;
1174
- function tr(e) {
1174
+ function nr(e) {
1175
1175
  if (e.length < 4)
1176
1176
  throw new Error("Invalid hex value");
1177
1177
  return (e.replace(
@@ -1179,16 +1179,16 @@ function tr(e) {
1179
1179
  (t, n, r, l) => `#${n}${n}${r}${r}${l}${l}`
1180
1180
  ).substring(1).match(/.{2}/g) || []).map((t) => parseInt(t, 16));
1181
1181
  }
1182
- function nr(e) {
1182
+ function rr(e) {
1183
1183
  return Object.entries(e);
1184
1184
  }
1185
1185
  const $e = document.documentElement.style;
1186
- let et = 1;
1187
- function rr(e) {
1186
+ let nt = 1;
1187
+ function lr(e) {
1188
1188
  const t = {};
1189
- for (const [n, r] of nr(e)) {
1190
- const [l, o, s] = tr(r), i = `c${et}`;
1191
- et++, $e.setProperty(`--${i}-r`, String(l)), $e.setProperty(`--${i}-g`, String(o)), $e.setProperty(`--${i}-b`, String(s)), $e.setProperty(`--${i}`, r), t[n] = {
1189
+ for (const [n, r] of rr(e)) {
1190
+ const [l, o, s] = nr(r), i = `c${nt}`;
1191
+ nt++, $e.setProperty(`--${i}-r`, String(l)), $e.setProperty(`--${i}-g`, String(o)), $e.setProperty(`--${i}-b`, String(s)), $e.setProperty(`--${i}`, r), t[n] = {
1192
1192
  red: l,
1193
1193
  green: o,
1194
1194
  blue: s,
@@ -1215,7 +1215,7 @@ function rr(e) {
1215
1215
  }
1216
1216
  return t;
1217
1217
  }
1218
- const $ = rr({
1218
+ const $ = lr({
1219
1219
  bgPrimary: "#0F172A",
1220
1220
  bgSecondary: "#1E293B",
1221
1221
  textPrimary: "#fff",
@@ -1228,22 +1228,22 @@ const $ = rr({
1228
1228
  bg: "#EAEFFF",
1229
1229
  white: "#fff",
1230
1230
  black: "#000"
1231
- }), R = {
1231
+ }), z = {
1232
1232
  primary: '"Work Sans", sans-serif',
1233
1233
  decorative: '"Fira Code", monospaced'
1234
1234
  };
1235
- function lr(e, t, n) {
1235
+ function or(e, t, n) {
1236
1236
  if (!e)
1237
1237
  return t;
1238
1238
  const r = [], l = new Map(e.map((o) => [o[n], o]));
1239
1239
  for (const o of t) {
1240
1240
  const s = l.get(o[n]);
1241
- s && vt(s, o) ? r.push(s) : r.push(o);
1241
+ s && wt(s, o) ? r.push(s) : r.push(o);
1242
1242
  }
1243
1243
  return r;
1244
1244
  }
1245
- function Rt(e, t) {
1246
- return m((n) => lr(n, typeof e == "function" ? e() : e, t));
1245
+ function Ft(e, t) {
1246
+ return m((n) => or(n, typeof e == "function" ? e() : e, t));
1247
1247
  }
1248
1248
  function ge(e) {
1249
1249
  const [t, n] = oe(e);
@@ -1258,14 +1258,14 @@ function ge(e) {
1258
1258
  n(() => r);
1259
1259
  },
1260
1260
  produce(r) {
1261
- n((l) => Zt(l, r));
1261
+ n((l) => Wt(l, r));
1262
1262
  },
1263
1263
  peek() {
1264
1264
  return Z(t);
1265
1265
  }
1266
1266
  };
1267
1267
  }
1268
- function or(e) {
1268
+ function He(e) {
1269
1269
  const t = m(e);
1270
1270
  return {
1271
1271
  get value() {
@@ -1273,7 +1273,7 @@ function or(e) {
1273
1273
  }
1274
1274
  };
1275
1275
  }
1276
- const ir = /* @__PURE__ */ y('<div class="tag"></div>'), tt = /* @__PURE__ */ y("<span></span>"), sr = /* @__PURE__ */ y('<div><div class="call"></div></div>'), ar = S`
1276
+ const ir = /* @__PURE__ */ y('<div class="tag"></div>'), rt = /* @__PURE__ */ y("<span></span>"), sr = /* @__PURE__ */ y('<div><div class="call"></div></div>'), ar = S`
1277
1277
  &&& {
1278
1278
  font-size: 14px;
1279
1279
  ${L()};
@@ -1297,7 +1297,7 @@ const ir = /* @__PURE__ */ y('<div class="tag"></div>'), tt = /* @__PURE__ */ y(
1297
1297
 
1298
1298
  > .tag {
1299
1299
  font-weight: 600;
1300
- font-family: ${R.decorative};
1300
+ font-family: ${z.decorative};
1301
1301
  }
1302
1302
 
1303
1303
  > span {
@@ -1356,7 +1356,7 @@ const ir = /* @__PURE__ */ y('<div class="tag"></div>'), tt = /* @__PURE__ */ y(
1356
1356
  const o = sr.cloneNode(!0), s = o.firstChild;
1357
1357
  return C(o, ar), f(s, h(F, {
1358
1358
  onClick: () => {
1359
- Ae({
1359
+ Ne({
1360
1360
  selectedCall: t().id,
1361
1361
  selectedSubitem: null
1362
1362
  });
@@ -1373,7 +1373,7 @@ const ir = /* @__PURE__ */ y('<div class="tag"></div>'), tt = /* @__PURE__ */ y(
1373
1373
  _v$2: void 0
1374
1374
  }), i;
1375
1375
  })(), (() => {
1376
- const i = tt.cloneNode(!0);
1376
+ const i = rt.cloneNode(!0);
1377
1377
  return f(i, () => t().name), _(() => j(i, "title", t().name)), i;
1378
1378
  })()];
1379
1379
  }
@@ -1395,12 +1395,12 @@ const ir = /* @__PURE__ */ y('<div class="tag"></div>'), tt = /* @__PURE__ */ y(
1395
1395
  });
1396
1396
  }
1397
1397
  });
1398
- })(), null), f(o, h(G, {
1398
+ })(), null), f(o, h(Y, {
1399
1399
  get when() {
1400
1400
  return r.value;
1401
1401
  },
1402
1402
  get children() {
1403
- return h(Q, {
1403
+ return h(G, {
1404
1404
  get each() {
1405
1405
  return t().subitemsWithAlias;
1406
1406
  },
@@ -1412,13 +1412,13 @@ const ir = /* @__PURE__ */ y('<div class="tag"></div>'), tt = /* @__PURE__ */ y(
1412
1412
  };
1413
1413
  },
1414
1414
  onClick: () => {
1415
- Ae({
1415
+ Ne({
1416
1416
  selectedCall: t().id,
1417
1417
  selectedSubitem: i
1418
1418
  });
1419
1419
  },
1420
1420
  get children() {
1421
- const a = tt.cloneNode(!0);
1421
+ const a = rt.cloneNode(!0);
1422
1422
  return f(a, i), a;
1423
1423
  }
1424
1424
  })
@@ -1445,7 +1445,7 @@ function ur(e, t) {
1445
1445
  color: r
1446
1446
  };
1447
1447
  }
1448
- function zt(e) {
1448
+ function Bt(e) {
1449
1449
  return e ? e.slice().reverse() : [];
1450
1450
  }
1451
1451
  function dr(...e) {
@@ -1460,11 +1460,11 @@ function fr(e) {
1460
1460
  function pr(e) {
1461
1461
  return e.filter((t) => t !== !1);
1462
1462
  }
1463
- function nt(e) {
1463
+ function lt(e) {
1464
1464
  if (e == null)
1465
1465
  throw new Error("Value is null or undefined");
1466
1466
  }
1467
- function rt(e, t) {
1467
+ function ot(e, t) {
1468
1468
  try {
1469
1469
  return e();
1470
1470
  } catch (n) {
@@ -1472,7 +1472,7 @@ function rt(e, t) {
1472
1472
  }
1473
1473
  }
1474
1474
  function hr(e, t) {
1475
- const n = Wt(t);
1475
+ const n = Kt(t);
1476
1476
  return gr(e, n);
1477
1477
  }
1478
1478
  function gr(e, t) {
@@ -1504,19 +1504,19 @@ function le(e) {
1504
1504
  }
1505
1505
  return e;
1506
1506
  }
1507
- const [J, mr] = Mt({
1507
+ const [Q, mr] = zt({
1508
1508
  calls: {}
1509
1509
  }), Le = ge("");
1510
- let He = {
1510
+ let Ve = {
1511
1511
  callsProcessor: []
1512
1512
  };
1513
1513
  function $r(e) {
1514
- He = {
1515
- ...He,
1514
+ Ve = {
1515
+ ...Ve,
1516
1516
  ...e
1517
1517
  };
1518
1518
  }
1519
- function Jl({
1519
+ function Ql({
1520
1520
  type: e,
1521
1521
  response: t,
1522
1522
  payload: n,
@@ -1547,20 +1547,20 @@ function yr(e) {
1547
1547
  const i = e.duration || Date.now() - t;
1548
1548
  mr(
1549
1549
  Gn((a) => {
1550
- const c = rt(
1550
+ const c = ot(
1551
1551
  () => new URL(e.path, "http://localhost")
1552
1552
  );
1553
- nt(c);
1553
+ lt(c);
1554
1554
  const u = c.searchParams.toString() !== "" ? Object.fromEntries(c.searchParams.entries()) : null;
1555
1555
  let p = null;
1556
- const d = He.callsProcessor.find((N) => {
1557
- if (typeof N.match == "string") {
1558
- if (N.matchType && N.matchType !== e.type || N.matchSubType && e.subType && N.matchSubType.includes(e.subType))
1556
+ const d = Ve.callsProcessor.find((A) => {
1557
+ if (typeof A.match == "string") {
1558
+ if (A.matchType && A.matchType !== e.type || A.matchSubType && e.subType && A.matchSubType.includes(e.subType))
1559
1559
  return !1;
1560
- const T = hr(c.pathname, N.match);
1560
+ const T = hr(c.pathname, A.match);
1561
1561
  return T ? (p = T, !0) : !1;
1562
1562
  } else
1563
- return N.match({
1563
+ return A.match({
1564
1564
  url: c,
1565
1565
  type: e.type,
1566
1566
  subType: e.subType
@@ -1581,9 +1581,9 @@ function yr(e) {
1581
1581
  subType: e.subType
1582
1582
  }, Le.value = v);
1583
1583
  const w = a.calls[v];
1584
- nt(w), w.requests.length > 100 && w.requests.shift();
1584
+ lt(w), w.requests.length > 100 && w.requests.shift();
1585
1585
  const k = {
1586
- id: Kt(),
1586
+ id: Jt(),
1587
1587
  duration: i,
1588
1588
  pathParams: p,
1589
1589
  isError: n,
@@ -1600,7 +1600,7 @@ function yr(e) {
1600
1600
  tags: fr(
1601
1601
  dr(e.tags, s)
1602
1602
  )
1603
- }, x = rt(
1603
+ }, x = ot(
1604
1604
  () => d?.payloadAlias?.(k.payload, k)
1605
1605
  );
1606
1606
  x && (k.alias = x), w.requests.push(k);
@@ -1617,22 +1617,22 @@ const vr = {
1617
1617
  out: "cubic-bezier(0.0, 0.0, 0.2, 1)",
1618
1618
  in: "cubic-bezier(0.4, 0.0, 1, 1)",
1619
1619
  linear: "linear"
1620
- }, lt = (e) => e !== void 0 ? `${e}ms` : "";
1620
+ }, it = (e) => e !== void 0 ? `${e}ms` : "";
1621
1621
  function wr(e = {}) {
1622
1622
  const { properties: t, duration: n, ease: r, delay: l } = e;
1623
1623
  return `
1624
- transition: ${lt(
1624
+ transition: ${it(
1625
1625
  typeof n == "number" ? n : vr[n || "medium"]
1626
- )} ${br[r || "inOut"]} ${lt(l)};
1626
+ )} ${br[r || "inOut"]} ${it(l)};
1627
1627
  ${t ? `
1628
1628
  transition-property: ${t.join(", ") || ""};
1629
1629
  ` : ""}
1630
1630
  `;
1631
1631
  }
1632
- const ot = (e) => e.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase().trim();
1632
+ const st = (e) => e.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase().trim();
1633
1633
  function xr(e, t) {
1634
- const n = ot(String(t)).indexOf(
1635
- ot(String(e))
1634
+ const n = st(String(t)).indexOf(
1635
+ st(String(e))
1636
1636
  );
1637
1637
  return {
1638
1638
  matched: n !== -1,
@@ -1645,7 +1645,7 @@ function Cr(e, t, { lowerFirst: n } = {}) {
1645
1645
  return o < s ? n ? -1 : 1 : o > s ? n ? 1 : -1 : 0;
1646
1646
  });
1647
1647
  }
1648
- function it({
1648
+ function at({
1649
1649
  items: e,
1650
1650
  searchQuery: t,
1651
1651
  getStringToMatch: n
@@ -1668,7 +1668,7 @@ const _r = /* @__PURE__ */ y('<div><h1>API EXPLORER</h1><div><button>API</button
1668
1668
  font-size: 18px;
1669
1669
  padding-left: 12px;
1670
1670
  padding-top: 10px;
1671
- font-family: ${R.decorative};
1671
+ font-family: ${z.decorative};
1672
1672
  color: ${$.secondary.var};
1673
1673
  padding-bottom: 12px;
1674
1674
  }
@@ -1680,7 +1680,7 @@ const _r = /* @__PURE__ */ y('<div><h1>API EXPLORER</h1><div><button>API</button
1680
1680
  overflow-y: auto;
1681
1681
  padding-bottom: 16px;
1682
1682
  }
1683
- `, Ar = S`
1683
+ `, Nr = S`
1684
1684
  &&& {
1685
1685
  ${B({
1686
1686
  gap: 8
@@ -1710,7 +1710,7 @@ const _r = /* @__PURE__ */ y('<div><h1>API EXPLORER</h1><div><button>API</button
1710
1710
  }
1711
1711
  }
1712
1712
  }
1713
- `, Nr = S`
1713
+ `, Ar = S`
1714
1714
  &&& {
1715
1715
  ${B({
1716
1716
  gap: 16
@@ -1734,8 +1734,8 @@ const _r = /* @__PURE__ */ y('<div><h1>API EXPLORER</h1><div><button>API</button
1734
1734
  }
1735
1735
  }
1736
1736
  `, V = ge("api"), Tr = () => {
1737
- const e = ge(""), t = Rt(() => {
1738
- const [r = "", l = ""] = e.value.split(">"), o = Object.entries(J.calls), s = [];
1737
+ const e = ge(""), t = Ft(() => {
1738
+ const [r = "", l = ""] = e.value.split(">"), o = Object.entries(Q.calls), s = [];
1739
1739
  for (const [a, c] of o.reverse()) {
1740
1740
  const u = /* @__PURE__ */ new Set();
1741
1741
  if (!(V.value === "api" && c.type !== "fetch" && c.type !== "mutation") && !(V.value === "ws" && c.type !== "ws")) {
@@ -1743,7 +1743,7 @@ const _r = /* @__PURE__ */ y('<div><h1>API EXPLORER</h1><div><button>API</button
1743
1743
  p.alias && u.add(p.alias);
1744
1744
  s.push({
1745
1745
  id: a,
1746
- subitemsWithAlias: it({
1746
+ subitemsWithAlias: at({
1747
1747
  items: [...u],
1748
1748
  searchQuery: l.trim(),
1749
1749
  getStringToMatch(p) {
@@ -1754,7 +1754,7 @@ const _r = /* @__PURE__ */ y('<div><h1>API EXPLORER</h1><div><button>API</button
1754
1754
  });
1755
1755
  }
1756
1756
  }
1757
- return it({
1757
+ return at({
1758
1758
  items: s,
1759
1759
  searchQuery: r.trim(),
1760
1760
  getStringToMatch(a) {
@@ -1764,11 +1764,11 @@ const _r = /* @__PURE__ */ y('<div><h1>API EXPLORER</h1><div><button>API</button
1764
1764
  }, "id"), n = m(() => I.selectedCall);
1765
1765
  return (() => {
1766
1766
  const r = _r.cloneNode(!0), l = r.firstChild, o = l.nextSibling, s = o.firstChild, i = s.nextSibling, a = i.nextSibling, c = o.nextSibling, u = c.firstChild, p = c.nextSibling;
1767
- return C(r, Sr), C(o, Nr), s.$$click = () => V.set("api"), i.$$click = () => V.set("ws"), a.$$click = () => V.set("all"), C(c, Ar), f(c, h(Ee, {
1767
+ return C(r, Sr), C(o, Ar), s.$$click = () => V.set("api"), i.$$click = () => V.set("ws"), a.$$click = () => V.set("all"), C(c, Nr), f(c, h(Ee, {
1768
1768
  name: "search"
1769
1769
  }), u), u.$$input = (d) => {
1770
1770
  e.value = d.currentTarget.value;
1771
- }, C(p, kr), f(p, h(Q, {
1771
+ }, C(p, kr), f(p, h(G, {
1772
1772
  get each() {
1773
1773
  return t();
1774
1774
  },
@@ -1792,7 +1792,7 @@ const _r = /* @__PURE__ */ y('<div><h1>API EXPLORER</h1><div><button>API</button
1792
1792
  })();
1793
1793
  };
1794
1794
  Pe(["click", "input"]);
1795
- function Ft(...e) {
1795
+ function Ht(...e) {
1796
1796
  const t = [];
1797
1797
  for (let n = 0; n < e.length; n++) {
1798
1798
  const r = e[n];
@@ -1815,7 +1815,7 @@ const Pr = /* @__PURE__ */ y('<div><div class="content"></div></div>'), Er = /*
1815
1815
  font-size: 14px;
1816
1816
  color: ${$.secondary.var};
1817
1817
  letter-spacing: 0.08em;
1818
- font-family: ${R.decorative};
1818
+ font-family: ${z.decorative};
1819
1819
  font-weight: 300;
1820
1820
  background: ${$.bgPrimary.var};
1821
1821
  z-index: 1;
@@ -1849,7 +1849,7 @@ const Pr = /* @__PURE__ */ y('<div><div class="content"></div></div>'), Er = /*
1849
1849
  const l = Er.cloneNode(!0);
1850
1850
  return f(l, () => e.title), l;
1851
1851
  })();
1852
- })(), n), f(n, () => e.children), _(() => C(t, Ft(Lr, e.class))), t;
1852
+ })(), n), f(n, () => e.children), _(() => C(t, Ht(Lr, e.class))), t;
1853
1853
  })(), Or = /* @__PURE__ */ y("<div></div>"), jr = /* @__PURE__ */ y('<div class="row"><div class="name"></div><div class="value"></div></div>'), Ir = S`
1854
1854
  &&& {
1855
1855
  display: grid;
@@ -1880,7 +1880,7 @@ const Pr = /* @__PURE__ */ y('<div><div class="content"></div></div>'), Er = /*
1880
1880
  }
1881
1881
  `, Mr = (e) => (() => {
1882
1882
  const t = Or.cloneNode(!0);
1883
- return C(t, Ir), f(t, h(an, {
1883
+ return C(t, Ir), f(t, h(cn, {
1884
1884
  get each() {
1885
1885
  return pr(e.rows);
1886
1886
  },
@@ -1896,7 +1896,7 @@ const Pr = /* @__PURE__ */ y('<div><div class="content"></div></div>'), Er = /*
1896
1896
  user-select: text;
1897
1897
  }
1898
1898
  `;
1899
- function Rr(e) {
1899
+ function zr(e) {
1900
1900
  return `
1901
1901
  display: -webkit-box;
1902
1902
  overflow: hidden;
@@ -1904,18 +1904,14 @@ function Rr(e) {
1904
1904
  -webkit-box-orient: vertical;
1905
1905
  `;
1906
1906
  }
1907
- const st = /* @__PURE__ */ new Map();
1908
- function Bt(e, t) {
1909
- return (st.get(t) ?? st.set(
1910
- t,
1911
- new Intl.NumberFormat("en-US", {
1912
- maximumFractionDigits: t
1913
- })
1914
- ).get(t)).format(e);
1907
+ const ct = /* @__PURE__ */ new Map();
1908
+ function Ue(e, t) {
1909
+ const n = JSON.stringify(t);
1910
+ return (ct.get(n) ?? ct.set(n, new Intl.NumberFormat("en-US", t)).get(n)).format(e);
1915
1911
  }
1916
- const zr = /* @__PURE__ */ y('<div class="key"><span></span></div>'), Fr = /* @__PURE__ */ y('<div class="collapsed"></div>'), Br = /* @__PURE__ */ y('<div class="delimiter">[]</div>'), Hr = /* @__PURE__ */ y('<div class="delimiter">{}</div>'), at = /* @__PURE__ */ y('<div class="delimiter"></div>'), ct = /* @__PURE__ */ y('<div class="childs"></div>'), Vr = /* @__PURE__ */ y('<div class="delimiter end">]</div>'), ut = /* @__PURE__ */ y('<div class="child"></div>'), Ur = /* @__PURE__ */ y('<div class="delimiter end">}</div>'), Zr = /* @__PURE__ */ y('<div class="value" title="Shift + Click to copy value"></div>'), dt = /* @__PURE__ */ y('<span class="string-quotes">"</span>'), Wr = /* @__PURE__ */ y("<div></div>"), Kr = S`
1912
+ const Rr = /* @__PURE__ */ y('<div class="key"><span></span></div>'), Fr = /* @__PURE__ */ y('<div class="collapsed"></div>'), Br = /* @__PURE__ */ y('<div class="delimiter">[]</div>'), Hr = /* @__PURE__ */ y('<div class="delimiter">{}</div>'), ut = /* @__PURE__ */ y('<div class="delimiter"></div>'), dt = /* @__PURE__ */ y('<div class="childs"></div>'), Vr = /* @__PURE__ */ y('<div class="delimiter end">]</div>'), ft = /* @__PURE__ */ y('<div class="child"></div>'), Ur = /* @__PURE__ */ y('<div class="delimiter end">}</div>'), Zr = /* @__PURE__ */ y('<div class="value" title="Shift + Click to copy value"></div>'), pt = /* @__PURE__ */ y('<span class="string-quotes">"</span>'), Wr = /* @__PURE__ */ y("<div></div>"), Kr = S`
1917
1913
  &&& {
1918
- font-family: ${R.decorative};
1914
+ font-family: ${z.decorative};
1919
1915
  font-size: 13px;
1920
1916
  ${Dr};
1921
1917
  ${L({
@@ -2005,7 +2001,7 @@ const zr = /* @__PURE__ */ y('<div class="key"><span></span></div>'), Fr = /* @_
2005
2001
 
2006
2002
  .value {
2007
2003
  word-wrap: break-word;
2008
- ${Rr(5)};
2004
+ ${zr(5)};
2009
2005
  }
2010
2006
 
2011
2007
  [data-type='number'] {
@@ -2025,7 +2021,7 @@ const zr = /* @__PURE__ */ y('<div class="key"><span></span></div>'), Fr = /* @_
2025
2021
  color: ${$.white.alpha(0.5)};
2026
2022
  }
2027
2023
  }
2028
- `, te = 14, Ve = (e) => {
2024
+ `, te = 14, Ze = (e) => {
2029
2025
  let [t, n] = oe(!(e.indent > 0 && e.compact)), [r, l] = oe(!e.compact);
2030
2026
  return m(() => {
2031
2027
  const o = e.value, s = Array.isArray(o), i = !s && typeof o == "object" && o !== null, a = e.key !== void 0 || e.index !== void 0, c = s && o.length > 0 || i && Object.keys(o).length > 0, u = c && h(F, {
@@ -2046,7 +2042,7 @@ const zr = /* @__PURE__ */ y('<div class="key"><span></span></div>'), Fr = /* @_
2046
2042
  }
2047
2043
  });
2048
2044
  return [a && (() => {
2049
- const p = zr.cloneNode(!0), d = p.firstChild;
2045
+ const p = Rr.cloneNode(!0), d = p.firstChild;
2050
2046
  return p.$$click = (g) => {
2051
2047
  g.shiftKey && ye(o);
2052
2048
  }, f(p, s || i ? u : null, d), f(d, () => e.key || e.index), _((g) => {
@@ -2063,20 +2059,20 @@ const zr = /* @__PURE__ */ y('<div class="key"><span></span></div>'), Fr = /* @_
2063
2059
  const d = Fr.cloneNode(!0);
2064
2060
  return f(d, () => s ? `[…] ${o.length} items` : `{…} ${Object.keys(o).length} properties`), d;
2065
2061
  })() : (() => s && o.length === 0 ? Br.cloneNode(!0) : i && Object.keys(o).length === 0 ? Hr.cloneNode(!0) : s ? [(() => {
2066
- const d = at.cloneNode(!0);
2062
+ const d = ut.cloneNode(!0);
2067
2063
  return _e(d, "click", a ? void 0 : (g) => {
2068
2064
  g.shiftKey && ye(o);
2069
2065
  }, !0), j(d, "title", a ? void 0 : "Shift + Click to copy value"), f(d, !a && u, null), f(d, () => t() ? "[" : `[…] ${o.length} items`, null), d;
2070
2066
  })(), m((() => {
2071
2067
  const d = m(() => !!t());
2072
2068
  return () => d() && [(() => {
2073
- const g = ct.cloneNode(!0);
2069
+ const g = dt.cloneNode(!0);
2074
2070
  return f(g, () => {
2075
2071
  let v = o;
2076
2072
  const b = v.length;
2077
2073
  return r() || (v = v.slice(0, te)), [m(() => v.map((w, k) => (() => {
2078
- const x = ut.cloneNode(!0);
2079
- return f(x, h(Ve, {
2074
+ const x = ft.cloneNode(!0);
2075
+ return f(x, h(Ze, {
2080
2076
  value: w,
2081
2077
  get indent() {
2082
2078
  return e.indent + 1;
@@ -2101,7 +2097,7 @@ const zr = /* @__PURE__ */ y('<div class="key"><span></span></div>'), Fr = /* @_
2101
2097
  }), g;
2102
2098
  })(), Vr.cloneNode(!0)];
2103
2099
  })())] : i ? [(() => {
2104
- const d = at.cloneNode(!0);
2100
+ const d = ut.cloneNode(!0);
2105
2101
  return _e(d, "click", a ? void 0 : (g) => {
2106
2102
  g.shiftKey && ye(o);
2107
2103
  }, !0), j(d, "title", a ? void 0 : "Shift + Click to copy value"), f(d, !a && u, null), f(d, (() => {
@@ -2111,13 +2107,13 @@ const zr = /* @__PURE__ */ y('<div class="key"><span></span></div>'), Fr = /* @_
2111
2107
  })(), m((() => {
2112
2108
  const d = m(() => !!t());
2113
2109
  return () => d() && [(() => {
2114
- const g = ct.cloneNode(!0);
2110
+ const g = dt.cloneNode(!0);
2115
2111
  return f(g, () => {
2116
2112
  let v = Object.entries(o);
2117
2113
  const b = v.length;
2118
2114
  return r() || (v = v.slice(0, te)), [m(() => v.map(([w, k]) => (() => {
2119
- const x = ut.cloneNode(!0);
2120
- return f(x, h(Ve, {
2115
+ const x = ft.cloneNode(!0);
2116
+ return f(x, h(Ze, {
2121
2117
  value: k,
2122
2118
  key: w,
2123
2119
  get indent() {
@@ -2145,13 +2141,13 @@ const zr = /* @__PURE__ */ y('<div class="key"><span></span></div>'), Fr = /* @_
2145
2141
  const d = Zr.cloneNode(!0);
2146
2142
  return d.$$click = (g) => {
2147
2143
  g.shiftKey && ye(String(o));
2148
- }, j(d, "data-type", typeof o), f(d, typeof o == "string" && dt.cloneNode(!0), null), f(d, () => typeof o == "number" ? Bt(o) : String(o), null), f(d, typeof o == "string" && dt.cloneNode(!0), null), d;
2144
+ }, j(d, "data-type", typeof o), f(d, typeof o == "string" && pt.cloneNode(!0), null), f(d, () => typeof o == "number" ? Ue(o) : String(o), null), f(d, typeof o == "string" && pt.cloneNode(!0), null), d;
2149
2145
  })())();
2150
2146
  })())];
2151
2147
  });
2152
2148
  }, W = (e) => (() => {
2153
2149
  const t = Wr.cloneNode(!0);
2154
- return C(t, Kr), f(t, h(Ve, {
2150
+ return C(t, Kr), f(t, h(Ze, {
2155
2151
  get value() {
2156
2152
  return e.value;
2157
2153
  },
@@ -2165,11 +2161,11 @@ async function ye(e) {
2165
2161
  await navigator.clipboard.writeText(typeof e == "object" ? JSON.stringify(e, null, 2) : String(e)), alert("Copied to clipboard");
2166
2162
  }
2167
2163
  Pe(["click"]);
2168
- let Xr = 0;
2169
- function Yr() {
2170
- return Xr++;
2164
+ let Jr = 0;
2165
+ function Xr() {
2166
+ return Jr++;
2171
2167
  }
2172
- const Gr = /* @__PURE__ */ y("<label></label>"), Qr = /* @__PURE__ */ y('<div><div class="inputContainer"><select></select></div></div>'), Jr = /* @__PURE__ */ y('<option value="">-- select an option --</option>'), qr = /* @__PURE__ */ y("<option></option>"), el = S`
2168
+ const Yr = /* @__PURE__ */ y("<label></label>"), Gr = /* @__PURE__ */ y('<div><div class="inputContainer"><select></select></div></div>'), Qr = /* @__PURE__ */ y('<option value="">-- select an option --</option>'), qr = /* @__PURE__ */ y("<option></option>"), el = S`
2173
2169
  &&& {
2174
2170
  ${L({
2175
2171
  align: "left"
@@ -2225,23 +2221,23 @@ const Gr = /* @__PURE__ */ y("<label></label>"), Qr = /* @__PURE__ */ y('<div><d
2225
2221
  }
2226
2222
  }
2227
2223
  `, tl = (e) => {
2228
- const t = `input${Yr()}`;
2224
+ const t = `input${Xr()}`;
2229
2225
  return (() => {
2230
- const n = Qr.cloneNode(!0), r = n.firstChild, l = r.firstChild;
2231
- return f(n, h(G, {
2226
+ const n = Gr.cloneNode(!0), r = n.firstChild, l = r.firstChild;
2227
+ return f(n, h(Y, {
2232
2228
  get when() {
2233
2229
  return e.label;
2234
2230
  },
2235
2231
  get children() {
2236
- const o = Gr.cloneNode(!0);
2232
+ const o = Yr.cloneNode(!0);
2237
2233
  return j(o, "for", t), f(o, () => e.label), o;
2238
2234
  }
2239
2235
  }), r), l.addEventListener("change", (o) => {
2240
2236
  o.currentTarget.value && e.onChange(o.currentTarget.value);
2241
2237
  }), j(l, "id", t), f(l, (() => {
2242
2238
  const o = m(() => !e.value);
2243
- return () => o() && Jr.cloneNode(!0);
2244
- })(), null), f(l, h(Q, {
2239
+ return () => o() && Qr.cloneNode(!0);
2240
+ })(), null), f(l, h(G, {
2245
2241
  get each() {
2246
2242
  return e.options;
2247
2243
  },
@@ -2249,15 +2245,15 @@ const Gr = /* @__PURE__ */ y("<label></label>"), Qr = /* @__PURE__ */ y('<div><d
2249
2245
  const s = qr.cloneNode(!0);
2250
2246
  return f(s, () => o.label), _(() => s.value = o.value), s;
2251
2247
  })()
2252
- }), null), _(() => C(n, Ft(el, e.class))), _(() => l.value = e.value ?? ""), n;
2248
+ }), null), _(() => C(n, Ht(el, e.class))), _(() => l.value = e.value ?? ""), n;
2253
2249
  })();
2254
2250
  };
2255
- function Ht(e) {
2251
+ function Vt(e) {
2256
2252
  const t = e.alias || e.payload || e.searchParams;
2257
2253
  return !t || Object.keys(t).length === 0 ? "" : typeof t == "string" || typeof t == "number" ? String(t) : JSON.stringify(t);
2258
2254
  }
2259
- function ft(e, t) {
2260
- return vt(e, t) ? "no changes" : Xt.diffJson(
2255
+ function ht(e, t) {
2256
+ return wt(e, t) ? "no changes" : Xt.diffJson(
2261
2257
  typeof e == "object" && e !== null ? e : String(e),
2262
2258
  typeof t == "object" && t !== null ? t : String(t)
2263
2259
  );
@@ -2265,7 +2261,7 @@ function ft(e, t) {
2265
2261
  function nl(e, t) {
2266
2262
  return e.length > t ? `${e.slice(0, t)}...` : e;
2267
2263
  }
2268
- const rl = /* @__PURE__ */ y('<div class="changes-count"><span class="additions">+ <b></b> lines</span> | <span class="removals">- <b></b> lines</span></div>'), Me = /* @__PURE__ */ y("<div></div>"), pt = /* @__PURE__ */ y("<div>No changes</div>"), ht = /* @__PURE__ */ y('<div class="line"></div>'), ll = S`
2264
+ const rl = /* @__PURE__ */ y('<div class="changes-count"><span class="additions">+ <b></b> lines</span> | <span class="removals">- <b></b> lines</span></div>'), Me = /* @__PURE__ */ y("<div></div>"), gt = /* @__PURE__ */ y("<div>No changes</div>"), mt = /* @__PURE__ */ y('<div class="line"></div>'), ll = S`
2269
2265
  &&& {
2270
2266
  ${L({
2271
2267
  gap: 14
@@ -2284,13 +2280,13 @@ const rl = /* @__PURE__ */ y('<div class="changes-count"><span class="additions"
2284
2280
  }
2285
2281
  }
2286
2282
  }
2287
- `, gt = S`
2283
+ `, $t = S`
2288
2284
  &&& {
2289
2285
  ${L({
2290
2286
  gap: 0
2291
2287
  })};
2292
2288
  font-size: 14px;
2293
- font-family: ${R.decorative};
2289
+ font-family: ${z.decorative};
2294
2290
  white-space: pre;
2295
2291
  overflow-x: auto;
2296
2292
 
@@ -2328,22 +2324,22 @@ const rl = /* @__PURE__ */ y('<div class="changes-count"><span class="additions"
2328
2324
  const {
2329
2325
  selectedCall: a
2330
2326
  } = I;
2331
- return a ? J.calls[a] : J.calls[Le.value];
2332
- }), t = or(() => I.selectedRequest ? e()?.requests.find((a) => a.id === I.selectedRequest) : e()?.requests.at(-1) || null), n = m(() => t.value?.id), r = Rt(() => {
2327
+ return a ? Q.calls[a] : Q.calls[Le.value];
2328
+ }), t = He(() => I.selectedRequest ? e()?.requests.find((a) => a.id === I.selectedRequest) : e()?.requests.at(-1) || null), n = m(() => t.value?.id), r = Ft(() => {
2333
2329
  const a = e();
2334
- return a ? zt(a.requests).map((c) => ({
2330
+ return a ? Bt(a.requests).map((c) => ({
2335
2331
  value: c.id,
2336
- label: `${ne(c.startTime).format("HH:mm:ss")} | ${nl(Ht(c), 50)}`
2332
+ label: `${ne(c.startTime).format("HH:mm:ss")} | ${nl(Vt(c), 50)}`
2337
2333
  })).filter((c) => c.value !== n()) : [];
2338
2334
  }, "value"), l = ge(null), o = m(() => l.value ? e()?.requests.find((a) => a.id === l.value) : null), s = m(() => {
2339
2335
  if (!l.value || !n())
2340
2336
  return [];
2341
- const a = t.value?.response, c = o()?.response, u = ft(c, a);
2337
+ const a = t.value?.response, c = o()?.response, u = ht(c, a);
2342
2338
  return u === "no changes" ? [] : u;
2343
2339
  }), i = m(() => {
2344
2340
  if (!l.value || !n())
2345
2341
  return [];
2346
- const a = mt(t.value), c = mt(o()), u = ft(c, a);
2342
+ const a = yt(t.value), c = yt(o()), u = ht(c, a);
2347
2343
  return u === "no changes" ? [] : u;
2348
2344
  });
2349
2345
  return (() => {
@@ -2359,7 +2355,7 @@ const rl = /* @__PURE__ */ y('<div class="changes-count"><span class="additions"
2359
2355
  onChange: (c) => {
2360
2356
  l.value = c;
2361
2357
  }
2362
- }), null), f(a, h(G, {
2358
+ }), null), f(a, h(Y, {
2363
2359
  get when() {
2364
2360
  return l.value;
2365
2361
  },
@@ -2367,7 +2363,7 @@ const rl = /* @__PURE__ */ y('<div class="changes-count"><span class="additions"
2367
2363
  return [(() => {
2368
2364
  const c = rl.cloneNode(!0), u = c.firstChild, p = u.firstChild, d = p.nextSibling, g = u.nextSibling, v = g.nextSibling, b = v.firstChild, w = b.nextSibling;
2369
2365
  return f(d, () => s().filter((k) => k.added).length), f(w, () => s().filter((k) => k.removed).length), c;
2370
- })(), h(G, {
2366
+ })(), h(Y, {
2371
2367
  get when() {
2372
2368
  return t.value?.payload || t.value?.searchParams || t.value?.pathParams;
2373
2369
  },
@@ -2378,15 +2374,15 @@ const rl = /* @__PURE__ */ y('<div class="changes-count"><span class="additions"
2378
2374
  },
2379
2375
  get children() {
2380
2376
  const c = Me.cloneNode(!0);
2381
- return C(c, gt), f(c, h(Q, {
2377
+ return C(c, $t), f(c, h(G, {
2382
2378
  get each() {
2383
2379
  return i();
2384
2380
  },
2385
2381
  get fallback() {
2386
- return pt.cloneNode(!0);
2382
+ return gt.cloneNode(!0);
2387
2383
  },
2388
2384
  children: (u) => (() => {
2389
- const p = ht.cloneNode(!0);
2385
+ const p = mt.cloneNode(!0);
2390
2386
  return f(p, () => u.value), _((d) => {
2391
2387
  const g = !!u.added, v = !!u.removed;
2392
2388
  return g !== d._v$ && p.classList.toggle("added", d._v$ = g), v !== d._v$2 && p.classList.toggle("removed", d._v$2 = v), d;
@@ -2399,7 +2395,7 @@ const rl = /* @__PURE__ */ y('<div class="changes-count"><span class="additions"
2399
2395
  }
2400
2396
  });
2401
2397
  }
2402
- }), h(G, {
2398
+ }), h(Y, {
2403
2399
  get when() {
2404
2400
  return t.value?.response !== void 0;
2405
2401
  },
@@ -2408,15 +2404,15 @@ const rl = /* @__PURE__ */ y('<div class="changes-count"><span class="additions"
2408
2404
  title: "Response Diff",
2409
2405
  get children() {
2410
2406
  const c = Me.cloneNode(!0);
2411
- return C(c, gt), f(c, h(Q, {
2407
+ return C(c, $t), f(c, h(G, {
2412
2408
  get each() {
2413
2409
  return s();
2414
2410
  },
2415
2411
  get fallback() {
2416
- return pt.cloneNode(!0);
2412
+ return gt.cloneNode(!0);
2417
2413
  },
2418
2414
  children: (u) => (() => {
2419
- const p = ht.cloneNode(!0);
2415
+ const p = mt.cloneNode(!0);
2420
2416
  return f(p, () => u.value), _((d) => {
2421
2417
  const g = !!u.added, v = !!u.removed;
2422
2418
  return g !== d._v$3 && p.classList.toggle("added", d._v$3 = g), v !== d._v$4 && p.classList.toggle("removed", d._v$4 = v), d;
@@ -2434,17 +2430,17 @@ const rl = /* @__PURE__ */ y('<div class="changes-count"><span class="additions"
2434
2430
  }), null), a;
2435
2431
  })();
2436
2432
  };
2437
- function mt(e) {
2433
+ function yt(e) {
2438
2434
  return e ? e.payload || e.searchParams || e.pathParams : null;
2439
2435
  }
2440
- const $t = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span class="type"></span><span class="separator">|</span></h1>'), sl = /* @__PURE__ */ y('<div class="tags"></div>'), al = /* @__PURE__ */ y('<div class="details"></div>'), cl = /* @__PURE__ */ y("<span>|</span>"), ul = /* @__PURE__ */ y("<h2></h2>"), dl = /* @__PURE__ */ y('<div class="method"></div>'), fl = /* @__PURE__ */ y('<div class="code"></div>'), pl = /* @__PURE__ */ y('<div class="tag error">Has Error</div>'), hl = /* @__PURE__ */ y('<div class="tag"></div>'), gl = /* @__PURE__ */ y("<span> ms</span>"), ml = /* @__PURE__ */ y("<span></span>"), $l = S`
2436
+ const vt = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span class="type"></span><span>|</span></h1>'), sl = /* @__PURE__ */ y('<div class="tags"></div>'), al = /* @__PURE__ */ y('<div class="details"></div>'), cl = /* @__PURE__ */ y('<span class="separator">|</span>'), ul = /* @__PURE__ */ y("<h2></h2>"), dl = /* @__PURE__ */ y('<div class="method"></div>'), fl = /* @__PURE__ */ y('<div class="code"></div>'), pl = /* @__PURE__ */ y('<div class="tag error">Has Error</div>'), hl = /* @__PURE__ */ y('<div class="tag"></div>'), gl = /* @__PURE__ */ y("<span> ms</span>"), ml = /* @__PURE__ */ y("<span></span>"), $l = S`
2441
2437
  &&& {
2442
2438
  ${L()};
2443
2439
  padding-left: 10px;
2444
2440
 
2445
2441
  > h1 {
2446
2442
  margin-top: 12px;
2447
- font-family: ${R.decorative};
2443
+ font-family: ${z.decorative};
2448
2444
  ${he};
2449
2445
 
2450
2446
  span.separator {
@@ -2462,7 +2458,7 @@ const $t = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
2462
2458
 
2463
2459
  > h2 {
2464
2460
  margin-top: 4px;
2465
- font-family: ${R.decorative};
2461
+ font-family: ${z.decorative};
2466
2462
  font-size: 12px;
2467
2463
  opacity: 0.5;
2468
2464
  }
@@ -2534,118 +2530,129 @@ const $t = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
2534
2530
  }
2535
2531
  }
2536
2532
  `, vl = () => {
2537
- const e = m(() => I.selectedCall), t = m(() => I.selectedRequest), n = m(() => I.selectedTab || "summary"), r = m(() => {
2538
- let o;
2539
- e() ? o = J.calls[e()] : o = J.calls[Le.value];
2540
- const s = t() && o?.requests.find((i) => i.id === t()) || o?.requests.at(-1);
2541
- return s && o ? {
2542
- ...s,
2543
- callName: o.name,
2544
- callPath: o.path
2533
+ const e = m(() => I.selectedCall), t = m(() => I.selectedRequest), n = m(() => I.selectedTab || "summary"), r = He(() => {
2534
+ let s;
2535
+ e() ? s = Q.calls[e()] : s = Q.calls[Le.value];
2536
+ const i = t() && s?.requests.find((a) => a.id === t()) || s?.requests.at(-1);
2537
+ return i && s ? {
2538
+ ...i,
2539
+ callName: s.name,
2540
+ callPath: s.path
2545
2541
  } : null;
2546
2542
  });
2547
- function l(o, s) {
2543
+ function l(s, i) {
2548
2544
  return h(F, {
2549
2545
  get classList() {
2550
2546
  return {
2551
- selected: n() === o
2547
+ selected: n() === s
2552
2548
  };
2553
2549
  },
2554
2550
  onClick: () => {
2555
- Ae("selectedTab", o);
2551
+ Ne("selectedTab", s);
2556
2552
  },
2557
- children: s
2553
+ children: i
2558
2554
  });
2559
2555
  }
2556
+ const o = He(() => {
2557
+ if (!r.value?.response)
2558
+ return !1;
2559
+ const s = JSON.stringify(r.value.response).length;
2560
+ return Ue(s, {
2561
+ unit: "byte",
2562
+ style: "unit",
2563
+ notation: "compact",
2564
+ unitDisplay: "narrow"
2565
+ });
2566
+ });
2560
2567
  return (() => {
2561
- const o = $t.cloneNode(!0);
2562
- return C(o, $l), f(o, h(G, {
2568
+ const s = vt.cloneNode(!0);
2569
+ return C(s, $l), f(s, h(Y, {
2563
2570
  get when() {
2564
- return r();
2571
+ return r.value;
2565
2572
  },
2566
2573
  keyed: !0,
2567
- children: (s) => [(() => {
2568
- const i = il.cloneNode(!0), a = i.firstChild;
2569
- return a.nextSibling, f(a, () => s.type === "ws" ? `WS ${s.subType}` : "API"), f(i, () => s.callName, null), f(i, (() => {
2570
- const c = m(() => !!s.alias);
2571
- return () => c() && cl.cloneNode(!0);
2572
- })(), null), f(i, () => s.alias, null), i;
2574
+ children: (i) => [(() => {
2575
+ const a = il.cloneNode(!0), c = a.firstChild;
2576
+ return c.nextSibling, f(c, () => i.type === "ws" ? `WS ${i.subType}` : "API"), f(a, () => i.callName, null), f(a, (() => {
2577
+ const u = m(() => !!i.alias);
2578
+ return () => u() && cl.cloneNode(!0);
2579
+ })(), null), f(a, () => i.alias, null), a;
2573
2580
  })(), m((() => {
2574
- const i = m(() => s.callPath !== s.callName);
2575
- return () => i() && (() => {
2576
- const a = ul.cloneNode(!0);
2577
- return f(a, () => s.callPath), a;
2581
+ const a = m(() => i.callPath !== i.callName);
2582
+ return () => a() && (() => {
2583
+ const c = ul.cloneNode(!0);
2584
+ return f(c, () => i.callPath), c;
2578
2585
  })();
2579
2586
  })()), (() => {
2580
- const i = sl.cloneNode(!0);
2581
- return f(i, (() => {
2582
- const a = m(() => !!s.method);
2583
- return () => a() && (() => {
2584
- const c = dl.cloneNode(!0);
2585
- return f(c, () => s.method), c;
2587
+ const a = sl.cloneNode(!0);
2588
+ return f(a, (() => {
2589
+ const c = m(() => !!i.method);
2590
+ return () => c() && (() => {
2591
+ const u = dl.cloneNode(!0);
2592
+ return f(u, () => i.method), u;
2586
2593
  })();
2587
- })(), null), f(i, (() => {
2588
- const a = m(() => !!s.code);
2589
- return () => a() && (() => {
2590
- const c = fl.cloneNode(!0);
2591
- return f(c, () => s.code), _(() => c.classList.toggle("error", s.code >= 400)), c;
2594
+ })(), null), f(a, (() => {
2595
+ const c = m(() => !!i.code);
2596
+ return () => c() && (() => {
2597
+ const u = fl.cloneNode(!0);
2598
+ return f(u, () => i.code), _(() => u.classList.toggle("error", i.code >= 400)), u;
2592
2599
  })();
2593
- })(), null), f(i, (() => {
2594
- const a = m(() => !!s.isError);
2595
- return () => a() && pl.cloneNode(!0);
2596
- })(), null), f(i, h(Q, {
2600
+ })(), null), f(a, (() => {
2601
+ const c = m(() => !!i.isError);
2602
+ return () => c() && pl.cloneNode(!0);
2603
+ })(), null), f(a, h(G, {
2597
2604
  get each() {
2598
- return s.tags;
2605
+ return i.tags;
2599
2606
  },
2600
- children: (a) => (() => {
2601
- const c = hl.cloneNode(!0);
2602
- return f(c, a), c;
2607
+ children: (c) => (() => {
2608
+ const u = hl.cloneNode(!0);
2609
+ return f(u, c), u;
2603
2610
  })()
2604
- }), null), i;
2611
+ }), null), a;
2605
2612
  })(), (() => {
2606
- const i = $t.cloneNode(!0);
2607
- return C(i, yl), f(i, () => l("summary", "Summary"), null), f(i, (() => {
2608
- const a = m(() => !!s.payload);
2609
- return () => a() && l("payload", "Payload");
2610
- })(), null), f(i, (() => {
2611
- const a = m(() => !!s.searchParams);
2612
- return () => a() && l("urlParams", "URL Params");
2613
- })(), null), f(i, () => l("response", "Response"), null), f(i, () => l("diff", "Diff"), null), i;
2613
+ const a = vt.cloneNode(!0);
2614
+ return C(a, yl), f(a, () => l("summary", "Summary"), null), f(a, (() => {
2615
+ const c = m(() => !!i.payload);
2616
+ return () => c() && l("payload", "Payload");
2617
+ })(), null), f(a, (() => {
2618
+ const c = m(() => !!i.searchParams);
2619
+ return () => c() && l("urlParams", "URL Params");
2620
+ })(), null), f(a, () => l("response", "Response"), null), f(a, () => l("diff", "Diff"), null), a;
2614
2621
  })(), (() => {
2615
- const i = al.cloneNode(!0);
2616
- return f(i, h(cn, {
2622
+ const a = al.cloneNode(!0);
2623
+ return f(a, h(un, {
2617
2624
  get children() {
2618
2625
  return [h(de, {
2619
2626
  get when() {
2620
2627
  return n() === "summary";
2621
2628
  },
2622
2629
  get children() {
2623
- return [m(() => m(() => !!s.payload)() && h(M, {
2630
+ return [m(() => m(() => !!i.payload)() && h(M, {
2624
2631
  title: "Payload",
2625
2632
  get children() {
2626
2633
  return h(W, {
2627
2634
  get value() {
2628
- return s.payload;
2635
+ return i.payload;
2629
2636
  },
2630
2637
  compact: !0
2631
2638
  });
2632
2639
  }
2633
- })), m(() => m(() => !!s.searchParams)() && h(M, {
2640
+ })), m(() => m(() => !!i.searchParams)() && h(M, {
2634
2641
  title: "URL Params",
2635
2642
  get children() {
2636
2643
  return h(W, {
2637
2644
  get value() {
2638
- return s.searchParams;
2645
+ return i.searchParams;
2639
2646
  },
2640
2647
  compact: !0
2641
2648
  });
2642
2649
  }
2643
- })), m(() => m(() => !!s.response)() && h(M, {
2650
+ })), m(() => m(() => !!i.response)() && h(M, {
2644
2651
  title: "Response",
2645
2652
  get children() {
2646
2653
  return h(W, {
2647
2654
  get value() {
2648
- return s.response;
2655
+ return i.response;
2649
2656
  },
2650
2657
  compact: !0
2651
2658
  });
@@ -2655,25 +2662,30 @@ const $t = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
2655
2662
  get children() {
2656
2663
  return h(Mr, {
2657
2664
  get rows() {
2658
- return [s.type !== "ws" && {
2665
+ return [i.type !== "ws" && {
2659
2666
  name: "Duration",
2660
2667
  value: (() => {
2661
- const a = gl.cloneNode(!0), c = a.firstChild;
2662
- return f(a, () => Bt(s.duration, 0), c), _(() => a.style.setProperty("color", s.duration < 500 ? $.success.var : s.duration > 1e3 ? $.error.var : void 0)), a;
2668
+ const c = gl.cloneNode(!0), u = c.firstChild;
2669
+ return f(c, () => Ue(i.duration, {
2670
+ maximumFractionDigits: 0
2671
+ }), u), _(() => c.style.setProperty("color", i.duration < 500 ? $.success.var : i.duration > 1e3 ? $.error.var : void 0)), c;
2663
2672
  })()
2664
2673
  }, {
2665
2674
  name: "Start Time",
2666
2675
  value: (() => {
2667
- const a = ml.cloneNode(!0);
2668
- return f(a, () => `${ne(s.startTime).format("HH:mm:ss")} (${ne(s.startTime).fromNow()})`), _(() => j(a, "title", ne(s.startTime).format("YYYY-MM-DD HH:mm:ss.SSS"))), a;
2676
+ const c = ml.cloneNode(!0);
2677
+ return f(c, () => `${ne(i.startTime).format("HH:mm:ss")} (${ne(i.startTime).fromNow()})`), _(() => j(c, "title", ne(i.startTime).format("YYYY-MM-DD HH:mm:ss.SSS"))), c;
2669
2678
  })()
2679
+ }, !!o.value && {
2680
+ name: "Avg. Response Size",
2681
+ value: o.value
2670
2682
  }];
2671
2683
  }
2672
2684
  });
2673
2685
  }
2674
- }), h(G, {
2686
+ }), h(Y, {
2675
2687
  get when() {
2676
- return s.type !== "ws";
2688
+ return i.type !== "ws";
2677
2689
  },
2678
2690
  get children() {
2679
2691
  return h(M, {
@@ -2681,7 +2693,7 @@ const $t = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
2681
2693
  get children() {
2682
2694
  return h(W, {
2683
2695
  get value() {
2684
- return s.metadata;
2696
+ return i.metadata;
2685
2697
  }
2686
2698
  });
2687
2699
  }
@@ -2699,7 +2711,7 @@ const $t = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
2699
2711
  get children() {
2700
2712
  return h(W, {
2701
2713
  get value() {
2702
- return s.payload;
2714
+ return i.payload;
2703
2715
  }
2704
2716
  });
2705
2717
  }
@@ -2715,7 +2727,7 @@ const $t = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
2715
2727
  get children() {
2716
2728
  return h(W, {
2717
2729
  get value() {
2718
- return s.response;
2730
+ return i.response;
2719
2731
  }
2720
2732
  });
2721
2733
  }
@@ -2731,7 +2743,7 @@ const $t = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
2731
2743
  get children() {
2732
2744
  return h(W, {
2733
2745
  get value() {
2734
- return s.searchParams;
2746
+ return i.searchParams;
2735
2747
  }
2736
2748
  });
2737
2749
  }
@@ -2746,9 +2758,9 @@ const $t = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
2746
2758
  }
2747
2759
  })];
2748
2760
  }
2749
- })), i;
2761
+ })), a;
2750
2762
  })()]
2751
- })), o;
2763
+ })), s;
2752
2764
  })();
2753
2765
  }, bl = /* @__PURE__ */ y("<div><h1>timeline</h1><div></div></div>"), wl = /* @__PURE__ */ y("<div>no requests found</div>"), xl = /* @__PURE__ */ y('<span class="start-time"></span>'), Cl = /* @__PURE__ */ y("<div></div>"), _l = /* @__PURE__ */ y('<span class="separator">|</span>'), Sl = /* @__PURE__ */ y('<span class="payload"></span>'), kl = S`
2754
2766
  &&& {
@@ -2759,18 +2771,18 @@ const $t = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
2759
2771
  font-size: 16px;
2760
2772
  padding-left: 12px;
2761
2773
  padding-top: 10px;
2762
- font-family: ${R.decorative};
2774
+ font-family: ${z.decorative};
2763
2775
  color: ${$.secondary.var};
2764
2776
  padding-bottom: 16px;
2765
2777
  }
2766
2778
  }
2767
- `, Al = S`
2779
+ `, Nl = S`
2768
2780
  &&& {
2769
2781
  ${L()};
2770
2782
  flex: 1 1;
2771
2783
  overflow-y: auto;
2772
2784
  }
2773
- `, Nl = S`
2785
+ `, Al = S`
2774
2786
  &&& {
2775
2787
  font-size: 13px;
2776
2788
  ${L()};
@@ -2793,7 +2805,7 @@ const $t = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
2793
2805
  }
2794
2806
 
2795
2807
  > .start-time {
2796
- font-family: ${R.decorative};
2808
+ font-family: ${z.decorative};
2797
2809
  }
2798
2810
 
2799
2811
  > .separator {
@@ -2816,14 +2828,14 @@ const $t = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
2816
2828
  `, Pl = () => {
2817
2829
  const e = m(() => {
2818
2830
  const l = I.selectedCall;
2819
- return l ? l ? J.calls[l] : null : J.calls[Le.value] || null;
2831
+ return l ? l ? Q.calls[l] : null : Q.calls[Le.value] || null;
2820
2832
  }), t = m(() => {
2821
- const l = zt(e()?.requests);
2833
+ const l = Bt(e()?.requests);
2822
2834
  return l.length === 0 ? null : l;
2823
2835
  }), n = m(() => I.selectedSubitem ? t()?.filter((l) => l.alias === I.selectedSubitem) : t()), r = m(() => I.selectedRequest || n()?.[0]?.id);
2824
2836
  return (() => {
2825
2837
  const l = bl.cloneNode(!0), o = l.firstChild, s = o.nextSibling;
2826
- return C(l, kl), C(s, Al), f(s, h(Q, {
2838
+ return C(l, kl), C(s, Nl), f(s, h(G, {
2827
2839
  get each() {
2828
2840
  return n();
2829
2841
  },
@@ -2834,12 +2846,12 @@ const $t = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
2834
2846
  })();
2835
2847
  },
2836
2848
  children: (i) => {
2837
- const a = ne(i.startTime), c = a.format("HH:mm:ss"), u = a.fromNow(), p = Ht(i);
2849
+ const a = ne(i.startTime), c = a.format("HH:mm:ss"), u = a.fromNow(), p = Vt(i);
2838
2850
  return (() => {
2839
2851
  const d = Cl.cloneNode(!0);
2840
- return C(d, Nl), f(d, h(F, {
2852
+ return C(d, Al), f(d, h(F, {
2841
2853
  onClick: () => {
2842
- Ae("selectedRequest", i.id);
2854
+ Ne("selectedRequest", i.id);
2843
2855
  },
2844
2856
  get classList() {
2845
2857
  return {
@@ -2869,7 +2881,7 @@ const $t = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
2869
2881
  const e = El.cloneNode(!0);
2870
2882
  return C(e, Ll), f(e, h(Tr, {}), null), f(e, h(Pl, {}), null), f(e, h(vl, {}), null), e;
2871
2883
  })(), jl = `
2872
- font-family: ${R.primary};
2884
+ font-family: ${z.primary};
2873
2885
  color: ${$.textPrimary.var};
2874
2886
 
2875
2887
  * {
@@ -2997,7 +3009,7 @@ button {
2997
3009
  cursor: pointer;
2998
3010
  -webkit-appearance: none;
2999
3011
  }
3000
- `, Dl = /* @__PURE__ */ y("<div></div>"), Rl = /* @__PURE__ */ y('<div id="dev-tools-root-element"><nav></nav><main></main></div>'), zl = S`
3012
+ `, Dl = /* @__PURE__ */ y("<div></div>"), zl = /* @__PURE__ */ y('<div id="dev-tools-root-element"><nav></nav><main></main></div>'), Rl = S`
3001
3013
  ${Ml};
3002
3014
  ${jl};
3003
3015
 
@@ -3030,19 +3042,19 @@ button {
3030
3042
  }
3031
3043
 
3032
3044
  > main > * {
3033
- ${We};
3045
+ ${Je};
3034
3046
  }
3035
3047
  `, Fl = S`
3036
- ${We};
3048
+ ${Je};
3037
3049
  position: fixed;
3038
3050
  inset: 0;
3039
3051
  backdrop-filter: blur(5px);
3040
3052
  `, Bl = () => [(() => {
3041
3053
  const e = Dl.cloneNode(!0);
3042
- return _e(e, "click", Ut, !0), C(e, Fl), e;
3054
+ return _e(e, "click", Zt, !0), C(e, Fl), e;
3043
3055
  })(), (() => {
3044
- const e = Rl.cloneNode(!0), t = e.firstChild, n = t.nextSibling;
3045
- return C(e, zl), f(t, h(F, {
3056
+ const e = zl.cloneNode(!0), t = e.firstChild, n = t.nextSibling;
3057
+ return C(e, Rl), f(t, h(F, {
3046
3058
  title: "API Explorer",
3047
3059
  get children() {
3048
3060
  return h(Ee, {
@@ -3063,11 +3075,11 @@ function Vl(e) {
3063
3075
  }));
3064
3076
  }), `https://fonts.googleapis.com/css2?${t}&display=swap`;
3065
3077
  }
3066
- let yt = !1;
3078
+ let bt = !1;
3067
3079
  function Ul() {
3068
- if (yt)
3080
+ if (bt)
3069
3081
  return;
3070
- yt = !0;
3082
+ bt = !0;
3071
3083
  const e = Vl([
3072
3084
  {
3073
3085
  family: "Work+Sans",
@@ -3076,19 +3088,19 @@ function Ul() {
3076
3088
  ]), t = document.getElementsByTagName("head")[0], n = document.createElement("link");
3077
3089
  n.type = "text/css", n.rel = "stylesheet", n.href = e, t?.appendChild(n);
3078
3090
  }
3079
- let Vt = () => {
3080
- }, Ue = !1;
3091
+ let Ut = () => {
3092
+ }, We = !1;
3081
3093
  function Zl() {
3082
- if (ne.extend(kn), Ue) {
3083
- Ut();
3094
+ if (ne.extend(Nn), We) {
3095
+ Zt();
3084
3096
  return;
3085
3097
  }
3086
- Ue = !0, Ul(), navigator.platform.indexOf("Win") > -1 && document.body.classList.add("windows");
3098
+ We = !0, Ul(), navigator.platform.indexOf("Win") > -1 && document.body.classList.add("windows");
3087
3099
  const e = document.getElementById("dev-tools-root") || document.createElement("div");
3088
- e.id = "dev-tools-root", document.body.appendChild(e), Vt = $n(() => h(Hl, {}), e);
3100
+ e.id = "dev-tools-root", document.body.appendChild(e), Ut = yn(() => h(Hl, {}), e);
3089
3101
  }
3090
- function Ut() {
3091
- Ue = !1, Vt();
3102
+ function Zt() {
3103
+ We = !1, Ut();
3092
3104
  }
3093
3105
  function ql({
3094
3106
  callsProcessor: e,
@@ -3105,6 +3117,6 @@ function ql({
3105
3117
  }
3106
3118
  export {
3107
3119
  yr as addCall,
3108
- Jl as addWebsocketEvent,
3120
+ Ql as addWebsocketEvent,
3109
3121
  ql as initializeDevTools
3110
3122
  };