@chamn/render 0.0.20 → 0.0.22

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.mjs CHANGED
@@ -1,11 +1,11 @@
1
1
  var na = Object.defineProperty;
2
2
  var oa = (t, e, r) => e in t ? na(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
3
3
  var y = (t, e, r) => (oa(t, typeof e != "symbol" ? e + "" : e, r), r);
4
- import O, { Component as aa, createElement as sa, useEffect as ia, useRef as In, useMemo as ca } from "react";
4
+ import O, { Component as aa, createElement as sa, useEffect as ia, useRef as Rn, useMemo as ca } from "react";
5
5
  import * as ua from "react-dom";
6
6
  const la = (t) => () => {
7
7
  console.warn(`${t} need to be implement getComponent`);
8
- }, fa = ["customPageRootRender"], Ir = [
8
+ }, fa = ["customPageRootRender"], Rr = [
9
9
  // 页面渲染
10
10
  "pageRender",
11
11
  // 渲染一个组件
@@ -22,17 +22,17 @@ const la = (t) => () => {
22
22
  "transformGlobalData",
23
23
  "errorCatch",
24
24
  "clear"
25
- ], pa = (t) => [...Ir, ...fa].reduce((r, n) => {
25
+ ], pa = (t) => [...Rr, ...fa].reduce((r, n) => {
26
26
  var o;
27
- return t != null && t[n] ? r[n] = (o = t[n]) == null ? void 0 : o.bind(t) : Ir.includes(n) && (r[n] = la), r;
27
+ return t != null && t[n] ? r[n] = (o = t[n]) == null ? void 0 : o.bind(t) : Rr.includes(n) && (r[n] = la), r;
28
28
  }, {});
29
29
  var da = Object.defineProperty, ha = (t, e, r) => e in t ? da(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, _ = (t, e, r) => (ha(t, typeof e != "symbol" ? e + "" : e, r), r), ma = typeof global == "object" && global && global.Object === Object && global;
30
30
  const Dn = ma;
31
31
  var va = typeof self == "object" && self && self.Object === Object && self, ga = Dn || va || Function("return this")();
32
32
  const K = ga;
33
33
  var ya = K.Symbol;
34
- const z = ya;
35
- var Ln = Object.prototype, ba = Ln.hasOwnProperty, _a = Ln.toString, Ut = z ? z.toStringTag : void 0;
34
+ const G = ya;
35
+ var Ln = Object.prototype, ba = Ln.hasOwnProperty, _a = Ln.toString, Ut = G ? G.toStringTag : void 0;
36
36
  function Sa(t) {
37
37
  var e = ba.call(t, Ut), r = t[Ut];
38
38
  try {
@@ -47,8 +47,8 @@ var ja = Object.prototype, Oa = ja.toString;
47
47
  function wa(t) {
48
48
  return Oa.call(t);
49
49
  }
50
- var Ca = "[object Null]", Ea = "[object Undefined]", Dr = z ? z.toStringTag : void 0;
51
- function ht(t) {
50
+ var Ca = "[object Null]", Ea = "[object Undefined]", Dr = G ? G.toStringTag : void 0;
51
+ function dt(t) {
52
52
  return t == null ? t === void 0 ? Ea : Ca : Dr && Dr in Object(t) ? Sa(t) : wa(t);
53
53
  }
54
54
  function Y(t) {
@@ -56,7 +56,7 @@ function Y(t) {
56
56
  }
57
57
  var Na = "[object Symbol]";
58
58
  function tr(t) {
59
- return typeof t == "symbol" || Y(t) && ht(t) == Na;
59
+ return typeof t == "symbol" || Y(t) && dt(t) == Na;
60
60
  }
61
61
  function er(t, e) {
62
62
  for (var r = -1, n = t == null ? 0 : t.length, o = Array(n); ++r < n; )
@@ -64,12 +64,12 @@ function er(t, e) {
64
64
  return o;
65
65
  }
66
66
  var xa = Array.isArray;
67
- const P = xa;
68
- var $a = 1 / 0, Lr = z ? z.prototype : void 0, Fr = Lr ? Lr.toString : void 0;
67
+ const I = xa;
68
+ var $a = 1 / 0, Lr = G ? G.prototype : void 0, Fr = Lr ? Lr.toString : void 0;
69
69
  function Fn(t) {
70
70
  if (typeof t == "string")
71
71
  return t;
72
- if (P(t))
72
+ if (I(t))
73
73
  return er(t, Fn) + "";
74
74
  if (tr(t))
75
75
  return Fr ? Fr.call(t) : "";
@@ -87,20 +87,20 @@ var Ta = "[object AsyncFunction]", Ma = "[object Function]", Aa = "[object Gener
87
87
  function nr(t) {
88
88
  if (!W(t))
89
89
  return !1;
90
- var e = ht(t);
90
+ var e = dt(t);
91
91
  return e == Ma || e == Aa || e == Ta || e == Pa;
92
92
  }
93
- var Ra = K["__core-js_shared__"];
94
- const $e = Ra;
93
+ var Ia = K["__core-js_shared__"];
94
+ const $e = Ia;
95
95
  var Br = function() {
96
96
  var t = /[^.]+$/.exec($e && $e.keys && $e.keys.IE_PROTO || "");
97
97
  return t ? "Symbol(src)_1." + t : "";
98
98
  }();
99
- function Ia(t) {
99
+ function Ra(t) {
100
100
  return !!Br && Br in t;
101
101
  }
102
102
  var Da = Function.prototype, La = Da.toString;
103
- function mt(t) {
103
+ function ht(t) {
104
104
  if (t != null) {
105
105
  try {
106
106
  return La.call(t);
@@ -113,23 +113,23 @@ function mt(t) {
113
113
  }
114
114
  return "";
115
115
  }
116
- var Fa = /[\\^$.*+?()[\]{}|]/g, Ba = /^\[object .+?Constructor\]$/, Ua = Function.prototype, ka = Object.prototype, Va = Ua.toString, za = ka.hasOwnProperty, Ga = RegExp(
117
- "^" + Va.call(za).replace(Fa, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
116
+ var Fa = /[\\^$.*+?()[\]{}|]/g, Ba = /^\[object .+?Constructor\]$/, Ua = Function.prototype, ka = Object.prototype, Va = Ua.toString, Ga = ka.hasOwnProperty, za = RegExp(
117
+ "^" + Va.call(Ga).replace(Fa, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
118
118
  );
119
119
  function Ha(t) {
120
- if (!W(t) || Ia(t))
120
+ if (!W(t) || Ra(t))
121
121
  return !1;
122
- var e = nr(t) ? Ga : Ba;
123
- return e.test(mt(t));
122
+ var e = nr(t) ? za : Ba;
123
+ return e.test(ht(t));
124
124
  }
125
125
  function Ja(t, e) {
126
126
  return t == null ? void 0 : t[e];
127
127
  }
128
- function vt(t, e) {
128
+ function mt(t, e) {
129
129
  var r = Ja(t, e);
130
130
  return Ha(r) ? r : void 0;
131
131
  }
132
- var Wa = vt(K, "WeakMap");
132
+ var Wa = mt(K, "WeakMap");
133
133
  const Le = Wa;
134
134
  var Ur = Object.create, Qa = function() {
135
135
  function t() {
@@ -186,7 +186,7 @@ function rs(t) {
186
186
  }
187
187
  var ns = function() {
188
188
  try {
189
- var t = vt(Object, "defineProperty");
189
+ var t = mt(Object, "defineProperty");
190
190
  return t({}, "", {}), t;
191
191
  } catch {
192
192
  }
@@ -309,9 +309,9 @@ function Ss(t, e) {
309
309
  }
310
310
  var js = "[object Arguments]";
311
311
  function Vr(t) {
312
- return Y(t) && ht(t) == js;
312
+ return Y(t) && dt(t) == js;
313
313
  }
314
- var zn = Object.prototype, Os = zn.hasOwnProperty, ws = zn.propertyIsEnumerable, Cs = Vr(function() {
314
+ var Gn = Object.prototype, Os = Gn.hasOwnProperty, ws = Gn.propertyIsEnumerable, Cs = Vr(function() {
315
315
  return arguments;
316
316
  }()) ? Vr : function(t) {
317
317
  return Y(t) && Os.call(t, "callee") && !ws.call(t, "callee");
@@ -320,13 +320,13 @@ const Jt = Cs;
320
320
  function Es() {
321
321
  return !1;
322
322
  }
323
- var Gn = typeof exports == "object" && exports && !exports.nodeType && exports, zr = Gn && typeof module == "object" && module && !module.nodeType && module, Ns = zr && zr.exports === Gn, Gr = Ns ? K.Buffer : void 0, xs = Gr ? Gr.isBuffer : void 0, $s = xs || Es;
323
+ var zn = typeof exports == "object" && exports && !exports.nodeType && exports, Gr = zn && typeof module == "object" && module && !module.nodeType && module, Ns = Gr && Gr.exports === zn, zr = Ns ? K.Buffer : void 0, xs = zr ? zr.isBuffer : void 0, $s = xs || Es;
324
324
  const Wt = $s;
325
- var Ts = "[object Arguments]", Ms = "[object Array]", As = "[object Boolean]", Ps = "[object Date]", Rs = "[object Error]", Is = "[object Function]", Ds = "[object Map]", Ls = "[object Number]", Fs = "[object Object]", Bs = "[object RegExp]", Us = "[object Set]", ks = "[object String]", Vs = "[object WeakMap]", zs = "[object ArrayBuffer]", Gs = "[object DataView]", Hs = "[object Float32Array]", Js = "[object Float64Array]", Ws = "[object Int8Array]", Qs = "[object Int16Array]", qs = "[object Int32Array]", Ys = "[object Uint8Array]", Ks = "[object Uint8ClampedArray]", Xs = "[object Uint16Array]", Zs = "[object Uint32Array]", N = {};
325
+ var Ts = "[object Arguments]", Ms = "[object Array]", As = "[object Boolean]", Ps = "[object Date]", Is = "[object Error]", Rs = "[object Function]", Ds = "[object Map]", Ls = "[object Number]", Fs = "[object Object]", Bs = "[object RegExp]", Us = "[object Set]", ks = "[object String]", Vs = "[object WeakMap]", Gs = "[object ArrayBuffer]", zs = "[object DataView]", Hs = "[object Float32Array]", Js = "[object Float64Array]", Ws = "[object Int8Array]", Qs = "[object Int16Array]", qs = "[object Int32Array]", Ys = "[object Uint8Array]", Ks = "[object Uint8ClampedArray]", Xs = "[object Uint16Array]", Zs = "[object Uint32Array]", N = {};
326
326
  N[Hs] = N[Js] = N[Ws] = N[Qs] = N[qs] = N[Ys] = N[Ks] = N[Xs] = N[Zs] = !0;
327
- N[Ts] = N[Ms] = N[zs] = N[As] = N[Gs] = N[Ps] = N[Rs] = N[Is] = N[Ds] = N[Ls] = N[Fs] = N[Bs] = N[Us] = N[ks] = N[Vs] = !1;
327
+ N[Ts] = N[Ms] = N[Gs] = N[As] = N[zs] = N[Ps] = N[Is] = N[Rs] = N[Ds] = N[Ls] = N[Fs] = N[Bs] = N[Us] = N[ks] = N[Vs] = !1;
328
328
  function ti(t) {
329
- return Y(t) && sr(t.length) && !!N[ht(t)];
329
+ return Y(t) && sr(t.length) && !!N[dt(t)];
330
330
  }
331
331
  function cr(t) {
332
332
  return function(e) {
@@ -340,12 +340,12 @@ var Hn = typeof exports == "object" && exports && !exports.nodeType && exports,
340
340
  } catch {
341
341
  }
342
342
  }();
343
- const St = ri;
344
- var Hr = St && St.isTypedArray, ni = Hr ? cr(Hr) : ti;
343
+ const _t = ri;
344
+ var Hr = _t && _t.isTypedArray, ni = Hr ? cr(Hr) : ti;
345
345
  const ur = ni;
346
346
  var oi = Object.prototype, ai = oi.hasOwnProperty;
347
347
  function Jn(t, e) {
348
- var r = P(t), n = !r && Jt(t), o = !r && !n && Wt(t), a = !r && !n && !o && ur(t), i = r || n || o || a, s = i ? Ss(t.length, String) : [], c = s.length;
348
+ var r = I(t), n = !r && Jt(t), o = !r && !n && Wt(t), a = !r && !n && !o && ur(t), i = r || n || o || a, s = i ? Ss(t.length, String) : [], c = s.length;
349
349
  for (var u in t)
350
350
  (e || ai.call(t, u)) && !(i && // Safari 9 has enumerable `arguments.length` in strict mode.
351
351
  (u == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
@@ -394,12 +394,12 @@ function ee(t) {
394
394
  }
395
395
  var mi = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, vi = /^\w*$/;
396
396
  function lr(t, e) {
397
- if (P(t))
397
+ if (I(t))
398
398
  return !1;
399
399
  var r = typeof t;
400
400
  return r == "number" || r == "symbol" || r == "boolean" || t == null || tr(t) ? !0 : vi.test(t) || !mi.test(t) || e != null && t in Object(e);
401
401
  }
402
- var gi = vt(Object, "create");
402
+ var gi = mt(Object, "create");
403
403
  const Qt = gi;
404
404
  function yi() {
405
405
  this.__data__ = Qt ? Qt(null) : {}, this.size = 0;
@@ -427,18 +427,18 @@ function xi(t, e) {
427
427
  var r = this.__data__;
428
428
  return this.size += this.has(t) ? 0 : 1, r[t] = Qt && e === void 0 ? Ni : e, this;
429
429
  }
430
- function ft(t) {
430
+ function lt(t) {
431
431
  var e = -1, r = t == null ? 0 : t.length;
432
432
  for (this.clear(); ++e < r; ) {
433
433
  var n = t[e];
434
434
  this.set(n[0], n[1]);
435
435
  }
436
436
  }
437
- ft.prototype.clear = yi;
438
- ft.prototype.delete = bi;
439
- ft.prototype.get = Oi;
440
- ft.prototype.has = Ei;
441
- ft.prototype.set = xi;
437
+ lt.prototype.clear = yi;
438
+ lt.prototype.delete = bi;
439
+ lt.prototype.get = Oi;
440
+ lt.prototype.has = Ei;
441
+ lt.prototype.set = xi;
442
442
  function $i() {
443
443
  this.__data__ = [], this.size = 0;
444
444
  }
@@ -460,10 +460,10 @@ function Pi(t) {
460
460
  var e = this.__data__, r = ye(e, t);
461
461
  return r < 0 ? void 0 : e[r][1];
462
462
  }
463
- function Ri(t) {
463
+ function Ii(t) {
464
464
  return ye(this.__data__, t) > -1;
465
465
  }
466
- function Ii(t, e) {
466
+ function Ri(t, e) {
467
467
  var r = this.__data__, n = ye(r, t);
468
468
  return n < 0 ? (++this.size, r.push([t, e])) : r[n][1] = e, this;
469
469
  }
@@ -477,15 +477,15 @@ function tt(t) {
477
477
  tt.prototype.clear = $i;
478
478
  tt.prototype.delete = Ai;
479
479
  tt.prototype.get = Pi;
480
- tt.prototype.has = Ri;
481
- tt.prototype.set = Ii;
482
- var Di = vt(K, "Map");
480
+ tt.prototype.has = Ii;
481
+ tt.prototype.set = Ri;
482
+ var Di = mt(K, "Map");
483
483
  const qt = Di;
484
484
  function Li() {
485
485
  this.size = 0, this.__data__ = {
486
- hash: new ft(),
486
+ hash: new lt(),
487
487
  map: new (qt || tt)(),
488
- string: new ft()
488
+ string: new lt()
489
489
  };
490
490
  }
491
491
  function Fi(t) {
@@ -522,10 +522,10 @@ et.prototype.delete = Bi;
522
522
  et.prototype.get = Ui;
523
523
  et.prototype.has = ki;
524
524
  et.prototype.set = Vi;
525
- var zi = "Expected a function";
525
+ var Gi = "Expected a function";
526
526
  function fr(t, e) {
527
527
  if (typeof t != "function" || e != null && typeof e != "function")
528
- throw new TypeError(zi);
528
+ throw new TypeError(Gi);
529
529
  var r = function() {
530
530
  var n = arguments, o = e ? e.apply(this, n) : n[0], a = r.cache;
531
531
  if (a.has(o))
@@ -536,10 +536,10 @@ function fr(t, e) {
536
536
  return r.cache = new (fr.Cache || et)(), r;
537
537
  }
538
538
  fr.Cache = et;
539
- var Gi = 500;
539
+ var zi = 500;
540
540
  function Hi(t) {
541
541
  var e = fr(t, function(n) {
542
- return r.size === Gi && r.clear(), n;
542
+ return r.size === zi && r.clear(), n;
543
543
  }), r = e.cache;
544
544
  return e;
545
545
  }
@@ -554,7 +554,7 @@ function Yi(t) {
554
554
  return t == null ? "" : Fn(t);
555
555
  }
556
556
  function $t(t, e) {
557
- return P(t) ? t : lr(t, e) ? [t] : qi(Yi(t));
557
+ return I(t) ? t : lr(t, e) ? [t] : qi(Yi(t));
558
558
  }
559
559
  var Ki = 1 / 0;
560
560
  function Tt(t) {
@@ -578,9 +578,9 @@ function pr(t, e) {
578
578
  t[o + r] = e[r];
579
579
  return t;
580
580
  }
581
- var Jr = z ? z.isConcatSpreadable : void 0;
581
+ var Jr = G ? G.isConcatSpreadable : void 0;
582
582
  function Xi(t) {
583
- return P(t) || Jt(t) || !!(Jr && t && t[Jr]);
583
+ return I(t) || Jt(t) || !!(Jr && t && t[Jr]);
584
584
  }
585
585
  function dr(t, e, r, n, o) {
586
586
  var a = -1, i = t.length;
@@ -601,7 +601,7 @@ var ec = Wn(Object.getPrototypeOf, Object);
601
601
  const hr = ec;
602
602
  var rc = "[object Object]", nc = Function.prototype, oc = Object.prototype, qn = nc.toString, ac = oc.hasOwnProperty, sc = qn.call(Object);
603
603
  function B(t) {
604
- if (!Y(t) || ht(t) != rc)
604
+ if (!Y(t) || dt(t) != rc)
605
605
  return !1;
606
606
  var e = hr(t);
607
607
  if (e === null)
@@ -692,7 +692,7 @@ function wc(t, e) {
692
692
  }
693
693
  function to(t, e, r) {
694
694
  var n = e(t);
695
- return P(t) ? n : pr(n, r(t));
695
+ return I(t) ? n : pr(n, r(t));
696
696
  }
697
697
  function Fe(t) {
698
698
  return to(t, ge, mr);
@@ -700,15 +700,15 @@ function Fe(t) {
700
700
  function vr(t) {
701
701
  return to(t, ee, Zn);
702
702
  }
703
- var Cc = vt(K, "DataView");
703
+ var Cc = mt(K, "DataView");
704
704
  const Be = Cc;
705
- var Ec = vt(K, "Promise");
705
+ var Ec = mt(K, "Promise");
706
706
  const Ue = Ec;
707
- var Nc = vt(K, "Set");
708
- const _t = Nc;
709
- var Kr = "[object Map]", xc = "[object Object]", Xr = "[object Promise]", Zr = "[object Set]", tn = "[object WeakMap]", en = "[object DataView]", $c = mt(Be), Tc = mt(qt), Mc = mt(Ue), Ac = mt(_t), Pc = mt(Le), ut = ht;
710
- (Be && ut(new Be(new ArrayBuffer(1))) != en || qt && ut(new qt()) != Kr || Ue && ut(Ue.resolve()) != Xr || _t && ut(new _t()) != Zr || Le && ut(new Le()) != tn) && (ut = function(t) {
711
- var e = ht(t), r = e == xc ? t.constructor : void 0, n = r ? mt(r) : "";
707
+ var Nc = mt(K, "Set");
708
+ const bt = Nc;
709
+ var Kr = "[object Map]", xc = "[object Object]", Xr = "[object Promise]", Zr = "[object Set]", tn = "[object WeakMap]", en = "[object DataView]", $c = ht(Be), Tc = ht(qt), Mc = ht(Ue), Ac = ht(bt), Pc = ht(Le), ut = dt;
710
+ (Be && ut(new Be(new ArrayBuffer(1))) != en || qt && ut(new qt()) != Kr || Ue && ut(Ue.resolve()) != Xr || bt && ut(new bt()) != Zr || Le && ut(new Le()) != tn) && (ut = function(t) {
711
+ var e = dt(t), r = e == xc ? t.constructor : void 0, n = r ? ht(r) : "";
712
712
  if (n)
713
713
  switch (n) {
714
714
  case $c:
@@ -725,10 +725,10 @@ var Kr = "[object Map]", xc = "[object Object]", Xr = "[object Promise]", Zr = "
725
725
  return e;
726
726
  });
727
727
  const Yt = ut;
728
- var Rc = Object.prototype, Ic = Rc.hasOwnProperty;
728
+ var Ic = Object.prototype, Rc = Ic.hasOwnProperty;
729
729
  function Dc(t) {
730
730
  var e = t.length, r = new t.constructor(e);
731
- return e && typeof t[0] == "string" && Ic.call(t, "index") && (r.index = t.index, r.input = t.input), r;
731
+ return e && typeof t[0] == "string" && Rc.call(t, "index") && (r.index = t.index, r.input = t.input), r;
732
732
  }
733
733
  var Lc = K.Uint8Array;
734
734
  const fe = Lc;
@@ -745,7 +745,7 @@ function Uc(t) {
745
745
  var e = new t.constructor(t.source, Bc.exec(t));
746
746
  return e.lastIndex = t.lastIndex, e;
747
747
  }
748
- var rn = z ? z.prototype : void 0, nn = rn ? rn.valueOf : void 0;
748
+ var rn = G ? G.prototype : void 0, nn = rn ? rn.valueOf : void 0;
749
749
  function kc(t) {
750
750
  return nn ? Object(nn.call(t)) : {};
751
751
  }
@@ -753,14 +753,14 @@ function eo(t, e) {
753
753
  var r = e ? gr(t.buffer) : t.buffer;
754
754
  return new t.constructor(r, t.byteOffset, t.length);
755
755
  }
756
- var Vc = "[object Boolean]", zc = "[object Date]", Gc = "[object Map]", Hc = "[object Number]", Jc = "[object RegExp]", Wc = "[object Set]", Qc = "[object String]", qc = "[object Symbol]", Yc = "[object ArrayBuffer]", Kc = "[object DataView]", Xc = "[object Float32Array]", Zc = "[object Float64Array]", tu = "[object Int8Array]", eu = "[object Int16Array]", ru = "[object Int32Array]", nu = "[object Uint8Array]", ou = "[object Uint8ClampedArray]", au = "[object Uint16Array]", su = "[object Uint32Array]";
756
+ var Vc = "[object Boolean]", Gc = "[object Date]", zc = "[object Map]", Hc = "[object Number]", Jc = "[object RegExp]", Wc = "[object Set]", Qc = "[object String]", qc = "[object Symbol]", Yc = "[object ArrayBuffer]", Kc = "[object DataView]", Xc = "[object Float32Array]", Zc = "[object Float64Array]", tu = "[object Int8Array]", eu = "[object Int16Array]", ru = "[object Int32Array]", nu = "[object Uint8Array]", ou = "[object Uint8ClampedArray]", au = "[object Uint16Array]", su = "[object Uint32Array]";
757
757
  function iu(t, e, r) {
758
758
  var n = t.constructor;
759
759
  switch (e) {
760
760
  case Yc:
761
761
  return gr(t);
762
762
  case Vc:
763
- case zc:
763
+ case Gc:
764
764
  return new n(+t);
765
765
  case Kc:
766
766
  return Fc(t, r);
@@ -774,7 +774,7 @@ function iu(t, e, r) {
774
774
  case au:
775
775
  case su:
776
776
  return eo(t, r);
777
- case Gc:
777
+ case zc:
778
778
  return new n();
779
779
  case Hc:
780
780
  case Qc:
@@ -794,24 +794,24 @@ var cu = "[object Map]";
794
794
  function uu(t) {
795
795
  return Y(t) && Yt(t) == cu;
796
796
  }
797
- var on = St && St.isMap, lu = on ? cr(on) : uu;
797
+ var on = _t && _t.isMap, lu = on ? cr(on) : uu;
798
798
  const fu = lu;
799
799
  var pu = "[object Set]";
800
800
  function du(t) {
801
801
  return Y(t) && Yt(t) == pu;
802
802
  }
803
- var an = St && St.isSet, hu = an ? cr(an) : du;
803
+ var an = _t && _t.isSet, hu = an ? cr(an) : du;
804
804
  const mu = hu;
805
- var vu = 1, gu = 2, yu = 4, no = "[object Arguments]", bu = "[object Array]", _u = "[object Boolean]", Su = "[object Date]", ju = "[object Error]", oo = "[object Function]", Ou = "[object GeneratorFunction]", wu = "[object Map]", Cu = "[object Number]", ao = "[object Object]", Eu = "[object RegExp]", Nu = "[object Set]", xu = "[object String]", $u = "[object Symbol]", Tu = "[object WeakMap]", Mu = "[object ArrayBuffer]", Au = "[object DataView]", Pu = "[object Float32Array]", Ru = "[object Float64Array]", Iu = "[object Int8Array]", Du = "[object Int16Array]", Lu = "[object Int32Array]", Fu = "[object Uint8Array]", Bu = "[object Uint8ClampedArray]", Uu = "[object Uint16Array]", ku = "[object Uint32Array]", E = {};
806
- E[no] = E[bu] = E[Mu] = E[Au] = E[_u] = E[Su] = E[Pu] = E[Ru] = E[Iu] = E[Du] = E[Lu] = E[wu] = E[Cu] = E[ao] = E[Eu] = E[Nu] = E[xu] = E[$u] = E[Fu] = E[Bu] = E[Uu] = E[ku] = !0;
805
+ var vu = 1, gu = 2, yu = 4, no = "[object Arguments]", bu = "[object Array]", _u = "[object Boolean]", Su = "[object Date]", ju = "[object Error]", oo = "[object Function]", Ou = "[object GeneratorFunction]", wu = "[object Map]", Cu = "[object Number]", ao = "[object Object]", Eu = "[object RegExp]", Nu = "[object Set]", xu = "[object String]", $u = "[object Symbol]", Tu = "[object WeakMap]", Mu = "[object ArrayBuffer]", Au = "[object DataView]", Pu = "[object Float32Array]", Iu = "[object Float64Array]", Ru = "[object Int8Array]", Du = "[object Int16Array]", Lu = "[object Int32Array]", Fu = "[object Uint8Array]", Bu = "[object Uint8ClampedArray]", Uu = "[object Uint16Array]", ku = "[object Uint32Array]", E = {};
806
+ E[no] = E[bu] = E[Mu] = E[Au] = E[_u] = E[Su] = E[Pu] = E[Iu] = E[Ru] = E[Du] = E[Lu] = E[wu] = E[Cu] = E[ao] = E[Eu] = E[Nu] = E[xu] = E[$u] = E[Fu] = E[Bu] = E[Uu] = E[ku] = !0;
807
807
  E[ju] = E[oo] = E[Tu] = !1;
808
- function zt(t, e, r, n, o, a) {
808
+ function Gt(t, e, r, n, o, a) {
809
809
  var i, s = e & vu, c = e & gu, u = e & yu;
810
810
  if (r && (i = o ? r(t, n, o, a) : r(t)), i !== void 0)
811
811
  return i;
812
812
  if (!W(t))
813
813
  return t;
814
- var l = P(t);
814
+ var l = I(t);
815
815
  if (l) {
816
816
  if (i = Dc(t), !s)
817
817
  return Bn(t, i);
@@ -833,22 +833,22 @@ function zt(t, e, r, n, o, a) {
833
833
  if (d)
834
834
  return d;
835
835
  a.set(t, i), mu(t) ? t.forEach(function(b) {
836
- i.add(zt(b, e, r, b, t, a));
836
+ i.add(Gt(b, e, r, b, t, a));
837
837
  }) : fu(t) && t.forEach(function(b, S) {
838
- i.set(S, zt(b, e, r, S, t, a));
838
+ i.set(S, Gt(b, e, r, S, t, a));
839
839
  });
840
840
  var m = u ? c ? vr : Fe : c ? ee : ge, g = l ? void 0 : m(t);
841
841
  return is(g || t, function(b, S) {
842
- g && (S = b, b = t[S]), ar(i, S, zt(b, e, r, S, t, a));
842
+ g && (S = b, b = t[S]), ar(i, S, Gt(b, e, r, S, t, a));
843
843
  }), i;
844
844
  }
845
- var Vu = 1, zu = 4;
845
+ var Vu = 1, Gu = 4;
846
846
  function so(t) {
847
- return zt(t, Vu | zu);
847
+ return Gt(t, Vu | Gu);
848
848
  }
849
- var Gu = "__lodash_hash_undefined__";
849
+ var zu = "__lodash_hash_undefined__";
850
850
  function Hu(t) {
851
- return this.__data__.set(t, Gu), this;
851
+ return this.__data__.set(t, zu), this;
852
852
  }
853
853
  function Ju(t) {
854
854
  return this.__data__.has(t);
@@ -915,7 +915,7 @@ function yr(t) {
915
915
  r[++e] = n;
916
916
  }), r;
917
917
  }
918
- var Ku = 1, Xu = 2, Zu = "[object Boolean]", tl = "[object Date]", el = "[object Error]", rl = "[object Map]", nl = "[object Number]", ol = "[object RegExp]", al = "[object Set]", sl = "[object String]", il = "[object Symbol]", cl = "[object ArrayBuffer]", ul = "[object DataView]", sn = z ? z.prototype : void 0, Me = sn ? sn.valueOf : void 0;
918
+ var Ku = 1, Xu = 2, Zu = "[object Boolean]", tl = "[object Date]", el = "[object Error]", rl = "[object Map]", nl = "[object Number]", ol = "[object RegExp]", al = "[object Set]", sl = "[object String]", il = "[object Symbol]", cl = "[object ArrayBuffer]", ul = "[object DataView]", sn = G ? G.prototype : void 0, Me = sn ? sn.valueOf : void 0;
919
919
  function ll(t, e, r, n, o, a, i) {
920
920
  switch (r) {
921
921
  case ul:
@@ -970,8 +970,8 @@ function hl(t, e, r, n, o, a) {
970
970
  f = s[p];
971
971
  var S = t[f], j = e[f];
972
972
  if (n)
973
- var A = i ? n(j, S, f, e, t, a) : n(S, j, f, t, e, a);
974
- if (!(A === void 0 ? S === j || o(S, j, r, n, a) : A)) {
973
+ var M = i ? n(j, S, f, e, t, a) : n(S, j, f, t, e, a);
974
+ if (!(M === void 0 ? S === j || o(S, j, r, n, a) : M)) {
975
975
  g = !1;
976
976
  break;
977
977
  }
@@ -985,7 +985,7 @@ function hl(t, e, r, n, o, a) {
985
985
  }
986
986
  var ml = 1, cn = "[object Arguments]", un = "[object Array]", ce = "[object Object]", vl = Object.prototype, ln = vl.hasOwnProperty;
987
987
  function gl(t, e, r, n, o, a) {
988
- var i = P(t), s = P(e), c = i ? un : Yt(t), u = s ? un : Yt(e);
988
+ var i = I(t), s = I(e), c = i ? un : Yt(t), u = s ? un : Yt(e);
989
989
  c = c == cn ? ce : c, u = u == cn ? ce : u;
990
990
  var l = c == ce, p = u == ce, f = c == u;
991
991
  if (f && Wt(t)) {
@@ -1065,7 +1065,7 @@ function wl(t, e, r) {
1065
1065
  break;
1066
1066
  t = t[i];
1067
1067
  }
1068
- return a || ++n != o ? a : (o = t == null ? 0 : t.length, !!o && sr(o) && me(i, o) && (P(t) || Jt(t)));
1068
+ return a || ++n != o ? a : (o = t == null ? 0 : t.length, !!o && sr(o) && me(i, o) && (I(t) || Jt(t)));
1069
1069
  }
1070
1070
  function Cl(t, e) {
1071
1071
  return t != null && wl(t, e, Ol);
@@ -1091,7 +1091,7 @@ function Ml(t) {
1091
1091
  return lr(t) ? $l(Tt(t)) : Tl(t);
1092
1092
  }
1093
1093
  function _r(t) {
1094
- return typeof t == "function" ? t : t == null ? rr : typeof t == "object" ? P(t) ? xl(t[0], t[1]) : jl(t) : Ml(t);
1094
+ return typeof t == "function" ? t : t == null ? rr : typeof t == "object" ? I(t) ? xl(t[0], t[1]) : jl(t) : Ml(t);
1095
1095
  }
1096
1096
  function Al(t) {
1097
1097
  return function(e, r, n) {
@@ -1104,39 +1104,39 @@ function Al(t) {
1104
1104
  };
1105
1105
  }
1106
1106
  var Pl = Al();
1107
- const Rl = Pl;
1107
+ const Il = Pl;
1108
1108
  function ke(t, e, r) {
1109
1109
  (r !== void 0 && !te(t[e], r) || r === void 0 && !(e in t)) && or(t, e, r);
1110
1110
  }
1111
1111
  function Ve(t) {
1112
1112
  return Y(t) && ve(t);
1113
1113
  }
1114
- function ze(t, e) {
1114
+ function Ge(t, e) {
1115
1115
  if (!(e === "constructor" && typeof t[e] == "function") && e != "__proto__")
1116
1116
  return t[e];
1117
1117
  }
1118
- function Il(t) {
1118
+ function Rl(t) {
1119
1119
  return xt(t, ee(t));
1120
1120
  }
1121
1121
  function Dl(t, e, r, n, o, a, i) {
1122
- var s = ze(t, r), c = ze(e, r), u = i.get(c);
1122
+ var s = Ge(t, r), c = Ge(e, r), u = i.get(c);
1123
1123
  if (u) {
1124
1124
  ke(t, r, u);
1125
1125
  return;
1126
1126
  }
1127
1127
  var l = a ? a(s, c, r + "", t, e, i) : void 0, p = l === void 0;
1128
1128
  if (p) {
1129
- var f = P(c), d = !f && Wt(c), m = !f && !d && ur(c);
1130
- l = c, f || d || m ? P(s) ? l = s : Ve(s) ? l = Bn(s) : d ? (p = !1, l = Kn(c, !0)) : m ? (p = !1, l = eo(c, !0)) : l = [] : B(c) || Jt(c) ? (l = s, Jt(s) ? l = Il(s) : (!W(s) || nr(s)) && (l = ro(c))) : p = !1;
1129
+ var f = I(c), d = !f && Wt(c), m = !f && !d && ur(c);
1130
+ l = c, f || d || m ? I(s) ? l = s : Ve(s) ? l = Bn(s) : d ? (p = !1, l = Kn(c, !0)) : m ? (p = !1, l = eo(c, !0)) : l = [] : B(c) || Jt(c) ? (l = s, Jt(s) ? l = Rl(s) : (!W(s) || nr(s)) && (l = ro(c))) : p = !1;
1131
1131
  }
1132
1132
  p && (i.set(c, l), o(l, c, n, a, i), i.delete(c)), ke(t, r, l);
1133
1133
  }
1134
1134
  function fo(t, e, r, n, o) {
1135
- t !== e && Rl(e, function(a, i) {
1135
+ t !== e && Il(e, function(a, i) {
1136
1136
  if (o || (o = new H()), W(a))
1137
1137
  Dl(t, e, i, r, fo, n, o);
1138
1138
  else {
1139
- var s = n ? n(ze(t, i), a, i + "", t, e, o) : void 0;
1139
+ var s = n ? n(Ge(t, i), a, i + "", t, e, o) : void 0;
1140
1140
  s === void 0 && (s = a), ke(t, i, s);
1141
1141
  }
1142
1142
  }, ee);
@@ -1180,17 +1180,17 @@ function kl(t) {
1180
1180
  function Vl(t, e) {
1181
1181
  return e = $t(e, t), t = Fl(t, e), t == null || delete t[Tt(po(e))];
1182
1182
  }
1183
- function zl(t) {
1183
+ function Gl(t) {
1184
1184
  return B(t) ? void 0 : t;
1185
1185
  }
1186
- var Gl = 1, Hl = 2, Jl = 4, Wl = tc(function(t, e) {
1186
+ var zl = 1, Hl = 2, Jl = 4, Wl = tc(function(t, e) {
1187
1187
  var r = {};
1188
1188
  if (t == null)
1189
1189
  return r;
1190
1190
  var n = !1;
1191
1191
  e = er(e, function(a) {
1192
1192
  return a = $t(a, t), n || (n = a.length > 1), a;
1193
- }), xt(t, vr(t), r), n && (r = zt(r, Gl | Hl | Jl, zl));
1193
+ }), xt(t, vr(t), r), n && (r = Gt(r, zl | Hl | Jl, Gl));
1194
1194
  for (var o = e.length; o--; )
1195
1195
  Vl(r, e[o]);
1196
1196
  return r;
@@ -1232,8 +1232,8 @@ function Yl(t, e) {
1232
1232
  function Kl(t, e) {
1233
1233
  return Yl(t, kl(_r(e)));
1234
1234
  }
1235
- var Xl = 1 / 0, Zl = _t && 1 / yr(new _t([, -0]))[1] == Xl ? function(t) {
1236
- return new _t(t);
1235
+ var Xl = 1 / 0, Zl = bt && 1 / yr(new bt([, -0]))[1] == Xl ? function(t) {
1236
+ return new bt(t);
1237
1237
  } : Ka;
1238
1238
  const tf = Zl;
1239
1239
  var ef = 200;
@@ -1465,7 +1465,7 @@ function st(t, e) {
1465
1465
  validator: e
1466
1466
  });
1467
1467
  }
1468
- function jt(t) {
1468
+ function St(t) {
1469
1469
  return new X({
1470
1470
  type: "dynamic",
1471
1471
  schema: null,
@@ -1498,10 +1498,10 @@ function yo(t, e) {
1498
1498
  return w(n);
1499
1499
  }
1500
1500
  }
1501
- function I() {
1501
+ function P() {
1502
1502
  return st("any", () => !0);
1503
1503
  }
1504
- function M(t) {
1504
+ function A(t) {
1505
1505
  return new X({
1506
1506
  type: "array",
1507
1507
  schema: t,
@@ -1518,10 +1518,10 @@ function M(t) {
1518
1518
  }
1519
1519
  });
1520
1520
  }
1521
- function lt() {
1521
+ function jt() {
1522
1522
  return st("boolean", (t) => typeof t == "boolean");
1523
1523
  }
1524
- function Ge(t) {
1524
+ function ze(t) {
1525
1525
  const e = {}, r = t.map((n) => U(n)).join();
1526
1526
  for (const n of t)
1527
1527
  e[n] = n;
@@ -1536,7 +1536,7 @@ function Ge(t) {
1536
1536
  function bo() {
1537
1537
  return st("func", (t) => typeof t == "function" || "Expected a function, but received: " + U(t));
1538
1538
  }
1539
- function F(t) {
1539
+ function L(t) {
1540
1540
  const e = U(t), r = typeof t;
1541
1541
  return new X({
1542
1542
  type: "literal",
@@ -1583,7 +1583,7 @@ function v(t) {
1583
1583
  refiner: (e, r) => e === void 0 || t.refiner(e, r)
1584
1584
  });
1585
1585
  }
1586
- function Gt(t, e) {
1586
+ function zt(t, e) {
1587
1587
  return new X({
1588
1588
  type: "record",
1589
1589
  schema: null,
@@ -1617,7 +1617,7 @@ function So(t) {
1617
1617
  }
1618
1618
  });
1619
1619
  }
1620
- function L(t) {
1620
+ function F(t) {
1621
1621
  const e = t.map((r) => r.type).join(" | ");
1622
1622
  return new X({
1623
1623
  type: "union",
@@ -1652,11 +1652,11 @@ const Or = w({
1652
1652
  version: h(),
1653
1653
  name: h(),
1654
1654
  exportName: v(h()),
1655
- destructuring: v(lt()),
1655
+ destructuring: v(jt()),
1656
1656
  subName: v(h()),
1657
1657
  main: v(h()),
1658
- cssPaths: v(M(h()))
1659
- }), hf = M(Or), mf = [
1658
+ cssPaths: v(A(h()))
1659
+ }), hf = A(Or), mf = [
1660
1660
  "CBlock",
1661
1661
  "CContainer",
1662
1662
  "CImage",
@@ -1667,100 +1667,100 @@ const Or = w({
1667
1667
  "CNativeTag"
1668
1668
  ];
1669
1669
  var V = /* @__PURE__ */ ((t) => (t.SLOT = "SLOT", t.FUNCTION = "FUNCTION", t.EXPRESSION = "EXPRESSION", t))(V || {}), wr = /* @__PURE__ */ ((t) => (t.DESIGN = "design", t.SAVE = "save", t))(wr || {}), He = /* @__PURE__ */ ((t) => (t.FUNC = "FUNC", t.COMP = "COMP", t))(He || {});
1670
- const vf = () => st("normalObj", (t) => !B(t) || [V.SLOT, V.EXPRESSION, V.FUNCTION].includes(t == null ? void 0 : t.type) ? !1 : (Mt(t, Gt(h(), Cr)), !0)), Cr = L([
1670
+ const vf = () => st("normalObj", (t) => !B(t) || [V.SLOT, V.EXPRESSION, V.FUNCTION].includes(t == null ? void 0 : t.type) ? !1 : (Mt(t, zt(h(), Cr)), !0)), Cr = F([
1671
1671
  h(),
1672
1672
  _o(),
1673
- lt(),
1673
+ jt(),
1674
1674
  w({
1675
- type: F(V.SLOT),
1676
- renderType: Ge([He.FUNC, He.COMP]),
1675
+ type: L(V.SLOT),
1676
+ renderType: ze([He.FUNC, He.COMP]),
1677
1677
  // if renderType is Func, params will be useful
1678
- params: v(M(h())),
1678
+ params: v(A(h())),
1679
1679
  // here can't use PropsDataStructDescribe, it will caused "Maximum call stack size exceeded" error
1680
- value: jt(() => L([Ot, M(Ot)]))
1680
+ value: St(() => F([Ot, A(Ot)]))
1681
1681
  }),
1682
1682
  w({
1683
- type: F(V.EXPRESSION),
1683
+ type: L(V.EXPRESSION),
1684
1684
  value: h()
1685
1685
  }),
1686
1686
  w({
1687
- type: F(V.FUNCTION),
1687
+ type: L(V.FUNCTION),
1688
1688
  value: h()
1689
1689
  }),
1690
1690
  vf(),
1691
- M(
1692
- jt(() => Cr)
1691
+ A(
1692
+ St(() => Cr)
1693
1693
  )
1694
1694
  ]), pn = w({
1695
- type: F(V.EXPRESSION),
1695
+ type: L(V.EXPRESSION),
1696
1696
  value: h()
1697
1697
  }), Ot = w({
1698
1698
  id: v(h()),
1699
1699
  title: v(h()),
1700
1700
  componentName: h(),
1701
- props: v(Gt(h(), Cr)),
1701
+ props: v(zt(h(), Cr)),
1702
1702
  nodeName: v(h()),
1703
- state: v(Gt(h(), I())),
1704
- children: jt(() => v(M(L([h(), Ot])))),
1705
- configure: v(I()),
1706
- css: v(I()),
1707
- style: v(I()),
1708
- classNames: v(M(I())),
1703
+ state: v(zt(h(), P())),
1704
+ children: St(() => v(A(F([h(), Ot])))),
1705
+ configure: v(P()),
1706
+ css: v(P()),
1707
+ style: v(P()),
1708
+ classNames: v(A(P())),
1709
1709
  refId: v(h()),
1710
- extra: v(Gt(I(), I())),
1711
- condition: v(L([lt(), pn])),
1710
+ extra: v(zt(P(), P())),
1711
+ condition: v(F([jt(), pn])),
1712
1712
  loop: v(
1713
1713
  w({
1714
- open: lt(),
1715
- data: L([M(I()), pn]),
1716
- args: v(M(h())),
1714
+ open: jt(),
1715
+ data: F([A(P()), pn]),
1716
+ args: v(A(h())),
1717
1717
  forName: v(h()),
1718
1718
  forIndex: v(h()),
1719
- key: v(I()),
1719
+ key: v(P()),
1720
1720
  name: v(h())
1721
1721
  })
1722
1722
  ),
1723
- methods: v(M(I()))
1724
- }), pe = L([
1723
+ methods: v(A(P()))
1724
+ }), pe = F([
1725
1725
  h(),
1726
1726
  w({
1727
1727
  label: h(),
1728
1728
  tip: v(h())
1729
1729
  })
1730
1730
  ]), gf = w({
1731
- type: F(
1731
+ type: L(
1732
1732
  "shape"
1733
1733
  /* SHAPE */
1734
1734
  ),
1735
- value: M(
1735
+ value: A(
1736
1736
  w({
1737
1737
  name: h(),
1738
1738
  title: pe,
1739
- valueType: jt(() => Se)
1739
+ valueType: St(() => Se)
1740
1740
  })
1741
1741
  )
1742
1742
  }), yf = w({
1743
- type: F(
1743
+ type: L(
1744
1744
  "enums"
1745
1745
  /* ENUMS */
1746
1746
  ),
1747
- value: M(h())
1747
+ value: A(h())
1748
1748
  });
1749
1749
  w({
1750
- type: F(
1750
+ type: L(
1751
1751
  "array"
1752
1752
  /* ARRAY */
1753
1753
  ),
1754
- value: jt(() => Se)
1754
+ value: St(() => Se)
1755
1755
  });
1756
1756
  const bf = w({
1757
- type: F(
1757
+ type: L(
1758
1758
  "array"
1759
1759
  /* ARRAY */
1760
1760
  ),
1761
- value: jt(() => M(Se))
1762
- }), Se = L([
1763
- Ge([
1761
+ value: St(() => A(Se))
1762
+ }), Se = F([
1763
+ ze([
1764
1764
  "array",
1765
1765
  "boolean",
1766
1766
  "number",
@@ -1768,7 +1768,7 @@ const bf = w({
1768
1768
  "string"
1769
1769
  /* STRING */
1770
1770
  ]),
1771
- Ge([
1771
+ ze([
1772
1772
  "component",
1773
1773
  "expression",
1774
1774
  "function"
@@ -1777,14 +1777,14 @@ const bf = w({
1777
1777
  gf,
1778
1778
  yf,
1779
1779
  bf
1780
- ]), _f = L([
1780
+ ]), _f = F([
1781
1781
  h(),
1782
1782
  w({
1783
1783
  componentName: h(),
1784
- props: v(I()),
1784
+ props: v(P()),
1785
1785
  /** 用于标记当前数据的初始值,如添加一个数组元素可以使用该值填充 */
1786
- initialValue: v(I()),
1787
- component: v(I())
1786
+ initialValue: v(P()),
1787
+ component: v(P())
1788
1788
  })
1789
1789
  ]), Ae = w({
1790
1790
  name: h(),
@@ -1792,14 +1792,14 @@ const bf = w({
1792
1792
  // 描述 name 对应值的类型
1793
1793
  valueType: Se,
1794
1794
  description: v(h()),
1795
- defaultValue: I(),
1795
+ defaultValue: P(),
1796
1796
  //用于产生 valueType 类型的值
1797
- setters: v(M(_f)),
1797
+ setters: v(A(_f)),
1798
1798
  condition: v(bo())
1799
1799
  });
1800
- L([h(), bo()]);
1800
+ F([h(), bo()]);
1801
1801
  var Je = /* @__PURE__ */ ((t) => (t.SINGLE = "single", t.GROUP = "group", t))(Je || {});
1802
- L([
1802
+ F([
1803
1803
  h(),
1804
1804
  w({
1805
1805
  name: h(),
@@ -1816,11 +1816,11 @@ L([
1816
1816
  const Sf = w({
1817
1817
  id: v(h()),
1818
1818
  title: h(),
1819
- snapshot: L([h(), I()]),
1819
+ snapshot: F([h(), P()]),
1820
1820
  snapshotText: v(h()),
1821
1821
  description: v(h()),
1822
1822
  // 组件分类,用于搜索
1823
- tags: v(M(h())),
1823
+ tags: v(A(h())),
1824
1824
  // 分 tab 面板
1825
1825
  groupName: v(h()),
1826
1826
  // 分类
@@ -1832,7 +1832,7 @@ const Sf = w({
1832
1832
  screenshot: v(h()),
1833
1833
  icon: v(h()),
1834
1834
  // 组件分类,用于搜索
1835
- tags: v(M(h())),
1835
+ tags: v(A(h())),
1836
1836
  // 分 tab 面板
1837
1837
  groupName: v(h()),
1838
1838
  // 分类
@@ -1840,13 +1840,13 @@ const Sf = w({
1840
1840
  // 排序
1841
1841
  priority: v(_o()),
1842
1842
  npm: v(Or),
1843
- snippets: M(Sf),
1844
- props: M(
1845
- L([
1843
+ snippets: A(Sf),
1844
+ props: A(
1845
+ F([
1846
1846
  Ae,
1847
1847
  w({
1848
1848
  title: v(pe),
1849
- type: F(
1849
+ type: L(
1850
1850
  "single"
1851
1851
  /* SINGLE */
1852
1852
  ),
@@ -1854,19 +1854,19 @@ const Sf = w({
1854
1854
  }),
1855
1855
  w({
1856
1856
  title: v(pe),
1857
- type: F(
1857
+ type: L(
1858
1858
  "group"
1859
1859
  /* GROUP */
1860
1860
  ),
1861
- content: M(Ae)
1861
+ content: A(Ae)
1862
1862
  })
1863
1863
  ])
1864
1864
  ),
1865
- fixedProps: v(I()),
1865
+ fixedProps: v(P()),
1866
1866
  // 可以拖入组件
1867
1867
  isContainer: v(
1868
- L([
1869
- lt(),
1868
+ F([
1869
+ jt(),
1870
1870
  w({
1871
1871
  placeholder: h(),
1872
1872
  width: h(),
@@ -1874,14 +1874,14 @@ const Sf = w({
1874
1874
  })
1875
1875
  ])
1876
1876
  ),
1877
- supportDispatchNativeEvent: v(L([lt(), M(h())])),
1877
+ disableEditorDragDom: v(P()),
1878
1878
  // 如果是布局组件,可以考虑将拖拽控制权转移 or 实现 resize
1879
- isLayout: v(lt()),
1879
+ isLayout: v(jt()),
1880
1880
  rootSelector: v(h()),
1881
1881
  // selectionToolBarView: optional(func()),
1882
- advanceCustom: v(I()),
1882
+ advanceCustom: v(P()),
1883
1883
  // 扩展配置
1884
- extra: v(Gt(I(), I()))
1884
+ extra: v(zt(P(), P()))
1885
1885
  }), Of = (t) => ({ data: e, message: r, throwError: n }) => {
1886
1886
  const o = t({ data: e, message: r, throwError: n });
1887
1887
  if (o.isValidate)
@@ -1913,12 +1913,12 @@ const Sf = w({
1913
1913
  };
1914
1914
  var At = /* @__PURE__ */ ((t) => (t.ROOT_CONTAINER = "RootContainer", t))(At || {});
1915
1915
  const wf = w({
1916
- type: F(V.FUNCTION),
1916
+ type: L(V.FUNCTION),
1917
1917
  value: h()
1918
1918
  }), Cf = jr(
1919
1919
  yo(Ot, ["componentName"]),
1920
1920
  w({
1921
- componentName: F(
1921
+ componentName: L(
1922
1922
  "RootContainer"
1923
1923
  /* ROOT_CONTAINER */
1924
1924
  )
@@ -1945,8 +1945,8 @@ const re = Ef(), Nf = (t, e) => {
1945
1945
  ...t,
1946
1946
  value: []
1947
1947
  }, n = t.value;
1948
- let o = new pt([]);
1949
- return e && (o = e.materialsMode || new pt([])), n && (P(n) ? r.value = n.map(
1948
+ let o = new ft([]);
1949
+ return e && (o = e.materialsMode || new ft([])), n && (I(n) ? r.value = n.map(
1950
1950
  (a) => new $(a, {
1951
1951
  parent: e,
1952
1952
  materials: o
@@ -1961,7 +1961,7 @@ const re = Ef(), Nf = (t, e) => {
1961
1961
  class wt {
1962
1962
  constructor(e, r) {
1963
1963
  _(this, "nodeType", "SLOT"), _(this, "rawData"), _(this, "parent"), _(this, "emitter", re), _(this, "data"), _(this, "id"), _(this, "materialsMode"), this.parent = (r == null ? void 0 : r.parent) || null, this.rawData = e;
1964
- const n = (r == null ? void 0 : r.materials) || new pt([]);
1964
+ const n = (r == null ? void 0 : r.materials) || new ft([]);
1965
1965
  this.materialsMode = n, this.id = Z(), this.data = Nf(e, this);
1966
1966
  }
1967
1967
  get value() {
@@ -1977,7 +1977,7 @@ class wt {
1977
1977
  a[i] = n(o[i]);
1978
1978
  }), a;
1979
1979
  }
1980
- return P(o) ? o.map((a) => n(a)) : (e === "design" && delete o.id, o);
1980
+ return I(o) ? o.map((a) => n(a)) : (e === "design" && delete o.id, o);
1981
1981
  };
1982
1982
  return n(r);
1983
1983
  }
@@ -1998,11 +1998,11 @@ const jo = (t) => {
1998
1998
  }), n;
1999
1999
  } else
2000
2000
  return Array.isArray(t) ? t.map((n) => We(n, e, r)) : t;
2001
- }, Qe = (t, e, r) => B(t) ? We(t, e, r) : P(t) ? t.map((n) => We(n, e, r)) : t;
2001
+ }, Qe = (t, e, r) => B(t) ? We(t, e, r) : I(t) ? t.map((n) => We(n, e, r)) : t;
2002
2002
  class at {
2003
2003
  constructor(e, r, n) {
2004
2004
  _(this, "nodeType", "PROP"), _(this, "rawData"), _(this, "parent"), _(this, "emitter", re), _(this, "data"), _(this, "name"), _(this, "materialsMode");
2005
- const o = (n == null ? void 0 : n.materials) || new pt([]);
2005
+ const o = (n == null ? void 0 : n.materials) || new ft([]);
2006
2006
  this.materialsMode = o, this.parent = n == null ? void 0 : n.parent, this.rawData = r, this.name = e, this.data = Qe(r, this, o);
2007
2007
  }
2008
2008
  // TODO:
@@ -2040,7 +2040,7 @@ class at {
2040
2040
  const r = this.data, n = (o) => {
2041
2041
  if (o instanceof at || o instanceof wt || o instanceof $)
2042
2042
  return o.export(e);
2043
- if (P(o))
2043
+ if (I(o))
2044
2044
  return o.map((a) => n(a));
2045
2045
  if (B(o)) {
2046
2046
  const a = {};
@@ -2061,7 +2061,7 @@ const xf = (t) => {
2061
2061
  dataStruct: Ot,
2062
2062
  throwError: !1
2063
2063
  });
2064
- }, dn = (t, e, r = new pt([])) => {
2064
+ }, dn = (t, e, r = new ft([])) => {
2065
2065
  if (typeof t == "string")
2066
2066
  return t;
2067
2067
  const n = {
@@ -2107,7 +2107,7 @@ const xf = (t) => {
2107
2107
  class $ {
2108
2108
  constructor(e, r) {
2109
2109
  _(this, "nodeType", "NODE"), _(this, "rawData"), _(this, "data"), _(this, "emitter", re), _(this, "parent"), _(this, "materialsModel"), _(this, "listenerHandle"), _(this, "onChangeCbQueue"), this.rawData = JSON.parse(JSON.stringify(e)), xf(e);
2110
- const n = (r == null ? void 0 : r.materials) || new pt([]);
2110
+ const n = (r == null ? void 0 : r.materials) || new ft([]);
2111
2111
  this.parent = (r == null ? void 0 : r.parent) || null, this.materialsModel = n, this.data = dn(e, this, n), this.listenerHandle = [], this.onChangeCbQueue = [], this.registerListener();
2112
2112
  }
2113
2113
  registerListener() {
@@ -2214,7 +2214,7 @@ const hn = (t, e, r) => {
2214
2214
  })
2215
2215
  };
2216
2216
  let o = [];
2217
- P(t.children) ? o = t.children.map((i) => i instanceof $ ? i : B(i) ? new $(i, { parent: e, materials: r }) : i) : t.children instanceof $ ? o.push(t.children) : t.children && B(t.children) && o.push(new $(t.children, { parent: e, materials: r }));
2217
+ I(t.children) ? o = t.children.map((i) => i instanceof $ ? i : B(i) ? new $(i, { parent: e, materials: r }) : i) : t.children instanceof $ ? o.push(t.children) : t.children && B(t.children) && o.push(new $(t.children, { parent: e, materials: r }));
2218
2218
  const a = Object.keys(t.props || {});
2219
2219
  return a.length && a.forEach((i) => {
2220
2220
  var s;
@@ -2319,7 +2319,7 @@ class Xt {
2319
2319
  });
2320
2320
  }
2321
2321
  }
2322
- const ct = (t) => (t == null ? void 0 : t.type) === V.EXPRESSION, $f = (t) => (t == null ? void 0 : t.type) === V.FUNCTION, Z = () => Math.random().toString(32).slice(3, 9), Tf = (t) => (t == null ? void 0 : t.nodeType) === "NODE", Pe = (t) => (t == null ? void 0 : t.nodeType) === "PROP", Mf = (t) => (t == null ? void 0 : t.nodeType) === "SLOT", Nr = (t) => Kl(t, (e) => B(e) ? !Object.keys(e).length : P(e) ? !e.length : !e);
2322
+ const ct = (t) => (t == null ? void 0 : t.type) === V.EXPRESSION, $f = (t) => (t == null ? void 0 : t.type) === V.FUNCTION, Z = () => Math.random().toString(32).slice(3, 9), Tf = (t) => (t == null ? void 0 : t.nodeType) === "NODE", Pe = (t) => (t == null ? void 0 : t.nodeType) === "PROP", Mf = (t) => (t == null ? void 0 : t.nodeType) === "SLOT", Nr = (t) => Kl(t, (e) => B(e) ? !Object.keys(e).length : I(e) ? !e.length : !e);
2323
2323
  function Af(t, e) {
2324
2324
  const r = [t];
2325
2325
  for (; r.length; ) {
@@ -2342,7 +2342,7 @@ function Af(t, e) {
2342
2342
  });
2343
2343
  return;
2344
2344
  }
2345
- if (P(s)) {
2345
+ if (I(s)) {
2346
2346
  s.forEach((c) => {
2347
2347
  a(c);
2348
2348
  });
@@ -2375,7 +2375,7 @@ const Pf = (t) => {
2375
2375
  }
2376
2376
  })), e;
2377
2377
  };
2378
- class Rf {
2378
+ class If {
2379
2379
  constructor(e) {
2380
2380
  _(this, "rawData"), _(this, "data"), this.rawData = e, this.data = Pf(e);
2381
2381
  }
@@ -2395,10 +2395,10 @@ class Rf {
2395
2395
  return this.data.snippets.find((r) => r.id === e);
2396
2396
  }
2397
2397
  }
2398
- const If = (t) => {
2399
- if (!P(t))
2398
+ const Rf = (t) => {
2399
+ if (!I(t))
2400
2400
  throw new Error("Materials must be a array");
2401
- return t.map((e) => new Rf(e));
2401
+ return t.map((e) => new If(e));
2402
2402
  }, Df = (t) => {
2403
2403
  t == null || t.forEach((e) => {
2404
2404
  Er({
@@ -2408,9 +2408,9 @@ const If = (t) => {
2408
2408
  });
2409
2409
  });
2410
2410
  };
2411
- class pt {
2411
+ class ft {
2412
2412
  constructor(e) {
2413
- _(this, "rawData"), _(this, "data"), _(this, "usedMaterials", []), this.rawData = e, Df(e), this.data = If(e);
2413
+ _(this, "rawData"), _(this, "data"), _(this, "usedMaterials", []), this.rawData = e, Df(e), this.data = Rf(e);
2414
2414
  }
2415
2415
  findByComponentName(e) {
2416
2416
  return this.data.find((r) => r.componentName === e);
@@ -2469,15 +2469,15 @@ const Lf = w({
2469
2469
  version: h(),
2470
2470
  name: h(),
2471
2471
  css: v(h()),
2472
- renderType: v(L([F(
2472
+ renderType: v(F([L(
2473
2473
  "COMPONENT"
2474
2474
  /* COMPONENT */
2475
- ), F(
2475
+ ), L(
2476
2476
  "PAGE"
2477
2477
  /* PAGE */
2478
2478
  )])),
2479
- methods: v(M(wf)),
2480
- componentsMeta: M(
2479
+ methods: v(A(wf)),
2480
+ componentsMeta: A(
2481
2481
  jr(
2482
2482
  w({
2483
2483
  componentName: h()
@@ -2487,12 +2487,12 @@ const Lf = w({
2487
2487
  ),
2488
2488
  thirdLibs: v(hf),
2489
2489
  componentsTree: Cf,
2490
- assets: v(M(I()))
2490
+ assets: v(A(P()))
2491
2491
  }), Oo = (t) => (Er({
2492
2492
  data: t,
2493
2493
  dataStruct: Lf,
2494
2494
  throwError: !1
2495
- }), t), Re = (t, e, r) => ({
2495
+ }), t), Ie = (t, e, r) => ({
2496
2496
  ...t,
2497
2497
  componentsTree: new Xt(t.componentsTree, {
2498
2498
  parent: e,
@@ -2501,11 +2501,11 @@ const Lf = w({
2501
2501
  });
2502
2502
  class de {
2503
2503
  constructor(e, r) {
2504
- _(this, "nodeType", "PAGE"), _(this, "rawData"), _(this, "emitter", re), _(this, "data"), _(this, "parent"), _(this, "materialsModel"), _(this, "assetPackagesList"), Oo(e), this.rawData = JSON.parse(JSON.stringify(e)), this.materialsModel = new pt((r == null ? void 0 : r.materials) || []), this.data = Re(e, this, this.materialsModel), this.assetPackagesList = [...(r == null ? void 0 : r.assetPackagesList) || [], ...this.data.assets || []];
2504
+ _(this, "nodeType", "PAGE"), _(this, "rawData"), _(this, "emitter", re), _(this, "data"), _(this, "parent"), _(this, "materialsModel"), _(this, "assetPackagesList"), Oo(e), this.rawData = JSON.parse(JSON.stringify(e)), this.materialsModel = new ft((r == null ? void 0 : r.materials) || []), this.data = Ie(e, this, this.materialsModel), this.assetPackagesList = [...(r == null ? void 0 : r.assetPackagesList) || [], ...this.data.assets || []];
2505
2505
  }
2506
2506
  updatePage(e) {
2507
2507
  const r = this.data;
2508
- this.rawData = JSON.parse(JSON.stringify(e)), this.data = Re(e, this, this.materialsModel), this.emitter.emit("onPageChange", {
2508
+ this.rawData = JSON.parse(JSON.stringify(e)), this.data = Ie(e, this, this.materialsModel), this.emitter.emit("onPageChange", {
2509
2509
  value: this.data,
2510
2510
  preValue: r,
2511
2511
  node: this
@@ -2513,7 +2513,7 @@ class de {
2513
2513
  }
2514
2514
  reloadPage(e) {
2515
2515
  const r = this.data;
2516
- this.rawData = JSON.parse(JSON.stringify(e)), this.data = Re(e, this, this.materialsModel), this.emitter.emit("onReloadPage", {
2516
+ this.rawData = JSON.parse(JSON.stringify(e)), this.data = Ie(e, this, this.materialsModel), this.emitter.emit("onReloadPage", {
2517
2517
  value: this.data,
2518
2518
  preValue: r,
2519
2519
  node: this
@@ -2649,15 +2649,15 @@ var Bf = typeof self == "object" && self && self.Object === Object && self, Uf =
2649
2649
  const Pt = Uf;
2650
2650
  var kf = Pt.Symbol;
2651
2651
  const Ct = kf;
2652
- var Co = Object.prototype, Vf = Co.hasOwnProperty, zf = Co.toString, kt = Ct ? Ct.toStringTag : void 0;
2653
- function Gf(t) {
2652
+ var Co = Object.prototype, Vf = Co.hasOwnProperty, Gf = Co.toString, kt = Ct ? Ct.toStringTag : void 0;
2653
+ function zf(t) {
2654
2654
  var e = Vf.call(t, kt), r = t[kt];
2655
2655
  try {
2656
2656
  t[kt] = void 0;
2657
2657
  var n = !0;
2658
2658
  } catch {
2659
2659
  }
2660
- var o = zf.call(t);
2660
+ var o = Gf.call(t);
2661
2661
  return n && (e ? t[kt] = r : delete t[kt]), o;
2662
2662
  }
2663
2663
  var Hf = Object.prototype, Jf = Hf.toString;
@@ -2666,14 +2666,14 @@ function Wf(t) {
2666
2666
  }
2667
2667
  var Qf = "[object Null]", qf = "[object Undefined]", mn = Ct ? Ct.toStringTag : void 0;
2668
2668
  function ne(t) {
2669
- return t == null ? t === void 0 ? qf : Qf : mn && mn in Object(t) ? Gf(t) : Wf(t);
2669
+ return t == null ? t === void 0 ? qf : Qf : mn && mn in Object(t) ? zf(t) : Wf(t);
2670
2670
  }
2671
- function Rt(t) {
2671
+ function It(t) {
2672
2672
  return t != null && typeof t == "object";
2673
2673
  }
2674
2674
  var Yf = "[object Symbol]";
2675
2675
  function Kf(t) {
2676
- return typeof t == "symbol" || Rt(t) && ne(t) == Yf;
2676
+ return typeof t == "symbol" || It(t) && ne(t) == Yf;
2677
2677
  }
2678
2678
  function Xf(t, e) {
2679
2679
  for (var r = -1, n = t == null ? 0 : t.length, o = Array(n); ++r < n; )
@@ -2693,7 +2693,7 @@ function Eo(t) {
2693
2693
  var e = t + "";
2694
2694
  return e == "0" && 1 / t == -tp ? "-0" : e;
2695
2695
  }
2696
- function gt(t) {
2696
+ function vt(t) {
2697
2697
  var e = typeof t;
2698
2698
  return t != null && (e == "object" || e == "function");
2699
2699
  }
@@ -2702,15 +2702,15 @@ function No(t) {
2702
2702
  }
2703
2703
  var ep = "[object AsyncFunction]", rp = "[object Function]", np = "[object GeneratorFunction]", op = "[object Proxy]";
2704
2704
  function $r(t) {
2705
- if (!gt(t))
2705
+ if (!vt(t))
2706
2706
  return !1;
2707
2707
  var e = ne(t);
2708
2708
  return e == rp || e == np || e == ep || e == op;
2709
2709
  }
2710
2710
  var ap = Pt["__core-js_shared__"];
2711
- const Ie = ap;
2711
+ const Re = ap;
2712
2712
  var yn = function() {
2713
- var t = /[^.]+$/.exec(Ie && Ie.keys && Ie.keys.IE_PROTO || "");
2713
+ var t = /[^.]+$/.exec(Re && Re.keys && Re.keys.IE_PROTO || "");
2714
2714
  return t ? "Symbol(src)_1." + t : "";
2715
2715
  }();
2716
2716
  function sp(t) {
@@ -2734,7 +2734,7 @@ var lp = /[\\^$.*+?()[\]{}|]/g, fp = /^\[object .+?Constructor\]$/, pp = Functio
2734
2734
  "^" + hp.call(mp).replace(lp, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
2735
2735
  );
2736
2736
  function gp(t) {
2737
- if (!gt(t) || sp(t))
2737
+ if (!vt(t) || sp(t))
2738
2738
  return !1;
2739
2739
  var e = $r(t) ? vp : fp;
2740
2740
  return e.test(up(t));
@@ -2750,7 +2750,7 @@ var bn = Object.create, bp = function() {
2750
2750
  function t() {
2751
2751
  }
2752
2752
  return function(e) {
2753
- if (!gt(e))
2753
+ if (!vt(e))
2754
2754
  return {};
2755
2755
  if (bn)
2756
2756
  return bn(e);
@@ -2816,10 +2816,10 @@ var $p = he ? function(t, e) {
2816
2816
  const Tp = $p;
2817
2817
  var Mp = Ep(Tp);
2818
2818
  const Ap = Mp;
2819
- var Pp = 9007199254740991, Rp = /^(?:0|[1-9]\d*)$/;
2819
+ var Pp = 9007199254740991, Ip = /^(?:0|[1-9]\d*)$/;
2820
2820
  function xo(t, e) {
2821
2821
  var r = typeof t;
2822
- return e = e ?? Pp, !!e && (r == "number" || r != "symbol" && Rp.test(t)) && t > -1 && t % 1 == 0 && t < e;
2822
+ return e = e ?? Pp, !!e && (r == "number" || r != "symbol" && Ip.test(t)) && t > -1 && t % 1 == 0 && t < e;
2823
2823
  }
2824
2824
  function Mr(t, e, r) {
2825
2825
  e == "__proto__" && he ? he(t, e, {
@@ -2832,7 +2832,7 @@ function Mr(t, e, r) {
2832
2832
  function je(t, e) {
2833
2833
  return t === e || t !== t && e !== e;
2834
2834
  }
2835
- var Ip = Object.prototype, Dp = Ip.hasOwnProperty;
2835
+ var Rp = Object.prototype, Dp = Rp.hasOwnProperty;
2836
2836
  function Lp(t, e, r) {
2837
2837
  var n = t[e];
2838
2838
  (!(Dp.call(t, e) && je(n, r)) || r === void 0 && !(e in t)) && Mr(t, e, r);
@@ -2868,12 +2868,12 @@ function Ar(t) {
2868
2868
  return t != null && $o(t.length) && !$r(t);
2869
2869
  }
2870
2870
  function Vp(t, e, r) {
2871
- if (!gt(r))
2871
+ if (!vt(r))
2872
2872
  return !1;
2873
2873
  var n = typeof e;
2874
2874
  return (n == "number" ? Ar(r) && xo(e, r.length) : n == "string" && e in r) ? je(r[e], t) : !1;
2875
2875
  }
2876
- function zp(t) {
2876
+ function Gp(t) {
2877
2877
  return Up(function(e, r) {
2878
2878
  var n = -1, o = r.length, a = o > 1 ? r[o - 1] : void 0, i = o > 2 ? r[2] : void 0;
2879
2879
  for (a = t.length > 3 && typeof a == "function" ? (o--, a) : void 0, i && Vp(r[0], r[1], i) && (a = o < 3 ? void 0 : a, o = 1), e = Object(e); ++n < o; ) {
@@ -2883,9 +2883,9 @@ function zp(t) {
2883
2883
  return e;
2884
2884
  });
2885
2885
  }
2886
- var Gp = Object.prototype;
2886
+ var zp = Object.prototype;
2887
2887
  function To(t) {
2888
- var e = t && t.constructor, r = typeof e == "function" && e.prototype || Gp;
2888
+ var e = t && t.constructor, r = typeof e == "function" && e.prototype || zp;
2889
2889
  return t === r;
2890
2890
  }
2891
2891
  function Hp(t, e) {
@@ -2895,12 +2895,12 @@ function Hp(t, e) {
2895
2895
  }
2896
2896
  var Jp = "[object Arguments]";
2897
2897
  function Sn(t) {
2898
- return Rt(t) && ne(t) == Jp;
2898
+ return It(t) && ne(t) == Jp;
2899
2899
  }
2900
2900
  var Mo = Object.prototype, Wp = Mo.hasOwnProperty, Qp = Mo.propertyIsEnumerable, qp = Sn(function() {
2901
2901
  return arguments;
2902
2902
  }()) ? Sn : function(t) {
2903
- return Rt(t) && Wp.call(t, "callee") && !Qp.call(t, "callee");
2903
+ return It(t) && Wp.call(t, "callee") && !Qp.call(t, "callee");
2904
2904
  };
2905
2905
  const qe = qp;
2906
2906
  function Yp() {
@@ -2912,14 +2912,14 @@ var td = "[object Arguments]", ed = "[object Array]", rd = "[object Boolean]", n
2912
2912
  x[md] = x[vd] = x[gd] = x[yd] = x[bd] = x[_d] = x[Sd] = x[jd] = x[Od] = !0;
2913
2913
  x[td] = x[ed] = x[dd] = x[rd] = x[hd] = x[nd] = x[od] = x[ad] = x[sd] = x[id] = x[cd] = x[ud] = x[ld] = x[fd] = x[pd] = !1;
2914
2914
  function wd(t) {
2915
- return Rt(t) && $o(t.length) && !!x[ne(t)];
2915
+ return It(t) && $o(t.length) && !!x[ne(t)];
2916
2916
  }
2917
2917
  function Cd(t) {
2918
2918
  return function(e) {
2919
2919
  return t(e);
2920
2920
  };
2921
2921
  }
2922
- var Ro = typeof exports == "object" && exports && !exports.nodeType && exports, Ht = Ro && typeof module == "object" && module && !module.nodeType && module, Ed = Ht && Ht.exports === Ro, De = Ed && wo.process, Nd = function() {
2922
+ var Io = typeof exports == "object" && exports && !exports.nodeType && exports, Ht = Io && typeof module == "object" && module && !module.nodeType && module, Ed = Ht && Ht.exports === Io, De = Ed && wo.process, Nd = function() {
2923
2923
  try {
2924
2924
  var t = Ht && Ht.require && Ht.require("util").types;
2925
2925
  return t || De && De.binding && De.binding("util");
@@ -2928,10 +2928,10 @@ var Ro = typeof exports == "object" && exports && !exports.nodeType && exports,
2928
2928
  }();
2929
2929
  const wn = Nd;
2930
2930
  var Cn = wn && wn.isTypedArray, xd = Cn ? Cd(Cn) : wd;
2931
- const Io = xd;
2931
+ const Ro = xd;
2932
2932
  var $d = Object.prototype, Td = $d.hasOwnProperty;
2933
2933
  function Md(t, e) {
2934
- var r = Et(t), n = !r && qe(t), o = !r && !n && Po(t), a = !r && !n && !o && Io(t), i = r || n || o || a, s = i ? Hp(t.length, String) : [], c = s.length;
2934
+ var r = Et(t), n = !r && qe(t), o = !r && !n && Po(t), a = !r && !n && !o && Ro(t), i = r || n || o || a, s = i ? Hp(t.length, String) : [], c = s.length;
2935
2935
  for (var u in t)
2936
2936
  (e || Td.call(t, u)) && !(i && // Safari 9 has enumerable `arguments.length` in strict mode.
2937
2937
  (u == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
@@ -2952,13 +2952,13 @@ function Pd(t) {
2952
2952
  e.push(r);
2953
2953
  return e;
2954
2954
  }
2955
- var Rd = Object.prototype, Id = Rd.hasOwnProperty;
2955
+ var Id = Object.prototype, Rd = Id.hasOwnProperty;
2956
2956
  function Dd(t) {
2957
- if (!gt(t))
2957
+ if (!vt(t))
2958
2958
  return Pd(t);
2959
2959
  var e = To(t), r = [];
2960
2960
  for (var n in t)
2961
- n == "constructor" && (e || !Id.call(t, n)) || r.push(n);
2961
+ n == "constructor" && (e || !Rd.call(t, n)) || r.push(n);
2962
2962
  return r;
2963
2963
  }
2964
2964
  function Do(t) {
@@ -2974,7 +2974,7 @@ function Bd(t) {
2974
2974
  return this.size -= e ? 1 : 0, e;
2975
2975
  }
2976
2976
  var Ud = "__lodash_hash_undefined__", kd = Object.prototype, Vd = kd.hasOwnProperty;
2977
- function zd(t) {
2977
+ function Gd(t) {
2978
2978
  var e = this.__data__;
2979
2979
  if (Zt) {
2980
2980
  var r = e[t];
@@ -2982,7 +2982,7 @@ function zd(t) {
2982
2982
  }
2983
2983
  return Vd.call(e, t) ? e[t] : void 0;
2984
2984
  }
2985
- var Gd = Object.prototype, Hd = Gd.hasOwnProperty;
2985
+ var zd = Object.prototype, Hd = zd.hasOwnProperty;
2986
2986
  function Jd(t) {
2987
2987
  var e = this.__data__;
2988
2988
  return Zt ? e[t] !== void 0 : Hd.call(e, t);
@@ -2992,18 +2992,18 @@ function Qd(t, e) {
2992
2992
  var r = this.__data__;
2993
2993
  return this.size += this.has(t) ? 0 : 1, r[t] = Zt && e === void 0 ? Wd : e, this;
2994
2994
  }
2995
- function dt(t) {
2995
+ function pt(t) {
2996
2996
  var e = -1, r = t == null ? 0 : t.length;
2997
2997
  for (this.clear(); ++e < r; ) {
2998
2998
  var n = t[e];
2999
2999
  this.set(n[0], n[1]);
3000
3000
  }
3001
3001
  }
3002
- dt.prototype.clear = Fd;
3003
- dt.prototype.delete = Bd;
3004
- dt.prototype.get = zd;
3005
- dt.prototype.has = Jd;
3006
- dt.prototype.set = Qd;
3002
+ pt.prototype.clear = Fd;
3003
+ pt.prototype.delete = Bd;
3004
+ pt.prototype.get = Gd;
3005
+ pt.prototype.has = Jd;
3006
+ pt.prototype.set = Qd;
3007
3007
  function qd() {
3008
3008
  this.__data__ = [], this.size = 0;
3009
3009
  }
@@ -3048,9 +3048,9 @@ var rh = Tr(Pt, "Map");
3048
3048
  const Lo = rh;
3049
3049
  function nh() {
3050
3050
  this.size = 0, this.__data__ = {
3051
- hash: new dt(),
3051
+ hash: new pt(),
3052
3052
  map: new (Lo || rt)(),
3053
- string: new dt()
3053
+ string: new pt()
3054
3054
  };
3055
3055
  }
3056
3056
  function oh(t) {
@@ -3075,18 +3075,18 @@ function ch(t, e) {
3075
3075
  var r = we(this, t), n = r.size;
3076
3076
  return r.set(t, e), this.size += r.size == n ? 0 : 1, this;
3077
3077
  }
3078
- function It(t) {
3078
+ function Rt(t) {
3079
3079
  var e = -1, r = t == null ? 0 : t.length;
3080
3080
  for (this.clear(); ++e < r; ) {
3081
3081
  var n = t[e];
3082
3082
  this.set(n[0], n[1]);
3083
3083
  }
3084
3084
  }
3085
- It.prototype.clear = nh;
3086
- It.prototype.delete = ah;
3087
- It.prototype.get = sh;
3088
- It.prototype.has = ih;
3089
- It.prototype.set = ch;
3085
+ Rt.prototype.clear = nh;
3086
+ Rt.prototype.delete = ah;
3087
+ Rt.prototype.get = sh;
3088
+ Rt.prototype.has = ih;
3089
+ Rt.prototype.set = ch;
3090
3090
  function Fo(t) {
3091
3091
  return t == null ? "" : Eo(t);
3092
3092
  }
@@ -3094,7 +3094,7 @@ var uh = Ad(Object.getPrototypeOf, Object);
3094
3094
  const Bo = uh;
3095
3095
  var lh = "[object Object]", fh = Function.prototype, ph = Object.prototype, Uo = fh.toString, dh = ph.hasOwnProperty, hh = Uo.call(Object);
3096
3096
  function Nt(t) {
3097
- if (!Rt(t) || ne(t) != lh)
3097
+ if (!It(t) || ne(t) != lh)
3098
3098
  return !1;
3099
3099
  var e = Bo(t);
3100
3100
  if (e === null)
@@ -3120,7 +3120,7 @@ function ko(t) {
3120
3120
  function Ch(t) {
3121
3121
  return t.split("");
3122
3122
  }
3123
- var Vo = "\\ud800-\\udfff", Eh = "\\u0300-\\u036f", Nh = "\\ufe20-\\ufe2f", xh = "\\u20d0-\\u20ff", $h = Eh + Nh + xh, Th = "\\ufe0e\\ufe0f", Mh = "[" + Vo + "]", Ye = "[" + $h + "]", Ke = "\\ud83c[\\udffb-\\udfff]", Ah = "(?:" + Ye + "|" + Ke + ")", zo = "[^" + Vo + "]", Go = "(?:\\ud83c[\\udde6-\\uddff]){2}", Ho = "[\\ud800-\\udbff][\\udc00-\\udfff]", Ph = "\\u200d", Jo = Ah + "?", Wo = "[" + Th + "]?", Rh = "(?:" + Ph + "(?:" + [zo, Go, Ho].join("|") + ")" + Wo + Jo + ")*", Ih = Wo + Jo + Rh, Dh = "(?:" + [zo + Ye + "?", Ye, Go, Ho, Mh].join("|") + ")", Lh = RegExp(Ke + "(?=" + Ke + ")|" + Dh + Ih, "g");
3123
+ var Vo = "\\ud800-\\udfff", Eh = "\\u0300-\\u036f", Nh = "\\ufe20-\\ufe2f", xh = "\\u20d0-\\u20ff", $h = Eh + Nh + xh, Th = "\\ufe0e\\ufe0f", Mh = "[" + Vo + "]", Ye = "[" + $h + "]", Ke = "\\ud83c[\\udffb-\\udfff]", Ah = "(?:" + Ye + "|" + Ke + ")", Go = "[^" + Vo + "]", zo = "(?:\\ud83c[\\udde6-\\uddff]){2}", Ho = "[\\ud800-\\udbff][\\udc00-\\udfff]", Ph = "\\u200d", Jo = Ah + "?", Wo = "[" + Th + "]?", Ih = "(?:" + Ph + "(?:" + [Go, zo, Ho].join("|") + ")" + Wo + Jo + ")*", Rh = Wo + Jo + Ih, Dh = "(?:" + [Go + Ye + "?", Ye, zo, Ho, Mh].join("|") + ")", Lh = RegExp(Ke + "(?=" + Ke + ")|" + Dh + Rh, "g");
3124
3124
  function Fh(t) {
3125
3125
  return t.match(Lh) || [];
3126
3126
  }
@@ -3136,10 +3136,10 @@ function Uh(t) {
3136
3136
  }
3137
3137
  var kh = Uh("toUpperCase");
3138
3138
  const Vh = kh;
3139
- function zh(t) {
3139
+ function Gh(t) {
3140
3140
  return Vh(Fo(t).toLowerCase());
3141
3141
  }
3142
- function Gh() {
3142
+ function zh() {
3143
3143
  this.__data__ = new rt(), this.size = 0;
3144
3144
  }
3145
3145
  function Hh(t) {
@@ -3159,7 +3159,7 @@ function qh(t, e) {
3159
3159
  var n = r.__data__;
3160
3160
  if (!Lo || n.length < Qh - 1)
3161
3161
  return n.push([t, e]), this.size = ++r.size, this;
3162
- r = this.__data__ = new It(n);
3162
+ r = this.__data__ = new Rt(n);
3163
3163
  }
3164
3164
  return r.set(t, e), this.size = r.size, this;
3165
3165
  }
@@ -3167,7 +3167,7 @@ function Dt(t) {
3167
3167
  var e = this.__data__ = new rt(t);
3168
3168
  this.size = e.size;
3169
3169
  }
3170
- Dt.prototype.clear = Gh;
3170
+ Dt.prototype.clear = zh;
3171
3171
  Dt.prototype.delete = Hh;
3172
3172
  Dt.prototype.get = Jh;
3173
3173
  Dt.prototype.has = Wh;
@@ -3208,7 +3208,7 @@ function Xe(t, e, r) {
3208
3208
  (r !== void 0 && !je(t[e], r) || r === void 0 && !(e in t)) && Mr(t, e, r);
3209
3209
  }
3210
3210
  function am(t) {
3211
- return Rt(t) && Ar(t);
3211
+ return It(t) && Ar(t);
3212
3212
  }
3213
3213
  function Ze(t, e) {
3214
3214
  if (!(e === "constructor" && typeof t[e] == "function") && e != "__proto__")
@@ -3225,14 +3225,14 @@ function im(t, e, r, n, o, a, i) {
3225
3225
  }
3226
3226
  var l = a ? a(s, c, r + "", t, e, i) : void 0, p = l === void 0;
3227
3227
  if (p) {
3228
- var f = Et(c), d = !f && Po(c), m = !f && !d && Io(c);
3229
- l = c, f || d || m ? Et(s) ? l = s : am(s) ? l = jp(s) : d ? (p = !1, l = Kh(c, !0)) : m ? (p = !1, l = tm(c, !0)) : l = [] : Nt(c) || qe(c) ? (l = s, qe(s) ? l = sm(s) : (!gt(s) || $r(s)) && (l = em(c))) : p = !1;
3228
+ var f = Et(c), d = !f && Po(c), m = !f && !d && Ro(c);
3229
+ l = c, f || d || m ? Et(s) ? l = s : am(s) ? l = jp(s) : d ? (p = !1, l = Kh(c, !0)) : m ? (p = !1, l = tm(c, !0)) : l = [] : Nt(c) || qe(c) ? (l = s, qe(s) ? l = sm(s) : (!vt(s) || $r(s)) && (l = em(c))) : p = !1;
3230
3230
  }
3231
3231
  p && (i.set(c, l), o(l, c, n, a, i), i.delete(c)), Xe(t, r, l);
3232
3232
  }
3233
3233
  function qo(t, e, r, n, o) {
3234
3234
  t !== e && om(e, function(a, i) {
3235
- if (o || (o = new Dt()), gt(a))
3235
+ if (o || (o = new Dt()), vt(a))
3236
3236
  im(t, e, i, r, qo, n, o);
3237
3237
  else {
3238
3238
  var s = n ? n(Ze(t, i), a, i + "", t, e, o) : void 0;
@@ -3240,7 +3240,7 @@ function qo(t, e, r, n, o) {
3240
3240
  }
3241
3241
  }, Do);
3242
3242
  }
3243
- var cm = zp(function(t, e, r) {
3243
+ var cm = Gp(function(t, e, r) {
3244
3244
  qo(t, e, r);
3245
3245
  });
3246
3246
  const um = cm, Vm = function(t) {
@@ -3263,7 +3263,7 @@ function pm(t) {
3263
3263
  }
3264
3264
  return e.displayName = t.displayName, e;
3265
3265
  }
3266
- const bt = (t, e) => {
3266
+ const yt = (t, e) => {
3267
3267
  const r = (n) => {
3268
3268
  const a = `
3269
3269
  ${Object.keys(e).map((i) => `const ${i} = $$context['${i}'];`).join(`
@@ -3307,14 +3307,14 @@ const bt = (t, e) => {
3307
3307
  let n = r.replace("-webkit", "Webkit");
3308
3308
  n = n.replace("-ms", "ms"), n = n.replace("-moz", "Moz"), n = n.replace("-o", "O");
3309
3309
  let o = n.split("-");
3310
- o.length >= 2 && (o = o.map((a, i) => i !== 0 ? zh(a) : a)), e[o.join("")] = t[r];
3310
+ o.length >= 2 && (o = o.map((a, i) => i !== 0 ? Gh(a) : a)), e[o.join("")] = t[r];
3311
3311
  }), e;
3312
3312
  }, An = (t) => {
3313
3313
  let e = "";
3314
3314
  return Object.keys(t).forEach((r) => {
3315
3315
  e += `${r}:${t[r]};`;
3316
3316
  }), e;
3317
- }, zm = (t, e) => {
3317
+ }, Gm = (t, e) => {
3318
3318
  const r = {};
3319
3319
  return t.forEach((n) => {
3320
3320
  if (n.globalName) {
@@ -3322,7 +3322,7 @@ const bt = (t, e) => {
3322
3322
  o && (r[n.globalName] = o);
3323
3323
  }
3324
3324
  }), r;
3325
- }, Gm = (t, e = 1) => {
3325
+ }, zm = (t, e = 1) => {
3326
3326
  let r = 0, n = t, o = {}, a = {};
3327
3327
  for (; r < e; )
3328
3328
  Object.keys(n).forEach((i) => {
@@ -3496,14 +3496,14 @@ class bm {
3496
3496
  const f = this.getComponent(l), d = this.convertModelToComponent(f, l), m = s.params || [];
3497
3497
  return {
3498
3498
  component: (...S) => {
3499
- const j = Tn(S, m), A = this.getContext(
3499
+ const j = Tn(S, m), M = this.getContext(
3500
3500
  {
3501
3501
  params: j
3502
3502
  },
3503
3503
  r
3504
3504
  );
3505
3505
  return this.render(d, {
3506
- $$context: A,
3506
+ $$context: M,
3507
3507
  key: p
3508
3508
  });
3509
3509
  },
@@ -3520,7 +3520,7 @@ class bm {
3520
3520
  return u(c).component;
3521
3521
  } else {
3522
3522
  if (ct(i))
3523
- return bt(i.value, r || {});
3523
+ return yt(i.value, r || {});
3524
3524
  if ($f(i))
3525
3525
  return dm(i.value, r, this.storeManager);
3526
3526
  if (Nt(i)) {
@@ -3712,11 +3712,11 @@ class bm {
3712
3712
  let R = b.data || [];
3713
3713
  if (ct(b.data)) {
3714
3714
  const Q = b.data;
3715
- R = bt(Q.value, f || {});
3715
+ R = yt(Q.value, f || {});
3716
3716
  }
3717
3717
  return S = R.map((...Q) => {
3718
3718
  var Pr;
3719
- const Ft = Q[1], yt = [b.forName || "item", b.forIndex || "index"], Ce = Tn(Q, yt);
3719
+ const Ft = Q[1], gt = [b.forName || "item", b.forIndex || "index"], Ce = Tn(Q, gt);
3720
3720
  let Ee = "loopData";
3721
3721
  b.name && (Ee = `${Ee}${b.name}`);
3722
3722
  const Bt = n.getContext(
@@ -3726,10 +3726,10 @@ class bm {
3726
3726
  f
3727
3727
  ), q = n.transformProps(l, {
3728
3728
  $$context: Bt
3729
- }), ta = ((Pr = r.value.classNames) == null ? void 0 : Pr.map((G) => {
3729
+ }), ta = ((Pr = r.value.classNames) == null ? void 0 : Pr.map((z) => {
3730
3730
  var ie;
3731
- const se = G.name;
3732
- return (ct(G.status) ? bt(String(((ie = G.status) == null ? void 0 : ie.value) || ""), Bt) : !1) ? se : "";
3731
+ const se = z.name;
3732
+ return (ct(z.status) ? yt(String(((ie = z.status) == null ? void 0 : ie.value) || ""), Bt) : !1) ? se : "";
3733
3733
  })) || [];
3734
3734
  let Ne = `${q.className ?? ""} ${ta.join(" ")}`.trim();
3735
3735
  r.value.css && (Ne = `${r.value.css.class} ${Ne}`.trim()), q.className = Ne;
@@ -3742,45 +3742,45 @@ class bm {
3742
3742
  if (ae !== void 0)
3743
3743
  delete q.children, xe = Array.isArray(ae) ? ae : [ae];
3744
3744
  else {
3745
- const G = [];
3746
- r.value.children.forEach((Rr, ie) => {
3747
- const ra = n.buildComponent(Rr, {
3745
+ const z = [];
3746
+ r.value.children.forEach((Ir, ie) => {
3747
+ const ra = n.buildComponent(Ir, {
3748
3748
  $$context: Bt,
3749
3749
  idx: ie
3750
3750
  });
3751
- G.push(ra);
3752
- }), xe = G;
3751
+ z.push(ra);
3752
+ }), xe = z;
3753
3753
  }
3754
3754
  if (q.key = `${q.key}-${Ft}`, ct(b.key)) {
3755
- const G = b.key, se = bt(G.value, Bt || {});
3755
+ const z = b.key, se = yt(z.value, Bt || {});
3756
3756
  q.key += `-${se}`;
3757
3757
  }
3758
- return q.ref = (G) => {
3759
- this.targetComponentRef.current = this.targetComponentRef.current || [], this.targetComponentRef.current[Ft] = G;
3758
+ return q.ref = (z) => {
3759
+ this.targetComponentRef.current = this.targetComponentRef.current || [], this.targetComponentRef.current[Ft] = z;
3760
3760
  }, n.render(e, q, ...xe);
3761
3761
  }), S;
3762
3762
  }
3763
3763
  const j = n.transformProps(l, {
3764
3764
  $$context: f
3765
- }), { children: A } = j;
3765
+ }), { children: M } = j;
3766
3766
  let T = [];
3767
- if (A !== void 0)
3768
- delete j.children, T = Array.isArray(A) ? A : [A];
3767
+ if (M !== void 0)
3768
+ delete j.children, T = Array.isArray(M) ? M : [M];
3769
3769
  else {
3770
3770
  const R = [];
3771
- r.value.children.forEach((Ft, yt) => {
3771
+ r.value.children.forEach((Ft, gt) => {
3772
3772
  const Ce = n.buildComponent(Ft, {
3773
3773
  $$context: f,
3774
- idx: yt
3774
+ idx: gt
3775
3775
  });
3776
3776
  R.push(Ce);
3777
3777
  }), T = R;
3778
3778
  }
3779
3779
  j.ref = this.targetComponentRef;
3780
3780
  const D = ((oe = r.value.classNames) == null ? void 0 : oe.map((R) => {
3781
- var yt;
3781
+ var gt;
3782
3782
  const Q = R.name;
3783
- return (ct(R.status) ? bt(((yt = R.status) == null ? void 0 : yt.value) || "", f) : !1) ? Q : "";
3783
+ return (ct(R.status) ? yt(((gt = R.status) == null ? void 0 : gt.value) || "", f) : !1) ? Q : "";
3784
3784
  })) || [];
3785
3785
  let k = `${j.className ?? ""} ${D.join(" ")}`.trim();
3786
3786
  r.value.css && (k = `${r.value.css.class} ${k}`.trim()), j.className = k;
@@ -3789,7 +3789,7 @@ class bm {
3789
3789
  });
3790
3790
  r.value.style && (j.style = Mn(Lt || {}));
3791
3791
  let C = r.value.condition ?? !0;
3792
- typeof C != "boolean" && (C = bt(C.value, f || {}));
3792
+ typeof C != "boolean" && (C = yt(C.value, f || {}));
3793
3793
  let ot = {
3794
3794
  condition: C,
3795
3795
  props: j
@@ -4203,7 +4203,7 @@ class Pm extends O.Component {
4203
4203
  }
4204
4204
  }
4205
4205
  const Qm = () => {
4206
- const t = In(null);
4206
+ const t = Rn(null);
4207
4207
  return {
4208
4208
  ref: t,
4209
4209
  rerender: function(...e) {
@@ -4211,7 +4211,7 @@ const Qm = () => {
4211
4211
  }
4212
4212
  };
4213
4213
  };
4214
- class Rm extends O.Component {
4214
+ class Im extends O.Component {
4215
4215
  constructor(r) {
4216
4216
  super(r);
4217
4217
  y(this, "onDoubleClick", () => {
@@ -4278,7 +4278,7 @@ class Rm extends O.Component {
4278
4278
  return this.props.children;
4279
4279
  }
4280
4280
  }
4281
- class Im {
4281
+ class Rm {
4282
4282
  constructor() {
4283
4283
  y(this, "instanceMap", /* @__PURE__ */ new Map());
4284
4284
  }
@@ -4337,7 +4337,7 @@ const Dm = (t) => {
4337
4337
  class qm extends O.Component {
4338
4338
  constructor(r) {
4339
4339
  super(r);
4340
- y(this, "instanceManager", new Im());
4340
+ y(this, "instanceManager", new Rm());
4341
4341
  y(this, "renderRef");
4342
4342
  y(this, "dropPlaceholder", Dm);
4343
4343
  y(this, "onGetComponent", (r, n) => {
@@ -4345,7 +4345,10 @@ class qm extends O.Component {
4345
4345
  const o = this;
4346
4346
  let a = r;
4347
4347
  const i = (u = (c = n.material) == null ? void 0 : c.value.advanceCustom) == null ? void 0 : u.wrapComponent;
4348
- i && (a = i(r));
4348
+ i && (a = i(r, {
4349
+ node: n,
4350
+ ctx: window.__C_ENGINE_DESIGNER_PLUGIN_CTX__
4351
+ }));
4349
4352
  class s extends O.Component {
4350
4353
  constructor() {
4351
4354
  super(...arguments);
@@ -4373,7 +4376,7 @@ class qm extends O.Component {
4373
4376
  }
4374
4377
  return O.forwardRef(function(p, f) {
4375
4378
  return O.createElement(
4376
- Rm,
4379
+ Im,
4377
4380
  {
4378
4381
  node: n,
4379
4382
  targetComponent: s
@@ -4475,7 +4478,7 @@ const Ko = (t) => {
4475
4478
  var e;
4476
4479
  return t ? (e = t == null ? void 0 : t.stateNode) != null && e._DESIGN_BOX ? t : Xo(t.return) : null;
4477
4480
  }, Ym = () => {
4478
- const t = In(null);
4481
+ const t = Rn(null);
4479
4482
  return {
4480
4483
  ref: t,
4481
4484
  rerender: function(...e) {
@@ -4512,12 +4515,12 @@ var Zo = { exports: {} };
4512
4515
  }, n = {}, o = {}, a = {};
4513
4516
  function i(f, d) {
4514
4517
  f = f.push ? f : [f];
4515
- var m = [], g = f.length, b = g, S, j, A, T;
4518
+ var m = [], g = f.length, b = g, S, j, M, T;
4516
4519
  for (S = function(D, k) {
4517
4520
  k.length && m.push(D), b--, b || d(m);
4518
4521
  }; g--; ) {
4519
- if (j = f[g], A = o[j], A) {
4520
- S(j, A);
4522
+ if (j = f[g], M = o[j], M) {
4523
+ S(j, M);
4521
4524
  continue;
4522
4525
  }
4523
4526
  T = a[j] = a[j] || [], T.push(S);
@@ -4535,7 +4538,7 @@ var Zo = { exports: {} };
4535
4538
  f.call && (f = { success: f }), d.length ? (f.error || r)(d) : (f.success || r)(f);
4536
4539
  }
4537
4540
  function u(f, d, m, g) {
4538
- var b = document, S = m.async, j = (m.numRetries || 0) + 1, A = m.before || r, T = f.replace(/[\?|#].*$/, ""), D = f.replace(/^(css|img|module|nomodule)!/, ""), k, Lt, C;
4541
+ var b = document, S = m.async, j = (m.numRetries || 0) + 1, M = m.before || r, T = f.replace(/[\?|#].*$/, ""), D = f.replace(/^(css|img|module|nomodule)!/, ""), k, Lt, C;
4539
4542
  if (g = g || 0, /(^css!|\.css$)/.test(T))
4540
4543
  C = b.createElement("link"), C.rel = "stylesheet", C.href = D, k = "hideFocus" in C, k && C.relList && (k = 0, C.rel = "preload", C.as = "style");
4541
4544
  else if (/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(T))
@@ -4560,11 +4563,11 @@ var Zo = { exports: {} };
4560
4563
  } else if (C.rel == "preload" && C.as == "style")
4561
4564
  return C.rel = "stylesheet";
4562
4565
  d(f, it, ot.defaultPrevented);
4563
- }, A(f, C) !== !1 && b.head.appendChild(C);
4566
+ }, M(f, C) !== !1 && b.head.appendChild(C);
4564
4567
  }
4565
4568
  function l(f, d, m) {
4566
4569
  f = f.push ? f : [f];
4567
- var g = f.length, b = g, S = [], j, A;
4570
+ var g = f.length, b = g, S = [], j, M;
4568
4571
  for (j = function(T, D, k) {
4569
4572
  if (D == "e" && S.push(T), D == "b")
4570
4573
  if (k)
@@ -4572,8 +4575,8 @@ var Zo = { exports: {} };
4572
4575
  else
4573
4576
  return;
4574
4577
  g--, g || d(S);
4575
- }, A = 0; A < b; A++)
4576
- u(f[A], j, m);
4578
+ }, M = 0; M < b; M++)
4579
+ u(f[M], j, m);
4577
4580
  }
4578
4581
  function p(f, d, m) {
4579
4582
  var g, b;
@@ -4582,9 +4585,9 @@ var Zo = { exports: {} };
4582
4585
  throw "LoadJS";
4583
4586
  n[g] = !0;
4584
4587
  }
4585
- function S(j, A) {
4588
+ function S(j, M) {
4586
4589
  l(f, function(T) {
4587
- c(b, T), j && c({ success: j, error: A }, T), s(g, T);
4590
+ c(b, T), j && c({ success: j, error: M }, T), s(g, T);
4588
4591
  }, b);
4589
4592
  }
4590
4593
  if (b.returnPromise)
@@ -4605,7 +4608,7 @@ var Zo = { exports: {} };
4605
4608
  });
4606
4609
  })(Zo);
4607
4610
  var Bm = Zo.exports;
4608
- const Rn = /* @__PURE__ */ Fm(Bm);
4611
+ const In = /* @__PURE__ */ Fm(Bm);
4609
4612
  class Km {
4610
4613
  constructor(e, r) {
4611
4614
  y(this, "assets");
@@ -4621,7 +4624,7 @@ class Km {
4621
4624
  const o = e[n];
4622
4625
  o.id || (o.id = Z()), r.push(o.id);
4623
4626
  const a = o.resources.map((i) => i.src);
4624
- Rn(a, o.id, {
4627
+ a.length && In(a, o.id, {
4625
4628
  async: !1,
4626
4629
  before: (i, s) => (this.win.document.body.appendChild(s), !1)
4627
4630
  });
@@ -4631,7 +4634,7 @@ class Km {
4631
4634
  this._onSuccessList.forEach((a) => a()), n("");
4632
4635
  return;
4633
4636
  }
4634
- Rn.ready(r, {
4637
+ In.ready(r, {
4635
4638
  success: () => {
4636
4639
  this._onSuccessList.forEach((a) => a()), n("");
4637
4640
  },
@@ -4650,17 +4653,17 @@ class Km {
4650
4653
  }
4651
4654
  export {
4652
4655
  Km as AssetLoader,
4653
- Im as ComponentInstanceManager,
4656
+ Rm as ComponentInstanceManager,
4654
4657
  Dm as DefaultDropPlaceholder,
4655
4658
  bm as DefineReactAdapter,
4656
4659
  qm as DesignRender,
4657
4660
  Wm as ReactAdapter,
4658
4661
  Pm as Render,
4659
4662
  fm as canAcceptsRef,
4660
- zm as collectVariable,
4663
+ Gm as collectVariable,
4661
4664
  pm as compWrapper,
4662
4665
  dm as convertCodeStringToFunction,
4663
- Gm as flatObject,
4666
+ zm as flatObject,
4664
4667
  Mn as formatSourceStylePropertyName,
4665
4668
  pa as getAdapter,
4666
4669
  An as getCSSTextValue,
@@ -4669,7 +4672,7 @@ export {
4669
4672
  Tn as getObjFromArrayMap,
4670
4673
  Jm as getThirdLibs,
4671
4674
  Vm as isClass,
4672
- bt as runExpression,
4675
+ yt as runExpression,
4673
4676
  lm as shouldConstruct,
4674
4677
  Ym as useDesignRender,
4675
4678
  Qm as useRender