@vtj/renderer 0.18.23 → 0.18.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.mjs CHANGED
@@ -1,18 +1,18 @@
1
1
  import { Base as ci, BUILT_IN_COMPONENTS as li, ProjectModel as qe, HistoryModel as ds } from "@vtj/core";
2
- import { url as pe, isUrl as vt, dedupArray as hi, isFunction as K, isString as te, logger as xe, storage as ot, cookie as ut, toArray as Xt, unRSA as Zt, delay as Pe, createRequest as ms, jsonp as gs, merge as pi, pathToRegexp as fi, pathToRegexpMatch as di, formDataToJson as mi, isEqual as ct, Queue as gi, cloneDeep as es, camelCase as Z, upperFirstCamelCase as vi, pick as xi, request as xt, loadScript as ts, debounce as bi, Storage as yi, mapToObject as Tt } from "@vtj/utils";
2
+ import { url as pe, isUrl as xt, dedupArray as hi, isFunction as K, isString as te, logger as ve, storage as ot, cookie as ut, toArray as Yt, unRSA as Xt, delay as Pe, createRequest as ms, jsonp as gs, merge as pi, pathToRegexp as fi, pathToRegexpMatch as di, formDataToJson as mi, isEqual as ct, Queue as gi, cloneDeep as Zt, camelCase as Z, upperFirstCamelCase as xi, pick as vi, request as vt, loadScript as es, debounce as bi, Storage as yi, mapToObject as Pt } from "@vtj/utils";
3
3
  import * as be from "vue";
4
- import { inject as Nt, defineComponent as vs, h as bt, ref as yt, watchEffect as _i, defineAsyncComponent as ss } from "vue";
5
- import { useRoute as xs } from "vue-router";
4
+ import { inject as Tt, defineComponent as xs, h as bt, ref as yt, watchEffect as _i, defineAsyncComponent as ts } from "vue";
5
+ import { useRoute as vs } from "vue-router";
6
6
  /**!
7
7
  * Copyright (c) 2026, VTJ.PRO All rights reserved.
8
8
  * @name @vtj/renderer
9
9
  * @author CHC chenhuachun1549@dingtalk.com
10
- * @version 0.18.22
10
+ * @version 0.18.25
11
11
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
12
12
  */
13
- const ke = "0.18.22";
13
+ const ke = "0.18.25";
14
14
  var T = /* @__PURE__ */ ((t) => (t.Runtime = "Runtime", t.Design = "Design", t.Raw = "Raw", t.VNode = "VNode", t))(T || {});
