@xysfe/bug-tap 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/README.md +5 -8
- package/THIRD_PARTY_NOTICES.md +3 -3
- package/dist/bug-tap-screenshot.min.js +1 -1
- package/dist/bug-tap-vue.cjs +1 -1
- package/dist/bug-tap-vue.js +1 -1
- package/dist/bug-tap-vue.min.js +1 -1
- package/dist/bug-tap.cjs +1 -1
- package/dist/bug-tap.js +2 -2
- package/dist/bug-tap.min.js +3 -3
- package/dist/bug-tap.min.js.map +1 -1
- package/dist/{index-BbRyzCzY.cjs → index-D9HD92fq.cjs} +4 -4
- package/dist/index-D9HD92fq.cjs.map +1 -0
- package/dist/{index-D_ygxzgY.js → index-DXgUM85C.js} +8 -5
- package/dist/index-DXgUM85C.js.map +1 -0
- package/dist/panel-mount-BJMwnqnp.js +4732 -0
- package/dist/panel-mount-BJMwnqnp.js.map +1 -0
- package/dist/panel-mount-OcyVZePw.cjs +19 -0
- package/dist/panel-mount-OcyVZePw.cjs.map +1 -0
- package/docs/backend-api.md +3 -1
- package/docs/bundler.md +6 -7
- package/package.json +1 -9
- package/dist/index-BbRyzCzY.cjs.map +0 -1
- package/dist/index-D_ygxzgY.js.map +0 -1
- package/dist/panel-mount-BOOHHmMb.js +0 -499
- package/dist/panel-mount-BOOHHmMb.js.map +0 -1
- package/dist/panel-mount-CjRBibNV.cjs +0 -2
- package/dist/panel-mount-CjRBibNV.cjs.map +0 -1
|
@@ -0,0 +1,4732 @@
|
|
|
1
|
+
import { m as ss, d as mi } from "./index-DXgUM85C.js";
|
|
2
|
+
/*! @xysfe/bug-tap v0.1.3 | MIT */
|
|
3
|
+
/**
|
|
4
|
+
* @vue/shared v3.5.45
|
|
5
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
6
|
+
* @license MIT
|
|
7
|
+
**/
|
|
8
|
+
// @__NO_SIDE_EFFECTS__
|
|
9
|
+
function ln(e) {
|
|
10
|
+
const t = /* @__PURE__ */ Object.create(null);
|
|
11
|
+
for (const s of e.split(",")) t[s] = 1;
|
|
12
|
+
return (s) => s in t;
|
|
13
|
+
}
|
|
14
|
+
const G = {}, dt = [], He = () => {
|
|
15
|
+
}, or = () => !1, ws = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
|
|
16
|
+
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), Es = (e) => e.startsWith("onUpdate:"), te = Object.assign, on = (e, t) => {
|
|
17
|
+
const s = e.indexOf(t);
|
|
18
|
+
s > -1 && e.splice(s, 1);
|
|
19
|
+
}, bi = Object.prototype.hasOwnProperty, U = (e, t) => bi.call(e, t), R = Array.isArray, nt = (e) => zt(e) === "[object Map]", mt = (e) => zt(e) === "[object Set]", On = (e) => zt(e) === "[object Date]", j = (e) => typeof e == "function", Z = (e) => typeof e == "string", Le = (e) => typeof e == "symbol", q = (e) => e !== null && typeof e == "object", cr = (e) => (q(e) || j(e)) && j(e.then) && j(e.catch), fr = Object.prototype.toString, zt = (e) => fr.call(e), _i = (e) => zt(e).slice(8, -1), ur = (e) => zt(e) === "[object Object]", cn = (e) => Z(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, Vt = /* @__PURE__ */ ln(
|
|
20
|
+
// the leading comma is intentional so empty string "" is also included
|
|
21
|
+
",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
|
|
22
|
+
), Ts = (e) => {
|
|
23
|
+
const t = /* @__PURE__ */ Object.create(null);
|
|
24
|
+
return ((s) => t[s] || (t[s] = e(s)));
|
|
25
|
+
}, vi = /-\w/g, Oe = /* @__PURE__ */ Ts((e) => e.replace(vi, (t) => t.slice(1).toUpperCase())), yi = /\B([A-Z])/g, bt = /* @__PURE__ */ Ts(
|
|
26
|
+
(e) => e.replace(yi, "-$1").toLowerCase()
|
|
27
|
+
), ar = /* @__PURE__ */ Ts((e) => e.charAt(0).toUpperCase() + e.slice(1)), Vs = /* @__PURE__ */ Ts((e) => e ? `on${ar(e)}` : ""), Ne = (e, t) => !Object.is(e, t), fs = (e, ...t) => {
|
|
28
|
+
for (let s = 0; s < e.length; s++)
|
|
29
|
+
e[s](...t);
|
|
30
|
+
}, dr = (e, t, s, n = !1) => {
|
|
31
|
+
Object.defineProperty(e, t, {
|
|
32
|
+
configurable: !0,
|
|
33
|
+
enumerable: !1,
|
|
34
|
+
writable: n,
|
|
35
|
+
value: s
|
|
36
|
+
});
|
|
37
|
+
}, Xt = (e) => {
|
|
38
|
+
const t = parseFloat(e);
|
|
39
|
+
return isNaN(t) ? e : t;
|
|
40
|
+
};
|
|
41
|
+
let An;
|
|
42
|
+
const Os = () => An || (An = typeof globalThis != "undefined" ? globalThis : typeof self != "undefined" ? self : typeof window != "undefined" ? window : typeof global != "undefined" ? global : {});
|
|
43
|
+
function fn(e) {
|
|
44
|
+
if (R(e)) {
|
|
45
|
+
const t = {};
|
|
46
|
+
for (let s = 0; s < e.length; s++) {
|
|
47
|
+
const n = e[s], r = Z(n) ? wi(n) : fn(n);
|
|
48
|
+
if (r)
|
|
49
|
+
for (const i in r)
|
|
50
|
+
t[i] = r[i];
|
|
51
|
+
}
|
|
52
|
+
return t;
|
|
53
|
+
} else if (Z(e) || q(e))
|
|
54
|
+
return e;
|
|
55
|
+
}
|
|
56
|
+
const xi = /;(?![^(]*\))/g, Si = /:([^]+)/, Ci = /"(?:[^"\\]|\\[^])*"|'(?:[^'\\]|\\[^])*'|\\[^]|\/\*[^]*?\*\//g;
|
|
57
|
+
function wi(e) {
|
|
58
|
+
const t = {};
|
|
59
|
+
return e.replace(Ci, (s) => s.startsWith("/*") ? "" : s).split(xi).forEach((s) => {
|
|
60
|
+
if (s) {
|
|
61
|
+
const n = s.split(Si);
|
|
62
|
+
n.length > 1 && (t[n[0].trim()] = n[1].trim());
|
|
63
|
+
}
|
|
64
|
+
}), t;
|
|
65
|
+
}
|
|
66
|
+
function Tt(e) {
|
|
67
|
+
let t = "";
|
|
68
|
+
if (Z(e))
|
|
69
|
+
t = e;
|
|
70
|
+
else if (R(e))
|
|
71
|
+
for (let s = 0; s < e.length; s++) {
|
|
72
|
+
const n = Tt(e[s]);
|
|
73
|
+
n && (t += n + " ");
|
|
74
|
+
}
|
|
75
|
+
else if (q(e))
|
|
76
|
+
for (const s in e)
|
|
77
|
+
e[s] && (t += s + " ");
|
|
78
|
+
return t.trim();
|
|
79
|
+
}
|
|
80
|
+
const Ei = "itemscope,allowfullscreen,disablepictureinpicture,disableremoteplayback,formnovalidate,ismap,nomodule,novalidate,playsinline,readonly", Ti = /* @__PURE__ */ ln(Ei);
|
|
81
|
+
function hr(e) {
|
|
82
|
+
return !!e || e === "";
|
|
83
|
+
}
|
|
84
|
+
function Oi(e, t, s) {
|
|
85
|
+
if (e.length !== t.length) return !1;
|
|
86
|
+
let n = !0;
|
|
87
|
+
for (let r = 0; n && r < e.length; r++)
|
|
88
|
+
n = it(e[r], t[r], s);
|
|
89
|
+
return n;
|
|
90
|
+
}
|
|
91
|
+
function Pn(e, t, s) {
|
|
92
|
+
if (e.size !== t.size) return !1;
|
|
93
|
+
const n = Array.from(t), r = new Uint8Array(n.length);
|
|
94
|
+
for (const i of e) {
|
|
95
|
+
let l = -1;
|
|
96
|
+
for (let o = 0; o < n.length; o++)
|
|
97
|
+
if (!r[o] && it(i, n[o], s)) {
|
|
98
|
+
l = o;
|
|
99
|
+
break;
|
|
100
|
+
}
|
|
101
|
+
if (l < 0) return !1;
|
|
102
|
+
r[l] = 1;
|
|
103
|
+
}
|
|
104
|
+
return !0;
|
|
105
|
+
}
|
|
106
|
+
function Ai(e, t, s) {
|
|
107
|
+
let n = nt(e), r = nt(t);
|
|
108
|
+
if (n || r || (n = mt(e), r = mt(t), n || r))
|
|
109
|
+
return n && r ? Pn(e, t, s) : !1;
|
|
110
|
+
const i = Object.keys(e).length, l = Object.keys(t).length;
|
|
111
|
+
if (i !== l)
|
|
112
|
+
return !1;
|
|
113
|
+
for (const o in e) {
|
|
114
|
+
const f = e.hasOwnProperty(o), d = t.hasOwnProperty(o);
|
|
115
|
+
if (f && !d || !f && d || !it(e[o], t[o], s))
|
|
116
|
+
return !1;
|
|
117
|
+
}
|
|
118
|
+
return String(e) === String(t);
|
|
119
|
+
}
|
|
120
|
+
function In(e, t, s, n) {
|
|
121
|
+
s || (s = [/* @__PURE__ */ new Map(), /* @__PURE__ */ new Map()]);
|
|
122
|
+
const [r, i] = s;
|
|
123
|
+
if (r.has(e) || i.has(t))
|
|
124
|
+
return r.get(e) === t && i.get(t) === e;
|
|
125
|
+
r.set(e, t), i.set(t, e);
|
|
126
|
+
const l = n(e, t, s);
|
|
127
|
+
return r.delete(e), i.delete(t), l;
|
|
128
|
+
}
|
|
129
|
+
function it(e, t, s) {
|
|
130
|
+
if (e === t) return !0;
|
|
131
|
+
let n = On(e), r = On(t);
|
|
132
|
+
return n || r ? n && r ? e.getTime() === t.getTime() : !1 : (n = Le(e), r = Le(t), n || r ? e === t : (n = R(e), r = R(t), n || r ? n && r ? In(e, t, s, Oi) : !1 : (n = q(e), r = q(t), n || r ? !n || !r ? !1 : In(e, t, s, Ai) : String(e) === String(t))));
|
|
133
|
+
}
|
|
134
|
+
function Pi(e, t) {
|
|
135
|
+
return e.findIndex((s) => it(s, t));
|
|
136
|
+
}
|
|
137
|
+
const pr = (e) => !!(e && e.__v_isRef === !0), De = (e) => Z(e) ? e : e == null ? "" : R(e) || q(e) && (e.toString === fr || !j(e.toString)) ? pr(e) ? De(e.value) : JSON.stringify(e, gr, 2) : String(e), gr = (e, t) => pr(t) ? gr(e, t.value) : nt(t) ? {
|
|
138
|
+
[`Map(${t.size})`]: [...t.entries()].reduce(
|
|
139
|
+
(s, [n, r], i) => (s[js(n, i) + " =>"] = r, s),
|
|
140
|
+
{}
|
|
141
|
+
)
|
|
142
|
+
} : mt(t) ? {
|
|
143
|
+
[`Set(${t.size})`]: [...t.values()].map((s) => js(s))
|
|
144
|
+
} : Le(t) ? js(t) : q(t) && !R(t) && !ur(t) ? String(t) : t, js = (e, t = "") => {
|
|
145
|
+
var s;
|
|
146
|
+
return (
|
|
147
|
+
// Symbol.description in es2019+ so we need to cast here to pass
|
|
148
|
+
// the lib: es2016 check
|
|
149
|
+
Le(e) ? `Symbol(${(s = e.description) != null ? s : t})` : e
|
|
150
|
+
);
|
|
151
|
+
};
|
|
152
|
+
/**
|
|
153
|
+
* @vue/reactivity v3.5.45
|
|
154
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
155
|
+
* @license MIT
|
|
156
|
+
**/
|
|
157
|
+
let re;
|
|
158
|
+
class Ii {
|
|
159
|
+
// TODO isolatedDeclarations "__v_skip"
|
|
160
|
+
constructor(t = !1) {
|
|
161
|
+
this.detached = t, this._active = !0, this._on = 0, this.effects = [], this.cleanups = [], this._isPaused = !1, this._warnOnRun = !0, this.__v_skip = !0, !t && re && (re.active ? (this.parent = re, this.index = (re.scopes || (re.scopes = [])).push(
|
|
162
|
+
this
|
|
163
|
+
) - 1) : (this._active = !1, this._warnOnRun = !1));
|
|
164
|
+
}
|
|
165
|
+
get active() {
|
|
166
|
+
return this._active;
|
|
167
|
+
}
|
|
168
|
+
pause() {
|
|
169
|
+
if (this._active) {
|
|
170
|
+
this._isPaused = !0;
|
|
171
|
+
let t, s;
|
|
172
|
+
if (this.scopes) {
|
|
173
|
+
const n = this.scopes.slice();
|
|
174
|
+
for (t = 0, s = n.length; t < s; t++)
|
|
175
|
+
n[t].pause();
|
|
176
|
+
}
|
|
177
|
+
for (t = 0, s = this.effects.length; t < s; t++)
|
|
178
|
+
this.effects[t].pause();
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* Resumes the effect scope, including all child scopes and effects.
|
|
183
|
+
*/
|
|
184
|
+
resume() {
|
|
185
|
+
if (this._active && this._isPaused) {
|
|
186
|
+
this._isPaused = !1;
|
|
187
|
+
let t, s;
|
|
188
|
+
if (this.scopes) {
|
|
189
|
+
const r = this.scopes.slice();
|
|
190
|
+
for (t = 0, s = r.length; t < s; t++)
|
|
191
|
+
r[t].resume();
|
|
192
|
+
}
|
|
193
|
+
const n = this.effects.slice();
|
|
194
|
+
for (t = 0, s = n.length; t < s; t++)
|
|
195
|
+
n[t].resume();
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
run(t) {
|
|
199
|
+
if (this._active) {
|
|
200
|
+
const s = re;
|
|
201
|
+
try {
|
|
202
|
+
return re = this, t();
|
|
203
|
+
} finally {
|
|
204
|
+
re = s;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* This should only be called on non-detached scopes
|
|
210
|
+
* @internal
|
|
211
|
+
*/
|
|
212
|
+
on() {
|
|
213
|
+
++this._on === 1 && (this.prevScope = re, re = this);
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* This should only be called on non-detached scopes
|
|
217
|
+
* @internal
|
|
218
|
+
*/
|
|
219
|
+
off() {
|
|
220
|
+
if (this._on > 0 && --this._on === 0) {
|
|
221
|
+
if (re === this)
|
|
222
|
+
re = this.prevScope;
|
|
223
|
+
else {
|
|
224
|
+
let t = re;
|
|
225
|
+
for (; t; ) {
|
|
226
|
+
if (t.prevScope === this) {
|
|
227
|
+
t.prevScope = this.prevScope;
|
|
228
|
+
break;
|
|
229
|
+
}
|
|
230
|
+
t = t.prevScope;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
this.prevScope = void 0;
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
stop(t) {
|
|
237
|
+
if (this._active) {
|
|
238
|
+
this._active = !1;
|
|
239
|
+
let s, n;
|
|
240
|
+
for (s = 0, n = this.effects.length; s < n; s++)
|
|
241
|
+
this.effects[s].stop();
|
|
242
|
+
for (this.effects.length = 0, s = 0, n = this.cleanups.length; s < n; s++)
|
|
243
|
+
this.cleanups[s]();
|
|
244
|
+
if (this.cleanups.length = 0, this.scopes) {
|
|
245
|
+
const r = this.scopes.slice();
|
|
246
|
+
for (s = 0, n = r.length; s < n; s++)
|
|
247
|
+
r[s].stop(!0);
|
|
248
|
+
this.scopes.length = 0;
|
|
249
|
+
}
|
|
250
|
+
if (!this.detached && this.parent && !t) {
|
|
251
|
+
const r = this.parent.scopes.pop();
|
|
252
|
+
r && r !== this && (this.parent.scopes[this.index] = r, r.index = this.index);
|
|
253
|
+
}
|
|
254
|
+
this.parent = void 0;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
function Mi() {
|
|
259
|
+
return re;
|
|
260
|
+
}
|
|
261
|
+
let Y;
|
|
262
|
+
const $s = /* @__PURE__ */ new WeakSet();
|
|
263
|
+
class mr {
|
|
264
|
+
constructor(t) {
|
|
265
|
+
this.fn = t, this.deps = void 0, this.depsTail = void 0, this.flags = 5, this.next = void 0, this.cleanup = void 0, this.scheduler = void 0, re && (re.active ? re.effects.push(this) : this.flags &= -2);
|
|
266
|
+
}
|
|
267
|
+
pause() {
|
|
268
|
+
this.flags |= 64;
|
|
269
|
+
}
|
|
270
|
+
resume() {
|
|
271
|
+
this.flags & 64 && (this.flags &= -65, $s.has(this) && ($s.delete(this), this.trigger()));
|
|
272
|
+
}
|
|
273
|
+
/**
|
|
274
|
+
* @internal
|
|
275
|
+
*/
|
|
276
|
+
notify() {
|
|
277
|
+
this.flags & 2 && !(this.flags & 32) || this.flags & 8 || _r(this);
|
|
278
|
+
}
|
|
279
|
+
run() {
|
|
280
|
+
if (!(this.flags & 1))
|
|
281
|
+
return this.fn();
|
|
282
|
+
this.flags |= 2, Mn(this), vr(this);
|
|
283
|
+
const t = Y, s = Ae;
|
|
284
|
+
Y = this, Ae = !0;
|
|
285
|
+
try {
|
|
286
|
+
return this.fn();
|
|
287
|
+
} finally {
|
|
288
|
+
yr(this), Y = t, Ae = s, this.flags &= -3;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
stop() {
|
|
292
|
+
if (this.flags & 1) {
|
|
293
|
+
for (let t = this.deps; t; t = t.nextDep)
|
|
294
|
+
dn(t);
|
|
295
|
+
this.deps = this.depsTail = void 0, Mn(this), this.onStop && this.onStop(), this.flags &= -2;
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
trigger() {
|
|
299
|
+
this.flags & 64 ? $s.add(this) : this.scheduler ? this.scheduler() : this.runIfDirty();
|
|
300
|
+
}
|
|
301
|
+
/**
|
|
302
|
+
* @internal
|
|
303
|
+
*/
|
|
304
|
+
runIfDirty() {
|
|
305
|
+
Js(this) && this.run();
|
|
306
|
+
}
|
|
307
|
+
get dirty() {
|
|
308
|
+
return Js(this);
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
let br = 0, jt, $t;
|
|
312
|
+
function _r(e, t = !1) {
|
|
313
|
+
if (e.flags |= 8, t) {
|
|
314
|
+
e.next = $t, $t = e;
|
|
315
|
+
return;
|
|
316
|
+
}
|
|
317
|
+
e.next = jt, jt = e;
|
|
318
|
+
}
|
|
319
|
+
function un() {
|
|
320
|
+
br++;
|
|
321
|
+
}
|
|
322
|
+
function an() {
|
|
323
|
+
if (--br > 0)
|
|
324
|
+
return;
|
|
325
|
+
if ($t) {
|
|
326
|
+
let t = $t;
|
|
327
|
+
for ($t = void 0; t; ) {
|
|
328
|
+
const s = t.next;
|
|
329
|
+
t.next = void 0, t.flags &= -9, t = s;
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
let e;
|
|
333
|
+
for (; jt; ) {
|
|
334
|
+
let t = jt;
|
|
335
|
+
for (jt = void 0; t; ) {
|
|
336
|
+
const s = t.next;
|
|
337
|
+
if (t.next = void 0, t.flags &= -9, t.flags & 1)
|
|
338
|
+
try {
|
|
339
|
+
t.trigger();
|
|
340
|
+
} catch (n) {
|
|
341
|
+
e || (e = n);
|
|
342
|
+
}
|
|
343
|
+
t = s;
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
if (e) throw e;
|
|
347
|
+
}
|
|
348
|
+
function vr(e) {
|
|
349
|
+
for (let t = e.deps; t; t = t.nextDep)
|
|
350
|
+
t.version = -1, t.prevActiveLink = t.dep.activeLink, t.dep.activeLink = t;
|
|
351
|
+
}
|
|
352
|
+
function yr(e) {
|
|
353
|
+
let t, s = e.depsTail, n = s;
|
|
354
|
+
for (; n; ) {
|
|
355
|
+
const r = n.prevDep;
|
|
356
|
+
n.version === -1 ? (n === s && (s = r), dn(n), Ri(n)) : t = n, n.dep.activeLink = n.prevActiveLink, n.prevActiveLink = void 0, n = r;
|
|
357
|
+
}
|
|
358
|
+
e.deps = t, e.depsTail = s;
|
|
359
|
+
}
|
|
360
|
+
function Js(e) {
|
|
361
|
+
for (let t = e.deps; t; t = t.nextDep)
|
|
362
|
+
if (t.dep.version !== t.version || t.dep.computed && (xr(t.dep.computed) || t.dep.version !== t.version))
|
|
363
|
+
return !0;
|
|
364
|
+
return !!e._dirty;
|
|
365
|
+
}
|
|
366
|
+
function xr(e) {
|
|
367
|
+
if (e.flags & 4 && !(e.flags & 16) || (e.flags &= -17, e.globalVersion === Bt) || (e.globalVersion = Bt, !e.isSSR && e.flags & 128 && (!e.deps && !e._dirty || !Js(e))))
|
|
368
|
+
return;
|
|
369
|
+
e.flags |= 2;
|
|
370
|
+
const t = e.dep, s = Y, n = Ae;
|
|
371
|
+
Y = e, Ae = !0;
|
|
372
|
+
try {
|
|
373
|
+
vr(e);
|
|
374
|
+
const r = e.fn(e._value);
|
|
375
|
+
(t.version === 0 || Ne(r, e._value)) && (e.flags |= 128, e._value = r, t.version++);
|
|
376
|
+
} catch (r) {
|
|
377
|
+
throw t.version++, r;
|
|
378
|
+
} finally {
|
|
379
|
+
Y = s, Ae = n, yr(e), e.flags &= -3;
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
function dn(e, t = !1) {
|
|
383
|
+
const { dep: s, prevSub: n, nextSub: r } = e;
|
|
384
|
+
if (n && (n.nextSub = r, e.prevSub = void 0), r && (r.prevSub = n, e.nextSub = void 0), s.subs === e && (s.subs = n, !n && s.computed)) {
|
|
385
|
+
s.computed.flags &= -5;
|
|
386
|
+
for (let i = s.computed.deps; i; i = i.nextDep)
|
|
387
|
+
dn(i, !0);
|
|
388
|
+
}
|
|
389
|
+
!t && !--s.sc && s.map && s.map.delete(s.key);
|
|
390
|
+
}
|
|
391
|
+
function Ri(e) {
|
|
392
|
+
const { prevDep: t, nextDep: s } = e;
|
|
393
|
+
t && (t.nextDep = s, e.prevDep = void 0), s && (s.prevDep = t, e.nextDep = void 0);
|
|
394
|
+
}
|
|
395
|
+
let Ae = !0;
|
|
396
|
+
const Sr = [];
|
|
397
|
+
function Ue() {
|
|
398
|
+
Sr.push(Ae), Ae = !1;
|
|
399
|
+
}
|
|
400
|
+
function Ke() {
|
|
401
|
+
const e = Sr.pop();
|
|
402
|
+
Ae = e === void 0 ? !0 : e;
|
|
403
|
+
}
|
|
404
|
+
function Mn(e) {
|
|
405
|
+
const { cleanup: t } = e;
|
|
406
|
+
if (e.cleanup = void 0, t) {
|
|
407
|
+
const s = Y;
|
|
408
|
+
Y = void 0;
|
|
409
|
+
try {
|
|
410
|
+
t();
|
|
411
|
+
} finally {
|
|
412
|
+
Y = s;
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
let Bt = 0;
|
|
417
|
+
class Fi {
|
|
418
|
+
constructor(t, s) {
|
|
419
|
+
this.sub = t, this.dep = s, this.version = s.version, this.nextDep = this.prevDep = this.nextSub = this.prevSub = this.prevActiveLink = void 0;
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
class hn {
|
|
423
|
+
// TODO isolatedDeclarations "__v_skip"
|
|
424
|
+
constructor(t) {
|
|
425
|
+
this.computed = t, this.version = 0, this.activeLink = void 0, this.subs = void 0, this.map = void 0, this.key = void 0, this.sc = 0, this.__v_skip = !0;
|
|
426
|
+
}
|
|
427
|
+
track(t) {
|
|
428
|
+
if (!Y || !Ae || Y === this.computed)
|
|
429
|
+
return;
|
|
430
|
+
let s = this.activeLink;
|
|
431
|
+
if (s === void 0 || s.sub !== Y)
|
|
432
|
+
s = this.activeLink = new Fi(Y, this), Y.deps ? (s.prevDep = Y.depsTail, Y.depsTail.nextDep = s, Y.depsTail = s) : Y.deps = Y.depsTail = s, Cr(s);
|
|
433
|
+
else if (s.version === -1 && (s.version = this.version, s.nextDep)) {
|
|
434
|
+
const n = s.nextDep;
|
|
435
|
+
n.prevDep = s.prevDep, s.prevDep && (s.prevDep.nextDep = n), s.prevDep = Y.depsTail, s.nextDep = void 0, Y.depsTail.nextDep = s, Y.depsTail = s, Y.deps === s && (Y.deps = n);
|
|
436
|
+
}
|
|
437
|
+
return s;
|
|
438
|
+
}
|
|
439
|
+
trigger(t) {
|
|
440
|
+
this.version++, Bt++, this.notify(t);
|
|
441
|
+
}
|
|
442
|
+
notify(t) {
|
|
443
|
+
un();
|
|
444
|
+
try {
|
|
445
|
+
for (let s = this.subs; s; s = s.prevSub)
|
|
446
|
+
s.sub.notify() && s.sub.dep.notify();
|
|
447
|
+
} finally {
|
|
448
|
+
an();
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
function Cr(e) {
|
|
453
|
+
if (e.dep.sc++, e.sub.flags & 4) {
|
|
454
|
+
const t = e.dep.computed;
|
|
455
|
+
if (t && !e.dep.subs) {
|
|
456
|
+
t.flags |= 20;
|
|
457
|
+
for (let n = t.deps; n; n = n.nextDep)
|
|
458
|
+
Cr(n);
|
|
459
|
+
}
|
|
460
|
+
const s = e.dep.subs;
|
|
461
|
+
s !== e && (e.prevSub = s, s && (s.nextSub = e)), e.dep.subs = e;
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
const Ys = /* @__PURE__ */ new WeakMap(), pt = /* @__PURE__ */ Symbol(
|
|
465
|
+
""
|
|
466
|
+
), zs = /* @__PURE__ */ Symbol(
|
|
467
|
+
""
|
|
468
|
+
), kt = /* @__PURE__ */ Symbol(
|
|
469
|
+
""
|
|
470
|
+
);
|
|
471
|
+
function ie(e, t, s) {
|
|
472
|
+
if (Ae && Y) {
|
|
473
|
+
let n = Ys.get(e);
|
|
474
|
+
n || Ys.set(e, n = /* @__PURE__ */ new Map());
|
|
475
|
+
let r = n.get(s);
|
|
476
|
+
r || (n.set(s, r = new hn()), r.map = n, r.key = s), r.track();
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
function Xe(e, t, s, n, r, i) {
|
|
480
|
+
const l = Ys.get(e);
|
|
481
|
+
if (!l) {
|
|
482
|
+
Bt++;
|
|
483
|
+
return;
|
|
484
|
+
}
|
|
485
|
+
const o = (f) => {
|
|
486
|
+
f && f.trigger();
|
|
487
|
+
};
|
|
488
|
+
if (un(), t === "clear")
|
|
489
|
+
l.forEach(o);
|
|
490
|
+
else {
|
|
491
|
+
const f = R(e), d = f && cn(s);
|
|
492
|
+
if (f && s === "length") {
|
|
493
|
+
const a = Number(n);
|
|
494
|
+
l.forEach((g, E) => {
|
|
495
|
+
(E === "length" || E === kt || !Le(E) && E >= a) && o(g);
|
|
496
|
+
});
|
|
497
|
+
} else
|
|
498
|
+
switch ((s !== void 0 || l.has(void 0)) && o(l.get(s)), d && o(l.get(kt)), t) {
|
|
499
|
+
case "add":
|
|
500
|
+
f ? d && o(l.get("length")) : (o(l.get(pt)), nt(e) && o(l.get(zs)));
|
|
501
|
+
break;
|
|
502
|
+
case "delete":
|
|
503
|
+
f || (o(l.get(pt)), nt(e) && o(l.get(zs)));
|
|
504
|
+
break;
|
|
505
|
+
case "set":
|
|
506
|
+
nt(e) && o(l.get(pt));
|
|
507
|
+
break;
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
an();
|
|
511
|
+
}
|
|
512
|
+
function St(e) {
|
|
513
|
+
const t = /* @__PURE__ */ K(e);
|
|
514
|
+
return t === e || (ie(t, "iterate", kt), /* @__PURE__ */ Se(e)) ? t : /* @__PURE__ */ Be(e) ? /* @__PURE__ */ rt(e) ? t.map((s) => lt(Ce(s))) : t.map(lt) : t.map(Ce);
|
|
515
|
+
}
|
|
516
|
+
function As(e) {
|
|
517
|
+
return ie(e = /* @__PURE__ */ K(e), "iterate", kt), e;
|
|
518
|
+
}
|
|
519
|
+
function Ve(e, t) {
|
|
520
|
+
return /* @__PURE__ */ Be(e) ? lt(/* @__PURE__ */ rt(e) ? Ce(t) : t) : Ce(t);
|
|
521
|
+
}
|
|
522
|
+
const Di = {
|
|
523
|
+
__proto__: null,
|
|
524
|
+
[Symbol.iterator]() {
|
|
525
|
+
return Ns(this, Symbol.iterator, (e) => Ve(this, e));
|
|
526
|
+
},
|
|
527
|
+
concat(...e) {
|
|
528
|
+
return St(this).concat(
|
|
529
|
+
...e.map((t) => R(t) ? St(t) : t)
|
|
530
|
+
);
|
|
531
|
+
},
|
|
532
|
+
entries() {
|
|
533
|
+
return Ns(this, "entries", (e) => (e[1] = Ve(this, e[1]), e));
|
|
534
|
+
},
|
|
535
|
+
every(e, t) {
|
|
536
|
+
return Je(this, "every", e, t, void 0, arguments);
|
|
537
|
+
},
|
|
538
|
+
filter(e, t) {
|
|
539
|
+
return Je(
|
|
540
|
+
this,
|
|
541
|
+
"filter",
|
|
542
|
+
e,
|
|
543
|
+
t,
|
|
544
|
+
(s) => s.map((n) => Ve(this, n)),
|
|
545
|
+
arguments
|
|
546
|
+
);
|
|
547
|
+
},
|
|
548
|
+
find(e, t) {
|
|
549
|
+
return Je(
|
|
550
|
+
this,
|
|
551
|
+
"find",
|
|
552
|
+
e,
|
|
553
|
+
t,
|
|
554
|
+
(s) => Ve(this, s),
|
|
555
|
+
arguments
|
|
556
|
+
);
|
|
557
|
+
},
|
|
558
|
+
findIndex(e, t) {
|
|
559
|
+
return Je(this, "findIndex", e, t, void 0, arguments);
|
|
560
|
+
},
|
|
561
|
+
findLast(e, t) {
|
|
562
|
+
return Je(
|
|
563
|
+
this,
|
|
564
|
+
"findLast",
|
|
565
|
+
e,
|
|
566
|
+
t,
|
|
567
|
+
(s) => Ve(this, s),
|
|
568
|
+
arguments
|
|
569
|
+
);
|
|
570
|
+
},
|
|
571
|
+
findLastIndex(e, t) {
|
|
572
|
+
return Je(this, "findLastIndex", e, t, void 0, arguments);
|
|
573
|
+
},
|
|
574
|
+
// flat, flatMap could benefit from ARRAY_ITERATE but are not straight-forward to implement
|
|
575
|
+
forEach(e, t) {
|
|
576
|
+
return Je(this, "forEach", e, t, void 0, arguments);
|
|
577
|
+
},
|
|
578
|
+
includes(...e) {
|
|
579
|
+
return Hs(this, "includes", e);
|
|
580
|
+
},
|
|
581
|
+
indexOf(...e) {
|
|
582
|
+
return Hs(this, "indexOf", e);
|
|
583
|
+
},
|
|
584
|
+
join(e) {
|
|
585
|
+
return St(this).join(e);
|
|
586
|
+
},
|
|
587
|
+
// keys() iterator only reads `length`, no optimization required
|
|
588
|
+
lastIndexOf(...e) {
|
|
589
|
+
return Hs(this, "lastIndexOf", e);
|
|
590
|
+
},
|
|
591
|
+
map(e, t) {
|
|
592
|
+
return Je(this, "map", e, t, void 0, arguments);
|
|
593
|
+
},
|
|
594
|
+
pop() {
|
|
595
|
+
return It(this, "pop");
|
|
596
|
+
},
|
|
597
|
+
push(...e) {
|
|
598
|
+
return It(this, "push", e);
|
|
599
|
+
},
|
|
600
|
+
reduce(e, ...t) {
|
|
601
|
+
return Fn(this, "reduce", e, t);
|
|
602
|
+
},
|
|
603
|
+
reduceRight(e, ...t) {
|
|
604
|
+
return Fn(this, "reduceRight", e, t);
|
|
605
|
+
},
|
|
606
|
+
shift() {
|
|
607
|
+
return It(this, "shift");
|
|
608
|
+
},
|
|
609
|
+
// slice could use ARRAY_ITERATE but also seems to beg for range tracking
|
|
610
|
+
some(e, t) {
|
|
611
|
+
return Je(this, "some", e, t, void 0, arguments);
|
|
612
|
+
},
|
|
613
|
+
splice(...e) {
|
|
614
|
+
return It(this, "splice", e);
|
|
615
|
+
},
|
|
616
|
+
toReversed() {
|
|
617
|
+
return St(this).toReversed();
|
|
618
|
+
},
|
|
619
|
+
toSorted(e) {
|
|
620
|
+
return St(this).toSorted(e);
|
|
621
|
+
},
|
|
622
|
+
toSpliced(...e) {
|
|
623
|
+
return St(this).toSpliced(...e);
|
|
624
|
+
},
|
|
625
|
+
unshift(...e) {
|
|
626
|
+
return It(this, "unshift", e);
|
|
627
|
+
},
|
|
628
|
+
values() {
|
|
629
|
+
return Ns(this, "values", (e) => Ve(this, e));
|
|
630
|
+
}
|
|
631
|
+
};
|
|
632
|
+
function Ns(e, t, s) {
|
|
633
|
+
const n = As(e), r = n[t], i = r.call(n);
|
|
634
|
+
if (n !== e && !/* @__PURE__ */ Se(e)) {
|
|
635
|
+
if (i[Symbol.toStringTag] === "Array Iterator") {
|
|
636
|
+
const l = Object.create(Object.getPrototypeOf(i));
|
|
637
|
+
return l.next = () => Rn(i.next(), s), r !== wr[t] && Object.defineProperties(l, {
|
|
638
|
+
return: {
|
|
639
|
+
get() {
|
|
640
|
+
const o = i.return;
|
|
641
|
+
return typeof o == "function" ? o.bind(i) : o;
|
|
642
|
+
}
|
|
643
|
+
},
|
|
644
|
+
throw: {
|
|
645
|
+
get() {
|
|
646
|
+
const o = i.throw;
|
|
647
|
+
return typeof o == "function" ? o.bind(i) : o;
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
}), l;
|
|
651
|
+
}
|
|
652
|
+
i._next = i.next, i.next = () => Rn(i._next(), s);
|
|
653
|
+
}
|
|
654
|
+
return i;
|
|
655
|
+
}
|
|
656
|
+
function Rn(e, t) {
|
|
657
|
+
return e.done || (e.value = t(e.value)), e;
|
|
658
|
+
}
|
|
659
|
+
const wr = Array.prototype;
|
|
660
|
+
function Je(e, t, s, n, r, i) {
|
|
661
|
+
const l = As(e), o = l !== e && !/* @__PURE__ */ Se(e), f = l[t];
|
|
662
|
+
if (f !== wr[t]) {
|
|
663
|
+
const g = f.apply(e, i);
|
|
664
|
+
return o ? Ce(g) : g;
|
|
665
|
+
}
|
|
666
|
+
let d = s;
|
|
667
|
+
l !== e && (o ? d = function(g, E) {
|
|
668
|
+
return s.call(this, Ve(e, g), E, e);
|
|
669
|
+
} : s.length > 2 && (d = function(g, E) {
|
|
670
|
+
return s.call(this, g, E, e);
|
|
671
|
+
}));
|
|
672
|
+
const a = f.call(l, d, n);
|
|
673
|
+
return o && r ? r(a) : a;
|
|
674
|
+
}
|
|
675
|
+
function Fn(e, t, s, n) {
|
|
676
|
+
const r = As(e), i = r !== e && !/* @__PURE__ */ Se(e);
|
|
677
|
+
let l = s, o = !1;
|
|
678
|
+
r !== e && (i ? (o = n.length === 0, l = function(d, a, g) {
|
|
679
|
+
return o && (o = !1, d = Ve(e, d)), s.call(this, d, Ve(e, a), g, e);
|
|
680
|
+
}) : s.length > 3 && (l = function(d, a, g) {
|
|
681
|
+
return s.call(this, d, a, g, e);
|
|
682
|
+
}));
|
|
683
|
+
const f = r[t](l, ...n);
|
|
684
|
+
return o ? Ve(e, f) : f;
|
|
685
|
+
}
|
|
686
|
+
function Hs(e, t, s) {
|
|
687
|
+
const n = /* @__PURE__ */ K(e);
|
|
688
|
+
ie(n, "iterate", kt);
|
|
689
|
+
const r = n[t](...s);
|
|
690
|
+
return (r === -1 || r === !1) && /* @__PURE__ */ bn(s[0]) ? (s[0] = /* @__PURE__ */ K(s[0]), n[t](...s)) : r;
|
|
691
|
+
}
|
|
692
|
+
function It(e, t, s = []) {
|
|
693
|
+
Ue(), un();
|
|
694
|
+
const n = (/* @__PURE__ */ K(e))[t].apply(e, s);
|
|
695
|
+
return an(), Ke(), n;
|
|
696
|
+
}
|
|
697
|
+
const Vi = /* @__PURE__ */ ln("__proto__,__v_isRef,__isVue"), Er = /* @__PURE__ */ new Set(
|
|
698
|
+
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(Le)
|
|
699
|
+
);
|
|
700
|
+
function ji(e) {
|
|
701
|
+
Le(e) || (e = String(e));
|
|
702
|
+
const t = /* @__PURE__ */ K(this);
|
|
703
|
+
return ie(t, "has", e), t.hasOwnProperty(e);
|
|
704
|
+
}
|
|
705
|
+
class Tr {
|
|
706
|
+
constructor(t = !1, s = !1) {
|
|
707
|
+
this._isReadonly = t, this._isShallow = s;
|
|
708
|
+
}
|
|
709
|
+
get(t, s, n) {
|
|
710
|
+
if (s === "__v_skip") return t.__v_skip;
|
|
711
|
+
const r = this._isReadonly, i = this._isShallow;
|
|
712
|
+
if (s === "__v_isReactive")
|
|
713
|
+
return !r;
|
|
714
|
+
if (s === "__v_isReadonly")
|
|
715
|
+
return r;
|
|
716
|
+
if (s === "__v_isShallow")
|
|
717
|
+
return i;
|
|
718
|
+
if (s === "__v_raw")
|
|
719
|
+
return n === (r ? i ? qi : Ir : i ? Pr : Ar).get(t) || // receiver is not the reactive proxy, but has the same prototype
|
|
720
|
+
// this means the receiver is a user proxy of the reactive proxy
|
|
721
|
+
Object.getPrototypeOf(t) === Object.getPrototypeOf(n) ? t : void 0;
|
|
722
|
+
const l = R(t);
|
|
723
|
+
if (!r) {
|
|
724
|
+
let f;
|
|
725
|
+
if (l && (f = Di[s]))
|
|
726
|
+
return f;
|
|
727
|
+
if (s === "hasOwnProperty")
|
|
728
|
+
return ji;
|
|
729
|
+
}
|
|
730
|
+
const o = Reflect.get(
|
|
731
|
+
t,
|
|
732
|
+
s,
|
|
733
|
+
// if this is a proxy wrapping a ref, return methods using the raw ref
|
|
734
|
+
// as receiver so that we don't have to call `toRaw` on the ref in all
|
|
735
|
+
// its class methods
|
|
736
|
+
/* @__PURE__ */ le(t) ? t : n
|
|
737
|
+
);
|
|
738
|
+
if ((Le(s) ? Er.has(s) : Vi(s)) || (r || ie(t, "get", s), i))
|
|
739
|
+
return o;
|
|
740
|
+
if (/* @__PURE__ */ le(o)) {
|
|
741
|
+
const f = l && cn(s) ? o : o.value;
|
|
742
|
+
return r && q(f) ? /* @__PURE__ */ Zs(f) : f;
|
|
743
|
+
}
|
|
744
|
+
return q(o) ? r ? /* @__PURE__ */ Zs(o) : /* @__PURE__ */ gn(o) : o;
|
|
745
|
+
}
|
|
746
|
+
}
|
|
747
|
+
class Or extends Tr {
|
|
748
|
+
constructor(t = !1) {
|
|
749
|
+
super(!1, t);
|
|
750
|
+
}
|
|
751
|
+
set(t, s, n, r) {
|
|
752
|
+
let i = t[s];
|
|
753
|
+
const l = R(t) && cn(s);
|
|
754
|
+
if (!this._isShallow) {
|
|
755
|
+
const d = /* @__PURE__ */ Be(i);
|
|
756
|
+
if (!/* @__PURE__ */ Se(n) && !/* @__PURE__ */ Be(n) && (i = /* @__PURE__ */ K(i), n = /* @__PURE__ */ K(n)), !l && /* @__PURE__ */ le(i) && !/* @__PURE__ */ le(n))
|
|
757
|
+
return d || (i.value = n), !0;
|
|
758
|
+
}
|
|
759
|
+
const o = l ? Number(s) < t.length : U(t, s), f = Reflect.set(
|
|
760
|
+
t,
|
|
761
|
+
s,
|
|
762
|
+
n,
|
|
763
|
+
/* @__PURE__ */ le(t) ? t : r
|
|
764
|
+
);
|
|
765
|
+
return t === /* @__PURE__ */ K(r) && f && (o ? Ne(n, i) && Xe(t, "set", s, n) : Xe(t, "add", s, n)), f;
|
|
766
|
+
}
|
|
767
|
+
deleteProperty(t, s) {
|
|
768
|
+
const n = U(t, s);
|
|
769
|
+
t[s];
|
|
770
|
+
const r = Reflect.deleteProperty(t, s);
|
|
771
|
+
return r && n && Xe(t, "delete", s, void 0), r;
|
|
772
|
+
}
|
|
773
|
+
has(t, s) {
|
|
774
|
+
const n = Reflect.has(t, s);
|
|
775
|
+
return (!Le(s) || !Er.has(s)) && ie(t, "has", s), n;
|
|
776
|
+
}
|
|
777
|
+
ownKeys(t) {
|
|
778
|
+
return ie(
|
|
779
|
+
t,
|
|
780
|
+
"iterate",
|
|
781
|
+
R(t) ? "length" : pt
|
|
782
|
+
), Reflect.ownKeys(t);
|
|
783
|
+
}
|
|
784
|
+
}
|
|
785
|
+
class $i extends Tr {
|
|
786
|
+
constructor(t = !1) {
|
|
787
|
+
super(!0, t);
|
|
788
|
+
}
|
|
789
|
+
set(t, s) {
|
|
790
|
+
return !0;
|
|
791
|
+
}
|
|
792
|
+
deleteProperty(t, s) {
|
|
793
|
+
return !0;
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
const Ni = /* @__PURE__ */ new Or(), Hi = /* @__PURE__ */ new $i(), Li = /* @__PURE__ */ new Or(!0);
|
|
797
|
+
const Xs = (e) => e, ns = (e) => Reflect.getPrototypeOf(e);
|
|
798
|
+
function Ui(e, t, s) {
|
|
799
|
+
return function(...n) {
|
|
800
|
+
const r = this.__v_raw, i = /* @__PURE__ */ K(r), l = nt(i), o = e === "entries" || e === Symbol.iterator && l, f = e === "keys" && l, d = r[e](...n), a = s ? Xs : t ? lt : Ce;
|
|
801
|
+
return !t && ie(
|
|
802
|
+
i,
|
|
803
|
+
"iterate",
|
|
804
|
+
f ? zs : pt
|
|
805
|
+
), te(
|
|
806
|
+
// inheriting all iterator properties
|
|
807
|
+
Object.create(d),
|
|
808
|
+
{
|
|
809
|
+
// iterator protocol
|
|
810
|
+
next() {
|
|
811
|
+
const { value: g, done: E } = d.next();
|
|
812
|
+
return E ? { value: g, done: E } : {
|
|
813
|
+
value: o ? [a(g[0]), a(g[1])] : a(g),
|
|
814
|
+
done: E
|
|
815
|
+
};
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
);
|
|
819
|
+
};
|
|
820
|
+
}
|
|
821
|
+
function rs(e) {
|
|
822
|
+
return function(...t) {
|
|
823
|
+
return e === "delete" ? !1 : e === "clear" ? void 0 : this;
|
|
824
|
+
};
|
|
825
|
+
}
|
|
826
|
+
function Ki(e, t) {
|
|
827
|
+
const s = {
|
|
828
|
+
get(r) {
|
|
829
|
+
const i = this.__v_raw, l = /* @__PURE__ */ K(i), o = /* @__PURE__ */ K(r);
|
|
830
|
+
e || (Ne(r, o) && ie(l, "get", r), ie(l, "get", o));
|
|
831
|
+
const { has: f } = ns(l), d = t ? Xs : e ? lt : Ce;
|
|
832
|
+
if (f.call(l, r))
|
|
833
|
+
return d(i.get(r));
|
|
834
|
+
if (f.call(l, o))
|
|
835
|
+
return d(i.get(o));
|
|
836
|
+
i !== l && i.get(r);
|
|
837
|
+
},
|
|
838
|
+
get size() {
|
|
839
|
+
const r = this.__v_raw;
|
|
840
|
+
return !e && ie(/* @__PURE__ */ K(r), "iterate", pt), r.size;
|
|
841
|
+
},
|
|
842
|
+
has(r) {
|
|
843
|
+
const i = this.__v_raw, l = /* @__PURE__ */ K(i), o = /* @__PURE__ */ K(r);
|
|
844
|
+
return e || (Ne(r, o) && ie(l, "has", r), ie(l, "has", o)), r === o ? i.has(r) : i.has(r) || i.has(o);
|
|
845
|
+
},
|
|
846
|
+
forEach(r, i) {
|
|
847
|
+
const l = this, o = l.__v_raw, f = /* @__PURE__ */ K(o), d = t ? Xs : e ? lt : Ce;
|
|
848
|
+
return !e && ie(f, "iterate", pt), o.forEach((a, g) => r.call(i, d(a), d(g), l));
|
|
849
|
+
}
|
|
850
|
+
};
|
|
851
|
+
return te(
|
|
852
|
+
s,
|
|
853
|
+
e ? {
|
|
854
|
+
add: rs("add"),
|
|
855
|
+
set: rs("set"),
|
|
856
|
+
delete: rs("delete"),
|
|
857
|
+
clear: rs("clear")
|
|
858
|
+
} : {
|
|
859
|
+
add(r) {
|
|
860
|
+
const i = /* @__PURE__ */ K(this), l = ns(i), o = /* @__PURE__ */ K(r), f = !t && !/* @__PURE__ */ Se(r) && !/* @__PURE__ */ Be(r) ? o : r;
|
|
861
|
+
return l.has.call(i, f) || Ne(r, f) && l.has.call(i, r) || Ne(o, f) && l.has.call(i, o) || (i.add(f), Xe(i, "add", f, f)), this;
|
|
862
|
+
},
|
|
863
|
+
set(r, i) {
|
|
864
|
+
!t && !/* @__PURE__ */ Se(i) && !/* @__PURE__ */ Be(i) && (i = /* @__PURE__ */ K(i));
|
|
865
|
+
const l = /* @__PURE__ */ K(this), { has: o, get: f } = ns(l);
|
|
866
|
+
let d = o.call(l, r);
|
|
867
|
+
d || (r = /* @__PURE__ */ K(r), d = o.call(l, r));
|
|
868
|
+
const a = f.call(l, r);
|
|
869
|
+
return l.set(r, i), d ? Ne(i, a) && Xe(l, "set", r, i) : Xe(l, "add", r, i), this;
|
|
870
|
+
},
|
|
871
|
+
delete(r) {
|
|
872
|
+
const i = /* @__PURE__ */ K(this), { has: l, get: o } = ns(i);
|
|
873
|
+
let f = l.call(i, r);
|
|
874
|
+
f || (r = /* @__PURE__ */ K(r), f = l.call(i, r)), o && o.call(i, r);
|
|
875
|
+
const d = i.delete(r);
|
|
876
|
+
return f && Xe(i, "delete", r, void 0), d;
|
|
877
|
+
},
|
|
878
|
+
clear() {
|
|
879
|
+
const r = /* @__PURE__ */ K(this), i = r.size !== 0, l = r.clear();
|
|
880
|
+
return i && Xe(
|
|
881
|
+
r,
|
|
882
|
+
"clear",
|
|
883
|
+
void 0,
|
|
884
|
+
void 0
|
|
885
|
+
), l;
|
|
886
|
+
}
|
|
887
|
+
}
|
|
888
|
+
), [
|
|
889
|
+
"keys",
|
|
890
|
+
"values",
|
|
891
|
+
"entries",
|
|
892
|
+
Symbol.iterator
|
|
893
|
+
].forEach((r) => {
|
|
894
|
+
s[r] = Ui(r, e, t);
|
|
895
|
+
}), s;
|
|
896
|
+
}
|
|
897
|
+
function pn(e, t) {
|
|
898
|
+
const s = Ki(e, t);
|
|
899
|
+
return (n, r, i) => r === "__v_isReactive" ? !e : r === "__v_isReadonly" ? e : r === "__v_isShallow" ? t : r === "__v_raw" ? n : Reflect.get(
|
|
900
|
+
U(s, r) && r in n ? s : n,
|
|
901
|
+
r,
|
|
902
|
+
i
|
|
903
|
+
);
|
|
904
|
+
}
|
|
905
|
+
const Bi = {
|
|
906
|
+
get: /* @__PURE__ */ pn(!1, !1)
|
|
907
|
+
}, ki = {
|
|
908
|
+
get: /* @__PURE__ */ pn(!1, !0)
|
|
909
|
+
}, Wi = {
|
|
910
|
+
get: /* @__PURE__ */ pn(!0, !1)
|
|
911
|
+
};
|
|
912
|
+
const Ar = /* @__PURE__ */ new WeakMap(), Pr = /* @__PURE__ */ new WeakMap(), Ir = /* @__PURE__ */ new WeakMap(), qi = /* @__PURE__ */ new WeakMap();
|
|
913
|
+
function Gi(e) {
|
|
914
|
+
switch (e) {
|
|
915
|
+
case "Object":
|
|
916
|
+
case "Array":
|
|
917
|
+
return 1;
|
|
918
|
+
case "Map":
|
|
919
|
+
case "Set":
|
|
920
|
+
case "WeakMap":
|
|
921
|
+
case "WeakSet":
|
|
922
|
+
return 2;
|
|
923
|
+
default:
|
|
924
|
+
return 0;
|
|
925
|
+
}
|
|
926
|
+
}
|
|
927
|
+
// @__NO_SIDE_EFFECTS__
|
|
928
|
+
function gn(e) {
|
|
929
|
+
return /* @__PURE__ */ Be(e) ? e : mn(
|
|
930
|
+
e,
|
|
931
|
+
!1,
|
|
932
|
+
Ni,
|
|
933
|
+
Bi,
|
|
934
|
+
Ar
|
|
935
|
+
);
|
|
936
|
+
}
|
|
937
|
+
// @__NO_SIDE_EFFECTS__
|
|
938
|
+
function Ji(e) {
|
|
939
|
+
return mn(
|
|
940
|
+
e,
|
|
941
|
+
!1,
|
|
942
|
+
Li,
|
|
943
|
+
ki,
|
|
944
|
+
Pr
|
|
945
|
+
);
|
|
946
|
+
}
|
|
947
|
+
// @__NO_SIDE_EFFECTS__
|
|
948
|
+
function Zs(e) {
|
|
949
|
+
return mn(
|
|
950
|
+
e,
|
|
951
|
+
!0,
|
|
952
|
+
Hi,
|
|
953
|
+
Wi,
|
|
954
|
+
Ir
|
|
955
|
+
);
|
|
956
|
+
}
|
|
957
|
+
function mn(e, t, s, n, r) {
|
|
958
|
+
if (!q(e) || e.__v_raw && !(t && e.__v_isReactive) || e.__v_skip || !Object.isExtensible(e))
|
|
959
|
+
return e;
|
|
960
|
+
const i = r.get(e);
|
|
961
|
+
if (i)
|
|
962
|
+
return i;
|
|
963
|
+
const l = Gi(_i(e));
|
|
964
|
+
if (l === 0)
|
|
965
|
+
return e;
|
|
966
|
+
const o = new Proxy(
|
|
967
|
+
e,
|
|
968
|
+
l === 2 ? n : s
|
|
969
|
+
);
|
|
970
|
+
return r.set(e, o), o;
|
|
971
|
+
}
|
|
972
|
+
// @__NO_SIDE_EFFECTS__
|
|
973
|
+
function rt(e) {
|
|
974
|
+
return /* @__PURE__ */ Be(e) ? /* @__PURE__ */ rt(e.__v_raw) : !!(e && e.__v_isReactive);
|
|
975
|
+
}
|
|
976
|
+
// @__NO_SIDE_EFFECTS__
|
|
977
|
+
function Be(e) {
|
|
978
|
+
return !!(e && e.__v_isReadonly);
|
|
979
|
+
}
|
|
980
|
+
// @__NO_SIDE_EFFECTS__
|
|
981
|
+
function Se(e) {
|
|
982
|
+
return !!(e && e.__v_isShallow);
|
|
983
|
+
}
|
|
984
|
+
// @__NO_SIDE_EFFECTS__
|
|
985
|
+
function bn(e) {
|
|
986
|
+
return e ? !!e.__v_raw : !1;
|
|
987
|
+
}
|
|
988
|
+
// @__NO_SIDE_EFFECTS__
|
|
989
|
+
function K(e) {
|
|
990
|
+
const t = e && e.__v_raw;
|
|
991
|
+
return t ? /* @__PURE__ */ K(t) : e;
|
|
992
|
+
}
|
|
993
|
+
function Yi(e) {
|
|
994
|
+
return !U(e, "__v_skip") && Object.isExtensible(e) && dr(e, "__v_skip", !0), e;
|
|
995
|
+
}
|
|
996
|
+
const Ce = (e) => q(e) ? /* @__PURE__ */ gn(e) : e, lt = (e) => q(e) ? /* @__PURE__ */ Zs(e) : e;
|
|
997
|
+
// @__NO_SIDE_EFFECTS__
|
|
998
|
+
function le(e) {
|
|
999
|
+
return e ? e.__v_isRef === !0 : !1;
|
|
1000
|
+
}
|
|
1001
|
+
// @__NO_SIDE_EFFECTS__
|
|
1002
|
+
function ee(e) {
|
|
1003
|
+
return zi(e, !1);
|
|
1004
|
+
}
|
|
1005
|
+
function zi(e, t) {
|
|
1006
|
+
return /* @__PURE__ */ le(e) ? e : new Xi(e, t);
|
|
1007
|
+
}
|
|
1008
|
+
class Xi {
|
|
1009
|
+
constructor(t, s) {
|
|
1010
|
+
this.dep = new hn(), this.__v_isRef = !0, this.__v_isShallow = !1, this._rawValue = s ? t : /* @__PURE__ */ K(t), this._value = s ? t : Ce(t), this.__v_isShallow = s;
|
|
1011
|
+
}
|
|
1012
|
+
get value() {
|
|
1013
|
+
return this.dep.track(), this._value;
|
|
1014
|
+
}
|
|
1015
|
+
set value(t) {
|
|
1016
|
+
const s = this._rawValue, n = this.__v_isShallow || /* @__PURE__ */ Se(t) || /* @__PURE__ */ Be(t);
|
|
1017
|
+
t = n ? t : /* @__PURE__ */ K(t), Ne(t, s) && (this._rawValue = t, this._value = n ? t : Ce(t), this.dep.trigger());
|
|
1018
|
+
}
|
|
1019
|
+
}
|
|
1020
|
+
function Zi(e) {
|
|
1021
|
+
return /* @__PURE__ */ le(e) ? e.value : e;
|
|
1022
|
+
}
|
|
1023
|
+
const Qi = {
|
|
1024
|
+
get: (e, t, s) => t === "__v_raw" ? e : Zi(Reflect.get(e, t, s)),
|
|
1025
|
+
set: (e, t, s, n) => {
|
|
1026
|
+
const r = e[t];
|
|
1027
|
+
return /* @__PURE__ */ le(r) && !/* @__PURE__ */ le(s) ? (r.value = s, !0) : Reflect.set(e, t, s, n);
|
|
1028
|
+
}
|
|
1029
|
+
};
|
|
1030
|
+
function Mr(e) {
|
|
1031
|
+
return /* @__PURE__ */ rt(e) ? e : new Proxy(e, Qi);
|
|
1032
|
+
}
|
|
1033
|
+
class el {
|
|
1034
|
+
constructor(t, s, n) {
|
|
1035
|
+
this.fn = t, this.setter = s, this._value = void 0, this.dep = new hn(this), this.__v_isRef = !0, this.deps = void 0, this.depsTail = void 0, this.flags = 16, this.globalVersion = Bt - 1, this.next = void 0, this.effect = this, this.__v_isReadonly = !s, this.isSSR = n;
|
|
1036
|
+
}
|
|
1037
|
+
/**
|
|
1038
|
+
* @internal
|
|
1039
|
+
*/
|
|
1040
|
+
notify() {
|
|
1041
|
+
if (this.flags |= 16, !(this.flags & 8) && // avoid infinite self recursion
|
|
1042
|
+
Y !== this)
|
|
1043
|
+
return _r(this, !0), !0;
|
|
1044
|
+
}
|
|
1045
|
+
get value() {
|
|
1046
|
+
const t = this.dep.track();
|
|
1047
|
+
return xr(this), t && (t.version = this.dep.version), this._value;
|
|
1048
|
+
}
|
|
1049
|
+
set value(t) {
|
|
1050
|
+
this.setter && this.setter(t);
|
|
1051
|
+
}
|
|
1052
|
+
}
|
|
1053
|
+
// @__NO_SIDE_EFFECTS__
|
|
1054
|
+
function tl(e, t, s = !1) {
|
|
1055
|
+
let n, r;
|
|
1056
|
+
return j(e) ? n = e : (n = e.get, r = e.set), new el(n, r, s);
|
|
1057
|
+
}
|
|
1058
|
+
const is = {}, hs = /* @__PURE__ */ new WeakMap();
|
|
1059
|
+
let ut;
|
|
1060
|
+
function sl(e, t = !1, s = ut) {
|
|
1061
|
+
if (s) {
|
|
1062
|
+
let n = hs.get(s);
|
|
1063
|
+
n || hs.set(s, n = []), n.push(e);
|
|
1064
|
+
}
|
|
1065
|
+
}
|
|
1066
|
+
function nl(e, t, s = G) {
|
|
1067
|
+
const { immediate: n, deep: r, once: i, scheduler: l, augmentJob: o, call: f } = s, d = (I) => r ? I : /* @__PURE__ */ Se(I) || r === !1 || r === 0 ? Ze(I, 1) : Ze(I);
|
|
1068
|
+
let a, g, E, O, L = !1, F = !1;
|
|
1069
|
+
if (/* @__PURE__ */ le(e) ? (g = () => e.value, L = /* @__PURE__ */ Se(e)) : /* @__PURE__ */ rt(e) ? (g = () => d(e), L = !0) : R(e) ? (F = !0, L = e.some((I) => /* @__PURE__ */ rt(I) || /* @__PURE__ */ Se(I)), g = () => e.map((I) => {
|
|
1070
|
+
if (/* @__PURE__ */ le(I))
|
|
1071
|
+
return I.value;
|
|
1072
|
+
if (/* @__PURE__ */ rt(I))
|
|
1073
|
+
return d(I);
|
|
1074
|
+
if (j(I))
|
|
1075
|
+
return f ? f(I, 2) : I();
|
|
1076
|
+
})) : j(e) ? t ? g = f ? () => f(e, 2) : e : g = () => {
|
|
1077
|
+
if (E) {
|
|
1078
|
+
Ue();
|
|
1079
|
+
try {
|
|
1080
|
+
E();
|
|
1081
|
+
} finally {
|
|
1082
|
+
Ke();
|
|
1083
|
+
}
|
|
1084
|
+
}
|
|
1085
|
+
const I = ut;
|
|
1086
|
+
ut = a;
|
|
1087
|
+
try {
|
|
1088
|
+
return f ? f(e, 3, [O]) : e(O);
|
|
1089
|
+
} finally {
|
|
1090
|
+
ut = I;
|
|
1091
|
+
}
|
|
1092
|
+
} : g = He, t && r) {
|
|
1093
|
+
const I = g, X = r === !0 ? 1 / 0 : r;
|
|
1094
|
+
g = () => Ze(I(), X);
|
|
1095
|
+
}
|
|
1096
|
+
const B = Mi(), k = () => {
|
|
1097
|
+
a.stop(), B && B.active && on(B.effects, a);
|
|
1098
|
+
};
|
|
1099
|
+
if (i && t) {
|
|
1100
|
+
const I = t;
|
|
1101
|
+
t = (...X) => {
|
|
1102
|
+
try {
|
|
1103
|
+
return I(...X);
|
|
1104
|
+
} finally {
|
|
1105
|
+
k();
|
|
1106
|
+
}
|
|
1107
|
+
};
|
|
1108
|
+
}
|
|
1109
|
+
let N = F ? new Array(e.length).fill(is) : is;
|
|
1110
|
+
const H = (I) => {
|
|
1111
|
+
if (!(!(a.flags & 1) || !a.dirty && !I))
|
|
1112
|
+
if (t) {
|
|
1113
|
+
const X = a.run();
|
|
1114
|
+
if (I || r || L || (F ? X.some((we, me) => Ne(we, N[me])) : Ne(X, N))) {
|
|
1115
|
+
const we = ut;
|
|
1116
|
+
Ue();
|
|
1117
|
+
try {
|
|
1118
|
+
E && E(), ut = a;
|
|
1119
|
+
const me = [
|
|
1120
|
+
X,
|
|
1121
|
+
// pass undefined as the old value when it's changed for the first time
|
|
1122
|
+
N === is ? void 0 : F && N[0] === is ? [] : N,
|
|
1123
|
+
O
|
|
1124
|
+
];
|
|
1125
|
+
N = X, f ? f(t, 3, me) : (
|
|
1126
|
+
// @ts-expect-error
|
|
1127
|
+
t(...me)
|
|
1128
|
+
);
|
|
1129
|
+
} finally {
|
|
1130
|
+
ut = we, Ke();
|
|
1131
|
+
}
|
|
1132
|
+
}
|
|
1133
|
+
} else
|
|
1134
|
+
a.run();
|
|
1135
|
+
};
|
|
1136
|
+
return o && o(H), a = new mr(g), a.scheduler = l ? () => l(H, !1) : H, O = (I) => sl(I, !1, a), E = a.onStop = () => {
|
|
1137
|
+
const I = hs.get(a);
|
|
1138
|
+
if (I) {
|
|
1139
|
+
if (f)
|
|
1140
|
+
f(I, 4);
|
|
1141
|
+
else
|
|
1142
|
+
for (const X of I) X();
|
|
1143
|
+
hs.delete(a);
|
|
1144
|
+
}
|
|
1145
|
+
}, t ? n ? H(!0) : N = a.run() : l ? l(H.bind(null, !0), !0) : a.run(), k.pause = a.pause.bind(a), k.resume = a.resume.bind(a), k.stop = k, k;
|
|
1146
|
+
}
|
|
1147
|
+
function Ze(e, t = 1 / 0, s) {
|
|
1148
|
+
if (t <= 0 || !q(e) || e.__v_skip || (s = s || /* @__PURE__ */ new Map(), (s.get(e) || 0) >= t))
|
|
1149
|
+
return e;
|
|
1150
|
+
if (s.set(e, t), t--, /* @__PURE__ */ le(e))
|
|
1151
|
+
Ze(e.value, t, s);
|
|
1152
|
+
else if (R(e))
|
|
1153
|
+
for (let n = 0; n < e.length; n++)
|
|
1154
|
+
Ze(e[n], t, s);
|
|
1155
|
+
else if (mt(e) || nt(e))
|
|
1156
|
+
e.forEach((n) => {
|
|
1157
|
+
Ze(n, t, s);
|
|
1158
|
+
});
|
|
1159
|
+
else if (ur(e)) {
|
|
1160
|
+
for (const n in e)
|
|
1161
|
+
Ze(e[n], t, s);
|
|
1162
|
+
for (const n of Object.getOwnPropertySymbols(e))
|
|
1163
|
+
Object.prototype.propertyIsEnumerable.call(e, n) && Ze(e[n], t, s);
|
|
1164
|
+
}
|
|
1165
|
+
return e;
|
|
1166
|
+
}
|
|
1167
|
+
/**
|
|
1168
|
+
* @vue/runtime-core v3.5.45
|
|
1169
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
1170
|
+
* @license MIT
|
|
1171
|
+
**/
|
|
1172
|
+
function Zt(e, t, s, n) {
|
|
1173
|
+
try {
|
|
1174
|
+
return n ? e(...n) : e();
|
|
1175
|
+
} catch (r) {
|
|
1176
|
+
Ps(r, t, s);
|
|
1177
|
+
}
|
|
1178
|
+
}
|
|
1179
|
+
function Pe(e, t, s, n) {
|
|
1180
|
+
if (j(e)) {
|
|
1181
|
+
const r = Zt(e, t, s, n);
|
|
1182
|
+
return r && cr(r) && r.catch((i) => {
|
|
1183
|
+
Ps(i, t, s, void 0, !0);
|
|
1184
|
+
}), r;
|
|
1185
|
+
}
|
|
1186
|
+
if (R(e)) {
|
|
1187
|
+
const r = [];
|
|
1188
|
+
for (let i = 0; i < e.length; i++)
|
|
1189
|
+
r.push(Pe(e[i], t, s, n));
|
|
1190
|
+
return r;
|
|
1191
|
+
}
|
|
1192
|
+
}
|
|
1193
|
+
function Ps(e, t, s, n = !0, r = !1) {
|
|
1194
|
+
const i = t ? t.vnode : null, { errorHandler: l, throwUnhandledErrorInProduction: o } = t && t.appContext.config || G;
|
|
1195
|
+
if (t) {
|
|
1196
|
+
let f = t.parent;
|
|
1197
|
+
const d = t.proxy, a = `https://vuejs.org/error-reference/#runtime-${s}`;
|
|
1198
|
+
for (; f; ) {
|
|
1199
|
+
const g = f.ec;
|
|
1200
|
+
if (g && !f.isUnmounted && // Async failures may outlive stopped scopes whose unmount effects
|
|
1201
|
+
// are deferred or discarded by Suspense.
|
|
1202
|
+
(!r || f.scope.active)) {
|
|
1203
|
+
for (let E = 0; E < g.length; E++)
|
|
1204
|
+
if (g[E](e, d, a) === !1)
|
|
1205
|
+
return;
|
|
1206
|
+
}
|
|
1207
|
+
f = f.parent;
|
|
1208
|
+
}
|
|
1209
|
+
if (l) {
|
|
1210
|
+
Ue(), Zt(l, null, 10, [
|
|
1211
|
+
e,
|
|
1212
|
+
d,
|
|
1213
|
+
a
|
|
1214
|
+
]), Ke();
|
|
1215
|
+
return;
|
|
1216
|
+
}
|
|
1217
|
+
}
|
|
1218
|
+
rl(e, s, i, n, o);
|
|
1219
|
+
}
|
|
1220
|
+
function rl(e, t, s, n = !0, r = !1) {
|
|
1221
|
+
if (r)
|
|
1222
|
+
throw e;
|
|
1223
|
+
console.error(e);
|
|
1224
|
+
}
|
|
1225
|
+
const de = [];
|
|
1226
|
+
let Te = -1;
|
|
1227
|
+
const je = [];
|
|
1228
|
+
let st = null, wt = 0;
|
|
1229
|
+
const Rr = /* @__PURE__ */ Promise.resolve();
|
|
1230
|
+
let ps = null;
|
|
1231
|
+
function gs(e) {
|
|
1232
|
+
const t = ps || Rr;
|
|
1233
|
+
return e ? t.then(this ? e.bind(this) : e) : t;
|
|
1234
|
+
}
|
|
1235
|
+
function il(e) {
|
|
1236
|
+
let t = Te + 1, s = de.length;
|
|
1237
|
+
for (; t < s; ) {
|
|
1238
|
+
const n = t + s >>> 1, r = de[n], i = Wt(r);
|
|
1239
|
+
i < e || i === e && r.flags & 2 ? t = n + 1 : s = n;
|
|
1240
|
+
}
|
|
1241
|
+
return t;
|
|
1242
|
+
}
|
|
1243
|
+
function _n(e) {
|
|
1244
|
+
if (!(e.flags & 1)) {
|
|
1245
|
+
const t = Wt(e), s = de[de.length - 1];
|
|
1246
|
+
!s || // fast path when the job id is larger than the tail
|
|
1247
|
+
!(e.flags & 2) && t >= Wt(s) ? de.push(e) : de.splice(il(t), 0, e), e.flags |= 1, Fr();
|
|
1248
|
+
}
|
|
1249
|
+
}
|
|
1250
|
+
function Fr() {
|
|
1251
|
+
ps || (ps = Rr.then(jr));
|
|
1252
|
+
}
|
|
1253
|
+
function ll(e) {
|
|
1254
|
+
if (!R(e))
|
|
1255
|
+
st && e.id === -1 ? st.splice(wt + 1, 0, e) : e.flags & 1 || (je.push(e), e.flags |= 1);
|
|
1256
|
+
else
|
|
1257
|
+
for (let t = 0; t < e.length; t++)
|
|
1258
|
+
je.push(e[t]);
|
|
1259
|
+
Fr();
|
|
1260
|
+
}
|
|
1261
|
+
function Dr(e, t, s, n = Te + 1) {
|
|
1262
|
+
for (; n < de.length; n++) {
|
|
1263
|
+
const r = de[n];
|
|
1264
|
+
if (r && r.flags & 2) {
|
|
1265
|
+
if (e && r.id !== e.uid || t !== void 0 && !(r.id >= t))
|
|
1266
|
+
continue;
|
|
1267
|
+
de.splice(n, 1), n = e ? n - 1 : Te, r.flags & 4 && (r.flags &= -2), r(), r.flags & 4 || (r.flags &= -2);
|
|
1268
|
+
}
|
|
1269
|
+
}
|
|
1270
|
+
}
|
|
1271
|
+
function Vr(e, t, s = 0) {
|
|
1272
|
+
if (je.length) {
|
|
1273
|
+
let n = je, r = 0;
|
|
1274
|
+
if (t) {
|
|
1275
|
+
n = [];
|
|
1276
|
+
for (let l = 0; l < je.length; l++) {
|
|
1277
|
+
const o = je[l];
|
|
1278
|
+
(o.i !== void 0 ? !o.i || o.i.uid < s : t.has(o)) ? je[r++] = o : n.push(o);
|
|
1279
|
+
}
|
|
1280
|
+
}
|
|
1281
|
+
const i = [...new Set(n)].sort((l, o) => Wt(l) - Wt(o));
|
|
1282
|
+
if (je.length = r, st) {
|
|
1283
|
+
for (let l = 0; l < i.length; l++)
|
|
1284
|
+
st.push(i[l]);
|
|
1285
|
+
return;
|
|
1286
|
+
}
|
|
1287
|
+
for (st = i, wt = 0; wt < st.length; wt++) {
|
|
1288
|
+
const l = st[wt];
|
|
1289
|
+
l.flags & 4 && (l.flags &= -2), l.flags & 8 || l(), l.flags &= -2;
|
|
1290
|
+
}
|
|
1291
|
+
st = null, wt = 0;
|
|
1292
|
+
}
|
|
1293
|
+
}
|
|
1294
|
+
let Ls = !1;
|
|
1295
|
+
function ol(e, t) {
|
|
1296
|
+
if (Ls) {
|
|
1297
|
+
e();
|
|
1298
|
+
return;
|
|
1299
|
+
}
|
|
1300
|
+
const s = t === void 0 ? void 0 : new Set(je);
|
|
1301
|
+
e(), Ls = !0;
|
|
1302
|
+
try {
|
|
1303
|
+
Dr(void 0, t), Vr(void 0, s, t);
|
|
1304
|
+
} finally {
|
|
1305
|
+
Ls = !1;
|
|
1306
|
+
}
|
|
1307
|
+
}
|
|
1308
|
+
const Wt = (e) => e.id == null ? e.flags & 2 ? -1 : 1 / 0 : e.id;
|
|
1309
|
+
function jr(e) {
|
|
1310
|
+
try {
|
|
1311
|
+
for (Te = 0; Te < de.length; Te++) {
|
|
1312
|
+
const t = de[Te];
|
|
1313
|
+
t && !(t.flags & 8) && (t.flags & 4 && (t.flags &= -2), Zt(
|
|
1314
|
+
t,
|
|
1315
|
+
t.i,
|
|
1316
|
+
t.i ? 15 : 14
|
|
1317
|
+
), t.flags & 4 || (t.flags &= -2));
|
|
1318
|
+
}
|
|
1319
|
+
} finally {
|
|
1320
|
+
for (; Te < de.length; Te++) {
|
|
1321
|
+
const t = de[Te];
|
|
1322
|
+
t && (t.flags &= -2);
|
|
1323
|
+
}
|
|
1324
|
+
Te = -1, de.length = 0, Vr(), ps = null, (de.length || je.length) && jr();
|
|
1325
|
+
}
|
|
1326
|
+
}
|
|
1327
|
+
let xe = null, $r = null;
|
|
1328
|
+
function ms(e) {
|
|
1329
|
+
const t = xe;
|
|
1330
|
+
return xe = e, $r = e && e.type.__scopeId || null, t;
|
|
1331
|
+
}
|
|
1332
|
+
function cl(e, t = xe, s) {
|
|
1333
|
+
if (!t || e._n)
|
|
1334
|
+
return e;
|
|
1335
|
+
const n = (...r) => {
|
|
1336
|
+
n._d && kn(-1);
|
|
1337
|
+
const i = ms(t), l = gt.length;
|
|
1338
|
+
let o;
|
|
1339
|
+
try {
|
|
1340
|
+
o = e(...r);
|
|
1341
|
+
} finally {
|
|
1342
|
+
for (let f = gt.length; f > l; f--) li();
|
|
1343
|
+
ms(i), n._d && kn(1);
|
|
1344
|
+
}
|
|
1345
|
+
return o;
|
|
1346
|
+
};
|
|
1347
|
+
return n._n = !0, n._c = !0, n._d = !0, n;
|
|
1348
|
+
}
|
|
1349
|
+
function Ct(e, t) {
|
|
1350
|
+
if (xe === null)
|
|
1351
|
+
return e;
|
|
1352
|
+
const s = Fs(xe), n = e.dirs || (e.dirs = []);
|
|
1353
|
+
for (let r = 0; r < t.length; r++) {
|
|
1354
|
+
let [i, l, o, f = G] = t[r];
|
|
1355
|
+
i && (j(i) && (i = {
|
|
1356
|
+
mounted: i,
|
|
1357
|
+
updated: i
|
|
1358
|
+
}), i.deep && Ze(l), n.push({
|
|
1359
|
+
dir: i,
|
|
1360
|
+
instance: s,
|
|
1361
|
+
value: l,
|
|
1362
|
+
oldValue: void 0,
|
|
1363
|
+
arg: o,
|
|
1364
|
+
modifiers: f
|
|
1365
|
+
}));
|
|
1366
|
+
}
|
|
1367
|
+
return e;
|
|
1368
|
+
}
|
|
1369
|
+
function ot(e, t, s, n) {
|
|
1370
|
+
let r = e;
|
|
1371
|
+
if (n === "beforeMount")
|
|
1372
|
+
e._mount = e;
|
|
1373
|
+
else if (n === "beforeUpdate") {
|
|
1374
|
+
const o = t && t._mount;
|
|
1375
|
+
o && (o._latest = e, e._mount = o);
|
|
1376
|
+
} else if (n === "mounted") {
|
|
1377
|
+
const o = e._latest;
|
|
1378
|
+
e._mount = e._latest = void 0, o && (r = o, o._mount = void 0);
|
|
1379
|
+
}
|
|
1380
|
+
const i = r.dirs, l = t && t.dirs;
|
|
1381
|
+
for (let o = 0; o < i.length; o++) {
|
|
1382
|
+
let f = i[o];
|
|
1383
|
+
l ? f.oldValue = l[o].value : n === "mounted" && f.oldValue !== void 0 && (f = te({}, f, { oldValue: void 0 }));
|
|
1384
|
+
let d = f.dir[n];
|
|
1385
|
+
d && (Ue(), Pe(d, s, 8, [
|
|
1386
|
+
e.el,
|
|
1387
|
+
f,
|
|
1388
|
+
r,
|
|
1389
|
+
t
|
|
1390
|
+
]), Ke());
|
|
1391
|
+
}
|
|
1392
|
+
}
|
|
1393
|
+
function fl(e, t) {
|
|
1394
|
+
if (pe) {
|
|
1395
|
+
let s = pe.provides;
|
|
1396
|
+
const n = pe.parent && pe.parent.provides;
|
|
1397
|
+
n === s && (s = pe.provides = Object.create(n)), s[e] = t;
|
|
1398
|
+
}
|
|
1399
|
+
}
|
|
1400
|
+
function us(e, t, s = !1) {
|
|
1401
|
+
const n = uo();
|
|
1402
|
+
if (n || Ot) {
|
|
1403
|
+
let r = Ot ? Ot._context.provides : n ? n.parent == null || n.ce ? n.vnode.appContext && n.vnode.appContext.provides : n.parent.provides : void 0;
|
|
1404
|
+
if (r && e in r)
|
|
1405
|
+
return r[e];
|
|
1406
|
+
if (arguments.length > 1)
|
|
1407
|
+
return s && j(t) ? t.call(n && n.proxy) : t;
|
|
1408
|
+
}
|
|
1409
|
+
}
|
|
1410
|
+
const ul = /* @__PURE__ */ Symbol.for("v-scx"), al = () => us(ul);
|
|
1411
|
+
function as(e, t, s) {
|
|
1412
|
+
return Nr(e, t, s);
|
|
1413
|
+
}
|
|
1414
|
+
function Nr(e, t, s = G) {
|
|
1415
|
+
const { immediate: n, deep: r, flush: i, once: l } = s, o = te({}, s), f = t && n || !t && i !== "post";
|
|
1416
|
+
let d;
|
|
1417
|
+
if (Yt) {
|
|
1418
|
+
if (i === "sync") {
|
|
1419
|
+
const O = al();
|
|
1420
|
+
d = O.__watcherHandles || (O.__watcherHandles = []);
|
|
1421
|
+
} else if (!f) {
|
|
1422
|
+
const O = () => {
|
|
1423
|
+
};
|
|
1424
|
+
return O.stop = He, O.resume = He, O.pause = He, O;
|
|
1425
|
+
}
|
|
1426
|
+
}
|
|
1427
|
+
const a = pe;
|
|
1428
|
+
o.call = (O, L, F) => Pe(O, a, L, F);
|
|
1429
|
+
let g = !1;
|
|
1430
|
+
i === "post" ? o.scheduler = (O) => {
|
|
1431
|
+
O.i = a, ae(O, a && a.suspense);
|
|
1432
|
+
} : i !== "sync" && (g = !0, o.scheduler = (O, L) => {
|
|
1433
|
+
L ? O() : _n(O);
|
|
1434
|
+
}), o.augmentJob = (O) => {
|
|
1435
|
+
t && (O.flags |= 4), g && (O.flags |= 2, a && (O.id = a.uid, O.i = a));
|
|
1436
|
+
};
|
|
1437
|
+
const E = nl(e, t, o);
|
|
1438
|
+
return Yt && (d ? d.push(E) : f && E()), E;
|
|
1439
|
+
}
|
|
1440
|
+
function dl(e, t, s) {
|
|
1441
|
+
const n = this.proxy, r = Z(e) ? e.includes(".") ? Hr(n, e) : () => n[e] : e.bind(n, n);
|
|
1442
|
+
let i;
|
|
1443
|
+
j(t) ? i = t : (i = t.handler, s = t);
|
|
1444
|
+
const l = Qt(this), o = Nr(r, i.bind(n), s);
|
|
1445
|
+
return l(), o;
|
|
1446
|
+
}
|
|
1447
|
+
function Hr(e, t) {
|
|
1448
|
+
const s = t.split(".");
|
|
1449
|
+
return () => {
|
|
1450
|
+
let n = e;
|
|
1451
|
+
for (let r = 0; r < s.length && n; r++)
|
|
1452
|
+
n = n[s[r]];
|
|
1453
|
+
return n;
|
|
1454
|
+
};
|
|
1455
|
+
}
|
|
1456
|
+
const hl = /* @__PURE__ */ Symbol("_vte"), Is = (e) => e.__isTeleport, Us = /* @__PURE__ */ Symbol("_leaveCb");
|
|
1457
|
+
function pl(e) {
|
|
1458
|
+
let t = e[0];
|
|
1459
|
+
if (e.length > 1) {
|
|
1460
|
+
for (const s of e)
|
|
1461
|
+
if (s.type !== Ie) {
|
|
1462
|
+
t = s;
|
|
1463
|
+
break;
|
|
1464
|
+
}
|
|
1465
|
+
}
|
|
1466
|
+
return t;
|
|
1467
|
+
}
|
|
1468
|
+
function Lr(e) {
|
|
1469
|
+
if (!vn(e))
|
|
1470
|
+
return Is(e.type) && e.children ? pl(e.children) : e;
|
|
1471
|
+
if (e.component)
|
|
1472
|
+
return e.component.subTree;
|
|
1473
|
+
const { shapeFlag: t, children: s } = e;
|
|
1474
|
+
if (s) {
|
|
1475
|
+
if (t & 16)
|
|
1476
|
+
return s[0];
|
|
1477
|
+
if (t & 32 && j(s.default))
|
|
1478
|
+
return s.default();
|
|
1479
|
+
}
|
|
1480
|
+
}
|
|
1481
|
+
function Nt(e, t) {
|
|
1482
|
+
if (e.shapeFlag & 6 && e.component) {
|
|
1483
|
+
e.transition = t;
|
|
1484
|
+
const s = e.component.subTree;
|
|
1485
|
+
Nt(
|
|
1486
|
+
Is(s.type) && Lr(s) || s,
|
|
1487
|
+
t
|
|
1488
|
+
);
|
|
1489
|
+
} else if (e.shapeFlag & 128) {
|
|
1490
|
+
const s = e.suspense;
|
|
1491
|
+
if (s) {
|
|
1492
|
+
const n = s.isHydrating ? s.pendingBranch : s.activeBranch;
|
|
1493
|
+
n && Nt(n, t.clone(n));
|
|
1494
|
+
} else
|
|
1495
|
+
e.ssContent.transition = t.clone(e.ssContent), e.ssFallback.transition = t.clone(e.ssFallback);
|
|
1496
|
+
} else if (e.transition = t, e.type === he && R(e.children)) {
|
|
1497
|
+
const s = Gr(e.children, !1);
|
|
1498
|
+
s && Nt(s, t);
|
|
1499
|
+
}
|
|
1500
|
+
}
|
|
1501
|
+
function Qs(e) {
|
|
1502
|
+
if (e.component)
|
|
1503
|
+
return Qs(e.component.subTree);
|
|
1504
|
+
if (e.type === he) {
|
|
1505
|
+
const t = R(e.children) && Gr(e.children, !1);
|
|
1506
|
+
return t ? Qs(t) : void 0;
|
|
1507
|
+
}
|
|
1508
|
+
if (e.type !== Ie)
|
|
1509
|
+
return e;
|
|
1510
|
+
}
|
|
1511
|
+
// @__NO_SIDE_EFFECTS__
|
|
1512
|
+
function gl(e, t) {
|
|
1513
|
+
return j(e) ? (
|
|
1514
|
+
// #8236: extend call and options.name access are considered side-effects
|
|
1515
|
+
// by Rollup, so we have to wrap it in a pure-annotated IIFE.
|
|
1516
|
+
te({ name: e.name }, t, { setup: e })
|
|
1517
|
+
) : e;
|
|
1518
|
+
}
|
|
1519
|
+
function Ur(e) {
|
|
1520
|
+
e.ids = [e.ids[0] + e.ids[2]++ + "-", 0, 0];
|
|
1521
|
+
}
|
|
1522
|
+
function Dn(e, t) {
|
|
1523
|
+
let s;
|
|
1524
|
+
return !!((s = Object.getOwnPropertyDescriptor(e, t)) && !s.configurable);
|
|
1525
|
+
}
|
|
1526
|
+
const bs = /* @__PURE__ */ new WeakMap();
|
|
1527
|
+
function Ht(e, t, s, n, r = !1) {
|
|
1528
|
+
if (R(e)) {
|
|
1529
|
+
e.forEach(
|
|
1530
|
+
(F, B) => Ht(
|
|
1531
|
+
F,
|
|
1532
|
+
t && (R(t) ? t[B] : t),
|
|
1533
|
+
s,
|
|
1534
|
+
n,
|
|
1535
|
+
r
|
|
1536
|
+
)
|
|
1537
|
+
);
|
|
1538
|
+
return;
|
|
1539
|
+
}
|
|
1540
|
+
if (Lt(n) && !r) {
|
|
1541
|
+
n.shapeFlag & 512 && n.type.__asyncResolved && n.component.subTree.component && Ht(e, t, s, n.component.subTree);
|
|
1542
|
+
return;
|
|
1543
|
+
}
|
|
1544
|
+
const i = n.shapeFlag & 4 ? Fs(n.component) : n.el, l = r ? null : i, { i: o, r: f } = e, d = t && t.r, a = o.refs === G ? o.refs = {} : o.refs, g = o.setupState, E = /* @__PURE__ */ K(g), O = g === G ? or : (F) => Dn(a, F) ? !1 : U(E, F), L = (F, B) => !(B && Dn(a, B));
|
|
1545
|
+
if (d != null && d !== f) {
|
|
1546
|
+
if (Vn(t), Z(d))
|
|
1547
|
+
a[d] = null, O(d) && (g[d] = null);
|
|
1548
|
+
else if (/* @__PURE__ */ le(d)) {
|
|
1549
|
+
const F = t;
|
|
1550
|
+
L(d, F.k) && (d.value = null), F.k && (a[F.k] = null);
|
|
1551
|
+
}
|
|
1552
|
+
}
|
|
1553
|
+
if (j(f))
|
|
1554
|
+
Zt(f, o, 12, [l, a]);
|
|
1555
|
+
else {
|
|
1556
|
+
const F = Z(f), B = /* @__PURE__ */ le(f);
|
|
1557
|
+
if (F || B) {
|
|
1558
|
+
const k = () => {
|
|
1559
|
+
if (e.f) {
|
|
1560
|
+
const N = F ? O(f) ? g[f] : a[f] : L() || !e.k ? f.value : a[e.k];
|
|
1561
|
+
if (r)
|
|
1562
|
+
R(N) && on(N, i);
|
|
1563
|
+
else if (R(N))
|
|
1564
|
+
N.includes(i) || N.push(i);
|
|
1565
|
+
else if (F)
|
|
1566
|
+
a[f] = [i], O(f) && (g[f] = a[f]);
|
|
1567
|
+
else {
|
|
1568
|
+
const H = [i];
|
|
1569
|
+
L(f, e.k) && (f.value = H), e.k && (a[e.k] = H);
|
|
1570
|
+
}
|
|
1571
|
+
} else F ? (a[f] = l, O(f) && (g[f] = l)) : B && (L(f, e.k) && (f.value = l), e.k && (a[e.k] = l));
|
|
1572
|
+
};
|
|
1573
|
+
if (l) {
|
|
1574
|
+
const N = () => {
|
|
1575
|
+
k(), bs.delete(e);
|
|
1576
|
+
};
|
|
1577
|
+
N.id = -1, bs.set(e, N), ae(N, s);
|
|
1578
|
+
} else
|
|
1579
|
+
Vn(e), k();
|
|
1580
|
+
}
|
|
1581
|
+
}
|
|
1582
|
+
}
|
|
1583
|
+
function Vn(e) {
|
|
1584
|
+
const t = bs.get(e);
|
|
1585
|
+
t && (t.flags |= 8, bs.delete(e));
|
|
1586
|
+
}
|
|
1587
|
+
Os().requestIdleCallback;
|
|
1588
|
+
Os().cancelIdleCallback;
|
|
1589
|
+
const Lt = (e) => !!e.type.__asyncLoader, vn = (e) => e.type.__isKeepAlive;
|
|
1590
|
+
function ml(e, t) {
|
|
1591
|
+
Kr(e, "a", t);
|
|
1592
|
+
}
|
|
1593
|
+
function bl(e, t) {
|
|
1594
|
+
Kr(e, "da", t);
|
|
1595
|
+
}
|
|
1596
|
+
function Kr(e, t, s = pe) {
|
|
1597
|
+
const n = e.__wdc || (e.__wdc = () => {
|
|
1598
|
+
let r = s;
|
|
1599
|
+
for (; r; ) {
|
|
1600
|
+
if (r.isDeactivated)
|
|
1601
|
+
return;
|
|
1602
|
+
r = r.parent;
|
|
1603
|
+
}
|
|
1604
|
+
return e();
|
|
1605
|
+
});
|
|
1606
|
+
if (qt(t, n, s), s) {
|
|
1607
|
+
let r = s.parent;
|
|
1608
|
+
for (; r && r.parent; )
|
|
1609
|
+
vn(r.parent.vnode) && _l(n, t, s, r), r = r.parent;
|
|
1610
|
+
}
|
|
1611
|
+
}
|
|
1612
|
+
function _l(e, t, s, n) {
|
|
1613
|
+
const r = qt(
|
|
1614
|
+
t,
|
|
1615
|
+
e,
|
|
1616
|
+
n,
|
|
1617
|
+
!0
|
|
1618
|
+
/* prepend */
|
|
1619
|
+
), i = qt(
|
|
1620
|
+
"um",
|
|
1621
|
+
() => on(n[t], r),
|
|
1622
|
+
s
|
|
1623
|
+
);
|
|
1624
|
+
i.flags = 16;
|
|
1625
|
+
}
|
|
1626
|
+
function qt(e, t, s = pe, n = !1) {
|
|
1627
|
+
if (s) {
|
|
1628
|
+
const r = s[e] || (s[e] = []), i = t.__weh || (t.__weh = (...l) => {
|
|
1629
|
+
Ue();
|
|
1630
|
+
const o = Qt(s), f = Pe(t, s, e, l);
|
|
1631
|
+
return o(), Ke(), f;
|
|
1632
|
+
});
|
|
1633
|
+
return n ? r.unshift(i) : r.push(i), i;
|
|
1634
|
+
}
|
|
1635
|
+
}
|
|
1636
|
+
const et = (e) => (t, s = pe) => {
|
|
1637
|
+
(!Yt || e === "sp") && qt(e, (...n) => t(...n), s);
|
|
1638
|
+
}, vl = et("bm"), yl = et("m"), xl = et(
|
|
1639
|
+
"bu"
|
|
1640
|
+
), Sl = et("u"), Cl = et(
|
|
1641
|
+
"bum"
|
|
1642
|
+
), wl = et("um"), El = et(
|
|
1643
|
+
"sp"
|
|
1644
|
+
), Tl = et("rtg"), Ol = et("rtc");
|
|
1645
|
+
function Al(e, t = pe) {
|
|
1646
|
+
qt("ec", e, t);
|
|
1647
|
+
}
|
|
1648
|
+
const Pl = /* @__PURE__ */ Symbol.for("v-ndc");
|
|
1649
|
+
function ls(e, t, s, n) {
|
|
1650
|
+
let r;
|
|
1651
|
+
const i = s, l = R(e);
|
|
1652
|
+
if (l || Z(e)) {
|
|
1653
|
+
const o = l && /* @__PURE__ */ rt(e);
|
|
1654
|
+
let f = !1, d = !1;
|
|
1655
|
+
o && (f = !/* @__PURE__ */ Se(e), d = /* @__PURE__ */ Be(e), e = As(e)), r = new Array(e.length);
|
|
1656
|
+
for (let a = 0, g = e.length; a < g; a++)
|
|
1657
|
+
r[a] = t(
|
|
1658
|
+
f ? d ? lt(Ce(e[a])) : Ce(e[a]) : e[a],
|
|
1659
|
+
a,
|
|
1660
|
+
void 0,
|
|
1661
|
+
i
|
|
1662
|
+
);
|
|
1663
|
+
} else if (typeof e == "number")
|
|
1664
|
+
if (!Number.isInteger(e) || e < 0)
|
|
1665
|
+
r = [];
|
|
1666
|
+
else {
|
|
1667
|
+
r = new Array(e);
|
|
1668
|
+
for (let o = 0; o < e; o++)
|
|
1669
|
+
r[o] = t(o + 1, o, void 0, i);
|
|
1670
|
+
}
|
|
1671
|
+
else if (q(e))
|
|
1672
|
+
if (e[Symbol.iterator])
|
|
1673
|
+
r = Array.from(
|
|
1674
|
+
e,
|
|
1675
|
+
(o, f) => t(o, f, void 0, i)
|
|
1676
|
+
);
|
|
1677
|
+
else {
|
|
1678
|
+
const o = Object.keys(e);
|
|
1679
|
+
r = new Array(o.length);
|
|
1680
|
+
for (let f = 0, d = o.length; f < d; f++) {
|
|
1681
|
+
const a = o[f];
|
|
1682
|
+
r[f] = t(e[a], a, f, i);
|
|
1683
|
+
}
|
|
1684
|
+
}
|
|
1685
|
+
else
|
|
1686
|
+
r = [];
|
|
1687
|
+
return r;
|
|
1688
|
+
}
|
|
1689
|
+
const en = (e) => e ? ai(e) ? Fs(e) : en(e.parent) : null, Ut = (
|
|
1690
|
+
// Move PURE marker to new line to workaround compiler discarding it
|
|
1691
|
+
// due to type annotation
|
|
1692
|
+
/* @__PURE__ */ te(/* @__PURE__ */ Object.create(null), {
|
|
1693
|
+
$: (e) => e,
|
|
1694
|
+
$el: (e) => e.vnode.el,
|
|
1695
|
+
$data: (e) => e.data,
|
|
1696
|
+
$props: (e) => e.props,
|
|
1697
|
+
$attrs: (e) => e.attrs,
|
|
1698
|
+
$slots: (e) => e.slots,
|
|
1699
|
+
$refs: (e) => e.refs,
|
|
1700
|
+
$parent: (e) => en(e.parent),
|
|
1701
|
+
$root: (e) => en(e.root),
|
|
1702
|
+
$host: (e) => e.ce,
|
|
1703
|
+
$emit: (e) => e.emit,
|
|
1704
|
+
$options: (e) => kr(e),
|
|
1705
|
+
$forceUpdate: (e) => e.f || (e.f = () => {
|
|
1706
|
+
_n(e.update);
|
|
1707
|
+
}),
|
|
1708
|
+
$nextTick: (e) => e.n || (e.n = gs.bind(e.proxy)),
|
|
1709
|
+
$watch: (e) => dl.bind(e)
|
|
1710
|
+
})
|
|
1711
|
+
), Ks = (e, t) => e !== G && !e.__isScriptSetup && U(e, t), Il = {
|
|
1712
|
+
get({ _: e }, t) {
|
|
1713
|
+
if (t === "__v_skip")
|
|
1714
|
+
return !0;
|
|
1715
|
+
const { ctx: s, setupState: n, data: r, props: i, accessCache: l, type: o, appContext: f } = e;
|
|
1716
|
+
if (t[0] !== "$") {
|
|
1717
|
+
const E = l[t];
|
|
1718
|
+
if (E !== void 0)
|
|
1719
|
+
switch (E) {
|
|
1720
|
+
case 1:
|
|
1721
|
+
return n[t];
|
|
1722
|
+
case 2:
|
|
1723
|
+
return r[t];
|
|
1724
|
+
case 4:
|
|
1725
|
+
return s[t];
|
|
1726
|
+
case 3:
|
|
1727
|
+
return i[t];
|
|
1728
|
+
}
|
|
1729
|
+
else {
|
|
1730
|
+
if (Ks(n, t))
|
|
1731
|
+
return l[t] = 1, n[t];
|
|
1732
|
+
if (r !== G && U(r, t))
|
|
1733
|
+
return l[t] = 2, r[t];
|
|
1734
|
+
if (U(i, t))
|
|
1735
|
+
return l[t] = 3, i[t];
|
|
1736
|
+
if (s !== G && U(s, t))
|
|
1737
|
+
return l[t] = 4, s[t];
|
|
1738
|
+
tn && (l[t] = 0);
|
|
1739
|
+
}
|
|
1740
|
+
}
|
|
1741
|
+
const d = Ut[t];
|
|
1742
|
+
let a, g;
|
|
1743
|
+
if (d)
|
|
1744
|
+
return t === "$attrs" && ie(e.attrs, "get", ""), d(e);
|
|
1745
|
+
if (
|
|
1746
|
+
// css module (injected by vue-loader)
|
|
1747
|
+
(a = o.__cssModules) && (a = a[t])
|
|
1748
|
+
)
|
|
1749
|
+
return a;
|
|
1750
|
+
if (s !== G && U(s, t))
|
|
1751
|
+
return l[t] = 4, s[t];
|
|
1752
|
+
if (
|
|
1753
|
+
// global properties
|
|
1754
|
+
g = f.config.globalProperties, U(g, t)
|
|
1755
|
+
)
|
|
1756
|
+
return g[t];
|
|
1757
|
+
},
|
|
1758
|
+
set({ _: e }, t, s) {
|
|
1759
|
+
const { data: n, setupState: r, ctx: i } = e;
|
|
1760
|
+
return Ks(r, t) ? (r[t] = s, !0) : n !== G && U(n, t) ? (n[t] = s, !0) : U(e.props, t) || t[0] === "$" && t.slice(1) in e ? !1 : (i[t] = s, !0);
|
|
1761
|
+
},
|
|
1762
|
+
has({
|
|
1763
|
+
_: { data: e, setupState: t, accessCache: s, ctx: n, appContext: r, props: i, type: l }
|
|
1764
|
+
}, o) {
|
|
1765
|
+
let f;
|
|
1766
|
+
return !!(s[o] || e !== G && o[0] !== "$" && U(e, o) || Ks(t, o) || U(i, o) || U(n, o) || U(Ut, o) || U(r.config.globalProperties, o) || (f = l.__cssModules) && f[o]);
|
|
1767
|
+
},
|
|
1768
|
+
defineProperty(e, t, s) {
|
|
1769
|
+
return s.get != null ? e._.accessCache[t] = 0 : U(s, "value") && this.set(e, t, s.value, null), Reflect.defineProperty(e, t, s);
|
|
1770
|
+
}
|
|
1771
|
+
};
|
|
1772
|
+
function jn(e) {
|
|
1773
|
+
return R(e) ? e.reduce(
|
|
1774
|
+
(t, s) => (t[s] = null, t),
|
|
1775
|
+
{}
|
|
1776
|
+
) : e;
|
|
1777
|
+
}
|
|
1778
|
+
let tn = !0;
|
|
1779
|
+
function Ml(e) {
|
|
1780
|
+
const t = kr(e), s = e.proxy, n = e.ctx;
|
|
1781
|
+
tn = !1, t.beforeCreate && $n(t.beforeCreate, e, "bc");
|
|
1782
|
+
const {
|
|
1783
|
+
// state
|
|
1784
|
+
data: r,
|
|
1785
|
+
computed: i,
|
|
1786
|
+
methods: l,
|
|
1787
|
+
watch: o,
|
|
1788
|
+
provide: f,
|
|
1789
|
+
inject: d,
|
|
1790
|
+
// lifecycle
|
|
1791
|
+
created: a,
|
|
1792
|
+
beforeMount: g,
|
|
1793
|
+
mounted: E,
|
|
1794
|
+
beforeUpdate: O,
|
|
1795
|
+
updated: L,
|
|
1796
|
+
activated: F,
|
|
1797
|
+
deactivated: B,
|
|
1798
|
+
beforeDestroy: k,
|
|
1799
|
+
beforeUnmount: N,
|
|
1800
|
+
destroyed: H,
|
|
1801
|
+
unmounted: I,
|
|
1802
|
+
render: X,
|
|
1803
|
+
renderTracked: we,
|
|
1804
|
+
renderTriggered: me,
|
|
1805
|
+
errorCaptured: ve,
|
|
1806
|
+
serverPrefetch: _t,
|
|
1807
|
+
// public API
|
|
1808
|
+
expose: ke,
|
|
1809
|
+
inheritAttrs: We,
|
|
1810
|
+
// assets
|
|
1811
|
+
components: vt,
|
|
1812
|
+
directives: ye,
|
|
1813
|
+
filters: Pt
|
|
1814
|
+
} = t;
|
|
1815
|
+
if (d && Rl(d, n, null), l)
|
|
1816
|
+
for (const J in l) {
|
|
1817
|
+
const W = l[J];
|
|
1818
|
+
j(W) && (n[J] = W.bind(s));
|
|
1819
|
+
}
|
|
1820
|
+
if (r) {
|
|
1821
|
+
const J = r.call(s, s);
|
|
1822
|
+
q(J) && (e.data = /* @__PURE__ */ gn(J));
|
|
1823
|
+
}
|
|
1824
|
+
if (tn = !0, i)
|
|
1825
|
+
for (const J in i) {
|
|
1826
|
+
const W = i[J], ce = j(W) ? W.bind(s, s) : j(W.get) ? W.get.bind(s, s) : He, yt = !j(W) && j(W.set) ? W.set.bind(s) : He, Me = Et({
|
|
1827
|
+
get: ce,
|
|
1828
|
+
set: yt
|
|
1829
|
+
});
|
|
1830
|
+
Object.defineProperty(n, J, {
|
|
1831
|
+
enumerable: !0,
|
|
1832
|
+
configurable: !0,
|
|
1833
|
+
get: () => Me.value,
|
|
1834
|
+
set: (se) => Me.value = se
|
|
1835
|
+
});
|
|
1836
|
+
}
|
|
1837
|
+
if (o)
|
|
1838
|
+
for (const J in o)
|
|
1839
|
+
Br(o[J], n, s, J);
|
|
1840
|
+
if (f) {
|
|
1841
|
+
const J = j(f) ? f.call(s) : f;
|
|
1842
|
+
Reflect.ownKeys(J).forEach((W) => {
|
|
1843
|
+
fl(W, J[W]);
|
|
1844
|
+
});
|
|
1845
|
+
}
|
|
1846
|
+
a && $n(a, e, "c");
|
|
1847
|
+
function z(J, W) {
|
|
1848
|
+
R(W) ? W.forEach((ce) => J(ce.bind(s))) : W && J(W.bind(s));
|
|
1849
|
+
}
|
|
1850
|
+
if (z(vl, g), z(yl, E), z(xl, O), z(Sl, L), z(ml, F), z(bl, B), z(Al, ve), z(Ol, we), z(Tl, me), z(Cl, N), z(wl, I), z(El, _t), R(ke))
|
|
1851
|
+
if (ke.length) {
|
|
1852
|
+
const J = e.exposed || (e.exposed = {});
|
|
1853
|
+
ke.forEach((W) => {
|
|
1854
|
+
Object.defineProperty(J, W, {
|
|
1855
|
+
get: () => s[W],
|
|
1856
|
+
set: (ce) => s[W] = ce,
|
|
1857
|
+
enumerable: !0
|
|
1858
|
+
});
|
|
1859
|
+
});
|
|
1860
|
+
} else e.exposed || (e.exposed = {});
|
|
1861
|
+
X && e.render === He && (e.render = X), We != null && (e.inheritAttrs = We), vt && (e.components = vt), ye && (e.directives = ye), _t && Ur(e);
|
|
1862
|
+
}
|
|
1863
|
+
function Rl(e, t, s = He) {
|
|
1864
|
+
R(e) && (e = sn(e));
|
|
1865
|
+
for (const n in e) {
|
|
1866
|
+
const r = e[n];
|
|
1867
|
+
let i;
|
|
1868
|
+
q(r) ? "default" in r ? i = us(
|
|
1869
|
+
r.from || n,
|
|
1870
|
+
r.default,
|
|
1871
|
+
!0
|
|
1872
|
+
) : i = us(r.from || n) : i = us(r), /* @__PURE__ */ le(i) ? Object.defineProperty(t, n, {
|
|
1873
|
+
enumerable: !0,
|
|
1874
|
+
configurable: !0,
|
|
1875
|
+
get: () => i.value,
|
|
1876
|
+
set: (l) => i.value = l
|
|
1877
|
+
}) : t[n] = i;
|
|
1878
|
+
}
|
|
1879
|
+
}
|
|
1880
|
+
function $n(e, t, s) {
|
|
1881
|
+
Pe(
|
|
1882
|
+
R(e) ? e.map((n) => n.bind(t.proxy)) : e.bind(t.proxy),
|
|
1883
|
+
t,
|
|
1884
|
+
s
|
|
1885
|
+
);
|
|
1886
|
+
}
|
|
1887
|
+
function Br(e, t, s, n) {
|
|
1888
|
+
let r = n.includes(".") ? Hr(s, n) : () => s[n];
|
|
1889
|
+
if (Z(e)) {
|
|
1890
|
+
const i = t[e];
|
|
1891
|
+
j(i) && as(r, i);
|
|
1892
|
+
} else if (j(e))
|
|
1893
|
+
as(r, e.bind(s));
|
|
1894
|
+
else if (q(e))
|
|
1895
|
+
if (R(e))
|
|
1896
|
+
e.forEach((i) => Br(i, t, s, n));
|
|
1897
|
+
else {
|
|
1898
|
+
const i = j(e.handler) ? e.handler.bind(s) : t[e.handler];
|
|
1899
|
+
j(i) && as(r, i, e);
|
|
1900
|
+
}
|
|
1901
|
+
}
|
|
1902
|
+
function kr(e) {
|
|
1903
|
+
const t = e.type, { mixins: s, extends: n } = t, {
|
|
1904
|
+
mixins: r,
|
|
1905
|
+
optionsCache: i,
|
|
1906
|
+
config: { optionMergeStrategies: l }
|
|
1907
|
+
} = e.appContext, o = i.get(t);
|
|
1908
|
+
let f;
|
|
1909
|
+
return o ? f = o : !r.length && !s && !n ? f = t : (f = {}, r.length && r.forEach(
|
|
1910
|
+
(d) => _s(f, d, l, !0)
|
|
1911
|
+
), _s(f, t, l)), q(t) && i.set(t, f), f;
|
|
1912
|
+
}
|
|
1913
|
+
function _s(e, t, s, n = !1) {
|
|
1914
|
+
const { mixins: r, extends: i } = t;
|
|
1915
|
+
i && _s(e, i, s, !0), r && r.forEach(
|
|
1916
|
+
(l) => _s(e, l, s, !0)
|
|
1917
|
+
);
|
|
1918
|
+
for (const l in t)
|
|
1919
|
+
if (!(n && l === "expose")) {
|
|
1920
|
+
const o = Fl[l] || s && s[l];
|
|
1921
|
+
e[l] = o ? o(e[l], t[l]) : t[l];
|
|
1922
|
+
}
|
|
1923
|
+
return e;
|
|
1924
|
+
}
|
|
1925
|
+
const Fl = {
|
|
1926
|
+
data: Nn,
|
|
1927
|
+
props: Hn,
|
|
1928
|
+
emits: Hn,
|
|
1929
|
+
// objects
|
|
1930
|
+
methods: Ft,
|
|
1931
|
+
computed: Ft,
|
|
1932
|
+
// lifecycle
|
|
1933
|
+
beforeCreate: fe,
|
|
1934
|
+
created: fe,
|
|
1935
|
+
beforeMount: fe,
|
|
1936
|
+
mounted: fe,
|
|
1937
|
+
beforeUpdate: fe,
|
|
1938
|
+
updated: fe,
|
|
1939
|
+
beforeDestroy: fe,
|
|
1940
|
+
beforeUnmount: fe,
|
|
1941
|
+
destroyed: fe,
|
|
1942
|
+
unmounted: fe,
|
|
1943
|
+
activated: fe,
|
|
1944
|
+
deactivated: fe,
|
|
1945
|
+
errorCaptured: fe,
|
|
1946
|
+
serverPrefetch: fe,
|
|
1947
|
+
// assets
|
|
1948
|
+
components: Ft,
|
|
1949
|
+
directives: Ft,
|
|
1950
|
+
// watch
|
|
1951
|
+
watch: Vl,
|
|
1952
|
+
// provide / inject
|
|
1953
|
+
provide: Nn,
|
|
1954
|
+
inject: Dl
|
|
1955
|
+
};
|
|
1956
|
+
function Nn(e, t) {
|
|
1957
|
+
return t ? e ? function() {
|
|
1958
|
+
return te(
|
|
1959
|
+
j(e) ? e.call(this, this) : e,
|
|
1960
|
+
j(t) ? t.call(this, this) : t
|
|
1961
|
+
);
|
|
1962
|
+
} : t : e;
|
|
1963
|
+
}
|
|
1964
|
+
function Dl(e, t) {
|
|
1965
|
+
return Ft(sn(e), sn(t));
|
|
1966
|
+
}
|
|
1967
|
+
function sn(e) {
|
|
1968
|
+
if (R(e)) {
|
|
1969
|
+
const t = {};
|
|
1970
|
+
for (let s = 0; s < e.length; s++)
|
|
1971
|
+
t[e[s]] = e[s];
|
|
1972
|
+
return t;
|
|
1973
|
+
}
|
|
1974
|
+
return e;
|
|
1975
|
+
}
|
|
1976
|
+
function fe(e, t) {
|
|
1977
|
+
return e ? [...new Set([].concat(e, t))] : t;
|
|
1978
|
+
}
|
|
1979
|
+
function Ft(e, t) {
|
|
1980
|
+
return e ? te(/* @__PURE__ */ Object.create(null), e, t) : t;
|
|
1981
|
+
}
|
|
1982
|
+
function Hn(e, t) {
|
|
1983
|
+
return e ? R(e) && R(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : te(
|
|
1984
|
+
/* @__PURE__ */ Object.create(null),
|
|
1985
|
+
jn(e),
|
|
1986
|
+
jn(t != null ? t : {})
|
|
1987
|
+
) : t;
|
|
1988
|
+
}
|
|
1989
|
+
function Vl(e, t) {
|
|
1990
|
+
if (!e) return t;
|
|
1991
|
+
if (!t) return e;
|
|
1992
|
+
const s = te(/* @__PURE__ */ Object.create(null), e);
|
|
1993
|
+
for (const n in t)
|
|
1994
|
+
s[n] = fe(e[n], t[n]);
|
|
1995
|
+
return s;
|
|
1996
|
+
}
|
|
1997
|
+
function Wr() {
|
|
1998
|
+
return {
|
|
1999
|
+
app: null,
|
|
2000
|
+
config: {
|
|
2001
|
+
isNativeTag: or,
|
|
2002
|
+
performance: !1,
|
|
2003
|
+
globalProperties: {},
|
|
2004
|
+
optionMergeStrategies: {},
|
|
2005
|
+
errorHandler: void 0,
|
|
2006
|
+
warnHandler: void 0,
|
|
2007
|
+
compilerOptions: {}
|
|
2008
|
+
},
|
|
2009
|
+
mixins: [],
|
|
2010
|
+
components: {},
|
|
2011
|
+
directives: {},
|
|
2012
|
+
provides: /* @__PURE__ */ Object.create(null),
|
|
2013
|
+
optionsCache: /* @__PURE__ */ new WeakMap(),
|
|
2014
|
+
propsCache: /* @__PURE__ */ new WeakMap(),
|
|
2015
|
+
emitsCache: /* @__PURE__ */ new WeakMap()
|
|
2016
|
+
};
|
|
2017
|
+
}
|
|
2018
|
+
let jl = 0;
|
|
2019
|
+
function $l(e, t) {
|
|
2020
|
+
return function(n, r = null) {
|
|
2021
|
+
j(n) || (n = te({}, n)), r != null && !q(r) && (r = null);
|
|
2022
|
+
const i = Wr(), l = /* @__PURE__ */ new WeakSet(), o = [];
|
|
2023
|
+
let f = !1;
|
|
2024
|
+
const d = i.app = {
|
|
2025
|
+
_uid: jl++,
|
|
2026
|
+
_component: n,
|
|
2027
|
+
_props: r,
|
|
2028
|
+
_container: null,
|
|
2029
|
+
_context: i,
|
|
2030
|
+
_instance: null,
|
|
2031
|
+
version: bo,
|
|
2032
|
+
get config() {
|
|
2033
|
+
return i.config;
|
|
2034
|
+
},
|
|
2035
|
+
set config(a) {
|
|
2036
|
+
},
|
|
2037
|
+
use(a, ...g) {
|
|
2038
|
+
return l.has(a) || (a && j(a.install) ? (l.add(a), a.install(d, ...g)) : j(a) && (l.add(a), a(d, ...g))), d;
|
|
2039
|
+
},
|
|
2040
|
+
mixin(a) {
|
|
2041
|
+
return i.mixins.includes(a) || i.mixins.push(a), d;
|
|
2042
|
+
},
|
|
2043
|
+
component(a, g) {
|
|
2044
|
+
return g ? (i.components[a] = g, d) : i.components[a];
|
|
2045
|
+
},
|
|
2046
|
+
directive(a, g) {
|
|
2047
|
+
return g ? (i.directives[a] = g, d) : i.directives[a];
|
|
2048
|
+
},
|
|
2049
|
+
mount(a, g, E) {
|
|
2050
|
+
if (!f) {
|
|
2051
|
+
const O = d._ceVNode || Qe(n, r);
|
|
2052
|
+
return O.appContext = i, E === !0 ? E = "svg" : E === !1 && (E = void 0), e(O, a, E), f = !0, d._container = a, a.__vue_app__ = d, Fs(O.component);
|
|
2053
|
+
}
|
|
2054
|
+
},
|
|
2055
|
+
onUnmount(a) {
|
|
2056
|
+
o.push(a);
|
|
2057
|
+
},
|
|
2058
|
+
unmount() {
|
|
2059
|
+
f && (Pe(
|
|
2060
|
+
o,
|
|
2061
|
+
d._instance,
|
|
2062
|
+
16
|
|
2063
|
+
), e(null, d._container), delete d._container.__vue_app__);
|
|
2064
|
+
},
|
|
2065
|
+
provide(a, g) {
|
|
2066
|
+
return i.provides[a] = g, d;
|
|
2067
|
+
},
|
|
2068
|
+
runWithContext(a) {
|
|
2069
|
+
const g = Ot;
|
|
2070
|
+
Ot = d;
|
|
2071
|
+
try {
|
|
2072
|
+
return a();
|
|
2073
|
+
} finally {
|
|
2074
|
+
Ot = g;
|
|
2075
|
+
}
|
|
2076
|
+
}
|
|
2077
|
+
};
|
|
2078
|
+
return d;
|
|
2079
|
+
};
|
|
2080
|
+
}
|
|
2081
|
+
let Ot = null;
|
|
2082
|
+
const Nl = (e, t) => t === "modelValue" || t === "model-value" ? e.modelModifiers : e[`${t}Modifiers`] || e[`${Oe(t)}Modifiers`] || e[`${bt(t)}Modifiers`];
|
|
2083
|
+
function Hl(e, t, ...s) {
|
|
2084
|
+
if (e.isUnmounted) return;
|
|
2085
|
+
const n = e.vnode.props || G;
|
|
2086
|
+
let r = s;
|
|
2087
|
+
const i = t.startsWith("update:"), l = i && Nl(n, t.slice(7));
|
|
2088
|
+
l && (l.trim && (r = s.map((a) => Z(a) ? a.trim() : a)), l.number && (r = r.map(Xt)));
|
|
2089
|
+
let o, f = n[o = Vs(t)] || // also try camelCase event handler (#2249)
|
|
2090
|
+
n[o = Vs(Oe(t))];
|
|
2091
|
+
!f && i && (f = n[o = Vs(bt(t))]), f && Pe(
|
|
2092
|
+
f,
|
|
2093
|
+
e,
|
|
2094
|
+
6,
|
|
2095
|
+
r
|
|
2096
|
+
);
|
|
2097
|
+
const d = n[o + "Once"];
|
|
2098
|
+
if (d) {
|
|
2099
|
+
if (!e.emitted)
|
|
2100
|
+
e.emitted = {};
|
|
2101
|
+
else if (e.emitted[o])
|
|
2102
|
+
return;
|
|
2103
|
+
e.emitted[o] = !0, Pe(
|
|
2104
|
+
d,
|
|
2105
|
+
e,
|
|
2106
|
+
6,
|
|
2107
|
+
r
|
|
2108
|
+
);
|
|
2109
|
+
}
|
|
2110
|
+
}
|
|
2111
|
+
const Ll = /* @__PURE__ */ new WeakMap();
|
|
2112
|
+
function qr(e, t, s = !1) {
|
|
2113
|
+
const n = s ? Ll : t.emitsCache, r = n.get(e);
|
|
2114
|
+
if (r !== void 0)
|
|
2115
|
+
return r;
|
|
2116
|
+
const i = e.emits;
|
|
2117
|
+
let l = {}, o = !1;
|
|
2118
|
+
if (!j(e)) {
|
|
2119
|
+
const f = (d) => {
|
|
2120
|
+
const a = qr(d, t, !0);
|
|
2121
|
+
a && (o = !0, te(l, a));
|
|
2122
|
+
};
|
|
2123
|
+
!s && t.mixins.length && t.mixins.forEach(f), e.extends && f(e.extends), e.mixins && e.mixins.forEach(f);
|
|
2124
|
+
}
|
|
2125
|
+
return !i && !o ? (q(e) && n.set(e, null), null) : (R(i) ? i.forEach((f) => l[f] = null) : te(l, i), q(e) && n.set(e, l), l);
|
|
2126
|
+
}
|
|
2127
|
+
function Ms(e, t) {
|
|
2128
|
+
return !e || !ws(t) ? !1 : (t = t.slice(2), t = t === "Once" ? t : t.replace(/Once$/, ""), U(e, t[0].toLowerCase() + t.slice(1)) || U(e, bt(t)) || U(e, t));
|
|
2129
|
+
}
|
|
2130
|
+
function Ln(e) {
|
|
2131
|
+
const {
|
|
2132
|
+
type: t,
|
|
2133
|
+
vnode: s,
|
|
2134
|
+
proxy: n,
|
|
2135
|
+
withProxy: r,
|
|
2136
|
+
propsOptions: [i],
|
|
2137
|
+
slots: l,
|
|
2138
|
+
attrs: o,
|
|
2139
|
+
emit: f,
|
|
2140
|
+
render: d,
|
|
2141
|
+
renderCache: a,
|
|
2142
|
+
props: g,
|
|
2143
|
+
data: E,
|
|
2144
|
+
setupState: O,
|
|
2145
|
+
ctx: L,
|
|
2146
|
+
inheritAttrs: F
|
|
2147
|
+
} = e, B = ms(e);
|
|
2148
|
+
let k, N;
|
|
2149
|
+
try {
|
|
2150
|
+
if (s.shapeFlag & 4) {
|
|
2151
|
+
const I = r || n, X = I;
|
|
2152
|
+
k = $e(
|
|
2153
|
+
d.call(
|
|
2154
|
+
X,
|
|
2155
|
+
I,
|
|
2156
|
+
a,
|
|
2157
|
+
g,
|
|
2158
|
+
O,
|
|
2159
|
+
E,
|
|
2160
|
+
L
|
|
2161
|
+
)
|
|
2162
|
+
), N = o;
|
|
2163
|
+
} else {
|
|
2164
|
+
const I = t;
|
|
2165
|
+
k = $e(
|
|
2166
|
+
I.length > 1 ? I(
|
|
2167
|
+
g,
|
|
2168
|
+
{ attrs: o, slots: l, emit: f }
|
|
2169
|
+
) : I(
|
|
2170
|
+
g,
|
|
2171
|
+
null
|
|
2172
|
+
)
|
|
2173
|
+
), N = t.props ? o : Ul(o);
|
|
2174
|
+
}
|
|
2175
|
+
} catch (I) {
|
|
2176
|
+
gt.length = 0, Ps(I, e, 1), k = Qe(Ie);
|
|
2177
|
+
}
|
|
2178
|
+
let H = k;
|
|
2179
|
+
if (N && F !== !1) {
|
|
2180
|
+
const I = Object.keys(N), { shapeFlag: X } = H;
|
|
2181
|
+
I.length && X & 7 && (i && I.some(Es) && (N = Kl(
|
|
2182
|
+
N,
|
|
2183
|
+
i
|
|
2184
|
+
)), H = At(H, N, !1, !0));
|
|
2185
|
+
}
|
|
2186
|
+
if (s.dirs && (H = At(H, null, !1, !0), H.dirs = H.dirs ? H.dirs.concat(s.dirs) : s.dirs), s.transition) {
|
|
2187
|
+
const I = Is(H.type) && Lr(H) || H;
|
|
2188
|
+
Nt(I, s.transition);
|
|
2189
|
+
}
|
|
2190
|
+
return k = H, ms(B), k;
|
|
2191
|
+
}
|
|
2192
|
+
function Gr(e, t = !0) {
|
|
2193
|
+
let s;
|
|
2194
|
+
for (let n = 0; n < e.length; n++) {
|
|
2195
|
+
const r = e[n];
|
|
2196
|
+
if (Sn(r)) {
|
|
2197
|
+
if (r.type !== Ie || r.children === "v-if") {
|
|
2198
|
+
if (s)
|
|
2199
|
+
return;
|
|
2200
|
+
s = r;
|
|
2201
|
+
}
|
|
2202
|
+
} else
|
|
2203
|
+
return;
|
|
2204
|
+
}
|
|
2205
|
+
return s;
|
|
2206
|
+
}
|
|
2207
|
+
const Ul = (e) => {
|
|
2208
|
+
let t;
|
|
2209
|
+
for (const s in e)
|
|
2210
|
+
(s === "class" || s === "style" || ws(s)) && ((t || (t = {}))[s] = e[s]);
|
|
2211
|
+
return t;
|
|
2212
|
+
}, Kl = (e, t) => {
|
|
2213
|
+
const s = {};
|
|
2214
|
+
for (const n in e)
|
|
2215
|
+
(!Es(n) || !(n.slice(9) in t)) && (s[n] = e[n]);
|
|
2216
|
+
return s;
|
|
2217
|
+
};
|
|
2218
|
+
function Bl(e, t, s) {
|
|
2219
|
+
const { props: n, children: r, component: i } = e, { props: l, children: o, patchFlag: f } = t, d = i.emitsOptions;
|
|
2220
|
+
if (t.dirs || t.transition)
|
|
2221
|
+
return !0;
|
|
2222
|
+
if (s && f >= 0) {
|
|
2223
|
+
if (f & 1024)
|
|
2224
|
+
return !0;
|
|
2225
|
+
if (f & 16)
|
|
2226
|
+
return n ? Un(n, l, d) : !!l;
|
|
2227
|
+
if (f & 8) {
|
|
2228
|
+
const a = t.dynamicProps;
|
|
2229
|
+
for (let g = 0; g < a.length; g++) {
|
|
2230
|
+
const E = a[g];
|
|
2231
|
+
if (Jr(l, n, E) && !Ms(d, E))
|
|
2232
|
+
return !0;
|
|
2233
|
+
}
|
|
2234
|
+
}
|
|
2235
|
+
} else
|
|
2236
|
+
return (r || o) && (!o || !o.$stable) ? !0 : n === l ? !1 : n ? l ? Un(n, l, d) : !0 : !!l;
|
|
2237
|
+
return !1;
|
|
2238
|
+
}
|
|
2239
|
+
function Un(e, t, s) {
|
|
2240
|
+
const n = Object.keys(t);
|
|
2241
|
+
if (n.length !== Object.keys(e).length)
|
|
2242
|
+
return !0;
|
|
2243
|
+
for (let r = 0; r < n.length; r++) {
|
|
2244
|
+
const i = n[r];
|
|
2245
|
+
if (!U(e, i) || Jr(t, e, i) && !Ms(s, i))
|
|
2246
|
+
return !0;
|
|
2247
|
+
}
|
|
2248
|
+
return !1;
|
|
2249
|
+
}
|
|
2250
|
+
function Jr(e, t, s) {
|
|
2251
|
+
const n = e[s], r = t[s];
|
|
2252
|
+
return s === "style" && q(n) && q(r) ? !it(n, r) : n !== r;
|
|
2253
|
+
}
|
|
2254
|
+
function kl({ vnode: e, parent: t, suspense: s }, n) {
|
|
2255
|
+
for (; t; ) {
|
|
2256
|
+
const r = t.subTree;
|
|
2257
|
+
if (r.suspense && r.suspense.activeBranch === e && (r.suspense.vnode.el = r.el = n, e = r), r === e)
|
|
2258
|
+
(e = t.vnode).el = n, t = t.parent;
|
|
2259
|
+
else
|
|
2260
|
+
break;
|
|
2261
|
+
}
|
|
2262
|
+
s && s.activeBranch === e && (s.vnode.el = n);
|
|
2263
|
+
}
|
|
2264
|
+
const Yr = {}, zr = () => Object.create(Yr), Xr = (e) => Object.getPrototypeOf(e) === Yr;
|
|
2265
|
+
function Wl(e, t, s, n = !1) {
|
|
2266
|
+
const r = {}, i = zr();
|
|
2267
|
+
e.propsDefaults = /* @__PURE__ */ Object.create(null), Zr(e, t, r, i);
|
|
2268
|
+
for (const l in e.propsOptions[0])
|
|
2269
|
+
l in r || (r[l] = void 0);
|
|
2270
|
+
s ? e.props = n ? r : /* @__PURE__ */ Ji(r) : e.type.props ? e.props = r : e.props = i, e.attrs = i;
|
|
2271
|
+
}
|
|
2272
|
+
function ql(e, t, s, n) {
|
|
2273
|
+
const {
|
|
2274
|
+
props: r,
|
|
2275
|
+
attrs: i,
|
|
2276
|
+
vnode: { patchFlag: l }
|
|
2277
|
+
} = e, o = /* @__PURE__ */ K(r), [f] = e.propsOptions;
|
|
2278
|
+
let d = !1;
|
|
2279
|
+
if (
|
|
2280
|
+
// always force full diff in dev
|
|
2281
|
+
// - #1942 if hmr is enabled with sfc component
|
|
2282
|
+
// - vite#872 non-sfc component used by sfc component
|
|
2283
|
+
(n || l > 0) && !(l & 16)
|
|
2284
|
+
) {
|
|
2285
|
+
if (l & 8) {
|
|
2286
|
+
const a = e.vnode.dynamicProps;
|
|
2287
|
+
for (let g = 0; g < a.length; g++) {
|
|
2288
|
+
let E = a[g];
|
|
2289
|
+
if (Ms(e.emitsOptions, E))
|
|
2290
|
+
continue;
|
|
2291
|
+
const O = t[E];
|
|
2292
|
+
if (f)
|
|
2293
|
+
if (U(i, E))
|
|
2294
|
+
O !== i[E] && (i[E] = O, d = !0);
|
|
2295
|
+
else {
|
|
2296
|
+
const L = Oe(E);
|
|
2297
|
+
r[L] = nn(
|
|
2298
|
+
f,
|
|
2299
|
+
o,
|
|
2300
|
+
L,
|
|
2301
|
+
O,
|
|
2302
|
+
e,
|
|
2303
|
+
!1
|
|
2304
|
+
);
|
|
2305
|
+
}
|
|
2306
|
+
else
|
|
2307
|
+
O !== i[E] && (i[E] = O, d = !0);
|
|
2308
|
+
}
|
|
2309
|
+
}
|
|
2310
|
+
} else {
|
|
2311
|
+
Zr(e, t, r, i) && (d = !0);
|
|
2312
|
+
let a;
|
|
2313
|
+
for (const g in o)
|
|
2314
|
+
(!t || // for camelCase
|
|
2315
|
+
!U(t, g) && // it's possible the original props was passed in as kebab-case
|
|
2316
|
+
// and converted to camelCase (#955)
|
|
2317
|
+
((a = bt(g)) === g || !U(t, a))) && (f ? s && // for camelCase
|
|
2318
|
+
(s[g] !== void 0 || // for kebab-case
|
|
2319
|
+
s[a] !== void 0) && (r[g] = nn(
|
|
2320
|
+
f,
|
|
2321
|
+
o,
|
|
2322
|
+
g,
|
|
2323
|
+
void 0,
|
|
2324
|
+
e,
|
|
2325
|
+
!0
|
|
2326
|
+
)) : delete r[g]);
|
|
2327
|
+
if (i !== o)
|
|
2328
|
+
for (const g in i)
|
|
2329
|
+
(!t || !U(t, g)) && (delete i[g], d = !0);
|
|
2330
|
+
}
|
|
2331
|
+
d && Xe(e.attrs, "set", "");
|
|
2332
|
+
}
|
|
2333
|
+
function Zr(e, t, s, n) {
|
|
2334
|
+
const [r, i] = e.propsOptions;
|
|
2335
|
+
let l = !1, o;
|
|
2336
|
+
if (t)
|
|
2337
|
+
for (let f in t) {
|
|
2338
|
+
if (Vt(f))
|
|
2339
|
+
continue;
|
|
2340
|
+
const d = t[f];
|
|
2341
|
+
let a;
|
|
2342
|
+
r && U(r, a = Oe(f)) ? !i || !i.includes(a) ? s[a] = d : (o || (o = {}))[a] = d : Ms(e.emitsOptions, f) || (!(f in n) || d !== n[f]) && (n[f] = d, l = !0);
|
|
2343
|
+
}
|
|
2344
|
+
if (i) {
|
|
2345
|
+
const f = /* @__PURE__ */ K(s), d = o || G;
|
|
2346
|
+
for (let a = 0; a < i.length; a++) {
|
|
2347
|
+
const g = i[a];
|
|
2348
|
+
s[g] = nn(
|
|
2349
|
+
r,
|
|
2350
|
+
f,
|
|
2351
|
+
g,
|
|
2352
|
+
d[g],
|
|
2353
|
+
e,
|
|
2354
|
+
!U(d, g)
|
|
2355
|
+
);
|
|
2356
|
+
}
|
|
2357
|
+
}
|
|
2358
|
+
return l;
|
|
2359
|
+
}
|
|
2360
|
+
function nn(e, t, s, n, r, i) {
|
|
2361
|
+
const l = e[s];
|
|
2362
|
+
if (l != null) {
|
|
2363
|
+
const o = U(l, "default");
|
|
2364
|
+
if (o && n === void 0) {
|
|
2365
|
+
const f = l.default;
|
|
2366
|
+
if (l.type !== Function && !l.skipFactory && j(f)) {
|
|
2367
|
+
const { propsDefaults: d } = r;
|
|
2368
|
+
if (s in d)
|
|
2369
|
+
n = d[s];
|
|
2370
|
+
else {
|
|
2371
|
+
const a = Qt(r);
|
|
2372
|
+
n = d[s] = f.call(
|
|
2373
|
+
null,
|
|
2374
|
+
t
|
|
2375
|
+
), a();
|
|
2376
|
+
}
|
|
2377
|
+
} else
|
|
2378
|
+
n = f;
|
|
2379
|
+
r.ce && r.ce._setProp(s, n);
|
|
2380
|
+
}
|
|
2381
|
+
l[
|
|
2382
|
+
0
|
|
2383
|
+
/* shouldCast */
|
|
2384
|
+
] && (i && !o ? n = !1 : l[
|
|
2385
|
+
1
|
|
2386
|
+
/* shouldCastTrue */
|
|
2387
|
+
] && (n === "" || n === bt(s)) && (n = !0));
|
|
2388
|
+
}
|
|
2389
|
+
return n;
|
|
2390
|
+
}
|
|
2391
|
+
const Gl = /* @__PURE__ */ new WeakMap();
|
|
2392
|
+
function Qr(e, t, s = !1) {
|
|
2393
|
+
const n = s ? Gl : t.propsCache, r = n.get(e);
|
|
2394
|
+
if (r)
|
|
2395
|
+
return r;
|
|
2396
|
+
const i = e.props, l = {}, o = [];
|
|
2397
|
+
let f = !1;
|
|
2398
|
+
if (!j(e)) {
|
|
2399
|
+
const a = (g) => {
|
|
2400
|
+
f = !0;
|
|
2401
|
+
const [E, O] = Qr(g, t, !0);
|
|
2402
|
+
te(l, E), O && o.push(...O);
|
|
2403
|
+
};
|
|
2404
|
+
!s && t.mixins.length && t.mixins.forEach(a), e.extends && a(e.extends), e.mixins && e.mixins.forEach(a);
|
|
2405
|
+
}
|
|
2406
|
+
if (!i && !f)
|
|
2407
|
+
return q(e) && n.set(e, dt), dt;
|
|
2408
|
+
if (R(i))
|
|
2409
|
+
for (let a = 0; a < i.length; a++) {
|
|
2410
|
+
const g = Oe(i[a]);
|
|
2411
|
+
Kn(g) && (l[g] = G);
|
|
2412
|
+
}
|
|
2413
|
+
else if (i)
|
|
2414
|
+
for (const a in i) {
|
|
2415
|
+
const g = Oe(a);
|
|
2416
|
+
if (Kn(g)) {
|
|
2417
|
+
const E = i[a], O = l[g] = R(E) || j(E) ? { type: E } : te({}, E), L = O.type;
|
|
2418
|
+
let F = !1, B = !0;
|
|
2419
|
+
if (R(L))
|
|
2420
|
+
for (let k = 0; k < L.length; ++k) {
|
|
2421
|
+
const N = L[k], H = j(N) && N.name;
|
|
2422
|
+
if (H === "Boolean") {
|
|
2423
|
+
F = !0;
|
|
2424
|
+
break;
|
|
2425
|
+
} else H === "String" && (B = !1);
|
|
2426
|
+
}
|
|
2427
|
+
else
|
|
2428
|
+
F = j(L) && L.name === "Boolean";
|
|
2429
|
+
O[
|
|
2430
|
+
0
|
|
2431
|
+
/* shouldCast */
|
|
2432
|
+
] = F, O[
|
|
2433
|
+
1
|
|
2434
|
+
/* shouldCastTrue */
|
|
2435
|
+
] = B, (F || U(O, "default")) && o.push(g);
|
|
2436
|
+
}
|
|
2437
|
+
}
|
|
2438
|
+
const d = [l, o];
|
|
2439
|
+
return q(e) && n.set(e, d), d;
|
|
2440
|
+
}
|
|
2441
|
+
function Kn(e) {
|
|
2442
|
+
return e[0] !== "$" && !Vt(e);
|
|
2443
|
+
}
|
|
2444
|
+
const yn = (e) => e === "_" || e === "_ctx" || e === "$stable", xn = (e) => R(e) ? e.map($e) : [$e(e)], Jl = (e, t, s) => {
|
|
2445
|
+
if (t._n)
|
|
2446
|
+
return t;
|
|
2447
|
+
const n = cl((...r) => xn(t(...r)), s);
|
|
2448
|
+
return n._c = !1, n;
|
|
2449
|
+
}, ei = (e, t, s) => {
|
|
2450
|
+
const n = e._ctx;
|
|
2451
|
+
for (const r in e) {
|
|
2452
|
+
if (yn(r)) continue;
|
|
2453
|
+
const i = e[r];
|
|
2454
|
+
if (j(i))
|
|
2455
|
+
t[r] = Jl(r, i, n);
|
|
2456
|
+
else if (i != null) {
|
|
2457
|
+
const l = xn(i);
|
|
2458
|
+
t[r] = () => l;
|
|
2459
|
+
}
|
|
2460
|
+
}
|
|
2461
|
+
}, ti = (e, t) => {
|
|
2462
|
+
const s = xn(t);
|
|
2463
|
+
e.slots.default = () => s;
|
|
2464
|
+
}, si = (e, t, s) => {
|
|
2465
|
+
for (const n in t)
|
|
2466
|
+
(s || !yn(n)) && (e[n] = t[n]);
|
|
2467
|
+
}, Yl = (e, t, s) => {
|
|
2468
|
+
const n = e.slots = zr();
|
|
2469
|
+
if (e.vnode.shapeFlag & 32) {
|
|
2470
|
+
const r = t._;
|
|
2471
|
+
r ? (si(n, t, s), s && dr(n, "_", r, !0)) : ei(t, n);
|
|
2472
|
+
} else t && ti(e, t);
|
|
2473
|
+
}, zl = (e, t, s) => {
|
|
2474
|
+
const { vnode: n, slots: r } = e;
|
|
2475
|
+
let i = !0, l = G;
|
|
2476
|
+
if (n.shapeFlag & 32) {
|
|
2477
|
+
const o = t._;
|
|
2478
|
+
o ? s && o === 1 ? i = !1 : si(r, t, s) : (i = !t.$stable, ei(t, r)), l = t;
|
|
2479
|
+
} else t && (ti(e, t), l = { default: 1 });
|
|
2480
|
+
if (i)
|
|
2481
|
+
for (const o in r)
|
|
2482
|
+
!yn(o) && l[o] == null && delete r[o];
|
|
2483
|
+
}, ae = so;
|
|
2484
|
+
function Xl(e) {
|
|
2485
|
+
return Zl(e);
|
|
2486
|
+
}
|
|
2487
|
+
function Zl(e, t) {
|
|
2488
|
+
const s = Os();
|
|
2489
|
+
s.__VUE__ = !0;
|
|
2490
|
+
const {
|
|
2491
|
+
insert: n,
|
|
2492
|
+
remove: r,
|
|
2493
|
+
patchProp: i,
|
|
2494
|
+
createElement: l,
|
|
2495
|
+
createText: o,
|
|
2496
|
+
createComment: f,
|
|
2497
|
+
setText: d,
|
|
2498
|
+
setElementText: a,
|
|
2499
|
+
parentNode: g,
|
|
2500
|
+
nextSibling: E,
|
|
2501
|
+
setScopeId: O = He,
|
|
2502
|
+
insertStaticContent: L
|
|
2503
|
+
} = e, F = (c, u, p, y = null, m = null, v = null, C = void 0, S = null, x = !!u.dynamicChildren) => {
|
|
2504
|
+
if (c === u)
|
|
2505
|
+
return;
|
|
2506
|
+
c && !Mt(c, u) && (y = xt(c), se(c, m, v, !0), c = null), u.patchFlag === -2 && (x = !1, u.dynamicChildren = null), u.dynamicChildren && c && c.dynamicChildren && c.dynamicChildren.hasOnce && (u.dynamicChildren === dt && (u.dynamicChildren = []), u.dynamicChildren.hasOnce = !0);
|
|
2507
|
+
const { type: b, ref: T, shapeFlag: w } = u;
|
|
2508
|
+
switch (b) {
|
|
2509
|
+
case Rs:
|
|
2510
|
+
B(c, u, p, y);
|
|
2511
|
+
break;
|
|
2512
|
+
case Ie:
|
|
2513
|
+
k(c, u, p, y);
|
|
2514
|
+
break;
|
|
2515
|
+
case ks:
|
|
2516
|
+
c == null && N(u, p, y, C);
|
|
2517
|
+
break;
|
|
2518
|
+
case he:
|
|
2519
|
+
vt(
|
|
2520
|
+
c,
|
|
2521
|
+
u,
|
|
2522
|
+
p,
|
|
2523
|
+
y,
|
|
2524
|
+
m,
|
|
2525
|
+
v,
|
|
2526
|
+
C,
|
|
2527
|
+
S,
|
|
2528
|
+
x
|
|
2529
|
+
);
|
|
2530
|
+
break;
|
|
2531
|
+
default:
|
|
2532
|
+
w & 1 ? X(
|
|
2533
|
+
c,
|
|
2534
|
+
u,
|
|
2535
|
+
p,
|
|
2536
|
+
y,
|
|
2537
|
+
m,
|
|
2538
|
+
v,
|
|
2539
|
+
C,
|
|
2540
|
+
S,
|
|
2541
|
+
x
|
|
2542
|
+
) : w & 6 ? ye(
|
|
2543
|
+
c,
|
|
2544
|
+
u,
|
|
2545
|
+
p,
|
|
2546
|
+
y,
|
|
2547
|
+
m,
|
|
2548
|
+
v,
|
|
2549
|
+
C,
|
|
2550
|
+
S,
|
|
2551
|
+
x
|
|
2552
|
+
) : (w & 64 || w & 128) && b.process(
|
|
2553
|
+
c,
|
|
2554
|
+
u,
|
|
2555
|
+
p,
|
|
2556
|
+
y,
|
|
2557
|
+
m,
|
|
2558
|
+
v,
|
|
2559
|
+
C,
|
|
2560
|
+
S,
|
|
2561
|
+
x,
|
|
2562
|
+
qe
|
|
2563
|
+
);
|
|
2564
|
+
}
|
|
2565
|
+
T != null && m ? Ht(T, c && c.ref, v, u || c, !u) : T == null && c && c.ref != null && Ht(c.ref, null, v, c, !0);
|
|
2566
|
+
}, B = (c, u, p, y) => {
|
|
2567
|
+
if (c == null)
|
|
2568
|
+
n(
|
|
2569
|
+
u.el = o(u.children),
|
|
2570
|
+
p,
|
|
2571
|
+
y
|
|
2572
|
+
);
|
|
2573
|
+
else {
|
|
2574
|
+
const m = u.el = c.el;
|
|
2575
|
+
u.children !== c.children && d(m, u.children);
|
|
2576
|
+
}
|
|
2577
|
+
}, k = (c, u, p, y) => {
|
|
2578
|
+
c == null ? n(
|
|
2579
|
+
u.el = f(u.children || ""),
|
|
2580
|
+
p,
|
|
2581
|
+
y
|
|
2582
|
+
) : u.el = c.el;
|
|
2583
|
+
}, N = (c, u, p, y) => {
|
|
2584
|
+
[c.el, c.anchor] = L(
|
|
2585
|
+
c.children,
|
|
2586
|
+
u,
|
|
2587
|
+
p,
|
|
2588
|
+
y,
|
|
2589
|
+
c.el,
|
|
2590
|
+
c.anchor
|
|
2591
|
+
);
|
|
2592
|
+
}, H = ({ el: c, anchor: u }, p, y) => {
|
|
2593
|
+
let m;
|
|
2594
|
+
for (; c && c !== u; )
|
|
2595
|
+
m = E(c), n(c, p, y), c = m;
|
|
2596
|
+
n(u, p, y);
|
|
2597
|
+
}, I = ({ el: c, anchor: u }) => {
|
|
2598
|
+
let p;
|
|
2599
|
+
for (; c && c !== u; )
|
|
2600
|
+
p = E(c), r(c), c = p;
|
|
2601
|
+
r(u);
|
|
2602
|
+
}, X = (c, u, p, y, m, v, C, S, x) => {
|
|
2603
|
+
if (u.type === "svg" ? C = "svg" : u.type === "math" && (C = "mathml"), c == null)
|
|
2604
|
+
we(
|
|
2605
|
+
u,
|
|
2606
|
+
p,
|
|
2607
|
+
y,
|
|
2608
|
+
m,
|
|
2609
|
+
v,
|
|
2610
|
+
C,
|
|
2611
|
+
S,
|
|
2612
|
+
x
|
|
2613
|
+
);
|
|
2614
|
+
else {
|
|
2615
|
+
const b = c.el && c.el._isVueCE ? c.el : null;
|
|
2616
|
+
try {
|
|
2617
|
+
b && b._beginPatch(), _t(
|
|
2618
|
+
c,
|
|
2619
|
+
u,
|
|
2620
|
+
m,
|
|
2621
|
+
v,
|
|
2622
|
+
C,
|
|
2623
|
+
S,
|
|
2624
|
+
x
|
|
2625
|
+
);
|
|
2626
|
+
} finally {
|
|
2627
|
+
b && b._endPatch();
|
|
2628
|
+
}
|
|
2629
|
+
}
|
|
2630
|
+
}, we = (c, u, p, y, m, v, C, S) => {
|
|
2631
|
+
let x, b;
|
|
2632
|
+
const { props: T, shapeFlag: w, transition: A, dirs: h } = c;
|
|
2633
|
+
if (x = c.el = l(
|
|
2634
|
+
c.type,
|
|
2635
|
+
v,
|
|
2636
|
+
T && T.is,
|
|
2637
|
+
T
|
|
2638
|
+
), w & 8 ? a(x, c.children) : w & 16 && ve(
|
|
2639
|
+
c.children,
|
|
2640
|
+
x,
|
|
2641
|
+
null,
|
|
2642
|
+
y,
|
|
2643
|
+
m,
|
|
2644
|
+
Bs(c, v),
|
|
2645
|
+
C,
|
|
2646
|
+
S
|
|
2647
|
+
), h && ot(c, null, y, "created"), me(x, c, c.scopeId, C, y), T) {
|
|
2648
|
+
for (const P in T)
|
|
2649
|
+
P !== "value" && !Vt(P) && i(x, P, null, T[P], v, y);
|
|
2650
|
+
"value" in T && i(x, "value", null, T.value, v), (b = T.onVnodeBeforeMount) && Fe(b, y, c);
|
|
2651
|
+
}
|
|
2652
|
+
h && ot(c, null, y, "beforeMount");
|
|
2653
|
+
const _ = Ql(m, A);
|
|
2654
|
+
_ ? A.beforeEnter(x) : A && !A.persisted && (x[to] = !0), n(x, u, p), ((b = T && T.onVnodeMounted) || _ || h) && ae(() => {
|
|
2655
|
+
b && Fe(b, y, c), _ && A.enter(x), h && ot(c, null, y, "mounted");
|
|
2656
|
+
}, m);
|
|
2657
|
+
}, me = (c, u, p, y, m) => {
|
|
2658
|
+
if (p && O(c, p), y)
|
|
2659
|
+
for (let v = 0; v < y.length; v++)
|
|
2660
|
+
O(c, y[v]);
|
|
2661
|
+
if (m) {
|
|
2662
|
+
let v = m.subTree;
|
|
2663
|
+
if (u === v || ii(v.type) && (v.ssContent === u || v.ssFallback === u)) {
|
|
2664
|
+
const C = m.vnode;
|
|
2665
|
+
me(
|
|
2666
|
+
c,
|
|
2667
|
+
C,
|
|
2668
|
+
C.scopeId,
|
|
2669
|
+
C.slotScopeIds,
|
|
2670
|
+
m.parent
|
|
2671
|
+
);
|
|
2672
|
+
}
|
|
2673
|
+
}
|
|
2674
|
+
}, ve = (c, u, p, y, m, v, C, S, x = 0) => {
|
|
2675
|
+
for (let b = x; b < c.length; b++) {
|
|
2676
|
+
const T = c[b] = S ? ze(c[b]) : $e(c[b]);
|
|
2677
|
+
F(
|
|
2678
|
+
null,
|
|
2679
|
+
T,
|
|
2680
|
+
u,
|
|
2681
|
+
p,
|
|
2682
|
+
y,
|
|
2683
|
+
m,
|
|
2684
|
+
v,
|
|
2685
|
+
C,
|
|
2686
|
+
S
|
|
2687
|
+
);
|
|
2688
|
+
}
|
|
2689
|
+
}, _t = (c, u, p, y, m, v, C) => {
|
|
2690
|
+
const S = u.el = c.el;
|
|
2691
|
+
let { patchFlag: x, dynamicChildren: b, dirs: T } = u;
|
|
2692
|
+
x |= c.patchFlag & 16;
|
|
2693
|
+
const w = c.props || G, A = u.props || G;
|
|
2694
|
+
let h;
|
|
2695
|
+
if (p && ct(p, !1), (h = A.onVnodeBeforeUpdate) && Fe(h, p, u, c), T && ot(u, c, p, "beforeUpdate"), p && ct(p, !0), // #6385 the old vnode may be a user-wrapped non-isomorphic block
|
|
2696
|
+
// Force full diff when block metadata is unstable.
|
|
2697
|
+
b && (!c.dynamicChildren || c.dynamicChildren.length !== b.length) && (x = 0, C = !1, b = null), (w.innerHTML && A.innerHTML == null || w.textContent && A.textContent == null) && a(S, ""), b ? ke(
|
|
2698
|
+
c.dynamicChildren,
|
|
2699
|
+
b,
|
|
2700
|
+
S,
|
|
2701
|
+
p,
|
|
2702
|
+
y,
|
|
2703
|
+
Bs(u, m),
|
|
2704
|
+
v
|
|
2705
|
+
) : C || W(
|
|
2706
|
+
c,
|
|
2707
|
+
u,
|
|
2708
|
+
S,
|
|
2709
|
+
null,
|
|
2710
|
+
p,
|
|
2711
|
+
y,
|
|
2712
|
+
Bs(u, m),
|
|
2713
|
+
v,
|
|
2714
|
+
!1
|
|
2715
|
+
), x > 0) {
|
|
2716
|
+
if (x & 16)
|
|
2717
|
+
We(S, w, A, p, m);
|
|
2718
|
+
else if (x & 2 && w.class !== A.class && i(S, "class", null, A.class, m), x & 4 && i(S, "style", w.style, A.style, m), x & 8) {
|
|
2719
|
+
const _ = u.dynamicProps;
|
|
2720
|
+
for (let P = 0; P < _.length; P++) {
|
|
2721
|
+
const M = _[P], $ = w[M], V = A[M];
|
|
2722
|
+
(V !== $ || M === "value") && i(S, M, $, V, m, p);
|
|
2723
|
+
}
|
|
2724
|
+
}
|
|
2725
|
+
x & 1 && c.children !== u.children && a(S, u.children);
|
|
2726
|
+
} else !C && b == null && We(S, w, A, p, m);
|
|
2727
|
+
((h = A.onVnodeUpdated) || T) && ae(() => {
|
|
2728
|
+
h && Fe(h, p, u, c), T && ot(u, c, p, "updated");
|
|
2729
|
+
}, y);
|
|
2730
|
+
}, ke = (c, u, p, y, m, v, C) => {
|
|
2731
|
+
for (let S = 0; S < u.length; S++) {
|
|
2732
|
+
const x = c[S], b = u[S], T = x.el || Kt(x), w = (
|
|
2733
|
+
// oldVNode may be an errored async setup() component inside Suspense
|
|
2734
|
+
// which will not have a mounted element
|
|
2735
|
+
T && // - In the case of a Fragment, we need to provide the actual parent
|
|
2736
|
+
// of the Fragment itself so it can move its children.
|
|
2737
|
+
(x.type === he || // - In the case of different nodes, there is going to be a replacement
|
|
2738
|
+
// which also requires the correct parent container
|
|
2739
|
+
!Mt(x, b) || // - In the case of a component, it could contain anything.
|
|
2740
|
+
x.shapeFlag & 198) ? g(T) : (
|
|
2741
|
+
// In other cases, the parent container is not actually used so we
|
|
2742
|
+
// just pass the block element here to avoid a DOM parentNode call.
|
|
2743
|
+
p
|
|
2744
|
+
)
|
|
2745
|
+
);
|
|
2746
|
+
F(
|
|
2747
|
+
x,
|
|
2748
|
+
b,
|
|
2749
|
+
w,
|
|
2750
|
+
null,
|
|
2751
|
+
y,
|
|
2752
|
+
m,
|
|
2753
|
+
v,
|
|
2754
|
+
C,
|
|
2755
|
+
!0
|
|
2756
|
+
);
|
|
2757
|
+
}
|
|
2758
|
+
}, We = (c, u, p, y, m) => {
|
|
2759
|
+
if (u !== p) {
|
|
2760
|
+
if (u !== G)
|
|
2761
|
+
for (const v in u)
|
|
2762
|
+
!Vt(v) && !(v in p) && i(
|
|
2763
|
+
c,
|
|
2764
|
+
v,
|
|
2765
|
+
u[v],
|
|
2766
|
+
null,
|
|
2767
|
+
m,
|
|
2768
|
+
y
|
|
2769
|
+
);
|
|
2770
|
+
for (const v in p) {
|
|
2771
|
+
if (Vt(v)) continue;
|
|
2772
|
+
const C = p[v], S = u[v];
|
|
2773
|
+
C !== S && v !== "value" && i(c, v, S, C, m, y);
|
|
2774
|
+
}
|
|
2775
|
+
"value" in p && i(c, "value", u.value, p.value, m);
|
|
2776
|
+
}
|
|
2777
|
+
}, vt = (c, u, p, y, m, v, C, S, x) => {
|
|
2778
|
+
const b = u.el = c ? c.el : o(""), T = u.anchor = c ? c.anchor : o("");
|
|
2779
|
+
let { patchFlag: w, dynamicChildren: A, slotScopeIds: h } = u;
|
|
2780
|
+
h && (S = S ? S.concat(h) : h), c == null ? (n(b, p, y), n(T, p, y), ve(
|
|
2781
|
+
// #10007
|
|
2782
|
+
// such fragment like `<></>` will be compiled into
|
|
2783
|
+
// a fragment which doesn't have a children.
|
|
2784
|
+
// In this case fallback to an empty array
|
|
2785
|
+
u.children || [],
|
|
2786
|
+
p,
|
|
2787
|
+
T,
|
|
2788
|
+
m,
|
|
2789
|
+
v,
|
|
2790
|
+
C,
|
|
2791
|
+
S,
|
|
2792
|
+
x
|
|
2793
|
+
)) : w > 0 && w & 64 && A && // #2715 the previous fragment could've been a BAILed one as a result
|
|
2794
|
+
// of renderSlot() with no valid children
|
|
2795
|
+
c.dynamicChildren && c.dynamicChildren.length === A.length ? (ke(
|
|
2796
|
+
c.dynamicChildren,
|
|
2797
|
+
A,
|
|
2798
|
+
p,
|
|
2799
|
+
m,
|
|
2800
|
+
v,
|
|
2801
|
+
C,
|
|
2802
|
+
S
|
|
2803
|
+
), // #2080 if the stable fragment has a key, it's a <template v-for> that may
|
|
2804
|
+
// get moved around. Make sure all root level vnodes inherit el.
|
|
2805
|
+
// #2134 or if it's a component root, it may also get moved around
|
|
2806
|
+
// as the component is being moved.
|
|
2807
|
+
(u.key != null || m && u === m.subTree) && ni(
|
|
2808
|
+
c,
|
|
2809
|
+
u,
|
|
2810
|
+
!0
|
|
2811
|
+
/* shallow */
|
|
2812
|
+
)) : W(
|
|
2813
|
+
c,
|
|
2814
|
+
u,
|
|
2815
|
+
p,
|
|
2816
|
+
T,
|
|
2817
|
+
m,
|
|
2818
|
+
v,
|
|
2819
|
+
C,
|
|
2820
|
+
S,
|
|
2821
|
+
x
|
|
2822
|
+
);
|
|
2823
|
+
}, ye = (c, u, p, y, m, v, C, S, x) => {
|
|
2824
|
+
u.slotScopeIds = S, c == null ? u.shapeFlag & 512 ? m.ctx.activate(
|
|
2825
|
+
u,
|
|
2826
|
+
p,
|
|
2827
|
+
y,
|
|
2828
|
+
C,
|
|
2829
|
+
x
|
|
2830
|
+
) : Pt(
|
|
2831
|
+
u,
|
|
2832
|
+
p,
|
|
2833
|
+
y,
|
|
2834
|
+
m,
|
|
2835
|
+
v,
|
|
2836
|
+
C,
|
|
2837
|
+
x
|
|
2838
|
+
) : oe(c, u, x);
|
|
2839
|
+
}, Pt = (c, u, p, y, m, v, C) => {
|
|
2840
|
+
const S = c.component = fo(
|
|
2841
|
+
c,
|
|
2842
|
+
y,
|
|
2843
|
+
m
|
|
2844
|
+
);
|
|
2845
|
+
if (vn(c) && (S.ctx.renderer = qe), ao(S, !1, C), S.asyncDep) {
|
|
2846
|
+
if (m && m.registerDep(
|
|
2847
|
+
S,
|
|
2848
|
+
z,
|
|
2849
|
+
C,
|
|
2850
|
+
v
|
|
2851
|
+
), !c.el) {
|
|
2852
|
+
const x = S.subTree = Qe(Ie);
|
|
2853
|
+
k(null, x, u, p), c.placeholder = x.el;
|
|
2854
|
+
}
|
|
2855
|
+
} else
|
|
2856
|
+
z(
|
|
2857
|
+
S,
|
|
2858
|
+
c,
|
|
2859
|
+
u,
|
|
2860
|
+
p,
|
|
2861
|
+
m,
|
|
2862
|
+
v,
|
|
2863
|
+
C
|
|
2864
|
+
);
|
|
2865
|
+
}, oe = (c, u, p) => {
|
|
2866
|
+
const y = u.component = c.component;
|
|
2867
|
+
if (Bl(c, u, p))
|
|
2868
|
+
if (y.asyncDep && !y.asyncResolved) {
|
|
2869
|
+
u.el = c.el, u.placeholder = c.placeholder, J(y, u, p);
|
|
2870
|
+
return;
|
|
2871
|
+
} else
|
|
2872
|
+
y.next = u, y.update();
|
|
2873
|
+
else
|
|
2874
|
+
u.el = c.el, u.placeholder = c.placeholder, y.vnode = u;
|
|
2875
|
+
}, z = (c, u, p, y, m, v, C) => {
|
|
2876
|
+
const S = () => {
|
|
2877
|
+
if (c.isMounted) {
|
|
2878
|
+
let { next: w, bu: A, u: h, parent: _, vnode: P } = c;
|
|
2879
|
+
{
|
|
2880
|
+
const Ee = ri(c);
|
|
2881
|
+
if (Ee) {
|
|
2882
|
+
w && (w.el = P.el, J(c, w, C)), Ee.asyncDep.then(() => {
|
|
2883
|
+
const Ge = () => {
|
|
2884
|
+
c.job.flags & 8 || (m && m.pendingBranch ? ae(Ge, m) : b());
|
|
2885
|
+
};
|
|
2886
|
+
Ge.flags = 48, ae(Ge, m);
|
|
2887
|
+
});
|
|
2888
|
+
return;
|
|
2889
|
+
}
|
|
2890
|
+
}
|
|
2891
|
+
let M = w, $;
|
|
2892
|
+
ct(c, !1), w ? (w.el = P.el, J(c, w, C)) : w = P, A && fs(A), ($ = w.props && w.props.onVnodeBeforeUpdate) && Fe($, _, w, P), ct(c, !0);
|
|
2893
|
+
const V = Ln(c), Q = c.subTree;
|
|
2894
|
+
c.subTree = V, F(
|
|
2895
|
+
Q,
|
|
2896
|
+
V,
|
|
2897
|
+
// parent may have changed if it's in a teleport. a root that is a
|
|
2898
|
+
// pending async component only has its placeholder comment
|
|
2899
|
+
g(
|
|
2900
|
+
Q.el || Kt(Q)
|
|
2901
|
+
),
|
|
2902
|
+
// anchor may have changed if it's in a fragment
|
|
2903
|
+
xt(Q),
|
|
2904
|
+
c,
|
|
2905
|
+
m,
|
|
2906
|
+
v
|
|
2907
|
+
), w.el = V.el, M === null && kl(c, V.el), h && ae(h, m), ($ = w.props && w.props.onVnodeUpdated) && ae(
|
|
2908
|
+
() => Fe($, _, w, P),
|
|
2909
|
+
m
|
|
2910
|
+
);
|
|
2911
|
+
} else {
|
|
2912
|
+
let w;
|
|
2913
|
+
const { el: A, props: h } = u, { bm: _, m: P, parent: M, root: $, type: V } = c, Q = Lt(u);
|
|
2914
|
+
ct(c, !1), _ && fs(_), !Q && (w = h && h.onVnodeBeforeMount) && Fe(w, M, u), ct(c, !0);
|
|
2915
|
+
{
|
|
2916
|
+
$.ce && $.ce._hasShadowRoot() && $.ce._injectChildStyle(
|
|
2917
|
+
V,
|
|
2918
|
+
c.parent ? c.parent.type : void 0
|
|
2919
|
+
);
|
|
2920
|
+
const Ee = c.subTree = Ln(c);
|
|
2921
|
+
F(
|
|
2922
|
+
null,
|
|
2923
|
+
Ee,
|
|
2924
|
+
p,
|
|
2925
|
+
y,
|
|
2926
|
+
c,
|
|
2927
|
+
m,
|
|
2928
|
+
v
|
|
2929
|
+
), u.el = Ee.el;
|
|
2930
|
+
}
|
|
2931
|
+
if (P && ae(P, m), !Q && (w = h && h.onVnodeMounted)) {
|
|
2932
|
+
const Ee = u;
|
|
2933
|
+
ae(
|
|
2934
|
+
() => Fe(w, M, Ee),
|
|
2935
|
+
m
|
|
2936
|
+
);
|
|
2937
|
+
}
|
|
2938
|
+
(u.shapeFlag & 256 || M && Lt(M.vnode) && M.vnode.shapeFlag & 256) && c.a && ae(c.a, m), c.isMounted = !0, u = p = y = null;
|
|
2939
|
+
}
|
|
2940
|
+
};
|
|
2941
|
+
c.scope.on();
|
|
2942
|
+
const x = c.effect = new mr(S);
|
|
2943
|
+
c.scope.off();
|
|
2944
|
+
const b = c.update = x.run.bind(x), T = c.job = x.runIfDirty.bind(x);
|
|
2945
|
+
T.i = c, T.id = c.uid, x.scheduler = () => _n(T), ct(c, !0), b();
|
|
2946
|
+
}, J = (c, u, p) => {
|
|
2947
|
+
u.component = c;
|
|
2948
|
+
const y = c.vnode.props;
|
|
2949
|
+
c.vnode = u, c.next = null, ql(c, u.props, y, p), zl(c, u.children, p), Ue(), Dr(c), Ke();
|
|
2950
|
+
}, W = (c, u, p, y, m, v, C, S, x = !1) => {
|
|
2951
|
+
const b = c && c.children, T = c ? c.shapeFlag : 0, w = u.children, { patchFlag: A, shapeFlag: h } = u;
|
|
2952
|
+
if (A > 0) {
|
|
2953
|
+
if (A & 128) {
|
|
2954
|
+
yt(
|
|
2955
|
+
b,
|
|
2956
|
+
w,
|
|
2957
|
+
p,
|
|
2958
|
+
y,
|
|
2959
|
+
m,
|
|
2960
|
+
v,
|
|
2961
|
+
C,
|
|
2962
|
+
S,
|
|
2963
|
+
x
|
|
2964
|
+
);
|
|
2965
|
+
return;
|
|
2966
|
+
} else if (A & 256) {
|
|
2967
|
+
ce(
|
|
2968
|
+
b,
|
|
2969
|
+
w,
|
|
2970
|
+
p,
|
|
2971
|
+
y,
|
|
2972
|
+
m,
|
|
2973
|
+
v,
|
|
2974
|
+
C,
|
|
2975
|
+
S,
|
|
2976
|
+
x
|
|
2977
|
+
);
|
|
2978
|
+
return;
|
|
2979
|
+
}
|
|
2980
|
+
}
|
|
2981
|
+
h & 8 ? (T & 16 && tt(b, m, v), w !== b && a(p, w)) : T & 16 ? h & 16 ? yt(
|
|
2982
|
+
b,
|
|
2983
|
+
w,
|
|
2984
|
+
p,
|
|
2985
|
+
y,
|
|
2986
|
+
m,
|
|
2987
|
+
v,
|
|
2988
|
+
C,
|
|
2989
|
+
S,
|
|
2990
|
+
x
|
|
2991
|
+
) : tt(b, m, v, !0) : (T & 8 && a(p, ""), h & 16 && ve(
|
|
2992
|
+
w,
|
|
2993
|
+
p,
|
|
2994
|
+
y,
|
|
2995
|
+
m,
|
|
2996
|
+
v,
|
|
2997
|
+
C,
|
|
2998
|
+
S,
|
|
2999
|
+
x
|
|
3000
|
+
));
|
|
3001
|
+
}, ce = (c, u, p, y, m, v, C, S, x) => {
|
|
3002
|
+
c = c || dt, u = u || dt;
|
|
3003
|
+
const b = c.length, T = u.length, w = Math.min(b, T);
|
|
3004
|
+
let A;
|
|
3005
|
+
for (A = 0; A < w; A++) {
|
|
3006
|
+
const h = u[A] = x ? ze(u[A]) : $e(u[A]);
|
|
3007
|
+
F(
|
|
3008
|
+
c[A],
|
|
3009
|
+
h,
|
|
3010
|
+
p,
|
|
3011
|
+
null,
|
|
3012
|
+
m,
|
|
3013
|
+
v,
|
|
3014
|
+
C,
|
|
3015
|
+
S,
|
|
3016
|
+
x
|
|
3017
|
+
);
|
|
3018
|
+
}
|
|
3019
|
+
b > T ? tt(
|
|
3020
|
+
c,
|
|
3021
|
+
m,
|
|
3022
|
+
v,
|
|
3023
|
+
!0,
|
|
3024
|
+
!1,
|
|
3025
|
+
w
|
|
3026
|
+
) : ve(
|
|
3027
|
+
u,
|
|
3028
|
+
p,
|
|
3029
|
+
y,
|
|
3030
|
+
m,
|
|
3031
|
+
v,
|
|
3032
|
+
C,
|
|
3033
|
+
S,
|
|
3034
|
+
x,
|
|
3035
|
+
w
|
|
3036
|
+
);
|
|
3037
|
+
}, yt = (c, u, p, y, m, v, C, S, x) => {
|
|
3038
|
+
let b = 0;
|
|
3039
|
+
const T = u.length;
|
|
3040
|
+
let w = c.length - 1, A = T - 1;
|
|
3041
|
+
for (; b <= w && b <= A; ) {
|
|
3042
|
+
const h = c[b], _ = u[b] = x ? ze(u[b]) : $e(u[b]);
|
|
3043
|
+
if (Mt(h, _))
|
|
3044
|
+
F(
|
|
3045
|
+
h,
|
|
3046
|
+
_,
|
|
3047
|
+
p,
|
|
3048
|
+
null,
|
|
3049
|
+
m,
|
|
3050
|
+
v,
|
|
3051
|
+
C,
|
|
3052
|
+
S,
|
|
3053
|
+
x
|
|
3054
|
+
);
|
|
3055
|
+
else
|
|
3056
|
+
break;
|
|
3057
|
+
b++;
|
|
3058
|
+
}
|
|
3059
|
+
for (; b <= w && b <= A; ) {
|
|
3060
|
+
const h = c[w], _ = u[A] = x ? ze(u[A]) : $e(u[A]);
|
|
3061
|
+
if (Mt(h, _))
|
|
3062
|
+
F(
|
|
3063
|
+
h,
|
|
3064
|
+
_,
|
|
3065
|
+
p,
|
|
3066
|
+
null,
|
|
3067
|
+
m,
|
|
3068
|
+
v,
|
|
3069
|
+
C,
|
|
3070
|
+
S,
|
|
3071
|
+
x
|
|
3072
|
+
);
|
|
3073
|
+
else
|
|
3074
|
+
break;
|
|
3075
|
+
w--, A--;
|
|
3076
|
+
}
|
|
3077
|
+
if (b > w) {
|
|
3078
|
+
if (b <= A) {
|
|
3079
|
+
const h = A + 1, _ = h < T ? u[h].el : y;
|
|
3080
|
+
for (; b <= A; )
|
|
3081
|
+
F(
|
|
3082
|
+
null,
|
|
3083
|
+
u[b] = x ? ze(u[b]) : $e(u[b]),
|
|
3084
|
+
p,
|
|
3085
|
+
_,
|
|
3086
|
+
m,
|
|
3087
|
+
v,
|
|
3088
|
+
C,
|
|
3089
|
+
S,
|
|
3090
|
+
x
|
|
3091
|
+
), b++;
|
|
3092
|
+
}
|
|
3093
|
+
} else if (b > A)
|
|
3094
|
+
for (; b <= w; )
|
|
3095
|
+
se(c[b], m, v, !0), b++;
|
|
3096
|
+
else {
|
|
3097
|
+
const h = b, _ = b, P = /* @__PURE__ */ new Map();
|
|
3098
|
+
for (b = _; b <= A; b++) {
|
|
3099
|
+
const be = u[b] = x ? ze(u[b]) : $e(u[b]);
|
|
3100
|
+
be.key != null && P.set(be.key, b);
|
|
3101
|
+
}
|
|
3102
|
+
let M, $ = 0;
|
|
3103
|
+
const V = A - _ + 1;
|
|
3104
|
+
let Q = !1, Ee = 0;
|
|
3105
|
+
const Ge = new Array(V);
|
|
3106
|
+
for (b = 0; b < V; b++) Ge[b] = 0;
|
|
3107
|
+
for (b = h; b <= w; b++) {
|
|
3108
|
+
const be = c[b];
|
|
3109
|
+
if ($ >= V) {
|
|
3110
|
+
se(be, m, v, !0);
|
|
3111
|
+
continue;
|
|
3112
|
+
}
|
|
3113
|
+
let Re;
|
|
3114
|
+
if (be.key != null)
|
|
3115
|
+
Re = P.get(be.key);
|
|
3116
|
+
else
|
|
3117
|
+
for (M = _; M <= A; M++)
|
|
3118
|
+
if (Ge[M - _] === 0 && Mt(be, u[M])) {
|
|
3119
|
+
Re = M;
|
|
3120
|
+
break;
|
|
3121
|
+
}
|
|
3122
|
+
Re === void 0 ? se(be, m, v, !0) : (Ge[Re - _] = b + 1, Re >= Ee ? Ee = Re : Q = !0, F(
|
|
3123
|
+
be,
|
|
3124
|
+
u[Re],
|
|
3125
|
+
p,
|
|
3126
|
+
null,
|
|
3127
|
+
m,
|
|
3128
|
+
v,
|
|
3129
|
+
C,
|
|
3130
|
+
S,
|
|
3131
|
+
x
|
|
3132
|
+
), $++);
|
|
3133
|
+
}
|
|
3134
|
+
const wn = Q ? eo(Ge) : dt;
|
|
3135
|
+
for (M = wn.length - 1, b = V - 1; b >= 0; b--) {
|
|
3136
|
+
const be = _ + b, Re = u[be], En = u[be + 1], Tn = be + 1 < T ? (
|
|
3137
|
+
// #13559, #14173 fallback to el placeholder for unresolved async component
|
|
3138
|
+
En.el || Kt(En)
|
|
3139
|
+
) : y;
|
|
3140
|
+
Ge[b] === 0 ? F(
|
|
3141
|
+
null,
|
|
3142
|
+
Re,
|
|
3143
|
+
p,
|
|
3144
|
+
Tn,
|
|
3145
|
+
m,
|
|
3146
|
+
v,
|
|
3147
|
+
C,
|
|
3148
|
+
S,
|
|
3149
|
+
x
|
|
3150
|
+
) : Q && (M < 0 || b !== wn[M] ? Me(Re, p, Tn, 2) : M--);
|
|
3151
|
+
}
|
|
3152
|
+
}
|
|
3153
|
+
}, Me = (c, u, p, y, m = null) => {
|
|
3154
|
+
const { el: v, type: C, transition: S, children: x, shapeFlag: b } = c;
|
|
3155
|
+
if (b & 6) {
|
|
3156
|
+
Me(c.component.subTree, u, p, y);
|
|
3157
|
+
return;
|
|
3158
|
+
}
|
|
3159
|
+
if (b & 128) {
|
|
3160
|
+
c.suspense.move(u, p, y);
|
|
3161
|
+
return;
|
|
3162
|
+
}
|
|
3163
|
+
if (b & 64) {
|
|
3164
|
+
C.move(c, u, p, qe);
|
|
3165
|
+
return;
|
|
3166
|
+
}
|
|
3167
|
+
if (C === he) {
|
|
3168
|
+
n(v, u, p);
|
|
3169
|
+
for (let w = 0; w < x.length; w++)
|
|
3170
|
+
Me(x[w], u, p, y);
|
|
3171
|
+
n(c.anchor, u, p);
|
|
3172
|
+
return;
|
|
3173
|
+
}
|
|
3174
|
+
if (C === ks) {
|
|
3175
|
+
H(c, u, p);
|
|
3176
|
+
return;
|
|
3177
|
+
}
|
|
3178
|
+
if (y !== 2 && b & 1 && S)
|
|
3179
|
+
if (y === 0)
|
|
3180
|
+
S.persisted && !v[Us] ? n(v, u, p) : (S.beforeEnter(v), n(v, u, p), ae(() => S.enter(v), m));
|
|
3181
|
+
else {
|
|
3182
|
+
const { leave: w, delayLeave: A, afterLeave: h } = S, _ = () => {
|
|
3183
|
+
c.ctx.isUnmounted ? r(v) : n(v, u, p);
|
|
3184
|
+
}, P = () => {
|
|
3185
|
+
const M = v._isLeaving || !!v[Us];
|
|
3186
|
+
v._isLeaving && v[Us](
|
|
3187
|
+
!0
|
|
3188
|
+
/* cancelled */
|
|
3189
|
+
), S.persisted && !M ? _() : w(v, () => {
|
|
3190
|
+
_(), h && h();
|
|
3191
|
+
});
|
|
3192
|
+
};
|
|
3193
|
+
A ? A(v, _, P) : P();
|
|
3194
|
+
}
|
|
3195
|
+
else
|
|
3196
|
+
n(v, u, p);
|
|
3197
|
+
}, se = (c, u, p, y = !1, m = !1) => {
|
|
3198
|
+
const {
|
|
3199
|
+
type: v,
|
|
3200
|
+
props: C,
|
|
3201
|
+
ref: S,
|
|
3202
|
+
children: x,
|
|
3203
|
+
dynamicChildren: b,
|
|
3204
|
+
shapeFlag: T,
|
|
3205
|
+
patchFlag: w,
|
|
3206
|
+
dirs: A,
|
|
3207
|
+
cacheIndex: h,
|
|
3208
|
+
memo: _
|
|
3209
|
+
} = c;
|
|
3210
|
+
if ((w === -2 || b && b.hasOnce) && (m = !1), S != null && (Ue(), Ht(S, null, p, c, !0), Ke()), h != null && (!c.ctx || c.ctx === u) && (u.renderCache[h] = void 0), T & 256 && u.ctx.deactivate(c))
|
|
3211
|
+
return;
|
|
3212
|
+
const P = T & 1 && A, M = !Lt(c);
|
|
3213
|
+
let $;
|
|
3214
|
+
if (M && ($ = C && C.onVnodeBeforeUnmount) && Fe($, u, c), T & 6)
|
|
3215
|
+
Ds(c.component, p, y);
|
|
3216
|
+
else {
|
|
3217
|
+
if (T & 128) {
|
|
3218
|
+
c.suspense.unmount(p, y);
|
|
3219
|
+
return;
|
|
3220
|
+
}
|
|
3221
|
+
P && ot(c, null, u, "beforeUnmount"), T & 64 ? c.type.remove(
|
|
3222
|
+
c,
|
|
3223
|
+
u,
|
|
3224
|
+
p,
|
|
3225
|
+
qe,
|
|
3226
|
+
y
|
|
3227
|
+
) : b && // #5154
|
|
3228
|
+
// when v-once is used inside a block, setBlockTracking(-1) marks the
|
|
3229
|
+
// parent block with hasOnce: true
|
|
3230
|
+
// so that it doesn't take the fast path during unmount - otherwise
|
|
3231
|
+
// components nested in v-once are never unmounted.
|
|
3232
|
+
!b.hasOnce && // #1153: fast path should not be taken for non-stable (v-for) fragments
|
|
3233
|
+
(v !== he || w > 0 && w & 64) ? tt(
|
|
3234
|
+
b,
|
|
3235
|
+
u,
|
|
3236
|
+
p,
|
|
3237
|
+
!1,
|
|
3238
|
+
!0
|
|
3239
|
+
) : (v === he && w & 384 || !m && T & 16) && tt(x, u, p), y && ne(c);
|
|
3240
|
+
}
|
|
3241
|
+
const V = _ != null && h == null;
|
|
3242
|
+
(M && ($ = C && C.onVnodeUnmounted) || P || V) && ae(() => {
|
|
3243
|
+
$ && Fe($, u, c), P && ot(c, null, u, "unmounted"), V && (c.el = null);
|
|
3244
|
+
}, p);
|
|
3245
|
+
}, ne = (c) => {
|
|
3246
|
+
const { type: u, el: p, anchor: y, transition: m } = c, v = u === he;
|
|
3247
|
+
if (v && !m) {
|
|
3248
|
+
es(p, y);
|
|
3249
|
+
return;
|
|
3250
|
+
}
|
|
3251
|
+
if (u === ks) {
|
|
3252
|
+
I(c), m && !m.persisted && m.afterLeave && m.afterLeave();
|
|
3253
|
+
return;
|
|
3254
|
+
}
|
|
3255
|
+
const C = v ? Qs(c) : c, S = () => {
|
|
3256
|
+
v ? g(p) && es(p, y) : r(p), m && !m.persisted && m.afterLeave && m.afterLeave();
|
|
3257
|
+
};
|
|
3258
|
+
if (C && C.shapeFlag & 1 && m && !m.persisted) {
|
|
3259
|
+
const { leave: x, delayLeave: b } = m, T = C.el, w = () => x(T, S);
|
|
3260
|
+
b ? b(T, S, w) : w();
|
|
3261
|
+
} else
|
|
3262
|
+
S();
|
|
3263
|
+
}, es = (c, u) => {
|
|
3264
|
+
let p;
|
|
3265
|
+
for (; c !== u; )
|
|
3266
|
+
p = E(c), r(c), c = p;
|
|
3267
|
+
r(u);
|
|
3268
|
+
}, Ds = (c, u, p) => {
|
|
3269
|
+
const { bum: y, scope: m, job: v, subTree: C, um: S, m: x, a: b } = c;
|
|
3270
|
+
Bn(x), Bn(b), y && fs(y), m.stop(), v ? (v.flags |= 8, se(C, c, u, p)) : C && (C.transition = c.vnode.transition, se(C, c, u, p)), S && ae(S, u);
|
|
3271
|
+
const T = () => {
|
|
3272
|
+
c.isUnmounted = !0;
|
|
3273
|
+
};
|
|
3274
|
+
T.flags = 16, ae(T, u);
|
|
3275
|
+
}, tt = (c, u, p, y = !1, m = !1, v = 0) => {
|
|
3276
|
+
for (let C = v; C < c.length; C++)
|
|
3277
|
+
se(c[C], u, p, y, m);
|
|
3278
|
+
}, xt = (c) => {
|
|
3279
|
+
if (c.shapeFlag & 6)
|
|
3280
|
+
return xt(c.component.subTree);
|
|
3281
|
+
if (c.shapeFlag & 128)
|
|
3282
|
+
return c.suspense.next();
|
|
3283
|
+
const u = E(c.anchor || c.el), p = u && u[hl];
|
|
3284
|
+
return p ? E(p) : u;
|
|
3285
|
+
}, ts = (c, u, p) => {
|
|
3286
|
+
const y = c && u._vnode ? void 0 : c && c.component ? c.component.uid : co();
|
|
3287
|
+
ol(() => {
|
|
3288
|
+
c == null ? u._vnode && se(u._vnode, null, null, !0) : F(
|
|
3289
|
+
u._vnode || null,
|
|
3290
|
+
c,
|
|
3291
|
+
u,
|
|
3292
|
+
null,
|
|
3293
|
+
null,
|
|
3294
|
+
null,
|
|
3295
|
+
p
|
|
3296
|
+
), u._vnode = c;
|
|
3297
|
+
}, y);
|
|
3298
|
+
}, qe = {
|
|
3299
|
+
p: F,
|
|
3300
|
+
um: se,
|
|
3301
|
+
m: Me,
|
|
3302
|
+
r: ne,
|
|
3303
|
+
mt: Pt,
|
|
3304
|
+
mc: ve,
|
|
3305
|
+
pc: W,
|
|
3306
|
+
pbc: ke,
|
|
3307
|
+
n: xt,
|
|
3308
|
+
o: e
|
|
3309
|
+
};
|
|
3310
|
+
return {
|
|
3311
|
+
render: ts,
|
|
3312
|
+
hydrate: void 0,
|
|
3313
|
+
createApp: $l(ts)
|
|
3314
|
+
};
|
|
3315
|
+
}
|
|
3316
|
+
function Bs({ type: e, props: t }, s) {
|
|
3317
|
+
return s === "svg" && e === "foreignObject" || s === "mathml" && e === "annotation-xml" && t && t.encoding && t.encoding.includes("html") ? void 0 : s;
|
|
3318
|
+
}
|
|
3319
|
+
function ct({ effect: e, job: t }, s) {
|
|
3320
|
+
s ? (e.flags |= 32, t.flags |= 4) : (e.flags &= -33, t.flags &= -5);
|
|
3321
|
+
}
|
|
3322
|
+
function Ql(e, t) {
|
|
3323
|
+
return (!e || e && !e.pendingBranch) && t && !t.persisted;
|
|
3324
|
+
}
|
|
3325
|
+
function ni(e, t, s = !1) {
|
|
3326
|
+
const n = e.children, r = t.children;
|
|
3327
|
+
if (R(n) && R(r))
|
|
3328
|
+
for (let i = 0; i < n.length; i++) {
|
|
3329
|
+
const l = n[i];
|
|
3330
|
+
let o = r[i];
|
|
3331
|
+
o.shapeFlag & 1 && !o.dynamicChildren && ((o.patchFlag <= 0 || o.patchFlag === 32) && (o = r[i] = ze(r[i]), o.el = l.el), !s && o.patchFlag !== -2 && ni(l, o)), o.type === Rs && (o.patchFlag === -1 && (o = r[i] = ze(o)), o.el = l.el), o.type === Ie && !o.el && (o.el = l.el);
|
|
3332
|
+
}
|
|
3333
|
+
}
|
|
3334
|
+
function eo(e) {
|
|
3335
|
+
const t = e.slice(), s = [0];
|
|
3336
|
+
let n, r, i, l, o;
|
|
3337
|
+
const f = e.length;
|
|
3338
|
+
for (n = 0; n < f; n++) {
|
|
3339
|
+
const d = e[n];
|
|
3340
|
+
if (d !== 0) {
|
|
3341
|
+
if (r = s[s.length - 1], e[r] < d) {
|
|
3342
|
+
t[n] = r, s.push(n);
|
|
3343
|
+
continue;
|
|
3344
|
+
}
|
|
3345
|
+
for (i = 0, l = s.length - 1; i < l; )
|
|
3346
|
+
o = i + l >> 1, e[s[o]] < d ? i = o + 1 : l = o;
|
|
3347
|
+
d < e[s[i]] && (i > 0 && (t[n] = s[i - 1]), s[i] = n);
|
|
3348
|
+
}
|
|
3349
|
+
}
|
|
3350
|
+
for (i = s.length, l = s[i - 1]; i-- > 0; )
|
|
3351
|
+
s[i] = l, l = t[l];
|
|
3352
|
+
return s;
|
|
3353
|
+
}
|
|
3354
|
+
function ri(e) {
|
|
3355
|
+
const t = e.subTree.component;
|
|
3356
|
+
if (t)
|
|
3357
|
+
return t.asyncDep && !t.asyncResolved ? t : ri(t);
|
|
3358
|
+
}
|
|
3359
|
+
function Bn(e) {
|
|
3360
|
+
if (e)
|
|
3361
|
+
for (let t = 0; t < e.length; t++)
|
|
3362
|
+
e[t].flags |= 8;
|
|
3363
|
+
}
|
|
3364
|
+
function Kt(e) {
|
|
3365
|
+
if (e.placeholder)
|
|
3366
|
+
return e.placeholder;
|
|
3367
|
+
const t = e.component;
|
|
3368
|
+
if (t)
|
|
3369
|
+
return Kt(t.subTree);
|
|
3370
|
+
const s = e.suspense;
|
|
3371
|
+
return s && s.activeBranch ? Kt(s.activeBranch) : null;
|
|
3372
|
+
}
|
|
3373
|
+
const ii = (e) => e.__isSuspense, to = /* @__PURE__ */ Symbol("_deferredEnter");
|
|
3374
|
+
function so(e, t) {
|
|
3375
|
+
t && t.pendingBranch ? R(e) ? t.effects.push(...e) : t.effects.push(e) : ll(e);
|
|
3376
|
+
}
|
|
3377
|
+
const he = /* @__PURE__ */ Symbol.for("v-fgt"), Rs = /* @__PURE__ */ Symbol.for("v-txt"), Ie = /* @__PURE__ */ Symbol.for("v-cmt"), ks = /* @__PURE__ */ Symbol.for("v-stc"), gt = [];
|
|
3378
|
+
let _e = null;
|
|
3379
|
+
function ue(e = !1) {
|
|
3380
|
+
gt.push(_e = e ? null : []);
|
|
3381
|
+
}
|
|
3382
|
+
function li() {
|
|
3383
|
+
gt.pop(), _e = gt[gt.length - 1] || null;
|
|
3384
|
+
}
|
|
3385
|
+
let Gt = 1;
|
|
3386
|
+
function kn(e, t = !1) {
|
|
3387
|
+
Gt += e, e < 0 && _e && t && (_e.hasOnce = !0);
|
|
3388
|
+
}
|
|
3389
|
+
function oi(e) {
|
|
3390
|
+
return e.dynamicChildren = Gt > 0 ? _e || dt : null, li(), Gt > 0 && _e && _e.push(e), e;
|
|
3391
|
+
}
|
|
3392
|
+
function ge(e, t, s, n, r, i) {
|
|
3393
|
+
return oi(
|
|
3394
|
+
D(
|
|
3395
|
+
e,
|
|
3396
|
+
t,
|
|
3397
|
+
s,
|
|
3398
|
+
n,
|
|
3399
|
+
r,
|
|
3400
|
+
i,
|
|
3401
|
+
!0
|
|
3402
|
+
)
|
|
3403
|
+
);
|
|
3404
|
+
}
|
|
3405
|
+
function no(e, t, s, n, r) {
|
|
3406
|
+
return oi(
|
|
3407
|
+
Qe(
|
|
3408
|
+
e,
|
|
3409
|
+
t,
|
|
3410
|
+
s,
|
|
3411
|
+
n,
|
|
3412
|
+
r,
|
|
3413
|
+
!0
|
|
3414
|
+
)
|
|
3415
|
+
);
|
|
3416
|
+
}
|
|
3417
|
+
function Sn(e) {
|
|
3418
|
+
return e ? e.__v_isVNode === !0 : !1;
|
|
3419
|
+
}
|
|
3420
|
+
function Mt(e, t) {
|
|
3421
|
+
return e.type === t.type && e.key === t.key;
|
|
3422
|
+
}
|
|
3423
|
+
const ci = ({ key: e }) => e != null ? e : null, ds = ({
|
|
3424
|
+
ref: e,
|
|
3425
|
+
ref_key: t,
|
|
3426
|
+
ref_for: s
|
|
3427
|
+
}) => (typeof e == "number" && (e = "" + e), e != null ? Z(e) || /* @__PURE__ */ le(e) || j(e) ? { i: xe, r: e, k: t, f: !!s } : e : null);
|
|
3428
|
+
function D(e, t = null, s = null, n = 0, r = null, i = e === he ? 0 : 1, l = !1, o = !1) {
|
|
3429
|
+
const f = {
|
|
3430
|
+
__v_isVNode: !0,
|
|
3431
|
+
__v_skip: !0,
|
|
3432
|
+
type: e,
|
|
3433
|
+
props: t,
|
|
3434
|
+
key: t && ci(t),
|
|
3435
|
+
ref: t && ds(t),
|
|
3436
|
+
scopeId: $r,
|
|
3437
|
+
slotScopeIds: null,
|
|
3438
|
+
children: s,
|
|
3439
|
+
component: null,
|
|
3440
|
+
suspense: null,
|
|
3441
|
+
ssContent: null,
|
|
3442
|
+
ssFallback: null,
|
|
3443
|
+
dirs: null,
|
|
3444
|
+
transition: null,
|
|
3445
|
+
el: null,
|
|
3446
|
+
anchor: null,
|
|
3447
|
+
target: null,
|
|
3448
|
+
targetStart: null,
|
|
3449
|
+
targetAnchor: null,
|
|
3450
|
+
staticCount: 0,
|
|
3451
|
+
shapeFlag: i,
|
|
3452
|
+
patchFlag: n,
|
|
3453
|
+
dynamicProps: r,
|
|
3454
|
+
dynamicChildren: null,
|
|
3455
|
+
appContext: null,
|
|
3456
|
+
ctx: xe
|
|
3457
|
+
};
|
|
3458
|
+
return o ? (vs(f, s), i & 128 && e.normalize(f)) : s && (f.shapeFlag |= Z(s) ? 8 : 16), Gt > 0 && // avoid a block node from tracking itself
|
|
3459
|
+
!l && // has current parent block
|
|
3460
|
+
_e && // presence of a patch flag indicates this node needs patching on updates.
|
|
3461
|
+
// component nodes also should always be patched, because even if the
|
|
3462
|
+
// component doesn't need to update, it needs to persist the instance on to
|
|
3463
|
+
// the next vnode so that it can be properly unmounted later.
|
|
3464
|
+
(f.patchFlag > 0 || i & 6) && // the EVENTS flag is only for hydration and if it is the only flag, the
|
|
3465
|
+
// vnode should not be considered dynamic due to handler caching.
|
|
3466
|
+
f.patchFlag !== 32 && _e.push(f), f;
|
|
3467
|
+
}
|
|
3468
|
+
const Qe = ro;
|
|
3469
|
+
function ro(e, t = null, s = null, n = 0, r = null, i = !1) {
|
|
3470
|
+
if ((!e || e === Pl) && (e = Ie), Sn(e)) {
|
|
3471
|
+
const o = At(
|
|
3472
|
+
e,
|
|
3473
|
+
t,
|
|
3474
|
+
!0
|
|
3475
|
+
/* mergeRef: true */
|
|
3476
|
+
);
|
|
3477
|
+
return s && vs(o, s), Gt > 0 && !i && _e && (o.shapeFlag & 6 ? _e[_e.indexOf(e)] = o : _e.push(o)), o.patchFlag = -2, o;
|
|
3478
|
+
}
|
|
3479
|
+
if (mo(e) && (e = e.__vccOpts), t) {
|
|
3480
|
+
t = io(t);
|
|
3481
|
+
let { class: o, style: f } = t;
|
|
3482
|
+
o && !Z(o) && (t.class = Tt(o)), q(f) && (/* @__PURE__ */ bn(f) && !R(f) && (f = te({}, f)), t.style = fn(f));
|
|
3483
|
+
}
|
|
3484
|
+
const l = Z(e) ? 1 : ii(e) ? 128 : Is(e) ? 64 : q(e) ? 4 : j(e) ? 2 : 0;
|
|
3485
|
+
return D(
|
|
3486
|
+
e,
|
|
3487
|
+
t,
|
|
3488
|
+
s,
|
|
3489
|
+
n,
|
|
3490
|
+
r,
|
|
3491
|
+
l,
|
|
3492
|
+
i,
|
|
3493
|
+
!0
|
|
3494
|
+
);
|
|
3495
|
+
}
|
|
3496
|
+
function io(e) {
|
|
3497
|
+
return e ? /* @__PURE__ */ bn(e) ? te({}, e) : Xr(e) ? te({}, e[hi] || e) : e : null;
|
|
3498
|
+
}
|
|
3499
|
+
function At(e, t, s = !1, n = !1) {
|
|
3500
|
+
const { props: r, ref: i, patchFlag: l, children: o, transition: f } = e, d = t ? lo(r || {}, t) : r, a = {
|
|
3501
|
+
__v_isVNode: !0,
|
|
3502
|
+
__v_skip: !0,
|
|
3503
|
+
type: e.type,
|
|
3504
|
+
props: d,
|
|
3505
|
+
key: d && ci(d),
|
|
3506
|
+
ref: t && t.ref ? (
|
|
3507
|
+
// #2078 in the case of <component :is="vnode" ref="extra"/>
|
|
3508
|
+
// if the vnode itself already has a ref, cloneVNode will need to merge
|
|
3509
|
+
// the refs so the single vnode can be set on multiple refs
|
|
3510
|
+
s && i ? R(i) ? i.concat(ds(t)) : [i, ds(t)] : ds(t)
|
|
3511
|
+
) : i,
|
|
3512
|
+
scopeId: e.scopeId,
|
|
3513
|
+
slotScopeIds: e.slotScopeIds,
|
|
3514
|
+
children: o,
|
|
3515
|
+
target: e.target,
|
|
3516
|
+
targetStart: e.targetStart,
|
|
3517
|
+
targetAnchor: e.targetAnchor,
|
|
3518
|
+
staticCount: e.staticCount,
|
|
3519
|
+
shapeFlag: e.shapeFlag,
|
|
3520
|
+
// if the vnode is cloned with extra props, we can no longer assume its
|
|
3521
|
+
// existing patch flag to be reliable and need to add the FULL_PROPS flag.
|
|
3522
|
+
// note: preserve flag for fragments since they use the flag for children
|
|
3523
|
+
// fast paths only.
|
|
3524
|
+
patchFlag: t && e.type !== he ? l === -1 ? 16 : l | 16 : l,
|
|
3525
|
+
dynamicProps: e.dynamicProps,
|
|
3526
|
+
dynamicChildren: e.dynamicChildren,
|
|
3527
|
+
appContext: e.appContext,
|
|
3528
|
+
dirs: e.dirs,
|
|
3529
|
+
transition: f,
|
|
3530
|
+
// These should technically only be non-null on mounted VNodes. However,
|
|
3531
|
+
// they *should* be copied for kept-alive vnodes. So we just always copy
|
|
3532
|
+
// them since them being non-null during a mount doesn't affect the logic as
|
|
3533
|
+
// they will simply be overwritten.
|
|
3534
|
+
component: e.component,
|
|
3535
|
+
suspense: e.suspense,
|
|
3536
|
+
ssContent: e.ssContent && At(e.ssContent),
|
|
3537
|
+
ssFallback: e.ssFallback && At(e.ssFallback),
|
|
3538
|
+
placeholder: e.placeholder,
|
|
3539
|
+
el: e.el,
|
|
3540
|
+
anchor: e.anchor,
|
|
3541
|
+
ctx: e.ctx,
|
|
3542
|
+
ce: e.ce,
|
|
3543
|
+
cacheIndex: e.cacheIndex
|
|
3544
|
+
};
|
|
3545
|
+
return f && n && Nt(
|
|
3546
|
+
a,
|
|
3547
|
+
f.clone(a)
|
|
3548
|
+
), a;
|
|
3549
|
+
}
|
|
3550
|
+
function fi(e = " ", t = 0) {
|
|
3551
|
+
return Qe(Rs, null, e, t);
|
|
3552
|
+
}
|
|
3553
|
+
function ft(e = "", t = !1) {
|
|
3554
|
+
return t ? (ue(), no(Ie, null, e)) : Qe(Ie, null, e);
|
|
3555
|
+
}
|
|
3556
|
+
function $e(e) {
|
|
3557
|
+
return e == null || typeof e == "boolean" ? Qe(Ie) : R(e) ? Qe(
|
|
3558
|
+
he,
|
|
3559
|
+
null,
|
|
3560
|
+
// #3666, avoid reference pollution when reusing vnode
|
|
3561
|
+
e.slice()
|
|
3562
|
+
) : Sn(e) ? ze(e) : Qe(Rs, null, String(e));
|
|
3563
|
+
}
|
|
3564
|
+
function ze(e) {
|
|
3565
|
+
return e.el === null && e.patchFlag !== -1 || e.memo ? e : At(e);
|
|
3566
|
+
}
|
|
3567
|
+
function vs(e, t) {
|
|
3568
|
+
let s = 0;
|
|
3569
|
+
const { shapeFlag: n } = e;
|
|
3570
|
+
if (t == null)
|
|
3571
|
+
t = null;
|
|
3572
|
+
else if (R(t))
|
|
3573
|
+
s = 16;
|
|
3574
|
+
else if (typeof t == "object")
|
|
3575
|
+
if (n & 65) {
|
|
3576
|
+
const r = t.default;
|
|
3577
|
+
r && (r._c && (r._d = !1), vs(e, r()), r._c && (r._d = !0));
|
|
3578
|
+
return;
|
|
3579
|
+
} else {
|
|
3580
|
+
s = 32;
|
|
3581
|
+
const r = t._;
|
|
3582
|
+
!r && !Xr(t) ? t._ctx = xe : r === 3 && xe && (xe.slots._ === 1 ? t._ = 1 : (t._ = 2, e.patchFlag |= 1024));
|
|
3583
|
+
}
|
|
3584
|
+
else if (j(t)) {
|
|
3585
|
+
if (n & 65) {
|
|
3586
|
+
vs(e, { default: t });
|
|
3587
|
+
return;
|
|
3588
|
+
}
|
|
3589
|
+
t = { default: t, _ctx: xe }, s = 32;
|
|
3590
|
+
} else
|
|
3591
|
+
t = String(t), n & 64 ? (s = 16, t = [fi(t)]) : s = 8;
|
|
3592
|
+
e.children = t, e.shapeFlag |= s;
|
|
3593
|
+
}
|
|
3594
|
+
function lo(...e) {
|
|
3595
|
+
const t = {};
|
|
3596
|
+
for (let s = 0; s < e.length; s++) {
|
|
3597
|
+
const n = e[s];
|
|
3598
|
+
for (const r in n)
|
|
3599
|
+
if (r === "class")
|
|
3600
|
+
t.class !== n.class && (t.class = Tt([t.class, n.class]));
|
|
3601
|
+
else if (r === "style")
|
|
3602
|
+
t.style = fn([t.style, n.style]);
|
|
3603
|
+
else if (ws(r)) {
|
|
3604
|
+
const i = t[r], l = n[r];
|
|
3605
|
+
l && i !== l && !(R(i) && i.includes(l)) ? t[r] = i ? [].concat(i, l) : l : l == null && i == null && // mergeProps({ 'onUpdate:modelValue': undefined }) should not retain
|
|
3606
|
+
// the model listener.
|
|
3607
|
+
!Es(r) && (t[r] = l);
|
|
3608
|
+
} else r !== "" && (t[r] = n[r]);
|
|
3609
|
+
}
|
|
3610
|
+
return t;
|
|
3611
|
+
}
|
|
3612
|
+
function Fe(e, t, s, n = null) {
|
|
3613
|
+
Pe(e, t, 7, [
|
|
3614
|
+
s,
|
|
3615
|
+
n
|
|
3616
|
+
]);
|
|
3617
|
+
}
|
|
3618
|
+
const oo = /* @__PURE__ */ Wr();
|
|
3619
|
+
let ui = 0;
|
|
3620
|
+
function co() {
|
|
3621
|
+
return ui;
|
|
3622
|
+
}
|
|
3623
|
+
function fo(e, t, s) {
|
|
3624
|
+
const n = e.type, r = (t ? t.appContext : e.appContext) || oo, i = {
|
|
3625
|
+
uid: ui++,
|
|
3626
|
+
vnode: e,
|
|
3627
|
+
type: n,
|
|
3628
|
+
parent: t,
|
|
3629
|
+
appContext: r,
|
|
3630
|
+
root: null,
|
|
3631
|
+
// to be immediately set
|
|
3632
|
+
next: null,
|
|
3633
|
+
subTree: null,
|
|
3634
|
+
// will be set synchronously right after creation
|
|
3635
|
+
effect: null,
|
|
3636
|
+
update: null,
|
|
3637
|
+
// will be set synchronously right after creation
|
|
3638
|
+
job: null,
|
|
3639
|
+
scope: new Ii(
|
|
3640
|
+
!0
|
|
3641
|
+
/* detached */
|
|
3642
|
+
),
|
|
3643
|
+
render: null,
|
|
3644
|
+
proxy: null,
|
|
3645
|
+
exposed: null,
|
|
3646
|
+
exposeProxy: null,
|
|
3647
|
+
withProxy: null,
|
|
3648
|
+
provides: t ? t.provides : Object.create(r.provides),
|
|
3649
|
+
ids: t ? t.ids : ["", 0, 0],
|
|
3650
|
+
accessCache: null,
|
|
3651
|
+
renderCache: [],
|
|
3652
|
+
// local resolved assets
|
|
3653
|
+
components: null,
|
|
3654
|
+
directives: null,
|
|
3655
|
+
// resolved props and emits options
|
|
3656
|
+
propsOptions: Qr(n, r),
|
|
3657
|
+
emitsOptions: qr(n, r),
|
|
3658
|
+
// emit
|
|
3659
|
+
emit: null,
|
|
3660
|
+
// to be set immediately
|
|
3661
|
+
emitted: null,
|
|
3662
|
+
// props default value
|
|
3663
|
+
propsDefaults: G,
|
|
3664
|
+
// inheritAttrs
|
|
3665
|
+
inheritAttrs: n.inheritAttrs,
|
|
3666
|
+
// state
|
|
3667
|
+
ctx: G,
|
|
3668
|
+
data: G,
|
|
3669
|
+
props: G,
|
|
3670
|
+
attrs: G,
|
|
3671
|
+
slots: G,
|
|
3672
|
+
refs: G,
|
|
3673
|
+
setupState: G,
|
|
3674
|
+
setupContext: null,
|
|
3675
|
+
// suspense related
|
|
3676
|
+
suspense: s,
|
|
3677
|
+
suspenseId: s ? s.pendingId : 0,
|
|
3678
|
+
asyncDep: null,
|
|
3679
|
+
asyncResolved: !1,
|
|
3680
|
+
// lifecycle hooks
|
|
3681
|
+
// not using enums here because it results in computed properties
|
|
3682
|
+
isMounted: !1,
|
|
3683
|
+
isUnmounted: !1,
|
|
3684
|
+
isDeactivated: !1,
|
|
3685
|
+
bc: null,
|
|
3686
|
+
c: null,
|
|
3687
|
+
bm: null,
|
|
3688
|
+
m: null,
|
|
3689
|
+
bu: null,
|
|
3690
|
+
u: null,
|
|
3691
|
+
um: null,
|
|
3692
|
+
bum: null,
|
|
3693
|
+
da: null,
|
|
3694
|
+
a: null,
|
|
3695
|
+
rtg: null,
|
|
3696
|
+
rtc: null,
|
|
3697
|
+
ec: null,
|
|
3698
|
+
sp: null
|
|
3699
|
+
};
|
|
3700
|
+
return i.ctx = { _: i }, i.root = t ? t.root : i, i.emit = Hl.bind(null, i), e.ce && e.ce(i), i;
|
|
3701
|
+
}
|
|
3702
|
+
let pe = null;
|
|
3703
|
+
const uo = () => pe || xe;
|
|
3704
|
+
let ys, Jt;
|
|
3705
|
+
{
|
|
3706
|
+
const e = Os(), t = (s, n) => {
|
|
3707
|
+
let r;
|
|
3708
|
+
return (r = e[s]) || (r = e[s] = []), r.push(n), (i) => {
|
|
3709
|
+
r.length > 1 ? r.forEach((l) => l(i)) : r[0](i);
|
|
3710
|
+
};
|
|
3711
|
+
};
|
|
3712
|
+
ys = t(
|
|
3713
|
+
"__VUE_INSTANCE_SETTERS__",
|
|
3714
|
+
(s) => pe = s
|
|
3715
|
+
), Jt = t(
|
|
3716
|
+
"__VUE_SSR_SETTERS__",
|
|
3717
|
+
(s) => Yt = s
|
|
3718
|
+
);
|
|
3719
|
+
}
|
|
3720
|
+
const Qt = (e) => {
|
|
3721
|
+
const t = pe;
|
|
3722
|
+
return ys(e), e.scope.on(), () => {
|
|
3723
|
+
e.scope.off(), ys(t);
|
|
3724
|
+
};
|
|
3725
|
+
}, Wn = () => {
|
|
3726
|
+
pe && pe.scope.off(), ys(null);
|
|
3727
|
+
};
|
|
3728
|
+
function ai(e) {
|
|
3729
|
+
return e.vnode.shapeFlag & 4;
|
|
3730
|
+
}
|
|
3731
|
+
let Yt = !1;
|
|
3732
|
+
function ao(e, t = !1, s = !1) {
|
|
3733
|
+
t && Jt(t);
|
|
3734
|
+
const { props: n, children: r } = e.vnode, i = ai(e);
|
|
3735
|
+
Wl(e, n, i, t), Yl(e, r, s || t);
|
|
3736
|
+
const l = i ? ho(e, t) : void 0;
|
|
3737
|
+
return t && Jt(!1), l;
|
|
3738
|
+
}
|
|
3739
|
+
function ho(e, t) {
|
|
3740
|
+
const s = e.type;
|
|
3741
|
+
e.accessCache = /* @__PURE__ */ Object.create(null), e.proxy = new Proxy(e.ctx, Il);
|
|
3742
|
+
const { setup: n } = s;
|
|
3743
|
+
if (n) {
|
|
3744
|
+
Ue();
|
|
3745
|
+
const r = e.setupContext = n.length > 1 ? go(e) : null, i = Qt(e), l = Zt(
|
|
3746
|
+
n,
|
|
3747
|
+
e,
|
|
3748
|
+
0,
|
|
3749
|
+
[
|
|
3750
|
+
e.props,
|
|
3751
|
+
r
|
|
3752
|
+
]
|
|
3753
|
+
), o = cr(l);
|
|
3754
|
+
if (Ke(), i(), (o || e.sp) && !Lt(e) && Ur(e), o) {
|
|
3755
|
+
if (l.then(Wn, Wn), t)
|
|
3756
|
+
return l.then((f) => {
|
|
3757
|
+
Jt(!0);
|
|
3758
|
+
try {
|
|
3759
|
+
qn(e, f, t);
|
|
3760
|
+
} finally {
|
|
3761
|
+
Jt(!1);
|
|
3762
|
+
}
|
|
3763
|
+
}).catch((f) => {
|
|
3764
|
+
Ps(f, e, 0, void 0, !0), e.ssrRender = (d, a) => a("<!---->");
|
|
3765
|
+
});
|
|
3766
|
+
e.asyncDep = l;
|
|
3767
|
+
} else
|
|
3768
|
+
qn(e, l);
|
|
3769
|
+
} else
|
|
3770
|
+
di(e);
|
|
3771
|
+
}
|
|
3772
|
+
function qn(e, t, s) {
|
|
3773
|
+
j(t) ? e.type.__ssrInlineRender ? e.ssrRender = t : e.render = t : q(t) && (e.setupState = Mr(t)), di(e);
|
|
3774
|
+
}
|
|
3775
|
+
function di(e, t, s) {
|
|
3776
|
+
const n = e.type;
|
|
3777
|
+
e.render || (e.render = n.render || He);
|
|
3778
|
+
{
|
|
3779
|
+
const r = Qt(e);
|
|
3780
|
+
Ue();
|
|
3781
|
+
try {
|
|
3782
|
+
Ml(e);
|
|
3783
|
+
} finally {
|
|
3784
|
+
Ke(), r();
|
|
3785
|
+
}
|
|
3786
|
+
}
|
|
3787
|
+
}
|
|
3788
|
+
const hi = /* @__PURE__ */ Symbol(), po = {
|
|
3789
|
+
get(e, t) {
|
|
3790
|
+
return ie(e, "get", ""), t === hi ? e : e[t];
|
|
3791
|
+
}
|
|
3792
|
+
};
|
|
3793
|
+
function go(e) {
|
|
3794
|
+
const t = (s) => {
|
|
3795
|
+
e.exposed = s || {};
|
|
3796
|
+
};
|
|
3797
|
+
return {
|
|
3798
|
+
attrs: new Proxy(e.attrs, po),
|
|
3799
|
+
slots: e.slots,
|
|
3800
|
+
emit: e.emit,
|
|
3801
|
+
expose: t
|
|
3802
|
+
};
|
|
3803
|
+
}
|
|
3804
|
+
function Fs(e) {
|
|
3805
|
+
return e.exposed ? e.exposeProxy || (e.exposeProxy = new Proxy(Mr(Yi(e.exposed)), {
|
|
3806
|
+
get(t, s) {
|
|
3807
|
+
if (s in t)
|
|
3808
|
+
return t[s];
|
|
3809
|
+
if (s in Ut)
|
|
3810
|
+
return Ut[s](e);
|
|
3811
|
+
},
|
|
3812
|
+
has(t, s) {
|
|
3813
|
+
return s in t || s in Ut;
|
|
3814
|
+
}
|
|
3815
|
+
})) : e.proxy;
|
|
3816
|
+
}
|
|
3817
|
+
function mo(e) {
|
|
3818
|
+
return j(e) && "__vccOpts" in e;
|
|
3819
|
+
}
|
|
3820
|
+
const Et = (e, t) => /* @__PURE__ */ tl(e, t, Yt), bo = "3.5.45";
|
|
3821
|
+
/**
|
|
3822
|
+
* @vue/runtime-dom v3.5.45
|
|
3823
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
3824
|
+
* @license MIT
|
|
3825
|
+
**/
|
|
3826
|
+
let rn;
|
|
3827
|
+
const Gn = typeof window != "undefined" && window.trustedTypes;
|
|
3828
|
+
if (Gn)
|
|
3829
|
+
try {
|
|
3830
|
+
rn = /* @__PURE__ */ Gn.createPolicy("vue", {
|
|
3831
|
+
createHTML: (e) => e
|
|
3832
|
+
});
|
|
3833
|
+
} catch (e) {
|
|
3834
|
+
}
|
|
3835
|
+
const pi = rn ? (e) => rn.createHTML(e) : (e) => e, _o = "http://www.w3.org/2000/svg", vo = "http://www.w3.org/1998/Math/MathML", Ye = typeof document != "undefined" ? document : null, Jn = Ye && /* @__PURE__ */ Ye.createElement("template"), yo = {
|
|
3836
|
+
insert: (e, t, s) => {
|
|
3837
|
+
t.insertBefore(e, s || null);
|
|
3838
|
+
},
|
|
3839
|
+
remove: (e) => {
|
|
3840
|
+
const t = e.parentNode;
|
|
3841
|
+
t && t.removeChild(e);
|
|
3842
|
+
},
|
|
3843
|
+
createElement: (e, t, s, n) => {
|
|
3844
|
+
const r = t === "svg" ? Ye.createElementNS(_o, e) : t === "mathml" ? Ye.createElementNS(vo, e) : s ? Ye.createElement(e, { is: s }) : Ye.createElement(e);
|
|
3845
|
+
return e === "select" && n && n.multiple != null && r.setAttribute("multiple", n.multiple), r;
|
|
3846
|
+
},
|
|
3847
|
+
createText: (e) => Ye.createTextNode(e),
|
|
3848
|
+
createComment: (e) => Ye.createComment(e),
|
|
3849
|
+
setText: (e, t) => {
|
|
3850
|
+
e.nodeValue = t;
|
|
3851
|
+
},
|
|
3852
|
+
setElementText: (e, t) => {
|
|
3853
|
+
e.textContent = t;
|
|
3854
|
+
},
|
|
3855
|
+
parentNode: (e) => e.parentNode,
|
|
3856
|
+
nextSibling: (e) => e.nextSibling,
|
|
3857
|
+
querySelector: (e) => Ye.querySelector(e),
|
|
3858
|
+
setScopeId(e, t) {
|
|
3859
|
+
e.setAttribute(t, "");
|
|
3860
|
+
},
|
|
3861
|
+
// __UNSAFE__
|
|
3862
|
+
// Reason: innerHTML.
|
|
3863
|
+
// Static content here can only come from compiled templates.
|
|
3864
|
+
// As long as the user only uses trusted templates, this is safe.
|
|
3865
|
+
insertStaticContent(e, t, s, n, r, i) {
|
|
3866
|
+
const l = s ? s.previousSibling : t.lastChild;
|
|
3867
|
+
if (r && (r === i || r.nextSibling))
|
|
3868
|
+
for (; t.insertBefore(r.cloneNode(!0), s), !(r === i || !(r = r.nextSibling)); )
|
|
3869
|
+
;
|
|
3870
|
+
else {
|
|
3871
|
+
Jn.innerHTML = pi(
|
|
3872
|
+
n === "svg" ? `<svg>${e}</svg>` : n === "mathml" ? `<math>${e}</math>` : e
|
|
3873
|
+
);
|
|
3874
|
+
const o = Jn.content;
|
|
3875
|
+
if (n === "svg" || n === "mathml") {
|
|
3876
|
+
const f = o.firstChild;
|
|
3877
|
+
for (; f.firstChild; )
|
|
3878
|
+
o.appendChild(f.firstChild);
|
|
3879
|
+
o.removeChild(f);
|
|
3880
|
+
}
|
|
3881
|
+
t.insertBefore(o, s);
|
|
3882
|
+
}
|
|
3883
|
+
return [
|
|
3884
|
+
// first
|
|
3885
|
+
l ? l.nextSibling : t.firstChild,
|
|
3886
|
+
// last
|
|
3887
|
+
s ? s.previousSibling : t.lastChild
|
|
3888
|
+
];
|
|
3889
|
+
}
|
|
3890
|
+
}, xo = /* @__PURE__ */ Symbol("_vtc");
|
|
3891
|
+
function So(e, t, s) {
|
|
3892
|
+
const n = e[xo];
|
|
3893
|
+
n && (t = (t ? [t, ...n] : [...n]).join(" ")), t == null ? e.removeAttribute("class") : s ? e.setAttribute("class", t) : e.className = t;
|
|
3894
|
+
}
|
|
3895
|
+
const xs = /* @__PURE__ */ Symbol("_vod"), gi = /* @__PURE__ */ Symbol("_vsh"), Yn = {
|
|
3896
|
+
// used for prop mismatch check during hydration
|
|
3897
|
+
name: "show",
|
|
3898
|
+
beforeMount(e, { value: t }, { transition: s }) {
|
|
3899
|
+
e[xs] = e.style.display === "none" ? "" : e.style.display, s && t ? s.beforeEnter(e) : Rt(e, t);
|
|
3900
|
+
},
|
|
3901
|
+
mounted(e, { value: t }, { transition: s }) {
|
|
3902
|
+
s && t && s.enter(e);
|
|
3903
|
+
},
|
|
3904
|
+
updated(e, { value: t, oldValue: s }, { transition: n }) {
|
|
3905
|
+
!t != !s && (n ? t ? (n.beforeEnter(e), Rt(e, !0), n.enter(e)) : n.leave(e, () => {
|
|
3906
|
+
Rt(e, !1);
|
|
3907
|
+
}) : Rt(e, t));
|
|
3908
|
+
},
|
|
3909
|
+
beforeUnmount(e, { value: t }) {
|
|
3910
|
+
Rt(e, t);
|
|
3911
|
+
}
|
|
3912
|
+
};
|
|
3913
|
+
function Rt(e, t) {
|
|
3914
|
+
e.style.display = t ? e[xs] : "none", e[gi] = !t;
|
|
3915
|
+
}
|
|
3916
|
+
const Co = /* @__PURE__ */ Symbol(""), wo = /(?:^|;)\s*display\s*:/;
|
|
3917
|
+
function Eo(e, t, s) {
|
|
3918
|
+
const n = e.style, r = Z(s);
|
|
3919
|
+
let i = !1;
|
|
3920
|
+
if (s && !r) {
|
|
3921
|
+
if (t)
|
|
3922
|
+
if (Z(t))
|
|
3923
|
+
for (const l of t.split(";")) {
|
|
3924
|
+
const o = l.slice(0, l.indexOf(":")).trim();
|
|
3925
|
+
s[o] == null && Dt(n, o, "");
|
|
3926
|
+
}
|
|
3927
|
+
else
|
|
3928
|
+
for (const l in t)
|
|
3929
|
+
s[l] == null && Dt(n, l, "");
|
|
3930
|
+
for (const l in s) {
|
|
3931
|
+
l === "display" && (i = !0);
|
|
3932
|
+
const o = s[l];
|
|
3933
|
+
o != null ? Oo(
|
|
3934
|
+
e,
|
|
3935
|
+
l,
|
|
3936
|
+
!Z(t) && t ? t[l] : void 0,
|
|
3937
|
+
o
|
|
3938
|
+
) || Dt(n, l, o) : Dt(n, l, "");
|
|
3939
|
+
}
|
|
3940
|
+
} else if (r) {
|
|
3941
|
+
if (t !== s) {
|
|
3942
|
+
const l = n[Co];
|
|
3943
|
+
l && (s += ";" + l), n.cssText = s, i = wo.test(s);
|
|
3944
|
+
}
|
|
3945
|
+
} else t && e.removeAttribute("style");
|
|
3946
|
+
xs in e && ((!r || t !== s) && (e[xs] = i ? n.display : ""), e[gi] && (n.display = "none"));
|
|
3947
|
+
}
|
|
3948
|
+
const os = /\s*!important$/;
|
|
3949
|
+
function Dt(e, t, s) {
|
|
3950
|
+
if (R(s))
|
|
3951
|
+
s.forEach((n) => Dt(e, t, n));
|
|
3952
|
+
else if (s == null && (s = ""), t.startsWith("--"))
|
|
3953
|
+
os.test(s) ? e.setProperty(t, s.replace(os, ""), "important") : e.setProperty(t, s);
|
|
3954
|
+
else {
|
|
3955
|
+
const n = To(e, t);
|
|
3956
|
+
os.test(s) ? e.setProperty(
|
|
3957
|
+
bt(n),
|
|
3958
|
+
s.replace(os, ""),
|
|
3959
|
+
"important"
|
|
3960
|
+
) : e[n] = s;
|
|
3961
|
+
}
|
|
3962
|
+
}
|
|
3963
|
+
const zn = ["Webkit", "Moz", "ms"], Ws = {};
|
|
3964
|
+
function To(e, t) {
|
|
3965
|
+
const s = Ws[t];
|
|
3966
|
+
if (s)
|
|
3967
|
+
return s;
|
|
3968
|
+
let n = Oe(t);
|
|
3969
|
+
if (n !== "filter" && n in e)
|
|
3970
|
+
return Ws[t] = n;
|
|
3971
|
+
n = ar(n);
|
|
3972
|
+
for (let r = 0; r < zn.length; r++) {
|
|
3973
|
+
const i = zn[r] + n;
|
|
3974
|
+
if (i in e)
|
|
3975
|
+
return Ws[t] = i;
|
|
3976
|
+
}
|
|
3977
|
+
return t;
|
|
3978
|
+
}
|
|
3979
|
+
function Oo(e, t, s, n) {
|
|
3980
|
+
return e.tagName === "TEXTAREA" && (t === "width" || t === "height") && Z(n) && s === n;
|
|
3981
|
+
}
|
|
3982
|
+
const Xn = "http://www.w3.org/1999/xlink";
|
|
3983
|
+
function Zn(e, t, s, n, r, i = Ti(t)) {
|
|
3984
|
+
n && t.startsWith("xlink:") ? s == null ? e.removeAttributeNS(Xn, t.slice(6, t.length)) : e.setAttributeNS(Xn, t, s) : s == null || i && !hr(s) ? e.removeAttribute(t) : e.setAttribute(
|
|
3985
|
+
t,
|
|
3986
|
+
i ? "" : Le(s) ? String(s) : s
|
|
3987
|
+
);
|
|
3988
|
+
}
|
|
3989
|
+
function Qn(e, t, s, n, r) {
|
|
3990
|
+
if (t === "innerHTML" || t === "textContent") {
|
|
3991
|
+
s != null && (e[t] = t === "innerHTML" ? pi(s) : s);
|
|
3992
|
+
return;
|
|
3993
|
+
}
|
|
3994
|
+
const i = e.tagName;
|
|
3995
|
+
if (t === "value" && i !== "PROGRESS" && // custom elements may use _value internally
|
|
3996
|
+
!i.includes("-")) {
|
|
3997
|
+
const o = i === "OPTION" ? e.getAttribute("value") || "" : e.value, f = s == null ? (
|
|
3998
|
+
// #11647: value should be set as empty string for null and undefined,
|
|
3999
|
+
// but <input type="checkbox"> should be set as 'on'.
|
|
4000
|
+
e.type === "checkbox" ? "on" : ""
|
|
4001
|
+
) : String(s);
|
|
4002
|
+
(o !== f || !("_value" in e)) && (e.value = f), s == null && e.removeAttribute(t), e._value = s;
|
|
4003
|
+
return;
|
|
4004
|
+
}
|
|
4005
|
+
let l = !1;
|
|
4006
|
+
if (s === "" || s == null) {
|
|
4007
|
+
const o = typeof e[t];
|
|
4008
|
+
o === "boolean" ? s = hr(s) : s == null && o === "string" ? (s = "", l = !0) : o === "number" && (s = 0, l = !0);
|
|
4009
|
+
}
|
|
4010
|
+
try {
|
|
4011
|
+
e[t] = s;
|
|
4012
|
+
} catch (o) {
|
|
4013
|
+
}
|
|
4014
|
+
l && e.removeAttribute(r || t);
|
|
4015
|
+
}
|
|
4016
|
+
function at(e, t, s, n) {
|
|
4017
|
+
e.addEventListener(t, s, n);
|
|
4018
|
+
}
|
|
4019
|
+
function Ao(e, t, s, n) {
|
|
4020
|
+
e.removeEventListener(t, s, n);
|
|
4021
|
+
}
|
|
4022
|
+
const er = /* @__PURE__ */ Symbol("_vei");
|
|
4023
|
+
function Po(e, t, s, n, r = null) {
|
|
4024
|
+
const i = e[er] || (e[er] = {}), l = i[t];
|
|
4025
|
+
if (n && l)
|
|
4026
|
+
l.value = n;
|
|
4027
|
+
else {
|
|
4028
|
+
const [o, f] = Ro(t);
|
|
4029
|
+
if (n) {
|
|
4030
|
+
const d = i[t] = Vo(
|
|
4031
|
+
n,
|
|
4032
|
+
r
|
|
4033
|
+
);
|
|
4034
|
+
at(e, o, d, f);
|
|
4035
|
+
} else l && (Ao(e, o, l, f), i[t] = void 0);
|
|
4036
|
+
}
|
|
4037
|
+
}
|
|
4038
|
+
const Io = /(Once|Passive|Capture)$/, Mo = /^on:?(?:Once|Passive|Capture)$/;
|
|
4039
|
+
function Ro(e) {
|
|
4040
|
+
let t, s;
|
|
4041
|
+
for (; (s = e.match(Io)) && !Mo.test(e); )
|
|
4042
|
+
t || (t = {}), e = e.slice(0, e.length - s[1].length), t[s[1].toLowerCase()] = !0;
|
|
4043
|
+
return [e[2] === ":" ? e.slice(3) : bt(e.slice(2)), t];
|
|
4044
|
+
}
|
|
4045
|
+
let qs = 0;
|
|
4046
|
+
const Fo = /* @__PURE__ */ Promise.resolve(), Do = () => qs || (Fo.then(() => qs = 0), qs = Date.now());
|
|
4047
|
+
function Vo(e, t) {
|
|
4048
|
+
const s = (n) => {
|
|
4049
|
+
if (!n._vts)
|
|
4050
|
+
n._vts = Date.now();
|
|
4051
|
+
else if (n._vts <= s.attached)
|
|
4052
|
+
return;
|
|
4053
|
+
const r = s.value;
|
|
4054
|
+
if (R(r)) {
|
|
4055
|
+
const i = n.stopImmediatePropagation;
|
|
4056
|
+
n.stopImmediatePropagation = () => {
|
|
4057
|
+
i.call(n), n._stopped = !0;
|
|
4058
|
+
};
|
|
4059
|
+
const l = r.slice(), o = [n];
|
|
4060
|
+
for (let f = 0; f < l.length && !n._stopped; f++) {
|
|
4061
|
+
const d = l[f];
|
|
4062
|
+
d && Pe(
|
|
4063
|
+
d,
|
|
4064
|
+
t,
|
|
4065
|
+
5,
|
|
4066
|
+
o
|
|
4067
|
+
);
|
|
4068
|
+
}
|
|
4069
|
+
} else
|
|
4070
|
+
Pe(
|
|
4071
|
+
r,
|
|
4072
|
+
t,
|
|
4073
|
+
5,
|
|
4074
|
+
[n]
|
|
4075
|
+
);
|
|
4076
|
+
};
|
|
4077
|
+
return s.value = e, s.attached = Do(), s;
|
|
4078
|
+
}
|
|
4079
|
+
const tr = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // lowercase letter
|
|
4080
|
+
e.charCodeAt(2) > 96 && e.charCodeAt(2) < 123, jo = (e, t, s, n, r, i) => {
|
|
4081
|
+
const l = r === "svg";
|
|
4082
|
+
t === "class" ? So(e, n, l) : t === "style" ? Eo(e, s, n) : ws(t) ? Es(t) || Po(e, t, s, n, i) : (t[0] === "." ? (t = t.slice(1), !0) : t[0] === "^" ? (t = t.slice(1), !1) : $o(e, t, n, l)) ? (Qn(e, t, n), !e.tagName.includes("-") && (t === "value" || t === "checked" || t === "selected") && Zn(e, t, n, l, i, t !== "value")) : /* #11081 force set props for possible async custom element */ e._isVueCE && // #12408 check if it's declared prop or it's async custom element
|
|
4083
|
+
(No(e, t) || // @ts-expect-error _def is private
|
|
4084
|
+
e._def.__asyncLoader && (/[A-Z]/.test(t) || !Z(n))) ? Qn(e, Oe(t), n, i, t) : (t === "true-value" ? e._trueValue = n : t === "false-value" && (e._falseValue = n), Zn(e, t, n, l));
|
|
4085
|
+
};
|
|
4086
|
+
function $o(e, t, s, n) {
|
|
4087
|
+
if (n)
|
|
4088
|
+
return !!(t === "innerHTML" || t === "textContent" || t in e && tr(t) && j(s));
|
|
4089
|
+
if (t === "spellcheck" || t === "draggable" || t === "translate" || t === "autocorrect" || t === "sandbox" && e.tagName === "IFRAME" || t === "form" || t === "list" && e.tagName === "INPUT" || t === "type" && e.tagName === "TEXTAREA")
|
|
4090
|
+
return !1;
|
|
4091
|
+
if (t === "width" || t === "height") {
|
|
4092
|
+
const r = e.tagName;
|
|
4093
|
+
if (r === "IMG" || r === "VIDEO" || r === "CANVAS" || r === "SOURCE")
|
|
4094
|
+
return !1;
|
|
4095
|
+
}
|
|
4096
|
+
return tr(t) && Z(s) ? !1 : t in e;
|
|
4097
|
+
}
|
|
4098
|
+
function No(e, t) {
|
|
4099
|
+
const s = (
|
|
4100
|
+
// @ts-expect-error _def is private
|
|
4101
|
+
e._def.props
|
|
4102
|
+
);
|
|
4103
|
+
if (!s)
|
|
4104
|
+
return !1;
|
|
4105
|
+
const n = Oe(t);
|
|
4106
|
+
return Array.isArray(s) ? s.some((r) => Oe(r) === n) : Object.keys(s).some((r) => Oe(r) === n);
|
|
4107
|
+
}
|
|
4108
|
+
const Ss = (e) => {
|
|
4109
|
+
const t = e.props["onUpdate:modelValue"] || !1;
|
|
4110
|
+
return R(t) ? (s) => fs(t, s) : t;
|
|
4111
|
+
};
|
|
4112
|
+
function Ho(e) {
|
|
4113
|
+
e.target.composing = !0;
|
|
4114
|
+
}
|
|
4115
|
+
function sr(e) {
|
|
4116
|
+
const t = e.target;
|
|
4117
|
+
t.composing && (t.composing = !1, t.dispatchEvent(new Event("input")));
|
|
4118
|
+
}
|
|
4119
|
+
const ht = /* @__PURE__ */ Symbol("_assign"), cs = /* @__PURE__ */ Symbol("_initialValue");
|
|
4120
|
+
function Gs(e, t, s) {
|
|
4121
|
+
return t && (e = e.trim()), s && (e = Xt(e)), e;
|
|
4122
|
+
}
|
|
4123
|
+
const nr = {
|
|
4124
|
+
created(e, { modifiers: { lazy: t, trim: s, number: n } }, r) {
|
|
4125
|
+
e.parentNode && (e.type === "text" ? e[cs] = e.defaultValue.replace(/[\r\n]/g, "") : e.type === "textarea" && (e[cs] = e.defaultValue.replace(/\r\n?/g, `
|
|
4126
|
+
`))), e[ht] = Ss(r);
|
|
4127
|
+
const i = n || r.props && r.props.type === "number";
|
|
4128
|
+
at(e, t ? "change" : "input", (l) => {
|
|
4129
|
+
l.target.composing || e[ht](Gs(e.value, s, i));
|
|
4130
|
+
}), (s || i) && at(e, "change", () => {
|
|
4131
|
+
e.value = Gs(e.value, s, i);
|
|
4132
|
+
}), t || (at(e, "compositionstart", Ho), at(e, "compositionend", sr), at(e, "change", sr));
|
|
4133
|
+
},
|
|
4134
|
+
// set value on mounted so it's after min/max for type="range"
|
|
4135
|
+
mounted(e, { value: t, modifiers: { trim: s, number: n } }) {
|
|
4136
|
+
const r = t == null ? "" : t, i = e[cs];
|
|
4137
|
+
delete e[cs], i !== void 0 && (e.type === "text" || e.type === "textarea") && e.value !== i ? e[ht](Gs(e.value, s, n)) : e.value = r;
|
|
4138
|
+
},
|
|
4139
|
+
beforeUpdate(e, { value: t, oldValue: s, modifiers: { lazy: n, trim: r, number: i } }, l) {
|
|
4140
|
+
if (e[ht] = Ss(l), e.composing) return;
|
|
4141
|
+
const o = (i || e.type === "number") && !/^0\d/.test(e.value) ? Xt(e.value) : e.value, f = t == null ? "" : t;
|
|
4142
|
+
if (o === f)
|
|
4143
|
+
return;
|
|
4144
|
+
const d = e.getRootNode();
|
|
4145
|
+
(d instanceof Document || d instanceof ShadowRoot) && d.activeElement === e && e.type !== "range" && (n && t === s || r && e.value.trim() === f) || (e.value = f);
|
|
4146
|
+
}
|
|
4147
|
+
}, rr = {
|
|
4148
|
+
// <select multiple> value need to be deep traversed
|
|
4149
|
+
deep: !0,
|
|
4150
|
+
created(e, { value: t, modifiers: { number: s } }, n) {
|
|
4151
|
+
e._modelValue = t, at(e, "change", () => {
|
|
4152
|
+
const r = Array.prototype.filter.call(e.options, (f) => f.selected).map(
|
|
4153
|
+
(f) => s ? Xt(Cs(f)) : Cs(f)
|
|
4154
|
+
), i = e.multiple, l = i ? mt(e._modelValue) ? new Set(r) : r : r[0], o = e._pendingValue = [
|
|
4155
|
+
i,
|
|
4156
|
+
i ? R(l) ? r.slice() : r : l
|
|
4157
|
+
];
|
|
4158
|
+
try {
|
|
4159
|
+
e[ht](l);
|
|
4160
|
+
} finally {
|
|
4161
|
+
gs(() => {
|
|
4162
|
+
e._pendingValue === o && (e._pendingValue = void 0);
|
|
4163
|
+
});
|
|
4164
|
+
}
|
|
4165
|
+
}), e[ht] = Ss(n);
|
|
4166
|
+
},
|
|
4167
|
+
// set value in mounted & updated because <select> relies on its children
|
|
4168
|
+
// <option>s.
|
|
4169
|
+
mounted(e, { value: t, modifiers: { number: s } }) {
|
|
4170
|
+
ir(e, t, s);
|
|
4171
|
+
},
|
|
4172
|
+
beforeUpdate(e, { value: t }, s) {
|
|
4173
|
+
e._modelValue = t, e[ht] = Ss(s);
|
|
4174
|
+
},
|
|
4175
|
+
updated(e, { value: t, modifiers: { number: s } }) {
|
|
4176
|
+
const n = e._pendingValue;
|
|
4177
|
+
e._pendingValue = void 0, (!n || n[0] !== e.multiple || !Lo(t, n[1], n[0])) && ir(e, t, s);
|
|
4178
|
+
}
|
|
4179
|
+
};
|
|
4180
|
+
function Lo(e, t, s) {
|
|
4181
|
+
if (!s || R(e)) return it(e, t);
|
|
4182
|
+
if (mt(e)) {
|
|
4183
|
+
if (e.size !== t.length) return !1;
|
|
4184
|
+
for (const n of t)
|
|
4185
|
+
if (!e.has(n)) return !1;
|
|
4186
|
+
return !0;
|
|
4187
|
+
}
|
|
4188
|
+
return !1;
|
|
4189
|
+
}
|
|
4190
|
+
function ir(e, t, s = !1) {
|
|
4191
|
+
const n = e.multiple, r = R(t);
|
|
4192
|
+
if (!(n && !r && !mt(t))) {
|
|
4193
|
+
for (let i = 0, l = e.options.length; i < l; i++) {
|
|
4194
|
+
const o = e.options[i], f = Cs(o);
|
|
4195
|
+
if (n)
|
|
4196
|
+
if (r) {
|
|
4197
|
+
const d = typeof f;
|
|
4198
|
+
d === "string" || d === "number" ? o.selected = t.some((a) => String(a) === String(f)) : o.selected = Pi(t, f) > -1;
|
|
4199
|
+
} else
|
|
4200
|
+
o.selected = t.has(f) || s && typeof f == "string" && t.has(Xt(f));
|
|
4201
|
+
else if (it(Cs(o), t)) {
|
|
4202
|
+
e.selectedIndex !== i && (e.selectedIndex = i);
|
|
4203
|
+
return;
|
|
4204
|
+
}
|
|
4205
|
+
}
|
|
4206
|
+
!n && e.selectedIndex !== -1 && (e.selectedIndex = -1);
|
|
4207
|
+
}
|
|
4208
|
+
}
|
|
4209
|
+
function Cs(e) {
|
|
4210
|
+
return "_value" in e ? e._value : e.value;
|
|
4211
|
+
}
|
|
4212
|
+
const Uo = /* @__PURE__ */ te({ patchProp: jo }, yo);
|
|
4213
|
+
let lr;
|
|
4214
|
+
function Ko() {
|
|
4215
|
+
return lr || (lr = Xl(Uo));
|
|
4216
|
+
}
|
|
4217
|
+
const Bo = ((...e) => {
|
|
4218
|
+
const t = Ko().createApp(...e), { mount: s } = t;
|
|
4219
|
+
return t.mount = (n) => {
|
|
4220
|
+
const r = Wo(n);
|
|
4221
|
+
if (!r) return;
|
|
4222
|
+
const i = t._component;
|
|
4223
|
+
!j(i) && !i.render && !i.template && (i.template = r.innerHTML), r.nodeType === 1 && (r.textContent = "");
|
|
4224
|
+
const l = s(r, !1, ko(r));
|
|
4225
|
+
return r instanceof Element && (r.removeAttribute("v-cloak"), r.setAttribute("data-v-app", "")), l;
|
|
4226
|
+
}, t;
|
|
4227
|
+
});
|
|
4228
|
+
function ko(e) {
|
|
4229
|
+
if (e instanceof SVGElement)
|
|
4230
|
+
return "svg";
|
|
4231
|
+
if (typeof MathMLElement == "function" && e instanceof MathMLElement)
|
|
4232
|
+
return "mathml";
|
|
4233
|
+
}
|
|
4234
|
+
function Wo(e) {
|
|
4235
|
+
return Z(e) ? document.querySelector(e) : e;
|
|
4236
|
+
}
|
|
4237
|
+
const qo = { class: "br-body" }, Go = { class: "br-form" }, Jo = { class: "br-field" }, Yo = {
|
|
4238
|
+
key: 0,
|
|
4239
|
+
class: "br-hint"
|
|
4240
|
+
}, zo = {
|
|
4241
|
+
key: 1,
|
|
4242
|
+
class: "br-attach-row"
|
|
4243
|
+
}, Xo = ["disabled"], Zo = ["disabled"], Qo = {
|
|
4244
|
+
key: 2,
|
|
4245
|
+
class: "br-thumb-list"
|
|
4246
|
+
}, ec = {
|
|
4247
|
+
key: 0,
|
|
4248
|
+
class: "br-thumb"
|
|
4249
|
+
}, tc = ["src"], sc = ["src"], nc = ["onClick"], rc = { class: "br-row" }, ic = { class: "br-field" }, lc = ["value"], oc = { class: "br-field" }, cc = ["value"], fc = { class: "br-field" }, uc = { class: "br-field" }, ac = { class: "br-element-box" }, dc = { class: "br-shot-actions" }, hc = ["disabled"], pc = {
|
|
4250
|
+
key: 0,
|
|
4251
|
+
class: "br-element-list"
|
|
4252
|
+
}, gc = ["title"], mc = ["aria-label", "onClick"], bc = {
|
|
4253
|
+
key: 0,
|
|
4254
|
+
class: "br-success"
|
|
4255
|
+
}, _c = { class: "br-success-title" }, vc = { class: "br-hint" }, yc = { class: "br-footer" }, xc = ["disabled"], Sc = ["disabled"], Cc = ["disabled"], wc = /* @__PURE__ */ gl({
|
|
4256
|
+
__name: "panel",
|
|
4257
|
+
props: {
|
|
4258
|
+
callbacks: {}
|
|
4259
|
+
},
|
|
4260
|
+
setup(e, { expose: t }) {
|
|
4261
|
+
const s = e, n = /* @__PURE__ */ ee(!1), r = /* @__PURE__ */ ee(!1), i = /* @__PURE__ */ ee("form"), l = /* @__PURE__ */ ee(""), o = /* @__PURE__ */ ee(""), f = /* @__PURE__ */ ee("normal"), d = /* @__PURE__ */ ee(""), a = /* @__PURE__ */ ee([]), g = /* @__PURE__ */ ee(null), E = /* @__PURE__ */ ee([]);
|
|
4262
|
+
let O = 0;
|
|
4263
|
+
const L = /* @__PURE__ */ ee(""), F = /* @__PURE__ */ ee(!1), B = /* @__PURE__ */ ee(0), k = Et(() => B.value > 0), N = /* @__PURE__ */ ee(null), H = /* @__PURE__ */ ee(!1);
|
|
4264
|
+
let I = !1;
|
|
4265
|
+
const X = /* @__PURE__ */ ee(null), we = /* @__PURE__ */ ee(null), me = /* @__PURE__ */ ee(null);
|
|
4266
|
+
let ve = null;
|
|
4267
|
+
const _t = [
|
|
4268
|
+
["", "请选择"],
|
|
4269
|
+
["functional", "功能异常"],
|
|
4270
|
+
["style", "样式问题"],
|
|
4271
|
+
["data", "数据问题"],
|
|
4272
|
+
["performance", "性能问题"],
|
|
4273
|
+
["suggestion", "使用建议"],
|
|
4274
|
+
["other", "其他"]
|
|
4275
|
+
], ke = [
|
|
4276
|
+
["normal", "一般"],
|
|
4277
|
+
["serious", "严重"],
|
|
4278
|
+
["fatal", "致命"]
|
|
4279
|
+
], We = Et(() => r.value || k.value), vt = Et(() => We.value || z.value), ye = Et(() => s.callbacks.canUploadScreenshot !== !1), Pt = Et(() => {
|
|
4280
|
+
const h = E.value.map((_) => _.shot);
|
|
4281
|
+
return g.value && h.unshift(g.value), h;
|
|
4282
|
+
});
|
|
4283
|
+
let oe = null;
|
|
4284
|
+
const z = /* @__PURE__ */ ee(!1);
|
|
4285
|
+
function J() {
|
|
4286
|
+
gs(() => {
|
|
4287
|
+
var h;
|
|
4288
|
+
try {
|
|
4289
|
+
(h = X.value) == null || h.focus();
|
|
4290
|
+
} catch (_) {
|
|
4291
|
+
}
|
|
4292
|
+
});
|
|
4293
|
+
}
|
|
4294
|
+
function W(h = !0) {
|
|
4295
|
+
!r.value && (I || i.value === "success") && se(), n.value || (ve = document.activeElement || null), n.value = !0, h && ye.value && es(), J();
|
|
4296
|
+
}
|
|
4297
|
+
function ce() {
|
|
4298
|
+
var h, _;
|
|
4299
|
+
n.value && (n.value = !1, g.value = null, oe = null, z.value = !1, I ? (I = !1, se()) : r.value || Me(), yt(), (_ = (h = s.callbacks).onClose) == null || _.call(h));
|
|
4300
|
+
}
|
|
4301
|
+
function yt() {
|
|
4302
|
+
const h = ve;
|
|
4303
|
+
ve = null, !(!h || !h.isConnected) && gs(() => {
|
|
4304
|
+
try {
|
|
4305
|
+
h.focus();
|
|
4306
|
+
} catch (_) {
|
|
4307
|
+
}
|
|
4308
|
+
});
|
|
4309
|
+
}
|
|
4310
|
+
function Me() {
|
|
4311
|
+
i.value = "form", r.value = !1, ne("", !1);
|
|
4312
|
+
}
|
|
4313
|
+
function se() {
|
|
4314
|
+
l.value = "", o.value = "", f.value = "normal", d.value = "", a.value = [], g.value = null, oe = null, z.value = !1, E.value = [], B.value = 0, L.value = "", F.value = !1, I = !1, i.value = "form", J();
|
|
4315
|
+
}
|
|
4316
|
+
function ne(h, _) {
|
|
4317
|
+
L.value = h, F.value = _;
|
|
4318
|
+
}
|
|
4319
|
+
function es() {
|
|
4320
|
+
if (oe) return;
|
|
4321
|
+
const h = s.callbacks.onCapture().then((_) => {
|
|
4322
|
+
h !== oe || !n.value || (g.value = _);
|
|
4323
|
+
}).catch(() => {
|
|
4324
|
+
}).finally(() => {
|
|
4325
|
+
h === oe && (oe = null);
|
|
4326
|
+
});
|
|
4327
|
+
oe = h;
|
|
4328
|
+
}
|
|
4329
|
+
function Ds() {
|
|
4330
|
+
if (z.value || r.value) return;
|
|
4331
|
+
z.value = !0, ne("正在截图…", !1);
|
|
4332
|
+
const h = s.callbacks.onCapture().then((_) => {
|
|
4333
|
+
h !== oe || !n.value || (g.value = _, F.value || ne("截图已更新", !1));
|
|
4334
|
+
}).catch((_) => {
|
|
4335
|
+
ne(`截图失败:${ss(_)}`, !0);
|
|
4336
|
+
}).finally(() => {
|
|
4337
|
+
h === oe && (oe = null), z.value = !1;
|
|
4338
|
+
});
|
|
4339
|
+
oe = h;
|
|
4340
|
+
}
|
|
4341
|
+
function tt(h) {
|
|
4342
|
+
return h.dataBase64 ? `data:${h.mime};base64,${h.dataBase64}` : h.url || "";
|
|
4343
|
+
}
|
|
4344
|
+
function xt(h) {
|
|
4345
|
+
O += 1, E.value = [...E.value, { id: O, shot: h, preview: tt(h) }];
|
|
4346
|
+
}
|
|
4347
|
+
function ts(h) {
|
|
4348
|
+
E.value = E.value.filter((_) => _.id !== h);
|
|
4349
|
+
}
|
|
4350
|
+
function qe(h) {
|
|
4351
|
+
B.value += 1, ne(`上传中(${B.value})…`, !1), s.callbacks.onUpload(h).then((_) => {
|
|
4352
|
+
xt(_);
|
|
4353
|
+
}).catch((_) => {
|
|
4354
|
+
ne(`图片处理失败:${ss(_)}`, !0);
|
|
4355
|
+
}).finally(() => {
|
|
4356
|
+
B.value = Math.max(0, B.value - 1), B.value === 0 && !F.value && ne("", !1);
|
|
4357
|
+
});
|
|
4358
|
+
}
|
|
4359
|
+
function Cn(h) {
|
|
4360
|
+
var P;
|
|
4361
|
+
if (!ye.value) return;
|
|
4362
|
+
const _ = (P = h.dataTransfer) == null ? void 0 : P.types;
|
|
4363
|
+
!_ || !Array.from(_).includes("Files") || (h.preventDefault(), h.dataTransfer.dropEffect = "copy");
|
|
4364
|
+
}
|
|
4365
|
+
function c(h) {
|
|
4366
|
+
var M;
|
|
4367
|
+
if (!ye.value) return;
|
|
4368
|
+
const _ = Array.from(((M = h.dataTransfer) == null ? void 0 : M.files) || []);
|
|
4369
|
+
if (h.preventDefault(), _.length === 0) return;
|
|
4370
|
+
const P = _.filter(($) => $.type.startsWith("image/"));
|
|
4371
|
+
if (P.length === 0) {
|
|
4372
|
+
ne("只支持图片文件", !0);
|
|
4373
|
+
return;
|
|
4374
|
+
}
|
|
4375
|
+
P.forEach(($) => qe($));
|
|
4376
|
+
}
|
|
4377
|
+
function u() {
|
|
4378
|
+
var h;
|
|
4379
|
+
ye.value && ((h = we.value) == null || h.click());
|
|
4380
|
+
}
|
|
4381
|
+
function p(h) {
|
|
4382
|
+
const _ = h.target, P = Array.from(_.files || []);
|
|
4383
|
+
_.value = "", P.forEach((M) => qe(M));
|
|
4384
|
+
}
|
|
4385
|
+
function y(h) {
|
|
4386
|
+
var M;
|
|
4387
|
+
if (!ye.value) return;
|
|
4388
|
+
const _ = (M = h.clipboardData) == null ? void 0 : M.items;
|
|
4389
|
+
if (!_) return;
|
|
4390
|
+
const P = [];
|
|
4391
|
+
for (const $ of Array.from(_))
|
|
4392
|
+
if ($.kind === "file" && $.type.startsWith("image/")) {
|
|
4393
|
+
const V = $.getAsFile();
|
|
4394
|
+
V && P.push(V);
|
|
4395
|
+
}
|
|
4396
|
+
P.length !== 0 && (h.preventDefault(), P.forEach(($) => qe($)));
|
|
4397
|
+
}
|
|
4398
|
+
function m() {
|
|
4399
|
+
r.value || (H.value = !0, s.callbacks.onPickElement().then((h) => {
|
|
4400
|
+
h && v(h);
|
|
4401
|
+
}).catch((h) => {
|
|
4402
|
+
ne(`元素拾取失败:${ss(h)}`, !0);
|
|
4403
|
+
}).finally(() => {
|
|
4404
|
+
H.value = !1;
|
|
4405
|
+
}));
|
|
4406
|
+
}
|
|
4407
|
+
function v(h) {
|
|
4408
|
+
var P;
|
|
4409
|
+
if (a.value.some((M) => M.selector === h.selector)) return;
|
|
4410
|
+
const _ = (P = s.callbacks.maxElements) != null ? P : 5;
|
|
4411
|
+
if (a.value.length >= _) {
|
|
4412
|
+
ne(`最多关联 ${_} 个元素,请先移除一个`, !0);
|
|
4413
|
+
return;
|
|
4414
|
+
}
|
|
4415
|
+
a.value = [...a.value, h];
|
|
4416
|
+
}
|
|
4417
|
+
function C(h) {
|
|
4418
|
+
a.value = a.value.filter((_, P) => P !== h);
|
|
4419
|
+
}
|
|
4420
|
+
function S() {
|
|
4421
|
+
return l.value.trim() ? "" : "请填写问题描述";
|
|
4422
|
+
}
|
|
4423
|
+
function x(h = 3e3) {
|
|
4424
|
+
const _ = oe;
|
|
4425
|
+
if (!_) return Promise.resolve();
|
|
4426
|
+
let P = 0;
|
|
4427
|
+
const M = new Promise(($) => {
|
|
4428
|
+
P = window.setTimeout($, h);
|
|
4429
|
+
});
|
|
4430
|
+
return Promise.race([_, M]).finally(() => {
|
|
4431
|
+
P && clearTimeout(P);
|
|
4432
|
+
});
|
|
4433
|
+
}
|
|
4434
|
+
function b() {
|
|
4435
|
+
if (r.value || k.value) return;
|
|
4436
|
+
const h = S();
|
|
4437
|
+
if (h) {
|
|
4438
|
+
ne(h, !0);
|
|
4439
|
+
return;
|
|
4440
|
+
}
|
|
4441
|
+
const _ = l.value.trim(), P = {
|
|
4442
|
+
title: mi(_),
|
|
4443
|
+
description: _,
|
|
4444
|
+
category: o.value || void 0,
|
|
4445
|
+
severity: f.value || void 0,
|
|
4446
|
+
contact: d.value.trim() || void 0
|
|
4447
|
+
};
|
|
4448
|
+
r.value = !0, ne("提交中…", !1), x().then(() => s.callbacks.onSubmit(P, Pt.value, a.value.slice())).then((M) => {
|
|
4449
|
+
if (r.value = !1, ne("", !1), !n.value) {
|
|
4450
|
+
se();
|
|
4451
|
+
return;
|
|
4452
|
+
}
|
|
4453
|
+
N.value = M, i.value = "success", I = !0;
|
|
4454
|
+
}).catch((M) => {
|
|
4455
|
+
ne(ss(M), !0), r.value = !1;
|
|
4456
|
+
});
|
|
4457
|
+
}
|
|
4458
|
+
function T() {
|
|
4459
|
+
var h, _;
|
|
4460
|
+
r.value || (ce(), (_ = (h = s.callbacks).onDisable) == null || _.call(h));
|
|
4461
|
+
}
|
|
4462
|
+
function w(h) {
|
|
4463
|
+
h.target === h.currentTarget && ce();
|
|
4464
|
+
}
|
|
4465
|
+
function A(h) {
|
|
4466
|
+
if (!n.value) return;
|
|
4467
|
+
if (h.key === "Escape") {
|
|
4468
|
+
h.stopPropagation(), ce();
|
|
4469
|
+
return;
|
|
4470
|
+
}
|
|
4471
|
+
if (h.key !== "Tab" || H.value) return;
|
|
4472
|
+
const _ = me.value;
|
|
4473
|
+
if (!_) return;
|
|
4474
|
+
const P = Array.from(
|
|
4475
|
+
_.querySelectorAll(
|
|
4476
|
+
'a[href], button:not([disabled]), textarea:not([disabled]), input:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex="-1"])'
|
|
4477
|
+
)
|
|
4478
|
+
).filter((Q) => Q.offsetParent !== null);
|
|
4479
|
+
if (P.length === 0) return;
|
|
4480
|
+
const M = P[0], $ = P[P.length - 1];
|
|
4481
|
+
if (!M || !$) return;
|
|
4482
|
+
const V = document.activeElement;
|
|
4483
|
+
h.shiftKey && V === M ? (h.preventDefault(), $.focus()) : !h.shiftKey && V === $ && (h.preventDefault(), M.focus());
|
|
4484
|
+
}
|
|
4485
|
+
return as(n, (h) => {
|
|
4486
|
+
h ? document.addEventListener("keydown", A, !0) : document.removeEventListener("keydown", A, !0);
|
|
4487
|
+
}), t({ show: W, hide: ce, resetForm: se, resetView: Me }), (h, _) => {
|
|
4488
|
+
var P, M, $;
|
|
4489
|
+
return ue(), ge("div", {
|
|
4490
|
+
class: Tt(["br-overlay", { "br-overlay--open": n.value, "br-overlay--hidden": H.value }]),
|
|
4491
|
+
onClick: w
|
|
4492
|
+
}, [
|
|
4493
|
+
D("div", {
|
|
4494
|
+
ref_key: "panelEl",
|
|
4495
|
+
ref: me,
|
|
4496
|
+
class: Tt(["br-panel", { "br-panel--open": n.value, "br-panel--hidden": H.value }]),
|
|
4497
|
+
role: "dialog",
|
|
4498
|
+
"aria-modal": "true",
|
|
4499
|
+
"aria-labelledby": "br-heading"
|
|
4500
|
+
}, [
|
|
4501
|
+
D("div", { class: "br-header" }, [
|
|
4502
|
+
_[4] || (_[4] = D("h2", {
|
|
4503
|
+
id: "br-heading",
|
|
4504
|
+
class: "br-heading"
|
|
4505
|
+
}, "反馈问题", -1)),
|
|
4506
|
+
D("button", {
|
|
4507
|
+
class: "br-close",
|
|
4508
|
+
type: "button",
|
|
4509
|
+
"aria-label": "关闭",
|
|
4510
|
+
onClick: ce
|
|
4511
|
+
}, "×")
|
|
4512
|
+
]),
|
|
4513
|
+
D("div", qo, [
|
|
4514
|
+
Ct(D("div", Go, [
|
|
4515
|
+
D("div", Jo, [
|
|
4516
|
+
_[6] || (_[6] = D("label", { class: "br-label" }, [
|
|
4517
|
+
fi("问题描述"),
|
|
4518
|
+
D("span", { class: "br-required" }, "*")
|
|
4519
|
+
], -1)),
|
|
4520
|
+
Ct(D("textarea", {
|
|
4521
|
+
ref_key: "descriptionEl",
|
|
4522
|
+
ref: X,
|
|
4523
|
+
"onUpdate:modelValue": _[0] || (_[0] = (V) => l.value = V),
|
|
4524
|
+
class: "br-textarea",
|
|
4525
|
+
maxlength: "5000",
|
|
4526
|
+
placeholder: "描述一下现象,比如点了哪个按钮没反应(可直接粘贴或拖入截图)",
|
|
4527
|
+
onPaste: y,
|
|
4528
|
+
onDragover: Cn,
|
|
4529
|
+
onDrop: c
|
|
4530
|
+
}, null, 544), [
|
|
4531
|
+
[nr, l.value]
|
|
4532
|
+
]),
|
|
4533
|
+
k.value ? (ue(), ge("div", Yo, "图片处理中…")) : ft("", !0),
|
|
4534
|
+
ye.value ? (ue(), ge("div", zo, [
|
|
4535
|
+
D("button", {
|
|
4536
|
+
class: "br-btn--link-inline",
|
|
4537
|
+
type: "button",
|
|
4538
|
+
disabled: vt.value,
|
|
4539
|
+
onClick: Ds
|
|
4540
|
+
}, De(z.value ? "截图中…" : "+ 重新截图"), 9, Xo),
|
|
4541
|
+
D("button", {
|
|
4542
|
+
class: "br-btn--link-inline",
|
|
4543
|
+
type: "button",
|
|
4544
|
+
disabled: We.value,
|
|
4545
|
+
onClick: u
|
|
4546
|
+
}, " + 上传图片 ", 8, Zo),
|
|
4547
|
+
D("input", {
|
|
4548
|
+
ref_key: "imageInputEl",
|
|
4549
|
+
ref: we,
|
|
4550
|
+
type: "file",
|
|
4551
|
+
accept: "image/*",
|
|
4552
|
+
multiple: "",
|
|
4553
|
+
class: "br-hidden",
|
|
4554
|
+
onChange: p
|
|
4555
|
+
}, null, 544)
|
|
4556
|
+
])) : ft("", !0),
|
|
4557
|
+
ye.value && (E.value.length > 0 || g.value) ? (ue(), ge("div", Qo, [
|
|
4558
|
+
g.value ? (ue(), ge("div", ec, [
|
|
4559
|
+
D("img", {
|
|
4560
|
+
src: tt(g.value),
|
|
4561
|
+
alt: "自动截图预览"
|
|
4562
|
+
}, null, 8, tc),
|
|
4563
|
+
_[5] || (_[5] = D("span", { class: "br-thumb-tag" }, "自动", -1))
|
|
4564
|
+
])) : ft("", !0),
|
|
4565
|
+
(ue(!0), ge(he, null, ls(E.value, (V) => (ue(), ge("div", {
|
|
4566
|
+
key: V.id,
|
|
4567
|
+
class: "br-thumb"
|
|
4568
|
+
}, [
|
|
4569
|
+
D("img", {
|
|
4570
|
+
src: V.preview,
|
|
4571
|
+
alt: ""
|
|
4572
|
+
}, null, 8, sc),
|
|
4573
|
+
D("button", {
|
|
4574
|
+
class: "br-thumb-del",
|
|
4575
|
+
type: "button",
|
|
4576
|
+
title: "移除图片",
|
|
4577
|
+
"aria-label": "移除图片",
|
|
4578
|
+
onClick: (Q) => ts(V.id)
|
|
4579
|
+
}, " × ", 8, nc)
|
|
4580
|
+
]))), 128))
|
|
4581
|
+
])) : ft("", !0)
|
|
4582
|
+
]),
|
|
4583
|
+
D("div", rc, [
|
|
4584
|
+
D("div", ic, [
|
|
4585
|
+
_[7] || (_[7] = D("label", { class: "br-label" }, "问题分类", -1)),
|
|
4586
|
+
Ct(D("select", {
|
|
4587
|
+
"onUpdate:modelValue": _[1] || (_[1] = (V) => o.value = V),
|
|
4588
|
+
class: "br-select"
|
|
4589
|
+
}, [
|
|
4590
|
+
(ue(), ge(he, null, ls(_t, ([V, Q]) => D("option", {
|
|
4591
|
+
key: V || "empty",
|
|
4592
|
+
value: V
|
|
4593
|
+
}, De(Q), 9, lc)), 64))
|
|
4594
|
+
], 512), [
|
|
4595
|
+
[rr, o.value]
|
|
4596
|
+
])
|
|
4597
|
+
]),
|
|
4598
|
+
D("div", oc, [
|
|
4599
|
+
_[8] || (_[8] = D("label", { class: "br-label" }, "严重程度", -1)),
|
|
4600
|
+
Ct(D("select", {
|
|
4601
|
+
"onUpdate:modelValue": _[2] || (_[2] = (V) => f.value = V),
|
|
4602
|
+
class: "br-select"
|
|
4603
|
+
}, [
|
|
4604
|
+
(ue(), ge(he, null, ls(ke, ([V, Q]) => D("option", {
|
|
4605
|
+
key: V,
|
|
4606
|
+
value: V
|
|
4607
|
+
}, De(Q), 9, cc)), 64))
|
|
4608
|
+
], 512), [
|
|
4609
|
+
[rr, f.value]
|
|
4610
|
+
])
|
|
4611
|
+
])
|
|
4612
|
+
]),
|
|
4613
|
+
D("div", fc, [
|
|
4614
|
+
_[9] || (_[9] = D("label", { class: "br-label" }, "联系方式", -1)),
|
|
4615
|
+
Ct(D("input", {
|
|
4616
|
+
"onUpdate:modelValue": _[3] || (_[3] = (V) => d.value = V),
|
|
4617
|
+
class: "br-input",
|
|
4618
|
+
type: "text",
|
|
4619
|
+
maxlength: "200",
|
|
4620
|
+
placeholder: "选填,便于开发同学联系你"
|
|
4621
|
+
}, null, 512), [
|
|
4622
|
+
[nr, d.value]
|
|
4623
|
+
])
|
|
4624
|
+
]),
|
|
4625
|
+
D("div", uc, [
|
|
4626
|
+
_[10] || (_[10] = D("div", { class: "br-label" }, "关联元素(选填)", -1)),
|
|
4627
|
+
D("div", ac, [
|
|
4628
|
+
D("div", dc, [
|
|
4629
|
+
D("button", {
|
|
4630
|
+
class: "br-btn br-btn--sm",
|
|
4631
|
+
type: "button",
|
|
4632
|
+
disabled: We.value,
|
|
4633
|
+
onClick: m
|
|
4634
|
+
}, " 选择页面元素 ", 8, hc)
|
|
4635
|
+
]),
|
|
4636
|
+
a.value.length > 0 ? (ue(), ge("div", pc, [
|
|
4637
|
+
(ue(!0), ge(he, null, ls(a.value, (V, Q) => (ue(), ge("div", {
|
|
4638
|
+
key: V.selector,
|
|
4639
|
+
class: "br-element-item"
|
|
4640
|
+
}, [
|
|
4641
|
+
D("div", {
|
|
4642
|
+
class: "br-element-item-text",
|
|
4643
|
+
title: V.selector
|
|
4644
|
+
}, " <" + De(V.tag) + "> " + De(V.selector), 9, gc),
|
|
4645
|
+
D("button", {
|
|
4646
|
+
class: "br-element-item-del",
|
|
4647
|
+
type: "button",
|
|
4648
|
+
title: "移除该元素",
|
|
4649
|
+
"aria-label": `移除元素 ${V.selector}`,
|
|
4650
|
+
onClick: (Ee) => C(Q)
|
|
4651
|
+
}, " × ", 8, mc)
|
|
4652
|
+
]))), 128))
|
|
4653
|
+
])) : ft("", !0)
|
|
4654
|
+
])
|
|
4655
|
+
])
|
|
4656
|
+
], 512), [
|
|
4657
|
+
[Yn, i.value === "form"]
|
|
4658
|
+
]),
|
|
4659
|
+
i.value === "success" ? (ue(), ge("div", bc, [
|
|
4660
|
+
D("div", _c, De((P = N.value) != null && P.queued ? "已保存" : "提交成功"), 1),
|
|
4661
|
+
D("div", vc, De(((M = N.value) == null ? void 0 : M.message) || (($ = N.value) != null && $.reportId ? `反馈编号:${N.value.reportId}` : "后端已收到你的反馈")), 1),
|
|
4662
|
+
D("div", { class: "br-success-actions" }, [
|
|
4663
|
+
D("button", {
|
|
4664
|
+
class: "br-btn",
|
|
4665
|
+
type: "button",
|
|
4666
|
+
onClick: se
|
|
4667
|
+
}, "继续反馈"),
|
|
4668
|
+
D("button", {
|
|
4669
|
+
class: "br-btn br-btn--primary",
|
|
4670
|
+
type: "button",
|
|
4671
|
+
onClick: ce
|
|
4672
|
+
}, "完成")
|
|
4673
|
+
])
|
|
4674
|
+
])) : ft("", !0)
|
|
4675
|
+
]),
|
|
4676
|
+
Ct(D("div", yc, [
|
|
4677
|
+
e.callbacks.onDisable ? (ue(), ge("button", {
|
|
4678
|
+
key: 0,
|
|
4679
|
+
class: "br-btn--link",
|
|
4680
|
+
type: "button",
|
|
4681
|
+
title: "隐藏右下角的反馈按钮",
|
|
4682
|
+
disabled: r.value,
|
|
4683
|
+
onClick: T
|
|
4684
|
+
}, " 不再显示 ", 8, xc)) : ft("", !0),
|
|
4685
|
+
D("span", {
|
|
4686
|
+
class: Tt(["br-status", { "br-status--error": F.value }]),
|
|
4687
|
+
"aria-live": "polite"
|
|
4688
|
+
}, De(L.value), 3),
|
|
4689
|
+
_[11] || (_[11] = D("span", { class: "br-spacer" }, null, -1)),
|
|
4690
|
+
D("button", {
|
|
4691
|
+
class: "br-btn br-btn--ghost",
|
|
4692
|
+
type: "button",
|
|
4693
|
+
disabled: r.value,
|
|
4694
|
+
onClick: ce
|
|
4695
|
+
}, "取消", 8, Sc),
|
|
4696
|
+
D("button", {
|
|
4697
|
+
class: "br-btn br-btn--primary",
|
|
4698
|
+
type: "button",
|
|
4699
|
+
disabled: r.value,
|
|
4700
|
+
onClick: b
|
|
4701
|
+
}, De(r.value ? "提交中…" : "提交"), 9, Cc)
|
|
4702
|
+
], 512), [
|
|
4703
|
+
[Yn, i.value === "form"]
|
|
4704
|
+
])
|
|
4705
|
+
], 2)
|
|
4706
|
+
], 2);
|
|
4707
|
+
};
|
|
4708
|
+
}
|
|
4709
|
+
});
|
|
4710
|
+
class Tc {
|
|
4711
|
+
constructor(t) {
|
|
4712
|
+
this.overlay = document.createElement("div"), this.overlay.className = "br-panel-mount", this.app = Bo(wc, { callbacks: t });
|
|
4713
|
+
const s = this.app.mount(this.overlay);
|
|
4714
|
+
this.api = s;
|
|
4715
|
+
}
|
|
4716
|
+
open(t = !0) {
|
|
4717
|
+
this.api.show(t);
|
|
4718
|
+
}
|
|
4719
|
+
close() {
|
|
4720
|
+
this.api.hide();
|
|
4721
|
+
}
|
|
4722
|
+
unmount() {
|
|
4723
|
+
try {
|
|
4724
|
+
this.app.unmount();
|
|
4725
|
+
} catch (t) {
|
|
4726
|
+
}
|
|
4727
|
+
}
|
|
4728
|
+
}
|
|
4729
|
+
export {
|
|
4730
|
+
Tc as ReporterPanel
|
|
4731
|
+
};
|
|
4732
|
+
//# sourceMappingURL=panel-mount-BJMwnqnp.js.map
|