@billgangcom/theme-lib 1.123.3 → 1.123.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{builder-BOLCAzvt.cjs → builder-CuCcIZjx.cjs} +2 -2
- package/dist/{builder-fFmq4_MA.js → builder-Vw17cIvh.js} +5 -5
- package/dist/{builder-components-C6ut91u1.js → builder-components-CqsarjiD.js} +106 -106
- package/dist/{builder-components-DWWPmNmI.cjs → builder-components-D8fl8nFz.cjs} +2 -2
- package/dist/builder.cjs.js +1 -1
- package/dist/builder.es.js +23 -23
- package/dist/{charge-Dd7ZVW4n.js → charge-BxH20YHb.js} +6 -6
- package/dist/{charge-CfJ0VtUT.cjs → charge-D2IfRJ1B.cjs} +1 -1
- package/dist/{checkout-CRG_AIof.js → checkout-BmEdO4pB.js} +5 -5
- package/dist/{checkout-rulhfb4v.cjs → checkout-l_9O3JXV.cjs} +1 -1
- package/dist/exports.cjs.js +1 -1
- package/dist/exports.es.js +6 -6
- package/dist/{index-Nzke2v3S.js → index-3cVWcT47.js} +5 -5
- package/dist/{index-DVWyoqbz.js → index-BdggtqWP.js} +1 -1
- package/dist/{index-CjPIDcQG.cjs → index-Bxzx1T1Y.cjs} +1 -1
- package/dist/{index-DgFHjyWj.js → index-C9m6xbNq.js} +5 -5
- package/dist/{index-DRGwwUaI.cjs → index-CWkTgTiA.cjs} +1 -1
- package/dist/{index-Ci9wiySE.cjs → index-Cz9vjw2u.cjs} +1 -1
- package/dist/{index-BqRvogz6.cjs → index-DOMIQhcU.cjs} +1 -1
- package/dist/{index-ClGEV98b.js → index-Lx5YZc2J.js} +2 -2
- package/dist/{index-Ch5oUfGB.js → index-VcBR0LYA.js} +5 -5
- package/dist/{index-DU12etk7.cjs → index-pGpGZ-zG.cjs} +1 -1
- package/dist/{index-CKCaGCwV.js → index-pPt21AZn.js} +5 -5
- package/dist/{index-DFYhKoko.cjs → index-uCRD-Te9.cjs} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +6 -6
- package/dist/{order-Dj61ft1k.js → order-CfWBV151.js} +5 -5
- package/dist/{order-zD22nXsz.cjs → order-gdnIl9fl.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{subscription-BIjKGaYi.cjs → subscription-CKzWjY6c.cjs} +1 -1
- package/dist/{subscription-_sP5Hq4m.js → subscription-DvtuQ1Gv.js} +5 -5
- package/dist/{ticket-CljttyKl.js → ticket-DsTC46Fo.js} +5 -5
- package/dist/{ticket-DOW_--eV.cjs → ticket-ZqwqBmci.cjs} +1 -1
- package/dist/{top-up-DRZbmTCi.cjs → top-up-BV-1a3uD.cjs} +1 -1
- package/dist/{top-up-DBfbqtUp.js → top-up-DYFlVzcS.js} +5 -5
- package/dist/{ui-components-C-rczZ94.js → ui-components-C-CMo5C7.js} +380 -380
- package/dist/{ui-components-D25PvLKh.cjs → ui-components-C4tsxCG_.cjs} +1 -1
- package/dist/ui.cjs.js +1 -1
- package/dist/ui.es.js +1 -1
- package/dist/{validation-B6paMD88.js → validation-DKeEzJKR.js} +5 -5
- package/dist/{validation-BLYCGS5g.cjs → validation-DOgf6jMh.cjs} +1 -1
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsxs as w, jsx as c, Fragment as Pe } from "react/jsx-runtime";
|
|
2
2
|
import A, { useLayoutEffect as Tr, useEffect as U, useRef as V, useMemo as H, useCallback as te, useState as he, memo as Mr, useReducer as Rr, createContext as Lt, useContext as nt } from "react";
|
|
3
|
-
import { u as ne, a as
|
|
4
|
-
import { I as R, u as Wr, B as
|
|
3
|
+
import { u as ne, a as qe, b as J, c as se, d as Po, e as Vn, f as B, v as tn, T as vt, g as Or, h as Kn, i as Fe, j as Lo, r as Fo, k as dn, l as Bt, m as X, n as zo, L as ot, o as Gn, p as rt, q as $r, s as Yn, t as tt, w as hn, x as Rt, y as jo, A as Pr, S as Lr, C as Fr, z as ft, B as zr, D as Be, E as Ft, R as _n, F as yn, G as Ho, H as nn, I as we, P as go, J as jr, K as Hr } from "./builder-Vw17cIvh.js";
|
|
4
|
+
import { I as R, u as Wr, B as Xe, E as on, c as ue, S as Ce, d as Tn, T as Ur } from "./ui-components-C-CMo5C7.js";
|
|
5
5
|
import { unstable_batchedUpdates as Kt, createPortal as Vr } from "react-dom";
|
|
6
|
-
import "./charge-
|
|
7
|
-
import "./ticket-
|
|
8
|
-
const
|
|
9
|
-
const { footer: n } = ne(), { settings: o } =
|
|
6
|
+
import "./charge-BxH20YHb.js";
|
|
7
|
+
import "./ticket-DsTC46Fo.js";
|
|
8
|
+
const Xn = ({ render: e, block: t }) => e(t), Wo = ({ settings: e, pageContext: t }) => {
|
|
9
|
+
const { footer: n } = ne(), { settings: o } = qe(), { pageContext: r } = J(), { footer: s } = se();
|
|
10
10
|
if (!s || !n) return null;
|
|
11
11
|
const i = new s();
|
|
12
12
|
return Object.keys(n).map((a) => {
|
|
@@ -16,7 +16,7 @@ const qn = ({ render: e, block: t }) => e(t), Wo = ({ settings: e, pageContext:
|
|
|
16
16
|
t || r
|
|
17
17
|
);
|
|
18
18
|
}, Uo = ({ settings: e, pageContext: t }) => {
|
|
19
|
-
const { header: n } = ne(), { settings: o } =
|
|
19
|
+
const { header: n } = ne(), { settings: o } = qe(), { pageContext: r } = J(), { header: s } = se();
|
|
20
20
|
if (!s || !n) return null;
|
|
21
21
|
const i = new s();
|
|
22
22
|
return Object.keys(n).map((a) => {
|
|
@@ -29,7 +29,7 @@ const qn = ({ render: e, block: t }) => e(t), Wo = ({ settings: e, pageContext:
|
|
|
29
29
|
settings: e,
|
|
30
30
|
pageContext: t
|
|
31
31
|
}) => {
|
|
32
|
-
const { announcement: n } = ne(), { settings: o } =
|
|
32
|
+
const { announcement: n } = ne(), { settings: o } = qe(), { 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) => {
|
|
@@ -41,7 +41,7 @@ const qn = ({ render: e, block: t }) => e(t), Wo = ({ settings: e, pageContext:
|
|
|
41
41
|
}, Rd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
42
42
|
__proto__: null,
|
|
43
43
|
RenderAnnouncement: Vo,
|
|
44
|
-
RenderBlock:
|
|
44
|
+
RenderBlock: Xn,
|
|
45
45
|
RenderFooter: Wo,
|
|
46
46
|
RenderHeader: Uo
|
|
47
47
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -62,12 +62,12 @@ function mt(e) {
|
|
|
62
62
|
return t === "[object Window]" || // In Electron context the Window object serializes to [object global]
|
|
63
63
|
t === "[object global]";
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function qn(e) {
|
|
66
66
|
return "nodeType" in e;
|
|
67
67
|
}
|
|
68
68
|
function ie(e) {
|
|
69
69
|
var t, n;
|
|
70
|
-
return e ? mt(e) ? e :
|
|
70
|
+
return e ? mt(e) ? e : qn(e) && (t = (n = e.ownerDocument) == null ? void 0 : n.defaultView) != null ? t : window : window;
|
|
71
71
|
}
|
|
72
72
|
function Jn(e) {
|
|
73
73
|
const {
|
|
@@ -82,7 +82,7 @@ function Ko(e) {
|
|
|
82
82
|
return e instanceof ie(e).SVGElement;
|
|
83
83
|
}
|
|
84
84
|
function bt(e) {
|
|
85
|
-
return e ? mt(e) ? e.document :
|
|
85
|
+
return e ? mt(e) ? e.document : qn(e) ? Jn(e) ? e : zt(e) || Ko(e) ? e.ownerDocument : document : document : document;
|
|
86
86
|
}
|
|
87
87
|
const Te = fn ? Tr : U;
|
|
88
88
|
function Qn(e) {
|
|
@@ -174,7 +174,7 @@ function Zn(e) {
|
|
|
174
174
|
} = ie(e.target);
|
|
175
175
|
return t && e instanceof t;
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function Xr(e) {
|
|
178
178
|
if (!e)
|
|
179
179
|
return !1;
|
|
180
180
|
const {
|
|
@@ -183,7 +183,7 @@ function qr(e) {
|
|
|
183
183
|
return t && e instanceof t;
|
|
184
184
|
}
|
|
185
185
|
function Rn(e) {
|
|
186
|
-
if (
|
|
186
|
+
if (Xr(e)) {
|
|
187
187
|
if (e.touches && e.touches.length) {
|
|
188
188
|
const {
|
|
189
189
|
clientX: t,
|
|
@@ -249,7 +249,7 @@ const $t = /* @__PURE__ */ Object.freeze({
|
|
|
249
249
|
}
|
|
250
250
|
}
|
|
251
251
|
}), po = "a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";
|
|
252
|
-
function
|
|
252
|
+
function qr(e) {
|
|
253
253
|
return e.matches(po) ? e : e.querySelector(po);
|
|
254
254
|
}
|
|
255
255
|
const Jr = {
|
|
@@ -517,7 +517,7 @@ function hs(e, t, n) {
|
|
|
517
517
|
scaleY: t && n ? t.height / n.height : 1
|
|
518
518
|
};
|
|
519
519
|
}
|
|
520
|
-
function
|
|
520
|
+
function Xo(e, t) {
|
|
521
521
|
return e && t ? {
|
|
522
522
|
x: e.left - t.left,
|
|
523
523
|
y: e.top - t.top
|
|
@@ -649,12 +649,12 @@ function eo(e, t) {
|
|
|
649
649
|
}
|
|
650
650
|
return e ? o(e) : n;
|
|
651
651
|
}
|
|
652
|
-
function
|
|
652
|
+
function qo(e) {
|
|
653
653
|
const [t] = eo(e, 1);
|
|
654
654
|
return t ?? null;
|
|
655
655
|
}
|
|
656
656
|
function Cn(e) {
|
|
657
|
-
return !fn || !e ? null : mt(e) ? e :
|
|
657
|
+
return !fn || !e ? null : mt(e) ? e : qn(e) ? Jn(e) || e === bt(e).scrollingElement ? window : zt(e) ? e : null : null;
|
|
658
658
|
}
|
|
659
659
|
function Jo(e) {
|
|
660
660
|
return mt(e) ? e.scrollX : e.scrollLeft;
|
|
@@ -778,7 +778,7 @@ function As(e, t) {
|
|
|
778
778
|
bottom: r,
|
|
779
779
|
right: s
|
|
780
780
|
} = t(e);
|
|
781
|
-
|
|
781
|
+
qo(e) && (r <= 0 || s <= 0 || n >= window.innerHeight || o >= window.innerWidth) && e.scrollIntoView({
|
|
782
782
|
block: "center",
|
|
783
783
|
inline: "center"
|
|
784
784
|
});
|
|
@@ -1563,7 +1563,7 @@ function wo(e, t, n) {
|
|
|
1563
1563
|
}
|
|
1564
1564
|
function Us(e) {
|
|
1565
1565
|
const t = rr(e);
|
|
1566
|
-
return
|
|
1566
|
+
return Xo(e, t);
|
|
1567
1567
|
}
|
|
1568
1568
|
const Co = [];
|
|
1569
1569
|
function Vs(e) {
|
|
@@ -1655,7 +1655,7 @@ function sr(e) {
|
|
|
1655
1655
|
return H(() => e ? bs(e) : null, [e]);
|
|
1656
1656
|
}
|
|
1657
1657
|
const xo = [];
|
|
1658
|
-
function
|
|
1658
|
+
function Xs(e, t) {
|
|
1659
1659
|
t === void 0 && (t = _t);
|
|
1660
1660
|
const [n] = e, o = sr(n ? ie(n) : null), [r, s] = he(xo);
|
|
1661
1661
|
function i() {
|
|
@@ -1668,7 +1668,7 @@ function qs(e, t) {
|
|
|
1668
1668
|
a == null || a.disconnect(), i(), e.forEach((l) => a == null ? void 0 : a.observe(l));
|
|
1669
1669
|
}, [e]), r;
|
|
1670
1670
|
}
|
|
1671
|
-
function
|
|
1671
|
+
function qs(e) {
|
|
1672
1672
|
if (!e)
|
|
1673
1673
|
return null;
|
|
1674
1674
|
if (e.children.length > 1)
|
|
@@ -1698,7 +1698,7 @@ function Js(e) {
|
|
|
1698
1698
|
}, [t]), s = gn({
|
|
1699
1699
|
callback: r
|
|
1700
1700
|
}), i = te((d) => {
|
|
1701
|
-
const u =
|
|
1701
|
+
const u = qs(d);
|
|
1702
1702
|
s == null || s.disconnect(), u && (s == null || s.observe(u)), o(u ? t(u) : null);
|
|
1703
1703
|
}, [t, s]), [a, l] = rn(i);
|
|
1704
1704
|
return H(() => ({
|
|
@@ -1924,7 +1924,7 @@ function ri(e) {
|
|
|
1924
1924
|
for (const u of [l.current, d.current]) {
|
|
1925
1925
|
if (!u)
|
|
1926
1926
|
continue;
|
|
1927
|
-
const f =
|
|
1927
|
+
const f = qr(u);
|
|
1928
1928
|
if (f) {
|
|
1929
1929
|
f.focus();
|
|
1930
1930
|
break;
|
|
@@ -1988,9 +1988,9 @@ function ai(e) {
|
|
|
1988
1988
|
const d = t == null ? void 0 : t.node.current;
|
|
1989
1989
|
if (!d || d.isConnected === !1)
|
|
1990
1990
|
return;
|
|
1991
|
-
const u = n(d), f =
|
|
1991
|
+
const u = n(d), f = Xo(u, o);
|
|
1992
1992
|
if (i || (f.x = 0), a || (f.y = 0), s.current = !0, Math.abs(f.x) > 0 || Math.abs(f.y) > 0) {
|
|
1993
|
-
const p =
|
|
1993
|
+
const p = qo(d);
|
|
1994
1994
|
p && p.scrollBy({
|
|
1995
1995
|
top: f.y,
|
|
1996
1996
|
left: f.x
|
|
@@ -2071,7 +2071,7 @@ const ci = /* @__PURE__ */ Mr(function(t) {
|
|
|
2071
2071
|
scrollAdjustedTranslate: null
|
|
2072
2072
|
}), at = z.getNodeFor((n = ke.current.over) == null ? void 0 : n.id), Re = Js({
|
|
2073
2073
|
measure: Q.dragOverlay.measure
|
|
2074
|
-
}), ct = (o = Re.nodeRef.current) != null ? o : F, lt = S ? (r = Re.rect) != null ? r : j : null, so = !!(Re.nodeRef.current && Re.rect), io = Us(so ? null : j), vn = sr(ct ? ie(ct) : null), He = Vs(S ? at ?? F : null), Ut =
|
|
2074
|
+
}), ct = (o = Re.nodeRef.current) != null ? o : F, lt = S ? (r = Re.rect) != null ? r : j : null, so = !!(Re.nodeRef.current && Re.rect), io = Us(so ? null : j), vn = sr(ct ? ie(ct) : null), He = Vs(S ? at ?? F : null), Ut = Xs(He), Vt = si(g, {
|
|
2075
2075
|
transform: {
|
|
2076
2076
|
x: O.x - io.x,
|
|
2077
2077
|
y: O.y - io.y,
|
|
@@ -2113,26 +2113,26 @@ const ci = /* @__PURE__ */ Mr(function(t) {
|
|
|
2113
2113
|
// Sensors need to be instantiated with refs for arguments that change over time
|
|
2114
2114
|
// otherwise they are frozen in time with the stale arguments
|
|
2115
2115
|
context: ke,
|
|
2116
|
-
onAbort(
|
|
2117
|
-
if (!N.get(
|
|
2116
|
+
onAbort(q) {
|
|
2117
|
+
if (!N.get(q))
|
|
2118
2118
|
return;
|
|
2119
2119
|
const {
|
|
2120
2120
|
onDragAbort: Ne
|
|
2121
2121
|
} = ve.current, Oe = {
|
|
2122
|
-
id:
|
|
2122
|
+
id: q
|
|
2123
2123
|
};
|
|
2124
2124
|
Ne == null || Ne(Oe), C({
|
|
2125
2125
|
type: "onDragAbort",
|
|
2126
2126
|
event: Oe
|
|
2127
2127
|
});
|
|
2128
2128
|
},
|
|
2129
|
-
onPending(
|
|
2130
|
-
if (!N.get(
|
|
2129
|
+
onPending(q, Ve, Ne, Oe) {
|
|
2130
|
+
if (!N.get(q))
|
|
2131
2131
|
return;
|
|
2132
2132
|
const {
|
|
2133
2133
|
onDragPending: xt
|
|
2134
2134
|
} = ve.current, Ke = {
|
|
2135
|
-
id:
|
|
2135
|
+
id: q,
|
|
2136
2136
|
constraint: Ve,
|
|
2137
2137
|
initialCoordinates: Ne,
|
|
2138
2138
|
offset: Oe
|
|
@@ -2142,7 +2142,7 @@ const ci = /* @__PURE__ */ Mr(function(t) {
|
|
|
2142
2142
|
event: Ke
|
|
2143
2143
|
});
|
|
2144
2144
|
},
|
|
2145
|
-
onStart(
|
|
2145
|
+
onStart(q) {
|
|
2146
2146
|
const Ve = M.current;
|
|
2147
2147
|
if (Ve == null)
|
|
2148
2148
|
return;
|
|
@@ -2162,7 +2162,7 @@ const ci = /* @__PURE__ */ Mr(function(t) {
|
|
|
2162
2162
|
Kt(() => {
|
|
2163
2163
|
Oe == null || Oe(St), x(Ye.Initializing), b({
|
|
2164
2164
|
type: G.DragStart,
|
|
2165
|
-
initialCoordinates:
|
|
2165
|
+
initialCoordinates: q,
|
|
2166
2166
|
active: Ve
|
|
2167
2167
|
}), C({
|
|
2168
2168
|
type: "onDragStart",
|
|
@@ -2170,17 +2170,17 @@ const ci = /* @__PURE__ */ Mr(function(t) {
|
|
|
2170
2170
|
}), oe(mn.current), K(le);
|
|
2171
2171
|
});
|
|
2172
2172
|
},
|
|
2173
|
-
onMove(
|
|
2173
|
+
onMove(q) {
|
|
2174
2174
|
b({
|
|
2175
2175
|
type: G.DragMove,
|
|
2176
|
-
coordinates:
|
|
2176
|
+
coordinates: q
|
|
2177
2177
|
});
|
|
2178
2178
|
},
|
|
2179
2179
|
onEnd: ht(G.DragEnd),
|
|
2180
2180
|
onCancel: ht(G.DragCancel)
|
|
2181
2181
|
});
|
|
2182
2182
|
mn.current = Ae;
|
|
2183
|
-
function ht(
|
|
2183
|
+
function ht(q) {
|
|
2184
2184
|
return async function() {
|
|
2185
2185
|
const {
|
|
2186
2186
|
active: Ne,
|
|
@@ -2199,13 +2199,13 @@ const ci = /* @__PURE__ */ Mr(function(t) {
|
|
|
2199
2199
|
collisions: Oe,
|
|
2200
2200
|
delta: xt,
|
|
2201
2201
|
over: St
|
|
2202
|
-
},
|
|
2202
|
+
}, q === G.DragEnd && typeof kt == "function" && await Promise.resolve(kt(Ke)) && (q = G.DragCancel);
|
|
2203
2203
|
}
|
|
2204
2204
|
M.current = null, Kt(() => {
|
|
2205
2205
|
b({
|
|
2206
|
-
type:
|
|
2206
|
+
type: q
|
|
2207
2207
|
}), x(Ye.Uninitialized), uo(null), oe(null), K(null), mn.current = null;
|
|
2208
|
-
const kt =
|
|
2208
|
+
const kt = q === G.DragEnd ? "onDragEnd" : "onDragCancel";
|
|
2209
2209
|
if (Ke) {
|
|
2210
2210
|
const bn = ve.current[kt];
|
|
2211
2211
|
bn == null || bn(Ke), C({
|
|
@@ -2286,7 +2286,7 @@ const ci = /* @__PURE__ */ Mr(function(t) {
|
|
|
2286
2286
|
rect: Ae.rect.current,
|
|
2287
2287
|
data: Ae.data,
|
|
2288
2288
|
disabled: Ae.disabled
|
|
2289
|
-
} : null,
|
|
2289
|
+
} : null, q = {
|
|
2290
2290
|
active: Z,
|
|
2291
2291
|
activatorEvent: ae,
|
|
2292
2292
|
collisions: ce,
|
|
@@ -2297,9 +2297,9 @@ const ci = /* @__PURE__ */ Mr(function(t) {
|
|
|
2297
2297
|
over: ht
|
|
2298
2298
|
};
|
|
2299
2299
|
Kt(() => {
|
|
2300
|
-
uo(ht), le == null || le(
|
|
2300
|
+
uo(ht), le == null || le(q), C({
|
|
2301
2301
|
type: "onDragOver",
|
|
2302
|
-
event:
|
|
2302
|
+
event: q
|
|
2303
2303
|
});
|
|
2304
2304
|
});
|
|
2305
2305
|
},
|
|
@@ -3157,7 +3157,7 @@ function Gi(e, { getFn: t = E.getFn, fieldNormWeight: n = E.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
|
|
3160
|
+
function Xt(e, {
|
|
3161
3161
|
errors: t = 0,
|
|
3162
3162
|
currentLocation: n = 0,
|
|
3163
3163
|
expectedLocation: o = 0,
|
|
@@ -3179,7 +3179,7 @@ function Yi(e = [], t = E.minMatchCharLength) {
|
|
|
3179
3179
|
return e[s - 1] && s - o >= t && n.push([o, s - 1]), n;
|
|
3180
3180
|
}
|
|
3181
3181
|
const et = 32;
|
|
3182
|
-
function
|
|
3182
|
+
function Xi(e, t, n, {
|
|
3183
3183
|
location: o = E.location,
|
|
3184
3184
|
distance: r = E.distance,
|
|
3185
3185
|
threshold: s = E.threshold,
|
|
@@ -3195,7 +3195,7 @@ function qi(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 _ =
|
|
3198
|
+
let _ = Xt(t, {
|
|
3199
3199
|
currentLocation: b,
|
|
3200
3200
|
expectedLocation: p,
|
|
3201
3201
|
distance: r,
|
|
@@ -3213,7 +3213,7 @@ function qi(e, t, n, {
|
|
|
3213
3213
|
for (let _ = 0; _ < u; _ += 1) {
|
|
3214
3214
|
let N = 0, O = k;
|
|
3215
3215
|
for (; N < O; )
|
|
3216
|
-
|
|
3216
|
+
Xt(t, {
|
|
3217
3217
|
errors: _,
|
|
3218
3218
|
currentLocation: p + O,
|
|
3219
3219
|
expectedLocation: p,
|
|
@@ -3225,7 +3225,7 @@ function qi(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 =
|
|
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, {
|
|
3229
3229
|
errors: _,
|
|
3230
3230
|
currentLocation: W,
|
|
3231
3231
|
expectedLocation: p,
|
|
@@ -3237,7 +3237,7 @@ function qi(e, t, n, {
|
|
|
3237
3237
|
z = Math.max(1, 2 * p - y);
|
|
3238
3238
|
}
|
|
3239
3239
|
}
|
|
3240
|
-
if (
|
|
3240
|
+
if (Xt(t, {
|
|
3241
3241
|
errors: _ + 1,
|
|
3242
3242
|
currentLocation: p,
|
|
3243
3243
|
expectedLocation: p,
|
|
@@ -3258,7 +3258,7 @@ function qi(e, t, n, {
|
|
|
3258
3258
|
}
|
|
3259
3259
|
return S;
|
|
3260
3260
|
}
|
|
3261
|
-
function
|
|
3261
|
+
function qi(e) {
|
|
3262
3262
|
let t = {};
|
|
3263
3263
|
for (let n = 0, o = e.length; n < o; n += 1) {
|
|
3264
3264
|
const r = e.charAt(n);
|
|
@@ -3294,7 +3294,7 @@ class br {
|
|
|
3294
3294
|
const f = (g, y) => {
|
|
3295
3295
|
this.chunks.push({
|
|
3296
3296
|
pattern: g,
|
|
3297
|
-
alphabet:
|
|
3297
|
+
alphabet: qi(g),
|
|
3298
3298
|
startIndex: y
|
|
3299
3299
|
});
|
|
3300
3300
|
}, p = this.pattern.length;
|
|
@@ -3329,7 +3329,7 @@ class br {
|
|
|
3329
3329
|
} = this.options;
|
|
3330
3330
|
let f = [], p = 0, g = !1;
|
|
3331
3331
|
this.chunks.forEach(({ pattern: h, alphabet: m, startIndex: b }) => {
|
|
3332
|
-
const { isMatch: C, score: v, indices: k } =
|
|
3332
|
+
const { isMatch: C, score: v, indices: k } = Xi(t, h, m, {
|
|
3333
3333
|
location: s + b,
|
|
3334
3334
|
distance: i,
|
|
3335
3335
|
threshold: a,
|
|
@@ -3898,7 +3898,7 @@ yt.parseIndex = Gi;
|
|
|
3898
3898
|
yt.config = E;
|
|
3899
3899
|
yt.parseQuery = wr;
|
|
3900
3900
|
ca(aa);
|
|
3901
|
-
const pa = "_header_17vny_1", va = "_left_17vny_14", ma = "_right_17vny_15",
|
|
3901
|
+
const pa = "_header_17vny_1", va = "_left_17vny_14", ma = "_right_17vny_15", qt = {
|
|
3902
3902
|
header: pa,
|
|
3903
3903
|
left: va,
|
|
3904
3904
|
right: ma
|
|
@@ -3992,7 +3992,7 @@ const pa = "_header_17vny_1", va = "_left_17vny_14", ma = "_right_17vny_15", Xt
|
|
|
3992
3992
|
}
|
|
3993
3993
|
)
|
|
3994
3994
|
] });
|
|
3995
|
-
}, Ca = "
|
|
3995
|
+
}, Ca = "_devices_vftsw_1", Sa = "_device_vftsw_1", xa = "_active_vftsw_27", Un = {
|
|
3996
3996
|
devices: Ca,
|
|
3997
3997
|
device: Sa,
|
|
3998
3998
|
active: xa
|
|
@@ -4219,7 +4219,7 @@ const pa = "_header_17vny_1", va = "_left_17vny_14", ma = "_right_17vny_15", Xt
|
|
|
4219
4219
|
}) }),
|
|
4220
4220
|
/* @__PURE__ */ c("div", { className: be.separator }),
|
|
4221
4221
|
/* @__PURE__ */ w(
|
|
4222
|
-
|
|
4222
|
+
Xe,
|
|
4223
4223
|
{
|
|
4224
4224
|
className: be.button,
|
|
4225
4225
|
onClick: (v) => {
|
|
@@ -4325,10 +4325,10 @@ function Nt(e, t) {
|
|
|
4325
4325
|
return console.error("Error in getValues function:", n), [];
|
|
4326
4326
|
}
|
|
4327
4327
|
}
|
|
4328
|
-
function
|
|
4329
|
-
return
|
|
4328
|
+
function Xa(e, t, n) {
|
|
4329
|
+
return qa(e, t) ? (n.reviews || []).length * 3 : 0;
|
|
4330
4330
|
}
|
|
4331
|
-
function
|
|
4331
|
+
function qa(e, t) {
|
|
4332
4332
|
return t.map((o) => {
|
|
4333
4333
|
if (!o.value || !o.value.blockSettings) {
|
|
4334
4334
|
console.error("block.value or block.value.blockSettings is undefined.");
|
|
@@ -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 } =
|
|
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();
|
|
4353
4353
|
return /* @__PURE__ */ c(
|
|
4354
|
-
|
|
4354
|
+
Xe,
|
|
4355
4355
|
{
|
|
4356
4356
|
onClick: async () => {
|
|
4357
4357
|
if (i)
|
|
@@ -4374,7 +4374,7 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
|
|
|
4374
4374
|
],
|
|
4375
4375
|
neededListingIds: [...Nt("ListingIds", Object.values(g[x].data))],
|
|
4376
4376
|
neededFaqIds: [...Nt("FaqsIds", Object.values(g[x].data))],
|
|
4377
|
-
neededReviewCount:
|
|
4377
|
+
neededReviewCount: Xa(
|
|
4378
4378
|
"ReviewCount",
|
|
4379
4379
|
Object.values(g[x].data),
|
|
4380
4380
|
y
|
|
@@ -4430,17 +4430,17 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
|
|
|
4430
4430
|
return /* @__PURE__ */ w(
|
|
4431
4431
|
"div",
|
|
4432
4432
|
{
|
|
4433
|
-
className:
|
|
4433
|
+
className: qt.header,
|
|
4434
4434
|
style: {
|
|
4435
4435
|
zIndex: e ? 5e4 : o ? 501 : 50
|
|
4436
4436
|
},
|
|
4437
4437
|
children: [
|
|
4438
|
-
/* @__PURE__ */ w("div", { className:
|
|
4438
|
+
/* @__PURE__ */ w("div", { className: qt.left, children: [
|
|
4439
4439
|
/* @__PURE__ */ c(ka, {}),
|
|
4440
4440
|
/* @__PURE__ */ c(Ea, {})
|
|
4441
4441
|
] }),
|
|
4442
|
-
/* @__PURE__ */ c("div", { className:
|
|
4443
|
-
/* @__PURE__ */ w("div", { className:
|
|
4442
|
+
/* @__PURE__ */ c("div", { className: qt.center, children: /* @__PURE__ */ c(Ua, {}) }),
|
|
4443
|
+
/* @__PURE__ */ w("div", { className: qt.right, children: [
|
|
4444
4444
|
/* @__PURE__ */ c(Ga, {}),
|
|
4445
4445
|
/* @__PURE__ */ c(wa, {}),
|
|
4446
4446
|
/* @__PURE__ */ c(
|
|
@@ -4482,7 +4482,7 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
|
|
|
4482
4482
|
block: sc,
|
|
4483
4483
|
active: ic
|
|
4484
4484
|
}, $d = () => {
|
|
4485
|
-
const { activeBlock: e } = Gn(), { setActiveBlock: t } = se(), { setCurrentBlock: n } = ne(), { setActiveBlock: o } =
|
|
4485
|
+
const { activeBlock: e } = Gn(), { 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,
|
|
@@ -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
|
-
|
|
4572
|
+
Xe,
|
|
4573
4573
|
{
|
|
4574
4574
|
type: "Secondary",
|
|
4575
4575
|
style: { padding: "8px" },
|
|
@@ -4604,7 +4604,7 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
|
|
|
4604
4604
|
name: Dc,
|
|
4605
4605
|
addSection: Ec,
|
|
4606
4606
|
addSectionTop: Bc
|
|
4607
|
-
}, Ic = "
|
|
4607
|
+
}, Ic = "_sidebar_p1ojw_1", Tc = "_content_p1ojw_14", Mc = "_button_p1ojw_24", Rc = "_moveButton_p1ojw_40", Oc = "_deleteButton_p1ojw_49", Ee = {
|
|
4608
4608
|
sidebar: Ic,
|
|
4609
4609
|
content: Tc,
|
|
4610
4610
|
button: Mc,
|
|
@@ -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 } =
|
|
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({});
|
|
4698
4698
|
A.useEffect(() => {
|
|
4699
4699
|
if (n.id && n.neededScroll && k.current[n.id]) {
|
|
4700
4700
|
const _ = k.current[n.id];
|
|
@@ -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
|
-
|
|
4792
|
+
Xe,
|
|
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: B(Ge.addSection, Ge.addSectionTop), children: /* @__PURE__ */ c(
|
|
4808
|
-
|
|
4808
|
+
Xe,
|
|
4809
4809
|
{
|
|
4810
4810
|
type: "Primary",
|
|
4811
4811
|
onClick: (N) => {
|
|
@@ -4818,7 +4818,7 @@ const Qa = ({ setIsLoading: e, isLoading: t }) => {
|
|
|
4818
4818
|
}
|
|
4819
4819
|
) }),
|
|
4820
4820
|
r && /* @__PURE__ */ c(
|
|
4821
|
-
|
|
4821
|
+
Xn,
|
|
4822
4822
|
{
|
|
4823
4823
|
render: S,
|
|
4824
4824
|
block: i[g[p].path].data[_]
|
|
@@ -4929,7 +4929,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
4929
4929
|
)) : /* @__PURE__ */ c("div", { className: Mo.noResults, children: "No sections found" }) })
|
|
4930
4930
|
] });
|
|
4931
4931
|
}, Pd = () => {
|
|
4932
|
-
const { onPreview: e, zoomLevel: t } = Fe(), { keyBlock: n, hoverBlockId: o, isModalVisible: r, hoverBlockTopPosition: s } = hn(), { settings: i } =
|
|
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." });
|
|
4933
4933
|
function y() {
|
|
4934
4934
|
if (u.value === "desktop")
|
|
4935
4935
|
return t >= 1 ? "100%" : `${(t * 100).toFixed(2)}%`;
|
|
@@ -4970,7 +4970,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
4970
4970
|
positionLeft: !o && n ? void 0 : 250,
|
|
4971
4971
|
children: [
|
|
4972
4972
|
!f && !p && /* @__PURE__ */ c(
|
|
4973
|
-
|
|
4973
|
+
Xn,
|
|
4974
4974
|
{
|
|
4975
4975
|
render: g,
|
|
4976
4976
|
block: n
|
|
@@ -5032,13 +5032,13 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
5032
5032
|
}, Wc = "_sidebar_1yz5p_1", Uc = "_title_1yz5p_12", $o = {
|
|
5033
5033
|
sidebar: Wc,
|
|
5034
5034
|
title: Uc
|
|
5035
|
-
}, Vc = "
|
|
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 = {
|
|
5036
5036
|
layers: Vc,
|
|
5037
5037
|
wrapper: Kc,
|
|
5038
5038
|
draggingWrapper: Gc,
|
|
5039
5039
|
block: Yc,
|
|
5040
|
-
dragging:
|
|
5041
|
-
active:
|
|
5040
|
+
dragging: Xc,
|
|
5041
|
+
active: qc,
|
|
5042
5042
|
add: Jc,
|
|
5043
5043
|
addTop: Qc,
|
|
5044
5044
|
visible: Zc,
|
|
@@ -5356,10 +5356,10 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
5356
5356
|
}, ul = "_loader_eyvkk_1", dl = {
|
|
5357
5357
|
loader: ul
|
|
5358
5358
|
}, hl = () => {
|
|
5359
|
-
const { isLoadingSettings: e } =
|
|
5359
|
+
const { isLoadingSettings: e } = qe();
|
|
5360
5360
|
return e ? /* @__PURE__ */ c("div", { className: dl.loader, children: /* @__PURE__ */ c(ot, {}) }) : /* @__PURE__ */ c(fl, {});
|
|
5361
5361
|
}, fl = () => {
|
|
5362
|
-
const { settings: e } =
|
|
5362
|
+
const { settings: e } = qe(), { settings: t, setSettingsInstance: n } = se();
|
|
5363
5363
|
if (!e) return null;
|
|
5364
5364
|
const { setError: o } = Yn(), r = new t(e);
|
|
5365
5365
|
A.useEffect(() => {
|
|
@@ -5381,7 +5381,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
5381
5381
|
name: vl,
|
|
5382
5382
|
loader: ml
|
|
5383
5383
|
}, bl = () => {
|
|
5384
|
-
const e = rt(), { isLoadingThemeSettings: t, setActiveBlock: n } =
|
|
5384
|
+
const e = rt(), { isLoadingThemeSettings: t, setActiveBlock: n } = X();
|
|
5385
5385
|
function o(r) {
|
|
5386
5386
|
switch (r == null ? void 0 : r.name) {
|
|
5387
5387
|
case "Colors":
|
|
@@ -5414,7 +5414,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
5414
5414
|
},
|
|
5415
5415
|
r.icon
|
|
5416
5416
|
)) });
|
|
5417
|
-
}, _l = "
|
|
5417
|
+
}, _l = "_render_1k1k0_9", yl = "_open_1k1k0_24", wl = "_close_1k1k0_51", Cl = "_clicked_1k1k0_55", Sl = "_loading_1k1k0_72", xl = "_settings_1k1k0_76", gt = {
|
|
5418
5418
|
render: _l,
|
|
5419
5419
|
open: yl,
|
|
5420
5420
|
close: wl,
|
|
@@ -5443,7 +5443,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
5443
5443
|
value: Tl,
|
|
5444
5444
|
length: Ml
|
|
5445
5445
|
}, Rl = (e) => {
|
|
5446
|
-
const { colors: t } = e, { themeSettings: n } =
|
|
5446
|
+
const { colors: t } = e, { themeSettings: n } = X(), [o, r] = A.useState(!0);
|
|
5447
5447
|
A.useEffect(() => {
|
|
5448
5448
|
t.length <= 3 && r(!0);
|
|
5449
5449
|
}, []);
|
|
@@ -5507,7 +5507,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
5507
5507
|
colorChange: u,
|
|
5508
5508
|
setIsGradientActive: f,
|
|
5509
5509
|
setIsBlockSettings: p
|
|
5510
|
-
} = jo(), { updateColor: g } =
|
|
5510
|
+
} = jo(), { updateColor: g } = X(), y = (b, C) => (v) => {
|
|
5511
5511
|
g(b, C, v);
|
|
5512
5512
|
};
|
|
5513
5513
|
A.useEffect(() => {
|
|
@@ -5552,7 +5552,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
5552
5552
|
]
|
|
5553
5553
|
}
|
|
5554
5554
|
);
|
|
5555
|
-
}, $l = "
|
|
5555
|
+
}, $l = "_back_1rhiq_1", Pl = "_title_1rhiq_9", Ll = "_deleteButton_1rhiq_17", Fl = "_backIcon_1rhiq_30", Zt = {
|
|
5556
5556
|
back: $l,
|
|
5557
5557
|
title: Pl,
|
|
5558
5558
|
deleteButton: Ll,
|
|
@@ -5770,7 +5770,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
5770
5770
|
options: Vl
|
|
5771
5771
|
}, Gl = () => {
|
|
5772
5772
|
var d, u;
|
|
5773
|
-
const { activeBlock: e, themeSettings: t, updateBorder: n, setActiveBlock: o } =
|
|
5773
|
+
const { activeBlock: e, themeSettings: t, updateBorder: n, setActiveBlock: o } = X();
|
|
5774
5774
|
function r(f, p) {
|
|
5775
5775
|
n(p, f);
|
|
5776
5776
|
}
|
|
@@ -5815,10 +5815,10 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
5815
5815
|
]
|
|
5816
5816
|
}
|
|
5817
5817
|
);
|
|
5818
|
-
}, Yl = "
|
|
5818
|
+
}, 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 = {
|
|
5819
5819
|
options: Yl,
|
|
5820
|
-
alignments:
|
|
5821
|
-
blocks:
|
|
5820
|
+
alignments: Xl,
|
|
5821
|
+
blocks: ql,
|
|
5822
5822
|
alignment: Jl,
|
|
5823
5823
|
active: Ql,
|
|
5824
5824
|
chargeTypes: Zl,
|
|
@@ -5830,7 +5830,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
5830
5830
|
shadowInputsRow: su,
|
|
5831
5831
|
shadowInputsOpen: iu
|
|
5832
5832
|
}, au = ["left", "center", "right"], cu = () => {
|
|
5833
|
-
const { activeBlock: e, themeSettings: t, updateButton: n, setActiveBlock: o } =
|
|
5833
|
+
const { activeBlock: e, themeSettings: t, updateButton: n, setActiveBlock: o } = X(), { fonts: r } = Ho(), [s, i] = A.useState("primary");
|
|
5834
5834
|
function a(h, m) {
|
|
5835
5835
|
n(s, m, h);
|
|
5836
5836
|
}
|
|
@@ -5935,7 +5935,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
5935
5935
|
/* @__PURE__ */ w("div", { className: re.sliderContainer, children: [
|
|
5936
5936
|
/* @__PURE__ */ c("h4", { className: re.label, children: "Shadow" }),
|
|
5937
5937
|
/* @__PURE__ */ c(
|
|
5938
|
-
|
|
5938
|
+
Xe,
|
|
5939
5939
|
{
|
|
5940
5940
|
type: "Secondary",
|
|
5941
5941
|
onClick: () => d(!l),
|
|
@@ -6066,7 +6066,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
6066
6066
|
category: lu,
|
|
6067
6067
|
categoryTitle: uu
|
|
6068
6068
|
}, du = () => {
|
|
6069
|
-
const { themeSettings: e, setActiveColorCategory: t } =
|
|
6069
|
+
const { themeSettings: e, setActiveColorCategory: t } = X();
|
|
6070
6070
|
function n(o) {
|
|
6071
6071
|
t(o);
|
|
6072
6072
|
}
|
|
@@ -6095,7 +6095,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
6095
6095
|
}, hu = "_options_rwzk3_38", fu = {
|
|
6096
6096
|
options: hu
|
|
6097
6097
|
}, gu = () => {
|
|
6098
|
-
const { activeBlock: e, setActiveFont: t, activeFont: n, themeSettings: o, updateFont: r } =
|
|
6098
|
+
const { activeBlock: e, setActiveFont: t, activeFont: n, themeSettings: o, updateFont: r } = X(), { fonts: s } = Ho(), [i, a] = A.useState(null);
|
|
6099
6099
|
function l() {
|
|
6100
6100
|
t(null);
|
|
6101
6101
|
}
|
|
@@ -6197,7 +6197,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
6197
6197
|
md: "medium",
|
|
6198
6198
|
sm: "small"
|
|
6199
6199
|
}, Su = (e) => {
|
|
6200
|
-
const { font: t, size: n, id: o, category: r } = e, { setActiveFont: s } =
|
|
6200
|
+
const { font: t, size: n, id: o, category: r } = e, { setActiveFont: s } = X();
|
|
6201
6201
|
return /* @__PURE__ */ w(
|
|
6202
6202
|
"div",
|
|
6203
6203
|
{
|
|
@@ -6221,7 +6221,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
6221
6221
|
}
|
|
6222
6222
|
);
|
|
6223
6223
|
}, xu = () => {
|
|
6224
|
-
const { themeSettings: e, setActiveFont: t, activeBlock: n } =
|
|
6224
|
+
const { themeSettings: e, setActiveFont: t, activeBlock: n } = X();
|
|
6225
6225
|
A.useEffect(() => (o(), () => {
|
|
6226
6226
|
o();
|
|
6227
6227
|
}), []);
|
|
@@ -6267,7 +6267,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
6267
6267
|
n
|
|
6268
6268
|
] });
|
|
6269
6269
|
}, Ou = () => {
|
|
6270
|
-
const { themeSettings: e, updateInput: t } =
|
|
6270
|
+
const { themeSettings: e, updateInput: t } = X(), n = H(() => e.inputs, [e]), o = (s, i, a) => {
|
|
6271
6271
|
t(s, i, a);
|
|
6272
6272
|
}, r = (s) => (i) => {
|
|
6273
6273
|
t(s, i, "color");
|
|
@@ -6439,7 +6439,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
6439
6439
|
] })
|
|
6440
6440
|
] })
|
|
6441
6441
|
] });
|
|
6442
|
-
}, $u = "_wrapper_lyrvk_2", Pu = "_color_lyrvk_24", Lu = "_content_lyrvk_33", Fu = "_preview_lyrvk_42", zu = "_container_lyrvk_52", ju = "_buttonWrapper_lyrvk_62", Hu = "_button_lyrvk_62", Wu = "_buttonBorder_lyrvk_80", Uu = "_buttonBackground_lyrvk_83", Vu = "_text_lyrvk_87", Ku = "_textText_lyrvk_93", Gu = "_icon_lyrvk_97", Yu = "_iconIcon_lyrvk_100",
|
|
6442
|
+
}, $u = "_wrapper_lyrvk_2", Pu = "_color_lyrvk_24", Lu = "_content_lyrvk_33", Fu = "_preview_lyrvk_42", zu = "_container_lyrvk_52", ju = "_buttonWrapper_lyrvk_62", Hu = "_button_lyrvk_62", Wu = "_buttonBorder_lyrvk_80", Uu = "_buttonBackground_lyrvk_83", Vu = "_text_lyrvk_87", Ku = "_textText_lyrvk_93", Gu = "_icon_lyrvk_97", Yu = "_iconIcon_lyrvk_100", Xu = "_annotation_lyrvk_104", qu = "_annotationText_lyrvk_111", Ju = "_label_lyrvk_116", Qu = "_circle_lyrvk_127", Zu = "_line_lyrvk_140", ed = "_circle1_lyrvk_154", td = "_circle2_lyrvk_159", nd = "_annotationIcon_lyrvk_164", od = "_annotationBorder_lyrvk_192", rd = "_line1_lyrvk_203", sd = "_line2_lyrvk_210", id = "_circle3_lyrvk_227", ad = "_circle4_lyrvk_232", cd = "_annotationSurface_lyrvk_237", D = {
|
|
6443
6443
|
wrapper: $u,
|
|
6444
6444
|
color: Pu,
|
|
6445
6445
|
content: Lu,
|
|
@@ -6453,8 +6453,8 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
6453
6453
|
textText: Ku,
|
|
6454
6454
|
icon: Gu,
|
|
6455
6455
|
iconIcon: Yu,
|
|
6456
|
-
annotation:
|
|
6457
|
-
annotationText:
|
|
6456
|
+
annotation: Xu,
|
|
6457
|
+
annotationText: qu,
|
|
6458
6458
|
label: Ju,
|
|
6459
6459
|
circle: Qu,
|
|
6460
6460
|
line: Zu,
|
|
@@ -6468,7 +6468,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
6468
6468
|
circle4: ad,
|
|
6469
6469
|
annotationSurface: cd
|
|
6470
6470
|
}, ld = () => {
|
|
6471
|
-
const { activeColorCategory: e } =
|
|
6471
|
+
const { activeColorCategory: e } = X();
|
|
6472
6472
|
return /* @__PURE__ */ c("div", { className: D.container, children: /* @__PURE__ */ w("div", { className: D.buttonWrapper, children: [
|
|
6473
6473
|
/* @__PURE__ */ w(
|
|
6474
6474
|
"div",
|
|
@@ -6573,7 +6573,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
6573
6573
|
"modal"
|
|
6574
6574
|
]
|
|
6575
6575
|
}, dd = () => {
|
|
6576
|
-
const { activeBlock: e, setActiveColorCategory: t, activeColorCategory: n, themeSettings: o, updateColor: r } =
|
|
6576
|
+
const { activeBlock: e, setActiveColorCategory: t, activeColorCategory: n, themeSettings: o, updateColor: r } = X();
|
|
6577
6577
|
function s() {
|
|
6578
6578
|
t(null);
|
|
6579
6579
|
}
|
|
@@ -6631,7 +6631,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
6631
6631
|
}, hd = "_loader_1p5lr_1", fd = {
|
|
6632
6632
|
loader: hd
|
|
6633
6633
|
}, gd = () => {
|
|
6634
|
-
const { activeBlock: e, themeSettings: t, isLoadingThemeSettings: n } =
|
|
6634
|
+
const { activeBlock: e, themeSettings: t, isLoadingThemeSettings: n } = X();
|
|
6635
6635
|
return /* @__PURE__ */ c(Pe, { children: n ? /* @__PURE__ */ c("div", { className: fd.loader, children: /* @__PURE__ */ c(ot, {}) }) : /* @__PURE__ */ w(Pe, { children: [
|
|
6636
6636
|
(e == null ? void 0 : e.name) === "Fonts" && t.fonts && /* @__PURE__ */ c(xu, {}),
|
|
6637
6637
|
(e == null ? void 0 : e.name) === "Fonts" && t.fonts && /* @__PURE__ */ c(gu, {}),
|
|
@@ -6642,7 +6642,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
6642
6642
|
(e == null ? void 0 : e.name) === "Buttons" && t.buttons && /* @__PURE__ */ c(cu, {})
|
|
6643
6643
|
] }) });
|
|
6644
6644
|
}, pd = () => {
|
|
6645
|
-
const { activeBlock: e, setActiveBlock: t } =
|
|
6645
|
+
const { activeBlock: e, setActiveBlock: t } = X(), { activeBlock: n } = Gn(), o = rt();
|
|
6646
6646
|
function r() {
|
|
6647
6647
|
t(null), o("/admin/builder/theme");
|
|
6648
6648
|
}
|
|
@@ -6826,7 +6826,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
6826
6826
|
] }),
|
|
6827
6827
|
/* @__PURE__ */ w("div", { className: _e.buttons, children: [
|
|
6828
6828
|
/* @__PURE__ */ c(
|
|
6829
|
-
|
|
6829
|
+
Xe,
|
|
6830
6830
|
{
|
|
6831
6831
|
onClick: S,
|
|
6832
6832
|
type: "Secondary",
|
|
@@ -6834,7 +6834,7 @@ const zc = "_product_wgb53_1", jc = "_name_wgb53_15", Oo = {
|
|
|
6834
6834
|
}
|
|
6835
6835
|
),
|
|
6836
6836
|
/* @__PURE__ */ c(
|
|
6837
|
-
|
|
6837
|
+
Xe,
|
|
6838
6838
|
{
|
|
6839
6839
|
onClick: r ? O : N,
|
|
6840
6840
|
disabled: g.length === 0,
|
|
@@ -6859,7 +6859,7 @@ export {
|
|
|
6859
6859
|
Ld as S,
|
|
6860
6860
|
Uo as a,
|
|
6861
6861
|
Wo as b,
|
|
6862
|
-
|
|
6862
|
+
Xn as c,
|
|
6863
6863
|
is as d,
|
|
6864
6864
|
wi as e,
|
|
6865
6865
|
oo as f,
|