@billgangcom/theme-lib 1.123.4 → 1.123.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/dist/{builder-CuCcIZjx.cjs → builder--8Ry7cQ4.cjs} +2 -2
  2. package/dist/{builder-Vw17cIvh.js → builder-DJQh1c1e.js} +15 -15
  3. package/dist/{builder-components-D8fl8nFz.cjs → builder-components-Bgg9F62l.cjs} +2 -2
  4. package/dist/{builder-components-CqsarjiD.js → builder-components-CpOz_SUG.js} +299 -290
  5. package/dist/builder.cjs.js +1 -1
  6. package/dist/builder.es.js +30 -30
  7. package/dist/{charge-D2IfRJ1B.cjs → charge-DywF6LWF.cjs} +1 -1
  8. package/dist/{charge-BxH20YHb.js → charge-z48cLi-k.js} +6 -6
  9. package/dist/{checkout-l_9O3JXV.cjs → checkout-DTwC9CX7.cjs} +1 -1
  10. package/dist/{checkout-BmEdO4pB.js → checkout-M3jKk4q6.js} +5 -5
  11. package/dist/exports.cjs.js +1 -1
  12. package/dist/exports.es.js +6 -6
  13. package/dist/{index-CWkTgTiA.cjs → index-9XqQn8Cq.cjs} +1 -1
  14. package/dist/{index-Bxzx1T1Y.cjs → index-BSrpJXEj.cjs} +1 -1
  15. package/dist/{index-BdggtqWP.js → index-BTjeATna.js} +3 -3
  16. package/dist/{index-DOMIQhcU.cjs → index-Bidor65E.cjs} +1 -1
  17. package/dist/{index-VcBR0LYA.js → index-CElp6y2B.js} +12 -12
  18. package/dist/{index-C9m6xbNq.js → index-CYANU9EG.js} +5 -5
  19. package/dist/{index-Lx5YZc2J.js → index-CcM2U332.js} +2 -2
  20. package/dist/{index-pPt21AZn.js → index-CloS3B1y.js} +5 -5
  21. package/dist/{index-Cz9vjw2u.cjs → index-D9rOdRq1.cjs} +1 -1
  22. package/dist/{index-uCRD-Te9.cjs → index-DD71JxVQ.cjs} +1 -1
  23. package/dist/{index-3cVWcT47.js → index-DHPgQ7DA.js} +5 -5
  24. package/dist/{index-pGpGZ-zG.cjs → index-DO-nVcAG.cjs} +1 -1
  25. package/dist/index.cjs.js +1 -1
  26. package/dist/index.es.js +6 -6
  27. package/dist/{order-gdnIl9fl.cjs → order-2fi-ASUJ.cjs} +1 -1
  28. package/dist/{order-CfWBV151.js → order-P0fQ9MtH.js} +17 -17
  29. package/dist/src/builder/components/SidebarTheme/index.d.ts +1 -4
  30. package/dist/src/ui/ItemsSettings/popup.d.ts +6 -1
  31. package/dist/style.css +1 -1
  32. package/dist/{subscription-CKzWjY6c.cjs → subscription-BXILybzC.cjs} +1 -1
  33. package/dist/{subscription-DvtuQ1Gv.js → subscription-S3Q0J-LT.js} +7 -7
  34. package/dist/{ticket-DsTC46Fo.js → ticket-CF6WDvC5.js} +5 -5
  35. package/dist/{ticket-ZqwqBmci.cjs → ticket-D67XjuXI.cjs} +1 -1
  36. package/dist/{top-up-BV-1a3uD.cjs → top-up-Cl5gOjYY.cjs} +1 -1
  37. package/dist/{top-up-DYFlVzcS.js → top-up-DkwIdCFZ.js} +5 -5
  38. package/dist/{ui-components-C-CMo5C7.js → ui-components-CNP0TL7h.js} +304 -289
  39. package/dist/ui-components-DnpGt0Lr.cjs +1 -0
  40. package/dist/ui.cjs.js +1 -1
  41. package/dist/ui.es.js +1 -1
  42. package/dist/{validation-DKeEzJKR.js → validation-C8mTX1VQ.js} +8 -8
  43. package/dist/{validation-DOgf6jMh.cjs → validation-CFXeO04y.cjs} +1 -1
  44. package/package.json +1 -1
  45. package/dist/ui-components-C4tsxCG_.cjs +0 -1
@@ -1,11 +1,11 @@
1
1
  import { jsxs as w, jsx as c, Fragment as Pe } from "react/jsx-runtime";
2
- import A, { useLayoutEffect as Tr, useEffect as U, useRef as V, useMemo as H, useCallback as te, useState as he, memo as Mr, useReducer as Rr, createContext as Lt, useContext as nt } from "react";
3
- import { u as ne, a as qe, b as J, c as se, d as Po, e as Vn, f as B, v as tn, T as vt, g as Or, h as Kn, i as Fe, j as Lo, r as Fo, k as dn, l as Bt, m as X, n as zo, L as ot, o as Gn, p as rt, q as $r, s as Yn, t as tt, w as hn, x as Rt, y as jo, A as Pr, S as Lr, C as Fr, z as ft, B as zr, D as Be, E as Ft, R as _n, F as yn, G as Ho, H as nn, I as we, P as go, J as jr, K as Hr } from "./builder-Vw17cIvh.js";
4
- import { I as R, u as Wr, B as Xe, E as on, c as ue, S as Ce, d as Tn, T as Ur } from "./ui-components-C-CMo5C7.js";
2
+ import A, { useLayoutEffect as Mr, useEffect as U, useRef as V, useMemo as H, useCallback as te, useState as he, memo as Rr, useReducer as Or, createContext as Lt, useContext as nt } from "react";
3
+ import { u as ne, a as qe, b as J, c as se, d as Po, e as Vn, f as E, v as tn, T as vt, g as $r, h as Kn, i as Fe, j as Lo, r as Fo, k as dn, l as Et, m as X, n as zo, L as ot, o as Gn, p as rt, q as Pr, s as Yn, t as tt, w as hn, x as Rt, y as jo, A as Lr, S as Fr, C as zr, z as Ho, B as ft, D as jr, E as Ee, F as Ft, R as _n, G as yn, H as Wo, I as nn, J as we, P as go, K as Hr } from "./builder-DJQh1c1e.js";
4
+ import { I as R, u as Wr, B as Xe, E as on, c as ue, S as Ce, d as Tn, T as Ur } from "./ui-components-CNP0TL7h.js";
5
5
  import { unstable_batchedUpdates as Kt, createPortal as Vr } from "react-dom";
