x-runtime-lib 0.5.24 → 0.5.26
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/components/element/card/v1/index.vue.d.ts +17 -0
- package/dist/components/element/chip/v1/index.vue.d.ts +2 -0
- package/dist/element/_common/keys.d.ts +2 -0
- package/dist/element/basic/card/v1/index.d.ts +3 -0
- package/dist/element/basic/chip/v1/index.d.ts +3 -0
- package/dist/index.js +1261 -1204
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,93 +1,93 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var Xt = (n, o,
|
|
4
|
-
import { provide as
|
|
5
|
-
import { useI18n as
|
|
6
|
-
import { eventBus as Me, messageInfo as
|
|
7
|
-
const
|
|
8
|
-
function
|
|
1
|
+
var Pa = Object.defineProperty;
|
|
2
|
+
var Ca = (n, o, l) => o in n ? Pa(n, o, { enumerable: !0, configurable: !0, writable: !0, value: l }) : n[o] = l;
|
|
3
|
+
var Xt = (n, o, l) => Ca(n, typeof o != "symbol" ? o + "" : o, l);
|
|
4
|
+
import { provide as _e, inject as be, readonly as pr, isReactive as ei, defineComponent as ae, computed as N, resolveComponent as pe, openBlock as X, createBlock as ne, withCtx as Z, renderSlot as dr, unref as Le, createElementBlock as je, createVNode as q, normalizeStyle as ka, ref as ti, watchEffect as ri, onUnmounted as hr, watch as Aa, h as J, createSlots as Kt, renderList as Ia, onBeforeMount as Da, isRef as La, createCommentVNode as Ma } from "vue";
|
|
5
|
+
import { useI18n as ni } from "vue-i18n";
|
|
6
|
+
import { eventBus as Me, messageInfo as Fa, messageSuccess as Ua, messageWarning as ja, messageError as Ba, openConfirmDlg as $a, openPromptDlg as Va, useViewStack as Ga } from "x-essential-lib";
|
|
7
|
+
const hn = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
8
|
+
function ii(n) {
|
|
9
9
|
let o = "";
|
|
10
|
-
for (let
|
|
11
|
-
const v = Math.floor(Math.random() *
|
|
12
|
-
o +=
|
|
10
|
+
for (let l = 0; l < n; l++) {
|
|
11
|
+
const v = Math.floor(Math.random() * hn.length);
|
|
12
|
+
o += hn[v];
|
|
13
13
|
}
|
|
14
14
|
return o;
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function vr(n) {
|
|
17
17
|
return n === "";
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function yr(n) {
|
|
20
20
|
if (typeof n != "string" || !n.endsWith("px"))
|
|
21
21
|
return !1;
|
|
22
|
-
const o = n.substring(0, n.length - 2),
|
|
23
|
-
return !(isNaN(
|
|
22
|
+
const o = n.substring(0, n.length - 2), l = parseFloat(o);
|
|
23
|
+
return !(isNaN(l) || l % 1 !== 0);
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function mr(n) {
|
|
26
26
|
if (typeof n != "string" || !n.endsWith("%"))
|
|
27
27
|
return !1;
|
|
28
|
-
const o = n.substring(0, n.length - 1),
|
|
29
|
-
return !isNaN(
|
|
28
|
+
const o = n.substring(0, n.length - 1), l = parseFloat(o);
|
|
29
|
+
return !isNaN(l);
|
|
30
30
|
}
|
|
31
|
-
function
|
|
31
|
+
function Ic(n) {
|
|
32
32
|
if (typeof n != "string" || !n.endsWith("px"))
|
|
33
33
|
return;
|
|
34
|
-
const o = n.substring(0, n.length - 2),
|
|
35
|
-
if (!isNaN(
|
|
36
|
-
return
|
|
34
|
+
const o = n.substring(0, n.length - 2), l = parseFloat(o);
|
|
35
|
+
if (!isNaN(l) && l % 1 === 0)
|
|
36
|
+
return l;
|
|
37
37
|
}
|
|
38
38
|
function Wt(n) {
|
|
39
39
|
if (typeof n != "string" || !n.endsWith("%"))
|
|
40
40
|
return;
|
|
41
|
-
const o = n.substring(0, n.length - 1),
|
|
42
|
-
if (!isNaN(
|
|
43
|
-
return
|
|
41
|
+
const o = n.substring(0, n.length - 1), l = parseFloat(o);
|
|
42
|
+
if (!isNaN(l))
|
|
43
|
+
return l;
|
|
44
44
|
}
|
|
45
|
-
var
|
|
46
|
-
function
|
|
47
|
-
var o =
|
|
45
|
+
var ai = typeof global == "object" && global && global.Object === Object && global, Ya = typeof self == "object" && self && self.Object === Object && self, oe = ai || Ya || Function("return this")(), Fe = oe.Symbol, oi = Object.prototype, za = oi.hasOwnProperty, Xa = oi.toString, Ze = Fe ? Fe.toStringTag : void 0;
|
|
46
|
+
function Wa(n) {
|
|
47
|
+
var o = za.call(n, Ze), l = n[Ze];
|
|
48
48
|
try {
|
|
49
49
|
n[Ze] = void 0;
|
|
50
50
|
var v = !0;
|
|
51
51
|
} catch {
|
|
52
52
|
}
|
|
53
|
-
var _ =
|
|
54
|
-
return v && (o ? n[Ze] =
|
|
53
|
+
var _ = Xa.call(n);
|
|
54
|
+
return v && (o ? n[Ze] = l : delete n[Ze]), _;
|
|
55
55
|
}
|
|
56
|
-
var
|
|
57
|
-
function
|
|
58
|
-
return
|
|
56
|
+
var Ha = Object.prototype, Ja = Ha.toString;
|
|
57
|
+
function Ka(n) {
|
|
58
|
+
return Ja.call(n);
|
|
59
59
|
}
|
|
60
|
-
var
|
|
60
|
+
var qa = "[object Null]", Za = "[object Undefined]", vn = Fe ? Fe.toStringTag : void 0;
|
|
61
61
|
function rt(n) {
|
|
62
|
-
return n == null ? n === void 0 ?
|
|
62
|
+
return n == null ? n === void 0 ? Za : qa : vn && vn in Object(n) ? Wa(n) : Ka(n);
|
|
63
63
|
}
|
|
64
64
|
function nt(n) {
|
|
65
65
|
return n != null && typeof n == "object";
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var _r = Array.isArray;
|
|
68
68
|
function it(n) {
|
|
69
69
|
var o = typeof n;
|
|
70
70
|
return n != null && (o == "object" || o == "function");
|
|
71
71
|
}
|
|
72
|
-
var
|
|
73
|
-
function
|
|
72
|
+
var Qa = "[object AsyncFunction]", eo = "[object Function]", to = "[object GeneratorFunction]", ro = "[object Proxy]";
|
|
73
|
+
function ui(n) {
|
|
74
74
|
if (!it(n))
|
|
75
75
|
return !1;
|
|
76
76
|
var o = rt(n);
|
|
77
|
-
return o ==
|
|
77
|
+
return o == eo || o == to || o == Qa || o == ro;
|
|
78
78
|
}
|
|
79
|
-
var Ht =
|
|
79
|
+
var Ht = oe["__core-js_shared__"], yn = function() {
|
|
80
80
|
var n = /[^.]+$/.exec(Ht && Ht.keys && Ht.keys.IE_PROTO || "");
|
|
81
81
|
return n ? "Symbol(src)_1." + n : "";
|
|
82
82
|
}();
|
|
83
|
-
function
|
|
84
|
-
return !!
|
|
83
|
+
function no(n) {
|
|
84
|
+
return !!yn && yn in n;
|
|
85
85
|
}
|
|
86
|
-
var
|
|
86
|
+
var io = Function.prototype, ao = io.toString;
|
|
87
87
|
function Se(n) {
|
|
88
88
|
if (n != null) {
|
|
89
89
|
try {
|
|
90
|
-
return
|
|
90
|
+
return ao.call(n);
|
|
91
91
|
} catch {
|
|
92
92
|
}
|
|
93
93
|
try {
|
|
@@ -97,520 +97,520 @@ function Se(n) {
|
|
|
97
97
|
}
|
|
98
98
|
return "";
|
|
99
99
|
}
|
|
100
|
-
var
|
|
101
|
-
"^" +
|
|
100
|
+
var oo = /[\\^$.*+?()[\]{}|]/g, uo = /^\[object .+?Constructor\]$/, so = Function.prototype, lo = Object.prototype, co = so.toString, fo = lo.hasOwnProperty, po = RegExp(
|
|
101
|
+
"^" + co.call(fo).replace(oo, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
102
102
|
);
|
|
103
|
-
function
|
|
104
|
-
if (!it(n) ||
|
|
103
|
+
function ho(n) {
|
|
104
|
+
if (!it(n) || no(n))
|
|
105
105
|
return !1;
|
|
106
|
-
var o =
|
|
106
|
+
var o = ui(n) ? po : uo;
|
|
107
107
|
return o.test(Se(n));
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function vo(n, o) {
|
|
110
110
|
return n == null ? void 0 : n[o];
|
|
111
111
|
}
|
|
112
112
|
function xe(n, o) {
|
|
113
|
-
var
|
|
114
|
-
return
|
|
113
|
+
var l = vo(n, o);
|
|
114
|
+
return ho(l) ? l : void 0;
|
|
115
115
|
}
|
|
116
|
-
var qt = xe(
|
|
116
|
+
var qt = xe(oe, "WeakMap"), mn = Object.create, yo = /* @__PURE__ */ function() {
|
|
117
117
|
function n() {
|
|
118
118
|
}
|
|
119
119
|
return function(o) {
|
|
120
120
|
if (!it(o))
|
|
121
121
|
return {};
|
|
122
|
-
if (
|
|
123
|
-
return
|
|
122
|
+
if (mn)
|
|
123
|
+
return mn(o);
|
|
124
124
|
n.prototype = o;
|
|
125
|
-
var
|
|
126
|
-
return n.prototype = void 0,
|
|
125
|
+
var l = new n();
|
|
126
|
+
return n.prototype = void 0, l;
|
|
127
127
|
};
|
|
128
128
|
}();
|
|
129
|
-
function
|
|
130
|
-
var
|
|
131
|
-
for (o || (o = Array(v)); ++
|
|
132
|
-
o[
|
|
129
|
+
function mo(n, o) {
|
|
130
|
+
var l = -1, v = n.length;
|
|
131
|
+
for (o || (o = Array(v)); ++l < v; )
|
|
132
|
+
o[l] = n[l];
|
|
133
133
|
return o;
|
|
134
134
|
}
|
|
135
|
-
var
|
|
135
|
+
var _n = function() {
|
|
136
136
|
try {
|
|
137
137
|
var n = xe(Object, "defineProperty");
|
|
138
138
|
return n({}, "", {}), n;
|
|
139
139
|
} catch {
|
|
140
140
|
}
|
|
141
141
|
}();
|
|
142
|
-
function
|
|
143
|
-
for (var
|
|
142
|
+
function _o(n, o) {
|
|
143
|
+
for (var l = -1, v = n == null ? 0 : n.length; ++l < v && o(n[l], l, n) !== !1; )
|
|
144
144
|
;
|
|
145
145
|
return n;
|
|
146
146
|
}
|
|
147
|
-
var
|
|
148
|
-
function
|
|
149
|
-
var
|
|
150
|
-
return o = o ??
|
|
147
|
+
var bo = 9007199254740991, go = /^(?:0|[1-9]\d*)$/;
|
|
148
|
+
function Eo(n, o) {
|
|
149
|
+
var l = typeof n;
|
|
150
|
+
return o = o ?? bo, !!o && (l == "number" || l != "symbol" && go.test(n)) && n > -1 && n % 1 == 0 && n < o;
|
|
151
151
|
}
|
|
152
|
-
function
|
|
153
|
-
o == "__proto__" &&
|
|
152
|
+
function si(n, o, l) {
|
|
153
|
+
o == "__proto__" && _n ? _n(n, o, {
|
|
154
154
|
configurable: !0,
|
|
155
155
|
enumerable: !0,
|
|
156
|
-
value:
|
|
156
|
+
value: l,
|
|
157
157
|
writable: !0
|
|
158
|
-
}) : n[o] =
|
|
158
|
+
}) : n[o] = l;
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function li(n, o) {
|
|
161
161
|
return n === o || n !== n && o !== o;
|
|
162
162
|
}
|
|
163
|
-
var
|
|
164
|
-
function
|
|
163
|
+
var Ro = Object.prototype, Oo = Ro.hasOwnProperty;
|
|
164
|
+
function ci(n, o, l) {
|
|
165
165
|
var v = n[o];
|
|
166
|
-
(!(
|
|
166
|
+
(!(Oo.call(n, o) && li(v, l)) || l === void 0 && !(o in n)) && si(n, o, l);
|
|
167
167
|
}
|
|
168
|
-
function Et(n, o,
|
|
169
|
-
var _ = !
|
|
170
|
-
|
|
168
|
+
function Et(n, o, l, v) {
|
|
169
|
+
var _ = !l;
|
|
170
|
+
l || (l = {});
|
|
171
171
|
for (var E = -1, y = o.length; ++E < y; ) {
|
|
172
172
|
var O = o[E], R = void 0;
|
|
173
|
-
R === void 0 && (R = n[O]), _ ?
|
|
173
|
+
R === void 0 && (R = n[O]), _ ? si(l, O, R) : ci(l, O, R);
|
|
174
174
|
}
|
|
175
|
-
return
|
|
175
|
+
return l;
|
|
176
176
|
}
|
|
177
|
-
var
|
|
178
|
-
function
|
|
179
|
-
return typeof n == "number" && n > -1 && n % 1 == 0 && n <=
|
|
177
|
+
var To = 9007199254740991;
|
|
178
|
+
function fi(n) {
|
|
179
|
+
return typeof n == "number" && n > -1 && n % 1 == 0 && n <= To;
|
|
180
180
|
}
|
|
181
|
-
function
|
|
182
|
-
return n != null &&
|
|
181
|
+
function pi(n) {
|
|
182
|
+
return n != null && fi(n.length) && !ui(n);
|
|
183
183
|
}
|
|
184
|
-
var
|
|
185
|
-
function
|
|
186
|
-
var o = n && n.constructor,
|
|
187
|
-
return n ===
|
|
184
|
+
var No = Object.prototype;
|
|
185
|
+
function br(n) {
|
|
186
|
+
var o = n && n.constructor, l = typeof o == "function" && o.prototype || No;
|
|
187
|
+
return n === l;
|
|
188
188
|
}
|
|
189
|
-
function
|
|
190
|
-
for (var
|
|
191
|
-
v[
|
|
189
|
+
function So(n, o) {
|
|
190
|
+
for (var l = -1, v = Array(n); ++l < n; )
|
|
191
|
+
v[l] = o(l);
|
|
192
192
|
return v;
|
|
193
193
|
}
|
|
194
|
-
var
|
|
195
|
-
function
|
|
196
|
-
return nt(n) && rt(n) ==
|
|
194
|
+
var xo = "[object Arguments]";
|
|
195
|
+
function bn(n) {
|
|
196
|
+
return nt(n) && rt(n) == xo;
|
|
197
197
|
}
|
|
198
|
-
var
|
|
198
|
+
var di = Object.prototype, wo = di.hasOwnProperty, Po = di.propertyIsEnumerable, Co = bn(/* @__PURE__ */ function() {
|
|
199
199
|
return arguments;
|
|
200
|
-
}()) ?
|
|
201
|
-
return nt(n) &&
|
|
200
|
+
}()) ? bn : function(n) {
|
|
201
|
+
return nt(n) && wo.call(n, "callee") && !Po.call(n, "callee");
|
|
202
202
|
};
|
|
203
|
-
function
|
|
203
|
+
function ko() {
|
|
204
204
|
return !1;
|
|
205
205
|
}
|
|
206
|
-
var
|
|
207
|
-
F[
|
|
208
|
-
F[
|
|
209
|
-
function
|
|
210
|
-
return nt(n) &&
|
|
206
|
+
var hi = typeof exports == "object" && exports && !exports.nodeType && exports, gn = hi && typeof module == "object" && module && !module.nodeType && module, Ao = gn && gn.exports === hi, En = Ao ? oe.Buffer : void 0, Io = En ? En.isBuffer : void 0, vi = Io || ko, Do = "[object Arguments]", Lo = "[object Array]", Mo = "[object Boolean]", Fo = "[object Date]", Uo = "[object Error]", jo = "[object Function]", Bo = "[object Map]", $o = "[object Number]", Vo = "[object Object]", Go = "[object RegExp]", Yo = "[object Set]", zo = "[object String]", Xo = "[object WeakMap]", Wo = "[object ArrayBuffer]", Ho = "[object DataView]", Jo = "[object Float32Array]", Ko = "[object Float64Array]", qo = "[object Int8Array]", Zo = "[object Int16Array]", Qo = "[object Int32Array]", eu = "[object Uint8Array]", tu = "[object Uint8ClampedArray]", ru = "[object Uint16Array]", nu = "[object Uint32Array]", F = {};
|
|
207
|
+
F[Jo] = F[Ko] = F[qo] = F[Zo] = F[Qo] = F[eu] = F[tu] = F[ru] = F[nu] = !0;
|
|
208
|
+
F[Do] = F[Lo] = F[Wo] = F[Mo] = F[Ho] = F[Fo] = F[Uo] = F[jo] = F[Bo] = F[$o] = F[Vo] = F[Go] = F[Yo] = F[zo] = F[Xo] = !1;
|
|
209
|
+
function iu(n) {
|
|
210
|
+
return nt(n) && fi(n.length) && !!F[rt(n)];
|
|
211
211
|
}
|
|
212
|
-
function
|
|
212
|
+
function gr(n) {
|
|
213
213
|
return function(o) {
|
|
214
214
|
return n(o);
|
|
215
215
|
};
|
|
216
216
|
}
|
|
217
|
-
var
|
|
217
|
+
var yi = typeof exports == "object" && exports && !exports.nodeType && exports, Qe = yi && typeof module == "object" && module && !module.nodeType && module, au = Qe && Qe.exports === yi, Jt = au && ai.process, Ue = function() {
|
|
218
218
|
try {
|
|
219
219
|
var n = Qe && Qe.require && Qe.require("util").types;
|
|
220
220
|
return n || Jt && Jt.binding && Jt.binding("util");
|
|
221
221
|
} catch {
|
|
222
222
|
}
|
|
223
|
-
}(),
|
|
224
|
-
function
|
|
225
|
-
var
|
|
223
|
+
}(), Rn = Ue && Ue.isTypedArray, ou = Rn ? gr(Rn) : iu, uu = Object.prototype, su = uu.hasOwnProperty;
|
|
224
|
+
function mi(n, o) {
|
|
225
|
+
var l = _r(n), v = !l && Co(n), _ = !l && !v && vi(n), E = !l && !v && !_ && ou(n), y = l || v || _ || E, O = y ? So(n.length, String) : [], R = O.length;
|
|
226
226
|
for (var r in n)
|
|
227
|
-
(o ||
|
|
227
|
+
(o || su.call(n, r)) && !(y && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
228
228
|
(r == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
229
229
|
_ && (r == "offset" || r == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
230
230
|
E && (r == "buffer" || r == "byteLength" || r == "byteOffset") || // Skip index properties.
|
|
231
|
-
|
|
231
|
+
Eo(r, R))) && O.push(r);
|
|
232
232
|
return O;
|
|
233
233
|
}
|
|
234
|
-
function
|
|
235
|
-
return function(
|
|
236
|
-
return n(o(
|
|
234
|
+
function _i(n, o) {
|
|
235
|
+
return function(l) {
|
|
236
|
+
return n(o(l));
|
|
237
237
|
};
|
|
238
238
|
}
|
|
239
|
-
var
|
|
240
|
-
function
|
|
241
|
-
if (!
|
|
242
|
-
return
|
|
239
|
+
var lu = _i(Object.keys, Object), cu = Object.prototype, fu = cu.hasOwnProperty;
|
|
240
|
+
function pu(n) {
|
|
241
|
+
if (!br(n))
|
|
242
|
+
return lu(n);
|
|
243
243
|
var o = [];
|
|
244
|
-
for (var
|
|
245
|
-
|
|
244
|
+
for (var l in Object(n))
|
|
245
|
+
fu.call(n, l) && l != "constructor" && o.push(l);
|
|
246
246
|
return o;
|
|
247
247
|
}
|
|
248
|
-
function
|
|
249
|
-
return
|
|
248
|
+
function Er(n) {
|
|
249
|
+
return pi(n) ? mi(n) : pu(n);
|
|
250
250
|
}
|
|
251
|
-
function
|
|
251
|
+
function du(n) {
|
|
252
252
|
var o = [];
|
|
253
253
|
if (n != null)
|
|
254
|
-
for (var
|
|
255
|
-
o.push(
|
|
254
|
+
for (var l in Object(n))
|
|
255
|
+
o.push(l);
|
|
256
256
|
return o;
|
|
257
257
|
}
|
|
258
|
-
var
|
|
259
|
-
function
|
|
258
|
+
var hu = Object.prototype, vu = hu.hasOwnProperty;
|
|
259
|
+
function yu(n) {
|
|
260
260
|
if (!it(n))
|
|
261
|
-
return
|
|
262
|
-
var o =
|
|
261
|
+
return du(n);
|
|
262
|
+
var o = br(n), l = [];
|
|
263
263
|
for (var v in n)
|
|
264
|
-
v == "constructor" && (o || !
|
|
265
|
-
return
|
|
264
|
+
v == "constructor" && (o || !vu.call(n, v)) || l.push(v);
|
|
265
|
+
return l;
|
|
266
266
|
}
|
|
267
|
-
function
|
|
268
|
-
return
|
|
267
|
+
function Rr(n) {
|
|
268
|
+
return pi(n) ? mi(n, !0) : yu(n);
|
|
269
269
|
}
|
|
270
270
|
var et = xe(Object, "create");
|
|
271
|
-
function
|
|
271
|
+
function mu() {
|
|
272
272
|
this.__data__ = et ? et(null) : {}, this.size = 0;
|
|
273
273
|
}
|
|
274
|
-
function
|
|
274
|
+
function _u(n) {
|
|
275
275
|
var o = this.has(n) && delete this.__data__[n];
|
|
276
276
|
return this.size -= o ? 1 : 0, o;
|
|
277
277
|
}
|
|
278
|
-
var
|
|
279
|
-
function
|
|
278
|
+
var bu = "__lodash_hash_undefined__", gu = Object.prototype, Eu = gu.hasOwnProperty;
|
|
279
|
+
function Ru(n) {
|
|
280
280
|
var o = this.__data__;
|
|
281
281
|
if (et) {
|
|
282
|
-
var
|
|
283
|
-
return
|
|
282
|
+
var l = o[n];
|
|
283
|
+
return l === bu ? void 0 : l;
|
|
284
284
|
}
|
|
285
|
-
return
|
|
285
|
+
return Eu.call(o, n) ? o[n] : void 0;
|
|
286
286
|
}
|
|
287
|
-
var
|
|
288
|
-
function
|
|
287
|
+
var Ou = Object.prototype, Tu = Ou.hasOwnProperty;
|
|
288
|
+
function Nu(n) {
|
|
289
289
|
var o = this.__data__;
|
|
290
|
-
return et ? o[n] !== void 0 :
|
|
290
|
+
return et ? o[n] !== void 0 : Tu.call(o, n);
|
|
291
291
|
}
|
|
292
|
-
var
|
|
293
|
-
function
|
|
294
|
-
var
|
|
295
|
-
return this.size += this.has(n) ? 0 : 1,
|
|
292
|
+
var Su = "__lodash_hash_undefined__";
|
|
293
|
+
function xu(n, o) {
|
|
294
|
+
var l = this.__data__;
|
|
295
|
+
return this.size += this.has(n) ? 0 : 1, l[n] = et && o === void 0 ? Su : o, this;
|
|
296
296
|
}
|
|
297
|
-
function
|
|
298
|
-
var o = -1,
|
|
299
|
-
for (this.clear(); ++o <
|
|
297
|
+
function Te(n) {
|
|
298
|
+
var o = -1, l = n == null ? 0 : n.length;
|
|
299
|
+
for (this.clear(); ++o < l; ) {
|
|
300
300
|
var v = n[o];
|
|
301
301
|
this.set(v[0], v[1]);
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
function
|
|
304
|
+
Te.prototype.clear = mu;
|
|
305
|
+
Te.prototype.delete = _u;
|
|
306
|
+
Te.prototype.get = Ru;
|
|
307
|
+
Te.prototype.has = Nu;
|
|
308
|
+
Te.prototype.set = xu;
|
|
309
|
+
function wu() {
|
|
310
310
|
this.__data__ = [], this.size = 0;
|
|
311
311
|
}
|
|
312
312
|
function Rt(n, o) {
|
|
313
|
-
for (var
|
|
314
|
-
if (
|
|
315
|
-
return
|
|
313
|
+
for (var l = n.length; l--; )
|
|
314
|
+
if (li(n[l][0], o))
|
|
315
|
+
return l;
|
|
316
316
|
return -1;
|
|
317
317
|
}
|
|
318
|
-
var
|
|
319
|
-
function
|
|
320
|
-
var o = this.__data__,
|
|
321
|
-
if (
|
|
318
|
+
var Pu = Array.prototype, Cu = Pu.splice;
|
|
319
|
+
function ku(n) {
|
|
320
|
+
var o = this.__data__, l = Rt(o, n);
|
|
321
|
+
if (l < 0)
|
|
322
322
|
return !1;
|
|
323
323
|
var v = o.length - 1;
|
|
324
|
-
return
|
|
324
|
+
return l == v ? o.pop() : Cu.call(o, l, 1), --this.size, !0;
|
|
325
325
|
}
|
|
326
|
-
function
|
|
327
|
-
var o = this.__data__,
|
|
328
|
-
return
|
|
326
|
+
function Au(n) {
|
|
327
|
+
var o = this.__data__, l = Rt(o, n);
|
|
328
|
+
return l < 0 ? void 0 : o[l][1];
|
|
329
329
|
}
|
|
330
|
-
function
|
|
330
|
+
function Iu(n) {
|
|
331
331
|
return Rt(this.__data__, n) > -1;
|
|
332
332
|
}
|
|
333
|
-
function
|
|
334
|
-
var
|
|
335
|
-
return v < 0 ? (++this.size,
|
|
333
|
+
function Du(n, o) {
|
|
334
|
+
var l = this.__data__, v = Rt(l, n);
|
|
335
|
+
return v < 0 ? (++this.size, l.push([n, o])) : l[v][1] = o, this;
|
|
336
336
|
}
|
|
337
|
-
function
|
|
338
|
-
var o = -1,
|
|
339
|
-
for (this.clear(); ++o <
|
|
337
|
+
function de(n) {
|
|
338
|
+
var o = -1, l = n == null ? 0 : n.length;
|
|
339
|
+
for (this.clear(); ++o < l; ) {
|
|
340
340
|
var v = n[o];
|
|
341
341
|
this.set(v[0], v[1]);
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
var tt = xe(
|
|
350
|
-
function
|
|
344
|
+
de.prototype.clear = wu;
|
|
345
|
+
de.prototype.delete = ku;
|
|
346
|
+
de.prototype.get = Au;
|
|
347
|
+
de.prototype.has = Iu;
|
|
348
|
+
de.prototype.set = Du;
|
|
349
|
+
var tt = xe(oe, "Map");
|
|
350
|
+
function Lu() {
|
|
351
351
|
this.size = 0, this.__data__ = {
|
|
352
|
-
hash: new
|
|
353
|
-
map: new (tt ||
|
|
354
|
-
string: new
|
|
352
|
+
hash: new Te(),
|
|
353
|
+
map: new (tt || de)(),
|
|
354
|
+
string: new Te()
|
|
355
355
|
};
|
|
356
356
|
}
|
|
357
|
-
function
|
|
357
|
+
function Mu(n) {
|
|
358
358
|
var o = typeof n;
|
|
359
359
|
return o == "string" || o == "number" || o == "symbol" || o == "boolean" ? n !== "__proto__" : n === null;
|
|
360
360
|
}
|
|
361
361
|
function Ot(n, o) {
|
|
362
|
-
var
|
|
363
|
-
return
|
|
362
|
+
var l = n.__data__;
|
|
363
|
+
return Mu(o) ? l[typeof o == "string" ? "string" : "hash"] : l.map;
|
|
364
364
|
}
|
|
365
|
-
function
|
|
365
|
+
function Fu(n) {
|
|
366
366
|
var o = Ot(this, n).delete(n);
|
|
367
367
|
return this.size -= o ? 1 : 0, o;
|
|
368
368
|
}
|
|
369
|
-
function
|
|
369
|
+
function Uu(n) {
|
|
370
370
|
return Ot(this, n).get(n);
|
|
371
371
|
}
|
|
372
|
-
function
|
|
372
|
+
function ju(n) {
|
|
373
373
|
return Ot(this, n).has(n);
|
|
374
374
|
}
|
|
375
|
-
function
|
|
376
|
-
var
|
|
377
|
-
return
|
|
375
|
+
function Bu(n, o) {
|
|
376
|
+
var l = Ot(this, n), v = l.size;
|
|
377
|
+
return l.set(n, o), this.size += l.size == v ? 0 : 1, this;
|
|
378
378
|
}
|
|
379
379
|
function Be(n) {
|
|
380
|
-
var o = -1,
|
|
381
|
-
for (this.clear(); ++o <
|
|
380
|
+
var o = -1, l = n == null ? 0 : n.length;
|
|
381
|
+
for (this.clear(); ++o < l; ) {
|
|
382
382
|
var v = n[o];
|
|
383
383
|
this.set(v[0], v[1]);
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
|
-
Be.prototype.clear =
|
|
387
|
-
Be.prototype.delete =
|
|
388
|
-
Be.prototype.get =
|
|
389
|
-
Be.prototype.has =
|
|
390
|
-
Be.prototype.set =
|
|
391
|
-
function
|
|
392
|
-
for (var
|
|
393
|
-
n[_ +
|
|
386
|
+
Be.prototype.clear = Lu;
|
|
387
|
+
Be.prototype.delete = Fu;
|
|
388
|
+
Be.prototype.get = Uu;
|
|
389
|
+
Be.prototype.has = ju;
|
|
390
|
+
Be.prototype.set = Bu;
|
|
391
|
+
function bi(n, o) {
|
|
392
|
+
for (var l = -1, v = o.length, _ = n.length; ++l < v; )
|
|
393
|
+
n[_ + l] = o[l];
|
|
394
394
|
return n;
|
|
395
395
|
}
|
|
396
|
-
var
|
|
397
|
-
function
|
|
398
|
-
this.__data__ = new
|
|
396
|
+
var gi = _i(Object.getPrototypeOf, Object);
|
|
397
|
+
function $u() {
|
|
398
|
+
this.__data__ = new de(), this.size = 0;
|
|
399
399
|
}
|
|
400
|
-
function
|
|
401
|
-
var o = this.__data__,
|
|
402
|
-
return this.size = o.size,
|
|
400
|
+
function Vu(n) {
|
|
401
|
+
var o = this.__data__, l = o.delete(n);
|
|
402
|
+
return this.size = o.size, l;
|
|
403
403
|
}
|
|
404
|
-
function
|
|
404
|
+
function Gu(n) {
|
|
405
405
|
return this.__data__.get(n);
|
|
406
406
|
}
|
|
407
|
-
function
|
|
407
|
+
function Yu(n) {
|
|
408
408
|
return this.__data__.has(n);
|
|
409
409
|
}
|
|
410
|
-
var
|
|
411
|
-
function
|
|
412
|
-
var
|
|
413
|
-
if (
|
|
414
|
-
var v =
|
|
415
|
-
if (!tt || v.length <
|
|
416
|
-
return v.push([n, o]), this.size = ++
|
|
417
|
-
|
|
410
|
+
var zu = 200;
|
|
411
|
+
function Xu(n, o) {
|
|
412
|
+
var l = this.__data__;
|
|
413
|
+
if (l instanceof de) {
|
|
414
|
+
var v = l.__data__;
|
|
415
|
+
if (!tt || v.length < zu - 1)
|
|
416
|
+
return v.push([n, o]), this.size = ++l.size, this;
|
|
417
|
+
l = this.__data__ = new Be(v);
|
|
418
418
|
}
|
|
419
|
-
return
|
|
419
|
+
return l.set(n, o), this.size = l.size, this;
|
|
420
420
|
}
|
|
421
421
|
function $e(n) {
|
|
422
|
-
var o = this.__data__ = new
|
|
422
|
+
var o = this.__data__ = new de(n);
|
|
423
423
|
this.size = o.size;
|
|
424
424
|
}
|
|
425
|
-
$e.prototype.clear =
|
|
426
|
-
$e.prototype.delete =
|
|
427
|
-
$e.prototype.get =
|
|
428
|
-
$e.prototype.has =
|
|
429
|
-
$e.prototype.set =
|
|
430
|
-
function
|
|
431
|
-
return n && Et(o,
|
|
425
|
+
$e.prototype.clear = $u;
|
|
426
|
+
$e.prototype.delete = Vu;
|
|
427
|
+
$e.prototype.get = Gu;
|
|
428
|
+
$e.prototype.has = Yu;
|
|
429
|
+
$e.prototype.set = Xu;
|
|
430
|
+
function Wu(n, o) {
|
|
431
|
+
return n && Et(o, Er(o), n);
|
|
432
432
|
}
|
|
433
|
-
function
|
|
434
|
-
return n && Et(o,
|
|
433
|
+
function Hu(n, o) {
|
|
434
|
+
return n && Et(o, Rr(o), n);
|
|
435
435
|
}
|
|
436
|
-
var
|
|
437
|
-
function
|
|
436
|
+
var Ei = typeof exports == "object" && exports && !exports.nodeType && exports, On = Ei && typeof module == "object" && module && !module.nodeType && module, Ju = On && On.exports === Ei, Tn = Ju ? oe.Buffer : void 0, Nn = Tn ? Tn.allocUnsafe : void 0;
|
|
437
|
+
function Ku(n, o) {
|
|
438
438
|
if (o)
|
|
439
439
|
return n.slice();
|
|
440
|
-
var
|
|
440
|
+
var l = n.length, v = Nn ? Nn(l) : new n.constructor(l);
|
|
441
441
|
return n.copy(v), v;
|
|
442
442
|
}
|
|
443
|
-
function
|
|
444
|
-
for (var
|
|
445
|
-
var y = n[
|
|
446
|
-
o(y,
|
|
443
|
+
function qu(n, o) {
|
|
444
|
+
for (var l = -1, v = n == null ? 0 : n.length, _ = 0, E = []; ++l < v; ) {
|
|
445
|
+
var y = n[l];
|
|
446
|
+
o(y, l, n) && (E[_++] = y);
|
|
447
447
|
}
|
|
448
448
|
return E;
|
|
449
449
|
}
|
|
450
|
-
function
|
|
450
|
+
function Ri() {
|
|
451
451
|
return [];
|
|
452
452
|
}
|
|
453
|
-
var
|
|
454
|
-
return n == null ? [] : (n = Object(n),
|
|
455
|
-
return
|
|
453
|
+
var Zu = Object.prototype, Qu = Zu.propertyIsEnumerable, Sn = Object.getOwnPropertySymbols, Or = Sn ? function(n) {
|
|
454
|
+
return n == null ? [] : (n = Object(n), qu(Sn(n), function(o) {
|
|
455
|
+
return Qu.call(n, o);
|
|
456
456
|
}));
|
|
457
|
-
} :
|
|
458
|
-
function
|
|
459
|
-
return Et(n,
|
|
457
|
+
} : Ri;
|
|
458
|
+
function es(n, o) {
|
|
459
|
+
return Et(n, Or(n), o);
|
|
460
460
|
}
|
|
461
|
-
var
|
|
461
|
+
var ts = Object.getOwnPropertySymbols, Oi = ts ? function(n) {
|
|
462
462
|
for (var o = []; n; )
|
|
463
|
-
|
|
463
|
+
bi(o, Or(n)), n = gi(n);
|
|
464
464
|
return o;
|
|
465
|
-
} :
|
|
466
|
-
function
|
|
467
|
-
return Et(n,
|
|
465
|
+
} : Ri;
|
|
466
|
+
function rs(n, o) {
|
|
467
|
+
return Et(n, Oi(n), o);
|
|
468
468
|
}
|
|
469
|
-
function
|
|
469
|
+
function Ti(n, o, l) {
|
|
470
470
|
var v = o(n);
|
|
471
|
-
return
|
|
471
|
+
return _r(n) ? v : bi(v, l(n));
|
|
472
472
|
}
|
|
473
|
-
function
|
|
474
|
-
return
|
|
473
|
+
function ns(n) {
|
|
474
|
+
return Ti(n, Er, Or);
|
|
475
475
|
}
|
|
476
|
-
function
|
|
477
|
-
return
|
|
476
|
+
function is(n) {
|
|
477
|
+
return Ti(n, Rr, Oi);
|
|
478
478
|
}
|
|
479
|
-
var Zt = xe(
|
|
480
|
-
(Zt &&
|
|
481
|
-
var o = rt(n),
|
|
479
|
+
var Zt = xe(oe, "DataView"), Qt = xe(oe, "Promise"), er = xe(oe, "Set"), xn = "[object Map]", as = "[object Object]", wn = "[object Promise]", Pn = "[object Set]", Cn = "[object WeakMap]", kn = "[object DataView]", os = Se(Zt), us = Se(tt), ss = Se(Qt), ls = Se(er), cs = Se(qt), fe = rt;
|
|
480
|
+
(Zt && fe(new Zt(new ArrayBuffer(1))) != kn || tt && fe(new tt()) != xn || Qt && fe(Qt.resolve()) != wn || er && fe(new er()) != Pn || qt && fe(new qt()) != Cn) && (fe = function(n) {
|
|
481
|
+
var o = rt(n), l = o == as ? n.constructor : void 0, v = l ? Se(l) : "";
|
|
482
482
|
if (v)
|
|
483
483
|
switch (v) {
|
|
484
|
-
case rs:
|
|
485
|
-
return Pn;
|
|
486
|
-
case ns:
|
|
487
|
-
return Tn;
|
|
488
|
-
case is:
|
|
489
|
-
return Nn;
|
|
490
|
-
case as:
|
|
491
|
-
return Sn;
|
|
492
484
|
case os:
|
|
485
|
+
return kn;
|
|
486
|
+
case us:
|
|
493
487
|
return xn;
|
|
488
|
+
case ss:
|
|
489
|
+
return wn;
|
|
490
|
+
case ls:
|
|
491
|
+
return Pn;
|
|
492
|
+
case cs:
|
|
493
|
+
return Cn;
|
|
494
494
|
}
|
|
495
495
|
return o;
|
|
496
496
|
});
|
|
497
|
-
var
|
|
498
|
-
function
|
|
499
|
-
var o = n.length,
|
|
500
|
-
return o && typeof n[0] == "string" &&
|
|
497
|
+
var fs = Object.prototype, ps = fs.hasOwnProperty;
|
|
498
|
+
function ds(n) {
|
|
499
|
+
var o = n.length, l = new n.constructor(o);
|
|
500
|
+
return o && typeof n[0] == "string" && ps.call(n, "index") && (l.index = n.index, l.input = n.input), l;
|
|
501
501
|
}
|
|
502
|
-
var
|
|
503
|
-
function
|
|
502
|
+
var An = oe.Uint8Array;
|
|
503
|
+
function Tr(n) {
|
|
504
504
|
var o = new n.constructor(n.byteLength);
|
|
505
|
-
return new
|
|
505
|
+
return new An(o).set(new An(n)), o;
|
|
506
506
|
}
|
|
507
|
-
function
|
|
508
|
-
var
|
|
509
|
-
return new n.constructor(
|
|
507
|
+
function hs(n, o) {
|
|
508
|
+
var l = o ? Tr(n.buffer) : n.buffer;
|
|
509
|
+
return new n.constructor(l, n.byteOffset, n.byteLength);
|
|
510
510
|
}
|
|
511
|
-
var
|
|
512
|
-
function
|
|
513
|
-
var o = new n.constructor(n.source,
|
|
511
|
+
var vs = /\w*$/;
|
|
512
|
+
function ys(n) {
|
|
513
|
+
var o = new n.constructor(n.source, vs.exec(n));
|
|
514
514
|
return o.lastIndex = n.lastIndex, o;
|
|
515
515
|
}
|
|
516
|
-
var
|
|
517
|
-
function
|
|
518
|
-
return
|
|
516
|
+
var In = Fe ? Fe.prototype : void 0, Dn = In ? In.valueOf : void 0;
|
|
517
|
+
function ms(n) {
|
|
518
|
+
return Dn ? Object(Dn.call(n)) : {};
|
|
519
519
|
}
|
|
520
|
-
function
|
|
521
|
-
var
|
|
522
|
-
return new n.constructor(
|
|
520
|
+
function _s(n, o) {
|
|
521
|
+
var l = o ? Tr(n.buffer) : n.buffer;
|
|
522
|
+
return new n.constructor(l, n.byteOffset, n.length);
|
|
523
523
|
}
|
|
524
|
-
var
|
|
525
|
-
function
|
|
524
|
+
var bs = "[object Boolean]", gs = "[object Date]", Es = "[object Map]", Rs = "[object Number]", Os = "[object RegExp]", Ts = "[object Set]", Ns = "[object String]", Ss = "[object Symbol]", xs = "[object ArrayBuffer]", ws = "[object DataView]", Ps = "[object Float32Array]", Cs = "[object Float64Array]", ks = "[object Int8Array]", As = "[object Int16Array]", Is = "[object Int32Array]", Ds = "[object Uint8Array]", Ls = "[object Uint8ClampedArray]", Ms = "[object Uint16Array]", Fs = "[object Uint32Array]";
|
|
525
|
+
function Us(n, o, l) {
|
|
526
526
|
var v = n.constructor;
|
|
527
527
|
switch (o) {
|
|
528
|
-
case Os:
|
|
529
|
-
return Er(n);
|
|
530
|
-
case vs:
|
|
531
|
-
case ys:
|
|
532
|
-
return new v(+n);
|
|
533
|
-
case Ts:
|
|
534
|
-
return cs(n, c);
|
|
535
|
-
case Ns:
|
|
536
|
-
case Ss:
|
|
537
528
|
case xs:
|
|
538
|
-
|
|
529
|
+
return Tr(n);
|
|
530
|
+
case bs:
|
|
531
|
+
case gs:
|
|
532
|
+
return new v(+n);
|
|
539
533
|
case ws:
|
|
534
|
+
return hs(n, l);
|
|
535
|
+
case Ps:
|
|
540
536
|
case Cs:
|
|
541
537
|
case ks:
|
|
542
538
|
case As:
|
|
543
539
|
case Is:
|
|
544
|
-
|
|
545
|
-
case
|
|
546
|
-
|
|
547
|
-
case
|
|
540
|
+
case Ds:
|
|
541
|
+
case Ls:
|
|
542
|
+
case Ms:
|
|
543
|
+
case Fs:
|
|
544
|
+
return _s(n, l);
|
|
548
545
|
case Es:
|
|
549
|
-
return new v(n);
|
|
550
|
-
case bs:
|
|
551
|
-
return ps(n);
|
|
552
|
-
case gs:
|
|
553
546
|
return new v();
|
|
554
547
|
case Rs:
|
|
555
|
-
|
|
548
|
+
case Ns:
|
|
549
|
+
return new v(n);
|
|
550
|
+
case Os:
|
|
551
|
+
return ys(n);
|
|
552
|
+
case Ts:
|
|
553
|
+
return new v();
|
|
554
|
+
case Ss:
|
|
555
|
+
return ms(n);
|
|
556
556
|
}
|
|
557
557
|
}
|
|
558
|
-
function
|
|
559
|
-
return typeof n.constructor == "function" && !
|
|
558
|
+
function js(n) {
|
|
559
|
+
return typeof n.constructor == "function" && !br(n) ? yo(gi(n)) : {};
|
|
560
560
|
}
|
|
561
|
-
var
|
|
562
|
-
function
|
|
563
|
-
return nt(n) &&
|
|
561
|
+
var Bs = "[object Map]";
|
|
562
|
+
function $s(n) {
|
|
563
|
+
return nt(n) && fe(n) == Bs;
|
|
564
564
|
}
|
|
565
|
-
var
|
|
566
|
-
function
|
|
567
|
-
return nt(n) &&
|
|
565
|
+
var Ln = Ue && Ue.isMap, Vs = Ln ? gr(Ln) : $s, Gs = "[object Set]";
|
|
566
|
+
function Ys(n) {
|
|
567
|
+
return nt(n) && fe(n) == Gs;
|
|
568
568
|
}
|
|
569
|
-
var
|
|
570
|
-
M[
|
|
571
|
-
M[
|
|
572
|
-
function _t(n, o,
|
|
573
|
-
var y, O = o &
|
|
569
|
+
var Mn = Ue && Ue.isSet, zs = Mn ? gr(Mn) : Ys, Xs = 1, Ws = 2, Hs = 4, Ni = "[object Arguments]", Js = "[object Array]", Ks = "[object Boolean]", qs = "[object Date]", Zs = "[object Error]", Si = "[object Function]", Qs = "[object GeneratorFunction]", el = "[object Map]", tl = "[object Number]", xi = "[object Object]", rl = "[object RegExp]", nl = "[object Set]", il = "[object String]", al = "[object Symbol]", ol = "[object WeakMap]", ul = "[object ArrayBuffer]", sl = "[object DataView]", ll = "[object Float32Array]", cl = "[object Float64Array]", fl = "[object Int8Array]", pl = "[object Int16Array]", dl = "[object Int32Array]", hl = "[object Uint8Array]", vl = "[object Uint8ClampedArray]", yl = "[object Uint16Array]", ml = "[object Uint32Array]", M = {};
|
|
570
|
+
M[Ni] = M[Js] = M[ul] = M[sl] = M[Ks] = M[qs] = M[ll] = M[cl] = M[fl] = M[pl] = M[dl] = M[el] = M[tl] = M[xi] = M[rl] = M[nl] = M[il] = M[al] = M[hl] = M[vl] = M[yl] = M[ml] = !0;
|
|
571
|
+
M[Zs] = M[Si] = M[ol] = !1;
|
|
572
|
+
function _t(n, o, l, v, _, E) {
|
|
573
|
+
var y, O = o & Xs, R = o & Ws, r = o & Hs;
|
|
574
574
|
if (y !== void 0)
|
|
575
575
|
return y;
|
|
576
576
|
if (!it(n))
|
|
577
577
|
return n;
|
|
578
|
-
var t =
|
|
578
|
+
var t = _r(n);
|
|
579
579
|
if (t) {
|
|
580
|
-
if (y =
|
|
581
|
-
return
|
|
580
|
+
if (y = ds(n), !O)
|
|
581
|
+
return mo(n, y);
|
|
582
582
|
} else {
|
|
583
|
-
var e =
|
|
584
|
-
if (
|
|
585
|
-
return
|
|
586
|
-
if (e ==
|
|
587
|
-
if (y = R || i ? {} :
|
|
588
|
-
return R ?
|
|
583
|
+
var e = fe(n), i = e == Si || e == Qs;
|
|
584
|
+
if (vi(n))
|
|
585
|
+
return Ku(n, O);
|
|
586
|
+
if (e == xi || e == Ni || i && !_) {
|
|
587
|
+
if (y = R || i ? {} : js(n), !O)
|
|
588
|
+
return R ? rs(n, Hu(y, n)) : es(n, Wu(y, n));
|
|
589
589
|
} else {
|
|
590
590
|
if (!M[e])
|
|
591
591
|
return _ ? n : {};
|
|
592
|
-
y =
|
|
592
|
+
y = Us(n, e, O);
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
595
|
E || (E = new $e());
|
|
596
596
|
var s = E.get(n);
|
|
597
597
|
if (s)
|
|
598
598
|
return s;
|
|
599
|
-
E.set(n, y),
|
|
600
|
-
y.add(_t(a, o,
|
|
601
|
-
}) :
|
|
602
|
-
y.set(p, _t(a, o,
|
|
599
|
+
E.set(n, y), zs(n) ? n.forEach(function(a) {
|
|
600
|
+
y.add(_t(a, o, l, a, n, E));
|
|
601
|
+
}) : Vs(n) && n.forEach(function(a, p) {
|
|
602
|
+
y.set(p, _t(a, o, l, p, n, E));
|
|
603
603
|
});
|
|
604
|
-
var u = r ? R ?
|
|
605
|
-
return
|
|
606
|
-
|
|
604
|
+
var u = r ? R ? is : ns : R ? Rr : Er, c = t ? void 0 : u(n);
|
|
605
|
+
return _o(c || n, function(a, p) {
|
|
606
|
+
c && (p = a, a = n[p]), ci(y, p, _t(a, o, l, p, n, E));
|
|
607
607
|
}), y;
|
|
608
608
|
}
|
|
609
|
-
var
|
|
609
|
+
var _l = 1, bl = 4;
|
|
610
610
|
function De(n) {
|
|
611
|
-
return _t(n,
|
|
611
|
+
return _t(n, _l | bl);
|
|
612
612
|
}
|
|
613
|
-
function
|
|
613
|
+
function gl(n, o) {
|
|
614
614
|
if (n === "page") {
|
|
615
615
|
if (o == "common")
|
|
616
616
|
return "pageCommon";
|
|
@@ -622,29 +622,29 @@ function yl(n, o) {
|
|
|
622
622
|
} else
|
|
623
623
|
console.assert(!1);
|
|
624
624
|
}
|
|
625
|
-
function
|
|
625
|
+
function Fn(n, o) {
|
|
626
626
|
return n.array ? De(o ? n.default : n.defaultArray) : De(n.default);
|
|
627
627
|
}
|
|
628
|
-
function
|
|
629
|
-
function
|
|
628
|
+
function Un(n, o) {
|
|
629
|
+
function l(v, _) {
|
|
630
630
|
if (_.ui) {
|
|
631
631
|
if (_.ui === "strInput" && _.static)
|
|
632
632
|
return;
|
|
633
|
-
v[_.key] =
|
|
633
|
+
v[_.key] = Fn(_);
|
|
634
634
|
} else
|
|
635
|
-
_.array ? v[_.key] =
|
|
636
|
-
v[_.key] = {},
|
|
635
|
+
_.array ? v[_.key] = Fn(_) : _.children.forEach((E) => {
|
|
636
|
+
v[_.key] || (v[_.key] = {}), l(v[_.key], E);
|
|
637
637
|
});
|
|
638
638
|
}
|
|
639
|
-
o.forEach((v) =>
|
|
639
|
+
o.forEach((v) => l(n, v));
|
|
640
640
|
}
|
|
641
|
-
function
|
|
642
|
-
const E = `type=${n} subtype=${o} version=${
|
|
641
|
+
function El(n, o, l, v, _) {
|
|
642
|
+
const E = `type=${n} subtype=${o} version=${l} ref=${v} keyOrRefid=${_}`, y = gl(n, o);
|
|
643
643
|
if (!y) {
|
|
644
644
|
console.error(`spawnNode prop tag not found, ${E}`);
|
|
645
645
|
return;
|
|
646
646
|
}
|
|
647
|
-
const O =
|
|
647
|
+
const O = xr[l];
|
|
648
648
|
if (!O) {
|
|
649
649
|
console.error(`spawnNode pkg not found version, ${E}`);
|
|
650
650
|
return;
|
|
@@ -654,14 +654,14 @@ function ml(n, o, c, v, _) {
|
|
|
654
654
|
id: "",
|
|
655
655
|
key: ""
|
|
656
656
|
}
|
|
657
|
-
}, r =
|
|
657
|
+
}, r = ii(16);
|
|
658
658
|
if (v) {
|
|
659
659
|
const t = O.refKey, e = _;
|
|
660
660
|
if (!O.elements.has(t)) {
|
|
661
661
|
console.error(`spawnNode [ref] element not found in pkg, ${E}`);
|
|
662
662
|
return;
|
|
663
663
|
}
|
|
664
|
-
const i =
|
|
664
|
+
const i = Ne[t];
|
|
665
665
|
if (!i) {
|
|
666
666
|
console.error(`spawnNode [ref] element not found in global, ${E}`);
|
|
667
667
|
return;
|
|
@@ -671,7 +671,7 @@ function ml(n, o, c, v, _) {
|
|
|
671
671
|
console.error(`spawnNode [ref] props not found, ${E}`);
|
|
672
672
|
return;
|
|
673
673
|
}
|
|
674
|
-
|
|
674
|
+
Un(R, s), R.basic.id = r, R.basic.key = t, R.ref = {
|
|
675
675
|
id: e
|
|
676
676
|
};
|
|
677
677
|
} else {
|
|
@@ -680,7 +680,7 @@ function ml(n, o, c, v, _) {
|
|
|
680
680
|
console.error(`spawnNode [key] element not found in pkg, ${E}`);
|
|
681
681
|
return;
|
|
682
682
|
}
|
|
683
|
-
const e =
|
|
683
|
+
const e = Ne[t];
|
|
684
684
|
if (!e) {
|
|
685
685
|
console.error(`spawnNode [key] element not found in global, ${E}`);
|
|
686
686
|
return;
|
|
@@ -690,98 +690,98 @@ function ml(n, o, c, v, _) {
|
|
|
690
690
|
console.error(`spawnNode [key] props not found, ${E}`);
|
|
691
691
|
return;
|
|
692
692
|
}
|
|
693
|
-
|
|
693
|
+
Un(R, i), R.basic.id = r, R.basic.key = t, e.slots.some((s) => s.key === "default") && (R.children = []);
|
|
694
694
|
}
|
|
695
695
|
return R;
|
|
696
696
|
}
|
|
697
|
-
function
|
|
698
|
-
function
|
|
697
|
+
function Dc(n, o) {
|
|
698
|
+
function l(v) {
|
|
699
699
|
if (v.basic.id === o)
|
|
700
700
|
return v;
|
|
701
701
|
if (v.children)
|
|
702
702
|
for (let _ = 0; _ < v.children.length; _++) {
|
|
703
|
-
const E =
|
|
703
|
+
const E = l(v.children[_]);
|
|
704
704
|
if (E)
|
|
705
705
|
return E;
|
|
706
706
|
}
|
|
707
707
|
}
|
|
708
708
|
for (let v = 0; v < n.length; v++) {
|
|
709
|
-
const _ =
|
|
709
|
+
const _ = l(n[v]);
|
|
710
710
|
if (_)
|
|
711
711
|
return _;
|
|
712
712
|
}
|
|
713
713
|
}
|
|
714
|
-
function
|
|
714
|
+
function Rl(n) {
|
|
715
715
|
function o(v) {
|
|
716
716
|
var _;
|
|
717
|
-
v.basic.id =
|
|
717
|
+
v.basic.id = ii(16), (_ = v.children) == null || _.forEach((E) => o(E));
|
|
718
718
|
}
|
|
719
|
-
const
|
|
720
|
-
return o(
|
|
719
|
+
const l = De(n);
|
|
720
|
+
return o(l), l;
|
|
721
721
|
}
|
|
722
|
-
function
|
|
722
|
+
function Lc(n) {
|
|
723
723
|
const o = [];
|
|
724
|
-
return n.forEach((
|
|
725
|
-
o.push(
|
|
724
|
+
return n.forEach((l) => {
|
|
725
|
+
o.push(Rl(l));
|
|
726
726
|
}), o;
|
|
727
727
|
}
|
|
728
|
-
const
|
|
729
|
-
function
|
|
730
|
-
|
|
728
|
+
const wi = "runtimeEnv", Pi = "runtimeMode", Ci = "runtimeDevice", ki = "runtimeDark", Ai = "runtimeType", Ii = "runtimeData", Di = "runtimeDepends", Li = "runtimeInterpreter";
|
|
729
|
+
function Mc(n) {
|
|
730
|
+
_e(wi, n);
|
|
731
731
|
}
|
|
732
|
-
function
|
|
733
|
-
return
|
|
732
|
+
function Mi() {
|
|
733
|
+
return be(wi);
|
|
734
734
|
}
|
|
735
|
-
function
|
|
736
|
-
|
|
735
|
+
function Fc(n) {
|
|
736
|
+
_e(Pi, n);
|
|
737
737
|
}
|
|
738
|
-
function
|
|
739
|
-
return
|
|
738
|
+
function he() {
|
|
739
|
+
return be(Pi);
|
|
740
740
|
}
|
|
741
|
-
function
|
|
742
|
-
|
|
741
|
+
function Uc(n) {
|
|
742
|
+
_e(Ci, pr(n));
|
|
743
743
|
}
|
|
744
|
-
function
|
|
745
|
-
return
|
|
744
|
+
function Fi() {
|
|
745
|
+
return be(Ci);
|
|
746
746
|
}
|
|
747
|
-
function
|
|
748
|
-
|
|
747
|
+
function jc(n) {
|
|
748
|
+
_e(ki, pr(n));
|
|
749
749
|
}
|
|
750
750
|
function Ve() {
|
|
751
|
-
return
|
|
751
|
+
return be(ki);
|
|
752
752
|
}
|
|
753
|
-
function
|
|
754
|
-
|
|
753
|
+
function Bc(n) {
|
|
754
|
+
_e(Ai, n);
|
|
755
755
|
}
|
|
756
|
-
function
|
|
757
|
-
return
|
|
756
|
+
function Nr() {
|
|
757
|
+
return be(Ai);
|
|
758
758
|
}
|
|
759
|
-
function
|
|
760
|
-
console.assert(
|
|
759
|
+
function $c(n) {
|
|
760
|
+
console.assert(ei(n)), _e(Ii, n);
|
|
761
761
|
}
|
|
762
|
-
function
|
|
763
|
-
return
|
|
762
|
+
function Sr() {
|
|
763
|
+
return be(Ii);
|
|
764
764
|
}
|
|
765
|
-
function
|
|
766
|
-
console.assert(
|
|
765
|
+
function Vc(n) {
|
|
766
|
+
console.assert(ei(n)), _e(Di, pr(n));
|
|
767
767
|
}
|
|
768
|
-
function
|
|
769
|
-
return
|
|
768
|
+
function Ui() {
|
|
769
|
+
return be(Di);
|
|
770
770
|
}
|
|
771
|
-
function
|
|
772
|
-
|
|
771
|
+
function ji(n) {
|
|
772
|
+
_e(Li, n);
|
|
773
773
|
}
|
|
774
|
-
function
|
|
775
|
-
return
|
|
774
|
+
function Ol() {
|
|
775
|
+
return be(Li);
|
|
776
776
|
}
|
|
777
|
-
const
|
|
777
|
+
const Tl = /* @__PURE__ */ ae({
|
|
778
778
|
__name: "index",
|
|
779
779
|
props: {
|
|
780
780
|
node: {},
|
|
781
781
|
outer: { type: Boolean }
|
|
782
782
|
},
|
|
783
783
|
setup(n) {
|
|
784
|
-
const o = n,
|
|
784
|
+
const o = n, l = he(), v = Ve(), _ = Ol(), E = N(() => {
|
|
785
785
|
var i;
|
|
786
786
|
return (i = o.node.settings) == null ? void 0 : i.text;
|
|
787
787
|
}), y = N(() => {
|
|
@@ -797,14 +797,14 @@ const gl = /* @__PURE__ */ ne({
|
|
|
797
797
|
var i;
|
|
798
798
|
return (i = o.node.settings) == null ? void 0 : i.block;
|
|
799
799
|
}), t = N(() => v.value ? "dark" : "light"), e = () => {
|
|
800
|
-
if (
|
|
800
|
+
if (l !== "runtime" || !_)
|
|
801
801
|
return;
|
|
802
802
|
const i = _.nativeToPseudo(o.node.basic.id);
|
|
803
803
|
_.appendCode(`__triggerEvent__('${i}', 'click');`), _.run();
|
|
804
804
|
};
|
|
805
805
|
return (i, s) => {
|
|
806
|
-
const u =
|
|
807
|
-
return
|
|
806
|
+
const u = pe("v-btn");
|
|
807
|
+
return X(), ne(u, {
|
|
808
808
|
text: E.value,
|
|
809
809
|
disabled: y.value,
|
|
810
810
|
variant: O.value,
|
|
@@ -815,18 +815,18 @@ const gl = /* @__PURE__ */ ne({
|
|
|
815
815
|
}, null, 8, ["text", "disabled", "variant", "density", "block", "theme"]);
|
|
816
816
|
};
|
|
817
817
|
}
|
|
818
|
-
}),
|
|
818
|
+
}), Nl = [
|
|
819
819
|
{ title: "x-runtime-lib.elevated", value: "elevated" },
|
|
820
820
|
{ title: "x-runtime-lib.flat", value: "flat" },
|
|
821
821
|
{ title: "x-runtime-lib.tonal", value: "tonal" },
|
|
822
822
|
{ title: "x-runtime-lib.outlined", value: "outlined" },
|
|
823
823
|
{ title: "x-runtime-lib.text", value: "text" },
|
|
824
824
|
{ title: "x-runtime-lib.plain", value: "plain" }
|
|
825
|
-
],
|
|
825
|
+
], Bi = [
|
|
826
826
|
{ title: "x-runtime-lib.default", value: "default" },
|
|
827
827
|
{ title: "x-runtime-lib.comfortable", value: "comfortable" },
|
|
828
828
|
{ title: "x-runtime-lib.compact", value: "compact" }
|
|
829
|
-
], tr = "btn_v1", rr = "
|
|
829
|
+
], tr = "btn_v1", rr = "card_v1", nr = "chip_v1", ir = "combobox_v1", ar = "container_v1", or = "data_table_v1", ur = "dialog_v1", sr = "globality_v1", lr = "number_input_v1", bt = "ref_v1", cr = "select_v1", fr = "text_field_v1", $ = {
|
|
830
830
|
key: "basic",
|
|
831
831
|
name: "x-runtime-lib.basic",
|
|
832
832
|
children: [
|
|
@@ -851,7 +851,7 @@ const gl = /* @__PURE__ */ ne({
|
|
|
851
851
|
default: ""
|
|
852
852
|
}
|
|
853
853
|
]
|
|
854
|
-
},
|
|
854
|
+
}, jn = {
|
|
855
855
|
key: "settings",
|
|
856
856
|
name: "x-runtime-lib.settings",
|
|
857
857
|
children: [
|
|
@@ -871,14 +871,14 @@ const gl = /* @__PURE__ */ ne({
|
|
|
871
871
|
key: "variant",
|
|
872
872
|
name: "x-runtime-lib.variant",
|
|
873
873
|
ui: "select",
|
|
874
|
-
items:
|
|
874
|
+
items: Nl,
|
|
875
875
|
default: "elevated"
|
|
876
876
|
},
|
|
877
877
|
{
|
|
878
878
|
key: "density",
|
|
879
879
|
name: "x-runtime-lib.density",
|
|
880
880
|
ui: "select",
|
|
881
|
-
items:
|
|
881
|
+
items: Bi,
|
|
882
882
|
default: "default"
|
|
883
883
|
},
|
|
884
884
|
{
|
|
@@ -888,10 +888,10 @@ const gl = /* @__PURE__ */ ne({
|
|
|
888
888
|
default: !1
|
|
889
889
|
}
|
|
890
890
|
]
|
|
891
|
-
},
|
|
891
|
+
}, Sl = {
|
|
892
892
|
key: tr,
|
|
893
893
|
name: "x-runtime-lib.button",
|
|
894
|
-
comp:
|
|
894
|
+
comp: Tl,
|
|
895
895
|
slots: [],
|
|
896
896
|
events: [
|
|
897
897
|
{
|
|
@@ -902,17 +902,64 @@ const gl = /* @__PURE__ */ ne({
|
|
|
902
902
|
],
|
|
903
903
|
methods: [],
|
|
904
904
|
props: {
|
|
905
|
-
pageCommon: [
|
|
906
|
-
compCommon: [
|
|
905
|
+
pageCommon: [$, jn],
|
|
906
|
+
compCommon: [$, jn]
|
|
907
907
|
}
|
|
908
|
-
},
|
|
908
|
+
}, $i = (n, o) => {
|
|
909
|
+
const l = n.__vccOpts || n;
|
|
910
|
+
for (const [v, _] of o)
|
|
911
|
+
l[v] = _;
|
|
912
|
+
return l;
|
|
913
|
+
}, xl = {};
|
|
914
|
+
function wl(n, o) {
|
|
915
|
+
const l = pe("v-card");
|
|
916
|
+
return X(), ne(l, null, {
|
|
917
|
+
default: Z(() => [
|
|
918
|
+
dr(n.$slots, "default")
|
|
919
|
+
]),
|
|
920
|
+
_: 3
|
|
921
|
+
});
|
|
922
|
+
}
|
|
923
|
+
const Pl = /* @__PURE__ */ $i(xl, [["render", wl]]), Cl = {
|
|
924
|
+
key: rr,
|
|
925
|
+
name: "x-runtime-lib.card",
|
|
926
|
+
comp: Pl,
|
|
927
|
+
slots: [
|
|
928
|
+
{
|
|
929
|
+
key: "default",
|
|
930
|
+
name: "x-runtime-lib.default"
|
|
931
|
+
}
|
|
932
|
+
],
|
|
933
|
+
events: [],
|
|
934
|
+
methods: [],
|
|
935
|
+
props: {
|
|
936
|
+
pageCommon: [$],
|
|
937
|
+
compCommon: [$]
|
|
938
|
+
}
|
|
939
|
+
}, kl = {};
|
|
940
|
+
function Al(n, o) {
|
|
941
|
+
const l = pe("v-chip");
|
|
942
|
+
return X(), ne(l);
|
|
943
|
+
}
|
|
944
|
+
const Il = /* @__PURE__ */ $i(kl, [["render", Al]]), Dl = {
|
|
945
|
+
key: nr,
|
|
946
|
+
name: "x-runtime-lib.chip",
|
|
947
|
+
comp: Il,
|
|
948
|
+
slots: [],
|
|
949
|
+
events: [],
|
|
950
|
+
methods: [],
|
|
951
|
+
props: {
|
|
952
|
+
pageCommon: [$],
|
|
953
|
+
compCommon: [$]
|
|
954
|
+
}
|
|
955
|
+
}, Ll = { key: 0 }, Ml = /* @__PURE__ */ ae({
|
|
909
956
|
__name: "index",
|
|
910
957
|
props: {
|
|
911
958
|
node: {},
|
|
912
959
|
outer: { type: Boolean }
|
|
913
960
|
},
|
|
914
961
|
setup(n) {
|
|
915
|
-
const o = n,
|
|
962
|
+
const o = n, l = he(), v = Ve(), _ = N(() => {
|
|
916
963
|
var e;
|
|
917
964
|
return (e = o.node.settings) == null ? void 0 : e.value;
|
|
918
965
|
}), E = N(() => {
|
|
@@ -929,11 +976,11 @@ const gl = /* @__PURE__ */ ne({
|
|
|
929
976
|
return (e = o.node.settings) == null ? void 0 : e.singleLine;
|
|
930
977
|
}), r = N(() => {
|
|
931
978
|
var e;
|
|
932
|
-
return
|
|
979
|
+
return l !== "runtime" ? !0 : (e = o.node.settings) == null ? void 0 : e.readonly;
|
|
933
980
|
}), t = N(() => v.value ? "dark" : "light");
|
|
934
981
|
return (e, i) => {
|
|
935
|
-
const s =
|
|
936
|
-
return Le(
|
|
982
|
+
const s = pe("v-combobox");
|
|
983
|
+
return Le(l) === "editor" ? (X(), je("div", Ll, [
|
|
937
984
|
q(s, {
|
|
938
985
|
"model-value": _.value,
|
|
939
986
|
label: E.value,
|
|
@@ -943,7 +990,7 @@ const gl = /* @__PURE__ */ ne({
|
|
|
943
990
|
readonly: r.value,
|
|
944
991
|
theme: t.value
|
|
945
992
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
946
|
-
])) : (
|
|
993
|
+
])) : (X(), ne(s, {
|
|
947
994
|
key: 1,
|
|
948
995
|
"model-value": _.value,
|
|
949
996
|
label: E.value,
|
|
@@ -955,7 +1002,7 @@ const gl = /* @__PURE__ */ ne({
|
|
|
955
1002
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
956
1003
|
};
|
|
957
1004
|
}
|
|
958
|
-
}),
|
|
1005
|
+
}), Bn = {
|
|
959
1006
|
key: "settings",
|
|
960
1007
|
name: "x-runtime-lib.settings",
|
|
961
1008
|
children: [
|
|
@@ -996,63 +1043,63 @@ const gl = /* @__PURE__ */ ne({
|
|
|
996
1043
|
default: !1
|
|
997
1044
|
}
|
|
998
1045
|
]
|
|
999
|
-
},
|
|
1000
|
-
key:
|
|
1046
|
+
}, Fl = {
|
|
1047
|
+
key: ir,
|
|
1001
1048
|
name: "x-runtime-lib.combobox",
|
|
1002
|
-
comp:
|
|
1049
|
+
comp: Ml,
|
|
1003
1050
|
slots: [],
|
|
1004
1051
|
events: [],
|
|
1005
1052
|
methods: [],
|
|
1006
1053
|
props: {
|
|
1007
|
-
pageCommon: [
|
|
1008
|
-
compCommon: [
|
|
1054
|
+
pageCommon: [$, Bn],
|
|
1055
|
+
compCommon: [$, Bn]
|
|
1009
1056
|
}
|
|
1010
1057
|
};
|
|
1011
|
-
function
|
|
1058
|
+
function Vi(n, o, l) {
|
|
1012
1059
|
const v = N(() => {
|
|
1013
1060
|
var t;
|
|
1014
|
-
return (t =
|
|
1061
|
+
return (t = l.node.size) == null ? void 0 : t.width;
|
|
1015
1062
|
}), _ = N(() => {
|
|
1016
1063
|
var t;
|
|
1017
|
-
return (t =
|
|
1064
|
+
return (t = l.node.size) == null ? void 0 : t.minWidth;
|
|
1018
1065
|
}), E = N(() => {
|
|
1019
1066
|
var t;
|
|
1020
|
-
return (t =
|
|
1067
|
+
return (t = l.node.size) == null ? void 0 : t.maxWidth;
|
|
1021
1068
|
}), y = N(() => {
|
|
1022
1069
|
var t, e;
|
|
1023
|
-
if (
|
|
1024
|
-
const i = Wt((t =
|
|
1070
|
+
if (l.outer && n === "editor") {
|
|
1071
|
+
const i = Wt((t = l.node.size) == null ? void 0 : t.height);
|
|
1025
1072
|
if (i)
|
|
1026
1073
|
return i / 100 * o.value.height + "px";
|
|
1027
1074
|
}
|
|
1028
|
-
return (e =
|
|
1075
|
+
return (e = l.node.size) == null ? void 0 : e.height;
|
|
1029
1076
|
}), O = N(() => {
|
|
1030
1077
|
var t, e;
|
|
1031
|
-
if (
|
|
1032
|
-
const i = Wt((t =
|
|
1078
|
+
if (l.outer && n === "editor") {
|
|
1079
|
+
const i = Wt((t = l.node.size) == null ? void 0 : t.minHeight);
|
|
1033
1080
|
if (i)
|
|
1034
1081
|
return i / 100 * o.value.height + "px";
|
|
1035
1082
|
}
|
|
1036
|
-
return (e =
|
|
1083
|
+
return (e = l.node.size) == null ? void 0 : e.minHeight;
|
|
1037
1084
|
}), R = N(() => {
|
|
1038
1085
|
var t, e;
|
|
1039
|
-
if (
|
|
1040
|
-
const i = Wt((t =
|
|
1086
|
+
if (l.outer && n === "editor") {
|
|
1087
|
+
const i = Wt((t = l.node.size) == null ? void 0 : t.maxHeight);
|
|
1041
1088
|
if (i)
|
|
1042
1089
|
return i / 100 * o.value.height + "px";
|
|
1043
1090
|
}
|
|
1044
|
-
return (e =
|
|
1091
|
+
return (e = l.node.size) == null ? void 0 : e.maxHeight;
|
|
1045
1092
|
});
|
|
1046
1093
|
function r(t) {
|
|
1047
1094
|
v.value && (t.width = v.value), _.value && (t.minWidth = _.value), E.value && (t.maxWidth = E.value), y.value && (t.height = y.value), O.value && (t.minHeight = O.value), R.value && (t.maxHeight = R.value);
|
|
1048
1095
|
}
|
|
1049
1096
|
return { width: v, minWidth: _, maxWidth: E, height: y, minHeight: O, maxHeight: R, applySize: r };
|
|
1050
1097
|
}
|
|
1051
|
-
function
|
|
1098
|
+
function Ul(n) {
|
|
1052
1099
|
const o = N(() => {
|
|
1053
1100
|
var y;
|
|
1054
1101
|
return (y = n.node.margin) == null ? void 0 : y.top;
|
|
1055
|
-
}),
|
|
1102
|
+
}), l = N(() => {
|
|
1056
1103
|
var y;
|
|
1057
1104
|
return (y = n.node.margin) == null ? void 0 : y.left;
|
|
1058
1105
|
}), v = N(() => {
|
|
@@ -1063,15 +1110,15 @@ function Sl(n) {
|
|
|
1063
1110
|
return (y = n.node.margin) == null ? void 0 : y.right;
|
|
1064
1111
|
});
|
|
1065
1112
|
function E(y) {
|
|
1066
|
-
o.value && (y.marginTop = o.value),
|
|
1113
|
+
o.value && (y.marginTop = o.value), l.value && (y.marginLeft = l.value), v.value && (y.marginBottom = v.value), _.value && (y.marginRight = _.value);
|
|
1067
1114
|
}
|
|
1068
|
-
return { marginTop: o, marginLeft:
|
|
1115
|
+
return { marginTop: o, marginLeft: l, marginBottom: v, marginRight: _, applyMargin: E };
|
|
1069
1116
|
}
|
|
1070
|
-
function
|
|
1117
|
+
function jl(n) {
|
|
1071
1118
|
const o = N(() => {
|
|
1072
1119
|
var y;
|
|
1073
1120
|
return (y = n.node.padding) == null ? void 0 : y.top;
|
|
1074
|
-
}),
|
|
1121
|
+
}), l = N(() => {
|
|
1075
1122
|
var y;
|
|
1076
1123
|
return (y = n.node.padding) == null ? void 0 : y.left;
|
|
1077
1124
|
}), v = N(() => {
|
|
@@ -1082,15 +1129,15 @@ function xl(n) {
|
|
|
1082
1129
|
return (y = n.node.padding) == null ? void 0 : y.right;
|
|
1083
1130
|
});
|
|
1084
1131
|
function E(y) {
|
|
1085
|
-
o.value && (y.paddingTop = o.value),
|
|
1132
|
+
o.value && (y.paddingTop = o.value), l.value && (y.paddingLeft = l.value), v.value && (y.paddingBottom = v.value), _.value && (y.paddingRight = _.value);
|
|
1086
1133
|
}
|
|
1087
|
-
return { paddingTop: o, paddingLeft:
|
|
1134
|
+
return { paddingTop: o, paddingLeft: l, paddingBottom: v, paddingRight: _, applyPadding: E };
|
|
1088
1135
|
}
|
|
1089
|
-
function
|
|
1136
|
+
function Bl(n) {
|
|
1090
1137
|
const o = N(() => {
|
|
1091
1138
|
var E;
|
|
1092
1139
|
return (E = n.node.border) == null ? void 0 : E.style;
|
|
1093
|
-
}),
|
|
1140
|
+
}), l = N(() => {
|
|
1094
1141
|
var E;
|
|
1095
1142
|
return (E = n.node.border) == null ? void 0 : E.width;
|
|
1096
1143
|
}), v = N(() => {
|
|
@@ -1098,43 +1145,43 @@ function Pl(n) {
|
|
|
1098
1145
|
return (E = n.node.border) == null ? void 0 : E.color;
|
|
1099
1146
|
});
|
|
1100
1147
|
function _(E) {
|
|
1101
|
-
o.value && (E.borderStyle = o.value),
|
|
1148
|
+
o.value && (E.borderStyle = o.value), l.value && (E.borderWidth = l.value), v.value && (E.borderColor = v.value);
|
|
1102
1149
|
}
|
|
1103
|
-
return { borderStyle: o, borderWidth:
|
|
1150
|
+
return { borderStyle: o, borderWidth: l, borderColor: v, applyBorder: _ };
|
|
1104
1151
|
}
|
|
1105
|
-
const
|
|
1152
|
+
const $l = /* @__PURE__ */ ae({
|
|
1106
1153
|
__name: "index",
|
|
1107
1154
|
props: {
|
|
1108
1155
|
node: {},
|
|
1109
1156
|
outer: { type: Boolean }
|
|
1110
1157
|
},
|
|
1111
1158
|
setup(n) {
|
|
1112
|
-
const o = n,
|
|
1159
|
+
const o = n, l = he(), v = Fi(), _ = Nr(), E = Sr(), { applySize: y } = Vi(l, v, o), { applyMargin: O } = Ul(o), { applyPadding: R } = jl(o), { applyBorder: r } = Bl(o), t = N(() => {
|
|
1113
1160
|
const e = {}, i = E.type;
|
|
1114
1161
|
return _ === "page" ? i === "common" ? (y(e), O(e), R(e), r(e)) : console.assert(!1) : _ === "comp" && i === "common" ? (y(e), O(e), R(e), r(e)) : console.assert(!1), e;
|
|
1115
1162
|
});
|
|
1116
|
-
return (e, i) => (
|
|
1117
|
-
style:
|
|
1163
|
+
return (e, i) => (X(), je("div", {
|
|
1164
|
+
style: ka(t.value)
|
|
1118
1165
|
}, [
|
|
1119
|
-
|
|
1166
|
+
dr(e.$slots, "default")
|
|
1120
1167
|
], 4));
|
|
1121
1168
|
}
|
|
1122
|
-
}),
|
|
1169
|
+
}), Vl = [
|
|
1123
1170
|
{ title: "x-runtime-lib.default", value: "" },
|
|
1124
1171
|
{ title: "x-runtime-lib.solid", value: "solid" },
|
|
1125
1172
|
{ title: "x-runtime-lib.dashed", value: "dashed" },
|
|
1126
1173
|
{ title: "x-runtime-lib.dotted", value: "dotted" }
|
|
1127
|
-
],
|
|
1174
|
+
], Q = [
|
|
1128
1175
|
{
|
|
1129
1176
|
name: "x-runtime-lib.default",
|
|
1130
1177
|
ui: "word",
|
|
1131
|
-
validator:
|
|
1178
|
+
validator: vr,
|
|
1132
1179
|
default: ""
|
|
1133
1180
|
},
|
|
1134
1181
|
{
|
|
1135
1182
|
name: "x-runtime-lib.pixel",
|
|
1136
1183
|
ui: "pixelInput",
|
|
1137
|
-
validator:
|
|
1184
|
+
validator: yr,
|
|
1138
1185
|
default: "0px",
|
|
1139
1186
|
precision: 0,
|
|
1140
1187
|
min: 0,
|
|
@@ -1144,14 +1191,14 @@ const wl = /* @__PURE__ */ ne({
|
|
|
1144
1191
|
{
|
|
1145
1192
|
name: "x-runtime-lib.percent",
|
|
1146
1193
|
ui: "percentInput",
|
|
1147
|
-
validator:
|
|
1194
|
+
validator: mr,
|
|
1148
1195
|
default: "0%",
|
|
1149
1196
|
precision: 4,
|
|
1150
1197
|
min: 0,
|
|
1151
1198
|
max: 1 / 0,
|
|
1152
1199
|
step: 1
|
|
1153
1200
|
}
|
|
1154
|
-
],
|
|
1201
|
+
], $n = {
|
|
1155
1202
|
key: "border",
|
|
1156
1203
|
name: "x-runtime-lib.border",
|
|
1157
1204
|
children: [
|
|
@@ -1159,7 +1206,7 @@ const wl = /* @__PURE__ */ ne({
|
|
|
1159
1206
|
key: "style",
|
|
1160
1207
|
name: "x-runtime-lib.style",
|
|
1161
1208
|
ui: "select",
|
|
1162
|
-
items:
|
|
1209
|
+
items: Vl,
|
|
1163
1210
|
default: ""
|
|
1164
1211
|
},
|
|
1165
1212
|
{
|
|
@@ -1186,7 +1233,7 @@ const wl = /* @__PURE__ */ ne({
|
|
|
1186
1233
|
key: "radius",
|
|
1187
1234
|
name: "x-runtime-lib.radius",
|
|
1188
1235
|
ui: "multiTypes",
|
|
1189
|
-
types:
|
|
1236
|
+
types: Q,
|
|
1190
1237
|
default: ""
|
|
1191
1238
|
},
|
|
1192
1239
|
{
|
|
@@ -1220,7 +1267,7 @@ const wl = /* @__PURE__ */ ne({
|
|
|
1220
1267
|
{
|
|
1221
1268
|
name: "x-runtime-lib.default",
|
|
1222
1269
|
ui: "word",
|
|
1223
|
-
validator:
|
|
1270
|
+
validator: vr,
|
|
1224
1271
|
default: ""
|
|
1225
1272
|
},
|
|
1226
1273
|
{
|
|
@@ -1232,7 +1279,7 @@ const wl = /* @__PURE__ */ ne({
|
|
|
1232
1279
|
{
|
|
1233
1280
|
name: "x-runtime-lib.pixel",
|
|
1234
1281
|
ui: "pixelInput",
|
|
1235
|
-
validator:
|
|
1282
|
+
validator: yr,
|
|
1236
1283
|
default: "0px",
|
|
1237
1284
|
precision: 0,
|
|
1238
1285
|
min: 0,
|
|
@@ -1242,14 +1289,14 @@ const wl = /* @__PURE__ */ ne({
|
|
|
1242
1289
|
{
|
|
1243
1290
|
name: "x-runtime-lib.percent",
|
|
1244
1291
|
ui: "percentInput",
|
|
1245
|
-
validator:
|
|
1292
|
+
validator: mr,
|
|
1246
1293
|
default: "0%",
|
|
1247
1294
|
precision: 4,
|
|
1248
1295
|
min: 0,
|
|
1249
1296
|
max: 1 / 0,
|
|
1250
1297
|
step: 1
|
|
1251
1298
|
}
|
|
1252
|
-
],
|
|
1299
|
+
], Vn = {
|
|
1253
1300
|
key: "margin",
|
|
1254
1301
|
name: "x-runtime-lib.margin",
|
|
1255
1302
|
children: [
|
|
@@ -1286,13 +1333,13 @@ const wl = /* @__PURE__ */ ne({
|
|
|
1286
1333
|
{
|
|
1287
1334
|
name: "x-runtime-lib.default",
|
|
1288
1335
|
ui: "word",
|
|
1289
|
-
validator:
|
|
1336
|
+
validator: vr,
|
|
1290
1337
|
default: ""
|
|
1291
1338
|
},
|
|
1292
1339
|
{
|
|
1293
1340
|
name: "x-runtime-lib.pixel",
|
|
1294
1341
|
ui: "pixelInput",
|
|
1295
|
-
validator:
|
|
1342
|
+
validator: yr,
|
|
1296
1343
|
default: "0px",
|
|
1297
1344
|
precision: 0,
|
|
1298
1345
|
min: 0,
|
|
@@ -1302,14 +1349,14 @@ const wl = /* @__PURE__ */ ne({
|
|
|
1302
1349
|
{
|
|
1303
1350
|
name: "x-runtime-lib.percent",
|
|
1304
1351
|
ui: "percentInput",
|
|
1305
|
-
validator:
|
|
1352
|
+
validator: mr,
|
|
1306
1353
|
default: "0%",
|
|
1307
1354
|
precision: 4,
|
|
1308
1355
|
min: 0,
|
|
1309
1356
|
max: 1 / 0,
|
|
1310
1357
|
step: 1
|
|
1311
1358
|
}
|
|
1312
|
-
],
|
|
1359
|
+
], Gn = {
|
|
1313
1360
|
key: "padding",
|
|
1314
1361
|
name: "x-runtime-lib.padding",
|
|
1315
1362
|
children: [
|
|
@@ -1350,53 +1397,53 @@ const wl = /* @__PURE__ */ ne({
|
|
|
1350
1397
|
key: "width",
|
|
1351
1398
|
name: "x-runtime-lib.width",
|
|
1352
1399
|
ui: "multiTypes",
|
|
1353
|
-
types:
|
|
1400
|
+
types: Q,
|
|
1354
1401
|
default: ""
|
|
1355
1402
|
},
|
|
1356
1403
|
{
|
|
1357
1404
|
key: "minWidth",
|
|
1358
1405
|
name: "x-runtime-lib.minWidth",
|
|
1359
1406
|
ui: "multiTypes",
|
|
1360
|
-
types:
|
|
1407
|
+
types: Q,
|
|
1361
1408
|
default: ""
|
|
1362
1409
|
},
|
|
1363
1410
|
{
|
|
1364
1411
|
key: "maxWidth",
|
|
1365
1412
|
name: "x-runtime-lib.maxWidth",
|
|
1366
1413
|
ui: "multiTypes",
|
|
1367
|
-
types:
|
|
1414
|
+
types: Q,
|
|
1368
1415
|
default: ""
|
|
1369
1416
|
},
|
|
1370
1417
|
{
|
|
1371
1418
|
key: "height",
|
|
1372
1419
|
name: "x-runtime-lib.height",
|
|
1373
1420
|
ui: "multiTypes",
|
|
1374
|
-
types:
|
|
1421
|
+
types: Q,
|
|
1375
1422
|
default: ""
|
|
1376
1423
|
},
|
|
1377
1424
|
{
|
|
1378
1425
|
key: "minHeight",
|
|
1379
1426
|
name: "x-runtime-lib.minHeight",
|
|
1380
1427
|
ui: "multiTypes",
|
|
1381
|
-
types:
|
|
1428
|
+
types: Q,
|
|
1382
1429
|
default: ""
|
|
1383
1430
|
},
|
|
1384
1431
|
{
|
|
1385
1432
|
key: "maxHeight",
|
|
1386
1433
|
name: "x-runtime-lib.maxHeight",
|
|
1387
1434
|
ui: "multiTypes",
|
|
1388
|
-
types:
|
|
1435
|
+
types: Q,
|
|
1389
1436
|
default: ""
|
|
1390
1437
|
}
|
|
1391
1438
|
]
|
|
1392
|
-
},
|
|
1439
|
+
}, Yn = {
|
|
1393
1440
|
key: "settings",
|
|
1394
1441
|
name: "x-runtime-lib.settings",
|
|
1395
1442
|
children: []
|
|
1396
|
-
},
|
|
1397
|
-
key:
|
|
1443
|
+
}, Gl = {
|
|
1444
|
+
key: ar,
|
|
1398
1445
|
name: "x-runtime-lib.container",
|
|
1399
|
-
comp:
|
|
1446
|
+
comp: $l,
|
|
1400
1447
|
slots: [
|
|
1401
1448
|
{
|
|
1402
1449
|
key: "default",
|
|
@@ -1412,45 +1459,45 @@ const wl = /* @__PURE__ */ ne({
|
|
|
1412
1459
|
],
|
|
1413
1460
|
methods: [],
|
|
1414
1461
|
props: {
|
|
1415
|
-
pageCommon: [
|
|
1416
|
-
compCommon: [
|
|
1462
|
+
pageCommon: [$, gt, $n, Vn, Gn, Yn],
|
|
1463
|
+
compCommon: [$, gt, $n, Vn, Gn, Yn]
|
|
1417
1464
|
}
|
|
1418
1465
|
};
|
|
1419
|
-
var
|
|
1420
|
-
function
|
|
1466
|
+
var Yl = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1467
|
+
function zl(n) {
|
|
1421
1468
|
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
1422
1469
|
}
|
|
1423
|
-
function
|
|
1470
|
+
function Xl(n) {
|
|
1424
1471
|
if (n.__esModule) return n;
|
|
1425
1472
|
var o = n.default;
|
|
1426
1473
|
if (typeof o == "function") {
|
|
1427
|
-
var
|
|
1474
|
+
var l = function v() {
|
|
1428
1475
|
return this instanceof v ? Reflect.construct(o, arguments, this.constructor) : o.apply(this, arguments);
|
|
1429
1476
|
};
|
|
1430
|
-
|
|
1431
|
-
} else
|
|
1432
|
-
return Object.defineProperty(
|
|
1477
|
+
l.prototype = o.prototype;
|
|
1478
|
+
} else l = {};
|
|
1479
|
+
return Object.defineProperty(l, "__esModule", { value: !0 }), Object.keys(n).forEach(function(v) {
|
|
1433
1480
|
var _ = Object.getOwnPropertyDescriptor(n, v);
|
|
1434
|
-
Object.defineProperty(
|
|
1481
|
+
Object.defineProperty(l, v, _.get ? _ : {
|
|
1435
1482
|
enumerable: !0,
|
|
1436
1483
|
get: function() {
|
|
1437
1484
|
return n[v];
|
|
1438
1485
|
}
|
|
1439
1486
|
});
|
|
1440
|
-
}),
|
|
1487
|
+
}), l;
|
|
1441
1488
|
}
|
|
1442
|
-
var
|
|
1443
|
-
const
|
|
1489
|
+
var Gi = { exports: {} };
|
|
1490
|
+
const Wl = {}, Hl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1444
1491
|
__proto__: null,
|
|
1445
|
-
default:
|
|
1446
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1492
|
+
default: Wl
|
|
1493
|
+
}, Symbol.toStringTag, { value: "Module" })), Jl = /* @__PURE__ */ Xl(Hl);
|
|
1447
1494
|
(function(n, o) {
|
|
1448
1495
|
(function(v, _) {
|
|
1449
1496
|
n.exports = _();
|
|
1450
|
-
})(
|
|
1497
|
+
})(Yl, () => (
|
|
1451
1498
|
/******/
|
|
1452
1499
|
(() => {
|
|
1453
|
-
var
|
|
1500
|
+
var l = {
|
|
1454
1501
|
/***/
|
|
1455
1502
|
"./original-repo/interpreter.js": (
|
|
1456
1503
|
/*!**************************************!*\
|
|
@@ -1473,9 +1520,9 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
1473
1520
|
for (var u in t)
|
|
1474
1521
|
s[u] = u === "body" ? t[u].slice() : t[u];
|
|
1475
1522
|
this.ast = s, this.tasks = [], this.initFunc_ = e, this.paused_ = !1, this.polyfills_ = [], this.functionCounter_ = 0, this.stepFunctions_ = /* @__PURE__ */ Object.create(null);
|
|
1476
|
-
var
|
|
1523
|
+
var c = /^step([A-Z]\w*)$/, a;
|
|
1477
1524
|
for (var p in this)
|
|
1478
|
-
typeof this[p] == "function" && (a = p.match(
|
|
1525
|
+
typeof this[p] == "function" && (a = p.match(c)) && (this.stepFunctions_[a[1]] = this[p].bind(this));
|
|
1479
1526
|
this.globalScope = this.createScope(this.ast, null), this.globalObject = this.globalScope.object, this.ast = this.parse_(this.polyfills_.join(`
|
|
1480
1527
|
`), "polyfills"), this.polyfills_ = void 0, r.stripLocations_(this.ast, void 0, void 0);
|
|
1481
1528
|
var h = new r.State(this.ast, this.globalScope);
|
|
@@ -1597,14 +1644,14 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
1597
1644
|
var s = i.node, u = r.currentInterpreter_;
|
|
1598
1645
|
r.currentInterpreter_ = this;
|
|
1599
1646
|
try {
|
|
1600
|
-
var
|
|
1647
|
+
var c = this.stepFunctions_[s.type](t, i, s);
|
|
1601
1648
|
} catch (a) {
|
|
1602
1649
|
if (a !== r.STEP_ERROR)
|
|
1603
1650
|
throw this.value !== a && (this.value = void 0), a;
|
|
1604
1651
|
} finally {
|
|
1605
1652
|
r.currentInterpreter_ = u;
|
|
1606
1653
|
}
|
|
1607
|
-
if (
|
|
1654
|
+
if (c && t.push(c), this.getterStep_)
|
|
1608
1655
|
throw this.value = void 0, Error("Getter not supported in this context");
|
|
1609
1656
|
if (this.setterStep_)
|
|
1610
1657
|
throw this.value = void 0, Error("Setter not supported in this context");
|
|
@@ -1694,7 +1741,7 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
1694
1741
|
[decodeURIComponent, "decodeURIComponent"],
|
|
1695
1742
|
[encodeURI, "encodeURI"],
|
|
1696
1743
|
[encodeURIComponent, "encodeURIComponent"]
|
|
1697
|
-
],
|
|
1744
|
+
], c = 0; c < u.length; c++)
|
|
1698
1745
|
i = /* @__PURE__ */ function(a) {
|
|
1699
1746
|
return function(p) {
|
|
1700
1747
|
try {
|
|
@@ -1703,9 +1750,9 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
1703
1750
|
e.throwException(e.URI_ERROR, h.message);
|
|
1704
1751
|
}
|
|
1705
1752
|
};
|
|
1706
|
-
}(u[
|
|
1753
|
+
}(u[c][0]), this.setProperty(
|
|
1707
1754
|
t,
|
|
1708
|
-
u[
|
|
1755
|
+
u[c][1],
|
|
1709
1756
|
this.createNativeFunction(i, !1),
|
|
1710
1757
|
r.NONENUMERABLE_DESCRIPTOR
|
|
1711
1758
|
);
|
|
@@ -1740,7 +1787,7 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
1740
1787
|
), this.OBJECT = this.OBJECT, this.OBJECT_PROTO = this.OBJECT_PROTO, this.FUNCTION = this.FUNCTION, this.FUNCTION_PROTO = this.FUNCTION_PROTO, this.ARRAY = this.ARRAY, this.ARRAY_PROTO = this.ARRAY_PROTO, this.REGEXP = this.REGEXP, this.REGEXP_PROTO = this.REGEXP_PROTO, this.DATE = this.DATE, this.DATE_PROTO = this.DATE_PROTO, this.initFunc_ && this.initFunc_(this, t);
|
|
1741
1788
|
}, r.prototype.functionCodeNumber_ = 0, r.prototype.initFunction = function(t) {
|
|
1742
1789
|
var e = this, i, s = /^[A-Za-z_$][\w$]*$/;
|
|
1743
|
-
i = function(
|
|
1790
|
+
i = function(c) {
|
|
1744
1791
|
if (arguments.length)
|
|
1745
1792
|
var a = String(arguments[arguments.length - 1]);
|
|
1746
1793
|
else
|
|
@@ -1798,9 +1845,9 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
1798
1845
|
"length",
|
|
1799
1846
|
0,
|
|
1800
1847
|
r.READONLY_NONENUMERABLE_DESCRIPTOR
|
|
1801
|
-
), this.FUNCTION_PROTO.class = "Function", i = function(
|
|
1848
|
+
), this.FUNCTION_PROTO.class = "Function", i = function(c, a, p) {
|
|
1802
1849
|
var h = e.stateStack[e.stateStack.length - 1];
|
|
1803
|
-
h.func_ =
|
|
1850
|
+
h.func_ = c, h.funcThis_ = a, h.arguments_ = [], p != null && (p instanceof r.Object ? h.arguments_ = Array.from(p.properties) : e.throwException(
|
|
1804
1851
|
e.TYPE_ERROR,
|
|
1805
1852
|
"CreateListFromArrayLike called on non-object"
|
|
1806
1853
|
)), h.doneExec_ = !1;
|
|
@@ -1819,9 +1866,9 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
1819
1866
|
"};",
|
|
1820
1867
|
"})();"
|
|
1821
1868
|
/* POLYFILL END */
|
|
1822
|
-
), i = function(
|
|
1869
|
+
), i = function(c) {
|
|
1823
1870
|
var a = e.stateStack[e.stateStack.length - 1];
|
|
1824
|
-
a.func_ = this, a.funcThis_ =
|
|
1871
|
+
a.func_ = this, a.funcThis_ = c, a.arguments_ = [];
|
|
1825
1872
|
for (var p = 1; p < arguments.length; p++)
|
|
1826
1873
|
a.arguments_.push(arguments[p]);
|
|
1827
1874
|
a.doneExec_ = !1;
|
|
@@ -1870,16 +1917,16 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
1870
1917
|
);
|
|
1871
1918
|
}, r.prototype.initObject = function(t) {
|
|
1872
1919
|
var e = this, i;
|
|
1873
|
-
i = function(
|
|
1874
|
-
if (
|
|
1920
|
+
i = function(c) {
|
|
1921
|
+
if (c == null)
|
|
1875
1922
|
return e.calledWithNew() ? this : e.createObjectProto(e.OBJECT_PROTO);
|
|
1876
|
-
if (!(
|
|
1923
|
+
if (!(c instanceof r.Object)) {
|
|
1877
1924
|
var a = e.createObjectProto(
|
|
1878
|
-
e.getPrototype(
|
|
1925
|
+
e.getPrototype(c)
|
|
1879
1926
|
);
|
|
1880
|
-
return a.data =
|
|
1927
|
+
return a.data = c, a;
|
|
1881
1928
|
}
|
|
1882
|
-
return
|
|
1929
|
+
return c;
|
|
1883
1930
|
}, this.OBJECT = this.createNativeFunction(i, !0), this.setProperty(
|
|
1884
1931
|
this.OBJECT,
|
|
1885
1932
|
"prototype",
|
|
@@ -1902,27 +1949,27 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
1902
1949
|
"Cannot convert '" + u + "' to object"
|
|
1903
1950
|
);
|
|
1904
1951
|
};
|
|
1905
|
-
i = function(
|
|
1906
|
-
s(
|
|
1907
|
-
var a =
|
|
1952
|
+
i = function(c) {
|
|
1953
|
+
s(c);
|
|
1954
|
+
var a = c instanceof r.Object ? c.properties : c;
|
|
1908
1955
|
return e.nativeToPseudo(Object.getOwnPropertyNames(a));
|
|
1909
1956
|
}, this.setProperty(
|
|
1910
1957
|
this.OBJECT,
|
|
1911
1958
|
"getOwnPropertyNames",
|
|
1912
1959
|
this.createNativeFunction(i, !1),
|
|
1913
1960
|
r.NONENUMERABLE_DESCRIPTOR
|
|
1914
|
-
), i = function(
|
|
1915
|
-
return s(
|
|
1961
|
+
), i = function(c) {
|
|
1962
|
+
return s(c), c instanceof r.Object && (c = c.properties), e.nativeToPseudo(Object.keys(c));
|
|
1916
1963
|
}, this.setProperty(
|
|
1917
1964
|
this.OBJECT,
|
|
1918
1965
|
"keys",
|
|
1919
1966
|
this.createNativeFunction(i, !1),
|
|
1920
1967
|
r.NONENUMERABLE_DESCRIPTOR
|
|
1921
|
-
), i = function(
|
|
1922
|
-
return
|
|
1968
|
+
), i = function(c) {
|
|
1969
|
+
return c === null ? e.createObjectProto(null) : (c instanceof r.Object || e.throwException(
|
|
1923
1970
|
e.TYPE_ERROR,
|
|
1924
|
-
"Object prototype may only be an Object or null, not " +
|
|
1925
|
-
), e.createObjectProto(
|
|
1971
|
+
"Object prototype may only be an Object or null, not " + c
|
|
1972
|
+
), e.createObjectProto(c));
|
|
1926
1973
|
}, this.setProperty(
|
|
1927
1974
|
this.OBJECT,
|
|
1928
1975
|
"create",
|
|
@@ -1940,22 +1987,22 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
1940
1987
|
"})();",
|
|
1941
1988
|
""
|
|
1942
1989
|
/* POLYFILL END */
|
|
1943
|
-
), i = function(
|
|
1944
|
-
return a = String(a),
|
|
1990
|
+
), i = function(c, a, p) {
|
|
1991
|
+
return a = String(a), c instanceof r.Object || e.throwException(
|
|
1945
1992
|
e.TYPE_ERROR,
|
|
1946
|
-
"Object.defineProperty called on non-object: " +
|
|
1993
|
+
"Object.defineProperty called on non-object: " + c
|
|
1947
1994
|
), p instanceof r.Object || e.throwException(
|
|
1948
1995
|
e.TYPE_ERROR,
|
|
1949
1996
|
"Property description must be an object"
|
|
1950
|
-
),
|
|
1997
|
+
), c.preventExtensions && !(a in c.properties) && e.throwException(
|
|
1951
1998
|
e.TYPE_ERROR,
|
|
1952
1999
|
"Can't define property '" + a + "', object is not extensible"
|
|
1953
2000
|
), e.setProperty(
|
|
1954
|
-
|
|
2001
|
+
c,
|
|
1955
2002
|
a,
|
|
1956
2003
|
r.VALUE_IN_DESCRIPTOR,
|
|
1957
2004
|
p.properties
|
|
1958
|
-
),
|
|
2005
|
+
), c;
|
|
1959
2006
|
}, this.setProperty(
|
|
1960
2007
|
this.OBJECT,
|
|
1961
2008
|
"defineProperty",
|
|
@@ -1989,12 +2036,12 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
1989
2036
|
"});",
|
|
1990
2037
|
""
|
|
1991
2038
|
/* POLYFILL END */
|
|
1992
|
-
), i = function(
|
|
1993
|
-
if (
|
|
2039
|
+
), i = function(c, a) {
|
|
2040
|
+
if (c instanceof r.Object || e.throwException(
|
|
1994
2041
|
e.TYPE_ERROR,
|
|
1995
|
-
"Object.getOwnPropertyDescriptor called on non-object: " +
|
|
1996
|
-
), a = String(a), a in
|
|
1997
|
-
var p = Object.getOwnPropertyDescriptor(
|
|
2042
|
+
"Object.getOwnPropertyDescriptor called on non-object: " + c
|
|
2043
|
+
), a = String(a), a in c.properties) {
|
|
2044
|
+
var p = Object.getOwnPropertyDescriptor(c.properties, a), h = c.getter[a], b = c.setter[a], S = e.createObjectProto(e.OBJECT_PROTO);
|
|
1998
2045
|
return h || b ? (e.setProperty(S, "get", h), e.setProperty(S, "set", b)) : (e.setProperty(
|
|
1999
2046
|
S,
|
|
2000
2047
|
"value",
|
|
@@ -2019,22 +2066,22 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2019
2066
|
"getOwnPropertyDescriptor",
|
|
2020
2067
|
this.createNativeFunction(i, !1),
|
|
2021
2068
|
r.NONENUMERABLE_DESCRIPTOR
|
|
2022
|
-
), i = function(
|
|
2023
|
-
return s(
|
|
2069
|
+
), i = function(c) {
|
|
2070
|
+
return s(c), e.getPrototype(c);
|
|
2024
2071
|
}, this.setProperty(
|
|
2025
2072
|
this.OBJECT,
|
|
2026
2073
|
"getPrototypeOf",
|
|
2027
2074
|
this.createNativeFunction(i, !1),
|
|
2028
2075
|
r.NONENUMERABLE_DESCRIPTOR
|
|
2029
|
-
), i = function(
|
|
2030
|
-
return !!
|
|
2076
|
+
), i = function(c) {
|
|
2077
|
+
return !!c && !c.preventExtensions;
|
|
2031
2078
|
}, this.setProperty(
|
|
2032
2079
|
this.OBJECT,
|
|
2033
2080
|
"isExtensible",
|
|
2034
2081
|
this.createNativeFunction(i, !1),
|
|
2035
2082
|
r.NONENUMERABLE_DESCRIPTOR
|
|
2036
|
-
), i = function(
|
|
2037
|
-
return
|
|
2083
|
+
), i = function(c) {
|
|
2084
|
+
return c instanceof r.Object && (c.preventExtensions = !0), c;
|
|
2038
2085
|
}, this.setProperty(
|
|
2039
2086
|
this.OBJECT,
|
|
2040
2087
|
"preventExtensions",
|
|
@@ -2052,15 +2099,15 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2052
2099
|
this.OBJECT,
|
|
2053
2100
|
"valueOf",
|
|
2054
2101
|
r.Object.prototype.valueOf
|
|
2055
|
-
), i = function(
|
|
2056
|
-
return s(this), this instanceof r.Object ? String(
|
|
2057
|
-
}, this.setNativeFunctionPrototype(this.OBJECT, "hasOwnProperty", i), i = function(
|
|
2058
|
-
return s(this), this instanceof r.Object ? Object.prototype.propertyIsEnumerable.call(this.properties,
|
|
2059
|
-
}, this.setNativeFunctionPrototype(this.OBJECT, "propertyIsEnumerable", i), i = function(
|
|
2102
|
+
), i = function(c) {
|
|
2103
|
+
return s(this), this instanceof r.Object ? String(c) in this.properties : this.hasOwnProperty(c);
|
|
2104
|
+
}, this.setNativeFunctionPrototype(this.OBJECT, "hasOwnProperty", i), i = function(c) {
|
|
2105
|
+
return s(this), this instanceof r.Object ? Object.prototype.propertyIsEnumerable.call(this.properties, c) : this.propertyIsEnumerable(c);
|
|
2106
|
+
}, this.setNativeFunctionPrototype(this.OBJECT, "propertyIsEnumerable", i), i = function(c) {
|
|
2060
2107
|
for (; ; ) {
|
|
2061
|
-
if (
|
|
2108
|
+
if (c = e.getPrototype(c), !c)
|
|
2062
2109
|
return !1;
|
|
2063
|
-
if (
|
|
2110
|
+
if (c === this)
|
|
2064
2111
|
return !0;
|
|
2065
2112
|
}
|
|
2066
2113
|
}, this.setNativeFunctionPrototype(this.OBJECT, "isPrototypeOf", i);
|
|
@@ -2068,21 +2115,21 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2068
2115
|
var e = this, i;
|
|
2069
2116
|
i = function(u) {
|
|
2070
2117
|
if (e.calledWithNew())
|
|
2071
|
-
var
|
|
2118
|
+
var c = this;
|
|
2072
2119
|
else
|
|
2073
|
-
var
|
|
2120
|
+
var c = e.createArray();
|
|
2074
2121
|
var a = arguments[0];
|
|
2075
2122
|
if (arguments.length === 1 && typeof a == "number")
|
|
2076
2123
|
isNaN(r.legalArrayLength(a)) && e.throwException(
|
|
2077
2124
|
e.RANGE_ERROR,
|
|
2078
2125
|
"Invalid array length: " + a
|
|
2079
|
-
),
|
|
2126
|
+
), c.properties.length = a;
|
|
2080
2127
|
else {
|
|
2081
2128
|
for (var p = 0; p < arguments.length; p++)
|
|
2082
|
-
|
|
2083
|
-
|
|
2129
|
+
c.properties[p] = arguments[p];
|
|
2130
|
+
c.properties.length = p;
|
|
2084
2131
|
}
|
|
2085
|
-
return
|
|
2132
|
+
return c;
|
|
2086
2133
|
}, this.ARRAY = this.createNativeFunction(i, !0), this.ARRAY_PROTO = this.ARRAY.properties.prototype, this.setProperty(
|
|
2087
2134
|
t,
|
|
2088
2135
|
"Array",
|
|
@@ -2606,8 +2653,8 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2606
2653
|
x,
|
|
2607
2654
|
h
|
|
2608
2655
|
);
|
|
2609
|
-
x.onmessage = function(
|
|
2610
|
-
clearTimeout(A), h(e.nativeToPseudo(
|
|
2656
|
+
x.onmessage = function(H) {
|
|
2657
|
+
clearTimeout(A), h(e.nativeToPseudo(H.data));
|
|
2611
2658
|
}, x.postMessage(["split", b, a, p]);
|
|
2612
2659
|
}
|
|
2613
2660
|
return;
|
|
@@ -2667,8 +2714,8 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2667
2714
|
A,
|
|
2668
2715
|
h
|
|
2669
2716
|
);
|
|
2670
|
-
A.onmessage = function(
|
|
2671
|
-
clearTimeout(L), h(
|
|
2717
|
+
A.onmessage = function(H) {
|
|
2718
|
+
clearTimeout(L), h(H.data);
|
|
2672
2719
|
}, A.postMessage(["replace", b, a, p]);
|
|
2673
2720
|
}
|
|
2674
2721
|
return;
|
|
@@ -2862,16 +2909,16 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2862
2909
|
"toTimeString",
|
|
2863
2910
|
"toUTCString"
|
|
2864
2911
|
], u = 0; u < s.length; u++)
|
|
2865
|
-
i = /* @__PURE__ */ function(
|
|
2912
|
+
i = /* @__PURE__ */ function(c) {
|
|
2866
2913
|
return function(a) {
|
|
2867
2914
|
var p = this.data;
|
|
2868
2915
|
p instanceof Date || e.throwException(
|
|
2869
2916
|
e.TYPE_ERROR,
|
|
2870
|
-
|
|
2917
|
+
c + " not called on a Date"
|
|
2871
2918
|
);
|
|
2872
2919
|
for (var h = [], b = 0; b < arguments.length; b++)
|
|
2873
2920
|
h[b] = e.pseudoToNative(arguments[b]);
|
|
2874
|
-
return p[
|
|
2921
|
+
return p[c].apply(p, h);
|
|
2875
2922
|
};
|
|
2876
2923
|
}(s[u]), this.setNativeFunctionPrototype(this.DATE, s[u], i);
|
|
2877
2924
|
i = function() {
|
|
@@ -2886,20 +2933,20 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2886
2933
|
}, this.setNativeFunctionPrototype(this.DATE, "toISOString", i);
|
|
2887
2934
|
}, r.prototype.initRegExp = function(t) {
|
|
2888
2935
|
var e = this, i;
|
|
2889
|
-
i = function(u,
|
|
2936
|
+
i = function(u, c) {
|
|
2890
2937
|
if (e.calledWithNew())
|
|
2891
2938
|
var a = this;
|
|
2892
2939
|
else {
|
|
2893
|
-
if (
|
|
2940
|
+
if (c === void 0 && e.isa(u, e.REGEXP))
|
|
2894
2941
|
return u;
|
|
2895
2942
|
var a = e.createObjectProto(e.REGEXP_PROTO);
|
|
2896
2943
|
}
|
|
2897
|
-
u = u === void 0 ? "" : String(u),
|
|
2944
|
+
u = u === void 0 ? "" : String(u), c = c ? String(c) : "", /^[gmi]*$/.test(c) || e.throwException(
|
|
2898
2945
|
e.SYNTAX_ERROR,
|
|
2899
|
-
"Invalid regexp flag: " +
|
|
2946
|
+
"Invalid regexp flag: " + c
|
|
2900
2947
|
);
|
|
2901
2948
|
try {
|
|
2902
|
-
var p = new r.nativeGlobal.RegExp(u,
|
|
2949
|
+
var p = new r.nativeGlobal.RegExp(u, c);
|
|
2903
2950
|
} catch (h) {
|
|
2904
2951
|
e.throwException(e.SYNTAX_ERROR, h.message);
|
|
2905
2952
|
}
|
|
@@ -2938,25 +2985,25 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2938
2985
|
"}",
|
|
2939
2986
|
"});"
|
|
2940
2987
|
/* POLYFILL END */
|
|
2941
|
-
), i = function(u,
|
|
2988
|
+
), i = function(u, c) {
|
|
2942
2989
|
var a = this.data;
|
|
2943
|
-
if (u = String(u), a.lastIndex = Number(e.getProperty(this, "lastIndex")), e.maybeThrowRegExp(a,
|
|
2990
|
+
if (u = String(u), a.lastIndex = Number(e.getProperty(this, "lastIndex")), e.maybeThrowRegExp(a, c), e.REGEXP_MODE === 2) {
|
|
2944
2991
|
if (r.vm) {
|
|
2945
2992
|
var p = {
|
|
2946
2993
|
string: u,
|
|
2947
2994
|
regexp: a
|
|
2948
|
-
}, h = "regexp.exec(string)", x = e.vmCall(h, p, a,
|
|
2949
|
-
x !== r.REGEXP_TIMEOUT && (e.setProperty(this, "lastIndex", a.lastIndex),
|
|
2995
|
+
}, h = "regexp.exec(string)", x = e.vmCall(h, p, a, c);
|
|
2996
|
+
x !== r.REGEXP_TIMEOUT && (e.setProperty(this, "lastIndex", a.lastIndex), c(e.matchToPseudo_(x)));
|
|
2950
2997
|
} else {
|
|
2951
|
-
var b = e.createWorker(), S = e.regExpTimeout(a, b,
|
|
2998
|
+
var b = e.createWorker(), S = e.regExpTimeout(a, b, c), T = this;
|
|
2952
2999
|
b.onmessage = function(A) {
|
|
2953
|
-
clearTimeout(S), e.setProperty(T, "lastIndex", A.data[1]),
|
|
3000
|
+
clearTimeout(S), e.setProperty(T, "lastIndex", A.data[1]), c(e.matchToPseudo_(A.data[0]));
|
|
2954
3001
|
}, b.postMessage(["exec", a, a.lastIndex, u]);
|
|
2955
3002
|
}
|
|
2956
3003
|
return;
|
|
2957
3004
|
}
|
|
2958
3005
|
var x = a.exec(u);
|
|
2959
|
-
e.setProperty(this, "lastIndex", a.lastIndex),
|
|
3006
|
+
e.setProperty(this, "lastIndex", a.lastIndex), c(e.matchToPseudo_(x));
|
|
2960
3007
|
}, this.setAsyncFunctionPrototype(this.REGEXP, "exec", i);
|
|
2961
3008
|
}, r.prototype.matchToPseudo_ = function(t) {
|
|
2962
3009
|
if (t) {
|
|
@@ -2974,10 +3021,10 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2974
3021
|
var e = this;
|
|
2975
3022
|
this.ERROR = this.createNativeFunction(function(u) {
|
|
2976
3023
|
if (e.calledWithNew())
|
|
2977
|
-
var
|
|
3024
|
+
var c = this;
|
|
2978
3025
|
else
|
|
2979
|
-
var
|
|
2980
|
-
return e.populateError(
|
|
3026
|
+
var c = e.createObject(e.ERROR);
|
|
3027
|
+
return e.populateError(c, u), c;
|
|
2981
3028
|
}, !0), this.setProperty(
|
|
2982
3029
|
t,
|
|
2983
3030
|
"Error",
|
|
@@ -2996,12 +3043,12 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2996
3043
|
);
|
|
2997
3044
|
var i = function(s) {
|
|
2998
3045
|
var u = e.createNativeFunction(
|
|
2999
|
-
function(
|
|
3046
|
+
function(c) {
|
|
3000
3047
|
if (e.calledWithNew())
|
|
3001
3048
|
var a = this;
|
|
3002
3049
|
else
|
|
3003
3050
|
var a = e.createObject(u);
|
|
3004
|
-
return e.populateError(a,
|
|
3051
|
+
return e.populateError(a, c), a;
|
|
3005
3052
|
},
|
|
3006
3053
|
!0
|
|
3007
3054
|
);
|
|
@@ -3080,21 +3127,21 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3080
3127
|
"JSON",
|
|
3081
3128
|
s,
|
|
3082
3129
|
r.NONENUMERABLE_DESCRIPTOR
|
|
3083
|
-
), e = function(
|
|
3130
|
+
), e = function(c) {
|
|
3084
3131
|
try {
|
|
3085
|
-
var a = JSON.parse(String(
|
|
3132
|
+
var a = JSON.parse(String(c));
|
|
3086
3133
|
} catch (p) {
|
|
3087
3134
|
i.throwException(i.SYNTAX_ERROR, p.message);
|
|
3088
3135
|
}
|
|
3089
3136
|
return i.nativeToPseudo(a);
|
|
3090
|
-
}, this.setProperty(s, "parse", this.createNativeFunction(e, !1)), e = function(
|
|
3137
|
+
}, this.setProperty(s, "parse", this.createNativeFunction(e, !1)), e = function(c, a, p) {
|
|
3091
3138
|
a && a.class === "Function" ? i.throwException(
|
|
3092
3139
|
i.TYPE_ERROR,
|
|
3093
3140
|
"Function replacer on JSON.stringify not supported"
|
|
3094
3141
|
) : a && a.class === "Array" ? (a = i.pseudoToNative(a), a = a.filter(function(S) {
|
|
3095
3142
|
return typeof S == "string" || typeof S == "number";
|
|
3096
3143
|
})) : a = null, typeof p != "string" && typeof p != "number" && (p = void 0);
|
|
3097
|
-
var h = i.pseudoToNative(
|
|
3144
|
+
var h = i.pseudoToNative(c);
|
|
3098
3145
|
try {
|
|
3099
3146
|
var b = JSON.stringify(h, a, p);
|
|
3100
3147
|
} catch (S) {
|
|
@@ -3153,12 +3200,12 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3153
3200
|
r.NONENUMERABLE_DESCRIPTOR
|
|
3154
3201
|
);
|
|
3155
3202
|
for (var i = [], s = this.stateStack.length - 1; s >= 0; s--) {
|
|
3156
|
-
var u = this.stateStack[s],
|
|
3157
|
-
if (
|
|
3203
|
+
var u = this.stateStack[s], c = u.node;
|
|
3204
|
+
if (c.type === "CallExpression") {
|
|
3158
3205
|
var a = u.func_;
|
|
3159
3206
|
a && i.length && (i[i.length - 1].datumName = this.getProperty(a, "name"));
|
|
3160
3207
|
}
|
|
3161
|
-
|
|
3208
|
+
c.loc && (!i.length || c.type === "CallExpression") && i.push({ datumLoc: c.loc });
|
|
3162
3209
|
}
|
|
3163
3210
|
for (var p = String(this.getProperty(t, "name")), h = String(this.getProperty(t, "message")), b = p + ": " + h + `
|
|
3164
3211
|
`, s = 0; s < i.length; s++) {
|
|
@@ -3301,8 +3348,8 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3301
3348
|
return this.populateRegExp(u, t), i.pseudo.push(u), u;
|
|
3302
3349
|
}
|
|
3303
3350
|
if (t instanceof Date) {
|
|
3304
|
-
var
|
|
3305
|
-
return
|
|
3351
|
+
var c = this.createObjectProto(this.DATE_PROTO);
|
|
3352
|
+
return c.data = new Date(t.valueOf()), i.pseudo.push(c), c;
|
|
3306
3353
|
}
|
|
3307
3354
|
if (typeof t == "function") {
|
|
3308
3355
|
var a = this, p = function() {
|
|
@@ -3338,8 +3385,8 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3338
3385
|
return u.lastIndex = t.data.lastIndex, i.native.push(u), u;
|
|
3339
3386
|
}
|
|
3340
3387
|
if (this.isa(t, this.DATE)) {
|
|
3341
|
-
var
|
|
3342
|
-
return i.native.push(
|
|
3388
|
+
var c = new Date(t.data.valueOf());
|
|
3389
|
+
return i.native.push(c), c;
|
|
3343
3390
|
}
|
|
3344
3391
|
var a = this.isa(t, this.ARRAY) ? [] : {};
|
|
3345
3392
|
i.native.push(a);
|
|
@@ -3418,8 +3465,8 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3418
3465
|
return;
|
|
3419
3466
|
}
|
|
3420
3467
|
if (this.isa(t, this.STRING)) {
|
|
3421
|
-
var
|
|
3422
|
-
if (e === "length" || !isNaN(
|
|
3468
|
+
var c = r.legalArrayIndex(e);
|
|
3469
|
+
if (e === "length" || !isNaN(c) && c < String(t).length) {
|
|
3423
3470
|
u && this.throwException(this.TYPE_ERROR, "Cannot assign to read only property '" + e + "' of String '" + t.data + "'");
|
|
3424
3471
|
return;
|
|
3425
3472
|
}
|
|
@@ -3500,8 +3547,8 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3500
3547
|
var s = t.body && t.body[0];
|
|
3501
3548
|
s && s.expression && s.expression.type === "Literal" && s.expression.value === "use strict" && (i = !0);
|
|
3502
3549
|
}
|
|
3503
|
-
var u = this.createObjectProto(null),
|
|
3504
|
-
return e || this.initGlobal(
|
|
3550
|
+
var u = this.createObjectProto(null), c = new r.Scope(e, i, u);
|
|
3551
|
+
return e || this.initGlobal(c.object), this.populateScope_(t, c), c;
|
|
3505
3552
|
}, r.prototype.createSpecialScope = function(t, e) {
|
|
3506
3553
|
if (!t)
|
|
3507
3554
|
throw Error("parentScope required");
|
|
@@ -3562,38 +3609,38 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3562
3609
|
case "WithStatement":
|
|
3563
3610
|
case "WhileStatement":
|
|
3564
3611
|
var u = t.constructor;
|
|
3565
|
-
for (var
|
|
3566
|
-
if (
|
|
3567
|
-
var a = t[
|
|
3612
|
+
for (var c in t)
|
|
3613
|
+
if (c !== "loc") {
|
|
3614
|
+
var a = t[c];
|
|
3568
3615
|
if (a && typeof a == "object") {
|
|
3569
3616
|
var p;
|
|
3570
3617
|
if (Array.isArray(a)) {
|
|
3571
3618
|
for (var s = 0; s < a.length; s++)
|
|
3572
3619
|
if (a[s] && a[s].constructor === u) {
|
|
3573
3620
|
p = this.populateScope_(a[s], e);
|
|
3574
|
-
for (var
|
|
3575
|
-
i[
|
|
3621
|
+
for (var c in p)
|
|
3622
|
+
i[c] = p[c];
|
|
3576
3623
|
}
|
|
3577
3624
|
} else if (a.constructor === u) {
|
|
3578
3625
|
p = this.populateScope_(a, e);
|
|
3579
|
-
for (var
|
|
3580
|
-
i[
|
|
3626
|
+
for (var c in p)
|
|
3627
|
+
i[c] = p[c];
|
|
3581
3628
|
}
|
|
3582
3629
|
}
|
|
3583
3630
|
}
|
|
3584
3631
|
}
|
|
3585
3632
|
t.variableCache_ = i;
|
|
3586
3633
|
}
|
|
3587
|
-
for (var
|
|
3588
|
-
i[
|
|
3634
|
+
for (var c in i)
|
|
3635
|
+
i[c] === !0 ? this.setProperty(
|
|
3589
3636
|
e.object,
|
|
3590
|
-
|
|
3637
|
+
c,
|
|
3591
3638
|
void 0,
|
|
3592
3639
|
r.VARIABLE_DESCRIPTOR
|
|
3593
3640
|
) : this.setProperty(
|
|
3594
3641
|
e.object,
|
|
3595
|
-
|
|
3596
|
-
this.createFunction(i[
|
|
3642
|
+
c,
|
|
3643
|
+
this.createFunction(i[c], e),
|
|
3597
3644
|
r.VARIABLE_DESCRIPTOR
|
|
3598
3645
|
);
|
|
3599
3646
|
return i;
|
|
@@ -3644,7 +3691,7 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3644
3691
|
} else if (t === r.Completion.CONTINUE && (i ? u.labels && u.labels.indexOf(i) !== -1 : u.isLoop))
|
|
3645
3692
|
return;
|
|
3646
3693
|
}
|
|
3647
|
-
var
|
|
3694
|
+
var c;
|
|
3648
3695
|
if (this.isa(e, this.ERROR)) {
|
|
3649
3696
|
var a = {
|
|
3650
3697
|
EvalError,
|
|
@@ -3654,10 +3701,10 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3654
3701
|
TypeError,
|
|
3655
3702
|
URIError
|
|
3656
3703
|
}, p = String(this.getProperty(e, "name")), h = this.getProperty(e, "message").valueOf(), b = a[p] || Error;
|
|
3657
|
-
|
|
3704
|
+
c = b(h), c.stack = String(this.getProperty(e, "stack"));
|
|
3658
3705
|
} else
|
|
3659
|
-
|
|
3660
|
-
throw this.value =
|
|
3706
|
+
c = String(e);
|
|
3707
|
+
throw this.value = c, c;
|
|
3661
3708
|
}, r.prototype.nodeSummary = function(t) {
|
|
3662
3709
|
switch (t.type) {
|
|
3663
3710
|
case "ArrayExpression":
|
|
@@ -3690,7 +3737,7 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3690
3737
|
}
|
|
3691
3738
|
return "???";
|
|
3692
3739
|
}, r.prototype.createTask_ = function(t, e) {
|
|
3693
|
-
var i = this.stateStack[this.stateStack.length - 1], s = Array.from(e), u = s.shift(),
|
|
3740
|
+
var i = this.stateStack[this.stateStack.length - 1], s = Array.from(e), u = s.shift(), c = Math.max(Number(s.shift() || 0), 0), a = this.newNode(), p, h, b;
|
|
3694
3741
|
if (u instanceof r.Object && u.class === "Function")
|
|
3695
3742
|
h = u, a.type = "CallExpression", p = i.scope;
|
|
3696
3743
|
else {
|
|
@@ -3708,9 +3755,9 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3708
3755
|
s,
|
|
3709
3756
|
p,
|
|
3710
3757
|
a,
|
|
3711
|
-
t ?
|
|
3758
|
+
t ? c : -1
|
|
3712
3759
|
);
|
|
3713
|
-
return this.scheduleTask_(A,
|
|
3760
|
+
return this.scheduleTask_(A, c), A.pid;
|
|
3714
3761
|
}, r.prototype.scheduleTask_ = function(t, e) {
|
|
3715
3762
|
t.time = Date.now() + e, this.tasks.push(t), this.tasks.sort(function(i, s) {
|
|
3716
3763
|
return i.time - s.time;
|
|
@@ -3745,11 +3792,11 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3745
3792
|
this.setterStep_ = !1;
|
|
3746
3793
|
var s = Array.isArray(e) ? e[0] : this.globalObject, u = this.newNode();
|
|
3747
3794
|
u.type = "CallExpression";
|
|
3748
|
-
var
|
|
3795
|
+
var c = new r.State(
|
|
3749
3796
|
u,
|
|
3750
3797
|
this.stateStack[this.stateStack.length - 1].scope
|
|
3751
3798
|
);
|
|
3752
|
-
return
|
|
3799
|
+
return c.doneCallee_ = 2, c.funcThis_ = s, c.func_ = t, c.doneArgs_ = !0, c.arguments_ = [i], c;
|
|
3753
3800
|
}, r.prototype.boxThis_ = function(t) {
|
|
3754
3801
|
if (t == null)
|
|
3755
3802
|
return this.globalObject;
|
|
@@ -3784,8 +3831,8 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3784
3831
|
var e = [], i = this.properties.length, s = !1;
|
|
3785
3832
|
i > 1024 && (i = 1e3, s = !0);
|
|
3786
3833
|
for (var u = 0; u < i; u++) {
|
|
3787
|
-
var
|
|
3788
|
-
e[u] =
|
|
3834
|
+
var c = this.properties[u];
|
|
3835
|
+
e[u] = c instanceof r.Object && t.indexOf(c) !== -1 ? "..." : c;
|
|
3789
3836
|
}
|
|
3790
3837
|
s && e.push("...");
|
|
3791
3838
|
} finally {
|
|
@@ -3846,11 +3893,11 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3846
3893
|
var u = this.getValue(e.leftReference_);
|
|
3847
3894
|
if (e.leftValue_ = u, this.getterStep_) {
|
|
3848
3895
|
e.doneGetter_ = !0;
|
|
3849
|
-
var
|
|
3896
|
+
var c = (
|
|
3850
3897
|
/** @type {!Interpreter.Object} */
|
|
3851
3898
|
u
|
|
3852
3899
|
);
|
|
3853
|
-
return this.createGetter_(
|
|
3900
|
+
return this.createGetter_(c, e.leftReference_);
|
|
3854
3901
|
}
|
|
3855
3902
|
}
|
|
3856
3903
|
return e.doneRight_ = !0, i.operator === "=" && i.left.type === "Identifier" && (e.destinationName = i.left.name), new r.State(i.right, e.scope);
|
|
@@ -3910,81 +3957,81 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3910
3957
|
if (!e.doneRight_)
|
|
3911
3958
|
return e.doneRight_ = !0, e.leftValue_ = e.value, new r.State(i.right, e.scope);
|
|
3912
3959
|
t.pop();
|
|
3913
|
-
var s = e.leftValue_, u = e.value,
|
|
3960
|
+
var s = e.leftValue_, u = e.value, c;
|
|
3914
3961
|
switch (i.operator) {
|
|
3915
3962
|
case "==":
|
|
3916
|
-
|
|
3963
|
+
c = s == u;
|
|
3917
3964
|
break;
|
|
3918
3965
|
case "!=":
|
|
3919
|
-
|
|
3966
|
+
c = s != u;
|
|
3920
3967
|
break;
|
|
3921
3968
|
case "===":
|
|
3922
|
-
|
|
3969
|
+
c = s === u;
|
|
3923
3970
|
break;
|
|
3924
3971
|
case "!==":
|
|
3925
|
-
|
|
3972
|
+
c = s !== u;
|
|
3926
3973
|
break;
|
|
3927
3974
|
case ">":
|
|
3928
|
-
|
|
3975
|
+
c = s > u;
|
|
3929
3976
|
break;
|
|
3930
3977
|
case ">=":
|
|
3931
|
-
|
|
3978
|
+
c = s >= u;
|
|
3932
3979
|
break;
|
|
3933
3980
|
case "<":
|
|
3934
|
-
|
|
3981
|
+
c = s < u;
|
|
3935
3982
|
break;
|
|
3936
3983
|
case "<=":
|
|
3937
|
-
|
|
3984
|
+
c = s <= u;
|
|
3938
3985
|
break;
|
|
3939
3986
|
case "+":
|
|
3940
|
-
|
|
3987
|
+
c = s + u;
|
|
3941
3988
|
break;
|
|
3942
3989
|
case "-":
|
|
3943
|
-
|
|
3990
|
+
c = s - u;
|
|
3944
3991
|
break;
|
|
3945
3992
|
case "*":
|
|
3946
|
-
|
|
3993
|
+
c = s * u;
|
|
3947
3994
|
break;
|
|
3948
3995
|
case "/":
|
|
3949
|
-
|
|
3996
|
+
c = s / u;
|
|
3950
3997
|
break;
|
|
3951
3998
|
case "%":
|
|
3952
|
-
|
|
3999
|
+
c = s % u;
|
|
3953
4000
|
break;
|
|
3954
4001
|
case "&":
|
|
3955
|
-
|
|
4002
|
+
c = s & u;
|
|
3956
4003
|
break;
|
|
3957
4004
|
case "|":
|
|
3958
|
-
|
|
4005
|
+
c = s | u;
|
|
3959
4006
|
break;
|
|
3960
4007
|
case "^":
|
|
3961
|
-
|
|
4008
|
+
c = s ^ u;
|
|
3962
4009
|
break;
|
|
3963
4010
|
case "<<":
|
|
3964
|
-
|
|
4011
|
+
c = s << u;
|
|
3965
4012
|
break;
|
|
3966
4013
|
case ">>":
|
|
3967
|
-
|
|
4014
|
+
c = s >> u;
|
|
3968
4015
|
break;
|
|
3969
4016
|
case ">>>":
|
|
3970
|
-
|
|
4017
|
+
c = s >>> u;
|
|
3971
4018
|
break;
|
|
3972
4019
|
case "in":
|
|
3973
4020
|
u instanceof r.Object || this.throwException(
|
|
3974
4021
|
this.TYPE_ERROR,
|
|
3975
4022
|
"'in' expects an object, not '" + u + "'"
|
|
3976
|
-
),
|
|
4023
|
+
), c = this.hasProperty(u, s);
|
|
3977
4024
|
break;
|
|
3978
4025
|
case "instanceof":
|
|
3979
4026
|
this.isa(u, this.FUNCTION) || this.throwException(
|
|
3980
4027
|
this.TYPE_ERROR,
|
|
3981
4028
|
"'instanceof' expects an object, not '" + u + "'"
|
|
3982
|
-
),
|
|
4029
|
+
), c = s instanceof r.Object ? this.isa(s, u) : !1;
|
|
3983
4030
|
break;
|
|
3984
4031
|
default:
|
|
3985
4032
|
throw SyntaxError("Unknown binary operator: " + i.operator);
|
|
3986
4033
|
}
|
|
3987
|
-
t[t.length - 1].value =
|
|
4034
|
+
t[t.length - 1].value = c;
|
|
3988
4035
|
}, r.prototype.stepBlockStatement = function(t, e, i) {
|
|
3989
4036
|
var s = e.n_ || 0, u = i.body[s];
|
|
3990
4037
|
if (u)
|
|
@@ -4024,8 +4071,8 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4024
4071
|
), u === this.ARRAY)
|
|
4025
4072
|
e.funcThis_ = this.createArray();
|
|
4026
4073
|
else {
|
|
4027
|
-
var
|
|
4028
|
-
(typeof
|
|
4074
|
+
var c = u.properties.prototype;
|
|
4075
|
+
(typeof c != "object" || c === null) && (c = this.OBJECT_PROTO), e.funcThis_ = this.createObjectProto(c);
|
|
4029
4076
|
}
|
|
4030
4077
|
e.isConstructor = !0;
|
|
4031
4078
|
}
|
|
@@ -4074,12 +4121,12 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4074
4121
|
} else if (u.nativeFunc)
|
|
4075
4122
|
e.scope.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), e.value = u.nativeFunc.apply(e.funcThis_, e.arguments_);
|
|
4076
4123
|
else if (u.asyncFunc) {
|
|
4077
|
-
var
|
|
4078
|
-
e.value =
|
|
4079
|
-
},
|
|
4080
|
-
new Array(
|
|
4081
|
-
).slice(0,
|
|
4082
|
-
|
|
4124
|
+
var H = this, Ge = function(ge) {
|
|
4125
|
+
e.value = ge, H.paused_ = !1;
|
|
4126
|
+
}, te = u.asyncFunc.length - 1, we = e.arguments_.concat(
|
|
4127
|
+
new Array(te)
|
|
4128
|
+
).slice(0, te);
|
|
4129
|
+
we.push(Ge), this.paused_ = !0, e.scope.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), u.asyncFunc.apply(e.funcThis_, we);
|
|
4083
4130
|
return;
|
|
4084
4131
|
} else
|
|
4085
4132
|
this.throwException(
|
|
@@ -4175,8 +4222,8 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4175
4222
|
e.variable_ = [r.SCOPE_REFERENCE, u.declarations[0].id.name];
|
|
4176
4223
|
else {
|
|
4177
4224
|
e.variable_ = null;
|
|
4178
|
-
var
|
|
4179
|
-
return
|
|
4225
|
+
var c = new r.State(u, e.scope);
|
|
4226
|
+
return c.components = !0, c;
|
|
4180
4227
|
}
|
|
4181
4228
|
}
|
|
4182
4229
|
if (e.variable_ || (e.variable_ = e.value), !e.doneSetter_) {
|
|
@@ -4273,11 +4320,11 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4273
4320
|
else {
|
|
4274
4321
|
var u = this.getProperty(e.object_, s);
|
|
4275
4322
|
if (this.getterStep_) {
|
|
4276
|
-
var
|
|
4323
|
+
var c = (
|
|
4277
4324
|
/** @type {!Interpreter.Object} */
|
|
4278
4325
|
u
|
|
4279
4326
|
);
|
|
4280
|
-
return this.createGetter_(
|
|
4327
|
+
return this.createGetter_(c, e.object_);
|
|
4281
4328
|
}
|
|
4282
4329
|
t[t.length - 1].value = u;
|
|
4283
4330
|
}
|
|
@@ -4286,18 +4333,18 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4286
4333
|
if (!e.object_)
|
|
4287
4334
|
e.object_ = this.createObjectProto(this.OBJECT_PROTO), e.properties_ = /* @__PURE__ */ Object.create(null);
|
|
4288
4335
|
else {
|
|
4289
|
-
var
|
|
4290
|
-
e.properties_[
|
|
4336
|
+
var c = e.destinationName;
|
|
4337
|
+
e.properties_[c] || (e.properties_[c] = {}), e.properties_[c][u.kind] = e.value, e.n_ = ++s, u = i.properties[s];
|
|
4291
4338
|
}
|
|
4292
4339
|
if (u) {
|
|
4293
4340
|
var a = u.key;
|
|
4294
4341
|
if (a.type === "Identifier")
|
|
4295
|
-
var
|
|
4342
|
+
var c = a.name;
|
|
4296
4343
|
else if (a.type === "Literal")
|
|
4297
|
-
var
|
|
4344
|
+
var c = a.value;
|
|
4298
4345
|
else
|
|
4299
4346
|
throw SyntaxError("Unknown object structure: " + a.type);
|
|
4300
|
-
return e.destinationName =
|
|
4347
|
+
return e.destinationName = c, new r.State(u.value, e.scope);
|
|
4301
4348
|
}
|
|
4302
4349
|
for (var a in e.properties_) {
|
|
4303
4350
|
var p = e.properties_[a];
|
|
@@ -4350,9 +4397,9 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4350
4397
|
return e.tested_ = !0, new r.State(u.test, e.scope);
|
|
4351
4398
|
if (e.matched_ || e.value === e.switchValue_) {
|
|
4352
4399
|
e.matched_ = !0;
|
|
4353
|
-
var
|
|
4354
|
-
if (u.consequent[
|
|
4355
|
-
return e.isSwitch = !0, e.n_ =
|
|
4400
|
+
var c = e.n_ || 0;
|
|
4401
|
+
if (u.consequent[c])
|
|
4402
|
+
return e.isSwitch = !0, e.n_ = c + 1, new r.State(u.consequent[c], e.scope);
|
|
4356
4403
|
}
|
|
4357
4404
|
e.tested_ = !1, e.n_ = 0, e.index_ = s + 1;
|
|
4358
4405
|
} else {
|
|
@@ -4400,7 +4447,7 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4400
4447
|
u = ~u;
|
|
4401
4448
|
break;
|
|
4402
4449
|
case "delete":
|
|
4403
|
-
var
|
|
4450
|
+
var c = !0;
|
|
4404
4451
|
if (Array.isArray(u)) {
|
|
4405
4452
|
var a = u[0];
|
|
4406
4453
|
a === r.SCOPE_REFERENCE && (a = e.scope);
|
|
@@ -4408,10 +4455,10 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4408
4455
|
try {
|
|
4409
4456
|
delete a.properties[p];
|
|
4410
4457
|
} catch {
|
|
4411
|
-
e.scope.strict ? this.throwException(this.TYPE_ERROR, "Cannot delete property '" + p + "' of '" + a + "'") :
|
|
4458
|
+
e.scope.strict ? this.throwException(this.TYPE_ERROR, "Cannot delete property '" + p + "' of '" + a + "'") : c = !1;
|
|
4412
4459
|
}
|
|
4413
4460
|
}
|
|
4414
|
-
u =
|
|
4461
|
+
u = c;
|
|
4415
4462
|
break;
|
|
4416
4463
|
case "typeof":
|
|
4417
4464
|
u = u && u.class === "Function" ? "function" : typeof u;
|
|
@@ -4430,12 +4477,12 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4430
4477
|
return s.components = !0, s;
|
|
4431
4478
|
}
|
|
4432
4479
|
if (e.leftSide_ || (e.leftSide_ = e.value), e.doneGetter_ && (e.leftValue_ = e.value), !e.doneGetter_) {
|
|
4433
|
-
var
|
|
4434
|
-
if (e.leftValue_ =
|
|
4480
|
+
var c = this.getValue(e.leftSide_);
|
|
4481
|
+
if (e.leftValue_ = c, this.getterStep_) {
|
|
4435
4482
|
e.doneGetter_ = !0;
|
|
4436
4483
|
var u = (
|
|
4437
4484
|
/** @type {!Interpreter.Object} */
|
|
4438
|
-
|
|
4485
|
+
c
|
|
4439
4486
|
);
|
|
4440
4487
|
return this.createGetter_(u, e.leftSide_);
|
|
4441
4488
|
}
|
|
@@ -4444,23 +4491,23 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4444
4491
|
t.pop(), t[t.length - 1].value = e.setterValue_;
|
|
4445
4492
|
return;
|
|
4446
4493
|
}
|
|
4447
|
-
var
|
|
4494
|
+
var c = Number(e.leftValue_), a;
|
|
4448
4495
|
if (i.operator === "++")
|
|
4449
|
-
a =
|
|
4496
|
+
a = c + 1;
|
|
4450
4497
|
else if (i.operator === "--")
|
|
4451
|
-
a =
|
|
4498
|
+
a = c - 1;
|
|
4452
4499
|
else
|
|
4453
4500
|
throw SyntaxError("Unknown update expression: " + i.operator);
|
|
4454
|
-
var p = i.prefix ? a :
|
|
4501
|
+
var p = i.prefix ? a : c, h = this.setValue(e.leftSide_, a);
|
|
4455
4502
|
if (h)
|
|
4456
4503
|
return e.doneSetter_ = !0, e.setterValue_ = p, this.createSetter_(h, e.leftSide_, a);
|
|
4457
4504
|
t.pop(), t[t.length - 1].value = p;
|
|
4458
4505
|
}, r.prototype.stepVariableDeclaration = function(t, e, i) {
|
|
4459
|
-
var s = i.declarations, u = e.n_ || 0,
|
|
4460
|
-
for (e.init_ &&
|
|
4461
|
-
if (
|
|
4462
|
-
return e.n_ = u, e.init_ = !0, e.destinationName =
|
|
4463
|
-
|
|
4506
|
+
var s = i.declarations, u = e.n_ || 0, c = s[u];
|
|
4507
|
+
for (e.init_ && c && (this.setValueToScope(c.id.name, e.value), e.init_ = !1, c = s[++u]); c; ) {
|
|
4508
|
+
if (c.init)
|
|
4509
|
+
return e.n_ = u, e.init_ = !0, e.destinationName = c.id.name, new r.State(c.init, e.scope);
|
|
4510
|
+
c = s[++u];
|
|
4464
4511
|
}
|
|
4465
4512
|
t.pop();
|
|
4466
4513
|
}, r.prototype.stepWithStatement = function(t, e, i) {
|
|
@@ -4487,7 +4534,7 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4487
4534
|
R.version = "0.5.0";
|
|
4488
4535
|
var r, t = "", e, i;
|
|
4489
4536
|
R.parse = function(f, d) {
|
|
4490
|
-
return t = String(f), e = t.length, u(d),
|
|
4537
|
+
return t = String(f), e = t.length, u(d), sa(), Ea(r.program);
|
|
4491
4538
|
};
|
|
4492
4539
|
var s = {
|
|
4493
4540
|
// JS-Interpreter change:
|
|
@@ -4553,7 +4600,7 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4553
4600
|
Object.prototype.hasOwnProperty.call(r, d) || (r[d] = s[d]);
|
|
4554
4601
|
i = r.sourceFile;
|
|
4555
4602
|
}
|
|
4556
|
-
var
|
|
4603
|
+
var c = function(f, d) {
|
|
4557
4604
|
for (var m = 1, g = 0; ; ) {
|
|
4558
4605
|
ct.lastIndex = g;
|
|
4559
4606
|
var C = ct.exec(f);
|
|
@@ -4563,44 +4610,44 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4563
4610
|
break;
|
|
4564
4611
|
}
|
|
4565
4612
|
return { line: m, column: d - g };
|
|
4566
|
-
}, a = 0, p = 0, h = 0, b, S, T, x, A, L,
|
|
4613
|
+
}, a = 0, p = 0, h = 0, b, S, T, x, A, L, H, Ge = 0, te = 0, we, ge, B, K;
|
|
4567
4614
|
function I(f, d) {
|
|
4568
|
-
var m =
|
|
4615
|
+
var m = c(t, f);
|
|
4569
4616
|
d += " (" + m.line + ":" + m.column + ")";
|
|
4570
4617
|
var g = new SyntaxError(d);
|
|
4571
4618
|
throw g.pos = f, g.loc = m, g.raisedAt = a, g;
|
|
4572
4619
|
}
|
|
4573
|
-
var
|
|
4620
|
+
var Xi = [], at = { type: "num" }, wr = { type: "regexp" }, Tt = { type: "string" }, Pe = { type: "name" }, Nt = { type: "eof" }, St = { keyword: "break" }, xt = { keyword: "case", beforeExpr: !0 }, Pr = { keyword: "catch" }, Cr = { keyword: "continue" }, kr = { keyword: "debugger" }, Ar = { keyword: "default" }, Ir = { keyword: "do", isLoop: !0 }, Dr = { keyword: "else", beforeExpr: !0 }, Lr = { keyword: "finally" }, Mr = { keyword: "for", isLoop: !0 }, wt = { keyword: "function" }, Fr = { keyword: "if" }, Ur = { keyword: "return", beforeExpr: !0 }, Pt = { keyword: "switch" }, jr = { keyword: "throw", beforeExpr: !0 }, Br = { keyword: "try" }, Ct = { keyword: "var" }, kt = { keyword: "while", isLoop: !0 }, $r = { keyword: "with" }, Vr = { keyword: "new", beforeExpr: !0 }, Gr = { keyword: "this" }, Yr = { keyword: "null", atomValue: null }, zr = { keyword: "true", atomValue: !0 }, Xr = { keyword: "false", atomValue: !1 }, ot = { keyword: "in", binop: 7, beforeExpr: !0 }, Wi = {
|
|
4574
4621
|
break: St,
|
|
4575
4622
|
case: xt,
|
|
4576
|
-
catch:
|
|
4577
|
-
continue:
|
|
4578
|
-
debugger:
|
|
4579
|
-
default:
|
|
4580
|
-
do:
|
|
4581
|
-
else:
|
|
4582
|
-
finally:
|
|
4583
|
-
for:
|
|
4584
|
-
function:
|
|
4585
|
-
if:
|
|
4586
|
-
return:
|
|
4587
|
-
switch:
|
|
4588
|
-
throw:
|
|
4589
|
-
try:
|
|
4623
|
+
catch: Pr,
|
|
4624
|
+
continue: Cr,
|
|
4625
|
+
debugger: kr,
|
|
4626
|
+
default: Ar,
|
|
4627
|
+
do: Ir,
|
|
4628
|
+
else: Dr,
|
|
4629
|
+
finally: Lr,
|
|
4630
|
+
for: Mr,
|
|
4631
|
+
function: wt,
|
|
4632
|
+
if: Fr,
|
|
4633
|
+
return: Ur,
|
|
4634
|
+
switch: Pt,
|
|
4635
|
+
throw: jr,
|
|
4636
|
+
try: Br,
|
|
4590
4637
|
var: Ct,
|
|
4591
4638
|
while: kt,
|
|
4592
|
-
with:
|
|
4593
|
-
null:
|
|
4594
|
-
true:
|
|
4595
|
-
false:
|
|
4596
|
-
new:
|
|
4639
|
+
with: $r,
|
|
4640
|
+
null: Yr,
|
|
4641
|
+
true: zr,
|
|
4642
|
+
false: Xr,
|
|
4643
|
+
new: Vr,
|
|
4597
4644
|
in: ot,
|
|
4598
4645
|
instanceof: { keyword: "instanceof", binop: 7, beforeExpr: !0 },
|
|
4599
|
-
this:
|
|
4646
|
+
this: Gr,
|
|
4600
4647
|
typeof: { keyword: "typeof", prefix: !0, beforeExpr: !0 },
|
|
4601
4648
|
void: { keyword: "void", prefix: !0, beforeExpr: !0 },
|
|
4602
4649
|
delete: { keyword: "delete", prefix: !0, beforeExpr: !0 }
|
|
4603
|
-
}, At = { type: "[", beforeExpr: !0 }, It = { type: "]" }, Ye = { type: "{", beforeExpr: !0 }, Ce = { type: "}" },
|
|
4650
|
+
}, At = { type: "[", beforeExpr: !0 }, It = { type: "]" }, Ye = { type: "{", beforeExpr: !0 }, Ce = { type: "}" }, ue = { type: "(", beforeExpr: !0 }, ie = { type: ")" }, ve = { type: ",", beforeExpr: !0 }, se = { type: ";", beforeExpr: !0 }, ze = { type: ":", beforeExpr: !0 }, Wr = { type: "." }, Hr = { type: "?", beforeExpr: !0 }, Jr = { binop: 10, beforeExpr: !0 }, Kr = { isAssign: !0, beforeExpr: !0 }, Ee = { isAssign: !0, beforeExpr: !0 }, Hi = { postfix: !0, prefix: !0, isUpdate: !0 }, qr = { prefix: !0, beforeExpr: !0 }, Zr = { binop: 1, beforeExpr: !0 }, Qr = { binop: 2, beforeExpr: !0 }, Ji = { binop: 3, beforeExpr: !0 }, Ki = { binop: 4, beforeExpr: !0 }, qi = { binop: 5, beforeExpr: !0 }, Zi = { binop: 6, beforeExpr: !0 }, Qi = { binop: 7, beforeExpr: !0 }, ea = { binop: 8, beforeExpr: !0 }, ta = { binop: 9, prefix: !0, beforeExpr: !0 }, ra = { binop: 10, beforeExpr: !0 };
|
|
4604
4651
|
function ut(f) {
|
|
4605
4652
|
for (var d = f.split(" "), m = /* @__PURE__ */ Object.create(null), g = 0; g < d.length; g++)
|
|
4606
4653
|
m[d[g]] = !0;
|
|
@@ -4608,26 +4655,26 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4608
4655
|
return m[C] || !1;
|
|
4609
4656
|
};
|
|
4610
4657
|
}
|
|
4611
|
-
var
|
|
4612
|
-
return f < 65 ? f === 36 : f < 91 ? !0 : f < 97 ? f === 95 : f < 123 ? !0 : f >= 170 &&
|
|
4613
|
-
},
|
|
4614
|
-
return f < 48 ? f === 36 : f < 58 ? !0 : f < 65 ? !1 : f < 91 ? !0 : f < 97 ? f === 95 : f < 123 ? !0 : f >= 170 &&
|
|
4658
|
+
var na = ut("class enum extends super const export import"), en = ut("implements interface let package private protected public static yield"), st = ut("eval arguments"), ia = ut("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"), aa = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, tn = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", oa = "̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_", rn = new RegExp("[" + tn + "]"), ua = new RegExp("[" + tn + oa + "]"), lt = /[\n\r\u2028\u2029]/, ct = /\r\n|[\n\r\u2028\u2029]/g, ft = function(f) {
|
|
4659
|
+
return f < 65 ? f === 36 : f < 91 ? !0 : f < 97 ? f === 95 : f < 123 ? !0 : f >= 170 && rn.test(String.fromCharCode(f));
|
|
4660
|
+
}, nn = function(f) {
|
|
4661
|
+
return f < 48 ? f === 36 : f < 58 ? !0 : f < 65 ? !1 : f < 91 ? !0 : f < 97 ? f === 95 : f < 123 ? !0 : f >= 170 && ua.test(String.fromCharCode(f));
|
|
4615
4662
|
};
|
|
4616
|
-
function
|
|
4617
|
-
this.line = L, this.column = a -
|
|
4663
|
+
function Re() {
|
|
4664
|
+
this.line = L, this.column = a - H;
|
|
4618
4665
|
}
|
|
4619
|
-
function
|
|
4620
|
-
L = 1, a =
|
|
4666
|
+
function sa() {
|
|
4667
|
+
L = 1, a = H = 0, A = !0, Xe();
|
|
4621
4668
|
}
|
|
4622
|
-
function
|
|
4623
|
-
h = a, r.locations && (S = new
|
|
4669
|
+
function G(f, d) {
|
|
4670
|
+
h = a, r.locations && (S = new Re()), T = f, Xe(), x = d, A = f.beforeExpr;
|
|
4624
4671
|
}
|
|
4625
|
-
function
|
|
4626
|
-
var f = r.onComment && r.locations && new
|
|
4672
|
+
function la() {
|
|
4673
|
+
var f = r.onComment && r.locations && new Re(), d = a, m = t.indexOf("*/", a += 2);
|
|
4627
4674
|
if (m === -1 && I(a - 2, "Unterminated comment"), a = m + 2, r.locations) {
|
|
4628
4675
|
ct.lastIndex = d;
|
|
4629
4676
|
for (var g; (g = ct.exec(t)) && g.index < a; )
|
|
4630
|
-
++L,
|
|
4677
|
+
++L, H = g.index + g[0].length;
|
|
4631
4678
|
}
|
|
4632
4679
|
r.onComment && r.onComment(
|
|
4633
4680
|
!0,
|
|
@@ -4635,11 +4682,11 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4635
4682
|
d,
|
|
4636
4683
|
a,
|
|
4637
4684
|
f,
|
|
4638
|
-
r.locations && new
|
|
4685
|
+
r.locations && new Re()
|
|
4639
4686
|
);
|
|
4640
4687
|
}
|
|
4641
4688
|
function Dt() {
|
|
4642
|
-
for (var f = a, d = r.onComment && r.locations && new
|
|
4689
|
+
for (var f = a, d = r.onComment && r.locations && new Re(), m = t.charCodeAt(a += 2); a < e && m !== 10 && m !== 13 && m !== 8232 && m !== 8233; )
|
|
4643
4690
|
++a, m = t.charCodeAt(a);
|
|
4644
4691
|
r.onComment && r.onComment(
|
|
4645
4692
|
!1,
|
|
@@ -4647,7 +4694,7 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4647
4694
|
f,
|
|
4648
4695
|
a,
|
|
4649
4696
|
d,
|
|
4650
|
-
r.locations && new
|
|
4697
|
+
r.locations && new Re()
|
|
4651
4698
|
);
|
|
4652
4699
|
}
|
|
4653
4700
|
function Xe() {
|
|
@@ -4658,99 +4705,99 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4658
4705
|
else if (f === 13) {
|
|
4659
4706
|
++a;
|
|
4660
4707
|
var d = t.charCodeAt(a);
|
|
4661
|
-
d === 10 && ++a, r.locations && (++L,
|
|
4708
|
+
d === 10 && ++a, r.locations && (++L, H = a);
|
|
4662
4709
|
} else if (f === 10 || f === 8232 || f === 8233)
|
|
4663
|
-
++a, r.locations && (++L,
|
|
4710
|
+
++a, r.locations && (++L, H = a);
|
|
4664
4711
|
else if (f > 8 && f < 14)
|
|
4665
4712
|
++a;
|
|
4666
4713
|
else if (f === 47) {
|
|
4667
4714
|
var d = t.charCodeAt(a + 1);
|
|
4668
4715
|
if (d === 42)
|
|
4669
|
-
|
|
4716
|
+
la();
|
|
4670
4717
|
else if (d === 47)
|
|
4671
4718
|
Dt();
|
|
4672
4719
|
else break;
|
|
4673
4720
|
} else if (f === 160)
|
|
4674
4721
|
++a;
|
|
4675
|
-
else if (f >= 5760 &&
|
|
4722
|
+
else if (f >= 5760 && aa.test(String.fromCharCode(f)))
|
|
4676
4723
|
++a;
|
|
4677
4724
|
else
|
|
4678
4725
|
break;
|
|
4679
4726
|
}
|
|
4680
4727
|
}
|
|
4681
|
-
function
|
|
4728
|
+
function ca() {
|
|
4682
4729
|
var f = t.charCodeAt(a + 1);
|
|
4683
|
-
f >= 48 && f <= 57 ?
|
|
4730
|
+
f >= 48 && f <= 57 ? on(!0) : (++a, G(Wr));
|
|
4684
4731
|
}
|
|
4685
|
-
function
|
|
4732
|
+
function fa() {
|
|
4686
4733
|
var f = t.charCodeAt(a + 1);
|
|
4687
|
-
A ? (++a,
|
|
4734
|
+
A ? (++a, an()) : f === 61 ? Y(Ee, 2) : Y(Jr, 1);
|
|
4688
4735
|
}
|
|
4689
|
-
function
|
|
4736
|
+
function pa() {
|
|
4690
4737
|
var f = t.charCodeAt(a + 1);
|
|
4691
|
-
f === 61 ?
|
|
4738
|
+
f === 61 ? Y(Ee, 2) : Y(ra, 1);
|
|
4692
4739
|
}
|
|
4693
|
-
function
|
|
4740
|
+
function da(f) {
|
|
4694
4741
|
var d = t.charCodeAt(a + 1);
|
|
4695
|
-
d === f ?
|
|
4742
|
+
d === f ? Y(f === 124 ? Zr : Qr, 2) : d === 61 ? Y(Ee, 2) : Y(f === 124 ? Ji : qi, 1);
|
|
4696
4743
|
}
|
|
4697
|
-
function
|
|
4744
|
+
function ha() {
|
|
4698
4745
|
var f = t.charCodeAt(a + 1);
|
|
4699
|
-
f === 61 ?
|
|
4746
|
+
f === 61 ? Y(Ee, 2) : Y(Ki, 1);
|
|
4700
4747
|
}
|
|
4701
|
-
function
|
|
4748
|
+
function va(f) {
|
|
4702
4749
|
var d = t.charCodeAt(a + 1);
|
|
4703
4750
|
if (d === f) {
|
|
4704
|
-
if (d === 45 && t.charCodeAt(a + 2) === 62 && lt.test(t.slice(
|
|
4751
|
+
if (d === 45 && t.charCodeAt(a + 2) === 62 && lt.test(t.slice(te, a))) {
|
|
4705
4752
|
a += 3, Dt(), Xe(), ke();
|
|
4706
4753
|
return;
|
|
4707
4754
|
}
|
|
4708
|
-
|
|
4709
|
-
} else d === 61 ?
|
|
4755
|
+
Y(Hi, 2);
|
|
4756
|
+
} else d === 61 ? Y(Ee, 2) : Y(ta, 1);
|
|
4710
4757
|
}
|
|
4711
|
-
function
|
|
4758
|
+
function ya(f) {
|
|
4712
4759
|
var d = t.charCodeAt(a + 1), m = 1;
|
|
4713
4760
|
if (d === f) {
|
|
4714
|
-
m = f === 62 && t.charCodeAt(a + 2) === 62 ? 3 : 2, t.charCodeAt(a + m) === 61 ?
|
|
4761
|
+
m = f === 62 && t.charCodeAt(a + 2) === 62 ? 3 : 2, t.charCodeAt(a + m) === 61 ? Y(Ee, m + 1) : Y(ea, m);
|
|
4715
4762
|
return;
|
|
4716
4763
|
}
|
|
4717
4764
|
if (d === 33 && f === 60 && t.charCodeAt(a + 2) === 45 && t.charCodeAt(a + 3) === 45) {
|
|
4718
4765
|
a += 4, Dt(), Xe(), ke();
|
|
4719
4766
|
return;
|
|
4720
4767
|
}
|
|
4721
|
-
d === 61 && (m = t.charCodeAt(a + 2) === 61 ? 3 : 2),
|
|
4768
|
+
d === 61 && (m = t.charCodeAt(a + 2) === 61 ? 3 : 2), Y(Qi, m);
|
|
4722
4769
|
}
|
|
4723
|
-
function
|
|
4770
|
+
function ma(f) {
|
|
4724
4771
|
var d = t.charCodeAt(a + 1);
|
|
4725
|
-
d === 61 ?
|
|
4772
|
+
d === 61 ? Y(Zi, t.charCodeAt(a + 2) === 61 ? 3 : 2) : Y(f === 61 ? Kr : qr, 1);
|
|
4726
4773
|
}
|
|
4727
|
-
function
|
|
4774
|
+
function _a(f) {
|
|
4728
4775
|
switch (f) {
|
|
4729
4776
|
case 46:
|
|
4730
|
-
return
|
|
4777
|
+
return ca();
|
|
4731
4778
|
case 40:
|
|
4732
|
-
return ++a,
|
|
4779
|
+
return ++a, G(ue);
|
|
4733
4780
|
case 41:
|
|
4734
|
-
return ++a,
|
|
4781
|
+
return ++a, G(ie);
|
|
4735
4782
|
case 59:
|
|
4736
|
-
return ++a,
|
|
4783
|
+
return ++a, G(se);
|
|
4737
4784
|
case 44:
|
|
4738
|
-
return ++a,
|
|
4785
|
+
return ++a, G(ve);
|
|
4739
4786
|
case 91:
|
|
4740
|
-
return ++a,
|
|
4787
|
+
return ++a, G(At);
|
|
4741
4788
|
case 93:
|
|
4742
|
-
return ++a,
|
|
4789
|
+
return ++a, G(It);
|
|
4743
4790
|
case 123:
|
|
4744
|
-
return ++a,
|
|
4791
|
+
return ++a, G(Ye);
|
|
4745
4792
|
case 125:
|
|
4746
|
-
return ++a,
|
|
4793
|
+
return ++a, G(Ce);
|
|
4747
4794
|
case 58:
|
|
4748
|
-
return ++a,
|
|
4795
|
+
return ++a, G(ze);
|
|
4749
4796
|
case 63:
|
|
4750
|
-
return ++a,
|
|
4797
|
+
return ++a, G(Hr);
|
|
4751
4798
|
case 48:
|
|
4752
4799
|
var d = t.charCodeAt(a + 1);
|
|
4753
|
-
if (d === 120 || d === 88) return
|
|
4800
|
+
if (d === 120 || d === 88) return ba();
|
|
4754
4801
|
case 49:
|
|
4755
4802
|
case 50:
|
|
4756
4803
|
case 51:
|
|
@@ -4760,53 +4807,53 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4760
4807
|
case 55:
|
|
4761
4808
|
case 56:
|
|
4762
4809
|
case 57:
|
|
4763
|
-
return
|
|
4810
|
+
return on(!1);
|
|
4764
4811
|
case 34:
|
|
4765
4812
|
case 39:
|
|
4766
|
-
return
|
|
4813
|
+
return ga(f);
|
|
4767
4814
|
case 47:
|
|
4768
|
-
return
|
|
4815
|
+
return fa();
|
|
4769
4816
|
case 37:
|
|
4770
4817
|
case 42:
|
|
4771
|
-
return
|
|
4818
|
+
return pa();
|
|
4772
4819
|
case 124:
|
|
4773
4820
|
case 38:
|
|
4774
|
-
return
|
|
4821
|
+
return da(f);
|
|
4775
4822
|
case 94:
|
|
4776
|
-
return
|
|
4823
|
+
return ha();
|
|
4777
4824
|
case 43:
|
|
4778
4825
|
case 45:
|
|
4779
|
-
return
|
|
4826
|
+
return va(f);
|
|
4780
4827
|
case 60:
|
|
4781
4828
|
case 62:
|
|
4782
|
-
return
|
|
4829
|
+
return ya(f);
|
|
4783
4830
|
case 61:
|
|
4784
4831
|
case 33:
|
|
4785
|
-
return
|
|
4832
|
+
return ma(f);
|
|
4786
4833
|
case 126:
|
|
4787
|
-
return
|
|
4834
|
+
return Y(qr, 1);
|
|
4788
4835
|
}
|
|
4789
4836
|
return !1;
|
|
4790
4837
|
}
|
|
4791
4838
|
function ke(f) {
|
|
4792
|
-
if (f ? a = p + 1 : p = a, r.locations && (b = new
|
|
4793
|
-
if (a >= e) return
|
|
4839
|
+
if (f ? a = p + 1 : p = a, r.locations && (b = new Re()), f) return an();
|
|
4840
|
+
if (a >= e) return G(Nt);
|
|
4794
4841
|
var d = t.charCodeAt(a);
|
|
4795
4842
|
if (ft(d) || d === 92)
|
|
4796
|
-
return
|
|
4797
|
-
var m =
|
|
4843
|
+
return sn();
|
|
4844
|
+
var m = _a(d);
|
|
4798
4845
|
if (m === !1) {
|
|
4799
4846
|
var g = String.fromCharCode(d);
|
|
4800
|
-
if (g === "\\" ||
|
|
4801
|
-
return
|
|
4847
|
+
if (g === "\\" || rn.test(g))
|
|
4848
|
+
return sn();
|
|
4802
4849
|
I(a, "Unexpected character '" + g + "'");
|
|
4803
4850
|
}
|
|
4804
4851
|
}
|
|
4805
|
-
function
|
|
4852
|
+
function Y(f, d) {
|
|
4806
4853
|
var m = t.slice(a, a + d);
|
|
4807
|
-
a += d,
|
|
4854
|
+
a += d, G(f, m);
|
|
4808
4855
|
}
|
|
4809
|
-
function
|
|
4856
|
+
function an() {
|
|
4810
4857
|
for (var f, d, m = a; ; ) {
|
|
4811
4858
|
a >= e && I(m, "Unterminated regexp");
|
|
4812
4859
|
var g = t.charAt(a);
|
|
@@ -4825,43 +4872,43 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4825
4872
|
}
|
|
4826
4873
|
var C = t.slice(m, a);
|
|
4827
4874
|
++a;
|
|
4828
|
-
var
|
|
4829
|
-
|
|
4875
|
+
var w = un();
|
|
4876
|
+
w && !/^[gmi]*$/.test(w) && I(m, "Invalid regexp flag");
|
|
4830
4877
|
try {
|
|
4831
|
-
var k = new RegExp(C,
|
|
4878
|
+
var k = new RegExp(C, w);
|
|
4832
4879
|
} catch (U) {
|
|
4833
4880
|
throw U instanceof SyntaxError && I(m, U.message), U;
|
|
4834
4881
|
}
|
|
4835
|
-
|
|
4882
|
+
G(wr, k);
|
|
4836
4883
|
}
|
|
4837
4884
|
function We(f, d) {
|
|
4838
|
-
for (var m = a, g = 0, C = d === void 0 ? 1 / 0 : d,
|
|
4885
|
+
for (var m = a, g = 0, C = d === void 0 ? 1 / 0 : d, w = 0; w < C; ++w) {
|
|
4839
4886
|
var k = t.charCodeAt(a), U;
|
|
4840
4887
|
if (k >= 97 ? U = k - 97 + 10 : k >= 65 ? U = k - 65 + 10 : k >= 48 && k <= 57 ? U = k - 48 : U = 1 / 0, U >= f) break;
|
|
4841
4888
|
++a, g = g * f + U;
|
|
4842
4889
|
}
|
|
4843
4890
|
return a === m || d !== void 0 && a - m !== d ? null : g;
|
|
4844
4891
|
}
|
|
4845
|
-
function
|
|
4892
|
+
function ba() {
|
|
4846
4893
|
a += 2;
|
|
4847
4894
|
var f = We(16);
|
|
4848
|
-
f === null && I(p + 2, "Expected hexadecimal number"), ft(t.charCodeAt(a)) && I(a, "Identifier directly after number"),
|
|
4895
|
+
f === null && I(p + 2, "Expected hexadecimal number"), ft(t.charCodeAt(a)) && I(a, "Identifier directly after number"), G(at, f);
|
|
4849
4896
|
}
|
|
4850
|
-
function
|
|
4897
|
+
function on(f) {
|
|
4851
4898
|
var d = a, m = !1, g = t.charCodeAt(a) === 48;
|
|
4852
4899
|
!f && We(10) === null && I(d, "Invalid number"), t.charCodeAt(a) === 46 && (++a, We(10), m = !0);
|
|
4853
4900
|
var C = t.charCodeAt(a);
|
|
4854
4901
|
(C === 69 || C === 101) && (C = t.charCodeAt(++a), (C === 43 || C === 45) && ++a, We(10) === null && I(d, "Invalid number"), m = !0), ft(t.charCodeAt(a)) && I(a, "Identifier directly after number");
|
|
4855
|
-
var
|
|
4856
|
-
m ? k = parseFloat(
|
|
4902
|
+
var w = t.slice(d, a), k;
|
|
4903
|
+
m ? k = parseFloat(w) : !g || w.length === 1 ? k = parseInt(w, 10) : /[89]/.test(w) || K ? I(d, "Invalid number") : k = parseInt(w, 8), G(at, k);
|
|
4857
4904
|
}
|
|
4858
|
-
function
|
|
4905
|
+
function ga(f) {
|
|
4859
4906
|
a++;
|
|
4860
4907
|
for (var d = ""; ; ) {
|
|
4861
4908
|
a >= e && I(p, "Unterminated string constant");
|
|
4862
4909
|
var m = t.charCodeAt(a);
|
|
4863
4910
|
if (m === f) {
|
|
4864
|
-
++a,
|
|
4911
|
+
++a, G(Tt, d);
|
|
4865
4912
|
return;
|
|
4866
4913
|
}
|
|
4867
4914
|
if (m === 92) {
|
|
@@ -4907,7 +4954,7 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4907
4954
|
case 13:
|
|
4908
4955
|
t.charCodeAt(a) === 10 && ++a;
|
|
4909
4956
|
case 10:
|
|
4910
|
-
r.locations && (
|
|
4957
|
+
r.locations && (H = a, ++L);
|
|
4911
4958
|
break;
|
|
4912
4959
|
default:
|
|
4913
4960
|
d += String.fromCharCode(m);
|
|
@@ -4923,52 +4970,52 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4923
4970
|
d;
|
|
4924
4971
|
}
|
|
4925
4972
|
var Ae;
|
|
4926
|
-
function
|
|
4973
|
+
function un() {
|
|
4927
4974
|
Ae = !1;
|
|
4928
4975
|
for (var f, d = !0, m = a; ; ) {
|
|
4929
4976
|
var g = t.charCodeAt(a);
|
|
4930
|
-
if (
|
|
4977
|
+
if (nn(g))
|
|
4931
4978
|
Ae && (f += t.charAt(a)), ++a;
|
|
4932
4979
|
else if (g === 92) {
|
|
4933
4980
|
Ae || (f = t.slice(m, a)), Ae = !0, t.charCodeAt(++a) !== 117 && I(a, "Expecting Unicode escape sequence \\uXXXX"), ++a;
|
|
4934
|
-
var C = pt(4),
|
|
4935
|
-
|
|
4981
|
+
var C = pt(4), w = String.fromCharCode(C);
|
|
4982
|
+
w || I(a - 1, "Invalid Unicode escape"), (d ? ft(C) : nn(C)) || I(a - 4, "Invalid Unicode escape"), f += w;
|
|
4936
4983
|
} else
|
|
4937
4984
|
break;
|
|
4938
4985
|
d = !1;
|
|
4939
4986
|
}
|
|
4940
4987
|
return Ae ? f : t.slice(m, a);
|
|
4941
4988
|
}
|
|
4942
|
-
function
|
|
4943
|
-
var f =
|
|
4944
|
-
!Ae &&
|
|
4989
|
+
function sn() {
|
|
4990
|
+
var f = un(), d = Pe;
|
|
4991
|
+
!Ae && ia(f) && (d = Wi[f]), G(d, f);
|
|
4945
4992
|
}
|
|
4946
4993
|
function D() {
|
|
4947
|
-
Ge = p,
|
|
4994
|
+
Ge = p, te = h, we = S, ke();
|
|
4948
4995
|
}
|
|
4949
4996
|
function Lt(f) {
|
|
4950
4997
|
if (K = f, a = p, r.locations)
|
|
4951
|
-
for (; a <
|
|
4952
|
-
|
|
4953
|
-
`,
|
|
4998
|
+
for (; a < H; )
|
|
4999
|
+
H = t.lastIndexOf(`
|
|
5000
|
+
`, H - 2) + 1, --L;
|
|
4954
5001
|
Xe(), ke();
|
|
4955
5002
|
}
|
|
4956
|
-
function
|
|
5003
|
+
function ln() {
|
|
4957
5004
|
this.type = null, this.start = p, this.end = null;
|
|
4958
5005
|
}
|
|
4959
|
-
function
|
|
5006
|
+
function cn() {
|
|
4960
5007
|
this.start = b, this.end = null, i && (this.source = i);
|
|
4961
5008
|
}
|
|
4962
5009
|
function z() {
|
|
4963
|
-
var f = new
|
|
4964
|
-
return r.locations && (f.loc = new
|
|
5010
|
+
var f = new ln();
|
|
5011
|
+
return r.locations && (f.loc = new cn()), r.directSourceFile && (f.sourceFile = r.directSourceFile), r.ranges && (f.range = [p, 0]), f;
|
|
4965
5012
|
}
|
|
4966
|
-
function
|
|
4967
|
-
var d = new
|
|
4968
|
-
return d.start = f.start, r.locations && (d.loc = new
|
|
5013
|
+
function ye(f) {
|
|
5014
|
+
var d = new ln();
|
|
5015
|
+
return d.start = f.start, r.locations && (d.loc = new cn(), d.loc.start = f.loc.start), r.ranges && (d.range = [f.range[0], 0]), d;
|
|
4969
5016
|
}
|
|
4970
|
-
function
|
|
4971
|
-
return f.type = d, f.end =
|
|
5017
|
+
function P(f, d) {
|
|
5018
|
+
return f.type = d, f.end = te, r.locations && (f.loc.end = we), r.ranges && (f.range[1] = te), f;
|
|
4972
5019
|
}
|
|
4973
5020
|
function Mt(f) {
|
|
4974
5021
|
return f.type === "ExpressionStatement" && f.expression.type === "Literal" && f.expression.value === "use strict";
|
|
@@ -4977,162 +5024,162 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4977
5024
|
return T === f ? (D(), !0) : !1;
|
|
4978
5025
|
}
|
|
4979
5026
|
function dt() {
|
|
4980
|
-
return !r.strictSemicolons && (T === Nt || T === Ce || lt.test(t.slice(
|
|
5027
|
+
return !r.strictSemicolons && (T === Nt || T === Ce || lt.test(t.slice(te, p)));
|
|
4981
5028
|
}
|
|
4982
|
-
function
|
|
4983
|
-
!j(
|
|
5029
|
+
function Oe() {
|
|
5030
|
+
!j(se) && !dt() && le();
|
|
4984
5031
|
}
|
|
4985
|
-
function
|
|
4986
|
-
T === f ? D() :
|
|
5032
|
+
function V(f) {
|
|
5033
|
+
T === f ? D() : le();
|
|
4987
5034
|
}
|
|
4988
|
-
function
|
|
5035
|
+
function le() {
|
|
4989
5036
|
I(p, "Unexpected token");
|
|
4990
5037
|
}
|
|
4991
5038
|
function ht(f) {
|
|
4992
5039
|
f.type !== "Identifier" && f.type !== "MemberExpression" && I(f.start, "Assigning to rvalue"), K && f.type === "Identifier" && st(f.name) && I(f.start, "Assigning to " + f.name + " in strict mode");
|
|
4993
5040
|
}
|
|
4994
|
-
function
|
|
4995
|
-
Ge =
|
|
5041
|
+
function Ea(f) {
|
|
5042
|
+
Ge = te = a, r.locations && (we = new Re()), ge = K = !1, B = [], ke();
|
|
4996
5043
|
var d = f || z(), m = !0;
|
|
4997
5044
|
for (f || (d.body = []); T !== Nt; ) {
|
|
4998
|
-
var g =
|
|
5045
|
+
var g = re();
|
|
4999
5046
|
d.body.push(g), m && Mt(g) && Lt(!0), m = !1;
|
|
5000
5047
|
}
|
|
5001
|
-
return
|
|
5048
|
+
return P(d, "Program");
|
|
5002
5049
|
}
|
|
5003
|
-
var Ft = { kind: "loop" },
|
|
5004
|
-
function
|
|
5005
|
-
(T ===
|
|
5050
|
+
var Ft = { kind: "loop" }, Ra = { kind: "switch" };
|
|
5051
|
+
function re() {
|
|
5052
|
+
(T === Jr || T === Ee && x === "/=") && ke(!0);
|
|
5006
5053
|
var f = T, d = z();
|
|
5007
5054
|
switch (f) {
|
|
5008
5055
|
case St:
|
|
5009
|
-
case
|
|
5056
|
+
case Cr:
|
|
5010
5057
|
D();
|
|
5011
5058
|
var m = f === St;
|
|
5012
|
-
j(
|
|
5059
|
+
j(se) || dt() ? d.label = null : T !== Pe ? le() : (d.label = me(), Oe());
|
|
5013
5060
|
for (var g = 0; g < B.length; ++g) {
|
|
5014
5061
|
var C = B[g];
|
|
5015
5062
|
if ((d.label === null || C.name === d.label.name) && (C.kind !== null && (m || C.kind === "loop") || d.label && m))
|
|
5016
5063
|
break;
|
|
5017
5064
|
}
|
|
5018
|
-
return g === B.length && I(d.start, "Unsyntactic " + f.keyword),
|
|
5019
|
-
case
|
|
5020
|
-
return D(),
|
|
5021
|
-
case Cr:
|
|
5022
|
-
return D(), B.push(Ft), d.body = ee(), B.pop(), $(kt), d.test = He(), Re(), w(d, "DoWhileStatement");
|
|
5065
|
+
return g === B.length && I(d.start, "Unsyntactic " + f.keyword), P(d, m ? "BreakStatement" : "ContinueStatement");
|
|
5066
|
+
case kr:
|
|
5067
|
+
return D(), Oe(), P(d, "DebuggerStatement");
|
|
5023
5068
|
case Ir:
|
|
5024
|
-
|
|
5069
|
+
return D(), B.push(Ft), d.body = re(), B.pop(), V(kt), d.test = He(), Oe(), P(d, "DoWhileStatement");
|
|
5070
|
+
case Mr:
|
|
5071
|
+
if (D(), B.push(Ft), V(ue), T === se) return Ut(d, null);
|
|
5025
5072
|
if (T === Ct) {
|
|
5026
|
-
var
|
|
5027
|
-
return D(),
|
|
5073
|
+
var w = z();
|
|
5074
|
+
return D(), pn(w, !0), P(w, "VariableDeclaration"), w.declarations.length === 1 && j(ot) ? fn(d, w) : Ut(d, w);
|
|
5028
5075
|
}
|
|
5029
|
-
var
|
|
5030
|
-
return j(ot) ? (ht(
|
|
5031
|
-
case Pt:
|
|
5032
|
-
return D(), Gt(d, !0);
|
|
5033
|
-
case Dr:
|
|
5034
|
-
return D(), d.test = He(), d.consequent = ee(), d.alternate = j(kr) ? ee() : null, w(d, "IfStatement");
|
|
5035
|
-
case Lr:
|
|
5036
|
-
return !be && !r.allowReturnOutsideFunction && I(p, "'return' outside of function"), D(), j(ue) || dt() ? d.argument = null : (d.argument = X(), Re()), w(d, "ReturnStatement");
|
|
5076
|
+
var w = W(!1, !0);
|
|
5077
|
+
return j(ot) ? (ht(w), fn(d, w)) : Ut(d, w);
|
|
5037
5078
|
case wt:
|
|
5038
|
-
D(),
|
|
5079
|
+
return D(), Gt(d, !0);
|
|
5080
|
+
case Fr:
|
|
5081
|
+
return D(), d.test = He(), d.consequent = re(), d.alternate = j(Dr) ? re() : null, P(d, "IfStatement");
|
|
5082
|
+
case Ur:
|
|
5083
|
+
return !ge && !r.allowReturnOutsideFunction && I(p, "'return' outside of function"), D(), j(se) || dt() ? d.argument = null : (d.argument = W(), Oe()), P(d, "ReturnStatement");
|
|
5084
|
+
case Pt:
|
|
5085
|
+
D(), d.discriminant = He(), d.cases = [], V(Ye), B.push(Ra);
|
|
5039
5086
|
for (var k, U; T !== Ce; )
|
|
5040
|
-
if (T === xt || T ===
|
|
5087
|
+
if (T === xt || T === Ar) {
|
|
5041
5088
|
var qe = T === xt;
|
|
5042
|
-
k &&
|
|
5089
|
+
k && P(k, "SwitchCase"), d.cases.push(k = z()), k.consequent = [], D(), qe ? k.test = W() : (U && I(Ge, "Multiple default clauses"), U = !0, k.test = null), V(ze);
|
|
5043
5090
|
} else
|
|
5044
|
-
k ||
|
|
5045
|
-
return k &&
|
|
5046
|
-
case
|
|
5047
|
-
return D(), lt.test(t.slice(
|
|
5048
|
-
case
|
|
5049
|
-
if (D(), d.block = Je(), d.handler = null, T ===
|
|
5091
|
+
k || le(), k.consequent.push(re());
|
|
5092
|
+
return k && P(k, "SwitchCase"), D(), B.pop(), P(d, "SwitchStatement");
|
|
5093
|
+
case jr:
|
|
5094
|
+
return D(), lt.test(t.slice(te, p)) && I(te, "Illegal newline after throw"), d.argument = W(), Oe(), P(d, "ThrowStatement");
|
|
5095
|
+
case Br:
|
|
5096
|
+
if (D(), d.block = Je(), d.handler = null, T === Pr) {
|
|
5050
5097
|
var Ie = z();
|
|
5051
|
-
D(),
|
|
5098
|
+
D(), V(ue), Ie.param = me(), K && st(Ie.param.name) && I(Ie.param.start, "Binding " + Ie.param.name + " in strict mode"), V(ie), Ie.body = Je(), d.handler = P(Ie, "CatchClause");
|
|
5052
5099
|
}
|
|
5053
|
-
return d.finalizer = j(
|
|
5100
|
+
return d.finalizer = j(Lr) ? Je() : null, !d.handler && !d.finalizer && I(d.start, "Missing catch or finally clause"), P(d, "TryStatement");
|
|
5054
5101
|
case Ct:
|
|
5055
|
-
return D(),
|
|
5102
|
+
return D(), pn(d), Oe(), P(d, "VariableDeclaration");
|
|
5056
5103
|
case kt:
|
|
5057
|
-
return D(), d.test = He(), B.push(Ft), d.body =
|
|
5058
|
-
case
|
|
5059
|
-
return K && I(p, "'with' in strict mode"), D(), d.object = He(), d.body =
|
|
5104
|
+
return D(), d.test = He(), B.push(Ft), d.body = re(), B.pop(), P(d, "WhileStatement");
|
|
5105
|
+
case $r:
|
|
5106
|
+
return K && I(p, "'with' in strict mode"), D(), d.object = He(), d.body = re(), P(d, "WithStatement");
|
|
5060
5107
|
case Ye:
|
|
5061
5108
|
return Je();
|
|
5062
|
-
case
|
|
5063
|
-
return D(),
|
|
5109
|
+
case se:
|
|
5110
|
+
return D(), P(d, "EmptyStatement");
|
|
5064
5111
|
default:
|
|
5065
|
-
var zt = x, vt =
|
|
5066
|
-
if (f ===
|
|
5112
|
+
var zt = x, vt = W();
|
|
5113
|
+
if (f === Pe && vt.type === "Identifier" && j(ze)) {
|
|
5067
5114
|
for (var g = 0; g < B.length; ++g)
|
|
5068
5115
|
B[g].name === zt && I(vt.start, "Label '" + zt + "' is already declared");
|
|
5069
|
-
var
|
|
5070
|
-
return B.push({ name: zt, kind:
|
|
5116
|
+
var wa = T.isLoop ? "loop" : T === Pt ? "switch" : null;
|
|
5117
|
+
return B.push({ name: zt, kind: wa }), d.body = re(), B.pop(), d.label = vt, P(d, "LabeledStatement");
|
|
5071
5118
|
} else
|
|
5072
|
-
return d.expression = vt,
|
|
5119
|
+
return d.expression = vt, Oe(), P(d, "ExpressionStatement");
|
|
5073
5120
|
}
|
|
5074
5121
|
}
|
|
5075
5122
|
function He() {
|
|
5076
|
-
|
|
5077
|
-
var f =
|
|
5078
|
-
return
|
|
5123
|
+
V(ue);
|
|
5124
|
+
var f = W();
|
|
5125
|
+
return V(ie), f;
|
|
5079
5126
|
}
|
|
5080
5127
|
function Je(f) {
|
|
5081
5128
|
var d = z(), m = !0, g = !1, C;
|
|
5082
|
-
for (d.body = [],
|
|
5083
|
-
var
|
|
5084
|
-
d.body.push(
|
|
5129
|
+
for (d.body = [], V(Ye); !j(Ce); ) {
|
|
5130
|
+
var w = re();
|
|
5131
|
+
d.body.push(w), m && f && Mt(w) && (C = g, Lt(g = !0)), m = !1;
|
|
5085
5132
|
}
|
|
5086
|
-
return g && !C && Lt(!1),
|
|
5133
|
+
return g && !C && Lt(!1), P(d, "BlockStatement");
|
|
5087
5134
|
}
|
|
5088
5135
|
function Ut(f, d) {
|
|
5089
|
-
return f.init = d,
|
|
5136
|
+
return f.init = d, V(se), f.test = T === se ? null : W(), V(se), f.update = T === ie ? null : W(), V(ie), f.body = re(), B.pop(), P(f, "ForStatement");
|
|
5090
5137
|
}
|
|
5091
|
-
function
|
|
5092
|
-
return f.left = d, f.right =
|
|
5138
|
+
function fn(f, d) {
|
|
5139
|
+
return f.left = d, f.right = W(), V(ie), f.body = re(), B.pop(), P(f, "ForInStatement");
|
|
5093
5140
|
}
|
|
5094
|
-
function
|
|
5141
|
+
function pn(f, d) {
|
|
5095
5142
|
for (f.declarations = [], f.kind = "var"; ; ) {
|
|
5096
5143
|
var m = z();
|
|
5097
|
-
if (m.id =
|
|
5144
|
+
if (m.id = me(), K && st(m.id.name) && I(m.id.start, "Binding " + m.id.name + " in strict mode"), m.init = j(Kr) ? W(!0, d) : null, f.declarations.push(P(m, "VariableDeclarator")), !j(ve)) break;
|
|
5098
5145
|
}
|
|
5099
5146
|
}
|
|
5100
|
-
function
|
|
5147
|
+
function W(f, d) {
|
|
5101
5148
|
var m = jt(d);
|
|
5102
|
-
if (!f && T ===
|
|
5103
|
-
var g =
|
|
5104
|
-
for (g.expressions = [m]; j(
|
|
5105
|
-
return
|
|
5149
|
+
if (!f && T === ve) {
|
|
5150
|
+
var g = ye(m);
|
|
5151
|
+
for (g.expressions = [m]; j(ve); ) g.expressions.push(jt(d));
|
|
5152
|
+
return P(g, "SequenceExpression");
|
|
5106
5153
|
}
|
|
5107
5154
|
return m;
|
|
5108
5155
|
}
|
|
5109
5156
|
function jt(f) {
|
|
5110
|
-
var d =
|
|
5157
|
+
var d = Oa(f);
|
|
5111
5158
|
if (T.isAssign) {
|
|
5112
|
-
var m =
|
|
5113
|
-
return m.operator = x, m.left = d, D(), m.right = jt(f), ht(d),
|
|
5159
|
+
var m = ye(d);
|
|
5160
|
+
return m.operator = x, m.left = d, D(), m.right = jt(f), ht(d), P(m, "AssignmentExpression");
|
|
5114
5161
|
}
|
|
5115
5162
|
return d;
|
|
5116
5163
|
}
|
|
5117
|
-
function
|
|
5118
|
-
var d =
|
|
5119
|
-
if (j(
|
|
5120
|
-
var m =
|
|
5121
|
-
return m.test = d, m.consequent =
|
|
5164
|
+
function Oa(f) {
|
|
5165
|
+
var d = Ta(f);
|
|
5166
|
+
if (j(Hr)) {
|
|
5167
|
+
var m = ye(d);
|
|
5168
|
+
return m.test = d, m.consequent = W(!0), V(ze), m.alternate = W(!0, f), P(m, "ConditionalExpression");
|
|
5122
5169
|
}
|
|
5123
5170
|
return d;
|
|
5124
5171
|
}
|
|
5125
|
-
function
|
|
5172
|
+
function Ta(f) {
|
|
5126
5173
|
return Bt($t(), -1, f);
|
|
5127
5174
|
}
|
|
5128
5175
|
function Bt(f, d, m) {
|
|
5129
5176
|
var g = T.binop;
|
|
5130
5177
|
if (g !== null && (!m || T !== ot) && g > d) {
|
|
5131
|
-
var C =
|
|
5178
|
+
var C = ye(f);
|
|
5132
5179
|
C.left = f, C.operator = x;
|
|
5133
|
-
var
|
|
5180
|
+
var w = T;
|
|
5134
5181
|
D(), C.right = Bt($t(), g, m);
|
|
5135
|
-
var k =
|
|
5182
|
+
var k = P(C, w === Zr || w === Qr ? "LogicalExpression" : "BinaryExpression");
|
|
5136
5183
|
return Bt(k, d, m);
|
|
5137
5184
|
}
|
|
5138
5185
|
return f;
|
|
@@ -5140,107 +5187,107 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5140
5187
|
function $t() {
|
|
5141
5188
|
if (T.prefix) {
|
|
5142
5189
|
var f = z(), d = T.isUpdate;
|
|
5143
|
-
return f.operator = x, f.prefix = !0, A = !0, D(), f.argument = $t(), d ? ht(f.argument) : K && f.operator === "delete" && f.argument.type === "Identifier" && I(f.start, "Deleting local variable in strict mode"),
|
|
5190
|
+
return f.operator = x, f.prefix = !0, A = !0, D(), f.argument = $t(), d ? ht(f.argument) : K && f.operator === "delete" && f.argument.type === "Identifier" && I(f.start, "Deleting local variable in strict mode"), P(f, d ? "UpdateExpression" : "UnaryExpression");
|
|
5144
5191
|
}
|
|
5145
|
-
for (var m =
|
|
5146
|
-
var f =
|
|
5147
|
-
f.operator = x, f.prefix = !1, f.argument = m, ht(m), D(), m =
|
|
5192
|
+
for (var m = Na(); T.postfix && !dt(); ) {
|
|
5193
|
+
var f = ye(m);
|
|
5194
|
+
f.operator = x, f.prefix = !1, f.argument = m, ht(m), D(), m = P(f, "UpdateExpression");
|
|
5148
5195
|
}
|
|
5149
5196
|
return m;
|
|
5150
5197
|
}
|
|
5151
|
-
function
|
|
5198
|
+
function Na() {
|
|
5152
5199
|
return Ke(Vt());
|
|
5153
5200
|
}
|
|
5154
5201
|
function Ke(f, d) {
|
|
5155
5202
|
var m;
|
|
5156
|
-
return j(
|
|
5203
|
+
return j(Wr) ? (m = ye(f), m.object = f, m.property = me(!0), m.computed = !1, Ke(P(m, "MemberExpression"), d)) : j(At) ? (m = ye(f), m.object = f, m.property = W(), m.computed = !0, V(It), Ke(P(m, "MemberExpression"), d)) : !d && j(ue) ? (m = ye(f), m.callee = f, m.arguments = Yt(ie, !1), Ke(P(m, "CallExpression"), d)) : f;
|
|
5157
5204
|
}
|
|
5158
5205
|
function Vt() {
|
|
5159
5206
|
var f;
|
|
5160
5207
|
switch (T) {
|
|
5161
|
-
case
|
|
5162
|
-
return f = z(), D(),
|
|
5163
|
-
case
|
|
5164
|
-
return
|
|
5208
|
+
case Gr:
|
|
5209
|
+
return f = z(), D(), P(f, "ThisExpression");
|
|
5210
|
+
case Pe:
|
|
5211
|
+
return me();
|
|
5165
5212
|
case at:
|
|
5166
5213
|
case Tt:
|
|
5167
|
-
case
|
|
5168
|
-
return f = z(), f.value = x, f.raw = t.slice(p, h), D(),
|
|
5169
|
-
case
|
|
5170
|
-
case
|
|
5171
|
-
case
|
|
5172
|
-
return f = z(), f.value = T.atomValue, f.raw = T.keyword, D(),
|
|
5173
|
-
case
|
|
5214
|
+
case wr:
|
|
5215
|
+
return f = z(), f.value = x, f.raw = t.slice(p, h), D(), P(f, "Literal");
|
|
5216
|
+
case Yr:
|
|
5217
|
+
case zr:
|
|
5218
|
+
case Xr:
|
|
5219
|
+
return f = z(), f.value = T.atomValue, f.raw = T.keyword, D(), P(f, "Literal");
|
|
5220
|
+
case ue:
|
|
5174
5221
|
var d = b, m = p;
|
|
5175
5222
|
D();
|
|
5176
|
-
var g =
|
|
5177
|
-
return g.start = m, g.end = h, r.locations && (g.loc.start = d, g.loc.end = S), r.ranges && (g.range = [m, h]),
|
|
5223
|
+
var g = W();
|
|
5224
|
+
return g.start = m, g.end = h, r.locations && (g.loc.start = d, g.loc.end = S), r.ranges && (g.range = [m, h]), V(ie), g;
|
|
5178
5225
|
case At:
|
|
5179
|
-
return f = z(), D(), f.elements = Yt(It, !0, !0),
|
|
5226
|
+
return f = z(), D(), f.elements = Yt(It, !0, !0), P(f, "ArrayExpression");
|
|
5180
5227
|
case Ye:
|
|
5181
|
-
return
|
|
5182
|
-
case
|
|
5228
|
+
return xa();
|
|
5229
|
+
case wt:
|
|
5183
5230
|
return f = z(), D(), Gt(f, !1);
|
|
5184
|
-
case
|
|
5185
|
-
return
|
|
5231
|
+
case Vr:
|
|
5232
|
+
return Sa();
|
|
5186
5233
|
}
|
|
5187
|
-
|
|
5234
|
+
le();
|
|
5188
5235
|
}
|
|
5189
|
-
function
|
|
5236
|
+
function Sa() {
|
|
5190
5237
|
var f = z();
|
|
5191
|
-
return D(), f.callee = Ke(Vt(), !0), f.arguments = j(
|
|
5238
|
+
return D(), f.callee = Ke(Vt(), !0), f.arguments = j(ue) ? Yt(ie, !1) : Xi, P(f, "NewExpression");
|
|
5192
5239
|
}
|
|
5193
|
-
function
|
|
5240
|
+
function xa() {
|
|
5194
5241
|
var f = z(), d = !0, m = !1;
|
|
5195
5242
|
for (f.properties = [], D(); !j(Ce); ) {
|
|
5196
5243
|
if (d)
|
|
5197
5244
|
d = !1;
|
|
5198
|
-
else if (
|
|
5245
|
+
else if (V(ve), r.allowTrailingCommas && j(Ce))
|
|
5199
5246
|
break;
|
|
5200
|
-
var g = { key:
|
|
5201
|
-
if (j(ze) ? (g.value =
|
|
5247
|
+
var g = { key: dn() }, C = !1, w;
|
|
5248
|
+
if (j(ze) ? (g.value = W(!0), w = g.kind = "init") : g.key.type === "Identifier" && (g.key.name === "get" || g.key.name === "set") ? (C = m = !0, w = g.kind = g.key.name, g.key = dn(), T !== ue && le(), g.value = Gt(z(), !1)) : le(), g.key.type === "Identifier" && (K || m))
|
|
5202
5249
|
for (var k = 0; k < f.properties.length; ++k) {
|
|
5203
5250
|
var U = f.properties[k];
|
|
5204
5251
|
if (U.key.name === g.key.name) {
|
|
5205
|
-
var qe =
|
|
5206
|
-
qe && !K &&
|
|
5252
|
+
var qe = w === U.kind || C && U.kind === "init" || w === "init" && (U.kind === "get" || U.kind === "set");
|
|
5253
|
+
qe && !K && w === "init" && U.kind === "init" && (qe = !1), qe && I(g.key.start, "Redefinition of property");
|
|
5207
5254
|
}
|
|
5208
5255
|
}
|
|
5209
5256
|
f.properties.push(g);
|
|
5210
5257
|
}
|
|
5211
|
-
return
|
|
5258
|
+
return P(f, "ObjectExpression");
|
|
5212
5259
|
}
|
|
5213
|
-
function
|
|
5214
|
-
return T === at || T === Tt ? Vt() :
|
|
5260
|
+
function dn() {
|
|
5261
|
+
return T === at || T === Tt ? Vt() : me(!0);
|
|
5215
5262
|
}
|
|
5216
5263
|
function Gt(f, d) {
|
|
5217
|
-
T ===
|
|
5264
|
+
T === Pe ? f.id = me() : d ? le() : f.id = null, f.params = [];
|
|
5218
5265
|
var m = !0;
|
|
5219
|
-
for (
|
|
5220
|
-
m ? m = !1 :
|
|
5221
|
-
var g =
|
|
5222
|
-
if (
|
|
5223
|
-
for (var
|
|
5224
|
-
var k =
|
|
5225
|
-
if ((
|
|
5226
|
-
for (var U = 0; U <
|
|
5266
|
+
for (V(ue); !j(ie); )
|
|
5267
|
+
m ? m = !1 : V(ve), f.params.push(me());
|
|
5268
|
+
var g = ge, C = B;
|
|
5269
|
+
if (ge = !0, B = [], f.body = Je(!0), ge = g, B = C, K || f.body.body.length && Mt(f.body.body[0]))
|
|
5270
|
+
for (var w = f.id ? -1 : 0; w < f.params.length; ++w) {
|
|
5271
|
+
var k = w < 0 ? f.id : f.params[w];
|
|
5272
|
+
if ((en(k.name) || st(k.name)) && I(k.start, "Defining '" + k.name + "' in strict mode"), w >= 0)
|
|
5273
|
+
for (var U = 0; U < w; ++U)
|
|
5227
5274
|
k.name === f.params[U].name && I(k.start, "Argument name clash in strict mode");
|
|
5228
5275
|
}
|
|
5229
|
-
return
|
|
5276
|
+
return P(f, d ? "FunctionDeclaration" : "FunctionExpression");
|
|
5230
5277
|
}
|
|
5231
5278
|
function Yt(f, d, m) {
|
|
5232
5279
|
for (var g = [], C = !0; !j(f); ) {
|
|
5233
5280
|
if (C)
|
|
5234
5281
|
C = !1;
|
|
5235
|
-
else if (
|
|
5282
|
+
else if (V(ve), d && r.allowTrailingCommas && j(f))
|
|
5236
5283
|
break;
|
|
5237
|
-
g.push(m && T ===
|
|
5284
|
+
g.push(m && T === ve ? null : W(!0));
|
|
5238
5285
|
}
|
|
5239
5286
|
return g;
|
|
5240
5287
|
}
|
|
5241
|
-
function
|
|
5288
|
+
function me(f) {
|
|
5242
5289
|
var d = z();
|
|
5243
|
-
return f && r.forbidReserved === "everywhere" && (f = !1), T ===
|
|
5290
|
+
return f && r.forbidReserved === "everywhere" && (f = !1), T === Pe ? (!f && (r.forbidReserved && na(x) || K && en(x)) && t.slice(p, h).indexOf("\\") === -1 && I(p, "The keyword '" + x + "' is reserved"), d.name = x) : f && T.keyword ? d.name = T.keyword : le(), A = !1, D(), P(d, "Identifier");
|
|
5244
5291
|
}
|
|
5245
5292
|
});
|
|
5246
5293
|
}
|
|
@@ -5252,7 +5299,7 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5252
5299
|
\*********************/
|
|
5253
5300
|
/***/
|
|
5254
5301
|
(y) => {
|
|
5255
|
-
y.exports =
|
|
5302
|
+
y.exports = Jl;
|
|
5256
5303
|
}
|
|
5257
5304
|
)
|
|
5258
5305
|
/******/
|
|
@@ -5270,7 +5317,7 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5270
5317
|
exports: {}
|
|
5271
5318
|
/******/
|
|
5272
5319
|
};
|
|
5273
|
-
return
|
|
5320
|
+
return l[y].call(R.exports, R, R.exports, _), R.exports;
|
|
5274
5321
|
}
|
|
5275
5322
|
_.d = (y, O) => {
|
|
5276
5323
|
for (var R in O)
|
|
@@ -5300,11 +5347,11 @@ const Ll = {}, Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5300
5347
|
})(), E = E.default, E;
|
|
5301
5348
|
})()
|
|
5302
5349
|
));
|
|
5303
|
-
})(
|
|
5304
|
-
var
|
|
5305
|
-
const
|
|
5306
|
-
function
|
|
5307
|
-
function
|
|
5350
|
+
})(Gi);
|
|
5351
|
+
var Kl = Gi.exports;
|
|
5352
|
+
const ql = /* @__PURE__ */ zl(Kl);
|
|
5353
|
+
function Zl(n, o) {
|
|
5354
|
+
function l(O) {
|
|
5308
5355
|
const R = n.pseudoToNative(O);
|
|
5309
5356
|
console.log(R);
|
|
5310
5357
|
}
|
|
@@ -5315,7 +5362,7 @@ function Bl(n, o) {
|
|
|
5315
5362
|
}
|
|
5316
5363
|
function _(O, R) {
|
|
5317
5364
|
const r = n.pseudoToNative(O), t = n.pseudoToNative(R);
|
|
5318
|
-
r === "info" ?
|
|
5365
|
+
r === "info" ? Fa(t) : r === "success" ? Ua(t) : r === "warning" ? ja(t) : r === "error" && Ba(t);
|
|
5319
5366
|
}
|
|
5320
5367
|
function E(O, R) {
|
|
5321
5368
|
const r = n.pseudoToNative(O), t = n.pseudoToNative(R);
|
|
@@ -5332,7 +5379,7 @@ function Bl(n, o) {
|
|
|
5332
5379
|
n.setProperty(
|
|
5333
5380
|
o,
|
|
5334
5381
|
"__consoleLogV1__",
|
|
5335
|
-
n.createNativeFunction(
|
|
5382
|
+
n.createNativeFunction(l)
|
|
5336
5383
|
), n.setProperty(
|
|
5337
5384
|
o,
|
|
5338
5385
|
"__debugTraceV1__",
|
|
@@ -5351,22 +5398,22 @@ function Bl(n, o) {
|
|
|
5351
5398
|
n.createAsyncFunction(y)
|
|
5352
5399
|
);
|
|
5353
5400
|
}
|
|
5354
|
-
class
|
|
5401
|
+
class Ql {
|
|
5355
5402
|
constructor(o) {
|
|
5356
5403
|
Xt(this, "context");
|
|
5357
5404
|
Xt(this, "nodes");
|
|
5358
5405
|
this.context = o, this.nodes = {};
|
|
5359
|
-
const
|
|
5406
|
+
const l = (v) => {
|
|
5360
5407
|
var _;
|
|
5361
|
-
this.nodes[v.basic.id] = v, (_ = v.children) == null || _.forEach((E) =>
|
|
5408
|
+
this.nodes[v.basic.id] = v, (_ = v.children) == null || _.forEach((E) => l(E));
|
|
5362
5409
|
};
|
|
5363
|
-
this.context.data.view.nodes.forEach((v) =>
|
|
5410
|
+
this.context.data.view.nodes.forEach((v) => l(v));
|
|
5364
5411
|
}
|
|
5365
5412
|
getNode(o) {
|
|
5366
5413
|
return this.nodes[o];
|
|
5367
5414
|
}
|
|
5368
|
-
addNode(o,
|
|
5369
|
-
const _ = `parent=${o} ref=${
|
|
5415
|
+
addNode(o, l, v) {
|
|
5416
|
+
const _ = `parent=${o} ref=${l} keyOrRefid=${v}`;
|
|
5370
5417
|
let E;
|
|
5371
5418
|
if (o) {
|
|
5372
5419
|
const O = this.getNode(o);
|
|
@@ -5379,11 +5426,11 @@ class $l {
|
|
|
5379
5426
|
E = this.context.data.view.nodes;
|
|
5380
5427
|
if (!E)
|
|
5381
5428
|
return "";
|
|
5382
|
-
const y =
|
|
5429
|
+
const y = El(
|
|
5383
5430
|
this.context.type,
|
|
5384
5431
|
this.context.data.type,
|
|
5385
5432
|
this.context.data.version,
|
|
5386
|
-
|
|
5433
|
+
l,
|
|
5387
5434
|
v
|
|
5388
5435
|
);
|
|
5389
5436
|
return y ? (E.push(y), this.nodes[y.basic.id] = y, y.basic.id) : (console.error(`NodeMgr/addNode spawn node failed, ${_}`), "");
|
|
@@ -5392,10 +5439,10 @@ class $l {
|
|
|
5392
5439
|
this.getNode(o);
|
|
5393
5440
|
}
|
|
5394
5441
|
}
|
|
5395
|
-
function
|
|
5396
|
-
const v = new
|
|
5442
|
+
function ec(n, o, l) {
|
|
5443
|
+
const v = new Ql(n);
|
|
5397
5444
|
function _(e, i, s) {
|
|
5398
|
-
const u = o.pseudoToNative(e),
|
|
5445
|
+
const u = o.pseudoToNative(e), c = o.pseudoToNative(i), a = o.pseudoToNative(s), p = v.addNode(u, c, a);
|
|
5399
5446
|
return o.nativeToPseudo(p);
|
|
5400
5447
|
}
|
|
5401
5448
|
function E(e) {
|
|
@@ -5403,10 +5450,10 @@ function Vl(n, o, c) {
|
|
|
5403
5450
|
v.deleteNode(i);
|
|
5404
5451
|
}
|
|
5405
5452
|
function y(e, i) {
|
|
5406
|
-
const s = o.pseudoToNative(e), u = o.pseudoToNative(i),
|
|
5453
|
+
const s = o.pseudoToNative(e), u = o.pseudoToNative(i), c = `id=${s} keys=${u}`;
|
|
5407
5454
|
let a;
|
|
5408
5455
|
if (s === "globality" ? a = n.data.view : a = v.getNode(s), !a) {
|
|
5409
|
-
console.error(`getNodePropV1 node not found, ${
|
|
5456
|
+
console.error(`getNodePropV1 node not found, ${c}`);
|
|
5410
5457
|
return;
|
|
5411
5458
|
}
|
|
5412
5459
|
const p = u.split("."), h = p.length;
|
|
@@ -5415,20 +5462,20 @@ function Vl(n, o, c) {
|
|
|
5415
5462
|
if (b === h - 1)
|
|
5416
5463
|
return o.nativeToPseudo(a[S]);
|
|
5417
5464
|
if (!a) {
|
|
5418
|
-
console.error(`getNodePropV1 unpkg failed, ${
|
|
5465
|
+
console.error(`getNodePropV1 unpkg failed, ${c}`);
|
|
5419
5466
|
return;
|
|
5420
5467
|
}
|
|
5421
5468
|
a = a[S];
|
|
5422
5469
|
}
|
|
5423
5470
|
}
|
|
5424
5471
|
function O(e, i, s) {
|
|
5425
|
-
const u = o.pseudoToNative(e),
|
|
5472
|
+
const u = o.pseudoToNative(e), c = o.pseudoToNative(i), a = o.pseudoToNative(s), p = `id=${u} keys=${c} value=${a}`;
|
|
5426
5473
|
let h;
|
|
5427
5474
|
if (u === "globality" ? h = n.data.view : h = v.getNode(u), !h) {
|
|
5428
5475
|
console.error(`setNodePropV1 node not found, ${p}`);
|
|
5429
5476
|
return;
|
|
5430
5477
|
}
|
|
5431
|
-
const b =
|
|
5478
|
+
const b = c.split("."), S = b.length;
|
|
5432
5479
|
for (let T = 0; T < S; T++) {
|
|
5433
5480
|
const x = b[T];
|
|
5434
5481
|
if (T === S - 1)
|
|
@@ -5443,61 +5490,61 @@ function Vl(n, o, c) {
|
|
|
5443
5490
|
}
|
|
5444
5491
|
}
|
|
5445
5492
|
function R(e, i, s, u) {
|
|
5446
|
-
const
|
|
5447
|
-
Me.emit(`callMethod@${
|
|
5493
|
+
const c = o.pseudoToNative(e), a = o.pseudoToNative(i), p = o.pseudoToNative(s), h = { outputs: [] };
|
|
5494
|
+
Me.emit(`callMethod@${c}`, { name: a, inputs: p, result: h }), u(o.nativeToPseudo(h.outputs)), o.run();
|
|
5448
5495
|
}
|
|
5449
5496
|
function r(e, i, s) {
|
|
5450
|
-
const u = o.pseudoToNative(e),
|
|
5451
|
-
|
|
5497
|
+
const u = o.pseudoToNative(e), c = o.pseudoToNative(i);
|
|
5498
|
+
$a({ title: u, text: c }).then((a) => {
|
|
5452
5499
|
s(o.nativeToPseudo(a)), o.run();
|
|
5453
5500
|
});
|
|
5454
5501
|
}
|
|
5455
5502
|
function t(e, i, s, u) {
|
|
5456
|
-
const
|
|
5457
|
-
|
|
5503
|
+
const c = o.pseudoToNative(e), a = o.pseudoToNative(i), p = o.pseudoToNative(s);
|
|
5504
|
+
Va({ title: c, label: a, value: p }).then((h) => {
|
|
5458
5505
|
u(o.nativeToPseudo(h)), o.run();
|
|
5459
5506
|
});
|
|
5460
5507
|
}
|
|
5461
5508
|
o.setProperty(
|
|
5462
|
-
|
|
5509
|
+
l,
|
|
5463
5510
|
"__addNodeV1__",
|
|
5464
5511
|
o.createNativeFunction(_)
|
|
5465
5512
|
), o.setProperty(
|
|
5466
|
-
|
|
5513
|
+
l,
|
|
5467
5514
|
"__deleteNodeV1__",
|
|
5468
5515
|
o.createNativeFunction(E)
|
|
5469
5516
|
), o.setProperty(
|
|
5470
|
-
|
|
5517
|
+
l,
|
|
5471
5518
|
"__getNodePropV1__",
|
|
5472
5519
|
o.createNativeFunction(y)
|
|
5473
5520
|
), o.setProperty(
|
|
5474
|
-
|
|
5521
|
+
l,
|
|
5475
5522
|
"__setNodePropV1__",
|
|
5476
5523
|
o.createNativeFunction(O)
|
|
5477
5524
|
), o.setProperty(
|
|
5478
|
-
|
|
5525
|
+
l,
|
|
5479
5526
|
"__callNodeMethodV1__",
|
|
5480
5527
|
o.createAsyncFunction(R)
|
|
5481
5528
|
), o.setProperty(
|
|
5482
|
-
|
|
5529
|
+
l,
|
|
5483
5530
|
"__openConfirmDlgV1__",
|
|
5484
5531
|
o.createAsyncFunction(r)
|
|
5485
5532
|
), o.setProperty(
|
|
5486
|
-
|
|
5533
|
+
l,
|
|
5487
5534
|
"__openPromptDlgV1__",
|
|
5488
5535
|
o.createAsyncFunction(t)
|
|
5489
5536
|
);
|
|
5490
5537
|
}
|
|
5491
|
-
function
|
|
5492
|
-
|
|
5538
|
+
function tc(n, o, l) {
|
|
5539
|
+
Zl(o, l), ec(n, o, l);
|
|
5493
5540
|
}
|
|
5494
|
-
const
|
|
5541
|
+
const rc = `
|
|
5495
5542
|
var __env__ = 'dev'
|
|
5496
5543
|
|
|
5497
5544
|
function __getEnvV1__() {
|
|
5498
5545
|
return __env__
|
|
5499
5546
|
}
|
|
5500
|
-
`,
|
|
5547
|
+
`, nc = `
|
|
5501
5548
|
var __events__ = {}
|
|
5502
5549
|
|
|
5503
5550
|
function __addEventListenerV1__(id, event, callback) {
|
|
@@ -5568,7 +5615,7 @@ function __triggerEvent__(id, event, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p1
|
|
|
5568
5615
|
callbacks[i](p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16)
|
|
5569
5616
|
}
|
|
5570
5617
|
}
|
|
5571
|
-
`,
|
|
5618
|
+
`, ic = `
|
|
5572
5619
|
var __timers__ = {}
|
|
5573
5620
|
var __currTimerId__ = 0
|
|
5574
5621
|
|
|
@@ -5610,89 +5657,91 @@ function __timeoutCallbackV1__(timerId) {
|
|
|
5610
5657
|
}
|
|
5611
5658
|
}
|
|
5612
5659
|
}
|
|
5613
|
-
`,
|
|
5660
|
+
`, ac = `
|
|
5614
5661
|
function __destroy__() {
|
|
5615
5662
|
}
|
|
5616
|
-
`,
|
|
5617
|
-
function
|
|
5618
|
-
const
|
|
5619
|
-
|
|
5663
|
+
`, oc = rc + nc + ic + ac;
|
|
5664
|
+
function Yi(n, o) {
|
|
5665
|
+
const l = new ql(
|
|
5666
|
+
oc,
|
|
5620
5667
|
(v, _) => {
|
|
5621
|
-
|
|
5668
|
+
tc(n, v, _);
|
|
5622
5669
|
}
|
|
5623
5670
|
);
|
|
5624
|
-
return
|
|
5671
|
+
return l.appendCode(o), l.appendCode(`
|
|
5625
5672
|
__env__ = '${n.env}';
|
|
5626
5673
|
__triggerEvent__('globality', 'startup');
|
|
5627
|
-
`),
|
|
5674
|
+
`), l.run(), l;
|
|
5628
5675
|
}
|
|
5629
|
-
function
|
|
5676
|
+
function zi(n) {
|
|
5630
5677
|
n.appendCode("__destroy__();"), n.run();
|
|
5631
5678
|
}
|
|
5632
|
-
const
|
|
5679
|
+
const ce = /* @__PURE__ */ ae({
|
|
5633
5680
|
__name: "index",
|
|
5634
5681
|
props: {
|
|
5635
5682
|
refContext: {},
|
|
5636
5683
|
state: {}
|
|
5637
5684
|
},
|
|
5638
5685
|
setup(n) {
|
|
5639
|
-
const { t: o } =
|
|
5640
|
-
|
|
5686
|
+
const { t: o } = ni(), l = n, v = Mi(), _ = he(), E = Nr(), y = Sr(), O = Ui(), R = ti();
|
|
5687
|
+
ri(() => {
|
|
5688
|
+
R.value = De(O[l.refContext.refid]);
|
|
5689
|
+
}), R.value || Me.emit("compNotAvail", l.refContext.refid);
|
|
5641
5690
|
let r;
|
|
5642
5691
|
if (R.value && _ === "runtime") {
|
|
5643
5692
|
const a = R.value.data, p = R.value.data.code.script;
|
|
5644
|
-
p && (r =
|
|
5693
|
+
p && (r = Yi({ env: v, type: E, data: a }, p));
|
|
5645
5694
|
}
|
|
5646
|
-
|
|
5647
|
-
r &&
|
|
5695
|
+
ji(r), hr(() => {
|
|
5696
|
+
r && zi(r);
|
|
5648
5697
|
});
|
|
5649
5698
|
const t = () => {
|
|
5650
5699
|
console.log("triggerUpdate");
|
|
5651
5700
|
};
|
|
5652
|
-
|
|
5653
|
-
() =>
|
|
5701
|
+
Aa(
|
|
5702
|
+
() => l.state,
|
|
5654
5703
|
() => {
|
|
5655
5704
|
t();
|
|
5656
5705
|
},
|
|
5657
5706
|
{ deep: !0, immediate: !0 }
|
|
5658
5707
|
);
|
|
5659
5708
|
function e(a) {
|
|
5660
|
-
const p =
|
|
5661
|
-
return h ?
|
|
5709
|
+
const p = xr[y.version].refKey, h = Ne[p];
|
|
5710
|
+
return h ? J(h.comp, {
|
|
5662
5711
|
refContext: {
|
|
5663
|
-
parent:
|
|
5712
|
+
parent: l.refContext,
|
|
5664
5713
|
refid: a.ref.id
|
|
5665
5714
|
},
|
|
5666
5715
|
node: a
|
|
5667
|
-
}) : (console.assert(!1, `ref element not found key=${p}`),
|
|
5716
|
+
}) : (console.assert(!1, `ref element not found key=${p}`), J("div", `ref element not found key=${p}`));
|
|
5668
5717
|
}
|
|
5669
5718
|
function i(a) {
|
|
5670
5719
|
var b;
|
|
5671
|
-
const p =
|
|
5720
|
+
const p = Ne[a.basic.key];
|
|
5672
5721
|
if (!p)
|
|
5673
|
-
return console.assert(!1, `element not found key=${a.basic.key}`),
|
|
5722
|
+
return console.assert(!1, `element not found key=${a.basic.key}`), J("div", `element not found key=${a.basic.key}`);
|
|
5674
5723
|
const h = [];
|
|
5675
5724
|
return p.slots.some((S) => S.key === "default") && ((b = a.children) == null || b.forEach((S) => {
|
|
5676
5725
|
h.push(s(S));
|
|
5677
|
-
})),
|
|
5726
|
+
})), J(p.comp, { node: a }, { default: () => h });
|
|
5678
5727
|
}
|
|
5679
5728
|
function s(a) {
|
|
5680
5729
|
return a.ref ? e(a) : i(a);
|
|
5681
5730
|
}
|
|
5682
5731
|
function u() {
|
|
5683
|
-
let a =
|
|
5732
|
+
let a = l.refContext.parent;
|
|
5684
5733
|
for (; a; ) {
|
|
5685
|
-
if (a.refid ===
|
|
5734
|
+
if (a.refid === l.refContext.refid)
|
|
5686
5735
|
return !0;
|
|
5687
5736
|
a = a.parent;
|
|
5688
5737
|
}
|
|
5689
5738
|
return !1;
|
|
5690
5739
|
}
|
|
5691
|
-
const
|
|
5740
|
+
const c = () => {
|
|
5692
5741
|
if (u())
|
|
5693
|
-
return
|
|
5742
|
+
return J("div", o("x-runtime-lib.circularRef"));
|
|
5694
5743
|
if (!R.value)
|
|
5695
|
-
return
|
|
5744
|
+
return J("div", o("x-runtime-lib.compNotAvail"));
|
|
5696
5745
|
const a = R.value.data.type;
|
|
5697
5746
|
if (a === "common") {
|
|
5698
5747
|
const p = [];
|
|
@@ -5700,18 +5749,18 @@ const le = /* @__PURE__ */ ne({
|
|
|
5700
5749
|
p.push(s(h));
|
|
5701
5750
|
}), p;
|
|
5702
5751
|
} else
|
|
5703
|
-
return console.assert(!1, `invalid subtype=${a}`),
|
|
5752
|
+
return console.assert(!1, `invalid subtype=${a}`), J("div", `invalid subtype=${a}`);
|
|
5704
5753
|
};
|
|
5705
|
-
return (a, p) => (
|
|
5754
|
+
return (a, p) => (X(), ne(c));
|
|
5706
5755
|
}
|
|
5707
|
-
}),
|
|
5756
|
+
}), uc = /* @__PURE__ */ ae({
|
|
5708
5757
|
__name: "index",
|
|
5709
5758
|
props: {
|
|
5710
5759
|
node: {},
|
|
5711
5760
|
outer: { type: Boolean }
|
|
5712
5761
|
},
|
|
5713
5762
|
setup(n) {
|
|
5714
|
-
const o = n,
|
|
5763
|
+
const o = n, l = Ve(), v = N(() => {
|
|
5715
5764
|
var u;
|
|
5716
5765
|
return (u = o.node.size) == null ? void 0 : u.width;
|
|
5717
5766
|
}), _ = N(() => {
|
|
@@ -5738,16 +5787,16 @@ const le = /* @__PURE__ */ ne({
|
|
|
5738
5787
|
}), e = N(() => {
|
|
5739
5788
|
var u;
|
|
5740
5789
|
return (u = o.node.settings) == null ? void 0 : u.multiSort;
|
|
5741
|
-
}), i = N(() =>
|
|
5790
|
+
}), i = N(() => l.value ? "dark" : "light"), s = N(() => {
|
|
5742
5791
|
var a;
|
|
5743
5792
|
const u = [];
|
|
5744
5793
|
return (((a = o.node.slots) == null ? void 0 : a.items) ?? []).forEach((p) => {
|
|
5745
5794
|
p.column && p.comp && u.push(p);
|
|
5746
5795
|
}), u;
|
|
5747
5796
|
});
|
|
5748
|
-
return (u,
|
|
5749
|
-
const a =
|
|
5750
|
-
return
|
|
5797
|
+
return (u, c) => {
|
|
5798
|
+
const a = pe("v-data-table");
|
|
5799
|
+
return X(), ne(a, {
|
|
5751
5800
|
width: v.value,
|
|
5752
5801
|
height: _.value,
|
|
5753
5802
|
headers: E.value,
|
|
@@ -5759,10 +5808,10 @@ const le = /* @__PURE__ */ ne({
|
|
|
5759
5808
|
"multi-sort": e.value,
|
|
5760
5809
|
theme: i.value
|
|
5761
5810
|
}, Kt({ _: 2 }, [
|
|
5762
|
-
|
|
5811
|
+
Ia(s.value, (p, h) => ({
|
|
5763
5812
|
name: `item.${p.column}`,
|
|
5764
|
-
fn:
|
|
5765
|
-
q(
|
|
5813
|
+
fn: Z(({ value: b }) => [
|
|
5814
|
+
q(ce, {
|
|
5766
5815
|
"ref-context": { refid: p.comp },
|
|
5767
5816
|
state: { value: b }
|
|
5768
5817
|
}, null, 8, ["ref-context", "state"])
|
|
@@ -5771,7 +5820,7 @@ const le = /* @__PURE__ */ ne({
|
|
|
5771
5820
|
]), 1032, ["width", "height", "headers", "items", "density", "fixed-header", "fixed-footer", "loading", "multi-sort", "theme"]);
|
|
5772
5821
|
};
|
|
5773
5822
|
}
|
|
5774
|
-
}),
|
|
5823
|
+
}), sc = [
|
|
5775
5824
|
{
|
|
5776
5825
|
name: "x-runtime-lib.start",
|
|
5777
5826
|
ui: "word",
|
|
@@ -5790,7 +5839,7 @@ const le = /* @__PURE__ */ ne({
|
|
|
5790
5839
|
validator: (n) => n === "end",
|
|
5791
5840
|
default: "end"
|
|
5792
5841
|
}
|
|
5793
|
-
],
|
|
5842
|
+
], zn = {
|
|
5794
5843
|
key: "size",
|
|
5795
5844
|
name: "x-runtime-lib.size",
|
|
5796
5845
|
children: [
|
|
@@ -5798,18 +5847,18 @@ const le = /* @__PURE__ */ ne({
|
|
|
5798
5847
|
key: "width",
|
|
5799
5848
|
name: "x-runtime-lib.width",
|
|
5800
5849
|
ui: "multiTypes",
|
|
5801
|
-
types:
|
|
5850
|
+
types: Q,
|
|
5802
5851
|
default: ""
|
|
5803
5852
|
},
|
|
5804
5853
|
{
|
|
5805
5854
|
key: "height",
|
|
5806
5855
|
name: "x-runtime-lib.height",
|
|
5807
5856
|
ui: "multiTypes",
|
|
5808
|
-
types:
|
|
5857
|
+
types: Q,
|
|
5809
5858
|
default: ""
|
|
5810
5859
|
}
|
|
5811
5860
|
]
|
|
5812
|
-
},
|
|
5861
|
+
}, Xn = {
|
|
5813
5862
|
key: "settings",
|
|
5814
5863
|
name: "x-runtime-lib.settings",
|
|
5815
5864
|
children: [
|
|
@@ -5839,28 +5888,28 @@ const le = /* @__PURE__ */ ne({
|
|
|
5839
5888
|
key: "align",
|
|
5840
5889
|
name: "x-runtime-lib.align",
|
|
5841
5890
|
ui: "multiTypes",
|
|
5842
|
-
types:
|
|
5891
|
+
types: sc,
|
|
5843
5892
|
default: "start"
|
|
5844
5893
|
},
|
|
5845
5894
|
{
|
|
5846
5895
|
key: "width",
|
|
5847
5896
|
name: "x-runtime-lib.width",
|
|
5848
5897
|
ui: "multiTypes",
|
|
5849
|
-
types:
|
|
5898
|
+
types: Q,
|
|
5850
5899
|
default: ""
|
|
5851
5900
|
},
|
|
5852
5901
|
{
|
|
5853
5902
|
key: "minWidth",
|
|
5854
5903
|
name: "x-runtime-lib.minWidth",
|
|
5855
5904
|
ui: "multiTypes",
|
|
5856
|
-
types:
|
|
5905
|
+
types: Q,
|
|
5857
5906
|
default: ""
|
|
5858
5907
|
},
|
|
5859
5908
|
{
|
|
5860
5909
|
key: "maxWidth",
|
|
5861
5910
|
name: "x-runtime-lib.maxWidth",
|
|
5862
5911
|
ui: "multiTypes",
|
|
5863
|
-
types:
|
|
5912
|
+
types: Q,
|
|
5864
5913
|
default: ""
|
|
5865
5914
|
},
|
|
5866
5915
|
{
|
|
@@ -5883,7 +5932,7 @@ const le = /* @__PURE__ */ ne({
|
|
|
5883
5932
|
key: "density",
|
|
5884
5933
|
name: "x-runtime-lib.density",
|
|
5885
5934
|
ui: "select",
|
|
5886
|
-
items:
|
|
5935
|
+
items: Bi,
|
|
5887
5936
|
default: "default"
|
|
5888
5937
|
},
|
|
5889
5938
|
{
|
|
@@ -5911,7 +5960,7 @@ const le = /* @__PURE__ */ ne({
|
|
|
5911
5960
|
default: !1
|
|
5912
5961
|
}
|
|
5913
5962
|
]
|
|
5914
|
-
},
|
|
5963
|
+
}, Wn = {
|
|
5915
5964
|
key: "slots",
|
|
5916
5965
|
name: "x-runtime-lib.slots",
|
|
5917
5966
|
children: [
|
|
@@ -5936,63 +5985,63 @@ const le = /* @__PURE__ */ ne({
|
|
|
5936
5985
|
defaultArray: []
|
|
5937
5986
|
}
|
|
5938
5987
|
]
|
|
5939
|
-
},
|
|
5940
|
-
key:
|
|
5988
|
+
}, lc = {
|
|
5989
|
+
key: or,
|
|
5941
5990
|
name: "x-runtime-lib.dataTable",
|
|
5942
|
-
comp:
|
|
5991
|
+
comp: uc,
|
|
5943
5992
|
slots: [],
|
|
5944
5993
|
events: [],
|
|
5945
5994
|
methods: [],
|
|
5946
5995
|
props: {
|
|
5947
|
-
pageCommon: [
|
|
5948
|
-
compCommon: [
|
|
5996
|
+
pageCommon: [$, zn, Xn, Wn],
|
|
5997
|
+
compCommon: [$, zn, Xn, Wn]
|
|
5949
5998
|
}
|
|
5950
5999
|
};
|
|
5951
|
-
function
|
|
5952
|
-
const
|
|
5953
|
-
|
|
6000
|
+
function cc(n, o) {
|
|
6001
|
+
const l = N(() => n.node.basic.id), v = N(() => `callMethod@${l.value}`);
|
|
6002
|
+
Da(() => {
|
|
5954
6003
|
Me.on(v.value, o);
|
|
5955
|
-
}),
|
|
6004
|
+
}), hr(() => {
|
|
5956
6005
|
Me.off(v.value, o);
|
|
5957
6006
|
});
|
|
5958
6007
|
}
|
|
5959
|
-
const
|
|
6008
|
+
const fc = ["id"], pc = /* @__PURE__ */ ae({
|
|
5960
6009
|
__name: "index",
|
|
5961
6010
|
props: {
|
|
5962
6011
|
node: {},
|
|
5963
6012
|
outer: { type: Boolean }
|
|
5964
6013
|
},
|
|
5965
6014
|
setup(n) {
|
|
5966
|
-
const o = n,
|
|
6015
|
+
const o = n, l = he(), v = N(() => {
|
|
5967
6016
|
var y;
|
|
5968
6017
|
return (y = o.node.basic) == null ? void 0 : y.id;
|
|
5969
|
-
}), { open: _ } =
|
|
5970
|
-
return
|
|
6018
|
+
}), { open: _ } = Ga(`runtimeDlg/${v.value}`);
|
|
6019
|
+
return cc(o, (y) => {
|
|
5971
6020
|
const { name: O } = y;
|
|
5972
6021
|
O === "open" ? _.value = !0 : O === "close" && (_.value = !1);
|
|
5973
6022
|
}), (y, O) => {
|
|
5974
|
-
const R =
|
|
5975
|
-
return
|
|
6023
|
+
const R = pe("v-dialog");
|
|
6024
|
+
return X(), ne(R, {
|
|
5976
6025
|
modelValue: Le(_),
|
|
5977
|
-
"onUpdate:modelValue": O[0] || (O[0] = (r) =>
|
|
6026
|
+
"onUpdate:modelValue": O[0] || (O[0] = (r) => La(_) ? _.value = r : null)
|
|
5978
6027
|
}, {
|
|
5979
|
-
activator:
|
|
5980
|
-
Le(
|
|
6028
|
+
activator: Z(() => [
|
|
6029
|
+
Le(l) === "editor" ? (X(), je("div", {
|
|
5981
6030
|
key: 0,
|
|
5982
6031
|
id: `__node__@${v.value}`
|
|
5983
|
-
}, null, 8,
|
|
6032
|
+
}, null, 8, fc)) : Ma("", !0)
|
|
5984
6033
|
]),
|
|
5985
|
-
default:
|
|
5986
|
-
|
|
6034
|
+
default: Z(() => [
|
|
6035
|
+
dr(y.$slots, "default")
|
|
5987
6036
|
]),
|
|
5988
6037
|
_: 3
|
|
5989
6038
|
}, 8, ["modelValue"]);
|
|
5990
6039
|
};
|
|
5991
6040
|
}
|
|
5992
|
-
}),
|
|
5993
|
-
key:
|
|
6041
|
+
}), dc = {
|
|
6042
|
+
key: ur,
|
|
5994
6043
|
name: "x-runtime-lib.dialog",
|
|
5995
|
-
comp:
|
|
6044
|
+
comp: pc,
|
|
5996
6045
|
slots: [
|
|
5997
6046
|
{
|
|
5998
6047
|
key: "default",
|
|
@@ -6015,11 +6064,11 @@ const Ql = ["id"], ec = /* @__PURE__ */ ne({
|
|
|
6015
6064
|
}
|
|
6016
6065
|
],
|
|
6017
6066
|
props: {
|
|
6018
|
-
pageCommon: [
|
|
6019
|
-
compCommon: [
|
|
6067
|
+
pageCommon: [$],
|
|
6068
|
+
compCommon: [$]
|
|
6020
6069
|
},
|
|
6021
6070
|
teleport: !0
|
|
6022
|
-
},
|
|
6071
|
+
}, Hn = {
|
|
6023
6072
|
key: "globalSettings",
|
|
6024
6073
|
name: "x-runtime-lib.globalSettings",
|
|
6025
6074
|
children: [
|
|
@@ -6030,8 +6079,8 @@ const Ql = ["id"], ec = /* @__PURE__ */ ne({
|
|
|
6030
6079
|
default: "#00000000"
|
|
6031
6080
|
}
|
|
6032
6081
|
]
|
|
6033
|
-
},
|
|
6034
|
-
key:
|
|
6082
|
+
}, hc = {
|
|
6083
|
+
key: sr,
|
|
6035
6084
|
name: "x-runtime-lib.globality",
|
|
6036
6085
|
comp: null,
|
|
6037
6086
|
slots: [
|
|
@@ -6073,18 +6122,18 @@ const Ql = ["id"], ec = /* @__PURE__ */ ne({
|
|
|
6073
6122
|
],
|
|
6074
6123
|
methods: [],
|
|
6075
6124
|
props: {
|
|
6076
|
-
pageCommon: [
|
|
6077
|
-
compCommon: [
|
|
6125
|
+
pageCommon: [Hn],
|
|
6126
|
+
compCommon: [Hn]
|
|
6078
6127
|
},
|
|
6079
6128
|
internal: !0
|
|
6080
|
-
},
|
|
6129
|
+
}, vc = { key: 0 }, yc = /* @__PURE__ */ ae({
|
|
6081
6130
|
__name: "index",
|
|
6082
6131
|
props: {
|
|
6083
6132
|
node: {},
|
|
6084
6133
|
outer: { type: Boolean }
|
|
6085
6134
|
},
|
|
6086
6135
|
setup(n) {
|
|
6087
|
-
const o = n,
|
|
6136
|
+
const o = n, l = he(), v = Ve(), _ = N(() => {
|
|
6088
6137
|
var e;
|
|
6089
6138
|
return (e = o.node.settings) == null ? void 0 : e.value;
|
|
6090
6139
|
}), E = N(() => {
|
|
@@ -6101,11 +6150,11 @@ const Ql = ["id"], ec = /* @__PURE__ */ ne({
|
|
|
6101
6150
|
return (e = o.node.settings) == null ? void 0 : e.singleLine;
|
|
6102
6151
|
}), r = N(() => {
|
|
6103
6152
|
var e;
|
|
6104
|
-
return
|
|
6153
|
+
return l !== "runtime" ? !0 : (e = o.node.settings) == null ? void 0 : e.readonly;
|
|
6105
6154
|
}), t = N(() => v.value ? "dark" : "light");
|
|
6106
6155
|
return (e, i) => {
|
|
6107
|
-
const s =
|
|
6108
|
-
return Le(
|
|
6156
|
+
const s = pe("v-number-input");
|
|
6157
|
+
return Le(l) === "editor" ? (X(), je("div", vc, [
|
|
6109
6158
|
q(s, {
|
|
6110
6159
|
"model-value": _.value,
|
|
6111
6160
|
label: E.value,
|
|
@@ -6115,7 +6164,7 @@ const Ql = ["id"], ec = /* @__PURE__ */ ne({
|
|
|
6115
6164
|
readonly: r.value,
|
|
6116
6165
|
theme: t.value
|
|
6117
6166
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
6118
|
-
])) : (
|
|
6167
|
+
])) : (X(), ne(s, {
|
|
6119
6168
|
key: 1,
|
|
6120
6169
|
"model-value": _.value,
|
|
6121
6170
|
label: E.value,
|
|
@@ -6127,7 +6176,7 @@ const Ql = ["id"], ec = /* @__PURE__ */ ne({
|
|
|
6127
6176
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
6128
6177
|
};
|
|
6129
6178
|
}
|
|
6130
|
-
}),
|
|
6179
|
+
}), Jn = {
|
|
6131
6180
|
key: "settings",
|
|
6132
6181
|
name: "x-runtime-lib.settings",
|
|
6133
6182
|
children: [
|
|
@@ -6172,18 +6221,18 @@ const Ql = ["id"], ec = /* @__PURE__ */ ne({
|
|
|
6172
6221
|
default: !1
|
|
6173
6222
|
}
|
|
6174
6223
|
]
|
|
6175
|
-
},
|
|
6176
|
-
key:
|
|
6224
|
+
}, mc = {
|
|
6225
|
+
key: lr,
|
|
6177
6226
|
name: "x-runtime-lib.numberInput",
|
|
6178
|
-
comp:
|
|
6227
|
+
comp: yc,
|
|
6179
6228
|
slots: [],
|
|
6180
6229
|
events: [],
|
|
6181
6230
|
methods: [],
|
|
6182
6231
|
props: {
|
|
6183
|
-
pageCommon: [
|
|
6184
|
-
compCommon: [
|
|
6232
|
+
pageCommon: [$, Jn],
|
|
6233
|
+
compCommon: [$, Jn]
|
|
6185
6234
|
}
|
|
6186
|
-
},
|
|
6235
|
+
}, _c = /* @__PURE__ */ ae({
|
|
6187
6236
|
__name: "index",
|
|
6188
6237
|
props: {
|
|
6189
6238
|
id: {},
|
|
@@ -6192,48 +6241,50 @@ const Ql = ["id"], ec = /* @__PURE__ */ ne({
|
|
|
6192
6241
|
outer: { type: Boolean }
|
|
6193
6242
|
},
|
|
6194
6243
|
setup(n) {
|
|
6195
|
-
const { t: o } =
|
|
6196
|
-
|
|
6244
|
+
const { t: o } = ni(), l = n, v = Mi(), _ = he(), E = Fi(), y = Nr(), O = Sr(), R = Ui(), r = ti();
|
|
6245
|
+
ri(() => {
|
|
6246
|
+
r.value = De(R[l.refContext.refid]);
|
|
6247
|
+
}), r.value || Me.emit("compNotAvail", l.refContext.refid);
|
|
6197
6248
|
let t;
|
|
6198
6249
|
if (r.value && _ === "runtime") {
|
|
6199
6250
|
const h = r.value.data, b = r.value.data.code.script;
|
|
6200
|
-
b && (t =
|
|
6251
|
+
b && (t = Yi({ env: v, type: y, data: h }, b));
|
|
6201
6252
|
}
|
|
6202
|
-
|
|
6203
|
-
t &&
|
|
6253
|
+
ji(t), hr(() => {
|
|
6254
|
+
t && zi(t);
|
|
6204
6255
|
});
|
|
6205
|
-
const { applySize: e } =
|
|
6256
|
+
const { applySize: e } = Vi(_, E, l), i = N(() => {
|
|
6206
6257
|
const h = {}, b = O.type;
|
|
6207
6258
|
return y === "page" ? b === "common" ? e(h) : console.assert(!1) : y === "comp" && b === "common" ? e(h) : console.assert(!1), h;
|
|
6208
6259
|
});
|
|
6209
6260
|
function s(h) {
|
|
6210
|
-
const b =
|
|
6211
|
-
return S ?
|
|
6261
|
+
const b = xr[O.version].refKey, S = Ne[b];
|
|
6262
|
+
return S ? J(S.comp, {
|
|
6212
6263
|
refContext: {
|
|
6213
|
-
parent:
|
|
6264
|
+
parent: l.refContext,
|
|
6214
6265
|
refid: h.ref.id
|
|
6215
6266
|
},
|
|
6216
6267
|
node: h
|
|
6217
|
-
}) : (console.assert(!1, `ref element not found key=${b}`),
|
|
6268
|
+
}) : (console.assert(!1, `ref element not found key=${b}`), J("div", `ref element not found key=${b}`));
|
|
6218
6269
|
}
|
|
6219
6270
|
function u(h) {
|
|
6220
6271
|
var T;
|
|
6221
|
-
const b =
|
|
6272
|
+
const b = Ne[h.basic.key];
|
|
6222
6273
|
if (!b)
|
|
6223
|
-
return console.assert(!1, `element not found key=${h.basic.key}`),
|
|
6274
|
+
return console.assert(!1, `element not found key=${h.basic.key}`), J("div", `element not found key=${h.basic.key}`);
|
|
6224
6275
|
const S = [];
|
|
6225
6276
|
return b.slots.some((x) => x.key === "default") && ((T = h.children) == null || T.forEach((x) => {
|
|
6226
|
-
const A =
|
|
6277
|
+
const A = c(x);
|
|
6227
6278
|
S.push(A);
|
|
6228
|
-
})),
|
|
6279
|
+
})), J(b.comp, { node: h }, { default: () => S });
|
|
6229
6280
|
}
|
|
6230
|
-
function
|
|
6281
|
+
function c(h) {
|
|
6231
6282
|
return h.ref ? s(h) : u(h);
|
|
6232
6283
|
}
|
|
6233
6284
|
function a() {
|
|
6234
|
-
let h =
|
|
6285
|
+
let h = l.refContext.parent;
|
|
6235
6286
|
for (; h; ) {
|
|
6236
|
-
if (h.refid ===
|
|
6287
|
+
if (h.refid === l.refContext.refid)
|
|
6237
6288
|
return !0;
|
|
6238
6289
|
h = h.parent;
|
|
6239
6290
|
}
|
|
@@ -6241,21 +6292,21 @@ const Ql = ["id"], ec = /* @__PURE__ */ ne({
|
|
|
6241
6292
|
}
|
|
6242
6293
|
const p = () => {
|
|
6243
6294
|
if (a())
|
|
6244
|
-
return
|
|
6295
|
+
return J("div", { id: l.id }, o("x-runtime-lib.circularRef"));
|
|
6245
6296
|
if (!r.value)
|
|
6246
|
-
return
|
|
6297
|
+
return J("div", { id: l.id }, o("x-runtime-lib.compNotAvail"));
|
|
6247
6298
|
const h = r.value.data.type;
|
|
6248
6299
|
if (h === "common") {
|
|
6249
6300
|
const b = [];
|
|
6250
6301
|
return r.value.data.view.nodes.forEach((S) => {
|
|
6251
|
-
b.push(
|
|
6252
|
-
}),
|
|
6302
|
+
b.push(c(S));
|
|
6303
|
+
}), J("div", { id: l.id, style: i.value }, b);
|
|
6253
6304
|
} else
|
|
6254
|
-
return console.assert(!1, `invalid subtype=${h}`),
|
|
6305
|
+
return console.assert(!1, `invalid subtype=${h}`), J("div", { id: l.id }, `invalid subtype=${h}`);
|
|
6255
6306
|
};
|
|
6256
|
-
return (h, b) => (
|
|
6307
|
+
return (h, b) => (X(), ne(p));
|
|
6257
6308
|
}
|
|
6258
|
-
}),
|
|
6309
|
+
}), Kn = {
|
|
6259
6310
|
key: "ref",
|
|
6260
6311
|
name: "x-runtime-lib.ref",
|
|
6261
6312
|
children: [
|
|
@@ -6266,25 +6317,25 @@ const Ql = ["id"], ec = /* @__PURE__ */ ne({
|
|
|
6266
6317
|
default: ""
|
|
6267
6318
|
}
|
|
6268
6319
|
]
|
|
6269
|
-
},
|
|
6320
|
+
}, bc = {
|
|
6270
6321
|
key: bt,
|
|
6271
6322
|
name: "x-runtime-lib.ref",
|
|
6272
|
-
comp:
|
|
6323
|
+
comp: _c,
|
|
6273
6324
|
slots: [],
|
|
6274
6325
|
events: [],
|
|
6275
6326
|
methods: [],
|
|
6276
6327
|
props: {
|
|
6277
|
-
pageCommon: [
|
|
6278
|
-
compCommon: [
|
|
6328
|
+
pageCommon: [$, gt, Kn],
|
|
6329
|
+
compCommon: [$, gt, Kn]
|
|
6279
6330
|
}
|
|
6280
|
-
},
|
|
6331
|
+
}, gc = { key: 0 }, Ec = /* @__PURE__ */ ae({
|
|
6281
6332
|
__name: "index",
|
|
6282
6333
|
props: {
|
|
6283
6334
|
node: {},
|
|
6284
6335
|
outer: { type: Boolean }
|
|
6285
6336
|
},
|
|
6286
6337
|
setup(n) {
|
|
6287
|
-
const o = n,
|
|
6338
|
+
const o = n, l = he(), v = Ve(), _ = N(() => {
|
|
6288
6339
|
var e;
|
|
6289
6340
|
return (e = o.node.settings) == null ? void 0 : e.value;
|
|
6290
6341
|
}), E = N(() => {
|
|
@@ -6301,11 +6352,11 @@ const Ql = ["id"], ec = /* @__PURE__ */ ne({
|
|
|
6301
6352
|
return (e = o.node.settings) == null ? void 0 : e.singleLine;
|
|
6302
6353
|
}), r = N(() => {
|
|
6303
6354
|
var e;
|
|
6304
|
-
return
|
|
6355
|
+
return l !== "runtime" ? !0 : (e = o.node.settings) == null ? void 0 : e.readonly;
|
|
6305
6356
|
}), t = N(() => v.value ? "dark" : "light");
|
|
6306
6357
|
return (e, i) => {
|
|
6307
|
-
const s =
|
|
6308
|
-
return Le(
|
|
6358
|
+
const s = pe("v-select");
|
|
6359
|
+
return Le(l) === "editor" ? (X(), je("div", gc, [
|
|
6309
6360
|
q(s, {
|
|
6310
6361
|
"model-value": _.value,
|
|
6311
6362
|
label: E.value,
|
|
@@ -6315,7 +6366,7 @@ const Ql = ["id"], ec = /* @__PURE__ */ ne({
|
|
|
6315
6366
|
readonly: r.value,
|
|
6316
6367
|
theme: t.value
|
|
6317
6368
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
6318
|
-
])) : (
|
|
6369
|
+
])) : (X(), ne(s, {
|
|
6319
6370
|
key: 1,
|
|
6320
6371
|
"model-value": _.value,
|
|
6321
6372
|
label: E.value,
|
|
@@ -6327,7 +6378,7 @@ const Ql = ["id"], ec = /* @__PURE__ */ ne({
|
|
|
6327
6378
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
6328
6379
|
};
|
|
6329
6380
|
}
|
|
6330
|
-
}),
|
|
6381
|
+
}), qn = {
|
|
6331
6382
|
key: "settings",
|
|
6332
6383
|
name: "x-runtime-lib.settings",
|
|
6333
6384
|
children: [
|
|
@@ -6368,25 +6419,25 @@ const Ql = ["id"], ec = /* @__PURE__ */ ne({
|
|
|
6368
6419
|
default: !1
|
|
6369
6420
|
}
|
|
6370
6421
|
]
|
|
6371
|
-
},
|
|
6372
|
-
key:
|
|
6422
|
+
}, Rc = {
|
|
6423
|
+
key: cr,
|
|
6373
6424
|
name: "x-runtime-lib.select",
|
|
6374
|
-
comp:
|
|
6425
|
+
comp: Ec,
|
|
6375
6426
|
slots: [],
|
|
6376
6427
|
events: [],
|
|
6377
6428
|
methods: [],
|
|
6378
6429
|
props: {
|
|
6379
|
-
pageCommon: [
|
|
6380
|
-
compCommon: [
|
|
6430
|
+
pageCommon: [$, qn],
|
|
6431
|
+
compCommon: [$, qn]
|
|
6381
6432
|
}
|
|
6382
|
-
},
|
|
6433
|
+
}, Oc = { key: 0 }, Tc = /* @__PURE__ */ ae({
|
|
6383
6434
|
__name: "index",
|
|
6384
6435
|
props: {
|
|
6385
6436
|
node: {},
|
|
6386
6437
|
outer: { type: Boolean }
|
|
6387
6438
|
},
|
|
6388
6439
|
setup(n) {
|
|
6389
|
-
const o = n,
|
|
6440
|
+
const o = n, l = he(), v = Ve(), _ = N(() => {
|
|
6390
6441
|
var u;
|
|
6391
6442
|
return (u = o.node.settings) == null ? void 0 : u.label;
|
|
6392
6443
|
}), E = N(() => {
|
|
@@ -6400,7 +6451,7 @@ const Ql = ["id"], ec = /* @__PURE__ */ ne({
|
|
|
6400
6451
|
return (u = o.node.settings) == null ? void 0 : u.singleLine;
|
|
6401
6452
|
}), R = N(() => {
|
|
6402
6453
|
var u;
|
|
6403
|
-
return
|
|
6454
|
+
return l !== "runtime" ? !0 : (u = o.node.settings) == null ? void 0 : u.readonly;
|
|
6404
6455
|
}), r = N(() => v.value ? "dark" : "light"), t = N(() => {
|
|
6405
6456
|
var u;
|
|
6406
6457
|
return (u = o.node.slots) == null ? void 0 : u.append;
|
|
@@ -6414,9 +6465,9 @@ const Ql = ["id"], ec = /* @__PURE__ */ ne({
|
|
|
6414
6465
|
var u;
|
|
6415
6466
|
return (u = o.node.slots) == null ? void 0 : u.prependInner;
|
|
6416
6467
|
});
|
|
6417
|
-
return (u,
|
|
6418
|
-
const a =
|
|
6419
|
-
return Le(
|
|
6468
|
+
return (u, c) => {
|
|
6469
|
+
const a = pe("v-text-field");
|
|
6470
|
+
return Le(l) === "editor" ? (X(), je("div", Oc, [
|
|
6420
6471
|
q(a, {
|
|
6421
6472
|
label: _.value,
|
|
6422
6473
|
placeholder: E.value,
|
|
@@ -6427,8 +6478,8 @@ const Ql = ["id"], ec = /* @__PURE__ */ ne({
|
|
|
6427
6478
|
}, Kt({ _: 2 }, [
|
|
6428
6479
|
t.value ? {
|
|
6429
6480
|
name: "append",
|
|
6430
|
-
fn:
|
|
6431
|
-
q(
|
|
6481
|
+
fn: Z(() => [
|
|
6482
|
+
q(ce, {
|
|
6432
6483
|
"ref-context": { refid: t.value },
|
|
6433
6484
|
state: {}
|
|
6434
6485
|
}, null, 8, ["ref-context"])
|
|
@@ -6437,8 +6488,8 @@ const Ql = ["id"], ec = /* @__PURE__ */ ne({
|
|
|
6437
6488
|
} : void 0,
|
|
6438
6489
|
e.value ? {
|
|
6439
6490
|
name: "append-inner",
|
|
6440
|
-
fn:
|
|
6441
|
-
q(
|
|
6491
|
+
fn: Z(() => [
|
|
6492
|
+
q(ce, {
|
|
6442
6493
|
"ref-context": { refid: e.value },
|
|
6443
6494
|
state: {}
|
|
6444
6495
|
}, null, 8, ["ref-context"])
|
|
@@ -6447,8 +6498,8 @@ const Ql = ["id"], ec = /* @__PURE__ */ ne({
|
|
|
6447
6498
|
} : void 0,
|
|
6448
6499
|
i.value ? {
|
|
6449
6500
|
name: "prepend",
|
|
6450
|
-
fn:
|
|
6451
|
-
q(
|
|
6501
|
+
fn: Z(() => [
|
|
6502
|
+
q(ce, {
|
|
6452
6503
|
"ref-context": { refid: i.value },
|
|
6453
6504
|
state: {}
|
|
6454
6505
|
}, null, 8, ["ref-context"])
|
|
@@ -6457,8 +6508,8 @@ const Ql = ["id"], ec = /* @__PURE__ */ ne({
|
|
|
6457
6508
|
} : void 0,
|
|
6458
6509
|
s.value ? {
|
|
6459
6510
|
name: "prepend-inner",
|
|
6460
|
-
fn:
|
|
6461
|
-
q(
|
|
6511
|
+
fn: Z(() => [
|
|
6512
|
+
q(ce, {
|
|
6462
6513
|
"ref-context": { refid: s.value },
|
|
6463
6514
|
state: {}
|
|
6464
6515
|
}, null, 8, ["ref-context"])
|
|
@@ -6466,7 +6517,7 @@ const Ql = ["id"], ec = /* @__PURE__ */ ne({
|
|
|
6466
6517
|
key: "3"
|
|
6467
6518
|
} : void 0
|
|
6468
6519
|
]), 1032, ["label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
6469
|
-
])) : (
|
|
6520
|
+
])) : (X(), ne(a, {
|
|
6470
6521
|
key: 1,
|
|
6471
6522
|
label: _.value,
|
|
6472
6523
|
placeholder: E.value,
|
|
@@ -6477,8 +6528,8 @@ const Ql = ["id"], ec = /* @__PURE__ */ ne({
|
|
|
6477
6528
|
}, Kt({ _: 2 }, [
|
|
6478
6529
|
t.value ? {
|
|
6479
6530
|
name: "append",
|
|
6480
|
-
fn:
|
|
6481
|
-
q(
|
|
6531
|
+
fn: Z(() => [
|
|
6532
|
+
q(ce, {
|
|
6482
6533
|
"ref-context": { refid: t.value },
|
|
6483
6534
|
state: {}
|
|
6484
6535
|
}, null, 8, ["ref-context"])
|
|
@@ -6487,8 +6538,8 @@ const Ql = ["id"], ec = /* @__PURE__ */ ne({
|
|
|
6487
6538
|
} : void 0,
|
|
6488
6539
|
e.value ? {
|
|
6489
6540
|
name: "append-inner",
|
|
6490
|
-
fn:
|
|
6491
|
-
q(
|
|
6541
|
+
fn: Z(() => [
|
|
6542
|
+
q(ce, {
|
|
6492
6543
|
"ref-context": { refid: e.value },
|
|
6493
6544
|
state: {}
|
|
6494
6545
|
}, null, 8, ["ref-context"])
|
|
@@ -6497,8 +6548,8 @@ const Ql = ["id"], ec = /* @__PURE__ */ ne({
|
|
|
6497
6548
|
} : void 0,
|
|
6498
6549
|
i.value ? {
|
|
6499
6550
|
name: "prepend",
|
|
6500
|
-
fn:
|
|
6501
|
-
q(
|
|
6551
|
+
fn: Z(() => [
|
|
6552
|
+
q(ce, {
|
|
6502
6553
|
"ref-context": { refid: i.value },
|
|
6503
6554
|
state: {}
|
|
6504
6555
|
}, null, 8, ["ref-context"])
|
|
@@ -6507,8 +6558,8 @@ const Ql = ["id"], ec = /* @__PURE__ */ ne({
|
|
|
6507
6558
|
} : void 0,
|
|
6508
6559
|
s.value ? {
|
|
6509
6560
|
name: "prepend-inner",
|
|
6510
|
-
fn:
|
|
6511
|
-
q(
|
|
6561
|
+
fn: Z(() => [
|
|
6562
|
+
q(ce, {
|
|
6512
6563
|
"ref-context": { refid: s.value },
|
|
6513
6564
|
state: {}
|
|
6514
6565
|
}, null, 8, ["ref-context"])
|
|
@@ -6518,7 +6569,7 @@ const Ql = ["id"], ec = /* @__PURE__ */ ne({
|
|
|
6518
6569
|
]), 1032, ["label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
6519
6570
|
};
|
|
6520
6571
|
}
|
|
6521
|
-
}),
|
|
6572
|
+
}), Zn = {
|
|
6522
6573
|
key: "settings",
|
|
6523
6574
|
name: "x-runtime-lib.settings",
|
|
6524
6575
|
children: [
|
|
@@ -6553,7 +6604,7 @@ const Ql = ["id"], ec = /* @__PURE__ */ ne({
|
|
|
6553
6604
|
default: !1
|
|
6554
6605
|
}
|
|
6555
6606
|
]
|
|
6556
|
-
},
|
|
6607
|
+
}, Qn = {
|
|
6557
6608
|
key: "slots",
|
|
6558
6609
|
name: "x-runtime-lib.slots",
|
|
6559
6610
|
children: [
|
|
@@ -6582,10 +6633,10 @@ const Ql = ["id"], ec = /* @__PURE__ */ ne({
|
|
|
6582
6633
|
default: ""
|
|
6583
6634
|
}
|
|
6584
6635
|
]
|
|
6585
|
-
},
|
|
6586
|
-
key:
|
|
6636
|
+
}, Nc = {
|
|
6637
|
+
key: fr,
|
|
6587
6638
|
name: "x-runtime-lib.textField",
|
|
6588
|
-
comp:
|
|
6639
|
+
comp: Tc,
|
|
6589
6640
|
slots: [
|
|
6590
6641
|
{
|
|
6591
6642
|
key: "append",
|
|
@@ -6607,12 +6658,12 @@ const Ql = ["id"], ec = /* @__PURE__ */ ne({
|
|
|
6607
6658
|
events: [],
|
|
6608
6659
|
methods: [],
|
|
6609
6660
|
props: {
|
|
6610
|
-
pageCommon: [
|
|
6611
|
-
compCommon: [
|
|
6661
|
+
pageCommon: [$, Zn, Qn],
|
|
6662
|
+
compCommon: [$, Zn, Qn]
|
|
6612
6663
|
}
|
|
6613
|
-
},
|
|
6664
|
+
}, Sc = {
|
|
6614
6665
|
version: "v1",
|
|
6615
|
-
globalityKey:
|
|
6666
|
+
globalityKey: sr,
|
|
6616
6667
|
refKey: bt,
|
|
6617
6668
|
elements: /* @__PURE__ */ new Set([
|
|
6618
6669
|
tr,
|
|
@@ -6622,9 +6673,11 @@ const Ql = ["id"], ec = /* @__PURE__ */ ne({
|
|
|
6622
6673
|
ar,
|
|
6623
6674
|
or,
|
|
6624
6675
|
ur,
|
|
6625
|
-
bt,
|
|
6626
6676
|
sr,
|
|
6627
|
-
lr
|
|
6677
|
+
lr,
|
|
6678
|
+
bt,
|
|
6679
|
+
cr,
|
|
6680
|
+
fr
|
|
6628
6681
|
]),
|
|
6629
6682
|
groups: [
|
|
6630
6683
|
{
|
|
@@ -6636,16 +6689,18 @@ const Ql = ["id"], ec = /* @__PURE__ */ ne({
|
|
|
6636
6689
|
nr,
|
|
6637
6690
|
ir,
|
|
6638
6691
|
ar,
|
|
6692
|
+
or,
|
|
6639
6693
|
ur,
|
|
6694
|
+
lr,
|
|
6640
6695
|
bt,
|
|
6641
|
-
|
|
6642
|
-
|
|
6696
|
+
cr,
|
|
6697
|
+
fr
|
|
6643
6698
|
]
|
|
6644
6699
|
}
|
|
6645
6700
|
]
|
|
6646
|
-
},
|
|
6647
|
-
v1:
|
|
6648
|
-
},
|
|
6701
|
+
}, xr = {
|
|
6702
|
+
v1: Sc
|
|
6703
|
+
}, Ne = {}, xc = {
|
|
6649
6704
|
key: "add",
|
|
6650
6705
|
name: "METHOD_ADD",
|
|
6651
6706
|
inputs: [],
|
|
@@ -6655,68 +6710,70 @@ const Ql = ["id"], ec = /* @__PURE__ */ ne({
|
|
|
6655
6710
|
name: "PARAM_NEW_NODE"
|
|
6656
6711
|
}
|
|
6657
6712
|
]
|
|
6658
|
-
},
|
|
6659
|
-
n.slots.some((o) => o.key === "default") && n.methods.unshift(
|
|
6713
|
+
}, ee = (n) => {
|
|
6714
|
+
n.slots.some((o) => o.key === "default") && n.methods.unshift(xc), Ne[n.key] = n;
|
|
6660
6715
|
};
|
|
6661
|
-
|
|
6662
|
-
|
|
6663
|
-
|
|
6664
|
-
|
|
6665
|
-
|
|
6666
|
-
|
|
6667
|
-
|
|
6668
|
-
|
|
6669
|
-
|
|
6670
|
-
|
|
6671
|
-
|
|
6716
|
+
ee(Sl);
|
|
6717
|
+
ee(Cl);
|
|
6718
|
+
ee(Dl);
|
|
6719
|
+
ee(Fl);
|
|
6720
|
+
ee(Gl);
|
|
6721
|
+
ee(lc);
|
|
6722
|
+
ee(dc);
|
|
6723
|
+
ee(hc);
|
|
6724
|
+
ee(mc);
|
|
6725
|
+
ee(bc);
|
|
6726
|
+
ee(Rc);
|
|
6727
|
+
ee(Nc);
|
|
6728
|
+
const wc = (n, o, l) => {
|
|
6672
6729
|
const v = n[o];
|
|
6673
6730
|
return v ? typeof v == "function" ? v() : Promise.resolve(v) : new Promise((_, E) => {
|
|
6674
6731
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
|
|
6675
6732
|
E.bind(
|
|
6676
6733
|
null,
|
|
6677
6734
|
new Error(
|
|
6678
|
-
"Unknown variable dynamic import: " + o + (o.split("/").length !==
|
|
6735
|
+
"Unknown variable dynamic import: " + o + (o.split("/").length !== l ? ". Note that variables only represent file names one level deep." : "")
|
|
6679
6736
|
)
|
|
6680
6737
|
)
|
|
6681
6738
|
);
|
|
6682
6739
|
});
|
|
6683
6740
|
};
|
|
6684
|
-
async function
|
|
6685
|
-
return (await
|
|
6741
|
+
async function Gc(n) {
|
|
6742
|
+
return (await wc(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en-jj6l69m2.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans-k6zfjt07.js") }), `./locales/${n}/index.ts`, 4)).default;
|
|
6686
6743
|
}
|
|
6687
6744
|
export {
|
|
6688
|
-
|
|
6689
|
-
|
|
6690
|
-
|
|
6691
|
-
|
|
6692
|
-
|
|
6693
|
-
|
|
6694
|
-
|
|
6695
|
-
|
|
6745
|
+
Rl as duplicateNode,
|
|
6746
|
+
Lc as duplicateNodes,
|
|
6747
|
+
Ne as elements,
|
|
6748
|
+
ii as genId,
|
|
6749
|
+
Dc as getNode,
|
|
6750
|
+
Fn as getPropDefault,
|
|
6751
|
+
gl as getPropTag,
|
|
6752
|
+
Un as initProps,
|
|
6696
6753
|
Ve as injectDark,
|
|
6697
|
-
|
|
6698
|
-
|
|
6699
|
-
|
|
6700
|
-
|
|
6701
|
-
|
|
6702
|
-
|
|
6703
|
-
|
|
6704
|
-
|
|
6705
|
-
|
|
6706
|
-
|
|
6707
|
-
|
|
6754
|
+
Sr as injectData,
|
|
6755
|
+
Ui as injectDepends,
|
|
6756
|
+
Fi as injectDevice,
|
|
6757
|
+
Mi as injectEnv,
|
|
6758
|
+
Ol as injectInterpreter,
|
|
6759
|
+
he as injectMode,
|
|
6760
|
+
Nr as injectType,
|
|
6761
|
+
vr as isEmptyStr,
|
|
6762
|
+
mr as isPercentStr,
|
|
6763
|
+
yr as isPixelStr,
|
|
6764
|
+
Gc as loadLocaleMessageRuntime,
|
|
6708
6765
|
Wt as parsePercentStr,
|
|
6709
|
-
|
|
6710
|
-
|
|
6711
|
-
|
|
6712
|
-
|
|
6713
|
-
|
|
6714
|
-
|
|
6715
|
-
|
|
6716
|
-
|
|
6717
|
-
|
|
6718
|
-
|
|
6719
|
-
|
|
6720
|
-
|
|
6721
|
-
|
|
6766
|
+
Ic as parsePixelStr,
|
|
6767
|
+
xr as pkgs,
|
|
6768
|
+
jc as provideDark,
|
|
6769
|
+
$c as provideData,
|
|
6770
|
+
Vc as provideDepends,
|
|
6771
|
+
Uc as provideDevice,
|
|
6772
|
+
Mc as provideEnv,
|
|
6773
|
+
ji as provideInterpreter,
|
|
6774
|
+
Fc as provideMode,
|
|
6775
|
+
Bc as provideType,
|
|
6776
|
+
El as spawnNode,
|
|
6777
|
+
Yi as startInterpreter,
|
|
6778
|
+
zi as stopInterpreter
|
|
6722
6779
|
};
|