x-runtime-lib 0.3.8 → 0.3.10
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 +194 -180
- package/dist/types/element.d.ts +2 -0
- package/package.json +7 -7
- package/dist/i18n/element/index.d.ts +0 -1
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
3
|
var wt = (n, s, p) => Ci(n, typeof s != "symbol" ? s + "" : s, p);
|
|
4
|
-
import { provide as ae, inject as oe, readonly as
|
|
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 || (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({
|
|
@@ -3569,12 +3569,12 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3569
3569
|
} else if (u.nativeFunc)
|
|
3570
3570
|
e.scope.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), e.value = u.nativeFunc.apply(e.funcThis_, e.arguments_);
|
|
3571
3571
|
else if (u.asyncFunc) {
|
|
3572
|
-
var X = this,
|
|
3572
|
+
var X = this, Pe = function(ue) {
|
|
3573
3573
|
e.value = ue, X.paused_ = !1;
|
|
3574
3574
|
}, z = u.asyncFunc.length - 1, ve = e.arguments_.concat(
|
|
3575
3575
|
new Array(z)
|
|
3576
3576
|
).slice(0, z);
|
|
3577
|
-
ve.push(
|
|
3577
|
+
ve.push(Pe), this.paused_ = !0, e.scope.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), u.asyncFunc.apply(e.funcThis_, ve);
|
|
3578
3578
|
return;
|
|
3579
3579
|
} else
|
|
3580
3580
|
this.throwException(
|
|
@@ -4050,22 +4050,22 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4050
4050
|
}
|
|
4051
4051
|
var c = function(f, h) {
|
|
4052
4052
|
for (var d = 1, E = 0; ; ) {
|
|
4053
|
-
|
|
4054
|
-
var C =
|
|
4053
|
+
Ke.lastIndex = E;
|
|
4054
|
+
var C = Ke.exec(f);
|
|
4055
4055
|
if (C && C.index < h)
|
|
4056
4056
|
++d, E = C.index + C[0].length;
|
|
4057
4057
|
else
|
|
4058
4058
|
break;
|
|
4059
4059
|
}
|
|
4060
4060
|
return { line: d, column: h - E };
|
|
4061
|
-
}, 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;
|
|
4062
4062
|
function x(f, h) {
|
|
4063
4063
|
var d = c(t, f);
|
|
4064
4064
|
h += " (" + d.line + ":" + d.column + ")";
|
|
4065
4065
|
var E = new SyntaxError(h);
|
|
4066
4066
|
throw E.pos = f, E.loc = d, E.raisedAt = a, E;
|
|
4067
4067
|
}
|
|
4068
|
-
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 = {
|
|
4069
4069
|
break: st,
|
|
4070
4070
|
case: ct,
|
|
4071
4071
|
catch: Xt,
|
|
@@ -4089,21 +4089,21 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4089
4089
|
true: ur,
|
|
4090
4090
|
false: sr,
|
|
4091
4091
|
new: ir,
|
|
4092
|
-
in:
|
|
4092
|
+
in: We,
|
|
4093
4093
|
instanceof: { keyword: "instanceof", binop: 7, beforeExpr: !0 },
|
|
4094
4094
|
this: ar,
|
|
4095
4095
|
typeof: { keyword: "typeof", prefix: !0, beforeExpr: !0 },
|
|
4096
4096
|
void: { keyword: "void", prefix: !0, beforeExpr: !0 },
|
|
4097
4097
|
delete: { keyword: "delete", prefix: !0, beforeExpr: !0 }
|
|
4098
|
-
}, dt = { type: "[", beforeExpr: !0 }, vt = { type: "]" },
|
|
4099
|
-
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) {
|
|
4100
4100
|
for (var h = f.split(" "), d = /* @__PURE__ */ Object.create(null), E = 0; E < h.length; E++)
|
|
4101
4101
|
d[h[E]] = !0;
|
|
4102
4102
|
return function(C) {
|
|
4103
4103
|
return d[C] || !1;
|
|
4104
4104
|
};
|
|
4105
4105
|
}
|
|
4106
|
-
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) {
|
|
4107
4107
|
return f < 65 ? f === 36 : f < 91 ? !0 : f < 97 ? f === 95 : f < 123 ? !0 : f >= 170 && gr.test(String.fromCharCode(f));
|
|
4108
4108
|
}, _r = function(f) {
|
|
4109
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));
|
|
@@ -4112,16 +4112,16 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4112
4112
|
this.line = D, this.column = a - X;
|
|
4113
4113
|
}
|
|
4114
4114
|
function ui() {
|
|
4115
|
-
D = 1, a = X = 0, I = !0,
|
|
4115
|
+
D = 1, a = X = 0, I = !0, Ae();
|
|
4116
4116
|
}
|
|
4117
4117
|
function $(f, h) {
|
|
4118
|
-
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;
|
|
4119
4119
|
}
|
|
4120
4120
|
function si() {
|
|
4121
4121
|
var f = r.onComment && r.locations && new ce(), h = a, d = t.indexOf("*/", a += 2);
|
|
4122
4122
|
if (d === -1 && x(a - 2, "Unterminated comment"), a = d + 2, r.locations) {
|
|
4123
|
-
|
|
4124
|
-
for (var E; (E =
|
|
4123
|
+
Ke.lastIndex = h;
|
|
4124
|
+
for (var E; (E = Ke.exec(t)) && E.index < a; )
|
|
4125
4125
|
++D, X = E.index + E[0].length;
|
|
4126
4126
|
}
|
|
4127
4127
|
r.onComment && r.onComment(
|
|
@@ -4145,7 +4145,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4145
4145
|
r.locations && new ce()
|
|
4146
4146
|
);
|
|
4147
4147
|
}
|
|
4148
|
-
function
|
|
4148
|
+
function Ae() {
|
|
4149
4149
|
for (; a < e; ) {
|
|
4150
4150
|
var f = t.charCodeAt(a);
|
|
4151
4151
|
if (f === 32)
|
|
@@ -4196,8 +4196,8 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4196
4196
|
function di(f) {
|
|
4197
4197
|
var h = t.charCodeAt(a + 1);
|
|
4198
4198
|
if (h === f) {
|
|
4199
|
-
if (h === 45 && t.charCodeAt(a + 2) === 62 &&
|
|
4200
|
-
a += 3, yt(),
|
|
4199
|
+
if (h === 45 && t.charCodeAt(a + 2) === 62 && He.test(t.slice(z, a))) {
|
|
4200
|
+
a += 3, yt(), Ae(), ge();
|
|
4201
4201
|
return;
|
|
4202
4202
|
}
|
|
4203
4203
|
G(zn, 2);
|
|
@@ -4210,7 +4210,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4210
4210
|
return;
|
|
4211
4211
|
}
|
|
4212
4212
|
if (h === 33 && f === 60 && t.charCodeAt(a + 2) === 45 && t.charCodeAt(a + 3) === 45) {
|
|
4213
|
-
a += 4, yt(),
|
|
4213
|
+
a += 4, yt(), Ae(), ge();
|
|
4214
4214
|
return;
|
|
4215
4215
|
}
|
|
4216
4216
|
h === 61 && (d = t.charCodeAt(a + 2) === 61 ? 3 : 2), G(Zn, d);
|
|
@@ -4236,11 +4236,11 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4236
4236
|
case 93:
|
|
4237
4237
|
return ++a, $(vt);
|
|
4238
4238
|
case 123:
|
|
4239
|
-
return ++a, $(
|
|
4239
|
+
return ++a, $(we);
|
|
4240
4240
|
case 125:
|
|
4241
4241
|
return ++a, $(Ee);
|
|
4242
4242
|
case 58:
|
|
4243
|
-
return ++a, $(
|
|
4243
|
+
return ++a, $(Ce);
|
|
4244
4244
|
case 63:
|
|
4245
4245
|
return ++a, $(fr);
|
|
4246
4246
|
case 48:
|
|
@@ -4287,7 +4287,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4287
4287
|
if (f ? a = l + 1 : l = a, r.locations && (_ = new ce()), f) return br();
|
|
4288
4288
|
if (a >= e) return $(ut);
|
|
4289
4289
|
var h = t.charCodeAt(a);
|
|
4290
|
-
if (
|
|
4290
|
+
if (qe(h) || h === 92)
|
|
4291
4291
|
return Or();
|
|
4292
4292
|
var d = Ei(h);
|
|
4293
4293
|
if (d === !1) {
|
|
@@ -4305,7 +4305,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4305
4305
|
for (var f, h, d = a; ; ) {
|
|
4306
4306
|
a >= e && x(d, "Unterminated regexp");
|
|
4307
4307
|
var E = t.charAt(a);
|
|
4308
|
-
if (
|
|
4308
|
+
if (He.test(E) && x(d, "Unterminated regexp"), f)
|
|
4309
4309
|
f = !1;
|
|
4310
4310
|
else {
|
|
4311
4311
|
if (E === "[")
|
|
@@ -4329,7 +4329,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4329
4329
|
}
|
|
4330
4330
|
$(Yt, A);
|
|
4331
4331
|
}
|
|
4332
|
-
function
|
|
4332
|
+
function xe(f, h) {
|
|
4333
4333
|
for (var d = a, E = 0, C = h === void 0 ? 1 / 0 : h, S = 0; S < C; ++S) {
|
|
4334
4334
|
var A = t.charCodeAt(a), U;
|
|
4335
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;
|
|
@@ -4339,16 +4339,16 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4339
4339
|
}
|
|
4340
4340
|
function gi() {
|
|
4341
4341
|
a += 2;
|
|
4342
|
-
var f =
|
|
4343
|
-
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);
|
|
4344
4344
|
}
|
|
4345
4345
|
function mr(f) {
|
|
4346
4346
|
var h = a, d = !1, E = t.charCodeAt(a) === 48;
|
|
4347
|
-
!f &&
|
|
4347
|
+
!f && xe(10) === null && x(h, "Invalid number"), t.charCodeAt(a) === 46 && (++a, xe(10), d = !0);
|
|
4348
4348
|
var C = t.charCodeAt(a);
|
|
4349
|
-
(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");
|
|
4350
4350
|
var S = t.slice(h, a), A;
|
|
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), $(
|
|
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);
|
|
4352
4352
|
}
|
|
4353
4353
|
function _i(f) {
|
|
4354
4354
|
a++;
|
|
@@ -4376,13 +4376,13 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4376
4376
|
h += "\r";
|
|
4377
4377
|
break;
|
|
4378
4378
|
case 120:
|
|
4379
|
-
h += String.fromCharCode(
|
|
4379
|
+
h += String.fromCharCode(Ze(2));
|
|
4380
4380
|
break;
|
|
4381
4381
|
case 117:
|
|
4382
|
-
h += String.fromCharCode(
|
|
4382
|
+
h += String.fromCharCode(Ze(4));
|
|
4383
4383
|
break;
|
|
4384
4384
|
case 85:
|
|
4385
|
-
h += String.fromCharCode(
|
|
4385
|
+
h += String.fromCharCode(Ze(8));
|
|
4386
4386
|
break;
|
|
4387
4387
|
case 116:
|
|
4388
4388
|
h += " ";
|
|
@@ -4412,8 +4412,8 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4412
4412
|
(d === 13 || d === 10 || d === 8232 || d === 8233) && x(l, "Unterminated string constant"), h += String.fromCharCode(d), ++a;
|
|
4413
4413
|
}
|
|
4414
4414
|
}
|
|
4415
|
-
function
|
|
4416
|
-
var h =
|
|
4415
|
+
function Ze(f) {
|
|
4416
|
+
var h = xe(16, f);
|
|
4417
4417
|
return h === null && x(l, "Bad character escape sequence"), /** @type {number} */
|
|
4418
4418
|
h;
|
|
4419
4419
|
}
|
|
@@ -4426,8 +4426,8 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4426
4426
|
_e && (f += t.charAt(a)), ++a;
|
|
4427
4427
|
else if (E === 92) {
|
|
4428
4428
|
_e || (f = t.slice(d, a)), _e = !0, t.charCodeAt(++a) !== 117 && x(a, "Expecting Unicode escape sequence \\uXXXX"), ++a;
|
|
4429
|
-
var C =
|
|
4430
|
-
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;
|
|
4431
4431
|
} else
|
|
4432
4432
|
break;
|
|
4433
4433
|
h = !1;
|
|
@@ -4439,14 +4439,14 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4439
4439
|
!_e && ni(f) && (h = Wn[f]), $(h, f);
|
|
4440
4440
|
}
|
|
4441
4441
|
function k() {
|
|
4442
|
-
|
|
4442
|
+
Pe = l, z = v, ve = O, ge();
|
|
4443
4443
|
}
|
|
4444
4444
|
function Et(f) {
|
|
4445
4445
|
if (W = f, a = l, r.locations)
|
|
4446
4446
|
for (; a < X; )
|
|
4447
4447
|
X = t.lastIndexOf(`
|
|
4448
4448
|
`, X - 2) + 1, --D;
|
|
4449
|
-
|
|
4449
|
+
Ae(), ge();
|
|
4450
4450
|
}
|
|
4451
4451
|
function Nr() {
|
|
4452
4452
|
this.type = null, this.start = l, this.end = null;
|
|
@@ -4471,11 +4471,11 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4471
4471
|
function M(f) {
|
|
4472
4472
|
return b === f ? (k(), !0) : !1;
|
|
4473
4473
|
}
|
|
4474
|
-
function
|
|
4475
|
-
return !r.strictSemicolons && (b === ut || b === Ee ||
|
|
4474
|
+
function Qe() {
|
|
4475
|
+
return !r.strictSemicolons && (b === ut || b === Ee || He.test(t.slice(z, l)));
|
|
4476
4476
|
}
|
|
4477
4477
|
function fe() {
|
|
4478
|
-
!M(Z) && !
|
|
4478
|
+
!M(Z) && !Qe() && Q();
|
|
4479
4479
|
}
|
|
4480
4480
|
function B(f) {
|
|
4481
4481
|
b === f ? k() : Q();
|
|
@@ -4483,11 +4483,11 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4483
4483
|
function Q() {
|
|
4484
4484
|
x(l, "Unexpected token");
|
|
4485
4485
|
}
|
|
4486
|
-
function
|
|
4487
|
-
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");
|
|
4488
4488
|
}
|
|
4489
4489
|
function bi(f) {
|
|
4490
|
-
|
|
4490
|
+
Pe = z = a, r.locations && (ve = new ce()), ue = W = !1, j = [], ge();
|
|
4491
4491
|
var h = f || V(), d = !0;
|
|
4492
4492
|
for (f || (h.body = []); b !== ut; ) {
|
|
4493
4493
|
var E = J();
|
|
@@ -4504,7 +4504,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4504
4504
|
case Wt:
|
|
4505
4505
|
k();
|
|
4506
4506
|
var d = f === st;
|
|
4507
|
-
M(Z) ||
|
|
4507
|
+
M(Z) || Qe() ? h.label = null : b !== ye ? Q() : (h.label = ie(), fe());
|
|
4508
4508
|
for (var E = 0; E < j.length; ++E) {
|
|
4509
4509
|
var C = j[E];
|
|
4510
4510
|
if ((h.label === null || C.name === h.label.name) && (C.kind !== null && (d || C.kind === "loop") || h.label && d))
|
|
@@ -4514,67 +4514,67 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4514
4514
|
case zt:
|
|
4515
4515
|
return k(), fe(), w(h, "DebuggerStatement");
|
|
4516
4516
|
case Ht:
|
|
4517
|
-
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");
|
|
4518
4518
|
case Zt:
|
|
4519
4519
|
if (k(), j.push(_t), B(q), b === Z) return bt(h, null);
|
|
4520
4520
|
if (b === pt) {
|
|
4521
4521
|
var S = V();
|
|
4522
|
-
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);
|
|
4523
4523
|
}
|
|
4524
4524
|
var S = Y(!1, !0);
|
|
4525
|
-
return M(
|
|
4525
|
+
return M(We) ? (et(S), Sr(h, S)) : bt(h, S);
|
|
4526
4526
|
case ft:
|
|
4527
4527
|
return k(), Tt(h, !0);
|
|
4528
4528
|
case Qt:
|
|
4529
|
-
return k(), h.test =
|
|
4529
|
+
return k(), h.test = Ie(), h.consequent = J(), h.alternate = M(Kt) ? J() : null, w(h, "IfStatement");
|
|
4530
4530
|
case er:
|
|
4531
|
-
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");
|
|
4532
4532
|
case lt:
|
|
4533
|
-
k(), h.discriminant =
|
|
4533
|
+
k(), h.discriminant = Ie(), h.cases = [], B(we), j.push(mi);
|
|
4534
4534
|
for (var A, U; b !== Ee; )
|
|
4535
4535
|
if (b === ct || b === Jt) {
|
|
4536
|
-
var
|
|
4537
|
-
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);
|
|
4538
4538
|
} else
|
|
4539
4539
|
A || Q(), A.consequent.push(J());
|
|
4540
4540
|
return A && w(A, "SwitchCase"), k(), j.pop(), w(h, "SwitchStatement");
|
|
4541
4541
|
case tr:
|
|
4542
|
-
return k(),
|
|
4542
|
+
return k(), He.test(t.slice(z, l)) && x(z, "Illegal newline after throw"), h.argument = Y(), fe(), w(h, "ThrowStatement");
|
|
4543
4543
|
case rr:
|
|
4544
|
-
if (k(), h.block =
|
|
4544
|
+
if (k(), h.block = ke(), h.handler = null, b === Xt) {
|
|
4545
4545
|
var be = V();
|
|
4546
|
-
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");
|
|
4547
4547
|
}
|
|
4548
|
-
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");
|
|
4549
4549
|
case pt:
|
|
4550
4550
|
return k(), Pr(h), fe(), w(h, "VariableDeclaration");
|
|
4551
4551
|
case ht:
|
|
4552
|
-
return k(), h.test =
|
|
4552
|
+
return k(), h.test = Ie(), j.push(_t), h.body = J(), j.pop(), w(h, "WhileStatement");
|
|
4553
4553
|
case nr:
|
|
4554
|
-
return W && x(l, "'with' in strict mode"), k(), h.object =
|
|
4555
|
-
case
|
|
4556
|
-
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();
|
|
4557
4557
|
case Z:
|
|
4558
4558
|
return k(), w(h, "EmptyStatement");
|
|
4559
4559
|
default:
|
|
4560
|
-
var Pt = P,
|
|
4561
|
-
if (f === ye &&
|
|
4560
|
+
var Pt = P, tt = Y();
|
|
4561
|
+
if (f === ye && tt.type === "Identifier" && M(Ce)) {
|
|
4562
4562
|
for (var E = 0; E < j.length; ++E)
|
|
4563
|
-
j[E].name === Pt && x(
|
|
4563
|
+
j[E].name === Pt && x(tt.start, "Label '" + Pt + "' is already declared");
|
|
4564
4564
|
var Pi = b.isLoop ? "loop" : b === lt ? "switch" : null;
|
|
4565
|
-
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");
|
|
4566
4566
|
} else
|
|
4567
|
-
return h.expression =
|
|
4567
|
+
return h.expression = tt, fe(), w(h, "ExpressionStatement");
|
|
4568
4568
|
}
|
|
4569
4569
|
}
|
|
4570
|
-
function
|
|
4570
|
+
function Ie() {
|
|
4571
4571
|
B(q);
|
|
4572
4572
|
var f = Y();
|
|
4573
4573
|
return B(H), f;
|
|
4574
4574
|
}
|
|
4575
|
-
function
|
|
4575
|
+
function ke(f) {
|
|
4576
4576
|
var h = V(), d = !0, E = !1, C;
|
|
4577
|
-
for (h.body = [], B(
|
|
4577
|
+
for (h.body = [], B(we); !M(Ee); ) {
|
|
4578
4578
|
var S = J();
|
|
4579
4579
|
h.body.push(S), d && f && gt(S) && (C = E, Et(E = !0)), d = !1;
|
|
4580
4580
|
}
|
|
@@ -4589,7 +4589,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4589
4589
|
function Pr(f, h) {
|
|
4590
4590
|
for (f.declarations = [], f.kind = "var"; ; ) {
|
|
4591
4591
|
var d = V();
|
|
4592
|
-
if (d.id = ie(), W &&
|
|
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;
|
|
4593
4593
|
}
|
|
4594
4594
|
}
|
|
4595
4595
|
function Y(f, h) {
|
|
@@ -4605,7 +4605,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4605
4605
|
var h = Ri(f);
|
|
4606
4606
|
if (b.isAssign) {
|
|
4607
4607
|
var d = ne(h);
|
|
4608
|
-
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");
|
|
4609
4609
|
}
|
|
4610
4610
|
return h;
|
|
4611
4611
|
}
|
|
@@ -4613,7 +4613,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4613
4613
|
var h = Oi(f);
|
|
4614
4614
|
if (M(fr)) {
|
|
4615
4615
|
var d = ne(h);
|
|
4616
|
-
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");
|
|
4617
4617
|
}
|
|
4618
4618
|
return h;
|
|
4619
4619
|
}
|
|
@@ -4622,7 +4622,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4622
4622
|
}
|
|
4623
4623
|
function Rt(f, h, d) {
|
|
4624
4624
|
var E = b.binop;
|
|
4625
|
-
if (E !== null && (!d || b !==
|
|
4625
|
+
if (E !== null && (!d || b !== We) && E > h) {
|
|
4626
4626
|
var C = ne(f);
|
|
4627
4627
|
C.left = f, C.operator = P;
|
|
4628
4628
|
var S = b;
|
|
@@ -4635,20 +4635,20 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4635
4635
|
function Ot() {
|
|
4636
4636
|
if (b.prefix) {
|
|
4637
4637
|
var f = V(), h = b.isUpdate;
|
|
4638
|
-
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");
|
|
4639
4639
|
}
|
|
4640
|
-
for (var d = Ni(); b.postfix && !
|
|
4640
|
+
for (var d = Ni(); b.postfix && !Qe(); ) {
|
|
4641
4641
|
var f = ne(d);
|
|
4642
|
-
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");
|
|
4643
4643
|
}
|
|
4644
4644
|
return d;
|
|
4645
4645
|
}
|
|
4646
4646
|
function Ni() {
|
|
4647
|
-
return
|
|
4647
|
+
return De(Nt());
|
|
4648
4648
|
}
|
|
4649
|
-
function
|
|
4649
|
+
function De(f, h) {
|
|
4650
4650
|
var d;
|
|
4651
|
-
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;
|
|
4652
4652
|
}
|
|
4653
4653
|
function Nt() {
|
|
4654
4654
|
var f;
|
|
@@ -4657,7 +4657,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4657
4657
|
return f = V(), k(), w(f, "ThisExpression");
|
|
4658
4658
|
case ye:
|
|
4659
4659
|
return ie();
|
|
4660
|
-
case
|
|
4660
|
+
case Xe:
|
|
4661
4661
|
case ot:
|
|
4662
4662
|
case Yt:
|
|
4663
4663
|
return f = V(), f.value = P, f.raw = t.slice(l, v), k(), w(f, "Literal");
|
|
@@ -4672,7 +4672,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4672
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;
|
|
4673
4673
|
case dt:
|
|
4674
4674
|
return f = V(), k(), f.elements = St(vt, !0, !0), w(f, "ArrayExpression");
|
|
4675
|
-
case
|
|
4675
|
+
case we:
|
|
4676
4676
|
return Si();
|
|
4677
4677
|
case ft:
|
|
4678
4678
|
return f = V(), k(), Tt(f, !1);
|
|
@@ -4683,7 +4683,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4683
4683
|
}
|
|
4684
4684
|
function Ti() {
|
|
4685
4685
|
var f = V();
|
|
4686
|
-
return k(), f.callee =
|
|
4686
|
+
return k(), f.callee = De(Nt(), !0), f.arguments = M(q) ? St(H, !1) : Xn, w(f, "NewExpression");
|
|
4687
4687
|
}
|
|
4688
4688
|
function Si() {
|
|
4689
4689
|
var f = V(), h = !0, d = !1;
|
|
@@ -4693,12 +4693,12 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4693
4693
|
else if (B(re), r.allowTrailingCommas && M(Ee))
|
|
4694
4694
|
break;
|
|
4695
4695
|
var E = { key: wr() }, C = !1, S;
|
|
4696
|
-
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))
|
|
4697
4697
|
for (var A = 0; A < f.properties.length; ++A) {
|
|
4698
4698
|
var U = f.properties[A];
|
|
4699
4699
|
if (U.key.name === E.key.name) {
|
|
4700
|
-
var
|
|
4701
|
-
|
|
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");
|
|
4702
4702
|
}
|
|
4703
4703
|
}
|
|
4704
4704
|
f.properties.push(E);
|
|
@@ -4706,7 +4706,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4706
4706
|
return w(f, "ObjectExpression");
|
|
4707
4707
|
}
|
|
4708
4708
|
function wr() {
|
|
4709
|
-
return b ===
|
|
4709
|
+
return b === Xe || b === ot ? Nt() : ie(!0);
|
|
4710
4710
|
}
|
|
4711
4711
|
function Tt(f, h) {
|
|
4712
4712
|
b === ye ? f.id = ie() : h ? Q() : f.id = null, f.params = [];
|
|
@@ -4714,10 +4714,10 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4714
4714
|
for (B(q); !M(H); )
|
|
4715
4715
|
d ? d = !1 : B(re), f.params.push(ie());
|
|
4716
4716
|
var E = ue, C = j;
|
|
4717
|
-
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]))
|
|
4718
4718
|
for (var S = f.id ? -1 : 0; S < f.params.length; ++S) {
|
|
4719
4719
|
var A = S < 0 ? f.id : f.params[S];
|
|
4720
|
-
if ((yr(A.name) ||
|
|
4720
|
+
if ((yr(A.name) || Je(A.name)) && x(A.start, "Defining '" + A.name + "' in strict mode"), S >= 0)
|
|
4721
4721
|
for (var U = 0; U < S; ++U)
|
|
4722
4722
|
A.name === f.params[U].name && x(A.start, "Argument name clash in strict mode");
|
|
4723
4723
|
}
|
|
@@ -5091,9 +5091,9 @@ const Zs = /* @__PURE__ */ on({
|
|
|
5091
5091
|
return a.ref ? l = o(a) : l = u(a), l;
|
|
5092
5092
|
}
|
|
5093
5093
|
function o(a) {
|
|
5094
|
-
const l = cn[R.version].refKey, v =
|
|
5094
|
+
const l = cn[R.version].refKey, v = Ne[l];
|
|
5095
5095
|
let _;
|
|
5096
|
-
return v ? _ =
|
|
5096
|
+
return v ? _ = Le(v.comp, {
|
|
5097
5097
|
refContext: {
|
|
5098
5098
|
parent: p.refContext,
|
|
5099
5099
|
refid: a.ref.id
|
|
@@ -5104,15 +5104,15 @@ const Zs = /* @__PURE__ */ on({
|
|
|
5104
5104
|
function u(a) {
|
|
5105
5105
|
var _;
|
|
5106
5106
|
let l;
|
|
5107
|
-
const v =
|
|
5107
|
+
const v = Ne[a.key];
|
|
5108
5108
|
return v ? ((_ = a.children) == null || _.forEach((O) => {
|
|
5109
5109
|
i(O);
|
|
5110
|
-
}), l =
|
|
5110
|
+
}), l = Le(v.comp, { node: a })) : console.assert(!1, `invalid element config key=${a.key}`), l;
|
|
5111
5111
|
}
|
|
5112
5112
|
const c = () => {
|
|
5113
5113
|
const a = [];
|
|
5114
5114
|
if (e())
|
|
5115
|
-
a.push(
|
|
5115
|
+
a.push(Le("div", s("circularRef")));
|
|
5116
5116
|
else if (N.value) {
|
|
5117
5117
|
const l = N.value.data.type;
|
|
5118
5118
|
l === "common" ? N.value.data.view.nodes.forEach((v) => {
|
|
@@ -5120,8 +5120,8 @@ const Zs = /* @__PURE__ */ on({
|
|
|
5120
5120
|
a.push(_);
|
|
5121
5121
|
}) : console.assert(!1, `invalid data type dataType=${l}`);
|
|
5122
5122
|
} else
|
|
5123
|
-
a.push(
|
|
5124
|
-
return
|
|
5123
|
+
a.push(Le("div", s("compNotAvail")));
|
|
5124
|
+
return Le("div", { id: p.id, style: t.value }, a);
|
|
5125
5125
|
};
|
|
5126
5126
|
return (a, l) => (un(), sn(c));
|
|
5127
5127
|
}
|
|
@@ -5244,12 +5244,26 @@ const Zs = /* @__PURE__ */ on({
|
|
|
5244
5244
|
pageCommon: Qs,
|
|
5245
5245
|
compCommon: ec
|
|
5246
5246
|
}
|
|
5247
|
-
},
|
|
5247
|
+
}, Ne = {
|
|
5248
5248
|
// basic
|
|
5249
5249
|
btn_v1: ks,
|
|
5250
5250
|
globality_v1: Ds,
|
|
5251
5251
|
ref_v1: tc
|
|
5252
|
-
}, rc =
|
|
5252
|
+
}, rc = {
|
|
5253
|
+
key: "add",
|
|
5254
|
+
name: "add",
|
|
5255
|
+
outputs: [
|
|
5256
|
+
{
|
|
5257
|
+
key: "newNode",
|
|
5258
|
+
name: "newNode"
|
|
5259
|
+
}
|
|
5260
|
+
]
|
|
5261
|
+
};
|
|
5262
|
+
for (const n in Ne) {
|
|
5263
|
+
const s = Ne[n];
|
|
5264
|
+
s.leaf || s.methods.unshift(rc);
|
|
5265
|
+
}
|
|
5266
|
+
const nc = (n, s, p) => {
|
|
5253
5267
|
const y = n[s];
|
|
5254
5268
|
return y ? typeof y == "function" ? y() : Promise.resolve(y) : new Promise((g, R) => {
|
|
5255
5269
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
|
|
@@ -5262,14 +5276,14 @@ const Zs = /* @__PURE__ */ on({
|
|
|
5262
5276
|
);
|
|
5263
5277
|
});
|
|
5264
5278
|
};
|
|
5265
|
-
async function
|
|
5266
|
-
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;
|
|
5267
5281
|
}
|
|
5268
5282
|
export {
|
|
5269
|
-
|
|
5270
|
-
|
|
5283
|
+
fc as duplicateNode,
|
|
5284
|
+
Ne as elements,
|
|
5271
5285
|
fn as genId,
|
|
5272
|
-
|
|
5286
|
+
cc as getNode,
|
|
5273
5287
|
Qr as getPropDefault,
|
|
5274
5288
|
ms as getPropTag,
|
|
5275
5289
|
en as initProps,
|
|
@@ -5278,24 +5292,24 @@ export {
|
|
|
5278
5292
|
Cs as injectDepends,
|
|
5279
5293
|
Ts as injectDevice,
|
|
5280
5294
|
Os as injectEnv,
|
|
5281
|
-
|
|
5295
|
+
gc as injectInterpreter,
|
|
5282
5296
|
Ns as injectMode,
|
|
5283
5297
|
Ps as injectType,
|
|
5284
5298
|
Gi as isEmptyStr,
|
|
5285
5299
|
Yi as isPercentStr,
|
|
5286
5300
|
Vi as isPixelStr,
|
|
5287
|
-
|
|
5301
|
+
_c as loadLocaleMessageElement,
|
|
5288
5302
|
Ct as parsePercentStr,
|
|
5289
|
-
|
|
5303
|
+
sc as parsePixelStr,
|
|
5290
5304
|
cn as pkgs,
|
|
5291
|
-
|
|
5292
|
-
|
|
5293
|
-
|
|
5294
|
-
|
|
5295
|
-
|
|
5305
|
+
dc as provideDark,
|
|
5306
|
+
yc as provideData,
|
|
5307
|
+
Ec as provideDepends,
|
|
5308
|
+
hc as provideDevice,
|
|
5309
|
+
lc as provideEnv,
|
|
5296
5310
|
As as provideInterpreter,
|
|
5297
|
-
|
|
5298
|
-
|
|
5311
|
+
pc as provideMode,
|
|
5312
|
+
vc as provideType,
|
|
5299
5313
|
Rs as spawnNode,
|
|
5300
5314
|
qs as startInterpreter,
|
|
5301
5315
|
nn as stopInterpreter
|
package/dist/types/element.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "x-runtime-lib",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.10",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"js-interpreter": "^5.1.2",
|
|
26
26
|
"lodash-es": "^4.17.21",
|
|
27
|
-
"x-essential-lib": "^0.6.
|
|
27
|
+
"x-essential-lib": "^0.6.7"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"vue": "^3.4.
|
|
31
|
-
"vue-i18n": "^9.
|
|
32
|
-
"vuetify": "^3.
|
|
30
|
+
"vue": "^3.4.38",
|
|
31
|
+
"vue-i18n": "^9.14.0",
|
|
32
|
+
"vuetify": "^3.7.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@rushstack/eslint-patch": "^1.10.3",
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
"eslint-plugin-vue": "^9.27.0",
|
|
43
43
|
"husky": "^9.0.11",
|
|
44
44
|
"lint-staged": "^15.2.7",
|
|
45
|
-
"prettier": "3.3.
|
|
45
|
+
"prettier": "3.3.3",
|
|
46
46
|
"sass": "^1.77.7",
|
|
47
47
|
"typescript": "^5.5.3",
|
|
48
48
|
"vite": "^5.3.3",
|
|
49
49
|
"vite-plugin-css-injected-by-js": "^3.5.1",
|
|
50
50
|
"vite-plugin-vuetify": "^2.0.3",
|
|
51
|
-
"vue-router": "^4.4.
|
|
51
|
+
"vue-router": "^4.4.3",
|
|
52
52
|
"vue-tsc": "^2.0.26"
|
|
53
53
|
}
|
|
54
54
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function loadLocaleMessageElement(locale: string): Promise<object>;
|