x-runtime-lib 0.4.7 → 0.4.8

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.
Files changed (2) hide show
  1. package/dist/index.js +246 -210
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var wi = Object.defineProperty;
2
- var Ci = (n, s, p) => s in n ? wi(n, s, { enumerable: !0, configurable: !0, writable: !0, value: p }) : n[s] = p;
3
- var wt = (n, s, p) => Ci(n, typeof s != "symbol" ? s + "" : s, p);
4
- import { provide as oe, inject as ue, readonly as $e, isReactive as an, defineComponent as on, computed as ee, resolveComponent as xi, openBlock as un, createBlock as sn, ref as Cr, watchEffect as Ai, watch as Ii, onBeforeUnmount as ki, h as Le } from "vue";
2
+ var xi = (n, s, p) => s in n ? wi(n, s, { enumerable: !0, configurable: !0, writable: !0, value: p }) : n[s] = p;
3
+ var wt = (n, s, p) => xi(n, typeof s != "symbol" ? s + "" : s, p);
4
+ import { provide as oe, inject as ue, readonly as $e, isReactive as an, defineComponent as on, computed as z, resolveComponent as Ci, openBlock as un, createBlock as sn, ref as xr, watchEffect as Ai, watch as Ii, onBeforeUnmount as ki, h as Le } from "vue";
5
5
  import { useI18n as Di } from "vue-i18n";
6
6
  import { openConfirmDlg as Fi, openPromptDlg as Li, eventBus as Ui } from "x-essential-lib";
