@vtj/parser 0.13.26 → 0.13.28
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 +329 -321
- package/package.json +4 -4
- package/types/version.d.ts +2 -2
- package/types/vue/scripts.d.ts +1 -0
package/dist/index.mjs
CHANGED
@@ -1,24 +1,24 @@
|
|
1
|
-
import { parse as
|
2
|
-
import { parse as
|
1
|
+
import { parse as zu, compileTemplate as Xu } from "@vue/compiler-sfc";
|
2
|
+
import { parse as Qu } 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 Zu } from "@vtj/core";
|
6
6
|
import { tsFormatter as xu } from "@vtj/coder";
|
7
7
|
import { NodeTypes as h } from "@vue/compiler-core";
|
8
|
-
import { upperFirstCamelCase as
|
9
|
-
import
|
10
|
-
import * as
|
8
|
+
import { upperFirstCamelCase as Ku, unBase64 as Yu, uid as iu } from "@vtj/base";
|
9
|
+
import ue from "postcss";
|
10
|
+
import * as ee from "sass";
|
11
11
|
import * as T from "@babel/types";
|
12
12
|
/**!
|
13
13
|
* Copyright (c) 2025, VTJ.PRO All rights reserved.
|
14
14
|
* @name @vtj/parser
|
15
15
|
* @author CHC chenhuachun1549@dingtalk.com
|
16
|
-
* @version 0.13.
|
16
|
+
* @version 0.13.28
|
17
17
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
18
18
|
*/
|
19
|
-
const
|
19
|
+
const x0 = "0.13.28";
|
20
20
|
function R(e) {
|
21
|
-
const { descriptor: u } =
|
21
|
+
const { descriptor: u } = zu(e), t = u.template?.content || "", a = (u.scriptSetup || u.script)?.content || "", i = u.styles.map((c) => c.content);
|
22
22
|
return {
|
23
23
|
template: t,
|
24
24
|
script: a,
|
@@ -26,7 +26,7 @@ function R(e) {
|
|
26
26
|
};
|
27
27
|
}
|
28
28
|
function z(e) {
|
29
|
-
return
|
29
|
+
return Qu(e, { sourceType: "module", plugins: ["typescript"] });
|
30
30
|
}
|
31
31
|
function K(e, u) {
|
32
32
|
return (pu.default || pu)(e, u);
|
@@ -45,17 +45,17 @@ function M(e) {
|
|
45
45
|
return console.error("代码生成错误", u), "";
|
46
46
|
}
|
47
47
|
}
|
48
|
-
function
|
48
|
+
function nu(e) {
|
49
49
|
return !!e && e.type === "JSExpression";
|
50
50
|
}
|
51
|
-
function
|
51
|
+
function te(e) {
|
52
52
|
return typeof e == "object" && !!e && e.type === "JSFunction";
|
53
53
|
}
|
54
54
|
function ou(e) {
|
55
|
-
return !!
|
55
|
+
return !!nu(e) || !!te(e);
|
56
56
|
}
|
57
|
-
function
|
58
|
-
return !!e && !
|
57
|
+
function ae(e) {
|
58
|
+
return !!e && !nu(e) && typeof e != "string";
|
59
59
|
}
|
60
60
|
function ku(e, u) {
|
61
61
|
try {
|
@@ -65,7 +65,7 @@ function ku(e, u) {
|
|
65
65
|
return "";
|
66
66
|
}
|
67
67
|
}
|
68
|
-
function
|
68
|
+
function g0(e) {
|
69
69
|
const u = R(e), t = z(u.script), a = {};
|
70
70
|
return u.styles && (a.css = u.styles[0] || ""), K(t, {
|
71
71
|
CallExpression(i) {
|
@@ -82,8 +82,8 @@ function m0(e) {
|
|
82
82
|
}
|
83
83
|
function W(e, u, t) {
|
84
84
|
const a = new RegExp(`${u.replace(/\$/g, "\\$")}`, "g"), i = /(\@|\_|\-|\$|\.|\,|\w|\{\s|\'|\")$/, c = /^[\w\_\-\@\$]/, s = new RegExp(`^this.${u}$`, "g");
|
85
|
-
return e.replace(a, (d,
|
86
|
-
const f = b.substring(0,
|
85
|
+
return e.replace(a, (d, n, b) => {
|
86
|
+
const f = b.substring(0, n), I = b.substring(n + u.length);
|
87
87
|
return i.test(f) || c.test(I.trim()) ? d : t;
|
88
88
|
}).replace(s, t);
|
89
89
|
}
|
@@ -93,20 +93,20 @@ function gu(e, u, t) {
|
|
93
93
|
computed: i = [],
|
94
94
|
libs: c = {},
|
95
95
|
members: s = [],
|
96
|
-
platform:
|
96
|
+
platform: r
|
97
97
|
} = t || {}, d = Array.from(a[u || ""] || /* @__PURE__ */ new Set());
|
98
98
|
if (d)
|
99
|
-
for (const
|
100
|
-
e = W(e,
|
101
|
-
for (const
|
102
|
-
e = W(e,
|
103
|
-
for (const [
|
104
|
-
e = W(e,
|
105
|
-
for (const
|
106
|
-
e = W(e,
|
107
|
-
if (
|
108
|
-
const
|
109
|
-
e = e.replace(
|
99
|
+
for (const n of d)
|
100
|
+
e = W(e, n, `this.context.${n}`);
|
101
|
+
for (const n of i)
|
102
|
+
e = W(e, n, `this.${n}.value`);
|
103
|
+
for (const [n, b] of Object.entries(c))
|
104
|
+
e = W(e, n, `this.$libs.${b}.${n}`), e = W(e, `this.${n}`, `this.$libs.${b}.${n}`);
|
105
|
+
for (const n of s)
|
106
|
+
e = W(e, n, `this.${n}`);
|
107
|
+
if (r === "uniapp") {
|
108
|
+
const n = /\buni\./g;
|
109
|
+
e = e.replace(n, "this.$libs.UniH5.uni.");
|
110
110
|
}
|
111
111
|
return e = e.replace(/_ctx\./g, "this."), e = e.replace(/this\.this\./g, "this."), e;
|
112
112
|
}
|
@@ -122,7 +122,7 @@ function du(e) {
|
|
122
122
|
value: e
|
123
123
|
};
|
124
124
|
}
|
125
|
-
const
|
125
|
+
const ie = [
|
126
126
|
"beforeCreate",
|
127
127
|
"created",
|
128
128
|
"beforeMount",
|
@@ -136,16 +136,16 @@ const ae = [
|
|
136
136
|
"renderTriggered",
|
137
137
|
"activated",
|
138
138
|
"deactivated"
|
139
|
-
],
|
139
|
+
], ce = "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(
|
140
140
|
","
|
141
|
-
),
|
141
|
+
), se = "component,slot,template".split(","), re = "view,swiper,progress,icon,text,button,checkbox,editor,form,input,label,picker,radio,slider,switch,textarea,audio,camera,image,video,map,canvas".split(
|
142
142
|
","
|
143
143
|
);
|
144
144
|
function ne(e, u = "web") {
|
145
|
-
return u === "uniapp" &&
|
145
|
+
return u === "uniapp" && re.includes(e);
|
146
146
|
}
|
147
147
|
function Vu(e, u = "web") {
|
148
|
-
return (
|
148
|
+
return (ce.includes(e) || se.includes(e)) && !ne(e, u) ? e : Ku(e);
|
149
149
|
}
|
150
150
|
function qu(e) {
|
151
151
|
return e.replace(/\s+/g, " ").split(";").reduce((t, a) => {
|
@@ -153,29 +153,29 @@ function qu(e) {
|
|
153
153
|
return i && c && (t[i] = c), t;
|
154
154
|
}, {});
|
155
155
|
}
|
156
|
-
function
|
156
|
+
function oe(e, u, t) {
|
157
157
|
if (t === "ObjectExpression")
|
158
158
|
return `(Object.assign({${e.split(" ").map((i) => `'${i}': true`).join(",")}}, ${u}))`;
|
159
159
|
if (t === "ArrayExpression")
|
160
160
|
return `([${e.split(" ").map((i) => `'${i}'`).join(",")}].concat(${u}))`;
|
161
161
|
}
|
162
|
-
function
|
162
|
+
function de(e = "") {
|
163
163
|
const t = e.trim().match(/DataSource:\s*([^\n=]+={0,2})/)?.[1] || "";
|
164
164
|
try {
|
165
|
-
return t ? JSON.parse(
|
165
|
+
return t ? JSON.parse(Yu(t)) : null;
|
166
166
|
} catch (a) {
|
167
167
|
return console.warn("extractDataSource fail", a), null;
|
168
168
|
}
|
169
169
|
}
|
170
|
-
const
|
170
|
+
const fe = /* @__PURE__ */ new Uint16Array(
|
171
171
|
// prettier-ignore
|
172
172
|
/* @__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))
|
173
|
-
),
|
173
|
+
), le = /* @__PURE__ */ new Uint16Array(
|
174
174
|
// prettier-ignore
|
175
175
|
/* @__PURE__ */ "Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e) => e.charCodeAt(0))
|
176
176
|
);
|
177
177
|
var tu;
|
178
|
-
const
|
178
|
+
const be = /* @__PURE__ */ new Map([
|
179
179
|
[0, 65533],
|
180
180
|
// C1 Unicode control character reference replacements
|
181
181
|
[128, 8364],
|
@@ -212,15 +212,15 @@ const le = /* @__PURE__ */ new Map([
|
|
212
212
|
return e > 65535 && (e -= 65536, u += String.fromCharCode(e >>> 10 & 1023 | 55296), e = 56320 | e & 1023), u += String.fromCharCode(e), u;
|
213
213
|
}
|
214
214
|
);
|
215
|
-
function
|
215
|
+
function he(e) {
|
216
216
|
var u;
|
217
|
-
return e >= 55296 && e <= 57343 || e > 1114111 ? 65533 : (u =
|
217
|
+
return e >= 55296 && e <= 57343 || e > 1114111 ? 65533 : (u = be.get(e)) !== null && u !== void 0 ? u : e;
|
218
218
|
}
|
219
219
|
var A;
|
220
220
|
(function(e) {
|
221
221
|
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";
|
222
222
|
})(A || (A = {}));
|
223
|
-
const
|
223
|
+
const pe = 32;
|
224
224
|
var F;
|
225
225
|
(function(e) {
|
226
226
|
e[e.VALUE_LENGTH = 49152] = "VALUE_LENGTH", e[e.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", e[e.JUMP_TABLE = 127] = "JUMP_TABLE";
|
@@ -228,14 +228,14 @@ var F;
|
|
228
228
|
function cu(e) {
|
229
229
|
return e >= A.ZERO && e <= A.NINE;
|
230
230
|
}
|
231
|
-
function
|
231
|
+
function me(e) {
|
232
232
|
return e >= A.UPPER_A && e <= A.UPPER_F || e >= A.LOWER_A && e <= A.LOWER_F;
|
233
233
|
}
|
234
|
-
function
|
234
|
+
function xe(e) {
|
235
235
|
return e >= A.UPPER_A && e <= A.UPPER_Z || e >= A.LOWER_A && e <= A.LOWER_Z || cu(e);
|
236
236
|
}
|
237
|
-
function
|
238
|
-
return e === A.EQUALS ||
|
237
|
+
function ge(e) {
|
238
|
+
return e === A.EQUALS || xe(e);
|
239
239
|
}
|
240
240
|
var v;
|
241
241
|
(function(e) {
|
@@ -245,7 +245,7 @@ var D;
|
|
245
245
|
(function(e) {
|
246
246
|
e[e.Legacy = 0] = "Legacy", e[e.Strict = 1] = "Strict", e[e.Attribute = 2] = "Attribute";
|
247
247
|
})(D || (D = {}));
|
248
|
-
class
|
248
|
+
class ye {
|
249
249
|
constructor(u, t, a) {
|
250
250
|
this.decodeTree = u, this.emitCodePoint = t, this.errors = a, this.state = v.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = D.Strict;
|
251
251
|
}
|
@@ -288,7 +288,7 @@ class ge {
|
|
288
288
|
* @returns The number of characters that were consumed, or -1 if the entity is incomplete.
|
289
289
|
*/
|
290
290
|
stateNumericStart(u, t) {
|
291
|
-
return t >= u.length ? -1 : (u.charCodeAt(t) |
|
291
|
+
return t >= u.length ? -1 : (u.charCodeAt(t) | pe) === A.LOWER_X ? (this.state = v.NumericHex, this.consumed += 1, this.stateNumericHex(u, t + 1)) : (this.state = v.NumericDecimal, this.stateNumericDecimal(u, t));
|
292
292
|
}
|
293
293
|
addToNumericResult(u, t, a, i) {
|
294
294
|
if (t !== a) {
|
@@ -309,7 +309,7 @@ class ge {
|
|
309
309
|
const a = t;
|
310
310
|
for (; t < u.length; ) {
|
311
311
|
const i = u.charCodeAt(t);
|
312
|
-
if (cu(i) ||
|
312
|
+
if (cu(i) || me(i))
|
313
313
|
t += 1;
|
314
314
|
else
|
315
315
|
return this.addToNumericResult(u, a, t, 16), this.emitNumericEntity(i, 3);
|
@@ -357,7 +357,7 @@ class ge {
|
|
357
357
|
this.consumed += 1;
|
358
358
|
else if (this.decodeMode === D.Strict)
|
359
359
|
return 0;
|
360
|
-
return this.emitCodePoint(
|
360
|
+
return this.emitCodePoint(he(this.result), this.consumed), this.errors && (u !== A.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
|
361
361
|
}
|
362
362
|
/**
|
363
363
|
* Parses a named entity.
|
@@ -373,11 +373,11 @@ class ge {
|
|
373
373
|
let i = a[this.treeIndex], c = (i & F.VALUE_LENGTH) >> 14;
|
374
374
|
for (; t < u.length; t++, this.excess++) {
|
375
375
|
const s = u.charCodeAt(t);
|
376
|
-
if (this.treeIndex =
|
376
|
+
if (this.treeIndex = Se(a, i, this.treeIndex + Math.max(1, c), s), this.treeIndex < 0)
|
377
377
|
return this.result === 0 || // If we are parsing an attribute
|
378
378
|
this.decodeMode === D.Attribute && // We shouldn't have consumed any characters after the entity,
|
379
379
|
(c === 0 || // And there should be no invalid characters.
|
380
|
-
|
380
|
+
ge(s)) ? 0 : this.emitNotTerminatedNamedEntity();
|
381
381
|
if (i = a[this.treeIndex], c = (i & F.VALUE_LENGTH) >> 14, c !== 0) {
|
382
382
|
if (s === A.SEMI)
|
383
383
|
return this.emitNamedEntityData(this.treeIndex, c, this.consumed + this.excess);
|
@@ -433,7 +433,7 @@ class ge {
|
|
433
433
|
}
|
434
434
|
}
|
435
435
|
}
|
436
|
-
function
|
436
|
+
function Se(e, u, t, a) {
|
437
437
|
const i = (u & F.BRANCH_LENGTH) >> 7, c = u & F.JUMP_TABLE;
|
438
438
|
if (i === 0)
|
439
439
|
return c !== 0 && a === c ? t : -1;
|
@@ -441,13 +441,13 @@ function ye(e, u, t, a) {
|
|
441
441
|
const d = a - c;
|
442
442
|
return d < 0 || d >= i ? -1 : e[t + d] - 1;
|
443
443
|
}
|
444
|
-
let s = t,
|
445
|
-
for (; s <=
|
446
|
-
const d = s +
|
447
|
-
if (
|
444
|
+
let s = t, r = s + i - 1;
|
445
|
+
for (; s <= r; ) {
|
446
|
+
const d = s + r >>> 1, n = e[d];
|
447
|
+
if (n < a)
|
448
448
|
s = d + 1;
|
449
|
-
else if (
|
450
|
-
|
449
|
+
else if (n > a)
|
450
|
+
r = d - 1;
|
451
451
|
else
|
452
452
|
return e[d + i];
|
453
453
|
}
|
@@ -467,7 +467,7 @@ function _(e) {
|
|
467
467
|
function X(e) {
|
468
468
|
return e === l.Slash || e === l.Gt || _(e);
|
469
469
|
}
|
470
|
-
function
|
470
|
+
function Ie(e) {
|
471
471
|
return e >= l.LowerA && e <= l.LowerZ || e >= l.UpperA && e <= l.UpperZ;
|
472
472
|
}
|
473
473
|
var L;
|
@@ -503,9 +503,9 @@ const w = {
|
|
503
503
|
XmpEnd: new Uint8Array([60, 47, 120, 109, 112])
|
504
504
|
// `</xmp`
|
505
505
|
};
|
506
|
-
class
|
506
|
+
class Ee {
|
507
507
|
constructor({ xmlMode: u = !1, decodeEntities: t = !0 }, a) {
|
508
|
-
this.cbs = a, this.state = o.Text, this.buffer = "", this.sectionStart = 0, this.index = 0, this.entityStart = 0, this.baseState = o.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
|
508
|
+
this.cbs = a, this.state = o.Text, this.buffer = "", this.sectionStart = 0, this.index = 0, this.entityStart = 0, this.baseState = o.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 ye(u ? le : fe, (i, c) => this.emitCodePoint(i, c));
|
509
509
|
}
|
510
510
|
reset() {
|
511
511
|
this.state = o.Text, this.buffer = "", this.sectionStart = 0, this.index = 0, this.baseState = o.Text, this.currentSequence = void 0, this.running = !0, this.offset = 0;
|
@@ -590,7 +590,7 @@ class Ie {
|
|
590
590
|
* We allow anything that wouldn't end the tag.
|
591
591
|
*/
|
592
592
|
isTagStartChar(u) {
|
593
|
-
return this.xmlMode ? !X(u) :
|
593
|
+
return this.xmlMode ? !X(u) : Ie(u);
|
594
594
|
}
|
595
595
|
startSpecial(u, t) {
|
596
596
|
this.isSpecial = !0, this.currentSequence = u, this.sequenceIndex = t, this.state = o.SpecialStartSequence;
|
@@ -835,7 +835,7 @@ const $ = /* @__PURE__ */ new Set([
|
|
835
835
|
"button",
|
836
836
|
"datalist",
|
837
837
|
"textarea"
|
838
|
-
]), S = /* @__PURE__ */ new Set(["p"]), Su = /* @__PURE__ */ new Set(["thead", "tbody"]), Iu = /* @__PURE__ */ new Set(["dd", "dt"]), Eu = /* @__PURE__ */ new Set(["rt", "rp"]),
|
838
|
+
]), S = /* @__PURE__ */ new Set(["p"]), Su = /* @__PURE__ */ new Set(["thead", "tbody"]), Iu = /* @__PURE__ */ new Set(["dd", "dt"]), Eu = /* @__PURE__ */ new Set(["rt", "rp"]), we = /* @__PURE__ */ new Map([
|
839
839
|
["tr", /* @__PURE__ */ new Set(["tr", "th", "td"])],
|
840
840
|
["th", /* @__PURE__ */ new Set(["th"])],
|
841
841
|
["td", /* @__PURE__ */ new Set(["thead", "th", "td"])],
|
@@ -883,7 +883,7 @@ const $ = /* @__PURE__ */ new Set([
|
|
883
883
|
["rp", Eu],
|
884
884
|
["tbody", Su],
|
885
885
|
["tfoot", Su]
|
886
|
-
]),
|
886
|
+
]), ve = /* @__PURE__ */ new Set([
|
887
887
|
"area",
|
888
888
|
"base",
|
889
889
|
"basefont",
|
@@ -913,11 +913,11 @@ const $ = /* @__PURE__ */ new Set([
|
|
913
913
|
"foreignobject",
|
914
914
|
"desc",
|
915
915
|
"title"
|
916
|
-
]),
|
917
|
-
class
|
916
|
+
]), Ae = /\s|\//;
|
917
|
+
class Te {
|
918
918
|
constructor(u, t = {}) {
|
919
|
-
var a, i, c, s,
|
920
|
-
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 = (c = t.recognizeSelfClosing) !== null && c !== void 0 ? c : !this.htmlMode, this.tokenizer = new ((s = t.Tokenizer) !== null && s !== void 0 ? s :
|
919
|
+
var a, i, c, s, r, d;
|
920
|
+
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 = (c = t.recognizeSelfClosing) !== null && c !== void 0 ? c : !this.htmlMode, this.tokenizer = new ((s = t.Tokenizer) !== null && s !== void 0 ? s : Ee)(this.options, this), this.foreignContext = [!this.htmlMode], (d = (r = this.cbs).onparserinit) === null || d === void 0 || d.call(r, this);
|
921
921
|
}
|
922
922
|
// Tokenizer event handlers
|
923
923
|
/** @internal */
|
@@ -936,7 +936,7 @@ class Ae {
|
|
936
936
|
* to specify your own additional void elements.
|
937
937
|
*/
|
938
938
|
isVoidElement(u) {
|
939
|
-
return this.htmlMode &&
|
939
|
+
return this.htmlMode && ve.has(u);
|
940
940
|
}
|
941
941
|
/** @internal */
|
942
942
|
onopentagname(u, t) {
|
@@ -947,11 +947,11 @@ class Ae {
|
|
947
947
|
emitOpenTag(u) {
|
948
948
|
var t, a, i, c;
|
949
949
|
this.openTagStart = this.startIndex, this.tagname = u;
|
950
|
-
const s = this.htmlMode &&
|
950
|
+
const s = this.htmlMode && we.get(u);
|
951
951
|
if (s)
|
952
952
|
for (; this.stack.length > 0 && s.has(this.stack[0]); ) {
|
953
|
-
const
|
954
|
-
(a = (t = this.cbs).onclosetag) === null || a === void 0 || a.call(t,
|
953
|
+
const r = this.stack.shift();
|
954
|
+
(a = (t = this.cbs).onclosetag) === null || a === void 0 || a.call(t, r, !0);
|
955
955
|
}
|
956
956
|
this.isVoidElement(u) || (this.stack.unshift(u), this.htmlMode && (wu.has(u) ? this.foreignContext.unshift(!0) : vu.has(u) && this.foreignContext.unshift(!1))), (c = (i = this.cbs).onopentagname) === null || c === void 0 || c.call(i, u), this.cbs.onopentag && (this.attribs = {});
|
957
957
|
}
|
@@ -965,11 +965,11 @@ class Ae {
|
|
965
965
|
}
|
966
966
|
/** @internal */
|
967
967
|
onclosetag(u, t) {
|
968
|
-
var a, i, c, s,
|
968
|
+
var a, i, c, s, r, d, n, b;
|
969
969
|
this.endIndex = t;
|
970
970
|
let f = this.getSlice(u, t);
|
971
971
|
if (this.lowerCaseTagNames && (f = f.toLowerCase()), this.htmlMode && (wu.has(f) || vu.has(f)) && this.foreignContext.shift(), this.isVoidElement(f))
|
972
|
-
this.htmlMode && f === "br" && ((s = (c = this.cbs).onopentagname) === null || s === void 0 || s.call(c, "br"), (d = (
|
972
|
+
this.htmlMode && f === "br" && ((s = (c = this.cbs).onopentagname) === null || s === void 0 || s.call(c, "br"), (d = (r = this.cbs).onopentag) === null || d === void 0 || d.call(r, "br", {}, !0), (b = (n = this.cbs).onclosetag) === null || b === void 0 || b.call(n, "br", !1));
|
973
973
|
else {
|
974
974
|
const I = this.stack.indexOf(f);
|
975
975
|
if (I !== -1)
|
@@ -1010,7 +1010,7 @@ class Ae {
|
|
1010
1010
|
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 = "";
|
1011
1011
|
}
|
1012
1012
|
getInstructionName(u) {
|
1013
|
-
const t = u.search(
|
1013
|
+
const t = u.search(Ae);
|
1014
1014
|
let a = t < 0 ? u : u.substr(0, t);
|
1015
1015
|
return this.lowerCaseTagNames && (a = a.toLowerCase()), a;
|
1016
1016
|
}
|
@@ -1036,15 +1036,15 @@ class Ae {
|
|
1036
1036
|
}
|
1037
1037
|
/** @internal */
|
1038
1038
|
oncomment(u, t, a) {
|
1039
|
-
var i, c, s,
|
1040
|
-
this.endIndex = t, (c = (i = this.cbs).oncomment) === null || c === void 0 || c.call(i, this.getSlice(u, t - a)), (
|
1039
|
+
var i, c, s, r;
|
1040
|
+
this.endIndex = t, (c = (i = this.cbs).oncomment) === null || c === void 0 || c.call(i, this.getSlice(u, t - a)), (r = (s = this.cbs).oncommentend) === null || r === void 0 || r.call(s), this.startIndex = t + 1;
|
1041
1041
|
}
|
1042
1042
|
/** @internal */
|
1043
1043
|
oncdata(u, t, a) {
|
1044
|
-
var i, c, s,
|
1044
|
+
var i, c, s, r, d, n, b, f, I, x;
|
1045
1045
|
this.endIndex = t;
|
1046
1046
|
const N = this.getSlice(u, t - a);
|
1047
|
-
!this.htmlMode || this.options.recognizeCDATA ? ((c = (i = this.cbs).oncdatastart) === null || c === void 0 || c.call(i), (
|
1047
|
+
!this.htmlMode || this.options.recognizeCDATA ? ((c = (i = this.cbs).oncdatastart) === null || c === void 0 || c.call(i), (r = (s = this.cbs).ontext) === null || r === void 0 || r.call(s, N), (n = (d = this.cbs).oncdataend) === null || n === void 0 || n.call(d)) : ((f = (b = this.cbs).oncomment) === null || f === void 0 || f.call(b, `[CDATA[${N}]]`), (x = (I = this.cbs).oncommentend) === null || x === void 0 || x.call(I)), this.startIndex = t + 1;
|
1048
1048
|
}
|
1049
1049
|
/** @internal */
|
1050
1050
|
onend() {
|
@@ -1145,15 +1145,15 @@ class Ae {
|
|
1145
1145
|
function Au(e, u = "web") {
|
1146
1146
|
const t = { name: "", children: [] }, a = [t];
|
1147
1147
|
let i = "";
|
1148
|
-
const c = new
|
1148
|
+
const c = new Te(
|
1149
1149
|
{
|
1150
|
-
onopentag: (s,
|
1151
|
-
const
|
1152
|
-
i.trim() && (Array.isArray(
|
1150
|
+
onopentag: (s, r, d) => {
|
1151
|
+
const n = a[a.length - 1];
|
1152
|
+
i.trim() && (Array.isArray(n.children) ? n.children.push({
|
1153
1153
|
name: "span",
|
1154
1154
|
children: i.trim()
|
1155
|
-
}) :
|
1156
|
-
const b = Object.entries(
|
1155
|
+
}) : n.children = i.trim(), i = "");
|
1156
|
+
const b = Object.entries(r || {}).reduce(
|
1157
1157
|
(I, x) => {
|
1158
1158
|
let [N = "", V = ""] = x;
|
1159
1159
|
return N && (I[N] = V), I;
|
@@ -1165,17 +1165,17 @@ function Au(e, u = "web") {
|
|
1165
1165
|
name: Vu(s, u),
|
1166
1166
|
props: b
|
1167
1167
|
};
|
1168
|
-
Array.isArray(
|
1168
|
+
Array.isArray(n.children) ? n.children.push(f) : n.children ? n.children = [
|
1169
1169
|
{
|
1170
1170
|
name: "span",
|
1171
|
-
children:
|
1171
|
+
children: n.children
|
1172
1172
|
},
|
1173
1173
|
f
|
1174
|
-
] :
|
1174
|
+
] : n.children = [f], d || a.push(f);
|
1175
1175
|
},
|
1176
1176
|
ontext: (s) => {
|
1177
|
-
const
|
1178
|
-
|
1177
|
+
const r = s.trim();
|
1178
|
+
r && r !== '"' && (i += r);
|
1179
1179
|
},
|
1180
1180
|
onclosetag: () => {
|
1181
1181
|
const s = a.pop();
|
@@ -1189,9 +1189,9 @@ function Au(e, u = "web") {
|
|
1189
1189
|
);
|
1190
1190
|
return c.write(e.replace(/\\"/g, '"')), c.end(), t.children || [];
|
1191
1191
|
}
|
1192
|
-
function
|
1192
|
+
function Ne(e, u) {
|
1193
1193
|
const a = {
|
1194
|
-
imports:
|
1194
|
+
imports: ke(e),
|
1195
1195
|
emits: [],
|
1196
1196
|
errors: []
|
1197
1197
|
}, i = z(e);
|
@@ -1199,77 +1199,80 @@ function Te(e, u) {
|
|
1199
1199
|
ExportDefaultDeclaration(c) {
|
1200
1200
|
const s = c.node.declaration;
|
1201
1201
|
if (s.type !== "CallExpression") return;
|
1202
|
-
const
|
1203
|
-
if (
|
1204
|
-
const d =
|
1202
|
+
const r = s.arguments[0];
|
1203
|
+
if (r?.type !== "ObjectExpression") return;
|
1204
|
+
const d = r.properties.filter(
|
1205
1205
|
(f) => f.type === "ObjectProperty"
|
1206
|
-
),
|
1206
|
+
), n = r.properties.filter(
|
1207
1207
|
(f) => f.type == "ObjectMethod"
|
1208
1208
|
), b = d.find(
|
1209
1209
|
(f) => f.key.name === "computed"
|
1210
1210
|
);
|
1211
|
-
b && (a.computed = ju(b.value), a.watchers =
|
1211
|
+
b && (a.computed = ju(b.value), a.watchers = Le(b.value));
|
1212
1212
|
for (const f of d)
|
1213
1213
|
switch (f.key.name) {
|
1214
1214
|
case "name":
|
1215
1215
|
a.name = f.value.value;
|
1216
1216
|
break;
|
1217
1217
|
case "methods":
|
1218
|
-
a.handlers =
|
1218
|
+
a.handlers = De(f.value), a.methods = Re(f.value), a.dataSources = je(
|
1219
1219
|
f.value,
|
1220
1220
|
u
|
1221
1221
|
);
|
1222
1222
|
break;
|
1223
1223
|
case "watch":
|
1224
|
-
a.watch =
|
1224
|
+
a.watch = _e(
|
1225
1225
|
f.value,
|
1226
1226
|
a.watchers
|
1227
1227
|
);
|
1228
1228
|
break;
|
1229
1229
|
case "props":
|
1230
|
-
a.props =
|
1230
|
+
a.props = Fe(f.value);
|
1231
1231
|
break;
|
1232
1232
|
case "inject":
|
1233
|
-
a.inject =
|
1233
|
+
a.inject = Pe(f.value);
|
1234
|
+
break;
|
1235
|
+
case "expose":
|
1236
|
+
a.expose = Oe(f.value);
|
1234
1237
|
break;
|
1235
1238
|
}
|
1236
|
-
for (const f of
|
1239
|
+
for (const f of n)
|
1237
1240
|
switch (f.key.name) {
|
1238
1241
|
case "setup":
|
1239
|
-
a.state =
|
1242
|
+
a.state = qe(f.body);
|
1240
1243
|
break;
|
1241
1244
|
}
|
1242
|
-
a.lifeCycles =
|
1245
|
+
a.lifeCycles = Be(n);
|
1243
1246
|
},
|
1244
1247
|
CallExpression(c) {
|
1245
|
-
const s =
|
1248
|
+
const s = Me(c.node);
|
1246
1249
|
if (s.length)
|
1247
|
-
for (let
|
1248
|
-
a.emits?.find((
|
1250
|
+
for (let r of s)
|
1251
|
+
a.emits?.find((n) => n.name === r.name) || a.emits?.push(r);
|
1249
1252
|
}
|
1250
1253
|
}), a;
|
1251
1254
|
}
|
1252
|
-
function
|
1255
|
+
function ke(e) {
|
1253
1256
|
const u = /import\s+{(.+?)}\s+from\s+['"](.+?)['"]/g, t = /import\s+(.+?)\s+from\s+['"](.+?)['"]/g, a = /^{(.+?)}$/, i = [];
|
1254
1257
|
let c;
|
1255
1258
|
const s = e.replace(/\n/g, " ");
|
1256
1259
|
for (; (c = u.exec(s)) !== null; ) {
|
1257
|
-
const
|
1260
|
+
const r = c[2] === "@element-plus/icons-vue" ? "@vtj/icons" : c[2];
|
1258
1261
|
i.push({
|
1259
|
-
from:
|
1262
|
+
from: r,
|
1260
1263
|
imports: c[1].split(",").map((d) => d.trim())
|
1261
1264
|
});
|
1262
1265
|
}
|
1263
1266
|
for (; (c = t.exec(s)) !== null; ) {
|
1264
|
-
const
|
1265
|
-
|
1267
|
+
const r = c[1], d = c[2];
|
1268
|
+
r && !a.test(r) && i.push({
|
1266
1269
|
from: d,
|
1267
|
-
imports:
|
1270
|
+
imports: r
|
1268
1271
|
});
|
1269
1272
|
}
|
1270
1273
|
return i;
|
1271
1274
|
}
|
1272
|
-
function
|
1275
|
+
function Ve(e) {
|
1273
1276
|
for (const u of e.body)
|
1274
1277
|
if (u.type === "VariableDeclaration" && u.kind == "const") {
|
1275
1278
|
const { id: t, init: a } = u.declarations[0];
|
@@ -1278,8 +1281,8 @@ function ke(e) {
|
|
1278
1281
|
}
|
1279
1282
|
return null;
|
1280
1283
|
}
|
1281
|
-
function
|
1282
|
-
const u =
|
1284
|
+
function qe(e) {
|
1285
|
+
const u = Ve(e);
|
1283
1286
|
if (!u) return {};
|
1284
1287
|
const t = {};
|
1285
1288
|
for (const a of u.properties) {
|
@@ -1295,14 +1298,14 @@ function P(e) {
|
|
1295
1298
|
const { key: u, async: t, params: a, body: i } = e, c = a?.map((s) => s.type === "ObjectPattern" ? `{${s.properties.map((d) => d.key?.name || d.name).join(",")}}` : s.type === "AssignmentPattern" ? s.left.name + "=" + (s.right?.extra?.raw || "null") : s.name).join(", ");
|
1296
1299
|
if (u.type === "Identifier") {
|
1297
1300
|
const s = u.name;
|
1298
|
-
let
|
1299
|
-
i && (
|
1301
|
+
let r = "{}";
|
1302
|
+
i && (r = M(i) || "{}");
|
1300
1303
|
const d = e.value;
|
1301
1304
|
if (d && d.type === "CallExpression") {
|
1302
1305
|
let x = M(d) || "";
|
1303
|
-
x = x.replace("function () {", "() => {"),
|
1306
|
+
x = x.replace("function () {", "() => {"), r = `{ return (${x})}`;
|
1304
1307
|
}
|
1305
|
-
const b = `${t ? "async " : ""}(${c}) => ${
|
1308
|
+
const b = `${t ? "async " : ""}(${c}) => ${r}`, f = s.startsWith("watcher_");
|
1306
1309
|
return {
|
1307
1310
|
id: f ? s.replace("watcher_", "") : "",
|
1308
1311
|
name: s,
|
@@ -1320,21 +1323,21 @@ function ju(e) {
|
|
1320
1323
|
}
|
1321
1324
|
return u;
|
1322
1325
|
}
|
1323
|
-
function
|
1326
|
+
function je(e, u) {
|
1324
1327
|
if (!e) return {};
|
1325
1328
|
const t = {}, a = /apis\[\'([\w]*)\'\]/, i = /\.then\(([\w\W]*)\)/;
|
1326
1329
|
for (const c of e.properties) {
|
1327
|
-
const s = P(c),
|
1330
|
+
const s = P(c), r = c.body.body?.[0], d = (r?.leadingComments?.[0].value || "").trim(), n = de(d);
|
1328
1331
|
if (s && s.exp.value.includes("this.provider.apis")) {
|
1329
1332
|
const f = (s.exp.value.match(a) || [])[1];
|
1330
1333
|
if (!f) continue;
|
1331
|
-
const I =
|
1334
|
+
const I = $e(u, f);
|
1332
1335
|
if (!I) continue;
|
1333
1336
|
const x = s.exp.value.match(i)?.[1];
|
1334
1337
|
t[s.name] = {
|
1335
1338
|
ref: f,
|
1336
1339
|
name: I.name,
|
1337
|
-
test:
|
1340
|
+
test: n?.test || {
|
1338
1341
|
type: "JSFunction",
|
1339
1342
|
value: `() => this.runApi({
|
1340
1343
|
/* 在这里可输入接口参数 */
|
@@ -1352,25 +1355,25 @@ function qe(e, u) {
|
|
1352
1355
|
};
|
1353
1356
|
}
|
1354
1357
|
if (s && s.exp.value.includes("this.provider.createMock")) {
|
1355
|
-
const b =
|
1358
|
+
const b = r?.declarations?.[0]?.init?.arguments?.[0], f = s.exp.value.match(i)?.[1];
|
1356
1359
|
t[s.name] = {
|
1357
1360
|
ref: "",
|
1358
1361
|
name: s.name,
|
1359
|
-
test:
|
1362
|
+
test: n?.test || {
|
1360
1363
|
type: "JSFunction",
|
1361
1364
|
value: `() => this.runApi({
|
1362
1365
|
/* 在这里可输入接口参数 */
|
1363
1366
|
})`
|
1364
1367
|
},
|
1365
1368
|
type: "mock",
|
1366
|
-
label:
|
1367
|
-
transform:
|
1369
|
+
label: n?.label || "",
|
1370
|
+
transform: n?.transform || {
|
1368
1371
|
type: "JSFunction",
|
1369
1372
|
value: f || `(res) => {
|
1370
1373
|
return res;
|
1371
1374
|
}`
|
1372
1375
|
},
|
1373
|
-
mockTemplate:
|
1376
|
+
mockTemplate: n?.mockTemplate || {
|
1374
1377
|
type: "JSFunction",
|
1375
1378
|
value: b ? M(b) : ""
|
1376
1379
|
}
|
@@ -1379,13 +1382,13 @@ function qe(e, u) {
|
|
1379
1382
|
}
|
1380
1383
|
return t;
|
1381
1384
|
}
|
1382
|
-
function
|
1385
|
+
function Re(e) {
|
1383
1386
|
const u = ju(e), t = /\_([\w]{5,})$/, a = {};
|
1384
1387
|
for (const i of Object.keys(u))
|
1385
1388
|
t.test(i) || (a[i] = u[i]);
|
1386
1389
|
return a;
|
1387
1390
|
}
|
1388
|
-
function
|
1391
|
+
function De(e) {
|
1389
1392
|
if (!e) return {};
|
1390
1393
|
const u = {}, t = /\_([\w]{5,})$/;
|
1391
1394
|
for (const a of e.properties) {
|
@@ -1405,7 +1408,7 @@ function Re(e) {
|
|
1405
1408
|
}
|
1406
1409
|
return u;
|
1407
1410
|
}
|
1408
|
-
function
|
1411
|
+
function Le(e) {
|
1409
1412
|
if (!e) return {};
|
1410
1413
|
const u = {};
|
1411
1414
|
for (const t of e.properties) {
|
@@ -1429,18 +1432,18 @@ function Tu(e, u) {
|
|
1429
1432
|
if (t)
|
1430
1433
|
return P(t)?.exp;
|
1431
1434
|
}
|
1432
|
-
function
|
1435
|
+
function _e(e, u = {}) {
|
1433
1436
|
const t = [];
|
1434
1437
|
for (const a of e.properties) {
|
1435
1438
|
const { key: i, value: c } = a, s = i.value || i.name || "";
|
1436
1439
|
if (u[s]) {
|
1437
|
-
const
|
1440
|
+
const r = c.properties;
|
1438
1441
|
t.push({
|
1439
1442
|
id: s.replace("watcher_", ""),
|
1440
1443
|
source: u[s],
|
1441
|
-
deep: J(
|
1442
|
-
immediate: J(
|
1443
|
-
handler: Tu(
|
1444
|
+
deep: J(r, "deep"),
|
1445
|
+
immediate: J(r, "immediate"),
|
1446
|
+
handler: Tu(r, "handler")
|
1444
1447
|
});
|
1445
1448
|
} else if (a.type === "ObjectMethod" && t.push({
|
1446
1449
|
id: iu(),
|
@@ -1452,33 +1455,33 @@ function Le(e, u = {}) {
|
|
1452
1455
|
immediate: !1,
|
1453
1456
|
handler: P(a)?.exp
|
1454
1457
|
}), a.type === "ObjectProperty") {
|
1455
|
-
const
|
1458
|
+
const r = c.properties;
|
1456
1459
|
t.push({
|
1457
1460
|
id: iu(),
|
1458
1461
|
source: {
|
1459
1462
|
type: "JSFunction",
|
1460
1463
|
value: `() => { return this.${s}; }`
|
1461
1464
|
},
|
1462
|
-
deep: J(
|
1463
|
-
immediate: J(
|
1464
|
-
handler: Tu(
|
1465
|
+
deep: J(r, "deep"),
|
1466
|
+
immediate: J(r, "immediate"),
|
1467
|
+
handler: Tu(r, "handler")
|
1465
1468
|
});
|
1466
1469
|
}
|
1467
1470
|
}
|
1468
1471
|
return t;
|
1469
1472
|
}
|
1470
|
-
function
|
1473
|
+
function Be(e) {
|
1471
1474
|
const u = {};
|
1472
1475
|
for (const t of e) {
|
1473
1476
|
const a = t.key.name;
|
1474
|
-
if (
|
1477
|
+
if (ie.includes(a)) {
|
1475
1478
|
const i = P(t);
|
1476
1479
|
i && (u[i.name] = i.exp);
|
1477
1480
|
}
|
1478
1481
|
}
|
1479
1482
|
return u;
|
1480
1483
|
}
|
1481
|
-
function
|
1484
|
+
function Ce(e) {
|
1482
1485
|
const u = e.find(
|
1483
1486
|
(t) => t.key?.name === "type"
|
1484
1487
|
);
|
@@ -1492,7 +1495,7 @@ function Du(e) {
|
|
1492
1495
|
if (u)
|
1493
1496
|
return k(M(u.value));
|
1494
1497
|
}
|
1495
|
-
function
|
1498
|
+
function Fe(e) {
|
1496
1499
|
if (!e) return [];
|
1497
1500
|
let u = [];
|
1498
1501
|
return e.type === "ArrayExpression" ? u = e.elements.map((t) => t.value) : e.type === "ObjectExpression" && (u = e.properties.map((t) => {
|
@@ -1500,12 +1503,12 @@ function Ce(e) {
|
|
1500
1503
|
return {
|
1501
1504
|
name: a.name,
|
1502
1505
|
required: J(c, "required"),
|
1503
|
-
type:
|
1506
|
+
type: Ce(c),
|
1504
1507
|
default: Du(c)
|
1505
1508
|
};
|
1506
1509
|
})), u;
|
1507
1510
|
}
|
1508
|
-
function
|
1511
|
+
function Me(e) {
|
1509
1512
|
const u = [];
|
1510
1513
|
if (e.callee.type === "MemberExpression" && e.callee.property?.name === "$emit") {
|
1511
1514
|
const [a, ...i] = (e.arguments || []).map(
|
@@ -1518,35 +1521,38 @@ function Fe(e) {
|
|
1518
1521
|
}
|
1519
1522
|
return u;
|
1520
1523
|
}
|
1521
|
-
function
|
1524
|
+
function Pe(e) {
|
1522
1525
|
let u = [];
|
1523
1526
|
return e.type === "ObjectExpression" && (u = e.properties.map((t) => {
|
1524
|
-
const { key: a, value: i } = t, c = i.properties, s = a.name,
|
1527
|
+
const { key: a, value: i } = t, c = i.properties, s = a.name, r = Ru(c, "from"), d = Du(c);
|
1525
1528
|
return {
|
1526
1529
|
name: s,
|
1527
|
-
from:
|
1530
|
+
from: r || s,
|
1528
1531
|
default: d
|
1529
1532
|
};
|
1530
1533
|
})), u;
|
1531
1534
|
}
|
1532
|
-
function
|
1535
|
+
function Oe(e) {
|
1536
|
+
return e && e.elements ? e.elements.map((u) => u?.type === "StringLiteral" ? u.value : "").filter((u) => !!u) : [];
|
1537
|
+
}
|
1538
|
+
function $e(e, u) {
|
1533
1539
|
return (e.apis || []).find((t) => t.id === u);
|
1534
1540
|
}
|
1535
1541
|
let su = [], Q = {}, Lu = {}, _u = {}, Z = "web", Bu = [];
|
1536
|
-
function
|
1542
|
+
function Ue(e, u, t = "", a) {
|
1537
1543
|
return su = [], Q = {}, Lu = a?.handlers || {}, _u = a?.styles || {}, Z = a?.platform || "web", Bu = a?.imports || [], {
|
1538
|
-
nodes: (
|
1544
|
+
nodes: (Xu({
|
1539
1545
|
id: e,
|
1540
1546
|
filename: u,
|
1541
1547
|
source: t,
|
1542
1548
|
isProd: !0,
|
1543
1549
|
slotted: !0
|
1544
|
-
}).ast?.children || []).map((
|
1550
|
+
}).ast?.children || []).map((r) => U(r)).filter((r) => !!r),
|
1545
1551
|
slots: su,
|
1546
1552
|
context: Q
|
1547
1553
|
};
|
1548
1554
|
}
|
1549
|
-
function
|
1555
|
+
function He(e) {
|
1550
1556
|
if (e.name === "slot") {
|
1551
1557
|
let u = "default";
|
1552
1558
|
const t = [];
|
@@ -1558,13 +1564,13 @@ function $e(e) {
|
|
1558
1564
|
});
|
1559
1565
|
}
|
1560
1566
|
}
|
1561
|
-
function
|
1567
|
+
function Ge(e) {
|
1562
1568
|
const u = {};
|
1563
1569
|
for (const t of e) {
|
1564
1570
|
if (t.type === h.ATTRIBUTE)
|
1565
1571
|
if (t.name === "class") {
|
1566
|
-
const a = t.value?.content || "", i = /[\w]+_[\w]{5,}/, c = a.match(i)?.[0] || "", s = a.split(" ").filter((d) => d !== c),
|
1567
|
-
|
1572
|
+
const a = t.value?.content || "", i = /[\w]+_[\w]{5,}/, c = a.match(i)?.[0] || "", s = a.split(" ").filter((d) => d !== c), r = _u[`.${c}`];
|
1573
|
+
r && (u.style = r), s.length && (u.class = s.join(" "));
|
1568
1574
|
} else if (t.name === "style") {
|
1569
1575
|
const a = t.value?.content || "";
|
1570
1576
|
a && (u.style = qu(a));
|
@@ -1572,7 +1578,7 @@ function Ue(e) {
|
|
1572
1578
|
u[t.name] = t.value?.content || "";
|
1573
1579
|
if (t.type === h.DIRECTIVE && t.name === "bind" && (t.exp?.type === h.SIMPLE_EXPRESSION && t.arg?.type === h.SIMPLE_EXPRESSION && (u[t.arg.content] = k(`(${t.exp.content})`)), t.exp?.type === h.COMPOUND_EXPRESSION && t.arg?.type === h.SIMPLE_EXPRESSION))
|
1574
1580
|
if (t.arg.content === "class" && u.class) {
|
1575
|
-
const a = t.exp.ast.type, i =
|
1581
|
+
const a = t.exp.ast.type, i = oe(
|
1576
1582
|
u.class,
|
1577
1583
|
t.exp.loc.source,
|
1578
1584
|
a
|
@@ -1585,7 +1591,7 @@ function Ue(e) {
|
|
1585
1591
|
}
|
1586
1592
|
return u;
|
1587
1593
|
}
|
1588
|
-
function
|
1594
|
+
function We(e, u = {}) {
|
1589
1595
|
const t = {};
|
1590
1596
|
for (const a of e)
|
1591
1597
|
if (a.type === h.DIRECTIVE && a.name === "on" && a.arg?.type === h.SIMPLE_EXPRESSION) {
|
@@ -1595,11 +1601,11 @@ function He(e, u = {}) {
|
|
1595
1601
|
);
|
1596
1602
|
let c = a.exp?.loc.source || "";
|
1597
1603
|
/\)$/.test(c) && (c = `($event) => { ${c} } `);
|
1598
|
-
const
|
1599
|
-
if (d &&
|
1604
|
+
const r = new RegExp(`${a.arg.content}_[\\w]{5,}`), d = c.match(r)?.[0] || "", n = u[d];
|
1605
|
+
if (d && n)
|
1600
1606
|
t[a.arg.content] = {
|
1601
1607
|
name: a.arg.content,
|
1602
|
-
handler:
|
1608
|
+
handler: n,
|
1603
1609
|
modifiers: i
|
1604
1610
|
};
|
1605
1611
|
else {
|
@@ -1622,9 +1628,9 @@ function Y(e, u) {
|
|
1622
1628
|
name: c,
|
1623
1629
|
value: c === "vElse" ? !0 : k(s)
|
1624
1630
|
});
|
1625
|
-
const
|
1626
|
-
if (
|
1627
|
-
const d = Y(
|
1631
|
+
const r = e.children?.[0];
|
1632
|
+
if (r) {
|
1633
|
+
const d = Y(r);
|
1628
1634
|
t.push(...d);
|
1629
1635
|
}
|
1630
1636
|
}
|
@@ -1656,10 +1662,10 @@ function Y(e, u) {
|
|
1656
1662
|
name: "vBind",
|
1657
1663
|
value: k(s.exp?.loc.source || "")
|
1658
1664
|
});
|
1659
|
-
const
|
1660
|
-
|
1665
|
+
const r = a.find((d) => d.name === "html");
|
1666
|
+
r && t.push({
|
1661
1667
|
name: "vHtml",
|
1662
|
-
value: k(
|
1668
|
+
value: k(r.exp?.loc.source || "")
|
1663
1669
|
});
|
1664
1670
|
}
|
1665
1671
|
return t;
|
@@ -1673,13 +1679,13 @@ function Cu(e) {
|
|
1673
1679
|
const c = i.value?.content || "", s = new RegExp(`${a}_([\\w]+)`);
|
1674
1680
|
u = c.match(s)?.[1] || "";
|
1675
1681
|
} else if (i.type === h.DIRECTIVE && i.name === "on") {
|
1676
|
-
const c = i.arg?.loc?.source || "", s = i.exp?.loc?.source || "",
|
1677
|
-
u = s.match(
|
1682
|
+
const c = i.arg?.loc?.source || "", s = i.exp?.loc?.source || "", r = new RegExp(`${c}_([\\w]+)`);
|
1683
|
+
u = s.match(r)?.[1] || "";
|
1678
1684
|
}
|
1679
1685
|
}
|
1680
1686
|
return u || iu();
|
1681
1687
|
}
|
1682
|
-
function
|
1688
|
+
function Je(e) {
|
1683
1689
|
const u = /\.\/(.+?)\.vue/;
|
1684
1690
|
for (const { from: t, imports: a } of Bu) {
|
1685
1691
|
if (Array.isArray(a) && a.includes(e))
|
@@ -1694,40 +1700,40 @@ function Ge(e) {
|
|
1694
1700
|
}
|
1695
1701
|
}
|
1696
1702
|
}
|
1697
|
-
function
|
1703
|
+
function ru(e, u) {
|
1698
1704
|
const t = new Set(u?.id ? Q[u.id] : []), a = (e.directives || []).find((s) => s.name === "vFor");
|
1699
1705
|
let i = new Set(Array.from(t));
|
1700
1706
|
if (a) {
|
1701
|
-
const { item: s = "item", index:
|
1702
|
-
i = /* @__PURE__ */ new Set([s,
|
1707
|
+
const { item: s = "item", index: r = "index" } = a.iterator || {};
|
1708
|
+
i = /* @__PURE__ */ new Set([s, r, ...Array.from(i)]);
|
1703
1709
|
}
|
1704
1710
|
const c = e.slot;
|
1705
1711
|
if (c) {
|
1706
|
-
const s = typeof c == "string" ? [] : c.params || [],
|
1707
|
-
i = /* @__PURE__ */ new Set([...
|
1712
|
+
const s = typeof c == "string" ? [] : c.params || [], r = s.length ? s : [`scope_${u?.id}`];
|
1713
|
+
i = /* @__PURE__ */ new Set([...r, ...Array.from(i)]);
|
1708
1714
|
}
|
1709
1715
|
Q[e.id] = i;
|
1710
1716
|
}
|
1711
1717
|
function au(e, u, t, a) {
|
1712
1718
|
const i = {
|
1713
1719
|
name: Vu(e.tag, Z),
|
1714
|
-
from:
|
1715
|
-
props:
|
1716
|
-
events:
|
1720
|
+
from: Je(e.tag),
|
1721
|
+
props: Ge(e.props),
|
1722
|
+
events: We(e.props, Lu),
|
1717
1723
|
directives: Y(t || e, a)
|
1718
1724
|
};
|
1719
|
-
i.id = Cu(e),
|
1725
|
+
i.id = Cu(e), ru(i, u);
|
1720
1726
|
const c = fu(i, e.children);
|
1721
|
-
return
|
1727
|
+
return ru(i, u), He(c), c;
|
1722
1728
|
}
|
1723
|
-
function
|
1729
|
+
function ze(e, u) {
|
1724
1730
|
return e.map((t) => U(t, u, e));
|
1725
1731
|
}
|
1726
1732
|
function U(e, u, t) {
|
1727
1733
|
if (e.type === h.ELEMENT)
|
1728
1734
|
return au(e, u);
|
1729
1735
|
if (e.type === h.IF)
|
1730
|
-
return
|
1736
|
+
return Xe(e);
|
1731
1737
|
if (t && e.type === h.IF_BRANCH) {
|
1732
1738
|
const a = e.children.find((i) => i.type === h.ELEMENT);
|
1733
1739
|
if (a && a.type === h.ELEMENT)
|
@@ -1784,11 +1790,11 @@ function fu(e, u = []) {
|
|
1784
1790
|
children: U(c, e)
|
1785
1791
|
} : U(c, e);
|
1786
1792
|
s && (Array.isArray(s) ? s : [s]).forEach((d) => {
|
1787
|
-
|
1793
|
+
ae(d) && i?.type === h.DIRECTIVE && (d.id = Cu(c), d.slot = {
|
1788
1794
|
name: i.arg?.content || "default",
|
1789
1795
|
params: i.exp?.identifiers || [],
|
1790
1796
|
scope: i.exp?.type === h.SIMPLE_EXPRESSION ? i.exp.content : ""
|
1791
|
-
},
|
1797
|
+
}, ru(d, e)), t.push(d);
|
1792
1798
|
});
|
1793
1799
|
}
|
1794
1800
|
} else if (a.type === h.JS_CALL_EXPRESSION) {
|
@@ -1806,31 +1812,31 @@ function fu(e, u = []) {
|
|
1806
1812
|
}
|
1807
1813
|
if (t.length === 1) {
|
1808
1814
|
const a = t[0];
|
1809
|
-
e.children = typeof a == "string" ||
|
1815
|
+
e.children = typeof a == "string" || nu(a) ? a : [a];
|
1810
1816
|
} else
|
1811
1817
|
e.children = t.map((a) => typeof a == "string" ? { name: "span", children: a } : a);
|
1812
1818
|
return e;
|
1813
1819
|
}
|
1814
|
-
function
|
1820
|
+
function Xe(e) {
|
1815
1821
|
const u = e.branches || [], t = u[0], a = t.children || [];
|
1816
1822
|
if (t?.isTemplateIf || a.length > 1 || a[0].type !== h.ELEMENT) {
|
1817
1823
|
const c = { name: "span", directives: Y(t, u) };
|
1818
1824
|
return fu(c, t.children);
|
1819
1825
|
} else
|
1820
|
-
return
|
1826
|
+
return ze(u);
|
1821
1827
|
}
|
1822
|
-
function
|
1828
|
+
function Qe(e) {
|
1823
1829
|
const u = [], t = {}, a = [];
|
1824
1830
|
try {
|
1825
|
-
const i =
|
1826
|
-
for (const
|
1827
|
-
if (
|
1831
|
+
const i = ee.compileString(e, { charset: !1 })?.css || "", c = ue.parse(i), s = /^.[\w]+_[\w]{5,}/;
|
1832
|
+
for (const r of c.nodes)
|
1833
|
+
if (r.type === "rule") {
|
1828
1834
|
const d = {};
|
1829
|
-
s.test(
|
1830
|
-
|
1831
|
-
}), t[
|
1835
|
+
s.test(r.selector) ? (r.nodes.forEach((n) => {
|
1836
|
+
n.type === "decl" && (d[n.prop] = n.value);
|
1837
|
+
}), t[r.selector] = d) : a.push(r.toString());
|
1832
1838
|
} else
|
1833
|
-
a.push(
|
1839
|
+
a.push(r.toString());
|
1834
1840
|
} catch (i) {
|
1835
1841
|
u.push(`css解析出错了,错误信息:[ ${i.message} ]
|
1836
1842
|
`);
|
@@ -1844,10 +1850,10 @@ function ze(e) {
|
|
1844
1850
|
}
|
1845
1851
|
const Fu = "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(
|
1846
1852
|
", "
|
1847
|
-
),
|
1853
|
+
), Ze = "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(
|
1848
1854
|
", "
|
1849
|
-
),
|
1850
|
-
class
|
1855
|
+
), Ke = "user", j = "User";
|
1856
|
+
class Ye {
|
1851
1857
|
validate(u) {
|
1852
1858
|
const t = {
|
1853
1859
|
valid: !0,
|
@@ -1891,8 +1897,8 @@ class Ze {
|
|
1891
1897
|
findVantIcons(u) {
|
1892
1898
|
const t = R(u), a = /<(?:VanIcon|van-icon)\b[^>]*>/g, i = t.template.match(a) || [], c = [];
|
1893
1899
|
return i.forEach((s) => {
|
1894
|
-
const
|
1895
|
-
|
1900
|
+
const r = s.match(/\bname="([^"]+)"/);
|
1901
|
+
r && c.push(r[1]);
|
1896
1902
|
}), [...new Set(c)];
|
1897
1903
|
}
|
1898
1904
|
checkVantIcons(u) {
|
@@ -1908,7 +1914,7 @@ class Ze {
|
|
1908
1914
|
checkVtjIcons(u) {
|
1909
1915
|
const t = this.findVtjIcons(u), a = [];
|
1910
1916
|
for (const i of t)
|
1911
|
-
|
1917
|
+
Ze.includes(i) || a.push(i);
|
1912
1918
|
return a;
|
1913
1919
|
}
|
1914
1920
|
hasUnchangedComment(u) {
|
@@ -1923,7 +1929,7 @@ class Ze {
|
|
1923
1929
|
);
|
1924
1930
|
}
|
1925
1931
|
}
|
1926
|
-
function
|
1932
|
+
function u0(e) {
|
1927
1933
|
const u = [];
|
1928
1934
|
let t = e;
|
1929
1935
|
const a = R(e);
|
@@ -1934,17 +1940,17 @@ function Ke(e) {
|
|
1934
1940
|
fixedCode: e,
|
1935
1941
|
changes: []
|
1936
1942
|
};
|
1937
|
-
const i =
|
1943
|
+
const i = e0(a.script), c = a.template;
|
1938
1944
|
let s = c;
|
1939
|
-
const
|
1940
|
-
let
|
1941
|
-
for (; (
|
1942
|
-
const m =
|
1945
|
+
const r = [], d = /\{\{([^}]+)\}\}/g;
|
1946
|
+
let n;
|
1947
|
+
for (; (n = d.exec(c)) !== null; ) {
|
1948
|
+
const m = n[0], y = n[1], g = C(y, i);
|
1943
1949
|
if (g !== y) {
|
1944
|
-
const p = B(c,
|
1945
|
-
|
1946
|
-
start:
|
1947
|
-
end:
|
1950
|
+
const p = B(c, n.index);
|
1951
|
+
r.push({
|
1952
|
+
start: n.index,
|
1953
|
+
end: n.index + m.length,
|
1948
1954
|
original: m,
|
1949
1955
|
replacement: `{{${g}}}`,
|
1950
1956
|
line: p.line,
|
@@ -1959,13 +1965,13 @@ function Ke(e) {
|
|
1959
1965
|
}
|
1960
1966
|
}
|
1961
1967
|
const b = /:(\w+)="([^"]+)"/g;
|
1962
|
-
for (; (
|
1963
|
-
const m =
|
1968
|
+
for (; (n = b.exec(c)) !== null; ) {
|
1969
|
+
const m = n[0], y = n[1], g = n[2], p = C(g, i);
|
1964
1970
|
if (p !== g) {
|
1965
|
-
const E = B(c,
|
1966
|
-
|
1967
|
-
start:
|
1968
|
-
end:
|
1971
|
+
const E = B(c, n.index);
|
1972
|
+
r.push({
|
1973
|
+
start: n.index,
|
1974
|
+
end: n.index + m.length,
|
1969
1975
|
original: m,
|
1970
1976
|
replacement: `:${y}="${p}"`,
|
1971
1977
|
line: E.line,
|
@@ -1980,13 +1986,13 @@ function Ke(e) {
|
|
1980
1986
|
}
|
1981
1987
|
}
|
1982
1988
|
const f = /v-(if|else-if|show)="([^"]+)"/g;
|
1983
|
-
for (; (
|
1984
|
-
const m =
|
1989
|
+
for (; (n = f.exec(c)) !== null; ) {
|
1990
|
+
const m = n[0], y = n[1], g = n[2], p = C(g, i);
|
1985
1991
|
if (p !== g) {
|
1986
|
-
const E = B(c,
|
1987
|
-
|
1988
|
-
start:
|
1989
|
-
end:
|
1992
|
+
const E = B(c, n.index);
|
1993
|
+
r.push({
|
1994
|
+
start: n.index,
|
1995
|
+
end: n.index + m.length,
|
1990
1996
|
original: m,
|
1991
1997
|
replacement: `v-${y}="${p}"`,
|
1992
1998
|
line: E.line,
|
@@ -2001,18 +2007,18 @@ function Ke(e) {
|
|
2001
2007
|
}
|
2002
2008
|
}
|
2003
2009
|
const I = /v-for="([^"]+)"/g;
|
2004
|
-
for (; (
|
2005
|
-
const m =
|
2010
|
+
for (; (n = I.exec(c)) !== null; ) {
|
2011
|
+
const m = n[0], g = n[1].match(/^(.+)\s+in\s+(.+)$/);
|
2006
2012
|
if (g) {
|
2007
2013
|
const [, p, E] = g, q = C(
|
2008
2014
|
E,
|
2009
2015
|
i
|
2010
2016
|
);
|
2011
2017
|
if (q !== E) {
|
2012
|
-
const O = B(c,
|
2013
|
-
|
2014
|
-
start:
|
2015
|
-
end:
|
2018
|
+
const O = B(c, n.index), eu = `v-for="${p} in ${q}"`;
|
2019
|
+
r.push({
|
2020
|
+
start: n.index,
|
2021
|
+
end: n.index + m.length,
|
2016
2022
|
original: m,
|
2017
2023
|
replacement: eu,
|
2018
2024
|
line: O.line,
|
@@ -2028,13 +2034,13 @@ function Ke(e) {
|
|
2028
2034
|
}
|
2029
2035
|
}
|
2030
2036
|
const x = /v-model="([^"]+)"/g;
|
2031
|
-
for (; (
|
2032
|
-
const m =
|
2037
|
+
for (; (n = x.exec(c)) !== null; ) {
|
2038
|
+
const m = n[0], y = n[1], g = C(y, i);
|
2033
2039
|
if (g !== y) {
|
2034
|
-
const p = B(c,
|
2035
|
-
|
2036
|
-
start:
|
2037
|
-
end:
|
2040
|
+
const p = B(c, n.index);
|
2041
|
+
r.push({
|
2042
|
+
start: n.index,
|
2043
|
+
end: n.index + m.length,
|
2038
2044
|
original: m,
|
2039
2045
|
replacement: `v-model="${g}"`,
|
2040
2046
|
line: p.line,
|
@@ -2049,13 +2055,13 @@ function Ke(e) {
|
|
2049
2055
|
}
|
2050
2056
|
}
|
2051
2057
|
const N = /v-bind="([^"]+)"/g;
|
2052
|
-
for (; (
|
2053
|
-
const m =
|
2058
|
+
for (; (n = N.exec(c)) !== null; ) {
|
2059
|
+
const m = n[0], y = n[1], g = C(y, i);
|
2054
2060
|
if (g !== y) {
|
2055
|
-
const p = B(c,
|
2056
|
-
|
2057
|
-
start:
|
2058
|
-
end:
|
2061
|
+
const p = B(c, n.index);
|
2062
|
+
r.push({
|
2063
|
+
start: n.index,
|
2064
|
+
end: n.index + m.length,
|
2059
2065
|
original: m,
|
2060
2066
|
replacement: `v-bind="${g}"`,
|
2061
2067
|
line: p.line,
|
@@ -2070,13 +2076,13 @@ function Ke(e) {
|
|
2070
2076
|
}
|
2071
2077
|
}
|
2072
2078
|
const V = /v-(text|html)="([^"]+)"/g;
|
2073
|
-
for (; (
|
2074
|
-
const m =
|
2079
|
+
for (; (n = V.exec(c)) !== null; ) {
|
2080
|
+
const m = n[0], y = n[1], g = n[2], p = C(g, i);
|
2075
2081
|
if (p !== g) {
|
2076
|
-
const E = B(c,
|
2077
|
-
|
2078
|
-
start:
|
2079
|
-
end:
|
2082
|
+
const E = B(c, n.index);
|
2083
|
+
r.push({
|
2084
|
+
start: n.index,
|
2085
|
+
end: n.index + m.length,
|
2080
2086
|
original: m,
|
2081
2087
|
replacement: `v-${y}="${p}"`,
|
2082
2088
|
line: E.line,
|
@@ -2091,13 +2097,13 @@ function Ke(e) {
|
|
2091
2097
|
}
|
2092
2098
|
}
|
2093
2099
|
const uu = /(@|v-on:)(\w+)="([^"]+)"/g;
|
2094
|
-
for (; (
|
2095
|
-
const m =
|
2100
|
+
for (; (n = uu.exec(c)) !== null; ) {
|
2101
|
+
const m = n[0], y = n[1], g = n[2], p = n[3], E = t0(p, i);
|
2096
2102
|
if (E !== p) {
|
2097
|
-
const q = B(c,
|
2098
|
-
|
2099
|
-
start:
|
2100
|
-
end:
|
2103
|
+
const q = B(c, n.index);
|
2104
|
+
r.push({
|
2105
|
+
start: n.index,
|
2106
|
+
end: n.index + m.length,
|
2101
2107
|
original: m,
|
2102
2108
|
replacement: `${y}${g}="${E}"`,
|
2103
2109
|
line: q.line,
|
@@ -2111,22 +2117,22 @@ function Ke(e) {
|
|
2111
2117
|
});
|
2112
2118
|
}
|
2113
2119
|
}
|
2114
|
-
if (
|
2120
|
+
if (r.sort((m, y) => y.start - m.start), r.forEach((m) => {
|
2115
2121
|
s = s.substring(0, m.start) + m.replacement + s.substring(m.end);
|
2116
|
-
}),
|
2122
|
+
}), r.length > 0) {
|
2117
2123
|
const m = e.indexOf("<template>"), y = e.lastIndexOf("</template>") + 11;
|
2118
2124
|
t = e.substring(0, m) + `<template>
|
2119
2125
|
` + s + `
|
2120
2126
|
</template>` + e.substring(y);
|
2121
2127
|
}
|
2122
2128
|
return {
|
2123
|
-
fixed:
|
2129
|
+
fixed: r.length > 0,
|
2124
2130
|
originalCode: e,
|
2125
2131
|
fixedCode: t,
|
2126
2132
|
changes: u
|
2127
2133
|
};
|
2128
2134
|
}
|
2129
|
-
function
|
2135
|
+
function e0(e) {
|
2130
2136
|
const u = /* @__PURE__ */ new Set();
|
2131
2137
|
try {
|
2132
2138
|
const t = z(e);
|
@@ -2152,7 +2158,7 @@ function C(e, u) {
|
|
2152
2158
|
i.test(t) && !t.includes(`state.${a}`) && (t = t.replace(i, `state.${a}`));
|
2153
2159
|
}), t;
|
2154
2160
|
}
|
2155
|
-
function
|
2161
|
+
function t0(e, u) {
|
2156
2162
|
let t = e.trim();
|
2157
2163
|
return u.forEach((a) => {
|
2158
2164
|
const i = new RegExp(
|
@@ -2162,7 +2168,7 @@ function u0(e, u) {
|
|
2162
2168
|
`(\\+\\+|--)?(?<![\\w.])${a}(?![\\w])`,
|
2163
2169
|
"g"
|
2164
2170
|
);
|
2165
|
-
t.includes(`state.${a}`) || (t = t.replace(i, `state.${a}$1`), t = t.replace(c, (s,
|
2171
|
+
t.includes(`state.${a}`) || (t = t.replace(i, `state.${a}$1`), t = t.replace(c, (s, r) => r ? `${r}state.${a}` : s.includes(a) && !s.includes("state.") ? `state.${a}` : s));
|
2166
2172
|
}), C(t, u);
|
2167
2173
|
}
|
2168
2174
|
function B(e, u) {
|
@@ -2173,15 +2179,15 @@ function B(e, u) {
|
|
2173
2179
|
column: t[t.length - 1].length
|
2174
2180
|
};
|
2175
2181
|
}
|
2176
|
-
class
|
2182
|
+
class a0 {
|
2177
2183
|
fixBasedOnValidation(u, t) {
|
2178
2184
|
let a = u;
|
2179
|
-
return t.illegalVantIcons.length && (a = this.fixVantIcons(a)), t.illegalVtjIcons.length && (a = this.fixVtjIcons(a, t.illegalVtjIcons)),
|
2185
|
+
return t.illegalVantIcons.length && (a = this.fixVantIcons(a)), t.illegalVtjIcons.length && (a = this.fixVtjIcons(a, t.illegalVtjIcons)), u0(a).fixedCode;
|
2180
2186
|
}
|
2181
2187
|
fixVantIcons(u) {
|
2182
2188
|
const t = R(u), a = t.template.replace(
|
2183
2189
|
/<(?:VanIcon|van-icon)\s+[^>]*name="([^"]+)"[^>]*>/g,
|
2184
|
-
(i, c) => Fu.includes(c) ? i : i.replace(c,
|
2190
|
+
(i, c) => Fu.includes(c) ? i : i.replace(c, Ke)
|
2185
2191
|
);
|
2186
2192
|
return this.reconstructSFC(t, a, t.script);
|
2187
2193
|
}
|
@@ -2190,15 +2196,15 @@ class e0 {
|
|
2190
2196
|
a.script = ku(a.script, {
|
2191
2197
|
ImportDeclaration(s) {
|
2192
2198
|
if (s.node.source.value === "@vtj/icons") {
|
2193
|
-
const
|
2194
|
-
let
|
2195
|
-
for (const b of
|
2199
|
+
const r = s.node.specifiers, d = [];
|
2200
|
+
let n = !1;
|
2201
|
+
for (const b of r) {
|
2196
2202
|
const f = b.imported?.name;
|
2197
|
-
f === j && (
|
2203
|
+
f === j && (n = !0), t.includes(f) || d.push(
|
2198
2204
|
T.importSpecifier(b.local, b.imported)
|
2199
2205
|
);
|
2200
2206
|
}
|
2201
|
-
|
2207
|
+
n || d.push(
|
2202
2208
|
T.importSpecifier(
|
2203
2209
|
T.identifier(j),
|
2204
2210
|
T.identifier(j)
|
@@ -2208,11 +2214,11 @@ class e0 {
|
|
2208
2214
|
},
|
2209
2215
|
ObjectMethod(s) {
|
2210
2216
|
if (s.node.key.name === "setup") {
|
2211
|
-
const
|
2212
|
-
for (const d of
|
2217
|
+
const r = s.node.body.body;
|
2218
|
+
for (const d of r)
|
2213
2219
|
if (T.isReturnStatement(d) && T.isObjectExpression(d.argument)) {
|
2214
|
-
const
|
2215
|
-
d.argument.properties =
|
2220
|
+
const n = d.argument.properties || [];
|
2221
|
+
d.argument.properties = n.filter(
|
2216
2222
|
(b) => !t.includes(b.key.name)
|
2217
2223
|
), d.argument.properties.push(
|
2218
2224
|
T.objectProperty(
|
@@ -2227,8 +2233,8 @@ class e0 {
|
|
2227
2233
|
},
|
2228
2234
|
ObjectProperty(s) {
|
2229
2235
|
if (T.isIdentifier(s.node.value) && t.includes(s.node.value.name) && (s.node.value = T.identifier(j)), T.isArrayExpression(s.node.value)) {
|
2230
|
-
const
|
2231
|
-
s.node.value.elements =
|
2236
|
+
const r = s.node.value.elements;
|
2237
|
+
s.node.value.elements = r.map((d) => T.isIdentifier(d) && t.includes(d.name) ? T.identifier(j) : d);
|
2232
2238
|
}
|
2233
2239
|
},
|
2234
2240
|
AssignmentExpression(s) {
|
@@ -2238,10 +2244,10 @@ class e0 {
|
|
2238
2244
|
const i = /:icon\s*=\s*["']([^"']+)["']/g, c = a.template.match(i);
|
2239
2245
|
if (c)
|
2240
2246
|
for (const s of c) {
|
2241
|
-
let
|
2247
|
+
let r = s;
|
2242
2248
|
for (const d of t)
|
2243
|
-
|
2244
|
-
a.template = a.template.replace(s,
|
2249
|
+
r = r.replace(new RegExp(d, "g"), j);
|
2250
|
+
a.template = a.template.replace(s, r);
|
2245
2251
|
}
|
2246
2252
|
for (const s of t)
|
2247
2253
|
a.template = a.template.replace(
|
@@ -2269,16 +2275,16 @@ ${a}
|
|
2269
2275
|
}), i;
|
2270
2276
|
}
|
2271
2277
|
}
|
2272
|
-
async function
|
2273
|
-
const { id: u, name: t, source: a, project: i } = e, { dependencies: c = [], platform: s = "web" } = i || {},
|
2278
|
+
async function y0(e) {
|
2279
|
+
const { id: u, name: t, source: a, project: i } = e, { dependencies: c = [], platform: s = "web" } = i || {}, r = new Ye(), d = new a0(), n = r.validate(a);
|
2274
2280
|
let b = [];
|
2275
|
-
if (!
|
2276
|
-
return b =
|
2277
|
-
const f = d.fixBasedOnValidation(a,
|
2281
|
+
if (!n.valid)
|
2282
|
+
return b = n.errors, Promise.reject(b);
|
2283
|
+
const f = d.fixBasedOnValidation(a, n), I = R(f), {
|
2278
2284
|
styles: x,
|
2279
2285
|
css: N,
|
2280
2286
|
errors: V
|
2281
|
-
} =
|
2287
|
+
} = Qe(I.styles.join(`
|
2282
2288
|
`));
|
2283
2289
|
if (b.push(...V), b.length)
|
2284
2290
|
return Promise.reject(b);
|
@@ -2290,31 +2296,33 @@ async function x0(e) {
|
|
2290
2296
|
methods: p,
|
2291
2297
|
props: E,
|
2292
2298
|
emits: q,
|
2293
|
-
|
2294
|
-
|
2299
|
+
expose: O,
|
2300
|
+
inject: eu,
|
2301
|
+
handlers: Mu,
|
2295
2302
|
imports: lu,
|
2296
|
-
dataSources:
|
2297
|
-
} =
|
2303
|
+
dataSources: Pu
|
2304
|
+
} = Ne(I.script, i), { nodes: Ou, slots: $u, context: Uu } = Ue(u, t, I.template, {
|
2298
2305
|
platform: s,
|
2299
|
-
handlers:
|
2306
|
+
handlers: Mu,
|
2300
2307
|
styles: x,
|
2301
2308
|
imports: lu
|
2302
2309
|
}), bu = {
|
2303
2310
|
id: u,
|
2304
2311
|
name: t,
|
2305
|
-
inject:
|
2312
|
+
inject: eu,
|
2306
2313
|
props: E,
|
2307
2314
|
state: uu,
|
2308
2315
|
watch: m,
|
2309
2316
|
lifeCycles: y,
|
2310
2317
|
computed: g,
|
2311
2318
|
methods: p,
|
2312
|
-
dataSources:
|
2313
|
-
slots:
|
2319
|
+
dataSources: Pu,
|
2320
|
+
slots: $u,
|
2314
2321
|
emits: q,
|
2315
|
-
|
2322
|
+
expose: O,
|
2323
|
+
nodes: Ou,
|
2316
2324
|
css: N
|
2317
|
-
},
|
2325
|
+
}, Hu = Object.keys(g || {}), Gu = [
|
2318
2326
|
"$el",
|
2319
2327
|
"$emit",
|
2320
2328
|
"$nextTick",
|
@@ -2331,20 +2339,20 @@ async function x0(e) {
|
|
2331
2339
|
"$props",
|
2332
2340
|
"props",
|
2333
2341
|
...Object.keys(p || {})
|
2334
|
-
], { libs:
|
2342
|
+
], { libs: Wu } = s0(lu, c), hu = {
|
2335
2343
|
platform: s,
|
2336
|
-
context:
|
2337
|
-
computed:
|
2338
|
-
libs:
|
2339
|
-
members:
|
2344
|
+
context: Uu,
|
2345
|
+
computed: Hu,
|
2346
|
+
libs: Wu,
|
2347
|
+
members: Gu
|
2340
2348
|
};
|
2341
|
-
return await
|
2349
|
+
return await i0(
|
2342
2350
|
bu,
|
2343
2351
|
async (H) => {
|
2344
|
-
await
|
2352
|
+
await c0(H, async (G) => {
|
2345
2353
|
if (ou(G)) {
|
2346
|
-
const
|
2347
|
-
G.value = gu(
|
2354
|
+
const Ju = await xu(G.value);
|
2355
|
+
G.value = gu(Ju, H.id, hu);
|
2348
2356
|
}
|
2349
2357
|
});
|
2350
2358
|
},
|
@@ -2352,9 +2360,9 @@ async function x0(e) {
|
|
2352
2360
|
const G = await xu(H.value);
|
2353
2361
|
H.value = gu(G, "", hu);
|
2354
2362
|
}
|
2355
|
-
), new
|
2363
|
+
), new Zu(bu).toDsl();
|
2356
2364
|
}
|
2357
|
-
async function
|
2365
|
+
async function i0(e, u, t) {
|
2358
2366
|
const a = async (x, N) => {
|
2359
2367
|
if (await u(x, N), Array.isArray(x.children))
|
2360
2368
|
for (const V of x.children)
|
@@ -2372,9 +2380,9 @@ async function t0(e, u, t) {
|
|
2372
2380
|
}, {
|
2373
2381
|
state: c,
|
2374
2382
|
watch: s,
|
2375
|
-
computed:
|
2383
|
+
computed: r,
|
2376
2384
|
props: d,
|
2377
|
-
dataSources:
|
2385
|
+
dataSources: n,
|
2378
2386
|
methods: b,
|
2379
2387
|
lifeCycles: f,
|
2380
2388
|
inject: I
|
@@ -2382,9 +2390,9 @@ async function t0(e, u, t) {
|
|
2382
2390
|
if (await i({
|
2383
2391
|
state: c,
|
2384
2392
|
watch: s,
|
2385
|
-
computed:
|
2393
|
+
computed: r,
|
2386
2394
|
props: d,
|
2387
|
-
dataSources:
|
2395
|
+
dataSources: n,
|
2388
2396
|
methods: b,
|
2389
2397
|
lifeCycles: f,
|
2390
2398
|
inject: I
|
@@ -2392,7 +2400,7 @@ async function t0(e, u, t) {
|
|
2392
2400
|
for (const x of e.nodes)
|
2393
2401
|
await a(x);
|
2394
2402
|
}
|
2395
|
-
async function
|
2403
|
+
async function c0(e, u) {
|
2396
2404
|
const t = async (a) => {
|
2397
2405
|
if (!a || typeof a != "object") return;
|
2398
2406
|
if (Array.isArray(a)) {
|
@@ -2410,7 +2418,7 @@ async function a0(e, u) {
|
|
2410
2418
|
};
|
2411
2419
|
await t(e);
|
2412
2420
|
}
|
2413
|
-
function
|
2421
|
+
function s0(e = [], u = []) {
|
2414
2422
|
const t = {}, a = u.reduce(
|
2415
2423
|
(i, c) => (i[c.package] = c.library, i),
|
2416
2424
|
{}
|
@@ -2418,8 +2426,8 @@ function i0(e = [], u = []) {
|
|
2418
2426
|
for (const { from: i, imports: c } of e)
|
2419
2427
|
if (Array.isArray(c))
|
2420
2428
|
c.forEach((s) => {
|
2421
|
-
const
|
2422
|
-
|
2429
|
+
const r = a[i];
|
2430
|
+
r && (t[s] = r);
|
2423
2431
|
});
|
2424
2432
|
else {
|
2425
2433
|
const s = a[i];
|
@@ -2430,12 +2438,12 @@ function i0(e = [], u = []) {
|
|
2430
2438
|
};
|
2431
2439
|
}
|
2432
2440
|
export {
|
2433
|
-
|
2434
|
-
|
2435
|
-
|
2441
|
+
a0 as AutoFixer,
|
2442
|
+
Ye as ComponentValidator,
|
2443
|
+
x0 as VTJ_PARSER_VERSION,
|
2436
2444
|
Au as htmlToNodes,
|
2437
|
-
|
2438
|
-
|
2445
|
+
g0 as parseUniApp,
|
2446
|
+
y0 as parseVue,
|
2439
2447
|
gu as patchCode,
|
2440
2448
|
W as replacer
|
2441
2449
|
};
|