x-runtime-lib 0.5.14 → 0.5.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
var ya = Object.defineProperty;
|
|
2
2
|
var ma = (n, o, f) => o in n ? ya(n, o, { enumerable: !0, configurable: !0, writable: !0, value: f }) : n[o] = f;
|
|
3
3
|
var Jt = (n, o, f) => ma(n, typeof o != "symbol" ? o + "" : o, f);
|
|
4
|
-
import { provide as
|
|
5
|
-
import { useViewStack as
|
|
6
|
-
import { useI18n as
|
|
7
|
-
const
|
|
4
|
+
import { provide as fe, inject as pe, readonly as Et, isReactive as Xn, defineComponent as oe, computed as N, resolveComponent as be, openBlock as J, createBlock as de, unref as Pe, createElementBlock as Ie, createVNode as Rt, normalizeStyle as ga, renderSlot as Zt, isRef as _a, withCtx as sn, createCommentVNode as ba, watchEffect as Ea, onBeforeUnmount as Ra, h as Xe } from "vue";
|
|
5
|
+
import { useViewStack as Oa, eventBus as Wn, messageInfo as Ta, messageSuccess as Na, messageWarning as Sa, messageError as xa, openConfirmDlg as wa, openPromptDlg as Pa } from "x-essential-lib";
|
|
6
|
+
import { useI18n as Ca } from "vue-i18n";
|
|
7
|
+
const ln = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
8
8
|
function Jn(n) {
|
|
9
9
|
let o = "";
|
|
10
10
|
for (let f = 0; f < n; f++) {
|
|
11
|
-
const h = Math.floor(Math.random() *
|
|
12
|
-
o +=
|
|
11
|
+
const h = Math.floor(Math.random() * ln.length);
|
|
12
|
+
o += ln[h];
|
|
13
13
|
}
|
|
14
14
|
return o;
|
|
15
15
|
}
|
|
@@ -28,66 +28,66 @@ function hr(n) {
|
|
|
28
28
|
const o = n.substring(0, n.length - 1), f = parseFloat(o);
|
|
29
29
|
return !isNaN(f);
|
|
30
30
|
}
|
|
31
|
-
function
|
|
31
|
+
function vc(n) {
|
|
32
32
|
if (typeof n != "string" || !n.endsWith("px"))
|
|
33
33
|
return;
|
|
34
34
|
const o = n.substring(0, n.length - 2), f = parseFloat(o);
|
|
35
35
|
if (!isNaN(f) && f % 1 === 0)
|
|
36
36
|
return f;
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function Ht(n) {
|
|
39
39
|
if (typeof n != "string" || !n.endsWith("%"))
|
|
40
40
|
return;
|
|
41
41
|
const o = n.substring(0, n.length - 1), f = parseFloat(o);
|
|
42
42
|
if (!isNaN(f))
|
|
43
43
|
return f;
|
|
44
44
|
}
|
|
45
|
-
var Hn = typeof global == "object" && global && global.Object === Object && global,
|
|
46
|
-
function
|
|
47
|
-
var o =
|
|
45
|
+
var Hn = typeof global == "object" && global && global.Object === Object && global, ka = typeof self == "object" && self && self.Object === Object && self, te = Hn || ka || Function("return this")(), Ce = te.Symbol, Kn = Object.prototype, Aa = Kn.hasOwnProperty, Ia = Kn.toString, We = Ce ? Ce.toStringTag : void 0;
|
|
46
|
+
function Da(n) {
|
|
47
|
+
var o = Aa.call(n, We), f = n[We];
|
|
48
48
|
try {
|
|
49
|
-
n[
|
|
49
|
+
n[We] = void 0;
|
|
50
50
|
var h = !0;
|
|
51
51
|
} catch {
|
|
52
52
|
}
|
|
53
|
-
var g =
|
|
54
|
-
return h && (o ? n[
|
|
53
|
+
var g = Ia.call(n);
|
|
54
|
+
return h && (o ? n[We] = f : delete n[We]), g;
|
|
55
55
|
}
|
|
56
|
-
var
|
|
57
|
-
function
|
|
58
|
-
return
|
|
56
|
+
var La = Object.prototype, Fa = La.toString;
|
|
57
|
+
function Ma(n) {
|
|
58
|
+
return Fa.call(n);
|
|
59
59
|
}
|
|
60
|
-
var
|
|
61
|
-
function
|
|
62
|
-
return n == null ? n === void 0 ?
|
|
60
|
+
var Ua = "[object Null]", ja = "[object Undefined]", cn = Ce ? Ce.toStringTag : void 0;
|
|
61
|
+
function qe(n) {
|
|
62
|
+
return n == null ? n === void 0 ? ja : Ua : cn && cn in Object(n) ? Da(n) : Ma(n);
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function Ze(n) {
|
|
65
65
|
return n != null && typeof n == "object";
|
|
66
66
|
}
|
|
67
67
|
var vr = Array.isArray;
|
|
68
|
-
function
|
|
68
|
+
function Qe(n) {
|
|
69
69
|
var o = typeof n;
|
|
70
70
|
return n != null && (o == "object" || o == "function");
|
|
71
71
|
}
|
|
72
|
-
var
|
|
72
|
+
var Ba = "[object AsyncFunction]", $a = "[object Function]", Va = "[object GeneratorFunction]", Ga = "[object Proxy]";
|
|
73
73
|
function qn(n) {
|
|
74
|
-
if (!
|
|
74
|
+
if (!Qe(n))
|
|
75
75
|
return !1;
|
|
76
|
-
var o =
|
|
77
|
-
return o ==
|
|
76
|
+
var o = qe(n);
|
|
77
|
+
return o == $a || o == Va || o == Ba || o == Ga;
|
|
78
78
|
}
|
|
79
|
-
var
|
|
80
|
-
var n = /[^.]+$/.exec(
|
|
79
|
+
var Kt = te["__core-js_shared__"], fn = function() {
|
|
80
|
+
var n = /[^.]+$/.exec(Kt && Kt.keys && Kt.keys.IE_PROTO || "");
|
|
81
81
|
return n ? "Symbol(src)_1." + n : "";
|
|
82
82
|
}();
|
|
83
|
-
function
|
|
84
|
-
return !!
|
|
83
|
+
function Ya(n) {
|
|
84
|
+
return !!fn && fn in n;
|
|
85
85
|
}
|
|
86
|
-
var
|
|
87
|
-
function
|
|
86
|
+
var za = Function.prototype, Xa = za.toString;
|
|
87
|
+
function Ee(n) {
|
|
88
88
|
if (n != null) {
|
|
89
89
|
try {
|
|
90
|
-
return
|
|
90
|
+
return Xa.call(n);
|
|
91
91
|
} catch {
|
|
92
92
|
}
|
|
93
93
|
try {
|
|
@@ -97,60 +97,60 @@ function be(n) {
|
|
|
97
97
|
}
|
|
98
98
|
return "";
|
|
99
99
|
}
|
|
100
|
-
var
|
|
101
|
-
"^" +
|
|
100
|
+
var Wa = /[\\^$.*+?()[\]{}|]/g, Ja = /^\[object .+?Constructor\]$/, Ha = Function.prototype, Ka = Object.prototype, qa = Ha.toString, Za = Ka.hasOwnProperty, Qa = RegExp(
|
|
101
|
+
"^" + qa.call(Za).replace(Wa, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
102
102
|
);
|
|
103
|
-
function
|
|
104
|
-
if (!
|
|
103
|
+
function eo(n) {
|
|
104
|
+
if (!Qe(n) || Ya(n))
|
|
105
105
|
return !1;
|
|
106
|
-
var o = qn(n) ?
|
|
107
|
-
return o.test(
|
|
106
|
+
var o = qn(n) ? Qa : Ja;
|
|
107
|
+
return o.test(Ee(n));
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function to(n, o) {
|
|
110
110
|
return n == null ? void 0 : n[o];
|
|
111
111
|
}
|
|
112
|
-
function
|
|
113
|
-
var f =
|
|
114
|
-
return
|
|
112
|
+
function Re(n, o) {
|
|
113
|
+
var f = to(n, o);
|
|
114
|
+
return eo(f) ? f : void 0;
|
|
115
115
|
}
|
|
116
|
-
var Qt =
|
|
116
|
+
var Qt = Re(te, "WeakMap"), pn = Object.create, ro = /* @__PURE__ */ function() {
|
|
117
117
|
function n() {
|
|
118
118
|
}
|
|
119
119
|
return function(o) {
|
|
120
|
-
if (!
|
|
120
|
+
if (!Qe(o))
|
|
121
121
|
return {};
|
|
122
|
-
if (
|
|
123
|
-
return
|
|
122
|
+
if (pn)
|
|
123
|
+
return pn(o);
|
|
124
124
|
n.prototype = o;
|
|
125
125
|
var f = new n();
|
|
126
126
|
return n.prototype = void 0, f;
|
|
127
127
|
};
|
|
128
128
|
}();
|
|
129
|
-
function
|
|
129
|
+
function no(n, o) {
|
|
130
130
|
var f = -1, h = n.length;
|
|
131
131
|
for (o || (o = Array(h)); ++f < h; )
|
|
132
132
|
o[f] = n[f];
|
|
133
133
|
return o;
|
|
134
134
|
}
|
|
135
|
-
var
|
|
135
|
+
var dn = function() {
|
|
136
136
|
try {
|
|
137
|
-
var n =
|
|
137
|
+
var n = Re(Object, "defineProperty");
|
|
138
138
|
return n({}, "", {}), n;
|
|
139
139
|
} catch {
|
|
140
140
|
}
|
|
141
141
|
}();
|
|
142
|
-
function
|
|
142
|
+
function io(n, o) {
|
|
143
143
|
for (var f = -1, h = n == null ? 0 : n.length; ++f < h && o(n[f], f, n) !== !1; )
|
|
144
144
|
;
|
|
145
145
|
return n;
|
|
146
146
|
}
|
|
147
|
-
var
|
|
148
|
-
function
|
|
147
|
+
var ao = 9007199254740991, oo = /^(?:0|[1-9]\d*)$/;
|
|
148
|
+
function uo(n, o) {
|
|
149
149
|
var f = typeof n;
|
|
150
|
-
return o = o ??
|
|
150
|
+
return o = o ?? ao, !!o && (f == "number" || f != "symbol" && oo.test(n)) && n > -1 && n % 1 == 0 && n < o;
|
|
151
151
|
}
|
|
152
152
|
function Zn(n, o, f) {
|
|
153
|
-
o == "__proto__" &&
|
|
153
|
+
o == "__proto__" && dn ? dn(n, o, {
|
|
154
154
|
configurable: !0,
|
|
155
155
|
enumerable: !0,
|
|
156
156
|
value: f,
|
|
@@ -160,75 +160,75 @@ function Zn(n, o, f) {
|
|
|
160
160
|
function Qn(n, o) {
|
|
161
161
|
return n === o || n !== n && o !== o;
|
|
162
162
|
}
|
|
163
|
-
var
|
|
163
|
+
var so = Object.prototype, lo = so.hasOwnProperty;
|
|
164
164
|
function ei(n, o, f) {
|
|
165
165
|
var h = n[o];
|
|
166
|
-
(!(
|
|
166
|
+
(!(lo.call(n, o) && Qn(h, f)) || f === void 0 && !(o in n)) && Zn(n, o, f);
|
|
167
167
|
}
|
|
168
168
|
function Ot(n, o, f, h) {
|
|
169
169
|
var g = !f;
|
|
170
170
|
f || (f = {});
|
|
171
|
-
for (var
|
|
172
|
-
var T = o[
|
|
171
|
+
for (var _ = -1, m = o.length; ++_ < m; ) {
|
|
172
|
+
var T = o[_], R = void 0;
|
|
173
173
|
R === void 0 && (R = n[T]), g ? Zn(f, T, R) : ei(f, T, R);
|
|
174
174
|
}
|
|
175
175
|
return f;
|
|
176
176
|
}
|
|
177
|
-
var
|
|
177
|
+
var co = 9007199254740991;
|
|
178
178
|
function ti(n) {
|
|
179
|
-
return typeof n == "number" && n > -1 && n % 1 == 0 && n <=
|
|
179
|
+
return typeof n == "number" && n > -1 && n % 1 == 0 && n <= co;
|
|
180
180
|
}
|
|
181
181
|
function ri(n) {
|
|
182
182
|
return n != null && ti(n.length) && !qn(n);
|
|
183
183
|
}
|
|
184
|
-
var
|
|
184
|
+
var fo = Object.prototype;
|
|
185
185
|
function yr(n) {
|
|
186
|
-
var o = n && n.constructor, f = typeof o == "function" && o.prototype ||
|
|
186
|
+
var o = n && n.constructor, f = typeof o == "function" && o.prototype || fo;
|
|
187
187
|
return n === f;
|
|
188
188
|
}
|
|
189
|
-
function
|
|
189
|
+
function po(n, o) {
|
|
190
190
|
for (var f = -1, h = Array(n); ++f < n; )
|
|
191
191
|
h[f] = o(f);
|
|
192
192
|
return h;
|
|
193
193
|
}
|
|
194
|
-
var
|
|
195
|
-
function
|
|
196
|
-
return
|
|
194
|
+
var ho = "[object Arguments]";
|
|
195
|
+
function hn(n) {
|
|
196
|
+
return Ze(n) && qe(n) == ho;
|
|
197
197
|
}
|
|
198
|
-
var ni = Object.prototype,
|
|
198
|
+
var ni = Object.prototype, vo = ni.hasOwnProperty, yo = ni.propertyIsEnumerable, mo = hn(/* @__PURE__ */ function() {
|
|
199
199
|
return arguments;
|
|
200
|
-
}()) ?
|
|
201
|
-
return
|
|
200
|
+
}()) ? hn : function(n) {
|
|
201
|
+
return Ze(n) && vo.call(n, "callee") && !yo.call(n, "callee");
|
|
202
202
|
};
|
|
203
|
-
function
|
|
203
|
+
function go() {
|
|
204
204
|
return !1;
|
|
205
205
|
}
|
|
206
|
-
var ii = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
207
|
-
M[
|
|
208
|
-
M[
|
|
209
|
-
function
|
|
210
|
-
return
|
|
206
|
+
var ii = typeof exports == "object" && exports && !exports.nodeType && exports, vn = ii && typeof module == "object" && module && !module.nodeType && module, _o = vn && vn.exports === ii, yn = _o ? te.Buffer : void 0, bo = yn ? yn.isBuffer : void 0, ai = bo || go, Eo = "[object Arguments]", Ro = "[object Array]", Oo = "[object Boolean]", To = "[object Date]", No = "[object Error]", So = "[object Function]", xo = "[object Map]", wo = "[object Number]", Po = "[object Object]", Co = "[object RegExp]", ko = "[object Set]", Ao = "[object String]", Io = "[object WeakMap]", Do = "[object ArrayBuffer]", Lo = "[object DataView]", Fo = "[object Float32Array]", Mo = "[object Float64Array]", Uo = "[object Int8Array]", jo = "[object Int16Array]", Bo = "[object Int32Array]", $o = "[object Uint8Array]", Vo = "[object Uint8ClampedArray]", Go = "[object Uint16Array]", Yo = "[object Uint32Array]", M = {};
|
|
207
|
+
M[Fo] = M[Mo] = M[Uo] = M[jo] = M[Bo] = M[$o] = M[Vo] = M[Go] = M[Yo] = !0;
|
|
208
|
+
M[Eo] = M[Ro] = M[Do] = M[Oo] = M[Lo] = M[To] = M[No] = M[So] = M[xo] = M[wo] = M[Po] = M[Co] = M[ko] = M[Ao] = M[Io] = !1;
|
|
209
|
+
function zo(n) {
|
|
210
|
+
return Ze(n) && ti(n.length) && !!M[qe(n)];
|
|
211
211
|
}
|
|
212
212
|
function mr(n) {
|
|
213
213
|
return function(o) {
|
|
214
214
|
return n(o);
|
|
215
215
|
};
|
|
216
216
|
}
|
|
217
|
-
var oi = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
217
|
+
var oi = typeof exports == "object" && exports && !exports.nodeType && exports, Je = oi && typeof module == "object" && module && !module.nodeType && module, Xo = Je && Je.exports === oi, qt = Xo && Hn.process, ke = function() {
|
|
218
218
|
try {
|
|
219
|
-
var n =
|
|
220
|
-
return n ||
|
|
219
|
+
var n = Je && Je.require && Je.require("util").types;
|
|
220
|
+
return n || qt && qt.binding && qt.binding("util");
|
|
221
221
|
} catch {
|
|
222
222
|
}
|
|
223
|
-
}(),
|
|
223
|
+
}(), mn = ke && ke.isTypedArray, Wo = mn ? mr(mn) : zo, Jo = Object.prototype, Ho = Jo.hasOwnProperty;
|
|
224
224
|
function ui(n, o) {
|
|
225
|
-
var f = vr(n), h = !f &&
|
|
225
|
+
var f = vr(n), h = !f && mo(n), g = !f && !h && ai(n), _ = !f && !h && !g && Wo(n), m = f || h || g || _, T = m ? po(n.length, String) : [], R = T.length;
|
|
226
226
|
for (var r in n)
|
|
227
|
-
(o ||
|
|
227
|
+
(o || Ho.call(n, r)) && !(m && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
228
228
|
(r == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
229
229
|
g && (r == "offset" || r == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
230
|
-
|
|
231
|
-
|
|
230
|
+
_ && (r == "buffer" || r == "byteLength" || r == "byteOffset") || // Skip index properties.
|
|
231
|
+
uo(r, R))) && T.push(r);
|
|
232
232
|
return T;
|
|
233
233
|
}
|
|
234
234
|
function si(n, o) {
|
|
@@ -236,63 +236,63 @@ function si(n, o) {
|
|
|
236
236
|
return n(o(f));
|
|
237
237
|
};
|
|
238
238
|
}
|
|
239
|
-
var
|
|
240
|
-
function
|
|
239
|
+
var Ko = si(Object.keys, Object), qo = Object.prototype, Zo = qo.hasOwnProperty;
|
|
240
|
+
function Qo(n) {
|
|
241
241
|
if (!yr(n))
|
|
242
|
-
return
|
|
242
|
+
return Ko(n);
|
|
243
243
|
var o = [];
|
|
244
244
|
for (var f in Object(n))
|
|
245
|
-
|
|
245
|
+
Zo.call(n, f) && f != "constructor" && o.push(f);
|
|
246
246
|
return o;
|
|
247
247
|
}
|
|
248
248
|
function gr(n) {
|
|
249
|
-
return ri(n) ? ui(n) :
|
|
249
|
+
return ri(n) ? ui(n) : Qo(n);
|
|
250
250
|
}
|
|
251
|
-
function
|
|
251
|
+
function eu(n) {
|
|
252
252
|
var o = [];
|
|
253
253
|
if (n != null)
|
|
254
254
|
for (var f in Object(n))
|
|
255
255
|
o.push(f);
|
|
256
256
|
return o;
|
|
257
257
|
}
|
|
258
|
-
var
|
|
259
|
-
function
|
|
260
|
-
if (!
|
|
261
|
-
return
|
|
258
|
+
var tu = Object.prototype, ru = tu.hasOwnProperty;
|
|
259
|
+
function nu(n) {
|
|
260
|
+
if (!Qe(n))
|
|
261
|
+
return eu(n);
|
|
262
262
|
var o = yr(n), f = [];
|
|
263
263
|
for (var h in n)
|
|
264
|
-
h == "constructor" && (o || !
|
|
264
|
+
h == "constructor" && (o || !ru.call(n, h)) || f.push(h);
|
|
265
265
|
return f;
|
|
266
266
|
}
|
|
267
267
|
function _r(n) {
|
|
268
|
-
return ri(n) ? ui(n, !0) :
|
|
268
|
+
return ri(n) ? ui(n, !0) : nu(n);
|
|
269
269
|
}
|
|
270
|
-
var
|
|
271
|
-
function
|
|
272
|
-
this.__data__ =
|
|
270
|
+
var He = Re(Object, "create");
|
|
271
|
+
function iu() {
|
|
272
|
+
this.__data__ = He ? He(null) : {}, this.size = 0;
|
|
273
273
|
}
|
|
274
|
-
function
|
|
274
|
+
function au(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 ou = "__lodash_hash_undefined__", uu = Object.prototype, su = uu.hasOwnProperty;
|
|
279
|
+
function lu(n) {
|
|
280
280
|
var o = this.__data__;
|
|
281
|
-
if (
|
|
281
|
+
if (He) {
|
|
282
282
|
var f = o[n];
|
|
283
|
-
return f ===
|
|
283
|
+
return f === ou ? void 0 : f;
|
|
284
284
|
}
|
|
285
|
-
return
|
|
285
|
+
return su.call(o, n) ? o[n] : void 0;
|
|
286
286
|
}
|
|
287
|
-
var
|
|
288
|
-
function
|
|
287
|
+
var cu = Object.prototype, fu = cu.hasOwnProperty;
|
|
288
|
+
function pu(n) {
|
|
289
289
|
var o = this.__data__;
|
|
290
|
-
return
|
|
290
|
+
return He ? o[n] !== void 0 : fu.call(o, n);
|
|
291
291
|
}
|
|
292
|
-
var
|
|
293
|
-
function
|
|
292
|
+
var du = "__lodash_hash_undefined__";
|
|
293
|
+
function hu(n, o) {
|
|
294
294
|
var f = this.__data__;
|
|
295
|
-
return this.size += this.has(n) ? 0 : 1, f[n] =
|
|
295
|
+
return this.size += this.has(n) ? 0 : 1, f[n] = He && o === void 0 ? du : o, this;
|
|
296
296
|
}
|
|
297
297
|
function _e(n) {
|
|
298
298
|
var o = -1, f = n == null ? 0 : n.length;
|
|
@@ -301,12 +301,12 @@ function _e(n) {
|
|
|
301
301
|
this.set(h[0], h[1]);
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
|
-
_e.prototype.clear =
|
|
305
|
-
_e.prototype.delete =
|
|
306
|
-
_e.prototype.get =
|
|
307
|
-
_e.prototype.has =
|
|
308
|
-
_e.prototype.set =
|
|
309
|
-
function
|
|
304
|
+
_e.prototype.clear = iu;
|
|
305
|
+
_e.prototype.delete = au;
|
|
306
|
+
_e.prototype.get = lu;
|
|
307
|
+
_e.prototype.has = pu;
|
|
308
|
+
_e.prototype.set = hu;
|
|
309
|
+
function vu() {
|
|
310
310
|
this.__data__ = [], this.size = 0;
|
|
311
311
|
}
|
|
312
312
|
function Tt(n, o) {
|
|
@@ -315,22 +315,22 @@ function Tt(n, o) {
|
|
|
315
315
|
return f;
|
|
316
316
|
return -1;
|
|
317
317
|
}
|
|
318
|
-
var
|
|
319
|
-
function
|
|
318
|
+
var yu = Array.prototype, mu = yu.splice;
|
|
319
|
+
function gu(n) {
|
|
320
320
|
var o = this.__data__, f = Tt(o, n);
|
|
321
321
|
if (f < 0)
|
|
322
322
|
return !1;
|
|
323
323
|
var h = o.length - 1;
|
|
324
|
-
return f == h ? o.pop() :
|
|
324
|
+
return f == h ? o.pop() : mu.call(o, f, 1), --this.size, !0;
|
|
325
325
|
}
|
|
326
|
-
function
|
|
326
|
+
function _u(n) {
|
|
327
327
|
var o = this.__data__, f = Tt(o, n);
|
|
328
328
|
return f < 0 ? void 0 : o[f][1];
|
|
329
329
|
}
|
|
330
|
-
function
|
|
330
|
+
function bu(n) {
|
|
331
331
|
return Tt(this.__data__, n) > -1;
|
|
332
332
|
}
|
|
333
|
-
function
|
|
333
|
+
function Eu(n, o) {
|
|
334
334
|
var f = this.__data__, h = Tt(f, n);
|
|
335
335
|
return h < 0 ? (++this.size, f.push([n, o])) : f[h][1] = o, this;
|
|
336
336
|
}
|
|
@@ -341,197 +341,199 @@ function ue(n) {
|
|
|
341
341
|
this.set(h[0], h[1]);
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
|
-
ue.prototype.clear =
|
|
345
|
-
ue.prototype.delete =
|
|
346
|
-
ue.prototype.get =
|
|
347
|
-
ue.prototype.has =
|
|
348
|
-
ue.prototype.set =
|
|
349
|
-
var
|
|
350
|
-
function
|
|
344
|
+
ue.prototype.clear = vu;
|
|
345
|
+
ue.prototype.delete = gu;
|
|
346
|
+
ue.prototype.get = _u;
|
|
347
|
+
ue.prototype.has = bu;
|
|
348
|
+
ue.prototype.set = Eu;
|
|
349
|
+
var Ke = Re(te, "Map");
|
|
350
|
+
function Ru() {
|
|
351
351
|
this.size = 0, this.__data__ = {
|
|
352
352
|
hash: new _e(),
|
|
353
|
-
map: new (
|
|
353
|
+
map: new (Ke || ue)(),
|
|
354
354
|
string: new _e()
|
|
355
355
|
};
|
|
356
356
|
}
|
|
357
|
-
function
|
|
357
|
+
function Ou(n) {
|
|
358
358
|
var o = typeof n;
|
|
359
359
|
return o == "string" || o == "number" || o == "symbol" || o == "boolean" ? n !== "__proto__" : n === null;
|
|
360
360
|
}
|
|
361
361
|
function Nt(n, o) {
|
|
362
362
|
var f = n.__data__;
|
|
363
|
-
return
|
|
363
|
+
return Ou(o) ? f[typeof o == "string" ? "string" : "hash"] : f.map;
|
|
364
364
|
}
|
|
365
|
-
function
|
|
365
|
+
function Tu(n) {
|
|
366
366
|
var o = Nt(this, n).delete(n);
|
|
367
367
|
return this.size -= o ? 1 : 0, o;
|
|
368
368
|
}
|
|
369
|
-
function
|
|
369
|
+
function Nu(n) {
|
|
370
370
|
return Nt(this, n).get(n);
|
|
371
371
|
}
|
|
372
|
-
function
|
|
372
|
+
function Su(n) {
|
|
373
373
|
return Nt(this, n).has(n);
|
|
374
374
|
}
|
|
375
|
-
function
|
|
375
|
+
function xu(n, o) {
|
|
376
376
|
var f = Nt(this, n), h = f.size;
|
|
377
377
|
return f.set(n, o), this.size += f.size == h ? 0 : 1, this;
|
|
378
378
|
}
|
|
379
|
-
function
|
|
379
|
+
function De(n) {
|
|
380
380
|
var o = -1, f = n == null ? 0 : n.length;
|
|
381
381
|
for (this.clear(); ++o < f; ) {
|
|
382
382
|
var h = n[o];
|
|
383
383
|
this.set(h[0], h[1]);
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
386
|
+
De.prototype.clear = Ru;
|
|
387
|
+
De.prototype.delete = Tu;
|
|
388
|
+
De.prototype.get = Nu;
|
|
389
|
+
De.prototype.has = Su;
|
|
390
|
+
De.prototype.set = xu;
|
|
391
391
|
function li(n, o) {
|
|
392
392
|
for (var f = -1, h = o.length, g = n.length; ++f < h; )
|
|
393
393
|
n[g + f] = o[f];
|
|
394
394
|
return n;
|
|
395
395
|
}
|
|
396
396
|
var ci = si(Object.getPrototypeOf, Object);
|
|
397
|
-
function
|
|
397
|
+
function wu() {
|
|
398
398
|
this.__data__ = new ue(), this.size = 0;
|
|
399
399
|
}
|
|
400
|
-
function
|
|
400
|
+
function Pu(n) {
|
|
401
401
|
var o = this.__data__, f = o.delete(n);
|
|
402
402
|
return this.size = o.size, f;
|
|
403
403
|
}
|
|
404
|
-
function
|
|
404
|
+
function Cu(n) {
|
|
405
405
|
return this.__data__.get(n);
|
|
406
406
|
}
|
|
407
|
-
function
|
|
407
|
+
function ku(n) {
|
|
408
408
|
return this.__data__.has(n);
|
|
409
409
|
}
|
|
410
|
-
var
|
|
411
|
-
function
|
|
410
|
+
var Au = 200;
|
|
411
|
+
function Iu(n, o) {
|
|
412
412
|
var f = this.__data__;
|
|
413
413
|
if (f instanceof ue) {
|
|
414
414
|
var h = f.__data__;
|
|
415
|
-
if (!
|
|
415
|
+
if (!Ke || h.length < Au - 1)
|
|
416
416
|
return h.push([n, o]), this.size = ++f.size, this;
|
|
417
|
-
f = this.__data__ = new
|
|
417
|
+
f = this.__data__ = new De(h);
|
|
418
418
|
}
|
|
419
419
|
return f.set(n, o), this.size = f.size, this;
|
|
420
420
|
}
|
|
421
|
-
function
|
|
421
|
+
function Le(n) {
|
|
422
422
|
var o = this.__data__ = new ue(n);
|
|
423
423
|
this.size = o.size;
|
|
424
424
|
}
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
function
|
|
425
|
+
Le.prototype.clear = wu;
|
|
426
|
+
Le.prototype.delete = Pu;
|
|
427
|
+
Le.prototype.get = Cu;
|
|
428
|
+
Le.prototype.has = ku;
|
|
429
|
+
Le.prototype.set = Iu;
|
|
430
|
+
function Du(n, o) {
|
|
431
431
|
return n && Ot(o, gr(o), n);
|
|
432
432
|
}
|
|
433
|
-
function
|
|
433
|
+
function Lu(n, o) {
|
|
434
434
|
return n && Ot(o, _r(o), n);
|
|
435
435
|
}
|
|
436
|
-
var fi = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
437
|
-
function
|
|
436
|
+
var fi = typeof exports == "object" && exports && !exports.nodeType && exports, gn = fi && typeof module == "object" && module && !module.nodeType && module, Fu = gn && gn.exports === fi, _n = Fu ? te.Buffer : void 0, bn = _n ? _n.allocUnsafe : void 0;
|
|
437
|
+
function Mu(n, o) {
|
|
438
438
|
if (o)
|
|
439
439
|
return n.slice();
|
|
440
|
-
var f = n.length, h =
|
|
440
|
+
var f = n.length, h = bn ? bn(f) : new n.constructor(f);
|
|
441
441
|
return n.copy(h), h;
|
|
442
442
|
}
|
|
443
|
-
function
|
|
444
|
-
for (var f = -1, h = n == null ? 0 : n.length, g = 0,
|
|
443
|
+
function Uu(n, o) {
|
|
444
|
+
for (var f = -1, h = n == null ? 0 : n.length, g = 0, _ = []; ++f < h; ) {
|
|
445
445
|
var m = n[f];
|
|
446
|
-
o(m, f, n) && (
|
|
446
|
+
o(m, f, n) && (_[g++] = m);
|
|
447
447
|
}
|
|
448
|
-
return
|
|
448
|
+
return _;
|
|
449
449
|
}
|
|
450
450
|
function pi() {
|
|
451
451
|
return [];
|
|
452
452
|
}
|
|
453
|
-
var
|
|
454
|
-
return n == null ? [] : (n = Object(n),
|
|
455
|
-
return
|
|
453
|
+
var ju = Object.prototype, Bu = ju.propertyIsEnumerable, En = Object.getOwnPropertySymbols, br = En ? function(n) {
|
|
454
|
+
return n == null ? [] : (n = Object(n), Uu(En(n), function(o) {
|
|
455
|
+
return Bu.call(n, o);
|
|
456
456
|
}));
|
|
457
457
|
} : pi;
|
|
458
|
-
function
|
|
458
|
+
function $u(n, o) {
|
|
459
459
|
return Ot(n, br(n), o);
|
|
460
460
|
}
|
|
461
|
-
var
|
|
461
|
+
var Vu = Object.getOwnPropertySymbols, di = Vu ? function(n) {
|
|
462
462
|
for (var o = []; n; )
|
|
463
463
|
li(o, br(n)), n = ci(n);
|
|
464
464
|
return o;
|
|
465
465
|
} : pi;
|
|
466
|
-
function
|
|
466
|
+
function Gu(n, o) {
|
|
467
467
|
return Ot(n, di(n), o);
|
|
468
468
|
}
|
|
469
469
|
function hi(n, o, f) {
|
|
470
470
|
var h = o(n);
|
|
471
471
|
return vr(n) ? h : li(h, f(n));
|
|
472
472
|
}
|
|
473
|
-
function
|
|
473
|
+
function Yu(n) {
|
|
474
474
|
return hi(n, gr, br);
|
|
475
475
|
}
|
|
476
|
-
function
|
|
476
|
+
function zu(n) {
|
|
477
477
|
return hi(n, _r, di);
|
|
478
478
|
}
|
|
479
|
-
var er =
|
|
480
|
-
(er && ae(new er(new ArrayBuffer(1))) !=
|
|
481
|
-
var o =
|
|
479
|
+
var er = Re(te, "DataView"), tr = Re(te, "Promise"), rr = Re(te, "Set"), Rn = "[object Map]", Xu = "[object Object]", On = "[object Promise]", Tn = "[object Set]", Nn = "[object WeakMap]", Sn = "[object DataView]", Wu = Ee(er), Ju = Ee(Ke), Hu = Ee(tr), Ku = Ee(rr), qu = Ee(Qt), ae = qe;
|
|
480
|
+
(er && ae(new er(new ArrayBuffer(1))) != Sn || Ke && ae(new Ke()) != Rn || tr && ae(tr.resolve()) != On || rr && ae(new rr()) != Tn || Qt && ae(new Qt()) != Nn) && (ae = function(n) {
|
|
481
|
+
var o = qe(n), f = o == Xu ? n.constructor : void 0, h = f ? Ee(f) : "";
|
|
482
482
|
if (h)
|
|
483
483
|
switch (h) {
|
|
484
|
-
case
|
|
485
|
-
return
|
|
486
|
-
case
|
|
487
|
-
return En;
|
|
488
|
-
case qu:
|
|
484
|
+
case Wu:
|
|
485
|
+
return Sn;
|
|
486
|
+
case Ju:
|
|
489
487
|
return Rn;
|
|
490
|
-
case
|
|
488
|
+
case Hu:
|
|
491
489
|
return On;
|
|
492
|
-
case
|
|
490
|
+
case Ku:
|
|
493
491
|
return Tn;
|
|
492
|
+
case qu:
|
|
493
|
+
return Nn;
|
|
494
494
|
}
|
|
495
495
|
return o;
|
|
496
496
|
});
|
|
497
|
-
var
|
|
498
|
-
function
|
|
497
|
+
var Zu = Object.prototype, Qu = Zu.hasOwnProperty;
|
|
498
|
+
function es(n) {
|
|
499
499
|
var o = n.length, f = new n.constructor(o);
|
|
500
|
-
return o && typeof n[0] == "string" &&
|
|
500
|
+
return o && typeof n[0] == "string" && Qu.call(n, "index") && (f.index = n.index, f.input = n.input), f;
|
|
501
501
|
}
|
|
502
|
-
var
|
|
502
|
+
var xn = te.Uint8Array;
|
|
503
503
|
function Er(n) {
|
|
504
504
|
var o = new n.constructor(n.byteLength);
|
|
505
|
-
return new
|
|
505
|
+
return new xn(o).set(new xn(n)), o;
|
|
506
506
|
}
|
|
507
|
-
function
|
|
507
|
+
function ts(n, o) {
|
|
508
508
|
var f = o ? Er(n.buffer) : n.buffer;
|
|
509
509
|
return new n.constructor(f, n.byteOffset, n.byteLength);
|
|
510
510
|
}
|
|
511
|
-
var
|
|
512
|
-
function
|
|
513
|
-
var o = new n.constructor(n.source,
|
|
511
|
+
var rs = /\w*$/;
|
|
512
|
+
function ns(n) {
|
|
513
|
+
var o = new n.constructor(n.source, rs.exec(n));
|
|
514
514
|
return o.lastIndex = n.lastIndex, o;
|
|
515
515
|
}
|
|
516
|
-
var
|
|
517
|
-
function
|
|
516
|
+
var wn = Ce ? Ce.prototype : void 0, Pn = wn ? wn.valueOf : void 0;
|
|
517
|
+
function is(n) {
|
|
518
518
|
return Pn ? Object(Pn.call(n)) : {};
|
|
519
519
|
}
|
|
520
|
-
function
|
|
520
|
+
function as(n, o) {
|
|
521
521
|
var f = o ? Er(n.buffer) : n.buffer;
|
|
522
522
|
return new n.constructor(f, n.byteOffset, n.length);
|
|
523
523
|
}
|
|
524
|
-
var
|
|
525
|
-
function
|
|
524
|
+
var os = "[object Boolean]", us = "[object Date]", ss = "[object Map]", ls = "[object Number]", cs = "[object RegExp]", fs = "[object Set]", ps = "[object String]", ds = "[object Symbol]", hs = "[object ArrayBuffer]", vs = "[object DataView]", ys = "[object Float32Array]", ms = "[object Float64Array]", gs = "[object Int8Array]", _s = "[object Int16Array]", bs = "[object Int32Array]", Es = "[object Uint8Array]", Rs = "[object Uint8ClampedArray]", Os = "[object Uint16Array]", Ts = "[object Uint32Array]";
|
|
525
|
+
function Ns(n, o, f) {
|
|
526
526
|
var h = n.constructor;
|
|
527
527
|
switch (o) {
|
|
528
|
-
case
|
|
528
|
+
case hs:
|
|
529
529
|
return Er(n);
|
|
530
|
-
case
|
|
531
|
-
case
|
|
530
|
+
case os:
|
|
531
|
+
case us:
|
|
532
532
|
return new h(+n);
|
|
533
|
+
case vs:
|
|
534
|
+
return ts(n, f);
|
|
535
|
+
case ys:
|
|
533
536
|
case ms:
|
|
534
|
-
return ns(n, f);
|
|
535
537
|
case gs:
|
|
536
538
|
case _s:
|
|
537
539
|
case bs:
|
|
@@ -539,78 +541,76 @@ function xs(n, o, f) {
|
|
|
539
541
|
case Rs:
|
|
540
542
|
case Os:
|
|
541
543
|
case Ts:
|
|
542
|
-
|
|
543
|
-
case
|
|
544
|
-
return us(n, f);
|
|
545
|
-
case cs:
|
|
544
|
+
return as(n, f);
|
|
545
|
+
case ss:
|
|
546
546
|
return new h();
|
|
547
|
-
case
|
|
548
|
-
case hs:
|
|
549
|
-
return new h(n);
|
|
547
|
+
case ls:
|
|
550
548
|
case ps:
|
|
551
|
-
return
|
|
552
|
-
case
|
|
549
|
+
return new h(n);
|
|
550
|
+
case cs:
|
|
551
|
+
return ns(n);
|
|
552
|
+
case fs:
|
|
553
553
|
return new h();
|
|
554
|
-
case
|
|
555
|
-
return
|
|
554
|
+
case ds:
|
|
555
|
+
return is(n);
|
|
556
556
|
}
|
|
557
557
|
}
|
|
558
|
-
function
|
|
559
|
-
return typeof n.constructor == "function" && !yr(n) ?
|
|
558
|
+
function Ss(n) {
|
|
559
|
+
return typeof n.constructor == "function" && !yr(n) ? ro(ci(n)) : {};
|
|
560
560
|
}
|
|
561
|
-
var
|
|
562
|
-
function
|
|
563
|
-
return
|
|
561
|
+
var xs = "[object Map]";
|
|
562
|
+
function ws(n) {
|
|
563
|
+
return Ze(n) && ae(n) == xs;
|
|
564
564
|
}
|
|
565
|
-
var
|
|
566
|
-
function
|
|
567
|
-
return
|
|
565
|
+
var Cn = ke && ke.isMap, Ps = Cn ? mr(Cn) : ws, Cs = "[object Set]";
|
|
566
|
+
function ks(n) {
|
|
567
|
+
return Ze(n) && ae(n) == Cs;
|
|
568
568
|
}
|
|
569
|
-
var
|
|
570
|
-
F[vi] = F[
|
|
571
|
-
F[
|
|
572
|
-
function
|
|
573
|
-
var m, T = o &
|
|
569
|
+
var kn = ke && ke.isSet, As = kn ? mr(kn) : ks, Is = 1, Ds = 2, Ls = 4, vi = "[object Arguments]", Fs = "[object Array]", Ms = "[object Boolean]", Us = "[object Date]", js = "[object Error]", yi = "[object Function]", Bs = "[object GeneratorFunction]", $s = "[object Map]", Vs = "[object Number]", mi = "[object Object]", Gs = "[object RegExp]", Ys = "[object Set]", zs = "[object String]", Xs = "[object Symbol]", Ws = "[object WeakMap]", Js = "[object ArrayBuffer]", Hs = "[object DataView]", Ks = "[object Float32Array]", qs = "[object Float64Array]", Zs = "[object Int8Array]", Qs = "[object Int16Array]", el = "[object Int32Array]", tl = "[object Uint8Array]", rl = "[object Uint8ClampedArray]", nl = "[object Uint16Array]", il = "[object Uint32Array]", F = {};
|
|
570
|
+
F[vi] = F[Fs] = F[Js] = F[Hs] = F[Ms] = F[Us] = F[Ks] = F[qs] = F[Zs] = F[Qs] = F[el] = F[$s] = F[Vs] = F[mi] = F[Gs] = F[Ys] = F[zs] = F[Xs] = F[tl] = F[rl] = F[nl] = F[il] = !0;
|
|
571
|
+
F[js] = F[yi] = F[Ws] = !1;
|
|
572
|
+
function dt(n, o, f, h, g, _) {
|
|
573
|
+
var m, T = o & Is, R = o & Ds, r = o & Ls;
|
|
574
574
|
if (m !== void 0)
|
|
575
575
|
return m;
|
|
576
|
-
if (!
|
|
576
|
+
if (!Qe(n))
|
|
577
577
|
return n;
|
|
578
578
|
var t = vr(n);
|
|
579
579
|
if (t) {
|
|
580
|
-
if (m =
|
|
581
|
-
return
|
|
580
|
+
if (m = es(n), !T)
|
|
581
|
+
return no(n, m);
|
|
582
582
|
} else {
|
|
583
|
-
var e = ae(n), i = e == yi || e ==
|
|
583
|
+
var e = ae(n), i = e == yi || e == Bs;
|
|
584
584
|
if (ai(n))
|
|
585
|
-
return
|
|
585
|
+
return Mu(n, T);
|
|
586
586
|
if (e == mi || e == vi || i && !g) {
|
|
587
|
-
if (m = R || i ? {} :
|
|
588
|
-
return R ?
|
|
587
|
+
if (m = R || i ? {} : Ss(n), !T)
|
|
588
|
+
return R ? Gu(n, Lu(m, n)) : $u(n, Du(m, n));
|
|
589
589
|
} else {
|
|
590
590
|
if (!F[e])
|
|
591
591
|
return g ? n : {};
|
|
592
|
-
m =
|
|
592
|
+
m = Ns(n, e, T);
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
|
-
|
|
596
|
-
var u =
|
|
595
|
+
_ || (_ = new Le());
|
|
596
|
+
var u = _.get(n);
|
|
597
597
|
if (u)
|
|
598
598
|
return u;
|
|
599
|
-
|
|
600
|
-
m.add(
|
|
601
|
-
}) :
|
|
602
|
-
m.set(p,
|
|
599
|
+
_.set(n, m), As(n) ? n.forEach(function(a) {
|
|
600
|
+
m.add(dt(a, o, f, a, n, _));
|
|
601
|
+
}) : Ps(n) && n.forEach(function(a, p) {
|
|
602
|
+
m.set(p, dt(a, o, f, p, n, _));
|
|
603
603
|
});
|
|
604
|
-
var s = r ? R ?
|
|
605
|
-
return
|
|
606
|
-
l && (p = a, a = n[p]), ei(m, p,
|
|
604
|
+
var s = r ? R ? zu : Yu : R ? _r : gr, l = t ? void 0 : s(n);
|
|
605
|
+
return io(l || n, function(a, p) {
|
|
606
|
+
l && (p = a, a = n[p]), ei(m, p, dt(a, o, f, p, n, _));
|
|
607
607
|
}), m;
|
|
608
608
|
}
|
|
609
|
-
var
|
|
610
|
-
function
|
|
611
|
-
return
|
|
609
|
+
var al = 1, ol = 4;
|
|
610
|
+
function ht(n) {
|
|
611
|
+
return dt(n, al | ol);
|
|
612
612
|
}
|
|
613
|
-
function
|
|
613
|
+
function ul(n, o) {
|
|
614
614
|
if (n === "page") {
|
|
615
615
|
if (o == "common")
|
|
616
616
|
return "pageCommon";
|
|
@@ -622,31 +622,31 @@ function ll(n, o) {
|
|
|
622
622
|
} else
|
|
623
623
|
console.assert(!1);
|
|
624
624
|
}
|
|
625
|
-
function kn(n, o) {
|
|
626
|
-
return n.array ? vt(o ? n.default : n.defaultArray) : vt(n.default);
|
|
627
|
-
}
|
|
628
625
|
function An(n, o) {
|
|
626
|
+
return n.array ? ht(o ? n.default : n.defaultArray) : ht(n.default);
|
|
627
|
+
}
|
|
628
|
+
function In(n, o) {
|
|
629
629
|
function f(h, g) {
|
|
630
630
|
if (g.ui) {
|
|
631
631
|
if (g.ui === "strInput" && g.static)
|
|
632
632
|
return;
|
|
633
|
-
h[g.key] =
|
|
633
|
+
h[g.key] = An(g);
|
|
634
634
|
} else
|
|
635
|
-
g.array ? h[g.key] =
|
|
636
|
-
h[g.key] = {}, f(h[g.key],
|
|
635
|
+
g.array ? h[g.key] = An(g) : g.children.forEach((_) => {
|
|
636
|
+
h[g.key] = {}, f(h[g.key], _);
|
|
637
637
|
});
|
|
638
638
|
}
|
|
639
639
|
o.forEach((h) => f(n, h));
|
|
640
640
|
}
|
|
641
|
-
function
|
|
642
|
-
const
|
|
641
|
+
function sl(n, o, f, h, g) {
|
|
642
|
+
const _ = `type=${n} subtype=${o} version=${f} ref=${h} keyOrRefid=${g}`, m = ul(n, o);
|
|
643
643
|
if (!m) {
|
|
644
|
-
console.error(`spawnNode prop tag not found, ${
|
|
644
|
+
console.error(`spawnNode prop tag not found, ${_}`);
|
|
645
645
|
return;
|
|
646
646
|
}
|
|
647
647
|
const T = Ai[f];
|
|
648
648
|
if (!T) {
|
|
649
|
-
console.error(`spawnNode pkg not found version, ${
|
|
649
|
+
console.error(`spawnNode pkg not found version, ${_}`);
|
|
650
650
|
return;
|
|
651
651
|
}
|
|
652
652
|
const R = {
|
|
@@ -658,51 +658,51 @@ function cl(n, o, f, h, g) {
|
|
|
658
658
|
if (h) {
|
|
659
659
|
const t = T.refKey, e = g;
|
|
660
660
|
if (!T.elements.has(t)) {
|
|
661
|
-
console.error(`spawnNode [ref] element not found in pkg, ${
|
|
661
|
+
console.error(`spawnNode [ref] element not found in pkg, ${_}`);
|
|
662
662
|
return;
|
|
663
663
|
}
|
|
664
|
-
const i =
|
|
664
|
+
const i = Ae[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, ${_}`);
|
|
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, ${_}`);
|
|
672
672
|
return;
|
|
673
673
|
}
|
|
674
|
-
|
|
674
|
+
In(R, u), R.basic.id = r, R.basic.key = t, R.ref = {
|
|
675
675
|
id: e
|
|
676
676
|
};
|
|
677
677
|
} else {
|
|
678
678
|
const t = g;
|
|
679
679
|
if (!T.elements.has(t)) {
|
|
680
|
-
console.error(`spawnNode [key] element not found in pkg, ${
|
|
680
|
+
console.error(`spawnNode [key] element not found in pkg, ${_}`);
|
|
681
681
|
return;
|
|
682
682
|
}
|
|
683
|
-
const e =
|
|
683
|
+
const e = Ae[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, ${_}`);
|
|
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, ${_}`);
|
|
691
691
|
return;
|
|
692
692
|
}
|
|
693
|
-
|
|
693
|
+
In(R, i), R.basic.id = r, R.basic.key = t, e.slots.length > 0 && (R.children = []);
|
|
694
694
|
}
|
|
695
695
|
return R;
|
|
696
696
|
}
|
|
697
|
-
function
|
|
697
|
+
function yc(n, o) {
|
|
698
698
|
function f(h) {
|
|
699
699
|
if (h.basic.id === o)
|
|
700
700
|
return h;
|
|
701
701
|
if (h.children)
|
|
702
702
|
for (let g = 0; g < h.children.length; g++) {
|
|
703
|
-
const
|
|
704
|
-
if (
|
|
705
|
-
return
|
|
703
|
+
const _ = f(h.children[g]);
|
|
704
|
+
if (_)
|
|
705
|
+
return _;
|
|
706
706
|
}
|
|
707
707
|
}
|
|
708
708
|
for (let h = 0; h < n.length; h++) {
|
|
@@ -711,71 +711,71 @@ function mc(n, o) {
|
|
|
711
711
|
return g;
|
|
712
712
|
}
|
|
713
713
|
}
|
|
714
|
-
function
|
|
714
|
+
function mc(n) {
|
|
715
715
|
function o(h) {
|
|
716
716
|
var g;
|
|
717
|
-
h.basic.id = Jn(16), (g = h.children) == null || g.forEach((
|
|
717
|
+
h.basic.id = Jn(16), (g = h.children) == null || g.forEach((_) => o(_));
|
|
718
718
|
}
|
|
719
|
-
const f =
|
|
719
|
+
const f = ht(n);
|
|
720
720
|
return o(f), f;
|
|
721
721
|
}
|
|
722
722
|
const gi = "runtimeEnv", _i = "runtimeMode", bi = "runtimeDevice", Ei = "runtimeDark", Ri = "runtimeType", Oi = "runtimeData", Ti = "runtimeDepends", Ni = "runtimeInterpreter";
|
|
723
|
+
function gc(n) {
|
|
724
|
+
fe(gi, n);
|
|
725
|
+
}
|
|
726
|
+
function ll() {
|
|
727
|
+
return pe(gi);
|
|
728
|
+
}
|
|
723
729
|
function _c(n) {
|
|
724
|
-
|
|
730
|
+
fe(_i, n);
|
|
725
731
|
}
|
|
726
|
-
function
|
|
727
|
-
return
|
|
732
|
+
function he() {
|
|
733
|
+
return pe(_i);
|
|
728
734
|
}
|
|
729
735
|
function bc(n) {
|
|
730
|
-
|
|
736
|
+
fe(bi, Et(n));
|
|
731
737
|
}
|
|
732
|
-
function
|
|
733
|
-
return
|
|
738
|
+
function Si() {
|
|
739
|
+
return pe(bi);
|
|
734
740
|
}
|
|
735
741
|
function Ec(n) {
|
|
736
|
-
|
|
742
|
+
fe(Ei, Et(n));
|
|
737
743
|
}
|
|
738
|
-
function
|
|
739
|
-
return
|
|
744
|
+
function Fe() {
|
|
745
|
+
return pe(Ei);
|
|
740
746
|
}
|
|
741
747
|
function Rc(n) {
|
|
742
|
-
|
|
748
|
+
fe(Ri, n);
|
|
743
749
|
}
|
|
744
|
-
function
|
|
745
|
-
return
|
|
750
|
+
function xi() {
|
|
751
|
+
return pe(Ri);
|
|
746
752
|
}
|
|
747
753
|
function Oc(n) {
|
|
748
|
-
|
|
754
|
+
console.assert(Xn(n)), fe(Oi, Et(n));
|
|
749
755
|
}
|
|
750
|
-
function
|
|
751
|
-
return
|
|
756
|
+
function wi() {
|
|
757
|
+
return pe(Oi);
|
|
752
758
|
}
|
|
753
759
|
function Tc(n) {
|
|
754
|
-
console.assert(
|
|
760
|
+
console.assert(Xn(n)), fe(Ti, Et(n));
|
|
755
761
|
}
|
|
756
|
-
function
|
|
757
|
-
return
|
|
762
|
+
function cl() {
|
|
763
|
+
return pe(Ti);
|
|
758
764
|
}
|
|
759
|
-
function
|
|
760
|
-
|
|
765
|
+
function fl(n) {
|
|
766
|
+
fe(Ni, n);
|
|
761
767
|
}
|
|
762
768
|
function pl() {
|
|
763
|
-
return
|
|
764
|
-
}
|
|
765
|
-
function dl(n) {
|
|
766
|
-
pe(Ni, n);
|
|
767
|
-
}
|
|
768
|
-
function hl() {
|
|
769
|
-
return de(Ni);
|
|
769
|
+
return pe(Ni);
|
|
770
770
|
}
|
|
771
|
-
const
|
|
771
|
+
const dl = /* @__PURE__ */ oe({
|
|
772
772
|
__name: "index",
|
|
773
773
|
props: {
|
|
774
774
|
node: {},
|
|
775
775
|
outer: { type: Boolean }
|
|
776
776
|
},
|
|
777
777
|
setup(n) {
|
|
778
|
-
const o = n, f =
|
|
778
|
+
const o = n, f = he(), h = Fe(), g = pl(), _ = N(() => {
|
|
779
779
|
var i;
|
|
780
780
|
return (i = o.node.settings) == null ? void 0 : i.text;
|
|
781
781
|
}), m = N(() => {
|
|
@@ -797,9 +797,9 @@ const vl = /* @__PURE__ */ oe({
|
|
|
797
797
|
g.appendCode(`__triggerEvent__('${i}', 'click');`), g.run();
|
|
798
798
|
};
|
|
799
799
|
return (i, u) => {
|
|
800
|
-
const s =
|
|
801
|
-
return
|
|
802
|
-
text:
|
|
800
|
+
const s = be("v-btn");
|
|
801
|
+
return J(), de(s, {
|
|
802
|
+
text: _.value,
|
|
803
803
|
disabled: m.value,
|
|
804
804
|
variant: T.value,
|
|
805
805
|
density: R.value,
|
|
@@ -809,18 +809,18 @@ const vl = /* @__PURE__ */ oe({
|
|
|
809
809
|
}, null, 8, ["text", "disabled", "variant", "density", "block", "theme"]);
|
|
810
810
|
};
|
|
811
811
|
}
|
|
812
|
-
}),
|
|
812
|
+
}), hl = [
|
|
813
813
|
{ title: "x-runtime-lib.elevated", value: "elevated" },
|
|
814
814
|
{ title: "x-runtime-lib.flat", value: "flat" },
|
|
815
815
|
{ title: "x-runtime-lib.tonal", value: "tonal" },
|
|
816
816
|
{ title: "x-runtime-lib.outlined", value: "outlined" },
|
|
817
817
|
{ title: "x-runtime-lib.text", value: "text" },
|
|
818
818
|
{ title: "x-runtime-lib.plain", value: "plain" }
|
|
819
|
-
],
|
|
819
|
+
], Pi = [
|
|
820
820
|
{ title: "x-runtime-lib.default", value: "default" },
|
|
821
821
|
{ title: "x-runtime-lib.comfortable", value: "comfortable" },
|
|
822
822
|
{ title: "x-runtime-lib.compact", value: "compact" }
|
|
823
|
-
], nr = "btn_v1", ir = "combobox_v1", ar = "container_v1", or = "data_table_v1", ur = "dialog_v1", sr = "globality_v1", lr = "number_input_v1",
|
|
823
|
+
], nr = "btn_v1", ir = "combobox_v1", ar = "container_v1", or = "data_table_v1", ur = "dialog_v1", sr = "globality_v1", lr = "number_input_v1", vt = "package_v1", yt = "ref_v1", cr = "select_v1", fr = "text_field_v1", V = {
|
|
824
824
|
key: "basic",
|
|
825
825
|
name: "x-runtime-lib.basic",
|
|
826
826
|
children: [
|
|
@@ -845,7 +845,7 @@ const vl = /* @__PURE__ */ oe({
|
|
|
845
845
|
default: ""
|
|
846
846
|
}
|
|
847
847
|
]
|
|
848
|
-
},
|
|
848
|
+
}, Dn = {
|
|
849
849
|
key: "settings",
|
|
850
850
|
name: "x-runtime-lib.settings",
|
|
851
851
|
children: [
|
|
@@ -865,14 +865,14 @@ const vl = /* @__PURE__ */ oe({
|
|
|
865
865
|
key: "variant",
|
|
866
866
|
name: "x-runtime-lib.variant",
|
|
867
867
|
ui: "select",
|
|
868
|
-
items:
|
|
868
|
+
items: hl,
|
|
869
869
|
default: "elevated"
|
|
870
870
|
},
|
|
871
871
|
{
|
|
872
872
|
key: "density",
|
|
873
873
|
name: "x-runtime-lib.density",
|
|
874
874
|
ui: "select",
|
|
875
|
-
items:
|
|
875
|
+
items: Pi,
|
|
876
876
|
default: "default"
|
|
877
877
|
},
|
|
878
878
|
{
|
|
@@ -882,10 +882,10 @@ const vl = /* @__PURE__ */ oe({
|
|
|
882
882
|
default: !1
|
|
883
883
|
}
|
|
884
884
|
]
|
|
885
|
-
},
|
|
885
|
+
}, vl = {
|
|
886
886
|
key: nr,
|
|
887
887
|
name: "x-runtime-lib.button",
|
|
888
|
-
comp:
|
|
888
|
+
comp: dl,
|
|
889
889
|
slots: [],
|
|
890
890
|
events: [
|
|
891
891
|
{
|
|
@@ -896,20 +896,20 @@ const vl = /* @__PURE__ */ oe({
|
|
|
896
896
|
],
|
|
897
897
|
methods: [],
|
|
898
898
|
props: {
|
|
899
|
-
pageCommon: [V,
|
|
900
|
-
compCommon: [V,
|
|
899
|
+
pageCommon: [V, Dn],
|
|
900
|
+
compCommon: [V, Dn]
|
|
901
901
|
}
|
|
902
|
-
},
|
|
902
|
+
}, yl = { key: 0 }, ml = /* @__PURE__ */ oe({
|
|
903
903
|
__name: "index",
|
|
904
904
|
props: {
|
|
905
905
|
node: {},
|
|
906
906
|
outer: { type: Boolean }
|
|
907
907
|
},
|
|
908
908
|
setup(n) {
|
|
909
|
-
const o = n, f =
|
|
909
|
+
const o = n, f = he(), h = Fe(), g = N(() => {
|
|
910
910
|
var e;
|
|
911
911
|
return (e = o.node.settings) == null ? void 0 : e.value;
|
|
912
|
-
}),
|
|
912
|
+
}), _ = N(() => {
|
|
913
913
|
var e;
|
|
914
914
|
return (e = o.node.settings) == null ? void 0 : e.label;
|
|
915
915
|
}), m = N(() => {
|
|
@@ -926,21 +926,21 @@ const vl = /* @__PURE__ */ oe({
|
|
|
926
926
|
return f !== "runtime" ? !0 : (e = o.node.settings) == null ? void 0 : e.readonly;
|
|
927
927
|
}), t = N(() => h.value ? "dark" : "light");
|
|
928
928
|
return (e, i) => {
|
|
929
|
-
const u =
|
|
930
|
-
return
|
|
931
|
-
|
|
929
|
+
const u = be("v-combobox");
|
|
930
|
+
return Pe(f) === "editor" ? (J(), Ie("div", yl, [
|
|
931
|
+
Rt(u, {
|
|
932
932
|
"model-value": g.value,
|
|
933
|
-
label:
|
|
933
|
+
label: _.value,
|
|
934
934
|
placeholder: m.value,
|
|
935
935
|
"hide-details": T.value,
|
|
936
936
|
"single-line": R.value,
|
|
937
937
|
readonly: r.value,
|
|
938
938
|
theme: t.value
|
|
939
939
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
940
|
-
])) : (
|
|
940
|
+
])) : (J(), de(u, {
|
|
941
941
|
key: 1,
|
|
942
942
|
"model-value": g.value,
|
|
943
|
-
label:
|
|
943
|
+
label: _.value,
|
|
944
944
|
placeholder: m.value,
|
|
945
945
|
"hide-details": T.value,
|
|
946
946
|
"single-line": R.value,
|
|
@@ -949,7 +949,7 @@ const vl = /* @__PURE__ */ oe({
|
|
|
949
949
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
950
950
|
};
|
|
951
951
|
}
|
|
952
|
-
}),
|
|
952
|
+
}), Ln = {
|
|
953
953
|
key: "settings",
|
|
954
954
|
name: "x-runtime-lib.settings",
|
|
955
955
|
children: [
|
|
@@ -990,16 +990,16 @@ const vl = /* @__PURE__ */ oe({
|
|
|
990
990
|
default: !1
|
|
991
991
|
}
|
|
992
992
|
]
|
|
993
|
-
},
|
|
993
|
+
}, gl = {
|
|
994
994
|
key: ir,
|
|
995
995
|
name: "x-runtime-lib.combobox",
|
|
996
|
-
comp:
|
|
996
|
+
comp: ml,
|
|
997
997
|
slots: [],
|
|
998
998
|
events: [],
|
|
999
999
|
methods: [],
|
|
1000
1000
|
props: {
|
|
1001
|
-
pageCommon: [V,
|
|
1002
|
-
compCommon: [V,
|
|
1001
|
+
pageCommon: [V, Ln],
|
|
1002
|
+
compCommon: [V, Ln]
|
|
1003
1003
|
}
|
|
1004
1004
|
};
|
|
1005
1005
|
function Ci(n, o, f) {
|
|
@@ -1009,13 +1009,13 @@ function Ci(n, o, f) {
|
|
|
1009
1009
|
}), g = N(() => {
|
|
1010
1010
|
var t;
|
|
1011
1011
|
return (t = f.node.size) == null ? void 0 : t.minWidth;
|
|
1012
|
-
}),
|
|
1012
|
+
}), _ = N(() => {
|
|
1013
1013
|
var t;
|
|
1014
1014
|
return (t = f.node.size) == null ? void 0 : t.maxWidth;
|
|
1015
1015
|
}), m = N(() => {
|
|
1016
1016
|
var t, e;
|
|
1017
1017
|
if (f.outer && n === "editor") {
|
|
1018
|
-
const i =
|
|
1018
|
+
const i = Ht((t = f.node.size) == null ? void 0 : t.height);
|
|
1019
1019
|
if (i)
|
|
1020
1020
|
return i / 100 * o.value.height + "px";
|
|
1021
1021
|
}
|
|
@@ -1023,7 +1023,7 @@ function Ci(n, o, f) {
|
|
|
1023
1023
|
}), T = N(() => {
|
|
1024
1024
|
var t, e;
|
|
1025
1025
|
if (f.outer && n === "editor") {
|
|
1026
|
-
const i =
|
|
1026
|
+
const i = Ht((t = f.node.size) == null ? void 0 : t.minHeight);
|
|
1027
1027
|
if (i)
|
|
1028
1028
|
return i / 100 * o.value.height + "px";
|
|
1029
1029
|
}
|
|
@@ -1031,18 +1031,18 @@ function Ci(n, o, f) {
|
|
|
1031
1031
|
}), R = N(() => {
|
|
1032
1032
|
var t, e;
|
|
1033
1033
|
if (f.outer && n === "editor") {
|
|
1034
|
-
const i =
|
|
1034
|
+
const i = Ht((t = f.node.size) == null ? void 0 : t.maxHeight);
|
|
1035
1035
|
if (i)
|
|
1036
1036
|
return i / 100 * o.value.height + "px";
|
|
1037
1037
|
}
|
|
1038
1038
|
return (e = f.node.size) == null ? void 0 : e.maxHeight;
|
|
1039
1039
|
});
|
|
1040
1040
|
function r(t) {
|
|
1041
|
-
h.value && (t.width = h.value), g.value && (t.minWidth = g.value),
|
|
1041
|
+
h.value && (t.width = h.value), g.value && (t.minWidth = g.value), _.value && (t.maxWidth = _.value), m.value && (t.height = m.value), T.value && (t.minHeight = T.value), R.value && (t.maxHeight = R.value);
|
|
1042
1042
|
}
|
|
1043
|
-
return { width: h, minWidth: g, maxWidth:
|
|
1043
|
+
return { width: h, minWidth: g, maxWidth: _, height: m, minHeight: T, maxHeight: R, applySize: r };
|
|
1044
1044
|
}
|
|
1045
|
-
function
|
|
1045
|
+
function _l(n) {
|
|
1046
1046
|
const o = N(() => {
|
|
1047
1047
|
var m;
|
|
1048
1048
|
return (m = n.node.margin) == null ? void 0 : m.top;
|
|
@@ -1056,12 +1056,12 @@ function El(n) {
|
|
|
1056
1056
|
var m;
|
|
1057
1057
|
return (m = n.node.margin) == null ? void 0 : m.right;
|
|
1058
1058
|
});
|
|
1059
|
-
function
|
|
1059
|
+
function _(m) {
|
|
1060
1060
|
o.value && (m.marginTop = o.value), f.value && (m.marginLeft = f.value), h.value && (m.marginBottom = h.value), g.value && (m.marginRight = g.value);
|
|
1061
1061
|
}
|
|
1062
|
-
return { marginTop: o, marginLeft: f, marginBottom: h, marginRight: g, applyMargin:
|
|
1062
|
+
return { marginTop: o, marginLeft: f, marginBottom: h, marginRight: g, applyMargin: _ };
|
|
1063
1063
|
}
|
|
1064
|
-
function
|
|
1064
|
+
function bl(n) {
|
|
1065
1065
|
const o = N(() => {
|
|
1066
1066
|
var m;
|
|
1067
1067
|
return (m = n.node.padding) == null ? void 0 : m.top;
|
|
@@ -1075,45 +1075,45 @@ function Rl(n) {
|
|
|
1075
1075
|
var m;
|
|
1076
1076
|
return (m = n.node.padding) == null ? void 0 : m.right;
|
|
1077
1077
|
});
|
|
1078
|
-
function
|
|
1078
|
+
function _(m) {
|
|
1079
1079
|
o.value && (m.paddingTop = o.value), f.value && (m.paddingLeft = f.value), h.value && (m.paddingBottom = h.value), g.value && (m.paddingRight = g.value);
|
|
1080
1080
|
}
|
|
1081
|
-
return { paddingTop: o, paddingLeft: f, paddingBottom: h, paddingRight: g, applyPadding:
|
|
1081
|
+
return { paddingTop: o, paddingLeft: f, paddingBottom: h, paddingRight: g, applyPadding: _ };
|
|
1082
1082
|
}
|
|
1083
|
-
function
|
|
1083
|
+
function El(n) {
|
|
1084
1084
|
const o = N(() => {
|
|
1085
|
-
var
|
|
1086
|
-
return (
|
|
1085
|
+
var _;
|
|
1086
|
+
return (_ = n.node.border) == null ? void 0 : _.style;
|
|
1087
1087
|
}), f = N(() => {
|
|
1088
|
-
var
|
|
1089
|
-
return (
|
|
1088
|
+
var _;
|
|
1089
|
+
return (_ = n.node.border) == null ? void 0 : _.width;
|
|
1090
1090
|
}), h = N(() => {
|
|
1091
|
-
var
|
|
1092
|
-
return (
|
|
1091
|
+
var _;
|
|
1092
|
+
return (_ = n.node.border) == null ? void 0 : _.color;
|
|
1093
1093
|
});
|
|
1094
|
-
function g(
|
|
1095
|
-
o.value && (
|
|
1094
|
+
function g(_) {
|
|
1095
|
+
o.value && (_.borderStyle = o.value), f.value && (_.borderWidth = f.value), h.value && (_.borderColor = h.value);
|
|
1096
1096
|
}
|
|
1097
1097
|
return { borderStyle: o, borderWidth: f, borderColor: h, applyBorder: g };
|
|
1098
1098
|
}
|
|
1099
|
-
const
|
|
1099
|
+
const Rl = /* @__PURE__ */ oe({
|
|
1100
1100
|
__name: "index",
|
|
1101
1101
|
props: {
|
|
1102
1102
|
node: {},
|
|
1103
1103
|
outer: { type: Boolean }
|
|
1104
1104
|
},
|
|
1105
1105
|
setup(n) {
|
|
1106
|
-
const o = n, f =
|
|
1107
|
-
const e = {}, i =
|
|
1106
|
+
const o = n, f = he(), h = Si(), g = xi(), _ = wi(), { applySize: m } = Ci(f, h, o), { applyMargin: T } = _l(o), { applyPadding: R } = bl(o), { applyBorder: r } = El(o), t = N(() => {
|
|
1107
|
+
const e = {}, i = _.type;
|
|
1108
1108
|
return g === "page" ? i === "common" ? (m(e), T(e), R(e), r(e)) : console.assert(!1) : g === "comp" && i === "common" ? (m(e), T(e), R(e), r(e)) : console.assert(!1), e;
|
|
1109
1109
|
});
|
|
1110
|
-
return (e, i) => (
|
|
1110
|
+
return (e, i) => (J(), Ie("div", {
|
|
1111
1111
|
style: ga(t.value)
|
|
1112
1112
|
}, [
|
|
1113
|
-
|
|
1113
|
+
Zt(e.$slots, "default")
|
|
1114
1114
|
], 4));
|
|
1115
1115
|
}
|
|
1116
|
-
}),
|
|
1116
|
+
}), Ol = [
|
|
1117
1117
|
{ title: "x-runtime-lib.default", value: "" },
|
|
1118
1118
|
{ title: "x-runtime-lib.solid", value: "solid" },
|
|
1119
1119
|
{ title: "x-runtime-lib.dashed", value: "dashed" },
|
|
@@ -1145,7 +1145,7 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1145
1145
|
max: 1 / 0,
|
|
1146
1146
|
step: 1
|
|
1147
1147
|
}
|
|
1148
|
-
],
|
|
1148
|
+
], mt = {
|
|
1149
1149
|
key: "border",
|
|
1150
1150
|
name: "x-runtime-lib.border",
|
|
1151
1151
|
children: [
|
|
@@ -1153,7 +1153,7 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1153
1153
|
key: "style",
|
|
1154
1154
|
name: "x-runtime-lib.style",
|
|
1155
1155
|
ui: "select",
|
|
1156
|
-
items:
|
|
1156
|
+
items: Ol,
|
|
1157
1157
|
default: ""
|
|
1158
1158
|
},
|
|
1159
1159
|
{
|
|
@@ -1210,7 +1210,7 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1210
1210
|
]
|
|
1211
1211
|
}
|
|
1212
1212
|
]
|
|
1213
|
-
},
|
|
1213
|
+
}, ft = [
|
|
1214
1214
|
{
|
|
1215
1215
|
name: "x-runtime-lib.default",
|
|
1216
1216
|
ui: "word",
|
|
@@ -1243,7 +1243,7 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1243
1243
|
max: 1 / 0,
|
|
1244
1244
|
step: 1
|
|
1245
1245
|
}
|
|
1246
|
-
],
|
|
1246
|
+
], gt = {
|
|
1247
1247
|
key: "margin",
|
|
1248
1248
|
name: "x-runtime-lib.margin",
|
|
1249
1249
|
children: [
|
|
@@ -1251,32 +1251,32 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1251
1251
|
key: "top",
|
|
1252
1252
|
name: "x-runtime-lib.top",
|
|
1253
1253
|
ui: "multiTypes",
|
|
1254
|
-
types:
|
|
1254
|
+
types: ft,
|
|
1255
1255
|
default: ""
|
|
1256
1256
|
},
|
|
1257
1257
|
{
|
|
1258
1258
|
key: "left",
|
|
1259
1259
|
name: "x-runtime-lib.left",
|
|
1260
1260
|
ui: "multiTypes",
|
|
1261
|
-
types:
|
|
1261
|
+
types: ft,
|
|
1262
1262
|
default: ""
|
|
1263
1263
|
},
|
|
1264
1264
|
{
|
|
1265
1265
|
key: "bottom",
|
|
1266
1266
|
name: "x-runtime-lib.bottom",
|
|
1267
1267
|
ui: "multiTypes",
|
|
1268
|
-
types:
|
|
1268
|
+
types: ft,
|
|
1269
1269
|
default: ""
|
|
1270
1270
|
},
|
|
1271
1271
|
{
|
|
1272
1272
|
key: "right",
|
|
1273
1273
|
name: "x-runtime-lib.right",
|
|
1274
1274
|
ui: "multiTypes",
|
|
1275
|
-
types:
|
|
1275
|
+
types: ft,
|
|
1276
1276
|
default: ""
|
|
1277
1277
|
}
|
|
1278
1278
|
]
|
|
1279
|
-
},
|
|
1279
|
+
}, pt = [
|
|
1280
1280
|
{
|
|
1281
1281
|
name: "x-runtime-lib.default",
|
|
1282
1282
|
ui: "word",
|
|
@@ -1303,7 +1303,7 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1303
1303
|
max: 1 / 0,
|
|
1304
1304
|
step: 1
|
|
1305
1305
|
}
|
|
1306
|
-
],
|
|
1306
|
+
], _t = {
|
|
1307
1307
|
key: "padding",
|
|
1308
1308
|
name: "x-runtime-lib.padding",
|
|
1309
1309
|
children: [
|
|
@@ -1311,32 +1311,32 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1311
1311
|
key: "top",
|
|
1312
1312
|
name: "x-runtime-lib.top",
|
|
1313
1313
|
ui: "multiTypes",
|
|
1314
|
-
types:
|
|
1314
|
+
types: pt,
|
|
1315
1315
|
default: ""
|
|
1316
1316
|
},
|
|
1317
1317
|
{
|
|
1318
1318
|
key: "left",
|
|
1319
1319
|
name: "x-runtime-lib.left",
|
|
1320
1320
|
ui: "multiTypes",
|
|
1321
|
-
types:
|
|
1321
|
+
types: pt,
|
|
1322
1322
|
default: ""
|
|
1323
1323
|
},
|
|
1324
1324
|
{
|
|
1325
1325
|
key: "bottom",
|
|
1326
1326
|
name: "x-runtime-lib.bottom",
|
|
1327
1327
|
ui: "multiTypes",
|
|
1328
|
-
types:
|
|
1328
|
+
types: pt,
|
|
1329
1329
|
default: ""
|
|
1330
1330
|
},
|
|
1331
1331
|
{
|
|
1332
1332
|
key: "right",
|
|
1333
1333
|
name: "x-runtime-lib.right",
|
|
1334
1334
|
ui: "multiTypes",
|
|
1335
|
-
types:
|
|
1335
|
+
types: pt,
|
|
1336
1336
|
default: ""
|
|
1337
1337
|
}
|
|
1338
1338
|
]
|
|
1339
|
-
},
|
|
1339
|
+
}, bt = {
|
|
1340
1340
|
key: "size",
|
|
1341
1341
|
name: "x-runtime-lib.size",
|
|
1342
1342
|
children: [
|
|
@@ -1383,14 +1383,14 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1383
1383
|
default: ""
|
|
1384
1384
|
}
|
|
1385
1385
|
]
|
|
1386
|
-
},
|
|
1386
|
+
}, Fn = {
|
|
1387
1387
|
key: "settings",
|
|
1388
1388
|
name: "x-runtime-lib.settings",
|
|
1389
1389
|
children: []
|
|
1390
|
-
},
|
|
1390
|
+
}, Tl = {
|
|
1391
1391
|
key: ar,
|
|
1392
1392
|
name: "x-runtime-lib.container",
|
|
1393
|
-
comp:
|
|
1393
|
+
comp: Rl,
|
|
1394
1394
|
slots: [
|
|
1395
1395
|
{
|
|
1396
1396
|
key: "default",
|
|
@@ -1407,23 +1407,23 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1407
1407
|
],
|
|
1408
1408
|
methods: [],
|
|
1409
1409
|
props: {
|
|
1410
|
-
pageCommon: [V,
|
|
1411
|
-
compCommon: [V,
|
|
1410
|
+
pageCommon: [V, bt, mt, gt, _t, Fn],
|
|
1411
|
+
compCommon: [V, bt, mt, gt, _t, Fn]
|
|
1412
1412
|
}
|
|
1413
|
-
},
|
|
1413
|
+
}, Nl = /* @__PURE__ */ oe({
|
|
1414
1414
|
__name: "index",
|
|
1415
1415
|
props: {
|
|
1416
1416
|
node: {},
|
|
1417
1417
|
outer: { type: Boolean }
|
|
1418
1418
|
},
|
|
1419
1419
|
setup(n) {
|
|
1420
|
-
const o = n, f =
|
|
1420
|
+
const o = n, f = Fe(), h = N(() => {
|
|
1421
1421
|
var u;
|
|
1422
1422
|
return (u = o.node.size) == null ? void 0 : u.width;
|
|
1423
1423
|
}), g = N(() => {
|
|
1424
1424
|
var u;
|
|
1425
1425
|
return (u = o.node.size) == null ? void 0 : u.height;
|
|
1426
|
-
}),
|
|
1426
|
+
}), _ = N(() => {
|
|
1427
1427
|
var u;
|
|
1428
1428
|
return (u = o.node.settings) == null ? void 0 : u.headers;
|
|
1429
1429
|
}), m = N(() => {
|
|
@@ -1446,11 +1446,11 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1446
1446
|
return (u = o.node.settings) == null ? void 0 : u.multiSort;
|
|
1447
1447
|
}), i = N(() => f.value ? "dark" : "light");
|
|
1448
1448
|
return (u, s) => {
|
|
1449
|
-
const l =
|
|
1450
|
-
return
|
|
1449
|
+
const l = be("v-data-table");
|
|
1450
|
+
return J(), de(l, {
|
|
1451
1451
|
width: h.value,
|
|
1452
1452
|
height: g.value,
|
|
1453
|
-
headers:
|
|
1453
|
+
headers: _.value,
|
|
1454
1454
|
items: m.value,
|
|
1455
1455
|
density: T.value,
|
|
1456
1456
|
"fixed-header": R.value,
|
|
@@ -1461,7 +1461,7 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1461
1461
|
}, null, 8, ["width", "height", "headers", "items", "density", "fixed-header", "fixed-footer", "loading", "multi-sort", "theme"]);
|
|
1462
1462
|
};
|
|
1463
1463
|
}
|
|
1464
|
-
}),
|
|
1464
|
+
}), Sl = [
|
|
1465
1465
|
{
|
|
1466
1466
|
name: "x-runtime-lib.start",
|
|
1467
1467
|
ui: "word",
|
|
@@ -1480,7 +1480,7 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1480
1480
|
validator: (n) => n === "end",
|
|
1481
1481
|
default: "end"
|
|
1482
1482
|
}
|
|
1483
|
-
],
|
|
1483
|
+
], Mn = {
|
|
1484
1484
|
key: "size",
|
|
1485
1485
|
name: "x-runtime-lib.size",
|
|
1486
1486
|
children: [
|
|
@@ -1499,7 +1499,7 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1499
1499
|
default: ""
|
|
1500
1500
|
}
|
|
1501
1501
|
]
|
|
1502
|
-
},
|
|
1502
|
+
}, Un = {
|
|
1503
1503
|
key: "settings",
|
|
1504
1504
|
name: "x-runtime-lib.settings",
|
|
1505
1505
|
children: [
|
|
@@ -1529,7 +1529,7 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1529
1529
|
key: "align",
|
|
1530
1530
|
name: "x-runtime-lib.align",
|
|
1531
1531
|
ui: "multiTypes",
|
|
1532
|
-
types:
|
|
1532
|
+
types: Sl,
|
|
1533
1533
|
default: "start"
|
|
1534
1534
|
},
|
|
1535
1535
|
{
|
|
@@ -1573,7 +1573,7 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1573
1573
|
key: "density",
|
|
1574
1574
|
name: "x-runtime-lib.density",
|
|
1575
1575
|
ui: "select",
|
|
1576
|
-
items:
|
|
1576
|
+
items: Pi,
|
|
1577
1577
|
default: "default"
|
|
1578
1578
|
},
|
|
1579
1579
|
{
|
|
@@ -1601,53 +1601,52 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1601
1601
|
default: !1
|
|
1602
1602
|
}
|
|
1603
1603
|
]
|
|
1604
|
-
},
|
|
1604
|
+
}, xl = {
|
|
1605
1605
|
key: or,
|
|
1606
1606
|
name: "x-runtime-lib.dataTable",
|
|
1607
|
-
comp:
|
|
1607
|
+
comp: Nl,
|
|
1608
1608
|
slots: [],
|
|
1609
1609
|
events: [],
|
|
1610
1610
|
methods: [],
|
|
1611
1611
|
props: {
|
|
1612
|
-
pageCommon: [V,
|
|
1613
|
-
compCommon: [V,
|
|
1612
|
+
pageCommon: [V, Mn, Un],
|
|
1613
|
+
compCommon: [V, Mn, Un]
|
|
1614
1614
|
}
|
|
1615
|
-
},
|
|
1615
|
+
}, wl = ["id"], Pl = /* @__PURE__ */ oe({
|
|
1616
1616
|
__name: "index",
|
|
1617
1617
|
props: {
|
|
1618
1618
|
node: {},
|
|
1619
1619
|
outer: { type: Boolean }
|
|
1620
1620
|
},
|
|
1621
1621
|
setup(n) {
|
|
1622
|
-
const o = n, f = N(() => {
|
|
1623
|
-
var
|
|
1624
|
-
return (
|
|
1625
|
-
}), { open:
|
|
1626
|
-
return (
|
|
1627
|
-
const
|
|
1628
|
-
return
|
|
1629
|
-
modelValue:
|
|
1630
|
-
"onUpdate:modelValue":
|
|
1622
|
+
const o = n, f = he(), h = N(() => {
|
|
1623
|
+
var _;
|
|
1624
|
+
return (_ = o.node.basic) == null ? void 0 : _.id;
|
|
1625
|
+
}), { open: g } = Oa(`runtimeDlg/${h.value}`);
|
|
1626
|
+
return (_, m) => {
|
|
1627
|
+
const T = be("v-dialog");
|
|
1628
|
+
return J(), de(T, {
|
|
1629
|
+
modelValue: Pe(g),
|
|
1630
|
+
"onUpdate:modelValue": m[0] || (m[0] = (R) => _a(g) ? g.value = R : null)
|
|
1631
1631
|
}, {
|
|
1632
|
-
activator:
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
}, 1040)
|
|
1632
|
+
activator: sn(() => [
|
|
1633
|
+
Pe(f) === "editor" ? (J(), Ie("div", {
|
|
1634
|
+
key: 0,
|
|
1635
|
+
id: `__node__@${h.value}`
|
|
1636
|
+
}, null, 8, wl)) : ba("", !0),
|
|
1637
|
+
Zt(_.$slots, "activator")
|
|
1639
1638
|
]),
|
|
1640
|
-
default:
|
|
1641
|
-
|
|
1639
|
+
default: sn(() => [
|
|
1640
|
+
Zt(_.$slots, "default")
|
|
1642
1641
|
]),
|
|
1643
1642
|
_: 3
|
|
1644
1643
|
}, 8, ["modelValue"]);
|
|
1645
1644
|
};
|
|
1646
1645
|
}
|
|
1647
|
-
}),
|
|
1646
|
+
}), Cl = {
|
|
1648
1647
|
key: ur,
|
|
1649
1648
|
name: "x-runtime-lib.dialog",
|
|
1650
|
-
comp:
|
|
1649
|
+
comp: Pl,
|
|
1651
1650
|
slots: [
|
|
1652
1651
|
{
|
|
1653
1652
|
key: "default",
|
|
@@ -1661,7 +1660,7 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1661
1660
|
pageCommon: [V],
|
|
1662
1661
|
compCommon: [V]
|
|
1663
1662
|
}
|
|
1664
|
-
},
|
|
1663
|
+
}, jn = {
|
|
1665
1664
|
key: "globalSettings",
|
|
1666
1665
|
name: "x-runtime-lib.globalSettings",
|
|
1667
1666
|
children: [
|
|
@@ -1672,7 +1671,7 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1672
1671
|
default: "#00000000"
|
|
1673
1672
|
}
|
|
1674
1673
|
]
|
|
1675
|
-
},
|
|
1674
|
+
}, kl = {
|
|
1676
1675
|
key: sr,
|
|
1677
1676
|
name: "x-runtime-lib.globality",
|
|
1678
1677
|
comp: "",
|
|
@@ -1710,21 +1709,21 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1710
1709
|
],
|
|
1711
1710
|
methods: [],
|
|
1712
1711
|
props: {
|
|
1713
|
-
pageCommon: [
|
|
1714
|
-
compCommon: [
|
|
1712
|
+
pageCommon: [jn],
|
|
1713
|
+
compCommon: [jn]
|
|
1715
1714
|
},
|
|
1716
1715
|
internal: !0
|
|
1717
|
-
},
|
|
1716
|
+
}, Al = { key: 0 }, Il = /* @__PURE__ */ oe({
|
|
1718
1717
|
__name: "index",
|
|
1719
1718
|
props: {
|
|
1720
1719
|
node: {},
|
|
1721
1720
|
outer: { type: Boolean }
|
|
1722
1721
|
},
|
|
1723
1722
|
setup(n) {
|
|
1724
|
-
const o = n, f =
|
|
1723
|
+
const o = n, f = he(), h = Fe(), g = N(() => {
|
|
1725
1724
|
var e;
|
|
1726
1725
|
return (e = o.node.settings) == null ? void 0 : e.value;
|
|
1727
|
-
}),
|
|
1726
|
+
}), _ = N(() => {
|
|
1728
1727
|
var e;
|
|
1729
1728
|
return (e = o.node.settings) == null ? void 0 : e.label;
|
|
1730
1729
|
}), m = N(() => {
|
|
@@ -1741,21 +1740,21 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1741
1740
|
return f !== "runtime" ? !0 : (e = o.node.settings) == null ? void 0 : e.readonly;
|
|
1742
1741
|
}), t = N(() => h.value ? "dark" : "light");
|
|
1743
1742
|
return (e, i) => {
|
|
1744
|
-
const u =
|
|
1745
|
-
return
|
|
1746
|
-
|
|
1743
|
+
const u = be("v-number-input");
|
|
1744
|
+
return Pe(f) === "editor" ? (J(), Ie("div", Al, [
|
|
1745
|
+
Rt(u, {
|
|
1747
1746
|
"model-value": g.value,
|
|
1748
|
-
label:
|
|
1747
|
+
label: _.value,
|
|
1749
1748
|
placeholder: m.value,
|
|
1750
1749
|
"hide-details": T.value,
|
|
1751
1750
|
"single-line": R.value,
|
|
1752
1751
|
readonly: r.value,
|
|
1753
1752
|
theme: t.value
|
|
1754
1753
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
1755
|
-
])) : (
|
|
1754
|
+
])) : (J(), de(u, {
|
|
1756
1755
|
key: 1,
|
|
1757
1756
|
"model-value": g.value,
|
|
1758
|
-
label:
|
|
1757
|
+
label: _.value,
|
|
1759
1758
|
placeholder: m.value,
|
|
1760
1759
|
"hide-details": T.value,
|
|
1761
1760
|
"single-line": R.value,
|
|
@@ -1764,7 +1763,7 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1764
1763
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
1765
1764
|
};
|
|
1766
1765
|
}
|
|
1767
|
-
}),
|
|
1766
|
+
}), Bn = {
|
|
1768
1767
|
key: "settings",
|
|
1769
1768
|
name: "x-runtime-lib.settings",
|
|
1770
1769
|
children: [
|
|
@@ -1809,18 +1808,18 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1809
1808
|
default: !1
|
|
1810
1809
|
}
|
|
1811
1810
|
]
|
|
1812
|
-
},
|
|
1811
|
+
}, Dl = {
|
|
1813
1812
|
key: lr,
|
|
1814
1813
|
name: "x-runtime-lib.numberInput",
|
|
1815
|
-
comp:
|
|
1814
|
+
comp: Il,
|
|
1816
1815
|
slots: [],
|
|
1817
1816
|
events: [],
|
|
1818
1817
|
methods: [],
|
|
1819
1818
|
props: {
|
|
1820
|
-
pageCommon: [V,
|
|
1821
|
-
compCommon: [V,
|
|
1819
|
+
pageCommon: [V, Bn],
|
|
1820
|
+
compCommon: [V, Bn]
|
|
1822
1821
|
}
|
|
1823
|
-
},
|
|
1822
|
+
}, $n = {
|
|
1824
1823
|
key: "settings",
|
|
1825
1824
|
name: "x-runtime-lib.settings",
|
|
1826
1825
|
children: [
|
|
@@ -1831,8 +1830,8 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1831
1830
|
default: ""
|
|
1832
1831
|
}
|
|
1833
1832
|
]
|
|
1834
|
-
},
|
|
1835
|
-
key:
|
|
1833
|
+
}, Ll = {
|
|
1834
|
+
key: vt,
|
|
1836
1835
|
name: "x-runtime-lib.package",
|
|
1837
1836
|
comp: null,
|
|
1838
1837
|
slots: [
|
|
@@ -1845,15 +1844,16 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1845
1844
|
events: [],
|
|
1846
1845
|
methods: [],
|
|
1847
1846
|
props: {
|
|
1848
|
-
pageCommon: [V,
|
|
1849
|
-
compCommon: [V,
|
|
1850
|
-
}
|
|
1847
|
+
pageCommon: [V, $n],
|
|
1848
|
+
compCommon: [V, $n]
|
|
1849
|
+
},
|
|
1850
|
+
teleport: !0
|
|
1851
1851
|
};
|
|
1852
|
-
var
|
|
1853
|
-
function
|
|
1852
|
+
var Fl = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1853
|
+
function Ml(n) {
|
|
1854
1854
|
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
1855
1855
|
}
|
|
1856
|
-
function
|
|
1856
|
+
function Ul(n) {
|
|
1857
1857
|
if (n.__esModule) return n;
|
|
1858
1858
|
var o = n.default;
|
|
1859
1859
|
if (typeof o == "function") {
|
|
@@ -1873,14 +1873,14 @@ function jl(n) {
|
|
|
1873
1873
|
}), f;
|
|
1874
1874
|
}
|
|
1875
1875
|
var ki = { exports: {} };
|
|
1876
|
-
const
|
|
1876
|
+
const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1877
1877
|
__proto__: null,
|
|
1878
|
-
default:
|
|
1879
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1878
|
+
default: jl
|
|
1879
|
+
}, Symbol.toStringTag, { value: "Module" })), $l = /* @__PURE__ */ Ul(Bl);
|
|
1880
1880
|
(function(n, o) {
|
|
1881
1881
|
(function(h, g) {
|
|
1882
1882
|
n.exports = g();
|
|
1883
|
-
})(
|
|
1883
|
+
})(Fl, () => (
|
|
1884
1884
|
/******/
|
|
1885
1885
|
(() => {
|
|
1886
1886
|
var f = {
|
|
@@ -4507,12 +4507,12 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
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,
|
|
4510
|
+
var W = this, Me = function(ve) {
|
|
4511
4511
|
e.value = ve, W.paused_ = !1;
|
|
4512
4512
|
}, q = s.asyncFunc.length - 1, Oe = e.arguments_.concat(
|
|
4513
4513
|
new Array(q)
|
|
4514
4514
|
).slice(0, q);
|
|
4515
|
-
Oe.push(
|
|
4515
|
+
Oe.push(Me), this.paused_ = !0, e.scope.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), s.asyncFunc.apply(e.funcThis_, Oe);
|
|
4516
4516
|
return;
|
|
4517
4517
|
} else
|
|
4518
4518
|
this.throwException(
|
|
@@ -4987,32 +4987,32 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4987
4987
|
i = r.sourceFile;
|
|
4988
4988
|
}
|
|
4989
4989
|
var l = function(c, d) {
|
|
4990
|
-
for (var y = 1,
|
|
4991
|
-
|
|
4992
|
-
var C =
|
|
4990
|
+
for (var y = 1, b = 0; ; ) {
|
|
4991
|
+
at.lastIndex = b;
|
|
4992
|
+
var C = at.exec(c);
|
|
4993
4993
|
if (C && C.index < d)
|
|
4994
|
-
++y,
|
|
4994
|
+
++y, b = 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, O, x, I, L, W,
|
|
4998
|
+
return { line: y, column: d - b };
|
|
4999
|
+
}, a = 0, p = 0, v = 0, E, S, O, x, I, L, W, Me = 0, q = 0, Oe, ve, B, H;
|
|
5000
5000
|
function A(c, d) {
|
|
5001
5001
|
var y = l(t, c);
|
|
5002
5002
|
d += " (" + y.line + ":" + y.column + ")";
|
|
5003
|
-
var
|
|
5004
|
-
throw
|
|
5003
|
+
var b = new SyntaxError(d);
|
|
5004
|
+
throw b.pos = c, b.loc = y, b.raisedAt = a, b;
|
|
5005
5005
|
}
|
|
5006
|
-
var Ii = [],
|
|
5007
|
-
break:
|
|
5008
|
-
case:
|
|
5006
|
+
var Ii = [], et = { type: "num" }, Rr = { type: "regexp" }, St = { type: "string" }, Te = { type: "name" }, xt = { type: "eof" }, wt = { keyword: "break" }, Pt = { keyword: "case", beforeExpr: !0 }, Or = { keyword: "catch" }, Tr = { keyword: "continue" }, Nr = { keyword: "debugger" }, Sr = { keyword: "default" }, xr = { keyword: "do", isLoop: !0 }, wr = { keyword: "else", beforeExpr: !0 }, Pr = { keyword: "finally" }, Cr = { keyword: "for", isLoop: !0 }, Ct = { keyword: "function" }, kr = { keyword: "if" }, Ar = { keyword: "return", beforeExpr: !0 }, kt = { keyword: "switch" }, Ir = { keyword: "throw", beforeExpr: !0 }, Dr = { keyword: "try" }, At = { keyword: "var" }, It = { keyword: "while", isLoop: !0 }, Lr = { keyword: "with" }, Fr = { keyword: "new", beforeExpr: !0 }, Mr = { keyword: "this" }, Ur = { keyword: "null", atomValue: null }, jr = { keyword: "true", atomValue: !0 }, Br = { keyword: "false", atomValue: !1 }, tt = { keyword: "in", binop: 7, beforeExpr: !0 }, Di = {
|
|
5007
|
+
break: wt,
|
|
5008
|
+
case: Pt,
|
|
5009
5009
|
catch: Or,
|
|
5010
5010
|
continue: Tr,
|
|
5011
5011
|
debugger: Nr,
|
|
5012
5012
|
default: Sr,
|
|
5013
5013
|
do: xr,
|
|
5014
|
-
else:
|
|
5015
|
-
finally:
|
|
5014
|
+
else: wr,
|
|
5015
|
+
finally: Pr,
|
|
5016
5016
|
for: Cr,
|
|
5017
5017
|
function: Ct,
|
|
5018
5018
|
if: kr,
|
|
@@ -5027,21 +5027,21 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5027
5027
|
true: jr,
|
|
5028
5028
|
false: Br,
|
|
5029
5029
|
new: Fr,
|
|
5030
|
-
in:
|
|
5030
|
+
in: tt,
|
|
5031
5031
|
instanceof: { keyword: "instanceof", binop: 7, beforeExpr: !0 },
|
|
5032
5032
|
this: Mr,
|
|
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
|
-
}, Dt = { type: "[", beforeExpr: !0 }, Lt = { type: "]" },
|
|
5037
|
-
function
|
|
5038
|
-
for (var d = c.split(" "), y = /* @__PURE__ */ Object.create(null),
|
|
5039
|
-
y[d[
|
|
5036
|
+
}, Dt = { type: "[", beforeExpr: !0 }, Lt = { type: "]" }, Ue = { type: "{", beforeExpr: !0 }, Ne = { type: "}" }, re = { type: "(", beforeExpr: !0 }, ee = { type: ")" }, se = { type: ",", beforeExpr: !0 }, ne = { type: ";", beforeExpr: !0 }, je = { type: ":", beforeExpr: !0 }, $r = { type: "." }, Vr = { type: "?", beforeExpr: !0 }, Gr = { binop: 10, beforeExpr: !0 }, Yr = { isAssign: !0, beforeExpr: !0 }, ye = { isAssign: !0, beforeExpr: !0 }, Li = { postfix: !0, prefix: !0, isUpdate: !0 }, zr = { prefix: !0, beforeExpr: !0 }, Xr = { binop: 1, beforeExpr: !0 }, Wr = { binop: 2, beforeExpr: !0 }, Fi = { binop: 3, beforeExpr: !0 }, Mi = { binop: 4, beforeExpr: !0 }, Ui = { binop: 5, beforeExpr: !0 }, ji = { binop: 6, beforeExpr: !0 }, Bi = { binop: 7, beforeExpr: !0 }, $i = { binop: 8, beforeExpr: !0 }, Vi = { binop: 9, prefix: !0, beforeExpr: !0 }, Gi = { binop: 10, beforeExpr: !0 };
|
|
5037
|
+
function rt(c) {
|
|
5038
|
+
for (var d = c.split(" "), y = /* @__PURE__ */ Object.create(null), b = 0; b < d.length; b++)
|
|
5039
|
+
y[d[b]] = !0;
|
|
5040
5040
|
return function(C) {
|
|
5041
5041
|
return y[C] || !1;
|
|
5042
5042
|
};
|
|
5043
5043
|
}
|
|
5044
|
-
var Yi =
|
|
5044
|
+
var Yi = rt("class enum extends super const export import"), Jr = rt("implements interface let package private protected public static yield"), nt = rt("eval arguments"), zi = rt("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"), Xi = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Hr = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", Wi = "̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_", Kr = new RegExp("[" + Hr + "]"), Ji = new RegExp("[" + Hr + Wi + "]"), it = /[\n\r\u2028\u2029]/, at = /\r\n|[\n\r\u2028\u2029]/g, ot = function(c) {
|
|
5045
5045
|
return c < 65 ? c === 36 : c < 91 ? !0 : c < 97 ? c === 95 : c < 123 ? !0 : c >= 170 && Kr.test(String.fromCharCode(c));
|
|
5046
5046
|
}, qr = function(c) {
|
|
5047
5047
|
return c < 48 ? c === 36 : c < 58 ? !0 : c < 65 ? !1 : c < 91 ? !0 : c < 97 ? c === 95 : c < 123 ? !0 : c >= 170 && Ji.test(String.fromCharCode(c));
|
|
@@ -5050,17 +5050,17 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5050
5050
|
this.line = L, this.column = a - W;
|
|
5051
5051
|
}
|
|
5052
5052
|
function Hi() {
|
|
5053
|
-
L = 1, a = W = 0, I = !0,
|
|
5053
|
+
L = 1, a = W = 0, I = !0, Be();
|
|
5054
5054
|
}
|
|
5055
5055
|
function G(c, d) {
|
|
5056
|
-
v = a, r.locations && (S = new me()), O = c,
|
|
5056
|
+
v = a, r.locations && (S = new me()), O = c, Be(), x = d, I = c.beforeExpr;
|
|
5057
5057
|
}
|
|
5058
5058
|
function Ki() {
|
|
5059
5059
|
var c = r.onComment && r.locations && new me(), d = a, y = t.indexOf("*/", a += 2);
|
|
5060
5060
|
if (y === -1 && A(a - 2, "Unterminated comment"), a = y + 2, r.locations) {
|
|
5061
|
-
|
|
5062
|
-
for (var
|
|
5063
|
-
++L, W =
|
|
5061
|
+
at.lastIndex = d;
|
|
5062
|
+
for (var b; (b = at.exec(t)) && b.index < a; )
|
|
5063
|
+
++L, W = b.index + b[0].length;
|
|
5064
5064
|
}
|
|
5065
5065
|
r.onComment && r.onComment(
|
|
5066
5066
|
!0,
|
|
@@ -5083,7 +5083,7 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5083
5083
|
r.locations && new me()
|
|
5084
5084
|
);
|
|
5085
5085
|
}
|
|
5086
|
-
function
|
|
5086
|
+
function Be() {
|
|
5087
5087
|
for (; a < e; ) {
|
|
5088
5088
|
var c = t.charCodeAt(a);
|
|
5089
5089
|
if (c === 32)
|
|
@@ -5134,8 +5134,8 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5134
5134
|
function ra(c) {
|
|
5135
5135
|
var d = t.charCodeAt(a + 1);
|
|
5136
5136
|
if (d === c) {
|
|
5137
|
-
if (d === 45 && t.charCodeAt(a + 2) === 62 &&
|
|
5138
|
-
a += 3, Ft(),
|
|
5137
|
+
if (d === 45 && t.charCodeAt(a + 2) === 62 && it.test(t.slice(q, a))) {
|
|
5138
|
+
a += 3, Ft(), Be(), Se();
|
|
5139
5139
|
return;
|
|
5140
5140
|
}
|
|
5141
5141
|
Y(Li, 2);
|
|
@@ -5148,7 +5148,7 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5148
5148
|
return;
|
|
5149
5149
|
}
|
|
5150
5150
|
if (d === 33 && c === 60 && t.charCodeAt(a + 2) === 45 && t.charCodeAt(a + 3) === 45) {
|
|
5151
|
-
a += 4, Ft(),
|
|
5151
|
+
a += 4, Ft(), Be(), Se();
|
|
5152
5152
|
return;
|
|
5153
5153
|
}
|
|
5154
5154
|
d === 61 && (y = t.charCodeAt(a + 2) === 61 ? 3 : 2), Y(Bi, y);
|
|
@@ -5174,11 +5174,11 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5174
5174
|
case 93:
|
|
5175
5175
|
return ++a, G(Lt);
|
|
5176
5176
|
case 123:
|
|
5177
|
-
return ++a, G(
|
|
5177
|
+
return ++a, G(Ue);
|
|
5178
5178
|
case 125:
|
|
5179
5179
|
return ++a, G(Ne);
|
|
5180
5180
|
case 58:
|
|
5181
|
-
return ++a, G(
|
|
5181
|
+
return ++a, G(je);
|
|
5182
5182
|
case 63:
|
|
5183
5183
|
return ++a, G(Vr);
|
|
5184
5184
|
case 48:
|
|
@@ -5225,14 +5225,14 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5225
5225
|
if (c ? a = p + 1 : p = a, r.locations && (E = new me()), c) return Zr();
|
|
5226
5226
|
if (a >= e) return G(xt);
|
|
5227
5227
|
var d = t.charCodeAt(a);
|
|
5228
|
-
if (
|
|
5228
|
+
if (ot(d) || d === 92)
|
|
5229
5229
|
return tn();
|
|
5230
5230
|
var y = aa(d);
|
|
5231
5231
|
if (y === !1) {
|
|
5232
|
-
var
|
|
5233
|
-
if (
|
|
5232
|
+
var b = String.fromCharCode(d);
|
|
5233
|
+
if (b === "\\" || Kr.test(b))
|
|
5234
5234
|
return tn();
|
|
5235
|
-
A(a, "Unexpected character '" +
|
|
5235
|
+
A(a, "Unexpected character '" + b + "'");
|
|
5236
5236
|
}
|
|
5237
5237
|
}
|
|
5238
5238
|
function Y(c, d) {
|
|
@@ -5242,51 +5242,51 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5242
5242
|
function Zr() {
|
|
5243
5243
|
for (var c, d, y = a; ; ) {
|
|
5244
5244
|
a >= e && A(y, "Unterminated regexp");
|
|
5245
|
-
var
|
|
5246
|
-
if (
|
|
5245
|
+
var b = t.charAt(a);
|
|
5246
|
+
if (it.test(b) && A(y, "Unterminated regexp"), c)
|
|
5247
5247
|
c = !1;
|
|
5248
5248
|
else {
|
|
5249
|
-
if (
|
|
5249
|
+
if (b === "[")
|
|
5250
5250
|
d = !0;
|
|
5251
|
-
else if (
|
|
5251
|
+
else if (b === "]" && d)
|
|
5252
5252
|
d = !1;
|
|
5253
|
-
else if (
|
|
5253
|
+
else if (b === "/" && !d)
|
|
5254
5254
|
break;
|
|
5255
|
-
c =
|
|
5255
|
+
c = b === "\\";
|
|
5256
5256
|
}
|
|
5257
5257
|
++a;
|
|
5258
5258
|
}
|
|
5259
5259
|
var C = t.slice(y, a);
|
|
5260
5260
|
++a;
|
|
5261
|
-
var
|
|
5262
|
-
|
|
5261
|
+
var w = en();
|
|
5262
|
+
w && !/^[gmi]*$/.test(w) && A(y, "Invalid regexp flag");
|
|
5263
5263
|
try {
|
|
5264
|
-
var k = new RegExp(C,
|
|
5264
|
+
var k = new RegExp(C, w);
|
|
5265
5265
|
} catch (U) {
|
|
5266
5266
|
throw U instanceof SyntaxError && A(y, U.message), U;
|
|
5267
5267
|
}
|
|
5268
5268
|
G(Rr, k);
|
|
5269
5269
|
}
|
|
5270
|
-
function
|
|
5271
|
-
for (var y = a,
|
|
5270
|
+
function $e(c, d) {
|
|
5271
|
+
for (var y = a, b = 0, C = d === void 0 ? 1 / 0 : d, w = 0; w < C; ++w) {
|
|
5272
5272
|
var k = t.charCodeAt(a), U;
|
|
5273
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 >= c) break;
|
|
5274
|
-
++a,
|
|
5274
|
+
++a, b = b * c + 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 : b;
|
|
5277
5277
|
}
|
|
5278
5278
|
function oa() {
|
|
5279
5279
|
a += 2;
|
|
5280
|
-
var c =
|
|
5281
|
-
c === null && A(p + 2, "Expected hexadecimal number"),
|
|
5280
|
+
var c = $e(16);
|
|
5281
|
+
c === null && A(p + 2, "Expected hexadecimal number"), ot(t.charCodeAt(a)) && A(a, "Identifier directly after number"), G(et, c);
|
|
5282
5282
|
}
|
|
5283
5283
|
function Qr(c) {
|
|
5284
|
-
var d = a, y = !1,
|
|
5285
|
-
!c &&
|
|
5284
|
+
var d = a, y = !1, b = t.charCodeAt(a) === 48;
|
|
5285
|
+
!c && $e(10) === null && A(d, "Invalid number"), t.charCodeAt(a) === 46 && (++a, $e(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, $e(10) === null && A(d, "Invalid number"), y = !0), ot(t.charCodeAt(a)) && A(a, "Identifier directly after number");
|
|
5288
|
+
var w = t.slice(d, a), k;
|
|
5289
|
+
y ? k = parseFloat(w) : !b || w.length === 1 ? k = parseInt(w, 10) : /[89]/.test(w) || H ? A(d, "Invalid number") : k = parseInt(w, 8), G(et, k);
|
|
5290
5290
|
}
|
|
5291
5291
|
function ua(c) {
|
|
5292
5292
|
a++;
|
|
@@ -5299,11 +5299,11 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5299
5299
|
}
|
|
5300
5300
|
if (y === 92) {
|
|
5301
5301
|
y = t.charCodeAt(++a);
|
|
5302
|
-
var
|
|
5303
|
-
for (
|
|
5304
|
-
|
|
5305
|
-
if (
|
|
5306
|
-
|
|
5302
|
+
var b = /^[0-7]+/.exec(t.slice(a, a + 3));
|
|
5303
|
+
for (b && (b = b[0]); b && parseInt(b, 8) > 255; )
|
|
5304
|
+
b = b.slice(0, -1);
|
|
5305
|
+
if (b === "0" && (b = null), ++a, b)
|
|
5306
|
+
H && A(a - 2, "Octal literal in strict mode"), d += String.fromCharCode(parseInt(b, 8)), a += b.length - 1;
|
|
5307
5307
|
else
|
|
5308
5308
|
switch (y) {
|
|
5309
5309
|
case 110:
|
|
@@ -5314,13 +5314,13 @@ const Bl = {}, $l = /* @__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(ut(2));
|
|
5318
5318
|
break;
|
|
5319
5319
|
case 117:
|
|
5320
|
-
d += String.fromCharCode(
|
|
5320
|
+
d += String.fromCharCode(ut(4));
|
|
5321
5321
|
break;
|
|
5322
5322
|
case 85:
|
|
5323
|
-
d += String.fromCharCode(
|
|
5323
|
+
d += String.fromCharCode(ut(8));
|
|
5324
5324
|
break;
|
|
5325
5325
|
case 116:
|
|
5326
5326
|
d += " ";
|
|
@@ -5350,8 +5350,8 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5350
5350
|
(y === 13 || y === 10 || y === 8232 || y === 8233) && A(p, "Unterminated string constant"), d += String.fromCharCode(y), ++a;
|
|
5351
5351
|
}
|
|
5352
5352
|
}
|
|
5353
|
-
function
|
|
5354
|
-
var d =
|
|
5353
|
+
function ut(c) {
|
|
5354
|
+
var d = $e(16, c);
|
|
5355
5355
|
return d === null && A(p, "Bad character escape sequence"), /** @type {number} */
|
|
5356
5356
|
d;
|
|
5357
5357
|
}
|
|
@@ -5359,13 +5359,13 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5359
5359
|
function en() {
|
|
5360
5360
|
xe = !1;
|
|
5361
5361
|
for (var c, d = !0, y = a; ; ) {
|
|
5362
|
-
var
|
|
5363
|
-
if (qr(
|
|
5362
|
+
var b = t.charCodeAt(a);
|
|
5363
|
+
if (qr(b))
|
|
5364
5364
|
xe && (c += t.charAt(a)), ++a;
|
|
5365
|
-
else if (
|
|
5365
|
+
else if (b === 92) {
|
|
5366
5366
|
xe || (c = t.slice(y, a)), xe = !0, t.charCodeAt(++a) !== 117 && A(a, "Expecting Unicode escape sequence \\uXXXX"), ++a;
|
|
5367
|
-
var C =
|
|
5368
|
-
|
|
5367
|
+
var C = ut(4), w = String.fromCharCode(C);
|
|
5368
|
+
w || A(a - 1, "Invalid Unicode escape"), (d ? ot(C) : qr(C)) || A(a - 4, "Invalid Unicode escape"), c += w;
|
|
5369
5369
|
} else
|
|
5370
5370
|
break;
|
|
5371
5371
|
d = !1;
|
|
@@ -5377,14 +5377,14 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5377
5377
|
!xe && zi(c) && (d = Di[c]), G(d, c);
|
|
5378
5378
|
}
|
|
5379
5379
|
function D() {
|
|
5380
|
-
|
|
5380
|
+
Me = p, q = v, Oe = S, Se();
|
|
5381
5381
|
}
|
|
5382
5382
|
function Mt(c) {
|
|
5383
|
-
if (
|
|
5383
|
+
if (H = c, a = p, r.locations)
|
|
5384
5384
|
for (; a < W; )
|
|
5385
5385
|
W = t.lastIndexOf(`
|
|
5386
5386
|
`, W - 2) + 1, --L;
|
|
5387
|
-
|
|
5387
|
+
Be(), Se();
|
|
5388
5388
|
}
|
|
5389
5389
|
function rn() {
|
|
5390
5390
|
this.type = null, this.start = p, this.end = null;
|
|
@@ -5400,7 +5400,7 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5400
5400
|
var d = new rn();
|
|
5401
5401
|
return d.start = c.start, r.locations && (d.loc = new nn(), d.loc.start = c.loc.start), r.ranges && (d.range = [c.range[0], 0]), d;
|
|
5402
5402
|
}
|
|
5403
|
-
function
|
|
5403
|
+
function P(c, d) {
|
|
5404
5404
|
return c.type = d, c.end = q, r.locations && (c.loc.end = Oe), r.ranges && (c.range[1] = q), c;
|
|
5405
5405
|
}
|
|
5406
5406
|
function Ut(c) {
|
|
@@ -5409,11 +5409,11 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5409
5409
|
function j(c) {
|
|
5410
5410
|
return O === c ? (D(), !0) : !1;
|
|
5411
5411
|
}
|
|
5412
|
-
function
|
|
5413
|
-
return !r.strictSemicolons && (O === xt || O === Ne ||
|
|
5412
|
+
function st() {
|
|
5413
|
+
return !r.strictSemicolons && (O === xt || O === Ne || it.test(t.slice(q, p)));
|
|
5414
5414
|
}
|
|
5415
5415
|
function ge() {
|
|
5416
|
-
!j(ne) && !
|
|
5416
|
+
!j(ne) && !st() && ie();
|
|
5417
5417
|
}
|
|
5418
5418
|
function $(c) {
|
|
5419
5419
|
O === c ? D() : ie();
|
|
@@ -5421,121 +5421,121 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5421
5421
|
function ie() {
|
|
5422
5422
|
A(p, "Unexpected token");
|
|
5423
5423
|
}
|
|
5424
|
-
function
|
|
5425
|
-
c.type !== "Identifier" && c.type !== "MemberExpression" && A(c.start, "Assigning to rvalue"),
|
|
5424
|
+
function lt(c) {
|
|
5425
|
+
c.type !== "Identifier" && c.type !== "MemberExpression" && A(c.start, "Assigning to rvalue"), H && c.type === "Identifier" && nt(c.name) && A(c.start, "Assigning to " + c.name + " in strict mode");
|
|
5426
5426
|
}
|
|
5427
5427
|
function sa(c) {
|
|
5428
|
-
|
|
5428
|
+
Me = q = a, r.locations && (Oe = new me()), ve = H = !1, B = [], Se();
|
|
5429
5429
|
var d = c || z(), y = !0;
|
|
5430
5430
|
for (c || (d.body = []); O !== xt; ) {
|
|
5431
|
-
var
|
|
5432
|
-
d.body.push(
|
|
5431
|
+
var b = Z();
|
|
5432
|
+
d.body.push(b), y && Ut(b) && Mt(!0), y = !1;
|
|
5433
5433
|
}
|
|
5434
|
-
return
|
|
5434
|
+
return P(d, "Program");
|
|
5435
5435
|
}
|
|
5436
5436
|
var jt = { kind: "loop" }, la = { kind: "switch" };
|
|
5437
5437
|
function Z() {
|
|
5438
5438
|
(O === Gr || O === ye && x === "/=") && Se(!0);
|
|
5439
5439
|
var c = O, d = z();
|
|
5440
5440
|
switch (c) {
|
|
5441
|
-
case
|
|
5441
|
+
case wt:
|
|
5442
5442
|
case Tr:
|
|
5443
5443
|
D();
|
|
5444
|
-
var y = c ===
|
|
5445
|
-
j(ne) ||
|
|
5446
|
-
for (var
|
|
5447
|
-
var C = B[
|
|
5444
|
+
var y = c === wt;
|
|
5445
|
+
j(ne) || st() ? d.label = null : O !== Te ? ie() : (d.label = ce(), ge());
|
|
5446
|
+
for (var b = 0; b < B.length; ++b) {
|
|
5447
|
+
var C = B[b];
|
|
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 b === B.length && A(d.start, "Unsyntactic " + c.keyword), P(d, y ? "BreakStatement" : "ContinueStatement");
|
|
5452
5452
|
case Nr:
|
|
5453
|
-
return D(), ge(),
|
|
5453
|
+
return D(), ge(), P(d, "DebuggerStatement");
|
|
5454
5454
|
case xr:
|
|
5455
|
-
return D(), B.push(jt), d.body = Z(), B.pop(), $(It), d.test =
|
|
5455
|
+
return D(), B.push(jt), d.body = Z(), B.pop(), $(It), d.test = Ve(), ge(), P(d, "DoWhileStatement");
|
|
5456
5456
|
case Cr:
|
|
5457
5457
|
if (D(), B.push(jt), $(re), O === ne) return Bt(d, null);
|
|
5458
5458
|
if (O === At) {
|
|
5459
|
-
var
|
|
5460
|
-
return D(), on(
|
|
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);
|
|
5461
5461
|
}
|
|
5462
|
-
var
|
|
5463
|
-
return j(
|
|
5462
|
+
var w = X(!1, !0);
|
|
5463
|
+
return j(tt) ? (lt(w), an(d, w)) : Bt(d, w);
|
|
5464
5464
|
case Ct:
|
|
5465
5465
|
return D(), zt(d, !0);
|
|
5466
5466
|
case kr:
|
|
5467
|
-
return D(), d.test =
|
|
5467
|
+
return D(), d.test = Ve(), d.consequent = Z(), d.alternate = j(wr) ? Z() : null, P(d, "IfStatement");
|
|
5468
5468
|
case Ar:
|
|
5469
|
-
return !ve && !r.allowReturnOutsideFunction && A(p, "'return' outside of function"), D(), j(ne) ||
|
|
5469
|
+
return !ve && !r.allowReturnOutsideFunction && A(p, "'return' outside of function"), D(), j(ne) || st() ? d.argument = null : (d.argument = X(), ge()), P(d, "ReturnStatement");
|
|
5470
5470
|
case kt:
|
|
5471
|
-
D(), d.discriminant =
|
|
5471
|
+
D(), d.discriminant = Ve(), d.cases = [], $(Ue), B.push(la);
|
|
5472
5472
|
for (var k, U; O !== Ne; )
|
|
5473
|
-
if (O ===
|
|
5474
|
-
var
|
|
5475
|
-
k &&
|
|
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
5476
|
} else
|
|
5477
5477
|
k || ie(), k.consequent.push(Z());
|
|
5478
|
-
return k &&
|
|
5478
|
+
return k && P(k, "SwitchCase"), D(), B.pop(), P(d, "SwitchStatement");
|
|
5479
5479
|
case Ir:
|
|
5480
|
-
return D(),
|
|
5480
|
+
return D(), it.test(t.slice(q, p)) && A(q, "Illegal newline after throw"), d.argument = X(), ge(), P(d, "ThrowStatement");
|
|
5481
5481
|
case Dr:
|
|
5482
|
-
if (D(), d.block =
|
|
5483
|
-
var
|
|
5484
|
-
D(), $(re),
|
|
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");
|
|
5485
5485
|
}
|
|
5486
|
-
return d.finalizer = j(
|
|
5486
|
+
return d.finalizer = j(Pr) ? Ge() : null, !d.handler && !d.finalizer && A(d.start, "Missing catch or finally clause"), P(d, "TryStatement");
|
|
5487
5487
|
case At:
|
|
5488
|
-
return D(), on(d), ge(),
|
|
5488
|
+
return D(), on(d), ge(), P(d, "VariableDeclaration");
|
|
5489
5489
|
case It:
|
|
5490
|
-
return D(), d.test =
|
|
5490
|
+
return D(), d.test = Ve(), B.push(jt), d.body = Z(), B.pop(), P(d, "WhileStatement");
|
|
5491
5491
|
case Lr:
|
|
5492
|
-
return
|
|
5493
|
-
case
|
|
5494
|
-
return
|
|
5492
|
+
return H && A(p, "'with' in strict mode"), D(), d.object = Ve(), d.body = Z(), P(d, "WithStatement");
|
|
5493
|
+
case Ue:
|
|
5494
|
+
return Ge();
|
|
5495
5495
|
case ne:
|
|
5496
|
-
return D(),
|
|
5496
|
+
return D(), P(d, "EmptyStatement");
|
|
5497
5497
|
default:
|
|
5498
|
-
var Wt = x,
|
|
5499
|
-
if (c === Te &&
|
|
5500
|
-
for (var
|
|
5501
|
-
B[
|
|
5498
|
+
var Wt = x, ct = X();
|
|
5499
|
+
if (c === Te && ct.type === "Identifier" && j(je)) {
|
|
5500
|
+
for (var b = 0; b < B.length; ++b)
|
|
5501
|
+
B[b].name === Wt && A(ct.start, "Label '" + Wt + "' is already declared");
|
|
5502
5502
|
var va = O.isLoop ? "loop" : O === kt ? "switch" : null;
|
|
5503
|
-
return B.push({ name: Wt, kind: va }), d.body = Z(), B.pop(), d.label =
|
|
5503
|
+
return B.push({ name: Wt, kind: va }), d.body = Z(), B.pop(), d.label = ct, P(d, "LabeledStatement");
|
|
5504
5504
|
} else
|
|
5505
|
-
return d.expression =
|
|
5505
|
+
return d.expression = ct, ge(), P(d, "ExpressionStatement");
|
|
5506
5506
|
}
|
|
5507
5507
|
}
|
|
5508
|
-
function
|
|
5508
|
+
function Ve() {
|
|
5509
5509
|
$(re);
|
|
5510
5510
|
var c = X();
|
|
5511
5511
|
return $(ee), c;
|
|
5512
5512
|
}
|
|
5513
|
-
function
|
|
5514
|
-
var d = z(), y = !0,
|
|
5515
|
-
for (d.body = [], $(
|
|
5516
|
-
var
|
|
5517
|
-
d.body.push(
|
|
5513
|
+
function Ge(c) {
|
|
5514
|
+
var d = z(), y = !0, b = !1, C;
|
|
5515
|
+
for (d.body = [], $(Ue); !j(Ne); ) {
|
|
5516
|
+
var w = Z();
|
|
5517
|
+
d.body.push(w), y && c && Ut(w) && (C = b, Mt(b = !0)), y = !1;
|
|
5518
5518
|
}
|
|
5519
|
-
return
|
|
5519
|
+
return b && !C && Mt(!1), P(d, "BlockStatement");
|
|
5520
5520
|
}
|
|
5521
5521
|
function Bt(c, d) {
|
|
5522
|
-
return c.init = d, $(ne), c.test = O === ne ? null : X(), $(ne), c.update = O === ee ? null : X(), $(ee), c.body = Z(), B.pop(),
|
|
5522
|
+
return c.init = d, $(ne), c.test = O === ne ? null : X(), $(ne), c.update = O === ee ? null : X(), $(ee), c.body = Z(), B.pop(), P(c, "ForStatement");
|
|
5523
5523
|
}
|
|
5524
5524
|
function an(c, d) {
|
|
5525
|
-
return c.left = d, c.right = X(), $(ee), c.body = Z(), B.pop(),
|
|
5525
|
+
return c.left = d, c.right = X(), $(ee), c.body = Z(), B.pop(), P(c, "ForInStatement");
|
|
5526
5526
|
}
|
|
5527
5527
|
function on(c, d) {
|
|
5528
5528
|
for (c.declarations = [], c.kind = "var"; ; ) {
|
|
5529
5529
|
var y = z();
|
|
5530
|
-
if (y.id = ce(),
|
|
5530
|
+
if (y.id = ce(), H && nt(y.id.name) && A(y.id.start, "Binding " + y.id.name + " in strict mode"), y.init = j(Yr) ? X(!0, d) : null, c.declarations.push(P(y, "VariableDeclarator")), !j(se)) break;
|
|
5531
5531
|
}
|
|
5532
5532
|
}
|
|
5533
5533
|
function X(c, d) {
|
|
5534
5534
|
var y = $t(d);
|
|
5535
5535
|
if (!c && O === se) {
|
|
5536
|
-
var
|
|
5537
|
-
for (
|
|
5538
|
-
return
|
|
5536
|
+
var b = le(y);
|
|
5537
|
+
for (b.expressions = [y]; j(se); ) b.expressions.push($t(d));
|
|
5538
|
+
return P(b, "SequenceExpression");
|
|
5539
5539
|
}
|
|
5540
5540
|
return y;
|
|
5541
5541
|
}
|
|
@@ -5543,7 +5543,7 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5543
5543
|
var d = ca(c);
|
|
5544
5544
|
if (O.isAssign) {
|
|
5545
5545
|
var y = le(d);
|
|
5546
|
-
return y.operator = x, y.left = d, D(), y.right = $t(c),
|
|
5546
|
+
return y.operator = x, y.left = d, D(), y.right = $t(c), lt(d), P(y, "AssignmentExpression");
|
|
5547
5547
|
}
|
|
5548
5548
|
return d;
|
|
5549
5549
|
}
|
|
@@ -5551,7 +5551,7 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5551
5551
|
var d = fa(c);
|
|
5552
5552
|
if (j(Vr)) {
|
|
5553
5553
|
var y = le(d);
|
|
5554
|
-
return y.test = d, y.consequent = X(!0), $(
|
|
5554
|
+
return y.test = d, y.consequent = X(!0), $(je), y.alternate = X(!0, c), P(y, "ConditionalExpression");
|
|
5555
5555
|
}
|
|
5556
5556
|
return d;
|
|
5557
5557
|
}
|
|
@@ -5559,13 +5559,13 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5559
5559
|
return Vt(Gt(), -1, c);
|
|
5560
5560
|
}
|
|
5561
5561
|
function Vt(c, d, y) {
|
|
5562
|
-
var
|
|
5563
|
-
if (
|
|
5562
|
+
var b = O.binop;
|
|
5563
|
+
if (b !== null && (!y || O !== tt) && b > d) {
|
|
5564
5564
|
var C = le(c);
|
|
5565
5565
|
C.left = c, C.operator = x;
|
|
5566
|
-
var
|
|
5567
|
-
D(), C.right = Vt(Gt(),
|
|
5568
|
-
var k =
|
|
5566
|
+
var w = O;
|
|
5567
|
+
D(), C.right = Vt(Gt(), b, y);
|
|
5568
|
+
var k = P(C, w === Xr || w === Wr ? "LogicalExpression" : "BinaryExpression");
|
|
5569
5569
|
return Vt(k, d, y);
|
|
5570
5570
|
}
|
|
5571
5571
|
return c;
|
|
@@ -5573,44 +5573,44 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5573
5573
|
function Gt() {
|
|
5574
5574
|
if (O.prefix) {
|
|
5575
5575
|
var c = z(), d = O.isUpdate;
|
|
5576
|
-
return c.operator = x, c.prefix = !0, I = !0, D(), c.argument = Gt(), d ?
|
|
5576
|
+
return c.operator = x, c.prefix = !0, I = !0, D(), c.argument = Gt(), d ? lt(c.argument) : H && c.operator === "delete" && c.argument.type === "Identifier" && A(c.start, "Deleting local variable in strict mode"), P(c, d ? "UpdateExpression" : "UnaryExpression");
|
|
5577
5577
|
}
|
|
5578
|
-
for (var y = pa(); O.postfix && !
|
|
5578
|
+
for (var y = pa(); O.postfix && !st(); ) {
|
|
5579
5579
|
var c = le(y);
|
|
5580
|
-
c.operator = x, c.prefix = !1, c.argument = y,
|
|
5580
|
+
c.operator = x, c.prefix = !1, c.argument = y, lt(y), D(), y = P(c, "UpdateExpression");
|
|
5581
5581
|
}
|
|
5582
5582
|
return y;
|
|
5583
5583
|
}
|
|
5584
5584
|
function pa() {
|
|
5585
|
-
return
|
|
5585
|
+
return Ye(Yt());
|
|
5586
5586
|
}
|
|
5587
|
-
function
|
|
5587
|
+
function Ye(c, d) {
|
|
5588
5588
|
var y;
|
|
5589
|
-
return j($r) ? (y = le(c), y.object = c, y.property = ce(!0), y.computed = !1,
|
|
5589
|
+
return j($r) ? (y = le(c), y.object = c, y.property = ce(!0), y.computed = !1, Ye(P(y, "MemberExpression"), d)) : j(Dt) ? (y = le(c), y.object = c, y.property = X(), y.computed = !0, $(Lt), Ye(P(y, "MemberExpression"), d)) : !d && j(re) ? (y = le(c), y.callee = c, y.arguments = Xt(ee, !1), Ye(P(y, "CallExpression"), d)) : c;
|
|
5590
5590
|
}
|
|
5591
5591
|
function Yt() {
|
|
5592
5592
|
var c;
|
|
5593
5593
|
switch (O) {
|
|
5594
5594
|
case Mr:
|
|
5595
|
-
return c = z(), D(),
|
|
5595
|
+
return c = z(), D(), P(c, "ThisExpression");
|
|
5596
5596
|
case Te:
|
|
5597
5597
|
return ce();
|
|
5598
|
-
case
|
|
5598
|
+
case et:
|
|
5599
5599
|
case St:
|
|
5600
5600
|
case Rr:
|
|
5601
|
-
return c = z(), c.value = x, c.raw = t.slice(p, v), D(),
|
|
5601
|
+
return c = z(), c.value = x, c.raw = t.slice(p, v), D(), P(c, "Literal");
|
|
5602
5602
|
case Ur:
|
|
5603
5603
|
case jr:
|
|
5604
5604
|
case Br:
|
|
5605
|
-
return c = z(), c.value = O.atomValue, c.raw = O.keyword, D(),
|
|
5605
|
+
return c = z(), c.value = O.atomValue, c.raw = O.keyword, D(), P(c, "Literal");
|
|
5606
5606
|
case re:
|
|
5607
5607
|
var d = E, y = p;
|
|
5608
5608
|
D();
|
|
5609
|
-
var
|
|
5610
|
-
return
|
|
5609
|
+
var b = X();
|
|
5610
|
+
return b.start = y, b.end = v, r.locations && (b.loc.start = d, b.loc.end = S), r.ranges && (b.range = [y, v]), $(ee), b;
|
|
5611
5611
|
case Dt:
|
|
5612
|
-
return c = z(), D(), c.elements = Xt(Lt, !0, !0),
|
|
5613
|
-
case
|
|
5612
|
+
return c = z(), D(), c.elements = Xt(Lt, !0, !0), P(c, "ArrayExpression");
|
|
5613
|
+
case Ue:
|
|
5614
5614
|
return ha();
|
|
5615
5615
|
case Ct:
|
|
5616
5616
|
return c = z(), D(), zt(c, !1);
|
|
@@ -5621,7 +5621,7 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5621
5621
|
}
|
|
5622
5622
|
function da() {
|
|
5623
5623
|
var c = z();
|
|
5624
|
-
return D(), c.callee =
|
|
5624
|
+
return D(), c.callee = Ye(Yt(), !0), c.arguments = j(re) ? Xt(ee, !1) : Ii, P(c, "NewExpression");
|
|
5625
5625
|
}
|
|
5626
5626
|
function ha() {
|
|
5627
5627
|
var c = z(), d = !0, y = !1;
|
|
@@ -5630,50 +5630,50 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5630
5630
|
d = !1;
|
|
5631
5631
|
else if ($(se), r.allowTrailingCommas && j(Ne))
|
|
5632
5632
|
break;
|
|
5633
|
-
var
|
|
5634
|
-
if (j(
|
|
5633
|
+
var b = { key: un() }, C = !1, w;
|
|
5634
|
+
if (j(je) ? (b.value = X(!0), w = b.kind = "init") : b.key.type === "Identifier" && (b.key.name === "get" || b.key.name === "set") ? (C = y = !0, w = b.kind = b.key.name, b.key = un(), O !== re && ie(), b.value = zt(z(), !1)) : ie(), b.key.type === "Identifier" && (H || y))
|
|
5635
5635
|
for (var k = 0; k < c.properties.length; ++k) {
|
|
5636
5636
|
var U = c.properties[k];
|
|
5637
|
-
if (U.key.name ===
|
|
5638
|
-
var
|
|
5639
|
-
|
|
5637
|
+
if (U.key.name === b.key.name) {
|
|
5638
|
+
var ze = w === U.kind || C && U.kind === "init" || w === "init" && (U.kind === "get" || U.kind === "set");
|
|
5639
|
+
ze && !H && w === "init" && U.kind === "init" && (ze = !1), ze && A(b.key.start, "Redefinition of property");
|
|
5640
5640
|
}
|
|
5641
5641
|
}
|
|
5642
|
-
c.properties.push(
|
|
5642
|
+
c.properties.push(b);
|
|
5643
5643
|
}
|
|
5644
|
-
return
|
|
5644
|
+
return P(c, "ObjectExpression");
|
|
5645
5645
|
}
|
|
5646
5646
|
function un() {
|
|
5647
|
-
return O ===
|
|
5647
|
+
return O === et || O === St ? Yt() : ce(!0);
|
|
5648
5648
|
}
|
|
5649
5649
|
function zt(c, d) {
|
|
5650
5650
|
O === Te ? c.id = ce() : d ? ie() : c.id = null, c.params = [];
|
|
5651
5651
|
var y = !0;
|
|
5652
5652
|
for ($(re); !j(ee); )
|
|
5653
5653
|
y ? y = !1 : $(se), c.params.push(ce());
|
|
5654
|
-
var
|
|
5655
|
-
if (ve = !0, B = [], c.body =
|
|
5656
|
-
for (var
|
|
5657
|
-
var k =
|
|
5658
|
-
if ((Jr(k.name) ||
|
|
5659
|
-
for (var U = 0; U <
|
|
5654
|
+
var b = ve, C = B;
|
|
5655
|
+
if (ve = !0, B = [], c.body = Ge(!0), ve = b, B = C, H || c.body.body.length && Ut(c.body.body[0]))
|
|
5656
|
+
for (var w = c.id ? -1 : 0; w < c.params.length; ++w) {
|
|
5657
|
+
var k = w < 0 ? c.id : c.params[w];
|
|
5658
|
+
if ((Jr(k.name) || nt(k.name)) && A(k.start, "Defining '" + k.name + "' in strict mode"), w >= 0)
|
|
5659
|
+
for (var U = 0; U < w; ++U)
|
|
5660
5660
|
k.name === c.params[U].name && A(k.start, "Argument name clash in strict mode");
|
|
5661
5661
|
}
|
|
5662
|
-
return
|
|
5662
|
+
return P(c, d ? "FunctionDeclaration" : "FunctionExpression");
|
|
5663
5663
|
}
|
|
5664
5664
|
function Xt(c, d, y) {
|
|
5665
|
-
for (var
|
|
5665
|
+
for (var b = [], C = !0; !j(c); ) {
|
|
5666
5666
|
if (C)
|
|
5667
5667
|
C = !1;
|
|
5668
5668
|
else if ($(se), d && r.allowTrailingCommas && j(c))
|
|
5669
5669
|
break;
|
|
5670
|
-
|
|
5670
|
+
b.push(y && O === se ? null : X(!0));
|
|
5671
5671
|
}
|
|
5672
|
-
return
|
|
5672
|
+
return b;
|
|
5673
5673
|
}
|
|
5674
5674
|
function ce(c) {
|
|
5675
5675
|
var d = z();
|
|
5676
|
-
return c && r.forbidReserved === "everywhere" && (c = !1), O === Te ? (!c && (r.forbidReserved && Yi(x) ||
|
|
5676
|
+
return c && r.forbidReserved === "everywhere" && (c = !1), O === Te ? (!c && (r.forbidReserved && Yi(x) || H && Jr(x)) && t.slice(p, v).indexOf("\\") === -1 && A(p, "The keyword '" + x + "' is reserved"), d.name = x) : c && O.keyword ? d.name = O.keyword : ie(), I = !1, D(), P(d, "Identifier");
|
|
5677
5677
|
}
|
|
5678
5678
|
});
|
|
5679
5679
|
}
|
|
@@ -5685,7 +5685,7 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5685
5685
|
\*********************/
|
|
5686
5686
|
/***/
|
|
5687
5687
|
(m) => {
|
|
5688
|
-
m.exports =
|
|
5688
|
+
m.exports = $l;
|
|
5689
5689
|
}
|
|
5690
5690
|
)
|
|
5691
5691
|
/******/
|
|
@@ -5711,12 +5711,12 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5711
5711
|
}, g.o = (m, T) => Object.prototype.hasOwnProperty.call(m, T), g.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 _ = {};
|
|
5715
5715
|
return (() => {
|
|
5716
5716
|
/*!*******************************!*\
|
|
5717
5717
|
!*** ./src/js-interpreter.js ***!
|
|
5718
5718
|
\*******************************/
|
|
5719
|
-
g.r(
|
|
5719
|
+
g.r(_), g.d(_, {
|
|
5720
5720
|
/* harmony export */
|
|
5721
5721
|
default: () => R
|
|
5722
5722
|
/* harmony export */
|
|
@@ -5730,13 +5730,13 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5730
5730
|
/*! ../original-repo/interpreter */
|
|
5731
5731
|
"./original-repo/interpreter.js"
|
|
5732
5732
|
), R = T;
|
|
5733
|
-
})(),
|
|
5733
|
+
})(), _ = _.default, _;
|
|
5734
5734
|
})()
|
|
5735
5735
|
));
|
|
5736
5736
|
})(ki);
|
|
5737
|
-
var
|
|
5738
|
-
const
|
|
5739
|
-
function
|
|
5737
|
+
var Vl = ki.exports;
|
|
5738
|
+
const Gl = /* @__PURE__ */ Ml(Vl);
|
|
5739
|
+
function Yl(n, o) {
|
|
5740
5740
|
function f(T) {
|
|
5741
5741
|
const R = n.pseudoToNative(T);
|
|
5742
5742
|
console.log(R);
|
|
@@ -5748,9 +5748,9 @@ function zl(n, o) {
|
|
|
5748
5748
|
}
|
|
5749
5749
|
function g(T, R) {
|
|
5750
5750
|
const r = n.pseudoToNative(T), t = n.pseudoToNative(R);
|
|
5751
|
-
r === "info" ?
|
|
5751
|
+
r === "info" ? Ta(t) : r === "success" ? Na(t) : r === "warning" ? Sa(t) : r === "error" && xa(t);
|
|
5752
5752
|
}
|
|
5753
|
-
function
|
|
5753
|
+
function _(T, R) {
|
|
5754
5754
|
const r = n.pseudoToNative(T), t = n.pseudoToNative(R);
|
|
5755
5755
|
setTimeout(() => {
|
|
5756
5756
|
n.appendCode(`__timeoutCallbackV1__(${r})`), n.run();
|
|
@@ -5777,21 +5777,21 @@ function zl(n, o) {
|
|
|
5777
5777
|
), n.setProperty(
|
|
5778
5778
|
o,
|
|
5779
5779
|
"__timeoutV1__",
|
|
5780
|
-
n.createNativeFunction(
|
|
5780
|
+
n.createNativeFunction(_)
|
|
5781
5781
|
), n.setProperty(
|
|
5782
5782
|
o,
|
|
5783
5783
|
"__delayV1__",
|
|
5784
5784
|
n.createAsyncFunction(m)
|
|
5785
5785
|
);
|
|
5786
5786
|
}
|
|
5787
|
-
class
|
|
5787
|
+
class zl {
|
|
5788
5788
|
constructor(o) {
|
|
5789
5789
|
Jt(this, "context");
|
|
5790
5790
|
Jt(this, "nodes");
|
|
5791
5791
|
this.context = o, this.nodes = {};
|
|
5792
5792
|
const f = (h) => {
|
|
5793
5793
|
var g;
|
|
5794
|
-
this.nodes[h.basic.id] = h, (g = h.children) == null || g.forEach((
|
|
5794
|
+
this.nodes[h.basic.id] = h, (g = h.children) == null || g.forEach((_) => f(_));
|
|
5795
5795
|
};
|
|
5796
5796
|
this.context.data.view.nodes.forEach((h) => f(h));
|
|
5797
5797
|
}
|
|
@@ -5800,38 +5800,38 @@ class Xl {
|
|
|
5800
5800
|
}
|
|
5801
5801
|
addNode(o, f, h) {
|
|
5802
5802
|
const g = `parent=${o} ref=${f} keyOrRefid=${h}`;
|
|
5803
|
-
let
|
|
5803
|
+
let _;
|
|
5804
5804
|
if (o) {
|
|
5805
5805
|
const T = this.getNode(o);
|
|
5806
5806
|
if (!T)
|
|
5807
5807
|
return console.error(`NodeMgr/addNode parent not found, ${g}`), "";
|
|
5808
5808
|
if (!T.children)
|
|
5809
5809
|
return console.error(`NodeMgr/addNode parent no children, ${g}`), "";
|
|
5810
|
-
|
|
5810
|
+
_ = T.children;
|
|
5811
5811
|
} else
|
|
5812
|
-
|
|
5813
|
-
if (!
|
|
5812
|
+
_ = this.context.data.view.nodes;
|
|
5813
|
+
if (!_)
|
|
5814
5814
|
return "";
|
|
5815
|
-
const m =
|
|
5815
|
+
const m = sl(
|
|
5816
5816
|
this.context.type,
|
|
5817
5817
|
this.context.data.type,
|
|
5818
5818
|
this.context.data.version,
|
|
5819
5819
|
f,
|
|
5820
5820
|
h
|
|
5821
5821
|
);
|
|
5822
|
-
return m ? (
|
|
5822
|
+
return m ? (_.push(m), this.nodes[m.basic.id] = m, m.basic.id) : (console.error(`NodeMgr/addNode spawn node failed, ${g}`), "");
|
|
5823
5823
|
}
|
|
5824
5824
|
deleteNode(o) {
|
|
5825
5825
|
this.getNode(o);
|
|
5826
5826
|
}
|
|
5827
5827
|
}
|
|
5828
|
-
function
|
|
5829
|
-
const h = new
|
|
5828
|
+
function Xl(n, o, f) {
|
|
5829
|
+
const h = new zl(n);
|
|
5830
5830
|
function g(t, e, i) {
|
|
5831
5831
|
const u = o.pseudoToNative(t), s = o.pseudoToNative(e), l = o.pseudoToNative(i), a = h.addNode(u, s, l);
|
|
5832
5832
|
return o.nativeToPseudo(a);
|
|
5833
5833
|
}
|
|
5834
|
-
function
|
|
5834
|
+
function _(t) {
|
|
5835
5835
|
const e = o.pseudoToNative(t);
|
|
5836
5836
|
h.deleteNode(e);
|
|
5837
5837
|
}
|
|
@@ -5877,13 +5877,13 @@ function Wl(n, o, f) {
|
|
|
5877
5877
|
}
|
|
5878
5878
|
function R(t, e, i) {
|
|
5879
5879
|
const u = o.pseudoToNative(t), s = o.pseudoToNative(e);
|
|
5880
|
-
|
|
5880
|
+
wa({ title: u, text: s }).then((l) => {
|
|
5881
5881
|
i(o.nativeToPseudo(l)), o.run();
|
|
5882
5882
|
});
|
|
5883
5883
|
}
|
|
5884
5884
|
function r(t, e, i, u) {
|
|
5885
5885
|
const s = o.pseudoToNative(t), l = o.pseudoToNative(e), a = o.pseudoToNative(i);
|
|
5886
|
-
|
|
5886
|
+
Pa({ title: s, label: l, value: a }).then((p) => {
|
|
5887
5887
|
u(o.nativeToPseudo(p)), o.run();
|
|
5888
5888
|
});
|
|
5889
5889
|
}
|
|
@@ -5894,7 +5894,7 @@ function Wl(n, o, f) {
|
|
|
5894
5894
|
), o.setProperty(
|
|
5895
5895
|
f,
|
|
5896
5896
|
"__deleteNodeV1__",
|
|
5897
|
-
o.createNativeFunction(
|
|
5897
|
+
o.createNativeFunction(_)
|
|
5898
5898
|
), o.setProperty(
|
|
5899
5899
|
f,
|
|
5900
5900
|
"__getNodePropV1__",
|
|
@@ -5913,16 +5913,16 @@ function Wl(n, o, f) {
|
|
|
5913
5913
|
o.createAsyncFunction(r)
|
|
5914
5914
|
);
|
|
5915
5915
|
}
|
|
5916
|
-
function
|
|
5917
|
-
|
|
5916
|
+
function Wl(n, o, f) {
|
|
5917
|
+
Yl(o, f), Xl(n, o, f);
|
|
5918
5918
|
}
|
|
5919
|
-
const
|
|
5919
|
+
const Jl = `
|
|
5920
5920
|
var __env__ = 'dev'
|
|
5921
5921
|
|
|
5922
5922
|
function __getEnvV1__() {
|
|
5923
5923
|
return __env__
|
|
5924
5924
|
}
|
|
5925
|
-
`,
|
|
5925
|
+
`, Hl = `
|
|
5926
5926
|
var __events__ = {}
|
|
5927
5927
|
|
|
5928
5928
|
function __addEventListenerV1__(id, event, callback) {
|
|
@@ -5993,7 +5993,7 @@ function __triggerEvent__(id, event, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p1
|
|
|
5993
5993
|
callbacks[i](p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16)
|
|
5994
5994
|
}
|
|
5995
5995
|
}
|
|
5996
|
-
`,
|
|
5996
|
+
`, Kl = `
|
|
5997
5997
|
var __timers__ = {}
|
|
5998
5998
|
var __currTimerId__ = 0
|
|
5999
5999
|
|
|
@@ -6035,15 +6035,15 @@ function __timeoutCallbackV1__(timerId) {
|
|
|
6035
6035
|
}
|
|
6036
6036
|
}
|
|
6037
6037
|
}
|
|
6038
|
-
`,
|
|
6038
|
+
`, ql = `
|
|
6039
6039
|
function __destroy__() {
|
|
6040
6040
|
}
|
|
6041
|
-
`,
|
|
6042
|
-
function
|
|
6043
|
-
const f = new
|
|
6044
|
-
|
|
6041
|
+
`, Zl = Jl + Hl + Kl + ql;
|
|
6042
|
+
function Ql(n, o) {
|
|
6043
|
+
const f = new Gl(
|
|
6044
|
+
Zl,
|
|
6045
6045
|
(h, g) => {
|
|
6046
|
-
|
|
6046
|
+
Wl(n, h, g);
|
|
6047
6047
|
}
|
|
6048
6048
|
);
|
|
6049
6049
|
return f.appendCode(o), f.appendCode(`
|
|
@@ -6051,10 +6051,10 @@ __env__ = '${n.env}';
|
|
|
6051
6051
|
__triggerEvent__('globality', 'startup');
|
|
6052
6052
|
`), f.run(), f;
|
|
6053
6053
|
}
|
|
6054
|
-
function
|
|
6054
|
+
function Vn(n) {
|
|
6055
6055
|
n.appendCode("__destroy__();"), n.run();
|
|
6056
6056
|
}
|
|
6057
|
-
const
|
|
6057
|
+
const ec = /* @__PURE__ */ oe({
|
|
6058
6058
|
__name: "index",
|
|
6059
6059
|
props: {
|
|
6060
6060
|
id: {},
|
|
@@ -6063,21 +6063,21 @@ const tc = /* @__PURE__ */ oe({
|
|
|
6063
6063
|
outer: { type: Boolean }
|
|
6064
6064
|
},
|
|
6065
6065
|
setup(n) {
|
|
6066
|
-
const { t: o } =
|
|
6066
|
+
const { t: o } = Ca(), f = n, h = ll(), g = he(), _ = Si(), m = xi(), T = wi(), R = cl(), r = N(() => R[f.refContext.refid]);
|
|
6067
6067
|
let t;
|
|
6068
|
-
|
|
6069
|
-
r.value || Wn.emit("compNotAvail", f.refContext.refid), t && (
|
|
6068
|
+
Ea(() => {
|
|
6069
|
+
r.value || Wn.emit("compNotAvail", f.refContext.refid), t && (Vn(t), t = void 0), r.value && g === "runtime" && (t = Ql(
|
|
6070
6070
|
{
|
|
6071
6071
|
env: h,
|
|
6072
6072
|
type: m,
|
|
6073
6073
|
data: T
|
|
6074
6074
|
},
|
|
6075
6075
|
r.value.data.code.script
|
|
6076
|
-
),
|
|
6077
|
-
}),
|
|
6078
|
-
t && (
|
|
6076
|
+
), fl(t));
|
|
6077
|
+
}), Ra(() => {
|
|
6078
|
+
t && (Vn(t), t = void 0);
|
|
6079
6079
|
});
|
|
6080
|
-
const { applySize: e } = Ci(g,
|
|
6080
|
+
const { applySize: e } = Ci(g, _, f), i = N(() => {
|
|
6081
6081
|
const v = {}, E = T.type;
|
|
6082
6082
|
return m === "page" ? E === "common" ? e(v) : console.assert(!1) : m === "comp" && E === "common" ? e(v) : console.assert(!1), v;
|
|
6083
6083
|
});
|
|
@@ -6095,9 +6095,9 @@ const tc = /* @__PURE__ */ oe({
|
|
|
6095
6095
|
return v.ref ? E = l(v) : E = a(v), E;
|
|
6096
6096
|
}
|
|
6097
6097
|
function l(v) {
|
|
6098
|
-
const E = Ai[T.version].refKey, S =
|
|
6098
|
+
const E = Ai[T.version].refKey, S = Ae[E];
|
|
6099
6099
|
let O;
|
|
6100
|
-
return S ? O =
|
|
6100
|
+
return S ? O = Xe(S.comp, {
|
|
6101
6101
|
refContext: {
|
|
6102
6102
|
parent: f.refContext,
|
|
6103
6103
|
refid: v.ref.id
|
|
@@ -6108,15 +6108,15 @@ const tc = /* @__PURE__ */ oe({
|
|
|
6108
6108
|
function a(v) {
|
|
6109
6109
|
var O;
|
|
6110
6110
|
let E;
|
|
6111
|
-
const S =
|
|
6111
|
+
const S = Ae[v.basic.key];
|
|
6112
6112
|
return S ? ((O = v.children) == null || O.forEach((x) => {
|
|
6113
6113
|
s(x);
|
|
6114
|
-
}), E =
|
|
6114
|
+
}), E = Xe(S.comp, { node: v })) : console.assert(!1, `invalid element key=${v.basic.key}`), E;
|
|
6115
6115
|
}
|
|
6116
6116
|
const p = () => {
|
|
6117
6117
|
const v = [];
|
|
6118
6118
|
if (u())
|
|
6119
|
-
v.push(
|
|
6119
|
+
v.push(Xe("div", o("x-runtime-lib.circularRef")));
|
|
6120
6120
|
else if (r.value) {
|
|
6121
6121
|
const E = r.value.data.type;
|
|
6122
6122
|
E === "common" ? r.value.data.view.nodes.forEach((S) => {
|
|
@@ -6124,12 +6124,12 @@ const tc = /* @__PURE__ */ oe({
|
|
|
6124
6124
|
v.push(O);
|
|
6125
6125
|
}) : console.assert(!1, `invalid subtype=${E}`);
|
|
6126
6126
|
} else
|
|
6127
|
-
v.push(
|
|
6128
|
-
return
|
|
6127
|
+
v.push(Xe("div", o("x-runtime-lib.compNotAvail")));
|
|
6128
|
+
return Xe("div", { id: f.id, style: i.value }, v);
|
|
6129
6129
|
};
|
|
6130
|
-
return (v, E) => (
|
|
6130
|
+
return (v, E) => (J(), de(p));
|
|
6131
6131
|
}
|
|
6132
|
-
}),
|
|
6132
|
+
}), Gn = {
|
|
6133
6133
|
key: "ref",
|
|
6134
6134
|
name: "x-runtime-lib.ref",
|
|
6135
6135
|
children: [
|
|
@@ -6140,28 +6140,28 @@ const tc = /* @__PURE__ */ oe({
|
|
|
6140
6140
|
default: ""
|
|
6141
6141
|
}
|
|
6142
6142
|
]
|
|
6143
|
-
},
|
|
6144
|
-
key:
|
|
6143
|
+
}, tc = {
|
|
6144
|
+
key: yt,
|
|
6145
6145
|
name: "x-runtime-lib.ref",
|
|
6146
|
-
comp:
|
|
6146
|
+
comp: ec,
|
|
6147
6147
|
slots: [],
|
|
6148
6148
|
events: [],
|
|
6149
6149
|
methods: [],
|
|
6150
6150
|
props: {
|
|
6151
|
-
pageCommon: [V,
|
|
6152
|
-
compCommon: [V,
|
|
6151
|
+
pageCommon: [V, Gn, bt, mt, gt, _t],
|
|
6152
|
+
compCommon: [V, Gn, bt, mt, gt, _t]
|
|
6153
6153
|
}
|
|
6154
|
-
},
|
|
6154
|
+
}, rc = { key: 0 }, nc = /* @__PURE__ */ oe({
|
|
6155
6155
|
__name: "index",
|
|
6156
6156
|
props: {
|
|
6157
6157
|
node: {},
|
|
6158
6158
|
outer: { type: Boolean }
|
|
6159
6159
|
},
|
|
6160
6160
|
setup(n) {
|
|
6161
|
-
const o = n, f =
|
|
6161
|
+
const o = n, f = he(), h = Fe(), g = N(() => {
|
|
6162
6162
|
var e;
|
|
6163
6163
|
return (e = o.node.settings) == null ? void 0 : e.value;
|
|
6164
|
-
}),
|
|
6164
|
+
}), _ = N(() => {
|
|
6165
6165
|
var e;
|
|
6166
6166
|
return (e = o.node.settings) == null ? void 0 : e.label;
|
|
6167
6167
|
}), m = N(() => {
|
|
@@ -6178,21 +6178,21 @@ const tc = /* @__PURE__ */ oe({
|
|
|
6178
6178
|
return f !== "runtime" ? !0 : (e = o.node.settings) == null ? void 0 : e.readonly;
|
|
6179
6179
|
}), t = N(() => h.value ? "dark" : "light");
|
|
6180
6180
|
return (e, i) => {
|
|
6181
|
-
const u =
|
|
6182
|
-
return
|
|
6183
|
-
|
|
6181
|
+
const u = be("v-select");
|
|
6182
|
+
return Pe(f) === "editor" ? (J(), Ie("div", rc, [
|
|
6183
|
+
Rt(u, {
|
|
6184
6184
|
"model-value": g.value,
|
|
6185
|
-
label:
|
|
6185
|
+
label: _.value,
|
|
6186
6186
|
placeholder: m.value,
|
|
6187
6187
|
"hide-details": T.value,
|
|
6188
6188
|
"single-line": R.value,
|
|
6189
6189
|
readonly: r.value,
|
|
6190
6190
|
theme: t.value
|
|
6191
6191
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
6192
|
-
])) : (
|
|
6192
|
+
])) : (J(), de(u, {
|
|
6193
6193
|
key: 1,
|
|
6194
6194
|
"model-value": g.value,
|
|
6195
|
-
label:
|
|
6195
|
+
label: _.value,
|
|
6196
6196
|
placeholder: m.value,
|
|
6197
6197
|
"hide-details": T.value,
|
|
6198
6198
|
"single-line": R.value,
|
|
@@ -6201,7 +6201,7 @@ const tc = /* @__PURE__ */ oe({
|
|
|
6201
6201
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
6202
6202
|
};
|
|
6203
6203
|
}
|
|
6204
|
-
}),
|
|
6204
|
+
}), Yn = {
|
|
6205
6205
|
key: "settings",
|
|
6206
6206
|
name: "x-runtime-lib.settings",
|
|
6207
6207
|
children: [
|
|
@@ -6242,28 +6242,28 @@ const tc = /* @__PURE__ */ oe({
|
|
|
6242
6242
|
default: !1
|
|
6243
6243
|
}
|
|
6244
6244
|
]
|
|
6245
|
-
},
|
|
6245
|
+
}, ic = {
|
|
6246
6246
|
key: cr,
|
|
6247
6247
|
name: "x-runtime-lib.select",
|
|
6248
|
-
comp:
|
|
6248
|
+
comp: nc,
|
|
6249
6249
|
slots: [],
|
|
6250
6250
|
events: [],
|
|
6251
6251
|
methods: [],
|
|
6252
6252
|
props: {
|
|
6253
|
-
pageCommon: [V,
|
|
6254
|
-
compCommon: [V,
|
|
6253
|
+
pageCommon: [V, Yn],
|
|
6254
|
+
compCommon: [V, Yn]
|
|
6255
6255
|
}
|
|
6256
|
-
},
|
|
6256
|
+
}, ac = { key: 0 }, oc = /* @__PURE__ */ oe({
|
|
6257
6257
|
__name: "index",
|
|
6258
6258
|
props: {
|
|
6259
6259
|
node: {},
|
|
6260
6260
|
outer: { type: Boolean }
|
|
6261
6261
|
},
|
|
6262
6262
|
setup(n) {
|
|
6263
|
-
const o = n, f =
|
|
6263
|
+
const o = n, f = he(), h = Fe(), g = N(() => {
|
|
6264
6264
|
var t;
|
|
6265
6265
|
return (t = o.node.settings) == null ? void 0 : t.label;
|
|
6266
|
-
}),
|
|
6266
|
+
}), _ = N(() => {
|
|
6267
6267
|
var t;
|
|
6268
6268
|
return (t = o.node.settings) == null ? void 0 : t.placeholder;
|
|
6269
6269
|
}), m = N(() => {
|
|
@@ -6277,20 +6277,20 @@ const tc = /* @__PURE__ */ oe({
|
|
|
6277
6277
|
return f !== "runtime" ? !0 : (t = o.node.settings) == null ? void 0 : t.readonly;
|
|
6278
6278
|
}), r = N(() => h.value ? "dark" : "light");
|
|
6279
6279
|
return (t, e) => {
|
|
6280
|
-
const i =
|
|
6281
|
-
return
|
|
6282
|
-
|
|
6280
|
+
const i = be("v-text-field");
|
|
6281
|
+
return Pe(f) === "editor" ? (J(), Ie("div", ac, [
|
|
6282
|
+
Rt(i, {
|
|
6283
6283
|
label: g.value,
|
|
6284
|
-
placeholder:
|
|
6284
|
+
placeholder: _.value,
|
|
6285
6285
|
"hide-details": m.value,
|
|
6286
6286
|
"single-line": T.value,
|
|
6287
6287
|
readonly: R.value,
|
|
6288
6288
|
theme: r.value
|
|
6289
6289
|
}, null, 8, ["label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
6290
|
-
])) : (
|
|
6290
|
+
])) : (J(), de(i, {
|
|
6291
6291
|
key: 1,
|
|
6292
6292
|
label: g.value,
|
|
6293
|
-
placeholder:
|
|
6293
|
+
placeholder: _.value,
|
|
6294
6294
|
"hide-details": m.value,
|
|
6295
6295
|
"single-line": T.value,
|
|
6296
6296
|
readonly: R.value,
|
|
@@ -6298,7 +6298,7 @@ const tc = /* @__PURE__ */ oe({
|
|
|
6298
6298
|
}, null, 8, ["label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
6299
6299
|
};
|
|
6300
6300
|
}
|
|
6301
|
-
}),
|
|
6301
|
+
}), zn = {
|
|
6302
6302
|
key: "settings",
|
|
6303
6303
|
name: "x-runtime-lib.settings",
|
|
6304
6304
|
children: [
|
|
@@ -6333,22 +6333,22 @@ const tc = /* @__PURE__ */ oe({
|
|
|
6333
6333
|
default: !1
|
|
6334
6334
|
}
|
|
6335
6335
|
]
|
|
6336
|
-
},
|
|
6336
|
+
}, uc = {
|
|
6337
6337
|
key: fr,
|
|
6338
6338
|
name: "x-runtime-lib.textField",
|
|
6339
|
-
comp:
|
|
6339
|
+
comp: oc,
|
|
6340
6340
|
slots: [],
|
|
6341
6341
|
events: [],
|
|
6342
6342
|
methods: [],
|
|
6343
6343
|
props: {
|
|
6344
|
-
pageCommon: [V,
|
|
6345
|
-
compCommon: [V,
|
|
6344
|
+
pageCommon: [V, zn],
|
|
6345
|
+
compCommon: [V, zn]
|
|
6346
6346
|
}
|
|
6347
|
-
},
|
|
6347
|
+
}, sc = {
|
|
6348
6348
|
version: "v1",
|
|
6349
6349
|
globalityKey: sr,
|
|
6350
|
-
refKey:
|
|
6351
|
-
packageKey:
|
|
6350
|
+
refKey: yt,
|
|
6351
|
+
packageKey: vt,
|
|
6352
6352
|
elements: /* @__PURE__ */ new Set([
|
|
6353
6353
|
nr,
|
|
6354
6354
|
ir,
|
|
@@ -6357,8 +6357,8 @@ const tc = /* @__PURE__ */ oe({
|
|
|
6357
6357
|
ur,
|
|
6358
6358
|
sr,
|
|
6359
6359
|
lr,
|
|
6360
|
+
vt,
|
|
6360
6361
|
yt,
|
|
6361
|
-
mt,
|
|
6362
6362
|
cr,
|
|
6363
6363
|
fr
|
|
6364
6364
|
]),
|
|
@@ -6373,16 +6373,16 @@ const tc = /* @__PURE__ */ oe({
|
|
|
6373
6373
|
or,
|
|
6374
6374
|
ur,
|
|
6375
6375
|
lr,
|
|
6376
|
+
vt,
|
|
6376
6377
|
yt,
|
|
6377
|
-
mt,
|
|
6378
6378
|
cr,
|
|
6379
6379
|
fr
|
|
6380
6380
|
]
|
|
6381
6381
|
}
|
|
6382
6382
|
]
|
|
6383
6383
|
}, Ai = {
|
|
6384
|
-
v1:
|
|
6385
|
-
},
|
|
6384
|
+
v1: sc
|
|
6385
|
+
}, Ae = {}, lc = {
|
|
6386
6386
|
key: "add",
|
|
6387
6387
|
name: "METHOD_ADD",
|
|
6388
6388
|
inputs: [],
|
|
@@ -6393,24 +6393,24 @@ const tc = /* @__PURE__ */ oe({
|
|
|
6393
6393
|
}
|
|
6394
6394
|
]
|
|
6395
6395
|
}, Q = (n) => {
|
|
6396
|
-
|
|
6396
|
+
Ae[n.key] && console.assert(!1, `element duplicate key=${n.key}`), n.slots.length > 0 && n.methods.unshift(lc), Ae[n.key] = n;
|
|
6397
6397
|
};
|
|
6398
|
-
Q(
|
|
6399
|
-
Q(
|
|
6400
|
-
Q(
|
|
6401
|
-
Q(
|
|
6398
|
+
Q(vl);
|
|
6399
|
+
Q(gl);
|
|
6400
|
+
Q(Tl);
|
|
6401
|
+
Q(xl);
|
|
6402
|
+
Q(Cl);
|
|
6402
6403
|
Q(kl);
|
|
6403
|
-
Q(
|
|
6404
|
+
Q(Dl);
|
|
6404
6405
|
Q(Ll);
|
|
6405
|
-
Q(
|
|
6406
|
-
Q(
|
|
6407
|
-
Q(
|
|
6408
|
-
|
|
6409
|
-
const fc = (n, o, f) => {
|
|
6406
|
+
Q(tc);
|
|
6407
|
+
Q(ic);
|
|
6408
|
+
Q(uc);
|
|
6409
|
+
const cc = (n, o, f) => {
|
|
6410
6410
|
const h = n[o];
|
|
6411
|
-
return h ? typeof h == "function" ? h() : Promise.resolve(h) : new Promise((g,
|
|
6411
|
+
return h ? typeof h == "function" ? h() : Promise.resolve(h) : new Promise((g, _) => {
|
|
6412
6412
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
|
|
6413
|
-
|
|
6413
|
+
_.bind(
|
|
6414
6414
|
null,
|
|
6415
6415
|
new Error(
|
|
6416
6416
|
"Unknown variable dynamic import: " + o + (o.split("/").length !== f ? ". Note that variables only represent file names one level deep." : "")
|
|
@@ -6419,41 +6419,41 @@ const fc = (n, o, f) => {
|
|
|
6419
6419
|
);
|
|
6420
6420
|
});
|
|
6421
6421
|
};
|
|
6422
|
-
async function
|
|
6423
|
-
return (await
|
|
6422
|
+
async function Nc(n) {
|
|
6423
|
+
return (await cc(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en-b8zhxb60.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans-mqoymcvp.js") }), `./locales/${n}/index.ts`, 4)).default;
|
|
6424
6424
|
}
|
|
6425
6425
|
export {
|
|
6426
|
-
|
|
6427
|
-
|
|
6426
|
+
mc as duplicateNode,
|
|
6427
|
+
Ae as elements,
|
|
6428
6428
|
Jn as genId,
|
|
6429
|
-
|
|
6430
|
-
|
|
6431
|
-
|
|
6432
|
-
|
|
6433
|
-
|
|
6434
|
-
|
|
6435
|
-
|
|
6429
|
+
yc as getNode,
|
|
6430
|
+
An as getPropDefault,
|
|
6431
|
+
ul as getPropTag,
|
|
6432
|
+
In as initProps,
|
|
6433
|
+
Fe as injectDark,
|
|
6434
|
+
wi as injectData,
|
|
6435
|
+
cl as injectDepends,
|
|
6436
6436
|
Si as injectDevice,
|
|
6437
|
-
|
|
6438
|
-
|
|
6439
|
-
|
|
6437
|
+
ll as injectEnv,
|
|
6438
|
+
pl as injectInterpreter,
|
|
6439
|
+
he as injectMode,
|
|
6440
6440
|
xi as injectType,
|
|
6441
6441
|
pr as isEmptyStr,
|
|
6442
6442
|
hr as isPercentStr,
|
|
6443
6443
|
dr as isPixelStr,
|
|
6444
|
-
|
|
6445
|
-
|
|
6446
|
-
|
|
6444
|
+
Nc as loadLocaleMessageRuntime,
|
|
6445
|
+
Ht as parsePercentStr,
|
|
6446
|
+
vc as parsePixelStr,
|
|
6447
6447
|
Ai as pkgs,
|
|
6448
|
-
|
|
6449
|
-
|
|
6450
|
-
|
|
6451
|
-
|
|
6452
|
-
|
|
6453
|
-
|
|
6454
|
-
|
|
6455
|
-
|
|
6456
|
-
|
|
6457
|
-
|
|
6458
|
-
|
|
6448
|
+
Ec as provideDark,
|
|
6449
|
+
Oc as provideData,
|
|
6450
|
+
Tc as provideDepends,
|
|
6451
|
+
bc as provideDevice,
|
|
6452
|
+
gc as provideEnv,
|
|
6453
|
+
fl as provideInterpreter,
|
|
6454
|
+
_c as provideMode,
|
|
6455
|
+
Rc as provideType,
|
|
6456
|
+
sl as spawnNode,
|
|
6457
|
+
Ql as startInterpreter,
|
|
6458
|
+
Vn as stopInterpreter
|
|
6459
6459
|
};
|