x-runtime-lib 0.5.16 → 0.5.17

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