@vtj/parser 0.15.2 → 0.16.1
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/index.cjs +12 -12
- package/dist/index.mjs +609 -567
- package/package.json +3 -3
- package/types/shared/utils.d.ts +3 -0
- package/types/version.d.ts +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1,37 +1,38 @@
|
|
|
1
|
-
import { parse as
|
|
2
|
-
import { parse as
|
|
1
|
+
import { parse as ku, compileTemplate as Vu } from "@vue/compiler-sfc";
|
|
2
|
+
import { parse as Yu } from "@babel/parser";
|
|
3
3
|
import pu from "@babel/traverse";
|
|
4
4
|
import mu from "@babel/generator";
|
|
5
|
-
import { BlockModel as
|
|
5
|
+
import { BlockModel as ue } from "@vtj/core";
|
|
6
6
|
import { tsFormatter as xu } from "@vtj/coder";
|
|
7
7
|
import { NodeTypes as g } from "@vue/compiler-core";
|
|
8
|
-
import { upperFirstCamelCase as
|
|
9
|
-
import
|
|
10
|
-
import * as
|
|
11
|
-
import * as
|
|
8
|
+
import { upperFirstCamelCase as ee, unBase64 as te, uid as iu } from "@vtj/base";
|
|
9
|
+
import ae from "postcss";
|
|
10
|
+
import * as ie from "sass";
|
|
11
|
+
import * as V from "@babel/types";
|
|
12
12
|
/**!
|
|
13
13
|
* Copyright (c) 2026, VTJ.PRO All rights reserved.
|
|
14
14
|
* @name @vtj/parser
|
|
15
15
|
* @author CHC chenhuachun1549@dingtalk.com
|
|
16
|
-
* @version 0.
|
|
16
|
+
* @version 0.16.1
|
|
17
17
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
|
18
18
|
*/
|
|
19
|
-
const
|
|
19
|
+
const v0 = "0.16.1";
|
|
20
20
|
function D(e) {
|
|
21
|
-
const { descriptor: u } =
|
|
21
|
+
const { descriptor: u, errors: t } = ku(e), a = u.template?.content || "", i = (u.scriptSetup || u.script)?.content || "", s = u.styles.map((r) => r.content);
|
|
22
22
|
return {
|
|
23
|
-
template:
|
|
24
|
-
script:
|
|
25
|
-
styles:
|
|
23
|
+
template: a,
|
|
24
|
+
script: i,
|
|
25
|
+
styles: s,
|
|
26
|
+
errors: t
|
|
26
27
|
};
|
|
27
28
|
}
|
|
28
|
-
function
|
|
29
|
-
return
|
|
29
|
+
function W(e) {
|
|
30
|
+
return Yu(e, { sourceType: "module", plugins: ["typescript"] });
|
|
30
31
|
}
|
|
31
32
|
function Y(e, u) {
|
|
32
33
|
return (pu.default || pu)(e, u);
|
|
33
34
|
}
|
|
34
|
-
function
|
|
35
|
+
function O(e) {
|
|
35
36
|
try {
|
|
36
37
|
return (mu.default || mu)(e, {
|
|
37
38
|
comments: !1,
|
|
@@ -48,30 +49,68 @@ function M(e) {
|
|
|
48
49
|
function nu(e) {
|
|
49
50
|
return !!e && e.type === "JSExpression";
|
|
50
51
|
}
|
|
51
|
-
function
|
|
52
|
+
function se(e) {
|
|
52
53
|
return typeof e == "object" && !!e && e.type === "JSFunction";
|
|
53
54
|
}
|
|
54
55
|
function ou(e) {
|
|
55
|
-
return !!nu(e) || !!
|
|
56
|
+
return !!nu(e) || !!se(e);
|
|
56
57
|
}
|
|
57
|
-
function
|
|
58
|
+
function re(e) {
|
|
58
59
|
return !!e && !nu(e) && typeof e != "string";
|
|
59
60
|
}
|
|
60
|
-
function
|
|
61
|
+
function qu(e, u) {
|
|
61
62
|
try {
|
|
62
|
-
const t =
|
|
63
|
-
return Y(t, u),
|
|
63
|
+
const t = W(e);
|
|
64
|
+
return Y(t, u), O(t) || "";
|
|
64
65
|
} catch {
|
|
65
66
|
return "";
|
|
66
67
|
}
|
|
67
68
|
}
|
|
68
|
-
function
|
|
69
|
-
const
|
|
69
|
+
function ce(e, u) {
|
|
70
|
+
const t = [];
|
|
71
|
+
try {
|
|
72
|
+
const { descriptor: a, errors: i } = ku(e);
|
|
73
|
+
if (i && i.length > 0 && i.forEach((r) => {
|
|
74
|
+
const n = r.message || String(r), o = r.loc;
|
|
75
|
+
o && o.start ? t.push(
|
|
76
|
+
`Vue SFC 错误: ${n} (位置: ${o.start.line}:${o.start.column})`
|
|
77
|
+
) : t.push(`Vue SFC 错误: ${n}`);
|
|
78
|
+
}), a.template)
|
|
79
|
+
try {
|
|
80
|
+
const r = Vu({
|
|
81
|
+
id: "validation",
|
|
82
|
+
filename: u,
|
|
83
|
+
source: a.template.content,
|
|
84
|
+
isProd: !1
|
|
85
|
+
});
|
|
86
|
+
r.errors && r.errors.length > 0 && r.errors.forEach((n) => {
|
|
87
|
+
const o = typeof n == "string" ? n : n.message, c = typeof n == "string" ? null : n.loc;
|
|
88
|
+
c && c.start ? t.push(
|
|
89
|
+
`模板编译错误: ${o} (位置: ${c.start.line}:${c.start.column})`
|
|
90
|
+
) : t.push(`模板编译错误: ${o}`);
|
|
91
|
+
});
|
|
92
|
+
} catch (r) {
|
|
93
|
+
t.push(`模板编译错误: ${r.message}`);
|
|
94
|
+
}
|
|
95
|
+
const s = (a.scriptSetup || a.script)?.content;
|
|
96
|
+
if (s)
|
|
97
|
+
try {
|
|
98
|
+
W(s);
|
|
99
|
+
} catch (r) {
|
|
100
|
+
t.push(`脚本语法错误: ${r.message}`);
|
|
101
|
+
}
|
|
102
|
+
} catch (a) {
|
|
103
|
+
t.push(`Vue SFC 解析错误: ${a.message}`);
|
|
104
|
+
}
|
|
105
|
+
return t.length > 0 ? t : null;
|
|
106
|
+
}
|
|
107
|
+
function w0(e) {
|
|
108
|
+
const u = D(e), t = W(u.script), a = {};
|
|
70
109
|
return u.styles && (a.css = u.styles[0] || ""), Y(t, {
|
|
71
110
|
CallExpression(i) {
|
|
72
111
|
const s = i.node.callee?.name;
|
|
73
112
|
if (s) {
|
|
74
|
-
const r =
|
|
113
|
+
const r = O(i.node.arguments[0]);
|
|
75
114
|
r && (a[s] = {
|
|
76
115
|
type: "JSFunction",
|
|
77
116
|
value: r
|
|
@@ -80,18 +119,18 @@ function E0(e) {
|
|
|
80
119
|
}
|
|
81
120
|
}), a;
|
|
82
121
|
}
|
|
83
|
-
function
|
|
122
|
+
function ne(e, u, t, a) {
|
|
84
123
|
if (a.match(/function\s*\(\s*$/))
|
|
85
124
|
return !0;
|
|
86
125
|
const s = e.slice(u + t.length);
|
|
87
126
|
if (s.trim().startsWith("=>"))
|
|
88
127
|
return !0;
|
|
89
|
-
const n = a.endsWith("(") || a.match(/\(\s*$/),
|
|
90
|
-
if (n ||
|
|
91
|
-
let
|
|
128
|
+
const n = a.endsWith("(") || a.match(/\(\s*$/), o = a.endsWith(",") || a.match(/,\s*$/);
|
|
129
|
+
if (n || o) {
|
|
130
|
+
let f = -1, m = "";
|
|
92
131
|
if (n)
|
|
93
|
-
|
|
94
|
-
else if (
|
|
132
|
+
f = a.length - 1;
|
|
133
|
+
else if (o) {
|
|
95
134
|
let y = 0, b = !1, S = "";
|
|
96
135
|
for (let I = a.length - 1; I >= 0; I--) {
|
|
97
136
|
const x = a[I];
|
|
@@ -106,7 +145,7 @@ function re(e, u, t, a) {
|
|
|
106
145
|
y++;
|
|
107
146
|
else if (x === "(") {
|
|
108
147
|
if (y === 0) {
|
|
109
|
-
|
|
148
|
+
f = I;
|
|
110
149
|
break;
|
|
111
150
|
}
|
|
112
151
|
y--;
|
|
@@ -114,33 +153,33 @@ function re(e, u, t, a) {
|
|
|
114
153
|
}
|
|
115
154
|
}
|
|
116
155
|
}
|
|
117
|
-
if (
|
|
118
|
-
let y =
|
|
156
|
+
if (f >= 0) {
|
|
157
|
+
let y = f - 1;
|
|
119
158
|
for (; y >= 0 && /\s/.test(a.charAt(y)); )
|
|
120
159
|
y--;
|
|
121
160
|
if (y >= 0) {
|
|
122
161
|
let b = y;
|
|
123
162
|
for (; y >= 0 && /[a-zA-Z0-9_$]/.test(a.charAt(y)); )
|
|
124
163
|
y--;
|
|
125
|
-
if (
|
|
164
|
+
if (m = a.slice(y + 1, b + 1), m && m !== "function" && m !== "class") {
|
|
126
165
|
const S = a.slice(0, y + 1);
|
|
127
166
|
if (!S.endsWith("=>") && !S.match(/[a-zA-Z0-9_$]\s*=>\s*$/))
|
|
128
167
|
return !1;
|
|
129
168
|
}
|
|
130
169
|
}
|
|
131
170
|
}
|
|
132
|
-
let
|
|
171
|
+
let p = 0, v = !1, A = "";
|
|
133
172
|
for (let y = 0; y < s.length; y++) {
|
|
134
173
|
const b = s[y];
|
|
135
|
-
if (!
|
|
174
|
+
if (!v && (b === "'" || b === '"' || b === "`") ? (v = !0, A = b) : v && b === A && (v = !1, A = ""), !v)
|
|
136
175
|
if (b === "(")
|
|
137
|
-
|
|
176
|
+
p++;
|
|
138
177
|
else if (b === ")") {
|
|
139
|
-
if (
|
|
178
|
+
if (p === 0)
|
|
140
179
|
return !0;
|
|
141
|
-
|
|
180
|
+
p--;
|
|
142
181
|
} else {
|
|
143
|
-
if (b === "," &&
|
|
182
|
+
if (b === "," && p === 0)
|
|
144
183
|
return !0;
|
|
145
184
|
if (b === "=" && y + 1 < s.length && s[y + 1] === ">")
|
|
146
185
|
return !0;
|
|
@@ -149,13 +188,13 @@ function re(e, u, t, a) {
|
|
|
149
188
|
}
|
|
150
189
|
const c = u > 0 ? e.charAt(u - 1) : "";
|
|
151
190
|
if (!/[a-zA-Z0-9_$@-]/.test(c) && s.includes("=>")) {
|
|
152
|
-
const
|
|
153
|
-
if (
|
|
191
|
+
const f = s.indexOf("=>"), m = s.slice(0, f).trim();
|
|
192
|
+
if (m === "" || m === ",")
|
|
154
193
|
return !0;
|
|
155
194
|
}
|
|
156
195
|
return !1;
|
|
157
196
|
}
|
|
158
|
-
function
|
|
197
|
+
function M(e, u, t) {
|
|
159
198
|
if (!e.includes(u)) return e;
|
|
160
199
|
const a = [];
|
|
161
200
|
let i = 0;
|
|
@@ -169,34 +208,34 @@ function $(e, u, t) {
|
|
|
169
208
|
// 正则表达式括号深度(用于处理字符类)
|
|
170
209
|
}, r = /[a-zA-Z0-9_$@-]/;
|
|
171
210
|
function n(c) {
|
|
172
|
-
for (let
|
|
173
|
-
const
|
|
211
|
+
for (let l = 0; l < c.length; l++) {
|
|
212
|
+
const f = c[l];
|
|
174
213
|
if (!s.inString && !s.inRegex) {
|
|
175
|
-
if (
|
|
176
|
-
s.inString = !0, s.quoteChar =
|
|
177
|
-
else if (
|
|
178
|
-
let
|
|
179
|
-
for (;
|
|
180
|
-
|
|
181
|
-
if (
|
|
214
|
+
if (f === "'" || f === '"' || f === "`")
|
|
215
|
+
s.inString = !0, s.quoteChar = f;
|
|
216
|
+
else if (f === "/") {
|
|
217
|
+
let m = l - 1;
|
|
218
|
+
for (; m >= 0 && /\s/.test(c[m]); )
|
|
219
|
+
m--;
|
|
220
|
+
if (m < 0)
|
|
182
221
|
s.inRegex = !0, s.regexDepth = 0;
|
|
183
222
|
else {
|
|
184
|
-
const
|
|
185
|
-
if (
|
|
186
|
-
let y =
|
|
223
|
+
const p = c[m], v = /[=+*%!&|?:;,()[\]{}<>]/.test(p), A = /[a-zA-Z0-9_$)]/.test(p);
|
|
224
|
+
if (p === "-") {
|
|
225
|
+
let y = m - 1;
|
|
187
226
|
for (; y >= 0 && /\s/.test(c[y]); )
|
|
188
227
|
y--;
|
|
189
228
|
y >= 0 && /[a-zA-Z0-9_$)]/.test(c[y]) ? s.inRegex = !1 : (s.inRegex = !0, s.regexDepth = 0);
|
|
190
|
-
} else if (
|
|
191
|
-
const y = c[
|
|
229
|
+
} else if (p === "=" && m > 0) {
|
|
230
|
+
const y = c[m - 1];
|
|
192
231
|
/[+\-*/%]/.test(y) ? s.inRegex = !1 : (s.inRegex = !0, s.regexDepth = 0);
|
|
193
|
-
} else if (
|
|
232
|
+
} else if (p === "/" || p === "*")
|
|
194
233
|
s.inRegex = !1;
|
|
195
|
-
else if (A && !
|
|
196
|
-
let y =
|
|
234
|
+
else if (A && !v) {
|
|
235
|
+
let y = m;
|
|
197
236
|
for (; y > 0 && /[a-zA-Z0-9_$]/.test(c[y - 1]); )
|
|
198
237
|
y--;
|
|
199
|
-
const b = c.slice(y,
|
|
238
|
+
const b = c.slice(y, m + 1);
|
|
200
239
|
[
|
|
201
240
|
"if",
|
|
202
241
|
"else",
|
|
@@ -224,10 +263,10 @@ function $(e, u, t) {
|
|
|
224
263
|
s.inRegex = !0, s.regexDepth = 0;
|
|
225
264
|
}
|
|
226
265
|
}
|
|
227
|
-
} else s.inString ?
|
|
266
|
+
} else s.inString ? f === s.quoteChar ? s.quoteChar === "`" && s.inTemplateExpr > 0 || (s.inString = !1, s.quoteChar = "", s.inTemplateExpr = 0) : s.quoteChar === "`" && (f === "$" && l + 1 < c.length && c[l + 1] === "{" ? (s.inTemplateExpr++, l++) : f === "}" && s.inTemplateExpr > 0 && s.inTemplateExpr--) : s.inRegex && (f === "[" ? s.regexDepth++ : f === "]" && s.regexDepth > 0 ? s.regexDepth-- : f === "/" && s.regexDepth === 0 && (l === 0 || c[l - 1] !== "\\") && (s.inRegex = !1, s.regexDepth = 0));
|
|
228
267
|
}
|
|
229
268
|
}
|
|
230
|
-
function
|
|
269
|
+
function o(c) {
|
|
231
270
|
if (s.inRegex || s.inString && s.inTemplateExpr === 0 && !e.slice(0, c).match(/new\s+RegExp\s*\([^)]*$/))
|
|
232
271
|
return !1;
|
|
233
272
|
if (c >= 3 && e.slice(c - 3, c) === "..." && (c >= 4 ? e.charAt(c - 4) : "") !== ".")
|
|
@@ -239,22 +278,22 @@ function $(e, u, t) {
|
|
|
239
278
|
}
|
|
240
279
|
return !1;
|
|
241
280
|
}
|
|
242
|
-
const
|
|
243
|
-
if (r.test(
|
|
281
|
+
const l = c > 0 ? e.charAt(c - 1) : "", f = c + u.length < e.length ? e.charAt(c + u.length) : "";
|
|
282
|
+
if (r.test(l) || r.test(f))
|
|
244
283
|
return !1;
|
|
245
|
-
const
|
|
246
|
-
return
|
|
284
|
+
const m = e.slice(0, c);
|
|
285
|
+
return m.match(/(const|let|var|function)\s+$/) ? !1 : m.match(/\{\s*$/) && !m.endsWith("${") ? c > 0 && e.charAt(c - 1) === "[" : ne(
|
|
247
286
|
e,
|
|
248
287
|
c,
|
|
249
288
|
u,
|
|
250
|
-
|
|
251
|
-
) ? !1 : (
|
|
289
|
+
m
|
|
290
|
+
) ? !1 : (m.endsWith("${"), !0);
|
|
252
291
|
}
|
|
253
292
|
for (; i < e.length; ) {
|
|
254
293
|
const c = e.indexOf(u, i);
|
|
255
294
|
if (c === -1) break;
|
|
256
|
-
const
|
|
257
|
-
a.push(
|
|
295
|
+
const l = e.slice(i, c);
|
|
296
|
+
a.push(l), n(l), i = c, o(i) ? a.push(t) : a.push(u), i += u.length;
|
|
258
297
|
}
|
|
259
298
|
return i < e.length && a.push(e.slice(i)), a.join("");
|
|
260
299
|
}
|
|
@@ -265,23 +304,23 @@ function gu(e, u, t) {
|
|
|
265
304
|
libs: s = {},
|
|
266
305
|
members: r = [],
|
|
267
306
|
platform: n
|
|
268
|
-
} = t || {},
|
|
269
|
-
if (
|
|
270
|
-
for (const c of
|
|
271
|
-
e =
|
|
307
|
+
} = t || {}, o = Array.from(a[u || ""] || /* @__PURE__ */ new Set());
|
|
308
|
+
if (o)
|
|
309
|
+
for (const c of o)
|
|
310
|
+
e = M(e, c, `this.context.${c}`);
|
|
272
311
|
for (const c of i)
|
|
273
|
-
e =
|
|
274
|
-
for (const [c,
|
|
275
|
-
e =
|
|
312
|
+
e = M(e, c, `this.${c}.value`), e = M(e, `this.${c}`, `this.${c}.value`), e = M(e, `this.${c}.value.value`, `this.${c}.value`);
|
|
313
|
+
for (const [c, l] of Object.entries(s))
|
|
314
|
+
e = M(e, c, `this.$libs.${l}.${c}`), e = M(e, `this.${c}`, `this.$libs.${l}.${c}`);
|
|
276
315
|
for (const c of r)
|
|
277
|
-
e =
|
|
316
|
+
e = M(e, c, `this.${c}`);
|
|
278
317
|
if (n === "uniapp") {
|
|
279
318
|
const c = /\suni\./g;
|
|
280
319
|
e = e.replace(c, "this.$libs.UniH5.uni.");
|
|
281
320
|
}
|
|
282
321
|
return e = e.replace(/_ctx\./g, "this."), e = e.replace(/this\.this\./g, "this."), e;
|
|
283
322
|
}
|
|
284
|
-
function
|
|
323
|
+
function q(e) {
|
|
285
324
|
return {
|
|
286
325
|
type: "JSExpression",
|
|
287
326
|
value: /^\{[\w\W]*\}$/.test(e) ? `(${e})` : e
|
|
@@ -293,7 +332,7 @@ function du(e) {
|
|
|
293
332
|
value: e
|
|
294
333
|
};
|
|
295
334
|
}
|
|
296
|
-
const
|
|
335
|
+
const oe = [
|
|
297
336
|
"beforeCreate",
|
|
298
337
|
"created",
|
|
299
338
|
"beforeMount",
|
|
@@ -307,46 +346,46 @@ const ce = [
|
|
|
307
346
|
"renderTriggered",
|
|
308
347
|
"activated",
|
|
309
348
|
"deactivated"
|
|
310
|
-
],
|
|
349
|
+
], de = "html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot,svg,path,circle,rect,polygon".split(
|
|
311
350
|
","
|
|
312
|
-
),
|
|
351
|
+
), fe = "component,slot,template".split(","), le = "view,swiper,progress,icon,text,button,checkbox,editor,form,input,label,picker,radio,slider,switch,textarea,audio,camera,image,video,map,canvas".split(
|
|
313
352
|
","
|
|
314
353
|
);
|
|
315
|
-
function
|
|
316
|
-
return u === "uniapp" &&
|
|
354
|
+
function be(e, u = "web") {
|
|
355
|
+
return u === "uniapp" && le.includes(e);
|
|
317
356
|
}
|
|
318
|
-
function
|
|
319
|
-
return (
|
|
357
|
+
function Ru(e, u = "web") {
|
|
358
|
+
return (de.includes(e) || fe.includes(e)) && !be(e, u) ? e : ee(e);
|
|
320
359
|
}
|
|
321
|
-
function
|
|
360
|
+
function ju(e) {
|
|
322
361
|
return e.replace(/\s+/g, " ").split(";").reduce((t, a) => {
|
|
323
362
|
const [i, s] = a.split(":").map((r) => r.trim());
|
|
324
363
|
return i && s && (t[i] = s), t;
|
|
325
364
|
}, {});
|
|
326
365
|
}
|
|
327
|
-
function
|
|
366
|
+
function he(e, u, t) {
|
|
328
367
|
if (t === "ObjectExpression")
|
|
329
368
|
return `(Object.assign({${e.split(" ").map((i) => `'${i}': true`).join(",")}}, ${u}))`;
|
|
330
369
|
if (t === "ArrayExpression")
|
|
331
370
|
return `([${e.split(" ").map((i) => `'${i}'`).join(",")}].concat(${u}))`;
|
|
332
371
|
}
|
|
333
|
-
function
|
|
372
|
+
function pe(e = "") {
|
|
334
373
|
const t = e.trim().match(/DataSource:\s*([^\n=]+={0,2})/)?.[1] || "";
|
|
335
374
|
try {
|
|
336
|
-
return t ? JSON.parse(
|
|
375
|
+
return t ? JSON.parse(te(t)) : null;
|
|
337
376
|
} catch (a) {
|
|
338
377
|
return console.warn("extractDataSource fail", a), null;
|
|
339
378
|
}
|
|
340
379
|
}
|
|
341
|
-
const
|
|
380
|
+
const me = /* @__PURE__ */ new Uint16Array(
|
|
342
381
|
// prettier-ignore
|
|
343
382
|
/* @__PURE__ */ 'ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((e) => e.charCodeAt(0))
|
|
344
|
-
),
|
|
383
|
+
), xe = /* @__PURE__ */ new Uint16Array(
|
|
345
384
|
// prettier-ignore
|
|
346
385
|
/* @__PURE__ */ "Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e) => e.charCodeAt(0))
|
|
347
386
|
);
|
|
348
387
|
var tu;
|
|
349
|
-
const
|
|
388
|
+
const ge = /* @__PURE__ */ new Map([
|
|
350
389
|
[0, 65533],
|
|
351
390
|
// C1 Unicode control character reference replacements
|
|
352
391
|
[128, 8364],
|
|
@@ -383,42 +422,42 @@ const me = /* @__PURE__ */ new Map([
|
|
|
383
422
|
return e > 65535 && (e -= 65536, u += String.fromCharCode(e >>> 10 & 1023 | 55296), e = 56320 | e & 1023), u += String.fromCharCode(e), u;
|
|
384
423
|
}
|
|
385
424
|
);
|
|
386
|
-
function
|
|
425
|
+
function ye(e) {
|
|
387
426
|
var u;
|
|
388
|
-
return e >= 55296 && e <= 57343 || e > 1114111 ? 65533 : (u =
|
|
427
|
+
return e >= 55296 && e <= 57343 || e > 1114111 ? 65533 : (u = ge.get(e)) !== null && u !== void 0 ? u : e;
|
|
389
428
|
}
|
|
390
429
|
var k;
|
|
391
430
|
(function(e) {
|
|
392
431
|
e[e.NUM = 35] = "NUM", e[e.SEMI = 59] = "SEMI", e[e.EQUALS = 61] = "EQUALS", e[e.ZERO = 48] = "ZERO", e[e.NINE = 57] = "NINE", e[e.LOWER_A = 97] = "LOWER_A", e[e.LOWER_F = 102] = "LOWER_F", e[e.LOWER_X = 120] = "LOWER_X", e[e.LOWER_Z = 122] = "LOWER_Z", e[e.UPPER_A = 65] = "UPPER_A", e[e.UPPER_F = 70] = "UPPER_F", e[e.UPPER_Z = 90] = "UPPER_Z";
|
|
393
432
|
})(k || (k = {}));
|
|
394
|
-
const
|
|
395
|
-
var
|
|
433
|
+
const Se = 32;
|
|
434
|
+
var $;
|
|
396
435
|
(function(e) {
|
|
397
436
|
e[e.VALUE_LENGTH = 49152] = "VALUE_LENGTH", e[e.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", e[e.JUMP_TABLE = 127] = "JUMP_TABLE";
|
|
398
|
-
})(
|
|
437
|
+
})($ || ($ = {}));
|
|
399
438
|
function su(e) {
|
|
400
439
|
return e >= k.ZERO && e <= k.NINE;
|
|
401
440
|
}
|
|
402
|
-
function
|
|
441
|
+
function Ie(e) {
|
|
403
442
|
return e >= k.UPPER_A && e <= k.UPPER_F || e >= k.LOWER_A && e <= k.LOWER_F;
|
|
404
443
|
}
|
|
405
|
-
function
|
|
444
|
+
function Ee(e) {
|
|
406
445
|
return e >= k.UPPER_A && e <= k.UPPER_Z || e >= k.LOWER_A && e <= k.LOWER_Z || su(e);
|
|
407
446
|
}
|
|
408
|
-
function
|
|
409
|
-
return e === k.EQUALS ||
|
|
447
|
+
function ve(e) {
|
|
448
|
+
return e === k.EQUALS || Ee(e);
|
|
410
449
|
}
|
|
411
450
|
var N;
|
|
412
451
|
(function(e) {
|
|
413
452
|
e[e.EntityStart = 0] = "EntityStart", e[e.NumericStart = 1] = "NumericStart", e[e.NumericDecimal = 2] = "NumericDecimal", e[e.NumericHex = 3] = "NumericHex", e[e.NamedEntity = 4] = "NamedEntity";
|
|
414
453
|
})(N || (N = {}));
|
|
415
|
-
var
|
|
454
|
+
var C;
|
|
416
455
|
(function(e) {
|
|
417
456
|
e[e.Legacy = 0] = "Legacy", e[e.Strict = 1] = "Strict", e[e.Attribute = 2] = "Attribute";
|
|
418
|
-
})(
|
|
419
|
-
class
|
|
457
|
+
})(C || (C = {}));
|
|
458
|
+
class we {
|
|
420
459
|
constructor(u, t, a) {
|
|
421
|
-
this.decodeTree = u, this.emitCodePoint = t, this.errors = a, this.state = N.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode =
|
|
460
|
+
this.decodeTree = u, this.emitCodePoint = t, this.errors = a, this.state = N.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = C.Strict;
|
|
422
461
|
}
|
|
423
462
|
/** Resets the instance to make it reusable. */
|
|
424
463
|
startEntity(u) {
|
|
@@ -459,7 +498,7 @@ class Ee {
|
|
|
459
498
|
* @returns The number of characters that were consumed, or -1 if the entity is incomplete.
|
|
460
499
|
*/
|
|
461
500
|
stateNumericStart(u, t) {
|
|
462
|
-
return t >= u.length ? -1 : (u.charCodeAt(t) |
|
|
501
|
+
return t >= u.length ? -1 : (u.charCodeAt(t) | Se) === k.LOWER_X ? (this.state = N.NumericHex, this.consumed += 1, this.stateNumericHex(u, t + 1)) : (this.state = N.NumericDecimal, this.stateNumericDecimal(u, t));
|
|
463
502
|
}
|
|
464
503
|
addToNumericResult(u, t, a, i) {
|
|
465
504
|
if (t !== a) {
|
|
@@ -480,7 +519,7 @@ class Ee {
|
|
|
480
519
|
const a = t;
|
|
481
520
|
for (; t < u.length; ) {
|
|
482
521
|
const i = u.charCodeAt(t);
|
|
483
|
-
if (su(i) ||
|
|
522
|
+
if (su(i) || Ie(i))
|
|
484
523
|
t += 1;
|
|
485
524
|
else
|
|
486
525
|
return this.addToNumericResult(u, a, t, 16), this.emitNumericEntity(i, 3);
|
|
@@ -526,9 +565,9 @@ class Ee {
|
|
|
526
565
|
return (a = this.errors) === null || a === void 0 || a.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
|
|
527
566
|
if (u === k.SEMI)
|
|
528
567
|
this.consumed += 1;
|
|
529
|
-
else if (this.decodeMode ===
|
|
568
|
+
else if (this.decodeMode === C.Strict)
|
|
530
569
|
return 0;
|
|
531
|
-
return this.emitCodePoint(
|
|
570
|
+
return this.emitCodePoint(ye(this.result), this.consumed), this.errors && (u !== k.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
|
|
532
571
|
}
|
|
533
572
|
/**
|
|
534
573
|
* Parses a named entity.
|
|
@@ -541,18 +580,18 @@ class Ee {
|
|
|
541
580
|
*/
|
|
542
581
|
stateNamedEntity(u, t) {
|
|
543
582
|
const { decodeTree: a } = this;
|
|
544
|
-
let i = a[this.treeIndex], s = (i &
|
|
583
|
+
let i = a[this.treeIndex], s = (i & $.VALUE_LENGTH) >> 14;
|
|
545
584
|
for (; t < u.length; t++, this.excess++) {
|
|
546
585
|
const r = u.charCodeAt(t);
|
|
547
|
-
if (this.treeIndex =
|
|
586
|
+
if (this.treeIndex = Ae(a, i, this.treeIndex + Math.max(1, s), r), this.treeIndex < 0)
|
|
548
587
|
return this.result === 0 || // If we are parsing an attribute
|
|
549
|
-
this.decodeMode ===
|
|
588
|
+
this.decodeMode === C.Attribute && // We shouldn't have consumed any characters after the entity,
|
|
550
589
|
(s === 0 || // And there should be no invalid characters.
|
|
551
|
-
|
|
552
|
-
if (i = a[this.treeIndex], s = (i &
|
|
590
|
+
ve(r)) ? 0 : this.emitNotTerminatedNamedEntity();
|
|
591
|
+
if (i = a[this.treeIndex], s = (i & $.VALUE_LENGTH) >> 14, s !== 0) {
|
|
553
592
|
if (r === k.SEMI)
|
|
554
593
|
return this.emitNamedEntityData(this.treeIndex, s, this.consumed + this.excess);
|
|
555
|
-
this.decodeMode !==
|
|
594
|
+
this.decodeMode !== C.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
|
|
556
595
|
}
|
|
557
596
|
}
|
|
558
597
|
return -1;
|
|
@@ -564,7 +603,7 @@ class Ee {
|
|
|
564
603
|
*/
|
|
565
604
|
emitNotTerminatedNamedEntity() {
|
|
566
605
|
var u;
|
|
567
|
-
const { result: t, decodeTree: a } = this, i = (a[t] &
|
|
606
|
+
const { result: t, decodeTree: a } = this, i = (a[t] & $.VALUE_LENGTH) >> 14;
|
|
568
607
|
return this.emitNamedEntityData(t, i, this.consumed), (u = this.errors) === null || u === void 0 || u.missingSemicolonAfterCharacterReference(), this.consumed;
|
|
569
608
|
}
|
|
570
609
|
/**
|
|
@@ -578,7 +617,7 @@ class Ee {
|
|
|
578
617
|
*/
|
|
579
618
|
emitNamedEntityData(u, t, a) {
|
|
580
619
|
const { decodeTree: i } = this;
|
|
581
|
-
return this.emitCodePoint(t === 1 ? i[u] &
|
|
620
|
+
return this.emitCodePoint(t === 1 ? i[u] & ~$.VALUE_LENGTH : i[u + 1], a), t === 3 && this.emitCodePoint(i[u + 2], a), a;
|
|
582
621
|
}
|
|
583
622
|
/**
|
|
584
623
|
* Signal to the parser that the end of the input was reached.
|
|
@@ -591,7 +630,7 @@ class Ee {
|
|
|
591
630
|
var u;
|
|
592
631
|
switch (this.state) {
|
|
593
632
|
case N.NamedEntity:
|
|
594
|
-
return this.result !== 0 && (this.decodeMode !==
|
|
633
|
+
return this.result !== 0 && (this.decodeMode !== C.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
|
|
595
634
|
// Otherwise, emit a numeric entity if we have one.
|
|
596
635
|
case N.NumericDecimal:
|
|
597
636
|
return this.emitNumericEntity(0, 2);
|
|
@@ -604,47 +643,47 @@ class Ee {
|
|
|
604
643
|
}
|
|
605
644
|
}
|
|
606
645
|
}
|
|
607
|
-
function
|
|
608
|
-
const i = (u &
|
|
646
|
+
function Ae(e, u, t, a) {
|
|
647
|
+
const i = (u & $.BRANCH_LENGTH) >> 7, s = u & $.JUMP_TABLE;
|
|
609
648
|
if (i === 0)
|
|
610
649
|
return s !== 0 && a === s ? t : -1;
|
|
611
650
|
if (s) {
|
|
612
|
-
const
|
|
613
|
-
return
|
|
651
|
+
const o = a - s;
|
|
652
|
+
return o < 0 || o >= i ? -1 : e[t + o] - 1;
|
|
614
653
|
}
|
|
615
654
|
let r = t, n = r + i - 1;
|
|
616
655
|
for (; r <= n; ) {
|
|
617
|
-
const
|
|
656
|
+
const o = r + n >>> 1, c = e[o];
|
|
618
657
|
if (c < a)
|
|
619
|
-
r =
|
|
658
|
+
r = o + 1;
|
|
620
659
|
else if (c > a)
|
|
621
|
-
n =
|
|
660
|
+
n = o - 1;
|
|
622
661
|
else
|
|
623
|
-
return e[
|
|
662
|
+
return e[o + i];
|
|
624
663
|
}
|
|
625
664
|
return -1;
|
|
626
665
|
}
|
|
627
|
-
var
|
|
666
|
+
var h;
|
|
628
667
|
(function(e) {
|
|
629
668
|
e[e.Tab = 9] = "Tab", e[e.NewLine = 10] = "NewLine", e[e.FormFeed = 12] = "FormFeed", e[e.CarriageReturn = 13] = "CarriageReturn", e[e.Space = 32] = "Space", e[e.ExclamationMark = 33] = "ExclamationMark", e[e.Number = 35] = "Number", e[e.Amp = 38] = "Amp", e[e.SingleQuote = 39] = "SingleQuote", e[e.DoubleQuote = 34] = "DoubleQuote", e[e.Dash = 45] = "Dash", e[e.Slash = 47] = "Slash", e[e.Zero = 48] = "Zero", e[e.Nine = 57] = "Nine", e[e.Semi = 59] = "Semi", e[e.Lt = 60] = "Lt", e[e.Eq = 61] = "Eq", e[e.Gt = 62] = "Gt", e[e.Questionmark = 63] = "Questionmark", e[e.UpperA = 65] = "UpperA", e[e.LowerA = 97] = "LowerA", e[e.UpperF = 70] = "UpperF", e[e.LowerF = 102] = "LowerF", e[e.UpperZ = 90] = "UpperZ", e[e.LowerZ = 122] = "LowerZ", e[e.LowerX = 120] = "LowerX", e[e.OpeningSquareBracket = 91] = "OpeningSquareBracket";
|
|
630
|
-
})(
|
|
631
|
-
var
|
|
669
|
+
})(h || (h = {}));
|
|
670
|
+
var d;
|
|
632
671
|
(function(e) {
|
|
633
672
|
e[e.Text = 1] = "Text", e[e.BeforeTagName = 2] = "BeforeTagName", e[e.InTagName = 3] = "InTagName", e[e.InSelfClosingTag = 4] = "InSelfClosingTag", e[e.BeforeClosingTagName = 5] = "BeforeClosingTagName", e[e.InClosingTagName = 6] = "InClosingTagName", e[e.AfterClosingTagName = 7] = "AfterClosingTagName", e[e.BeforeAttributeName = 8] = "BeforeAttributeName", e[e.InAttributeName = 9] = "InAttributeName", e[e.AfterAttributeName = 10] = "AfterAttributeName", e[e.BeforeAttributeValue = 11] = "BeforeAttributeValue", e[e.InAttributeValueDq = 12] = "InAttributeValueDq", e[e.InAttributeValueSq = 13] = "InAttributeValueSq", e[e.InAttributeValueNq = 14] = "InAttributeValueNq", e[e.BeforeDeclaration = 15] = "BeforeDeclaration", e[e.InDeclaration = 16] = "InDeclaration", e[e.InProcessingInstruction = 17] = "InProcessingInstruction", e[e.BeforeComment = 18] = "BeforeComment", e[e.CDATASequence = 19] = "CDATASequence", e[e.InSpecialComment = 20] = "InSpecialComment", e[e.InCommentLike = 21] = "InCommentLike", e[e.BeforeSpecialS = 22] = "BeforeSpecialS", e[e.BeforeSpecialT = 23] = "BeforeSpecialT", e[e.SpecialStartSequence = 24] = "SpecialStartSequence", e[e.InSpecialTag = 25] = "InSpecialTag", e[e.InEntity = 26] = "InEntity";
|
|
634
|
-
})(
|
|
673
|
+
})(d || (d = {}));
|
|
635
674
|
function _(e) {
|
|
636
|
-
return e ===
|
|
675
|
+
return e === h.Space || e === h.NewLine || e === h.Tab || e === h.FormFeed || e === h.CarriageReturn;
|
|
637
676
|
}
|
|
638
677
|
function Z(e) {
|
|
639
|
-
return e ===
|
|
678
|
+
return e === h.Slash || e === h.Gt || _(e);
|
|
640
679
|
}
|
|
641
|
-
function
|
|
642
|
-
return e >=
|
|
680
|
+
function Te(e) {
|
|
681
|
+
return e >= h.LowerA && e <= h.LowerZ || e >= h.UpperA && e <= h.UpperZ;
|
|
643
682
|
}
|
|
644
|
-
var
|
|
683
|
+
var L;
|
|
645
684
|
(function(e) {
|
|
646
685
|
e[e.NoValue = 0] = "NoValue", e[e.Unquoted = 1] = "Unquoted", e[e.Single = 2] = "Single", e[e.Double = 3] = "Double";
|
|
647
|
-
})(
|
|
686
|
+
})(L || (L = {}));
|
|
648
687
|
const T = {
|
|
649
688
|
Cdata: new Uint8Array([67, 68, 65, 84, 65, 91]),
|
|
650
689
|
// CDATA[
|
|
@@ -674,12 +713,12 @@ const T = {
|
|
|
674
713
|
XmpEnd: new Uint8Array([60, 47, 120, 109, 112])
|
|
675
714
|
// `</xmp`
|
|
676
715
|
};
|
|
677
|
-
class
|
|
716
|
+
class Ne {
|
|
678
717
|
constructor({ xmlMode: u = !1, decodeEntities: t = !0 }, a) {
|
|
679
|
-
this.cbs = a, this.state =
|
|
718
|
+
this.cbs = a, this.state = d.Text, this.buffer = "", this.sectionStart = 0, this.index = 0, this.entityStart = 0, this.baseState = d.Text, this.isSpecial = !1, this.running = !0, this.offset = 0, this.currentSequence = void 0, this.sequenceIndex = 0, this.xmlMode = u, this.decodeEntities = t, this.entityDecoder = new we(u ? xe : me, (i, s) => this.emitCodePoint(i, s));
|
|
680
719
|
}
|
|
681
720
|
reset() {
|
|
682
|
-
this.state =
|
|
721
|
+
this.state = d.Text, this.buffer = "", this.sectionStart = 0, this.index = 0, this.baseState = d.Text, this.currentSequence = void 0, this.running = !0, this.offset = 0;
|
|
683
722
|
}
|
|
684
723
|
write(u) {
|
|
685
724
|
this.offset += this.buffer.length, this.buffer = u, this.parse();
|
|
@@ -694,7 +733,7 @@ class Ae {
|
|
|
694
733
|
this.running = !0, this.index < this.buffer.length + this.offset && this.parse();
|
|
695
734
|
}
|
|
696
735
|
stateText(u) {
|
|
697
|
-
u ===
|
|
736
|
+
u === h.Lt || !this.decodeEntities && this.fastForwardTo(h.Lt) ? (this.index > this.sectionStart && this.cbs.ontext(this.sectionStart, this.index), this.state = d.BeforeTagName, this.sectionStart = this.index) : this.decodeEntities && u === h.Amp && this.startEntity();
|
|
698
737
|
}
|
|
699
738
|
stateSpecialStartSequence(u) {
|
|
700
739
|
const t = this.sequenceIndex === this.currentSequence.length;
|
|
@@ -710,12 +749,12 @@ class Ae {
|
|
|
710
749
|
this.sequenceIndex++;
|
|
711
750
|
return;
|
|
712
751
|
}
|
|
713
|
-
this.sequenceIndex = 0, this.state =
|
|
752
|
+
this.sequenceIndex = 0, this.state = d.InTagName, this.stateInTagName(u);
|
|
714
753
|
}
|
|
715
754
|
/** Look for an end tag. For <title> tags, also decode entities. */
|
|
716
755
|
stateInSpecialTag(u) {
|
|
717
756
|
if (this.sequenceIndex === this.currentSequence.length) {
|
|
718
|
-
if (u ===
|
|
757
|
+
if (u === h.Gt || _(u)) {
|
|
719
758
|
const t = this.index - this.currentSequence.length;
|
|
720
759
|
if (this.sectionStart < t) {
|
|
721
760
|
const a = this.index;
|
|
@@ -726,10 +765,10 @@ class Ae {
|
|
|
726
765
|
}
|
|
727
766
|
this.sequenceIndex = 0;
|
|
728
767
|
}
|
|
729
|
-
(u | 32) === this.currentSequence[this.sequenceIndex] ? this.sequenceIndex += 1 : this.sequenceIndex === 0 ? this.currentSequence === T.TitleEnd ? this.decodeEntities && u ===
|
|
768
|
+
(u | 32) === this.currentSequence[this.sequenceIndex] ? this.sequenceIndex += 1 : this.sequenceIndex === 0 ? this.currentSequence === T.TitleEnd ? this.decodeEntities && u === h.Amp && this.startEntity() : this.fastForwardTo(h.Lt) && (this.sequenceIndex = 1) : this.sequenceIndex = +(u === h.Lt);
|
|
730
769
|
}
|
|
731
770
|
stateCDATASequence(u) {
|
|
732
|
-
u === T.Cdata[this.sequenceIndex] ? ++this.sequenceIndex === T.Cdata.length && (this.state =
|
|
771
|
+
u === T.Cdata[this.sequenceIndex] ? ++this.sequenceIndex === T.Cdata.length && (this.state = d.InCommentLike, this.currentSequence = T.CdataEnd, this.sequenceIndex = 0, this.sectionStart = this.index + 1) : (this.sequenceIndex = 0, this.state = d.InDeclaration, this.stateInDeclaration(u));
|
|
733
772
|
}
|
|
734
773
|
/**
|
|
735
774
|
* When we wait for one specific character, we can speed things up
|
|
@@ -752,7 +791,7 @@ class Ae {
|
|
|
752
791
|
* - All characters but the start character of the sequence can be skipped.
|
|
753
792
|
*/
|
|
754
793
|
stateInCommentLike(u) {
|
|
755
|
-
u === this.currentSequence[this.sequenceIndex] ? ++this.sequenceIndex === this.currentSequence.length && (this.currentSequence === T.CdataEnd ? this.cbs.oncdata(this.sectionStart, this.index, 2) : this.cbs.oncomment(this.sectionStart, this.index, 2), this.sequenceIndex = 0, this.sectionStart = this.index + 1, this.state =
|
|
794
|
+
u === this.currentSequence[this.sequenceIndex] ? ++this.sequenceIndex === this.currentSequence.length && (this.currentSequence === T.CdataEnd ? this.cbs.oncdata(this.sectionStart, this.index, 2) : this.cbs.oncomment(this.sectionStart, this.index, 2), this.sequenceIndex = 0, this.sectionStart = this.index + 1, this.state = d.Text) : this.sequenceIndex === 0 ? this.fastForwardTo(this.currentSequence[0]) && (this.sequenceIndex = 1) : u !== this.currentSequence[this.sequenceIndex - 1] && (this.sequenceIndex = 0);
|
|
756
795
|
}
|
|
757
796
|
/**
|
|
758
797
|
* HTML only allows ASCII alpha characters (a-z and A-Z) at the beginning of a tag name.
|
|
@@ -761,78 +800,78 @@ class Ae {
|
|
|
761
800
|
* We allow anything that wouldn't end the tag.
|
|
762
801
|
*/
|
|
763
802
|
isTagStartChar(u) {
|
|
764
|
-
return this.xmlMode ? !Z(u) :
|
|
803
|
+
return this.xmlMode ? !Z(u) : Te(u);
|
|
765
804
|
}
|
|
766
805
|
startSpecial(u, t) {
|
|
767
|
-
this.isSpecial = !0, this.currentSequence = u, this.sequenceIndex = t, this.state =
|
|
806
|
+
this.isSpecial = !0, this.currentSequence = u, this.sequenceIndex = t, this.state = d.SpecialStartSequence;
|
|
768
807
|
}
|
|
769
808
|
stateBeforeTagName(u) {
|
|
770
|
-
if (u ===
|
|
771
|
-
this.state =
|
|
772
|
-
else if (u ===
|
|
773
|
-
this.state =
|
|
809
|
+
if (u === h.ExclamationMark)
|
|
810
|
+
this.state = d.BeforeDeclaration, this.sectionStart = this.index + 1;
|
|
811
|
+
else if (u === h.Questionmark)
|
|
812
|
+
this.state = d.InProcessingInstruction, this.sectionStart = this.index + 1;
|
|
774
813
|
else if (this.isTagStartChar(u)) {
|
|
775
814
|
const t = u | 32;
|
|
776
|
-
this.sectionStart = this.index, this.xmlMode ? this.state =
|
|
777
|
-
} else u ===
|
|
815
|
+
this.sectionStart = this.index, this.xmlMode ? this.state = d.InTagName : t === T.ScriptEnd[2] ? this.state = d.BeforeSpecialS : t === T.TitleEnd[2] || t === T.XmpEnd[2] ? this.state = d.BeforeSpecialT : this.state = d.InTagName;
|
|
816
|
+
} else u === h.Slash ? this.state = d.BeforeClosingTagName : (this.state = d.Text, this.stateText(u));
|
|
778
817
|
}
|
|
779
818
|
stateInTagName(u) {
|
|
780
|
-
Z(u) && (this.cbs.onopentagname(this.sectionStart, this.index), this.sectionStart = -1, this.state =
|
|
819
|
+
Z(u) && (this.cbs.onopentagname(this.sectionStart, this.index), this.sectionStart = -1, this.state = d.BeforeAttributeName, this.stateBeforeAttributeName(u));
|
|
781
820
|
}
|
|
782
821
|
stateBeforeClosingTagName(u) {
|
|
783
|
-
_(u) || (u ===
|
|
822
|
+
_(u) || (u === h.Gt ? this.state = d.Text : (this.state = this.isTagStartChar(u) ? d.InClosingTagName : d.InSpecialComment, this.sectionStart = this.index));
|
|
784
823
|
}
|
|
785
824
|
stateInClosingTagName(u) {
|
|
786
|
-
(u ===
|
|
825
|
+
(u === h.Gt || _(u)) && (this.cbs.onclosetag(this.sectionStart, this.index), this.sectionStart = -1, this.state = d.AfterClosingTagName, this.stateAfterClosingTagName(u));
|
|
787
826
|
}
|
|
788
827
|
stateAfterClosingTagName(u) {
|
|
789
|
-
(u ===
|
|
828
|
+
(u === h.Gt || this.fastForwardTo(h.Gt)) && (this.state = d.Text, this.sectionStart = this.index + 1);
|
|
790
829
|
}
|
|
791
830
|
stateBeforeAttributeName(u) {
|
|
792
|
-
u ===
|
|
831
|
+
u === h.Gt ? (this.cbs.onopentagend(this.index), this.isSpecial ? (this.state = d.InSpecialTag, this.sequenceIndex = 0) : this.state = d.Text, this.sectionStart = this.index + 1) : u === h.Slash ? this.state = d.InSelfClosingTag : _(u) || (this.state = d.InAttributeName, this.sectionStart = this.index);
|
|
793
832
|
}
|
|
794
833
|
stateInSelfClosingTag(u) {
|
|
795
|
-
u ===
|
|
834
|
+
u === h.Gt ? (this.cbs.onselfclosingtag(this.index), this.state = d.Text, this.sectionStart = this.index + 1, this.isSpecial = !1) : _(u) || (this.state = d.BeforeAttributeName, this.stateBeforeAttributeName(u));
|
|
796
835
|
}
|
|
797
836
|
stateInAttributeName(u) {
|
|
798
|
-
(u ===
|
|
837
|
+
(u === h.Eq || Z(u)) && (this.cbs.onattribname(this.sectionStart, this.index), this.sectionStart = this.index, this.state = d.AfterAttributeName, this.stateAfterAttributeName(u));
|
|
799
838
|
}
|
|
800
839
|
stateAfterAttributeName(u) {
|
|
801
|
-
u ===
|
|
840
|
+
u === h.Eq ? this.state = d.BeforeAttributeValue : u === h.Slash || u === h.Gt ? (this.cbs.onattribend(L.NoValue, this.sectionStart), this.sectionStart = -1, this.state = d.BeforeAttributeName, this.stateBeforeAttributeName(u)) : _(u) || (this.cbs.onattribend(L.NoValue, this.sectionStart), this.state = d.InAttributeName, this.sectionStart = this.index);
|
|
802
841
|
}
|
|
803
842
|
stateBeforeAttributeValue(u) {
|
|
804
|
-
u ===
|
|
843
|
+
u === h.DoubleQuote ? (this.state = d.InAttributeValueDq, this.sectionStart = this.index + 1) : u === h.SingleQuote ? (this.state = d.InAttributeValueSq, this.sectionStart = this.index + 1) : _(u) || (this.sectionStart = this.index, this.state = d.InAttributeValueNq, this.stateInAttributeValueNoQuotes(u));
|
|
805
844
|
}
|
|
806
845
|
handleInAttributeValue(u, t) {
|
|
807
|
-
u === t || !this.decodeEntities && this.fastForwardTo(t) ? (this.cbs.onattribdata(this.sectionStart, this.index), this.sectionStart = -1, this.cbs.onattribend(t ===
|
|
846
|
+
u === t || !this.decodeEntities && this.fastForwardTo(t) ? (this.cbs.onattribdata(this.sectionStart, this.index), this.sectionStart = -1, this.cbs.onattribend(t === h.DoubleQuote ? L.Double : L.Single, this.index + 1), this.state = d.BeforeAttributeName) : this.decodeEntities && u === h.Amp && this.startEntity();
|
|
808
847
|
}
|
|
809
848
|
stateInAttributeValueDoubleQuotes(u) {
|
|
810
|
-
this.handleInAttributeValue(u,
|
|
849
|
+
this.handleInAttributeValue(u, h.DoubleQuote);
|
|
811
850
|
}
|
|
812
851
|
stateInAttributeValueSingleQuotes(u) {
|
|
813
|
-
this.handleInAttributeValue(u,
|
|
852
|
+
this.handleInAttributeValue(u, h.SingleQuote);
|
|
814
853
|
}
|
|
815
854
|
stateInAttributeValueNoQuotes(u) {
|
|
816
|
-
_(u) || u ===
|
|
855
|
+
_(u) || u === h.Gt ? (this.cbs.onattribdata(this.sectionStart, this.index), this.sectionStart = -1, this.cbs.onattribend(L.Unquoted, this.index), this.state = d.BeforeAttributeName, this.stateBeforeAttributeName(u)) : this.decodeEntities && u === h.Amp && this.startEntity();
|
|
817
856
|
}
|
|
818
857
|
stateBeforeDeclaration(u) {
|
|
819
|
-
u ===
|
|
858
|
+
u === h.OpeningSquareBracket ? (this.state = d.CDATASequence, this.sequenceIndex = 0) : this.state = u === h.Dash ? d.BeforeComment : d.InDeclaration;
|
|
820
859
|
}
|
|
821
860
|
stateInDeclaration(u) {
|
|
822
|
-
(u ===
|
|
861
|
+
(u === h.Gt || this.fastForwardTo(h.Gt)) && (this.cbs.ondeclaration(this.sectionStart, this.index), this.state = d.Text, this.sectionStart = this.index + 1);
|
|
823
862
|
}
|
|
824
863
|
stateInProcessingInstruction(u) {
|
|
825
|
-
(u ===
|
|
864
|
+
(u === h.Gt || this.fastForwardTo(h.Gt)) && (this.cbs.onprocessinginstruction(this.sectionStart, this.index), this.state = d.Text, this.sectionStart = this.index + 1);
|
|
826
865
|
}
|
|
827
866
|
stateBeforeComment(u) {
|
|
828
|
-
u ===
|
|
867
|
+
u === h.Dash ? (this.state = d.InCommentLike, this.currentSequence = T.CommentEnd, this.sequenceIndex = 2, this.sectionStart = this.index + 1) : this.state = d.InDeclaration;
|
|
829
868
|
}
|
|
830
869
|
stateInSpecialComment(u) {
|
|
831
|
-
(u ===
|
|
870
|
+
(u === h.Gt || this.fastForwardTo(h.Gt)) && (this.cbs.oncomment(this.sectionStart, this.index, 0), this.state = d.Text, this.sectionStart = this.index + 1);
|
|
832
871
|
}
|
|
833
872
|
stateBeforeSpecialS(u) {
|
|
834
873
|
const t = u | 32;
|
|
835
|
-
t === T.ScriptEnd[3] ? this.startSpecial(T.ScriptEnd, 4) : t === T.StyleEnd[3] ? this.startSpecial(T.StyleEnd, 4) : (this.state =
|
|
874
|
+
t === T.ScriptEnd[3] ? this.startSpecial(T.ScriptEnd, 4) : t === T.StyleEnd[3] ? this.startSpecial(T.StyleEnd, 4) : (this.state = d.InTagName, this.stateInTagName(u));
|
|
836
875
|
}
|
|
837
876
|
stateBeforeSpecialT(u) {
|
|
838
877
|
switch (u | 32) {
|
|
@@ -849,11 +888,11 @@ class Ae {
|
|
|
849
888
|
break;
|
|
850
889
|
}
|
|
851
890
|
default:
|
|
852
|
-
this.state =
|
|
891
|
+
this.state = d.InTagName, this.stateInTagName(u);
|
|
853
892
|
}
|
|
854
893
|
}
|
|
855
894
|
startEntity() {
|
|
856
|
-
this.baseState = this.state, this.state =
|
|
895
|
+
this.baseState = this.state, this.state = d.InEntity, this.entityStart = this.index, this.entityDecoder.startEntity(this.xmlMode ? C.Strict : this.baseState === d.Text || this.baseState === d.InSpecialTag ? C.Legacy : C.Attribute);
|
|
857
896
|
}
|
|
858
897
|
stateInEntity() {
|
|
859
898
|
const u = this.entityDecoder.write(this.buffer, this.index - this.offset);
|
|
@@ -863,7 +902,7 @@ class Ae {
|
|
|
863
902
|
* Remove data that has already been consumed from the buffer.
|
|
864
903
|
*/
|
|
865
904
|
cleanup() {
|
|
866
|
-
this.running && this.sectionStart !== this.index && (this.state ===
|
|
905
|
+
this.running && this.sectionStart !== this.index && (this.state === d.Text || this.state === d.InSpecialTag && this.sequenceIndex === 0 ? (this.cbs.ontext(this.sectionStart, this.index), this.sectionStart = this.index) : (this.state === d.InAttributeValueDq || this.state === d.InAttributeValueSq || this.state === d.InAttributeValueNq) && (this.cbs.onattribdata(this.sectionStart, this.index), this.sectionStart = this.index));
|
|
867
906
|
}
|
|
868
907
|
shouldContinue() {
|
|
869
908
|
return this.index < this.buffer.length + this.offset && this.running;
|
|
@@ -877,107 +916,107 @@ class Ae {
|
|
|
877
916
|
for (; this.shouldContinue(); ) {
|
|
878
917
|
const u = this.buffer.charCodeAt(this.index - this.offset);
|
|
879
918
|
switch (this.state) {
|
|
880
|
-
case
|
|
919
|
+
case d.Text: {
|
|
881
920
|
this.stateText(u);
|
|
882
921
|
break;
|
|
883
922
|
}
|
|
884
|
-
case
|
|
923
|
+
case d.SpecialStartSequence: {
|
|
885
924
|
this.stateSpecialStartSequence(u);
|
|
886
925
|
break;
|
|
887
926
|
}
|
|
888
|
-
case
|
|
927
|
+
case d.InSpecialTag: {
|
|
889
928
|
this.stateInSpecialTag(u);
|
|
890
929
|
break;
|
|
891
930
|
}
|
|
892
|
-
case
|
|
931
|
+
case d.CDATASequence: {
|
|
893
932
|
this.stateCDATASequence(u);
|
|
894
933
|
break;
|
|
895
934
|
}
|
|
896
|
-
case
|
|
935
|
+
case d.InAttributeValueDq: {
|
|
897
936
|
this.stateInAttributeValueDoubleQuotes(u);
|
|
898
937
|
break;
|
|
899
938
|
}
|
|
900
|
-
case
|
|
939
|
+
case d.InAttributeName: {
|
|
901
940
|
this.stateInAttributeName(u);
|
|
902
941
|
break;
|
|
903
942
|
}
|
|
904
|
-
case
|
|
943
|
+
case d.InCommentLike: {
|
|
905
944
|
this.stateInCommentLike(u);
|
|
906
945
|
break;
|
|
907
946
|
}
|
|
908
|
-
case
|
|
947
|
+
case d.InSpecialComment: {
|
|
909
948
|
this.stateInSpecialComment(u);
|
|
910
949
|
break;
|
|
911
950
|
}
|
|
912
|
-
case
|
|
951
|
+
case d.BeforeAttributeName: {
|
|
913
952
|
this.stateBeforeAttributeName(u);
|
|
914
953
|
break;
|
|
915
954
|
}
|
|
916
|
-
case
|
|
955
|
+
case d.InTagName: {
|
|
917
956
|
this.stateInTagName(u);
|
|
918
957
|
break;
|
|
919
958
|
}
|
|
920
|
-
case
|
|
959
|
+
case d.InClosingTagName: {
|
|
921
960
|
this.stateInClosingTagName(u);
|
|
922
961
|
break;
|
|
923
962
|
}
|
|
924
|
-
case
|
|
963
|
+
case d.BeforeTagName: {
|
|
925
964
|
this.stateBeforeTagName(u);
|
|
926
965
|
break;
|
|
927
966
|
}
|
|
928
|
-
case
|
|
967
|
+
case d.AfterAttributeName: {
|
|
929
968
|
this.stateAfterAttributeName(u);
|
|
930
969
|
break;
|
|
931
970
|
}
|
|
932
|
-
case
|
|
971
|
+
case d.InAttributeValueSq: {
|
|
933
972
|
this.stateInAttributeValueSingleQuotes(u);
|
|
934
973
|
break;
|
|
935
974
|
}
|
|
936
|
-
case
|
|
975
|
+
case d.BeforeAttributeValue: {
|
|
937
976
|
this.stateBeforeAttributeValue(u);
|
|
938
977
|
break;
|
|
939
978
|
}
|
|
940
|
-
case
|
|
979
|
+
case d.BeforeClosingTagName: {
|
|
941
980
|
this.stateBeforeClosingTagName(u);
|
|
942
981
|
break;
|
|
943
982
|
}
|
|
944
|
-
case
|
|
983
|
+
case d.AfterClosingTagName: {
|
|
945
984
|
this.stateAfterClosingTagName(u);
|
|
946
985
|
break;
|
|
947
986
|
}
|
|
948
|
-
case
|
|
987
|
+
case d.BeforeSpecialS: {
|
|
949
988
|
this.stateBeforeSpecialS(u);
|
|
950
989
|
break;
|
|
951
990
|
}
|
|
952
|
-
case
|
|
991
|
+
case d.BeforeSpecialT: {
|
|
953
992
|
this.stateBeforeSpecialT(u);
|
|
954
993
|
break;
|
|
955
994
|
}
|
|
956
|
-
case
|
|
995
|
+
case d.InAttributeValueNq: {
|
|
957
996
|
this.stateInAttributeValueNoQuotes(u);
|
|
958
997
|
break;
|
|
959
998
|
}
|
|
960
|
-
case
|
|
999
|
+
case d.InSelfClosingTag: {
|
|
961
1000
|
this.stateInSelfClosingTag(u);
|
|
962
1001
|
break;
|
|
963
1002
|
}
|
|
964
|
-
case
|
|
1003
|
+
case d.InDeclaration: {
|
|
965
1004
|
this.stateInDeclaration(u);
|
|
966
1005
|
break;
|
|
967
1006
|
}
|
|
968
|
-
case
|
|
1007
|
+
case d.BeforeDeclaration: {
|
|
969
1008
|
this.stateBeforeDeclaration(u);
|
|
970
1009
|
break;
|
|
971
1010
|
}
|
|
972
|
-
case
|
|
1011
|
+
case d.BeforeComment: {
|
|
973
1012
|
this.stateBeforeComment(u);
|
|
974
1013
|
break;
|
|
975
1014
|
}
|
|
976
|
-
case
|
|
1015
|
+
case d.InProcessingInstruction: {
|
|
977
1016
|
this.stateInProcessingInstruction(u);
|
|
978
1017
|
break;
|
|
979
1018
|
}
|
|
980
|
-
case
|
|
1019
|
+
case d.InEntity: {
|
|
981
1020
|
this.stateInEntity();
|
|
982
1021
|
break;
|
|
983
1022
|
}
|
|
@@ -987,15 +1026,15 @@ class Ae {
|
|
|
987
1026
|
this.cleanup();
|
|
988
1027
|
}
|
|
989
1028
|
finish() {
|
|
990
|
-
this.state ===
|
|
1029
|
+
this.state === d.InEntity && (this.entityDecoder.end(), this.state = this.baseState), this.handleTrailingData(), this.cbs.onend();
|
|
991
1030
|
}
|
|
992
1031
|
/** Handle any trailing data. */
|
|
993
1032
|
handleTrailingData() {
|
|
994
1033
|
const u = this.buffer.length + this.offset;
|
|
995
|
-
this.sectionStart >= u || (this.state ===
|
|
1034
|
+
this.sectionStart >= u || (this.state === d.InCommentLike ? this.currentSequence === T.CdataEnd ? this.cbs.oncdata(this.sectionStart, u, 0) : this.cbs.oncomment(this.sectionStart, u, 0) : this.state === d.InTagName || this.state === d.BeforeAttributeName || this.state === d.BeforeAttributeValue || this.state === d.AfterAttributeName || this.state === d.InAttributeName || this.state === d.InAttributeValueSq || this.state === d.InAttributeValueDq || this.state === d.InAttributeValueNq || this.state === d.InClosingTagName || this.cbs.ontext(this.sectionStart, u));
|
|
996
1035
|
}
|
|
997
1036
|
emitCodePoint(u, t) {
|
|
998
|
-
this.baseState !==
|
|
1037
|
+
this.baseState !== d.Text && this.baseState !== d.InSpecialTag ? (this.sectionStart < this.entityStart && this.cbs.onattribdata(this.sectionStart, this.entityStart), this.sectionStart = this.entityStart + t, this.index = this.sectionStart - 1, this.cbs.onattribentity(u)) : (this.sectionStart < this.entityStart && this.cbs.ontext(this.sectionStart, this.entityStart), this.sectionStart = this.entityStart + t, this.index = this.sectionStart - 1, this.cbs.ontextentity(u, this.sectionStart));
|
|
999
1038
|
}
|
|
1000
1039
|
}
|
|
1001
1040
|
const H = /* @__PURE__ */ new Set([
|
|
@@ -1006,7 +1045,7 @@ const H = /* @__PURE__ */ new Set([
|
|
|
1006
1045
|
"button",
|
|
1007
1046
|
"datalist",
|
|
1008
1047
|
"textarea"
|
|
1009
|
-
]), E = /* @__PURE__ */ new Set(["p"]), Su = /* @__PURE__ */ new Set(["thead", "tbody"]), Iu = /* @__PURE__ */ new Set(["dd", "dt"]), Eu = /* @__PURE__ */ new Set(["rt", "rp"]),
|
|
1048
|
+
]), E = /* @__PURE__ */ new Set(["p"]), Su = /* @__PURE__ */ new Set(["thead", "tbody"]), Iu = /* @__PURE__ */ new Set(["dd", "dt"]), Eu = /* @__PURE__ */ new Set(["rt", "rp"]), ke = /* @__PURE__ */ new Map([
|
|
1010
1049
|
["tr", /* @__PURE__ */ new Set(["tr", "th", "td"])],
|
|
1011
1050
|
["th", /* @__PURE__ */ new Set(["th"])],
|
|
1012
1051
|
["td", /* @__PURE__ */ new Set(["thead", "th", "td"])],
|
|
@@ -1054,7 +1093,7 @@ const H = /* @__PURE__ */ new Set([
|
|
|
1054
1093
|
["rp", Eu],
|
|
1055
1094
|
["tbody", Su],
|
|
1056
1095
|
["tfoot", Su]
|
|
1057
|
-
]),
|
|
1096
|
+
]), Ve = /* @__PURE__ */ new Set([
|
|
1058
1097
|
"area",
|
|
1059
1098
|
"base",
|
|
1060
1099
|
"basefont",
|
|
@@ -1074,7 +1113,7 @@ const H = /* @__PURE__ */ new Set([
|
|
|
1074
1113
|
"source",
|
|
1075
1114
|
"track",
|
|
1076
1115
|
"wbr"
|
|
1077
|
-
]),
|
|
1116
|
+
]), vu = /* @__PURE__ */ new Set(["math", "svg"]), wu = /* @__PURE__ */ new Set([
|
|
1078
1117
|
"mi",
|
|
1079
1118
|
"mo",
|
|
1080
1119
|
"mn",
|
|
@@ -1084,11 +1123,11 @@ const H = /* @__PURE__ */ new Set([
|
|
|
1084
1123
|
"foreignobject",
|
|
1085
1124
|
"desc",
|
|
1086
1125
|
"title"
|
|
1087
|
-
]),
|
|
1088
|
-
class
|
|
1126
|
+
]), qe = /\s|\//;
|
|
1127
|
+
class Re {
|
|
1089
1128
|
constructor(u, t = {}) {
|
|
1090
|
-
var a, i, s, r, n,
|
|
1091
|
-
this.options = t, this.startIndex = 0, this.endIndex = 0, this.openTagStart = 0, this.tagname = "", this.attribname = "", this.attribvalue = "", this.attribs = null, this.stack = [], this.buffers = [], this.bufferOffset = 0, this.writeIndex = 0, this.ended = !1, this.cbs = u ?? {}, this.htmlMode = !this.options.xmlMode, this.lowerCaseTagNames = (a = t.lowerCaseTags) !== null && a !== void 0 ? a : this.htmlMode, this.lowerCaseAttributeNames = (i = t.lowerCaseAttributeNames) !== null && i !== void 0 ? i : this.htmlMode, this.recognizeSelfClosing = (s = t.recognizeSelfClosing) !== null && s !== void 0 ? s : !this.htmlMode, this.tokenizer = new ((r = t.Tokenizer) !== null && r !== void 0 ? r :
|
|
1129
|
+
var a, i, s, r, n, o;
|
|
1130
|
+
this.options = t, this.startIndex = 0, this.endIndex = 0, this.openTagStart = 0, this.tagname = "", this.attribname = "", this.attribvalue = "", this.attribs = null, this.stack = [], this.buffers = [], this.bufferOffset = 0, this.writeIndex = 0, this.ended = !1, this.cbs = u ?? {}, this.htmlMode = !this.options.xmlMode, this.lowerCaseTagNames = (a = t.lowerCaseTags) !== null && a !== void 0 ? a : this.htmlMode, this.lowerCaseAttributeNames = (i = t.lowerCaseAttributeNames) !== null && i !== void 0 ? i : this.htmlMode, this.recognizeSelfClosing = (s = t.recognizeSelfClosing) !== null && s !== void 0 ? s : !this.htmlMode, this.tokenizer = new ((r = t.Tokenizer) !== null && r !== void 0 ? r : Ne)(this.options, this), this.foreignContext = [!this.htmlMode], (o = (n = this.cbs).onparserinit) === null || o === void 0 || o.call(n, this);
|
|
1092
1131
|
}
|
|
1093
1132
|
// Tokenizer event handlers
|
|
1094
1133
|
/** @internal */
|
|
@@ -1107,7 +1146,7 @@ class qe {
|
|
|
1107
1146
|
* to specify your own additional void elements.
|
|
1108
1147
|
*/
|
|
1109
1148
|
isVoidElement(u) {
|
|
1110
|
-
return this.htmlMode &&
|
|
1149
|
+
return this.htmlMode && Ve.has(u);
|
|
1111
1150
|
}
|
|
1112
1151
|
/** @internal */
|
|
1113
1152
|
onopentagname(u, t) {
|
|
@@ -1118,13 +1157,13 @@ class qe {
|
|
|
1118
1157
|
emitOpenTag(u) {
|
|
1119
1158
|
var t, a, i, s;
|
|
1120
1159
|
this.openTagStart = this.startIndex, this.tagname = u;
|
|
1121
|
-
const r = this.htmlMode &&
|
|
1160
|
+
const r = this.htmlMode && ke.get(u);
|
|
1122
1161
|
if (r)
|
|
1123
1162
|
for (; this.stack.length > 0 && r.has(this.stack[0]); ) {
|
|
1124
1163
|
const n = this.stack.shift();
|
|
1125
1164
|
(a = (t = this.cbs).onclosetag) === null || a === void 0 || a.call(t, n, !0);
|
|
1126
1165
|
}
|
|
1127
|
-
this.isVoidElement(u) || (this.stack.unshift(u), this.htmlMode && (
|
|
1166
|
+
this.isVoidElement(u) || (this.stack.unshift(u), this.htmlMode && (vu.has(u) ? this.foreignContext.unshift(!0) : wu.has(u) && this.foreignContext.unshift(!1))), (s = (i = this.cbs).onopentagname) === null || s === void 0 || s.call(i, u), this.cbs.onopentag && (this.attribs = {});
|
|
1128
1167
|
}
|
|
1129
1168
|
endOpenTag(u) {
|
|
1130
1169
|
var t, a;
|
|
@@ -1136,19 +1175,19 @@ class qe {
|
|
|
1136
1175
|
}
|
|
1137
1176
|
/** @internal */
|
|
1138
1177
|
onclosetag(u, t) {
|
|
1139
|
-
var a, i, s, r, n,
|
|
1178
|
+
var a, i, s, r, n, o, c, l;
|
|
1140
1179
|
this.endIndex = t;
|
|
1141
|
-
let
|
|
1142
|
-
if (this.lowerCaseTagNames && (
|
|
1143
|
-
this.htmlMode &&
|
|
1180
|
+
let f = this.getSlice(u, t);
|
|
1181
|
+
if (this.lowerCaseTagNames && (f = f.toLowerCase()), this.htmlMode && (vu.has(f) || wu.has(f)) && this.foreignContext.shift(), this.isVoidElement(f))
|
|
1182
|
+
this.htmlMode && f === "br" && ((r = (s = this.cbs).onopentagname) === null || r === void 0 || r.call(s, "br"), (o = (n = this.cbs).onopentag) === null || o === void 0 || o.call(n, "br", {}, !0), (l = (c = this.cbs).onclosetag) === null || l === void 0 || l.call(c, "br", !1));
|
|
1144
1183
|
else {
|
|
1145
|
-
const
|
|
1146
|
-
if (
|
|
1147
|
-
for (let
|
|
1148
|
-
const
|
|
1149
|
-
(i = (a = this.cbs).onclosetag) === null || i === void 0 || i.call(a,
|
|
1184
|
+
const m = this.stack.indexOf(f);
|
|
1185
|
+
if (m !== -1)
|
|
1186
|
+
for (let p = 0; p <= m; p++) {
|
|
1187
|
+
const v = this.stack.shift();
|
|
1188
|
+
(i = (a = this.cbs).onclosetag) === null || i === void 0 || i.call(a, v, p !== m);
|
|
1150
1189
|
}
|
|
1151
|
-
else this.htmlMode &&
|
|
1190
|
+
else this.htmlMode && f === "p" && (this.emitOpenTag("p"), this.closeCurrentTag(!0));
|
|
1152
1191
|
}
|
|
1153
1192
|
this.startIndex = t + 1;
|
|
1154
1193
|
}
|
|
@@ -1178,10 +1217,10 @@ class qe {
|
|
|
1178
1217
|
/** @internal */
|
|
1179
1218
|
onattribend(u, t) {
|
|
1180
1219
|
var a, i;
|
|
1181
|
-
this.endIndex = t, (i = (a = this.cbs).onattribute) === null || i === void 0 || i.call(a, this.attribname, this.attribvalue, u ===
|
|
1220
|
+
this.endIndex = t, (i = (a = this.cbs).onattribute) === null || i === void 0 || i.call(a, this.attribname, this.attribvalue, u === L.Double ? '"' : u === L.Single ? "'" : u === L.NoValue ? void 0 : null), this.attribs && !Object.prototype.hasOwnProperty.call(this.attribs, this.attribname) && (this.attribs[this.attribname] = this.attribvalue), this.attribvalue = "";
|
|
1182
1221
|
}
|
|
1183
1222
|
getInstructionName(u) {
|
|
1184
|
-
const t = u.search(
|
|
1223
|
+
const t = u.search(qe);
|
|
1185
1224
|
let a = t < 0 ? u : u.substr(0, t);
|
|
1186
1225
|
return this.lowerCaseTagNames && (a = a.toLowerCase()), a;
|
|
1187
1226
|
}
|
|
@@ -1212,10 +1251,10 @@ class qe {
|
|
|
1212
1251
|
}
|
|
1213
1252
|
/** @internal */
|
|
1214
1253
|
oncdata(u, t, a) {
|
|
1215
|
-
var i, s, r, n,
|
|
1254
|
+
var i, s, r, n, o, c, l, f, m, p;
|
|
1216
1255
|
this.endIndex = t;
|
|
1217
|
-
const
|
|
1218
|
-
!this.htmlMode || this.options.recognizeCDATA ? ((s = (i = this.cbs).oncdatastart) === null || s === void 0 || s.call(i), (n = (r = this.cbs).ontext) === null || n === void 0 || n.call(r,
|
|
1256
|
+
const v = this.getSlice(u, t - a);
|
|
1257
|
+
!this.htmlMode || this.options.recognizeCDATA ? ((s = (i = this.cbs).oncdatastart) === null || s === void 0 || s.call(i), (n = (r = this.cbs).ontext) === null || n === void 0 || n.call(r, v), (c = (o = this.cbs).oncdataend) === null || c === void 0 || c.call(o)) : ((f = (l = this.cbs).oncomment) === null || f === void 0 || f.call(l, `[CDATA[${v}]]`), (p = (m = this.cbs).oncommentend) === null || p === void 0 || p.call(m)), this.startIndex = t + 1;
|
|
1219
1258
|
}
|
|
1220
1259
|
/** @internal */
|
|
1221
1260
|
onend() {
|
|
@@ -1316,33 +1355,33 @@ class qe {
|
|
|
1316
1355
|
function Au(e, u = "web") {
|
|
1317
1356
|
const t = { name: "", children: [] }, a = [t];
|
|
1318
1357
|
let i = "";
|
|
1319
|
-
const s = new
|
|
1358
|
+
const s = new Re(
|
|
1320
1359
|
{
|
|
1321
|
-
onopentag: (r, n,
|
|
1360
|
+
onopentag: (r, n, o) => {
|
|
1322
1361
|
const c = a[a.length - 1];
|
|
1323
1362
|
i.trim() && (Array.isArray(c.children) ? c.children.push({
|
|
1324
1363
|
name: "span",
|
|
1325
1364
|
children: i.trim()
|
|
1326
1365
|
}) : c.children = i.trim(), i = "");
|
|
1327
|
-
const
|
|
1328
|
-
(
|
|
1329
|
-
let [
|
|
1330
|
-
return
|
|
1366
|
+
const l = Object.entries(n || {}).reduce(
|
|
1367
|
+
(m, p) => {
|
|
1368
|
+
let [v = "", A = ""] = p;
|
|
1369
|
+
return v && (m[v] = A), m;
|
|
1331
1370
|
},
|
|
1332
1371
|
{}
|
|
1333
1372
|
);
|
|
1334
|
-
|
|
1335
|
-
const
|
|
1336
|
-
name:
|
|
1337
|
-
props:
|
|
1373
|
+
l.style && (l.style = ju(l.style));
|
|
1374
|
+
const f = {
|
|
1375
|
+
name: Ru(r, u),
|
|
1376
|
+
props: l
|
|
1338
1377
|
};
|
|
1339
|
-
Array.isArray(c.children) ? c.children.push(
|
|
1378
|
+
Array.isArray(c.children) ? c.children.push(f) : c.children ? c.children = [
|
|
1340
1379
|
{
|
|
1341
1380
|
name: "span",
|
|
1342
1381
|
children: c.children
|
|
1343
1382
|
},
|
|
1344
|
-
|
|
1345
|
-
] : c.children = [
|
|
1383
|
+
f
|
|
1384
|
+
] : c.children = [f], o || a.push(f);
|
|
1346
1385
|
},
|
|
1347
1386
|
ontext: (r) => {
|
|
1348
1387
|
const n = r.trim();
|
|
@@ -1360,73 +1399,73 @@ function Au(e, u = "web") {
|
|
|
1360
1399
|
);
|
|
1361
1400
|
return s.write(e.replace(/\\"/g, '"')), s.end(), t.children || [];
|
|
1362
1401
|
}
|
|
1363
|
-
function
|
|
1402
|
+
function je(e, u) {
|
|
1364
1403
|
const a = {
|
|
1365
|
-
imports:
|
|
1404
|
+
imports: De(e),
|
|
1366
1405
|
emits: [],
|
|
1367
1406
|
errors: []
|
|
1368
|
-
}, i =
|
|
1407
|
+
}, i = W(e);
|
|
1369
1408
|
return Y(i, {
|
|
1370
1409
|
ExportDefaultDeclaration(s) {
|
|
1371
1410
|
const r = s.node.declaration;
|
|
1372
1411
|
if (r.type !== "CallExpression") return;
|
|
1373
1412
|
const n = r.arguments[0];
|
|
1374
1413
|
if (n?.type !== "ObjectExpression") return;
|
|
1375
|
-
const
|
|
1376
|
-
(
|
|
1414
|
+
const o = n.properties.filter(
|
|
1415
|
+
(f) => f.type === "ObjectProperty"
|
|
1377
1416
|
), c = n.properties.filter(
|
|
1378
|
-
(
|
|
1379
|
-
),
|
|
1380
|
-
(
|
|
1417
|
+
(f) => f.type == "ObjectMethod"
|
|
1418
|
+
), l = o.find(
|
|
1419
|
+
(f) => f.key.name === "computed"
|
|
1381
1420
|
);
|
|
1382
|
-
|
|
1383
|
-
for (const
|
|
1384
|
-
switch (
|
|
1421
|
+
l && (a.computed = Du(l.value), a.watchers = $e(l.value));
|
|
1422
|
+
for (const f of o)
|
|
1423
|
+
switch (f.key.name) {
|
|
1385
1424
|
case "name":
|
|
1386
|
-
a.name =
|
|
1425
|
+
a.name = f.value.value;
|
|
1387
1426
|
break;
|
|
1388
1427
|
case "methods":
|
|
1389
|
-
a.handlers =
|
|
1390
|
-
|
|
1428
|
+
a.handlers = Fe(f.value), a.methods = Be(f.value), a.dataSources = _e(
|
|
1429
|
+
f.value,
|
|
1391
1430
|
u
|
|
1392
1431
|
);
|
|
1393
1432
|
break;
|
|
1394
1433
|
case "watch":
|
|
1395
|
-
a.watch =
|
|
1396
|
-
|
|
1434
|
+
a.watch = Oe(
|
|
1435
|
+
f.value,
|
|
1397
1436
|
a.watchers
|
|
1398
1437
|
);
|
|
1399
1438
|
break;
|
|
1400
1439
|
case "props":
|
|
1401
|
-
a.props =
|
|
1440
|
+
a.props = Ue(f.value);
|
|
1402
1441
|
break;
|
|
1403
1442
|
case "inject":
|
|
1404
|
-
a.inject =
|
|
1443
|
+
a.inject = Ge(f.value);
|
|
1405
1444
|
break;
|
|
1406
1445
|
case "expose":
|
|
1407
|
-
a.expose =
|
|
1446
|
+
a.expose = We(f.value);
|
|
1408
1447
|
break;
|
|
1409
1448
|
case "directives":
|
|
1410
|
-
a.directives =
|
|
1449
|
+
a.directives = Je(f.value);
|
|
1411
1450
|
break;
|
|
1412
1451
|
}
|
|
1413
|
-
for (const
|
|
1414
|
-
switch (
|
|
1452
|
+
for (const f of c)
|
|
1453
|
+
switch (f.key.name) {
|
|
1415
1454
|
case "setup":
|
|
1416
|
-
a.state =
|
|
1455
|
+
a.state = Le(f.body);
|
|
1417
1456
|
break;
|
|
1418
1457
|
}
|
|
1419
|
-
a.lifeCycles =
|
|
1458
|
+
a.lifeCycles = Me(c);
|
|
1420
1459
|
},
|
|
1421
1460
|
CallExpression(s) {
|
|
1422
|
-
const r =
|
|
1461
|
+
const r = He(s.node);
|
|
1423
1462
|
if (r.length)
|
|
1424
1463
|
for (let n of r)
|
|
1425
1464
|
a.emits?.find((c) => c.name === n.name) || a.emits?.push(n);
|
|
1426
1465
|
}
|
|
1427
1466
|
}), a;
|
|
1428
1467
|
}
|
|
1429
|
-
function
|
|
1468
|
+
function De(e) {
|
|
1430
1469
|
const u = /import\s+{(.+?)}\s+from\s+['"](.+?)['"]/g, t = /import\s+(.+?)\s+from\s+['"](.+?)['"]/g, a = /^{(.+?)}$/, i = [];
|
|
1431
1470
|
let s;
|
|
1432
1471
|
const r = e.replace(/\n/g, " ");
|
|
@@ -1434,19 +1473,19 @@ function Re(e) {
|
|
|
1434
1473
|
const n = s[2] === "@element-plus/icons-vue" ? "@vtj/icons" : s[2];
|
|
1435
1474
|
i.push({
|
|
1436
1475
|
from: n,
|
|
1437
|
-
imports: s[1].split(",").map((
|
|
1476
|
+
imports: s[1].split(",").map((o) => o.trim())
|
|
1438
1477
|
});
|
|
1439
1478
|
}
|
|
1440
1479
|
for (; (s = t.exec(r)) !== null; ) {
|
|
1441
|
-
const n = s[1],
|
|
1480
|
+
const n = s[1], o = s[2];
|
|
1442
1481
|
n && !a.test(n) && i.push({
|
|
1443
|
-
from:
|
|
1482
|
+
from: o,
|
|
1444
1483
|
imports: n
|
|
1445
1484
|
});
|
|
1446
1485
|
}
|
|
1447
1486
|
return i;
|
|
1448
1487
|
}
|
|
1449
|
-
function
|
|
1488
|
+
function Ce(e) {
|
|
1450
1489
|
for (const u of e.body)
|
|
1451
1490
|
if (u.type === "VariableDeclaration" && u.kind == "const") {
|
|
1452
1491
|
const { id: t, init: a } = u.declarations[0];
|
|
@@ -1455,40 +1494,40 @@ function je(e) {
|
|
|
1455
1494
|
}
|
|
1456
1495
|
return null;
|
|
1457
1496
|
}
|
|
1458
|
-
function
|
|
1459
|
-
const u =
|
|
1497
|
+
function Le(e) {
|
|
1498
|
+
const u = Ce(e);
|
|
1460
1499
|
if (!u) return {};
|
|
1461
1500
|
const t = {};
|
|
1462
1501
|
for (const a of u.properties) {
|
|
1463
1502
|
const { key: i, value: s } = a;
|
|
1464
1503
|
if (i.type === "Identifier") {
|
|
1465
|
-
const r =
|
|
1466
|
-
t[i.name] =
|
|
1504
|
+
const r = O(s);
|
|
1505
|
+
t[i.name] = q(r);
|
|
1467
1506
|
}
|
|
1468
1507
|
}
|
|
1469
1508
|
return t;
|
|
1470
1509
|
}
|
|
1471
1510
|
function P(e) {
|
|
1472
|
-
const { key: u, async: t, params: a, body: i } = e, s = a?.map((r) => r.type === "ObjectPattern" ? `{${r.properties.map((
|
|
1511
|
+
const { key: u, async: t, params: a, body: i } = e, s = a?.map((r) => r.type === "ObjectPattern" ? `{${r.properties.map((o) => o.key?.name || o.name).join(",")}}` : r.type === "AssignmentPattern" ? r.left.name + "=" + (r.right?.extra?.raw || "null") : r.name).join(", ");
|
|
1473
1512
|
if (u.type === "Identifier") {
|
|
1474
1513
|
const r = u.name;
|
|
1475
1514
|
let n = "{}";
|
|
1476
|
-
i && (n =
|
|
1477
|
-
const
|
|
1478
|
-
if (
|
|
1479
|
-
let
|
|
1480
|
-
|
|
1515
|
+
i && (n = O(i) || "{}");
|
|
1516
|
+
const o = e.value;
|
|
1517
|
+
if (o && o.type === "CallExpression") {
|
|
1518
|
+
let p = O(o) || "";
|
|
1519
|
+
p = p.replace("function () {", "() => {"), n = `{ return (${p})}`;
|
|
1481
1520
|
}
|
|
1482
|
-
const
|
|
1521
|
+
const l = `${t ? "async " : ""}(${s}) => ${n}`, f = r.startsWith("watcher_");
|
|
1483
1522
|
return {
|
|
1484
|
-
id:
|
|
1523
|
+
id: f ? r.replace("watcher_", "") : "",
|
|
1485
1524
|
name: r,
|
|
1486
|
-
watcher:
|
|
1487
|
-
exp: du(
|
|
1525
|
+
watcher: f,
|
|
1526
|
+
exp: du(l)
|
|
1488
1527
|
};
|
|
1489
1528
|
}
|
|
1490
1529
|
}
|
|
1491
|
-
function
|
|
1530
|
+
function Du(e) {
|
|
1492
1531
|
if (!e) return {};
|
|
1493
1532
|
const u = {};
|
|
1494
1533
|
for (const t of e.properties) {
|
|
@@ -1497,19 +1536,19 @@ function Ru(e) {
|
|
|
1497
1536
|
}
|
|
1498
1537
|
return u;
|
|
1499
1538
|
}
|
|
1500
|
-
function
|
|
1539
|
+
function _e(e, u) {
|
|
1501
1540
|
if (!e) return {};
|
|
1502
1541
|
const t = {}, a = /apis\[\'([\w]*)\'\]/, i = /\.then\(([\w\W]*)\)/;
|
|
1503
1542
|
for (const s of e.properties) {
|
|
1504
|
-
const r = P(s), n = s.body.body?.[0],
|
|
1543
|
+
const r = P(s), n = s.body.body?.[0], o = (n?.leadingComments?.[0].value || "").trim(), c = pe(o);
|
|
1505
1544
|
if (r && r.exp.value.includes("this.provider.apis")) {
|
|
1506
|
-
const
|
|
1507
|
-
if (!
|
|
1508
|
-
const
|
|
1509
|
-
if (!
|
|
1510
|
-
const
|
|
1545
|
+
const f = (r.exp.value.match(a) || [])[1];
|
|
1546
|
+
if (!f) continue;
|
|
1547
|
+
const m = ze(u, f);
|
|
1548
|
+
if (!m) continue;
|
|
1549
|
+
const p = r.exp.value.match(i)?.[1];
|
|
1511
1550
|
t[r.name] = {
|
|
1512
|
-
ref:
|
|
1551
|
+
ref: f,
|
|
1513
1552
|
name: r.name,
|
|
1514
1553
|
test: c?.test || {
|
|
1515
1554
|
type: "JSFunction",
|
|
@@ -1518,18 +1557,18 @@ function Le(e, u) {
|
|
|
1518
1557
|
})`
|
|
1519
1558
|
},
|
|
1520
1559
|
type: "api",
|
|
1521
|
-
label:
|
|
1560
|
+
label: m.label,
|
|
1522
1561
|
transform: {
|
|
1523
1562
|
type: "JSFunction",
|
|
1524
|
-
value:
|
|
1563
|
+
value: p || `(res) => {
|
|
1525
1564
|
return res;
|
|
1526
1565
|
}`
|
|
1527
1566
|
},
|
|
1528
|
-
mockTemplate:
|
|
1567
|
+
mockTemplate: m.mockTemplate
|
|
1529
1568
|
};
|
|
1530
1569
|
}
|
|
1531
1570
|
if (r && r.exp.value.includes("this.provider.createMock")) {
|
|
1532
|
-
const
|
|
1571
|
+
const l = n?.declarations?.[0]?.init?.arguments?.[0], f = r.exp.value.match(i)?.[1];
|
|
1533
1572
|
t[r.name] = {
|
|
1534
1573
|
ref: "",
|
|
1535
1574
|
name: r.name,
|
|
@@ -1543,26 +1582,26 @@ function Le(e, u) {
|
|
|
1543
1582
|
label: c?.label || "",
|
|
1544
1583
|
transform: c?.transform || {
|
|
1545
1584
|
type: "JSFunction",
|
|
1546
|
-
value:
|
|
1585
|
+
value: f || `(res) => {
|
|
1547
1586
|
return res;
|
|
1548
1587
|
}`
|
|
1549
1588
|
},
|
|
1550
1589
|
mockTemplate: c?.mockTemplate || {
|
|
1551
1590
|
type: "JSFunction",
|
|
1552
|
-
value:
|
|
1591
|
+
value: l ? O(l) : ""
|
|
1553
1592
|
}
|
|
1554
1593
|
};
|
|
1555
1594
|
}
|
|
1556
1595
|
}
|
|
1557
1596
|
return t;
|
|
1558
1597
|
}
|
|
1559
|
-
function
|
|
1560
|
-
const u =
|
|
1598
|
+
function Be(e) {
|
|
1599
|
+
const u = Du(e), t = /\_([\w]{5,})$/, a = {};
|
|
1561
1600
|
for (const i of Object.keys(u))
|
|
1562
1601
|
t.test(i) || (a[i] = u[i]);
|
|
1563
1602
|
return a;
|
|
1564
1603
|
}
|
|
1565
|
-
function
|
|
1604
|
+
function Fe(e) {
|
|
1566
1605
|
if (!e) return {};
|
|
1567
1606
|
const u = {}, t = /\_([\w]{5,})$/;
|
|
1568
1607
|
for (const a of e.properties) {
|
|
@@ -1570,7 +1609,7 @@ function _e(e) {
|
|
|
1570
1609
|
if (t.test(i))
|
|
1571
1610
|
try {
|
|
1572
1611
|
if (a.body.body[0]?.argument) {
|
|
1573
|
-
const s =
|
|
1612
|
+
const s = O(
|
|
1574
1613
|
a.body.body[0].argument.callee.object
|
|
1575
1614
|
);
|
|
1576
1615
|
u[i] = du(s);
|
|
@@ -1582,7 +1621,7 @@ function _e(e) {
|
|
|
1582
1621
|
}
|
|
1583
1622
|
return u;
|
|
1584
1623
|
}
|
|
1585
|
-
function
|
|
1624
|
+
function $e(e) {
|
|
1586
1625
|
if (!e) return {};
|
|
1587
1626
|
const u = {};
|
|
1588
1627
|
for (const t of e.properties) {
|
|
@@ -1591,10 +1630,10 @@ function Be(e) {
|
|
|
1591
1630
|
}
|
|
1592
1631
|
return u;
|
|
1593
1632
|
}
|
|
1594
|
-
function
|
|
1595
|
-
return !!
|
|
1633
|
+
function X(e, u) {
|
|
1634
|
+
return !!Cu(e, u);
|
|
1596
1635
|
}
|
|
1597
|
-
function
|
|
1636
|
+
function Cu(e, u) {
|
|
1598
1637
|
return e.find(
|
|
1599
1638
|
(a) => a.key?.name === u
|
|
1600
1639
|
)?.value?.value;
|
|
@@ -1606,7 +1645,7 @@ function Tu(e, u) {
|
|
|
1606
1645
|
if (t)
|
|
1607
1646
|
return P(t)?.exp;
|
|
1608
1647
|
}
|
|
1609
|
-
function
|
|
1648
|
+
function Oe(e, u = {}) {
|
|
1610
1649
|
const t = [];
|
|
1611
1650
|
for (const a of e.properties) {
|
|
1612
1651
|
const { key: i, value: s } = a, r = i.value || i.name || "";
|
|
@@ -1615,8 +1654,8 @@ function Fe(e, u = {}) {
|
|
|
1615
1654
|
t.push({
|
|
1616
1655
|
id: r.replace("watcher_", ""),
|
|
1617
1656
|
source: u[r],
|
|
1618
|
-
deep:
|
|
1619
|
-
immediate:
|
|
1657
|
+
deep: X(n, "deep"),
|
|
1658
|
+
immediate: X(n, "immediate"),
|
|
1620
1659
|
handler: Tu(n, "handler")
|
|
1621
1660
|
});
|
|
1622
1661
|
} else if (a.type === "ObjectMethod" && t.push({
|
|
@@ -1636,53 +1675,53 @@ function Fe(e, u = {}) {
|
|
|
1636
1675
|
type: "JSFunction",
|
|
1637
1676
|
value: `() => { return this.${r}; }`
|
|
1638
1677
|
},
|
|
1639
|
-
deep:
|
|
1640
|
-
immediate:
|
|
1678
|
+
deep: X(n, "deep"),
|
|
1679
|
+
immediate: X(n, "immediate"),
|
|
1641
1680
|
handler: Tu(n, "handler")
|
|
1642
1681
|
});
|
|
1643
1682
|
}
|
|
1644
1683
|
}
|
|
1645
1684
|
return t;
|
|
1646
1685
|
}
|
|
1647
|
-
function
|
|
1686
|
+
function Me(e) {
|
|
1648
1687
|
const u = {};
|
|
1649
1688
|
for (const t of e) {
|
|
1650
1689
|
const a = t.key.name;
|
|
1651
|
-
if (
|
|
1690
|
+
if (oe.includes(a)) {
|
|
1652
1691
|
const i = P(t);
|
|
1653
1692
|
i && (u[i.name] = i.exp);
|
|
1654
1693
|
}
|
|
1655
1694
|
}
|
|
1656
1695
|
return u;
|
|
1657
1696
|
}
|
|
1658
|
-
function
|
|
1697
|
+
function Pe(e) {
|
|
1659
1698
|
const u = e.find(
|
|
1660
1699
|
(t) => t.key?.name === "type"
|
|
1661
1700
|
);
|
|
1662
1701
|
if (u)
|
|
1663
1702
|
return u.value.type === "ArrayExpression" ? u.value.elements.map((t) => t.name) : u.value.name;
|
|
1664
1703
|
}
|
|
1665
|
-
function
|
|
1704
|
+
function Lu(e) {
|
|
1666
1705
|
const u = e.find(
|
|
1667
1706
|
(t) => t.key?.name === "default"
|
|
1668
1707
|
);
|
|
1669
1708
|
if (u)
|
|
1670
|
-
return
|
|
1709
|
+
return q(O(u.value));
|
|
1671
1710
|
}
|
|
1672
|
-
function
|
|
1711
|
+
function Ue(e) {
|
|
1673
1712
|
if (!e) return [];
|
|
1674
1713
|
let u = [];
|
|
1675
1714
|
return e.type === "ArrayExpression" ? u = e.elements.map((t) => t.value) : e.type === "ObjectExpression" && (u = e.properties.map((t) => {
|
|
1676
1715
|
const { key: a, value: i } = t, s = i.properties || [];
|
|
1677
1716
|
return {
|
|
1678
1717
|
name: a.name,
|
|
1679
|
-
required:
|
|
1680
|
-
type:
|
|
1681
|
-
default:
|
|
1718
|
+
required: X(s, "required"),
|
|
1719
|
+
type: Pe(s),
|
|
1720
|
+
default: Lu(s)
|
|
1682
1721
|
};
|
|
1683
1722
|
})), u;
|
|
1684
1723
|
}
|
|
1685
|
-
function
|
|
1724
|
+
function He(e) {
|
|
1686
1725
|
const u = [];
|
|
1687
1726
|
if (e.callee.type === "MemberExpression" && e.callee.property?.name === "$emit") {
|
|
1688
1727
|
const [a, ...i] = (e.arguments || []).map(
|
|
@@ -1695,24 +1734,24 @@ function Pe(e) {
|
|
|
1695
1734
|
}
|
|
1696
1735
|
return u;
|
|
1697
1736
|
}
|
|
1698
|
-
function
|
|
1737
|
+
function Ge(e) {
|
|
1699
1738
|
let u = [];
|
|
1700
1739
|
return e.type === "ObjectExpression" && (u = e.properties.map((t) => {
|
|
1701
|
-
const { key: a, value: i } = t, s = i.properties, r = a.name, n =
|
|
1740
|
+
const { key: a, value: i } = t, s = i.properties, r = a.name, n = Cu(s, "from"), o = Lu(s);
|
|
1702
1741
|
return {
|
|
1703
1742
|
name: r,
|
|
1704
1743
|
from: n || r,
|
|
1705
|
-
default:
|
|
1744
|
+
default: o
|
|
1706
1745
|
};
|
|
1707
1746
|
})), u;
|
|
1708
1747
|
}
|
|
1709
|
-
function
|
|
1748
|
+
function We(e) {
|
|
1710
1749
|
return e && e.elements ? e.elements.map((u) => u?.type === "StringLiteral" ? u.value : "").filter((u) => !!u) : [];
|
|
1711
1750
|
}
|
|
1712
|
-
function
|
|
1751
|
+
function ze(e, u) {
|
|
1713
1752
|
return (e.apis || []).find((t) => t.id === u);
|
|
1714
1753
|
}
|
|
1715
|
-
function
|
|
1754
|
+
function Je(e) {
|
|
1716
1755
|
if (!e?.properties) return {};
|
|
1717
1756
|
const u = {};
|
|
1718
1757
|
for (const t of e.properties) {
|
|
@@ -1724,10 +1763,10 @@ function We(e) {
|
|
|
1724
1763
|
}
|
|
1725
1764
|
return u;
|
|
1726
1765
|
}
|
|
1727
|
-
let ru = [], Q = {},
|
|
1728
|
-
function
|
|
1729
|
-
return ru = [], Q = {},
|
|
1730
|
-
nodes: (
|
|
1766
|
+
let ru = [], Q = {}, _u = {}, Bu = {}, Fu = {}, K = "web", $u = [];
|
|
1767
|
+
function Xe(e, u, t = "", a) {
|
|
1768
|
+
return ru = [], Q = {}, _u = a?.handlers || {}, Fu = a?.styles || {}, K = a?.platform || "web", $u = a?.imports || [], Bu = a?.directives || {}, {
|
|
1769
|
+
nodes: (Vu({
|
|
1731
1770
|
id: e,
|
|
1732
1771
|
filename: u,
|
|
1733
1772
|
source: t,
|
|
@@ -1738,7 +1777,7 @@ function ze(e, u, t = "", a) {
|
|
|
1738
1777
|
context: Q
|
|
1739
1778
|
};
|
|
1740
1779
|
}
|
|
1741
|
-
function
|
|
1780
|
+
function Ze(e) {
|
|
1742
1781
|
if (e.name === "slot") {
|
|
1743
1782
|
let u = "default";
|
|
1744
1783
|
const t = [];
|
|
@@ -1750,55 +1789,55 @@ function Je(e) {
|
|
|
1750
1789
|
});
|
|
1751
1790
|
}
|
|
1752
1791
|
}
|
|
1753
|
-
function
|
|
1792
|
+
function Qe(e) {
|
|
1754
1793
|
const u = {};
|
|
1755
1794
|
for (const t of e) {
|
|
1756
1795
|
if (t.type === g.ATTRIBUTE)
|
|
1757
1796
|
if (t.name === "class") {
|
|
1758
|
-
const a = t.value?.content || "", i = /[\w]+_[\w]{5,}/, s = a.match(i)?.[0] || "", r = a.split(" ").filter((
|
|
1797
|
+
const a = t.value?.content || "", i = /[\w]+_[\w]{5,}/, s = a.match(i)?.[0] || "", r = a.split(" ").filter((o) => o !== s), n = Fu[`.${s}`];
|
|
1759
1798
|
n && (u.style = n), r.length && (u.class = r.join(" "));
|
|
1760
1799
|
} else if (t.name === "style") {
|
|
1761
1800
|
const a = t.value?.content || "";
|
|
1762
|
-
a && (u.style =
|
|
1801
|
+
a && (u.style = ju(a));
|
|
1763
1802
|
} else
|
|
1764
1803
|
u[t.name] = t.value?.content || "";
|
|
1765
|
-
if (t.type === g.DIRECTIVE && t.name === "bind" && (t.exp?.type === g.SIMPLE_EXPRESSION && t.arg?.type === g.SIMPLE_EXPRESSION && (u[t.arg.content] =
|
|
1804
|
+
if (t.type === g.DIRECTIVE && t.name === "bind" && (t.exp?.type === g.SIMPLE_EXPRESSION && t.arg?.type === g.SIMPLE_EXPRESSION && (u[t.arg.content] = q(`(${t.exp.content})`)), t.exp?.type === g.COMPOUND_EXPRESSION && t.arg?.type === g.SIMPLE_EXPRESSION))
|
|
1766
1805
|
if (t.arg.content === "class" && u.class) {
|
|
1767
|
-
const a = t.exp.ast.type, i =
|
|
1806
|
+
const a = t.exp.ast.type, i = he(
|
|
1768
1807
|
u.class,
|
|
1769
1808
|
t.exp.loc.source,
|
|
1770
1809
|
a
|
|
1771
1810
|
);
|
|
1772
|
-
i && (u[t.arg.content] =
|
|
1811
|
+
i && (u[t.arg.content] = q(i));
|
|
1773
1812
|
} else
|
|
1774
|
-
u[t.arg.content] =
|
|
1813
|
+
u[t.arg.content] = q(
|
|
1775
1814
|
`(${t.exp.loc.source})`
|
|
1776
1815
|
);
|
|
1777
1816
|
}
|
|
1778
1817
|
return u;
|
|
1779
1818
|
}
|
|
1780
|
-
function
|
|
1819
|
+
function Ke(e, u = {}) {
|
|
1781
1820
|
const t = {};
|
|
1782
1821
|
for (const a of e)
|
|
1783
1822
|
if (a.type === g.DIRECTIVE && a.name === "on" && a.arg?.type === g.SIMPLE_EXPRESSION) {
|
|
1784
1823
|
const i = a.modifiers.reduce(
|
|
1785
|
-
(
|
|
1824
|
+
(l, f) => (l[f.content] = !0, l),
|
|
1786
1825
|
{}
|
|
1787
1826
|
);
|
|
1788
1827
|
let s = a.exp?.loc.source || "";
|
|
1789
1828
|
/\)$/.test(s) && (s = `($event) => { ${s} } `);
|
|
1790
|
-
const n = new RegExp(`${a.arg.content}_[\\w]{5,}`),
|
|
1791
|
-
if (
|
|
1829
|
+
const n = new RegExp(`${a.arg.content}_[\\w]{5,}`), o = s.match(n)?.[0] || "", c = u[o];
|
|
1830
|
+
if (o && c)
|
|
1792
1831
|
t[a.arg.content] = {
|
|
1793
1832
|
name: a.arg.content,
|
|
1794
1833
|
handler: c,
|
|
1795
1834
|
modifiers: i
|
|
1796
1835
|
};
|
|
1797
1836
|
else {
|
|
1798
|
-
const
|
|
1837
|
+
const l = a.exp?.ast?.type === "AssignmentExpression";
|
|
1799
1838
|
t[a.arg.content] = {
|
|
1800
1839
|
name: a.arg.content,
|
|
1801
|
-
handler: du(
|
|
1840
|
+
handler: du(l ? `()=> {${s}}` : `(${s})`),
|
|
1802
1841
|
modifiers: i
|
|
1803
1842
|
};
|
|
1804
1843
|
}
|
|
@@ -1812,64 +1851,64 @@ function uu(e, u) {
|
|
|
1812
1851
|
const r = s === 0 ? "vIf" : i.condition ? "vElseIf" : "vElse", n = i.condition?.loc.source || "";
|
|
1813
1852
|
t.push({
|
|
1814
1853
|
name: r,
|
|
1815
|
-
value: r === "vElse" ? !0 :
|
|
1854
|
+
value: r === "vElse" ? !0 : q(n)
|
|
1816
1855
|
});
|
|
1817
|
-
const
|
|
1818
|
-
if (
|
|
1819
|
-
const c = uu(
|
|
1856
|
+
const o = e.children?.[0];
|
|
1857
|
+
if (o) {
|
|
1858
|
+
const c = uu(o);
|
|
1820
1859
|
t.push(...c);
|
|
1821
1860
|
}
|
|
1822
1861
|
}
|
|
1823
1862
|
}), e.type === g.FOR && t.push({
|
|
1824
1863
|
name: "vFor",
|
|
1825
|
-
value:
|
|
1864
|
+
value: q(e.source.loc.source),
|
|
1826
1865
|
iterator: {
|
|
1827
1866
|
item: e.valueAlias?.loc.source || "item",
|
|
1828
1867
|
index: e.keyAlias?.loc.source || "index"
|
|
1829
1868
|
}
|
|
1830
1869
|
}), e.type === g.ELEMENT) {
|
|
1831
1870
|
const i = e.props.filter(
|
|
1832
|
-
(
|
|
1833
|
-
), s = i.filter((
|
|
1834
|
-
s.length && s.forEach((
|
|
1871
|
+
(l) => l.type === g.DIRECTIVE
|
|
1872
|
+
), s = i.filter((l) => l.name === "model");
|
|
1873
|
+
s.length && s.forEach((l) => {
|
|
1835
1874
|
t.push({
|
|
1836
1875
|
name: "vModel",
|
|
1837
|
-
arg:
|
|
1838
|
-
value:
|
|
1876
|
+
arg: l.arg?.content,
|
|
1877
|
+
value: q(l.exp?.loc.source || "")
|
|
1839
1878
|
});
|
|
1840
1879
|
});
|
|
1841
|
-
const r = i.find((
|
|
1880
|
+
const r = i.find((l) => l.name === "show");
|
|
1842
1881
|
r && t.push({
|
|
1843
1882
|
name: "vShow",
|
|
1844
|
-
value:
|
|
1883
|
+
value: q(r.exp?.loc.source || "")
|
|
1845
1884
|
});
|
|
1846
|
-
const n = i.find((
|
|
1885
|
+
const n = i.find((l) => l.name === "bind" && !l.arg);
|
|
1847
1886
|
n && t.push({
|
|
1848
1887
|
name: "vBind",
|
|
1849
|
-
value:
|
|
1888
|
+
value: q(n.exp?.loc.source || "")
|
|
1850
1889
|
});
|
|
1851
|
-
const
|
|
1852
|
-
|
|
1890
|
+
const o = i.find((l) => l.name === "html");
|
|
1891
|
+
o && t.push({
|
|
1853
1892
|
name: "vHtml",
|
|
1854
|
-
value:
|
|
1893
|
+
value: q(o.exp?.loc.source || "")
|
|
1855
1894
|
});
|
|
1856
|
-
const c = i.filter((
|
|
1857
|
-
for (const
|
|
1858
|
-
const
|
|
1859
|
-
(
|
|
1895
|
+
const c = i.filter((l) => !a.includes(l.name));
|
|
1896
|
+
for (const l of c) {
|
|
1897
|
+
const f = (l.modifiers || []).reduce(
|
|
1898
|
+
(v, A) => (v[A.content] = !0, v),
|
|
1860
1899
|
{}
|
|
1861
|
-
),
|
|
1862
|
-
|
|
1863
|
-
name:
|
|
1864
|
-
value:
|
|
1865
|
-
arg:
|
|
1866
|
-
modifiers:
|
|
1900
|
+
), m = l.arg?.content || void 0, p = Bu[l.name];
|
|
1901
|
+
p && t.push({
|
|
1902
|
+
name: p,
|
|
1903
|
+
value: q(l.exp?.loc.source || ""),
|
|
1904
|
+
arg: m,
|
|
1905
|
+
modifiers: f
|
|
1867
1906
|
});
|
|
1868
1907
|
}
|
|
1869
1908
|
}
|
|
1870
1909
|
return t;
|
|
1871
1910
|
}
|
|
1872
|
-
function
|
|
1911
|
+
function Ou(e) {
|
|
1873
1912
|
let u = "";
|
|
1874
1913
|
if (e.type === g.ELEMENT) {
|
|
1875
1914
|
const { props: t = [], tag: a } = e;
|
|
@@ -1884,9 +1923,9 @@ function Fu(e) {
|
|
|
1884
1923
|
}
|
|
1885
1924
|
return u || iu();
|
|
1886
1925
|
}
|
|
1887
|
-
function
|
|
1926
|
+
function Ye(e) {
|
|
1888
1927
|
const u = /\.\/(.+?)\.vue/;
|
|
1889
|
-
for (const { from: t, imports: a } of
|
|
1928
|
+
for (const { from: t, imports: a } of $u) {
|
|
1890
1929
|
if (Array.isArray(a) && a.includes(e))
|
|
1891
1930
|
return t;
|
|
1892
1931
|
if (a === e) {
|
|
@@ -1915,24 +1954,24 @@ function cu(e, u) {
|
|
|
1915
1954
|
}
|
|
1916
1955
|
function au(e, u, t, a) {
|
|
1917
1956
|
const i = {
|
|
1918
|
-
name:
|
|
1919
|
-
from:
|
|
1920
|
-
props:
|
|
1921
|
-
events:
|
|
1957
|
+
name: Ru(e.tag, K),
|
|
1958
|
+
from: Ye(e.tag),
|
|
1959
|
+
props: Qe(e.props),
|
|
1960
|
+
events: Ke(e.props, _u),
|
|
1922
1961
|
directives: uu(t || e, a)
|
|
1923
1962
|
};
|
|
1924
|
-
i.id =
|
|
1963
|
+
i.id = Ou(e), cu(i, u);
|
|
1925
1964
|
const s = fu(i, e.children);
|
|
1926
|
-
return cu(i, u),
|
|
1965
|
+
return cu(i, u), Ze(s), s;
|
|
1927
1966
|
}
|
|
1928
|
-
function
|
|
1967
|
+
function u0(e, u) {
|
|
1929
1968
|
return e.map((t) => G(t, u, e));
|
|
1930
1969
|
}
|
|
1931
1970
|
function G(e, u, t) {
|
|
1932
1971
|
if (e.type === g.ELEMENT)
|
|
1933
1972
|
return au(e, u);
|
|
1934
1973
|
if (e.type === g.IF)
|
|
1935
|
-
return
|
|
1974
|
+
return e0(e);
|
|
1936
1975
|
if (t && e.type === g.IF_BRANCH) {
|
|
1937
1976
|
const a = e.children.find((i) => i.type === g.ELEMENT);
|
|
1938
1977
|
if (a && a.type === g.ELEMENT)
|
|
@@ -1947,13 +1986,13 @@ function G(e, u, t) {
|
|
|
1947
1986
|
return au(a, u, e);
|
|
1948
1987
|
}
|
|
1949
1988
|
if (e.type === g.TEXT_CALL)
|
|
1950
|
-
return e.content.type == g.TEXT ? e.content.content : e.content.type === g.INTERPOLATION ?
|
|
1989
|
+
return e.content.type == g.TEXT ? e.content.content : e.content.type === g.INTERPOLATION ? q(e.content.content.loc.source) : e.content.type === g.COMPOUND_EXPRESSION ? Nu(
|
|
1951
1990
|
e.content.children
|
|
1952
1991
|
) : "";
|
|
1953
1992
|
if (e.type === g.TEXT)
|
|
1954
1993
|
return e.content;
|
|
1955
1994
|
if (e.type === g.INTERPOLATION && (e.content.type === g.SIMPLE_EXPRESSION || e.content.type === g.COMPOUND_EXPRESSION))
|
|
1956
|
-
return
|
|
1995
|
+
return q(e.content.loc.source);
|
|
1957
1996
|
if (e.type === g.COMPOUND_EXPRESSION)
|
|
1958
1997
|
return Nu(
|
|
1959
1998
|
e.children
|
|
@@ -1965,7 +2004,7 @@ function Nu(e = []) {
|
|
|
1965
2004
|
for (const a of u)
|
|
1966
2005
|
t.push({
|
|
1967
2006
|
name: "span",
|
|
1968
|
-
children: a.type === g.TEXT ? a.loc.source :
|
|
2007
|
+
children: a.type === g.TEXT ? a.loc.source : q(a.content?.loc.source)
|
|
1969
2008
|
});
|
|
1970
2009
|
return {
|
|
1971
2010
|
name: "span",
|
|
@@ -1988,12 +2027,12 @@ function fu(e, u = []) {
|
|
|
1988
2027
|
name: "span",
|
|
1989
2028
|
children: G(s, e)
|
|
1990
2029
|
} : G(s, e);
|
|
1991
|
-
r && (Array.isArray(r) ? r : [r]).forEach((
|
|
1992
|
-
|
|
2030
|
+
r && (Array.isArray(r) ? r : [r]).forEach((o) => {
|
|
2031
|
+
re(o) && i?.type === g.DIRECTIVE && (o.id = Ou(s), o.slot = {
|
|
1993
2032
|
name: i.arg?.content || "default",
|
|
1994
2033
|
params: i.exp?.identifiers || [],
|
|
1995
2034
|
scope: i.exp?.type === g.SIMPLE_EXPRESSION ? i.exp.content : ""
|
|
1996
|
-
}, cu(
|
|
2035
|
+
}, cu(o, e)), t.push(o);
|
|
1997
2036
|
});
|
|
1998
2037
|
}
|
|
1999
2038
|
} else if (a.type === g.JS_CALL_EXPRESSION) {
|
|
@@ -2016,24 +2055,24 @@ function fu(e, u = []) {
|
|
|
2016
2055
|
e.children = t.map((a) => typeof a == "string" ? { name: "span", children: a } : a);
|
|
2017
2056
|
return e;
|
|
2018
2057
|
}
|
|
2019
|
-
function
|
|
2058
|
+
function e0(e) {
|
|
2020
2059
|
const u = e.branches || [], t = u[0], a = t.children || [];
|
|
2021
2060
|
if (t?.isTemplateIf || a.length > 1 || a[0].type !== g.ELEMENT) {
|
|
2022
2061
|
const s = { name: "span", directives: uu(t, u) };
|
|
2023
2062
|
return fu(s, t.children);
|
|
2024
2063
|
} else
|
|
2025
|
-
return
|
|
2064
|
+
return u0(u);
|
|
2026
2065
|
}
|
|
2027
|
-
function
|
|
2066
|
+
function t0(e) {
|
|
2028
2067
|
const u = [], t = {}, a = [];
|
|
2029
2068
|
try {
|
|
2030
|
-
const i =
|
|
2069
|
+
const i = ie.compileString(e, { charset: !1 })?.css || "", s = ae.parse(i), r = /^.[\w]+_[\w]{5,}/;
|
|
2031
2070
|
for (const n of s.nodes)
|
|
2032
2071
|
if (n.type === "rule") {
|
|
2033
|
-
const
|
|
2072
|
+
const o = {};
|
|
2034
2073
|
r.test(n.selector) ? (n.nodes.forEach((c) => {
|
|
2035
|
-
c.type === "decl" && (
|
|
2036
|
-
}), t[n.selector] =
|
|
2074
|
+
c.type === "decl" && (o[c.prop] = c.value);
|
|
2075
|
+
}), t[n.selector] = o) : a.push(n.toString());
|
|
2037
2076
|
} else
|
|
2038
2077
|
a.push(n.toString());
|
|
2039
2078
|
} catch (i) {
|
|
@@ -2047,12 +2086,12 @@ function u0(e) {
|
|
|
2047
2086
|
`)
|
|
2048
2087
|
};
|
|
2049
2088
|
}
|
|
2050
|
-
const
|
|
2089
|
+
const Mu = "arrow-double-left, arrow-double-right, contact, notes, records, cash-back-record, newspaper, discount, completed, user, description, list-switch, list-switching, link-o, miniprogram-o, qq, wechat-moments, weibo, cash-o, guide-o, invitation, shield-o, exchange, eye, enlarge, expand-o, eye-o, expand, filter-o, fire, fail, failure, fire-o, flag-o, font, font-o, gem-o, flower-o, gem, gift-card, friends, friends-o, gold-coin, gold-coin-o, good-job-o, gift, gift-o, gift-card-o, good-job, home-o, goods-collect, graphic, goods-collect-o, hot-o, info, hotel-o, info-o, hot-sale-o, hot, like, idcard, like-o, hot-sale, location-o, location, label, lock, label-o, map-marked, logistics, manager, more, live, manager-o, medal, more-o, music-o, music, new-arrival-o, medal-o, new-o, free-postage, newspaper-o, new-arrival, minus, orders-o, new, paid, notes-o, other-pay, pause-circle, pause, pause-circle-o, peer-pay, pending-payment, passed, plus, phone-circle-o, phone-o, printer, photo-fail, phone, photo-o, play-circle, play, phone-circle, point-gift-o, point-gift, play-circle-o, shrink, photo, qr, qr-invalid, question-o, revoke, replay, service, question, search, refund-o, service-o, scan, share, send-gift-o, share-o, setting, points, photograph, shop, shop-o, shop-collect-o, shop-collect, smile, shopping-cart-o, sign, sort, star-o, smile-comment-o, stop, stop-circle-o, smile-o, star, success, stop-circle, records-o, shopping-cart, tosend, todo-list, thumb-circle-o, thumb-circle, umbrella-circle, underway, upgrade, todo-list-o, tv-o, underway-o, user-o, vip-card-o, vip-card, send-gift, wap-home, wap-nav, volume-o, video, wap-home-o, volume, warning, weapp-nav, wechat-pay, wechat, setting-o, youzan-shield, warn-o, smile-comment, user-circle-o, video-o, add-square, add, arrow-down, arrow-up, arrow, after-sale, add-o, alipay, ascending, apps-o, aim, award, arrow-left, award-o, audio, bag-o, balance-list, back-top, bag, balance-pay, balance-o, bar-chart-o, bars, balance-list-o, birthday-cake-o, bookmark, bill, bell, browsing-history-o, browsing-history, bookmark-o, bulb-o, bullhorn-o, bill-o, calendar-o, brush-o, card, cart-o, cart-circle, cart-circle-o, cart, cash-on-deliver, cash-back-record-o, cashier-o, chart-trending-o, certificate, chat, clear, chat-o, checked, clock, clock-o, close, closed-eye, circle, cluster-o, column, comment-circle-o, cluster, comment, comment-o, comment-circle, completed-o, credit-pay, coupon, debit-pay, coupon-o, contact-o, descending, desktop-o, diamond-o, description-o, delete, diamond, delete-o, cross, edit, ellipsis, down, discount-o, ecard-pay, envelop-o".split(
|
|
2051
2090
|
", "
|
|
2052
|
-
),
|
|
2091
|
+
), a0 = "AddLocation, Aim, AlarmClock, Apple, ArrowDownBold, ArrowDown, ArrowLeftBold, ArrowLeft, ArrowRightBold, ArrowRight, ArrowUpBold, ArrowUp, Avatar, Back, Baseball, Basketball, BellFilled, Bell, Bicycle, BottomLeft, BottomRight, Bottom, Bowl, Box, Briefcase, BrushFilled, Brush, Burger, Calendar, CameraFilled, Camera, CaretBottom, CaretLeft, CaretRight, CaretTop, Cellphone, ChatDotRound, ChatDotSquare, ChatLineRound, ChatLineSquare, ChatRound, ChatSquare, Check, Checked, Cherry, Chicken, ChromeFilled, CircleCheckFilled, CircleCheck, CircleCloseFilled, CircleClose, CirclePlusFilled, CirclePlus, Clock, CloseBold, Close, Cloudy, CoffeeCup, Coffee, Coin, ColdDrink, CollectionTag, Collection, Comment, Compass, Connection, Coordinate, CopyDocument, Cpu, CreditCard, Crop, DArrowLeft, DArrowRight, DCaret, DataAnalysis, DataBoard, DataLine, DeleteFilled, DeleteLocation, Delete, Dessert, Discount, DishDot, Dish, DocumentAdd, DocumentChecked, DocumentCopy, DocumentDelete, DocumentRemove, Document, Download, Drizzling, EditPen, Edit, ElemeFilled, Eleme, ElementPlus, Expand, Failed, Female, Files, Film, Filter, Finished, FirstAidKit, Flag, Fold, FolderAdd, FolderChecked, FolderDelete, FolderOpened, FolderRemove, Folder, Food, Football, ForkSpoon, Fries, FullScreen, GobletFull, GobletSquareFull, GobletSquare, Goblet, GoldMedal, GoodsFilled, Goods, Grape, Grid, Guide, Handbag, Headset, HelpFilled, Help, Hide, Histogram, HomeFilled, HotWater, House, IceCreamRound, IceCreamSquare, IceCream, IceDrink, IceTea, InfoFilled, Iphone, Key, KnifeFork, Lightning, Link, List, Loading, LocationFilled, LocationInformation, Location, Lock, Lollipop, MagicStick, Magnet, Male, Management, MapLocation, Medal, Memo, Menu, MessageBox, Message, Mic, Microphone, MilkTea, Minus, Money, Monitor, MoonNight, Moon, MoreFilled, More, MostlyCloudy, Mouse, Mug, MuteNotification, Mute, NoSmoking, Notebook, Notification, Odometer, OfficeBuilding, Open, Operation, Opportunity, Orange, Paperclip, PartlyCloudy, Pear, PhoneFilled, Phone, PictureFilled, PictureRounded, Picture, PieChart, Place, Platform, Plus, Pointer, Position, Postcard, Pouring, Present, PriceTag, Printer, Promotion, QuartzWatch, QuestionFilled, Rank, ReadingLamp, Reading, RefreshLeft, RefreshRight, Refresh, Refrigerator, RemoveFilled, Remove, Right, ScaleToOriginal, School, Scissor, Search, Select, Sell, SemiSelect, Service, SetUp, Setting, Share, Ship, Shop, ShoppingBag, ShoppingCartFull, ShoppingCart, ShoppingTrolley, Smoking, Soccer, SoldOut, SortDown, SortUp, Sort, Stamp, StarFilled, Star, Stopwatch, SuccessFilled, Sugar, SuitcaseLine, Suitcase, Sunny, Sunrise, Sunset, SwitchButton, SwitchFilled, Switch, TakeawayBox, Ticket, Tickets, Timer, ToiletPaper, Tools, TopLeft, TopRight, Top, TrendCharts, TrophyBase, Trophy, TurnOff, Umbrella, Unlock, UploadFilled, Upload, UserFilled, User, Van, VideoCameraFilled, VideoCamera, VideoPause, VideoPlay, View, WalletFilled, Wallet, WarnTriangleFilled, WarningFilled, Warning, Watch, Watermelon, WindPower, ZoomIn, ZoomOut, VtjIconChatRecord, VtjIconNewChat, VtjIconAi, VtjIconUniapp, VtjIconWindowMax, VtjIconWindowMin, VtjIconWindowClose, VtjIconWindowNormal, VtjIconWindowDown, VtjIconWindowUp, VtjIconNpSave, VtjIconNpFile, VtjIconNpEdit, VtjIconNpShare, VtjIconNpSearch, VtjIconNpExport, VtjIconNpImport, VtjIconNpList, VtjIconNpPrint, VtjIconNpCancel, VtjIconNpConfirm, VtjIconNpReset, VtjIconNpReturnAll, VtjIconNpReturn, VtjIconNpRemove, VtjIconNpRemoveRow, VtjIconNpDelete, VtjIconNpExit, VtjIconNpRefresh, VtjIconNpAdd, VtjIconNpSelect, VtjIconNpAddRow, VtjIconNpExtend, VtjIconNpClose, VtjIconNpSubmit, VtjIconDeps, VtjIconBack, VtjIconHome, VtjIconApi, VtjIconExport, VtjIconImport, VtjIconGreater, VtjIconSmaller, VtjIconCheck, VtjIconSwitch, VtjIconCopy, VtjIconLock, VtjIconUnlock, VtjIconLayers, VtjIconConsole, VtjIconTeam, VtjIconPublish, VtjIconPreview, VtjIconSave, VtjIconPc, VtjIconPhone, VtjIconPad, VtjIconRedo, VtjIconRefresh, VtjIconUndo, VtjIconCategory, VtjIconProject, VtjIconNotice, VtjIconFav, VtjIconBug, VtjIconFile, VtjIconFolder, VtjIconUpload, VtjIconDownload, VtjIconUser, VtjIconSetting, VtjIconArrowRight, VtjIconArrowLeft, VtjIconArrowDown, VtjIconArrowUp, VtjIconShare, VtjIconData, VtjIconTemplate, VtjIconExitFullscreen, VtjIconFullscreen, VtjIconEdit, VtjIconRemove, VtjIconJs, VtjIconDatabase, VtjIconInfo, VtjIconPlus, VtjIconMinus, VtjIconHelp, VtjIconVars, VtjIconOutline, VtjIconVisible, VtjIconInvisible, VtjIconDocument, VtjIconHistory, VtjIconFixed, VtjIconUnfixed, VtjIconSearch, VtjIconMore, VtjIconClose, VtjIconComponents, VtjIconBlock".split(
|
|
2053
2092
|
", "
|
|
2054
|
-
),
|
|
2055
|
-
class
|
|
2093
|
+
), i0 = "user", j = "User";
|
|
2094
|
+
class s0 {
|
|
2056
2095
|
validate(u) {
|
|
2057
2096
|
const t = {
|
|
2058
2097
|
valid: !0,
|
|
@@ -2076,7 +2115,7 @@ class a0 {
|
|
|
2076
2115
|
let t = "";
|
|
2077
2116
|
try {
|
|
2078
2117
|
const a = D(u);
|
|
2079
|
-
|
|
2118
|
+
W(a.script);
|
|
2080
2119
|
} catch (a) {
|
|
2081
2120
|
a instanceof SyntaxError && (t = a.message);
|
|
2082
2121
|
}
|
|
@@ -2085,10 +2124,10 @@ class a0 {
|
|
|
2085
2124
|
checkSetup(u) {
|
|
2086
2125
|
const t = D(u);
|
|
2087
2126
|
let a = 0;
|
|
2088
|
-
return
|
|
2127
|
+
return qu(t.script, {
|
|
2089
2128
|
ObjectMethod(i) {
|
|
2090
2129
|
i.node.key.name === "setup" && (a = i.node.body.body.filter(
|
|
2091
|
-
(r) => !
|
|
2130
|
+
(r) => !V.isEmptyStatement(r)
|
|
2092
2131
|
).length);
|
|
2093
2132
|
}
|
|
2094
2133
|
}), a === 3;
|
|
@@ -2103,7 +2142,7 @@ class a0 {
|
|
|
2103
2142
|
checkVantIcons(u) {
|
|
2104
2143
|
const t = this.findVantIcons(u), a = [];
|
|
2105
2144
|
for (const i of t)
|
|
2106
|
-
|
|
2145
|
+
Mu.includes(i) || a.push(i);
|
|
2107
2146
|
return a;
|
|
2108
2147
|
}
|
|
2109
2148
|
findVtjIcons(u) {
|
|
@@ -2113,7 +2152,7 @@ class a0 {
|
|
|
2113
2152
|
checkVtjIcons(u) {
|
|
2114
2153
|
const t = this.findVtjIcons(u), a = [];
|
|
2115
2154
|
for (const i of t)
|
|
2116
|
-
|
|
2155
|
+
a0.includes(i) || a.push(i);
|
|
2117
2156
|
return a;
|
|
2118
2157
|
}
|
|
2119
2158
|
hasUnchangedComment(u) {
|
|
@@ -2128,7 +2167,7 @@ class a0 {
|
|
|
2128
2167
|
);
|
|
2129
2168
|
}
|
|
2130
2169
|
}
|
|
2131
|
-
function
|
|
2170
|
+
function r0(e) {
|
|
2132
2171
|
const u = [];
|
|
2133
2172
|
let t = e;
|
|
2134
2173
|
const a = D(e);
|
|
@@ -2139,11 +2178,11 @@ function i0(e) {
|
|
|
2139
2178
|
fixedCode: e,
|
|
2140
2179
|
changes: []
|
|
2141
2180
|
};
|
|
2142
|
-
const i =
|
|
2181
|
+
const i = c0(a.script), s = a.template;
|
|
2143
2182
|
let r = s;
|
|
2144
|
-
const n = [],
|
|
2183
|
+
const n = [], o = /\{\{([^}]+)\}\}/g;
|
|
2145
2184
|
let c;
|
|
2146
|
-
for (; (c =
|
|
2185
|
+
for (; (c = o.exec(s)) !== null; ) {
|
|
2147
2186
|
const b = c[0], S = c[1], I = F(S, i);
|
|
2148
2187
|
if (I !== S) {
|
|
2149
2188
|
const x = B(s, c.index);
|
|
@@ -2163,57 +2202,57 @@ function i0(e) {
|
|
|
2163
2202
|
});
|
|
2164
2203
|
}
|
|
2165
2204
|
}
|
|
2166
|
-
const
|
|
2167
|
-
for (; (c =
|
|
2205
|
+
const l = /:(\w+)="([^"]+)"/g;
|
|
2206
|
+
for (; (c = l.exec(s)) !== null; ) {
|
|
2168
2207
|
const b = c[0], S = c[1], I = c[2], x = F(I, i);
|
|
2169
2208
|
if (x !== I) {
|
|
2170
|
-
const
|
|
2209
|
+
const w = B(s, c.index);
|
|
2171
2210
|
n.push({
|
|
2172
2211
|
start: c.index,
|
|
2173
2212
|
end: c.index + b.length,
|
|
2174
2213
|
original: b,
|
|
2175
2214
|
replacement: `:${S}="${x}"`,
|
|
2176
|
-
line:
|
|
2177
|
-
column:
|
|
2215
|
+
line: w.line,
|
|
2216
|
+
column: w.column
|
|
2178
2217
|
}), u.push({
|
|
2179
|
-
line:
|
|
2180
|
-
column:
|
|
2218
|
+
line: w.line + 1,
|
|
2219
|
+
column: w.column,
|
|
2181
2220
|
original: I,
|
|
2182
2221
|
fixed: x,
|
|
2183
2222
|
message: "修复绑定属性:添加 state. 前缀"
|
|
2184
2223
|
});
|
|
2185
2224
|
}
|
|
2186
2225
|
}
|
|
2187
|
-
const
|
|
2188
|
-
for (; (c =
|
|
2226
|
+
const f = /v-(if|else-if|show)="([^"]+)"/g;
|
|
2227
|
+
for (; (c = f.exec(s)) !== null; ) {
|
|
2189
2228
|
const b = c[0], S = c[1], I = c[2], x = F(I, i);
|
|
2190
2229
|
if (x !== I) {
|
|
2191
|
-
const
|
|
2230
|
+
const w = B(s, c.index);
|
|
2192
2231
|
n.push({
|
|
2193
2232
|
start: c.index,
|
|
2194
2233
|
end: c.index + b.length,
|
|
2195
2234
|
original: b,
|
|
2196
2235
|
replacement: `v-${S}="${x}"`,
|
|
2197
|
-
line:
|
|
2198
|
-
column:
|
|
2236
|
+
line: w.line,
|
|
2237
|
+
column: w.column
|
|
2199
2238
|
}), u.push({
|
|
2200
|
-
line:
|
|
2201
|
-
column:
|
|
2239
|
+
line: w.line + 1,
|
|
2240
|
+
column: w.column,
|
|
2202
2241
|
original: I,
|
|
2203
2242
|
fixed: x,
|
|
2204
2243
|
message: `修复 v-${S} 指令:添加 state. 前缀`
|
|
2205
2244
|
});
|
|
2206
2245
|
}
|
|
2207
2246
|
}
|
|
2208
|
-
const
|
|
2209
|
-
for (; (c =
|
|
2247
|
+
const m = /v-for="([^"]+)"/g;
|
|
2248
|
+
for (; (c = m.exec(s)) !== null; ) {
|
|
2210
2249
|
const b = c[0], I = c[1].match(/^(.+)\s+in\s+(.+)$/);
|
|
2211
2250
|
if (I) {
|
|
2212
|
-
const [, x,
|
|
2213
|
-
|
|
2251
|
+
const [, x, w] = I, R = F(
|
|
2252
|
+
w,
|
|
2214
2253
|
i
|
|
2215
2254
|
);
|
|
2216
|
-
if (R !==
|
|
2255
|
+
if (R !== w) {
|
|
2217
2256
|
const U = B(s, c.index), eu = `v-for="${x} in ${R}"`;
|
|
2218
2257
|
n.push({
|
|
2219
2258
|
start: c.index,
|
|
@@ -2225,15 +2264,15 @@ function i0(e) {
|
|
|
2225
2264
|
}), u.push({
|
|
2226
2265
|
line: U.line + 1,
|
|
2227
2266
|
column: U.column,
|
|
2228
|
-
original:
|
|
2267
|
+
original: w,
|
|
2229
2268
|
fixed: R,
|
|
2230
2269
|
message: "修复 v-for 指令:添加 state. 前缀"
|
|
2231
2270
|
});
|
|
2232
2271
|
}
|
|
2233
2272
|
}
|
|
2234
2273
|
}
|
|
2235
|
-
const
|
|
2236
|
-
for (; (c =
|
|
2274
|
+
const p = /v-model="([^"]+)"/g;
|
|
2275
|
+
for (; (c = p.exec(s)) !== null; ) {
|
|
2237
2276
|
const b = c[0], S = c[1], I = F(S, i);
|
|
2238
2277
|
if (I !== S) {
|
|
2239
2278
|
const x = B(s, c.index);
|
|
@@ -2253,8 +2292,8 @@ function i0(e) {
|
|
|
2253
2292
|
});
|
|
2254
2293
|
}
|
|
2255
2294
|
}
|
|
2256
|
-
const
|
|
2257
|
-
for (; (c =
|
|
2295
|
+
const v = /v-bind="([^"]+)"/g;
|
|
2296
|
+
for (; (c = v.exec(s)) !== null; ) {
|
|
2258
2297
|
const b = c[0], S = c[1], I = F(S, i);
|
|
2259
2298
|
if (I !== S) {
|
|
2260
2299
|
const x = B(s, c.index);
|
|
@@ -2278,17 +2317,17 @@ function i0(e) {
|
|
|
2278
2317
|
for (; (c = A.exec(s)) !== null; ) {
|
|
2279
2318
|
const b = c[0], S = c[1], I = c[2], x = F(I, i);
|
|
2280
2319
|
if (x !== I) {
|
|
2281
|
-
const
|
|
2320
|
+
const w = B(s, c.index);
|
|
2282
2321
|
n.push({
|
|
2283
2322
|
start: c.index,
|
|
2284
2323
|
end: c.index + b.length,
|
|
2285
2324
|
original: b,
|
|
2286
2325
|
replacement: `v-${S}="${x}"`,
|
|
2287
|
-
line:
|
|
2288
|
-
column:
|
|
2326
|
+
line: w.line,
|
|
2327
|
+
column: w.column
|
|
2289
2328
|
}), u.push({
|
|
2290
|
-
line:
|
|
2291
|
-
column:
|
|
2329
|
+
line: w.line + 1,
|
|
2330
|
+
column: w.column,
|
|
2292
2331
|
original: I,
|
|
2293
2332
|
fixed: x,
|
|
2294
2333
|
message: `修复 v-${S} 指令:添加 state. 前缀`
|
|
@@ -2297,21 +2336,21 @@ function i0(e) {
|
|
|
2297
2336
|
}
|
|
2298
2337
|
const y = /(@|v-on:)(\w+)="([^"]+)"/g;
|
|
2299
2338
|
for (; (c = y.exec(s)) !== null; ) {
|
|
2300
|
-
const b = c[0], S = c[1], I = c[2], x = c[3],
|
|
2301
|
-
if (
|
|
2339
|
+
const b = c[0], S = c[1], I = c[2], x = c[3], w = n0(x, i);
|
|
2340
|
+
if (w !== x) {
|
|
2302
2341
|
const R = B(s, c.index);
|
|
2303
2342
|
n.push({
|
|
2304
2343
|
start: c.index,
|
|
2305
2344
|
end: c.index + b.length,
|
|
2306
2345
|
original: b,
|
|
2307
|
-
replacement: `${S}${I}="${
|
|
2346
|
+
replacement: `${S}${I}="${w}"`,
|
|
2308
2347
|
line: R.line,
|
|
2309
2348
|
column: R.column
|
|
2310
2349
|
}), u.push({
|
|
2311
2350
|
line: R.line + 1,
|
|
2312
2351
|
column: R.column,
|
|
2313
2352
|
original: x,
|
|
2314
|
-
fixed:
|
|
2353
|
+
fixed: w,
|
|
2315
2354
|
message: "修复事件处理器:添加 state. 前缀"
|
|
2316
2355
|
});
|
|
2317
2356
|
}
|
|
@@ -2331,10 +2370,10 @@ function i0(e) {
|
|
|
2331
2370
|
changes: u
|
|
2332
2371
|
};
|
|
2333
2372
|
}
|
|
2334
|
-
function
|
|
2373
|
+
function c0(e) {
|
|
2335
2374
|
const u = /* @__PURE__ */ new Set();
|
|
2336
2375
|
try {
|
|
2337
|
-
const t =
|
|
2376
|
+
const t = W(e);
|
|
2338
2377
|
Y(t, {
|
|
2339
2378
|
CallExpression(a) {
|
|
2340
2379
|
if (a.node.callee.type === "Identifier" && a.node.callee.name === "reactive" && a.node.arguments.length > 0 && a.node.arguments[0].type === "ObjectExpression") {
|
|
@@ -2357,7 +2396,7 @@ function F(e, u) {
|
|
|
2357
2396
|
i.test(t) && !t.includes(`state.${a}`) && (t = t.replace(i, `state.${a}`));
|
|
2358
2397
|
}), t;
|
|
2359
2398
|
}
|
|
2360
|
-
function
|
|
2399
|
+
function n0(e, u) {
|
|
2361
2400
|
let t = e.trim();
|
|
2362
2401
|
return u.forEach((a) => {
|
|
2363
2402
|
const i = new RegExp(
|
|
@@ -2378,51 +2417,51 @@ function B(e, u) {
|
|
|
2378
2417
|
column: t[t.length - 1].length
|
|
2379
2418
|
};
|
|
2380
2419
|
}
|
|
2381
|
-
class
|
|
2420
|
+
class o0 {
|
|
2382
2421
|
fixBasedOnValidation(u, t) {
|
|
2383
2422
|
let a = u;
|
|
2384
|
-
return t.illegalVantIcons.length && (a = this.fixVantIcons(a)), t.illegalVtjIcons.length && (a = this.fixVtjIcons(a, t.illegalVtjIcons)),
|
|
2423
|
+
return t.illegalVantIcons.length && (a = this.fixVantIcons(a)), t.illegalVtjIcons.length && (a = this.fixVtjIcons(a, t.illegalVtjIcons)), r0(a).fixedCode;
|
|
2385
2424
|
}
|
|
2386
2425
|
fixVantIcons(u) {
|
|
2387
2426
|
const t = D(u), a = t.template.replace(
|
|
2388
2427
|
/<(?:VanIcon|van-icon)\s+[^>]*name="([^"]+)"[^>]*>/g,
|
|
2389
|
-
(i, s) =>
|
|
2428
|
+
(i, s) => Mu.includes(s) ? i : i.replace(s, i0)
|
|
2390
2429
|
);
|
|
2391
2430
|
return this.reconstructSFC(t, a, t.script);
|
|
2392
2431
|
}
|
|
2393
2432
|
fixVtjIcons(u, t = []) {
|
|
2394
2433
|
const a = D(u);
|
|
2395
|
-
a.script =
|
|
2434
|
+
a.script = qu(a.script, {
|
|
2396
2435
|
ImportDeclaration(r) {
|
|
2397
2436
|
if (r.node.source.value === "@vtj/icons") {
|
|
2398
|
-
const n = r.node.specifiers,
|
|
2437
|
+
const n = r.node.specifiers, o = [];
|
|
2399
2438
|
let c = !1;
|
|
2400
|
-
for (const
|
|
2401
|
-
const
|
|
2402
|
-
|
|
2403
|
-
|
|
2439
|
+
for (const l of n) {
|
|
2440
|
+
const f = l.imported?.name;
|
|
2441
|
+
f === j && (c = !0), t.includes(f) || o.push(
|
|
2442
|
+
V.importSpecifier(l.local, l.imported)
|
|
2404
2443
|
);
|
|
2405
2444
|
}
|
|
2406
|
-
c ||
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2445
|
+
c || o.push(
|
|
2446
|
+
V.importSpecifier(
|
|
2447
|
+
V.identifier(j),
|
|
2448
|
+
V.identifier(j)
|
|
2410
2449
|
)
|
|
2411
|
-
), r.node.specifiers =
|
|
2450
|
+
), r.node.specifiers = o;
|
|
2412
2451
|
}
|
|
2413
2452
|
},
|
|
2414
2453
|
ObjectMethod(r) {
|
|
2415
2454
|
if (r.node.key.name === "setup") {
|
|
2416
2455
|
const n = r.node.body.body;
|
|
2417
|
-
for (const
|
|
2418
|
-
if (
|
|
2419
|
-
const c =
|
|
2420
|
-
|
|
2421
|
-
(
|
|
2422
|
-
),
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2456
|
+
for (const o of n)
|
|
2457
|
+
if (V.isReturnStatement(o) && V.isObjectExpression(o.argument)) {
|
|
2458
|
+
const c = o.argument.properties || [];
|
|
2459
|
+
o.argument.properties = c.filter(
|
|
2460
|
+
(l) => !t.includes(l.key.name)
|
|
2461
|
+
), o.argument.properties.push(
|
|
2462
|
+
V.objectProperty(
|
|
2463
|
+
V.identifier(j),
|
|
2464
|
+
V.identifier(j),
|
|
2426
2465
|
!1,
|
|
2427
2466
|
!0
|
|
2428
2467
|
)
|
|
@@ -2431,21 +2470,21 @@ class c0 {
|
|
|
2431
2470
|
}
|
|
2432
2471
|
},
|
|
2433
2472
|
ObjectProperty(r) {
|
|
2434
|
-
if (
|
|
2473
|
+
if (V.isIdentifier(r.node.value) && t.includes(r.node.value.name) && (r.node.value = V.identifier(j)), V.isArrayExpression(r.node.value)) {
|
|
2435
2474
|
const n = r.node.value.elements;
|
|
2436
|
-
r.node.value.elements = n.map((
|
|
2475
|
+
r.node.value.elements = n.map((o) => V.isIdentifier(o) && t.includes(o.name) ? V.identifier(j) : o);
|
|
2437
2476
|
}
|
|
2438
2477
|
},
|
|
2439
2478
|
AssignmentExpression(r) {
|
|
2440
|
-
|
|
2479
|
+
V.isIdentifier(r.node.right) && t.includes(r.node.right.name) && (r.node.right = V.identifier(j));
|
|
2441
2480
|
}
|
|
2442
2481
|
});
|
|
2443
2482
|
const i = /:icon\s*=\s*["']([^"']+)["']/g, s = a.template.match(i);
|
|
2444
2483
|
if (s)
|
|
2445
2484
|
for (const r of s) {
|
|
2446
2485
|
let n = r;
|
|
2447
|
-
for (const
|
|
2448
|
-
n = n.replace(new RegExp(
|
|
2486
|
+
for (const o of t)
|
|
2487
|
+
n = n.replace(new RegExp(o, "g"), j);
|
|
2449
2488
|
a.template = a.template.replace(r, n);
|
|
2450
2489
|
}
|
|
2451
2490
|
for (const r of t)
|
|
@@ -2474,56 +2513,59 @@ ${a}
|
|
|
2474
2513
|
}), i;
|
|
2475
2514
|
}
|
|
2476
2515
|
}
|
|
2477
|
-
async function
|
|
2478
|
-
const { id: u, name: t, source: a, project: i } = e,
|
|
2516
|
+
async function A0(e) {
|
|
2517
|
+
const { id: u, name: t, source: a, project: i } = e, s = ce(a, t);
|
|
2518
|
+
if (s)
|
|
2519
|
+
return Promise.reject(s);
|
|
2520
|
+
const { dependencies: r = [], platform: n = "web" } = i || {}, o = new s0(), c = new o0(), l = o.validate(a);
|
|
2479
2521
|
let f = [];
|
|
2480
|
-
if (!
|
|
2481
|
-
return f =
|
|
2482
|
-
const
|
|
2483
|
-
styles:
|
|
2484
|
-
css:
|
|
2485
|
-
errors:
|
|
2486
|
-
} =
|
|
2522
|
+
if (!l.valid)
|
|
2523
|
+
return f = l.errors, Promise.reject(f);
|
|
2524
|
+
const m = c.fixBasedOnValidation(a, l), p = D(m), {
|
|
2525
|
+
styles: v,
|
|
2526
|
+
css: A,
|
|
2527
|
+
errors: y
|
|
2528
|
+
} = t0(p.styles.join(`
|
|
2487
2529
|
`));
|
|
2488
|
-
if (f.push(...
|
|
2530
|
+
if (f.push(...y), f.length)
|
|
2489
2531
|
return Promise.reject(f);
|
|
2490
2532
|
const {
|
|
2491
|
-
state:
|
|
2492
|
-
watch:
|
|
2493
|
-
lifeCycles:
|
|
2494
|
-
computed:
|
|
2495
|
-
methods:
|
|
2496
|
-
props:
|
|
2497
|
-
emits:
|
|
2498
|
-
expose:
|
|
2499
|
-
inject:
|
|
2500
|
-
handlers:
|
|
2533
|
+
state: b,
|
|
2534
|
+
watch: S,
|
|
2535
|
+
lifeCycles: I,
|
|
2536
|
+
computed: x,
|
|
2537
|
+
methods: w,
|
|
2538
|
+
props: R,
|
|
2539
|
+
emits: U,
|
|
2540
|
+
expose: eu,
|
|
2541
|
+
inject: Pu,
|
|
2542
|
+
handlers: Uu,
|
|
2501
2543
|
imports: lu,
|
|
2502
|
-
dataSources:
|
|
2503
|
-
directives:
|
|
2504
|
-
} =
|
|
2505
|
-
platform:
|
|
2506
|
-
handlers:
|
|
2507
|
-
styles:
|
|
2544
|
+
dataSources: Hu,
|
|
2545
|
+
directives: Gu
|
|
2546
|
+
} = je(p.script, i), { nodes: Wu, slots: zu, context: Ju } = Xe(u, t, p.template, {
|
|
2547
|
+
platform: n,
|
|
2548
|
+
handlers: Uu,
|
|
2549
|
+
styles: v,
|
|
2508
2550
|
imports: lu,
|
|
2509
|
-
directives:
|
|
2551
|
+
directives: Gu
|
|
2510
2552
|
}), bu = {
|
|
2511
2553
|
id: u,
|
|
2512
2554
|
name: t,
|
|
2513
|
-
inject:
|
|
2514
|
-
props:
|
|
2515
|
-
state:
|
|
2516
|
-
watch:
|
|
2517
|
-
lifeCycles:
|
|
2518
|
-
computed:
|
|
2519
|
-
methods:
|
|
2520
|
-
dataSources:
|
|
2521
|
-
slots:
|
|
2522
|
-
emits:
|
|
2523
|
-
expose:
|
|
2524
|
-
nodes:
|
|
2525
|
-
css:
|
|
2526
|
-
},
|
|
2555
|
+
inject: Pu,
|
|
2556
|
+
props: R,
|
|
2557
|
+
state: b,
|
|
2558
|
+
watch: S,
|
|
2559
|
+
lifeCycles: I,
|
|
2560
|
+
computed: x,
|
|
2561
|
+
methods: w,
|
|
2562
|
+
dataSources: Hu,
|
|
2563
|
+
slots: zu,
|
|
2564
|
+
emits: U,
|
|
2565
|
+
expose: eu,
|
|
2566
|
+
nodes: Wu,
|
|
2567
|
+
css: A
|
|
2568
|
+
}, Xu = Object.keys(x || {}), Zu = [
|
|
2527
2569
|
"$el",
|
|
2528
2570
|
"$emit",
|
|
2529
2571
|
"$nextTick",
|
|
@@ -2539,69 +2581,69 @@ async function w0(e) {
|
|
|
2539
2581
|
"state",
|
|
2540
2582
|
"$props",
|
|
2541
2583
|
"props",
|
|
2542
|
-
...Object.keys(
|
|
2543
|
-
], { libs:
|
|
2544
|
-
platform:
|
|
2545
|
-
context:
|
|
2546
|
-
computed:
|
|
2547
|
-
libs:
|
|
2548
|
-
members:
|
|
2584
|
+
...Object.keys(w || {})
|
|
2585
|
+
], { libs: Qu } = l0(lu, r), hu = {
|
|
2586
|
+
platform: n,
|
|
2587
|
+
context: Ju,
|
|
2588
|
+
computed: Xu,
|
|
2589
|
+
libs: Qu,
|
|
2590
|
+
members: Zu
|
|
2549
2591
|
};
|
|
2550
|
-
return await
|
|
2592
|
+
return await d0(
|
|
2551
2593
|
bu,
|
|
2552
|
-
async (
|
|
2553
|
-
await
|
|
2554
|
-
if (ou(
|
|
2555
|
-
const
|
|
2556
|
-
|
|
2594
|
+
async (z) => {
|
|
2595
|
+
await f0(z, async (J) => {
|
|
2596
|
+
if (ou(J)) {
|
|
2597
|
+
const Ku = await xu(J.value);
|
|
2598
|
+
J.value = gu(Ku, z.id, hu);
|
|
2557
2599
|
}
|
|
2558
2600
|
});
|
|
2559
2601
|
},
|
|
2560
|
-
async (
|
|
2561
|
-
const
|
|
2562
|
-
|
|
2602
|
+
async (z) => {
|
|
2603
|
+
const J = await xu(z.value);
|
|
2604
|
+
z.value = gu(J, "", hu);
|
|
2563
2605
|
}
|
|
2564
|
-
), new
|
|
2565
|
-
}
|
|
2566
|
-
async function
|
|
2567
|
-
const a = async (
|
|
2568
|
-
if (await u(
|
|
2569
|
-
for (const A of
|
|
2570
|
-
await a(A,
|
|
2571
|
-
}, i = async (
|
|
2572
|
-
if (!
|
|
2573
|
-
if (Array.isArray(
|
|
2574
|
-
for (let A of
|
|
2606
|
+
), new ue(bu).toDsl();
|
|
2607
|
+
}
|
|
2608
|
+
async function d0(e, u, t) {
|
|
2609
|
+
const a = async (p, v) => {
|
|
2610
|
+
if (await u(p, v), Array.isArray(p.children))
|
|
2611
|
+
for (const A of p.children)
|
|
2612
|
+
await a(A, p);
|
|
2613
|
+
}, i = async (p) => {
|
|
2614
|
+
if (!p || typeof p != "object") return;
|
|
2615
|
+
if (Array.isArray(p)) {
|
|
2616
|
+
for (let A of p)
|
|
2575
2617
|
await i(A);
|
|
2576
2618
|
return;
|
|
2577
2619
|
}
|
|
2578
|
-
const
|
|
2579
|
-
for (const A of
|
|
2620
|
+
const v = Object.values(p);
|
|
2621
|
+
for (const A of v)
|
|
2580
2622
|
ou(A) ? await t(A) : await i(A);
|
|
2581
2623
|
}, {
|
|
2582
2624
|
state: s,
|
|
2583
2625
|
watch: r,
|
|
2584
2626
|
computed: n,
|
|
2585
|
-
props:
|
|
2627
|
+
props: o,
|
|
2586
2628
|
dataSources: c,
|
|
2587
|
-
methods:
|
|
2588
|
-
lifeCycles:
|
|
2589
|
-
inject:
|
|
2629
|
+
methods: l,
|
|
2630
|
+
lifeCycles: f,
|
|
2631
|
+
inject: m
|
|
2590
2632
|
} = e;
|
|
2591
2633
|
if (await i({
|
|
2592
2634
|
state: s,
|
|
2593
2635
|
watch: r,
|
|
2594
2636
|
computed: n,
|
|
2595
|
-
props:
|
|
2637
|
+
props: o,
|
|
2596
2638
|
dataSources: c,
|
|
2597
|
-
methods:
|
|
2598
|
-
lifeCycles:
|
|
2599
|
-
inject:
|
|
2639
|
+
methods: l,
|
|
2640
|
+
lifeCycles: f,
|
|
2641
|
+
inject: m
|
|
2600
2642
|
}), Array.isArray(e.nodes))
|
|
2601
|
-
for (const
|
|
2602
|
-
await a(
|
|
2643
|
+
for (const p of e.nodes)
|
|
2644
|
+
await a(p);
|
|
2603
2645
|
}
|
|
2604
|
-
async function
|
|
2646
|
+
async function f0(e, u) {
|
|
2605
2647
|
const t = async (a) => {
|
|
2606
2648
|
if (!a || typeof a != "object") return;
|
|
2607
2649
|
if (Array.isArray(a)) {
|
|
@@ -2619,7 +2661,7 @@ async function o0(e, u) {
|
|
|
2619
2661
|
};
|
|
2620
2662
|
await t(e);
|
|
2621
2663
|
}
|
|
2622
|
-
function
|
|
2664
|
+
function l0(e = [], u = []) {
|
|
2623
2665
|
const t = {}, a = u.reduce(
|
|
2624
2666
|
(i, s) => (i[s.package] = s.library, i),
|
|
2625
2667
|
{}
|
|
@@ -2639,12 +2681,12 @@ function d0(e = [], u = []) {
|
|
|
2639
2681
|
};
|
|
2640
2682
|
}
|
|
2641
2683
|
export {
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2684
|
+
o0 as AutoFixer,
|
|
2685
|
+
s0 as ComponentValidator,
|
|
2686
|
+
v0 as VTJ_PARSER_VERSION,
|
|
2645
2687
|
Au as htmlToNodes,
|
|
2646
|
-
|
|
2647
|
-
|
|
2688
|
+
w0 as parseUniApp,
|
|
2689
|
+
A0 as parseVue,
|
|
2648
2690
|
gu as patchCode,
|
|
2649
|
-
|
|
2691
|
+
M as replacer
|
|
2650
2692
|
};
|