@chamn/render 0.5.0 → 0.5.2

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,7 +1,7 @@
1
1
  var ga = Object.defineProperty;
2
2
  var va = (t, e, r) => e in t ? ga(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
3
3
  var w = (t, e, r) => va(t, typeof e != "symbol" ? e + "" : e, r);
4
- import x, { Component as ya, createElement as ba, useEffect as Ln, useRef as Fn, useMemo as Vn } from "react";
4
+ import $, { Component as ya, createElement as ba, useEffect as Ln, useRef as Fn, useMemo as Vn } from "react";
5
5
  const _a = (t) => () => {
6
6
  console.warn(`${t} need to be implement getComponent`);
7
7
  }, Sa = ["customPageRootRender"], Mr = [
@@ -22,7 +22,7 @@ const _a = (t) => () => {
22
22
  var o;
23
23
  return t != null && t[n] ? r[n] = (o = t[n]) == null ? void 0 : o.bind(t) : Mr.includes(n) && (r[n] = _a), r;
24
24
  }, {});
25
- var kn = typeof global == "object" && global && global.Object === Object && global, ja = typeof self == "object" && self && self.Object === Object && self, xt = kn || ja || Function("return this")(), Ot = xt.Symbol, Un = Object.prototype, wa = Un.hasOwnProperty, Ca = Un.toString, Vt = Ot ? Ot.toStringTag : void 0;
25
+ var kn = typeof global == "object" && global && global.Object === Object && global, ja = typeof self == "object" && self && self.Object === Object && self, $t = kn || ja || Function("return this")(), Ot = $t.Symbol, Un = Object.prototype, wa = Un.hasOwnProperty, Ca = Un.toString, Vt = Ot ? Ot.toStringTag : void 0;
26
26
  function Ea(t) {
27
27
  var e = wa.call(t, Vt), r = t[Vt];
28
28
  try {
@@ -33,13 +33,13 @@ function Ea(t) {
33
33
  var o = Ca.call(t);
34
34
  return n && (e ? t[Vt] = r : delete t[Vt]), o;
35
35
  }
36
- var Na = Object.prototype, $a = Na.toString;
37
- function xa(t) {
38
- return $a.call(t);
36
+ var Na = Object.prototype, xa = Na.toString;
37
+ function $a(t) {
38
+ return xa.call(t);
39
39
  }
40
40
  var Ra = "[object Null]", Ta = "[object Undefined]", Ir = Ot ? Ot.toStringTag : void 0;
41
41
  function te(t) {
42
- return t == null ? t === void 0 ? Ta : Ra : Ir && Ir in Object(t) ? Ea(t) : xa(t);
42
+ return t == null ? t === void 0 ? Ta : Ra : Ir && Ir in Object(t) ? Ea(t) : $a(t);
43
43
  }
44
44
  function Rt(t) {
45
45
  return t != null && typeof t == "object";
@@ -78,7 +78,7 @@ function tr(t) {
78
78
  var e = te(t);
79
79
  return e == Da || e == La || e == Pa || e == Fa;
80
80
  }
81
- var Ce = xt["__core-js_shared__"], Lr = function() {
81
+ var Ce = $t["__core-js_shared__"], Lr = function() {
82
82
  var t = /[^.]+$/.exec(Ce && Ce.keys && Ce.keys.IE_PROTO || "");
83
83
  return t ? "Symbol(src)_1." + t : "";
84
84
  }();
@@ -267,9 +267,9 @@ var Jn = Object.prototype, Os = Jn.hasOwnProperty, js = Jn.propertyIsEnumerable,
267
267
  function ws() {
268
268
  return !1;
269
269
  }
270
- var Wn = typeof exports == "object" && exports && !exports.nodeType && exports, Ur = Wn && typeof module == "object" && module && !module.nodeType && module, Cs = Ur && Ur.exports === Wn, Br = Cs ? xt.Buffer : void 0, Es = Br ? Br.isBuffer : void 0, Qn = Es || ws, Ns = "[object Arguments]", $s = "[object Array]", xs = "[object Boolean]", Rs = "[object Date]", Ts = "[object Error]", As = "[object Function]", Ms = "[object Map]", Is = "[object Number]", Ps = "[object Object]", Ds = "[object RegExp]", Ls = "[object Set]", Fs = "[object String]", Vs = "[object WeakMap]", ks = "[object ArrayBuffer]", Us = "[object DataView]", Bs = "[object Float32Array]", zs = "[object Float64Array]", Gs = "[object Int8Array]", Hs = "[object Int16Array]", qs = "[object Int32Array]", Js = "[object Uint8Array]", Ws = "[object Uint8ClampedArray]", Qs = "[object Uint16Array]", Ys = "[object Uint32Array]", M = {};
270
+ var Wn = typeof exports == "object" && exports && !exports.nodeType && exports, Ur = Wn && typeof module == "object" && module && !module.nodeType && module, Cs = Ur && Ur.exports === Wn, Br = Cs ? $t.Buffer : void 0, Es = Br ? Br.isBuffer : void 0, Qn = Es || ws, Ns = "[object Arguments]", xs = "[object Array]", $s = "[object Boolean]", Rs = "[object Date]", Ts = "[object Error]", As = "[object Function]", Ms = "[object Map]", Is = "[object Number]", Ps = "[object Object]", Ds = "[object RegExp]", Ls = "[object Set]", Fs = "[object String]", Vs = "[object WeakMap]", ks = "[object ArrayBuffer]", Us = "[object DataView]", Bs = "[object Float32Array]", zs = "[object Float64Array]", Gs = "[object Int8Array]", Hs = "[object Int16Array]", qs = "[object Int32Array]", Js = "[object Uint8Array]", Ws = "[object Uint8ClampedArray]", Qs = "[object Uint16Array]", Ys = "[object Uint32Array]", M = {};
271
271
  M[Bs] = M[zs] = M[Gs] = M[Hs] = M[qs] = M[Js] = M[Ws] = M[Qs] = M[Ys] = !0;
272
- M[Ns] = M[$s] = M[ks] = M[xs] = M[Us] = M[Rs] = M[Ts] = M[As] = M[Ms] = M[Is] = M[Ps] = M[Ds] = M[Ls] = M[Fs] = M[Vs] = !1;
272
+ M[Ns] = M[xs] = M[ks] = M[$s] = M[Us] = M[Rs] = M[Ts] = M[As] = M[Ms] = M[Is] = M[Ps] = M[Ds] = M[Ls] = M[Fs] = M[Vs] = !1;
273
273
  function Ks(t) {
274
274
  return Rt(t) && Hn(t.length) && !!M[te(t)];
275
275
  }
@@ -398,7 +398,7 @@ et.prototype.delete = _i;
398
398
  et.prototype.get = Si;
399
399
  et.prototype.has = Oi;
400
400
  et.prototype.set = ji;
401
- var Zn = er(xt, "Map");
401
+ var Zn = er($t, "Map");
402
402
  function wi() {
403
403
  this.size = 0, this.__data__ = {
404
404
  hash: new ft(),
@@ -421,10 +421,10 @@ function Ei(t) {
421
421
  function Ni(t) {
422
422
  return he(this, t).get(t);
423
423
  }
424
- function $i(t) {
424
+ function xi(t) {
425
425
  return he(this, t).has(t);
426
426
  }
427
- function xi(t, e) {
427
+ function $i(t, e) {
428
428
  var r = he(this, t), n = r.size;
429
429
  return r.set(t, e), this.size += r.size == n ? 0 : 1, this;
430
430
  }
@@ -438,8 +438,8 @@ function Tt(t) {
438
438
  Tt.prototype.clear = wi;
439
439
  Tt.prototype.delete = Ei;
440
440
  Tt.prototype.get = Ni;
441
- Tt.prototype.has = $i;
442
- Tt.prototype.set = xi;
441
+ Tt.prototype.has = xi;
442
+ Tt.prototype.set = $i;
443
443
  function to(t) {
444
444
  return t == null ? "" : Bn(t);
445
445
  }
@@ -522,12 +522,12 @@ Mt.prototype.delete = lc;
522
522
  Mt.prototype.get = fc;
523
523
  Mt.prototype.has = dc;
524
524
  Mt.prototype.set = hc;
525
- var lo = typeof exports == "object" && exports && !exports.nodeType && exports, Hr = lo && typeof module == "object" && module && !module.nodeType && module, mc = Hr && Hr.exports === lo, qr = mc ? xt.Buffer : void 0;
525
+ var lo = typeof exports == "object" && exports && !exports.nodeType && exports, Hr = lo && typeof module == "object" && module && !module.nodeType && module, mc = Hr && Hr.exports === lo, qr = mc ? $t.Buffer : void 0;
526
526
  qr && qr.allocUnsafe;
527
527
  function gc(t, e) {
528
528
  return t.slice();
529
529
  }
530
- var Jr = xt.Uint8Array;
530
+ var Jr = $t.Uint8Array;
531
531
  function vc(t) {
532
532
  var e = new t.constructor(t.byteLength);
533
533
  return new Jr(e).set(new Jr(t)), e;
@@ -601,7 +601,7 @@ function Nc(t) {
601
601
  const r = typeof Symbol == "function" && Symbol.for ? Symbol.for("react.forward_ref") : 60112;
602
602
  return (t == null ? void 0 : t.$$typeof) === r || ((n = t == null ? void 0 : t.prototype) == null ? void 0 : n.isReactComponent) || ((o = t == null ? void 0 : t.prototype) == null ? void 0 : o.setState) || t._forwardRef;
603
603
  }
604
- function $c(t) {
604
+ function xc(t) {
605
605
  class e extends ya {
606
606
  render() {
607
607
  return ba(t, this.props);
@@ -667,7 +667,7 @@ const bt = (t, e) => {
667
667
  return e.forEach((n, o) => {
668
668
  r[n] = t[o];
669
669
  }), r;
670
- }, xc = (t = []) => {
670
+ }, $c = (t = []) => {
671
671
  const e = {};
672
672
  return t.forEach(({ property: r, value: n }) => {
673
673
  let o = r.replace("-webkit", "Webkit");
@@ -1031,10 +1031,10 @@ function cr(t, e, r) {
1031
1031
  function ee(t, e) {
1032
1032
  return t === e || t !== t && e !== e;
1033
1033
  }
1034
- var Nu = Object.prototype, $u = Nu.hasOwnProperty;
1034
+ var Nu = Object.prototype, xu = Nu.hasOwnProperty;
1035
1035
  function ur(t, e, r) {
1036
1036
  var n = t[e];
1037
- (!($u.call(t, e) && ee(n, r)) || r === void 0 && !(e in t)) && cr(t, e, r);
1037
+ (!(xu.call(t, e) && ee(n, r)) || r === void 0 && !(e in t)) && cr(t, e, r);
1038
1038
  }
1039
1039
  function It(t, e, r, n) {
1040
1040
  var o = !r;
@@ -1059,9 +1059,9 @@ function So(t, e, r) {
1059
1059
  function Oo(t, e) {
1060
1060
  return _o(So(t, e, sr), t + "");
1061
1061
  }
1062
- var xu = 9007199254740991;
1062
+ var $u = 9007199254740991;
1063
1063
  function lr(t) {
1064
- return typeof t == "number" && t > -1 && t % 1 == 0 && t <= xu;
1064
+ return typeof t == "number" && t > -1 && t % 1 == 0 && t <= $u;
1065
1065
  }
1066
1066
  function ve(t) {
1067
1067
  return t != null && lr(t.length) && !ir(t);
@@ -1115,10 +1115,10 @@ function dr(t) {
1115
1115
  return t(e);
1116
1116
  };
1117
1117
  }
1118
- var Co = typeof exports == "object" && exports && !exports.nodeType && exports, zt = Co && typeof module == "object" && module && !module.nodeType && module, fl = zt && zt.exports === Co, $e = fl && go.process, wt = function() {
1118
+ var Co = typeof exports == "object" && exports && !exports.nodeType && exports, zt = Co && typeof module == "object" && module && !module.nodeType && module, fl = zt && zt.exports === Co, xe = fl && go.process, wt = function() {
1119
1119
  try {
1120
1120
  var t = zt && zt.require && zt.require("util").types;
1121
- return t || $e && $e.binding && $e.binding("util");
1121
+ return t || xe && xe.binding && xe.binding("util");
1122
1122
  } catch {
1123
1123
  }
1124
1124
  }(), sn = wt && wt.isTypedArray, pr = sn ? dr(sn) : ll, dl = Object.prototype, pl = dl.hasOwnProperty;
@@ -1183,14 +1183,14 @@ function Cl(t) {
1183
1183
  var e = this.has(t) && delete this.__data__[t];
1184
1184
  return this.size -= e ? 1 : 0, e;
1185
1185
  }
1186
- var El = "__lodash_hash_undefined__", Nl = Object.prototype, $l = Nl.hasOwnProperty;
1187
- function xl(t) {
1186
+ var El = "__lodash_hash_undefined__", Nl = Object.prototype, xl = Nl.hasOwnProperty;
1187
+ function $l(t) {
1188
1188
  var e = this.__data__;
1189
1189
  if (Qt) {
1190
1190
  var r = e[t];
1191
1191
  return r === El ? void 0 : r;
1192
1192
  }
1193
- return $l.call(e, t) ? e[t] : void 0;
1193
+ return xl.call(e, t) ? e[t] : void 0;
1194
1194
  }
1195
1195
  var Rl = Object.prototype, Tl = Rl.hasOwnProperty;
1196
1196
  function Al(t) {
@@ -1211,7 +1211,7 @@ function dt(t) {
1211
1211
  }
1212
1212
  dt.prototype.clear = wl;
1213
1213
  dt.prototype.delete = Cl;
1214
- dt.prototype.get = xl;
1214
+ dt.prototype.get = $l;
1215
1215
  dt.prototype.has = Al;
1216
1216
  dt.prototype.set = Il;
1217
1217
  function Pl() {
@@ -1341,7 +1341,7 @@ function Se(t, e) {
1341
1341
  t = t[Dt(e[r++])];
1342
1342
  return r && r == n ? t : void 0;
1343
1343
  }
1344
- function $o(t, e, r) {
1344
+ function xo(t, e, r) {
1345
1345
  var n = t == null ? void 0 : Se(t, e);
1346
1346
  return n === void 0 ? r : n;
1347
1347
  }
@@ -1354,7 +1354,7 @@ var cn = G ? G.isConcatSpreadable : void 0;
1354
1354
  function ef(t) {
1355
1355
  return L(t) || Jt(t) || !!(cn && t && t[cn]);
1356
1356
  }
1357
- function xo(t, e, r, n, o) {
1357
+ function $o(t, e, r, n, o) {
1358
1358
  var a = -1, s = t.length;
1359
1359
  for (r || (r = ef), o || (o = []); ++a < s; ) {
1360
1360
  var i = t[a];
@@ -1364,7 +1364,7 @@ function xo(t, e, r, n, o) {
1364
1364
  }
1365
1365
  function rf(t) {
1366
1366
  var e = t == null ? 0 : t.length;
1367
- return e ? xo(t) : [];
1367
+ return e ? $o(t) : [];
1368
1368
  }
1369
1369
  function nf(t) {
1370
1370
  return _o(So(t, void 0, rf), t + "");
@@ -1468,16 +1468,16 @@ function Ue(t) {
1468
1468
  function br(t) {
1469
1469
  return Po(t, re, Io);
1470
1470
  }
1471
- var Be = vt(X, "DataView"), ze = vt(X, "Promise"), _t = vt(X, "Set"), pn = "[object Map]", Ef = "[object Object]", hn = "[object Promise]", mn = "[object Set]", gn = "[object WeakMap]", vn = "[object DataView]", Nf = gt(Be), $f = gt(Yt), xf = gt(ze), Rf = gt(_t), Tf = gt(ke), q = mt;
1471
+ var Be = vt(X, "DataView"), ze = vt(X, "Promise"), _t = vt(X, "Set"), pn = "[object Map]", Ef = "[object Object]", hn = "[object Promise]", mn = "[object Set]", gn = "[object WeakMap]", vn = "[object DataView]", Nf = gt(Be), xf = gt(Yt), $f = gt(ze), Rf = gt(_t), Tf = gt(ke), q = mt;
1472
1472
  (Be && q(new Be(new ArrayBuffer(1))) != vn || Yt && q(new Yt()) != pn || ze && q(ze.resolve()) != hn || _t && q(new _t()) != mn || ke && q(new ke()) != gn) && (q = function(t) {
1473
1473
  var e = mt(t), r = e == Ef ? t.constructor : void 0, n = r ? gt(r) : "";
1474
1474
  if (n)
1475
1475
  switch (n) {
1476
1476
  case Nf:
1477
1477
  return vn;
1478
- case $f:
1479
- return pn;
1480
1478
  case xf:
1479
+ return pn;
1480
+ case $f:
1481
1481
  return hn;
1482
1482
  case Rf:
1483
1483
  return mn;
@@ -1558,8 +1558,8 @@ var _n = wt && wt.isMap, id = _n ? dr(_n) : sd, cd = "[object Set]";
1558
1558
  function ud(t) {
1559
1559
  return K(t) && q(t) == cd;
1560
1560
  }
1561
- var Sn = wt && wt.isSet, ld = Sn ? dr(Sn) : ud, fd = 1, dd = 2, pd = 4, Fo = "[object Arguments]", hd = "[object Array]", md = "[object Boolean]", gd = "[object Date]", vd = "[object Error]", Vo = "[object Function]", yd = "[object GeneratorFunction]", bd = "[object Map]", _d = "[object Number]", ko = "[object Object]", Sd = "[object RegExp]", Od = "[object Set]", jd = "[object String]", wd = "[object Symbol]", Cd = "[object WeakMap]", Ed = "[object ArrayBuffer]", Nd = "[object DataView]", $d = "[object Float32Array]", xd = "[object Float64Array]", Rd = "[object Int8Array]", Td = "[object Int16Array]", Ad = "[object Int32Array]", Md = "[object Uint8Array]", Id = "[object Uint8ClampedArray]", Pd = "[object Uint16Array]", Dd = "[object Uint32Array]", A = {};
1562
- A[Fo] = A[hd] = A[Ed] = A[Nd] = A[md] = A[gd] = A[$d] = A[xd] = A[Rd] = A[Td] = A[Ad] = A[bd] = A[_d] = A[ko] = A[Sd] = A[Od] = A[jd] = A[wd] = A[Md] = A[Id] = A[Pd] = A[Dd] = !0;
1561
+ var Sn = wt && wt.isSet, ld = Sn ? dr(Sn) : ud, fd = 1, dd = 2, pd = 4, Fo = "[object Arguments]", hd = "[object Array]", md = "[object Boolean]", gd = "[object Date]", vd = "[object Error]", Vo = "[object Function]", yd = "[object GeneratorFunction]", bd = "[object Map]", _d = "[object Number]", ko = "[object Object]", Sd = "[object RegExp]", Od = "[object Set]", jd = "[object String]", wd = "[object Symbol]", Cd = "[object WeakMap]", Ed = "[object ArrayBuffer]", Nd = "[object DataView]", xd = "[object Float32Array]", $d = "[object Float64Array]", Rd = "[object Int8Array]", Td = "[object Int16Array]", Ad = "[object Int32Array]", Md = "[object Uint8Array]", Id = "[object Uint8ClampedArray]", Pd = "[object Uint16Array]", Dd = "[object Uint32Array]", A = {};
1562
+ A[Fo] = A[hd] = A[Ed] = A[Nd] = A[md] = A[gd] = A[xd] = A[$d] = A[Rd] = A[Td] = A[Ad] = A[bd] = A[_d] = A[ko] = A[Sd] = A[Od] = A[jd] = A[wd] = A[Md] = A[Id] = A[Pd] = A[Dd] = !0;
1563
1563
  A[vd] = A[Vo] = A[Cd] = !1;
1564
1564
  function Gt(t, e, r, n, o, a) {
1565
1565
  var s, i = e & fd, c = e & dd, u = e & pd;
@@ -1671,7 +1671,7 @@ function Sr(t) {
1671
1671
  r[++e] = n;
1672
1672
  }), r;
1673
1673
  }
1674
- var qd = 1, Jd = 2, Wd = "[object Boolean]", Qd = "[object Date]", Yd = "[object Error]", Kd = "[object Map]", Xd = "[object Number]", Zd = "[object RegExp]", tp = "[object Set]", ep = "[object String]", rp = "[object Symbol]", np = "[object ArrayBuffer]", op = "[object DataView]", On = G ? G.prototype : void 0, xe = On ? On.valueOf : void 0;
1674
+ var qd = 1, Jd = 2, Wd = "[object Boolean]", Qd = "[object Date]", Yd = "[object Error]", Kd = "[object Map]", Xd = "[object Number]", Zd = "[object RegExp]", tp = "[object Set]", ep = "[object String]", rp = "[object Symbol]", np = "[object ArrayBuffer]", op = "[object DataView]", On = G ? G.prototype : void 0, $e = On ? On.valueOf : void 0;
1675
1675
  function ap(t, e, r, n, o, a, s) {
1676
1676
  switch (r) {
1677
1677
  case op:
@@ -1702,8 +1702,8 @@ function ap(t, e, r, n, o, a, s) {
1702
1702
  var f = zo(i(t), i(e), n, o, a, s);
1703
1703
  return s.delete(t), f;
1704
1704
  case rp:
1705
- if (xe)
1706
- return xe.call(t) == xe.call(e);
1705
+ if ($e)
1706
+ return $e.call(t) == $e.call(e);
1707
1707
  }
1708
1708
  return !1;
1709
1709
  }
@@ -1827,7 +1827,7 @@ function _p(t, e) {
1827
1827
  var Sp = 1, Op = 2;
1828
1828
  function jp(t, e) {
1829
1829
  return hr(t) && Go(e) ? Ho(Dt(t), e) : function(r) {
1830
- var n = $o(r, t);
1830
+ var n = xo(r, t);
1831
1831
  return n === void 0 && n === e ? _p(r, t) : Or(e, n, Sp | Op);
1832
1832
  };
1833
1833
  }
@@ -1857,7 +1857,7 @@ function Np(t) {
1857
1857
  return e;
1858
1858
  };
1859
1859
  }
1860
- var $p = Np();
1860
+ var xp = Np();
1861
1861
  function Ge(t, e, r) {
1862
1862
  (r !== void 0 && !ee(t[e], r) || r === void 0 && !(e in t)) && cr(t, e, r);
1863
1863
  }
@@ -1868,7 +1868,7 @@ function qe(t, e) {
1868
1868
  if (!(e === "constructor" && typeof t[e] == "function") && e != "__proto__")
1869
1869
  return t[e];
1870
1870
  }
1871
- function xp(t) {
1871
+ function $p(t) {
1872
1872
  return It(t, re(t));
1873
1873
  }
1874
1874
  function Rp(t, e, r, n, o, a, s) {
@@ -1880,12 +1880,12 @@ function Rp(t, e, r, n, o, a, s) {
1880
1880
  var f = a ? a(i, c, r + "", t, e, s) : void 0, l = f === void 0;
1881
1881
  if (l) {
1882
1882
  var d = L(c), p = !d && Wt(c), y = !d && !p && pr(c);
1883
- f = c, d || p || y ? L(i) ? f = i : He(i) ? f = bo(i) : p ? (l = !1, f = Ao(c, !0)) : y ? (l = !1, f = Do(c, !0)) : f = [] : V(c) || Jt(c) ? (f = i, Jt(i) ? f = xp(i) : (!Q(i) || ir(i)) && (f = Lo(c))) : l = !1;
1883
+ f = c, d || p || y ? L(i) ? f = i : He(i) ? f = bo(i) : p ? (l = !1, f = Ao(c, !0)) : y ? (l = !1, f = Do(c, !0)) : f = [] : V(c) || Jt(c) ? (f = i, Jt(i) ? f = $p(i) : (!Q(i) || ir(i)) && (f = Lo(c))) : l = !1;
1884
1884
  }
1885
1885
  l && (s.set(c, f), o(f, c, n, a, s), s.delete(c)), Ge(t, r, f);
1886
1886
  }
1887
1887
  function qo(t, e, r, n, o) {
1888
- t !== e && $p(e, function(a, s) {
1888
+ t !== e && xp(e, function(a, s) {
1889
1889
  if (o || (o = new J()), Q(a))
1890
1890
  Rp(t, e, s, r, qo, n, o);
1891
1891
  else {
@@ -2002,7 +2002,7 @@ function qp(t, e, r) {
2002
2002
  }
2003
2003
  var Jp = Oo(function(t) {
2004
2004
  var e = Jo(t);
2005
- return He(e) && (e = void 0), qp(xo(t, 1, He, !0), jr(e));
2005
+ return He(e) && (e = void 0), qp($o(t, 1, He, !0), jr(e));
2006
2006
  });
2007
2007
  class Yo extends TypeError {
2008
2008
  constructor(e, r) {
@@ -2402,7 +2402,7 @@ const Er = R({
2402
2402
  "CNativeTag"
2403
2403
  ];
2404
2404
  var F = /* @__PURE__ */ ((t) => (t.SLOT = "SLOT", t.FUNCTION = "FUNCTION", t.EXPRESSION = "EXPRESSION", t.ACTION = "ACTION", t.EVENT = "EVENT", t))(F || {}), Nr = /* @__PURE__ */ ((t) => (t.DESIGN = "design", t.SAVE = "save", t))(Nr || {}), We = /* @__PURE__ */ ((t) => (t.FUNC = "FUNC", t.COMP = "COMP", t))(We || {});
2405
- const oh = () => st("normalObj", (t) => !V(t) || [F.SLOT, F.EXPRESSION, F.FUNCTION].includes(t == null ? void 0 : t.type) ? !1 : (Lt(t, Ht(O(), $r)), !0)), $r = U([
2405
+ const oh = () => st("normalObj", (t) => !V(t) || [F.SLOT, F.EXPRESSION, F.FUNCTION].includes(t == null ? void 0 : t.type) ? !1 : (Lt(t, Ht(O(), xr)), !0)), xr = U([
2406
2406
  O(),
2407
2407
  ta(),
2408
2408
  pt(),
@@ -2429,7 +2429,7 @@ const oh = () => st("normalObj", (t) => !V(t) || [F.SLOT, F.EXPRESSION, F.FUNCTI
2429
2429
  }),
2430
2430
  oh(),
2431
2431
  P(
2432
- Ct(() => $r)
2432
+ Ct(() => xr)
2433
2433
  )
2434
2434
  ]);
2435
2435
  var ra = /* @__PURE__ */ ((t) => (t.COMPONENTS = "COMPONENTS", t))(ra || {});
@@ -2440,7 +2440,7 @@ const Nn = R({
2440
2440
  id: b(O()),
2441
2441
  title: b(O()),
2442
2442
  componentName: O(),
2443
- props: b(Ht(O(), $r)),
2443
+ props: b(Ht(O(), xr)),
2444
2444
  nodeName: b(O()),
2445
2445
  state: b(Ht(O(), T())),
2446
2446
  children: Ct(() => b(P(U([O(), Et])))),
@@ -2644,7 +2644,7 @@ const uh = R({
2644
2644
  return o.message || r ? console.warn(`${o.message || r}
2645
2645
  originData: ${JSON.stringify(e)}`) : console.warn(`${JSON.stringify(e)}
2646
2646
  data struct format is invalidate`), o;
2647
- }, xr = (t) => {
2647
+ }, $r = (t) => {
2648
2648
  const { data: e, message: r, throwError: n, dataStruct: o } = t;
2649
2649
  return fh(({ data: a }) => {
2650
2650
  try {
@@ -2696,8 +2696,8 @@ const ne = hh(), mh = (t, e) => {
2696
2696
  ...t,
2697
2697
  value: []
2698
2698
  }, n = t.value;
2699
- let o = new $t([]);
2700
- return e && (o = e.materialsMode || new $t([])), n && (L(n) ? r.value = n.map(
2699
+ let o = new xt([]);
2700
+ return e && (o = e.materialsMode || new xt([])), n && (L(n) ? r.value = n.map(
2701
2701
  (a) => new D(a, {
2702
2702
  parent: e,
2703
2703
  materials: o
@@ -2712,7 +2712,7 @@ const ne = hh(), mh = (t, e) => {
2712
2712
  class Nt {
2713
2713
  constructor(e, r) {
2714
2714
  C(this, "nodeType", "SLOT"), C(this, "rawData"), C(this, "parent"), C(this, "emitter", ne), C(this, "data"), C(this, "id"), C(this, "materialsMode"), this.parent = (r == null ? void 0 : r.parent) || null, this.rawData = e;
2715
- const n = (r == null ? void 0 : r.materials) || new $t([]);
2715
+ const n = (r == null ? void 0 : r.materials) || new xt([]);
2716
2716
  this.materialsMode = n, this.id = tt(), this.data = mh(e, this);
2717
2717
  }
2718
2718
  get value() {
@@ -2752,7 +2752,7 @@ const na = (t) => {
2752
2752
  class at {
2753
2753
  constructor(e, r, n) {
2754
2754
  C(this, "nodeType", "PROP"), C(this, "rawData"), C(this, "parent"), C(this, "emitter", ne), C(this, "data"), C(this, "name"), C(this, "materialsMode");
2755
- const o = (n == null ? void 0 : n.materials) || new $t([]);
2755
+ const o = (n == null ? void 0 : n.materials) || new xt([]);
2756
2756
  this.materialsMode = o, this.parent = n == null ? void 0 : n.parent, this.rawData = r, this.name = e, this.data = Ke(r, this, o);
2757
2757
  }
2758
2758
  // TODO:
@@ -2806,12 +2806,12 @@ class at {
2806
2806
  const gh = (t) => {
2807
2807
  if (typeof t == "string")
2808
2808
  return !0;
2809
- xr({
2809
+ $r({
2810
2810
  data: t,
2811
2811
  dataStruct: Et,
2812
2812
  throwError: !1
2813
2813
  });
2814
- }, $n = (t, e, r) => {
2814
+ }, xn = (t, e, r) => {
2815
2815
  if (typeof t == "string")
2816
2816
  return t;
2817
2817
  const n = {
@@ -2857,8 +2857,8 @@ const gh = (t) => {
2857
2857
  class D {
2858
2858
  constructor(e, r) {
2859
2859
  C(this, "nodeType", "NODE"), C(this, "rawData"), C(this, "data"), C(this, "emitter", ne), C(this, "parent"), C(this, "materialsModel"), C(this, "listenerHandle"), C(this, "onChangeCbQueue"), this.rawData = JSON.parse(JSON.stringify(e)), gh(e);
2860
- const n = (r == null ? void 0 : r.materials) || new $t([]);
2861
- this.parent = (r == null ? void 0 : r.parent) || null, this.materialsModel = n, this.data = $n(e, this, n), this.listenerHandle = [], this.onChangeCbQueue = [], this.registerListener();
2860
+ const n = (r == null ? void 0 : r.materials) || new xt([]);
2861
+ this.parent = (r == null ? void 0 : r.parent) || null, this.materialsModel = n, this.data = xn(e, this, n), this.listenerHandle = [], this.onChangeCbQueue = [], this.registerListener();
2862
2862
  }
2863
2863
  registerListener() {
2864
2864
  const e = (r) => {
@@ -2897,7 +2897,7 @@ class D {
2897
2897
  ...this.data,
2898
2898
  ...e
2899
2899
  };
2900
- return this.data = $n(r, this, this.materialsModel), r;
2900
+ return this.data = xn(r, this, this.materialsModel), r;
2901
2901
  }
2902
2902
  updateValue(e) {
2903
2903
  const r = this.data, n = this.updateWithPlainObj(e);
@@ -2942,7 +2942,7 @@ class D {
2942
2942
  });
2943
2943
  const a = (r = n.children) == null ? void 0 : r.map((l) => l instanceof D ? l.export(e) : l), s = n.configure || {}, i = s.propsSetter || {}, c = {};
2944
2944
  Object.keys(i).forEach((l) => {
2945
- const d = $o(i, l, !1);
2945
+ const d = xo(i, l, !1);
2946
2946
  d && (c[l] = d);
2947
2947
  }), s.propsSetter = c;
2948
2948
  const u = this.materialsModel.usedMaterials.find(
@@ -2957,12 +2957,13 @@ class D {
2957
2957
  configure: s,
2958
2958
  props: o,
2959
2959
  children: a,
2960
- condition: n.condition
2960
+ condition: n.condition,
2961
+ extra: this.data.extra
2961
2962
  };
2962
2963
  return e === "design" && delete f.id, f = Rr(f), f;
2963
2964
  }
2964
2965
  }
2965
- const xn = (t, e, r) => {
2966
+ const $n = (t, e, r) => {
2966
2967
  const n = {
2967
2968
  ...t,
2968
2969
  id: tt(),
@@ -2991,7 +2992,7 @@ const xn = (t, e, r) => {
2991
2992
  };
2992
2993
  class Xt {
2993
2994
  constructor(e, { parent: r, materials: n }) {
2994
- C(this, "rawData"), C(this, "data"), C(this, "nodeType", Ft.ROOT_CONTAINER), C(this, "emitter", ne), C(this, "materialsModel"), C(this, "listenerHandle"), C(this, "onChangeCbQueue"), C(this, "parent"), this.materialsModel = n, this.rawData = JSON.parse(JSON.stringify(e)), this.data = xn(e, this, n), this.listenerHandle = [], this.onChangeCbQueue = [], this.registerListener(), this.parent = r;
2995
+ C(this, "rawData"), C(this, "data"), C(this, "nodeType", Ft.ROOT_CONTAINER), C(this, "emitter", ne), C(this, "materialsModel"), C(this, "listenerHandle"), C(this, "onChangeCbQueue"), C(this, "parent"), this.materialsModel = n, this.rawData = JSON.parse(JSON.stringify(e)), this.data = $n(e, this, n), this.listenerHandle = [], this.onChangeCbQueue = [], this.registerListener(), this.parent = r;
2995
2996
  }
2996
2997
  registerListener() {
2997
2998
  const e = (r) => {
@@ -3025,7 +3026,7 @@ class Xt {
3025
3026
  ...this.data,
3026
3027
  ...e
3027
3028
  };
3028
- return this.data = xn(r, this, this.materialsModel), r;
3029
+ return this.data = $n(r, this, this.materialsModel), r;
3029
3030
  }
3030
3031
  updateValue(e) {
3031
3032
  const r = this.data;
@@ -3063,7 +3064,8 @@ class Xt {
3063
3064
  ...n,
3064
3065
  props: o,
3065
3066
  children: a.filter((c) => c),
3066
- condition: n.condition
3067
+ condition: n.condition,
3068
+ extra: this.data.extra
3067
3069
  };
3068
3070
  let i = Qo(s, ["id"]);
3069
3071
  return i = Rr(i), i;
@@ -3170,14 +3172,14 @@ const Te = (t) => {
3170
3172
  return t.map((e) => new Oh(e));
3171
3173
  }, jh = (t) => {
3172
3174
  t == null || t.forEach((e) => {
3173
- xr({
3175
+ $r({
3174
3176
  data: e,
3175
3177
  dataStruct: lh,
3176
3178
  throwError: !1
3177
3179
  });
3178
3180
  });
3179
3181
  };
3180
- class $t {
3182
+ class xt {
3181
3183
  constructor(e) {
3182
3184
  C(this, "rawData"), C(this, "data"), C(this, "usedMaterials", []), this.rawData = e, jh(e), this.data = Te(e);
3183
3185
  }
@@ -3268,7 +3270,7 @@ const wh = R({
3268
3270
  componentsTree: ph,
3269
3271
  assets: b(P(T())),
3270
3272
  extra: b(T())
3271
- }), aa = (t) => (xr({
3273
+ }), aa = (t) => ($r({
3272
3274
  data: t,
3273
3275
  dataStruct: wh,
3274
3276
  throwError: !1
@@ -3281,7 +3283,7 @@ const wh = R({
3281
3283
  });
3282
3284
  class fe {
3283
3285
  constructor(e, r) {
3284
- C(this, "nodeType", "PAGE"), C(this, "rawData"), C(this, "emitter", ne), C(this, "data"), C(this, "parent"), C(this, "materialsModel"), C(this, "assetPackagesList"), aa(e), this.rawData = JSON.parse(JSON.stringify(e)), this.materialsModel = new $t((r == null ? void 0 : r.materials) || []), this.data = Ae(e, this, this.materialsModel), this.assetPackagesList = [...(r == null ? void 0 : r.assetPackagesList) || [], ...this.data.assets || []];
3286
+ C(this, "nodeType", "PAGE"), C(this, "rawData"), C(this, "emitter", ne), C(this, "data"), C(this, "parent"), C(this, "materialsModel"), C(this, "assetPackagesList"), aa(e), this.rawData = JSON.parse(JSON.stringify(e)), this.materialsModel = new xt((r == null ? void 0 : r.materials) || []), this.data = Ae(e, this, this.materialsModel), this.assetPackagesList = [...(r == null ? void 0 : r.assetPackagesList) || [], ...this.data.assets || []];
3285
3287
  }
3286
3288
  updatePage(e) {
3287
3289
  const r = this.data;
@@ -3409,7 +3411,8 @@ class fe {
3409
3411
  componentsTree: Rr(n),
3410
3412
  componentsMeta: s,
3411
3413
  thirdLibs: this.data.thirdLibs,
3412
- assets: []
3414
+ assets: [],
3415
+ extra: this.data.extra
3413
3416
  };
3414
3417
  return (r = this.data.thirdLibs) == null || r.forEach((c) => {
3415
3418
  const u = o.find((f) => c.package === f.package);
@@ -3428,7 +3431,7 @@ const je = "DYNAMIC", Ch = ["$$context", "$$nodeModel"], sa = "ON_DID_RENDER", i
3428
3431
  }, r.__proto__ = e || null), r;
3429
3432
  }, Zt = (t, e = {}, ...r) => typeof t == "string" || typeof t == "number" ? String(t) : (Ch.forEach((o) => {
3430
3433
  o in e && t.__CP_TYPE__ !== je && delete e[o];
3431
- }), x.createElement(t, e, ...r)), Rn = (t = {}, e) => {
3434
+ }), $.createElement(t, e, ...r)), Rn = (t = {}, e) => {
3432
3435
  const r = [], n = (o, a) => {
3433
3436
  let s = a;
3434
3437
  Xe(a) && (s = a.value), e(s) ? r.push({
@@ -3464,7 +3467,7 @@ const je = "DYNAMIC", Ch = ["$$context", "$$nodeModel"], sa = "ON_DID_RENDER", i
3464
3467
  p != null && p.then ? s[l.id] = await p : s[l.id] = p;
3465
3468
  }
3466
3469
  if (l.type === "REQUEST_API") {
3467
- const { run: d, afterFailedResponse: p, afterSuccessResponse: y } = $h(l, e);
3470
+ const { run: d, afterFailedResponse: p, afterSuccessResponse: y } = xh(l, e);
3468
3471
  try {
3469
3472
  const S = d(...a);
3470
3473
  S != null && S.then ? s[l.id] = await S : s[l.id] = S, l.responseVarName && (e.actionVariableSpace[l.responseVarName] = s[l.id]);
@@ -3476,7 +3479,7 @@ const je = "DYNAMIC", Ch = ["$$context", "$$nodeModel"], sa = "ON_DID_RENDER", i
3476
3479
  }
3477
3480
  }
3478
3481
  if (l.type === "CALL_NODE_METHOD") {
3479
- const p = xh(l, e)(...a);
3482
+ const p = $h(l, e)(...a);
3480
3483
  p != null && p.then ? s[l.id] = await p : s[l.id] = p, l.returnVarName && (e.actionVariableSpace[l.returnVarName] = s[l.id]);
3481
3484
  }
3482
3485
  if (l.type === "ASSIGN_VALUE") {
@@ -3514,7 +3517,7 @@ const lt = (t, e) => function(...r) {
3514
3517
  $$response: e.$$response,
3515
3518
  actionVariableSpace: e.actionVariableSpace
3516
3519
  })(...r) : t;
3517
- }, $h = (t, e) => ({
3520
+ }, xh = (t, e) => ({
3518
3521
  run: function(...a) {
3519
3522
  var d, p;
3520
3523
  let s = "";
@@ -3568,7 +3571,7 @@ const lt = (t, e) => function(...r) {
3568
3571
  }
3569
3572
  )(...s);
3570
3573
  }
3571
- }), xh = (t, e) => (...r) => {
3574
+ }), $h = (t, e) => (...r) => {
3572
3575
  const n = me({
3573
3576
  funcName: "",
3574
3577
  funcBody: `
@@ -3638,7 +3641,7 @@ const lt = (t, e) => function(...r) {
3638
3641
  return (...p) => d.map((y) => {
3639
3642
  if (Ec(y.component)) {
3640
3643
  const h = y.component;
3641
- return x.createElement(h, {
3644
+ return $.createElement(h, {
3642
3645
  $$context: r,
3643
3646
  key: y.key
3644
3647
  });
@@ -3720,7 +3723,7 @@ const lt = (t, e) => function(...r) {
3720
3723
  requestAPI: f,
3721
3724
  doc: l
3722
3725
  } = r, { ...d } = r;
3723
- class p extends x.Component {
3726
+ class p extends $.Component {
3724
3727
  constructor(h) {
3725
3728
  super(h);
3726
3729
  w(this, "_CONDITION", !0);
@@ -3759,12 +3762,12 @@ const lt = (t, e) => function(...r) {
3759
3762
  const _ = `${this.UNIQUE_ID}_${g.state}`;
3760
3763
  let j = Wr(this._NODE_MODEL);
3761
3764
  if (g.state !== "normal" && (j = `${j}:${g.state}`), g.text) {
3762
- const $ = this.getStyleDomById(_);
3763
- $.innerText = `.${j} { ${g.text} }`, h == null || h.appendChild($);
3765
+ const x = this.getStyleDomById(_);
3766
+ x.innerText = `.${j} { ${g.text} }`, h == null || h.appendChild(x);
3764
3767
  }
3765
- (N = g.media) != null && N.length && g.media.forEach(($) => {
3766
- const E = `${_}_${$.type}_${$.value}`, Y = this.getStyleDomById(E);
3767
- Y.media = `screen and (${$.type}:${$.value}px)`, Y.innerHTML = `.${j} { ${$.text} }`, h == null || h.appendChild(Y);
3768
+ (N = g.media) != null && N.length && g.media.forEach((x) => {
3769
+ const E = `${_}_${x.type}_${x.value}`, Y = this.getStyleDomById(E);
3770
+ Y.media = `screen and (${x.type}:${x.value}px)`, Y.innerHTML = `.${j} { ${x.text} }`, h == null || h.appendChild(Y);
3768
3771
  });
3769
3772
  });
3770
3773
  });
@@ -3778,7 +3781,7 @@ const lt = (t, e) => function(...r) {
3778
3781
  w(this, "rebuildNode", () => {
3779
3782
  this.storeListenDisposeList.forEach((h) => h()), this.removeMediaCSS(), this.connectStore(), this.addMediaCSS(), this.forceUpdate();
3780
3783
  });
3781
- this.targetComponentRef = x.createRef(), this.state = e.value.state || {};
3784
+ this.targetComponentRef = $.createRef(), this.state = e.value.state || {};
3782
3785
  const m = e.value.nodeName || e.id;
3783
3786
  this.nodeName = m;
3784
3787
  const v = n.getStore(m);
@@ -3807,7 +3810,7 @@ const lt = (t, e) => function(...r) {
3807
3810
  );
3808
3811
  let v = [];
3809
3812
  [...h, ...m].map((j) => {
3810
- const N = j.val, $ = [
3813
+ const N = j.val, x = [
3811
3814
  /\$\$context.stateManager\.(.+?)\./gim,
3812
3815
  /\$\$context.stateManager\["(.+?)"\]/gim,
3813
3816
  /\$\$context.stateManager\['(.+?)'\]/gim,
@@ -3815,18 +3818,18 @@ const lt = (t, e) => function(...r) {
3815
3818
  /getStateObj\("(.+?)"\)/gim,
3816
3819
  /getStateById\('(.+?)'\)/gim,
3817
3820
  /getStateById\("(.+?)"\)/gim
3818
- ], E = Rc(N.value, $);
3821
+ ], E = Rc(N.value, x);
3819
3822
  v = [...v, ...E];
3820
3823
  }).filter(Boolean);
3821
3824
  const g = Array.from(new Set(v)), _ = [];
3822
3825
  g.length && g.forEach((j) => {
3823
3826
  n.getStore(j) || (n.addStore(j, () => ({})), console.warn(n, j, "not exits"));
3824
- const $ = n.connect(j, (E) => {
3827
+ const x = n.connect(j, (E) => {
3825
3828
  this.setState({
3826
3829
  ...E
3827
3830
  });
3828
3831
  });
3829
- _.push($);
3832
+ _.push(x);
3830
3833
  }), this.storeListenDisposeList = _;
3831
3834
  }
3832
3835
  componentDidMount() {
@@ -3866,7 +3869,7 @@ const lt = (t, e) => function(...r) {
3866
3869
  $$context: m,
3867
3870
  ...d
3868
3871
  }
3869
- ), g = e.value.methods || [], _ = v.methods, j = g.reduce((N, $, E) => (N[$.name] = _[E], N), {});
3872
+ ), g = e.value.methods || [], _ = v.methods, j = g.reduce((N, x, E) => (N[x.name] = _[E], N), {});
3870
3873
  m.methods = j, this.variableSpace.methods = Object.assign(this.variableSpace.methods, j);
3871
3874
  }
3872
3875
  /** 处理根节点的 context */
@@ -3893,7 +3896,7 @@ const lt = (t, e) => function(...r) {
3893
3896
  ...d
3894
3897
  }
3895
3898
  );
3896
- return xc(m.style || []);
3899
+ return $c(m.style || []);
3897
3900
  }
3898
3901
  processNodeChild(h, m) {
3899
3902
  let v = [];
@@ -3902,12 +3905,12 @@ const lt = (t, e) => function(...r) {
3902
3905
  else {
3903
3906
  const g = [];
3904
3907
  e.value.children.forEach((j, N) => {
3905
- const $ = Th(j, {
3908
+ const x = Th(j, {
3906
3909
  $$context: m,
3907
3910
  idx: N,
3908
3911
  ...d
3909
3912
  });
3910
- g.push($);
3913
+ g.push(x);
3911
3914
  }), v = g;
3912
3915
  }
3913
3916
  return v;
@@ -3921,7 +3924,7 @@ const lt = (t, e) => function(...r) {
3921
3924
  };
3922
3925
  u && (_ = u(_, e));
3923
3926
  const j = Zt(t, _.props, ...m);
3924
- return this._CONDITION = _.condition, _.condition ? j : x.createElement(
3927
+ return this._CONDITION = _.condition, _.condition ? j : $.createElement(
3925
3928
  "div",
3926
3929
  {
3927
3930
  style: {
@@ -3959,8 +3962,8 @@ const lt = (t, e) => function(...r) {
3959
3962
  return Qr(j, N);
3960
3963
  },
3961
3964
  getMethodsById: (j) => {
3962
- const N = o.get(j).methods, $ = c.get(j).current;
3963
- return Qr(N, $);
3965
+ const N = o.get(j).methods, x = c.get(j).current;
3966
+ return Qr(N, x);
3964
3967
  },
3965
3968
  getStaticVar: () => o.get(m).staticVar,
3966
3969
  getStaticVarById: (j) => o.get(j).staticVar,
@@ -3993,8 +3996,8 @@ const lt = (t, e) => function(...r) {
3993
3996
  Object.assign(_, j);
3994
3997
  const N = this.processNodeClassName(_.className, g);
3995
3998
  _.className = N;
3996
- const $ = this.processNodeStyle(g);
3997
- _.style = $;
3999
+ const x = this.processNodeStyle(g);
4000
+ _.style = x;
3998
4001
  const { children: E } = _;
3999
4002
  delete _.children;
4000
4003
  const Y = this.processNodeChild(E, g);
@@ -4020,11 +4023,11 @@ const lt = (t, e) => function(...r) {
4020
4023
  this.targetComponentRef.current = [];
4021
4024
  let N = _.data || [];
4022
4025
  if (ut(_.data)) {
4023
- const $ = _.data;
4024
- N = bt($.value, g || {});
4026
+ const x = _.data;
4027
+ N = bt(x.value, g || {});
4025
4028
  }
4026
- return j = N.map((...$) => {
4027
- const E = $[1], Y = [_.forName || "item", _.forIndex || "index"], it = po($, Y);
4029
+ return j = N.map((...x) => {
4030
+ const E = x[1], Y = [_.forName || "item", _.forIndex || "index"], it = po(x, Y);
4028
4031
  let ct = "loopData";
4029
4032
  _.name && (ct = `${ct}${_.name}`);
4030
4033
  const yt = Ze(
@@ -4093,7 +4096,7 @@ class Ah {
4093
4096
  var o;
4094
4097
  const r = e.value.componentName;
4095
4098
  let n = Tc(r, this.components);
4096
- return Nc(n) || (n = $c(n), this.components[r] = n), this.onGetComponent && (n = (o = this.onGetComponent) == null ? void 0 : o.call(this, n, e)), n;
4099
+ return Nc(n) || (n = xc(n), this.components[r] = n), this.onGetComponent && (n = (o = this.onGetComponent) == null ? void 0 : o.call(this, n, e)), n;
4097
4100
  }
4098
4101
  pageRender(e, {
4099
4102
  components: r,
@@ -4152,7 +4155,7 @@ var Tn;
4152
4155
  function Ih() {
4153
4156
  if (Tn) return Ut;
4154
4157
  Tn = 1;
4155
- var t = x, e = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, o = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 };
4158
+ var t = $, e = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, o = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 };
4156
4159
  function s(i, c, u) {
4157
4160
  var f, l = {}, d = null, p = null;
4158
4161
  u !== void 0 && (d = "" + u), c.key !== void 0 && (d = "" + c.key), c.ref !== void 0 && (p = c.ref);
@@ -4324,7 +4327,7 @@ const Lh = [
4324
4327
  }), e;
4325
4328
  }, Fh = [...Lh, ...nh], Vh = Fh.reduce((t, e) => (t[e] = ({ children: r, $$attributes: n = [], ...o }) => {
4326
4329
  let a = r;
4327
- return Array.isArray(r) || (a = [r]), x.createElement(
4330
+ return Array.isArray(r) || (a = [r]), $.createElement(
4328
4331
  e,
4329
4332
  {
4330
4333
  ...o,
@@ -4341,7 +4344,7 @@ const Lh = [
4341
4344
  ...s,
4342
4345
  ...o.style || {}
4343
4346
  };
4344
- return x.createElement(
4347
+ return $.createElement(
4345
4348
  "div",
4346
4349
  {
4347
4350
  ...o,
@@ -4352,12 +4355,12 @@ const Lh = [
4352
4355
  );
4353
4356
  }, Uh = ({ afterMount: t, beforeDestroy: e, $$attributes: r = [], ...n }) => (Ln(() => (t == null || t(n), () => {
4354
4357
  e == null || e(n);
4355
- }), []), x.createElement("canvas", {
4358
+ }), []), $.createElement("canvas", {
4356
4359
  ...n,
4357
4360
  ...ot(r)
4358
4361
  })), Bh = ({ children: t, $$attributes: e = [], ...r }) => {
4359
4362
  let n = t;
4360
- return Array.isArray(t) || (n = [t]), x.createElement(
4363
+ return Array.isArray(t) || (n = [t]), $.createElement(
4361
4364
  "img",
4362
4365
  {
4363
4366
  ...r,
@@ -4367,7 +4370,7 @@ const Lh = [
4367
4370
  );
4368
4371
  }, zh = ({ children: t, $$attributes: e = [], ...r }) => {
4369
4372
  let n = t;
4370
- return Array.isArray(t) || (n = [t]), x.createElement(
4373
+ return Array.isArray(t) || (n = [t]), $.createElement(
4371
4374
  "video",
4372
4375
  {
4373
4376
  ...r,
@@ -4377,7 +4380,7 @@ const Lh = [
4377
4380
  );
4378
4381
  }, Gh = ({ children: t, $$attributes: e = [], ...r }) => {
4379
4382
  let n = t;
4380
- return Array.isArray(t) || (n = [t]), x.createElement(
4383
+ return Array.isArray(t) || (n = [t]), $.createElement(
4381
4384
  "audio",
4382
4385
  {
4383
4386
  ...r,
@@ -4385,7 +4388,7 @@ const Lh = [
4385
4388
  },
4386
4389
  ...n
4387
4390
  );
4388
- }, Hh = ({ $$attributes: t = [], content: e, ...r }) => x.createElement(
4391
+ }, Hh = ({ $$attributes: t = [], content: e, ...r }) => $.createElement(
4389
4392
  "span",
4390
4393
  {
4391
4394
  ...r,
@@ -4404,7 +4407,7 @@ const Lh = [
4404
4407
  ...a,
4405
4408
  ...n.style || {}
4406
4409
  };
4407
- return x.createElement(
4410
+ return $.createElement(
4408
4411
  r,
4409
4412
  {
4410
4413
  ...n,
@@ -4425,7 +4428,7 @@ const Lh = [
4425
4428
  CCanvas: Uh,
4426
4429
  CNativeTag: Jh
4427
4430
  };
4428
- class Qh extends x.Component {
4431
+ class Qh extends $.Component {
4429
4432
  constructor(r) {
4430
4433
  super(r);
4431
4434
  w(this, "refManager");
@@ -4499,7 +4502,7 @@ const ym = () => {
4499
4502
  }
4500
4503
  }), []);
4501
4504
  };
4502
- class Yh extends x.Component {
4505
+ class Yh extends $.Component {
4503
4506
  constructor(r) {
4504
4507
  super(r);
4505
4508
  w(this, "onDoubleClick", () => {
@@ -4521,7 +4524,7 @@ class Yh extends x.Component {
4521
4524
  if (this.state.hasError) {
4522
4525
  const { onDoubleClick: r } = this, n = this.props.node.value;
4523
4526
  console.error(this.props.node, this.props.children);
4524
- const o = x.createElement(
4527
+ const o = $.createElement(
4525
4528
  "div",
4526
4529
  {
4527
4530
  style: {
@@ -4538,8 +4541,8 @@ class Yh extends x.Component {
4538
4541
  n.title,
4539
4542
  " component name:",
4540
4543
  n.title || n.componentName,
4541
- x.createElement("p", null, "msg: ", String(this.state.error)),
4542
- x.createElement(
4544
+ $.createElement("p", null, "msg: ", String(this.state.error)),
4545
+ $.createElement(
4543
4546
  "button",
4544
4547
  {
4545
4548
  onDoubleClick: r,
@@ -4555,13 +4558,13 @@ class Yh extends x.Component {
4555
4558
  },
4556
4559
  "double click to refresh"
4557
4560
  ),
4558
- x.createElement("div", {
4561
+ $.createElement("div", {
4559
4562
  style: {
4560
4563
  display: "none"
4561
4564
  }
4562
4565
  })
4563
4566
  );
4564
- return x.createElement(this.props.targetComponent, { onlyRenderChild: !0 }, o);
4567
+ return $.createElement(this.props.targetComponent, { onlyRenderChild: !0 }, o);
4565
4568
  }
4566
4569
  return this.props.children;
4567
4570
  }
@@ -4766,7 +4769,7 @@ const om = (t) => {
4766
4769
  style: {}
4767
4770
  };
4768
4771
  }, [e]), { placeholder: n, height: o, width: a, style: s } = r;
4769
- return x.createElement(
4772
+ return $.createElement(
4770
4773
  "div",
4771
4774
  {
4772
4775
  style: {
@@ -4791,7 +4794,7 @@ const om = (t) => {
4791
4794
  n
4792
4795
  );
4793
4796
  };
4794
- class bm extends x.Component {
4797
+ class bm extends $.Component {
4795
4798
  constructor(r) {
4796
4799
  super(r);
4797
4800
  w(this, "instanceManager", new nm());
@@ -4807,7 +4810,7 @@ class bm extends x.Component {
4807
4810
  node: n,
4808
4811
  ctx: window.__C_ENGINE_DESIGNER_PLUGIN_CTX__
4809
4812
  }));
4810
- class i extends x.Component {
4813
+ class i extends $.Component {
4811
4814
  constructor() {
4812
4815
  super(...arguments);
4813
4816
  w(this, "_DESIGN_BOX", !0);
@@ -4838,39 +4841,39 @@ class bm extends x.Component {
4838
4841
  if (jt(d) || (S = [d]), !!!S.filter(Boolean).length && (n.isContainer() || n.value.componentName === Ft.ROOT_CONTAINER)) {
4839
4842
  const N = (g = (v = n.material) == null ? void 0 : v.value.advanceCustom) == null ? void 0 : g.dropPlaceholder;
4840
4843
  S.push(
4841
- x.createElement(N || o.dropPlaceholder, {
4844
+ $.createElement(N || o.dropPlaceholder, {
4842
4845
  node: n
4843
4846
  })
4844
4847
  );
4845
4848
  }
4846
- return p ? S : ((j = (_ = n.material) == null ? void 0 : _.value.advanceCustom) == null ? void 0 : j.autoGetDom) ?? !0 ? x.createElement(a, y, ...S) : x.createElement(
4849
+ return p ? S : ((j = (_ = n.material) == null ? void 0 : _.value.advanceCustom) == null ? void 0 : j.autoGetDom) ?? !0 ? $.createElement(a, y, ...S) : $.createElement(
4847
4850
  a,
4848
4851
  {
4849
4852
  ...y,
4850
4853
  // 注入到组件中, 配合设计器使用
4851
- $SET_DOM: ($) => {
4852
- this._dom = $;
4854
+ $SET_DOM: (x) => {
4855
+ this._dom = x;
4853
4856
  }
4854
4857
  },
4855
4858
  ...S
4856
4859
  );
4857
4860
  }
4858
4861
  }
4859
- return x.forwardRef(function(l, d) {
4860
- return x.createElement(
4862
+ return $.forwardRef(function(l, d) {
4863
+ return $.createElement(
4861
4864
  Yh,
4862
4865
  {
4863
4866
  node: n,
4864
4867
  targetComponent: i
4865
4868
  },
4866
- x.createElement(i, {
4869
+ $.createElement(i, {
4867
4870
  ref: d,
4868
4871
  ...l
4869
4872
  })
4870
4873
  );
4871
4874
  });
4872
4875
  });
4873
- this._components = Object.assign(this._components, this.props.components), this.renderRef = x.createRef(), r.dropPlaceholder && (this.dropPlaceholder = r.dropPlaceholder);
4876
+ this._components = Object.assign(this._components, this.props.components), this.renderRef = $.createRef(), r.dropPlaceholder && (this.dropPlaceholder = r.dropPlaceholder);
4874
4877
  }
4875
4878
  updateComponents(r = {}) {
4876
4879
  this._components = Object.assign(this._components, r), this.forceUpdate();
@@ -4918,7 +4921,7 @@ class bm extends x.Component {
4918
4921
  }
4919
4922
  render() {
4920
4923
  const { props: r, onGetComponent: n } = this, { render: o, ...a } = r;
4921
- return o && (o.ref.current = this), x.createElement(Qh, {
4924
+ return o && (o.ref.current = this), $.createElement(Qh, {
4922
4925
  onGetComponent: n,
4923
4926
  ...a,
4924
4927
  components: this._components,
@@ -5029,15 +5032,15 @@ function sm() {
5029
5032
  d.call && (d = { success: d }), p.length ? (d.error || r)(p) : (d.success || r)(d);
5030
5033
  }
5031
5034
  function u(d, p, y, S) {
5032
- var h = document, m = y.async, v = (y.numRetries || 0) + 1, g = y.before || r, _ = d.replace(/[\?|#].*$/, ""), j = d.replace(/^(css|img|module|nomodule)!/, ""), N, $, E;
5035
+ var h = document, m = y.async, v = (y.numRetries || 0) + 1, g = y.before || r, _ = d.replace(/[\?|#].*$/, ""), j = d.replace(/^(css|img|module|nomodule)!/, ""), N, x, E;
5033
5036
  if (S = S || 0, /(^css!|\.css$)/.test(_))
5034
5037
  E = h.createElement("link"), E.rel = "stylesheet", E.href = j, N = "hideFocus" in E, N && E.relList && (N = 0, E.rel = "preload", E.as = "style");
5035
5038
  else if (/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(_))
5036
5039
  E = h.createElement("img"), E.src = j;
5037
- else if (E = h.createElement("script"), E.src = j, E.async = m === void 0 ? !0 : m, $ = "noModule" in E, /^module!/.test(_)) {
5038
- if (!$) return p(d, "l");
5040
+ else if (E = h.createElement("script"), E.src = j, E.async = m === void 0 ? !0 : m, x = "noModule" in E, /^module!/.test(_)) {
5041
+ if (!x) return p(d, "l");
5039
5042
  E.type = "module";
5040
- } else if (/^nomodule!/.test(_) && $) return p(d, "l");
5043
+ } else if (/^nomodule!/.test(_) && x) return p(d, "l");
5041
5044
  E.onload = E.onerror = E.onbeforeload = function(Y) {
5042
5045
  var it = Y.type[0];
5043
5046
  if (N)
@@ -5153,11 +5156,11 @@ export {
5153
5156
  Qh as Render,
5154
5157
  Nc as canAcceptsRef,
5155
5158
  pm as collectVariable,
5156
- $c as compWrapper,
5159
+ xc as compWrapper,
5157
5160
  me as convertCodeStringToFunction,
5158
5161
  Tc as findComponentByChainRefer,
5159
5162
  hm as flatObject,
5160
- xc as formatSourceStylePropertyName,
5163
+ $c as formatSourceStylePropertyName,
5161
5164
  Oa as getAdapter,
5162
5165
  dm as getCSSTextValue,
5163
5166
  mm as getComponentsLibs,