6
- import "./charge-BxH20YHb.js";
7
- import "./ticket-DsTC46Fo.js";
8
- const Xn = ({ render: e, block: t }) => e(t), Wo = ({ settings: e, pageContext: t }) => {
6
+ import "./charge-z48cLi-k.js";
7
+ import "./ticket-CF6WDvC5.js";
8
+ const Xn = ({ render: e, block: t }) => e(t), Uo = ({ settings: e, pageContext: t }) => {
9
9
  const { footer: n } = ne(), { settings: o } = qe(), { pageContext: r } = J(), { footer: s } = se();
10
10
  if (!s || !n) return null;
11
11
  const i = new s();
@@ -15,7 +15,7 @@ const Xn = ({ render: e, block: t }) => e(t), Wo = ({ settings: e, pageContext:
15
15
  (e == null ? void 0 : e.blockSettings) || o,
16
16
  t || r
17
17
  );
18
- }, Uo = ({ settings: e, pageContext: t }) => {
18
+ }, Vo = ({ settings: e, pageContext: t }) => {
19
19
  const { header: n } = ne(), { settings: o } = qe(), { pageContext: r } = J(), { header: s } = se();
20
20
  if (!s || !n) return null;
21
21
  const i = new s();
@@ -25,7 +25,7 @@ const Xn = ({ render: e, block: t }) => e(t), Wo = ({ settings: e, pageContext:
25
25
  (e == null ? void 0 : e.blockSettings) || o,
26
26
  t || r
27
27
  );
28
- }, Vo = ({
28
+ }, Ko = ({
29
29
  settings: e,
30
30
  pageContext: t
31
31
  }) => {
@@ -40,10 +40,10 @@ const Xn = ({ render: e, block: t }) => e(t), Wo = ({ settings: e, pageContext:
40
40
  );
41
41
  }, Rd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
42
42
  __proto__: null,
43
- RenderAnnouncement: Vo,
43
+ RenderAnnouncement: Ko,
44
44
  RenderBlock: Xn,
45
- RenderFooter: Wo,
46
- RenderHeader: Uo
45
+ RenderFooter: Uo,
46
+ RenderHeader: Vo
47
47
  }, Symbol.toStringTag, { value: "Module" }));
48
48
  function Kr() {
49
49
  for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
@@ -78,13 +78,13 @@ function Jn(e) {
78
78
  function zt(e) {
79
79
  return mt(e) ? !1 : e instanceof ie(e).HTMLElement;
80
80
  }
81
- function Ko(e) {
81
+ function Go(e) {
82
82
  return e instanceof ie(e).SVGElement;
83
83
  }
84
84
  function bt(e) {
85
- return e ? mt(e) ? e.document : qn(e) ? Jn(e) ? e : zt(e) || Ko(e) ? e.ownerDocument : document : document : document;
85
+ return e ? mt(e) ? e.document : qn(e) ? Jn(e) ? e : zt(e) || Go(e) ? e.ownerDocument : document : document : document;
86
86
  }
87
- const Te = fn ? Tr : U;
87
+ const Te = fn ? Mr : U;
88
88
  function Qn(e) {
89
89
  const t = V(e);
90
90
  return Te(() => {
@@ -146,7 +146,7 @@ function Ht(e, t) {
146
146
  return wn[e] = n, e + "-" + n;
147
147
  }, [e, t]);
148
148
  }
149
- function Go(e) {
149
+ function Yo(e) {
150
150
  return function(t) {
151
151
  for (var n = arguments.length, o = new Array(n > 1 ? n - 1 : 0), r = 1; r < n; r++)
152
152
  o[r - 1] = arguments[r];
@@ -162,7 +162,7 @@ function Go(e) {
162
162
  });
163
163
  };
164
164
  }
165
- const pt = /* @__PURE__ */ Go(1), sn = /* @__PURE__ */ Go(-1);
165
+ const pt = /* @__PURE__ */ Yo(1), sn = /* @__PURE__ */ Yo(-1);
166
166
  function Yr(e) {
167
167
  return "clientX" in e && "clientY" in e;
168
168
  }
@@ -302,9 +302,9 @@ function es() {
302
302
  announcement: e
303
303
  };
304
304
  }
305
- const Yo = /* @__PURE__ */ Lt(null);
305
+ const Xo = /* @__PURE__ */ Lt(null);
306
306
  function ts(e) {
307
- const t = nt(Yo);
307
+ const t = nt(Xo);
308
308
  U(() => {
309
309
  if (!t)
310
310
  throw new Error("useDndMonitor must be used within a children of <DndContext>");
@@ -517,7 +517,7 @@ function hs(e, t, n) {
517
517
  scaleY: t && n ? t.height / n.height : 1
518
518
  };
519
519
  }
520
- function Xo(e, t) {
520
+ function qo(e, t) {
521
521
  return e && t ? {
522
522
  x: e.left - t.left,
523
523
  y: e.top - t.top
@@ -642,44 +642,44 @@ function eo(e, t) {
642
642
  return n;
643
643
  if (Jn(r) && r.scrollingElement != null && !n.includes(r.scrollingElement))
644
644
  return n.push(r.scrollingElement), n;
645
- if (!zt(r) || Ko(r) || n.includes(r))
645
+ if (!zt(r) || Go(r) || n.includes(r))
646
646
  return n;
647
647
  const s = ie(e).getComputedStyle(r);
648
648
  return r !== e && ys(r, s) && n.push(r), _s(r, s) ? n : o(r.parentNode);
649
649
  }
650
650
  return e ? o(e) : n;
651
651
  }
652
- function qo(e) {
652
+ function Jo(e) {
653
653
  const [t] = eo(e, 1);
654
654
  return t ?? null;
655
655
  }
656
656
  function Cn(e) {
657
657
  return !fn || !e ? null : mt(e) ? e : qn(e) ? Jn(e) || e === bt(e).scrollingElement ? window : zt(e) ? e : null : null;
658
658
  }
659
- function Jo(e) {
659
+ function Qo(e) {
660
660
  return mt(e) ? e.scrollX : e.scrollLeft;
661
661
  }
662
- function Qo(e) {
662
+ function Zo(e) {
663
663
  return mt(e) ? e.scrollY : e.scrollTop;
664
664
  }
665
665
  function On(e) {
666
666
  return {
667
- x: Jo(e),
668
- y: Qo(e)
667
+ x: Qo(e),
668
+ y: Zo(e)
669
669
  };
670
670
  }
671
671
  var Y;
672
672
  (function(e) {
673
673
  e[e.Forward = 1] = "Forward", e[e.Backward = -1] = "Backward";
674
674
  })(Y || (Y = {}));
675
- function Zo(e) {
675
+ function er(e) {
676
676
  return !fn || !e ? !1 : e === document.scrollingElement;
677
677
  }
678
- function er(e) {
678
+ function tr(e) {
679
679
  const t = {
680
680
  x: 0,
681
681
  y: 0
682
- }, n = Zo(e) ? {
682
+ }, n = er(e) ? {
683
683
  height: window.innerHeight,
684
684
  width: window.innerWidth
685
685
  } : {
@@ -715,7 +715,7 @@ function Cs(e, t, n, o, r) {
715
715
  isBottom: u,
716
716
  isLeft: f,
717
717
  isRight: p
718
- } = er(e), g = {
718
+ } = tr(e), g = {
719
719
  x: 0,
720
720
  y: 0
721
721
  }, y = {
@@ -760,14 +760,14 @@ function Ss(e) {
760
760
  height: e.clientHeight
761
761
  };
762
762
  }
763
- function tr(e) {
763
+ function nr(e) {
764
764
  return e.reduce((t, n) => pt(t, On(n)), Se);
765
765
  }
766
766
  function xs(e) {
767
- return e.reduce((t, n) => t + Jo(n), 0);
767
+ return e.reduce((t, n) => t + Qo(n), 0);
768
768
  }
769
769
  function ks(e) {
770
- return e.reduce((t, n) => t + Qo(n), 0);
770
+ return e.reduce((t, n) => t + Zo(n), 0);
771
771
  }
772
772
  function As(e, t) {
773
773
  if (t === void 0 && (t = _t), !e)
@@ -778,7 +778,7 @@ function As(e, t) {
778
778
  bottom: r,
779
779
  right: s
780
780
  } = t(e);
781
- qo(e) && (r <= 0 || s <= 0 || n >= window.innerHeight || o >= window.innerWidth) && e.scrollIntoView({
781
+ Jo(e) && (r <= 0 || s <= 0 || n >= window.innerHeight || o >= window.innerWidth) && e.scrollIntoView({
782
782
  block: "center",
783
783
  inline: "center"
784
784
  });
@@ -787,7 +787,7 @@ const Ns = [["x", ["left", "right"], xs], ["y", ["top", "bottom"], ks]];
787
787
  class to {
788
788
  constructor(t, n) {
789
789
  this.rect = void 0, this.width = void 0, this.height = void 0, this.top = void 0, this.bottom = void 0, this.right = void 0, this.left = void 0;
790
- const o = eo(n), r = tr(o);
790
+ const o = eo(n), r = nr(o);
791
791
  this.rect = {
792
792
  ...t
793
793
  }, this.width = t.width, this.height = t.height;
@@ -836,18 +836,18 @@ var pe;
836
836
  function mo(e) {
837
837
  e.preventDefault();
838
838
  }
839
- function Es(e) {
839
+ function Bs(e) {
840
840
  e.stopPropagation();
841
841
  }
842
842
  var L;
843
843
  (function(e) {
844
844
  e.Space = "Space", e.Down = "ArrowDown", e.Right = "ArrowRight", e.Left = "ArrowLeft", e.Up = "ArrowUp", e.Esc = "Escape", e.Enter = "Enter", e.Tab = "Tab";
845
845
  })(L || (L = {}));
846
- const nr = {
846
+ const or = {
847
847
  start: [L.Space, L.Enter],
848
848
  cancel: [L.Esc],
849
849
  end: [L.Space, L.Enter, L.Tab]
850
- }, Bs = (e, t) => {
850
+ }, Es = (e, t) => {
851
851
  let {
852
852
  currentCoordinates: n
853
853
  } = t;
@@ -874,7 +874,7 @@ const nr = {
874
874
  };
875
875
  }
876
876
  };
877
- class or {
877
+ class rr {
878
878
  constructor(t) {
879
879
  this.props = void 0, this.autoScrollEnabled = !1, this.referenceCoordinates = void 0, this.listeners = void 0, this.windowListeners = void 0, this.props = t;
880
880
  const {
@@ -901,8 +901,8 @@ class or {
901
901
  context: o,
902
902
  options: r
903
903
  } = this.props, {
904
- keyboardCodes: s = nr,
905
- coordinateGetter: i = Bs,
904
+ keyboardCodes: s = or,
905
+ coordinateGetter: i = Es,
906
906
  scrollBehavior: a = "smooth"
907
907
  } = r, {
908
908
  code: l
@@ -942,7 +942,7 @@ class or {
942
942
  isBottom: k,
943
943
  maxScroll: x,
944
944
  minScroll: S
945
- } = er(h), _ = Ss(h), N = {
945
+ } = tr(h), _ = Ss(h), N = {
946
946
  x: Math.min(m === L.Right ? _.right - _.width / 2 : _.right, Math.max(m === L.Right ? _.left : _.left + _.width / 2, f.x)),
947
947
  y: Math.min(m === L.Down ? _.bottom - _.height / 2 : _.bottom, Math.max(m === L.Down ? _.top : _.top + _.height / 2, f.y))
948
948
  }, O = m === L.Right && !C || m === L.Left && !v, z = m === L.Down && !k || m === L.Up && !b;
@@ -1002,11 +1002,11 @@ class or {
1002
1002
  this.listeners.removeAll(), this.windowListeners.removeAll();
1003
1003
  }
1004
1004
  }
1005
- or.activators = [{
1005
+ rr.activators = [{
1006
1006
  eventName: "onKeyDown",
1007
1007
  handler: (e, t, n) => {
1008
1008
  let {
1009
- keyboardCodes: o = nr,
1009
+ keyboardCodes: o = or,
1010
1010
  onActivation: r
1011
1011
  } = t, {
1012
1012
  active: s
@@ -1086,7 +1086,7 @@ class no {
1086
1086
  } = this, {
1087
1087
  onStart: n
1088
1088
  } = this.props;
1089
- t && (this.activated = !0, this.documentListeners.add(pe.Click, Es, {
1089
+ t && (this.activated = !0, this.documentListeners.add(pe.Click, Bs, {
1090
1090
  capture: !0
1091
1091
  }), this.removeTextSelection(), this.documentListeners.add(pe.SelectionChange, this.removeTextSelection), n(t));
1092
1092
  }
@@ -1479,11 +1479,11 @@ function zs(e, t) {
1479
1479
  }
1480
1480
  }
1481
1481
  }
1482
- function rr(e, t) {
1482
+ function sr(e, t) {
1483
1483
  return jt((n) => e ? n || (typeof t == "function" ? t(e) : e) : null, [t, e]);
1484
1484
  }
1485
1485
  function js(e, t) {
1486
- return rr(e, t);
1486
+ return sr(e, t);
1487
1487
  }
1488
1488
  function Hs(e) {
1489
1489
  let {
@@ -1562,8 +1562,8 @@ function wo(e, t, n) {
1562
1562
  }, [e]), o;
1563
1563
  }
1564
1564
  function Us(e) {
1565
- const t = rr(e);
1566
- return Xo(e, t);
1565
+ const t = sr(e);
1566
+ return qo(e, t);
1567
1567
  }
1568
1568
  const Co = [];
1569
1569
  function Vs(e) {
@@ -1598,7 +1598,7 @@ function Ks(e) {
1598
1598
  d == null || d.removeEventListener("scroll", r);
1599
1599
  });
1600
1600
  }
1601
- }, [r, e]), H(() => e.length ? t ? Array.from(t.values()).reduce((s, i) => pt(s, i), Se) : tr(e) : Se, [e, t]);
1601
+ }, [r, e]), H(() => e.length ? t ? Array.from(t.values()).reduce((s, i) => pt(s, i), Se) : nr(e) : Se, [e, t]);
1602
1602
  }
1603
1603
  function So(e, t) {
1604
1604
  t === void 0 && (t = []);
@@ -1651,15 +1651,15 @@ function Ys(e, t) {
1651
1651
  }, n;
1652
1652
  }, {}), [e, t]);
1653
1653
  }
1654
- function sr(e) {
1654
+ function ir(e) {
1655
1655
  return H(() => e ? bs(e) : null, [e]);
1656
1656
  }
1657
1657
  const xo = [];
1658
1658
  function Xs(e, t) {
1659
1659
  t === void 0 && (t = _t);
1660
- const [n] = e, o = sr(n ? ie(n) : null), [r, s] = he(xo);
1660
+ const [n] = e, o = ir(n ? ie(n) : null), [r, s] = he(xo);
1661
1661
  function i() {
1662
- s(() => e.length ? e.map((l) => Zo(l) ? o : new to(t(l), l)) : xo);
1662
+ s(() => e.length ? e.map((l) => er(l) ? o : new to(t(l), l)) : xo);
1663
1663
  }
1664
1664
  const a = gn({
1665
1665
  callback: i
@@ -1711,7 +1711,7 @@ const Qs = [{
1711
1711
  sensor: oo,
1712
1712
  options: {}
1713
1713
  }, {
1714
- sensor: or,
1714
+ sensor: rr,
1715
1715
  options: {}
1716
1716
  }], Zs = {
1717
1717
  current: {}
@@ -1785,7 +1785,7 @@ const ei = {
1785
1785
  draggableNodes: /* @__PURE__ */ new Map(),
1786
1786
  over: null,
1787
1787
  measureDroppableContainers: an
1788
- }, pn = /* @__PURE__ */ Lt(ti), ir = /* @__PURE__ */ Lt(ei);
1788
+ }, pn = /* @__PURE__ */ Lt(ti), ar = /* @__PURE__ */ Lt(ei);
1789
1789
  function ni() {
1790
1790
  return {
1791
1791
  draggable: {
@@ -1988,9 +1988,9 @@ function ai(e) {
1988
1988
  const d = t == null ? void 0 : t.node.current;
1989
1989
  if (!d || d.isConnected === !1)
1990
1990
  return;
1991
- const u = n(d), f = Xo(u, o);
1991
+ const u = n(d), f = qo(u, o);
1992
1992
  if (i || (f.x = 0), a || (f.y = 0), s.current = !0, Math.abs(f.x) > 0 || Math.abs(f.y) > 0) {
1993
- const p = qo(d);
1993
+ const p = Jo(d);
1994
1994
  p && p.scrollBy({
1995
1995
  top: f.y,
1996
1996
  left: f.x
@@ -1998,7 +1998,7 @@ function ai(e) {
1998
1998
  }
1999
1999
  }, [t, i, a, o, n]);
2000
2000
  }
2001
- const ar = /* @__PURE__ */ Lt({
2001
+ const cr = /* @__PURE__ */ Lt({
2002
2002
  ...Se,
2003
2003
  scaleX: 1,
2004
2004
  scaleY: 1
@@ -2007,7 +2007,7 @@ var Ye;
2007
2007
  (function(e) {
2008
2008
  e[e.Uninitialized = 0] = "Uninitialized", e[e.Initializing = 1] = "Initializing", e[e.Initialized = 2] = "Initialized";
2009
2009
  })(Ye || (Ye = {}));
2010
- const ci = /* @__PURE__ */ Mr(function(t) {
2010
+ const ci = /* @__PURE__ */ Rr(function(t) {
2011
2011
  var n, o, r, s;
2012
2012
  let {
2013
2013
  id: i,
@@ -2020,7 +2020,7 @@ const ci = /* @__PURE__ */ Mr(function(t) {
2020
2020
  modifiers: g,
2021
2021
  ...y
2022
2022
  } = t;
2023
- const h = Rr(oi, void 0, ni), [m, b] = h, [C, v] = ns(), [k, x] = he(Ye.Uninitialized), S = k === Ye.Initialized, {
2023
+ const h = Or(oi, void 0, ni), [m, b] = h, [C, v] = ns(), [k, x] = he(Ye.Uninitialized), S = k === Ye.Initialized, {
2024
2024
  draggable: {
2025
2025
  active: _,
2026
2026
  nodes: N,
@@ -2048,7 +2048,7 @@ const ci = /* @__PURE__ */ Mr(function(t) {
2048
2048
  dragging: S,
2049
2049
  dependencies: [O.x, O.y],
2050
2050
  config: Q.droppable
2051
- }), F = Ls(N, _), it = H(() => I ? Rn(I) : null, [I]), je = Ir(), Me = js(F, Q.draggable.measure);
2051
+ }), F = Ls(N, _), it = H(() => I ? Rn(I) : null, [I]), je = Tr(), Me = js(F, Q.draggable.measure);
2052
2052
  ai({
2053
2053
  activeNode: _ != null ? N.get(_) : null,
2054
2054
  config: je.layoutShiftCompensation,
@@ -2071,7 +2071,7 @@ const ci = /* @__PURE__ */ Mr(function(t) {
2071
2071
  scrollAdjustedTranslate: null
2072
2072
  }), at = z.getNodeFor((n = ke.current.over) == null ? void 0 : n.id), Re = Js({
2073
2073
  measure: Q.dragOverlay.measure
2074
- }), ct = (o = Re.nodeRef.current) != null ? o : F, lt = S ? (r = Re.rect) != null ? r : j : null, so = !!(Re.nodeRef.current && Re.rect), io = Us(so ? null : j), vn = sr(ct ? ie(ct) : null), He = Vs(S ? at ?? F : null), Ut = Xs(He), Vt = si(g, {
2074
+ }), ct = (o = Re.nodeRef.current) != null ? o : F, lt = S ? (r = Re.rect) != null ? r : j : null, so = !!(Re.nodeRef.current && Re.rect), io = Us(so ? null : j), vn = ir(ct ? ie(ct) : null), He = Vs(S ? at ?? F : null), Ut = Xs(He), Vt = si(g, {
2075
2075
  transform: {
2076
2076
  x: O.x - io.x,
2077
2077
  y: O.y - io.y,
@@ -2088,13 +2088,13 @@ const ci = /* @__PURE__ */ Mr(function(t) {
2088
2088
  scrollableAncestors: He,
2089
2089
  scrollableAncestorRects: Ut,
2090
2090
  windowRect: vn
2091
- }), ao = it ? pt(it, O) : null, co = Ks(He), xr = So(co), kr = So(co, [j]), ut = pt(Vt, xr), dt = lt ? gs(lt, Vt) : null, Ct = P && dt ? f({
2091
+ }), ao = it ? pt(it, O) : null, co = Ks(He), kr = So(co), Ar = So(co, [j]), ut = pt(Vt, kr), dt = lt ? gs(lt, Vt) : null, Ct = P && dt ? f({
2092
2092
  active: P,
2093
2093
  collisionRect: dt,
2094
2094
  droppableRects: me,
2095
2095
  droppableContainers: st,
2096
2096
  pointerCoordinates: ao
2097
- }) : null, lo = ls(Ct, "id"), [We, uo] = he(null), Ar = so ? Vt : pt(Vt, kr), Nr = hs(Ar, (s = We == null ? void 0 : We.rect) != null ? s : null, j), mn = V(null), ho = te(
2097
+ }) : null, lo = ls(Ct, "id"), [We, uo] = he(null), Nr = so ? Vt : pt(Vt, Ar), Dr = hs(Nr, (s = We == null ? void 0 : We.rect) != null ? s : null, j), mn = V(null), ho = te(
2098
2098
  (Z, ae) => {
2099
2099
  let {
2100
2100
  sensor: ce,
@@ -2219,7 +2219,7 @@ const ci = /* @__PURE__ */ Mr(function(t) {
2219
2219
  },
2220
2220
  // eslint-disable-next-line react-hooks/exhaustive-deps
2221
2221
  [N]
2222
- ), Dr = te((Z, ae) => (ce, Ue) => {
2222
+ ), Br = te((Z, ae) => (ce, Ue) => {
2223
2223
  const fe = ce.nativeEvent, le = N.get(Ue);
2224
2224
  if (
2225
2225
  // Another sensor is already instantiating
@@ -2234,7 +2234,7 @@ const ci = /* @__PURE__ */ Mr(function(t) {
2234
2234
  Z(ce, ae.options, Ae) === !0 && (fe.dndKit = {
2235
2235
  capturedBy: ae.sensor
2236
2236
  }, M.current = Ue, ho(ce, ae));
2237
- }, [N, ho]), fo = Fs(u, Dr);
2237
+ }, [N, ho]), fo = Fs(u, Br);
2238
2238
  Gs(u), Te(() => {
2239
2239
  j && k === Ye.Initializing && x(Ye.Initialized);
2240
2240
  }, [j, k]), U(
@@ -2350,7 +2350,7 @@ const ci = /* @__PURE__ */ Mr(function(t) {
2350
2350
  measuringConfiguration: Q,
2351
2351
  measuringScheduled: Qe,
2352
2352
  windowRect: vn
2353
- }), [P, F, j, I, Ct, wt, Re, N, z, me, We, xe, He, Ut, Q, Qe, vn]), Br = H(() => ({
2353
+ }), [P, F, j, I, Ct, wt, Re, N, z, me, We, xe, He, Ut, Q, Qe, vn]), Ir = H(() => ({
2354
2354
  activatorEvent: I,
2355
2355
  activators: fo,
2356
2356
  active: P,
@@ -2363,21 +2363,21 @@ const ci = /* @__PURE__ */ Mr(function(t) {
2363
2363
  over: We,
2364
2364
  measureDroppableContainers: xe
2365
2365
  }), [I, fo, P, j, b, ze, N, We, xe]);
2366
- return A.createElement(Yo.Provider, {
2366
+ return A.createElement(Xo.Provider, {
2367
2367
  value: v
2368
2368
  }, A.createElement(pn.Provider, {
2369
- value: Br
2370
- }, A.createElement(ir.Provider, {
2371
- value: Er
2369
+ value: Ir
2372
2370
  }, A.createElement(ar.Provider, {
2373
- value: Nr
2371
+ value: Er
2372
+ }, A.createElement(cr.Provider, {
2373
+ value: Dr
2374
2374
  }, d)), A.createElement(ri, {
2375
2375
  disabled: (a == null ? void 0 : a.restoreFocus) === !1
2376
2376
  })), A.createElement(ss, {
2377
2377
  ...a,
2378
2378
  hiddenTextDescribedById: ze
2379
2379
  }));
2380
- function Ir() {
2380
+ function Tr() {
2381
2381
  const Z = (W == null ? void 0 : W.autoScrollEnabled) === !1, ae = typeof l == "object" ? l.enabled === !1 : l === !1, ce = S && !Z && !ae;
2382
2382
  return typeof l == "object" ? {
2383
2383
  ...l,
@@ -2406,7 +2406,7 @@ function di(e) {
2406
2406
  role: g = ko,
2407
2407
  roleDescription: y = "draggable",
2408
2408
  tabIndex: h = 0
2409
- } = r ?? {}, m = (l == null ? void 0 : l.id) === t, b = nt(m ? ar : li), [C, v] = rn(), [k, x] = rn(), S = Ys(i, t), _ = Ot(n);
2409
+ } = r ?? {}, m = (l == null ? void 0 : l.id) === t, b = nt(m ? cr : li), [C, v] = rn(), [k, x] = rn(), S = Ys(i, t), _ = Ot(n);
2410
2410
  Te(
2411
2411
  () => (f.set(t, {
2412
2412
  id: t,
@@ -2444,7 +2444,7 @@ function di(e) {
2444
2444
  };
2445
2445
  }
2446
2446
  function hi() {
2447
- return nt(ir);
2447
+ return nt(ar);
2448
2448
  }
2449
2449
  const fi = "Droppable", gi = {
2450
2450
  timeout: 25
@@ -2524,7 +2524,7 @@ function pi(e) {
2524
2524
  setNodeRef: S
2525
2525
  };
2526
2526
  }
2527
- function cr(e, t, n) {
2527
+ function lr(e, t, n) {
2528
2528
  const o = e.slice();
2529
2529
  return o.splice(n < 0 ? o.length + n : n, 0, o.splice(t, 1)[0]), o;
2530
2530
  }
@@ -2553,14 +2553,14 @@ function bi(e) {
2553
2553
  droppable: e
2554
2554
  } : e;
2555
2555
  }
2556
- const lr = (e) => {
2556
+ const ur = (e) => {
2557
2557
  let {
2558
2558
  rects: t,
2559
2559
  activeIndex: n,
2560
2560
  overIndex: o,
2561
2561
  index: r
2562
2562
  } = e;
2563
- const s = cr(t, o, n), i = t[r], a = s[r];
2563
+ const s = lr(t, o, n), i = t[r], a = s[r];
2564
2564
  return !a || !i ? null : {
2565
2565
  x: a.left - i.left,
2566
2566
  y: a.top - i.top,
@@ -2609,15 +2609,15 @@ function yi(e, t, n) {
2609
2609
  const o = e[t], r = e[t - 1], s = e[t + 1];
2610
2610
  return o ? n < t ? r ? o.top - (r.top + r.height) : s ? s.top - (o.top + o.height) : 0 : s ? s.top - (o.top + o.height) : r ? o.top - (r.top + r.height) : 0 : 0;
2611
2611
  }
2612
- const ur = "Sortable", dr = /* @__PURE__ */ A.createContext({
2612
+ const dr = "Sortable", hr = /* @__PURE__ */ A.createContext({
2613
2613
  activeIndex: -1,
2614
- containerId: ur,
2614
+ containerId: dr,
2615
2615
  disableTransforms: !1,
2616
2616
  items: [],
2617
2617
  overIndex: -1,
2618
2618
  useDragOverlay: !1,
2619
2619
  sortedRects: [],
2620
- strategy: lr,
2620
+ strategy: ur,
2621
2621
  disabled: {
2622
2622
  draggable: !1,
2623
2623
  droppable: !1
@@ -2628,7 +2628,7 @@ function wi(e) {
2628
2628
  children: t,
2629
2629
  id: n,
2630
2630
  items: o,
2631
- strategy: r = lr,
2631
+ strategy: r = ur,
2632
2632
  disabled: s = !1
2633
2633
  } = e;
2634
2634
  const {
@@ -2637,7 +2637,7 @@ function wi(e) {
2637
2637
  droppableRects: l,
2638
2638
  over: d,
2639
2639
  measureDroppableContainers: u
2640
- } = hi(), f = Ht(ur, n), p = a.rect !== null, g = H(() => o.map((S) => typeof S == "object" && "id" in S ? S.id : S), [o]), y = i != null, h = i ? g.indexOf(i.id) : -1, m = d ? g.indexOf(d.id) : -1, b = V(g), C = !mi(g, b.current), v = m !== -1 && h === -1 || C, k = bi(s);
2640
+ } = hi(), f = Ht(dr, n), p = a.rect !== null, g = H(() => o.map((S) => typeof S == "object" && "id" in S ? S.id : S), [o]), y = i != null, h = i ? g.indexOf(i.id) : -1, m = d ? g.indexOf(d.id) : -1, b = V(g), C = !mi(g, b.current), v = m !== -1 && h === -1 || C, k = bi(s);
2641
2641
  Te(() => {
2642
2642
  C && y && u(g);
2643
2643
  }, [C, g, y, u]), U(() => {
@@ -2658,7 +2658,7 @@ function wi(e) {
2658
2658
  // eslint-disable-next-line react-hooks/exhaustive-deps
2659
2659
  [h, f, k.draggable, k.droppable, v, g, m, l, p, r]
2660
2660
  );
2661
- return A.createElement(dr.Provider, {
2661
+ return A.createElement(hr.Provider, {
2662
2662
  value: x
2663
2663
  }, t);
2664
2664
  }
@@ -2669,7 +2669,7 @@ const Ci = (e) => {
2669
2669
  activeIndex: o,
2670
2670
  overIndex: r
2671
2671
  } = e;
2672
- return cr(n, o, r).indexOf(t);
2672
+ return lr(n, o, r).indexOf(t);
2673
2673
  }, Si = (e) => {
2674
2674
  let {
2675
2675
  containerId: t,
@@ -2686,8 +2686,8 @@ const Ci = (e) => {
2686
2686
  }, xi = {
2687
2687
  duration: 200,
2688
2688
  easing: "ease"
2689
- }, hr = "transform", ki = /* @__PURE__ */ $t.Transition.toString({
2690
- property: hr,
2689
+ }, fr = "transform", ki = /* @__PURE__ */ $t.Transition.toString({
2690
+ property: fr,
2691
2691
  duration: 0,
2692
2692
  easing: "linear"
2693
2693
  }), Ai = {
@@ -2743,7 +2743,7 @@ function Di(e) {
2743
2743
  overIndex: m,
2744
2744
  useDragOverlay: b,
2745
2745
  strategy: C
2746
- } = nt(dr), v = Ei(o, g), k = u.indexOf(i), x = H(() => ({
2746
+ } = nt(hr), v = Bi(o, g), k = u.indexOf(i), x = H(() => ({
2747
2747
  sortable: {
2748
2748
  containerId: f,
2749
2749
  index: k,
@@ -2863,11 +2863,11 @@ function Di(e) {
2863
2863
  if (!(xe && !Zn(T) || !d) && (Q || ke))
2864
2864
  return $t.Transition.toString({
2865
2865
  ...d,
2866
- property: hr
2866
+ property: fr
2867
2867
  });
2868
2868
  }
2869
2869
  }
2870
- function Ei(e, t) {
2870
+ function Bi(e, t) {
2871
2871
  var n, o;
2872
2872
  return typeof e == "boolean" ? {
2873
2873
  draggable: e,
@@ -2880,31 +2880,31 @@ function Ei(e, t) {
2880
2880
  }
2881
2881
  L.Down, L.Right, L.Up, L.Left;
2882
2882
  function Le(e) {
2883
- return Array.isArray ? Array.isArray(e) : pr(e) === "[object Array]";
2883
+ return Array.isArray ? Array.isArray(e) : vr(e) === "[object Array]";
2884
2884
  }
2885
- function Bi(e) {
2885
+ function Ei(e) {
2886
2886
  if (typeof e == "string")
2887
2887
  return e;
2888
2888
  let t = e + "";
2889
2889
  return t == "0" && 1 / e == -1 / 0 ? "-0" : t;
2890
2890
  }
2891
2891
  function Ii(e) {
2892
- return e == null ? "" : Bi(e);
2892
+ return e == null ? "" : Ei(e);
2893
2893
  }
2894
2894
  function Ie(e) {
2895
2895
  return typeof e == "string";
2896
2896
  }
2897
- function fr(e) {
2897
+ function gr(e) {
2898
2898
  return typeof e == "number";
2899
2899
  }
2900
2900
  function Ti(e) {
2901
- return e === !0 || e === !1 || Mi(e) && pr(e) == "[object Boolean]";
2901
+ return e === !0 || e === !1 || Mi(e) && vr(e) == "[object Boolean]";
2902
2902
  }
2903
- function gr(e) {
2903
+ function pr(e) {
2904
2904
  return typeof e == "object";
2905
2905
  }
2906
2906
  function Mi(e) {
2907
- return gr(e) && e !== null;
2907
+ return pr(e) && e !== null;
2908
2908
  }
2909
2909
  function de(e) {
2910
2910
  return e != null;
@@ -2912,7 +2912,7 @@ function de(e) {
2912
2912
  function kn(e) {
2913
2913
  return !e.trim().length;
2914
2914
  }
2915
- function pr(e) {
2915
+ function vr(e) {
2916
2916
  return e == null ? e === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(e);
2917
2917
  }
2918
2918
  const Ri = "Incorrect 'index' type", Oi = (e) => `Invalid value for key ${e}`, $i = (e) => `Pattern length exceeds max of ${e}.`, Pi = (e) => `Missing ${e} property in key`, Li = (e) => `Property 'weight' in key '${e}' must be a positive integer`, Ao = Object.prototype.hasOwnProperty;
@@ -2921,7 +2921,7 @@ class Fi {
2921
2921
  this._keys = [], this._keyMap = {};
2922
2922
  let n = 0;
2923
2923
  t.forEach((o) => {
2924
- let r = vr(o);
2924
+ let r = mr(o);
2925
2925
  this._keys.push(r), this._keyMap[r.id] = r, n += r.weight;
2926
2926
  }), this._keys.forEach((o) => {
2927
2927
  o.weight /= n;
@@ -2937,7 +2937,7 @@ class Fi {
2937
2937
  return JSON.stringify(this._keys);
2938
2938
  }
2939
2939
  }
2940
- function vr(e) {
2940
+ function mr(e) {
2941
2941
  let t = null, n = null, o = null, r = 1, s = null;
2942
2942
  if (Ie(e) || Le(e))
2943
2943
  o = e, t = No(e), n = Ln(e);
@@ -2968,7 +2968,7 @@ function zi(e, t) {
2968
2968
  const d = s[l];
2969
2969
  if (!de(d))
2970
2970
  return;
2971
- if (a === i.length - 1 && (Ie(d) || fr(d) || Ti(d)))
2971
+ if (a === i.length - 1 && (Ie(d) || gr(d) || Ti(d)))
2972
2972
  n.push(Ii(d));
2973
2973
  else if (Le(d)) {
2974
2974
  o = !0;
@@ -3032,7 +3032,7 @@ const ji = {
3032
3032
  // The weight to determine how much field length norm effects scoring.
3033
3033
  fieldNormWeight: 1
3034
3034
  };
3035
- var E = {
3035
+ var B = {
3036
3036
  ...Hi,
3037
3037
  ...ji,
3038
3038
  ...Wi,
@@ -3056,8 +3056,8 @@ function Ki(e = 1, t = 3) {
3056
3056
  }
3057
3057
  class ro {
3058
3058
  constructor({
3059
- getFn: t = E.getFn,
3060
- fieldNormWeight: n = E.fieldNormWeight
3059
+ getFn: t = B.getFn,
3060
+ fieldNormWeight: n = B.fieldNormWeight
3061
3061
  } = {}) {
3062
3062
  this.norm = Ki(n, 3), this.getFn = t, this.isCreated = !1, this.setIndexRecords();
3063
3063
  }
@@ -3149,11 +3149,11 @@ class ro {
3149
3149
  };
3150
3150
  }
3151
3151
  }
3152
- function mr(e, t, { getFn: n = E.getFn, fieldNormWeight: o = E.fieldNormWeight } = {}) {
3152
+ function br(e, t, { getFn: n = B.getFn, fieldNormWeight: o = B.fieldNormWeight } = {}) {
3153
3153
  const r = new ro({ getFn: n, fieldNormWeight: o });
3154
- return r.setKeys(e.map(vr)), r.setSources(t), r.create(), r;
3154
+ return r.setKeys(e.map(mr)), r.setSources(t), r.create(), r;
3155
3155
  }
3156
- function Gi(e, { getFn: t = E.getFn, fieldNormWeight: n = E.fieldNormWeight } = {}) {
3156
+ function Gi(e, { getFn: t = B.getFn, fieldNormWeight: n = B.fieldNormWeight } = {}) {
3157
3157
  const { keys: o, records: r } = e, s = new ro({ getFn: t, fieldNormWeight: n });
3158
3158
  return s.setKeys(o), s.setIndexRecords(r), s;
3159
3159
  }
@@ -3161,8 +3161,8 @@ function Xt(e, {
3161
3161
  errors: t = 0,
3162
3162
  currentLocation: n = 0,
3163
3163
  expectedLocation: o = 0,
3164
- distance: r = E.distance,
3165
- ignoreLocation: s = E.ignoreLocation
3164
+ distance: r = B.distance,
3165
+ ignoreLocation: s = B.ignoreLocation
3166
3166
  } = {}) {
3167
3167
  const i = t / e.length;
3168
3168
  if (s)
@@ -3170,7 +3170,7 @@ function Xt(e, {
3170
3170
  const a = Math.abs(o - n);
3171
3171
  return r ? i + a / r : a ? 1 : i;
3172
3172
  }
3173
- function Yi(e = [], t = E.minMatchCharLength) {
3173
+ function Yi(e = [], t = B.minMatchCharLength) {
3174
3174
  let n = [], o = -1, r = -1, s = 0;
3175
3175
  for (let i = e.length; s < i; s += 1) {
3176
3176
  let a = e[s];
@@ -3180,13 +3180,13 @@ function Yi(e = [], t = E.minMatchCharLength) {
3180
3180
  }
3181
3181
  const et = 32;
3182
3182
  function Xi(e, t, n, {
3183
- location: o = E.location,
3184
- distance: r = E.distance,
3185
- threshold: s = E.threshold,
3186
- findAllMatches: i = E.findAllMatches,
3187
- minMatchCharLength: a = E.minMatchCharLength,
3188
- includeMatches: l = E.includeMatches,
3189
- ignoreLocation: d = E.ignoreLocation
3183
+ location: o = B.location,
3184
+ distance: r = B.distance,
3185
+ threshold: s = B.threshold,
3186
+ findAllMatches: i = B.findAllMatches,
3187
+ minMatchCharLength: a = B.minMatchCharLength,
3188
+ includeMatches: l = B.includeMatches,
3189
+ ignoreLocation: d = B.ignoreLocation
3190
3190
  } = {}) {
3191
3191
  if (t.length > et)
3192
3192
  throw new Error($i(et));
@@ -3267,17 +3267,17 @@ function qi(e) {
3267
3267
  return t;
3268
3268
  }
3269
3269
  const ln = String.prototype.normalize ? (e) => e.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g, "") : (e) => e;
3270
- class br {
3270
+ class _r {
3271
3271
  constructor(t, {
3272
- location: n = E.location,
3273
- threshold: o = E.threshold,
3274
- distance: r = E.distance,
3275
- includeMatches: s = E.includeMatches,
3276
- findAllMatches: i = E.findAllMatches,
3277
- minMatchCharLength: a = E.minMatchCharLength,
3278
- isCaseSensitive: l = E.isCaseSensitive,
3279
- ignoreDiacritics: d = E.ignoreDiacritics,
3280
- ignoreLocation: u = E.ignoreLocation
3272
+ location: n = B.location,
3273
+ threshold: o = B.threshold,
3274
+ distance: r = B.distance,
3275
+ includeMatches: s = B.includeMatches,
3276
+ findAllMatches: i = B.findAllMatches,
3277
+ minMatchCharLength: a = B.minMatchCharLength,
3278
+ isCaseSensitive: l = B.isCaseSensitive,
3279
+ ignoreDiacritics: d = B.ignoreDiacritics,
3280
+ ignoreLocation: u = B.ignoreLocation
3281
3281
  } = {}) {
3282
3282
  if (this.options = {
3283
3283
  location: n,
@@ -3496,19 +3496,19 @@ class na extends Je {
3496
3496
  };
3497
3497
  }
3498
3498
  }
3499
- class _r extends Je {
3499
+ class yr extends Je {
3500
3500
  constructor(t, {
3501
- location: n = E.location,
3502
- threshold: o = E.threshold,
3503
- distance: r = E.distance,
3504
- includeMatches: s = E.includeMatches,
3505
- findAllMatches: i = E.findAllMatches,
3506
- minMatchCharLength: a = E.minMatchCharLength,
3507
- isCaseSensitive: l = E.isCaseSensitive,
3508
- ignoreDiacritics: d = E.ignoreDiacritics,
3509
- ignoreLocation: u = E.ignoreLocation
3501
+ location: n = B.location,
3502
+ threshold: o = B.threshold,
3503
+ distance: r = B.distance,
3504
+ includeMatches: s = B.includeMatches,
3505
+ findAllMatches: i = B.findAllMatches,
3506
+ minMatchCharLength: a = B.minMatchCharLength,
3507
+ isCaseSensitive: l = B.isCaseSensitive,
3508
+ ignoreDiacritics: d = B.ignoreDiacritics,
3509
+ ignoreLocation: u = B.ignoreLocation
3510
3510
  } = {}) {
3511
- super(t), this._bitapSearch = new br(t, {
3511
+ super(t), this._bitapSearch = new _r(t, {
3512
3512
  location: n,
3513
3513
  threshold: o,
3514
3514
  distance: r,
@@ -3533,7 +3533,7 @@ class _r extends Je {
3533
3533
  return this._bitapSearch.searchIn(t);
3534
3534
  }
3535
3535
  }
3536
- class yr extends Je {
3536
+ class wr extends Je {
3537
3537
  constructor(t) {
3538
3538
  super(t);
3539
3539
  }
@@ -3561,27 +3561,27 @@ class yr extends Je {
3561
3561
  }
3562
3562
  const Fn = [
3563
3563
  Ji,
3564
- yr,
3564
+ wr,
3565
3565
  Zi,
3566
3566
  ea,
3567
3567
  na,
3568
3568
  ta,
3569
3569
  Qi,
3570
- _r
3571
- ], Eo = Fn.length, oa = / +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/, ra = "|";
3570
+ yr
3571
+ ], Bo = Fn.length, oa = / +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/, ra = "|";
3572
3572
  function sa(e, t = {}) {
3573
3573
  return e.split(ra).map((n) => {
3574
3574
  let o = n.trim().split(oa).filter((s) => s && !!s.trim()), r = [];
3575
3575
  for (let s = 0, i = o.length; s < i; s += 1) {
3576
3576
  const a = o[s];
3577
3577
  let l = !1, d = -1;
3578
- for (; !l && ++d < Eo; ) {
3578
+ for (; !l && ++d < Bo; ) {
3579
3579
  const u = Fn[d];
3580
3580
  let f = u.isMultiMatch(a);
3581
3581
  f && (r.push(new u(f, t)), l = !0);
3582
3582
  }
3583
3583
  if (!l)
3584
- for (d = -1; ++d < Eo; ) {
3584
+ for (d = -1; ++d < Bo; ) {
3585
3585
  const u = Fn[d];
3586
3586
  let f = u.isSingleMatch(a);
3587
3587
  if (f) {
@@ -3593,18 +3593,18 @@ function sa(e, t = {}) {
3593
3593
  return r;
3594
3594
  });
3595
3595
  }
3596
- const ia = /* @__PURE__ */ new Set([_r.type, yr.type]);
3596
+ const ia = /* @__PURE__ */ new Set([yr.type, wr.type]);
3597
3597
  class aa {
3598
3598
  constructor(t, {
3599
- isCaseSensitive: n = E.isCaseSensitive,
3600
- ignoreDiacritics: o = E.ignoreDiacritics,
3601
- includeMatches: r = E.includeMatches,
3602
- minMatchCharLength: s = E.minMatchCharLength,
3603
- ignoreLocation: i = E.ignoreLocation,
3604
- findAllMatches: a = E.findAllMatches,
3605
- location: l = E.location,
3606
- threshold: d = E.threshold,
3607
- distance: u = E.distance
3599
+ isCaseSensitive: n = B.isCaseSensitive,
3600
+ ignoreDiacritics: o = B.ignoreDiacritics,
3601
+ includeMatches: r = B.includeMatches,
3602
+ minMatchCharLength: s = B.minMatchCharLength,
3603
+ ignoreLocation: i = B.ignoreLocation,
3604
+ findAllMatches: a = B.findAllMatches,
3605
+ location: l = B.location,
3606
+ threshold: d = B.threshold,
3607
+ distance: u = B.distance
3608
3608
  } = {}) {
3609
3609
  this.query = null, this.options = {
3610
3610
  isCaseSensitive: n,
@@ -3670,7 +3670,7 @@ function jn(e, t) {
3670
3670
  if (r.condition(e, t))
3671
3671
  return new r(e, t);
3672
3672
  }
3673
- return new br(e, t);
3673
+ return new _r(e, t);
3674
3674
  }
3675
3675
  const un = {
3676
3676
  AND: "$and",
@@ -3678,17 +3678,17 @@ const un = {
3678
3678
  }, Hn = {
3679
3679
  PATH: "$path",
3680
3680
  PATTERN: "$val"
3681
- }, Wn = (e) => !!(e[un.AND] || e[un.OR]), la = (e) => !!e[Hn.PATH], ua = (e) => !Le(e) && gr(e) && !Wn(e), Bo = (e) => ({
3681
+ }, Wn = (e) => !!(e[un.AND] || e[un.OR]), la = (e) => !!e[Hn.PATH], ua = (e) => !Le(e) && pr(e) && !Wn(e), Eo = (e) => ({
3682
3682
  [un.AND]: Object.keys(e).map((t) => ({
3683
3683
  [t]: e[t]
3684
3684
  }))
3685
3685
  });
3686
- function wr(e, t, { auto: n = !0 } = {}) {
3686
+ function Cr(e, t, { auto: n = !0 } = {}) {
3687
3687
  const o = (r) => {
3688
3688
  let s = Object.keys(r);
3689
3689
  const i = la(r);
3690
3690
  if (!i && s.length > 1 && !Wn(r))
3691
- return o(Bo(r));
3691
+ return o(Eo(r));
3692
3692
  if (ua(r)) {
3693
3693
  const l = i ? r[Hn.PATH] : s[0], d = i ? r[Hn.PATTERN] : r[l];
3694
3694
  if (!Ie(d))
@@ -3710,9 +3710,9 @@ function wr(e, t, { auto: n = !0 } = {}) {
3710
3710
  });
3711
3711
  }), a;
3712
3712
  };
3713
- return Wn(e) || (e = Bo(e)), o(e);
3713
+ return Wn(e) || (e = Eo(e)), o(e);
3714
3714
  }
3715
- function da(e, { ignoreFieldNorm: t = E.ignoreFieldNorm }) {
3715
+ function da(e, { ignoreFieldNorm: t = B.ignoreFieldNorm }) {
3716
3716
  e.forEach((n) => {
3717
3717
  let o = 1;
3718
3718
  n.matches.forEach(({ key: r, norm: s, score: i }) => {
@@ -3741,8 +3741,8 @@ function fa(e, t) {
3741
3741
  t.score = e.score;
3742
3742
  }
3743
3743
  function ga(e, t, {
3744
- includeMatches: n = E.includeMatches,
3745
- includeScore: o = E.includeScore
3744
+ includeMatches: n = B.includeMatches,
3745
+ includeScore: o = B.includeScore
3746
3746
  } = {}) {
3747
3747
  const r = [];
3748
3748
  return n && r.push(ha), o && r.push(fa), e.map((s) => {
@@ -3757,12 +3757,12 @@ function ga(e, t, {
3757
3757
  }
3758
3758
  class yt {
3759
3759
  constructor(t, n = {}, o) {
3760
- this.options = { ...E, ...n }, this.options.useExtendedSearch, this._keyStore = new Fi(this.options.keys), this.setCollection(t, o);
3760
+ this.options = { ...B, ...n }, this.options.useExtendedSearch, this._keyStore = new Fi(this.options.keys), this.setCollection(t, o);
3761
3761
  }
3762
3762
  setCollection(t, n) {
3763
3763
  if (this._docs = t, n && !(n instanceof ro))
3764
3764
  throw new Error(Ri);
3765
- this._myIndex = n || mr(this.options.keys, this._docs, {
3765
+ this._myIndex = n || br(this.options.keys, this._docs, {
3766
3766
  getFn: this.options.getFn,
3767
3767
  fieldNormWeight: this.options.fieldNormWeight
3768
3768
  });
@@ -3793,7 +3793,7 @@ class yt {
3793
3793
  ignoreFieldNorm: a
3794
3794
  } = this.options;
3795
3795
  let l = Ie(t) ? Ie(this._docs[0]) ? this._searchStringList(t) : this._searchObjectList(t) : this._searchLogical(t);
3796
- return da(l, { ignoreFieldNorm: a }), s && l.sort(i), fr(n) && n > -1 && (l = l.slice(0, n)), ga(l, this._docs, {
3796
+ return da(l, { ignoreFieldNorm: a }), s && l.sort(i), gr(n) && n > -1 && (l = l.slice(0, n)), ga(l, this._docs, {
3797
3797
  includeMatches: o,
3798
3798
  includeScore: r
3799
3799
  });
@@ -3812,7 +3812,7 @@ class yt {
3812
3812
  }), r;
3813
3813
  }
3814
3814
  _searchLogical(t) {
3815
- const n = wr(t, this.options), o = (a, l, d) => {
3815
+ const n = Cr(t, this.options), o = (a, l, d) => {
3816
3816
  if (!a.children) {
3817
3817
  const { keyId: f, searcher: p } = a, g = this._findMatches({
3818
3818
  key: this._keyStore.get(f),
@@ -3893,10 +3893,10 @@ class yt {
3893
3893
  }
3894
3894
  }
3895
3895
  yt.version = "7.1.0";
3896
- yt.createIndex = mr;
3896
+ yt.createIndex = br;
3897
3897
  yt.parseIndex = Gi;
3898
- yt.config = E;
3899
- yt.parseQuery = wr;
3898
+ yt.config = B;
3899
+ yt.parseQuery = Cr;
3900
3900
  ca(aa);
3901
3901
  const pa = "_header_17vny_1", va = "_left_17vny_14", ma = "_right_17vny_15", qt = {
3902
3902
  header: pa,
@@ -3916,7 +3916,7 @@ const pa = "_header_17vny_1", va = "_left_17vny_14", ma = "_right_17vny_15", qt
3916
3916
  /* @__PURE__ */ w(
3917
3917
  "div",
3918
3918
  {
3919
- className: B(At.button, {
3919
+ className: E(At.button, {
3920
3920
  [At.disabled]: r
3921
3921
  }),
3922
3922
  onMouseEnter: () => {
@@ -3955,7 +3955,7 @@ const pa = "_header_17vny_1", va = "_left_17vny_14", ma = "_right_17vny_15", qt
3955
3955
  /* @__PURE__ */ w(
3956
3956
  "div",
3957
3957
  {
3958
- className: B(At.button, {
3958
+ className: E(At.button, {
3959
3959
  [At.disabled]: i
3960
3960
  }),
3961
3961
  onMouseEnter: () => {
@@ -3996,12 +3996,12 @@ const pa = "_header_17vny_1", va = "_left_17vny_14", ma = "_right_17vny_15", qt
3996
3996
  devices: Ca,
3997
3997
  device: Sa,
3998
3998
  active: xa
3999
- }, ka = () => /* @__PURE__ */ c("div", { className: Un.devices, children: Or.map((e) => /* @__PURE__ */ c(Aa, { device: e })) }), Aa = (e) => {
3999
+ }, ka = () => /* @__PURE__ */ c("div", { className: Un.devices, children: $r.map((e) => /* @__PURE__ */ c(Aa, { device: e })) }), Aa = (e) => {
4000
4000
  const { device: t } = e, { currentDevice: n, setCurrentDevice: o } = Kn(), [r, s] = A.useState(!1), [i, a] = A.useState(null);
4001
4001
  return /* @__PURE__ */ w(
4002
4002
  "div",
4003
4003
  {
4004
- className: B(Un.device, {
4004
+ className: E(Un.device, {
4005
4005
  [Un.active]: n.value === t.value
4006
4006
  }),
4007
4007
  onClick: () => o(t),
@@ -4032,13 +4032,13 @@ const pa = "_header_17vny_1", va = "_left_17vny_14", ma = "_right_17vny_15", qt
4032
4032
  }, Na = "_preview_1hcqg_2", Da = "_active_1hcqg_19", An = {
4033
4033
  preview: Na,
4034
4034
  active: Da
4035
- }, Ea = () => {
4035
+ }, Ba = () => {
4036
4036
  const { onPreview: e } = Fe(), [t, n] = A.useState(!1), [o, r] = A.useState(null);
4037
4037
  return /* @__PURE__ */ w(
4038
4038
  "a",
4039
4039
  {
4040
4040
  href: "/",
4041
- className: B(An.preview, {
4041
+ className: E(An.preview, {
4042
4042
  [An.active]: e
4043
4043
  }),
4044
4044
  target: "_blank",
@@ -4065,8 +4065,8 @@ const pa = "_header_17vny_1", va = "_left_17vny_14", ma = "_right_17vny_15", qt
4065
4065
  ]
4066
4066
  }
4067
4067
  );
4068
- }, Ba = "_settings_u4cv4_1", Ia = {
4069
- settings: Ba
4068
+ }, Ea = "_settings_u4cv4_1", Ia = {
4069
+ settings: Ea
4070
4070
  }, Ta = "_pages_ws1ac_1", Ma = "_text_ws1ac_21", Ra = "_modal_ws1ac_27", Oa = "_open_ws1ac_46", $a = "_page_ws1ac_1", Pa = "_hoverable_ws1ac_61", La = "_separator_ws1ac_65", Fa = "_button_ws1ac_70", za = "_items_ws1ac_85", be = {
4071
4071
  pages: Ta,
4072
4072
  default: "_default_ws1ac_5",
@@ -4078,7 +4078,7 @@ const pa = "_header_17vny_1", va = "_left_17vny_14", ma = "_right_17vny_15", qt
4078
4078
  separator: La,
4079
4079
  button: Fa,
4080
4080
  items: za
4081
- }, Cr = async (e) => {
4081
+ }, Sr = async (e) => {
4082
4082
  const t = localStorage.getItem("shopId") || void 0, n = localStorage.getItem("draftId"), r = `${Lo.getState().apiUrls.api}/v2/builder/shops/${t}/drafts/${n}/pages/${encodeURIComponent(e)}`;
4083
4083
  return await Fo({
4084
4084
  url: r,
@@ -4127,7 +4127,7 @@ const pa = "_header_17vny_1", va = "_left_17vny_14", ma = "_right_17vny_15", qt
4127
4127
  height: 20
4128
4128
  }
4129
4129
  ),
4130
- /* @__PURE__ */ c("span", { className: be.text, children: o && o[e] && Bt.includes(o[e].path) ? `${C(o[e].name)} page` : o && o[e] && o[e].name }),
4130
+ /* @__PURE__ */ c("span", { className: be.text, children: o && o[e] && Et.includes(o[e].path) ? `${C(o[e].name)} page` : o && o[e] && o[e].name }),
4131
4131
  /* @__PURE__ */ c(
4132
4132
  "div",
4133
4133
  {
@@ -4152,7 +4152,7 @@ const pa = "_header_17vny_1", va = "_left_17vny_14", ma = "_right_17vny_15", qt
4152
4152
  /* @__PURE__ */ w(
4153
4153
  "div",
4154
4154
  {
4155
- className: B(be.modal, {
4155
+ className: E(be.modal, {
4156
4156
  [be.open]: h
4157
4157
  }),
4158
4158
  onClick: (v) => v.stopPropagation(),
@@ -4162,7 +4162,7 @@ const pa = "_header_17vny_1", va = "_left_17vny_14", ma = "_right_17vny_15", qt
4162
4162
  return /* @__PURE__ */ w(
4163
4163
  "div",
4164
4164
  {
4165
- className: B(be.page, {
4165
+ className: E(be.page, {
4166
4166
  [be.hoverable]: u === v
4167
4167
  }),
4168
4168
  onMouseEnter: () => f(v),
@@ -4178,7 +4178,7 @@ const pa = "_header_17vny_1", va = "_left_17vny_14", ma = "_right_17vny_15", qt
4178
4178
  fill: "#252525"
4179
4179
  }
4180
4180
  ),
4181
- /* @__PURE__ */ c("span", { className: be.text, children: Bt.includes(k.path) ? `${C(k.name)} page` : k.name }),
4181
+ /* @__PURE__ */ c("span", { className: be.text, children: Et.includes(k.path) ? `${C(k.name)} page` : k.name }),
4182
4182
  u === v && /* @__PURE__ */ w(Pe, { children: [
4183
4183
  /* @__PURE__ */ c(
4184
4184
  R,
@@ -4190,7 +4190,7 @@ const pa = "_header_17vny_1", va = "_left_17vny_14", ma = "_right_17vny_15", qt
4190
4190
  }
4191
4191
  }
4192
4192
  ),
4193
- !Bt.includes(k.path) && /* @__PURE__ */ c(
4193
+ !Et.includes(k.path) && /* @__PURE__ */ c(
4194
4194
  R,
4195
4195
  {
4196
4196
  name: "Trash",
@@ -4199,7 +4199,7 @@ const pa = "_header_17vny_1", va = "_left_17vny_14", ma = "_right_17vny_15", qt
4199
4199
  x.stopPropagation(), p("Delete Page"), g(
4200
4200
  `Are you sure you want to delete ${k.name || "this"} page? Once you delete this page, any content visible will also be deleted. This is irreversible.`
4201
4201
  ), y(() => {
4202
- x.stopPropagation(), o[e].path === k.path && t(Object.keys(o)[0]), i(v), l(k.name), Cr(k.path);
4202
+ x.stopPropagation(), o[e].path === k.path && t(Object.keys(o)[0]), i(v), l(k.name), Sr(k.path);
4203
4203
  });
4204
4204
  }
4205
4205
  }
@@ -4437,7 +4437,7 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
4437
4437
  children: [
4438
4438
  /* @__PURE__ */ w("div", { className: qt.left, children: [
4439
4439
  /* @__PURE__ */ c(ka, {}),
4440
- /* @__PURE__ */ c(Ea, {})
4440
+ /* @__PURE__ */ c(Ba, {})
4441
4441
  ] }),
4442
4442
  /* @__PURE__ */ c("div", { className: qt.center, children: /* @__PURE__ */ c(Ua, {}) }),
4443
4443
  /* @__PURE__ */ w("div", { className: qt.right, children: [
@@ -4504,10 +4504,10 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
4504
4504
  }
4505
4505
  return /* @__PURE__ */ w("div", { className: Jt.navbar, children: [
4506
4506
  /* @__PURE__ */ c(nc, {}),
4507
- /* @__PURE__ */ c("div", { className: Jt.main, children: $r.map((a) => /* @__PURE__ */ w(
4507
+ /* @__PURE__ */ c("div", { className: Jt.main, children: Pr.map((a) => /* @__PURE__ */ w(
4508
4508
  "div",
4509
4509
  {
4510
- className: B(Jt.block, {
4510
+ className: E(Jt.block, {
4511
4511
  [Jt.active]: e.icon === a.icon
4512
4512
  }),
4513
4513
  onClick: () => i(a),
@@ -4548,7 +4548,7 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
4548
4548
  /* @__PURE__ */ c("div", { className: De.circles, children: Cc.map((r) => /* @__PURE__ */ c(
4549
4549
  "div",
4550
4550
  {
4551
- className: B(De.circle, {
4551
+ className: E(De.circle, {
4552
4552
  [De.red]: r === "red",
4553
4553
  [De.yellow]: r === "yellow",
4554
4554
  [De.green]: r === "green"
@@ -4596,15 +4596,15 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
4596
4596
  }
4597
4597
  )
4598
4598
  ] });
4599
- }, xc = "_content_s4v4v_1", kc = "_main_s4v4v_12", Ac = "_block_s4v4v_16", Nc = "_active_s4v4v_22", Dc = "_name_s4v4v_32", Ec = "_addSection_s4v4v_109", Bc = "_addSectionTop_s4v4v_117", Ge = {
4599
+ }, xc = "_content_s4v4v_1", kc = "_main_s4v4v_12", Ac = "_block_s4v4v_16", Nc = "_active_s4v4v_22", Dc = "_name_s4v4v_32", Bc = "_addSection_s4v4v_109", Ec = "_addSectionTop_s4v4v_117", Ge = {
4600
4600
  content: xc,
4601
4601
  main: kc,
4602
4602
  block: Ac,
4603
4603
  active: Nc,
4604
4604
  name: Dc,
4605
- addSection: Ec,
4606
- addSectionTop: Bc
4607
- }, Ic = "_sidebar_p1ojw_1", Tc = "_content_p1ojw_14", Mc = "_button_p1ojw_24", Rc = "_moveButton_p1ojw_40", Oc = "_deleteButton_p1ojw_49", Ee = {
4605
+ addSection: Bc,
4606
+ addSectionTop: Ec
4607
+ }, Ic = "_sidebar_p1ojw_1", Tc = "_content_p1ojw_14", Mc = "_button_p1ojw_24", Rc = "_moveButton_p1ojw_40", Oc = "_deleteButton_p1ojw_49", Be = {
4608
4608
  sidebar: Ic,
4609
4609
  content: Tc,
4610
4610
  button: Mc,
@@ -4640,12 +4640,12 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
4640
4640
  neededScroll: !1
4641
4641
  }));
4642
4642
  };
4643
- return /* @__PURE__ */ c("div", { className: Ee.sidebar, children: /* @__PURE__ */ w("div", { className: Ee.content, children: [
4643
+ return /* @__PURE__ */ c("div", { className: Be.sidebar, children: /* @__PURE__ */ w("div", { className: Be.content, children: [
4644
4644
  /* @__PURE__ */ c(
4645
4645
  "button",
4646
4646
  {
4647
4647
  onClick: b,
4648
- className: B(Ee.button, Ee.moveButton),
4648
+ className: E(Be.button, Be.moveButton),
4649
4649
  disabled: m === 0,
4650
4650
  children: /* @__PURE__ */ c(R, { name: "ArrowUp" })
4651
4651
  }
@@ -4654,7 +4654,7 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
4654
4654
  "button",
4655
4655
  {
4656
4656
  onClick: C,
4657
- className: B(Ee.button, Ee.moveButton),
4657
+ className: E(Be.button, Be.moveButton),
4658
4658
  disabled: m === h.length - 1,
4659
4659
  children: /* @__PURE__ */ c(R, { name: "ArrowDown" })
4660
4660
  }
@@ -4663,14 +4663,14 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
4663
4663
  "button",
4664
4664
  {
4665
4665
  onClick: v,
4666
- className: B(Ee.button, Ee.moveButton),
4666
+ className: E(Be.button, Be.moveButton),
4667
4667
  children: /* @__PURE__ */ c(R, { name: "Copy" })
4668
4668
  }
4669
4669
  ),
4670
4670
  /* @__PURE__ */ c(
4671
4671
  "button",
4672
4672
  {
4673
- className: B(Ee.button, Ee.deleteButton),
4673
+ className: E(Be.button, Be.deleteButton),
4674
4674
  onClick: (S) => {
4675
4675
  S.stopPropagation(), d("Remove Block"), u(
4676
4676
  `Are you sure you want to delete ${(y == null ? void 0 : y.data[e.id].name) || "this"} block? Once you delete this block, any content visible will also be deleted. This is irreversible.`
@@ -4743,8 +4743,8 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
4743
4743
  },
4744
4744
  ref: e,
4745
4745
  children: [
4746
- u && /* @__PURE__ */ c(Vo, {}),
4747
- /* @__PURE__ */ c(Uo, {}),
4746
+ u && /* @__PURE__ */ c(Ko, {}),
4747
+ /* @__PURE__ */ c(Vo, {}),
4748
4748
  /* @__PURE__ */ c("div", { className: Ge.main, children: g && g[p] && i[g[p].path] && i[g[p].path].data && i[g[p].path].order.map((_) => /* @__PURE__ */ w(
4749
4749
  "div",
4750
4750
  {
@@ -4774,7 +4774,7 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
4774
4774
  neededScroll: !1
4775
4775
  });
4776
4776
  },
4777
- className: B(Ge.block),
4777
+ className: E(Ge.block),
4778
4778
  children: [
4779
4779
  (n.id === _ || l === _) && /* @__PURE__ */ c("div", { className: Ge.active }),
4780
4780
  (n.id === _ || l === _) && /* @__PURE__ */ c("div", { className: Ge.name, children: tt(
@@ -4804,7 +4804,7 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
4804
4804
  (n.id === _ || l === _) && tt(
4805
4805
  i[g[p].path].data[_].name,
4806
4806
  s
4807
- ) !== "unknown name" && /* @__PURE__ */ c("div", { className: B(Ge.addSection, Ge.addSectionTop), children: /* @__PURE__ */ c(
4807
+ ) !== "unknown name" && /* @__PURE__ */ c("div", { className: E(Ge.addSection, Ge.addSectionTop), children: /* @__PURE__ */ c(
4808
4808
  Xe,
4809
4809
  {
4810
4810
  type: "Primary",
@@ -4828,7 +4828,7 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
4828
4828
  },
4829
4829
  _
4830
4830
  )) }),
4831
- /* @__PURE__ */ c(Wo, {})
4831
+ /* @__PURE__ */ c(Uo, {})
4832
4832
  ]
4833
4833
  }
4834
4834
  );
@@ -4891,7 +4891,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
4891
4891
  },
4892
4892
  t
4893
4893
  );
4894
- }, Sr = () => {
4894
+ }, xr = () => {
4895
4895
  const { blocks: e, sourceBlocks: t } = se(), [n, o] = A.useState(""), [r, s] = A.useState([]), i = A.useMemo(
4896
4896
  () => Ro(e, t),
4897
4897
  [e, t]
@@ -4962,9 +4962,9 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
4962
4962
  v.stopPropagation(), C(v);
4963
4963
  },
4964
4964
  children: [
4965
- r && /* @__PURE__ */ c(Pr, { children: /* @__PURE__ */ c(Sr, {}) }),
4965
+ r && /* @__PURE__ */ c(Lr, { children: /* @__PURE__ */ c(xr, {}) }),
4966
4966
  /* @__PURE__ */ w(
4967
- Lr,
4967
+ Fr,
4968
4968
  {
4969
4969
  positionTop: s,
4970
4970
  positionLeft: !o && n ? void 0 : 250,
@@ -4981,7 +4981,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
4981
4981
  ]
4982
4982
  }
4983
4983
  ),
4984
- d && /* @__PURE__ */ c(Fr, {}),
4984
+ d && /* @__PURE__ */ c(zr, {}),
4985
4985
  e && /* @__PURE__ */ w(
4986
4986
  "div",
4987
4987
  {
@@ -5055,7 +5055,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5055
5055
  header: "Header",
5056
5056
  footer: "Footer",
5057
5057
  announcement: "Announcement"
5058
- }, En = ({ id: e }) => {
5058
+ }, Bn = ({ id: e }) => {
5059
5059
  const {
5060
5060
  setCurrentBlock: t
5061
5061
  // setAnnouncement
@@ -5066,7 +5066,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5066
5066
  return /* @__PURE__ */ w(
5067
5067
  "div",
5068
5068
  {
5069
- className: B(Ze.block, {
5069
+ className: E(Ze.block, {
5070
5070
  [Ze.active]: n.id === e,
5071
5071
  [Ze.header]: e === "header",
5072
5072
  [Ze.footer]: e === "footer",
@@ -5142,7 +5142,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5142
5142
  {
5143
5143
  ref: P,
5144
5144
  style: oe,
5145
- className: B(ee.wrapper, {
5145
+ className: E(ee.wrapper, {
5146
5146
  [ee.draggingWrapper]: o && s.id === e
5147
5147
  }),
5148
5148
  onClick: (F) => {
@@ -5156,7 +5156,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5156
5156
  /* @__PURE__ */ w(
5157
5157
  "div",
5158
5158
  {
5159
- className: B(ee.block, {
5159
+ className: E(ee.block, {
5160
5160
  [ee.dragging]: o && s.id === e,
5161
5161
  [ee.active]: !o && s.id === e
5162
5162
  }),
@@ -5180,7 +5180,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5180
5180
  g === e && !o && /* @__PURE__ */ c(
5181
5181
  "div",
5182
5182
  {
5183
- className: B(ee.addTop, {
5183
+ className: E(ee.addTop, {
5184
5184
  [ee.visible]: C
5185
5185
  }),
5186
5186
  onMouseEnter: () => {
@@ -5220,7 +5220,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5220
5220
  g === e && !o && /* @__PURE__ */ c(
5221
5221
  "div",
5222
5222
  {
5223
- className: B(ee.add, {
5223
+ className: E(ee.add, {
5224
5224
  [ee.visible]: m
5225
5225
  }),
5226
5226
  onMouseEnter: () => {
@@ -5319,8 +5319,8 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5319
5319
  }
5320
5320
  };
5321
5321
  return /* @__PURE__ */ c("div", { className: ee.layers, children: r ? /* @__PURE__ */ c("div", { className: ee.loader, children: /* @__PURE__ */ c(ot, {}) }) : /* @__PURE__ */ w(Pe, { children: [
5322
- s && /* @__PURE__ */ c(En, { id: "announcement" }),
5323
- /* @__PURE__ */ c(En, { id: "header" }),
5322
+ s && /* @__PURE__ */ c(Bn, { id: "announcement" }),
5323
+ /* @__PURE__ */ c(Bn, { id: "header" }),
5324
5324
  !n && /* @__PURE__ */ c(
5325
5325
  ci,
5326
5326
  {
@@ -5351,7 +5351,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5351
5351
  )
5352
5352
  }
5353
5353
  ),
5354
- /* @__PURE__ */ c(En, { id: "footer" })
5354
+ /* @__PURE__ */ c(Bn, { id: "footer" })
5355
5355
  ] }) });
5356
5356
  }, ul = "_loader_eyvkk_1", dl = {
5357
5357
  loader: ul
@@ -5381,38 +5381,47 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5381
5381
  name: vl,
5382
5382
  loader: ml
5383
5383
  }, bl = () => {
5384
- const e = rt(), { isLoadingThemeSettings: t, setActiveBlock: n } = X();
5385
- function o(r) {
5386
- switch (r == null ? void 0 : r.name) {
5384
+ const e = rt(), { isAntistock: t } = Ho(), { isLoadingThemeSettings: n, setActiveBlock: o } = X(), r = [
5385
+ {
5386
+ icon: "PaintBrushBroad",
5387
+ name: "Colors"
5388
+ },
5389
+ {
5390
+ icon: "TextAa",
5391
+ name: "Fonts"
5392
+ }
5393
+ ];
5394
+ function s(i) {
5395
+ switch (i == null ? void 0 : i.name) {
5387
5396
  case "Colors":
5388
- e("/admin/builder/theme/colors"), n(ft[0]);
5397
+ e("/admin/builder/theme/colors"), o(ft[0]);
5389
5398
  break;
5390
5399
  case "Fonts":
5391
- e("/admin/builder/theme/fonts"), n(ft[1]);
5400
+ e("/admin/builder/theme/fonts"), o(ft[1]);
5392
5401
  break;
5393
5402
  case "Borders":
5394
- e("/admin/builder/theme/borders"), n(ft[2]);
5403
+ e("/admin/builder/theme/borders"), o(ft[2]);
5395
5404
  break;
5396
5405
  case "Buttons":
5397
- e("/admin/builder/theme/buttons"), n(ft[3]);
5406
+ e("/admin/builder/theme/buttons"), o(ft[3]);
5398
5407
  break;
5399
5408
  case "Inputs":
5400
- e("/admin/builder/theme/inputs"), n(ft[4]);
5409
+ e("/admin/builder/theme/inputs"), o(ft[4]);
5401
5410
  break;
5402
5411
  }
5403
5412
  }
5404
- return /* @__PURE__ */ c("div", { className: Qt.theme, children: t ? /* @__PURE__ */ c("div", { className: Qt.loader, children: /* @__PURE__ */ c(ot, {}) }) : ft.map((r) => /* @__PURE__ */ w(
5413
+ return /* @__PURE__ */ c("div", { className: Qt.theme, children: n ? /* @__PURE__ */ c("div", { className: Qt.loader, children: /* @__PURE__ */ c(ot, {}) }) : (t ? r : ft).map((i) => /* @__PURE__ */ w(
5405
5414
  "div",
5406
5415
  {
5407
- onClick: () => o(r),
5408
- className: B(Qt.block),
5416
+ onClick: () => s(i),
5417
+ className: E(Qt.block),
5409
5418
  children: [
5410
- /* @__PURE__ */ c(R, { name: r.icon }),
5411
- /* @__PURE__ */ c("span", { className: Qt.name, children: r.name }),
5419
+ /* @__PURE__ */ c(R, { name: i.icon }),
5420
+ /* @__PURE__ */ c("span", { className: Qt.name, children: i.name }),
5412
5421
  /* @__PURE__ */ c(R, { name: "CaretRight" })
5413
5422
  ]
5414
5423
  },
5415
- r.icon
5424
+ i.icon
5416
5425
  )) });
5417
5426
  }, _l = "_render_1k1k0_9", yl = "_open_1k1k0_24", wl = "_close_1k1k0_51", Cl = "_clicked_1k1k0_55", Sl = "_loading_1k1k0_72", xl = "_settings_1k1k0_76", gt = {
5418
5427
  render: _l,
@@ -5433,12 +5442,12 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5433
5442
  failedSettings: !0
5434
5443
  }), o;
5435
5444
  }
5436
- }, Al = "_wrapper_1xfvz_1", Nl = "_header_1xfvz_8", Dl = "_title_1xfvz_15", El = "_colorWrapper_1xfvz_21", Bl = "_name_1xfvz_35", Il = "_color_1xfvz_21", Tl = "_value_1xfvz_47", Ml = "_length_1xfvz_51", ge = {
5445
+ }, Al = "_wrapper_1xfvz_1", Nl = "_header_1xfvz_8", Dl = "_title_1xfvz_15", Bl = "_colorWrapper_1xfvz_21", El = "_name_1xfvz_35", Il = "_color_1xfvz_21", Tl = "_value_1xfvz_47", Ml = "_length_1xfvz_51", ge = {
5437
5446
  wrapper: Al,
5438
5447
  header: Nl,
5439
5448
  title: Dl,
5440
- colorWrapper: El,
5441
- name: Bl,
5449
+ colorWrapper: Bl,
5450
+ name: El,
5442
5451
  color: Il,
5443
5452
  value: Tl,
5444
5453
  length: Ml
@@ -5461,7 +5470,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5461
5470
  !o && /* @__PURE__ */ w(
5462
5471
  "div",
5463
5472
  {
5464
- className: B(ge.value, ge.length),
5473
+ className: E(ge.value, ge.length),
5465
5474
  onClick: () => r(!0),
5466
5475
  children: [
5467
5476
  "+",
@@ -5484,7 +5493,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5484
5493
  t.length > 3 && /* @__PURE__ */ w(
5485
5494
  "div",
5486
5495
  {
5487
- className: B(ge.value, ge.length),
5496
+ className: E(ge.value, ge.length),
5488
5497
  onClick: () => r(!1),
5489
5498
  children: [
5490
5499
  "Hide ",
@@ -5523,7 +5532,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5523
5532
  const h = (b) => {
5524
5533
  const C = t.split("/")[0], v = C.split(" ")[0].toLowerCase(), k = C.split(" ")[1].toLowerCase();
5525
5534
  b.stopPropagation(), i(!0), d(u), a((_) => y(k, v)(_)), s(n), l(n), p(!0), f(k === "surface");
5526
- const { top: x, left: S } = zr(b, 550, 288, 10, 20, 230, 80);
5535
+ const { top: x, left: S } = jr(b, 550, 288, 10, 20, 230, 80);
5527
5536
  r({
5528
5537
  top: k === "surface" ? x : x + 125,
5529
5538
  left: S - 200
@@ -5577,7 +5586,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5577
5586
  )
5578
5587
  }
5579
5588
  ),
5580
- /* @__PURE__ */ c("h3", { className: Zt.title, children: o && n(o) || f && f[u] && a[f[u].path] && l && n((p = a[f[u].path].data[l]) == null ? void 0 : p.name) || l && Be(l) || "Loading" }),
5589
+ /* @__PURE__ */ c("h3", { className: Zt.title, children: o && n(o) || f && f[u] && a[f[u].path] && l && n((p = a[f[u].path].data[l]) == null ? void 0 : p.name) || l && Ee(l) || "Loading" }),
5581
5590
  l && f && !["header", "footer", "announcement"].includes(l) && a[f[u].path].data[l] && n((g = a[f[u].path].data[l]) == null ? void 0 : g.name) !== "unknown name" && /* @__PURE__ */ c(
5582
5591
  "button",
5583
5592
  {
@@ -5716,7 +5725,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5716
5725
  return /* @__PURE__ */ w(
5717
5726
  "div",
5718
5727
  {
5719
- className: B(gt.render, {
5728
+ className: E(gt.render, {
5720
5729
  [gt.open]: h,
5721
5730
  [gt.close]: !h,
5722
5731
  [gt.clicked]: t
@@ -5744,15 +5753,15 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5744
5753
  ]
5745
5754
  }
5746
5755
  );
5747
- }, Hl = "_header_1u3yu_1", Wl = "_title_1u3yu_9", Ul = "_backIcon_1u3yu_15", Bn = {
5756
+ }, Hl = "_header_1u3yu_1", Wl = "_title_1u3yu_9", Ul = "_backIcon_1u3yu_15", En = {
5748
5757
  header: Hl,
5749
5758
  title: Wl,
5750
5759
  backIcon: Ul
5751
- }, Wt = ({ onClick: e, title: t }) => /* @__PURE__ */ w("div", { className: Bn.header, children: [
5760
+ }, Wt = ({ onClick: e, title: t }) => /* @__PURE__ */ w("div", { className: En.header, children: [
5752
5761
  /* @__PURE__ */ c(
5753
5762
  "div",
5754
5763
  {
5755
- className: Bn.backIcon,
5764
+ className: En.backIcon,
5756
5765
  onClick: e,
5757
5766
  children: /* @__PURE__ */ c(
5758
5767
  R,
@@ -5765,7 +5774,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5765
5774
  )
5766
5775
  }
5767
5776
  ),
5768
- /* @__PURE__ */ c("span", { className: Bn.title, children: t })
5777
+ /* @__PURE__ */ c("span", { className: En.title, children: t })
5769
5778
  ] }), Vl = "_options_ymds7_1", Kl = {
5770
5779
  options: Vl
5771
5780
  }, Gl = () => {
@@ -5830,7 +5839,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5830
5839
  shadowInputsRow: su,
5831
5840
  shadowInputsOpen: iu
5832
5841
  }, au = ["left", "center", "right"], cu = () => {
5833
- const { activeBlock: e, themeSettings: t, updateButton: n, setActiveBlock: o } = X(), { fonts: r } = Ho(), [s, i] = A.useState("primary");
5842
+ const { activeBlock: e, themeSettings: t, updateButton: n, setActiveBlock: o } = X(), { fonts: r } = Wo(), [s, i] = A.useState("primary");
5834
5843
  function a(h, m) {
5835
5844
  n(s, m, h);
5836
5845
  }
@@ -5863,7 +5872,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5863
5872
  children: ["primary", "secondary", "tertiary"].map((h) => /* @__PURE__ */ c(
5864
5873
  "div",
5865
5874
  {
5866
- className: B(re.charge, { [re.chargeActive]: s === h }),
5875
+ className: E(re.charge, { [re.chargeActive]: s === h }),
5867
5876
  onClick: () => i(h),
5868
5877
  children: h.charAt(0).toUpperCase() + h.slice(1)
5869
5878
  },
@@ -5956,7 +5965,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5956
5965
  }
5957
5966
  )
5958
5967
  ] }),
5959
- /* @__PURE__ */ w("div", { className: B(re.shadowInputs, { [re.shadowInputsOpen]: l }), children: [
5968
+ /* @__PURE__ */ w("div", { className: E(re.shadowInputs, { [re.shadowInputsOpen]: l }), children: [
5960
5969
  /* @__PURE__ */ w("div", { className: re.shadowInputsRow, children: [
5961
5970
  /* @__PURE__ */ c(
5962
5971
  ue,
@@ -6011,7 +6020,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
6011
6020
  /* @__PURE__ */ c("div", { className: re.blocks, children: au.map((h) => /* @__PURE__ */ c(
6012
6021
  "div",
6013
6022
  {
6014
- className: B(re.alignment, {
6023
+ className: E(re.alignment, {
6015
6024
  [re.active]: u.alignment === h
6016
6025
  }),
6017
6026
  onClick: () => {
@@ -6077,7 +6086,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
6077
6086
  onClick: () => n(o),
6078
6087
  children: [
6079
6088
  /* @__PURE__ */ w("h2", { className: In.categoryTitle, children: [
6080
- o === "text" ? "Text & Icon" : Be(o),
6089
+ o === "text" ? "Text & Icon" : Ee(o),
6081
6090
  " Colors"
6082
6091
  ] }),
6083
6092
  /* @__PURE__ */ c(
@@ -6095,7 +6104,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
6095
6104
  }, hu = "_options_rwzk3_38", fu = {
6096
6105
  options: hu
6097
6106
  }, gu = () => {
6098
- const { activeBlock: e, setActiveFont: t, activeFont: n, themeSettings: o, updateFont: r } = X(), { fonts: s } = Ho(), [i, a] = A.useState(null);
6107
+ const { activeBlock: e, setActiveFont: t, activeFont: n, themeSettings: o, updateFont: r } = X(), { fonts: s } = Wo(), [i, a] = A.useState(null);
6099
6108
  function l() {
6100
6109
  t(null);
6101
6110
  }
@@ -6207,14 +6216,14 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
6207
6216
  /* @__PURE__ */ c(
6208
6217
  "div",
6209
6218
  {
6210
- className: B($e.icon, {
6219
+ className: E($e.icon, {
6211
6220
  [$e.paragraph]: r === "paragraph"
6212
6221
  }),
6213
6222
  children: /* @__PURE__ */ c(R, { name: r === "paragraph" ? "TextB" : "TextH" })
6214
6223
  }
6215
6224
  ),
6216
6225
  /* @__PURE__ */ w("div", { className: $e.content, children: [
6217
- /* @__PURE__ */ c("h2", { className: $e.categoryTitle, children: Be(Cu[o]) }),
6226
+ /* @__PURE__ */ c("h2", { className: $e.categoryTitle, children: Ee(Cu[o]) }),
6218
6227
  /* @__PURE__ */ c("span", { className: $e.value, children: `${t}, ${n}px` })
6219
6228
  ] })
6220
6229
  ]
@@ -6234,7 +6243,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
6234
6243
  {
6235
6244
  className: $e.category,
6236
6245
  children: [
6237
- /* @__PURE__ */ c("h2", { className: $e.categoryTitle, children: Be(r) }),
6246
+ /* @__PURE__ */ c("h2", { className: $e.categoryTitle, children: Ee(r) }),
6238
6247
  Object.entries(s).map(([i, a]) => /* @__PURE__ */ c(
6239
6248
  Su,
6240
6249
  {
@@ -6248,16 +6257,16 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
6248
6257
  },
6249
6258
  r
6250
6259
  )) });
6251
- }, ku = "_wrapper_16ym0_2", Au = "_categoryTitle_16ym0_12", Nu = "_title_16ym0_74", Du = "_field_16ym0_82", Eu = "_alignments_16ym0_92", Bu = "_lineField_16ym0_98", Iu = "_style_16ym0_106", Tu = "_header_16ym0_113", ye = {
6260
+ }, ku = "_wrapper_16ym0_2", Au = "_categoryTitle_16ym0_12", Nu = "_title_16ym0_74", Du = "_field_16ym0_82", Bu = "_alignments_16ym0_92", Eu = "_lineField_16ym0_98", Iu = "_style_16ym0_106", Tu = "_header_16ym0_113", ye = {
6252
6261
  wrapper: ku,
6253
6262
  categoryTitle: Au,
6254
6263
  title: Nu,
6255
6264
  field: Du,
6256
- alignments: Eu,
6257
- lineField: Bu,
6265
+ alignments: Bu,
6266
+ lineField: Eu,
6258
6267
  style: Iu,
6259
6268
  header: Tu
6260
- }, Mu = ["left", "center", "right"], Ru = ["solid", "dashed"], Et = (e) => {
6269
+ }, Mu = ["left", "center", "right"], Ru = ["solid", "dashed"], Bt = (e) => {
6261
6270
  const { title: t, children: n, rightAddon: o } = e;
6262
6271
  return /* @__PURE__ */ w("div", { className: ye.field, children: [
6263
6272
  /* @__PURE__ */ w("div", { className: ye.header, children: [
@@ -6273,7 +6282,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
6273
6282
  t(s, i, "color");
6274
6283
  };
6275
6284
  return /* @__PURE__ */ w("div", { className: ye.wrapper, children: [
6276
- /* @__PURE__ */ w(Et, { title: "General", children: [
6285
+ /* @__PURE__ */ w(Bt, { title: "General", children: [
6277
6286
  /* @__PURE__ */ c(
6278
6287
  ue,
6279
6288
  {
@@ -6296,7 +6305,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
6296
6305
  /* @__PURE__ */ c(
6297
6306
  we,
6298
6307
  {
6299
- initialColor: Be(n.general.color),
6308
+ initialColor: Ee(n.general.color),
6300
6309
  onChange: r("general"),
6301
6310
  title: "Font Color",
6302
6311
  labelStyle: "secondary",
@@ -6305,7 +6314,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
6305
6314
  )
6306
6315
  ] }),
6307
6316
  /* @__PURE__ */ c(
6308
- Et,
6317
+ Bt,
6309
6318
  {
6310
6319
  title: "Field Fill",
6311
6320
  rightAddon: /* @__PURE__ */ c("div", { className: ye.switch, children: /* @__PURE__ */ c(
@@ -6326,10 +6335,10 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
6326
6335
  )
6327
6336
  }
6328
6337
  ),
6329
- /* @__PURE__ */ c(Et, { title: "Placeholder", children: /* @__PURE__ */ c(
6338
+ /* @__PURE__ */ c(Bt, { title: "Placeholder", children: /* @__PURE__ */ c(
6330
6339
  we,
6331
6340
  {
6332
- initialColor: Be(n.placeholder.color),
6341
+ initialColor: Ee(n.placeholder.color),
6333
6342
  onChange: r("placeholder"),
6334
6343
  title: "Font Color",
6335
6344
  labelStyle: "secondary",
@@ -6337,7 +6346,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
6337
6346
  }
6338
6347
  ) }),
6339
6348
  /* @__PURE__ */ w(
6340
- Et,
6349
+ Bt,
6341
6350
  {
6342
6351
  title: "Border",
6343
6352
  rightAddon: /* @__PURE__ */ c("div", { className: ye.switch, children: /* @__PURE__ */ c(
@@ -6385,7 +6394,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
6385
6394
  /* @__PURE__ */ c(
6386
6395
  we,
6387
6396
  {
6388
- initialColor: Be(n.border.color),
6397
+ initialColor: Ee(n.border.color),
6389
6398
  onChange: r("border"),
6390
6399
  title: "Color",
6391
6400
  labelStyle: "secondary",
@@ -6395,7 +6404,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
6395
6404
  ]
6396
6405
  }
6397
6406
  ),
6398
- /* @__PURE__ */ w(Et, { title: "Label", children: [
6407
+ /* @__PURE__ */ w(Bt, { title: "Label", children: [
6399
6408
  /* @__PURE__ */ c(
6400
6409
  ue,
6401
6410
  {
@@ -6418,7 +6427,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
6418
6427
  /* @__PURE__ */ c(
6419
6428
  we,
6420
6429
  {
6421
- initialColor: Be(n.label.color),
6430
+ initialColor: Ee(n.label.color),
6422
6431
  onChange: r("label"),
6423
6432
  title: "Color",
6424
6433
  labelStyle: "secondary",
@@ -6473,7 +6482,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
6473
6482
  /* @__PURE__ */ w(
6474
6483
  "div",
6475
6484
  {
6476
- className: B(D.button, {
6485
+ className: E(D.button, {
6477
6486
  [D.buttonBorder]: e === "border",
6478
6487
  [D.buttonBackground]: e === "surface"
6479
6488
  }),
@@ -6482,7 +6491,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
6482
6491
  R,
6483
6492
  {
6484
6493
  name: "Smiley",
6485
- className: B(D.icon, {
6494
+ className: E(D.icon, {
6486
6495
  //TODO: возможно надо будет вернуть на иконку
6487
6496
  [D.iconIcon]: e === "text"
6488
6497
  }),
@@ -6494,7 +6503,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
6494
6503
  /* @__PURE__ */ c(
6495
6504
  "span",
6496
6505
  {
6497
- className: B(D.text, {
6506
+ className: E(D.text, {
6498
6507
  [D.textText]: e === "text"
6499
6508
  }),
6500
6509
  children: "Button Example"
@@ -6503,32 +6512,32 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
6503
6512
  ]
6504
6513
  }
6505
6514
  ),
6506
- e === "text" && /* @__PURE__ */ w("div", { className: B(D.annotation, D.annotationText), children: [
6515
+ e === "text" && /* @__PURE__ */ w("div", { className: E(D.annotation, D.annotationText), children: [
6507
6516
  /* @__PURE__ */ c("div", { className: D.label, children: "Text Color" }),
6508
6517
  /* @__PURE__ */ c("div", { className: D.line }),
6509
- /* @__PURE__ */ c("div", { className: B(D.circle, D.circle1) }),
6510
- /* @__PURE__ */ c("div", { className: B(D.circle, D.circle2) })
6518
+ /* @__PURE__ */ c("div", { className: E(D.circle, D.circle1) }),
6519
+ /* @__PURE__ */ c("div", { className: E(D.circle, D.circle2) })
6511
6520
  ] }),
6512
- e === "text" && /* @__PURE__ */ w("div", { className: B(D.annotation, D.annotationIcon), children: [
6521
+ e === "text" && /* @__PURE__ */ w("div", { className: E(D.annotation, D.annotationIcon), children: [
6513
6522
  /* @__PURE__ */ c("div", { className: D.label, children: "Icon Color" }),
6514
6523
  /* @__PURE__ */ c("div", { className: D.line }),
6515
- /* @__PURE__ */ c("div", { className: B(D.circle, D.circle1) }),
6516
- /* @__PURE__ */ c("div", { className: B(D.circle, D.circle2) })
6524
+ /* @__PURE__ */ c("div", { className: E(D.circle, D.circle1) }),
6525
+ /* @__PURE__ */ c("div", { className: E(D.circle, D.circle2) })
6517
6526
  ] }),
6518
- e === "border" && /* @__PURE__ */ w("div", { className: B(D.annotation, D.annotationBorder), children: [
6527
+ e === "border" && /* @__PURE__ */ w("div", { className: E(D.annotation, D.annotationBorder), children: [
6519
6528
  /* @__PURE__ */ c("div", { className: D.label, children: "Border Color" }),
6520
- /* @__PURE__ */ c("div", { className: B(D.line, D.line1) }),
6521
- /* @__PURE__ */ c("div", { className: B(D.line, D.line2) }),
6522
- /* @__PURE__ */ c("div", { className: B(D.circle, D.circle1) }),
6523
- /* @__PURE__ */ c("div", { className: B(D.circle, D.circle2) }),
6524
- /* @__PURE__ */ c("div", { className: B(D.circle, D.circle3) }),
6525
- /* @__PURE__ */ c("div", { className: B(D.circle, D.circle4) })
6529
+ /* @__PURE__ */ c("div", { className: E(D.line, D.line1) }),
6530
+ /* @__PURE__ */ c("div", { className: E(D.line, D.line2) }),
6531
+ /* @__PURE__ */ c("div", { className: E(D.circle, D.circle1) }),
6532
+ /* @__PURE__ */ c("div", { className: E(D.circle, D.circle2) }),
6533
+ /* @__PURE__ */ c("div", { className: E(D.circle, D.circle3) }),
6534
+ /* @__PURE__ */ c("div", { className: E(D.circle, D.circle4) })
6526
6535
  ] }),
6527
- e === "surface" && /* @__PURE__ */ w("div", { className: B(D.annotation, D.annotationSurface), children: [
6536
+ e === "surface" && /* @__PURE__ */ w("div", { className: E(D.annotation, D.annotationSurface), children: [
6528
6537
  /* @__PURE__ */ c("div", { className: D.label, children: "Surface Color" }),
6529
6538
  /* @__PURE__ */ c("div", { className: D.line }),
6530
- /* @__PURE__ */ c("div", { className: B(D.circle, D.circle1) }),
6531
- /* @__PURE__ */ c("div", { className: B(D.circle, D.circle2) })
6539
+ /* @__PURE__ */ c("div", { className: E(D.circle, D.circle1) }),
6540
+ /* @__PURE__ */ c("div", { className: E(D.circle, D.circle2) })
6532
6541
  ] })
6533
6542
  ] }) });
6534
6543
  }, ud = {
@@ -6591,7 +6600,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
6591
6600
  Wt,
6592
6601
  {
6593
6602
  onClick: s,
6594
- title: n === "text" ? "Text & Icon Colors" : `${Be(n)} Colors`
6603
+ title: n === "text" ? "Text & Icon Colors" : `${Ee(n)} Colors`
6595
6604
  }
6596
6605
  ),
6597
6606
  n && /* @__PURE__ */ w("div", { className: D.wrapper, children: [
@@ -6613,7 +6622,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
6613
6622
  /* @__PURE__ */ c(
6614
6623
  we,
6615
6624
  {
6616
- title: Be(u),
6625
+ title: Ee(u),
6617
6626
  initialColor: f,
6618
6627
  onChange: (p) => i(n, u, p),
6619
6628
  isGradientActive: n === "surface"
@@ -6688,7 +6697,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
6688
6697
  children: [
6689
6698
  /* @__PURE__ */ c("h3", { className: $o.title, children: n() }),
6690
6699
  e.name === "Layers" && /* @__PURE__ */ c(ll, {}),
6691
- e.name === "Add" && /* @__PURE__ */ c(Sr, {}),
6700
+ e.name === "Add" && /* @__PURE__ */ c(xr, {}),
6692
6701
  /* @__PURE__ */ c(jl, {}),
6693
6702
  /* @__PURE__ */ c(pd, {}),
6694
6703
  e.name === "Theme" && /* @__PURE__ */ c(bl, {}),
@@ -6720,7 +6729,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
6720
6729
  editedPage: i,
6721
6730
  setEditedPage: a,
6722
6731
  pageContext: l
6723
- } = J(), { setIsOpen: d } = jr(), { isAntistock: u } = Hr(), { createPage: f, updatePage: p } = ne(), [g, y] = A.useState(i ? t && ((z = t[i]) == null ? void 0 : z.path) : ""), [h, m] = A.useState(i ? t && (($ = t[i]) == null ? void 0 : $.name) : ""), [b, C] = A.useState(
6732
+ } = J(), { setIsOpen: d } = Hr(), { isAntistock: u } = Ho(), { createPage: f, updatePage: p } = ne(), [g, y] = A.useState(i ? t && ((z = t[i]) == null ? void 0 : z.path) : ""), [h, m] = A.useState(i ? t && (($ = t[i]) == null ? void 0 : $.name) : ""), [b, C] = A.useState(
6724
6733
  i ? t && ((T = t[i]) == null ? void 0 : T.seo) && ((M = (P = t[i]) == null ? void 0 : P.seo) == null ? void 0 : M.pageDescription) || "" : `${l.general.info.name} is powered by the ${u ? "Antistock.io" : "Billgang.com"} platform which allows them to sell their digital products online for free.`
6725
6734
  ), [v, k] = A.useState(
6726
6735
  i && t && (W = t[i]) != null && W.isPrivate ? "private" : "public"
@@ -6752,7 +6761,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
6752
6761
  }), f(_(g)), S();
6753
6762
  }
6754
6763
  function O() {
6755
- t && (Bt.includes(t[i].path) || Cr(t[i].path), p(t[i].path || "", g || ""), o(i, {
6764
+ t && (Et.includes(t[i].path) || Sr(t[i].path), p(t[i].path || "", g || ""), o(i, {
6756
6765
  path: _(g),
6757
6766
  name: h || g,
6758
6767
  icon: t[i].icon || "File",
@@ -6789,7 +6798,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
6789
6798
  onChange: (I) => y(I),
6790
6799
  value: g,
6791
6800
  placeholder: "path-to-page",
6792
- disabled: !!(i && t && ((oe = t[i]) != null && oe.name) && Bt.includes(t[i].path)),
6801
+ disabled: !!(i && t && ((oe = t[i]) != null && oe.name) && Et.includes(t[i].path)),
6793
6802
  required: !0,
6794
6803
  regex: "^.+$"
6795
6804
  }
@@ -6855,10 +6864,10 @@ export {
6855
6864
  Fd as M,
6856
6865
  $d as N,
6857
6866
  Pd as P,
6858
- Vo as R,
6867
+ Ko as R,
6859
6868
  Ld as S,
6860
- Uo as a,
6861
- Wo as b,
6869
+ Vo as a,
6870
+ Uo as b,
6862
6871
  Xn as c,
6863
6872
  is as d,
6864
6873
  wi as e,