@billgangcom/theme-lib 1.123.5 → 1.124.0

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 (47) hide show
  1. package/dist/{builder-ByDXET1Y.js → builder-CAyJ72db.js} +1169 -1169
  2. package/dist/builder-CnQFO7Gq.cjs +43 -0
  3. package/dist/{builder-components-DSJHI2nu.js → builder-components-D-YCuD-D.js} +337 -332
  4. package/dist/{builder-components-UursaaCl.cjs → builder-components-VjghhiN2.cjs} +2 -2
  5. package/dist/builder.cjs.js +1 -1
  6. package/dist/builder.es.js +129 -126
  7. package/dist/{charge-CV6CDlyS.cjs → charge-BSlqfF8j.cjs} +1 -1
  8. package/dist/{charge-DqIKczKZ.js → charge-MZi_xfIe.js} +6 -6
  9. package/dist/{checkout-CpLxUTON.js → checkout-DP0YAiOB.js} +5 -5
  10. package/dist/{checkout-4O6cOTX0.cjs → checkout-X7XMD-OB.cjs} +1 -1
  11. package/dist/exports.cjs.js +1 -1
  12. package/dist/exports.es.js +6 -6
  13. package/dist/{index-DM90koCO.cjs → index-3mJCQJiU.cjs} +1 -1
  14. package/dist/{index-B53jXp02.cjs → index-7zEe4e-T.cjs} +1 -1
  15. package/dist/{index-ZR7QDi-m.js → index-BQ-OGjfc.js} +5 -5
  16. package/dist/{index-r_f_fFTF.cjs → index-BmIXPuN8.cjs} +1 -1
  17. package/dist/{index-grjjFhjk.js → index-Bs1RNOaG.js} +1 -1
  18. package/dist/{index-DLPCB60C.js → index-BtMsyng7.js} +5 -5
  19. package/dist/{index-DUiPXMuo.js → index-CS18NKWD.js} +5 -5
  20. package/dist/{index-BsyHbaJG.js → index-CnpiXLcN.js} +2 -2
  21. package/dist/{index-CjZTkIzC.cjs → index-D2VapYho.cjs} +1 -1
  22. package/dist/{index-C2wWbxDq.cjs → index-DEPx2Mhc.cjs} +1 -1
  23. package/dist/{index-DyJO8nFm.js → index-DEdog3Tq.js} +5 -5
  24. package/dist/{index-DqTNA6ZA.cjs → index-DcaIpOYs.cjs} +1 -1
  25. package/dist/index.cjs.js +1 -1
  26. package/dist/index.es.js +6 -6
  27. package/dist/{order-moxkWNd6.cjs → order-CmpxNhN2.cjs} +1 -1
  28. package/dist/{order-D3rU8IVq.js → order-JpAF7zFI.js} +5 -5
  29. package/dist/src/builder/constants/block-icons.d.ts +96 -16
  30. package/dist/src/ui/ItemsSettings/popup.d.ts +14 -2
  31. package/dist/src/ui/Select/utils/index.d.ts +1 -1
  32. package/dist/style.css +1 -1
  33. package/dist/{subscription-B_y-731V.js → subscription-2jqv9XIK.js} +5 -5
  34. package/dist/{subscription-BFpuXkwj.cjs → subscription-CFSduwOC.cjs} +1 -1
  35. package/dist/{ticket-cyzamZMr.cjs → ticket-CYgJNT8X.cjs} +1 -1
  36. package/dist/{ticket-DyOQCnLn.js → ticket-CfkLSm70.js} +5 -5
  37. package/dist/{top-up-CZwhTxBd.js → top-up-DahJqmZg.js} +5 -5
  38. package/dist/{top-up-DBqmwfD8.cjs → top-up-odB3Qytv.cjs} +1 -1
  39. package/dist/ui-components-BeqAtEXu.cjs +1 -0
  40. package/dist/{ui-components-CP7ozRE2.js → ui-components-Bugw9fsk.js} +1035 -1014
  41. package/dist/ui.cjs.js +1 -1
  42. package/dist/ui.es.js +1 -1
  43. package/dist/{validation-B8Uc_LfB.cjs → validation-1RuE4Br5.cjs} +1 -1
  44. package/dist/{validation-BUi4M8nH.js → validation-CLJwGwJ2.js} +5 -5
  45. package/package.json +1 -1
  46. package/dist/builder-C3dJm9Z0.cjs +0 -43
  47. package/dist/ui-components-Xre_swDE.cjs +0 -1
