@vtj/renderer 0.18.18 → 0.18.19

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
@@ -7,10 +7,10 @@ import { useRoute as ps } from "vue-router";
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.18
10
+ * @version 0.18.19
11
11
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
12
12
  */
13
- const we = "0.18.18";
13
+ const we = "0.18.19";
14
14
  var P = /* @__PURE__ */ ((t) => (t.Runtime = "Runtime", t.Design = "Design", t.Raw = "Raw", t.VNode = "VNode", t))(P || {});
15
15
  const Yt = [
16
16
  "$el",
@@ -166,7 +166,7 @@ function Tn(t) {
166
166
  (e) => `<script src="${he.append(e, { v: we })}"><\/script>`
167
167
  ).join("");
168
168
  }
169
- function Nn(t = []) {
169
+ function Rn(t = []) {
170
170
  return t.map(
171
171
  (e) => `<link rel="stylesheet" href="${he.append(e, { v: we })}" />`
172
172
  ).join("");
@@ -177,10 +177,10 @@ function Si(t, e = !1) {
177
177
  function Ci(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: g, localeLibrary: x }) => {
181
- d?.forEach((b) => {
182
- ze(b) && r.push(Si(b, s)), Ke(b) && n.push(b);
183
- }), m && (u.push(m), c[m] = Me(d || [], e), x && (l[m] = x)), f && a.push(f), g && h.push(g), m && g && (p[g] = m);
180
+ ({ urls: d, assetsUrl: f, library: m, assetsLibrary: x, localeLibrary: g }) => {
181
+ d?.forEach((v) => {
182
+ ze(v) && r.push(Si(v, s)), Ke(v) && n.push(v);
183
+ }), m && (u.push(m), c[m] = Me(d || [], e), g && (l[m] = g)), f && a.push(f), x && h.push(x), m && x && (p[x] = m);
184
184
  }
185
185
  ), {
186
186
  scripts: Me(r, e),
@@ -214,30 +214,30 @@ function ki(t, e) {
214
214
  continue;
215
215
  }
216
216
  if (l.substring(p, p + 2) === "/*") {
217
- const b = l.indexOf("*/", p + 2);
218
- if (b !== -1) {
219
- p = b + 2;
217
+ const v = l.indexOf("*/", p + 2);
218
+ if (v !== -1) {
219
+ p = v + 2;
220
220
  continue;
221
221
  }
222
222
  }
223
223
  if (l[p] === "@") {
224
- const b = p;
224
+ const v = p;
225
225
  for (; p < l.length && l[p] !== "{" && l[p] !== ";"; )
226
226
  p++;
227
- const k = l.substring(b, p).trim(), N = k.includes("@keyframes");
227
+ const k = l.substring(v, p).trim(), R = k.includes("@keyframes");
228
228
  if (l[p] === ";")
229
229
  h.push({
230
230
  type: "simple-at-rule",
231
- content: l.substring(b, p + 1)
231
+ content: l.substring(v, p + 1)
232
232
  }), p++;
233
233
  else if (l[p] === "{") {
234
234
  const w = 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 fe = l.substring(b, p), _e = l.substring(w, p - 1);
238
+ const fe = l.substring(v, p), _e = l.substring(w, p - 1);
239
239
  h.push({
240
- type: N ? "keyframes" : "at-rule",
240
+ type: R ? "keyframes" : "at-rule",
241
241
  rule: k,
242
242
  content: fe,
243
243
  inner: _e
@@ -255,14 +255,14 @@ function ki(t, e) {
255
255
  continue;
256
256
  }
257
257
  const m = p + 1;
258
- let g = 1;
259
- for (p++; p < l.length && g > 0; )
260
- l[p] === "{" ? g++ : l[p] === "}" && g--, p++;
261
- const x = l.substring(m, p - 1);
258
+ let x = 1;
259
+ for (p++; p < l.length && x > 0; )
260
+ l[p] === "{" ? x++ : l[p] === "}" && x--, p++;
261
+ const g = l.substring(m, p - 1);
262
262
  h.push({
263
263
  type: "rule",
264
264
  selector: f,
265
- content: x.trim()
265
+ content: g.trim()
266
266
  });
267
267
  }
268
268
  return h;
@@ -359,7 +359,7 @@ function Pt(t, e, s, i = !1) {
359
359
  h ? h.innerHTML = u : (h = l.createElement("style"), h.id = e, h.innerHTML = u, l.head.appendChild(h));
360
360
  }
361
361
  }
362
- function Rn(t) {
362
+ function Nn(t) {
363
363
  const e = t.adoptedStyleSheets || [];
364
364
  let s = "";
365
365
  if (e.forEach((i) => {
@@ -401,10 +401,10 @@ async function gs(t, e, s = globalThis) {
401
401
  }
402
402
  });
403
403
  }
404
- function Ni(t) {
404
+ function Ri(t) {
405
405
  return K(t) && Object.getOwnPropertyNames(t.prototype || {}).length === 0 || K(t?.install);
406
406
  }
407
- function Ri(t) {
407
+ function Ni(t) {
408
408
  return yi.includes(t);
409
409
  }
410
410
  function Vi(t) {
@@ -464,9 +464,9 @@ var E = function(e, s) {
464
464
  function B(t, e) {
465
465
  return new E(t, { beforeExpr: !0, binop: e });
466
466
  }
467
- var H = { beforeExpr: !0 }, M = { startsExpr: !0 }, Nt = {};
467
+ var H = { beforeExpr: !0 }, M = { startsExpr: !0 }, Rt = {};
468
468
  function C(t, e) {
469
- return e === void 0 && (e = {}), e.keyword = t, Nt[t] = new E(t, e);
469
+ return e === void 0 && (e = {}), e.keyword = t, Rt[t] = new E(t, e);
470
470
  }
471
471
  var o = {
472
472
  num: new E("num", M),
@@ -700,7 +700,7 @@ function qi(t, e) {
700
700
  t.locations && (c.loc = new Qe(this, a, u)), t.ranges && (c.range = [r, n]), e.push(c);
701
701
  };
702
702
  }
703
- var Ne = 1, Oe = 2, Rt = Ne | Oe, Ss = 4, Cs = 8, ws = 16, Es = 32, ks = 64, Is = 128;
703
+ var Re = 1, Oe = 2, Nt = Re | Oe, Ss = 4, Cs = 8, ws = 16, Es = 32, ks = 64, Is = 128;
704
704
  function Vt(t, e) {
705
705
  return Oe | (t ? Ss : 0) | (e ? Cs : 0);
706
706
  }
@@ -715,7 +715,7 @@ var Zt = 0, Ot = 1, Z = 2, As = 3, Ps = 4, Ts = 5, A = function(e, s, i) {
715
715
  this.reservedWords = le(r);
716
716
  var a = (r ? r + " " : "") + ut.strict;
717
717
  this.reservedWordsStrict = le(a), this.reservedWordsStrictBind = le(a + " " + ut.strictBind), this.input = String(s), this.containsEsc = !1, i ? (this.pos = i, this.lineStart = this.input.lastIndexOf(`
718
- `, i - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(U).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = o.eof, this.value = null, this.start = this.end = this.pos, this.startLoc = this.endLoc = this.curPosition(), this.lastTokEndLoc = this.lastTokStartLoc = null, this.lastTokStart = this.lastTokEnd = this.pos, this.context = this.initialContext(), this.exprAllowed = !0, this.inModule = e.sourceType === "module", this.strict = this.inModule || this.strictDirective(this.pos), this.potentialArrowAt = -1, this.yieldPos = this.awaitPos = this.awaitIdentPos = 0, this.labels = [], this.undefinedExports = {}, this.pos === 0 && e.allowHashBang && this.input.slice(0, 2) === "#!" && this.skipLineComment(2), this.scopeStack = [], this.enterScope(Ne), this.regexpState = null;
718
+ `, i - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(U).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = o.eof, this.value = null, this.start = this.end = this.pos, this.startLoc = this.endLoc = this.curPosition(), this.lastTokEndLoc = this.lastTokStartLoc = null, this.lastTokStart = this.lastTokEnd = this.pos, this.context = this.initialContext(), this.exprAllowed = !0, this.inModule = e.sourceType === "module", this.strict = this.inModule || this.strictDirective(this.pos), this.potentialArrowAt = -1, this.yieldPos = this.awaitPos = this.awaitIdentPos = 0, this.labels = [], this.undefinedExports = {}, this.pos === 0 && e.allowHashBang && this.input.slice(0, 2) === "#!" && this.skipLineComment(2), this.scopeStack = [], this.enterScope(Re), this.regexpState = null;
719
719
  }, pe = { inFunction: { configurable: !0 }, inGenerator: { configurable: !0 }, inAsync: { configurable: !0 }, allowSuper: { configurable: !0 }, allowDirectSuper: { configurable: !0 }, treatFunctionsAsVar: { configurable: !0 } };
720
720
  A.prototype.parse = function() {
721
721
  var e = this.options.program || this.startNode();
@@ -1052,9 +1052,9 @@ y.parseVar = function(t, e, s) {
1052
1052
  y.parseVarId = function(t, e) {
1053
1053
  t.id = this.parseBindingAtom(), this.checkLVal(t.id, e === "var" ? Ot : Z, !1);
1054
1054
  };
1055
- var ke = 1, _t = 2, Ns = 4;
1055
+ var ke = 1, _t = 2, Rs = 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 & _t && this.unexpected(), t.generator = this.eat(o.star)), this.options.ecmaVersion >= 8 && (t.async = !!i), e & ke && (t.id = e & Ns && this.type !== o.name ? null : this.parseIdent(), t.id && !(e & _t) && this.checkLVal(t.id, this.strict || t.generator || t.async ? this.treatFunctionsAsVar ? Ot : Z : As));
1057
+ this.initFunction(t), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !i) && (this.type === o.star && e & _t && this.unexpected(), t.generator = this.eat(o.star)), this.options.ecmaVersion >= 8 && (t.async = !!i), e & ke && (t.id = e & Rs && this.type !== o.name ? null : this.parseIdent(), t.id && !(e & _t) && this.checkLVal(t.id, this.strict || t.generator || t.async ? this.treatFunctionsAsVar ? Ot : Z : As));
1058
1058
  var r = this.yieldPos, n = this.awaitPos, a = this.awaitIdentPos;
1059
1059
  return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Vt(t.async, t.generator)), e & ke || (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 & ke ? "FunctionDeclaration" : "FunctionExpression");
1060
1060
  };
@@ -1104,7 +1104,7 @@ y.parseExport = function(t, e) {
1104
1104
  var s;
1105
1105
  if (this.type === o._function || (s = this.isAsyncFunction())) {
1106
1106
  var i = this.startNode();
1107
- this.next(), s && this.next(), t.declaration = this.parseFunction(i, ke | Ns, !1, s);
1107
+ this.next(), s && this.next(), t.declaration = this.parseFunction(i, ke | Rs, !1, s);
1108
1108
  } else if (this.type === o._class) {
1109
1109
  var r = this.startNode();
1110
1110
  t.declaration = this.parseClass(r, "nullableID");
@@ -1486,12 +1486,12 @@ _.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 g = this.startNodeAt(e, s);
1490
- g.callee = t, g.arguments = m, a && (g.optional = u), t = this.finishNode(g, "CallExpression");
1489
+ var x = this.startNodeAt(e, s);
1490
+ x.callee = t, x.arguments = m, a && (x.optional = u), t = this.finishNode(x, "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
- var x = this.startNodeAt(e, s);
1494
- x.tag = t, x.quasi = this.parseTemplate({ isTagged: !0 }), t = this.finishNode(x, "TaggedTemplateExpression");
1493
+ var g = this.startNodeAt(e, s);
1494
+ g.tag = t, g.quasi = this.parseTemplate({ isTagged: !0 }), t = this.finishNode(g, "TaggedTemplateExpression");
1495
1495
  }
1496
1496
  return t;
1497
1497
  };
@@ -1593,15 +1593,15 @@ _.parseParenAndDistinguishExpression = function(t) {
1593
1593
  break;
1594
1594
  } else
1595
1595
  u.push(this.parseMaybeAssign(!1, h, this.parseParenItem));
1596
- var m = this.start, g = this.startLoc;
1596
+ var m = this.start, x = 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, g)) : 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, x)) : i = u[0];
1600
1600
  } else
1601
1601
  i = this.parseParenExpression();
1602
1602
  if (this.options.preserveParens) {
1603
- var x = this.startNodeAt(e, s);
1604
- return x.expression = i, this.finishNode(x, "ParenthesizedExpression");
1603
+ var g = this.startNodeAt(e, s);
1604
+ return g.expression = i, this.finishNode(g, "ParenthesizedExpression");
1605
1605
  } else
1606
1606
  return i;
1607
1607
  };
@@ -1782,13 +1782,13 @@ oe.exitScope = function() {
1782
1782
  this.scopeStack.pop();
1783
1783
  };
1784
1784
  oe.treatFunctionsAsVarInScope = function(t) {
1785
- return t.flags & Oe || !this.inModule && t.flags & Ne;
1785
+ return t.flags & Oe || !this.inModule && t.flags & Re;
1786
1786
  };
1787
1787
  oe.declareName = function(t, e, s) {
1788
1788
  var i = !1;
1789
1789
  if (e === Z) {
1790
1790
  var r = this.currentScope();
1791
- i = r.lexical.indexOf(t) > -1 || r.functions.indexOf(t) > -1 || r.var.indexOf(t) > -1, r.lexical.push(t), this.inModule && r.flags & Ne && delete this.undefinedExports[t];
1791
+ i = r.lexical.indexOf(t) > -1 || r.functions.indexOf(t) > -1 || r.var.indexOf(t) > -1, r.lexical.push(t), this.inModule && r.flags & Re && delete this.undefinedExports[t];
1792
1792
  } else if (e === Ps) {
1793
1793
  var n = this.currentScope();
1794
1794
  n.lexical.push(t);
@@ -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 & Ne && delete this.undefinedExports[t], c.flags & Rt)
1805
+ if (c.var.push(t), this.inModule && c.flags & Re && delete this.undefinedExports[t], c.flags & Nt)
1806
1806
  break;
1807
1807
  }
1808
1808
  i && this.raiseRecoverable(s, "Identifier '" + t + "' has already been declared");
@@ -1816,14 +1816,14 @@ 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 & Rt)
1819
+ if (e.flags & Nt)
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 & Rt && !(e.flags & ws))
1826
+ if (e.flags & Nt && !(e.flags & ws))
1827
1827
  return e;
1828
1828
  }
1829
1829
  };
@@ -1836,14 +1836,14 @@ Xe.startNode = function() {
1836
1836
  Xe.startNodeAt = function(t, e) {
1837
1837
  return new Lt(this, t, e);
1838
1838
  };
1839
- function Rs(t, e, s, i) {
1839
+ function Ns(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;
1841
1841
  }
1842
1842
  Xe.finishNode = function(t, e) {
1843
- return Rs.call(this, t, e, this.lastTokEnd, this.lastTokEndLoc);
1843
+ return Ns.call(this, t, e, this.lastTokEnd, this.lastTokEndLoc);
1844
1844
  };
1845
1845
  Xe.finishNodeAt = function(t, e, s, i) {
1846
- return Rs.call(this, t, e, s, i);
1846
+ return Ns.call(this, t, e, s, i);
1847
1847
  };
1848
1848
  var q = function(e, s, i, r, n) {
1849
1849
  this.token = e, this.isExpr = !!s, this.preserveSpace = !!i, this.override = r, this.generator = !!n;
@@ -1939,7 +1939,7 @@ function jt(t) {
1939
1939
  jt(9);
1940
1940
  jt(10);
1941
1941
  jt(11);
1942
- var v = A.prototype, se = function(e) {
1942
+ var b = A.prototype, se = function(e) {
1943
1943
  this.parser = e, this.validFlags = "gim" + (e.options.ecmaVersion >= 6 ? "uy" : "") + (e.options.ecmaVersion >= 9 ? "s" : ""), this.unicodeProperties = js[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
  };
1945
1945
  se.prototype.reset = function(e, s, i) {
@@ -1983,16 +1983,16 @@ se.prototype.eat = function(e, s) {
1983
1983
  function Ge(t) {
1984
1984
  return t <= 65535 ? String.fromCharCode(t) : (t -= 65536, String.fromCharCode((t >> 10) + 55296, (t & 1023) + 56320));
1985
1985
  }
1986
- v.validateRegExpFlags = function(t) {
1986
+ b.validateRegExpFlags = function(t) {
1987
1987
  for (var e = t.validFlags, s = t.flags, i = 0; i < s.length; i++) {
1988
1988
  var r = s.charAt(i);
1989
1989
  e.indexOf(r) === -1 && this.raise(t.start, "Invalid regular expression flag"), s.indexOf(r, i + 1) > -1 && this.raise(t.start, "Duplicate regular expression flag");
1990
1990
  }
1991
1991
  };
1992
- v.validateRegExpPattern = function(t) {
1992
+ b.validateRegExpPattern = function(t) {
1993
1993
  this.regexp_pattern(t), !t.switchN && this.options.ecmaVersion >= 9 && t.groupNames.length > 0 && (t.switchN = !0, this.regexp_pattern(t));
1994
1994
  };
1995
- v.regexp_pattern = function(t) {
1995
+ b.regexp_pattern = function(t) {
1996
1996
  t.pos = 0, t.lastIntValue = 0, t.lastStringValue = "", t.lastAssertionIsQuantifiable = !1, t.numCapturingParens = 0, t.maxBackReference = 0, t.groupNames.length = 0, t.backReferenceNames.length = 0, this.regexp_disjunction(t), t.pos !== t.source.length && (t.eat(
1997
1997
  41
1998
1998
  /* ) */
@@ -2008,7 +2008,7 @@ v.regexp_pattern = function(t) {
2008
2008
  t.groupNames.indexOf(i) === -1 && t.raise("Invalid named capture referenced");
2009
2009
  }
2010
2010
  };
2011
- v.regexp_disjunction = function(t) {
2011
+ b.regexp_disjunction = function(t) {
2012
2012
  for (this.regexp_alternative(t); t.eat(
2013
2013
  124
2014
2014
  /* | */
@@ -2019,14 +2019,14 @@ v.regexp_disjunction = function(t) {
2019
2019
  /* { */
2020
2020
  ) && t.raise("Lone quantifier brackets");
2021
2021
  };
2022
- v.regexp_alternative = function(t) {
2022
+ b.regexp_alternative = function(t) {
2023
2023
  for (; t.pos < t.source.length && this.regexp_eatTerm(t); )
2024
2024
  ;
2025
2025
  };
2026
- v.regexp_eatTerm = function(t) {
2026
+ b.regexp_eatTerm = function(t) {
2027
2027
  return this.regexp_eatAssertion(t) ? (t.lastAssertionIsQuantifiable && this.regexp_eatQuantifier(t) && t.switchU && t.raise("Invalid quantifier"), !0) : (t.switchU ? this.regexp_eatAtom(t) : this.regexp_eatExtendedAtom(t)) ? (this.regexp_eatQuantifier(t), !0) : !1;
2028
2028
  };
2029
- v.regexp_eatAssertion = function(t) {
2029
+ b.regexp_eatAssertion = function(t) {
2030
2030
  var e = t.pos;
2031
2031
  if (t.lastAssertionIsQuantifiable = !1, t.eat(
2032
2032
  94
@@ -2075,13 +2075,13 @@ v.regexp_eatAssertion = function(t) {
2075
2075
  }
2076
2076
  return t.pos = e, !1;
2077
2077
  };
2078
- v.regexp_eatQuantifier = function(t, e) {
2078
+ b.regexp_eatQuantifier = function(t, e) {
2079
2079
  return e === void 0 && (e = !1), this.regexp_eatQuantifierPrefix(t, e) ? (t.eat(
2080
2080
  63
2081
2081
  /* ? */
2082
2082
  ), !0) : !1;
2083
2083
  };
2084
- v.regexp_eatQuantifierPrefix = function(t, e) {
2084
+ b.regexp_eatQuantifierPrefix = function(t, e) {
2085
2085
  return t.eat(
2086
2086
  42
2087
2087
  /* * */
@@ -2093,7 +2093,7 @@ v.regexp_eatQuantifierPrefix = function(t, e) {
2093
2093
  /* ? */
2094
2094
  ) || this.regexp_eatBracedQuantifier(t, e);
2095
2095
  };
2096
- v.regexp_eatBracedQuantifier = function(t, e) {
2096
+ b.regexp_eatBracedQuantifier = function(t, e) {
2097
2097
  var s = t.pos;
2098
2098
  if (t.eat(
2099
2099
  123
@@ -2112,13 +2112,13 @@ v.regexp_eatBracedQuantifier = function(t, e) {
2112
2112
  }
2113
2113
  return !1;
2114
2114
  };
2115
- v.regexp_eatAtom = function(t) {
2115
+ b.regexp_eatAtom = function(t) {
2116
2116
  return this.regexp_eatPatternCharacters(t) || t.eat(
2117
2117
  46
2118
2118
  /* . */
2119
2119
  ) || this.regexp_eatReverseSolidusAtomEscape(t) || this.regexp_eatCharacterClass(t) || this.regexp_eatUncapturingGroup(t) || this.regexp_eatCapturingGroup(t);
2120
2120
  };
2121
- v.regexp_eatReverseSolidusAtomEscape = function(t) {
2121
+ b.regexp_eatReverseSolidusAtomEscape = function(t) {
2122
2122
  var e = t.pos;
2123
2123
  if (t.eat(
2124
2124
  92
@@ -2130,7 +2130,7 @@ v.regexp_eatReverseSolidusAtomEscape = function(t) {
2130
2130
  }
2131
2131
  return !1;
2132
2132
  };
2133
- v.regexp_eatUncapturingGroup = function(t) {
2133
+ b.regexp_eatUncapturingGroup = function(t) {
2134
2134
  var e = t.pos;
2135
2135
  if (t.eat(
2136
2136
  40
@@ -2154,7 +2154,7 @@ v.regexp_eatUncapturingGroup = function(t) {
2154
2154
  }
2155
2155
  return !1;
2156
2156
  };
2157
- v.regexp_eatCapturingGroup = function(t) {
2157
+ b.regexp_eatCapturingGroup = function(t) {
2158
2158
  if (t.eat(
2159
2159
  40
2160
2160
  /* ( */
@@ -2168,32 +2168,32 @@ v.regexp_eatCapturingGroup = function(t) {
2168
2168
  }
2169
2169
  return !1;
2170
2170
  };
2171
- v.regexp_eatExtendedAtom = function(t) {
2171
+ b.regexp_eatExtendedAtom = function(t) {
2172
2172
  return t.eat(
2173
2173
  46
2174
2174
  /* . */
2175
2175
  ) || this.regexp_eatReverseSolidusAtomEscape(t) || this.regexp_eatCharacterClass(t) || this.regexp_eatUncapturingGroup(t) || this.regexp_eatCapturingGroup(t) || this.regexp_eatInvalidBracedQuantifier(t) || this.regexp_eatExtendedPatternCharacter(t);
2176
2176
  };
2177
- v.regexp_eatInvalidBracedQuantifier = function(t) {
2177
+ b.regexp_eatInvalidBracedQuantifier = function(t) {
2178
2178
  return this.regexp_eatBracedQuantifier(t, !0) && t.raise("Nothing to repeat"), !1;
2179
2179
  };
2180
- v.regexp_eatSyntaxCharacter = function(t) {
2180
+ b.regexp_eatSyntaxCharacter = function(t) {
2181
2181
  var e = t.current();
2182
2182
  return Ms(e) ? (t.lastIntValue = e, t.advance(), !0) : !1;
2183
2183
  };
2184
2184
  function Ms(t) {
2185
2185
  return t === 36 || t >= 40 && t <= 43 || t === 46 || t === 63 || t >= 91 && t <= 94 || t >= 123 && t <= 125;
2186
2186
  }
2187
- v.regexp_eatPatternCharacters = function(t) {
2187
+ b.regexp_eatPatternCharacters = function(t) {
2188
2188
  for (var e = t.pos, s = 0; (s = t.current()) !== -1 && !Ms(s); )
2189
2189
  t.advance();
2190
2190
  return t.pos !== e;
2191
2191
  };
2192
- v.regexp_eatExtendedPatternCharacter = function(t) {
2192
+ b.regexp_eatExtendedPatternCharacter = function(t) {
2193
2193
  var e = t.current();
2194
2194
  return e !== -1 && e !== 36 && !(e >= 40 && e <= 43) && e !== 46 && e !== 63 && e !== 91 && e !== 94 && e !== 124 ? (t.advance(), !0) : !1;
2195
2195
  };
2196
- v.regexp_groupSpecifier = function(t) {
2196
+ b.regexp_groupSpecifier = function(t) {
2197
2197
  if (t.eat(
2198
2198
  63
2199
2199
  /* ? */
@@ -2205,7 +2205,7 @@ v.regexp_groupSpecifier = function(t) {
2205
2205
  t.raise("Invalid group");
2206
2206
  }
2207
2207
  };
2208
- v.regexp_eatGroupName = function(t) {
2208
+ b.regexp_eatGroupName = function(t) {
2209
2209
  if (t.lastStringValue = "", t.eat(
2210
2210
  60
2211
2211
  /* < */
@@ -2219,7 +2219,7 @@ v.regexp_eatGroupName = function(t) {
2219
2219
  }
2220
2220
  return !1;
2221
2221
  };
2222
- v.regexp_eatRegExpIdentifierName = function(t) {
2222
+ b.regexp_eatRegExpIdentifierName = function(t) {
2223
2223
  if (t.lastStringValue = "", this.regexp_eatRegExpIdentifierStart(t)) {
2224
2224
  for (t.lastStringValue += Ge(t.lastIntValue); this.regexp_eatRegExpIdentifierPart(t); )
2225
2225
  t.lastStringValue += Ge(t.lastIntValue);
@@ -2227,24 +2227,24 @@ v.regexp_eatRegExpIdentifierName = function(t) {
2227
2227
  }
2228
2228
  return !1;
2229
2229
  };
2230
- v.regexp_eatRegExpIdentifierStart = function(t) {
2230
+ b.regexp_eatRegExpIdentifierStart = function(t) {
2231
2231
  var e = t.pos, s = this.options.ecmaVersion >= 11, i = t.current(s);
2232
2232
  return t.advance(s), i === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(t, s) && (i = t.lastIntValue), tr(i) ? (t.lastIntValue = i, !0) : (t.pos = e, !1);
2233
2233
  };
2234
2234
  function tr(t) {
2235
2235
  return ae(t, !0) || t === 36 || t === 95;
2236
2236
  }
2237
- v.regexp_eatRegExpIdentifierPart = function(t) {
2237
+ b.regexp_eatRegExpIdentifierPart = function(t) {
2238
2238
  var e = t.pos, s = this.options.ecmaVersion >= 11, i = t.current(s);
2239
2239
  return t.advance(s), i === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(t, s) && (i = t.lastIntValue), sr(i) ? (t.lastIntValue = i, !0) : (t.pos = e, !1);
2240
2240
  };
2241
2241
  function sr(t) {
2242
2242
  return be(t, !0) || t === 36 || t === 95 || t === 8204 || t === 8205;
2243
2243
  }
2244
- v.regexp_eatAtomEscape = function(t) {
2244
+ b.regexp_eatAtomEscape = function(t) {
2245
2245
  return this.regexp_eatBackReference(t) || this.regexp_eatCharacterClassEscape(t) || this.regexp_eatCharacterEscape(t) || t.switchN && this.regexp_eatKGroupName(t) ? !0 : (t.switchU && (t.current() === 99 && t.raise("Invalid unicode escape"), t.raise("Invalid escape")), !1);
2246
2246
  };
2247
- v.regexp_eatBackReference = function(t) {
2247
+ b.regexp_eatBackReference = function(t) {
2248
2248
  var e = t.pos;
2249
2249
  if (this.regexp_eatDecimalEscape(t)) {
2250
2250
  var s = t.lastIntValue;
@@ -2256,7 +2256,7 @@ v.regexp_eatBackReference = function(t) {
2256
2256
  }
2257
2257
  return !1;
2258
2258
  };
2259
- v.regexp_eatKGroupName = function(t) {
2259
+ b.regexp_eatKGroupName = function(t) {
2260
2260
  if (t.eat(
2261
2261
  107
2262
2262
  /* k */
@@ -2267,10 +2267,10 @@ v.regexp_eatKGroupName = function(t) {
2267
2267
  }
2268
2268
  return !1;
2269
2269
  };
2270
- v.regexp_eatCharacterEscape = function(t) {
2270
+ b.regexp_eatCharacterEscape = function(t) {
2271
2271
  return this.regexp_eatControlEscape(t) || this.regexp_eatCControlLetter(t) || this.regexp_eatZero(t) || this.regexp_eatHexEscapeSequence(t) || this.regexp_eatRegExpUnicodeEscapeSequence(t, !1) || !t.switchU && this.regexp_eatLegacyOctalEscapeSequence(t) || this.regexp_eatIdentityEscape(t);
2272
2272
  };
2273
- v.regexp_eatCControlLetter = function(t) {
2273
+ b.regexp_eatCControlLetter = function(t) {
2274
2274
  var e = t.pos;
2275
2275
  if (t.eat(
2276
2276
  99
@@ -2282,21 +2282,21 @@ v.regexp_eatCControlLetter = function(t) {
2282
2282
  }
2283
2283
  return !1;
2284
2284
  };
2285
- v.regexp_eatZero = function(t) {
2285
+ b.regexp_eatZero = function(t) {
2286
2286
  return t.current() === 48 && !et(t.lookahead()) ? (t.lastIntValue = 0, t.advance(), !0) : !1;
2287
2287
  };
2288
- v.regexp_eatControlEscape = function(t) {
2288
+ b.regexp_eatControlEscape = function(t) {
2289
2289
  var e = t.current();
2290
2290
  return e === 116 ? (t.lastIntValue = 9, t.advance(), !0) : e === 110 ? (t.lastIntValue = 10, t.advance(), !0) : e === 118 ? (t.lastIntValue = 11, t.advance(), !0) : e === 102 ? (t.lastIntValue = 12, t.advance(), !0) : e === 114 ? (t.lastIntValue = 13, t.advance(), !0) : !1;
2291
2291
  };
2292
- v.regexp_eatControlLetter = function(t) {
2292
+ b.regexp_eatControlLetter = function(t) {
2293
2293
  var e = t.current();
2294
2294
  return Ds(e) ? (t.lastIntValue = e % 32, t.advance(), !0) : !1;
2295
2295
  };
2296
2296
  function Ds(t) {
2297
2297
  return t >= 65 && t <= 90 || t >= 97 && t <= 122;
2298
2298
  }
2299
- v.regexp_eatRegExpUnicodeEscapeSequence = function(t, e) {
2299
+ b.regexp_eatRegExpUnicodeEscapeSequence = function(t, e) {
2300
2300
  e === void 0 && (e = !1);
2301
2301
  var s = t.pos, i = e || t.switchU;
2302
2302
  if (t.eat(
@@ -2337,7 +2337,7 @@ v.regexp_eatRegExpUnicodeEscapeSequence = function(t, e) {
2337
2337
  function ir(t) {
2338
2338
  return t >= 0 && t <= 1114111;
2339
2339
  }
2340
- v.regexp_eatIdentityEscape = function(t) {
2340
+ b.regexp_eatIdentityEscape = function(t) {
2341
2341
  if (t.switchU)
2342
2342
  return this.regexp_eatSyntaxCharacter(t) ? !0 : t.eat(
2343
2343
  47
@@ -2346,7 +2346,7 @@ v.regexp_eatIdentityEscape = function(t) {
2346
2346
  var e = t.current();
2347
2347
  return e !== 99 && (!t.switchN || e !== 107) ? (t.lastIntValue = e, t.advance(), !0) : !1;
2348
2348
  };
2349
- v.regexp_eatDecimalEscape = function(t) {
2349
+ b.regexp_eatDecimalEscape = function(t) {
2350
2350
  t.lastIntValue = 0;
2351
2351
  var e = t.current();
2352
2352
  if (e >= 49 && e <= 57) {
@@ -2357,7 +2357,7 @@ v.regexp_eatDecimalEscape = function(t) {
2357
2357
  }
2358
2358
  return !1;
2359
2359
  };
2360
- v.regexp_eatCharacterClassEscape = function(t) {
2360
+ b.regexp_eatCharacterClassEscape = function(t) {
2361
2361
  var e = t.current();
2362
2362
  if (rr(e))
2363
2363
  return t.lastIntValue = -1, t.advance(), !0;
@@ -2377,7 +2377,7 @@ v.regexp_eatCharacterClassEscape = function(t) {
2377
2377
  function rr(t) {
2378
2378
  return t === 100 || t === 68 || t === 115 || t === 83 || t === 119 || t === 87;
2379
2379
  }
2380
- v.regexp_eatUnicodePropertyValueExpression = function(t) {
2380
+ b.regexp_eatUnicodePropertyValueExpression = function(t) {
2381
2381
  var e = t.pos;
2382
2382
  if (this.regexp_eatUnicodePropertyName(t) && t.eat(
2383
2383
  61
@@ -2395,13 +2395,13 @@ v.regexp_eatUnicodePropertyValueExpression = function(t) {
2395
2395
  }
2396
2396
  return !1;
2397
2397
  };
2398
- v.regexp_validateUnicodePropertyNameAndValue = function(t, e, s) {
2398
+ b.regexp_validateUnicodePropertyNameAndValue = function(t, e, s) {
2399
2399
  Je(t.unicodeProperties.nonBinary, e) || t.raise("Invalid property name"), t.unicodeProperties.nonBinary[e].test(s) || t.raise("Invalid property value");
2400
2400
  };
2401
- v.regexp_validateUnicodePropertyNameOrValue = function(t, e) {
2401
+ b.regexp_validateUnicodePropertyNameOrValue = function(t, e) {
2402
2402
  t.unicodeProperties.binary.test(e) || t.raise("Invalid property name");
2403
2403
  };
2404
- v.regexp_eatUnicodePropertyName = function(t) {
2404
+ b.regexp_eatUnicodePropertyName = function(t) {
2405
2405
  var e = 0;
2406
2406
  for (t.lastStringValue = ""; Bs(e = t.current()); )
2407
2407
  t.lastStringValue += Ge(e), t.advance();
@@ -2410,7 +2410,7 @@ v.regexp_eatUnicodePropertyName = function(t) {
2410
2410
  function Bs(t) {
2411
2411
  return Ds(t) || t === 95;
2412
2412
  }
2413
- v.regexp_eatUnicodePropertyValue = function(t) {
2413
+ b.regexp_eatUnicodePropertyValue = function(t) {
2414
2414
  var e = 0;
2415
2415
  for (t.lastStringValue = ""; nr(e = t.current()); )
2416
2416
  t.lastStringValue += Ge(e), t.advance();
@@ -2419,10 +2419,10 @@ v.regexp_eatUnicodePropertyValue = function(t) {
2419
2419
  function nr(t) {
2420
2420
  return Bs(t) || et(t);
2421
2421
  }
2422
- v.regexp_eatLoneUnicodePropertyNameOrValue = function(t) {
2422
+ b.regexp_eatLoneUnicodePropertyNameOrValue = function(t) {
2423
2423
  return this.regexp_eatUnicodePropertyValue(t);
2424
2424
  };
2425
- v.regexp_eatCharacterClass = function(t) {
2425
+ b.regexp_eatCharacterClass = function(t) {
2426
2426
  if (t.eat(
2427
2427
  91
2428
2428
  /* [ */
@@ -2439,7 +2439,7 @@ v.regexp_eatCharacterClass = function(t) {
2439
2439
  }
2440
2440
  return !1;
2441
2441
  };
2442
- v.regexp_classRanges = function(t) {
2442
+ b.regexp_classRanges = function(t) {
2443
2443
  for (; this.regexp_eatClassAtom(t); ) {
2444
2444
  var e = t.lastIntValue;
2445
2445
  if (t.eat(
@@ -2451,7 +2451,7 @@ v.regexp_classRanges = function(t) {
2451
2451
  }
2452
2452
  }
2453
2453
  };
2454
- v.regexp_eatClassAtom = function(t) {
2454
+ b.regexp_eatClassAtom = function(t) {
2455
2455
  var e = t.pos;
2456
2456
  if (t.eat(
2457
2457
  92
@@ -2468,7 +2468,7 @@ v.regexp_eatClassAtom = function(t) {
2468
2468
  var i = t.current();
2469
2469
  return i !== 93 ? (t.lastIntValue = i, t.advance(), !0) : !1;
2470
2470
  };
2471
- v.regexp_eatClassEscape = function(t) {
2471
+ b.regexp_eatClassEscape = function(t) {
2472
2472
  var e = t.pos;
2473
2473
  if (t.eat(
2474
2474
  98
@@ -2490,11 +2490,11 @@ v.regexp_eatClassEscape = function(t) {
2490
2490
  }
2491
2491
  return this.regexp_eatCharacterClassEscape(t) || this.regexp_eatCharacterEscape(t);
2492
2492
  };
2493
- v.regexp_eatClassControlLetter = function(t) {
2493
+ b.regexp_eatClassControlLetter = function(t) {
2494
2494
  var e = t.current();
2495
2495
  return et(e) || e === 95 ? (t.lastIntValue = e % 32, t.advance(), !0) : !1;
2496
2496
  };
2497
- v.regexp_eatHexEscapeSequence = function(t) {
2497
+ b.regexp_eatHexEscapeSequence = function(t) {
2498
2498
  var e = t.pos;
2499
2499
  if (t.eat(
2500
2500
  120
@@ -2506,7 +2506,7 @@ v.regexp_eatHexEscapeSequence = function(t) {
2506
2506
  }
2507
2507
  return !1;
2508
2508
  };
2509
- v.regexp_eatDecimalDigits = function(t) {
2509
+ b.regexp_eatDecimalDigits = function(t) {
2510
2510
  var e = t.pos, s = 0;
2511
2511
  for (t.lastIntValue = 0; et(s = t.current()); )
2512
2512
  t.lastIntValue = 10 * t.lastIntValue + (s - 48), t.advance();
@@ -2515,7 +2515,7 @@ v.regexp_eatDecimalDigits = function(t) {
2515
2515
  function et(t) {
2516
2516
  return t >= 48 && t <= 57;
2517
2517
  }
2518
- v.regexp_eatHexDigits = function(t) {
2518
+ b.regexp_eatHexDigits = function(t) {
2519
2519
  var e = t.pos, s = 0;
2520
2520
  for (t.lastIntValue = 0; Hs(s = t.current()); )
2521
2521
  t.lastIntValue = 16 * t.lastIntValue + $s(s), t.advance();
@@ -2527,7 +2527,7 @@ function Hs(t) {
2527
2527
  function $s(t) {
2528
2528
  return t >= 65 && t <= 70 ? 10 + (t - 65) : t >= 97 && t <= 102 ? 10 + (t - 97) : t - 48;
2529
2529
  }
2530
- v.regexp_eatLegacyOctalEscapeSequence = function(t) {
2530
+ b.regexp_eatLegacyOctalEscapeSequence = function(t) {
2531
2531
  if (this.regexp_eatOctalDigit(t)) {
2532
2532
  var e = t.lastIntValue;
2533
2533
  if (this.regexp_eatOctalDigit(t)) {
@@ -2539,14 +2539,14 @@ v.regexp_eatLegacyOctalEscapeSequence = function(t) {
2539
2539
  }
2540
2540
  return !1;
2541
2541
  };
2542
- v.regexp_eatOctalDigit = function(t) {
2542
+ b.regexp_eatOctalDigit = function(t) {
2543
2543
  var e = t.current();
2544
2544
  return Us(e) ? (t.lastIntValue = e - 48, t.advance(), !0) : (t.lastIntValue = 0, !1);
2545
2545
  };
2546
2546
  function Us(t) {
2547
2547
  return t >= 48 && t <= 55;
2548
2548
  }
2549
- v.regexp_eatFixedHexDigits = function(t, e) {
2549
+ b.regexp_eatFixedHexDigits = function(t, e) {
2550
2550
  var s = t.pos;
2551
2551
  t.lastIntValue = 0;
2552
2552
  for (var i = 0; i < e; ++i) {
@@ -3046,7 +3046,7 @@ 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 = Nt[t]), this.finishToken(e, t);
3049
+ return this.keywords.test(t) && (e = Rt[t]), this.finishToken(e, t);
3050
3050
  };
3051
3051
  var or = "7.4.1";
3052
3052
  A.acorn = {
@@ -3059,7 +3059,7 @@ A.acorn = {
3059
3059
  Node: Lt,
3060
3060
  TokenType: E,
3061
3061
  tokTypes: o,
3062
- keywordTypes: Nt,
3062
+ keywordTypes: Rt,
3063
3063
  TokContext: q,
3064
3064
  tokContexts: I,
3065
3065
  isIdentifierChar: be,
@@ -3123,7 +3123,7 @@ function ts(t, e) {
3123
3123
  configurable: !0
3124
3124
  });
3125
3125
  }
3126
- const dr = Object.prototype.hasOwnProperty, de = Symbol("Break"), me = Symbol("Continue"), ss = Symbol("DefaultCase"), R = Symbol("EmptyStatementReturn"), is = Symbol("WithScopeName"), rs = Symbol("SuperScopeName"), ns = Symbol("RootScopeName"), as = Symbol("GlobalScopeName");
3126
+ const dr = Object.prototype.hasOwnProperty, de = Symbol("Break"), me = Symbol("Continue"), ss = Symbol("DefaultCase"), N = Symbol("EmptyStatementReturn"), is = Symbol("WithScopeName"), rs = Symbol("SuperScopeName"), ns = Symbol("RootScopeName"), as = Symbol("GlobalScopeName");
3127
3127
  function lt(t) {
3128
3128
  return typeof t == "function";
3129
3129
  }
@@ -3640,8 +3640,8 @@ class j {
3640
3640
  set: f
3641
3641
  });
3642
3642
  else {
3643
- const m = c.property, g = m.kind;
3644
- m.key.type === "Identifier" && m.value.type === "FunctionExpression" && g === "init" && !m.value.id && ts(p, m.key.name), n[l] = p;
3643
+ const m = c.property, x = m.kind;
3644
+ m.key.type === "Identifier" && m.value.type === "FunctionExpression" && x === "init" && !m.value.id && ts(p, m.key.name), n[l] = p;
3645
3645
  }
3646
3646
  }
3647
3647
  return n;
@@ -3715,14 +3715,14 @@ class j {
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 g = s.getCurrentScope(), x = mr(d, `FunctionScope(${a})`);
3719
- s.setCurrentScope(x), s.addDeclarationsToScope(h, p, x), a && (x.data[a] = f), x.data.arguments = arguments, c.forEach((N, w) => {
3720
- x.data[N()] = m[w];
3718
+ const x = s.getCurrentScope(), g = mr(d, `FunctionScope(${a})`);
3719
+ s.setCurrentScope(g), s.addDeclarationsToScope(h, p, g), a && (g.data[a] = f), g.data.arguments = arguments, c.forEach((R, w) => {
3720
+ g.data[R()] = m[w];
3721
3721
  });
3722
- const b = s.getCurrentContext();
3722
+ const v = s.getCurrentContext();
3723
3723
  s.setCurrentContext(this);
3724
3724
  const k = l();
3725
- if (s.setCurrentContext(b), s.setCurrentScope(g), s.callStack.pop(), k instanceof Q)
3725
+ if (s.setCurrentContext(v), s.setCurrentScope(x), s.callStack.pop(), k instanceof Q)
3726
3726
  return k.value;
3727
3727
  };
3728
3728
  return ts(f, a), Object.defineProperty(f, "length", {
@@ -3848,7 +3848,7 @@ class j {
3848
3848
  enumerable: !1
3849
3849
  }), this.funcDeclaration(e.id.name, s);
3850
3850
  }
3851
- return () => R;
3851
+ return () => N;
3852
3852
  }
3853
3853
  getVariableName(e) {
3854
3854
  if (e.type === "Identifier")
@@ -3877,7 +3877,7 @@ class j {
3877
3877
  const r = this.isVarDeclMode;
3878
3878
  this.isVarDeclMode = !0, s(), this.isVarDeclMode = r;
3879
3879
  }
3880
- return R;
3880
+ return N;
3881
3881
  };
3882
3882
  }
3883
3883
  assertVariable(e, s, i) {
@@ -3888,10 +3888,10 @@ class j {
3888
3888
  programHandler(e) {
3889
3889
  const s = e.body.map((i) => this.createClosure(i));
3890
3890
  return () => {
3891
- let i = R;
3891
+ let i = N;
3892
3892
  for (let r = 0; r < s.length; r++) {
3893
3893
  const n = s[r], a = this.setValue(n());
3894
- if (a !== R && (i = a, i instanceof Q || i instanceof ue || i instanceof re || i === de || i === me))
3894
+ if (a !== N && (i = a, i instanceof Q || i instanceof ue || i instanceof re || i === de || i === me))
3895
3895
  break;
3896
3896
  }
3897
3897
  return i;
@@ -3902,7 +3902,7 @@ class j {
3902
3902
  return this.createClosure(e.expression);
3903
3903
  }
3904
3904
  emptyStatementHandler(e) {
3905
- return () => R;
3905
+ return () => N;
3906
3906
  }
3907
3907
  // return xx;
3908
3908
  returnStatementHandler(e) {
@@ -3913,7 +3913,7 @@ class j {
3913
3913
  ifStatementHandler(e) {
3914
3914
  const s = this.createClosure(e.test), i = this.createClosure(e.consequent), r = e.alternate ? this.createClosure(e.alternate) : (
3915
3915
  /*!important*/
3916
- () => R
3916
+ () => N
3917
3917
  );
3918
3918
  return () => s() ? i() : r();
3919
3919
  }
@@ -3926,15 +3926,15 @@ class j {
3926
3926
  let s = De, i = e.test ? this.createClosure(e.test) : () => !0, r = De;
3927
3927
  const n = this.createClosure(e.body);
3928
3928
  return e.type === "ForStatement" && (s = e.init ? this.createClosure(e.init) : s, r = e.update ? this.createClosure(e.update) : De), (a) => {
3929
- let u, c = R, l = e.type === "DoWhileStatement";
3929
+ let u, c = N, l = e.type === "DoWhileStatement";
3930
3930
  for (a && a.type === "LabeledStatement" && (u = a.label.name), s(); l || i(); r()) {
3931
3931
  l = !1;
3932
3932
  const h = this.setValue(n());
3933
- if (!(h === R || h === me)) {
3933
+ if (!(h === N || h === me)) {
3934
3934
  if (h === de)
3935
3935
  break;
3936
3936
  if (c = h, c instanceof re && c.value === u) {
3937
- c = R;
3937
+ c = N;
3938
3938
  continue;
3939
3939
  }
3940
3940
  if (c instanceof Q || c instanceof ue || c instanceof re)
@@ -3955,7 +3955,7 @@ class j {
3955
3955
  let s = e.left;
3956
3956
  const i = this.createClosure(e.right), r = this.createClosure(e.body);
3957
3957
  return e.left.type === "VariableDeclaration" && (this.createClosure(e.left)(), s = e.left.declarations[0].id), (n) => {
3958
- let a, u = R, c;
3958
+ let a, u = N, c;
3959
3959
  n && n.type === "LabeledStatement" && (a = n.label.name);
3960
3960
  const l = i();
3961
3961
  for (c in l) {
@@ -3969,11 +3969,11 @@ class j {
3969
3969
  }
3970
3970
  })();
3971
3971
  const h = this.setValue(r());
3972
- if (!(h === R || h === me)) {
3972
+ if (!(h === N || h === me)) {
3973
3973
  if (h === de)
3974
3974
  break;
3975
3975
  if (u = h, u instanceof re && u.value === a) {
3976
- u = R;
3976
+ u = N;
3977
3977
  continue;
3978
3978
  }
3979
3979
  if (u instanceof Q || u instanceof ue || u instanceof re)
@@ -4003,7 +4003,7 @@ class j {
4003
4003
  const s = this.createClosure(e.block), i = e.handler ? this.catchClauseHandler(e.handler) : null, r = e.finalizer ? this.createClosure(e.finalizer) : null;
4004
4004
  return () => {
4005
4005
  const n = this.getCurrentScope(), a = this.getCurrentContext(), u = n.labelStack.concat([]), c = this.callStack.concat([]);
4006
- let l = R, h, p;
4006
+ let l = N, h, p;
4007
4007
  const d = () => {
4008
4008
  this.setCurrentScope(n), this.setCurrentContext(a), n.labelStack = u, this.callStack = c;
4009
4009
  };
@@ -4058,7 +4058,7 @@ class j {
4058
4058
  for (let p = c; p < i.length; p++) {
4059
4059
  const d = i[p](), f = d.testClosure();
4060
4060
  if (!l && f === ss && (l = !0, c = p), n || f === r) {
4061
- if (n = !0, u = this.setValue(d.bodyClosure()), u === R)
4061
+ if (n = !0, u = this.setValue(d.bodyClosure()), u === N)
4062
4062
  continue;
4063
4063
  if (u === de || (a = u, a instanceof Q || a instanceof ue || a instanceof re || a === me))
4064
4064
  break;
@@ -4088,13 +4088,13 @@ class j {
4088
4088
  return () => {
4089
4089
  let r;
4090
4090
  const n = this.getCurrentScope();
4091
- return n.labelStack.push(s), r = i(e), r instanceof ue && r.value === s && (r = R), n.labelStack.pop(), r;
4091
+ return n.labelStack.push(s), r = i(e), r instanceof ue && r.value === s && (r = N), n.labelStack.pop(), r;
4092
4092
  };
4093
4093
  }
4094
4094
  debuggerStatementHandler(e) {
4095
4095
  return () => {
4096
4096
  debugger;
4097
- return R;
4097
+ return N;
4098
4098
  };
4099
4099
  }
4100
4100
  // get es3/5 param name
@@ -4167,7 +4167,7 @@ class j {
4167
4167
  }
4168
4168
  setValue(e) {
4169
4169
  const s = this.callStack.length;
4170
- return this.isVarDeclMode || s || e === R || e === de || e === me || e instanceof ue || e instanceof re || (this.value = e instanceof Q ? e.value : e), e;
4170
+ return this.isVarDeclMode || s || e === N || e === de || e === me || e instanceof ue || e instanceof re || (this.value = e instanceof Q ? e.value : e), e;
4171
4171
  }
4172
4172
  getValue() {
4173
4173
  return this.value;
@@ -4202,7 +4202,7 @@ function vr(t, e) {
4202
4202
  globalContextInFunction: e
4203
4203
  }).evaluate(`(function($scope){ ${t} }).call(this, this)`);
4204
4204
  }
4205
- function Re(t, e, s = !1, i = !1, r = !1) {
4205
+ function Ne(t, e, s = !1, i = !1, r = !1) {
4206
4206
  try {
4207
4207
  const n = ['"use strict";', "var __self = $scope;"];
4208
4208
  n.push("return ");
@@ -4219,7 +4219,7 @@ ${a}
4219
4219
  }
4220
4220
  }
4221
4221
  function z(t, e, s = !1, i = !1, r = !1) {
4222
- const n = Re(t, e, s, i, r);
4222
+ const n = Ne(t, e, s, i, r);
4223
4223
  if (typeof n != "function" && (xe.error(
4224
4224
  "parseFunction.error",
4225
4225
  "not a function",
@@ -4474,7 +4474,7 @@ function Sr(t, e) {
4474
4474
  query: r
4475
4475
  });
4476
4476
  {
4477
- const r = t.headers ? Re(t.headers, {}, !0) : void 0, n = {
4477
+ const r = t.headers ? Ne(t.headers, {}, !0) : void 0, n = {
4478
4478
  url: t.url,
4479
4479
  method: t.method,
4480
4480
  settings: {
@@ -4532,7 +4532,7 @@ function Ir(t, e) {
4532
4532
  const a = mt(s) ? new URL(s).pathname : s, u = ci(`(.*)${a}`, [], { end: !1 }), c = new RegExp(
4533
4533
  u.source + "([?#].*)?$",
4534
4534
  u.flags
4535
- ), l = li(a, { decode: decodeURIComponent }), h = Re(i, {}, !0);
4535
+ ), l = li(a, { decode: decodeURIComponent }), h = Ne(i, {}, !0);
4536
4536
  t.mock(
4537
4537
  c,
4538
4538
  r.toLowerCase(),
@@ -4543,17 +4543,17 @@ function Ir(t, e) {
4543
4543
  if (f === "json")
4544
4544
  try {
4545
4545
  m = JSON.parse(m);
4546
- } catch (b) {
4547
- console.warn("[Mock.mock]", b);
4546
+ } catch (v) {
4547
+ console.warn("[Mock.mock]", v);
4548
4548
  }
4549
4549
  else
4550
4550
  m = he.parse(m);
4551
- const g = mt(p.url) ? new URL(p.url).pathname : p.url.split("?")[0], x = l(g)?.params;
4552
- Object.assign(p, { data: m, params: x, query: d });
4551
+ const x = mt(p.url) ? new URL(p.url).pathname : p.url.split("?")[0], g = l(x)?.params;
4552
+ Object.assign(p, { data: m, params: g, query: d });
4553
4553
  try {
4554
4554
  return t.mock(h(p));
4555
- } catch (b) {
4556
- return console.warn("[mockApi]", c, p, b), null;
4555
+ } catch (v) {
4556
+ return console.warn("[mockApi]", c, p, v), null;
4557
4557
  }
4558
4558
  }
4559
4559
  );
@@ -4653,9 +4653,9 @@ class os {
4653
4653
  if (e)
4654
4654
  if (this.__mode === P.Runtime) {
4655
4655
  const { id: s, type: i } = e, r = s ? this.__transform[s] ?? e.value : e.value;
4656
- return Re({ type: i, value: r }, this);
4656
+ return Ne({ type: i, value: r }, this);
4657
4657
  } else
4658
- return Re(e, this);
4658
+ return Ne(e, this);
4659
4659
  }
4660
4660
  __ref(e = null, s) {
4661
4661
  if (this.__mode === P.VNode)
@@ -4717,45 +4717,45 @@ function Ct(t) {
4717
4717
  ...Pr(c.value.props ?? [], h)
4718
4718
  },
4719
4719
  async setup(d = {}) {
4720
- const f = c.value.id, m = c.value.name, g = e.inject(
4720
+ const f = c.value.id, m = c.value.name, x = e.inject(
4721
4721
  ht,
4722
4722
  null
4723
4723
  );
4724
- if (f && g && g.has(f)) {
4724
+ if (f && x && x.has(f)) {
4725
4725
  const ie = `检测到区块循环引用: ${m}(${f})`;
4726
- return console.warn(`[VTJ Renderer] ${ie},已中断渲染以防止浏览器崩溃`), qe(new Error(ie)), e.provide(ht, g), { __vtjCircular: !0 };
4726
+ return console.warn(`[VTJ Renderer] ${ie},已中断渲染以防止浏览器崩溃`), qe(new Error(ie)), e.provide(ht, x), { __vtjCircular: !0 };
4727
4727
  }
4728
- const x = new Set(g || []);
4729
- f && x.add(f), e.provide(ht, x);
4730
- const b = new os({
4728
+ const g = new Set(x || []);
4729
+ f && g.add(f), e.provide(ht, g);
4730
+ const v = new os({
4731
4731
  mode: i,
4732
4732
  dsl: c.value,
4733
4733
  attrs: l
4734
4734
  });
4735
- b.$props = b.props = d, c.value.id && Pt(
4735
+ v.$props = v.props = d, c.value.id && Pt(
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
- b.$state = b.state = Tr(
4742
+ v.$state = v.state = Tr(
4743
4743
  e,
4744
4744
  c.value.state ?? {},
4745
- b
4745
+ v
4746
4746
  );
4747
- const N = k ? Lr(e, c.value.refs ?? {}, b) : {}, w = k ? jr(e, c.value.reactives ?? {}, b) : {}, D = Nr(e, c.value.computed ?? {}, b), fe = Rr(c.value.methods ?? {}, b), _e = Vr(e, c.value.inject, b), J = Or(
4747
+ const R = k ? Lr(e, c.value.refs ?? {}, v) : {}, w = k ? jr(e, c.value.reactives ?? {}, v) : {}, D = Rr(e, c.value.computed ?? {}, v), fe = Nr(c.value.methods ?? {}, v), _e = Vr(e, c.value.inject, v), J = Or(
4748
4748
  c.value.dataSources || {},
4749
- b
4749
+ v
4750
4750
  );
4751
4751
  let Le = {};
4752
4752
  k && (Le = Mr(
4753
4753
  c.value.composables ?? [],
4754
- b
4754
+ v
4755
4755
  ));
4756
4756
  const tt = {
4757
4757
  ...d,
4758
- ...N,
4758
+ ...R,
4759
4759
  ...w,
4760
4760
  ..._e,
4761
4761
  ...D,
@@ -4763,14 +4763,14 @@ function Ct(t) {
4763
4763
  ...J,
4764
4764
  ...Le
4765
4765
  };
4766
- if (b.setup(tt, e), Fr(e, c.value.watch ?? [], b), k) {
4766
+ if (v.setup(tt, e), Fr(e, c.value.watch ?? [], v), k) {
4767
4767
  if (await Br(
4768
4768
  e,
4769
4769
  c.value.lifeCycles ?? {},
4770
- b,
4770
+ v,
4771
4771
  s
4772
4772
  ), c.value.setup) {
4773
- const ie = b.__parseFunction(c.value.setup);
4773
+ const ie = v.__parseFunction(c.value.setup);
4774
4774
  if (K(ie))
4775
4775
  try {
4776
4776
  await ie();
@@ -4778,13 +4778,13 @@ function Ct(t) {
4778
4778
  console.warn("[VTJ] Composition setup 执行失败", st);
4779
4779
  }
4780
4780
  }
4781
- Dr(e, c.value.provide ?? {}, b);
4781
+ Dr(e, c.value.provide ?? {}, v);
4782
4782
  }
4783
4783
  return {
4784
- vtj: b,
4785
- state: b.$state,
4784
+ vtj: v,
4785
+ state: v.$state,
4786
4786
  ...d,
4787
- ...N,
4787
+ ...R,
4788
4788
  ...w,
4789
4789
  ...D,
4790
4790
  ...fe
@@ -4800,13 +4800,13 @@ function Ct(t) {
4800
4800
  for (const g of Object.keys(f.refs)) this[g];
4801
4801
  if (f.reactives)
4802
4802
  for (const g of Object.keys(f.reactives)) {
4803
- const x = this[g];
4804
- if (x && typeof x == "object")
4805
- for (const b of Object.keys(x)) x[b];
4803
+ const v = this[g];
4804
+ if (v && typeof v == "object")
4805
+ for (const k of Object.keys(v)) v[k];
4806
4806
  }
4807
4807
  if (f.state) {
4808
4808
  const g = this.state;
4809
- for (const x of Object.keys(f.state)) g[x];
4809
+ for (const v of Object.keys(f.state)) g[v];
4810
4810
  }
4811
4811
  if (f.computed)
4812
4812
  for (const g of Object.keys(f.computed)) this[g];
@@ -4814,12 +4814,14 @@ function Ct(t) {
4814
4814
  for (const g of f.inject) this[g.name];
4815
4815
  if (!f.nodes) return null;
4816
4816
  const m = f.nodes || [];
4817
+ let x;
4817
4818
  if (m.length === 1)
4818
- return ye(m[0], d, e, u, m);
4819
- {
4820
- const g = m.map((x) => ye(x, d, e, u, m)).flat();
4821
- return e.createVNode("div", {}, g);
4819
+ x = ye(m[0], d, e, u, m);
4820
+ else {
4821
+ const g = m.map((v) => ye(v, d, e, u, m)).flat();
4822
+ x = e.createVNode("div", {}, g);
4822
4823
  }
4824
+ return d !== h && (h.__contextRefs = d.__contextRefs), x;
4823
4825
  },
4824
4826
  // Options 模式下生命周期以 Options 风格注册
4825
4827
  ...c.value.apiMode !== "composition" ? Hr(c.value.lifeCycles ?? {}, h) : {}
@@ -4861,13 +4863,13 @@ function Tr(t, e, s) {
4861
4863
  )
4862
4864
  );
4863
4865
  }
4864
- function Nr(t, e, s) {
4866
+ function Rr(t, e, s) {
4865
4867
  return Object.entries(e ?? {}).reduce(
4866
4868
  (i, [r, n]) => (O(n) ? i[r] = t.computed(s.__parseFunction(n)) : i[r] = t.computed(s.__parseExpression(n)), i),
4867
4869
  {}
4868
4870
  );
4869
4871
  }
4870
- function Rr(t, e) {
4872
+ function Nr(t, e) {
4871
4873
  return Object.entries(t ?? {}).reduce(
4872
4874
  (s, [i, r]) => (s[i] = e.__parseFunction(r), s),
4873
4875
  {}
@@ -5130,18 +5132,18 @@ function jn() {
5130
5132
  }
5131
5133
  function ye(t, e, s = ve, i = Ur, r = [], n = !1, a = 0) {
5132
5134
  if (!t || !t.name || t.invisible) return null;
5133
- const u = s.getCurrentInstance()?.appContext, { id: c = null, directives: l = [] } = t, { vIf: h, vElseIf: p, vElse: d, vFor: f, vShow: m, vModels: g, vBind: x, vHtml: b, others: k } = Ys(l);
5135
+ 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 } = Ys(l);
5134
5136
  if (!n && (p || d))
5135
5137
  return null;
5136
5138
  if (h && !qr(h, e))
5137
5139
  return Yr(t, e, s, i, r);
5138
- const N = (w, D = 0) => {
5140
+ const R = (w, D = 0) => {
5139
5141
  const fe = w.$components, _e = (() => {
5140
5142
  if (t.name === "component")
5141
5143
  return Wr(w, t.props?.is);
5142
5144
  if (t.name === "slot") return t.name;
5143
5145
  const G = i(`${t.id}_${D}`, t.name, t.from, s);
5144
- return ee(G) ? Ri(G) || Vi(G) ? G : fe[G] ?? u?.app?.component(G) ?? G : G;
5146
+ return ee(G) ? Ni(G) || Vi(G) ? G : fe[G] ?? u?.app?.component(G) ?? G : G;
5145
5147
  })(), J = Kr(c, t.props ?? {}, w), Le = Qr(
5146
5148
  s,
5147
5149
  t.id,
@@ -5150,10 +5152,10 @@ function ye(t, e, s = ve, i = Ur, r = [], n = !1, a = 0) {
5150
5152
  );
5151
5153
  if (t.name === "slot")
5152
5154
  return Xr(s, t, J, w, i);
5153
- x && Object.assign(J, w.__parseExpression(x.value)), m && (J.style = Object.assign(
5155
+ g && Object.assign(J, w.__parseExpression(g.value)), m && (J.style = Object.assign(
5154
5156
  J.style ?? {},
5155
5157
  en(m, w)
5156
- )), b && Object.assign(J, tn(b, w)), g.forEach((G) => {
5158
+ )), v && Object.assign(J, tn(v, w)), x.forEach((G) => {
5157
5159
  fs.includes(t.name) ? Object.assign(J, sn(G, w)) : Object.assign(J, rn(s, G, w));
5158
5160
  });
5159
5161
  const tt = nn(
@@ -5177,7 +5179,7 @@ function ye(t, e, s = ve, i = Ur, r = [], n = !1, a = 0) {
5177
5179
  const qt = u ? Gr(u, k, w) : [];
5178
5180
  return qt.length && (rt = s.withDirectives(rt, qt)), rt;
5179
5181
  };
5180
- return f ? un(f, N, e) : N(e, a);
5182
+ return f ? un(f, R, e) : R(e, a);
5181
5183
  }
5182
5184
  function Gr(t, e, s) {
5183
5185
  const i = t.app;
@@ -5349,14 +5351,14 @@ function nn(t, e, s, i, r) {
5349
5351
  (u, [c, { nodes: l, params: h, scope: p }]) => (u[c] = (d) => {
5350
5352
  const f = h.length ? di(d ?? {}, h) : a(d, p);
5351
5353
  return l.map(
5352
- (m, g) => ye(
5354
+ (m, x) => ye(
5353
5355
  m,
5354
5356
  s.__clone(f),
5355
5357
  t,
5356
5358
  i,
5357
5359
  l,
5358
5360
  !1,
5359
- g
5361
+ x
5360
5362
  )
5361
5363
  );
5362
5364
  }, u),
@@ -5465,20 +5467,20 @@ function Mn(t) {
5465
5467
  u.value = !f?.mask, c.value = m?.pure ?? !!f?.pure;
5466
5468
  };
5467
5469
  xi(() => {
5468
- const { name: f, params: m, meta: g } = n;
5470
+ const { name: f, params: m, meta: x } = n;
5469
5471
  if (f === Ee) {
5470
- const x = r.getPage(m.id);
5471
- h(x, g);
5472
+ const g = r.getPage(m.id);
5473
+ h(g, x);
5472
5474
  } else if (f === He) {
5473
- const x = r.getHomepage();
5474
- h(x, g);
5475
+ const g = r.getHomepage();
5476
+ h(g, x);
5475
5477
  } else {
5476
- const x = g.__vtj__;
5477
- if (x) {
5478
- const b = r.getPage(x);
5479
- h(b, g);
5478
+ const g = x.__vtj__;
5479
+ if (g) {
5480
+ const v = r.getPage(g);
5481
+ h(v, x);
5480
5482
  } else
5481
- u.value = !g.mask, c.value = !!g.pure;
5483
+ u.value = !x.mask, c.value = !!x.pure;
5482
5484
  }
5483
5485
  });
5484
5486
  const p = We(
@@ -5520,9 +5522,9 @@ function kt(t) {
5520
5522
  homepage: u
5521
5523
  } = t, c = [];
5522
5524
  for (const l of i) {
5523
- const { id: h, title: p, dir: d, layout: f, children: m, meta: g } = l;
5525
+ const { id: h, title: p, dir: d, layout: f, children: m, meta: x } = l;
5524
5526
  if (d) {
5525
- const x = kt({
5527
+ const g = kt({
5526
5528
  name: e,
5527
5529
  prefix: s,
5528
5530
  component: r,
@@ -5531,9 +5533,9 @@ function kt(t) {
5531
5533
  loader: n,
5532
5534
  pages: m || []
5533
5535
  });
5534
- c.push(...x);
5536
+ c.push(...g);
5535
5537
  } else if (f) {
5536
- const x = kt({
5538
+ const g = kt({
5537
5539
  name: e,
5538
5540
  prefix: s,
5539
5541
  component: r,
@@ -5541,22 +5543,22 @@ function kt(t) {
5541
5543
  homepage: u,
5542
5544
  loader: n,
5543
5545
  pages: m || []
5544
- }), b = {
5546
+ }), v = {
5545
5547
  name: `layout_${h}`,
5546
5548
  path: s,
5547
5549
  component: () => n(h),
5548
5550
  meta: {
5549
5551
  title: p,
5550
5552
  ...a,
5551
- ...g,
5553
+ ...x,
5552
5554
  __vtj__: h
5553
5555
  },
5554
- children: x
5556
+ children: g
5555
5557
  };
5556
- c.push(b), c.push(dt(l, t));
5558
+ c.push(v), c.push(dt(l, t));
5557
5559
  } else if (c.push(dt(l, t)), u === h) {
5558
- const x = dt(l, t);
5559
- x.path = "", x.name = `home_${h}`, c.push(x);
5560
+ const g = dt(l, t);
5561
+ g.path = "", g.name = `home_${h}`, c.push(g);
5560
5562
  }
5561
5563
  }
5562
5564
  return c;
@@ -5763,36 +5765,36 @@ class vn extends ni {
5763
5765
  /* Development */
5764
5766
  );
5765
5767
  Object.assign(this.libraryLocaleMap, m);
5766
- for (const g of l) {
5767
- const x = i[g], b = e[g];
5768
- if (b)
5769
- r[g] = b;
5770
- else if (x)
5771
- e[g] = r[g] = await x();
5768
+ for (const x of l) {
5769
+ const g = i[x], v = e[x];
5770
+ if (v)
5771
+ r[x] = v;
5772
+ else if (g)
5773
+ e[x] = r[x] = await g();
5772
5774
  else {
5773
- const N = h[g] || [];
5774
- for (const w of N)
5775
+ const R = h[x] || [];
5776
+ for (const w of R)
5775
5777
  Ke(w) && await Ti(w, he.append(w, { v: we })), ze(w) && await Jt(he.append(w, { v: we }));
5776
- r[g] = e[g];
5778
+ r[x] = e[x];
5777
5779
  }
5778
- const k = m[g];
5780
+ const k = m[x];
5779
5781
  if (k) {
5780
- const N = i[k];
5781
- c[k] = N ? await N() : e[k];
5782
+ const R = i[k];
5783
+ c[k] = R ? await R() : e[k];
5782
5784
  }
5783
5785
  }
5784
5786
  if (u === "development") {
5785
- for (const x of p)
5786
- await Jt(he.append(x, { v: we }));
5787
- const g = this.materials || {};
5788
- for (const x of d) {
5789
- const b = e[f[x]], k = b?.default || b, N = ai[x];
5790
- if (N)
5791
- k && N.forEach((w) => {
5787
+ for (const g of p)
5788
+ await Jt(he.append(g, { v: we }));
5789
+ const x = this.materials || {};
5790
+ for (const g of d) {
5791
+ const v = e[f[g]], k = v?.default || v, R = ai[g];
5792
+ if (R)
5793
+ k && R.forEach((w) => {
5792
5794
  n[w] = k[w];
5793
5795
  });
5794
5796
  else {
5795
- const w = g[x] ? (await g[x]()).default : e[x];
5797
+ const w = x[g] ? (await x[g]()).default : e[g];
5796
5798
  w && k && (w.components || []).forEach((D) => {
5797
5799
  n[D.name] = wi(D, k);
5798
5800
  });
@@ -5826,8 +5828,8 @@ class vn extends ni {
5826
5828
  component: ft,
5827
5829
  loader: this.getRenderComponent.bind(this),
5828
5830
  homepage: p?.id
5829
- }).forEach((g) => {
5830
- a ? e.addRoute(a, g) : e.addRoute(g);
5831
+ }).forEach((x) => {
5832
+ a ? e.addRoute(a, x) : e.addRoute(x);
5831
5833
  }), p || (a ? e.addRoute(a, d) : e.addRoute(d));
5832
5834
  } else
5833
5835
  a ? (e.addRoute(a, h), e.addRoute(a, d)) : (e.addRoute(h), e.addRoute(d));
@@ -5865,7 +5867,7 @@ class vn extends ni {
5865
5867
  install(e) {
5866
5868
  const { libraryLocaleMap: s, libraryLocales: i } = this, { libraryOptions: r = {} } = this.options, n = e.config.globalProperties.installed || {};
5867
5869
  for (const [a, u] of Object.entries(this.library))
5868
- if (!n[a] && Ni(u)) {
5870
+ if (!n[a] && Ri(u)) {
5869
5871
  const l = { locale: i[s[a]] }, h = r[a] || {}, p = { ...l, ...h };
5870
5872
  e.use(u, p), n[a] = !0;
5871
5873
  }
@@ -6429,7 +6431,7 @@ export {
6429
6431
  An as REMOTE,
6430
6432
  Kn as StorageService,
6431
6433
  we as VTJ_RENDERER_VERSION,
6432
- Rn as adoptStylesToInline,
6434
+ Nn as adoptStylesToInline,
6433
6435
  Pt as adoptedStyleSheets,
6434
6436
  jn as clearLoaderCache,
6435
6437
  ki as compileScopedCSS,
@@ -6437,7 +6439,7 @@ export {
6437
6439
  Ln as createAccess,
6438
6440
  Fn as createAdapter,
6439
6441
  Tn as createAssetScripts,
6440
- Nn as createAssetsCss,
6442
+ Rn as createAssetsCss,
6441
6443
  Or as createDataSources,
6442
6444
  wt as createLoader,
6443
6445
  zn as createMemoryService,
@@ -6457,7 +6459,7 @@ export {
6457
6459
  wi as getRawComponent,
6458
6460
  Oi as isArrowFunction,
6459
6461
  Li as isAssignment‌,
6460
- Ri as isBuiltInTag,
6462
+ Ni as isBuiltInTag,
6461
6463
  Ke as isCSSUrl,
6462
6464
  Fi as isCallFunction,
6463
6465
  br as isJSCode,
@@ -6466,7 +6468,7 @@ export {
6466
6468
  _i as isJSON,
6467
6469
  ze as isJSUrl,
6468
6470
  Vi as isNativeTag,
6469
- Ni as isVuePlugin,
6471
+ Ri as isVuePlugin,
6470
6472
  Ti as loadCss,
6471
6473
  ms as loadCssUrl,
6472
6474
  qn as loadEnhance,
@@ -6478,7 +6480,7 @@ export {
6478
6480
  Se as nodeCache,
6479
6481
  ye as nodeRender,
6480
6482
  Ci as parseDeps,
6481
- Re as parseExpression,
6483
+ Ne as parseExpression,
6482
6484
  z as parseFunction,
6483
6485
  Ei as parseUrls,
6484
6486
  Ut as providerKey,