x-runtime-lib 0.3.7 → 0.3.9
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.js +272 -265
- package/dist/interpreter/bind/base.d.ts +0 -1
- package/dist/interpreter/bind/index.d.ts +0 -1
- package/dist/interpreter/bind/view.d.ts +0 -1
- package/dist/interpreter/index.d.ts +0 -1
- package/dist/types/element.d.ts +2 -0
- package/dist/utils/provideInject.d.ts +0 -1
- package/package.json +15 -15
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var wi = Object.defineProperty;
|
|
2
2
|
var Ci = (n, s, p) => s in n ? wi(n, s, { enumerable: !0, configurable: !0, writable: !0, value: p }) : n[s] = p;
|
|
3
|
-
var wt = (n, s, p) =>
|
|
4
|
-
import { provide as ae, inject as oe, readonly as
|
|
3
|
+
var wt = (n, s, p) => Ci(n, typeof s != "symbol" ? s + "" : s, p);
|
|
4
|
+
import { provide as ae, inject as oe, readonly as $e, isReactive as an, defineComponent as on, resolveComponent as Ai, openBlock as un, createBlock as sn, unref as xi, computed as le, ref as Cr, watchEffect as Ii, watch as ki, onBeforeUnmount as Di, h as Le } from "vue";
|
|
5
5
|
import { useI18n as Fi } from "vue-i18n";
|
|
6
6
|
import { openConfirmDlg as Li, openPromptDlg as Ui, eventBus as Mi } from "x-essential-lib";
|
|
7
7
|
const ji = /* @__PURE__ */ new Set([
|
|
@@ -46,7 +46,7 @@ function Yi(n) {
|
|
|
46
46
|
const s = n.substring(0, n.length - 1), p = parseFloat(s);
|
|
47
47
|
return !isNaN(p);
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function sc(n) {
|
|
50
50
|
if (typeof n != "string" || !n.endsWith("px"))
|
|
51
51
|
return;
|
|
52
52
|
const s = n.substring(0, n.length - 2), p = parseFloat(s);
|
|
@@ -60,38 +60,38 @@ function Ct(n) {
|
|
|
60
60
|
if (!isNaN(p))
|
|
61
61
|
return p;
|
|
62
62
|
}
|
|
63
|
-
var ln = typeof global == "object" && global && global.Object === Object && global, Xi = typeof self == "object" && self && self.Object === Object && self, K = ln || Xi || Function("return this")(), Re = K.Symbol, pn = Object.prototype, Wi = pn.hasOwnProperty, zi = pn.toString,
|
|
63
|
+
var ln = typeof global == "object" && global && global.Object === Object && global, Xi = typeof self == "object" && self && self.Object === Object && self, K = ln || Xi || Function("return this")(), Re = K.Symbol, pn = Object.prototype, Wi = pn.hasOwnProperty, zi = pn.toString, Ue = Re ? Re.toStringTag : void 0;
|
|
64
64
|
function Ji(n) {
|
|
65
|
-
var s = Wi.call(n,
|
|
65
|
+
var s = Wi.call(n, Ue), p = n[Ue];
|
|
66
66
|
try {
|
|
67
|
-
n[
|
|
67
|
+
n[Ue] = void 0;
|
|
68
68
|
var y = !0;
|
|
69
69
|
} catch {
|
|
70
70
|
}
|
|
71
71
|
var g = zi.call(n);
|
|
72
|
-
return y && (s ? n[
|
|
72
|
+
return y && (s ? n[Ue] = p : delete n[Ue]), g;
|
|
73
73
|
}
|
|
74
74
|
var Hi = Object.prototype, Ki = Hi.toString;
|
|
75
75
|
function qi(n) {
|
|
76
76
|
return Ki.call(n);
|
|
77
77
|
}
|
|
78
78
|
var Zi = "[object Null]", Qi = "[object Undefined]", xr = Re ? Re.toStringTag : void 0;
|
|
79
|
-
function
|
|
79
|
+
function Ge(n) {
|
|
80
80
|
return n == null ? n === void 0 ? Qi : Zi : xr && xr in Object(n) ? Ji(n) : qi(n);
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function Ve(n) {
|
|
83
83
|
return n != null && typeof n == "object";
|
|
84
84
|
}
|
|
85
85
|
var Ut = Array.isArray;
|
|
86
|
-
function
|
|
86
|
+
function Ye(n) {
|
|
87
87
|
var s = typeof n;
|
|
88
88
|
return n != null && (s == "object" || s == "function");
|
|
89
89
|
}
|
|
90
90
|
var ea = "[object AsyncFunction]", ta = "[object Function]", ra = "[object GeneratorFunction]", na = "[object Proxy]";
|
|
91
91
|
function hn(n) {
|
|
92
|
-
if (!
|
|
92
|
+
if (!Ye(n))
|
|
93
93
|
return !1;
|
|
94
|
-
var s =
|
|
94
|
+
var s = Ge(n);
|
|
95
95
|
return s == ta || s == ra || s == ea || s == na;
|
|
96
96
|
}
|
|
97
97
|
var At = K["__core-js_shared__"], Ir = function() {
|
|
@@ -119,7 +119,7 @@ var ua = /[\\^$.*+?()[\]{}|]/g, sa = /^\[object .+?Constructor\]$/, ca = Functio
|
|
|
119
119
|
"^" + la.call(pa).replace(ua, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
120
120
|
);
|
|
121
121
|
function da(n) {
|
|
122
|
-
if (!
|
|
122
|
+
if (!Ye(n) || ia(n))
|
|
123
123
|
return !1;
|
|
124
124
|
var s = hn(n) ? ha : sa;
|
|
125
125
|
return s.test(he(n));
|
|
@@ -135,7 +135,7 @@ var It = de(K, "WeakMap"), kr = Object.create, ya = /* @__PURE__ */ function() {
|
|
|
135
135
|
function n() {
|
|
136
136
|
}
|
|
137
137
|
return function(s) {
|
|
138
|
-
if (!
|
|
138
|
+
if (!Ye(s))
|
|
139
139
|
return {};
|
|
140
140
|
if (kr)
|
|
141
141
|
return kr(s);
|
|
@@ -211,12 +211,12 @@ function Sa(n, s) {
|
|
|
211
211
|
}
|
|
212
212
|
var Pa = "[object Arguments]";
|
|
213
213
|
function Fr(n) {
|
|
214
|
-
return
|
|
214
|
+
return Ve(n) && Ge(n) == Pa;
|
|
215
215
|
}
|
|
216
216
|
var _n = Object.prototype, wa = _n.hasOwnProperty, Ca = _n.propertyIsEnumerable, Aa = Fr(/* @__PURE__ */ function() {
|
|
217
217
|
return arguments;
|
|
218
218
|
}()) ? Fr : function(n) {
|
|
219
|
-
return
|
|
219
|
+
return Ve(n) && wa.call(n, "callee") && !Ca.call(n, "callee");
|
|
220
220
|
};
|
|
221
221
|
function xa() {
|
|
222
222
|
return !1;
|
|
@@ -225,16 +225,16 @@ var bn = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
|
225
225
|
L[Ha] = L[Ka] = L[qa] = L[Za] = L[Qa] = L[eo] = L[to] = L[ro] = L[no] = !0;
|
|
226
226
|
L[Da] = L[Fa] = L[za] = L[La] = L[Ja] = L[Ua] = L[Ma] = L[ja] = L[Ba] = L[$a] = L[Ga] = L[Va] = L[Ya] = L[Xa] = L[Wa] = !1;
|
|
227
227
|
function io(n) {
|
|
228
|
-
return
|
|
228
|
+
return Ve(n) && En(n.length) && !!L[Ge(n)];
|
|
229
229
|
}
|
|
230
230
|
function jt(n) {
|
|
231
231
|
return function(s) {
|
|
232
232
|
return n(s);
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
|
-
var Rn = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
235
|
+
var Rn = typeof exports == "object" && exports && !exports.nodeType && exports, Me = Rn && typeof module == "object" && module && !module.nodeType && module, ao = Me && Me.exports === Rn, xt = ao && ln.process, Oe = function() {
|
|
236
236
|
try {
|
|
237
|
-
var n =
|
|
237
|
+
var n = Me && Me.require && Me.require("util").types;
|
|
238
238
|
return n || xt && xt.binding && xt.binding("util");
|
|
239
239
|
} catch {
|
|
240
240
|
}
|
|
@@ -275,7 +275,7 @@ function ho(n) {
|
|
|
275
275
|
}
|
|
276
276
|
var vo = Object.prototype, yo = vo.hasOwnProperty;
|
|
277
277
|
function Eo(n) {
|
|
278
|
-
if (!
|
|
278
|
+
if (!Ye(n))
|
|
279
279
|
return ho(n);
|
|
280
280
|
var s = Mt(n), p = [];
|
|
281
281
|
for (var y in n)
|
|
@@ -285,9 +285,9 @@ function Eo(n) {
|
|
|
285
285
|
function $t(n) {
|
|
286
286
|
return gn(n) ? On(n, !0) : Eo(n);
|
|
287
287
|
}
|
|
288
|
-
var
|
|
288
|
+
var je = de(Object, "create");
|
|
289
289
|
function go() {
|
|
290
|
-
this.__data__ =
|
|
290
|
+
this.__data__ = je ? je(null) : {}, this.size = 0;
|
|
291
291
|
}
|
|
292
292
|
function _o(n) {
|
|
293
293
|
var s = this.has(n) && delete this.__data__[n];
|
|
@@ -296,7 +296,7 @@ function _o(n) {
|
|
|
296
296
|
var bo = "__lodash_hash_undefined__", mo = Object.prototype, Ro = mo.hasOwnProperty;
|
|
297
297
|
function Oo(n) {
|
|
298
298
|
var s = this.__data__;
|
|
299
|
-
if (
|
|
299
|
+
if (je) {
|
|
300
300
|
var p = s[n];
|
|
301
301
|
return p === bo ? void 0 : p;
|
|
302
302
|
}
|
|
@@ -305,12 +305,12 @@ function Oo(n) {
|
|
|
305
305
|
var No = Object.prototype, To = No.hasOwnProperty;
|
|
306
306
|
function So(n) {
|
|
307
307
|
var s = this.__data__;
|
|
308
|
-
return
|
|
308
|
+
return je ? s[n] !== void 0 : To.call(s, n);
|
|
309
309
|
}
|
|
310
310
|
var Po = "__lodash_hash_undefined__";
|
|
311
311
|
function wo(n, s) {
|
|
312
312
|
var p = this.__data__;
|
|
313
|
-
return this.size += this.has(n) ? 0 : 1, p[n] =
|
|
313
|
+
return this.size += this.has(n) ? 0 : 1, p[n] = je && s === void 0 ? Po : s, this;
|
|
314
314
|
}
|
|
315
315
|
function pe(n) {
|
|
316
316
|
var s = -1, p = n == null ? 0 : n.length;
|
|
@@ -364,11 +364,11 @@ te.prototype.delete = Io;
|
|
|
364
364
|
te.prototype.get = ko;
|
|
365
365
|
te.prototype.has = Do;
|
|
366
366
|
te.prototype.set = Fo;
|
|
367
|
-
var
|
|
367
|
+
var Be = de(K, "Map");
|
|
368
368
|
function Lo() {
|
|
369
369
|
this.size = 0, this.__data__ = {
|
|
370
370
|
hash: new pe(),
|
|
371
|
-
map: new (
|
|
371
|
+
map: new (Be || te)(),
|
|
372
372
|
string: new pe()
|
|
373
373
|
};
|
|
374
374
|
}
|
|
@@ -394,18 +394,18 @@ function $o(n, s) {
|
|
|
394
394
|
var p = at(this, n), y = p.size;
|
|
395
395
|
return p.set(n, s), this.size += p.size == y ? 0 : 1, this;
|
|
396
396
|
}
|
|
397
|
-
function
|
|
397
|
+
function Te(n) {
|
|
398
398
|
var s = -1, p = n == null ? 0 : n.length;
|
|
399
399
|
for (this.clear(); ++s < p; ) {
|
|
400
400
|
var y = n[s];
|
|
401
401
|
this.set(y[0], y[1]);
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
404
|
+
Te.prototype.clear = Lo;
|
|
405
|
+
Te.prototype.delete = Mo;
|
|
406
|
+
Te.prototype.get = jo;
|
|
407
|
+
Te.prototype.has = Bo;
|
|
408
|
+
Te.prototype.set = $o;
|
|
409
409
|
function Tn(n, s) {
|
|
410
410
|
for (var p = -1, y = s.length, g = n.length; ++p < y; )
|
|
411
411
|
n[g + p] = s[p];
|
|
@@ -430,21 +430,21 @@ function zo(n, s) {
|
|
|
430
430
|
var p = this.__data__;
|
|
431
431
|
if (p instanceof te) {
|
|
432
432
|
var y = p.__data__;
|
|
433
|
-
if (!
|
|
433
|
+
if (!Be || y.length < Wo - 1)
|
|
434
434
|
return y.push([n, s]), this.size = ++p.size, this;
|
|
435
|
-
p = this.__data__ = new
|
|
435
|
+
p = this.__data__ = new Te(y);
|
|
436
436
|
}
|
|
437
437
|
return p.set(n, s), this.size = p.size, this;
|
|
438
438
|
}
|
|
439
|
-
function
|
|
439
|
+
function Se(n) {
|
|
440
440
|
var s = this.__data__ = new te(n);
|
|
441
441
|
this.size = s.size;
|
|
442
442
|
}
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
443
|
+
Se.prototype.clear = Go;
|
|
444
|
+
Se.prototype.delete = Vo;
|
|
445
|
+
Se.prototype.get = Yo;
|
|
446
|
+
Se.prototype.has = Xo;
|
|
447
|
+
Se.prototype.set = zo;
|
|
448
448
|
function Jo(n, s) {
|
|
449
449
|
return n && nt(s, Bt(s), n);
|
|
450
450
|
}
|
|
@@ -494,9 +494,9 @@ function iu(n) {
|
|
|
494
494
|
function au(n) {
|
|
495
495
|
return An(n, $t, Cn);
|
|
496
496
|
}
|
|
497
|
-
var kt = de(K, "DataView"), Dt = de(K, "Promise"), Ft = de(K, "Set"), Vr = "[object Map]", ou = "[object Object]", Yr = "[object Promise]", Xr = "[object Set]", Wr = "[object WeakMap]", zr = "[object DataView]", uu = he(kt), su = he(
|
|
498
|
-
(kt && ee(new kt(new ArrayBuffer(1))) != zr ||
|
|
499
|
-
var s =
|
|
497
|
+
var kt = de(K, "DataView"), Dt = de(K, "Promise"), Ft = de(K, "Set"), Vr = "[object Map]", ou = "[object Object]", Yr = "[object Promise]", Xr = "[object Set]", Wr = "[object WeakMap]", zr = "[object DataView]", uu = he(kt), su = he(Be), cu = he(Dt), fu = he(Ft), lu = he(It), ee = Ge;
|
|
498
|
+
(kt && ee(new kt(new ArrayBuffer(1))) != zr || Be && ee(new Be()) != Vr || Dt && ee(Dt.resolve()) != Yr || Ft && ee(new Ft()) != Xr || It && ee(new It()) != Wr) && (ee = function(n) {
|
|
499
|
+
var s = Ge(n), p = s == ou ? n.constructor : void 0, y = p ? he(p) : "";
|
|
500
500
|
if (y)
|
|
501
501
|
switch (y) {
|
|
502
502
|
case uu:
|
|
@@ -578,20 +578,20 @@ function Bu(n) {
|
|
|
578
578
|
}
|
|
579
579
|
var $u = "[object Map]";
|
|
580
580
|
function Gu(n) {
|
|
581
|
-
return
|
|
581
|
+
return Ve(n) && ee(n) == $u;
|
|
582
582
|
}
|
|
583
583
|
var qr = Oe && Oe.isMap, Vu = qr ? jt(qr) : Gu, Yu = "[object Set]";
|
|
584
584
|
function Xu(n) {
|
|
585
|
-
return
|
|
585
|
+
return Ve(n) && ee(n) == Yu;
|
|
586
586
|
}
|
|
587
587
|
var Zr = Oe && Oe.isSet, Wu = Zr ? jt(Zr) : Xu, zu = 1, Ju = 2, Hu = 4, xn = "[object Arguments]", Ku = "[object Array]", qu = "[object Boolean]", Zu = "[object Date]", Qu = "[object Error]", In = "[object Function]", es = "[object GeneratorFunction]", ts = "[object Map]", rs = "[object Number]", kn = "[object Object]", ns = "[object RegExp]", is = "[object Set]", as = "[object String]", os = "[object Symbol]", us = "[object WeakMap]", ss = "[object ArrayBuffer]", cs = "[object DataView]", fs = "[object Float32Array]", ls = "[object Float64Array]", ps = "[object Int8Array]", hs = "[object Int16Array]", ds = "[object Int32Array]", vs = "[object Uint8Array]", ys = "[object Uint8ClampedArray]", Es = "[object Uint16Array]", gs = "[object Uint32Array]", F = {};
|
|
588
588
|
F[xn] = F[Ku] = F[ss] = F[cs] = F[qu] = F[Zu] = F[fs] = F[ls] = F[ps] = F[hs] = F[ds] = F[ts] = F[rs] = F[kn] = F[ns] = F[is] = F[as] = F[os] = F[vs] = F[ys] = F[Es] = F[gs] = !0;
|
|
589
589
|
F[Qu] = F[In] = F[us] = !1;
|
|
590
|
-
function
|
|
590
|
+
function rt(n, s, p, y, g, R) {
|
|
591
591
|
var m, N = s & zu, T = s & Ju, r = s & Hu;
|
|
592
592
|
if (m !== void 0)
|
|
593
593
|
return m;
|
|
594
|
-
if (!
|
|
594
|
+
if (!Ye(n))
|
|
595
595
|
return n;
|
|
596
596
|
var t = Ut(n);
|
|
597
597
|
if (t) {
|
|
@@ -610,23 +610,23 @@ function tt(n, s, p, y, g, R) {
|
|
|
610
610
|
m = ju(n, e, N);
|
|
611
611
|
}
|
|
612
612
|
}
|
|
613
|
-
R = new
|
|
613
|
+
R || (R = new Se());
|
|
614
614
|
var o = R.get(n);
|
|
615
615
|
if (o)
|
|
616
616
|
return o;
|
|
617
617
|
R.set(n, m), Wu(n) ? n.forEach(function(a) {
|
|
618
|
-
m.add(
|
|
618
|
+
m.add(rt(a, s, p, a, n, R));
|
|
619
619
|
}) : Vu(n) && n.forEach(function(a, l) {
|
|
620
|
-
m.set(l,
|
|
620
|
+
m.set(l, rt(a, s, p, l, n, R));
|
|
621
621
|
});
|
|
622
622
|
var u = r ? T ? au : iu : T ? $t : Bt, c = t ? void 0 : u(n);
|
|
623
623
|
return ga(c || n, function(a, l) {
|
|
624
|
-
c && (l = a, a = n[l]), yn(m, l,
|
|
624
|
+
c && (l = a, a = n[l]), yn(m, l, rt(a, s, p, l, n, R));
|
|
625
625
|
}), m;
|
|
626
626
|
}
|
|
627
627
|
var _s = 1, bs = 4;
|
|
628
628
|
function Lt(n) {
|
|
629
|
-
return
|
|
629
|
+
return rt(n, _s | bs);
|
|
630
630
|
}
|
|
631
631
|
function ms(n, s) {
|
|
632
632
|
if (n === "page") {
|
|
@@ -680,7 +680,7 @@ function Rs(n, s, p, y, g) {
|
|
|
680
680
|
console.error(`[ref] element not found in pkg key=${g}`);
|
|
681
681
|
return;
|
|
682
682
|
}
|
|
683
|
-
const t =
|
|
683
|
+
const t = Ne[r];
|
|
684
684
|
if (!t) {
|
|
685
685
|
console.error(`[ref] element not found in global key=${g}`);
|
|
686
686
|
return;
|
|
@@ -698,7 +698,7 @@ function Rs(n, s, p, y, g) {
|
|
|
698
698
|
console.error(`[key] element not found in pkg key=${g}`);
|
|
699
699
|
return;
|
|
700
700
|
}
|
|
701
|
-
const r =
|
|
701
|
+
const r = Ne[g];
|
|
702
702
|
if (!r) {
|
|
703
703
|
console.error(`[key] element not found in global key=${g}`);
|
|
704
704
|
return;
|
|
@@ -712,7 +712,7 @@ function Rs(n, s, p, y, g) {
|
|
|
712
712
|
}
|
|
713
713
|
return N;
|
|
714
714
|
}
|
|
715
|
-
function
|
|
715
|
+
function cc(n, s) {
|
|
716
716
|
function p(y) {
|
|
717
717
|
if (y.id === s)
|
|
718
718
|
return y;
|
|
@@ -729,7 +729,7 @@ function sc(n, s) {
|
|
|
729
729
|
return g;
|
|
730
730
|
}
|
|
731
731
|
}
|
|
732
|
-
function
|
|
732
|
+
function fc(n) {
|
|
733
733
|
function s(y) {
|
|
734
734
|
var g;
|
|
735
735
|
y.id = fn(16), (g = y.children) == null || g.forEach((R) => s(R));
|
|
@@ -738,54 +738,54 @@ function cc(n) {
|
|
|
738
738
|
return s(p), p;
|
|
739
739
|
}
|
|
740
740
|
const Dn = "runtimeEnv", Fn = "runtimeMode", Ln = "runtimeDevice", Un = "runtimeDark", Mn = "runtimeType", jn = "runtimeData", Bn = "runtimeDepends", $n = "runtimeInterpreter";
|
|
741
|
-
function
|
|
741
|
+
function lc(n) {
|
|
742
742
|
ae(Dn, n);
|
|
743
743
|
}
|
|
744
744
|
function Os() {
|
|
745
745
|
return oe(Dn);
|
|
746
746
|
}
|
|
747
|
-
function
|
|
747
|
+
function pc(n) {
|
|
748
748
|
ae(Fn, n);
|
|
749
749
|
}
|
|
750
750
|
function Ns() {
|
|
751
751
|
return oe(Fn);
|
|
752
752
|
}
|
|
753
|
-
function
|
|
754
|
-
ae(Ln,
|
|
753
|
+
function hc(n) {
|
|
754
|
+
ae(Ln, $e(n));
|
|
755
755
|
}
|
|
756
756
|
function Ts() {
|
|
757
757
|
return oe(Ln);
|
|
758
758
|
}
|
|
759
|
-
function
|
|
760
|
-
ae(Un,
|
|
759
|
+
function dc(n) {
|
|
760
|
+
ae(Un, $e(n));
|
|
761
761
|
}
|
|
762
762
|
function Ss() {
|
|
763
763
|
return oe(Un);
|
|
764
764
|
}
|
|
765
|
-
function
|
|
765
|
+
function vc(n) {
|
|
766
766
|
ae(Mn, n);
|
|
767
767
|
}
|
|
768
768
|
function Ps() {
|
|
769
769
|
return oe(Mn);
|
|
770
770
|
}
|
|
771
|
-
function
|
|
772
|
-
ae(jn,
|
|
771
|
+
function yc(n) {
|
|
772
|
+
ae(jn, $e(n));
|
|
773
773
|
}
|
|
774
774
|
function ws() {
|
|
775
775
|
const n = oe(jn);
|
|
776
776
|
return console.assert(an(n)), n;
|
|
777
777
|
}
|
|
778
|
-
function
|
|
779
|
-
ae(Bn,
|
|
778
|
+
function Ec(n) {
|
|
779
|
+
ae(Bn, $e(n));
|
|
780
780
|
}
|
|
781
781
|
function Cs() {
|
|
782
782
|
const n = oe(Bn);
|
|
783
783
|
return console.assert(an(n)), n;
|
|
784
784
|
}
|
|
785
785
|
function As(n) {
|
|
786
|
-
ae($n,
|
|
786
|
+
ae($n, $e(n));
|
|
787
787
|
}
|
|
788
|
-
function
|
|
788
|
+
function gc() {
|
|
789
789
|
return oe($n);
|
|
790
790
|
}
|
|
791
791
|
const xs = /* @__PURE__ */ on({
|
|
@@ -918,16 +918,14 @@ function Us(n) {
|
|
|
918
918
|
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
919
919
|
}
|
|
920
920
|
function Ms(n) {
|
|
921
|
-
if (n.__esModule)
|
|
922
|
-
return n;
|
|
921
|
+
if (n.__esModule) return n;
|
|
923
922
|
var s = n.default;
|
|
924
923
|
if (typeof s == "function") {
|
|
925
924
|
var p = function y() {
|
|
926
925
|
return this instanceof y ? Reflect.construct(s, arguments, this.constructor) : s.apply(this, arguments);
|
|
927
926
|
};
|
|
928
927
|
p.prototype = s.prototype;
|
|
929
|
-
} else
|
|
930
|
-
p = {};
|
|
928
|
+
} else p = {};
|
|
931
929
|
return Object.defineProperty(p, "__esModule", { value: !0 }), Object.keys(n).forEach(function(y) {
|
|
932
930
|
var g = Object.getOwnPropertyDescriptor(n, y);
|
|
933
931
|
Object.defineProperty(p, y, g.get ? g : {
|
|
@@ -2934,8 +2932,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2934
2932
|
if (i = r.legalArrayLength(i), isNaN(i) && this.throwException(this.RANGE_ERROR, "Invalid array length"), i < a)
|
|
2935
2933
|
for (l in t.properties)
|
|
2936
2934
|
l = r.legalArrayIndex(l), !isNaN(l) && i <= l && delete t.properties[l];
|
|
2937
|
-
} else
|
|
2938
|
-
isNaN(l = r.legalArrayIndex(e)) || (t.properties.length = Math.max(a, l + 1));
|
|
2935
|
+
} else isNaN(l = r.legalArrayIndex(e)) || (t.properties.length = Math.max(a, l + 1));
|
|
2939
2936
|
}
|
|
2940
2937
|
if (t.preventExtensions && !(e in t.properties)) {
|
|
2941
2938
|
u && this.throwException(this.TYPE_ERROR, "Can't add property '" + e + "', object is not extensible");
|
|
@@ -3116,35 +3113,34 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3116
3113
|
}, r.prototype.unwind = function(t, e, i) {
|
|
3117
3114
|
if (t === r.Completion.NORMAL)
|
|
3118
3115
|
throw TypeError("Should not unwind for NORMAL completions");
|
|
3119
|
-
e:
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3116
|
+
e: for (var o = this.stateStack; o.length > 0; o.pop()) {
|
|
3117
|
+
var u = o[o.length - 1];
|
|
3118
|
+
switch (u.node.type) {
|
|
3119
|
+
case "TryStatement":
|
|
3120
|
+
u.cv = { type: t, value: e, label: i };
|
|
3121
|
+
return;
|
|
3122
|
+
case "CallExpression":
|
|
3123
|
+
case "NewExpression":
|
|
3124
|
+
if (t === r.Completion.RETURN) {
|
|
3125
|
+
u.value = e;
|
|
3125
3126
|
return;
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
} else if (t === r.Completion.BREAK || t === r.Completion.CONTINUE)
|
|
3132
|
-
throw Error("Unsyntactic break/continue not rejected by Acorn");
|
|
3133
|
-
break;
|
|
3134
|
-
case "Program":
|
|
3135
|
-
if (t === r.Completion.RETURN)
|
|
3136
|
-
return;
|
|
3137
|
-
u.done = !0;
|
|
3138
|
-
break e;
|
|
3139
|
-
}
|
|
3140
|
-
if (t === r.Completion.BREAK) {
|
|
3141
|
-
if (i ? u.labels && u.labels.indexOf(i) !== -1 : u.isLoop || u.isSwitch) {
|
|
3142
|
-
o.pop();
|
|
3127
|
+
} else if (t === r.Completion.BREAK || t === r.Completion.CONTINUE)
|
|
3128
|
+
throw Error("Unsyntactic break/continue not rejected by Acorn");
|
|
3129
|
+
break;
|
|
3130
|
+
case "Program":
|
|
3131
|
+
if (t === r.Completion.RETURN)
|
|
3143
3132
|
return;
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
return;
|
|
3133
|
+
u.done = !0;
|
|
3134
|
+
break e;
|
|
3147
3135
|
}
|
|
3136
|
+
if (t === r.Completion.BREAK) {
|
|
3137
|
+
if (i ? u.labels && u.labels.indexOf(i) !== -1 : u.isLoop || u.isSwitch) {
|
|
3138
|
+
o.pop();
|
|
3139
|
+
return;
|
|
3140
|
+
}
|
|
3141
|
+
} else if (t === r.Completion.CONTINUE && (i ? u.labels && u.labels.indexOf(i) !== -1 : u.isLoop))
|
|
3142
|
+
return;
|
|
3143
|
+
}
|
|
3148
3144
|
var c;
|
|
3149
3145
|
if (this.isa(e, this.ERROR)) {
|
|
3150
3146
|
var a = {
|
|
@@ -3573,12 +3569,12 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3573
3569
|
} else if (u.nativeFunc)
|
|
3574
3570
|
e.scope.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), e.value = u.nativeFunc.apply(e.funcThis_, e.arguments_);
|
|
3575
3571
|
else if (u.asyncFunc) {
|
|
3576
|
-
var X = this,
|
|
3572
|
+
var X = this, Pe = function(ue) {
|
|
3577
3573
|
e.value = ue, X.paused_ = !1;
|
|
3578
3574
|
}, z = u.asyncFunc.length - 1, ve = e.arguments_.concat(
|
|
3579
3575
|
new Array(z)
|
|
3580
3576
|
).slice(0, z);
|
|
3581
|
-
ve.push(
|
|
3577
|
+
ve.push(Pe), this.paused_ = !0, e.scope.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), u.asyncFunc.apply(e.funcThis_, ve);
|
|
3582
3578
|
return;
|
|
3583
3579
|
} else
|
|
3584
3580
|
this.throwException(
|
|
@@ -3632,42 +3628,41 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3632
3628
|
if (!e.doneObject_)
|
|
3633
3629
|
return e.doneObject_ = !0, e.variable_ || (e.variable_ = e.value), new r.State(i.right, e.scope);
|
|
3634
3630
|
if (e.isLoop || (e.isLoop = !0, e.object_ = e.value, e.visited_ = /* @__PURE__ */ Object.create(null)), e.name_ === void 0)
|
|
3635
|
-
e:
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
break e;
|
|
3651
|
-
}
|
|
3631
|
+
e: for (; ; ) {
|
|
3632
|
+
if (e.object_ instanceof r.Object)
|
|
3633
|
+
for (e.props_ || (e.props_ = Object.getOwnPropertyNames(e.object_.properties)); ; ) {
|
|
3634
|
+
var o = e.props_.shift();
|
|
3635
|
+
if (o === void 0)
|
|
3636
|
+
break;
|
|
3637
|
+
if (Object.prototype.hasOwnProperty.call(
|
|
3638
|
+
e.object_.properties,
|
|
3639
|
+
o
|
|
3640
|
+
) && !e.visited_[o] && (e.visited_[o] = !0, !!Object.prototype.propertyIsEnumerable.call(
|
|
3641
|
+
e.object_.properties,
|
|
3642
|
+
o
|
|
3643
|
+
))) {
|
|
3644
|
+
e.name_ = o;
|
|
3645
|
+
break e;
|
|
3652
3646
|
}
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
|
|
3647
|
+
}
|
|
3648
|
+
else if (e.object_ !== null && e.object_ !== void 0)
|
|
3649
|
+
for (e.props_ || (e.props_ = Object.getOwnPropertyNames(e.object_)); ; ) {
|
|
3650
|
+
var o = e.props_.shift();
|
|
3651
|
+
if (o === void 0)
|
|
3652
|
+
break;
|
|
3653
|
+
if (e.visited_[o] = !0, !!Object.prototype.propertyIsEnumerable.call(
|
|
3654
|
+
e.object_,
|
|
3655
|
+
o
|
|
3656
|
+
)) {
|
|
3657
|
+
e.name_ = o;
|
|
3658
|
+
break e;
|
|
3665
3659
|
}
|
|
3666
|
-
if (e.object_ = this.getPrototype(e.object_), e.props_ = null, e.object_ === null) {
|
|
3667
|
-
t.pop();
|
|
3668
|
-
return;
|
|
3669
3660
|
}
|
|
3661
|
+
if (e.object_ = this.getPrototype(e.object_), e.props_ = null, e.object_ === null) {
|
|
3662
|
+
t.pop();
|
|
3663
|
+
return;
|
|
3670
3664
|
}
|
|
3665
|
+
}
|
|
3671
3666
|
if (!e.doneVariable_) {
|
|
3672
3667
|
e.doneVariable_ = !0;
|
|
3673
3668
|
var u = i.left;
|
|
@@ -4055,22 +4050,22 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4055
4050
|
}
|
|
4056
4051
|
var c = function(f, h) {
|
|
4057
4052
|
for (var d = 1, E = 0; ; ) {
|
|
4058
|
-
|
|
4059
|
-
var C =
|
|
4053
|
+
Ke.lastIndex = E;
|
|
4054
|
+
var C = Ke.exec(f);
|
|
4060
4055
|
if (C && C.index < h)
|
|
4061
4056
|
++d, E = C.index + C[0].length;
|
|
4062
4057
|
else
|
|
4063
4058
|
break;
|
|
4064
4059
|
}
|
|
4065
4060
|
return { line: d, column: h - E };
|
|
4066
|
-
}, a = 0, l = 0, v = 0, _, O, b, P, I, D, X,
|
|
4061
|
+
}, a = 0, l = 0, v = 0, _, O, b, P, I, D, X, Pe = 0, z = 0, ve, ue, j, W;
|
|
4067
4062
|
function x(f, h) {
|
|
4068
4063
|
var d = c(t, f);
|
|
4069
4064
|
h += " (" + d.line + ":" + d.column + ")";
|
|
4070
4065
|
var E = new SyntaxError(h);
|
|
4071
4066
|
throw E.pos = f, E.loc = d, E.raisedAt = a, E;
|
|
4072
4067
|
}
|
|
4073
|
-
var Xn = [],
|
|
4068
|
+
var Xn = [], Xe = { type: "num" }, Yt = { type: "regexp" }, ot = { type: "string" }, ye = { type: "name" }, ut = { type: "eof" }, st = { keyword: "break" }, ct = { keyword: "case", beforeExpr: !0 }, Xt = { keyword: "catch" }, Wt = { keyword: "continue" }, zt = { keyword: "debugger" }, Jt = { keyword: "default" }, Ht = { keyword: "do", isLoop: !0 }, Kt = { keyword: "else", beforeExpr: !0 }, qt = { keyword: "finally" }, Zt = { keyword: "for", isLoop: !0 }, ft = { keyword: "function" }, Qt = { keyword: "if" }, er = { keyword: "return", beforeExpr: !0 }, lt = { keyword: "switch" }, tr = { keyword: "throw", beforeExpr: !0 }, rr = { keyword: "try" }, pt = { keyword: "var" }, ht = { keyword: "while", isLoop: !0 }, nr = { keyword: "with" }, ir = { keyword: "new", beforeExpr: !0 }, ar = { keyword: "this" }, or = { keyword: "null", atomValue: null }, ur = { keyword: "true", atomValue: !0 }, sr = { keyword: "false", atomValue: !1 }, We = { keyword: "in", binop: 7, beforeExpr: !0 }, Wn = {
|
|
4074
4069
|
break: st,
|
|
4075
4070
|
case: ct,
|
|
4076
4071
|
catch: Xt,
|
|
@@ -4094,21 +4089,21 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4094
4089
|
true: ur,
|
|
4095
4090
|
false: sr,
|
|
4096
4091
|
new: ir,
|
|
4097
|
-
in:
|
|
4092
|
+
in: We,
|
|
4098
4093
|
instanceof: { keyword: "instanceof", binop: 7, beforeExpr: !0 },
|
|
4099
4094
|
this: ar,
|
|
4100
4095
|
typeof: { keyword: "typeof", prefix: !0, beforeExpr: !0 },
|
|
4101
4096
|
void: { keyword: "void", prefix: !0, beforeExpr: !0 },
|
|
4102
4097
|
delete: { keyword: "delete", prefix: !0, beforeExpr: !0 }
|
|
4103
|
-
}, dt = { type: "[", beforeExpr: !0 }, vt = { type: "]" },
|
|
4104
|
-
function
|
|
4098
|
+
}, dt = { type: "[", beforeExpr: !0 }, vt = { type: "]" }, we = { type: "{", beforeExpr: !0 }, Ee = { type: "}" }, q = { type: "(", beforeExpr: !0 }, H = { type: ")" }, re = { type: ",", beforeExpr: !0 }, Z = { type: ";", beforeExpr: !0 }, Ce = { type: ":", beforeExpr: !0 }, cr = { type: "." }, fr = { type: "?", beforeExpr: !0 }, lr = { binop: 10, beforeExpr: !0 }, pr = { isAssign: !0, beforeExpr: !0 }, se = { isAssign: !0, beforeExpr: !0 }, zn = { postfix: !0, prefix: !0, isUpdate: !0 }, hr = { prefix: !0, beforeExpr: !0 }, dr = { binop: 1, beforeExpr: !0 }, vr = { binop: 2, beforeExpr: !0 }, Jn = { binop: 3, beforeExpr: !0 }, Hn = { binop: 4, beforeExpr: !0 }, Kn = { binop: 5, beforeExpr: !0 }, qn = { binop: 6, beforeExpr: !0 }, Zn = { binop: 7, beforeExpr: !0 }, Qn = { binop: 8, beforeExpr: !0 }, ei = { binop: 9, prefix: !0, beforeExpr: !0 }, ti = { binop: 10, beforeExpr: !0 };
|
|
4099
|
+
function ze(f) {
|
|
4105
4100
|
for (var h = f.split(" "), d = /* @__PURE__ */ Object.create(null), E = 0; E < h.length; E++)
|
|
4106
4101
|
d[h[E]] = !0;
|
|
4107
4102
|
return function(C) {
|
|
4108
4103
|
return d[C] || !1;
|
|
4109
4104
|
};
|
|
4110
4105
|
}
|
|
4111
|
-
var ri =
|
|
4106
|
+
var ri = ze("class enum extends super const export import"), yr = ze("implements interface let package private protected public static yield"), Je = ze("eval arguments"), ni = ze("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"), ii = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Er = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", ai = "̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_", gr = new RegExp("[" + Er + "]"), oi = new RegExp("[" + Er + ai + "]"), He = /[\n\r\u2028\u2029]/, Ke = /\r\n|[\n\r\u2028\u2029]/g, qe = function(f) {
|
|
4112
4107
|
return f < 65 ? f === 36 : f < 91 ? !0 : f < 97 ? f === 95 : f < 123 ? !0 : f >= 170 && gr.test(String.fromCharCode(f));
|
|
4113
4108
|
}, _r = function(f) {
|
|
4114
4109
|
return f < 48 ? f === 36 : f < 58 ? !0 : f < 65 ? !1 : f < 91 ? !0 : f < 97 ? f === 95 : f < 123 ? !0 : f >= 170 && oi.test(String.fromCharCode(f));
|
|
@@ -4117,16 +4112,16 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4117
4112
|
this.line = D, this.column = a - X;
|
|
4118
4113
|
}
|
|
4119
4114
|
function ui() {
|
|
4120
|
-
D = 1, a = X = 0, I = !0,
|
|
4115
|
+
D = 1, a = X = 0, I = !0, Ae();
|
|
4121
4116
|
}
|
|
4122
4117
|
function $(f, h) {
|
|
4123
|
-
v = a, r.locations && (O = new ce()), b = f,
|
|
4118
|
+
v = a, r.locations && (O = new ce()), b = f, Ae(), P = h, I = f.beforeExpr;
|
|
4124
4119
|
}
|
|
4125
4120
|
function si() {
|
|
4126
4121
|
var f = r.onComment && r.locations && new ce(), h = a, d = t.indexOf("*/", a += 2);
|
|
4127
4122
|
if (d === -1 && x(a - 2, "Unterminated comment"), a = d + 2, r.locations) {
|
|
4128
|
-
|
|
4129
|
-
for (var E; (E =
|
|
4123
|
+
Ke.lastIndex = h;
|
|
4124
|
+
for (var E; (E = Ke.exec(t)) && E.index < a; )
|
|
4130
4125
|
++D, X = E.index + E[0].length;
|
|
4131
4126
|
}
|
|
4132
4127
|
r.onComment && r.onComment(
|
|
@@ -4150,7 +4145,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4150
4145
|
r.locations && new ce()
|
|
4151
4146
|
);
|
|
4152
4147
|
}
|
|
4153
|
-
function
|
|
4148
|
+
function Ae() {
|
|
4154
4149
|
for (; a < e; ) {
|
|
4155
4150
|
var f = t.charCodeAt(a);
|
|
4156
4151
|
if (f === 32)
|
|
@@ -4169,8 +4164,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4169
4164
|
si();
|
|
4170
4165
|
else if (h === 47)
|
|
4171
4166
|
yt();
|
|
4172
|
-
else
|
|
4173
|
-
break;
|
|
4167
|
+
else break;
|
|
4174
4168
|
} else if (f === 160)
|
|
4175
4169
|
++a;
|
|
4176
4170
|
else if (f >= 5760 && ii.test(String.fromCharCode(f)))
|
|
@@ -4202,13 +4196,12 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4202
4196
|
function di(f) {
|
|
4203
4197
|
var h = t.charCodeAt(a + 1);
|
|
4204
4198
|
if (h === f) {
|
|
4205
|
-
if (h === 45 && t.charCodeAt(a + 2) === 62 &&
|
|
4206
|
-
a += 3, yt(),
|
|
4199
|
+
if (h === 45 && t.charCodeAt(a + 2) === 62 && He.test(t.slice(z, a))) {
|
|
4200
|
+
a += 3, yt(), Ae(), ge();
|
|
4207
4201
|
return;
|
|
4208
4202
|
}
|
|
4209
4203
|
G(zn, 2);
|
|
4210
|
-
} else
|
|
4211
|
-
h === 61 ? G(se, 2) : G(ei, 1);
|
|
4204
|
+
} else h === 61 ? G(se, 2) : G(ei, 1);
|
|
4212
4205
|
}
|
|
4213
4206
|
function vi(f) {
|
|
4214
4207
|
var h = t.charCodeAt(a + 1), d = 1;
|
|
@@ -4217,7 +4210,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4217
4210
|
return;
|
|
4218
4211
|
}
|
|
4219
4212
|
if (h === 33 && f === 60 && t.charCodeAt(a + 2) === 45 && t.charCodeAt(a + 3) === 45) {
|
|
4220
|
-
a += 4, yt(),
|
|
4213
|
+
a += 4, yt(), Ae(), ge();
|
|
4221
4214
|
return;
|
|
4222
4215
|
}
|
|
4223
4216
|
h === 61 && (d = t.charCodeAt(a + 2) === 61 ? 3 : 2), G(Zn, d);
|
|
@@ -4243,17 +4236,16 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4243
4236
|
case 93:
|
|
4244
4237
|
return ++a, $(vt);
|
|
4245
4238
|
case 123:
|
|
4246
|
-
return ++a, $(
|
|
4239
|
+
return ++a, $(we);
|
|
4247
4240
|
case 125:
|
|
4248
4241
|
return ++a, $(Ee);
|
|
4249
4242
|
case 58:
|
|
4250
|
-
return ++a, $(
|
|
4243
|
+
return ++a, $(Ce);
|
|
4251
4244
|
case 63:
|
|
4252
4245
|
return ++a, $(fr);
|
|
4253
4246
|
case 48:
|
|
4254
4247
|
var h = t.charCodeAt(a + 1);
|
|
4255
|
-
if (h === 120 || h === 88)
|
|
4256
|
-
return gi();
|
|
4248
|
+
if (h === 120 || h === 88) return gi();
|
|
4257
4249
|
case 49:
|
|
4258
4250
|
case 50:
|
|
4259
4251
|
case 51:
|
|
@@ -4292,12 +4284,10 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4292
4284
|
return !1;
|
|
4293
4285
|
}
|
|
4294
4286
|
function ge(f) {
|
|
4295
|
-
if (f ? a = l + 1 : l = a, r.locations && (_ = new ce()), f)
|
|
4296
|
-
|
|
4297
|
-
if (a >= e)
|
|
4298
|
-
return $(ut);
|
|
4287
|
+
if (f ? a = l + 1 : l = a, r.locations && (_ = new ce()), f) return br();
|
|
4288
|
+
if (a >= e) return $(ut);
|
|
4299
4289
|
var h = t.charCodeAt(a);
|
|
4300
|
-
if (
|
|
4290
|
+
if (qe(h) || h === 92)
|
|
4301
4291
|
return Or();
|
|
4302
4292
|
var d = Ei(h);
|
|
4303
4293
|
if (d === !1) {
|
|
@@ -4315,7 +4305,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4315
4305
|
for (var f, h, d = a; ; ) {
|
|
4316
4306
|
a >= e && x(d, "Unterminated regexp");
|
|
4317
4307
|
var E = t.charAt(a);
|
|
4318
|
-
if (
|
|
4308
|
+
if (He.test(E) && x(d, "Unterminated regexp"), f)
|
|
4319
4309
|
f = !1;
|
|
4320
4310
|
else {
|
|
4321
4311
|
if (E === "[")
|
|
@@ -4339,27 +4329,26 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4339
4329
|
}
|
|
4340
4330
|
$(Yt, A);
|
|
4341
4331
|
}
|
|
4342
|
-
function
|
|
4332
|
+
function xe(f, h) {
|
|
4343
4333
|
for (var d = a, E = 0, C = h === void 0 ? 1 / 0 : h, S = 0; S < C; ++S) {
|
|
4344
4334
|
var A = t.charCodeAt(a), U;
|
|
4345
|
-
if (A >= 97 ? U = A - 97 + 10 : A >= 65 ? U = A - 65 + 10 : A >= 48 && A <= 57 ? U = A - 48 : U = 1 / 0, U >= f)
|
|
4346
|
-
break;
|
|
4335
|
+
if (A >= 97 ? U = A - 97 + 10 : A >= 65 ? U = A - 65 + 10 : A >= 48 && A <= 57 ? U = A - 48 : U = 1 / 0, U >= f) break;
|
|
4347
4336
|
++a, E = E * f + U;
|
|
4348
4337
|
}
|
|
4349
4338
|
return a === d || h !== void 0 && a - d !== h ? null : E;
|
|
4350
4339
|
}
|
|
4351
4340
|
function gi() {
|
|
4352
4341
|
a += 2;
|
|
4353
|
-
var f =
|
|
4354
|
-
f === null && x(l + 2, "Expected hexadecimal number"),
|
|
4342
|
+
var f = xe(16);
|
|
4343
|
+
f === null && x(l + 2, "Expected hexadecimal number"), qe(t.charCodeAt(a)) && x(a, "Identifier directly after number"), $(Xe, f);
|
|
4355
4344
|
}
|
|
4356
4345
|
function mr(f) {
|
|
4357
4346
|
var h = a, d = !1, E = t.charCodeAt(a) === 48;
|
|
4358
|
-
!f &&
|
|
4347
|
+
!f && xe(10) === null && x(h, "Invalid number"), t.charCodeAt(a) === 46 && (++a, xe(10), d = !0);
|
|
4359
4348
|
var C = t.charCodeAt(a);
|
|
4360
|
-
(C === 69 || C === 101) && (C = t.charCodeAt(++a), (C === 43 || C === 45) && ++a,
|
|
4349
|
+
(C === 69 || C === 101) && (C = t.charCodeAt(++a), (C === 43 || C === 45) && ++a, xe(10) === null && x(h, "Invalid number"), d = !0), qe(t.charCodeAt(a)) && x(a, "Identifier directly after number");
|
|
4361
4350
|
var S = t.slice(h, a), A;
|
|
4362
|
-
d ? A = parseFloat(S) : !E || S.length === 1 ? A = parseInt(S, 10) : /[89]/.test(S) || W ? x(h, "Invalid number") : A = parseInt(S, 8), $(
|
|
4351
|
+
d ? A = parseFloat(S) : !E || S.length === 1 ? A = parseInt(S, 10) : /[89]/.test(S) || W ? x(h, "Invalid number") : A = parseInt(S, 8), $(Xe, A);
|
|
4363
4352
|
}
|
|
4364
4353
|
function _i(f) {
|
|
4365
4354
|
a++;
|
|
@@ -4387,13 +4376,13 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4387
4376
|
h += "\r";
|
|
4388
4377
|
break;
|
|
4389
4378
|
case 120:
|
|
4390
|
-
h += String.fromCharCode(
|
|
4379
|
+
h += String.fromCharCode(Ze(2));
|
|
4391
4380
|
break;
|
|
4392
4381
|
case 117:
|
|
4393
|
-
h += String.fromCharCode(
|
|
4382
|
+
h += String.fromCharCode(Ze(4));
|
|
4394
4383
|
break;
|
|
4395
4384
|
case 85:
|
|
4396
|
-
h += String.fromCharCode(
|
|
4385
|
+
h += String.fromCharCode(Ze(8));
|
|
4397
4386
|
break;
|
|
4398
4387
|
case 116:
|
|
4399
4388
|
h += " ";
|
|
@@ -4423,8 +4412,8 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4423
4412
|
(d === 13 || d === 10 || d === 8232 || d === 8233) && x(l, "Unterminated string constant"), h += String.fromCharCode(d), ++a;
|
|
4424
4413
|
}
|
|
4425
4414
|
}
|
|
4426
|
-
function
|
|
4427
|
-
var h =
|
|
4415
|
+
function Ze(f) {
|
|
4416
|
+
var h = xe(16, f);
|
|
4428
4417
|
return h === null && x(l, "Bad character escape sequence"), /** @type {number} */
|
|
4429
4418
|
h;
|
|
4430
4419
|
}
|
|
@@ -4437,8 +4426,8 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4437
4426
|
_e && (f += t.charAt(a)), ++a;
|
|
4438
4427
|
else if (E === 92) {
|
|
4439
4428
|
_e || (f = t.slice(d, a)), _e = !0, t.charCodeAt(++a) !== 117 && x(a, "Expecting Unicode escape sequence \\uXXXX"), ++a;
|
|
4440
|
-
var C =
|
|
4441
|
-
S || x(a - 1, "Invalid Unicode escape"), (h ?
|
|
4429
|
+
var C = Ze(4), S = String.fromCharCode(C);
|
|
4430
|
+
S || x(a - 1, "Invalid Unicode escape"), (h ? qe(C) : _r(C)) || x(a - 4, "Invalid Unicode escape"), f += S;
|
|
4442
4431
|
} else
|
|
4443
4432
|
break;
|
|
4444
4433
|
h = !1;
|
|
@@ -4450,14 +4439,14 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4450
4439
|
!_e && ni(f) && (h = Wn[f]), $(h, f);
|
|
4451
4440
|
}
|
|
4452
4441
|
function k() {
|
|
4453
|
-
|
|
4442
|
+
Pe = l, z = v, ve = O, ge();
|
|
4454
4443
|
}
|
|
4455
4444
|
function Et(f) {
|
|
4456
4445
|
if (W = f, a = l, r.locations)
|
|
4457
4446
|
for (; a < X; )
|
|
4458
4447
|
X = t.lastIndexOf(`
|
|
4459
4448
|
`, X - 2) + 1, --D;
|
|
4460
|
-
|
|
4449
|
+
Ae(), ge();
|
|
4461
4450
|
}
|
|
4462
4451
|
function Nr() {
|
|
4463
4452
|
this.type = null, this.start = l, this.end = null;
|
|
@@ -4482,11 +4471,11 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4482
4471
|
function M(f) {
|
|
4483
4472
|
return b === f ? (k(), !0) : !1;
|
|
4484
4473
|
}
|
|
4485
|
-
function
|
|
4486
|
-
return !r.strictSemicolons && (b === ut || b === Ee ||
|
|
4474
|
+
function Qe() {
|
|
4475
|
+
return !r.strictSemicolons && (b === ut || b === Ee || He.test(t.slice(z, l)));
|
|
4487
4476
|
}
|
|
4488
4477
|
function fe() {
|
|
4489
|
-
!M(Z) && !
|
|
4478
|
+
!M(Z) && !Qe() && Q();
|
|
4490
4479
|
}
|
|
4491
4480
|
function B(f) {
|
|
4492
4481
|
b === f ? k() : Q();
|
|
@@ -4494,11 +4483,11 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4494
4483
|
function Q() {
|
|
4495
4484
|
x(l, "Unexpected token");
|
|
4496
4485
|
}
|
|
4497
|
-
function
|
|
4498
|
-
f.type !== "Identifier" && f.type !== "MemberExpression" && x(f.start, "Assigning to rvalue"), W && f.type === "Identifier" &&
|
|
4486
|
+
function et(f) {
|
|
4487
|
+
f.type !== "Identifier" && f.type !== "MemberExpression" && x(f.start, "Assigning to rvalue"), W && f.type === "Identifier" && Je(f.name) && x(f.start, "Assigning to " + f.name + " in strict mode");
|
|
4499
4488
|
}
|
|
4500
4489
|
function bi(f) {
|
|
4501
|
-
|
|
4490
|
+
Pe = z = a, r.locations && (ve = new ce()), ue = W = !1, j = [], ge();
|
|
4502
4491
|
var h = f || V(), d = !0;
|
|
4503
4492
|
for (f || (h.body = []); b !== ut; ) {
|
|
4504
4493
|
var E = J();
|
|
@@ -4515,7 +4504,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4515
4504
|
case Wt:
|
|
4516
4505
|
k();
|
|
4517
4506
|
var d = f === st;
|
|
4518
|
-
M(Z) ||
|
|
4507
|
+
M(Z) || Qe() ? h.label = null : b !== ye ? Q() : (h.label = ie(), fe());
|
|
4519
4508
|
for (var E = 0; E < j.length; ++E) {
|
|
4520
4509
|
var C = j[E];
|
|
4521
4510
|
if ((h.label === null || C.name === h.label.name) && (C.kind !== null && (d || C.kind === "loop") || h.label && d))
|
|
@@ -4525,68 +4514,67 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4525
4514
|
case zt:
|
|
4526
4515
|
return k(), fe(), w(h, "DebuggerStatement");
|
|
4527
4516
|
case Ht:
|
|
4528
|
-
return k(), j.push(_t), h.body = J(), j.pop(), B(ht), h.test =
|
|
4517
|
+
return k(), j.push(_t), h.body = J(), j.pop(), B(ht), h.test = Ie(), fe(), w(h, "DoWhileStatement");
|
|
4529
4518
|
case Zt:
|
|
4530
|
-
if (k(), j.push(_t), B(q), b === Z)
|
|
4531
|
-
return bt(h, null);
|
|
4519
|
+
if (k(), j.push(_t), B(q), b === Z) return bt(h, null);
|
|
4532
4520
|
if (b === pt) {
|
|
4533
4521
|
var S = V();
|
|
4534
|
-
return k(), Pr(S, !0), w(S, "VariableDeclaration"), S.declarations.length === 1 && M(
|
|
4522
|
+
return k(), Pr(S, !0), w(S, "VariableDeclaration"), S.declarations.length === 1 && M(We) ? Sr(h, S) : bt(h, S);
|
|
4535
4523
|
}
|
|
4536
4524
|
var S = Y(!1, !0);
|
|
4537
|
-
return M(
|
|
4525
|
+
return M(We) ? (et(S), Sr(h, S)) : bt(h, S);
|
|
4538
4526
|
case ft:
|
|
4539
4527
|
return k(), Tt(h, !0);
|
|
4540
4528
|
case Qt:
|
|
4541
|
-
return k(), h.test =
|
|
4529
|
+
return k(), h.test = Ie(), h.consequent = J(), h.alternate = M(Kt) ? J() : null, w(h, "IfStatement");
|
|
4542
4530
|
case er:
|
|
4543
|
-
return !ue && !r.allowReturnOutsideFunction && x(l, "'return' outside of function"), k(), M(Z) ||
|
|
4531
|
+
return !ue && !r.allowReturnOutsideFunction && x(l, "'return' outside of function"), k(), M(Z) || Qe() ? h.argument = null : (h.argument = Y(), fe()), w(h, "ReturnStatement");
|
|
4544
4532
|
case lt:
|
|
4545
|
-
k(), h.discriminant =
|
|
4533
|
+
k(), h.discriminant = Ie(), h.cases = [], B(we), j.push(mi);
|
|
4546
4534
|
for (var A, U; b !== Ee; )
|
|
4547
4535
|
if (b === ct || b === Jt) {
|
|
4548
|
-
var
|
|
4549
|
-
A && w(A, "SwitchCase"), h.cases.push(A = V()), A.consequent = [], k(),
|
|
4536
|
+
var Fe = b === ct;
|
|
4537
|
+
A && w(A, "SwitchCase"), h.cases.push(A = V()), A.consequent = [], k(), Fe ? A.test = Y() : (U && x(Pe, "Multiple default clauses"), U = !0, A.test = null), B(Ce);
|
|
4550
4538
|
} else
|
|
4551
4539
|
A || Q(), A.consequent.push(J());
|
|
4552
4540
|
return A && w(A, "SwitchCase"), k(), j.pop(), w(h, "SwitchStatement");
|
|
4553
4541
|
case tr:
|
|
4554
|
-
return k(),
|
|
4542
|
+
return k(), He.test(t.slice(z, l)) && x(z, "Illegal newline after throw"), h.argument = Y(), fe(), w(h, "ThrowStatement");
|
|
4555
4543
|
case rr:
|
|
4556
|
-
if (k(), h.block =
|
|
4544
|
+
if (k(), h.block = ke(), h.handler = null, b === Xt) {
|
|
4557
4545
|
var be = V();
|
|
4558
|
-
k(), B(q), be.param = ie(), W &&
|
|
4546
|
+
k(), B(q), be.param = ie(), W && Je(be.param.name) && x(be.param.start, "Binding " + be.param.name + " in strict mode"), B(H), be.body = ke(), h.handler = w(be, "CatchClause");
|
|
4559
4547
|
}
|
|
4560
|
-
return h.finalizer = M(qt) ?
|
|
4548
|
+
return h.finalizer = M(qt) ? ke() : null, !h.handler && !h.finalizer && x(h.start, "Missing catch or finally clause"), w(h, "TryStatement");
|
|
4561
4549
|
case pt:
|
|
4562
4550
|
return k(), Pr(h), fe(), w(h, "VariableDeclaration");
|
|
4563
4551
|
case ht:
|
|
4564
|
-
return k(), h.test =
|
|
4552
|
+
return k(), h.test = Ie(), j.push(_t), h.body = J(), j.pop(), w(h, "WhileStatement");
|
|
4565
4553
|
case nr:
|
|
4566
|
-
return W && x(l, "'with' in strict mode"), k(), h.object =
|
|
4567
|
-
case
|
|
4568
|
-
return
|
|
4554
|
+
return W && x(l, "'with' in strict mode"), k(), h.object = Ie(), h.body = J(), w(h, "WithStatement");
|
|
4555
|
+
case we:
|
|
4556
|
+
return ke();
|
|
4569
4557
|
case Z:
|
|
4570
4558
|
return k(), w(h, "EmptyStatement");
|
|
4571
4559
|
default:
|
|
4572
|
-
var Pt = P,
|
|
4573
|
-
if (f === ye &&
|
|
4560
|
+
var Pt = P, tt = Y();
|
|
4561
|
+
if (f === ye && tt.type === "Identifier" && M(Ce)) {
|
|
4574
4562
|
for (var E = 0; E < j.length; ++E)
|
|
4575
|
-
j[E].name === Pt && x(
|
|
4563
|
+
j[E].name === Pt && x(tt.start, "Label '" + Pt + "' is already declared");
|
|
4576
4564
|
var Pi = b.isLoop ? "loop" : b === lt ? "switch" : null;
|
|
4577
|
-
return j.push({ name: Pt, kind: Pi }), h.body = J(), j.pop(), h.label =
|
|
4565
|
+
return j.push({ name: Pt, kind: Pi }), h.body = J(), j.pop(), h.label = tt, w(h, "LabeledStatement");
|
|
4578
4566
|
} else
|
|
4579
|
-
return h.expression =
|
|
4567
|
+
return h.expression = tt, fe(), w(h, "ExpressionStatement");
|
|
4580
4568
|
}
|
|
4581
4569
|
}
|
|
4582
|
-
function
|
|
4570
|
+
function Ie() {
|
|
4583
4571
|
B(q);
|
|
4584
4572
|
var f = Y();
|
|
4585
4573
|
return B(H), f;
|
|
4586
4574
|
}
|
|
4587
|
-
function
|
|
4575
|
+
function ke(f) {
|
|
4588
4576
|
var h = V(), d = !0, E = !1, C;
|
|
4589
|
-
for (h.body = [], B(
|
|
4577
|
+
for (h.body = [], B(we); !M(Ee); ) {
|
|
4590
4578
|
var S = J();
|
|
4591
4579
|
h.body.push(S), d && f && gt(S) && (C = E, Et(E = !0)), d = !1;
|
|
4592
4580
|
}
|
|
@@ -4601,16 +4589,14 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4601
4589
|
function Pr(f, h) {
|
|
4602
4590
|
for (f.declarations = [], f.kind = "var"; ; ) {
|
|
4603
4591
|
var d = V();
|
|
4604
|
-
if (d.id = ie(), W &&
|
|
4605
|
-
break;
|
|
4592
|
+
if (d.id = ie(), W && Je(d.id.name) && x(d.id.start, "Binding " + d.id.name + " in strict mode"), d.init = M(pr) ? Y(!0, h) : null, f.declarations.push(w(d, "VariableDeclarator")), !M(re)) break;
|
|
4606
4593
|
}
|
|
4607
4594
|
}
|
|
4608
4595
|
function Y(f, h) {
|
|
4609
4596
|
var d = mt(h);
|
|
4610
4597
|
if (!f && b === re) {
|
|
4611
4598
|
var E = ne(d);
|
|
4612
|
-
for (E.expressions = [d]; M(re); )
|
|
4613
|
-
E.expressions.push(mt(h));
|
|
4599
|
+
for (E.expressions = [d]; M(re); ) E.expressions.push(mt(h));
|
|
4614
4600
|
return w(E, "SequenceExpression");
|
|
4615
4601
|
}
|
|
4616
4602
|
return d;
|
|
@@ -4619,7 +4605,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4619
4605
|
var h = Ri(f);
|
|
4620
4606
|
if (b.isAssign) {
|
|
4621
4607
|
var d = ne(h);
|
|
4622
|
-
return d.operator = P, d.left = h, k(), d.right = mt(f),
|
|
4608
|
+
return d.operator = P, d.left = h, k(), d.right = mt(f), et(h), w(d, "AssignmentExpression");
|
|
4623
4609
|
}
|
|
4624
4610
|
return h;
|
|
4625
4611
|
}
|
|
@@ -4627,7 +4613,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4627
4613
|
var h = Oi(f);
|
|
4628
4614
|
if (M(fr)) {
|
|
4629
4615
|
var d = ne(h);
|
|
4630
|
-
return d.test = h, d.consequent = Y(!0), B(
|
|
4616
|
+
return d.test = h, d.consequent = Y(!0), B(Ce), d.alternate = Y(!0, f), w(d, "ConditionalExpression");
|
|
4631
4617
|
}
|
|
4632
4618
|
return h;
|
|
4633
4619
|
}
|
|
@@ -4636,7 +4622,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4636
4622
|
}
|
|
4637
4623
|
function Rt(f, h, d) {
|
|
4638
4624
|
var E = b.binop;
|
|
4639
|
-
if (E !== null && (!d || b !==
|
|
4625
|
+
if (E !== null && (!d || b !== We) && E > h) {
|
|
4640
4626
|
var C = ne(f);
|
|
4641
4627
|
C.left = f, C.operator = P;
|
|
4642
4628
|
var S = b;
|
|
@@ -4649,20 +4635,20 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4649
4635
|
function Ot() {
|
|
4650
4636
|
if (b.prefix) {
|
|
4651
4637
|
var f = V(), h = b.isUpdate;
|
|
4652
|
-
return f.operator = P, f.prefix = !0, I = !0, k(), f.argument = Ot(), h ?
|
|
4638
|
+
return f.operator = P, f.prefix = !0, I = !0, k(), f.argument = Ot(), h ? et(f.argument) : W && f.operator === "delete" && f.argument.type === "Identifier" && x(f.start, "Deleting local variable in strict mode"), w(f, h ? "UpdateExpression" : "UnaryExpression");
|
|
4653
4639
|
}
|
|
4654
|
-
for (var d = Ni(); b.postfix && !
|
|
4640
|
+
for (var d = Ni(); b.postfix && !Qe(); ) {
|
|
4655
4641
|
var f = ne(d);
|
|
4656
|
-
f.operator = P, f.prefix = !1, f.argument = d,
|
|
4642
|
+
f.operator = P, f.prefix = !1, f.argument = d, et(d), k(), d = w(f, "UpdateExpression");
|
|
4657
4643
|
}
|
|
4658
4644
|
return d;
|
|
4659
4645
|
}
|
|
4660
4646
|
function Ni() {
|
|
4661
|
-
return
|
|
4647
|
+
return De(Nt());
|
|
4662
4648
|
}
|
|
4663
|
-
function
|
|
4649
|
+
function De(f, h) {
|
|
4664
4650
|
var d;
|
|
4665
|
-
return M(cr) ? (d = ne(f), d.object = f, d.property = ie(!0), d.computed = !1,
|
|
4651
|
+
return M(cr) ? (d = ne(f), d.object = f, d.property = ie(!0), d.computed = !1, De(w(d, "MemberExpression"), h)) : M(dt) ? (d = ne(f), d.object = f, d.property = Y(), d.computed = !0, B(vt), De(w(d, "MemberExpression"), h)) : !h && M(q) ? (d = ne(f), d.callee = f, d.arguments = St(H, !1), De(w(d, "CallExpression"), h)) : f;
|
|
4666
4652
|
}
|
|
4667
4653
|
function Nt() {
|
|
4668
4654
|
var f;
|
|
@@ -4671,7 +4657,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4671
4657
|
return f = V(), k(), w(f, "ThisExpression");
|
|
4672
4658
|
case ye:
|
|
4673
4659
|
return ie();
|
|
4674
|
-
case
|
|
4660
|
+
case Xe:
|
|
4675
4661
|
case ot:
|
|
4676
4662
|
case Yt:
|
|
4677
4663
|
return f = V(), f.value = P, f.raw = t.slice(l, v), k(), w(f, "Literal");
|
|
@@ -4686,7 +4672,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4686
4672
|
return E.start = d, E.end = v, r.locations && (E.loc.start = h, E.loc.end = O), r.ranges && (E.range = [d, v]), B(H), E;
|
|
4687
4673
|
case dt:
|
|
4688
4674
|
return f = V(), k(), f.elements = St(vt, !0, !0), w(f, "ArrayExpression");
|
|
4689
|
-
case
|
|
4675
|
+
case we:
|
|
4690
4676
|
return Si();
|
|
4691
4677
|
case ft:
|
|
4692
4678
|
return f = V(), k(), Tt(f, !1);
|
|
@@ -4697,7 +4683,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4697
4683
|
}
|
|
4698
4684
|
function Ti() {
|
|
4699
4685
|
var f = V();
|
|
4700
|
-
return k(), f.callee =
|
|
4686
|
+
return k(), f.callee = De(Nt(), !0), f.arguments = M(q) ? St(H, !1) : Xn, w(f, "NewExpression");
|
|
4701
4687
|
}
|
|
4702
4688
|
function Si() {
|
|
4703
4689
|
var f = V(), h = !0, d = !1;
|
|
@@ -4707,12 +4693,12 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4707
4693
|
else if (B(re), r.allowTrailingCommas && M(Ee))
|
|
4708
4694
|
break;
|
|
4709
4695
|
var E = { key: wr() }, C = !1, S;
|
|
4710
|
-
if (M(
|
|
4696
|
+
if (M(Ce) ? (E.value = Y(!0), S = E.kind = "init") : E.key.type === "Identifier" && (E.key.name === "get" || E.key.name === "set") ? (C = d = !0, S = E.kind = E.key.name, E.key = wr(), b !== q && Q(), E.value = Tt(V(), !1)) : Q(), E.key.type === "Identifier" && (W || d))
|
|
4711
4697
|
for (var A = 0; A < f.properties.length; ++A) {
|
|
4712
4698
|
var U = f.properties[A];
|
|
4713
4699
|
if (U.key.name === E.key.name) {
|
|
4714
|
-
var
|
|
4715
|
-
|
|
4700
|
+
var Fe = S === U.kind || C && U.kind === "init" || S === "init" && (U.kind === "get" || U.kind === "set");
|
|
4701
|
+
Fe && !W && S === "init" && U.kind === "init" && (Fe = !1), Fe && x(E.key.start, "Redefinition of property");
|
|
4716
4702
|
}
|
|
4717
4703
|
}
|
|
4718
4704
|
f.properties.push(E);
|
|
@@ -4720,7 +4706,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4720
4706
|
return w(f, "ObjectExpression");
|
|
4721
4707
|
}
|
|
4722
4708
|
function wr() {
|
|
4723
|
-
return b ===
|
|
4709
|
+
return b === Xe || b === ot ? Nt() : ie(!0);
|
|
4724
4710
|
}
|
|
4725
4711
|
function Tt(f, h) {
|
|
4726
4712
|
b === ye ? f.id = ie() : h ? Q() : f.id = null, f.params = [];
|
|
@@ -4728,10 +4714,10 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4728
4714
|
for (B(q); !M(H); )
|
|
4729
4715
|
d ? d = !1 : B(re), f.params.push(ie());
|
|
4730
4716
|
var E = ue, C = j;
|
|
4731
|
-
if (ue = !0, j = [], f.body =
|
|
4717
|
+
if (ue = !0, j = [], f.body = ke(!0), ue = E, j = C, W || f.body.body.length && gt(f.body.body[0]))
|
|
4732
4718
|
for (var S = f.id ? -1 : 0; S < f.params.length; ++S) {
|
|
4733
4719
|
var A = S < 0 ? f.id : f.params[S];
|
|
4734
|
-
if ((yr(A.name) ||
|
|
4720
|
+
if ((yr(A.name) || Je(A.name)) && x(A.start, "Defining '" + A.name + "' in strict mode"), S >= 0)
|
|
4735
4721
|
for (var U = 0; U < S; ++U)
|
|
4736
4722
|
A.name === f.params[U].name && x(A.start, "Argument name clash in strict mode");
|
|
4737
4723
|
}
|
|
@@ -5105,9 +5091,9 @@ const Zs = /* @__PURE__ */ on({
|
|
|
5105
5091
|
return a.ref ? l = o(a) : l = u(a), l;
|
|
5106
5092
|
}
|
|
5107
5093
|
function o(a) {
|
|
5108
|
-
const l = cn[R.version].refKey, v =
|
|
5094
|
+
const l = cn[R.version].refKey, v = Ne[l];
|
|
5109
5095
|
let _;
|
|
5110
|
-
return v ? _ =
|
|
5096
|
+
return v ? _ = Le(v.comp, {
|
|
5111
5097
|
refContext: {
|
|
5112
5098
|
parent: p.refContext,
|
|
5113
5099
|
refid: a.ref.id
|
|
@@ -5118,15 +5104,15 @@ const Zs = /* @__PURE__ */ on({
|
|
|
5118
5104
|
function u(a) {
|
|
5119
5105
|
var _;
|
|
5120
5106
|
let l;
|
|
5121
|
-
const v =
|
|
5107
|
+
const v = Ne[a.key];
|
|
5122
5108
|
return v ? ((_ = a.children) == null || _.forEach((O) => {
|
|
5123
5109
|
i(O);
|
|
5124
|
-
}), l =
|
|
5110
|
+
}), l = Le(v.comp, { node: a })) : console.assert(!1, `invalid element config key=${a.key}`), l;
|
|
5125
5111
|
}
|
|
5126
5112
|
const c = () => {
|
|
5127
5113
|
const a = [];
|
|
5128
5114
|
if (e())
|
|
5129
|
-
a.push(
|
|
5115
|
+
a.push(Le("div", s("circularRef")));
|
|
5130
5116
|
else if (N.value) {
|
|
5131
5117
|
const l = N.value.data.type;
|
|
5132
5118
|
l === "common" ? N.value.data.view.nodes.forEach((v) => {
|
|
@@ -5134,8 +5120,8 @@ const Zs = /* @__PURE__ */ on({
|
|
|
5134
5120
|
a.push(_);
|
|
5135
5121
|
}) : console.assert(!1, `invalid data type dataType=${l}`);
|
|
5136
5122
|
} else
|
|
5137
|
-
a.push(
|
|
5138
|
-
return
|
|
5123
|
+
a.push(Le("div", s("compNotAvail")));
|
|
5124
|
+
return Le("div", { id: p.id, style: t.value }, a);
|
|
5139
5125
|
};
|
|
5140
5126
|
return (a, l) => (un(), sn(c));
|
|
5141
5127
|
}
|
|
@@ -5258,25 +5244,46 @@ const Zs = /* @__PURE__ */ on({
|
|
|
5258
5244
|
pageCommon: Qs,
|
|
5259
5245
|
compCommon: ec
|
|
5260
5246
|
}
|
|
5261
|
-
},
|
|
5247
|
+
}, Ne = {
|
|
5262
5248
|
// basic
|
|
5263
5249
|
btn_v1: ks,
|
|
5264
5250
|
globality_v1: Ds,
|
|
5265
5251
|
ref_v1: tc
|
|
5266
|
-
}, rc =
|
|
5267
|
-
|
|
5268
|
-
|
|
5269
|
-
|
|
5252
|
+
}, rc = {
|
|
5253
|
+
key: "add",
|
|
5254
|
+
name: "add",
|
|
5255
|
+
outputs: [
|
|
5256
|
+
{
|
|
5257
|
+
key: "newNode",
|
|
5258
|
+
name: "newNode"
|
|
5259
|
+
}
|
|
5260
|
+
]
|
|
5261
|
+
};
|
|
5262
|
+
for (let n in Ne) {
|
|
5263
|
+
const s = Ne[n];
|
|
5264
|
+
s.leaf || s.methods.unshift(rc);
|
|
5265
|
+
}
|
|
5266
|
+
const nc = (n, s, p) => {
|
|
5267
|
+
const y = n[s];
|
|
5268
|
+
return y ? typeof y == "function" ? y() : Promise.resolve(y) : new Promise((g, R) => {
|
|
5269
|
+
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
|
|
5270
|
+
R.bind(
|
|
5271
|
+
null,
|
|
5272
|
+
new Error(
|
|
5273
|
+
"Unknown variable dynamic import: " + s + (s.split("/").length !== p ? ". Note that variables only represent file names one level deep." : "")
|
|
5274
|
+
)
|
|
5275
|
+
)
|
|
5276
|
+
);
|
|
5270
5277
|
});
|
|
5271
5278
|
};
|
|
5272
|
-
async function
|
|
5273
|
-
return (await
|
|
5279
|
+
async function _c(n) {
|
|
5280
|
+
return (await nc(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./en-kzjkkzqt.js"), "./locales/zhHans/index.ts": () => import("./zhHans-gscwf2xh.js") }), `./locales/${n}/index.ts`, 4)).default;
|
|
5274
5281
|
}
|
|
5275
5282
|
export {
|
|
5276
|
-
|
|
5277
|
-
|
|
5283
|
+
fc as duplicateNode,
|
|
5284
|
+
Ne as elements,
|
|
5278
5285
|
fn as genId,
|
|
5279
|
-
|
|
5286
|
+
cc as getNode,
|
|
5280
5287
|
Qr as getPropDefault,
|
|
5281
5288
|
ms as getPropTag,
|
|
5282
5289
|
en as initProps,
|
|
@@ -5285,24 +5292,24 @@ export {
|
|
|
5285
5292
|
Cs as injectDepends,
|
|
5286
5293
|
Ts as injectDevice,
|
|
5287
5294
|
Os as injectEnv,
|
|
5288
|
-
|
|
5295
|
+
gc as injectInterpreter,
|
|
5289
5296
|
Ns as injectMode,
|
|
5290
5297
|
Ps as injectType,
|
|
5291
5298
|
Gi as isEmptyStr,
|
|
5292
5299
|
Yi as isPercentStr,
|
|
5293
5300
|
Vi as isPixelStr,
|
|
5294
|
-
|
|
5301
|
+
_c as loadLocaleMessageElement,
|
|
5295
5302
|
Ct as parsePercentStr,
|
|
5296
|
-
|
|
5303
|
+
sc as parsePixelStr,
|
|
5297
5304
|
cn as pkgs,
|
|
5298
|
-
|
|
5299
|
-
|
|
5300
|
-
|
|
5301
|
-
|
|
5302
|
-
|
|
5305
|
+
dc as provideDark,
|
|
5306
|
+
yc as provideData,
|
|
5307
|
+
Ec as provideDepends,
|
|
5308
|
+
hc as provideDevice,
|
|
5309
|
+
lc as provideEnv,
|
|
5303
5310
|
As as provideInterpreter,
|
|
5304
|
-
|
|
5305
|
-
|
|
5311
|
+
pc as provideMode,
|
|
5312
|
+
vc as provideType,
|
|
5306
5313
|
Rs as spawnNode,
|
|
5307
5314
|
qs as startInterpreter,
|
|
5308
5315
|
nn as stopInterpreter
|