@datagouv/components-next 0.0.10 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{JsonPreview.client-DFSq3qMS.js → JsonPreview.client-Boqx8dM7.js} +2 -2
- package/dist/{MapContainer.client-CCHOsGLk.js → MapContainer.client-DbRyTZ69.js} +1 -1
- package/dist/{PdfPreview.client-Ce-Rk3ui.js → PdfPreview.client-wbXsTNTV.js} +2 -2
- package/dist/{Pmtiles.client-pBRpsEs7.js → Pmtiles.client-pnjwffA_.js} +1 -1
- package/dist/Swagger.client-DwYQ-RDs.js +4 -0
- package/dist/{XmlPreview.client-D62Apole.js → XmlPreview.client-Z6TgGP2G.js} +2 -2
- package/dist/components-next.js +1 -1
- package/dist/{main-CRrqrPkO.js → main-CLgZLazG.js} +19769 -19701
- package/dist/{pdf-vue3-D9uzcuC5.js → pdf-vue3-CwfAPVHf.js} +1 -1
- package/dist/{text-clamp.esm-CmCeJwgZ.js → text-clamp.esm--JneuJHF.js} +1 -1
- package/dist/{vue3-json-viewer-B8azJ68d.js → vue3-json-viewer-CWdqwDBZ.js} +1 -1
- package/dist/{vue3-xml-viewer.common-CIro0ncJ.js → vue3-xml-viewer.common-B4U761SY.js} +1095 -1082
- package/package.json +5 -2
- package/dist/Swagger.client-CfS91EWS.js +0 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { O as et, P as ge, Q as j, R as
|
|
2
|
-
function
|
|
1
|
+
import { O as et, P as ge, Q as j, R as dt, S as tn, T as _n, U as pi, V as ui, W as fs, X as Ce, Y as di, Z as hs, $ as fi, a0 as he, a1 as $n, a2 as tt, a3 as hi, a4 as mi, a5 as Ei, a6 as Ni, a7 as vi, a8 as Mt, a9 as gi, aa as pn, ab as Si, ac as Ti, k as yi } from "./main-CLgZLazG.js";
|
|
2
|
+
function Oi(e, t) {
|
|
3
3
|
for (var n = 0; n < t.length; n++) {
|
|
4
4
|
const r = t[n];
|
|
5
5
|
if (typeof r != "string" && !Array.isArray(r)) {
|
|
@@ -15,15 +15,15 @@ function yi(e, t) {
|
|
|
15
15
|
}
|
|
16
16
|
return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
|
|
17
17
|
}
|
|
18
|
-
var zt = { exports: {} },
|
|
18
|
+
var zt = { exports: {} }, ft = { exports: {} }, Qt = {};
|
|
19
19
|
/**
|
|
20
|
-
* @vue/compiler-core v3.5.
|
|
20
|
+
* @vue/compiler-core v3.5.18
|
|
21
21
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
22
22
|
* @license MIT
|
|
23
23
|
**/
|
|
24
|
-
const We = Symbol(process.env.NODE_ENV !== "production" ? "Fragment" : ""), Ke = Symbol(process.env.NODE_ENV !== "production" ? "Teleport" : ""), Pt = Symbol(process.env.NODE_ENV !== "production" ? "Suspense" : ""),
|
|
24
|
+
const We = Symbol(process.env.NODE_ENV !== "production" ? "Fragment" : ""), Ke = Symbol(process.env.NODE_ENV !== "production" ? "Teleport" : ""), Pt = Symbol(process.env.NODE_ENV !== "production" ? "Suspense" : ""), nt = Symbol(process.env.NODE_ENV !== "production" ? "KeepAlive" : ""), un = Symbol(
|
|
25
25
|
process.env.NODE_ENV !== "production" ? "BaseTransition" : ""
|
|
26
|
-
), De = Symbol(process.env.NODE_ENV !== "production" ? "openBlock" : ""),
|
|
26
|
+
), De = Symbol(process.env.NODE_ENV !== "production" ? "openBlock" : ""), dn = Symbol(process.env.NODE_ENV !== "production" ? "createBlock" : ""), fn = Symbol(
|
|
27
27
|
process.env.NODE_ENV !== "production" ? "createElementBlock" : ""
|
|
28
28
|
), Lt = Symbol(process.env.NODE_ENV !== "production" ? "createVNode" : ""), Vt = Symbol(
|
|
29
29
|
process.env.NODE_ENV !== "production" ? "createElementVNode" : ""
|
|
@@ -31,7 +31,7 @@ const We = Symbol(process.env.NODE_ENV !== "production" ? "Fragment" : ""), Ke =
|
|
|
31
31
|
process.env.NODE_ENV !== "production" ? "createCommentVNode" : ""
|
|
32
32
|
), kt = Symbol(
|
|
33
33
|
process.env.NODE_ENV !== "production" ? "createTextVNode" : ""
|
|
34
|
-
),
|
|
34
|
+
), hn = Symbol(
|
|
35
35
|
process.env.NODE_ENV !== "production" ? "createStaticVNode" : ""
|
|
36
36
|
), wt = Symbol(
|
|
37
37
|
process.env.NODE_ENV !== "production" ? "resolveComponent" : ""
|
|
@@ -43,9 +43,9 @@ const We = Symbol(process.env.NODE_ENV !== "production" ? "Fragment" : ""), Ke =
|
|
|
43
43
|
process.env.NODE_ENV !== "production" ? "resolveFilter" : ""
|
|
44
44
|
), Ft = Symbol(
|
|
45
45
|
process.env.NODE_ENV !== "production" ? "withDirectives" : ""
|
|
46
|
-
), Ut = Symbol(process.env.NODE_ENV !== "production" ? "renderList" : ""),
|
|
46
|
+
), Ut = Symbol(process.env.NODE_ENV !== "production" ? "renderList" : ""), mn = Symbol(process.env.NODE_ENV !== "production" ? "renderSlot" : ""), En = Symbol(process.env.NODE_ENV !== "production" ? "createSlots" : ""), ct = Symbol(
|
|
47
47
|
process.env.NODE_ENV !== "production" ? "toDisplayString" : ""
|
|
48
|
-
),
|
|
48
|
+
), st = Symbol(process.env.NODE_ENV !== "production" ? "mergeProps" : ""), $t = Symbol(
|
|
49
49
|
process.env.NODE_ENV !== "production" ? "normalizeClass" : ""
|
|
50
50
|
), jt = Symbol(
|
|
51
51
|
process.env.NODE_ENV !== "production" ? "normalizeStyle" : ""
|
|
@@ -53,64 +53,64 @@ const We = Symbol(process.env.NODE_ENV !== "production" ? "Fragment" : ""), Ke =
|
|
|
53
53
|
process.env.NODE_ENV !== "production" ? "normalizeProps" : ""
|
|
54
54
|
), Ze = Symbol(
|
|
55
55
|
process.env.NODE_ENV !== "production" ? "guardReactiveProps" : ""
|
|
56
|
-
), Ht = Symbol(process.env.NODE_ENV !== "production" ? "toHandlers" : ""), Ot = Symbol(process.env.NODE_ENV !== "production" ? "camelize" : ""),
|
|
56
|
+
), Ht = Symbol(process.env.NODE_ENV !== "production" ? "toHandlers" : ""), Ot = Symbol(process.env.NODE_ENV !== "production" ? "camelize" : ""), ms = Symbol(process.env.NODE_ENV !== "production" ? "capitalize" : ""), It = Symbol(
|
|
57
57
|
process.env.NODE_ENV !== "production" ? "toHandlerKey" : ""
|
|
58
|
-
),
|
|
58
|
+
), rt = Symbol(
|
|
59
59
|
process.env.NODE_ENV !== "production" ? "setBlockTracking" : ""
|
|
60
|
-
),
|
|
60
|
+
), Es = Symbol(process.env.NODE_ENV !== "production" ? "pushScopeId" : ""), Ns = Symbol(process.env.NODE_ENV !== "production" ? "popScopeId" : ""), Kt = Symbol(process.env.NODE_ENV !== "production" ? "withCtx" : ""), vs = Symbol(process.env.NODE_ENV !== "production" ? "unref" : ""), gs = Symbol(process.env.NODE_ENV !== "production" ? "isRef" : ""), Wt = Symbol(process.env.NODE_ENV !== "production" ? "withMemo" : ""), Nn = Symbol(process.env.NODE_ENV !== "production" ? "isMemoSame" : ""), Xe = {
|
|
61
61
|
[We]: "Fragment",
|
|
62
62
|
[Ke]: "Teleport",
|
|
63
63
|
[Pt]: "Suspense",
|
|
64
|
-
[
|
|
65
|
-
[
|
|
64
|
+
[nt]: "KeepAlive",
|
|
65
|
+
[un]: "BaseTransition",
|
|
66
66
|
[De]: "openBlock",
|
|
67
|
-
[
|
|
68
|
-
[
|
|
67
|
+
[dn]: "createBlock",
|
|
68
|
+
[fn]: "createElementBlock",
|
|
69
69
|
[Lt]: "createVNode",
|
|
70
70
|
[Vt]: "createElementVNode",
|
|
71
71
|
[Qe]: "createCommentVNode",
|
|
72
72
|
[kt]: "createTextVNode",
|
|
73
|
-
[
|
|
73
|
+
[hn]: "createStaticVNode",
|
|
74
74
|
[wt]: "resolveComponent",
|
|
75
75
|
[Xt]: "resolveDynamicComponent",
|
|
76
76
|
[Bt]: "resolveDirective",
|
|
77
77
|
[xt]: "resolveFilter",
|
|
78
78
|
[Ft]: "withDirectives",
|
|
79
79
|
[Ut]: "renderList",
|
|
80
|
-
[
|
|
81
|
-
[
|
|
82
|
-
[
|
|
83
|
-
[
|
|
80
|
+
[mn]: "renderSlot",
|
|
81
|
+
[En]: "createSlots",
|
|
82
|
+
[ct]: "toDisplayString",
|
|
83
|
+
[st]: "mergeProps",
|
|
84
84
|
[$t]: "normalizeClass",
|
|
85
85
|
[jt]: "normalizeStyle",
|
|
86
86
|
[Ge]: "normalizeProps",
|
|
87
87
|
[Ze]: "guardReactiveProps",
|
|
88
88
|
[Ht]: "toHandlers",
|
|
89
89
|
[Ot]: "camelize",
|
|
90
|
-
[
|
|
90
|
+
[ms]: "capitalize",
|
|
91
91
|
[It]: "toHandlerKey",
|
|
92
|
-
[
|
|
93
|
-
[
|
|
94
|
-
[
|
|
92
|
+
[rt]: "setBlockTracking",
|
|
93
|
+
[Es]: "pushScopeId",
|
|
94
|
+
[Ns]: "popScopeId",
|
|
95
95
|
[Kt]: "withCtx",
|
|
96
|
-
[
|
|
97
|
-
[
|
|
96
|
+
[vs]: "unref",
|
|
97
|
+
[gs]: "isRef",
|
|
98
98
|
[Wt]: "withMemo",
|
|
99
|
-
[
|
|
99
|
+
[Nn]: "isMemoSame"
|
|
100
100
|
};
|
|
101
|
-
function
|
|
101
|
+
function Ss(e) {
|
|
102
102
|
Object.getOwnPropertySymbols(e).forEach((t) => {
|
|
103
103
|
Xe[t] = e[t];
|
|
104
104
|
});
|
|
105
105
|
}
|
|
106
|
-
const
|
|
106
|
+
const Ii = {
|
|
107
107
|
HTML: 0,
|
|
108
108
|
0: "HTML",
|
|
109
109
|
SVG: 1,
|
|
110
110
|
1: "SVG",
|
|
111
111
|
MATH_ML: 2,
|
|
112
112
|
2: "MATH_ML"
|
|
113
|
-
},
|
|
113
|
+
}, Ci = {
|
|
114
114
|
ROOT: 0,
|
|
115
115
|
0: "ROOT",
|
|
116
116
|
ELEMENT: 1,
|
|
@@ -165,7 +165,7 @@ const Oi = {
|
|
|
165
165
|
25: "JS_SEQUENCE_EXPRESSION",
|
|
166
166
|
JS_RETURN_STATEMENT: 26,
|
|
167
167
|
26: "JS_RETURN_STATEMENT"
|
|
168
|
-
},
|
|
168
|
+
}, bi = {
|
|
169
169
|
ELEMENT: 0,
|
|
170
170
|
0: "ELEMENT",
|
|
171
171
|
COMPONENT: 1,
|
|
@@ -174,7 +174,7 @@ const Oi = {
|
|
|
174
174
|
2: "SLOT",
|
|
175
175
|
TEMPLATE: 3,
|
|
176
176
|
3: "TEMPLATE"
|
|
177
|
-
},
|
|
177
|
+
}, Ai = {
|
|
178
178
|
NOT_CONSTANT: 0,
|
|
179
179
|
0: "NOT_CONSTANT",
|
|
180
180
|
CAN_SKIP_PATCH: 1,
|
|
@@ -188,7 +188,7 @@ const Oi = {
|
|
|
188
188
|
end: { line: 1, column: 1, offset: 0 },
|
|
189
189
|
source: ""
|
|
190
190
|
};
|
|
191
|
-
function
|
|
191
|
+
function Ts(e, t = "") {
|
|
192
192
|
return {
|
|
193
193
|
type: 0,
|
|
194
194
|
source: t,
|
|
@@ -204,7 +204,7 @@ function gs(e, t = "") {
|
|
|
204
204
|
loc: W
|
|
205
205
|
};
|
|
206
206
|
}
|
|
207
|
-
function Je(e, t, n, r, a, i, l, s = !1, o = !1, c = !1,
|
|
207
|
+
function Je(e, t, n, r, a, i, l, s = !1, o = !1, c = !1, p = W) {
|
|
208
208
|
return e && (s ? (e.helper(De), e.helper(Fe(e.inSSR, c))) : e.helper(xe(e.inSSR, c)), l && e.helper(Ft)), {
|
|
209
209
|
type: 13,
|
|
210
210
|
tag: t,
|
|
@@ -216,7 +216,7 @@ function Je(e, t, n, r, a, i, l, s = !1, o = !1, c = !1, _ = W) {
|
|
|
216
216
|
isBlock: s,
|
|
217
217
|
disableTracking: o,
|
|
218
218
|
isComponent: c,
|
|
219
|
-
loc:
|
|
219
|
+
loc: p
|
|
220
220
|
};
|
|
221
221
|
}
|
|
222
222
|
function be(e, t = W) {
|
|
@@ -233,7 +233,7 @@ function _e(e, t = W) {
|
|
|
233
233
|
properties: e
|
|
234
234
|
};
|
|
235
235
|
}
|
|
236
|
-
function
|
|
236
|
+
function x(e, t) {
|
|
237
237
|
return {
|
|
238
238
|
type: 16,
|
|
239
239
|
loc: W,
|
|
@@ -250,7 +250,7 @@ function C(e, t = !1, n = W, r = 0) {
|
|
|
250
250
|
constType: t ? 3 : r
|
|
251
251
|
};
|
|
252
252
|
}
|
|
253
|
-
function
|
|
253
|
+
function Di(e, t) {
|
|
254
254
|
return {
|
|
255
255
|
type: 5,
|
|
256
256
|
loc: t,
|
|
@@ -292,7 +292,7 @@ function Ct(e, t, n, r = !0) {
|
|
|
292
292
|
loc: W
|
|
293
293
|
};
|
|
294
294
|
}
|
|
295
|
-
function
|
|
295
|
+
function ys(e, t, n = !1, r = !1) {
|
|
296
296
|
return {
|
|
297
297
|
type: 20,
|
|
298
298
|
index: e,
|
|
@@ -303,21 +303,21 @@ function Ss(e, t, n = !1, r = !1) {
|
|
|
303
303
|
loc: W
|
|
304
304
|
};
|
|
305
305
|
}
|
|
306
|
-
function
|
|
306
|
+
function Os(e) {
|
|
307
307
|
return {
|
|
308
308
|
type: 21,
|
|
309
309
|
body: e,
|
|
310
310
|
loc: W
|
|
311
311
|
};
|
|
312
312
|
}
|
|
313
|
-
function
|
|
313
|
+
function Ri(e) {
|
|
314
314
|
return {
|
|
315
315
|
type: 22,
|
|
316
316
|
elements: e,
|
|
317
317
|
loc: W
|
|
318
318
|
};
|
|
319
319
|
}
|
|
320
|
-
function
|
|
320
|
+
function Mi(e, t, n) {
|
|
321
321
|
return {
|
|
322
322
|
type: 23,
|
|
323
323
|
test: e,
|
|
@@ -326,7 +326,7 @@ function Ri(e, t, n) {
|
|
|
326
326
|
loc: W
|
|
327
327
|
};
|
|
328
328
|
}
|
|
329
|
-
function
|
|
329
|
+
function Pi(e, t) {
|
|
330
330
|
return {
|
|
331
331
|
type: 24,
|
|
332
332
|
left: e,
|
|
@@ -334,14 +334,14 @@ function Mi(e, t) {
|
|
|
334
334
|
loc: W
|
|
335
335
|
};
|
|
336
336
|
}
|
|
337
|
-
function
|
|
337
|
+
function Li(e) {
|
|
338
338
|
return {
|
|
339
339
|
type: 25,
|
|
340
340
|
expressions: e,
|
|
341
341
|
loc: W
|
|
342
342
|
};
|
|
343
343
|
}
|
|
344
|
-
function
|
|
344
|
+
function Vi(e) {
|
|
345
345
|
return {
|
|
346
346
|
type: 26,
|
|
347
347
|
returns: e,
|
|
@@ -352,13 +352,13 @@ function xe(e, t) {
|
|
|
352
352
|
return e || t ? Lt : Vt;
|
|
353
353
|
}
|
|
354
354
|
function Fe(e, t) {
|
|
355
|
-
return e || t ?
|
|
355
|
+
return e || t ? dn : fn;
|
|
356
356
|
}
|
|
357
357
|
function Gt(e, { helper: t, removeHelper: n, inSSR: r }) {
|
|
358
358
|
e.isBlock || (e.isBlock = !0, n(xe(r, e.isComponent)), t(De), t(Fe(r, e.isComponent)));
|
|
359
359
|
}
|
|
360
|
-
const
|
|
361
|
-
function
|
|
360
|
+
const jn = new Uint8Array([123, 123]), Hn = new Uint8Array([125, 125]);
|
|
361
|
+
function Kn(e) {
|
|
362
362
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
363
363
|
}
|
|
364
364
|
function ce(e) {
|
|
@@ -400,15 +400,15 @@ const J = {
|
|
|
400
400
|
])
|
|
401
401
|
// `</textarea
|
|
402
402
|
};
|
|
403
|
-
class
|
|
403
|
+
class ki {
|
|
404
404
|
constructor(t, n) {
|
|
405
|
-
this.stack = t, this.cbs = n, this.state = 1, this.buffer = "", this.sectionStart = 0, this.index = 0, this.entityStart = 0, this.baseState = 1, this.inRCDATA = !1, this.inXML = !1, this.inVPre = !1, this.newlines = [], this.mode = 0, this.delimiterOpen =
|
|
405
|
+
this.stack = t, this.cbs = n, this.state = 1, this.buffer = "", this.sectionStart = 0, this.index = 0, this.entityStart = 0, this.baseState = 1, this.inRCDATA = !1, this.inXML = !1, this.inVPre = !1, this.newlines = [], this.mode = 0, this.delimiterOpen = jn, this.delimiterClose = Hn, this.delimiterIndex = -1, this.currentSequence = void 0, this.sequenceIndex = 0;
|
|
406
406
|
}
|
|
407
407
|
get inSFCRoot() {
|
|
408
408
|
return this.mode === 2 && this.stack.length === 0;
|
|
409
409
|
}
|
|
410
410
|
reset() {
|
|
411
|
-
this.state = 1, this.mode = 0, this.buffer = "", this.sectionStart = 0, this.index = 0, this.baseState = 1, this.inRCDATA = !1, this.currentSequence = void 0, this.newlines.length = 0, this.delimiterOpen =
|
|
411
|
+
this.state = 1, this.mode = 0, this.buffer = "", this.sectionStart = 0, this.index = 0, this.baseState = 1, this.inRCDATA = !1, this.currentSequence = void 0, this.newlines.length = 0, this.delimiterOpen = jn, this.delimiterClose = Hn;
|
|
412
412
|
}
|
|
413
413
|
/**
|
|
414
414
|
* Generate Position object with line / column information using recorded
|
|
@@ -519,7 +519,7 @@ class Vi {
|
|
|
519
519
|
this.inRCDATA = !0, this.currentSequence = t, this.sequenceIndex = n;
|
|
520
520
|
}
|
|
521
521
|
stateBeforeTagName(t) {
|
|
522
|
-
t === 33 ? (this.state = 22, this.sectionStart = this.index + 1) : t === 63 ? (this.state = 24, this.sectionStart = this.index + 1) :
|
|
522
|
+
t === 33 ? (this.state = 22, this.sectionStart = this.index + 1) : t === 63 ? (this.state = 24, this.sectionStart = this.index + 1) : Kn(t) ? (this.sectionStart = this.index, this.mode === 0 ? this.state = 6 : this.inSFCRoot ? this.state = 34 : this.inXML ? this.state = 6 : t === 116 ? this.state = 30 : this.state = t === 115 ? 29 : 6) : t === 47 ? this.state = 8 : (this.state = 1, this.stateText(t));
|
|
523
523
|
}
|
|
524
524
|
stateInTagName(t) {
|
|
525
525
|
Oe(t) && this.handleTagName(t);
|
|
@@ -534,7 +534,7 @@ class Vi {
|
|
|
534
534
|
this.cbs.onopentagname(this.sectionStart, this.index), this.sectionStart = -1, this.state = 11, this.stateBeforeAttrName(t);
|
|
535
535
|
}
|
|
536
536
|
stateBeforeClosingTagName(t) {
|
|
537
|
-
ce(t) || (t === 62 ? (process.env.NODE_ENV !== "production" && this.cbs.onerr(14, this.index), this.state = 1, this.sectionStart = this.index + 1) : (this.state =
|
|
537
|
+
ce(t) || (t === 62 ? (process.env.NODE_ENV !== "production" && this.cbs.onerr(14, this.index), this.state = 1, this.sectionStart = this.index + 1) : (this.state = Kn(t) ? 9 : 27, this.sectionStart = this.index));
|
|
538
538
|
}
|
|
539
539
|
stateInClosingTagName(t) {
|
|
540
540
|
(t === 62 || ce(t)) && (this.cbs.onclosetag(this.sectionStart, this.index), this.sectionStart = -1, this.state = 10, this.stateAfterClosingTagName(t));
|
|
@@ -635,7 +635,7 @@ class Vi {
|
|
|
635
635
|
parse(t) {
|
|
636
636
|
for (this.buffer = t; this.index < this.buffer.length; ) {
|
|
637
637
|
const n = this.buffer.charCodeAt(this.index);
|
|
638
|
-
switch (n === 10 && this.newlines.push(this.index), this.state) {
|
|
638
|
+
switch (n === 10 && this.state !== 33 && this.newlines.push(this.index), this.state) {
|
|
639
639
|
case 1: {
|
|
640
640
|
this.stateText(n);
|
|
641
641
|
break;
|
|
@@ -794,7 +794,7 @@ class Vi {
|
|
|
794
794
|
emitCodePoint(t, n) {
|
|
795
795
|
}
|
|
796
796
|
}
|
|
797
|
-
const
|
|
797
|
+
const wi = {
|
|
798
798
|
COMPILER_IS_ON_ELEMENT: "COMPILER_IS_ON_ELEMENT",
|
|
799
799
|
COMPILER_V_BIND_SYNC: "COMPILER_V_BIND_SYNC",
|
|
800
800
|
COMPILER_V_BIND_OBJECT_ORDER: "COMPILER_V_BIND_OBJECT_ORDER",
|
|
@@ -803,7 +803,7 @@ const ki = {
|
|
|
803
803
|
COMPILER_NATIVE_TEMPLATE: "COMPILER_NATIVE_TEMPLATE",
|
|
804
804
|
COMPILER_INLINE_TEMPLATE: "COMPILER_INLINE_TEMPLATE",
|
|
805
805
|
COMPILER_FILTERS: "COMPILER_FILTERS"
|
|
806
|
-
},
|
|
806
|
+
}, Xi = {
|
|
807
807
|
COMPILER_IS_ON_ELEMENT: {
|
|
808
808
|
message: 'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',
|
|
809
809
|
link: "https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"
|
|
@@ -846,26 +846,26 @@ function Ae(e, t) {
|
|
|
846
846
|
}
|
|
847
847
|
function Ue(e, t, n, ...r) {
|
|
848
848
|
const a = Ae(e, t);
|
|
849
|
-
return process.env.NODE_ENV !== "production" && a &&
|
|
849
|
+
return process.env.NODE_ENV !== "production" && a && it(e, t, n, ...r), a;
|
|
850
850
|
}
|
|
851
|
-
function
|
|
851
|
+
function it(e, t, n, ...r) {
|
|
852
852
|
if (nn(e, t) === "suppress-warning")
|
|
853
853
|
return;
|
|
854
|
-
const { message: i, link: l } =
|
|
854
|
+
const { message: i, link: l } = Xi[e], s = `(deprecation ${e}) ${typeof i == "function" ? i(...r) : i}${l ? `
|
|
855
855
|
Details: ${l}` : ""}`, o = new SyntaxError(s);
|
|
856
856
|
o.code = e, n && (o.loc = n), t.onWarn(o);
|
|
857
857
|
}
|
|
858
|
-
function
|
|
858
|
+
function vn(e) {
|
|
859
859
|
throw e;
|
|
860
860
|
}
|
|
861
|
-
function
|
|
861
|
+
function Is(e) {
|
|
862
862
|
process.env.NODE_ENV !== "production" && console.warn(`[Vue warn] ${e.message}`);
|
|
863
863
|
}
|
|
864
864
|
function P(e, t, n, r) {
|
|
865
|
-
const a = process.env.NODE_ENV !== "production" ? (n ||
|
|
865
|
+
const a = process.env.NODE_ENV !== "production" ? (n || Cs)[e] + (r || "") : `https://vuejs.org/error-reference/#compiler-${e}`, i = new SyntaxError(String(a));
|
|
866
866
|
return i.code = e, i.loc = t, i;
|
|
867
867
|
}
|
|
868
|
-
const
|
|
868
|
+
const Bi = {
|
|
869
869
|
ABRUPT_CLOSING_OF_EMPTY_COMMENT: 0,
|
|
870
870
|
0: "ABRUPT_CLOSING_OF_EMPTY_COMMENT",
|
|
871
871
|
CDATA_IN_HTML_CONTENT: 1,
|
|
@@ -974,7 +974,7 @@ const Xi = {
|
|
|
974
974
|
52: "X_V_BIND_INVALID_SAME_NAME_ARGUMENT",
|
|
975
975
|
__EXTEND_POINT__: 53,
|
|
976
976
|
53: "__EXTEND_POINT__"
|
|
977
|
-
},
|
|
977
|
+
}, Cs = {
|
|
978
978
|
// parse errors
|
|
979
979
|
0: "Illegal comment.",
|
|
980
980
|
1: "CDATA section is allowed only in XML context.",
|
|
@@ -1036,12 +1036,12 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
1036
1036
|
// just to fulfill types
|
|
1037
1037
|
53: ""
|
|
1038
1038
|
};
|
|
1039
|
-
function
|
|
1039
|
+
function xi(e, t, n = !1, r = [], a = /* @__PURE__ */ Object.create(null)) {
|
|
1040
1040
|
}
|
|
1041
|
-
function
|
|
1041
|
+
function Fi(e, t, n) {
|
|
1042
1042
|
return !1;
|
|
1043
1043
|
}
|
|
1044
|
-
function
|
|
1044
|
+
function Ui(e, t) {
|
|
1045
1045
|
if (e && (e.type === "ObjectProperty" || e.type === "ArrayPattern")) {
|
|
1046
1046
|
let n = t.length;
|
|
1047
1047
|
for (; n--; ) {
|
|
@@ -1054,7 +1054,7 @@ function Fi(e, t) {
|
|
|
1054
1054
|
}
|
|
1055
1055
|
return !1;
|
|
1056
1056
|
}
|
|
1057
|
-
function
|
|
1057
|
+
function $i(e) {
|
|
1058
1058
|
let t = e.length;
|
|
1059
1059
|
for (; t--; ) {
|
|
1060
1060
|
const n = e[t];
|
|
@@ -1065,34 +1065,34 @@ function Ui(e) {
|
|
|
1065
1065
|
}
|
|
1066
1066
|
return !1;
|
|
1067
1067
|
}
|
|
1068
|
-
function
|
|
1068
|
+
function ji(e, t) {
|
|
1069
1069
|
for (const n of e.params)
|
|
1070
|
-
for (const r of
|
|
1070
|
+
for (const r of Ne(n))
|
|
1071
1071
|
t(r);
|
|
1072
1072
|
}
|
|
1073
|
-
function
|
|
1073
|
+
function Hi(e, t) {
|
|
1074
1074
|
for (const n of e.body)
|
|
1075
1075
|
if (n.type === "VariableDeclaration") {
|
|
1076
1076
|
if (n.declare) continue;
|
|
1077
1077
|
for (const r of n.declarations)
|
|
1078
|
-
for (const a of
|
|
1078
|
+
for (const a of Ne(r.id))
|
|
1079
1079
|
t(a);
|
|
1080
1080
|
} else if (n.type === "FunctionDeclaration" || n.type === "ClassDeclaration") {
|
|
1081
1081
|
if (n.declare || !n.id) continue;
|
|
1082
1082
|
t(n.id);
|
|
1083
|
-
} else
|
|
1083
|
+
} else Ki(n) && Wi(n, !0, t);
|
|
1084
1084
|
}
|
|
1085
|
-
function
|
|
1085
|
+
function Ki(e) {
|
|
1086
1086
|
return e.type === "ForOfStatement" || e.type === "ForInStatement" || e.type === "ForStatement";
|
|
1087
1087
|
}
|
|
1088
|
-
function
|
|
1088
|
+
function Wi(e, t, n) {
|
|
1089
1089
|
const r = e.type === "ForStatement" ? e.init : e.left;
|
|
1090
1090
|
if (r && r.type === "VariableDeclaration" && (r.kind === "var" && t))
|
|
1091
1091
|
for (const a of r.declarations)
|
|
1092
|
-
for (const i of
|
|
1092
|
+
for (const i of Ne(a.id))
|
|
1093
1093
|
n(i);
|
|
1094
1094
|
}
|
|
1095
|
-
function
|
|
1095
|
+
function Ne(e, t = []) {
|
|
1096
1096
|
switch (e.type) {
|
|
1097
1097
|
case "Identifier":
|
|
1098
1098
|
t.push(e);
|
|
@@ -1105,23 +1105,23 @@ function Ee(e, t = []) {
|
|
|
1105
1105
|
break;
|
|
1106
1106
|
case "ObjectPattern":
|
|
1107
1107
|
for (const r of e.properties)
|
|
1108
|
-
r.type === "RestElement" ?
|
|
1108
|
+
r.type === "RestElement" ? Ne(r.argument, t) : Ne(r.value, t);
|
|
1109
1109
|
break;
|
|
1110
1110
|
case "ArrayPattern":
|
|
1111
1111
|
e.elements.forEach((r) => {
|
|
1112
|
-
r &&
|
|
1112
|
+
r && Ne(r, t);
|
|
1113
1113
|
});
|
|
1114
1114
|
break;
|
|
1115
1115
|
case "RestElement":
|
|
1116
|
-
|
|
1116
|
+
Ne(e.argument, t);
|
|
1117
1117
|
break;
|
|
1118
1118
|
case "AssignmentPattern":
|
|
1119
|
-
|
|
1119
|
+
Ne(e.left, t);
|
|
1120
1120
|
break;
|
|
1121
1121
|
}
|
|
1122
1122
|
return t;
|
|
1123
1123
|
}
|
|
1124
|
-
const
|
|
1124
|
+
const Gi = (e) => /Function(?:Expression|Declaration)$|Method$/.test(e.type), bs = (e) => e && (e.type === "ObjectProperty" || e.type === "ObjectMethod") && !e.computed, Ji = (e, t) => bs(t) && t.key === e, As = [
|
|
1125
1125
|
"TSAsExpression",
|
|
1126
1126
|
// foo as number
|
|
1127
1127
|
"TSTypeAssertion",
|
|
@@ -1133,11 +1133,11 @@ const Wi = (e) => /Function(?:Expression|Declaration)$|Method$/.test(e.type), Is
|
|
|
1133
1133
|
"TSSatisfiesExpression"
|
|
1134
1134
|
// foo satisfies T
|
|
1135
1135
|
];
|
|
1136
|
-
function
|
|
1137
|
-
return
|
|
1136
|
+
function Ds(e) {
|
|
1137
|
+
return As.includes(e.type) ? Ds(e.expression) : e;
|
|
1138
1138
|
}
|
|
1139
1139
|
const ne = (e) => e.type === 4 && e.isStatic;
|
|
1140
|
-
function
|
|
1140
|
+
function gn(e) {
|
|
1141
1141
|
switch (e) {
|
|
1142
1142
|
case "Teleport":
|
|
1143
1143
|
case "teleport":
|
|
@@ -1147,14 +1147,14 @@ function vn(e) {
|
|
|
1147
1147
|
return Pt;
|
|
1148
1148
|
case "KeepAlive":
|
|
1149
1149
|
case "keep-alive":
|
|
1150
|
-
return
|
|
1150
|
+
return nt;
|
|
1151
1151
|
case "BaseTransition":
|
|
1152
1152
|
case "base-transition":
|
|
1153
|
-
return
|
|
1153
|
+
return un;
|
|
1154
1154
|
}
|
|
1155
1155
|
}
|
|
1156
|
-
const
|
|
1157
|
-
const t =
|
|
1156
|
+
const Yi = /^$|^\d|[^\$\w\xA0-\uFFFF]/, _t = (e) => !Yi.test(e), qi = /[A-Za-z_$\xA0-\uFFFF]/, zi = /[\.\?\w$\xA0-\uFFFF]/, Qi = /\s+[.[]\s*|\s*[.[]\s+/g, Rs = (e) => e.type === 4 ? e.content : e.loc.source, Ms = (e) => {
|
|
1157
|
+
const t = Rs(e).trim().replace(Qi, (s) => s.trim());
|
|
1158
1158
|
let n = 0, r = [], a = 0, i = 0, l = null;
|
|
1159
1159
|
for (let s = 0; s < t.length; s++) {
|
|
1160
1160
|
const o = t.charAt(s);
|
|
@@ -1164,7 +1164,7 @@ const Ji = /^\d|[^\$\w\xA0-\uFFFF]/, ct = (e) => !Ji.test(e), Yi = /[A-Za-z_$\xA
|
|
|
1164
1164
|
r.push(n), n = 1, a++;
|
|
1165
1165
|
else if (o === "(")
|
|
1166
1166
|
r.push(n), n = 2, i++;
|
|
1167
|
-
else if (!(s === 0 ?
|
|
1167
|
+
else if (!(s === 0 ? qi : zi).test(o))
|
|
1168
1168
|
return !1;
|
|
1169
1169
|
break;
|
|
1170
1170
|
case 1:
|
|
@@ -1187,9 +1187,9 @@ const Ji = /^\d|[^\$\w\xA0-\uFFFF]/, ct = (e) => !Ji.test(e), Yi = /[A-Za-z_$\xA
|
|
|
1187
1187
|
}
|
|
1188
1188
|
}
|
|
1189
1189
|
return !a && !i;
|
|
1190
|
-
},
|
|
1191
|
-
function
|
|
1192
|
-
return
|
|
1190
|
+
}, Zi = et, Sn = Ms, eo = /^\s*(async\s*)?(\([^)]*?\)|[\w$_]+)\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/, Ps = (e) => eo.test(Rs(e)), to = et, Ls = Ps;
|
|
1191
|
+
function no(e, t, n = t.length) {
|
|
1192
|
+
return Vs(
|
|
1193
1193
|
{
|
|
1194
1194
|
offset: e.offset,
|
|
1195
1195
|
line: e.line,
|
|
@@ -1199,7 +1199,7 @@ function to(e, t, n = t.length) {
|
|
|
1199
1199
|
n
|
|
1200
1200
|
);
|
|
1201
1201
|
}
|
|
1202
|
-
function
|
|
1202
|
+
function Vs(e, t, n = t.length) {
|
|
1203
1203
|
let r = 0, a = -1;
|
|
1204
1204
|
for (let i = 0; i < n; i++)
|
|
1205
1205
|
t.charCodeAt(i) === 10 && (r++, a = i);
|
|
@@ -1223,14 +1223,14 @@ function Ye(e, t, n = !1, r = !1) {
|
|
|
1223
1223
|
if (n) continue;
|
|
1224
1224
|
if (i.name === t && (i.value || r))
|
|
1225
1225
|
return i;
|
|
1226
|
-
} else if (i.name === "bind" && (i.exp || r) &&
|
|
1226
|
+
} else if (i.name === "bind" && (i.exp || r) && ve(i.arg, t))
|
|
1227
1227
|
return i;
|
|
1228
1228
|
}
|
|
1229
1229
|
}
|
|
1230
|
-
function
|
|
1230
|
+
function ve(e, t) {
|
|
1231
1231
|
return !!(e && ne(e) && e.content === t);
|
|
1232
1232
|
}
|
|
1233
|
-
function
|
|
1233
|
+
function ks(e) {
|
|
1234
1234
|
return e.props.some(
|
|
1235
1235
|
(t) => t.type === 7 && t.name === "bind" && (!t.arg || // v-bind="obj"
|
|
1236
1236
|
t.arg.type !== 4 || // v-bind:[_ctx.foo]
|
|
@@ -1238,51 +1238,54 @@ function Ls(e) {
|
|
|
1238
1238
|
// v-bind:[foo]
|
|
1239
1239
|
);
|
|
1240
1240
|
}
|
|
1241
|
-
function
|
|
1241
|
+
function Nt(e) {
|
|
1242
1242
|
return e.type === 5 || e.type === 2;
|
|
1243
1243
|
}
|
|
1244
|
-
function
|
|
1244
|
+
function rn(e) {
|
|
1245
|
+
return e.type === 7 && e.name === "pre";
|
|
1246
|
+
}
|
|
1247
|
+
function Tn(e) {
|
|
1245
1248
|
return e.type === 7 && e.name === "slot";
|
|
1246
1249
|
}
|
|
1247
1250
|
function qe(e) {
|
|
1248
1251
|
return e.type === 1 && e.tagType === 3;
|
|
1249
1252
|
}
|
|
1250
|
-
function
|
|
1253
|
+
function ot(e) {
|
|
1251
1254
|
return e.type === 1 && e.tagType === 2;
|
|
1252
1255
|
}
|
|
1253
|
-
const
|
|
1254
|
-
function
|
|
1256
|
+
const so = /* @__PURE__ */ new Set([Ge, Ze]);
|
|
1257
|
+
function ws(e, t = []) {
|
|
1255
1258
|
if (e && !j(e) && e.type === 14) {
|
|
1256
1259
|
const n = e.callee;
|
|
1257
|
-
if (!j(n) &&
|
|
1258
|
-
return
|
|
1260
|
+
if (!j(n) && so.has(n))
|
|
1261
|
+
return ws(
|
|
1259
1262
|
e.arguments[0],
|
|
1260
1263
|
t.concat(e)
|
|
1261
1264
|
);
|
|
1262
1265
|
}
|
|
1263
1266
|
return [e, t];
|
|
1264
1267
|
}
|
|
1265
|
-
function
|
|
1268
|
+
function at(e, t, n) {
|
|
1266
1269
|
let r, a = e.type === 13 ? e.props : e.arguments[2], i = [], l;
|
|
1267
1270
|
if (a && !j(a) && a.type === 14) {
|
|
1268
|
-
const s =
|
|
1271
|
+
const s = ws(a);
|
|
1269
1272
|
a = s[0], i = s[1], l = i[i.length - 1];
|
|
1270
1273
|
}
|
|
1271
1274
|
if (a == null || j(a))
|
|
1272
1275
|
r = _e([t]);
|
|
1273
1276
|
else if (a.type === 14) {
|
|
1274
1277
|
const s = a.arguments[0];
|
|
1275
|
-
!j(s) && s.type === 15 ?
|
|
1278
|
+
!j(s) && s.type === 15 ? Wn(t, s) || s.properties.unshift(t) : a.callee === Ht ? r = $(n.helper(st), [
|
|
1276
1279
|
_e([t]),
|
|
1277
1280
|
a
|
|
1278
1281
|
]) : a.arguments.unshift(_e([t])), !r && (r = a);
|
|
1279
|
-
} else a.type === 15 ? (
|
|
1282
|
+
} else a.type === 15 ? (Wn(t, a) || a.properties.unshift(t), r = a) : (r = $(n.helper(st), [
|
|
1280
1283
|
_e([t]),
|
|
1281
1284
|
a
|
|
1282
1285
|
]), l && l.callee === Ze && (l = i[i.length - 2]));
|
|
1283
1286
|
e.type === 13 ? l ? l.arguments[0] = r : e.props = r : l ? l.arguments[0] = r : e.arguments[2] = r;
|
|
1284
1287
|
}
|
|
1285
|
-
function
|
|
1288
|
+
function Wn(e, t) {
|
|
1286
1289
|
let n = !1;
|
|
1287
1290
|
if (e.key.type === 4) {
|
|
1288
1291
|
const r = e.key.content;
|
|
@@ -1313,9 +1316,9 @@ function fe(e, t) {
|
|
|
1313
1316
|
case 10:
|
|
1314
1317
|
return fe(e.condition, t) ? !0 : e.children.some((n) => fe(n, t));
|
|
1315
1318
|
case 4:
|
|
1316
|
-
return !e.isStatic &&
|
|
1319
|
+
return !e.isStatic && _t(e.content) && !!t[e.content];
|
|
1317
1320
|
case 8:
|
|
1318
|
-
return e.children.some((n) =>
|
|
1321
|
+
return e.children.some((n) => hs(n) && fe(n, t));
|
|
1319
1322
|
case 5:
|
|
1320
1323
|
case 12:
|
|
1321
1324
|
return fe(e.content, t);
|
|
@@ -1327,42 +1330,42 @@ function fe(e, t) {
|
|
|
1327
1330
|
return process.env.NODE_ENV, !1;
|
|
1328
1331
|
}
|
|
1329
1332
|
}
|
|
1330
|
-
function
|
|
1333
|
+
function Xs(e) {
|
|
1331
1334
|
return e.type === 14 && e.callee === Wt ? e.arguments[1].returns : e;
|
|
1332
1335
|
}
|
|
1333
|
-
const
|
|
1336
|
+
const Bs = /([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/, xs = {
|
|
1334
1337
|
parseMode: "base",
|
|
1335
1338
|
ns: 0,
|
|
1336
1339
|
delimiters: ["{{", "}}"],
|
|
1337
1340
|
getNamespace: () => 0,
|
|
1338
|
-
isVoidTag:
|
|
1339
|
-
isPreTag:
|
|
1340
|
-
isIgnoreNewlineTag:
|
|
1341
|
-
isCustomElement:
|
|
1342
|
-
onError:
|
|
1343
|
-
onWarn:
|
|
1341
|
+
isVoidTag: dt,
|
|
1342
|
+
isPreTag: dt,
|
|
1343
|
+
isIgnoreNewlineTag: dt,
|
|
1344
|
+
isCustomElement: dt,
|
|
1345
|
+
onError: vn,
|
|
1346
|
+
onWarn: Is,
|
|
1344
1347
|
comments: process.env.NODE_ENV !== "production",
|
|
1345
1348
|
prefixIdentifiers: !1
|
|
1346
1349
|
};
|
|
1347
|
-
let
|
|
1348
|
-
const k = [], V = new
|
|
1349
|
-
onerr:
|
|
1350
|
+
let R = xs, lt = null, Se = "", z = null, D = null, ae = "", Ee = -1, Le = -1, yn = 0, Ie = !1, on = null;
|
|
1351
|
+
const k = [], V = new ki(k, {
|
|
1352
|
+
onerr: oe,
|
|
1350
1353
|
ontext(e, t) {
|
|
1351
|
-
|
|
1354
|
+
ht(Y(e, t), e, t);
|
|
1352
1355
|
},
|
|
1353
1356
|
ontextentity(e, t, n) {
|
|
1354
|
-
|
|
1357
|
+
ht(e, t, n);
|
|
1355
1358
|
},
|
|
1356
1359
|
oninterpolation(e, t) {
|
|
1357
1360
|
if (Ie)
|
|
1358
|
-
return
|
|
1361
|
+
return ht(Y(e, t), e, t);
|
|
1359
1362
|
let n = e + V.delimiterOpen.length, r = t - V.delimiterClose.length;
|
|
1360
1363
|
for (; ce(Se.charCodeAt(n)); )
|
|
1361
1364
|
n++;
|
|
1362
1365
|
for (; ce(Se.charCodeAt(r - 1)); )
|
|
1363
1366
|
r--;
|
|
1364
1367
|
let a = Y(n, r);
|
|
1365
|
-
a.includes("&") && (a =
|
|
1368
|
+
a.includes("&") && (a = R.decodeEntities(a, !1)), an({
|
|
1366
1369
|
type: 5,
|
|
1367
1370
|
content: gt(a, !1, U(n, r)),
|
|
1368
1371
|
loc: U(e, t)
|
|
@@ -1373,7 +1376,7 @@ const k = [], V = new Vi(k, {
|
|
|
1373
1376
|
z = {
|
|
1374
1377
|
type: 1,
|
|
1375
1378
|
tag: n,
|
|
1376
|
-
ns:
|
|
1379
|
+
ns: R.getNamespace(n, k[0], R.ns),
|
|
1377
1380
|
tagType: 0,
|
|
1378
1381
|
// will be refined on tag close
|
|
1379
1382
|
props: [],
|
|
@@ -1383,30 +1386,30 @@ const k = [], V = new Vi(k, {
|
|
|
1383
1386
|
};
|
|
1384
1387
|
},
|
|
1385
1388
|
onopentagend(e) {
|
|
1386
|
-
|
|
1389
|
+
Jn(e);
|
|
1387
1390
|
},
|
|
1388
1391
|
onclosetag(e, t) {
|
|
1389
1392
|
const n = Y(e, t);
|
|
1390
|
-
if (!
|
|
1393
|
+
if (!R.isVoidTag(n)) {
|
|
1391
1394
|
let r = !1;
|
|
1392
1395
|
for (let a = 0; a < k.length; a++)
|
|
1393
1396
|
if (k[a].tag.toLowerCase() === n.toLowerCase()) {
|
|
1394
|
-
r = !0, a > 0 &&
|
|
1397
|
+
r = !0, a > 0 && oe(24, k[0].loc.start.offset);
|
|
1395
1398
|
for (let l = 0; l <= a; l++) {
|
|
1396
1399
|
const s = k.shift();
|
|
1397
|
-
|
|
1400
|
+
vt(s, t, l < a);
|
|
1398
1401
|
}
|
|
1399
1402
|
break;
|
|
1400
1403
|
}
|
|
1401
|
-
r ||
|
|
1404
|
+
r || oe(23, Fs(e, 60));
|
|
1402
1405
|
}
|
|
1403
1406
|
},
|
|
1404
1407
|
onselfclosingtag(e) {
|
|
1405
1408
|
const t = z.tag;
|
|
1406
|
-
z.isSelfClosing = !0,
|
|
1409
|
+
z.isSelfClosing = !0, Jn(e), k[0] && k[0].tag === t && vt(k.shift(), e);
|
|
1407
1410
|
},
|
|
1408
1411
|
onattribname(e, t) {
|
|
1409
|
-
|
|
1412
|
+
D = {
|
|
1410
1413
|
type: 6,
|
|
1411
1414
|
name: Y(e, t),
|
|
1412
1415
|
nameLoc: U(e, t),
|
|
@@ -1416,15 +1419,15 @@ const k = [], V = new Vi(k, {
|
|
|
1416
1419
|
},
|
|
1417
1420
|
ondirname(e, t) {
|
|
1418
1421
|
const n = Y(e, t), r = n === "." || n === ":" ? "bind" : n === "@" ? "on" : n === "#" ? "slot" : n.slice(2);
|
|
1419
|
-
if (!Ie && r === "" &&
|
|
1420
|
-
|
|
1422
|
+
if (!Ie && r === "" && oe(26, e), Ie || r === "")
|
|
1423
|
+
D = {
|
|
1421
1424
|
type: 6,
|
|
1422
1425
|
name: n,
|
|
1423
1426
|
nameLoc: U(e, t),
|
|
1424
1427
|
value: void 0,
|
|
1425
1428
|
loc: U(e)
|
|
1426
1429
|
};
|
|
1427
|
-
else if (
|
|
1430
|
+
else if (D = {
|
|
1428
1431
|
type: 7,
|
|
1429
1432
|
name: r,
|
|
1430
1433
|
rawName: n,
|
|
@@ -1433,20 +1436,20 @@ const k = [], V = new Vi(k, {
|
|
|
1433
1436
|
modifiers: n === "." ? [C("prop")] : [],
|
|
1434
1437
|
loc: U(e)
|
|
1435
1438
|
}, r === "pre") {
|
|
1436
|
-
Ie = V.inVPre = !0,
|
|
1439
|
+
Ie = V.inVPre = !0, on = z;
|
|
1437
1440
|
const a = z.props;
|
|
1438
1441
|
for (let i = 0; i < a.length; i++)
|
|
1439
|
-
a[i].type === 7 && (a[i] =
|
|
1442
|
+
a[i].type === 7 && (a[i] = ho(a[i]));
|
|
1440
1443
|
}
|
|
1441
1444
|
},
|
|
1442
1445
|
ondirarg(e, t) {
|
|
1443
1446
|
if (e === t) return;
|
|
1444
1447
|
const n = Y(e, t);
|
|
1445
|
-
if (Ie)
|
|
1446
|
-
|
|
1448
|
+
if (Ie && !rn(D))
|
|
1449
|
+
D.name += n, ke(D.nameLoc, t);
|
|
1447
1450
|
else {
|
|
1448
1451
|
const r = n[0] !== "[";
|
|
1449
|
-
|
|
1452
|
+
D.arg = gt(
|
|
1450
1453
|
r ? n : n.slice(1, -1),
|
|
1451
1454
|
r,
|
|
1452
1455
|
U(e, t),
|
|
@@ -1456,65 +1459,65 @@ const k = [], V = new Vi(k, {
|
|
|
1456
1459
|
},
|
|
1457
1460
|
ondirmodifier(e, t) {
|
|
1458
1461
|
const n = Y(e, t);
|
|
1459
|
-
if (Ie)
|
|
1460
|
-
|
|
1461
|
-
else if (
|
|
1462
|
-
const r =
|
|
1462
|
+
if (Ie && !rn(D))
|
|
1463
|
+
D.name += "." + n, ke(D.nameLoc, t);
|
|
1464
|
+
else if (D.name === "slot") {
|
|
1465
|
+
const r = D.arg;
|
|
1463
1466
|
r && (r.content += "." + n, ke(r.loc, t));
|
|
1464
1467
|
} else {
|
|
1465
1468
|
const r = C(n, !0, U(e, t));
|
|
1466
|
-
|
|
1469
|
+
D.modifiers.push(r);
|
|
1467
1470
|
}
|
|
1468
1471
|
},
|
|
1469
1472
|
onattribdata(e, t) {
|
|
1470
|
-
|
|
1473
|
+
ae += Y(e, t), Ee < 0 && (Ee = e), Le = t;
|
|
1471
1474
|
},
|
|
1472
1475
|
onattribentity(e, t, n) {
|
|
1473
|
-
|
|
1476
|
+
ae += e, Ee < 0 && (Ee = t), Le = n;
|
|
1474
1477
|
},
|
|
1475
1478
|
onattribnameend(e) {
|
|
1476
|
-
const t =
|
|
1477
|
-
|
|
1479
|
+
const t = D.loc.start.offset, n = Y(t, e);
|
|
1480
|
+
D.type === 7 && (D.rawName = n), z.props.some(
|
|
1478
1481
|
(r) => (r.type === 7 ? r.rawName : r.name) === n
|
|
1479
|
-
) &&
|
|
1482
|
+
) && oe(2, t);
|
|
1480
1483
|
},
|
|
1481
1484
|
onattribend(e, t) {
|
|
1482
|
-
if (z &&
|
|
1483
|
-
if (ke(
|
|
1484
|
-
if (
|
|
1485
|
-
|
|
1485
|
+
if (z && D) {
|
|
1486
|
+
if (ke(D.loc, t), e !== 0)
|
|
1487
|
+
if (ae.includes("&") && (ae = R.decodeEntities(
|
|
1488
|
+
ae,
|
|
1486
1489
|
!0
|
|
1487
|
-
)),
|
|
1488
|
-
|
|
1490
|
+
)), D.type === 6)
|
|
1491
|
+
D.name === "class" && (ae = $s(ae).trim()), e === 1 && !ae && oe(13, t), D.value = {
|
|
1489
1492
|
type: 2,
|
|
1490
|
-
content:
|
|
1491
|
-
loc: e === 1 ? U(
|
|
1492
|
-
}, V.inSFCRoot && z.tag === "template" &&
|
|
1493
|
+
content: ae,
|
|
1494
|
+
loc: e === 1 ? U(Ee, Le) : U(Ee - 1, Le + 1)
|
|
1495
|
+
}, V.inSFCRoot && z.tag === "template" && D.name === "lang" && ae && ae !== "html" && V.enterRCDATA(bt("</template"), 0);
|
|
1493
1496
|
else {
|
|
1494
1497
|
let n = 0;
|
|
1495
|
-
|
|
1496
|
-
|
|
1498
|
+
D.exp = gt(
|
|
1499
|
+
ae,
|
|
1497
1500
|
!1,
|
|
1498
|
-
U(
|
|
1501
|
+
U(Ee, Le),
|
|
1499
1502
|
0,
|
|
1500
1503
|
n
|
|
1501
|
-
),
|
|
1504
|
+
), D.name === "for" && (D.forParseResult = io(D.exp));
|
|
1502
1505
|
let r = -1;
|
|
1503
|
-
|
|
1506
|
+
D.name === "bind" && (r = D.modifiers.findIndex(
|
|
1504
1507
|
(a) => a.content === "sync"
|
|
1505
1508
|
)) > -1 && Ue(
|
|
1506
1509
|
"COMPILER_V_BIND_SYNC",
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
) && (
|
|
1510
|
+
R,
|
|
1511
|
+
D.loc,
|
|
1512
|
+
D.arg.loc.source
|
|
1513
|
+
) && (D.name = "model", D.modifiers.splice(r, 1));
|
|
1511
1514
|
}
|
|
1512
|
-
(
|
|
1515
|
+
(D.type !== 7 || D.name !== "pre") && z.props.push(D);
|
|
1513
1516
|
}
|
|
1514
|
-
|
|
1517
|
+
ae = "", Ee = Le = -1;
|
|
1515
1518
|
},
|
|
1516
1519
|
oncomment(e, t) {
|
|
1517
|
-
|
|
1520
|
+
R.comments && an({
|
|
1518
1521
|
type: 3,
|
|
1519
1522
|
content: Y(e, t),
|
|
1520
1523
|
loc: U(e - 4, t + 3)
|
|
@@ -1526,17 +1529,17 @@ const k = [], V = new Vi(k, {
|
|
|
1526
1529
|
switch (V.state) {
|
|
1527
1530
|
case 5:
|
|
1528
1531
|
case 8:
|
|
1529
|
-
|
|
1532
|
+
oe(5, e);
|
|
1530
1533
|
break;
|
|
1531
1534
|
case 3:
|
|
1532
1535
|
case 4:
|
|
1533
|
-
|
|
1536
|
+
oe(
|
|
1534
1537
|
25,
|
|
1535
1538
|
V.sectionStart
|
|
1536
1539
|
);
|
|
1537
1540
|
break;
|
|
1538
1541
|
case 28:
|
|
1539
|
-
V.currentSequence === J.CdataEnd ?
|
|
1542
|
+
V.currentSequence === J.CdataEnd ? oe(6, e) : oe(7, e);
|
|
1540
1543
|
break;
|
|
1541
1544
|
case 6:
|
|
1542
1545
|
case 7:
|
|
@@ -1554,31 +1557,31 @@ const k = [], V = new Vi(k, {
|
|
|
1554
1557
|
case 20:
|
|
1555
1558
|
// '
|
|
1556
1559
|
case 21:
|
|
1557
|
-
|
|
1560
|
+
oe(9, e);
|
|
1558
1561
|
break;
|
|
1559
1562
|
}
|
|
1560
1563
|
for (let t = 0; t < k.length; t++)
|
|
1561
|
-
|
|
1564
|
+
vt(k[t], e - 1), oe(24, k[t].loc.start.offset);
|
|
1562
1565
|
},
|
|
1563
1566
|
oncdata(e, t) {
|
|
1564
|
-
k[0].ns !== 0 ?
|
|
1567
|
+
k[0].ns !== 0 ? ht(Y(e, t), e, t) : oe(1, e - 9);
|
|
1565
1568
|
},
|
|
1566
1569
|
onprocessinginstruction(e) {
|
|
1567
|
-
(k[0] ? k[0].ns :
|
|
1570
|
+
(k[0] ? k[0].ns : R.ns) === 0 && oe(
|
|
1568
1571
|
21,
|
|
1569
1572
|
e - 1
|
|
1570
1573
|
);
|
|
1571
1574
|
}
|
|
1572
|
-
}),
|
|
1573
|
-
function
|
|
1574
|
-
const t = e.loc, n = e.content, r = n.match(
|
|
1575
|
+
}), Gn = /,([^,\}\]]*)(?:,([^,\}\]]*))?$/, ro = /^\(|\)$/g;
|
|
1576
|
+
function io(e) {
|
|
1577
|
+
const t = e.loc, n = e.content, r = n.match(Bs);
|
|
1575
1578
|
if (!r) return;
|
|
1576
|
-
const [, a, i] = r, l = (
|
|
1577
|
-
const
|
|
1579
|
+
const [, a, i] = r, l = (_, u, d = !1) => {
|
|
1580
|
+
const E = t.start.offset + u, f = E + _.length;
|
|
1578
1581
|
return gt(
|
|
1579
|
-
|
|
1582
|
+
_,
|
|
1580
1583
|
!1,
|
|
1581
|
-
U(
|
|
1584
|
+
U(E, f),
|
|
1582
1585
|
0,
|
|
1583
1586
|
d ? 1 : 0
|
|
1584
1587
|
/* Normal */
|
|
@@ -1590,19 +1593,19 @@ function ro(e) {
|
|
|
1590
1593
|
index: void 0,
|
|
1591
1594
|
finalized: !1
|
|
1592
1595
|
};
|
|
1593
|
-
let o = a.trim().replace(
|
|
1594
|
-
const c = a.indexOf(o),
|
|
1595
|
-
if (
|
|
1596
|
-
o = o.replace(
|
|
1597
|
-
const
|
|
1596
|
+
let o = a.trim().replace(ro, "").trim();
|
|
1597
|
+
const c = a.indexOf(o), p = o.match(Gn);
|
|
1598
|
+
if (p) {
|
|
1599
|
+
o = o.replace(Gn, "").trim();
|
|
1600
|
+
const _ = p[1].trim();
|
|
1598
1601
|
let u;
|
|
1599
|
-
if (
|
|
1600
|
-
const d =
|
|
1602
|
+
if (_ && (u = n.indexOf(_, c + o.length), s.key = l(_, u, !0)), p[2]) {
|
|
1603
|
+
const d = p[2].trim();
|
|
1601
1604
|
d && (s.index = l(
|
|
1602
1605
|
d,
|
|
1603
1606
|
n.indexOf(
|
|
1604
1607
|
d,
|
|
1605
|
-
s.key ? u +
|
|
1608
|
+
s.key ? u + _.length : c + o.length
|
|
1606
1609
|
),
|
|
1607
1610
|
!0
|
|
1608
1611
|
));
|
|
@@ -1613,47 +1616,47 @@ function ro(e) {
|
|
|
1613
1616
|
function Y(e, t) {
|
|
1614
1617
|
return Se.slice(e, t);
|
|
1615
1618
|
}
|
|
1616
|
-
function
|
|
1617
|
-
V.inSFCRoot && (z.innerLoc = U(e + 1, e + 1)),
|
|
1619
|
+
function Jn(e) {
|
|
1620
|
+
V.inSFCRoot && (z.innerLoc = U(e + 1, e + 1)), an(z);
|
|
1618
1621
|
const { tag: t, ns: n } = z;
|
|
1619
|
-
n === 0 &&
|
|
1622
|
+
n === 0 && R.isPreTag(t) && yn++, R.isVoidTag(t) ? vt(z, e) : (k.unshift(z), (n === 1 || n === 2) && (V.inXML = !0)), z = null;
|
|
1620
1623
|
}
|
|
1621
|
-
function
|
|
1624
|
+
function ht(e, t, n) {
|
|
1622
1625
|
{
|
|
1623
1626
|
const i = k[0] && k[0].tag;
|
|
1624
|
-
i !== "script" && i !== "style" && e.includes("&") && (e =
|
|
1627
|
+
i !== "script" && i !== "style" && e.includes("&") && (e = R.decodeEntities(e, !1));
|
|
1625
1628
|
}
|
|
1626
|
-
const r = k[0] ||
|
|
1629
|
+
const r = k[0] || lt, a = r.children[r.children.length - 1];
|
|
1627
1630
|
a && a.type === 2 ? (a.content += e, ke(a.loc, n)) : r.children.push({
|
|
1628
1631
|
type: 2,
|
|
1629
1632
|
content: e,
|
|
1630
1633
|
loc: U(t, n)
|
|
1631
1634
|
});
|
|
1632
1635
|
}
|
|
1633
|
-
function
|
|
1634
|
-
n ? ke(e.loc,
|
|
1636
|
+
function vt(e, t, n = !1) {
|
|
1637
|
+
n ? ke(e.loc, Fs(t, 60)) : ke(e.loc, oo(t, 62) + 1), V.inSFCRoot && (e.children.length ? e.innerLoc.end = ge({}, e.children[e.children.length - 1].loc.end) : e.innerLoc.end = ge({}, e.innerLoc.start), e.innerLoc.source = Y(
|
|
1635
1638
|
e.innerLoc.start.offset,
|
|
1636
1639
|
e.innerLoc.end.offset
|
|
1637
1640
|
));
|
|
1638
1641
|
const { tag: r, ns: a, children: i } = e;
|
|
1639
|
-
if (Ie || (r === "slot" ? e.tagType = 2 :
|
|
1642
|
+
if (Ie || (r === "slot" ? e.tagType = 2 : Yn(e) ? e.tagType = 3 : lo(e) && (e.tagType = 1)), V.inRCDATA || (e.children = Us(i)), a === 0 && R.isIgnoreNewlineTag(r)) {
|
|
1640
1643
|
const l = i[0];
|
|
1641
1644
|
l && l.type === 2 && (l.content = l.content.replace(/^\r?\n/, ""));
|
|
1642
1645
|
}
|
|
1643
|
-
a === 0 &&
|
|
1646
|
+
a === 0 && R.isPreTag(r) && yn--, on === e && (Ie = V.inVPre = !1, on = null), V.inXML && (k[0] ? k[0].ns : R.ns) === 0 && (V.inXML = !1);
|
|
1644
1647
|
{
|
|
1645
1648
|
const l = e.props;
|
|
1646
1649
|
if (process.env.NODE_ENV !== "production" && Ae(
|
|
1647
1650
|
"COMPILER_V_IF_V_FOR_PRECEDENCE",
|
|
1648
|
-
|
|
1651
|
+
R
|
|
1649
1652
|
)) {
|
|
1650
1653
|
let o = !1, c = !1;
|
|
1651
|
-
for (let
|
|
1652
|
-
const
|
|
1653
|
-
if (
|
|
1654
|
-
|
|
1654
|
+
for (let p = 0; p < l.length; p++) {
|
|
1655
|
+
const _ = l[p];
|
|
1656
|
+
if (_.type === 7 && (_.name === "if" ? o = !0 : _.name === "for" && (c = !0)), o && c) {
|
|
1657
|
+
it(
|
|
1655
1658
|
"COMPILER_V_IF_V_FOR_PRECEDENCE",
|
|
1656
|
-
|
|
1659
|
+
R,
|
|
1657
1660
|
e.loc
|
|
1658
1661
|
);
|
|
1659
1662
|
break;
|
|
@@ -1662,14 +1665,14 @@ function Nt(e, t, n = !1) {
|
|
|
1662
1665
|
}
|
|
1663
1666
|
if (!V.inSFCRoot && Ae(
|
|
1664
1667
|
"COMPILER_NATIVE_TEMPLATE",
|
|
1665
|
-
|
|
1666
|
-
) && e.tag === "template" && !
|
|
1667
|
-
process.env.NODE_ENV !== "production" &&
|
|
1668
|
+
R
|
|
1669
|
+
) && e.tag === "template" && !Yn(e)) {
|
|
1670
|
+
process.env.NODE_ENV !== "production" && it(
|
|
1668
1671
|
"COMPILER_NATIVE_TEMPLATE",
|
|
1669
|
-
|
|
1672
|
+
R,
|
|
1670
1673
|
e.loc
|
|
1671
1674
|
);
|
|
1672
|
-
const o = k[0] ||
|
|
1675
|
+
const o = k[0] || lt, c = o.children.indexOf(e);
|
|
1673
1676
|
o.children.splice(c, 1, ...e.children);
|
|
1674
1677
|
}
|
|
1675
1678
|
const s = l.find(
|
|
@@ -1677,7 +1680,7 @@ function Nt(e, t, n = !1) {
|
|
|
1677
1680
|
);
|
|
1678
1681
|
s && Ue(
|
|
1679
1682
|
"COMPILER_INLINE_TEMPLATE",
|
|
1680
|
-
|
|
1683
|
+
R,
|
|
1681
1684
|
s.loc
|
|
1682
1685
|
) && e.children.length && (s.value = {
|
|
1683
1686
|
type: 2,
|
|
@@ -1689,29 +1692,29 @@ function Nt(e, t, n = !1) {
|
|
|
1689
1692
|
});
|
|
1690
1693
|
}
|
|
1691
1694
|
}
|
|
1692
|
-
function
|
|
1695
|
+
function oo(e, t) {
|
|
1693
1696
|
let n = e;
|
|
1694
1697
|
for (; Se.charCodeAt(n) !== t && n < Se.length - 1; ) n++;
|
|
1695
1698
|
return n;
|
|
1696
1699
|
}
|
|
1697
|
-
function
|
|
1700
|
+
function Fs(e, t) {
|
|
1698
1701
|
let n = e;
|
|
1699
1702
|
for (; Se.charCodeAt(n) !== t && n >= 0; ) n--;
|
|
1700
1703
|
return n;
|
|
1701
1704
|
}
|
|
1702
|
-
const
|
|
1703
|
-
function
|
|
1705
|
+
const ao = /* @__PURE__ */ new Set(["if", "else", "else-if", "for", "slot"]);
|
|
1706
|
+
function Yn({ tag: e, props: t }) {
|
|
1704
1707
|
if (e === "template") {
|
|
1705
1708
|
for (let n = 0; n < t.length; n++)
|
|
1706
|
-
if (t[n].type === 7 &&
|
|
1709
|
+
if (t[n].type === 7 && ao.has(t[n].name))
|
|
1707
1710
|
return !0;
|
|
1708
1711
|
}
|
|
1709
1712
|
return !1;
|
|
1710
1713
|
}
|
|
1711
|
-
function
|
|
1712
|
-
if (
|
|
1714
|
+
function lo({ tag: e, props: t }) {
|
|
1715
|
+
if (R.isCustomElement(e))
|
|
1713
1716
|
return !1;
|
|
1714
|
-
if (e === "component" ||
|
|
1717
|
+
if (e === "component" || co(e.charCodeAt(0)) || gn(e) || R.isBuiltInComponent && R.isBuiltInComponent(e) || R.isNativeTag && !R.isNativeTag(e))
|
|
1715
1718
|
return !0;
|
|
1716
1719
|
for (let n = 0; n < t.length; n++) {
|
|
1717
1720
|
const r = t[n];
|
|
@@ -1721,16 +1724,16 @@ function ao({ tag: e, props: t }) {
|
|
|
1721
1724
|
return !0;
|
|
1722
1725
|
if (Ue(
|
|
1723
1726
|
"COMPILER_IS_ON_ELEMENT",
|
|
1724
|
-
|
|
1727
|
+
R,
|
|
1725
1728
|
r.loc
|
|
1726
1729
|
))
|
|
1727
1730
|
return !0;
|
|
1728
1731
|
}
|
|
1729
1732
|
} else if (
|
|
1730
1733
|
// :is on plain element - only treat as component in compat mode
|
|
1731
|
-
r.name === "bind" &&
|
|
1734
|
+
r.name === "bind" && ve(r.arg, "is") && Ue(
|
|
1732
1735
|
"COMPILER_IS_ON_ELEMENT",
|
|
1733
|
-
|
|
1736
|
+
R,
|
|
1734
1737
|
r.loc
|
|
1735
1738
|
)
|
|
1736
1739
|
)
|
|
@@ -1738,33 +1741,33 @@ function ao({ tag: e, props: t }) {
|
|
|
1738
1741
|
}
|
|
1739
1742
|
return !1;
|
|
1740
1743
|
}
|
|
1741
|
-
function
|
|
1744
|
+
function co(e) {
|
|
1742
1745
|
return e > 64 && e < 91;
|
|
1743
1746
|
}
|
|
1744
|
-
const
|
|
1745
|
-
function
|
|
1746
|
-
const
|
|
1747
|
-
let
|
|
1748
|
-
for (let
|
|
1749
|
-
const
|
|
1750
|
-
if (
|
|
1751
|
-
if (
|
|
1752
|
-
|
|
1747
|
+
const _o = /\r\n/g;
|
|
1748
|
+
function Us(e) {
|
|
1749
|
+
const t = R.whitespace !== "preserve";
|
|
1750
|
+
let n = !1;
|
|
1751
|
+
for (let r = 0; r < e.length; r++) {
|
|
1752
|
+
const a = e[r];
|
|
1753
|
+
if (a.type === 2)
|
|
1754
|
+
if (yn)
|
|
1755
|
+
a.content = a.content.replace(_o, `
|
|
1753
1756
|
`);
|
|
1754
|
-
else if (
|
|
1755
|
-
const
|
|
1756
|
-
!
|
|
1757
|
-
} else
|
|
1757
|
+
else if (po(a.content)) {
|
|
1758
|
+
const i = e[r - 1] && e[r - 1].type, l = e[r + 1] && e[r + 1].type;
|
|
1759
|
+
!i || !l || t && (i === 3 && (l === 3 || l === 1) || i === 1 && (l === 3 || l === 1 && uo(a.content))) ? (n = !0, e[r] = null) : a.content = " ";
|
|
1760
|
+
} else t && (a.content = $s(a.content));
|
|
1758
1761
|
}
|
|
1759
|
-
return
|
|
1762
|
+
return n ? e.filter(Boolean) : e;
|
|
1760
1763
|
}
|
|
1761
|
-
function
|
|
1764
|
+
function po(e) {
|
|
1762
1765
|
for (let t = 0; t < e.length; t++)
|
|
1763
1766
|
if (!ce(e.charCodeAt(t)))
|
|
1764
1767
|
return !1;
|
|
1765
1768
|
return !0;
|
|
1766
1769
|
}
|
|
1767
|
-
function
|
|
1770
|
+
function uo(e) {
|
|
1768
1771
|
for (let t = 0; t < e.length; t++) {
|
|
1769
1772
|
const n = e.charCodeAt(t);
|
|
1770
1773
|
if (n === 10 || n === 13)
|
|
@@ -1772,14 +1775,14 @@ function po(e) {
|
|
|
1772
1775
|
}
|
|
1773
1776
|
return !1;
|
|
1774
1777
|
}
|
|
1775
|
-
function
|
|
1778
|
+
function $s(e) {
|
|
1776
1779
|
let t = "", n = !1;
|
|
1777
1780
|
for (let r = 0; r < e.length; r++)
|
|
1778
1781
|
ce(e.charCodeAt(r)) ? n || (t += " ", n = !0) : (t += e[r], n = !1);
|
|
1779
1782
|
return t;
|
|
1780
1783
|
}
|
|
1781
|
-
function
|
|
1782
|
-
(k[0] ||
|
|
1784
|
+
function an(e) {
|
|
1785
|
+
(k[0] || lt).children.push(e);
|
|
1783
1786
|
}
|
|
1784
1787
|
function U(e, t) {
|
|
1785
1788
|
return {
|
|
@@ -1790,13 +1793,13 @@ function U(e, t) {
|
|
|
1790
1793
|
source: t == null ? t : Y(e, t)
|
|
1791
1794
|
};
|
|
1792
1795
|
}
|
|
1793
|
-
function
|
|
1796
|
+
function fo(e) {
|
|
1794
1797
|
return U(e.start.offset, e.end.offset);
|
|
1795
1798
|
}
|
|
1796
1799
|
function ke(e, t) {
|
|
1797
1800
|
e.end = V.getPos(t), e.source = Y(e.start.offset, t);
|
|
1798
1801
|
}
|
|
1799
|
-
function
|
|
1802
|
+
function ho(e) {
|
|
1800
1803
|
const t = {
|
|
1801
1804
|
type: 6,
|
|
1802
1805
|
name: e.rawName,
|
|
@@ -1820,121 +1823,130 @@ function fo(e) {
|
|
|
1820
1823
|
function gt(e, t = !1, n, r = 0, a = 0) {
|
|
1821
1824
|
return C(e, t, n, r);
|
|
1822
1825
|
}
|
|
1823
|
-
function
|
|
1824
|
-
|
|
1826
|
+
function oe(e, t, n) {
|
|
1827
|
+
R.onError(
|
|
1825
1828
|
P(e, U(t, t), void 0, n)
|
|
1826
1829
|
);
|
|
1827
1830
|
}
|
|
1828
|
-
function
|
|
1829
|
-
V.reset(), z = null,
|
|
1831
|
+
function mo() {
|
|
1832
|
+
V.reset(), z = null, D = null, ae = "", Ee = -1, Le = -1, k.length = 0;
|
|
1830
1833
|
}
|
|
1831
|
-
function
|
|
1832
|
-
if (
|
|
1834
|
+
function On(e, t) {
|
|
1835
|
+
if (mo(), Se = e, R = ge({}, xs), t) {
|
|
1833
1836
|
let a;
|
|
1834
1837
|
for (a in t)
|
|
1835
|
-
t[a] != null && (
|
|
1838
|
+
t[a] != null && (R[a] = t[a]);
|
|
1836
1839
|
}
|
|
1837
|
-
if (process.env.NODE_ENV !== "production" && !
|
|
1840
|
+
if (process.env.NODE_ENV !== "production" && !R.decodeEntities)
|
|
1838
1841
|
throw new Error(
|
|
1839
1842
|
"[@vue/compiler-core] decodeEntities option is required in browser builds."
|
|
1840
1843
|
);
|
|
1841
|
-
V.mode =
|
|
1844
|
+
V.mode = R.parseMode === "html" ? 1 : R.parseMode === "sfc" ? 2 : 0, V.inXML = R.ns === 1 || R.ns === 2;
|
|
1842
1845
|
const n = t && t.delimiters;
|
|
1843
1846
|
n && (V.delimiterOpen = bt(n[0]), V.delimiterClose = bt(n[1]));
|
|
1844
|
-
const r =
|
|
1845
|
-
return V.parse(Se), r.loc = U(0, e.length), r.children =
|
|
1847
|
+
const r = lt = Ts([], e);
|
|
1848
|
+
return V.parse(Se), r.loc = U(0, e.length), r.children = Us(r.children), lt = null, r;
|
|
1846
1849
|
}
|
|
1847
|
-
function
|
|
1850
|
+
function Eo(e, t) {
|
|
1848
1851
|
St(
|
|
1849
1852
|
e,
|
|
1850
1853
|
void 0,
|
|
1851
1854
|
t,
|
|
1852
1855
|
// Root node is unfortunately non-hoistable due to potential parent
|
|
1853
1856
|
// fallthrough attributes.
|
|
1854
|
-
|
|
1857
|
+
!!js(e)
|
|
1855
1858
|
);
|
|
1856
1859
|
}
|
|
1857
|
-
function
|
|
1858
|
-
const
|
|
1859
|
-
return
|
|
1860
|
+
function js(e) {
|
|
1861
|
+
const t = e.children.filter((n) => n.type !== 3);
|
|
1862
|
+
return t.length === 1 && t[0].type === 1 && !ot(t[0]) ? t[0] : null;
|
|
1860
1863
|
}
|
|
1861
1864
|
function St(e, t, n, r = !1, a = !1) {
|
|
1862
1865
|
const { children: i } = e, l = [];
|
|
1863
1866
|
for (let _ = 0; _ < i.length; _++) {
|
|
1864
|
-
const
|
|
1865
|
-
if (
|
|
1866
|
-
const
|
|
1867
|
-
if (
|
|
1868
|
-
if (
|
|
1869
|
-
|
|
1867
|
+
const u = i[_];
|
|
1868
|
+
if (u.type === 1 && u.tagType === 0) {
|
|
1869
|
+
const d = r ? 0 : le(u, n);
|
|
1870
|
+
if (d > 0) {
|
|
1871
|
+
if (d >= 2) {
|
|
1872
|
+
u.codegenNode.patchFlag = -1, l.push(u);
|
|
1870
1873
|
continue;
|
|
1871
1874
|
}
|
|
1872
1875
|
} else {
|
|
1873
|
-
const
|
|
1874
|
-
if (
|
|
1875
|
-
const
|
|
1876
|
-
if ((
|
|
1877
|
-
const
|
|
1878
|
-
|
|
1876
|
+
const E = u.codegenNode;
|
|
1877
|
+
if (E.type === 13) {
|
|
1878
|
+
const f = E.patchFlag;
|
|
1879
|
+
if ((f === void 0 || f === 512 || f === 1) && Ks(u, n) >= 2) {
|
|
1880
|
+
const v = Ws(u);
|
|
1881
|
+
v && (E.props = n.hoist(v));
|
|
1879
1882
|
}
|
|
1880
|
-
|
|
1883
|
+
E.dynamicProps && (E.dynamicProps = n.hoist(E.dynamicProps));
|
|
1881
1884
|
}
|
|
1882
1885
|
}
|
|
1883
|
-
} else if (
|
|
1884
|
-
|
|
1886
|
+
} else if (u.type === 12 && (r ? 0 : le(u, n)) >= 2) {
|
|
1887
|
+
u.codegenNode.type === 14 && u.codegenNode.arguments.length > 0 && u.codegenNode.arguments.push(
|
|
1888
|
+
-1 + (process.env.NODE_ENV !== "production" ? ` /* ${tt[-1]} */` : "")
|
|
1889
|
+
), l.push(u);
|
|
1885
1890
|
continue;
|
|
1886
1891
|
}
|
|
1887
|
-
if (
|
|
1888
|
-
const
|
|
1889
|
-
|
|
1890
|
-
} else if (
|
|
1891
|
-
St(
|
|
1892
|
-
else if (
|
|
1893
|
-
for (let
|
|
1892
|
+
if (u.type === 1) {
|
|
1893
|
+
const d = u.tagType === 1;
|
|
1894
|
+
d && n.scopes.vSlot++, St(u, e, n, !1, a), d && n.scopes.vSlot--;
|
|
1895
|
+
} else if (u.type === 11)
|
|
1896
|
+
St(u, e, n, u.children.length === 1, !0);
|
|
1897
|
+
else if (u.type === 9)
|
|
1898
|
+
for (let d = 0; d < u.branches.length; d++)
|
|
1894
1899
|
St(
|
|
1895
|
-
|
|
1900
|
+
u.branches[d],
|
|
1896
1901
|
e,
|
|
1897
1902
|
n,
|
|
1898
|
-
|
|
1903
|
+
u.branches[d].children.length === 1,
|
|
1899
1904
|
a
|
|
1900
1905
|
);
|
|
1901
1906
|
}
|
|
1902
1907
|
let s = !1;
|
|
1908
|
+
const o = [];
|
|
1903
1909
|
if (l.length === i.length && e.type === 1) {
|
|
1904
|
-
if (e.tagType === 0 && e.codegenNode && e.codegenNode.type === 13 &&
|
|
1905
|
-
e.codegenNode.children =
|
|
1910
|
+
if (e.tagType === 0 && e.codegenNode && e.codegenNode.type === 13 && he(e.codegenNode.children))
|
|
1911
|
+
e.codegenNode.children = c(
|
|
1906
1912
|
be(e.codegenNode.children)
|
|
1907
1913
|
), s = !0;
|
|
1908
|
-
else if (e.tagType === 1 && e.codegenNode && e.codegenNode.type === 13 && e.codegenNode.children && !
|
|
1909
|
-
const _ =
|
|
1910
|
-
_ && (_.returns =
|
|
1914
|
+
else if (e.tagType === 1 && e.codegenNode && e.codegenNode.type === 13 && e.codegenNode.children && !he(e.codegenNode.children) && e.codegenNode.children.type === 15) {
|
|
1915
|
+
const _ = p(e.codegenNode, "default");
|
|
1916
|
+
_ && (o.push(n.cached.length), _.returns = c(
|
|
1911
1917
|
be(_.returns)
|
|
1912
1918
|
), s = !0);
|
|
1913
|
-
} else if (e.tagType === 3 && t && t.type === 1 && t.tagType === 1 && t.codegenNode && t.codegenNode.type === 13 && t.codegenNode.children && !
|
|
1914
|
-
const _ = Q(e, "slot", !0),
|
|
1915
|
-
|
|
1916
|
-
be(
|
|
1919
|
+
} else if (e.tagType === 3 && t && t.type === 1 && t.tagType === 1 && t.codegenNode && t.codegenNode.type === 13 && t.codegenNode.children && !he(t.codegenNode.children) && t.codegenNode.children.type === 15) {
|
|
1920
|
+
const _ = Q(e, "slot", !0), u = _ && _.arg && p(t.codegenNode, _.arg);
|
|
1921
|
+
u && (o.push(n.cached.length), u.returns = c(
|
|
1922
|
+
be(u.returns)
|
|
1917
1923
|
), s = !0);
|
|
1918
1924
|
}
|
|
1919
1925
|
}
|
|
1920
1926
|
if (!s)
|
|
1921
1927
|
for (const _ of l)
|
|
1922
|
-
_.codegenNode = n.cache(_.codegenNode);
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1928
|
+
o.push(n.cached.length), _.codegenNode = n.cache(_.codegenNode);
|
|
1929
|
+
o.length && e.type === 1 && e.tagType === 1 && e.codegenNode && e.codegenNode.type === 13 && e.codegenNode.children && !he(e.codegenNode.children) && e.codegenNode.children.type === 15 && e.codegenNode.children.properties.push(
|
|
1930
|
+
x(
|
|
1931
|
+
"__",
|
|
1932
|
+
C(JSON.stringify(o), !1)
|
|
1933
|
+
)
|
|
1934
|
+
);
|
|
1935
|
+
function c(_) {
|
|
1936
|
+
const u = n.cache(_);
|
|
1937
|
+
return a && n.hmr && (u.needArraySpread = !0), u;
|
|
1938
|
+
}
|
|
1939
|
+
function p(_, u) {
|
|
1940
|
+
if (_.children && !he(_.children) && _.children.type === 15) {
|
|
1941
|
+
const d = _.children.properties.find(
|
|
1942
|
+
(E) => E.key === u || E.key.content === u
|
|
1931
1943
|
);
|
|
1932
|
-
return
|
|
1944
|
+
return d && d.value;
|
|
1933
1945
|
}
|
|
1934
1946
|
}
|
|
1935
1947
|
l.length && n.transformHoist && n.transformHoist(i, n, e);
|
|
1936
1948
|
}
|
|
1937
|
-
function
|
|
1949
|
+
function le(e, t) {
|
|
1938
1950
|
const { constantCache: n } = t;
|
|
1939
1951
|
switch (e.type) {
|
|
1940
1952
|
case 1:
|
|
@@ -1948,12 +1960,12 @@ function ae(e, t) {
|
|
|
1948
1960
|
return 0;
|
|
1949
1961
|
if (a.patchFlag === void 0) {
|
|
1950
1962
|
let l = 3;
|
|
1951
|
-
const s =
|
|
1963
|
+
const s = Ks(e, t);
|
|
1952
1964
|
if (s === 0)
|
|
1953
1965
|
return n.set(e, 0), 0;
|
|
1954
1966
|
s < l && (l = s);
|
|
1955
1967
|
for (let o = 0; o < e.children.length; o++) {
|
|
1956
|
-
const c =
|
|
1968
|
+
const c = le(e.children[o], t);
|
|
1957
1969
|
if (c === 0)
|
|
1958
1970
|
return n.set(e, 0), 0;
|
|
1959
1971
|
c < l && (l = c);
|
|
@@ -1962,10 +1974,10 @@ function ae(e, t) {
|
|
|
1962
1974
|
for (let o = 0; o < e.props.length; o++) {
|
|
1963
1975
|
const c = e.props[o];
|
|
1964
1976
|
if (c.type === 7 && c.name === "bind" && c.exp) {
|
|
1965
|
-
const
|
|
1966
|
-
if (
|
|
1977
|
+
const p = le(c.exp, t);
|
|
1978
|
+
if (p === 0)
|
|
1967
1979
|
return n.set(e, 0), 0;
|
|
1968
|
-
|
|
1980
|
+
p < l && (l = p);
|
|
1969
1981
|
}
|
|
1970
1982
|
}
|
|
1971
1983
|
if (a.isBlock) {
|
|
@@ -1988,16 +2000,16 @@ function ae(e, t) {
|
|
|
1988
2000
|
return 0;
|
|
1989
2001
|
case 5:
|
|
1990
2002
|
case 12:
|
|
1991
|
-
return
|
|
2003
|
+
return le(e.content, t);
|
|
1992
2004
|
case 4:
|
|
1993
2005
|
return e.constType;
|
|
1994
2006
|
case 8:
|
|
1995
2007
|
let i = 3;
|
|
1996
2008
|
for (let l = 0; l < e.children.length; l++) {
|
|
1997
2009
|
const s = e.children[l];
|
|
1998
|
-
if (j(s) ||
|
|
2010
|
+
if (j(s) || _n(s))
|
|
1999
2011
|
continue;
|
|
2000
|
-
const o =
|
|
2012
|
+
const o = le(s, t);
|
|
2001
2013
|
if (o === 0)
|
|
2002
2014
|
return 0;
|
|
2003
2015
|
o < i && (i = o);
|
|
@@ -2009,46 +2021,46 @@ function ae(e, t) {
|
|
|
2009
2021
|
return process.env.NODE_ENV, 0;
|
|
2010
2022
|
}
|
|
2011
2023
|
}
|
|
2012
|
-
const
|
|
2024
|
+
const No = /* @__PURE__ */ new Set([
|
|
2013
2025
|
$t,
|
|
2014
2026
|
jt,
|
|
2015
2027
|
Ge,
|
|
2016
2028
|
Ze
|
|
2017
2029
|
]);
|
|
2018
|
-
function
|
|
2019
|
-
if (e.type === 14 && !j(e.callee) &&
|
|
2030
|
+
function Hs(e, t) {
|
|
2031
|
+
if (e.type === 14 && !j(e.callee) && No.has(e.callee)) {
|
|
2020
2032
|
const n = e.arguments[0];
|
|
2021
2033
|
if (n.type === 4)
|
|
2022
|
-
return
|
|
2034
|
+
return le(n, t);
|
|
2023
2035
|
if (n.type === 14)
|
|
2024
|
-
return
|
|
2036
|
+
return Hs(n, t);
|
|
2025
2037
|
}
|
|
2026
2038
|
return 0;
|
|
2027
2039
|
}
|
|
2028
|
-
function
|
|
2040
|
+
function Ks(e, t) {
|
|
2029
2041
|
let n = 3;
|
|
2030
|
-
const r =
|
|
2042
|
+
const r = Ws(e);
|
|
2031
2043
|
if (r && r.type === 15) {
|
|
2032
2044
|
const { properties: a } = r;
|
|
2033
2045
|
for (let i = 0; i < a.length; i++) {
|
|
2034
|
-
const { key: l, value: s } = a[i], o =
|
|
2046
|
+
const { key: l, value: s } = a[i], o = le(l, t);
|
|
2035
2047
|
if (o === 0)
|
|
2036
2048
|
return o;
|
|
2037
2049
|
o < n && (n = o);
|
|
2038
2050
|
let c;
|
|
2039
|
-
if (s.type === 4 ? c =
|
|
2051
|
+
if (s.type === 4 ? c = le(s, t) : s.type === 14 ? c = Hs(s, t) : c = 0, c === 0)
|
|
2040
2052
|
return c;
|
|
2041
2053
|
c < n && (n = c);
|
|
2042
2054
|
}
|
|
2043
2055
|
}
|
|
2044
2056
|
return n;
|
|
2045
2057
|
}
|
|
2046
|
-
function
|
|
2058
|
+
function Ws(e) {
|
|
2047
2059
|
const t = e.codegenNode;
|
|
2048
2060
|
if (t.type === 13)
|
|
2049
2061
|
return t.props;
|
|
2050
2062
|
}
|
|
2051
|
-
function
|
|
2063
|
+
function Gs(e, {
|
|
2052
2064
|
filename: t = "",
|
|
2053
2065
|
prefixIdentifiers: n = !1,
|
|
2054
2066
|
hoistStatic: r = !1,
|
|
@@ -2058,24 +2070,24 @@ function Ks(e, {
|
|
|
2058
2070
|
directiveTransforms: s = {},
|
|
2059
2071
|
transformHoist: o = null,
|
|
2060
2072
|
isBuiltInComponent: c = et,
|
|
2061
|
-
isCustomElement:
|
|
2062
|
-
expressionPlugins:
|
|
2073
|
+
isCustomElement: p = et,
|
|
2074
|
+
expressionPlugins: _ = [],
|
|
2063
2075
|
scopeId: u = null,
|
|
2064
2076
|
slotted: d = !0,
|
|
2065
|
-
ssr:
|
|
2077
|
+
ssr: E = !1,
|
|
2066
2078
|
inSSR: f = !1,
|
|
2067
|
-
ssrCssVars:
|
|
2068
|
-
bindingMetadata: O =
|
|
2079
|
+
ssrCssVars: v = "",
|
|
2080
|
+
bindingMetadata: O = di,
|
|
2069
2081
|
inline: y = !1,
|
|
2070
2082
|
isTS: w = !1,
|
|
2071
|
-
onError: se =
|
|
2072
|
-
onWarn:
|
|
2073
|
-
compatConfig:
|
|
2083
|
+
onError: se = vn,
|
|
2084
|
+
onWarn: F = Is,
|
|
2085
|
+
compatConfig: re
|
|
2074
2086
|
}) {
|
|
2075
2087
|
const X = t.replace(/\?.*$/, "").match(/([^/\\]+)\.\w+$/), b = {
|
|
2076
2088
|
// options
|
|
2077
2089
|
filename: t,
|
|
2078
|
-
selfName: X &&
|
|
2090
|
+
selfName: X && fs(Ce(X[1])),
|
|
2079
2091
|
prefixIdentifiers: n,
|
|
2080
2092
|
hoistStatic: r,
|
|
2081
2093
|
hmr: a,
|
|
@@ -2084,19 +2096,19 @@ function Ks(e, {
|
|
|
2084
2096
|
directiveTransforms: s,
|
|
2085
2097
|
transformHoist: o,
|
|
2086
2098
|
isBuiltInComponent: c,
|
|
2087
|
-
isCustomElement:
|
|
2088
|
-
expressionPlugins:
|
|
2099
|
+
isCustomElement: p,
|
|
2100
|
+
expressionPlugins: _,
|
|
2089
2101
|
scopeId: u,
|
|
2090
2102
|
slotted: d,
|
|
2091
|
-
ssr:
|
|
2103
|
+
ssr: E,
|
|
2092
2104
|
inSSR: f,
|
|
2093
|
-
ssrCssVars:
|
|
2105
|
+
ssrCssVars: v,
|
|
2094
2106
|
bindingMetadata: O,
|
|
2095
2107
|
inline: y,
|
|
2096
2108
|
isTS: w,
|
|
2097
2109
|
onError: se,
|
|
2098
|
-
onWarn:
|
|
2099
|
-
compatConfig:
|
|
2110
|
+
onWarn: F,
|
|
2111
|
+
compatConfig: re,
|
|
2100
2112
|
// state
|
|
2101
2113
|
root: e,
|
|
2102
2114
|
helpers: /* @__PURE__ */ new Map(),
|
|
@@ -2167,30 +2179,30 @@ function Ks(e, {
|
|
|
2167
2179
|
return m.hoisted = I, m;
|
|
2168
2180
|
},
|
|
2169
2181
|
cache(I, m = !1, S = !1) {
|
|
2170
|
-
const
|
|
2182
|
+
const N = ys(
|
|
2171
2183
|
b.cached.length,
|
|
2172
2184
|
I,
|
|
2173
2185
|
m,
|
|
2174
2186
|
S
|
|
2175
2187
|
);
|
|
2176
|
-
return b.cached.push(
|
|
2188
|
+
return b.cached.push(N), N;
|
|
2177
2189
|
}
|
|
2178
2190
|
};
|
|
2179
2191
|
return b.filters = /* @__PURE__ */ new Set(), b;
|
|
2180
2192
|
}
|
|
2181
|
-
function
|
|
2182
|
-
const n =
|
|
2183
|
-
|
|
2193
|
+
function Js(e, t) {
|
|
2194
|
+
const n = Gs(e, t);
|
|
2195
|
+
pt(e, n), t.hoistStatic && Eo(e, n), t.ssr || vo(e, n), e.helpers = /* @__PURE__ */ new Set([...n.helpers.keys()]), e.components = [...n.components], e.directives = [...n.directives], e.imports = n.imports, e.hoists = n.hoists, e.temps = n.temps, e.cached = n.cached, e.transformed = !0, e.filters = [...n.filters];
|
|
2184
2196
|
}
|
|
2185
2197
|
function vo(e, t) {
|
|
2186
2198
|
const { helper: n } = t, { children: r } = e;
|
|
2187
2199
|
if (r.length === 1) {
|
|
2188
|
-
const a =
|
|
2189
|
-
if (
|
|
2200
|
+
const a = js(e);
|
|
2201
|
+
if (a && a.codegenNode) {
|
|
2190
2202
|
const i = a.codegenNode;
|
|
2191
2203
|
i.type === 13 && Gt(i, t), e.codegenNode = i;
|
|
2192
2204
|
} else
|
|
2193
|
-
e.codegenNode =
|
|
2205
|
+
e.codegenNode = r[0];
|
|
2194
2206
|
} else if (r.length > 1) {
|
|
2195
2207
|
let a = 64;
|
|
2196
2208
|
process.env.NODE_ENV !== "production" && r.filter((i) => i.type !== 3).length === 1 && (a |= 2048), e.codegenNode = Je(
|
|
@@ -2207,22 +2219,22 @@ function vo(e, t) {
|
|
|
2207
2219
|
);
|
|
2208
2220
|
}
|
|
2209
2221
|
}
|
|
2210
|
-
function
|
|
2222
|
+
function go(e, t) {
|
|
2211
2223
|
let n = 0;
|
|
2212
2224
|
const r = () => {
|
|
2213
2225
|
n--;
|
|
2214
2226
|
};
|
|
2215
2227
|
for (; n < e.children.length; n++) {
|
|
2216
2228
|
const a = e.children[n];
|
|
2217
|
-
j(a) || (t.grandParent = t.parent, t.parent = e, t.childIndex = n, t.onNodeRemoved = r,
|
|
2229
|
+
j(a) || (t.grandParent = t.parent, t.parent = e, t.childIndex = n, t.onNodeRemoved = r, pt(a, t));
|
|
2218
2230
|
}
|
|
2219
2231
|
}
|
|
2220
|
-
function
|
|
2232
|
+
function pt(e, t) {
|
|
2221
2233
|
t.currentNode = e;
|
|
2222
2234
|
const { nodeTransforms: n } = t, r = [];
|
|
2223
2235
|
for (let i = 0; i < n.length; i++) {
|
|
2224
2236
|
const l = n[i](e, t);
|
|
2225
|
-
if (l && (
|
|
2237
|
+
if (l && (he(l) ? r.push(...l) : r.push(l)), t.currentNode)
|
|
2226
2238
|
e = t.currentNode;
|
|
2227
2239
|
else
|
|
2228
2240
|
return;
|
|
@@ -2232,18 +2244,18 @@ function _t(e, t) {
|
|
|
2232
2244
|
t.ssr || t.helper(Qe);
|
|
2233
2245
|
break;
|
|
2234
2246
|
case 5:
|
|
2235
|
-
t.ssr || t.helper(
|
|
2247
|
+
t.ssr || t.helper(ct);
|
|
2236
2248
|
break;
|
|
2237
2249
|
// for container types, further traverse downwards
|
|
2238
2250
|
case 9:
|
|
2239
2251
|
for (let i = 0; i < e.branches.length; i++)
|
|
2240
|
-
|
|
2252
|
+
pt(e.branches[i], t);
|
|
2241
2253
|
break;
|
|
2242
2254
|
case 10:
|
|
2243
2255
|
case 11:
|
|
2244
2256
|
case 1:
|
|
2245
2257
|
case 0:
|
|
2246
|
-
|
|
2258
|
+
go(e, t);
|
|
2247
2259
|
break;
|
|
2248
2260
|
}
|
|
2249
2261
|
t.currentNode = e;
|
|
@@ -2251,12 +2263,12 @@ function _t(e, t) {
|
|
|
2251
2263
|
for (; a--; )
|
|
2252
2264
|
r[a]();
|
|
2253
2265
|
}
|
|
2254
|
-
function
|
|
2266
|
+
function In(e, t) {
|
|
2255
2267
|
const n = j(e) ? (r) => r === e : (r) => e.test(r);
|
|
2256
2268
|
return (r, a) => {
|
|
2257
2269
|
if (r.type === 1) {
|
|
2258
2270
|
const { props: i } = r;
|
|
2259
|
-
if (r.tagType === 3 && i.some(
|
|
2271
|
+
if (r.tagType === 3 && i.some(Tn))
|
|
2260
2272
|
return;
|
|
2261
2273
|
const l = [];
|
|
2262
2274
|
for (let s = 0; s < i.length; s++) {
|
|
@@ -2271,8 +2283,8 @@ function yn(e, t) {
|
|
|
2271
2283
|
}
|
|
2272
2284
|
};
|
|
2273
2285
|
}
|
|
2274
|
-
const Jt = "/*@__PURE__*/",
|
|
2275
|
-
function
|
|
2286
|
+
const Jt = "/*@__PURE__*/", Ys = (e) => `${Xe[e]}: _${Xe[e]}`;
|
|
2287
|
+
function So(e, {
|
|
2276
2288
|
mode: t = "function",
|
|
2277
2289
|
prefixIdentifiers: n = t === "module",
|
|
2278
2290
|
sourceMap: r = !1,
|
|
@@ -2282,8 +2294,8 @@ function go(e, {
|
|
|
2282
2294
|
runtimeGlobalName: s = "Vue",
|
|
2283
2295
|
runtimeModuleName: o = "vue",
|
|
2284
2296
|
ssrRuntimeModuleName: c = "vue/server-renderer",
|
|
2285
|
-
ssr:
|
|
2286
|
-
isTS:
|
|
2297
|
+
ssr: p = !1,
|
|
2298
|
+
isTS: _ = !1,
|
|
2287
2299
|
inSSR: u = !1
|
|
2288
2300
|
}) {
|
|
2289
2301
|
const d = {
|
|
@@ -2296,8 +2308,8 @@ function go(e, {
|
|
|
2296
2308
|
runtimeGlobalName: s,
|
|
2297
2309
|
runtimeModuleName: o,
|
|
2298
2310
|
ssrRuntimeModuleName: c,
|
|
2299
|
-
ssr:
|
|
2300
|
-
isTS:
|
|
2311
|
+
ssr: p,
|
|
2312
|
+
isTS: _,
|
|
2301
2313
|
inSSR: u,
|
|
2302
2314
|
source: e.source,
|
|
2303
2315
|
code: "",
|
|
@@ -2310,20 +2322,20 @@ function go(e, {
|
|
|
2310
2322
|
helper(f) {
|
|
2311
2323
|
return `_${Xe[f]}`;
|
|
2312
2324
|
},
|
|
2313
|
-
push(f,
|
|
2325
|
+
push(f, v = -2, O) {
|
|
2314
2326
|
d.code += f;
|
|
2315
2327
|
},
|
|
2316
2328
|
indent() {
|
|
2317
|
-
|
|
2329
|
+
E(++d.indentLevel);
|
|
2318
2330
|
},
|
|
2319
2331
|
deindent(f = !1) {
|
|
2320
|
-
f ? --d.indentLevel :
|
|
2332
|
+
f ? --d.indentLevel : E(--d.indentLevel);
|
|
2321
2333
|
},
|
|
2322
2334
|
newline() {
|
|
2323
|
-
|
|
2335
|
+
E(d.indentLevel);
|
|
2324
2336
|
}
|
|
2325
2337
|
};
|
|
2326
|
-
function
|
|
2338
|
+
function E(f) {
|
|
2327
2339
|
d.push(
|
|
2328
2340
|
`
|
|
2329
2341
|
` + " ".repeat(f),
|
|
@@ -2333,8 +2345,8 @@ function go(e, {
|
|
|
2333
2345
|
}
|
|
2334
2346
|
return d;
|
|
2335
2347
|
}
|
|
2336
|
-
function
|
|
2337
|
-
const n =
|
|
2348
|
+
function qs(e, t = {}) {
|
|
2349
|
+
const n = So(e, t);
|
|
2338
2350
|
t.onContextCreated && t.onContextCreated(n);
|
|
2339
2351
|
const {
|
|
2340
2352
|
mode: r,
|
|
@@ -2344,12 +2356,12 @@ function Js(e, t = {}) {
|
|
|
2344
2356
|
deindent: s,
|
|
2345
2357
|
newline: o,
|
|
2346
2358
|
scopeId: c,
|
|
2347
|
-
ssr:
|
|
2348
|
-
} = n,
|
|
2349
|
-
|
|
2350
|
-
const f =
|
|
2359
|
+
ssr: p
|
|
2360
|
+
} = n, _ = Array.from(e.helpers), u = _.length > 0, d = !i && r !== "module";
|
|
2361
|
+
To(e, n);
|
|
2362
|
+
const f = p ? "ssrRender" : "render", O = (p ? ["_ctx", "_push", "_parent", "_attrs"] : ["_ctx", "_cache"]).join(", ");
|
|
2351
2363
|
if (a(`function ${f}(${O}) {`), l(), d && (a("with (_ctx) {"), l(), u && (a(
|
|
2352
|
-
`const { ${
|
|
2364
|
+
`const { ${_.map(Ys).join(", ")} } = _Vue
|
|
2353
2365
|
`,
|
|
2354
2366
|
-1
|
|
2355
2367
|
/* End */
|
|
@@ -2363,14 +2375,14 @@ function Js(e, t = {}) {
|
|
|
2363
2375
|
`,
|
|
2364
2376
|
0
|
|
2365
2377
|
/* Start */
|
|
2366
|
-
), o()),
|
|
2378
|
+
), o()), p || a("return "), e.codegenNode ? Z(e.codegenNode, n) : a("null"), d && (s(), a("}")), s(), a("}"), {
|
|
2367
2379
|
ast: e,
|
|
2368
2380
|
code: n.code,
|
|
2369
2381
|
preamble: "",
|
|
2370
2382
|
map: n.map ? n.map.toJSON() : void 0
|
|
2371
2383
|
};
|
|
2372
2384
|
}
|
|
2373
|
-
function
|
|
2385
|
+
function To(e, t) {
|
|
2374
2386
|
const {
|
|
2375
2387
|
ssr: n,
|
|
2376
2388
|
prefixIdentifiers: r,
|
|
@@ -2379,28 +2391,28 @@ function So(e, t) {
|
|
|
2379
2391
|
runtimeModuleName: l,
|
|
2380
2392
|
runtimeGlobalName: s,
|
|
2381
2393
|
ssrRuntimeModuleName: o
|
|
2382
|
-
} = t, c = s,
|
|
2383
|
-
if (
|
|
2394
|
+
} = t, c = s, p = Array.from(e.helpers);
|
|
2395
|
+
if (p.length > 0 && (a(
|
|
2384
2396
|
`const _Vue = ${c}
|
|
2385
2397
|
`,
|
|
2386
2398
|
-1
|
|
2387
2399
|
/* End */
|
|
2388
2400
|
), e.hoists.length)) {
|
|
2389
|
-
const
|
|
2401
|
+
const _ = [
|
|
2390
2402
|
Lt,
|
|
2391
2403
|
Vt,
|
|
2392
2404
|
Qe,
|
|
2393
2405
|
kt,
|
|
2394
|
-
|
|
2395
|
-
].filter((u) =>
|
|
2406
|
+
hn
|
|
2407
|
+
].filter((u) => p.includes(u)).map(Ys).join(", ");
|
|
2396
2408
|
a(
|
|
2397
|
-
`const { ${
|
|
2409
|
+
`const { ${_} } = _Vue
|
|
2398
2410
|
`,
|
|
2399
2411
|
-1
|
|
2400
2412
|
/* End */
|
|
2401
2413
|
);
|
|
2402
2414
|
}
|
|
2403
|
-
|
|
2415
|
+
yo(e.hoists, t), i(), a("return ");
|
|
2404
2416
|
}
|
|
2405
2417
|
function Zt(e, t, { helper: n, push: r, newline: a, isTS: i }) {
|
|
2406
2418
|
const l = n(
|
|
@@ -2414,7 +2426,7 @@ function Zt(e, t, { helper: n, push: r, newline: a, isTS: i }) {
|
|
|
2414
2426
|
), s < e.length - 1 && a();
|
|
2415
2427
|
}
|
|
2416
2428
|
}
|
|
2417
|
-
function
|
|
2429
|
+
function yo(e, t) {
|
|
2418
2430
|
if (!e.length)
|
|
2419
2431
|
return;
|
|
2420
2432
|
t.pure = !0;
|
|
@@ -2426,14 +2438,14 @@ function To(e, t) {
|
|
|
2426
2438
|
}
|
|
2427
2439
|
t.pure = !1;
|
|
2428
2440
|
}
|
|
2429
|
-
function
|
|
2441
|
+
function Oo(e) {
|
|
2430
2442
|
return j(e) || e.type === 4 || e.type === 2 || e.type === 5 || e.type === 8;
|
|
2431
2443
|
}
|
|
2432
|
-
function
|
|
2433
|
-
const n = e.length > 3 || process.env.NODE_ENV !== "production" && e.some((r) =>
|
|
2434
|
-
t.push("["), n && t.indent(),
|
|
2444
|
+
function Cn(e, t) {
|
|
2445
|
+
const n = e.length > 3 || process.env.NODE_ENV !== "production" && e.some((r) => he(r) || !Oo(r));
|
|
2446
|
+
t.push("["), n && t.indent(), ut(e, t, n), n && t.deindent(), t.push("]");
|
|
2435
2447
|
}
|
|
2436
|
-
function
|
|
2448
|
+
function ut(e, t, n = !1, r = !0) {
|
|
2437
2449
|
const { push: a, newline: i } = t;
|
|
2438
2450
|
for (let l = 0; l < e.length; l++) {
|
|
2439
2451
|
const s = e[l];
|
|
@@ -2441,7 +2453,7 @@ function pt(e, t, n = !1, r = !0) {
|
|
|
2441
2453
|
s,
|
|
2442
2454
|
-3
|
|
2443
2455
|
/* Unknown */
|
|
2444
|
-
) :
|
|
2456
|
+
) : he(s) ? Cn(s, t) : Z(s, t), l < e.length - 1 && (n ? (r && a(","), i()) : r && a(", "));
|
|
2445
2457
|
}
|
|
2446
2458
|
}
|
|
2447
2459
|
function Z(e, t) {
|
|
@@ -2453,7 +2465,7 @@ function Z(e, t) {
|
|
|
2453
2465
|
);
|
|
2454
2466
|
return;
|
|
2455
2467
|
}
|
|
2456
|
-
if (
|
|
2468
|
+
if (_n(e)) {
|
|
2457
2469
|
t.push(t.helper(e));
|
|
2458
2470
|
return;
|
|
2459
2471
|
}
|
|
@@ -2467,46 +2479,46 @@ function Z(e, t) {
|
|
|
2467
2479
|
), Z(e.codegenNode, t);
|
|
2468
2480
|
break;
|
|
2469
2481
|
case 2:
|
|
2470
|
-
|
|
2482
|
+
Io(e, t);
|
|
2471
2483
|
break;
|
|
2472
2484
|
case 4:
|
|
2473
|
-
|
|
2485
|
+
zs(e, t);
|
|
2474
2486
|
break;
|
|
2475
2487
|
case 5:
|
|
2476
|
-
|
|
2488
|
+
Co(e, t);
|
|
2477
2489
|
break;
|
|
2478
2490
|
case 12:
|
|
2479
2491
|
Z(e.codegenNode, t);
|
|
2480
2492
|
break;
|
|
2481
2493
|
case 8:
|
|
2482
|
-
|
|
2494
|
+
Qs(e, t);
|
|
2483
2495
|
break;
|
|
2484
2496
|
case 3:
|
|
2485
|
-
|
|
2497
|
+
Ao(e, t);
|
|
2486
2498
|
break;
|
|
2487
2499
|
case 13:
|
|
2488
|
-
|
|
2500
|
+
Do(e, t);
|
|
2489
2501
|
break;
|
|
2490
2502
|
case 14:
|
|
2491
|
-
|
|
2503
|
+
Mo(e, t);
|
|
2492
2504
|
break;
|
|
2493
2505
|
case 15:
|
|
2494
|
-
|
|
2506
|
+
Po(e, t);
|
|
2495
2507
|
break;
|
|
2496
2508
|
case 17:
|
|
2497
|
-
|
|
2509
|
+
Lo(e, t);
|
|
2498
2510
|
break;
|
|
2499
2511
|
case 18:
|
|
2500
|
-
|
|
2512
|
+
Vo(e, t);
|
|
2501
2513
|
break;
|
|
2502
2514
|
case 19:
|
|
2503
|
-
|
|
2515
|
+
ko(e, t);
|
|
2504
2516
|
break;
|
|
2505
2517
|
case 20:
|
|
2506
|
-
|
|
2518
|
+
wo(e, t);
|
|
2507
2519
|
break;
|
|
2508
2520
|
case 21:
|
|
2509
|
-
|
|
2521
|
+
ut(e.body, t, !0, !1);
|
|
2510
2522
|
break;
|
|
2511
2523
|
// SSR only types
|
|
2512
2524
|
case 22:
|
|
@@ -2527,10 +2539,10 @@ function Z(e, t) {
|
|
|
2527
2539
|
return sn(!1, `unhandled codegen node type: ${e.type}`), e;
|
|
2528
2540
|
}
|
|
2529
2541
|
}
|
|
2530
|
-
function
|
|
2542
|
+
function Io(e, t) {
|
|
2531
2543
|
t.push(JSON.stringify(e.content), -3, e);
|
|
2532
2544
|
}
|
|
2533
|
-
function
|
|
2545
|
+
function zs(e, t) {
|
|
2534
2546
|
const { content: n, isStatic: r } = e;
|
|
2535
2547
|
t.push(
|
|
2536
2548
|
r ? JSON.stringify(n) : n,
|
|
@@ -2538,11 +2550,11 @@ function Ys(e, t) {
|
|
|
2538
2550
|
e
|
|
2539
2551
|
);
|
|
2540
2552
|
}
|
|
2541
|
-
function
|
|
2553
|
+
function Co(e, t) {
|
|
2542
2554
|
const { push: n, helper: r, pure: a } = t;
|
|
2543
|
-
a && n(Jt), n(`${r(
|
|
2555
|
+
a && n(Jt), n(`${r(ct)}(`), Z(e.content, t), n(")");
|
|
2544
2556
|
}
|
|
2545
|
-
function
|
|
2557
|
+
function Qs(e, t) {
|
|
2546
2558
|
for (let n = 0; n < e.children.length; n++) {
|
|
2547
2559
|
const r = e.children[n];
|
|
2548
2560
|
j(r) ? t.push(
|
|
@@ -2552,17 +2564,17 @@ function qs(e, t) {
|
|
|
2552
2564
|
) : Z(r, t);
|
|
2553
2565
|
}
|
|
2554
2566
|
}
|
|
2555
|
-
function
|
|
2567
|
+
function bo(e, t) {
|
|
2556
2568
|
const { push: n } = t;
|
|
2557
2569
|
if (e.type === 8)
|
|
2558
|
-
n("["),
|
|
2570
|
+
n("["), Qs(e, t), n("]");
|
|
2559
2571
|
else if (e.isStatic) {
|
|
2560
|
-
const r =
|
|
2572
|
+
const r = _t(e.content) ? e.content : JSON.stringify(e.content);
|
|
2561
2573
|
n(r, -2, e);
|
|
2562
2574
|
} else
|
|
2563
2575
|
n(`[${e.content}]`, -3, e);
|
|
2564
2576
|
}
|
|
2565
|
-
function
|
|
2577
|
+
function Ao(e, t) {
|
|
2566
2578
|
const { push: n, helper: r, pure: a } = t;
|
|
2567
2579
|
a && n(Jt), n(
|
|
2568
2580
|
`${r(Qe)}(${JSON.stringify(e.content)})`,
|
|
@@ -2570,47 +2582,47 @@ function bo(e, t) {
|
|
|
2570
2582
|
e
|
|
2571
2583
|
);
|
|
2572
2584
|
}
|
|
2573
|
-
function
|
|
2585
|
+
function Do(e, t) {
|
|
2574
2586
|
const { push: n, helper: r, pure: a } = t, {
|
|
2575
2587
|
tag: i,
|
|
2576
2588
|
props: l,
|
|
2577
2589
|
children: s,
|
|
2578
2590
|
patchFlag: o,
|
|
2579
2591
|
dynamicProps: c,
|
|
2580
|
-
directives:
|
|
2581
|
-
isBlock:
|
|
2592
|
+
directives: p,
|
|
2593
|
+
isBlock: _,
|
|
2582
2594
|
disableTracking: u,
|
|
2583
2595
|
isComponent: d
|
|
2584
2596
|
} = e;
|
|
2585
|
-
let
|
|
2597
|
+
let E;
|
|
2586
2598
|
if (o)
|
|
2587
2599
|
if (process.env.NODE_ENV !== "production")
|
|
2588
2600
|
if (o < 0)
|
|
2589
|
-
|
|
2601
|
+
E = o + ` /* ${tt[o]} */`;
|
|
2590
2602
|
else {
|
|
2591
|
-
const
|
|
2592
|
-
|
|
2603
|
+
const v = Object.keys(tt).map(Number).filter((O) => O > 0 && o & O).map((O) => tt[O]).join(", ");
|
|
2604
|
+
E = o + ` /* ${v} */`;
|
|
2593
2605
|
}
|
|
2594
2606
|
else
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
const f =
|
|
2598
|
-
n(r(f) + "(", -2, e),
|
|
2599
|
-
|
|
2607
|
+
E = String(o);
|
|
2608
|
+
p && n(r(Ft) + "("), _ && n(`(${r(De)}(${u ? "true" : ""}), `), a && n(Jt);
|
|
2609
|
+
const f = _ ? Fe(t.inSSR, d) : xe(t.inSSR, d);
|
|
2610
|
+
n(r(f) + "(", -2, e), ut(
|
|
2611
|
+
Ro([i, l, s, E, c]),
|
|
2600
2612
|
t
|
|
2601
|
-
), n(")"),
|
|
2613
|
+
), n(")"), _ && n(")"), p && (n(", "), Z(p, t), n(")"));
|
|
2602
2614
|
}
|
|
2603
|
-
function
|
|
2615
|
+
function Ro(e) {
|
|
2604
2616
|
let t = e.length;
|
|
2605
2617
|
for (; t-- && e[t] == null; )
|
|
2606
2618
|
;
|
|
2607
2619
|
return e.slice(0, t + 1).map((n) => n || "null");
|
|
2608
2620
|
}
|
|
2609
|
-
function
|
|
2621
|
+
function Mo(e, t) {
|
|
2610
2622
|
const { push: n, helper: r, pure: a } = t, i = j(e.callee) ? e.callee : r(e.callee);
|
|
2611
|
-
a && n(Jt), n(i + "(", -2, e),
|
|
2623
|
+
a && n(Jt), n(i + "(", -2, e), ut(e.arguments, t), n(")");
|
|
2612
2624
|
}
|
|
2613
|
-
function
|
|
2625
|
+
function Po(e, t) {
|
|
2614
2626
|
const { push: n, indent: r, deindent: a, newline: i } = t, { properties: l } = e;
|
|
2615
2627
|
if (!l.length) {
|
|
2616
2628
|
n("{}", -2, e);
|
|
@@ -2619,39 +2631,39 @@ function Mo(e, t) {
|
|
|
2619
2631
|
const s = l.length > 1 || process.env.NODE_ENV !== "production" && l.some((o) => o.value.type !== 4);
|
|
2620
2632
|
n(s ? "{" : "{ "), s && r();
|
|
2621
2633
|
for (let o = 0; o < l.length; o++) {
|
|
2622
|
-
const { key: c, value:
|
|
2623
|
-
|
|
2634
|
+
const { key: c, value: p } = l[o];
|
|
2635
|
+
bo(c, t), n(": "), Z(p, t), o < l.length - 1 && (n(","), i());
|
|
2624
2636
|
}
|
|
2625
2637
|
s && a(), n(s ? "}" : " }");
|
|
2626
2638
|
}
|
|
2627
|
-
function Po(e, t) {
|
|
2628
|
-
On(e.elements, t);
|
|
2629
|
-
}
|
|
2630
2639
|
function Lo(e, t) {
|
|
2631
|
-
|
|
2632
|
-
c && n(`_${Xe[Kt]}(`), n("(", -2, e), ve(i) ? pt(i, t) : i && Z(i, t), n(") => "), (o || s) && (n("{"), r()), l ? (o && n("return "), ve(l) ? On(l, t) : Z(l, t)) : s && Z(s, t), (o || s) && (a(), n("}")), c && (e.isNonScopedSlot && n(", undefined, true"), n(")"));
|
|
2640
|
+
Cn(e.elements, t);
|
|
2633
2641
|
}
|
|
2634
2642
|
function Vo(e, t) {
|
|
2643
|
+
const { push: n, indent: r, deindent: a } = t, { params: i, returns: l, body: s, newline: o, isSlot: c } = e;
|
|
2644
|
+
c && n(`_${Xe[Kt]}(`), n("(", -2, e), he(i) ? ut(i, t) : i && Z(i, t), n(") => "), (o || s) && (n("{"), r()), l ? (o && n("return "), he(l) ? Cn(l, t) : Z(l, t)) : s && Z(s, t), (o || s) && (a(), n("}")), c && (e.isNonScopedSlot && n(", undefined, true"), n(")"));
|
|
2645
|
+
}
|
|
2646
|
+
function ko(e, t) {
|
|
2635
2647
|
const { test: n, consequent: r, alternate: a, newline: i } = e, { push: l, indent: s, deindent: o, newline: c } = t;
|
|
2636
2648
|
if (n.type === 4) {
|
|
2637
|
-
const
|
|
2638
|
-
|
|
2649
|
+
const _ = !_t(n.content);
|
|
2650
|
+
_ && l("("), zs(n, t), _ && l(")");
|
|
2639
2651
|
} else
|
|
2640
2652
|
l("("), Z(n, t), l(")");
|
|
2641
2653
|
i && s(), t.indentLevel++, i || l(" "), l("? "), Z(r, t), t.indentLevel--, i && c(), i || l(" "), l(": ");
|
|
2642
|
-
const
|
|
2643
|
-
|
|
2654
|
+
const p = a.type === 19;
|
|
2655
|
+
p || t.indentLevel++, Z(a, t), p || t.indentLevel--, i && o(
|
|
2644
2656
|
!0
|
|
2645
2657
|
/* without newline */
|
|
2646
2658
|
);
|
|
2647
2659
|
}
|
|
2648
|
-
function
|
|
2660
|
+
function wo(e, t) {
|
|
2649
2661
|
const { push: n, helper: r, indent: a, deindent: i, newline: l } = t, { needPauseTracking: s, needArraySpread: o } = e;
|
|
2650
|
-
o && n("[...("), n(`_cache[${e.index}] || (`), s && (a(), n(`${r(
|
|
2662
|
+
o && n("[...("), n(`_cache[${e.index}] || (`), s && (a(), n(`${r(rt)}(-1`), e.inVOnce && n(", true"), n("),"), l(), n("(")), n(`_cache[${e.index}] = `), Z(e.value, t), s && (n(`).cacheIndex = ${e.index},`), l(), n(`${r(rt)}(1),`), l(), n(`_cache[${e.index}]`), i()), n(")"), o && n(")]");
|
|
2651
2663
|
}
|
|
2652
|
-
const
|
|
2664
|
+
const Xo = new RegExp(
|
|
2653
2665
|
"\\b" + "arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b") + "\\b"
|
|
2654
|
-
),
|
|
2666
|
+
), Bo = /'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`/g;
|
|
2655
2667
|
function we(e, t, n = !1, r = !1) {
|
|
2656
2668
|
const a = e.content;
|
|
2657
2669
|
if (a.trim())
|
|
@@ -2661,7 +2673,7 @@ function we(e, t, n = !1, r = !1) {
|
|
|
2661
2673
|
);
|
|
2662
2674
|
} catch (i) {
|
|
2663
2675
|
let l = i.message;
|
|
2664
|
-
const s = a.replace(
|
|
2676
|
+
const s = a.replace(Bo, "").match(Xo);
|
|
2665
2677
|
s && (l = `avoid using JavaScript keyword as property name: "${s[0]}"`), t.onError(
|
|
2666
2678
|
P(
|
|
2667
2679
|
45,
|
|
@@ -2672,7 +2684,7 @@ function we(e, t, n = !1, r = !1) {
|
|
|
2672
2684
|
);
|
|
2673
2685
|
}
|
|
2674
2686
|
}
|
|
2675
|
-
const
|
|
2687
|
+
const Zs = (e, t) => {
|
|
2676
2688
|
if (e.type === 5)
|
|
2677
2689
|
e.content = Tt(
|
|
2678
2690
|
e.content,
|
|
@@ -2698,12 +2710,12 @@ const zs = (e, t) => {
|
|
|
2698
2710
|
function Tt(e, t, n = !1, r = !1, a = Object.create(t.identifiers)) {
|
|
2699
2711
|
return process.env.NODE_ENV !== "production" && we(e, t, n, r), e;
|
|
2700
2712
|
}
|
|
2701
|
-
function
|
|
2702
|
-
return j(e) ? e : e.type === 4 ? e.content : e.children.map(
|
|
2713
|
+
function er(e) {
|
|
2714
|
+
return j(e) ? e : e.type === 4 ? e.content : e.children.map(er).join("");
|
|
2703
2715
|
}
|
|
2704
|
-
const
|
|
2716
|
+
const xo = In(
|
|
2705
2717
|
/^(if|else|else-if)$/,
|
|
2706
|
-
(e, t, n) =>
|
|
2718
|
+
(e, t, n) => tr(e, t, n, (r, a, i) => {
|
|
2707
2719
|
const l = n.parent.children;
|
|
2708
2720
|
let s = l.indexOf(r), o = 0;
|
|
2709
2721
|
for (; s-- >= 0; ) {
|
|
@@ -2712,14 +2724,14 @@ const Bo = yn(
|
|
|
2712
2724
|
}
|
|
2713
2725
|
return () => {
|
|
2714
2726
|
if (i)
|
|
2715
|
-
r.codegenNode =
|
|
2727
|
+
r.codegenNode = zn(
|
|
2716
2728
|
a,
|
|
2717
2729
|
o,
|
|
2718
2730
|
n
|
|
2719
2731
|
);
|
|
2720
2732
|
else {
|
|
2721
|
-
const c =
|
|
2722
|
-
c.alternate =
|
|
2733
|
+
const c = Uo(r.codegenNode);
|
|
2734
|
+
c.alternate = zn(
|
|
2723
2735
|
a,
|
|
2724
2736
|
o + r.branches.length - 1,
|
|
2725
2737
|
n
|
|
@@ -2728,7 +2740,7 @@ const Bo = yn(
|
|
|
2728
2740
|
};
|
|
2729
2741
|
})
|
|
2730
2742
|
);
|
|
2731
|
-
function
|
|
2743
|
+
function tr(e, t, n, r) {
|
|
2732
2744
|
if (t.name !== "else" && (!t.exp || !t.exp.content.trim())) {
|
|
2733
2745
|
const a = t.exp ? t.exp.loc : e.loc;
|
|
2734
2746
|
n.onError(
|
|
@@ -2736,9 +2748,9 @@ function Zs(e, t, n, r) {
|
|
|
2736
2748
|
), t.exp = C("true", !1, a);
|
|
2737
2749
|
}
|
|
2738
2750
|
if (process.env.NODE_ENV !== "production" && t.exp && we(t.exp, n), t.name === "if") {
|
|
2739
|
-
const a =
|
|
2751
|
+
const a = qn(e, t), i = {
|
|
2740
2752
|
type: 9,
|
|
2741
|
-
loc:
|
|
2753
|
+
loc: fo(e.loc),
|
|
2742
2754
|
branches: [a]
|
|
2743
2755
|
};
|
|
2744
2756
|
if (n.replaceNode(i), r)
|
|
@@ -2760,12 +2772,12 @@ function Zs(e, t, n, r) {
|
|
|
2760
2772
|
t.name === "else-if" && s.branches[s.branches.length - 1].condition === void 0 && n.onError(
|
|
2761
2773
|
P(30, e.loc)
|
|
2762
2774
|
), n.removeNode();
|
|
2763
|
-
const o =
|
|
2775
|
+
const o = qn(e, t);
|
|
2764
2776
|
if (process.env.NODE_ENV !== "production" && i.length && // #3619 ignore comments if the v-if is direct child of <transition>
|
|
2765
2777
|
!(n.parent && n.parent.type === 1 && (n.parent.tag === "transition" || n.parent.tag === "Transition")) && (o.children = [...i, ...o.children]), process.env.NODE_ENV !== "production") {
|
|
2766
|
-
const
|
|
2767
|
-
|
|
2768
|
-
|
|
2778
|
+
const p = o.userKey;
|
|
2779
|
+
p && s.branches.forEach(({ userKey: _ }) => {
|
|
2780
|
+
Fo(_, p) && n.onError(
|
|
2769
2781
|
P(
|
|
2770
2782
|
29,
|
|
2771
2783
|
o.userKey.loc
|
|
@@ -2775,7 +2787,7 @@ function Zs(e, t, n, r) {
|
|
|
2775
2787
|
}
|
|
2776
2788
|
s.branches.push(o);
|
|
2777
2789
|
const c = r && r(s, o, !1);
|
|
2778
|
-
|
|
2790
|
+
pt(o, n), c && c(), n.currentNode = null;
|
|
2779
2791
|
} else
|
|
2780
2792
|
n.onError(
|
|
2781
2793
|
P(30, e.loc)
|
|
@@ -2784,7 +2796,7 @@ function Zs(e, t, n, r) {
|
|
|
2784
2796
|
}
|
|
2785
2797
|
}
|
|
2786
2798
|
}
|
|
2787
|
-
function
|
|
2799
|
+
function qn(e, t) {
|
|
2788
2800
|
const n = e.tagType === 3;
|
|
2789
2801
|
return {
|
|
2790
2802
|
type: 10,
|
|
@@ -2795,20 +2807,20 @@ function Jn(e, t) {
|
|
|
2795
2807
|
isTemplateIf: n
|
|
2796
2808
|
};
|
|
2797
2809
|
}
|
|
2798
|
-
function
|
|
2810
|
+
function zn(e, t, n) {
|
|
2799
2811
|
return e.condition ? Ct(
|
|
2800
2812
|
e.condition,
|
|
2801
|
-
|
|
2813
|
+
Qn(e, t, n),
|
|
2802
2814
|
// make sure to pass in asBlock: true so that the comment node call
|
|
2803
2815
|
// closes the current block.
|
|
2804
2816
|
$(n.helper(Qe), [
|
|
2805
2817
|
process.env.NODE_ENV !== "production" ? '"v-if"' : '""',
|
|
2806
2818
|
"true"
|
|
2807
2819
|
])
|
|
2808
|
-
) :
|
|
2820
|
+
) : Qn(e, t, n);
|
|
2809
2821
|
}
|
|
2810
|
-
function
|
|
2811
|
-
const { helper: r } = n, a =
|
|
2822
|
+
function Qn(e, t, n) {
|
|
2823
|
+
const { helper: r } = n, a = x(
|
|
2812
2824
|
"key",
|
|
2813
2825
|
C(
|
|
2814
2826
|
`${t}`,
|
|
@@ -2820,7 +2832,7 @@ function qn(e, t, n) {
|
|
|
2820
2832
|
if (i.length !== 1 || l.type !== 1)
|
|
2821
2833
|
if (i.length === 1 && l.type === 11) {
|
|
2822
2834
|
const o = l.codegenNode;
|
|
2823
|
-
return
|
|
2835
|
+
return at(o, a, n), o;
|
|
2824
2836
|
} else {
|
|
2825
2837
|
let o = 64;
|
|
2826
2838
|
return process.env.NODE_ENV !== "production" && !e.isTemplateIf && i.filter((c) => c.type !== 3).length === 1 && (o |= 2048), Je(
|
|
@@ -2838,11 +2850,11 @@ function qn(e, t, n) {
|
|
|
2838
2850
|
);
|
|
2839
2851
|
}
|
|
2840
2852
|
else {
|
|
2841
|
-
const o = l.codegenNode, c =
|
|
2842
|
-
return c.type === 13 && Gt(c, n),
|
|
2853
|
+
const o = l.codegenNode, c = Xs(o);
|
|
2854
|
+
return c.type === 13 && Gt(c, n), at(c, a, n), o;
|
|
2843
2855
|
}
|
|
2844
2856
|
}
|
|
2845
|
-
function
|
|
2857
|
+
function Fo(e, t) {
|
|
2846
2858
|
if (!e || e.type !== t.type)
|
|
2847
2859
|
return !1;
|
|
2848
2860
|
if (e.type === 6) {
|
|
@@ -2855,7 +2867,7 @@ function xo(e, t) {
|
|
|
2855
2867
|
}
|
|
2856
2868
|
return !0;
|
|
2857
2869
|
}
|
|
2858
|
-
function
|
|
2870
|
+
function Uo(e) {
|
|
2859
2871
|
for (; ; )
|
|
2860
2872
|
if (e.type === 19)
|
|
2861
2873
|
if (e.alternate.type === 19)
|
|
@@ -2864,7 +2876,7 @@ function Fo(e) {
|
|
|
2864
2876
|
return e;
|
|
2865
2877
|
else e.type === 20 && (e = e.value);
|
|
2866
2878
|
}
|
|
2867
|
-
const
|
|
2879
|
+
const nr = (e, t, n) => {
|
|
2868
2880
|
const { modifiers: r, loc: a } = e, i = e.arg;
|
|
2869
2881
|
let { exp: l } = e;
|
|
2870
2882
|
if (l && l.type === 4 && !l.content.trim() && (l = void 0), !l) {
|
|
@@ -2876,36 +2888,36 @@ const er = (e, t, n) => {
|
|
|
2876
2888
|
)
|
|
2877
2889
|
), {
|
|
2878
2890
|
props: [
|
|
2879
|
-
|
|
2891
|
+
x(i, C("", !0, a))
|
|
2880
2892
|
]
|
|
2881
2893
|
};
|
|
2882
|
-
|
|
2894
|
+
sr(e), l = e.exp;
|
|
2883
2895
|
}
|
|
2884
|
-
return i.type !== 4 ? (i.children.unshift("("), i.children.push(') || ""')) : i.isStatic || (i.content = `${i.content} || ""`), r.some((s) => s.content === "camel") && (i.type === 4 ? i.isStatic ? i.content = Ce(i.content) : i.content = `${n.helperString(Ot)}(${i.content})` : (i.children.unshift(`${n.helperString(Ot)}(`), i.children.push(")"))), n.inSSR || (r.some((s) => s.content === "prop") &&
|
|
2885
|
-
props: [
|
|
2896
|
+
return i.type !== 4 ? (i.children.unshift("("), i.children.push(') || ""')) : i.isStatic || (i.content = i.content ? `${i.content} || ""` : '""'), r.some((s) => s.content === "camel") && (i.type === 4 ? i.isStatic ? i.content = Ce(i.content) : i.content = `${n.helperString(Ot)}(${i.content})` : (i.children.unshift(`${n.helperString(Ot)}(`), i.children.push(")"))), n.inSSR || (r.some((s) => s.content === "prop") && Zn(i, "."), r.some((s) => s.content === "attr") && Zn(i, "^")), {
|
|
2897
|
+
props: [x(i, l)]
|
|
2886
2898
|
};
|
|
2887
|
-
},
|
|
2899
|
+
}, sr = (e, t) => {
|
|
2888
2900
|
const n = e.arg, r = Ce(n.content);
|
|
2889
2901
|
e.exp = C(r, !1, n.loc);
|
|
2890
|
-
},
|
|
2902
|
+
}, Zn = (e, t) => {
|
|
2891
2903
|
e.type === 4 ? e.isStatic ? e.content = t + e.content : e.content = `\`${t}\${${e.content}}\`` : (e.children.unshift(`'${t}' + (`), e.children.push(")"));
|
|
2892
|
-
},
|
|
2904
|
+
}, $o = In(
|
|
2893
2905
|
"for",
|
|
2894
2906
|
(e, t, n) => {
|
|
2895
2907
|
const { helper: r, removeHelper: a } = n;
|
|
2896
|
-
return
|
|
2908
|
+
return rr(e, t, n, (i) => {
|
|
2897
2909
|
const l = $(r(Ut), [
|
|
2898
2910
|
i.source
|
|
2899
2911
|
]), s = qe(e), o = Q(e, "memo"), c = Ye(e, "key", !1, !0);
|
|
2900
|
-
c && c.type === 7 && !c.exp &&
|
|
2901
|
-
let
|
|
2902
|
-
const u = c &&
|
|
2912
|
+
c && c.type === 7 && !c.exp && sr(c);
|
|
2913
|
+
let _ = c && (c.type === 6 ? c.value ? C(c.value.content, !0) : void 0 : c.exp);
|
|
2914
|
+
const u = c && _ ? x("key", _) : null, d = i.source.type === 4 && i.source.constType > 0, E = d ? 64 : c ? 128 : 256;
|
|
2903
2915
|
return i.codegenNode = Je(
|
|
2904
2916
|
n,
|
|
2905
2917
|
r(We),
|
|
2906
2918
|
void 0,
|
|
2907
2919
|
l,
|
|
2908
|
-
|
|
2920
|
+
E,
|
|
2909
2921
|
void 0,
|
|
2910
2922
|
void 0,
|
|
2911
2923
|
!0,
|
|
@@ -2914,7 +2926,7 @@ const er = (e, t, n) => {
|
|
|
2914
2926
|
e.loc
|
|
2915
2927
|
), () => {
|
|
2916
2928
|
let f;
|
|
2917
|
-
const { children:
|
|
2929
|
+
const { children: v } = i;
|
|
2918
2930
|
process.env.NODE_ENV !== "production" && s && e.children.some((w) => {
|
|
2919
2931
|
if (w.type === 1) {
|
|
2920
2932
|
const se = Ye(w, "key");
|
|
@@ -2927,8 +2939,8 @@ const er = (e, t, n) => {
|
|
|
2927
2939
|
), !0;
|
|
2928
2940
|
}
|
|
2929
2941
|
});
|
|
2930
|
-
const O =
|
|
2931
|
-
if (y ? (f = y.codegenNode, s && u &&
|
|
2942
|
+
const O = v.length !== 1 || v[0].type !== 1, y = ot(e) ? e : s && e.children.length === 1 && ot(e.children[0]) ? e.children[0] : null;
|
|
2943
|
+
if (y ? (f = y.codegenNode, s && u && at(f, u, n)) : O ? f = Je(
|
|
2932
2944
|
n,
|
|
2933
2945
|
r(We),
|
|
2934
2946
|
u ? _e([u]) : void 0,
|
|
@@ -2939,7 +2951,7 @@ const er = (e, t, n) => {
|
|
|
2939
2951
|
!0,
|
|
2940
2952
|
void 0,
|
|
2941
2953
|
!1
|
|
2942
|
-
) : (f =
|
|
2954
|
+
) : (f = v[0].codegenNode, s && u && at(f, u, n), f.isBlock !== !d && (f.isBlock ? (a(De), a(
|
|
2943
2955
|
Fe(n.inSSR, f.isComponent)
|
|
2944
2956
|
)) : a(
|
|
2945
2957
|
xe(n.inSSR, f.isComponent)
|
|
@@ -2949,13 +2961,13 @@ const er = (e, t, n) => {
|
|
|
2949
2961
|
C("_cached")
|
|
2950
2962
|
])
|
|
2951
2963
|
);
|
|
2952
|
-
w.body =
|
|
2964
|
+
w.body = Os([
|
|
2953
2965
|
de(["const _memo = (", o.exp, ")"]),
|
|
2954
2966
|
de([
|
|
2955
2967
|
"if (_cached",
|
|
2956
|
-
...
|
|
2968
|
+
..._ ? [" && _cached.key === ", _] : [],
|
|
2957
2969
|
` && ${n.helperString(
|
|
2958
|
-
|
|
2970
|
+
Nn
|
|
2959
2971
|
)}(_cached, _memo)) return _cached`
|
|
2960
2972
|
]),
|
|
2961
2973
|
de(["const _item = ", f]),
|
|
@@ -2978,7 +2990,7 @@ const er = (e, t, n) => {
|
|
|
2978
2990
|
});
|
|
2979
2991
|
}
|
|
2980
2992
|
);
|
|
2981
|
-
function
|
|
2993
|
+
function rr(e, t, n, r) {
|
|
2982
2994
|
if (!t.exp) {
|
|
2983
2995
|
n.onError(
|
|
2984
2996
|
P(31, t.loc)
|
|
@@ -2992,14 +3004,14 @@ function nr(e, t, n, r) {
|
|
|
2992
3004
|
);
|
|
2993
3005
|
return;
|
|
2994
3006
|
}
|
|
2995
|
-
|
|
2996
|
-
const { addIdentifiers: i, removeIdentifiers: l, scopes: s } = n, { source: o, value: c, key:
|
|
3007
|
+
bn(a, n);
|
|
3008
|
+
const { addIdentifiers: i, removeIdentifiers: l, scopes: s } = n, { source: o, value: c, key: p, index: _ } = a, u = {
|
|
2997
3009
|
type: 11,
|
|
2998
3010
|
loc: t.loc,
|
|
2999
3011
|
source: o,
|
|
3000
3012
|
valueAlias: c,
|
|
3001
|
-
keyAlias:
|
|
3002
|
-
objectIndexAlias:
|
|
3013
|
+
keyAlias: p,
|
|
3014
|
+
objectIndexAlias: _,
|
|
3003
3015
|
parseResult: a,
|
|
3004
3016
|
children: qe(e) ? e.children : [e]
|
|
3005
3017
|
};
|
|
@@ -3009,7 +3021,7 @@ function nr(e, t, n, r) {
|
|
|
3009
3021
|
s.vFor--, d && d();
|
|
3010
3022
|
};
|
|
3011
3023
|
}
|
|
3012
|
-
function
|
|
3024
|
+
function bn(e, t) {
|
|
3013
3025
|
e.finalized || (process.env.NODE_ENV !== "production" && (we(e.source, t), e.key && we(
|
|
3014
3026
|
e.key,
|
|
3015
3027
|
t,
|
|
@@ -3025,15 +3037,15 @@ function In(e, t) {
|
|
|
3025
3037
|
)), e.finalized = !0);
|
|
3026
3038
|
}
|
|
3027
3039
|
function At({ value: e, key: t, index: n }, r = []) {
|
|
3028
|
-
return
|
|
3040
|
+
return jo([e, t, n, ...r]);
|
|
3029
3041
|
}
|
|
3030
|
-
function
|
|
3042
|
+
function jo(e) {
|
|
3031
3043
|
let t = e.length;
|
|
3032
3044
|
for (; t-- && !e[t]; )
|
|
3033
3045
|
;
|
|
3034
3046
|
return e.slice(0, t + 1).map((n, r) => n || C("_".repeat(r + 1), !1));
|
|
3035
3047
|
}
|
|
3036
|
-
const
|
|
3048
|
+
const es = C("undefined", !1), ir = (e, t) => {
|
|
3037
3049
|
if (e.type === 1 && (e.tagType === 1 || e.tagType === 3)) {
|
|
3038
3050
|
const n = Q(e, "slot");
|
|
3039
3051
|
if (n)
|
|
@@ -3041,47 +3053,47 @@ const Qn = C("undefined", !1), sr = (e, t) => {
|
|
|
3041
3053
|
t.scopes.vSlot--;
|
|
3042
3054
|
};
|
|
3043
3055
|
}
|
|
3044
|
-
},
|
|
3056
|
+
}, Ho = (e, t) => {
|
|
3045
3057
|
let n;
|
|
3046
|
-
if (qe(e) && e.props.some(
|
|
3058
|
+
if (qe(e) && e.props.some(Tn) && (n = Q(e, "for"))) {
|
|
3047
3059
|
const r = n.forParseResult;
|
|
3048
3060
|
if (r) {
|
|
3049
|
-
|
|
3061
|
+
bn(r, t);
|
|
3050
3062
|
const { value: a, key: i, index: l } = r, { addIdentifiers: s, removeIdentifiers: o } = t;
|
|
3051
3063
|
return a && s(a), i && s(i), l && s(l), () => {
|
|
3052
3064
|
a && o(a), i && o(i), l && o(l);
|
|
3053
3065
|
};
|
|
3054
3066
|
}
|
|
3055
3067
|
}
|
|
3056
|
-
},
|
|
3068
|
+
}, Ko = (e, t, n, r) => Be(
|
|
3057
3069
|
e,
|
|
3058
3070
|
n,
|
|
3059
3071
|
!1,
|
|
3060
3072
|
!0,
|
|
3061
3073
|
n.length ? n[0].loc : r
|
|
3062
3074
|
);
|
|
3063
|
-
function
|
|
3075
|
+
function or(e, t, n = Ko) {
|
|
3064
3076
|
t.helper(Kt);
|
|
3065
3077
|
const { children: r, loc: a } = e, i = [], l = [];
|
|
3066
3078
|
let s = t.scopes.vSlot > 0 || t.scopes.vFor > 0;
|
|
3067
3079
|
const o = Q(e, "slot", !0);
|
|
3068
3080
|
if (o) {
|
|
3069
|
-
const { arg:
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3081
|
+
const { arg: v, exp: O } = o;
|
|
3082
|
+
v && !ne(v) && (s = !0), i.push(
|
|
3083
|
+
x(
|
|
3084
|
+
v || C("default", !0),
|
|
3073
3085
|
n(O, void 0, r, a)
|
|
3074
3086
|
)
|
|
3075
3087
|
);
|
|
3076
3088
|
}
|
|
3077
|
-
let c = !1,
|
|
3078
|
-
const
|
|
3089
|
+
let c = !1, p = !1;
|
|
3090
|
+
const _ = [], u = /* @__PURE__ */ new Set();
|
|
3079
3091
|
let d = 0;
|
|
3080
|
-
for (let
|
|
3081
|
-
const O = r[
|
|
3092
|
+
for (let v = 0; v < r.length; v++) {
|
|
3093
|
+
const O = r[v];
|
|
3082
3094
|
let y;
|
|
3083
3095
|
if (!qe(O) || !(y = Q(O, "slot", !0))) {
|
|
3084
|
-
O.type !== 3 &&
|
|
3096
|
+
O.type !== 3 && _.push(O);
|
|
3085
3097
|
continue;
|
|
3086
3098
|
}
|
|
3087
3099
|
if (o) {
|
|
@@ -3092,57 +3104,57 @@ function rr(e, t, n = Ho) {
|
|
|
3092
3104
|
}
|
|
3093
3105
|
c = !0;
|
|
3094
3106
|
const { children: w, loc: se } = O, {
|
|
3095
|
-
arg:
|
|
3096
|
-
exp:
|
|
3107
|
+
arg: F = C("default", !0),
|
|
3108
|
+
exp: re,
|
|
3097
3109
|
loc: X
|
|
3098
3110
|
} = y;
|
|
3099
3111
|
let b;
|
|
3100
|
-
ne(
|
|
3101
|
-
const I = Q(O, "for"), m = n(
|
|
3102
|
-
let S,
|
|
3112
|
+
ne(F) ? b = F ? F.content : "default" : s = !0;
|
|
3113
|
+
const I = Q(O, "for"), m = n(re, I, w, se);
|
|
3114
|
+
let S, N;
|
|
3103
3115
|
if (S = Q(O, "if"))
|
|
3104
3116
|
s = !0, l.push(
|
|
3105
3117
|
Ct(
|
|
3106
3118
|
S.exp,
|
|
3107
|
-
|
|
3108
|
-
|
|
3119
|
+
mt(F, m, d++),
|
|
3120
|
+
es
|
|
3109
3121
|
)
|
|
3110
3122
|
);
|
|
3111
|
-
else if (
|
|
3123
|
+
else if (N = Q(
|
|
3112
3124
|
O,
|
|
3113
3125
|
/^else(-if)?$/,
|
|
3114
3126
|
!0
|
|
3115
3127
|
/* allowEmpty */
|
|
3116
3128
|
)) {
|
|
3117
|
-
let g =
|
|
3118
|
-
for (; g-- && (T = r[g], T.type
|
|
3129
|
+
let g = v, T;
|
|
3130
|
+
for (; g-- && (T = r[g], !(T.type !== 3 && ln(T))); )
|
|
3119
3131
|
;
|
|
3120
3132
|
if (T && qe(T) && Q(T, /^(else-)?if$/)) {
|
|
3121
3133
|
let A = l[l.length - 1];
|
|
3122
3134
|
for (; A.alternate.type === 19; )
|
|
3123
3135
|
A = A.alternate;
|
|
3124
|
-
A.alternate =
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3136
|
+
A.alternate = N.exp ? Ct(
|
|
3137
|
+
N.exp,
|
|
3138
|
+
mt(
|
|
3139
|
+
F,
|
|
3128
3140
|
m,
|
|
3129
3141
|
d++
|
|
3130
3142
|
),
|
|
3131
|
-
|
|
3132
|
-
) :
|
|
3143
|
+
es
|
|
3144
|
+
) : mt(F, m, d++);
|
|
3133
3145
|
} else
|
|
3134
3146
|
t.onError(
|
|
3135
|
-
P(30,
|
|
3147
|
+
P(30, N.loc)
|
|
3136
3148
|
);
|
|
3137
3149
|
} else if (I) {
|
|
3138
3150
|
s = !0;
|
|
3139
3151
|
const g = I.forParseResult;
|
|
3140
|
-
g ? (
|
|
3152
|
+
g ? (bn(g, t), l.push(
|
|
3141
3153
|
$(t.helper(Ut), [
|
|
3142
3154
|
g.source,
|
|
3143
3155
|
Be(
|
|
3144
3156
|
At(g),
|
|
3145
|
-
|
|
3157
|
+
mt(F, m),
|
|
3146
3158
|
!0
|
|
3147
3159
|
)
|
|
3148
3160
|
])
|
|
@@ -3163,44 +3175,44 @@ function rr(e, t, n = Ho) {
|
|
|
3163
3175
|
);
|
|
3164
3176
|
continue;
|
|
3165
3177
|
}
|
|
3166
|
-
u.add(b), b === "default" && (
|
|
3178
|
+
u.add(b), b === "default" && (p = !0);
|
|
3167
3179
|
}
|
|
3168
|
-
i.push(F
|
|
3180
|
+
i.push(x(F, m));
|
|
3169
3181
|
}
|
|
3170
3182
|
}
|
|
3171
3183
|
if (!o) {
|
|
3172
|
-
const
|
|
3184
|
+
const v = (O, y) => {
|
|
3173
3185
|
const w = n(O, void 0, y, a);
|
|
3174
|
-
return t.compatConfig && (w.isNonScopedSlot = !0),
|
|
3186
|
+
return t.compatConfig && (w.isNonScopedSlot = !0), x("default", w);
|
|
3175
3187
|
};
|
|
3176
|
-
c ?
|
|
3188
|
+
c ? _.length && // #3766
|
|
3177
3189
|
// with whitespace: 'preserve', whitespaces between slots will end up in
|
|
3178
3190
|
// implicitDefaultChildren. Ignore if all implicit children are whitespaces.
|
|
3179
|
-
|
|
3191
|
+
_.some((O) => ln(O)) && (p ? t.onError(
|
|
3180
3192
|
P(
|
|
3181
3193
|
39,
|
|
3182
|
-
|
|
3194
|
+
_[0].loc
|
|
3183
3195
|
)
|
|
3184
3196
|
) : i.push(
|
|
3185
|
-
|
|
3186
|
-
)) : i.push(
|
|
3197
|
+
v(void 0, _)
|
|
3198
|
+
)) : i.push(v(void 0, r));
|
|
3187
3199
|
}
|
|
3188
|
-
const
|
|
3200
|
+
const E = s ? 2 : yt(e.children) ? 3 : 1;
|
|
3189
3201
|
let f = _e(
|
|
3190
3202
|
i.concat(
|
|
3191
|
-
|
|
3203
|
+
x(
|
|
3192
3204
|
"_",
|
|
3193
3205
|
// 2 = compiled but dynamic = can skip normalization, but must run diff
|
|
3194
3206
|
// 1 = compiled and static = can skip normalization AND diff as optimized
|
|
3195
3207
|
C(
|
|
3196
|
-
|
|
3208
|
+
E + (process.env.NODE_ENV !== "production" ? ` /* ${ui[E]} */` : ""),
|
|
3197
3209
|
!1
|
|
3198
3210
|
)
|
|
3199
3211
|
)
|
|
3200
3212
|
),
|
|
3201
3213
|
a
|
|
3202
3214
|
);
|
|
3203
|
-
return l.length && (f = $(t.helper(
|
|
3215
|
+
return l.length && (f = $(t.helper(En), [
|
|
3204
3216
|
f,
|
|
3205
3217
|
be(l)
|
|
3206
3218
|
])), {
|
|
@@ -3208,13 +3220,13 @@ function rr(e, t, n = Ho) {
|
|
|
3208
3220
|
hasDynamicSlots: s
|
|
3209
3221
|
};
|
|
3210
3222
|
}
|
|
3211
|
-
function
|
|
3223
|
+
function mt(e, t, n) {
|
|
3212
3224
|
const r = [
|
|
3213
|
-
|
|
3214
|
-
|
|
3225
|
+
x("name", e),
|
|
3226
|
+
x("fn", t)
|
|
3215
3227
|
];
|
|
3216
3228
|
return n != null && r.push(
|
|
3217
|
-
|
|
3229
|
+
x("key", C(String(n), !0))
|
|
3218
3230
|
), _e(r);
|
|
3219
3231
|
}
|
|
3220
3232
|
function yt(e) {
|
|
@@ -3236,16 +3248,16 @@ function yt(e) {
|
|
|
3236
3248
|
}
|
|
3237
3249
|
return !1;
|
|
3238
3250
|
}
|
|
3239
|
-
function
|
|
3240
|
-
return e.type !== 2 && e.type !== 12 ? !0 : e.type === 2 ? !!e.content.trim() :
|
|
3251
|
+
function ln(e) {
|
|
3252
|
+
return e.type !== 2 && e.type !== 12 ? !0 : e.type === 2 ? !!e.content.trim() : ln(e.content);
|
|
3241
3253
|
}
|
|
3242
|
-
const
|
|
3254
|
+
const ar = /* @__PURE__ */ new WeakMap(), lr = (e, t) => function() {
|
|
3243
3255
|
if (e = t.currentNode, !(e.type === 1 && (e.tagType === 0 || e.tagType === 1)))
|
|
3244
3256
|
return;
|
|
3245
3257
|
const { tag: r, props: a } = e, i = e.tagType === 1;
|
|
3246
|
-
let l = i ?
|
|
3247
|
-
const s =
|
|
3248
|
-
let o, c,
|
|
3258
|
+
let l = i ? cr(e, t) : `"${r}"`;
|
|
3259
|
+
const s = hs(l) && l.callee === Xt;
|
|
3260
|
+
let o, c, p = 0, _, u, d, E = (
|
|
3249
3261
|
// dynamic component may resolve to plain elements
|
|
3250
3262
|
s || l === Ke || l === Pt || !i && // <svg> and <foreignObject> must be forced into blocks so that block
|
|
3251
3263
|
// updates inside get proper isSVG flag at runtime. (#639, #643)
|
|
@@ -3254,21 +3266,21 @@ const or = /* @__PURE__ */ new WeakMap(), ar = (e, t) => function() {
|
|
|
3254
3266
|
(r === "svg" || r === "foreignObject" || r === "math")
|
|
3255
3267
|
);
|
|
3256
3268
|
if (a.length > 0) {
|
|
3257
|
-
const f =
|
|
3269
|
+
const f = An(
|
|
3258
3270
|
e,
|
|
3259
3271
|
t,
|
|
3260
3272
|
void 0,
|
|
3261
3273
|
i,
|
|
3262
3274
|
s
|
|
3263
3275
|
);
|
|
3264
|
-
o = f.props,
|
|
3265
|
-
const
|
|
3266
|
-
d =
|
|
3267
|
-
|
|
3268
|
-
) : void 0, f.shouldUseBlock && (
|
|
3276
|
+
o = f.props, p = f.patchFlag, u = f.dynamicPropNames;
|
|
3277
|
+
const v = f.directives;
|
|
3278
|
+
d = v && v.length ? be(
|
|
3279
|
+
v.map((O) => _r(O, t))
|
|
3280
|
+
) : void 0, f.shouldUseBlock && (E = !0);
|
|
3269
3281
|
}
|
|
3270
3282
|
if (e.children.length > 0)
|
|
3271
|
-
if (l ===
|
|
3283
|
+
if (l === nt && (E = !0, p |= 1024, process.env.NODE_ENV !== "production" && e.children.length > 1 && t.onError(
|
|
3272
3284
|
P(46, {
|
|
3273
3285
|
start: e.children[0].loc.start,
|
|
3274
3286
|
end: e.children[e.children.length - 1].loc.end,
|
|
@@ -3276,31 +3288,31 @@ const or = /* @__PURE__ */ new WeakMap(), ar = (e, t) => function() {
|
|
|
3276
3288
|
})
|
|
3277
3289
|
)), i && // Teleport is not a real component and has dedicated runtime handling
|
|
3278
3290
|
l !== Ke && // explained above.
|
|
3279
|
-
l !==
|
|
3280
|
-
const { slots:
|
|
3281
|
-
c =
|
|
3291
|
+
l !== nt) {
|
|
3292
|
+
const { slots: v, hasDynamicSlots: O } = or(e, t);
|
|
3293
|
+
c = v, O && (p |= 1024);
|
|
3282
3294
|
} else if (e.children.length === 1 && l !== Ke) {
|
|
3283
|
-
const
|
|
3284
|
-
y &&
|
|
3295
|
+
const v = e.children[0], O = v.type, y = O === 5 || O === 8;
|
|
3296
|
+
y && le(v, t) === 0 && (p |= 1), y || O === 2 ? c = v : c = e.children;
|
|
3285
3297
|
} else
|
|
3286
3298
|
c = e.children;
|
|
3287
|
-
u && u.length && (
|
|
3299
|
+
u && u.length && (_ = Go(u)), e.codegenNode = Je(
|
|
3288
3300
|
t,
|
|
3289
3301
|
l,
|
|
3290
3302
|
o,
|
|
3291
3303
|
c,
|
|
3292
|
-
|
|
3293
|
-
|
|
3304
|
+
p === 0 ? void 0 : p,
|
|
3305
|
+
_,
|
|
3294
3306
|
d,
|
|
3295
|
-
!!
|
|
3307
|
+
!!E,
|
|
3296
3308
|
!1,
|
|
3297
3309
|
i,
|
|
3298
3310
|
e.loc
|
|
3299
3311
|
);
|
|
3300
3312
|
};
|
|
3301
|
-
function
|
|
3313
|
+
function cr(e, t, n = !1) {
|
|
3302
3314
|
let { tag: r } = e;
|
|
3303
|
-
const a =
|
|
3315
|
+
const a = cn(r), i = Ye(
|
|
3304
3316
|
e,
|
|
3305
3317
|
"is",
|
|
3306
3318
|
!1,
|
|
@@ -3318,80 +3330,80 @@ function lr(e, t, n = !1) {
|
|
|
3318
3330
|
s
|
|
3319
3331
|
]);
|
|
3320
3332
|
} else i.type === 6 && i.value.content.startsWith("vue:") && (r = i.value.content.slice(4));
|
|
3321
|
-
const l =
|
|
3333
|
+
const l = gn(r) || t.isBuiltInComponent(r);
|
|
3322
3334
|
return l ? (n || t.helper(l), l) : (t.helper(wt), t.components.add(r), ze(r, "component"));
|
|
3323
3335
|
}
|
|
3324
|
-
function
|
|
3336
|
+
function An(e, t, n = e.props, r, a, i = !1) {
|
|
3325
3337
|
const { tag: l, loc: s, children: o } = e;
|
|
3326
3338
|
let c = [];
|
|
3327
|
-
const
|
|
3328
|
-
let d = !1,
|
|
3329
|
-
const
|
|
3330
|
-
c.length && (
|
|
3331
|
-
_e(
|
|
3332
|
-
), c = []), m &&
|
|
3339
|
+
const p = [], _ = [], u = o.length > 0;
|
|
3340
|
+
let d = !1, E = 0, f = !1, v = !1, O = !1, y = !1, w = !1, se = !1;
|
|
3341
|
+
const F = [], re = (m) => {
|
|
3342
|
+
c.length && (p.push(
|
|
3343
|
+
_e(ts(c), s)
|
|
3344
|
+
), c = []), m && p.push(m);
|
|
3333
3345
|
}, X = () => {
|
|
3334
3346
|
t.scopes.vFor > 0 && c.push(
|
|
3335
|
-
|
|
3347
|
+
x(
|
|
3336
3348
|
C("ref_for", !0),
|
|
3337
3349
|
C("true")
|
|
3338
3350
|
)
|
|
3339
3351
|
);
|
|
3340
3352
|
}, b = ({ key: m, value: S }) => {
|
|
3341
3353
|
if (ne(m)) {
|
|
3342
|
-
const
|
|
3354
|
+
const N = m.content, g = tn(N);
|
|
3343
3355
|
if (g && (!r || a) && // omit the flag for click handlers because hydration gives click
|
|
3344
3356
|
// dedicated fast path.
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3357
|
+
N.toLowerCase() !== "onclick" && // omit v-model handlers
|
|
3358
|
+
N !== "onUpdate:modelValue" && // omit onVnodeXXX hooks
|
|
3359
|
+
!$n(N) && (y = !0), g && $n(N) && (se = !0), g && S.type === 14 && (S = S.arguments[0]), S.type === 20 || (S.type === 4 || S.type === 8) && le(S, t) > 0)
|
|
3348
3360
|
return;
|
|
3349
|
-
|
|
3361
|
+
N === "ref" ? f = !0 : N === "class" ? v = !0 : N === "style" ? O = !0 : N !== "key" && !F.includes(N) && F.push(N), r && (N === "class" || N === "style") && !F.includes(N) && F.push(N);
|
|
3350
3362
|
} else
|
|
3351
3363
|
w = !0;
|
|
3352
3364
|
};
|
|
3353
3365
|
for (let m = 0; m < n.length; m++) {
|
|
3354
3366
|
const S = n[m];
|
|
3355
3367
|
if (S.type === 6) {
|
|
3356
|
-
const { loc:
|
|
3368
|
+
const { loc: N, name: g, nameLoc: T, value: A } = S;
|
|
3357
3369
|
let M = !0;
|
|
3358
|
-
if (g === "ref" && (f = !0, X()), g === "is" && (
|
|
3370
|
+
if (g === "ref" && (f = !0, X()), g === "is" && (cn(l) || A && A.content.startsWith("vue:") || Ae(
|
|
3359
3371
|
"COMPILER_IS_ON_ELEMENT",
|
|
3360
3372
|
t
|
|
3361
3373
|
)))
|
|
3362
3374
|
continue;
|
|
3363
3375
|
c.push(
|
|
3364
|
-
|
|
3376
|
+
x(
|
|
3365
3377
|
C(g, !0, T),
|
|
3366
3378
|
C(
|
|
3367
3379
|
A ? A.content : "",
|
|
3368
3380
|
M,
|
|
3369
|
-
A ? A.loc :
|
|
3381
|
+
A ? A.loc : N
|
|
3370
3382
|
)
|
|
3371
3383
|
)
|
|
3372
3384
|
);
|
|
3373
3385
|
} else {
|
|
3374
|
-
const { name:
|
|
3375
|
-
if (
|
|
3386
|
+
const { name: N, arg: g, exp: T, loc: A, modifiers: M } = S, ee = N === "bind", q = N === "on";
|
|
3387
|
+
if (N === "slot") {
|
|
3376
3388
|
r || t.onError(
|
|
3377
3389
|
P(40, A)
|
|
3378
3390
|
);
|
|
3379
3391
|
continue;
|
|
3380
3392
|
}
|
|
3381
|
-
if (
|
|
3393
|
+
if (N === "once" || N === "memo" || N === "is" || ee && ve(g, "is") && (cn(l) || Ae(
|
|
3382
3394
|
"COMPILER_IS_ON_ELEMENT",
|
|
3383
3395
|
t
|
|
3384
3396
|
)) || q && i)
|
|
3385
3397
|
continue;
|
|
3386
3398
|
if (
|
|
3387
3399
|
// #938: elements with dynamic keys should be forced into blocks
|
|
3388
|
-
(ee &&
|
|
3400
|
+
(ee && ve(g, "key") || // inline before-update hooks need to force block so that it is invoked
|
|
3389
3401
|
// before children
|
|
3390
|
-
q && u &&
|
|
3402
|
+
q && u && ve(g, "vue:before-update")) && (d = !0), ee && ve(g, "ref") && X(), !g && (ee || q)
|
|
3391
3403
|
) {
|
|
3392
3404
|
if (w = !0, T)
|
|
3393
3405
|
if (ee) {
|
|
3394
|
-
if (
|
|
3406
|
+
if (re(), process.env.NODE_ENV !== "production" && p.some((pe) => pe.type === 15 ? pe.properties.some(({ key: Re }) => Re.type !== 4 || !Re.isStatic ? !0 : Re.content !== "class" && Re.content !== "style" && !tn(Re.content)) : !0) && Ue(
|
|
3395
3407
|
"COMPILER_V_BIND_OBJECT_ORDER",
|
|
3396
3408
|
t,
|
|
3397
3409
|
A
|
|
@@ -3399,12 +3411,12 @@ function Cn(e, t, n = e.props, r, a, i = !1) {
|
|
|
3399
3411
|
"COMPILER_V_BIND_OBJECT_ORDER",
|
|
3400
3412
|
t
|
|
3401
3413
|
)) {
|
|
3402
|
-
|
|
3414
|
+
p.unshift(T);
|
|
3403
3415
|
continue;
|
|
3404
3416
|
}
|
|
3405
|
-
|
|
3417
|
+
X(), re(), p.push(T);
|
|
3406
3418
|
} else
|
|
3407
|
-
|
|
3419
|
+
re({
|
|
3408
3420
|
type: 14,
|
|
3409
3421
|
loc: A,
|
|
3410
3422
|
callee: t.helper(Ht),
|
|
@@ -3419,32 +3431,32 @@ function Cn(e, t, n = e.props, r, a, i = !1) {
|
|
|
3419
3431
|
);
|
|
3420
3432
|
continue;
|
|
3421
3433
|
}
|
|
3422
|
-
ee && M.some((H) => H.content === "prop") && (
|
|
3423
|
-
const Te = t.directiveTransforms[
|
|
3434
|
+
ee && M.some((H) => H.content === "prop") && (E |= 32);
|
|
3435
|
+
const Te = t.directiveTransforms[N];
|
|
3424
3436
|
if (Te) {
|
|
3425
3437
|
const { props: H, needRuntime: pe } = Te(S, e, t);
|
|
3426
|
-
!i && H.forEach(b), q && g && !ne(g) ?
|
|
3427
|
-
} else
|
|
3438
|
+
!i && H.forEach(b), q && g && !ne(g) ? re(_e(H, s)) : c.push(...H), pe && (_.push(S), _n(pe) && ar.set(S, pe));
|
|
3439
|
+
} else pi(N) || (_.push(S), u && (d = !0));
|
|
3428
3440
|
}
|
|
3429
3441
|
}
|
|
3430
3442
|
let I;
|
|
3431
|
-
if (
|
|
3432
|
-
t.helper(
|
|
3433
|
-
|
|
3443
|
+
if (p.length ? (re(), p.length > 1 ? I = $(
|
|
3444
|
+
t.helper(st),
|
|
3445
|
+
p,
|
|
3434
3446
|
s
|
|
3435
|
-
) : I =
|
|
3436
|
-
|
|
3447
|
+
) : I = p[0]) : c.length && (I = _e(
|
|
3448
|
+
ts(c),
|
|
3437
3449
|
s
|
|
3438
|
-
)), w ?
|
|
3450
|
+
)), w ? E |= 16 : (v && !r && (E |= 2), O && !r && (E |= 4), F.length && (E |= 8), y && (E |= 32)), !d && (E === 0 || E === 32) && (f || se || _.length > 0) && (E |= 512), !t.inSSR && I)
|
|
3439
3451
|
switch (I.type) {
|
|
3440
3452
|
case 15:
|
|
3441
|
-
let m = -1, S = -1,
|
|
3453
|
+
let m = -1, S = -1, N = !1;
|
|
3442
3454
|
for (let A = 0; A < I.properties.length; A++) {
|
|
3443
3455
|
const M = I.properties[A].key;
|
|
3444
|
-
ne(M) ? M.content === "class" ? m = A : M.content === "style" && (S = A) : M.isHandlerKey || (
|
|
3456
|
+
ne(M) ? M.content === "class" ? m = A : M.content === "style" && (S = A) : M.isHandlerKey || (N = !0);
|
|
3445
3457
|
}
|
|
3446
3458
|
const g = I.properties[m], T = I.properties[S];
|
|
3447
|
-
|
|
3459
|
+
N ? I = $(
|
|
3448
3460
|
t.helper(Ge),
|
|
3449
3461
|
[I]
|
|
3450
3462
|
) : (g && !ne(g.value) && (g.value = $(
|
|
@@ -3474,13 +3486,13 @@ function Cn(e, t, n = e.props, r, a, i = !1) {
|
|
|
3474
3486
|
}
|
|
3475
3487
|
return {
|
|
3476
3488
|
props: I,
|
|
3477
|
-
directives:
|
|
3478
|
-
patchFlag:
|
|
3479
|
-
dynamicPropNames:
|
|
3489
|
+
directives: _,
|
|
3490
|
+
patchFlag: E,
|
|
3491
|
+
dynamicPropNames: F,
|
|
3480
3492
|
shouldUseBlock: d
|
|
3481
3493
|
};
|
|
3482
3494
|
}
|
|
3483
|
-
function
|
|
3495
|
+
function ts(e) {
|
|
3484
3496
|
const t = /* @__PURE__ */ new Map(), n = [];
|
|
3485
3497
|
for (let r = 0; r < e.length; r++) {
|
|
3486
3498
|
const a = e[r];
|
|
@@ -3489,18 +3501,18 @@ function Zn(e) {
|
|
|
3489
3501
|
continue;
|
|
3490
3502
|
}
|
|
3491
3503
|
const i = a.key.content, l = t.get(i);
|
|
3492
|
-
l ? (i === "style" || i === "class" || tn(i)) &&
|
|
3504
|
+
l ? (i === "style" || i === "class" || tn(i)) && Wo(l, a) : (t.set(i, a), n.push(a));
|
|
3493
3505
|
}
|
|
3494
3506
|
return n;
|
|
3495
3507
|
}
|
|
3496
|
-
function
|
|
3508
|
+
function Wo(e, t) {
|
|
3497
3509
|
e.value.type === 17 ? e.value.elements.push(t.value) : e.value = be(
|
|
3498
3510
|
[e.value, t.value],
|
|
3499
3511
|
e.loc
|
|
3500
3512
|
);
|
|
3501
3513
|
}
|
|
3502
|
-
function
|
|
3503
|
-
const n = [], r =
|
|
3514
|
+
function _r(e, t) {
|
|
3515
|
+
const n = [], r = ar.get(e);
|
|
3504
3516
|
r ? n.push(t.helperString(r)) : (t.helper(Bt), t.directives.add(e.name), n.push(ze(e.name, "directive")));
|
|
3505
3517
|
const { loc: a } = e;
|
|
3506
3518
|
if (e.exp && n.push(e.exp), e.arg && (e.exp || n.push("void 0"), n.push(e.arg)), Object.keys(e.modifiers).length) {
|
|
@@ -3509,7 +3521,7 @@ function cr(e, t) {
|
|
|
3509
3521
|
n.push(
|
|
3510
3522
|
_e(
|
|
3511
3523
|
e.modifiers.map(
|
|
3512
|
-
(l) =>
|
|
3524
|
+
(l) => x(l, i)
|
|
3513
3525
|
),
|
|
3514
3526
|
a
|
|
3515
3527
|
)
|
|
@@ -3517,18 +3529,18 @@ function cr(e, t) {
|
|
|
3517
3529
|
}
|
|
3518
3530
|
return be(n, e.loc);
|
|
3519
3531
|
}
|
|
3520
|
-
function
|
|
3532
|
+
function Go(e) {
|
|
3521
3533
|
let t = "[";
|
|
3522
3534
|
for (let n = 0, r = e.length; n < r; n++)
|
|
3523
3535
|
t += JSON.stringify(e[n]), n < r - 1 && (t += ", ");
|
|
3524
3536
|
return t + "]";
|
|
3525
3537
|
}
|
|
3526
|
-
function
|
|
3538
|
+
function cn(e) {
|
|
3527
3539
|
return e === "component" || e === "Component";
|
|
3528
3540
|
}
|
|
3529
|
-
const
|
|
3530
|
-
if (
|
|
3531
|
-
const { children: n, loc: r } = e, { slotName: a, slotProps: i } =
|
|
3541
|
+
const Jo = (e, t) => {
|
|
3542
|
+
if (ot(e)) {
|
|
3543
|
+
const { children: n, loc: r } = e, { slotName: a, slotProps: i } = pr(e, t), l = [
|
|
3532
3544
|
t.prefixIdentifiers ? "_ctx.$slots" : "$slots",
|
|
3533
3545
|
a,
|
|
3534
3546
|
"{}",
|
|
@@ -3537,20 +3549,20 @@ const Go = (e, t) => {
|
|
|
3537
3549
|
];
|
|
3538
3550
|
let s = 2;
|
|
3539
3551
|
i && (l[2] = i, s = 3), n.length && (l[3] = Be([], n, !1, !1, r), s = 4), t.scopeId && !t.slotted && (s = 5), l.splice(s), e.codegenNode = $(
|
|
3540
|
-
t.helper(
|
|
3552
|
+
t.helper(mn),
|
|
3541
3553
|
l,
|
|
3542
3554
|
r
|
|
3543
3555
|
);
|
|
3544
3556
|
}
|
|
3545
3557
|
};
|
|
3546
|
-
function
|
|
3558
|
+
function pr(e, t) {
|
|
3547
3559
|
let n = '"default"', r;
|
|
3548
3560
|
const a = [];
|
|
3549
3561
|
for (let i = 0; i < e.props.length; i++) {
|
|
3550
3562
|
const l = e.props[i];
|
|
3551
3563
|
if (l.type === 6)
|
|
3552
3564
|
l.value && (l.name === "name" ? n = JSON.stringify(l.value.content) : (l.name = Ce(l.name), a.push(l)));
|
|
3553
|
-
else if (l.name === "bind" &&
|
|
3565
|
+
else if (l.name === "bind" && ve(l.arg, "name")) {
|
|
3554
3566
|
if (l.exp)
|
|
3555
3567
|
n = l.exp;
|
|
3556
3568
|
else if (l.arg && l.arg.type === 4) {
|
|
@@ -3561,7 +3573,7 @@ function _r(e, t) {
|
|
|
3561
3573
|
l.name === "bind" && l.arg && ne(l.arg) && (l.arg.content = Ce(l.arg.content)), a.push(l);
|
|
3562
3574
|
}
|
|
3563
3575
|
if (a.length > 0) {
|
|
3564
|
-
const { props: i, directives: l } =
|
|
3576
|
+
const { props: i, directives: l } = An(
|
|
3565
3577
|
e,
|
|
3566
3578
|
t,
|
|
3567
3579
|
a,
|
|
@@ -3580,22 +3592,22 @@ function _r(e, t) {
|
|
|
3580
3592
|
slotProps: r
|
|
3581
3593
|
};
|
|
3582
3594
|
}
|
|
3583
|
-
const
|
|
3595
|
+
const Dn = (e, t, n, r) => {
|
|
3584
3596
|
const { loc: a, modifiers: i, arg: l } = e;
|
|
3585
3597
|
!e.exp && !i.length && n.onError(P(35, a));
|
|
3586
3598
|
let s;
|
|
3587
3599
|
if (l.type === 4)
|
|
3588
3600
|
if (l.isStatic) {
|
|
3589
|
-
let
|
|
3590
|
-
process.env.NODE_ENV !== "production" &&
|
|
3591
|
-
const u = t.tagType !== 0 ||
|
|
3601
|
+
let _ = l.content;
|
|
3602
|
+
process.env.NODE_ENV !== "production" && _.startsWith("vnode") && n.onError(P(51, l.loc)), _.startsWith("vue:") && (_ = `vnode-${_.slice(4)}`);
|
|
3603
|
+
const u = t.tagType !== 0 || _.startsWith("vnode") || !/[A-Z]/.test(_) ? (
|
|
3592
3604
|
// for non-element and vnode lifecycle event listeners, auto convert
|
|
3593
3605
|
// it to camelCase. See issue #2249
|
|
3594
|
-
|
|
3606
|
+
fi(Ce(_))
|
|
3595
3607
|
) : (
|
|
3596
3608
|
// preserve case for plain element listeners that have uppercase
|
|
3597
3609
|
// letters, as these may be custom elements' custom events
|
|
3598
|
-
`on:${
|
|
3610
|
+
`on:${_}`
|
|
3599
3611
|
);
|
|
3600
3612
|
s = C(u, !0, l.loc);
|
|
3601
3613
|
} else
|
|
@@ -3610,39 +3622,39 @@ const bn = (e, t, n, r) => {
|
|
|
3610
3622
|
o && !o.content.trim() && (o = void 0);
|
|
3611
3623
|
let c = n.cacheHandlers && !o && !n.inVOnce;
|
|
3612
3624
|
if (o) {
|
|
3613
|
-
const
|
|
3625
|
+
const _ = Sn(o), u = !(_ || Ls(o)), d = o.content.includes(";");
|
|
3614
3626
|
process.env.NODE_ENV !== "production" && we(
|
|
3615
3627
|
o,
|
|
3616
3628
|
n,
|
|
3617
3629
|
!1,
|
|
3618
3630
|
d
|
|
3619
|
-
), (u || c &&
|
|
3631
|
+
), (u || c && _) && (o = de([
|
|
3620
3632
|
`${u ? "$event" : "(...args)"} => ${d ? "{" : "("}`,
|
|
3621
3633
|
o,
|
|
3622
3634
|
d ? "}" : ")"
|
|
3623
3635
|
]));
|
|
3624
3636
|
}
|
|
3625
|
-
let
|
|
3637
|
+
let p = {
|
|
3626
3638
|
props: [
|
|
3627
|
-
|
|
3639
|
+
x(
|
|
3628
3640
|
s,
|
|
3629
3641
|
o || C("() => {}", !1, a)
|
|
3630
3642
|
)
|
|
3631
3643
|
]
|
|
3632
3644
|
};
|
|
3633
|
-
return r && (
|
|
3634
|
-
},
|
|
3645
|
+
return r && (p = r(p)), c && (p.props[0].value = n.cache(p.props[0].value)), p.props.forEach((_) => _.key.isHandlerKey = !0), p;
|
|
3646
|
+
}, Yo = (e, t) => {
|
|
3635
3647
|
if (e.type === 0 || e.type === 1 || e.type === 11 || e.type === 10)
|
|
3636
3648
|
return () => {
|
|
3637
3649
|
const n = e.children;
|
|
3638
3650
|
let r, a = !1;
|
|
3639
3651
|
for (let i = 0; i < n.length; i++) {
|
|
3640
3652
|
const l = n[i];
|
|
3641
|
-
if (
|
|
3653
|
+
if (Nt(l)) {
|
|
3642
3654
|
a = !0;
|
|
3643
3655
|
for (let s = i + 1; s < n.length; s++) {
|
|
3644
3656
|
const o = n[s];
|
|
3645
|
-
if (
|
|
3657
|
+
if (Nt(o))
|
|
3646
3658
|
r || (r = n[i] = de(
|
|
3647
3659
|
[l],
|
|
3648
3660
|
l.loc
|
|
@@ -3668,10 +3680,10 @@ const bn = (e, t, n, r) => {
|
|
|
3668
3680
|
) && e.tag !== "template")))
|
|
3669
3681
|
for (let i = 0; i < n.length; i++) {
|
|
3670
3682
|
const l = n[i];
|
|
3671
|
-
if (
|
|
3683
|
+
if (Nt(l) || l.type === 8) {
|
|
3672
3684
|
const s = [];
|
|
3673
|
-
(l.type !== 2 || l.content !== " ") && s.push(l), !t.ssr &&
|
|
3674
|
-
1 + (process.env.NODE_ENV !== "production" ? ` /* ${
|
|
3685
|
+
(l.type !== 2 || l.content !== " ") && s.push(l), !t.ssr && le(l, t) === 0 && s.push(
|
|
3686
|
+
1 + (process.env.NODE_ENV !== "production" ? ` /* ${tt[1]} */` : "")
|
|
3675
3687
|
), n[i] = {
|
|
3676
3688
|
type: 12,
|
|
3677
3689
|
content: l,
|
|
@@ -3684,9 +3696,9 @@ const bn = (e, t, n, r) => {
|
|
|
3684
3696
|
}
|
|
3685
3697
|
}
|
|
3686
3698
|
};
|
|
3687
|
-
},
|
|
3699
|
+
}, ns = /* @__PURE__ */ new WeakSet(), qo = (e, t) => {
|
|
3688
3700
|
if (e.type === 1 && Q(e, "once", !0))
|
|
3689
|
-
return
|
|
3701
|
+
return ns.has(e) || t.inVOnce || t.inSSR ? void 0 : (ns.add(e), t.inVOnce = !0, t.helper(rt), () => {
|
|
3690
3702
|
t.inVOnce = !1;
|
|
3691
3703
|
const n = t.currentNode;
|
|
3692
3704
|
n.codegenNode && (n.codegenNode = t.cache(
|
|
@@ -3695,38 +3707,38 @@ const bn = (e, t, n, r) => {
|
|
|
3695
3707
|
!0
|
|
3696
3708
|
));
|
|
3697
3709
|
});
|
|
3698
|
-
},
|
|
3710
|
+
}, Rn = (e, t, n) => {
|
|
3699
3711
|
const { exp: r, arg: a } = e;
|
|
3700
3712
|
if (!r)
|
|
3701
3713
|
return n.onError(
|
|
3702
3714
|
P(41, e.loc)
|
|
3703
|
-
),
|
|
3715
|
+
), Et();
|
|
3704
3716
|
const i = r.loc.source.trim(), l = r.type === 4 ? r.content : i, s = n.bindingMetadata[i];
|
|
3705
3717
|
if (s === "props" || s === "props-aliased")
|
|
3706
|
-
return n.onError(P(44, r.loc)),
|
|
3707
|
-
if (!l.trim() || !
|
|
3718
|
+
return n.onError(P(44, r.loc)), Et();
|
|
3719
|
+
if (!l.trim() || !Sn(r))
|
|
3708
3720
|
return n.onError(
|
|
3709
3721
|
P(42, r.loc)
|
|
3710
|
-
),
|
|
3722
|
+
), Et();
|
|
3711
3723
|
const o = a || C("modelValue", !0), c = a ? ne(a) ? `onUpdate:${Ce(a.content)}` : de(['"onUpdate:" + ', a]) : "onUpdate:modelValue";
|
|
3712
|
-
let
|
|
3713
|
-
const
|
|
3714
|
-
|
|
3715
|
-
`${
|
|
3724
|
+
let p;
|
|
3725
|
+
const _ = n.isTS ? "($event: any)" : "$event";
|
|
3726
|
+
p = de([
|
|
3727
|
+
`${_} => ((`,
|
|
3716
3728
|
r,
|
|
3717
3729
|
") = $event)"
|
|
3718
3730
|
]);
|
|
3719
3731
|
const u = [
|
|
3720
3732
|
// modelValue: foo
|
|
3721
|
-
|
|
3733
|
+
x(o, e.exp),
|
|
3722
3734
|
// "onUpdate:modelValue": $event => (foo = $event)
|
|
3723
|
-
|
|
3735
|
+
x(c, p)
|
|
3724
3736
|
];
|
|
3725
3737
|
if (e.modifiers.length && t.tagType === 1) {
|
|
3726
|
-
const d = e.modifiers.map((f) => f.content).map((f) => (
|
|
3738
|
+
const d = e.modifiers.map((f) => f.content).map((f) => (_t(f) ? f : JSON.stringify(f)) + ": true").join(", "), E = a ? ne(a) ? `${a.content}Modifiers` : de([a, ' + "Modifiers"']) : "modelModifiers";
|
|
3727
3739
|
u.push(
|
|
3728
|
-
|
|
3729
|
-
|
|
3740
|
+
x(
|
|
3741
|
+
E,
|
|
3730
3742
|
C(
|
|
3731
3743
|
`{ ${d} }`,
|
|
3732
3744
|
!1,
|
|
@@ -3736,42 +3748,42 @@ const bn = (e, t, n, r) => {
|
|
|
3736
3748
|
)
|
|
3737
3749
|
);
|
|
3738
3750
|
}
|
|
3739
|
-
return
|
|
3751
|
+
return Et(u);
|
|
3740
3752
|
};
|
|
3741
|
-
function
|
|
3753
|
+
function Et(e = []) {
|
|
3742
3754
|
return { props: e };
|
|
3743
3755
|
}
|
|
3744
|
-
const
|
|
3756
|
+
const zo = /[\w).+\-_$\]]/, Qo = (e, t) => {
|
|
3745
3757
|
Ae("COMPILER_FILTERS", t) && (e.type === 5 ? Dt(e.content, t) : e.type === 1 && e.props.forEach((n) => {
|
|
3746
3758
|
n.type === 7 && n.name !== "for" && n.exp && Dt(n.exp, t);
|
|
3747
3759
|
}));
|
|
3748
3760
|
};
|
|
3749
3761
|
function Dt(e, t) {
|
|
3750
3762
|
if (e.type === 4)
|
|
3751
|
-
|
|
3763
|
+
ss(e, t);
|
|
3752
3764
|
else
|
|
3753
3765
|
for (let n = 0; n < e.children.length; n++) {
|
|
3754
3766
|
const r = e.children[n];
|
|
3755
|
-
typeof r == "object" && (r.type === 4 ?
|
|
3767
|
+
typeof r == "object" && (r.type === 4 ? ss(r, t) : r.type === 8 ? Dt(e, t) : r.type === 5 && Dt(r.content, t));
|
|
3756
3768
|
}
|
|
3757
3769
|
}
|
|
3758
|
-
function
|
|
3770
|
+
function ss(e, t) {
|
|
3759
3771
|
const n = e.content;
|
|
3760
|
-
let r = !1, a = !1, i = !1, l = !1, s = 0, o = 0, c = 0,
|
|
3772
|
+
let r = !1, a = !1, i = !1, l = !1, s = 0, o = 0, c = 0, p = 0, _, u, d, E, f = [];
|
|
3761
3773
|
for (d = 0; d < n.length; d++)
|
|
3762
|
-
if (u =
|
|
3763
|
-
|
|
3774
|
+
if (u = _, _ = n.charCodeAt(d), r)
|
|
3775
|
+
_ === 39 && u !== 92 && (r = !1);
|
|
3764
3776
|
else if (a)
|
|
3765
|
-
|
|
3777
|
+
_ === 34 && u !== 92 && (a = !1);
|
|
3766
3778
|
else if (i)
|
|
3767
|
-
|
|
3779
|
+
_ === 96 && u !== 92 && (i = !1);
|
|
3768
3780
|
else if (l)
|
|
3769
|
-
|
|
3770
|
-
else if (
|
|
3781
|
+
_ === 47 && u !== 92 && (l = !1);
|
|
3782
|
+
else if (_ === 124 && // pipe
|
|
3771
3783
|
n.charCodeAt(d + 1) !== 124 && n.charCodeAt(d - 1) !== 124 && !s && !o && !c)
|
|
3772
|
-
|
|
3784
|
+
E === void 0 ? (p = d + 1, E = n.slice(0, d).trim()) : v();
|
|
3773
3785
|
else {
|
|
3774
|
-
switch (
|
|
3786
|
+
switch (_) {
|
|
3775
3787
|
case 34:
|
|
3776
3788
|
a = !0;
|
|
3777
3789
|
break;
|
|
@@ -3808,28 +3820,28 @@ function ts(e, t) {
|
|
|
3808
3820
|
s--;
|
|
3809
3821
|
break;
|
|
3810
3822
|
}
|
|
3811
|
-
if (
|
|
3823
|
+
if (_ === 47) {
|
|
3812
3824
|
let O = d - 1, y;
|
|
3813
3825
|
for (; O >= 0 && (y = n.charAt(O), y === " "); O--)
|
|
3814
3826
|
;
|
|
3815
|
-
(!y || !
|
|
3827
|
+
(!y || !zo.test(y)) && (l = !0);
|
|
3816
3828
|
}
|
|
3817
3829
|
}
|
|
3818
|
-
|
|
3819
|
-
function
|
|
3820
|
-
f.push(n.slice(
|
|
3830
|
+
E === void 0 ? E = n.slice(0, d).trim() : p !== 0 && v();
|
|
3831
|
+
function v() {
|
|
3832
|
+
f.push(n.slice(p, d).trim()), p = d + 1;
|
|
3821
3833
|
}
|
|
3822
3834
|
if (f.length) {
|
|
3823
|
-
for (process.env.NODE_ENV !== "production" &&
|
|
3835
|
+
for (process.env.NODE_ENV !== "production" && it(
|
|
3824
3836
|
"COMPILER_FILTERS",
|
|
3825
3837
|
t,
|
|
3826
3838
|
e.loc
|
|
3827
3839
|
), d = 0; d < f.length; d++)
|
|
3828
|
-
|
|
3829
|
-
e.content =
|
|
3840
|
+
E = Zo(E, f[d], t);
|
|
3841
|
+
e.content = E, e.ast = void 0;
|
|
3830
3842
|
}
|
|
3831
3843
|
}
|
|
3832
|
-
function
|
|
3844
|
+
function Zo(e, t, n) {
|
|
3833
3845
|
n.helper(xt);
|
|
3834
3846
|
const r = t.indexOf("(");
|
|
3835
3847
|
if (r < 0)
|
|
@@ -3839,10 +3851,10 @@ function Qo(e, t, n) {
|
|
|
3839
3851
|
return n.filters.add(a), `${ze(a, "filter")}(${e}${i !== ")" ? "," + i : i}`;
|
|
3840
3852
|
}
|
|
3841
3853
|
}
|
|
3842
|
-
const
|
|
3854
|
+
const rs = /* @__PURE__ */ new WeakSet(), ea = (e, t) => {
|
|
3843
3855
|
if (e.type === 1) {
|
|
3844
3856
|
const n = Q(e, "memo");
|
|
3845
|
-
return !n ||
|
|
3857
|
+
return !n || rs.has(e) ? void 0 : (rs.add(e), () => {
|
|
3846
3858
|
const r = e.codegenNode || t.currentNode.codegenNode;
|
|
3847
3859
|
r && r.type === 13 && (e.tagType !== 1 && Gt(r, t), e.codegenNode = $(t.helper(Wt), [
|
|
3848
3860
|
n.exp,
|
|
@@ -3853,36 +3865,36 @@ const ns = /* @__PURE__ */ new WeakSet(), Zo = (e, t) => {
|
|
|
3853
3865
|
});
|
|
3854
3866
|
}
|
|
3855
3867
|
};
|
|
3856
|
-
function
|
|
3868
|
+
function ur(e) {
|
|
3857
3869
|
return [
|
|
3858
3870
|
[
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
...process.env.NODE_ENV !== "production" ? [
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
|
|
3871
|
+
qo,
|
|
3872
|
+
xo,
|
|
3873
|
+
ea,
|
|
3874
|
+
$o,
|
|
3875
|
+
Qo,
|
|
3876
|
+
...process.env.NODE_ENV !== "production" ? [Zs] : [],
|
|
3877
|
+
Jo,
|
|
3878
|
+
lr,
|
|
3879
|
+
ir,
|
|
3880
|
+
Yo
|
|
3869
3881
|
],
|
|
3870
3882
|
{
|
|
3871
|
-
on:
|
|
3872
|
-
bind:
|
|
3873
|
-
model:
|
|
3883
|
+
on: Dn,
|
|
3884
|
+
bind: nr,
|
|
3885
|
+
model: Rn
|
|
3874
3886
|
}
|
|
3875
3887
|
];
|
|
3876
3888
|
}
|
|
3877
|
-
function
|
|
3878
|
-
const n = t.onError ||
|
|
3889
|
+
function dr(e, t = {}) {
|
|
3890
|
+
const n = t.onError || vn, r = t.mode === "module";
|
|
3879
3891
|
t.prefixIdentifiers === !0 ? n(P(47)) : r && n(P(48));
|
|
3880
3892
|
const a = !1;
|
|
3881
3893
|
t.cacheHandlers && n(P(49)), t.scopeId && !r && n(P(50));
|
|
3882
3894
|
const i = ge({}, t, {
|
|
3883
3895
|
prefixIdentifiers: a
|
|
3884
|
-
}), l = j(e) ?
|
|
3885
|
-
return
|
|
3896
|
+
}), l = j(e) ? On(e, i) : e, [s, o] = ur();
|
|
3897
|
+
return Js(
|
|
3886
3898
|
l,
|
|
3887
3899
|
ge({}, i, {
|
|
3888
3900
|
nodeTransforms: [
|
|
@@ -3897,9 +3909,9 @@ function ur(e, t = {}) {
|
|
|
3897
3909
|
// user transforms
|
|
3898
3910
|
)
|
|
3899
3911
|
})
|
|
3900
|
-
),
|
|
3912
|
+
), qs(l, i);
|
|
3901
3913
|
}
|
|
3902
|
-
const
|
|
3914
|
+
const ta = {
|
|
3903
3915
|
DATA: "data",
|
|
3904
3916
|
PROPS: "props",
|
|
3905
3917
|
PROPS_ALIASED: "props-aliased",
|
|
@@ -3910,53 +3922,53 @@ const ea = {
|
|
|
3910
3922
|
SETUP_REF: "setup-ref",
|
|
3911
3923
|
OPTIONS: "options",
|
|
3912
3924
|
LITERAL_CONST: "literal-const"
|
|
3913
|
-
},
|
|
3925
|
+
}, fr = () => ({ props: [] });
|
|
3914
3926
|
/**
|
|
3915
|
-
* @vue/compiler-dom v3.5.
|
|
3927
|
+
* @vue/compiler-dom v3.5.18
|
|
3916
3928
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
3917
3929
|
* @license MIT
|
|
3918
3930
|
**/
|
|
3919
|
-
const
|
|
3931
|
+
const Mn = Symbol(process.env.NODE_ENV !== "production" ? "vModelRadio" : ""), Pn = Symbol(
|
|
3920
3932
|
process.env.NODE_ENV !== "production" ? "vModelCheckbox" : ""
|
|
3921
|
-
),
|
|
3933
|
+
), Ln = Symbol(process.env.NODE_ENV !== "production" ? "vModelText" : ""), Vn = Symbol(
|
|
3922
3934
|
process.env.NODE_ENV !== "production" ? "vModelSelect" : ""
|
|
3923
3935
|
), Rt = Symbol(
|
|
3924
3936
|
process.env.NODE_ENV !== "production" ? "vModelDynamic" : ""
|
|
3925
|
-
),
|
|
3937
|
+
), kn = Symbol(
|
|
3926
3938
|
process.env.NODE_ENV !== "production" ? "vOnModifiersGuard" : ""
|
|
3927
|
-
),
|
|
3939
|
+
), wn = Symbol(
|
|
3928
3940
|
process.env.NODE_ENV !== "production" ? "vOnKeysGuard" : ""
|
|
3929
|
-
),
|
|
3941
|
+
), Xn = Symbol(process.env.NODE_ENV !== "production" ? "vShow" : ""), Yt = Symbol(process.env.NODE_ENV !== "production" ? "Transition" : ""), Bn = Symbol(
|
|
3930
3942
|
process.env.NODE_ENV !== "production" ? "TransitionGroup" : ""
|
|
3931
3943
|
);
|
|
3932
|
-
|
|
3933
|
-
[
|
|
3934
|
-
[
|
|
3935
|
-
[
|
|
3936
|
-
[
|
|
3944
|
+
Ss({
|
|
3945
|
+
[Mn]: "vModelRadio",
|
|
3946
|
+
[Pn]: "vModelCheckbox",
|
|
3947
|
+
[Ln]: "vModelText",
|
|
3948
|
+
[Vn]: "vModelSelect",
|
|
3937
3949
|
[Rt]: "vModelDynamic",
|
|
3938
|
-
[
|
|
3939
|
-
[
|
|
3940
|
-
[
|
|
3950
|
+
[kn]: "withModifiers",
|
|
3951
|
+
[wn]: "withKeys",
|
|
3952
|
+
[Xn]: "vShow",
|
|
3941
3953
|
[Yt]: "Transition",
|
|
3942
|
-
[
|
|
3954
|
+
[Bn]: "TransitionGroup"
|
|
3943
3955
|
});
|
|
3944
3956
|
let je;
|
|
3945
|
-
function
|
|
3957
|
+
function na(e, t = !1) {
|
|
3946
3958
|
return je || (je = document.createElement("div")), t ? (je.innerHTML = `<div foo="${e.replace(/"/g, """)}">`, je.children[0].getAttribute("foo")) : (je.innerHTML = e, je.textContent);
|
|
3947
3959
|
}
|
|
3948
|
-
const
|
|
3960
|
+
const xn = {
|
|
3949
3961
|
parseMode: "html",
|
|
3950
|
-
isVoidTag:
|
|
3951
|
-
isNativeTag: (e) =>
|
|
3962
|
+
isVoidTag: Ni,
|
|
3963
|
+
isNativeTag: (e) => hi(e) || mi(e) || Ei(e),
|
|
3952
3964
|
isPreTag: (e) => e === "pre",
|
|
3953
3965
|
isIgnoreNewlineTag: (e) => e === "pre" || e === "textarea",
|
|
3954
|
-
decodeEntities:
|
|
3966
|
+
decodeEntities: na,
|
|
3955
3967
|
isBuiltInComponent: (e) => {
|
|
3956
3968
|
if (e === "Transition" || e === "transition")
|
|
3957
3969
|
return Yt;
|
|
3958
3970
|
if (e === "TransitionGroup" || e === "transition-group")
|
|
3959
|
-
return
|
|
3971
|
+
return Bn;
|
|
3960
3972
|
},
|
|
3961
3973
|
// https://html.spec.whatwg.org/multipage/parsing.html#tree-construction-dispatcher
|
|
3962
3974
|
getNamespace(e, t, n) {
|
|
@@ -3978,18 +3990,18 @@ const Xn = {
|
|
|
3978
3990
|
}
|
|
3979
3991
|
return r;
|
|
3980
3992
|
}
|
|
3981
|
-
},
|
|
3993
|
+
}, hr = (e) => {
|
|
3982
3994
|
e.type === 1 && e.props.forEach((t, n) => {
|
|
3983
3995
|
t.type === 6 && t.name === "style" && t.value && (e.props[n] = {
|
|
3984
3996
|
type: 7,
|
|
3985
3997
|
name: "bind",
|
|
3986
3998
|
arg: C("style", !0, t.loc),
|
|
3987
|
-
exp:
|
|
3999
|
+
exp: sa(t.value.content, t.loc),
|
|
3988
4000
|
modifiers: [],
|
|
3989
4001
|
loc: t.loc
|
|
3990
4002
|
});
|
|
3991
4003
|
});
|
|
3992
|
-
},
|
|
4004
|
+
}, sa = (e, t) => {
|
|
3993
4005
|
const n = vi(e);
|
|
3994
4006
|
return C(
|
|
3995
4007
|
JSON.stringify(n),
|
|
@@ -4002,10 +4014,10 @@ function ue(e, t) {
|
|
|
4002
4014
|
return P(
|
|
4003
4015
|
e,
|
|
4004
4016
|
t,
|
|
4005
|
-
process.env.NODE_ENV !== "production" ?
|
|
4017
|
+
process.env.NODE_ENV !== "production" ? mr : void 0
|
|
4006
4018
|
);
|
|
4007
4019
|
}
|
|
4008
|
-
const
|
|
4020
|
+
const ra = {
|
|
4009
4021
|
X_V_HTML_NO_EXPRESSION: 53,
|
|
4010
4022
|
53: "X_V_HTML_NO_EXPRESSION",
|
|
4011
4023
|
X_V_HTML_WITH_CHILDREN: 54,
|
|
@@ -4030,7 +4042,7 @@ const sa = {
|
|
|
4030
4042
|
63: "X_IGNORED_SIDE_EFFECT_TAG",
|
|
4031
4043
|
__EXTEND_POINT__: 64,
|
|
4032
4044
|
64: "__EXTEND_POINT__"
|
|
4033
|
-
},
|
|
4045
|
+
}, mr = {
|
|
4034
4046
|
53: "v-html is missing expression.",
|
|
4035
4047
|
54: "v-html will override element children.",
|
|
4036
4048
|
55: "v-text is missing expression.",
|
|
@@ -4042,7 +4054,7 @@ const sa = {
|
|
|
4042
4054
|
61: "v-show is missing expression.",
|
|
4043
4055
|
62: "<Transition> expects exactly one child element or component.",
|
|
4044
4056
|
63: "Tags with side effect (<script> and <style>) are ignored in client component templates."
|
|
4045
|
-
},
|
|
4057
|
+
}, ia = (e, t, n) => {
|
|
4046
4058
|
const { exp: r, loc: a } = e;
|
|
4047
4059
|
return r || n.onError(
|
|
4048
4060
|
ue(53, a)
|
|
@@ -4050,13 +4062,13 @@ const sa = {
|
|
|
4050
4062
|
ue(54, a)
|
|
4051
4063
|
), t.children.length = 0), {
|
|
4052
4064
|
props: [
|
|
4053
|
-
|
|
4065
|
+
x(
|
|
4054
4066
|
C("innerHTML", !0, a),
|
|
4055
4067
|
r || C("", !0)
|
|
4056
4068
|
)
|
|
4057
4069
|
]
|
|
4058
4070
|
};
|
|
4059
|
-
},
|
|
4071
|
+
}, oa = (e, t, n) => {
|
|
4060
4072
|
const { exp: r, loc: a } = e;
|
|
4061
4073
|
return r || n.onError(
|
|
4062
4074
|
ue(55, a)
|
|
@@ -4064,18 +4076,18 @@ const sa = {
|
|
|
4064
4076
|
ue(56, a)
|
|
4065
4077
|
), t.children.length = 0), {
|
|
4066
4078
|
props: [
|
|
4067
|
-
|
|
4079
|
+
x(
|
|
4068
4080
|
C("textContent", !0),
|
|
4069
|
-
r ?
|
|
4070
|
-
n.helperString(
|
|
4081
|
+
r ? le(r, n) > 0 ? r : $(
|
|
4082
|
+
n.helperString(ct),
|
|
4071
4083
|
[r],
|
|
4072
4084
|
a
|
|
4073
4085
|
) : C("", !0)
|
|
4074
4086
|
)
|
|
4075
4087
|
]
|
|
4076
4088
|
};
|
|
4077
|
-
},
|
|
4078
|
-
const r =
|
|
4089
|
+
}, aa = (e, t, n) => {
|
|
4090
|
+
const r = Rn(e, t, n);
|
|
4079
4091
|
if (!r.props.length || t.tagType === 1)
|
|
4080
4092
|
return r;
|
|
4081
4093
|
e.arg && n.onError(
|
|
@@ -4086,7 +4098,7 @@ const sa = {
|
|
|
4086
4098
|
);
|
|
4087
4099
|
function a() {
|
|
4088
4100
|
const s = Q(t, "bind");
|
|
4089
|
-
s &&
|
|
4101
|
+
s && ve(s.arg, "value") && n.onError(
|
|
4090
4102
|
ue(
|
|
4091
4103
|
60,
|
|
4092
4104
|
s.loc
|
|
@@ -4095,7 +4107,7 @@ const sa = {
|
|
|
4095
4107
|
}
|
|
4096
4108
|
const { tag: i } = t, l = n.isCustomElement(i);
|
|
4097
4109
|
if (i === "input" || i === "textarea" || i === "select" || l) {
|
|
4098
|
-
let s =
|
|
4110
|
+
let s = Ln, o = !1;
|
|
4099
4111
|
if (i === "input" || l) {
|
|
4100
4112
|
const c = Ye(t, "type");
|
|
4101
4113
|
if (c) {
|
|
@@ -4104,10 +4116,10 @@ const sa = {
|
|
|
4104
4116
|
else if (c.value)
|
|
4105
4117
|
switch (c.value.content) {
|
|
4106
4118
|
case "radio":
|
|
4107
|
-
s =
|
|
4119
|
+
s = Mn;
|
|
4108
4120
|
break;
|
|
4109
4121
|
case "checkbox":
|
|
4110
|
-
s =
|
|
4122
|
+
s = Pn;
|
|
4111
4123
|
break;
|
|
4112
4124
|
case "file":
|
|
4113
4125
|
o = !0, n.onError(
|
|
@@ -4121,8 +4133,8 @@ const sa = {
|
|
|
4121
4133
|
process.env.NODE_ENV !== "production" && a();
|
|
4122
4134
|
break;
|
|
4123
4135
|
}
|
|
4124
|
-
} else
|
|
4125
|
-
} else i === "select" ? s =
|
|
4136
|
+
} else ks(t) ? s = Rt : process.env.NODE_ENV !== "production" && a();
|
|
4137
|
+
} else i === "select" ? s = Vn : process.env.NODE_ENV !== "production" && a();
|
|
4126
4138
|
o || (r.needRuntime = n.helper(s));
|
|
4127
4139
|
} else
|
|
4128
4140
|
n.onError(
|
|
@@ -4134,10 +4146,10 @@ const sa = {
|
|
|
4134
4146
|
return r.props = r.props.filter(
|
|
4135
4147
|
(s) => !(s.key.type === 4 && s.key.content === "modelValue")
|
|
4136
4148
|
), r;
|
|
4137
|
-
},
|
|
4149
|
+
}, la = /* @__PURE__ */ Mt("passive,once,capture"), ca = /* @__PURE__ */ Mt(
|
|
4138
4150
|
// event propagation management
|
|
4139
4151
|
"stop,prevent,self,ctrl,shift,alt,meta,exact,middle"
|
|
4140
|
-
),
|
|
4152
|
+
), _a = /* @__PURE__ */ Mt("left,right"), Er = /* @__PURE__ */ Mt("onkeyup,onkeydown,onkeypress"), pa = (e, t, n, r) => {
|
|
4141
4153
|
const a = [], i = [], l = [];
|
|
4142
4154
|
for (let s = 0; s < t.length; s++) {
|
|
4143
4155
|
const o = t[s].content;
|
|
@@ -4145,52 +4157,52 @@ const sa = {
|
|
|
4145
4157
|
"COMPILER_V_ON_NATIVE",
|
|
4146
4158
|
n,
|
|
4147
4159
|
r
|
|
4148
|
-
) ||
|
|
4160
|
+
) || la(o) ? l.push(o) : _a(o) ? ne(e) ? Er(e.content.toLowerCase()) ? a.push(o) : i.push(o) : (a.push(o), i.push(o)) : ca(o) ? i.push(o) : a.push(o);
|
|
4149
4161
|
}
|
|
4150
4162
|
return {
|
|
4151
4163
|
keyModifiers: a,
|
|
4152
4164
|
nonKeyModifiers: i,
|
|
4153
4165
|
eventOptionModifiers: l
|
|
4154
4166
|
};
|
|
4155
|
-
},
|
|
4167
|
+
}, is = (e, t) => ne(e) && e.content.toLowerCase() === "onclick" ? C(t, !0) : e.type !== 4 ? de([
|
|
4156
4168
|
"(",
|
|
4157
4169
|
e,
|
|
4158
4170
|
`) === "onClick" ? "${t}" : (`,
|
|
4159
4171
|
e,
|
|
4160
4172
|
")"
|
|
4161
|
-
]) : e,
|
|
4173
|
+
]) : e, ua = (e, t, n) => Dn(e, t, n, (r) => {
|
|
4162
4174
|
const { modifiers: a } = e;
|
|
4163
4175
|
if (!a.length) return r;
|
|
4164
4176
|
let { key: i, value: l } = r.props[0];
|
|
4165
|
-
const { keyModifiers: s, nonKeyModifiers: o, eventOptionModifiers: c } =
|
|
4166
|
-
if (o.includes("right") && (i =
|
|
4177
|
+
const { keyModifiers: s, nonKeyModifiers: o, eventOptionModifiers: c } = pa(i, a, n, e.loc);
|
|
4178
|
+
if (o.includes("right") && (i = is(i, "onContextmenu")), o.includes("middle") && (i = is(i, "onMouseup")), o.length && (l = $(n.helper(kn), [
|
|
4167
4179
|
l,
|
|
4168
4180
|
JSON.stringify(o)
|
|
4169
4181
|
])), s.length && // if event name is dynamic, always wrap with keys guard
|
|
4170
|
-
(!ne(i) ||
|
|
4182
|
+
(!ne(i) || Er(i.content.toLowerCase())) && (l = $(n.helper(wn), [
|
|
4171
4183
|
l,
|
|
4172
4184
|
JSON.stringify(s)
|
|
4173
4185
|
])), c.length) {
|
|
4174
|
-
const
|
|
4175
|
-
i = ne(i) ? C(`${i.content}${
|
|
4186
|
+
const p = c.map(fs).join("");
|
|
4187
|
+
i = ne(i) ? C(`${i.content}${p}`, !0) : de(["(", i, `) + "${p}"`]);
|
|
4176
4188
|
}
|
|
4177
4189
|
return {
|
|
4178
|
-
props: [
|
|
4190
|
+
props: [x(i, l)]
|
|
4179
4191
|
};
|
|
4180
|
-
}),
|
|
4192
|
+
}), da = (e, t, n) => {
|
|
4181
4193
|
const { exp: r, loc: a } = e;
|
|
4182
4194
|
return r || n.onError(
|
|
4183
4195
|
ue(61, a)
|
|
4184
4196
|
), {
|
|
4185
4197
|
props: [],
|
|
4186
|
-
needRuntime: n.helper(
|
|
4198
|
+
needRuntime: n.helper(Xn)
|
|
4187
4199
|
};
|
|
4188
|
-
},
|
|
4200
|
+
}, fa = (e, t) => {
|
|
4189
4201
|
if (e.type === 1 && e.tagType === 1 && t.isBuiltInComponent(e.tag) === Yt)
|
|
4190
4202
|
return () => {
|
|
4191
4203
|
if (!e.children.length)
|
|
4192
4204
|
return;
|
|
4193
|
-
|
|
4205
|
+
Nr(e) && t.onError(
|
|
4194
4206
|
ue(
|
|
4195
4207
|
62,
|
|
4196
4208
|
{
|
|
@@ -4212,13 +4224,13 @@ const sa = {
|
|
|
4212
4224
|
});
|
|
4213
4225
|
};
|
|
4214
4226
|
};
|
|
4215
|
-
function
|
|
4227
|
+
function Nr(e) {
|
|
4216
4228
|
const t = e.children = e.children.filter(
|
|
4217
4229
|
(r) => r.type !== 3 && !(r.type === 2 && !r.content.trim())
|
|
4218
4230
|
), n = t[0];
|
|
4219
|
-
return t.length !== 1 || n.type === 11 || n.type === 9 && n.branches.some(
|
|
4231
|
+
return t.length !== 1 || n.type === 11 || n.type === 9 && n.branches.some(Nr);
|
|
4220
4232
|
}
|
|
4221
|
-
const
|
|
4233
|
+
const ha = (e, t) => {
|
|
4222
4234
|
e.type === 1 && e.tagType === 0 && (e.tag === "script" || e.tag === "style") && (process.env.NODE_ENV !== "production" && t.onError(
|
|
4223
4235
|
ue(
|
|
4224
4236
|
63,
|
|
@@ -4226,10 +4238,10 @@ const fa = (e, t) => {
|
|
|
4226
4238
|
)
|
|
4227
4239
|
), t.removeNode());
|
|
4228
4240
|
};
|
|
4229
|
-
function
|
|
4230
|
-
return e in
|
|
4241
|
+
function ma(e, t) {
|
|
4242
|
+
return e === "template" ? !0 : e in os ? os[e].has(t) : t in as ? as[t].has(e) : !(e in ls && ls[e].has(t) || t in cs && cs[t].has(e));
|
|
4231
4243
|
}
|
|
4232
|
-
const He = /* @__PURE__ */ new Set(["h1", "h2", "h3", "h4", "h5", "h6"]), Ve = /* @__PURE__ */ new Set([]),
|
|
4244
|
+
const He = /* @__PURE__ */ new Set(["h1", "h2", "h3", "h4", "h5", "h6"]), Ve = /* @__PURE__ */ new Set([]), os = {
|
|
4233
4245
|
head: /* @__PURE__ */ new Set([
|
|
4234
4246
|
"base",
|
|
4235
4247
|
"basefront",
|
|
@@ -4259,7 +4271,7 @@ const He = /* @__PURE__ */ new Set(["h1", "h2", "h3", "h4", "h5", "h6"]), Ve = /
|
|
|
4259
4271
|
textarea: Ve,
|
|
4260
4272
|
style: Ve,
|
|
4261
4273
|
title: Ve
|
|
4262
|
-
},
|
|
4274
|
+
}, as = {
|
|
4263
4275
|
// sections
|
|
4264
4276
|
html: Ve,
|
|
4265
4277
|
body: /* @__PURE__ */ new Set(["html"]),
|
|
@@ -4282,7 +4294,7 @@ const He = /* @__PURE__ */ new Set(["h1", "h2", "h3", "h4", "h5", "h6"]), Ve = /
|
|
|
4282
4294
|
// li: new Set(["ul", "ol"]),
|
|
4283
4295
|
summary: /* @__PURE__ */ new Set(["details"]),
|
|
4284
4296
|
area: /* @__PURE__ */ new Set(["map"])
|
|
4285
|
-
},
|
|
4297
|
+
}, ls = {
|
|
4286
4298
|
p: /* @__PURE__ */ new Set([
|
|
4287
4299
|
"address",
|
|
4288
4300
|
"article",
|
|
@@ -4356,7 +4368,7 @@ const He = /* @__PURE__ */ new Set(["h1", "h2", "h3", "h4", "h5", "h6"]), Ve = /
|
|
|
4356
4368
|
"ul",
|
|
4357
4369
|
"var"
|
|
4358
4370
|
])
|
|
4359
|
-
},
|
|
4371
|
+
}, cs = {
|
|
4360
4372
|
a: /* @__PURE__ */ new Set(["a"]),
|
|
4361
4373
|
button: /* @__PURE__ */ new Set(["button"]),
|
|
4362
4374
|
dd: /* @__PURE__ */ new Set(["dd", "dt"]),
|
|
@@ -4369,41 +4381,41 @@ const He = /* @__PURE__ */ new Set(["h1", "h2", "h3", "h4", "h5", "h6"]), Ve = /
|
|
|
4369
4381
|
h4: He,
|
|
4370
4382
|
h5: He,
|
|
4371
4383
|
h6: He
|
|
4372
|
-
},
|
|
4373
|
-
if (e.type === 1 && e.tagType === 0 && t.parent && t.parent.type === 1 && t.parent.tagType === 0 && !
|
|
4384
|
+
}, Ea = (e, t) => {
|
|
4385
|
+
if (e.type === 1 && e.tagType === 0 && t.parent && t.parent.type === 1 && t.parent.tagType === 0 && !ma(t.parent.tag, e.tag)) {
|
|
4374
4386
|
const n = new SyntaxError(
|
|
4375
4387
|
`<${e.tag}> cannot be child of <${t.parent.tag}>, according to HTML specifications. This can cause hydration errors or potentially disrupt future functionality.`
|
|
4376
4388
|
);
|
|
4377
4389
|
n.loc = e.loc, t.onWarn(n);
|
|
4378
4390
|
}
|
|
4379
4391
|
}, vr = [
|
|
4380
|
-
|
|
4381
|
-
...process.env.NODE_ENV !== "production" ? [
|
|
4382
|
-
],
|
|
4383
|
-
cloak:
|
|
4384
|
-
html:
|
|
4385
|
-
text:
|
|
4386
|
-
model:
|
|
4392
|
+
hr,
|
|
4393
|
+
...process.env.NODE_ENV !== "production" ? [fa, Ea] : []
|
|
4394
|
+
], gr = {
|
|
4395
|
+
cloak: fr,
|
|
4396
|
+
html: ia,
|
|
4397
|
+
text: oa,
|
|
4398
|
+
model: aa,
|
|
4387
4399
|
// override compiler-core
|
|
4388
|
-
on:
|
|
4400
|
+
on: ua,
|
|
4389
4401
|
// override compiler-core
|
|
4390
|
-
show:
|
|
4402
|
+
show: da
|
|
4391
4403
|
};
|
|
4392
|
-
function
|
|
4393
|
-
return
|
|
4404
|
+
function Na(e, t = {}) {
|
|
4405
|
+
return dr(
|
|
4394
4406
|
e,
|
|
4395
|
-
ge({},
|
|
4407
|
+
ge({}, xn, t, {
|
|
4396
4408
|
nodeTransforms: [
|
|
4397
4409
|
// ignore <script> and <tag>
|
|
4398
4410
|
// this is not put inside DOMNodeTransforms because that list is used
|
|
4399
4411
|
// by compiler-ssr to generate vnode fallback branches
|
|
4400
|
-
|
|
4412
|
+
ha,
|
|
4401
4413
|
...vr,
|
|
4402
4414
|
...t.nodeTransforms || []
|
|
4403
4415
|
],
|
|
4404
4416
|
directiveTransforms: ge(
|
|
4405
4417
|
{},
|
|
4406
|
-
|
|
4418
|
+
gr,
|
|
4407
4419
|
t.directiveTransforms || {}
|
|
4408
4420
|
),
|
|
4409
4421
|
transformHoist: null
|
|
@@ -4411,86 +4423,86 @@ function Ea(e, t = {}) {
|
|
|
4411
4423
|
);
|
|
4412
4424
|
}
|
|
4413
4425
|
function va(e, t = {}) {
|
|
4414
|
-
return
|
|
4426
|
+
return On(e, ge({}, xn, t));
|
|
4415
4427
|
}
|
|
4416
|
-
const
|
|
4428
|
+
const ga = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4417
4429
|
__proto__: null,
|
|
4418
|
-
BASE_TRANSITION:
|
|
4419
|
-
BindingTypes:
|
|
4430
|
+
BASE_TRANSITION: un,
|
|
4431
|
+
BindingTypes: ta,
|
|
4420
4432
|
CAMELIZE: Ot,
|
|
4421
|
-
CAPITALIZE:
|
|
4422
|
-
CREATE_BLOCK:
|
|
4433
|
+
CAPITALIZE: ms,
|
|
4434
|
+
CREATE_BLOCK: dn,
|
|
4423
4435
|
CREATE_COMMENT: Qe,
|
|
4424
|
-
CREATE_ELEMENT_BLOCK:
|
|
4436
|
+
CREATE_ELEMENT_BLOCK: fn,
|
|
4425
4437
|
CREATE_ELEMENT_VNODE: Vt,
|
|
4426
|
-
CREATE_SLOTS:
|
|
4427
|
-
CREATE_STATIC:
|
|
4438
|
+
CREATE_SLOTS: En,
|
|
4439
|
+
CREATE_STATIC: hn,
|
|
4428
4440
|
CREATE_TEXT: kt,
|
|
4429
4441
|
CREATE_VNODE: Lt,
|
|
4430
|
-
CompilerDeprecationTypes:
|
|
4431
|
-
ConstantTypes:
|
|
4432
|
-
DOMDirectiveTransforms:
|
|
4433
|
-
DOMErrorCodes:
|
|
4434
|
-
DOMErrorMessages:
|
|
4442
|
+
CompilerDeprecationTypes: wi,
|
|
4443
|
+
ConstantTypes: Ai,
|
|
4444
|
+
DOMDirectiveTransforms: gr,
|
|
4445
|
+
DOMErrorCodes: ra,
|
|
4446
|
+
DOMErrorMessages: mr,
|
|
4435
4447
|
DOMNodeTransforms: vr,
|
|
4436
|
-
ElementTypes:
|
|
4437
|
-
ErrorCodes:
|
|
4448
|
+
ElementTypes: bi,
|
|
4449
|
+
ErrorCodes: Bi,
|
|
4438
4450
|
FRAGMENT: We,
|
|
4439
4451
|
GUARD_REACTIVE_PROPS: Ze,
|
|
4440
|
-
IS_MEMO_SAME:
|
|
4441
|
-
IS_REF:
|
|
4442
|
-
KEEP_ALIVE:
|
|
4443
|
-
MERGE_PROPS:
|
|
4452
|
+
IS_MEMO_SAME: Nn,
|
|
4453
|
+
IS_REF: gs,
|
|
4454
|
+
KEEP_ALIVE: nt,
|
|
4455
|
+
MERGE_PROPS: st,
|
|
4444
4456
|
NORMALIZE_CLASS: $t,
|
|
4445
4457
|
NORMALIZE_PROPS: Ge,
|
|
4446
4458
|
NORMALIZE_STYLE: jt,
|
|
4447
|
-
Namespaces:
|
|
4448
|
-
NodeTypes:
|
|
4459
|
+
Namespaces: Ii,
|
|
4460
|
+
NodeTypes: Ci,
|
|
4449
4461
|
OPEN_BLOCK: De,
|
|
4450
|
-
POP_SCOPE_ID:
|
|
4451
|
-
PUSH_SCOPE_ID:
|
|
4462
|
+
POP_SCOPE_ID: Ns,
|
|
4463
|
+
PUSH_SCOPE_ID: Es,
|
|
4452
4464
|
RENDER_LIST: Ut,
|
|
4453
|
-
RENDER_SLOT:
|
|
4465
|
+
RENDER_SLOT: mn,
|
|
4454
4466
|
RESOLVE_COMPONENT: wt,
|
|
4455
4467
|
RESOLVE_DIRECTIVE: Bt,
|
|
4456
4468
|
RESOLVE_DYNAMIC_COMPONENT: Xt,
|
|
4457
4469
|
RESOLVE_FILTER: xt,
|
|
4458
|
-
SET_BLOCK_TRACKING:
|
|
4470
|
+
SET_BLOCK_TRACKING: rt,
|
|
4459
4471
|
SUSPENSE: Pt,
|
|
4460
4472
|
TELEPORT: Ke,
|
|
4461
|
-
TO_DISPLAY_STRING:
|
|
4473
|
+
TO_DISPLAY_STRING: ct,
|
|
4462
4474
|
TO_HANDLERS: Ht,
|
|
4463
4475
|
TO_HANDLER_KEY: It,
|
|
4464
4476
|
TRANSITION: Yt,
|
|
4465
|
-
TRANSITION_GROUP:
|
|
4466
|
-
TS_NODE_TYPES:
|
|
4467
|
-
UNREF:
|
|
4468
|
-
V_MODEL_CHECKBOX:
|
|
4477
|
+
TRANSITION_GROUP: Bn,
|
|
4478
|
+
TS_NODE_TYPES: As,
|
|
4479
|
+
UNREF: vs,
|
|
4480
|
+
V_MODEL_CHECKBOX: Pn,
|
|
4469
4481
|
V_MODEL_DYNAMIC: Rt,
|
|
4470
|
-
V_MODEL_RADIO:
|
|
4471
|
-
V_MODEL_SELECT:
|
|
4472
|
-
V_MODEL_TEXT:
|
|
4473
|
-
V_ON_WITH_KEYS:
|
|
4474
|
-
V_ON_WITH_MODIFIERS:
|
|
4475
|
-
V_SHOW:
|
|
4482
|
+
V_MODEL_RADIO: Mn,
|
|
4483
|
+
V_MODEL_SELECT: Vn,
|
|
4484
|
+
V_MODEL_TEXT: Ln,
|
|
4485
|
+
V_ON_WITH_KEYS: wn,
|
|
4486
|
+
V_ON_WITH_MODIFIERS: kn,
|
|
4487
|
+
V_SHOW: Xn,
|
|
4476
4488
|
WITH_CTX: Kt,
|
|
4477
4489
|
WITH_DIRECTIVES: Ft,
|
|
4478
4490
|
WITH_MEMO: Wt,
|
|
4479
|
-
advancePositionWithClone:
|
|
4480
|
-
advancePositionWithMutation:
|
|
4491
|
+
advancePositionWithClone: no,
|
|
4492
|
+
advancePositionWithMutation: Vs,
|
|
4481
4493
|
assert: sn,
|
|
4482
|
-
baseCompile:
|
|
4483
|
-
baseParse:
|
|
4484
|
-
buildDirectiveArgs:
|
|
4485
|
-
buildProps:
|
|
4486
|
-
buildSlots:
|
|
4494
|
+
baseCompile: dr,
|
|
4495
|
+
baseParse: On,
|
|
4496
|
+
buildDirectiveArgs: _r,
|
|
4497
|
+
buildProps: An,
|
|
4498
|
+
buildSlots: or,
|
|
4487
4499
|
checkCompatEnabled: Ue,
|
|
4488
|
-
compile:
|
|
4500
|
+
compile: Na,
|
|
4489
4501
|
convertToBlock: Gt,
|
|
4490
4502
|
createArrayExpression: be,
|
|
4491
|
-
createAssignmentExpression:
|
|
4492
|
-
createBlockStatement:
|
|
4493
|
-
createCacheExpression:
|
|
4503
|
+
createAssignmentExpression: Pi,
|
|
4504
|
+
createBlockStatement: Os,
|
|
4505
|
+
createCacheExpression: ys,
|
|
4494
4506
|
createCallExpression: $,
|
|
4495
4507
|
createCompilerError: P,
|
|
4496
4508
|
createCompoundExpression: de,
|
|
@@ -4498,97 +4510,98 @@ const Na = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4498
4510
|
createDOMCompilerError: ue,
|
|
4499
4511
|
createForLoopParams: At,
|
|
4500
4512
|
createFunctionExpression: Be,
|
|
4501
|
-
createIfStatement:
|
|
4502
|
-
createInterpolation:
|
|
4513
|
+
createIfStatement: Mi,
|
|
4514
|
+
createInterpolation: Di,
|
|
4503
4515
|
createObjectExpression: _e,
|
|
4504
|
-
createObjectProperty:
|
|
4505
|
-
createReturnStatement:
|
|
4506
|
-
createRoot:
|
|
4507
|
-
createSequenceExpression:
|
|
4516
|
+
createObjectProperty: x,
|
|
4517
|
+
createReturnStatement: Vi,
|
|
4518
|
+
createRoot: Ts,
|
|
4519
|
+
createSequenceExpression: Li,
|
|
4508
4520
|
createSimpleExpression: C,
|
|
4509
|
-
createStructuralDirectiveTransform:
|
|
4510
|
-
createTemplateLiteral:
|
|
4511
|
-
createTransformContext:
|
|
4521
|
+
createStructuralDirectiveTransform: In,
|
|
4522
|
+
createTemplateLiteral: Ri,
|
|
4523
|
+
createTransformContext: Gs,
|
|
4512
4524
|
createVNodeCall: Je,
|
|
4513
|
-
errorMessages:
|
|
4514
|
-
extractIdentifiers:
|
|
4525
|
+
errorMessages: Cs,
|
|
4526
|
+
extractIdentifiers: Ne,
|
|
4515
4527
|
findDir: Q,
|
|
4516
4528
|
findProp: Ye,
|
|
4517
|
-
forAliasRE:
|
|
4518
|
-
generate:
|
|
4519
|
-
generateCodeFrame:
|
|
4520
|
-
getBaseTransformPreset:
|
|
4521
|
-
getConstantType:
|
|
4522
|
-
getMemoedVNodeCall:
|
|
4529
|
+
forAliasRE: Bs,
|
|
4530
|
+
generate: qs,
|
|
4531
|
+
generateCodeFrame: gi,
|
|
4532
|
+
getBaseTransformPreset: ur,
|
|
4533
|
+
getConstantType: le,
|
|
4534
|
+
getMemoedVNodeCall: Xs,
|
|
4523
4535
|
getVNodeBlockHelper: Fe,
|
|
4524
4536
|
getVNodeHelper: xe,
|
|
4525
|
-
hasDynamicKeyVBind:
|
|
4537
|
+
hasDynamicKeyVBind: ks,
|
|
4526
4538
|
hasScopeRef: fe,
|
|
4527
4539
|
helperNameMap: Xe,
|
|
4528
|
-
injectProp:
|
|
4529
|
-
isCoreComponent:
|
|
4530
|
-
isFnExpression:
|
|
4531
|
-
isFnExpressionBrowser:
|
|
4532
|
-
isFnExpressionNode:
|
|
4533
|
-
isFunctionType:
|
|
4534
|
-
isInDestructureAssignment:
|
|
4535
|
-
isInNewExpression:
|
|
4536
|
-
isMemberExpression:
|
|
4537
|
-
isMemberExpressionBrowser:
|
|
4538
|
-
isMemberExpressionNode:
|
|
4539
|
-
isReferencedIdentifier:
|
|
4540
|
-
isSimpleIdentifier:
|
|
4541
|
-
isSlotOutlet:
|
|
4542
|
-
isStaticArgOf:
|
|
4540
|
+
injectProp: at,
|
|
4541
|
+
isCoreComponent: gn,
|
|
4542
|
+
isFnExpression: Ls,
|
|
4543
|
+
isFnExpressionBrowser: Ps,
|
|
4544
|
+
isFnExpressionNode: to,
|
|
4545
|
+
isFunctionType: Gi,
|
|
4546
|
+
isInDestructureAssignment: Ui,
|
|
4547
|
+
isInNewExpression: $i,
|
|
4548
|
+
isMemberExpression: Sn,
|
|
4549
|
+
isMemberExpressionBrowser: Ms,
|
|
4550
|
+
isMemberExpressionNode: Zi,
|
|
4551
|
+
isReferencedIdentifier: Fi,
|
|
4552
|
+
isSimpleIdentifier: _t,
|
|
4553
|
+
isSlotOutlet: ot,
|
|
4554
|
+
isStaticArgOf: ve,
|
|
4543
4555
|
isStaticExp: ne,
|
|
4544
|
-
isStaticProperty:
|
|
4545
|
-
isStaticPropertyKey:
|
|
4556
|
+
isStaticProperty: bs,
|
|
4557
|
+
isStaticPropertyKey: Ji,
|
|
4546
4558
|
isTemplateNode: qe,
|
|
4547
|
-
isText:
|
|
4548
|
-
|
|
4559
|
+
isText: Nt,
|
|
4560
|
+
isVPre: rn,
|
|
4561
|
+
isVSlot: Tn,
|
|
4549
4562
|
locStub: W,
|
|
4550
|
-
noopDirectiveTransform:
|
|
4563
|
+
noopDirectiveTransform: fr,
|
|
4551
4564
|
parse: va,
|
|
4552
|
-
parserOptions:
|
|
4565
|
+
parserOptions: xn,
|
|
4553
4566
|
processExpression: Tt,
|
|
4554
|
-
processFor:
|
|
4555
|
-
processIf:
|
|
4556
|
-
processSlotOutlet:
|
|
4557
|
-
registerRuntimeHelpers:
|
|
4558
|
-
resolveComponentType:
|
|
4559
|
-
stringifyExpression:
|
|
4567
|
+
processFor: rr,
|
|
4568
|
+
processIf: tr,
|
|
4569
|
+
processSlotOutlet: pr,
|
|
4570
|
+
registerRuntimeHelpers: Ss,
|
|
4571
|
+
resolveComponentType: cr,
|
|
4572
|
+
stringifyExpression: er,
|
|
4560
4573
|
toValidAssetId: ze,
|
|
4561
|
-
trackSlotScopes:
|
|
4562
|
-
trackVForSlotScopes:
|
|
4563
|
-
transform:
|
|
4564
|
-
transformBind:
|
|
4565
|
-
transformElement:
|
|
4566
|
-
transformExpression:
|
|
4567
|
-
transformModel:
|
|
4568
|
-
transformOn:
|
|
4569
|
-
transformStyle:
|
|
4570
|
-
traverseNode:
|
|
4571
|
-
unwrapTSNode:
|
|
4572
|
-
walkBlockDeclarations:
|
|
4573
|
-
walkFunctionParams:
|
|
4574
|
-
walkIdentifiers:
|
|
4575
|
-
warnDeprecation:
|
|
4576
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
4574
|
+
trackSlotScopes: ir,
|
|
4575
|
+
trackVForSlotScopes: Ho,
|
|
4576
|
+
transform: Js,
|
|
4577
|
+
transformBind: nr,
|
|
4578
|
+
transformElement: lr,
|
|
4579
|
+
transformExpression: Zs,
|
|
4580
|
+
transformModel: Rn,
|
|
4581
|
+
transformOn: Dn,
|
|
4582
|
+
transformStyle: hr,
|
|
4583
|
+
traverseNode: pt,
|
|
4584
|
+
unwrapTSNode: Ds,
|
|
4585
|
+
walkBlockDeclarations: Hi,
|
|
4586
|
+
walkFunctionParams: ji,
|
|
4587
|
+
walkIdentifiers: xi,
|
|
4588
|
+
warnDeprecation: it
|
|
4589
|
+
}, Symbol.toStringTag, { value: "Module" })), Sr = /* @__PURE__ */ pn(ga), Tr = /* @__PURE__ */ pn(Si), yr = /* @__PURE__ */ pn(Ti);
|
|
4577
4590
|
/**
|
|
4578
|
-
* vue v3.5.
|
|
4591
|
+
* vue v3.5.18
|
|
4579
4592
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4580
4593
|
* @license MIT
|
|
4581
4594
|
**/
|
|
4582
|
-
var
|
|
4583
|
-
function
|
|
4584
|
-
return
|
|
4595
|
+
var _s;
|
|
4596
|
+
function Sa() {
|
|
4597
|
+
return _s || (_s = 1, function(e) {
|
|
4585
4598
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
4586
|
-
var t =
|
|
4599
|
+
var t = Sr, n = Tr, r = yr;
|
|
4587
4600
|
function a(o) {
|
|
4588
4601
|
var c = /* @__PURE__ */ Object.create(null);
|
|
4589
4602
|
if (o)
|
|
4590
|
-
for (var
|
|
4591
|
-
c[
|
|
4603
|
+
for (var p in o)
|
|
4604
|
+
c[p] = o[p];
|
|
4592
4605
|
return c.default = o, Object.freeze(c);
|
|
4593
4606
|
}
|
|
4594
4607
|
var i = /* @__PURE__ */ a(n);
|
|
@@ -4599,9 +4612,9 @@ function ga() {
|
|
|
4599
4612
|
o = o.innerHTML;
|
|
4600
4613
|
else
|
|
4601
4614
|
return r.NOOP;
|
|
4602
|
-
const
|
|
4603
|
-
if (
|
|
4604
|
-
return
|
|
4615
|
+
const p = r.genCacheKey(o, c), _ = l[p];
|
|
4616
|
+
if (_)
|
|
4617
|
+
return _;
|
|
4605
4618
|
if (o[0] === "#") {
|
|
4606
4619
|
const f = document.querySelector(o);
|
|
4607
4620
|
o = f ? f.innerHTML : "";
|
|
@@ -4615,8 +4628,8 @@ function ga() {
|
|
|
4615
4628
|
c
|
|
4616
4629
|
);
|
|
4617
4630
|
!u.isCustomElement && typeof customElements < "u" && (u.isCustomElement = (f) => !!customElements.get(f));
|
|
4618
|
-
const { code: d } = t.compile(o, u),
|
|
4619
|
-
return
|
|
4631
|
+
const { code: d } = t.compile(o, u), E = new Function("Vue", d)(i);
|
|
4632
|
+
return E._rc = !0, l[p] = E;
|
|
4620
4633
|
}
|
|
4621
4634
|
n.registerRuntimeCompiler(s), e.compile = s, Object.keys(n).forEach(function(o) {
|
|
4622
4635
|
o !== "default" && !Object.prototype.hasOwnProperty.call(e, o) && (e[o] = n[o]);
|
|
@@ -4625,20 +4638,20 @@ function ga() {
|
|
|
4625
4638
|
}
|
|
4626
4639
|
var en = {};
|
|
4627
4640
|
/**
|
|
4628
|
-
* vue v3.5.
|
|
4641
|
+
* vue v3.5.18
|
|
4629
4642
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4630
4643
|
* @license MIT
|
|
4631
4644
|
**/
|
|
4632
|
-
var
|
|
4633
|
-
function
|
|
4634
|
-
return
|
|
4645
|
+
var ps;
|
|
4646
|
+
function Ta() {
|
|
4647
|
+
return ps || (ps = 1, function(e) {
|
|
4635
4648
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
4636
|
-
var t =
|
|
4649
|
+
var t = Sr, n = Tr, r = yr;
|
|
4637
4650
|
function a(o) {
|
|
4638
4651
|
var c = /* @__PURE__ */ Object.create(null);
|
|
4639
4652
|
if (o)
|
|
4640
|
-
for (var
|
|
4641
|
-
c[
|
|
4653
|
+
for (var p in o)
|
|
4654
|
+
c[p] = o[p];
|
|
4642
4655
|
return c.default = o, Object.freeze(c);
|
|
4643
4656
|
}
|
|
4644
4657
|
var i = /* @__PURE__ */ a(n);
|
|
@@ -4649,47 +4662,47 @@ function Sa() {
|
|
|
4649
4662
|
o = o.innerHTML;
|
|
4650
4663
|
else
|
|
4651
4664
|
return n.warn("invalid template option: ", o), r.NOOP;
|
|
4652
|
-
const
|
|
4653
|
-
if (
|
|
4654
|
-
return
|
|
4665
|
+
const p = r.genCacheKey(o, c), _ = l[p];
|
|
4666
|
+
if (_)
|
|
4667
|
+
return _;
|
|
4655
4668
|
if (o[0] === "#") {
|
|
4656
|
-
const
|
|
4657
|
-
|
|
4669
|
+
const v = document.querySelector(o);
|
|
4670
|
+
v || n.warn(`Template element not found or is empty: ${o}`), o = v ? v.innerHTML : "";
|
|
4658
4671
|
}
|
|
4659
4672
|
const u = r.extend(
|
|
4660
4673
|
{
|
|
4661
4674
|
hoistStatic: !0,
|
|
4662
|
-
onError:
|
|
4663
|
-
onWarn: (
|
|
4675
|
+
onError: E,
|
|
4676
|
+
onWarn: (v) => E(v, !0)
|
|
4664
4677
|
},
|
|
4665
4678
|
c
|
|
4666
4679
|
);
|
|
4667
|
-
!u.isCustomElement && typeof customElements < "u" && (u.isCustomElement = (
|
|
4680
|
+
!u.isCustomElement && typeof customElements < "u" && (u.isCustomElement = (v) => !!customElements.get(v));
|
|
4668
4681
|
const { code: d } = t.compile(o, u);
|
|
4669
|
-
function v
|
|
4670
|
-
const y = O ?
|
|
4682
|
+
function E(v, O = !1) {
|
|
4683
|
+
const y = O ? v.message : `Template compilation error: ${v.message}`, w = v.loc && r.generateCodeFrame(
|
|
4671
4684
|
o,
|
|
4672
|
-
|
|
4673
|
-
|
|
4685
|
+
v.loc.start.offset,
|
|
4686
|
+
v.loc.end.offset
|
|
4674
4687
|
);
|
|
4675
4688
|
n.warn(w ? `${y}
|
|
4676
4689
|
${w}` : y);
|
|
4677
4690
|
}
|
|
4678
4691
|
const f = new Function("Vue", d)(i);
|
|
4679
|
-
return f._rc = !0, l[
|
|
4692
|
+
return f._rc = !0, l[p] = f;
|
|
4680
4693
|
}
|
|
4681
4694
|
n.registerRuntimeCompiler(s), e.compile = s, Object.keys(n).forEach(function(o) {
|
|
4682
4695
|
o !== "default" && !Object.prototype.hasOwnProperty.call(e, o) && (e[o] = n[o]);
|
|
4683
4696
|
});
|
|
4684
4697
|
}(en)), en;
|
|
4685
4698
|
}
|
|
4686
|
-
var
|
|
4687
|
-
function Ta() {
|
|
4688
|
-
return _s || (_s = 1, process.env.NODE_ENV === "production" ? dt.exports = ga() : dt.exports = Sa()), dt.exports;
|
|
4689
|
-
}
|
|
4690
|
-
var ps;
|
|
4699
|
+
var us;
|
|
4691
4700
|
function ya() {
|
|
4692
|
-
return
|
|
4701
|
+
return us || (us = 1, process.env.NODE_ENV === "production" ? ft.exports = Sa() : ft.exports = Ta()), ft.exports;
|
|
4702
|
+
}
|
|
4703
|
+
var ds;
|
|
4704
|
+
function Oa() {
|
|
4705
|
+
return ds || (ds = 1, function(e) {
|
|
4693
4706
|
(function() {
|
|
4694
4707
|
var t = {
|
|
4695
4708
|
/***/
|
|
@@ -4697,7 +4710,7 @@ function ya() {
|
|
|
4697
4710
|
/***/
|
|
4698
4711
|
function(i, l, s) {
|
|
4699
4712
|
s.r(l);
|
|
4700
|
-
var o = s(246), c = /* @__PURE__ */ s.n(o),
|
|
4713
|
+
var o = s(246), c = /* @__PURE__ */ s.n(o), p = s(143), _ = /* @__PURE__ */ s.n(p), u = _()(c());
|
|
4701
4714
|
u.push([i.id, ".no-margin-padding[data-v-3c430bce]{margin:0;padding:0}.margin-left-sm[data-v-3c430bce]{margin-left:8px}.assignment[data-v-3c430bce]{color:var(--xml-viewer-assignment-color)}.quote[data-v-3c430bce]{color:var(--xml-viewer-quote-color)}", ""]), l.default = u;
|
|
4702
4715
|
}
|
|
4703
4716
|
),
|
|
@@ -4706,7 +4719,7 @@ function ya() {
|
|
|
4706
4719
|
/***/
|
|
4707
4720
|
function(i, l, s) {
|
|
4708
4721
|
s.r(l);
|
|
4709
|
-
var o = s(246), c = /* @__PURE__ */ s.n(o),
|
|
4722
|
+
var o = s(246), c = /* @__PURE__ */ s.n(o), p = s(143), _ = /* @__PURE__ */ s.n(p), u = _()(c());
|
|
4710
4723
|
u.push([i.id, ".attribute-name[data-v-17010745]{color:var(--xml-viewer-attribute-name-color)}", ""]), l.default = u;
|
|
4711
4724
|
}
|
|
4712
4725
|
),
|
|
@@ -4715,7 +4728,7 @@ function ya() {
|
|
|
4715
4728
|
/***/
|
|
4716
4729
|
function(i, l, s) {
|
|
4717
4730
|
s.r(l);
|
|
4718
|
-
var o = s(246), c = /* @__PURE__ */ s.n(o),
|
|
4731
|
+
var o = s(246), c = /* @__PURE__ */ s.n(o), p = s(143), _ = /* @__PURE__ */ s.n(p), u = _()(c());
|
|
4719
4732
|
u.push([i.id, ".attribute-value[data-v-36c46cbc]{color:var(--xml-viewer-attribute-value-color);padding:0;margin:0}", ""]), l.default = u;
|
|
4720
4733
|
}
|
|
4721
4734
|
),
|
|
@@ -4724,7 +4737,7 @@ function ya() {
|
|
|
4724
4737
|
/***/
|
|
4725
4738
|
function(i, l, s) {
|
|
4726
4739
|
s.r(l);
|
|
4727
|
-
var o = s(246), c = /* @__PURE__ */ s.n(o),
|
|
4740
|
+
var o = s(246), c = /* @__PURE__ */ s.n(o), p = s(143), _ = /* @__PURE__ */ s.n(p), u = _()(c());
|
|
4728
4741
|
u.push([i.id, ".content[data-v-0fce587a]{color:var(--xml-viewer-cdata-content-color)}.inline[data-v-0fce587a]{display:inline}.no-margin-padding[data-v-0fce587a]{margin:0;padding:0}", ""]), l.default = u;
|
|
4729
4742
|
}
|
|
4730
4743
|
),
|
|
@@ -4733,7 +4746,7 @@ function ya() {
|
|
|
4733
4746
|
/***/
|
|
4734
4747
|
function(i, l, s) {
|
|
4735
4748
|
s.r(l);
|
|
4736
|
-
var o = s(246), c = /* @__PURE__ */ s.n(o),
|
|
4749
|
+
var o = s(246), c = /* @__PURE__ */ s.n(o), p = s(143), _ = /* @__PURE__ */ s.n(p), u = _()(c());
|
|
4737
4750
|
u.push([i.id, ".xml-element[data-v-d071a178]{white-space:nowrap;font-size:14px;font-family:Consolas,Menlo,Courier,monospace}.bracket[data-v-d071a178],.caret[data-v-d071a178],.dots[data-v-d071a178]{color:var(--xml-viewer-bracket-color)}.caret[data-v-d071a178]{fill:var(--xml-viewer-bracket-color)}.child-elements>div[data-v-d071a178]{margin-left:20px}.clickable[data-v-d071a178]{cursor:pointer}", ""]), l.default = u;
|
|
4738
4751
|
}
|
|
4739
4752
|
),
|
|
@@ -4742,7 +4755,7 @@ function ya() {
|
|
|
4742
4755
|
/***/
|
|
4743
4756
|
function(i, l, s) {
|
|
4744
4757
|
s.r(l);
|
|
4745
|
-
var o = s(246), c = /* @__PURE__ */ s.n(o),
|
|
4758
|
+
var o = s(246), c = /* @__PURE__ */ s.n(o), p = s(143), _ = /* @__PURE__ */ s.n(p), u = _()(c());
|
|
4746
4759
|
u.push([i.id, ".content[data-v-75f773a5]{color:var(--xml-viewer-element-content-color)}", ""]), l.default = u;
|
|
4747
4760
|
}
|
|
4748
4761
|
),
|
|
@@ -4751,7 +4764,7 @@ function ya() {
|
|
|
4751
4764
|
/***/
|
|
4752
4765
|
function(i, l, s) {
|
|
4753
4766
|
s.r(l);
|
|
4754
|
-
var o = s(246), c = /* @__PURE__ */ s.n(o),
|
|
4767
|
+
var o = s(246), c = /* @__PURE__ */ s.n(o), p = s(143), _ = /* @__PURE__ */ s.n(p), u = _()(c());
|
|
4755
4768
|
u.push([i.id, ".bracket[data-v-5a0ac6a5]{color:var(--xml-viewer-bracket-color)}.element-name[data-v-5a0ac6a5]{color:var(--xml-viewer-element-name-color)}", ""]), l.default = u;
|
|
4756
4769
|
}
|
|
4757
4770
|
),
|
|
@@ -4760,7 +4773,7 @@ function ya() {
|
|
|
4760
4773
|
/***/
|
|
4761
4774
|
function(i, l, s) {
|
|
4762
4775
|
s.r(l);
|
|
4763
|
-
var o = s(246), c = /* @__PURE__ */ s.n(o),
|
|
4776
|
+
var o = s(246), c = /* @__PURE__ */ s.n(o), p = s(143), _ = /* @__PURE__ */ s.n(p), u = _()(c());
|
|
4764
4777
|
u.push([i.id, ".content[data-v-7bc574c6]{color:var(--xml-viewer-remark-content-color)}.inline[data-v-7bc574c6]{display:inline}.no-margin-padding[data-v-7bc574c6]{margin:0;padding:0}", ""]), l.default = u;
|
|
4765
4778
|
}
|
|
4766
4779
|
),
|
|
@@ -4769,7 +4782,7 @@ function ya() {
|
|
|
4769
4782
|
/***/
|
|
4770
4783
|
function(i, l, s) {
|
|
4771
4784
|
s.r(l);
|
|
4772
|
-
var o = s(246), c = /* @__PURE__ */ s.n(o),
|
|
4785
|
+
var o = s(246), c = /* @__PURE__ */ s.n(o), p = s(143), _ = /* @__PURE__ */ s.n(p), u = _()(c());
|
|
4773
4786
|
u.push([i.id, ":root{--xml-viewer-bracket-color:#111;--xml-viewer-assignment-color:#986801;--xml-viewer-quote-color:#50a14f;--xml-viewer-attribute-name-color:#986801;--xml-viewer-attribute-value-color:#50a14f;--xml-viewer-cdata-content-color:#50a14f;--xml-viewer-element-content-color:#383a42;--xml-viewer-element-name-color:#e45649;--xml-viewer-remark-content-color:#a0a1a7}.dark{--xml-viewer-bracket-color:#e1e4e8;--xml-viewer-assignment-color:#b392f0;--xml-viewer-quote-color:#9ecbff;--xml-viewer-attribute-name-color:#b392f0;--xml-viewer-attribute-value-color:#9ecbff;--xml-viewer-cdata-content-color:#9ecbff;--xml-viewer-element-content-color:#e1e4e8;--xml-viewer-element-name-color:#85e89d;--xml-viewer-remark-content-color:#6a737d}", ""]), l.default = u;
|
|
4774
4787
|
}
|
|
4775
4788
|
),
|
|
@@ -4781,20 +4794,20 @@ function ya() {
|
|
|
4781
4794
|
var s = [];
|
|
4782
4795
|
return s.toString = function() {
|
|
4783
4796
|
return this.map(function(c) {
|
|
4784
|
-
var
|
|
4785
|
-
return c[4] && (
|
|
4797
|
+
var p = "", _ = typeof c[5] < "u";
|
|
4798
|
+
return c[4] && (p += "@supports (".concat(c[4], ") {")), c[2] && (p += "@media ".concat(c[2], " {")), _ && (p += "@layer".concat(c[5].length > 0 ? " ".concat(c[5]) : "", " {")), p += l(c), _ && (p += "}"), c[2] && (p += "}"), c[4] && (p += "}"), p;
|
|
4786
4799
|
}).join("");
|
|
4787
|
-
}, s.i = function(c,
|
|
4800
|
+
}, s.i = function(c, p, _, u, d) {
|
|
4788
4801
|
typeof c == "string" && (c = [[null, c, void 0]]);
|
|
4789
|
-
var
|
|
4790
|
-
if (
|
|
4802
|
+
var E = {};
|
|
4803
|
+
if (_)
|
|
4791
4804
|
for (var f = 0; f < this.length; f++) {
|
|
4792
|
-
var
|
|
4793
|
-
|
|
4805
|
+
var v = this[f][0];
|
|
4806
|
+
v != null && (E[v] = !0);
|
|
4794
4807
|
}
|
|
4795
4808
|
for (var O = 0; O < c.length; O++) {
|
|
4796
4809
|
var y = [].concat(c[O]);
|
|
4797
|
-
|
|
4810
|
+
_ && E[y[0]] || (typeof d < "u" && (typeof y[5] > "u" || (y[1] = "@layer".concat(y[5].length > 0 ? " ".concat(y[5]) : "", " {").concat(y[1], "}")), y[5] = d), p && (y[2] && (y[1] = "@media ".concat(y[2], " {").concat(y[1], "}")), y[2] = p), u && (y[4] ? (y[1] = "@supports (".concat(y[4], ") {").concat(y[1], "}"), y[4] = u) : y[4] = "".concat(u)), s.push(y));
|
|
4798
4811
|
}
|
|
4799
4812
|
}, s;
|
|
4800
4813
|
};
|
|
@@ -4815,8 +4828,8 @@ function ya() {
|
|
|
4815
4828
|
function(i, l) {
|
|
4816
4829
|
l.A = (s, o) => {
|
|
4817
4830
|
const c = s.__vccOpts || s;
|
|
4818
|
-
for (const [
|
|
4819
|
-
c[
|
|
4831
|
+
for (const [p, _] of o)
|
|
4832
|
+
c[p] = _;
|
|
4820
4833
|
return c;
|
|
4821
4834
|
};
|
|
4822
4835
|
}
|
|
@@ -4924,23 +4937,23 @@ function ya() {
|
|
|
4924
4937
|
}
|
|
4925
4938
|
});
|
|
4926
4939
|
function o(m, S) {
|
|
4927
|
-
for (var
|
|
4940
|
+
for (var N = [], g = {}, T = 0; T < S.length; T++) {
|
|
4928
4941
|
var A = S[T], M = A[0], ee = A[1], q = A[2], Te = A[3], H = {
|
|
4929
4942
|
id: m + ":" + T,
|
|
4930
4943
|
css: ee,
|
|
4931
4944
|
media: q,
|
|
4932
4945
|
sourceMap: Te
|
|
4933
4946
|
};
|
|
4934
|
-
g[M] ? g[M].parts.push(H) :
|
|
4947
|
+
g[M] ? g[M].parts.push(H) : N.push(g[M] = { id: M, parts: [H] });
|
|
4935
4948
|
}
|
|
4936
|
-
return
|
|
4949
|
+
return N;
|
|
4937
4950
|
}
|
|
4938
4951
|
var c = typeof document < "u";
|
|
4939
4952
|
if (typeof DEBUG < "u" && DEBUG && !c)
|
|
4940
4953
|
throw new Error(
|
|
4941
4954
|
"vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment."
|
|
4942
4955
|
);
|
|
4943
|
-
var
|
|
4956
|
+
var p = {
|
|
4944
4957
|
/*
|
|
4945
4958
|
[id: number]: {
|
|
4946
4959
|
id: number,
|
|
@@ -4948,14 +4961,14 @@ function ya() {
|
|
|
4948
4961
|
parts: Array<(obj?: StyleObjectPart) => void>
|
|
4949
4962
|
}
|
|
4950
4963
|
*/
|
|
4951
|
-
},
|
|
4952
|
-
},
|
|
4953
|
-
function w(m, S,
|
|
4954
|
-
|
|
4964
|
+
}, _ = c && (document.head || document.getElementsByTagName("head")[0]), u = null, d = 0, E = !1, f = function() {
|
|
4965
|
+
}, v = null, O = "data-vue-ssr-id", y = typeof navigator < "u" && /msie [6-9]\b/.test(navigator.userAgent.toLowerCase());
|
|
4966
|
+
function w(m, S, N, g) {
|
|
4967
|
+
E = N, v = g || {};
|
|
4955
4968
|
var T = o(m, S);
|
|
4956
4969
|
return se(T), function(M) {
|
|
4957
4970
|
for (var ee = [], q = 0; q < T.length; q++) {
|
|
4958
|
-
var Te = T[q], H =
|
|
4971
|
+
var Te = T[q], H = p[Te.id];
|
|
4959
4972
|
H.refs--, ee.push(H);
|
|
4960
4973
|
}
|
|
4961
4974
|
M ? (T = o(m, M), se(T)) : T = [];
|
|
@@ -4964,44 +4977,44 @@ function ya() {
|
|
|
4964
4977
|
if (H.refs === 0) {
|
|
4965
4978
|
for (var pe = 0; pe < H.parts.length; pe++)
|
|
4966
4979
|
H.parts[pe]();
|
|
4967
|
-
delete
|
|
4980
|
+
delete p[H.id];
|
|
4968
4981
|
}
|
|
4969
4982
|
}
|
|
4970
4983
|
};
|
|
4971
4984
|
}
|
|
4972
4985
|
function se(m) {
|
|
4973
4986
|
for (var S = 0; S < m.length; S++) {
|
|
4974
|
-
var
|
|
4987
|
+
var N = m[S], g = p[N.id];
|
|
4975
4988
|
if (g) {
|
|
4976
4989
|
g.refs++;
|
|
4977
4990
|
for (var T = 0; T < g.parts.length; T++)
|
|
4978
|
-
g.parts[T](
|
|
4979
|
-
for (; T <
|
|
4980
|
-
g.parts.push(
|
|
4981
|
-
g.parts.length >
|
|
4991
|
+
g.parts[T](N.parts[T]);
|
|
4992
|
+
for (; T < N.parts.length; T++)
|
|
4993
|
+
g.parts.push(re(N.parts[T]));
|
|
4994
|
+
g.parts.length > N.parts.length && (g.parts.length = N.parts.length);
|
|
4982
4995
|
} else {
|
|
4983
|
-
for (var A = [], T = 0; T <
|
|
4984
|
-
A.push(
|
|
4985
|
-
|
|
4996
|
+
for (var A = [], T = 0; T < N.parts.length; T++)
|
|
4997
|
+
A.push(re(N.parts[T]));
|
|
4998
|
+
p[N.id] = { id: N.id, refs: 1, parts: A };
|
|
4986
4999
|
}
|
|
4987
5000
|
}
|
|
4988
5001
|
}
|
|
4989
|
-
function
|
|
5002
|
+
function F() {
|
|
4990
5003
|
var m = document.createElement("style");
|
|
4991
|
-
return m.type = "text/css",
|
|
5004
|
+
return m.type = "text/css", _.appendChild(m), m;
|
|
4992
5005
|
}
|
|
4993
|
-
function
|
|
4994
|
-
var S,
|
|
5006
|
+
function re(m) {
|
|
5007
|
+
var S, N, g = document.querySelector("style[" + O + '~="' + m.id + '"]');
|
|
4995
5008
|
if (g) {
|
|
4996
|
-
if (
|
|
5009
|
+
if (E)
|
|
4997
5010
|
return f;
|
|
4998
5011
|
g.parentNode.removeChild(g);
|
|
4999
5012
|
}
|
|
5000
5013
|
if (y) {
|
|
5001
5014
|
var T = d++;
|
|
5002
|
-
g = u || (u =
|
|
5015
|
+
g = u || (u = F()), S = b.bind(null, g, T, !1), N = b.bind(null, g, T, !0);
|
|
5003
5016
|
} else
|
|
5004
|
-
g =
|
|
5017
|
+
g = F(), S = I.bind(null, g), N = function() {
|
|
5005
5018
|
g.parentNode.removeChild(g);
|
|
5006
5019
|
};
|
|
5007
5020
|
return S(m), function(M) {
|
|
@@ -5010,18 +5023,18 @@ function ya() {
|
|
|
5010
5023
|
return;
|
|
5011
5024
|
S(m = M);
|
|
5012
5025
|
} else
|
|
5013
|
-
|
|
5026
|
+
N();
|
|
5014
5027
|
};
|
|
5015
5028
|
}
|
|
5016
5029
|
var X = /* @__PURE__ */ function() {
|
|
5017
5030
|
var m = [];
|
|
5018
|
-
return function(S,
|
|
5019
|
-
return m[S] =
|
|
5031
|
+
return function(S, N) {
|
|
5032
|
+
return m[S] = N, m.filter(Boolean).join(`
|
|
5020
5033
|
`);
|
|
5021
5034
|
};
|
|
5022
5035
|
}();
|
|
5023
|
-
function b(m, S,
|
|
5024
|
-
var T =
|
|
5036
|
+
function b(m, S, N, g) {
|
|
5037
|
+
var T = N ? "" : g.css;
|
|
5025
5038
|
if (m.styleSheet)
|
|
5026
5039
|
m.styleSheet.cssText = X(S, T);
|
|
5027
5040
|
else {
|
|
@@ -5030,15 +5043,15 @@ function ya() {
|
|
|
5030
5043
|
}
|
|
5031
5044
|
}
|
|
5032
5045
|
function I(m, S) {
|
|
5033
|
-
var
|
|
5034
|
-
if (g && m.setAttribute("media", g),
|
|
5035
|
-
/*# sourceURL=` + T.sources[0] + " */",
|
|
5046
|
+
var N = S.css, g = S.media, T = S.sourceMap;
|
|
5047
|
+
if (g && m.setAttribute("media", g), v.ssrId && m.setAttribute(O, S.id), T && (N += `
|
|
5048
|
+
/*# sourceURL=` + T.sources[0] + " */", N += `
|
|
5036
5049
|
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(T)))) + " */"), m.styleSheet)
|
|
5037
|
-
m.styleSheet.cssText =
|
|
5050
|
+
m.styleSheet.cssText = N;
|
|
5038
5051
|
else {
|
|
5039
5052
|
for (; m.firstChild; )
|
|
5040
5053
|
m.removeChild(m.firstChild);
|
|
5041
|
-
m.appendChild(document.createTextNode(
|
|
5054
|
+
m.appendChild(document.createTextNode(N));
|
|
5042
5055
|
}
|
|
5043
5056
|
}
|
|
5044
5057
|
}
|
|
@@ -5097,7 +5110,7 @@ function ya() {
|
|
|
5097
5110
|
default: function() {
|
|
5098
5111
|
return (
|
|
5099
5112
|
/* binding */
|
|
5100
|
-
|
|
5113
|
+
li
|
|
5101
5114
|
);
|
|
5102
5115
|
}
|
|
5103
5116
|
}), typeof window < "u") {
|
|
@@ -5105,18 +5118,18 @@ function ya() {
|
|
|
5105
5118
|
l && (r.p = l[1]);
|
|
5106
5119
|
}
|
|
5107
5120
|
r(417);
|
|
5108
|
-
var s =
|
|
5121
|
+
var s = ya();
|
|
5109
5122
|
function o(h, L, K, B, G, te) {
|
|
5110
|
-
const
|
|
5123
|
+
const ie = (0, s.resolveComponent)("XmlElement");
|
|
5111
5124
|
return (0, s.openBlock)(), (0, s.createElementBlock)("div", {
|
|
5112
5125
|
class: (0, s.normalizeClass)(h.theme)
|
|
5113
|
-
}, [(0, s.createVNode)(
|
|
5126
|
+
}, [(0, s.createVNode)(ie, {
|
|
5114
5127
|
node: h.rootNode
|
|
5115
5128
|
}, null, 8, ["node"])], 2);
|
|
5116
5129
|
}
|
|
5117
|
-
const c = (h) => ((0, s.pushScopeId)("data-v-d071a178"), h = h(), (0, s.popScopeId)(), h),
|
|
5130
|
+
const c = (h) => ((0, s.pushScopeId)("data-v-d071a178"), h = h(), (0, s.popScopeId)(), h), p = {
|
|
5118
5131
|
class: "xml-element"
|
|
5119
|
-
},
|
|
5132
|
+
}, _ = /* @__PURE__ */ c(() => /* @__PURE__ */ (0, s.createElementVNode)("span", {
|
|
5120
5133
|
class: "bracket"
|
|
5121
5134
|
}, "<", -1)), u = {
|
|
5122
5135
|
key: 2,
|
|
@@ -5124,12 +5137,12 @@ function ya() {
|
|
|
5124
5137
|
}, d = {
|
|
5125
5138
|
key: 3,
|
|
5126
5139
|
class: "dots"
|
|
5127
|
-
},
|
|
5140
|
+
}, E = /* @__PURE__ */ c(() => /* @__PURE__ */ (0, s.createElementVNode)("span", {
|
|
5128
5141
|
class: "bracket"
|
|
5129
5142
|
}, ">", -1)), f = {
|
|
5130
5143
|
key: 0,
|
|
5131
5144
|
class: "child-elements"
|
|
5132
|
-
},
|
|
5145
|
+
}, v = {
|
|
5133
5146
|
key: 1
|
|
5134
5147
|
}, O = /* @__PURE__ */ c(() => /* @__PURE__ */ (0, s.createElementVNode)("span", {
|
|
5135
5148
|
class: "bracket"
|
|
@@ -5137,37 +5150,37 @@ function ya() {
|
|
|
5137
5150
|
class: "bracket"
|
|
5138
5151
|
}, ">", -1));
|
|
5139
5152
|
function w(h, L, K, B, G, te) {
|
|
5140
|
-
const
|
|
5141
|
-
return (0, s.openBlock)(), (0, s.createElementBlock)("div",
|
|
5153
|
+
const ie = (0, s.resolveComponent)("CaretDown"), ye = (0, s.resolveComponent)("CaretRight"), $e = (0, s.resolveComponent)("XmlElementName"), qt = (0, s.resolveComponent)("XmlAttributeLine"), Un = (0, s.resolveComponent)("XmlElement", !0), me = (0, s.resolveComponent)("XmlElementContent"), ci = (0, s.resolveComponent)("XmlCDataSection"), _i = (0, s.resolveComponent)("XmlRemark");
|
|
5154
|
+
return (0, s.openBlock)(), (0, s.createElementBlock)("div", p, [(0, s.createElementVNode)("div", null, [h.selfClosing ? (0, s.createCommentVNode)("", !0) : ((0, s.openBlock)(), (0, s.createElementBlock)(s.Fragment, {
|
|
5142
5155
|
key: 0
|
|
5143
5156
|
}, [h.collapsed ? ((0, s.openBlock)(), (0, s.createBlock)(ye, {
|
|
5144
5157
|
key: 1,
|
|
5145
5158
|
class: "caret",
|
|
5146
5159
|
onClick: h.toggleCollapsed
|
|
5147
|
-
}, null, 8, ["onClick"])) : ((0, s.openBlock)(), (0, s.createBlock)(
|
|
5160
|
+
}, null, 8, ["onClick"])) : ((0, s.openBlock)(), (0, s.createBlock)(ie, {
|
|
5148
5161
|
key: 0,
|
|
5149
5162
|
class: "caret",
|
|
5150
5163
|
onClick: h.toggleCollapsed
|
|
5151
|
-
}, null, 8, ["onClick"]))], 64)),
|
|
5164
|
+
}, null, 8, ["onClick"]))], 64)), _, (0, s.createVNode)($e, {
|
|
5152
5165
|
class: "clickable",
|
|
5153
5166
|
name: h.name,
|
|
5154
5167
|
onClick: h.toggleCollapsed
|
|
5155
5168
|
}, null, 8, ["name", "onClick"]), h.collapsed ? (0, s.createCommentVNode)("", !0) : ((0, s.openBlock)(), (0, s.createBlock)(qt, {
|
|
5156
5169
|
key: 1,
|
|
5157
5170
|
attributes: h.attributes
|
|
5158
|
-
}, null, 8, ["attributes"])), h.selfClosing && !h.collapsed ? ((0, s.openBlock)(), (0, s.createElementBlock)("span", u, " /")) : (0, s.createCommentVNode)("", !0), h.selfClosing && h.collapsed ? ((0, s.openBlock)(), (0, s.createElementBlock)("span", d, " ...")) : (0, s.createCommentVNode)("", !0),
|
|
5171
|
+
}, null, 8, ["attributes"])), h.selfClosing && !h.collapsed ? ((0, s.openBlock)(), (0, s.createElementBlock)("span", u, " /")) : (0, s.createCommentVNode)("", !0), h.selfClosing && h.collapsed ? ((0, s.openBlock)(), (0, s.createElementBlock)("span", d, " ...")) : (0, s.createCommentVNode)("", !0), E]), h.collapsed ? (0, s.createCommentVNode)("", !0) : ((0, s.openBlock)(), (0, s.createElementBlock)("div", f, [(0, s.createElementVNode)("div", null, [((0, s.openBlock)(!0), (0, s.createElementBlock)(s.Fragment, null, (0, s.renderList)(h.childElements, (Me, Pe) => ((0, s.openBlock)(), (0, s.createBlock)(Un, {
|
|
5159
5172
|
key: `e${Pe}`,
|
|
5160
5173
|
node: Me
|
|
5161
|
-
}, null, 8, ["node"]))), 128)), ((0, s.openBlock)(!0), (0, s.createElementBlock)(s.Fragment, null, (0, s.renderList)(h.childContents, (Me, Pe) => ((0, s.openBlock)(), (0, s.createBlock)(
|
|
5174
|
+
}, null, 8, ["node"]))), 128)), ((0, s.openBlock)(!0), (0, s.createElementBlock)(s.Fragment, null, (0, s.renderList)(h.childContents, (Me, Pe) => ((0, s.openBlock)(), (0, s.createBlock)(me, {
|
|
5162
5175
|
key: `t${Pe}`,
|
|
5163
5176
|
node: Me
|
|
5164
|
-
}, null, 8, ["node"]))), 128)), ((0, s.openBlock)(!0), (0, s.createElementBlock)(s.Fragment, null, (0, s.renderList)(h.cdataSections, (Me, Pe) => ((0, s.openBlock)(), (0, s.createBlock)(
|
|
5177
|
+
}, null, 8, ["node"]))), 128)), ((0, s.openBlock)(!0), (0, s.createElementBlock)(s.Fragment, null, (0, s.renderList)(h.cdataSections, (Me, Pe) => ((0, s.openBlock)(), (0, s.createBlock)(ci, {
|
|
5165
5178
|
key: `c${Pe}`,
|
|
5166
5179
|
cdataSection: Me
|
|
5167
|
-
}, null, 8, ["cdataSection"]))), 128)), ((0, s.openBlock)(!0), (0, s.createElementBlock)(s.Fragment, null, (0, s.renderList)(h.remarks, (Me, Pe) => ((0, s.openBlock)(), (0, s.createBlock)(
|
|
5180
|
+
}, null, 8, ["cdataSection"]))), 128)), ((0, s.openBlock)(!0), (0, s.createElementBlock)(s.Fragment, null, (0, s.renderList)(h.remarks, (Me, Pe) => ((0, s.openBlock)(), (0, s.createBlock)(_i, {
|
|
5168
5181
|
key: `r${Pe}`,
|
|
5169
5182
|
remark: Me
|
|
5170
|
-
}, null, 8, ["remark"]))), 128))])])), !h.selfClosing && !h.collapsed ? ((0, s.openBlock)(), (0, s.createElementBlock)("div",
|
|
5183
|
+
}, null, 8, ["remark"]))), 128))])])), !h.selfClosing && !h.collapsed ? ((0, s.openBlock)(), (0, s.createElementBlock)("div", v, [O, (0, s.createVNode)($e, {
|
|
5171
5184
|
name: h.name,
|
|
5172
5185
|
closing: !0
|
|
5173
5186
|
}, null, 8, ["name"]), y])) : (0, s.createCommentVNode)("", !0)]);
|
|
@@ -5176,13 +5189,13 @@ function ya() {
|
|
|
5176
5189
|
key: 0,
|
|
5177
5190
|
class: "bracket"
|
|
5178
5191
|
};
|
|
5179
|
-
function
|
|
5192
|
+
function F(h, L, K, B, G, te) {
|
|
5180
5193
|
return (0, s.openBlock)(), (0, s.createElementBlock)("span", null, [h.closing ? ((0, s.openBlock)(), (0, s.createElementBlock)("span", se, "/")) : (0, s.createCommentVNode)("", !0), (0, s.createElementVNode)("span", {
|
|
5181
|
-
onClick: L[0] || (L[0] = (...
|
|
5194
|
+
onClick: L[0] || (L[0] = (...ie) => h.onClick && h.onClick(...ie)),
|
|
5182
5195
|
class: "element-name"
|
|
5183
5196
|
}, (0, s.toDisplayString)(h.name), 1)]);
|
|
5184
5197
|
}
|
|
5185
|
-
var
|
|
5198
|
+
var re = (0, s.defineComponent)({
|
|
5186
5199
|
props: {
|
|
5187
5200
|
name: String,
|
|
5188
5201
|
closing: Boolean
|
|
@@ -5199,14 +5212,14 @@ function ya() {
|
|
|
5199
5212
|
emits: ["click"]
|
|
5200
5213
|
});
|
|
5201
5214
|
r(643);
|
|
5202
|
-
var X = r(708), I = /* @__PURE__ */ (0, X.A)(
|
|
5215
|
+
var X = r(708), I = /* @__PURE__ */ (0, X.A)(re, [["render", F], ["__scopeId", "data-v-5a0ac6a5"]]);
|
|
5203
5216
|
const m = {
|
|
5204
5217
|
class: "content"
|
|
5205
5218
|
};
|
|
5206
5219
|
function S(h, L, K, B, G, te) {
|
|
5207
5220
|
return (0, s.openBlock)(), (0, s.createElementBlock)("div", null, [(0, s.createElementVNode)("div", m, (0, s.toDisplayString)(h.content), 1)]);
|
|
5208
5221
|
}
|
|
5209
|
-
var
|
|
5222
|
+
var N = (0, s.defineComponent)({
|
|
5210
5223
|
props: {
|
|
5211
5224
|
node: Text
|
|
5212
5225
|
},
|
|
@@ -5217,10 +5230,10 @@ function ya() {
|
|
|
5217
5230
|
}
|
|
5218
5231
|
});
|
|
5219
5232
|
r(174);
|
|
5220
|
-
var T = /* @__PURE__ */ (0, X.A)(
|
|
5233
|
+
var T = /* @__PURE__ */ (0, X.A)(N, [["render", S], ["__scopeId", "data-v-75f773a5"]]);
|
|
5221
5234
|
function A(h, L, K, B, G, te) {
|
|
5222
|
-
const
|
|
5223
|
-
return (0, s.openBlock)(), (0, s.createElementBlock)("span", null, [((0, s.openBlock)(!0), (0, s.createElementBlock)(s.Fragment, null, (0, s.renderList)(h.attributes, (ye, $e) => ((0, s.openBlock)(), (0, s.createBlock)(
|
|
5235
|
+
const ie = (0, s.resolveComponent)("XmlAttribute");
|
|
5236
|
+
return (0, s.openBlock)(), (0, s.createElementBlock)("span", null, [((0, s.openBlock)(!0), (0, s.createElementBlock)(s.Fragment, null, (0, s.renderList)(h.attributes, (ye, $e) => ((0, s.openBlock)(), (0, s.createBlock)(ie, {
|
|
5224
5237
|
key: $e,
|
|
5225
5238
|
attribute: ye
|
|
5226
5239
|
}, null, 8, ["attribute"]))), 128))]);
|
|
@@ -5233,8 +5246,8 @@ function ya() {
|
|
|
5233
5246
|
class: "no-margin-padding quote"
|
|
5234
5247
|
}, '"', -1));
|
|
5235
5248
|
function H(h, L, K, B, G, te) {
|
|
5236
|
-
const
|
|
5237
|
-
return (0, s.openBlock)(), (0, s.createElementBlock)("span", null, [(0, s.createVNode)(
|
|
5249
|
+
const ie = (0, s.resolveComponent)("XmlAttributeName"), ye = (0, s.resolveComponent)("XmlAttributeValue");
|
|
5250
|
+
return (0, s.openBlock)(), (0, s.createElementBlock)("span", null, [(0, s.createVNode)(ie, {
|
|
5238
5251
|
name: h.name,
|
|
5239
5252
|
class: "margin-left-sm"
|
|
5240
5253
|
}, null, 8, ["name"]), ee, q, (0, s.createVNode)(ye, {
|
|
@@ -5248,30 +5261,30 @@ function ya() {
|
|
|
5248
5261
|
function Re(h, L, K, B, G, te) {
|
|
5249
5262
|
return (0, s.openBlock)(), (0, s.createElementBlock)("span", null, [(0, s.createElementVNode)("span", pe, (0, s.toDisplayString)(h.name), 1)]);
|
|
5250
5263
|
}
|
|
5251
|
-
var
|
|
5264
|
+
var Ir = (0, s.defineComponent)({
|
|
5252
5265
|
props: {
|
|
5253
5266
|
name: String
|
|
5254
5267
|
}
|
|
5255
5268
|
});
|
|
5256
5269
|
r(656);
|
|
5257
|
-
var
|
|
5258
|
-
const
|
|
5270
|
+
var Cr = /* @__PURE__ */ (0, X.A)(Ir, [["render", Re], ["__scopeId", "data-v-17010745"]]);
|
|
5271
|
+
const br = {
|
|
5259
5272
|
class: "attribute-value"
|
|
5260
5273
|
};
|
|
5261
|
-
function
|
|
5262
|
-
return (0, s.openBlock)(), (0, s.createElementBlock)("span", null, [(0, s.createElementVNode)("span",
|
|
5274
|
+
function Ar(h, L, K, B, G, te) {
|
|
5275
|
+
return (0, s.openBlock)(), (0, s.createElementBlock)("span", null, [(0, s.createElementVNode)("span", br, (0, s.toDisplayString)(h.value), 1)]);
|
|
5263
5276
|
}
|
|
5264
|
-
var
|
|
5277
|
+
var Dr = (0, s.defineComponent)({
|
|
5265
5278
|
props: {
|
|
5266
5279
|
value: String
|
|
5267
5280
|
}
|
|
5268
5281
|
});
|
|
5269
5282
|
r(679);
|
|
5270
|
-
var
|
|
5283
|
+
var Rr = /* @__PURE__ */ (0, X.A)(Dr, [["render", Ar], ["__scopeId", "data-v-36c46cbc"]]), Mr = (0, s.defineComponent)({
|
|
5271
5284
|
name: "XmlElement",
|
|
5272
5285
|
components: {
|
|
5273
|
-
XmlAttributeName:
|
|
5274
|
-
XmlAttributeValue:
|
|
5286
|
+
XmlAttributeName: Cr,
|
|
5287
|
+
XmlAttributeValue: Rr
|
|
5275
5288
|
},
|
|
5276
5289
|
props: {
|
|
5277
5290
|
attribute: Attr
|
|
@@ -5285,24 +5298,24 @@ function ya() {
|
|
|
5285
5298
|
}
|
|
5286
5299
|
});
|
|
5287
5300
|
r(873);
|
|
5288
|
-
var
|
|
5301
|
+
var Pr = /* @__PURE__ */ (0, X.A)(Mr, [["render", H], ["__scopeId", "data-v-3c430bce"]]), Lr = (0, s.defineComponent)({
|
|
5289
5302
|
name: "XmlElement",
|
|
5290
5303
|
components: {
|
|
5291
|
-
XmlAttribute:
|
|
5304
|
+
XmlAttribute: Pr
|
|
5292
5305
|
},
|
|
5293
5306
|
props: {
|
|
5294
5307
|
attributes: Array
|
|
5295
5308
|
}
|
|
5296
|
-
}),
|
|
5297
|
-
const
|
|
5309
|
+
}), Vr = /* @__PURE__ */ (0, X.A)(Lr, [["render", A]]);
|
|
5310
|
+
const Fn = (h) => ((0, s.pushScopeId)("data-v-0fce587a"), h = h(), (0, s.popScopeId)(), h), kr = {
|
|
5298
5311
|
class: "content"
|
|
5299
|
-
},
|
|
5312
|
+
}, wr = /* @__PURE__ */ Fn(() => /* @__PURE__ */ (0, s.createElementVNode)("span", null, "<![CDATA[", -1)), Xr = {
|
|
5300
5313
|
class: "inline no-margin-padding"
|
|
5301
|
-
},
|
|
5302
|
-
function
|
|
5303
|
-
return (0, s.openBlock)(), (0, s.createElementBlock)("div", null, [(0, s.createElementVNode)("div",
|
|
5314
|
+
}, Br = /* @__PURE__ */ Fn(() => /* @__PURE__ */ (0, s.createElementVNode)("span", null, "]]>", -1));
|
|
5315
|
+
function xr(h, L, K, B, G, te) {
|
|
5316
|
+
return (0, s.openBlock)(), (0, s.createElementBlock)("div", null, [(0, s.createElementVNode)("div", kr, [wr, (0, s.createElementVNode)("pre", Xr, (0, s.toDisplayString)(h.content), 1), Br])]);
|
|
5304
5317
|
}
|
|
5305
|
-
var
|
|
5318
|
+
var Fr = (0, s.defineComponent)({
|
|
5306
5319
|
props: {
|
|
5307
5320
|
cdataSection: Text
|
|
5308
5321
|
},
|
|
@@ -5313,16 +5326,16 @@ function ya() {
|
|
|
5313
5326
|
}
|
|
5314
5327
|
});
|
|
5315
5328
|
r(261);
|
|
5316
|
-
var
|
|
5317
|
-
const
|
|
5329
|
+
var Ur = /* @__PURE__ */ (0, X.A)(Fr, [["render", xr], ["__scopeId", "data-v-0fce587a"]]);
|
|
5330
|
+
const $r = {
|
|
5318
5331
|
class: "content"
|
|
5319
|
-
},
|
|
5332
|
+
}, jr = {
|
|
5320
5333
|
class: "inline no-margin-padding"
|
|
5321
5334
|
};
|
|
5322
|
-
function
|
|
5323
|
-
return (0, s.openBlock)(), (0, s.createElementBlock)("div", null, [(0, s.createElementVNode)("div",
|
|
5335
|
+
function Hr(h, L, K, B, G, te) {
|
|
5336
|
+
return (0, s.openBlock)(), (0, s.createElementBlock)("div", null, [(0, s.createElementVNode)("div", $r, [(0, s.createTextVNode)(" <!-- "), (0, s.createElementVNode)("pre", jr, (0, s.toDisplayString)(h.content), 1), (0, s.createTextVNode)(" --> ")])]);
|
|
5324
5337
|
}
|
|
5325
|
-
var
|
|
5338
|
+
var Kr = (0, s.defineComponent)({
|
|
5326
5339
|
props: {
|
|
5327
5340
|
remark: Comment
|
|
5328
5341
|
},
|
|
@@ -5333,56 +5346,56 @@ function ya() {
|
|
|
5333
5346
|
}
|
|
5334
5347
|
});
|
|
5335
5348
|
r(197);
|
|
5336
|
-
var
|
|
5337
|
-
const
|
|
5349
|
+
var Wr = /* @__PURE__ */ (0, X.A)(Kr, [["render", Hr], ["__scopeId", "data-v-7bc574c6"]]);
|
|
5350
|
+
const Gr = {
|
|
5338
5351
|
width: "1em",
|
|
5339
5352
|
height: "1em",
|
|
5340
5353
|
viewBox: "0 0 24 24"
|
|
5341
|
-
},
|
|
5354
|
+
}, Jr = [/* @__PURE__ */ (0, s.createElementVNode)("path", {
|
|
5342
5355
|
fill: "currentColor",
|
|
5343
5356
|
d: "m11.998 17l7-8h-14z"
|
|
5344
5357
|
}, null, -1)];
|
|
5345
|
-
function
|
|
5346
|
-
return (0, s.openBlock)(), (0, s.createElementBlock)("svg",
|
|
5358
|
+
function Yr(h, L, K, B, G, te) {
|
|
5359
|
+
return (0, s.openBlock)(), (0, s.createElementBlock)("svg", Gr, Jr);
|
|
5347
5360
|
}
|
|
5348
|
-
var
|
|
5361
|
+
var qr = {
|
|
5349
5362
|
name: "CaretDown"
|
|
5350
|
-
},
|
|
5351
|
-
const
|
|
5363
|
+
}, zr = /* @__PURE__ */ (0, X.A)(qr, [["render", Yr]]);
|
|
5364
|
+
const Qr = {
|
|
5352
5365
|
width: "1em",
|
|
5353
5366
|
height: "1em",
|
|
5354
5367
|
viewBox: "0 0 24 24"
|
|
5355
|
-
},
|
|
5368
|
+
}, Zr = [/* @__PURE__ */ (0, s.createElementVNode)("path", {
|
|
5356
5369
|
fill: "currentColor",
|
|
5357
5370
|
d: "m9 19l8-7l-8-7z"
|
|
5358
5371
|
}, null, -1)];
|
|
5359
|
-
function
|
|
5360
|
-
return (0, s.openBlock)(), (0, s.createElementBlock)("svg",
|
|
5372
|
+
function ei(h, L, K, B, G, te) {
|
|
5373
|
+
return (0, s.openBlock)(), (0, s.createElementBlock)("svg", Qr, Zr);
|
|
5361
5374
|
}
|
|
5362
|
-
var
|
|
5375
|
+
var ti = {
|
|
5363
5376
|
name: "CaretRight"
|
|
5364
|
-
},
|
|
5377
|
+
}, ni = /* @__PURE__ */ (0, X.A)(ti, [["render", ei]]), si = (0, s.defineComponent)({
|
|
5365
5378
|
name: "XmlElement",
|
|
5366
5379
|
components: {
|
|
5367
5380
|
XmlElementName: I,
|
|
5368
5381
|
XmlElementContent: T,
|
|
5369
|
-
XmlAttributeLine:
|
|
5370
|
-
XmlCDataSection:
|
|
5371
|
-
XmlRemark:
|
|
5372
|
-
CaretDown:
|
|
5373
|
-
CaretRight:
|
|
5382
|
+
XmlAttributeLine: Vr,
|
|
5383
|
+
XmlCDataSection: Ur,
|
|
5384
|
+
XmlRemark: Wr,
|
|
5385
|
+
CaretDown: zr,
|
|
5386
|
+
CaretRight: ni
|
|
5374
5387
|
},
|
|
5375
5388
|
props: {
|
|
5376
5389
|
node: Element
|
|
5377
5390
|
},
|
|
5378
5391
|
setup(h) {
|
|
5379
|
-
const L = (0, s.ref)(!1), K = (0, s.computed)(() => h.node.nodeName), B = (0, s.computed)(() => Array.from(h.node.childNodes)), G = (0, s.computed)(() => B.value && B.value.filter((
|
|
5392
|
+
const L = (0, s.ref)(!1), K = (0, s.computed)(() => h.node.nodeName), B = (0, s.computed)(() => Array.from(h.node.childNodes)), G = (0, s.computed)(() => B.value && B.value.filter((me) => me.nodeType === 1)), te = (0, s.computed)(() => B.value && B.value.filter((me) => me.nodeType === 3)), ie = (0, s.computed)(() => B.value && B.value.filter((me) => me.nodeType === 4)), ye = (0, s.computed)(() => B.value && B.value.filter((me) => me.nodeType === 8)), $e = (0, s.computed)(() => h.node.attributes && Array.from(h.node.attributes) || []), qt = !G.value.length && !te.value.length && !ie.value.length && !ye.value.length;
|
|
5380
5393
|
return {
|
|
5381
5394
|
name: K,
|
|
5382
5395
|
childElements: G,
|
|
5383
5396
|
childContents: te,
|
|
5384
5397
|
attributes: $e,
|
|
5385
|
-
cdataSections:
|
|
5398
|
+
cdataSections: ie,
|
|
5386
5399
|
remarks: ye,
|
|
5387
5400
|
selfClosing: qt,
|
|
5388
5401
|
collapsed: L,
|
|
@@ -5393,9 +5406,9 @@ function ya() {
|
|
|
5393
5406
|
}
|
|
5394
5407
|
});
|
|
5395
5408
|
r(309);
|
|
5396
|
-
var
|
|
5409
|
+
var ri = /* @__PURE__ */ (0, X.A)(si, [["render", w], ["__scopeId", "data-v-d071a178"]]), ii = (0, s.defineComponent)({
|
|
5397
5410
|
components: {
|
|
5398
|
-
XmlElement:
|
|
5411
|
+
XmlElement: ri
|
|
5399
5412
|
},
|
|
5400
5413
|
props: {
|
|
5401
5414
|
xml: String,
|
|
@@ -5406,8 +5419,8 @@ function ya() {
|
|
|
5406
5419
|
},
|
|
5407
5420
|
setup(h) {
|
|
5408
5421
|
const L = new DOMParser(), K = (0, s.ref)(), B = (G) => {
|
|
5409
|
-
const
|
|
5410
|
-
K.value =
|
|
5422
|
+
const ie = L.parseFromString(G, "text/xml").childNodes[0];
|
|
5423
|
+
K.value = ie;
|
|
5411
5424
|
};
|
|
5412
5425
|
return (0, s.watch)(() => h.xml, (G) => {
|
|
5413
5426
|
B(G);
|
|
@@ -5415,16 +5428,16 @@ function ya() {
|
|
|
5415
5428
|
rootNode: K
|
|
5416
5429
|
};
|
|
5417
5430
|
}
|
|
5418
|
-
}),
|
|
5431
|
+
}), oi = /* @__PURE__ */ (0, X.A)(ii, [["render", o]]), ai = oi, li = ai;
|
|
5419
5432
|
})(), e.exports = a;
|
|
5420
5433
|
})();
|
|
5421
5434
|
}(zt)), zt.exports;
|
|
5422
5435
|
}
|
|
5423
|
-
var
|
|
5424
|
-
const
|
|
5436
|
+
var Or = Oa();
|
|
5437
|
+
const Ia = /* @__PURE__ */ yi(Or), xa = /* @__PURE__ */ Oi({
|
|
5425
5438
|
__proto__: null,
|
|
5426
|
-
default:
|
|
5427
|
-
}, [
|
|
5439
|
+
default: Ia
|
|
5440
|
+
}, [Or]);
|
|
5428
5441
|
export {
|
|
5429
|
-
|
|
5442
|
+
xa as v
|
|
5430
5443
|
};
|