@chamn/render 0.1.0 → 0.1.1

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,7 +1,7 @@
1
- var ca = Object.defineProperty;
2
- var ua = (t, e, r) => e in t ? ca(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
3
- var y = (t, e, r) => (ua(t, typeof e != "symbol" ? e + "" : e, r), r);
4
- import O, { Component as la, createElement as fa, useEffect as Ln, useRef as Bn, useMemo as pa } from "react";
1
+ var ua = Object.defineProperty;
2
+ var la = (t, e, r) => e in t ? ua(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
3
+ var y = (t, e, r) => (la(t, typeof e != "symbol" ? e + "" : e, r), r);
4
+ import O, { Component as fa, createElement as pa, useEffect as Ln, useRef as Bn, useMemo as Fn } from "react";
5
5
  import * as da from "react-dom";
6
6
  const ha = (t) => () => {
7
7
  console.warn(`${t} need to be implement getComponent`);
@@ -27,12 +27,12 @@ const ha = (t) => () => {
27
27
  return t != null && t[n] ? r[n] = (o = t[n]) == null ? void 0 : o.bind(t) : Br.includes(n) && (r[n] = ha), r;
28
28
  }, {});
29
29
  var ga = Object.defineProperty, ya = (t, e, r) => e in t ? ga(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, _ = (t, e, r) => (ya(t, typeof e != "symbol" ? e + "" : e, r), r), ba = typeof global == "object" && global && global.Object === Object && global;
30
- const Fn = ba;
31
- var _a = typeof self == "object" && self && self.Object === Object && self, Sa = Fn || _a || Function("return this")();
30
+ const Un = ba;
31
+ var _a = typeof self == "object" && self && self.Object === Object && self, Sa = Un || _a || Function("return this")();
32
32
  const K = Sa;
33
33
  var ja = K.Symbol;
34
34
  const V = ja;
35
- var Un = Object.prototype, Oa = Un.hasOwnProperty, wa = Un.toString, kt = V ? V.toStringTag : void 0;
35
+ var kn = Object.prototype, Oa = kn.hasOwnProperty, wa = kn.toString, kt = V ? V.toStringTag : void 0;
36
36
  function Ca(t) {
37
37
  var e = Oa.call(t, kt), r = t[kt];
38
38
  try {
@@ -66,11 +66,11 @@ function or(t, e) {
66
66
  var Aa = Array.isArray;
67
67
  const R = Aa;
68
68
  var Pa = 1 / 0, Ur = V ? V.prototype : void 0, kr = Ur ? Ur.toString : void 0;
69
- function kn(t) {
69
+ function Gn(t) {
70
70
  if (typeof t == "string")
71
71
  return t;
72
72
  if (R(t))
73
- return or(t, kn) + "";
73
+ return or(t, Gn) + "";
74
74
  if (nr(t))
75
75
  return kr ? kr.call(t) : "";
76
76
  var e = t + "";
@@ -160,7 +160,7 @@ function ts(t, e, r) {
160
160
  }
161
161
  function es() {
162
162
  }
163
- function Gn(t, e) {
163
+ function Vn(t, e) {
164
164
  var r = -1, n = t.length;
165
165
  for (e || (e = Array(n)); ++r < n; )
166
166
  e[r] = t[r];
@@ -202,7 +202,7 @@ var cs = le ? function(t, e) {
202
202
  } : ar;
203
203
  const us = cs;
204
204
  var ls = as(us);
205
- const Vn = ls;
205
+ const zn = ls;
206
206
  function fs(t, e) {
207
207
  for (var r = -1, n = t == null ? 0 : t.length; ++r < n && e(t[r], r, t) !== !1; )
208
208
  ;
@@ -261,7 +261,7 @@ function Nt(t, e, r, n) {
261
261
  return r;
262
262
  }
263
263
  var zr = Math.max;
264
- function zn(t, e, r) {
264
+ function Hn(t, e, r) {
265
265
  return e = zr(e === void 0 ? t.length - 1 : e, 0), function() {
266
266
  for (var n = arguments, o = -1, a = zr(n.length - e, 0), i = Array(a); ++o < a; )
267
267
  i[o] = n[e + o];
@@ -271,8 +271,8 @@ function zn(t, e, r) {
271
271
  return s[e] = r(i), ts(t, this, s);
272
272
  };
273
273
  }
274
- function Hn(t, e) {
275
- return Vn(zn(t, e, ar), t + "");
274
+ function Jn(t, e) {
275
+ return zn(Hn(t, e, ar), t + "");
276
276
  }
277
277
  var Ss = 9007199254740991;
278
278
  function ur(t) {
@@ -288,7 +288,7 @@ function js(t, e, r) {
288
288
  return (n == "number" ? ve(r) && me(e, r.length) : n == "string" && e in r) ? ee(r[e], t) : !1;
289
289
  }
290
290
  function Os(t) {
291
- return Hn(function(e, r) {
291
+ return Jn(function(e, r) {
292
292
  var n = -1, o = r.length, a = o > 1 ? r[o - 1] : void 0, i = o > 2 ? r[2] : void 0;
293
293
  for (a = t.length > 3 && typeof a == "function" ? (o--, a) : void 0, i && js(r[0], r[1], i) && (a = o < 3 ? void 0 : a, o = 1), e = Object(e); ++n < o; ) {
294
294
  var s = r[n];
@@ -311,7 +311,7 @@ var $s = "[object Arguments]";
311
311
  function Hr(t) {
312
312
  return Y(t) && ht(t) == $s;
313
313
  }
314
- var Jn = Object.prototype, Es = Jn.hasOwnProperty, Ns = Jn.propertyIsEnumerable, xs = Hr(function() {
314
+ var Wn = Object.prototype, Es = Wn.hasOwnProperty, Ns = Wn.propertyIsEnumerable, xs = Hr(function() {
315
315
  return arguments;
316
316
  }()) ? Hr : function(t) {
317
317
  return Y(t) && Es.call(t, "callee") && !Ns.call(t, "callee");
@@ -320,7 +320,7 @@ const Wt = xs;
320
320
  function Ts() {
321
321
  return !1;
322
322
  }
323
- var Wn = typeof exports == "object" && exports && !exports.nodeType && exports, Jr = Wn && typeof module == "object" && module && !module.nodeType && module, Ms = Jr && Jr.exports === Wn, Wr = Ms ? K.Buffer : void 0, As = Wr ? Wr.isBuffer : void 0, Ps = As || Ts;
323
+ var Qn = typeof exports == "object" && exports && !exports.nodeType && exports, Jr = Qn && typeof module == "object" && module && !module.nodeType && module, Ms = Jr && Jr.exports === Qn, Wr = Ms ? K.Buffer : void 0, As = Wr ? Wr.isBuffer : void 0, Ps = As || Ts;
324
324
  const Qt = Ps;
325
325
  var Rs = "[object Arguments]", Is = "[object Array]", Ds = "[object Boolean]", Ls = "[object Date]", Bs = "[object Error]", Fs = "[object Function]", Us = "[object Map]", ks = "[object Number]", Gs = "[object Object]", Vs = "[object RegExp]", zs = "[object Set]", Hs = "[object String]", Js = "[object WeakMap]", Ws = "[object ArrayBuffer]", Qs = "[object DataView]", qs = "[object Float32Array]", Ys = "[object Float64Array]", Ks = "[object Int8Array]", Xs = "[object Int16Array]", Zs = "[object Int32Array]", ti = "[object Uint8Array]", ei = "[object Uint8ClampedArray]", ri = "[object Uint16Array]", ni = "[object Uint32Array]", E = {};
326
326
  E[qs] = E[Ys] = E[Ks] = E[Xs] = E[Zs] = E[ti] = E[ei] = E[ri] = E[ni] = !0;
@@ -333,7 +333,7 @@ function fr(t) {
333
333
  return t(e);
334
334
  };
335
335
  }
336
- var Qn = typeof exports == "object" && exports && !exports.nodeType && exports, Vt = Qn && typeof module == "object" && module && !module.nodeType && module, ai = Vt && Vt.exports === Qn, Me = ai && Fn.process, si = function() {
336
+ var qn = typeof exports == "object" && exports && !exports.nodeType && exports, Vt = qn && typeof module == "object" && module && !module.nodeType && module, ai = Vt && Vt.exports === qn, Me = ai && Un.process, si = function() {
337
337
  try {
338
338
  var t = Vt && Vt.require && Vt.require("util").types;
339
339
  return t || Me && Me.binding && Me.binding("util");
@@ -344,7 +344,7 @@ const St = si;
344
344
  var Qr = St && St.isTypedArray, ii = Qr ? fr(Qr) : oi;
345
345
  const pr = ii;
346
346
  var ci = Object.prototype, ui = ci.hasOwnProperty;
347
- function qn(t, e) {
347
+ function Yn(t, e) {
348
348
  var r = R(t), n = !r && Wt(t), o = !r && !n && Qt(t), a = !r && !n && !o && pr(t), i = r || n || o || a, s = i ? Cs(t.length, String) : [], c = s.length;
349
349
  for (var u in t)
350
350
  (e || ui.call(t, u)) && !(i && // Safari 9 has enumerable `arguments.length` in strict mode.
@@ -354,12 +354,12 @@ function qn(t, e) {
354
354
  me(u, c))) && s.push(u);
355
355
  return s;
356
356
  }
357
- function Yn(t, e) {
357
+ function Kn(t, e) {
358
358
  return function(r) {
359
359
  return t(e(r));
360
360
  };
361
361
  }
362
- var li = Yn(Object.keys, Object);
362
+ var li = Kn(Object.keys, Object);
363
363
  const fi = li;
364
364
  var pi = Object.prototype, di = pi.hasOwnProperty;
365
365
  function hi(t) {
@@ -371,7 +371,7 @@ function hi(t) {
371
371
  return e;
372
372
  }
373
373
  function ge(t) {
374
- return ve(t) ? qn(t) : hi(t);
374
+ return ve(t) ? Yn(t) : hi(t);
375
375
  }
376
376
  function mi(t) {
377
377
  var e = [];
@@ -390,7 +390,7 @@ function yi(t) {
390
390
  return r;
391
391
  }
392
392
  function re(t) {
393
- return ve(t) ? qn(t, !0) : yi(t);
393
+ return ve(t) ? Yn(t, !0) : yi(t);
394
394
  }
395
395
  var bi = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, _i = /^\w*$/;
396
396
  function dr(t, e) {
@@ -551,7 +551,7 @@ var Yi = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=
551
551
  });
552
552
  const Zi = Xi;
553
553
  function tc(t) {
554
- return t == null ? "" : kn(t);
554
+ return t == null ? "" : Gn(t);
555
555
  }
556
556
  function xt(t, e) {
557
557
  return R(t) ? t : dr(t, e) ? [t] : Zi(tc(t));
@@ -569,7 +569,7 @@ function _e(t, e) {
569
569
  t = t[Tt(e[r++])];
570
570
  return r && r == n ? t : void 0;
571
571
  }
572
- function Kn(t, e, r) {
572
+ function Xn(t, e, r) {
573
573
  var n = t == null ? void 0 : _e(t, e);
574
574
  return n === void 0 ? r : n;
575
575
  }
@@ -595,11 +595,11 @@ function nc(t) {
595
595
  return e ? vr(t, 1) : [];
596
596
  }
597
597
  function oc(t) {
598
- return Vn(zn(t, void 0, nc), t + "");
598
+ return zn(Hn(t, void 0, nc), t + "");
599
599
  }
600
- var ac = Yn(Object.getPrototypeOf, Object);
600
+ var ac = Kn(Object.getPrototypeOf, Object);
601
601
  const gr = ac;
602
- var sc = "[object Object]", ic = Function.prototype, cc = Object.prototype, Xn = ic.toString, uc = cc.hasOwnProperty, lc = Xn.call(Object);
602
+ var sc = "[object Object]", ic = Function.prototype, cc = Object.prototype, Zn = ic.toString, uc = cc.hasOwnProperty, lc = Zn.call(Object);
603
603
  function F(t) {
604
604
  if (!Y(t) || ht(t) != sc)
605
605
  return !1;
@@ -607,7 +607,7 @@ function F(t) {
607
607
  if (e === null)
608
608
  return !0;
609
609
  var r = uc.call(e, "constructor") && e.constructor;
610
- return typeof r == "function" && r instanceof r && Xn.call(r) == lc;
610
+ return typeof r == "function" && r instanceof r && Zn.call(r) == lc;
611
611
  }
612
612
  function fc(t, e, r) {
613
613
  var n = -1, o = t.length;
@@ -655,8 +655,8 @@ function yc(t, e) {
655
655
  function bc(t, e) {
656
656
  return t && Nt(e, re(e), t);
657
657
  }
658
- var Zn = typeof exports == "object" && exports && !exports.nodeType && exports, Yr = Zn && typeof module == "object" && module && !module.nodeType && module, _c = Yr && Yr.exports === Zn, Kr = _c ? K.Buffer : void 0, Xr = Kr ? Kr.allocUnsafe : void 0;
659
- function to(t, e) {
658
+ var to = typeof exports == "object" && exports && !exports.nodeType && exports, Yr = to && typeof module == "object" && module && !module.nodeType && module, _c = Yr && Yr.exports === to, Kr = _c ? K.Buffer : void 0, Xr = Kr ? Kr.allocUnsafe : void 0;
659
+ function eo(t, e) {
660
660
  if (e)
661
661
  return t.slice();
662
662
  var r = t.length, n = Xr ? Xr(r) : new t.constructor(r);
@@ -669,14 +669,14 @@ function Sc(t, e) {
669
669
  }
670
670
  return a;
671
671
  }
672
- function eo() {
672
+ function ro() {
673
673
  return [];
674
674
  }
675
675
  var jc = Object.prototype, Oc = jc.propertyIsEnumerable, Zr = Object.getOwnPropertySymbols, wc = Zr ? function(t) {
676
676
  return t == null ? [] : (t = Object(t), Sc(Zr(t), function(e) {
677
677
  return Oc.call(t, e);
678
678
  }));
679
- } : eo;
679
+ } : ro;
680
680
  const yr = wc;
681
681
  function Cc(t, e) {
682
682
  return Nt(t, yr(t), e);
@@ -685,20 +685,20 @@ var $c = Object.getOwnPropertySymbols, Ec = $c ? function(t) {
685
685
  for (var e = []; t; )
686
686
  mr(e, yr(t)), t = gr(t);
687
687
  return e;
688
- } : eo;
689
- const ro = Ec;
688
+ } : ro;
689
+ const no = Ec;
690
690
  function Nc(t, e) {
691
- return Nt(t, ro(t), e);
691
+ return Nt(t, no(t), e);
692
692
  }
693
- function no(t, e, r) {
693
+ function oo(t, e, r) {
694
694
  var n = e(t);
695
695
  return R(t) ? n : mr(n, r(t));
696
696
  }
697
697
  function ke(t) {
698
- return no(t, ge, yr);
698
+ return oo(t, ge, yr);
699
699
  }
700
700
  function br(t) {
701
- return no(t, re, ro);
701
+ return oo(t, re, no);
702
702
  }
703
703
  var xc = vt(K, "DataView");
704
704
  const Ge = xc;
@@ -749,7 +749,7 @@ var an = V ? V.prototype : void 0, sn = an ? an.valueOf : void 0;
749
749
  function Hc(t) {
750
750
  return sn ? Object(sn.call(t)) : {};
751
751
  }
752
- function oo(t, e) {
752
+ function ao(t, e) {
753
753
  var r = e ? _r(t.buffer) : t.buffer;
754
754
  return new t.constructor(r, t.byteOffset, t.length);
755
755
  }
@@ -773,7 +773,7 @@ function fu(t, e, r) {
773
773
  case cu:
774
774
  case uu:
775
775
  case lu:
776
- return oo(t, r);
776
+ return ao(t, r);
777
777
  case Qc:
778
778
  return new n();
779
779
  case qc:
@@ -787,7 +787,7 @@ function fu(t, e, r) {
787
787
  return Hc(t);
788
788
  }
789
789
  }
790
- function ao(t) {
790
+ function so(t) {
791
791
  return typeof t.constructor == "function" && !lr(t) ? Za(gr(t)) : {};
792
792
  }
793
793
  var pu = "[object Map]";
@@ -802,9 +802,9 @@ function gu(t) {
802
802
  }
803
803
  var un = St && St.isSet, yu = un ? fr(un) : gu;
804
804
  const bu = yu;
805
- var _u = 1, Su = 2, ju = 4, so = "[object Arguments]", Ou = "[object Array]", wu = "[object Boolean]", Cu = "[object Date]", $u = "[object Error]", io = "[object Function]", Eu = "[object GeneratorFunction]", Nu = "[object Map]", xu = "[object Number]", co = "[object Object]", Tu = "[object RegExp]", Mu = "[object Set]", Au = "[object String]", Pu = "[object Symbol]", Ru = "[object WeakMap]", Iu = "[object ArrayBuffer]", Du = "[object DataView]", Lu = "[object Float32Array]", Bu = "[object Float64Array]", Fu = "[object Int8Array]", Uu = "[object Int16Array]", ku = "[object Int32Array]", Gu = "[object Uint8Array]", Vu = "[object Uint8ClampedArray]", zu = "[object Uint16Array]", Hu = "[object Uint32Array]", $ = {};
806
- $[so] = $[Ou] = $[Iu] = $[Du] = $[wu] = $[Cu] = $[Lu] = $[Bu] = $[Fu] = $[Uu] = $[ku] = $[Nu] = $[xu] = $[co] = $[Tu] = $[Mu] = $[Au] = $[Pu] = $[Gu] = $[Vu] = $[zu] = $[Hu] = !0;
807
- $[$u] = $[io] = $[Ru] = !1;
805
+ var _u = 1, Su = 2, ju = 4, io = "[object Arguments]", Ou = "[object Array]", wu = "[object Boolean]", Cu = "[object Date]", $u = "[object Error]", co = "[object Function]", Eu = "[object GeneratorFunction]", Nu = "[object Map]", xu = "[object Number]", uo = "[object Object]", Tu = "[object RegExp]", Mu = "[object Set]", Au = "[object String]", Pu = "[object Symbol]", Ru = "[object WeakMap]", Iu = "[object ArrayBuffer]", Du = "[object DataView]", Lu = "[object Float32Array]", Bu = "[object Float64Array]", Fu = "[object Int8Array]", Uu = "[object Int16Array]", ku = "[object Int32Array]", Gu = "[object Uint8Array]", Vu = "[object Uint8ClampedArray]", zu = "[object Uint16Array]", Hu = "[object Uint32Array]", $ = {};
806
+ $[io] = $[Ou] = $[Iu] = $[Du] = $[wu] = $[Cu] = $[Lu] = $[Bu] = $[Fu] = $[Uu] = $[ku] = $[Nu] = $[xu] = $[uo] = $[Tu] = $[Mu] = $[Au] = $[Pu] = $[Gu] = $[Vu] = $[zu] = $[Hu] = !0;
807
+ $[$u] = $[co] = $[Ru] = !1;
808
808
  function zt(t, e, r, n, o, a) {
809
809
  var i, s = e & _u, c = e & Su, u = e & ju;
810
810
  if (r && (i = o ? r(t, n, o, a) : r(t)), i !== void 0)
@@ -814,13 +814,13 @@ function zt(t, e, r, n, o, a) {
814
814
  var f = R(t);
815
815
  if (f) {
816
816
  if (i = Uc(t), !s)
817
- return Gn(t, i);
817
+ return Vn(t, i);
818
818
  } else {
819
- var p = Kt(t), l = p == io || p == Eu;
819
+ var p = Kt(t), l = p == co || p == Eu;
820
820
  if (Qt(t))
821
- return to(t, s);
822
- if (p == co || p == so || l && !o) {
823
- if (i = c || l ? {} : ao(t), !s)
821
+ return eo(t, s);
822
+ if (p == uo || p == io || l && !o) {
823
+ if (i = c || l ? {} : so(t), !s)
824
824
  return c ? Nc(t, bc(i, t)) : Cc(t, yc(i, t));
825
825
  } else {
826
826
  if (!$[p])
@@ -843,7 +843,7 @@ function zt(t, e, r, n, o, a) {
843
843
  }), i;
844
844
  }
845
845
  var Ju = 1, Wu = 4;
846
- function uo(t) {
846
+ function lo(t) {
847
847
  return zt(t, Ju | Wu);
848
848
  }
849
849
  var Qu = "__lodash_hash_undefined__";
@@ -866,11 +866,11 @@ function Ku(t, e) {
866
866
  return !0;
867
867
  return !1;
868
868
  }
869
- function lo(t, e) {
869
+ function fo(t, e) {
870
870
  return t.has(e);
871
871
  }
872
872
  var Xu = 1, Zu = 2;
873
- function fo(t, e, r, n, o, a) {
873
+ function po(t, e, r, n, o, a) {
874
874
  var i = r & Xu, s = t.length, c = e.length;
875
875
  if (s != c && !(i && c > s))
876
876
  return !1;
@@ -890,7 +890,7 @@ function fo(t, e, r, n, o, a) {
890
890
  }
891
891
  if (d) {
892
892
  if (!Ku(e, function(S, j) {
893
- if (!lo(d, j) && (h === S || o(h, S, r, n, a)))
893
+ if (!fo(d, j) && (h === S || o(h, S, r, n, a)))
894
894
  return d.push(j);
895
895
  })) {
896
896
  l = !1;
@@ -943,7 +943,7 @@ function hl(t, e, r, n, o, a, i) {
943
943
  if (u)
944
944
  return u == e;
945
945
  n |= rl, i.set(t, e);
946
- var f = fo(s(t), s(e), n, o, a, i);
946
+ var f = po(s(t), s(e), n, o, a, i);
947
947
  return i.delete(t), f;
948
948
  case fl:
949
949
  if (Ae)
@@ -994,7 +994,7 @@ function Sl(t, e, r, n, o, a) {
994
994
  i = !0, f = !1;
995
995
  }
996
996
  if (l && !f)
997
- return a || (a = new J()), i || pr(t) ? fo(t, e, r, n, o, a) : hl(t, e, c, r, n, o, a);
997
+ return a || (a = new J()), i || pr(t) ? po(t, e, r, n, o, a) : hl(t, e, c, r, n, o, a);
998
998
  if (!(r & bl)) {
999
999
  var d = f && dn.call(t, "__wrapped__"), h = p && dn.call(e, "__wrapped__");
1000
1000
  if (d || h) {
@@ -1033,24 +1033,24 @@ function wl(t, e, r, n) {
1033
1033
  }
1034
1034
  return !0;
1035
1035
  }
1036
- function po(t) {
1036
+ function ho(t) {
1037
1037
  return t === t && !Q(t);
1038
1038
  }
1039
1039
  function Cl(t) {
1040
1040
  for (var e = ge(t), r = e.length; r--; ) {
1041
1041
  var n = e[r], o = t[n];
1042
- e[r] = [n, o, po(o)];
1042
+ e[r] = [n, o, ho(o)];
1043
1043
  }
1044
1044
  return e;
1045
1045
  }
1046
- function ho(t, e) {
1046
+ function mo(t, e) {
1047
1047
  return function(r) {
1048
1048
  return r == null ? !1 : r[t] === e && (e !== void 0 || t in Object(r));
1049
1049
  };
1050
1050
  }
1051
1051
  function $l(t) {
1052
1052
  var e = Cl(t);
1053
- return e.length == 1 && e[0][2] ? ho(e[0][0], e[0][1]) : function(r) {
1053
+ return e.length == 1 && e[0][2] ? mo(e[0][0], e[0][1]) : function(r) {
1054
1054
  return r === t || wl(r, t, e);
1055
1055
  };
1056
1056
  }
@@ -1072,8 +1072,8 @@ function xl(t, e) {
1072
1072
  }
1073
1073
  var Tl = 1, Ml = 2;
1074
1074
  function Al(t, e) {
1075
- return dr(t) && po(e) ? ho(Tt(t), e) : function(r) {
1076
- var n = Kn(r, t);
1075
+ return dr(t) && ho(e) ? mo(Tt(t), e) : function(r) {
1076
+ var n = Xn(r, t);
1077
1077
  return n === void 0 && n === e ? xl(r, t) : jr(e, n, Tl | Ml);
1078
1078
  };
1079
1079
  }
@@ -1127,14 +1127,14 @@ function Ul(t, e, r, n, o, a, i) {
1127
1127
  var f = a ? a(s, c, r + "", t, e, i) : void 0, p = f === void 0;
1128
1128
  if (p) {
1129
1129
  var l = R(c), d = !l && Qt(c), h = !l && !d && pr(c);
1130
- f = c, l || d || h ? R(s) ? f = s : He(s) ? f = Gn(s) : d ? (p = !1, f = to(c, !0)) : h ? (p = !1, f = oo(c, !0)) : f = [] : F(c) || Wt(c) ? (f = s, Wt(s) ? f = Fl(s) : (!Q(s) || sr(s)) && (f = ao(c))) : p = !1;
1130
+ f = c, l || d || h ? R(s) ? f = s : He(s) ? f = Vn(s) : d ? (p = !1, f = eo(c, !0)) : h ? (p = !1, f = ao(c, !0)) : f = [] : F(c) || Wt(c) ? (f = s, Wt(s) ? f = Fl(s) : (!Q(s) || sr(s)) && (f = so(c))) : p = !1;
1131
1131
  }
1132
1132
  p && (i.set(c, f), o(f, c, n, a, i), i.delete(c)), ze(t, r, f);
1133
1133
  }
1134
- function mo(t, e, r, n, o) {
1134
+ function vo(t, e, r, n, o) {
1135
1135
  t !== e && Bl(e, function(a, i) {
1136
1136
  if (o || (o = new J()), Q(a))
1137
- Ul(t, e, i, r, mo, n, o);
1137
+ Ul(t, e, i, r, vo, n, o);
1138
1138
  else {
1139
1139
  var s = n ? n(Je(t, i), a, i + "", t, e, o) : void 0;
1140
1140
  s === void 0 && (s = a), ze(t, i, s);
@@ -1147,7 +1147,7 @@ function kl(t, e, r) {
1147
1147
  return !0;
1148
1148
  return !1;
1149
1149
  }
1150
- function vo(t) {
1150
+ function go(t) {
1151
1151
  var e = t == null ? 0 : t.length;
1152
1152
  return e ? t[e - 1] : void 0;
1153
1153
  }
@@ -1155,9 +1155,9 @@ function Gl(t, e) {
1155
1155
  return e.length < 2 ? t : _e(t, fc(e, 0, -1));
1156
1156
  }
1157
1157
  var Vl = Os(function(t, e, r) {
1158
- mo(t, e, r);
1158
+ vo(t, e, r);
1159
1159
  });
1160
- const go = Vl;
1160
+ const yo = Vl;
1161
1161
  var zl = "Expected a function";
1162
1162
  function Hl(t) {
1163
1163
  if (typeof t != "function")
@@ -1178,7 +1178,7 @@ function Hl(t) {
1178
1178
  };
1179
1179
  }
1180
1180
  function Jl(t, e) {
1181
- return e = xt(e, t), t = Gl(t, e), t == null || delete t[Tt(vo(e))];
1181
+ return e = xt(e, t), t = Gl(t, e), t == null || delete t[Tt(go(e))];
1182
1182
  }
1183
1183
  function Wl(t) {
1184
1184
  return F(t) ? void 0 : t;
@@ -1195,7 +1195,7 @@ var Ql = 1, ql = 2, Yl = 4, Kl = oc(function(t, e) {
1195
1195
  Jl(r, e[o]);
1196
1196
  return r;
1197
1197
  });
1198
- const yo = Kl;
1198
+ const bo = Kl;
1199
1199
  function Xl(t, e, r, n) {
1200
1200
  if (!Q(t))
1201
1201
  return t;
@@ -1245,7 +1245,7 @@ function sf(t, e, r) {
1245
1245
  var u = e ? null : of(t);
1246
1246
  if (u)
1247
1247
  return Sr(u);
1248
- i = !1, o = lo, c = new Xt();
1248
+ i = !1, o = fo, c = new Xt();
1249
1249
  } else
1250
1250
  c = e ? [] : s;
1251
1251
  t:
@@ -1261,12 +1261,12 @@ function sf(t, e, r) {
1261
1261
  }
1262
1262
  return s;
1263
1263
  }
1264
- var cf = Hn(function(t) {
1265
- var e = vo(t);
1264
+ var cf = Jn(function(t) {
1265
+ var e = go(t);
1266
1266
  return He(e) && (e = void 0), sf(vr(t, 1, He, !0), Or(e));
1267
1267
  });
1268
1268
  const uf = cf;
1269
- class bo extends TypeError {
1269
+ class _o extends TypeError {
1270
1270
  constructor(e, r) {
1271
1271
  let n;
1272
1272
  const {
@@ -1383,7 +1383,7 @@ class X {
1383
1383
  * Assert that a value passes the struct's validation, throwing if it doesn't.
1384
1384
  */
1385
1385
  assert(e) {
1386
- return _o(e, this);
1386
+ return So(e, this);
1387
1387
  }
1388
1388
  /**
1389
1389
  * Create a value with the struct's coercion logic, then validate it.
@@ -1416,7 +1416,7 @@ class X {
1416
1416
  return r === void 0 && (r = {}), Mt(e, this, r);
1417
1417
  }
1418
1418
  }
1419
- function _o(t, e) {
1419
+ function So(t, e) {
1420
1420
  const r = Mt(t, e);
1421
1421
  if (r[0])
1422
1422
  throw r[0];
@@ -1444,7 +1444,7 @@ function mf(t, e) {
1444
1444
  function Mt(t, e, r) {
1445
1445
  r === void 0 && (r = {});
1446
1446
  const n = wr(t, e, r), o = ff(n);
1447
- return o[0] ? [new bo(o[0], function* () {
1447
+ return o[0] ? [new _o(o[0], function* () {
1448
1448
  for (const a of n)
1449
1449
  a[0] && (yield a[0]);
1450
1450
  }), void 0] : [void 0, o[1]];
@@ -1453,7 +1453,7 @@ function Cr() {
1453
1453
  for (var t = arguments.length, e = new Array(t), r = 0; r < t; r++)
1454
1454
  e[r] = arguments[r];
1455
1455
  const n = e[0].type === "type", o = e.map((i) => i.schema), a = Object.assign({}, ...o);
1456
- return n ? wo(a) : w(a);
1456
+ return n ? Co(a) : w(a);
1457
1457
  }
1458
1458
  function st(t, e) {
1459
1459
  return new X({
@@ -1480,7 +1480,7 @@ function jt(t) {
1480
1480
  }
1481
1481
  });
1482
1482
  }
1483
- function So(t, e) {
1483
+ function jo(t, e) {
1484
1484
  const {
1485
1485
  schema: r
1486
1486
  } = t, n = {
@@ -1490,7 +1490,7 @@ function So(t, e) {
1490
1490
  delete n[o];
1491
1491
  switch (t.type) {
1492
1492
  case "type":
1493
- return wo(n);
1493
+ return Co(n);
1494
1494
  default:
1495
1495
  return w(n);
1496
1496
  }
@@ -1530,7 +1530,7 @@ function We(t) {
1530
1530
  }
1531
1531
  });
1532
1532
  }
1533
- function jo() {
1533
+ function Oo() {
1534
1534
  return st("func", (t) => typeof t == "function" || `Expected a function, but received: ${U(t)}`);
1535
1535
  }
1536
1536
  function L(t) {
@@ -1546,7 +1546,7 @@ function L(t) {
1546
1546
  function vf() {
1547
1547
  return st("never", () => !1);
1548
1548
  }
1549
- function Oo() {
1549
+ function wo() {
1550
1550
  return st("number", (t) => typeof t == "number" && !isNaN(t) || `Expected a number, but received: ${U(t)}`);
1551
1551
  }
1552
1552
  function w(t) {
@@ -1599,7 +1599,7 @@ function Ht(t, e) {
1599
1599
  function v() {
1600
1600
  return st("string", (t) => typeof t == "string" || `Expected a string, but received: ${U(t)}`);
1601
1601
  }
1602
- function wo(t) {
1602
+ function Co(t) {
1603
1603
  const e = Object.keys(t);
1604
1604
  return new X({
1605
1605
  type: "type",
@@ -1666,7 +1666,7 @@ const $r = w({
1666
1666
  var G = /* @__PURE__ */ ((t) => (t.SLOT = "SLOT", t.FUNCTION = "FUNCTION", t.EXPRESSION = "EXPRESSION", t))(G || {}), Er = /* @__PURE__ */ ((t) => (t.DESIGN = "design", t.SAVE = "save", t))(Er || {}), Qe = /* @__PURE__ */ ((t) => (t.FUNC = "FUNC", t.COMP = "COMP", t))(Qe || {});
1667
1667
  const _f = () => st("normalObj", (t) => !F(t) || [G.SLOT, G.EXPRESSION, G.FUNCTION].includes(t == null ? void 0 : t.type) ? !1 : (Mt(t, Ht(v(), Nr)), !0)), Nr = B([
1668
1668
  v(),
1669
- Oo(),
1669
+ wo(),
1670
1670
  ft(),
1671
1671
  w({
1672
1672
  type: L(G.SLOT),
@@ -1793,9 +1793,9 @@ const Of = w({
1793
1793
  defaultValue: T(),
1794
1794
  //用于产生 valueType 类型的值
1795
1795
  setters: m(P(wf)),
1796
- condition: m(jo())
1796
+ condition: m(Oo())
1797
1797
  });
1798
- B([v(), jo()]);
1798
+ B([v(), Oo()]);
1799
1799
  var qe = /* @__PURE__ */ ((t) => (t.SINGLE = "single", t.GROUP = "group", t))(qe || {});
1800
1800
  B([
1801
1801
  v(),
@@ -1823,7 +1823,7 @@ const Cf = w({
1823
1823
  groupName: m(v()),
1824
1824
  // 分类
1825
1825
  category: m(v()),
1826
- schema: Cr(So(Ot, ["id"]), w({ componentName: m(v()) }))
1826
+ schema: Cr(jo(Ot, ["id"]), w({ componentName: m(v()) }))
1827
1827
  }), $f = w({
1828
1828
  componentName: v(),
1829
1829
  title: v(),
@@ -1836,7 +1836,7 @@ const Cf = w({
1836
1836
  // 分类
1837
1837
  category: m(v()),
1838
1838
  // 排序
1839
- priority: m(Oo()),
1839
+ priority: m(wo()),
1840
1840
  npm: m($r),
1841
1841
  snippets: P(Cf),
1842
1842
  props: P(
@@ -1895,12 +1895,12 @@ const Cf = w({
1895
1895
  const { data: e, message: r, throwError: n, dataStruct: o } = t;
1896
1896
  return Ef(({ data: a }) => {
1897
1897
  try {
1898
- return _o(a, o), {
1898
+ return So(a, o), {
1899
1899
  isValidate: !0
1900
1900
  };
1901
1901
  } catch (i) {
1902
1902
  let s = i;
1903
- return i instanceof bo && (s = i.failures().map((c) => `【${c.path.join(".")}】: ${c.message}
1903
+ return i instanceof _o && (s = i.failures().map((c) => `【${c.path.join(".")}】: ${c.message}
1904
1904
  `)), {
1905
1905
  isValidate: !1,
1906
1906
  message: s,
@@ -1914,7 +1914,7 @@ const Nf = w({
1914
1914
  type: L(G.FUNCTION),
1915
1915
  value: v()
1916
1916
  }), xf = Cr(
1917
- So(Ot, ["componentName"]),
1917
+ jo(Ot, ["componentName"]),
1918
1918
  w({
1919
1919
  componentName: L(
1920
1920
  "RootContainer"
@@ -1980,11 +1980,11 @@ class wt {
1980
1980
  return n(r);
1981
1981
  }
1982
1982
  }
1983
- const Co = (t) => {
1983
+ const $o = (t) => {
1984
1984
  let e = [];
1985
1985
  return t.forEach((r) => {
1986
1986
  const n = r;
1987
- n.type ? n.type === qe.SINGLE ? e.push(n.content) : n.type === qe.GROUP && (e = [...e, ...Co(n.content)]) : e.push(r);
1987
+ n.type ? n.type === qe.SINGLE ? e.push(n.content) : n.type === qe.GROUP && (e = [...e, ...$o(n.content)]) : e.push(r);
1988
1988
  }), e;
1989
1989
  }, Ye = (t, e, r) => {
1990
1990
  if (t.type)
@@ -2030,7 +2030,7 @@ class at {
2030
2030
  const e = this.parent;
2031
2031
  if (e instanceof M) {
2032
2032
  const r = e.material;
2033
- return Co((r == null ? void 0 : r.value.props) || []).find((n) => n.name === this.name);
2033
+ return $o((r == null ? void 0 : r.value.props) || []).find((n) => n.name === this.name);
2034
2034
  } else
2035
2035
  return null;
2036
2036
  }
@@ -2068,7 +2068,7 @@ const Af = (t) => {
2068
2068
  children: [],
2069
2069
  props: {},
2070
2070
  methods: t.methods || [],
2071
- configure: go(t.configure || {}, {
2071
+ configure: yo(t.configure || {}, {
2072
2072
  propsSetter: {},
2073
2073
  advanceSetter: {}
2074
2074
  })
@@ -2190,7 +2190,7 @@ class M {
2190
2190
  });
2191
2191
  const a = (r = n.children) == null ? void 0 : r.map((p) => p instanceof M ? p.export(e) : p), i = n.configure || {}, s = i.propsSetter || {}, c = {};
2192
2192
  Object.keys(s).forEach((p) => {
2193
- const l = Kn(s, p, !1);
2193
+ const l = Xn(s, p, !1);
2194
2194
  l && (c[p] = l);
2195
2195
  }), i.propsSetter = c;
2196
2196
  const u = this.materialsModel.usedMaterials.find(
@@ -2218,7 +2218,7 @@ const gn = (t, e, r) => {
2218
2218
  componentName: At.ROOT_CONTAINER,
2219
2219
  children: [],
2220
2220
  methods: t.methods || [],
2221
- configure: go(t.configure || {}, {
2221
+ configure: yo(t.configure || {}, {
2222
2222
  propsSetter: {},
2223
2223
  advanceSetter: {}
2224
2224
  })
@@ -2311,7 +2311,7 @@ class Zt {
2311
2311
  children: a.filter((c) => c),
2312
2312
  condition: n.condition
2313
2313
  };
2314
- let s = yo(i, ["id"]);
2314
+ let s = bo(i, ["id"]);
2315
2315
  return s = Tr(s), s;
2316
2316
  }
2317
2317
  getPlainProps() {
@@ -2373,7 +2373,7 @@ function Mr(t, e) {
2373
2373
  return Df(t, (r) => r.id === e);
2374
2374
  }
2375
2375
  const Lf = (t) => {
2376
- const e = uo(t), r = e.snippets;
2376
+ const e = lo(t), r = e.snippets;
2377
2377
  return delete e.snippets, e.snippets = r.map((n) => ({
2378
2378
  ...e,
2379
2379
  ...n,
@@ -2521,7 +2521,7 @@ const Uf = w({
2521
2521
  thirdLibs: m(yf),
2522
2522
  componentsTree: xf,
2523
2523
  assets: m(P(T()))
2524
- }), $o = (t) => (xr({
2524
+ }), Eo = (t) => (xr({
2525
2525
  data: t,
2526
2526
  dataStruct: Uf,
2527
2527
  throwError: !1
@@ -2534,7 +2534,7 @@ const Uf = w({
2534
2534
  });
2535
2535
  class de {
2536
2536
  constructor(e, r) {
2537
- _(this, "nodeType", "PAGE"), _(this, "rawData"), _(this, "emitter", ne), _(this, "data"), _(this, "parent"), _(this, "materialsModel"), _(this, "assetPackagesList"), $o(e), this.rawData = JSON.parse(JSON.stringify(e)), this.materialsModel = new pt((r == null ? void 0 : r.materials) || []), this.data = De(e, this, this.materialsModel), this.assetPackagesList = [...(r == null ? void 0 : r.assetPackagesList) || [], ...this.data.assets || []];
2537
+ _(this, "nodeType", "PAGE"), _(this, "rawData"), _(this, "emitter", ne), _(this, "data"), _(this, "parent"), _(this, "materialsModel"), _(this, "assetPackagesList"), Eo(e), this.rawData = JSON.parse(JSON.stringify(e)), this.materialsModel = new pt((r == null ? void 0 : r.materials) || []), this.data = De(e, this, this.materialsModel), this.assetPackagesList = [...(r == null ? void 0 : r.assetPackagesList) || [], ...this.data.assets || []];
2538
2538
  }
2539
2539
  updatePage(e) {
2540
2540
  const r = this.data;
@@ -2654,7 +2654,7 @@ class de {
2654
2654
  });
2655
2655
  return u && a.push(u), {
2656
2656
  componentName: c.componentName,
2657
- ...uo(c.value.npm || {})
2657
+ ...lo(c.value.npm || {})
2658
2658
  };
2659
2659
  }).filter((c) => c.componentName && c.package && c.version ? !0 : (console.warn(`${c} not a valid material info`), !1));
2660
2660
  this.materialsModel.usedMaterials = [];
@@ -2668,7 +2668,7 @@ class de {
2668
2668
  return (r = this.data.thirdLibs) == null || r.forEach((c) => {
2669
2669
  const u = o.find((f) => c.package === f.package);
2670
2670
  u && a.push(u);
2671
- }), s.assets = uf(a, (c) => c.package), s = yo(s, ["id"]), JSON.parse(JSON.stringify(s));
2671
+ }), s.assets = uf(a, (c) => c.package), s = bo(s, ["id"]), JSON.parse(JSON.stringify(s));
2672
2672
  }
2673
2673
  getRootNode() {
2674
2674
  return this.data.componentsTree;
@@ -2676,12 +2676,12 @@ class de {
2676
2676
  }
2677
2677
  At.ROOT_CONTAINER;
2678
2678
  var kf = typeof global == "object" && global && global.Object === Object && global;
2679
- const Eo = kf;
2680
- var Gf = typeof self == "object" && self && self.Object === Object && self, Vf = Eo || Gf || Function("return this")();
2679
+ const No = kf;
2680
+ var Gf = typeof self == "object" && self && self.Object === Object && self, Vf = No || Gf || Function("return this")();
2681
2681
  const Pt = Vf;
2682
2682
  var zf = Pt.Symbol;
2683
2683
  const Ct = zf;
2684
- var No = Object.prototype, Hf = No.hasOwnProperty, Jf = No.toString, Gt = Ct ? Ct.toStringTag : void 0;
2684
+ var xo = Object.prototype, Hf = xo.hasOwnProperty, Jf = xo.toString, Gt = Ct ? Ct.toStringTag : void 0;
2685
2685
  function Wf(t) {
2686
2686
  var e = Hf.call(t, Gt), r = t[Gt];
2687
2687
  try {
@@ -2715,11 +2715,11 @@ function ep(t, e) {
2715
2715
  var rp = Array.isArray;
2716
2716
  const $t = rp;
2717
2717
  var np = 1 / 0, bn = Ct ? Ct.prototype : void 0, _n = bn ? bn.toString : void 0;
2718
- function xo(t) {
2718
+ function To(t) {
2719
2719
  if (typeof t == "string")
2720
2720
  return t;
2721
2721
  if ($t(t))
2722
- return ep(t, xo) + "";
2722
+ return ep(t, To) + "";
2723
2723
  if (tp(t))
2724
2724
  return _n ? _n.call(t) : "";
2725
2725
  var e = t + "";
@@ -2729,7 +2729,7 @@ function gt(t) {
2729
2729
  var e = typeof t;
2730
2730
  return t != null && (e == "object" || e == "function");
2731
2731
  }
2732
- function To(t) {
2732
+ function Mo(t) {
2733
2733
  return t;
2734
2734
  }
2735
2735
  var op = "[object AsyncFunction]", ap = "[object Function]", sp = "[object GeneratorFunction]", ip = "[object Proxy]";
@@ -2844,12 +2844,12 @@ var Ap = he ? function(t, e) {
2844
2844
  value: Tp(e),
2845
2845
  writable: !0
2846
2846
  });
2847
- } : To;
2847
+ } : Mo;
2848
2848
  const Pp = Ap;
2849
2849
  var Rp = xp(Pp);
2850
2850
  const Ip = Rp;
2851
2851
  var Dp = 9007199254740991, Lp = /^(?:0|[1-9]\d*)$/;
2852
- function Mo(t, e) {
2852
+ function Ao(t, e) {
2853
2853
  var r = typeof t;
2854
2854
  return e = e ?? Dp, !!e && (r == "number" || r != "symbol" && Lp.test(t)) && t > -1 && t % 1 == 0 && t < e;
2855
2855
  }
@@ -2890,20 +2890,20 @@ function Gp(t, e, r) {
2890
2890
  };
2891
2891
  }
2892
2892
  function Vp(t, e) {
2893
- return Ip(Gp(t, e, To), t + "");
2893
+ return Ip(Gp(t, e, Mo), t + "");
2894
2894
  }
2895
2895
  var zp = 9007199254740991;
2896
- function Ao(t) {
2896
+ function Po(t) {
2897
2897
  return typeof t == "number" && t > -1 && t % 1 == 0 && t <= zp;
2898
2898
  }
2899
2899
  function Ir(t) {
2900
- return t != null && Ao(t.length) && !Ar(t);
2900
+ return t != null && Po(t.length) && !Ar(t);
2901
2901
  }
2902
2902
  function Hp(t, e, r) {
2903
2903
  if (!gt(r))
2904
2904
  return !1;
2905
2905
  var n = typeof e;
2906
- return (n == "number" ? Ir(r) && Mo(e, r.length) : n == "string" && e in r) ? je(r[e], t) : !1;
2906
+ return (n == "number" ? Ir(r) && Ao(e, r.length) : n == "string" && e in r) ? je(r[e], t) : !1;
2907
2907
  }
2908
2908
  function Jp(t) {
2909
2909
  return Vp(function(e, r) {
@@ -2916,7 +2916,7 @@ function Jp(t) {
2916
2916
  });
2917
2917
  }
2918
2918
  var Wp = Object.prototype;
2919
- function Po(t) {
2919
+ function Ro(t) {
2920
2920
  var e = t && t.constructor, r = typeof e == "function" && e.prototype || Wp;
2921
2921
  return t === r;
2922
2922
  }
@@ -2929,7 +2929,7 @@ var qp = "[object Arguments]";
2929
2929
  function wn(t) {
2930
2930
  return Rt(t) && oe(t) == qp;
2931
2931
  }
2932
- var Ro = Object.prototype, Yp = Ro.hasOwnProperty, Kp = Ro.propertyIsEnumerable, Xp = wn(function() {
2932
+ var Io = Object.prototype, Yp = Io.hasOwnProperty, Kp = Io.propertyIsEnumerable, Xp = wn(function() {
2933
2933
  return arguments;
2934
2934
  }()) ? wn : function(t) {
2935
2935
  return Rt(t) && Yp.call(t, "callee") && !Kp.call(t, "callee");
@@ -2938,20 +2938,20 @@ const Xe = Xp;
2938
2938
  function Zp() {
2939
2939
  return !1;
2940
2940
  }
2941
- var Io = typeof exports == "object" && exports && !exports.nodeType && exports, Cn = Io && typeof module == "object" && module && !module.nodeType && module, td = Cn && Cn.exports === Io, $n = td ? Pt.Buffer : void 0, ed = $n ? $n.isBuffer : void 0, rd = ed || Zp;
2942
- const Do = rd;
2941
+ var Do = typeof exports == "object" && exports && !exports.nodeType && exports, Cn = Do && typeof module == "object" && module && !module.nodeType && module, td = Cn && Cn.exports === Do, $n = td ? Pt.Buffer : void 0, ed = $n ? $n.isBuffer : void 0, rd = ed || Zp;
2942
+ const Lo = rd;
2943
2943
  var nd = "[object Arguments]", od = "[object Array]", ad = "[object Boolean]", sd = "[object Date]", id = "[object Error]", cd = "[object Function]", ud = "[object Map]", ld = "[object Number]", fd = "[object Object]", pd = "[object RegExp]", dd = "[object Set]", hd = "[object String]", md = "[object WeakMap]", vd = "[object ArrayBuffer]", gd = "[object DataView]", yd = "[object Float32Array]", bd = "[object Float64Array]", _d = "[object Int8Array]", Sd = "[object Int16Array]", jd = "[object Int32Array]", Od = "[object Uint8Array]", wd = "[object Uint8ClampedArray]", Cd = "[object Uint16Array]", $d = "[object Uint32Array]", N = {};
2944
2944
  N[yd] = N[bd] = N[_d] = N[Sd] = N[jd] = N[Od] = N[wd] = N[Cd] = N[$d] = !0;
2945
2945
  N[nd] = N[od] = N[vd] = N[ad] = N[gd] = N[sd] = N[id] = N[cd] = N[ud] = N[ld] = N[fd] = N[pd] = N[dd] = N[hd] = N[md] = !1;
2946
2946
  function Ed(t) {
2947
- return Rt(t) && Ao(t.length) && !!N[oe(t)];
2947
+ return Rt(t) && Po(t.length) && !!N[oe(t)];
2948
2948
  }
2949
2949
  function Nd(t) {
2950
2950
  return function(e) {
2951
2951
  return t(e);
2952
2952
  };
2953
2953
  }
2954
- var Lo = typeof exports == "object" && exports && !exports.nodeType && exports, Jt = Lo && typeof module == "object" && module && !module.nodeType && module, xd = Jt && Jt.exports === Lo, Be = xd && Eo.process, Td = function() {
2954
+ var Bo = typeof exports == "object" && exports && !exports.nodeType && exports, Jt = Bo && typeof module == "object" && module && !module.nodeType && module, xd = Jt && Jt.exports === Bo, Be = xd && No.process, Td = function() {
2955
2955
  try {
2956
2956
  var t = Jt && Jt.require && Jt.require("util").types;
2957
2957
  return t || Be && Be.binding && Be.binding("util");
@@ -2960,16 +2960,16 @@ var Lo = typeof exports == "object" && exports && !exports.nodeType && exports,
2960
2960
  }();
2961
2961
  const En = Td;
2962
2962
  var Nn = En && En.isTypedArray, Md = Nn ? Nd(Nn) : Ed;
2963
- const Bo = Md;
2963
+ const Fo = Md;
2964
2964
  var Ad = Object.prototype, Pd = Ad.hasOwnProperty;
2965
2965
  function Rd(t, e) {
2966
- var r = $t(t), n = !r && Xe(t), o = !r && !n && Do(t), a = !r && !n && !o && Bo(t), i = r || n || o || a, s = i ? Qp(t.length, String) : [], c = s.length;
2966
+ var r = $t(t), n = !r && Xe(t), o = !r && !n && Lo(t), a = !r && !n && !o && Fo(t), i = r || n || o || a, s = i ? Qp(t.length, String) : [], c = s.length;
2967
2967
  for (var u in t)
2968
2968
  (e || Pd.call(t, u)) && !(i && // Safari 9 has enumerable `arguments.length` in strict mode.
2969
2969
  (u == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
2970
2970
  o && (u == "offset" || u == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
2971
2971
  a && (u == "buffer" || u == "byteLength" || u == "byteOffset") || // Skip index properties.
2972
- Mo(u, c))) && s.push(u);
2972
+ Ao(u, c))) && s.push(u);
2973
2973
  return s;
2974
2974
  }
2975
2975
  function Id(t, e) {
@@ -2988,12 +2988,12 @@ var Ld = Object.prototype, Bd = Ld.hasOwnProperty;
2988
2988
  function Fd(t) {
2989
2989
  if (!gt(t))
2990
2990
  return Dd(t);
2991
- var e = Po(t), r = [];
2991
+ var e = Ro(t), r = [];
2992
2992
  for (var n in t)
2993
2993
  n == "constructor" && (e || !Bd.call(t, n)) || r.push(n);
2994
2994
  return r;
2995
2995
  }
2996
- function Fo(t) {
2996
+ function Uo(t) {
2997
2997
  return Ir(t) ? Rd(t, !0) : Fd(t);
2998
2998
  }
2999
2999
  var Ud = Pr(Object, "create");
@@ -3077,11 +3077,11 @@ rt.prototype.get = rh;
3077
3077
  rt.prototype.has = nh;
3078
3078
  rt.prototype.set = oh;
3079
3079
  var ah = Pr(Pt, "Map");
3080
- const Uo = ah;
3080
+ const ko = ah;
3081
3081
  function sh() {
3082
3082
  this.size = 0, this.__data__ = {
3083
3083
  hash: new dt(),
3084
- map: new (Uo || rt)(),
3084
+ map: new (ko || rt)(),
3085
3085
  string: new dt()
3086
3086
  };
3087
3087
  }
@@ -3119,20 +3119,20 @@ It.prototype.delete = ch;
3119
3119
  It.prototype.get = uh;
3120
3120
  It.prototype.has = lh;
3121
3121
  It.prototype.set = fh;
3122
- function ko(t) {
3123
- return t == null ? "" : xo(t);
3122
+ function Go(t) {
3123
+ return t == null ? "" : To(t);
3124
3124
  }
3125
3125
  var ph = Id(Object.getPrototypeOf, Object);
3126
- const Go = ph;
3127
- var dh = "[object Object]", hh = Function.prototype, mh = Object.prototype, Vo = hh.toString, vh = mh.hasOwnProperty, gh = Vo.call(Object);
3126
+ const Vo = ph;
3127
+ var dh = "[object Object]", hh = Function.prototype, mh = Object.prototype, zo = hh.toString, vh = mh.hasOwnProperty, gh = zo.call(Object);
3128
3128
  function Et(t) {
3129
3129
  if (!Rt(t) || oe(t) != dh)
3130
3130
  return !1;
3131
- var e = Go(t);
3131
+ var e = Vo(t);
3132
3132
  if (e === null)
3133
3133
  return !0;
3134
3134
  var r = vh.call(e, "constructor") && e.constructor;
3135
- return typeof r == "function" && r instanceof r && Vo.call(r) == gh;
3135
+ return typeof r == "function" && r instanceof r && zo.call(r) == gh;
3136
3136
  }
3137
3137
  function yh(t, e, r) {
3138
3138
  var n = -1, o = t.length;
@@ -3146,30 +3146,30 @@ function bh(t, e, r) {
3146
3146
  return r = r === void 0 ? n : r, !e && r >= n ? t : yh(t, e, r);
3147
3147
  }
3148
3148
  var _h = "\\ud800-\\udfff", Sh = "\\u0300-\\u036f", jh = "\\ufe20-\\ufe2f", Oh = "\\u20d0-\\u20ff", wh = Sh + jh + Oh, Ch = "\\ufe0e\\ufe0f", $h = "\\u200d", Eh = RegExp("[" + $h + _h + wh + Ch + "]");
3149
- function zo(t) {
3149
+ function Ho(t) {
3150
3150
  return Eh.test(t);
3151
3151
  }
3152
3152
  function Nh(t) {
3153
3153
  return t.split("");
3154
3154
  }
3155
- var Ho = "\\ud800-\\udfff", xh = "\\u0300-\\u036f", Th = "\\ufe20-\\ufe2f", Mh = "\\u20d0-\\u20ff", Ah = xh + Th + Mh, Ph = "\\ufe0e\\ufe0f", Rh = "[" + Ho + "]", Ze = "[" + Ah + "]", tr = "\\ud83c[\\udffb-\\udfff]", Ih = "(?:" + Ze + "|" + tr + ")", Jo = "[^" + Ho + "]", Wo = "(?:\\ud83c[\\udde6-\\uddff]){2}", Qo = "[\\ud800-\\udbff][\\udc00-\\udfff]", Dh = "\\u200d", qo = Ih + "?", Yo = "[" + Ph + "]?", Lh = "(?:" + Dh + "(?:" + [Jo, Wo, Qo].join("|") + ")" + Yo + qo + ")*", Bh = Yo + qo + Lh, Fh = "(?:" + [Jo + Ze + "?", Ze, Wo, Qo, Rh].join("|") + ")", Uh = RegExp(tr + "(?=" + tr + ")|" + Fh + Bh, "g");
3155
+ var Jo = "\\ud800-\\udfff", xh = "\\u0300-\\u036f", Th = "\\ufe20-\\ufe2f", Mh = "\\u20d0-\\u20ff", Ah = xh + Th + Mh, Ph = "\\ufe0e\\ufe0f", Rh = "[" + Jo + "]", Ze = "[" + Ah + "]", tr = "\\ud83c[\\udffb-\\udfff]", Ih = "(?:" + Ze + "|" + tr + ")", Wo = "[^" + Jo + "]", Qo = "(?:\\ud83c[\\udde6-\\uddff]){2}", qo = "[\\ud800-\\udbff][\\udc00-\\udfff]", Dh = "\\u200d", Yo = Ih + "?", Ko = "[" + Ph + "]?", Lh = "(?:" + Dh + "(?:" + [Wo, Qo, qo].join("|") + ")" + Ko + Yo + ")*", Bh = Ko + Yo + Lh, Fh = "(?:" + [Wo + Ze + "?", Ze, Qo, qo, Rh].join("|") + ")", Uh = RegExp(tr + "(?=" + tr + ")|" + Fh + Bh, "g");
3156
3156
  function kh(t) {
3157
3157
  return t.match(Uh) || [];
3158
3158
  }
3159
3159
  function Gh(t) {
3160
- return zo(t) ? kh(t) : Nh(t);
3160
+ return Ho(t) ? kh(t) : Nh(t);
3161
3161
  }
3162
3162
  function Vh(t) {
3163
3163
  return function(e) {
3164
- e = ko(e);
3165
- var r = zo(e) ? Gh(e) : void 0, n = r ? r[0] : e.charAt(0), o = r ? bh(r, 1).join("") : e.slice(1);
3164
+ e = Go(e);
3165
+ var r = Ho(e) ? Gh(e) : void 0, n = r ? r[0] : e.charAt(0), o = r ? bh(r, 1).join("") : e.slice(1);
3166
3166
  return n[t]() + o;
3167
3167
  };
3168
3168
  }
3169
3169
  var zh = Vh("toUpperCase");
3170
3170
  const Hh = zh;
3171
3171
  function Jh(t) {
3172
- return Hh(ko(t).toLowerCase());
3172
+ return Hh(Go(t).toLowerCase());
3173
3173
  }
3174
3174
  function Wh() {
3175
3175
  this.__data__ = new rt(), this.size = 0;
@@ -3189,7 +3189,7 @@ function Xh(t, e) {
3189
3189
  var r = this.__data__;
3190
3190
  if (r instanceof rt) {
3191
3191
  var n = r.__data__;
3192
- if (!Uo || n.length < Kh - 1)
3192
+ if (!ko || n.length < Kh - 1)
3193
3193
  return n.push([t, e]), this.size = ++r.size, this;
3194
3194
  r = this.__data__ = new It(n);
3195
3195
  }
@@ -3204,7 +3204,7 @@ Dt.prototype.delete = Qh;
3204
3204
  Dt.prototype.get = qh;
3205
3205
  Dt.prototype.has = Yh;
3206
3206
  Dt.prototype.set = Xh;
3207
- var Ko = typeof exports == "object" && exports && !exports.nodeType && exports, xn = Ko && typeof module == "object" && module && !module.nodeType && module, Zh = xn && xn.exports === Ko, Tn = Zh ? Pt.Buffer : void 0, Mn = Tn ? Tn.allocUnsafe : void 0;
3207
+ var Xo = typeof exports == "object" && exports && !exports.nodeType && exports, xn = Xo && typeof module == "object" && module && !module.nodeType && module, Zh = xn && xn.exports === Xo, Tn = Zh ? Pt.Buffer : void 0, Mn = Tn ? Tn.allocUnsafe : void 0;
3208
3208
  function tm(t, e) {
3209
3209
  if (e)
3210
3210
  return t.slice();
@@ -3222,7 +3222,7 @@ function nm(t, e) {
3222
3222
  return new t.constructor(r, t.byteOffset, t.length);
3223
3223
  }
3224
3224
  function om(t) {
3225
- return typeof t.constructor == "function" && !Po(t) ? Op(Go(t)) : {};
3225
+ return typeof t.constructor == "function" && !Ro(t) ? Op(Vo(t)) : {};
3226
3226
  }
3227
3227
  function am(t) {
3228
3228
  return function(e, r, n) {
@@ -3247,7 +3247,7 @@ function rr(t, e) {
3247
3247
  return t[e];
3248
3248
  }
3249
3249
  function um(t) {
3250
- return kp(t, Fo(t));
3250
+ return kp(t, Uo(t));
3251
3251
  }
3252
3252
  function lm(t, e, r, n, o, a, i) {
3253
3253
  var s = rr(t, r), c = rr(e, r), u = i.get(c);
@@ -3257,23 +3257,23 @@ function lm(t, e, r, n, o, a, i) {
3257
3257
  }
3258
3258
  var f = a ? a(s, c, r + "", t, e, i) : void 0, p = f === void 0;
3259
3259
  if (p) {
3260
- var l = $t(c), d = !l && Do(c), h = !l && !d && Bo(c);
3260
+ var l = $t(c), d = !l && Lo(c), h = !l && !d && Fo(c);
3261
3261
  f = c, l || d || h ? $t(s) ? f = s : cm(s) ? f = Cp(s) : d ? (p = !1, f = tm(c, !0)) : h ? (p = !1, f = nm(c, !0)) : f = [] : Et(c) || Xe(c) ? (f = s, Xe(s) ? f = um(s) : (!gt(s) || Ar(s)) && (f = om(c))) : p = !1;
3262
3262
  }
3263
3263
  p && (i.set(c, f), o(f, c, n, a, i), i.delete(c)), er(t, r, f);
3264
3264
  }
3265
- function Xo(t, e, r, n, o) {
3265
+ function Zo(t, e, r, n, o) {
3266
3266
  t !== e && im(e, function(a, i) {
3267
3267
  if (o || (o = new Dt()), gt(a))
3268
- lm(t, e, i, r, Xo, n, o);
3268
+ lm(t, e, i, r, Zo, n, o);
3269
3269
  else {
3270
3270
  var s = n ? n(rr(t, i), a, i + "", t, e, o) : void 0;
3271
3271
  s === void 0 && (s = a), er(t, i, s);
3272
3272
  }
3273
- }, Fo);
3273
+ }, Uo);
3274
3274
  }
3275
3275
  var fm = Jp(function(t, e, r) {
3276
- Xo(t, e, r);
3276
+ Zo(t, e, r);
3277
3277
  });
3278
3278
  const pm = fm, tv = function(t) {
3279
3279
  return !(!t || typeof t != "function" || !t.prototype);
@@ -3288,9 +3288,9 @@ function hm(t) {
3288
3288
  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;
3289
3289
  }
3290
3290
  function mm(t) {
3291
- class e extends la {
3291
+ class e extends fa {
3292
3292
  render() {
3293
- return fa(t, this.props);
3293
+ return pa(t, this.props);
3294
3294
  }
3295
3295
  }
3296
3296
  return e.displayName = t.displayName, e;
@@ -3370,12 +3370,12 @@ return $$_run_$$();
3370
3370
  const a = n.exec(t);
3371
3371
  a != null && a.length && r.push(a[1]);
3372
3372
  }), r;
3373
- }, Zo = (t, e) => {
3373
+ }, ta = (t, e) => {
3374
3374
  const r = {};
3375
3375
  return e.forEach((n) => {
3376
3376
  t[n.name] && (r[n.name] = t[n.name]);
3377
3377
  }), r;
3378
- }, ov = (t, e) => Zo(t, e), av = (t, e) => Zo(t, e), Fe = (t) => {
3378
+ }, ov = (t, e) => ta(t, e), av = (t, e) => ta(t, e), Fe = (t) => {
3379
3379
  var r;
3380
3380
  return ((r = t.value.css) == null ? void 0 : r.class) || `c_${t.id}`;
3381
3381
  }, ym = (t, e) => {
@@ -3779,14 +3779,14 @@ class Om {
3779
3779
  l
3780
3780
  ), q = n.transformProps(f, {
3781
3781
  $$context: Ft
3782
- }), aa = ((Dr = r.value.classNames) == null ? void 0 : Dr.map((H) => {
3782
+ }), sa = ((Dr = r.value.classNames) == null ? void 0 : Dr.map((H) => {
3783
3783
  var ie;
3784
3784
  const Ut = H.name;
3785
3785
  return (ct(H.status) ? bt(String(((ie = H.status) == null ? void 0 : ie.value) || ""), Ft) : !1) ? Ut : "";
3786
3786
  })) || [];
3787
- let Ne = `${q.className ?? ""} ${aa.join(" ")}`.trim();
3787
+ let Ne = `${q.className ?? ""} ${sa.join(" ")}`.trim();
3788
3788
  r.value.css && (Ne = `${Fe(r)} ${Ne}`.trim()), q.className = Ne;
3789
- const sa = n.transformProps(
3789
+ const ia = n.transformProps(
3790
3790
  {
3791
3791
  style: r.value.style
3792
3792
  },
@@ -3794,7 +3794,7 @@ class Om {
3794
3794
  $$context: Ft
3795
3795
  }
3796
3796
  );
3797
- r.value.style && (q.style = Rn(sa.style || []));
3797
+ r.value.style && (q.style = Rn(ia.style || []));
3798
3798
  const { children: se } = q;
3799
3799
  let xe = [];
3800
3800
  if (se !== void 0)
@@ -3802,11 +3802,11 @@ class Om {
3802
3802
  else {
3803
3803
  const H = [];
3804
3804
  r.value.children.forEach((Lr, ie) => {
3805
- const ia = n.buildComponent(Lr, {
3805
+ const ca = n.buildComponent(Lr, {
3806
3806
  $$context: Ft,
3807
3807
  idx: ie
3808
3808
  });
3809
- H.push(ia);
3809
+ H.push(ca);
3810
3810
  }), xe = H;
3811
3811
  }
3812
3812
  if (q.key = `${q.key}-${Bt}`, ct(b.key)) {
@@ -4062,7 +4062,7 @@ var Cm = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
4062
4062
  function $m(t) {
4063
4063
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
4064
4064
  }
4065
- var ta = { exports: {} }, Ce = {};
4065
+ var ea = { exports: {} }, Ce = {};
4066
4066
  /**
4067
4067
  * @license React
4068
4068
  * react-jsx-runtime.production.min.js
@@ -4073,7 +4073,7 @@ var ta = { exports: {} }, Ce = {};
4073
4073
  * LICENSE file in the root directory of this source tree.
4074
4074
  */
4075
4075
  var Em = O, Nm = Symbol.for("react.element"), xm = Symbol.for("react.fragment"), Tm = Object.prototype.hasOwnProperty, Mm = Em.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, Am = { key: !0, ref: !0, __self: !0, __source: !0 };
4076
- function ea(t, e, r) {
4076
+ function ra(t, e, r) {
4077
4077
  var n, o = {}, a = null, i = null;
4078
4078
  r !== void 0 && (a = "" + r), e.key !== void 0 && (a = "" + e.key), e.ref !== void 0 && (i = e.ref);
4079
4079
  for (n in e)
@@ -4084,10 +4084,10 @@ function ea(t, e, r) {
4084
4084
  return { $$typeof: Nm, type: t, key: a, ref: i, props: o, _owner: Mm.current };
4085
4085
  }
4086
4086
  Ce.Fragment = xm;
4087
- Ce.jsx = ea;
4088
- Ce.jsxs = ea;
4089
- ta.exports = Ce;
4090
- var Pm = ta.exports;
4087
+ Ce.jsx = ra;
4088
+ Ce.jsxs = ra;
4089
+ ea.exports = Ce;
4090
+ var Pm = ea.exports;
4091
4091
  const Rm = Pm.jsx, nt = (t) => {
4092
4092
  const e = {};
4093
4093
  return t.forEach((r) => {
@@ -4254,7 +4254,7 @@ class Wm extends O.Component {
4254
4254
  this.setState({
4255
4255
  pageModel: r
4256
4256
  });
4257
- else if (Et(r) && $o(r)) {
4257
+ else if (Et(r) && Eo(r)) {
4258
4258
  const n = r;
4259
4259
  this.setState({
4260
4260
  pageModel: new de(n, {
@@ -4300,12 +4300,12 @@ class Wm extends O.Component {
4300
4300
  }
4301
4301
  const iv = () => {
4302
4302
  const t = Bn(null);
4303
- return {
4303
+ return Fn(() => ({
4304
4304
  ref: t,
4305
- rerender: function(...e) {
4306
- t.current && t.current.rerender(...e);
4305
+ rerender: function(...r) {
4306
+ t.current && t.current.rerender(...r);
4307
4307
  }
4308
- };
4308
+ }), []);
4309
4309
  };
4310
4310
  class Qm extends O.Component {
4311
4311
  constructor(r) {
@@ -4398,7 +4398,7 @@ class qm {
4398
4398
  }
4399
4399
  }
4400
4400
  const Ym = (t) => {
4401
- const { node: e } = t, r = pa(() => {
4401
+ const { node: e } = t, r = Fn(() => {
4402
4402
  const s = e.isContainer();
4403
4403
  return Et(s) ? s : {
4404
4404
  placeholder: "Drag the component to place it",
@@ -4523,10 +4523,10 @@ class cv extends O.Component {
4523
4523
  return n !== void 0 && (o = o.filter((a) => n === (a == null ? void 0 : a._UNIQUE_ID))), o;
4524
4524
  }
4525
4525
  getInstanceByDom(r) {
4526
- const n = ra(r);
4526
+ const n = na(r);
4527
4527
  if (!n)
4528
4528
  return null;
4529
- const o = na(n);
4529
+ const o = oa(n);
4530
4530
  return (o == null ? void 0 : o.stateNode) || null;
4531
4531
  }
4532
4532
  getDomsById(r, n) {
@@ -4594,14 +4594,14 @@ class cv extends O.Component {
4594
4594
  });
4595
4595
  }
4596
4596
  }
4597
- const ra = (t) => {
4597
+ const na = (t) => {
4598
4598
  if (!t)
4599
4599
  return null;
4600
4600
  const e = Object.keys(t).find((r) => r.startsWith("__reactInternalInstance$") || r.startsWith("__reactFiber$")) || "";
4601
- return e ? t[e] : ra(t.parentElement);
4602
- }, na = (t) => {
4601
+ return e ? t[e] : na(t.parentElement);
4602
+ }, oa = (t) => {
4603
4603
  var e;
4604
- return t ? (e = t == null ? void 0 : t.stateNode) != null && e._DESIGN_BOX ? t : na(t.return) : null;
4604
+ return t ? (e = t == null ? void 0 : t.stateNode) != null && e._DESIGN_BOX ? t : oa(t.return) : null;
4605
4605
  }, uv = () => {
4606
4606
  const t = Bn(null);
4607
4607
  return {
@@ -4627,7 +4627,7 @@ const ra = (t) => {
4627
4627
  }
4628
4628
  };
4629
4629
  };
4630
- var oa = { exports: {} };
4630
+ var aa = { exports: {} };
4631
4631
  (function(t, e) {
4632
4632
  (function(r, n) {
4633
4633
  t.exports = n();
@@ -4727,8 +4727,8 @@ var oa = { exports: {} };
4727
4727
  return d in n;
4728
4728
  }, p;
4729
4729
  });
4730
- })(oa);
4731
- var Km = oa.exports;
4730
+ })(aa);
4731
+ var Km = aa.exports;
4732
4732
  const Dn = /* @__PURE__ */ $m(Km);
4733
4733
  class lv {
4734
4734
  constructor(e, r) {