@vtj/parser 0.16.24 → 0.16.25
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 +9 -9
- package/dist/index.mjs +220 -208
- package/package.json +3 -3
- package/types/version.d.ts +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { parse as
|
|
2
|
-
import { parse as
|
|
1
|
+
import { parse as Vu, compileTemplate as qu } from "@vue/compiler-sfc";
|
|
2
|
+
import { parse as ue } 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 ee } from "@vtj/core";
|
|
6
6
|
import { tsFormatter as xu } from "@vtj/coder";
|
|
7
7
|
import { NodeTypes as x } from "@vue/compiler-core";
|
|
8
|
-
import { upperFirstCamelCase as
|
|
9
|
-
import
|
|
10
|
-
import * as
|
|
8
|
+
import { upperFirstCamelCase as te, unBase64 as ae, uid as su } from "@vtj/base";
|
|
9
|
+
import ie from "postcss";
|
|
10
|
+
import * as se from "sass";
|
|
11
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.
|
|
16
|
+
* @version 0.16.25
|
|
17
17
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
|
18
18
|
*/
|
|
19
|
-
const
|
|
19
|
+
const A0 = "0.16.25";
|
|
20
20
|
function D(e) {
|
|
21
|
-
const { descriptor: u, errors: t } =
|
|
21
|
+
const { descriptor: u, errors: t } = Vu(e), a = u.template?.content || "", i = (u.scriptSetup || u.script)?.content || "", s = u.styles.map((r) => r.content);
|
|
22
22
|
return {
|
|
23
23
|
template: a,
|
|
24
24
|
script: i,
|
|
@@ -27,7 +27,7 @@ function D(e) {
|
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
29
|
function W(e) {
|
|
30
|
-
return
|
|
30
|
+
return ue(e, { sourceType: "module", plugins: ["typescript"] });
|
|
31
31
|
}
|
|
32
32
|
function eu(e, u) {
|
|
33
33
|
return (pu.default || pu)(e, u);
|
|
@@ -49,16 +49,16 @@ function O(e) {
|
|
|
49
49
|
function ou(e) {
|
|
50
50
|
return !!e && e.type === "JSExpression";
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function re(e) {
|
|
53
53
|
return typeof e == "object" && !!e && e.type === "JSFunction";
|
|
54
54
|
}
|
|
55
55
|
function du(e) {
|
|
56
|
-
return !!ou(e) || !!
|
|
56
|
+
return !!ou(e) || !!re(e);
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function ce(e) {
|
|
59
59
|
return !!e && !ou(e) && typeof e != "string";
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function Ru(e, u) {
|
|
62
62
|
try {
|
|
63
63
|
const t = W(e);
|
|
64
64
|
return eu(t, u), O(t) || "";
|
|
@@ -66,10 +66,10 @@ function qu(e, u) {
|
|
|
66
66
|
return "";
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function ne(e, u) {
|
|
70
70
|
const t = [];
|
|
71
71
|
try {
|
|
72
|
-
const { descriptor: a, errors: i } =
|
|
72
|
+
const { descriptor: a, errors: i } = Vu(e);
|
|
73
73
|
if (i && i.length > 0 && i.forEach((r) => {
|
|
74
74
|
const n = r.message || String(r), o = r.loc;
|
|
75
75
|
o && o.start ? t.push(
|
|
@@ -77,7 +77,7 @@ function ce(e, u) {
|
|
|
77
77
|
) : t.push(`Vue SFC 错误: ${n}`);
|
|
78
78
|
}), a.template)
|
|
79
79
|
try {
|
|
80
|
-
const r =
|
|
80
|
+
const r = qu({
|
|
81
81
|
id: "validation",
|
|
82
82
|
filename: u,
|
|
83
83
|
source: a.template.content,
|
|
@@ -104,7 +104,7 @@ function ce(e, u) {
|
|
|
104
104
|
}
|
|
105
105
|
return t.length > 0 ? t : null;
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function T0(e) {
|
|
108
108
|
const u = D(e), t = W(u.script), a = {};
|
|
109
109
|
return u.styles && (a.css = u.styles[0] || ""), eu(t, {
|
|
110
110
|
CallExpression(i) {
|
|
@@ -119,7 +119,7 @@ function A0(e) {
|
|
|
119
119
|
}
|
|
120
120
|
}), a;
|
|
121
121
|
}
|
|
122
|
-
function
|
|
122
|
+
function oe(e, u, t, a) {
|
|
123
123
|
if (a.match(/function\s*\(\s*$/))
|
|
124
124
|
return !0;
|
|
125
125
|
const s = e.slice(u + t.length);
|
|
@@ -194,6 +194,18 @@ function ne(e, u, t, a) {
|
|
|
194
194
|
}
|
|
195
195
|
return !1;
|
|
196
196
|
}
|
|
197
|
+
function gu(e, u, t) {
|
|
198
|
+
let a = u - 1;
|
|
199
|
+
for (; a >= 0 && /\s/.test(e[a]); ) a--;
|
|
200
|
+
if (a < 0) return !1;
|
|
201
|
+
const i = e[a];
|
|
202
|
+
if (i !== "{" && i !== ",") return !1;
|
|
203
|
+
let s = u + t.length;
|
|
204
|
+
for (; s < e.length && /\s/.test(e[s]); ) s++;
|
|
205
|
+
if (s >= e.length) return !1;
|
|
206
|
+
const r = e[s];
|
|
207
|
+
return r === "," || r === "}";
|
|
208
|
+
}
|
|
197
209
|
function M(e, u, t) {
|
|
198
210
|
if (!e.includes(u)) return e;
|
|
199
211
|
const a = [];
|
|
@@ -282,7 +294,7 @@ function M(e, u, t) {
|
|
|
282
294
|
if (r.test(l) || r.test(f))
|
|
283
295
|
return !1;
|
|
284
296
|
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) === "[" :
|
|
297
|
+
return m.match(/(const|let|var|function)\s+$/) ? !1 : m.match(/\{\s*$/) && !m.endsWith("${") ? !!(c > 0 && e.charAt(c - 1) === "[" || gu(e, c, u)) : oe(
|
|
286
298
|
e,
|
|
287
299
|
c,
|
|
288
300
|
u,
|
|
@@ -293,11 +305,11 @@ function M(e, u, t) {
|
|
|
293
305
|
const c = e.indexOf(u, i);
|
|
294
306
|
if (c === -1) break;
|
|
295
307
|
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;
|
|
308
|
+
a.push(l), n(l), i = c, o(i) ? gu(e, i, u) ? a.push(u + ": " + t) : a.push(t) : a.push(u), i += u.length;
|
|
297
309
|
}
|
|
298
310
|
return i < e.length && a.push(e.slice(i)), a.join("");
|
|
299
311
|
}
|
|
300
|
-
function
|
|
312
|
+
function yu(e, u, t) {
|
|
301
313
|
const {
|
|
302
314
|
context: a = {},
|
|
303
315
|
computed: i = [],
|
|
@@ -332,7 +344,7 @@ function fu(e) {
|
|
|
332
344
|
value: e
|
|
333
345
|
};
|
|
334
346
|
}
|
|
335
|
-
const
|
|
347
|
+
const de = [
|
|
336
348
|
"beforeCreate",
|
|
337
349
|
"created",
|
|
338
350
|
"beforeMount",
|
|
@@ -346,46 +358,46 @@ const oe = [
|
|
|
346
358
|
"renderTriggered",
|
|
347
359
|
"activated",
|
|
348
360
|
"deactivated"
|
|
349
|
-
],
|
|
361
|
+
], fe = "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(
|
|
350
362
|
","
|
|
351
|
-
),
|
|
363
|
+
), le = "component,slot,template".split(","), be = "view,swiper,progress,icon,text,button,checkbox,editor,form,input,label,picker,radio,slider,switch,textarea,audio,camera,image,video,map,canvas".split(
|
|
352
364
|
","
|
|
353
365
|
);
|
|
354
|
-
function
|
|
355
|
-
return u === "uniapp" &&
|
|
366
|
+
function he(e, u = "web") {
|
|
367
|
+
return u === "uniapp" && be.includes(e);
|
|
356
368
|
}
|
|
357
|
-
function
|
|
358
|
-
return (
|
|
369
|
+
function ju(e, u = "web") {
|
|
370
|
+
return (fe.includes(e) || le.includes(e)) && !he(e, u) ? e : te(e);
|
|
359
371
|
}
|
|
360
|
-
function
|
|
372
|
+
function Du(e) {
|
|
361
373
|
return e.replace(/\s+/g, " ").split(";").reduce((t, a) => {
|
|
362
374
|
const [i, s] = a.split(":").map((r) => r.trim());
|
|
363
375
|
return i && s && (t[i] = s), t;
|
|
364
376
|
}, {});
|
|
365
377
|
}
|
|
366
|
-
function
|
|
378
|
+
function pe(e, u, t) {
|
|
367
379
|
if (t === "ObjectExpression")
|
|
368
380
|
return `(Object.assign({${e.split(" ").map((i) => `'${i}': true`).join(",")}}, ${u}))`;
|
|
369
381
|
if (t === "ArrayExpression")
|
|
370
382
|
return `([${e.split(" ").map((i) => `'${i}'`).join(",")}].concat(${u}))`;
|
|
371
383
|
}
|
|
372
|
-
function
|
|
384
|
+
function me(e = "") {
|
|
373
385
|
const t = e.trim().match(/DataSource:\s*([^\n=]+={0,2})/)?.[1] || "";
|
|
374
386
|
try {
|
|
375
|
-
return t ? JSON.parse(
|
|
387
|
+
return t ? JSON.parse(ae(t)) : null;
|
|
376
388
|
} catch (a) {
|
|
377
389
|
return console.warn("extractDataSource fail", a), null;
|
|
378
390
|
}
|
|
379
391
|
}
|
|
380
|
-
const
|
|
392
|
+
const xe = /* @__PURE__ */ new Uint16Array(
|
|
381
393
|
// prettier-ignore
|
|
382
394
|
/* @__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))
|
|
383
|
-
),
|
|
395
|
+
), ge = /* @__PURE__ */ new Uint16Array(
|
|
384
396
|
// prettier-ignore
|
|
385
397
|
/* @__PURE__ */ "Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e) => e.charCodeAt(0))
|
|
386
398
|
);
|
|
387
399
|
var au;
|
|
388
|
-
const
|
|
400
|
+
const ye = /* @__PURE__ */ new Map([
|
|
389
401
|
[0, 65533],
|
|
390
402
|
// C1 Unicode control character reference replacements
|
|
391
403
|
[128, 8364],
|
|
@@ -415,22 +427,22 @@ const ge = /* @__PURE__ */ new Map([
|
|
|
415
427
|
[156, 339],
|
|
416
428
|
[158, 382],
|
|
417
429
|
[159, 376]
|
|
418
|
-
]),
|
|
430
|
+
]), Su = (
|
|
419
431
|
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, n/no-unsupported-features/es-builtins
|
|
420
432
|
(au = String.fromCodePoint) !== null && au !== void 0 ? au : function(e) {
|
|
421
433
|
let u = "";
|
|
422
434
|
return e > 65535 && (e -= 65536, u += String.fromCharCode(e >>> 10 & 1023 | 55296), e = 56320 | e & 1023), u += String.fromCharCode(e), u;
|
|
423
435
|
}
|
|
424
436
|
);
|
|
425
|
-
function
|
|
437
|
+
function Se(e) {
|
|
426
438
|
var u;
|
|
427
|
-
return e >= 55296 && e <= 57343 || e > 1114111 ? 65533 : (u =
|
|
439
|
+
return e >= 55296 && e <= 57343 || e > 1114111 ? 65533 : (u = ye.get(e)) !== null && u !== void 0 ? u : e;
|
|
428
440
|
}
|
|
429
441
|
var k;
|
|
430
442
|
(function(e) {
|
|
431
443
|
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";
|
|
432
444
|
})(k || (k = {}));
|
|
433
|
-
const
|
|
445
|
+
const Ie = 32;
|
|
434
446
|
var $;
|
|
435
447
|
(function(e) {
|
|
436
448
|
e[e.VALUE_LENGTH = 49152] = "VALUE_LENGTH", e[e.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", e[e.JUMP_TABLE = 127] = "JUMP_TABLE";
|
|
@@ -438,14 +450,14 @@ var $;
|
|
|
438
450
|
function ru(e) {
|
|
439
451
|
return e >= k.ZERO && e <= k.NINE;
|
|
440
452
|
}
|
|
441
|
-
function
|
|
453
|
+
function Ee(e) {
|
|
442
454
|
return e >= k.UPPER_A && e <= k.UPPER_F || e >= k.LOWER_A && e <= k.LOWER_F;
|
|
443
455
|
}
|
|
444
|
-
function
|
|
456
|
+
function ve(e) {
|
|
445
457
|
return e >= k.UPPER_A && e <= k.UPPER_Z || e >= k.LOWER_A && e <= k.LOWER_Z || ru(e);
|
|
446
458
|
}
|
|
447
|
-
function
|
|
448
|
-
return e === k.EQUALS ||
|
|
459
|
+
function we(e) {
|
|
460
|
+
return e === k.EQUALS || ve(e);
|
|
449
461
|
}
|
|
450
462
|
var N;
|
|
451
463
|
(function(e) {
|
|
@@ -455,7 +467,7 @@ var C;
|
|
|
455
467
|
(function(e) {
|
|
456
468
|
e[e.Legacy = 0] = "Legacy", e[e.Strict = 1] = "Strict", e[e.Attribute = 2] = "Attribute";
|
|
457
469
|
})(C || (C = {}));
|
|
458
|
-
class
|
|
470
|
+
class Ae {
|
|
459
471
|
constructor(u, t, a) {
|
|
460
472
|
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;
|
|
461
473
|
}
|
|
@@ -498,7 +510,7 @@ class we {
|
|
|
498
510
|
* @returns The number of characters that were consumed, or -1 if the entity is incomplete.
|
|
499
511
|
*/
|
|
500
512
|
stateNumericStart(u, t) {
|
|
501
|
-
return t >= u.length ? -1 : (u.charCodeAt(t) |
|
|
513
|
+
return t >= u.length ? -1 : (u.charCodeAt(t) | Ie) === k.LOWER_X ? (this.state = N.NumericHex, this.consumed += 1, this.stateNumericHex(u, t + 1)) : (this.state = N.NumericDecimal, this.stateNumericDecimal(u, t));
|
|
502
514
|
}
|
|
503
515
|
addToNumericResult(u, t, a, i) {
|
|
504
516
|
if (t !== a) {
|
|
@@ -519,7 +531,7 @@ class we {
|
|
|
519
531
|
const a = t;
|
|
520
532
|
for (; t < u.length; ) {
|
|
521
533
|
const i = u.charCodeAt(t);
|
|
522
|
-
if (ru(i) ||
|
|
534
|
+
if (ru(i) || Ee(i))
|
|
523
535
|
t += 1;
|
|
524
536
|
else
|
|
525
537
|
return this.addToNumericResult(u, a, t, 16), this.emitNumericEntity(i, 3);
|
|
@@ -567,7 +579,7 @@ class we {
|
|
|
567
579
|
this.consumed += 1;
|
|
568
580
|
else if (this.decodeMode === C.Strict)
|
|
569
581
|
return 0;
|
|
570
|
-
return this.emitCodePoint(
|
|
582
|
+
return this.emitCodePoint(Se(this.result), this.consumed), this.errors && (u !== k.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
|
|
571
583
|
}
|
|
572
584
|
/**
|
|
573
585
|
* Parses a named entity.
|
|
@@ -583,11 +595,11 @@ class we {
|
|
|
583
595
|
let i = a[this.treeIndex], s = (i & $.VALUE_LENGTH) >> 14;
|
|
584
596
|
for (; t < u.length; t++, this.excess++) {
|
|
585
597
|
const r = u.charCodeAt(t);
|
|
586
|
-
if (this.treeIndex =
|
|
598
|
+
if (this.treeIndex = Te(a, i, this.treeIndex + Math.max(1, s), r), this.treeIndex < 0)
|
|
587
599
|
return this.result === 0 || // If we are parsing an attribute
|
|
588
600
|
this.decodeMode === C.Attribute && // We shouldn't have consumed any characters after the entity,
|
|
589
601
|
(s === 0 || // And there should be no invalid characters.
|
|
590
|
-
|
|
602
|
+
we(r)) ? 0 : this.emitNotTerminatedNamedEntity();
|
|
591
603
|
if (i = a[this.treeIndex], s = (i & $.VALUE_LENGTH) >> 14, s !== 0) {
|
|
592
604
|
if (r === k.SEMI)
|
|
593
605
|
return this.emitNamedEntityData(this.treeIndex, s, this.consumed + this.excess);
|
|
@@ -643,7 +655,7 @@ class we {
|
|
|
643
655
|
}
|
|
644
656
|
}
|
|
645
657
|
}
|
|
646
|
-
function
|
|
658
|
+
function Te(e, u, t, a) {
|
|
647
659
|
const i = (u & $.BRANCH_LENGTH) >> 7, s = u & $.JUMP_TABLE;
|
|
648
660
|
if (i === 0)
|
|
649
661
|
return s !== 0 && a === s ? t : -1;
|
|
@@ -677,7 +689,7 @@ function _(e) {
|
|
|
677
689
|
function Q(e) {
|
|
678
690
|
return e === h.Slash || e === h.Gt || _(e);
|
|
679
691
|
}
|
|
680
|
-
function
|
|
692
|
+
function Ne(e) {
|
|
681
693
|
return e >= h.LowerA && e <= h.LowerZ || e >= h.UpperA && e <= h.UpperZ;
|
|
682
694
|
}
|
|
683
695
|
var L;
|
|
@@ -713,9 +725,9 @@ const T = {
|
|
|
713
725
|
XmpEnd: new Uint8Array([60, 47, 120, 109, 112])
|
|
714
726
|
// `</xmp`
|
|
715
727
|
};
|
|
716
|
-
class
|
|
728
|
+
class ke {
|
|
717
729
|
constructor({ xmlMode: u = !1, decodeEntities: t = !0 }, a) {
|
|
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
|
|
730
|
+
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 Ae(u ? ge : xe, (i, s) => this.emitCodePoint(i, s));
|
|
719
731
|
}
|
|
720
732
|
reset() {
|
|
721
733
|
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;
|
|
@@ -800,7 +812,7 @@ class Ne {
|
|
|
800
812
|
* We allow anything that wouldn't end the tag.
|
|
801
813
|
*/
|
|
802
814
|
isTagStartChar(u) {
|
|
803
|
-
return this.xmlMode ? !Q(u) :
|
|
815
|
+
return this.xmlMode ? !Q(u) : Ne(u);
|
|
804
816
|
}
|
|
805
817
|
startSpecial(u, t) {
|
|
806
818
|
this.isSpecial = !0, this.currentSequence = u, this.sequenceIndex = t, this.state = d.SpecialStartSequence;
|
|
@@ -1045,7 +1057,7 @@ const H = /* @__PURE__ */ new Set([
|
|
|
1045
1057
|
"button",
|
|
1046
1058
|
"datalist",
|
|
1047
1059
|
"textarea"
|
|
1048
|
-
]), E = /* @__PURE__ */ new Set(["p"]),
|
|
1060
|
+
]), E = /* @__PURE__ */ new Set(["p"]), Iu = /* @__PURE__ */ new Set(["thead", "tbody"]), Eu = /* @__PURE__ */ new Set(["dd", "dt"]), vu = /* @__PURE__ */ new Set(["rt", "rp"]), Ve = /* @__PURE__ */ new Map([
|
|
1049
1061
|
["tr", /* @__PURE__ */ new Set(["tr", "th", "td"])],
|
|
1050
1062
|
["th", /* @__PURE__ */ new Set(["th"])],
|
|
1051
1063
|
["td", /* @__PURE__ */ new Set(["thead", "th", "td"])],
|
|
@@ -1066,8 +1078,8 @@ const H = /* @__PURE__ */ new Set([
|
|
|
1066
1078
|
["textarea", H],
|
|
1067
1079
|
["option", /* @__PURE__ */ new Set(["option"])],
|
|
1068
1080
|
["optgroup", /* @__PURE__ */ new Set(["optgroup", "option"])],
|
|
1069
|
-
["dd",
|
|
1070
|
-
["dt",
|
|
1081
|
+
["dd", Eu],
|
|
1082
|
+
["dt", Eu],
|
|
1071
1083
|
["address", E],
|
|
1072
1084
|
["article", E],
|
|
1073
1085
|
["aside", E],
|
|
@@ -1089,11 +1101,11 @@ const H = /* @__PURE__ */ new Set([
|
|
|
1089
1101
|
["section", E],
|
|
1090
1102
|
["table", E],
|
|
1091
1103
|
["ul", E],
|
|
1092
|
-
["rt",
|
|
1093
|
-
["rp",
|
|
1094
|
-
["tbody",
|
|
1095
|
-
["tfoot",
|
|
1096
|
-
]),
|
|
1104
|
+
["rt", vu],
|
|
1105
|
+
["rp", vu],
|
|
1106
|
+
["tbody", Iu],
|
|
1107
|
+
["tfoot", Iu]
|
|
1108
|
+
]), qe = /* @__PURE__ */ new Set([
|
|
1097
1109
|
"area",
|
|
1098
1110
|
"base",
|
|
1099
1111
|
"basefont",
|
|
@@ -1113,7 +1125,7 @@ const H = /* @__PURE__ */ new Set([
|
|
|
1113
1125
|
"source",
|
|
1114
1126
|
"track",
|
|
1115
1127
|
"wbr"
|
|
1116
|
-
]),
|
|
1128
|
+
]), wu = /* @__PURE__ */ new Set(["math", "svg"]), Au = /* @__PURE__ */ new Set([
|
|
1117
1129
|
"mi",
|
|
1118
1130
|
"mo",
|
|
1119
1131
|
"mn",
|
|
@@ -1123,11 +1135,11 @@ const H = /* @__PURE__ */ new Set([
|
|
|
1123
1135
|
"foreignobject",
|
|
1124
1136
|
"desc",
|
|
1125
1137
|
"title"
|
|
1126
|
-
]),
|
|
1127
|
-
class
|
|
1138
|
+
]), Re = /\s|\//;
|
|
1139
|
+
class je {
|
|
1128
1140
|
constructor(u, t = {}) {
|
|
1129
1141
|
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 :
|
|
1142
|
+
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 : ke)(this.options, this), this.foreignContext = [!this.htmlMode], (o = (n = this.cbs).onparserinit) === null || o === void 0 || o.call(n, this);
|
|
1131
1143
|
}
|
|
1132
1144
|
// Tokenizer event handlers
|
|
1133
1145
|
/** @internal */
|
|
@@ -1139,14 +1151,14 @@ class Re {
|
|
|
1139
1151
|
/** @internal */
|
|
1140
1152
|
ontextentity(u, t) {
|
|
1141
1153
|
var a, i;
|
|
1142
|
-
this.endIndex = t - 1, (i = (a = this.cbs).ontext) === null || i === void 0 || i.call(a,
|
|
1154
|
+
this.endIndex = t - 1, (i = (a = this.cbs).ontext) === null || i === void 0 || i.call(a, Su(u)), this.startIndex = t;
|
|
1143
1155
|
}
|
|
1144
1156
|
/**
|
|
1145
1157
|
* Checks if the current tag is a void element. Override this if you want
|
|
1146
1158
|
* to specify your own additional void elements.
|
|
1147
1159
|
*/
|
|
1148
1160
|
isVoidElement(u) {
|
|
1149
|
-
return this.htmlMode &&
|
|
1161
|
+
return this.htmlMode && qe.has(u);
|
|
1150
1162
|
}
|
|
1151
1163
|
/** @internal */
|
|
1152
1164
|
onopentagname(u, t) {
|
|
@@ -1157,13 +1169,13 @@ class Re {
|
|
|
1157
1169
|
emitOpenTag(u) {
|
|
1158
1170
|
var t, a, i, s;
|
|
1159
1171
|
this.openTagStart = this.startIndex, this.tagname = u;
|
|
1160
|
-
const r = this.htmlMode &&
|
|
1172
|
+
const r = this.htmlMode && Ve.get(u);
|
|
1161
1173
|
if (r)
|
|
1162
1174
|
for (; this.stack.length > 0 && r.has(this.stack[0]); ) {
|
|
1163
1175
|
const n = this.stack.shift();
|
|
1164
1176
|
(a = (t = this.cbs).onclosetag) === null || a === void 0 || a.call(t, n, !0);
|
|
1165
1177
|
}
|
|
1166
|
-
this.isVoidElement(u) || (this.stack.unshift(u), this.htmlMode && (
|
|
1178
|
+
this.isVoidElement(u) || (this.stack.unshift(u), this.htmlMode && (wu.has(u) ? this.foreignContext.unshift(!0) : Au.has(u) && this.foreignContext.unshift(!1))), (s = (i = this.cbs).onopentagname) === null || s === void 0 || s.call(i, u), this.cbs.onopentag && (this.attribs = {});
|
|
1167
1179
|
}
|
|
1168
1180
|
endOpenTag(u) {
|
|
1169
1181
|
var t, a;
|
|
@@ -1178,7 +1190,7 @@ class Re {
|
|
|
1178
1190
|
var a, i, s, r, n, o, c, l;
|
|
1179
1191
|
this.endIndex = t;
|
|
1180
1192
|
let f = this.getSlice(u, t);
|
|
1181
|
-
if (this.lowerCaseTagNames && (f = f.toLowerCase()), this.htmlMode && (
|
|
1193
|
+
if (this.lowerCaseTagNames && (f = f.toLowerCase()), this.htmlMode && (wu.has(f) || Au.has(f)) && this.foreignContext.shift(), this.isVoidElement(f))
|
|
1182
1194
|
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));
|
|
1183
1195
|
else {
|
|
1184
1196
|
const m = this.stack.indexOf(f);
|
|
@@ -1212,7 +1224,7 @@ class Re {
|
|
|
1212
1224
|
}
|
|
1213
1225
|
/** @internal */
|
|
1214
1226
|
onattribentity(u) {
|
|
1215
|
-
this.attribvalue +=
|
|
1227
|
+
this.attribvalue += Su(u);
|
|
1216
1228
|
}
|
|
1217
1229
|
/** @internal */
|
|
1218
1230
|
onattribend(u, t) {
|
|
@@ -1220,7 +1232,7 @@ class Re {
|
|
|
1220
1232
|
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 = "";
|
|
1221
1233
|
}
|
|
1222
1234
|
getInstructionName(u) {
|
|
1223
|
-
const t = u.search(
|
|
1235
|
+
const t = u.search(Re);
|
|
1224
1236
|
let a = t < 0 ? u : u.substr(0, t);
|
|
1225
1237
|
return this.lowerCaseTagNames && (a = a.toLowerCase()), a;
|
|
1226
1238
|
}
|
|
@@ -1352,10 +1364,10 @@ class Re {
|
|
|
1352
1364
|
this.end(u);
|
|
1353
1365
|
}
|
|
1354
1366
|
}
|
|
1355
|
-
function
|
|
1367
|
+
function Tu(e, u = "web") {
|
|
1356
1368
|
const t = { name: "", children: [] }, a = [t];
|
|
1357
1369
|
let i = "";
|
|
1358
|
-
const s = new
|
|
1370
|
+
const s = new je(
|
|
1359
1371
|
{
|
|
1360
1372
|
onopentag: (r, n, o) => {
|
|
1361
1373
|
const c = a[a.length - 1];
|
|
@@ -1370,9 +1382,9 @@ function Au(e, u = "web") {
|
|
|
1370
1382
|
},
|
|
1371
1383
|
{}
|
|
1372
1384
|
);
|
|
1373
|
-
l.style && (l.style =
|
|
1385
|
+
l.style && (l.style = Du(l.style));
|
|
1374
1386
|
const f = {
|
|
1375
|
-
name:
|
|
1387
|
+
name: ju(r, u),
|
|
1376
1388
|
props: l
|
|
1377
1389
|
};
|
|
1378
1390
|
Array.isArray(c.children) ? c.children.push(f) : c.children ? c.children = [
|
|
@@ -1399,9 +1411,9 @@ function Au(e, u = "web") {
|
|
|
1399
1411
|
);
|
|
1400
1412
|
return s.write(e.replace(/\\"/g, '"')), s.end(), t.children || [];
|
|
1401
1413
|
}
|
|
1402
|
-
function
|
|
1414
|
+
function De(e, u) {
|
|
1403
1415
|
const a = {
|
|
1404
|
-
imports:
|
|
1416
|
+
imports: Ce(e),
|
|
1405
1417
|
emits: [],
|
|
1406
1418
|
errors: []
|
|
1407
1419
|
}, i = W(e);
|
|
@@ -1418,54 +1430,54 @@ function je(e, u) {
|
|
|
1418
1430
|
), l = o.find(
|
|
1419
1431
|
(f) => f.key.name === "computed"
|
|
1420
1432
|
);
|
|
1421
|
-
l && (a.computed =
|
|
1433
|
+
l && (a.computed = Cu(l.value), a.watchers = Oe(l.value));
|
|
1422
1434
|
for (const f of o)
|
|
1423
1435
|
switch (f.key.name) {
|
|
1424
1436
|
case "name":
|
|
1425
1437
|
a.name = f.value.value;
|
|
1426
1438
|
break;
|
|
1427
1439
|
case "methods":
|
|
1428
|
-
a.handlers =
|
|
1440
|
+
a.handlers = $e(f.value), a.methods = Fe(f.value), a.dataSources = Be(
|
|
1429
1441
|
f.value,
|
|
1430
1442
|
u
|
|
1431
1443
|
);
|
|
1432
1444
|
break;
|
|
1433
1445
|
case "watch":
|
|
1434
|
-
a.watch =
|
|
1446
|
+
a.watch = Me(
|
|
1435
1447
|
f.value,
|
|
1436
1448
|
a.watchers
|
|
1437
1449
|
);
|
|
1438
1450
|
break;
|
|
1439
1451
|
case "props":
|
|
1440
|
-
a.props =
|
|
1452
|
+
a.props = He(f.value);
|
|
1441
1453
|
break;
|
|
1442
1454
|
case "inject":
|
|
1443
|
-
a.inject =
|
|
1455
|
+
a.inject = We(f.value);
|
|
1444
1456
|
break;
|
|
1445
1457
|
case "expose":
|
|
1446
|
-
a.expose =
|
|
1458
|
+
a.expose = ze(f.value);
|
|
1447
1459
|
break;
|
|
1448
1460
|
case "directives":
|
|
1449
|
-
a.directives =
|
|
1461
|
+
a.directives = Xe(f.value);
|
|
1450
1462
|
break;
|
|
1451
1463
|
}
|
|
1452
1464
|
for (const f of c)
|
|
1453
1465
|
switch (f.key.name) {
|
|
1454
1466
|
case "setup":
|
|
1455
|
-
a.state =
|
|
1467
|
+
a.state = _e(f.body);
|
|
1456
1468
|
break;
|
|
1457
1469
|
}
|
|
1458
|
-
a.lifeCycles =
|
|
1470
|
+
a.lifeCycles = Pe(c);
|
|
1459
1471
|
},
|
|
1460
1472
|
CallExpression(s) {
|
|
1461
|
-
const r =
|
|
1473
|
+
const r = Ge(s.node);
|
|
1462
1474
|
if (r.length)
|
|
1463
1475
|
for (let n of r)
|
|
1464
1476
|
a.emits?.find((c) => c.name === n.name) || a.emits?.push(n);
|
|
1465
1477
|
}
|
|
1466
1478
|
}), a;
|
|
1467
1479
|
}
|
|
1468
|
-
function
|
|
1480
|
+
function Ce(e) {
|
|
1469
1481
|
const u = /import\s+{(.+?)}\s+from\s+['"](.+?)['"]/g, t = /import\s+(.+?)\s+from\s+['"](.+?)['"]/g, a = /^{(.+?)}$/, i = [];
|
|
1470
1482
|
let s;
|
|
1471
1483
|
const r = e.replace(/\n/g, " ");
|
|
@@ -1485,7 +1497,7 @@ function De(e) {
|
|
|
1485
1497
|
}
|
|
1486
1498
|
return i;
|
|
1487
1499
|
}
|
|
1488
|
-
function
|
|
1500
|
+
function Le(e) {
|
|
1489
1501
|
for (const u of e.body)
|
|
1490
1502
|
if (u.type === "VariableDeclaration" && u.kind == "const") {
|
|
1491
1503
|
const { id: t, init: a } = u.declarations[0];
|
|
@@ -1494,8 +1506,8 @@ function Ce(e) {
|
|
|
1494
1506
|
}
|
|
1495
1507
|
return null;
|
|
1496
1508
|
}
|
|
1497
|
-
function
|
|
1498
|
-
const u =
|
|
1509
|
+
function _e(e) {
|
|
1510
|
+
const u = Le(e);
|
|
1499
1511
|
if (!u) return {};
|
|
1500
1512
|
const t = {};
|
|
1501
1513
|
for (const a of u.properties) {
|
|
@@ -1527,7 +1539,7 @@ function P(e) {
|
|
|
1527
1539
|
};
|
|
1528
1540
|
}
|
|
1529
1541
|
}
|
|
1530
|
-
function
|
|
1542
|
+
function Cu(e) {
|
|
1531
1543
|
if (!e) return {};
|
|
1532
1544
|
const u = {};
|
|
1533
1545
|
for (const t of e.properties) {
|
|
@@ -1536,15 +1548,15 @@ function Du(e) {
|
|
|
1536
1548
|
}
|
|
1537
1549
|
return u;
|
|
1538
1550
|
}
|
|
1539
|
-
function
|
|
1551
|
+
function Be(e, u) {
|
|
1540
1552
|
if (!e) return {};
|
|
1541
1553
|
const t = {}, a = /apis\[\'([\w]*)\'\]/, i = /\.then\(([\w\W]*)\)/;
|
|
1542
1554
|
for (const s of e.properties) {
|
|
1543
|
-
const r = P(s), n = s.body.body?.[0], o = (n?.leadingComments?.[0].value || "").trim(), c =
|
|
1555
|
+
const r = P(s), n = s.body.body?.[0], o = (n?.leadingComments?.[0].value || "").trim(), c = me(o);
|
|
1544
1556
|
if (r && r.exp.value.includes("this.provider.apis")) {
|
|
1545
1557
|
const f = (r.exp.value.match(a) || [])[1];
|
|
1546
1558
|
if (!f) continue;
|
|
1547
|
-
const m =
|
|
1559
|
+
const m = Je(u, f);
|
|
1548
1560
|
if (!m) continue;
|
|
1549
1561
|
const p = r.exp.value.match(i)?.[1];
|
|
1550
1562
|
t[r.name] = {
|
|
@@ -1595,13 +1607,13 @@ function _e(e, u) {
|
|
|
1595
1607
|
}
|
|
1596
1608
|
return t;
|
|
1597
1609
|
}
|
|
1598
|
-
function
|
|
1599
|
-
const u =
|
|
1610
|
+
function Fe(e) {
|
|
1611
|
+
const u = Cu(e), t = /\_([\w]{5,})$/, a = {};
|
|
1600
1612
|
for (const i of Object.keys(u))
|
|
1601
1613
|
t.test(i) || (a[i] = u[i]);
|
|
1602
1614
|
return a;
|
|
1603
1615
|
}
|
|
1604
|
-
function
|
|
1616
|
+
function $e(e) {
|
|
1605
1617
|
if (!e) return {};
|
|
1606
1618
|
const u = {}, t = /\_([\w]{5,})$/;
|
|
1607
1619
|
for (const a of e.properties) {
|
|
@@ -1621,7 +1633,7 @@ function Fe(e) {
|
|
|
1621
1633
|
}
|
|
1622
1634
|
return u;
|
|
1623
1635
|
}
|
|
1624
|
-
function
|
|
1636
|
+
function Oe(e) {
|
|
1625
1637
|
if (!e) return {};
|
|
1626
1638
|
const u = {};
|
|
1627
1639
|
for (const t of e.properties) {
|
|
@@ -1631,21 +1643,21 @@ function $e(e) {
|
|
|
1631
1643
|
return u;
|
|
1632
1644
|
}
|
|
1633
1645
|
function X(e, u) {
|
|
1634
|
-
return !!
|
|
1646
|
+
return !!Lu(e, u);
|
|
1635
1647
|
}
|
|
1636
|
-
function
|
|
1648
|
+
function Lu(e, u) {
|
|
1637
1649
|
return e?.find(
|
|
1638
1650
|
(a) => a.key?.name === u
|
|
1639
1651
|
)?.value?.value;
|
|
1640
1652
|
}
|
|
1641
|
-
function
|
|
1653
|
+
function Nu(e, u) {
|
|
1642
1654
|
const t = e?.find(
|
|
1643
1655
|
(a) => a.key?.name === u
|
|
1644
1656
|
);
|
|
1645
1657
|
if (t)
|
|
1646
1658
|
return P(t)?.exp;
|
|
1647
1659
|
}
|
|
1648
|
-
function
|
|
1660
|
+
function Me(e, u = {}) {
|
|
1649
1661
|
const t = [];
|
|
1650
1662
|
for (const a of e.properties) {
|
|
1651
1663
|
const { key: i, value: s } = a, r = i.value || i.name || "";
|
|
@@ -1656,7 +1668,7 @@ function Oe(e, u = {}) {
|
|
|
1656
1668
|
source: u[r],
|
|
1657
1669
|
deep: X(n, "deep"),
|
|
1658
1670
|
immediate: X(n, "immediate"),
|
|
1659
|
-
handler:
|
|
1671
|
+
handler: Nu(n, "handler")
|
|
1660
1672
|
});
|
|
1661
1673
|
} else if (a.type === "ObjectMethod" && t.push({
|
|
1662
1674
|
id: su(),
|
|
@@ -1677,38 +1689,38 @@ function Oe(e, u = {}) {
|
|
|
1677
1689
|
},
|
|
1678
1690
|
deep: X(n, "deep"),
|
|
1679
1691
|
immediate: X(n, "immediate"),
|
|
1680
|
-
handler:
|
|
1692
|
+
handler: Nu(n, "handler")
|
|
1681
1693
|
});
|
|
1682
1694
|
}
|
|
1683
1695
|
}
|
|
1684
1696
|
return t;
|
|
1685
1697
|
}
|
|
1686
|
-
function
|
|
1698
|
+
function Pe(e) {
|
|
1687
1699
|
const u = {};
|
|
1688
1700
|
for (const t of e) {
|
|
1689
1701
|
const a = t.key.name;
|
|
1690
|
-
if (
|
|
1702
|
+
if (de.includes(a)) {
|
|
1691
1703
|
const i = P(t);
|
|
1692
1704
|
i && (u[i.name] = i.exp);
|
|
1693
1705
|
}
|
|
1694
1706
|
}
|
|
1695
1707
|
return u;
|
|
1696
1708
|
}
|
|
1697
|
-
function
|
|
1709
|
+
function Ue(e) {
|
|
1698
1710
|
const u = e?.find(
|
|
1699
1711
|
(t) => t.key?.name === "type"
|
|
1700
1712
|
);
|
|
1701
1713
|
if (u)
|
|
1702
1714
|
return u.value.type === "ArrayExpression" ? u.value.elements.map((t) => t.name) : u.value.name;
|
|
1703
1715
|
}
|
|
1704
|
-
function
|
|
1716
|
+
function _u(e) {
|
|
1705
1717
|
const u = e?.find(
|
|
1706
1718
|
(t) => t.key?.name === "default"
|
|
1707
1719
|
);
|
|
1708
1720
|
if (u)
|
|
1709
1721
|
return q(O(u.value));
|
|
1710
1722
|
}
|
|
1711
|
-
function
|
|
1723
|
+
function He(e) {
|
|
1712
1724
|
if (!e) return [];
|
|
1713
1725
|
let u = [];
|
|
1714
1726
|
return e.type === "ArrayExpression" ? u = e.elements.map((t) => t.value) : e.type === "ObjectExpression" && (u = e.properties?.map((t) => {
|
|
@@ -1716,12 +1728,12 @@ function Ue(e) {
|
|
|
1716
1728
|
return {
|
|
1717
1729
|
name: a.name,
|
|
1718
1730
|
required: X(s, "required"),
|
|
1719
|
-
type:
|
|
1720
|
-
default:
|
|
1731
|
+
type: Ue(s),
|
|
1732
|
+
default: _u(s)
|
|
1721
1733
|
};
|
|
1722
1734
|
})), u;
|
|
1723
1735
|
}
|
|
1724
|
-
function
|
|
1736
|
+
function Ge(e) {
|
|
1725
1737
|
const u = [];
|
|
1726
1738
|
if (e.callee.type === "MemberExpression" && e.callee.property?.name === "$emit") {
|
|
1727
1739
|
const [a, ...i] = (e.arguments || []).map(
|
|
@@ -1734,10 +1746,10 @@ function He(e) {
|
|
|
1734
1746
|
}
|
|
1735
1747
|
return u;
|
|
1736
1748
|
}
|
|
1737
|
-
function
|
|
1749
|
+
function We(e) {
|
|
1738
1750
|
let u = [];
|
|
1739
1751
|
return e.type === "ObjectExpression" && (u = e.properties?.map((t) => {
|
|
1740
|
-
const { key: a, value: i } = t, s = i.properties, r = a.name, n =
|
|
1752
|
+
const { key: a, value: i } = t, s = i.properties, r = a.name, n = Lu(s, "from"), o = _u(s);
|
|
1741
1753
|
return {
|
|
1742
1754
|
name: r,
|
|
1743
1755
|
from: n || r,
|
|
@@ -1745,13 +1757,13 @@ function Ge(e) {
|
|
|
1745
1757
|
};
|
|
1746
1758
|
})), u;
|
|
1747
1759
|
}
|
|
1748
|
-
function
|
|
1760
|
+
function ze(e) {
|
|
1749
1761
|
return e && e.elements ? e.elements.map((u) => u?.type === "StringLiteral" ? u.value : "").filter((u) => !!u) : [];
|
|
1750
1762
|
}
|
|
1751
|
-
function
|
|
1763
|
+
function Je(e, u) {
|
|
1752
1764
|
return (e.apis || []).find((t) => t.id === u || t.name === u);
|
|
1753
1765
|
}
|
|
1754
|
-
function
|
|
1766
|
+
function Xe(e) {
|
|
1755
1767
|
if (!e?.properties) return {};
|
|
1756
1768
|
const u = {};
|
|
1757
1769
|
for (const t of e.properties) {
|
|
@@ -1763,10 +1775,10 @@ function Je(e) {
|
|
|
1763
1775
|
}
|
|
1764
1776
|
return u;
|
|
1765
1777
|
}
|
|
1766
|
-
let cu = [], K = {},
|
|
1767
|
-
function
|
|
1768
|
-
return cu = [], K = {},
|
|
1769
|
-
nodes: (
|
|
1778
|
+
let cu = [], K = {}, Bu = {}, Fu = {}, $u = {}, Y = "web", Ou = [];
|
|
1779
|
+
function Ze(e, u, t = "", a) {
|
|
1780
|
+
return cu = [], K = {}, Bu = a?.handlers || {}, $u = a?.styles || {}, Y = a?.platform || "web", Ou = a?.imports || [], Fu = a?.directives || {}, {
|
|
1781
|
+
nodes: (qu({
|
|
1770
1782
|
id: e,
|
|
1771
1783
|
filename: u,
|
|
1772
1784
|
source: t,
|
|
@@ -1777,7 +1789,7 @@ function Xe(e, u, t = "", a) {
|
|
|
1777
1789
|
context: K
|
|
1778
1790
|
};
|
|
1779
1791
|
}
|
|
1780
|
-
function
|
|
1792
|
+
function Qe(e) {
|
|
1781
1793
|
if (e.name === "slot") {
|
|
1782
1794
|
let u = "default";
|
|
1783
1795
|
const t = [];
|
|
@@ -1789,21 +1801,21 @@ function Ze(e) {
|
|
|
1789
1801
|
});
|
|
1790
1802
|
}
|
|
1791
1803
|
}
|
|
1792
|
-
function
|
|
1804
|
+
function Ke(e) {
|
|
1793
1805
|
const u = {};
|
|
1794
1806
|
for (const t of e) {
|
|
1795
1807
|
if (t.type === x.ATTRIBUTE)
|
|
1796
1808
|
if (t.name === "class") {
|
|
1797
|
-
const a = t.value?.content || "", i = /[\w]+_[\w]{5,}/, s = a.match(i)?.[0] || "", r = a.split(" ").filter((o) => o !== s), n =
|
|
1809
|
+
const a = t.value?.content || "", i = /[\w]+_[\w]{5,}/, s = a.match(i)?.[0] || "", r = a.split(" ").filter((o) => o !== s), n = $u[`.${s}`];
|
|
1798
1810
|
n && (u.style = n), r.length && (u.class = r.join(" "));
|
|
1799
1811
|
} else if (t.name === "style") {
|
|
1800
1812
|
const a = t.value?.content || "";
|
|
1801
|
-
a && (u.style =
|
|
1813
|
+
a && (u.style = Du(a));
|
|
1802
1814
|
} else
|
|
1803
1815
|
u[t.name] = t.value?.content || "";
|
|
1804
1816
|
if (t.type === x.DIRECTIVE && t.name === "bind" && (t.exp?.type === x.SIMPLE_EXPRESSION && t.arg?.type === x.SIMPLE_EXPRESSION && (u[t.arg.content] = q(`(${t.exp.content})`)), t.exp?.type === x.COMPOUND_EXPRESSION && t.arg?.type === x.SIMPLE_EXPRESSION))
|
|
1805
1817
|
if (t.arg.content === "class" && u.class) {
|
|
1806
|
-
const a = t.exp.ast.type, i =
|
|
1818
|
+
const a = t.exp.ast.type, i = pe(
|
|
1807
1819
|
u.class,
|
|
1808
1820
|
t.exp.loc.source,
|
|
1809
1821
|
a
|
|
@@ -1816,13 +1828,13 @@ function Qe(e) {
|
|
|
1816
1828
|
}
|
|
1817
1829
|
return u;
|
|
1818
1830
|
}
|
|
1819
|
-
function
|
|
1831
|
+
function Ye(e = {}) {
|
|
1820
1832
|
const u = {};
|
|
1821
1833
|
for (const [t, a] of Object.entries(e))
|
|
1822
1834
|
u[t === "tap" ? "click" : t] = a;
|
|
1823
1835
|
return u;
|
|
1824
1836
|
}
|
|
1825
|
-
function
|
|
1837
|
+
function u0(e, u = {}) {
|
|
1826
1838
|
const t = {};
|
|
1827
1839
|
for (const a of e)
|
|
1828
1840
|
if (a.type === x.DIRECTIVE && a.name === "on" && a.arg?.type === x.SIMPLE_EXPRESSION) {
|
|
@@ -1848,7 +1860,7 @@ function Ye(e, u = {}) {
|
|
|
1848
1860
|
};
|
|
1849
1861
|
}
|
|
1850
1862
|
}
|
|
1851
|
-
return
|
|
1863
|
+
return Ye(t);
|
|
1852
1864
|
}
|
|
1853
1865
|
function Z(e, u) {
|
|
1854
1866
|
const t = [], a = ["if", "for", "model", "show", "bind", "html"];
|
|
@@ -1903,7 +1915,7 @@ function Z(e, u) {
|
|
|
1903
1915
|
const f = (l.modifiers || []).reduce(
|
|
1904
1916
|
(v, A) => (v[A.content] = !0, v),
|
|
1905
1917
|
{}
|
|
1906
|
-
), m = l.arg?.content || void 0, p =
|
|
1918
|
+
), m = l.arg?.content || void 0, p = Fu[l.name];
|
|
1907
1919
|
p && t.push({
|
|
1908
1920
|
name: p,
|
|
1909
1921
|
value: q(l.exp?.loc.source || ""),
|
|
@@ -1914,7 +1926,7 @@ function Z(e, u) {
|
|
|
1914
1926
|
}
|
|
1915
1927
|
return t;
|
|
1916
1928
|
}
|
|
1917
|
-
function
|
|
1929
|
+
function Mu(e) {
|
|
1918
1930
|
let u = "";
|
|
1919
1931
|
if (e.type === x.ELEMENT) {
|
|
1920
1932
|
const { props: t = [], tag: a } = e;
|
|
@@ -1929,9 +1941,9 @@ function Ou(e) {
|
|
|
1929
1941
|
}
|
|
1930
1942
|
return u || su();
|
|
1931
1943
|
}
|
|
1932
|
-
function
|
|
1944
|
+
function e0(e) {
|
|
1933
1945
|
const u = /\.\/(.+?)\.vue/;
|
|
1934
|
-
for (const { from: t, imports: a } of
|
|
1946
|
+
for (const { from: t, imports: a } of Ou) {
|
|
1935
1947
|
if (Array.isArray(a) && a.includes(e))
|
|
1936
1948
|
return t;
|
|
1937
1949
|
if (a === e) {
|
|
@@ -1960,24 +1972,24 @@ function nu(e, u) {
|
|
|
1960
1972
|
}
|
|
1961
1973
|
function iu(e, u, t, a) {
|
|
1962
1974
|
const i = {
|
|
1963
|
-
name:
|
|
1964
|
-
from:
|
|
1965
|
-
props:
|
|
1966
|
-
events:
|
|
1975
|
+
name: ju(e.tag, Y),
|
|
1976
|
+
from: e0(e.tag),
|
|
1977
|
+
props: Ke(e.props),
|
|
1978
|
+
events: u0(e.props, Bu),
|
|
1967
1979
|
directives: Z(t || e, a)
|
|
1968
1980
|
};
|
|
1969
|
-
i.id =
|
|
1981
|
+
i.id = Mu(e), nu(i, u);
|
|
1970
1982
|
const s = uu(i, e.children);
|
|
1971
|
-
return nu(i, u),
|
|
1983
|
+
return nu(i, u), Qe(s), s;
|
|
1972
1984
|
}
|
|
1973
|
-
function
|
|
1985
|
+
function t0(e, u) {
|
|
1974
1986
|
return e.map((t) => G(t, u, e));
|
|
1975
1987
|
}
|
|
1976
1988
|
function G(e, u, t) {
|
|
1977
1989
|
if (e.type === x.ELEMENT)
|
|
1978
1990
|
return iu(e, u);
|
|
1979
1991
|
if (e.type === x.IF)
|
|
1980
|
-
return
|
|
1992
|
+
return a0(e);
|
|
1981
1993
|
if (t && e.type === x.IF_BRANCH) {
|
|
1982
1994
|
const a = e.children.find(
|
|
1983
1995
|
(i) => i.type === x.ELEMENT || i.type === x.FOR
|
|
@@ -2001,7 +2013,7 @@ function G(e, u, t) {
|
|
|
2001
2013
|
return iu(a, u, e);
|
|
2002
2014
|
}
|
|
2003
2015
|
if (e.type === x.TEXT_CALL)
|
|
2004
|
-
return e.content.type == x.TEXT ? e.content.content : e.content.type === x.INTERPOLATION ? q(e.content.content.loc.source) : e.content.type === x.COMPOUND_EXPRESSION ?
|
|
2016
|
+
return e.content.type == x.TEXT ? e.content.content : e.content.type === x.INTERPOLATION ? q(e.content.content.loc.source) : e.content.type === x.COMPOUND_EXPRESSION ? ku(
|
|
2005
2017
|
e.content.children
|
|
2006
2018
|
) : "";
|
|
2007
2019
|
if (e.type === x.TEXT)
|
|
@@ -2009,12 +2021,12 @@ function G(e, u, t) {
|
|
|
2009
2021
|
if (e.type === x.INTERPOLATION && (e.content.type === x.SIMPLE_EXPRESSION || e.content.type === x.COMPOUND_EXPRESSION))
|
|
2010
2022
|
return q(e.content.loc.source);
|
|
2011
2023
|
if (e.type === x.COMPOUND_EXPRESSION)
|
|
2012
|
-
return
|
|
2024
|
+
return ku(
|
|
2013
2025
|
e.children
|
|
2014
2026
|
);
|
|
2015
2027
|
e.type !== x.COMMENT && console.warn("未处理", e.type);
|
|
2016
2028
|
}
|
|
2017
|
-
function
|
|
2029
|
+
function ku(e = []) {
|
|
2018
2030
|
const u = e.filter((a) => typeof a != "string"), t = [];
|
|
2019
2031
|
for (const a of u)
|
|
2020
2032
|
t.push({
|
|
@@ -2032,7 +2044,7 @@ function uu(e, u = []) {
|
|
|
2032
2044
|
if (a.type === x.ELEMENT && a.codegenNode?.value?.arguments) {
|
|
2033
2045
|
const i = a.codegenNode.value.arguments[0];
|
|
2034
2046
|
if (i) {
|
|
2035
|
-
const s =
|
|
2047
|
+
const s = Tu(i, Y);
|
|
2036
2048
|
t.push(...s);
|
|
2037
2049
|
}
|
|
2038
2050
|
} else if (a.type === x.ELEMENT && a.tag === "template") {
|
|
@@ -2043,7 +2055,7 @@ function uu(e, u = []) {
|
|
|
2043
2055
|
children: G(s, e)
|
|
2044
2056
|
} : G(s, e);
|
|
2045
2057
|
r && (Array.isArray(r) ? r : [r]).forEach((o) => {
|
|
2046
|
-
|
|
2058
|
+
ce(o) && i?.type === x.DIRECTIVE && (o.id = Mu(s), o.slot = {
|
|
2047
2059
|
name: i.arg?.content || "default",
|
|
2048
2060
|
params: i.exp?.identifiers || [],
|
|
2049
2061
|
scope: i.exp?.type === x.SIMPLE_EXPRESSION ? i.exp.content : ""
|
|
@@ -2053,7 +2065,7 @@ function uu(e, u = []) {
|
|
|
2053
2065
|
} else if (a.type === x.JS_CALL_EXPRESSION) {
|
|
2054
2066
|
const i = a.arguments?.[0];
|
|
2055
2067
|
if (i) {
|
|
2056
|
-
const s =
|
|
2068
|
+
const s = Tu(i, Y);
|
|
2057
2069
|
t.push(...s);
|
|
2058
2070
|
}
|
|
2059
2071
|
} else if (a.type === x.TEXT_CALL) {
|
|
@@ -2070,18 +2082,18 @@ function uu(e, u = []) {
|
|
|
2070
2082
|
e.children = t.map((a) => typeof a == "string" ? { name: "span", children: a } : a);
|
|
2071
2083
|
return e;
|
|
2072
2084
|
}
|
|
2073
|
-
function
|
|
2085
|
+
function a0(e) {
|
|
2074
2086
|
const u = e.branches || [], t = u[0], a = t.children || [];
|
|
2075
2087
|
if (t?.isTemplateIf || a.length > 1 || a[0].type !== x.ELEMENT) {
|
|
2076
2088
|
const s = { name: "span", directives: Z(t, u) };
|
|
2077
2089
|
return uu(s, t.children);
|
|
2078
2090
|
} else
|
|
2079
|
-
return
|
|
2091
|
+
return t0(u);
|
|
2080
2092
|
}
|
|
2081
|
-
function
|
|
2093
|
+
function i0(e) {
|
|
2082
2094
|
const u = [], t = {}, a = [];
|
|
2083
2095
|
try {
|
|
2084
|
-
const i =
|
|
2096
|
+
const i = se.compileString(e, { charset: !1 })?.css || "", s = ie.parse(i), r = /^.[\w]+_[\w]{5,}/;
|
|
2085
2097
|
for (const n of s.nodes)
|
|
2086
2098
|
if (n.type === "rule") {
|
|
2087
2099
|
const o = {};
|
|
@@ -2101,12 +2113,12 @@ function a0(e) {
|
|
|
2101
2113
|
`)
|
|
2102
2114
|
};
|
|
2103
2115
|
}
|
|
2104
|
-
const
|
|
2116
|
+
const Pu = "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(
|
|
2105
2117
|
", "
|
|
2106
|
-
),
|
|
2118
|
+
), s0 = "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(
|
|
2107
2119
|
", "
|
|
2108
|
-
),
|
|
2109
|
-
class
|
|
2120
|
+
), r0 = "user", j = "User";
|
|
2121
|
+
class c0 {
|
|
2110
2122
|
validate(u) {
|
|
2111
2123
|
const t = {
|
|
2112
2124
|
valid: !0,
|
|
@@ -2139,7 +2151,7 @@ class r0 {
|
|
|
2139
2151
|
checkSetup(u) {
|
|
2140
2152
|
const t = D(u);
|
|
2141
2153
|
let a = 0;
|
|
2142
|
-
return
|
|
2154
|
+
return Ru(t.script, {
|
|
2143
2155
|
ObjectMethod(i) {
|
|
2144
2156
|
i.node.key.name === "setup" && (a = i.node.body.body.filter(
|
|
2145
2157
|
(r) => !V.isEmptyStatement(r)
|
|
@@ -2157,7 +2169,7 @@ class r0 {
|
|
|
2157
2169
|
checkVantIcons(u) {
|
|
2158
2170
|
const t = this.findVantIcons(u), a = [];
|
|
2159
2171
|
for (const i of t)
|
|
2160
|
-
|
|
2172
|
+
Pu.includes(i) || a.push(i);
|
|
2161
2173
|
return a;
|
|
2162
2174
|
}
|
|
2163
2175
|
findVtjIcons(u) {
|
|
@@ -2167,7 +2179,7 @@ class r0 {
|
|
|
2167
2179
|
checkVtjIcons(u) {
|
|
2168
2180
|
const t = this.findVtjIcons(u), a = [];
|
|
2169
2181
|
for (const i of t)
|
|
2170
|
-
|
|
2182
|
+
s0.includes(i) || a.push(i);
|
|
2171
2183
|
return a;
|
|
2172
2184
|
}
|
|
2173
2185
|
hasUnchangedComment(u) {
|
|
@@ -2182,7 +2194,7 @@ class r0 {
|
|
|
2182
2194
|
);
|
|
2183
2195
|
}
|
|
2184
2196
|
}
|
|
2185
|
-
function
|
|
2197
|
+
function n0(e) {
|
|
2186
2198
|
const u = [];
|
|
2187
2199
|
let t = e;
|
|
2188
2200
|
const a = D(e);
|
|
@@ -2193,7 +2205,7 @@ function c0(e) {
|
|
|
2193
2205
|
fixedCode: e,
|
|
2194
2206
|
changes: []
|
|
2195
2207
|
};
|
|
2196
|
-
const i =
|
|
2208
|
+
const i = o0(a.script), s = a.template;
|
|
2197
2209
|
let r = s;
|
|
2198
2210
|
const n = [], o = /\{\{([^}]+)\}\}/g;
|
|
2199
2211
|
let c;
|
|
@@ -2351,7 +2363,7 @@ function c0(e) {
|
|
|
2351
2363
|
}
|
|
2352
2364
|
const y = /(@|v-on:)(\w+)="([^"]+)"/g;
|
|
2353
2365
|
for (; (c = y.exec(s)) !== null; ) {
|
|
2354
|
-
const b = c[0], S = c[1], I = c[2], g = c[3], w =
|
|
2366
|
+
const b = c[0], S = c[1], I = c[2], g = c[3], w = d0(g, i);
|
|
2355
2367
|
if (w !== g) {
|
|
2356
2368
|
const R = B(s, c.index);
|
|
2357
2369
|
n.push({
|
|
@@ -2385,7 +2397,7 @@ function c0(e) {
|
|
|
2385
2397
|
changes: u
|
|
2386
2398
|
};
|
|
2387
2399
|
}
|
|
2388
|
-
function
|
|
2400
|
+
function o0(e) {
|
|
2389
2401
|
const u = /* @__PURE__ */ new Set();
|
|
2390
2402
|
try {
|
|
2391
2403
|
const t = W(e);
|
|
@@ -2411,7 +2423,7 @@ function F(e, u) {
|
|
|
2411
2423
|
i.test(t) && !t.includes(`state.${a}`) && (t = t.replace(i, `state.${a}`));
|
|
2412
2424
|
}), t;
|
|
2413
2425
|
}
|
|
2414
|
-
function
|
|
2426
|
+
function d0(e, u) {
|
|
2415
2427
|
let t = e.trim();
|
|
2416
2428
|
return u.forEach((a) => {
|
|
2417
2429
|
const i = new RegExp(
|
|
@@ -2432,21 +2444,21 @@ function B(e, u) {
|
|
|
2432
2444
|
column: t[t.length - 1].length
|
|
2433
2445
|
};
|
|
2434
2446
|
}
|
|
2435
|
-
class
|
|
2447
|
+
class f0 {
|
|
2436
2448
|
fixBasedOnValidation(u, t) {
|
|
2437
2449
|
let a = u;
|
|
2438
|
-
return t.illegalVantIcons.length && (a = this.fixVantIcons(a)), t.illegalVtjIcons.length && (a = this.fixVtjIcons(a, t.illegalVtjIcons)),
|
|
2450
|
+
return t.illegalVantIcons.length && (a = this.fixVantIcons(a)), t.illegalVtjIcons.length && (a = this.fixVtjIcons(a, t.illegalVtjIcons)), n0(a).fixedCode;
|
|
2439
2451
|
}
|
|
2440
2452
|
fixVantIcons(u) {
|
|
2441
2453
|
const t = D(u), a = t.template.replace(
|
|
2442
2454
|
/<(?:VanIcon|van-icon)\s+[^>]*name="([^"]+)"[^>]*>/g,
|
|
2443
|
-
(i, s) =>
|
|
2455
|
+
(i, s) => Pu.includes(s) ? i : i.replace(s, r0)
|
|
2444
2456
|
);
|
|
2445
2457
|
return this.reconstructSFC(t, a, t.script);
|
|
2446
2458
|
}
|
|
2447
2459
|
fixVtjIcons(u, t = []) {
|
|
2448
2460
|
const a = D(u);
|
|
2449
|
-
a.script =
|
|
2461
|
+
a.script = Ru(a.script, {
|
|
2450
2462
|
ImportDeclaration(r) {
|
|
2451
2463
|
if (r.node.source.value === "@vtj/icons") {
|
|
2452
2464
|
const n = r.node.specifiers, o = [];
|
|
@@ -2528,11 +2540,11 @@ ${a}
|
|
|
2528
2540
|
}), i;
|
|
2529
2541
|
}
|
|
2530
2542
|
}
|
|
2531
|
-
async function
|
|
2532
|
-
const { id: u, name: t, source: a, project: i } = e, s =
|
|
2543
|
+
async function N0(e) {
|
|
2544
|
+
const { id: u, name: t, source: a, project: i } = e, s = ne(a, t);
|
|
2533
2545
|
if (s)
|
|
2534
2546
|
return Promise.reject(s);
|
|
2535
|
-
const { dependencies: r = [], platform: n = "web" } = i || {}, o = new
|
|
2547
|
+
const { dependencies: r = [], platform: n = "web" } = i || {}, o = new c0(), c = new f0(), l = o.validate(a);
|
|
2536
2548
|
let f = [];
|
|
2537
2549
|
if (!l.valid)
|
|
2538
2550
|
return f = l.errors, Promise.reject(f);
|
|
@@ -2540,7 +2552,7 @@ async function T0(e) {
|
|
|
2540
2552
|
styles: v,
|
|
2541
2553
|
css: A,
|
|
2542
2554
|
errors: y
|
|
2543
|
-
} =
|
|
2555
|
+
} = i0(p.styles.join(`
|
|
2544
2556
|
`));
|
|
2545
2557
|
if (f.push(...y), f.length)
|
|
2546
2558
|
return Promise.reject(f);
|
|
@@ -2553,34 +2565,34 @@ async function T0(e) {
|
|
|
2553
2565
|
props: R,
|
|
2554
2566
|
emits: U,
|
|
2555
2567
|
expose: tu,
|
|
2556
|
-
inject:
|
|
2557
|
-
handlers:
|
|
2568
|
+
inject: Uu,
|
|
2569
|
+
handlers: Hu,
|
|
2558
2570
|
imports: lu,
|
|
2559
|
-
dataSources:
|
|
2560
|
-
directives:
|
|
2561
|
-
} =
|
|
2571
|
+
dataSources: Gu,
|
|
2572
|
+
directives: Wu
|
|
2573
|
+
} = De(p.script, i), { nodes: zu, slots: Ju, context: Xu } = Ze(u, t, p.template, {
|
|
2562
2574
|
platform: n,
|
|
2563
|
-
handlers:
|
|
2575
|
+
handlers: Hu,
|
|
2564
2576
|
styles: v,
|
|
2565
2577
|
imports: lu,
|
|
2566
|
-
directives:
|
|
2578
|
+
directives: Wu
|
|
2567
2579
|
}), bu = {
|
|
2568
2580
|
id: u,
|
|
2569
2581
|
name: t,
|
|
2570
|
-
inject:
|
|
2582
|
+
inject: Uu,
|
|
2571
2583
|
props: R,
|
|
2572
2584
|
state: b,
|
|
2573
2585
|
watch: S,
|
|
2574
2586
|
lifeCycles: I,
|
|
2575
2587
|
computed: g,
|
|
2576
2588
|
methods: w,
|
|
2577
|
-
dataSources:
|
|
2578
|
-
slots:
|
|
2589
|
+
dataSources: Gu,
|
|
2590
|
+
slots: Ju,
|
|
2579
2591
|
emits: U,
|
|
2580
2592
|
expose: tu,
|
|
2581
|
-
nodes:
|
|
2593
|
+
nodes: zu,
|
|
2582
2594
|
css: A
|
|
2583
|
-
},
|
|
2595
|
+
}, Zu = Object.keys(g || {}), Qu = [
|
|
2584
2596
|
"$el",
|
|
2585
2597
|
"$emit",
|
|
2586
2598
|
"$nextTick",
|
|
@@ -2597,30 +2609,30 @@ async function T0(e) {
|
|
|
2597
2609
|
"$props",
|
|
2598
2610
|
"props",
|
|
2599
2611
|
...Object.keys(w || {})
|
|
2600
|
-
], { libs:
|
|
2612
|
+
], { libs: Ku } = h0(lu, r), hu = {
|
|
2601
2613
|
platform: n,
|
|
2602
|
-
context:
|
|
2603
|
-
computed:
|
|
2604
|
-
libs:
|
|
2605
|
-
members:
|
|
2614
|
+
context: Xu,
|
|
2615
|
+
computed: Zu,
|
|
2616
|
+
libs: Ku,
|
|
2617
|
+
members: Qu
|
|
2606
2618
|
};
|
|
2607
|
-
return await
|
|
2619
|
+
return await l0(
|
|
2608
2620
|
bu,
|
|
2609
2621
|
async (z) => {
|
|
2610
|
-
await
|
|
2622
|
+
await b0(z, async (J) => {
|
|
2611
2623
|
if (du(J)) {
|
|
2612
|
-
const
|
|
2613
|
-
J.value =
|
|
2624
|
+
const Yu = await xu(J.value);
|
|
2625
|
+
J.value = yu(Yu, z.id, hu);
|
|
2614
2626
|
}
|
|
2615
2627
|
});
|
|
2616
2628
|
},
|
|
2617
2629
|
async (z) => {
|
|
2618
2630
|
const J = await xu(z.value);
|
|
2619
|
-
z.value =
|
|
2631
|
+
z.value = yu(J, "", hu);
|
|
2620
2632
|
}
|
|
2621
|
-
), new
|
|
2633
|
+
), new ee(bu).toDsl();
|
|
2622
2634
|
}
|
|
2623
|
-
async function
|
|
2635
|
+
async function l0(e, u, t) {
|
|
2624
2636
|
const a = async (p, v) => {
|
|
2625
2637
|
if (await u(p, v), Array.isArray(p?.children))
|
|
2626
2638
|
for (const A of p?.children || [])
|
|
@@ -2658,7 +2670,7 @@ async function f0(e, u, t) {
|
|
|
2658
2670
|
for (const p of e.nodes)
|
|
2659
2671
|
await a(p);
|
|
2660
2672
|
}
|
|
2661
|
-
async function
|
|
2673
|
+
async function b0(e, u) {
|
|
2662
2674
|
const t = async (a) => {
|
|
2663
2675
|
if (!a || typeof a != "object") return;
|
|
2664
2676
|
if (Array.isArray(a)) {
|
|
@@ -2676,7 +2688,7 @@ async function l0(e, u) {
|
|
|
2676
2688
|
};
|
|
2677
2689
|
await t(e);
|
|
2678
2690
|
}
|
|
2679
|
-
function
|
|
2691
|
+
function h0(e = [], u = []) {
|
|
2680
2692
|
const t = {}, a = u.reduce(
|
|
2681
2693
|
(i, s) => (i[s.package] = s.library, i),
|
|
2682
2694
|
{}
|
|
@@ -2696,12 +2708,12 @@ function b0(e = [], u = []) {
|
|
|
2696
2708
|
};
|
|
2697
2709
|
}
|
|
2698
2710
|
export {
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2711
|
+
f0 as AutoFixer,
|
|
2712
|
+
c0 as ComponentValidator,
|
|
2713
|
+
A0 as VTJ_PARSER_VERSION,
|
|
2714
|
+
Tu as htmlToNodes,
|
|
2715
|
+
T0 as parseUniApp,
|
|
2716
|
+
N0 as parseVue,
|
|
2717
|
+
yu as patchCode,
|
|
2706
2718
|
M as replacer
|
|
2707
2719
|
};
|