x-runtime-lib 0.5.16 → 0.5.18
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 +0 -1
- package/dist/components/element/slot/v1/index.vue.d.ts +5 -0
- package/dist/composables/element/common/method.d.ts +2 -0
- package/dist/{i18n-en-b8zhxb60.js → i18n-en-chxvg9av.js} +0 -2
- package/dist/{i18n-zhHans-mqoymcvp.js → i18n-zhHans-irh3vhql.js} +0 -2
- package/dist/index.js +1628 -1487
- package/dist/types/element.d.ts +0 -5
- package/dist/utils/node.d.ts +1 -0
- package/package.json +2 -2
- package/dist/element/basic/package/v1/index.d.ts +0 -3
package/dist/index.js
CHANGED
|
@@ -1,93 +1,93 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import { provide as
|
|
5
|
-
import {
|
|
6
|
-
import { useI18n as
|
|
7
|
-
const
|
|
8
|
-
function
|
|
1
|
+
var ma = Object.defineProperty;
|
|
2
|
+
var _a = (n, o, c) => o in n ? ma(n, o, { enumerable: !0, configurable: !0, writable: !0, value: c }) : n[o] = c;
|
|
3
|
+
var Wt = (n, o, c) => _a(n, typeof o != "symbol" ? o + "" : o, c);
|
|
4
|
+
import { provide as ye, inject as me, readonly as Et, isReactive as Wn, defineComponent as re, computed as N, resolveComponent as Te, openBlock as J, createBlock as ce, unref as Ie, createElementBlock as Fe, createVNode as K, normalizeStyle as ga, renderSlot as Jn, onBeforeMount as ba, onUnmounted as Ea, isRef as Ra, withCtx as te, createCommentVNode as Oa, watchEffect as Ta, onBeforeUnmount as Na, h as se, watch as Sa, createSlots as on } from "vue";
|
|
5
|
+
import { eventBus as Ze, useViewStack as xa, messageInfo as Pa, messageSuccess as wa, messageWarning as Ca, messageError as ka, openConfirmDlg as Aa, openPromptDlg as Ia } from "x-essential-lib";
|
|
6
|
+
import { useI18n as Da } from "vue-i18n";
|
|
7
|
+
const un = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
8
|
+
function Hn(n) {
|
|
9
9
|
let o = "";
|
|
10
|
-
for (let
|
|
11
|
-
const h = Math.floor(Math.random() *
|
|
12
|
-
o +=
|
|
10
|
+
for (let c = 0; c < n; c++) {
|
|
11
|
+
const h = Math.floor(Math.random() * un.length);
|
|
12
|
+
o += un[h];
|
|
13
13
|
}
|
|
14
14
|
return o;
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function cr(n) {
|
|
17
17
|
return n === "";
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function fr(n) {
|
|
20
20
|
if (typeof n != "string" || !n.endsWith("px"))
|
|
21
21
|
return !1;
|
|
22
|
-
const o = n.substring(0, n.length - 2),
|
|
23
|
-
return !(isNaN(
|
|
22
|
+
const o = n.substring(0, n.length - 2), c = parseFloat(o);
|
|
23
|
+
return !(isNaN(c) || c % 1 !== 0);
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function pr(n) {
|
|
26
26
|
if (typeof n != "string" || !n.endsWith("%"))
|
|
27
27
|
return !1;
|
|
28
|
-
const o = n.substring(0, n.length - 1),
|
|
29
|
-
return !isNaN(
|
|
28
|
+
const o = n.substring(0, n.length - 1), c = parseFloat(o);
|
|
29
|
+
return !isNaN(c);
|
|
30
30
|
}
|
|
31
|
-
function
|
|
31
|
+
function bc(n) {
|
|
32
32
|
if (typeof n != "string" || !n.endsWith("px"))
|
|
33
33
|
return;
|
|
34
|
-
const o = n.substring(0, n.length - 2),
|
|
35
|
-
if (!isNaN(
|
|
36
|
-
return
|
|
34
|
+
const o = n.substring(0, n.length - 2), c = parseFloat(o);
|
|
35
|
+
if (!isNaN(c) && c % 1 === 0)
|
|
36
|
+
return c;
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function Jt(n) {
|
|
39
39
|
if (typeof n != "string" || !n.endsWith("%"))
|
|
40
40
|
return;
|
|
41
|
-
const o = n.substring(0, n.length - 1),
|
|
42
|
-
if (!isNaN(
|
|
43
|
-
return
|
|
41
|
+
const o = n.substring(0, n.length - 1), c = parseFloat(o);
|
|
42
|
+
if (!isNaN(c))
|
|
43
|
+
return c;
|
|
44
44
|
}
|
|
45
|
-
var
|
|
46
|
-
function
|
|
47
|
-
var o =
|
|
45
|
+
var Kn = typeof global == "object" && global && global.Object === Object && global, La = typeof self == "object" && self && self.Object === Object && self, ne = Kn || La || Function("return this")(), De = ne.Symbol, qn = Object.prototype, Ma = qn.hasOwnProperty, Fa = qn.toString, Ke = De ? De.toStringTag : void 0;
|
|
46
|
+
function Ua(n) {
|
|
47
|
+
var o = Ma.call(n, Ke), c = n[Ke];
|
|
48
48
|
try {
|
|
49
|
-
n[
|
|
49
|
+
n[Ke] = void 0;
|
|
50
50
|
var h = !0;
|
|
51
51
|
} catch {
|
|
52
52
|
}
|
|
53
|
-
var
|
|
54
|
-
return h && (o ? n[
|
|
53
|
+
var _ = Fa.call(n);
|
|
54
|
+
return h && (o ? n[Ke] = c : delete n[Ke]), _;
|
|
55
55
|
}
|
|
56
|
-
var
|
|
57
|
-
function
|
|
58
|
-
return
|
|
56
|
+
var ja = Object.prototype, Ba = ja.toString;
|
|
57
|
+
function $a(n) {
|
|
58
|
+
return Ba.call(n);
|
|
59
59
|
}
|
|
60
|
-
var
|
|
61
|
-
function
|
|
62
|
-
return n == null ? n === void 0 ?
|
|
60
|
+
var Va = "[object Null]", Ga = "[object Undefined]", sn = De ? De.toStringTag : void 0;
|
|
61
|
+
function tt(n) {
|
|
62
|
+
return n == null ? n === void 0 ? Ga : Va : sn && sn in Object(n) ? Ua(n) : $a(n);
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function rt(n) {
|
|
65
65
|
return n != null && typeof n == "object";
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
function
|
|
67
|
+
var dr = Array.isArray;
|
|
68
|
+
function nt(n) {
|
|
69
69
|
var o = typeof n;
|
|
70
70
|
return n != null && (o == "object" || o == "function");
|
|
71
71
|
}
|
|
72
|
-
var
|
|
73
|
-
function
|
|
74
|
-
if (!
|
|
72
|
+
var Ya = "[object AsyncFunction]", za = "[object Function]", Xa = "[object GeneratorFunction]", Wa = "[object Proxy]";
|
|
73
|
+
function Zn(n) {
|
|
74
|
+
if (!nt(n))
|
|
75
75
|
return !1;
|
|
76
|
-
var o =
|
|
77
|
-
return o ==
|
|
76
|
+
var o = tt(n);
|
|
77
|
+
return o == za || o == Xa || o == Ya || o == Wa;
|
|
78
78
|
}
|
|
79
|
-
var
|
|
80
|
-
var n = /[^.]+$/.exec(
|
|
79
|
+
var Ht = ne["__core-js_shared__"], ln = function() {
|
|
80
|
+
var n = /[^.]+$/.exec(Ht && Ht.keys && Ht.keys.IE_PROTO || "");
|
|
81
81
|
return n ? "Symbol(src)_1." + n : "";
|
|
82
82
|
}();
|
|
83
|
-
function
|
|
84
|
-
return !!
|
|
83
|
+
function Ja(n) {
|
|
84
|
+
return !!ln && ln in n;
|
|
85
85
|
}
|
|
86
|
-
var
|
|
87
|
-
function
|
|
86
|
+
var Ha = Function.prototype, Ka = Ha.toString;
|
|
87
|
+
function Ne(n) {
|
|
88
88
|
if (n != null) {
|
|
89
89
|
try {
|
|
90
|
-
return
|
|
90
|
+
return Ka.call(n);
|
|
91
91
|
} catch {
|
|
92
92
|
}
|
|
93
93
|
try {
|
|
@@ -97,520 +97,520 @@ function Ee(n) {
|
|
|
97
97
|
}
|
|
98
98
|
return "";
|
|
99
99
|
}
|
|
100
|
-
var
|
|
101
|
-
"^" +
|
|
100
|
+
var qa = /[\\^$.*+?()[\]{}|]/g, Za = /^\[object .+?Constructor\]$/, Qa = Function.prototype, eo = Object.prototype, to = Qa.toString, ro = eo.hasOwnProperty, no = RegExp(
|
|
101
|
+
"^" + to.call(ro).replace(qa, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
102
102
|
);
|
|
103
|
-
function
|
|
104
|
-
if (!
|
|
103
|
+
function io(n) {
|
|
104
|
+
if (!nt(n) || Ja(n))
|
|
105
105
|
return !1;
|
|
106
|
-
var o =
|
|
107
|
-
return o.test(
|
|
106
|
+
var o = Zn(n) ? no : Za;
|
|
107
|
+
return o.test(Ne(n));
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function ao(n, o) {
|
|
110
110
|
return n == null ? void 0 : n[o];
|
|
111
111
|
}
|
|
112
|
-
function
|
|
113
|
-
var
|
|
114
|
-
return
|
|
112
|
+
function Se(n, o) {
|
|
113
|
+
var c = ao(n, o);
|
|
114
|
+
return io(c) ? c : void 0;
|
|
115
115
|
}
|
|
116
|
-
var
|
|
116
|
+
var qt = Se(ne, "WeakMap"), cn = Object.create, oo = /* @__PURE__ */ function() {
|
|
117
117
|
function n() {
|
|
118
118
|
}
|
|
119
119
|
return function(o) {
|
|
120
|
-
if (!
|
|
120
|
+
if (!nt(o))
|
|
121
121
|
return {};
|
|
122
|
-
if (
|
|
123
|
-
return
|
|
122
|
+
if (cn)
|
|
123
|
+
return cn(o);
|
|
124
124
|
n.prototype = o;
|
|
125
|
-
var
|
|
126
|
-
return n.prototype = void 0,
|
|
125
|
+
var c = new n();
|
|
126
|
+
return n.prototype = void 0, c;
|
|
127
127
|
};
|
|
128
128
|
}();
|
|
129
|
-
function
|
|
130
|
-
var
|
|
131
|
-
for (o || (o = Array(h)); ++
|
|
132
|
-
o[
|
|
129
|
+
function uo(n, o) {
|
|
130
|
+
var c = -1, h = n.length;
|
|
131
|
+
for (o || (o = Array(h)); ++c < h; )
|
|
132
|
+
o[c] = n[c];
|
|
133
133
|
return o;
|
|
134
134
|
}
|
|
135
|
-
var
|
|
135
|
+
var fn = function() {
|
|
136
136
|
try {
|
|
137
|
-
var n =
|
|
137
|
+
var n = Se(Object, "defineProperty");
|
|
138
138
|
return n({}, "", {}), n;
|
|
139
139
|
} catch {
|
|
140
140
|
}
|
|
141
141
|
}();
|
|
142
|
-
function
|
|
143
|
-
for (var
|
|
142
|
+
function so(n, o) {
|
|
143
|
+
for (var c = -1, h = n == null ? 0 : n.length; ++c < h && o(n[c], c, n) !== !1; )
|
|
144
144
|
;
|
|
145
145
|
return n;
|
|
146
146
|
}
|
|
147
|
-
var
|
|
148
|
-
function
|
|
149
|
-
var
|
|
150
|
-
return o = o ??
|
|
147
|
+
var lo = 9007199254740991, co = /^(?:0|[1-9]\d*)$/;
|
|
148
|
+
function fo(n, o) {
|
|
149
|
+
var c = typeof n;
|
|
150
|
+
return o = o ?? lo, !!o && (c == "number" || c != "symbol" && co.test(n)) && n > -1 && n % 1 == 0 && n < o;
|
|
151
151
|
}
|
|
152
|
-
function
|
|
153
|
-
o == "__proto__" &&
|
|
152
|
+
function Qn(n, o, c) {
|
|
153
|
+
o == "__proto__" && fn ? fn(n, o, {
|
|
154
154
|
configurable: !0,
|
|
155
155
|
enumerable: !0,
|
|
156
|
-
value:
|
|
156
|
+
value: c,
|
|
157
157
|
writable: !0
|
|
158
|
-
}) : n[o] =
|
|
158
|
+
}) : n[o] = c;
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function ei(n, o) {
|
|
161
161
|
return n === o || n !== n && o !== o;
|
|
162
162
|
}
|
|
163
|
-
var
|
|
164
|
-
function
|
|
163
|
+
var po = Object.prototype, ho = po.hasOwnProperty;
|
|
164
|
+
function ti(n, o, c) {
|
|
165
165
|
var h = n[o];
|
|
166
|
-
(!(
|
|
167
|
-
}
|
|
168
|
-
function
|
|
169
|
-
var
|
|
170
|
-
|
|
171
|
-
for (var
|
|
172
|
-
var
|
|
173
|
-
|
|
166
|
+
(!(ho.call(n, o) && ei(h, c)) || c === void 0 && !(o in n)) && Qn(n, o, c);
|
|
167
|
+
}
|
|
168
|
+
function Rt(n, o, c, h) {
|
|
169
|
+
var _ = !c;
|
|
170
|
+
c || (c = {});
|
|
171
|
+
for (var b = -1, m = o.length; ++b < m; ) {
|
|
172
|
+
var R = o[b], O = void 0;
|
|
173
|
+
O === void 0 && (O = n[R]), _ ? Qn(c, R, O) : ti(c, R, O);
|
|
174
174
|
}
|
|
175
|
-
return
|
|
176
|
-
}
|
|
177
|
-
var co = 9007199254740991;
|
|
178
|
-
function ti(n) {
|
|
179
|
-
return typeof n == "number" && n > -1 && n % 1 == 0 && n <= co;
|
|
175
|
+
return c;
|
|
180
176
|
}
|
|
177
|
+
var vo = 9007199254740991;
|
|
181
178
|
function ri(n) {
|
|
182
|
-
return n
|
|
179
|
+
return typeof n == "number" && n > -1 && n % 1 == 0 && n <= vo;
|
|
183
180
|
}
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
181
|
+
function ni(n) {
|
|
182
|
+
return n != null && ri(n.length) && !Zn(n);
|
|
183
|
+
}
|
|
184
|
+
var yo = Object.prototype;
|
|
185
|
+
function hr(n) {
|
|
186
|
+
var o = n && n.constructor, c = typeof o == "function" && o.prototype || yo;
|
|
187
|
+
return n === c;
|
|
188
188
|
}
|
|
189
|
-
function
|
|
190
|
-
for (var
|
|
191
|
-
h[
|
|
189
|
+
function mo(n, o) {
|
|
190
|
+
for (var c = -1, h = Array(n); ++c < n; )
|
|
191
|
+
h[c] = o(c);
|
|
192
192
|
return h;
|
|
193
193
|
}
|
|
194
|
-
var
|
|
195
|
-
function
|
|
196
|
-
return
|
|
194
|
+
var _o = "[object Arguments]";
|
|
195
|
+
function pn(n) {
|
|
196
|
+
return rt(n) && tt(n) == _o;
|
|
197
197
|
}
|
|
198
|
-
var
|
|
198
|
+
var ii = Object.prototype, go = ii.hasOwnProperty, bo = ii.propertyIsEnumerable, Eo = pn(/* @__PURE__ */ function() {
|
|
199
199
|
return arguments;
|
|
200
|
-
}()) ?
|
|
201
|
-
return
|
|
200
|
+
}()) ? pn : function(n) {
|
|
201
|
+
return rt(n) && go.call(n, "callee") && !bo.call(n, "callee");
|
|
202
202
|
};
|
|
203
|
-
function
|
|
203
|
+
function Ro() {
|
|
204
204
|
return !1;
|
|
205
205
|
}
|
|
206
|
-
var
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
function
|
|
210
|
-
return
|
|
206
|
+
var ai = typeof exports == "object" && exports && !exports.nodeType && exports, dn = ai && typeof module == "object" && module && !module.nodeType && module, Oo = dn && dn.exports === ai, hn = Oo ? ne.Buffer : void 0, To = hn ? hn.isBuffer : void 0, oi = To || Ro, No = "[object Arguments]", So = "[object Array]", xo = "[object Boolean]", Po = "[object Date]", wo = "[object Error]", Co = "[object Function]", ko = "[object Map]", Ao = "[object Number]", Io = "[object Object]", Do = "[object RegExp]", Lo = "[object Set]", Mo = "[object String]", Fo = "[object WeakMap]", Uo = "[object ArrayBuffer]", jo = "[object DataView]", Bo = "[object Float32Array]", $o = "[object Float64Array]", Vo = "[object Int8Array]", Go = "[object Int16Array]", Yo = "[object Int32Array]", zo = "[object Uint8Array]", Xo = "[object Uint8ClampedArray]", Wo = "[object Uint16Array]", Jo = "[object Uint32Array]", F = {};
|
|
207
|
+
F[Bo] = F[$o] = F[Vo] = F[Go] = F[Yo] = F[zo] = F[Xo] = F[Wo] = F[Jo] = !0;
|
|
208
|
+
F[No] = F[So] = F[Uo] = F[xo] = F[jo] = F[Po] = F[wo] = F[Co] = F[ko] = F[Ao] = F[Io] = F[Do] = F[Lo] = F[Mo] = F[Fo] = !1;
|
|
209
|
+
function Ho(n) {
|
|
210
|
+
return rt(n) && ri(n.length) && !!F[tt(n)];
|
|
211
211
|
}
|
|
212
|
-
function
|
|
212
|
+
function vr(n) {
|
|
213
213
|
return function(o) {
|
|
214
214
|
return n(o);
|
|
215
215
|
};
|
|
216
216
|
}
|
|
217
|
-
var
|
|
217
|
+
var ui = typeof exports == "object" && exports && !exports.nodeType && exports, qe = ui && typeof module == "object" && module && !module.nodeType && module, Ko = qe && qe.exports === ui, Kt = Ko && Kn.process, Le = function() {
|
|
218
218
|
try {
|
|
219
|
-
var n =
|
|
220
|
-
return n ||
|
|
219
|
+
var n = qe && qe.require && qe.require("util").types;
|
|
220
|
+
return n || Kt && Kt.binding && Kt.binding("util");
|
|
221
221
|
} catch {
|
|
222
222
|
}
|
|
223
|
-
}(),
|
|
224
|
-
function
|
|
225
|
-
var
|
|
223
|
+
}(), vn = Le && Le.isTypedArray, qo = vn ? vr(vn) : Ho, Zo = Object.prototype, Qo = Zo.hasOwnProperty;
|
|
224
|
+
function si(n, o) {
|
|
225
|
+
var c = dr(n), h = !c && Eo(n), _ = !c && !h && oi(n), b = !c && !h && !_ && qo(n), m = c || h || _ || b, R = m ? mo(n.length, String) : [], O = R.length;
|
|
226
226
|
for (var r in n)
|
|
227
|
-
(o ||
|
|
227
|
+
(o || Qo.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
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
return
|
|
229
|
+
_ && (r == "offset" || r == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
230
|
+
b && (r == "buffer" || r == "byteLength" || r == "byteOffset") || // Skip index properties.
|
|
231
|
+
fo(r, O))) && R.push(r);
|
|
232
|
+
return R;
|
|
233
233
|
}
|
|
234
|
-
function
|
|
235
|
-
return function(
|
|
236
|
-
return n(o(
|
|
234
|
+
function li(n, o) {
|
|
235
|
+
return function(c) {
|
|
236
|
+
return n(o(c));
|
|
237
237
|
};
|
|
238
238
|
}
|
|
239
|
-
var
|
|
240
|
-
function
|
|
241
|
-
if (!
|
|
242
|
-
return
|
|
239
|
+
var eu = li(Object.keys, Object), tu = Object.prototype, ru = tu.hasOwnProperty;
|
|
240
|
+
function nu(n) {
|
|
241
|
+
if (!hr(n))
|
|
242
|
+
return eu(n);
|
|
243
243
|
var o = [];
|
|
244
|
-
for (var
|
|
245
|
-
|
|
244
|
+
for (var c in Object(n))
|
|
245
|
+
ru.call(n, c) && c != "constructor" && o.push(c);
|
|
246
246
|
return o;
|
|
247
247
|
}
|
|
248
|
-
function
|
|
249
|
-
return
|
|
248
|
+
function yr(n) {
|
|
249
|
+
return ni(n) ? si(n) : nu(n);
|
|
250
250
|
}
|
|
251
|
-
function
|
|
251
|
+
function iu(n) {
|
|
252
252
|
var o = [];
|
|
253
253
|
if (n != null)
|
|
254
|
-
for (var
|
|
255
|
-
o.push(
|
|
254
|
+
for (var c in Object(n))
|
|
255
|
+
o.push(c);
|
|
256
256
|
return o;
|
|
257
257
|
}
|
|
258
|
-
var
|
|
259
|
-
function
|
|
260
|
-
if (!
|
|
261
|
-
return
|
|
262
|
-
var o =
|
|
258
|
+
var au = Object.prototype, ou = au.hasOwnProperty;
|
|
259
|
+
function uu(n) {
|
|
260
|
+
if (!nt(n))
|
|
261
|
+
return iu(n);
|
|
262
|
+
var o = hr(n), c = [];
|
|
263
263
|
for (var h in n)
|
|
264
|
-
h == "constructor" && (o || !
|
|
265
|
-
return
|
|
264
|
+
h == "constructor" && (o || !ou.call(n, h)) || c.push(h);
|
|
265
|
+
return c;
|
|
266
266
|
}
|
|
267
|
-
function
|
|
268
|
-
return
|
|
267
|
+
function mr(n) {
|
|
268
|
+
return ni(n) ? si(n, !0) : uu(n);
|
|
269
269
|
}
|
|
270
|
-
var
|
|
271
|
-
function
|
|
272
|
-
this.__data__ =
|
|
270
|
+
var Qe = Se(Object, "create");
|
|
271
|
+
function su() {
|
|
272
|
+
this.__data__ = Qe ? Qe(null) : {}, this.size = 0;
|
|
273
273
|
}
|
|
274
|
-
function
|
|
274
|
+
function lu(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 cu = "__lodash_hash_undefined__", fu = Object.prototype, pu = fu.hasOwnProperty;
|
|
279
|
+
function du(n) {
|
|
280
280
|
var o = this.__data__;
|
|
281
|
-
if (
|
|
282
|
-
var
|
|
283
|
-
return
|
|
281
|
+
if (Qe) {
|
|
282
|
+
var c = o[n];
|
|
283
|
+
return c === cu ? void 0 : c;
|
|
284
284
|
}
|
|
285
|
-
return
|
|
285
|
+
return pu.call(o, n) ? o[n] : void 0;
|
|
286
286
|
}
|
|
287
|
-
var
|
|
288
|
-
function
|
|
287
|
+
var hu = Object.prototype, vu = hu.hasOwnProperty;
|
|
288
|
+
function yu(n) {
|
|
289
289
|
var o = this.__data__;
|
|
290
|
-
return
|
|
290
|
+
return Qe ? o[n] !== void 0 : vu.call(o, n);
|
|
291
291
|
}
|
|
292
|
-
var
|
|
293
|
-
function
|
|
294
|
-
var
|
|
295
|
-
return this.size += this.has(n) ? 0 : 1,
|
|
292
|
+
var mu = "__lodash_hash_undefined__";
|
|
293
|
+
function _u(n, o) {
|
|
294
|
+
var c = this.__data__;
|
|
295
|
+
return this.size += this.has(n) ? 0 : 1, c[n] = Qe && o === void 0 ? mu : o, this;
|
|
296
296
|
}
|
|
297
|
-
function
|
|
298
|
-
var o = -1,
|
|
299
|
-
for (this.clear(); ++o <
|
|
297
|
+
function Oe(n) {
|
|
298
|
+
var o = -1, c = n == null ? 0 : n.length;
|
|
299
|
+
for (this.clear(); ++o < c; ) {
|
|
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
|
+
Oe.prototype.clear = su;
|
|
305
|
+
Oe.prototype.delete = lu;
|
|
306
|
+
Oe.prototype.get = du;
|
|
307
|
+
Oe.prototype.has = yu;
|
|
308
|
+
Oe.prototype.set = _u;
|
|
309
|
+
function gu() {
|
|
310
310
|
this.__data__ = [], this.size = 0;
|
|
311
311
|
}
|
|
312
|
-
function
|
|
313
|
-
for (var
|
|
314
|
-
if (
|
|
315
|
-
return
|
|
312
|
+
function Ot(n, o) {
|
|
313
|
+
for (var c = n.length; c--; )
|
|
314
|
+
if (ei(n[c][0], o))
|
|
315
|
+
return c;
|
|
316
316
|
return -1;
|
|
317
317
|
}
|
|
318
|
-
var
|
|
319
|
-
function
|
|
320
|
-
var o = this.__data__,
|
|
321
|
-
if (
|
|
318
|
+
var bu = Array.prototype, Eu = bu.splice;
|
|
319
|
+
function Ru(n) {
|
|
320
|
+
var o = this.__data__, c = Ot(o, n);
|
|
321
|
+
if (c < 0)
|
|
322
322
|
return !1;
|
|
323
323
|
var h = o.length - 1;
|
|
324
|
-
return
|
|
324
|
+
return c == h ? o.pop() : Eu.call(o, c, 1), --this.size, !0;
|
|
325
325
|
}
|
|
326
|
-
function
|
|
327
|
-
var o = this.__data__,
|
|
328
|
-
return
|
|
326
|
+
function Ou(n) {
|
|
327
|
+
var o = this.__data__, c = Ot(o, n);
|
|
328
|
+
return c < 0 ? void 0 : o[c][1];
|
|
329
329
|
}
|
|
330
|
-
function
|
|
331
|
-
return
|
|
330
|
+
function Tu(n) {
|
|
331
|
+
return Ot(this.__data__, n) > -1;
|
|
332
332
|
}
|
|
333
|
-
function
|
|
334
|
-
var
|
|
335
|
-
return h < 0 ? (++this.size,
|
|
333
|
+
function Nu(n, o) {
|
|
334
|
+
var c = this.__data__, h = Ot(c, n);
|
|
335
|
+
return h < 0 ? (++this.size, c.push([n, o])) : c[h][1] = o, this;
|
|
336
336
|
}
|
|
337
|
-
function
|
|
338
|
-
var o = -1,
|
|
339
|
-
for (this.clear(); ++o <
|
|
337
|
+
function fe(n) {
|
|
338
|
+
var o = -1, c = n == null ? 0 : n.length;
|
|
339
|
+
for (this.clear(); ++o < c; ) {
|
|
340
340
|
var h = n[o];
|
|
341
341
|
this.set(h[0], h[1]);
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
var
|
|
350
|
-
function
|
|
344
|
+
fe.prototype.clear = gu;
|
|
345
|
+
fe.prototype.delete = Ru;
|
|
346
|
+
fe.prototype.get = Ou;
|
|
347
|
+
fe.prototype.has = Tu;
|
|
348
|
+
fe.prototype.set = Nu;
|
|
349
|
+
var et = Se(ne, "Map");
|
|
350
|
+
function Su() {
|
|
351
351
|
this.size = 0, this.__data__ = {
|
|
352
|
-
hash: new
|
|
353
|
-
map: new (
|
|
354
|
-
string: new
|
|
352
|
+
hash: new Oe(),
|
|
353
|
+
map: new (et || fe)(),
|
|
354
|
+
string: new Oe()
|
|
355
355
|
};
|
|
356
356
|
}
|
|
357
|
-
function
|
|
357
|
+
function xu(n) {
|
|
358
358
|
var o = typeof n;
|
|
359
359
|
return o == "string" || o == "number" || o == "symbol" || o == "boolean" ? n !== "__proto__" : n === null;
|
|
360
360
|
}
|
|
361
|
-
function
|
|
362
|
-
var
|
|
363
|
-
return
|
|
361
|
+
function Tt(n, o) {
|
|
362
|
+
var c = n.__data__;
|
|
363
|
+
return xu(o) ? c[typeof o == "string" ? "string" : "hash"] : c.map;
|
|
364
364
|
}
|
|
365
|
-
function
|
|
366
|
-
var o =
|
|
365
|
+
function Pu(n) {
|
|
366
|
+
var o = Tt(this, n).delete(n);
|
|
367
367
|
return this.size -= o ? 1 : 0, o;
|
|
368
368
|
}
|
|
369
|
-
function
|
|
370
|
-
return
|
|
369
|
+
function wu(n) {
|
|
370
|
+
return Tt(this, n).get(n);
|
|
371
371
|
}
|
|
372
|
-
function
|
|
373
|
-
return
|
|
372
|
+
function Cu(n) {
|
|
373
|
+
return Tt(this, n).has(n);
|
|
374
374
|
}
|
|
375
|
-
function
|
|
376
|
-
var
|
|
377
|
-
return
|
|
375
|
+
function ku(n, o) {
|
|
376
|
+
var c = Tt(this, n), h = c.size;
|
|
377
|
+
return c.set(n, o), this.size += c.size == h ? 0 : 1, this;
|
|
378
378
|
}
|
|
379
|
-
function
|
|
380
|
-
var o = -1,
|
|
381
|
-
for (this.clear(); ++o <
|
|
379
|
+
function Ue(n) {
|
|
380
|
+
var o = -1, c = n == null ? 0 : n.length;
|
|
381
|
+
for (this.clear(); ++o < c; ) {
|
|
382
382
|
var h = n[o];
|
|
383
383
|
this.set(h[0], h[1]);
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
function
|
|
392
|
-
for (var
|
|
393
|
-
n[
|
|
386
|
+
Ue.prototype.clear = Su;
|
|
387
|
+
Ue.prototype.delete = Pu;
|
|
388
|
+
Ue.prototype.get = wu;
|
|
389
|
+
Ue.prototype.has = Cu;
|
|
390
|
+
Ue.prototype.set = ku;
|
|
391
|
+
function ci(n, o) {
|
|
392
|
+
for (var c = -1, h = o.length, _ = n.length; ++c < h; )
|
|
393
|
+
n[_ + c] = o[c];
|
|
394
394
|
return n;
|
|
395
395
|
}
|
|
396
|
-
var
|
|
397
|
-
function
|
|
398
|
-
this.__data__ = new
|
|
396
|
+
var fi = li(Object.getPrototypeOf, Object);
|
|
397
|
+
function Au() {
|
|
398
|
+
this.__data__ = new fe(), this.size = 0;
|
|
399
399
|
}
|
|
400
|
-
function
|
|
401
|
-
var o = this.__data__,
|
|
402
|
-
return this.size = o.size,
|
|
400
|
+
function Iu(n) {
|
|
401
|
+
var o = this.__data__, c = o.delete(n);
|
|
402
|
+
return this.size = o.size, c;
|
|
403
403
|
}
|
|
404
|
-
function
|
|
404
|
+
function Du(n) {
|
|
405
405
|
return this.__data__.get(n);
|
|
406
406
|
}
|
|
407
|
-
function
|
|
407
|
+
function Lu(n) {
|
|
408
408
|
return this.__data__.has(n);
|
|
409
409
|
}
|
|
410
|
-
var
|
|
411
|
-
function
|
|
412
|
-
var
|
|
413
|
-
if (
|
|
414
|
-
var h =
|
|
415
|
-
if (!
|
|
416
|
-
return h.push([n, o]), this.size = ++
|
|
417
|
-
|
|
410
|
+
var Mu = 200;
|
|
411
|
+
function Fu(n, o) {
|
|
412
|
+
var c = this.__data__;
|
|
413
|
+
if (c instanceof fe) {
|
|
414
|
+
var h = c.__data__;
|
|
415
|
+
if (!et || h.length < Mu - 1)
|
|
416
|
+
return h.push([n, o]), this.size = ++c.size, this;
|
|
417
|
+
c = this.__data__ = new Ue(h);
|
|
418
418
|
}
|
|
419
|
-
return
|
|
419
|
+
return c.set(n, o), this.size = c.size, this;
|
|
420
420
|
}
|
|
421
|
-
function
|
|
422
|
-
var o = this.__data__ = new
|
|
421
|
+
function je(n) {
|
|
422
|
+
var o = this.__data__ = new fe(n);
|
|
423
423
|
this.size = o.size;
|
|
424
424
|
}
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
function
|
|
431
|
-
return n &&
|
|
425
|
+
je.prototype.clear = Au;
|
|
426
|
+
je.prototype.delete = Iu;
|
|
427
|
+
je.prototype.get = Du;
|
|
428
|
+
je.prototype.has = Lu;
|
|
429
|
+
je.prototype.set = Fu;
|
|
430
|
+
function Uu(n, o) {
|
|
431
|
+
return n && Rt(o, yr(o), n);
|
|
432
432
|
}
|
|
433
|
-
function
|
|
434
|
-
return n &&
|
|
433
|
+
function ju(n, o) {
|
|
434
|
+
return n && Rt(o, mr(o), n);
|
|
435
435
|
}
|
|
436
|
-
var
|
|
437
|
-
function
|
|
436
|
+
var pi = typeof exports == "object" && exports && !exports.nodeType && exports, yn = pi && typeof module == "object" && module && !module.nodeType && module, Bu = yn && yn.exports === pi, mn = Bu ? ne.Buffer : void 0, _n = mn ? mn.allocUnsafe : void 0;
|
|
437
|
+
function $u(n, o) {
|
|
438
438
|
if (o)
|
|
439
439
|
return n.slice();
|
|
440
|
-
var
|
|
440
|
+
var c = n.length, h = _n ? _n(c) : new n.constructor(c);
|
|
441
441
|
return n.copy(h), h;
|
|
442
442
|
}
|
|
443
|
-
function
|
|
444
|
-
for (var
|
|
445
|
-
var m = n[
|
|
446
|
-
o(m,
|
|
443
|
+
function Vu(n, o) {
|
|
444
|
+
for (var c = -1, h = n == null ? 0 : n.length, _ = 0, b = []; ++c < h; ) {
|
|
445
|
+
var m = n[c];
|
|
446
|
+
o(m, c, n) && (b[_++] = m);
|
|
447
447
|
}
|
|
448
|
-
return
|
|
448
|
+
return b;
|
|
449
449
|
}
|
|
450
|
-
function
|
|
450
|
+
function di() {
|
|
451
451
|
return [];
|
|
452
452
|
}
|
|
453
|
-
var
|
|
454
|
-
return n == null ? [] : (n = Object(n),
|
|
455
|
-
return
|
|
453
|
+
var Gu = Object.prototype, Yu = Gu.propertyIsEnumerable, gn = Object.getOwnPropertySymbols, _r = gn ? function(n) {
|
|
454
|
+
return n == null ? [] : (n = Object(n), Vu(gn(n), function(o) {
|
|
455
|
+
return Yu.call(n, o);
|
|
456
456
|
}));
|
|
457
|
-
} :
|
|
458
|
-
function
|
|
459
|
-
return
|
|
457
|
+
} : di;
|
|
458
|
+
function zu(n, o) {
|
|
459
|
+
return Rt(n, _r(n), o);
|
|
460
460
|
}
|
|
461
|
-
var
|
|
461
|
+
var Xu = Object.getOwnPropertySymbols, hi = Xu ? function(n) {
|
|
462
462
|
for (var o = []; n; )
|
|
463
|
-
|
|
463
|
+
ci(o, _r(n)), n = fi(n);
|
|
464
464
|
return o;
|
|
465
|
-
} :
|
|
466
|
-
function
|
|
467
|
-
return
|
|
465
|
+
} : di;
|
|
466
|
+
function Wu(n, o) {
|
|
467
|
+
return Rt(n, hi(n), o);
|
|
468
468
|
}
|
|
469
|
-
function
|
|
469
|
+
function vi(n, o, c) {
|
|
470
470
|
var h = o(n);
|
|
471
|
-
return
|
|
471
|
+
return dr(n) ? h : ci(h, c(n));
|
|
472
472
|
}
|
|
473
|
-
function
|
|
474
|
-
return
|
|
473
|
+
function Ju(n) {
|
|
474
|
+
return vi(n, yr, _r);
|
|
475
475
|
}
|
|
476
|
-
function
|
|
477
|
-
return
|
|
476
|
+
function Hu(n) {
|
|
477
|
+
return vi(n, mr, hi);
|
|
478
478
|
}
|
|
479
|
-
var
|
|
480
|
-
(
|
|
481
|
-
var o =
|
|
479
|
+
var Zt = Se(ne, "DataView"), Qt = Se(ne, "Promise"), er = Se(ne, "Set"), bn = "[object Map]", Ku = "[object Object]", En = "[object Promise]", Rn = "[object Set]", On = "[object WeakMap]", Tn = "[object DataView]", qu = Ne(Zt), Zu = Ne(et), Qu = Ne(Qt), es = Ne(er), ts = Ne(qt), le = tt;
|
|
480
|
+
(Zt && le(new Zt(new ArrayBuffer(1))) != Tn || et && le(new et()) != bn || Qt && le(Qt.resolve()) != En || er && le(new er()) != Rn || qt && le(new qt()) != On) && (le = function(n) {
|
|
481
|
+
var o = tt(n), c = o == Ku ? n.constructor : void 0, h = c ? Ne(c) : "";
|
|
482
482
|
if (h)
|
|
483
483
|
switch (h) {
|
|
484
|
-
case
|
|
485
|
-
return
|
|
486
|
-
case
|
|
484
|
+
case qu:
|
|
485
|
+
return Tn;
|
|
486
|
+
case Zu:
|
|
487
|
+
return bn;
|
|
488
|
+
case Qu:
|
|
489
|
+
return En;
|
|
490
|
+
case es:
|
|
487
491
|
return Rn;
|
|
488
|
-
case
|
|
492
|
+
case ts:
|
|
489
493
|
return On;
|
|
490
|
-
case Ku:
|
|
491
|
-
return Tn;
|
|
492
|
-
case qu:
|
|
493
|
-
return Nn;
|
|
494
494
|
}
|
|
495
495
|
return o;
|
|
496
496
|
});
|
|
497
|
-
var
|
|
498
|
-
function
|
|
499
|
-
var o = n.length,
|
|
500
|
-
return o && typeof n[0] == "string" &&
|
|
497
|
+
var rs = Object.prototype, ns = rs.hasOwnProperty;
|
|
498
|
+
function is(n) {
|
|
499
|
+
var o = n.length, c = new n.constructor(o);
|
|
500
|
+
return o && typeof n[0] == "string" && ns.call(n, "index") && (c.index = n.index, c.input = n.input), c;
|
|
501
501
|
}
|
|
502
|
-
var
|
|
503
|
-
function
|
|
502
|
+
var Nn = ne.Uint8Array;
|
|
503
|
+
function gr(n) {
|
|
504
504
|
var o = new n.constructor(n.byteLength);
|
|
505
|
-
return new
|
|
505
|
+
return new Nn(o).set(new Nn(n)), o;
|
|
506
506
|
}
|
|
507
|
-
function
|
|
508
|
-
var
|
|
509
|
-
return new n.constructor(
|
|
507
|
+
function as(n, o) {
|
|
508
|
+
var c = o ? gr(n.buffer) : n.buffer;
|
|
509
|
+
return new n.constructor(c, n.byteOffset, n.byteLength);
|
|
510
510
|
}
|
|
511
|
-
var
|
|
512
|
-
function
|
|
513
|
-
var o = new n.constructor(n.source,
|
|
511
|
+
var os = /\w*$/;
|
|
512
|
+
function us(n) {
|
|
513
|
+
var o = new n.constructor(n.source, os.exec(n));
|
|
514
514
|
return o.lastIndex = n.lastIndex, o;
|
|
515
515
|
}
|
|
516
|
-
var
|
|
517
|
-
function
|
|
518
|
-
return
|
|
516
|
+
var Sn = De ? De.prototype : void 0, xn = Sn ? Sn.valueOf : void 0;
|
|
517
|
+
function ss(n) {
|
|
518
|
+
return xn ? Object(xn.call(n)) : {};
|
|
519
519
|
}
|
|
520
|
-
function
|
|
521
|
-
var
|
|
522
|
-
return new n.constructor(
|
|
520
|
+
function ls(n, o) {
|
|
521
|
+
var c = o ? gr(n.buffer) : n.buffer;
|
|
522
|
+
return new n.constructor(c, n.byteOffset, n.length);
|
|
523
523
|
}
|
|
524
|
-
var
|
|
525
|
-
function
|
|
524
|
+
var cs = "[object Boolean]", fs = "[object Date]", ps = "[object Map]", ds = "[object Number]", hs = "[object RegExp]", vs = "[object Set]", ys = "[object String]", ms = "[object Symbol]", _s = "[object ArrayBuffer]", gs = "[object DataView]", bs = "[object Float32Array]", Es = "[object Float64Array]", Rs = "[object Int8Array]", Os = "[object Int16Array]", Ts = "[object Int32Array]", Ns = "[object Uint8Array]", Ss = "[object Uint8ClampedArray]", xs = "[object Uint16Array]", Ps = "[object Uint32Array]";
|
|
525
|
+
function ws(n, o, c) {
|
|
526
526
|
var h = n.constructor;
|
|
527
527
|
switch (o) {
|
|
528
|
-
case
|
|
529
|
-
return
|
|
530
|
-
case
|
|
531
|
-
case
|
|
528
|
+
case _s:
|
|
529
|
+
return gr(n);
|
|
530
|
+
case cs:
|
|
531
|
+
case fs:
|
|
532
532
|
return new h(+n);
|
|
533
|
-
case vs:
|
|
534
|
-
return ts(n, f);
|
|
535
|
-
case ys:
|
|
536
|
-
case ms:
|
|
537
533
|
case gs:
|
|
538
|
-
|
|
534
|
+
return as(n, c);
|
|
539
535
|
case bs:
|
|
540
536
|
case Es:
|
|
541
537
|
case Rs:
|
|
542
538
|
case Os:
|
|
543
539
|
case Ts:
|
|
544
|
-
|
|
545
|
-
case
|
|
546
|
-
|
|
547
|
-
case
|
|
540
|
+
case Ns:
|
|
541
|
+
case Ss:
|
|
542
|
+
case xs:
|
|
543
|
+
case Ps:
|
|
544
|
+
return ls(n, c);
|
|
548
545
|
case ps:
|
|
549
|
-
return new h(n);
|
|
550
|
-
case cs:
|
|
551
|
-
return ns(n);
|
|
552
|
-
case fs:
|
|
553
546
|
return new h();
|
|
554
547
|
case ds:
|
|
555
|
-
|
|
548
|
+
case ys:
|
|
549
|
+
return new h(n);
|
|
550
|
+
case hs:
|
|
551
|
+
return us(n);
|
|
552
|
+
case vs:
|
|
553
|
+
return new h();
|
|
554
|
+
case ms:
|
|
555
|
+
return ss(n);
|
|
556
556
|
}
|
|
557
557
|
}
|
|
558
|
-
function
|
|
559
|
-
return typeof n.constructor == "function" && !
|
|
558
|
+
function Cs(n) {
|
|
559
|
+
return typeof n.constructor == "function" && !hr(n) ? oo(fi(n)) : {};
|
|
560
560
|
}
|
|
561
|
-
var
|
|
562
|
-
function
|
|
563
|
-
return
|
|
561
|
+
var ks = "[object Map]";
|
|
562
|
+
function As(n) {
|
|
563
|
+
return rt(n) && le(n) == ks;
|
|
564
564
|
}
|
|
565
|
-
var
|
|
566
|
-
function
|
|
567
|
-
return
|
|
565
|
+
var Pn = Le && Le.isMap, Is = Pn ? vr(Pn) : As, Ds = "[object Set]";
|
|
566
|
+
function Ls(n) {
|
|
567
|
+
return rt(n) && le(n) == Ds;
|
|
568
568
|
}
|
|
569
|
-
var
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
function
|
|
573
|
-
var m,
|
|
569
|
+
var wn = Le && Le.isSet, Ms = wn ? vr(wn) : Ls, Fs = 1, Us = 2, js = 4, yi = "[object Arguments]", Bs = "[object Array]", $s = "[object Boolean]", Vs = "[object Date]", Gs = "[object Error]", mi = "[object Function]", Ys = "[object GeneratorFunction]", zs = "[object Map]", Xs = "[object Number]", _i = "[object Object]", Ws = "[object RegExp]", Js = "[object Set]", Hs = "[object String]", Ks = "[object Symbol]", qs = "[object WeakMap]", Zs = "[object ArrayBuffer]", Qs = "[object DataView]", el = "[object Float32Array]", tl = "[object Float64Array]", rl = "[object Int8Array]", nl = "[object Int16Array]", il = "[object Int32Array]", al = "[object Uint8Array]", ol = "[object Uint8ClampedArray]", ul = "[object Uint16Array]", sl = "[object Uint32Array]", M = {};
|
|
570
|
+
M[yi] = M[Bs] = M[Zs] = M[Qs] = M[$s] = M[Vs] = M[el] = M[tl] = M[rl] = M[nl] = M[il] = M[zs] = M[Xs] = M[_i] = M[Ws] = M[Js] = M[Hs] = M[Ks] = M[al] = M[ol] = M[ul] = M[sl] = !0;
|
|
571
|
+
M[Gs] = M[mi] = M[qs] = !1;
|
|
572
|
+
function mt(n, o, c, h, _, b) {
|
|
573
|
+
var m, R = o & Fs, O = o & Us, r = o & js;
|
|
574
574
|
if (m !== void 0)
|
|
575
575
|
return m;
|
|
576
|
-
if (!
|
|
576
|
+
if (!nt(n))
|
|
577
577
|
return n;
|
|
578
|
-
var t =
|
|
578
|
+
var t = dr(n);
|
|
579
579
|
if (t) {
|
|
580
|
-
if (m =
|
|
581
|
-
return
|
|
580
|
+
if (m = is(n), !R)
|
|
581
|
+
return uo(n, m);
|
|
582
582
|
} else {
|
|
583
|
-
var e =
|
|
584
|
-
if (
|
|
585
|
-
return
|
|
586
|
-
if (e ==
|
|
587
|
-
if (m =
|
|
588
|
-
return
|
|
583
|
+
var e = le(n), i = e == mi || e == Ys;
|
|
584
|
+
if (oi(n))
|
|
585
|
+
return $u(n, R);
|
|
586
|
+
if (e == _i || e == yi || i && !_) {
|
|
587
|
+
if (m = O || i ? {} : Cs(n), !R)
|
|
588
|
+
return O ? Wu(n, ju(m, n)) : zu(n, Uu(m, n));
|
|
589
589
|
} else {
|
|
590
|
-
if (!
|
|
591
|
-
return
|
|
592
|
-
m =
|
|
590
|
+
if (!M[e])
|
|
591
|
+
return _ ? n : {};
|
|
592
|
+
m = ws(n, e, R);
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
|
-
|
|
596
|
-
var u =
|
|
595
|
+
b || (b = new je());
|
|
596
|
+
var u = b.get(n);
|
|
597
597
|
if (u)
|
|
598
598
|
return u;
|
|
599
|
-
|
|
600
|
-
m.add(
|
|
601
|
-
}) :
|
|
602
|
-
m.set(p,
|
|
599
|
+
b.set(n, m), Ms(n) ? n.forEach(function(a) {
|
|
600
|
+
m.add(mt(a, o, c, a, n, b));
|
|
601
|
+
}) : Is(n) && n.forEach(function(a, p) {
|
|
602
|
+
m.set(p, mt(a, o, c, p, n, b));
|
|
603
603
|
});
|
|
604
|
-
var s = r ?
|
|
605
|
-
return
|
|
606
|
-
l && (p = a, a = n[p]),
|
|
604
|
+
var s = r ? O ? Hu : Ju : O ? mr : yr, l = t ? void 0 : s(n);
|
|
605
|
+
return so(l || n, function(a, p) {
|
|
606
|
+
l && (p = a, a = n[p]), ti(m, p, mt(a, o, c, p, n, b));
|
|
607
607
|
}), m;
|
|
608
608
|
}
|
|
609
|
-
var
|
|
610
|
-
function
|
|
611
|
-
return
|
|
609
|
+
var ll = 1, cl = 4;
|
|
610
|
+
function _t(n) {
|
|
611
|
+
return mt(n, ll | cl);
|
|
612
612
|
}
|
|
613
|
-
function
|
|
613
|
+
function fl(n, o) {
|
|
614
614
|
if (n === "page") {
|
|
615
615
|
if (o == "common")
|
|
616
616
|
return "pageCommon";
|
|
@@ -622,205 +622,211 @@ function ul(n, o) {
|
|
|
622
622
|
} else
|
|
623
623
|
console.assert(!1);
|
|
624
624
|
}
|
|
625
|
-
function
|
|
626
|
-
return n.array ?
|
|
625
|
+
function Cn(n, o) {
|
|
626
|
+
return n.array ? _t(o ? n.default : n.defaultArray) : _t(n.default);
|
|
627
627
|
}
|
|
628
|
-
function
|
|
629
|
-
function
|
|
630
|
-
if (
|
|
631
|
-
if (
|
|
628
|
+
function kn(n, o) {
|
|
629
|
+
function c(h, _) {
|
|
630
|
+
if (_.ui) {
|
|
631
|
+
if (_.ui === "strInput" && _.static)
|
|
632
632
|
return;
|
|
633
|
-
h[
|
|
633
|
+
h[_.key] = Cn(_);
|
|
634
634
|
} else
|
|
635
|
-
|
|
636
|
-
h[
|
|
635
|
+
_.array ? h[_.key] = Cn(_) : _.children.forEach((b) => {
|
|
636
|
+
h[_.key] = {}, c(h[_.key], b);
|
|
637
637
|
});
|
|
638
638
|
}
|
|
639
|
-
o.forEach((h) =>
|
|
639
|
+
o.forEach((h) => c(n, h));
|
|
640
640
|
}
|
|
641
|
-
function
|
|
642
|
-
const
|
|
641
|
+
function pl(n, o, c, h, _) {
|
|
642
|
+
const b = `type=${n} subtype=${o} version=${c} ref=${h} keyOrRefid=${_}`, m = fl(n, o);
|
|
643
643
|
if (!m) {
|
|
644
|
-
console.error(`spawnNode prop tag not found, ${
|
|
644
|
+
console.error(`spawnNode prop tag not found, ${b}`);
|
|
645
645
|
return;
|
|
646
646
|
}
|
|
647
|
-
const
|
|
648
|
-
if (!
|
|
649
|
-
console.error(`spawnNode pkg not found version, ${
|
|
647
|
+
const R = Ii[c];
|
|
648
|
+
if (!R) {
|
|
649
|
+
console.error(`spawnNode pkg not found version, ${b}`);
|
|
650
650
|
return;
|
|
651
651
|
}
|
|
652
|
-
const
|
|
652
|
+
const O = {
|
|
653
653
|
basic: {
|
|
654
654
|
id: "",
|
|
655
655
|
key: ""
|
|
656
656
|
}
|
|
657
|
-
}, r =
|
|
657
|
+
}, r = Hn(16);
|
|
658
658
|
if (h) {
|
|
659
|
-
const t =
|
|
660
|
-
if (!
|
|
661
|
-
console.error(`spawnNode [ref] element not found in pkg, ${
|
|
659
|
+
const t = R.refKey, e = _;
|
|
660
|
+
if (!R.elements.has(t)) {
|
|
661
|
+
console.error(`spawnNode [ref] element not found in pkg, ${b}`);
|
|
662
662
|
return;
|
|
663
663
|
}
|
|
664
|
-
const i =
|
|
664
|
+
const i = Me[t];
|
|
665
665
|
if (!i) {
|
|
666
|
-
console.error(`spawnNode [ref] element not found in global, ${
|
|
666
|
+
console.error(`spawnNode [ref] element not found in global, ${b}`);
|
|
667
667
|
return;
|
|
668
668
|
}
|
|
669
669
|
const u = i.props[m];
|
|
670
670
|
if (!u) {
|
|
671
|
-
console.error(`spawnNode [ref] props not found, ${
|
|
671
|
+
console.error(`spawnNode [ref] props not found, ${b}`);
|
|
672
672
|
return;
|
|
673
673
|
}
|
|
674
|
-
|
|
674
|
+
kn(O, u), O.basic.id = r, O.basic.key = t, O.ref = {
|
|
675
675
|
id: e
|
|
676
676
|
};
|
|
677
677
|
} else {
|
|
678
|
-
const t =
|
|
679
|
-
if (!
|
|
680
|
-
console.error(`spawnNode [key] element not found in pkg, ${
|
|
678
|
+
const t = _;
|
|
679
|
+
if (!R.elements.has(t)) {
|
|
680
|
+
console.error(`spawnNode [key] element not found in pkg, ${b}`);
|
|
681
681
|
return;
|
|
682
682
|
}
|
|
683
|
-
const e =
|
|
683
|
+
const e = Me[t];
|
|
684
684
|
if (!e) {
|
|
685
|
-
console.error(`spawnNode [key] element not found in global, ${
|
|
685
|
+
console.error(`spawnNode [key] element not found in global, ${b}`);
|
|
686
686
|
return;
|
|
687
687
|
}
|
|
688
688
|
const i = e.props[m];
|
|
689
689
|
if (!i) {
|
|
690
|
-
console.error(`spawnNode [key] props not found, ${
|
|
690
|
+
console.error(`spawnNode [key] props not found, ${b}`);
|
|
691
691
|
return;
|
|
692
692
|
}
|
|
693
|
-
|
|
693
|
+
kn(O, i), O.basic.id = r, O.basic.key = t, e.slots.some((u) => u.key === "default") && (O.children = []);
|
|
694
694
|
}
|
|
695
|
-
return
|
|
695
|
+
return O;
|
|
696
696
|
}
|
|
697
|
-
function
|
|
698
|
-
function
|
|
697
|
+
function Ec(n, o) {
|
|
698
|
+
function c(h) {
|
|
699
699
|
if (h.basic.id === o)
|
|
700
700
|
return h;
|
|
701
701
|
if (h.children)
|
|
702
|
-
for (let
|
|
703
|
-
const
|
|
704
|
-
if (
|
|
705
|
-
return
|
|
702
|
+
for (let _ = 0; _ < h.children.length; _++) {
|
|
703
|
+
const b = c(h.children[_]);
|
|
704
|
+
if (b)
|
|
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 _ = c(n[h]);
|
|
710
|
+
if (_)
|
|
711
|
+
return _;
|
|
712
712
|
}
|
|
713
713
|
}
|
|
714
|
-
function
|
|
714
|
+
function dl(n) {
|
|
715
715
|
function o(h) {
|
|
716
|
-
var
|
|
717
|
-
h.basic.id =
|
|
716
|
+
var _;
|
|
717
|
+
h.basic.id = Hn(16), (_ = h.children) == null || _.forEach((b) => o(b));
|
|
718
718
|
}
|
|
719
|
-
const
|
|
720
|
-
return o(
|
|
719
|
+
const c = _t(n);
|
|
720
|
+
return o(c), c;
|
|
721
721
|
}
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
722
|
+
function Rc(n) {
|
|
723
|
+
const o = [];
|
|
724
|
+
return n.forEach((c) => {
|
|
725
|
+
o.push(dl(c));
|
|
726
|
+
}), o;
|
|
725
727
|
}
|
|
726
|
-
|
|
727
|
-
|
|
728
|
+
const gi = "runtimeEnv", bi = "runtimeMode", Ei = "runtimeDevice", Ri = "runtimeDark", Oi = "runtimeType", Ti = "runtimeData", Ni = "runtimeDepends", Si = "runtimeInterpreter";
|
|
729
|
+
function Oc(n) {
|
|
730
|
+
ye(gi, n);
|
|
728
731
|
}
|
|
729
|
-
function
|
|
730
|
-
|
|
732
|
+
function hl() {
|
|
733
|
+
return me(gi);
|
|
731
734
|
}
|
|
732
|
-
function
|
|
733
|
-
|
|
735
|
+
function Tc(n) {
|
|
736
|
+
ye(bi, n);
|
|
734
737
|
}
|
|
735
|
-
function
|
|
736
|
-
|
|
738
|
+
function _e() {
|
|
739
|
+
return me(bi);
|
|
737
740
|
}
|
|
738
|
-
function
|
|
739
|
-
|
|
741
|
+
function Nc(n) {
|
|
742
|
+
ye(Ei, Et(n));
|
|
740
743
|
}
|
|
741
|
-
function
|
|
742
|
-
|
|
744
|
+
function xi() {
|
|
745
|
+
return me(Ei);
|
|
743
746
|
}
|
|
744
|
-
function
|
|
745
|
-
|
|
747
|
+
function Sc(n) {
|
|
748
|
+
ye(Ri, Et(n));
|
|
746
749
|
}
|
|
747
|
-
function
|
|
748
|
-
|
|
750
|
+
function Be() {
|
|
751
|
+
return me(Ri);
|
|
749
752
|
}
|
|
750
|
-
function
|
|
751
|
-
|
|
753
|
+
function xc(n) {
|
|
754
|
+
ye(Oi, n);
|
|
752
755
|
}
|
|
753
|
-
function
|
|
754
|
-
|
|
756
|
+
function Pi() {
|
|
757
|
+
return me(Oi);
|
|
758
|
+
}
|
|
759
|
+
function Pc(n) {
|
|
760
|
+
console.assert(Wn(n)), ye(Ti, Et(n));
|
|
755
761
|
}
|
|
756
762
|
function wi() {
|
|
757
|
-
return
|
|
763
|
+
return me(Ti);
|
|
758
764
|
}
|
|
759
|
-
function
|
|
760
|
-
console.assert(
|
|
765
|
+
function wc(n) {
|
|
766
|
+
console.assert(Wn(n)), ye(Ni, Et(n));
|
|
761
767
|
}
|
|
762
|
-
function
|
|
763
|
-
return
|
|
768
|
+
function vl() {
|
|
769
|
+
return me(Ni);
|
|
764
770
|
}
|
|
765
|
-
function
|
|
766
|
-
|
|
771
|
+
function yl(n) {
|
|
772
|
+
ye(Si, n);
|
|
767
773
|
}
|
|
768
|
-
function
|
|
769
|
-
return
|
|
774
|
+
function ml() {
|
|
775
|
+
return me(Si);
|
|
770
776
|
}
|
|
771
|
-
const
|
|
777
|
+
const _l = /* @__PURE__ */ re({
|
|
772
778
|
__name: "index",
|
|
773
779
|
props: {
|
|
774
780
|
node: {},
|
|
775
781
|
outer: { type: Boolean }
|
|
776
782
|
},
|
|
777
783
|
setup(n) {
|
|
778
|
-
const o = n,
|
|
784
|
+
const o = n, c = _e(), h = Be(), _ = ml(), b = N(() => {
|
|
779
785
|
var i;
|
|
780
786
|
return (i = o.node.settings) == null ? void 0 : i.text;
|
|
781
787
|
}), m = N(() => {
|
|
782
788
|
var i;
|
|
783
789
|
return (i = o.node.settings) == null ? void 0 : i.disabled;
|
|
784
|
-
}),
|
|
790
|
+
}), R = N(() => {
|
|
785
791
|
var i;
|
|
786
792
|
return (i = o.node.settings) == null ? void 0 : i.variant;
|
|
787
|
-
}),
|
|
793
|
+
}), O = N(() => {
|
|
788
794
|
var i;
|
|
789
795
|
return (i = o.node.settings) == null ? void 0 : i.density;
|
|
790
796
|
}), r = N(() => {
|
|
791
797
|
var i;
|
|
792
798
|
return (i = o.node.settings) == null ? void 0 : i.block;
|
|
793
799
|
}), t = N(() => h.value ? "dark" : "light"), e = () => {
|
|
794
|
-
if (
|
|
800
|
+
if (c !== "runtime" || !_)
|
|
795
801
|
return;
|
|
796
|
-
const i =
|
|
797
|
-
|
|
802
|
+
const i = _.nativeToPseudo(o.node.basic.id);
|
|
803
|
+
_.appendCode(`__triggerEvent__('${i}', 'click');`), _.run();
|
|
798
804
|
};
|
|
799
805
|
return (i, u) => {
|
|
800
|
-
const s =
|
|
801
|
-
return J(),
|
|
802
|
-
text:
|
|
806
|
+
const s = Te("v-btn");
|
|
807
|
+
return J(), ce(s, {
|
|
808
|
+
text: b.value,
|
|
803
809
|
disabled: m.value,
|
|
804
|
-
variant:
|
|
805
|
-
density:
|
|
810
|
+
variant: R.value,
|
|
811
|
+
density: O.value,
|
|
806
812
|
block: r.value,
|
|
807
813
|
theme: t.value,
|
|
808
814
|
onClick: e
|
|
809
815
|
}, null, 8, ["text", "disabled", "variant", "density", "block", "theme"]);
|
|
810
816
|
};
|
|
811
817
|
}
|
|
812
|
-
}),
|
|
818
|
+
}), gl = [
|
|
813
819
|
{ title: "x-runtime-lib.elevated", value: "elevated" },
|
|
814
820
|
{ title: "x-runtime-lib.flat", value: "flat" },
|
|
815
821
|
{ title: "x-runtime-lib.tonal", value: "tonal" },
|
|
816
822
|
{ title: "x-runtime-lib.outlined", value: "outlined" },
|
|
817
823
|
{ title: "x-runtime-lib.text", value: "text" },
|
|
818
824
|
{ title: "x-runtime-lib.plain", value: "plain" }
|
|
819
|
-
],
|
|
825
|
+
], Ci = [
|
|
820
826
|
{ title: "x-runtime-lib.default", value: "default" },
|
|
821
827
|
{ title: "x-runtime-lib.comfortable", value: "comfortable" },
|
|
822
828
|
{ title: "x-runtime-lib.compact", value: "compact" }
|
|
823
|
-
],
|
|
829
|
+
], tr = "btn_v1", rr = "combobox_v1", nr = "container_v1", ir = "data_table_v1", ar = "dialog_v1", or = "globality_v1", ur = "number_input_v1", gt = "ref_v1", sr = "select_v1", lr = "text_field_v1", Y = {
|
|
824
830
|
key: "basic",
|
|
825
831
|
name: "x-runtime-lib.basic",
|
|
826
832
|
children: [
|
|
@@ -845,7 +851,7 @@ const dl = /* @__PURE__ */ oe({
|
|
|
845
851
|
default: ""
|
|
846
852
|
}
|
|
847
853
|
]
|
|
848
|
-
},
|
|
854
|
+
}, An = {
|
|
849
855
|
key: "settings",
|
|
850
856
|
name: "x-runtime-lib.settings",
|
|
851
857
|
children: [
|
|
@@ -865,14 +871,14 @@ const dl = /* @__PURE__ */ oe({
|
|
|
865
871
|
key: "variant",
|
|
866
872
|
name: "x-runtime-lib.variant",
|
|
867
873
|
ui: "select",
|
|
868
|
-
items:
|
|
874
|
+
items: gl,
|
|
869
875
|
default: "elevated"
|
|
870
876
|
},
|
|
871
877
|
{
|
|
872
878
|
key: "density",
|
|
873
879
|
name: "x-runtime-lib.density",
|
|
874
880
|
ui: "select",
|
|
875
|
-
items:
|
|
881
|
+
items: Ci,
|
|
876
882
|
default: "default"
|
|
877
883
|
},
|
|
878
884
|
{
|
|
@@ -882,10 +888,10 @@ const dl = /* @__PURE__ */ oe({
|
|
|
882
888
|
default: !1
|
|
883
889
|
}
|
|
884
890
|
]
|
|
885
|
-
},
|
|
886
|
-
key:
|
|
891
|
+
}, bl = {
|
|
892
|
+
key: tr,
|
|
887
893
|
name: "x-runtime-lib.button",
|
|
888
|
-
comp:
|
|
894
|
+
comp: _l,
|
|
889
895
|
slots: [],
|
|
890
896
|
events: [
|
|
891
897
|
{
|
|
@@ -896,60 +902,60 @@ const dl = /* @__PURE__ */ oe({
|
|
|
896
902
|
],
|
|
897
903
|
methods: [],
|
|
898
904
|
props: {
|
|
899
|
-
pageCommon: [
|
|
900
|
-
compCommon: [
|
|
905
|
+
pageCommon: [Y, An],
|
|
906
|
+
compCommon: [Y, An]
|
|
901
907
|
}
|
|
902
|
-
},
|
|
908
|
+
}, El = { key: 0 }, Rl = /* @__PURE__ */ re({
|
|
903
909
|
__name: "index",
|
|
904
910
|
props: {
|
|
905
911
|
node: {},
|
|
906
912
|
outer: { type: Boolean }
|
|
907
913
|
},
|
|
908
914
|
setup(n) {
|
|
909
|
-
const o = n,
|
|
915
|
+
const o = n, c = _e(), h = Be(), _ = N(() => {
|
|
910
916
|
var e;
|
|
911
917
|
return (e = o.node.settings) == null ? void 0 : e.value;
|
|
912
|
-
}),
|
|
918
|
+
}), b = N(() => {
|
|
913
919
|
var e;
|
|
914
920
|
return (e = o.node.settings) == null ? void 0 : e.label;
|
|
915
921
|
}), m = N(() => {
|
|
916
922
|
var e;
|
|
917
923
|
return (e = o.node.settings) == null ? void 0 : e.placeholder;
|
|
918
|
-
}),
|
|
924
|
+
}), R = N(() => {
|
|
919
925
|
var e;
|
|
920
926
|
return (e = o.node.settings) == null ? void 0 : e.hideDetails;
|
|
921
|
-
}),
|
|
927
|
+
}), O = N(() => {
|
|
922
928
|
var e;
|
|
923
929
|
return (e = o.node.settings) == null ? void 0 : e.singleLine;
|
|
924
930
|
}), r = N(() => {
|
|
925
931
|
var e;
|
|
926
|
-
return
|
|
932
|
+
return c !== "runtime" ? !0 : (e = o.node.settings) == null ? void 0 : e.readonly;
|
|
927
933
|
}), t = N(() => h.value ? "dark" : "light");
|
|
928
934
|
return (e, i) => {
|
|
929
|
-
const u =
|
|
930
|
-
return
|
|
931
|
-
|
|
932
|
-
"model-value":
|
|
933
|
-
label:
|
|
935
|
+
const u = Te("v-combobox");
|
|
936
|
+
return Ie(c) === "editor" ? (J(), Fe("div", El, [
|
|
937
|
+
K(u, {
|
|
938
|
+
"model-value": _.value,
|
|
939
|
+
label: b.value,
|
|
934
940
|
placeholder: m.value,
|
|
935
|
-
"hide-details":
|
|
936
|
-
"single-line":
|
|
941
|
+
"hide-details": R.value,
|
|
942
|
+
"single-line": O.value,
|
|
937
943
|
readonly: r.value,
|
|
938
944
|
theme: t.value
|
|
939
945
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
940
|
-
])) : (J(),
|
|
946
|
+
])) : (J(), ce(u, {
|
|
941
947
|
key: 1,
|
|
942
|
-
"model-value":
|
|
943
|
-
label:
|
|
948
|
+
"model-value": _.value,
|
|
949
|
+
label: b.value,
|
|
944
950
|
placeholder: m.value,
|
|
945
|
-
"hide-details":
|
|
946
|
-
"single-line":
|
|
951
|
+
"hide-details": R.value,
|
|
952
|
+
"single-line": O.value,
|
|
947
953
|
readonly: r.value,
|
|
948
954
|
theme: t.value
|
|
949
955
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
950
956
|
};
|
|
951
957
|
}
|
|
952
|
-
}),
|
|
958
|
+
}), In = {
|
|
953
959
|
key: "settings",
|
|
954
960
|
name: "x-runtime-lib.settings",
|
|
955
961
|
children: [
|
|
@@ -990,145 +996,145 @@ const dl = /* @__PURE__ */ oe({
|
|
|
990
996
|
default: !1
|
|
991
997
|
}
|
|
992
998
|
]
|
|
993
|
-
},
|
|
994
|
-
key:
|
|
999
|
+
}, Ol = {
|
|
1000
|
+
key: rr,
|
|
995
1001
|
name: "x-runtime-lib.combobox",
|
|
996
|
-
comp:
|
|
1002
|
+
comp: Rl,
|
|
997
1003
|
slots: [],
|
|
998
1004
|
events: [],
|
|
999
1005
|
methods: [],
|
|
1000
1006
|
props: {
|
|
1001
|
-
pageCommon: [
|
|
1002
|
-
compCommon: [
|
|
1007
|
+
pageCommon: [Y, In],
|
|
1008
|
+
compCommon: [Y, In]
|
|
1003
1009
|
}
|
|
1004
1010
|
};
|
|
1005
|
-
function
|
|
1011
|
+
function ki(n, o, c) {
|
|
1006
1012
|
const h = N(() => {
|
|
1007
1013
|
var t;
|
|
1008
|
-
return (t =
|
|
1009
|
-
}), g = N(() => {
|
|
1010
|
-
var t;
|
|
1011
|
-
return (t = f.node.size) == null ? void 0 : t.minWidth;
|
|
1014
|
+
return (t = c.node.size) == null ? void 0 : t.width;
|
|
1012
1015
|
}), _ = N(() => {
|
|
1013
1016
|
var t;
|
|
1014
|
-
return (t =
|
|
1017
|
+
return (t = c.node.size) == null ? void 0 : t.minWidth;
|
|
1018
|
+
}), b = N(() => {
|
|
1019
|
+
var t;
|
|
1020
|
+
return (t = c.node.size) == null ? void 0 : t.maxWidth;
|
|
1015
1021
|
}), m = N(() => {
|
|
1016
1022
|
var t, e;
|
|
1017
|
-
if (
|
|
1018
|
-
const i =
|
|
1023
|
+
if (c.outer && n === "editor") {
|
|
1024
|
+
const i = Jt((t = c.node.size) == null ? void 0 : t.height);
|
|
1019
1025
|
if (i)
|
|
1020
1026
|
return i / 100 * o.value.height + "px";
|
|
1021
1027
|
}
|
|
1022
|
-
return (e =
|
|
1023
|
-
}),
|
|
1028
|
+
return (e = c.node.size) == null ? void 0 : e.height;
|
|
1029
|
+
}), R = N(() => {
|
|
1024
1030
|
var t, e;
|
|
1025
|
-
if (
|
|
1026
|
-
const i =
|
|
1031
|
+
if (c.outer && n === "editor") {
|
|
1032
|
+
const i = Jt((t = c.node.size) == null ? void 0 : t.minHeight);
|
|
1027
1033
|
if (i)
|
|
1028
1034
|
return i / 100 * o.value.height + "px";
|
|
1029
1035
|
}
|
|
1030
|
-
return (e =
|
|
1031
|
-
}),
|
|
1036
|
+
return (e = c.node.size) == null ? void 0 : e.minHeight;
|
|
1037
|
+
}), O = N(() => {
|
|
1032
1038
|
var t, e;
|
|
1033
|
-
if (
|
|
1034
|
-
const i =
|
|
1039
|
+
if (c.outer && n === "editor") {
|
|
1040
|
+
const i = Jt((t = c.node.size) == null ? void 0 : t.maxHeight);
|
|
1035
1041
|
if (i)
|
|
1036
1042
|
return i / 100 * o.value.height + "px";
|
|
1037
1043
|
}
|
|
1038
|
-
return (e =
|
|
1044
|
+
return (e = c.node.size) == null ? void 0 : e.maxHeight;
|
|
1039
1045
|
});
|
|
1040
1046
|
function r(t) {
|
|
1041
|
-
h.value && (t.width = h.value),
|
|
1047
|
+
h.value && (t.width = h.value), _.value && (t.minWidth = _.value), b.value && (t.maxWidth = b.value), m.value && (t.height = m.value), R.value && (t.minHeight = R.value), O.value && (t.maxHeight = O.value);
|
|
1042
1048
|
}
|
|
1043
|
-
return { width: h, minWidth:
|
|
1049
|
+
return { width: h, minWidth: _, maxWidth: b, height: m, minHeight: R, maxHeight: O, applySize: r };
|
|
1044
1050
|
}
|
|
1045
|
-
function
|
|
1051
|
+
function Tl(n) {
|
|
1046
1052
|
const o = N(() => {
|
|
1047
1053
|
var m;
|
|
1048
1054
|
return (m = n.node.margin) == null ? void 0 : m.top;
|
|
1049
|
-
}),
|
|
1055
|
+
}), c = N(() => {
|
|
1050
1056
|
var m;
|
|
1051
1057
|
return (m = n.node.margin) == null ? void 0 : m.left;
|
|
1052
1058
|
}), h = N(() => {
|
|
1053
1059
|
var m;
|
|
1054
1060
|
return (m = n.node.margin) == null ? void 0 : m.bottom;
|
|
1055
|
-
}),
|
|
1061
|
+
}), _ = N(() => {
|
|
1056
1062
|
var m;
|
|
1057
1063
|
return (m = n.node.margin) == null ? void 0 : m.right;
|
|
1058
1064
|
});
|
|
1059
|
-
function
|
|
1060
|
-
o.value && (m.marginTop = o.value),
|
|
1065
|
+
function b(m) {
|
|
1066
|
+
o.value && (m.marginTop = o.value), c.value && (m.marginLeft = c.value), h.value && (m.marginBottom = h.value), _.value && (m.marginRight = _.value);
|
|
1061
1067
|
}
|
|
1062
|
-
return { marginTop: o, marginLeft:
|
|
1068
|
+
return { marginTop: o, marginLeft: c, marginBottom: h, marginRight: _, applyMargin: b };
|
|
1063
1069
|
}
|
|
1064
|
-
function
|
|
1070
|
+
function Nl(n) {
|
|
1065
1071
|
const o = N(() => {
|
|
1066
1072
|
var m;
|
|
1067
1073
|
return (m = n.node.padding) == null ? void 0 : m.top;
|
|
1068
|
-
}),
|
|
1074
|
+
}), c = N(() => {
|
|
1069
1075
|
var m;
|
|
1070
1076
|
return (m = n.node.padding) == null ? void 0 : m.left;
|
|
1071
1077
|
}), h = N(() => {
|
|
1072
1078
|
var m;
|
|
1073
1079
|
return (m = n.node.padding) == null ? void 0 : m.bottom;
|
|
1074
|
-
}),
|
|
1080
|
+
}), _ = N(() => {
|
|
1075
1081
|
var m;
|
|
1076
1082
|
return (m = n.node.padding) == null ? void 0 : m.right;
|
|
1077
1083
|
});
|
|
1078
|
-
function
|
|
1079
|
-
o.value && (m.paddingTop = o.value),
|
|
1084
|
+
function b(m) {
|
|
1085
|
+
o.value && (m.paddingTop = o.value), c.value && (m.paddingLeft = c.value), h.value && (m.paddingBottom = h.value), _.value && (m.paddingRight = _.value);
|
|
1080
1086
|
}
|
|
1081
|
-
return { paddingTop: o, paddingLeft:
|
|
1087
|
+
return { paddingTop: o, paddingLeft: c, paddingBottom: h, paddingRight: _, applyPadding: b };
|
|
1082
1088
|
}
|
|
1083
|
-
function
|
|
1089
|
+
function Sl(n) {
|
|
1084
1090
|
const o = N(() => {
|
|
1085
|
-
var
|
|
1086
|
-
return (
|
|
1087
|
-
}),
|
|
1088
|
-
var
|
|
1089
|
-
return (
|
|
1091
|
+
var b;
|
|
1092
|
+
return (b = n.node.border) == null ? void 0 : b.style;
|
|
1093
|
+
}), c = N(() => {
|
|
1094
|
+
var b;
|
|
1095
|
+
return (b = n.node.border) == null ? void 0 : b.width;
|
|
1090
1096
|
}), h = N(() => {
|
|
1091
|
-
var
|
|
1092
|
-
return (
|
|
1097
|
+
var b;
|
|
1098
|
+
return (b = n.node.border) == null ? void 0 : b.color;
|
|
1093
1099
|
});
|
|
1094
|
-
function
|
|
1095
|
-
o.value && (
|
|
1100
|
+
function _(b) {
|
|
1101
|
+
o.value && (b.borderStyle = o.value), c.value && (b.borderWidth = c.value), h.value && (b.borderColor = h.value);
|
|
1096
1102
|
}
|
|
1097
|
-
return { borderStyle: o, borderWidth:
|
|
1103
|
+
return { borderStyle: o, borderWidth: c, borderColor: h, applyBorder: _ };
|
|
1098
1104
|
}
|
|
1099
|
-
const
|
|
1105
|
+
const xl = /* @__PURE__ */ re({
|
|
1100
1106
|
__name: "index",
|
|
1101
1107
|
props: {
|
|
1102
1108
|
node: {},
|
|
1103
1109
|
outer: { type: Boolean }
|
|
1104
1110
|
},
|
|
1105
1111
|
setup(n) {
|
|
1106
|
-
const o = n,
|
|
1107
|
-
const e = {}, i =
|
|
1108
|
-
return
|
|
1112
|
+
const o = n, c = _e(), h = xi(), _ = Pi(), b = wi(), { applySize: m } = ki(c, h, o), { applyMargin: R } = Tl(o), { applyPadding: O } = Nl(o), { applyBorder: r } = Sl(o), t = N(() => {
|
|
1113
|
+
const e = {}, i = b.type;
|
|
1114
|
+
return _ === "page" ? i === "common" ? (m(e), R(e), O(e), r(e)) : console.assert(!1) : _ === "comp" && i === "common" ? (m(e), R(e), O(e), r(e)) : console.assert(!1), e;
|
|
1109
1115
|
});
|
|
1110
|
-
return (e, i) => (J(),
|
|
1116
|
+
return (e, i) => (J(), Fe("div", {
|
|
1111
1117
|
style: ga(t.value)
|
|
1112
1118
|
}, [
|
|
1113
|
-
|
|
1119
|
+
Jn(e.$slots, "default")
|
|
1114
1120
|
], 4));
|
|
1115
1121
|
}
|
|
1116
|
-
}),
|
|
1122
|
+
}), Pl = [
|
|
1117
1123
|
{ title: "x-runtime-lib.default", value: "" },
|
|
1118
1124
|
{ title: "x-runtime-lib.solid", value: "solid" },
|
|
1119
1125
|
{ title: "x-runtime-lib.dashed", value: "dashed" },
|
|
1120
1126
|
{ title: "x-runtime-lib.dotted", value: "dotted" }
|
|
1121
|
-
],
|
|
1127
|
+
], q = [
|
|
1122
1128
|
{
|
|
1123
1129
|
name: "x-runtime-lib.default",
|
|
1124
1130
|
ui: "word",
|
|
1125
|
-
validator:
|
|
1131
|
+
validator: cr,
|
|
1126
1132
|
default: ""
|
|
1127
1133
|
},
|
|
1128
1134
|
{
|
|
1129
1135
|
name: "x-runtime-lib.pixel",
|
|
1130
1136
|
ui: "pixelInput",
|
|
1131
|
-
validator:
|
|
1137
|
+
validator: fr,
|
|
1132
1138
|
default: "0px",
|
|
1133
1139
|
precision: 0,
|
|
1134
1140
|
min: 0,
|
|
@@ -1138,14 +1144,14 @@ const Rl = /* @__PURE__ */ oe({
|
|
|
1138
1144
|
{
|
|
1139
1145
|
name: "x-runtime-lib.percent",
|
|
1140
1146
|
ui: "percentInput",
|
|
1141
|
-
validator:
|
|
1147
|
+
validator: pr,
|
|
1142
1148
|
default: "0%",
|
|
1143
1149
|
precision: 4,
|
|
1144
1150
|
min: 0,
|
|
1145
1151
|
max: 1 / 0,
|
|
1146
1152
|
step: 1
|
|
1147
1153
|
}
|
|
1148
|
-
],
|
|
1154
|
+
], Dn = {
|
|
1149
1155
|
key: "border",
|
|
1150
1156
|
name: "x-runtime-lib.border",
|
|
1151
1157
|
children: [
|
|
@@ -1153,7 +1159,7 @@ const Rl = /* @__PURE__ */ oe({
|
|
|
1153
1159
|
key: "style",
|
|
1154
1160
|
name: "x-runtime-lib.style",
|
|
1155
1161
|
ui: "select",
|
|
1156
|
-
items:
|
|
1162
|
+
items: Pl,
|
|
1157
1163
|
default: ""
|
|
1158
1164
|
},
|
|
1159
1165
|
{
|
|
@@ -1180,7 +1186,7 @@ const Rl = /* @__PURE__ */ oe({
|
|
|
1180
1186
|
key: "radius",
|
|
1181
1187
|
name: "x-runtime-lib.radius",
|
|
1182
1188
|
ui: "multiTypes",
|
|
1183
|
-
types:
|
|
1189
|
+
types: q,
|
|
1184
1190
|
default: ""
|
|
1185
1191
|
},
|
|
1186
1192
|
{
|
|
@@ -1210,11 +1216,11 @@ const Rl = /* @__PURE__ */ oe({
|
|
|
1210
1216
|
]
|
|
1211
1217
|
}
|
|
1212
1218
|
]
|
|
1213
|
-
},
|
|
1219
|
+
}, vt = [
|
|
1214
1220
|
{
|
|
1215
1221
|
name: "x-runtime-lib.default",
|
|
1216
1222
|
ui: "word",
|
|
1217
|
-
validator:
|
|
1223
|
+
validator: cr,
|
|
1218
1224
|
default: ""
|
|
1219
1225
|
},
|
|
1220
1226
|
{
|
|
@@ -1226,7 +1232,7 @@ const Rl = /* @__PURE__ */ oe({
|
|
|
1226
1232
|
{
|
|
1227
1233
|
name: "x-runtime-lib.pixel",
|
|
1228
1234
|
ui: "pixelInput",
|
|
1229
|
-
validator:
|
|
1235
|
+
validator: fr,
|
|
1230
1236
|
default: "0px",
|
|
1231
1237
|
precision: 0,
|
|
1232
1238
|
min: 0,
|
|
@@ -1236,14 +1242,14 @@ const Rl = /* @__PURE__ */ oe({
|
|
|
1236
1242
|
{
|
|
1237
1243
|
name: "x-runtime-lib.percent",
|
|
1238
1244
|
ui: "percentInput",
|
|
1239
|
-
validator:
|
|
1245
|
+
validator: pr,
|
|
1240
1246
|
default: "0%",
|
|
1241
1247
|
precision: 4,
|
|
1242
1248
|
min: 0,
|
|
1243
1249
|
max: 1 / 0,
|
|
1244
1250
|
step: 1
|
|
1245
1251
|
}
|
|
1246
|
-
],
|
|
1252
|
+
], Ln = {
|
|
1247
1253
|
key: "margin",
|
|
1248
1254
|
name: "x-runtime-lib.margin",
|
|
1249
1255
|
children: [
|
|
@@ -1251,42 +1257,42 @@ const Rl = /* @__PURE__ */ oe({
|
|
|
1251
1257
|
key: "top",
|
|
1252
1258
|
name: "x-runtime-lib.top",
|
|
1253
1259
|
ui: "multiTypes",
|
|
1254
|
-
types:
|
|
1260
|
+
types: vt,
|
|
1255
1261
|
default: ""
|
|
1256
1262
|
},
|
|
1257
1263
|
{
|
|
1258
1264
|
key: "left",
|
|
1259
1265
|
name: "x-runtime-lib.left",
|
|
1260
1266
|
ui: "multiTypes",
|
|
1261
|
-
types:
|
|
1267
|
+
types: vt,
|
|
1262
1268
|
default: ""
|
|
1263
1269
|
},
|
|
1264
1270
|
{
|
|
1265
1271
|
key: "bottom",
|
|
1266
1272
|
name: "x-runtime-lib.bottom",
|
|
1267
1273
|
ui: "multiTypes",
|
|
1268
|
-
types:
|
|
1274
|
+
types: vt,
|
|
1269
1275
|
default: ""
|
|
1270
1276
|
},
|
|
1271
1277
|
{
|
|
1272
1278
|
key: "right",
|
|
1273
1279
|
name: "x-runtime-lib.right",
|
|
1274
1280
|
ui: "multiTypes",
|
|
1275
|
-
types:
|
|
1281
|
+
types: vt,
|
|
1276
1282
|
default: ""
|
|
1277
1283
|
}
|
|
1278
1284
|
]
|
|
1279
|
-
},
|
|
1285
|
+
}, yt = [
|
|
1280
1286
|
{
|
|
1281
1287
|
name: "x-runtime-lib.default",
|
|
1282
1288
|
ui: "word",
|
|
1283
|
-
validator:
|
|
1289
|
+
validator: cr,
|
|
1284
1290
|
default: ""
|
|
1285
1291
|
},
|
|
1286
1292
|
{
|
|
1287
1293
|
name: "x-runtime-lib.pixel",
|
|
1288
1294
|
ui: "pixelInput",
|
|
1289
|
-
validator:
|
|
1295
|
+
validator: fr,
|
|
1290
1296
|
default: "0px",
|
|
1291
1297
|
precision: 0,
|
|
1292
1298
|
min: 0,
|
|
@@ -1296,14 +1302,14 @@ const Rl = /* @__PURE__ */ oe({
|
|
|
1296
1302
|
{
|
|
1297
1303
|
name: "x-runtime-lib.percent",
|
|
1298
1304
|
ui: "percentInput",
|
|
1299
|
-
validator:
|
|
1305
|
+
validator: pr,
|
|
1300
1306
|
default: "0%",
|
|
1301
1307
|
precision: 4,
|
|
1302
1308
|
min: 0,
|
|
1303
1309
|
max: 1 / 0,
|
|
1304
1310
|
step: 1
|
|
1305
1311
|
}
|
|
1306
|
-
],
|
|
1312
|
+
], Mn = {
|
|
1307
1313
|
key: "padding",
|
|
1308
1314
|
name: "x-runtime-lib.padding",
|
|
1309
1315
|
children: [
|
|
@@ -1311,28 +1317,28 @@ const Rl = /* @__PURE__ */ oe({
|
|
|
1311
1317
|
key: "top",
|
|
1312
1318
|
name: "x-runtime-lib.top",
|
|
1313
1319
|
ui: "multiTypes",
|
|
1314
|
-
types:
|
|
1320
|
+
types: yt,
|
|
1315
1321
|
default: ""
|
|
1316
1322
|
},
|
|
1317
1323
|
{
|
|
1318
1324
|
key: "left",
|
|
1319
1325
|
name: "x-runtime-lib.left",
|
|
1320
1326
|
ui: "multiTypes",
|
|
1321
|
-
types:
|
|
1327
|
+
types: yt,
|
|
1322
1328
|
default: ""
|
|
1323
1329
|
},
|
|
1324
1330
|
{
|
|
1325
1331
|
key: "bottom",
|
|
1326
1332
|
name: "x-runtime-lib.bottom",
|
|
1327
1333
|
ui: "multiTypes",
|
|
1328
|
-
types:
|
|
1334
|
+
types: yt,
|
|
1329
1335
|
default: ""
|
|
1330
1336
|
},
|
|
1331
1337
|
{
|
|
1332
1338
|
key: "right",
|
|
1333
1339
|
name: "x-runtime-lib.right",
|
|
1334
1340
|
ui: "multiTypes",
|
|
1335
|
-
types:
|
|
1341
|
+
types: yt,
|
|
1336
1342
|
default: ""
|
|
1337
1343
|
}
|
|
1338
1344
|
]
|
|
@@ -1344,42 +1350,42 @@ const Rl = /* @__PURE__ */ oe({
|
|
|
1344
1350
|
key: "width",
|
|
1345
1351
|
name: "x-runtime-lib.width",
|
|
1346
1352
|
ui: "multiTypes",
|
|
1347
|
-
types:
|
|
1353
|
+
types: q,
|
|
1348
1354
|
default: ""
|
|
1349
1355
|
},
|
|
1350
1356
|
{
|
|
1351
1357
|
key: "minWidth",
|
|
1352
1358
|
name: "x-runtime-lib.minWidth",
|
|
1353
1359
|
ui: "multiTypes",
|
|
1354
|
-
types:
|
|
1360
|
+
types: q,
|
|
1355
1361
|
default: ""
|
|
1356
1362
|
},
|
|
1357
1363
|
{
|
|
1358
1364
|
key: "maxWidth",
|
|
1359
1365
|
name: "x-runtime-lib.maxWidth",
|
|
1360
1366
|
ui: "multiTypes",
|
|
1361
|
-
types:
|
|
1367
|
+
types: q,
|
|
1362
1368
|
default: ""
|
|
1363
1369
|
},
|
|
1364
1370
|
{
|
|
1365
1371
|
key: "height",
|
|
1366
1372
|
name: "x-runtime-lib.height",
|
|
1367
1373
|
ui: "multiTypes",
|
|
1368
|
-
types:
|
|
1374
|
+
types: q,
|
|
1369
1375
|
default: ""
|
|
1370
1376
|
},
|
|
1371
1377
|
{
|
|
1372
1378
|
key: "minHeight",
|
|
1373
1379
|
name: "x-runtime-lib.minHeight",
|
|
1374
1380
|
ui: "multiTypes",
|
|
1375
|
-
types:
|
|
1381
|
+
types: q,
|
|
1376
1382
|
default: ""
|
|
1377
1383
|
},
|
|
1378
1384
|
{
|
|
1379
1385
|
key: "maxHeight",
|
|
1380
1386
|
name: "x-runtime-lib.maxHeight",
|
|
1381
1387
|
ui: "multiTypes",
|
|
1382
|
-
types:
|
|
1388
|
+
types: q,
|
|
1383
1389
|
default: ""
|
|
1384
1390
|
}
|
|
1385
1391
|
]
|
|
@@ -1387,15 +1393,14 @@ const Rl = /* @__PURE__ */ oe({
|
|
|
1387
1393
|
key: "settings",
|
|
1388
1394
|
name: "x-runtime-lib.settings",
|
|
1389
1395
|
children: []
|
|
1390
|
-
},
|
|
1391
|
-
key:
|
|
1396
|
+
}, wl = {
|
|
1397
|
+
key: nr,
|
|
1392
1398
|
name: "x-runtime-lib.container",
|
|
1393
|
-
comp:
|
|
1399
|
+
comp: xl,
|
|
1394
1400
|
slots: [
|
|
1395
1401
|
{
|
|
1396
1402
|
key: "default",
|
|
1397
|
-
name: "x-runtime-lib.default"
|
|
1398
|
-
params: []
|
|
1403
|
+
name: "x-runtime-lib.default"
|
|
1399
1404
|
}
|
|
1400
1405
|
],
|
|
1401
1406
|
events: [
|
|
@@ -1407,32 +1412,32 @@ const Rl = /* @__PURE__ */ oe({
|
|
|
1407
1412
|
],
|
|
1408
1413
|
methods: [],
|
|
1409
1414
|
props: {
|
|
1410
|
-
pageCommon: [
|
|
1411
|
-
compCommon: [
|
|
1415
|
+
pageCommon: [Y, bt, Dn, Ln, Mn, Fn],
|
|
1416
|
+
compCommon: [Y, bt, Dn, Ln, Mn, Fn]
|
|
1412
1417
|
}
|
|
1413
|
-
},
|
|
1418
|
+
}, Cl = /* @__PURE__ */ re({
|
|
1414
1419
|
__name: "index",
|
|
1415
1420
|
props: {
|
|
1416
1421
|
node: {},
|
|
1417
1422
|
outer: { type: Boolean }
|
|
1418
1423
|
},
|
|
1419
1424
|
setup(n) {
|
|
1420
|
-
const o = n,
|
|
1425
|
+
const o = n, c = Be(), h = N(() => {
|
|
1421
1426
|
var u;
|
|
1422
1427
|
return (u = o.node.size) == null ? void 0 : u.width;
|
|
1423
|
-
}),
|
|
1428
|
+
}), _ = N(() => {
|
|
1424
1429
|
var u;
|
|
1425
1430
|
return (u = o.node.size) == null ? void 0 : u.height;
|
|
1426
|
-
}),
|
|
1431
|
+
}), b = N(() => {
|
|
1427
1432
|
var u;
|
|
1428
1433
|
return (u = o.node.settings) == null ? void 0 : u.headers;
|
|
1429
1434
|
}), m = N(() => {
|
|
1430
1435
|
var u;
|
|
1431
1436
|
return (u = o.node.settings) == null ? void 0 : u.items;
|
|
1432
|
-
}),
|
|
1437
|
+
}), R = N(() => {
|
|
1433
1438
|
var u;
|
|
1434
1439
|
return (u = o.node.settings) == null ? void 0 : u.density;
|
|
1435
|
-
}),
|
|
1440
|
+
}), O = N(() => {
|
|
1436
1441
|
var u;
|
|
1437
1442
|
return (u = o.node.settings) == null ? void 0 : u.fixedHeader;
|
|
1438
1443
|
}), r = N(() => {
|
|
@@ -1444,16 +1449,16 @@ const Rl = /* @__PURE__ */ oe({
|
|
|
1444
1449
|
}), e = N(() => {
|
|
1445
1450
|
var u;
|
|
1446
1451
|
return (u = o.node.settings) == null ? void 0 : u.multiSort;
|
|
1447
|
-
}), i = N(() =>
|
|
1452
|
+
}), i = N(() => c.value ? "dark" : "light");
|
|
1448
1453
|
return (u, s) => {
|
|
1449
|
-
const l =
|
|
1450
|
-
return J(),
|
|
1454
|
+
const l = Te("v-data-table");
|
|
1455
|
+
return J(), ce(l, {
|
|
1451
1456
|
width: h.value,
|
|
1452
|
-
height:
|
|
1453
|
-
headers:
|
|
1457
|
+
height: _.value,
|
|
1458
|
+
headers: b.value,
|
|
1454
1459
|
items: m.value,
|
|
1455
|
-
density:
|
|
1456
|
-
"fixed-header":
|
|
1460
|
+
density: R.value,
|
|
1461
|
+
"fixed-header": O.value,
|
|
1457
1462
|
"fixed-footer": r.value,
|
|
1458
1463
|
loading: t.value,
|
|
1459
1464
|
"multi-sort": e.value,
|
|
@@ -1461,7 +1466,7 @@ const Rl = /* @__PURE__ */ oe({
|
|
|
1461
1466
|
}, null, 8, ["width", "height", "headers", "items", "density", "fixed-header", "fixed-footer", "loading", "multi-sort", "theme"]);
|
|
1462
1467
|
};
|
|
1463
1468
|
}
|
|
1464
|
-
}),
|
|
1469
|
+
}), kl = [
|
|
1465
1470
|
{
|
|
1466
1471
|
name: "x-runtime-lib.start",
|
|
1467
1472
|
ui: "word",
|
|
@@ -1480,7 +1485,7 @@ const Rl = /* @__PURE__ */ oe({
|
|
|
1480
1485
|
validator: (n) => n === "end",
|
|
1481
1486
|
default: "end"
|
|
1482
1487
|
}
|
|
1483
|
-
],
|
|
1488
|
+
], Un = {
|
|
1484
1489
|
key: "size",
|
|
1485
1490
|
name: "x-runtime-lib.size",
|
|
1486
1491
|
children: [
|
|
@@ -1488,18 +1493,18 @@ const Rl = /* @__PURE__ */ oe({
|
|
|
1488
1493
|
key: "width",
|
|
1489
1494
|
name: "x-runtime-lib.width",
|
|
1490
1495
|
ui: "multiTypes",
|
|
1491
|
-
types:
|
|
1496
|
+
types: q,
|
|
1492
1497
|
default: ""
|
|
1493
1498
|
},
|
|
1494
1499
|
{
|
|
1495
1500
|
key: "height",
|
|
1496
1501
|
name: "x-runtime-lib.height",
|
|
1497
1502
|
ui: "multiTypes",
|
|
1498
|
-
types:
|
|
1503
|
+
types: q,
|
|
1499
1504
|
default: ""
|
|
1500
1505
|
}
|
|
1501
1506
|
]
|
|
1502
|
-
},
|
|
1507
|
+
}, jn = {
|
|
1503
1508
|
key: "settings",
|
|
1504
1509
|
name: "x-runtime-lib.settings",
|
|
1505
1510
|
children: [
|
|
@@ -1529,28 +1534,28 @@ const Rl = /* @__PURE__ */ oe({
|
|
|
1529
1534
|
key: "align",
|
|
1530
1535
|
name: "x-runtime-lib.align",
|
|
1531
1536
|
ui: "multiTypes",
|
|
1532
|
-
types:
|
|
1537
|
+
types: kl,
|
|
1533
1538
|
default: "start"
|
|
1534
1539
|
},
|
|
1535
1540
|
{
|
|
1536
1541
|
key: "width",
|
|
1537
1542
|
name: "x-runtime-lib.width",
|
|
1538
1543
|
ui: "multiTypes",
|
|
1539
|
-
types:
|
|
1544
|
+
types: q,
|
|
1540
1545
|
default: ""
|
|
1541
1546
|
},
|
|
1542
1547
|
{
|
|
1543
1548
|
key: "minWidth",
|
|
1544
1549
|
name: "x-runtime-lib.minWidth",
|
|
1545
1550
|
ui: "multiTypes",
|
|
1546
|
-
types:
|
|
1551
|
+
types: q,
|
|
1547
1552
|
default: ""
|
|
1548
1553
|
},
|
|
1549
1554
|
{
|
|
1550
1555
|
key: "maxWidth",
|
|
1551
1556
|
name: "x-runtime-lib.maxWidth",
|
|
1552
1557
|
ui: "multiTypes",
|
|
1553
|
-
types:
|
|
1558
|
+
types: q,
|
|
1554
1559
|
default: ""
|
|
1555
1560
|
},
|
|
1556
1561
|
{
|
|
@@ -1573,7 +1578,7 @@ const Rl = /* @__PURE__ */ oe({
|
|
|
1573
1578
|
key: "density",
|
|
1574
1579
|
name: "x-runtime-lib.density",
|
|
1575
1580
|
ui: "select",
|
|
1576
|
-
items:
|
|
1581
|
+
items: Ci,
|
|
1577
1582
|
default: "default"
|
|
1578
1583
|
},
|
|
1579
1584
|
{
|
|
@@ -1601,66 +1606,90 @@ const Rl = /* @__PURE__ */ oe({
|
|
|
1601
1606
|
default: !1
|
|
1602
1607
|
}
|
|
1603
1608
|
]
|
|
1604
|
-
},
|
|
1605
|
-
key:
|
|
1609
|
+
}, Al = {
|
|
1610
|
+
key: ir,
|
|
1606
1611
|
name: "x-runtime-lib.dataTable",
|
|
1607
|
-
comp:
|
|
1612
|
+
comp: Cl,
|
|
1608
1613
|
slots: [],
|
|
1609
1614
|
events: [],
|
|
1610
1615
|
methods: [],
|
|
1611
1616
|
props: {
|
|
1612
|
-
pageCommon: [
|
|
1613
|
-
compCommon: [
|
|
1617
|
+
pageCommon: [Y, Un, jn],
|
|
1618
|
+
compCommon: [Y, Un, jn]
|
|
1614
1619
|
}
|
|
1615
|
-
}
|
|
1620
|
+
};
|
|
1621
|
+
function Il(n, o) {
|
|
1622
|
+
const c = N(() => n.node.basic.id), h = N(() => `callMethod@${c.value}`);
|
|
1623
|
+
ba(() => {
|
|
1624
|
+
Ze.on(h.value, o);
|
|
1625
|
+
}), Ea(() => {
|
|
1626
|
+
Ze.off(h.value, o);
|
|
1627
|
+
});
|
|
1628
|
+
}
|
|
1629
|
+
const Dl = ["id"], Ll = /* @__PURE__ */ re({
|
|
1616
1630
|
__name: "index",
|
|
1617
1631
|
props: {
|
|
1618
1632
|
node: {},
|
|
1619
1633
|
outer: { type: Boolean }
|
|
1620
1634
|
},
|
|
1621
1635
|
setup(n) {
|
|
1622
|
-
const o = n,
|
|
1623
|
-
var
|
|
1624
|
-
return (
|
|
1625
|
-
}), { open:
|
|
1626
|
-
return (
|
|
1627
|
-
const
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1636
|
+
const o = n, c = _e(), h = N(() => {
|
|
1637
|
+
var m;
|
|
1638
|
+
return (m = o.node.basic) == null ? void 0 : m.id;
|
|
1639
|
+
}), { open: _ } = xa(`runtimeDlg/${h.value}`);
|
|
1640
|
+
return Il(o, (m) => {
|
|
1641
|
+
const { name: R } = m;
|
|
1642
|
+
R === "open" ? _.value = !0 : R === "close" && (_.value = !1);
|
|
1643
|
+
}), (m, R) => {
|
|
1644
|
+
const O = Te("v-dialog");
|
|
1645
|
+
return J(), ce(O, {
|
|
1646
|
+
modelValue: Ie(_),
|
|
1647
|
+
"onUpdate:modelValue": R[0] || (R[0] = (r) => Ra(_) ? _.value = r : null)
|
|
1631
1648
|
}, {
|
|
1632
|
-
activator:
|
|
1633
|
-
|
|
1649
|
+
activator: te(() => [
|
|
1650
|
+
Ie(c) === "editor" ? (J(), Fe("div", {
|
|
1634
1651
|
key: 0,
|
|
1635
1652
|
id: `__node__@${h.value}`
|
|
1636
|
-
}, null, 8,
|
|
1637
|
-
Zt(_.$slots, "activator")
|
|
1653
|
+
}, null, 8, Dl)) : Oa("", !0)
|
|
1638
1654
|
]),
|
|
1639
|
-
default:
|
|
1640
|
-
|
|
1655
|
+
default: te(() => [
|
|
1656
|
+
Jn(m.$slots, "default")
|
|
1641
1657
|
]),
|
|
1642
1658
|
_: 3
|
|
1643
1659
|
}, 8, ["modelValue"]);
|
|
1644
1660
|
};
|
|
1645
1661
|
}
|
|
1646
|
-
}),
|
|
1647
|
-
key:
|
|
1662
|
+
}), Ml = {
|
|
1663
|
+
key: ar,
|
|
1648
1664
|
name: "x-runtime-lib.dialog",
|
|
1649
|
-
comp:
|
|
1665
|
+
comp: Ll,
|
|
1650
1666
|
slots: [
|
|
1651
1667
|
{
|
|
1652
1668
|
key: "default",
|
|
1653
|
-
name: "x-runtime-lib.default"
|
|
1654
|
-
params: []
|
|
1669
|
+
name: "x-runtime-lib.default"
|
|
1655
1670
|
}
|
|
1656
1671
|
],
|
|
1657
1672
|
events: [],
|
|
1658
|
-
methods: [
|
|
1673
|
+
methods: [
|
|
1674
|
+
{
|
|
1675
|
+
key: "open",
|
|
1676
|
+
name: "x-runtime-lib.open",
|
|
1677
|
+
inputs: [],
|
|
1678
|
+
outputs: []
|
|
1679
|
+
},
|
|
1680
|
+
{
|
|
1681
|
+
key: "close",
|
|
1682
|
+
name: "x-runtime-lib.close",
|
|
1683
|
+
inputs: [],
|
|
1684
|
+
outputs: []
|
|
1685
|
+
}
|
|
1686
|
+
],
|
|
1659
1687
|
props: {
|
|
1660
|
-
pageCommon: [
|
|
1661
|
-
compCommon: [
|
|
1662
|
-
}
|
|
1663
|
-
|
|
1688
|
+
pageCommon: [Y],
|
|
1689
|
+
compCommon: [Y]
|
|
1690
|
+
},
|
|
1691
|
+
teleport: !0
|
|
1692
|
+
}, Bn = {
|
|
1664
1693
|
key: "globalSettings",
|
|
1665
1694
|
name: "x-runtime-lib.globalSettings",
|
|
1666
1695
|
children: [
|
|
@@ -1671,8 +1700,8 @@ const Rl = /* @__PURE__ */ oe({
|
|
|
1671
1700
|
default: "#00000000"
|
|
1672
1701
|
}
|
|
1673
1702
|
]
|
|
1674
|
-
},
|
|
1675
|
-
key:
|
|
1703
|
+
}, Fl = {
|
|
1704
|
+
key: or,
|
|
1676
1705
|
name: "x-runtime-lib.globality",
|
|
1677
1706
|
comp: "",
|
|
1678
1707
|
slots: [],
|
|
@@ -1709,61 +1738,61 @@ const Rl = /* @__PURE__ */ oe({
|
|
|
1709
1738
|
],
|
|
1710
1739
|
methods: [],
|
|
1711
1740
|
props: {
|
|
1712
|
-
pageCommon: [
|
|
1713
|
-
compCommon: [
|
|
1741
|
+
pageCommon: [Bn],
|
|
1742
|
+
compCommon: [Bn]
|
|
1714
1743
|
},
|
|
1715
1744
|
internal: !0
|
|
1716
|
-
},
|
|
1745
|
+
}, Ul = { key: 0 }, jl = /* @__PURE__ */ re({
|
|
1717
1746
|
__name: "index",
|
|
1718
1747
|
props: {
|
|
1719
1748
|
node: {},
|
|
1720
1749
|
outer: { type: Boolean }
|
|
1721
1750
|
},
|
|
1722
1751
|
setup(n) {
|
|
1723
|
-
const o = n,
|
|
1752
|
+
const o = n, c = _e(), h = Be(), _ = N(() => {
|
|
1724
1753
|
var e;
|
|
1725
1754
|
return (e = o.node.settings) == null ? void 0 : e.value;
|
|
1726
|
-
}),
|
|
1755
|
+
}), b = N(() => {
|
|
1727
1756
|
var e;
|
|
1728
1757
|
return (e = o.node.settings) == null ? void 0 : e.label;
|
|
1729
1758
|
}), m = N(() => {
|
|
1730
1759
|
var e;
|
|
1731
1760
|
return (e = o.node.settings) == null ? void 0 : e.placeholder;
|
|
1732
|
-
}),
|
|
1761
|
+
}), R = N(() => {
|
|
1733
1762
|
var e;
|
|
1734
1763
|
return (e = o.node.settings) == null ? void 0 : e.hideDetails;
|
|
1735
|
-
}),
|
|
1764
|
+
}), O = N(() => {
|
|
1736
1765
|
var e;
|
|
1737
1766
|
return (e = o.node.settings) == null ? void 0 : e.singleLine;
|
|
1738
1767
|
}), r = N(() => {
|
|
1739
1768
|
var e;
|
|
1740
|
-
return
|
|
1769
|
+
return c !== "runtime" ? !0 : (e = o.node.settings) == null ? void 0 : e.readonly;
|
|
1741
1770
|
}), t = N(() => h.value ? "dark" : "light");
|
|
1742
1771
|
return (e, i) => {
|
|
1743
|
-
const u =
|
|
1744
|
-
return
|
|
1745
|
-
|
|
1746
|
-
"model-value":
|
|
1747
|
-
label:
|
|
1772
|
+
const u = Te("v-number-input");
|
|
1773
|
+
return Ie(c) === "editor" ? (J(), Fe("div", Ul, [
|
|
1774
|
+
K(u, {
|
|
1775
|
+
"model-value": _.value,
|
|
1776
|
+
label: b.value,
|
|
1748
1777
|
placeholder: m.value,
|
|
1749
|
-
"hide-details":
|
|
1750
|
-
"single-line":
|
|
1778
|
+
"hide-details": R.value,
|
|
1779
|
+
"single-line": O.value,
|
|
1751
1780
|
readonly: r.value,
|
|
1752
1781
|
theme: t.value
|
|
1753
1782
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
1754
|
-
])) : (J(),
|
|
1783
|
+
])) : (J(), ce(u, {
|
|
1755
1784
|
key: 1,
|
|
1756
|
-
"model-value":
|
|
1757
|
-
label:
|
|
1785
|
+
"model-value": _.value,
|
|
1786
|
+
label: b.value,
|
|
1758
1787
|
placeholder: m.value,
|
|
1759
|
-
"hide-details":
|
|
1760
|
-
"single-line":
|
|
1788
|
+
"hide-details": R.value,
|
|
1789
|
+
"single-line": O.value,
|
|
1761
1790
|
readonly: r.value,
|
|
1762
1791
|
theme: t.value
|
|
1763
1792
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
1764
1793
|
};
|
|
1765
1794
|
}
|
|
1766
|
-
}),
|
|
1795
|
+
}), $n = {
|
|
1767
1796
|
key: "settings",
|
|
1768
1797
|
name: "x-runtime-lib.settings",
|
|
1769
1798
|
children: [
|
|
@@ -1808,89 +1837,60 @@ const Rl = /* @__PURE__ */ oe({
|
|
|
1808
1837
|
default: !1
|
|
1809
1838
|
}
|
|
1810
1839
|
]
|
|
1811
|
-
},
|
|
1812
|
-
key:
|
|
1840
|
+
}, Bl = {
|
|
1841
|
+
key: ur,
|
|
1813
1842
|
name: "x-runtime-lib.numberInput",
|
|
1814
|
-
comp:
|
|
1843
|
+
comp: jl,
|
|
1815
1844
|
slots: [],
|
|
1816
1845
|
events: [],
|
|
1817
1846
|
methods: [],
|
|
1818
1847
|
props: {
|
|
1819
|
-
pageCommon: [
|
|
1820
|
-
compCommon: [
|
|
1848
|
+
pageCommon: [Y, $n],
|
|
1849
|
+
compCommon: [Y, $n]
|
|
1821
1850
|
}
|
|
1822
|
-
}, $n = {
|
|
1823
|
-
key: "settings",
|
|
1824
|
-
name: "x-runtime-lib.settings",
|
|
1825
|
-
children: [
|
|
1826
|
-
{
|
|
1827
|
-
key: "slot",
|
|
1828
|
-
name: "x-runtime-lib.slot",
|
|
1829
|
-
ui: "slotSelect",
|
|
1830
|
-
default: ""
|
|
1831
|
-
}
|
|
1832
|
-
]
|
|
1833
|
-
}, Ll = {
|
|
1834
|
-
key: vt,
|
|
1835
|
-
name: "x-runtime-lib.package",
|
|
1836
|
-
comp: null,
|
|
1837
|
-
slots: [
|
|
1838
|
-
{
|
|
1839
|
-
key: "dummy",
|
|
1840
|
-
name: "x-runtime-lib.dummy",
|
|
1841
|
-
params: []
|
|
1842
|
-
}
|
|
1843
|
-
],
|
|
1844
|
-
events: [],
|
|
1845
|
-
methods: [],
|
|
1846
|
-
props: {
|
|
1847
|
-
pageCommon: [V, $n],
|
|
1848
|
-
compCommon: [V, $n]
|
|
1849
|
-
},
|
|
1850
|
-
teleport: !0
|
|
1851
1851
|
};
|
|
1852
|
-
var
|
|
1853
|
-
function
|
|
1852
|
+
var $l = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1853
|
+
function Vl(n) {
|
|
1854
1854
|
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
1855
1855
|
}
|
|
1856
|
-
function
|
|
1856
|
+
function Gl(n) {
|
|
1857
1857
|
if (n.__esModule) return n;
|
|
1858
1858
|
var o = n.default;
|
|
1859
1859
|
if (typeof o == "function") {
|
|
1860
|
-
var
|
|
1860
|
+
var c = function h() {
|
|
1861
1861
|
return this instanceof h ? Reflect.construct(o, arguments, this.constructor) : o.apply(this, arguments);
|
|
1862
1862
|
};
|
|
1863
|
-
|
|
1864
|
-
} else
|
|
1865
|
-
return Object.defineProperty(
|
|
1866
|
-
var
|
|
1867
|
-
Object.defineProperty(
|
|
1863
|
+
c.prototype = o.prototype;
|
|
1864
|
+
} else c = {};
|
|
1865
|
+
return Object.defineProperty(c, "__esModule", { value: !0 }), Object.keys(n).forEach(function(h) {
|
|
1866
|
+
var _ = Object.getOwnPropertyDescriptor(n, h);
|
|
1867
|
+
Object.defineProperty(c, h, _.get ? _ : {
|
|
1868
1868
|
enumerable: !0,
|
|
1869
1869
|
get: function() {
|
|
1870
1870
|
return n[h];
|
|
1871
1871
|
}
|
|
1872
1872
|
});
|
|
1873
|
-
}),
|
|
1873
|
+
}), c;
|
|
1874
1874
|
}
|
|
1875
|
-
var
|
|
1876
|
-
const
|
|
1875
|
+
var Ai = { exports: {} };
|
|
1876
|
+
const Yl = {}, zl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1877
1877
|
__proto__: null,
|
|
1878
|
-
default:
|
|
1879
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1878
|
+
default: Yl
|
|
1879
|
+
}, Symbol.toStringTag, { value: "Module" })), Xl = /* @__PURE__ */ Gl(zl);
|
|
1880
1880
|
(function(n, o) {
|
|
1881
|
-
(function(h,
|
|
1882
|
-
n.exports =
|
|
1883
|
-
})(
|
|
1881
|
+
(function(h, _) {
|
|
1882
|
+
n.exports = _();
|
|
1883
|
+
})($l, () => (
|
|
1884
1884
|
/******/
|
|
1885
1885
|
(() => {
|
|
1886
|
-
var
|
|
1886
|
+
var c = {
|
|
1887
1887
|
/***/
|
|
1888
1888
|
"./original-repo/interpreter.js": (
|
|
1889
1889
|
/*!**************************************!*\
|
|
1890
1890
|
!*** ./original-repo/interpreter.js ***!
|
|
1891
1891
|
\**************************************/
|
|
1892
1892
|
/***/
|
|
1893
|
-
function(m,
|
|
1893
|
+
function(m, R, O) {
|
|
1894
1894
|
/**
|
|
1895
1895
|
* @license
|
|
1896
1896
|
* Copyright 2013 Neil Fraser
|
|
@@ -2190,21 +2190,21 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2190
2190
|
p = v.join(", ");
|
|
2191
2191
|
}
|
|
2192
2192
|
try {
|
|
2193
|
-
var
|
|
2193
|
+
var T = e.parse_(
|
|
2194
2194
|
"(function(" + p + ") {" + a + "})",
|
|
2195
2195
|
"function" + e.functionCodeNumber_++
|
|
2196
2196
|
);
|
|
2197
|
-
} catch (
|
|
2197
|
+
} catch (A) {
|
|
2198
2198
|
e.throwException(
|
|
2199
2199
|
e.SYNTAX_ERROR,
|
|
2200
|
-
"Invalid code: " +
|
|
2200
|
+
"Invalid code: " + A.message
|
|
2201
2201
|
);
|
|
2202
2202
|
}
|
|
2203
|
-
|
|
2203
|
+
T.body.length !== 1 && e.throwException(
|
|
2204
2204
|
e.SYNTAX_ERROR,
|
|
2205
2205
|
"Invalid code in function body"
|
|
2206
2206
|
);
|
|
2207
|
-
var x =
|
|
2207
|
+
var x = T.body[0].expression;
|
|
2208
2208
|
return e.createFunction(
|
|
2209
2209
|
x,
|
|
2210
2210
|
e.globalScope,
|
|
@@ -3031,16 +3031,16 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3031
3031
|
string: E,
|
|
3032
3032
|
separator: a,
|
|
3033
3033
|
limit: p
|
|
3034
|
-
},
|
|
3034
|
+
}, T = "string.split(separator, limit)", L = e.vmCall(T, S, a, v);
|
|
3035
3035
|
L !== r.REGEXP_TIMEOUT && v(e.nativeToPseudo(L));
|
|
3036
3036
|
} else {
|
|
3037
|
-
var x = e.createWorker(),
|
|
3037
|
+
var x = e.createWorker(), A = e.regExpTimeout(
|
|
3038
3038
|
a,
|
|
3039
3039
|
x,
|
|
3040
3040
|
v
|
|
3041
3041
|
);
|
|
3042
3042
|
x.onmessage = function(W) {
|
|
3043
|
-
clearTimeout(
|
|
3043
|
+
clearTimeout(A), v(e.nativeToPseudo(W.data));
|
|
3044
3044
|
}, x.postMessage(["split", E, a, p]);
|
|
3045
3045
|
}
|
|
3046
3046
|
return;
|
|
@@ -3054,18 +3054,18 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3054
3054
|
var E = {
|
|
3055
3055
|
string: v,
|
|
3056
3056
|
regexp: a
|
|
3057
|
-
}, S = "string.match(regexp)",
|
|
3058
|
-
|
|
3057
|
+
}, S = "string.match(regexp)", A = e.vmCall(S, E, a, p);
|
|
3058
|
+
A !== r.REGEXP_TIMEOUT && p(A && e.matchToPseudo_(A));
|
|
3059
3059
|
} else {
|
|
3060
|
-
var
|
|
3061
|
-
|
|
3060
|
+
var T = e.createWorker(), x = e.regExpTimeout(a, T, p);
|
|
3061
|
+
T.onmessage = function(L) {
|
|
3062
3062
|
clearTimeout(x), p(L.data && e.matchToPseudo_(L.data));
|
|
3063
|
-
},
|
|
3063
|
+
}, T.postMessage(["match", v, a]);
|
|
3064
3064
|
}
|
|
3065
3065
|
return;
|
|
3066
3066
|
}
|
|
3067
|
-
var
|
|
3068
|
-
p(
|
|
3067
|
+
var A = v.match(a);
|
|
3068
|
+
p(A && e.matchToPseudo_(A));
|
|
3069
3069
|
}, this.setAsyncFunctionPrototype(this.STRING, "match", i), i = function(a, p) {
|
|
3070
3070
|
var v = String(this);
|
|
3071
3071
|
if (e.isa(a, e.REGEXP) ? a = a.data : a = new RegExp(a), e.maybeThrowRegExp(a, p), e.REGEXP_MODE === 2) {
|
|
@@ -3073,12 +3073,12 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3073
3073
|
var E = {
|
|
3074
3074
|
string: v,
|
|
3075
3075
|
regexp: a
|
|
3076
|
-
}, S = "string.search(regexp)",
|
|
3077
|
-
|
|
3076
|
+
}, S = "string.search(regexp)", T = e.vmCall(S, E, a, p);
|
|
3077
|
+
T !== r.REGEXP_TIMEOUT && p(T);
|
|
3078
3078
|
} else {
|
|
3079
|
-
var x = e.createWorker(),
|
|
3079
|
+
var x = e.createWorker(), A = e.regExpTimeout(a, x, p);
|
|
3080
3080
|
x.onmessage = function(L) {
|
|
3081
|
-
clearTimeout(
|
|
3081
|
+
clearTimeout(A), p(L.data);
|
|
3082
3082
|
}, x.postMessage(["search", v, a]);
|
|
3083
3083
|
}
|
|
3084
3084
|
return;
|
|
@@ -3092,17 +3092,17 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3092
3092
|
string: E,
|
|
3093
3093
|
substr: a,
|
|
3094
3094
|
newSubstr: p
|
|
3095
|
-
},
|
|
3095
|
+
}, T = "string.replace(substr, newSubstr)", x = e.vmCall(T, S, a, v);
|
|
3096
3096
|
x !== r.REGEXP_TIMEOUT && v(x);
|
|
3097
3097
|
} else {
|
|
3098
|
-
var
|
|
3098
|
+
var A = e.createWorker(), L = e.regExpTimeout(
|
|
3099
3099
|
a,
|
|
3100
|
-
|
|
3100
|
+
A,
|
|
3101
3101
|
v
|
|
3102
3102
|
);
|
|
3103
|
-
|
|
3103
|
+
A.onmessage = function(W) {
|
|
3104
3104
|
clearTimeout(L), v(W.data);
|
|
3105
|
-
},
|
|
3105
|
+
}, A.postMessage(["replace", E, a, p]);
|
|
3106
3106
|
}
|
|
3107
3107
|
return;
|
|
3108
3108
|
}
|
|
@@ -3381,9 +3381,9 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3381
3381
|
}, v = "regexp.exec(string)", x = e.vmCall(v, p, a, l);
|
|
3382
3382
|
x !== r.REGEXP_TIMEOUT && (e.setProperty(this, "lastIndex", a.lastIndex), l(e.matchToPseudo_(x)));
|
|
3383
3383
|
} else {
|
|
3384
|
-
var E = e.createWorker(), S = e.regExpTimeout(a, E, l),
|
|
3385
|
-
E.onmessage = function(
|
|
3386
|
-
clearTimeout(S), e.setProperty(
|
|
3384
|
+
var E = e.createWorker(), S = e.regExpTimeout(a, E, l), T = this;
|
|
3385
|
+
E.onmessage = function(A) {
|
|
3386
|
+
clearTimeout(S), e.setProperty(T, "lastIndex", A.data[1]), l(e.matchToPseudo_(A.data[0]));
|
|
3387
3387
|
}, E.postMessage(["exec", a, a.lastIndex, s]);
|
|
3388
3388
|
}
|
|
3389
3389
|
return;
|
|
@@ -3595,8 +3595,8 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3595
3595
|
}
|
|
3596
3596
|
for (var p = String(this.getProperty(t, "name")), v = String(this.getProperty(t, "message")), E = p + ": " + v + `
|
|
3597
3597
|
`, u = 0; u < i.length; u++) {
|
|
3598
|
-
var S = i[u].datumLoc,
|
|
3599
|
-
|
|
3598
|
+
var S = i[u].datumLoc, T = i[u].datumName, x = S.source + ":" + S.start.line + ":" + S.start.column;
|
|
3599
|
+
T ? E += " at " + T + " (" + x + `)
|
|
3600
3600
|
` : E += " at " + x + `
|
|
3601
3601
|
`;
|
|
3602
3602
|
}
|
|
@@ -3633,7 +3633,7 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3633
3633
|
i = !0;
|
|
3634
3634
|
else {
|
|
3635
3635
|
try {
|
|
3636
|
-
r.vm =
|
|
3636
|
+
r.vm = O(
|
|
3637
3637
|
/*! vm */
|
|
3638
3638
|
"vm"
|
|
3639
3639
|
);
|
|
@@ -3741,18 +3741,18 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3741
3741
|
var a = this, p = function() {
|
|
3742
3742
|
var x = Array.prototype.slice.call(arguments).map(function(L) {
|
|
3743
3743
|
return a.pseudoToNative(L);
|
|
3744
|
-
}),
|
|
3745
|
-
return a.nativeToPseudo(
|
|
3744
|
+
}), A = t.apply(a, x);
|
|
3745
|
+
return a.nativeToPseudo(A);
|
|
3746
3746
|
}, v = Object.getOwnPropertyDescriptor(t, "prototype"), E = this.createNativeFunction(p, !!v);
|
|
3747
3747
|
return i.pseudo.push(E), E;
|
|
3748
3748
|
}
|
|
3749
3749
|
var S;
|
|
3750
3750
|
Array.isArray(t) ? S = this.createArray() : S = this.createObjectProto(this.OBJECT_PROTO), i.pseudo.push(S);
|
|
3751
|
-
for (var
|
|
3751
|
+
for (var T in t)
|
|
3752
3752
|
this.setProperty(
|
|
3753
3753
|
S,
|
|
3754
|
-
|
|
3755
|
-
this.nativeToPseudo(t[
|
|
3754
|
+
T,
|
|
3755
|
+
this.nativeToPseudo(t[T], i)
|
|
3756
3756
|
);
|
|
3757
3757
|
return S;
|
|
3758
3758
|
}, r.prototype.pseudoToNative = function(t, e) {
|
|
@@ -4133,17 +4133,17 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4133
4133
|
this.throwException(this.SYNTAX_ERROR, "Invalid code: " + L.message);
|
|
4134
4134
|
}
|
|
4135
4135
|
a.type = "EvalProgram_", a.body = E.body;
|
|
4136
|
-
var S = i.node.arguments[0],
|
|
4137
|
-
r.stripLocations_(a,
|
|
4136
|
+
var S = i.node.arguments[0], T = S ? S.start : void 0, x = S ? S.end : void 0;
|
|
4137
|
+
r.stripLocations_(a, T, x), p = this.globalScope, u.length = 0;
|
|
4138
4138
|
}
|
|
4139
|
-
var
|
|
4139
|
+
var A = new r.Task(
|
|
4140
4140
|
v,
|
|
4141
4141
|
u,
|
|
4142
4142
|
p,
|
|
4143
4143
|
a,
|
|
4144
4144
|
t ? l : -1
|
|
4145
4145
|
);
|
|
4146
|
-
return this.scheduleTask_(
|
|
4146
|
+
return this.scheduleTask_(A, l), A.pid;
|
|
4147
4147
|
}, r.prototype.scheduleTask_ = function(t, e) {
|
|
4148
4148
|
t.time = Date.now() + e, this.tasks.push(t), this.tasks.sort(function(i, u) {
|
|
4149
4149
|
return i.time - u.time;
|
|
@@ -4477,8 +4477,8 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4477
4477
|
this.setProperty(v, E, e.arguments_[E]);
|
|
4478
4478
|
this.setProperty(p.object, "arguments", v);
|
|
4479
4479
|
for (var E = 0; E < a.params.length; E++) {
|
|
4480
|
-
var S = a.params[E].name,
|
|
4481
|
-
this.setProperty(p.object, S,
|
|
4480
|
+
var S = a.params[E].name, T = e.arguments_.length > E ? e.arguments_[E] : void 0;
|
|
4481
|
+
this.setProperty(p.object, S, T);
|
|
4482
4482
|
}
|
|
4483
4483
|
return p.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), this.setProperty(
|
|
4484
4484
|
p.object,
|
|
@@ -4492,7 +4492,7 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4492
4492
|
e.value = x;
|
|
4493
4493
|
else {
|
|
4494
4494
|
try {
|
|
4495
|
-
var
|
|
4495
|
+
var A = this.parse_(
|
|
4496
4496
|
String(x),
|
|
4497
4497
|
"eval" + this.evalCodeNumber_++
|
|
4498
4498
|
);
|
|
@@ -4500,19 +4500,19 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4500
4500
|
this.throwException(this.SYNTAX_ERROR, "Invalid code: " + B.message);
|
|
4501
4501
|
}
|
|
4502
4502
|
var L = this.newNode();
|
|
4503
|
-
L.type = "EvalProgram_", L.body =
|
|
4503
|
+
L.type = "EvalProgram_", L.body = A.body, r.stripLocations_(L, i.start, i.end);
|
|
4504
4504
|
var p = e.directEval_ ? e.scope : this.globalScope;
|
|
4505
|
-
return p.strict ? p = this.createScope(
|
|
4505
|
+
return p.strict ? p = this.createScope(A, p) : this.populateScope_(A, p), this.value = void 0, new r.State(L, p);
|
|
4506
4506
|
}
|
|
4507
4507
|
} else if (s.nativeFunc)
|
|
4508
4508
|
e.scope.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), e.value = s.nativeFunc.apply(e.funcThis_, e.arguments_);
|
|
4509
4509
|
else if (s.asyncFunc) {
|
|
4510
|
-
var W = this,
|
|
4511
|
-
e.value =
|
|
4512
|
-
},
|
|
4513
|
-
new Array(
|
|
4514
|
-
).slice(0,
|
|
4515
|
-
|
|
4510
|
+
var W = this, $e = function(ge) {
|
|
4511
|
+
e.value = ge, W.paused_ = !1;
|
|
4512
|
+
}, Z = s.asyncFunc.length - 1, xe = e.arguments_.concat(
|
|
4513
|
+
new Array(Z)
|
|
4514
|
+
).slice(0, Z);
|
|
4515
|
+
xe.push($e), this.paused_ = !0, e.scope.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), s.asyncFunc.apply(e.funcThis_, xe);
|
|
4516
4516
|
return;
|
|
4517
4517
|
} else
|
|
4518
4518
|
this.throwException(
|
|
@@ -4913,14 +4913,14 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4913
4913
|
!*** ./original-repo/acorn.js ***!
|
|
4914
4914
|
\********************************/
|
|
4915
4915
|
/***/
|
|
4916
|
-
function(m,
|
|
4917
|
-
(function(
|
|
4918
|
-
return r(
|
|
4919
|
-
})(typeof globalThis > "u" ? this || window : globalThis, function(
|
|
4920
|
-
|
|
4916
|
+
function(m, R) {
|
|
4917
|
+
(function(O, r) {
|
|
4918
|
+
return r(R);
|
|
4919
|
+
})(typeof globalThis > "u" ? this || window : globalThis, function(O) {
|
|
4920
|
+
O.version = "0.5.0";
|
|
4921
4921
|
var r, t = "", e, i;
|
|
4922
|
-
|
|
4923
|
-
return t = String(
|
|
4922
|
+
O.parse = function(f, d) {
|
|
4923
|
+
return t = String(f), e = t.length, s(d), Ki(), la(r.program);
|
|
4924
4924
|
};
|
|
4925
4925
|
var u = {
|
|
4926
4926
|
// JS-Interpreter change:
|
|
@@ -4980,210 +4980,210 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4980
4980
|
// `locations` is on or off.
|
|
4981
4981
|
directSourceFile: null
|
|
4982
4982
|
};
|
|
4983
|
-
function s(
|
|
4984
|
-
r =
|
|
4983
|
+
function s(f) {
|
|
4984
|
+
r = f || {};
|
|
4985
4985
|
for (var d in u)
|
|
4986
4986
|
Object.prototype.hasOwnProperty.call(r, d) || (r[d] = u[d]);
|
|
4987
4987
|
i = r.sourceFile;
|
|
4988
4988
|
}
|
|
4989
|
-
var l = function(
|
|
4990
|
-
for (var y = 1,
|
|
4991
|
-
|
|
4992
|
-
var C =
|
|
4989
|
+
var l = function(f, d) {
|
|
4990
|
+
for (var y = 1, g = 0; ; ) {
|
|
4991
|
+
lt.lastIndex = g;
|
|
4992
|
+
var C = lt.exec(f);
|
|
4993
4993
|
if (C && C.index < d)
|
|
4994
|
-
++y,
|
|
4994
|
+
++y, g = C.index + C[0].length;
|
|
4995
4995
|
else
|
|
4996
4996
|
break;
|
|
4997
4997
|
}
|
|
4998
|
-
return { line: y, column: d -
|
|
4999
|
-
}, a = 0, p = 0, v = 0, E, S,
|
|
5000
|
-
function
|
|
5001
|
-
var y = l(t,
|
|
4998
|
+
return { line: y, column: d - g };
|
|
4999
|
+
}, a = 0, p = 0, v = 0, E, S, T, x, A, L, W, $e = 0, Z = 0, xe, ge, B, H;
|
|
5000
|
+
function I(f, d) {
|
|
5001
|
+
var y = l(t, f);
|
|
5002
5002
|
d += " (" + y.line + ":" + y.column + ")";
|
|
5003
|
-
var
|
|
5004
|
-
throw
|
|
5003
|
+
var g = new SyntaxError(d);
|
|
5004
|
+
throw g.pos = f, g.loc = y, g.raisedAt = a, g;
|
|
5005
5005
|
}
|
|
5006
|
-
var
|
|
5007
|
-
break:
|
|
5006
|
+
var Di = [], it = { type: "num" }, br = { type: "regexp" }, Nt = { type: "string" }, Pe = { type: "name" }, St = { type: "eof" }, xt = { keyword: "break" }, Pt = { keyword: "case", beforeExpr: !0 }, Er = { keyword: "catch" }, Rr = { keyword: "continue" }, Or = { keyword: "debugger" }, Tr = { keyword: "default" }, Nr = { keyword: "do", isLoop: !0 }, Sr = { keyword: "else", beforeExpr: !0 }, xr = { keyword: "finally" }, Pr = { keyword: "for", isLoop: !0 }, wt = { keyword: "function" }, wr = { keyword: "if" }, Cr = { keyword: "return", beforeExpr: !0 }, Ct = { keyword: "switch" }, kr = { keyword: "throw", beforeExpr: !0 }, Ar = { keyword: "try" }, kt = { keyword: "var" }, At = { keyword: "while", isLoop: !0 }, Ir = { keyword: "with" }, Dr = { keyword: "new", beforeExpr: !0 }, Lr = { keyword: "this" }, Mr = { keyword: "null", atomValue: null }, Fr = { keyword: "true", atomValue: !0 }, Ur = { keyword: "false", atomValue: !1 }, at = { keyword: "in", binop: 7, beforeExpr: !0 }, Li = {
|
|
5007
|
+
break: xt,
|
|
5008
5008
|
case: Pt,
|
|
5009
|
-
catch:
|
|
5010
|
-
continue:
|
|
5011
|
-
debugger:
|
|
5012
|
-
default:
|
|
5013
|
-
do:
|
|
5014
|
-
else:
|
|
5015
|
-
finally:
|
|
5016
|
-
for:
|
|
5017
|
-
function:
|
|
5018
|
-
if:
|
|
5019
|
-
return:
|
|
5020
|
-
switch:
|
|
5021
|
-
throw:
|
|
5022
|
-
try:
|
|
5023
|
-
var:
|
|
5024
|
-
while:
|
|
5025
|
-
with:
|
|
5026
|
-
null:
|
|
5027
|
-
true:
|
|
5028
|
-
false:
|
|
5029
|
-
new:
|
|
5030
|
-
in:
|
|
5009
|
+
catch: Er,
|
|
5010
|
+
continue: Rr,
|
|
5011
|
+
debugger: Or,
|
|
5012
|
+
default: Tr,
|
|
5013
|
+
do: Nr,
|
|
5014
|
+
else: Sr,
|
|
5015
|
+
finally: xr,
|
|
5016
|
+
for: Pr,
|
|
5017
|
+
function: wt,
|
|
5018
|
+
if: wr,
|
|
5019
|
+
return: Cr,
|
|
5020
|
+
switch: Ct,
|
|
5021
|
+
throw: kr,
|
|
5022
|
+
try: Ar,
|
|
5023
|
+
var: kt,
|
|
5024
|
+
while: At,
|
|
5025
|
+
with: Ir,
|
|
5026
|
+
null: Mr,
|
|
5027
|
+
true: Fr,
|
|
5028
|
+
false: Ur,
|
|
5029
|
+
new: Dr,
|
|
5030
|
+
in: at,
|
|
5031
5031
|
instanceof: { keyword: "instanceof", binop: 7, beforeExpr: !0 },
|
|
5032
|
-
this:
|
|
5032
|
+
this: Lr,
|
|
5033
5033
|
typeof: { keyword: "typeof", prefix: !0, beforeExpr: !0 },
|
|
5034
5034
|
void: { keyword: "void", prefix: !0, beforeExpr: !0 },
|
|
5035
5035
|
delete: { keyword: "delete", prefix: !0, beforeExpr: !0 }
|
|
5036
|
-
},
|
|
5037
|
-
function
|
|
5038
|
-
for (var d =
|
|
5039
|
-
y[d[
|
|
5036
|
+
}, It = { type: "[", beforeExpr: !0 }, Dt = { type: "]" }, Ve = { type: "{", beforeExpr: !0 }, we = { type: "}" }, ae = { type: "(", beforeExpr: !0 }, ee = { type: ")" }, pe = { type: ",", beforeExpr: !0 }, oe = { type: ";", beforeExpr: !0 }, Ge = { type: ":", beforeExpr: !0 }, jr = { type: "." }, Br = { type: "?", beforeExpr: !0 }, $r = { binop: 10, beforeExpr: !0 }, Vr = { isAssign: !0, beforeExpr: !0 }, be = { isAssign: !0, beforeExpr: !0 }, Mi = { postfix: !0, prefix: !0, isUpdate: !0 }, Gr = { prefix: !0, beforeExpr: !0 }, Yr = { binop: 1, beforeExpr: !0 }, zr = { binop: 2, beforeExpr: !0 }, Fi = { binop: 3, beforeExpr: !0 }, Ui = { binop: 4, beforeExpr: !0 }, ji = { binop: 5, beforeExpr: !0 }, Bi = { binop: 6, beforeExpr: !0 }, $i = { binop: 7, beforeExpr: !0 }, Vi = { binop: 8, beforeExpr: !0 }, Gi = { binop: 9, prefix: !0, beforeExpr: !0 }, Yi = { binop: 10, beforeExpr: !0 };
|
|
5037
|
+
function ot(f) {
|
|
5038
|
+
for (var d = f.split(" "), y = /* @__PURE__ */ Object.create(null), g = 0; g < d.length; g++)
|
|
5039
|
+
y[d[g]] = !0;
|
|
5040
5040
|
return function(C) {
|
|
5041
5041
|
return y[C] || !1;
|
|
5042
5042
|
};
|
|
5043
5043
|
}
|
|
5044
|
-
var
|
|
5045
|
-
return
|
|
5046
|
-
},
|
|
5047
|
-
return
|
|
5044
|
+
var zi = ot("class enum extends super const export import"), Xr = ot("implements interface let package private protected public static yield"), ut = ot("eval arguments"), Xi = ot("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"), Wi = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Wr = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", Ji = "̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_", Jr = new RegExp("[" + Wr + "]"), Hi = new RegExp("[" + Wr + Ji + "]"), st = /[\n\r\u2028\u2029]/, lt = /\r\n|[\n\r\u2028\u2029]/g, ct = function(f) {
|
|
5045
|
+
return f < 65 ? f === 36 : f < 91 ? !0 : f < 97 ? f === 95 : f < 123 ? !0 : f >= 170 && Jr.test(String.fromCharCode(f));
|
|
5046
|
+
}, Hr = function(f) {
|
|
5047
|
+
return f < 48 ? f === 36 : f < 58 ? !0 : f < 65 ? !1 : f < 91 ? !0 : f < 97 ? f === 95 : f < 123 ? !0 : f >= 170 && Hi.test(String.fromCharCode(f));
|
|
5048
5048
|
};
|
|
5049
|
-
function
|
|
5049
|
+
function Ee() {
|
|
5050
5050
|
this.line = L, this.column = a - W;
|
|
5051
5051
|
}
|
|
5052
|
-
function
|
|
5053
|
-
L = 1, a = W = 0,
|
|
5052
|
+
function Ki() {
|
|
5053
|
+
L = 1, a = W = 0, A = !0, Ye();
|
|
5054
5054
|
}
|
|
5055
|
-
function
|
|
5056
|
-
v = a, r.locations && (S = new
|
|
5055
|
+
function V(f, d) {
|
|
5056
|
+
v = a, r.locations && (S = new Ee()), T = f, Ye(), x = d, A = f.beforeExpr;
|
|
5057
5057
|
}
|
|
5058
|
-
function
|
|
5059
|
-
var
|
|
5060
|
-
if (y === -1 &&
|
|
5061
|
-
|
|
5062
|
-
for (var
|
|
5063
|
-
++L, W =
|
|
5058
|
+
function qi() {
|
|
5059
|
+
var f = r.onComment && r.locations && new Ee(), d = a, y = t.indexOf("*/", a += 2);
|
|
5060
|
+
if (y === -1 && I(a - 2, "Unterminated comment"), a = y + 2, r.locations) {
|
|
5061
|
+
lt.lastIndex = d;
|
|
5062
|
+
for (var g; (g = lt.exec(t)) && g.index < a; )
|
|
5063
|
+
++L, W = g.index + g[0].length;
|
|
5064
5064
|
}
|
|
5065
5065
|
r.onComment && r.onComment(
|
|
5066
5066
|
!0,
|
|
5067
5067
|
t.slice(d + 2, y),
|
|
5068
5068
|
d,
|
|
5069
5069
|
a,
|
|
5070
|
-
|
|
5071
|
-
r.locations && new
|
|
5070
|
+
f,
|
|
5071
|
+
r.locations && new Ee()
|
|
5072
5072
|
);
|
|
5073
5073
|
}
|
|
5074
|
-
function
|
|
5075
|
-
for (var
|
|
5074
|
+
function Lt() {
|
|
5075
|
+
for (var f = a, d = r.onComment && r.locations && new Ee(), y = t.charCodeAt(a += 2); a < e && y !== 10 && y !== 13 && y !== 8232 && y !== 8233; )
|
|
5076
5076
|
++a, y = t.charCodeAt(a);
|
|
5077
5077
|
r.onComment && r.onComment(
|
|
5078
5078
|
!1,
|
|
5079
|
-
t.slice(
|
|
5080
|
-
|
|
5079
|
+
t.slice(f + 2, a),
|
|
5080
|
+
f,
|
|
5081
5081
|
a,
|
|
5082
5082
|
d,
|
|
5083
|
-
r.locations && new
|
|
5083
|
+
r.locations && new Ee()
|
|
5084
5084
|
);
|
|
5085
5085
|
}
|
|
5086
|
-
function
|
|
5086
|
+
function Ye() {
|
|
5087
5087
|
for (; a < e; ) {
|
|
5088
|
-
var
|
|
5089
|
-
if (
|
|
5088
|
+
var f = t.charCodeAt(a);
|
|
5089
|
+
if (f === 32)
|
|
5090
5090
|
++a;
|
|
5091
|
-
else if (
|
|
5091
|
+
else if (f === 13) {
|
|
5092
5092
|
++a;
|
|
5093
5093
|
var d = t.charCodeAt(a);
|
|
5094
5094
|
d === 10 && ++a, r.locations && (++L, W = a);
|
|
5095
|
-
} else if (
|
|
5095
|
+
} else if (f === 10 || f === 8232 || f === 8233)
|
|
5096
5096
|
++a, r.locations && (++L, W = a);
|
|
5097
|
-
else if (
|
|
5097
|
+
else if (f > 8 && f < 14)
|
|
5098
5098
|
++a;
|
|
5099
|
-
else if (
|
|
5099
|
+
else if (f === 47) {
|
|
5100
5100
|
var d = t.charCodeAt(a + 1);
|
|
5101
5101
|
if (d === 42)
|
|
5102
|
-
|
|
5102
|
+
qi();
|
|
5103
5103
|
else if (d === 47)
|
|
5104
|
-
|
|
5104
|
+
Lt();
|
|
5105
5105
|
else break;
|
|
5106
|
-
} else if (
|
|
5106
|
+
} else if (f === 160)
|
|
5107
5107
|
++a;
|
|
5108
|
-
else if (
|
|
5108
|
+
else if (f >= 5760 && Wi.test(String.fromCharCode(f)))
|
|
5109
5109
|
++a;
|
|
5110
5110
|
else
|
|
5111
5111
|
break;
|
|
5112
5112
|
}
|
|
5113
5113
|
}
|
|
5114
|
-
function qi() {
|
|
5115
|
-
var c = t.charCodeAt(a + 1);
|
|
5116
|
-
c >= 48 && c <= 57 ? Qr(!0) : (++a, G($r));
|
|
5117
|
-
}
|
|
5118
5114
|
function Zi() {
|
|
5119
|
-
var
|
|
5120
|
-
|
|
5115
|
+
var f = t.charCodeAt(a + 1);
|
|
5116
|
+
f >= 48 && f <= 57 ? qr(!0) : (++a, V(jr));
|
|
5121
5117
|
}
|
|
5122
5118
|
function Qi() {
|
|
5123
|
-
var
|
|
5124
|
-
|
|
5119
|
+
var f = t.charCodeAt(a + 1);
|
|
5120
|
+
A ? (++a, Kr()) : f === 61 ? G(be, 2) : G($r, 1);
|
|
5121
|
+
}
|
|
5122
|
+
function ea() {
|
|
5123
|
+
var f = t.charCodeAt(a + 1);
|
|
5124
|
+
f === 61 ? G(be, 2) : G(Yi, 1);
|
|
5125
5125
|
}
|
|
5126
|
-
function
|
|
5126
|
+
function ta(f) {
|
|
5127
5127
|
var d = t.charCodeAt(a + 1);
|
|
5128
|
-
d ===
|
|
5128
|
+
d === f ? G(f === 124 ? Yr : zr, 2) : d === 61 ? G(be, 2) : G(f === 124 ? Fi : ji, 1);
|
|
5129
5129
|
}
|
|
5130
|
-
function
|
|
5131
|
-
var
|
|
5132
|
-
|
|
5130
|
+
function ra() {
|
|
5131
|
+
var f = t.charCodeAt(a + 1);
|
|
5132
|
+
f === 61 ? G(be, 2) : G(Ui, 1);
|
|
5133
5133
|
}
|
|
5134
|
-
function
|
|
5134
|
+
function na(f) {
|
|
5135
5135
|
var d = t.charCodeAt(a + 1);
|
|
5136
|
-
if (d ===
|
|
5137
|
-
if (d === 45 && t.charCodeAt(a + 2) === 62 &&
|
|
5138
|
-
a += 3,
|
|
5136
|
+
if (d === f) {
|
|
5137
|
+
if (d === 45 && t.charCodeAt(a + 2) === 62 && st.test(t.slice(Z, a))) {
|
|
5138
|
+
a += 3, Lt(), Ye(), Ce();
|
|
5139
5139
|
return;
|
|
5140
5140
|
}
|
|
5141
|
-
|
|
5142
|
-
} else d === 61 ?
|
|
5141
|
+
G(Mi, 2);
|
|
5142
|
+
} else d === 61 ? G(be, 2) : G(Gi, 1);
|
|
5143
5143
|
}
|
|
5144
|
-
function
|
|
5144
|
+
function ia(f) {
|
|
5145
5145
|
var d = t.charCodeAt(a + 1), y = 1;
|
|
5146
|
-
if (d ===
|
|
5147
|
-
y =
|
|
5146
|
+
if (d === f) {
|
|
5147
|
+
y = f === 62 && t.charCodeAt(a + 2) === 62 ? 3 : 2, t.charCodeAt(a + y) === 61 ? G(be, y + 1) : G(Vi, y);
|
|
5148
5148
|
return;
|
|
5149
5149
|
}
|
|
5150
|
-
if (d === 33 &&
|
|
5151
|
-
a += 4,
|
|
5150
|
+
if (d === 33 && f === 60 && t.charCodeAt(a + 2) === 45 && t.charCodeAt(a + 3) === 45) {
|
|
5151
|
+
a += 4, Lt(), Ye(), Ce();
|
|
5152
5152
|
return;
|
|
5153
5153
|
}
|
|
5154
|
-
d === 61 && (y = t.charCodeAt(a + 2) === 61 ? 3 : 2),
|
|
5154
|
+
d === 61 && (y = t.charCodeAt(a + 2) === 61 ? 3 : 2), G($i, y);
|
|
5155
5155
|
}
|
|
5156
|
-
function
|
|
5156
|
+
function aa(f) {
|
|
5157
5157
|
var d = t.charCodeAt(a + 1);
|
|
5158
|
-
d === 61 ?
|
|
5158
|
+
d === 61 ? G(Bi, t.charCodeAt(a + 2) === 61 ? 3 : 2) : G(f === 61 ? Vr : Gr, 1);
|
|
5159
5159
|
}
|
|
5160
|
-
function
|
|
5161
|
-
switch (
|
|
5160
|
+
function oa(f) {
|
|
5161
|
+
switch (f) {
|
|
5162
5162
|
case 46:
|
|
5163
|
-
return
|
|
5163
|
+
return Zi();
|
|
5164
5164
|
case 40:
|
|
5165
|
-
return ++a,
|
|
5165
|
+
return ++a, V(ae);
|
|
5166
5166
|
case 41:
|
|
5167
|
-
return ++a,
|
|
5167
|
+
return ++a, V(ee);
|
|
5168
5168
|
case 59:
|
|
5169
|
-
return ++a,
|
|
5169
|
+
return ++a, V(oe);
|
|
5170
5170
|
case 44:
|
|
5171
|
-
return ++a,
|
|
5171
|
+
return ++a, V(pe);
|
|
5172
5172
|
case 91:
|
|
5173
|
-
return ++a,
|
|
5173
|
+
return ++a, V(It);
|
|
5174
5174
|
case 93:
|
|
5175
|
-
return ++a,
|
|
5175
|
+
return ++a, V(Dt);
|
|
5176
5176
|
case 123:
|
|
5177
|
-
return ++a,
|
|
5177
|
+
return ++a, V(Ve);
|
|
5178
5178
|
case 125:
|
|
5179
|
-
return ++a,
|
|
5179
|
+
return ++a, V(we);
|
|
5180
5180
|
case 58:
|
|
5181
|
-
return ++a,
|
|
5181
|
+
return ++a, V(Ge);
|
|
5182
5182
|
case 63:
|
|
5183
|
-
return ++a,
|
|
5183
|
+
return ++a, V(Br);
|
|
5184
5184
|
case 48:
|
|
5185
5185
|
var d = t.charCodeAt(a + 1);
|
|
5186
|
-
if (d === 120 || d === 88) return
|
|
5186
|
+
if (d === 120 || d === 88) return ua();
|
|
5187
5187
|
case 49:
|
|
5188
5188
|
case 50:
|
|
5189
5189
|
case 51:
|
|
@@ -5193,117 +5193,117 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5193
5193
|
case 55:
|
|
5194
5194
|
case 56:
|
|
5195
5195
|
case 57:
|
|
5196
|
-
return
|
|
5196
|
+
return qr(!1);
|
|
5197
5197
|
case 34:
|
|
5198
5198
|
case 39:
|
|
5199
|
-
return
|
|
5199
|
+
return sa(f);
|
|
5200
5200
|
case 47:
|
|
5201
|
-
return
|
|
5201
|
+
return Qi();
|
|
5202
5202
|
case 37:
|
|
5203
5203
|
case 42:
|
|
5204
|
-
return
|
|
5204
|
+
return ea();
|
|
5205
5205
|
case 124:
|
|
5206
5206
|
case 38:
|
|
5207
|
-
return
|
|
5207
|
+
return ta(f);
|
|
5208
5208
|
case 94:
|
|
5209
|
-
return
|
|
5209
|
+
return ra();
|
|
5210
5210
|
case 43:
|
|
5211
5211
|
case 45:
|
|
5212
|
-
return
|
|
5212
|
+
return na(f);
|
|
5213
5213
|
case 60:
|
|
5214
5214
|
case 62:
|
|
5215
|
-
return
|
|
5215
|
+
return ia(f);
|
|
5216
5216
|
case 61:
|
|
5217
5217
|
case 33:
|
|
5218
|
-
return
|
|
5218
|
+
return aa(f);
|
|
5219
5219
|
case 126:
|
|
5220
|
-
return
|
|
5220
|
+
return G(Gr, 1);
|
|
5221
5221
|
}
|
|
5222
5222
|
return !1;
|
|
5223
5223
|
}
|
|
5224
|
-
function
|
|
5225
|
-
if (
|
|
5226
|
-
if (a >= e) return
|
|
5224
|
+
function Ce(f) {
|
|
5225
|
+
if (f ? a = p + 1 : p = a, r.locations && (E = new Ee()), f) return Kr();
|
|
5226
|
+
if (a >= e) return V(St);
|
|
5227
5227
|
var d = t.charCodeAt(a);
|
|
5228
|
-
if (
|
|
5229
|
-
return
|
|
5230
|
-
var y =
|
|
5228
|
+
if (ct(d) || d === 92)
|
|
5229
|
+
return Qr();
|
|
5230
|
+
var y = oa(d);
|
|
5231
5231
|
if (y === !1) {
|
|
5232
|
-
var
|
|
5233
|
-
if (
|
|
5234
|
-
return
|
|
5235
|
-
|
|
5232
|
+
var g = String.fromCharCode(d);
|
|
5233
|
+
if (g === "\\" || Jr.test(g))
|
|
5234
|
+
return Qr();
|
|
5235
|
+
I(a, "Unexpected character '" + g + "'");
|
|
5236
5236
|
}
|
|
5237
5237
|
}
|
|
5238
|
-
function
|
|
5238
|
+
function G(f, d) {
|
|
5239
5239
|
var y = t.slice(a, a + d);
|
|
5240
|
-
a += d,
|
|
5240
|
+
a += d, V(f, y);
|
|
5241
5241
|
}
|
|
5242
|
-
function
|
|
5243
|
-
for (var
|
|
5244
|
-
a >= e &&
|
|
5245
|
-
var
|
|
5246
|
-
if (
|
|
5247
|
-
|
|
5242
|
+
function Kr() {
|
|
5243
|
+
for (var f, d, y = a; ; ) {
|
|
5244
|
+
a >= e && I(y, "Unterminated regexp");
|
|
5245
|
+
var g = t.charAt(a);
|
|
5246
|
+
if (st.test(g) && I(y, "Unterminated regexp"), f)
|
|
5247
|
+
f = !1;
|
|
5248
5248
|
else {
|
|
5249
|
-
if (
|
|
5249
|
+
if (g === "[")
|
|
5250
5250
|
d = !0;
|
|
5251
|
-
else if (
|
|
5251
|
+
else if (g === "]" && d)
|
|
5252
5252
|
d = !1;
|
|
5253
|
-
else if (
|
|
5253
|
+
else if (g === "/" && !d)
|
|
5254
5254
|
break;
|
|
5255
|
-
|
|
5255
|
+
f = g === "\\";
|
|
5256
5256
|
}
|
|
5257
5257
|
++a;
|
|
5258
5258
|
}
|
|
5259
5259
|
var C = t.slice(y, a);
|
|
5260
5260
|
++a;
|
|
5261
|
-
var
|
|
5262
|
-
|
|
5261
|
+
var P = Zr();
|
|
5262
|
+
P && !/^[gmi]*$/.test(P) && I(y, "Invalid regexp flag");
|
|
5263
5263
|
try {
|
|
5264
|
-
var k = new RegExp(C,
|
|
5264
|
+
var k = new RegExp(C, P);
|
|
5265
5265
|
} catch (U) {
|
|
5266
|
-
throw U instanceof SyntaxError &&
|
|
5266
|
+
throw U instanceof SyntaxError && I(y, U.message), U;
|
|
5267
5267
|
}
|
|
5268
|
-
|
|
5268
|
+
V(br, k);
|
|
5269
5269
|
}
|
|
5270
|
-
function
|
|
5271
|
-
for (var y = a,
|
|
5270
|
+
function ze(f, d) {
|
|
5271
|
+
for (var y = a, g = 0, C = d === void 0 ? 1 / 0 : d, P = 0; P < C; ++P) {
|
|
5272
5272
|
var k = t.charCodeAt(a), U;
|
|
5273
|
-
if (k >= 97 ? U = k - 97 + 10 : k >= 65 ? U = k - 65 + 10 : k >= 48 && k <= 57 ? U = k - 48 : U = 1 / 0, U >=
|
|
5274
|
-
++a,
|
|
5273
|
+
if (k >= 97 ? U = k - 97 + 10 : k >= 65 ? U = k - 65 + 10 : k >= 48 && k <= 57 ? U = k - 48 : U = 1 / 0, U >= f) break;
|
|
5274
|
+
++a, g = g * f + U;
|
|
5275
5275
|
}
|
|
5276
|
-
return a === y || d !== void 0 && a - y !== d ? null :
|
|
5276
|
+
return a === y || d !== void 0 && a - y !== d ? null : g;
|
|
5277
5277
|
}
|
|
5278
|
-
function
|
|
5278
|
+
function ua() {
|
|
5279
5279
|
a += 2;
|
|
5280
|
-
var
|
|
5281
|
-
|
|
5280
|
+
var f = ze(16);
|
|
5281
|
+
f === null && I(p + 2, "Expected hexadecimal number"), ct(t.charCodeAt(a)) && I(a, "Identifier directly after number"), V(it, f);
|
|
5282
5282
|
}
|
|
5283
|
-
function
|
|
5284
|
-
var d = a, y = !1,
|
|
5285
|
-
!
|
|
5283
|
+
function qr(f) {
|
|
5284
|
+
var d = a, y = !1, g = t.charCodeAt(a) === 48;
|
|
5285
|
+
!f && ze(10) === null && I(d, "Invalid number"), t.charCodeAt(a) === 46 && (++a, ze(10), y = !0);
|
|
5286
5286
|
var C = t.charCodeAt(a);
|
|
5287
|
-
(C === 69 || C === 101) && (C = t.charCodeAt(++a), (C === 43 || C === 45) && ++a,
|
|
5288
|
-
var
|
|
5289
|
-
y ? k = parseFloat(
|
|
5287
|
+
(C === 69 || C === 101) && (C = t.charCodeAt(++a), (C === 43 || C === 45) && ++a, ze(10) === null && I(d, "Invalid number"), y = !0), ct(t.charCodeAt(a)) && I(a, "Identifier directly after number");
|
|
5288
|
+
var P = t.slice(d, a), k;
|
|
5289
|
+
y ? k = parseFloat(P) : !g || P.length === 1 ? k = parseInt(P, 10) : /[89]/.test(P) || H ? I(d, "Invalid number") : k = parseInt(P, 8), V(it, k);
|
|
5290
5290
|
}
|
|
5291
|
-
function
|
|
5291
|
+
function sa(f) {
|
|
5292
5292
|
a++;
|
|
5293
5293
|
for (var d = ""; ; ) {
|
|
5294
|
-
a >= e &&
|
|
5294
|
+
a >= e && I(p, "Unterminated string constant");
|
|
5295
5295
|
var y = t.charCodeAt(a);
|
|
5296
|
-
if (y ===
|
|
5297
|
-
++a,
|
|
5296
|
+
if (y === f) {
|
|
5297
|
+
++a, V(Nt, d);
|
|
5298
5298
|
return;
|
|
5299
5299
|
}
|
|
5300
5300
|
if (y === 92) {
|
|
5301
5301
|
y = t.charCodeAt(++a);
|
|
5302
|
-
var
|
|
5303
|
-
for (
|
|
5304
|
-
|
|
5305
|
-
if (
|
|
5306
|
-
H &&
|
|
5302
|
+
var g = /^[0-7]+/.exec(t.slice(a, a + 3));
|
|
5303
|
+
for (g && (g = g[0]); g && parseInt(g, 8) > 255; )
|
|
5304
|
+
g = g.slice(0, -1);
|
|
5305
|
+
if (g === "0" && (g = null), ++a, g)
|
|
5306
|
+
H && I(a - 2, "Octal literal in strict mode"), d += String.fromCharCode(parseInt(g, 8)), a += g.length - 1;
|
|
5307
5307
|
else
|
|
5308
5308
|
switch (y) {
|
|
5309
5309
|
case 110:
|
|
@@ -5314,13 +5314,13 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5314
5314
|
d += "\r";
|
|
5315
5315
|
break;
|
|
5316
5316
|
case 120:
|
|
5317
|
-
d += String.fromCharCode(
|
|
5317
|
+
d += String.fromCharCode(ft(2));
|
|
5318
5318
|
break;
|
|
5319
5319
|
case 117:
|
|
5320
|
-
d += String.fromCharCode(
|
|
5320
|
+
d += String.fromCharCode(ft(4));
|
|
5321
5321
|
break;
|
|
5322
5322
|
case 85:
|
|
5323
|
-
d += String.fromCharCode(
|
|
5323
|
+
d += String.fromCharCode(ft(8));
|
|
5324
5324
|
break;
|
|
5325
5325
|
case 116:
|
|
5326
5326
|
d += " ";
|
|
@@ -5347,333 +5347,333 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5347
5347
|
break;
|
|
5348
5348
|
}
|
|
5349
5349
|
} else
|
|
5350
|
-
(y === 13 || y === 10 || y === 8232 || y === 8233) &&
|
|
5350
|
+
(y === 13 || y === 10 || y === 8232 || y === 8233) && I(p, "Unterminated string constant"), d += String.fromCharCode(y), ++a;
|
|
5351
5351
|
}
|
|
5352
5352
|
}
|
|
5353
|
-
function
|
|
5354
|
-
var d =
|
|
5355
|
-
return d === null &&
|
|
5353
|
+
function ft(f) {
|
|
5354
|
+
var d = ze(16, f);
|
|
5355
|
+
return d === null && I(p, "Bad character escape sequence"), /** @type {number} */
|
|
5356
5356
|
d;
|
|
5357
5357
|
}
|
|
5358
|
-
var
|
|
5359
|
-
function
|
|
5360
|
-
|
|
5361
|
-
for (var
|
|
5362
|
-
var
|
|
5363
|
-
if (
|
|
5364
|
-
|
|
5365
|
-
else if (
|
|
5366
|
-
|
|
5367
|
-
var C =
|
|
5368
|
-
|
|
5358
|
+
var ke;
|
|
5359
|
+
function Zr() {
|
|
5360
|
+
ke = !1;
|
|
5361
|
+
for (var f, d = !0, y = a; ; ) {
|
|
5362
|
+
var g = t.charCodeAt(a);
|
|
5363
|
+
if (Hr(g))
|
|
5364
|
+
ke && (f += t.charAt(a)), ++a;
|
|
5365
|
+
else if (g === 92) {
|
|
5366
|
+
ke || (f = t.slice(y, a)), ke = !0, t.charCodeAt(++a) !== 117 && I(a, "Expecting Unicode escape sequence \\uXXXX"), ++a;
|
|
5367
|
+
var C = ft(4), P = String.fromCharCode(C);
|
|
5368
|
+
P || I(a - 1, "Invalid Unicode escape"), (d ? ct(C) : Hr(C)) || I(a - 4, "Invalid Unicode escape"), f += P;
|
|
5369
5369
|
} else
|
|
5370
5370
|
break;
|
|
5371
5371
|
d = !1;
|
|
5372
5372
|
}
|
|
5373
|
-
return
|
|
5373
|
+
return ke ? f : t.slice(y, a);
|
|
5374
5374
|
}
|
|
5375
|
-
function
|
|
5376
|
-
var
|
|
5377
|
-
!
|
|
5375
|
+
function Qr() {
|
|
5376
|
+
var f = Zr(), d = Pe;
|
|
5377
|
+
!ke && Xi(f) && (d = Li[f]), V(d, f);
|
|
5378
5378
|
}
|
|
5379
5379
|
function D() {
|
|
5380
|
-
|
|
5380
|
+
$e = p, Z = v, xe = S, Ce();
|
|
5381
5381
|
}
|
|
5382
|
-
function Mt(
|
|
5383
|
-
if (H =
|
|
5382
|
+
function Mt(f) {
|
|
5383
|
+
if (H = f, a = p, r.locations)
|
|
5384
5384
|
for (; a < W; )
|
|
5385
5385
|
W = t.lastIndexOf(`
|
|
5386
5386
|
`, W - 2) + 1, --L;
|
|
5387
|
-
|
|
5387
|
+
Ye(), Ce();
|
|
5388
5388
|
}
|
|
5389
|
-
function
|
|
5389
|
+
function en() {
|
|
5390
5390
|
this.type = null, this.start = p, this.end = null;
|
|
5391
5391
|
}
|
|
5392
|
-
function
|
|
5392
|
+
function tn() {
|
|
5393
5393
|
this.start = E, this.end = null, i && (this.source = i);
|
|
5394
5394
|
}
|
|
5395
5395
|
function z() {
|
|
5396
|
-
var
|
|
5397
|
-
return r.locations && (
|
|
5396
|
+
var f = new en();
|
|
5397
|
+
return r.locations && (f.loc = new tn()), r.directSourceFile && (f.sourceFile = r.directSourceFile), r.ranges && (f.range = [p, 0]), f;
|
|
5398
5398
|
}
|
|
5399
|
-
function
|
|
5400
|
-
var d = new
|
|
5401
|
-
return d.start =
|
|
5399
|
+
function de(f) {
|
|
5400
|
+
var d = new en();
|
|
5401
|
+
return d.start = f.start, r.locations && (d.loc = new tn(), d.loc.start = f.loc.start), r.ranges && (d.range = [f.range[0], 0]), d;
|
|
5402
5402
|
}
|
|
5403
|
-
function
|
|
5404
|
-
return
|
|
5403
|
+
function w(f, d) {
|
|
5404
|
+
return f.type = d, f.end = Z, r.locations && (f.loc.end = xe), r.ranges && (f.range[1] = Z), f;
|
|
5405
5405
|
}
|
|
5406
|
-
function
|
|
5407
|
-
return
|
|
5406
|
+
function Ft(f) {
|
|
5407
|
+
return f.type === "ExpressionStatement" && f.expression.type === "Literal" && f.expression.value === "use strict";
|
|
5408
5408
|
}
|
|
5409
|
-
function j(
|
|
5410
|
-
return
|
|
5409
|
+
function j(f) {
|
|
5410
|
+
return T === f ? (D(), !0) : !1;
|
|
5411
5411
|
}
|
|
5412
|
-
function
|
|
5413
|
-
return !r.strictSemicolons && (
|
|
5412
|
+
function pt() {
|
|
5413
|
+
return !r.strictSemicolons && (T === St || T === we || st.test(t.slice(Z, p)));
|
|
5414
5414
|
}
|
|
5415
|
-
function
|
|
5416
|
-
!j(
|
|
5415
|
+
function Re() {
|
|
5416
|
+
!j(oe) && !pt() && ue();
|
|
5417
5417
|
}
|
|
5418
|
-
function $(
|
|
5419
|
-
|
|
5418
|
+
function $(f) {
|
|
5419
|
+
T === f ? D() : ue();
|
|
5420
5420
|
}
|
|
5421
|
-
function
|
|
5422
|
-
|
|
5421
|
+
function ue() {
|
|
5422
|
+
I(p, "Unexpected token");
|
|
5423
5423
|
}
|
|
5424
|
-
function
|
|
5425
|
-
|
|
5424
|
+
function dt(f) {
|
|
5425
|
+
f.type !== "Identifier" && f.type !== "MemberExpression" && I(f.start, "Assigning to rvalue"), H && f.type === "Identifier" && ut(f.name) && I(f.start, "Assigning to " + f.name + " in strict mode");
|
|
5426
5426
|
}
|
|
5427
|
-
function
|
|
5428
|
-
|
|
5429
|
-
var d =
|
|
5430
|
-
for (
|
|
5431
|
-
var
|
|
5432
|
-
d.body.push(
|
|
5427
|
+
function la(f) {
|
|
5428
|
+
$e = Z = a, r.locations && (xe = new Ee()), ge = H = !1, B = [], Ce();
|
|
5429
|
+
var d = f || z(), y = !0;
|
|
5430
|
+
for (f || (d.body = []); T !== St; ) {
|
|
5431
|
+
var g = Q();
|
|
5432
|
+
d.body.push(g), y && Ft(g) && Mt(!0), y = !1;
|
|
5433
5433
|
}
|
|
5434
|
-
return
|
|
5434
|
+
return w(d, "Program");
|
|
5435
5435
|
}
|
|
5436
|
-
var
|
|
5437
|
-
function
|
|
5438
|
-
(
|
|
5439
|
-
var
|
|
5440
|
-
switch (
|
|
5441
|
-
case
|
|
5442
|
-
case
|
|
5436
|
+
var Ut = { kind: "loop" }, ca = { kind: "switch" };
|
|
5437
|
+
function Q() {
|
|
5438
|
+
(T === $r || T === be && x === "/=") && Ce(!0);
|
|
5439
|
+
var f = T, d = z();
|
|
5440
|
+
switch (f) {
|
|
5441
|
+
case xt:
|
|
5442
|
+
case Rr:
|
|
5443
5443
|
D();
|
|
5444
|
-
var y =
|
|
5445
|
-
j(
|
|
5446
|
-
for (var
|
|
5447
|
-
var C = B[
|
|
5444
|
+
var y = f === xt;
|
|
5445
|
+
j(oe) || pt() ? d.label = null : T !== Pe ? ue() : (d.label = he(), Re());
|
|
5446
|
+
for (var g = 0; g < B.length; ++g) {
|
|
5447
|
+
var C = B[g];
|
|
5448
5448
|
if ((d.label === null || C.name === d.label.name) && (C.kind !== null && (y || C.kind === "loop") || d.label && y))
|
|
5449
5449
|
break;
|
|
5450
5450
|
}
|
|
5451
|
-
return
|
|
5451
|
+
return g === B.length && I(d.start, "Unsyntactic " + f.keyword), w(d, y ? "BreakStatement" : "ContinueStatement");
|
|
5452
|
+
case Or:
|
|
5453
|
+
return D(), Re(), w(d, "DebuggerStatement");
|
|
5452
5454
|
case Nr:
|
|
5453
|
-
return D(),
|
|
5454
|
-
case
|
|
5455
|
-
|
|
5456
|
-
|
|
5457
|
-
|
|
5458
|
-
|
|
5459
|
-
var w = z();
|
|
5460
|
-
return D(), on(w, !0), P(w, "VariableDeclaration"), w.declarations.length === 1 && j(tt) ? an(d, w) : Bt(d, w);
|
|
5455
|
+
return D(), B.push(Ut), d.body = Q(), B.pop(), $(At), d.test = Xe(), Re(), w(d, "DoWhileStatement");
|
|
5456
|
+
case Pr:
|
|
5457
|
+
if (D(), B.push(Ut), $(ae), T === oe) return jt(d, null);
|
|
5458
|
+
if (T === kt) {
|
|
5459
|
+
var P = z();
|
|
5460
|
+
return D(), nn(P, !0), w(P, "VariableDeclaration"), P.declarations.length === 1 && j(at) ? rn(d, P) : jt(d, P);
|
|
5461
5461
|
}
|
|
5462
|
-
var
|
|
5463
|
-
return j(
|
|
5462
|
+
var P = X(!1, !0);
|
|
5463
|
+
return j(at) ? (dt(P), rn(d, P)) : jt(d, P);
|
|
5464
|
+
case wt:
|
|
5465
|
+
return D(), Yt(d, !0);
|
|
5466
|
+
case wr:
|
|
5467
|
+
return D(), d.test = Xe(), d.consequent = Q(), d.alternate = j(Sr) ? Q() : null, w(d, "IfStatement");
|
|
5468
|
+
case Cr:
|
|
5469
|
+
return !ge && !r.allowReturnOutsideFunction && I(p, "'return' outside of function"), D(), j(oe) || pt() ? d.argument = null : (d.argument = X(), Re()), w(d, "ReturnStatement");
|
|
5464
5470
|
case Ct:
|
|
5465
|
-
|
|
5471
|
+
D(), d.discriminant = Xe(), d.cases = [], $(Ve), B.push(ca);
|
|
5472
|
+
for (var k, U; T !== we; )
|
|
5473
|
+
if (T === Pt || T === Tr) {
|
|
5474
|
+
var He = T === Pt;
|
|
5475
|
+
k && w(k, "SwitchCase"), d.cases.push(k = z()), k.consequent = [], D(), He ? k.test = X() : (U && I($e, "Multiple default clauses"), U = !0, k.test = null), $(Ge);
|
|
5476
|
+
} else
|
|
5477
|
+
k || ue(), k.consequent.push(Q());
|
|
5478
|
+
return k && w(k, "SwitchCase"), D(), B.pop(), w(d, "SwitchStatement");
|
|
5466
5479
|
case kr:
|
|
5467
|
-
return D(),
|
|
5480
|
+
return D(), st.test(t.slice(Z, p)) && I(Z, "Illegal newline after throw"), d.argument = X(), Re(), w(d, "ThrowStatement");
|
|
5468
5481
|
case Ar:
|
|
5469
|
-
|
|
5470
|
-
|
|
5471
|
-
|
|
5472
|
-
for (var k, U; O !== Ne; )
|
|
5473
|
-
if (O === Pt || O === Sr) {
|
|
5474
|
-
var ze = O === Pt;
|
|
5475
|
-
k && P(k, "SwitchCase"), d.cases.push(k = z()), k.consequent = [], D(), ze ? k.test = X() : (U && A(Me, "Multiple default clauses"), U = !0, k.test = null), $(je);
|
|
5476
|
-
} else
|
|
5477
|
-
k || ie(), k.consequent.push(Z());
|
|
5478
|
-
return k && P(k, "SwitchCase"), D(), B.pop(), P(d, "SwitchStatement");
|
|
5479
|
-
case Ir:
|
|
5480
|
-
return D(), it.test(t.slice(q, p)) && A(q, "Illegal newline after throw"), d.argument = X(), ge(), P(d, "ThrowStatement");
|
|
5481
|
-
case Dr:
|
|
5482
|
-
if (D(), d.block = Ge(), d.handler = null, O === Or) {
|
|
5483
|
-
var we = z();
|
|
5484
|
-
D(), $(re), we.param = ce(), H && nt(we.param.name) && A(we.param.start, "Binding " + we.param.name + " in strict mode"), $(ee), we.body = Ge(), d.handler = P(we, "CatchClause");
|
|
5482
|
+
if (D(), d.block = We(), d.handler = null, T === Er) {
|
|
5483
|
+
var Ae = z();
|
|
5484
|
+
D(), $(ae), Ae.param = he(), H && ut(Ae.param.name) && I(Ae.param.start, "Binding " + Ae.param.name + " in strict mode"), $(ee), Ae.body = We(), d.handler = w(Ae, "CatchClause");
|
|
5485
5485
|
}
|
|
5486
|
-
return d.finalizer = j(
|
|
5486
|
+
return d.finalizer = j(xr) ? We() : null, !d.handler && !d.finalizer && I(d.start, "Missing catch or finally clause"), w(d, "TryStatement");
|
|
5487
|
+
case kt:
|
|
5488
|
+
return D(), nn(d), Re(), w(d, "VariableDeclaration");
|
|
5487
5489
|
case At:
|
|
5488
|
-
return D(),
|
|
5489
|
-
case
|
|
5490
|
-
return
|
|
5491
|
-
case
|
|
5492
|
-
return
|
|
5493
|
-
case
|
|
5494
|
-
return
|
|
5495
|
-
case ne:
|
|
5496
|
-
return D(), P(d, "EmptyStatement");
|
|
5490
|
+
return D(), d.test = Xe(), B.push(Ut), d.body = Q(), B.pop(), w(d, "WhileStatement");
|
|
5491
|
+
case Ir:
|
|
5492
|
+
return H && I(p, "'with' in strict mode"), D(), d.object = Xe(), d.body = Q(), w(d, "WithStatement");
|
|
5493
|
+
case Ve:
|
|
5494
|
+
return We();
|
|
5495
|
+
case oe:
|
|
5496
|
+
return D(), w(d, "EmptyStatement");
|
|
5497
5497
|
default:
|
|
5498
|
-
var
|
|
5499
|
-
if (
|
|
5500
|
-
for (var
|
|
5501
|
-
B[
|
|
5502
|
-
var
|
|
5503
|
-
return B.push({ name:
|
|
5498
|
+
var Xt = x, ht = X();
|
|
5499
|
+
if (f === Pe && ht.type === "Identifier" && j(Ge)) {
|
|
5500
|
+
for (var g = 0; g < B.length; ++g)
|
|
5501
|
+
B[g].name === Xt && I(ht.start, "Label '" + Xt + "' is already declared");
|
|
5502
|
+
var ya = T.isLoop ? "loop" : T === Ct ? "switch" : null;
|
|
5503
|
+
return B.push({ name: Xt, kind: ya }), d.body = Q(), B.pop(), d.label = ht, w(d, "LabeledStatement");
|
|
5504
5504
|
} else
|
|
5505
|
-
return d.expression =
|
|
5505
|
+
return d.expression = ht, Re(), w(d, "ExpressionStatement");
|
|
5506
5506
|
}
|
|
5507
5507
|
}
|
|
5508
|
-
function
|
|
5509
|
-
$(
|
|
5510
|
-
var
|
|
5511
|
-
return $(ee),
|
|
5508
|
+
function Xe() {
|
|
5509
|
+
$(ae);
|
|
5510
|
+
var f = X();
|
|
5511
|
+
return $(ee), f;
|
|
5512
5512
|
}
|
|
5513
|
-
function
|
|
5514
|
-
var d = z(), y = !0,
|
|
5515
|
-
for (d.body = [], $(
|
|
5516
|
-
var
|
|
5517
|
-
d.body.push(
|
|
5513
|
+
function We(f) {
|
|
5514
|
+
var d = z(), y = !0, g = !1, C;
|
|
5515
|
+
for (d.body = [], $(Ve); !j(we); ) {
|
|
5516
|
+
var P = Q();
|
|
5517
|
+
d.body.push(P), y && f && Ft(P) && (C = g, Mt(g = !0)), y = !1;
|
|
5518
5518
|
}
|
|
5519
|
-
return
|
|
5519
|
+
return g && !C && Mt(!1), w(d, "BlockStatement");
|
|
5520
5520
|
}
|
|
5521
|
-
function
|
|
5522
|
-
return
|
|
5521
|
+
function jt(f, d) {
|
|
5522
|
+
return f.init = d, $(oe), f.test = T === oe ? null : X(), $(oe), f.update = T === ee ? null : X(), $(ee), f.body = Q(), B.pop(), w(f, "ForStatement");
|
|
5523
5523
|
}
|
|
5524
|
-
function
|
|
5525
|
-
return
|
|
5524
|
+
function rn(f, d) {
|
|
5525
|
+
return f.left = d, f.right = X(), $(ee), f.body = Q(), B.pop(), w(f, "ForInStatement");
|
|
5526
5526
|
}
|
|
5527
|
-
function
|
|
5528
|
-
for (
|
|
5527
|
+
function nn(f, d) {
|
|
5528
|
+
for (f.declarations = [], f.kind = "var"; ; ) {
|
|
5529
5529
|
var y = z();
|
|
5530
|
-
if (y.id =
|
|
5530
|
+
if (y.id = he(), H && ut(y.id.name) && I(y.id.start, "Binding " + y.id.name + " in strict mode"), y.init = j(Vr) ? X(!0, d) : null, f.declarations.push(w(y, "VariableDeclarator")), !j(pe)) break;
|
|
5531
5531
|
}
|
|
5532
5532
|
}
|
|
5533
|
-
function X(
|
|
5534
|
-
var y =
|
|
5535
|
-
if (!
|
|
5536
|
-
var
|
|
5537
|
-
for (
|
|
5538
|
-
return
|
|
5533
|
+
function X(f, d) {
|
|
5534
|
+
var y = Bt(d);
|
|
5535
|
+
if (!f && T === pe) {
|
|
5536
|
+
var g = de(y);
|
|
5537
|
+
for (g.expressions = [y]; j(pe); ) g.expressions.push(Bt(d));
|
|
5538
|
+
return w(g, "SequenceExpression");
|
|
5539
5539
|
}
|
|
5540
5540
|
return y;
|
|
5541
5541
|
}
|
|
5542
|
-
function
|
|
5543
|
-
var d =
|
|
5544
|
-
if (
|
|
5545
|
-
var y =
|
|
5546
|
-
return y.operator = x, y.left = d, D(), y.right =
|
|
5542
|
+
function Bt(f) {
|
|
5543
|
+
var d = fa(f);
|
|
5544
|
+
if (T.isAssign) {
|
|
5545
|
+
var y = de(d);
|
|
5546
|
+
return y.operator = x, y.left = d, D(), y.right = Bt(f), dt(d), w(y, "AssignmentExpression");
|
|
5547
5547
|
}
|
|
5548
5548
|
return d;
|
|
5549
5549
|
}
|
|
5550
|
-
function
|
|
5551
|
-
var d =
|
|
5552
|
-
if (j(
|
|
5553
|
-
var y =
|
|
5554
|
-
return y.test = d, y.consequent = X(!0), $(
|
|
5550
|
+
function fa(f) {
|
|
5551
|
+
var d = pa(f);
|
|
5552
|
+
if (j(Br)) {
|
|
5553
|
+
var y = de(d);
|
|
5554
|
+
return y.test = d, y.consequent = X(!0), $(Ge), y.alternate = X(!0, f), w(y, "ConditionalExpression");
|
|
5555
5555
|
}
|
|
5556
5556
|
return d;
|
|
5557
5557
|
}
|
|
5558
|
-
function
|
|
5559
|
-
return Vt(
|
|
5558
|
+
function pa(f) {
|
|
5559
|
+
return $t(Vt(), -1, f);
|
|
5560
5560
|
}
|
|
5561
|
-
function
|
|
5562
|
-
var
|
|
5563
|
-
if (
|
|
5564
|
-
var C =
|
|
5565
|
-
C.left =
|
|
5566
|
-
var
|
|
5567
|
-
D(), C.right = Vt(
|
|
5568
|
-
var k =
|
|
5569
|
-
return
|
|
5561
|
+
function $t(f, d, y) {
|
|
5562
|
+
var g = T.binop;
|
|
5563
|
+
if (g !== null && (!y || T !== at) && g > d) {
|
|
5564
|
+
var C = de(f);
|
|
5565
|
+
C.left = f, C.operator = x;
|
|
5566
|
+
var P = T;
|
|
5567
|
+
D(), C.right = $t(Vt(), g, y);
|
|
5568
|
+
var k = w(C, P === Yr || P === zr ? "LogicalExpression" : "BinaryExpression");
|
|
5569
|
+
return $t(k, d, y);
|
|
5570
5570
|
}
|
|
5571
|
-
return
|
|
5571
|
+
return f;
|
|
5572
5572
|
}
|
|
5573
|
-
function
|
|
5574
|
-
if (
|
|
5575
|
-
var
|
|
5576
|
-
return
|
|
5573
|
+
function Vt() {
|
|
5574
|
+
if (T.prefix) {
|
|
5575
|
+
var f = z(), d = T.isUpdate;
|
|
5576
|
+
return f.operator = x, f.prefix = !0, A = !0, D(), f.argument = Vt(), d ? dt(f.argument) : H && f.operator === "delete" && f.argument.type === "Identifier" && I(f.start, "Deleting local variable in strict mode"), w(f, d ? "UpdateExpression" : "UnaryExpression");
|
|
5577
5577
|
}
|
|
5578
|
-
for (var y =
|
|
5579
|
-
var
|
|
5580
|
-
|
|
5578
|
+
for (var y = da(); T.postfix && !pt(); ) {
|
|
5579
|
+
var f = de(y);
|
|
5580
|
+
f.operator = x, f.prefix = !1, f.argument = y, dt(y), D(), y = w(f, "UpdateExpression");
|
|
5581
5581
|
}
|
|
5582
5582
|
return y;
|
|
5583
5583
|
}
|
|
5584
|
-
function
|
|
5585
|
-
return
|
|
5584
|
+
function da() {
|
|
5585
|
+
return Je(Gt());
|
|
5586
5586
|
}
|
|
5587
|
-
function
|
|
5587
|
+
function Je(f, d) {
|
|
5588
5588
|
var y;
|
|
5589
|
-
return j(
|
|
5589
|
+
return j(jr) ? (y = de(f), y.object = f, y.property = he(!0), y.computed = !1, Je(w(y, "MemberExpression"), d)) : j(It) ? (y = de(f), y.object = f, y.property = X(), y.computed = !0, $(Dt), Je(w(y, "MemberExpression"), d)) : !d && j(ae) ? (y = de(f), y.callee = f, y.arguments = zt(ee, !1), Je(w(y, "CallExpression"), d)) : f;
|
|
5590
5590
|
}
|
|
5591
|
-
function
|
|
5592
|
-
var
|
|
5593
|
-
switch (
|
|
5591
|
+
function Gt() {
|
|
5592
|
+
var f;
|
|
5593
|
+
switch (T) {
|
|
5594
|
+
case Lr:
|
|
5595
|
+
return f = z(), D(), w(f, "ThisExpression");
|
|
5596
|
+
case Pe:
|
|
5597
|
+
return he();
|
|
5598
|
+
case it:
|
|
5599
|
+
case Nt:
|
|
5600
|
+
case br:
|
|
5601
|
+
return f = z(), f.value = x, f.raw = t.slice(p, v), D(), w(f, "Literal");
|
|
5594
5602
|
case Mr:
|
|
5595
|
-
|
|
5596
|
-
case Te:
|
|
5597
|
-
return ce();
|
|
5598
|
-
case et:
|
|
5599
|
-
case St:
|
|
5600
|
-
case Rr:
|
|
5601
|
-
return c = z(), c.value = x, c.raw = t.slice(p, v), D(), P(c, "Literal");
|
|
5603
|
+
case Fr:
|
|
5602
5604
|
case Ur:
|
|
5603
|
-
|
|
5604
|
-
case
|
|
5605
|
-
return c = z(), c.value = O.atomValue, c.raw = O.keyword, D(), P(c, "Literal");
|
|
5606
|
-
case re:
|
|
5605
|
+
return f = z(), f.value = T.atomValue, f.raw = T.keyword, D(), w(f, "Literal");
|
|
5606
|
+
case ae:
|
|
5607
5607
|
var d = E, y = p;
|
|
5608
5608
|
D();
|
|
5609
|
-
var
|
|
5610
|
-
return
|
|
5611
|
-
case
|
|
5612
|
-
return
|
|
5613
|
-
case
|
|
5609
|
+
var g = X();
|
|
5610
|
+
return g.start = y, g.end = v, r.locations && (g.loc.start = d, g.loc.end = S), r.ranges && (g.range = [y, v]), $(ee), g;
|
|
5611
|
+
case It:
|
|
5612
|
+
return f = z(), D(), f.elements = zt(Dt, !0, !0), w(f, "ArrayExpression");
|
|
5613
|
+
case Ve:
|
|
5614
|
+
return va();
|
|
5615
|
+
case wt:
|
|
5616
|
+
return f = z(), D(), Yt(f, !1);
|
|
5617
|
+
case Dr:
|
|
5614
5618
|
return ha();
|
|
5615
|
-
case Ct:
|
|
5616
|
-
return c = z(), D(), zt(c, !1);
|
|
5617
|
-
case Fr:
|
|
5618
|
-
return da();
|
|
5619
5619
|
}
|
|
5620
|
-
|
|
5621
|
-
}
|
|
5622
|
-
function da() {
|
|
5623
|
-
var c = z();
|
|
5624
|
-
return D(), c.callee = Ye(Yt(), !0), c.arguments = j(re) ? Xt(ee, !1) : Ii, P(c, "NewExpression");
|
|
5620
|
+
ue();
|
|
5625
5621
|
}
|
|
5626
5622
|
function ha() {
|
|
5627
|
-
var
|
|
5628
|
-
|
|
5623
|
+
var f = z();
|
|
5624
|
+
return D(), f.callee = Je(Gt(), !0), f.arguments = j(ae) ? zt(ee, !1) : Di, w(f, "NewExpression");
|
|
5625
|
+
}
|
|
5626
|
+
function va() {
|
|
5627
|
+
var f = z(), d = !0, y = !1;
|
|
5628
|
+
for (f.properties = [], D(); !j(we); ) {
|
|
5629
5629
|
if (d)
|
|
5630
5630
|
d = !1;
|
|
5631
|
-
else if ($(
|
|
5631
|
+
else if ($(pe), r.allowTrailingCommas && j(we))
|
|
5632
5632
|
break;
|
|
5633
|
-
var
|
|
5634
|
-
if (j(
|
|
5635
|
-
for (var k = 0; k <
|
|
5636
|
-
var U =
|
|
5637
|
-
if (U.key.name ===
|
|
5638
|
-
var
|
|
5639
|
-
|
|
5633
|
+
var g = { key: an() }, C = !1, P;
|
|
5634
|
+
if (j(Ge) ? (g.value = X(!0), P = g.kind = "init") : g.key.type === "Identifier" && (g.key.name === "get" || g.key.name === "set") ? (C = y = !0, P = g.kind = g.key.name, g.key = an(), T !== ae && ue(), g.value = Yt(z(), !1)) : ue(), g.key.type === "Identifier" && (H || y))
|
|
5635
|
+
for (var k = 0; k < f.properties.length; ++k) {
|
|
5636
|
+
var U = f.properties[k];
|
|
5637
|
+
if (U.key.name === g.key.name) {
|
|
5638
|
+
var He = P === U.kind || C && U.kind === "init" || P === "init" && (U.kind === "get" || U.kind === "set");
|
|
5639
|
+
He && !H && P === "init" && U.kind === "init" && (He = !1), He && I(g.key.start, "Redefinition of property");
|
|
5640
5640
|
}
|
|
5641
5641
|
}
|
|
5642
|
-
|
|
5642
|
+
f.properties.push(g);
|
|
5643
5643
|
}
|
|
5644
|
-
return
|
|
5644
|
+
return w(f, "ObjectExpression");
|
|
5645
5645
|
}
|
|
5646
|
-
function
|
|
5647
|
-
return
|
|
5646
|
+
function an() {
|
|
5647
|
+
return T === it || T === Nt ? Gt() : he(!0);
|
|
5648
5648
|
}
|
|
5649
|
-
function
|
|
5650
|
-
|
|
5649
|
+
function Yt(f, d) {
|
|
5650
|
+
T === Pe ? f.id = he() : d ? ue() : f.id = null, f.params = [];
|
|
5651
5651
|
var y = !0;
|
|
5652
|
-
for ($(
|
|
5653
|
-
y ? y = !1 : $(
|
|
5654
|
-
var
|
|
5655
|
-
if (
|
|
5656
|
-
for (var
|
|
5657
|
-
var k =
|
|
5658
|
-
if ((
|
|
5659
|
-
for (var U = 0; U <
|
|
5660
|
-
k.name ===
|
|
5652
|
+
for ($(ae); !j(ee); )
|
|
5653
|
+
y ? y = !1 : $(pe), f.params.push(he());
|
|
5654
|
+
var g = ge, C = B;
|
|
5655
|
+
if (ge = !0, B = [], f.body = We(!0), ge = g, B = C, H || f.body.body.length && Ft(f.body.body[0]))
|
|
5656
|
+
for (var P = f.id ? -1 : 0; P < f.params.length; ++P) {
|
|
5657
|
+
var k = P < 0 ? f.id : f.params[P];
|
|
5658
|
+
if ((Xr(k.name) || ut(k.name)) && I(k.start, "Defining '" + k.name + "' in strict mode"), P >= 0)
|
|
5659
|
+
for (var U = 0; U < P; ++U)
|
|
5660
|
+
k.name === f.params[U].name && I(k.start, "Argument name clash in strict mode");
|
|
5661
5661
|
}
|
|
5662
|
-
return
|
|
5662
|
+
return w(f, d ? "FunctionDeclaration" : "FunctionExpression");
|
|
5663
5663
|
}
|
|
5664
|
-
function
|
|
5665
|
-
for (var
|
|
5664
|
+
function zt(f, d, y) {
|
|
5665
|
+
for (var g = [], C = !0; !j(f); ) {
|
|
5666
5666
|
if (C)
|
|
5667
5667
|
C = !1;
|
|
5668
|
-
else if ($(
|
|
5668
|
+
else if ($(pe), d && r.allowTrailingCommas && j(f))
|
|
5669
5669
|
break;
|
|
5670
|
-
|
|
5670
|
+
g.push(y && T === pe ? null : X(!0));
|
|
5671
5671
|
}
|
|
5672
|
-
return
|
|
5672
|
+
return g;
|
|
5673
5673
|
}
|
|
5674
|
-
function
|
|
5674
|
+
function he(f) {
|
|
5675
5675
|
var d = z();
|
|
5676
|
-
return
|
|
5676
|
+
return f && r.forbidReserved === "everywhere" && (f = !1), T === Pe ? (!f && (r.forbidReserved && zi(x) || H && Xr(x)) && t.slice(p, v).indexOf("\\") === -1 && I(p, "The keyword '" + x + "' is reserved"), d.name = x) : f && T.keyword ? d.name = T.keyword : ue(), A = !1, D(), w(d, "Identifier");
|
|
5677
5677
|
}
|
|
5678
5678
|
});
|
|
5679
5679
|
}
|
|
@@ -5685,16 +5685,16 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5685
5685
|
\*********************/
|
|
5686
5686
|
/***/
|
|
5687
5687
|
(m) => {
|
|
5688
|
-
m.exports =
|
|
5688
|
+
m.exports = Xl;
|
|
5689
5689
|
}
|
|
5690
5690
|
)
|
|
5691
5691
|
/******/
|
|
5692
5692
|
}, h = {};
|
|
5693
|
-
function
|
|
5694
|
-
var
|
|
5695
|
-
if (
|
|
5696
|
-
return
|
|
5697
|
-
var
|
|
5693
|
+
function _(m) {
|
|
5694
|
+
var R = h[m];
|
|
5695
|
+
if (R !== void 0)
|
|
5696
|
+
return R.exports;
|
|
5697
|
+
var O = h[m] = {
|
|
5698
5698
|
/******/
|
|
5699
5699
|
// no module.id needed
|
|
5700
5700
|
/******/
|
|
@@ -5703,69 +5703,69 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5703
5703
|
exports: {}
|
|
5704
5704
|
/******/
|
|
5705
5705
|
};
|
|
5706
|
-
return
|
|
5706
|
+
return c[m].call(O.exports, O, O.exports, _), O.exports;
|
|
5707
5707
|
}
|
|
5708
|
-
|
|
5709
|
-
for (var
|
|
5710
|
-
|
|
5711
|
-
},
|
|
5708
|
+
_.d = (m, R) => {
|
|
5709
|
+
for (var O in R)
|
|
5710
|
+
_.o(R, O) && !_.o(m, O) && Object.defineProperty(m, O, { enumerable: !0, get: R[O] });
|
|
5711
|
+
}, _.o = (m, R) => Object.prototype.hasOwnProperty.call(m, R), _.r = (m) => {
|
|
5712
5712
|
typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(m, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(m, "__esModule", { value: !0 });
|
|
5713
5713
|
};
|
|
5714
|
-
var
|
|
5714
|
+
var b = {};
|
|
5715
5715
|
return (() => {
|
|
5716
5716
|
/*!*******************************!*\
|
|
5717
5717
|
!*** ./src/js-interpreter.js ***!
|
|
5718
5718
|
\*******************************/
|
|
5719
|
-
|
|
5719
|
+
_.r(b), _.d(b, {
|
|
5720
5720
|
/* harmony export */
|
|
5721
|
-
default: () =>
|
|
5721
|
+
default: () => O
|
|
5722
5722
|
/* harmony export */
|
|
5723
5723
|
});
|
|
5724
|
-
const m =
|
|
5724
|
+
const m = _(
|
|
5725
5725
|
/*! ../original-repo/acorn */
|
|
5726
5726
|
"./original-repo/acorn.js"
|
|
5727
5727
|
);
|
|
5728
5728
|
globalThis.acorn = m;
|
|
5729
|
-
const { Interpreter:
|
|
5729
|
+
const { Interpreter: R } = _(
|
|
5730
5730
|
/*! ../original-repo/interpreter */
|
|
5731
5731
|
"./original-repo/interpreter.js"
|
|
5732
|
-
),
|
|
5733
|
-
})(),
|
|
5732
|
+
), O = R;
|
|
5733
|
+
})(), b = b.default, b;
|
|
5734
5734
|
})()
|
|
5735
5735
|
));
|
|
5736
|
-
})(
|
|
5737
|
-
var
|
|
5738
|
-
const
|
|
5739
|
-
function
|
|
5740
|
-
function
|
|
5741
|
-
const
|
|
5742
|
-
console.log(
|
|
5736
|
+
})(Ai);
|
|
5737
|
+
var Wl = Ai.exports;
|
|
5738
|
+
const Jl = /* @__PURE__ */ Vl(Wl);
|
|
5739
|
+
function Hl(n, o) {
|
|
5740
|
+
function c(R) {
|
|
5741
|
+
const O = n.pseudoToNative(R);
|
|
5742
|
+
console.log(O);
|
|
5743
5743
|
}
|
|
5744
|
-
function h(
|
|
5745
|
-
const
|
|
5744
|
+
function h(R) {
|
|
5745
|
+
const O = n.pseudoToNative(R);
|
|
5746
5746
|
let r = "";
|
|
5747
|
-
typeof
|
|
5747
|
+
typeof O == "object" ? r = JSON.stringify(O) : r = String(O), Ze.emit("consoleAppend", r);
|
|
5748
5748
|
}
|
|
5749
|
-
function
|
|
5750
|
-
const r = n.pseudoToNative(
|
|
5751
|
-
r === "info" ?
|
|
5749
|
+
function _(R, O) {
|
|
5750
|
+
const r = n.pseudoToNative(R), t = n.pseudoToNative(O);
|
|
5751
|
+
r === "info" ? Pa(t) : r === "success" ? wa(t) : r === "warning" ? Ca(t) : r === "error" && ka(t);
|
|
5752
5752
|
}
|
|
5753
|
-
function
|
|
5754
|
-
const r = n.pseudoToNative(
|
|
5753
|
+
function b(R, O) {
|
|
5754
|
+
const r = n.pseudoToNative(R), t = n.pseudoToNative(O);
|
|
5755
5755
|
setTimeout(() => {
|
|
5756
5756
|
n.appendCode(`__timeoutCallbackV1__(${r})`), n.run();
|
|
5757
5757
|
}, t);
|
|
5758
5758
|
}
|
|
5759
|
-
function m(
|
|
5760
|
-
const r = n.pseudoToNative(
|
|
5759
|
+
function m(R, O) {
|
|
5760
|
+
const r = n.pseudoToNative(R);
|
|
5761
5761
|
setTimeout(() => {
|
|
5762
|
-
|
|
5762
|
+
O(), n.run();
|
|
5763
5763
|
}, r);
|
|
5764
5764
|
}
|
|
5765
5765
|
n.setProperty(
|
|
5766
5766
|
o,
|
|
5767
5767
|
"__consoleLogV1__",
|
|
5768
|
-
n.createNativeFunction(
|
|
5768
|
+
n.createNativeFunction(c)
|
|
5769
5769
|
), n.setProperty(
|
|
5770
5770
|
o,
|
|
5771
5771
|
"__debugTraceV1__",
|
|
@@ -5773,156 +5773,164 @@ function Yl(n, o) {
|
|
|
5773
5773
|
), n.setProperty(
|
|
5774
5774
|
o,
|
|
5775
5775
|
"__messageV1__",
|
|
5776
|
-
n.createNativeFunction(
|
|
5776
|
+
n.createNativeFunction(_)
|
|
5777
5777
|
), n.setProperty(
|
|
5778
5778
|
o,
|
|
5779
5779
|
"__timeoutV1__",
|
|
5780
|
-
n.createNativeFunction(
|
|
5780
|
+
n.createNativeFunction(b)
|
|
5781
5781
|
), n.setProperty(
|
|
5782
5782
|
o,
|
|
5783
5783
|
"__delayV1__",
|
|
5784
5784
|
n.createAsyncFunction(m)
|
|
5785
5785
|
);
|
|
5786
5786
|
}
|
|
5787
|
-
class
|
|
5787
|
+
class Kl {
|
|
5788
5788
|
constructor(o) {
|
|
5789
|
-
|
|
5790
|
-
|
|
5789
|
+
Wt(this, "context");
|
|
5790
|
+
Wt(this, "nodes");
|
|
5791
5791
|
this.context = o, this.nodes = {};
|
|
5792
|
-
const
|
|
5793
|
-
var
|
|
5794
|
-
this.nodes[h.basic.id] = h, (
|
|
5792
|
+
const c = (h) => {
|
|
5793
|
+
var _;
|
|
5794
|
+
this.nodes[h.basic.id] = h, (_ = h.children) == null || _.forEach((b) => c(b));
|
|
5795
5795
|
};
|
|
5796
|
-
this.context.data.view.nodes.forEach((h) =>
|
|
5796
|
+
this.context.data.view.nodes.forEach((h) => c(h));
|
|
5797
5797
|
}
|
|
5798
5798
|
getNode(o) {
|
|
5799
5799
|
return this.nodes[o];
|
|
5800
5800
|
}
|
|
5801
|
-
addNode(o,
|
|
5802
|
-
const
|
|
5803
|
-
let
|
|
5801
|
+
addNode(o, c, h) {
|
|
5802
|
+
const _ = `parent=${o} ref=${c} keyOrRefid=${h}`;
|
|
5803
|
+
let b;
|
|
5804
5804
|
if (o) {
|
|
5805
|
-
const
|
|
5806
|
-
if (!
|
|
5807
|
-
return console.error(`NodeMgr/addNode parent not found, ${
|
|
5808
|
-
if (!
|
|
5809
|
-
return console.error(`NodeMgr/addNode parent no children, ${
|
|
5810
|
-
|
|
5805
|
+
const R = this.getNode(o);
|
|
5806
|
+
if (!R)
|
|
5807
|
+
return console.error(`NodeMgr/addNode parent not found, ${_}`), "";
|
|
5808
|
+
if (!R.children)
|
|
5809
|
+
return console.error(`NodeMgr/addNode parent no children, ${_}`), "";
|
|
5810
|
+
b = R.children;
|
|
5811
5811
|
} else
|
|
5812
|
-
|
|
5813
|
-
if (!
|
|
5812
|
+
b = this.context.data.view.nodes;
|
|
5813
|
+
if (!b)
|
|
5814
5814
|
return "";
|
|
5815
|
-
const m =
|
|
5815
|
+
const m = pl(
|
|
5816
5816
|
this.context.type,
|
|
5817
5817
|
this.context.data.type,
|
|
5818
5818
|
this.context.data.version,
|
|
5819
|
-
|
|
5819
|
+
c,
|
|
5820
5820
|
h
|
|
5821
5821
|
);
|
|
5822
|
-
return m ? (
|
|
5822
|
+
return m ? (b.push(m), this.nodes[m.basic.id] = m, m.basic.id) : (console.error(`NodeMgr/addNode spawn node failed, ${_}`), "");
|
|
5823
5823
|
}
|
|
5824
5824
|
deleteNode(o) {
|
|
5825
5825
|
this.getNode(o);
|
|
5826
5826
|
}
|
|
5827
5827
|
}
|
|
5828
|
-
function
|
|
5829
|
-
const h = new
|
|
5830
|
-
function
|
|
5831
|
-
const
|
|
5832
|
-
return o.nativeToPseudo(
|
|
5828
|
+
function ql(n, o, c) {
|
|
5829
|
+
const h = new Kl(n);
|
|
5830
|
+
function _(e, i, u) {
|
|
5831
|
+
const s = o.pseudoToNative(e), l = o.pseudoToNative(i), a = o.pseudoToNative(u), p = h.addNode(s, l, a);
|
|
5832
|
+
return o.nativeToPseudo(p);
|
|
5833
5833
|
}
|
|
5834
|
-
function
|
|
5835
|
-
const
|
|
5836
|
-
h.deleteNode(
|
|
5834
|
+
function b(e) {
|
|
5835
|
+
const i = o.pseudoToNative(e);
|
|
5836
|
+
h.deleteNode(i);
|
|
5837
5837
|
}
|
|
5838
|
-
function m(
|
|
5839
|
-
const
|
|
5840
|
-
let
|
|
5841
|
-
if (
|
|
5842
|
-
console.error(`getNodePropV1 node not found, ${
|
|
5838
|
+
function m(e, i) {
|
|
5839
|
+
const u = o.pseudoToNative(e), s = o.pseudoToNative(i), l = `id=${u} keys=${s}`;
|
|
5840
|
+
let a;
|
|
5841
|
+
if (u === "globality" ? a = n.data.view : a = h.getNode(u), !a) {
|
|
5842
|
+
console.error(`getNodePropV1 node not found, ${l}`);
|
|
5843
5843
|
return;
|
|
5844
5844
|
}
|
|
5845
|
-
const
|
|
5846
|
-
for (let
|
|
5847
|
-
const
|
|
5848
|
-
if (
|
|
5849
|
-
return o.nativeToPseudo(
|
|
5850
|
-
if (!
|
|
5851
|
-
console.error(`getNodePropV1 unpkg failed, ${
|
|
5845
|
+
const p = s.split("."), v = p.length;
|
|
5846
|
+
for (let E = 0; E < v; E++) {
|
|
5847
|
+
const S = p[E];
|
|
5848
|
+
if (E === v - 1)
|
|
5849
|
+
return o.nativeToPseudo(a[S]);
|
|
5850
|
+
if (!a) {
|
|
5851
|
+
console.error(`getNodePropV1 unpkg failed, ${l}`);
|
|
5852
5852
|
return;
|
|
5853
5853
|
}
|
|
5854
|
-
|
|
5854
|
+
a = a[S];
|
|
5855
5855
|
}
|
|
5856
5856
|
}
|
|
5857
|
-
function
|
|
5858
|
-
const
|
|
5859
|
-
let
|
|
5860
|
-
if (
|
|
5861
|
-
console.error(`setNodePropV1 node not found, ${
|
|
5857
|
+
function R(e, i, u) {
|
|
5858
|
+
const s = o.pseudoToNative(e), l = o.pseudoToNative(i), a = o.pseudoToNative(u), p = `id=${s} keys=${l} value=${a}`;
|
|
5859
|
+
let v;
|
|
5860
|
+
if (s === "globality" ? v = n.data.view : v = h.getNode(s), !v) {
|
|
5861
|
+
console.error(`setNodePropV1 node not found, ${p}`);
|
|
5862
5862
|
return;
|
|
5863
5863
|
}
|
|
5864
|
-
const
|
|
5865
|
-
for (let
|
|
5866
|
-
const
|
|
5867
|
-
if (
|
|
5868
|
-
|
|
5864
|
+
const E = l.split("."), S = E.length;
|
|
5865
|
+
for (let T = 0; T < S; T++) {
|
|
5866
|
+
const x = E[T];
|
|
5867
|
+
if (T === S - 1)
|
|
5868
|
+
v[x] = a;
|
|
5869
5869
|
else {
|
|
5870
|
-
if (!
|
|
5871
|
-
console.error(`setNodePropV1 unpkg failed, ${
|
|
5870
|
+
if (!v) {
|
|
5871
|
+
console.error(`setNodePropV1 unpkg failed, ${p}`);
|
|
5872
5872
|
return;
|
|
5873
5873
|
}
|
|
5874
|
-
|
|
5874
|
+
v = v[x];
|
|
5875
5875
|
}
|
|
5876
5876
|
}
|
|
5877
5877
|
}
|
|
5878
|
-
function
|
|
5879
|
-
const
|
|
5880
|
-
|
|
5881
|
-
|
|
5878
|
+
function O(e, i, u, s) {
|
|
5879
|
+
const l = o.pseudoToNative(e), a = o.pseudoToNative(i), p = o.pseudoToNative(u), v = { outputs: [] };
|
|
5880
|
+
Ze.emit(`callMethod@${l}`, { name: a, inputs: p, result: v }), s(o.nativeToPseudo(v.outputs)), o.run();
|
|
5881
|
+
}
|
|
5882
|
+
function r(e, i, u) {
|
|
5883
|
+
const s = o.pseudoToNative(e), l = o.pseudoToNative(i);
|
|
5884
|
+
Aa({ title: s, text: l }).then((a) => {
|
|
5885
|
+
u(o.nativeToPseudo(a)), o.run();
|
|
5882
5886
|
});
|
|
5883
5887
|
}
|
|
5884
|
-
function
|
|
5885
|
-
const
|
|
5886
|
-
|
|
5887
|
-
|
|
5888
|
+
function t(e, i, u, s) {
|
|
5889
|
+
const l = o.pseudoToNative(e), a = o.pseudoToNative(i), p = o.pseudoToNative(u);
|
|
5890
|
+
Ia({ title: l, label: a, value: p }).then((v) => {
|
|
5891
|
+
s(o.nativeToPseudo(v)), o.run();
|
|
5888
5892
|
});
|
|
5889
5893
|
}
|
|
5890
5894
|
o.setProperty(
|
|
5891
|
-
|
|
5895
|
+
c,
|
|
5892
5896
|
"__addNodeV1__",
|
|
5893
|
-
o.createNativeFunction(
|
|
5897
|
+
o.createNativeFunction(_)
|
|
5894
5898
|
), o.setProperty(
|
|
5895
|
-
|
|
5899
|
+
c,
|
|
5896
5900
|
"__deleteNodeV1__",
|
|
5897
|
-
o.createNativeFunction(
|
|
5901
|
+
o.createNativeFunction(b)
|
|
5898
5902
|
), o.setProperty(
|
|
5899
|
-
|
|
5903
|
+
c,
|
|
5900
5904
|
"__getNodePropV1__",
|
|
5901
5905
|
o.createNativeFunction(m)
|
|
5902
5906
|
), o.setProperty(
|
|
5903
|
-
|
|
5907
|
+
c,
|
|
5904
5908
|
"__setNodePropV1__",
|
|
5905
|
-
o.createNativeFunction(
|
|
5909
|
+
o.createNativeFunction(R)
|
|
5910
|
+
), o.setProperty(
|
|
5911
|
+
c,
|
|
5912
|
+
"__callNodeMethodV1__",
|
|
5913
|
+
o.createAsyncFunction(O)
|
|
5906
5914
|
), o.setProperty(
|
|
5907
|
-
|
|
5915
|
+
c,
|
|
5908
5916
|
"__openConfirmDlgV1__",
|
|
5909
|
-
o.createAsyncFunction(
|
|
5917
|
+
o.createAsyncFunction(r)
|
|
5910
5918
|
), o.setProperty(
|
|
5911
|
-
|
|
5919
|
+
c,
|
|
5912
5920
|
"__openPromptDlgV1__",
|
|
5913
|
-
o.createAsyncFunction(
|
|
5921
|
+
o.createAsyncFunction(t)
|
|
5914
5922
|
);
|
|
5915
5923
|
}
|
|
5916
|
-
function
|
|
5917
|
-
|
|
5924
|
+
function Zl(n, o, c) {
|
|
5925
|
+
Hl(o, c), ql(n, o, c);
|
|
5918
5926
|
}
|
|
5919
|
-
const
|
|
5927
|
+
const Ql = `
|
|
5920
5928
|
var __env__ = 'dev'
|
|
5921
5929
|
|
|
5922
5930
|
function __getEnvV1__() {
|
|
5923
5931
|
return __env__
|
|
5924
5932
|
}
|
|
5925
|
-
`,
|
|
5933
|
+
`, ec = `
|
|
5926
5934
|
var __events__ = {}
|
|
5927
5935
|
|
|
5928
5936
|
function __addEventListenerV1__(id, event, callback) {
|
|
@@ -5993,7 +6001,7 @@ function __triggerEvent__(id, event, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p1
|
|
|
5993
6001
|
callbacks[i](p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16)
|
|
5994
6002
|
}
|
|
5995
6003
|
}
|
|
5996
|
-
`,
|
|
6004
|
+
`, tc = `
|
|
5997
6005
|
var __timers__ = {}
|
|
5998
6006
|
var __currTimerId__ = 0
|
|
5999
6007
|
|
|
@@ -6035,26 +6043,26 @@ function __timeoutCallbackV1__(timerId) {
|
|
|
6035
6043
|
}
|
|
6036
6044
|
}
|
|
6037
6045
|
}
|
|
6038
|
-
`,
|
|
6046
|
+
`, rc = `
|
|
6039
6047
|
function __destroy__() {
|
|
6040
6048
|
}
|
|
6041
|
-
`,
|
|
6042
|
-
function
|
|
6043
|
-
const
|
|
6044
|
-
|
|
6045
|
-
(h,
|
|
6046
|
-
|
|
6049
|
+
`, nc = Ql + ec + tc + rc;
|
|
6050
|
+
function ic(n, o) {
|
|
6051
|
+
const c = new Jl(
|
|
6052
|
+
nc,
|
|
6053
|
+
(h, _) => {
|
|
6054
|
+
Zl(n, h, _);
|
|
6047
6055
|
}
|
|
6048
6056
|
);
|
|
6049
|
-
return
|
|
6057
|
+
return c.appendCode(o), c.appendCode(`
|
|
6050
6058
|
__env__ = '${n.env}';
|
|
6051
6059
|
__triggerEvent__('globality', 'startup');
|
|
6052
|
-
`),
|
|
6060
|
+
`), c.run(), c;
|
|
6053
6061
|
}
|
|
6054
6062
|
function Vn(n) {
|
|
6055
6063
|
n.appendCode("__destroy__();"), n.run();
|
|
6056
6064
|
}
|
|
6057
|
-
const
|
|
6065
|
+
const ac = /* @__PURE__ */ re({
|
|
6058
6066
|
__name: "index",
|
|
6059
6067
|
props: {
|
|
6060
6068
|
id: {},
|
|
@@ -6063,71 +6071,72 @@ const ec = /* @__PURE__ */ oe({
|
|
|
6063
6071
|
outer: { type: Boolean }
|
|
6064
6072
|
},
|
|
6065
6073
|
setup(n) {
|
|
6066
|
-
const { t: o } =
|
|
6074
|
+
const { t: o } = Da(), c = n, h = hl(), _ = _e(), b = xi(), m = Pi(), R = wi(), O = vl(), r = N(() => O[c.refContext.refid]);
|
|
6067
6075
|
let t;
|
|
6068
|
-
|
|
6069
|
-
r.value ||
|
|
6076
|
+
Ta(() => {
|
|
6077
|
+
r.value || Ze.emit("compNotAvail", c.refContext.refid), t && (Vn(t), t = void 0), r.value && _ === "runtime" && (t = ic(
|
|
6070
6078
|
{
|
|
6071
6079
|
env: h,
|
|
6072
6080
|
type: m,
|
|
6073
|
-
data:
|
|
6081
|
+
data: R
|
|
6074
6082
|
},
|
|
6075
6083
|
r.value.data.code.script
|
|
6076
|
-
),
|
|
6077
|
-
}),
|
|
6084
|
+
), yl(t));
|
|
6085
|
+
}), Na(() => {
|
|
6078
6086
|
t && (Vn(t), t = void 0);
|
|
6079
6087
|
});
|
|
6080
|
-
const { applySize: e } =
|
|
6081
|
-
const v = {}, E =
|
|
6088
|
+
const { applySize: e } = ki(_, b, c), i = N(() => {
|
|
6089
|
+
const v = {}, E = R.type;
|
|
6082
6090
|
return m === "page" ? E === "common" ? e(v) : console.assert(!1) : m === "comp" && E === "common" ? e(v) : console.assert(!1), v;
|
|
6083
6091
|
});
|
|
6084
|
-
function u() {
|
|
6085
|
-
|
|
6086
|
-
|
|
6087
|
-
if (v.refid === f.refContext.refid)
|
|
6088
|
-
return !0;
|
|
6089
|
-
v = v.parent;
|
|
6090
|
-
}
|
|
6091
|
-
return !1;
|
|
6092
|
-
}
|
|
6093
|
-
function s(v) {
|
|
6094
|
-
let E;
|
|
6095
|
-
return v.ref ? E = l(v) : E = a(v), E;
|
|
6096
|
-
}
|
|
6097
|
-
function l(v) {
|
|
6098
|
-
const E = Ai[T.version].refKey, S = Ae[E];
|
|
6099
|
-
let O;
|
|
6100
|
-
return S ? O = Xe(S.comp, {
|
|
6092
|
+
function u(v) {
|
|
6093
|
+
const E = Ii[R.version].refKey, S = Me[E];
|
|
6094
|
+
return S ? se(S.comp, {
|
|
6101
6095
|
refContext: {
|
|
6102
|
-
parent:
|
|
6096
|
+
parent: c.refContext,
|
|
6103
6097
|
refid: v.ref.id
|
|
6104
6098
|
},
|
|
6105
6099
|
node: v
|
|
6106
|
-
}) : console.assert(!1),
|
|
6100
|
+
}) : (console.assert(!1, `ref element not found key=${E}`), se("div", `ref element not found key=${E}`));
|
|
6107
6101
|
}
|
|
6108
|
-
function
|
|
6109
|
-
var
|
|
6110
|
-
|
|
6111
|
-
|
|
6112
|
-
|
|
6113
|
-
|
|
6114
|
-
|
|
6102
|
+
function s(v) {
|
|
6103
|
+
var T;
|
|
6104
|
+
const E = Me[v.basic.key];
|
|
6105
|
+
if (!E)
|
|
6106
|
+
return console.assert(!1, `element not found key=${v.basic.key}`), se("div", `element not found key=${v.basic.key}`);
|
|
6107
|
+
const S = [];
|
|
6108
|
+
return E.slots.some((x) => x.key === "default") && ((T = v.children) == null || T.forEach((x) => {
|
|
6109
|
+
const A = l(x);
|
|
6110
|
+
S.push(A);
|
|
6111
|
+
})), se(E.comp, { node: v }, { default: () => S });
|
|
6112
|
+
}
|
|
6113
|
+
function l(v) {
|
|
6114
|
+
return v.ref ? u(v) : s(v);
|
|
6115
|
+
}
|
|
6116
|
+
function a() {
|
|
6117
|
+
let v = c.refContext.parent;
|
|
6118
|
+
for (; v; ) {
|
|
6119
|
+
if (v.refid === c.refContext.refid)
|
|
6120
|
+
return !0;
|
|
6121
|
+
v = v.parent;
|
|
6122
|
+
}
|
|
6123
|
+
return !1;
|
|
6115
6124
|
}
|
|
6116
6125
|
const p = () => {
|
|
6117
6126
|
const v = [];
|
|
6118
|
-
if (
|
|
6119
|
-
v.push(
|
|
6127
|
+
if (a())
|
|
6128
|
+
v.push(se("div", o("x-runtime-lib.circularRef")));
|
|
6120
6129
|
else if (r.value) {
|
|
6121
6130
|
const E = r.value.data.type;
|
|
6122
6131
|
E === "common" ? r.value.data.view.nodes.forEach((S) => {
|
|
6123
|
-
const
|
|
6124
|
-
v.push(
|
|
6125
|
-
}) : console.assert(!1, `invalid subtype=${E}`);
|
|
6132
|
+
const T = l(S);
|
|
6133
|
+
v.push(T);
|
|
6134
|
+
}) : (console.assert(!1, `invalid subtype=${E}`), v.push(se("div", `invalid subtype=${E}`)));
|
|
6126
6135
|
} else
|
|
6127
|
-
v.push(
|
|
6128
|
-
return
|
|
6136
|
+
v.push(se("div", o("x-runtime-lib.compNotAvail")));
|
|
6137
|
+
return se("div", { id: c.id, style: i.value }, v);
|
|
6129
6138
|
};
|
|
6130
|
-
return (v, E) => (J(),
|
|
6139
|
+
return (v, E) => (J(), ce(p));
|
|
6131
6140
|
}
|
|
6132
6141
|
}), Gn = {
|
|
6133
6142
|
key: "ref",
|
|
@@ -6140,62 +6149,62 @@ const ec = /* @__PURE__ */ oe({
|
|
|
6140
6149
|
default: ""
|
|
6141
6150
|
}
|
|
6142
6151
|
]
|
|
6143
|
-
},
|
|
6144
|
-
key:
|
|
6152
|
+
}, oc = {
|
|
6153
|
+
key: gt,
|
|
6145
6154
|
name: "x-runtime-lib.ref",
|
|
6146
|
-
comp:
|
|
6155
|
+
comp: ac,
|
|
6147
6156
|
slots: [],
|
|
6148
6157
|
events: [],
|
|
6149
6158
|
methods: [],
|
|
6150
6159
|
props: {
|
|
6151
|
-
pageCommon: [
|
|
6152
|
-
compCommon: [
|
|
6160
|
+
pageCommon: [Y, bt, Gn],
|
|
6161
|
+
compCommon: [Y, bt, Gn]
|
|
6153
6162
|
}
|
|
6154
|
-
},
|
|
6163
|
+
}, uc = { key: 0 }, sc = /* @__PURE__ */ re({
|
|
6155
6164
|
__name: "index",
|
|
6156
6165
|
props: {
|
|
6157
6166
|
node: {},
|
|
6158
6167
|
outer: { type: Boolean }
|
|
6159
6168
|
},
|
|
6160
6169
|
setup(n) {
|
|
6161
|
-
const o = n,
|
|
6170
|
+
const o = n, c = _e(), h = Be(), _ = N(() => {
|
|
6162
6171
|
var e;
|
|
6163
6172
|
return (e = o.node.settings) == null ? void 0 : e.value;
|
|
6164
|
-
}),
|
|
6173
|
+
}), b = N(() => {
|
|
6165
6174
|
var e;
|
|
6166
6175
|
return (e = o.node.settings) == null ? void 0 : e.label;
|
|
6167
6176
|
}), m = N(() => {
|
|
6168
6177
|
var e;
|
|
6169
6178
|
return (e = o.node.settings) == null ? void 0 : e.placeholder;
|
|
6170
|
-
}),
|
|
6179
|
+
}), R = N(() => {
|
|
6171
6180
|
var e;
|
|
6172
6181
|
return (e = o.node.settings) == null ? void 0 : e.hideDetails;
|
|
6173
|
-
}),
|
|
6182
|
+
}), O = N(() => {
|
|
6174
6183
|
var e;
|
|
6175
6184
|
return (e = o.node.settings) == null ? void 0 : e.singleLine;
|
|
6176
6185
|
}), r = N(() => {
|
|
6177
6186
|
var e;
|
|
6178
|
-
return
|
|
6187
|
+
return c !== "runtime" ? !0 : (e = o.node.settings) == null ? void 0 : e.readonly;
|
|
6179
6188
|
}), t = N(() => h.value ? "dark" : "light");
|
|
6180
6189
|
return (e, i) => {
|
|
6181
|
-
const u =
|
|
6182
|
-
return
|
|
6183
|
-
|
|
6184
|
-
"model-value":
|
|
6185
|
-
label:
|
|
6190
|
+
const u = Te("v-select");
|
|
6191
|
+
return Ie(c) === "editor" ? (J(), Fe("div", uc, [
|
|
6192
|
+
K(u, {
|
|
6193
|
+
"model-value": _.value,
|
|
6194
|
+
label: b.value,
|
|
6186
6195
|
placeholder: m.value,
|
|
6187
|
-
"hide-details":
|
|
6188
|
-
"single-line":
|
|
6196
|
+
"hide-details": R.value,
|
|
6197
|
+
"single-line": O.value,
|
|
6189
6198
|
readonly: r.value,
|
|
6190
6199
|
theme: t.value
|
|
6191
6200
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
6192
|
-
])) : (J(),
|
|
6201
|
+
])) : (J(), ce(u, {
|
|
6193
6202
|
key: 1,
|
|
6194
|
-
"model-value":
|
|
6195
|
-
label:
|
|
6203
|
+
"model-value": _.value,
|
|
6204
|
+
label: b.value,
|
|
6196
6205
|
placeholder: m.value,
|
|
6197
|
-
"hide-details":
|
|
6198
|
-
"single-line":
|
|
6206
|
+
"hide-details": R.value,
|
|
6207
|
+
"single-line": O.value,
|
|
6199
6208
|
readonly: r.value,
|
|
6200
6209
|
theme: t.value
|
|
6201
6210
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
@@ -6242,60 +6251,149 @@ const ec = /* @__PURE__ */ oe({
|
|
|
6242
6251
|
default: !1
|
|
6243
6252
|
}
|
|
6244
6253
|
]
|
|
6245
|
-
},
|
|
6246
|
-
key:
|
|
6254
|
+
}, lc = {
|
|
6255
|
+
key: sr,
|
|
6247
6256
|
name: "x-runtime-lib.select",
|
|
6248
|
-
comp:
|
|
6257
|
+
comp: sc,
|
|
6249
6258
|
slots: [],
|
|
6250
6259
|
events: [],
|
|
6251
6260
|
methods: [],
|
|
6252
6261
|
props: {
|
|
6253
|
-
pageCommon: [
|
|
6254
|
-
compCommon: [
|
|
6262
|
+
pageCommon: [Y, Yn],
|
|
6263
|
+
compCommon: [Y, Yn]
|
|
6255
6264
|
}
|
|
6256
|
-
},
|
|
6265
|
+
}, ve = /* @__PURE__ */ re({
|
|
6266
|
+
__name: "index",
|
|
6267
|
+
props: {
|
|
6268
|
+
state: {}
|
|
6269
|
+
},
|
|
6270
|
+
setup(n) {
|
|
6271
|
+
const o = () => {
|
|
6272
|
+
console.log("triggerUpdate");
|
|
6273
|
+
};
|
|
6274
|
+
Sa(
|
|
6275
|
+
() => n.state,
|
|
6276
|
+
() => {
|
|
6277
|
+
o();
|
|
6278
|
+
},
|
|
6279
|
+
{ deep: !0 }
|
|
6280
|
+
);
|
|
6281
|
+
const c = () => se("div", "slot");
|
|
6282
|
+
return (h, _) => (J(), ce(c));
|
|
6283
|
+
}
|
|
6284
|
+
}), cc = { key: 0 }, fc = /* @__PURE__ */ re({
|
|
6257
6285
|
__name: "index",
|
|
6258
6286
|
props: {
|
|
6259
6287
|
node: {},
|
|
6260
6288
|
outer: { type: Boolean }
|
|
6261
6289
|
},
|
|
6262
6290
|
setup(n) {
|
|
6263
|
-
const o = n,
|
|
6264
|
-
var
|
|
6265
|
-
return (
|
|
6266
|
-
}),
|
|
6267
|
-
var
|
|
6268
|
-
return (
|
|
6291
|
+
const o = n, c = _e(), h = Be(), _ = N(() => {
|
|
6292
|
+
var s;
|
|
6293
|
+
return (s = o.node.settings) == null ? void 0 : s.label;
|
|
6294
|
+
}), b = N(() => {
|
|
6295
|
+
var s;
|
|
6296
|
+
return (s = o.node.settings) == null ? void 0 : s.placeholder;
|
|
6269
6297
|
}), m = N(() => {
|
|
6270
|
-
var
|
|
6271
|
-
return (
|
|
6272
|
-
}), T = N(() => {
|
|
6273
|
-
var t;
|
|
6274
|
-
return (t = o.node.settings) == null ? void 0 : t.singleLine;
|
|
6298
|
+
var s;
|
|
6299
|
+
return (s = o.node.settings) == null ? void 0 : s.hideDetails;
|
|
6275
6300
|
}), R = N(() => {
|
|
6276
|
-
var
|
|
6277
|
-
return
|
|
6278
|
-
}),
|
|
6279
|
-
|
|
6280
|
-
|
|
6281
|
-
|
|
6282
|
-
|
|
6283
|
-
|
|
6284
|
-
|
|
6301
|
+
var s;
|
|
6302
|
+
return (s = o.node.settings) == null ? void 0 : s.singleLine;
|
|
6303
|
+
}), O = N(() => {
|
|
6304
|
+
var s;
|
|
6305
|
+
return c !== "runtime" ? !0 : (s = o.node.settings) == null ? void 0 : s.readonly;
|
|
6306
|
+
}), r = N(() => h.value ? "dark" : "light"), t = N(() => {
|
|
6307
|
+
var s;
|
|
6308
|
+
return (s = o.node.slots) == null ? void 0 : s.append;
|
|
6309
|
+
}), e = N(() => {
|
|
6310
|
+
var s;
|
|
6311
|
+
return (s = o.node.slots) == null ? void 0 : s.appendInner;
|
|
6312
|
+
}), i = N(() => {
|
|
6313
|
+
var s;
|
|
6314
|
+
return (s = o.node.slots) == null ? void 0 : s.prepend;
|
|
6315
|
+
}), u = N(() => {
|
|
6316
|
+
var s;
|
|
6317
|
+
return (s = o.node.slots) == null ? void 0 : s.prependInner;
|
|
6318
|
+
});
|
|
6319
|
+
return (s, l) => {
|
|
6320
|
+
const a = Te("v-text-field");
|
|
6321
|
+
return Ie(c) === "editor" ? (J(), Fe("div", cc, [
|
|
6322
|
+
K(a, {
|
|
6323
|
+
label: _.value,
|
|
6324
|
+
placeholder: b.value,
|
|
6285
6325
|
"hide-details": m.value,
|
|
6286
|
-
"single-line":
|
|
6287
|
-
readonly:
|
|
6326
|
+
"single-line": R.value,
|
|
6327
|
+
readonly: O.value,
|
|
6288
6328
|
theme: r.value
|
|
6289
|
-
},
|
|
6290
|
-
|
|
6329
|
+
}, on({ _: 2 }, [
|
|
6330
|
+
t.value ? {
|
|
6331
|
+
name: "append",
|
|
6332
|
+
fn: te(() => [
|
|
6333
|
+
K(ve, { state: {} })
|
|
6334
|
+
]),
|
|
6335
|
+
key: "0"
|
|
6336
|
+
} : void 0,
|
|
6337
|
+
e.value ? {
|
|
6338
|
+
name: "append-inner",
|
|
6339
|
+
fn: te(() => [
|
|
6340
|
+
K(ve, { state: {} })
|
|
6341
|
+
]),
|
|
6342
|
+
key: "1"
|
|
6343
|
+
} : void 0,
|
|
6344
|
+
i.value ? {
|
|
6345
|
+
name: "prepend",
|
|
6346
|
+
fn: te(() => [
|
|
6347
|
+
K(ve, { state: {} })
|
|
6348
|
+
]),
|
|
6349
|
+
key: "2"
|
|
6350
|
+
} : void 0,
|
|
6351
|
+
u.value ? {
|
|
6352
|
+
name: "prepend-inner",
|
|
6353
|
+
fn: te(() => [
|
|
6354
|
+
K(ve, { state: {} })
|
|
6355
|
+
]),
|
|
6356
|
+
key: "3"
|
|
6357
|
+
} : void 0
|
|
6358
|
+
]), 1032, ["label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
6359
|
+
])) : (J(), ce(a, {
|
|
6291
6360
|
key: 1,
|
|
6292
|
-
label:
|
|
6293
|
-
placeholder:
|
|
6361
|
+
label: _.value,
|
|
6362
|
+
placeholder: b.value,
|
|
6294
6363
|
"hide-details": m.value,
|
|
6295
|
-
"single-line":
|
|
6296
|
-
readonly:
|
|
6364
|
+
"single-line": R.value,
|
|
6365
|
+
readonly: O.value,
|
|
6297
6366
|
theme: r.value
|
|
6298
|
-
},
|
|
6367
|
+
}, on({ _: 2 }, [
|
|
6368
|
+
t.value ? {
|
|
6369
|
+
name: "append",
|
|
6370
|
+
fn: te(() => [
|
|
6371
|
+
K(ve, { state: {} })
|
|
6372
|
+
]),
|
|
6373
|
+
key: "0"
|
|
6374
|
+
} : void 0,
|
|
6375
|
+
e.value ? {
|
|
6376
|
+
name: "append-inner",
|
|
6377
|
+
fn: te(() => [
|
|
6378
|
+
K(ve, { state: {} })
|
|
6379
|
+
]),
|
|
6380
|
+
key: "1"
|
|
6381
|
+
} : void 0,
|
|
6382
|
+
i.value ? {
|
|
6383
|
+
name: "prepend",
|
|
6384
|
+
fn: te(() => [
|
|
6385
|
+
K(ve, { state: {} })
|
|
6386
|
+
]),
|
|
6387
|
+
key: "2"
|
|
6388
|
+
} : void 0,
|
|
6389
|
+
u.value ? {
|
|
6390
|
+
name: "prepend-inner",
|
|
6391
|
+
fn: te(() => [
|
|
6392
|
+
K(ve, { state: {} })
|
|
6393
|
+
]),
|
|
6394
|
+
key: "3"
|
|
6395
|
+
} : void 0
|
|
6396
|
+
]), 1032, ["label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
6299
6397
|
};
|
|
6300
6398
|
}
|
|
6301
6399
|
}), zn = {
|
|
@@ -6333,56 +6431,99 @@ const ec = /* @__PURE__ */ oe({
|
|
|
6333
6431
|
default: !1
|
|
6334
6432
|
}
|
|
6335
6433
|
]
|
|
6336
|
-
},
|
|
6337
|
-
key:
|
|
6434
|
+
}, Xn = {
|
|
6435
|
+
key: "slots",
|
|
6436
|
+
name: "x-runtime-lib.slots",
|
|
6437
|
+
children: [
|
|
6438
|
+
{
|
|
6439
|
+
key: "append",
|
|
6440
|
+
name: "x-runtime-lib.append",
|
|
6441
|
+
ui: "compSelect",
|
|
6442
|
+
default: ""
|
|
6443
|
+
},
|
|
6444
|
+
{
|
|
6445
|
+
key: "appendInner",
|
|
6446
|
+
name: "x-runtime-lib.appendInner",
|
|
6447
|
+
ui: "compSelect",
|
|
6448
|
+
default: ""
|
|
6449
|
+
},
|
|
6450
|
+
{
|
|
6451
|
+
key: "prepend",
|
|
6452
|
+
name: "x-runtime-lib.prepend",
|
|
6453
|
+
ui: "compSelect",
|
|
6454
|
+
default: ""
|
|
6455
|
+
},
|
|
6456
|
+
{
|
|
6457
|
+
key: "prependInner",
|
|
6458
|
+
name: "x-runtime-lib.prependInner",
|
|
6459
|
+
ui: "compSelect",
|
|
6460
|
+
default: ""
|
|
6461
|
+
}
|
|
6462
|
+
]
|
|
6463
|
+
}, pc = {
|
|
6464
|
+
key: lr,
|
|
6338
6465
|
name: "x-runtime-lib.textField",
|
|
6339
|
-
comp:
|
|
6340
|
-
slots: [
|
|
6466
|
+
comp: fc,
|
|
6467
|
+
slots: [
|
|
6468
|
+
{
|
|
6469
|
+
key: "append",
|
|
6470
|
+
name: "x-runtime-lib.append"
|
|
6471
|
+
},
|
|
6472
|
+
{
|
|
6473
|
+
key: "appendInner",
|
|
6474
|
+
name: "x-runtime-lib.appendInner"
|
|
6475
|
+
},
|
|
6476
|
+
{
|
|
6477
|
+
key: "prepend",
|
|
6478
|
+
name: "x-runtime-lib.prepend"
|
|
6479
|
+
},
|
|
6480
|
+
{
|
|
6481
|
+
key: "prependInner",
|
|
6482
|
+
name: "x-runtime-lib.prependInner"
|
|
6483
|
+
}
|
|
6484
|
+
],
|
|
6341
6485
|
events: [],
|
|
6342
6486
|
methods: [],
|
|
6343
6487
|
props: {
|
|
6344
|
-
pageCommon: [
|
|
6345
|
-
compCommon: [
|
|
6488
|
+
pageCommon: [Y, zn, Xn],
|
|
6489
|
+
compCommon: [Y, zn, Xn]
|
|
6346
6490
|
}
|
|
6347
|
-
},
|
|
6491
|
+
}, dc = {
|
|
6348
6492
|
version: "v1",
|
|
6349
|
-
globalityKey:
|
|
6350
|
-
refKey:
|
|
6351
|
-
packageKey: vt,
|
|
6493
|
+
globalityKey: or,
|
|
6494
|
+
refKey: gt,
|
|
6352
6495
|
elements: /* @__PURE__ */ new Set([
|
|
6496
|
+
tr,
|
|
6497
|
+
rr,
|
|
6353
6498
|
nr,
|
|
6354
6499
|
ir,
|
|
6355
6500
|
ar,
|
|
6356
6501
|
or,
|
|
6357
6502
|
ur,
|
|
6503
|
+
gt,
|
|
6358
6504
|
sr,
|
|
6359
|
-
lr
|
|
6360
|
-
vt,
|
|
6361
|
-
yt,
|
|
6362
|
-
cr,
|
|
6363
|
-
fr
|
|
6505
|
+
lr
|
|
6364
6506
|
]),
|
|
6365
6507
|
groups: [
|
|
6366
6508
|
{
|
|
6367
6509
|
key: "basic",
|
|
6368
6510
|
name: "x-runtime-lib.basic",
|
|
6369
6511
|
items: [
|
|
6512
|
+
tr,
|
|
6513
|
+
rr,
|
|
6370
6514
|
nr,
|
|
6371
6515
|
ir,
|
|
6372
6516
|
ar,
|
|
6373
|
-
or,
|
|
6374
6517
|
ur,
|
|
6375
|
-
|
|
6376
|
-
|
|
6377
|
-
|
|
6378
|
-
cr,
|
|
6379
|
-
fr
|
|
6518
|
+
gt,
|
|
6519
|
+
sr,
|
|
6520
|
+
lr
|
|
6380
6521
|
]
|
|
6381
6522
|
}
|
|
6382
6523
|
]
|
|
6383
|
-
},
|
|
6384
|
-
v1:
|
|
6385
|
-
},
|
|
6524
|
+
}, Ii = {
|
|
6525
|
+
v1: dc
|
|
6526
|
+
}, Me = {}, hc = {
|
|
6386
6527
|
key: "add",
|
|
6387
6528
|
name: "METHOD_ADD",
|
|
6388
6529
|
inputs: [],
|
|
@@ -6392,68 +6533,68 @@ const ec = /* @__PURE__ */ oe({
|
|
|
6392
6533
|
name: "PARAM_NEW_NODE"
|
|
6393
6534
|
}
|
|
6394
6535
|
]
|
|
6395
|
-
},
|
|
6396
|
-
|
|
6536
|
+
}, ie = (n) => {
|
|
6537
|
+
Me[n.key] && console.assert(!1, `element duplicate key=${n.key}`), n.slots.length > 0 && n.methods.unshift(hc), Me[n.key] = n;
|
|
6397
6538
|
};
|
|
6398
|
-
|
|
6399
|
-
|
|
6400
|
-
|
|
6401
|
-
|
|
6402
|
-
|
|
6403
|
-
|
|
6404
|
-
|
|
6405
|
-
|
|
6406
|
-
|
|
6407
|
-
|
|
6408
|
-
|
|
6409
|
-
const cc = (n, o, f) => {
|
|
6539
|
+
ie(bl);
|
|
6540
|
+
ie(Ol);
|
|
6541
|
+
ie(wl);
|
|
6542
|
+
ie(Al);
|
|
6543
|
+
ie(Ml);
|
|
6544
|
+
ie(Fl);
|
|
6545
|
+
ie(Bl);
|
|
6546
|
+
ie(oc);
|
|
6547
|
+
ie(lc);
|
|
6548
|
+
ie(pc);
|
|
6549
|
+
const vc = (n, o, c) => {
|
|
6410
6550
|
const h = n[o];
|
|
6411
|
-
return h ? typeof h == "function" ? h() : Promise.resolve(h) : new Promise((
|
|
6551
|
+
return h ? typeof h == "function" ? h() : Promise.resolve(h) : new Promise((_, b) => {
|
|
6412
6552
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
|
|
6413
|
-
|
|
6553
|
+
b.bind(
|
|
6414
6554
|
null,
|
|
6415
6555
|
new Error(
|
|
6416
|
-
"Unknown variable dynamic import: " + o + (o.split("/").length !==
|
|
6556
|
+
"Unknown variable dynamic import: " + o + (o.split("/").length !== c ? ". Note that variables only represent file names one level deep." : "")
|
|
6417
6557
|
)
|
|
6418
6558
|
)
|
|
6419
6559
|
);
|
|
6420
6560
|
});
|
|
6421
6561
|
};
|
|
6422
|
-
async function
|
|
6423
|
-
return (await
|
|
6562
|
+
async function Cc(n) {
|
|
6563
|
+
return (await vc(/* @__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;
|
|
6424
6564
|
}
|
|
6425
6565
|
export {
|
|
6426
|
-
|
|
6427
|
-
|
|
6428
|
-
|
|
6429
|
-
|
|
6430
|
-
|
|
6431
|
-
|
|
6432
|
-
|
|
6433
|
-
|
|
6566
|
+
dl as duplicateNode,
|
|
6567
|
+
Rc as duplicateNodes,
|
|
6568
|
+
Me as elements,
|
|
6569
|
+
Hn as genId,
|
|
6570
|
+
Ec as getNode,
|
|
6571
|
+
Cn as getPropDefault,
|
|
6572
|
+
fl as getPropTag,
|
|
6573
|
+
kn as initProps,
|
|
6574
|
+
Be as injectDark,
|
|
6434
6575
|
wi as injectData,
|
|
6435
|
-
|
|
6436
|
-
|
|
6437
|
-
|
|
6438
|
-
|
|
6439
|
-
|
|
6440
|
-
|
|
6441
|
-
|
|
6442
|
-
|
|
6443
|
-
|
|
6444
|
-
|
|
6445
|
-
|
|
6446
|
-
|
|
6447
|
-
|
|
6448
|
-
|
|
6449
|
-
|
|
6450
|
-
|
|
6451
|
-
|
|
6452
|
-
|
|
6453
|
-
|
|
6454
|
-
|
|
6455
|
-
|
|
6456
|
-
|
|
6457
|
-
|
|
6576
|
+
vl as injectDepends,
|
|
6577
|
+
xi as injectDevice,
|
|
6578
|
+
hl as injectEnv,
|
|
6579
|
+
ml as injectInterpreter,
|
|
6580
|
+
_e as injectMode,
|
|
6581
|
+
Pi as injectType,
|
|
6582
|
+
cr as isEmptyStr,
|
|
6583
|
+
pr as isPercentStr,
|
|
6584
|
+
fr as isPixelStr,
|
|
6585
|
+
Cc as loadLocaleMessageRuntime,
|
|
6586
|
+
Jt as parsePercentStr,
|
|
6587
|
+
bc as parsePixelStr,
|
|
6588
|
+
Ii as pkgs,
|
|
6589
|
+
Sc as provideDark,
|
|
6590
|
+
Pc as provideData,
|
|
6591
|
+
wc as provideDepends,
|
|
6592
|
+
Nc as provideDevice,
|
|
6593
|
+
Oc as provideEnv,
|
|
6594
|
+
yl as provideInterpreter,
|
|
6595
|
+
Tc as provideMode,
|
|
6596
|
+
xc as provideType,
|
|
6597
|
+
pl as spawnNode,
|
|
6598
|
+
ic as startInterpreter,
|
|
6458
6599
|
Vn as stopInterpreter
|
|
6459
6600
|
};
|