@tanstack/vue-query-devtools 5.13.5 → 5.14.6
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/{N66J3ZXT-0fa51b9e.js → 2NWMMIDL-6ff16652.js} +227 -231
- package/dist/devtools.vue.d.ts.map +1 -1
- package/dist/{devtools.vue_vue_type_script_setup_true_lang-9565749e.js → devtools.vue_vue_type_script_setup_true_lang-28f830f1.js} +438 -426
- package/dist/index.js +1 -1
- package/dist/production.js +1 -1
- package/package.json +6 -6
|
@@ -2,13 +2,13 @@ var tt = (e, t, n) => {
|
|
|
2
2
|
if (!t.has(e))
|
|
3
3
|
throw TypeError("Cannot " + n);
|
|
4
4
|
};
|
|
5
|
-
var
|
|
5
|
+
var v = (e, t, n) => (tt(e, t, "read from private field"), n ? n.call(e) : t.get(e)), C = (e, t, n) => {
|
|
6
6
|
if (t.has(e))
|
|
7
7
|
throw TypeError("Cannot add the same private member more than once");
|
|
8
8
|
t instanceof WeakSet ? t.add(e) : t.set(e, n);
|
|
9
|
-
},
|
|
10
|
-
import { hasInjectionContext as
|
|
11
|
-
var
|
|
9
|
+
}, S = (e, t, n, r) => (tt(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n);
|
|
10
|
+
import { hasInjectionContext as Kt, inject as zt, defineComponent as Gt, ref as Ht, watchEffect as Qt, onMounted as Xt, onScopeDispose as Yt, openBlock as Wt, createElementBlock as Zt } from "vue";
|
|
11
|
+
var Jt = class {
|
|
12
12
|
constructor() {
|
|
13
13
|
this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
|
|
14
14
|
}
|
|
@@ -24,14 +24,14 @@ var en = class {
|
|
|
24
24
|
}
|
|
25
25
|
onUnsubscribe() {
|
|
26
26
|
}
|
|
27
|
-
},
|
|
27
|
+
}, en = typeof window > "u" || "Deno" in window, Y, j, W, ht, tn = (ht = class extends Jt {
|
|
28
28
|
constructor() {
|
|
29
29
|
super();
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
if (!
|
|
30
|
+
C(this, Y, !0);
|
|
31
|
+
C(this, j, void 0);
|
|
32
|
+
C(this, W, void 0);
|
|
33
|
+
S(this, W, (t) => {
|
|
34
|
+
if (!en && window.addEventListener) {
|
|
35
35
|
const n = () => t(!0), r = () => t(!1);
|
|
36
36
|
return window.addEventListener("online", n, !1), window.addEventListener("offline", r, !1), () => {
|
|
37
37
|
window.removeEventListener("online", n), window.removeEventListener("offline", r);
|
|
@@ -40,35 +40,35 @@ var en = class {
|
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
42
|
onSubscribe() {
|
|
43
|
-
|
|
43
|
+
v(this, j) || this.setEventListener(v(this, W));
|
|
44
44
|
}
|
|
45
45
|
onUnsubscribe() {
|
|
46
46
|
var t;
|
|
47
|
-
this.hasListeners() || ((t =
|
|
47
|
+
this.hasListeners() || ((t = v(this, j)) == null || t.call(this), S(this, j, void 0));
|
|
48
48
|
}
|
|
49
49
|
setEventListener(t) {
|
|
50
50
|
var n;
|
|
51
|
-
|
|
51
|
+
S(this, W, t), (n = v(this, j)) == null || n.call(this), S(this, j, t(this.setOnline.bind(this)));
|
|
52
52
|
}
|
|
53
53
|
setOnline(t) {
|
|
54
|
-
|
|
54
|
+
v(this, Y) !== t && (S(this, Y, t), this.listeners.forEach((r) => {
|
|
55
55
|
r(t);
|
|
56
56
|
}));
|
|
57
57
|
}
|
|
58
58
|
isOnline() {
|
|
59
|
-
return
|
|
59
|
+
return v(this, Y);
|
|
60
60
|
}
|
|
61
|
-
}, Y = new WeakMap(), j = new WeakMap(), W = new WeakMap(),
|
|
62
|
-
function
|
|
61
|
+
}, Y = new WeakMap(), j = new WeakMap(), W = new WeakMap(), ht), nn = new tn(), rn = "VUE_QUERY_CLIENT";
|
|
62
|
+
function sn(e) {
|
|
63
63
|
const t = e ? `:${e}` : "";
|
|
64
|
-
return `${
|
|
64
|
+
return `${rn}${t}`;
|
|
65
65
|
}
|
|
66
|
-
function
|
|
67
|
-
if (!
|
|
66
|
+
function on(e = "") {
|
|
67
|
+
if (!Kt())
|
|
68
68
|
throw new Error(
|
|
69
69
|
"vue-query hooks can only be used inside setup() function or functions that support injection context."
|
|
70
70
|
);
|
|
71
|
-
const t =
|
|
71
|
+
const t = sn(e), n = zt(t);
|
|
72
72
|
if (!n)
|
|
73
73
|
throw new Error(
|
|
74
74
|
"No 'queryClient' found in Vue context, use 'VueQueryPlugin' to properly initialize the library."
|
|
@@ -82,21 +82,21 @@ var h = {
|
|
|
82
82
|
function ae(e) {
|
|
83
83
|
h.context = e;
|
|
84
84
|
}
|
|
85
|
-
var
|
|
86
|
-
equals:
|
|
87
|
-
},
|
|
85
|
+
var an = (e, t) => e === t, xe = Symbol("solid-proxy"), gt = Symbol("solid-track"), Oe = {
|
|
86
|
+
equals: an
|
|
87
|
+
}, vt = At, B = 1, Ce = 2, mt = {
|
|
88
88
|
owned: null,
|
|
89
89
|
cleanups: null,
|
|
90
90
|
context: null,
|
|
91
91
|
owner: null
|
|
92
|
-
}, $e = {}, y = null,
|
|
93
|
-
function
|
|
94
|
-
const n = g, r = y, i = e.length === 0, s = t === void 0 ? r : t, o = i ?
|
|
92
|
+
}, $e = {}, y = null, Be = null, g = null, N = null, $ = null, Ie = 0, [un, $r] = /* @__PURE__ */ P(!1);
|
|
93
|
+
function z(e, t) {
|
|
94
|
+
const n = g, r = y, i = e.length === 0, s = t === void 0 ? r : t, o = i ? mt : {
|
|
95
95
|
owned: null,
|
|
96
96
|
cleanups: null,
|
|
97
97
|
context: s ? s.context : null,
|
|
98
98
|
owner: s
|
|
99
|
-
}, a = i ? e : () => e(() =>
|
|
99
|
+
}, a = i ? e : () => e(() => E(() => _e(o)));
|
|
100
100
|
y = o, g = null;
|
|
101
101
|
try {
|
|
102
102
|
return R(a, !0);
|
|
@@ -104,104 +104,104 @@ function F(e, t) {
|
|
|
104
104
|
g = n, y = r;
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
|
-
function
|
|
108
|
-
t = t ? Object.assign({},
|
|
107
|
+
function P(e, t) {
|
|
108
|
+
t = t ? Object.assign({}, Oe, t) : Oe;
|
|
109
109
|
const n = {
|
|
110
110
|
value: e,
|
|
111
111
|
observers: null,
|
|
112
112
|
observerSlots: null,
|
|
113
113
|
comparator: t.equals || void 0
|
|
114
|
-
}, r = (i) => (typeof i == "function" && (i = i(n.value)),
|
|
115
|
-
return [
|
|
114
|
+
}, r = (i) => (typeof i == "function" && (i = i(n.value)), St(n, i));
|
|
115
|
+
return [bt.bind(n), r];
|
|
116
116
|
}
|
|
117
117
|
function nt(e, t, n) {
|
|
118
|
-
const r = ke(e, t, !0,
|
|
118
|
+
const r = ke(e, t, !0, B);
|
|
119
119
|
oe(r);
|
|
120
120
|
}
|
|
121
|
-
function
|
|
122
|
-
const r = ke(e, t, !1,
|
|
121
|
+
function G(e, t, n) {
|
|
122
|
+
const r = ke(e, t, !1, B);
|
|
123
123
|
oe(r);
|
|
124
124
|
}
|
|
125
|
-
function
|
|
126
|
-
|
|
127
|
-
const r = ke(e, t, !1,
|
|
128
|
-
(!n || !n.render) && (r.user = !0),
|
|
125
|
+
function pt(e, t, n) {
|
|
126
|
+
vt = vn;
|
|
127
|
+
const r = ke(e, t, !1, B);
|
|
128
|
+
(!n || !n.render) && (r.user = !0), $ ? $.push(r) : oe(r);
|
|
129
129
|
}
|
|
130
|
-
function
|
|
131
|
-
n = n ? Object.assign({},
|
|
130
|
+
function k(e, t, n) {
|
|
131
|
+
n = n ? Object.assign({}, Oe, n) : Oe;
|
|
132
132
|
const r = ke(e, t, !0, 0);
|
|
133
|
-
return r.observers = null, r.observerSlots = null, r.comparator = n.equals || void 0, oe(r),
|
|
133
|
+
return r.observers = null, r.observerSlots = null, r.comparator = n.equals || void 0, oe(r), bt.bind(r);
|
|
134
134
|
}
|
|
135
135
|
function rt(e) {
|
|
136
136
|
return e && typeof e == "object" && "then" in e;
|
|
137
137
|
}
|
|
138
|
-
function
|
|
138
|
+
function ln(e, t, n) {
|
|
139
139
|
let r, i, s;
|
|
140
140
|
arguments.length === 2 && typeof t == "object" || arguments.length === 1 ? (r = !0, i = e, s = t || {}) : (r = e, i = t, s = n || {});
|
|
141
|
-
let o = null, a = $e, u = null, f = !1, l = "initialValue" in s, c = typeof r == "function" &&
|
|
142
|
-
const d = /* @__PURE__ */ new Set(), [
|
|
141
|
+
let o = null, a = $e, u = null, f = !1, l = "initialValue" in s, c = typeof r == "function" && k(r);
|
|
142
|
+
const d = /* @__PURE__ */ new Set(), [m, w] = (s.storage || P)(s.initialValue), [A, M] = P(void 0), [U, x] = P(void 0, {
|
|
143
143
|
equals: !1
|
|
144
|
-
}), [
|
|
144
|
+
}), [b, T] = P(l ? "ready" : "unresolved");
|
|
145
145
|
if (h.context) {
|
|
146
146
|
u = `${h.context.id}${h.context.count++}`;
|
|
147
147
|
let p;
|
|
148
148
|
s.ssrLoadFrom === "initial" ? a = s.initialValue : h.load && (p = h.load(u)) && (a = rt(p) && "value" in p ? p.value : p);
|
|
149
149
|
}
|
|
150
|
-
function _(p,
|
|
151
|
-
return o === p && (o = null, H !== void 0 && (l = !0), (p === a ||
|
|
150
|
+
function _(p, O, I, H) {
|
|
151
|
+
return o === p && (o = null, H !== void 0 && (l = !0), (p === a || O === a) && s.onHydrated && queueMicrotask(
|
|
152
152
|
() => s.onHydrated(H, {
|
|
153
|
-
value:
|
|
153
|
+
value: O
|
|
154
154
|
})
|
|
155
|
-
), a = $e, Re(
|
|
155
|
+
), a = $e, Re(O, I)), O;
|
|
156
156
|
}
|
|
157
|
-
function Re(p,
|
|
157
|
+
function Re(p, O) {
|
|
158
158
|
R(() => {
|
|
159
|
-
|
|
160
|
-
for (const
|
|
161
|
-
|
|
159
|
+
O === void 0 && w(() => p), T(O !== void 0 ? "errored" : l ? "ready" : "unresolved"), M(O);
|
|
160
|
+
for (const I of d.keys())
|
|
161
|
+
I.decrement();
|
|
162
162
|
d.clear();
|
|
163
163
|
}, !1);
|
|
164
164
|
}
|
|
165
165
|
function Me() {
|
|
166
|
-
const p =
|
|
167
|
-
if (
|
|
168
|
-
throw
|
|
166
|
+
const p = hn, O = m(), I = A();
|
|
167
|
+
if (I !== void 0 && !o)
|
|
168
|
+
throw I;
|
|
169
169
|
return g && !g.user && p && nt(() => {
|
|
170
|
-
|
|
171
|
-
}),
|
|
170
|
+
U(), o && (p.resolved || d.has(p) || (p.increment(), d.add(p)));
|
|
171
|
+
}), O;
|
|
172
172
|
}
|
|
173
173
|
function Ve(p = !0) {
|
|
174
174
|
if (p !== !1 && f)
|
|
175
175
|
return;
|
|
176
176
|
f = !1;
|
|
177
|
-
const
|
|
178
|
-
if (
|
|
179
|
-
_(o,
|
|
177
|
+
const O = c ? c() : r;
|
|
178
|
+
if (O == null || O === !1) {
|
|
179
|
+
_(o, E(m));
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
|
-
const
|
|
183
|
-
() => i(
|
|
184
|
-
value:
|
|
182
|
+
const I = a !== $e ? a : E(
|
|
183
|
+
() => i(O, {
|
|
184
|
+
value: m(),
|
|
185
185
|
refetching: p
|
|
186
186
|
})
|
|
187
187
|
);
|
|
188
|
-
return rt(
|
|
189
|
-
|
|
190
|
-
}, !1),
|
|
191
|
-
(H) => _(
|
|
192
|
-
(H) => _(
|
|
193
|
-
)) : (_(o,
|
|
188
|
+
return rt(I) ? (o = I, f = !0, queueMicrotask(() => f = !1), R(() => {
|
|
189
|
+
T(l ? "refreshing" : "pending"), x();
|
|
190
|
+
}, !1), I.then(
|
|
191
|
+
(H) => _(I, H, void 0, O),
|
|
192
|
+
(H) => _(I, void 0, xt(H), O)
|
|
193
|
+
)) : (_(o, I, void 0, O), I);
|
|
194
194
|
}
|
|
195
195
|
return Object.defineProperties(Me, {
|
|
196
196
|
state: {
|
|
197
|
-
get: () =>
|
|
197
|
+
get: () => b()
|
|
198
198
|
},
|
|
199
199
|
error: {
|
|
200
|
-
get: () =>
|
|
200
|
+
get: () => A()
|
|
201
201
|
},
|
|
202
202
|
loading: {
|
|
203
203
|
get() {
|
|
204
|
-
const p =
|
|
204
|
+
const p = b();
|
|
205
205
|
return p === "pending" || p === "refreshing";
|
|
206
206
|
}
|
|
207
207
|
},
|
|
@@ -209,10 +209,10 @@ function fn(e, t, n) {
|
|
|
209
209
|
get() {
|
|
210
210
|
if (!l)
|
|
211
211
|
return Me();
|
|
212
|
-
const p =
|
|
212
|
+
const p = A();
|
|
213
213
|
if (p && !o)
|
|
214
214
|
throw p;
|
|
215
|
-
return
|
|
215
|
+
return m();
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
218
|
}), c ? nt(() => Ve(!1)) : Ve(!1), [
|
|
@@ -223,10 +223,10 @@ function fn(e, t, n) {
|
|
|
223
223
|
}
|
|
224
224
|
];
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function Br(e) {
|
|
227
227
|
return R(e, !1);
|
|
228
228
|
}
|
|
229
|
-
function
|
|
229
|
+
function E(e) {
|
|
230
230
|
if (g === null)
|
|
231
231
|
return e();
|
|
232
232
|
const t = g;
|
|
@@ -237,7 +237,7 @@ function S(e) {
|
|
|
237
237
|
g = t;
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
|
-
function
|
|
240
|
+
function Ur(e, t, n) {
|
|
241
241
|
const r = Array.isArray(e);
|
|
242
242
|
let i, s = n && n.defer;
|
|
243
243
|
return (o) => {
|
|
@@ -252,23 +252,23 @@ function Br(e, t, n) {
|
|
|
252
252
|
s = !1;
|
|
253
253
|
return;
|
|
254
254
|
}
|
|
255
|
-
const u =
|
|
255
|
+
const u = E(() => t(a, i, o));
|
|
256
256
|
return i = a, u;
|
|
257
257
|
};
|
|
258
258
|
}
|
|
259
|
-
function
|
|
260
|
-
|
|
259
|
+
function fn(e) {
|
|
260
|
+
pt(() => E(e));
|
|
261
261
|
}
|
|
262
262
|
function le(e) {
|
|
263
263
|
return y === null || (y.cleanups === null ? y.cleanups = [e] : y.cleanups.push(e)), e;
|
|
264
264
|
}
|
|
265
|
-
function
|
|
265
|
+
function jr() {
|
|
266
266
|
return g;
|
|
267
267
|
}
|
|
268
268
|
function it() {
|
|
269
269
|
return y;
|
|
270
270
|
}
|
|
271
|
-
function
|
|
271
|
+
function cn(e, t) {
|
|
272
272
|
const n = y, r = g;
|
|
273
273
|
y = e, g = null;
|
|
274
274
|
try {
|
|
@@ -279,7 +279,7 @@ function dn(e, t) {
|
|
|
279
279
|
y = n, g = r;
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
|
-
function
|
|
282
|
+
function dn(e) {
|
|
283
283
|
const t = g, n = y;
|
|
284
284
|
return Promise.resolve().then(() => {
|
|
285
285
|
g = t, y = n;
|
|
@@ -288,34 +288,34 @@ function hn(e) {
|
|
|
288
288
|
});
|
|
289
289
|
}
|
|
290
290
|
function Dr() {
|
|
291
|
-
return [
|
|
291
|
+
return [un, dn];
|
|
292
292
|
}
|
|
293
293
|
function qr(e, t) {
|
|
294
294
|
const n = Symbol("context");
|
|
295
295
|
return {
|
|
296
296
|
id: n,
|
|
297
|
-
Provider:
|
|
297
|
+
Provider: mn(n),
|
|
298
298
|
defaultValue: e
|
|
299
299
|
};
|
|
300
300
|
}
|
|
301
301
|
function Fr(e) {
|
|
302
302
|
return y && y.context && y.context[e.id] !== void 0 ? y.context[e.id] : e.defaultValue;
|
|
303
303
|
}
|
|
304
|
-
function
|
|
305
|
-
const t =
|
|
304
|
+
function wt(e) {
|
|
305
|
+
const t = k(e), n = k(() => De(t()));
|
|
306
306
|
return n.toArray = () => {
|
|
307
307
|
const r = n();
|
|
308
308
|
return Array.isArray(r) ? r : r != null ? [r] : [];
|
|
309
309
|
}, n;
|
|
310
310
|
}
|
|
311
|
-
var
|
|
312
|
-
function
|
|
311
|
+
var hn;
|
|
312
|
+
function bt() {
|
|
313
313
|
if (this.sources && this.state)
|
|
314
|
-
if (this.state ===
|
|
314
|
+
if (this.state === B)
|
|
315
315
|
oe(this);
|
|
316
316
|
else {
|
|
317
|
-
const e =
|
|
318
|
-
|
|
317
|
+
const e = N;
|
|
318
|
+
N = null, R(() => Pe(this), !1), N = e;
|
|
319
319
|
}
|
|
320
320
|
if (g) {
|
|
321
321
|
const e = this.observers ? this.observers.length : 0;
|
|
@@ -323,15 +323,15 @@ function St() {
|
|
|
323
323
|
}
|
|
324
324
|
return this.value;
|
|
325
325
|
}
|
|
326
|
-
function
|
|
326
|
+
function St(e, t, n) {
|
|
327
327
|
let r = e.value;
|
|
328
328
|
return (!e.comparator || !e.comparator(r, t)) && (e.value = t, e.observers && e.observers.length && R(() => {
|
|
329
329
|
for (let i = 0; i < e.observers.length; i += 1) {
|
|
330
|
-
const s = e.observers[i], o =
|
|
331
|
-
o &&
|
|
330
|
+
const s = e.observers[i], o = Be && Be.running;
|
|
331
|
+
o && Be.disposed.has(s), (o ? !s.tState : !s.state) && (s.pure ? N.push(s) : $.push(s), s.observers && Et(s)), o || (s.state = B);
|
|
332
332
|
}
|
|
333
|
-
if (
|
|
334
|
-
throw
|
|
333
|
+
if (N.length > 1e6)
|
|
334
|
+
throw N = [], new Error();
|
|
335
335
|
}, !1)), t;
|
|
336
336
|
}
|
|
337
337
|
function oe(e) {
|
|
@@ -339,22 +339,22 @@ function oe(e) {
|
|
|
339
339
|
return;
|
|
340
340
|
_e(e);
|
|
341
341
|
const t = y, n = g, r = Ie;
|
|
342
|
-
g = y = e,
|
|
342
|
+
g = y = e, yn(
|
|
343
343
|
e,
|
|
344
344
|
e.value,
|
|
345
345
|
r
|
|
346
346
|
), g = n, y = t;
|
|
347
347
|
}
|
|
348
|
-
function
|
|
348
|
+
function yn(e, t, n) {
|
|
349
349
|
let r;
|
|
350
350
|
try {
|
|
351
351
|
r = e.fn(t);
|
|
352
352
|
} catch (i) {
|
|
353
|
-
return e.pure && (e.state =
|
|
353
|
+
return e.pure && (e.state = B, e.owned && e.owned.forEach(_e), e.owned = null), e.updatedAt = n + 1, et(i);
|
|
354
354
|
}
|
|
355
|
-
(!e.updatedAt || e.updatedAt <= n) && (e.updatedAt != null && "observers" in e ?
|
|
355
|
+
(!e.updatedAt || e.updatedAt <= n) && (e.updatedAt != null && "observers" in e ? St(e, r) : e.value = r, e.updatedAt = n);
|
|
356
356
|
}
|
|
357
|
-
function ke(e, t, n, r =
|
|
357
|
+
function ke(e, t, n, r = B, i) {
|
|
358
358
|
const s = {
|
|
359
359
|
fn: e,
|
|
360
360
|
state: r,
|
|
@@ -368,49 +368,49 @@ function ke(e, t, n, r = $, i) {
|
|
|
368
368
|
context: y ? y.context : null,
|
|
369
369
|
pure: n
|
|
370
370
|
};
|
|
371
|
-
return y === null || y !==
|
|
371
|
+
return y === null || y !== mt && (y.owned ? y.owned.push(s) : y.owned = [s]), s;
|
|
372
372
|
}
|
|
373
373
|
function Ne(e) {
|
|
374
374
|
if (e.state === 0)
|
|
375
375
|
return;
|
|
376
376
|
if (e.state === Ce)
|
|
377
377
|
return Pe(e);
|
|
378
|
-
if (e.suspense &&
|
|
378
|
+
if (e.suspense && E(e.suspense.inFallback))
|
|
379
379
|
return e.suspense.effects.push(e);
|
|
380
380
|
const t = [e];
|
|
381
381
|
for (; (e = e.owner) && (!e.updatedAt || e.updatedAt < Ie); )
|
|
382
382
|
e.state && t.push(e);
|
|
383
383
|
for (let n = t.length - 1; n >= 0; n--)
|
|
384
|
-
if (e = t[n], e.state ===
|
|
384
|
+
if (e = t[n], e.state === B)
|
|
385
385
|
oe(e);
|
|
386
386
|
else if (e.state === Ce) {
|
|
387
|
-
const r =
|
|
388
|
-
|
|
387
|
+
const r = N;
|
|
388
|
+
N = null, R(() => Pe(e, t[0]), !1), N = r;
|
|
389
389
|
}
|
|
390
390
|
}
|
|
391
391
|
function R(e, t) {
|
|
392
|
-
if (
|
|
392
|
+
if (N)
|
|
393
393
|
return e();
|
|
394
394
|
let n = !1;
|
|
395
|
-
t || (
|
|
395
|
+
t || (N = []), $ ? n = !0 : $ = [], Ie++;
|
|
396
396
|
try {
|
|
397
397
|
const r = e();
|
|
398
|
-
return
|
|
398
|
+
return gn(n), r;
|
|
399
399
|
} catch (r) {
|
|
400
|
-
n || (
|
|
400
|
+
n || ($ = null), N = null, et(r);
|
|
401
401
|
}
|
|
402
402
|
}
|
|
403
|
-
function
|
|
404
|
-
if (
|
|
403
|
+
function gn(e) {
|
|
404
|
+
if (N && (At(N), N = null), e)
|
|
405
405
|
return;
|
|
406
|
-
const t =
|
|
407
|
-
|
|
406
|
+
const t = $;
|
|
407
|
+
$ = null, t.length && R(() => vt(t), !1);
|
|
408
408
|
}
|
|
409
|
-
function
|
|
409
|
+
function At(e) {
|
|
410
410
|
for (let t = 0; t < e.length; t++)
|
|
411
411
|
Ne(e[t]);
|
|
412
412
|
}
|
|
413
|
-
function
|
|
413
|
+
function vn(e) {
|
|
414
414
|
let t, n = 0;
|
|
415
415
|
for (t = 0; t < e.length; t++) {
|
|
416
416
|
const r = e[t];
|
|
@@ -433,14 +433,14 @@ function Pe(e, t) {
|
|
|
433
433
|
const r = e.sources[n];
|
|
434
434
|
if (r.sources) {
|
|
435
435
|
const i = r.state;
|
|
436
|
-
i ===
|
|
436
|
+
i === B ? r !== t && (!r.updatedAt || r.updatedAt < Ie) && Ne(r) : i === Ce && Pe(r, t);
|
|
437
437
|
}
|
|
438
438
|
}
|
|
439
439
|
}
|
|
440
|
-
function
|
|
440
|
+
function Et(e) {
|
|
441
441
|
for (let t = 0; t < e.observers.length; t += 1) {
|
|
442
442
|
const n = e.observers[t];
|
|
443
|
-
n.state || (n.state = Ce, n.pure ?
|
|
443
|
+
n.state || (n.state = Ce, n.pure ? N.push(n) : $.push(n), n.observers && Et(n));
|
|
444
444
|
}
|
|
445
445
|
}
|
|
446
446
|
function _e(e) {
|
|
@@ -486,14 +486,14 @@ function De(e) {
|
|
|
486
486
|
}
|
|
487
487
|
return e;
|
|
488
488
|
}
|
|
489
|
-
function
|
|
489
|
+
function mn(e, t) {
|
|
490
490
|
return function(r) {
|
|
491
491
|
let i;
|
|
492
|
-
return
|
|
493
|
-
() => i =
|
|
492
|
+
return G(
|
|
493
|
+
() => i = E(() => (y.context = {
|
|
494
494
|
...y.context,
|
|
495
495
|
[e]: r.value
|
|
496
|
-
},
|
|
496
|
+
}, wt(() => r.children))),
|
|
497
497
|
void 0
|
|
498
498
|
), i;
|
|
499
499
|
};
|
|
@@ -503,74 +503,74 @@ function Te(e) {
|
|
|
503
503
|
for (let t = 0; t < e.length; t++)
|
|
504
504
|
e[t]();
|
|
505
505
|
}
|
|
506
|
-
function
|
|
506
|
+
function pn(e, t, n = {}) {
|
|
507
507
|
let r = [], i = [], s = [], o = 0, a = t.length > 1 ? [] : null;
|
|
508
508
|
return le(() => Te(s)), () => {
|
|
509
509
|
let u = e() || [], f, l;
|
|
510
|
-
return u[
|
|
511
|
-
let d = u.length,
|
|
510
|
+
return u[gt], E(() => {
|
|
511
|
+
let d = u.length, m, w, A, M, U, x, b, T, _;
|
|
512
512
|
if (d === 0)
|
|
513
|
-
o !== 0 && (Te(s), s = [], r = [], i = [], o = 0, a && (a = [])), n.fallback && (r = [qe], i[0] =
|
|
513
|
+
o !== 0 && (Te(s), s = [], r = [], i = [], o = 0, a && (a = [])), n.fallback && (r = [qe], i[0] = z((Re) => (s[0] = Re, n.fallback())), o = 1);
|
|
514
514
|
else if (o === 0) {
|
|
515
515
|
for (i = new Array(d), l = 0; l < d; l++)
|
|
516
|
-
r[l] = u[l], i[l] =
|
|
516
|
+
r[l] = u[l], i[l] = z(c);
|
|
517
517
|
o = d;
|
|
518
518
|
} else {
|
|
519
|
-
for (
|
|
519
|
+
for (A = new Array(d), M = new Array(d), a && (U = new Array(d)), x = 0, b = Math.min(o, d); x < b && r[x] === u[x]; x++)
|
|
520
520
|
;
|
|
521
|
-
for (
|
|
522
|
-
|
|
523
|
-
for (
|
|
524
|
-
_ = u[l], f =
|
|
525
|
-
for (f =
|
|
526
|
-
_ = r[f], l =
|
|
527
|
-
for (l =
|
|
528
|
-
l in
|
|
521
|
+
for (b = o - 1, T = d - 1; b >= x && T >= x && r[b] === u[T]; b--, T--)
|
|
522
|
+
A[T] = i[b], M[T] = s[b], a && (U[T] = a[b]);
|
|
523
|
+
for (m = /* @__PURE__ */ new Map(), w = new Array(T + 1), l = T; l >= x; l--)
|
|
524
|
+
_ = u[l], f = m.get(_), w[l] = f === void 0 ? -1 : f, m.set(_, l);
|
|
525
|
+
for (f = x; f <= b; f++)
|
|
526
|
+
_ = r[f], l = m.get(_), l !== void 0 && l !== -1 ? (A[l] = i[f], M[l] = s[f], a && (U[l] = a[f]), l = w[l], m.set(_, l)) : s[f]();
|
|
527
|
+
for (l = x; l < d; l++)
|
|
528
|
+
l in A ? (i[l] = A[l], s[l] = M[l], a && (a[l] = U[l], a[l](l))) : i[l] = z(c);
|
|
529
529
|
i = i.slice(0, o = d), r = u.slice(0);
|
|
530
530
|
}
|
|
531
531
|
return i;
|
|
532
532
|
});
|
|
533
533
|
function c(d) {
|
|
534
534
|
if (s[l] = d, a) {
|
|
535
|
-
const [
|
|
536
|
-
return a[l] = w, t(u[l],
|
|
535
|
+
const [m, w] = P(l);
|
|
536
|
+
return a[l] = w, t(u[l], m);
|
|
537
537
|
}
|
|
538
538
|
return t(u[l]);
|
|
539
539
|
}
|
|
540
540
|
};
|
|
541
541
|
}
|
|
542
|
-
function
|
|
542
|
+
function wn(e, t, n = {}) {
|
|
543
543
|
let r = [], i = [], s = [], o = [], a = 0, u;
|
|
544
544
|
return le(() => Te(s)), () => {
|
|
545
545
|
const f = e() || [];
|
|
546
|
-
return f[
|
|
546
|
+
return f[gt], E(() => {
|
|
547
547
|
if (f.length === 0)
|
|
548
|
-
return a !== 0 && (Te(s), s = [], r = [], i = [], a = 0, o = []), n.fallback && (r = [qe], i[0] =
|
|
548
|
+
return a !== 0 && (Te(s), s = [], r = [], i = [], a = 0, o = []), n.fallback && (r = [qe], i[0] = z((c) => (s[0] = c, n.fallback())), a = 1), i;
|
|
549
549
|
for (r[0] === qe && (s[0](), s = [], r = [], i = [], a = 0), u = 0; u < f.length; u++)
|
|
550
|
-
u < r.length && r[u] !== f[u] ? o[u](() => f[u]) : u >= r.length && (i[u] =
|
|
550
|
+
u < r.length && r[u] !== f[u] ? o[u](() => f[u]) : u >= r.length && (i[u] = z(l));
|
|
551
551
|
for (; u < r.length; u++)
|
|
552
552
|
s[u]();
|
|
553
553
|
return a = o.length = s.length = f.length, r = f.slice(0), i = i.slice(0, a);
|
|
554
554
|
});
|
|
555
555
|
function l(c) {
|
|
556
556
|
s[u] = c;
|
|
557
|
-
const [d,
|
|
558
|
-
return o[u] =
|
|
557
|
+
const [d, m] = P(f[u]);
|
|
558
|
+
return o[u] = m, t(d, u);
|
|
559
559
|
}
|
|
560
560
|
};
|
|
561
561
|
}
|
|
562
|
-
function
|
|
563
|
-
return
|
|
562
|
+
function bn(e, t) {
|
|
563
|
+
return E(() => e(t || {}));
|
|
564
564
|
}
|
|
565
565
|
function pe() {
|
|
566
566
|
return !0;
|
|
567
567
|
}
|
|
568
568
|
var Fe = {
|
|
569
569
|
get(e, t, n) {
|
|
570
|
-
return t ===
|
|
570
|
+
return t === xe ? n : e.get(t);
|
|
571
571
|
},
|
|
572
572
|
has(e, t) {
|
|
573
|
-
return t ===
|
|
573
|
+
return t === xe ? !0 : e.has(t);
|
|
574
574
|
},
|
|
575
575
|
set: pe,
|
|
576
576
|
deleteProperty: pe,
|
|
@@ -589,42 +589,42 @@ var Fe = {
|
|
|
589
589
|
return e.keys();
|
|
590
590
|
}
|
|
591
591
|
};
|
|
592
|
-
function
|
|
592
|
+
function Ue(e) {
|
|
593
593
|
return (e = typeof e == "function" ? e() : e) ? e : {};
|
|
594
594
|
}
|
|
595
|
-
function
|
|
595
|
+
function Sn() {
|
|
596
596
|
for (let e = 0, t = this.length; e < t; ++e) {
|
|
597
597
|
const n = this[e]();
|
|
598
598
|
if (n !== void 0)
|
|
599
599
|
return n;
|
|
600
600
|
}
|
|
601
601
|
}
|
|
602
|
-
function
|
|
602
|
+
function An(...e) {
|
|
603
603
|
let t = !1;
|
|
604
604
|
for (let s = 0; s < e.length; s++) {
|
|
605
605
|
const o = e[s];
|
|
606
|
-
t = t || !!o &&
|
|
606
|
+
t = t || !!o && xe in o, e[s] = typeof o == "function" ? (t = !0, k(o)) : o;
|
|
607
607
|
}
|
|
608
608
|
if (t)
|
|
609
609
|
return new Proxy(
|
|
610
610
|
{
|
|
611
611
|
get(s) {
|
|
612
612
|
for (let o = e.length - 1; o >= 0; o--) {
|
|
613
|
-
const a =
|
|
613
|
+
const a = Ue(e[o])[s];
|
|
614
614
|
if (a !== void 0)
|
|
615
615
|
return a;
|
|
616
616
|
}
|
|
617
617
|
},
|
|
618
618
|
has(s) {
|
|
619
619
|
for (let o = e.length - 1; o >= 0; o--)
|
|
620
|
-
if (s in
|
|
620
|
+
if (s in Ue(e[o]))
|
|
621
621
|
return !0;
|
|
622
622
|
return !1;
|
|
623
623
|
},
|
|
624
624
|
keys() {
|
|
625
625
|
const s = [];
|
|
626
626
|
for (let o = 0; o < e.length; o++)
|
|
627
|
-
s.push(...Object.keys(
|
|
627
|
+
s.push(...Object.keys(Ue(e[o])));
|
|
628
628
|
return [...new Set(s)];
|
|
629
629
|
}
|
|
630
630
|
},
|
|
@@ -645,7 +645,7 @@ function En(...e) {
|
|
|
645
645
|
c.get ? (i.add(l), Object.defineProperty(n, l, {
|
|
646
646
|
enumerable: !0,
|
|
647
647
|
configurable: !0,
|
|
648
|
-
get:
|
|
648
|
+
get: Sn.bind(r[l] = [c.get.bind(o)])
|
|
649
649
|
})) : (c.value !== void 0 && i.add(l), n[l] = c.value);
|
|
650
650
|
else {
|
|
651
651
|
const d = r[l];
|
|
@@ -655,8 +655,8 @@ function En(...e) {
|
|
|
655
655
|
}
|
|
656
656
|
return n;
|
|
657
657
|
}
|
|
658
|
-
function
|
|
659
|
-
if (
|
|
658
|
+
function En(e, ...t) {
|
|
659
|
+
if (xe in e) {
|
|
660
660
|
const i = new Set(t.length > 1 ? t.flat() : t[0]), s = t.map((o) => new Proxy(
|
|
661
661
|
{
|
|
662
662
|
get(a) {
|
|
@@ -703,17 +703,17 @@ function xn(e) {
|
|
|
703
703
|
const r = (i) => {
|
|
704
704
|
const s = h.context;
|
|
705
705
|
if (s) {
|
|
706
|
-
const [a, u] =
|
|
706
|
+
const [a, u] = P();
|
|
707
707
|
h.count || (h.count = 0), h.count++, (n || (n = e())).then((f) => {
|
|
708
708
|
ae(s), h.count--, u(() => f.default), ae();
|
|
709
709
|
}), t = a;
|
|
710
710
|
} else if (!t) {
|
|
711
|
-
const [a] =
|
|
711
|
+
const [a] = ln(() => (n || (n = e())).then((u) => u.default));
|
|
712
712
|
t = a;
|
|
713
713
|
}
|
|
714
714
|
let o;
|
|
715
|
-
return
|
|
716
|
-
() => (o = t()) &&
|
|
715
|
+
return k(
|
|
716
|
+
() => (o = t()) && E(() => {
|
|
717
717
|
if (!s)
|
|
718
718
|
return o(i);
|
|
719
719
|
const a = h.context;
|
|
@@ -725,38 +725,38 @@ function xn(e) {
|
|
|
725
725
|
};
|
|
726
726
|
return r.preload = () => n || ((n = e()).then((i) => t = () => i.default), n), r;
|
|
727
727
|
}
|
|
728
|
-
var
|
|
728
|
+
var On = 0;
|
|
729
729
|
function Kr() {
|
|
730
730
|
const e = h.context;
|
|
731
|
-
return e ? `${e.id}${e.count++}` : `cl-${
|
|
731
|
+
return e ? `${e.id}${e.count++}` : `cl-${On++}`;
|
|
732
732
|
}
|
|
733
|
-
var
|
|
733
|
+
var Ot = (e) => `Stale read from <${e}>.`;
|
|
734
734
|
function zr(e) {
|
|
735
735
|
const t = "fallback" in e && {
|
|
736
736
|
fallback: () => e.fallback
|
|
737
737
|
};
|
|
738
|
-
return
|
|
738
|
+
return k(pn(() => e.each, e.children, t || void 0));
|
|
739
739
|
}
|
|
740
740
|
function Gr(e) {
|
|
741
741
|
const t = "fallback" in e && {
|
|
742
742
|
fallback: () => e.fallback
|
|
743
743
|
};
|
|
744
|
-
return
|
|
744
|
+
return k(wn(() => e.each, e.children, t || void 0));
|
|
745
745
|
}
|
|
746
746
|
function Hr(e) {
|
|
747
|
-
const t = e.keyed, n =
|
|
747
|
+
const t = e.keyed, n = k(() => e.when, void 0, {
|
|
748
748
|
equals: (r, i) => t ? r === i : !r == !i
|
|
749
749
|
});
|
|
750
|
-
return
|
|
750
|
+
return k(
|
|
751
751
|
() => {
|
|
752
752
|
const r = n();
|
|
753
753
|
if (r) {
|
|
754
754
|
const i = e.children;
|
|
755
|
-
return typeof i == "function" && i.length > 0 ?
|
|
755
|
+
return typeof i == "function" && i.length > 0 ? E(
|
|
756
756
|
() => i(
|
|
757
757
|
t ? r : () => {
|
|
758
|
-
if (!
|
|
759
|
-
throw
|
|
758
|
+
if (!E(n))
|
|
759
|
+
throw Ot("Show");
|
|
760
760
|
return e.when;
|
|
761
761
|
}
|
|
762
762
|
)
|
|
@@ -770,7 +770,7 @@ function Hr(e) {
|
|
|
770
770
|
}
|
|
771
771
|
function Qr(e) {
|
|
772
772
|
let t = !1;
|
|
773
|
-
const n = (s, o) => s[0] === o[0] && (t ? s[1] === o[1] : !s[1] == !o[1]) && s[2] === o[2], r =
|
|
773
|
+
const n = (s, o) => s[0] === o[0] && (t ? s[1] === o[1] : !s[1] == !o[1]) && s[2] === o[2], r = wt(() => e.children), i = k(
|
|
774
774
|
() => {
|
|
775
775
|
let s = r();
|
|
776
776
|
Array.isArray(s) || (s = [s]);
|
|
@@ -786,17 +786,17 @@ function Qr(e) {
|
|
|
786
786
|
equals: n
|
|
787
787
|
}
|
|
788
788
|
);
|
|
789
|
-
return
|
|
789
|
+
return k(
|
|
790
790
|
() => {
|
|
791
791
|
const [s, o, a] = i();
|
|
792
792
|
if (s < 0)
|
|
793
793
|
return e.fallback;
|
|
794
794
|
const u = a.children;
|
|
795
|
-
return typeof u == "function" && u.length > 0 ?
|
|
795
|
+
return typeof u == "function" && u.length > 0 ? E(
|
|
796
796
|
() => u(
|
|
797
797
|
t ? o : () => {
|
|
798
|
-
if (
|
|
799
|
-
throw
|
|
798
|
+
if (E(i)[0] !== s)
|
|
799
|
+
throw Ot("Match");
|
|
800
800
|
return a.when;
|
|
801
801
|
}
|
|
802
802
|
)
|
|
@@ -809,7 +809,7 @@ function Qr(e) {
|
|
|
809
809
|
function Xr(e) {
|
|
810
810
|
return e;
|
|
811
811
|
}
|
|
812
|
-
var
|
|
812
|
+
var Cn = [
|
|
813
813
|
"allowfullscreen",
|
|
814
814
|
"async",
|
|
815
815
|
"autofocus",
|
|
@@ -834,7 +834,7 @@ var Nn = [
|
|
|
834
834
|
"reversed",
|
|
835
835
|
"seamless",
|
|
836
836
|
"selected"
|
|
837
|
-
],
|
|
837
|
+
], Nn = /* @__PURE__ */ new Set([
|
|
838
838
|
"className",
|
|
839
839
|
"value",
|
|
840
840
|
"readOnly",
|
|
@@ -842,16 +842,16 @@ var Nn = [
|
|
|
842
842
|
"isMap",
|
|
843
843
|
"noModule",
|
|
844
844
|
"playsInline",
|
|
845
|
-
...
|
|
846
|
-
]),
|
|
845
|
+
...Cn
|
|
846
|
+
]), Pn = /* @__PURE__ */ new Set([
|
|
847
847
|
"innerHTML",
|
|
848
848
|
"textContent",
|
|
849
849
|
"innerText",
|
|
850
850
|
"children"
|
|
851
|
-
]),
|
|
851
|
+
]), Tn = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
|
|
852
852
|
className: "class",
|
|
853
853
|
htmlFor: "for"
|
|
854
|
-
}),
|
|
854
|
+
}), In = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
|
|
855
855
|
class: "className",
|
|
856
856
|
formnovalidate: {
|
|
857
857
|
$: "formNoValidate",
|
|
@@ -876,11 +876,11 @@ var Nn = [
|
|
|
876
876
|
TEXTAREA: 1
|
|
877
877
|
}
|
|
878
878
|
});
|
|
879
|
-
function
|
|
880
|
-
const n =
|
|
879
|
+
function kn(e, t) {
|
|
880
|
+
const n = In[e];
|
|
881
881
|
return typeof n == "object" ? n[t] ? n.$ : void 0 : n;
|
|
882
882
|
}
|
|
883
|
-
var
|
|
883
|
+
var _n = /* @__PURE__ */ new Set([
|
|
884
884
|
"beforeinput",
|
|
885
885
|
"click",
|
|
886
886
|
"dblclick",
|
|
@@ -903,7 +903,7 @@ var Ln = /* @__PURE__ */ new Set([
|
|
|
903
903
|
"touchend",
|
|
904
904
|
"touchmove",
|
|
905
905
|
"touchstart"
|
|
906
|
-
]),
|
|
906
|
+
]), Ln = /* @__PURE__ */ new Set([
|
|
907
907
|
"altGlyph",
|
|
908
908
|
"altGlyphDef",
|
|
909
909
|
"altGlyphItem",
|
|
@@ -980,11 +980,11 @@ var Ln = /* @__PURE__ */ new Set([
|
|
|
980
980
|
"use",
|
|
981
981
|
"view",
|
|
982
982
|
"vkern"
|
|
983
|
-
]),
|
|
983
|
+
]), Rn = {
|
|
984
984
|
xlink: "http://www.w3.org/1999/xlink",
|
|
985
985
|
xml: "http://www.w3.org/XML/1998/namespace"
|
|
986
986
|
};
|
|
987
|
-
function
|
|
987
|
+
function Mn(e, t, n) {
|
|
988
988
|
let r = n.length, i = t.length, s = r, o = 0, a = 0, u = t[i - 1].nextSibling, f = null;
|
|
989
989
|
for (; o < i || a < s; ) {
|
|
990
990
|
if (t[o] === n[a]) {
|
|
@@ -1013,8 +1013,8 @@ function Vn(e, t, n) {
|
|
|
1013
1013
|
const l = f.get(t[o]);
|
|
1014
1014
|
if (l != null)
|
|
1015
1015
|
if (a < l && l < s) {
|
|
1016
|
-
let c = o, d = 1,
|
|
1017
|
-
for (; ++c < i && c < s && !((
|
|
1016
|
+
let c = o, d = 1, m;
|
|
1017
|
+
for (; ++c < i && c < s && !((m = f.get(t[c])) == null || m !== l + d); )
|
|
1018
1018
|
d++;
|
|
1019
1019
|
if (d > l - a) {
|
|
1020
1020
|
const w = t[o];
|
|
@@ -1030,9 +1030,9 @@ function Vn(e, t, n) {
|
|
|
1030
1030
|
}
|
|
1031
1031
|
}
|
|
1032
1032
|
var st = "_$DX_DELEGATE";
|
|
1033
|
-
function
|
|
1033
|
+
function Vn(e, t, n, r = {}) {
|
|
1034
1034
|
let i;
|
|
1035
|
-
return
|
|
1035
|
+
return z((s) => {
|
|
1036
1036
|
i = s, t === document ? e() : ze(t, e(), t.firstChild ? null : void 0, n);
|
|
1037
1037
|
}, r.owner), () => {
|
|
1038
1038
|
i(), t.textContent = "";
|
|
@@ -1043,14 +1043,14 @@ function Yr(e, t, n) {
|
|
|
1043
1043
|
const i = () => {
|
|
1044
1044
|
const o = document.createElement("template");
|
|
1045
1045
|
return o.innerHTML = e, n ? o.content.firstChild.firstChild : o.content.firstChild;
|
|
1046
|
-
}, s = t ? () =>
|
|
1046
|
+
}, s = t ? () => E(() => document.importNode(r || (r = i()), !0)) : () => (r || (r = i())).cloneNode(!0);
|
|
1047
1047
|
return s.cloneNode = s, s;
|
|
1048
1048
|
}
|
|
1049
|
-
function
|
|
1049
|
+
function $n(e, t = window.document) {
|
|
1050
1050
|
const n = t[st] || (t[st] = /* @__PURE__ */ new Set());
|
|
1051
1051
|
for (let r = 0, i = e.length; r < i; r++) {
|
|
1052
1052
|
const s = e[r];
|
|
1053
|
-
n.has(s) || (n.add(s), t.addEventListener(s,
|
|
1053
|
+
n.has(s) || (n.add(s), t.addEventListener(s, Hn));
|
|
1054
1054
|
}
|
|
1055
1055
|
}
|
|
1056
1056
|
function Ke(e, t, n) {
|
|
@@ -1062,7 +1062,7 @@ function Bn(e, t, n, r) {
|
|
|
1062
1062
|
function Un(e, t) {
|
|
1063
1063
|
h.context || (t == null ? e.removeAttribute("class") : e.className = t);
|
|
1064
1064
|
}
|
|
1065
|
-
function
|
|
1065
|
+
function jn(e, t, n, r) {
|
|
1066
1066
|
if (r)
|
|
1067
1067
|
Array.isArray(n) ? (e[`$$${t}`] = n[0], e[`$$${t}Data`] = n[1]) : e[`$$${t}`] = n;
|
|
1068
1068
|
else if (Array.isArray(n)) {
|
|
@@ -1071,7 +1071,7 @@ function Dn(e, t, n, r) {
|
|
|
1071
1071
|
} else
|
|
1072
1072
|
e.addEventListener(t, n);
|
|
1073
1073
|
}
|
|
1074
|
-
function
|
|
1074
|
+
function Dn(e, t, n = {}) {
|
|
1075
1075
|
const r = Object.keys(t || {}), i = Object.keys(n);
|
|
1076
1076
|
let s, o;
|
|
1077
1077
|
for (s = 0, o = i.length; s < o; s++) {
|
|
@@ -1084,7 +1084,7 @@ function qn(e, t, n = {}) {
|
|
|
1084
1084
|
}
|
|
1085
1085
|
return n;
|
|
1086
1086
|
}
|
|
1087
|
-
function
|
|
1087
|
+
function qn(e, t, n) {
|
|
1088
1088
|
if (!t)
|
|
1089
1089
|
return n ? Ke(e, "style") : t;
|
|
1090
1090
|
const r = e.style;
|
|
@@ -1098,21 +1098,21 @@ function Fn(e, t, n) {
|
|
|
1098
1098
|
i = t[s], i !== n[s] && (r.setProperty(s, i), n[s] = i);
|
|
1099
1099
|
return n;
|
|
1100
1100
|
}
|
|
1101
|
-
function
|
|
1101
|
+
function Fn(e, t = {}, n, r) {
|
|
1102
1102
|
const i = {};
|
|
1103
|
-
return r ||
|
|
1103
|
+
return r || G(
|
|
1104
1104
|
() => i.children = ie(e, t.children, i.children)
|
|
1105
|
-
),
|
|
1105
|
+
), G(() => t.ref && t.ref(e)), G(() => Kn(e, t, n, !0, i, !0)), i;
|
|
1106
1106
|
}
|
|
1107
1107
|
function Wr(e, t, n) {
|
|
1108
|
-
return
|
|
1108
|
+
return E(() => e(t, n));
|
|
1109
1109
|
}
|
|
1110
1110
|
function ze(e, t, n, r) {
|
|
1111
1111
|
if (n !== void 0 && !r && (r = []), typeof t != "function")
|
|
1112
1112
|
return ie(e, t, r, n);
|
|
1113
|
-
|
|
1113
|
+
G((i) => ie(e, t(), i, n), r);
|
|
1114
1114
|
}
|
|
1115
|
-
function
|
|
1115
|
+
function Kn(e, t, n, r, i = {}, s = !1) {
|
|
1116
1116
|
t || (t = {});
|
|
1117
1117
|
for (const o in i)
|
|
1118
1118
|
if (!(o in t)) {
|
|
@@ -1129,11 +1129,11 @@ function zn(e, t, n, r, i = {}, s = !1) {
|
|
|
1129
1129
|
i[o] = at(e, o, a, i[o], n, s);
|
|
1130
1130
|
}
|
|
1131
1131
|
}
|
|
1132
|
-
function
|
|
1132
|
+
function zn(e) {
|
|
1133
1133
|
let t, n;
|
|
1134
|
-
return !h.context || !(t = h.registry.get(n =
|
|
1134
|
+
return !h.context || !(t = h.registry.get(n = Qn())) ? e() : (h.completed && h.completed.add(t), h.registry.delete(n), t);
|
|
1135
1135
|
}
|
|
1136
|
-
function
|
|
1136
|
+
function Gn(e) {
|
|
1137
1137
|
return e.toLowerCase().replace(/-([a-z])/g, (t, n) => n.toUpperCase());
|
|
1138
1138
|
}
|
|
1139
1139
|
function ot(e, t, n) {
|
|
@@ -1144,9 +1144,9 @@ function ot(e, t, n) {
|
|
|
1144
1144
|
function at(e, t, n, r, i, s) {
|
|
1145
1145
|
let o, a, u, f, l;
|
|
1146
1146
|
if (t === "style")
|
|
1147
|
-
return Fn(e, n, r);
|
|
1148
|
-
if (t === "classList")
|
|
1149
1147
|
return qn(e, n, r);
|
|
1148
|
+
if (t === "classList")
|
|
1149
|
+
return Dn(e, n, r);
|
|
1150
1150
|
if (n === r)
|
|
1151
1151
|
return r;
|
|
1152
1152
|
if (t === "ref")
|
|
@@ -1158,27 +1158,27 @@ function at(e, t, n, r, i, s) {
|
|
|
1158
1158
|
const c = t.slice(10);
|
|
1159
1159
|
r && e.removeEventListener(c, r, !0), n && e.addEventListener(c, n, !0);
|
|
1160
1160
|
} else if (t.slice(0, 2) === "on") {
|
|
1161
|
-
const c = t.slice(2).toLowerCase(), d =
|
|
1161
|
+
const c = t.slice(2).toLowerCase(), d = _n.has(c);
|
|
1162
1162
|
if (!d && r) {
|
|
1163
|
-
const
|
|
1164
|
-
e.removeEventListener(c,
|
|
1163
|
+
const m = Array.isArray(r) ? r[0] : r;
|
|
1164
|
+
e.removeEventListener(c, m);
|
|
1165
1165
|
}
|
|
1166
|
-
(d || n) && (
|
|
1166
|
+
(d || n) && (jn(e, c, n, d), d && $n([c]));
|
|
1167
1167
|
} else if (t.slice(0, 5) === "attr:")
|
|
1168
1168
|
Ke(e, t.slice(5), n);
|
|
1169
|
-
else if ((l = t.slice(0, 5) === "prop:") || (u =
|
|
1169
|
+
else if ((l = t.slice(0, 5) === "prop:") || (u = Pn.has(t)) || !i && ((f = kn(t, e.tagName)) || (a = Nn.has(t))) || (o = e.nodeName.includes("-"))) {
|
|
1170
1170
|
if (l)
|
|
1171
1171
|
t = t.slice(5), a = !0;
|
|
1172
1172
|
else if (h.context)
|
|
1173
1173
|
return n;
|
|
1174
|
-
t === "class" || t === "className" ? Un(e, n) : o && !a && !u ? e[
|
|
1174
|
+
t === "class" || t === "className" ? Un(e, n) : o && !a && !u ? e[Gn(t)] = n : e[f || t] = n;
|
|
1175
1175
|
} else {
|
|
1176
|
-
const c = i && t.indexOf(":") > -1 &&
|
|
1177
|
-
c ? Bn(e, c, t, n) : Ke(e,
|
|
1176
|
+
const c = i && t.indexOf(":") > -1 && Rn[t.split(":")[0]];
|
|
1177
|
+
c ? Bn(e, c, t, n) : Ke(e, Tn[t] || t, n);
|
|
1178
1178
|
}
|
|
1179
1179
|
return n;
|
|
1180
1180
|
}
|
|
1181
|
-
function
|
|
1181
|
+
function Hn(e) {
|
|
1182
1182
|
const t = `$$${e.type}`;
|
|
1183
1183
|
let n = e.composedPath && e.composedPath()[0] || e.target;
|
|
1184
1184
|
for (e.target !== n && Object.defineProperty(e, "target", {
|
|
@@ -1228,7 +1228,7 @@ function ie(e, t, n, r, i) {
|
|
|
1228
1228
|
n = Q(e, n, r);
|
|
1229
1229
|
} else {
|
|
1230
1230
|
if (s === "function")
|
|
1231
|
-
return
|
|
1231
|
+
return G(() => {
|
|
1232
1232
|
let a = t();
|
|
1233
1233
|
for (; typeof a == "function"; )
|
|
1234
1234
|
a = a();
|
|
@@ -1237,7 +1237,7 @@ function ie(e, t, n, r, i) {
|
|
|
1237
1237
|
if (Array.isArray(t)) {
|
|
1238
1238
|
const a = [], u = n && Array.isArray(n);
|
|
1239
1239
|
if (Ge(a, t, n, i))
|
|
1240
|
-
return
|
|
1240
|
+
return G(() => n = ie(e, a, n, r, !0)), () => n;
|
|
1241
1241
|
if (h.context) {
|
|
1242
1242
|
if (!a.length)
|
|
1243
1243
|
return n;
|
|
@@ -1252,7 +1252,7 @@ function ie(e, t, n, r, i) {
|
|
|
1252
1252
|
if (n = Q(e, n, r), o)
|
|
1253
1253
|
return n;
|
|
1254
1254
|
} else
|
|
1255
|
-
u ? n.length === 0 ? ut(e, a, r) :
|
|
1255
|
+
u ? n.length === 0 ? ut(e, a, r) : Mn(e, n, a) : (n && Q(e), ut(e, a));
|
|
1256
1256
|
n = a;
|
|
1257
1257
|
} else if (t.nodeType) {
|
|
1258
1258
|
if (h.context && t.parentNode)
|
|
@@ -1317,26 +1317,26 @@ function Q(e, t, n, r) {
|
|
|
1317
1317
|
e.insertBefore(i, n);
|
|
1318
1318
|
return [i];
|
|
1319
1319
|
}
|
|
1320
|
-
function
|
|
1320
|
+
function Qn() {
|
|
1321
1321
|
const e = h.context;
|
|
1322
1322
|
return `${e.id}${e.count++}`;
|
|
1323
1323
|
}
|
|
1324
|
-
var
|
|
1325
|
-
function
|
|
1326
|
-
return t ? document.createElementNS(
|
|
1324
|
+
var Xn = "http://www.w3.org/2000/svg";
|
|
1325
|
+
function Ct(e, t = !1) {
|
|
1326
|
+
return t ? document.createElementNS(Xn, e) : document.createElement(e);
|
|
1327
1327
|
}
|
|
1328
1328
|
function Zr(e) {
|
|
1329
1329
|
const { useShadow: t } = e, n = document.createTextNode(""), r = () => e.mount || document.body, i = it();
|
|
1330
1330
|
let s, o = !!h.context;
|
|
1331
|
-
return
|
|
1331
|
+
return pt(
|
|
1332
1332
|
() => {
|
|
1333
|
-
o && (it().user = o = !1), s || (s =
|
|
1333
|
+
o && (it().user = o = !1), s || (s = cn(i, () => k(() => e.children)));
|
|
1334
1334
|
const a = r();
|
|
1335
1335
|
if (a instanceof HTMLHeadElement) {
|
|
1336
|
-
const [u, f] =
|
|
1337
|
-
|
|
1336
|
+
const [u, f] = P(!1), l = () => f(!0);
|
|
1337
|
+
z((c) => ze(a, () => u() ? c() : s(), null)), le(l);
|
|
1338
1338
|
} else {
|
|
1339
|
-
const u =
|
|
1339
|
+
const u = Ct(e.isSVG ? "g" : "div", e.isSVG), f = t && u.attachShadow ? u.attachShadow({
|
|
1340
1340
|
mode: "open"
|
|
1341
1341
|
}) : u;
|
|
1342
1342
|
Object.defineProperty(u, "_$host", {
|
|
@@ -1354,19 +1354,19 @@ function Zr(e) {
|
|
|
1354
1354
|
), n;
|
|
1355
1355
|
}
|
|
1356
1356
|
function Jr(e) {
|
|
1357
|
-
const [t, n] =
|
|
1358
|
-
return
|
|
1357
|
+
const [t, n] = En(e, ["component"]), r = k(() => t.component);
|
|
1358
|
+
return k(() => {
|
|
1359
1359
|
const i = r();
|
|
1360
1360
|
switch (typeof i) {
|
|
1361
1361
|
case "function":
|
|
1362
|
-
return
|
|
1362
|
+
return E(() => i(n));
|
|
1363
1363
|
case "string":
|
|
1364
|
-
const s =
|
|
1365
|
-
return
|
|
1364
|
+
const s = Ln.has(i), o = h.context ? zn() : Ct(i, s);
|
|
1365
|
+
return Fn(o, n, s), o;
|
|
1366
1366
|
}
|
|
1367
1367
|
});
|
|
1368
1368
|
}
|
|
1369
|
-
var
|
|
1369
|
+
var Yn = (
|
|
1370
1370
|
/** @class */
|
|
1371
1371
|
function() {
|
|
1372
1372
|
function e() {
|
|
@@ -1382,11 +1382,11 @@ var Wn = (
|
|
|
1382
1382
|
this.keyToValue.clear(), this.valueToKey.clear();
|
|
1383
1383
|
}, e;
|
|
1384
1384
|
}()
|
|
1385
|
-
),
|
|
1385
|
+
), Nt = (
|
|
1386
1386
|
/** @class */
|
|
1387
1387
|
function() {
|
|
1388
1388
|
function e(t) {
|
|
1389
|
-
this.generateIdentifier = t, this.kv = new
|
|
1389
|
+
this.generateIdentifier = t, this.kv = new Yn();
|
|
1390
1390
|
}
|
|
1391
1391
|
return e.prototype.register = function(t, n) {
|
|
1392
1392
|
this.kv.getByValue(t) || (n || (n = this.generateIdentifier(t)), this.kv.set(n, t));
|
|
@@ -1398,7 +1398,7 @@ var Wn = (
|
|
|
1398
1398
|
return this.kv.getByKey(t);
|
|
1399
1399
|
}, e;
|
|
1400
1400
|
}()
|
|
1401
|
-
),
|
|
1401
|
+
), Wn = function() {
|
|
1402
1402
|
var e = function(t, n) {
|
|
1403
1403
|
return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
|
|
1404
1404
|
r.__proto__ = i;
|
|
@@ -1416,10 +1416,10 @@ var Wn = (
|
|
|
1416
1416
|
}
|
|
1417
1417
|
t.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
|
|
1418
1418
|
};
|
|
1419
|
-
}(),
|
|
1419
|
+
}(), Zn = (
|
|
1420
1420
|
/** @class */
|
|
1421
1421
|
function(e) {
|
|
1422
|
-
|
|
1422
|
+
Wn(t, e);
|
|
1423
1423
|
function t() {
|
|
1424
1424
|
var n = e.call(this, function(r) {
|
|
1425
1425
|
return r.name;
|
|
@@ -1431,8 +1431,8 @@ var Wn = (
|
|
|
1431
1431
|
}, t.prototype.getAllowedProps = function(n) {
|
|
1432
1432
|
return this.classToAllowedProps.get(n);
|
|
1433
1433
|
}, t;
|
|
1434
|
-
}(
|
|
1435
|
-
),
|
|
1434
|
+
}(Nt)
|
|
1435
|
+
), Jn = function(e, t) {
|
|
1436
1436
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
1437
1437
|
if (!n)
|
|
1438
1438
|
return e;
|
|
@@ -1452,7 +1452,7 @@ var Wn = (
|
|
|
1452
1452
|
}
|
|
1453
1453
|
return s;
|
|
1454
1454
|
};
|
|
1455
|
-
function
|
|
1455
|
+
function er(e) {
|
|
1456
1456
|
if ("values" in Object)
|
|
1457
1457
|
return Object.values(e);
|
|
1458
1458
|
var t = [];
|
|
@@ -1460,8 +1460,8 @@ function tr(e) {
|
|
|
1460
1460
|
e.hasOwnProperty(n) && t.push(e[n]);
|
|
1461
1461
|
return t;
|
|
1462
1462
|
}
|
|
1463
|
-
function
|
|
1464
|
-
var n =
|
|
1463
|
+
function tr(e, t) {
|
|
1464
|
+
var n = er(e);
|
|
1465
1465
|
if ("find" in n)
|
|
1466
1466
|
return n.find(t);
|
|
1467
1467
|
for (var r = n, i = 0; i < r.length; i++) {
|
|
@@ -1472,7 +1472,7 @@ function nr(e, t) {
|
|
|
1472
1472
|
}
|
|
1473
1473
|
function se(e, t) {
|
|
1474
1474
|
Object.entries(e).forEach(function(n) {
|
|
1475
|
-
var r =
|
|
1475
|
+
var r = Jn(n, 2), i = r[0], s = r[1];
|
|
1476
1476
|
return t(s, i);
|
|
1477
1477
|
});
|
|
1478
1478
|
}
|
|
@@ -1486,7 +1486,7 @@ function lt(e, t) {
|
|
|
1486
1486
|
return r;
|
|
1487
1487
|
}
|
|
1488
1488
|
}
|
|
1489
|
-
var
|
|
1489
|
+
var nr = (
|
|
1490
1490
|
/** @class */
|
|
1491
1491
|
function() {
|
|
1492
1492
|
function e() {
|
|
@@ -1495,47 +1495,47 @@ var rr = (
|
|
|
1495
1495
|
return e.prototype.register = function(t) {
|
|
1496
1496
|
this.transfomers[t.name] = t;
|
|
1497
1497
|
}, e.prototype.findApplicable = function(t) {
|
|
1498
|
-
return
|
|
1498
|
+
return tr(this.transfomers, function(n) {
|
|
1499
1499
|
return n.isApplicable(t);
|
|
1500
1500
|
});
|
|
1501
1501
|
}, e.prototype.findByName = function(t) {
|
|
1502
1502
|
return this.transfomers[t];
|
|
1503
1503
|
}, e;
|
|
1504
1504
|
}()
|
|
1505
|
-
),
|
|
1505
|
+
), rr = function(e) {
|
|
1506
1506
|
return Object.prototype.toString.call(e).slice(8, -1);
|
|
1507
|
-
},
|
|
1507
|
+
}, Pt = function(e) {
|
|
1508
1508
|
return typeof e > "u";
|
|
1509
|
-
},
|
|
1509
|
+
}, ir = function(e) {
|
|
1510
1510
|
return e === null;
|
|
1511
1511
|
}, fe = function(e) {
|
|
1512
1512
|
return typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype;
|
|
1513
1513
|
}, He = function(e) {
|
|
1514
1514
|
return fe(e) && Object.keys(e).length === 0;
|
|
1515
|
-
},
|
|
1515
|
+
}, q = function(e) {
|
|
1516
1516
|
return Array.isArray(e);
|
|
1517
|
-
},
|
|
1517
|
+
}, sr = function(e) {
|
|
1518
1518
|
return typeof e == "string";
|
|
1519
|
-
},
|
|
1519
|
+
}, or = function(e) {
|
|
1520
1520
|
return typeof e == "number" && !isNaN(e);
|
|
1521
|
-
},
|
|
1521
|
+
}, ar = function(e) {
|
|
1522
1522
|
return typeof e == "boolean";
|
|
1523
|
-
},
|
|
1523
|
+
}, ur = function(e) {
|
|
1524
1524
|
return e instanceof RegExp;
|
|
1525
1525
|
}, ce = function(e) {
|
|
1526
1526
|
return e instanceof Map;
|
|
1527
1527
|
}, de = function(e) {
|
|
1528
1528
|
return e instanceof Set;
|
|
1529
|
-
},
|
|
1530
|
-
return
|
|
1531
|
-
},
|
|
1529
|
+
}, Tt = function(e) {
|
|
1530
|
+
return rr(e) === "Symbol";
|
|
1531
|
+
}, lr = function(e) {
|
|
1532
1532
|
return e instanceof Date && !isNaN(e.valueOf());
|
|
1533
|
-
},
|
|
1533
|
+
}, fr = function(e) {
|
|
1534
1534
|
return e instanceof Error;
|
|
1535
1535
|
}, ft = function(e) {
|
|
1536
1536
|
return typeof e == "number" && isNaN(e);
|
|
1537
|
-
},
|
|
1538
|
-
return
|
|
1537
|
+
}, cr = function(e) {
|
|
1538
|
+
return ar(e) || ir(e) || Pt(e) || or(e) || sr(e) || Tt(e);
|
|
1539
1539
|
}, dr = function(e) {
|
|
1540
1540
|
return typeof e == "bigint";
|
|
1541
1541
|
}, hr = function(e) {
|
|
@@ -1544,10 +1544,10 @@ var rr = (
|
|
|
1544
1544
|
return ArrayBuffer.isView(e) && !(e instanceof DataView);
|
|
1545
1545
|
}, gr = function(e) {
|
|
1546
1546
|
return e instanceof URL;
|
|
1547
|
-
},
|
|
1547
|
+
}, It = function(e) {
|
|
1548
1548
|
return e.replace(/\./g, "\\.");
|
|
1549
|
-
},
|
|
1550
|
-
return e.map(String).map(
|
|
1549
|
+
}, je = function(e) {
|
|
1550
|
+
return e.map(String).map(It).join(".");
|
|
1551
1551
|
}, ue = function(e) {
|
|
1552
1552
|
for (var t = [], n = "", r = 0; r < e.length; r++) {
|
|
1553
1553
|
var i = e.charAt(r), s = i === "\\" && e.charAt(r + 1) === ".";
|
|
@@ -1605,8 +1605,8 @@ function L(e, t, n, r) {
|
|
|
1605
1605
|
untransform: r
|
|
1606
1606
|
};
|
|
1607
1607
|
}
|
|
1608
|
-
var
|
|
1609
|
-
L(
|
|
1608
|
+
var kt = [
|
|
1609
|
+
L(Pt, "undefined", function() {
|
|
1610
1610
|
return null;
|
|
1611
1611
|
}, function() {
|
|
1612
1612
|
}),
|
|
@@ -1615,12 +1615,12 @@ var _t = [
|
|
|
1615
1615
|
}, function(e) {
|
|
1616
1616
|
return typeof BigInt < "u" ? BigInt(e) : e;
|
|
1617
1617
|
}),
|
|
1618
|
-
L(
|
|
1618
|
+
L(lr, "Date", function(e) {
|
|
1619
1619
|
return e.toISOString();
|
|
1620
1620
|
}, function(e) {
|
|
1621
1621
|
return new Date(e);
|
|
1622
1622
|
}),
|
|
1623
|
-
L(
|
|
1623
|
+
L(fr, "Error", function(e, t) {
|
|
1624
1624
|
var n = {
|
|
1625
1625
|
name: e.name,
|
|
1626
1626
|
message: e.message
|
|
@@ -1634,7 +1634,7 @@ var _t = [
|
|
|
1634
1634
|
n[r] = e[r];
|
|
1635
1635
|
}), n;
|
|
1636
1636
|
}),
|
|
1637
|
-
L(
|
|
1637
|
+
L(ur, "regexp", function(e) {
|
|
1638
1638
|
return "" + e;
|
|
1639
1639
|
}, function(e) {
|
|
1640
1640
|
var t = e.slice(1, e.lastIndexOf("/")), n = e.slice(e.lastIndexOf("/") + 1);
|
|
@@ -1681,8 +1681,8 @@ function Le(e, t, n, r) {
|
|
|
1681
1681
|
untransform: r
|
|
1682
1682
|
};
|
|
1683
1683
|
}
|
|
1684
|
-
var
|
|
1685
|
-
if (
|
|
1684
|
+
var _t = Le(function(e, t) {
|
|
1685
|
+
if (Tt(e)) {
|
|
1686
1686
|
var n = !!t.symbolRegistry.getIdentifier(e);
|
|
1687
1687
|
return n;
|
|
1688
1688
|
}
|
|
@@ -1709,7 +1709,7 @@ var Lt = Le(function(e, t) {
|
|
|
1709
1709
|
Uint8ClampedArray
|
|
1710
1710
|
].reduce(function(e, t) {
|
|
1711
1711
|
return e[t.name] = t, e;
|
|
1712
|
-
}, {}),
|
|
1712
|
+
}, {}), Lt = Le(yr, function(e) {
|
|
1713
1713
|
return ["typed-array", e.constructor.name];
|
|
1714
1714
|
}, function(e) {
|
|
1715
1715
|
return Ye([], Xe(e));
|
|
@@ -1719,14 +1719,14 @@ var Lt = Le(function(e, t) {
|
|
|
1719
1719
|
throw new Error("Trying to deserialize unknown typed array");
|
|
1720
1720
|
return new n(e);
|
|
1721
1721
|
});
|
|
1722
|
-
function
|
|
1722
|
+
function Rt(e, t) {
|
|
1723
1723
|
if (e != null && e.constructor) {
|
|
1724
1724
|
var n = !!t.classRegistry.getIdentifier(e.constructor);
|
|
1725
1725
|
return n;
|
|
1726
1726
|
}
|
|
1727
1727
|
return !1;
|
|
1728
1728
|
}
|
|
1729
|
-
var
|
|
1729
|
+
var Mt = Le(Rt, function(e, t) {
|
|
1730
1730
|
var n = t.classRegistry.getIdentifier(e.constructor);
|
|
1731
1731
|
return ["class", n];
|
|
1732
1732
|
}, function(e, t) {
|
|
@@ -1742,7 +1742,7 @@ var Vt = Le(Mt, function(e, t) {
|
|
|
1742
1742
|
if (!r)
|
|
1743
1743
|
throw new Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");
|
|
1744
1744
|
return Object.assign(Object.create(r.prototype), e);
|
|
1745
|
-
}),
|
|
1745
|
+
}), Vt = Le(function(e, t) {
|
|
1746
1746
|
return !!t.customTransformerRegistry.findApplicable(e);
|
|
1747
1747
|
}, function(e, t) {
|
|
1748
1748
|
var n = t.customTransformerRegistry.findApplicable(e);
|
|
@@ -1755,7 +1755,7 @@ var Vt = Le(Mt, function(e, t) {
|
|
|
1755
1755
|
if (!r)
|
|
1756
1756
|
throw new Error("Trying to deserialize unknown custom value");
|
|
1757
1757
|
return r.deserialize(e);
|
|
1758
|
-
}), mr = [
|
|
1758
|
+
}), mr = [Mt, _t, Vt, Lt], ct = function(e, t) {
|
|
1759
1759
|
var n = lt(mr, function(i) {
|
|
1760
1760
|
return i.isApplicable(e, t);
|
|
1761
1761
|
});
|
|
@@ -1764,7 +1764,7 @@ var Vt = Le(Mt, function(e, t) {
|
|
|
1764
1764
|
value: n.transform(e, t),
|
|
1765
1765
|
type: n.annotation(e, t)
|
|
1766
1766
|
};
|
|
1767
|
-
var r = lt(
|
|
1767
|
+
var r = lt(kt, function(i) {
|
|
1768
1768
|
return i.isApplicable(e, t);
|
|
1769
1769
|
});
|
|
1770
1770
|
if (r)
|
|
@@ -1772,26 +1772,26 @@ var Vt = Le(Mt, function(e, t) {
|
|
|
1772
1772
|
value: r.transform(e, t),
|
|
1773
1773
|
type: r.annotation
|
|
1774
1774
|
};
|
|
1775
|
-
},
|
|
1776
|
-
|
|
1777
|
-
|
|
1775
|
+
}, $t = {};
|
|
1776
|
+
kt.forEach(function(e) {
|
|
1777
|
+
$t[e.annotation] = e;
|
|
1778
1778
|
});
|
|
1779
1779
|
var pr = function(e, t, n) {
|
|
1780
|
-
if (
|
|
1780
|
+
if (q(t))
|
|
1781
1781
|
switch (t[0]) {
|
|
1782
1782
|
case "symbol":
|
|
1783
|
-
return
|
|
1783
|
+
return _t.untransform(e, t, n);
|
|
1784
1784
|
case "class":
|
|
1785
|
-
return
|
|
1785
|
+
return Mt.untransform(e, t, n);
|
|
1786
1786
|
case "custom":
|
|
1787
|
-
return
|
|
1787
|
+
return Vt.untransform(e, t, n);
|
|
1788
1788
|
case "typed-array":
|
|
1789
|
-
return
|
|
1789
|
+
return Lt.untransform(e, t, n);
|
|
1790
1790
|
default:
|
|
1791
1791
|
throw new Error("Unknown transformation: " + t);
|
|
1792
1792
|
}
|
|
1793
1793
|
else {
|
|
1794
|
-
var r =
|
|
1794
|
+
var r = $t[t];
|
|
1795
1795
|
if (!r)
|
|
1796
1796
|
throw new Error("Unknown transformation: " + t);
|
|
1797
1797
|
return r.untransform(e, n);
|
|
@@ -1834,7 +1834,7 @@ var wr = function(e, t) {
|
|
|
1834
1834
|
return n(e);
|
|
1835
1835
|
for (var r = e, i = 0; i < t.length - 1; i++) {
|
|
1836
1836
|
var s = t[i];
|
|
1837
|
-
if (
|
|
1837
|
+
if (q(r)) {
|
|
1838
1838
|
var o = +s;
|
|
1839
1839
|
r = r[o];
|
|
1840
1840
|
} else if (fe(r))
|
|
@@ -1858,16 +1858,16 @@ var wr = function(e, t) {
|
|
|
1858
1858
|
}
|
|
1859
1859
|
}
|
|
1860
1860
|
var c = t[t.length - 1];
|
|
1861
|
-
if (
|
|
1862
|
-
var d = X(r, +c),
|
|
1863
|
-
d !==
|
|
1861
|
+
if (q(r) ? r[+c] = n(r[+c]) : fe(r) && (r[c] = n(r[c])), de(r)) {
|
|
1862
|
+
var d = X(r, +c), m = n(d);
|
|
1863
|
+
d !== m && (r.delete(d), r.add(m));
|
|
1864
1864
|
}
|
|
1865
1865
|
if (ce(r)) {
|
|
1866
1866
|
var a = +t[t.length - 2], w = X(r, a), f = +c == 0 ? "key" : "value";
|
|
1867
1867
|
switch (f) {
|
|
1868
1868
|
case "key": {
|
|
1869
|
-
var
|
|
1870
|
-
r.set(
|
|
1869
|
+
var A = n(w);
|
|
1870
|
+
r.set(A, r.get(w)), A !== w && r.delete(w);
|
|
1871
1871
|
break;
|
|
1872
1872
|
}
|
|
1873
1873
|
case "value": {
|
|
@@ -1877,7 +1877,7 @@ var wr = function(e, t) {
|
|
|
1877
1877
|
}
|
|
1878
1878
|
}
|
|
1879
1879
|
return e;
|
|
1880
|
-
},
|
|
1880
|
+
}, V = function(e, t) {
|
|
1881
1881
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
1882
1882
|
if (!n)
|
|
1883
1883
|
return e;
|
|
@@ -1896,22 +1896,22 @@ var wr = function(e, t) {
|
|
|
1896
1896
|
}
|
|
1897
1897
|
}
|
|
1898
1898
|
return s;
|
|
1899
|
-
},
|
|
1899
|
+
}, D = function(e, t) {
|
|
1900
1900
|
for (var n = 0, r = t.length, i = e.length; n < r; n++, i++)
|
|
1901
1901
|
e[i] = t[n];
|
|
1902
1902
|
return e;
|
|
1903
1903
|
};
|
|
1904
1904
|
function Ze(e, t, n) {
|
|
1905
1905
|
if (n === void 0 && (n = []), !!e) {
|
|
1906
|
-
if (!
|
|
1906
|
+
if (!q(e)) {
|
|
1907
1907
|
se(e, function(o, a) {
|
|
1908
|
-
return Ze(o, t,
|
|
1908
|
+
return Ze(o, t, D(D([], V(n)), V(ue(a))));
|
|
1909
1909
|
});
|
|
1910
1910
|
return;
|
|
1911
1911
|
}
|
|
1912
|
-
var r =
|
|
1912
|
+
var r = V(e, 2), i = r[0], s = r[1];
|
|
1913
1913
|
s && se(s, function(o, a) {
|
|
1914
|
-
Ze(o, t,
|
|
1914
|
+
Ze(o, t, D(D([], V(n)), V(ue(a))));
|
|
1915
1915
|
}), t(i, n);
|
|
1916
1916
|
}
|
|
1917
1917
|
}
|
|
@@ -1931,8 +1931,8 @@ function Sr(e, t) {
|
|
|
1931
1931
|
});
|
|
1932
1932
|
});
|
|
1933
1933
|
}
|
|
1934
|
-
if (
|
|
1935
|
-
var r =
|
|
1934
|
+
if (q(t)) {
|
|
1935
|
+
var r = V(t, 2), i = r[0], s = r[1];
|
|
1936
1936
|
i.forEach(function(o) {
|
|
1937
1937
|
e = We(e, ue(o), function() {
|
|
1938
1938
|
return e;
|
|
@@ -1943,67 +1943,78 @@ function Sr(e, t) {
|
|
|
1943
1943
|
return e;
|
|
1944
1944
|
}
|
|
1945
1945
|
var Ar = function(e, t) {
|
|
1946
|
-
return fe(e) ||
|
|
1946
|
+
return fe(e) || q(e) || ce(e) || de(e) || Rt(e, t);
|
|
1947
1947
|
};
|
|
1948
1948
|
function Er(e, t, n) {
|
|
1949
1949
|
var r = n.get(e);
|
|
1950
1950
|
r ? r.push(t) : n.set(e, [t]);
|
|
1951
1951
|
}
|
|
1952
|
-
function
|
|
1953
|
-
var
|
|
1954
|
-
return e.forEach(function(
|
|
1955
|
-
if (!(
|
|
1956
|
-
|
|
1957
|
-
return
|
|
1958
|
-
}).sort(function(
|
|
1959
|
-
return
|
|
1960
|
-
}))
|
|
1961
|
-
s
|
|
1952
|
+
function xr(e, t) {
|
|
1953
|
+
var n = {}, r = void 0;
|
|
1954
|
+
return e.forEach(function(i) {
|
|
1955
|
+
if (!(i.length <= 1)) {
|
|
1956
|
+
t || (i = i.map(function(u) {
|
|
1957
|
+
return u.map(String);
|
|
1958
|
+
}).sort(function(u, f) {
|
|
1959
|
+
return u.length - f.length;
|
|
1960
|
+
}));
|
|
1961
|
+
var s = V(i), o = s[0], a = s.slice(1);
|
|
1962
|
+
o.length === 0 ? r = a.map(je) : n[je(o)] = a.map(je);
|
|
1962
1963
|
}
|
|
1963
|
-
}),
|
|
1964
|
-
}
|
|
1965
|
-
var Ut = function(e, t, n, r, i) {
|
|
1966
|
-
var
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1964
|
+
}), r ? He(n) ? [r] : [r, n] : He(n) ? void 0 : n;
|
|
1965
|
+
}
|
|
1966
|
+
var Ut = function(e, t, n, r, i, s, o) {
|
|
1967
|
+
var a;
|
|
1968
|
+
i === void 0 && (i = []), s === void 0 && (s = []), o === void 0 && (o = /* @__PURE__ */ new Map());
|
|
1969
|
+
var u = cr(e);
|
|
1970
|
+
if (!u) {
|
|
1971
|
+
Er(e, i, t);
|
|
1972
|
+
var f = o.get(e);
|
|
1973
|
+
if (f)
|
|
1974
|
+
return r ? {
|
|
1975
|
+
transformedValue: null
|
|
1976
|
+
} : f;
|
|
1977
|
+
}
|
|
1978
|
+
if (!Ar(e, n)) {
|
|
1979
|
+
var l = ct(e, n), c = l ? {
|
|
1980
|
+
transformedValue: l.value,
|
|
1981
|
+
annotations: [l.type]
|
|
1972
1982
|
} : {
|
|
1973
1983
|
transformedValue: e
|
|
1974
1984
|
};
|
|
1985
|
+
return u || o.set(e, c), c;
|
|
1975
1986
|
}
|
|
1976
|
-
if (Ee(
|
|
1987
|
+
if (Ee(s, e))
|
|
1977
1988
|
return {
|
|
1978
1989
|
transformedValue: null
|
|
1979
1990
|
};
|
|
1980
|
-
var
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
f[d] = v.transformedValue, U(v.annotations) ? l[d] = v.annotations : fe(v.annotations) && se(v.annotations, function(w, C) {
|
|
1986
|
-
l[kt(d) + "." + C] = w;
|
|
1991
|
+
var d = ct(e, n), m = (a = d == null ? void 0 : d.value) !== null && a !== void 0 ? a : e, w = q(m) ? [] : {}, A = {};
|
|
1992
|
+
se(m, function(U, x) {
|
|
1993
|
+
var b = Ut(U, t, n, r, D(D([], V(i)), [x]), D(D([], V(s)), [e]), o);
|
|
1994
|
+
w[x] = b.transformedValue, q(b.annotations) ? A[x] = b.annotations : fe(b.annotations) && se(b.annotations, function(T, _) {
|
|
1995
|
+
A[It(x) + "." + _] = T;
|
|
1987
1996
|
});
|
|
1988
|
-
})
|
|
1989
|
-
|
|
1990
|
-
|
|
1997
|
+
});
|
|
1998
|
+
var M = He(A) ? {
|
|
1999
|
+
transformedValue: w,
|
|
2000
|
+
annotations: d ? [d.type] : void 0
|
|
1991
2001
|
} : {
|
|
1992
|
-
transformedValue:
|
|
1993
|
-
annotations:
|
|
2002
|
+
transformedValue: w,
|
|
2003
|
+
annotations: d ? [d.type, A] : A
|
|
1994
2004
|
};
|
|
2005
|
+
return u || o.set(e, M), M;
|
|
1995
2006
|
};
|
|
1996
|
-
function
|
|
2007
|
+
function jt(e) {
|
|
1997
2008
|
return Object.prototype.toString.call(e).slice(8, -1);
|
|
1998
2009
|
}
|
|
1999
|
-
function
|
|
2000
|
-
if (
|
|
2010
|
+
function Or(e) {
|
|
2011
|
+
if (jt(e) !== "Object")
|
|
2001
2012
|
return !1;
|
|
2002
2013
|
const t = Object.getPrototypeOf(e);
|
|
2003
2014
|
return !!t && t.constructor === Object && t === Object.prototype;
|
|
2004
2015
|
}
|
|
2005
|
-
function
|
|
2006
|
-
return
|
|
2016
|
+
function dt(e) {
|
|
2017
|
+
return jt(e) === "Array";
|
|
2007
2018
|
}
|
|
2008
2019
|
function Cr(e, t, n, r, i) {
|
|
2009
2020
|
const s = {}.propertyIsEnumerable.call(r, t) ? "enumerable" : "nonenumerable";
|
|
@@ -2015,27 +2026,27 @@ function Cr(e, t, n, r, i) {
|
|
|
2015
2026
|
});
|
|
2016
2027
|
}
|
|
2017
2028
|
function Je(e, t = {}) {
|
|
2018
|
-
if (
|
|
2029
|
+
if (dt(e))
|
|
2019
2030
|
return e.map((i) => Je(i, t));
|
|
2020
|
-
if (!
|
|
2031
|
+
if (!Or(e))
|
|
2021
2032
|
return e;
|
|
2022
2033
|
const n = Object.getOwnPropertyNames(e), r = Object.getOwnPropertySymbols(e);
|
|
2023
2034
|
return [...n, ...r].reduce((i, s) => {
|
|
2024
|
-
if (
|
|
2035
|
+
if (dt(t.props) && !t.props.includes(s))
|
|
2025
2036
|
return i;
|
|
2026
2037
|
const o = e[s], a = Je(o, t);
|
|
2027
2038
|
return Cr(i, s, a, e, t.nonenumerable), i;
|
|
2028
2039
|
}, {});
|
|
2029
2040
|
}
|
|
2030
|
-
var
|
|
2031
|
-
return
|
|
2041
|
+
var F = function() {
|
|
2042
|
+
return F = Object.assign || function(e) {
|
|
2032
2043
|
for (var t, n = 1, r = arguments.length; n < r; n++) {
|
|
2033
2044
|
t = arguments[n];
|
|
2034
2045
|
for (var i in t)
|
|
2035
2046
|
Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
|
|
2036
2047
|
}
|
|
2037
2048
|
return e;
|
|
2038
|
-
},
|
|
2049
|
+
}, F.apply(this, arguments);
|
|
2039
2050
|
}, Nr = function(e, t) {
|
|
2040
2051
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
2041
2052
|
if (!n)
|
|
@@ -2059,22 +2070,23 @@ var D = function() {
|
|
|
2059
2070
|
for (var n = 0, r = t.length, i = e.length; n < r; n++, i++)
|
|
2060
2071
|
e[i] = t[n];
|
|
2061
2072
|
return e;
|
|
2062
|
-
},
|
|
2073
|
+
}, Dt = (
|
|
2063
2074
|
/** @class */
|
|
2064
2075
|
function() {
|
|
2065
|
-
function e() {
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2076
|
+
function e(t) {
|
|
2077
|
+
var n = t === void 0 ? {} : t, r = n.dedupe, i = r === void 0 ? !1 : r;
|
|
2078
|
+
this.classRegistry = new Zn(), this.symbolRegistry = new Nt(function(s) {
|
|
2079
|
+
var o;
|
|
2080
|
+
return (o = s.description) !== null && o !== void 0 ? o : "";
|
|
2081
|
+
}), this.customTransformerRegistry = new nr(), this.allowedErrorProps = [], this.dedupe = i;
|
|
2070
2082
|
}
|
|
2071
2083
|
return e.prototype.serialize = function(t) {
|
|
2072
|
-
var n = /* @__PURE__ */ new Map(), r = Ut(t, n, this), i = {
|
|
2084
|
+
var n = /* @__PURE__ */ new Map(), r = Ut(t, n, this, this.dedupe), i = {
|
|
2073
2085
|
json: r.transformedValue
|
|
2074
2086
|
};
|
|
2075
|
-
r.annotations && (i.meta =
|
|
2076
|
-
var s =
|
|
2077
|
-
return s && (i.meta =
|
|
2087
|
+
r.annotations && (i.meta = F(F({}, i.meta), { values: r.annotations }));
|
|
2088
|
+
var s = xr(n, this.dedupe);
|
|
2089
|
+
return s && (i.meta = F(F({}, i.meta), { referentialEqualities: s })), i;
|
|
2078
2090
|
}, e.prototype.deserialize = function(t) {
|
|
2079
2091
|
var n = t.json, r = t.meta, i = Je(n);
|
|
2080
2092
|
return r != null && r.values && (i = br(i, r.values, this)), r != null && r.referentialEqualities && (i = Sr(i, r.referentialEqualities)), i;
|
|
@@ -2087,14 +2099,14 @@ var D = function() {
|
|
|
2087
2099
|
}, e.prototype.registerSymbol = function(t, n) {
|
|
2088
2100
|
this.symbolRegistry.register(t, n);
|
|
2089
2101
|
}, e.prototype.registerCustom = function(t, n) {
|
|
2090
|
-
this.customTransformerRegistry.register(
|
|
2102
|
+
this.customTransformerRegistry.register(F({ name: n }, t));
|
|
2091
2103
|
}, e.prototype.allowErrorProps = function() {
|
|
2092
2104
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
2093
2105
|
n[r] = arguments[r];
|
|
2094
2106
|
(t = this.allowedErrorProps).push.apply(t, Pr([], Nr(n)));
|
|
2095
2107
|
}, e.defaultInstance = new e(), e.serialize = e.defaultInstance.serialize.bind(e.defaultInstance), e.deserialize = e.defaultInstance.deserialize.bind(e.defaultInstance), e.stringify = e.defaultInstance.stringify.bind(e.defaultInstance), e.parse = e.defaultInstance.parse.bind(e.defaultInstance), e.registerClass = e.defaultInstance.registerClass.bind(e.defaultInstance), e.registerSymbol = e.defaultInstance.registerSymbol.bind(e.defaultInstance), e.registerCustom = e.defaultInstance.registerCustom.bind(e.defaultInstance), e.allowErrorProps = e.defaultInstance.allowErrorProps.bind(e.defaultInstance), e;
|
|
2096
2108
|
}()
|
|
2097
|
-
), Tr =
|
|
2109
|
+
), Tr = Dt.serialize, ei = Dt.stringify;
|
|
2098
2110
|
function ti(e) {
|
|
2099
2111
|
return e.state.fetchStatus === "fetching" ? "fetching" : e.getObserversCount() ? e.state.fetchStatus === "paused" ? "paused" : e.isStale() ? "stale" : "fresh" : "inactive";
|
|
2100
2112
|
}
|
|
@@ -2122,16 +2134,16 @@ var oi = (e, t = !1) => {
|
|
|
2122
2134
|
json: n
|
|
2123
2135
|
} = Tr(e);
|
|
2124
2136
|
return JSON.stringify(n, null, t ? 2 : void 0);
|
|
2125
|
-
}, we = (e) => e.state.fetchStatus !== "idle" ? 0 : e.getObserversCount() ? e.isStale() ? 2 : 1 : 3, Ir = (e, t) => e.queryHash.localeCompare(t.queryHash),
|
|
2137
|
+
}, we = (e) => e.state.fetchStatus !== "idle" ? 0 : e.getObserversCount() ? e.isStale() ? 2 : 1 : 3, Ir = (e, t) => e.queryHash.localeCompare(t.queryHash), qt = (e, t) => e.state.dataUpdatedAt < t.state.dataUpdatedAt ? 1 : -1, kr = (e, t) => we(e) === we(t) ? qt(e, t) : we(e) > we(t) ? 1 : -1, ai = {
|
|
2126
2138
|
status: kr,
|
|
2127
2139
|
"query hash": Ir,
|
|
2128
|
-
"last updated":
|
|
2129
|
-
}, be = (e) => e.state.isPaused ? 0 : e.state.status === "error" ? 2 : e.state.status === "pending" ? 1 : 3,
|
|
2140
|
+
"last updated": qt
|
|
2141
|
+
}, be = (e) => e.state.isPaused ? 0 : e.state.status === "error" ? 2 : e.state.status === "pending" ? 1 : 3, Ft = (e, t) => e.state.submittedAt < t.state.submittedAt ? 1 : -1, _r = (e, t) => be(e) === be(t) ? Ft(e, t) : be(e) > be(t) ? 1 : -1, ui = {
|
|
2130
2142
|
status: _r,
|
|
2131
|
-
"last updated":
|
|
2143
|
+
"last updated": Ft
|
|
2132
2144
|
}, li = (e) => e * parseFloat(getComputedStyle(document.documentElement).fontSize), fi = () => {
|
|
2133
|
-
const [e, t] =
|
|
2134
|
-
return
|
|
2145
|
+
const [e, t] = P("dark");
|
|
2146
|
+
return fn(() => {
|
|
2135
2147
|
const n = window.matchMedia("(prefers-color-scheme: dark)");
|
|
2136
2148
|
t(n.matches ? "dark" : "light");
|
|
2137
2149
|
const r = (i) => {
|
|
@@ -2204,20 +2216,20 @@ var oi = (e, t = !1) => {
|
|
|
2204
2216
|
return;
|
|
2205
2217
|
const n = document.createElement("style"), r = document.createTextNode("");
|
|
2206
2218
|
n.appendChild(r), n.id = "_goober", n.setAttribute("nonce", e), document.head.appendChild(n);
|
|
2207
|
-
}, Z, he, ye, ge,
|
|
2219
|
+
}, Z, he, ye, ge, K, ve, J, ee, te, ne, re, me, yt, Rr = (yt = class {
|
|
2208
2220
|
constructor(e) {
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
+
C(this, Z, void 0);
|
|
2222
|
+
C(this, he, void 0);
|
|
2223
|
+
C(this, ye, void 0);
|
|
2224
|
+
C(this, ge, void 0);
|
|
2225
|
+
C(this, K, !1);
|
|
2226
|
+
C(this, ve, void 0);
|
|
2227
|
+
C(this, J, void 0);
|
|
2228
|
+
C(this, ee, void 0);
|
|
2229
|
+
C(this, te, void 0);
|
|
2230
|
+
C(this, ne, void 0);
|
|
2231
|
+
C(this, re, void 0);
|
|
2232
|
+
C(this, me, void 0);
|
|
2221
2233
|
const {
|
|
2222
2234
|
client: t,
|
|
2223
2235
|
queryFlavor: n,
|
|
@@ -2229,40 +2241,40 @@ var oi = (e, t = !1) => {
|
|
|
2229
2241
|
errorTypes: u,
|
|
2230
2242
|
styleNonce: f
|
|
2231
2243
|
} = e;
|
|
2232
|
-
|
|
2244
|
+
S(this, Z, P(t)), S(this, ye, n), S(this, ge, r), S(this, he, i), S(this, ve, f), S(this, J, P(s)), S(this, ee, P(o)), S(this, te, P(a)), S(this, ne, P(u));
|
|
2233
2245
|
}
|
|
2234
2246
|
setButtonPosition(e) {
|
|
2235
|
-
|
|
2247
|
+
v(this, J)[1](e);
|
|
2236
2248
|
}
|
|
2237
2249
|
setPosition(e) {
|
|
2238
|
-
|
|
2250
|
+
v(this, ee)[1](e);
|
|
2239
2251
|
}
|
|
2240
2252
|
setInitialIsOpen(e) {
|
|
2241
|
-
|
|
2253
|
+
v(this, te)[1](e);
|
|
2242
2254
|
}
|
|
2243
2255
|
setErrorTypes(e) {
|
|
2244
|
-
|
|
2256
|
+
v(this, ne)[1](e);
|
|
2245
2257
|
}
|
|
2246
2258
|
setClient(e) {
|
|
2247
|
-
|
|
2259
|
+
v(this, Z)[1](e);
|
|
2248
2260
|
}
|
|
2249
2261
|
mount(e) {
|
|
2250
|
-
if (
|
|
2262
|
+
if (v(this, K))
|
|
2251
2263
|
throw new Error("Devtools is already mounted");
|
|
2252
|
-
const t =
|
|
2253
|
-
const [n] =
|
|
2264
|
+
const t = Vn(() => {
|
|
2265
|
+
const [n] = v(this, J), [r] = v(this, ee), [i] = v(this, te), [s] = v(this, ne), [o] = v(this, Z);
|
|
2254
2266
|
let a;
|
|
2255
|
-
|
|
2267
|
+
v(this, re) ? a = v(this, re) : (a = xn(() => import("./2NWMMIDL-6ff16652.js")), S(this, re, a)), Lr(v(this, ve));
|
|
2256
2268
|
const u = this;
|
|
2257
|
-
return
|
|
2269
|
+
return bn(a, An({
|
|
2258
2270
|
get queryFlavor() {
|
|
2259
|
-
return
|
|
2271
|
+
return v(u, ye);
|
|
2260
2272
|
},
|
|
2261
2273
|
get version() {
|
|
2262
|
-
return
|
|
2274
|
+
return v(u, ge);
|
|
2263
2275
|
},
|
|
2264
2276
|
get onlineManager() {
|
|
2265
|
-
return
|
|
2277
|
+
return v(u, he);
|
|
2266
2278
|
}
|
|
2267
2279
|
}, {
|
|
2268
2280
|
get client() {
|
|
@@ -2282,16 +2294,16 @@ var oi = (e, t = !1) => {
|
|
|
2282
2294
|
}
|
|
2283
2295
|
}));
|
|
2284
2296
|
}, e);
|
|
2285
|
-
|
|
2297
|
+
S(this, K, !0), S(this, me, t);
|
|
2286
2298
|
}
|
|
2287
2299
|
unmount() {
|
|
2288
2300
|
var e;
|
|
2289
|
-
if (!
|
|
2301
|
+
if (!v(this, K))
|
|
2290
2302
|
throw new Error("Devtools is not mounted");
|
|
2291
|
-
(e =
|
|
2303
|
+
(e = v(this, me)) == null || e.call(this), S(this, K, !1);
|
|
2292
2304
|
}
|
|
2293
|
-
}, Z = new WeakMap(), he = new WeakMap(), ye = new WeakMap(), ge = new WeakMap(),
|
|
2294
|
-
const ci = /* @__PURE__ */
|
|
2305
|
+
}, Z = new WeakMap(), he = new WeakMap(), ye = new WeakMap(), ge = new WeakMap(), K = new WeakMap(), ve = new WeakMap(), J = new WeakMap(), ee = new WeakMap(), te = new WeakMap(), ne = new WeakMap(), re = new WeakMap(), me = new WeakMap(), yt);
|
|
2306
|
+
const ci = /* @__PURE__ */ Gt({
|
|
2295
2307
|
__name: "devtools",
|
|
2296
2308
|
props: {
|
|
2297
2309
|
initialIsOpen: { type: Boolean },
|
|
@@ -2302,24 +2314,24 @@ const ci = /* @__PURE__ */ Ht({
|
|
|
2302
2314
|
styleNonce: {}
|
|
2303
2315
|
},
|
|
2304
2316
|
setup(e) {
|
|
2305
|
-
const t = e, n =
|
|
2317
|
+
const t = e, n = Ht(), r = t.client || on(), i = new Rr({
|
|
2306
2318
|
client: r,
|
|
2307
2319
|
queryFlavor: "Vue Query",
|
|
2308
2320
|
version: "5",
|
|
2309
|
-
onlineManager:
|
|
2321
|
+
onlineManager: nn,
|
|
2310
2322
|
buttonPosition: t.buttonPosition,
|
|
2311
2323
|
position: t.position,
|
|
2312
2324
|
initialIsOpen: t.initialIsOpen,
|
|
2313
2325
|
errorTypes: t.errorTypes,
|
|
2314
2326
|
styleNonce: t.styleNonce
|
|
2315
2327
|
});
|
|
2316
|
-
return
|
|
2328
|
+
return Qt(() => {
|
|
2317
2329
|
i.setButtonPosition(t.buttonPosition || "bottom-left"), i.setPosition(t.position || "bottom"), i.setInitialIsOpen(t.initialIsOpen), i.setErrorTypes(t.errorTypes || []);
|
|
2318
|
-
}),
|
|
2330
|
+
}), Xt(() => {
|
|
2319
2331
|
i.mount(n.value);
|
|
2320
|
-
}),
|
|
2332
|
+
}), Yt(() => {
|
|
2321
2333
|
i.unmount();
|
|
2322
|
-
}), (s, o) => (
|
|
2334
|
+
}), (s, o) => (Wt(), Zt("div", {
|
|
2323
2335
|
className: "tsqd-parent-container",
|
|
2324
2336
|
ref_key: "div",
|
|
2325
2337
|
ref: n
|
|
@@ -2327,7 +2339,7 @@ const ci = /* @__PURE__ */ Ht({
|
|
|
2327
2339
|
}
|
|
2328
2340
|
});
|
|
2329
2341
|
export {
|
|
2330
|
-
|
|
2342
|
+
xe as $,
|
|
2331
2343
|
Fr as A,
|
|
2332
2344
|
Se as B,
|
|
2333
2345
|
Yr as C,
|
|
@@ -2337,10 +2349,10 @@ export {
|
|
|
2337
2349
|
ni as G,
|
|
2338
2350
|
ti as H,
|
|
2339
2351
|
Gr as I,
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2352
|
+
E as J,
|
|
2353
|
+
z as K,
|
|
2354
|
+
En as L,
|
|
2355
|
+
jn as M,
|
|
2344
2356
|
ei as N,
|
|
2345
2357
|
Xr as O,
|
|
2346
2358
|
Zr as P,
|
|
@@ -2349,33 +2361,33 @@ export {
|
|
|
2349
2361
|
Hr as S,
|
|
2350
2362
|
Dr as T,
|
|
2351
2363
|
Jr as U,
|
|
2352
|
-
|
|
2364
|
+
wt as V,
|
|
2353
2365
|
nt as W,
|
|
2354
2366
|
ci as _,
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2367
|
+
k as a,
|
|
2368
|
+
bn as b,
|
|
2369
|
+
P as c,
|
|
2370
|
+
$n as d,
|
|
2371
|
+
pt as e,
|
|
2372
|
+
G as f,
|
|
2361
2373
|
fi as g,
|
|
2362
2374
|
Un as h,
|
|
2363
2375
|
ze as i,
|
|
2364
|
-
|
|
2376
|
+
Ur as j,
|
|
2365
2377
|
Ke as k,
|
|
2366
2378
|
ri as l,
|
|
2367
2379
|
ui as m,
|
|
2368
2380
|
ii as n,
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2381
|
+
fn as o,
|
|
2382
|
+
Fn as p,
|
|
2383
|
+
An as q,
|
|
2372
2384
|
si as r,
|
|
2373
2385
|
ai as s,
|
|
2374
2386
|
oi as t,
|
|
2375
|
-
|
|
2387
|
+
Br as u,
|
|
2376
2388
|
le as v,
|
|
2377
|
-
|
|
2378
|
-
|
|
2389
|
+
gt as w,
|
|
2390
|
+
jr as x,
|
|
2379
2391
|
Kr as y,
|
|
2380
2392
|
qr as z
|
|
2381
2393
|
};
|