15
- const _t = [
15
+ const ss = [
16
16
  "$el",
17
17
  "$emit",
18
18
  "$nextTick",
@@ -59,7 +59,7 @@ const _t = [
59
59
  "vFor",
60
60
  "vBind",
61
61
  "vHtml"
62
- ], wi = {
62
+ ], Ci = {
63
63
  String,
64
64
  Number,
65
65
  Boolean,
@@ -69,7 +69,7 @@ const _t = [
69
69
  Date
70
70
  }, Ie = "VtjPage", Ge = "VtjHomepage", bs = "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".split(
71
71
  ","
72
- ), Ci = "component,slot".split(","), Rn = [
72
+ ), wi = "component,slot".split(","), Rn = [
73
73
  "h",
74
74
  "t",
75
75
  "t",
@@ -149,8 +149,8 @@ const _t = [
149
149
  ].join(""),
150
150
  privateKey: "MIIBOgIBAAJBAKoIzmn1FYQ1YOhOBw9EhABxZ+PySAIaydI+zdhoKflrdgJ4A5E4/5gbQmRpk09hPWG8nvX7h+l/QLU8kXxAIBECAwEAAQJAAlgpxQY6sByLsXqzJcthC8LSGsLf2JEJkHwlnpwFqlEV8UCkoINpuZ2Wzl+aftURu5rIfAzRCQBvHmeOTW9/zQIhAO5ufWDmnSLyfAAsNo5JRNpVuLFCFodR8Xm+ulDlosR/AiEAtpAltyP9wmCABKG/v/hrtTr3mcvFNGCjoGa9bUAok28CIHbrVs9w1ijrBlvTsXYwJw46uP539uKRRT4ymZzlm9QjAiB+1KH/G9f9pEEL9rtaSOG7JF5D0JcOjlze4MGVFs+ZrQIhALKOUFBNr2zEsyJIjw2PlvEucdlG77UniszjXTROHSPd"
151
151
  };
152
- function $e(t, e) {
153
- return t.map((s) => vt(s) || s.startsWith("/") ? s : `${e}${s}`);
152
+ function He(t, e) {
153
+ return t.map((s) => xt(s) || s.startsWith("/") ? s : `${e}${s}`);
154
154
  }
155
155
  function Qe(t) {
156
156
  return /\.css$/.test(t);
@@ -177,15 +177,15 @@ function ki(t, e = !1) {
177
177
  function Ii(t, e, s = !1) {
178
178
  const i = t.filter((d) => !!d.enabled), r = [], n = [], a = [], u = [], c = {}, l = {}, h = [], p = {};
179
179
  return i.forEach(
180
- ({ urls: d, assetsUrl: f, library: m, assetsLibrary: x, localeLibrary: g }) => {
181
- d?.forEach((v) => {
182
- Ye(v) && r.push(ki(v, s)), Qe(v) && n.push(v);
183
- }), m && (u.push(m), c[m] = $e(d || [], e), g && (l[m] = g)), f && a.push(f), x && h.push(x), m && x && (p[x] = m);
180
+ ({ urls: d, assetsUrl: f, library: m, assetsLibrary: v, localeLibrary: g }) => {
181
+ d?.forEach((x) => {
182
+ Ye(x) && r.push(ki(x, s)), Qe(x) && n.push(x);
183
+ }), m && (u.push(m), c[m] = He(d || [], e), g && (l[m] = g)), f && a.push(f), v && h.push(v), m && v && (p[v] = m);
184
184
  }
185
185
  ), {
186
- scripts: $e(r, e),
187
- css: $e(n, e),
188
- materials: $e(a, e),
186
+ scripts: He(r, e),
187
+ css: He(n, e),
188
+ materials: He(a, e),
189
189
  libraryExports: u,
190
190
  materialExports: hi(h),
191
191
  materialMapLibrary: p,
@@ -214,28 +214,28 @@ function Ti(t, e) {
214
214
  continue;
215
215
  }
216
216
  if (l.substring(p, p + 2) === "/*") {
217
- const v = l.indexOf("*/", p + 2);
218
- if (v !== -1) {
219
- p = v + 2;
217
+ const x = l.indexOf("*/", p + 2);
218
+ if (x !== -1) {
219
+ p = x + 2;
220
220
  continue;
221
221
  }
222
222
  }
223
223
  if (l[p] === "@") {
224
- const v = p;
224
+ const x = p;
225
225
  for (; p < l.length && l[p] !== "{" && l[p] !== ";"; )
226
226
  p++;
227
- const k = l.substring(v, p).trim(), N = k.includes("@keyframes");
227
+ const k = l.substring(x, p).trim(), N = k.includes("@keyframes");
228
228
  if (l[p] === ";")
229
229
  h.push({
230
230
  type: "simple-at-rule",
231
- content: l.substring(v, p + 1)
231
+ content: l.substring(x, p + 1)
232
232
  }), p++;
233
233
  else if (l[p] === "{") {
234
- const w = p + 1;
234
+ const C = p + 1;
235
235
  let D = 1;
236
236
  for (p++; p < l.length && D > 0; )
237
237
  l[p] === "{" ? D++ : l[p] === "}" && D--, p++;
238
- const de = l.substring(v, p), Se = l.substring(w, p - 1);
238
+ const de = l.substring(x, p), Se = l.substring(C, p - 1);
239
239
  h.push({
240
240
  type: N ? "keyframes" : "at-rule",
241
241
  rule: k,
@@ -255,9 +255,9 @@ function Ti(t, e) {
255
255
  continue;
256
256
  }
257
257
  const m = p + 1;
258
- let x = 1;
259
- for (p++; p < l.length && x > 0; )
260
- l[p] === "{" ? x++ : l[p] === "}" && x--, p++;
258
+ let v = 1;
259
+ for (p++; p < l.length && v > 0; )
260
+ l[p] === "{" ? v++ : l[p] === "}" && v--, p++;
261
261
  const g = l.substring(m, p - 1);
262
262
  h.push({
263
263
  type: "rule",
@@ -344,7 +344,7 @@ function Vi(t, e) {
344
344
  function ys(t) {
345
345
  return te(t) ? t : JSON.stringify(t);
346
346
  }
347
- function Rt(t, e, s, i = !1) {
347
+ function Nt(t, e, s, i = !1) {
348
348
  const r = t.CSSStyleSheet, n = i ? `data-v-${e}` : e, a = t.__uniConfig ? Vi(t, s) : s, u = i ? Ti(a, n) : a, c = !!t.__uniConfig;
349
349
  if (r.prototype.replaceSync && !c) {
350
350
  const l = new r();
@@ -377,7 +377,7 @@ function Ln(t) {
377
377
  }
378
378
  async function Oi(t, e) {
379
379
  const s = await globalThis.fetch(e).then((i) => i.text()).catch(() => "");
380
- s && Rt(globalThis, t, s);
380
+ s && Nt(globalThis, t, s);
381
381
  }
382
382
  function _s(t, e = globalThis) {
383
383
  const s = e.document, i = e.document.head;
@@ -405,7 +405,7 @@ function Fi(t) {
405
405
  return K(t) && Object.getOwnPropertyNames(t.prototype || {}).length === 0 || K(t?.install);
406
406
  }
407
407
  function Li(t) {
408
- return Ci.includes(t);
408
+ return wi.includes(t);
409
409
  }
410
410
  function ji(t) {
411
411
  return bs.includes(t);
@@ -437,14 +437,14 @@ var lt = {
437
437
  6: "enum",
438
438
  strict: "implements interface let package private protected public static yield",
439
439
  strictBind: "eval arguments"
440
- }, ht = "break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this", $i = {
440
+ }, ht = "break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this", Hi = {
441
441
  5: ht,
442
442
  "5module": ht + " export import",
443
443
  6: ht + " const class extends export import super"
444
- }, Hi = /^in(stanceof)?$/, Vt = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", ws = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_", Ui = new RegExp("[" + Vt + "]"), Gi = new RegExp("[" + Vt + ws + "]");
445
- Vt = ws = null;
446
- var Cs = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 157, 310, 10, 21, 11, 7, 153, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 107, 20, 28, 22, 13, 52, 76, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 85, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 230, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 35, 56, 264, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 190, 0, 80, 921, 103, 110, 18, 195, 2749, 1070, 4050, 582, 8634, 568, 8, 30, 114, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, 8, 8952, 286, 50, 2, 18, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 2357, 44, 11, 6, 17, 0, 370, 43, 1301, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42717, 35, 4148, 12, 221, 3, 5761, 15, 7472, 3104, 541, 1507, 4938], qi = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 370, 1, 154, 10, 176, 2, 54, 14, 32, 9, 16, 3, 46, 10, 54, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 161, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 193, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 84, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 406, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 19306, 9, 135, 4, 60, 6, 26, 9, 1014, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 5319, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 262, 6, 10, 9, 419, 13, 1495, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
447
- function St(t, e) {
444
+ }, $i = /^in(stanceof)?$/, Rt = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", Cs = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_", Ui = new RegExp("[" + Rt + "]"), Gi = new RegExp("[" + Rt + Cs + "]");
445
+ Rt = Cs = null;
446
+ var ws = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 157, 310, 10, 21, 11, 7, 153, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 107, 20, 28, 22, 13, 52, 76, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 85, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 230, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 35, 56, 264, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 190, 0, 80, 921, 103, 110, 18, 195, 2749, 1070, 4050, 582, 8634, 568, 8, 30, 114, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, 8, 8952, 286, 50, 2, 18, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 2357, 44, 11, 6, 17, 0, 370, 43, 1301, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42717, 35, 4148, 12, 221, 3, 5761, 15, 7472, 3104, 541, 1507, 4938], qi = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 370, 1, 154, 10, 176, 2, 54, 14, 32, 9, 16, 3, 46, 10, 54, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 161, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 193, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 84, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 406, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 19306, 9, 135, 4, 60, 6, 26, 9, 1014, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 5319, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 262, 6, 10, 9, 419, 13, 1495, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
447
+ function _t(t, e) {
448
448
  for (var s = 65536, i = 0; i < e.length; i += 2) {
449
449
  if (s += e[i], s > t)
450
450
  return !1;
@@ -453,20 +453,20 @@ function St(t, e) {
453
453
  }
454
454
  }
455
455
  function ae(t, e) {
456
- return t < 65 ? t === 36 : t < 91 ? !0 : t < 97 ? t === 95 : t < 123 ? !0 : t <= 65535 ? t >= 170 && Ui.test(String.fromCharCode(t)) : e === !1 ? !1 : St(t, Cs);
456
+ return t < 65 ? t === 36 : t < 91 ? !0 : t < 97 ? t === 95 : t < 123 ? !0 : t <= 65535 ? t >= 170 && Ui.test(String.fromCharCode(t)) : e === !1 ? !1 : _t(t, ws);
457
457
  }
458
458
  function ye(t, e) {
459
- return t < 48 ? t === 36 : t < 58 ? !0 : t < 65 ? !1 : t < 91 ? !0 : t < 97 ? t === 95 : t < 123 ? !0 : t <= 65535 ? t >= 170 && Gi.test(String.fromCharCode(t)) : e === !1 ? !1 : St(t, Cs) || St(t, qi);
459
+ return t < 48 ? t === 36 : t < 58 ? !0 : t < 65 ? !1 : t < 91 ? !0 : t < 97 ? t === 95 : t < 123 ? !0 : t <= 65535 ? t >= 170 && Gi.test(String.fromCharCode(t)) : e === !1 ? !1 : _t(t, ws) || _t(t, qi);
460
460
  }
461
461
  var E = function(e, s) {
462
462
  s === void 0 && (s = {}), this.label = e, this.keyword = s.keyword, this.beforeExpr = !!s.beforeExpr, this.startsExpr = !!s.startsExpr, this.isLoop = !!s.isLoop, this.isAssign = !!s.isAssign, this.prefix = !!s.prefix, this.postfix = !!s.postfix, this.binop = s.binop || null, this.updateContext = null;
463
463
  };
464
- function $(t, e) {
464
+ function H(t, e) {
465
465
  return new E(t, { beforeExpr: !0, binop: e });
466
466
  }
467
- var H = { beforeExpr: !0 }, B = { startsExpr: !0 }, Ot = {};
468
- function C(t, e) {
469
- return e === void 0 && (e = {}), e.keyword = t, Ot[t] = new E(t, e);
467
+ var $ = { beforeExpr: !0 }, B = { startsExpr: !0 }, Vt = {};
468
+ function w(t, e) {
469
+ return e === void 0 && (e = {}), e.keyword = t, Vt[t] = new E(t, e);
470
470
  }
471
471
  var o = {
472
472
  num: new E("num", B),
@@ -481,16 +481,16 @@ var o = {
481
481
  braceR: new E("}"),
482
482
  parenL: new E("(", { beforeExpr: !0, startsExpr: !0 }),
483
483
  parenR: new E(")"),
484
- comma: new E(",", H),
485
- semi: new E(";", H),
486
- colon: new E(":", H),
484
+ comma: new E(",", $),
485
+ semi: new E(";", $),
486
+ colon: new E(":", $),
487
487
  dot: new E("."),
488
- question: new E("?", H),
488
+ question: new E("?", $),
489
489
  questionDot: new E("?."),
490
- arrow: new E("=>", H),
490
+ arrow: new E("=>", $),
491
491
  template: new E("template"),
492
492
  invalidTemplate: new E("invalidTemplate"),
493
- ellipsis: new E("...", H),
493
+ ellipsis: new E("...", $),
494
494
  backQuote: new E("`", B),
495
495
  dollarBraceL: new E("${", { beforeExpr: !0, startsExpr: !0 }),
496
496
  // Operators. These carry several kinds of properties to help the
@@ -510,56 +510,56 @@ var o = {
510
510
  assign: new E("_=", { beforeExpr: !0, isAssign: !0 }),
511
511
  incDec: new E("++/--", { prefix: !0, postfix: !0, startsExpr: !0 }),
512
512
  prefix: new E("!/~", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
513
- logicalOR: $("||", 1),
514
- logicalAND: $("&&", 2),
515
- bitwiseOR: $("|", 3),
516
- bitwiseXOR: $("^", 4),
517
- bitwiseAND: $("&", 5),
518
- equality: $("==/!=/===/!==", 6),
519
- relational: $("</>/<=/>=", 7),
520
- bitShift: $("<</>>/>>>", 8),
513
+ logicalOR: H("||", 1),
514
+ logicalAND: H("&&", 2),
515
+ bitwiseOR: H("|", 3),
516
+ bitwiseXOR: H("^", 4),
517
+ bitwiseAND: H("&", 5),
518
+ equality: H("==/!=/===/!==", 6),
519
+ relational: H("</>/<=/>=", 7),
520
+ bitShift: H("<</>>/>>>", 8),
521
521
  plusMin: new E("+/-", { beforeExpr: !0, binop: 9, prefix: !0, startsExpr: !0 }),
522
- modulo: $("%", 10),
523
- star: $("*", 10),
524
- slash: $("/", 10),
522
+ modulo: H("%", 10),
523
+ star: H("*", 10),
524
+ slash: H("/", 10),
525
525
  starstar: new E("**", { beforeExpr: !0 }),
526
- coalesce: $("??", 1),
526
+ coalesce: H("??", 1),
527
527
  // Keyword token types.
528
- _break: C("break"),
529
- _case: C("case", H),
530
- _catch: C("catch"),
531
- _continue: C("continue"),
532
- _debugger: C("debugger"),
533
- _default: C("default", H),
534
- _do: C("do", { isLoop: !0, beforeExpr: !0 }),
535
- _else: C("else", H),
536
- _finally: C("finally"),
537
- _for: C("for", { isLoop: !0 }),
538
- _function: C("function", B),
539
- _if: C("if"),
540
- _return: C("return", H),
541
- _switch: C("switch"),
542
- _throw: C("throw", H),
543
- _try: C("try"),
544
- _var: C("var"),
545
- _const: C("const"),
546
- _while: C("while", { isLoop: !0 }),
547
- _with: C("with"),
548
- _new: C("new", { beforeExpr: !0, startsExpr: !0 }),
549
- _this: C("this", B),
550
- _super: C("super", B),
551
- _class: C("class", B),
552
- _extends: C("extends", H),
553
- _export: C("export"),
554
- _import: C("import", B),
555
- _null: C("null", B),
556
- _true: C("true", B),
557
- _false: C("false", B),
558
- _in: C("in", { beforeExpr: !0, binop: 7 }),
559
- _instanceof: C("instanceof", { beforeExpr: !0, binop: 7 }),
560
- _typeof: C("typeof", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
561
- _void: C("void", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
562
- _delete: C("delete", { beforeExpr: !0, prefix: !0, startsExpr: !0 })
528
+ _break: w("break"),
529
+ _case: w("case", $),
530
+ _catch: w("catch"),
531
+ _continue: w("continue"),
532
+ _debugger: w("debugger"),
533
+ _default: w("default", $),
534
+ _do: w("do", { isLoop: !0, beforeExpr: !0 }),
535
+ _else: w("else", $),
536
+ _finally: w("finally"),
537
+ _for: w("for", { isLoop: !0 }),
538
+ _function: w("function", B),
539
+ _if: w("if"),
540
+ _return: w("return", $),
541
+ _switch: w("switch"),
542
+ _throw: w("throw", $),
543
+ _try: w("try"),
544
+ _var: w("var"),
545
+ _const: w("const"),
546
+ _while: w("while", { isLoop: !0 }),
547
+ _with: w("with"),
548
+ _new: w("new", { beforeExpr: !0, startsExpr: !0 }),
549
+ _this: w("this", B),
550
+ _super: w("super", B),
551
+ _class: w("class", B),
552
+ _extends: w("extends", $),
553
+ _export: w("export"),
554
+ _import: w("import", B),
555
+ _null: w("null", B),
556
+ _true: w("true", B),
557
+ _false: w("false", B),
558
+ _in: w("in", { beforeExpr: !0, binop: 7 }),
559
+ _instanceof: w("instanceof", { beforeExpr: !0, binop: 7 }),
560
+ _typeof: w("typeof", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
561
+ _void: w("void", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
562
+ _delete: w("delete", { beforeExpr: !0, prefix: !0, startsExpr: !0 })
563
563
  }, G = /\r\n?|\n|\u2028|\u2029/, Ne = new RegExp(G.source, "g");
564
564
  function Fe(t, e) {
565
565
  return t === 10 || t === 13 || !e && (t === 8232 || t === 8233);
@@ -593,7 +593,7 @@ function Is(t, e) {
593
593
  return new Re(s, e - i);
594
594
  }
595
595
  }
596
- var wt = {
596
+ var St = {
597
597
  // `ecmaVersion` indicates the ECMAScript version to parse. Must be
598
598
  // either 3, 5, 6 (2015), 7 (2016), 8 (2017), 9 (2018), or 10
599
599
  // (2019). This influences support for strict mode, the set of
@@ -679,8 +679,8 @@ var wt = {
679
679
  };
680
680
  function zi(t) {
681
681
  var e = {};
682
- for (var s in wt)
683
- e[s] = t && Xe(t, s) ? t[s] : wt[s];
682
+ for (var s in St)
683
+ e[s] = t && Xe(t, s) ? t[s] : St[s];
684
684
  if (e.ecmaVersion >= 2015 && (e.ecmaVersion -= 2009), e.allowReserved == null && (e.allowReserved = e.ecmaVersion < 5), is(e.onToken)) {
685
685
  var i = e.onToken;
686
686
  e.onToken = function(r) {
@@ -700,12 +700,12 @@ function Ji(t, e) {
700
700
  t.locations && (c.loc = new Ze(this, a, u)), t.ranges && (c.range = [r, n]), e.push(c);
701
701
  };
702
702
  }
703
- var Ve = 1, Le = 2, Ft = Ve | Le, As = 4, Ps = 8, Ts = 16, Ns = 32, Rs = 64, Vs = 128;
704
- function Lt(t, e) {
703
+ var Ve = 1, Le = 2, Ot = Ve | Le, As = 4, Ps = 8, Ts = 16, Ns = 32, Rs = 64, Vs = 128;
704
+ function Ft(t, e) {
705
705
  return Le | (t ? As : 0) | (e ? Ps : 0);
706
706
  }
707
- var rs = 0, jt = 1, ee = 2, Os = 3, Fs = 4, Ls = 5, A = function(e, s, i) {
708
- this.options = e = zi(e), this.sourceFile = e.sourceFile, this.keywords = he($i[e.ecmaVersion >= 6 ? 6 : e.sourceType === "module" ? "5module" : 5]);
707
+ var rs = 0, Lt = 1, ee = 2, Os = 3, Fs = 4, Ls = 5, A = function(e, s, i) {
708
+ this.options = e = zi(e), this.sourceFile = e.sourceFile, this.keywords = he(Hi[e.ecmaVersion >= 6 ? 6 : e.sourceType === "module" ? "5module" : 5]);
709
709
  var r = "";
710
710
  if (e.allowReserved !== !0) {
711
711
  for (var n = e.ecmaVersion; !(r = lt[n]); n--)
@@ -844,7 +844,7 @@ y.parseTopLevel = function(t) {
844
844
  }
845
845
  return this.adaptDirectivePrologue(t.body), this.next(), t.sourceType = this.options.sourceType, this.finishNode(t, "Program");
846
846
  };
847
- var Mt = { kind: "loop" }, Yi = { kind: "switch" };
847
+ var jt = { kind: "loop" }, Yi = { kind: "switch" };
848
848
  y.isLet = function(t) {
849
849
  if (this.options.ecmaVersion < 6 || !this.isContextual("let"))
850
850
  return !1;
@@ -860,7 +860,7 @@ y.isLet = function(t) {
860
860
  for (var r = s + 1; ye(this.input.charCodeAt(r), !0); )
861
861
  ++r;
862
862
  var n = this.input.slice(s, r);
863
- if (!Hi.test(n))
863
+ if (!$i.test(n))
864
864
  return !0;
865
865
  }
866
866
  return !1;
@@ -944,12 +944,12 @@ y.parseDebuggerStatement = function(t) {
944
944
  return this.next(), this.semicolon(), this.finishNode(t, "DebuggerStatement");
945
945
  };
946
946
  y.parseDoStatement = function(t) {
947
- return this.next(), this.labels.push(Mt), t.body = this.parseStatement("do"), this.labels.pop(), this.expect(o._while), t.test = this.parseParenExpression(), this.options.ecmaVersion >= 6 ? this.eat(o.semi) : this.semicolon(), this.finishNode(t, "DoWhileStatement");
947
+ return this.next(), this.labels.push(jt), t.body = this.parseStatement("do"), this.labels.pop(), this.expect(o._while), t.test = this.parseParenExpression(), this.options.ecmaVersion >= 6 ? this.eat(o.semi) : this.semicolon(), this.finishNode(t, "DoWhileStatement");
948
948
  };
949
949
  y.parseForStatement = function(t) {
950
950
  this.next();
951
951
  var e = this.options.ecmaVersion >= 9 && (this.inAsync || !this.inFunction && this.options.allowAwaitOutsideFunction) && this.eatContextual("await") ? this.lastTokStart : -1;
952
- if (this.labels.push(Mt), this.enterScope(0), this.expect(o.parenL), this.type === o.semi)
952
+ if (this.labels.push(jt), this.enterScope(0), this.expect(o.parenL), this.type === o.semi)
953
953
  return e > -1 && this.unexpected(e), this.parseFor(t, null);
954
954
  var s = this.isLet();
955
955
  if (this.type === o._var || this.type === o._const || s) {
@@ -999,7 +999,7 @@ y.parseVarStatement = function(t, e) {
999
999
  return this.next(), this.parseVar(t, !1, e), this.semicolon(), this.finishNode(t, "VariableDeclaration");
1000
1000
  };
1001
1001
  y.parseWhileStatement = function(t) {
1002
- return this.next(), t.test = this.parseParenExpression(), this.labels.push(Mt), t.body = this.parseStatement("while"), this.labels.pop(), this.finishNode(t, "WhileStatement");
1002
+ return this.next(), t.test = this.parseParenExpression(), this.labels.push(jt), t.body = this.parseStatement("while"), this.labels.pop(), this.finishNode(t, "WhileStatement");
1003
1003
  };
1004
1004
  y.parseWithStatement = function(t) {
1005
1005
  return this.strict && this.raise(this.start, "'with' in strict mode"), this.next(), t.object = this.parseParenExpression(), t.body = this.parseStatement("with"), this.finishNode(t, "WithStatement");
@@ -1050,13 +1050,13 @@ y.parseVar = function(t, e, s) {
1050
1050
  return t;
1051
1051
  };
1052
1052
  y.parseVarId = function(t, e) {
1053
- t.id = this.parseBindingAtom(), this.checkLVal(t.id, e === "var" ? jt : ee, !1);
1053
+ t.id = this.parseBindingAtom(), this.checkLVal(t.id, e === "var" ? Lt : ee, !1);
1054
1054
  };
1055
1055
  var Ae = 1, Ct = 2, js = 4;
1056
1056
  y.parseFunction = function(t, e, s, i) {
1057
- this.initFunction(t), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !i) && (this.type === o.star && e & Ct && this.unexpected(), t.generator = this.eat(o.star)), this.options.ecmaVersion >= 8 && (t.async = !!i), e & Ae && (t.id = e & js && this.type !== o.name ? null : this.parseIdent(), t.id && !(e & Ct) && this.checkLVal(t.id, this.strict || t.generator || t.async ? this.treatFunctionsAsVar ? jt : ee : Os));
1057
+ this.initFunction(t), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !i) && (this.type === o.star && e & Ct && this.unexpected(), t.generator = this.eat(o.star)), this.options.ecmaVersion >= 8 && (t.async = !!i), e & Ae && (t.id = e & js && this.type !== o.name ? null : this.parseIdent(), t.id && !(e & Ct) && this.checkLVal(t.id, this.strict || t.generator || t.async ? this.treatFunctionsAsVar ? Lt : ee : Os));
1058
1058
  var r = this.yieldPos, n = this.awaitPos, a = this.awaitIdentPos;
1059
- return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Lt(t.async, t.generator)), e & Ae || (t.id = this.type === o.name ? this.parseIdent() : null), this.parseFunctionParams(t), this.parseFunctionBody(t, s, !1), this.yieldPos = r, this.awaitPos = n, this.awaitIdentPos = a, this.finishNode(t, e & Ae ? "FunctionDeclaration" : "FunctionExpression");
1059
+ return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Ft(t.async, t.generator)), e & Ae || (t.id = this.type === o.name ? this.parseIdent() : null), this.parseFunctionParams(t), this.parseFunctionBody(t, s, !1), this.yieldPos = r, this.awaitPos = n, this.awaitIdentPos = a, this.finishNode(t, e & Ae ? "FunctionDeclaration" : "FunctionExpression");
1060
1060
  };
1061
1061
  y.parseFunctionParams = function(t) {
1062
1062
  this.expect(o.parenL), t.params = this.parseBindingList(o.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams();
@@ -1486,8 +1486,8 @@ _.parseSubscript = function(t, e, s, i, r, n) {
1486
1486
  if (r && !u && !this.canInsertSemicolon() && this.eat(o.arrow))
1487
1487
  return this.checkPatternErrors(h, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = p, this.awaitPos = d, this.awaitIdentPos = f, this.parseArrowExpression(this.startNodeAt(e, s), m, !0);
1488
1488
  this.checkExpressionErrors(h, !0), this.yieldPos = p || this.yieldPos, this.awaitPos = d || this.awaitPos, this.awaitIdentPos = f || this.awaitIdentPos;
1489
- var x = this.startNodeAt(e, s);
1490
- x.callee = t, x.arguments = m, a && (x.optional = u), t = this.finishNode(x, "CallExpression");
1489
+ var v = this.startNodeAt(e, s);
1490
+ v.callee = t, v.arguments = m, a && (v.optional = u), t = this.finishNode(v, "CallExpression");
1491
1491
  } else if (this.type === o.backQuote) {
1492
1492
  (u || n) && this.raise(this.start, "Optional chaining cannot appear in the tag of tagged template expressions");
1493
1493
  var g = this.startNodeAt(e, s);
@@ -1593,10 +1593,10 @@ _.parseParenAndDistinguishExpression = function(t) {
1593
1593
  break;
1594
1594
  } else
1595
1595
  u.push(this.parseMaybeAssign(!1, h, this.parseParenItem));
1596
- var m = this.start, x = this.startLoc;
1596
+ var m = this.start, v = this.startLoc;
1597
1597
  if (this.expect(o.parenR), t && !this.canInsertSemicolon() && this.eat(o.arrow))
1598
1598
  return this.checkPatternErrors(h, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = p, this.awaitPos = d, this.parseParenArrowList(e, s, u);
1599
- (!u.length || l) && this.unexpected(this.lastTokStart), f && this.unexpected(f), this.checkExpressionErrors(h, !0), this.yieldPos = p || this.yieldPos, this.awaitPos = d || this.awaitPos, u.length > 1 ? (i = this.startNodeAt(n, a), i.expressions = u, this.finishNodeAt(i, "SequenceExpression", m, x)) : i = u[0];
1599
+ (!u.length || l) && this.unexpected(this.lastTokStart), f && this.unexpected(f), this.checkExpressionErrors(h, !0), this.yieldPos = p || this.yieldPos, this.awaitPos = d || this.awaitPos, u.length > 1 ? (i = this.startNodeAt(n, a), i.expressions = u, this.finishNodeAt(i, "SequenceExpression", m, v)) : i = u[0];
1600
1600
  } else
1601
1601
  i = this.parseParenExpression();
1602
1602
  if (this.options.preserveParens) {
@@ -1696,11 +1696,11 @@ _.initFunction = function(t) {
1696
1696
  };
1697
1697
  _.parseMethod = function(t, e, s) {
1698
1698
  var i = this.startNode(), r = this.yieldPos, n = this.awaitPos, a = this.awaitIdentPos;
1699
- return this.initFunction(i), this.options.ecmaVersion >= 6 && (i.generator = t), this.options.ecmaVersion >= 8 && (i.async = !!e), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Lt(e, i.generator) | Rs | (s ? Vs : 0)), this.expect(o.parenL), i.params = this.parseBindingList(o.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(i, !1, !0), this.yieldPos = r, this.awaitPos = n, this.awaitIdentPos = a, this.finishNode(i, "FunctionExpression");
1699
+ return this.initFunction(i), this.options.ecmaVersion >= 6 && (i.generator = t), this.options.ecmaVersion >= 8 && (i.async = !!e), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Ft(e, i.generator) | Rs | (s ? Vs : 0)), this.expect(o.parenL), i.params = this.parseBindingList(o.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(i, !1, !0), this.yieldPos = r, this.awaitPos = n, this.awaitIdentPos = a, this.finishNode(i, "FunctionExpression");
1700
1700
  };
1701
1701
  _.parseArrowExpression = function(t, e, s) {
1702
1702
  var i = this.yieldPos, r = this.awaitPos, n = this.awaitIdentPos;
1703
- return this.enterScope(Lt(s, !1) | Ts), this.initFunction(t), this.options.ecmaVersion >= 8 && (t.async = !!s), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, t.params = this.toAssignableList(e, !0), this.parseFunctionBody(t, !0, !1), this.yieldPos = i, this.awaitPos = r, this.awaitIdentPos = n, this.finishNode(t, "ArrowFunctionExpression");
1703
+ return this.enterScope(Ft(s, !1) | Ts), this.initFunction(t), this.options.ecmaVersion >= 8 && (t.async = !!s), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, t.params = this.toAssignableList(e, !0), this.parseFunctionBody(t, !0, !1), this.yieldPos = i, this.awaitPos = r, this.awaitIdentPos = n, this.finishNode(t, "ArrowFunctionExpression");
1704
1704
  };
1705
1705
  _.parseFunctionBody = function(t, e, s) {
1706
1706
  var i = e && this.type !== o.braceL, r = this.strict, n = !1;
@@ -1725,7 +1725,7 @@ _.isSimpleParamList = function(t) {
1725
1725
  _.checkParams = function(t, e) {
1726
1726
  for (var s = {}, i = 0, r = t.params; i < r.length; i += 1) {
1727
1727
  var n = r[i];
1728
- this.checkLVal(n, jt, e ? null : s);
1728
+ this.checkLVal(n, Lt, e ? null : s);
1729
1729
  }
1730
1730
  };
1731
1731
  _.parseExprList = function(t, e, s, i) {
@@ -1802,7 +1802,7 @@ oe.declareName = function(t, e, s) {
1802
1802
  i = !0;
1803
1803
  break;
1804
1804
  }
1805
- if (c.var.push(t), this.inModule && c.flags & Ve && delete this.undefinedExports[t], c.flags & Ft)
1805
+ if (c.var.push(t), this.inModule && c.flags & Ve && delete this.undefinedExports[t], c.flags & Ot)
1806
1806
  break;
1807
1807
  }
1808
1808
  i && this.raiseRecoverable(s, "Identifier '" + t + "' has already been declared");
@@ -1816,25 +1816,25 @@ oe.currentScope = function() {
1816
1816
  oe.currentVarScope = function() {
1817
1817
  for (var t = this.scopeStack.length - 1; ; t--) {
1818
1818
  var e = this.scopeStack[t];
1819
- if (e.flags & Ft)
1819
+ if (e.flags & Ot)
1820
1820
  return e;
1821
1821
  }
1822
1822
  };
1823
1823
  oe.currentThisScope = function() {
1824
1824
  for (var t = this.scopeStack.length - 1; ; t--) {
1825
1825
  var e = this.scopeStack[t];
1826
- if (e.flags & Ft && !(e.flags & Ts))
1826
+ if (e.flags & Ot && !(e.flags & Ts))
1827
1827
  return e;
1828
1828
  }
1829
1829
  };
1830
- var Dt = function(e, s, i) {
1830
+ var Mt = function(e, s, i) {
1831
1831
  this.type = "", this.start = s, this.end = 0, e.options.locations && (this.loc = new Ze(e, i)), e.options.directSourceFile && (this.sourceFile = e.options.directSourceFile), e.options.ranges && (this.range = [s, 0]);
1832
1832
  }, tt = A.prototype;
1833
1833
  tt.startNode = function() {
1834
- return new Dt(this, this.start, this.startLoc);
1834
+ return new Mt(this, this.start, this.startLoc);
1835
1835
  };
1836
1836
  tt.startNodeAt = function(t, e) {
1837
- return new Dt(this, t, e);
1837
+ return new Mt(this, t, e);
1838
1838
  };
1839
1839
  function Ms(t, e, s, i) {
1840
1840
  return t.type = e, t.end = s, this.options.locations && (t.loc.end = i), this.options.ranges && (t.range[1] = s), t;
@@ -1921,12 +1921,12 @@ var Ds = "ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control
1921
1921
  9: Ds,
1922
1922
  10: Bs,
1923
1923
  11: tr
1924
- }, ns = "Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu", $s = "Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb", Hs = $s + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd", ir = Hs + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", rr = {
1925
- 9: $s,
1926
- 10: Hs,
1924
+ }, ns = "Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu", Hs = "Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb", $s = Hs + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd", ir = $s + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", rr = {
1925
+ 9: Hs,
1926
+ 10: $s,
1927
1927
  11: ir
1928
1928
  }, Us = {};
1929
- function Bt(t) {
1929
+ function Dt(t) {
1930
1930
  var e = Us[t] = {
1931
1931
  binary: he(sr[t] + " " + ns),
1932
1932
  nonBinary: {
@@ -1936,9 +1936,9 @@ function Bt(t) {
1936
1936
  };
1937
1937
  e.nonBinary.Script_Extensions = e.nonBinary.Script, e.nonBinary.gc = e.nonBinary.General_Category, e.nonBinary.sc = e.nonBinary.Script, e.nonBinary.scx = e.nonBinary.Script_Extensions;
1938
1938
  }
1939
- Bt(9);
1940
- Bt(10);
1941
- Bt(11);
1939
+ Dt(9);
1940
+ Dt(10);
1941
+ Dt(11);
1942
1942
  var b = A.prototype, ie = function(e) {
1943
1943
  this.parser = e, this.validFlags = "gim" + (e.options.ecmaVersion >= 6 ? "uy" : "") + (e.options.ecmaVersion >= 9 ? "s" : ""), this.unicodeProperties = Us[e.options.ecmaVersion >= 11 ? 11 : e.options.ecmaVersion], this.source = "", this.flags = "", this.start = 0, this.switchU = !1, this.switchN = !1, this.pos = 0, this.lastIntValue = 0, this.lastStringValue = "", this.lastAssertionIsQuantifiable = !1, this.numCapturingParens = 0, this.maxBackReference = 0, this.groupNames = [], this.backReferenceNames = [];
1944
1944
  };
@@ -2557,14 +2557,14 @@ b.regexp_eatFixedHexDigits = function(t, e) {
2557
2557
  }
2558
2558
  return !0;
2559
2559
  };
2560
- var $t = function(e) {
2560
+ var Bt = function(e) {
2561
2561
  this.type = e.type, this.value = e.value, this.start = e.start, this.end = e.end, e.options.locations && (this.loc = new Ze(e, e.startLoc, e.endLoc)), e.options.ranges && (this.range = [e.start, e.end]);
2562
2562
  }, S = A.prototype;
2563
2563
  S.next = function(t) {
2564
- !t && this.type.keyword && this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword " + this.type.keyword), this.options.onToken && this.options.onToken(new $t(this)), this.lastTokEnd = this.end, this.lastTokStart = this.start, this.lastTokEndLoc = this.endLoc, this.lastTokStartLoc = this.startLoc, this.nextToken();
2564
+ !t && this.type.keyword && this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword " + this.type.keyword), this.options.onToken && this.options.onToken(new Bt(this)), this.lastTokEnd = this.end, this.lastTokStart = this.start, this.lastTokEndLoc = this.endLoc, this.lastTokStartLoc = this.startLoc, this.nextToken();
2565
2565
  };
2566
2566
  S.getToken = function() {
2567
- return this.next(), new $t(this);
2567
+ return this.next(), new Bt(this);
2568
2568
  };
2569
2569
  typeof Symbol < "u" && (S[Symbol.iterator] = function() {
2570
2570
  var t = this;
@@ -3046,25 +3046,25 @@ S.readWord1 = function() {
3046
3046
  };
3047
3047
  S.readWord = function() {
3048
3048
  var t = this.readWord1(), e = o.name;
3049
- return this.keywords.test(t) && (e = Ot[t]), this.finishToken(e, t);
3049
+ return this.keywords.test(t) && (e = Vt[t]), this.finishToken(e, t);
3050
3050
  };
3051
3051
  var hr = "7.4.1";
3052
3052
  A.acorn = {
3053
3053
  Parser: A,
3054
3054
  version: hr,
3055
- defaultOptions: wt,
3055
+ defaultOptions: St,
3056
3056
  Position: Re,
3057
3057
  SourceLocation: Ze,
3058
3058
  getLineInfo: Is,
3059
- Node: Dt,
3059
+ Node: Mt,
3060
3060
  TokenType: E,
3061
3061
  tokTypes: o,
3062
- keywordTypes: Ot,
3062
+ keywordTypes: Vt,
3063
3063
  TokContext: q,
3064
3064
  tokContexts: I,
3065
3065
  isIdentifierChar: ye,
3066
3066
  isIdentifierStart: ae,
3067
- Token: $t,
3067
+ Token: Bt,
3068
3068
  isNewLine: Fe,
3069
3069
  lineBreak: G,
3070
3070
  lineBreakG: Ne,
@@ -3077,7 +3077,7 @@ class fr extends Error {
3077
3077
  }
3078
3078
  class dr extends SyntaxError {
3079
3079
  }
3080
- class Et extends ReferenceError {
3080
+ class wt extends ReferenceError {
3081
3081
  }
3082
3082
  class mr extends TypeError {
3083
3083
  }
@@ -3085,7 +3085,7 @@ class Xs extends fr {
3085
3085
  }
3086
3086
  class gr extends dr {
3087
3087
  }
3088
- class W extends Et {
3088
+ class W extends wt {
3089
3089
  }
3090
3090
  const O = {
3091
3091
  ExecutionTimeOutError: [3002, "Script execution timed out after %0ms", Xs],
@@ -3111,10 +3111,10 @@ const O = {
3111
3111
  VariableTypeSyntaxError: [1008, "Unknown variable type: %0", W],
3112
3112
  ParamTypeSyntaxError: [1009, "Unknown param type: %0", W],
3113
3113
  AssignmentTypeSyntaxError: [1010, "Unknown assignment type: %0", W],
3114
- FunctionUndefinedReferenceError: [2001, "%0 is not a function", Et],
3115
- VariableUndefinedReferenceError: [2002, "%0 is not defined", Et],
3114
+ FunctionUndefinedReferenceError: [2001, "%0 is not a function", wt],
3115
+ VariableUndefinedReferenceError: [2002, "%0 is not defined", wt],
3116
3116
  IsNotConstructor: [2003, "%0 is not a constructor", mr]
3117
- }, vr = "1.4.8";
3117
+ }, xr = "1.4.8";
3118
3118
  function as(t, e) {
3119
3119
  Object.defineProperty(t, "name", {
3120
3120
  value: e,
@@ -3123,7 +3123,7 @@ function as(t, e) {
3123
3123
  configurable: !0
3124
3124
  });
3125
3125
  }
3126
- const xr = Object.prototype.hasOwnProperty, me = Symbol("Break"), ge = Symbol("Continue"), os = Symbol("DefaultCase"), V = Symbol("EmptyStatementReturn"), us = Symbol("WithScopeName"), cs = Symbol("SuperScopeName"), ls = Symbol("RootScopeName"), hs = Symbol("GlobalScopeName");
3126
+ const vr = Object.prototype.hasOwnProperty, me = Symbol("Break"), ge = Symbol("Continue"), os = Symbol("DefaultCase"), V = Symbol("EmptyStatementReturn"), us = Symbol("WithScopeName"), cs = Symbol("SuperScopeName"), ls = Symbol("RootScopeName"), hs = Symbol("GlobalScopeName");
3127
3127
  function pt(t) {
3128
3128
  return typeof t == "function";
3129
3129
  }
@@ -3151,7 +3151,7 @@ class ne {
3151
3151
  };
3152
3152
  }
3153
3153
  }
3154
- function Ut(t, e, s = !0) {
3154
+ function $t(t, e, s = !0) {
3155
3155
  if (!(t instanceof ne))
3156
3156
  throw new Error("Illegal call");
3157
3157
  if (typeof e != "string")
@@ -3166,13 +3166,13 @@ function Ut(t, e, s = !0) {
3166
3166
  }, a = s ? i.getGlobalScope() : i.getCurrentScope();
3167
3167
  return new M(a, n).evaluate(e);
3168
3168
  }
3169
- Object.defineProperty(Ut, "__IS_EVAL_FUNC", {
3169
+ Object.defineProperty($t, "__IS_EVAL_FUNC", {
3170
3170
  value: !0,
3171
3171
  writable: !1,
3172
3172
  enumerable: !1,
3173
3173
  configurable: !1
3174
3174
  });
3175
- function Gt(t, ...e) {
3175
+ function Ut(t, ...e) {
3176
3176
  if (!(t instanceof ne))
3177
3177
  throw new Error("Illegal call");
3178
3178
  const s = t.generator(), i = e.pop(), r = new M(s.getGlobalScope(), s.getOptions()), n = `
@@ -3182,7 +3182,7 @@ function Gt(t, ...e) {
3182
3182
  `;
3183
3183
  return r.evaluate(n);
3184
3184
  }
3185
- Object.defineProperty(Gt, "__IS_FUNCTION_FUNC", {
3185
+ Object.defineProperty(Ut, "__IS_FUNCTION_FUNC", {
3186
3186
  value: !0,
3187
3187
  writable: !1,
3188
3188
  enumerable: !1,
@@ -3203,15 +3203,15 @@ class re {
3203
3203
  this.value = e;
3204
3204
  }
3205
3205
  }
3206
- class ve {
3206
+ class xe {
3207
3207
  constructor(e, s = null, i) {
3208
3208
  this.name = i, this.parent = s, this.data = e, this.labelStack = [];
3209
3209
  }
3210
3210
  }
3211
- function He() {
3211
+ function $e() {
3212
3212
  }
3213
3213
  function br(t = null, e) {
3214
- return new ve(/* @__PURE__ */ Object.create(null), t, e);
3214
+ return new xe(/* @__PURE__ */ Object.create(null), t, e);
3215
3215
  }
3216
3216
  function yr(t) {
3217
3217
  return Object.create(t);
@@ -3245,8 +3245,8 @@ const X = {
3245
3245
  encodeURIComponent,
3246
3246
  escape,
3247
3247
  unescape,
3248
- eval: Ut,
3249
- Function: Gt
3248
+ eval: $t,
3249
+ Function: Ut
3250
3250
  };
3251
3251
  typeof JSON < "u" && (X.JSON = JSON);
3252
3252
  typeof Promise < "u" && (X.Promise = Promise);
@@ -3269,12 +3269,12 @@ class M {
3269
3269
  }
3270
3270
  initEnvironment(e) {
3271
3271
  let s;
3272
- if (e instanceof ve)
3272
+ if (e instanceof xe)
3273
3273
  s = e;
3274
3274
  else {
3275
3275
  let r = null;
3276
3276
  const n = this.createSuperScope(e);
3277
- this.options.rootContext && (r = new ve(yr(this.options.rootContext), n, ls)), s = new ve(e, r || n, hs);
3277
+ this.options.rootContext && (r = new xe(yr(this.options.rootContext), n, ls)), s = new xe(e, r || n, hs);
3278
3278
  }
3279
3279
  this.globalScope = s, this.currentScope = this.globalScope, this.globalContext = s.data, this.currentContext = s.data, this.collectDeclVars = /* @__PURE__ */ Object.create(null), this.collectDeclFuncs = /* @__PURE__ */ Object.create(null), this.execStartTime = Date.now(), this.execEndTime = this.execStartTime;
3280
3280
  const i = this.options._initEnv;
@@ -3308,7 +3308,7 @@ class M {
3308
3308
  let s = Object.assign({}, X);
3309
3309
  return Object.keys(s).forEach((r) => {
3310
3310
  r in e && delete s[r];
3311
- }), new ve(s, null, cs);
3311
+ }), new xe(s, null, cs);
3312
3312
  }
3313
3313
  setCurrentContext(e) {
3314
3314
  this.currentContext = e;
@@ -3640,8 +3640,8 @@ class M {
3640
3640
  set: f
3641
3641
  });
3642
3642
  else {
3643
- const m = c.property, x = m.kind;
3644
- m.key.type === "Identifier" && m.value.type === "FunctionExpression" && x === "init" && !m.value.id && as(p, m.key.name), n[l] = p;
3643
+ const m = c.property, v = m.kind;
3644
+ m.key.type === "Identifier" && m.value.type === "FunctionExpression" && v === "init" && !m.value.id && as(p, m.key.name), n[l] = p;
3645
3645
  }
3646
3646
  }
3647
3647
  return n;
@@ -3715,14 +3715,14 @@ class M {
3715
3715
  return this.collectDeclVars = r, this.collectDeclFuncs = n, () => {
3716
3716
  const d = s.getCurrentScope(), f = function(...m) {
3717
3717
  s.callStack.push(`${a}`);
3718
- const x = s.getCurrentScope(), g = br(d, `FunctionScope(${a})`);
3719
- s.setCurrentScope(g), s.addDeclarationsToScope(h, p, g), a && (g.data[a] = f), g.data.arguments = arguments, c.forEach((N, w) => {
3720
- g.data[N()] = m[w];
3718
+ const v = s.getCurrentScope(), g = br(d, `FunctionScope(${a})`);
3719
+ s.setCurrentScope(g), s.addDeclarationsToScope(h, p, g), a && (g.data[a] = f), g.data.arguments = arguments, c.forEach((N, C) => {
3720
+ g.data[N()] = m[C];
3721
3721
  });
3722
- const v = s.getCurrentContext();
3722
+ const x = s.getCurrentContext();
3723
3723
  s.setCurrentContext(this);
3724
3724
  const k = l();
3725
- if (s.setCurrentContext(v), s.setCurrentScope(x), s.callStack.pop(), k instanceof Y)
3725
+ if (s.setCurrentContext(x), s.setCurrentScope(v), s.callStack.pop(), k instanceof Y)
3726
3726
  return k.value;
3727
3727
  };
3728
3728
  return as(f, a), Object.defineProperty(f, "length", {
@@ -3906,7 +3906,7 @@ class M {
3906
3906
  }
3907
3907
  // return xx;
3908
3908
  returnStatementHandler(e) {
3909
- const s = e.argument ? this.createClosure(e.argument) : He;
3909
+ const s = e.argument ? this.createClosure(e.argument) : $e;
3910
3910
  return () => new Y(s());
3911
3911
  }
3912
3912
  // if else
@@ -3923,9 +3923,9 @@ class M {
3923
3923
  }
3924
3924
  // for(var i = 0; i < 10; i++) {...}
3925
3925
  forStatementHandler(e) {
3926
- let s = He, i = e.test ? this.createClosure(e.test) : () => !0, r = He;
3926
+ let s = $e, i = e.test ? this.createClosure(e.test) : () => !0, r = $e;
3927
3927
  const n = this.createClosure(e.body);
3928
- return e.type === "ForStatement" && (s = e.init ? this.createClosure(e.init) : s, r = e.update ? this.createClosure(e.update) : He), (a) => {
3928
+ return e.type === "ForStatement" && (s = e.init ? this.createClosure(e.init) : s, r = e.update ? this.createClosure(e.update) : $e), (a) => {
3929
3929
  let u, c = V, l = e.type === "DoWhileStatement";
3930
3930
  for (a && a.type === "LabeledStatement" && (u = a.label.name), s(); l || i(); r()) {
3931
3931
  l = !1;
@@ -3986,7 +3986,7 @@ class M {
3986
3986
  withStatementHandler(e) {
3987
3987
  const s = this.createClosure(e.object), i = this.createClosure(e.body);
3988
3988
  return () => {
3989
- const r = s(), n = this.getCurrentScope(), a = new ve(r, n, us);
3989
+ const r = s(), n = this.getCurrentScope(), a = new xe(r, n, us);
3990
3990
  this.setCurrentScope(a);
3991
3991
  const u = this.setValue(i());
3992
3992
  return this.setCurrentScope(n), u;
@@ -4039,7 +4039,7 @@ class M {
4039
4039
  const s = this.createParamNameGetter(e.param), i = this.createClosure(e.body);
4040
4040
  return (r) => {
4041
4041
  let n;
4042
- const u = this.getCurrentScope().data, c = s(), l = xr.call(u, c), h = u[c];
4042
+ const u = this.getCurrentScope().data, c = s(), l = vr.call(u, c), h = u[c];
4043
4043
  return u[c] = r, n = i(), l ? u[c] = h : delete u[c], n;
4044
4044
  };
4045
4045
  }
@@ -4173,9 +4173,9 @@ class M {
4173
4173
  return this.value;
4174
4174
  }
4175
4175
  }
4176
- M.version = vr;
4177
- M.eval = Ut;
4178
- M.Function = Gt;
4176
+ M.version = xr;
4177
+ M.eval = $t;
4178
+ M.Function = Ut;
4179
4179
  M.ecmaVersion = 5;
4180
4180
  M.globalContextInFunction = void 0;
4181
4181
  M.global = /* @__PURE__ */ Object.create(null);
@@ -4214,13 +4214,13 @@ ${a}
4214
4214
  ` : `with(${s ? "{}" : "$scope || {}"}) { ${a} }`;
4215
4215
  return _r ? new Function("$scope", u)(e) : Sr(u, e);
4216
4216
  } catch (n) {
4217
- if (xe.error("parseExpression.error", n, t, e?.__self ?? e), n && (n.info = t.value), ze(n), i)
4217
+ if (ve.error("parseExpression.error", n, t, e?.__self ?? e), n && (n.info = t.value), ze(n), i)
4218
4218
  throw n;
4219
4219
  }
4220
4220
  }
4221
4221
  function z(t, e, s = !1, i = !1, r = !1) {
4222
4222
  const n = Oe(t, e, s, i, r);
4223
- if (typeof n != "function" && (xe.error(
4223
+ if (typeof n != "function" && (ve.error(
4224
4224
  "parseFunction.error",
4225
4225
  "not a function",
4226
4226
  t,
@@ -4235,13 +4235,13 @@ function R(t) {
4235
4235
  function F(t) {
4236
4236
  return typeof t == "object" && t && t.type === "JSFunction";
4237
4237
  }
4238
- function wr(t) {
4238
+ function Cr(t) {
4239
4239
  return R(t) || F(t);
4240
4240
  }
4241
4241
  function Mn(t) {
4242
- return wr(t) ? t.value.startsWith("{") ? `(${t.value})` : t.value : JSON.stringify(t);
4242
+ return Cr(t) ? t.value.startsWith("{") ? `(${t.value})` : t.value : JSON.stringify(t);
4243
4243
  }
4244
- const Cr = {
4244
+ const wr = {
4245
4245
  session: !1,
4246
4246
  authKey: "Authorization",
4247
4247
  storageKey: "ACCESS_STORAGE",
@@ -4255,14 +4255,14 @@ const Cr = {
4255
4255
  appName: "",
4256
4256
  statusKey: "code"
4257
4257
  }, Zs = Symbol("access");
4258
- class qt {
4258
+ class Gt {
4259
4259
  options;
4260
4260
  data = null;
4261
4261
  mode = T.Raw;
4262
4262
  interceptResponse = !0;
4263
4263
  isTipShowing = !1;
4264
4264
  constructor(e) {
4265
- this.options = Object.assign({}, Cr, e), this.loadData();
4265
+ this.options = Object.assign({}, wr, e), this.loadData();
4266
4266
  }
4267
4267
  enableIntercept() {
4268
4268
  this.interceptResponse = !0;
@@ -4301,13 +4301,13 @@ class qt {
4301
4301
  const { appName: s } = this.options, { permissions: i = {} } = this.data || {};
4302
4302
  if (typeof e == "function")
4303
4303
  return e(i);
4304
- const r = Xt(e);
4304
+ const r = Yt(e);
4305
4305
  return Array.isArray(i) ? r.every(
4306
4306
  (n) => i.includes(n) || i.includes(s + "." + n)
4307
4307
  ) : r.every((n) => i[n] || i[s + "." + n]);
4308
4308
  }
4309
4309
  some(e) {
4310
- const { appName: s } = this.options, { permissions: i = {} } = this.data || {}, r = Xt(e);
4310
+ const { appName: s } = this.options, { permissions: i = {} } = this.data || {}, r = Yt(e);
4311
4311
  return Array.isArray(i) ? r.some(
4312
4312
  (n) => i.includes(n) || i.includes(s + "." + n)
4313
4313
  ) : r.some((n) => i[n] || i[s + "." + n]);
@@ -4334,7 +4334,7 @@ class qt {
4334
4334
  setData(e) {
4335
4335
  const { privateKey: s } = this.options;
4336
4336
  if (Array.isArray(e) && s) {
4337
- const i = e.map((r) => Zt(r, s));
4337
+ const i = e.map((r) => Xt(r, s));
4338
4338
  try {
4339
4339
  this.data = JSON.parse(i.join(""));
4340
4340
  } catch (r) {
@@ -4344,7 +4344,7 @@ class qt {
4344
4344
  }
4345
4345
  if (typeof e == "string")
4346
4346
  try {
4347
- const i = s ? Zt(e, s) : e;
4347
+ const i = s ? Xt(e, s) : e;
4348
4348
  i ? this.data = JSON.parse(i) : console.warn("RSA解密失败或登录信息缺失");
4349
4349
  } catch (i) {
4350
4350
  console.warn(i);
@@ -4419,7 +4419,7 @@ class qt {
4419
4419
  }
4420
4420
  }
4421
4421
  function Er() {
4422
- return Nt(Zs, null);
4422
+ return Tt(Zs, null);
4423
4423
  }
4424
4424
  function Dn(t = {}) {
4425
4425
  const {
@@ -4460,11 +4460,11 @@ function Dn(t = {}) {
4460
4460
  useTitle: a,
4461
4461
  alert: u,
4462
4462
  startupComponent: r,
4463
- access: n ? new qt({ alert: u, ...n }) : void 0
4463
+ access: n ? new Gt({ alert: u, ...n }) : void 0
4464
4464
  };
4465
4465
  }
4466
4466
  function Bn(t = {}) {
4467
- return new qt(t);
4467
+ return new Gt(t);
4468
4468
  }
4469
4469
  function kr(t, e) {
4470
4470
  const { jsonp: s, request: i } = e;
@@ -4519,7 +4519,7 @@ function Tr(t, e = globalThis) {
4519
4519
  try {
4520
4520
  n = await s.apply(s, r);
4521
4521
  } catch (a) {
4522
- xe.warn("模拟数据模版异常", a);
4522
+ ve.warn("模拟数据模版异常", a);
4523
4523
  }
4524
4524
  return i?.mock(n);
4525
4525
  };
@@ -4529,7 +4529,7 @@ function Nr(t, e) {
4529
4529
  const { url: s, mockTemplate: i, method: r = "get", settings: n = {} } = e;
4530
4530
  if (s && i)
4531
4531
  try {
4532
- const a = vt(s) ? new URL(s).pathname : s, u = fi(`(.*)${a}`, [], { end: !1 }), c = new RegExp(
4532
+ const a = xt(s) ? new URL(s).pathname : s, u = fi(`(.*)${a}`, [], { end: !1 }), c = new RegExp(
4533
4533
  u.source + "([?#].*)?$",
4534
4534
  u.flags
4535
4535
  ), l = di(a, { decode: decodeURIComponent }), h = Oe(i, {}, !0);
@@ -4543,17 +4543,17 @@ function Nr(t, e) {
4543
4543
  if (f === "json")
4544
4544
  try {
4545
4545
  m = JSON.parse(m);
4546
- } catch (v) {
4547
- console.warn("[Mock.mock]", v);
4546
+ } catch (x) {
4547
+ console.warn("[Mock.mock]", x);
4548
4548
  }
4549
4549
  else
4550
4550
  m = pe.parse(m);
4551
- const x = vt(p.url) ? new URL(p.url).pathname : p.url.split("?")[0], g = l(x)?.params;
4551
+ const v = xt(p.url) ? new URL(p.url).pathname : p.url.split("?")[0], g = l(v)?.params;
4552
4552
  Object.assign(p, { data: m, params: g, query: d });
4553
4553
  try {
4554
4554
  return t.mock(h(p));
4555
- } catch (v) {
4556
- return console.warn("[mockApi]", c, p, v), null;
4555
+ } catch (x) {
4556
+ return console.warn("[mockApi]", c, p, x), null;
4557
4557
  }
4558
4558
  }
4559
4559
  );
@@ -4629,12 +4629,12 @@ class ps {
4629
4629
  __proxy() {
4630
4630
  if (!this.__instance) return;
4631
4631
  const e = this.__instance;
4632
- _t.forEach((s) => {
4632
+ ss.forEach((s) => {
4633
4633
  this[s] = e[s] || e._?.[s.replace("$", "")] || null;
4634
4634
  });
4635
4635
  }
4636
4636
  __cleanup() {
4637
- _t.forEach((e) => {
4637
+ ss.forEach((e) => {
4638
4638
  this[e] = null;
4639
4639
  }), this.__reset(), this.__refGenerations = {};
4640
4640
  }
@@ -4693,7 +4693,7 @@ class ps {
4693
4693
  }
4694
4694
  }
4695
4695
  const ft = Symbol("vtjBlockChain");
4696
- function kt(t) {
4696
+ function Et(t) {
4697
4697
  const {
4698
4698
  Vue: e = be,
4699
4699
  UniApp: s = {},
@@ -4717,81 +4717,81 @@ function kt(t) {
4717
4717
  ...Vr(c.value.props ?? [], h)
4718
4718
  },
4719
4719
  async setup(d = {}) {
4720
- const f = c.value.id, m = c.value.name, x = e.inject(
4720
+ const f = c.value.id, m = c.value.name, v = e.inject(
4721
4721
  ft,
4722
4722
  null
4723
4723
  );
4724
- if (f && x && x.has(f)) {
4724
+ if (f && v && v.has(f)) {
4725
4725
  const Q = `检测到区块循环引用: ${m}(${f})`;
4726
- return console.warn(`[VTJ Renderer] ${Q},已中断渲染以防止浏览器崩溃`), ze(new Error(Q)), e.provide(ft, x), { __vtjCircular: !0 };
4726
+ return console.warn(`[VTJ Renderer] ${Q},已中断渲染以防止浏览器崩溃`), ze(new Error(Q)), e.provide(ft, v), { __vtjCircular: !0 };
4727
4727
  }
4728
- const g = new Set(x || []);
4728
+ const g = new Set(v || []);
4729
4729
  f && g.add(f), e.provide(ft, g);
4730
- const v = new ps({
4730
+ const x = new ps({
4731
4731
  mode: i,
4732
4732
  dsl: c.value,
4733
4733
  attrs: l
4734
4734
  });
4735
- v.$props = v.props = d, c.value.id && Rt(
4735
+ x.$props = x.props = d, c.value.id && Nt(
4736
4736
  t.window || globalThis,
4737
4737
  c.value.id,
4738
4738
  c.value.css || "",
4739
4739
  !0
4740
4740
  );
4741
4741
  const k = c.value.apiMode === "composition";
4742
- v.$state = v.state = Or(
4742
+ x.$state = x.state = Or(
4743
4743
  e,
4744
4744
  c.value.state ?? {},
4745
- v
4745
+ x
4746
4746
  );
4747
- const N = k ? Br(e, c.value.refs ?? {}, v) : {}, w = k ? $r(e, c.value.reactives ?? {}, v) : {}, D = Fr(e, c.value.computed ?? {}, v), de = Lr(c.value.methods ?? {}, v), Se = jr(e, c.value.inject, v), J = Mr(
4747
+ const N = k ? Br(e, c.value.refs ?? {}, x) : {}, C = k ? Hr(e, c.value.reactives ?? {}, x) : {}, D = Fr(e, c.value.computed ?? {}, x), de = Lr(c.value.methods ?? {}, x), Se = jr(e, c.value.inject, x), J = Mr(
4748
4748
  c.value.dataSources || {},
4749
- v
4749
+ x
4750
4750
  );
4751
4751
  let Me = {};
4752
- k && (Me = Hr(
4752
+ k && (Me = $r(
4753
4753
  c.value.composables ?? [],
4754
- v
4754
+ x
4755
4755
  ));
4756
4756
  const rt = {
4757
4757
  ...d,
4758
4758
  ...N,
4759
- ...w,
4759
+ ...C,
4760
4760
  ...Se,
4761
4761
  ...D,
4762
4762
  ...de,
4763
4763
  ...J,
4764
4764
  ...Me
4765
4765
  };
4766
- if (v.setup(rt, e), e.onMounted(() => {
4767
- fs(v, h);
4766
+ if (x.setup(rt, e), e.onMounted(() => {
4767
+ fs(x, h);
4768
4768
  }), k && c.value.props && c.value.props.length > 0) {
4769
4769
  const Q = /* @__PURE__ */ new Set([
4770
4770
  ...Object.keys(N),
4771
- ...Object.keys(w),
4771
+ ...Object.keys(C),
4772
4772
  ...Object.keys(D)
4773
4773
  ]);
4774
4774
  for (const ue of c.value.props) {
4775
- const we = typeof ue == "string" ? ue : ue.name;
4776
- Q.has(we) || Object.defineProperty(v, we, {
4775
+ const Ce = typeof ue == "string" ? ue : ue.name;
4776
+ Q.has(Ce) || Object.defineProperty(x, Ce, {
4777
4777
  get() {
4778
- return this.$props[we];
4778
+ return this.$props[Ce];
4779
4779
  },
4780
- set(zt) {
4780
+ set(Kt) {
4781
4781
  },
4782
4782
  configurable: !0,
4783
4783
  enumerable: !0
4784
4784
  });
4785
4785
  }
4786
4786
  }
4787
- if (Dr(e, c.value.watch ?? [], v), k) {
4787
+ if (Dr(e, c.value.watch ?? [], x), k) {
4788
4788
  if (await Gr(
4789
4789
  e,
4790
4790
  c.value.lifeCycles ?? {},
4791
- v,
4791
+ x,
4792
4792
  s
4793
4793
  ), c.value.setup) {
4794
- const Q = v.__parseFunction(c.value.setup);
4794
+ const Q = x.__parseFunction(c.value.setup);
4795
4795
  if (K(Q))
4796
4796
  try {
4797
4797
  await Q();
@@ -4799,14 +4799,14 @@ function kt(t) {
4799
4799
  console.warn("[VTJ] Composition setup 执行失败", ue);
4800
4800
  }
4801
4801
  }
4802
- Ur(e, c.value.provide ?? {}, v);
4802
+ Ur(e, c.value.provide ?? {}, x);
4803
4803
  }
4804
4804
  return {
4805
- vtj: v,
4806
- state: v.$state,
4805
+ vtj: x,
4806
+ state: x.$state,
4807
4807
  ...d,
4808
4808
  ...N,
4809
- ...w,
4809
+ ...C,
4810
4810
  ...D,
4811
4811
  ...de
4812
4812
  };
@@ -4821,13 +4821,13 @@ function kt(t) {
4821
4821
  for (const g of Object.keys(f.refs)) this[g];
4822
4822
  if (f.reactives)
4823
4823
  for (const g of Object.keys(f.reactives)) {
4824
- const v = this[g];
4825
- if (v && typeof v == "object")
4826
- for (const k of Object.keys(v)) v[k];
4824
+ const x = this[g];
4825
+ if (x && typeof x == "object")
4826
+ for (const k of Object.keys(x)) x[k];
4827
4827
  }
4828
4828
  if (f.state) {
4829
4829
  const g = this.state;
4830
- for (const v of Object.keys(f.state)) g[v];
4830
+ for (const x of Object.keys(f.state)) g[x];
4831
4831
  }
4832
4832
  if (f.computed)
4833
4833
  for (const g of Object.keys(f.computed)) this[g];
@@ -4835,19 +4835,19 @@ function kt(t) {
4835
4835
  for (const g of f.inject) this[g.name];
4836
4836
  if (f.props && f.props.length > 0)
4837
4837
  for (const g of f.props) {
4838
- const v = typeof g == "string" ? g : g.name;
4839
- this[v];
4838
+ const x = typeof g == "string" ? g : g.name;
4839
+ this[x];
4840
4840
  }
4841
4841
  if (!f.nodes) return null;
4842
4842
  const m = f.nodes || [];
4843
- let x;
4843
+ let v;
4844
4844
  if (m.length === 1)
4845
- x = _e(m[0], d, e, u, m);
4845
+ v = _e(m[0], d, e, u, m);
4846
4846
  else {
4847
- const g = m.map((v) => _e(v, d, e, u, m)).flat();
4848
- x = e.createVNode("div", {}, g);
4847
+ const g = m.map((x) => _e(x, d, e, u, m)).flat();
4848
+ v = e.createVNode("div", {}, g);
4849
4849
  }
4850
- return fs(d, h), x;
4850
+ return fs(d, h), v;
4851
4851
  },
4852
4852
  // Options 模式下生命周期以 Options 风格注册
4853
4853
  ...c.value.apiMode !== "composition" ? qr(c.value.lifeCycles ?? {}, h) : {}
@@ -4858,17 +4858,13 @@ function kt(t) {
4858
4858
  };
4859
4859
  }
4860
4860
  function fs(t, e) {
4861
- if (t !== e) {
4862
- e.__contextRefs = t.__contextRefs, e.__refs = t.__refs, e.$refs = t.$refs, e.$state = t.$state, e.$props = t.$props, e.$uni = t.$uni, e.$getApp = t.$getApp, e.$provider = t.$provider;
4863
- for (const s of _t)
4864
- e[s] = t[s];
4865
- }
4861
+ t !== e && (Object.assign(e, t), delete e.__refGenerations, delete e.__refCaches, delete e.__transform);
4866
4862
  }
4867
4863
  function Rr(t = []) {
4868
4864
  return t.map((e) => te(e) ? e : e.name);
4869
4865
  }
4870
4866
  function Vr(t = [], e) {
4871
- const s = (i) => i ? (Array.isArray(i) ? i : [i]).map((n) => wi[n]) : void 0;
4867
+ const s = (i) => i ? (Array.isArray(i) ? i : [i]).map((n) => Ci[n]) : void 0;
4872
4868
  return t.map((i) => te(i) ? {
4873
4869
  name: i
4874
4870
  } : {
@@ -4957,7 +4953,7 @@ function Br(t, e, s) {
4957
4953
  {}
4958
4954
  );
4959
4955
  }
4960
- function $r(t, e, s) {
4956
+ function Hr(t, e, s) {
4961
4957
  return Object.entries(e).reduce(
4962
4958
  (i, [r, n]) => {
4963
4959
  const a = R(n) ? s.__parseExpression(n) : n;
@@ -4966,7 +4962,7 @@ function $r(t, e, s) {
4966
4962
  {}
4967
4963
  );
4968
4964
  }
4969
- function Hr(t, e) {
4965
+ function $r(t, e) {
4970
4966
  return t.reduce(
4971
4967
  (s, i) => {
4972
4968
  try {
@@ -5105,7 +5101,7 @@ class Wr {
5105
5101
  this.__props = {}, this.__events = {}, this.__nodes = {};
5106
5102
  }
5107
5103
  }
5108
- const Ce = new Wr(), ti = new gi();
5104
+ const we = new Wr(), ti = new gi();
5109
5105
  let dt = [], le = {}, Ee = {};
5110
5106
  const Kr = (t, e) => e;
5111
5107
  async function si(t, e = globalThis) {
@@ -5116,7 +5112,7 @@ async function si(t, e = globalThis) {
5116
5112
  (u) => (console.warn("loadScriptUrl error", r, i, u), null)
5117
5113
  );
5118
5114
  }
5119
- function It(t) {
5115
+ function kt(t) {
5120
5116
  const { getDsl: e, getDslByUrl: s, options: i } = t;
5121
5117
  return i.window && (dt.forEach((r) => {
5122
5118
  delete i.window[r];
@@ -5129,23 +5125,23 @@ function It(t) {
5129
5125
  a.id,
5130
5126
  () => e(a.id)
5131
5127
  );
5132
- return l && (l.name = n, le[a.id] = l), l ? kt({
5128
+ return l && (l.name = n, le[a.id] = l), l ? Et({
5133
5129
  Vue: u,
5134
5130
  mode: T.Runtime,
5135
5131
  ...i,
5136
- dsl: es(l),
5137
- loader: It(t)
5132
+ dsl: Zt(l),
5133
+ loader: kt(t)
5138
5134
  }).renderer : null;
5139
5135
  }));
5140
5136
  if (a.type === "UrlSchema" && a.url)
5141
5137
  return c = a.url + "_" + r, Ee[c] || (Ee[c] = u.defineAsyncComponent(async () => {
5142
5138
  const l = le[a.url] || await s(a.url);
5143
- return l && (l.name = n, le[a.url] = l), l ? kt({
5139
+ return l && (l.name = n, le[a.url] = l), l ? Et({
5144
5140
  ...i,
5145
5141
  Vue: u,
5146
- dsl: es(l),
5142
+ dsl: Zt(l),
5147
5143
  mode: T.Runtime,
5148
- loader: It(t)
5144
+ loader: kt(t)
5149
5145
  }).renderer : null;
5150
5146
  }));
5151
5147
  if (a.type === "Plugin") {
@@ -5160,67 +5156,67 @@ function It(t) {
5160
5156
  return n;
5161
5157
  };
5162
5158
  }
5163
- function $n() {
5164
- le = {}, Ee = {}, ti.clearAllCache(), Ce.clear();
5159
+ function Hn() {
5160
+ le = {}, Ee = {}, ti.clearAllCache(), we.clear();
5165
5161
  }
5166
5162
  function _e(t, e, s = be, i = Kr, r = [], n = !1, a = 0) {
5167
5163
  if (!t || !t.name || t.invisible) return null;
5168
- const u = s.getCurrentInstance()?.appContext, { id: c = null, directives: l = [] } = t, { vIf: h, vElseIf: p, vElse: d, vFor: f, vShow: m, vModels: x, vBind: g, vHtml: v, others: k } = ii(l);
5164
+ const u = s.getCurrentInstance()?.appContext, { id: c = null, directives: l = [] } = t, { vIf: h, vElseIf: p, vElse: d, vFor: f, vShow: m, vModels: v, vBind: g, vHtml: x, others: k } = ii(l);
5169
5165
  if (!n && (p || d))
5170
5166
  return null;
5171
5167
  if (h && !Jr(h, e))
5172
5168
  return tn(t, e, s, i, r);
5173
- const N = (w, D = 0) => {
5174
- const de = w.$components, Se = (() => {
5169
+ const N = (C, D = 0) => {
5170
+ const de = C.$components, Se = (() => {
5175
5171
  if (t.name === "component")
5176
- return Qr(w, t.props?.is);
5172
+ return Qr(C, t.props?.is);
5177
5173
  if (t.name === "slot") return t.name;
5178
5174
  const P = i(`${t.id}_${D}`, t.name, t.from, s);
5179
5175
  return te(P) ? Li(P) || ji(P) ? P : de[P] ?? u?.app?.component(P) ?? P : P;
5180
- })(), J = Yr(c, t.props ?? {}, w), Me = en(
5176
+ })(), J = Yr(c, t.props ?? {}, C), Me = en(
5181
5177
  s,
5182
5178
  t.id,
5183
5179
  t.events ?? {},
5184
- w
5180
+ C
5185
5181
  );
5186
5182
  if (t.name === "slot")
5187
- return sn(s, t, J, w, i);
5188
- g && Object.assign(J, w.__parseExpression(g.value)), m && (J.style = Object.assign(
5183
+ return sn(s, t, J, C, i);
5184
+ g && Object.assign(J, C.__parseExpression(g.value)), m && (J.style = Object.assign(
5189
5185
  J.style ?? {},
5190
- nn(m, w)
5191
- )), v && Object.assign(J, an(v, w)), x.forEach((P) => {
5192
- bs.includes(t.name) ? Object.assign(J, on(P, w)) : Object.assign(J, un(s, P, w));
5186
+ nn(m, C)
5187
+ )), x && Object.assign(J, an(x, C)), v.forEach((P) => {
5188
+ bs.includes(t.name) ? Object.assign(J, on(P, C)) : Object.assign(J, un(s, P, C));
5193
5189
  });
5194
5190
  const rt = cn(
5195
5191
  s,
5196
5192
  t.children ?? [],
5197
- w,
5193
+ C,
5198
5194
  i,
5199
5195
  t
5200
- ), Q = w?.__id ? `data-v-${w.__id}` : void 0, ue = Q ? { [Q]: "" } : {}, we = w.__mode === T.Design ? { "data-vtj": c } : {}, { ref: zt, ...De } = J, ui = Object.keys(De).filter(
5196
+ ), Q = C?.__id ? `data-v-${C.__id}` : void 0, ue = Q ? { [Q]: "" } : {}, Ce = C.__mode === T.Design ? { "data-vtj": c } : {}, { ref: Kt, ...De } = J, ui = Object.keys(De).filter(
5201
5197
  (P) => P.startsWith("on")
5202
- ), Jt = {}, Qt = {};
5198
+ ), zt = {}, Jt = {};
5203
5199
  for (const P of Object.keys(De))
5204
- ui.includes(P) ? Jt[P] = De[P] : Qt[P] = De[P];
5200
+ ui.includes(P) ? zt[P] = De[P] : Jt[P] = De[P];
5205
5201
  const Be = `${c}_${D}`, nt = {
5206
5202
  key: Be,
5207
5203
  ...ue,
5208
- ...we,
5209
- ...Qt
5204
+ ...Ce,
5205
+ ...Jt
5210
5206
  };
5211
- Ce.isNodeEqual(nt, Ce.getNode(Be)) || Ce.setNode(Be, nt);
5207
+ we.isNodeEqual(nt, we.getNode(Be)) || we.setNode(Be, nt);
5212
5208
  let at = s.createVNode(
5213
5209
  Se,
5214
5210
  {
5215
- ...Ce.getNode(Be) || nt,
5216
- ref: zt,
5217
- ...Jt,
5211
+ ...we.getNode(Be) || nt,
5212
+ ref: Kt,
5213
+ ...zt,
5218
5214
  ...Me
5219
5215
  },
5220
5216
  rt
5221
5217
  );
5222
- const Yt = u ? zr(u, k, w) : [];
5223
- return Yt.length && (at = s.withDirectives(at, Yt)), at;
5218
+ const Qt = u ? zr(u, k, C) : [];
5219
+ return Qt.length && (at = s.withDirectives(at, Qt)), at;
5224
5220
  };
5225
5221
  return f ? pn(f, N, e) : N(e, a);
5226
5222
  }
@@ -5260,14 +5256,14 @@ function Qr(t, e) {
5260
5256
  return e ? R(e) ? t.__parseExpression(e) : e : "div";
5261
5257
  }
5262
5258
  function Yr(t, e, s) {
5263
- const i = At(e, s);
5259
+ const i = It(e, s);
5264
5260
  return i.ref = s.__ref(t, i.ref), i;
5265
5261
  }
5266
- function At(t, e) {
5267
- return R(t) ? e.__parseExpression(t) : F(t) ? e.__parseFunction(t) : Array.isArray(t) ? t.map((s) => At(s, e)) : typeof t == "object" ? Object.keys(t || {}).reduce(
5262
+ function It(t, e) {
5263
+ return R(t) ? e.__parseExpression(t) : F(t) ? e.__parseFunction(t) : Array.isArray(t) ? t.map((s) => It(s, e)) : typeof t == "object" ? Object.keys(t || {}).reduce(
5268
5264
  (s, i) => {
5269
5265
  let r = t[i];
5270
- return s[i] = At(r, e), s;
5266
+ return s[i] = It(r, e), s;
5271
5267
  },
5272
5268
  {}
5273
5269
  ) : t;
@@ -5298,7 +5294,7 @@ function en(t, e, s, i) {
5298
5294
  };
5299
5295
  return Object.keys(s || {}).reduce(
5300
5296
  (u, c) => {
5301
- const l = s[c], h = ri(l.modifiers), p = h.find((m) => r.includes(m)), d = "on" + vi(c) + (p && n[p] || ""), f = l.handler ? i.__parseFunction(Zr(l.handler)) : null;
5297
+ const l = s[c], h = ri(l.modifiers), p = h.find((m) => r.includes(m)), d = "on" + xi(c) + (p && n[p] || ""), f = l.handler ? i.__parseFunction(Zr(l.handler)) : null;
5302
5298
  return f && (u[d] = t.withModifiers(
5303
5299
  h.includes("enter") ? Xr(f, "enter") : f,
5304
5300
  h
@@ -5394,16 +5390,16 @@ function cn(t, e, s, i, r) {
5394
5390
  } : c ? { [c]: /* @__PURE__ */ Object.create(null) } : {};
5395
5391
  return Object.entries(n).reduce(
5396
5392
  (u, [c, { nodes: l, params: h, scope: p }]) => (u[c] = (d) => {
5397
- const f = h.length ? xi(d ?? {}, h) : a(d, p);
5393
+ const f = h.length ? vi(d ?? {}, h) : a(d, p);
5398
5394
  return l.map(
5399
- (m, x) => _e(
5395
+ (m, v) => _e(
5400
5396
  m,
5401
5397
  s.__clone(f),
5402
5398
  t,
5403
5399
  i,
5404
5400
  l,
5405
5401
  !1,
5406
- x
5402
+ v
5407
5403
  )
5408
5404
  );
5409
5405
  }, u),
@@ -5432,10 +5428,10 @@ function pn(t, e, s) {
5432
5428
  let u = s.__parseExpression(i) || [];
5433
5429
  return Number.isInteger(u) && (u = new Array(u).fill(!0).map((c, l) => l + 1)), Array.isArray(u) ? u.map((c, l) => e(s.__clone({ [n]: c, [a]: l }), l)) : (console.warn("[vForRender]:", `${i?.value} is not a Arrary`), []);
5434
5430
  }
5435
- const mt = vs({
5431
+ const mt = xs({
5436
5432
  name: "VtjPageContainer",
5437
5433
  async setup() {
5438
- const t = ai(), e = xs(), s = e.meta.__vtj__ || e.params.id, i = s ? t.getPage(s) : t.getHomepage(), r = i ? await t.getRenderComponent(i.id) : null, n = yt(Symbol());
5434
+ const t = ai(), e = vs(), s = e.meta.__vtj__ || e.params.id, i = s ? t.getPage(s) : t.getHomepage(), r = i ? await t.getRenderComponent(i.id) : null, n = yt(Symbol());
5439
5435
  if (i) {
5440
5436
  Object.assign(e.meta, i.meta || {}, { cache: i.cache });
5441
5437
  const { useTitle: a } = t?.adapter;
@@ -5465,7 +5461,7 @@ const mt = vs({
5465
5461
  activated() {
5466
5462
  this.meta.cache === !1 && (this.sid = Symbol());
5467
5463
  }
5468
- }), fn = vs({
5464
+ }), fn = xs({
5469
5465
  name: "VtjStartupContainer",
5470
5466
  render() {
5471
5467
  return bt("div", "page not found!");
@@ -5503,29 +5499,29 @@ function ni(t, e) {
5503
5499
  e.can(i.id.toString()) && s.push(i);
5504
5500
  return s;
5505
5501
  }
5506
- function Hn(t) {
5502
+ function $n(t) {
5507
5503
  const {
5508
5504
  menuPathPrefix: e = "",
5509
5505
  pageRouteName: s = "page",
5510
5506
  disableMenusFilter: i = !1
5511
- } = t || {}, r = ai(), n = xs(), a = Er(), u = yt(!1), c = yt(!1), l = r.project, h = (f, m) => {
5507
+ } = t || {}, r = ai(), n = vs(), a = Er(), u = yt(!1), c = yt(!1), l = r.project, h = (f, m) => {
5512
5508
  u.value = !f?.mask, c.value = m?.pure ?? !!f?.pure;
5513
5509
  };
5514
5510
  _i(() => {
5515
- const { name: f, params: m, meta: x } = n;
5511
+ const { name: f, params: m, meta: v } = n;
5516
5512
  if (f === Ie) {
5517
5513
  const g = r.getPage(m.id);
5518
- h(g, x);
5514
+ h(g, v);
5519
5515
  } else if (f === Ge) {
5520
5516
  const g = r.getHomepage();
5521
- h(g, x);
5517
+ h(g, v);
5522
5518
  } else {
5523
- const g = x.__vtj__;
5519
+ const g = v.__vtj__;
5524
5520
  if (g) {
5525
- const v = r.getPage(g);
5526
- h(v, x);
5521
+ const x = r.getPage(g);
5522
+ h(x, v);
5527
5523
  } else
5528
- u.value = !x.mask, c.value = !!x.pure;
5524
+ u.value = !v.mask, c.value = !!v.pure;
5529
5525
  }
5530
5526
  });
5531
5527
  const p = Je(
@@ -5556,7 +5552,7 @@ function gt(t, e) {
5556
5552
  }
5557
5553
  };
5558
5554
  }
5559
- function Pt(t) {
5555
+ function At(t) {
5560
5556
  const {
5561
5557
  name: e = "page",
5562
5558
  prefix: s = "",
@@ -5567,9 +5563,9 @@ function Pt(t) {
5567
5563
  homepage: u
5568
5564
  } = t, c = [];
5569
5565
  for (const l of i) {
5570
- const { id: h, title: p, dir: d, layout: f, children: m, meta: x } = l;
5566
+ const { id: h, title: p, dir: d, layout: f, children: m, meta: v } = l;
5571
5567
  if (d) {
5572
- const g = Pt({
5568
+ const g = At({
5573
5569
  name: e,
5574
5570
  prefix: s,
5575
5571
  component: r,
@@ -5580,7 +5576,7 @@ function Pt(t) {
5580
5576
  });
5581
5577
  c.push(...g);
5582
5578
  } else if (f) {
5583
- const g = Pt({
5579
+ const g = At({
5584
5580
  name: e,
5585
5581
  prefix: s,
5586
5582
  component: r,
@@ -5588,19 +5584,19 @@ function Pt(t) {
5588
5584
  homepage: u,
5589
5585
  loader: n,
5590
5586
  pages: m || []
5591
- }), v = {
5587
+ }), x = {
5592
5588
  name: `layout_${h}`,
5593
5589
  path: s,
5594
5590
  component: () => n(h),
5595
5591
  meta: {
5596
5592
  title: p,
5597
5593
  ...a,
5598
- ...x,
5594
+ ...v,
5599
5595
  __vtj__: h
5600
5596
  },
5601
5597
  children: g
5602
5598
  };
5603
- c.push(v), c.push(gt(l, t));
5599
+ c.push(x), c.push(gt(l, t));
5604
5600
  } else if (c.push(gt(l, t)), u === h) {
5605
5601
  const g = gt(l, t);
5606
5602
  g.path = "", g.name = `home_${h}`, c.push(g);
@@ -5610,7 +5606,7 @@ function Pt(t) {
5610
5606
  }
5611
5607
  function dn(t = {}, e) {
5612
5608
  const { css: s, store: i, enhance: r } = t, { window: n, app: a, library: u = {}, adapter: c, mode: l } = e, { Pinia: h } = u;
5613
- a.config.globalProperties.$libs = u, Rt(n, "global-css", s || ""), h && i && mn(i, a, h), vn(a, c, t), !c.access && t.access && gn(t.access, a, l, c), xn(a, t), r && bn(r, a, u);
5609
+ a.config.globalProperties.$libs = u, Nt(n, "global-css", s || ""), h && i && mn(i, a, h), xn(a, c, t), !c.access && t.access && gn(t.access, a, l, c), vn(a, t), r && bn(r, a, u);
5614
5610
  }
5615
5611
  function mn(t, e, s) {
5616
5612
  if (!e.config.globalProperties.$pinia) {
@@ -5624,7 +5620,7 @@ function mn(t, e, s) {
5624
5620
  }
5625
5621
  function gn(t, e, s, i) {
5626
5622
  if (F(t) && t.value) {
5627
- const r = z(t, {}, !1, !1, !0), { alert: n, request: a } = i, u = new qt({
5623
+ const r = z(t, {}, !1, !1, !0), { alert: n, request: a } = i, u = new Gt({
5628
5624
  alert: n,
5629
5625
  storagePrefix: "__VTJ_APP_",
5630
5626
  ...r(e)
@@ -5632,7 +5628,7 @@ function gn(t, e, s, i) {
5632
5628
  u.connect({ mode: s, router: c, request: a }), e.use(u);
5633
5629
  }
5634
5630
  }
5635
- function vn(t, e, s) {
5631
+ function xn(t, e, s) {
5636
5632
  if (!e.request) return;
5637
5633
  const { axios: i, request: r, response: n } = s;
5638
5634
  if (i && F(i) && i.value) {
@@ -5648,7 +5644,7 @@ function vn(t, e, s) {
5648
5644
  u.__unRes && u.__unRes(), u.__unRes = e.request.useResponse((c) => a(c, t));
5649
5645
  }
5650
5646
  }
5651
- function xn(t, e) {
5647
+ function vn(t, e) {
5652
5648
  const { beforeEach: s, afterEach: i } = e, r = t.config.globalProperties.$router;
5653
5649
  if (s && F(s) && s.value) {
5654
5650
  const n = z(s, {}, !1, !1, !0);
@@ -5681,7 +5677,7 @@ function yn(t, e, s) {
5681
5677
  t.use(c);
5682
5678
  }
5683
5679
  }
5684
- const Wt = Symbol("Provider");
5680
+ const qt = Symbol("Provider");
5685
5681
  var _n = /* @__PURE__ */ ((t) => (t.Production = "production", t.Development = "development", t))(_n || {});
5686
5682
  class Sn extends ci {
5687
5683
  /**
@@ -5714,7 +5710,7 @@ class Sn extends ci {
5714
5710
  // 全局变量
5715
5711
  modules = {};
5716
5712
  // 异步模块加载器
5717
- adapter = { request: xt, jsonp: gs };
5713
+ adapter = { request: vt, jsonp: gs };
5718
5714
  // 适配器接口
5719
5715
  apis = {};
5720
5716
  // API集合
@@ -5752,7 +5748,7 @@ class Sn extends ci {
5752
5748
  try {
5753
5749
  i = await e.apply(e, s);
5754
5750
  } catch (n) {
5755
- xe.warn("模拟数据模版异常", n);
5751
+ ve.warn("模拟数据模版异常", n);
5756
5752
  }
5757
5753
  const r = Te();
5758
5754
  return r || console.warn(
@@ -5810,19 +5806,19 @@ class Sn extends ci {
5810
5806
  /* Development */
5811
5807
  );
5812
5808
  Object.assign(this.libraryLocaleMap, m);
5813
- for (const x of l) {
5814
- const g = i[x], v = e[x];
5815
- if (v)
5816
- r[x] = v;
5809
+ for (const v of l) {
5810
+ const g = i[v], x = e[v];
5811
+ if (x)
5812
+ r[v] = x;
5817
5813
  else if (g)
5818
- e[x] = r[x] = await g();
5814
+ e[v] = r[v] = await g();
5819
5815
  else {
5820
- const N = h[x] || [];
5821
- for (const w of N)
5822
- Qe(w) && await Oi(w, pe.append(w, { v: ke })), Ye(w) && await ts(pe.append(w, { v: ke }));
5823
- r[x] = e[x];
5816
+ const N = h[v] || [];
5817
+ for (const C of N)
5818
+ Qe(C) && await Oi(C, pe.append(C, { v: ke })), Ye(C) && await es(pe.append(C, { v: ke }));
5819
+ r[v] = e[v];
5824
5820
  }
5825
- const k = m[x];
5821
+ const k = m[v];
5826
5822
  if (k) {
5827
5823
  const N = i[k];
5828
5824
  c[k] = N ? await N() : e[k];
@@ -5830,17 +5826,17 @@ class Sn extends ci {
5830
5826
  }
5831
5827
  if (u === "development") {
5832
5828
  for (const g of p)
5833
- await ts(pe.append(g, { v: ke }));
5834
- const x = this.materials || {};
5829
+ await es(pe.append(g, { v: ke }));
5830
+ const v = this.materials || {};
5835
5831
  for (const g of d) {
5836
- const v = e[f[g]], k = v?.default || v, N = li[g];
5832
+ const x = e[f[g]], k = x?.default || x, N = li[g];
5837
5833
  if (N)
5838
- k && N.forEach((w) => {
5839
- n[w] = k[w];
5834
+ k && N.forEach((C) => {
5835
+ n[C] = k[C];
5840
5836
  });
5841
5837
  else {
5842
- const w = x[g] ? (await x[g]()).default : e[g];
5843
- w && k && (w.components || []).forEach((D) => {
5838
+ const C = v[g] ? (await v[g]()).default : e[g];
5839
+ C && k && (C.components || []).forEach((D) => {
5844
5840
  n[D.name] = Ai(D, k);
5845
5841
  });
5846
5842
  }
@@ -5866,15 +5862,15 @@ class Sn extends ci {
5866
5862
  };
5867
5863
  if (e.hasRoute(Ie) && e.removeRoute(Ie), e.hasRoute(Ge) && e.removeRoute(Ge), i.enableStaticRoute) {
5868
5864
  const f = s?.pages || [];
5869
- Pt({
5865
+ At({
5870
5866
  name: u,
5871
5867
  prefix: l,
5872
5868
  pages: f,
5873
5869
  component: mt,
5874
5870
  loader: this.getRenderComponent.bind(this),
5875
5871
  homepage: p?.id
5876
- }).forEach((x) => {
5877
- a ? e.addRoute(a, x) : e.addRoute(x);
5872
+ }).forEach((v) => {
5873
+ a ? e.addRoute(a, v) : e.addRoute(v);
5878
5874
  }), p || (a ? e.addRoute(a, d) : e.addRoute(d));
5879
5875
  } else
5880
5876
  a ? (e.addRoute(a, h), e.addRoute(a, d)) : (e.addRoute(h), e.addRoute(d));
@@ -5916,7 +5912,7 @@ class Sn extends ci {
5916
5912
  const l = { locale: i[s[a]] }, h = r[a] || {}, p = { ...l, ...h };
5917
5913
  e.use(u, p), n[a] = !0;
5918
5914
  }
5919
- e.provide(Wt, this), e.config.globalProperties.$provider = this, e.config.globalProperties.$apis = this.apis, e.config.globalProperties.$request = this.adapter?.request, this.options.install && e.use(this.options.install), this.adapter.access && e.use(this.adapter.access), this.project?.platform !== "uniapp" && this.mode !== T.Design && this.initGlobals(this.project?.globals || {}, {
5915
+ e.provide(qt, this), e.config.globalProperties.$provider = this, e.config.globalProperties.$apis = this.apis, e.config.globalProperties.$request = this.adapter?.request, this.options.install && e.use(this.options.install), this.adapter.access && e.use(this.adapter.access), this.project?.platform !== "uniapp" && this.mode !== T.Design && this.initGlobals(this.project?.globals || {}, {
5920
5916
  app: e,
5921
5917
  window: globalThis,
5922
5918
  adapter: this.adapter,
@@ -6003,12 +5999,12 @@ class Sn extends ci {
6003
5999
  apis: a,
6004
6000
  window: globalThis,
6005
6001
  ...s
6006
- }, c = It({
6002
+ }, c = kt({
6007
6003
  getDsl: async (l) => await this.getDsl(l) || null,
6008
6004
  getDslByUrl: async (l) => await this.getDslByUrl(l) || null,
6009
6005
  options: u
6010
6006
  });
6011
- return kt({
6007
+ return Et({
6012
6008
  ...u,
6013
6009
  dsl: e,
6014
6010
  loader: c
@@ -6027,13 +6023,13 @@ class Sn extends ci {
6027
6023
  async getRenderComponent(e, s) {
6028
6024
  const i = this.getFile(e);
6029
6025
  if (!i)
6030
- return xe.warn(`Can not find file: ${e}`), null;
6026
+ return ve.warn(`Can not find file: ${e}`), null;
6031
6027
  if (s && s(i), this.mode === T.Raw) {
6032
6028
  const { vtjRawDir: n = ".vtj/vue" } = this.options, a = `${n}/${e}.vue`, u = this.modules[a] || this.modules[`/src/pages/${e}.vue`];
6033
6029
  return u ? (await u())?.default : this.nodeEnv === "development" && this.adapter.startupComponent || null;
6034
6030
  }
6035
6031
  const r = await this.getDsl(i.id);
6036
- return r ? this.createDslRenderer(r).renderer : (xe.warn(`Can not find dsl: ${e}`), null);
6032
+ return r ? this.createDslRenderer(r).renderer : (ve.warn(`Can not find dsl: ${e}`), null);
6037
6033
  }
6038
6034
  /**
6039
6035
  * 定义基于URL的异步组件
@@ -6045,7 +6041,7 @@ class Sn extends ci {
6045
6041
  * @returns Vue异步组件
6046
6042
  */
6047
6043
  defineUrlSchemaComponent(e, s) {
6048
- return ss(async () => {
6044
+ return ts(async () => {
6049
6045
  const i = await this.getDslByUrl(e);
6050
6046
  return i ? (i.name = s || i.name, this.createDslRenderer(i).renderer) : null;
6051
6047
  });
@@ -6058,7 +6054,7 @@ class Sn extends ci {
6058
6054
  * @returns Vue异步组件
6059
6055
  */
6060
6056
  definePluginComponent(e) {
6061
- return ss(async () => await si(e, globalThis));
6057
+ return ts(async () => await si(e, globalThis));
6062
6058
  }
6063
6059
  /**
6064
6060
  * 设置应用全局
@@ -6093,7 +6089,7 @@ function Un(t) {
6093
6089
  };
6094
6090
  }
6095
6091
  function ai(t = {}) {
6096
- const e = Nt(Wt, null);
6092
+ const e = Tt(qt, null);
6097
6093
  if (!e)
6098
6094
  throw new Error("Can not find provider");
6099
6095
  if (e.nodeEnv === "development") {
@@ -6110,7 +6106,7 @@ function ai(t = {}) {
6110
6106
  return e;
6111
6107
  }
6112
6108
  function je() {
6113
- return Nt(Wt, null)?.globals ?? {};
6109
+ return Tt(qt, null)?.globals ?? {};
6114
6110
  }
6115
6111
  function Gn() {
6116
6112
  return je().$store || {};
@@ -6141,7 +6137,7 @@ const oi = {
6141
6137
  originResponse: !1,
6142
6138
  failMessage: !0,
6143
6139
  validate: (t) => t.data?.code === 0
6144
- }, wn = (t, e = "/__vtj__/api/:type.json") => (s, i, r) => t.send({
6140
+ }, Cn = (t, e = "/__vtj__/api/:type.json") => (s, i, r) => t.send({
6145
6141
  url: e,
6146
6142
  method: "post",
6147
6143
  params: { type: s },
@@ -6151,7 +6147,7 @@ const oi = {
6151
6147
  data: i
6152
6148
  },
6153
6149
  settings: oi
6154
- }), Cn = (t, e = "/__vtj__/api/uploader.json") => async (s, i) => await t.send({
6150
+ }), wn = (t, e = "/__vtj__/api/uploader.json") => async (s, i) => await t.send({
6155
6151
  url: e,
6156
6152
  method: "post",
6157
6153
  data: {
@@ -6177,9 +6173,9 @@ function Qn(t) {
6177
6173
  }
6178
6174
  });
6179
6175
  }
6180
- class Kt {
6181
- constructor(e = xt) {
6182
- this.req = e, this.api = wn(e), this.uploader = Cn(e);
6176
+ class Wt {
6177
+ constructor(e = vt) {
6178
+ this.req = e, this.api = Cn(e), this.uploader = wn(e);
6183
6179
  }
6184
6180
  api;
6185
6181
  pluginCaches = {};
@@ -6266,7 +6262,7 @@ class Kt {
6266
6262
  const { urls: s = [] } = e, i = s.filter((n) => Ei(n))[0];
6267
6263
  if (!i) return null;
6268
6264
  const r = this.pluginCaches[i];
6269
- return r || (this.pluginCaches[i] = xt.send({
6265
+ return r || (this.pluginCaches[i] = vt.send({
6270
6266
  url: i,
6271
6267
  method: "get",
6272
6268
  settings: {
@@ -6284,7 +6280,7 @@ const j = new yi({
6284
6280
  expired: 0,
6285
6281
  prefix: "__VTJ_"
6286
6282
  });
6287
- class Yn extends Kt {
6283
+ class Yn extends Wt {
6288
6284
  init(e) {
6289
6285
  const s = new qe(e), i = j.get(`project_${s.id}`), r = Object.assign(s.toDsl(), i || {});
6290
6286
  return j.save(`project_${s.id}`, r), Promise.resolve(r);
@@ -6294,7 +6290,7 @@ class Yn extends Kt {
6294
6290
  return j.save(`project_${s.id}`, s.toDsl()), Promise.resolve(!0);
6295
6291
  }
6296
6292
  saveMaterials(e, s) {
6297
- return j.save(`materials_${e.id}`, Tt(s)), Promise.resolve(!0);
6293
+ return j.save(`materials_${e.id}`, Pt(s)), Promise.resolve(!0);
6298
6294
  }
6299
6295
  saveFile(e) {
6300
6296
  return j.save(`file_${e.id}`, e), Promise.resolve(!0);
@@ -6334,7 +6330,7 @@ class Yn extends Kt {
6334
6330
  }), Promise.resolve(!0);
6335
6331
  }
6336
6332
  }
6337
- class En extends Kt {
6333
+ class En extends Wt {
6338
6334
  projects = {};
6339
6335
  materials = {};
6340
6336
  files = {};
@@ -6349,7 +6345,7 @@ class En extends Kt {
6349
6345
  return this.projects[s.id] = s.toDsl(), Promise.resolve(!0);
6350
6346
  }
6351
6347
  saveMaterials(e, s) {
6352
- return e.id && (this.materials[e.id] = Tt(s)), Promise.resolve(!0);
6348
+ return e.id && (this.materials[e.id] = Pt(s)), Promise.resolve(!0);
6353
6349
  }
6354
6350
  saveFile(e) {
6355
6351
  return this.files[e.id] = e, Promise.resolve(!0);
@@ -6395,7 +6391,7 @@ let Ue = null;
6395
6391
  function Xn() {
6396
6392
  return Ue || (Ue = new En(), Ue);
6397
6393
  }
6398
- class Zn extends Kt {
6394
+ class Zn extends Wt {
6399
6395
  getFileCaches = {};
6400
6396
  async getExtension() {
6401
6397
  return await this.api("getExtension", {}).catch(() => {
@@ -6412,7 +6408,7 @@ class Zn extends Kt {
6412
6408
  async saveMaterials(e, s) {
6413
6409
  return !!await this.api("saveMaterials", {
6414
6410
  project: e,
6415
- materials: Tt(s)
6411
+ materials: Pt(s)
6416
6412
  }).catch(() => !1);
6417
6413
  }
6418
6414
  async saveFile(e) {
@@ -6455,15 +6451,15 @@ class Zn extends Kt {
6455
6451
  export {
6456
6452
  Vn as ACCESS,
6457
6453
  Zs as ACCESS_KEY,
6458
- qt as Access,
6459
- Ci as BUILD_IN_TAGS,
6454
+ Gt as Access,
6455
+ wi as BUILD_IN_TAGS,
6460
6456
  Si as BUILT_IN_DIRECTIVES,
6461
- Kt as BaseService,
6457
+ Wt as BaseService,
6462
6458
  Nn as COMPOSITION_HOOKS_LIST,
6463
- _t as CONTEXT_HOST,
6459
+ ss as CONTEXT_HOST,
6464
6460
  ps as Context,
6465
6461
  T as ContextMode,
6466
- wi as DATA_TYPES,
6462
+ Ci as DATA_TYPES,
6467
6463
  Ge as HOMEPAGE_ROUTE_NAME,
6468
6464
  bs as HTML_TAGS,
6469
6465
  Mn as JSCodeToString,
@@ -6477,8 +6473,8 @@ export {
6477
6473
  Yn as StorageService,
6478
6474
  ke as VTJ_RENDERER_VERSION,
6479
6475
  Ln as adoptStylesToInline,
6480
- Rt as adoptedStyleSheets,
6481
- $n as clearLoaderCache,
6476
+ Nt as adoptedStyleSheets,
6477
+ Hn as clearLoaderCache,
6482
6478
  Ti as compileScopedCSS,
6483
6479
  Vi as convertCssRpx,
6484
6480
  Bn as createAccess,
@@ -6486,18 +6482,18 @@ export {
6486
6482
  On as createAssetScripts,
6487
6483
  Fn as createAssetsCss,
6488
6484
  Mr as createDataSources,
6489
- It as createLoader,
6485
+ kt as createLoader,
6490
6486
  Xn as createMemoryService,
6491
6487
  Je as createMenus,
6492
6488
  Ir as createMetaApi,
6493
6489
  Tr as createMock,
6494
6490
  Un as createProvider,
6495
- kt as createRenderer,
6491
+ Et as createRenderer,
6496
6492
  kr as createSchemaApi,
6497
6493
  Ar as createSchemaApis,
6498
6494
  Qn as createServiceRequest,
6499
6495
  Kr as defaultLoader,
6500
- $e as fillBasePath,
6496
+ He as fillBasePath,
6501
6497
  Te as getMock,
6502
6498
  ri as getModifiers,
6503
6499
  si as getPlugin,
@@ -6507,7 +6503,7 @@ export {
6507
6503
  Li as isBuiltInTag,
6508
6504
  Qe as isCSSUrl,
6509
6505
  Di as isCallFunction,
6510
- wr as isJSCode,
6506
+ Cr as isJSCode,
6511
6507
  R as isJSExpression,
6512
6508
  F as isJSFunction,
6513
6509
  Ei as isJSON,
@@ -6522,13 +6518,13 @@ export {
6522
6518
  Nr as mockApi,
6523
6519
  Pr as mockApis,
6524
6520
  ei as mockCleanup,
6525
- Ce as nodeCache,
6521
+ we as nodeCache,
6526
6522
  _e as nodeRender,
6527
6523
  Ii as parseDeps,
6528
6524
  Oe as parseExpression,
6529
6525
  z as parseFunction,
6530
6526
  Pi as parseUrls,
6531
- Wt as providerKey,
6527
+ qt as providerKey,
6532
6528
  ki as removeProdFlag,
6533
6529
  Ri as rpxToPx,
6534
6530
  jn as setupPageSetting,
@@ -6538,7 +6534,7 @@ export {
6538
6534
  zn as useApis,
6539
6535
  je as useGlobals,
6540
6536
  Kn as useLibs,
6541
- Hn as useMask,
6537
+ $n as useMask,
6542
6538
  qn as usePinia,
6543
6539
  ai as useProvider,
6544
6540
  Wn as useRequest,