x-runtime-lib 0.5.10 → 0.5.11
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/dialog/v1/index.vue.d.ts +2 -0
- package/dist/element/_common/keys.d.ts +1 -0
- package/dist/element/basic/dialog/v1/index.d.ts +3 -0
- package/dist/{i18n-en-g5917ung.js → i18n-en-chxvg9av.js} +1 -0
- package/dist/{i18n-zhHans-ehanwg1n.js → i18n-zhHans-irh3vhql.js} +1 -0
- package/dist/index.js +879 -851
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var Xt = (n, o, f) =>
|
|
4
|
-
import { provide as ce, inject as fe, readonly as
|
|
5
|
-
import { useI18n as
|
|
6
|
-
import { eventBus as
|
|
7
|
-
const
|
|
8
|
-
function
|
|
1
|
+
var ha = Object.defineProperty;
|
|
2
|
+
var va = (n, o, f) => o in n ? ha(n, o, { enumerable: !0, configurable: !0, writable: !0, value: f }) : n[o] = f;
|
|
3
|
+
var Xt = (n, o, f) => va(n, typeof o != "symbol" ? o + "" : o, f);
|
|
4
|
+
import { provide as ce, inject as fe, readonly as _t, isReactive as Bn, defineComponent as pe, computed as N, resolveComponent as ge, openBlock as H, createBlock as de, unref as gt, createElementBlock as He, createVNode as bt, normalizeStyle as ya, renderSlot as ma, watchEffect as _a, onBeforeUnmount as ga, h as Ye } from "vue";
|
|
5
|
+
import { useI18n as ba } from "vue-i18n";
|
|
6
|
+
import { eventBus as $n, messageInfo as Ea, messageSuccess as Ra, messageWarning as Oa, messageError as Ta, openConfirmDlg as Na, openPromptDlg as Sa } from "x-essential-lib";
|
|
7
|
+
const nn = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
8
|
+
function Vn(n) {
|
|
9
9
|
let o = "";
|
|
10
10
|
for (let f = 0; f < n; f++) {
|
|
11
|
-
const h = Math.floor(Math.random() *
|
|
12
|
-
o +=
|
|
11
|
+
const h = Math.floor(Math.random() * nn.length);
|
|
12
|
+
o += nn[h];
|
|
13
13
|
}
|
|
14
14
|
return o;
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function sr(n) {
|
|
17
17
|
return n === "";
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function lr(n) {
|
|
20
20
|
if (typeof n != "string" || !n.endsWith("px"))
|
|
21
21
|
return !1;
|
|
22
22
|
const o = n.substring(0, n.length - 2), f = parseFloat(o);
|
|
23
23
|
return !(isNaN(f) || f % 1 !== 0);
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function cr(n) {
|
|
26
26
|
if (typeof n != "string" || !n.endsWith("%"))
|
|
27
27
|
return !1;
|
|
28
28
|
const o = n.substring(0, n.length - 1), f = parseFloat(o);
|
|
29
29
|
return !isNaN(f);
|
|
30
30
|
}
|
|
31
|
-
function
|
|
31
|
+
function cc(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
|
|
46
|
-
function
|
|
47
|
-
var o =
|
|
45
|
+
var Gn = typeof global == "object" && global && global.Object === Object && global, xa = typeof self == "object" && self && self.Object === Object && self, ee = Gn || xa || Function("return this")(), Pe = ee.Symbol, Yn = Object.prototype, wa = Yn.hasOwnProperty, Pa = Yn.toString, ze = Pe ? Pe.toStringTag : void 0;
|
|
46
|
+
function Ca(n) {
|
|
47
|
+
var o = wa.call(n, ze), f = n[ze];
|
|
48
48
|
try {
|
|
49
49
|
n[ze] = void 0;
|
|
50
50
|
var h = !0;
|
|
51
51
|
} catch {
|
|
52
52
|
}
|
|
53
|
-
var
|
|
54
|
-
return h && (o ? n[ze] = f : delete n[ze]),
|
|
53
|
+
var _ = Pa.call(n);
|
|
54
|
+
return h && (o ? n[ze] = f : delete n[ze]), _;
|
|
55
55
|
}
|
|
56
|
-
var
|
|
57
|
-
function
|
|
58
|
-
return
|
|
56
|
+
var Aa = Object.prototype, ka = Aa.toString;
|
|
57
|
+
function Ia(n) {
|
|
58
|
+
return ka.call(n);
|
|
59
59
|
}
|
|
60
|
-
var
|
|
60
|
+
var Da = "[object Null]", La = "[object Undefined]", an = Pe ? Pe.toStringTag : void 0;
|
|
61
61
|
function Ke(n) {
|
|
62
|
-
return n == null ? n === void 0 ?
|
|
62
|
+
return n == null ? n === void 0 ? La : Da : an && an in Object(n) ? Ca(n) : Ia(n);
|
|
63
63
|
}
|
|
64
64
|
function qe(n) {
|
|
65
65
|
return n != null && typeof n == "object";
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var fr = Array.isArray;
|
|
68
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
|
|
72
|
+
var Fa = "[object AsyncFunction]", Ma = "[object Function]", Ua = "[object GeneratorFunction]", ja = "[object Proxy]";
|
|
73
|
+
function zn(n) {
|
|
74
74
|
if (!Ze(n))
|
|
75
75
|
return !1;
|
|
76
76
|
var o = Ke(n);
|
|
77
|
-
return o ==
|
|
77
|
+
return o == Ma || o == Ua || o == Fa || o == ja;
|
|
78
78
|
}
|
|
79
|
-
var Jt = ee["__core-js_shared__"],
|
|
79
|
+
var Jt = ee["__core-js_shared__"], on = 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
|
|
84
|
-
return !!
|
|
83
|
+
function Ba(n) {
|
|
84
|
+
return !!on && on in n;
|
|
85
85
|
}
|
|
86
|
-
var
|
|
87
|
-
function
|
|
86
|
+
var $a = Function.prototype, Va = $a.toString;
|
|
87
|
+
function be(n) {
|
|
88
88
|
if (n != null) {
|
|
89
89
|
try {
|
|
90
|
-
return
|
|
90
|
+
return Va.call(n);
|
|
91
91
|
} catch {
|
|
92
92
|
}
|
|
93
93
|
try {
|
|
@@ -97,261 +97,261 @@ function _e(n) {
|
|
|
97
97
|
}
|
|
98
98
|
return "";
|
|
99
99
|
}
|
|
100
|
-
var
|
|
101
|
-
"^" +
|
|
100
|
+
var Ga = /[\\^$.*+?()[\]{}|]/g, Ya = /^\[object .+?Constructor\]$/, za = Function.prototype, Xa = Object.prototype, Wa = za.toString, Ja = Xa.hasOwnProperty, Ha = RegExp(
|
|
101
|
+
"^" + Wa.call(Ja).replace(Ga, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
102
102
|
);
|
|
103
|
-
function
|
|
104
|
-
if (!Ze(n) ||
|
|
103
|
+
function Ka(n) {
|
|
104
|
+
if (!Ze(n) || Ba(n))
|
|
105
105
|
return !1;
|
|
106
|
-
var o =
|
|
107
|
-
return o.test(
|
|
106
|
+
var o = zn(n) ? Ha : Ya;
|
|
107
|
+
return o.test(be(n));
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function qa(n, o) {
|
|
110
110
|
return n == null ? void 0 : n[o];
|
|
111
111
|
}
|
|
112
|
-
function
|
|
113
|
-
var f =
|
|
114
|
-
return
|
|
112
|
+
function Ee(n, o) {
|
|
113
|
+
var f = qa(n, o);
|
|
114
|
+
return Ka(f) ? f : void 0;
|
|
115
115
|
}
|
|
116
|
-
var Kt =
|
|
116
|
+
var Kt = Ee(ee, "WeakMap"), un = Object.create, Za = /* @__PURE__ */ function() {
|
|
117
117
|
function n() {
|
|
118
118
|
}
|
|
119
119
|
return function(o) {
|
|
120
120
|
if (!Ze(o))
|
|
121
121
|
return {};
|
|
122
|
-
if (
|
|
123
|
-
return
|
|
122
|
+
if (un)
|
|
123
|
+
return un(o);
|
|
124
124
|
n.prototype = o;
|
|
125
125
|
var f = new n();
|
|
126
126
|
return n.prototype = void 0, f;
|
|
127
127
|
};
|
|
128
128
|
}();
|
|
129
|
-
function
|
|
129
|
+
function Qa(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];
|
|
133
133
|
return o;
|
|
134
134
|
}
|
|
135
|
-
var
|
|
135
|
+
var sn = function() {
|
|
136
136
|
try {
|
|
137
|
-
var n =
|
|
137
|
+
var n = Ee(Object, "defineProperty");
|
|
138
138
|
return n({}, "", {}), n;
|
|
139
139
|
} catch {
|
|
140
140
|
}
|
|
141
141
|
}();
|
|
142
|
-
function
|
|
142
|
+
function eo(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 to = 9007199254740991, ro = /^(?:0|[1-9]\d*)$/;
|
|
148
|
+
function no(n, o) {
|
|
149
149
|
var f = typeof n;
|
|
150
|
-
return o = o ??
|
|
150
|
+
return o = o ?? to, !!o && (f == "number" || f != "symbol" && ro.test(n)) && n > -1 && n % 1 == 0 && n < o;
|
|
151
151
|
}
|
|
152
|
-
function
|
|
153
|
-
o == "__proto__" &&
|
|
152
|
+
function Xn(n, o, f) {
|
|
153
|
+
o == "__proto__" && sn ? sn(n, o, {
|
|
154
154
|
configurable: !0,
|
|
155
155
|
enumerable: !0,
|
|
156
156
|
value: f,
|
|
157
157
|
writable: !0
|
|
158
158
|
}) : n[o] = f;
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function Wn(n, o) {
|
|
161
161
|
return n === o || n !== n && o !== o;
|
|
162
162
|
}
|
|
163
|
-
var
|
|
164
|
-
function
|
|
163
|
+
var io = Object.prototype, ao = io.hasOwnProperty;
|
|
164
|
+
function Jn(n, o, f) {
|
|
165
165
|
var h = n[o];
|
|
166
|
-
(!(
|
|
166
|
+
(!(ao.call(n, o) && Wn(h, f)) || f === void 0 && !(o in n)) && Xn(n, o, f);
|
|
167
167
|
}
|
|
168
168
|
function Et(n, o, f, h) {
|
|
169
|
-
var
|
|
169
|
+
var _ = !f;
|
|
170
170
|
f || (f = {});
|
|
171
171
|
for (var b = -1, m = o.length; ++b < m; ) {
|
|
172
172
|
var T = o[b], R = void 0;
|
|
173
|
-
R === void 0 && (R = n[T]),
|
|
173
|
+
R === void 0 && (R = n[T]), _ ? Xn(f, T, R) : Jn(f, T, R);
|
|
174
174
|
}
|
|
175
175
|
return f;
|
|
176
176
|
}
|
|
177
|
-
var
|
|
178
|
-
function Jn(n) {
|
|
179
|
-
return typeof n == "number" && n > -1 && n % 1 == 0 && n <= ao;
|
|
180
|
-
}
|
|
177
|
+
var oo = 9007199254740991;
|
|
181
178
|
function Hn(n) {
|
|
182
|
-
return n
|
|
179
|
+
return typeof n == "number" && n > -1 && n % 1 == 0 && n <= oo;
|
|
180
|
+
}
|
|
181
|
+
function Kn(n) {
|
|
182
|
+
return n != null && Hn(n.length) && !zn(n);
|
|
183
183
|
}
|
|
184
|
-
var
|
|
185
|
-
function
|
|
186
|
-
var o = n && n.constructor, f = typeof o == "function" && o.prototype ||
|
|
184
|
+
var uo = Object.prototype;
|
|
185
|
+
function pr(n) {
|
|
186
|
+
var o = n && n.constructor, f = typeof o == "function" && o.prototype || uo;
|
|
187
187
|
return n === f;
|
|
188
188
|
}
|
|
189
|
-
function
|
|
189
|
+
function so(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
|
|
195
|
-
function
|
|
196
|
-
return qe(n) && Ke(n) ==
|
|
194
|
+
var lo = "[object Arguments]";
|
|
195
|
+
function ln(n) {
|
|
196
|
+
return qe(n) && Ke(n) == lo;
|
|
197
197
|
}
|
|
198
|
-
var
|
|
198
|
+
var qn = Object.prototype, co = qn.hasOwnProperty, fo = qn.propertyIsEnumerable, po = ln(/* @__PURE__ */ function() {
|
|
199
199
|
return arguments;
|
|
200
|
-
}()) ?
|
|
201
|
-
return qe(n) &&
|
|
200
|
+
}()) ? ln : function(n) {
|
|
201
|
+
return qe(n) && co.call(n, "callee") && !fo.call(n, "callee");
|
|
202
202
|
};
|
|
203
|
-
function
|
|
203
|
+
function ho() {
|
|
204
204
|
return !1;
|
|
205
205
|
}
|
|
206
|
-
var
|
|
207
|
-
M[
|
|
208
|
-
M[
|
|
209
|
-
function
|
|
210
|
-
return qe(n) &&
|
|
206
|
+
var Zn = typeof exports == "object" && exports && !exports.nodeType && exports, cn = Zn && typeof module == "object" && module && !module.nodeType && module, vo = cn && cn.exports === Zn, fn = vo ? ee.Buffer : void 0, yo = fn ? fn.isBuffer : void 0, Qn = yo || ho, mo = "[object Arguments]", _o = "[object Array]", go = "[object Boolean]", bo = "[object Date]", Eo = "[object Error]", Ro = "[object Function]", Oo = "[object Map]", To = "[object Number]", No = "[object Object]", So = "[object RegExp]", xo = "[object Set]", wo = "[object String]", Po = "[object WeakMap]", Co = "[object ArrayBuffer]", Ao = "[object DataView]", ko = "[object Float32Array]", Io = "[object Float64Array]", Do = "[object Int8Array]", Lo = "[object Int16Array]", Fo = "[object Int32Array]", Mo = "[object Uint8Array]", Uo = "[object Uint8ClampedArray]", jo = "[object Uint16Array]", Bo = "[object Uint32Array]", M = {};
|
|
207
|
+
M[ko] = M[Io] = M[Do] = M[Lo] = M[Fo] = M[Mo] = M[Uo] = M[jo] = M[Bo] = !0;
|
|
208
|
+
M[mo] = M[_o] = M[Co] = M[go] = M[Ao] = M[bo] = M[Eo] = M[Ro] = M[Oo] = M[To] = M[No] = M[So] = M[xo] = M[wo] = M[Po] = !1;
|
|
209
|
+
function $o(n) {
|
|
210
|
+
return qe(n) && Hn(n.length) && !!M[Ke(n)];
|
|
211
211
|
}
|
|
212
|
-
function
|
|
212
|
+
function dr(n) {
|
|
213
213
|
return function(o) {
|
|
214
214
|
return n(o);
|
|
215
215
|
};
|
|
216
216
|
}
|
|
217
|
-
var
|
|
217
|
+
var ei = typeof exports == "object" && exports && !exports.nodeType && exports, Xe = ei && typeof module == "object" && module && !module.nodeType && module, Vo = Xe && Xe.exports === ei, Ht = Vo && Gn.process, Ce = 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
|
-
}(),
|
|
224
|
-
function
|
|
225
|
-
var f =
|
|
223
|
+
}(), pn = Ce && Ce.isTypedArray, Go = pn ? dr(pn) : $o, Yo = Object.prototype, zo = Yo.hasOwnProperty;
|
|
224
|
+
function ti(n, o) {
|
|
225
|
+
var f = fr(n), h = !f && po(n), _ = !f && !h && Qn(n), b = !f && !h && !_ && Go(n), m = f || h || _ || b, T = m ? so(n.length, String) : [], R = T.length;
|
|
226
226
|
for (var r in n)
|
|
227
|
-
(o ||
|
|
227
|
+
(o || zo.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
|
+
_ && (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
|
+
no(r, R))) && T.push(r);
|
|
232
232
|
return T;
|
|
233
233
|
}
|
|
234
|
-
function
|
|
234
|
+
function ri(n, o) {
|
|
235
235
|
return function(f) {
|
|
236
236
|
return n(o(f));
|
|
237
237
|
};
|
|
238
238
|
}
|
|
239
|
-
var
|
|
240
|
-
function
|
|
241
|
-
if (!
|
|
242
|
-
return
|
|
239
|
+
var Xo = ri(Object.keys, Object), Wo = Object.prototype, Jo = Wo.hasOwnProperty;
|
|
240
|
+
function Ho(n) {
|
|
241
|
+
if (!pr(n))
|
|
242
|
+
return Xo(n);
|
|
243
243
|
var o = [];
|
|
244
244
|
for (var f in Object(n))
|
|
245
|
-
|
|
245
|
+
Jo.call(n, f) && f != "constructor" && o.push(f);
|
|
246
246
|
return o;
|
|
247
247
|
}
|
|
248
|
-
function
|
|
249
|
-
return
|
|
248
|
+
function hr(n) {
|
|
249
|
+
return Kn(n) ? ti(n) : Ho(n);
|
|
250
250
|
}
|
|
251
|
-
function
|
|
251
|
+
function Ko(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
|
|
258
|
+
var qo = Object.prototype, Zo = qo.hasOwnProperty;
|
|
259
|
+
function Qo(n) {
|
|
260
260
|
if (!Ze(n))
|
|
261
|
-
return
|
|
262
|
-
var o =
|
|
261
|
+
return Ko(n);
|
|
262
|
+
var o = pr(n), f = [];
|
|
263
263
|
for (var h in n)
|
|
264
|
-
h == "constructor" && (o || !
|
|
264
|
+
h == "constructor" && (o || !Zo.call(n, h)) || f.push(h);
|
|
265
265
|
return f;
|
|
266
266
|
}
|
|
267
|
-
function
|
|
268
|
-
return
|
|
267
|
+
function vr(n) {
|
|
268
|
+
return Kn(n) ? ti(n, !0) : Qo(n);
|
|
269
269
|
}
|
|
270
|
-
var We =
|
|
271
|
-
function
|
|
270
|
+
var We = Ee(Object, "create");
|
|
271
|
+
function eu() {
|
|
272
272
|
this.__data__ = We ? We(null) : {}, this.size = 0;
|
|
273
273
|
}
|
|
274
|
-
function
|
|
274
|
+
function tu(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 ru = "__lodash_hash_undefined__", nu = Object.prototype, iu = nu.hasOwnProperty;
|
|
279
|
+
function au(n) {
|
|
280
280
|
var o = this.__data__;
|
|
281
281
|
if (We) {
|
|
282
282
|
var f = o[n];
|
|
283
|
-
return f ===
|
|
283
|
+
return f === ru ? void 0 : f;
|
|
284
284
|
}
|
|
285
|
-
return
|
|
285
|
+
return iu.call(o, n) ? o[n] : void 0;
|
|
286
286
|
}
|
|
287
|
-
var
|
|
288
|
-
function
|
|
287
|
+
var ou = Object.prototype, uu = ou.hasOwnProperty;
|
|
288
|
+
function su(n) {
|
|
289
289
|
var o = this.__data__;
|
|
290
|
-
return We ? o[n] !== void 0 :
|
|
290
|
+
return We ? o[n] !== void 0 : uu.call(o, n);
|
|
291
291
|
}
|
|
292
|
-
var
|
|
293
|
-
function
|
|
292
|
+
var lu = "__lodash_hash_undefined__";
|
|
293
|
+
function cu(n, o) {
|
|
294
294
|
var f = this.__data__;
|
|
295
|
-
return this.size += this.has(n) ? 0 : 1, f[n] = We && o === void 0 ?
|
|
295
|
+
return this.size += this.has(n) ? 0 : 1, f[n] = We && o === void 0 ? lu : o, this;
|
|
296
296
|
}
|
|
297
|
-
function
|
|
297
|
+
function _e(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
|
+
_e.prototype.clear = eu;
|
|
305
|
+
_e.prototype.delete = tu;
|
|
306
|
+
_e.prototype.get = au;
|
|
307
|
+
_e.prototype.has = su;
|
|
308
|
+
_e.prototype.set = cu;
|
|
309
|
+
function fu() {
|
|
310
310
|
this.__data__ = [], this.size = 0;
|
|
311
311
|
}
|
|
312
312
|
function Rt(n, o) {
|
|
313
313
|
for (var f = n.length; f--; )
|
|
314
|
-
if (
|
|
314
|
+
if (Wn(n[f][0], o))
|
|
315
315
|
return f;
|
|
316
316
|
return -1;
|
|
317
317
|
}
|
|
318
|
-
var
|
|
319
|
-
function
|
|
318
|
+
var pu = Array.prototype, du = pu.splice;
|
|
319
|
+
function hu(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() : du.call(o, f, 1), --this.size, !0;
|
|
325
325
|
}
|
|
326
|
-
function
|
|
326
|
+
function vu(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 yu(n) {
|
|
331
331
|
return Rt(this.__data__, n) > -1;
|
|
332
332
|
}
|
|
333
|
-
function
|
|
333
|
+
function mu(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 oe(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 Je =
|
|
350
|
-
function
|
|
344
|
+
oe.prototype.clear = fu;
|
|
345
|
+
oe.prototype.delete = hu;
|
|
346
|
+
oe.prototype.get = vu;
|
|
347
|
+
oe.prototype.has = yu;
|
|
348
|
+
oe.prototype.set = mu;
|
|
349
|
+
var Je = Ee(ee, "Map");
|
|
350
|
+
function _u() {
|
|
351
351
|
this.size = 0, this.__data__ = {
|
|
352
|
-
hash: new
|
|
353
|
-
map: new (Je ||
|
|
354
|
-
string: new
|
|
352
|
+
hash: new _e(),
|
|
353
|
+
map: new (Je || oe)(),
|
|
354
|
+
string: new _e()
|
|
355
355
|
};
|
|
356
356
|
}
|
|
357
357
|
function gu(n) {
|
|
@@ -362,17 +362,17 @@ function Ot(n, o) {
|
|
|
362
362
|
var f = n.__data__;
|
|
363
363
|
return gu(o) ? f[typeof o == "string" ? "string" : "hash"] : f.map;
|
|
364
364
|
}
|
|
365
|
-
function
|
|
365
|
+
function bu(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 Eu(n) {
|
|
370
370
|
return Ot(this, n).get(n);
|
|
371
371
|
}
|
|
372
|
-
function
|
|
372
|
+
function Ru(n) {
|
|
373
373
|
return Ot(this, n).has(n);
|
|
374
374
|
}
|
|
375
|
-
function
|
|
375
|
+
function Ou(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,234 +383,234 @@ 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 = _u;
|
|
387
|
+
ke.prototype.delete = bu;
|
|
388
|
+
ke.prototype.get = Eu;
|
|
389
|
+
ke.prototype.has = Ru;
|
|
390
|
+
ke.prototype.set = Ou;
|
|
391
|
+
function ni(n, o) {
|
|
392
|
+
for (var f = -1, h = o.length, _ = n.length; ++f < h; )
|
|
393
|
+
n[_ + f] = o[f];
|
|
394
394
|
return n;
|
|
395
395
|
}
|
|
396
|
-
var
|
|
397
|
-
function
|
|
398
|
-
this.__data__ = new
|
|
396
|
+
var ii = ri(Object.getPrototypeOf, Object);
|
|
397
|
+
function Tu() {
|
|
398
|
+
this.__data__ = new oe(), this.size = 0;
|
|
399
399
|
}
|
|
400
|
-
function
|
|
400
|
+
function Nu(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 Su(n) {
|
|
405
405
|
return this.__data__.get(n);
|
|
406
406
|
}
|
|
407
|
-
function
|
|
407
|
+
function xu(n) {
|
|
408
408
|
return this.__data__.has(n);
|
|
409
409
|
}
|
|
410
|
-
var
|
|
411
|
-
function
|
|
410
|
+
var wu = 200;
|
|
411
|
+
function Pu(n, o) {
|
|
412
412
|
var f = this.__data__;
|
|
413
|
-
if (f instanceof
|
|
413
|
+
if (f instanceof oe) {
|
|
414
414
|
var h = f.__data__;
|
|
415
|
-
if (!Je || h.length <
|
|
415
|
+
if (!Je || h.length < wu - 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 oe(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 =
|
|
430
|
-
function Pu(n, o) {
|
|
431
|
-
return n && Et(o, dr(o), n);
|
|
432
|
-
}
|
|
425
|
+
Ie.prototype.clear = Tu;
|
|
426
|
+
Ie.prototype.delete = Nu;
|
|
427
|
+
Ie.prototype.get = Su;
|
|
428
|
+
Ie.prototype.has = xu;
|
|
429
|
+
Ie.prototype.set = Pu;
|
|
433
430
|
function Cu(n, o) {
|
|
434
431
|
return n && Et(o, hr(o), n);
|
|
435
432
|
}
|
|
436
|
-
|
|
437
|
-
|
|
433
|
+
function Au(n, o) {
|
|
434
|
+
return n && Et(o, vr(o), n);
|
|
435
|
+
}
|
|
436
|
+
var ai = typeof exports == "object" && exports && !exports.nodeType && exports, dn = ai && typeof module == "object" && module && !module.nodeType && module, ku = dn && dn.exports === ai, hn = ku ? ee.Buffer : void 0, vn = hn ? hn.allocUnsafe : void 0;
|
|
437
|
+
function Iu(n, o) {
|
|
438
438
|
if (o)
|
|
439
439
|
return n.slice();
|
|
440
|
-
var f = n.length, h =
|
|
440
|
+
var f = n.length, h = vn ? vn(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 Du(n, o) {
|
|
444
|
+
for (var f = -1, h = n == null ? 0 : n.length, _ = 0, b = []; ++f < h; ) {
|
|
445
445
|
var m = n[f];
|
|
446
|
-
o(m, f, n) && (b[
|
|
446
|
+
o(m, f, n) && (b[_++] = m);
|
|
447
447
|
}
|
|
448
448
|
return b;
|
|
449
449
|
}
|
|
450
|
-
function
|
|
450
|
+
function oi() {
|
|
451
451
|
return [];
|
|
452
452
|
}
|
|
453
|
-
var
|
|
454
|
-
return n == null ? [] : (n = Object(n),
|
|
455
|
-
return
|
|
453
|
+
var Lu = Object.prototype, Fu = Lu.propertyIsEnumerable, yn = Object.getOwnPropertySymbols, yr = yn ? function(n) {
|
|
454
|
+
return n == null ? [] : (n = Object(n), Du(yn(n), function(o) {
|
|
455
|
+
return Fu.call(n, o);
|
|
456
456
|
}));
|
|
457
|
-
} :
|
|
458
|
-
function
|
|
459
|
-
return Et(n,
|
|
457
|
+
} : oi;
|
|
458
|
+
function Mu(n, o) {
|
|
459
|
+
return Et(n, yr(n), o);
|
|
460
460
|
}
|
|
461
|
-
var
|
|
461
|
+
var Uu = Object.getOwnPropertySymbols, ui = Uu ? function(n) {
|
|
462
462
|
for (var o = []; n; )
|
|
463
|
-
|
|
463
|
+
ni(o, yr(n)), n = ii(n);
|
|
464
464
|
return o;
|
|
465
|
-
} :
|
|
466
|
-
function
|
|
467
|
-
return Et(n,
|
|
465
|
+
} : oi;
|
|
466
|
+
function ju(n, o) {
|
|
467
|
+
return Et(n, ui(n), o);
|
|
468
468
|
}
|
|
469
|
-
function
|
|
469
|
+
function si(n, o, f) {
|
|
470
470
|
var h = o(n);
|
|
471
|
-
return
|
|
472
|
-
}
|
|
473
|
-
function ju(n) {
|
|
474
|
-
return ui(n, dr, vr);
|
|
471
|
+
return fr(n) ? h : ni(h, f(n));
|
|
475
472
|
}
|
|
476
473
|
function Bu(n) {
|
|
477
|
-
return
|
|
474
|
+
return si(n, hr, yr);
|
|
475
|
+
}
|
|
476
|
+
function $u(n) {
|
|
477
|
+
return si(n, vr, ui);
|
|
478
478
|
}
|
|
479
|
-
var qt =
|
|
480
|
-
(qt &&
|
|
481
|
-
var o = Ke(n), f = o ==
|
|
479
|
+
var qt = Ee(ee, "DataView"), Zt = Ee(ee, "Promise"), Qt = Ee(ee, "Set"), mn = "[object Map]", Vu = "[object Object]", _n = "[object Promise]", gn = "[object Set]", bn = "[object WeakMap]", En = "[object DataView]", Gu = be(qt), Yu = be(Je), zu = be(Zt), Xu = be(Qt), Wu = be(Kt), ae = Ke;
|
|
480
|
+
(qt && ae(new qt(new ArrayBuffer(1))) != En || Je && ae(new Je()) != mn || Zt && ae(Zt.resolve()) != _n || Qt && ae(new Qt()) != gn || Kt && ae(new Kt()) != bn) && (ae = function(n) {
|
|
481
|
+
var o = Ke(n), f = o == Vu ? n.constructor : void 0, h = f ? be(f) : "";
|
|
482
482
|
if (h)
|
|
483
483
|
switch (h) {
|
|
484
|
-
case Vu:
|
|
485
|
-
return bn;
|
|
486
484
|
case Gu:
|
|
487
|
-
return
|
|
485
|
+
return En;
|
|
488
486
|
case Yu:
|
|
489
487
|
return mn;
|
|
490
488
|
case zu:
|
|
491
|
-
return gn;
|
|
492
|
-
case Xu:
|
|
493
489
|
return _n;
|
|
490
|
+
case Xu:
|
|
491
|
+
return gn;
|
|
492
|
+
case Wu:
|
|
493
|
+
return bn;
|
|
494
494
|
}
|
|
495
495
|
return o;
|
|
496
496
|
});
|
|
497
|
-
var
|
|
498
|
-
function
|
|
497
|
+
var Ju = Object.prototype, Hu = Ju.hasOwnProperty;
|
|
498
|
+
function Ku(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" && Hu.call(n, "index") && (f.index = n.index, f.input = n.input), f;
|
|
501
501
|
}
|
|
502
|
-
var
|
|
503
|
-
function
|
|
502
|
+
var Rn = ee.Uint8Array;
|
|
503
|
+
function mr(n) {
|
|
504
504
|
var o = new n.constructor(n.byteLength);
|
|
505
|
-
return new
|
|
505
|
+
return new Rn(o).set(new Rn(n)), o;
|
|
506
506
|
}
|
|
507
|
-
function
|
|
508
|
-
var f = o ?
|
|
507
|
+
function qu(n, o) {
|
|
508
|
+
var f = o ? mr(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 Zu = /\w*$/;
|
|
512
|
+
function Qu(n) {
|
|
513
|
+
var o = new n.constructor(n.source, Zu.exec(n));
|
|
514
514
|
return o.lastIndex = n.lastIndex, o;
|
|
515
515
|
}
|
|
516
|
-
var
|
|
517
|
-
function
|
|
518
|
-
return
|
|
516
|
+
var On = Pe ? Pe.prototype : void 0, Tn = On ? On.valueOf : void 0;
|
|
517
|
+
function es(n) {
|
|
518
|
+
return Tn ? Object(Tn.call(n)) : {};
|
|
519
519
|
}
|
|
520
|
-
function
|
|
521
|
-
var f = o ?
|
|
520
|
+
function ts(n, o) {
|
|
521
|
+
var f = o ? mr(n.buffer) : n.buffer;
|
|
522
522
|
return new n.constructor(f, n.byteOffset, n.length);
|
|
523
523
|
}
|
|
524
|
-
var
|
|
525
|
-
function
|
|
524
|
+
var rs = "[object Boolean]", ns = "[object Date]", is = "[object Map]", as = "[object Number]", os = "[object RegExp]", us = "[object Set]", ss = "[object String]", ls = "[object Symbol]", cs = "[object ArrayBuffer]", fs = "[object DataView]", ps = "[object Float32Array]", ds = "[object Float64Array]", hs = "[object Int8Array]", vs = "[object Int16Array]", ys = "[object Int32Array]", ms = "[object Uint8Array]", _s = "[object Uint8ClampedArray]", gs = "[object Uint16Array]", bs = "[object Uint32Array]";
|
|
525
|
+
function Es(n, o, f) {
|
|
526
526
|
var h = n.constructor;
|
|
527
527
|
switch (o) {
|
|
528
|
-
case
|
|
529
|
-
return
|
|
530
|
-
case ts:
|
|
528
|
+
case cs:
|
|
529
|
+
return mr(n);
|
|
531
530
|
case rs:
|
|
531
|
+
case ns:
|
|
532
532
|
return new h(+n);
|
|
533
|
-
case cs:
|
|
534
|
-
return Ku(n, f);
|
|
535
533
|
case fs:
|
|
534
|
+
return qu(n, f);
|
|
536
535
|
case ps:
|
|
537
536
|
case ds:
|
|
538
537
|
case hs:
|
|
539
538
|
case vs:
|
|
540
539
|
case ys:
|
|
541
540
|
case ms:
|
|
542
|
-
case gs:
|
|
543
541
|
case _s:
|
|
544
|
-
|
|
545
|
-
case
|
|
546
|
-
return
|
|
542
|
+
case gs:
|
|
543
|
+
case bs:
|
|
544
|
+
return ts(n, f);
|
|
547
545
|
case is:
|
|
548
|
-
case us:
|
|
549
|
-
return new h(n);
|
|
550
|
-
case as:
|
|
551
|
-
return Zu(n);
|
|
552
|
-
case os:
|
|
553
546
|
return new h();
|
|
547
|
+
case as:
|
|
554
548
|
case ss:
|
|
549
|
+
return new h(n);
|
|
550
|
+
case os:
|
|
555
551
|
return Qu(n);
|
|
552
|
+
case us:
|
|
553
|
+
return new h();
|
|
554
|
+
case ls:
|
|
555
|
+
return es(n);
|
|
556
556
|
}
|
|
557
557
|
}
|
|
558
|
-
function
|
|
559
|
-
return typeof n.constructor == "function" && !
|
|
558
|
+
function Rs(n) {
|
|
559
|
+
return typeof n.constructor == "function" && !pr(n) ? Za(ii(n)) : {};
|
|
560
560
|
}
|
|
561
|
-
var
|
|
562
|
-
function
|
|
563
|
-
return qe(n) &&
|
|
561
|
+
var Os = "[object Map]";
|
|
562
|
+
function Ts(n) {
|
|
563
|
+
return qe(n) && ae(n) == Os;
|
|
564
564
|
}
|
|
565
|
-
var
|
|
566
|
-
function
|
|
567
|
-
return qe(n) &&
|
|
565
|
+
var Nn = Ce && Ce.isMap, Ns = Nn ? dr(Nn) : Ts, Ss = "[object Set]";
|
|
566
|
+
function xs(n) {
|
|
567
|
+
return qe(n) && ae(n) == Ss;
|
|
568
568
|
}
|
|
569
|
-
var
|
|
570
|
-
F[
|
|
571
|
-
F[
|
|
572
|
-
function pt(n, o, f, h,
|
|
573
|
-
var m, T = o &
|
|
569
|
+
var Sn = Ce && Ce.isSet, ws = Sn ? dr(Sn) : xs, Ps = 1, Cs = 2, As = 4, li = "[object Arguments]", ks = "[object Array]", Is = "[object Boolean]", Ds = "[object Date]", Ls = "[object Error]", ci = "[object Function]", Fs = "[object GeneratorFunction]", Ms = "[object Map]", Us = "[object Number]", fi = "[object Object]", js = "[object RegExp]", Bs = "[object Set]", $s = "[object String]", Vs = "[object Symbol]", Gs = "[object WeakMap]", Ys = "[object ArrayBuffer]", zs = "[object DataView]", Xs = "[object Float32Array]", Ws = "[object Float64Array]", Js = "[object Int8Array]", Hs = "[object Int16Array]", Ks = "[object Int32Array]", qs = "[object Uint8Array]", Zs = "[object Uint8ClampedArray]", Qs = "[object Uint16Array]", el = "[object Uint32Array]", F = {};
|
|
570
|
+
F[li] = F[ks] = F[Ys] = F[zs] = F[Is] = F[Ds] = F[Xs] = F[Ws] = F[Js] = F[Hs] = F[Ks] = F[Ms] = F[Us] = F[fi] = F[js] = F[Bs] = F[$s] = F[Vs] = F[qs] = F[Zs] = F[Qs] = F[el] = !0;
|
|
571
|
+
F[Ls] = F[ci] = F[Gs] = !1;
|
|
572
|
+
function pt(n, o, f, h, _, b) {
|
|
573
|
+
var m, T = o & Ps, R = o & Cs, r = o & As;
|
|
574
574
|
if (m !== void 0)
|
|
575
575
|
return m;
|
|
576
576
|
if (!Ze(n))
|
|
577
577
|
return n;
|
|
578
|
-
var t =
|
|
578
|
+
var t = fr(n);
|
|
579
579
|
if (t) {
|
|
580
|
-
if (m =
|
|
581
|
-
return
|
|
580
|
+
if (m = Ku(n), !T)
|
|
581
|
+
return Qa(n, m);
|
|
582
582
|
} else {
|
|
583
|
-
var e =
|
|
584
|
-
if (
|
|
585
|
-
return
|
|
586
|
-
if (e ==
|
|
587
|
-
if (m = R || i ? {} :
|
|
588
|
-
return R ?
|
|
583
|
+
var e = ae(n), i = e == ci || e == Fs;
|
|
584
|
+
if (Qn(n))
|
|
585
|
+
return Iu(n, T);
|
|
586
|
+
if (e == fi || e == li || i && !_) {
|
|
587
|
+
if (m = R || i ? {} : Rs(n), !T)
|
|
588
|
+
return R ? ju(n, Au(m, n)) : Mu(n, Cu(m, n));
|
|
589
589
|
} else {
|
|
590
590
|
if (!F[e])
|
|
591
|
-
return
|
|
592
|
-
m =
|
|
591
|
+
return _ ? n : {};
|
|
592
|
+
m = Es(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), ws(n) ? n.forEach(function(a) {
|
|
600
600
|
m.add(pt(a, o, f, a, n, b));
|
|
601
|
-
}) :
|
|
601
|
+
}) : Ns(n) && n.forEach(function(a, p) {
|
|
602
602
|
m.set(p, pt(a, o, f, p, n, b));
|
|
603
603
|
});
|
|
604
|
-
var s = r ? R ?
|
|
605
|
-
return
|
|
606
|
-
l && (p = a, a = n[p]),
|
|
604
|
+
var s = r ? R ? $u : Bu : R ? vr : hr, l = t ? void 0 : s(n);
|
|
605
|
+
return eo(l || n, function(a, p) {
|
|
606
|
+
l && (p = a, a = n[p]), Jn(m, p, pt(a, o, f, p, n, b));
|
|
607
607
|
}), m;
|
|
608
608
|
}
|
|
609
|
-
var
|
|
609
|
+
var tl = 1, rl = 4;
|
|
610
610
|
function dt(n) {
|
|
611
|
-
return pt(n,
|
|
611
|
+
return pt(n, tl | rl);
|
|
612
612
|
}
|
|
613
|
-
function
|
|
613
|
+
function nl(n, o) {
|
|
614
614
|
if (n === "page") {
|
|
615
615
|
if (o == "common")
|
|
616
616
|
return "pageCommon";
|
|
@@ -622,29 +622,29 @@ function rl(n, o) {
|
|
|
622
622
|
} else
|
|
623
623
|
console.assert(!1);
|
|
624
624
|
}
|
|
625
|
-
function
|
|
625
|
+
function xn(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 wn(n, o) {
|
|
629
|
+
function f(h, _) {
|
|
630
|
+
if (_.ui) {
|
|
631
|
+
if (_.ui === "strInput" && _.static)
|
|
632
632
|
return;
|
|
633
|
-
h[
|
|
633
|
+
h[_.key] = xn(_);
|
|
634
634
|
} else
|
|
635
|
-
|
|
636
|
-
h[
|
|
635
|
+
_.array ? h[_.key] = xn(_) : _.children.forEach((b) => {
|
|
636
|
+
h[_.key] = {}, f(h[_.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 il(n, o, f, h, _) {
|
|
642
|
+
const b = `type=${n} subtype=${o} version=${f} ref=${h} keyOrRefid=${_}`, m = nl(n, o);
|
|
643
643
|
if (!m) {
|
|
644
644
|
console.error(`spawnNode prop tag not found, ${b}`);
|
|
645
645
|
return;
|
|
646
646
|
}
|
|
647
|
-
const T =
|
|
647
|
+
const T = Ci[f];
|
|
648
648
|
if (!T) {
|
|
649
649
|
console.error(`spawnNode pkg not found version, ${b}`);
|
|
650
650
|
return;
|
|
@@ -654,14 +654,14 @@ function nl(n, o, f, h, g) {
|
|
|
654
654
|
id: "",
|
|
655
655
|
key: ""
|
|
656
656
|
}
|
|
657
|
-
}, r =
|
|
657
|
+
}, r = Vn(16);
|
|
658
658
|
if (h) {
|
|
659
|
-
const t = T.refKey, e =
|
|
659
|
+
const t = T.refKey, e = _;
|
|
660
660
|
if (!T.elements.has(t)) {
|
|
661
661
|
console.error(`spawnNode [ref] element not found in pkg, ${b}`);
|
|
662
662
|
return;
|
|
663
663
|
}
|
|
664
|
-
const i =
|
|
664
|
+
const i = Ae[t];
|
|
665
665
|
if (!i) {
|
|
666
666
|
console.error(`spawnNode [ref] element not found in global, ${b}`);
|
|
667
667
|
return;
|
|
@@ -671,16 +671,16 @@ function nl(n, o, f, h, g) {
|
|
|
671
671
|
console.error(`spawnNode [ref] props not found, ${b}`);
|
|
672
672
|
return;
|
|
673
673
|
}
|
|
674
|
-
|
|
674
|
+
wn(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 = _;
|
|
679
679
|
if (!T.elements.has(t)) {
|
|
680
680
|
console.error(`spawnNode [key] element not found in pkg, ${b}`);
|
|
681
681
|
return;
|
|
682
682
|
}
|
|
683
|
-
const e =
|
|
683
|
+
const e = Ae[t];
|
|
684
684
|
if (!e) {
|
|
685
685
|
console.error(`spawnNode [key] element not found in global, ${b}`);
|
|
686
686
|
return;
|
|
@@ -690,92 +690,92 @@ function nl(n, o, f, h, g) {
|
|
|
690
690
|
console.error(`spawnNode [key] props not found, ${b}`);
|
|
691
691
|
return;
|
|
692
692
|
}
|
|
693
|
-
|
|
693
|
+
wn(R, i), R.basic.id = r, R.basic.key = t, e.leaf || (R.children = []);
|
|
694
694
|
}
|
|
695
695
|
return R;
|
|
696
696
|
}
|
|
697
|
-
function
|
|
697
|
+
function fc(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 _ = 0; _ < h.children.length; _++) {
|
|
703
|
+
const b = f(h.children[_]);
|
|
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 _ = f(n[h]);
|
|
710
|
+
if (_)
|
|
711
|
+
return _;
|
|
712
712
|
}
|
|
713
713
|
}
|
|
714
|
-
function
|
|
714
|
+
function pc(n) {
|
|
715
715
|
function o(h) {
|
|
716
|
-
var
|
|
717
|
-
h.basic.id =
|
|
716
|
+
var _;
|
|
717
|
+
h.basic.id = Vn(16), (_ = h.children) == null || _.forEach((b) => o(b));
|
|
718
718
|
}
|
|
719
719
|
const f = dt(n);
|
|
720
720
|
return o(f), f;
|
|
721
721
|
}
|
|
722
|
-
const
|
|
723
|
-
function
|
|
724
|
-
ce(fi, n);
|
|
725
|
-
}
|
|
726
|
-
function il() {
|
|
727
|
-
return fe(fi);
|
|
728
|
-
}
|
|
729
|
-
function sc(n) {
|
|
722
|
+
const pi = "runtimeEnv", di = "runtimeMode", hi = "runtimeDevice", vi = "runtimeDark", yi = "runtimeType", mi = "runtimeData", _i = "runtimeDepends", gi = "runtimeInterpreter";
|
|
723
|
+
function dc(n) {
|
|
730
724
|
ce(pi, n);
|
|
731
725
|
}
|
|
732
|
-
function
|
|
726
|
+
function al() {
|
|
733
727
|
return fe(pi);
|
|
734
728
|
}
|
|
735
|
-
function
|
|
736
|
-
ce(di,
|
|
729
|
+
function hc(n) {
|
|
730
|
+
ce(di, n);
|
|
737
731
|
}
|
|
738
|
-
function
|
|
732
|
+
function Re() {
|
|
739
733
|
return fe(di);
|
|
740
734
|
}
|
|
741
|
-
function
|
|
742
|
-
ce(hi,
|
|
735
|
+
function vc(n) {
|
|
736
|
+
ce(hi, _t(n));
|
|
743
737
|
}
|
|
744
|
-
function
|
|
738
|
+
function bi() {
|
|
745
739
|
return fe(hi);
|
|
746
740
|
}
|
|
747
|
-
function
|
|
748
|
-
ce(vi, n);
|
|
741
|
+
function yc(n) {
|
|
742
|
+
ce(vi, _t(n));
|
|
749
743
|
}
|
|
750
|
-
function
|
|
744
|
+
function De() {
|
|
751
745
|
return fe(vi);
|
|
752
746
|
}
|
|
753
|
-
function
|
|
754
|
-
|
|
747
|
+
function mc(n) {
|
|
748
|
+
ce(yi, n);
|
|
755
749
|
}
|
|
756
750
|
function Ei() {
|
|
757
751
|
return fe(yi);
|
|
758
752
|
}
|
|
759
|
-
function
|
|
760
|
-
console.assert(
|
|
753
|
+
function _c(n) {
|
|
754
|
+
console.assert(Bn(n)), ce(mi, _t(n));
|
|
761
755
|
}
|
|
762
|
-
function
|
|
756
|
+
function Ri() {
|
|
763
757
|
return fe(mi);
|
|
764
758
|
}
|
|
765
|
-
function
|
|
759
|
+
function gc(n) {
|
|
760
|
+
console.assert(Bn(n)), ce(_i, _t(n));
|
|
761
|
+
}
|
|
762
|
+
function ol() {
|
|
763
|
+
return fe(_i);
|
|
764
|
+
}
|
|
765
|
+
function ul(n) {
|
|
766
766
|
ce(gi, n);
|
|
767
767
|
}
|
|
768
|
-
function
|
|
768
|
+
function sl() {
|
|
769
769
|
return fe(gi);
|
|
770
770
|
}
|
|
771
|
-
const
|
|
771
|
+
const ll = /* @__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 =
|
|
778
|
+
const o = n, f = Re(), h = De(), _ = sl(), b = N(() => {
|
|
779
779
|
var i;
|
|
780
780
|
return (i = o.node.settings) == null ? void 0 : i.text;
|
|
781
781
|
}), m = N(() => {
|
|
@@ -791,14 +791,14 @@ const sl = /* @__PURE__ */ pe({
|
|
|
791
791
|
var i;
|
|
792
792
|
return (i = o.node.settings) == null ? void 0 : i.block;
|
|
793
793
|
}), t = N(() => h.value ? "dark" : "light"), e = () => {
|
|
794
|
-
if (f !== "runtime" || !
|
|
794
|
+
if (f !== "runtime" || !_)
|
|
795
795
|
return;
|
|
796
|
-
const i =
|
|
797
|
-
|
|
796
|
+
const i = _.nativeToPseudo(o.node.basic.id);
|
|
797
|
+
_.appendCode(`__triggerEvent__('${i}', 'click');`), _.run();
|
|
798
798
|
};
|
|
799
799
|
return (i, u) => {
|
|
800
|
-
const s =
|
|
801
|
-
return
|
|
800
|
+
const s = ge("v-btn");
|
|
801
|
+
return H(), de(s, {
|
|
802
802
|
text: b.value,
|
|
803
803
|
disabled: m.value,
|
|
804
804
|
variant: T.value,
|
|
@@ -809,18 +809,18 @@ const sl = /* @__PURE__ */ pe({
|
|
|
809
809
|
}, null, 8, ["text", "disabled", "variant", "density", "block", "theme"]);
|
|
810
810
|
};
|
|
811
811
|
}
|
|
812
|
-
}),
|
|
812
|
+
}), cl = [
|
|
813
813
|
{ title: "x-runtime-lib.elevated", value: "elevated" },
|
|
814
814
|
{ title: "x-runtime-lib.flat", value: "flat" },
|
|
815
815
|
{ title: "x-runtime-lib.tonal", value: "tonal" },
|
|
816
816
|
{ title: "x-runtime-lib.outlined", value: "outlined" },
|
|
817
817
|
{ title: "x-runtime-lib.text", value: "text" },
|
|
818
818
|
{ title: "x-runtime-lib.plain", value: "plain" }
|
|
819
|
-
],
|
|
819
|
+
], Oi = [
|
|
820
820
|
{ title: "x-runtime-lib.default", value: "default" },
|
|
821
821
|
{ title: "x-runtime-lib.comfortable", value: "comfortable" },
|
|
822
822
|
{ title: "x-runtime-lib.compact", value: "compact" }
|
|
823
|
-
], er = "btn_v1", tr = "combobox_v1", rr = "container_v1", nr = "data_table_v1",
|
|
823
|
+
], er = "btn_v1", tr = "combobox_v1", rr = "container_v1", nr = "data_table_v1", ir = "dialog_v1", Ti = "globality_v1", ar = "number_input_v1", Ni = "ref_v1", or = "select_v1", ur = "text_field_v1", Y = {
|
|
824
824
|
key: "basic",
|
|
825
825
|
name: "x-runtime-lib.basic",
|
|
826
826
|
children: [
|
|
@@ -845,7 +845,7 @@ const sl = /* @__PURE__ */ pe({
|
|
|
845
845
|
default: ""
|
|
846
846
|
}
|
|
847
847
|
]
|
|
848
|
-
},
|
|
848
|
+
}, Pn = {
|
|
849
849
|
key: "settings",
|
|
850
850
|
name: "x-runtime-lib.settings",
|
|
851
851
|
children: [
|
|
@@ -865,14 +865,14 @@ const sl = /* @__PURE__ */ pe({
|
|
|
865
865
|
key: "variant",
|
|
866
866
|
name: "x-runtime-lib.variant",
|
|
867
867
|
ui: "select",
|
|
868
|
-
items:
|
|
868
|
+
items: cl,
|
|
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: Oi,
|
|
876
876
|
default: "default"
|
|
877
877
|
},
|
|
878
878
|
{
|
|
@@ -882,10 +882,10 @@ const sl = /* @__PURE__ */ pe({
|
|
|
882
882
|
default: !1
|
|
883
883
|
}
|
|
884
884
|
]
|
|
885
|
-
},
|
|
885
|
+
}, fl = {
|
|
886
886
|
key: er,
|
|
887
887
|
name: "x-runtime-lib.button",
|
|
888
|
-
comp:
|
|
888
|
+
comp: ll,
|
|
889
889
|
leaf: !0,
|
|
890
890
|
events: [
|
|
891
891
|
{
|
|
@@ -896,17 +896,17 @@ const sl = /* @__PURE__ */ pe({
|
|
|
896
896
|
],
|
|
897
897
|
methods: [],
|
|
898
898
|
props: {
|
|
899
|
-
pageCommon: [
|
|
900
|
-
compCommon: [
|
|
899
|
+
pageCommon: [Y, Pn],
|
|
900
|
+
compCommon: [Y, Pn]
|
|
901
901
|
}
|
|
902
|
-
},
|
|
902
|
+
}, pl = { key: 0 }, dl = /* @__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 =
|
|
909
|
+
const o = n, f = Re(), h = De(), _ = N(() => {
|
|
910
910
|
var e;
|
|
911
911
|
return (e = o.node.settings) == null ? void 0 : e.value;
|
|
912
912
|
}), b = N(() => {
|
|
@@ -926,10 +926,10 @@ const sl = /* @__PURE__ */ pe({
|
|
|
926
926
|
return f !== "runtime" ? !0 : (e = o.node.settings) == null ? void 0 : e.readonly;
|
|
927
927
|
}), t = N(() => h.value ? "dark" : "light");
|
|
928
928
|
return (e, i) => {
|
|
929
|
-
const u =
|
|
930
|
-
return
|
|
929
|
+
const u = ge("v-combobox");
|
|
930
|
+
return gt(f) === "editor" ? (H(), He("div", pl, [
|
|
931
931
|
bt(u, {
|
|
932
|
-
"model-value":
|
|
932
|
+
"model-value": _.value,
|
|
933
933
|
label: b.value,
|
|
934
934
|
placeholder: m.value,
|
|
935
935
|
"hide-details": T.value,
|
|
@@ -937,9 +937,9 @@ const sl = /* @__PURE__ */ pe({
|
|
|
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
|
+
])) : (H(), de(u, {
|
|
941
941
|
key: 1,
|
|
942
|
-
"model-value":
|
|
942
|
+
"model-value": _.value,
|
|
943
943
|
label: b.value,
|
|
944
944
|
placeholder: m.value,
|
|
945
945
|
"hide-details": T.value,
|
|
@@ -949,7 +949,7 @@ const sl = /* @__PURE__ */ pe({
|
|
|
949
949
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
950
950
|
};
|
|
951
951
|
}
|
|
952
|
-
}),
|
|
952
|
+
}), Cn = {
|
|
953
953
|
key: "settings",
|
|
954
954
|
name: "x-runtime-lib.settings",
|
|
955
955
|
children: [
|
|
@@ -990,23 +990,23 @@ const sl = /* @__PURE__ */ pe({
|
|
|
990
990
|
default: !1
|
|
991
991
|
}
|
|
992
992
|
]
|
|
993
|
-
},
|
|
993
|
+
}, hl = {
|
|
994
994
|
key: tr,
|
|
995
995
|
name: "x-runtime-lib.combobox",
|
|
996
|
-
comp:
|
|
996
|
+
comp: dl,
|
|
997
997
|
leaf: !1,
|
|
998
998
|
events: [],
|
|
999
999
|
methods: [],
|
|
1000
1000
|
props: {
|
|
1001
|
-
pageCommon: [
|
|
1002
|
-
compCommon: [
|
|
1001
|
+
pageCommon: [Y, Cn],
|
|
1002
|
+
compCommon: [Y, Cn]
|
|
1003
1003
|
}
|
|
1004
1004
|
};
|
|
1005
|
-
function
|
|
1005
|
+
function Si(n, o, f) {
|
|
1006
1006
|
const h = N(() => {
|
|
1007
1007
|
var t;
|
|
1008
1008
|
return (t = f.node.size) == null ? void 0 : t.width;
|
|
1009
|
-
}),
|
|
1009
|
+
}), _ = N(() => {
|
|
1010
1010
|
var t;
|
|
1011
1011
|
return (t = f.node.size) == null ? void 0 : t.minWidth;
|
|
1012
1012
|
}), b = N(() => {
|
|
@@ -1038,11 +1038,11 @@ function Ni(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), _.value && (t.minWidth = _.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: _, maxWidth: b, height: m, minHeight: T, maxHeight: R, applySize: r };
|
|
1044
1044
|
}
|
|
1045
|
-
function
|
|
1045
|
+
function vl(n) {
|
|
1046
1046
|
const o = N(() => {
|
|
1047
1047
|
var m;
|
|
1048
1048
|
return (m = n.node.margin) == null ? void 0 : m.top;
|
|
@@ -1052,16 +1052,16 @@ function hl(n) {
|
|
|
1052
1052
|
}), h = N(() => {
|
|
1053
1053
|
var m;
|
|
1054
1054
|
return (m = n.node.margin) == null ? void 0 : m.bottom;
|
|
1055
|
-
}),
|
|
1055
|
+
}), _ = 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), _.value && (m.marginRight = _.value);
|
|
1061
1061
|
}
|
|
1062
|
-
return { marginTop: o, marginLeft: f, marginBottom: h, marginRight:
|
|
1062
|
+
return { marginTop: o, marginLeft: f, marginBottom: h, marginRight: _, applyMargin: b };
|
|
1063
1063
|
}
|
|
1064
|
-
function
|
|
1064
|
+
function yl(n) {
|
|
1065
1065
|
const o = N(() => {
|
|
1066
1066
|
var m;
|
|
1067
1067
|
return (m = n.node.padding) == null ? void 0 : m.top;
|
|
@@ -1071,16 +1071,16 @@ function vl(n) {
|
|
|
1071
1071
|
}), h = N(() => {
|
|
1072
1072
|
var m;
|
|
1073
1073
|
return (m = n.node.padding) == null ? void 0 : m.bottom;
|
|
1074
|
-
}),
|
|
1074
|
+
}), _ = 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), _.value && (m.paddingRight = _.value);
|
|
1080
1080
|
}
|
|
1081
|
-
return { paddingTop: o, paddingLeft: f, paddingBottom: h, paddingRight:
|
|
1081
|
+
return { paddingTop: o, paddingLeft: f, paddingBottom: h, paddingRight: _, applyPadding: b };
|
|
1082
1082
|
}
|
|
1083
|
-
function
|
|
1083
|
+
function ml(n) {
|
|
1084
1084
|
const o = N(() => {
|
|
1085
1085
|
var b;
|
|
1086
1086
|
return (b = n.node.border) == null ? void 0 : b.style;
|
|
@@ -1091,26 +1091,26 @@ function yl(n) {
|
|
|
1091
1091
|
var b;
|
|
1092
1092
|
return (b = n.node.border) == null ? void 0 : b.color;
|
|
1093
1093
|
});
|
|
1094
|
-
function
|
|
1094
|
+
function _(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: _ };
|
|
1098
1098
|
}
|
|
1099
|
-
const
|
|
1099
|
+
const _l = /* @__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 =
|
|
1106
|
+
const o = n, f = Re(), h = bi(), _ = Ei(), b = Ri(), { applySize: m } = Si(f, h, o), { applyMargin: T } = vl(o), { applyPadding: R } = yl(o), { applyBorder: r } = ml(o), t = N(() => {
|
|
1107
1107
|
const e = {}, i = b.type;
|
|
1108
|
-
return
|
|
1108
|
+
return _ === "page" ? i === "common" ? (m(e), T(e), R(e), r(e)) : console.assert(!1) : _ === "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) => (H(), He("div", {
|
|
1111
|
+
style: ya(t.value)
|
|
1112
1112
|
}, [
|
|
1113
|
-
|
|
1113
|
+
ma(e.$slots, "default")
|
|
1114
1114
|
], 4));
|
|
1115
1115
|
}
|
|
1116
1116
|
}), gl = [
|
|
@@ -1118,17 +1118,17 @@ const ml = /* @__PURE__ */ pe({
|
|
|
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
|
+
], K = [
|
|
1122
1122
|
{
|
|
1123
1123
|
name: "x-runtime-lib.default",
|
|
1124
1124
|
ui: "word",
|
|
1125
|
-
validator:
|
|
1125
|
+
validator: sr,
|
|
1126
1126
|
default: ""
|
|
1127
1127
|
},
|
|
1128
1128
|
{
|
|
1129
1129
|
name: "x-runtime-lib.pixel",
|
|
1130
1130
|
ui: "pixelInput",
|
|
1131
|
-
validator:
|
|
1131
|
+
validator: lr,
|
|
1132
1132
|
default: "0px",
|
|
1133
1133
|
precision: 0,
|
|
1134
1134
|
min: 0,
|
|
@@ -1138,7 +1138,7 @@ const ml = /* @__PURE__ */ pe({
|
|
|
1138
1138
|
{
|
|
1139
1139
|
name: "x-runtime-lib.percent",
|
|
1140
1140
|
ui: "percentInput",
|
|
1141
|
-
validator:
|
|
1141
|
+
validator: cr,
|
|
1142
1142
|
default: "0%",
|
|
1143
1143
|
precision: 4,
|
|
1144
1144
|
min: 0,
|
|
@@ -1180,7 +1180,7 @@ const ml = /* @__PURE__ */ pe({
|
|
|
1180
1180
|
key: "radius",
|
|
1181
1181
|
name: "x-runtime-lib.radius",
|
|
1182
1182
|
ui: "multiTypes",
|
|
1183
|
-
types:
|
|
1183
|
+
types: K,
|
|
1184
1184
|
default: ""
|
|
1185
1185
|
},
|
|
1186
1186
|
{
|
|
@@ -1214,7 +1214,7 @@ const ml = /* @__PURE__ */ pe({
|
|
|
1214
1214
|
{
|
|
1215
1215
|
name: "x-runtime-lib.default",
|
|
1216
1216
|
ui: "word",
|
|
1217
|
-
validator:
|
|
1217
|
+
validator: sr,
|
|
1218
1218
|
default: ""
|
|
1219
1219
|
},
|
|
1220
1220
|
{
|
|
@@ -1226,7 +1226,7 @@ const ml = /* @__PURE__ */ pe({
|
|
|
1226
1226
|
{
|
|
1227
1227
|
name: "x-runtime-lib.pixel",
|
|
1228
1228
|
ui: "pixelInput",
|
|
1229
|
-
validator:
|
|
1229
|
+
validator: lr,
|
|
1230
1230
|
default: "0px",
|
|
1231
1231
|
precision: 0,
|
|
1232
1232
|
min: 0,
|
|
@@ -1236,7 +1236,7 @@ const ml = /* @__PURE__ */ pe({
|
|
|
1236
1236
|
{
|
|
1237
1237
|
name: "x-runtime-lib.percent",
|
|
1238
1238
|
ui: "percentInput",
|
|
1239
|
-
validator:
|
|
1239
|
+
validator: cr,
|
|
1240
1240
|
default: "0%",
|
|
1241
1241
|
precision: 4,
|
|
1242
1242
|
min: 0,
|
|
@@ -1280,13 +1280,13 @@ const ml = /* @__PURE__ */ pe({
|
|
|
1280
1280
|
{
|
|
1281
1281
|
name: "x-runtime-lib.default",
|
|
1282
1282
|
ui: "word",
|
|
1283
|
-
validator:
|
|
1283
|
+
validator: sr,
|
|
1284
1284
|
default: ""
|
|
1285
1285
|
},
|
|
1286
1286
|
{
|
|
1287
1287
|
name: "x-runtime-lib.pixel",
|
|
1288
1288
|
ui: "pixelInput",
|
|
1289
|
-
validator:
|
|
1289
|
+
validator: lr,
|
|
1290
1290
|
default: "0px",
|
|
1291
1291
|
precision: 0,
|
|
1292
1292
|
min: 0,
|
|
@@ -1296,7 +1296,7 @@ const ml = /* @__PURE__ */ pe({
|
|
|
1296
1296
|
{
|
|
1297
1297
|
name: "x-runtime-lib.percent",
|
|
1298
1298
|
ui: "percentInput",
|
|
1299
|
-
validator:
|
|
1299
|
+
validator: cr,
|
|
1300
1300
|
default: "0%",
|
|
1301
1301
|
precision: 4,
|
|
1302
1302
|
min: 0,
|
|
@@ -1344,53 +1344,53 @@ const ml = /* @__PURE__ */ pe({
|
|
|
1344
1344
|
key: "width",
|
|
1345
1345
|
name: "x-runtime-lib.width",
|
|
1346
1346
|
ui: "multiTypes",
|
|
1347
|
-
types:
|
|
1347
|
+
types: K,
|
|
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: K,
|
|
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: K,
|
|
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: K,
|
|
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: K,
|
|
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: K,
|
|
1383
1383
|
default: ""
|
|
1384
1384
|
}
|
|
1385
1385
|
]
|
|
1386
|
-
},
|
|
1386
|
+
}, An = {
|
|
1387
1387
|
key: "settings",
|
|
1388
1388
|
name: "x-runtime-lib.settings",
|
|
1389
1389
|
children: []
|
|
1390
|
-
},
|
|
1390
|
+
}, bl = {
|
|
1391
1391
|
key: rr,
|
|
1392
1392
|
name: "x-runtime-lib.container",
|
|
1393
|
-
comp:
|
|
1393
|
+
comp: _l,
|
|
1394
1394
|
leaf: !1,
|
|
1395
1395
|
events: [
|
|
1396
1396
|
{
|
|
@@ -1401,10 +1401,10 @@ const ml = /* @__PURE__ */ pe({
|
|
|
1401
1401
|
],
|
|
1402
1402
|
methods: [],
|
|
1403
1403
|
props: {
|
|
1404
|
-
pageCommon: [
|
|
1405
|
-
compCommon: [
|
|
1404
|
+
pageCommon: [Y, mt, ht, vt, yt, An],
|
|
1405
|
+
compCommon: [Y, mt, ht, vt, yt, An]
|
|
1406
1406
|
}
|
|
1407
|
-
},
|
|
1407
|
+
}, El = /* @__PURE__ */ pe({
|
|
1408
1408
|
__name: "index",
|
|
1409
1409
|
props: {
|
|
1410
1410
|
node: {},
|
|
@@ -1414,7 +1414,7 @@ const ml = /* @__PURE__ */ pe({
|
|
|
1414
1414
|
const o = n, f = De(), h = N(() => {
|
|
1415
1415
|
var u;
|
|
1416
1416
|
return (u = o.node.size) == null ? void 0 : u.width;
|
|
1417
|
-
}),
|
|
1417
|
+
}), _ = N(() => {
|
|
1418
1418
|
var u;
|
|
1419
1419
|
return (u = o.node.size) == null ? void 0 : u.height;
|
|
1420
1420
|
}), b = N(() => {
|
|
@@ -1440,22 +1440,22 @@ const ml = /* @__PURE__ */ pe({
|
|
|
1440
1440
|
return (u = o.node.settings) == null ? void 0 : u.multiSort;
|
|
1441
1441
|
}), i = N(() => f.value ? "dark" : "light");
|
|
1442
1442
|
return (u, s) => {
|
|
1443
|
-
const l =
|
|
1444
|
-
return
|
|
1443
|
+
const l = ge("v-data-table");
|
|
1444
|
+
return H(), de(l, {
|
|
1445
1445
|
width: h.value,
|
|
1446
|
-
height:
|
|
1446
|
+
height: _.value,
|
|
1447
1447
|
headers: b.value,
|
|
1448
1448
|
items: m.value,
|
|
1449
1449
|
density: T.value,
|
|
1450
1450
|
"fixed-header": R.value,
|
|
1451
1451
|
"fixed-footer": r.value,
|
|
1452
1452
|
loading: t.value,
|
|
1453
|
-
|
|
1453
|
+
"multi-sort": e.value,
|
|
1454
1454
|
theme: i.value
|
|
1455
|
-
}, null, 8, ["width", "height", "headers", "items", "density", "fixed-header", "fixed-footer", "loading", "
|
|
1455
|
+
}, null, 8, ["width", "height", "headers", "items", "density", "fixed-header", "fixed-footer", "loading", "multi-sort", "theme"]);
|
|
1456
1456
|
};
|
|
1457
1457
|
}
|
|
1458
|
-
}),
|
|
1458
|
+
}), Rl = [
|
|
1459
1459
|
{
|
|
1460
1460
|
name: "x-runtime-lib.start",
|
|
1461
1461
|
ui: "word",
|
|
@@ -1474,7 +1474,7 @@ const ml = /* @__PURE__ */ pe({
|
|
|
1474
1474
|
validator: (n) => n === "end",
|
|
1475
1475
|
default: "end"
|
|
1476
1476
|
}
|
|
1477
|
-
],
|
|
1477
|
+
], kn = {
|
|
1478
1478
|
key: "size",
|
|
1479
1479
|
name: "x-runtime-lib.size",
|
|
1480
1480
|
children: [
|
|
@@ -1482,18 +1482,18 @@ const ml = /* @__PURE__ */ pe({
|
|
|
1482
1482
|
key: "width",
|
|
1483
1483
|
name: "x-runtime-lib.width",
|
|
1484
1484
|
ui: "multiTypes",
|
|
1485
|
-
types:
|
|
1485
|
+
types: K,
|
|
1486
1486
|
default: ""
|
|
1487
1487
|
},
|
|
1488
1488
|
{
|
|
1489
1489
|
key: "height",
|
|
1490
1490
|
name: "x-runtime-lib.height",
|
|
1491
1491
|
ui: "multiTypes",
|
|
1492
|
-
types:
|
|
1492
|
+
types: K,
|
|
1493
1493
|
default: ""
|
|
1494
1494
|
}
|
|
1495
1495
|
]
|
|
1496
|
-
},
|
|
1496
|
+
}, In = {
|
|
1497
1497
|
key: "settings",
|
|
1498
1498
|
name: "x-runtime-lib.settings",
|
|
1499
1499
|
children: [
|
|
@@ -1523,28 +1523,28 @@ const ml = /* @__PURE__ */ pe({
|
|
|
1523
1523
|
key: "align",
|
|
1524
1524
|
name: "x-runtime-lib.align",
|
|
1525
1525
|
ui: "multiTypes",
|
|
1526
|
-
types:
|
|
1526
|
+
types: Rl,
|
|
1527
1527
|
default: "start"
|
|
1528
1528
|
},
|
|
1529
1529
|
{
|
|
1530
1530
|
key: "width",
|
|
1531
1531
|
name: "x-runtime-lib.width",
|
|
1532
1532
|
ui: "multiTypes",
|
|
1533
|
-
types:
|
|
1533
|
+
types: K,
|
|
1534
1534
|
default: ""
|
|
1535
1535
|
},
|
|
1536
1536
|
{
|
|
1537
1537
|
key: "minWidth",
|
|
1538
1538
|
name: "x-runtime-lib.minWidth",
|
|
1539
1539
|
ui: "multiTypes",
|
|
1540
|
-
types:
|
|
1540
|
+
types: K,
|
|
1541
1541
|
default: ""
|
|
1542
1542
|
},
|
|
1543
1543
|
{
|
|
1544
1544
|
key: "maxWidth",
|
|
1545
1545
|
name: "x-runtime-lib.maxWidth",
|
|
1546
1546
|
ui: "multiTypes",
|
|
1547
|
-
types:
|
|
1547
|
+
types: K,
|
|
1548
1548
|
default: ""
|
|
1549
1549
|
},
|
|
1550
1550
|
{
|
|
@@ -1567,7 +1567,7 @@ const ml = /* @__PURE__ */ pe({
|
|
|
1567
1567
|
key: "density",
|
|
1568
1568
|
name: "x-runtime-lib.density",
|
|
1569
1569
|
ui: "select",
|
|
1570
|
-
items:
|
|
1570
|
+
items: Oi,
|
|
1571
1571
|
default: "default"
|
|
1572
1572
|
},
|
|
1573
1573
|
{
|
|
@@ -1595,18 +1595,39 @@ const ml = /* @__PURE__ */ pe({
|
|
|
1595
1595
|
default: !1
|
|
1596
1596
|
}
|
|
1597
1597
|
]
|
|
1598
|
-
},
|
|
1598
|
+
}, Ol = {
|
|
1599
1599
|
key: nr,
|
|
1600
1600
|
name: "x-runtime-lib.dataTable",
|
|
1601
|
-
comp:
|
|
1601
|
+
comp: El,
|
|
1602
1602
|
leaf: !1,
|
|
1603
1603
|
events: [],
|
|
1604
1604
|
methods: [],
|
|
1605
1605
|
props: {
|
|
1606
|
-
pageCommon: [
|
|
1607
|
-
compCommon: [
|
|
1606
|
+
pageCommon: [Y, kn, In],
|
|
1607
|
+
compCommon: [Y, kn, In]
|
|
1608
1608
|
}
|
|
1609
|
-
},
|
|
1609
|
+
}, Tl = (n, o) => {
|
|
1610
|
+
const f = n.__vccOpts || n;
|
|
1611
|
+
for (const [h, _] of o)
|
|
1612
|
+
f[h] = _;
|
|
1613
|
+
return f;
|
|
1614
|
+
}, Nl = {};
|
|
1615
|
+
function Sl(n, o) {
|
|
1616
|
+
const f = ge("v-dialog");
|
|
1617
|
+
return H(), de(f);
|
|
1618
|
+
}
|
|
1619
|
+
const xl = /* @__PURE__ */ Tl(Nl, [["render", Sl]]), wl = {
|
|
1620
|
+
key: ir,
|
|
1621
|
+
name: "x-runtime-lib.dialog",
|
|
1622
|
+
comp: xl,
|
|
1623
|
+
leaf: !0,
|
|
1624
|
+
events: [],
|
|
1625
|
+
methods: [],
|
|
1626
|
+
props: {
|
|
1627
|
+
pageCommon: [Y],
|
|
1628
|
+
compCommon: [Y]
|
|
1629
|
+
}
|
|
1630
|
+
}, Dn = {
|
|
1610
1631
|
key: "globalSettings",
|
|
1611
1632
|
name: "x-runtime-lib.globalSettings",
|
|
1612
1633
|
children: [
|
|
@@ -1617,8 +1638,8 @@ const ml = /* @__PURE__ */ pe({
|
|
|
1617
1638
|
default: "#00000000"
|
|
1618
1639
|
}
|
|
1619
1640
|
]
|
|
1620
|
-
},
|
|
1621
|
-
key:
|
|
1641
|
+
}, xi = {
|
|
1642
|
+
key: Ti,
|
|
1622
1643
|
name: "x-runtime-lib.globality",
|
|
1623
1644
|
comp: "",
|
|
1624
1645
|
leaf: !1,
|
|
@@ -1655,18 +1676,18 @@ const ml = /* @__PURE__ */ pe({
|
|
|
1655
1676
|
],
|
|
1656
1677
|
methods: [],
|
|
1657
1678
|
props: {
|
|
1658
|
-
pageCommon: [
|
|
1659
|
-
compCommon: [
|
|
1679
|
+
pageCommon: [Dn],
|
|
1680
|
+
compCommon: [Dn]
|
|
1660
1681
|
},
|
|
1661
1682
|
internal: !0
|
|
1662
|
-
},
|
|
1683
|
+
}, Pl = { key: 0 }, Cl = /* @__PURE__ */ pe({
|
|
1663
1684
|
__name: "index",
|
|
1664
1685
|
props: {
|
|
1665
1686
|
node: {},
|
|
1666
1687
|
outer: { type: Boolean }
|
|
1667
1688
|
},
|
|
1668
1689
|
setup(n) {
|
|
1669
|
-
const o = n, f =
|
|
1690
|
+
const o = n, f = Re(), h = De(), _ = N(() => {
|
|
1670
1691
|
var e;
|
|
1671
1692
|
return (e = o.node.settings) == null ? void 0 : e.value;
|
|
1672
1693
|
}), b = N(() => {
|
|
@@ -1686,10 +1707,10 @@ const ml = /* @__PURE__ */ pe({
|
|
|
1686
1707
|
return f !== "runtime" ? !0 : (e = o.node.settings) == null ? void 0 : e.readonly;
|
|
1687
1708
|
}), t = N(() => h.value ? "dark" : "light");
|
|
1688
1709
|
return (e, i) => {
|
|
1689
|
-
const u =
|
|
1690
|
-
return
|
|
1710
|
+
const u = ge("v-number-input");
|
|
1711
|
+
return gt(f) === "editor" ? (H(), He("div", Pl, [
|
|
1691
1712
|
bt(u, {
|
|
1692
|
-
"model-value":
|
|
1713
|
+
"model-value": _.value,
|
|
1693
1714
|
label: b.value,
|
|
1694
1715
|
placeholder: m.value,
|
|
1695
1716
|
"hide-details": T.value,
|
|
@@ -1697,9 +1718,9 @@ const ml = /* @__PURE__ */ pe({
|
|
|
1697
1718
|
readonly: r.value,
|
|
1698
1719
|
theme: t.value
|
|
1699
1720
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
1700
|
-
])) : (
|
|
1721
|
+
])) : (H(), de(u, {
|
|
1701
1722
|
key: 1,
|
|
1702
|
-
"model-value":
|
|
1723
|
+
"model-value": _.value,
|
|
1703
1724
|
label: b.value,
|
|
1704
1725
|
placeholder: m.value,
|
|
1705
1726
|
"hide-details": T.value,
|
|
@@ -1709,7 +1730,7 @@ const ml = /* @__PURE__ */ pe({
|
|
|
1709
1730
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
1710
1731
|
};
|
|
1711
1732
|
}
|
|
1712
|
-
}),
|
|
1733
|
+
}), Ln = {
|
|
1713
1734
|
key: "settings",
|
|
1714
1735
|
name: "x-runtime-lib.settings",
|
|
1715
1736
|
children: [
|
|
@@ -1754,23 +1775,23 @@ const ml = /* @__PURE__ */ pe({
|
|
|
1754
1775
|
default: !1
|
|
1755
1776
|
}
|
|
1756
1777
|
]
|
|
1757
|
-
},
|
|
1758
|
-
key:
|
|
1778
|
+
}, Al = {
|
|
1779
|
+
key: ar,
|
|
1759
1780
|
name: "x-runtime-lib.numberInput",
|
|
1760
|
-
comp:
|
|
1781
|
+
comp: Cl,
|
|
1761
1782
|
leaf: !1,
|
|
1762
1783
|
events: [],
|
|
1763
1784
|
methods: [],
|
|
1764
1785
|
props: {
|
|
1765
|
-
pageCommon: [
|
|
1766
|
-
compCommon: [
|
|
1786
|
+
pageCommon: [Y, Ln],
|
|
1787
|
+
compCommon: [Y, Ln]
|
|
1767
1788
|
}
|
|
1768
1789
|
};
|
|
1769
|
-
var
|
|
1770
|
-
function
|
|
1790
|
+
var kl = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1791
|
+
function Il(n) {
|
|
1771
1792
|
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
1772
1793
|
}
|
|
1773
|
-
function
|
|
1794
|
+
function Dl(n) {
|
|
1774
1795
|
if (n.__esModule) return n;
|
|
1775
1796
|
var o = n.default;
|
|
1776
1797
|
if (typeof o == "function") {
|
|
@@ -1780,8 +1801,8 @@ function wl(n) {
|
|
|
1780
1801
|
f.prototype = o.prototype;
|
|
1781
1802
|
} else f = {};
|
|
1782
1803
|
return Object.defineProperty(f, "__esModule", { value: !0 }), Object.keys(n).forEach(function(h) {
|
|
1783
|
-
var
|
|
1784
|
-
Object.defineProperty(f, h,
|
|
1804
|
+
var _ = Object.getOwnPropertyDescriptor(n, h);
|
|
1805
|
+
Object.defineProperty(f, h, _.get ? _ : {
|
|
1785
1806
|
enumerable: !0,
|
|
1786
1807
|
get: function() {
|
|
1787
1808
|
return n[h];
|
|
@@ -1789,15 +1810,15 @@ function wl(n) {
|
|
|
1789
1810
|
});
|
|
1790
1811
|
}), f;
|
|
1791
1812
|
}
|
|
1792
|
-
var
|
|
1793
|
-
const
|
|
1813
|
+
var wi = { exports: {} };
|
|
1814
|
+
const Ll = {}, Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1794
1815
|
__proto__: null,
|
|
1795
|
-
default:
|
|
1796
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1816
|
+
default: Ll
|
|
1817
|
+
}, Symbol.toStringTag, { value: "Module" })), Ml = /* @__PURE__ */ Dl(Fl);
|
|
1797
1818
|
(function(n, o) {
|
|
1798
|
-
(function(h,
|
|
1799
|
-
n.exports =
|
|
1800
|
-
})(
|
|
1819
|
+
(function(h, _) {
|
|
1820
|
+
n.exports = _();
|
|
1821
|
+
})(kl, () => (
|
|
1801
1822
|
/******/
|
|
1802
1823
|
(() => {
|
|
1803
1824
|
var f = {
|
|
@@ -4424,12 +4445,12 @@ const Pl = {}, Cl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4424
4445
|
} else if (s.nativeFunc)
|
|
4425
4446
|
e.scope.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), e.value = s.nativeFunc.apply(e.funcThis_, e.arguments_);
|
|
4426
4447
|
else if (s.asyncFunc) {
|
|
4427
|
-
var W = this, Le = function(
|
|
4428
|
-
e.value =
|
|
4429
|
-
}, q = s.asyncFunc.length - 1,
|
|
4448
|
+
var W = this, Le = function(he) {
|
|
4449
|
+
e.value = he, W.paused_ = !1;
|
|
4450
|
+
}, q = s.asyncFunc.length - 1, Oe = e.arguments_.concat(
|
|
4430
4451
|
new Array(q)
|
|
4431
4452
|
).slice(0, q);
|
|
4432
|
-
|
|
4453
|
+
Oe.push(Le), this.paused_ = !0, e.scope.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), s.asyncFunc.apply(e.funcThis_, Oe);
|
|
4433
4454
|
return;
|
|
4434
4455
|
} else
|
|
4435
4456
|
this.throwException(
|
|
@@ -4837,7 +4858,7 @@ const Pl = {}, Cl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4837
4858
|
R.version = "0.5.0";
|
|
4838
4859
|
var r, t = "", e, i;
|
|
4839
4860
|
R.parse = function(c, d) {
|
|
4840
|
-
return t = String(c), e = t.length, s(d),
|
|
4861
|
+
return t = String(c), e = t.length, s(d), Wi(), oa(r.program);
|
|
4841
4862
|
};
|
|
4842
4863
|
var u = {
|
|
4843
4864
|
// JS-Interpreter change:
|
|
@@ -4904,80 +4925,80 @@ const Pl = {}, Cl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4904
4925
|
i = r.sourceFile;
|
|
4905
4926
|
}
|
|
4906
4927
|
var l = function(c, d) {
|
|
4907
|
-
for (var y = 1,
|
|
4908
|
-
it.lastIndex =
|
|
4928
|
+
for (var y = 1, g = 0; ; ) {
|
|
4929
|
+
it.lastIndex = g;
|
|
4909
4930
|
var C = it.exec(c);
|
|
4910
4931
|
if (C && C.index < d)
|
|
4911
|
-
++y,
|
|
4932
|
+
++y, g = C.index + C[0].length;
|
|
4912
4933
|
else
|
|
4913
4934
|
break;
|
|
4914
4935
|
}
|
|
4915
|
-
return { line: y, column: d -
|
|
4916
|
-
}, a = 0, p = 0, v = 0, E, S, O, x, I, L, W, Le = 0, q = 0,
|
|
4936
|
+
return { line: y, column: d - g };
|
|
4937
|
+
}, a = 0, p = 0, v = 0, E, S, O, x, I, L, W, Le = 0, q = 0, Oe, he, B, J;
|
|
4917
4938
|
function k(c, d) {
|
|
4918
4939
|
var y = l(t, c);
|
|
4919
4940
|
d += " (" + y.line + ":" + y.column + ")";
|
|
4920
|
-
var
|
|
4921
|
-
throw
|
|
4941
|
+
var g = new SyntaxError(d);
|
|
4942
|
+
throw g.pos = c, g.loc = y, g.raisedAt = a, g;
|
|
4922
4943
|
}
|
|
4923
|
-
var
|
|
4944
|
+
var Ai = [], Qe = { type: "num" }, _r = { type: "regexp" }, Tt = { type: "string" }, Te = { type: "name" }, Nt = { type: "eof" }, St = { keyword: "break" }, xt = { keyword: "case", beforeExpr: !0 }, gr = { keyword: "catch" }, br = { keyword: "continue" }, Er = { keyword: "debugger" }, Rr = { keyword: "default" }, Or = { keyword: "do", isLoop: !0 }, Tr = { keyword: "else", beforeExpr: !0 }, Nr = { keyword: "finally" }, Sr = { keyword: "for", isLoop: !0 }, wt = { keyword: "function" }, xr = { keyword: "if" }, wr = { keyword: "return", beforeExpr: !0 }, Pt = { keyword: "switch" }, Pr = { keyword: "throw", beforeExpr: !0 }, Cr = { keyword: "try" }, Ct = { keyword: "var" }, At = { keyword: "while", isLoop: !0 }, Ar = { keyword: "with" }, kr = { keyword: "new", beforeExpr: !0 }, Ir = { keyword: "this" }, Dr = { keyword: "null", atomValue: null }, Lr = { keyword: "true", atomValue: !0 }, Fr = { keyword: "false", atomValue: !1 }, et = { keyword: "in", binop: 7, beforeExpr: !0 }, ki = {
|
|
4924
4945
|
break: St,
|
|
4925
4946
|
case: xt,
|
|
4926
4947
|
catch: gr,
|
|
4927
|
-
continue:
|
|
4928
|
-
debugger:
|
|
4929
|
-
default:
|
|
4930
|
-
do:
|
|
4931
|
-
else:
|
|
4932
|
-
finally:
|
|
4933
|
-
for:
|
|
4948
|
+
continue: br,
|
|
4949
|
+
debugger: Er,
|
|
4950
|
+
default: Rr,
|
|
4951
|
+
do: Or,
|
|
4952
|
+
else: Tr,
|
|
4953
|
+
finally: Nr,
|
|
4954
|
+
for: Sr,
|
|
4934
4955
|
function: wt,
|
|
4935
|
-
if:
|
|
4936
|
-
return:
|
|
4956
|
+
if: xr,
|
|
4957
|
+
return: wr,
|
|
4937
4958
|
switch: Pt,
|
|
4938
|
-
throw:
|
|
4939
|
-
try:
|
|
4959
|
+
throw: Pr,
|
|
4960
|
+
try: Cr,
|
|
4940
4961
|
var: Ct,
|
|
4941
4962
|
while: At,
|
|
4942
|
-
with:
|
|
4943
|
-
null:
|
|
4944
|
-
true:
|
|
4945
|
-
false:
|
|
4946
|
-
new:
|
|
4963
|
+
with: Ar,
|
|
4964
|
+
null: Dr,
|
|
4965
|
+
true: Lr,
|
|
4966
|
+
false: Fr,
|
|
4967
|
+
new: kr,
|
|
4947
4968
|
in: et,
|
|
4948
4969
|
instanceof: { keyword: "instanceof", binop: 7, beforeExpr: !0 },
|
|
4949
|
-
this:
|
|
4970
|
+
this: Ir,
|
|
4950
4971
|
typeof: { keyword: "typeof", prefix: !0, beforeExpr: !0 },
|
|
4951
4972
|
void: { keyword: "void", prefix: !0, beforeExpr: !0 },
|
|
4952
4973
|
delete: { keyword: "delete", prefix: !0, beforeExpr: !0 }
|
|
4953
|
-
}, kt = { type: "[", beforeExpr: !0 }, It = { type: "]" }, Fe = { type: "{", beforeExpr: !0 },
|
|
4974
|
+
}, kt = { type: "[", beforeExpr: !0 }, It = { type: "]" }, Fe = { type: "{", beforeExpr: !0 }, Ne = { type: "}" }, re = { type: "(", beforeExpr: !0 }, Q = { type: ")" }, ue = { type: ",", beforeExpr: !0 }, ne = { type: ";", beforeExpr: !0 }, Me = { type: ":", beforeExpr: !0 }, Mr = { type: "." }, Ur = { type: "?", beforeExpr: !0 }, jr = { binop: 10, beforeExpr: !0 }, Br = { isAssign: !0, beforeExpr: !0 }, ve = { isAssign: !0, beforeExpr: !0 }, Ii = { postfix: !0, prefix: !0, isUpdate: !0 }, $r = { prefix: !0, beforeExpr: !0 }, Vr = { binop: 1, beforeExpr: !0 }, Gr = { binop: 2, beforeExpr: !0 }, Di = { binop: 3, beforeExpr: !0 }, Li = { binop: 4, beforeExpr: !0 }, Fi = { binop: 5, beforeExpr: !0 }, Mi = { binop: 6, beforeExpr: !0 }, Ui = { binop: 7, beforeExpr: !0 }, ji = { binop: 8, beforeExpr: !0 }, Bi = { binop: 9, prefix: !0, beforeExpr: !0 }, $i = { binop: 10, beforeExpr: !0 };
|
|
4954
4975
|
function tt(c) {
|
|
4955
|
-
for (var d = c.split(" "), y = /* @__PURE__ */ Object.create(null),
|
|
4956
|
-
y[d[
|
|
4976
|
+
for (var d = c.split(" "), y = /* @__PURE__ */ Object.create(null), g = 0; g < d.length; g++)
|
|
4977
|
+
y[d[g]] = !0;
|
|
4957
4978
|
return function(C) {
|
|
4958
4979
|
return y[C] || !1;
|
|
4959
4980
|
};
|
|
4960
4981
|
}
|
|
4961
|
-
var
|
|
4962
|
-
return c < 65 ? c === 36 : c < 91 ? !0 : c < 97 ? c === 95 : c < 123 ? !0 : c >= 170 &&
|
|
4963
|
-
},
|
|
4964
|
-
return c < 48 ? c === 36 : c < 58 ? !0 : c < 65 ? !1 : c < 91 ? !0 : c < 97 ? c === 95 : c < 123 ? !0 : c >= 170 &&
|
|
4982
|
+
var Vi = tt("class enum extends super const export import"), Yr = tt("implements interface let package private protected public static yield"), rt = tt("eval arguments"), Gi = 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"), Yi = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, zr = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", zi = "̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_", Xr = new RegExp("[" + zr + "]"), Xi = new RegExp("[" + zr + zi + "]"), nt = /[\n\r\u2028\u2029]/, it = /\r\n|[\n\r\u2028\u2029]/g, at = function(c) {
|
|
4983
|
+
return c < 65 ? c === 36 : c < 91 ? !0 : c < 97 ? c === 95 : c < 123 ? !0 : c >= 170 && Xr.test(String.fromCharCode(c));
|
|
4984
|
+
}, Wr = function(c) {
|
|
4985
|
+
return c < 48 ? c === 36 : c < 58 ? !0 : c < 65 ? !1 : c < 91 ? !0 : c < 97 ? c === 95 : c < 123 ? !0 : c >= 170 && Xi.test(String.fromCharCode(c));
|
|
4965
4986
|
};
|
|
4966
|
-
function
|
|
4987
|
+
function ye() {
|
|
4967
4988
|
this.line = L, this.column = a - W;
|
|
4968
4989
|
}
|
|
4969
|
-
function
|
|
4990
|
+
function Wi() {
|
|
4970
4991
|
L = 1, a = W = 0, I = !0, Ue();
|
|
4971
4992
|
}
|
|
4972
4993
|
function V(c, d) {
|
|
4973
|
-
v = a, r.locations && (S = new
|
|
4994
|
+
v = a, r.locations && (S = new ye()), O = c, Ue(), x = d, I = c.beforeExpr;
|
|
4974
4995
|
}
|
|
4975
|
-
function
|
|
4976
|
-
var c = r.onComment && r.locations && new
|
|
4996
|
+
function Ji() {
|
|
4997
|
+
var c = r.onComment && r.locations && new ye(), d = a, y = t.indexOf("*/", a += 2);
|
|
4977
4998
|
if (y === -1 && k(a - 2, "Unterminated comment"), a = y + 2, r.locations) {
|
|
4978
4999
|
it.lastIndex = d;
|
|
4979
|
-
for (var
|
|
4980
|
-
++L, W =
|
|
5000
|
+
for (var g; (g = it.exec(t)) && g.index < a; )
|
|
5001
|
+
++L, W = g.index + g[0].length;
|
|
4981
5002
|
}
|
|
4982
5003
|
r.onComment && r.onComment(
|
|
4983
5004
|
!0,
|
|
@@ -4985,11 +5006,11 @@ const Pl = {}, Cl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4985
5006
|
d,
|
|
4986
5007
|
a,
|
|
4987
5008
|
c,
|
|
4988
|
-
r.locations && new
|
|
5009
|
+
r.locations && new ye()
|
|
4989
5010
|
);
|
|
4990
5011
|
}
|
|
4991
5012
|
function Dt() {
|
|
4992
|
-
for (var c = a, d = r.onComment && r.locations && new
|
|
5013
|
+
for (var c = a, d = r.onComment && r.locations && new ye(), y = t.charCodeAt(a += 2); a < e && y !== 10 && y !== 13 && y !== 8232 && y !== 8233; )
|
|
4993
5014
|
++a, y = t.charCodeAt(a);
|
|
4994
5015
|
r.onComment && r.onComment(
|
|
4995
5016
|
!1,
|
|
@@ -4997,7 +5018,7 @@ const Pl = {}, Cl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4997
5018
|
c,
|
|
4998
5019
|
a,
|
|
4999
5020
|
d,
|
|
5000
|
-
r.locations && new
|
|
5021
|
+
r.locations && new ye()
|
|
5001
5022
|
);
|
|
5002
5023
|
}
|
|
5003
5024
|
function Ue() {
|
|
@@ -5016,74 +5037,74 @@ const Pl = {}, Cl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5016
5037
|
else if (c === 47) {
|
|
5017
5038
|
var d = t.charCodeAt(a + 1);
|
|
5018
5039
|
if (d === 42)
|
|
5019
|
-
|
|
5040
|
+
Ji();
|
|
5020
5041
|
else if (d === 47)
|
|
5021
5042
|
Dt();
|
|
5022
5043
|
else break;
|
|
5023
5044
|
} else if (c === 160)
|
|
5024
5045
|
++a;
|
|
5025
|
-
else if (c >= 5760 &&
|
|
5046
|
+
else if (c >= 5760 && Yi.test(String.fromCharCode(c)))
|
|
5026
5047
|
++a;
|
|
5027
5048
|
else
|
|
5028
5049
|
break;
|
|
5029
5050
|
}
|
|
5030
5051
|
}
|
|
5031
|
-
function Ji() {
|
|
5032
|
-
var c = t.charCodeAt(a + 1);
|
|
5033
|
-
c >= 48 && c <= 57 ? Jr(!0) : (++a, V(Fr));
|
|
5034
|
-
}
|
|
5035
5052
|
function Hi() {
|
|
5036
5053
|
var c = t.charCodeAt(a + 1);
|
|
5037
|
-
|
|
5054
|
+
c >= 48 && c <= 57 ? Hr(!0) : (++a, V(Mr));
|
|
5038
5055
|
}
|
|
5039
5056
|
function Ki() {
|
|
5040
5057
|
var c = t.charCodeAt(a + 1);
|
|
5041
|
-
c === 61 ? G(
|
|
5058
|
+
I ? (++a, Jr()) : c === 61 ? G(ve, 2) : G(jr, 1);
|
|
5059
|
+
}
|
|
5060
|
+
function qi() {
|
|
5061
|
+
var c = t.charCodeAt(a + 1);
|
|
5062
|
+
c === 61 ? G(ve, 2) : G($i, 1);
|
|
5042
5063
|
}
|
|
5043
|
-
function
|
|
5064
|
+
function Zi(c) {
|
|
5044
5065
|
var d = t.charCodeAt(a + 1);
|
|
5045
|
-
d === c ? G(c === 124 ?
|
|
5066
|
+
d === c ? G(c === 124 ? Vr : Gr, 2) : d === 61 ? G(ve, 2) : G(c === 124 ? Di : Fi, 1);
|
|
5046
5067
|
}
|
|
5047
|
-
function
|
|
5068
|
+
function Qi() {
|
|
5048
5069
|
var c = t.charCodeAt(a + 1);
|
|
5049
|
-
c === 61 ? G(
|
|
5070
|
+
c === 61 ? G(ve, 2) : G(Li, 1);
|
|
5050
5071
|
}
|
|
5051
|
-
function
|
|
5072
|
+
function ea(c) {
|
|
5052
5073
|
var d = t.charCodeAt(a + 1);
|
|
5053
5074
|
if (d === c) {
|
|
5054
5075
|
if (d === 45 && t.charCodeAt(a + 2) === 62 && nt.test(t.slice(q, a))) {
|
|
5055
|
-
a += 3, Dt(), Ue(),
|
|
5076
|
+
a += 3, Dt(), Ue(), Se();
|
|
5056
5077
|
return;
|
|
5057
5078
|
}
|
|
5058
|
-
G(
|
|
5059
|
-
} else d === 61 ? G(
|
|
5079
|
+
G(Ii, 2);
|
|
5080
|
+
} else d === 61 ? G(ve, 2) : G(Bi, 1);
|
|
5060
5081
|
}
|
|
5061
|
-
function
|
|
5082
|
+
function ta(c) {
|
|
5062
5083
|
var d = t.charCodeAt(a + 1), y = 1;
|
|
5063
5084
|
if (d === c) {
|
|
5064
|
-
y = c === 62 && t.charCodeAt(a + 2) === 62 ? 3 : 2, t.charCodeAt(a + y) === 61 ? G(
|
|
5085
|
+
y = c === 62 && t.charCodeAt(a + 2) === 62 ? 3 : 2, t.charCodeAt(a + y) === 61 ? G(ve, y + 1) : G(ji, y);
|
|
5065
5086
|
return;
|
|
5066
5087
|
}
|
|
5067
5088
|
if (d === 33 && c === 60 && t.charCodeAt(a + 2) === 45 && t.charCodeAt(a + 3) === 45) {
|
|
5068
|
-
a += 4, Dt(), Ue(),
|
|
5089
|
+
a += 4, Dt(), Ue(), Se();
|
|
5069
5090
|
return;
|
|
5070
5091
|
}
|
|
5071
|
-
d === 61 && (y = t.charCodeAt(a + 2) === 61 ? 3 : 2), G(
|
|
5092
|
+
d === 61 && (y = t.charCodeAt(a + 2) === 61 ? 3 : 2), G(Ui, y);
|
|
5072
5093
|
}
|
|
5073
|
-
function
|
|
5094
|
+
function ra(c) {
|
|
5074
5095
|
var d = t.charCodeAt(a + 1);
|
|
5075
|
-
d === 61 ? G(
|
|
5096
|
+
d === 61 ? G(Mi, t.charCodeAt(a + 2) === 61 ? 3 : 2) : G(c === 61 ? Br : $r, 1);
|
|
5076
5097
|
}
|
|
5077
|
-
function
|
|
5098
|
+
function na(c) {
|
|
5078
5099
|
switch (c) {
|
|
5079
5100
|
case 46:
|
|
5080
|
-
return
|
|
5101
|
+
return Hi();
|
|
5081
5102
|
case 40:
|
|
5082
|
-
return ++a, V(
|
|
5103
|
+
return ++a, V(re);
|
|
5083
5104
|
case 41:
|
|
5084
5105
|
return ++a, V(Q);
|
|
5085
5106
|
case 59:
|
|
5086
|
-
return ++a, V(
|
|
5107
|
+
return ++a, V(ne);
|
|
5087
5108
|
case 44:
|
|
5088
5109
|
return ++a, V(ue);
|
|
5089
5110
|
case 91:
|
|
@@ -5093,14 +5114,14 @@ const Pl = {}, Cl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5093
5114
|
case 123:
|
|
5094
5115
|
return ++a, V(Fe);
|
|
5095
5116
|
case 125:
|
|
5096
|
-
return ++a, V(
|
|
5117
|
+
return ++a, V(Ne);
|
|
5097
5118
|
case 58:
|
|
5098
5119
|
return ++a, V(Me);
|
|
5099
5120
|
case 63:
|
|
5100
|
-
return ++a, V(
|
|
5121
|
+
return ++a, V(Ur);
|
|
5101
5122
|
case 48:
|
|
5102
5123
|
var d = t.charCodeAt(a + 1);
|
|
5103
|
-
if (d === 120 || d === 88) return
|
|
5124
|
+
if (d === 120 || d === 88) return ia();
|
|
5104
5125
|
case 49:
|
|
5105
5126
|
case 50:
|
|
5106
5127
|
case 51:
|
|
@@ -5110,102 +5131,102 @@ const Pl = {}, Cl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5110
5131
|
case 55:
|
|
5111
5132
|
case 56:
|
|
5112
5133
|
case 57:
|
|
5113
|
-
return
|
|
5134
|
+
return Hr(!1);
|
|
5114
5135
|
case 34:
|
|
5115
5136
|
case 39:
|
|
5116
|
-
return
|
|
5137
|
+
return aa(c);
|
|
5117
5138
|
case 47:
|
|
5118
|
-
return
|
|
5139
|
+
return Ki();
|
|
5119
5140
|
case 37:
|
|
5120
5141
|
case 42:
|
|
5121
|
-
return
|
|
5142
|
+
return qi();
|
|
5122
5143
|
case 124:
|
|
5123
5144
|
case 38:
|
|
5124
|
-
return
|
|
5145
|
+
return Zi(c);
|
|
5125
5146
|
case 94:
|
|
5126
|
-
return
|
|
5147
|
+
return Qi();
|
|
5127
5148
|
case 43:
|
|
5128
5149
|
case 45:
|
|
5129
|
-
return
|
|
5150
|
+
return ea(c);
|
|
5130
5151
|
case 60:
|
|
5131
5152
|
case 62:
|
|
5132
|
-
return
|
|
5153
|
+
return ta(c);
|
|
5133
5154
|
case 61:
|
|
5134
5155
|
case 33:
|
|
5135
|
-
return
|
|
5156
|
+
return ra(c);
|
|
5136
5157
|
case 126:
|
|
5137
|
-
return G(
|
|
5158
|
+
return G($r, 1);
|
|
5138
5159
|
}
|
|
5139
5160
|
return !1;
|
|
5140
5161
|
}
|
|
5141
|
-
function
|
|
5142
|
-
if (c ? a = p + 1 : p = a, r.locations && (E = new
|
|
5162
|
+
function Se(c) {
|
|
5163
|
+
if (c ? a = p + 1 : p = a, r.locations && (E = new ye()), c) return Jr();
|
|
5143
5164
|
if (a >= e) return V(Nt);
|
|
5144
5165
|
var d = t.charCodeAt(a);
|
|
5145
5166
|
if (at(d) || d === 92)
|
|
5146
|
-
return
|
|
5147
|
-
var y =
|
|
5167
|
+
return qr();
|
|
5168
|
+
var y = na(d);
|
|
5148
5169
|
if (y === !1) {
|
|
5149
|
-
var
|
|
5150
|
-
if (
|
|
5151
|
-
return
|
|
5152
|
-
k(a, "Unexpected character '" +
|
|
5170
|
+
var g = String.fromCharCode(d);
|
|
5171
|
+
if (g === "\\" || Xr.test(g))
|
|
5172
|
+
return qr();
|
|
5173
|
+
k(a, "Unexpected character '" + g + "'");
|
|
5153
5174
|
}
|
|
5154
5175
|
}
|
|
5155
5176
|
function G(c, d) {
|
|
5156
5177
|
var y = t.slice(a, a + d);
|
|
5157
5178
|
a += d, V(c, y);
|
|
5158
5179
|
}
|
|
5159
|
-
function
|
|
5180
|
+
function Jr() {
|
|
5160
5181
|
for (var c, d, y = a; ; ) {
|
|
5161
5182
|
a >= e && k(y, "Unterminated regexp");
|
|
5162
|
-
var
|
|
5163
|
-
if (nt.test(
|
|
5183
|
+
var g = t.charAt(a);
|
|
5184
|
+
if (nt.test(g) && k(y, "Unterminated regexp"), c)
|
|
5164
5185
|
c = !1;
|
|
5165
5186
|
else {
|
|
5166
|
-
if (
|
|
5187
|
+
if (g === "[")
|
|
5167
5188
|
d = !0;
|
|
5168
|
-
else if (
|
|
5189
|
+
else if (g === "]" && d)
|
|
5169
5190
|
d = !1;
|
|
5170
|
-
else if (
|
|
5191
|
+
else if (g === "/" && !d)
|
|
5171
5192
|
break;
|
|
5172
|
-
c =
|
|
5193
|
+
c = g === "\\";
|
|
5173
5194
|
}
|
|
5174
5195
|
++a;
|
|
5175
5196
|
}
|
|
5176
5197
|
var C = t.slice(y, a);
|
|
5177
5198
|
++a;
|
|
5178
|
-
var w =
|
|
5199
|
+
var w = Kr();
|
|
5179
5200
|
w && !/^[gmi]*$/.test(w) && k(y, "Invalid regexp flag");
|
|
5180
5201
|
try {
|
|
5181
5202
|
var A = new RegExp(C, w);
|
|
5182
5203
|
} catch (U) {
|
|
5183
5204
|
throw U instanceof SyntaxError && k(y, U.message), U;
|
|
5184
5205
|
}
|
|
5185
|
-
V(
|
|
5206
|
+
V(_r, A);
|
|
5186
5207
|
}
|
|
5187
5208
|
function je(c, d) {
|
|
5188
|
-
for (var y = a,
|
|
5209
|
+
for (var y = a, g = 0, C = d === void 0 ? 1 / 0 : d, w = 0; w < C; ++w) {
|
|
5189
5210
|
var A = t.charCodeAt(a), U;
|
|
5190
5211
|
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;
|
|
5191
|
-
++a,
|
|
5212
|
+
++a, g = g * c + U;
|
|
5192
5213
|
}
|
|
5193
|
-
return a === y || d !== void 0 && a - y !== d ? null :
|
|
5214
|
+
return a === y || d !== void 0 && a - y !== d ? null : g;
|
|
5194
5215
|
}
|
|
5195
|
-
function
|
|
5216
|
+
function ia() {
|
|
5196
5217
|
a += 2;
|
|
5197
5218
|
var c = je(16);
|
|
5198
5219
|
c === null && k(p + 2, "Expected hexadecimal number"), at(t.charCodeAt(a)) && k(a, "Identifier directly after number"), V(Qe, c);
|
|
5199
5220
|
}
|
|
5200
|
-
function
|
|
5201
|
-
var d = a, y = !1,
|
|
5221
|
+
function Hr(c) {
|
|
5222
|
+
var d = a, y = !1, g = t.charCodeAt(a) === 48;
|
|
5202
5223
|
!c && je(10) === null && k(d, "Invalid number"), t.charCodeAt(a) === 46 && (++a, je(10), y = !0);
|
|
5203
5224
|
var C = t.charCodeAt(a);
|
|
5204
5225
|
(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");
|
|
5205
5226
|
var w = t.slice(d, a), A;
|
|
5206
|
-
y ? A = parseFloat(w) : !
|
|
5227
|
+
y ? A = parseFloat(w) : !g || w.length === 1 ? A = parseInt(w, 10) : /[89]/.test(w) || J ? k(d, "Invalid number") : A = parseInt(w, 8), V(Qe, A);
|
|
5207
5228
|
}
|
|
5208
|
-
function
|
|
5229
|
+
function aa(c) {
|
|
5209
5230
|
a++;
|
|
5210
5231
|
for (var d = ""; ; ) {
|
|
5211
5232
|
a >= e && k(p, "Unterminated string constant");
|
|
@@ -5216,11 +5237,11 @@ const Pl = {}, Cl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5216
5237
|
}
|
|
5217
5238
|
if (y === 92) {
|
|
5218
5239
|
y = t.charCodeAt(++a);
|
|
5219
|
-
var
|
|
5220
|
-
for (
|
|
5221
|
-
|
|
5222
|
-
if (
|
|
5223
|
-
J && k(a - 2, "Octal literal in strict mode"), d += String.fromCharCode(parseInt(
|
|
5240
|
+
var g = /^[0-7]+/.exec(t.slice(a, a + 3));
|
|
5241
|
+
for (g && (g = g[0]); g && parseInt(g, 8) > 255; )
|
|
5242
|
+
g = g.slice(0, -1);
|
|
5243
|
+
if (g === "0" && (g = null), ++a, g)
|
|
5244
|
+
J && k(a - 2, "Octal literal in strict mode"), d += String.fromCharCode(parseInt(g, 8)), a += g.length - 1;
|
|
5224
5245
|
else
|
|
5225
5246
|
switch (y) {
|
|
5226
5247
|
case 110:
|
|
@@ -5272,53 +5293,53 @@ const Pl = {}, Cl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5272
5293
|
return d === null && k(p, "Bad character escape sequence"), /** @type {number} */
|
|
5273
5294
|
d;
|
|
5274
5295
|
}
|
|
5275
|
-
var
|
|
5276
|
-
function
|
|
5277
|
-
|
|
5296
|
+
var xe;
|
|
5297
|
+
function Kr() {
|
|
5298
|
+
xe = !1;
|
|
5278
5299
|
for (var c, d = !0, y = a; ; ) {
|
|
5279
|
-
var
|
|
5280
|
-
if (
|
|
5281
|
-
|
|
5282
|
-
else if (
|
|
5283
|
-
|
|
5300
|
+
var g = t.charCodeAt(a);
|
|
5301
|
+
if (Wr(g))
|
|
5302
|
+
xe && (c += t.charAt(a)), ++a;
|
|
5303
|
+
else if (g === 92) {
|
|
5304
|
+
xe || (c = t.slice(y, a)), xe = !0, t.charCodeAt(++a) !== 117 && k(a, "Expecting Unicode escape sequence \\uXXXX"), ++a;
|
|
5284
5305
|
var C = ot(4), w = String.fromCharCode(C);
|
|
5285
|
-
w || k(a - 1, "Invalid Unicode escape"), (d ? at(C) :
|
|
5306
|
+
w || k(a - 1, "Invalid Unicode escape"), (d ? at(C) : Wr(C)) || k(a - 4, "Invalid Unicode escape"), c += w;
|
|
5286
5307
|
} else
|
|
5287
5308
|
break;
|
|
5288
5309
|
d = !1;
|
|
5289
5310
|
}
|
|
5290
|
-
return
|
|
5311
|
+
return xe ? c : t.slice(y, a);
|
|
5291
5312
|
}
|
|
5292
|
-
function
|
|
5293
|
-
var c =
|
|
5294
|
-
!
|
|
5313
|
+
function qr() {
|
|
5314
|
+
var c = Kr(), d = Te;
|
|
5315
|
+
!xe && Gi(c) && (d = ki[c]), V(d, c);
|
|
5295
5316
|
}
|
|
5296
5317
|
function D() {
|
|
5297
|
-
Le = p, q = v,
|
|
5318
|
+
Le = p, q = v, Oe = S, Se();
|
|
5298
5319
|
}
|
|
5299
5320
|
function Lt(c) {
|
|
5300
5321
|
if (J = c, a = p, r.locations)
|
|
5301
5322
|
for (; a < W; )
|
|
5302
5323
|
W = t.lastIndexOf(`
|
|
5303
5324
|
`, W - 2) + 1, --L;
|
|
5304
|
-
Ue(),
|
|
5325
|
+
Ue(), Se();
|
|
5305
5326
|
}
|
|
5306
|
-
function
|
|
5327
|
+
function Zr() {
|
|
5307
5328
|
this.type = null, this.start = p, this.end = null;
|
|
5308
5329
|
}
|
|
5309
|
-
function
|
|
5330
|
+
function Qr() {
|
|
5310
5331
|
this.start = E, this.end = null, i && (this.source = i);
|
|
5311
5332
|
}
|
|
5312
|
-
function
|
|
5313
|
-
var c = new
|
|
5314
|
-
return r.locations && (c.loc = new
|
|
5333
|
+
function z() {
|
|
5334
|
+
var c = new Zr();
|
|
5335
|
+
return r.locations && (c.loc = new Qr()), r.directSourceFile && (c.sourceFile = r.directSourceFile), r.ranges && (c.range = [p, 0]), c;
|
|
5315
5336
|
}
|
|
5316
5337
|
function se(c) {
|
|
5317
|
-
var d = new
|
|
5318
|
-
return d.start = c.start, r.locations && (d.loc = new
|
|
5338
|
+
var d = new Zr();
|
|
5339
|
+
return d.start = c.start, r.locations && (d.loc = new Qr(), d.loc.start = c.loc.start), r.ranges && (d.range = [c.range[0], 0]), d;
|
|
5319
5340
|
}
|
|
5320
5341
|
function P(c, d) {
|
|
5321
|
-
return c.type = d, c.end = q, r.locations && (c.loc.end =
|
|
5342
|
+
return c.type = d, c.end = q, r.locations && (c.loc.end = Oe), r.ranges && (c.range[1] = q), c;
|
|
5322
5343
|
}
|
|
5323
5344
|
function Ft(c) {
|
|
5324
5345
|
return c.type === "ExpressionStatement" && c.expression.type === "Literal" && c.expression.value === "use strict";
|
|
@@ -5327,270 +5348,270 @@ const Pl = {}, Cl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5327
5348
|
return O === c ? (D(), !0) : !1;
|
|
5328
5349
|
}
|
|
5329
5350
|
function ut() {
|
|
5330
|
-
return !r.strictSemicolons && (O === Nt || O ===
|
|
5351
|
+
return !r.strictSemicolons && (O === Nt || O === Ne || nt.test(t.slice(q, p)));
|
|
5331
5352
|
}
|
|
5332
|
-
function
|
|
5333
|
-
!j(
|
|
5353
|
+
function me() {
|
|
5354
|
+
!j(ne) && !ut() && ie();
|
|
5334
5355
|
}
|
|
5335
5356
|
function $(c) {
|
|
5336
|
-
O === c ? D() :
|
|
5357
|
+
O === c ? D() : ie();
|
|
5337
5358
|
}
|
|
5338
|
-
function
|
|
5359
|
+
function ie() {
|
|
5339
5360
|
k(p, "Unexpected token");
|
|
5340
5361
|
}
|
|
5341
5362
|
function st(c) {
|
|
5342
5363
|
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");
|
|
5343
5364
|
}
|
|
5344
|
-
function
|
|
5345
|
-
Le = q = a, r.locations && (
|
|
5346
|
-
var d = c ||
|
|
5365
|
+
function oa(c) {
|
|
5366
|
+
Le = q = a, r.locations && (Oe = new ye()), he = J = !1, B = [], Se();
|
|
5367
|
+
var d = c || z(), y = !0;
|
|
5347
5368
|
for (c || (d.body = []); O !== Nt; ) {
|
|
5348
|
-
var
|
|
5349
|
-
d.body.push(
|
|
5369
|
+
var g = Z();
|
|
5370
|
+
d.body.push(g), y && Ft(g) && Lt(!0), y = !1;
|
|
5350
5371
|
}
|
|
5351
5372
|
return P(d, "Program");
|
|
5352
5373
|
}
|
|
5353
|
-
var Mt = { kind: "loop" },
|
|
5374
|
+
var Mt = { kind: "loop" }, ua = { kind: "switch" };
|
|
5354
5375
|
function Z() {
|
|
5355
|
-
(O ===
|
|
5356
|
-
var c = O, d =
|
|
5376
|
+
(O === jr || O === ve && x === "/=") && Se(!0);
|
|
5377
|
+
var c = O, d = z();
|
|
5357
5378
|
switch (c) {
|
|
5358
5379
|
case St:
|
|
5359
|
-
case
|
|
5380
|
+
case br:
|
|
5360
5381
|
D();
|
|
5361
5382
|
var y = c === St;
|
|
5362
|
-
j(
|
|
5363
|
-
for (var
|
|
5364
|
-
var C = B[
|
|
5383
|
+
j(ne) || ut() ? d.label = null : O !== Te ? ie() : (d.label = le(), me());
|
|
5384
|
+
for (var g = 0; g < B.length; ++g) {
|
|
5385
|
+
var C = B[g];
|
|
5365
5386
|
if ((d.label === null || C.name === d.label.name) && (C.kind !== null && (y || C.kind === "loop") || d.label && y))
|
|
5366
5387
|
break;
|
|
5367
5388
|
}
|
|
5368
|
-
return
|
|
5369
|
-
case
|
|
5370
|
-
return D(),
|
|
5371
|
-
case
|
|
5372
|
-
return D(), B.push(Mt), d.body = Z(), B.pop(), $(At), d.test = Be(),
|
|
5373
|
-
case
|
|
5374
|
-
if (D(), B.push(Mt), $(
|
|
5389
|
+
return g === B.length && k(d.start, "Unsyntactic " + c.keyword), P(d, y ? "BreakStatement" : "ContinueStatement");
|
|
5390
|
+
case Er:
|
|
5391
|
+
return D(), me(), P(d, "DebuggerStatement");
|
|
5392
|
+
case Or:
|
|
5393
|
+
return D(), B.push(Mt), d.body = Z(), B.pop(), $(At), d.test = Be(), me(), P(d, "DoWhileStatement");
|
|
5394
|
+
case Sr:
|
|
5395
|
+
if (D(), B.push(Mt), $(re), O === ne) return Ut(d, null);
|
|
5375
5396
|
if (O === Ct) {
|
|
5376
|
-
var w =
|
|
5377
|
-
return D(),
|
|
5397
|
+
var w = z();
|
|
5398
|
+
return D(), tn(w, !0), P(w, "VariableDeclaration"), w.declarations.length === 1 && j(et) ? en(d, w) : Ut(d, w);
|
|
5378
5399
|
}
|
|
5379
|
-
var w =
|
|
5380
|
-
return j(et) ? (st(w),
|
|
5400
|
+
var w = X(!1, !0);
|
|
5401
|
+
return j(et) ? (st(w), en(d, w)) : Ut(d, w);
|
|
5381
5402
|
case wt:
|
|
5382
5403
|
return D(), Gt(d, !0);
|
|
5383
|
-
case Sr:
|
|
5384
|
-
return D(), d.test = Be(), d.consequent = Z(), d.alternate = j(Or) ? Z() : null, P(d, "IfStatement");
|
|
5385
5404
|
case xr:
|
|
5386
|
-
return
|
|
5405
|
+
return D(), d.test = Be(), d.consequent = Z(), d.alternate = j(Tr) ? Z() : null, P(d, "IfStatement");
|
|
5406
|
+
case wr:
|
|
5407
|
+
return !he && !r.allowReturnOutsideFunction && k(p, "'return' outside of function"), D(), j(ne) || ut() ? d.argument = null : (d.argument = X(), me()), P(d, "ReturnStatement");
|
|
5387
5408
|
case Pt:
|
|
5388
|
-
D(), d.discriminant = Be(), d.cases = [], $(Fe), B.push(
|
|
5389
|
-
for (var A, U; O !==
|
|
5390
|
-
if (O === xt || O ===
|
|
5409
|
+
D(), d.discriminant = Be(), d.cases = [], $(Fe), B.push(ua);
|
|
5410
|
+
for (var A, U; O !== Ne; )
|
|
5411
|
+
if (O === xt || O === Rr) {
|
|
5391
5412
|
var Ge = O === xt;
|
|
5392
|
-
A && P(A, "SwitchCase"), d.cases.push(A =
|
|
5413
|
+
A && P(A, "SwitchCase"), d.cases.push(A = z()), A.consequent = [], D(), Ge ? A.test = X() : (U && k(Le, "Multiple default clauses"), U = !0, A.test = null), $(Me);
|
|
5393
5414
|
} else
|
|
5394
|
-
A ||
|
|
5415
|
+
A || ie(), A.consequent.push(Z());
|
|
5395
5416
|
return A && P(A, "SwitchCase"), D(), B.pop(), P(d, "SwitchStatement");
|
|
5396
|
-
case wr:
|
|
5397
|
-
return D(), nt.test(t.slice(q, p)) && k(q, "Illegal newline after throw"), d.argument = z(), ye(), P(d, "ThrowStatement");
|
|
5398
5417
|
case Pr:
|
|
5418
|
+
return D(), nt.test(t.slice(q, p)) && k(q, "Illegal newline after throw"), d.argument = X(), me(), P(d, "ThrowStatement");
|
|
5419
|
+
case Cr:
|
|
5399
5420
|
if (D(), d.block = $e(), d.handler = null, O === gr) {
|
|
5400
|
-
var
|
|
5401
|
-
D(), $(
|
|
5421
|
+
var we = z();
|
|
5422
|
+
D(), $(re), we.param = le(), J && rt(we.param.name) && k(we.param.start, "Binding " + we.param.name + " in strict mode"), $(Q), we.body = $e(), d.handler = P(we, "CatchClause");
|
|
5402
5423
|
}
|
|
5403
|
-
return d.finalizer = j(
|
|
5424
|
+
return d.finalizer = j(Nr) ? $e() : null, !d.handler && !d.finalizer && k(d.start, "Missing catch or finally clause"), P(d, "TryStatement");
|
|
5404
5425
|
case Ct:
|
|
5405
|
-
return D(),
|
|
5426
|
+
return D(), tn(d), me(), P(d, "VariableDeclaration");
|
|
5406
5427
|
case At:
|
|
5407
5428
|
return D(), d.test = Be(), B.push(Mt), d.body = Z(), B.pop(), P(d, "WhileStatement");
|
|
5408
|
-
case
|
|
5429
|
+
case Ar:
|
|
5409
5430
|
return J && k(p, "'with' in strict mode"), D(), d.object = Be(), d.body = Z(), P(d, "WithStatement");
|
|
5410
5431
|
case Fe:
|
|
5411
5432
|
return $e();
|
|
5412
|
-
case
|
|
5433
|
+
case ne:
|
|
5413
5434
|
return D(), P(d, "EmptyStatement");
|
|
5414
5435
|
default:
|
|
5415
|
-
var zt = x, lt =
|
|
5416
|
-
if (c ===
|
|
5417
|
-
for (var
|
|
5418
|
-
B[
|
|
5419
|
-
var
|
|
5420
|
-
return B.push({ name: zt, kind:
|
|
5436
|
+
var zt = x, lt = X();
|
|
5437
|
+
if (c === Te && lt.type === "Identifier" && j(Me)) {
|
|
5438
|
+
for (var g = 0; g < B.length; ++g)
|
|
5439
|
+
B[g].name === zt && k(lt.start, "Label '" + zt + "' is already declared");
|
|
5440
|
+
var da = O.isLoop ? "loop" : O === Pt ? "switch" : null;
|
|
5441
|
+
return B.push({ name: zt, kind: da }), d.body = Z(), B.pop(), d.label = lt, P(d, "LabeledStatement");
|
|
5421
5442
|
} else
|
|
5422
|
-
return d.expression = lt,
|
|
5443
|
+
return d.expression = lt, me(), P(d, "ExpressionStatement");
|
|
5423
5444
|
}
|
|
5424
5445
|
}
|
|
5425
5446
|
function Be() {
|
|
5426
|
-
$(
|
|
5427
|
-
var c =
|
|
5447
|
+
$(re);
|
|
5448
|
+
var c = X();
|
|
5428
5449
|
return $(Q), c;
|
|
5429
5450
|
}
|
|
5430
5451
|
function $e(c) {
|
|
5431
|
-
var d =
|
|
5432
|
-
for (d.body = [], $(Fe); !j(
|
|
5452
|
+
var d = z(), y = !0, g = !1, C;
|
|
5453
|
+
for (d.body = [], $(Fe); !j(Ne); ) {
|
|
5433
5454
|
var w = Z();
|
|
5434
|
-
d.body.push(w), y && c && Ft(w) && (C =
|
|
5455
|
+
d.body.push(w), y && c && Ft(w) && (C = g, Lt(g = !0)), y = !1;
|
|
5435
5456
|
}
|
|
5436
|
-
return
|
|
5457
|
+
return g && !C && Lt(!1), P(d, "BlockStatement");
|
|
5437
5458
|
}
|
|
5438
5459
|
function Ut(c, d) {
|
|
5439
|
-
return c.init = d, $(
|
|
5440
|
-
}
|
|
5441
|
-
function Qr(c, d) {
|
|
5442
|
-
return c.left = d, c.right = z(), $(Q), c.body = Z(), B.pop(), P(c, "ForInStatement");
|
|
5460
|
+
return c.init = d, $(ne), c.test = O === ne ? null : X(), $(ne), c.update = O === Q ? null : X(), $(Q), c.body = Z(), B.pop(), P(c, "ForStatement");
|
|
5443
5461
|
}
|
|
5444
5462
|
function en(c, d) {
|
|
5463
|
+
return c.left = d, c.right = X(), $(Q), c.body = Z(), B.pop(), P(c, "ForInStatement");
|
|
5464
|
+
}
|
|
5465
|
+
function tn(c, d) {
|
|
5445
5466
|
for (c.declarations = [], c.kind = "var"; ; ) {
|
|
5446
|
-
var y =
|
|
5447
|
-
if (y.id = le(), J && rt(y.id.name) && k(y.id.start, "Binding " + y.id.name + " in strict mode"), y.init = j(
|
|
5467
|
+
var y = z();
|
|
5468
|
+
if (y.id = le(), J && rt(y.id.name) && k(y.id.start, "Binding " + y.id.name + " in strict mode"), y.init = j(Br) ? X(!0, d) : null, c.declarations.push(P(y, "VariableDeclarator")), !j(ue)) break;
|
|
5448
5469
|
}
|
|
5449
5470
|
}
|
|
5450
|
-
function
|
|
5471
|
+
function X(c, d) {
|
|
5451
5472
|
var y = jt(d);
|
|
5452
5473
|
if (!c && O === ue) {
|
|
5453
|
-
var
|
|
5454
|
-
for (
|
|
5455
|
-
return P(
|
|
5474
|
+
var g = se(y);
|
|
5475
|
+
for (g.expressions = [y]; j(ue); ) g.expressions.push(jt(d));
|
|
5476
|
+
return P(g, "SequenceExpression");
|
|
5456
5477
|
}
|
|
5457
5478
|
return y;
|
|
5458
5479
|
}
|
|
5459
5480
|
function jt(c) {
|
|
5460
|
-
var d =
|
|
5481
|
+
var d = sa(c);
|
|
5461
5482
|
if (O.isAssign) {
|
|
5462
5483
|
var y = se(d);
|
|
5463
5484
|
return y.operator = x, y.left = d, D(), y.right = jt(c), st(d), P(y, "AssignmentExpression");
|
|
5464
5485
|
}
|
|
5465
5486
|
return d;
|
|
5466
5487
|
}
|
|
5467
|
-
function
|
|
5468
|
-
var d =
|
|
5469
|
-
if (j(
|
|
5488
|
+
function sa(c) {
|
|
5489
|
+
var d = la(c);
|
|
5490
|
+
if (j(Ur)) {
|
|
5470
5491
|
var y = se(d);
|
|
5471
|
-
return y.test = d, y.consequent =
|
|
5492
|
+
return y.test = d, y.consequent = X(!0), $(Me), y.alternate = X(!0, c), P(y, "ConditionalExpression");
|
|
5472
5493
|
}
|
|
5473
5494
|
return d;
|
|
5474
5495
|
}
|
|
5475
|
-
function
|
|
5496
|
+
function la(c) {
|
|
5476
5497
|
return Bt($t(), -1, c);
|
|
5477
5498
|
}
|
|
5478
5499
|
function Bt(c, d, y) {
|
|
5479
|
-
var
|
|
5480
|
-
if (
|
|
5500
|
+
var g = O.binop;
|
|
5501
|
+
if (g !== null && (!y || O !== et) && g > d) {
|
|
5481
5502
|
var C = se(c);
|
|
5482
5503
|
C.left = c, C.operator = x;
|
|
5483
5504
|
var w = O;
|
|
5484
|
-
D(), C.right = Bt($t(),
|
|
5485
|
-
var A = P(C, w ===
|
|
5505
|
+
D(), C.right = Bt($t(), g, y);
|
|
5506
|
+
var A = P(C, w === Vr || w === Gr ? "LogicalExpression" : "BinaryExpression");
|
|
5486
5507
|
return Bt(A, d, y);
|
|
5487
5508
|
}
|
|
5488
5509
|
return c;
|
|
5489
5510
|
}
|
|
5490
5511
|
function $t() {
|
|
5491
5512
|
if (O.prefix) {
|
|
5492
|
-
var c =
|
|
5513
|
+
var c = z(), d = O.isUpdate;
|
|
5493
5514
|
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");
|
|
5494
5515
|
}
|
|
5495
|
-
for (var y =
|
|
5516
|
+
for (var y = ca(); O.postfix && !ut(); ) {
|
|
5496
5517
|
var c = se(y);
|
|
5497
5518
|
c.operator = x, c.prefix = !1, c.argument = y, st(y), D(), y = P(c, "UpdateExpression");
|
|
5498
5519
|
}
|
|
5499
5520
|
return y;
|
|
5500
5521
|
}
|
|
5501
|
-
function
|
|
5522
|
+
function ca() {
|
|
5502
5523
|
return Ve(Vt());
|
|
5503
5524
|
}
|
|
5504
5525
|
function Ve(c, d) {
|
|
5505
5526
|
var y;
|
|
5506
|
-
return j(
|
|
5527
|
+
return j(Mr) ? (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 = X(), y.computed = !0, $(It), Ve(P(y, "MemberExpression"), d)) : !d && j(re) ? (y = se(c), y.callee = c, y.arguments = Yt(Q, !1), Ve(P(y, "CallExpression"), d)) : c;
|
|
5507
5528
|
}
|
|
5508
5529
|
function Vt() {
|
|
5509
5530
|
var c;
|
|
5510
5531
|
switch (O) {
|
|
5511
|
-
case
|
|
5512
|
-
return c =
|
|
5513
|
-
case
|
|
5532
|
+
case Ir:
|
|
5533
|
+
return c = z(), D(), P(c, "ThisExpression");
|
|
5534
|
+
case Te:
|
|
5514
5535
|
return le();
|
|
5515
5536
|
case Qe:
|
|
5516
5537
|
case Tt:
|
|
5517
|
-
case
|
|
5518
|
-
return c =
|
|
5519
|
-
case Ir:
|
|
5538
|
+
case _r:
|
|
5539
|
+
return c = z(), c.value = x, c.raw = t.slice(p, v), D(), P(c, "Literal");
|
|
5520
5540
|
case Dr:
|
|
5521
5541
|
case Lr:
|
|
5522
|
-
|
|
5523
|
-
|
|
5542
|
+
case Fr:
|
|
5543
|
+
return c = z(), c.value = O.atomValue, c.raw = O.keyword, D(), P(c, "Literal");
|
|
5544
|
+
case re:
|
|
5524
5545
|
var d = E, y = p;
|
|
5525
5546
|
D();
|
|
5526
|
-
var
|
|
5527
|
-
return
|
|
5547
|
+
var g = X();
|
|
5548
|
+
return g.start = y, g.end = v, r.locations && (g.loc.start = d, g.loc.end = S), r.ranges && (g.range = [y, v]), $(Q), g;
|
|
5528
5549
|
case kt:
|
|
5529
|
-
return c =
|
|
5550
|
+
return c = z(), D(), c.elements = Yt(It, !0, !0), P(c, "ArrayExpression");
|
|
5530
5551
|
case Fe:
|
|
5531
|
-
return
|
|
5552
|
+
return pa();
|
|
5532
5553
|
case wt:
|
|
5533
|
-
return c =
|
|
5534
|
-
case
|
|
5535
|
-
return
|
|
5554
|
+
return c = z(), D(), Gt(c, !1);
|
|
5555
|
+
case kr:
|
|
5556
|
+
return fa();
|
|
5536
5557
|
}
|
|
5537
|
-
|
|
5538
|
-
}
|
|
5539
|
-
function ca() {
|
|
5540
|
-
var c = Y();
|
|
5541
|
-
return D(), c.callee = Ve(Vt(), !0), c.arguments = j(te) ? Yt(Q, !1) : Ci, P(c, "NewExpression");
|
|
5558
|
+
ie();
|
|
5542
5559
|
}
|
|
5543
5560
|
function fa() {
|
|
5544
|
-
var c =
|
|
5545
|
-
|
|
5561
|
+
var c = z();
|
|
5562
|
+
return D(), c.callee = Ve(Vt(), !0), c.arguments = j(re) ? Yt(Q, !1) : Ai, P(c, "NewExpression");
|
|
5563
|
+
}
|
|
5564
|
+
function pa() {
|
|
5565
|
+
var c = z(), d = !0, y = !1;
|
|
5566
|
+
for (c.properties = [], D(); !j(Ne); ) {
|
|
5546
5567
|
if (d)
|
|
5547
5568
|
d = !1;
|
|
5548
|
-
else if ($(ue), r.allowTrailingCommas && j(
|
|
5569
|
+
else if ($(ue), r.allowTrailingCommas && j(Ne))
|
|
5549
5570
|
break;
|
|
5550
|
-
var
|
|
5551
|
-
if (j(Me) ? (
|
|
5571
|
+
var g = { key: rn() }, C = !1, w;
|
|
5572
|
+
if (j(Me) ? (g.value = X(!0), w = g.kind = "init") : g.key.type === "Identifier" && (g.key.name === "get" || g.key.name === "set") ? (C = y = !0, w = g.kind = g.key.name, g.key = rn(), O !== re && ie(), g.value = Gt(z(), !1)) : ie(), g.key.type === "Identifier" && (J || y))
|
|
5552
5573
|
for (var A = 0; A < c.properties.length; ++A) {
|
|
5553
5574
|
var U = c.properties[A];
|
|
5554
|
-
if (U.key.name ===
|
|
5575
|
+
if (U.key.name === g.key.name) {
|
|
5555
5576
|
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(
|
|
5577
|
+
Ge && !J && w === "init" && U.kind === "init" && (Ge = !1), Ge && k(g.key.start, "Redefinition of property");
|
|
5557
5578
|
}
|
|
5558
5579
|
}
|
|
5559
|
-
c.properties.push(
|
|
5580
|
+
c.properties.push(g);
|
|
5560
5581
|
}
|
|
5561
5582
|
return P(c, "ObjectExpression");
|
|
5562
5583
|
}
|
|
5563
|
-
function
|
|
5584
|
+
function rn() {
|
|
5564
5585
|
return O === Qe || O === Tt ? Vt() : le(!0);
|
|
5565
5586
|
}
|
|
5566
5587
|
function Gt(c, d) {
|
|
5567
|
-
O ===
|
|
5588
|
+
O === Te ? c.id = le() : d ? ie() : c.id = null, c.params = [];
|
|
5568
5589
|
var y = !0;
|
|
5569
|
-
for ($(
|
|
5590
|
+
for ($(re); !j(Q); )
|
|
5570
5591
|
y ? y = !1 : $(ue), c.params.push(le());
|
|
5571
|
-
var
|
|
5572
|
-
if (
|
|
5592
|
+
var g = he, C = B;
|
|
5593
|
+
if (he = !0, B = [], c.body = $e(!0), he = g, B = C, J || c.body.body.length && Ft(c.body.body[0]))
|
|
5573
5594
|
for (var w = c.id ? -1 : 0; w < c.params.length; ++w) {
|
|
5574
5595
|
var A = w < 0 ? c.id : c.params[w];
|
|
5575
|
-
if ((
|
|
5596
|
+
if ((Yr(A.name) || rt(A.name)) && k(A.start, "Defining '" + A.name + "' in strict mode"), w >= 0)
|
|
5576
5597
|
for (var U = 0; U < w; ++U)
|
|
5577
5598
|
A.name === c.params[U].name && k(A.start, "Argument name clash in strict mode");
|
|
5578
5599
|
}
|
|
5579
5600
|
return P(c, d ? "FunctionDeclaration" : "FunctionExpression");
|
|
5580
5601
|
}
|
|
5581
5602
|
function Yt(c, d, y) {
|
|
5582
|
-
for (var
|
|
5603
|
+
for (var g = [], C = !0; !j(c); ) {
|
|
5583
5604
|
if (C)
|
|
5584
5605
|
C = !1;
|
|
5585
5606
|
else if ($(ue), d && r.allowTrailingCommas && j(c))
|
|
5586
5607
|
break;
|
|
5587
|
-
|
|
5608
|
+
g.push(y && O === ue ? null : X(!0));
|
|
5588
5609
|
}
|
|
5589
|
-
return
|
|
5610
|
+
return g;
|
|
5590
5611
|
}
|
|
5591
5612
|
function le(c) {
|
|
5592
|
-
var d =
|
|
5593
|
-
return c && r.forbidReserved === "everywhere" && (c = !1), O ===
|
|
5613
|
+
var d = z();
|
|
5614
|
+
return c && r.forbidReserved === "everywhere" && (c = !1), O === Te ? (!c && (r.forbidReserved && Vi(x) || J && Yr(x)) && t.slice(p, v).indexOf("\\") === -1 && k(p, "The keyword '" + x + "' is reserved"), d.name = x) : c && O.keyword ? d.name = O.keyword : ie(), I = !1, D(), P(d, "Identifier");
|
|
5594
5615
|
}
|
|
5595
5616
|
});
|
|
5596
5617
|
}
|
|
@@ -5602,12 +5623,12 @@ const Pl = {}, Cl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5602
5623
|
\*********************/
|
|
5603
5624
|
/***/
|
|
5604
5625
|
(m) => {
|
|
5605
|
-
m.exports =
|
|
5626
|
+
m.exports = Ml;
|
|
5606
5627
|
}
|
|
5607
5628
|
)
|
|
5608
5629
|
/******/
|
|
5609
5630
|
}, h = {};
|
|
5610
|
-
function
|
|
5631
|
+
function _(m) {
|
|
5611
5632
|
var T = h[m];
|
|
5612
5633
|
if (T !== void 0)
|
|
5613
5634
|
return T.exports;
|
|
@@ -5620,12 +5641,12 @@ const Pl = {}, Cl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5620
5641
|
exports: {}
|
|
5621
5642
|
/******/
|
|
5622
5643
|
};
|
|
5623
|
-
return f[m].call(R.exports, R, R.exports,
|
|
5644
|
+
return f[m].call(R.exports, R, R.exports, _), R.exports;
|
|
5624
5645
|
}
|
|
5625
|
-
|
|
5646
|
+
_.d = (m, T) => {
|
|
5626
5647
|
for (var R in T)
|
|
5627
|
-
|
|
5628
|
-
},
|
|
5648
|
+
_.o(T, R) && !_.o(m, R) && Object.defineProperty(m, R, { enumerable: !0, get: T[R] });
|
|
5649
|
+
}, _.o = (m, T) => Object.prototype.hasOwnProperty.call(m, T), _.r = (m) => {
|
|
5629
5650
|
typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(m, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(m, "__esModule", { value: !0 });
|
|
5630
5651
|
};
|
|
5631
5652
|
var b = {};
|
|
@@ -5633,27 +5654,27 @@ const Pl = {}, Cl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5633
5654
|
/*!*******************************!*\
|
|
5634
5655
|
!*** ./src/js-interpreter.js ***!
|
|
5635
5656
|
\*******************************/
|
|
5636
|
-
|
|
5657
|
+
_.r(b), _.d(b, {
|
|
5637
5658
|
/* harmony export */
|
|
5638
5659
|
default: () => R
|
|
5639
5660
|
/* harmony export */
|
|
5640
5661
|
});
|
|
5641
|
-
const m =
|
|
5662
|
+
const m = _(
|
|
5642
5663
|
/*! ../original-repo/acorn */
|
|
5643
5664
|
"./original-repo/acorn.js"
|
|
5644
5665
|
);
|
|
5645
5666
|
globalThis.acorn = m;
|
|
5646
|
-
const { Interpreter: T } =
|
|
5667
|
+
const { Interpreter: T } = _(
|
|
5647
5668
|
/*! ../original-repo/interpreter */
|
|
5648
5669
|
"./original-repo/interpreter.js"
|
|
5649
5670
|
), R = T;
|
|
5650
5671
|
})(), b = b.default, b;
|
|
5651
5672
|
})()
|
|
5652
5673
|
));
|
|
5653
|
-
})(
|
|
5654
|
-
var
|
|
5655
|
-
const
|
|
5656
|
-
function
|
|
5674
|
+
})(wi);
|
|
5675
|
+
var Ul = wi.exports;
|
|
5676
|
+
const jl = /* @__PURE__ */ Il(Ul);
|
|
5677
|
+
function Bl(n, o) {
|
|
5657
5678
|
function f(T) {
|
|
5658
5679
|
const R = n.pseudoToNative(T);
|
|
5659
5680
|
console.log(R);
|
|
@@ -5661,11 +5682,11 @@ function Dl(n, o) {
|
|
|
5661
5682
|
function h(T) {
|
|
5662
5683
|
const R = n.pseudoToNative(T);
|
|
5663
5684
|
let r = "";
|
|
5664
|
-
typeof R == "object" ? r = JSON.stringify(R) : r = String(R),
|
|
5685
|
+
typeof R == "object" ? r = JSON.stringify(R) : r = String(R), $n.emit("consoleAppend", r);
|
|
5665
5686
|
}
|
|
5666
|
-
function
|
|
5687
|
+
function _(T, R) {
|
|
5667
5688
|
const r = n.pseudoToNative(T), t = n.pseudoToNative(R);
|
|
5668
|
-
r === "info" ?
|
|
5689
|
+
r === "info" ? Ea(t) : r === "success" ? Ra(t) : r === "warning" ? Oa(t) : r === "error" && Ta(t);
|
|
5669
5690
|
}
|
|
5670
5691
|
function b(T, R) {
|
|
5671
5692
|
const r = n.pseudoToNative(T), t = n.pseudoToNative(R);
|
|
@@ -5690,7 +5711,7 @@ function Dl(n, o) {
|
|
|
5690
5711
|
), n.setProperty(
|
|
5691
5712
|
o,
|
|
5692
5713
|
"__messageV1__",
|
|
5693
|
-
n.createNativeFunction(
|
|
5714
|
+
n.createNativeFunction(_)
|
|
5694
5715
|
), n.setProperty(
|
|
5695
5716
|
o,
|
|
5696
5717
|
"__timeoutV1__",
|
|
@@ -5701,14 +5722,14 @@ function Dl(n, o) {
|
|
|
5701
5722
|
n.createAsyncFunction(m)
|
|
5702
5723
|
);
|
|
5703
5724
|
}
|
|
5704
|
-
class
|
|
5725
|
+
class $l {
|
|
5705
5726
|
constructor(o) {
|
|
5706
5727
|
Xt(this, "context");
|
|
5707
5728
|
Xt(this, "nodes");
|
|
5708
5729
|
this.context = o, this.nodes = {};
|
|
5709
5730
|
const f = (h) => {
|
|
5710
|
-
var
|
|
5711
|
-
this.nodes[h.basic.id] = h, (
|
|
5731
|
+
var _;
|
|
5732
|
+
this.nodes[h.basic.id] = h, (_ = h.children) == null || _.forEach((b) => f(b));
|
|
5712
5733
|
};
|
|
5713
5734
|
this.context.data.view.nodes.forEach((h) => f(h));
|
|
5714
5735
|
}
|
|
@@ -5716,35 +5737,35 @@ class Ll {
|
|
|
5716
5737
|
return this.nodes[o];
|
|
5717
5738
|
}
|
|
5718
5739
|
addNode(o, f, h) {
|
|
5719
|
-
const
|
|
5740
|
+
const _ = `parent=${o} ref=${f} keyOrRefid=${h}`;
|
|
5720
5741
|
let b;
|
|
5721
5742
|
if (o) {
|
|
5722
5743
|
const T = this.getNode(o);
|
|
5723
5744
|
if (!T)
|
|
5724
|
-
return console.error(`NodeMgr/addNode parent not found, ${
|
|
5745
|
+
return console.error(`NodeMgr/addNode parent not found, ${_}`), "";
|
|
5725
5746
|
if (!T.children)
|
|
5726
|
-
return console.error(`NodeMgr/addNode parent no children, ${
|
|
5747
|
+
return console.error(`NodeMgr/addNode parent no children, ${_}`), "";
|
|
5727
5748
|
b = T.children;
|
|
5728
5749
|
} else
|
|
5729
5750
|
b = this.context.data.view.nodes;
|
|
5730
5751
|
if (!b)
|
|
5731
5752
|
return "";
|
|
5732
|
-
const m =
|
|
5753
|
+
const m = il(
|
|
5733
5754
|
this.context.type,
|
|
5734
5755
|
this.context.data.type,
|
|
5735
5756
|
this.context.data.version,
|
|
5736
5757
|
f,
|
|
5737
5758
|
h
|
|
5738
5759
|
);
|
|
5739
|
-
return m ? (b.push(m), this.nodes[m.basic.id] = m, m.basic.id) : (console.error(`NodeMgr/addNode spawn node failed, ${
|
|
5760
|
+
return m ? (b.push(m), this.nodes[m.basic.id] = m, m.basic.id) : (console.error(`NodeMgr/addNode spawn node failed, ${_}`), "");
|
|
5740
5761
|
}
|
|
5741
5762
|
deleteNode(o) {
|
|
5742
5763
|
this.getNode(o);
|
|
5743
5764
|
}
|
|
5744
5765
|
}
|
|
5745
|
-
function
|
|
5746
|
-
const h = new
|
|
5747
|
-
function
|
|
5766
|
+
function Vl(n, o, f) {
|
|
5767
|
+
const h = new $l(n);
|
|
5768
|
+
function _(t, e, i) {
|
|
5748
5769
|
const u = o.pseudoToNative(t), s = o.pseudoToNative(e), l = o.pseudoToNative(i), a = h.addNode(u, s, l);
|
|
5749
5770
|
return o.nativeToPseudo(a);
|
|
5750
5771
|
}
|
|
@@ -5764,10 +5785,11 @@ function Fl(n, o, f) {
|
|
|
5764
5785
|
const E = a[v];
|
|
5765
5786
|
if (v === p - 1)
|
|
5766
5787
|
return o.nativeToPseudo(l[E]);
|
|
5767
|
-
if (
|
|
5788
|
+
if (!l) {
|
|
5768
5789
|
console.error(`getNodePropV1 unpkg failed, ${s}`);
|
|
5769
5790
|
return;
|
|
5770
5791
|
}
|
|
5792
|
+
l = l[E];
|
|
5771
5793
|
}
|
|
5772
5794
|
}
|
|
5773
5795
|
function T(t, e, i) {
|
|
@@ -5782,28 +5804,31 @@ function Fl(n, o, f) {
|
|
|
5782
5804
|
const O = v[S];
|
|
5783
5805
|
if (S === E - 1)
|
|
5784
5806
|
p[O] = l;
|
|
5785
|
-
else
|
|
5786
|
-
|
|
5787
|
-
|
|
5807
|
+
else {
|
|
5808
|
+
if (!p) {
|
|
5809
|
+
console.error(`setNodePropV1 unpkg failed, ${a}`);
|
|
5810
|
+
return;
|
|
5811
|
+
}
|
|
5812
|
+
p = p[O];
|
|
5788
5813
|
}
|
|
5789
5814
|
}
|
|
5790
5815
|
}
|
|
5791
5816
|
function R(t, e, i) {
|
|
5792
5817
|
const u = o.pseudoToNative(t), s = o.pseudoToNative(e);
|
|
5793
|
-
|
|
5818
|
+
Na({ title: u, text: s }).then((l) => {
|
|
5794
5819
|
i(o.nativeToPseudo(l)), o.run();
|
|
5795
5820
|
});
|
|
5796
5821
|
}
|
|
5797
5822
|
function r(t, e, i, u) {
|
|
5798
5823
|
const s = o.pseudoToNative(t), l = o.pseudoToNative(e), a = o.pseudoToNative(i);
|
|
5799
|
-
|
|
5824
|
+
Sa({ title: s, label: l, value: a }).then((p) => {
|
|
5800
5825
|
u(o.nativeToPseudo(p)), o.run();
|
|
5801
5826
|
});
|
|
5802
5827
|
}
|
|
5803
5828
|
o.setProperty(
|
|
5804
5829
|
f,
|
|
5805
5830
|
"__addNodeV1__",
|
|
5806
|
-
o.createNativeFunction(
|
|
5831
|
+
o.createNativeFunction(_)
|
|
5807
5832
|
), o.setProperty(
|
|
5808
5833
|
f,
|
|
5809
5834
|
"__deleteNodeV1__",
|
|
@@ -5826,16 +5851,16 @@ function Fl(n, o, f) {
|
|
|
5826
5851
|
o.createAsyncFunction(r)
|
|
5827
5852
|
);
|
|
5828
5853
|
}
|
|
5829
|
-
function
|
|
5830
|
-
|
|
5854
|
+
function Gl(n, o, f) {
|
|
5855
|
+
Bl(o, f), Vl(n, o, f);
|
|
5831
5856
|
}
|
|
5832
|
-
const
|
|
5857
|
+
const Yl = `
|
|
5833
5858
|
var __env__ = 'dev'
|
|
5834
5859
|
|
|
5835
5860
|
function __getEnvV1__() {
|
|
5836
5861
|
return __env__
|
|
5837
5862
|
}
|
|
5838
|
-
`,
|
|
5863
|
+
`, zl = `
|
|
5839
5864
|
var __events__ = {}
|
|
5840
5865
|
|
|
5841
5866
|
function __addEventListenerV1__(id, event, callback) {
|
|
@@ -5906,7 +5931,7 @@ function __triggerEvent__(id, event, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p1
|
|
|
5906
5931
|
callbacks[i](p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16)
|
|
5907
5932
|
}
|
|
5908
5933
|
}
|
|
5909
|
-
`,
|
|
5934
|
+
`, Xl = `
|
|
5910
5935
|
var __timers__ = {}
|
|
5911
5936
|
var __currTimerId__ = 0
|
|
5912
5937
|
|
|
@@ -5948,15 +5973,15 @@ function __timeoutCallbackV1__(timerId) {
|
|
|
5948
5973
|
}
|
|
5949
5974
|
}
|
|
5950
5975
|
}
|
|
5951
|
-
`,
|
|
5976
|
+
`, Wl = `
|
|
5952
5977
|
function __destroy__() {
|
|
5953
5978
|
}
|
|
5954
|
-
`,
|
|
5955
|
-
function
|
|
5956
|
-
const f = new
|
|
5957
|
-
|
|
5958
|
-
(h,
|
|
5959
|
-
|
|
5979
|
+
`, Jl = Yl + zl + Xl + Wl;
|
|
5980
|
+
function Hl(n, o) {
|
|
5981
|
+
const f = new jl(
|
|
5982
|
+
Jl,
|
|
5983
|
+
(h, _) => {
|
|
5984
|
+
Gl(n, h, _);
|
|
5960
5985
|
}
|
|
5961
5986
|
);
|
|
5962
5987
|
return f.appendCode(o), f.appendCode(`
|
|
@@ -5964,10 +5989,10 @@ __env__ = '${n.env}';
|
|
|
5964
5989
|
__triggerEvent__('globality', 'startup');
|
|
5965
5990
|
`), f.run(), f;
|
|
5966
5991
|
}
|
|
5967
|
-
function
|
|
5992
|
+
function Fn(n) {
|
|
5968
5993
|
n.appendCode("__destroy__();"), n.run();
|
|
5969
5994
|
}
|
|
5970
|
-
const
|
|
5995
|
+
const Kl = /* @__PURE__ */ pe({
|
|
5971
5996
|
__name: "index",
|
|
5972
5997
|
props: {
|
|
5973
5998
|
id: {},
|
|
@@ -5976,21 +6001,21 @@ const Yl = /* @__PURE__ */ pe({
|
|
|
5976
6001
|
outer: { type: Boolean }
|
|
5977
6002
|
},
|
|
5978
6003
|
setup(n) {
|
|
5979
|
-
const { t: o } =
|
|
6004
|
+
const { t: o } = ba(), f = n, h = al(), _ = Re(), b = bi(), m = Ei(), T = Ri(), R = ol(), r = N(() => R[f.refContext.refid]);
|
|
5980
6005
|
let t;
|
|
5981
|
-
|
|
5982
|
-
r.value ||
|
|
6006
|
+
_a(() => {
|
|
6007
|
+
r.value || $n.emit("compNotAvail", f.refContext.refid), t && (Fn(t), t = void 0), r.value && _ === "runtime" && (t = Hl(
|
|
5983
6008
|
{
|
|
5984
6009
|
env: h,
|
|
5985
6010
|
type: m,
|
|
5986
6011
|
data: T
|
|
5987
6012
|
},
|
|
5988
6013
|
r.value.data.code.script
|
|
5989
|
-
),
|
|
6014
|
+
), ul(t));
|
|
5990
6015
|
}), ga(() => {
|
|
5991
|
-
t && (
|
|
6016
|
+
t && (Fn(t), t = void 0);
|
|
5992
6017
|
});
|
|
5993
|
-
const { applySize: e } =
|
|
6018
|
+
const { applySize: e } = Si(_, b, f), i = N(() => {
|
|
5994
6019
|
const v = {}, E = T.type;
|
|
5995
6020
|
return m === "page" ? E === "common" ? e(v) : console.assert(!1) : m === "comp" && E === "common" ? e(v) : console.assert(!1), v;
|
|
5996
6021
|
});
|
|
@@ -6008,7 +6033,7 @@ const Yl = /* @__PURE__ */ pe({
|
|
|
6008
6033
|
return v.ref ? E = l(v) : E = a(v), E;
|
|
6009
6034
|
}
|
|
6010
6035
|
function l(v) {
|
|
6011
|
-
const E =
|
|
6036
|
+
const E = Ci[T.version].refKey, S = Ae[E];
|
|
6012
6037
|
let O;
|
|
6013
6038
|
return S ? O = Ye(S.comp, {
|
|
6014
6039
|
refContext: {
|
|
@@ -6021,7 +6046,7 @@ const Yl = /* @__PURE__ */ pe({
|
|
|
6021
6046
|
function a(v) {
|
|
6022
6047
|
var O;
|
|
6023
6048
|
let E;
|
|
6024
|
-
const S =
|
|
6049
|
+
const S = Ae[v.basic.key];
|
|
6025
6050
|
return S ? ((O = v.children) == null || O.forEach((x) => {
|
|
6026
6051
|
s(x);
|
|
6027
6052
|
}), E = Ye(S.comp, { node: v })) : console.assert(!1, `invalid element key=${v.basic.key}`), E;
|
|
@@ -6040,9 +6065,9 @@ const Yl = /* @__PURE__ */ pe({
|
|
|
6040
6065
|
v.push(Ye("div", o("x-runtime-lib.compNotAvail")));
|
|
6041
6066
|
return Ye("div", { id: f.id, style: i.value }, v);
|
|
6042
6067
|
};
|
|
6043
|
-
return (v, E) => (
|
|
6068
|
+
return (v, E) => (H(), de(p));
|
|
6044
6069
|
}
|
|
6045
|
-
}),
|
|
6070
|
+
}), Mn = {
|
|
6046
6071
|
key: "ref",
|
|
6047
6072
|
name: "x-runtime-lib.ref",
|
|
6048
6073
|
children: [
|
|
@@ -6053,25 +6078,25 @@ const Yl = /* @__PURE__ */ pe({
|
|
|
6053
6078
|
default: ""
|
|
6054
6079
|
}
|
|
6055
6080
|
]
|
|
6056
|
-
},
|
|
6057
|
-
key:
|
|
6081
|
+
}, Pi = {
|
|
6082
|
+
key: Ni,
|
|
6058
6083
|
name: "x-runtime-lib.ref",
|
|
6059
|
-
comp:
|
|
6084
|
+
comp: Kl,
|
|
6060
6085
|
leaf: !0,
|
|
6061
6086
|
events: [],
|
|
6062
6087
|
methods: [],
|
|
6063
6088
|
props: {
|
|
6064
|
-
pageCommon: [
|
|
6065
|
-
compCommon: [
|
|
6089
|
+
pageCommon: [Y, Mn, mt, ht, vt, yt],
|
|
6090
|
+
compCommon: [Y, Mn, mt, ht, vt, yt]
|
|
6066
6091
|
}
|
|
6067
|
-
},
|
|
6092
|
+
}, ql = { key: 0 }, Zl = /* @__PURE__ */ pe({
|
|
6068
6093
|
__name: "index",
|
|
6069
6094
|
props: {
|
|
6070
6095
|
node: {},
|
|
6071
6096
|
outer: { type: Boolean }
|
|
6072
6097
|
},
|
|
6073
6098
|
setup(n) {
|
|
6074
|
-
const o = n, f =
|
|
6099
|
+
const o = n, f = Re(), h = De(), _ = N(() => {
|
|
6075
6100
|
var e;
|
|
6076
6101
|
return (e = o.node.settings) == null ? void 0 : e.value;
|
|
6077
6102
|
}), b = N(() => {
|
|
@@ -6091,10 +6116,10 @@ const Yl = /* @__PURE__ */ pe({
|
|
|
6091
6116
|
return f !== "runtime" ? !0 : (e = o.node.settings) == null ? void 0 : e.readonly;
|
|
6092
6117
|
}), t = N(() => h.value ? "dark" : "light");
|
|
6093
6118
|
return (e, i) => {
|
|
6094
|
-
const u =
|
|
6095
|
-
return
|
|
6119
|
+
const u = ge("v-select");
|
|
6120
|
+
return gt(f) === "editor" ? (H(), He("div", ql, [
|
|
6096
6121
|
bt(u, {
|
|
6097
|
-
"model-value":
|
|
6122
|
+
"model-value": _.value,
|
|
6098
6123
|
label: b.value,
|
|
6099
6124
|
placeholder: m.value,
|
|
6100
6125
|
"hide-details": T.value,
|
|
@@ -6102,9 +6127,9 @@ const Yl = /* @__PURE__ */ pe({
|
|
|
6102
6127
|
readonly: r.value,
|
|
6103
6128
|
theme: t.value
|
|
6104
6129
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
6105
|
-
])) : (
|
|
6130
|
+
])) : (H(), de(u, {
|
|
6106
6131
|
key: 1,
|
|
6107
|
-
"model-value":
|
|
6132
|
+
"model-value": _.value,
|
|
6108
6133
|
label: b.value,
|
|
6109
6134
|
placeholder: m.value,
|
|
6110
6135
|
"hide-details": T.value,
|
|
@@ -6114,7 +6139,7 @@ const Yl = /* @__PURE__ */ pe({
|
|
|
6114
6139
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
6115
6140
|
};
|
|
6116
6141
|
}
|
|
6117
|
-
}),
|
|
6142
|
+
}), Un = {
|
|
6118
6143
|
key: "settings",
|
|
6119
6144
|
name: "x-runtime-lib.settings",
|
|
6120
6145
|
children: [
|
|
@@ -6155,25 +6180,25 @@ const Yl = /* @__PURE__ */ pe({
|
|
|
6155
6180
|
default: !1
|
|
6156
6181
|
}
|
|
6157
6182
|
]
|
|
6158
|
-
},
|
|
6159
|
-
key:
|
|
6183
|
+
}, Ql = {
|
|
6184
|
+
key: or,
|
|
6160
6185
|
name: "x-runtime-lib.select",
|
|
6161
|
-
comp:
|
|
6186
|
+
comp: Zl,
|
|
6162
6187
|
leaf: !1,
|
|
6163
6188
|
events: [],
|
|
6164
6189
|
methods: [],
|
|
6165
6190
|
props: {
|
|
6166
|
-
pageCommon: [
|
|
6167
|
-
compCommon: [
|
|
6191
|
+
pageCommon: [Y, Un],
|
|
6192
|
+
compCommon: [Y, Un]
|
|
6168
6193
|
}
|
|
6169
|
-
},
|
|
6194
|
+
}, ec = { key: 0 }, tc = /* @__PURE__ */ pe({
|
|
6170
6195
|
__name: "index",
|
|
6171
6196
|
props: {
|
|
6172
6197
|
node: {},
|
|
6173
6198
|
outer: { type: Boolean }
|
|
6174
6199
|
},
|
|
6175
6200
|
setup(n) {
|
|
6176
|
-
const o = n, f =
|
|
6201
|
+
const o = n, f = Re(), h = De(), _ = N(() => {
|
|
6177
6202
|
var t;
|
|
6178
6203
|
return (t = o.node.settings) == null ? void 0 : t.label;
|
|
6179
6204
|
}), b = N(() => {
|
|
@@ -6190,19 +6215,19 @@ const Yl = /* @__PURE__ */ pe({
|
|
|
6190
6215
|
return f !== "runtime" ? !0 : (t = o.node.settings) == null ? void 0 : t.readonly;
|
|
6191
6216
|
}), r = N(() => h.value ? "dark" : "light");
|
|
6192
6217
|
return (t, e) => {
|
|
6193
|
-
const i =
|
|
6194
|
-
return
|
|
6218
|
+
const i = ge("v-text-field");
|
|
6219
|
+
return gt(f) === "editor" ? (H(), He("div", ec, [
|
|
6195
6220
|
bt(i, {
|
|
6196
|
-
label:
|
|
6221
|
+
label: _.value,
|
|
6197
6222
|
placeholder: b.value,
|
|
6198
6223
|
"hide-details": m.value,
|
|
6199
6224
|
"single-line": T.value,
|
|
6200
6225
|
readonly: R.value,
|
|
6201
6226
|
theme: r.value
|
|
6202
6227
|
}, null, 8, ["label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
6203
|
-
])) : (
|
|
6228
|
+
])) : (H(), de(i, {
|
|
6204
6229
|
key: 1,
|
|
6205
|
-
label:
|
|
6230
|
+
label: _.value,
|
|
6206
6231
|
placeholder: b.value,
|
|
6207
6232
|
"hide-details": m.value,
|
|
6208
6233
|
"single-line": T.value,
|
|
@@ -6211,7 +6236,7 @@ const Yl = /* @__PURE__ */ pe({
|
|
|
6211
6236
|
}, null, 8, ["label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
6212
6237
|
};
|
|
6213
6238
|
}
|
|
6214
|
-
}),
|
|
6239
|
+
}), jn = {
|
|
6215
6240
|
key: "settings",
|
|
6216
6241
|
name: "x-runtime-lib.settings",
|
|
6217
6242
|
children: [
|
|
@@ -6246,31 +6271,32 @@ const Yl = /* @__PURE__ */ pe({
|
|
|
6246
6271
|
default: !1
|
|
6247
6272
|
}
|
|
6248
6273
|
]
|
|
6249
|
-
},
|
|
6250
|
-
key:
|
|
6274
|
+
}, rc = {
|
|
6275
|
+
key: ur,
|
|
6251
6276
|
name: "x-runtime-lib.textField",
|
|
6252
|
-
comp:
|
|
6277
|
+
comp: tc,
|
|
6253
6278
|
leaf: !1,
|
|
6254
6279
|
events: [],
|
|
6255
6280
|
methods: [],
|
|
6256
6281
|
props: {
|
|
6257
|
-
pageCommon: [
|
|
6258
|
-
compCommon: [
|
|
6282
|
+
pageCommon: [Y, jn],
|
|
6283
|
+
compCommon: [Y, jn]
|
|
6259
6284
|
}
|
|
6260
|
-
},
|
|
6285
|
+
}, nc = {
|
|
6261
6286
|
version: "v1",
|
|
6262
|
-
globalityKey:
|
|
6263
|
-
refKey:
|
|
6287
|
+
globalityKey: xi.key,
|
|
6288
|
+
refKey: Pi.key,
|
|
6264
6289
|
elements: /* @__PURE__ */ new Set([
|
|
6265
6290
|
er,
|
|
6266
6291
|
tr,
|
|
6267
6292
|
rr,
|
|
6268
6293
|
nr,
|
|
6269
|
-
Oi,
|
|
6270
6294
|
ir,
|
|
6271
6295
|
Ti,
|
|
6272
6296
|
ar,
|
|
6273
|
-
|
|
6297
|
+
Ni,
|
|
6298
|
+
or,
|
|
6299
|
+
ur
|
|
6274
6300
|
]),
|
|
6275
6301
|
groups: [
|
|
6276
6302
|
{
|
|
@@ -6283,13 +6309,14 @@ const Yl = /* @__PURE__ */ pe({
|
|
|
6283
6309
|
nr,
|
|
6284
6310
|
ir,
|
|
6285
6311
|
ar,
|
|
6286
|
-
or
|
|
6312
|
+
or,
|
|
6313
|
+
ur
|
|
6287
6314
|
]
|
|
6288
6315
|
}
|
|
6289
6316
|
]
|
|
6290
|
-
},
|
|
6291
|
-
v1:
|
|
6292
|
-
},
|
|
6317
|
+
}, Ci = {
|
|
6318
|
+
v1: nc
|
|
6319
|
+
}, Ae = {}, ic = {
|
|
6293
6320
|
key: "add",
|
|
6294
6321
|
name: "METHOD_ADD",
|
|
6295
6322
|
inputs: [],
|
|
@@ -6299,21 +6326,22 @@ const Yl = /* @__PURE__ */ pe({
|
|
|
6299
6326
|
name: "PARAM_NEW_NODE"
|
|
6300
6327
|
}
|
|
6301
6328
|
]
|
|
6302
|
-
},
|
|
6303
|
-
|
|
6329
|
+
}, te = (n) => {
|
|
6330
|
+
Ae[n.key] && console.assert(!1, `element duplicate key=${n.key}`), n.leaf || n.methods.unshift(ic), Ae[n.key] = n;
|
|
6304
6331
|
};
|
|
6305
|
-
|
|
6306
|
-
|
|
6307
|
-
|
|
6308
|
-
|
|
6309
|
-
|
|
6310
|
-
|
|
6311
|
-
|
|
6312
|
-
|
|
6313
|
-
|
|
6314
|
-
|
|
6332
|
+
te(fl);
|
|
6333
|
+
te(hl);
|
|
6334
|
+
te(bl);
|
|
6335
|
+
te(Ol);
|
|
6336
|
+
te(wl);
|
|
6337
|
+
te(xi);
|
|
6338
|
+
te(Al);
|
|
6339
|
+
te(Pi);
|
|
6340
|
+
te(Ql);
|
|
6341
|
+
te(rc);
|
|
6342
|
+
const ac = (n, o, f) => {
|
|
6315
6343
|
const h = n[o];
|
|
6316
|
-
return h ? typeof h == "function" ? h() : Promise.resolve(h) : new Promise((
|
|
6344
|
+
return h ? typeof h == "function" ? h() : Promise.resolve(h) : new Promise((_, b) => {
|
|
6317
6345
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
|
|
6318
6346
|
b.bind(
|
|
6319
6347
|
null,
|
|
@@ -6324,41 +6352,41 @@ const Ql = (n, o, f) => {
|
|
|
6324
6352
|
);
|
|
6325
6353
|
});
|
|
6326
6354
|
};
|
|
6327
|
-
async function
|
|
6328
|
-
return (await
|
|
6355
|
+
async function bc(n) {
|
|
6356
|
+
return (await ac(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en-chxvg9av.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans-irh3vhql.js") }), `./locales/${n}/index.ts`, 4)).default;
|
|
6329
6357
|
}
|
|
6330
6358
|
export {
|
|
6331
|
-
|
|
6332
|
-
|
|
6333
|
-
|
|
6334
|
-
|
|
6335
|
-
|
|
6336
|
-
|
|
6337
|
-
|
|
6359
|
+
pc as duplicateNode,
|
|
6360
|
+
Ae as elements,
|
|
6361
|
+
Vn as genId,
|
|
6362
|
+
fc as getNode,
|
|
6363
|
+
xn as getPropDefault,
|
|
6364
|
+
nl as getPropTag,
|
|
6365
|
+
wn as initProps,
|
|
6338
6366
|
De as injectDark,
|
|
6339
|
-
|
|
6340
|
-
|
|
6341
|
-
|
|
6342
|
-
|
|
6343
|
-
|
|
6344
|
-
|
|
6345
|
-
|
|
6346
|
-
|
|
6347
|
-
|
|
6348
|
-
|
|
6349
|
-
|
|
6367
|
+
Ri as injectData,
|
|
6368
|
+
ol as injectDepends,
|
|
6369
|
+
bi as injectDevice,
|
|
6370
|
+
al as injectEnv,
|
|
6371
|
+
sl as injectInterpreter,
|
|
6372
|
+
Re as injectMode,
|
|
6373
|
+
Ei as injectType,
|
|
6374
|
+
sr as isEmptyStr,
|
|
6375
|
+
cr as isPercentStr,
|
|
6376
|
+
lr as isPixelStr,
|
|
6377
|
+
bc as loadLocaleMessageRuntime,
|
|
6350
6378
|
Wt as parsePercentStr,
|
|
6351
|
-
|
|
6352
|
-
|
|
6353
|
-
|
|
6354
|
-
|
|
6355
|
-
|
|
6356
|
-
|
|
6357
|
-
|
|
6358
|
-
|
|
6359
|
-
|
|
6360
|
-
|
|
6361
|
-
|
|
6362
|
-
|
|
6363
|
-
|
|
6379
|
+
cc as parsePixelStr,
|
|
6380
|
+
Ci as pkgs,
|
|
6381
|
+
yc as provideDark,
|
|
6382
|
+
_c as provideData,
|
|
6383
|
+
gc as provideDepends,
|
|
6384
|
+
vc as provideDevice,
|
|
6385
|
+
dc as provideEnv,
|
|
6386
|
+
ul as provideInterpreter,
|
|
6387
|
+
hc as provideMode,
|
|
6388
|
+
mc as provideType,
|
|
6389
|
+
il as spawnNode,
|
|
6390
|
+
Hl as startInterpreter,
|
|
6391
|
+
Fn as stopInterpreter
|
|
6364
6392
|
};
|