@@ -1,12 +1,12 @@
1
1
  import { jsxs as w, jsx as c, Fragment as Pe } from "react/jsx-runtime";
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-ByDXET1Y.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-CP7ozRE2.js";
5
- import { unstable_batchedUpdates as Kt, createPortal as Vr } from "react-dom";
6
- import "./charge-DqIKczKZ.js";
7
- import "./ticket-DyOQCnLn.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 Pt, useContext as nt } from "react";
3
+ import { u as ne, a as Je, b as J, c as se, d as Po, e as Un, f as E, v as en, T as vt, g as $r, h as Vn, i as Fe, j as Lo, r as Fo, k as un, l as Et, m as X, n as zo, L as ot, o as Kn, p as rt, q as Pr, s as Gn, t as tt, w as dn, x as Yn, 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 Lt, R as bn, G as _n, H as Wo, I as tn, J as we, P as go, K as Hr } from "./builder-CAyJ72db.js";
4
+ import { I as R, u as Wr, B as qe, E as nn, c as ue, S as Ce, d as In, T as Ur } from "./ui-components-Bugw9fsk.js";
5
+ import { unstable_batchedUpdates as Vt, createPortal as Vr } from "react-dom";
6
+ import "./charge-MZi_xfIe.js";
7
+ import "./ticket-CfkLSm70.js";
8
8
  const Xn = ({ render: e, block: t }) => e(t), Uo = ({ settings: e, pageContext: t }) => {
9
- const { footer: n } = ne(), { settings: o } = qe(), { pageContext: r } = J(), { footer: s } = se();
9
+ const { footer: n } = ne(), { settings: o } = Je(), { pageContext: r } = J(), { footer: s } = se();
10
10
  if (!s || !n) return null;
11
11
  const i = new s();
12
12
  return Object.keys(n).map((a) => {
@@ -16,7 +16,7 @@ const Xn = ({ render: e, block: t }) => e(t), Uo = ({ settings: e, pageContext:
16
16
  t || r
17
17
  );
18
18
  }, Vo = ({ settings: e, pageContext: t }) => {
19
- const { header: n } = ne(), { settings: o } = qe(), { pageContext: r } = J(), { header: s } = se();
19
+ const { header: n } = ne(), { settings: o } = Je(), { pageContext: r } = J(), { header: s } = se();
20
20
  if (!s || !n) return null;
21
21
  const i = new s();
22
22
  return Object.keys(n).map((a) => {
@@ -29,7 +29,7 @@ const Xn = ({ render: e, block: t }) => e(t), Uo = ({ settings: e, pageContext:
29
29
  settings: e,
30
30
  pageContext: t
31
31
  }) => {
32
- const { announcement: n } = ne(), { settings: o } = qe(), { pageContext: r } = J(), { announcement: s } = se();
32
+ const { announcement: n } = ne(), { settings: o } = Je(), { pageContext: r } = J(), { announcement: s } = se();
33
33
  if (!s || !n) return null;
34
34
  const i = new s();
35
35
  return Object.keys(n).map((a) => {
@@ -56,7 +56,7 @@ function Kr() {
56
56
  t
57
57
  );
58
58
  }
59
- const fn = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u";
59
+ const hn = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u";
60
60
  function mt(e) {
61
61
  const t = Object.prototype.toString.call(e);
62
62
  return t === "[object Window]" || // In Electron context the Window object serializes to [object global]
@@ -75,16 +75,16 @@ function Jn(e) {
75
75
  } = ie(e);
76
76
  return e instanceof t;
77
77
  }
78
- function zt(e) {
78
+ function Ft(e) {
79
79
  return mt(e) ? !1 : e instanceof ie(e).HTMLElement;
80
80
  }
81
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) || Go(e) ? e.ownerDocument : document : document : document;
85
+ return e ? mt(e) ? e.document : qn(e) ? Jn(e) ? e : Ft(e) || Go(e) ? e.ownerDocument : document : document : document;
86
86
  }
87
- const Te = fn ? Mr : U;
87
+ const Te = hn ? Mr : U;
88
88
  function Qn(e) {
89
89
  const t = V(e);
90
90
  return Te(() => {
@@ -103,14 +103,14 @@ function Gr() {
103
103
  }, []);
104
104
  return [t, n];
105
105
  }
106
- function Ot(e, t) {
106
+ function Rt(e, t) {
107
107
  t === void 0 && (t = [e]);
108
108
  const n = V(e);
109
109
  return Te(() => {
110
110
  n.current !== e && (n.current = e);
111
111
  }, t), n;
112
112
  }
113
- function jt(e, t) {
113
+ function zt(e, t) {
114
114
  const n = V();
115
115
  return H(
116
116
  () => {
@@ -121,7 +121,7 @@ function jt(e, t) {
121
121
  [...t]
122
122
  );
123
123
  }
124
- function rn(e) {
124
+ function on(e) {
125
125
  const t = Qn(e), n = V(null), o = te(
126
126
  (r) => {
127
127
  r !== n.current && (t == null || t(r, n.current)), n.current = r;
@@ -131,19 +131,19 @@ function rn(e) {
131
131
  );
132
132
  return [n, o];
133
133
  }
134
- function Mn(e) {
134
+ function Tn(e) {
135
135
  const t = V();
136
136
  return U(() => {
137
137
  t.current = e;
138
138
  }, [e]), t.current;
139
139
  }
140
- let wn = {};
141
- function Ht(e, t) {
140
+ let yn = {};
141
+ function jt(e, t) {
142
142
  return H(() => {
143
143
  if (t)
144
144
  return t;
145
- const n = wn[e] == null ? 0 : wn[e] + 1;
146
- return wn[e] = n, e + "-" + n;
145
+ const n = yn[e] == null ? 0 : yn[e] + 1;
146
+ return yn[e] = n, e + "-" + n;
147
147
  }, [e, t]);
148
148
  }
149
149
  function Yo(e) {
@@ -162,7 +162,7 @@ function Yo(e) {
162
162
  });
163
163
  };
164
164
  }
165
- const pt = /* @__PURE__ */ Yo(1), sn = /* @__PURE__ */ Yo(-1);
165
+ const pt = /* @__PURE__ */ Yo(1), rn = /* @__PURE__ */ Yo(-1);
166
166
  function Yr(e) {
167
167
  return "clientX" in e && "clientY" in e;
168
168
  }
@@ -182,7 +182,7 @@ function Xr(e) {
182
182
  } = ie(e.target);
183
183
  return t && e instanceof t;
184
184
  }
185
- function Rn(e) {
185
+ function Mn(e) {
186
186
  if (Xr(e)) {
187
187
  if (e.touches && e.touches.length) {
188
188
  const {
@@ -209,7 +209,7 @@ function Rn(e) {
209
209
  y: e.clientY
210
210
  } : null;
211
211
  }
212
- const $t = /* @__PURE__ */ Object.freeze({
212
+ const Ot = /* @__PURE__ */ Object.freeze({
213
213
  Translate: {
214
214
  toString(e) {
215
215
  if (!e)
@@ -235,7 +235,7 @@ const $t = /* @__PURE__ */ Object.freeze({
235
235
  Transform: {
236
236
  toString(e) {
237
237
  if (e)
238
- return [$t.Translate.toString(e), $t.Scale.toString(e)].join(" ");
238
+ return [Ot.Translate.toString(e), Ot.Scale.toString(e)].join(" ");
239
239
  }
240
240
  },
241
241
  Transition: {
@@ -302,7 +302,7 @@ function es() {
302
302
  announcement: e
303
303
  };
304
304
  }
305
- const Xo = /* @__PURE__ */ Lt(null);
305
+ const Xo = /* @__PURE__ */ Pt(null);
306
306
  function ts(e) {
307
307
  const t = nt(Xo);
308
308
  U(() => {
@@ -368,7 +368,7 @@ function ss(e) {
368
368
  const {
369
369
  announce: s,
370
370
  announcement: i
371
- } = es(), a = Ht("DndLiveRegion"), [l, d] = he(!1);
371
+ } = es(), a = jt("DndLiveRegion"), [l, d] = he(!1);
372
372
  if (U(() => {
373
373
  d(!0);
374
374
  }, []), ts(H(() => ({
@@ -435,7 +435,7 @@ var G;
435
435
  (function(e) {
436
436
  e.DragStart = "dragStart", e.DragMove = "dragMove", e.DragEnd = "dragEnd", e.DragCancel = "dragCancel", e.DragOver = "dragOver", e.RegisterDroppable = "registerDroppable", e.SetDroppableDisabled = "setDroppableDisabled", e.UnregisterDroppable = "unregisterDroppable";
437
437
  })(G || (G = {}));
438
- function an() {
438
+ function sn() {
439
439
  }
440
440
  function is(e, t) {
441
441
  return H(
@@ -642,7 +642,7 @@ 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) || Go(r) || n.includes(r))
645
+ if (!Ft(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);
@@ -653,8 +653,8 @@ function Jo(e) {
653
653
  const [t] = eo(e, 1);
654
654
  return t ?? null;
655
655
  }
656
- function Cn(e) {
657
- return !fn || !e ? null : mt(e) ? e : qn(e) ? Jn(e) || e === bt(e).scrollingElement ? window : zt(e) ? e : null : null;
656
+ function wn(e) {
657
+ return !hn || !e ? null : mt(e) ? e : qn(e) ? Jn(e) || e === bt(e).scrollingElement ? window : Ft(e) ? e : null : null;
658
658
  }
659
659
  function Qo(e) {
660
660
  return mt(e) ? e.scrollX : e.scrollLeft;
@@ -662,7 +662,7 @@ function Qo(e) {
662
662
  function Zo(e) {
663
663
  return mt(e) ? e.scrollY : e.scrollTop;
664
664
  }
665
- function On(e) {
665
+ function Rn(e) {
666
666
  return {
667
667
  x: Qo(e),
668
668
  y: Zo(e)
@@ -673,7 +673,7 @@ var Y;
673
673
  e[e.Forward = 1] = "Forward", e[e.Backward = -1] = "Backward";
674
674
  })(Y || (Y = {}));
675
675
  function er(e) {
676
- return !fn || !e ? !1 : e === document.scrollingElement;
676
+ return !hn || !e ? !1 : e === document.scrollingElement;
677
677
  }
678
678
  function tr(e) {
679
679
  const t = {
@@ -761,7 +761,7 @@ function Ss(e) {
761
761
  };
762
762
  }
763
763
  function nr(e) {
764
- return e.reduce((t, n) => pt(t, On(n)), Se);
764
+ return e.reduce((t, n) => pt(t, Rn(n)), Se);
765
765
  }
766
766
  function xs(e) {
767
767
  return e.reduce((t, n) => t + Qo(n), 0);
@@ -825,7 +825,7 @@ function Ds(e) {
825
825
  } = ie(e);
826
826
  return e instanceof t ? e : bt(e);
827
827
  }
828
- function Sn(e, t) {
828
+ function Cn(e, t) {
829
829
  const n = Math.abs(e.x), o = Math.abs(e.y);
830
830
  return typeof t == "number" ? Math.sqrt(n ** 2 + o ** 2) > t : "x" in t && "y" in t ? n > t.x && o > t.y : "x" in t ? n > t.x : "y" in t ? o > t.y : !1;
831
831
  }
@@ -928,7 +928,7 @@ class rr {
928
928
  currentCoordinates: u
929
929
  });
930
930
  if (f) {
931
- const p = sn(f, u), g = {
931
+ const p = rn(f, u), g = {
932
932
  x: 0,
933
933
  y: 0
934
934
  }, {
@@ -976,7 +976,7 @@ class rr {
976
976
  break;
977
977
  }
978
978
  }
979
- this.handleMove(t, pt(sn(f, this.referenceCoordinates), g));
979
+ this.handleMove(t, pt(rn(f, this.referenceCoordinates), g));
980
980
  }
981
981
  }
982
982
  }
@@ -1038,7 +1038,7 @@ class no {
1038
1038
  } = t, {
1039
1039
  target: i
1040
1040
  } = s;
1041
- this.props = t, this.events = n, this.document = bt(i), this.documentListeners = new It(this.document), this.listeners = new It(o), this.windowListeners = new It(ie(i)), this.initialCoordinates = (r = Rn(s)) != null ? r : Se, this.handleStart = this.handleStart.bind(this), this.handleMove = this.handleMove.bind(this), this.handleEnd = this.handleEnd.bind(this), this.handleCancel = this.handleCancel.bind(this), this.handleKeydown = this.handleKeydown.bind(this), this.removeTextSelection = this.removeTextSelection.bind(this), this.attach();
1041
+ this.props = t, this.events = n, this.document = bt(i), this.documentListeners = new It(this.document), this.listeners = new It(o), this.windowListeners = new It(ie(i)), this.initialCoordinates = (r = Mn(s)) != null ? r : Se, this.handleStart = this.handleStart.bind(this), this.handleMove = this.handleMove.bind(this), this.handleEnd = this.handleEnd.bind(this), this.handleCancel = this.handleCancel.bind(this), this.handleKeydown = this.handleKeydown.bind(this), this.removeTextSelection = this.removeTextSelection.bind(this), this.attach();
1042
1042
  }
1043
1043
  attach() {
1044
1044
  const {
@@ -1104,15 +1104,15 @@ class no {
1104
1104
  } = s;
1105
1105
  if (!r)
1106
1106
  return;
1107
- const l = (n = Rn(t)) != null ? n : Se, d = sn(r, l);
1107
+ const l = (n = Mn(t)) != null ? n : Se, d = rn(r, l);
1108
1108
  if (!o && a) {
1109
1109
  if (bo(a)) {
1110
- if (a.tolerance != null && Sn(d, a.tolerance))
1110
+ if (a.tolerance != null && Cn(d, a.tolerance))
1111
1111
  return this.handleCancel();
1112
- if (Sn(d, a.distance))
1112
+ if (Cn(d, a.distance))
1113
1113
  return this.handleStart();
1114
1114
  }
1115
- if (_o(a) && Sn(d, a.tolerance))
1115
+ if (_o(a) && Cn(d, a.tolerance))
1116
1116
  return this.handleCancel();
1117
1117
  this.handlePending(a, d);
1118
1118
  return;
@@ -1181,10 +1181,10 @@ const Ts = {
1181
1181
  name: "mouseup"
1182
1182
  }
1183
1183
  };
1184
- var $n;
1184
+ var On;
1185
1185
  (function(e) {
1186
1186
  e[e.RightClick = 2] = "RightClick";
1187
- })($n || ($n = {}));
1187
+ })(On || (On = {}));
1188
1188
  class Ms extends no {
1189
1189
  constructor(t) {
1190
1190
  super(t, Ts, bt(t.event.target));
@@ -1198,12 +1198,12 @@ Ms.activators = [{
1198
1198
  } = e, {
1199
1199
  onActivation: o
1200
1200
  } = t;
1201
- return n.button === $n.RightClick ? !1 : (o == null || o({
1201
+ return n.button === On.RightClick ? !1 : (o == null || o({
1202
1202
  event: n
1203
1203
  }), !0);
1204
1204
  }
1205
1205
  }];
1206
- const xn = {
1206
+ const Sn = {
1207
1207
  cancel: {
1208
1208
  name: "touchcancel"
1209
1209
  },
@@ -1216,14 +1216,14 @@ const xn = {
1216
1216
  };
1217
1217
  class Rs extends no {
1218
1218
  constructor(t) {
1219
- super(t, xn);
1219
+ super(t, Sn);
1220
1220
  }
1221
1221
  static setup() {
1222
- return window.addEventListener(xn.move.name, t, {
1222
+ return window.addEventListener(Sn.move.name, t, {
1223
1223
  capture: !1,
1224
1224
  passive: !1
1225
1225
  }), function() {
1226
- window.removeEventListener(xn.move.name, t);
1226
+ window.removeEventListener(Sn.move.name, t);
1227
1227
  };
1228
1228
  function t() {
1229
1229
  }
@@ -1249,10 +1249,10 @@ var Tt;
1249
1249
  (function(e) {
1250
1250
  e[e.Pointer = 0] = "Pointer", e[e.DraggableRect = 1] = "DraggableRect";
1251
1251
  })(Tt || (Tt = {}));
1252
- var cn;
1252
+ var an;
1253
1253
  (function(e) {
1254
1254
  e[e.TreeOrder = 0] = "TreeOrder", e[e.ReversedTreeOrder = 1] = "ReversedTreeOrder";
1255
- })(cn || (cn = {}));
1255
+ })(an || (an = {}));
1256
1256
  function Os(e) {
1257
1257
  let {
1258
1258
  acceleration: t,
@@ -1261,7 +1261,7 @@ function Os(e) {
1261
1261
  draggingRect: r,
1262
1262
  enabled: s,
1263
1263
  interval: i = 5,
1264
- order: a = cn.TreeOrder,
1264
+ order: a = an.TreeOrder,
1265
1265
  pointerCoordinates: l,
1266
1266
  scrollableAncestors: d,
1267
1267
  scrollableAncestorRects: u,
@@ -1295,7 +1295,7 @@ function Os(e) {
1295
1295
  return;
1296
1296
  const _ = m.current.x * b.current.x, N = m.current.y * b.current.y;
1297
1297
  S.scrollBy(_, N);
1298
- }, []), x = H(() => a === cn.TreeOrder ? [...d].reverse() : d, [a, d]);
1298
+ }, []), x = H(() => a === an.TreeOrder ? [...d].reverse() : d, [a, d]);
1299
1299
  U(
1300
1300
  () => {
1301
1301
  if (!s || !d.length || !C) {
@@ -1363,8 +1363,8 @@ function Ps(e) {
1363
1363
  delta: t,
1364
1364
  disabled: n
1365
1365
  } = e;
1366
- const o = Mn(t);
1367
- return jt((r) => {
1366
+ const o = Tn(t);
1367
+ return zt((r) => {
1368
1368
  if (n || !o || !r)
1369
1369
  return $s;
1370
1370
  const s = {
@@ -1385,7 +1385,7 @@ function Ps(e) {
1385
1385
  }
1386
1386
  function Ls(e, t) {
1387
1387
  const n = t != null ? e.get(t) : void 0, o = n ? n.node.current : null;
1388
- return jt((r) => {
1388
+ return zt((r) => {
1389
1389
  var s;
1390
1390
  return t == null ? null : (s = o ?? r) != null ? s : null;
1391
1391
  }, [o, t]);
@@ -1401,14 +1401,14 @@ function Fs(e, t) {
1401
1401
  return [...n, ...s];
1402
1402
  }, []), [e, t]);
1403
1403
  }
1404
- var Pt;
1404
+ var $t;
1405
1405
  (function(e) {
1406
1406
  e[e.Always = 0] = "Always", e[e.BeforeDragging = 1] = "BeforeDragging", e[e.WhileDragging = 2] = "WhileDragging";
1407
- })(Pt || (Pt = {}));
1408
- var Pn;
1407
+ })($t || ($t = {}));
1408
+ var $n;
1409
1409
  (function(e) {
1410
1410
  e.Optimized = "optimized";
1411
- })(Pn || (Pn = {}));
1411
+ })($n || ($n = {}));
1412
1412
  const yo = /* @__PURE__ */ new Map();
1413
1413
  function zs(e, t) {
1414
1414
  let {
@@ -1420,9 +1420,9 @@ function zs(e, t) {
1420
1420
  frequency: a,
1421
1421
  measure: l,
1422
1422
  strategy: d
1423
- } = r, u = V(e), f = m(), p = Ot(f), g = te(function(b) {
1423
+ } = r, u = V(e), f = m(), p = Rt(f), g = te(function(b) {
1424
1424
  b === void 0 && (b = []), !p.current && i((C) => C === null ? b : C.concat(b.filter((v) => !C.includes(v))));
1425
- }, [p]), y = V(null), h = jt((b) => {
1425
+ }, [p]), y = V(null), h = zt((b) => {
1426
1426
  if (f && !n)
1427
1427
  return yo;
1428
1428
  if (!b || b === yo || u.current !== e || s != null) {
@@ -1470,9 +1470,9 @@ function zs(e, t) {
1470
1470
  };
1471
1471
  function m() {
1472
1472
  switch (d) {
1473
- case Pt.Always:
1473
+ case $t.Always:
1474
1474
  return !1;
1475
- case Pt.BeforeDragging:
1475
+ case $t.BeforeDragging:
1476
1476
  return n;
1477
1477
  default:
1478
1478
  return !n;
@@ -1480,7 +1480,7 @@ function zs(e, t) {
1480
1480
  }
1481
1481
  }
1482
1482
  function sr(e, t) {
1483
- return jt((n) => e ? n || (typeof t == "function" ? t(e) : e) : null, [t, e]);
1483
+ return zt((n) => e ? n || (typeof t == "function" ? t(e) : e) : null, [t, e]);
1484
1484
  }
1485
1485
  function js(e, t) {
1486
1486
  return sr(e, t);
@@ -1500,7 +1500,7 @@ function Hs(e) {
1500
1500
  }, [o, n]);
1501
1501
  return U(() => () => r == null ? void 0 : r.disconnect(), [r]), r;
1502
1502
  }
1503
- function gn(e) {
1503
+ function fn(e) {
1504
1504
  let {
1505
1505
  callback: t,
1506
1506
  disabled: n
@@ -1551,7 +1551,7 @@ function wo(e, t, n) {
1551
1551
  }
1552
1552
  }
1553
1553
  }
1554
- }), a = gn({
1554
+ }), a = fn({
1555
1555
  callback: s
1556
1556
  });
1557
1557
  return Te(() => {
@@ -1567,25 +1567,25 @@ function Us(e) {
1567
1567
  }
1568
1568
  const Co = [];
1569
1569
  function Vs(e) {
1570
- const t = V(e), n = jt((o) => e ? o && o !== Co && e && t.current && e.parentNode === t.current.parentNode ? o : eo(e) : Co, [e]);
1570
+ const t = V(e), n = zt((o) => e ? o && o !== Co && e && t.current && e.parentNode === t.current.parentNode ? o : eo(e) : Co, [e]);
1571
1571
  return U(() => {
1572
1572
  t.current = e;
1573
1573
  }, [e]), n;
1574
1574
  }
1575
1575
  function Ks(e) {
1576
1576
  const [t, n] = he(null), o = V(e), r = te((s) => {
1577
- const i = Cn(s.target);
1578
- i && n((a) => a ? (a.set(i, On(i)), new Map(a)) : null);
1577
+ const i = wn(s.target);
1578
+ i && n((a) => a ? (a.set(i, Rn(i)), new Map(a)) : null);
1579
1579
  }, []);
1580
1580
  return U(() => {
1581
1581
  const s = o.current;
1582
1582
  if (e !== s) {
1583
1583
  i(s);
1584
1584
  const a = e.map((l) => {
1585
- const d = Cn(l);
1585
+ const d = wn(l);
1586
1586
  return d ? (d.addEventListener("scroll", r, {
1587
1587
  passive: !0
1588
- }), [d, On(d)]) : null;
1588
+ }), [d, Rn(d)]) : null;
1589
1589
  }).filter((l) => l != null);
1590
1590
  n(a.length ? new Map(a) : null), o.current = e;
1591
1591
  }
@@ -1594,7 +1594,7 @@ function Ks(e) {
1594
1594
  };
1595
1595
  function i(a) {
1596
1596
  a.forEach((l) => {
1597
- const d = Cn(l);
1597
+ const d = wn(l);
1598
1598
  d == null || d.removeEventListener("scroll", r);
1599
1599
  });
1600
1600
  }
@@ -1612,12 +1612,12 @@ function So(e, t) {
1612
1612
  ), U(() => {
1613
1613
  const o = e !== Se;
1614
1614
  o && !n.current && (n.current = e), !o && n.current && (n.current = null);
1615
- }, [e]), n.current ? sn(e, n.current) : Se;
1615
+ }, [e]), n.current ? rn(e, n.current) : Se;
1616
1616
  }
1617
1617
  function Gs(e) {
1618
1618
  U(
1619
1619
  () => {
1620
- if (!fn)
1620
+ if (!hn)
1621
1621
  return;
1622
1622
  const t = e.map((n) => {
1623
1623
  let {
@@ -1661,7 +1661,7 @@ function Xs(e, t) {
1661
1661
  function i() {
1662
1662
  s(() => e.length ? e.map((l) => er(l) ? o : new to(t(l), l)) : xo);
1663
1663
  }
1664
- const a = gn({
1664
+ const a = fn({
1665
1665
  callback: i
1666
1666
  });
1667
1667
  return Te(() => {
@@ -1674,7 +1674,7 @@ function qs(e) {
1674
1674
  if (e.children.length > 1)
1675
1675
  return e;
1676
1676
  const t = e.children[0];
1677
- return zt(t) ? t : e;
1677
+ return Ft(t) ? t : e;
1678
1678
  }
1679
1679
  function Js(e) {
1680
1680
  let {
@@ -1684,7 +1684,7 @@ function Js(e) {
1684
1684
  for (const {
1685
1685
  target: u
1686
1686
  } of d)
1687
- if (zt(u)) {
1687
+ if (Ft(u)) {
1688
1688
  o((f) => {
1689
1689
  const p = t(u);
1690
1690
  return f ? {
@@ -1695,12 +1695,12 @@ function Js(e) {
1695
1695
  });
1696
1696
  break;
1697
1697
  }
1698
- }, [t]), s = gn({
1698
+ }, [t]), s = fn({
1699
1699
  callback: r
1700
1700
  }), i = te((d) => {
1701
1701
  const u = qs(d);
1702
1702
  s == null || s.disconnect(), u && (s == null || s.observe(u)), o(u ? t(u) : null);
1703
- }, [t, s]), [a, l] = rn(i);
1703
+ }, [t, s]), [a, l] = on(i);
1704
1704
  return H(() => ({
1705
1705
  nodeRef: a,
1706
1706
  rect: n,
@@ -1715,14 +1715,14 @@ const Qs = [{
1715
1715
  options: {}
1716
1716
  }], Zs = {
1717
1717
  current: {}
1718
- }, en = {
1718
+ }, Zt = {
1719
1719
  draggable: {
1720
1720
  measure: vo
1721
1721
  },
1722
1722
  droppable: {
1723
1723
  measure: vo,
1724
- strategy: Pt.WhileDragging,
1725
- frequency: Pn.Optimized
1724
+ strategy: $t.WhileDragging,
1725
+ frequency: $n.Optimized
1726
1726
  },
1727
1727
  dragOverlay: {
1728
1728
  measure: _t
@@ -1765,12 +1765,12 @@ const ei = {
1765
1765
  current: null
1766
1766
  },
1767
1767
  rect: null,
1768
- setRef: an
1768
+ setRef: sn
1769
1769
  },
1770
1770
  scrollableAncestors: [],
1771
1771
  scrollableAncestorRects: [],
1772
- measuringConfiguration: en,
1773
- measureDroppableContainers: an,
1772
+ measuringConfiguration: Zt,
1773
+ measureDroppableContainers: sn,
1774
1774
  windowRect: null,
1775
1775
  measuringScheduled: !1
1776
1776
  }, ti = {
@@ -1781,11 +1781,11 @@ const ei = {
1781
1781
  ariaDescribedById: {
1782
1782
  draggable: ""
1783
1783
  },
1784
- dispatch: an,
1784
+ dispatch: sn,
1785
1785
  draggableNodes: /* @__PURE__ */ new Map(),
1786
1786
  over: null,
1787
- measureDroppableContainers: an
1788
- }, pn = /* @__PURE__ */ Lt(ti), ar = /* @__PURE__ */ Lt(ei);
1787
+ measureDroppableContainers: sn
1788
+ }, gn = /* @__PURE__ */ Pt(ti), ar = /* @__PURE__ */ Pt(ei);
1789
1789
  function ni() {
1790
1790
  return {
1791
1791
  draggable: {
@@ -1906,7 +1906,7 @@ function ri(e) {
1906
1906
  active: n,
1907
1907
  activatorEvent: o,
1908
1908
  draggableNodes: r
1909
- } = nt(pn), s = Mn(o), i = Mn(n == null ? void 0 : n.id);
1909
+ } = nt(gn), s = Tn(o), i = Tn(n == null ? void 0 : n.id);
1910
1910
  return U(() => {
1911
1911
  if (!t && !o && s && i != null) {
1912
1912
  if (!Zn(s) || document.activeElement === s.target)
@@ -1948,15 +1948,15 @@ function ii(e) {
1948
1948
  return H(
1949
1949
  () => ({
1950
1950
  draggable: {
1951
- ...en.draggable,
1951
+ ...Zt.draggable,
1952
1952
  ...e == null ? void 0 : e.draggable
1953
1953
  },
1954
1954
  droppable: {
1955
- ...en.droppable,
1955
+ ...Zt.droppable,
1956
1956
  ...e == null ? void 0 : e.droppable
1957
1957
  },
1958
1958
  dragOverlay: {
1959
- ...en.dragOverlay,
1959
+ ...Zt.dragOverlay,
1960
1960
  ...e == null ? void 0 : e.dragOverlay
1961
1961
  }
1962
1962
  }),
@@ -1998,15 +1998,15 @@ function ai(e) {
1998
1998
  }
1999
1999
  }, [t, i, a, o, n]);
2000
2000
  }
2001
- const cr = /* @__PURE__ */ Lt({
2001
+ const cr = /* @__PURE__ */ Pt({
2002
2002
  ...Se,
2003
2003
  scaleX: 1,
2004
2004
  scaleY: 1
2005
2005
  });
2006
- var Ye;
2006
+ var Xe;
2007
2007
  (function(e) {
2008
2008
  e[e.Uninitialized = 0] = "Uninitialized", e[e.Initializing = 1] = "Initializing", e[e.Initialized = 2] = "Initialized";
2009
- })(Ye || (Ye = {}));
2009
+ })(Xe || (Xe = {}));
2010
2010
  const ci = /* @__PURE__ */ Rr(function(t) {
2011
2011
  var n, o, r, s;
2012
2012
  let {
@@ -2020,7 +2020,7 @@ const ci = /* @__PURE__ */ Rr(function(t) {
2020
2020
  modifiers: g,
2021
2021
  ...y
2022
2022
  } = t;
2023
- const h = Or(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(Xe.Uninitialized), S = k === Xe.Initialized, {
2024
2024
  draggable: {
2025
2025
  active: _,
2026
2026
  nodes: N,
@@ -2040,15 +2040,15 @@ const ci = /* @__PURE__ */ Rr(function(t) {
2040
2040
  data: (Z = $ == null ? void 0 : $.data) != null ? Z : Zs,
2041
2041
  rect: T
2042
2042
  } : null;
2043
- }, [_, $]), M = V(null), [W, oe] = he(null), [I, K] = he(null), ve = Ot(y, Object.values(y)), ze = Ht("DndDescribedBy", i), st = H(() => z.getEnabled(), [z]), Q = ii(p), {
2043
+ }, [_, $]), M = V(null), [W, oe] = he(null), [I, K] = he(null), ve = Rt(y, Object.values(y)), ze = jt("DndDescribedBy", i), st = H(() => z.getEnabled(), [z]), Q = ii(p), {
2044
2044
  droppableRects: me,
2045
2045
  measureDroppableContainers: xe,
2046
- measuringScheduled: Qe
2046
+ measuringScheduled: Ze
2047
2047
  } = zs(st, {
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 = Tr(), Me = js(F, Q.draggable.measure);
2051
+ }), F = Ls(N, _), it = H(() => I ? Mn(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__ */ Rr(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 = ir(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), pn = ir(ct ? ie(ct) : null), He = Vs(S ? at ?? F : null), Wt = Xs(He), Ut = si(g, {
2075
2075
  transform: {
2076
2076
  x: O.x - io.x,
2077
2077
  y: O.y - io.y,
@@ -2086,15 +2086,15 @@ const ci = /* @__PURE__ */ Rr(function(t) {
2086
2086
  over: ke.current.over,
2087
2087
  overlayNodeRect: Re.rect,
2088
2088
  scrollableAncestors: He,
2089
- scrollableAncestorRects: Ut,
2090
- windowRect: vn
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({
2089
+ scrollableAncestorRects: Wt,
2090
+ windowRect: pn
2091
+ }), ao = it ? pt(it, O) : null, co = Ks(He), kr = So(co), Ar = So(co, [j]), ut = pt(Ut, kr), dt = lt ? gs(lt, Ut) : 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), 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(
2097
+ }) : null, lo = ls(Ct, "id"), [We, uo] = he(null), Nr = so ? Ut : pt(Ut, Ar), Dr = hs(Nr, (s = We == null ? void 0 : We.rect) != null ? s : null, j), vn = V(null), ho = te(
2098
2098
  (Z, ae) => {
2099
2099
  let {
2100
2100
  sensor: ce,
@@ -2159,15 +2159,15 @@ const ci = /* @__PURE__ */ Rr(function(t) {
2159
2159
  rect: T
2160
2160
  }
2161
2161
  };
2162
- Kt(() => {
2163
- Oe == null || Oe(St), x(Ye.Initializing), b({
2162
+ Vt(() => {
2163
+ Oe == null || Oe(St), x(Xe.Initializing), b({
2164
2164
  type: G.DragStart,
2165
2165
  initialCoordinates: q,
2166
2166
  active: Ve
2167
2167
  }), C({
2168
2168
  type: "onDragStart",
2169
2169
  event: St
2170
- }), oe(mn.current), K(le);
2170
+ }), oe(vn.current), K(le);
2171
2171
  });
2172
2172
  },
2173
2173
  onMove(q) {
@@ -2179,7 +2179,7 @@ const ci = /* @__PURE__ */ Rr(function(t) {
2179
2179
  onEnd: ht(G.DragEnd),
2180
2180
  onCancel: ht(G.DragCancel)
2181
2181
  });
2182
- mn.current = Ae;
2182
+ vn.current = Ae;
2183
2183
  function ht(q) {
2184
2184
  return async function() {
2185
2185
  const {
@@ -2201,14 +2201,14 @@ const ci = /* @__PURE__ */ Rr(function(t) {
2201
2201
  over: St
2202
2202
  }, q === G.DragEnd && typeof kt == "function" && await Promise.resolve(kt(Ke)) && (q = G.DragCancel);
2203
2203
  }
2204
- M.current = null, Kt(() => {
2204
+ M.current = null, Vt(() => {
2205
2205
  b({
2206
2206
  type: q
2207
- }), x(Ye.Uninitialized), uo(null), oe(null), K(null), mn.current = null;
2207
+ }), x(Xe.Uninitialized), uo(null), oe(null), K(null), vn.current = null;
2208
2208
  const kt = q === G.DragEnd ? "onDragEnd" : "onDragCancel";
2209
2209
  if (Ke) {
2210
- const bn = ve.current[kt];
2211
- bn == null || bn(Ke), C({
2210
+ const mn = ve.current[kt];
2211
+ mn == null || mn(Ke), C({
2212
2212
  type: kt,
2213
2213
  event: Ke
2214
2214
  });
@@ -2236,7 +2236,7 @@ const ci = /* @__PURE__ */ Rr(function(t) {
2236
2236
  }, M.current = Ue, ho(ce, ae));
2237
2237
  }, [N, ho]), fo = Fs(u, Br);
2238
2238
  Gs(u), Te(() => {
2239
- j && k === Ye.Initializing && x(Ye.Initialized);
2239
+ j && k === Xe.Initializing && x(Xe.Initialized);
2240
2240
  }, [j, k]), U(
2241
2241
  () => {
2242
2242
  const {
@@ -2259,7 +2259,7 @@ const ci = /* @__PURE__ */ Rr(function(t) {
2259
2259
  },
2260
2260
  over: fe
2261
2261
  };
2262
- Kt(() => {
2262
+ Vt(() => {
2263
2263
  Z == null || Z(le), C({
2264
2264
  type: "onDragMove",
2265
2265
  event: le
@@ -2296,7 +2296,7 @@ const ci = /* @__PURE__ */ Rr(function(t) {
2296
2296
  },
2297
2297
  over: ht
2298
2298
  };
2299
- Kt(() => {
2299
+ Vt(() => {
2300
2300
  uo(ht), le == null || le(q), C({
2301
2301
  type: "onDragOver",
2302
2302
  event: q
@@ -2330,7 +2330,7 @@ const ci = /* @__PURE__ */ Rr(function(t) {
2330
2330
  draggingRect: dt,
2331
2331
  pointerCoordinates: ao,
2332
2332
  scrollableAncestors: He,
2333
- scrollableAncestorRects: Ut
2333
+ scrollableAncestorRects: Wt
2334
2334
  });
2335
2335
  const Er = H(() => ({
2336
2336
  active: P,
@@ -2346,11 +2346,11 @@ const ci = /* @__PURE__ */ Rr(function(t) {
2346
2346
  over: We,
2347
2347
  measureDroppableContainers: xe,
2348
2348
  scrollableAncestors: He,
2349
- scrollableAncestorRects: Ut,
2349
+ scrollableAncestorRects: Wt,
2350
2350
  measuringConfiguration: Q,
2351
- measuringScheduled: Qe,
2352
- windowRect: vn
2353
- }), [P, F, j, I, Ct, wt, Re, N, z, me, We, xe, He, Ut, Q, Qe, vn]), Ir = H(() => ({
2351
+ measuringScheduled: Ze,
2352
+ windowRect: pn
2353
+ }), [P, F, j, I, Ct, wt, Re, N, z, me, We, xe, He, Wt, Q, Ze, pn]), Ir = H(() => ({
2354
2354
  activatorEvent: I,
2355
2355
  activators: fo,
2356
2356
  active: P,
@@ -2365,7 +2365,7 @@ const ci = /* @__PURE__ */ Rr(function(t) {
2365
2365
  }), [I, fo, P, j, b, ze, N, We, xe]);
2366
2366
  return A.createElement(Xo.Provider, {
2367
2367
  value: v
2368
- }, A.createElement(pn.Provider, {
2368
+ }, A.createElement(gn.Provider, {
2369
2369
  value: Ir
2370
2370
  }, A.createElement(ar.Provider, {
2371
2371
  value: Er
@@ -2386,7 +2386,7 @@ const ci = /* @__PURE__ */ Rr(function(t) {
2386
2386
  enabled: ce
2387
2387
  };
2388
2388
  }
2389
- }), li = /* @__PURE__ */ Lt(null), ko = "button", ui = "Draggable";
2389
+ }), li = /* @__PURE__ */ Pt(null), ko = "button", ui = "Draggable";
2390
2390
  function di(e) {
2391
2391
  let {
2392
2392
  id: t,
@@ -2394,7 +2394,7 @@ function di(e) {
2394
2394
  disabled: o = !1,
2395
2395
  attributes: r
2396
2396
  } = e;
2397
- const s = Ht(ui), {
2397
+ const s = jt(ui), {
2398
2398
  activators: i,
2399
2399
  activatorEvent: a,
2400
2400
  active: l,
@@ -2402,11 +2402,11 @@ function di(e) {
2402
2402
  ariaDescribedById: u,
2403
2403
  draggableNodes: f,
2404
2404
  over: p
2405
- } = nt(pn), {
2405
+ } = nt(gn), {
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 ? cr : 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] = on(), [k, x] = on(), S = Ys(i, t), _ = Rt(n);
2410
2410
  Te(
2411
2411
  () => (f.set(t, {
2412
2412
  id: t,
@@ -2456,12 +2456,12 @@ function pi(e) {
2456
2456
  id: o,
2457
2457
  resizeObserverConfig: r
2458
2458
  } = e;
2459
- const s = Ht(fi), {
2459
+ const s = jt(fi), {
2460
2460
  active: i,
2461
2461
  dispatch: a,
2462
2462
  over: l,
2463
2463
  measureDroppableContainers: d
2464
- } = nt(pn), u = V({
2464
+ } = nt(gn), u = V({
2465
2465
  disabled: n
2466
2466
  }), f = V(!1), p = V(null), g = V(null), {
2467
2467
  disabled: y,
@@ -2470,7 +2470,7 @@ function pi(e) {
2470
2470
  } = {
2471
2471
  ...gi,
2472
2472
  ...r
2473
- }, b = Ot(h ?? o), C = te(
2473
+ }, b = Rt(h ?? o), C = te(
2474
2474
  () => {
2475
2475
  if (!f.current) {
2476
2476
  f.current = !0;
@@ -2482,12 +2482,12 @@ function pi(e) {
2482
2482
  },
2483
2483
  //eslint-disable-next-line react-hooks/exhaustive-deps
2484
2484
  [m]
2485
- ), v = gn({
2485
+ ), v = fn({
2486
2486
  callback: C,
2487
2487
  disabled: y || !i
2488
2488
  }), k = te((N, O) => {
2489
2489
  v && (O && (v.unobserve(O), f.current = !1), N && v.observe(N));
2490
- }, [v]), [x, S] = rn(k), _ = Ot(t);
2490
+ }, [v]), [x, S] = on(k), _ = Rt(t);
2491
2491
  return U(() => {
2492
2492
  !v || !x.current || (v.disconnect(), f.current = !1, v.observe(x.current));
2493
2493
  }, [x, v]), U(
@@ -2534,7 +2534,7 @@ function vi(e, t) {
2534
2534
  return s && (n[r] = s), n;
2535
2535
  }, Array(e.length));
2536
2536
  }
2537
- function Gt(e) {
2537
+ function Kt(e) {
2538
2538
  return e !== null && e >= 0;
2539
2539
  }
2540
2540
  function mi(e, t) {
@@ -2567,7 +2567,7 @@ const ur = (e) => {
2567
2567
  scaleX: a.width / i.width,
2568
2568
  scaleY: a.height / i.height
2569
2569
  };
2570
- }, Yt = {
2570
+ }, Gt = {
2571
2571
  scaleX: 1,
2572
2572
  scaleY: 1
2573
2573
  }, _i = (e) => {
@@ -2587,22 +2587,22 @@ const ur = (e) => {
2587
2587
  return d ? {
2588
2588
  x: 0,
2589
2589
  y: n < i ? d.top + d.height - (a.top + a.height) : d.top - a.top,
2590
- ...Yt
2590
+ ...Gt
2591
2591
  } : null;
2592
2592
  }
2593
2593
  const l = yi(s, r, n);
2594
2594
  return r > n && r <= i ? {
2595
2595
  x: 0,
2596
2596
  y: -a.height - l,
2597
- ...Yt
2597
+ ...Gt
2598
2598
  } : r < n && r >= i ? {
2599
2599
  x: 0,
2600
2600
  y: a.height + l,
2601
- ...Yt
2601
+ ...Gt
2602
2602
  } : {
2603
2603
  x: 0,
2604
2604
  y: 0,
2605
- ...Yt
2605
+ ...Gt
2606
2606
  };
2607
2607
  };
2608
2608
  function yi(e, t, n) {
@@ -2637,7 +2637,7 @@ function wi(e) {
2637
2637
  droppableRects: l,
2638
2638
  over: d,
2639
2639
  measureDroppableContainers: u
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);
2640
+ } = hi(), f = jt(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(() => {
@@ -2686,7 +2686,7 @@ const Ci = (e) => {
2686
2686
  }, xi = {
2687
2687
  duration: 200,
2688
2688
  easing: "ease"
2689
- }, fr = "transform", ki = /* @__PURE__ */ $t.Transition.toString({
2689
+ }, fr = "transform", ki = /* @__PURE__ */ Ot.Transition.toString({
2690
2690
  property: fr,
2691
2691
  duration: 0,
2692
2692
  easing: "linear"
@@ -2782,13 +2782,13 @@ function Di(e) {
2782
2782
  ...n
2783
2783
  },
2784
2784
  disabled: v.draggable
2785
- }), st = Kr(z, W), Q = !!$, me = Q && !y && Gt(p) && Gt(m), xe = !b && I, Qe = xe && me ? ze : null, it = me ? Qe ?? (a ?? C)({
2785
+ }), st = Kr(z, W), Q = !!$, me = Q && !y && Kt(p) && Kt(m), xe = !b && I, Ze = xe && me ? ze : null, it = me ? Ze ?? (a ?? C)({
2786
2786
  rects: h,
2787
2787
  activeNodeRect: P,
2788
2788
  activeIndex: p,
2789
2789
  overIndex: m,
2790
2790
  index: k
2791
- }) : null, je = Gt(p) && Gt(m) ? s({
2791
+ }) : null, je = Kt(p) && Kt(m) ? s({
2792
2792
  id: i,
2793
2793
  items: u,
2794
2794
  activeIndex: p,
@@ -2861,7 +2861,7 @@ function Di(e) {
2861
2861
  )
2862
2862
  return ki;
2863
2863
  if (!(xe && !Zn(T) || !d) && (Q || ke))
2864
- return $t.Transition.toString({
2864
+ return Ot.Transition.toString({
2865
2865
  ...d,
2866
2866
  property: fr
2867
2867
  });
@@ -2909,7 +2909,7 @@ function Mi(e) {
2909
2909
  function de(e) {
2910
2910
  return e != null;
2911
2911
  }
2912
- function kn(e) {
2912
+ function xn(e) {
2913
2913
  return !e.trim().length;
2914
2914
  }
2915
2915
  function vr(e) {
@@ -2940,21 +2940,21 @@ class Fi {
2940
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
- o = e, t = No(e), n = Ln(e);
2943
+ o = e, t = No(e), n = Pn(e);
2944
2944
  else {
2945
2945
  if (!Ao.call(e, "name"))
2946
2946
  throw new Error(Pi("name"));
2947
2947
  const i = e.name;
2948
2948
  if (o = i, Ao.call(e, "weight") && (r = e.weight, r <= 0))
2949
2949
  throw new Error(Li(i));
2950
- t = No(i), n = Ln(i), s = e.getFn;
2950
+ t = No(i), n = Pn(i), s = e.getFn;
2951
2951
  }
2952
2952
  return { path: t, id: n, weight: r, src: o, getFn: s };
2953
2953
  }
2954
2954
  function No(e) {
2955
2955
  return Le(e) ? e : e.split(".");
2956
2956
  }
2957
- function Ln(e) {
2957
+ function Pn(e) {
2958
2958
  return Le(e) ? e.join(".") : e;
2959
2959
  }
2960
2960
  function zi(e, t) {
@@ -3097,7 +3097,7 @@ class ro {
3097
3097
  return this.records.length;
3098
3098
  }
3099
3099
  _addString(t, n) {
3100
- if (!de(t) || kn(t))
3100
+ if (!de(t) || xn(t))
3101
3101
  return;
3102
3102
  let o = {
3103
3103
  v: t,
@@ -3117,7 +3117,7 @@ class ro {
3117
3117
  for (; l.length; ) {
3118
3118
  const { nestedArrIndex: d, value: u } = l.pop();
3119
3119
  if (de(u))
3120
- if (Ie(u) && !kn(u)) {
3120
+ if (Ie(u) && !xn(u)) {
3121
3121
  let f = {
3122
3122
  v: u,
3123
3123
  i: d,
@@ -3132,7 +3132,7 @@ class ro {
3132
3132
  });
3133
3133
  }
3134
3134
  o.$[s] = a;
3135
- } else if (Ie(i) && !kn(i)) {
3135
+ } else if (Ie(i) && !xn(i)) {
3136
3136
  let a = {
3137
3137
  v: i,
3138
3138
  n: this.norm.get(i)
@@ -3157,7 +3157,7 @@ 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
  }
3160
- function Xt(e, {
3160
+ function Yt(e, {
3161
3161
  errors: t = 0,
3162
3162
  currentLocation: n = 0,
3163
3163
  expectedLocation: o = 0,
@@ -3195,7 +3195,7 @@ function Xi(e, t, n, {
3195
3195
  const h = a > 1 || l, m = h ? Array(f) : [];
3196
3196
  let b;
3197
3197
  for (; (b = e.indexOf(t, y)) > -1; ) {
3198
- let _ = Xt(t, {
3198
+ let _ = Yt(t, {
3199
3199
  currentLocation: b,
3200
3200
  expectedLocation: p,
3201
3201
  distance: r,
@@ -3213,7 +3213,7 @@ function Xi(e, t, n, {
3213
3213
  for (let _ = 0; _ < u; _ += 1) {
3214
3214
  let N = 0, O = k;
3215
3215
  for (; N < O; )
3216
- Xt(t, {
3216
+ Yt(t, {
3217
3217
  errors: _,
3218
3218
  currentLocation: p + O,
3219
3219
  expectedLocation: p,
@@ -3225,7 +3225,7 @@ function Xi(e, t, n, {
3225
3225
  T[$ + 1] = (1 << _) - 1;
3226
3226
  for (let M = $; M >= z; M -= 1) {
3227
3227
  let W = M - 1, oe = n[e.charAt(W)];
3228
- if (h && (m[W] = +!!oe), T[M] = (T[M + 1] << 1 | 1) & oe, _ && (T[M] |= (C[M + 1] | C[M]) << 1 | 1 | C[M + 1]), T[M] & x && (v = Xt(t, {
3228
+ if (h && (m[W] = +!!oe), T[M] = (T[M + 1] << 1 | 1) & oe, _ && (T[M] |= (C[M + 1] | C[M]) << 1 | 1 | C[M + 1]), T[M] & x && (v = Yt(t, {
3229
3229
  errors: _,
3230
3230
  currentLocation: W,
3231
3231
  expectedLocation: p,
@@ -3237,7 +3237,7 @@ function Xi(e, t, n, {
3237
3237
  z = Math.max(1, 2 * p - y);
3238
3238
  }
3239
3239
  }
3240
- if (Xt(t, {
3240
+ if (Yt(t, {
3241
3241
  errors: _ + 1,
3242
3242
  currentLocation: p,
3243
3243
  expectedLocation: p,
@@ -3266,7 +3266,7 @@ function qi(e) {
3266
3266
  }
3267
3267
  return t;
3268
3268
  }
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;
3269
+ const cn = 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
3270
  class _r {
3271
3271
  constructor(t, {
3272
3272
  location: n = B.location,
@@ -3289,7 +3289,7 @@ class _r {
3289
3289
  isCaseSensitive: l,
3290
3290
  ignoreDiacritics: d,
3291
3291
  ignoreLocation: u
3292
- }, t = l ? t : t.toLowerCase(), t = d ? ln(t) : t, this.pattern = t, this.chunks = [], !this.pattern.length)
3292
+ }, t = l ? t : t.toLowerCase(), t = d ? cn(t) : t, this.pattern = t, this.chunks = [], !this.pattern.length)
3293
3293
  return;
3294
3294
  const f = (g, y) => {
3295
3295
  this.chunks.push({
@@ -3312,7 +3312,7 @@ class _r {
3312
3312
  }
3313
3313
  searchIn(t) {
3314
3314
  const { isCaseSensitive: n, ignoreDiacritics: o, includeMatches: r } = this.options;
3315
- if (t = n ? t : t.toLowerCase(), t = o ? ln(t) : t, this.pattern === t) {
3315
+ if (t = n ? t : t.toLowerCase(), t = o ? cn(t) : t, this.pattern === t) {
3316
3316
  let h = {
3317
3317
  isMatch: !0,
3318
3318
  score: 0
@@ -3347,7 +3347,7 @@ class _r {
3347
3347
  return g && r && (y.indices = f), y;
3348
3348
  }
3349
3349
  }
3350
- class Je {
3350
+ class Qe {
3351
3351
  constructor(t) {
3352
3352
  this.pattern = t;
3353
3353
  }
@@ -3364,7 +3364,7 @@ function Do(e, t) {
3364
3364
  const n = e.match(t);
3365
3365
  return n ? n[1] : null;
3366
3366
  }
3367
- class Ji extends Je {
3367
+ class Ji extends Qe {
3368
3368
  constructor(t) {
3369
3369
  super(t);
3370
3370
  }
@@ -3386,7 +3386,7 @@ class Ji extends Je {
3386
3386
  };
3387
3387
  }
3388
3388
  }
3389
- class Qi extends Je {
3389
+ class Qi extends Qe {
3390
3390
  constructor(t) {
3391
3391
  super(t);
3392
3392
  }
@@ -3408,7 +3408,7 @@ class Qi extends Je {
3408
3408
  };
3409
3409
  }
3410
3410
  }
3411
- class Zi extends Je {
3411
+ class Zi extends Qe {
3412
3412
  constructor(t) {
3413
3413
  super(t);
3414
3414
  }
@@ -3430,7 +3430,7 @@ class Zi extends Je {
3430
3430
  };
3431
3431
  }
3432
3432
  }
3433
- class ea extends Je {
3433
+ class ea extends Qe {
3434
3434
  constructor(t) {
3435
3435
  super(t);
3436
3436
  }
@@ -3452,7 +3452,7 @@ class ea extends Je {
3452
3452
  };
3453
3453
  }
3454
3454
  }
3455
- class ta extends Je {
3455
+ class ta extends Qe {
3456
3456
  constructor(t) {
3457
3457
  super(t);
3458
3458
  }
@@ -3474,7 +3474,7 @@ class ta extends Je {
3474
3474
  };
3475
3475
  }
3476
3476
  }
3477
- class na extends Je {
3477
+ class na extends Qe {
3478
3478
  constructor(t) {
3479
3479
  super(t);
3480
3480
  }
@@ -3496,7 +3496,7 @@ class na extends Je {
3496
3496
  };
3497
3497
  }
3498
3498
  }
3499
- class yr extends Je {
3499
+ class yr extends Qe {
3500
3500
  constructor(t, {
3501
3501
  location: n = B.location,
3502
3502
  threshold: o = B.threshold,
@@ -3533,7 +3533,7 @@ class yr extends Je {
3533
3533
  return this._bitapSearch.searchIn(t);
3534
3534
  }
3535
3535
  }
3536
- class wr extends Je {
3536
+ class wr extends Qe {
3537
3537
  constructor(t) {
3538
3538
  super(t);
3539
3539
  }
@@ -3559,7 +3559,7 @@ class wr extends Je {
3559
3559
  };
3560
3560
  }
3561
3561
  }
3562
- const Fn = [
3562
+ const Ln = [
3563
3563
  Ji,
3564
3564
  wr,
3565
3565
  Zi,
@@ -3568,7 +3568,7 @@ const Fn = [
3568
3568
  ta,
3569
3569
  Qi,
3570
3570
  yr
3571
- ], Bo = Fn.length, oa = / +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/, ra = "|";
3571
+ ], Bo = Ln.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 = [];
@@ -3576,13 +3576,13 @@ function sa(e, t = {}) {
3576
3576
  const a = o[s];
3577
3577
  let l = !1, d = -1;
3578
3578
  for (; !l && ++d < Bo; ) {
3579
- const u = Fn[d];
3579
+ const u = Ln[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
3584
  for (d = -1; ++d < Bo; ) {
3585
- const u = Fn[d];
3585
+ const u = Ln[d];
3586
3586
  let f = u.isSingleMatch(a);
3587
3587
  if (f) {
3588
3588
  r.push(new u(f, t));
@@ -3616,7 +3616,7 @@ class aa {
3616
3616
  location: l,
3617
3617
  threshold: d,
3618
3618
  distance: u
3619
- }, t = n ? t : t.toLowerCase(), t = o ? ln(t) : t, this.pattern = t, this.query = sa(this.pattern, this.options);
3619
+ }, t = n ? t : t.toLowerCase(), t = o ? cn(t) : t, this.pattern = t, this.query = sa(this.pattern, this.options);
3620
3620
  }
3621
3621
  static condition(t, n) {
3622
3622
  return n.useExtendedSearch;
@@ -3629,7 +3629,7 @@ class aa {
3629
3629
  score: 1
3630
3630
  };
3631
3631
  const { includeMatches: o, isCaseSensitive: r, ignoreDiacritics: s } = this.options;
3632
- t = r ? t : t.toLowerCase(), t = s ? ln(t) : t;
3632
+ t = r ? t : t.toLowerCase(), t = s ? cn(t) : t;
3633
3633
  let i = 0, a = [], l = 0;
3634
3634
  for (let d = 0, u = n.length; d < u; d += 1) {
3635
3635
  const f = n[d];
@@ -3660,26 +3660,26 @@ class aa {
3660
3660
  };
3661
3661
  }
3662
3662
  }
3663
- const zn = [];
3663
+ const Fn = [];
3664
3664
  function ca(...e) {
3665
- zn.push(...e);
3665
+ Fn.push(...e);
3666
3666
  }
3667
- function jn(e, t) {
3668
- for (let n = 0, o = zn.length; n < o; n += 1) {
3669
- let r = zn[n];
3667
+ function zn(e, t) {
3668
+ for (let n = 0, o = Fn.length; n < o; n += 1) {
3669
+ let r = Fn[n];
3670
3670
  if (r.condition(e, t))
3671
3671
  return new r(e, t);
3672
3672
  }
3673
3673
  return new _r(e, t);
3674
3674
  }
3675
- const un = {
3675
+ const ln = {
3676
3676
  AND: "$and",
3677
3677
  OR: "$or"
3678
- }, Hn = {
3678
+ }, jn = {
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) && pr(e) && !Wn(e), Eo = (e) => ({
3682
- [un.AND]: Object.keys(e).map((t) => ({
3681
+ }, Hn = (e) => !!(e[ln.AND] || e[ln.OR]), la = (e) => !!e[jn.PATH], ua = (e) => !Le(e) && pr(e) && !Hn(e), Eo = (e) => ({
3682
+ [ln.AND]: Object.keys(e).map((t) => ({
3683
3683
  [t]: e[t]
3684
3684
  }))
3685
3685
  });
@@ -3687,17 +3687,17 @@ 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
- if (!i && s.length > 1 && !Wn(r))
3690
+ if (!i && s.length > 1 && !Hn(r))
3691
3691
  return o(Eo(r));
3692
3692
  if (ua(r)) {
3693
- const l = i ? r[Hn.PATH] : s[0], d = i ? r[Hn.PATTERN] : r[l];
3693
+ const l = i ? r[jn.PATH] : s[0], d = i ? r[jn.PATTERN] : r[l];
3694
3694
  if (!Ie(d))
3695
3695
  throw new Error(Oi(l));
3696
3696
  const u = {
3697
- keyId: Ln(l),
3697
+ keyId: Pn(l),
3698
3698
  pattern: d
3699
3699
  };
3700
- return n && (u.searcher = jn(d, t)), u;
3700
+ return n && (u.searcher = zn(d, t)), u;
3701
3701
  }
3702
3702
  let a = {
3703
3703
  children: [],
@@ -3710,7 +3710,7 @@ function Cr(e, t, { auto: n = !0 } = {}) {
3710
3710
  });
3711
3711
  }), a;
3712
3712
  };
3713
- return Wn(e) || (e = Eo(e)), o(e);
3713
+ return Hn(e) || (e = Eo(e)), o(e);
3714
3714
  }
3715
3715
  function da(e, { ignoreFieldNorm: t = B.ignoreFieldNorm }) {
3716
3716
  e.forEach((n) => {
@@ -3799,7 +3799,7 @@ class yt {
3799
3799
  });
3800
3800
  }
3801
3801
  _searchStringList(t) {
3802
- const n = jn(t, this.options), { records: o } = this._myIndex, r = [];
3802
+ const n = zn(t, this.options), { records: o } = this._myIndex, r = [];
3803
3803
  return o.forEach(({ v: s, i, n: a }) => {
3804
3804
  if (!de(s))
3805
3805
  return;
@@ -3832,7 +3832,7 @@ class yt {
3832
3832
  const g = a.children[f], y = o(g, l, d);
3833
3833
  if (y.length)
3834
3834
  u.push(...y);
3835
- else if (a.operator === un.AND)
3835
+ else if (a.operator === ln.AND)
3836
3836
  return [];
3837
3837
  }
3838
3838
  return u;
@@ -3847,7 +3847,7 @@ class yt {
3847
3847
  }), i;
3848
3848
  }
3849
3849
  _searchObjectList(t) {
3850
- const n = jn(t, this.options), { keys: o, records: r } = this._myIndex, s = [];
3850
+ const n = zn(t, this.options), { keys: o, records: r } = this._myIndex, s = [];
3851
3851
  return r.forEach(({ $: i, i: a }) => {
3852
3852
  if (!de(i))
3853
3853
  return;
@@ -3898,7 +3898,7 @@ yt.parseIndex = Gi;
3898
3898
  yt.config = B;
3899
3899
  yt.parseQuery = Cr;
3900
3900
  ca(aa);
3901
- const pa = "_header_17vny_1", va = "_left_17vny_14", ma = "_right_17vny_15", qt = {
3901
+ const pa = "_header_17vny_1", va = "_left_17vny_14", ma = "_right_17vny_15", Xt = {
3902
3902
  header: pa,
3903
3903
  left: va,
3904
3904
  right: ma
@@ -3907,7 +3907,7 @@ const pa = "_header_17vny_1", va = "_left_17vny_14", ma = "_right_17vny_15", qt
3907
3907
  button: _a,
3908
3908
  disabled: ya
3909
3909
  }, wa = () => {
3910
- const { undo: e, redo: t, past: n, future: o } = Po(), [r, s] = A.useState(!1), [i, a] = A.useState(!1), [l, d] = A.useState(!1), [u, f] = A.useState(!1), [p, g] = A.useState(null), { notifications: y, setNotifications: h } = Vn();
3910
+ const { undo: e, redo: t, past: n, future: o } = Po(), [r, s] = A.useState(!1), [i, a] = A.useState(!1), [l, d] = A.useState(!1), [u, f] = A.useState(!1), [p, g] = A.useState(null), { notifications: y, setNotifications: h } = Un();
3911
3911
  return A.useEffect(() => {
3912
3912
  s(n.length === 0);
3913
3913
  }, [n]), A.useEffect(() => {
@@ -3939,7 +3939,7 @@ const pa = "_header_17vny_1", va = "_left_17vny_14", ma = "_right_17vny_15", qt
3939
3939
  r || (e(), h([
3940
3940
  ...y,
3941
3941
  {
3942
- id: tn(),
3942
+ id: en(),
3943
3943
  message: "Changes undone",
3944
3944
  status: "success"
3945
3945
  }
@@ -3978,7 +3978,7 @@ const pa = "_header_17vny_1", va = "_left_17vny_14", ma = "_right_17vny_15", qt
3978
3978
  i || (t(), h([
3979
3979
  ...y,
3980
3980
  {
3981
- id: tn(),
3981
+ id: en(),
3982
3982
  message: "Changes redone",
3983
3983
  status: "success"
3984
3984
  }
@@ -3992,17 +3992,17 @@ const pa = "_header_17vny_1", va = "_left_17vny_14", ma = "_right_17vny_15", qt
3992
3992
  }
3993
3993
  )
3994
3994
  ] });
3995
- }, Ca = "_devices_vftsw_1", Sa = "_device_vftsw_1", xa = "_active_vftsw_27", Un = {
3995
+ }, Ca = "_devices_vftsw_1", Sa = "_device_vftsw_1", xa = "_active_vftsw_27", Wn = {
3996
3996
  devices: Ca,
3997
3997
  device: Sa,
3998
3998
  active: xa
3999
- }, ka = () => /* @__PURE__ */ c("div", { className: Un.devices, children: $r.map((e) => /* @__PURE__ */ c(Aa, { device: e })) }), Aa = (e) => {
4000
- const { device: t } = e, { currentDevice: n, setCurrentDevice: o } = Kn(), [r, s] = A.useState(!1), [i, a] = A.useState(null);
3999
+ }, ka = () => /* @__PURE__ */ c("div", { className: Wn.devices, children: $r.map((e) => /* @__PURE__ */ c(Aa, { device: e })) }), Aa = (e) => {
4000
+ const { device: t } = e, { currentDevice: n, setCurrentDevice: o } = Vn(), [r, s] = A.useState(!1), [i, a] = A.useState(null);
4001
4001
  return /* @__PURE__ */ w(
4002
4002
  "div",
4003
4003
  {
4004
- className: E(Un.device, {
4005
- [Un.active]: n.value === t.value
4004
+ className: E(Wn.device, {
4005
+ [Wn.active]: n.value === t.value
4006
4006
  }),
4007
4007
  onClick: () => o(t),
4008
4008
  onMouseEnter: () => {
@@ -4029,7 +4029,7 @@ const pa = "_header_17vny_1", va = "_left_17vny_14", ma = "_right_17vny_15", qt
4029
4029
  },
4030
4030
  t.value
4031
4031
  );
4032
- }, Na = "_preview_1hcqg_2", Da = "_active_1hcqg_19", An = {
4032
+ }, Na = "_preview_1hcqg_2", Da = "_active_1hcqg_19", kn = {
4033
4033
  preview: Na,
4034
4034
  active: Da
4035
4035
  }, Ba = () => {
@@ -4038,8 +4038,8 @@ const pa = "_header_17vny_1", va = "_left_17vny_14", ma = "_right_17vny_15", qt
4038
4038
  "a",
4039
4039
  {
4040
4040
  href: "/",
4041
- className: E(An.preview, {
4042
- [An.active]: e
4041
+ className: E(kn.preview, {
4042
+ [kn.active]: e
4043
4043
  }),
4044
4044
  target: "_blank",
4045
4045
  onMouseEnter: () => {
@@ -4060,7 +4060,7 @@ const pa = "_header_17vny_1", va = "_left_17vny_14", ma = "_right_17vny_15", qt
4060
4060
  height: 20
4061
4061
  }
4062
4062
  ),
4063
- /* @__PURE__ */ c("span", { className: An.text, children: "Preview" }),
4063
+ /* @__PURE__ */ c("span", { className: kn.text, children: "Preview" }),
4064
4064
  t && /* @__PURE__ */ c(vt, { text: "Open draft theme in new tab" })
4065
4065
  ]
4066
4066
  }
@@ -4095,7 +4095,7 @@ const pa = "_header_17vny_1", va = "_left_17vny_14", ma = "_right_17vny_15", qt
4095
4095
  setEditedPage: s,
4096
4096
  deletePage: i,
4097
4097
  setIsOpenSelectModal: a
4098
- } = J(), { deletePage: l, setCurrentBlock: d } = ne(), [u, f] = A.useState(null), { setTitle: p, setDescription: g, setOnConfirm: y } = dn(), [h, m] = A.useState(!1), b = A.useRef(null);
4098
+ } = J(), { deletePage: l, setCurrentBlock: d } = ne(), [u, f] = A.useState(null), { setTitle: p, setDescription: g, setOnConfirm: y } = un(), [h, m] = A.useState(!1), b = A.useRef(null);
4099
4099
  Wr(b, () => {
4100
4100
  h && m(!1);
4101
4101
  }), A.useEffect(() => {
@@ -4209,7 +4209,7 @@ const pa = "_header_17vny_1", va = "_left_17vny_14", ma = "_right_17vny_15", qt
4209
4209
  R,
4210
4210
  {
4211
4211
  name: "Check",
4212
- fill: "#FF3F19"
4212
+ fill: "var(--brand-color)"
4213
4213
  }
4214
4214
  )
4215
4215
  ]
@@ -4219,7 +4219,7 @@ const pa = "_header_17vny_1", va = "_left_17vny_14", ma = "_right_17vny_15", qt
4219
4219
  }) }),
4220
4220
  /* @__PURE__ */ c("div", { className: be.separator }),
4221
4221
  /* @__PURE__ */ w(
4222
- Xe,
4222
+ qe,
4223
4223
  {
4224
4224
  className: be.button,
4225
4225
  onClick: (v) => {
@@ -4231,7 +4231,7 @@ const pa = "_header_17vny_1", va = "_left_17vny_14", ma = "_right_17vny_15", qt
4231
4231
  R,
4232
4232
  {
4233
4233
  name: "Plus",
4234
- fill: "#ff3f19"
4234
+ fill: "var(--brand-color)"
4235
4235
  }
4236
4236
  ),
4237
4237
  /* @__PURE__ */ c("span", { children: "Create New Page" })
@@ -4244,7 +4244,7 @@ const pa = "_header_17vny_1", va = "_left_17vny_14", ma = "_right_17vny_15", qt
4244
4244
  ]
4245
4245
  }
4246
4246
  );
4247
- }, Ha = "_zoom_fu0hj_1", Io = {
4247
+ }, Ha = "_zoom_16goq_1", Io = {
4248
4248
  zoom: Ha
4249
4249
  }, Wa = () => {
4250
4250
  const { zoomLevel: e, setZoomLevel: t } = Fe();
@@ -4349,9 +4349,9 @@ function Ja(e, t) {
4349
4349
  return null;
4350
4350
  }
4351
4351
  const Qa = ({ setIsLoading: e, isLoading: t }) => {
4352
- const { themeSettings: n } = X(), { settings: o } = qe(), [r, s] = A.useState(null), [i, a] = A.useState(!1), { setNotifications: l, notifications: d } = Vn(), { header: u, footer: f, announcement: p, blocks: g } = ne(), { pageContext: y } = J(), { pages: h } = J();
4352
+ const { themeSettings: n } = X(), { settings: o } = Je(), [r, s] = A.useState(null), [i, a] = A.useState(!1), { setNotifications: l, notifications: d } = Un(), { header: u, footer: f, announcement: p, blocks: g } = ne(), { pageContext: y } = J(), { pages: h } = J();
4353
4353
  return /* @__PURE__ */ c(
4354
- Xe,
4354
+ qe,
4355
4355
  {
4356
4356
  onClick: async () => {
4357
4357
  if (i)
@@ -4400,7 +4400,7 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
4400
4400
  l([
4401
4401
  ...d,
4402
4402
  {
4403
- id: tn(),
4403
+ id: en(),
4404
4404
  message: k === 200 ? "Settings saved" : "Error",
4405
4405
  status: k === 200 ? "success" : "error"
4406
4406
  }
@@ -4430,17 +4430,17 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
4430
4430
  return /* @__PURE__ */ w(
4431
4431
  "div",
4432
4432
  {
4433
- className: qt.header,
4433
+ className: Xt.header,
4434
4434
  style: {
4435
4435
  zIndex: e ? 5e4 : o ? 501 : 50
4436
4436
  },
4437
4437
  children: [
4438
- /* @__PURE__ */ w("div", { className: qt.left, children: [
4438
+ /* @__PURE__ */ w("div", { className: Xt.left, children: [
4439
4439
  /* @__PURE__ */ c(ka, {}),
4440
4440
  /* @__PURE__ */ c(Ba, {})
4441
4441
  ] }),
4442
- /* @__PURE__ */ c("div", { className: qt.center, children: /* @__PURE__ */ c(Ua, {}) }),
4443
- /* @__PURE__ */ w("div", { className: qt.right, children: [
4442
+ /* @__PURE__ */ c("div", { className: Xt.center, children: /* @__PURE__ */ c(Ua, {}) }),
4443
+ /* @__PURE__ */ w("div", { className: Xt.right, children: [
4444
4444
  /* @__PURE__ */ c(Ga, {}),
4445
4445
  /* @__PURE__ */ c(wa, {}),
4446
4446
  /* @__PURE__ */ c(
@@ -4455,15 +4455,15 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
4455
4455
  ]
4456
4456
  }
4457
4457
  );
4458
- }, Za = "_exit_ovvox_1", ec = "_text_ovvox_11", tc = "_exitLink_ovvox_16", Nn = {
4458
+ }, Za = "_exit_ovvox_1", ec = "_text_ovvox_11", tc = "_exitLink_ovvox_16", An = {
4459
4459
  exit: Za,
4460
4460
  text: ec,
4461
4461
  exitLink: tc
4462
- }, nc = () => /* @__PURE__ */ c("div", { className: Nn.exit, children: /* @__PURE__ */ w(
4462
+ }, nc = () => /* @__PURE__ */ c("div", { className: An.exit, children: /* @__PURE__ */ w(
4463
4463
  "a",
4464
4464
  {
4465
4465
  href: location.origin,
4466
- className: Nn.exitLink,
4466
+ className: An.exitLink,
4467
4467
  children: [
4468
4468
  /* @__PURE__ */ c(
4469
4469
  R,
@@ -4473,16 +4473,16 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
4473
4473
  height: 20
4474
4474
  }
4475
4475
  ),
4476
- /* @__PURE__ */ c("span", { className: Nn.text, children: "Exit" })
4476
+ /* @__PURE__ */ c("span", { className: An.text, children: "Exit" })
4477
4477
  ]
4478
4478
  }
4479
- ) }), oc = "_navbar_41zo8_1", rc = "_main_41zo8_7", sc = "_block_41zo8_14", ic = "_active_41zo8_30", Jt = {
4479
+ ) }), oc = "_navbar_1lnmu_1", rc = "_main_1lnmu_8", sc = "_block_1lnmu_15", ic = "_active_1lnmu_31", qt = {
4480
4480
  navbar: oc,
4481
4481
  main: rc,
4482
4482
  block: sc,
4483
4483
  active: ic
4484
4484
  }, $d = () => {
4485
- const { activeBlock: e } = Gn(), { setActiveBlock: t } = se(), { setCurrentBlock: n } = ne(), { setActiveBlock: o } = X(), { setActiveBlock: r } = Fe(), s = rt();
4485
+ const { activeBlock: e } = Kn(), { setActiveBlock: t } = se(), { setCurrentBlock: n } = ne(), { setActiveBlock: o } = X(), { setActiveBlock: r } = Fe(), s = rt();
4486
4486
  function i(a) {
4487
4487
  switch (t(null), n(null), o(null), r({
4488
4488
  id: null,
@@ -4502,13 +4502,13 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
4502
4502
  break;
4503
4503
  }
4504
4504
  }
4505
- return /* @__PURE__ */ w("div", { className: Jt.navbar, children: [
4505
+ return /* @__PURE__ */ w("div", { className: qt.navbar, children: [
4506
4506
  /* @__PURE__ */ c(nc, {}),
4507
- /* @__PURE__ */ c("div", { className: Jt.main, children: Pr.map((a) => /* @__PURE__ */ w(
4507
+ /* @__PURE__ */ c("div", { className: qt.main, children: Pr.map((a) => /* @__PURE__ */ w(
4508
4508
  "div",
4509
4509
  {
4510
- className: E(Jt.block, {
4511
- [Jt.active]: e.icon === a.icon
4510
+ className: E(qt.block, {
4511
+ [qt.active]: e.icon === a.icon
4512
4512
  }),
4513
4513
  onClick: () => i(a),
4514
4514
  children: [
@@ -4543,7 +4543,7 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
4543
4543
  text: yc,
4544
4544
  copy: wc
4545
4545
  }, Cc = ["red", "yellow", "green"], Sc = () => {
4546
- const { currentDevice: e } = Kn(), t = (r, s) => r.length > s ? r.slice(0, s) + "..." : r, { notifications: n, setNotifications: o } = Vn();
4546
+ const { currentDevice: e } = Vn(), t = (r, s) => r.length > s ? r.slice(0, s) + "..." : r, { notifications: n, setNotifications: o } = Un();
4547
4547
  return /* @__PURE__ */ w("div", { className: De.header, children: [
4548
4548
  /* @__PURE__ */ c("div", { className: De.circles, children: Cc.map((r) => /* @__PURE__ */ c(
4549
4549
  "div",
@@ -4569,7 +4569,7 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
4569
4569
  /* @__PURE__ */ c("span", { className: De.text, children: e.value === "mobile" ? t(window.location.origin, 35) : e.value === "desktop" ? t(window.location.origin, 200) : t(window.location.origin, 100) })
4570
4570
  ] }) }),
4571
4571
  /* @__PURE__ */ c(
4572
- Xe,
4572
+ qe,
4573
4573
  {
4574
4574
  type: "Secondary",
4575
4575
  style: { padding: "8px" },
@@ -4577,7 +4577,7 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
4577
4577
  navigator.clipboard.writeText(window.location.origin), o([
4578
4578
  ...n,
4579
4579
  {
4580
- id: tn(),
4580
+ id: en(),
4581
4581
  status: "success",
4582
4582
  message: "Domain copied to clipboard"
4583
4583
  }
@@ -4612,7 +4612,7 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
4612
4612
  deleteButton: Oc
4613
4613
  }, $c = () => {
4614
4614
  var x;
4615
- const { activeBlock: e, setActiveBlock: t } = Fe(), { blocks: n, removeBlock: o, moveBlock: r, duplicateBlock: s, setCurrentBlock: i } = ne(), { currentPage: a, pages: l } = J(), { setTitle: d, setDescription: u, setOnConfirm: f } = dn(), { setActiveBlock: p } = se(), g = (x = l == null ? void 0 : l[a]) == null ? void 0 : x.path, y = g ? n[g] : null, h = (y == null ? void 0 : y.order) || [], m = h.indexOf(e.id), b = (S) => {
4615
+ const { activeBlock: e, setActiveBlock: t } = Fe(), { blocks: n, removeBlock: o, moveBlock: r, duplicateBlock: s, setCurrentBlock: i } = ne(), { currentPage: a, pages: l } = J(), { setTitle: d, setDescription: u, setOnConfirm: f } = un(), { setActiveBlock: p } = se(), g = (x = l == null ? void 0 : l[a]) == null ? void 0 : x.path, y = g ? n[g] : null, h = (y == null ? void 0 : y.order) || [], m = h.indexOf(e.id), b = (S) => {
4616
4616
  S.stopPropagation(), m > 0 && g && (r(g, m, m - 1), t({
4617
4617
  id: e.id,
4618
4618
  neededScroll: !0
@@ -4694,7 +4694,7 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
4694
4694
  currentBlock: l,
4695
4695
  setPositionBlock: d,
4696
4696
  announcement: u
4697
- } = ne(), { settings: f } = qe(), { currentPage: p, pages: g, pageContext: y } = J(), { activeBlock: h, setActiveBlock: m } = X(), { setError: b } = Yn(), { setActiveBlock: C } = se(), v = A.useRef(n.id), k = A.useRef({});
4697
+ } = ne(), { settings: f } = Je(), { currentPage: p, pages: g, pageContext: y } = J(), { activeBlock: h, setActiveBlock: m } = X(), { setError: b } = Gn(), { setActiveBlock: C } = se(), v = A.useRef(n.id), k = A.useRef({});
4698
4698
  A.useEffect(() => {
4699
4699
  if (n.id && n.neededScroll && k.current[n.id]) {
4700
4700
  const _ = k.current[n.id];
@@ -4718,14 +4718,14 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
4718
4718
  failedSettings: !1,
4719
4719
  failedThemeSettings: !1,
4720
4720
  failedPageIds: g && g[p].id ? [g[p].id] : []
4721
- }), /* @__PURE__ */ c(on, { error: "Block or block.name is undefined." });
4721
+ }), /* @__PURE__ */ c(nn, { error: "Block or block.name is undefined." });
4722
4722
  if (!r || !r[_.name])
4723
4723
  return b({
4724
4724
  message: 'Block "${block.name}" does not exist in blocks.',
4725
4725
  failedSettings: !1,
4726
4726
  failedThemeSettings: !1,
4727
4727
  failedPageIds: g && g[p].id ? [g[p].id] : []
4728
- }), /* @__PURE__ */ c(on, { error: `Block "${_.name}" does not exist in blocks.` });
4728
+ }), /* @__PURE__ */ c(nn, { error: `Block "${_.name}" does not exist in blocks.` });
4729
4729
  const N = new r[_.name]();
4730
4730
  return _.value && Object.assign(N, _.value), N.renderBlock(f, y);
4731
4731
  };
@@ -4789,7 +4789,7 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
4789
4789
  i[g[p].path].data[_].name,
4790
4790
  s
4791
4791
  ) !== "unknown name" && /* @__PURE__ */ c("div", { className: Ge.addSection, children: /* @__PURE__ */ c(
4792
- Xe,
4792
+ qe,
4793
4793
  {
4794
4794
  type: "Primary",
4795
4795
  onClick: (N) => {
@@ -4805,7 +4805,7 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
4805
4805
  i[g[p].path].data[_].name,
4806
4806
  s
4807
4807
  ) !== "unknown name" && /* @__PURE__ */ c("div", { className: E(Ge.addSection, Ge.addSectionTop), children: /* @__PURE__ */ c(
4808
- Xe,
4808
+ qe,
4809
4809
  {
4810
4810
  type: "Primary",
4811
4811
  onClick: (N) => {
@@ -4844,7 +4844,7 @@ function Ro(e, t) {
4844
4844
  displayName: tt(o, t)
4845
4845
  }), n), []) : [];
4846
4846
  }
4847
- const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
4847
+ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Nn = {
4848
4848
  product: zc,
4849
4849
  name: jc
4850
4850
  }, Hc = (e) => {
@@ -4857,7 +4857,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
4857
4857
  clearHideTimeout: u,
4858
4858
  startHideTimeout: f,
4859
4859
  setHoverBlockTopPosition: p
4860
- } = hn();
4860
+ } = dn();
4861
4861
  function g(m) {
4862
4862
  n(""), r(m), s("keyBlock");
4863
4863
  }
@@ -4872,13 +4872,16 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
4872
4872
  return /* @__PURE__ */ w(
4873
4873
  "div",
4874
4874
  {
4875
- className: Oo.product,
4875
+ className: Nn.product,
4876
4876
  onClick: () => g(t),
4877
4877
  onMouseEnter: (m) => y(t, m),
4878
4878
  onMouseLeave: h,
4879
4879
  children: [
4880
- Rt[t] ? /* @__PURE__ */ c("img", { src: Rt[t] }) : /* @__PURE__ */ c(R, { name: "Cards" }),
4881
- /* @__PURE__ */ c("span", { className: Oo.name, children: tt(t, o) }),
4880
+ (() => {
4881
+ const m = Yn[t];
4882
+ return m ? /* @__PURE__ */ c(m, { className: Nn.icon }) : /* @__PURE__ */ c(R, { name: "Cards" });
4883
+ })(),
4884
+ /* @__PURE__ */ c("span", { className: Nn.name, children: tt(t, o) }),
4882
4885
  /* @__PURE__ */ c(
4883
4886
  R,
4884
4887
  {
@@ -4929,7 +4932,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
4929
4932
  )) : /* @__PURE__ */ c("div", { className: Mo.noResults, children: "No sections found" }) })
4930
4933
  ] });
4931
4934
  }, Pd = () => {
4932
- const { onPreview: e, zoomLevel: t } = Fe(), { keyBlock: n, hoverBlockId: o, isModalVisible: r, hoverBlockTopPosition: s } = hn(), { settings: i } = qe(), { sourceBlocks: a } = se(), { pageContext: l } = J(), { showModal: d } = jo(), { currentDevice: u } = Kn(), { isLoadingThemeSettings: f } = X(), { isLoadingLayers: p } = ne(), g = (v) => v ? !a || !a[v] ? /* @__PURE__ */ c(on, { error: `Block "${v}" does not exist in blocks.` }) : new a[v]().renderPreview(i, l) : /* @__PURE__ */ c(on, { error: "Block or block.name is undefined." });
4935
+ const { onPreview: e, zoomLevel: t } = Fe(), { keyBlock: n, hoverBlockId: o, isModalVisible: r, hoverBlockTopPosition: s } = dn(), { settings: i } = Je(), { sourceBlocks: a } = se(), { pageContext: l } = J(), { showModal: d } = jo(), { currentDevice: u } = Vn(), { isLoadingThemeSettings: f } = X(), { isLoadingLayers: p } = ne(), g = (v) => v ? !a || !a[v] ? /* @__PURE__ */ c(nn, { error: `Block "${v}" does not exist in blocks.` }) : new a[v]().renderPreview(i, l) : /* @__PURE__ */ c(nn, { error: "Block or block.name is undefined." });
4933
4936
  function y() {
4934
4937
  if (u.value === "desktop")
4935
4938
  return t >= 1 ? "100%" : `${(t * 100).toFixed(2)}%`;
@@ -5029,10 +5032,10 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5029
5032
  ]
5030
5033
  }
5031
5034
  );
5032
- }, Wc = "_sidebar_1yz5p_1", Uc = "_title_1yz5p_12", $o = {
5035
+ }, Wc = "_sidebar_zs8s9_1", Uc = "_title_zs8s9_13", Oo = {
5033
5036
  sidebar: Wc,
5034
5037
  title: Uc
5035
- }, Vc = "_layers_1ifxb_1", Kc = "_wrapper_1ifxb_9", Gc = "_draggingWrapper_1ifxb_17", Yc = "_block_1ifxb_21", Xc = "_dragging_1ifxb_17", qc = "_active_1ifxb_56", Jc = "_add_1ifxb_63", Qc = "_addTop_1ifxb_79", Zc = "_visible_1ifxb_95", el = "_button_1ifxb_99", tl = "_nameBlock_1ifxb_158", nl = "_loader_1ifxb_162", ol = "_actions_1ifxb_171", rl = "_deleteButton_1ifxb_179", ee = {
5038
+ }, Vc = "_layers_1ai1e_1", Kc = "_wrapper_1ai1e_10", Gc = "_draggingWrapper_1ai1e_18", Yc = "_block_1ai1e_22", Xc = "_dragging_1ai1e_18", qc = "_active_1ai1e_57", Jc = "_add_1ai1e_64", Qc = "_addTop_1ai1e_80", Zc = "_visible_1ai1e_96", el = "_button_1ai1e_100", tl = "_nameBlock_1ai1e_159", nl = "_loader_1ai1e_163", ol = "_actions_1ai1e_172", rl = "_deleteButton_1ai1e_180", ee = {
5036
5039
  layers: Vc,
5037
5040
  wrapper: Kc,
5038
5041
  draggingWrapper: Gc,
@@ -5047,15 +5050,15 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5047
5050
  loader: nl,
5048
5051
  actions: ol,
5049
5052
  deleteButton: rl
5050
- }, sl = "_block_owmqd_1", il = "_title_owmqd_17", al = "_actions_owmqd_21", Ze = {
5053
+ }, sl = "_block_owmqd_1", il = "_title_owmqd_17", al = "_actions_owmqd_21", Ye = {
5051
5054
  block: sl,
5052
5055
  title: il,
5053
5056
  actions: al
5054
- }, Dn = {
5057
+ }, $o = {
5055
5058
  header: "Header",
5056
5059
  footer: "Footer",
5057
5060
  announcement: "Announcement"
5058
- }, Bn = ({ id: e }) => {
5061
+ }, Dn = ({ id: e }) => {
5059
5062
  const {
5060
5063
  setCurrentBlock: t
5061
5064
  // setAnnouncement
@@ -5066,33 +5069,36 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5066
5069
  return /* @__PURE__ */ w(
5067
5070
  "div",
5068
5071
  {
5069
- className: E(Ze.block, {
5070
- [Ze.active]: n.id === e,
5071
- [Ze.header]: e === "header",
5072
- [Ze.footer]: e === "footer",
5073
- [Ze.announcement]: e === "announcement"
5072
+ className: E(Ye.block, {
5073
+ [Ye.active]: n.id === e,
5074
+ [Ye.header]: e === "header",
5075
+ [Ye.footer]: e === "footer",
5076
+ [Ye.announcement]: e === "announcement"
5074
5077
  }),
5075
5078
  onClick: () => s(e),
5076
5079
  onMouseOver: () => r(!0),
5077
5080
  onMouseLeave: () => r(!1),
5078
5081
  children: [
5079
- Rt[Dn[e]] ? /* @__PURE__ */ c(
5080
- "img",
5081
- {
5082
- src: Rt[Dn[e]],
5083
- width: 20,
5084
- height: 20
5085
- }
5086
- ) : /* @__PURE__ */ c(
5087
- R,
5088
- {
5089
- name: "Cards",
5090
- width: 20,
5091
- height: 20
5092
- }
5093
- ),
5094
- /* @__PURE__ */ c("span", { className: Ze.title, children: Dn[e] }),
5095
- /* @__PURE__ */ c("div", { className: Ze.actions, children: /* @__PURE__ */ c(
5082
+ (() => {
5083
+ const i = Yn[$o[e]];
5084
+ return i ? /* @__PURE__ */ c(
5085
+ i,
5086
+ {
5087
+ width: 20,
5088
+ height: 20,
5089
+ className: Ye.icon
5090
+ }
5091
+ ) : /* @__PURE__ */ c(
5092
+ R,
5093
+ {
5094
+ name: "Cards",
5095
+ width: 20,
5096
+ height: 20
5097
+ }
5098
+ );
5099
+ })(),
5100
+ /* @__PURE__ */ c("span", { className: Ye.title, children: $o[e] }),
5101
+ /* @__PURE__ */ c("div", { className: Ye.actions, children: /* @__PURE__ */ c(
5096
5102
  R,
5097
5103
  {
5098
5104
  name: "PushPin",
@@ -5115,19 +5121,19 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5115
5121
  startHideTimeout: p,
5116
5122
  hoverBlockId: g,
5117
5123
  isModalVisible: y
5118
- } = hn(), { setPositionBlock: h } = ne(), [m, b] = A.useState(!1), [C, v] = A.useState(!1), [k, x] = A.useState(!1), [S, _] = A.useState(!1), [N, O] = A.useState(null), z = A.useRef(null), { attributes: $, listeners: T, setNodeRef: P, transform: M, transition: W } = Di({
5124
+ } = dn(), { setPositionBlock: h } = ne(), [m, b] = A.useState(!1), [C, v] = A.useState(!1), [k, x] = A.useState(!1), [S, _] = A.useState(!1), [N, O] = A.useState(null), z = A.useRef(null), { attributes: $, listeners: T, setNodeRef: P, transform: M, transition: W } = Di({
5119
5125
  id: e
5120
5126
  }), oe = {
5121
- transform: $t.Transform.toString(M),
5127
+ transform: Ot.Transform.toString(M),
5122
5128
  transition: W
5123
- }, { setTitle: I, setDescription: K, setOnConfirm: ve } = dn(), { pages: ze, currentPage: st } = J(), { removeBlock: Q } = ne(), me = (F) => {
5129
+ }, { setTitle: I, setDescription: K, setOnConfirm: ve } = un(), { pages: ze, currentPage: st } = J(), { removeBlock: Q } = ne(), me = (F) => {
5124
5130
  F.stopPropagation(), z.current && clearTimeout(z.current), i({
5125
5131
  id: e,
5126
5132
  neededScroll: !0
5127
5133
  }), y && u(), a(e), f();
5128
5134
  }, xe = (F, it = !0) => {
5129
5135
  F.stopPropagation(), l(), d(e), f(), h(e, it);
5130
- }, Qe = (F) => {
5136
+ }, Ze = (F) => {
5131
5137
  F.stopPropagation(), i({
5132
5138
  id: null,
5133
5139
  neededScroll: !1
@@ -5149,7 +5155,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5149
5155
  F.stopPropagation(), n(e);
5150
5156
  },
5151
5157
  onMouseEnter: me,
5152
- onMouseLeave: Qe,
5158
+ onMouseLeave: Ze,
5153
5159
  ...$,
5154
5160
  ...T,
5155
5161
  children: [
@@ -5162,9 +5168,8 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5162
5168
  }),
5163
5169
  children: [
5164
5170
  r ? /* @__PURE__ */ c(
5165
- "img",
5171
+ r,
5166
5172
  {
5167
- src: r,
5168
5173
  width: 20,
5169
5174
  height: 20
5170
5175
  }
@@ -5298,7 +5303,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5298
5303
  }
5299
5304
  );
5300
5305
  }, ll = () => {
5301
- const { blocks: e, setCurrentBlock: t, currentBlock: n, moveBlock: o, isLoadingLayers: r, announcement: s } = ne(), { currentPage: i, pages: a } = J(), { setMouseOverModal: l, setHoverBlockId: d } = hn(), { sourceBlocks: u } = se();
5306
+ const { blocks: e, setCurrentBlock: t, currentBlock: n, moveBlock: o, isLoadingLayers: r, announcement: s } = ne(), { currentPage: i, pages: a } = J(), { setMouseOverModal: l, setHoverBlockId: d } = dn(), { sourceBlocks: u } = se();
5302
5307
  function f(b) {
5303
5308
  t(b), l(!1), d(null);
5304
5309
  }
@@ -5319,8 +5324,8 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5319
5324
  }
5320
5325
  };
5321
5326
  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(Bn, { id: "announcement" }),
5323
- /* @__PURE__ */ c(Bn, { id: "header" }),
5327
+ s && /* @__PURE__ */ c(Dn, { id: "announcement" }),
5328
+ /* @__PURE__ */ c(Dn, { id: "header" }),
5324
5329
  !n && /* @__PURE__ */ c(
5325
5330
  ci,
5326
5331
  {
@@ -5343,7 +5348,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5343
5348
  index: C,
5344
5349
  onClick: f,
5345
5350
  isDragging: g,
5346
- icon: Rt[e[a[i].path].data[b].name]
5351
+ icon: Yn[e[a[i].path].data[b].name]
5347
5352
  },
5348
5353
  b
5349
5354
  ))
@@ -5351,17 +5356,17 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5351
5356
  )
5352
5357
  }
5353
5358
  ),
5354
- /* @__PURE__ */ c(Bn, { id: "footer" })
5359
+ /* @__PURE__ */ c(Dn, { id: "footer" })
5355
5360
  ] }) });
5356
5361
  }, ul = "_loader_eyvkk_1", dl = {
5357
5362
  loader: ul
5358
5363
  }, hl = () => {
5359
- const { isLoadingSettings: e } = qe();
5364
+ const { isLoadingSettings: e } = Je();
5360
5365
  return e ? /* @__PURE__ */ c("div", { className: dl.loader, children: /* @__PURE__ */ c(ot, {}) }) : /* @__PURE__ */ c(fl, {});
5361
5366
  }, fl = () => {
5362
- const { settings: e } = qe(), { settings: t, setSettingsInstance: n } = se();
5367
+ const { settings: e } = Je(), { settings: t, setSettingsInstance: n } = se();
5363
5368
  if (!e) return null;
5364
- const { setError: o } = Yn(), r = new t(e);
5369
+ const { setError: o } = Gn(), r = new t(e);
5365
5370
  A.useEffect(() => {
5366
5371
  n(r);
5367
5372
  }, [e]);
@@ -5375,7 +5380,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5375
5380
  failedSettings: !0
5376
5381
  }), s;
5377
5382
  }
5378
- }, gl = "_theme_a1one_1", pl = "_block_a1one_8", vl = "_name_a1one_23", ml = "_loader_a1one_27", Qt = {
5383
+ }, gl = "_theme_8b5no_1", pl = "_block_8b5no_9", vl = "_name_8b5no_24", ml = "_loader_8b5no_28", Jt = {
5379
5384
  theme: gl,
5380
5385
  block: pl,
5381
5386
  name: vl,
@@ -5410,14 +5415,14 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5410
5415
  break;
5411
5416
  }
5412
5417
  }
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(
5418
+ return /* @__PURE__ */ c("div", { className: Jt.theme, children: n ? /* @__PURE__ */ c("div", { className: Jt.loader, children: /* @__PURE__ */ c(ot, {}) }) : (t ? r : ft).map((i) => /* @__PURE__ */ w(
5414
5419
  "div",
5415
5420
  {
5416
5421
  onClick: () => s(i),
5417
- className: E(Qt.block),
5422
+ className: E(Jt.block),
5418
5423
  children: [
5419
5424
  /* @__PURE__ */ c(R, { name: i.icon }),
5420
- /* @__PURE__ */ c("span", { className: Qt.name, children: i.name }),
5425
+ /* @__PURE__ */ c("span", { className: Jt.name, children: i.name }),
5421
5426
  /* @__PURE__ */ c(R, { name: "CaretRight" })
5422
5427
  ]
5423
5428
  },
@@ -5431,7 +5436,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5431
5436
  loading: Sl,
5432
5437
  settings: xl
5433
5438
  }, kl = ({ block: e }) => {
5434
- const { pageContext: t } = J(), { setError: n } = Yn();
5439
+ const { pageContext: t } = J(), { setError: n } = Gn();
5435
5440
  try {
5436
5441
  return e.renderSettings(t);
5437
5442
  } catch (o) {
@@ -5561,19 +5566,19 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5561
5566
  ]
5562
5567
  }
5563
5568
  );
5564
- }, $l = "_back_1rhiq_1", Pl = "_title_1rhiq_9", Ll = "_deleteButton_1rhiq_17", Fl = "_backIcon_1rhiq_30", Zt = {
5569
+ }, $l = "_back_1rhiq_1", Pl = "_title_1rhiq_9", Ll = "_deleteButton_1rhiq_17", Fl = "_backIcon_1rhiq_30", Qt = {
5565
5570
  back: $l,
5566
5571
  title: Pl,
5567
5572
  deleteButton: Ll,
5568
5573
  backIcon: Fl
5569
5574
  }, zl = ({ onClick: e, setIsClicked: t, getDisplayName: n }) => {
5570
5575
  var p, g;
5571
- const { activeBlock: o } = se(), { setTitle: r, setDescription: s, setOnConfirm: i } = dn(), { blocks: a, currentBlock: l, removeBlock: d } = ne(), { currentPage: u, pages: f } = J();
5572
- return /* @__PURE__ */ w("div", { className: Zt.back, children: [
5576
+ const { activeBlock: o } = se(), { setTitle: r, setDescription: s, setOnConfirm: i } = un(), { blocks: a, currentBlock: l, removeBlock: d } = ne(), { currentPage: u, pages: f } = J();
5577
+ return /* @__PURE__ */ w("div", { className: Qt.back, children: [
5573
5578
  /* @__PURE__ */ c(
5574
5579
  "div",
5575
5580
  {
5576
- className: Zt.backIcon,
5581
+ className: Qt.backIcon,
5577
5582
  onClick: () => e(),
5578
5583
  children: /* @__PURE__ */ c(
5579
5584
  R,
@@ -5586,7 +5591,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5586
5591
  )
5587
5592
  }
5588
5593
  ),
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" }),
5594
+ /* @__PURE__ */ c("h3", { className: Qt.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" }),
5590
5595
  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(
5591
5596
  "button",
5592
5597
  {
@@ -5598,7 +5603,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5598
5603
  t(!0), d(f[u].path, l), e(!0);
5599
5604
  });
5600
5605
  },
5601
- className: Zt.deleteButton,
5606
+ className: Qt.deleteButton,
5602
5607
  children: /* @__PURE__ */ c(
5603
5608
  R,
5604
5609
  {
@@ -5753,15 +5758,15 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5753
5758
  ]
5754
5759
  }
5755
5760
  );
5756
- }, Hl = "_header_1u3yu_1", Wl = "_title_1u3yu_9", Ul = "_backIcon_1u3yu_15", En = {
5761
+ }, Hl = "_header_1u3yu_1", Wl = "_title_1u3yu_9", Ul = "_backIcon_1u3yu_15", Bn = {
5757
5762
  header: Hl,
5758
5763
  title: Wl,
5759
5764
  backIcon: Ul
5760
- }, Wt = ({ onClick: e, title: t }) => /* @__PURE__ */ w("div", { className: En.header, children: [
5765
+ }, Ht = ({ onClick: e, title: t }) => /* @__PURE__ */ w("div", { className: Bn.header, children: [
5761
5766
  /* @__PURE__ */ c(
5762
5767
  "div",
5763
5768
  {
5764
- className: En.backIcon,
5769
+ className: Bn.backIcon,
5765
5770
  onClick: e,
5766
5771
  children: /* @__PURE__ */ c(
5767
5772
  R,
@@ -5774,7 +5779,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5774
5779
  )
5775
5780
  }
5776
5781
  ),
5777
- /* @__PURE__ */ c("span", { className: En.title, children: t })
5782
+ /* @__PURE__ */ c("span", { className: Bn.title, children: t })
5778
5783
  ] }), Vl = "_options_ymds7_1", Kl = {
5779
5784
  options: Vl
5780
5785
  }, Gl = () => {
@@ -5789,13 +5794,13 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5789
5794
  }
5790
5795
  const a = A.useMemo(() => t.borders, [t]), l = (e == null ? void 0 : e.name) === "Borders";
5791
5796
  return /* @__PURE__ */ w(
5792
- Ft,
5797
+ Lt,
5793
5798
  {
5794
5799
  isOpen: l,
5795
5800
  isClose: !l,
5796
5801
  children: [
5797
5802
  /* @__PURE__ */ c(
5798
- Wt,
5803
+ Ht,
5799
5804
  {
5800
5805
  onClick: i,
5801
5806
  title: "Borders Style"
@@ -5806,25 +5811,25 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5806
5811
  Ce,
5807
5812
  {
5808
5813
  label: "Border Radius (px)",
5809
- options: Object.keys(_n),
5810
- value: ((d = Object.entries(_n).find(([f, p]) => p === a.radius)) == null ? void 0 : d[0]) || "None",
5811
- onChange: (f) => r(_n[f], "radius")
5814
+ options: Object.keys(bn),
5815
+ value: ((d = Object.entries(bn).find(([f, p]) => p === a.radius)) == null ? void 0 : d[0]) || "None",
5816
+ onChange: (f) => r(bn[f], "radius")
5812
5817
  }
5813
5818
  ),
5814
5819
  /* @__PURE__ */ c(
5815
5820
  Ce,
5816
5821
  {
5817
5822
  label: "Border Thickness (px)",
5818
- options: Object.keys(yn),
5819
- value: ((u = Object.entries(yn).find(([f, p]) => p === a.thickness)) == null ? void 0 : u[0]) || "None",
5820
- onChange: (f) => r(yn[f], "thickness")
5823
+ options: Object.keys(_n),
5824
+ value: ((u = Object.entries(_n).find(([f, p]) => p === a.thickness)) == null ? void 0 : u[0]) || "None",
5825
+ onChange: (f) => r(_n[f], "thickness")
5821
5826
  }
5822
5827
  )
5823
5828
  ] })
5824
5829
  ]
5825
5830
  }
5826
5831
  );
5827
- }, Yl = "_options_1ezah_1", Xl = "_alignments_1ezah_9", ql = "_blocks_1ezah_15", Jl = "_alignment_1ezah_9", Ql = "_active_1ezah_34", Zl = "_chargeTypes_1ezah_41", eu = "_charge_1ezah_41", tu = "_chargeActive_1ezah_69", nu = "_sliderContainer_1ezah_83", ou = "_shadowInputs_1ezah_91", ru = "_label_1ezah_102", su = "_shadowInputsRow_1ezah_111", iu = "_shadowInputsOpen_1ezah_119", re = {
5832
+ }, Yl = "_options_1gneb_1", Xl = "_alignments_1gneb_9", ql = "_blocks_1gneb_15", Jl = "_alignment_1gneb_9", Ql = "_active_1gneb_34", Zl = "_chargeTypes_1gneb_41", eu = "_charge_1gneb_41", tu = "_chargeActive_1gneb_69", nu = "_sliderContainer_1gneb_83", ou = "_shadowInputs_1gneb_91", ru = "_label_1gneb_102", su = "_shadowInputsRow_1gneb_111", iu = "_shadowInputsOpen_1gneb_119", re = {
5828
5833
  options: Yl,
5829
5834
  alignments: Xl,
5830
5835
  blocks: ql,
@@ -5852,13 +5857,13 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5852
5857
  a({ ...u.boxShadow, [h]: m }, "boxShadow");
5853
5858
  }
5854
5859
  return /* @__PURE__ */ w(
5855
- Ft,
5860
+ Lt,
5856
5861
  {
5857
5862
  isOpen: g,
5858
5863
  isClose: !g,
5859
5864
  children: [
5860
5865
  /* @__PURE__ */ c(
5861
- Wt,
5866
+ Ht,
5862
5867
  {
5863
5868
  onClick: p,
5864
5869
  title: "Buttons Style"
@@ -5897,7 +5902,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5897
5902
  label: "Font Size (px)",
5898
5903
  value: String(u.size),
5899
5904
  onChange: (h) => a(Number(h), "size"),
5900
- options: nn
5905
+ options: tn
5901
5906
  }
5902
5907
  ),
5903
5908
  /* @__PURE__ */ c(
@@ -5944,7 +5949,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
5944
5949
  /* @__PURE__ */ w("div", { className: re.sliderContainer, children: [
5945
5950
  /* @__PURE__ */ c("h4", { className: re.label, children: "Shadow" }),
5946
5951
  /* @__PURE__ */ c(
5947
- Xe,
5952
+ qe,
5948
5953
  {
5949
5954
  type: "Secondary",
5950
5955
  onClick: () => d(!l),
@@ -6038,7 +6043,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
6038
6043
  )) })
6039
6044
  ] }),
6040
6045
  /* @__PURE__ */ c(
6041
- Tn,
6046
+ In,
6042
6047
  {
6043
6048
  label: "Enable Hover",
6044
6049
  onChange: (h) => a(h, "hover"),
@@ -6071,7 +6076,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
6071
6076
  ]
6072
6077
  }
6073
6078
  );
6074
- }, lu = "_category_daart_1", uu = "_categoryTitle_daart_19", In = {
6079
+ }, lu = "_category_daart_1", uu = "_categoryTitle_daart_19", En = {
6075
6080
  category: lu,
6076
6081
  categoryTitle: uu
6077
6082
  }, du = () => {
@@ -6079,13 +6084,13 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
6079
6084
  function n(o) {
6080
6085
  t(o);
6081
6086
  }
6082
- return /* @__PURE__ */ c("div", { className: In.wrapper, children: Object.keys(e.colors).map((o) => o === "icon" ? /* @__PURE__ */ c(Pe, {}) : /* @__PURE__ */ w(
6087
+ return /* @__PURE__ */ c("div", { className: En.wrapper, children: Object.keys(e.colors).map((o) => o === "icon" ? /* @__PURE__ */ c(Pe, {}) : /* @__PURE__ */ w(
6083
6088
  "div",
6084
6089
  {
6085
- className: In.category,
6090
+ className: En.category,
6086
6091
  onClick: () => n(o),
6087
6092
  children: [
6088
- /* @__PURE__ */ w("h2", { className: In.categoryTitle, children: [
6093
+ /* @__PURE__ */ w("h2", { className: En.categoryTitle, children: [
6089
6094
  o === "text" ? "Text & Icon" : Ee(o),
6090
6095
  " Colors"
6091
6096
  ] }),
@@ -6120,13 +6125,13 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
6120
6125
  }, [p, n]);
6121
6126
  const g = !!((e == null ? void 0 : e.name) === "Fonts" && n), y = (e == null ? void 0 : e.name) !== "Fonts" || !n;
6122
6127
  return /* @__PURE__ */ w(
6123
- Ft,
6128
+ Lt,
6124
6129
  {
6125
6130
  isOpen: g,
6126
6131
  isClose: y,
6127
6132
  children: [
6128
6133
  /* @__PURE__ */ c(
6129
- Wt,
6134
+ Ht,
6130
6135
  {
6131
6136
  onClick: l,
6132
6137
  title: "Font Style"
@@ -6150,7 +6155,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
6150
6155
  label: "Size",
6151
6156
  value: String(p.size),
6152
6157
  onChange: (h) => d(h, "size"),
6153
- options: nn
6158
+ options: tn
6154
6159
  }
6155
6160
  ),
6156
6161
  /* @__PURE__ */ c(
@@ -6299,7 +6304,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
6299
6304
  label: "Font Size (px)",
6300
6305
  onChange: (s) => o("general", s, "size"),
6301
6306
  value: String(n.general.size),
6302
- options: nn
6307
+ options: tn
6303
6308
  }
6304
6309
  ),
6305
6310
  /* @__PURE__ */ c(
@@ -6318,7 +6323,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
6318
6323
  {
6319
6324
  title: "Field Fill",
6320
6325
  rightAddon: /* @__PURE__ */ c("div", { className: ye.switch, children: /* @__PURE__ */ c(
6321
- Tn,
6326
+ In,
6322
6327
  {
6323
6328
  onChange: (s) => o("field", s, "active"),
6324
6329
  current: n.field.active
@@ -6350,7 +6355,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
6350
6355
  {
6351
6356
  title: "Border",
6352
6357
  rightAddon: /* @__PURE__ */ c("div", { className: ye.switch, children: /* @__PURE__ */ c(
6353
- Tn,
6358
+ In,
6354
6359
  {
6355
6360
  onChange: (s) => o("border", s, "active"),
6356
6361
  current: n.border.active
@@ -6421,7 +6426,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
6421
6426
  label: "Font Size (px)",
6422
6427
  onChange: (s) => o("label", s, "size"),
6423
6428
  value: String(n.label.size),
6424
- options: nn
6429
+ options: tn
6425
6430
  }
6426
6431
  ),
6427
6432
  /* @__PURE__ */ c(
@@ -6591,13 +6596,13 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
6591
6596
  }
6592
6597
  const a = !!((e == null ? void 0 : e.name) === "Colors" && n), l = (e == null ? void 0 : e.name) !== "Colors" || !n, d = n ? ud[n] : [];
6593
6598
  return /* @__PURE__ */ w(
6594
- Ft,
6599
+ Lt,
6595
6600
  {
6596
6601
  isOpen: a,
6597
6602
  isClose: l,
6598
6603
  children: [
6599
6604
  /* @__PURE__ */ c(
6600
- Wt,
6605
+ Ht,
6601
6606
  {
6602
6607
  onClick: s,
6603
6608
  title: n === "text" ? "Text & Icon Colors" : `${Ee(n)} Colors`
@@ -6651,19 +6656,19 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
6651
6656
  (e == null ? void 0 : e.name) === "Buttons" && t.buttons && /* @__PURE__ */ c(cu, {})
6652
6657
  ] }) });
6653
6658
  }, pd = () => {
6654
- const { activeBlock: e, setActiveBlock: t } = X(), { activeBlock: n } = Gn(), o = rt();
6659
+ const { activeBlock: e, setActiveBlock: t } = X(), { activeBlock: n } = Kn(), o = rt();
6655
6660
  function r() {
6656
6661
  t(null), o("/admin/builder/theme");
6657
6662
  }
6658
6663
  const s = !!e, i = !e || n.name !== "Theme";
6659
6664
  return /* @__PURE__ */ w(
6660
- Ft,
6665
+ Lt,
6661
6666
  {
6662
6667
  isOpen: s,
6663
6668
  isClose: i,
6664
6669
  children: [
6665
6670
  /* @__PURE__ */ c(
6666
- Wt,
6671
+ Ht,
6667
6672
  {
6668
6673
  onClick: r,
6669
6674
  title: (e == null ? void 0 : e.name) || ""
@@ -6674,7 +6679,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
6674
6679
  }
6675
6680
  );
6676
6681
  }, Ld = () => {
6677
- const { activeBlock: e } = Gn(), { showTooltip: t } = zo();
6682
+ const { activeBlock: e } = Kn(), { showTooltip: t } = zo();
6678
6683
  function n() {
6679
6684
  switch (e.name) {
6680
6685
  case "Layers":
@@ -6690,12 +6695,12 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
6690
6695
  return /* @__PURE__ */ w(
6691
6696
  "div",
6692
6697
  {
6693
- className: $o.sidebar,
6698
+ className: Oo.sidebar,
6694
6699
  style: {
6695
6700
  zIndex: t ? 50 : "auto"
6696
6701
  },
6697
6702
  children: [
6698
- /* @__PURE__ */ c("h3", { className: $o.title, children: n() }),
6703
+ /* @__PURE__ */ c("h3", { className: Oo.title, children: n() }),
6699
6704
  e.name === "Layers" && /* @__PURE__ */ c(ll, {}),
6700
6705
  e.name === "Add" && /* @__PURE__ */ c(xr, {}),
6701
6706
  /* @__PURE__ */ c(jl, {}),
@@ -6835,7 +6840,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
6835
6840
  ] }),
6836
6841
  /* @__PURE__ */ w("div", { className: _e.buttons, children: [
6837
6842
  /* @__PURE__ */ c(
6838
- Xe,
6843
+ qe,
6839
6844
  {
6840
6845
  onClick: S,
6841
6846
  type: "Secondary",
@@ -6843,7 +6848,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
6843
6848
  }
6844
6849
  ),
6845
6850
  /* @__PURE__ */ c(
6846
- Xe,
6851
+ qe,
6847
6852
  {
6848
6853
  onClick: r ? O : N,
6849
6854
  disabled: g.length === 0,
@@ -6857,7 +6862,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
6857
6862
  );
6858
6863
  };
6859
6864
  export {
6860
- $t as C,
6865
+ Ot as C,
6861
6866
  ci as D,
6862
6867
  yt as F,
6863
6868
  Od as H,