7
7
  const Mi = /* @__PURE__ */ new Set([
@@ -22,12 +22,12 @@ const Mi = /* @__PURE__ */ new Set([
22
22
  groups: ji
23
23
  }, cn = {
24
24
  v1: Bi
25
- }, xr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
25
+ }, Cr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
26
26
  function fn(n) {
27
27
  let s = "";
28
28
  for (let p = 0; p < n; p++) {
29
- const v = Math.floor(Math.random() * xr.length);
30
- s += xr[v];
29
+ const v = Math.floor(Math.random() * Cr.length);
30
+ s += Cr[v];
31
31
  }
32
32
  return s;
33
33
  }
@@ -46,21 +46,21 @@ function Vi(n) {
46
46
  const s = n.substring(0, n.length - 1), p = parseFloat(s);
47
47
  return !isNaN(p);
48
48
  }
49
- function uc(n) {
49
+ function sc(n) {
50
50
  if (typeof n != "string" || !n.endsWith("px"))
51
51
  return;
52
52
  const s = n.substring(0, n.length - 2), p = parseFloat(s);
53
53
  if (!isNaN(p) && p % 1 === 0)
54
54
  return p;
55
55
  }
56
- function Ct(n) {
56
+ function xt(n) {
57
57
  if (typeof n != "string" || !n.endsWith("%"))
58
58
  return;
59
59
  const s = n.substring(0, n.length - 1), p = parseFloat(s);
60
60
  if (!isNaN(p))
61
61
  return p;
62
62
  }
63
- var ln = typeof global == "object" && global && global.Object === Object && global, Yi = typeof self == "object" && self && self.Object === Object && self, K = ln || Yi || Function("return this")(), Re = K.Symbol, pn = Object.prototype, Xi = pn.hasOwnProperty, Wi = pn.toString, Ue = Re ? Re.toStringTag : void 0;
63
+ var ln = typeof global == "object" && global && global.Object === Object && global, Yi = typeof self == "object" && self && self.Object === Object && self, q = ln || Yi || Function("return this")(), Re = q.Symbol, pn = Object.prototype, Xi = pn.hasOwnProperty, Wi = pn.toString, Ue = Re ? Re.toStringTag : void 0;
64
64
  function zi(n) {
65
65
  var s = Xi.call(n, Ue), p = n[Ue];
66
66
  try {
@@ -94,8 +94,8 @@ function hn(n) {
94
94
  var s = Ge(n);
95
95
  return s == ea || s == ta || s == Qi || s == ra;
96
96
  }
97
- var xt = K["__core-js_shared__"], Ir = function() {
98
- var n = /[^.]+$/.exec(xt && xt.keys && xt.keys.IE_PROTO || "");
97
+ var Ct = q["__core-js_shared__"], Ir = function() {
98
+ var n = /[^.]+$/.exec(Ct && Ct.keys && Ct.keys.IE_PROTO || "");
99
99
  return n ? "Symbol(src)_1." + n : "";
100
100
  }();
101
101
  function na(n) {
@@ -131,7 +131,7 @@ function de(n, s) {
131
131
  var p = da(n, s);
132
132
  return ha(p) ? p : void 0;
133
133
  }
134
- var It = de(K, "WeakMap"), kr = Object.create, va = /* @__PURE__ */ function() {
134
+ var It = de(q, "WeakMap"), kr = Object.create, va = /* @__PURE__ */ function() {
135
135
  function n() {
136
136
  }
137
137
  return function(s) {
@@ -213,15 +213,15 @@ var Sa = "[object Arguments]";
213
213
  function Fr(n) {
214
214
  return Ve(n) && Ge(n) == Sa;
215
215
  }
216
- var _n = Object.prototype, Pa = _n.hasOwnProperty, wa = _n.propertyIsEnumerable, Ca = Fr(/* @__PURE__ */ function() {
216
+ var _n = Object.prototype, Pa = _n.hasOwnProperty, wa = _n.propertyIsEnumerable, xa = Fr(/* @__PURE__ */ function() {
217
217
  return arguments;
218
218
  }()) ? Fr : function(n) {
219
219
  return Ve(n) && Pa.call(n, "callee") && !wa.call(n, "callee");
220
220
  };
221
- function xa() {
221
+ function Ca() {
222
222
  return !1;
223
223
  }
224
- var bn = typeof exports == "object" && exports && !exports.nodeType && exports, Lr = bn && typeof module == "object" && module && !module.nodeType && module, Aa = Lr && Lr.exports === bn, Ur = Aa ? K.Buffer : void 0, Ia = Ur ? Ur.isBuffer : void 0, mn = Ia || xa, ka = "[object Arguments]", Da = "[object Array]", Fa = "[object Boolean]", La = "[object Date]", Ua = "[object Error]", Ma = "[object Function]", ja = "[object Map]", Ba = "[object Number]", $a = "[object Object]", Ga = "[object RegExp]", Va = "[object Set]", Ya = "[object String]", Xa = "[object WeakMap]", Wa = "[object ArrayBuffer]", za = "[object DataView]", Ja = "[object Float32Array]", Ha = "[object Float64Array]", Ka = "[object Int8Array]", qa = "[object Int16Array]", Za = "[object Int32Array]", Qa = "[object Uint8Array]", eo = "[object Uint8ClampedArray]", to = "[object Uint16Array]", ro = "[object Uint32Array]", L = {};
224
+ var bn = typeof exports == "object" && exports && !exports.nodeType && exports, Lr = bn && typeof module == "object" && module && !module.nodeType && module, Aa = Lr && Lr.exports === bn, Ur = Aa ? q.Buffer : void 0, Ia = Ur ? Ur.isBuffer : void 0, mn = Ia || Ca, ka = "[object Arguments]", Da = "[object Array]", Fa = "[object Boolean]", La = "[object Date]", Ua = "[object Error]", Ma = "[object Function]", ja = "[object Map]", Ba = "[object Number]", $a = "[object Object]", Ga = "[object RegExp]", Va = "[object Set]", Ya = "[object String]", Xa = "[object WeakMap]", Wa = "[object ArrayBuffer]", za = "[object DataView]", Ja = "[object Float32Array]", Ha = "[object Float64Array]", Ka = "[object Int8Array]", qa = "[object Int16Array]", Za = "[object Int32Array]", Qa = "[object Uint8Array]", eo = "[object Uint8ClampedArray]", to = "[object Uint16Array]", ro = "[object Uint32Array]", L = {};
225
225
  L[Ja] = L[Ha] = L[Ka] = L[qa] = L[Za] = L[Qa] = L[eo] = L[to] = L[ro] = !0;
226
226
  L[ka] = L[Da] = L[Wa] = L[Fa] = L[za] = L[La] = L[Ua] = L[Ma] = L[ja] = L[Ba] = L[$a] = L[Ga] = L[Va] = L[Ya] = L[Xa] = !1;
227
227
  function no(n) {
@@ -240,7 +240,7 @@ var Rn = typeof exports == "object" && exports && !exports.nodeType && exports,
240
240
  }
241
241
  }(), Mr = Oe && Oe.isTypedArray, ao = Mr ? jt(Mr) : no, oo = Object.prototype, uo = oo.hasOwnProperty;
242
242
  function On(n, s) {
243
- var p = Ut(n), v = !p && Ca(n), g = !p && !v && mn(n), R = !p && !v && !g && ao(n), m = p || v || g || R, N = m ? Ta(n.length, String) : [], T = N.length;
243
+ var p = Ut(n), v = !p && xa(n), g = !p && !v && mn(n), R = !p && !v && !g && ao(n), m = p || v || g || R, N = m ? Ta(n.length, String) : [], T = N.length;
244
244
  for (var r in n)
245
245
  (s || uo.call(n, r)) && !(m && // Safari 9 has enumerable `arguments.length` in strict mode.
246
246
  (r == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
@@ -333,13 +333,13 @@ function it(n, s) {
333
333
  return p;
334
334
  return -1;
335
335
  }
336
- var Co = Array.prototype, xo = Co.splice;
336
+ var xo = Array.prototype, Co = xo.splice;
337
337
  function Ao(n) {
338
338
  var s = this.__data__, p = it(s, n);
339
339
  if (p < 0)
340
340
  return !1;
341
341
  var v = s.length - 1;
342
- return p == v ? s.pop() : xo.call(s, p, 1), --this.size, !0;
342
+ return p == v ? s.pop() : Co.call(s, p, 1), --this.size, !0;
343
343
  }
344
344
  function Io(n) {
345
345
  var s = this.__data__, p = it(s, n);
@@ -364,7 +364,7 @@ re.prototype.delete = Ao;
364
364
  re.prototype.get = Io;
365
365
  re.prototype.has = ko;
366
366
  re.prototype.set = Do;
367
- var Be = de(K, "Map");
367
+ var Be = de(q, "Map");
368
368
  function Fo() {
369
369
  this.size = 0, this.__data__ = {
370
370
  hash: new pe(),
@@ -451,7 +451,7 @@ function zo(n, s) {
451
451
  function Jo(n, s) {
452
452
  return n && nt(s, $t(s), n);
453
453
  }
454
- var Pn = typeof exports == "object" && exports && !exports.nodeType && exports, jr = Pn && typeof module == "object" && module && !module.nodeType && module, Ho = jr && jr.exports === Pn, Br = Ho ? K.Buffer : void 0, $r = Br ? Br.allocUnsafe : void 0;
454
+ var Pn = typeof exports == "object" && exports && !exports.nodeType && exports, jr = Pn && typeof module == "object" && module && !module.nodeType && module, Ho = jr && jr.exports === Pn, Br = Ho ? q.Buffer : void 0, $r = Br ? Br.allocUnsafe : void 0;
455
455
  function Ko(n, s) {
456
456
  if (s)
457
457
  return n.slice();
@@ -476,25 +476,25 @@ var Zo = Object.prototype, Qo = Zo.propertyIsEnumerable, Gr = Object.getOwnPrope
476
476
  function eu(n, s) {
477
477
  return nt(n, Gt(n), s);
478
478
  }
479
- var tu = Object.getOwnPropertySymbols, Cn = tu ? function(n) {
479
+ var tu = Object.getOwnPropertySymbols, xn = tu ? function(n) {
480
480
  for (var s = []; n; )
481
481
  Tn(s, Gt(n)), n = Sn(n);
482
482
  return s;
483
483
  } : wn;
484
484
  function ru(n, s) {
485
- return nt(n, Cn(n), s);
485
+ return nt(n, xn(n), s);
486
486
  }
487
- function xn(n, s, p) {
487
+ function Cn(n, s, p) {
488
488
  var v = s(n);
489
489
  return Ut(n) ? v : Tn(v, p(n));
490
490
  }
491
491
  function nu(n) {
492
- return xn(n, Bt, Gt);
492
+ return Cn(n, Bt, Gt);
493
493
  }
494
494
  function iu(n) {
495
- return xn(n, $t, Cn);
495
+ return Cn(n, $t, xn);
496
496
  }
497
- var kt = de(K, "DataView"), Dt = de(K, "Promise"), Ft = de(K, "Set"), Vr = "[object Map]", au = "[object Object]", Yr = "[object Promise]", Xr = "[object Set]", Wr = "[object WeakMap]", zr = "[object DataView]", ou = he(kt), uu = he(Be), su = he(Dt), cu = he(Ft), fu = he(It), te = Ge;
497
+ var kt = de(q, "DataView"), Dt = de(q, "Promise"), Ft = de(q, "Set"), Vr = "[object Map]", au = "[object Object]", Yr = "[object Promise]", Xr = "[object Set]", Wr = "[object WeakMap]", zr = "[object DataView]", ou = he(kt), uu = he(Be), su = he(Dt), cu = he(Ft), fu = he(It), te = Ge;
498
498
  (kt && te(new kt(new ArrayBuffer(1))) != zr || Be && te(new Be()) != Vr || Dt && te(Dt.resolve()) != Yr || Ft && te(new Ft()) != Xr || It && te(new It()) != Wr) && (te = function(n) {
499
499
  var s = Ge(n), p = s == au ? n.constructor : void 0, v = p ? he(p) : "";
500
500
  if (v)
@@ -517,7 +517,7 @@ function hu(n) {
517
517
  var s = n.length, p = new n.constructor(s);
518
518
  return s && typeof n[0] == "string" && pu.call(n, "index") && (p.index = n.index, p.input = n.input), p;
519
519
  }
520
- var Jr = K.Uint8Array;
520
+ var Jr = q.Uint8Array;
521
521
  function Vt(n) {
522
522
  var s = new n.constructor(n.byteLength);
523
523
  return new Jr(s).set(new Jr(n)), s;
@@ -539,7 +539,7 @@ function gu(n, s) {
539
539
  var p = s ? Vt(n.buffer) : n.buffer;
540
540
  return new n.constructor(p, n.byteOffset, n.length);
541
541
  }
542
- var _u = "[object Boolean]", bu = "[object Date]", mu = "[object Map]", Ru = "[object Number]", Ou = "[object RegExp]", Nu = "[object Set]", Tu = "[object String]", Su = "[object Symbol]", Pu = "[object ArrayBuffer]", wu = "[object DataView]", Cu = "[object Float32Array]", xu = "[object Float64Array]", Au = "[object Int8Array]", Iu = "[object Int16Array]", ku = "[object Int32Array]", Du = "[object Uint8Array]", Fu = "[object Uint8ClampedArray]", Lu = "[object Uint16Array]", Uu = "[object Uint32Array]";
542
+ var _u = "[object Boolean]", bu = "[object Date]", mu = "[object Map]", Ru = "[object Number]", Ou = "[object RegExp]", Nu = "[object Set]", Tu = "[object String]", Su = "[object Symbol]", Pu = "[object ArrayBuffer]", wu = "[object DataView]", xu = "[object Float32Array]", Cu = "[object Float64Array]", Au = "[object Int8Array]", Iu = "[object Int16Array]", ku = "[object Int32Array]", Du = "[object Uint8Array]", Fu = "[object Uint8ClampedArray]", Lu = "[object Uint16Array]", Uu = "[object Uint32Array]";
543
543
  function Mu(n, s, p) {
544
544
  var v = n.constructor;
545
545
  switch (s) {
@@ -550,8 +550,8 @@ function Mu(n, s, p) {
550
550
  return new v(+n);
551
551
  case wu:
552
552
  return du(n, p);
553
- case Cu:
554
553
  case xu:
554
+ case Cu:
555
555
  case Au:
556
556
  case Iu:
557
557
  case ku:
@@ -712,7 +712,7 @@ function ms(n, s, p, v, g) {
712
712
  }
713
713
  return N;
714
714
  }
715
- function sc(n, s) {
715
+ function cc(n, s) {
716
716
  function p(v) {
717
717
  if (v.id === s)
718
718
  return v;
@@ -729,7 +729,7 @@ function sc(n, s) {
729
729
  return g;
730
730
  }
731
731
  }
732
- function cc(n) {
732
+ function fc(n) {
733
733
  function s(v) {
734
734
  var g;
735
735
  v.id = fn(16), (g = v.children) == null || g.forEach((R) => s(R));
@@ -738,73 +738,84 @@ function cc(n) {
738
738
  return s(p), p;
739
739
  }
740
740
  const Dn = "runtimeEnv", Fn = "runtimeMode", Ln = "runtimeDevice", Un = "runtimeDark", Mn = "runtimeType", jn = "runtimeData", Bn = "runtimeDepends", $n = "runtimeInterpreter";
741
- function fc(n) {
741
+ function lc(n) {
742
742
  oe(Dn, n);
743
743
  }
744
744
  function Rs() {
745
745
  return ue(Dn);
746
746
  }
747
- function lc(n) {
747
+ function pc(n) {
748
748
  oe(Fn, n);
749
749
  }
750
750
  function Os() {
751
751
  return ue(Fn);
752
752
  }
753
- function pc(n) {
753
+ function hc(n) {
754
754
  oe(Ln, $e(n));
755
755
  }
756
756
  function Ns() {
757
757
  return ue(Ln);
758
758
  }
759
- function hc(n) {
759
+ function dc(n) {
760
760
  oe(Un, $e(n));
761
761
  }
762
762
  function Ts() {
763
763
  return ue(Un);
764
764
  }
765
- function dc(n) {
765
+ function vc(n) {
766
766
  oe(Mn, n);
767
767
  }
768
768
  function Ss() {
769
769
  return ue(Mn);
770
770
  }
771
- function vc(n) {
771
+ function yc(n) {
772
772
  oe(jn, $e(n));
773
773
  }
774
774
  function Ps() {
775
775
  const n = ue(jn);
776
776
  return console.assert(an(n)), n;
777
777
  }
778
- function yc(n) {
778
+ function Ec(n) {
779
779
  oe(Bn, $e(n));
780
780
  }
781
781
  function ws() {
782
782
  const n = ue(Bn);
783
783
  return console.assert(an(n)), n;
784
784
  }
785
- function Cs(n) {
785
+ function xs(n) {
786
786
  oe($n, $e(n));
787
787
  }
788
- function Ec() {
788
+ function gc() {
789
789
  return ue($n);
790
790
  }
791
- const xs = /* @__PURE__ */ on({
791
+ const Cs = /* @__PURE__ */ on({
792
792
  __name: "index",
793
793
  props: {
794
794
  node: {},
795
795
  outer: { type: Boolean }
796
796
  },
797
797
  setup(n) {
798
- const s = Ts(), p = n, v = ee(() => s.value ? "dark" : "light"), g = ee(() => p.node.density);
799
- return (R, m) => {
800
- const N = xi("v-btn");
801
- return un(), sn(N, {
802
- theme: v.value,
803
- density: g.value
804
- }, null, 8, ["theme", "density"]);
798
+ const s = Ts(), p = n, v = z(() => p.node.text), g = z(() => p.node.disabled), R = z(() => p.node.variant), m = z(() => p.node.density), N = z(() => p.node.blcok), T = z(() => s.value ? "dark" : "light");
799
+ return (r, t) => {
800
+ const e = Ci("v-btn");
801
+ return un(), sn(e, {
802
+ text: v.value,
803
+ disabled: g.value,
804
+ variant: R.value,
805
+ density: m.value,
806
+ block: N.value,
807
+ theme: T.value
808
+ }, null, 8, ["text", "disabled", "variant", "density", "block", "theme"]);
805
809
  };
806
810
  }
807
811
  }), As = [
812
+ { title: "x-runtime-lib.default", value: "default" },
813
+ { title: "x-runtime-lib.flat", value: "flat" },
814
+ { title: "x-runtime-lib.tonal", value: "tonal" },
815
+ { title: "x-runtime-lib.outlined", value: "outlined" },
816
+ { title: "x-runtime-lib.text", value: "text" },
817
+ { title: "x-runtime-lib.plain", value: "plain" }
818
+ ], Is = [
808
819
  { title: "x-runtime-lib.default", value: "default" },
809
820
  { title: "x-runtime-lib.comfortable", value: "comfortable" },
810
821
  { title: "x-runtime-lib.compact", value: "compact" }
@@ -813,18 +824,43 @@ const xs = /* @__PURE__ */ on({
813
824
  keyFlag: !0,
814
825
  name: "x-runtime-lib.settings",
815
826
  children: [
827
+ {
828
+ key: "text",
829
+ name: "x-runtime-lib.text",
830
+ ui: "strInput",
831
+ default: "button"
832
+ },
833
+ {
834
+ key: "disabled",
835
+ name: "x-runtime-lib.disabled",
836
+ ui: "switch",
837
+ default: !1
838
+ },
839
+ {
840
+ key: "variant",
841
+ name: "x-runtime-lib.variant",
842
+ ui: "select",
843
+ items: As,
844
+ default: "default"
845
+ },
816
846
  {
817
847
  key: "density",
818
848
  name: "x-runtime-lib.density",
819
849
  ui: "select",
820
- items: As,
850
+ items: Is,
821
851
  default: "default"
852
+ },
853
+ {
854
+ key: "block",
855
+ name: "x-runtime-lib.block",
856
+ ui: "switch",
857
+ default: !1
822
858
  }
823
859
  ]
824
- }, Is = {
860
+ }, ks = {
825
861
  key: "btn_v1",
826
862
  name: "x-runtime-lib.button",
827
- comp: xs,
863
+ comp: Cs,
828
864
  leaf: !0,
829
865
  events: [
830
866
  {
@@ -848,7 +884,7 @@ const xs = /* @__PURE__ */ on({
848
884
  default: "#00000000"
849
885
  }
850
886
  ]
851
- }, ks = {
887
+ }, Ds = {
852
888
  key: "globality_v1",
853
889
  name: "x-runtime-lib.globality",
854
890
  comp: "",
@@ -890,24 +926,24 @@ const xs = /* @__PURE__ */ on({
890
926
  },
891
927
  internal: !0
892
928
  };
893
- function Ds(n) {
894
- const s = Os(), p = Ns(), v = ee(() => n.node.width), g = ee(() => n.node.minWidth), R = ee(() => n.node.maxWidth), m = ee(() => {
929
+ function Fs(n) {
930
+ const s = Os(), p = Ns(), v = z(() => n.node.width), g = z(() => n.node.minWidth), R = z(() => n.node.maxWidth), m = z(() => {
895
931
  if (n.outer && s === "editor") {
896
- const t = Ct(n.node.height);
932
+ const t = xt(n.node.height);
897
933
  if (t)
898
934
  return t / 100 * p.value.height + "px";
899
935
  }
900
936
  return n.node.height;
901
- }), N = ee(() => {
937
+ }), N = z(() => {
902
938
  if (n.outer && s === "editor") {
903
- const t = Ct(n.node.minHeight);
939
+ const t = xt(n.node.minHeight);
904
940
  if (t)
905
941
  return t / 100 * p.value.height + "px";
906
942
  }
907
943
  return n.node.minHeight;
908
- }), T = ee(() => {
944
+ }), T = z(() => {
909
945
  if (n.outer && s === "editor") {
910
- const t = Ct(n.node.maxHeight);
946
+ const t = xt(n.node.maxHeight);
911
947
  if (t)
912
948
  return t / 100 * p.value.height + "px";
913
949
  }
@@ -918,11 +954,11 @@ function Ds(n) {
918
954
  }
919
955
  return { width: v, minWidth: g, maxWidth: R, height: m, minHeight: N, maxHeight: T, applySize: r };
920
956
  }
921
- var Fs = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
922
- function Ls(n) {
957
+ var Ls = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
958
+ function Us(n) {
923
959
  return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
924
960
  }
925
- function Us(n) {
961
+ function Ms(n) {
926
962
  if (n.__esModule) return n;
927
963
  var s = n.default;
928
964
  if (typeof s == "function") {
@@ -942,14 +978,14 @@ function Us(n) {
942
978
  }), p;
943
979
  }
944
980
  var Gn = { exports: {} };
945
- const Ms = {}, js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
981
+ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
946
982
  __proto__: null,
947
- default: Ms
948
- }, Symbol.toStringTag, { value: "Module" })), Bs = /* @__PURE__ */ Us(js);
983
+ default: js
984
+ }, Symbol.toStringTag, { value: "Module" })), $s = /* @__PURE__ */ Ms(Bs);
949
985
  (function(n, s) {
950
986
  (function(v, g) {
951
987
  n.exports = g();
952
- })(Fs, () => (
988
+ })(Ls, () => (
953
989
  /******/
954
990
  (() => {
955
991
  var p = {
@@ -3578,9 +3614,9 @@ const Ms = {}, js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
3578
3614
  else if (u.asyncFunc) {
3579
3615
  var X = this, Pe = function(se) {
3580
3616
  e.value = se, X.paused_ = !1;
3581
- }, z = u.asyncFunc.length - 1, ve = e.arguments_.concat(
3582
- new Array(z)
3583
- ).slice(0, z);
3617
+ }, J = u.asyncFunc.length - 1, ve = e.arguments_.concat(
3618
+ new Array(J)
3619
+ ).slice(0, J);
3584
3620
  ve.push(Pe), this.paused_ = !0, e.scope.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), u.asyncFunc.apply(e.funcThis_, ve);
3585
3621
  return;
3586
3622
  } else
@@ -4058,14 +4094,14 @@ const Ms = {}, js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4058
4094
  var c = function(f, h) {
4059
4095
  for (var d = 1, E = 0; ; ) {
4060
4096
  Ke.lastIndex = E;
4061
- var C = Ke.exec(f);
4062
- if (C && C.index < h)
4063
- ++d, E = C.index + C[0].length;
4097
+ var x = Ke.exec(f);
4098
+ if (x && x.index < h)
4099
+ ++d, E = x.index + x[0].length;
4064
4100
  else
4065
4101
  break;
4066
4102
  }
4067
4103
  return { line: d, column: h - E };
4068
- }, a = 0, l = 0, y = 0, _, O, b, P, I, D, X, Pe = 0, z = 0, ve, se, j, W;
4104
+ }, a = 0, l = 0, y = 0, _, O, b, P, I, D, X, Pe = 0, J = 0, ve, se, j, W;
4069
4105
  function A(f, h) {
4070
4106
  var d = c(t, f);
4071
4107
  h += " (" + d.line + ":" + d.column + ")";
@@ -4102,12 +4138,12 @@ const Ms = {}, js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4102
4138
  typeof: { keyword: "typeof", prefix: !0, beforeExpr: !0 },
4103
4139
  void: { keyword: "void", prefix: !0, beforeExpr: !0 },
4104
4140
  delete: { keyword: "delete", prefix: !0, beforeExpr: !0 }
4105
- }, dt = { type: "[", beforeExpr: !0 }, vt = { type: "]" }, we = { type: "{", beforeExpr: !0 }, Ee = { type: "}" }, q = { type: "(", beforeExpr: !0 }, H = { type: ")" }, ne = { type: ",", beforeExpr: !0 }, Z = { type: ";", beforeExpr: !0 }, Ce = { type: ":", beforeExpr: !0 }, cr = { type: "." }, fr = { type: "?", beforeExpr: !0 }, lr = { binop: 10, beforeExpr: !0 }, pr = { isAssign: !0, beforeExpr: !0 }, ce = { isAssign: !0, beforeExpr: !0 }, zn = { postfix: !0, prefix: !0, isUpdate: !0 }, hr = { prefix: !0, beforeExpr: !0 }, dr = { binop: 1, beforeExpr: !0 }, vr = { binop: 2, beforeExpr: !0 }, Jn = { binop: 3, beforeExpr: !0 }, Hn = { binop: 4, beforeExpr: !0 }, Kn = { binop: 5, beforeExpr: !0 }, qn = { binop: 6, beforeExpr: !0 }, Zn = { binop: 7, beforeExpr: !0 }, Qn = { binop: 8, beforeExpr: !0 }, ei = { binop: 9, prefix: !0, beforeExpr: !0 }, ti = { binop: 10, beforeExpr: !0 };
4141
+ }, dt = { type: "[", beforeExpr: !0 }, vt = { type: "]" }, we = { type: "{", beforeExpr: !0 }, Ee = { type: "}" }, Z = { type: "(", beforeExpr: !0 }, K = { type: ")" }, ne = { type: ",", beforeExpr: !0 }, Q = { type: ";", beforeExpr: !0 }, xe = { type: ":", beforeExpr: !0 }, cr = { type: "." }, fr = { type: "?", beforeExpr: !0 }, lr = { binop: 10, beforeExpr: !0 }, pr = { isAssign: !0, beforeExpr: !0 }, ce = { isAssign: !0, beforeExpr: !0 }, zn = { postfix: !0, prefix: !0, isUpdate: !0 }, hr = { prefix: !0, beforeExpr: !0 }, dr = { binop: 1, beforeExpr: !0 }, vr = { binop: 2, beforeExpr: !0 }, Jn = { binop: 3, beforeExpr: !0 }, Hn = { binop: 4, beforeExpr: !0 }, Kn = { binop: 5, beforeExpr: !0 }, qn = { binop: 6, beforeExpr: !0 }, Zn = { binop: 7, beforeExpr: !0 }, Qn = { binop: 8, beforeExpr: !0 }, ei = { binop: 9, prefix: !0, beforeExpr: !0 }, ti = { binop: 10, beforeExpr: !0 };
4106
4142
  function ze(f) {
4107
4143
  for (var h = f.split(" "), d = /* @__PURE__ */ Object.create(null), E = 0; E < h.length; E++)
4108
4144
  d[h[E]] = !0;
4109
- return function(C) {
4110
- return d[C] || !1;
4145
+ return function(x) {
4146
+ return d[x] || !1;
4111
4147
  };
4112
4148
  }
4113
4149
  var ri = ze("class enum extends super const export import"), yr = ze("implements interface let package private protected public static yield"), Je = ze("eval arguments"), ni = ze("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"), ii = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Er = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", ai = "̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_", gr = new RegExp("[" + Er + "]"), oi = new RegExp("[" + Er + ai + "]"), He = /[\n\r\u2028\u2029]/, Ke = /\r\n|[\n\r\u2028\u2029]/g, qe = function(f) {
@@ -4119,10 +4155,10 @@ const Ms = {}, js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4119
4155
  this.line = D, this.column = a - X;
4120
4156
  }
4121
4157
  function ui() {
4122
- D = 1, a = X = 0, I = !0, xe();
4158
+ D = 1, a = X = 0, I = !0, Ce();
4123
4159
  }
4124
4160
  function $(f, h) {
4125
- y = a, r.locations && (O = new fe()), b = f, xe(), P = h, I = f.beforeExpr;
4161
+ y = a, r.locations && (O = new fe()), b = f, Ce(), P = h, I = f.beforeExpr;
4126
4162
  }
4127
4163
  function si() {
4128
4164
  var f = r.onComment && r.locations && new fe(), h = a, d = t.indexOf("*/", a += 2);
@@ -4152,7 +4188,7 @@ const Ms = {}, js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4152
4188
  r.locations && new fe()
4153
4189
  );
4154
4190
  }
4155
- function xe() {
4191
+ function Ce() {
4156
4192
  for (; a < e; ) {
4157
4193
  var f = t.charCodeAt(a);
4158
4194
  if (f === 32)
@@ -4203,8 +4239,8 @@ const Ms = {}, js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4203
4239
  function di(f) {
4204
4240
  var h = t.charCodeAt(a + 1);
4205
4241
  if (h === f) {
4206
- if (h === 45 && t.charCodeAt(a + 2) === 62 && He.test(t.slice(z, a))) {
4207
- a += 3, yt(), xe(), ge();
4242
+ if (h === 45 && t.charCodeAt(a + 2) === 62 && He.test(t.slice(J, a))) {
4243
+ a += 3, yt(), Ce(), ge();
4208
4244
  return;
4209
4245
  }
4210
4246
  G(zn, 2);
@@ -4217,7 +4253,7 @@ const Ms = {}, js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4217
4253
  return;
4218
4254
  }
4219
4255
  if (h === 33 && f === 60 && t.charCodeAt(a + 2) === 45 && t.charCodeAt(a + 3) === 45) {
4220
- a += 4, yt(), xe(), ge();
4256
+ a += 4, yt(), Ce(), ge();
4221
4257
  return;
4222
4258
  }
4223
4259
  h === 61 && (d = t.charCodeAt(a + 2) === 61 ? 3 : 2), G(Zn, d);
@@ -4231,11 +4267,11 @@ const Ms = {}, js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4231
4267
  case 46:
4232
4268
  return ci();
4233
4269
  case 40:
4234
- return ++a, $(q);
4270
+ return ++a, $(Z);
4235
4271
  case 41:
4236
- return ++a, $(H);
4272
+ return ++a, $(K);
4237
4273
  case 59:
4238
- return ++a, $(Z);
4274
+ return ++a, $(Q);
4239
4275
  case 44:
4240
4276
  return ++a, $(ne);
4241
4277
  case 91:
@@ -4247,7 +4283,7 @@ const Ms = {}, js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4247
4283
  case 125:
4248
4284
  return ++a, $(Ee);
4249
4285
  case 58:
4250
- return ++a, $(Ce);
4286
+ return ++a, $(xe);
4251
4287
  case 63:
4252
4288
  return ++a, $(fr);
4253
4289
  case 48:
@@ -4325,21 +4361,21 @@ const Ms = {}, js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4325
4361
  }
4326
4362
  ++a;
4327
4363
  }
4328
- var C = t.slice(d, a);
4364
+ var x = t.slice(d, a);
4329
4365
  ++a;
4330
4366
  var S = Rr();
4331
4367
  S && !/^[gmi]*$/.test(S) && A(d, "Invalid regexp flag");
4332
4368
  try {
4333
- var x = new RegExp(C, S);
4369
+ var C = new RegExp(x, S);
4334
4370
  } catch (U) {
4335
4371
  throw U instanceof SyntaxError && A(d, U.message), U;
4336
4372
  }
4337
- $(Yt, x);
4373
+ $(Yt, C);
4338
4374
  }
4339
4375
  function Ae(f, h) {
4340
- for (var d = a, E = 0, C = h === void 0 ? 1 / 0 : h, S = 0; S < C; ++S) {
4341
- var x = t.charCodeAt(a), U;
4342
- if (x >= 97 ? U = x - 97 + 10 : x >= 65 ? U = x - 65 + 10 : x >= 48 && x <= 57 ? U = x - 48 : U = 1 / 0, U >= f) break;
4376
+ for (var d = a, E = 0, x = h === void 0 ? 1 / 0 : h, S = 0; S < x; ++S) {
4377
+ var C = t.charCodeAt(a), U;
4378
+ if (C >= 97 ? U = C - 97 + 10 : C >= 65 ? U = C - 65 + 10 : C >= 48 && C <= 57 ? U = C - 48 : U = 1 / 0, U >= f) break;
4343
4379
  ++a, E = E * f + U;
4344
4380
  }
4345
4381
  return a === d || h !== void 0 && a - d !== h ? null : E;
@@ -4352,10 +4388,10 @@ const Ms = {}, js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4352
4388
  function mr(f) {
4353
4389
  var h = a, d = !1, E = t.charCodeAt(a) === 48;
4354
4390
  !f && Ae(10) === null && A(h, "Invalid number"), t.charCodeAt(a) === 46 && (++a, Ae(10), d = !0);
4355
- var C = t.charCodeAt(a);
4356
- (C === 69 || C === 101) && (C = t.charCodeAt(++a), (C === 43 || C === 45) && ++a, Ae(10) === null && A(h, "Invalid number"), d = !0), qe(t.charCodeAt(a)) && A(a, "Identifier directly after number");
4357
- var S = t.slice(h, a), x;
4358
- d ? x = parseFloat(S) : !E || S.length === 1 ? x = parseInt(S, 10) : /[89]/.test(S) || W ? A(h, "Invalid number") : x = parseInt(S, 8), $(Xe, x);
4391
+ var x = t.charCodeAt(a);
4392
+ (x === 69 || x === 101) && (x = t.charCodeAt(++a), (x === 43 || x === 45) && ++a, Ae(10) === null && A(h, "Invalid number"), d = !0), qe(t.charCodeAt(a)) && A(a, "Identifier directly after number");
4393
+ var S = t.slice(h, a), C;
4394
+ d ? C = parseFloat(S) : !E || S.length === 1 ? C = parseInt(S, 10) : /[89]/.test(S) || W ? A(h, "Invalid number") : C = parseInt(S, 8), $(Xe, C);
4359
4395
  }
4360
4396
  function _i(f) {
4361
4397
  a++;
@@ -4433,8 +4469,8 @@ const Ms = {}, js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4433
4469
  _e && (f += t.charAt(a)), ++a;
4434
4470
  else if (E === 92) {
4435
4471
  _e || (f = t.slice(d, a)), _e = !0, t.charCodeAt(++a) !== 117 && A(a, "Expecting Unicode escape sequence \\uXXXX"), ++a;
4436
- var C = Ze(4), S = String.fromCharCode(C);
4437
- S || A(a - 1, "Invalid Unicode escape"), (h ? qe(C) : _r(C)) || A(a - 4, "Invalid Unicode escape"), f += S;
4472
+ var x = Ze(4), S = String.fromCharCode(x);
4473
+ S || A(a - 1, "Invalid Unicode escape"), (h ? qe(x) : _r(x)) || A(a - 4, "Invalid Unicode escape"), f += S;
4438
4474
  } else
4439
4475
  break;
4440
4476
  h = !1;
@@ -4446,14 +4482,14 @@ const Ms = {}, js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4446
4482
  !_e && ni(f) && (h = Wn[f]), $(h, f);
4447
4483
  }
4448
4484
  function k() {
4449
- Pe = l, z = y, ve = O, ge();
4485
+ Pe = l, J = y, ve = O, ge();
4450
4486
  }
4451
4487
  function Et(f) {
4452
4488
  if (W = f, a = l, r.locations)
4453
4489
  for (; a < X; )
4454
4490
  X = t.lastIndexOf(`
4455
4491
  `, X - 2) + 1, --D;
4456
- xe(), ge();
4492
+ Ce(), ge();
4457
4493
  }
4458
4494
  function Nr() {
4459
4495
  this.type = null, this.start = l, this.end = null;
@@ -4470,7 +4506,7 @@ const Ms = {}, js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4470
4506
  return h.start = f.start, r.locations && (h.loc = new Tr(), h.loc.start = f.loc.start), r.ranges && (h.range = [f.range[0], 0]), h;
4471
4507
  }
4472
4508
  function w(f, h) {
4473
- return f.type = h, f.end = z, r.locations && (f.loc.end = ve), r.ranges && (f.range[1] = z), f;
4509
+ return f.type = h, f.end = J, r.locations && (f.loc.end = ve), r.ranges && (f.range[1] = J), f;
4474
4510
  }
4475
4511
  function gt(f) {
4476
4512
  return f.type === "ExpressionStatement" && f.expression.type === "Literal" && f.expression.value === "use strict";
@@ -4479,31 +4515,31 @@ const Ms = {}, js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4479
4515
  return b === f ? (k(), !0) : !1;
4480
4516
  }
4481
4517
  function Qe() {
4482
- return !r.strictSemicolons && (b === ut || b === Ee || He.test(t.slice(z, l)));
4518
+ return !r.strictSemicolons && (b === ut || b === Ee || He.test(t.slice(J, l)));
4483
4519
  }
4484
4520
  function le() {
4485
- !M(Z) && !Qe() && Q();
4521
+ !M(Q) && !Qe() && ee();
4486
4522
  }
4487
4523
  function B(f) {
4488
- b === f ? k() : Q();
4524
+ b === f ? k() : ee();
4489
4525
  }
4490
- function Q() {
4526
+ function ee() {
4491
4527
  A(l, "Unexpected token");
4492
4528
  }
4493
4529
  function et(f) {
4494
4530
  f.type !== "Identifier" && f.type !== "MemberExpression" && A(f.start, "Assigning to rvalue"), W && f.type === "Identifier" && Je(f.name) && A(f.start, "Assigning to " + f.name + " in strict mode");
4495
4531
  }
4496
4532
  function bi(f) {
4497
- Pe = z = a, r.locations && (ve = new fe()), se = W = !1, j = [], ge();
4533
+ Pe = J = a, r.locations && (ve = new fe()), se = W = !1, j = [], ge();
4498
4534
  var h = f || V(), d = !0;
4499
4535
  for (f || (h.body = []); b !== ut; ) {
4500
- var E = J();
4536
+ var E = H();
4501
4537
  h.body.push(E), d && gt(E) && Et(!0), d = !1;
4502
4538
  }
4503
4539
  return w(h, "Program");
4504
4540
  }
4505
4541
  var _t = { kind: "loop" }, mi = { kind: "switch" };
4506
- function J() {
4542
+ function H() {
4507
4543
  (b === lr || b === ce && P === "/=") && ge(!0);
4508
4544
  var f = b, h = V();
4509
4545
  switch (f) {
@@ -4511,19 +4547,19 @@ const Ms = {}, js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4511
4547
  case Wt:
4512
4548
  k();
4513
4549
  var d = f === st;
4514
- M(Z) || Qe() ? h.label = null : b !== ye ? Q() : (h.label = ae(), le());
4550
+ M(Q) || Qe() ? h.label = null : b !== ye ? ee() : (h.label = ae(), le());
4515
4551
  for (var E = 0; E < j.length; ++E) {
4516
- var C = j[E];
4517
- if ((h.label === null || C.name === h.label.name) && (C.kind !== null && (d || C.kind === "loop") || h.label && d))
4552
+ var x = j[E];
4553
+ if ((h.label === null || x.name === h.label.name) && (x.kind !== null && (d || x.kind === "loop") || h.label && d))
4518
4554
  break;
4519
4555
  }
4520
4556
  return E === j.length && A(h.start, "Unsyntactic " + f.keyword), w(h, d ? "BreakStatement" : "ContinueStatement");
4521
4557
  case zt:
4522
4558
  return k(), le(), w(h, "DebuggerStatement");
4523
4559
  case Ht:
4524
- return k(), j.push(_t), h.body = J(), j.pop(), B(ht), h.test = Ie(), le(), w(h, "DoWhileStatement");
4560
+ return k(), j.push(_t), h.body = H(), j.pop(), B(ht), h.test = Ie(), le(), w(h, "DoWhileStatement");
4525
4561
  case Zt:
4526
- if (k(), j.push(_t), B(q), b === Z) return bt(h, null);
4562
+ if (k(), j.push(_t), B(Z), b === Q) return bt(h, null);
4527
4563
  if (b === pt) {
4528
4564
  var S = V();
4529
4565
  return k(), Pr(S, !0), w(S, "VariableDeclaration"), S.declarations.length === 1 && M(We) ? Sr(h, S) : bt(h, S);
@@ -4533,65 +4569,65 @@ const Ms = {}, js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4533
4569
  case ft:
4534
4570
  return k(), Tt(h, !0);
4535
4571
  case Qt:
4536
- return k(), h.test = Ie(), h.consequent = J(), h.alternate = M(Kt) ? J() : null, w(h, "IfStatement");
4572
+ return k(), h.test = Ie(), h.consequent = H(), h.alternate = M(Kt) ? H() : null, w(h, "IfStatement");
4537
4573
  case er:
4538
- return !se && !r.allowReturnOutsideFunction && A(l, "'return' outside of function"), k(), M(Z) || Qe() ? h.argument = null : (h.argument = Y(), le()), w(h, "ReturnStatement");
4574
+ return !se && !r.allowReturnOutsideFunction && A(l, "'return' outside of function"), k(), M(Q) || Qe() ? h.argument = null : (h.argument = Y(), le()), w(h, "ReturnStatement");
4539
4575
  case lt:
4540
4576
  k(), h.discriminant = Ie(), h.cases = [], B(we), j.push(mi);
4541
- for (var x, U; b !== Ee; )
4577
+ for (var C, U; b !== Ee; )
4542
4578
  if (b === ct || b === Jt) {
4543
4579
  var Fe = b === ct;
4544
- x && w(x, "SwitchCase"), h.cases.push(x = V()), x.consequent = [], k(), Fe ? x.test = Y() : (U && A(Pe, "Multiple default clauses"), U = !0, x.test = null), B(Ce);
4580
+ C && w(C, "SwitchCase"), h.cases.push(C = V()), C.consequent = [], k(), Fe ? C.test = Y() : (U && A(Pe, "Multiple default clauses"), U = !0, C.test = null), B(xe);
4545
4581
  } else
4546
- x || Q(), x.consequent.push(J());
4547
- return x && w(x, "SwitchCase"), k(), j.pop(), w(h, "SwitchStatement");
4582
+ C || ee(), C.consequent.push(H());
4583
+ return C && w(C, "SwitchCase"), k(), j.pop(), w(h, "SwitchStatement");
4548
4584
  case tr:
4549
- return k(), He.test(t.slice(z, l)) && A(z, "Illegal newline after throw"), h.argument = Y(), le(), w(h, "ThrowStatement");
4585
+ return k(), He.test(t.slice(J, l)) && A(J, "Illegal newline after throw"), h.argument = Y(), le(), w(h, "ThrowStatement");
4550
4586
  case rr:
4551
4587
  if (k(), h.block = ke(), h.handler = null, b === Xt) {
4552
4588
  var be = V();
4553
- k(), B(q), be.param = ae(), W && Je(be.param.name) && A(be.param.start, "Binding " + be.param.name + " in strict mode"), B(H), be.body = ke(), h.handler = w(be, "CatchClause");
4589
+ k(), B(Z), be.param = ae(), W && Je(be.param.name) && A(be.param.start, "Binding " + be.param.name + " in strict mode"), B(K), be.body = ke(), h.handler = w(be, "CatchClause");
4554
4590
  }
4555
4591
  return h.finalizer = M(qt) ? ke() : null, !h.handler && !h.finalizer && A(h.start, "Missing catch or finally clause"), w(h, "TryStatement");
4556
4592
  case pt:
4557
4593
  return k(), Pr(h), le(), w(h, "VariableDeclaration");
4558
4594
  case ht:
4559
- return k(), h.test = Ie(), j.push(_t), h.body = J(), j.pop(), w(h, "WhileStatement");
4595
+ return k(), h.test = Ie(), j.push(_t), h.body = H(), j.pop(), w(h, "WhileStatement");
4560
4596
  case nr:
4561
- return W && A(l, "'with' in strict mode"), k(), h.object = Ie(), h.body = J(), w(h, "WithStatement");
4597
+ return W && A(l, "'with' in strict mode"), k(), h.object = Ie(), h.body = H(), w(h, "WithStatement");
4562
4598
  case we:
4563
4599
  return ke();
4564
- case Z:
4600
+ case Q:
4565
4601
  return k(), w(h, "EmptyStatement");
4566
4602
  default:
4567
4603
  var Pt = P, tt = Y();
4568
- if (f === ye && tt.type === "Identifier" && M(Ce)) {
4604
+ if (f === ye && tt.type === "Identifier" && M(xe)) {
4569
4605
  for (var E = 0; E < j.length; ++E)
4570
4606
  j[E].name === Pt && A(tt.start, "Label '" + Pt + "' is already declared");
4571
4607
  var Pi = b.isLoop ? "loop" : b === lt ? "switch" : null;
4572
- return j.push({ name: Pt, kind: Pi }), h.body = J(), j.pop(), h.label = tt, w(h, "LabeledStatement");
4608
+ return j.push({ name: Pt, kind: Pi }), h.body = H(), j.pop(), h.label = tt, w(h, "LabeledStatement");
4573
4609
  } else
4574
4610
  return h.expression = tt, le(), w(h, "ExpressionStatement");
4575
4611
  }
4576
4612
  }
4577
4613
  function Ie() {
4578
- B(q);
4614
+ B(Z);
4579
4615
  var f = Y();
4580
- return B(H), f;
4616
+ return B(K), f;
4581
4617
  }
4582
4618
  function ke(f) {
4583
- var h = V(), d = !0, E = !1, C;
4619
+ var h = V(), d = !0, E = !1, x;
4584
4620
  for (h.body = [], B(we); !M(Ee); ) {
4585
- var S = J();
4586
- h.body.push(S), d && f && gt(S) && (C = E, Et(E = !0)), d = !1;
4621
+ var S = H();
4622
+ h.body.push(S), d && f && gt(S) && (x = E, Et(E = !0)), d = !1;
4587
4623
  }
4588
- return E && !C && Et(!1), w(h, "BlockStatement");
4624
+ return E && !x && Et(!1), w(h, "BlockStatement");
4589
4625
  }
4590
4626
  function bt(f, h) {
4591
- return f.init = h, B(Z), f.test = b === Z ? null : Y(), B(Z), f.update = b === H ? null : Y(), B(H), f.body = J(), j.pop(), w(f, "ForStatement");
4627
+ return f.init = h, B(Q), f.test = b === Q ? null : Y(), B(Q), f.update = b === K ? null : Y(), B(K), f.body = H(), j.pop(), w(f, "ForStatement");
4592
4628
  }
4593
4629
  function Sr(f, h) {
4594
- return f.left = h, f.right = Y(), B(H), f.body = J(), j.pop(), w(f, "ForInStatement");
4630
+ return f.left = h, f.right = Y(), B(K), f.body = H(), j.pop(), w(f, "ForInStatement");
4595
4631
  }
4596
4632
  function Pr(f, h) {
4597
4633
  for (f.declarations = [], f.kind = "var"; ; ) {
@@ -4620,7 +4656,7 @@ const Ms = {}, js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4620
4656
  var h = Oi(f);
4621
4657
  if (M(fr)) {
4622
4658
  var d = ie(h);
4623
- return d.test = h, d.consequent = Y(!0), B(Ce), d.alternate = Y(!0, f), w(d, "ConditionalExpression");
4659
+ return d.test = h, d.consequent = Y(!0), B(xe), d.alternate = Y(!0, f), w(d, "ConditionalExpression");
4624
4660
  }
4625
4661
  return h;
4626
4662
  }
@@ -4630,12 +4666,12 @@ const Ms = {}, js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4630
4666
  function Rt(f, h, d) {
4631
4667
  var E = b.binop;
4632
4668
  if (E !== null && (!d || b !== We) && E > h) {
4633
- var C = ie(f);
4634
- C.left = f, C.operator = P;
4669
+ var x = ie(f);
4670
+ x.left = f, x.operator = P;
4635
4671
  var S = b;
4636
- k(), C.right = Rt(Ot(), E, d);
4637
- var x = w(C, S === dr || S === vr ? "LogicalExpression" : "BinaryExpression");
4638
- return Rt(x, h, d);
4672
+ k(), x.right = Rt(Ot(), E, d);
4673
+ var C = w(x, S === dr || S === vr ? "LogicalExpression" : "BinaryExpression");
4674
+ return Rt(C, h, d);
4639
4675
  }
4640
4676
  return f;
4641
4677
  }
@@ -4655,7 +4691,7 @@ const Ms = {}, js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4655
4691
  }
4656
4692
  function De(f, h) {
4657
4693
  var d;
4658
- return M(cr) ? (d = ie(f), d.object = f, d.property = ae(!0), d.computed = !1, De(w(d, "MemberExpression"), h)) : M(dt) ? (d = ie(f), d.object = f, d.property = Y(), d.computed = !0, B(vt), De(w(d, "MemberExpression"), h)) : !h && M(q) ? (d = ie(f), d.callee = f, d.arguments = St(H, !1), De(w(d, "CallExpression"), h)) : f;
4694
+ return M(cr) ? (d = ie(f), d.object = f, d.property = ae(!0), d.computed = !1, De(w(d, "MemberExpression"), h)) : M(dt) ? (d = ie(f), d.object = f, d.property = Y(), d.computed = !0, B(vt), De(w(d, "MemberExpression"), h)) : !h && M(Z) ? (d = ie(f), d.callee = f, d.arguments = St(K, !1), De(w(d, "CallExpression"), h)) : f;
4659
4695
  }
4660
4696
  function Nt() {
4661
4697
  var f;
@@ -4672,11 +4708,11 @@ const Ms = {}, js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4672
4708
  case ur:
4673
4709
  case sr:
4674
4710
  return f = V(), f.value = b.atomValue, f.raw = b.keyword, k(), w(f, "Literal");
4675
- case q:
4711
+ case Z:
4676
4712
  var h = _, d = l;
4677
4713
  k();
4678
4714
  var E = Y();
4679
- return E.start = d, E.end = y, r.locations && (E.loc.start = h, E.loc.end = O), r.ranges && (E.range = [d, y]), B(H), E;
4715
+ return E.start = d, E.end = y, r.locations && (E.loc.start = h, E.loc.end = O), r.ranges && (E.range = [d, y]), B(K), E;
4680
4716
  case dt:
4681
4717
  return f = V(), k(), f.elements = St(vt, !0, !0), w(f, "ArrayExpression");
4682
4718
  case we:
@@ -4686,11 +4722,11 @@ const Ms = {}, js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4686
4722
  case ir:
4687
4723
  return Ti();
4688
4724
  }
4689
- Q();
4725
+ ee();
4690
4726
  }
4691
4727
  function Ti() {
4692
4728
  var f = V();
4693
- return k(), f.callee = De(Nt(), !0), f.arguments = M(q) ? St(H, !1) : Xn, w(f, "NewExpression");
4729
+ return k(), f.callee = De(Nt(), !0), f.arguments = M(Z) ? St(K, !1) : Xn, w(f, "NewExpression");
4694
4730
  }
4695
4731
  function Si() {
4696
4732
  var f = V(), h = !0, d = !1;
@@ -4699,12 +4735,12 @@ const Ms = {}, js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4699
4735
  h = !1;
4700
4736
  else if (B(ne), r.allowTrailingCommas && M(Ee))
4701
4737
  break;
4702
- var E = { key: wr() }, C = !1, S;
4703
- if (M(Ce) ? (E.value = Y(!0), S = E.kind = "init") : E.key.type === "Identifier" && (E.key.name === "get" || E.key.name === "set") ? (C = d = !0, S = E.kind = E.key.name, E.key = wr(), b !== q && Q(), E.value = Tt(V(), !1)) : Q(), E.key.type === "Identifier" && (W || d))
4704
- for (var x = 0; x < f.properties.length; ++x) {
4705
- var U = f.properties[x];
4738
+ var E = { key: wr() }, x = !1, S;
4739
+ if (M(xe) ? (E.value = Y(!0), S = E.kind = "init") : E.key.type === "Identifier" && (E.key.name === "get" || E.key.name === "set") ? (x = d = !0, S = E.kind = E.key.name, E.key = wr(), b !== Z && ee(), E.value = Tt(V(), !1)) : ee(), E.key.type === "Identifier" && (W || d))
4740
+ for (var C = 0; C < f.properties.length; ++C) {
4741
+ var U = f.properties[C];
4706
4742
  if (U.key.name === E.key.name) {
4707
- var Fe = S === U.kind || C && U.kind === "init" || S === "init" && (U.kind === "get" || U.kind === "set");
4743
+ var Fe = S === U.kind || x && U.kind === "init" || S === "init" && (U.kind === "get" || U.kind === "set");
4708
4744
  Fe && !W && S === "init" && U.kind === "init" && (Fe = !1), Fe && A(E.key.start, "Redefinition of property");
4709
4745
  }
4710
4746
  }
@@ -4716,24 +4752,24 @@ const Ms = {}, js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4716
4752
  return b === Xe || b === ot ? Nt() : ae(!0);
4717
4753
  }
4718
4754
  function Tt(f, h) {
4719
- b === ye ? f.id = ae() : h ? Q() : f.id = null, f.params = [];
4755
+ b === ye ? f.id = ae() : h ? ee() : f.id = null, f.params = [];
4720
4756
  var d = !0;
4721
- for (B(q); !M(H); )
4757
+ for (B(Z); !M(K); )
4722
4758
  d ? d = !1 : B(ne), f.params.push(ae());
4723
- var E = se, C = j;
4724
- if (se = !0, j = [], f.body = ke(!0), se = E, j = C, W || f.body.body.length && gt(f.body.body[0]))
4759
+ var E = se, x = j;
4760
+ if (se = !0, j = [], f.body = ke(!0), se = E, j = x, W || f.body.body.length && gt(f.body.body[0]))
4725
4761
  for (var S = f.id ? -1 : 0; S < f.params.length; ++S) {
4726
- var x = S < 0 ? f.id : f.params[S];
4727
- if ((yr(x.name) || Je(x.name)) && A(x.start, "Defining '" + x.name + "' in strict mode"), S >= 0)
4762
+ var C = S < 0 ? f.id : f.params[S];
4763
+ if ((yr(C.name) || Je(C.name)) && A(C.start, "Defining '" + C.name + "' in strict mode"), S >= 0)
4728
4764
  for (var U = 0; U < S; ++U)
4729
- x.name === f.params[U].name && A(x.start, "Argument name clash in strict mode");
4765
+ C.name === f.params[U].name && A(C.start, "Argument name clash in strict mode");
4730
4766
  }
4731
4767
  return w(f, h ? "FunctionDeclaration" : "FunctionExpression");
4732
4768
  }
4733
4769
  function St(f, h, d) {
4734
- for (var E = [], C = !0; !M(f); ) {
4735
- if (C)
4736
- C = !1;
4770
+ for (var E = [], x = !0; !M(f); ) {
4771
+ if (x)
4772
+ x = !1;
4737
4773
  else if (B(ne), h && r.allowTrailingCommas && M(f))
4738
4774
  break;
4739
4775
  E.push(d && b === ne ? null : Y(!0));
@@ -4742,7 +4778,7 @@ const Ms = {}, js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4742
4778
  }
4743
4779
  function ae(f) {
4744
4780
  var h = V();
4745
- return f && r.forbidReserved === "everywhere" && (f = !1), b === ye ? (!f && (r.forbidReserved && ri(P) || W && yr(P)) && t.slice(l, y).indexOf("\\") === -1 && A(l, "The keyword '" + P + "' is reserved"), h.name = P) : f && b.keyword ? h.name = b.keyword : Q(), I = !1, k(), w(h, "Identifier");
4781
+ return f && r.forbidReserved === "everywhere" && (f = !1), b === ye ? (!f && (r.forbidReserved && ri(P) || W && yr(P)) && t.slice(l, y).indexOf("\\") === -1 && A(l, "The keyword '" + P + "' is reserved"), h.name = P) : f && b.keyword ? h.name = b.keyword : ee(), I = !1, k(), w(h, "Identifier");
4746
4782
  }
4747
4783
  });
4748
4784
  }
@@ -4754,7 +4790,7 @@ const Ms = {}, js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4754
4790
  \*********************/
4755
4791
  /***/
4756
4792
  (m) => {
4757
- m.exports = Bs;
4793
+ m.exports = $s;
4758
4794
  }
4759
4795
  )
4760
4796
  /******/
@@ -4803,9 +4839,9 @@ const Ms = {}, js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4803
4839
  })()
4804
4840
  ));
4805
4841
  })(Gn);
4806
- var $s = Gn.exports;
4807
- const Gs = /* @__PURE__ */ Ls($s);
4808
- function Vs(n, s) {
4842
+ var Gs = Gn.exports;
4843
+ const Vs = /* @__PURE__ */ Us(Gs);
4844
+ function Ys(n, s) {
4809
4845
  function p(v) {
4810
4846
  const g = n.pseudoToNative(v);
4811
4847
  console.log(g);
@@ -4816,7 +4852,7 @@ function Vs(n, s) {
4816
4852
  n.createNativeFunction(p)
4817
4853
  );
4818
4854
  }
4819
- class Ys {
4855
+ class Xs {
4820
4856
  constructor(s) {
4821
4857
  wt(this, "context");
4822
4858
  wt(this, "nodes");
@@ -4863,8 +4899,8 @@ class Ys {
4863
4899
  this.getNode(s);
4864
4900
  }
4865
4901
  }
4866
- function Xs(n, s, p) {
4867
- const v = new Ys(n);
4902
+ function Ws(n, s, p) {
4903
+ const v = new Xs(n);
4868
4904
  function g(t, e, i) {
4869
4905
  const o = s.pseudoToNative(t), u = s.pseudoToNative(e), c = s.pseudoToNative(i), a = v.addNode(o, u, c);
4870
4906
  return s.nativeToPseudo(a);
@@ -4951,16 +4987,16 @@ function Xs(n, s, p) {
4951
4987
  s.createAsyncFunction(r)
4952
4988
  );
4953
4989
  }
4954
- function Ws(n, s, p) {
4955
- Vs(s, p), Xs(n, s, p);
4990
+ function zs(n, s, p) {
4991
+ Ys(s, p), Ws(n, s, p);
4956
4992
  }
4957
- const zs = `
4993
+ const Js = `
4958
4994
  var __env__ = 'dev'
4959
4995
 
4960
4996
  function __getEnv__() {
4961
4997
  return __env__
4962
4998
  }
4963
- `, Js = `
4999
+ `, Hs = `
4964
5000
  var __events__ = {}
4965
5001
 
4966
5002
  function __addEventListenerV1__(id, event, callback) {
@@ -5031,12 +5067,12 @@ function __triggerEvent__(id, event, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p1
5031
5067
  callbacks[i](p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16)
5032
5068
  }
5033
5069
  }
5034
- `, Hs = zs + Js;
5035
- function Ks(n, s) {
5036
- const p = new Gs(
5037
- Hs,
5070
+ `, Ks = Js + Hs;
5071
+ function qs(n, s) {
5072
+ const p = new Vs(
5073
+ Ks,
5038
5074
  (v, g) => {
5039
- Ws(n, v, g);
5075
+ zs(n, v, g);
5040
5076
  }
5041
5077
  );
5042
5078
  return p.appendCode(s), p.appendCode(`
@@ -5047,7 +5083,7 @@ __triggerEvent__('globality', 'startup');
5047
5083
  function nn(n) {
5048
5084
  n.appendCode("__destrory__();"), n.run();
5049
5085
  }
5050
- const qs = /* @__PURE__ */ on({
5086
+ const Zs = /* @__PURE__ */ on({
5051
5087
  __name: "index",
5052
5088
  props: {
5053
5089
  id: {},
@@ -5056,13 +5092,13 @@ const qs = /* @__PURE__ */ on({
5056
5092
  outer: { type: Boolean }
5057
5093
  },
5058
5094
  setup(n) {
5059
- const { t: s } = Di(), p = n, v = Rs(), g = Ss(), R = Ps(), m = ws(), N = Cr();
5095
+ const { t: s } = Di(), p = n, v = Rs(), g = Ss(), R = Ps(), m = ws(), N = xr();
5060
5096
  Ai(() => {
5061
5097
  N.value = m[p.refContext.refid];
5062
5098
  });
5063
- const T = Cr();
5064
- Cs(T), Ii(N, (a) => {
5065
- a || Ui.emit("compNotAvail", p.refContext.refid), T.value && (nn(T.value), T.value = void 0), a && (T.value = Ks(
5099
+ const T = xr();
5100
+ xs(T), Ii(N, (a) => {
5101
+ a || Ui.emit("compNotAvail", p.refContext.refid), T.value && (nn(T.value), T.value = void 0), a && (T.value = qs(
5066
5102
  {
5067
5103
  env: v,
5068
5104
  type: g,
@@ -5073,7 +5109,7 @@ const qs = /* @__PURE__ */ on({
5073
5109
  }), ki(() => {
5074
5110
  T.value && (nn(T.value), T.value = void 0);
5075
5111
  });
5076
- const { applySize: r } = Ds(p), t = ee(() => {
5112
+ const { applySize: r } = Fs(p), t = z(() => {
5077
5113
  const a = {};
5078
5114
  switch (R.type) {
5079
5115
  case "common":
@@ -5240,23 +5276,23 @@ const qs = /* @__PURE__ */ on({
5240
5276
  default: ""
5241
5277
  }
5242
5278
  ]
5243
- }, Zs = [Vn, Yn], Qs = [Vn, Yn], ec = {
5279
+ }, Qs = [Vn, Yn], ec = [Vn, Yn], tc = {
5244
5280
  key: "ref_v1",
5245
5281
  name: "x-runtime-lib.ref",
5246
- comp: qs,
5282
+ comp: Zs,
5247
5283
  leaf: !0,
5248
5284
  events: [],
5249
5285
  methods: [],
5250
5286
  props: {
5251
- pageCommon: Zs,
5252
- compCommon: Qs
5287
+ pageCommon: Qs,
5288
+ compCommon: ec
5253
5289
  }
5254
5290
  }, Ne = {
5255
5291
  // basic
5256
- btn_v1: Is,
5257
- globality_v1: ks,
5258
- ref_v1: ec
5259
- }, tc = {
5292
+ btn_v1: ks,
5293
+ globality_v1: Ds,
5294
+ ref_v1: tc
5295
+ }, rc = {
5260
5296
  key: "add",
5261
5297
  name: "add",
5262
5298
  outputs: [
@@ -5268,9 +5304,9 @@ const qs = /* @__PURE__ */ on({
5268
5304
  };
5269
5305
  for (const n in Ne) {
5270
5306
  const s = Ne[n];
5271
- s.leaf || s.methods.unshift(tc);
5307
+ s.leaf || s.methods.unshift(rc);
5272
5308
  }
5273
- const rc = (n, s, p) => {
5309
+ const nc = (n, s, p) => {
5274
5310
  const v = n[s];
5275
5311
  return v ? typeof v == "function" ? v() : Promise.resolve(v) : new Promise((g, R) => {
5276
5312
  (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
@@ -5283,14 +5319,14 @@ const rc = (n, s, p) => {
5283
5319
  );
5284
5320
  });
5285
5321
  };
5286
- async function gc(n) {
5287
- return (await rc(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en-qjkol4ql.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans-chbmhnb3.js") }), `./locales/${n}/index.ts`, 4)).default;
5322
+ async function _c(n) {
5323
+ return (await nc(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en-qjkol4ql.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans-chbmhnb3.js") }), `./locales/${n}/index.ts`, 4)).default;
5288
5324
  }
5289
5325
  export {
5290
- cc as duplicateNode,
5326
+ fc as duplicateNode,
5291
5327
  Ne as elements,
5292
5328
  fn as genId,
5293
- sc as getNode,
5329
+ cc as getNode,
5294
5330
  Qr as getPropDefault,
5295
5331
  bs as getPropTag,
5296
5332
  en as initProps,
@@ -5299,25 +5335,25 @@ export {
5299
5335
  ws as injectDepends,
5300
5336
  Ns as injectDevice,
5301
5337
  Rs as injectEnv,
5302
- Ec as injectInterpreter,
5338
+ gc as injectInterpreter,
5303
5339
  Os as injectMode,
5304
5340
  Ss as injectType,
5305
5341
  $i as isEmptyStr,
5306
5342
  Vi as isPercentStr,
5307
5343
  Gi as isPixelStr,
5308
- gc as loadLocaleMessageRuntime,
5309
- Ct as parsePercentStr,
5310
- uc as parsePixelStr,
5344
+ _c as loadLocaleMessageRuntime,
5345
+ xt as parsePercentStr,
5346
+ sc as parsePixelStr,
5311
5347
  cn as pkgs,
5312
- hc as provideDark,
5313
- vc as provideData,
5314
- yc as provideDepends,
5315
- pc as provideDevice,
5316
- fc as provideEnv,
5317
- Cs as provideInterpreter,
5318
- lc as provideMode,
5319
- dc as provideType,
5348
+ dc as provideDark,
5349
+ yc as provideData,
5350
+ Ec as provideDepends,
5351
+ hc as provideDevice,
5352
+ lc as provideEnv,
5353
+ xs as provideInterpreter,
5354
+ pc as provideMode,
5355
+ vc as provideType,
5320
5356
  ms as spawnNode,
5321
- Ks as startInterpreter,
5357
+ qs as startInterpreter,
5322
5358
  nn as stopInterpreter
5323
5359
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-runtime-lib",
3
3
  "private": false,
4
- "version": "0.4.7",
4
+ "version": "0.4.8",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",