app-devtools 0.28.1 → 0.30.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.
- package/dist/main.js +672 -635
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import ne from "dayjs";
|
|
2
|
-
import { dequal as
|
|
3
|
-
import { produce as
|
|
4
|
-
import { parse as
|
|
5
|
-
import { nanoid as
|
|
6
|
-
import * as
|
|
7
|
-
import
|
|
8
|
-
const U = {},
|
|
9
|
-
equals:
|
|
2
|
+
import { dequal as xt } from "dequal";
|
|
3
|
+
import { produce as Kt } from "immer";
|
|
4
|
+
import { parse as Jt } from "regexparam";
|
|
5
|
+
import { nanoid as Xt } from "nanoid";
|
|
6
|
+
import * as Yt from "diff";
|
|
7
|
+
import Gt from "tinykeys";
|
|
8
|
+
const U = {}, Qt = (e, t) => e === t, D = Symbol("solid-proxy"), ve = Symbol("solid-track"), be = {
|
|
9
|
+
equals: Qt
|
|
10
10
|
};
|
|
11
|
-
let
|
|
12
|
-
const q = 1, we = 2,
|
|
11
|
+
let qt = Pt;
|
|
12
|
+
const q = 1, we = 2, Ct = {
|
|
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
|
|
19
|
+
let J = null, N = null, E = null, X = null, Ke = 0;
|
|
20
20
|
function re(e, t) {
|
|
21
|
-
const n =
|
|
21
|
+
const n = N, r = P, l = e.length === 0, o = l ? Ct : {
|
|
22
22
|
owned: null,
|
|
23
23
|
cleanups: null,
|
|
24
24
|
context: null,
|
|
25
25
|
owner: t === void 0 ? r : t
|
|
26
|
-
}, s = l ? e : () => e(() =>
|
|
27
|
-
P = o,
|
|
26
|
+
}, s = l ? e : () => e(() => W(() => Te(o)));
|
|
27
|
+
P = o, N = null;
|
|
28
28
|
try {
|
|
29
29
|
return ue(s, !0);
|
|
30
30
|
} finally {
|
|
31
|
-
|
|
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)),
|
|
42
|
-
return [
|
|
41
|
+
}, r = (l) => (typeof l == "function" && (l = l(n.value)), Nt(n, l));
|
|
42
|
+
return [kt.bind(n), r];
|
|
43
43
|
}
|
|
44
44
|
function _(e, t, n) {
|
|
45
|
-
const r =
|
|
46
|
-
|
|
45
|
+
const r = At(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 =
|
|
51
|
-
return r.observers = null, r.observerSlots = null, r.comparator = n.equals || void 0,
|
|
50
|
+
const r = At(e, t, !0, 0);
|
|
51
|
+
return r.observers = null, r.observerSlots = null, r.comparator = n.equals || void 0, Ae(r), kt.bind(r);
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function en(e) {
|
|
54
54
|
return ue(e, !1);
|
|
55
55
|
}
|
|
56
|
-
function
|
|
57
|
-
if (
|
|
56
|
+
function W(e) {
|
|
57
|
+
if (N === null)
|
|
58
58
|
return e();
|
|
59
|
-
const t =
|
|
60
|
-
|
|
59
|
+
const t = N;
|
|
60
|
+
N = null;
|
|
61
61
|
try {
|
|
62
62
|
return e();
|
|
63
63
|
} finally {
|
|
64
|
-
|
|
64
|
+
N = t;
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function _t(e) {
|
|
68
68
|
return P === null || (P.cleanups === null ? P.cleanups = [e] : P.cleanups.push(e)), e;
|
|
69
69
|
}
|
|
70
|
-
function
|
|
71
|
-
return
|
|
70
|
+
function St() {
|
|
71
|
+
return N;
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function tn(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
|
|
81
|
-
const e =
|
|
80
|
+
function kt() {
|
|
81
|
+
const e = J;
|
|
82
82
|
if (this.sources && (this.state || e))
|
|
83
83
|
if (this.state === q || e)
|
|
84
|
-
|
|
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 (
|
|
89
|
+
if (N) {
|
|
90
90
|
const t = this.observers ? this.observers.length : 0;
|
|
91
|
-
|
|
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
|
|
95
|
+
function Nt(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 =
|
|
100
|
-
s &&
|
|
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 && Et(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
|
|
106
|
+
function Ae(e) {
|
|
107
107
|
if (!e.fn)
|
|
108
108
|
return;
|
|
109
109
|
Te(e);
|
|
110
|
-
const t = P, n =
|
|
111
|
-
|
|
110
|
+
const t = P, n = N, r = Ke;
|
|
111
|
+
N = P = e, nn(e, e.value, r), N = n, P = t;
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function nn(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),
|
|
118
|
+
e.pure && (e.state = q, e.owned && e.owned.forEach(Te), e.owned = null), Ot(l);
|
|
119
119
|
}
|
|
120
|
-
(!e.updatedAt || e.updatedAt <= n) && (e.updatedAt != null && "observers" in e ?
|
|
120
|
+
(!e.updatedAt || e.updatedAt <= n) && (e.updatedAt != null && "observers" in e ? Nt(e, r) : e.value = r, e.updatedAt = n);
|
|
121
121
|
}
|
|
122
|
-
function
|
|
122
|
+
function At(e, t, n, r = q, l) {
|
|
123
123
|
const o = {
|
|
124
124
|
fn: e,
|
|
125
125
|
state: r,
|
|
@@ -133,22 +133,22 @@ function St(e, t, n, r = q, l) {
|
|
|
133
133
|
context: null,
|
|
134
134
|
pure: n
|
|
135
135
|
};
|
|
136
|
-
return P === null || P !==
|
|
136
|
+
return P === null || P !== Ct && (P.owned ? P.owned.push(o) : P.owned = [o]), o;
|
|
137
137
|
}
|
|
138
|
-
function
|
|
139
|
-
const t =
|
|
138
|
+
function Tt(e) {
|
|
139
|
+
const t = J;
|
|
140
140
|
if (e.state === 0 || t)
|
|
141
141
|
return;
|
|
142
142
|
if (e.state === we || t)
|
|
143
143
|
return xe(e);
|
|
144
|
-
if (e.suspense &&
|
|
144
|
+
if (e.suspense && W(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 <
|
|
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
|
-
|
|
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 = []),
|
|
161
|
+
t || (E = []), X ? n = !0 : X = [], Ke++;
|
|
162
162
|
try {
|
|
163
163
|
const r = e();
|
|
164
|
-
return
|
|
164
|
+
return rn(n), r;
|
|
165
165
|
} catch (r) {
|
|
166
|
-
n || (
|
|
166
|
+
n || (X = null), E = null, Ot(r);
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
|
-
function
|
|
170
|
-
if (E && (
|
|
169
|
+
function rn(e) {
|
|
170
|
+
if (E && (Pt(E), E = null), e)
|
|
171
171
|
return;
|
|
172
|
-
const t =
|
|
173
|
-
|
|
172
|
+
const t = X;
|
|
173
|
+
X = null, t.length && ue(() => qt(t), !1);
|
|
174
174
|
}
|
|
175
|
-
function
|
|
175
|
+
function Pt(e) {
|
|
176
176
|
for (let t = 0; t < e.length; t++)
|
|
177
|
-
|
|
177
|
+
Tt(e[t]);
|
|
178
178
|
}
|
|
179
179
|
function xe(e, t) {
|
|
180
|
-
const n =
|
|
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 &&
|
|
184
|
+
l.sources && (l.state === q || n ? l !== t && Tt(l) : (l.state === we || n) && xe(l, t));
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
|
-
function
|
|
188
|
-
const t =
|
|
187
|
+
function Et(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) :
|
|
191
|
+
(!r.state || t) && (r.state = we, r.pure ? E.push(r) : X.push(r), r.observers && Et(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
|
|
216
|
+
function ln(e) {
|
|
217
217
|
return e instanceof Error || typeof e == "string" ? e : new Error("Unknown error");
|
|
218
218
|
}
|
|
219
|
-
function
|
|
220
|
-
throw e =
|
|
219
|
+
function Ot(e) {
|
|
220
|
+
throw e = ln(e), e;
|
|
221
221
|
}
|
|
222
222
|
function De(e) {
|
|
223
223
|
if (typeof e == "function" && !e.length)
|
|
@@ -232,32 +232,32 @@ function De(e) {
|
|
|
232
232
|
}
|
|
233
233
|
return e;
|
|
234
234
|
}
|
|
235
|
-
const
|
|
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
|
|
240
|
+
function on(e, t, n = {}) {
|
|
241
241
|
let r = [], l = [], o = [], s = 0, i = t.length > 1 ? [] : null;
|
|
242
|
-
return
|
|
242
|
+
return _t(() => Ce(o)), () => {
|
|
243
243
|
let a = e() || [], c, u;
|
|
244
|
-
return a[ve],
|
|
245
|
-
let d = a.length, g, v, b, w, k, x,
|
|
244
|
+
return a[ve], W(() => {
|
|
245
|
+
let d = a.length, g, v, b, w, k, x, A, T, L;
|
|
246
246
|
if (d === 0)
|
|
247
|
-
s !== 0 && (Ce(o), o = [], r = [], l = [], s = 0, i && (i = [])), n.fallback && (r = [
|
|
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,
|
|
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 (
|
|
256
|
-
b[T] = l[
|
|
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
|
-
|
|
259
|
-
for (c = x; c <=
|
|
260
|
-
|
|
258
|
+
L = a[u], c = g.get(L), v[u] = c === void 0 ? -1 : c, g.set(L, u);
|
|
259
|
+
for (c = x; c <= A; c++)
|
|
260
|
+
L = r[c], u = g.get(L), u !== void 0 && u !== -1 ? (b[u] = l[c], w[u] = o[c], i && (k[u] = i[c]), u = v[u], g.set(L, 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);
|
|
263
263
|
l = l.slice(0, s = d), r = a.slice(0);
|
|
@@ -273,14 +273,14 @@ function rn(e, t, n = {}) {
|
|
|
273
273
|
}
|
|
274
274
|
};
|
|
275
275
|
}
|
|
276
|
-
function
|
|
276
|
+
function sn(e, t, n = {}) {
|
|
277
277
|
let r = [], l = [], o = [], s = [], i = 0, a;
|
|
278
|
-
return
|
|
278
|
+
return _t(() => Ce(o)), () => {
|
|
279
279
|
const c = e() || [];
|
|
280
|
-
return c[ve],
|
|
280
|
+
return c[ve], W(() => {
|
|
281
281
|
if (c.length === 0)
|
|
282
|
-
return i !== 0 && (Ce(o), o = [], r = [], l = [], i = 0, s = []), n.fallback && (r = [
|
|
283
|
-
for (r[0] ===
|
|
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]();
|
|
@@ -294,12 +294,12 @@ function ln(e, t, n = {}) {
|
|
|
294
294
|
};
|
|
295
295
|
}
|
|
296
296
|
function h(e, t) {
|
|
297
|
-
return
|
|
297
|
+
return W(() => e(t || {}));
|
|
298
298
|
}
|
|
299
299
|
function me() {
|
|
300
300
|
return !0;
|
|
301
301
|
}
|
|
302
|
-
const
|
|
302
|
+
const an = {
|
|
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
|
|
329
|
+
function cn(...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
|
-
},
|
|
356
|
+
}, an);
|
|
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
|
|
375
|
+
function G(e) {
|
|
376
376
|
const t = "fallback" in e && {
|
|
377
377
|
fallback: () => e.fallback
|
|
378
378
|
};
|
|
379
|
-
return m(
|
|
379
|
+
return m(on(() => e.each, e.children, t || void 0));
|
|
380
380
|
}
|
|
381
|
-
function
|
|
381
|
+
function un(e) {
|
|
382
382
|
const t = "fallback" in e && {
|
|
383
383
|
fallback: () => e.fallback
|
|
384
384
|
};
|
|
385
|
-
return m(
|
|
385
|
+
return m(sn(() => e.each, e.children, t || void 0));
|
|
386
386
|
}
|
|
387
|
-
function
|
|
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
|
|
@@ -393,14 +393,14 @@ function G(e) {
|
|
|
393
393
|
const l = r();
|
|
394
394
|
if (l) {
|
|
395
395
|
const o = e.children, s = typeof o == "function" && o.length > 0;
|
|
396
|
-
return t = n || s, s ?
|
|
396
|
+
return t = n || s, s ? W(() => o(l)) : o;
|
|
397
397
|
}
|
|
398
398
|
return e.fallback;
|
|
399
399
|
}, void 0, void 0);
|
|
400
400
|
}
|
|
401
|
-
function
|
|
401
|
+
function dn(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 =
|
|
403
|
+
const r = (s, i) => s[0] === i[0] && (t ? s[1] === i[1] : !s[1] == !i[1]) && s[2] === i[2], l = tn(() => 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++) {
|
|
@@ -417,27 +417,27 @@ function cn(e) {
|
|
|
417
417
|
if (s < 0)
|
|
418
418
|
return e.fallback;
|
|
419
419
|
const c = a.children, u = typeof c == "function" && c.length > 0;
|
|
420
|
-
return t = n || u, u ?
|
|
420
|
+
return t = n || u, u ? W(() => c(i)) : c;
|
|
421
421
|
}, void 0, void 0);
|
|
422
422
|
}
|
|
423
423
|
function de(e) {
|
|
424
424
|
return e;
|
|
425
425
|
}
|
|
426
|
-
const
|
|
426
|
+
const fn = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "controls", "default", "disabled", "formnovalidate", "hidden", "indeterminate", "ismap", "loop", "multiple", "muted", "nomodule", "novalidate", "open", "playsinline", "readonly", "required", "reversed", "seamless", "selected"], pn = /* @__PURE__ */ new Set(["className", "value", "readOnly", "formNoValidate", "isMap", "noModule", "playsInline", ...fn]), hn = /* @__PURE__ */ new Set(["innerHTML", "textContent", "innerText", "children"]), gn = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
|
|
427
427
|
className: "class",
|
|
428
428
|
htmlFor: "for"
|
|
429
|
-
}),
|
|
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
|
-
}),
|
|
436
|
+
}), mn = /* @__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"]), yn = {
|
|
437
437
|
xlink: "http://www.w3.org/1999/xlink",
|
|
438
438
|
xml: "http://www.w3.org/XML/1998/namespace"
|
|
439
439
|
};
|
|
440
|
-
function
|
|
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
|
|
486
|
-
function
|
|
485
|
+
const Ge = "_$DX_DELEGATE";
|
|
486
|
+
function vn(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);
|
|
@@ -491,23 +491,23 @@ function $n(e, t, n, r = {}) {
|
|
|
491
491
|
l(), t.textContent = "";
|
|
492
492
|
};
|
|
493
493
|
}
|
|
494
|
-
function
|
|
494
|
+
function $(e, t, n) {
|
|
495
495
|
const r = document.createElement("template");
|
|
496
496
|
r.innerHTML = e;
|
|
497
497
|
let l = r.content.firstChild;
|
|
498
498
|
return n && (l = l.firstChild), l;
|
|
499
499
|
}
|
|
500
500
|
function Pe(e, t = window.document) {
|
|
501
|
-
const n = t[
|
|
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,
|
|
504
|
+
n.has(o) || (n.add(o), t.addEventListener(o, Sn));
|
|
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
|
|
510
|
+
function bn(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
|
|
525
|
+
function wn(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] || (
|
|
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 || (
|
|
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
|
|
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
|
|
552
|
+
function xn(e, t = {}, n, r) {
|
|
553
553
|
const l = {};
|
|
554
|
-
return r || _(() => l.children = ie(e, t.children, l.children)), _(() => t.ref && t.ref(e)), _(() =>
|
|
554
|
+
return r || _(() => l.children = ie(e, t.children, l.children)), _(() => t.ref && t.ref(e)), _(() => Cn(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
|
|
561
|
+
function Cn(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] =
|
|
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] =
|
|
575
|
+
l[s] = qe(e, s, i, l[s], n, o);
|
|
576
576
|
}
|
|
577
577
|
}
|
|
578
|
-
function
|
|
578
|
+
function _n(e) {
|
|
579
579
|
return e.toLowerCase().replace(/-([a-z])/g, (t, n) => n.toUpperCase());
|
|
580
580
|
}
|
|
581
|
-
function
|
|
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
|
|
586
|
+
function qe(e, t, n, r, l, o) {
|
|
587
587
|
let s, i, a;
|
|
588
588
|
if (t === "style")
|
|
589
|
-
return
|
|
589
|
+
return Lt(e, n, r);
|
|
590
590
|
if (t === "classList")
|
|
591
|
-
return
|
|
591
|
+
return wn(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 =
|
|
603
|
+
const c = t.slice(2).toLowerCase(), u = mn.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 =
|
|
610
|
-
t === "class" || t === "className" ? C(e, n) : s && !i && !a ? e[
|
|
609
|
+
} else if ((a = hn.has(t)) || !l && (Ye[t] || (i = pn.has(t))) || (s = e.nodeName.includes("-")))
|
|
610
|
+
t === "class" || t === "className" ? C(e, n) : s && !i && !a ? e[_n(t)] = n : e[Ye[t] || t] = n;
|
|
611
611
|
else {
|
|
612
|
-
const c = l && t.indexOf(":") > -1 &&
|
|
613
|
-
c ?
|
|
612
|
+
const c = l && t.indexOf(":") > -1 && yn[t.split(":")[0]];
|
|
613
|
+
c ? bn(e, c, t, n) : j(e, gn[t] || t, n);
|
|
614
614
|
}
|
|
615
615
|
return n;
|
|
616
616
|
}
|
|
617
|
-
function
|
|
617
|
+
function Sn(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 (
|
|
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 ?
|
|
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
|
|
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 =
|
|
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 =
|
|
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
|
|
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
|
|
746
|
+
var kn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Fe = {}, Nn = {
|
|
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
|
-
})(
|
|
757
|
+
})(kn, 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,14 +762,14 @@ 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" }],
|
|
766
|
-
var
|
|
767
|
-
|
|
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
|
+
var L = x[T];
|
|
767
|
+
L.d && (v = d ? l(c).diff(p, L.d, !0) : p.diff(c, L.d, !0));
|
|
768
768
|
var H = (n.rounding || Math.round)(Math.abs(v));
|
|
769
|
-
if (w = v > 0, H <=
|
|
770
|
-
H <= 1 && T > 0 && (
|
|
771
|
-
var
|
|
772
|
-
g && (H = g("" + H)), b = typeof
|
|
769
|
+
if (w = v > 0, H <= L.r || !L.r) {
|
|
770
|
+
H <= 1 && T > 0 && (L = x[T - 1]);
|
|
771
|
+
var Le = k[L.l];
|
|
772
|
+
g && (H = g("" + H)), b = typeof Le == "string" ? Le.replace("%d", H) : Le(H, u, L.l, w);
|
|
773
773
|
break;
|
|
774
774
|
}
|
|
775
775
|
}
|
|
@@ -792,17 +792,17 @@ var _n = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
792
792
|
};
|
|
793
793
|
};
|
|
794
794
|
});
|
|
795
|
-
})(
|
|
796
|
-
const
|
|
797
|
-
const t =
|
|
798
|
-
return
|
|
799
|
-
onMouseDown:
|
|
795
|
+
})(Nn);
|
|
796
|
+
const An = Fe, Tn = /* @__PURE__ */ $("<button></button>"), F = (e) => (() => {
|
|
797
|
+
const t = Tn.cloneNode(!0);
|
|
798
|
+
return xn(t, cn(e, {
|
|
799
|
+
onMouseDown: Pn
|
|
800
800
|
}), !1, !1), t;
|
|
801
801
|
})();
|
|
802
|
-
function
|
|
802
|
+
function Pn(e) {
|
|
803
803
|
e.preventDefault();
|
|
804
804
|
}
|
|
805
|
-
const
|
|
805
|
+
const En = `<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
|
-
`,
|
|
816
|
+
`, On = `<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
|
-
`,
|
|
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
|
-
`,
|
|
825
|
+
`, jn = `<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
|
-
`,
|
|
828
|
+
`, In = `<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
|
-
`,
|
|
832
|
-
"/src/assets/icons/caret-down.svg":
|
|
833
|
-
"/src/assets/icons/network.svg":
|
|
834
|
-
"/src/assets/icons/search.svg":
|
|
835
|
-
"/src/assets/icons/send.svg":
|
|
836
|
-
"/src/assets/icons/settings.svg":
|
|
831
|
+
`, Mn = /* @__PURE__ */ Object.assign({
|
|
832
|
+
"/src/assets/icons/caret-down.svg": En,
|
|
833
|
+
"/src/assets/icons/network.svg": On,
|
|
834
|
+
"/src/assets/icons/search.svg": Ln,
|
|
835
|
+
"/src/assets/icons/send.svg": jn,
|
|
836
|
+
"/src/assets/icons/settings.svg": In
|
|
837
837
|
});
|
|
838
|
-
function
|
|
839
|
-
return
|
|
838
|
+
function Dn(e) {
|
|
839
|
+
return Mn[`/src/assets/icons/${e}.svg`];
|
|
840
840
|
}
|
|
841
|
-
const
|
|
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
|
|
848
|
+
function zn(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
|
|
851
|
+
let Rn = { data: "" }, Fn = (e) => typeof window == "object" ? ((e ? e.querySelector("#_goober") : window._goober) || Object.assign((e || document.head).appendChild(document.createElement("style")), { innerHTML: " ", id: "_goober" })).firstChild : e || Rn, Bn = /(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g, Hn = /\/\*[^]*?\*\/| +/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
|
-
},
|
|
858
|
+
}, R = {}, jt = (e) => {
|
|
859
859
|
if (typeof e == "object") {
|
|
860
860
|
let t = "";
|
|
861
861
|
for (let n in e)
|
|
862
|
-
t += n +
|
|
862
|
+
t += n + jt(e[n]);
|
|
863
863
|
return t;
|
|
864
864
|
}
|
|
865
865
|
return e;
|
|
866
|
-
},
|
|
867
|
-
let o =
|
|
866
|
+
}, Vn = (e, t, n, r, l) => {
|
|
867
|
+
let o = jt(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 (!
|
|
873
|
+
if (!R[s]) {
|
|
874
874
|
let a = o !== e ? e : ((c) => {
|
|
875
875
|
let u, p, d = [{}];
|
|
876
|
-
for (; u =
|
|
877
|
-
u[4] ? d.shift() : u[3] ? (p = u[3].replace(
|
|
876
|
+
for (; u = Bn.exec(c.replace(Hn, "")); )
|
|
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
|
-
|
|
880
|
+
R[s] = K(l ? { ["@keyframes " + s]: a } : a, n ? "" : "." + s);
|
|
881
881
|
}
|
|
882
|
-
let i = n &&
|
|
883
|
-
return n && (
|
|
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
|
-
})(
|
|
886
|
-
},
|
|
885
|
+
})(R[s], t, r, i), s;
|
|
886
|
+
}, Un = (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
|
|
896
|
+
return Vn(n.unshift ? n.raw ? Un(n, [].slice.call(arguments, 1), t.p) : n.reduce((r, l) => Object.assign(r, l && l.call ? l(t.p) : l), {}) : n, Fn(t.target), t.g, t.o, t.k);
|
|
897
897
|
}
|
|
898
898
|
S.bind({ g: 1 });
|
|
899
899
|
S.bind({ k: 1 });
|
|
900
|
-
const
|
|
900
|
+
const Wn = /* @__PURE__ */ $("<div></div>"), Zn = S`
|
|
901
901
|
&&& {
|
|
902
902
|
position: relative;
|
|
903
903
|
color: currentColor;
|
|
@@ -906,29 +906,29 @@ const Vn = /* @__PURE__ */ y("<div></div>"), Un = S`
|
|
|
906
906
|
|
|
907
907
|
svg {
|
|
908
908
|
display: block;
|
|
909
|
-
${
|
|
909
|
+
${Je};
|
|
910
910
|
}
|
|
911
911
|
}
|
|
912
912
|
`, Ee = (e) => {
|
|
913
|
-
const t =
|
|
913
|
+
const t = Dn(e.name);
|
|
914
914
|
return (() => {
|
|
915
|
-
const n =
|
|
915
|
+
const n = Wn.cloneNode(!0);
|
|
916
916
|
return n.innerHTML = t, _((r) => {
|
|
917
|
-
const l = `icon ${e.class || ""} ${
|
|
917
|
+
const l = `icon ${e.class || ""} ${Zn}`, o = {
|
|
918
918
|
color: e.color,
|
|
919
|
-
"--icon-size": e.size &&
|
|
919
|
+
"--icon-size": e.size && zn(e.size)
|
|
920
920
|
};
|
|
921
|
-
return l !== r._v$ && C(n, r._v$ = l), r._v$2 =
|
|
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"),
|
|
928
|
-
function
|
|
927
|
+
}, Se = Symbol("store-raw"), pe = Symbol("store-node"), Kn = Symbol("store-name");
|
|
928
|
+
function It(e, t) {
|
|
929
929
|
let n = e[D];
|
|
930
930
|
if (!n && (Object.defineProperty(e, D, {
|
|
931
|
-
value: n = new Proxy(e,
|
|
931
|
+
value: n = new Proxy(e, Yn)
|
|
932
932
|
}), !Array.isArray(e))) {
|
|
933
933
|
const r = Object.keys(e), l = Object.getOwnPropertyDescriptors(e);
|
|
934
934
|
for (let o = 0, s = r.length; o < s; o++) {
|
|
@@ -963,52 +963,52 @@ function ae(e, t = /* @__PURE__ */ new Set()) {
|
|
|
963
963
|
}
|
|
964
964
|
return e;
|
|
965
965
|
}
|
|
966
|
-
function
|
|
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] =
|
|
973
|
+
return e[t] || (e[t] = Dt(n));
|
|
974
974
|
}
|
|
975
|
-
function
|
|
975
|
+
function Jn(e, t) {
|
|
976
976
|
const n = Reflect.getOwnPropertyDescriptor(e, t);
|
|
977
|
-
return !n || n.get || !n.configurable || t === D || t === pe || t ===
|
|
977
|
+
return !n || n.get || !n.configurable || t === D || t === pe || t === Kn || (delete n.value, delete n.writable, n.get = () => e[D][t]), n;
|
|
978
978
|
}
|
|
979
|
-
function
|
|
980
|
-
if (
|
|
981
|
-
const t =
|
|
982
|
-
(t._ || (t._ =
|
|
979
|
+
function Mt(e) {
|
|
980
|
+
if (St()) {
|
|
981
|
+
const t = Xe(e);
|
|
982
|
+
(t._ || (t._ = Dt()))();
|
|
983
983
|
}
|
|
984
984
|
}
|
|
985
|
-
function
|
|
986
|
-
return
|
|
985
|
+
function Xn(e) {
|
|
986
|
+
return Mt(e), Reflect.ownKeys(e);
|
|
987
987
|
}
|
|
988
|
-
function
|
|
988
|
+
function Dt(e) {
|
|
989
989
|
const [t, n] = oe(e, {
|
|
990
990
|
equals: !1,
|
|
991
991
|
internal: !0
|
|
992
992
|
});
|
|
993
993
|
return t.$ = n, t;
|
|
994
994
|
}
|
|
995
|
-
const
|
|
995
|
+
const Yn = {
|
|
996
996
|
get(e, t, n) {
|
|
997
997
|
if (t === Se)
|
|
998
998
|
return e;
|
|
999
999
|
if (t === D)
|
|
1000
1000
|
return n;
|
|
1001
1001
|
if (t === ve)
|
|
1002
|
-
return
|
|
1003
|
-
const r =
|
|
1002
|
+
return Mt(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
|
-
|
|
1009
|
+
St() && (typeof o != "function" || e.hasOwnProperty(t)) && !(s && s.get) && (o = Be(r, t, o)());
|
|
1010
1010
|
}
|
|
1011
|
-
return se(o) ?
|
|
1011
|
+
return se(o) ? It(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,25 +1019,25 @@ const Xn = {
|
|
|
1019
1019
|
deleteProperty() {
|
|
1020
1020
|
return !0;
|
|
1021
1021
|
},
|
|
1022
|
-
ownKeys:
|
|
1023
|
-
getOwnPropertyDescriptor:
|
|
1022
|
+
ownKeys: Xn,
|
|
1023
|
+
getOwnPropertyDescriptor: Jn
|
|
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 =
|
|
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
|
|
1033
|
+
function zt(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];
|
|
1037
1037
|
ce(e, l, t[l]);
|
|
1038
1038
|
}
|
|
1039
1039
|
}
|
|
1040
|
-
function
|
|
1040
|
+
function Gn(e, t) {
|
|
1041
1041
|
if (typeof t == "function" && (t = t(e)), t = ae(t), Array.isArray(t)) {
|
|
1042
1042
|
if (e === t)
|
|
1043
1043
|
return;
|
|
@@ -1048,7 +1048,7 @@ function Yn(e, t) {
|
|
|
1048
1048
|
}
|
|
1049
1049
|
ce(e, "length", r);
|
|
1050
1050
|
} else
|
|
1051
|
-
|
|
1051
|
+
zt(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) ?
|
|
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) ? zt(l, o) : ce(e, r, o));
|
|
1083
1083
|
}
|
|
1084
|
-
function
|
|
1085
|
-
const n = ae(e || {}), r = Array.isArray(n), l =
|
|
1084
|
+
function Rt(...[e, t]) {
|
|
1085
|
+
const n = ae(e || {}), r = Array.isArray(n), l = It(n);
|
|
1086
1086
|
function o(...s) {
|
|
1087
|
-
|
|
1088
|
-
r && s.length === 1 ?
|
|
1087
|
+
en(() => {
|
|
1088
|
+
r && s.length === 1 ? Gn(n, s[0]) : fe(n, s);
|
|
1089
1089
|
});
|
|
1090
1090
|
}
|
|
1091
1091
|
return [l, o];
|
|
1092
1092
|
}
|
|
1093
|
-
const ke = /* @__PURE__ */ new WeakMap(),
|
|
1093
|
+
const ke = /* @__PURE__ */ new WeakMap(), Ft = {
|
|
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,
|
|
1099
|
+
return se(n) ? ke.get(n) || (ke.set(n, r = new Proxy(n, Ft)), r) : n;
|
|
1100
1100
|
},
|
|
1101
1101
|
set(e, t, n) {
|
|
1102
1102
|
return ce(e, t, ae(n)), !0;
|
|
@@ -1105,16 +1105,16 @@ const ke = /* @__PURE__ */ new WeakMap(), Dt = {
|
|
|
1105
1105
|
return ce(e, t, void 0, !0), !0;
|
|
1106
1106
|
}
|
|
1107
1107
|
};
|
|
1108
|
-
function
|
|
1108
|
+
function Qn(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,
|
|
1112
|
+
(n = ke.get(t)) || ke.set(t, n = new Proxy(t, Ft)), e(n);
|
|
1113
1113
|
}
|
|
1114
1114
|
return t;
|
|
1115
1115
|
};
|
|
1116
1116
|
}
|
|
1117
|
-
const [I,
|
|
1117
|
+
const [I, Ne] = Rt({
|
|
1118
1118
|
selectedCall: null,
|
|
1119
1119
|
selectedRequest: null,
|
|
1120
1120
|
selectedTab: null,
|
|
@@ -1126,14 +1126,14 @@ const [I, Ae] = Mt({
|
|
|
1126
1126
|
white-space: nowrap;
|
|
1127
1127
|
word-wrap: norma;
|
|
1128
1128
|
max-width: 100%;
|
|
1129
|
-
`,
|
|
1129
|
+
`, qn = {
|
|
1130
1130
|
left: "flex-start",
|
|
1131
1131
|
center: "center",
|
|
1132
1132
|
right: "flex-end",
|
|
1133
1133
|
spaceBetween: "space-between",
|
|
1134
1134
|
spaceAround: "space-around",
|
|
1135
1135
|
spaceEvenly: "space-evenly"
|
|
1136
|
-
},
|
|
1136
|
+
}, er = {
|
|
1137
1137
|
top: "flex-start",
|
|
1138
1138
|
bottom: "flex-end",
|
|
1139
1139
|
center: "center",
|
|
@@ -1146,21 +1146,21 @@ const [I, Ae] = Mt({
|
|
|
1146
1146
|
display: flex;
|
|
1147
1147
|
column-gap: ${n}px;
|
|
1148
1148
|
flex-direction: row;
|
|
1149
|
-
justify-content: ${
|
|
1150
|
-
align-items: ${
|
|
1151
|
-
`,
|
|
1149
|
+
justify-content: ${qn[e]};
|
|
1150
|
+
align-items: ${er[t]};
|
|
1151
|
+
`, tr = {
|
|
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
|
-
},
|
|
1158
|
+
}, nr = {
|
|
1159
1159
|
left: "flex-start",
|
|
1160
1160
|
right: "flex-end",
|
|
1161
1161
|
center: "center",
|
|
1162
1162
|
stretch: "stretch"
|
|
1163
|
-
},
|
|
1163
|
+
}, O = ({
|
|
1164
1164
|
justify: e = "top",
|
|
1165
1165
|
align: t = "stretch",
|
|
1166
1166
|
gap: n = 0
|
|
@@ -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: ${
|
|
1172
|
-
align-items: ${
|
|
1171
|
+
justify-content: ${tr[e]};
|
|
1172
|
+
align-items: ${nr[t]};
|
|
1173
1173
|
`;
|
|
1174
|
-
function
|
|
1174
|
+
function rr(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
|
|
1182
|
+
function lr(e) {
|
|
1183
1183
|
return Object.entries(e);
|
|
1184
1184
|
}
|
|
1185
|
-
const
|
|
1186
|
-
let
|
|
1187
|
-
function
|
|
1185
|
+
const ye = document.documentElement.style;
|
|
1186
|
+
let nt = 1;
|
|
1187
|
+
function or(e) {
|
|
1188
1188
|
const t = {};
|
|
1189
|
-
for (const [n, r] of
|
|
1190
|
-
const [l, o, s] =
|
|
1191
|
-
|
|
1189
|
+
for (const [n, r] of lr(e)) {
|
|
1190
|
+
const [l, o, s] = rr(r), i = `c${nt}`;
|
|
1191
|
+
nt++, ye.setProperty(`--${i}-r`, String(l)), ye.setProperty(`--${i}-g`, String(o)), ye.setProperty(`--${i}-b`, String(s)), ye.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
|
|
1218
|
+
const y = or({
|
|
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
|
-
}),
|
|
1231
|
+
}), z = {
|
|
1232
1232
|
primary: '"Work Sans", sans-serif',
|
|
1233
1233
|
decorative: '"Fira Code", monospaced'
|
|
1234
1234
|
};
|
|
1235
|
-
function
|
|
1235
|
+
function ir(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 &&
|
|
1241
|
+
s && xt(s, o) ? r.push(s) : r.push(o);
|
|
1242
1242
|
}
|
|
1243
1243
|
return r;
|
|
1244
1244
|
}
|
|
1245
|
-
function
|
|
1246
|
-
return m((n) =>
|
|
1245
|
+
function Bt(e, t) {
|
|
1246
|
+
return m((n) => ir(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) =>
|
|
1261
|
+
n((l) => Kt(l, r));
|
|
1262
1262
|
},
|
|
1263
1263
|
peek() {
|
|
1264
|
-
return
|
|
1264
|
+
return W(t);
|
|
1265
1265
|
}
|
|
1266
1266
|
};
|
|
1267
1267
|
}
|
|
1268
|
-
function
|
|
1268
|
+
function He(e) {
|
|
1269
1269
|
const t = m(e);
|
|
1270
1270
|
return {
|
|
1271
1271
|
get value() {
|
|
@@ -1273,10 +1273,10 @@ function or(e) {
|
|
|
1273
1273
|
}
|
|
1274
1274
|
};
|
|
1275
1275
|
}
|
|
1276
|
-
const
|
|
1276
|
+
const sr = /* @__PURE__ */ $('<div class="tag"></div>'), rt = /* @__PURE__ */ $("<span></span>"), ar = /* @__PURE__ */ $('<div><div class="call"></div></div>'), cr = S`
|
|
1277
1277
|
&&& {
|
|
1278
1278
|
font-size: 14px;
|
|
1279
|
-
${
|
|
1279
|
+
${O()};
|
|
1280
1280
|
|
|
1281
1281
|
> .call {
|
|
1282
1282
|
padding: 4px 12px;
|
|
@@ -1285,7 +1285,7 @@ const ir = /* @__PURE__ */ y('<div class="tag"></div>'), tt = /* @__PURE__ */ y(
|
|
|
1285
1285
|
|
|
1286
1286
|
&.selected {
|
|
1287
1287
|
opacity: 1;
|
|
1288
|
-
background-color: ${
|
|
1288
|
+
background-color: ${y.secondary.alpha(0.16)};
|
|
1289
1289
|
}
|
|
1290
1290
|
|
|
1291
1291
|
> .call-button {
|
|
@@ -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: ${
|
|
1300
|
+
font-family: ${z.decorative};
|
|
1301
1301
|
}
|
|
1302
1302
|
|
|
1303
1303
|
> span {
|
|
@@ -1313,7 +1313,7 @@ const ir = /* @__PURE__ */ y('<div class="tag"></div>'), tt = /* @__PURE__ */ y(
|
|
|
1313
1313
|
padding-left: 14px;
|
|
1314
1314
|
margin-left: 16px;
|
|
1315
1315
|
padding-right: 0;
|
|
1316
|
-
border-left: 1px solid ${
|
|
1316
|
+
border-left: 1px solid ${y.white.alpha(0.1)};
|
|
1317
1317
|
${B()};
|
|
1318
1318
|
|
|
1319
1319
|
span {
|
|
@@ -1327,7 +1327,7 @@ const ir = /* @__PURE__ */ y('<div class="tag"></div>'), tt = /* @__PURE__ */ y(
|
|
|
1327
1327
|
|
|
1328
1328
|
&.selected span {
|
|
1329
1329
|
opacity: 1;
|
|
1330
|
-
background-color: ${
|
|
1330
|
+
background-color: ${y.secondary.alpha(0.16)};
|
|
1331
1331
|
}
|
|
1332
1332
|
|
|
1333
1333
|
&:first-of-type {
|
|
@@ -1336,7 +1336,7 @@ const ir = /* @__PURE__ */ y('<div class="tag"></div>'), tt = /* @__PURE__ */ y(
|
|
|
1336
1336
|
|
|
1337
1337
|
&:last-of-type {
|
|
1338
1338
|
border-radius: 0 0 0 10px;
|
|
1339
|
-
border-bottom: 1px solid ${
|
|
1339
|
+
border-bottom: 1px solid ${y.white.alpha(0.1)};
|
|
1340
1340
|
padding-bottom: 10px;
|
|
1341
1341
|
margin-bottom: 4px;
|
|
1342
1342
|
}
|
|
@@ -1350,13 +1350,13 @@ const ir = /* @__PURE__ */ y('<div class="tag"></div>'), tt = /* @__PURE__ */ y(
|
|
|
1350
1350
|
}
|
|
1351
1351
|
}
|
|
1352
1352
|
}
|
|
1353
|
-
`,
|
|
1354
|
-
const t = m(() => e.item), n = m(() => e.currentCallId), r = ge(e.item.subitemsWithAlias.length < 4), l =
|
|
1353
|
+
`, ur = (e) => {
|
|
1354
|
+
const t = m(() => e.item), n = m(() => e.currentCallId), r = ge(e.item.subitemsWithAlias.length < 4), l = dr(t().type, t().subType);
|
|
1355
1355
|
return (() => {
|
|
1356
|
-
const o =
|
|
1357
|
-
return C(o,
|
|
1356
|
+
const o = ar.cloneNode(!0), s = o.firstChild;
|
|
1357
|
+
return C(o, cr), f(s, h(F, {
|
|
1358
1358
|
onClick: () => {
|
|
1359
|
-
|
|
1359
|
+
Ne({
|
|
1360
1360
|
selectedCall: t().id,
|
|
1361
1361
|
selectedSubitem: null
|
|
1362
1362
|
});
|
|
@@ -1364,7 +1364,7 @@ const ir = /* @__PURE__ */ y('<div class="tag"></div>'), tt = /* @__PURE__ */ y(
|
|
|
1364
1364
|
class: "call-button",
|
|
1365
1365
|
get children() {
|
|
1366
1366
|
return [(() => {
|
|
1367
|
-
const i =
|
|
1367
|
+
const i = sr.cloneNode(!0);
|
|
1368
1368
|
return f(i, () => l.icon), _((a) => {
|
|
1369
1369
|
const c = `${t().type}${t().subType ? ` (${t().subType})` : ""}`, u = l.color;
|
|
1370
1370
|
return c !== a._v$ && j(i, "title", a._v$ = c), u !== a._v$2 && i.style.setProperty("color", a._v$2 = u), a;
|
|
@@ -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 =
|
|
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(
|
|
1398
|
+
})(), null), f(o, h(Y, {
|
|
1399
1399
|
get when() {
|
|
1400
1400
|
return r.value;
|
|
1401
1401
|
},
|
|
1402
1402
|
get children() {
|
|
1403
|
-
return h(
|
|
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
|
-
|
|
1415
|
+
Ne({
|
|
1416
1416
|
selectedCall: t().id,
|
|
1417
1417
|
selectedSubitem: i
|
|
1418
1418
|
});
|
|
1419
1419
|
},
|
|
1420
1420
|
get children() {
|
|
1421
|
-
const a =
|
|
1421
|
+
const a = rt.cloneNode(!0);
|
|
1422
1422
|
return f(a, i), a;
|
|
1423
1423
|
}
|
|
1424
1424
|
})
|
|
@@ -1427,7 +1427,7 @@ const ir = /* @__PURE__ */ y('<div class="tag"></div>'), tt = /* @__PURE__ */ y(
|
|
|
1427
1427
|
}), null), _(() => s.classList.toggle("selected", n() === t().id)), o;
|
|
1428
1428
|
})();
|
|
1429
1429
|
};
|
|
1430
|
-
function
|
|
1430
|
+
function dr(e, t) {
|
|
1431
1431
|
if (e === "ws")
|
|
1432
1432
|
return {
|
|
1433
1433
|
icon: t === "send" ? "S" : "R",
|
|
@@ -1445,37 +1445,37 @@ function ur(e, t) {
|
|
|
1445
1445
|
color: r
|
|
1446
1446
|
};
|
|
1447
1447
|
}
|
|
1448
|
-
function
|
|
1448
|
+
function Ht(e) {
|
|
1449
1449
|
return e ? e.slice().reverse() : [];
|
|
1450
1450
|
}
|
|
1451
|
-
function
|
|
1451
|
+
function fr(...e) {
|
|
1452
1452
|
const t = [];
|
|
1453
1453
|
for (const n of e)
|
|
1454
1454
|
n != null && t.push(...n);
|
|
1455
1455
|
return t;
|
|
1456
1456
|
}
|
|
1457
|
-
function
|
|
1457
|
+
function pr(e) {
|
|
1458
1458
|
return e.filter((t) => t != null);
|
|
1459
1459
|
}
|
|
1460
|
-
function
|
|
1460
|
+
function hr(e) {
|
|
1461
1461
|
return e.filter((t) => t !== !1);
|
|
1462
1462
|
}
|
|
1463
|
-
function
|
|
1463
|
+
function lt(e) {
|
|
1464
1464
|
if (e == null)
|
|
1465
1465
|
throw new Error("Value is null or undefined");
|
|
1466
1466
|
}
|
|
1467
|
-
function
|
|
1467
|
+
function ot(e, t) {
|
|
1468
1468
|
try {
|
|
1469
1469
|
return e();
|
|
1470
1470
|
} catch (n) {
|
|
1471
1471
|
return t && t(n), null;
|
|
1472
1472
|
}
|
|
1473
1473
|
}
|
|
1474
|
-
function hr(e, t) {
|
|
1475
|
-
const n = Wt(t);
|
|
1476
|
-
return gr(e, n);
|
|
1477
|
-
}
|
|
1478
1474
|
function gr(e, t) {
|
|
1475
|
+
const n = Jt(t);
|
|
1476
|
+
return mr(e, n);
|
|
1477
|
+
}
|
|
1478
|
+
function mr(e, t) {
|
|
1479
1479
|
let n = 0;
|
|
1480
1480
|
const r = {}, l = t.pattern.exec(e);
|
|
1481
1481
|
if (!l)
|
|
@@ -1504,26 +1504,26 @@ function le(e) {
|
|
|
1504
1504
|
}
|
|
1505
1505
|
return e;
|
|
1506
1506
|
}
|
|
1507
|
-
const [
|
|
1507
|
+
const [Q, yr] = Rt({
|
|
1508
1508
|
calls: {}
|
|
1509
|
-
}),
|
|
1510
|
-
let
|
|
1509
|
+
}), Oe = ge("");
|
|
1510
|
+
let Ve = {
|
|
1511
1511
|
callsProcessor: []
|
|
1512
1512
|
};
|
|
1513
1513
|
function $r(e) {
|
|
1514
|
-
|
|
1515
|
-
...
|
|
1514
|
+
Ve = {
|
|
1515
|
+
...Ve,
|
|
1516
1516
|
...e
|
|
1517
1517
|
};
|
|
1518
1518
|
}
|
|
1519
|
-
function
|
|
1519
|
+
function to({
|
|
1520
1520
|
type: e,
|
|
1521
1521
|
response: t,
|
|
1522
1522
|
payload: n,
|
|
1523
1523
|
event: r,
|
|
1524
1524
|
startTime: l
|
|
1525
1525
|
}) {
|
|
1526
|
-
|
|
1526
|
+
vr({
|
|
1527
1527
|
type: "ws",
|
|
1528
1528
|
path: r,
|
|
1529
1529
|
payload: n,
|
|
@@ -1535,7 +1535,7 @@ function Jl({
|
|
|
1535
1535
|
response: t
|
|
1536
1536
|
});
|
|
1537
1537
|
}
|
|
1538
|
-
function
|
|
1538
|
+
function vr(e) {
|
|
1539
1539
|
const t = e.startTime || Date.now();
|
|
1540
1540
|
return ({
|
|
1541
1541
|
isError: n,
|
|
@@ -1545,22 +1545,22 @@ function yr(e) {
|
|
|
1545
1545
|
tags: s
|
|
1546
1546
|
}) => {
|
|
1547
1547
|
const i = e.duration || Date.now() - t;
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
const c =
|
|
1548
|
+
yr(
|
|
1549
|
+
Qn((a) => {
|
|
1550
|
+
const c = ot(
|
|
1551
1551
|
() => new URL(e.path, "http://localhost")
|
|
1552
1552
|
);
|
|
1553
|
-
|
|
1553
|
+
lt(c);
|
|
1554
1554
|
const u = c.searchParams.toString() !== "" ? Object.fromEntries(c.searchParams.entries()) : null;
|
|
1555
1555
|
let p = null;
|
|
1556
|
-
const d =
|
|
1557
|
-
if (typeof
|
|
1558
|
-
if (
|
|
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 =
|
|
1560
|
+
const T = gr(c.pathname, A.match);
|
|
1561
1561
|
return T ? (p = T, !0) : !1;
|
|
1562
1562
|
} else
|
|
1563
|
-
return
|
|
1563
|
+
return A.match({
|
|
1564
1564
|
url: c,
|
|
1565
1565
|
type: e.type,
|
|
1566
1566
|
subType: e.subType
|
|
@@ -1579,11 +1579,11 @@ function yr(e) {
|
|
|
1579
1579
|
requests: [],
|
|
1580
1580
|
type: e.type,
|
|
1581
1581
|
subType: e.subType
|
|
1582
|
-
},
|
|
1582
|
+
}, Oe.value = v);
|
|
1583
1583
|
const w = a.calls[v];
|
|
1584
|
-
|
|
1584
|
+
lt(w), w.requests.length > 100 && w.requests.shift();
|
|
1585
1585
|
const k = {
|
|
1586
|
-
id:
|
|
1586
|
+
id: Xt(),
|
|
1587
1587
|
duration: i,
|
|
1588
1588
|
pathParams: p,
|
|
1589
1589
|
isError: n,
|
|
@@ -1597,10 +1597,10 @@ function yr(e) {
|
|
|
1597
1597
|
method: e.method,
|
|
1598
1598
|
subType: e.subType,
|
|
1599
1599
|
code: r,
|
|
1600
|
-
tags:
|
|
1601
|
-
|
|
1600
|
+
tags: pr(
|
|
1601
|
+
fr(e.tags, s)
|
|
1602
1602
|
)
|
|
1603
|
-
}, x =
|
|
1603
|
+
}, x = ot(
|
|
1604
1604
|
() => d?.payloadAlias?.(k.payload, k)
|
|
1605
1605
|
);
|
|
1606
1606
|
x && (k.alias = x), w.requests.push(k);
|
|
@@ -1608,74 +1608,74 @@ function yr(e) {
|
|
|
1608
1608
|
);
|
|
1609
1609
|
};
|
|
1610
1610
|
}
|
|
1611
|
-
const
|
|
1611
|
+
const br = {
|
|
1612
1612
|
short: 160,
|
|
1613
1613
|
medium: 240,
|
|
1614
1614
|
long: 360
|
|
1615
|
-
},
|
|
1615
|
+
}, wr = {
|
|
1616
1616
|
inOut: "cubic-bezier(0.4, 0.0, 0.2, 1)",
|
|
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
|
-
},
|
|
1621
|
-
function
|
|
1620
|
+
}, it = (e) => e !== void 0 ? `${e}ms` : "";
|
|
1621
|
+
function xr(e = {}) {
|
|
1622
1622
|
const { properties: t, duration: n, ease: r, delay: l } = e;
|
|
1623
1623
|
return `
|
|
1624
|
-
transition: ${
|
|
1625
|
-
typeof n == "number" ? n :
|
|
1626
|
-
)} ${
|
|
1624
|
+
transition: ${it(
|
|
1625
|
+
typeof n == "number" ? n : br[n || "medium"]
|
|
1626
|
+
)} ${wr[r || "inOut"]} ${it(l)};
|
|
1627
1627
|
${t ? `
|
|
1628
1628
|
transition-property: ${t.join(", ") || ""};
|
|
1629
1629
|
` : ""}
|
|
1630
1630
|
`;
|
|
1631
1631
|
}
|
|
1632
|
-
const
|
|
1633
|
-
function
|
|
1634
|
-
const n =
|
|
1635
|
-
|
|
1632
|
+
const st = (e) => e.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase().trim();
|
|
1633
|
+
function Cr(e, t) {
|
|
1634
|
+
const n = st(String(t)).indexOf(
|
|
1635
|
+
st(String(e))
|
|
1636
1636
|
);
|
|
1637
1637
|
return {
|
|
1638
1638
|
matched: n !== -1,
|
|
1639
1639
|
matchedIndex: n
|
|
1640
1640
|
};
|
|
1641
1641
|
}
|
|
1642
|
-
function
|
|
1642
|
+
function _r(e, t, { lowerFirst: n } = {}) {
|
|
1643
1643
|
return [...e].sort((r, l) => {
|
|
1644
1644
|
const o = t(r), s = t(l);
|
|
1645
1645
|
return o < s ? n ? -1 : 1 : o > s ? n ? 1 : -1 : 0;
|
|
1646
1646
|
});
|
|
1647
1647
|
}
|
|
1648
|
-
function
|
|
1648
|
+
function at({
|
|
1649
1649
|
items: e,
|
|
1650
1650
|
searchQuery: t,
|
|
1651
1651
|
getStringToMatch: n
|
|
1652
1652
|
}) {
|
|
1653
1653
|
const r = [];
|
|
1654
1654
|
for (const l of e) {
|
|
1655
|
-
const o =
|
|
1655
|
+
const o = Cr(t, n(l));
|
|
1656
1656
|
o.matched && r.push({ item: l, matchedIndex: o.matchedIndex });
|
|
1657
1657
|
}
|
|
1658
|
-
return
|
|
1658
|
+
return _r(r, (l) => l.matchedIndex, {
|
|
1659
1659
|
lowerFirst: !0
|
|
1660
1660
|
}).map(({ item: l }) => l);
|
|
1661
1661
|
}
|
|
1662
|
-
const
|
|
1662
|
+
const Sr = /* @__PURE__ */ $('<div><h1>API EXPLORER</h1><div><button>API</button><button>WebSocket</button><button>All</button></div><label><input type="text" placeholder="Search"></label><div></div></div>'), kr = S`
|
|
1663
1663
|
&&& {
|
|
1664
|
-
${
|
|
1665
|
-
border-right: 1px solid ${
|
|
1664
|
+
${O()};
|
|
1665
|
+
border-right: 1px solid ${y.white.alpha(0.1)};
|
|
1666
1666
|
|
|
1667
1667
|
> h1 {
|
|
1668
1668
|
font-size: 18px;
|
|
1669
1669
|
padding-left: 12px;
|
|
1670
1670
|
padding-top: 10px;
|
|
1671
|
-
font-family: ${
|
|
1672
|
-
color: ${
|
|
1671
|
+
font-family: ${z.decorative};
|
|
1672
|
+
color: ${y.secondary.var};
|
|
1673
1673
|
padding-bottom: 12px;
|
|
1674
1674
|
}
|
|
1675
1675
|
}
|
|
1676
|
-
`,
|
|
1676
|
+
`, Nr = S`
|
|
1677
1677
|
&&& {
|
|
1678
|
-
${
|
|
1678
|
+
${O()};
|
|
1679
1679
|
flex: 1 1;
|
|
1680
1680
|
overflow-y: auto;
|
|
1681
1681
|
padding-bottom: 16px;
|
|
@@ -1690,27 +1690,27 @@ const _r = /* @__PURE__ */ y('<div><h1>API EXPLORER</h1><div><button>API</button
|
|
|
1690
1690
|
|
|
1691
1691
|
display: grid;
|
|
1692
1692
|
grid-template-columns: 14px 1fr;
|
|
1693
|
-
background: ${
|
|
1693
|
+
background: ${y.white.alpha(0.05)};
|
|
1694
1694
|
border-radius: 4px;
|
|
1695
1695
|
--icon-size: 16px;
|
|
1696
1696
|
padding: 4px 0;
|
|
1697
1697
|
padding-left: 6px;
|
|
1698
1698
|
|
|
1699
1699
|
.icon {
|
|
1700
|
-
color: ${
|
|
1700
|
+
color: ${y.secondary.var};
|
|
1701
1701
|
}
|
|
1702
1702
|
|
|
1703
1703
|
input {
|
|
1704
1704
|
border: none;
|
|
1705
1705
|
background: transparent;
|
|
1706
|
-
color: ${
|
|
1706
|
+
color: ${y.white.var};
|
|
1707
1707
|
|
|
1708
1708
|
&:focus {
|
|
1709
1709
|
outline: none;
|
|
1710
1710
|
}
|
|
1711
1711
|
}
|
|
1712
1712
|
}
|
|
1713
|
-
`,
|
|
1713
|
+
`, Tr = S`
|
|
1714
1714
|
&&& {
|
|
1715
1715
|
${B({
|
|
1716
1716
|
gap: 16
|
|
@@ -1721,7 +1721,7 @@ const _r = /* @__PURE__ */ y('<div><h1>API EXPLORER</h1><div><button>API</button
|
|
|
1721
1721
|
> button {
|
|
1722
1722
|
font-size: 14px;
|
|
1723
1723
|
opacity: 0.5;
|
|
1724
|
-
${
|
|
1724
|
+
${xr()};
|
|
1725
1725
|
|
|
1726
1726
|
&:hover {
|
|
1727
1727
|
opacity: 1;
|
|
@@ -1729,13 +1729,13 @@ const _r = /* @__PURE__ */ y('<div><h1>API EXPLORER</h1><div><button>API</button
|
|
|
1729
1729
|
|
|
1730
1730
|
&.active {
|
|
1731
1731
|
opacity: 1;
|
|
1732
|
-
color: ${
|
|
1732
|
+
color: ${y.primary.var};
|
|
1733
1733
|
}
|
|
1734
1734
|
}
|
|
1735
1735
|
}
|
|
1736
|
-
`, V = ge("api"),
|
|
1737
|
-
const e = ge(""), t =
|
|
1738
|
-
const [r = "", l = ""] = e.value.split(">"), o = Object.entries(
|
|
1736
|
+
`, V = ge("api"), Pr = () => {
|
|
1737
|
+
const e = ge(""), t = Bt(() => {
|
|
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:
|
|
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
|
|
1757
|
+
return at({
|
|
1758
1758
|
items: s,
|
|
1759
1759
|
searchQuery: r.trim(),
|
|
1760
1760
|
getStringToMatch(a) {
|
|
@@ -1763,16 +1763,16 @@ const _r = /* @__PURE__ */ y('<div><h1>API EXPLORER</h1><div><button>API</button
|
|
|
1763
1763
|
});
|
|
1764
1764
|
}, "id"), n = m(() => I.selectedCall);
|
|
1765
1765
|
return (() => {
|
|
1766
|
-
const r =
|
|
1767
|
-
return C(r,
|
|
1766
|
+
const r = Sr.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, kr), C(o, Tr), s.$$click = () => V.set("api"), i.$$click = () => V.set("ws"), a.$$click = () => V.set("all"), C(c, Ar), f(c, h(Ee, {
|
|
1768
1768
|
name: "search"
|
|
1769
1769
|
}), u), u.$$input = (d) => {
|
|
1770
1770
|
e.value = d.currentTarget.value;
|
|
1771
|
-
}, C(p,
|
|
1771
|
+
}, C(p, Nr), f(p, h(G, {
|
|
1772
1772
|
get each() {
|
|
1773
1773
|
return t();
|
|
1774
1774
|
},
|
|
1775
|
-
children: (d, g) => h(
|
|
1775
|
+
children: (d, g) => h(ur, {
|
|
1776
1776
|
get index() {
|
|
1777
1777
|
return g();
|
|
1778
1778
|
},
|
|
@@ -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
|
|
1795
|
+
function Vt(...e) {
|
|
1796
1796
|
const t = [];
|
|
1797
1797
|
for (let n = 0; n < e.length; n++) {
|
|
1798
1798
|
const r = e[n];
|
|
@@ -1807,17 +1807,17 @@ function Ft(...e) {
|
|
|
1807
1807
|
}
|
|
1808
1808
|
return t.join(" ");
|
|
1809
1809
|
}
|
|
1810
|
-
const
|
|
1810
|
+
const Er = /* @__PURE__ */ $('<div><div class="content"></div></div>'), Or = /* @__PURE__ */ $("<h1></h1>"), Lr = S`
|
|
1811
1811
|
&&& {
|
|
1812
|
-
${
|
|
1812
|
+
${O()};
|
|
1813
1813
|
|
|
1814
1814
|
> h1 {
|
|
1815
1815
|
font-size: 14px;
|
|
1816
|
-
color: ${
|
|
1816
|
+
color: ${y.secondary.var};
|
|
1817
1817
|
letter-spacing: 0.08em;
|
|
1818
|
-
font-family: ${
|
|
1818
|
+
font-family: ${z.decorative};
|
|
1819
1819
|
font-weight: 300;
|
|
1820
|
-
background: ${
|
|
1820
|
+
background: ${y.bgPrimary.var};
|
|
1821
1821
|
z-index: 1;
|
|
1822
1822
|
align-self: flex-start;
|
|
1823
1823
|
position: sticky;
|
|
@@ -1833,7 +1833,7 @@ const Pr = /* @__PURE__ */ y('<div><div class="content"></div></div>'), Er = /*
|
|
|
1833
1833
|
padding-top: calc(var(--padding-top) + 10px);
|
|
1834
1834
|
padding-inline: 10px;
|
|
1835
1835
|
padding-bottom: 10px;
|
|
1836
|
-
background: ${
|
|
1836
|
+
background: ${y.white.alpha(0.05)};
|
|
1837
1837
|
border-radius: 4px;
|
|
1838
1838
|
}
|
|
1839
1839
|
|
|
@@ -1842,15 +1842,15 @@ const Pr = /* @__PURE__ */ y('<div><div class="content"></div></div>'), Er = /*
|
|
|
1842
1842
|
}
|
|
1843
1843
|
}
|
|
1844
1844
|
`, M = (e) => (() => {
|
|
1845
|
-
const t =
|
|
1845
|
+
const t = Er.cloneNode(!0), n = t.firstChild;
|
|
1846
1846
|
return f(t, (() => {
|
|
1847
1847
|
const r = m(() => !!e.title);
|
|
1848
1848
|
return () => r() && (() => {
|
|
1849
|
-
const l =
|
|
1849
|
+
const l = Or.cloneNode(!0);
|
|
1850
1850
|
return f(l, () => e.title), l;
|
|
1851
1851
|
})();
|
|
1852
|
-
})(), n), f(n, () => e.children), _(() => C(t,
|
|
1853
|
-
})(),
|
|
1852
|
+
})(), n), f(n, () => e.children), _(() => C(t, Vt(Lr, e.class))), t;
|
|
1853
|
+
})(), jr = /* @__PURE__ */ $("<div></div>"), Ir = /* @__PURE__ */ $('<div class="row"><div class="name"></div><div class="value"></div></div>'), Mr = S`
|
|
1854
1854
|
&&& {
|
|
1855
1855
|
display: grid;
|
|
1856
1856
|
grid-template-columns: auto 1fr;
|
|
@@ -1866,30 +1866,30 @@ const Pr = /* @__PURE__ */ y('<div><div class="content"></div></div>'), Er = /*
|
|
|
1866
1866
|
}
|
|
1867
1867
|
|
|
1868
1868
|
.row:not(:last-child) > div {
|
|
1869
|
-
border-bottom: 1px solid ${
|
|
1869
|
+
border-bottom: 1px solid ${y.white.alpha(0.1)};
|
|
1870
1870
|
}
|
|
1871
1871
|
|
|
1872
1872
|
.value {
|
|
1873
1873
|
padding-left: 16px;
|
|
1874
|
-
color: ${
|
|
1874
|
+
color: ${y.white.var};
|
|
1875
1875
|
}
|
|
1876
1876
|
|
|
1877
1877
|
.name {
|
|
1878
1878
|
opacity: 0.7;
|
|
1879
1879
|
}
|
|
1880
1880
|
}
|
|
1881
|
-
`,
|
|
1882
|
-
const t =
|
|
1883
|
-
return C(t,
|
|
1881
|
+
`, Dr = (e) => (() => {
|
|
1882
|
+
const t = jr.cloneNode(!0);
|
|
1883
|
+
return C(t, Mr), f(t, h(un, {
|
|
1884
1884
|
get each() {
|
|
1885
|
-
return
|
|
1885
|
+
return hr(e.rows);
|
|
1886
1886
|
},
|
|
1887
1887
|
children: (n) => (() => {
|
|
1888
|
-
const r =
|
|
1888
|
+
const r = Ir.cloneNode(!0), l = r.firstChild, o = l.nextSibling;
|
|
1889
1889
|
return f(l, () => n().name), f(o, () => n().value), r;
|
|
1890
1890
|
})()
|
|
1891
1891
|
})), t;
|
|
1892
|
-
})(),
|
|
1892
|
+
})(), zr = `
|
|
1893
1893
|
user-select: text;
|
|
1894
1894
|
|
|
1895
1895
|
*, *::before, *::after {
|
|
@@ -1904,21 +1904,20 @@ function Rr(e) {
|
|
|
1904
1904
|
-webkit-box-orient: vertical;
|
|
1905
1905
|
`;
|
|
1906
1906
|
}
|
|
1907
|
-
const
|
|
1908
|
-
function
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
}
|
|
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`
|
|
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);
|
|
1911
|
+
}
|
|
1912
|
+
function Fr(e) {
|
|
1913
|
+
return e !== null && typeof e == "object";
|
|
1914
|
+
}
|
|
1915
|
+
const Br = /* @__PURE__ */ $('<div class="key"><span></span></div>'), Hr = /* @__PURE__ */ $('<div class="collapsed"></div>'), Vr = /* @__PURE__ */ $('<div class="delimiter">[]</div>'), Ur = /* @__PURE__ */ $('<div class="delimiter">{}</div>'), ut = /* @__PURE__ */ $('<div class="delimiter"></div>'), dt = /* @__PURE__ */ $('<div class="childs"></div>'), Wr = /* @__PURE__ */ $('<div class="delimiter end">]</div>'), ft = /* @__PURE__ */ $('<div class="child"></div>'), Zr = /* @__PURE__ */ $('<div class="delimiter end">}</div>'), Kr = /* @__PURE__ */ $('<div class="value" title="Shift + Click to copy value"></div>'), pt = /* @__PURE__ */ $('<span class="string-quotes">"</span>'), Jr = /* @__PURE__ */ $("<div></div>"), ht = /* @__PURE__ */ $("<span> · id: </span>"), Xr = S`
|
|
1917
1916
|
&&& {
|
|
1918
|
-
font-family: ${
|
|
1917
|
+
font-family: ${z.decorative};
|
|
1919
1918
|
font-size: 13px;
|
|
1920
|
-
${
|
|
1921
|
-
${
|
|
1919
|
+
${zr};
|
|
1920
|
+
${O({
|
|
1922
1921
|
gap: 2
|
|
1923
1922
|
})};
|
|
1924
1923
|
padding-left: 8px;
|
|
@@ -1928,7 +1927,7 @@ const zr = /* @__PURE__ */ y('<div class="key"><span></span></div>'), Fr = /* @_
|
|
|
1928
1927
|
width: 16px;
|
|
1929
1928
|
display: inline-block;
|
|
1930
1929
|
vertical-align: middle;
|
|
1931
|
-
color: ${
|
|
1930
|
+
color: ${y.white.alpha(0.5)};
|
|
1932
1931
|
|
|
1933
1932
|
&:not(.expanded) .icon {
|
|
1934
1933
|
transform: rotate(-90deg);
|
|
@@ -1936,18 +1935,18 @@ const zr = /* @__PURE__ */ y('<div class="key"><span></span></div>'), Fr = /* @_
|
|
|
1936
1935
|
}
|
|
1937
1936
|
|
|
1938
1937
|
.show-all {
|
|
1939
|
-
color: ${
|
|
1938
|
+
color: ${y.white.alpha(0.5)};
|
|
1940
1939
|
text-align: left;
|
|
1941
1940
|
}
|
|
1942
1941
|
|
|
1943
1942
|
.childs {
|
|
1944
|
-
${
|
|
1943
|
+
${O({
|
|
1945
1944
|
gap: 2
|
|
1946
1945
|
})};
|
|
1947
1946
|
}
|
|
1948
1947
|
|
|
1949
1948
|
.delimiter {
|
|
1950
|
-
color: ${
|
|
1949
|
+
color: ${y.white.alpha(0.5)};
|
|
1951
1950
|
margin-top: 1px;
|
|
1952
1951
|
margin-bottom: 1px;
|
|
1953
1952
|
|
|
@@ -1961,13 +1960,13 @@ const zr = /* @__PURE__ */ y('<div class="key"><span></span></div>'), Fr = /* @_
|
|
|
1961
1960
|
.childs {
|
|
1962
1961
|
padding-left: 20px;
|
|
1963
1962
|
grid-column: 1 / span 3;
|
|
1964
|
-
border-left: 1px solid ${
|
|
1963
|
+
border-left: 1px solid ${y.white.alpha(0.05)};
|
|
1965
1964
|
|
|
1966
1965
|
> .value {
|
|
1967
1966
|
&::after {
|
|
1968
1967
|
content: ',';
|
|
1969
1968
|
opacity: 0.5;
|
|
1970
|
-
color: ${
|
|
1969
|
+
color: ${y.white.var};
|
|
1971
1970
|
}
|
|
1972
1971
|
}
|
|
1973
1972
|
}
|
|
@@ -1989,12 +1988,12 @@ const zr = /* @__PURE__ */ y('<div class="key"><span></span></div>'), Fr = /* @_
|
|
|
1989
1988
|
}
|
|
1990
1989
|
|
|
1991
1990
|
&.index {
|
|
1992
|
-
color: ${
|
|
1991
|
+
color: ${y.success.alpha(0.7)};
|
|
1993
1992
|
}
|
|
1994
1993
|
|
|
1995
1994
|
&::after {
|
|
1996
1995
|
content: ':';
|
|
1997
|
-
color: ${
|
|
1996
|
+
color: ${y.secondary.alpha(0.5)};
|
|
1998
1997
|
}
|
|
1999
1998
|
}
|
|
2000
1999
|
}
|
|
@@ -2009,26 +2008,30 @@ const zr = /* @__PURE__ */ y('<div class="key"><span></span></div>'), Fr = /* @_
|
|
|
2009
2008
|
}
|
|
2010
2009
|
|
|
2011
2010
|
[data-type='number'] {
|
|
2012
|
-
color: ${
|
|
2011
|
+
color: ${y.primary.var};
|
|
2013
2012
|
}
|
|
2014
2013
|
|
|
2015
2014
|
[data-type='boolean'] {
|
|
2016
|
-
color: ${
|
|
2015
|
+
color: ${y.warning.var};
|
|
2017
2016
|
}
|
|
2018
2017
|
|
|
2019
2018
|
[data-type='object'],
|
|
2020
2019
|
[data-type='undefined'] {
|
|
2021
|
-
color: ${
|
|
2020
|
+
color: ${y.white.alpha(0.6)};
|
|
2022
2021
|
}
|
|
2023
2022
|
|
|
2024
2023
|
.collapsed {
|
|
2025
|
-
color: ${
|
|
2024
|
+
color: ${y.white.alpha(0.5)};
|
|
2025
|
+
|
|
2026
|
+
> span {
|
|
2027
|
+
color: ${y.white.alpha(0.4)};
|
|
2028
|
+
}
|
|
2026
2029
|
}
|
|
2027
2030
|
}
|
|
2028
|
-
`, te = 14,
|
|
2031
|
+
`, te = 14, We = (e) => {
|
|
2029
2032
|
let [t, n] = oe(!(e.indent > 0 && e.compact)), [r, l] = oe(!e.compact);
|
|
2030
2033
|
return m(() => {
|
|
2031
|
-
const o = e.value, s = Array.isArray(o), i = !s &&
|
|
2034
|
+
const o = e.value, s = Array.isArray(o), i = !s && Fr(o), a = e.key !== void 0 || e.index !== void 0, c = s && o.length > 0 || i && Object.keys(o).length > 0, u = c && h(F, {
|
|
2032
2035
|
onClick: () => {
|
|
2033
2036
|
n(() => !t());
|
|
2034
2037
|
},
|
|
@@ -2046,9 +2049,9 @@ const zr = /* @__PURE__ */ y('<div class="key"><span></span></div>'), Fr = /* @_
|
|
|
2046
2049
|
}
|
|
2047
2050
|
});
|
|
2048
2051
|
return [a && (() => {
|
|
2049
|
-
const p =
|
|
2052
|
+
const p = Br.cloneNode(!0), d = p.firstChild;
|
|
2050
2053
|
return p.$$click = (g) => {
|
|
2051
|
-
g.shiftKey &&
|
|
2054
|
+
g.shiftKey && $e(o);
|
|
2052
2055
|
}, f(p, s || i ? u : null, d), f(d, () => e.key || e.index), _((g) => {
|
|
2053
2056
|
const v = `${e.key ? `${e.key}
|
|
2054
2057
|
` : ""}Shift + Click to copy value`, b = e.index !== void 0;
|
|
@@ -2060,23 +2063,23 @@ const zr = /* @__PURE__ */ y('<div class="key"><span></span></div>'), Fr = /* @_
|
|
|
2060
2063
|
})(), m((() => {
|
|
2061
2064
|
const p = m(() => !!(a && c && !t()));
|
|
2062
2065
|
return () => p() ? (() => {
|
|
2063
|
-
const d =
|
|
2064
|
-
return f(d, () => s ? `[…] ${o.length} items` : `{…} ${Object.keys(o).length}
|
|
2065
|
-
})() : (() => s && o.length === 0 ?
|
|
2066
|
-
const d =
|
|
2066
|
+
const d = Hr.cloneNode(!0);
|
|
2067
|
+
return f(d, () => s ? `[…] ${o.length} items` : [m(() => `{…} ${Object.keys(o).length} props`), m(() => Yr(o))]), d;
|
|
2068
|
+
})() : (() => s && o.length === 0 ? Vr.cloneNode(!0) : i && Object.keys(o).length === 0 ? Ur.cloneNode(!0) : s ? [(() => {
|
|
2069
|
+
const d = ut.cloneNode(!0);
|
|
2067
2070
|
return _e(d, "click", a ? void 0 : (g) => {
|
|
2068
|
-
g.shiftKey &&
|
|
2071
|
+
g.shiftKey && $e(o);
|
|
2069
2072
|
}, !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
2073
|
})(), m((() => {
|
|
2071
2074
|
const d = m(() => !!t());
|
|
2072
2075
|
return () => d() && [(() => {
|
|
2073
|
-
const g =
|
|
2076
|
+
const g = dt.cloneNode(!0);
|
|
2074
2077
|
return f(g, () => {
|
|
2075
2078
|
let v = o;
|
|
2076
2079
|
const b = v.length;
|
|
2077
2080
|
return r() || (v = v.slice(0, te)), [m(() => v.map((w, k) => (() => {
|
|
2078
|
-
const x =
|
|
2079
|
-
return f(x, h(
|
|
2081
|
+
const x = ft.cloneNode(!0);
|
|
2082
|
+
return f(x, h(We, {
|
|
2080
2083
|
value: w,
|
|
2081
2084
|
get indent() {
|
|
2082
2085
|
return e.indent + 1;
|
|
@@ -2099,11 +2102,11 @@ const zr = /* @__PURE__ */ y('<div class="key"><span></span></div>'), Fr = /* @_
|
|
|
2099
2102
|
});
|
|
2100
2103
|
})())];
|
|
2101
2104
|
}), g;
|
|
2102
|
-
})(),
|
|
2105
|
+
})(), Wr.cloneNode(!0)];
|
|
2103
2106
|
})())] : i ? [(() => {
|
|
2104
|
-
const d =
|
|
2107
|
+
const d = ut.cloneNode(!0);
|
|
2105
2108
|
return _e(d, "click", a ? void 0 : (g) => {
|
|
2106
|
-
g.shiftKey &&
|
|
2109
|
+
g.shiftKey && $e(o);
|
|
2107
2110
|
}, !0), j(d, "title", a ? void 0 : "Shift + Click to copy value"), f(d, !a && u, null), f(d, (() => {
|
|
2108
2111
|
const g = m(() => !!t());
|
|
2109
2112
|
return () => g() ? "{" : `{…} ${Object.keys(o).length} properties`;
|
|
@@ -2111,13 +2114,13 @@ const zr = /* @__PURE__ */ y('<div class="key"><span></span></div>'), Fr = /* @_
|
|
|
2111
2114
|
})(), m((() => {
|
|
2112
2115
|
const d = m(() => !!t());
|
|
2113
2116
|
return () => d() && [(() => {
|
|
2114
|
-
const g =
|
|
2117
|
+
const g = dt.cloneNode(!0);
|
|
2115
2118
|
return f(g, () => {
|
|
2116
2119
|
let v = Object.entries(o);
|
|
2117
2120
|
const b = v.length;
|
|
2118
2121
|
return r() || (v = v.slice(0, te)), [m(() => v.map(([w, k]) => (() => {
|
|
2119
|
-
const x =
|
|
2120
|
-
return f(x, h(
|
|
2122
|
+
const x = ft.cloneNode(!0);
|
|
2123
|
+
return f(x, h(We, {
|
|
2121
2124
|
value: k,
|
|
2122
2125
|
key: w,
|
|
2123
2126
|
get indent() {
|
|
@@ -2140,18 +2143,18 @@ const zr = /* @__PURE__ */ y('<div class="key"><span></span></div>'), Fr = /* @_
|
|
|
2140
2143
|
});
|
|
2141
2144
|
})())];
|
|
2142
2145
|
}), g;
|
|
2143
|
-
})(),
|
|
2146
|
+
})(), Zr.cloneNode(!0)];
|
|
2144
2147
|
})())] : (() => {
|
|
2145
|
-
const d =
|
|
2148
|
+
const d = Kr.cloneNode(!0);
|
|
2146
2149
|
return d.$$click = (g) => {
|
|
2147
|
-
g.shiftKey &&
|
|
2148
|
-
}, j(d, "data-type", typeof o), f(d, typeof o == "string" &&
|
|
2150
|
+
g.shiftKey && $e(String(o));
|
|
2151
|
+
}, 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
2152
|
})())();
|
|
2150
2153
|
})())];
|
|
2151
2154
|
});
|
|
2152
|
-
},
|
|
2153
|
-
const t =
|
|
2154
|
-
return C(t,
|
|
2155
|
+
}, Z = (e) => (() => {
|
|
2156
|
+
const t = Jr.cloneNode(!0);
|
|
2157
|
+
return C(t, Xr), f(t, h(We, {
|
|
2155
2158
|
get value() {
|
|
2156
2159
|
return e.value;
|
|
2157
2160
|
},
|
|
@@ -2161,24 +2164,42 @@ const zr = /* @__PURE__ */ y('<div class="key"><span></span></div>'), Fr = /* @_
|
|
|
2161
2164
|
}
|
|
2162
2165
|
})), t;
|
|
2163
2166
|
})();
|
|
2164
|
-
|
|
2167
|
+
function Yr(e) {
|
|
2168
|
+
if ("id" in e)
|
|
2169
|
+
return (() => {
|
|
2170
|
+
const n = ht.cloneNode(!0);
|
|
2171
|
+
return n.firstChild, f(n, () => String(e.id), null), n;
|
|
2172
|
+
})();
|
|
2173
|
+
const t = Object.keys(e);
|
|
2174
|
+
for (const n of t)
|
|
2175
|
+
if (n.startsWith("id_")) {
|
|
2176
|
+
const r = e[n];
|
|
2177
|
+
if (typeof r == "string" || typeof r == "number")
|
|
2178
|
+
return (() => {
|
|
2179
|
+
const l = ht.cloneNode(!0);
|
|
2180
|
+
return l.firstChild, f(l, r, null), l;
|
|
2181
|
+
})();
|
|
2182
|
+
}
|
|
2183
|
+
return "";
|
|
2184
|
+
}
|
|
2185
|
+
async function $e(e) {
|
|
2165
2186
|
await navigator.clipboard.writeText(typeof e == "object" ? JSON.stringify(e, null, 2) : String(e)), alert("Copied to clipboard");
|
|
2166
2187
|
}
|
|
2167
2188
|
Pe(["click"]);
|
|
2168
|
-
let
|
|
2169
|
-
function
|
|
2170
|
-
return
|
|
2189
|
+
let Gr = 0;
|
|
2190
|
+
function Qr() {
|
|
2191
|
+
return Gr++;
|
|
2171
2192
|
}
|
|
2172
|
-
const
|
|
2193
|
+
const qr = /* @__PURE__ */ $("<label></label>"), el = /* @__PURE__ */ $('<div><div class="inputContainer"><select></select></div></div>'), tl = /* @__PURE__ */ $('<option value="">-- select an option --</option>'), nl = /* @__PURE__ */ $("<option></option>"), rl = S`
|
|
2173
2194
|
&&& {
|
|
2174
|
-
${
|
|
2195
|
+
${O({
|
|
2175
2196
|
align: "left"
|
|
2176
2197
|
})};
|
|
2177
2198
|
width: 100%;
|
|
2178
2199
|
position: relative;
|
|
2179
2200
|
|
|
2180
2201
|
label {
|
|
2181
|
-
color: ${
|
|
2202
|
+
color: ${y.primary.var};
|
|
2182
2203
|
z-index: 1;
|
|
2183
2204
|
font-size: 13px;
|
|
2184
2205
|
letter-spacing: 0.08em;
|
|
@@ -2186,13 +2207,13 @@ const Gr = /* @__PURE__ */ y("<label></label>"), Qr = /* @__PURE__ */ y('<div><d
|
|
|
2186
2207
|
}
|
|
2187
2208
|
|
|
2188
2209
|
.inputContainer {
|
|
2189
|
-
background: ${
|
|
2210
|
+
background: ${y.white.alpha(0.05)};
|
|
2190
2211
|
border-radius: 4px;
|
|
2191
2212
|
margin-top: 0px;
|
|
2192
2213
|
position: relative;
|
|
2193
2214
|
width: 100%;
|
|
2194
2215
|
overflow: hidden;
|
|
2195
|
-
${
|
|
2216
|
+
${O({
|
|
2196
2217
|
align: "left"
|
|
2197
2218
|
})};
|
|
2198
2219
|
}
|
|
@@ -2205,7 +2226,7 @@ const Gr = /* @__PURE__ */ y("<label></label>"), Qr = /* @__PURE__ */ y('<div><d
|
|
|
2205
2226
|
padding-left: 10px;
|
|
2206
2227
|
font-size: 14px;
|
|
2207
2228
|
background: transparent;
|
|
2208
|
-
color: ${
|
|
2229
|
+
color: ${y.white.var};
|
|
2209
2230
|
|
|
2210
2231
|
&:focus {
|
|
2211
2232
|
outline: 0;
|
|
@@ -2221,76 +2242,76 @@ const Gr = /* @__PURE__ */ y("<label></label>"), Qr = /* @__PURE__ */ y('<div><d
|
|
|
2221
2242
|
left: 0;
|
|
2222
2243
|
right: 8px;
|
|
2223
2244
|
height: 17px;
|
|
2224
|
-
background: ${
|
|
2245
|
+
background: ${y.white.var};
|
|
2225
2246
|
}
|
|
2226
2247
|
}
|
|
2227
|
-
`,
|
|
2228
|
-
const t = `input${
|
|
2248
|
+
`, ll = (e) => {
|
|
2249
|
+
const t = `input${Qr()}`;
|
|
2229
2250
|
return (() => {
|
|
2230
|
-
const n =
|
|
2231
|
-
return f(n, h(
|
|
2251
|
+
const n = el.cloneNode(!0), r = n.firstChild, l = r.firstChild;
|
|
2252
|
+
return f(n, h(Y, {
|
|
2232
2253
|
get when() {
|
|
2233
2254
|
return e.label;
|
|
2234
2255
|
},
|
|
2235
2256
|
get children() {
|
|
2236
|
-
const o =
|
|
2257
|
+
const o = qr.cloneNode(!0);
|
|
2237
2258
|
return j(o, "for", t), f(o, () => e.label), o;
|
|
2238
2259
|
}
|
|
2239
2260
|
}), r), l.addEventListener("change", (o) => {
|
|
2240
2261
|
o.currentTarget.value && e.onChange(o.currentTarget.value);
|
|
2241
2262
|
}), j(l, "id", t), f(l, (() => {
|
|
2242
2263
|
const o = m(() => !e.value);
|
|
2243
|
-
return () => o() &&
|
|
2244
|
-
})(), null), f(l, h(
|
|
2264
|
+
return () => o() && tl.cloneNode(!0);
|
|
2265
|
+
})(), null), f(l, h(G, {
|
|
2245
2266
|
get each() {
|
|
2246
2267
|
return e.options;
|
|
2247
2268
|
},
|
|
2248
2269
|
children: (o) => (() => {
|
|
2249
|
-
const s =
|
|
2270
|
+
const s = nl.cloneNode(!0);
|
|
2250
2271
|
return f(s, () => o.label), _(() => s.value = o.value), s;
|
|
2251
2272
|
})()
|
|
2252
|
-
}), null), _(() => C(n,
|
|
2273
|
+
}), null), _(() => C(n, Vt(rl, e.class))), _(() => l.value = e.value ?? ""), n;
|
|
2253
2274
|
})();
|
|
2254
2275
|
};
|
|
2255
|
-
function
|
|
2276
|
+
function Ut(e) {
|
|
2256
2277
|
const t = e.alias || e.payload || e.searchParams;
|
|
2257
2278
|
return !t || Object.keys(t).length === 0 ? "" : typeof t == "string" || typeof t == "number" ? String(t) : JSON.stringify(t);
|
|
2258
2279
|
}
|
|
2259
|
-
function
|
|
2260
|
-
return
|
|
2280
|
+
function gt(e, t) {
|
|
2281
|
+
return xt(e, t) ? "no changes" : Yt.diffJson(
|
|
2261
2282
|
typeof e == "object" && e !== null ? e : String(e),
|
|
2262
2283
|
typeof t == "object" && t !== null ? t : String(t)
|
|
2263
2284
|
);
|
|
2264
2285
|
}
|
|
2265
|
-
function
|
|
2286
|
+
function ol(e, t) {
|
|
2266
2287
|
return e.length > t ? `${e.slice(0, t)}...` : e;
|
|
2267
2288
|
}
|
|
2268
|
-
const
|
|
2289
|
+
const il = /* @__PURE__ */ $('<div class="changes-count"><span class="additions">+ <b></b> lines</span> | <span class="removals">- <b></b> lines</span></div>'), Me = /* @__PURE__ */ $("<div></div>"), mt = /* @__PURE__ */ $("<div>No changes</div>"), yt = /* @__PURE__ */ $('<div class="line"></div>'), sl = S`
|
|
2269
2290
|
&&& {
|
|
2270
|
-
${
|
|
2291
|
+
${O({
|
|
2271
2292
|
gap: 14
|
|
2272
2293
|
})};
|
|
2273
2294
|
|
|
2274
2295
|
.changes-count {
|
|
2275
|
-
color: ${
|
|
2296
|
+
color: ${y.white.alpha(0.5)};
|
|
2276
2297
|
font-size: 14px;
|
|
2277
2298
|
|
|
2278
2299
|
.additions {
|
|
2279
|
-
color: ${
|
|
2300
|
+
color: ${y.success.var};
|
|
2280
2301
|
}
|
|
2281
2302
|
|
|
2282
2303
|
.removals {
|
|
2283
|
-
color: ${
|
|
2304
|
+
color: ${y.error.var};
|
|
2284
2305
|
}
|
|
2285
2306
|
}
|
|
2286
2307
|
}
|
|
2287
|
-
`,
|
|
2308
|
+
`, $t = S`
|
|
2288
2309
|
&&& {
|
|
2289
|
-
${
|
|
2310
|
+
${O({
|
|
2290
2311
|
gap: 0
|
|
2291
2312
|
})};
|
|
2292
2313
|
font-size: 14px;
|
|
2293
|
-
font-family: ${
|
|
2314
|
+
font-family: ${z.decorative};
|
|
2294
2315
|
white-space: pre;
|
|
2295
2316
|
overflow-x: auto;
|
|
2296
2317
|
|
|
@@ -2300,8 +2321,8 @@ const rl = /* @__PURE__ */ y('<div class="changes-count"><span class="additions"
|
|
|
2300
2321
|
|
|
2301
2322
|
&.added {
|
|
2302
2323
|
opacity: 1;
|
|
2303
|
-
color: ${
|
|
2304
|
-
background: ${
|
|
2324
|
+
color: ${y.success.var};
|
|
2325
|
+
background: ${y.success.alpha(0.1)};
|
|
2305
2326
|
|
|
2306
2327
|
&::before {
|
|
2307
2328
|
content: '+';
|
|
@@ -2312,8 +2333,8 @@ const rl = /* @__PURE__ */ y('<div class="changes-count"><span class="additions"
|
|
|
2312
2333
|
|
|
2313
2334
|
&.removed {
|
|
2314
2335
|
opacity: 1;
|
|
2315
|
-
color: ${
|
|
2316
|
-
background: ${
|
|
2336
|
+
color: ${y.error.var};
|
|
2337
|
+
background: ${y.error.alpha(0.1)};
|
|
2317
2338
|
|
|
2318
2339
|
&::before {
|
|
2319
2340
|
content: '-';
|
|
@@ -2323,32 +2344,32 @@ const rl = /* @__PURE__ */ y('<div class="changes-count"><span class="additions"
|
|
|
2323
2344
|
}
|
|
2324
2345
|
}
|
|
2325
2346
|
}
|
|
2326
|
-
`,
|
|
2347
|
+
`, al = () => {
|
|
2327
2348
|
const e = m(() => {
|
|
2328
2349
|
const {
|
|
2329
2350
|
selectedCall: a
|
|
2330
2351
|
} = I;
|
|
2331
|
-
return a ?
|
|
2332
|
-
}), t =
|
|
2352
|
+
return a ? Q.calls[a] : Q.calls[Oe.value];
|
|
2353
|
+
}), t = He(() => I.selectedRequest ? e()?.requests.find((a) => a.id === I.selectedRequest) : e()?.requests.at(-1) || null), n = m(() => t.value?.id), r = Bt(() => {
|
|
2333
2354
|
const a = e();
|
|
2334
|
-
return a ?
|
|
2355
|
+
return a ? Ht(a.requests).map((c) => ({
|
|
2335
2356
|
value: c.id,
|
|
2336
|
-
label: `${ne(c.startTime).format("HH:mm:ss")} | ${
|
|
2357
|
+
label: `${ne(c.startTime).format("HH:mm:ss")} | ${ol(Ut(c), 50)}`
|
|
2337
2358
|
})).filter((c) => c.value !== n()) : [];
|
|
2338
2359
|
}, "value"), l = ge(null), o = m(() => l.value ? e()?.requests.find((a) => a.id === l.value) : null), s = m(() => {
|
|
2339
2360
|
if (!l.value || !n())
|
|
2340
2361
|
return [];
|
|
2341
|
-
const a = t.value?.response, c = o()?.response, u =
|
|
2362
|
+
const a = t.value?.response, c = o()?.response, u = gt(c, a);
|
|
2342
2363
|
return u === "no changes" ? [] : u;
|
|
2343
2364
|
}), i = m(() => {
|
|
2344
2365
|
if (!l.value || !n())
|
|
2345
2366
|
return [];
|
|
2346
|
-
const a =
|
|
2367
|
+
const a = vt(t.value), c = vt(o()), u = gt(c, a);
|
|
2347
2368
|
return u === "no changes" ? [] : u;
|
|
2348
2369
|
});
|
|
2349
2370
|
return (() => {
|
|
2350
2371
|
const a = Me.cloneNode(!0);
|
|
2351
|
-
return C(a,
|
|
2372
|
+
return C(a, sl), f(a, h(ll, {
|
|
2352
2373
|
get value() {
|
|
2353
2374
|
return l.value;
|
|
2354
2375
|
},
|
|
@@ -2359,15 +2380,15 @@ const rl = /* @__PURE__ */ y('<div class="changes-count"><span class="additions"
|
|
|
2359
2380
|
onChange: (c) => {
|
|
2360
2381
|
l.value = c;
|
|
2361
2382
|
}
|
|
2362
|
-
}), null), f(a, h(
|
|
2383
|
+
}), null), f(a, h(Y, {
|
|
2363
2384
|
get when() {
|
|
2364
2385
|
return l.value;
|
|
2365
2386
|
},
|
|
2366
2387
|
get children() {
|
|
2367
2388
|
return [(() => {
|
|
2368
|
-
const c =
|
|
2389
|
+
const c = il.cloneNode(!0), u = c.firstChild, p = u.firstChild, d = p.nextSibling, g = u.nextSibling, v = g.nextSibling, b = v.firstChild, w = b.nextSibling;
|
|
2369
2390
|
return f(d, () => s().filter((k) => k.added).length), f(w, () => s().filter((k) => k.removed).length), c;
|
|
2370
|
-
})(), h(
|
|
2391
|
+
})(), h(Y, {
|
|
2371
2392
|
get when() {
|
|
2372
2393
|
return t.value?.payload || t.value?.searchParams || t.value?.pathParams;
|
|
2373
2394
|
},
|
|
@@ -2378,15 +2399,15 @@ const rl = /* @__PURE__ */ y('<div class="changes-count"><span class="additions"
|
|
|
2378
2399
|
},
|
|
2379
2400
|
get children() {
|
|
2380
2401
|
const c = Me.cloneNode(!0);
|
|
2381
|
-
return C(c,
|
|
2402
|
+
return C(c, $t), f(c, h(G, {
|
|
2382
2403
|
get each() {
|
|
2383
2404
|
return i();
|
|
2384
2405
|
},
|
|
2385
2406
|
get fallback() {
|
|
2386
|
-
return
|
|
2407
|
+
return mt.cloneNode(!0);
|
|
2387
2408
|
},
|
|
2388
2409
|
children: (u) => (() => {
|
|
2389
|
-
const p =
|
|
2410
|
+
const p = yt.cloneNode(!0);
|
|
2390
2411
|
return f(p, () => u.value), _((d) => {
|
|
2391
2412
|
const g = !!u.added, v = !!u.removed;
|
|
2392
2413
|
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 +2420,7 @@ const rl = /* @__PURE__ */ y('<div class="changes-count"><span class="additions"
|
|
|
2399
2420
|
}
|
|
2400
2421
|
});
|
|
2401
2422
|
}
|
|
2402
|
-
}), h(
|
|
2423
|
+
}), h(Y, {
|
|
2403
2424
|
get when() {
|
|
2404
2425
|
return t.value?.response !== void 0;
|
|
2405
2426
|
},
|
|
@@ -2408,15 +2429,15 @@ const rl = /* @__PURE__ */ y('<div class="changes-count"><span class="additions"
|
|
|
2408
2429
|
title: "Response Diff",
|
|
2409
2430
|
get children() {
|
|
2410
2431
|
const c = Me.cloneNode(!0);
|
|
2411
|
-
return C(c,
|
|
2432
|
+
return C(c, $t), f(c, h(G, {
|
|
2412
2433
|
get each() {
|
|
2413
2434
|
return s();
|
|
2414
2435
|
},
|
|
2415
2436
|
get fallback() {
|
|
2416
|
-
return
|
|
2437
|
+
return mt.cloneNode(!0);
|
|
2417
2438
|
},
|
|
2418
2439
|
children: (u) => (() => {
|
|
2419
|
-
const p =
|
|
2440
|
+
const p = yt.cloneNode(!0);
|
|
2420
2441
|
return f(p, () => u.value), _((d) => {
|
|
2421
2442
|
const g = !!u.added, v = !!u.removed;
|
|
2422
2443
|
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 +2455,17 @@ const rl = /* @__PURE__ */ y('<div class="changes-count"><span class="additions"
|
|
|
2434
2455
|
}), null), a;
|
|
2435
2456
|
})();
|
|
2436
2457
|
};
|
|
2437
|
-
function
|
|
2458
|
+
function vt(e) {
|
|
2438
2459
|
return e ? e.payload || e.searchParams || e.pathParams : null;
|
|
2439
2460
|
}
|
|
2440
|
-
const
|
|
2461
|
+
const bt = /* @__PURE__ */ $("<div></div>"), cl = /* @__PURE__ */ $('<h1><span class="type"></span><span>|</span></h1>'), ul = /* @__PURE__ */ $('<div class="tags"></div>'), dl = /* @__PURE__ */ $('<div class="details"></div>'), fl = /* @__PURE__ */ $('<span class="separator">|</span>'), pl = /* @__PURE__ */ $("<h2></h2>"), hl = /* @__PURE__ */ $('<div class="method"></div>'), gl = /* @__PURE__ */ $('<div class="code"></div>'), ml = /* @__PURE__ */ $('<div class="tag error">Has Error</div>'), yl = /* @__PURE__ */ $('<div class="tag"></div>'), $l = /* @__PURE__ */ $("<span> ms</span>"), vl = /* @__PURE__ */ $("<span></span>"), bl = S`
|
|
2441
2462
|
&&& {
|
|
2442
|
-
${
|
|
2463
|
+
${O()};
|
|
2443
2464
|
padding-left: 10px;
|
|
2444
2465
|
|
|
2445
2466
|
> h1 {
|
|
2446
2467
|
margin-top: 12px;
|
|
2447
|
-
font-family: ${
|
|
2468
|
+
font-family: ${z.decorative};
|
|
2448
2469
|
${he};
|
|
2449
2470
|
|
|
2450
2471
|
span.separator {
|
|
@@ -2456,13 +2477,13 @@ const $t = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
|
|
|
2456
2477
|
|
|
2457
2478
|
span.type {
|
|
2458
2479
|
text-transform: capitalize;
|
|
2459
|
-
color: ${
|
|
2480
|
+
color: ${y.secondary.var};
|
|
2460
2481
|
}
|
|
2461
2482
|
}
|
|
2462
2483
|
|
|
2463
2484
|
> h2 {
|
|
2464
2485
|
margin-top: 4px;
|
|
2465
|
-
font-family: ${
|
|
2486
|
+
font-family: ${z.decorative};
|
|
2466
2487
|
font-size: 12px;
|
|
2467
2488
|
opacity: 0.5;
|
|
2468
2489
|
}
|
|
@@ -2474,28 +2495,28 @@ const $t = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
|
|
|
2474
2495
|
margin-top: 8px;
|
|
2475
2496
|
|
|
2476
2497
|
.method {
|
|
2477
|
-
color: ${
|
|
2498
|
+
color: ${y.primary.var};
|
|
2478
2499
|
}
|
|
2479
2500
|
|
|
2480
2501
|
.code {
|
|
2481
|
-
color: ${
|
|
2502
|
+
color: ${y.success.var};
|
|
2482
2503
|
|
|
2483
2504
|
&.error {
|
|
2484
|
-
color: ${
|
|
2505
|
+
color: ${y.error.var};
|
|
2485
2506
|
}
|
|
2486
2507
|
}
|
|
2487
2508
|
|
|
2488
2509
|
.tag {
|
|
2489
2510
|
font-size: 11px;
|
|
2490
|
-
color: ${
|
|
2511
|
+
color: ${y.warning.var};
|
|
2491
2512
|
padding: 1px 3px;
|
|
2492
2513
|
border-radius: 4px;
|
|
2493
|
-
border: 1px solid ${
|
|
2514
|
+
border: 1px solid ${y.warning.alpha(0.6)};
|
|
2494
2515
|
|
|
2495
2516
|
&.error {
|
|
2496
|
-
color: ${
|
|
2517
|
+
color: ${y.error.var};
|
|
2497
2518
|
font-weight: 600;
|
|
2498
|
-
border-color: ${
|
|
2519
|
+
border-color: ${y.error.alpha(0.6)};
|
|
2499
2520
|
}
|
|
2500
2521
|
}
|
|
2501
2522
|
}
|
|
@@ -2503,7 +2524,7 @@ const $t = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
|
|
|
2503
2524
|
> .details {
|
|
2504
2525
|
margin-top: 14px;
|
|
2505
2526
|
padding-right: 10px;
|
|
2506
|
-
${
|
|
2527
|
+
${O({
|
|
2507
2528
|
gap: 8
|
|
2508
2529
|
})};
|
|
2509
2530
|
flex: 1 1;
|
|
@@ -2511,12 +2532,12 @@ const $t = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
|
|
|
2511
2532
|
padding-bottom: 20px;
|
|
2512
2533
|
}
|
|
2513
2534
|
}
|
|
2514
|
-
`,
|
|
2535
|
+
`, wl = S`
|
|
2515
2536
|
&&& {
|
|
2516
2537
|
${B({
|
|
2517
2538
|
gap: 20
|
|
2518
2539
|
})};
|
|
2519
|
-
color: ${
|
|
2540
|
+
color: ${y.secondary.var};
|
|
2520
2541
|
margin-top: 20px;
|
|
2521
2542
|
|
|
2522
2543
|
> button {
|
|
@@ -2533,119 +2554,130 @@ const $t = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
|
|
|
2533
2554
|
}
|
|
2534
2555
|
}
|
|
2535
2556
|
}
|
|
2536
|
-
`,
|
|
2537
|
-
const e = m(() => I.selectedCall), t = m(() => I.selectedRequest), n = m(() => I.selectedTab || "summary"), r =
|
|
2538
|
-
let
|
|
2539
|
-
e() ?
|
|
2540
|
-
const
|
|
2541
|
-
return
|
|
2542
|
-
...
|
|
2543
|
-
callName:
|
|
2544
|
-
callPath:
|
|
2557
|
+
`, xl = () => {
|
|
2558
|
+
const e = m(() => I.selectedCall), t = m(() => I.selectedRequest), n = m(() => I.selectedTab || "summary"), r = He(() => {
|
|
2559
|
+
let s;
|
|
2560
|
+
e() ? s = Q.calls[e()] : s = Q.calls[Oe.value];
|
|
2561
|
+
const i = t() && s?.requests.find((a) => a.id === t()) || s?.requests.at(-1);
|
|
2562
|
+
return i && s ? {
|
|
2563
|
+
...i,
|
|
2564
|
+
callName: s.name,
|
|
2565
|
+
callPath: s.path
|
|
2545
2566
|
} : null;
|
|
2546
2567
|
});
|
|
2547
|
-
function l(
|
|
2568
|
+
function l(s, i) {
|
|
2548
2569
|
return h(F, {
|
|
2549
2570
|
get classList() {
|
|
2550
2571
|
return {
|
|
2551
|
-
selected: n() ===
|
|
2572
|
+
selected: n() === s
|
|
2552
2573
|
};
|
|
2553
2574
|
},
|
|
2554
2575
|
onClick: () => {
|
|
2555
|
-
|
|
2576
|
+
Ne("selectedTab", s);
|
|
2556
2577
|
},
|
|
2557
|
-
children:
|
|
2578
|
+
children: i
|
|
2558
2579
|
});
|
|
2559
2580
|
}
|
|
2581
|
+
const o = He(() => {
|
|
2582
|
+
if (!r.value?.response)
|
|
2583
|
+
return !1;
|
|
2584
|
+
const s = JSON.stringify(r.value.response).length;
|
|
2585
|
+
return Ue(s, {
|
|
2586
|
+
unit: "byte",
|
|
2587
|
+
style: "unit",
|
|
2588
|
+
notation: "compact",
|
|
2589
|
+
unitDisplay: "narrow"
|
|
2590
|
+
});
|
|
2591
|
+
});
|
|
2560
2592
|
return (() => {
|
|
2561
|
-
const
|
|
2562
|
-
return C(
|
|
2593
|
+
const s = bt.cloneNode(!0);
|
|
2594
|
+
return C(s, bl), f(s, h(Y, {
|
|
2563
2595
|
get when() {
|
|
2564
|
-
return r
|
|
2596
|
+
return r.value;
|
|
2565
2597
|
},
|
|
2566
2598
|
keyed: !0,
|
|
2567
|
-
children: (
|
|
2568
|
-
const
|
|
2569
|
-
return
|
|
2570
|
-
const
|
|
2571
|
-
return () =>
|
|
2572
|
-
})(), null), f(
|
|
2599
|
+
children: (i) => [(() => {
|
|
2600
|
+
const a = cl.cloneNode(!0), c = a.firstChild;
|
|
2601
|
+
return c.nextSibling, f(c, () => i.type === "ws" ? `WS ${i.subType}` : "API"), f(a, () => i.callName, null), f(a, (() => {
|
|
2602
|
+
const u = m(() => !!i.alias);
|
|
2603
|
+
return () => u() && fl.cloneNode(!0);
|
|
2604
|
+
})(), null), f(a, () => i.alias, null), a;
|
|
2573
2605
|
})(), m((() => {
|
|
2574
|
-
const
|
|
2575
|
-
return () =>
|
|
2576
|
-
const
|
|
2577
|
-
return f(
|
|
2606
|
+
const a = m(() => i.callPath !== i.callName);
|
|
2607
|
+
return () => a() && (() => {
|
|
2608
|
+
const c = pl.cloneNode(!0);
|
|
2609
|
+
return f(c, () => i.callPath), c;
|
|
2578
2610
|
})();
|
|
2579
2611
|
})()), (() => {
|
|
2580
|
-
const
|
|
2581
|
-
return f(
|
|
2582
|
-
const
|
|
2583
|
-
return () =>
|
|
2584
|
-
const
|
|
2585
|
-
return f(
|
|
2612
|
+
const a = ul.cloneNode(!0);
|
|
2613
|
+
return f(a, (() => {
|
|
2614
|
+
const c = m(() => !!i.method);
|
|
2615
|
+
return () => c() && (() => {
|
|
2616
|
+
const u = hl.cloneNode(!0);
|
|
2617
|
+
return f(u, () => i.method), u;
|
|
2586
2618
|
})();
|
|
2587
|
-
})(), null), f(
|
|
2588
|
-
const
|
|
2589
|
-
return () =>
|
|
2590
|
-
const
|
|
2591
|
-
return f(
|
|
2619
|
+
})(), null), f(a, (() => {
|
|
2620
|
+
const c = m(() => !!i.code);
|
|
2621
|
+
return () => c() && (() => {
|
|
2622
|
+
const u = gl.cloneNode(!0);
|
|
2623
|
+
return f(u, () => i.code), _(() => u.classList.toggle("error", i.code >= 400)), u;
|
|
2592
2624
|
})();
|
|
2593
|
-
})(), null), f(
|
|
2594
|
-
const
|
|
2595
|
-
return () =>
|
|
2596
|
-
})(), null), f(
|
|
2625
|
+
})(), null), f(a, (() => {
|
|
2626
|
+
const c = m(() => !!i.isError);
|
|
2627
|
+
return () => c() && ml.cloneNode(!0);
|
|
2628
|
+
})(), null), f(a, h(G, {
|
|
2597
2629
|
get each() {
|
|
2598
|
-
return
|
|
2630
|
+
return i.tags;
|
|
2599
2631
|
},
|
|
2600
|
-
children: (
|
|
2601
|
-
const
|
|
2602
|
-
return f(
|
|
2632
|
+
children: (c) => (() => {
|
|
2633
|
+
const u = yl.cloneNode(!0);
|
|
2634
|
+
return f(u, c), u;
|
|
2603
2635
|
})()
|
|
2604
|
-
}), null),
|
|
2636
|
+
}), null), a;
|
|
2605
2637
|
})(), (() => {
|
|
2606
|
-
const
|
|
2607
|
-
return C(
|
|
2608
|
-
const
|
|
2609
|
-
return () =>
|
|
2610
|
-
})(), null), f(
|
|
2611
|
-
const
|
|
2612
|
-
return () =>
|
|
2613
|
-
})(), null), f(
|
|
2638
|
+
const a = bt.cloneNode(!0);
|
|
2639
|
+
return C(a, wl), f(a, () => l("summary", "Summary"), null), f(a, (() => {
|
|
2640
|
+
const c = m(() => !!i.payload);
|
|
2641
|
+
return () => c() && l("payload", "Payload");
|
|
2642
|
+
})(), null), f(a, (() => {
|
|
2643
|
+
const c = m(() => !!i.searchParams);
|
|
2644
|
+
return () => c() && l("urlParams", "URL Params");
|
|
2645
|
+
})(), null), f(a, () => l("response", "Response"), null), f(a, () => l("diff", "Diff"), null), a;
|
|
2614
2646
|
})(), (() => {
|
|
2615
|
-
const
|
|
2616
|
-
return f(
|
|
2647
|
+
const a = dl.cloneNode(!0);
|
|
2648
|
+
return f(a, h(dn, {
|
|
2617
2649
|
get children() {
|
|
2618
2650
|
return [h(de, {
|
|
2619
2651
|
get when() {
|
|
2620
2652
|
return n() === "summary";
|
|
2621
2653
|
},
|
|
2622
2654
|
get children() {
|
|
2623
|
-
return [m(() => m(() => !!
|
|
2655
|
+
return [m(() => m(() => !!i.payload)() && h(M, {
|
|
2624
2656
|
title: "Payload",
|
|
2625
2657
|
get children() {
|
|
2626
|
-
return h(
|
|
2658
|
+
return h(Z, {
|
|
2627
2659
|
get value() {
|
|
2628
|
-
return
|
|
2660
|
+
return i.payload;
|
|
2629
2661
|
},
|
|
2630
2662
|
compact: !0
|
|
2631
2663
|
});
|
|
2632
2664
|
}
|
|
2633
|
-
})), m(() => m(() => !!
|
|
2665
|
+
})), m(() => m(() => !!i.searchParams)() && h(M, {
|
|
2634
2666
|
title: "URL Params",
|
|
2635
2667
|
get children() {
|
|
2636
|
-
return h(
|
|
2668
|
+
return h(Z, {
|
|
2637
2669
|
get value() {
|
|
2638
|
-
return
|
|
2670
|
+
return i.searchParams;
|
|
2639
2671
|
},
|
|
2640
2672
|
compact: !0
|
|
2641
2673
|
});
|
|
2642
2674
|
}
|
|
2643
|
-
})), m(() => m(() => !!
|
|
2675
|
+
})), m(() => m(() => !!i.response)() && h(M, {
|
|
2644
2676
|
title: "Response",
|
|
2645
2677
|
get children() {
|
|
2646
|
-
return h(
|
|
2678
|
+
return h(Z, {
|
|
2647
2679
|
get value() {
|
|
2648
|
-
return
|
|
2680
|
+
return i.response;
|
|
2649
2681
|
},
|
|
2650
2682
|
compact: !0
|
|
2651
2683
|
});
|
|
@@ -2653,35 +2685,40 @@ const $t = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
|
|
|
2653
2685
|
})), h(M, {
|
|
2654
2686
|
title: "Stats",
|
|
2655
2687
|
get children() {
|
|
2656
|
-
return h(
|
|
2688
|
+
return h(Dr, {
|
|
2657
2689
|
get rows() {
|
|
2658
|
-
return [
|
|
2690
|
+
return [i.type !== "ws" && {
|
|
2659
2691
|
name: "Duration",
|
|
2660
2692
|
value: (() => {
|
|
2661
|
-
const
|
|
2662
|
-
return f(
|
|
2693
|
+
const c = $l.cloneNode(!0), u = c.firstChild;
|
|
2694
|
+
return f(c, () => Ue(i.duration, {
|
|
2695
|
+
maximumFractionDigits: 0
|
|
2696
|
+
}), u), _(() => c.style.setProperty("color", i.duration < 500 ? y.success.var : i.duration > 1e3 ? y.error.var : void 0)), c;
|
|
2663
2697
|
})()
|
|
2664
2698
|
}, {
|
|
2665
2699
|
name: "Start Time",
|
|
2666
2700
|
value: (() => {
|
|
2667
|
-
const
|
|
2668
|
-
return f(
|
|
2701
|
+
const c = vl.cloneNode(!0);
|
|
2702
|
+
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
2703
|
})()
|
|
2704
|
+
}, !!o.value && {
|
|
2705
|
+
name: "Avg. Response Size",
|
|
2706
|
+
value: o.value
|
|
2670
2707
|
}];
|
|
2671
2708
|
}
|
|
2672
2709
|
});
|
|
2673
2710
|
}
|
|
2674
|
-
}), h(
|
|
2711
|
+
}), h(Y, {
|
|
2675
2712
|
get when() {
|
|
2676
|
-
return
|
|
2713
|
+
return i.type !== "ws";
|
|
2677
2714
|
},
|
|
2678
2715
|
get children() {
|
|
2679
2716
|
return h(M, {
|
|
2680
2717
|
title: "Metadata",
|
|
2681
2718
|
get children() {
|
|
2682
|
-
return h(
|
|
2719
|
+
return h(Z, {
|
|
2683
2720
|
get value() {
|
|
2684
|
-
return
|
|
2721
|
+
return i.metadata;
|
|
2685
2722
|
}
|
|
2686
2723
|
});
|
|
2687
2724
|
}
|
|
@@ -2697,9 +2734,9 @@ const $t = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
|
|
|
2697
2734
|
return h(M, {
|
|
2698
2735
|
title: null,
|
|
2699
2736
|
get children() {
|
|
2700
|
-
return h(
|
|
2737
|
+
return h(Z, {
|
|
2701
2738
|
get value() {
|
|
2702
|
-
return
|
|
2739
|
+
return i.payload;
|
|
2703
2740
|
}
|
|
2704
2741
|
});
|
|
2705
2742
|
}
|
|
@@ -2713,9 +2750,9 @@ const $t = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
|
|
|
2713
2750
|
return h(M, {
|
|
2714
2751
|
title: null,
|
|
2715
2752
|
get children() {
|
|
2716
|
-
return h(
|
|
2753
|
+
return h(Z, {
|
|
2717
2754
|
get value() {
|
|
2718
|
-
return
|
|
2755
|
+
return i.response;
|
|
2719
2756
|
}
|
|
2720
2757
|
});
|
|
2721
2758
|
}
|
|
@@ -2729,9 +2766,9 @@ const $t = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
|
|
|
2729
2766
|
return h(M, {
|
|
2730
2767
|
title: null,
|
|
2731
2768
|
get children() {
|
|
2732
|
-
return h(
|
|
2769
|
+
return h(Z, {
|
|
2733
2770
|
get value() {
|
|
2734
|
-
return
|
|
2771
|
+
return i.searchParams;
|
|
2735
2772
|
}
|
|
2736
2773
|
});
|
|
2737
2774
|
}
|
|
@@ -2742,41 +2779,41 @@ const $t = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
|
|
|
2742
2779
|
return n() === "diff";
|
|
2743
2780
|
},
|
|
2744
2781
|
get children() {
|
|
2745
|
-
return h(
|
|
2782
|
+
return h(al, {});
|
|
2746
2783
|
}
|
|
2747
2784
|
})];
|
|
2748
2785
|
}
|
|
2749
|
-
})),
|
|
2786
|
+
})), a;
|
|
2750
2787
|
})()]
|
|
2751
|
-
})),
|
|
2788
|
+
})), s;
|
|
2752
2789
|
})();
|
|
2753
|
-
},
|
|
2790
|
+
}, Cl = /* @__PURE__ */ $("<div><h1>timeline</h1><div></div></div>"), _l = /* @__PURE__ */ $("<div>no requests found</div>"), Sl = /* @__PURE__ */ $('<span class="start-time"></span>'), kl = /* @__PURE__ */ $("<div></div>"), Nl = /* @__PURE__ */ $('<span class="separator">|</span>'), Al = /* @__PURE__ */ $('<span class="payload"></span>'), Tl = S`
|
|
2754
2791
|
&&& {
|
|
2755
|
-
${
|
|
2756
|
-
border-right: 1px solid ${
|
|
2792
|
+
${O()};
|
|
2793
|
+
border-right: 1px solid ${y.white.alpha(0.1)};
|
|
2757
2794
|
|
|
2758
2795
|
> h1 {
|
|
2759
2796
|
font-size: 16px;
|
|
2760
2797
|
padding-left: 12px;
|
|
2761
2798
|
padding-top: 10px;
|
|
2762
|
-
font-family: ${
|
|
2763
|
-
color: ${
|
|
2799
|
+
font-family: ${z.decorative};
|
|
2800
|
+
color: ${y.secondary.var};
|
|
2764
2801
|
padding-bottom: 16px;
|
|
2765
2802
|
}
|
|
2766
2803
|
}
|
|
2767
|
-
`,
|
|
2804
|
+
`, Pl = S`
|
|
2768
2805
|
&&& {
|
|
2769
|
-
${
|
|
2806
|
+
${O()};
|
|
2770
2807
|
flex: 1 1;
|
|
2771
2808
|
overflow-y: auto;
|
|
2772
2809
|
}
|
|
2773
|
-
`,
|
|
2810
|
+
`, El = S`
|
|
2774
2811
|
&&& {
|
|
2775
2812
|
font-size: 13px;
|
|
2776
|
-
${
|
|
2813
|
+
${O()};
|
|
2777
2814
|
|
|
2778
2815
|
&.error {
|
|
2779
|
-
color: ${
|
|
2816
|
+
color: ${y.error.var};
|
|
2780
2817
|
font-weight: 600;
|
|
2781
2818
|
}
|
|
2782
2819
|
|
|
@@ -2789,11 +2826,11 @@ const $t = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
|
|
|
2789
2826
|
|
|
2790
2827
|
&.selected {
|
|
2791
2828
|
opacity: 1;
|
|
2792
|
-
background-color: ${
|
|
2829
|
+
background-color: ${y.secondary.alpha(0.16)};
|
|
2793
2830
|
}
|
|
2794
2831
|
|
|
2795
2832
|
> .start-time {
|
|
2796
|
-
font-family: ${
|
|
2833
|
+
font-family: ${z.decorative};
|
|
2797
2834
|
}
|
|
2798
2835
|
|
|
2799
2836
|
> .separator {
|
|
@@ -2806,40 +2843,40 @@ const $t = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
|
|
|
2806
2843
|
}
|
|
2807
2844
|
}
|
|
2808
2845
|
}
|
|
2809
|
-
`,
|
|
2846
|
+
`, Ol = S`
|
|
2810
2847
|
&&& {
|
|
2811
2848
|
opacity: 0.4;
|
|
2812
2849
|
font-size: 14px;
|
|
2813
2850
|
padding: 12px;
|
|
2814
2851
|
padding-top: 0;
|
|
2815
2852
|
}
|
|
2816
|
-
`,
|
|
2853
|
+
`, Ll = () => {
|
|
2817
2854
|
const e = m(() => {
|
|
2818
2855
|
const l = I.selectedCall;
|
|
2819
|
-
return l ? l ?
|
|
2856
|
+
return l ? l ? Q.calls[l] : null : Q.calls[Oe.value] || null;
|
|
2820
2857
|
}), t = m(() => {
|
|
2821
|
-
const l =
|
|
2858
|
+
const l = Ht(e()?.requests);
|
|
2822
2859
|
return l.length === 0 ? null : l;
|
|
2823
2860
|
}), n = m(() => I.selectedSubitem ? t()?.filter((l) => l.alias === I.selectedSubitem) : t()), r = m(() => I.selectedRequest || n()?.[0]?.id);
|
|
2824
2861
|
return (() => {
|
|
2825
|
-
const l =
|
|
2826
|
-
return C(l,
|
|
2862
|
+
const l = Cl.cloneNode(!0), o = l.firstChild, s = o.nextSibling;
|
|
2863
|
+
return C(l, Tl), C(s, Pl), f(s, h(G, {
|
|
2827
2864
|
get each() {
|
|
2828
2865
|
return n();
|
|
2829
2866
|
},
|
|
2830
2867
|
get fallback() {
|
|
2831
2868
|
return (() => {
|
|
2832
|
-
const i =
|
|
2833
|
-
return C(i,
|
|
2869
|
+
const i = _l.cloneNode(!0);
|
|
2870
|
+
return C(i, Ol), i;
|
|
2834
2871
|
})();
|
|
2835
2872
|
},
|
|
2836
2873
|
children: (i) => {
|
|
2837
|
-
const a = ne(i.startTime), c = a.format("HH:mm:ss"), u = a.fromNow(), p =
|
|
2874
|
+
const a = ne(i.startTime), c = a.format("HH:mm:ss"), u = a.fromNow(), p = Ut(i);
|
|
2838
2875
|
return (() => {
|
|
2839
|
-
const d =
|
|
2840
|
-
return C(d,
|
|
2876
|
+
const d = kl.cloneNode(!0);
|
|
2877
|
+
return C(d, El), f(d, h(F, {
|
|
2841
2878
|
onClick: () => {
|
|
2842
|
-
|
|
2879
|
+
Ne("selectedRequest", i.id);
|
|
2843
2880
|
},
|
|
2844
2881
|
get classList() {
|
|
2845
2882
|
return {
|
|
@@ -2848,10 +2885,10 @@ const $t = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
|
|
|
2848
2885
|
},
|
|
2849
2886
|
get children() {
|
|
2850
2887
|
return [(() => {
|
|
2851
|
-
const g = xl.cloneNode(!0);
|
|
2852
|
-
return j(g, "title", u), f(g, c), g;
|
|
2853
|
-
})(), m(() => !!p && [_l.cloneNode(!0), (() => {
|
|
2854
2888
|
const g = Sl.cloneNode(!0);
|
|
2889
|
+
return j(g, "title", u), f(g, c), g;
|
|
2890
|
+
})(), m(() => !!p && [Nl.cloneNode(!0), (() => {
|
|
2891
|
+
const g = Al.cloneNode(!0);
|
|
2855
2892
|
return j(g, "title", p), f(g, p), g;
|
|
2856
2893
|
})()])];
|
|
2857
2894
|
}
|
|
@@ -2860,17 +2897,17 @@ const $t = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
|
|
|
2860
2897
|
}
|
|
2861
2898
|
})), l;
|
|
2862
2899
|
})();
|
|
2863
|
-
},
|
|
2900
|
+
}, jl = /* @__PURE__ */ $("<div></div>"), Il = S`
|
|
2864
2901
|
&&& {
|
|
2865
2902
|
display: grid;
|
|
2866
2903
|
grid-template-columns: 1fr 1fr 3fr;
|
|
2867
2904
|
}
|
|
2868
|
-
`,
|
|
2869
|
-
const e =
|
|
2870
|
-
return C(e,
|
|
2871
|
-
})(),
|
|
2872
|
-
font-family: ${
|
|
2873
|
-
color: ${
|
|
2905
|
+
`, Ml = () => (() => {
|
|
2906
|
+
const e = jl.cloneNode(!0);
|
|
2907
|
+
return C(e, Il), f(e, h(Pr, {}), null), f(e, h(Ll, {}), null), f(e, h(xl, {}), null), e;
|
|
2908
|
+
})(), Dl = `
|
|
2909
|
+
font-family: ${z.primary};
|
|
2910
|
+
color: ${y.textPrimary.var};
|
|
2874
2911
|
|
|
2875
2912
|
* {
|
|
2876
2913
|
user-select: none;
|
|
@@ -2919,11 +2956,11 @@ const $t = /* @__PURE__ */ y("<div></div>"), il = /* @__PURE__ */ y('<h1><span c
|
|
|
2919
2956
|
h3 {
|
|
2920
2957
|
font-weight: normal;
|
|
2921
2958
|
}
|
|
2922
|
-
`,
|
|
2959
|
+
`, zl = `
|
|
2923
2960
|
display: flex;
|
|
2924
2961
|
align-items: center;
|
|
2925
2962
|
justify-content: center;
|
|
2926
|
-
`,
|
|
2963
|
+
`, Rl = `
|
|
2927
2964
|
*,
|
|
2928
2965
|
*::before,
|
|
2929
2966
|
*::after {
|
|
@@ -2997,26 +3034,26 @@ button {
|
|
|
2997
3034
|
cursor: pointer;
|
|
2998
3035
|
-webkit-appearance: none;
|
|
2999
3036
|
}
|
|
3000
|
-
`,
|
|
3001
|
-
${
|
|
3002
|
-
${
|
|
3037
|
+
`, Fl = /* @__PURE__ */ $("<div></div>"), Bl = /* @__PURE__ */ $('<div id="dev-tools-root-element"><nav></nav><main></main></div>'), Hl = S`
|
|
3038
|
+
${Rl};
|
|
3039
|
+
${Dl};
|
|
3003
3040
|
|
|
3004
3041
|
position: fixed;
|
|
3005
3042
|
inset: 32px;
|
|
3006
3043
|
border-radius: 4px;
|
|
3007
|
-
background: ${
|
|
3044
|
+
background: ${y.bgPrimary.var};
|
|
3008
3045
|
display: grid;
|
|
3009
3046
|
grid-template-columns: 51px 1fr;
|
|
3010
3047
|
|
|
3011
3048
|
nav {
|
|
3012
|
-
${
|
|
3013
|
-
border-right: 1px solid ${
|
|
3049
|
+
${O()};
|
|
3050
|
+
border-right: 1px solid ${y.white.alpha(0.1)};
|
|
3014
3051
|
|
|
3015
3052
|
button {
|
|
3016
|
-
${
|
|
3053
|
+
${zl};
|
|
3017
3054
|
width: 100%;
|
|
3018
3055
|
aspect-ratio: 1 / 1;
|
|
3019
|
-
color: ${
|
|
3056
|
+
color: ${y.bgPrimary.var};
|
|
3020
3057
|
--icon-size: 30px;
|
|
3021
3058
|
|
|
3022
3059
|
&::before {
|
|
@@ -3024,36 +3061,36 @@ button {
|
|
|
3024
3061
|
inset: 6px;
|
|
3025
3062
|
border-radius: 3px;
|
|
3026
3063
|
position: absolute;
|
|
3027
|
-
background: ${
|
|
3064
|
+
background: ${y.primary.var};
|
|
3028
3065
|
}
|
|
3029
3066
|
}
|
|
3030
3067
|
}
|
|
3031
3068
|
|
|
3032
3069
|
> main > * {
|
|
3033
|
-
${
|
|
3070
|
+
${Je};
|
|
3034
3071
|
}
|
|
3035
|
-
`,
|
|
3036
|
-
${
|
|
3072
|
+
`, Vl = S`
|
|
3073
|
+
${Je};
|
|
3037
3074
|
position: fixed;
|
|
3038
3075
|
inset: 0;
|
|
3039
3076
|
backdrop-filter: blur(5px);
|
|
3040
|
-
`,
|
|
3041
|
-
const e =
|
|
3042
|
-
return _e(e, "click",
|
|
3077
|
+
`, Ul = () => [(() => {
|
|
3078
|
+
const e = Fl.cloneNode(!0);
|
|
3079
|
+
return _e(e, "click", Zt, !0), C(e, Vl), e;
|
|
3043
3080
|
})(), (() => {
|
|
3044
|
-
const e =
|
|
3045
|
-
return C(e,
|
|
3081
|
+
const e = Bl.cloneNode(!0), t = e.firstChild, n = t.nextSibling;
|
|
3082
|
+
return C(e, Hl), f(t, h(F, {
|
|
3046
3083
|
title: "API Explorer",
|
|
3047
3084
|
get children() {
|
|
3048
3085
|
return h(Ee, {
|
|
3049
3086
|
name: "network"
|
|
3050
3087
|
});
|
|
3051
3088
|
}
|
|
3052
|
-
})), f(n, h(
|
|
3089
|
+
})), f(n, h(Ml, {})), e;
|
|
3053
3090
|
})()];
|
|
3054
3091
|
Pe(["click"]);
|
|
3055
|
-
const
|
|
3056
|
-
function
|
|
3092
|
+
const Wl = () => h(Ul, {});
|
|
3093
|
+
function Zl(e) {
|
|
3057
3094
|
let t = "";
|
|
3058
3095
|
return e.forEach(({ family: n, weights: r, italics: l }) => {
|
|
3059
3096
|
t += `${t ? "&" : ""}family=${n}:`, r[1] === ".." ? t += `wght@${r[0]}..${r[2]}` : (t += "ital,wght@", r.forEach((o, s) => {
|
|
@@ -3063,12 +3100,12 @@ function Vl(e) {
|
|
|
3063
3100
|
}));
|
|
3064
3101
|
}), `https://fonts.googleapis.com/css2?${t}&display=swap`;
|
|
3065
3102
|
}
|
|
3066
|
-
let
|
|
3067
|
-
function
|
|
3068
|
-
if (
|
|
3103
|
+
let wt = !1;
|
|
3104
|
+
function Kl() {
|
|
3105
|
+
if (wt)
|
|
3069
3106
|
return;
|
|
3070
|
-
|
|
3071
|
-
const e =
|
|
3107
|
+
wt = !0;
|
|
3108
|
+
const e = Zl([
|
|
3072
3109
|
{
|
|
3073
3110
|
family: "Work+Sans",
|
|
3074
3111
|
weights: [300, "..", 700]
|
|
@@ -3076,35 +3113,35 @@ function Ul() {
|
|
|
3076
3113
|
]), t = document.getElementsByTagName("head")[0], n = document.createElement("link");
|
|
3077
3114
|
n.type = "text/css", n.rel = "stylesheet", n.href = e, t?.appendChild(n);
|
|
3078
3115
|
}
|
|
3079
|
-
let
|
|
3080
|
-
},
|
|
3081
|
-
function
|
|
3082
|
-
if (ne.extend(
|
|
3083
|
-
|
|
3116
|
+
let Wt = () => {
|
|
3117
|
+
}, Ze = !1;
|
|
3118
|
+
function Jl() {
|
|
3119
|
+
if (ne.extend(An), Ze) {
|
|
3120
|
+
Zt();
|
|
3084
3121
|
return;
|
|
3085
3122
|
}
|
|
3086
|
-
|
|
3123
|
+
Ze = !0, Kl(), navigator.platform.indexOf("Win") > -1 && document.body.classList.add("windows");
|
|
3087
3124
|
const e = document.getElementById("dev-tools-root") || document.createElement("div");
|
|
3088
|
-
e.id = "dev-tools-root", document.body.appendChild(e),
|
|
3125
|
+
e.id = "dev-tools-root", document.body.appendChild(e), Wt = vn(() => h(Wl, {}), e);
|
|
3089
3126
|
}
|
|
3090
|
-
function
|
|
3091
|
-
|
|
3127
|
+
function Zt() {
|
|
3128
|
+
Ze = !1, Wt();
|
|
3092
3129
|
}
|
|
3093
|
-
function
|
|
3130
|
+
function no({
|
|
3094
3131
|
callsProcessor: e,
|
|
3095
3132
|
shortcut: t
|
|
3096
3133
|
}) {
|
|
3097
|
-
|
|
3134
|
+
Gt(window, {
|
|
3098
3135
|
[t]: (n) => {
|
|
3099
3136
|
const r = document.activeElement;
|
|
3100
|
-
r instanceof HTMLElement && (r.isContentEditable || r.tagName === "INPUT" || r.tagName === "TEXTAREA") || (n.preventDefault(),
|
|
3137
|
+
r instanceof HTMLElement && (r.isContentEditable || r.tagName === "INPUT" || r.tagName === "TEXTAREA") || (n.preventDefault(), Jl());
|
|
3101
3138
|
}
|
|
3102
3139
|
}), $r({
|
|
3103
3140
|
callsProcessor: e
|
|
3104
3141
|
});
|
|
3105
3142
|
}
|
|
3106
3143
|
export {
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3144
|
+
vr as addCall,
|
|
3145
|
+
to as addWebsocketEvent,
|
|
3146
|
+
no as initializeDevTools
|
|
3110
3147
|
};
|