x-runtime-lib 0.5.8 → 0.5.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/element/dataTable/v1/index.vue.d.ts +2 -1
- package/dist/element/_common/items/btnVariantItems/v1/index.d.ts +2 -0
- package/dist/element/_common/items/densityItems/v1/index.d.ts +2 -0
- package/dist/element/_common/types/tableColumnAlignTypes/v1/index.d.ts +2 -0
- package/dist/{i18n-en-d4ldkgqv.js → i18n-en-g5917ung.js} +12 -0
- package/dist/{i18n-zhHans-jruajaby.js → i18n-zhHans-ehanwg1n.js} +12 -0
- package/dist/index.js +1118 -962
- package/package.json +3 -5
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import { provide as
|
|
5
|
-
import { useI18n as
|
|
6
|
-
import { eventBus as
|
|
1
|
+
var da = Object.defineProperty;
|
|
2
|
+
var ha = (n, o, f) => o in n ? da(n, o, { enumerable: !0, configurable: !0, writable: !0, value: f }) : n[o] = f;
|
|
3
|
+
var Xt = (n, o, f) => ha(n, typeof o != "symbol" ? o + "" : o, f);
|
|
4
|
+
import { provide as ce, inject as fe, readonly as gt, isReactive as jn, defineComponent as pe, computed as N, resolveComponent as Ae, openBlock as K, createBlock as ge, unref as _t, createElementBlock as He, createVNode as bt, normalizeStyle as va, renderSlot as ya, watchEffect as ma, onBeforeUnmount as ga, h as Ye } from "vue";
|
|
5
|
+
import { useI18n as _a } from "vue-i18n";
|
|
6
|
+
import { eventBus as Bn, messageInfo as ba, messageSuccess as Ea, messageWarning as Ra, messageError as Oa, openConfirmDlg as Ta, openPromptDlg as Na } from "x-essential-lib";
|
|
7
7
|
const rn = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
8
|
-
function
|
|
8
|
+
function $n(n) {
|
|
9
9
|
let o = "";
|
|
10
10
|
for (let f = 0; f < n; f++) {
|
|
11
11
|
const h = Math.floor(Math.random() * rn.length);
|
|
@@ -28,7 +28,7 @@ function lr(n) {
|
|
|
28
28
|
const o = n.substring(0, n.length - 1), f = parseFloat(o);
|
|
29
29
|
return !isNaN(f);
|
|
30
30
|
}
|
|
31
|
-
function
|
|
31
|
+
function ic(n) {
|
|
32
32
|
if (typeof n != "string" || !n.endsWith("px"))
|
|
33
33
|
return;
|
|
34
34
|
const o = n.substring(0, n.length - 2), f = parseFloat(o);
|
|
@@ -42,52 +42,52 @@ function Wt(n) {
|
|
|
42
42
|
if (!isNaN(f))
|
|
43
43
|
return f;
|
|
44
44
|
}
|
|
45
|
-
var
|
|
45
|
+
var Vn = typeof global == "object" && global && global.Object === Object && global, Sa = typeof self == "object" && self && self.Object === Object && self, ee = Vn || Sa || Function("return this")(), we = ee.Symbol, Gn = Object.prototype, xa = Gn.hasOwnProperty, wa = Gn.toString, ze = we ? we.toStringTag : void 0;
|
|
46
46
|
function Pa(n) {
|
|
47
|
-
var o =
|
|
47
|
+
var o = xa.call(n, ze), f = n[ze];
|
|
48
48
|
try {
|
|
49
|
-
n[
|
|
49
|
+
n[ze] = void 0;
|
|
50
50
|
var h = !0;
|
|
51
51
|
} catch {
|
|
52
52
|
}
|
|
53
|
-
var
|
|
54
|
-
return h && (o ? n[
|
|
53
|
+
var g = wa.call(n);
|
|
54
|
+
return h && (o ? n[ze] = f : delete n[ze]), g;
|
|
55
55
|
}
|
|
56
|
-
var
|
|
57
|
-
function
|
|
58
|
-
return
|
|
59
|
-
}
|
|
60
|
-
var Aa = "[object Null]", ka = "[object Undefined]", nn = we ? we.toStringTag : void 0;
|
|
61
|
-
function He(n) {
|
|
62
|
-
return n == null ? n === void 0 ? ka : Aa : nn && nn in Object(n) ? Pa(n) : Ca(n);
|
|
56
|
+
var Ca = Object.prototype, Aa = Ca.toString;
|
|
57
|
+
function ka(n) {
|
|
58
|
+
return Aa.call(n);
|
|
63
59
|
}
|
|
60
|
+
var Ia = "[object Null]", Da = "[object Undefined]", nn = we ? we.toStringTag : void 0;
|
|
64
61
|
function Ke(n) {
|
|
62
|
+
return n == null ? n === void 0 ? Da : Ia : nn && nn in Object(n) ? Pa(n) : ka(n);
|
|
63
|
+
}
|
|
64
|
+
function qe(n) {
|
|
65
65
|
return n != null && typeof n == "object";
|
|
66
66
|
}
|
|
67
67
|
var cr = Array.isArray;
|
|
68
|
-
function
|
|
68
|
+
function Ze(n) {
|
|
69
69
|
var o = typeof n;
|
|
70
70
|
return n != null && (o == "object" || o == "function");
|
|
71
71
|
}
|
|
72
|
-
var
|
|
73
|
-
function
|
|
74
|
-
if (!
|
|
72
|
+
var La = "[object AsyncFunction]", Fa = "[object Function]", Ma = "[object GeneratorFunction]", Ua = "[object Proxy]";
|
|
73
|
+
function Yn(n) {
|
|
74
|
+
if (!Ze(n))
|
|
75
75
|
return !1;
|
|
76
|
-
var o =
|
|
77
|
-
return o ==
|
|
76
|
+
var o = Ke(n);
|
|
77
|
+
return o == Fa || o == Ma || o == La || o == Ua;
|
|
78
78
|
}
|
|
79
|
-
var Jt =
|
|
79
|
+
var Jt = ee["__core-js_shared__"], an = function() {
|
|
80
80
|
var n = /[^.]+$/.exec(Jt && Jt.keys && Jt.keys.IE_PROTO || "");
|
|
81
81
|
return n ? "Symbol(src)_1." + n : "";
|
|
82
82
|
}();
|
|
83
|
-
function
|
|
83
|
+
function ja(n) {
|
|
84
84
|
return !!an && an in n;
|
|
85
85
|
}
|
|
86
|
-
var
|
|
87
|
-
function
|
|
86
|
+
var Ba = Function.prototype, $a = Ba.toString;
|
|
87
|
+
function _e(n) {
|
|
88
88
|
if (n != null) {
|
|
89
89
|
try {
|
|
90
|
-
return
|
|
90
|
+
return $a.call(n);
|
|
91
91
|
} catch {
|
|
92
92
|
}
|
|
93
93
|
try {
|
|
@@ -97,27 +97,27 @@ function ge(n) {
|
|
|
97
97
|
}
|
|
98
98
|
return "";
|
|
99
99
|
}
|
|
100
|
-
var
|
|
101
|
-
"^" +
|
|
100
|
+
var Va = /[\\^$.*+?()[\]{}|]/g, Ga = /^\[object .+?Constructor\]$/, Ya = Function.prototype, za = Object.prototype, Xa = Ya.toString, Wa = za.hasOwnProperty, Ja = RegExp(
|
|
101
|
+
"^" + Xa.call(Wa).replace(Va, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
102
102
|
);
|
|
103
|
-
function
|
|
104
|
-
if (!
|
|
103
|
+
function Ha(n) {
|
|
104
|
+
if (!Ze(n) || ja(n))
|
|
105
105
|
return !1;
|
|
106
|
-
var o =
|
|
107
|
-
return o.test(
|
|
106
|
+
var o = Yn(n) ? Ja : Ga;
|
|
107
|
+
return o.test(_e(n));
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function Ka(n, o) {
|
|
110
110
|
return n == null ? void 0 : n[o];
|
|
111
111
|
}
|
|
112
112
|
function be(n, o) {
|
|
113
|
-
var f =
|
|
114
|
-
return
|
|
113
|
+
var f = Ka(n, o);
|
|
114
|
+
return Ha(f) ? f : void 0;
|
|
115
115
|
}
|
|
116
|
-
var Kt = be(
|
|
116
|
+
var Kt = be(ee, "WeakMap"), on = Object.create, qa = /* @__PURE__ */ function() {
|
|
117
117
|
function n() {
|
|
118
118
|
}
|
|
119
119
|
return function(o) {
|
|
120
|
-
if (!
|
|
120
|
+
if (!Ze(o))
|
|
121
121
|
return {};
|
|
122
122
|
if (on)
|
|
123
123
|
return on(o);
|
|
@@ -126,7 +126,7 @@ var Kt = be(Q, "WeakMap"), on = Object.create, Ha = /* @__PURE__ */ function() {
|
|
|
126
126
|
return n.prototype = void 0, f;
|
|
127
127
|
};
|
|
128
128
|
}();
|
|
129
|
-
function
|
|
129
|
+
function Za(n, o) {
|
|
130
130
|
var f = -1, h = n.length;
|
|
131
131
|
for (o || (o = Array(h)); ++f < h; )
|
|
132
132
|
o[f] = n[f];
|
|
@@ -139,17 +139,17 @@ var un = function() {
|
|
|
139
139
|
} catch {
|
|
140
140
|
}
|
|
141
141
|
}();
|
|
142
|
-
function
|
|
142
|
+
function Qa(n, o) {
|
|
143
143
|
for (var f = -1, h = n == null ? 0 : n.length; ++f < h && o(n[f], f, n) !== !1; )
|
|
144
144
|
;
|
|
145
145
|
return n;
|
|
146
146
|
}
|
|
147
|
-
var
|
|
148
|
-
function
|
|
147
|
+
var eo = 9007199254740991, to = /^(?:0|[1-9]\d*)$/;
|
|
148
|
+
function ro(n, o) {
|
|
149
149
|
var f = typeof n;
|
|
150
|
-
return o = o ??
|
|
150
|
+
return o = o ?? eo, !!o && (f == "number" || f != "symbol" && to.test(n)) && n > -1 && n % 1 == 0 && n < o;
|
|
151
151
|
}
|
|
152
|
-
function
|
|
152
|
+
function zn(n, o, f) {
|
|
153
153
|
o == "__proto__" && un ? un(n, o, {
|
|
154
154
|
configurable: !0,
|
|
155
155
|
enumerable: !0,
|
|
@@ -160,153 +160,153 @@ function Yn(n, o, f) {
|
|
|
160
160
|
function Xn(n, o) {
|
|
161
161
|
return n === o || n !== n && o !== o;
|
|
162
162
|
}
|
|
163
|
-
var
|
|
164
|
-
function
|
|
163
|
+
var no = Object.prototype, io = no.hasOwnProperty;
|
|
164
|
+
function Wn(n, o, f) {
|
|
165
165
|
var h = n[o];
|
|
166
|
-
(!(
|
|
166
|
+
(!(io.call(n, o) && Xn(h, f)) || f === void 0 && !(o in n)) && zn(n, o, f);
|
|
167
167
|
}
|
|
168
168
|
function Et(n, o, f, h) {
|
|
169
|
-
var
|
|
169
|
+
var g = !f;
|
|
170
170
|
f || (f = {});
|
|
171
171
|
for (var b = -1, m = o.length; ++b < m; ) {
|
|
172
|
-
var T = o[b],
|
|
173
|
-
|
|
172
|
+
var T = o[b], R = void 0;
|
|
173
|
+
R === void 0 && (R = n[T]), g ? zn(f, T, R) : Wn(f, T, R);
|
|
174
174
|
}
|
|
175
175
|
return f;
|
|
176
176
|
}
|
|
177
|
-
var
|
|
178
|
-
function Wn(n) {
|
|
179
|
-
return typeof n == "number" && n > -1 && n % 1 == 0 && n <= no;
|
|
180
|
-
}
|
|
177
|
+
var ao = 9007199254740991;
|
|
181
178
|
function Jn(n) {
|
|
182
|
-
return n
|
|
179
|
+
return typeof n == "number" && n > -1 && n % 1 == 0 && n <= ao;
|
|
180
|
+
}
|
|
181
|
+
function Hn(n) {
|
|
182
|
+
return n != null && Jn(n.length) && !Yn(n);
|
|
183
183
|
}
|
|
184
|
-
var
|
|
184
|
+
var oo = Object.prototype;
|
|
185
185
|
function fr(n) {
|
|
186
|
-
var o = n && n.constructor, f = typeof o == "function" && o.prototype ||
|
|
186
|
+
var o = n && n.constructor, f = typeof o == "function" && o.prototype || oo;
|
|
187
187
|
return n === f;
|
|
188
188
|
}
|
|
189
|
-
function
|
|
189
|
+
function uo(n, o) {
|
|
190
190
|
for (var f = -1, h = Array(n); ++f < n; )
|
|
191
191
|
h[f] = o(f);
|
|
192
192
|
return h;
|
|
193
193
|
}
|
|
194
|
-
var
|
|
194
|
+
var so = "[object Arguments]";
|
|
195
195
|
function sn(n) {
|
|
196
|
-
return
|
|
196
|
+
return qe(n) && Ke(n) == so;
|
|
197
197
|
}
|
|
198
|
-
var
|
|
198
|
+
var Kn = Object.prototype, lo = Kn.hasOwnProperty, co = Kn.propertyIsEnumerable, fo = sn(/* @__PURE__ */ function() {
|
|
199
199
|
return arguments;
|
|
200
200
|
}()) ? sn : function(n) {
|
|
201
|
-
return
|
|
201
|
+
return qe(n) && lo.call(n, "callee") && !co.call(n, "callee");
|
|
202
202
|
};
|
|
203
|
-
function
|
|
203
|
+
function po() {
|
|
204
204
|
return !1;
|
|
205
205
|
}
|
|
206
|
-
var
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
function
|
|
210
|
-
return
|
|
206
|
+
var qn = typeof exports == "object" && exports && !exports.nodeType && exports, ln = qn && typeof module == "object" && module && !module.nodeType && module, ho = ln && ln.exports === qn, cn = ho ? ee.Buffer : void 0, vo = cn ? cn.isBuffer : void 0, Zn = vo || po, yo = "[object Arguments]", mo = "[object Array]", go = "[object Boolean]", _o = "[object Date]", bo = "[object Error]", Eo = "[object Function]", Ro = "[object Map]", Oo = "[object Number]", To = "[object Object]", No = "[object RegExp]", So = "[object Set]", xo = "[object String]", wo = "[object WeakMap]", Po = "[object ArrayBuffer]", Co = "[object DataView]", Ao = "[object Float32Array]", ko = "[object Float64Array]", Io = "[object Int8Array]", Do = "[object Int16Array]", Lo = "[object Int32Array]", Fo = "[object Uint8Array]", Mo = "[object Uint8ClampedArray]", Uo = "[object Uint16Array]", jo = "[object Uint32Array]", M = {};
|
|
207
|
+
M[Ao] = M[ko] = M[Io] = M[Do] = M[Lo] = M[Fo] = M[Mo] = M[Uo] = M[jo] = !0;
|
|
208
|
+
M[yo] = M[mo] = M[Po] = M[go] = M[Co] = M[_o] = M[bo] = M[Eo] = M[Ro] = M[Oo] = M[To] = M[No] = M[So] = M[xo] = M[wo] = !1;
|
|
209
|
+
function Bo(n) {
|
|
210
|
+
return qe(n) && Jn(n.length) && !!M[Ke(n)];
|
|
211
211
|
}
|
|
212
212
|
function pr(n) {
|
|
213
213
|
return function(o) {
|
|
214
214
|
return n(o);
|
|
215
215
|
};
|
|
216
216
|
}
|
|
217
|
-
var
|
|
217
|
+
var Qn = typeof exports == "object" && exports && !exports.nodeType && exports, Xe = Qn && typeof module == "object" && module && !module.nodeType && module, $o = Xe && Xe.exports === Qn, Ht = $o && Vn.process, Pe = function() {
|
|
218
218
|
try {
|
|
219
219
|
var n = Xe && Xe.require && Xe.require("util").types;
|
|
220
220
|
return n || Ht && Ht.binding && Ht.binding("util");
|
|
221
221
|
} catch {
|
|
222
222
|
}
|
|
223
|
-
}(), fn =
|
|
224
|
-
function
|
|
225
|
-
var f = cr(n), h = !f &&
|
|
223
|
+
}(), fn = Pe && Pe.isTypedArray, Vo = fn ? pr(fn) : Bo, Go = Object.prototype, Yo = Go.hasOwnProperty;
|
|
224
|
+
function ei(n, o) {
|
|
225
|
+
var f = cr(n), h = !f && fo(n), g = !f && !h && Zn(n), b = !f && !h && !g && Vo(n), m = f || h || g || b, T = m ? uo(n.length, String) : [], R = T.length;
|
|
226
226
|
for (var r in n)
|
|
227
|
-
(o ||
|
|
227
|
+
(o || Yo.call(n, r)) && !(m && // 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
|
+
g && (r == "offset" || r == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
230
230
|
b && (r == "buffer" || r == "byteLength" || r == "byteOffset") || // Skip index properties.
|
|
231
|
-
|
|
231
|
+
ro(r, R))) && T.push(r);
|
|
232
232
|
return T;
|
|
233
233
|
}
|
|
234
|
-
function
|
|
234
|
+
function ti(n, o) {
|
|
235
235
|
return function(f) {
|
|
236
236
|
return n(o(f));
|
|
237
237
|
};
|
|
238
238
|
}
|
|
239
|
-
var
|
|
240
|
-
function
|
|
239
|
+
var zo = ti(Object.keys, Object), Xo = Object.prototype, Wo = Xo.hasOwnProperty;
|
|
240
|
+
function Jo(n) {
|
|
241
241
|
if (!fr(n))
|
|
242
|
-
return
|
|
242
|
+
return zo(n);
|
|
243
243
|
var o = [];
|
|
244
244
|
for (var f in Object(n))
|
|
245
|
-
|
|
245
|
+
Wo.call(n, f) && f != "constructor" && o.push(f);
|
|
246
246
|
return o;
|
|
247
247
|
}
|
|
248
248
|
function dr(n) {
|
|
249
|
-
return
|
|
249
|
+
return Hn(n) ? ei(n) : Jo(n);
|
|
250
250
|
}
|
|
251
|
-
function
|
|
251
|
+
function Ho(n) {
|
|
252
252
|
var o = [];
|
|
253
253
|
if (n != null)
|
|
254
254
|
for (var f in Object(n))
|
|
255
255
|
o.push(f);
|
|
256
256
|
return o;
|
|
257
257
|
}
|
|
258
|
-
var
|
|
259
|
-
function
|
|
260
|
-
if (!
|
|
261
|
-
return
|
|
258
|
+
var Ko = Object.prototype, qo = Ko.hasOwnProperty;
|
|
259
|
+
function Zo(n) {
|
|
260
|
+
if (!Ze(n))
|
|
261
|
+
return Ho(n);
|
|
262
262
|
var o = fr(n), f = [];
|
|
263
263
|
for (var h in n)
|
|
264
|
-
h == "constructor" && (o || !
|
|
264
|
+
h == "constructor" && (o || !qo.call(n, h)) || f.push(h);
|
|
265
265
|
return f;
|
|
266
266
|
}
|
|
267
267
|
function hr(n) {
|
|
268
|
-
return
|
|
268
|
+
return Hn(n) ? ei(n, !0) : Zo(n);
|
|
269
269
|
}
|
|
270
|
-
var
|
|
271
|
-
function
|
|
272
|
-
this.__data__ =
|
|
270
|
+
var We = be(Object, "create");
|
|
271
|
+
function Qo() {
|
|
272
|
+
this.__data__ = We ? We(null) : {}, this.size = 0;
|
|
273
273
|
}
|
|
274
|
-
function
|
|
274
|
+
function eu(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 tu = "__lodash_hash_undefined__", ru = Object.prototype, nu = ru.hasOwnProperty;
|
|
279
|
+
function iu(n) {
|
|
280
280
|
var o = this.__data__;
|
|
281
|
-
if (
|
|
281
|
+
if (We) {
|
|
282
282
|
var f = o[n];
|
|
283
|
-
return f ===
|
|
283
|
+
return f === tu ? void 0 : f;
|
|
284
284
|
}
|
|
285
|
-
return
|
|
285
|
+
return nu.call(o, n) ? o[n] : void 0;
|
|
286
286
|
}
|
|
287
|
-
var
|
|
288
|
-
function
|
|
287
|
+
var au = Object.prototype, ou = au.hasOwnProperty;
|
|
288
|
+
function uu(n) {
|
|
289
289
|
var o = this.__data__;
|
|
290
|
-
return
|
|
290
|
+
return We ? o[n] !== void 0 : ou.call(o, n);
|
|
291
291
|
}
|
|
292
|
-
var
|
|
293
|
-
function
|
|
292
|
+
var su = "__lodash_hash_undefined__";
|
|
293
|
+
function lu(n, o) {
|
|
294
294
|
var f = this.__data__;
|
|
295
|
-
return this.size += this.has(n) ? 0 : 1, f[n] =
|
|
295
|
+
return this.size += this.has(n) ? 0 : 1, f[n] = We && o === void 0 ? su : o, this;
|
|
296
296
|
}
|
|
297
|
-
function
|
|
297
|
+
function me(n) {
|
|
298
298
|
var o = -1, f = n == null ? 0 : n.length;
|
|
299
299
|
for (this.clear(); ++o < f; ) {
|
|
300
300
|
var h = n[o];
|
|
301
301
|
this.set(h[0], h[1]);
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
function
|
|
304
|
+
me.prototype.clear = Qo;
|
|
305
|
+
me.prototype.delete = eu;
|
|
306
|
+
me.prototype.get = iu;
|
|
307
|
+
me.prototype.has = uu;
|
|
308
|
+
me.prototype.set = lu;
|
|
309
|
+
function cu() {
|
|
310
310
|
this.__data__ = [], this.size = 0;
|
|
311
311
|
}
|
|
312
312
|
function Rt(n, o) {
|
|
@@ -315,64 +315,64 @@ function Rt(n, o) {
|
|
|
315
315
|
return f;
|
|
316
316
|
return -1;
|
|
317
317
|
}
|
|
318
|
-
var
|
|
319
|
-
function
|
|
318
|
+
var fu = Array.prototype, pu = fu.splice;
|
|
319
|
+
function du(n) {
|
|
320
320
|
var o = this.__data__, f = Rt(o, n);
|
|
321
321
|
if (f < 0)
|
|
322
322
|
return !1;
|
|
323
323
|
var h = o.length - 1;
|
|
324
|
-
return f == h ? o.pop() :
|
|
324
|
+
return f == h ? o.pop() : pu.call(o, f, 1), --this.size, !0;
|
|
325
325
|
}
|
|
326
|
-
function
|
|
326
|
+
function hu(n) {
|
|
327
327
|
var o = this.__data__, f = Rt(o, n);
|
|
328
328
|
return f < 0 ? void 0 : o[f][1];
|
|
329
329
|
}
|
|
330
|
-
function
|
|
330
|
+
function vu(n) {
|
|
331
331
|
return Rt(this.__data__, n) > -1;
|
|
332
332
|
}
|
|
333
|
-
function
|
|
333
|
+
function yu(n, o) {
|
|
334
334
|
var f = this.__data__, h = Rt(f, n);
|
|
335
335
|
return h < 0 ? (++this.size, f.push([n, o])) : f[h][1] = o, this;
|
|
336
336
|
}
|
|
337
|
-
function
|
|
337
|
+
function ae(n) {
|
|
338
338
|
var o = -1, f = n == null ? 0 : n.length;
|
|
339
339
|
for (this.clear(); ++o < f; ) {
|
|
340
340
|
var h = n[o];
|
|
341
341
|
this.set(h[0], h[1]);
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
var
|
|
350
|
-
function
|
|
344
|
+
ae.prototype.clear = cu;
|
|
345
|
+
ae.prototype.delete = du;
|
|
346
|
+
ae.prototype.get = hu;
|
|
347
|
+
ae.prototype.has = vu;
|
|
348
|
+
ae.prototype.set = yu;
|
|
349
|
+
var Je = be(ee, "Map");
|
|
350
|
+
function mu() {
|
|
351
351
|
this.size = 0, this.__data__ = {
|
|
352
|
-
hash: new
|
|
353
|
-
map: new (
|
|
354
|
-
string: new
|
|
352
|
+
hash: new me(),
|
|
353
|
+
map: new (Je || ae)(),
|
|
354
|
+
string: new me()
|
|
355
355
|
};
|
|
356
356
|
}
|
|
357
|
-
function
|
|
357
|
+
function gu(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
362
|
var f = n.__data__;
|
|
363
|
-
return
|
|
363
|
+
return gu(o) ? f[typeof o == "string" ? "string" : "hash"] : f.map;
|
|
364
364
|
}
|
|
365
|
-
function
|
|
365
|
+
function _u(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 bu(n) {
|
|
370
370
|
return Ot(this, n).get(n);
|
|
371
371
|
}
|
|
372
|
-
function
|
|
372
|
+
function Eu(n) {
|
|
373
373
|
return Ot(this, n).has(n);
|
|
374
374
|
}
|
|
375
|
-
function
|
|
375
|
+
function Ru(n, o) {
|
|
376
376
|
var f = Ot(this, n), h = f.size;
|
|
377
377
|
return f.set(n, o), this.size += f.size == h ? 0 : 1, this;
|
|
378
378
|
}
|
|
@@ -383,157 +383,155 @@ function ke(n) {
|
|
|
383
383
|
this.set(h[0], h[1]);
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
|
-
ke.prototype.clear =
|
|
387
|
-
ke.prototype.delete =
|
|
388
|
-
ke.prototype.get =
|
|
389
|
-
ke.prototype.has =
|
|
390
|
-
ke.prototype.set =
|
|
391
|
-
function
|
|
392
|
-
for (var f = -1, h = o.length,
|
|
393
|
-
n[
|
|
386
|
+
ke.prototype.clear = mu;
|
|
387
|
+
ke.prototype.delete = _u;
|
|
388
|
+
ke.prototype.get = bu;
|
|
389
|
+
ke.prototype.has = Eu;
|
|
390
|
+
ke.prototype.set = Ru;
|
|
391
|
+
function ri(n, o) {
|
|
392
|
+
for (var f = -1, h = o.length, g = n.length; ++f < h; )
|
|
393
|
+
n[g + f] = o[f];
|
|
394
394
|
return n;
|
|
395
395
|
}
|
|
396
|
-
var
|
|
397
|
-
function
|
|
398
|
-
this.__data__ = new
|
|
396
|
+
var ni = ti(Object.getPrototypeOf, Object);
|
|
397
|
+
function Ou() {
|
|
398
|
+
this.__data__ = new ae(), this.size = 0;
|
|
399
399
|
}
|
|
400
|
-
function
|
|
400
|
+
function Tu(n) {
|
|
401
401
|
var o = this.__data__, f = o.delete(n);
|
|
402
402
|
return this.size = o.size, f;
|
|
403
403
|
}
|
|
404
|
-
function
|
|
404
|
+
function Nu(n) {
|
|
405
405
|
return this.__data__.get(n);
|
|
406
406
|
}
|
|
407
|
-
function
|
|
407
|
+
function Su(n) {
|
|
408
408
|
return this.__data__.has(n);
|
|
409
409
|
}
|
|
410
|
-
var
|
|
411
|
-
function
|
|
410
|
+
var xu = 200;
|
|
411
|
+
function wu(n, o) {
|
|
412
412
|
var f = this.__data__;
|
|
413
|
-
if (f instanceof
|
|
413
|
+
if (f instanceof ae) {
|
|
414
414
|
var h = f.__data__;
|
|
415
|
-
if (!
|
|
415
|
+
if (!Je || h.length < xu - 1)
|
|
416
416
|
return h.push([n, o]), this.size = ++f.size, this;
|
|
417
417
|
f = this.__data__ = new ke(h);
|
|
418
418
|
}
|
|
419
419
|
return f.set(n, o), this.size = f.size, this;
|
|
420
420
|
}
|
|
421
421
|
function Ie(n) {
|
|
422
|
-
var o = this.__data__ = new
|
|
422
|
+
var o = this.__data__ = new ae(n);
|
|
423
423
|
this.size = o.size;
|
|
424
424
|
}
|
|
425
|
-
Ie.prototype.clear =
|
|
426
|
-
Ie.prototype.delete =
|
|
427
|
-
Ie.prototype.get =
|
|
428
|
-
Ie.prototype.has =
|
|
429
|
-
Ie.prototype.set =
|
|
425
|
+
Ie.prototype.clear = Ou;
|
|
426
|
+
Ie.prototype.delete = Tu;
|
|
427
|
+
Ie.prototype.get = Nu;
|
|
428
|
+
Ie.prototype.has = Su;
|
|
429
|
+
Ie.prototype.set = wu;
|
|
430
430
|
function Pu(n, o) {
|
|
431
431
|
return n && Et(o, dr(o), n);
|
|
432
432
|
}
|
|
433
|
-
function
|
|
433
|
+
function Cu(n, o) {
|
|
434
434
|
return n && Et(o, hr(o), n);
|
|
435
435
|
}
|
|
436
|
-
var
|
|
437
|
-
function
|
|
436
|
+
var ii = typeof exports == "object" && exports && !exports.nodeType && exports, pn = ii && typeof module == "object" && module && !module.nodeType && module, Au = pn && pn.exports === ii, dn = Au ? ee.Buffer : void 0, hn = dn ? dn.allocUnsafe : void 0;
|
|
437
|
+
function ku(n, o) {
|
|
438
438
|
if (o)
|
|
439
439
|
return n.slice();
|
|
440
440
|
var f = n.length, h = hn ? hn(f) : new n.constructor(f);
|
|
441
441
|
return n.copy(h), h;
|
|
442
442
|
}
|
|
443
|
-
function
|
|
444
|
-
for (var f = -1, h = n == null ? 0 : n.length,
|
|
443
|
+
function Iu(n, o) {
|
|
444
|
+
for (var f = -1, h = n == null ? 0 : n.length, g = 0, b = []; ++f < h; ) {
|
|
445
445
|
var m = n[f];
|
|
446
|
-
o(m, f, n) && (b[
|
|
446
|
+
o(m, f, n) && (b[g++] = m);
|
|
447
447
|
}
|
|
448
448
|
return b;
|
|
449
449
|
}
|
|
450
|
-
function
|
|
450
|
+
function ai() {
|
|
451
451
|
return [];
|
|
452
452
|
}
|
|
453
|
-
var
|
|
454
|
-
return n == null ? [] : (n = Object(n),
|
|
455
|
-
return
|
|
453
|
+
var Du = Object.prototype, Lu = Du.propertyIsEnumerable, vn = Object.getOwnPropertySymbols, vr = vn ? function(n) {
|
|
454
|
+
return n == null ? [] : (n = Object(n), Iu(vn(n), function(o) {
|
|
455
|
+
return Lu.call(n, o);
|
|
456
456
|
}));
|
|
457
|
-
} :
|
|
458
|
-
function
|
|
457
|
+
} : ai;
|
|
458
|
+
function Fu(n, o) {
|
|
459
459
|
return Et(n, vr(n), o);
|
|
460
460
|
}
|
|
461
|
-
var
|
|
461
|
+
var Mu = Object.getOwnPropertySymbols, oi = Mu ? function(n) {
|
|
462
462
|
for (var o = []; n; )
|
|
463
|
-
|
|
463
|
+
ri(o, vr(n)), n = ni(n);
|
|
464
464
|
return o;
|
|
465
|
-
} :
|
|
466
|
-
function
|
|
467
|
-
return Et(n,
|
|
465
|
+
} : ai;
|
|
466
|
+
function Uu(n, o) {
|
|
467
|
+
return Et(n, oi(n), o);
|
|
468
468
|
}
|
|
469
|
-
function
|
|
469
|
+
function ui(n, o, f) {
|
|
470
470
|
var h = o(n);
|
|
471
|
-
return cr(n) ? h :
|
|
471
|
+
return cr(n) ? h : ri(h, f(n));
|
|
472
472
|
}
|
|
473
|
-
function
|
|
474
|
-
return
|
|
473
|
+
function ju(n) {
|
|
474
|
+
return ui(n, dr, vr);
|
|
475
475
|
}
|
|
476
|
-
function
|
|
477
|
-
return
|
|
476
|
+
function Bu(n) {
|
|
477
|
+
return ui(n, hr, oi);
|
|
478
478
|
}
|
|
479
|
-
var qt = be(
|
|
480
|
-
(qt &&
|
|
481
|
-
var o =
|
|
479
|
+
var qt = be(ee, "DataView"), Zt = be(ee, "Promise"), Qt = be(ee, "Set"), yn = "[object Map]", $u = "[object Object]", mn = "[object Promise]", gn = "[object Set]", _n = "[object WeakMap]", bn = "[object DataView]", Vu = _e(qt), Gu = _e(Je), Yu = _e(Zt), zu = _e(Qt), Xu = _e(Kt), ie = Ke;
|
|
480
|
+
(qt && ie(new qt(new ArrayBuffer(1))) != bn || Je && ie(new Je()) != yn || Zt && ie(Zt.resolve()) != mn || Qt && ie(new Qt()) != gn || Kt && ie(new Kt()) != _n) && (ie = function(n) {
|
|
481
|
+
var o = Ke(n), f = o == $u ? n.constructor : void 0, h = f ? _e(f) : "";
|
|
482
482
|
if (h)
|
|
483
483
|
switch (h) {
|
|
484
|
-
case Bu:
|
|
485
|
-
return bn;
|
|
486
|
-
case $u:
|
|
487
|
-
return yn;
|
|
488
484
|
case Vu:
|
|
489
|
-
return
|
|
485
|
+
return bn;
|
|
490
486
|
case Gu:
|
|
491
|
-
return
|
|
487
|
+
return yn;
|
|
492
488
|
case Yu:
|
|
489
|
+
return mn;
|
|
490
|
+
case zu:
|
|
493
491
|
return gn;
|
|
492
|
+
case Xu:
|
|
493
|
+
return _n;
|
|
494
494
|
}
|
|
495
495
|
return o;
|
|
496
496
|
});
|
|
497
|
-
var
|
|
498
|
-
function
|
|
497
|
+
var Wu = Object.prototype, Ju = Wu.hasOwnProperty;
|
|
498
|
+
function Hu(n) {
|
|
499
499
|
var o = n.length, f = new n.constructor(o);
|
|
500
|
-
return o && typeof n[0] == "string" &&
|
|
500
|
+
return o && typeof n[0] == "string" && Ju.call(n, "index") && (f.index = n.index, f.input = n.input), f;
|
|
501
501
|
}
|
|
502
|
-
var En =
|
|
502
|
+
var En = ee.Uint8Array;
|
|
503
503
|
function yr(n) {
|
|
504
504
|
var o = new n.constructor(n.byteLength);
|
|
505
505
|
return new En(o).set(new En(n)), o;
|
|
506
506
|
}
|
|
507
|
-
function
|
|
507
|
+
function Ku(n, o) {
|
|
508
508
|
var f = o ? yr(n.buffer) : n.buffer;
|
|
509
509
|
return new n.constructor(f, n.byteOffset, n.byteLength);
|
|
510
510
|
}
|
|
511
|
-
var
|
|
512
|
-
function
|
|
513
|
-
var o = new n.constructor(n.source,
|
|
511
|
+
var qu = /\w*$/;
|
|
512
|
+
function Zu(n) {
|
|
513
|
+
var o = new n.constructor(n.source, qu.exec(n));
|
|
514
514
|
return o.lastIndex = n.lastIndex, o;
|
|
515
515
|
}
|
|
516
516
|
var Rn = we ? we.prototype : void 0, On = Rn ? Rn.valueOf : void 0;
|
|
517
|
-
function
|
|
517
|
+
function Qu(n) {
|
|
518
518
|
return On ? Object(On.call(n)) : {};
|
|
519
519
|
}
|
|
520
|
-
function
|
|
520
|
+
function es(n, o) {
|
|
521
521
|
var f = o ? yr(n.buffer) : n.buffer;
|
|
522
522
|
return new n.constructor(f, n.byteOffset, n.length);
|
|
523
523
|
}
|
|
524
|
-
var
|
|
525
|
-
function
|
|
524
|
+
var ts = "[object Boolean]", rs = "[object Date]", ns = "[object Map]", is = "[object Number]", as = "[object RegExp]", os = "[object Set]", us = "[object String]", ss = "[object Symbol]", ls = "[object ArrayBuffer]", cs = "[object DataView]", fs = "[object Float32Array]", ps = "[object Float64Array]", ds = "[object Int8Array]", hs = "[object Int16Array]", vs = "[object Int32Array]", ys = "[object Uint8Array]", ms = "[object Uint8ClampedArray]", gs = "[object Uint16Array]", _s = "[object Uint32Array]";
|
|
525
|
+
function bs(n, o, f) {
|
|
526
526
|
var h = n.constructor;
|
|
527
527
|
switch (o) {
|
|
528
|
-
case
|
|
528
|
+
case ls:
|
|
529
529
|
return yr(n);
|
|
530
|
-
case
|
|
531
|
-
case
|
|
530
|
+
case ts:
|
|
531
|
+
case rs:
|
|
532
532
|
return new h(+n);
|
|
533
|
-
case ss:
|
|
534
|
-
return Ju(n, f);
|
|
535
|
-
case ls:
|
|
536
533
|
case cs:
|
|
534
|
+
return Ku(n, f);
|
|
537
535
|
case fs:
|
|
538
536
|
case ps:
|
|
539
537
|
case ds:
|
|
@@ -541,76 +539,78 @@ function _s(n, o, f) {
|
|
|
541
539
|
case vs:
|
|
542
540
|
case ys:
|
|
543
541
|
case ms:
|
|
544
|
-
|
|
545
|
-
case
|
|
546
|
-
return
|
|
547
|
-
case rs:
|
|
548
|
-
case as:
|
|
549
|
-
return new h(n);
|
|
542
|
+
case gs:
|
|
543
|
+
case _s:
|
|
544
|
+
return es(n, f);
|
|
550
545
|
case ns:
|
|
551
|
-
return Ku(n);
|
|
552
|
-
case is:
|
|
553
546
|
return new h();
|
|
547
|
+
case is:
|
|
548
|
+
case us:
|
|
549
|
+
return new h(n);
|
|
550
|
+
case as:
|
|
551
|
+
return Zu(n);
|
|
554
552
|
case os:
|
|
555
|
-
return
|
|
553
|
+
return new h();
|
|
554
|
+
case ss:
|
|
555
|
+
return Qu(n);
|
|
556
556
|
}
|
|
557
557
|
}
|
|
558
|
-
function gs(n) {
|
|
559
|
-
return typeof n.constructor == "function" && !fr(n) ? Ha(ri(n)) : {};
|
|
560
|
-
}
|
|
561
|
-
var bs = "[object Map]";
|
|
562
558
|
function Es(n) {
|
|
563
|
-
return
|
|
559
|
+
return typeof n.constructor == "function" && !fr(n) ? qa(ni(n)) : {};
|
|
560
|
+
}
|
|
561
|
+
var Rs = "[object Map]";
|
|
562
|
+
function Os(n) {
|
|
563
|
+
return qe(n) && ie(n) == Rs;
|
|
564
564
|
}
|
|
565
|
-
var Tn =
|
|
566
|
-
function
|
|
567
|
-
return
|
|
565
|
+
var Tn = Pe && Pe.isMap, Ts = Tn ? pr(Tn) : Os, Ns = "[object Set]";
|
|
566
|
+
function Ss(n) {
|
|
567
|
+
return qe(n) && ie(n) == Ns;
|
|
568
568
|
}
|
|
569
|
-
var Nn =
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
function pt(n, o, f, h,
|
|
573
|
-
var m, T = o &
|
|
569
|
+
var Nn = Pe && Pe.isSet, xs = Nn ? pr(Nn) : Ss, ws = 1, Ps = 2, Cs = 4, si = "[object Arguments]", As = "[object Array]", ks = "[object Boolean]", Is = "[object Date]", Ds = "[object Error]", li = "[object Function]", Ls = "[object GeneratorFunction]", Fs = "[object Map]", Ms = "[object Number]", ci = "[object Object]", Us = "[object RegExp]", js = "[object Set]", Bs = "[object String]", $s = "[object Symbol]", Vs = "[object WeakMap]", Gs = "[object ArrayBuffer]", Ys = "[object DataView]", zs = "[object Float32Array]", Xs = "[object Float64Array]", Ws = "[object Int8Array]", Js = "[object Int16Array]", Hs = "[object Int32Array]", Ks = "[object Uint8Array]", qs = "[object Uint8ClampedArray]", Zs = "[object Uint16Array]", Qs = "[object Uint32Array]", F = {};
|
|
570
|
+
F[si] = F[As] = F[Gs] = F[Ys] = F[ks] = F[Is] = F[zs] = F[Xs] = F[Ws] = F[Js] = F[Hs] = F[Fs] = F[Ms] = F[ci] = F[Us] = F[js] = F[Bs] = F[$s] = F[Ks] = F[qs] = F[Zs] = F[Qs] = !0;
|
|
571
|
+
F[Ds] = F[li] = F[Vs] = !1;
|
|
572
|
+
function pt(n, o, f, h, g, b) {
|
|
573
|
+
var m, T = o & ws, R = o & Ps, r = o & Cs;
|
|
574
574
|
if (m !== void 0)
|
|
575
575
|
return m;
|
|
576
|
-
if (!
|
|
576
|
+
if (!Ze(n))
|
|
577
577
|
return n;
|
|
578
578
|
var t = cr(n);
|
|
579
579
|
if (t) {
|
|
580
|
-
if (m =
|
|
581
|
-
return
|
|
580
|
+
if (m = Hu(n), !T)
|
|
581
|
+
return Za(n, m);
|
|
582
582
|
} else {
|
|
583
|
-
var e =
|
|
584
|
-
if (
|
|
585
|
-
return
|
|
586
|
-
if (e ==
|
|
587
|
-
if (m =
|
|
588
|
-
return
|
|
583
|
+
var e = ie(n), i = e == li || e == Ls;
|
|
584
|
+
if (Zn(n))
|
|
585
|
+
return ku(n, T);
|
|
586
|
+
if (e == ci || e == si || i && !g) {
|
|
587
|
+
if (m = R || i ? {} : Es(n), !T)
|
|
588
|
+
return R ? Uu(n, Cu(m, n)) : Fu(n, Pu(m, n));
|
|
589
589
|
} else {
|
|
590
|
-
if (!
|
|
591
|
-
return
|
|
592
|
-
m =
|
|
590
|
+
if (!F[e])
|
|
591
|
+
return g ? n : {};
|
|
592
|
+
m = bs(n, e, T);
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
595
|
b || (b = new Ie());
|
|
596
596
|
var u = b.get(n);
|
|
597
597
|
if (u)
|
|
598
598
|
return u;
|
|
599
|
-
b.set(n, m),
|
|
599
|
+
b.set(n, m), xs(n) ? n.forEach(function(a) {
|
|
600
600
|
m.add(pt(a, o, f, a, n, b));
|
|
601
|
-
}) :
|
|
601
|
+
}) : Ts(n) && n.forEach(function(a, p) {
|
|
602
602
|
m.set(p, pt(a, o, f, p, n, b));
|
|
603
603
|
});
|
|
604
|
-
var s = r ?
|
|
605
|
-
return
|
|
606
|
-
l && (p = a, a = n[p]),
|
|
604
|
+
var s = r ? R ? Bu : ju : R ? hr : dr, l = t ? void 0 : s(n);
|
|
605
|
+
return Qa(l || n, function(a, p) {
|
|
606
|
+
l && (p = a, a = n[p]), Wn(m, p, pt(a, o, f, p, n, b));
|
|
607
607
|
}), m;
|
|
608
608
|
}
|
|
609
|
-
var
|
|
609
|
+
var el = 1, tl = 4;
|
|
610
610
|
function dt(n) {
|
|
611
|
-
return pt(n,
|
|
611
|
+
return pt(n, el | tl);
|
|
612
612
|
}
|
|
613
|
-
function
|
|
613
|
+
function rl(n, o) {
|
|
614
614
|
if (n === "page") {
|
|
615
615
|
if (o == "common")
|
|
616
616
|
return "pageCommon";
|
|
@@ -625,21 +625,21 @@ function el(n, o) {
|
|
|
625
625
|
function Sn(n, o) {
|
|
626
626
|
return n.array ? dt(o ? n.default : n.defaultArray) : dt(n.default);
|
|
627
627
|
}
|
|
628
|
-
function
|
|
629
|
-
function f(h,
|
|
630
|
-
if (
|
|
631
|
-
if (
|
|
628
|
+
function xn(n, o) {
|
|
629
|
+
function f(h, g) {
|
|
630
|
+
if (g.ui) {
|
|
631
|
+
if (g.ui === "strInput" && g.static)
|
|
632
632
|
return;
|
|
633
|
-
h[
|
|
633
|
+
h[g.key] = Sn(g);
|
|
634
634
|
} else
|
|
635
|
-
|
|
636
|
-
h[
|
|
635
|
+
g.array ? h[g.key] = Sn(g) : g.children.forEach((b) => {
|
|
636
|
+
h[g.key] = {}, f(h[g.key], b);
|
|
637
637
|
});
|
|
638
638
|
}
|
|
639
639
|
o.forEach((h) => f(n, h));
|
|
640
640
|
}
|
|
641
|
-
function
|
|
642
|
-
const b = `type=${n} subtype=${o} version=${f} ref=${h} keyOrRefid=${
|
|
641
|
+
function nl(n, o, f, h, g) {
|
|
642
|
+
const b = `type=${n} subtype=${o} version=${f} ref=${h} keyOrRefid=${g}`, m = rl(n, o);
|
|
643
643
|
if (!m) {
|
|
644
644
|
console.error(`spawnNode prop tag not found, ${b}`);
|
|
645
645
|
return;
|
|
@@ -649,14 +649,14 @@ function tl(n, o, f, h, _) {
|
|
|
649
649
|
console.error(`spawnNode pkg not found version, ${b}`);
|
|
650
650
|
return;
|
|
651
651
|
}
|
|
652
|
-
const
|
|
652
|
+
const R = {
|
|
653
653
|
basic: {
|
|
654
654
|
id: "",
|
|
655
655
|
key: ""
|
|
656
656
|
}
|
|
657
|
-
}, r =
|
|
657
|
+
}, r = $n(16);
|
|
658
658
|
if (h) {
|
|
659
|
-
const t = T.refKey, e =
|
|
659
|
+
const t = T.refKey, e = g;
|
|
660
660
|
if (!T.elements.has(t)) {
|
|
661
661
|
console.error(`spawnNode [ref] element not found in pkg, ${b}`);
|
|
662
662
|
return;
|
|
@@ -671,11 +671,11 @@ function tl(n, o, f, h, _) {
|
|
|
671
671
|
console.error(`spawnNode [ref] props not found, ${b}`);
|
|
672
672
|
return;
|
|
673
673
|
}
|
|
674
|
-
|
|
674
|
+
xn(R, u), R.basic.id = r, R.basic.key = t, R.ref = {
|
|
675
675
|
id: e
|
|
676
676
|
};
|
|
677
677
|
} else {
|
|
678
|
-
const t =
|
|
678
|
+
const t = g;
|
|
679
679
|
if (!T.elements.has(t)) {
|
|
680
680
|
console.error(`spawnNode [key] element not found in pkg, ${b}`);
|
|
681
681
|
return;
|
|
@@ -690,126 +690,137 @@ function tl(n, o, f, h, _) {
|
|
|
690
690
|
console.error(`spawnNode [key] props not found, ${b}`);
|
|
691
691
|
return;
|
|
692
692
|
}
|
|
693
|
-
|
|
693
|
+
xn(R, i), R.basic.id = r, R.basic.key = t, e.leaf || (R.children = []);
|
|
694
694
|
}
|
|
695
|
-
return
|
|
695
|
+
return R;
|
|
696
696
|
}
|
|
697
|
-
function
|
|
697
|
+
function ac(n, o) {
|
|
698
698
|
function f(h) {
|
|
699
699
|
if (h.basic.id === o)
|
|
700
700
|
return h;
|
|
701
701
|
if (h.children)
|
|
702
|
-
for (let
|
|
703
|
-
const b = f(h.children[
|
|
702
|
+
for (let g = 0; g < h.children.length; g++) {
|
|
703
|
+
const b = f(h.children[g]);
|
|
704
704
|
if (b)
|
|
705
705
|
return b;
|
|
706
706
|
}
|
|
707
707
|
}
|
|
708
708
|
for (let h = 0; h < n.length; h++) {
|
|
709
|
-
const
|
|
710
|
-
if (
|
|
711
|
-
return
|
|
709
|
+
const g = f(n[h]);
|
|
710
|
+
if (g)
|
|
711
|
+
return g;
|
|
712
712
|
}
|
|
713
713
|
}
|
|
714
|
-
function
|
|
714
|
+
function oc(n) {
|
|
715
715
|
function o(h) {
|
|
716
|
-
var
|
|
717
|
-
h.basic.id =
|
|
716
|
+
var g;
|
|
717
|
+
h.basic.id = $n(16), (g = h.children) == null || g.forEach((b) => o(b));
|
|
718
718
|
}
|
|
719
719
|
const f = dt(n);
|
|
720
720
|
return o(f), f;
|
|
721
721
|
}
|
|
722
|
-
const
|
|
722
|
+
const fi = "runtimeEnv", pi = "runtimeMode", di = "runtimeDevice", hi = "runtimeDark", vi = "runtimeType", yi = "runtimeData", mi = "runtimeDepends", gi = "runtimeInterpreter";
|
|
723
|
+
function uc(n) {
|
|
724
|
+
ce(fi, n);
|
|
725
|
+
}
|
|
726
|
+
function il() {
|
|
727
|
+
return fe(fi);
|
|
728
|
+
}
|
|
723
729
|
function sc(n) {
|
|
724
|
-
|
|
730
|
+
ce(pi, n);
|
|
725
731
|
}
|
|
726
|
-
function
|
|
727
|
-
return
|
|
732
|
+
function Ee() {
|
|
733
|
+
return fe(pi);
|
|
728
734
|
}
|
|
729
735
|
function lc(n) {
|
|
730
|
-
|
|
736
|
+
ce(di, gt(n));
|
|
731
737
|
}
|
|
732
|
-
function
|
|
733
|
-
return
|
|
738
|
+
function _i() {
|
|
739
|
+
return fe(di);
|
|
734
740
|
}
|
|
735
741
|
function cc(n) {
|
|
736
|
-
|
|
742
|
+
ce(hi, gt(n));
|
|
737
743
|
}
|
|
738
|
-
function
|
|
739
|
-
return
|
|
744
|
+
function De() {
|
|
745
|
+
return fe(hi);
|
|
740
746
|
}
|
|
741
747
|
function fc(n) {
|
|
742
|
-
|
|
748
|
+
ce(vi, n);
|
|
743
749
|
}
|
|
744
|
-
function
|
|
745
|
-
return
|
|
750
|
+
function bi() {
|
|
751
|
+
return fe(vi);
|
|
746
752
|
}
|
|
747
753
|
function pc(n) {
|
|
748
|
-
|
|
754
|
+
console.assert(jn(n)), ce(yi, gt(n));
|
|
749
755
|
}
|
|
750
|
-
function
|
|
751
|
-
return
|
|
756
|
+
function Ei() {
|
|
757
|
+
return fe(yi);
|
|
752
758
|
}
|
|
753
759
|
function dc(n) {
|
|
754
|
-
console.assert(
|
|
755
|
-
}
|
|
756
|
-
function bi() {
|
|
757
|
-
return ce(vi);
|
|
760
|
+
console.assert(jn(n)), ce(mi, gt(n));
|
|
758
761
|
}
|
|
759
|
-
function
|
|
760
|
-
|
|
761
|
-
}
|
|
762
|
-
function nl() {
|
|
763
|
-
return ce(yi);
|
|
762
|
+
function al() {
|
|
763
|
+
return fe(mi);
|
|
764
764
|
}
|
|
765
|
-
function
|
|
766
|
-
|
|
765
|
+
function ol(n) {
|
|
766
|
+
ce(gi, n);
|
|
767
767
|
}
|
|
768
|
-
function
|
|
769
|
-
return
|
|
768
|
+
function ul() {
|
|
769
|
+
return fe(gi);
|
|
770
770
|
}
|
|
771
|
-
const
|
|
771
|
+
const sl = /* @__PURE__ */ pe({
|
|
772
772
|
__name: "index",
|
|
773
773
|
props: {
|
|
774
774
|
node: {},
|
|
775
775
|
outer: { type: Boolean }
|
|
776
776
|
},
|
|
777
777
|
setup(n) {
|
|
778
|
-
const o = n, f = Ee(), h =
|
|
778
|
+
const o = n, f = Ee(), h = De(), g = ul(), b = N(() => {
|
|
779
779
|
var i;
|
|
780
780
|
return (i = o.node.settings) == null ? void 0 : i.text;
|
|
781
|
-
}), m =
|
|
781
|
+
}), m = N(() => {
|
|
782
782
|
var i;
|
|
783
783
|
return (i = o.node.settings) == null ? void 0 : i.disabled;
|
|
784
|
-
}), T =
|
|
784
|
+
}), T = N(() => {
|
|
785
785
|
var i;
|
|
786
786
|
return (i = o.node.settings) == null ? void 0 : i.variant;
|
|
787
|
-
}),
|
|
787
|
+
}), R = N(() => {
|
|
788
788
|
var i;
|
|
789
789
|
return (i = o.node.settings) == null ? void 0 : i.density;
|
|
790
|
-
}), r =
|
|
790
|
+
}), r = N(() => {
|
|
791
791
|
var i;
|
|
792
792
|
return (i = o.node.settings) == null ? void 0 : i.block;
|
|
793
|
-
}), t =
|
|
794
|
-
if (f !== "runtime" || !
|
|
793
|
+
}), t = N(() => h.value ? "dark" : "light"), e = () => {
|
|
794
|
+
if (f !== "runtime" || !g)
|
|
795
795
|
return;
|
|
796
|
-
const i =
|
|
797
|
-
|
|
796
|
+
const i = g.nativeToPseudo(o.node.basic.id);
|
|
797
|
+
g.appendCode(`__triggerEvent__('${i}', 'click');`), g.run();
|
|
798
798
|
};
|
|
799
799
|
return (i, u) => {
|
|
800
800
|
const s = Ae("v-btn");
|
|
801
|
-
return
|
|
801
|
+
return K(), ge(s, {
|
|
802
802
|
text: b.value,
|
|
803
803
|
disabled: m.value,
|
|
804
804
|
variant: T.value,
|
|
805
|
-
density:
|
|
805
|
+
density: R.value,
|
|
806
806
|
block: r.value,
|
|
807
807
|
theme: t.value,
|
|
808
808
|
onClick: e
|
|
809
809
|
}, null, 8, ["text", "disabled", "variant", "density", "block", "theme"]);
|
|
810
810
|
};
|
|
811
811
|
}
|
|
812
|
-
}),
|
|
812
|
+
}), ll = [
|
|
813
|
+
{ title: "x-runtime-lib.elevated", value: "elevated" },
|
|
814
|
+
{ title: "x-runtime-lib.flat", value: "flat" },
|
|
815
|
+
{ title: "x-runtime-lib.tonal", value: "tonal" },
|
|
816
|
+
{ title: "x-runtime-lib.outlined", value: "outlined" },
|
|
817
|
+
{ title: "x-runtime-lib.text", value: "text" },
|
|
818
|
+
{ title: "x-runtime-lib.plain", value: "plain" }
|
|
819
|
+
], Ri = [
|
|
820
|
+
{ title: "x-runtime-lib.default", value: "default" },
|
|
821
|
+
{ title: "x-runtime-lib.comfortable", value: "comfortable" },
|
|
822
|
+
{ title: "x-runtime-lib.compact", value: "compact" }
|
|
823
|
+
], er = "btn_v1", tr = "combobox_v1", rr = "container_v1", nr = "data_table_v1", Oi = "globality_v1", ir = "number_input_v1", Ti = "ref_v1", ar = "select_v1", or = "text_field_v1", X = {
|
|
813
824
|
key: "basic",
|
|
814
825
|
name: "x-runtime-lib.basic",
|
|
815
826
|
children: [
|
|
@@ -834,18 +845,7 @@ const ol = /* @__PURE__ */ me({
|
|
|
834
845
|
default: ""
|
|
835
846
|
}
|
|
836
847
|
]
|
|
837
|
-
},
|
|
838
|
-
{ title: "x-runtime-lib.elevated", value: "elevated" },
|
|
839
|
-
{ title: "x-runtime-lib.flat", value: "flat" },
|
|
840
|
-
{ title: "x-runtime-lib.tonal", value: "tonal" },
|
|
841
|
-
{ title: "x-runtime-lib.outlined", value: "outlined" },
|
|
842
|
-
{ title: "x-runtime-lib.text", value: "text" },
|
|
843
|
-
{ title: "x-runtime-lib.plain", value: "plain" }
|
|
844
|
-
], sl = [
|
|
845
|
-
{ title: "x-runtime-lib.default", value: "default" },
|
|
846
|
-
{ title: "x-runtime-lib.comfortable", value: "comfortable" },
|
|
847
|
-
{ title: "x-runtime-lib.compact", value: "compact" }
|
|
848
|
-
], wn = {
|
|
848
|
+
}, wn = {
|
|
849
849
|
key: "settings",
|
|
850
850
|
name: "x-runtime-lib.settings",
|
|
851
851
|
children: [
|
|
@@ -865,14 +865,14 @@ const ol = /* @__PURE__ */ me({
|
|
|
865
865
|
key: "variant",
|
|
866
866
|
name: "x-runtime-lib.variant",
|
|
867
867
|
ui: "select",
|
|
868
|
-
items:
|
|
868
|
+
items: ll,
|
|
869
869
|
default: "elevated"
|
|
870
870
|
},
|
|
871
871
|
{
|
|
872
872
|
key: "density",
|
|
873
873
|
name: "x-runtime-lib.density",
|
|
874
874
|
ui: "select",
|
|
875
|
-
items:
|
|
875
|
+
items: Ri,
|
|
876
876
|
default: "default"
|
|
877
877
|
},
|
|
878
878
|
{
|
|
@@ -882,10 +882,10 @@ const ol = /* @__PURE__ */ me({
|
|
|
882
882
|
default: !1
|
|
883
883
|
}
|
|
884
884
|
]
|
|
885
|
-
},
|
|
885
|
+
}, cl = {
|
|
886
886
|
key: er,
|
|
887
887
|
name: "x-runtime-lib.button",
|
|
888
|
-
comp:
|
|
888
|
+
comp: sl,
|
|
889
889
|
leaf: !0,
|
|
890
890
|
events: [
|
|
891
891
|
{
|
|
@@ -896,60 +896,60 @@ const ol = /* @__PURE__ */ me({
|
|
|
896
896
|
],
|
|
897
897
|
methods: [],
|
|
898
898
|
props: {
|
|
899
|
-
pageCommon: [
|
|
900
|
-
compCommon: [
|
|
899
|
+
pageCommon: [X, wn],
|
|
900
|
+
compCommon: [X, wn]
|
|
901
901
|
}
|
|
902
|
-
},
|
|
902
|
+
}, fl = { key: 0 }, pl = /* @__PURE__ */ pe({
|
|
903
903
|
__name: "index",
|
|
904
904
|
props: {
|
|
905
905
|
node: {},
|
|
906
906
|
outer: { type: Boolean }
|
|
907
907
|
},
|
|
908
908
|
setup(n) {
|
|
909
|
-
const o = n, f = Ee(), h =
|
|
909
|
+
const o = n, f = Ee(), h = De(), g = N(() => {
|
|
910
910
|
var e;
|
|
911
911
|
return (e = o.node.settings) == null ? void 0 : e.value;
|
|
912
|
-
}), b =
|
|
912
|
+
}), b = N(() => {
|
|
913
913
|
var e;
|
|
914
914
|
return (e = o.node.settings) == null ? void 0 : e.label;
|
|
915
|
-
}), m =
|
|
915
|
+
}), m = N(() => {
|
|
916
916
|
var e;
|
|
917
917
|
return (e = o.node.settings) == null ? void 0 : e.placeholder;
|
|
918
|
-
}), T =
|
|
918
|
+
}), T = N(() => {
|
|
919
919
|
var e;
|
|
920
920
|
return (e = o.node.settings) == null ? void 0 : e.hideDetails;
|
|
921
|
-
}),
|
|
921
|
+
}), R = N(() => {
|
|
922
922
|
var e;
|
|
923
923
|
return (e = o.node.settings) == null ? void 0 : e.singleLine;
|
|
924
|
-
}), r =
|
|
924
|
+
}), r = N(() => {
|
|
925
925
|
var e;
|
|
926
926
|
return f !== "runtime" ? !0 : (e = o.node.settings) == null ? void 0 : e.readonly;
|
|
927
|
-
}), t =
|
|
927
|
+
}), t = N(() => h.value ? "dark" : "light");
|
|
928
928
|
return (e, i) => {
|
|
929
929
|
const u = Ae("v-combobox");
|
|
930
|
-
return
|
|
930
|
+
return _t(f) === "editor" ? (K(), He("div", fl, [
|
|
931
931
|
bt(u, {
|
|
932
|
-
"model-value":
|
|
932
|
+
"model-value": g.value,
|
|
933
933
|
label: b.value,
|
|
934
934
|
placeholder: m.value,
|
|
935
935
|
"hide-details": T.value,
|
|
936
|
-
"single-line":
|
|
936
|
+
"single-line": R.value,
|
|
937
937
|
readonly: r.value,
|
|
938
938
|
theme: t.value
|
|
939
939
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
940
|
-
])) : (
|
|
940
|
+
])) : (K(), ge(u, {
|
|
941
941
|
key: 1,
|
|
942
|
-
"model-value":
|
|
942
|
+
"model-value": g.value,
|
|
943
943
|
label: b.value,
|
|
944
944
|
placeholder: m.value,
|
|
945
945
|
"hide-details": T.value,
|
|
946
|
-
"single-line":
|
|
946
|
+
"single-line": R.value,
|
|
947
947
|
readonly: r.value,
|
|
948
948
|
theme: t.value
|
|
949
949
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
950
950
|
};
|
|
951
951
|
}
|
|
952
|
-
}),
|
|
952
|
+
}), Pn = {
|
|
953
953
|
key: "settings",
|
|
954
954
|
name: "x-runtime-lib.settings",
|
|
955
955
|
children: [
|
|
@@ -990,29 +990,29 @@ const ol = /* @__PURE__ */ me({
|
|
|
990
990
|
default: !1
|
|
991
991
|
}
|
|
992
992
|
]
|
|
993
|
-
},
|
|
993
|
+
}, dl = {
|
|
994
994
|
key: tr,
|
|
995
995
|
name: "x-runtime-lib.combobox",
|
|
996
|
-
comp:
|
|
996
|
+
comp: pl,
|
|
997
997
|
leaf: !1,
|
|
998
998
|
events: [],
|
|
999
999
|
methods: [],
|
|
1000
1000
|
props: {
|
|
1001
|
-
pageCommon: [
|
|
1002
|
-
compCommon: [
|
|
1001
|
+
pageCommon: [X, Pn],
|
|
1002
|
+
compCommon: [X, Pn]
|
|
1003
1003
|
}
|
|
1004
1004
|
};
|
|
1005
|
-
function
|
|
1006
|
-
const h =
|
|
1005
|
+
function Ni(n, o, f) {
|
|
1006
|
+
const h = N(() => {
|
|
1007
1007
|
var t;
|
|
1008
1008
|
return (t = f.node.size) == null ? void 0 : t.width;
|
|
1009
|
-
}),
|
|
1009
|
+
}), g = N(() => {
|
|
1010
1010
|
var t;
|
|
1011
1011
|
return (t = f.node.size) == null ? void 0 : t.minWidth;
|
|
1012
|
-
}), b =
|
|
1012
|
+
}), b = N(() => {
|
|
1013
1013
|
var t;
|
|
1014
1014
|
return (t = f.node.size) == null ? void 0 : t.maxWidth;
|
|
1015
|
-
}), m =
|
|
1015
|
+
}), m = N(() => {
|
|
1016
1016
|
var t, e;
|
|
1017
1017
|
if (f.outer && n === "editor") {
|
|
1018
1018
|
const i = Wt((t = f.node.size) == null ? void 0 : t.height);
|
|
@@ -1020,7 +1020,7 @@ function Oi(n, o, f) {
|
|
|
1020
1020
|
return i / 100 * o.value.height + "px";
|
|
1021
1021
|
}
|
|
1022
1022
|
return (e = f.node.size) == null ? void 0 : e.height;
|
|
1023
|
-
}), T =
|
|
1023
|
+
}), T = N(() => {
|
|
1024
1024
|
var t, e;
|
|
1025
1025
|
if (f.outer && n === "editor") {
|
|
1026
1026
|
const i = Wt((t = f.node.size) == null ? void 0 : t.minHeight);
|
|
@@ -1028,7 +1028,7 @@ function Oi(n, o, f) {
|
|
|
1028
1028
|
return i / 100 * o.value.height + "px";
|
|
1029
1029
|
}
|
|
1030
1030
|
return (e = f.node.size) == null ? void 0 : e.minHeight;
|
|
1031
|
-
}),
|
|
1031
|
+
}), R = N(() => {
|
|
1032
1032
|
var t, e;
|
|
1033
1033
|
if (f.outer && n === "editor") {
|
|
1034
1034
|
const i = Wt((t = f.node.size) == null ? void 0 : t.maxHeight);
|
|
@@ -1038,87 +1038,87 @@ function Oi(n, o, f) {
|
|
|
1038
1038
|
return (e = f.node.size) == null ? void 0 : e.maxHeight;
|
|
1039
1039
|
});
|
|
1040
1040
|
function r(t) {
|
|
1041
|
-
h.value && (t.width = h.value),
|
|
1041
|
+
h.value && (t.width = h.value), g.value && (t.minWidth = g.value), b.value && (t.maxWidth = b.value), m.value && (t.height = m.value), T.value && (t.minHeight = T.value), R.value && (t.maxHeight = R.value);
|
|
1042
1042
|
}
|
|
1043
|
-
return { width: h, minWidth:
|
|
1043
|
+
return { width: h, minWidth: g, maxWidth: b, height: m, minHeight: T, maxHeight: R, applySize: r };
|
|
1044
1044
|
}
|
|
1045
|
-
function
|
|
1046
|
-
const o =
|
|
1045
|
+
function hl(n) {
|
|
1046
|
+
const o = N(() => {
|
|
1047
1047
|
var m;
|
|
1048
1048
|
return (m = n.node.margin) == null ? void 0 : m.top;
|
|
1049
|
-
}), f =
|
|
1049
|
+
}), f = N(() => {
|
|
1050
1050
|
var m;
|
|
1051
1051
|
return (m = n.node.margin) == null ? void 0 : m.left;
|
|
1052
|
-
}), h =
|
|
1052
|
+
}), h = N(() => {
|
|
1053
1053
|
var m;
|
|
1054
1054
|
return (m = n.node.margin) == null ? void 0 : m.bottom;
|
|
1055
|
-
}),
|
|
1055
|
+
}), g = N(() => {
|
|
1056
1056
|
var m;
|
|
1057
1057
|
return (m = n.node.margin) == null ? void 0 : m.right;
|
|
1058
1058
|
});
|
|
1059
1059
|
function b(m) {
|
|
1060
|
-
o.value && (m.marginTop = o.value), f.value && (m.marginLeft = f.value), h.value && (m.marginBottom = h.value),
|
|
1060
|
+
o.value && (m.marginTop = o.value), f.value && (m.marginLeft = f.value), h.value && (m.marginBottom = h.value), g.value && (m.marginRight = g.value);
|
|
1061
1061
|
}
|
|
1062
|
-
return { marginTop: o, marginLeft: f, marginBottom: h, marginRight:
|
|
1062
|
+
return { marginTop: o, marginLeft: f, marginBottom: h, marginRight: g, applyMargin: b };
|
|
1063
1063
|
}
|
|
1064
|
-
function
|
|
1065
|
-
const o =
|
|
1064
|
+
function vl(n) {
|
|
1065
|
+
const o = N(() => {
|
|
1066
1066
|
var m;
|
|
1067
1067
|
return (m = n.node.padding) == null ? void 0 : m.top;
|
|
1068
|
-
}), f =
|
|
1068
|
+
}), f = N(() => {
|
|
1069
1069
|
var m;
|
|
1070
1070
|
return (m = n.node.padding) == null ? void 0 : m.left;
|
|
1071
|
-
}), h =
|
|
1071
|
+
}), h = N(() => {
|
|
1072
1072
|
var m;
|
|
1073
1073
|
return (m = n.node.padding) == null ? void 0 : m.bottom;
|
|
1074
|
-
}),
|
|
1074
|
+
}), g = N(() => {
|
|
1075
1075
|
var m;
|
|
1076
1076
|
return (m = n.node.padding) == null ? void 0 : m.right;
|
|
1077
1077
|
});
|
|
1078
1078
|
function b(m) {
|
|
1079
|
-
o.value && (m.paddingTop = o.value), f.value && (m.paddingLeft = f.value), h.value && (m.paddingBottom = h.value),
|
|
1079
|
+
o.value && (m.paddingTop = o.value), f.value && (m.paddingLeft = f.value), h.value && (m.paddingBottom = h.value), g.value && (m.paddingRight = g.value);
|
|
1080
1080
|
}
|
|
1081
|
-
return { paddingTop: o, paddingLeft: f, paddingBottom: h, paddingRight:
|
|
1081
|
+
return { paddingTop: o, paddingLeft: f, paddingBottom: h, paddingRight: g, applyPadding: b };
|
|
1082
1082
|
}
|
|
1083
|
-
function
|
|
1084
|
-
const o =
|
|
1083
|
+
function yl(n) {
|
|
1084
|
+
const o = N(() => {
|
|
1085
1085
|
var b;
|
|
1086
1086
|
return (b = n.node.border) == null ? void 0 : b.style;
|
|
1087
|
-
}), f =
|
|
1087
|
+
}), f = N(() => {
|
|
1088
1088
|
var b;
|
|
1089
1089
|
return (b = n.node.border) == null ? void 0 : b.width;
|
|
1090
|
-
}), h =
|
|
1090
|
+
}), h = N(() => {
|
|
1091
1091
|
var b;
|
|
1092
1092
|
return (b = n.node.border) == null ? void 0 : b.color;
|
|
1093
1093
|
});
|
|
1094
|
-
function
|
|
1094
|
+
function g(b) {
|
|
1095
1095
|
o.value && (b.borderStyle = o.value), f.value && (b.borderWidth = f.value), h.value && (b.borderColor = h.value);
|
|
1096
1096
|
}
|
|
1097
|
-
return { borderStyle: o, borderWidth: f, borderColor: h, applyBorder:
|
|
1097
|
+
return { borderStyle: o, borderWidth: f, borderColor: h, applyBorder: g };
|
|
1098
1098
|
}
|
|
1099
|
-
const
|
|
1099
|
+
const ml = /* @__PURE__ */ pe({
|
|
1100
1100
|
__name: "index",
|
|
1101
1101
|
props: {
|
|
1102
1102
|
node: {},
|
|
1103
1103
|
outer: { type: Boolean }
|
|
1104
1104
|
},
|
|
1105
1105
|
setup(n) {
|
|
1106
|
-
const o = n, f = Ee(), h = _i(),
|
|
1106
|
+
const o = n, f = Ee(), h = _i(), g = bi(), b = Ei(), { applySize: m } = Ni(f, h, o), { applyMargin: T } = hl(o), { applyPadding: R } = vl(o), { applyBorder: r } = yl(o), t = N(() => {
|
|
1107
1107
|
const e = {}, i = b.type;
|
|
1108
|
-
return
|
|
1108
|
+
return g === "page" ? i === "common" ? (m(e), T(e), R(e), r(e)) : console.assert(!1) : g === "comp" && i === "common" ? (m(e), T(e), R(e), r(e)) : console.assert(!1), e;
|
|
1109
1109
|
});
|
|
1110
|
-
return (e, i) => (
|
|
1111
|
-
style:
|
|
1110
|
+
return (e, i) => (K(), He("div", {
|
|
1111
|
+
style: va(t.value)
|
|
1112
1112
|
}, [
|
|
1113
|
-
|
|
1113
|
+
ya(e.$slots, "default")
|
|
1114
1114
|
], 4));
|
|
1115
1115
|
}
|
|
1116
|
-
}),
|
|
1116
|
+
}), gl = [
|
|
1117
1117
|
{ title: "x-runtime-lib.default", value: "" },
|
|
1118
1118
|
{ title: "x-runtime-lib.solid", value: "solid" },
|
|
1119
1119
|
{ title: "x-runtime-lib.dashed", value: "dashed" },
|
|
1120
1120
|
{ title: "x-runtime-lib.dotted", value: "dotted" }
|
|
1121
|
-
],
|
|
1121
|
+
], H = [
|
|
1122
1122
|
{
|
|
1123
1123
|
name: "x-runtime-lib.default",
|
|
1124
1124
|
ui: "word",
|
|
@@ -1153,7 +1153,7 @@ const yl = /* @__PURE__ */ me({
|
|
|
1153
1153
|
key: "style",
|
|
1154
1154
|
name: "x-runtime-lib.style",
|
|
1155
1155
|
ui: "select",
|
|
1156
|
-
items:
|
|
1156
|
+
items: gl,
|
|
1157
1157
|
default: ""
|
|
1158
1158
|
},
|
|
1159
1159
|
{
|
|
@@ -1180,7 +1180,7 @@ const yl = /* @__PURE__ */ me({
|
|
|
1180
1180
|
key: "radius",
|
|
1181
1181
|
name: "x-runtime-lib.radius",
|
|
1182
1182
|
ui: "multiTypes",
|
|
1183
|
-
types:
|
|
1183
|
+
types: H,
|
|
1184
1184
|
default: ""
|
|
1185
1185
|
},
|
|
1186
1186
|
{
|
|
@@ -1344,42 +1344,42 @@ const yl = /* @__PURE__ */ me({
|
|
|
1344
1344
|
key: "width",
|
|
1345
1345
|
name: "x-runtime-lib.width",
|
|
1346
1346
|
ui: "multiTypes",
|
|
1347
|
-
types:
|
|
1347
|
+
types: H,
|
|
1348
1348
|
default: ""
|
|
1349
1349
|
},
|
|
1350
1350
|
{
|
|
1351
1351
|
key: "minWidth",
|
|
1352
1352
|
name: "x-runtime-lib.minWidth",
|
|
1353
1353
|
ui: "multiTypes",
|
|
1354
|
-
types:
|
|
1354
|
+
types: H,
|
|
1355
1355
|
default: ""
|
|
1356
1356
|
},
|
|
1357
1357
|
{
|
|
1358
1358
|
key: "maxWidth",
|
|
1359
1359
|
name: "x-runtime-lib.maxWidth",
|
|
1360
1360
|
ui: "multiTypes",
|
|
1361
|
-
types:
|
|
1361
|
+
types: H,
|
|
1362
1362
|
default: ""
|
|
1363
1363
|
},
|
|
1364
1364
|
{
|
|
1365
1365
|
key: "height",
|
|
1366
1366
|
name: "x-runtime-lib.height",
|
|
1367
1367
|
ui: "multiTypes",
|
|
1368
|
-
types:
|
|
1368
|
+
types: H,
|
|
1369
1369
|
default: ""
|
|
1370
1370
|
},
|
|
1371
1371
|
{
|
|
1372
1372
|
key: "minHeight",
|
|
1373
1373
|
name: "x-runtime-lib.minHeight",
|
|
1374
1374
|
ui: "multiTypes",
|
|
1375
|
-
types:
|
|
1375
|
+
types: H,
|
|
1376
1376
|
default: ""
|
|
1377
1377
|
},
|
|
1378
1378
|
{
|
|
1379
1379
|
key: "maxHeight",
|
|
1380
1380
|
name: "x-runtime-lib.maxHeight",
|
|
1381
1381
|
ui: "multiTypes",
|
|
1382
|
-
types:
|
|
1382
|
+
types: H,
|
|
1383
1383
|
default: ""
|
|
1384
1384
|
}
|
|
1385
1385
|
]
|
|
@@ -1390,7 +1390,7 @@ const yl = /* @__PURE__ */ me({
|
|
|
1390
1390
|
}, _l = {
|
|
1391
1391
|
key: rr,
|
|
1392
1392
|
name: "x-runtime-lib.container",
|
|
1393
|
-
comp:
|
|
1393
|
+
comp: ml,
|
|
1394
1394
|
leaf: !1,
|
|
1395
1395
|
events: [
|
|
1396
1396
|
{
|
|
@@ -1401,20 +1401,99 @@ const yl = /* @__PURE__ */ me({
|
|
|
1401
1401
|
],
|
|
1402
1402
|
methods: [],
|
|
1403
1403
|
props: {
|
|
1404
|
-
pageCommon: [
|
|
1405
|
-
compCommon: [
|
|
1404
|
+
pageCommon: [X, mt, ht, vt, yt, Cn],
|
|
1405
|
+
compCommon: [X, mt, ht, vt, yt, Cn]
|
|
1406
1406
|
}
|
|
1407
|
-
},
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
},
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1407
|
+
}, bl = /* @__PURE__ */ pe({
|
|
1408
|
+
__name: "index",
|
|
1409
|
+
props: {
|
|
1410
|
+
node: {},
|
|
1411
|
+
outer: { type: Boolean }
|
|
1412
|
+
},
|
|
1413
|
+
setup(n) {
|
|
1414
|
+
const o = n, f = De(), h = N(() => {
|
|
1415
|
+
var u;
|
|
1416
|
+
return (u = o.node.size) == null ? void 0 : u.width;
|
|
1417
|
+
}), g = N(() => {
|
|
1418
|
+
var u;
|
|
1419
|
+
return (u = o.node.size) == null ? void 0 : u.height;
|
|
1420
|
+
}), b = N(() => {
|
|
1421
|
+
var u;
|
|
1422
|
+
return (u = o.node.settings) == null ? void 0 : u.headers;
|
|
1423
|
+
}), m = N(() => {
|
|
1424
|
+
var u;
|
|
1425
|
+
return (u = o.node.settings) == null ? void 0 : u.items;
|
|
1426
|
+
}), T = N(() => {
|
|
1427
|
+
var u;
|
|
1428
|
+
return (u = o.node.settings) == null ? void 0 : u.density;
|
|
1429
|
+
}), R = N(() => {
|
|
1430
|
+
var u;
|
|
1431
|
+
return (u = o.node.settings) == null ? void 0 : u.fixedHeader;
|
|
1432
|
+
}), r = N(() => {
|
|
1433
|
+
var u;
|
|
1434
|
+
return (u = o.node.settings) == null ? void 0 : u.fixedFooter;
|
|
1435
|
+
}), t = N(() => {
|
|
1436
|
+
var u;
|
|
1437
|
+
return (u = o.node.settings) == null ? void 0 : u.loading;
|
|
1438
|
+
}), e = N(() => {
|
|
1439
|
+
var u;
|
|
1440
|
+
return (u = o.node.settings) == null ? void 0 : u.multiSort;
|
|
1441
|
+
}), i = N(() => f.value ? "dark" : "light");
|
|
1442
|
+
return (u, s) => {
|
|
1443
|
+
const l = Ae("v-data-table");
|
|
1444
|
+
return K(), ge(l, {
|
|
1445
|
+
width: h.value,
|
|
1446
|
+
height: g.value,
|
|
1447
|
+
headers: b.value,
|
|
1448
|
+
items: m.value,
|
|
1449
|
+
density: T.value,
|
|
1450
|
+
"fixed-header": R.value,
|
|
1451
|
+
"fixed-footer": r.value,
|
|
1452
|
+
loading: t.value,
|
|
1453
|
+
multiSort: e.value,
|
|
1454
|
+
theme: i.value
|
|
1455
|
+
}, null, 8, ["width", "height", "headers", "items", "density", "fixed-header", "fixed-footer", "loading", "multiSort", "theme"]);
|
|
1456
|
+
};
|
|
1457
|
+
}
|
|
1458
|
+
}), El = [
|
|
1459
|
+
{
|
|
1460
|
+
name: "x-runtime-lib.start",
|
|
1461
|
+
ui: "word",
|
|
1462
|
+
validator: (n) => n === "start",
|
|
1463
|
+
default: "start"
|
|
1464
|
+
},
|
|
1465
|
+
{
|
|
1466
|
+
name: "x-runtime-lib.center",
|
|
1467
|
+
ui: "word",
|
|
1468
|
+
validator: (n) => n === "center",
|
|
1469
|
+
default: "center"
|
|
1470
|
+
},
|
|
1471
|
+
{
|
|
1472
|
+
name: "x-runtime-lib.end",
|
|
1473
|
+
ui: "word",
|
|
1474
|
+
validator: (n) => n === "end",
|
|
1475
|
+
default: "end"
|
|
1476
|
+
}
|
|
1477
|
+
], An = {
|
|
1478
|
+
key: "size",
|
|
1479
|
+
name: "x-runtime-lib.size",
|
|
1480
|
+
children: [
|
|
1481
|
+
{
|
|
1482
|
+
key: "width",
|
|
1483
|
+
name: "x-runtime-lib.width",
|
|
1484
|
+
ui: "multiTypes",
|
|
1485
|
+
types: H,
|
|
1486
|
+
default: ""
|
|
1487
|
+
},
|
|
1488
|
+
{
|
|
1489
|
+
key: "height",
|
|
1490
|
+
name: "x-runtime-lib.height",
|
|
1491
|
+
ui: "multiTypes",
|
|
1492
|
+
types: H,
|
|
1493
|
+
default: ""
|
|
1494
|
+
}
|
|
1495
|
+
]
|
|
1496
|
+
}, kn = {
|
|
1418
1497
|
key: "settings",
|
|
1419
1498
|
name: "x-runtime-lib.settings",
|
|
1420
1499
|
children: [
|
|
@@ -1422,6 +1501,12 @@ const Rl = /* @__PURE__ */ gl(bl, [["render", El]]), An = {
|
|
|
1422
1501
|
key: "headers",
|
|
1423
1502
|
name: "x-runtime-lib.headers",
|
|
1424
1503
|
children: [
|
|
1504
|
+
{
|
|
1505
|
+
key: "value",
|
|
1506
|
+
name: "x-runtime-lib.value",
|
|
1507
|
+
ui: "strInput",
|
|
1508
|
+
default: ""
|
|
1509
|
+
},
|
|
1425
1510
|
{
|
|
1426
1511
|
key: "title",
|
|
1427
1512
|
name: "x-runtime-lib.title",
|
|
@@ -1429,28 +1514,99 @@ const Rl = /* @__PURE__ */ gl(bl, [["render", El]]), An = {
|
|
|
1429
1514
|
default: ""
|
|
1430
1515
|
},
|
|
1431
1516
|
{
|
|
1432
|
-
key: "
|
|
1433
|
-
name: "x-runtime-lib.
|
|
1434
|
-
ui: "
|
|
1517
|
+
key: "fixed",
|
|
1518
|
+
name: "x-runtime-lib.fixed",
|
|
1519
|
+
ui: "switch",
|
|
1520
|
+
default: !1
|
|
1521
|
+
},
|
|
1522
|
+
{
|
|
1523
|
+
key: "align",
|
|
1524
|
+
name: "x-runtime-lib.align",
|
|
1525
|
+
ui: "multiTypes",
|
|
1526
|
+
types: El,
|
|
1527
|
+
default: "start"
|
|
1528
|
+
},
|
|
1529
|
+
{
|
|
1530
|
+
key: "width",
|
|
1531
|
+
name: "x-runtime-lib.width",
|
|
1532
|
+
ui: "multiTypes",
|
|
1533
|
+
types: H,
|
|
1435
1534
|
default: ""
|
|
1535
|
+
},
|
|
1536
|
+
{
|
|
1537
|
+
key: "minWidth",
|
|
1538
|
+
name: "x-runtime-lib.minWidth",
|
|
1539
|
+
ui: "multiTypes",
|
|
1540
|
+
types: H,
|
|
1541
|
+
default: ""
|
|
1542
|
+
},
|
|
1543
|
+
{
|
|
1544
|
+
key: "maxWidth",
|
|
1545
|
+
name: "x-runtime-lib.maxWidth",
|
|
1546
|
+
ui: "multiTypes",
|
|
1547
|
+
types: H,
|
|
1548
|
+
default: ""
|
|
1549
|
+
},
|
|
1550
|
+
{
|
|
1551
|
+
key: "sortable",
|
|
1552
|
+
name: "x-runtime-lib.sortable",
|
|
1553
|
+
ui: "switch",
|
|
1554
|
+
default: !1
|
|
1436
1555
|
}
|
|
1437
1556
|
],
|
|
1438
1557
|
array: !0,
|
|
1439
1558
|
defaultArray: []
|
|
1559
|
+
},
|
|
1560
|
+
{
|
|
1561
|
+
key: "items",
|
|
1562
|
+
name: "x-runtime-lib.items",
|
|
1563
|
+
ui: "dummy",
|
|
1564
|
+
default: []
|
|
1565
|
+
},
|
|
1566
|
+
{
|
|
1567
|
+
key: "density",
|
|
1568
|
+
name: "x-runtime-lib.density",
|
|
1569
|
+
ui: "select",
|
|
1570
|
+
items: Ri,
|
|
1571
|
+
default: "default"
|
|
1572
|
+
},
|
|
1573
|
+
{
|
|
1574
|
+
key: "fixedHeader",
|
|
1575
|
+
name: "x-runtime-lib.fixedHeader",
|
|
1576
|
+
ui: "switch",
|
|
1577
|
+
default: !1
|
|
1578
|
+
},
|
|
1579
|
+
{
|
|
1580
|
+
key: "fixedFooter",
|
|
1581
|
+
name: "x-runtime-lib.fixedFooter",
|
|
1582
|
+
ui: "switch",
|
|
1583
|
+
default: !1
|
|
1584
|
+
},
|
|
1585
|
+
{
|
|
1586
|
+
key: "loading",
|
|
1587
|
+
name: "x-runtime-lib.loading",
|
|
1588
|
+
ui: "switch",
|
|
1589
|
+
default: !1
|
|
1590
|
+
},
|
|
1591
|
+
{
|
|
1592
|
+
key: "multiSort",
|
|
1593
|
+
name: "x-runtime-lib.multiSort",
|
|
1594
|
+
ui: "switch",
|
|
1595
|
+
default: !1
|
|
1440
1596
|
}
|
|
1441
1597
|
]
|
|
1442
|
-
},
|
|
1598
|
+
}, Rl = {
|
|
1443
1599
|
key: nr,
|
|
1444
1600
|
name: "x-runtime-lib.dataTable",
|
|
1445
|
-
comp:
|
|
1601
|
+
comp: bl,
|
|
1446
1602
|
leaf: !1,
|
|
1447
1603
|
events: [],
|
|
1448
1604
|
methods: [],
|
|
1449
1605
|
props: {
|
|
1450
|
-
pageCommon: [
|
|
1451
|
-
compCommon: [
|
|
1606
|
+
pageCommon: [X, An, kn],
|
|
1607
|
+
compCommon: [X, An, kn]
|
|
1452
1608
|
}
|
|
1453
|
-
},
|
|
1609
|
+
}, In = {
|
|
1454
1610
|
key: "globalSettings",
|
|
1455
1611
|
name: "x-runtime-lib.globalSettings",
|
|
1456
1612
|
children: [
|
|
@@ -1461,8 +1617,8 @@ const Rl = /* @__PURE__ */ gl(bl, [["render", El]]), An = {
|
|
|
1461
1617
|
default: "#00000000"
|
|
1462
1618
|
}
|
|
1463
1619
|
]
|
|
1464
|
-
},
|
|
1465
|
-
key:
|
|
1620
|
+
}, Si = {
|
|
1621
|
+
key: Oi,
|
|
1466
1622
|
name: "x-runtime-lib.globality",
|
|
1467
1623
|
comp: "",
|
|
1468
1624
|
leaf: !1,
|
|
@@ -1499,61 +1655,61 @@ const Rl = /* @__PURE__ */ gl(bl, [["render", El]]), An = {
|
|
|
1499
1655
|
],
|
|
1500
1656
|
methods: [],
|
|
1501
1657
|
props: {
|
|
1502
|
-
pageCommon: [
|
|
1503
|
-
compCommon: [
|
|
1658
|
+
pageCommon: [In],
|
|
1659
|
+
compCommon: [In]
|
|
1504
1660
|
},
|
|
1505
1661
|
internal: !0
|
|
1506
|
-
},
|
|
1662
|
+
}, Ol = { key: 0 }, Tl = /* @__PURE__ */ pe({
|
|
1507
1663
|
__name: "index",
|
|
1508
1664
|
props: {
|
|
1509
1665
|
node: {},
|
|
1510
1666
|
outer: { type: Boolean }
|
|
1511
1667
|
},
|
|
1512
1668
|
setup(n) {
|
|
1513
|
-
const o = n, f = Ee(), h =
|
|
1669
|
+
const o = n, f = Ee(), h = De(), g = N(() => {
|
|
1514
1670
|
var e;
|
|
1515
1671
|
return (e = o.node.settings) == null ? void 0 : e.value;
|
|
1516
|
-
}), b =
|
|
1672
|
+
}), b = N(() => {
|
|
1517
1673
|
var e;
|
|
1518
1674
|
return (e = o.node.settings) == null ? void 0 : e.label;
|
|
1519
|
-
}), m =
|
|
1675
|
+
}), m = N(() => {
|
|
1520
1676
|
var e;
|
|
1521
1677
|
return (e = o.node.settings) == null ? void 0 : e.placeholder;
|
|
1522
|
-
}), T =
|
|
1678
|
+
}), T = N(() => {
|
|
1523
1679
|
var e;
|
|
1524
1680
|
return (e = o.node.settings) == null ? void 0 : e.hideDetails;
|
|
1525
|
-
}),
|
|
1681
|
+
}), R = N(() => {
|
|
1526
1682
|
var e;
|
|
1527
1683
|
return (e = o.node.settings) == null ? void 0 : e.singleLine;
|
|
1528
|
-
}), r =
|
|
1684
|
+
}), r = N(() => {
|
|
1529
1685
|
var e;
|
|
1530
1686
|
return f !== "runtime" ? !0 : (e = o.node.settings) == null ? void 0 : e.readonly;
|
|
1531
|
-
}), t =
|
|
1687
|
+
}), t = N(() => h.value ? "dark" : "light");
|
|
1532
1688
|
return (e, i) => {
|
|
1533
1689
|
const u = Ae("v-number-input");
|
|
1534
|
-
return
|
|
1690
|
+
return _t(f) === "editor" ? (K(), He("div", Ol, [
|
|
1535
1691
|
bt(u, {
|
|
1536
|
-
"model-value":
|
|
1692
|
+
"model-value": g.value,
|
|
1537
1693
|
label: b.value,
|
|
1538
1694
|
placeholder: m.value,
|
|
1539
1695
|
"hide-details": T.value,
|
|
1540
|
-
"single-line":
|
|
1696
|
+
"single-line": R.value,
|
|
1541
1697
|
readonly: r.value,
|
|
1542
1698
|
theme: t.value
|
|
1543
1699
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
1544
|
-
])) : (
|
|
1700
|
+
])) : (K(), ge(u, {
|
|
1545
1701
|
key: 1,
|
|
1546
|
-
"model-value":
|
|
1702
|
+
"model-value": g.value,
|
|
1547
1703
|
label: b.value,
|
|
1548
1704
|
placeholder: m.value,
|
|
1549
1705
|
"hide-details": T.value,
|
|
1550
|
-
"single-line":
|
|
1706
|
+
"single-line": R.value,
|
|
1551
1707
|
readonly: r.value,
|
|
1552
1708
|
theme: t.value
|
|
1553
1709
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
1554
1710
|
};
|
|
1555
1711
|
}
|
|
1556
|
-
}),
|
|
1712
|
+
}), Dn = {
|
|
1557
1713
|
key: "settings",
|
|
1558
1714
|
name: "x-runtime-lib.settings",
|
|
1559
1715
|
children: [
|
|
@@ -1598,23 +1754,23 @@ const Rl = /* @__PURE__ */ gl(bl, [["render", El]]), An = {
|
|
|
1598
1754
|
default: !1
|
|
1599
1755
|
}
|
|
1600
1756
|
]
|
|
1601
|
-
},
|
|
1757
|
+
}, Nl = {
|
|
1602
1758
|
key: ir,
|
|
1603
1759
|
name: "x-runtime-lib.numberInput",
|
|
1604
|
-
comp:
|
|
1760
|
+
comp: Tl,
|
|
1605
1761
|
leaf: !1,
|
|
1606
1762
|
events: [],
|
|
1607
1763
|
methods: [],
|
|
1608
1764
|
props: {
|
|
1609
|
-
pageCommon: [
|
|
1610
|
-
compCommon: [
|
|
1765
|
+
pageCommon: [X, Dn],
|
|
1766
|
+
compCommon: [X, Dn]
|
|
1611
1767
|
}
|
|
1612
1768
|
};
|
|
1613
|
-
var
|
|
1614
|
-
function
|
|
1769
|
+
var Sl = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1770
|
+
function xl(n) {
|
|
1615
1771
|
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
1616
1772
|
}
|
|
1617
|
-
function
|
|
1773
|
+
function wl(n) {
|
|
1618
1774
|
if (n.__esModule) return n;
|
|
1619
1775
|
var o = n.default;
|
|
1620
1776
|
if (typeof o == "function") {
|
|
@@ -1624,8 +1780,8 @@ function xl(n) {
|
|
|
1624
1780
|
f.prototype = o.prototype;
|
|
1625
1781
|
} else f = {};
|
|
1626
1782
|
return Object.defineProperty(f, "__esModule", { value: !0 }), Object.keys(n).forEach(function(h) {
|
|
1627
|
-
var
|
|
1628
|
-
Object.defineProperty(f, h,
|
|
1783
|
+
var g = Object.getOwnPropertyDescriptor(n, h);
|
|
1784
|
+
Object.defineProperty(f, h, g.get ? g : {
|
|
1629
1785
|
enumerable: !0,
|
|
1630
1786
|
get: function() {
|
|
1631
1787
|
return n[h];
|
|
@@ -1633,15 +1789,15 @@ function xl(n) {
|
|
|
1633
1789
|
});
|
|
1634
1790
|
}), f;
|
|
1635
1791
|
}
|
|
1636
|
-
var
|
|
1637
|
-
const
|
|
1792
|
+
var xi = { exports: {} };
|
|
1793
|
+
const Pl = {}, Cl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1638
1794
|
__proto__: null,
|
|
1639
|
-
default:
|
|
1640
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1795
|
+
default: Pl
|
|
1796
|
+
}, Symbol.toStringTag, { value: "Module" })), Al = /* @__PURE__ */ wl(Cl);
|
|
1641
1797
|
(function(n, o) {
|
|
1642
|
-
(function(h,
|
|
1643
|
-
n.exports =
|
|
1644
|
-
})(
|
|
1798
|
+
(function(h, g) {
|
|
1799
|
+
n.exports = g();
|
|
1800
|
+
})(Sl, () => (
|
|
1645
1801
|
/******/
|
|
1646
1802
|
(() => {
|
|
1647
1803
|
var f = {
|
|
@@ -1651,7 +1807,7 @@ const Cl = {}, Al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
1651
1807
|
!*** ./original-repo/interpreter.js ***!
|
|
1652
1808
|
\**************************************/
|
|
1653
1809
|
/***/
|
|
1654
|
-
function(m, T,
|
|
1810
|
+
function(m, T, R) {
|
|
1655
1811
|
/**
|
|
1656
1812
|
* @license
|
|
1657
1813
|
* Copyright 2013 Neil Fraser
|
|
@@ -1942,16 +2098,16 @@ const Cl = {}, Al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
1942
2098
|
var p = Array.prototype.slice.call(arguments, 0, -1).join(",").trim();
|
|
1943
2099
|
if (p) {
|
|
1944
2100
|
for (var v = p.split(/\s*,\s*/), E = 0; E < v.length; E++) {
|
|
1945
|
-
var
|
|
1946
|
-
u.test(
|
|
2101
|
+
var S = v[E];
|
|
2102
|
+
u.test(S) || e.throwException(
|
|
1947
2103
|
e.SYNTAX_ERROR,
|
|
1948
|
-
"Invalid function argument: " +
|
|
2104
|
+
"Invalid function argument: " + S
|
|
1949
2105
|
);
|
|
1950
2106
|
}
|
|
1951
2107
|
p = v.join(", ");
|
|
1952
2108
|
}
|
|
1953
2109
|
try {
|
|
1954
|
-
var
|
|
2110
|
+
var O = e.parse_(
|
|
1955
2111
|
"(function(" + p + ") {" + a + "})",
|
|
1956
2112
|
"function" + e.functionCodeNumber_++
|
|
1957
2113
|
);
|
|
@@ -1961,13 +2117,13 @@ const Cl = {}, Al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
1961
2117
|
"Invalid code: " + I.message
|
|
1962
2118
|
);
|
|
1963
2119
|
}
|
|
1964
|
-
|
|
2120
|
+
O.body.length !== 1 && e.throwException(
|
|
1965
2121
|
e.SYNTAX_ERROR,
|
|
1966
2122
|
"Invalid code in function body"
|
|
1967
2123
|
);
|
|
1968
|
-
var
|
|
2124
|
+
var x = O.body[0].expression;
|
|
1969
2125
|
return e.createFunction(
|
|
1970
|
-
|
|
2126
|
+
x,
|
|
1971
2127
|
e.globalScope,
|
|
1972
2128
|
"anonymous"
|
|
1973
2129
|
);
|
|
@@ -2188,25 +2344,25 @@ const Cl = {}, Al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2188
2344
|
e.TYPE_ERROR,
|
|
2189
2345
|
"Object.getOwnPropertyDescriptor called on non-object: " + l
|
|
2190
2346
|
), a = String(a), a in l.properties) {
|
|
2191
|
-
var p = Object.getOwnPropertyDescriptor(l.properties, a), v = l.getter[a], E = l.setter[a],
|
|
2192
|
-
return v || E ? (e.setProperty(
|
|
2193
|
-
|
|
2347
|
+
var p = Object.getOwnPropertyDescriptor(l.properties, a), v = l.getter[a], E = l.setter[a], S = e.createObjectProto(e.OBJECT_PROTO);
|
|
2348
|
+
return v || E ? (e.setProperty(S, "get", v), e.setProperty(S, "set", E)) : (e.setProperty(
|
|
2349
|
+
S,
|
|
2194
2350
|
"value",
|
|
2195
2351
|
/** @type {!Interpreter.Value} */
|
|
2196
2352
|
p.value
|
|
2197
2353
|
), e.setProperty(
|
|
2198
|
-
|
|
2354
|
+
S,
|
|
2199
2355
|
"writable",
|
|
2200
2356
|
p.writable
|
|
2201
2357
|
)), e.setProperty(
|
|
2202
|
-
|
|
2358
|
+
S,
|
|
2203
2359
|
"configurable",
|
|
2204
2360
|
p.configurable
|
|
2205
2361
|
), e.setProperty(
|
|
2206
|
-
|
|
2362
|
+
S,
|
|
2207
2363
|
"enumerable",
|
|
2208
2364
|
p.enumerable
|
|
2209
|
-
),
|
|
2365
|
+
), S;
|
|
2210
2366
|
}
|
|
2211
2367
|
}, this.setProperty(
|
|
2212
2368
|
this.OBJECT,
|
|
@@ -2788,21 +2944,21 @@ const Cl = {}, Al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2788
2944
|
var E = String(this);
|
|
2789
2945
|
if (p = p ? Number(p) : void 0, e.isa(a, e.REGEXP) && (a = a.data, e.maybeThrowRegExp(a, v), e.REGEXP_MODE === 2)) {
|
|
2790
2946
|
if (r.vm) {
|
|
2791
|
-
var
|
|
2947
|
+
var S = {
|
|
2792
2948
|
string: E,
|
|
2793
2949
|
separator: a,
|
|
2794
2950
|
limit: p
|
|
2795
|
-
},
|
|
2951
|
+
}, O = "string.split(separator, limit)", L = e.vmCall(O, S, a, v);
|
|
2796
2952
|
L !== r.REGEXP_TIMEOUT && v(e.nativeToPseudo(L));
|
|
2797
2953
|
} else {
|
|
2798
|
-
var
|
|
2954
|
+
var x = e.createWorker(), I = e.regExpTimeout(
|
|
2799
2955
|
a,
|
|
2800
|
-
|
|
2956
|
+
x,
|
|
2801
2957
|
v
|
|
2802
2958
|
);
|
|
2803
|
-
|
|
2959
|
+
x.onmessage = function(W) {
|
|
2804
2960
|
clearTimeout(I), v(e.nativeToPseudo(W.data));
|
|
2805
|
-
},
|
|
2961
|
+
}, x.postMessage(["split", E, a, p]);
|
|
2806
2962
|
}
|
|
2807
2963
|
return;
|
|
2808
2964
|
}
|
|
@@ -2815,13 +2971,13 @@ const Cl = {}, Al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2815
2971
|
var E = {
|
|
2816
2972
|
string: v,
|
|
2817
2973
|
regexp: a
|
|
2818
|
-
},
|
|
2974
|
+
}, S = "string.match(regexp)", I = e.vmCall(S, E, a, p);
|
|
2819
2975
|
I !== r.REGEXP_TIMEOUT && p(I && e.matchToPseudo_(I));
|
|
2820
2976
|
} else {
|
|
2821
|
-
var
|
|
2822
|
-
|
|
2823
|
-
clearTimeout(
|
|
2824
|
-
},
|
|
2977
|
+
var O = e.createWorker(), x = e.regExpTimeout(a, O, p);
|
|
2978
|
+
O.onmessage = function(L) {
|
|
2979
|
+
clearTimeout(x), p(L.data && e.matchToPseudo_(L.data));
|
|
2980
|
+
}, O.postMessage(["match", v, a]);
|
|
2825
2981
|
}
|
|
2826
2982
|
return;
|
|
2827
2983
|
}
|
|
@@ -2834,13 +2990,13 @@ const Cl = {}, Al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2834
2990
|
var E = {
|
|
2835
2991
|
string: v,
|
|
2836
2992
|
regexp: a
|
|
2837
|
-
},
|
|
2838
|
-
|
|
2993
|
+
}, S = "string.search(regexp)", O = e.vmCall(S, E, a, p);
|
|
2994
|
+
O !== r.REGEXP_TIMEOUT && p(O);
|
|
2839
2995
|
} else {
|
|
2840
|
-
var
|
|
2841
|
-
|
|
2996
|
+
var x = e.createWorker(), I = e.regExpTimeout(a, x, p);
|
|
2997
|
+
x.onmessage = function(L) {
|
|
2842
2998
|
clearTimeout(I), p(L.data);
|
|
2843
|
-
},
|
|
2999
|
+
}, x.postMessage(["search", v, a]);
|
|
2844
3000
|
}
|
|
2845
3001
|
return;
|
|
2846
3002
|
}
|
|
@@ -2849,12 +3005,12 @@ const Cl = {}, Al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2849
3005
|
var E = String(this);
|
|
2850
3006
|
if (p = String(p), e.isa(a, e.REGEXP) && (a = a.data, e.maybeThrowRegExp(a, v), e.REGEXP_MODE === 2)) {
|
|
2851
3007
|
if (r.vm) {
|
|
2852
|
-
var
|
|
3008
|
+
var S = {
|
|
2853
3009
|
string: E,
|
|
2854
3010
|
substr: a,
|
|
2855
3011
|
newSubstr: p
|
|
2856
|
-
},
|
|
2857
|
-
|
|
3012
|
+
}, O = "string.replace(substr, newSubstr)", x = e.vmCall(O, S, a, v);
|
|
3013
|
+
x !== r.REGEXP_TIMEOUT && v(x);
|
|
2858
3014
|
} else {
|
|
2859
3015
|
var I = e.createWorker(), L = e.regExpTimeout(
|
|
2860
3016
|
a,
|
|
@@ -3139,18 +3295,18 @@ const Cl = {}, Al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3139
3295
|
var p = {
|
|
3140
3296
|
string: s,
|
|
3141
3297
|
regexp: a
|
|
3142
|
-
}, v = "regexp.exec(string)",
|
|
3143
|
-
|
|
3298
|
+
}, v = "regexp.exec(string)", x = e.vmCall(v, p, a, l);
|
|
3299
|
+
x !== r.REGEXP_TIMEOUT && (e.setProperty(this, "lastIndex", a.lastIndex), l(e.matchToPseudo_(x)));
|
|
3144
3300
|
} else {
|
|
3145
|
-
var E = e.createWorker(),
|
|
3301
|
+
var E = e.createWorker(), S = e.regExpTimeout(a, E, l), O = this;
|
|
3146
3302
|
E.onmessage = function(I) {
|
|
3147
|
-
clearTimeout(
|
|
3303
|
+
clearTimeout(S), e.setProperty(O, "lastIndex", I.data[1]), l(e.matchToPseudo_(I.data[0]));
|
|
3148
3304
|
}, E.postMessage(["exec", a, a.lastIndex, s]);
|
|
3149
3305
|
}
|
|
3150
3306
|
return;
|
|
3151
3307
|
}
|
|
3152
|
-
var
|
|
3153
|
-
e.setProperty(this, "lastIndex", a.lastIndex), l(e.matchToPseudo_(
|
|
3308
|
+
var x = a.exec(s);
|
|
3309
|
+
e.setProperty(this, "lastIndex", a.lastIndex), l(e.matchToPseudo_(x));
|
|
3154
3310
|
}, this.setAsyncFunctionPrototype(this.REGEXP, "exec", i);
|
|
3155
3311
|
}, r.prototype.matchToPseudo_ = function(t) {
|
|
3156
3312
|
if (t) {
|
|
@@ -3285,14 +3441,14 @@ const Cl = {}, Al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3285
3441
|
a && a.class === "Function" ? i.throwException(
|
|
3286
3442
|
i.TYPE_ERROR,
|
|
3287
3443
|
"Function replacer on JSON.stringify not supported"
|
|
3288
|
-
) : a && a.class === "Array" ? (a = i.pseudoToNative(a), a = a.filter(function(
|
|
3289
|
-
return typeof
|
|
3444
|
+
) : a && a.class === "Array" ? (a = i.pseudoToNative(a), a = a.filter(function(S) {
|
|
3445
|
+
return typeof S == "string" || typeof S == "number";
|
|
3290
3446
|
})) : a = null, typeof p != "string" && typeof p != "number" && (p = void 0);
|
|
3291
3447
|
var v = i.pseudoToNative(l);
|
|
3292
3448
|
try {
|
|
3293
3449
|
var E = JSON.stringify(v, a, p);
|
|
3294
|
-
} catch (
|
|
3295
|
-
i.throwException(i.TYPE_ERROR,
|
|
3450
|
+
} catch (S) {
|
|
3451
|
+
i.throwException(i.TYPE_ERROR, S.message);
|
|
3296
3452
|
}
|
|
3297
3453
|
return E;
|
|
3298
3454
|
}, this.setProperty(
|
|
@@ -3356,9 +3512,9 @@ const Cl = {}, Al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3356
3512
|
}
|
|
3357
3513
|
for (var p = String(this.getProperty(t, "name")), v = String(this.getProperty(t, "message")), E = p + ": " + v + `
|
|
3358
3514
|
`, u = 0; u < i.length; u++) {
|
|
3359
|
-
var
|
|
3360
|
-
|
|
3361
|
-
` : E += " at " +
|
|
3515
|
+
var S = i[u].datumLoc, O = i[u].datumName, x = S.source + ":" + S.start.line + ":" + S.start.column;
|
|
3516
|
+
O ? E += " at " + O + " (" + x + `)
|
|
3517
|
+
` : E += " at " + x + `
|
|
3362
3518
|
`;
|
|
3363
3519
|
}
|
|
3364
3520
|
this.setProperty(
|
|
@@ -3394,7 +3550,7 @@ const Cl = {}, Al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3394
3550
|
i = !0;
|
|
3395
3551
|
else {
|
|
3396
3552
|
try {
|
|
3397
|
-
r.vm =
|
|
3553
|
+
r.vm = R(
|
|
3398
3554
|
/*! vm */
|
|
3399
3555
|
"vm"
|
|
3400
3556
|
);
|
|
@@ -3500,22 +3656,22 @@ const Cl = {}, Al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3500
3656
|
}
|
|
3501
3657
|
if (typeof t == "function") {
|
|
3502
3658
|
var a = this, p = function() {
|
|
3503
|
-
var
|
|
3659
|
+
var x = Array.prototype.slice.call(arguments).map(function(L) {
|
|
3504
3660
|
return a.pseudoToNative(L);
|
|
3505
|
-
}), I = t.apply(a,
|
|
3661
|
+
}), I = t.apply(a, x);
|
|
3506
3662
|
return a.nativeToPseudo(I);
|
|
3507
3663
|
}, v = Object.getOwnPropertyDescriptor(t, "prototype"), E = this.createNativeFunction(p, !!v);
|
|
3508
3664
|
return i.pseudo.push(E), E;
|
|
3509
3665
|
}
|
|
3510
|
-
var
|
|
3511
|
-
Array.isArray(t) ?
|
|
3512
|
-
for (var
|
|
3666
|
+
var S;
|
|
3667
|
+
Array.isArray(t) ? S = this.createArray() : S = this.createObjectProto(this.OBJECT_PROTO), i.pseudo.push(S);
|
|
3668
|
+
for (var O in t)
|
|
3513
3669
|
this.setProperty(
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
this.nativeToPseudo(t[
|
|
3670
|
+
S,
|
|
3671
|
+
O,
|
|
3672
|
+
this.nativeToPseudo(t[O], i)
|
|
3517
3673
|
);
|
|
3518
|
-
return
|
|
3674
|
+
return S;
|
|
3519
3675
|
}, r.prototype.pseudoToNative = function(t, e) {
|
|
3520
3676
|
if (t == null || t === !0 || t === !1 || typeof t == "string" || typeof t == "number")
|
|
3521
3677
|
return t;
|
|
@@ -3894,8 +4050,8 @@ const Cl = {}, Al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3894
4050
|
this.throwException(this.SYNTAX_ERROR, "Invalid code: " + L.message);
|
|
3895
4051
|
}
|
|
3896
4052
|
a.type = "EvalProgram_", a.body = E.body;
|
|
3897
|
-
var
|
|
3898
|
-
r.stripLocations_(a,
|
|
4053
|
+
var S = i.node.arguments[0], O = S ? S.start : void 0, x = S ? S.end : void 0;
|
|
4054
|
+
r.stripLocations_(a, O, x), p = this.globalScope, u.length = 0;
|
|
3899
4055
|
}
|
|
3900
4056
|
var I = new r.Task(
|
|
3901
4057
|
v,
|
|
@@ -4238,8 +4394,8 @@ const Cl = {}, Al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4238
4394
|
this.setProperty(v, E, e.arguments_[E]);
|
|
4239
4395
|
this.setProperty(p.object, "arguments", v);
|
|
4240
4396
|
for (var E = 0; E < a.params.length; E++) {
|
|
4241
|
-
var
|
|
4242
|
-
this.setProperty(p.object,
|
|
4397
|
+
var S = a.params[E].name, O = e.arguments_.length > E ? e.arguments_[E] : void 0;
|
|
4398
|
+
this.setProperty(p.object, S, O);
|
|
4243
4399
|
}
|
|
4244
4400
|
return p.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), this.setProperty(
|
|
4245
4401
|
p.object,
|
|
@@ -4248,13 +4404,13 @@ const Cl = {}, Al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4248
4404
|
r.READONLY_DESCRIPTOR
|
|
4249
4405
|
), e.value = void 0, new r.State(a.body, p);
|
|
4250
4406
|
} else if (s.eval) {
|
|
4251
|
-
var
|
|
4252
|
-
if (typeof
|
|
4253
|
-
e.value =
|
|
4407
|
+
var x = e.arguments_[0];
|
|
4408
|
+
if (typeof x != "string")
|
|
4409
|
+
e.value = x;
|
|
4254
4410
|
else {
|
|
4255
4411
|
try {
|
|
4256
4412
|
var I = this.parse_(
|
|
4257
|
-
String(
|
|
4413
|
+
String(x),
|
|
4258
4414
|
"eval" + this.evalCodeNumber_++
|
|
4259
4415
|
);
|
|
4260
4416
|
} catch (B) {
|
|
@@ -4268,12 +4424,12 @@ const Cl = {}, Al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4268
4424
|
} else if (s.nativeFunc)
|
|
4269
4425
|
e.scope.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), e.value = s.nativeFunc.apply(e.funcThis_, e.arguments_);
|
|
4270
4426
|
else if (s.asyncFunc) {
|
|
4271
|
-
var W = this,
|
|
4272
|
-
e.value =
|
|
4273
|
-
},
|
|
4274
|
-
new Array(
|
|
4275
|
-
).slice(0,
|
|
4276
|
-
Re.push(
|
|
4427
|
+
var W = this, Le = function(de) {
|
|
4428
|
+
e.value = de, W.paused_ = !1;
|
|
4429
|
+
}, q = s.asyncFunc.length - 1, Re = e.arguments_.concat(
|
|
4430
|
+
new Array(q)
|
|
4431
|
+
).slice(0, q);
|
|
4432
|
+
Re.push(Le), this.paused_ = !0, e.scope.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), s.asyncFunc.apply(e.funcThis_, Re);
|
|
4277
4433
|
return;
|
|
4278
4434
|
} else
|
|
4279
4435
|
this.throwException(
|
|
@@ -4675,13 +4831,13 @@ const Cl = {}, Al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4675
4831
|
\********************************/
|
|
4676
4832
|
/***/
|
|
4677
4833
|
function(m, T) {
|
|
4678
|
-
(function(
|
|
4834
|
+
(function(R, r) {
|
|
4679
4835
|
return r(T);
|
|
4680
|
-
})(typeof globalThis > "u" ? this || window : globalThis, function(
|
|
4681
|
-
|
|
4836
|
+
})(typeof globalThis > "u" ? this || window : globalThis, function(R) {
|
|
4837
|
+
R.version = "0.5.0";
|
|
4682
4838
|
var r, t = "", e, i;
|
|
4683
|
-
|
|
4684
|
-
return t = String(c), e = t.length, s(d),
|
|
4839
|
+
R.parse = function(c, d) {
|
|
4840
|
+
return t = String(c), e = t.length, s(d), Xi(), aa(r.program);
|
|
4685
4841
|
};
|
|
4686
4842
|
var u = {
|
|
4687
4843
|
// JS-Interpreter change:
|
|
@@ -4748,27 +4904,27 @@ const Cl = {}, Al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4748
4904
|
i = r.sourceFile;
|
|
4749
4905
|
}
|
|
4750
4906
|
var l = function(c, d) {
|
|
4751
|
-
for (var y = 1,
|
|
4752
|
-
it.lastIndex =
|
|
4907
|
+
for (var y = 1, _ = 0; ; ) {
|
|
4908
|
+
it.lastIndex = _;
|
|
4753
4909
|
var C = it.exec(c);
|
|
4754
4910
|
if (C && C.index < d)
|
|
4755
|
-
++y,
|
|
4911
|
+
++y, _ = C.index + C[0].length;
|
|
4756
4912
|
else
|
|
4757
4913
|
break;
|
|
4758
4914
|
}
|
|
4759
|
-
return { line: y, column: d -
|
|
4760
|
-
}, a = 0, p = 0, v = 0, E,
|
|
4915
|
+
return { line: y, column: d - _ };
|
|
4916
|
+
}, a = 0, p = 0, v = 0, E, S, O, x, I, L, W, Le = 0, q = 0, Re, de, B, J;
|
|
4761
4917
|
function k(c, d) {
|
|
4762
4918
|
var y = l(t, c);
|
|
4763
4919
|
d += " (" + y.line + ":" + y.column + ")";
|
|
4764
|
-
var
|
|
4765
|
-
throw
|
|
4920
|
+
var _ = new SyntaxError(d);
|
|
4921
|
+
throw _.pos = c, _.loc = y, _.raisedAt = a, _;
|
|
4766
4922
|
}
|
|
4767
|
-
var
|
|
4923
|
+
var Ci = [], Qe = { type: "num" }, mr = { type: "regexp" }, Tt = { type: "string" }, Oe = { type: "name" }, Nt = { type: "eof" }, St = { keyword: "break" }, xt = { keyword: "case", beforeExpr: !0 }, gr = { keyword: "catch" }, _r = { keyword: "continue" }, br = { keyword: "debugger" }, Er = { keyword: "default" }, Rr = { keyword: "do", isLoop: !0 }, Or = { keyword: "else", beforeExpr: !0 }, Tr = { keyword: "finally" }, Nr = { keyword: "for", isLoop: !0 }, wt = { keyword: "function" }, Sr = { keyword: "if" }, xr = { keyword: "return", beforeExpr: !0 }, Pt = { keyword: "switch" }, wr = { keyword: "throw", beforeExpr: !0 }, Pr = { keyword: "try" }, Ct = { keyword: "var" }, At = { keyword: "while", isLoop: !0 }, Cr = { keyword: "with" }, Ar = { keyword: "new", beforeExpr: !0 }, kr = { keyword: "this" }, Ir = { keyword: "null", atomValue: null }, Dr = { keyword: "true", atomValue: !0 }, Lr = { keyword: "false", atomValue: !1 }, et = { keyword: "in", binop: 7, beforeExpr: !0 }, Ai = {
|
|
4768
4924
|
break: St,
|
|
4769
|
-
case:
|
|
4770
|
-
catch:
|
|
4771
|
-
continue:
|
|
4925
|
+
case: xt,
|
|
4926
|
+
catch: gr,
|
|
4927
|
+
continue: _r,
|
|
4772
4928
|
debugger: br,
|
|
4773
4929
|
default: Er,
|
|
4774
4930
|
do: Rr,
|
|
@@ -4777,10 +4933,10 @@ const Cl = {}, Al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4777
4933
|
for: Nr,
|
|
4778
4934
|
function: wt,
|
|
4779
4935
|
if: Sr,
|
|
4780
|
-
return:
|
|
4781
|
-
switch:
|
|
4936
|
+
return: xr,
|
|
4937
|
+
switch: Pt,
|
|
4782
4938
|
throw: wr,
|
|
4783
|
-
try:
|
|
4939
|
+
try: Pr,
|
|
4784
4940
|
var: Ct,
|
|
4785
4941
|
while: At,
|
|
4786
4942
|
with: Cr,
|
|
@@ -4794,34 +4950,34 @@ const Cl = {}, Al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4794
4950
|
typeof: { keyword: "typeof", prefix: !0, beforeExpr: !0 },
|
|
4795
4951
|
void: { keyword: "void", prefix: !0, beforeExpr: !0 },
|
|
4796
4952
|
delete: { keyword: "delete", prefix: !0, beforeExpr: !0 }
|
|
4797
|
-
}, kt = { type: "[", beforeExpr: !0 }, It = { type: "]" },
|
|
4953
|
+
}, kt = { type: "[", beforeExpr: !0 }, It = { type: "]" }, Fe = { type: "{", beforeExpr: !0 }, Te = { type: "}" }, te = { type: "(", beforeExpr: !0 }, Q = { type: ")" }, ue = { type: ",", beforeExpr: !0 }, re = { type: ";", beforeExpr: !0 }, Me = { type: ":", beforeExpr: !0 }, Fr = { type: "." }, Mr = { type: "?", beforeExpr: !0 }, Ur = { binop: 10, beforeExpr: !0 }, jr = { isAssign: !0, beforeExpr: !0 }, he = { isAssign: !0, beforeExpr: !0 }, ki = { postfix: !0, prefix: !0, isUpdate: !0 }, Br = { prefix: !0, beforeExpr: !0 }, $r = { binop: 1, beforeExpr: !0 }, Vr = { binop: 2, beforeExpr: !0 }, Ii = { binop: 3, beforeExpr: !0 }, Di = { binop: 4, beforeExpr: !0 }, Li = { binop: 5, beforeExpr: !0 }, Fi = { binop: 6, beforeExpr: !0 }, Mi = { binop: 7, beforeExpr: !0 }, Ui = { binop: 8, beforeExpr: !0 }, ji = { binop: 9, prefix: !0, beforeExpr: !0 }, Bi = { binop: 10, beforeExpr: !0 };
|
|
4798
4954
|
function tt(c) {
|
|
4799
|
-
for (var d = c.split(" "), y = /* @__PURE__ */ Object.create(null),
|
|
4800
|
-
y[d[
|
|
4955
|
+
for (var d = c.split(" "), y = /* @__PURE__ */ Object.create(null), _ = 0; _ < d.length; _++)
|
|
4956
|
+
y[d[_]] = !0;
|
|
4801
4957
|
return function(C) {
|
|
4802
4958
|
return y[C] || !1;
|
|
4803
4959
|
};
|
|
4804
4960
|
}
|
|
4805
|
-
var
|
|
4806
|
-
return c < 65 ? c === 36 : c < 91 ? !0 : c < 97 ? c === 95 : c < 123 ? !0 : c >= 170 &&
|
|
4807
|
-
},
|
|
4808
|
-
return c < 48 ? c === 36 : c < 58 ? !0 : c < 65 ? !1 : c < 91 ? !0 : c < 97 ? c === 95 : c < 123 ? !0 : c >= 170 &&
|
|
4961
|
+
var $i = tt("class enum extends super const export import"), Gr = tt("implements interface let package private protected public static yield"), rt = tt("eval arguments"), Vi = tt("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"), Gi = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Yr = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", Yi = "̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_", zr = new RegExp("[" + Yr + "]"), zi = new RegExp("[" + Yr + Yi + "]"), nt = /[\n\r\u2028\u2029]/, it = /\r\n|[\n\r\u2028\u2029]/g, at = function(c) {
|
|
4962
|
+
return c < 65 ? c === 36 : c < 91 ? !0 : c < 97 ? c === 95 : c < 123 ? !0 : c >= 170 && zr.test(String.fromCharCode(c));
|
|
4963
|
+
}, Xr = function(c) {
|
|
4964
|
+
return c < 48 ? c === 36 : c < 58 ? !0 : c < 65 ? !1 : c < 91 ? !0 : c < 97 ? c === 95 : c < 123 ? !0 : c >= 170 && zi.test(String.fromCharCode(c));
|
|
4809
4965
|
};
|
|
4810
|
-
function
|
|
4966
|
+
function ve() {
|
|
4811
4967
|
this.line = L, this.column = a - W;
|
|
4812
4968
|
}
|
|
4813
|
-
function
|
|
4814
|
-
L = 1, a = W = 0, I = !0,
|
|
4969
|
+
function Xi() {
|
|
4970
|
+
L = 1, a = W = 0, I = !0, Ue();
|
|
4815
4971
|
}
|
|
4816
4972
|
function V(c, d) {
|
|
4817
|
-
v = a, r.locations && (
|
|
4973
|
+
v = a, r.locations && (S = new ve()), O = c, Ue(), x = d, I = c.beforeExpr;
|
|
4818
4974
|
}
|
|
4819
|
-
function
|
|
4820
|
-
var c = r.onComment && r.locations && new
|
|
4975
|
+
function Wi() {
|
|
4976
|
+
var c = r.onComment && r.locations && new ve(), d = a, y = t.indexOf("*/", a += 2);
|
|
4821
4977
|
if (y === -1 && k(a - 2, "Unterminated comment"), a = y + 2, r.locations) {
|
|
4822
4978
|
it.lastIndex = d;
|
|
4823
|
-
for (var
|
|
4824
|
-
++L, W =
|
|
4979
|
+
for (var _; (_ = it.exec(t)) && _.index < a; )
|
|
4980
|
+
++L, W = _.index + _[0].length;
|
|
4825
4981
|
}
|
|
4826
4982
|
r.onComment && r.onComment(
|
|
4827
4983
|
!0,
|
|
@@ -4829,11 +4985,11 @@ const Cl = {}, Al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4829
4985
|
d,
|
|
4830
4986
|
a,
|
|
4831
4987
|
c,
|
|
4832
|
-
r.locations && new
|
|
4988
|
+
r.locations && new ve()
|
|
4833
4989
|
);
|
|
4834
4990
|
}
|
|
4835
4991
|
function Dt() {
|
|
4836
|
-
for (var c = a, d = r.onComment && r.locations && new
|
|
4992
|
+
for (var c = a, d = r.onComment && r.locations && new ve(), y = t.charCodeAt(a += 2); a < e && y !== 10 && y !== 13 && y !== 8232 && y !== 8233; )
|
|
4837
4993
|
++a, y = t.charCodeAt(a);
|
|
4838
4994
|
r.onComment && r.onComment(
|
|
4839
4995
|
!1,
|
|
@@ -4841,10 +4997,10 @@ const Cl = {}, Al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4841
4997
|
c,
|
|
4842
4998
|
a,
|
|
4843
4999
|
d,
|
|
4844
|
-
r.locations && new
|
|
5000
|
+
r.locations && new ve()
|
|
4845
5001
|
);
|
|
4846
5002
|
}
|
|
4847
|
-
function
|
|
5003
|
+
function Ue() {
|
|
4848
5004
|
for (; a < e; ) {
|
|
4849
5005
|
var c = t.charCodeAt(a);
|
|
4850
5006
|
if (c === 32)
|
|
@@ -4860,91 +5016,91 @@ const Cl = {}, Al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4860
5016
|
else if (c === 47) {
|
|
4861
5017
|
var d = t.charCodeAt(a + 1);
|
|
4862
5018
|
if (d === 42)
|
|
4863
|
-
|
|
5019
|
+
Wi();
|
|
4864
5020
|
else if (d === 47)
|
|
4865
5021
|
Dt();
|
|
4866
5022
|
else break;
|
|
4867
5023
|
} else if (c === 160)
|
|
4868
5024
|
++a;
|
|
4869
|
-
else if (c >= 5760 &&
|
|
5025
|
+
else if (c >= 5760 && Gi.test(String.fromCharCode(c)))
|
|
4870
5026
|
++a;
|
|
4871
5027
|
else
|
|
4872
5028
|
break;
|
|
4873
5029
|
}
|
|
4874
5030
|
}
|
|
4875
|
-
function
|
|
5031
|
+
function Ji() {
|
|
4876
5032
|
var c = t.charCodeAt(a + 1);
|
|
4877
|
-
c >= 48 && c <= 57 ? Jr(!0) : (++a, V(
|
|
5033
|
+
c >= 48 && c <= 57 ? Jr(!0) : (++a, V(Fr));
|
|
4878
5034
|
}
|
|
4879
|
-
function
|
|
5035
|
+
function Hi() {
|
|
4880
5036
|
var c = t.charCodeAt(a + 1);
|
|
4881
|
-
I ? (++a, Wr()) : c === 61 ? G(
|
|
5037
|
+
I ? (++a, Wr()) : c === 61 ? G(he, 2) : G(Ur, 1);
|
|
4882
5038
|
}
|
|
4883
|
-
function
|
|
5039
|
+
function Ki() {
|
|
4884
5040
|
var c = t.charCodeAt(a + 1);
|
|
4885
|
-
c === 61 ? G(
|
|
5041
|
+
c === 61 ? G(he, 2) : G(Bi, 1);
|
|
4886
5042
|
}
|
|
4887
|
-
function
|
|
5043
|
+
function qi(c) {
|
|
4888
5044
|
var d = t.charCodeAt(a + 1);
|
|
4889
|
-
d === c ? G(c === 124 ? $r : Vr, 2) : d === 61 ? G(
|
|
5045
|
+
d === c ? G(c === 124 ? $r : Vr, 2) : d === 61 ? G(he, 2) : G(c === 124 ? Ii : Li, 1);
|
|
4890
5046
|
}
|
|
4891
|
-
function
|
|
5047
|
+
function Zi() {
|
|
4892
5048
|
var c = t.charCodeAt(a + 1);
|
|
4893
|
-
c === 61 ? G(
|
|
5049
|
+
c === 61 ? G(he, 2) : G(Di, 1);
|
|
4894
5050
|
}
|
|
4895
|
-
function
|
|
5051
|
+
function Qi(c) {
|
|
4896
5052
|
var d = t.charCodeAt(a + 1);
|
|
4897
5053
|
if (d === c) {
|
|
4898
|
-
if (d === 45 && t.charCodeAt(a + 2) === 62 && nt.test(t.slice(
|
|
4899
|
-
a += 3, Dt(),
|
|
5054
|
+
if (d === 45 && t.charCodeAt(a + 2) === 62 && nt.test(t.slice(q, a))) {
|
|
5055
|
+
a += 3, Dt(), Ue(), Ne();
|
|
4900
5056
|
return;
|
|
4901
5057
|
}
|
|
4902
|
-
G(
|
|
4903
|
-
} else d === 61 ? G(
|
|
5058
|
+
G(ki, 2);
|
|
5059
|
+
} else d === 61 ? G(he, 2) : G(ji, 1);
|
|
4904
5060
|
}
|
|
4905
|
-
function
|
|
5061
|
+
function ea(c) {
|
|
4906
5062
|
var d = t.charCodeAt(a + 1), y = 1;
|
|
4907
5063
|
if (d === c) {
|
|
4908
|
-
y = c === 62 && t.charCodeAt(a + 2) === 62 ? 3 : 2, t.charCodeAt(a + y) === 61 ? G(
|
|
5064
|
+
y = c === 62 && t.charCodeAt(a + 2) === 62 ? 3 : 2, t.charCodeAt(a + y) === 61 ? G(he, y + 1) : G(Ui, y);
|
|
4909
5065
|
return;
|
|
4910
5066
|
}
|
|
4911
5067
|
if (d === 33 && c === 60 && t.charCodeAt(a + 2) === 45 && t.charCodeAt(a + 3) === 45) {
|
|
4912
|
-
a += 4, Dt(),
|
|
5068
|
+
a += 4, Dt(), Ue(), Ne();
|
|
4913
5069
|
return;
|
|
4914
5070
|
}
|
|
4915
|
-
d === 61 && (y = t.charCodeAt(a + 2) === 61 ? 3 : 2), G(
|
|
5071
|
+
d === 61 && (y = t.charCodeAt(a + 2) === 61 ? 3 : 2), G(Mi, y);
|
|
4916
5072
|
}
|
|
4917
|
-
function
|
|
5073
|
+
function ta(c) {
|
|
4918
5074
|
var d = t.charCodeAt(a + 1);
|
|
4919
|
-
d === 61 ? G(
|
|
5075
|
+
d === 61 ? G(Fi, t.charCodeAt(a + 2) === 61 ? 3 : 2) : G(c === 61 ? jr : Br, 1);
|
|
4920
5076
|
}
|
|
4921
|
-
function
|
|
5077
|
+
function ra(c) {
|
|
4922
5078
|
switch (c) {
|
|
4923
5079
|
case 46:
|
|
4924
|
-
return
|
|
5080
|
+
return Ji();
|
|
4925
5081
|
case 40:
|
|
4926
|
-
return ++a, V(
|
|
5082
|
+
return ++a, V(te);
|
|
4927
5083
|
case 41:
|
|
4928
|
-
return ++a, V(
|
|
5084
|
+
return ++a, V(Q);
|
|
4929
5085
|
case 59:
|
|
4930
|
-
return ++a, V(
|
|
5086
|
+
return ++a, V(re);
|
|
4931
5087
|
case 44:
|
|
4932
|
-
return ++a, V(
|
|
5088
|
+
return ++a, V(ue);
|
|
4933
5089
|
case 91:
|
|
4934
5090
|
return ++a, V(kt);
|
|
4935
5091
|
case 93:
|
|
4936
5092
|
return ++a, V(It);
|
|
4937
5093
|
case 123:
|
|
4938
|
-
return ++a, V(
|
|
5094
|
+
return ++a, V(Fe);
|
|
4939
5095
|
case 125:
|
|
4940
5096
|
return ++a, V(Te);
|
|
4941
5097
|
case 58:
|
|
4942
5098
|
return ++a, V(Me);
|
|
4943
5099
|
case 63:
|
|
4944
|
-
return ++a, V(
|
|
5100
|
+
return ++a, V(Mr);
|
|
4945
5101
|
case 48:
|
|
4946
5102
|
var d = t.charCodeAt(a + 1);
|
|
4947
|
-
if (d === 120 || d === 88) return
|
|
5103
|
+
if (d === 120 || d === 88) return na();
|
|
4948
5104
|
case 49:
|
|
4949
5105
|
case 50:
|
|
4950
5106
|
case 51:
|
|
@@ -4957,43 +5113,43 @@ const Cl = {}, Al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4957
5113
|
return Jr(!1);
|
|
4958
5114
|
case 34:
|
|
4959
5115
|
case 39:
|
|
4960
|
-
return
|
|
5116
|
+
return ia(c);
|
|
4961
5117
|
case 47:
|
|
4962
|
-
return
|
|
5118
|
+
return Hi();
|
|
4963
5119
|
case 37:
|
|
4964
5120
|
case 42:
|
|
4965
|
-
return
|
|
5121
|
+
return Ki();
|
|
4966
5122
|
case 124:
|
|
4967
5123
|
case 38:
|
|
4968
|
-
return
|
|
5124
|
+
return qi(c);
|
|
4969
5125
|
case 94:
|
|
4970
|
-
return
|
|
5126
|
+
return Zi();
|
|
4971
5127
|
case 43:
|
|
4972
5128
|
case 45:
|
|
4973
|
-
return
|
|
5129
|
+
return Qi(c);
|
|
4974
5130
|
case 60:
|
|
4975
5131
|
case 62:
|
|
4976
|
-
return
|
|
5132
|
+
return ea(c);
|
|
4977
5133
|
case 61:
|
|
4978
5134
|
case 33:
|
|
4979
|
-
return
|
|
5135
|
+
return ta(c);
|
|
4980
5136
|
case 126:
|
|
4981
5137
|
return G(Br, 1);
|
|
4982
5138
|
}
|
|
4983
5139
|
return !1;
|
|
4984
5140
|
}
|
|
4985
5141
|
function Ne(c) {
|
|
4986
|
-
if (c ? a = p + 1 : p = a, r.locations && (E = new
|
|
5142
|
+
if (c ? a = p + 1 : p = a, r.locations && (E = new ve()), c) return Wr();
|
|
4987
5143
|
if (a >= e) return V(Nt);
|
|
4988
5144
|
var d = t.charCodeAt(a);
|
|
4989
5145
|
if (at(d) || d === 92)
|
|
4990
5146
|
return Kr();
|
|
4991
|
-
var y =
|
|
5147
|
+
var y = ra(d);
|
|
4992
5148
|
if (y === !1) {
|
|
4993
|
-
var
|
|
4994
|
-
if (
|
|
5149
|
+
var _ = String.fromCharCode(d);
|
|
5150
|
+
if (_ === "\\" || zr.test(_))
|
|
4995
5151
|
return Kr();
|
|
4996
|
-
k(a, "Unexpected character '" +
|
|
5152
|
+
k(a, "Unexpected character '" + _ + "'");
|
|
4997
5153
|
}
|
|
4998
5154
|
}
|
|
4999
5155
|
function G(c, d) {
|
|
@@ -5003,17 +5159,17 @@ const Cl = {}, Al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5003
5159
|
function Wr() {
|
|
5004
5160
|
for (var c, d, y = a; ; ) {
|
|
5005
5161
|
a >= e && k(y, "Unterminated regexp");
|
|
5006
|
-
var
|
|
5007
|
-
if (nt.test(
|
|
5162
|
+
var _ = t.charAt(a);
|
|
5163
|
+
if (nt.test(_) && k(y, "Unterminated regexp"), c)
|
|
5008
5164
|
c = !1;
|
|
5009
5165
|
else {
|
|
5010
|
-
if (
|
|
5166
|
+
if (_ === "[")
|
|
5011
5167
|
d = !0;
|
|
5012
|
-
else if (
|
|
5168
|
+
else if (_ === "]" && d)
|
|
5013
5169
|
d = !1;
|
|
5014
|
-
else if (
|
|
5170
|
+
else if (_ === "/" && !d)
|
|
5015
5171
|
break;
|
|
5016
|
-
c =
|
|
5172
|
+
c = _ === "\\";
|
|
5017
5173
|
}
|
|
5018
5174
|
++a;
|
|
5019
5175
|
}
|
|
@@ -5028,28 +5184,28 @@ const Cl = {}, Al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5028
5184
|
}
|
|
5029
5185
|
V(mr, A);
|
|
5030
5186
|
}
|
|
5031
|
-
function
|
|
5032
|
-
for (var y = a,
|
|
5187
|
+
function je(c, d) {
|
|
5188
|
+
for (var y = a, _ = 0, C = d === void 0 ? 1 / 0 : d, w = 0; w < C; ++w) {
|
|
5033
5189
|
var A = t.charCodeAt(a), U;
|
|
5034
5190
|
if (A >= 97 ? U = A - 97 + 10 : A >= 65 ? U = A - 65 + 10 : A >= 48 && A <= 57 ? U = A - 48 : U = 1 / 0, U >= c) break;
|
|
5035
|
-
++a,
|
|
5191
|
+
++a, _ = _ * c + U;
|
|
5036
5192
|
}
|
|
5037
|
-
return a === y || d !== void 0 && a - y !== d ? null :
|
|
5193
|
+
return a === y || d !== void 0 && a - y !== d ? null : _;
|
|
5038
5194
|
}
|
|
5039
|
-
function
|
|
5195
|
+
function na() {
|
|
5040
5196
|
a += 2;
|
|
5041
|
-
var c =
|
|
5197
|
+
var c = je(16);
|
|
5042
5198
|
c === null && k(p + 2, "Expected hexadecimal number"), at(t.charCodeAt(a)) && k(a, "Identifier directly after number"), V(Qe, c);
|
|
5043
5199
|
}
|
|
5044
5200
|
function Jr(c) {
|
|
5045
|
-
var d = a, y = !1,
|
|
5046
|
-
!c &&
|
|
5201
|
+
var d = a, y = !1, _ = t.charCodeAt(a) === 48;
|
|
5202
|
+
!c && je(10) === null && k(d, "Invalid number"), t.charCodeAt(a) === 46 && (++a, je(10), y = !0);
|
|
5047
5203
|
var C = t.charCodeAt(a);
|
|
5048
|
-
(C === 69 || C === 101) && (C = t.charCodeAt(++a), (C === 43 || C === 45) && ++a,
|
|
5204
|
+
(C === 69 || C === 101) && (C = t.charCodeAt(++a), (C === 43 || C === 45) && ++a, je(10) === null && k(d, "Invalid number"), y = !0), at(t.charCodeAt(a)) && k(a, "Identifier directly after number");
|
|
5049
5205
|
var w = t.slice(d, a), A;
|
|
5050
|
-
y ? A = parseFloat(w) : !
|
|
5206
|
+
y ? A = parseFloat(w) : !_ || w.length === 1 ? A = parseInt(w, 10) : /[89]/.test(w) || J ? k(d, "Invalid number") : A = parseInt(w, 8), V(Qe, A);
|
|
5051
5207
|
}
|
|
5052
|
-
function
|
|
5208
|
+
function ia(c) {
|
|
5053
5209
|
a++;
|
|
5054
5210
|
for (var d = ""; ; ) {
|
|
5055
5211
|
a >= e && k(p, "Unterminated string constant");
|
|
@@ -5060,11 +5216,11 @@ const Cl = {}, Al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5060
5216
|
}
|
|
5061
5217
|
if (y === 92) {
|
|
5062
5218
|
y = t.charCodeAt(++a);
|
|
5063
|
-
var
|
|
5064
|
-
for (
|
|
5065
|
-
|
|
5066
|
-
if (
|
|
5067
|
-
J && k(a - 2, "Octal literal in strict mode"), d += String.fromCharCode(parseInt(
|
|
5219
|
+
var _ = /^[0-7]+/.exec(t.slice(a, a + 3));
|
|
5220
|
+
for (_ && (_ = _[0]); _ && parseInt(_, 8) > 255; )
|
|
5221
|
+
_ = _.slice(0, -1);
|
|
5222
|
+
if (_ === "0" && (_ = null), ++a, _)
|
|
5223
|
+
J && k(a - 2, "Octal literal in strict mode"), d += String.fromCharCode(parseInt(_, 8)), a += _.length - 1;
|
|
5068
5224
|
else
|
|
5069
5225
|
switch (y) {
|
|
5070
5226
|
case 110:
|
|
@@ -5112,7 +5268,7 @@ const Cl = {}, Al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5112
5268
|
}
|
|
5113
5269
|
}
|
|
5114
5270
|
function ot(c) {
|
|
5115
|
-
var d =
|
|
5271
|
+
var d = je(16, c);
|
|
5116
5272
|
return d === null && k(p, "Bad character escape sequence"), /** @type {number} */
|
|
5117
5273
|
d;
|
|
5118
5274
|
}
|
|
@@ -5120,13 +5276,13 @@ const Cl = {}, Al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5120
5276
|
function Hr() {
|
|
5121
5277
|
Se = !1;
|
|
5122
5278
|
for (var c, d = !0, y = a; ; ) {
|
|
5123
|
-
var
|
|
5124
|
-
if (
|
|
5279
|
+
var _ = t.charCodeAt(a);
|
|
5280
|
+
if (Xr(_))
|
|
5125
5281
|
Se && (c += t.charAt(a)), ++a;
|
|
5126
|
-
else if (
|
|
5282
|
+
else if (_ === 92) {
|
|
5127
5283
|
Se || (c = t.slice(y, a)), Se = !0, t.charCodeAt(++a) !== 117 && k(a, "Expecting Unicode escape sequence \\uXXXX"), ++a;
|
|
5128
5284
|
var C = ot(4), w = String.fromCharCode(C);
|
|
5129
|
-
w || k(a - 1, "Invalid Unicode escape"), (d ? at(C) :
|
|
5285
|
+
w || k(a - 1, "Invalid Unicode escape"), (d ? at(C) : Xr(C)) || k(a - 4, "Invalid Unicode escape"), c += w;
|
|
5130
5286
|
} else
|
|
5131
5287
|
break;
|
|
5132
5288
|
d = !1;
|
|
@@ -5135,17 +5291,17 @@ const Cl = {}, Al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5135
5291
|
}
|
|
5136
5292
|
function Kr() {
|
|
5137
5293
|
var c = Hr(), d = Oe;
|
|
5138
|
-
!Se &&
|
|
5294
|
+
!Se && Vi(c) && (d = Ai[c]), V(d, c);
|
|
5139
5295
|
}
|
|
5140
5296
|
function D() {
|
|
5141
|
-
|
|
5297
|
+
Le = p, q = v, Re = S, Ne();
|
|
5142
5298
|
}
|
|
5143
5299
|
function Lt(c) {
|
|
5144
5300
|
if (J = c, a = p, r.locations)
|
|
5145
5301
|
for (; a < W; )
|
|
5146
5302
|
W = t.lastIndexOf(`
|
|
5147
5303
|
`, W - 2) + 1, --L;
|
|
5148
|
-
|
|
5304
|
+
Ue(), Ne();
|
|
5149
5305
|
}
|
|
5150
5306
|
function qr() {
|
|
5151
5307
|
this.type = null, this.start = p, this.end = null;
|
|
@@ -5157,284 +5313,284 @@ const Cl = {}, Al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5157
5313
|
var c = new qr();
|
|
5158
5314
|
return r.locations && (c.loc = new Zr()), r.directSourceFile && (c.sourceFile = r.directSourceFile), r.ranges && (c.range = [p, 0]), c;
|
|
5159
5315
|
}
|
|
5160
|
-
function
|
|
5316
|
+
function se(c) {
|
|
5161
5317
|
var d = new qr();
|
|
5162
5318
|
return d.start = c.start, r.locations && (d.loc = new Zr(), d.loc.start = c.loc.start), r.ranges && (d.range = [c.range[0], 0]), d;
|
|
5163
5319
|
}
|
|
5164
|
-
function
|
|
5165
|
-
return c.type = d, c.end =
|
|
5320
|
+
function P(c, d) {
|
|
5321
|
+
return c.type = d, c.end = q, r.locations && (c.loc.end = Re), r.ranges && (c.range[1] = q), c;
|
|
5166
5322
|
}
|
|
5167
|
-
function
|
|
5323
|
+
function Ft(c) {
|
|
5168
5324
|
return c.type === "ExpressionStatement" && c.expression.type === "Literal" && c.expression.value === "use strict";
|
|
5169
5325
|
}
|
|
5170
5326
|
function j(c) {
|
|
5171
|
-
return
|
|
5327
|
+
return O === c ? (D(), !0) : !1;
|
|
5172
5328
|
}
|
|
5173
5329
|
function ut() {
|
|
5174
|
-
return !r.strictSemicolons && (
|
|
5330
|
+
return !r.strictSemicolons && (O === Nt || O === Te || nt.test(t.slice(q, p)));
|
|
5175
5331
|
}
|
|
5176
|
-
function
|
|
5177
|
-
!j(
|
|
5332
|
+
function ye() {
|
|
5333
|
+
!j(re) && !ut() && ne();
|
|
5178
5334
|
}
|
|
5179
5335
|
function $(c) {
|
|
5180
|
-
|
|
5336
|
+
O === c ? D() : ne();
|
|
5181
5337
|
}
|
|
5182
|
-
function
|
|
5338
|
+
function ne() {
|
|
5183
5339
|
k(p, "Unexpected token");
|
|
5184
5340
|
}
|
|
5185
5341
|
function st(c) {
|
|
5186
5342
|
c.type !== "Identifier" && c.type !== "MemberExpression" && k(c.start, "Assigning to rvalue"), J && c.type === "Identifier" && rt(c.name) && k(c.start, "Assigning to " + c.name + " in strict mode");
|
|
5187
5343
|
}
|
|
5188
|
-
function
|
|
5189
|
-
|
|
5344
|
+
function aa(c) {
|
|
5345
|
+
Le = q = a, r.locations && (Re = new ve()), de = J = !1, B = [], Ne();
|
|
5190
5346
|
var d = c || Y(), y = !0;
|
|
5191
|
-
for (c || (d.body = []);
|
|
5192
|
-
var
|
|
5193
|
-
d.body.push(
|
|
5347
|
+
for (c || (d.body = []); O !== Nt; ) {
|
|
5348
|
+
var _ = Z();
|
|
5349
|
+
d.body.push(_), y && Ft(_) && Lt(!0), y = !1;
|
|
5194
5350
|
}
|
|
5195
|
-
return
|
|
5351
|
+
return P(d, "Program");
|
|
5196
5352
|
}
|
|
5197
|
-
var
|
|
5198
|
-
function
|
|
5199
|
-
(
|
|
5200
|
-
var c =
|
|
5353
|
+
var Mt = { kind: "loop" }, oa = { kind: "switch" };
|
|
5354
|
+
function Z() {
|
|
5355
|
+
(O === Ur || O === he && x === "/=") && Ne(!0);
|
|
5356
|
+
var c = O, d = Y();
|
|
5201
5357
|
switch (c) {
|
|
5202
5358
|
case St:
|
|
5203
|
-
case
|
|
5359
|
+
case _r:
|
|
5204
5360
|
D();
|
|
5205
5361
|
var y = c === St;
|
|
5206
|
-
j(
|
|
5207
|
-
for (var
|
|
5208
|
-
var C = B[
|
|
5362
|
+
j(re) || ut() ? d.label = null : O !== Oe ? ne() : (d.label = le(), ye());
|
|
5363
|
+
for (var _ = 0; _ < B.length; ++_) {
|
|
5364
|
+
var C = B[_];
|
|
5209
5365
|
if ((d.label === null || C.name === d.label.name) && (C.kind !== null && (y || C.kind === "loop") || d.label && y))
|
|
5210
5366
|
break;
|
|
5211
5367
|
}
|
|
5212
|
-
return
|
|
5368
|
+
return _ === B.length && k(d.start, "Unsyntactic " + c.keyword), P(d, y ? "BreakStatement" : "ContinueStatement");
|
|
5213
5369
|
case br:
|
|
5214
|
-
return D(),
|
|
5370
|
+
return D(), ye(), P(d, "DebuggerStatement");
|
|
5215
5371
|
case Rr:
|
|
5216
|
-
return D(), B.push(
|
|
5372
|
+
return D(), B.push(Mt), d.body = Z(), B.pop(), $(At), d.test = Be(), ye(), P(d, "DoWhileStatement");
|
|
5217
5373
|
case Nr:
|
|
5218
|
-
if (D(), B.push(
|
|
5219
|
-
if (
|
|
5374
|
+
if (D(), B.push(Mt), $(te), O === re) return Ut(d, null);
|
|
5375
|
+
if (O === Ct) {
|
|
5220
5376
|
var w = Y();
|
|
5221
|
-
return D(), en(w, !0),
|
|
5377
|
+
return D(), en(w, !0), P(w, "VariableDeclaration"), w.declarations.length === 1 && j(et) ? Qr(d, w) : Ut(d, w);
|
|
5222
5378
|
}
|
|
5223
|
-
var w =
|
|
5379
|
+
var w = z(!1, !0);
|
|
5224
5380
|
return j(et) ? (st(w), Qr(d, w)) : Ut(d, w);
|
|
5225
5381
|
case wt:
|
|
5226
5382
|
return D(), Gt(d, !0);
|
|
5227
5383
|
case Sr:
|
|
5228
|
-
return D(), d.test =
|
|
5229
|
-
case
|
|
5230
|
-
return !
|
|
5231
|
-
case
|
|
5232
|
-
D(), d.discriminant =
|
|
5233
|
-
for (var A, U;
|
|
5234
|
-
if (
|
|
5235
|
-
var
|
|
5236
|
-
A &&
|
|
5384
|
+
return D(), d.test = Be(), d.consequent = Z(), d.alternate = j(Or) ? Z() : null, P(d, "IfStatement");
|
|
5385
|
+
case xr:
|
|
5386
|
+
return !de && !r.allowReturnOutsideFunction && k(p, "'return' outside of function"), D(), j(re) || ut() ? d.argument = null : (d.argument = z(), ye()), P(d, "ReturnStatement");
|
|
5387
|
+
case Pt:
|
|
5388
|
+
D(), d.discriminant = Be(), d.cases = [], $(Fe), B.push(oa);
|
|
5389
|
+
for (var A, U; O !== Te; )
|
|
5390
|
+
if (O === xt || O === Er) {
|
|
5391
|
+
var Ge = O === xt;
|
|
5392
|
+
A && P(A, "SwitchCase"), d.cases.push(A = Y()), A.consequent = [], D(), Ge ? A.test = z() : (U && k(Le, "Multiple default clauses"), U = !0, A.test = null), $(Me);
|
|
5237
5393
|
} else
|
|
5238
|
-
A ||
|
|
5239
|
-
return A &&
|
|
5394
|
+
A || ne(), A.consequent.push(Z());
|
|
5395
|
+
return A && P(A, "SwitchCase"), D(), B.pop(), P(d, "SwitchStatement");
|
|
5240
5396
|
case wr:
|
|
5241
|
-
return D(), nt.test(t.slice(
|
|
5242
|
-
case
|
|
5243
|
-
if (D(), d.block =
|
|
5244
|
-
var
|
|
5245
|
-
D(), $(
|
|
5397
|
+
return D(), nt.test(t.slice(q, p)) && k(q, "Illegal newline after throw"), d.argument = z(), ye(), P(d, "ThrowStatement");
|
|
5398
|
+
case Pr:
|
|
5399
|
+
if (D(), d.block = $e(), d.handler = null, O === gr) {
|
|
5400
|
+
var xe = Y();
|
|
5401
|
+
D(), $(te), xe.param = le(), J && rt(xe.param.name) && k(xe.param.start, "Binding " + xe.param.name + " in strict mode"), $(Q), xe.body = $e(), d.handler = P(xe, "CatchClause");
|
|
5246
5402
|
}
|
|
5247
|
-
return d.finalizer = j(Tr) ?
|
|
5403
|
+
return d.finalizer = j(Tr) ? $e() : null, !d.handler && !d.finalizer && k(d.start, "Missing catch or finally clause"), P(d, "TryStatement");
|
|
5248
5404
|
case Ct:
|
|
5249
|
-
return D(), en(d),
|
|
5405
|
+
return D(), en(d), ye(), P(d, "VariableDeclaration");
|
|
5250
5406
|
case At:
|
|
5251
|
-
return D(), d.test =
|
|
5407
|
+
return D(), d.test = Be(), B.push(Mt), d.body = Z(), B.pop(), P(d, "WhileStatement");
|
|
5252
5408
|
case Cr:
|
|
5253
|
-
return J && k(p, "'with' in strict mode"), D(), d.object =
|
|
5254
|
-
case
|
|
5255
|
-
return
|
|
5256
|
-
case
|
|
5257
|
-
return D(),
|
|
5409
|
+
return J && k(p, "'with' in strict mode"), D(), d.object = Be(), d.body = Z(), P(d, "WithStatement");
|
|
5410
|
+
case Fe:
|
|
5411
|
+
return $e();
|
|
5412
|
+
case re:
|
|
5413
|
+
return D(), P(d, "EmptyStatement");
|
|
5258
5414
|
default:
|
|
5259
|
-
var
|
|
5415
|
+
var zt = x, lt = z();
|
|
5260
5416
|
if (c === Oe && lt.type === "Identifier" && j(Me)) {
|
|
5261
|
-
for (var
|
|
5262
|
-
B[
|
|
5263
|
-
var
|
|
5264
|
-
return B.push({ name:
|
|
5417
|
+
for (var _ = 0; _ < B.length; ++_)
|
|
5418
|
+
B[_].name === zt && k(lt.start, "Label '" + zt + "' is already declared");
|
|
5419
|
+
var pa = O.isLoop ? "loop" : O === Pt ? "switch" : null;
|
|
5420
|
+
return B.push({ name: zt, kind: pa }), d.body = Z(), B.pop(), d.label = lt, P(d, "LabeledStatement");
|
|
5265
5421
|
} else
|
|
5266
|
-
return d.expression = lt,
|
|
5422
|
+
return d.expression = lt, ye(), P(d, "ExpressionStatement");
|
|
5267
5423
|
}
|
|
5268
5424
|
}
|
|
5269
|
-
function
|
|
5270
|
-
$(
|
|
5271
|
-
var c =
|
|
5272
|
-
return $(
|
|
5425
|
+
function Be() {
|
|
5426
|
+
$(te);
|
|
5427
|
+
var c = z();
|
|
5428
|
+
return $(Q), c;
|
|
5273
5429
|
}
|
|
5274
|
-
function
|
|
5275
|
-
var d = Y(), y = !0,
|
|
5276
|
-
for (d.body = [], $(
|
|
5277
|
-
var w =
|
|
5278
|
-
d.body.push(w), y && c &&
|
|
5430
|
+
function $e(c) {
|
|
5431
|
+
var d = Y(), y = !0, _ = !1, C;
|
|
5432
|
+
for (d.body = [], $(Fe); !j(Te); ) {
|
|
5433
|
+
var w = Z();
|
|
5434
|
+
d.body.push(w), y && c && Ft(w) && (C = _, Lt(_ = !0)), y = !1;
|
|
5279
5435
|
}
|
|
5280
|
-
return
|
|
5436
|
+
return _ && !C && Lt(!1), P(d, "BlockStatement");
|
|
5281
5437
|
}
|
|
5282
5438
|
function Ut(c, d) {
|
|
5283
|
-
return c.init = d, $(
|
|
5439
|
+
return c.init = d, $(re), c.test = O === re ? null : z(), $(re), c.update = O === Q ? null : z(), $(Q), c.body = Z(), B.pop(), P(c, "ForStatement");
|
|
5284
5440
|
}
|
|
5285
5441
|
function Qr(c, d) {
|
|
5286
|
-
return c.left = d, c.right =
|
|
5442
|
+
return c.left = d, c.right = z(), $(Q), c.body = Z(), B.pop(), P(c, "ForInStatement");
|
|
5287
5443
|
}
|
|
5288
5444
|
function en(c, d) {
|
|
5289
5445
|
for (c.declarations = [], c.kind = "var"; ; ) {
|
|
5290
5446
|
var y = Y();
|
|
5291
|
-
if (y.id =
|
|
5447
|
+
if (y.id = le(), J && rt(y.id.name) && k(y.id.start, "Binding " + y.id.name + " in strict mode"), y.init = j(jr) ? z(!0, d) : null, c.declarations.push(P(y, "VariableDeclarator")), !j(ue)) break;
|
|
5292
5448
|
}
|
|
5293
5449
|
}
|
|
5294
|
-
function
|
|
5450
|
+
function z(c, d) {
|
|
5295
5451
|
var y = jt(d);
|
|
5296
|
-
if (!c &&
|
|
5297
|
-
var
|
|
5298
|
-
for (
|
|
5299
|
-
return
|
|
5452
|
+
if (!c && O === ue) {
|
|
5453
|
+
var _ = se(y);
|
|
5454
|
+
for (_.expressions = [y]; j(ue); ) _.expressions.push(jt(d));
|
|
5455
|
+
return P(_, "SequenceExpression");
|
|
5300
5456
|
}
|
|
5301
5457
|
return y;
|
|
5302
5458
|
}
|
|
5303
5459
|
function jt(c) {
|
|
5304
|
-
var d =
|
|
5305
|
-
if (
|
|
5306
|
-
var y =
|
|
5307
|
-
return y.operator =
|
|
5460
|
+
var d = ua(c);
|
|
5461
|
+
if (O.isAssign) {
|
|
5462
|
+
var y = se(d);
|
|
5463
|
+
return y.operator = x, y.left = d, D(), y.right = jt(c), st(d), P(y, "AssignmentExpression");
|
|
5308
5464
|
}
|
|
5309
5465
|
return d;
|
|
5310
5466
|
}
|
|
5311
|
-
function
|
|
5312
|
-
var d =
|
|
5313
|
-
if (j(
|
|
5314
|
-
var y =
|
|
5315
|
-
return y.test = d, y.consequent =
|
|
5467
|
+
function ua(c) {
|
|
5468
|
+
var d = sa(c);
|
|
5469
|
+
if (j(Mr)) {
|
|
5470
|
+
var y = se(d);
|
|
5471
|
+
return y.test = d, y.consequent = z(!0), $(Me), y.alternate = z(!0, c), P(y, "ConditionalExpression");
|
|
5316
5472
|
}
|
|
5317
5473
|
return d;
|
|
5318
5474
|
}
|
|
5319
|
-
function
|
|
5475
|
+
function sa(c) {
|
|
5320
5476
|
return Bt($t(), -1, c);
|
|
5321
5477
|
}
|
|
5322
5478
|
function Bt(c, d, y) {
|
|
5323
|
-
var
|
|
5324
|
-
if (
|
|
5325
|
-
var C =
|
|
5326
|
-
C.left = c, C.operator =
|
|
5327
|
-
var w =
|
|
5328
|
-
D(), C.right = Bt($t(),
|
|
5329
|
-
var A =
|
|
5479
|
+
var _ = O.binop;
|
|
5480
|
+
if (_ !== null && (!y || O !== et) && _ > d) {
|
|
5481
|
+
var C = se(c);
|
|
5482
|
+
C.left = c, C.operator = x;
|
|
5483
|
+
var w = O;
|
|
5484
|
+
D(), C.right = Bt($t(), _, y);
|
|
5485
|
+
var A = P(C, w === $r || w === Vr ? "LogicalExpression" : "BinaryExpression");
|
|
5330
5486
|
return Bt(A, d, y);
|
|
5331
5487
|
}
|
|
5332
5488
|
return c;
|
|
5333
5489
|
}
|
|
5334
5490
|
function $t() {
|
|
5335
|
-
if (
|
|
5336
|
-
var c = Y(), d =
|
|
5337
|
-
return c.operator =
|
|
5491
|
+
if (O.prefix) {
|
|
5492
|
+
var c = Y(), d = O.isUpdate;
|
|
5493
|
+
return c.operator = x, c.prefix = !0, I = !0, D(), c.argument = $t(), d ? st(c.argument) : J && c.operator === "delete" && c.argument.type === "Identifier" && k(c.start, "Deleting local variable in strict mode"), P(c, d ? "UpdateExpression" : "UnaryExpression");
|
|
5338
5494
|
}
|
|
5339
|
-
for (var y =
|
|
5340
|
-
var c =
|
|
5341
|
-
c.operator =
|
|
5495
|
+
for (var y = la(); O.postfix && !ut(); ) {
|
|
5496
|
+
var c = se(y);
|
|
5497
|
+
c.operator = x, c.prefix = !1, c.argument = y, st(y), D(), y = P(c, "UpdateExpression");
|
|
5342
5498
|
}
|
|
5343
5499
|
return y;
|
|
5344
5500
|
}
|
|
5345
|
-
function
|
|
5346
|
-
return
|
|
5501
|
+
function la() {
|
|
5502
|
+
return Ve(Vt());
|
|
5347
5503
|
}
|
|
5348
|
-
function
|
|
5504
|
+
function Ve(c, d) {
|
|
5349
5505
|
var y;
|
|
5350
|
-
return j(
|
|
5506
|
+
return j(Fr) ? (y = se(c), y.object = c, y.property = le(!0), y.computed = !1, Ve(P(y, "MemberExpression"), d)) : j(kt) ? (y = se(c), y.object = c, y.property = z(), y.computed = !0, $(It), Ve(P(y, "MemberExpression"), d)) : !d && j(te) ? (y = se(c), y.callee = c, y.arguments = Yt(Q, !1), Ve(P(y, "CallExpression"), d)) : c;
|
|
5351
5507
|
}
|
|
5352
5508
|
function Vt() {
|
|
5353
5509
|
var c;
|
|
5354
|
-
switch (
|
|
5510
|
+
switch (O) {
|
|
5355
5511
|
case kr:
|
|
5356
|
-
return c = Y(), D(),
|
|
5512
|
+
return c = Y(), D(), P(c, "ThisExpression");
|
|
5357
5513
|
case Oe:
|
|
5358
|
-
return
|
|
5514
|
+
return le();
|
|
5359
5515
|
case Qe:
|
|
5360
5516
|
case Tt:
|
|
5361
5517
|
case mr:
|
|
5362
|
-
return c = Y(), c.value =
|
|
5518
|
+
return c = Y(), c.value = x, c.raw = t.slice(p, v), D(), P(c, "Literal");
|
|
5363
5519
|
case Ir:
|
|
5364
5520
|
case Dr:
|
|
5365
5521
|
case Lr:
|
|
5366
|
-
return c = Y(), c.value =
|
|
5367
|
-
case
|
|
5522
|
+
return c = Y(), c.value = O.atomValue, c.raw = O.keyword, D(), P(c, "Literal");
|
|
5523
|
+
case te:
|
|
5368
5524
|
var d = E, y = p;
|
|
5369
5525
|
D();
|
|
5370
|
-
var
|
|
5371
|
-
return
|
|
5526
|
+
var _ = z();
|
|
5527
|
+
return _.start = y, _.end = v, r.locations && (_.loc.start = d, _.loc.end = S), r.ranges && (_.range = [y, v]), $(Q), _;
|
|
5372
5528
|
case kt:
|
|
5373
|
-
return c = Y(), D(), c.elements = Yt(It, !0, !0),
|
|
5374
|
-
case
|
|
5375
|
-
return
|
|
5529
|
+
return c = Y(), D(), c.elements = Yt(It, !0, !0), P(c, "ArrayExpression");
|
|
5530
|
+
case Fe:
|
|
5531
|
+
return fa();
|
|
5376
5532
|
case wt:
|
|
5377
5533
|
return c = Y(), D(), Gt(c, !1);
|
|
5378
5534
|
case Ar:
|
|
5379
|
-
return
|
|
5535
|
+
return ca();
|
|
5380
5536
|
}
|
|
5381
|
-
|
|
5537
|
+
ne();
|
|
5382
5538
|
}
|
|
5383
|
-
function
|
|
5539
|
+
function ca() {
|
|
5384
5540
|
var c = Y();
|
|
5385
|
-
return D(), c.callee =
|
|
5541
|
+
return D(), c.callee = Ve(Vt(), !0), c.arguments = j(te) ? Yt(Q, !1) : Ci, P(c, "NewExpression");
|
|
5386
5542
|
}
|
|
5387
|
-
function
|
|
5543
|
+
function fa() {
|
|
5388
5544
|
var c = Y(), d = !0, y = !1;
|
|
5389
5545
|
for (c.properties = [], D(); !j(Te); ) {
|
|
5390
5546
|
if (d)
|
|
5391
5547
|
d = !1;
|
|
5392
|
-
else if ($(
|
|
5548
|
+
else if ($(ue), r.allowTrailingCommas && j(Te))
|
|
5393
5549
|
break;
|
|
5394
|
-
var
|
|
5395
|
-
if (j(Me) ? (
|
|
5550
|
+
var _ = { key: tn() }, C = !1, w;
|
|
5551
|
+
if (j(Me) ? (_.value = z(!0), w = _.kind = "init") : _.key.type === "Identifier" && (_.key.name === "get" || _.key.name === "set") ? (C = y = !0, w = _.kind = _.key.name, _.key = tn(), O !== te && ne(), _.value = Gt(Y(), !1)) : ne(), _.key.type === "Identifier" && (J || y))
|
|
5396
5552
|
for (var A = 0; A < c.properties.length; ++A) {
|
|
5397
5553
|
var U = c.properties[A];
|
|
5398
|
-
if (U.key.name ===
|
|
5399
|
-
var
|
|
5400
|
-
|
|
5554
|
+
if (U.key.name === _.key.name) {
|
|
5555
|
+
var Ge = w === U.kind || C && U.kind === "init" || w === "init" && (U.kind === "get" || U.kind === "set");
|
|
5556
|
+
Ge && !J && w === "init" && U.kind === "init" && (Ge = !1), Ge && k(_.key.start, "Redefinition of property");
|
|
5401
5557
|
}
|
|
5402
5558
|
}
|
|
5403
|
-
c.properties.push(
|
|
5559
|
+
c.properties.push(_);
|
|
5404
5560
|
}
|
|
5405
|
-
return
|
|
5561
|
+
return P(c, "ObjectExpression");
|
|
5406
5562
|
}
|
|
5407
5563
|
function tn() {
|
|
5408
|
-
return
|
|
5564
|
+
return O === Qe || O === Tt ? Vt() : le(!0);
|
|
5409
5565
|
}
|
|
5410
5566
|
function Gt(c, d) {
|
|
5411
|
-
|
|
5567
|
+
O === Oe ? c.id = le() : d ? ne() : c.id = null, c.params = [];
|
|
5412
5568
|
var y = !0;
|
|
5413
|
-
for ($(
|
|
5414
|
-
y ? y = !1 : $(
|
|
5415
|
-
var
|
|
5416
|
-
if (
|
|
5569
|
+
for ($(te); !j(Q); )
|
|
5570
|
+
y ? y = !1 : $(ue), c.params.push(le());
|
|
5571
|
+
var _ = de, C = B;
|
|
5572
|
+
if (de = !0, B = [], c.body = $e(!0), de = _, B = C, J || c.body.body.length && Ft(c.body.body[0]))
|
|
5417
5573
|
for (var w = c.id ? -1 : 0; w < c.params.length; ++w) {
|
|
5418
5574
|
var A = w < 0 ? c.id : c.params[w];
|
|
5419
5575
|
if ((Gr(A.name) || rt(A.name)) && k(A.start, "Defining '" + A.name + "' in strict mode"), w >= 0)
|
|
5420
5576
|
for (var U = 0; U < w; ++U)
|
|
5421
5577
|
A.name === c.params[U].name && k(A.start, "Argument name clash in strict mode");
|
|
5422
5578
|
}
|
|
5423
|
-
return
|
|
5579
|
+
return P(c, d ? "FunctionDeclaration" : "FunctionExpression");
|
|
5424
5580
|
}
|
|
5425
5581
|
function Yt(c, d, y) {
|
|
5426
|
-
for (var
|
|
5582
|
+
for (var _ = [], C = !0; !j(c); ) {
|
|
5427
5583
|
if (C)
|
|
5428
5584
|
C = !1;
|
|
5429
|
-
else if ($(
|
|
5585
|
+
else if ($(ue), d && r.allowTrailingCommas && j(c))
|
|
5430
5586
|
break;
|
|
5431
|
-
|
|
5587
|
+
_.push(y && O === ue ? null : z(!0));
|
|
5432
5588
|
}
|
|
5433
|
-
return
|
|
5589
|
+
return _;
|
|
5434
5590
|
}
|
|
5435
|
-
function
|
|
5591
|
+
function le(c) {
|
|
5436
5592
|
var d = Y();
|
|
5437
|
-
return c && r.forbidReserved === "everywhere" && (c = !1),
|
|
5593
|
+
return c && r.forbidReserved === "everywhere" && (c = !1), O === Oe ? (!c && (r.forbidReserved && $i(x) || J && Gr(x)) && t.slice(p, v).indexOf("\\") === -1 && k(p, "The keyword '" + x + "' is reserved"), d.name = x) : c && O.keyword ? d.name = O.keyword : ne(), I = !1, D(), P(d, "Identifier");
|
|
5438
5594
|
}
|
|
5439
5595
|
});
|
|
5440
5596
|
}
|
|
@@ -5446,16 +5602,16 @@ const Cl = {}, Al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5446
5602
|
\*********************/
|
|
5447
5603
|
/***/
|
|
5448
5604
|
(m) => {
|
|
5449
|
-
m.exports =
|
|
5605
|
+
m.exports = Al;
|
|
5450
5606
|
}
|
|
5451
5607
|
)
|
|
5452
5608
|
/******/
|
|
5453
5609
|
}, h = {};
|
|
5454
|
-
function
|
|
5610
|
+
function g(m) {
|
|
5455
5611
|
var T = h[m];
|
|
5456
5612
|
if (T !== void 0)
|
|
5457
5613
|
return T.exports;
|
|
5458
|
-
var
|
|
5614
|
+
var R = h[m] = {
|
|
5459
5615
|
/******/
|
|
5460
5616
|
// no module.id needed
|
|
5461
5617
|
/******/
|
|
@@ -5464,12 +5620,12 @@ const Cl = {}, Al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5464
5620
|
exports: {}
|
|
5465
5621
|
/******/
|
|
5466
5622
|
};
|
|
5467
|
-
return f[m].call(
|
|
5623
|
+
return f[m].call(R.exports, R, R.exports, g), R.exports;
|
|
5468
5624
|
}
|
|
5469
|
-
|
|
5470
|
-
for (var
|
|
5471
|
-
|
|
5472
|
-
},
|
|
5625
|
+
g.d = (m, T) => {
|
|
5626
|
+
for (var R in T)
|
|
5627
|
+
g.o(T, R) && !g.o(m, R) && Object.defineProperty(m, R, { enumerable: !0, get: T[R] });
|
|
5628
|
+
}, g.o = (m, T) => Object.prototype.hasOwnProperty.call(m, T), g.r = (m) => {
|
|
5473
5629
|
typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(m, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(m, "__esModule", { value: !0 });
|
|
5474
5630
|
};
|
|
5475
5631
|
var b = {};
|
|
@@ -5477,50 +5633,50 @@ const Cl = {}, Al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5477
5633
|
/*!*******************************!*\
|
|
5478
5634
|
!*** ./src/js-interpreter.js ***!
|
|
5479
5635
|
\*******************************/
|
|
5480
|
-
|
|
5636
|
+
g.r(b), g.d(b, {
|
|
5481
5637
|
/* harmony export */
|
|
5482
|
-
default: () =>
|
|
5638
|
+
default: () => R
|
|
5483
5639
|
/* harmony export */
|
|
5484
5640
|
});
|
|
5485
|
-
const m =
|
|
5641
|
+
const m = g(
|
|
5486
5642
|
/*! ../original-repo/acorn */
|
|
5487
5643
|
"./original-repo/acorn.js"
|
|
5488
5644
|
);
|
|
5489
5645
|
globalThis.acorn = m;
|
|
5490
|
-
const { Interpreter: T } =
|
|
5646
|
+
const { Interpreter: T } = g(
|
|
5491
5647
|
/*! ../original-repo/interpreter */
|
|
5492
5648
|
"./original-repo/interpreter.js"
|
|
5493
|
-
),
|
|
5649
|
+
), R = T;
|
|
5494
5650
|
})(), b = b.default, b;
|
|
5495
5651
|
})()
|
|
5496
5652
|
));
|
|
5497
|
-
})(
|
|
5498
|
-
var
|
|
5499
|
-
const
|
|
5500
|
-
function
|
|
5653
|
+
})(xi);
|
|
5654
|
+
var kl = xi.exports;
|
|
5655
|
+
const Il = /* @__PURE__ */ xl(kl);
|
|
5656
|
+
function Dl(n, o) {
|
|
5501
5657
|
function f(T) {
|
|
5502
|
-
const
|
|
5503
|
-
console.log(
|
|
5658
|
+
const R = n.pseudoToNative(T);
|
|
5659
|
+
console.log(R);
|
|
5504
5660
|
}
|
|
5505
5661
|
function h(T) {
|
|
5506
|
-
const
|
|
5662
|
+
const R = n.pseudoToNative(T);
|
|
5507
5663
|
let r = "";
|
|
5508
|
-
typeof
|
|
5664
|
+
typeof R == "object" ? r = JSON.stringify(R) : r = String(R), Bn.emit("consoleAppend", r);
|
|
5509
5665
|
}
|
|
5510
|
-
function
|
|
5511
|
-
const r = n.pseudoToNative(T), t = n.pseudoToNative(
|
|
5512
|
-
r === "info" ?
|
|
5666
|
+
function g(T, R) {
|
|
5667
|
+
const r = n.pseudoToNative(T), t = n.pseudoToNative(R);
|
|
5668
|
+
r === "info" ? ba(t) : r === "success" ? Ea(t) : r === "warning" ? Ra(t) : r === "error" && Oa(t);
|
|
5513
5669
|
}
|
|
5514
|
-
function b(T,
|
|
5515
|
-
const r = n.pseudoToNative(T), t = n.pseudoToNative(
|
|
5670
|
+
function b(T, R) {
|
|
5671
|
+
const r = n.pseudoToNative(T), t = n.pseudoToNative(R);
|
|
5516
5672
|
setTimeout(() => {
|
|
5517
5673
|
n.appendCode(`__timeoutCallbackV1__(${r})`), n.run();
|
|
5518
5674
|
}, t);
|
|
5519
5675
|
}
|
|
5520
|
-
function m(T,
|
|
5676
|
+
function m(T, R) {
|
|
5521
5677
|
const r = n.pseudoToNative(T);
|
|
5522
5678
|
setTimeout(() => {
|
|
5523
|
-
|
|
5679
|
+
R(), n.run();
|
|
5524
5680
|
}, r);
|
|
5525
5681
|
}
|
|
5526
5682
|
n.setProperty(
|
|
@@ -5534,7 +5690,7 @@ function Ll(n, o) {
|
|
|
5534
5690
|
), n.setProperty(
|
|
5535
5691
|
o,
|
|
5536
5692
|
"__messageV1__",
|
|
5537
|
-
n.createNativeFunction(
|
|
5693
|
+
n.createNativeFunction(g)
|
|
5538
5694
|
), n.setProperty(
|
|
5539
5695
|
o,
|
|
5540
5696
|
"__timeoutV1__",
|
|
@@ -5545,14 +5701,14 @@ function Ll(n, o) {
|
|
|
5545
5701
|
n.createAsyncFunction(m)
|
|
5546
5702
|
);
|
|
5547
5703
|
}
|
|
5548
|
-
class
|
|
5704
|
+
class Ll {
|
|
5549
5705
|
constructor(o) {
|
|
5550
|
-
|
|
5551
|
-
|
|
5706
|
+
Xt(this, "context");
|
|
5707
|
+
Xt(this, "nodes");
|
|
5552
5708
|
this.context = o, this.nodes = {};
|
|
5553
5709
|
const f = (h) => {
|
|
5554
|
-
var
|
|
5555
|
-
this.nodes[h.basic.id] = h, (
|
|
5710
|
+
var g;
|
|
5711
|
+
this.nodes[h.basic.id] = h, (g = h.children) == null || g.forEach((b) => f(b));
|
|
5556
5712
|
};
|
|
5557
5713
|
this.context.data.view.nodes.forEach((h) => f(h));
|
|
5558
5714
|
}
|
|
@@ -5560,35 +5716,35 @@ class Ml {
|
|
|
5560
5716
|
return this.nodes[o];
|
|
5561
5717
|
}
|
|
5562
5718
|
addNode(o, f, h) {
|
|
5563
|
-
const
|
|
5719
|
+
const g = `parent=${o} ref=${f} keyOrRefid=${h}`;
|
|
5564
5720
|
let b;
|
|
5565
5721
|
if (o) {
|
|
5566
5722
|
const T = this.getNode(o);
|
|
5567
5723
|
if (!T)
|
|
5568
|
-
return console.error(`NodeMgr/addNode parent not found, ${
|
|
5724
|
+
return console.error(`NodeMgr/addNode parent not found, ${g}`), "";
|
|
5569
5725
|
if (!T.children)
|
|
5570
|
-
return console.error(`NodeMgr/addNode parent no children, ${
|
|
5726
|
+
return console.error(`NodeMgr/addNode parent no children, ${g}`), "";
|
|
5571
5727
|
b = T.children;
|
|
5572
5728
|
} else
|
|
5573
5729
|
b = this.context.data.view.nodes;
|
|
5574
5730
|
if (!b)
|
|
5575
5731
|
return "";
|
|
5576
|
-
const m =
|
|
5732
|
+
const m = nl(
|
|
5577
5733
|
this.context.type,
|
|
5578
5734
|
this.context.data.type,
|
|
5579
5735
|
this.context.data.version,
|
|
5580
5736
|
f,
|
|
5581
5737
|
h
|
|
5582
5738
|
);
|
|
5583
|
-
return m ? (b.push(m), this.nodes[m.basic.id] = m, m.basic.id) : (console.error(`NodeMgr/addNode spawn node failed, ${
|
|
5739
|
+
return m ? (b.push(m), this.nodes[m.basic.id] = m, m.basic.id) : (console.error(`NodeMgr/addNode spawn node failed, ${g}`), "");
|
|
5584
5740
|
}
|
|
5585
5741
|
deleteNode(o) {
|
|
5586
5742
|
this.getNode(o);
|
|
5587
5743
|
}
|
|
5588
5744
|
}
|
|
5589
5745
|
function Fl(n, o, f) {
|
|
5590
|
-
const h = new
|
|
5591
|
-
function
|
|
5746
|
+
const h = new Ll(n);
|
|
5747
|
+
function g(t, e, i) {
|
|
5592
5748
|
const u = o.pseudoToNative(t), s = o.pseudoToNative(e), l = o.pseudoToNative(i), a = h.addNode(u, s, l);
|
|
5593
5749
|
return o.nativeToPseudo(a);
|
|
5594
5750
|
}
|
|
@@ -5622,32 +5778,32 @@ function Fl(n, o, f) {
|
|
|
5622
5778
|
return;
|
|
5623
5779
|
}
|
|
5624
5780
|
const v = s.split("."), E = v.length;
|
|
5625
|
-
for (let
|
|
5626
|
-
const
|
|
5627
|
-
if (
|
|
5628
|
-
p[
|
|
5629
|
-
else if (p = p[
|
|
5781
|
+
for (let S = 0; S < E; S++) {
|
|
5782
|
+
const O = v[S];
|
|
5783
|
+
if (S === E - 1)
|
|
5784
|
+
p[O] = l;
|
|
5785
|
+
else if (p = p[O], !p) {
|
|
5630
5786
|
console.error(`setNodePropV1 unpkg failed, ${a}`);
|
|
5631
5787
|
return;
|
|
5632
5788
|
}
|
|
5633
5789
|
}
|
|
5634
5790
|
}
|
|
5635
|
-
function
|
|
5791
|
+
function R(t, e, i) {
|
|
5636
5792
|
const u = o.pseudoToNative(t), s = o.pseudoToNative(e);
|
|
5637
|
-
|
|
5793
|
+
Ta({ title: u, text: s }).then((l) => {
|
|
5638
5794
|
i(o.nativeToPseudo(l)), o.run();
|
|
5639
5795
|
});
|
|
5640
5796
|
}
|
|
5641
5797
|
function r(t, e, i, u) {
|
|
5642
5798
|
const s = o.pseudoToNative(t), l = o.pseudoToNative(e), a = o.pseudoToNative(i);
|
|
5643
|
-
|
|
5799
|
+
Na({ title: s, label: l, value: a }).then((p) => {
|
|
5644
5800
|
u(o.nativeToPseudo(p)), o.run();
|
|
5645
5801
|
});
|
|
5646
5802
|
}
|
|
5647
5803
|
o.setProperty(
|
|
5648
5804
|
f,
|
|
5649
5805
|
"__addNodeV1__",
|
|
5650
|
-
o.createNativeFunction(
|
|
5806
|
+
o.createNativeFunction(g)
|
|
5651
5807
|
), o.setProperty(
|
|
5652
5808
|
f,
|
|
5653
5809
|
"__deleteNodeV1__",
|
|
@@ -5663,23 +5819,23 @@ function Fl(n, o, f) {
|
|
|
5663
5819
|
), o.setProperty(
|
|
5664
5820
|
f,
|
|
5665
5821
|
"__openConfirmDlgV1__",
|
|
5666
|
-
o.createAsyncFunction(
|
|
5822
|
+
o.createAsyncFunction(R)
|
|
5667
5823
|
), o.setProperty(
|
|
5668
5824
|
f,
|
|
5669
5825
|
"__openPromptDlgV1__",
|
|
5670
5826
|
o.createAsyncFunction(r)
|
|
5671
5827
|
);
|
|
5672
5828
|
}
|
|
5673
|
-
function
|
|
5674
|
-
|
|
5829
|
+
function Ml(n, o, f) {
|
|
5830
|
+
Dl(o, f), Fl(n, o, f);
|
|
5675
5831
|
}
|
|
5676
|
-
const
|
|
5832
|
+
const Ul = `
|
|
5677
5833
|
var __env__ = 'dev'
|
|
5678
5834
|
|
|
5679
5835
|
function __getEnvV1__() {
|
|
5680
5836
|
return __env__
|
|
5681
5837
|
}
|
|
5682
|
-
`,
|
|
5838
|
+
`, jl = `
|
|
5683
5839
|
var __events__ = {}
|
|
5684
5840
|
|
|
5685
5841
|
function __addEventListenerV1__(id, event, callback) {
|
|
@@ -5750,7 +5906,7 @@ function __triggerEvent__(id, event, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p1
|
|
|
5750
5906
|
callbacks[i](p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16)
|
|
5751
5907
|
}
|
|
5752
5908
|
}
|
|
5753
|
-
`,
|
|
5909
|
+
`, Bl = `
|
|
5754
5910
|
var __timers__ = {}
|
|
5755
5911
|
var __currTimerId__ = 0
|
|
5756
5912
|
|
|
@@ -5792,15 +5948,15 @@ function __timeoutCallbackV1__(timerId) {
|
|
|
5792
5948
|
}
|
|
5793
5949
|
}
|
|
5794
5950
|
}
|
|
5795
|
-
`,
|
|
5951
|
+
`, $l = `
|
|
5796
5952
|
function __destroy__() {
|
|
5797
5953
|
}
|
|
5798
|
-
`,
|
|
5799
|
-
function
|
|
5800
|
-
const f = new
|
|
5801
|
-
|
|
5802
|
-
(h,
|
|
5803
|
-
|
|
5954
|
+
`, Vl = Ul + jl + Bl + $l;
|
|
5955
|
+
function Gl(n, o) {
|
|
5956
|
+
const f = new Il(
|
|
5957
|
+
Vl,
|
|
5958
|
+
(h, g) => {
|
|
5959
|
+
Ml(n, h, g);
|
|
5804
5960
|
}
|
|
5805
5961
|
);
|
|
5806
5962
|
return f.appendCode(o), f.appendCode(`
|
|
@@ -5808,10 +5964,10 @@ __env__ = '${n.env}';
|
|
|
5808
5964
|
__triggerEvent__('globality', 'startup');
|
|
5809
5965
|
`), f.run(), f;
|
|
5810
5966
|
}
|
|
5811
|
-
function
|
|
5967
|
+
function Ln(n) {
|
|
5812
5968
|
n.appendCode("__destroy__();"), n.run();
|
|
5813
5969
|
}
|
|
5814
|
-
const
|
|
5970
|
+
const Yl = /* @__PURE__ */ pe({
|
|
5815
5971
|
__name: "index",
|
|
5816
5972
|
props: {
|
|
5817
5973
|
id: {},
|
|
@@ -5820,21 +5976,21 @@ const Xl = /* @__PURE__ */ me({
|
|
|
5820
5976
|
outer: { type: Boolean }
|
|
5821
5977
|
},
|
|
5822
5978
|
setup(n) {
|
|
5823
|
-
const { t: o } =
|
|
5979
|
+
const { t: o } = _a(), f = n, h = il(), g = Ee(), b = _i(), m = bi(), T = Ei(), R = al(), r = N(() => R[f.refContext.refid]);
|
|
5824
5980
|
let t;
|
|
5825
|
-
|
|
5826
|
-
r.value ||
|
|
5981
|
+
ma(() => {
|
|
5982
|
+
r.value || Bn.emit("compNotAvail", f.refContext.refid), t && (Ln(t), t = void 0), r.value && g === "runtime" && (t = Gl(
|
|
5827
5983
|
{
|
|
5828
5984
|
env: h,
|
|
5829
5985
|
type: m,
|
|
5830
5986
|
data: T
|
|
5831
5987
|
},
|
|
5832
5988
|
r.value.data.code.script
|
|
5833
|
-
),
|
|
5834
|
-
}),
|
|
5835
|
-
t && (
|
|
5989
|
+
), ol(t));
|
|
5990
|
+
}), ga(() => {
|
|
5991
|
+
t && (Ln(t), t = void 0);
|
|
5836
5992
|
});
|
|
5837
|
-
const { applySize: e } =
|
|
5993
|
+
const { applySize: e } = Ni(g, b, f), i = N(() => {
|
|
5838
5994
|
const v = {}, E = T.type;
|
|
5839
5995
|
return m === "page" ? E === "common" ? e(v) : console.assert(!1) : m === "comp" && E === "common" ? e(v) : console.assert(!1), v;
|
|
5840
5996
|
});
|
|
@@ -5852,41 +6008,41 @@ const Xl = /* @__PURE__ */ me({
|
|
|
5852
6008
|
return v.ref ? E = l(v) : E = a(v), E;
|
|
5853
6009
|
}
|
|
5854
6010
|
function l(v) {
|
|
5855
|
-
const E = Pi[T.version].refKey,
|
|
5856
|
-
let
|
|
5857
|
-
return
|
|
6011
|
+
const E = Pi[T.version].refKey, S = Ce[E];
|
|
6012
|
+
let O;
|
|
6013
|
+
return S ? O = Ye(S.comp, {
|
|
5858
6014
|
refContext: {
|
|
5859
6015
|
parent: f.refContext,
|
|
5860
6016
|
refid: v.ref.id
|
|
5861
6017
|
},
|
|
5862
6018
|
node: v
|
|
5863
|
-
}) : console.assert(!1),
|
|
6019
|
+
}) : console.assert(!1), O;
|
|
5864
6020
|
}
|
|
5865
6021
|
function a(v) {
|
|
5866
|
-
var
|
|
6022
|
+
var O;
|
|
5867
6023
|
let E;
|
|
5868
|
-
const
|
|
5869
|
-
return
|
|
5870
|
-
s(
|
|
5871
|
-
}), E =
|
|
6024
|
+
const S = Ce[v.basic.key];
|
|
6025
|
+
return S ? ((O = v.children) == null || O.forEach((x) => {
|
|
6026
|
+
s(x);
|
|
6027
|
+
}), E = Ye(S.comp, { node: v })) : console.assert(!1, `invalid element key=${v.basic.key}`), E;
|
|
5872
6028
|
}
|
|
5873
6029
|
const p = () => {
|
|
5874
6030
|
const v = [];
|
|
5875
6031
|
if (u())
|
|
5876
|
-
v.push(
|
|
6032
|
+
v.push(Ye("div", o("x-runtime-lib.circularRef")));
|
|
5877
6033
|
else if (r.value) {
|
|
5878
6034
|
const E = r.value.data.type;
|
|
5879
|
-
E === "common" ? r.value.data.view.nodes.forEach((
|
|
5880
|
-
const
|
|
5881
|
-
v.push(
|
|
6035
|
+
E === "common" ? r.value.data.view.nodes.forEach((S) => {
|
|
6036
|
+
const O = s(S);
|
|
6037
|
+
v.push(O);
|
|
5882
6038
|
}) : console.assert(!1, `invalid subtype=${E}`);
|
|
5883
6039
|
} else
|
|
5884
|
-
v.push(
|
|
5885
|
-
return
|
|
6040
|
+
v.push(Ye("div", o("x-runtime-lib.compNotAvail")));
|
|
6041
|
+
return Ye("div", { id: f.id, style: i.value }, v);
|
|
5886
6042
|
};
|
|
5887
|
-
return (v, E) => (
|
|
6043
|
+
return (v, E) => (K(), ge(p));
|
|
5888
6044
|
}
|
|
5889
|
-
}),
|
|
6045
|
+
}), Fn = {
|
|
5890
6046
|
key: "ref",
|
|
5891
6047
|
name: "x-runtime-lib.ref",
|
|
5892
6048
|
children: [
|
|
@@ -5897,62 +6053,62 @@ const Xl = /* @__PURE__ */ me({
|
|
|
5897
6053
|
default: ""
|
|
5898
6054
|
}
|
|
5899
6055
|
]
|
|
5900
|
-
},
|
|
5901
|
-
key:
|
|
6056
|
+
}, wi = {
|
|
6057
|
+
key: Ti,
|
|
5902
6058
|
name: "x-runtime-lib.ref",
|
|
5903
|
-
comp:
|
|
6059
|
+
comp: Yl,
|
|
5904
6060
|
leaf: !0,
|
|
5905
6061
|
events: [],
|
|
5906
6062
|
methods: [],
|
|
5907
6063
|
props: {
|
|
5908
|
-
pageCommon: [
|
|
5909
|
-
compCommon: [
|
|
6064
|
+
pageCommon: [X, Fn, mt, ht, vt, yt],
|
|
6065
|
+
compCommon: [X, Fn, mt, ht, vt, yt]
|
|
5910
6066
|
}
|
|
5911
|
-
}, zl = { key: 0 },
|
|
6067
|
+
}, zl = { key: 0 }, Xl = /* @__PURE__ */ pe({
|
|
5912
6068
|
__name: "index",
|
|
5913
6069
|
props: {
|
|
5914
6070
|
node: {},
|
|
5915
6071
|
outer: { type: Boolean }
|
|
5916
6072
|
},
|
|
5917
6073
|
setup(n) {
|
|
5918
|
-
const o = n, f = Ee(), h =
|
|
6074
|
+
const o = n, f = Ee(), h = De(), g = N(() => {
|
|
5919
6075
|
var e;
|
|
5920
6076
|
return (e = o.node.settings) == null ? void 0 : e.value;
|
|
5921
|
-
}), b =
|
|
6077
|
+
}), b = N(() => {
|
|
5922
6078
|
var e;
|
|
5923
6079
|
return (e = o.node.settings) == null ? void 0 : e.label;
|
|
5924
|
-
}), m =
|
|
6080
|
+
}), m = N(() => {
|
|
5925
6081
|
var e;
|
|
5926
6082
|
return (e = o.node.settings) == null ? void 0 : e.placeholder;
|
|
5927
|
-
}), T =
|
|
6083
|
+
}), T = N(() => {
|
|
5928
6084
|
var e;
|
|
5929
6085
|
return (e = o.node.settings) == null ? void 0 : e.hideDetails;
|
|
5930
|
-
}),
|
|
6086
|
+
}), R = N(() => {
|
|
5931
6087
|
var e;
|
|
5932
6088
|
return (e = o.node.settings) == null ? void 0 : e.singleLine;
|
|
5933
|
-
}), r =
|
|
6089
|
+
}), r = N(() => {
|
|
5934
6090
|
var e;
|
|
5935
6091
|
return f !== "runtime" ? !0 : (e = o.node.settings) == null ? void 0 : e.readonly;
|
|
5936
|
-
}), t =
|
|
6092
|
+
}), t = N(() => h.value ? "dark" : "light");
|
|
5937
6093
|
return (e, i) => {
|
|
5938
6094
|
const u = Ae("v-select");
|
|
5939
|
-
return
|
|
6095
|
+
return _t(f) === "editor" ? (K(), He("div", zl, [
|
|
5940
6096
|
bt(u, {
|
|
5941
|
-
"model-value":
|
|
6097
|
+
"model-value": g.value,
|
|
5942
6098
|
label: b.value,
|
|
5943
6099
|
placeholder: m.value,
|
|
5944
6100
|
"hide-details": T.value,
|
|
5945
|
-
"single-line":
|
|
6101
|
+
"single-line": R.value,
|
|
5946
6102
|
readonly: r.value,
|
|
5947
6103
|
theme: t.value
|
|
5948
6104
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
5949
|
-
])) : (
|
|
6105
|
+
])) : (K(), ge(u, {
|
|
5950
6106
|
key: 1,
|
|
5951
|
-
"model-value":
|
|
6107
|
+
"model-value": g.value,
|
|
5952
6108
|
label: b.value,
|
|
5953
6109
|
placeholder: m.value,
|
|
5954
6110
|
"hide-details": T.value,
|
|
5955
|
-
"single-line":
|
|
6111
|
+
"single-line": R.value,
|
|
5956
6112
|
readonly: r.value,
|
|
5957
6113
|
theme: t.value
|
|
5958
6114
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
@@ -5999,63 +6155,63 @@ const Xl = /* @__PURE__ */ me({
|
|
|
5999
6155
|
default: !1
|
|
6000
6156
|
}
|
|
6001
6157
|
]
|
|
6002
|
-
},
|
|
6158
|
+
}, Wl = {
|
|
6003
6159
|
key: ar,
|
|
6004
6160
|
name: "x-runtime-lib.select",
|
|
6005
|
-
comp:
|
|
6161
|
+
comp: Xl,
|
|
6006
6162
|
leaf: !1,
|
|
6007
6163
|
events: [],
|
|
6008
6164
|
methods: [],
|
|
6009
6165
|
props: {
|
|
6010
|
-
pageCommon: [
|
|
6011
|
-
compCommon: [
|
|
6166
|
+
pageCommon: [X, Mn],
|
|
6167
|
+
compCommon: [X, Mn]
|
|
6012
6168
|
}
|
|
6013
|
-
},
|
|
6169
|
+
}, Jl = { key: 0 }, Hl = /* @__PURE__ */ pe({
|
|
6014
6170
|
__name: "index",
|
|
6015
6171
|
props: {
|
|
6016
6172
|
node: {},
|
|
6017
6173
|
outer: { type: Boolean }
|
|
6018
6174
|
},
|
|
6019
6175
|
setup(n) {
|
|
6020
|
-
const o = n, f = Ee(), h =
|
|
6176
|
+
const o = n, f = Ee(), h = De(), g = N(() => {
|
|
6021
6177
|
var t;
|
|
6022
6178
|
return (t = o.node.settings) == null ? void 0 : t.label;
|
|
6023
|
-
}), b =
|
|
6179
|
+
}), b = N(() => {
|
|
6024
6180
|
var t;
|
|
6025
6181
|
return (t = o.node.settings) == null ? void 0 : t.placeholder;
|
|
6026
|
-
}), m =
|
|
6182
|
+
}), m = N(() => {
|
|
6027
6183
|
var t;
|
|
6028
6184
|
return (t = o.node.settings) == null ? void 0 : t.hideDetails;
|
|
6029
|
-
}), T =
|
|
6185
|
+
}), T = N(() => {
|
|
6030
6186
|
var t;
|
|
6031
6187
|
return (t = o.node.settings) == null ? void 0 : t.singleLine;
|
|
6032
|
-
}),
|
|
6188
|
+
}), R = N(() => {
|
|
6033
6189
|
var t;
|
|
6034
6190
|
return f !== "runtime" ? !0 : (t = o.node.settings) == null ? void 0 : t.readonly;
|
|
6035
|
-
}), r =
|
|
6191
|
+
}), r = N(() => h.value ? "dark" : "light");
|
|
6036
6192
|
return (t, e) => {
|
|
6037
6193
|
const i = Ae("v-text-field");
|
|
6038
|
-
return
|
|
6194
|
+
return _t(f) === "editor" ? (K(), He("div", Jl, [
|
|
6039
6195
|
bt(i, {
|
|
6040
|
-
label:
|
|
6196
|
+
label: g.value,
|
|
6041
6197
|
placeholder: b.value,
|
|
6042
6198
|
"hide-details": m.value,
|
|
6043
6199
|
"single-line": T.value,
|
|
6044
|
-
readonly:
|
|
6200
|
+
readonly: R.value,
|
|
6045
6201
|
theme: r.value
|
|
6046
6202
|
}, null, 8, ["label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
6047
|
-
])) : (
|
|
6203
|
+
])) : (K(), ge(i, {
|
|
6048
6204
|
key: 1,
|
|
6049
|
-
label:
|
|
6205
|
+
label: g.value,
|
|
6050
6206
|
placeholder: b.value,
|
|
6051
6207
|
"hide-details": m.value,
|
|
6052
6208
|
"single-line": T.value,
|
|
6053
|
-
readonly:
|
|
6209
|
+
readonly: R.value,
|
|
6054
6210
|
theme: r.value
|
|
6055
6211
|
}, null, 8, ["label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
6056
6212
|
};
|
|
6057
6213
|
}
|
|
6058
|
-
}),
|
|
6214
|
+
}), Un = {
|
|
6059
6215
|
key: "settings",
|
|
6060
6216
|
name: "x-runtime-lib.settings",
|
|
6061
6217
|
children: [
|
|
@@ -6090,29 +6246,29 @@ const Xl = /* @__PURE__ */ me({
|
|
|
6090
6246
|
default: !1
|
|
6091
6247
|
}
|
|
6092
6248
|
]
|
|
6093
|
-
},
|
|
6249
|
+
}, Kl = {
|
|
6094
6250
|
key: or,
|
|
6095
6251
|
name: "x-runtime-lib.textField",
|
|
6096
|
-
comp:
|
|
6252
|
+
comp: Hl,
|
|
6097
6253
|
leaf: !1,
|
|
6098
6254
|
events: [],
|
|
6099
6255
|
methods: [],
|
|
6100
6256
|
props: {
|
|
6101
|
-
pageCommon: [
|
|
6102
|
-
compCommon: [
|
|
6257
|
+
pageCommon: [X, Un],
|
|
6258
|
+
compCommon: [X, Un]
|
|
6103
6259
|
}
|
|
6104
|
-
},
|
|
6260
|
+
}, ql = {
|
|
6105
6261
|
version: "v1",
|
|
6106
|
-
globalityKey:
|
|
6107
|
-
refKey:
|
|
6262
|
+
globalityKey: Si.key,
|
|
6263
|
+
refKey: wi.key,
|
|
6108
6264
|
elements: /* @__PURE__ */ new Set([
|
|
6109
6265
|
er,
|
|
6110
6266
|
tr,
|
|
6111
6267
|
rr,
|
|
6112
6268
|
nr,
|
|
6113
|
-
|
|
6269
|
+
Oi,
|
|
6114
6270
|
ir,
|
|
6115
|
-
|
|
6271
|
+
Ti,
|
|
6116
6272
|
ar,
|
|
6117
6273
|
or
|
|
6118
6274
|
]),
|
|
@@ -6132,8 +6288,8 @@ const Xl = /* @__PURE__ */ me({
|
|
|
6132
6288
|
}
|
|
6133
6289
|
]
|
|
6134
6290
|
}, Pi = {
|
|
6135
|
-
v1:
|
|
6136
|
-
}, Ce = {},
|
|
6291
|
+
v1: ql
|
|
6292
|
+
}, Ce = {}, Zl = {
|
|
6137
6293
|
key: "add",
|
|
6138
6294
|
name: "METHOD_ADD",
|
|
6139
6295
|
inputs: [],
|
|
@@ -6143,21 +6299,21 @@ const Xl = /* @__PURE__ */ me({
|
|
|
6143
6299
|
name: "PARAM_NEW_NODE"
|
|
6144
6300
|
}
|
|
6145
6301
|
]
|
|
6146
|
-
},
|
|
6147
|
-
Ce[n.key] && console.assert(!1, `element duplicate key=${n.key}`), n.leaf || n.methods.unshift(
|
|
6302
|
+
}, oe = (n) => {
|
|
6303
|
+
Ce[n.key] && console.assert(!1, `element duplicate key=${n.key}`), n.leaf || n.methods.unshift(Zl), Ce[n.key] = n;
|
|
6148
6304
|
};
|
|
6149
|
-
|
|
6150
|
-
|
|
6151
|
-
|
|
6152
|
-
|
|
6153
|
-
|
|
6154
|
-
|
|
6155
|
-
|
|
6156
|
-
|
|
6157
|
-
|
|
6158
|
-
const
|
|
6305
|
+
oe(cl);
|
|
6306
|
+
oe(dl);
|
|
6307
|
+
oe(_l);
|
|
6308
|
+
oe(Rl);
|
|
6309
|
+
oe(Si);
|
|
6310
|
+
oe(Nl);
|
|
6311
|
+
oe(wi);
|
|
6312
|
+
oe(Wl);
|
|
6313
|
+
oe(Kl);
|
|
6314
|
+
const Ql = (n, o, f) => {
|
|
6159
6315
|
const h = n[o];
|
|
6160
|
-
return h ? typeof h == "function" ? h() : Promise.resolve(h) : new Promise((
|
|
6316
|
+
return h ? typeof h == "function" ? h() : Promise.resolve(h) : new Promise((g, b) => {
|
|
6161
6317
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
|
|
6162
6318
|
b.bind(
|
|
6163
6319
|
null,
|
|
@@ -6168,41 +6324,41 @@ const ec = (n, o, f) => {
|
|
|
6168
6324
|
);
|
|
6169
6325
|
});
|
|
6170
6326
|
};
|
|
6171
|
-
async function
|
|
6172
|
-
return (await
|
|
6327
|
+
async function hc(n) {
|
|
6328
|
+
return (await Ql(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en-g5917ung.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans-ehanwg1n.js") }), `./locales/${n}/index.ts`, 4)).default;
|
|
6173
6329
|
}
|
|
6174
6330
|
export {
|
|
6175
|
-
|
|
6331
|
+
oc as duplicateNode,
|
|
6176
6332
|
Ce as elements,
|
|
6177
|
-
|
|
6178
|
-
|
|
6333
|
+
$n as genId,
|
|
6334
|
+
ac as getNode,
|
|
6179
6335
|
Sn as getPropDefault,
|
|
6180
|
-
|
|
6181
|
-
|
|
6182
|
-
|
|
6183
|
-
|
|
6184
|
-
|
|
6336
|
+
rl as getPropTag,
|
|
6337
|
+
xn as initProps,
|
|
6338
|
+
De as injectDark,
|
|
6339
|
+
Ei as injectData,
|
|
6340
|
+
al as injectDepends,
|
|
6185
6341
|
_i as injectDevice,
|
|
6186
|
-
|
|
6187
|
-
|
|
6342
|
+
il as injectEnv,
|
|
6343
|
+
ul as injectInterpreter,
|
|
6188
6344
|
Ee as injectMode,
|
|
6189
|
-
|
|
6345
|
+
bi as injectType,
|
|
6190
6346
|
ur as isEmptyStr,
|
|
6191
6347
|
lr as isPercentStr,
|
|
6192
6348
|
sr as isPixelStr,
|
|
6193
|
-
|
|
6349
|
+
hc as loadLocaleMessageRuntime,
|
|
6194
6350
|
Wt as parsePercentStr,
|
|
6195
|
-
|
|
6351
|
+
ic as parsePixelStr,
|
|
6196
6352
|
Pi as pkgs,
|
|
6197
|
-
|
|
6198
|
-
|
|
6199
|
-
|
|
6200
|
-
|
|
6201
|
-
|
|
6202
|
-
|
|
6203
|
-
|
|
6204
|
-
|
|
6205
|
-
|
|
6206
|
-
|
|
6207
|
-
|
|
6353
|
+
cc as provideDark,
|
|
6354
|
+
pc as provideData,
|
|
6355
|
+
dc as provideDepends,
|
|
6356
|
+
lc as provideDevice,
|
|
6357
|
+
uc as provideEnv,
|
|
6358
|
+
ol as provideInterpreter,
|
|
6359
|
+
sc as provideMode,
|
|
6360
|
+
fc as provideType,
|
|
6361
|
+
nl as spawnNode,
|
|
6362
|
+
Gl as startInterpreter,
|
|
6363
|
+
Ln as stopInterpreter
|
|
6208
6364
|
};
|