@cntrl-site/components 1.0.7-alpha.6 → 1.0.7-alpha.7
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/components.css +1 -1
- package/dist/index.js +20 -23
- package/dist/index.mjs +373 -376
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsx as m, Fragment as ne, jsxs as vt } from "react/jsx-runtime";
|
|
2
|
-
import ue, { useState as pt, useEffect as _t, useRef as Ct, useCallback as ve, useMemo as
|
|
2
|
+
import ue, { useState as pt, useEffect as _t, useRef as Ct, useCallback as ve, useMemo as Pt, useLayoutEffect as mo } from "react";
|
|
3
3
|
import ct from "classnames";
|
|
4
4
|
import { s as E, u as Po, b as Oo, g as pn } from "./useScopedStyles-BSwFAT27.mjs";
|
|
5
5
|
import { createPortal as Fr } from "react-dom";
|
|
6
|
-
function
|
|
6
|
+
function Vs(t) {
|
|
7
7
|
return t.type === "object" && t.version === 1;
|
|
8
8
|
}
|
|
9
|
-
const kr = "ControlSlider-module__wrapper___sHEkd", Rr = "ControlSlider-module__hoverArrow___A-dOH", Wr = "ControlSlider-module__sliderItem___QQSkR", zr = "ControlSlider-module__sliderImage___9hRl-",
|
|
9
|
+
const kr = "ControlSlider-module__wrapper___sHEkd", Rr = "ControlSlider-module__hoverArrow___A-dOH", Wr = "ControlSlider-module__sliderItem___QQSkR", zr = "ControlSlider-module__sliderImage___9hRl-", Hr = "ControlSlider-module__arrow___05ghY", Mr = "ControlSlider-module__arrowVertical___tBfVN", Nr = "ControlSlider-module__nextArrow___-30Yc", Pr = "ControlSlider-module__arrowInner___aEra3", Or = "ControlSlider-module__arrowIcon___S4ztF", Br = "ControlSlider-module__arrowImg___2dwJW", Vr = "ControlSlider-module__mirror___brd6U", Dr = "ControlSlider-module__pagination___bicLF", jr = "ControlSlider-module__paginationInner___bT-P-", Ur = "ControlSlider-module__paginationVertical___zYqKw", Gr = "ControlSlider-module__paginationItem___nTRbk", qr = "ControlSlider-module__dot___p1Qun", Yr = "ControlSlider-module__activeDot___LHFaj", Xr = "ControlSlider-module__paginationInsideBottom___R3FWn", Kr = "ControlSlider-module__paginationInsideTop___V-qb-", Jr = "ControlSlider-module__paginationOutsideBottom___14w8D", Zr = "ControlSlider-module__paginationOutsideTop___SCLqB", Qr = "ControlSlider-module__paginationInsideLeft___yOBRZ", ti = "ControlSlider-module__paginationInsideRight___Rtt3o", ei = "ControlSlider-module__paginationOutsideLeft___lahaw", ni = "ControlSlider-module__paginationOutsideRight___EtuQa", oi = "ControlSlider-module__imgWrapper___UjEgB", ri = "ControlSlider-module__captionBlock___dJ6-j", ii = "ControlSlider-module__captionTextWrapper___HFlpf", ai = "ControlSlider-module__captionText___uGBVc", li = "ControlSlider-module__active___WZK4G", si = "ControlSlider-module__withPointerEvents___t-18M", ci = "ControlSlider-module__topLeftAlignment___zjnGM", pi = "ControlSlider-module__topCenterAlignment___gD1xW", ui = "ControlSlider-module__topRightAlignment___NMapS", di = "ControlSlider-module__middleLeftAlignment___OnUrY", gi = "ControlSlider-module__middleCenterAlignment___Tdkl0", mi = "ControlSlider-module__middleRightAlignment___wEbfX", fi = "ControlSlider-module__bottomLeftAlignment___cTP2-", yi = "ControlSlider-module__bottomCenterAlignment___c54fB", hi = "ControlSlider-module__bottomRightAlignment___kEwrz", vi = "ControlSlider-module__clickOverlay___DZA28", bi = "ControlSlider-module__contain___pLyq7", Si = "ControlSlider-module__cover___KdDat", J = {
|
|
10
10
|
wrapper: kr,
|
|
11
11
|
hoverArrow: Rr,
|
|
12
12
|
sliderItem: Wr,
|
|
13
13
|
sliderImage: zr,
|
|
14
|
-
arrow:
|
|
15
|
-
arrowVertical:
|
|
14
|
+
arrow: Hr,
|
|
15
|
+
arrowVertical: Mr,
|
|
16
16
|
nextArrow: Nr,
|
|
17
17
|
arrowInner: Pr,
|
|
18
18
|
arrowIcon: Or,
|
|
@@ -26,8 +26,8 @@ const kr = "ControlSlider-module__wrapper___sHEkd", Rr = "ControlSlider-module__
|
|
|
26
26
|
activeDot: Yr,
|
|
27
27
|
paginationInsideBottom: Xr,
|
|
28
28
|
paginationInsideTop: Kr,
|
|
29
|
-
paginationOutsideBottom:
|
|
30
|
-
paginationOutsideTop:
|
|
29
|
+
paginationOutsideBottom: Jr,
|
|
30
|
+
paginationOutsideTop: Zr,
|
|
31
31
|
paginationInsideLeft: Qr,
|
|
32
32
|
paginationInsideRight: ti,
|
|
33
33
|
paginationOutsideLeft: ei,
|
|
@@ -69,7 +69,7 @@ var fo = "(prefers-reduced-motion: reduce)", xe = 1, wi = 2, _e = 3, Ie = 4, je
|
|
|
69
69
|
DRAGGING: an,
|
|
70
70
|
DESTROYED: un
|
|
71
71
|
};
|
|
72
|
-
function
|
|
72
|
+
function Jt(t) {
|
|
73
73
|
t.length = 0;
|
|
74
74
|
}
|
|
75
75
|
function ae(t, e, n) {
|
|
@@ -86,7 +86,7 @@ function yo(t) {
|
|
|
86
86
|
function yn(t, e) {
|
|
87
87
|
return typeof e === t;
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function He(t) {
|
|
90
90
|
return !Un(t) && yn("object", t);
|
|
91
91
|
}
|
|
92
92
|
var jn = Array.isArray, Vo = bt(yn, "function"), re = bt(yn, "string"), Ue = bt(yn, "undefined");
|
|
@@ -117,7 +117,7 @@ function Yt(t, e, n) {
|
|
|
117
117
|
o && t.classList[n ? "add" : "remove"](o);
|
|
118
118
|
});
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function Ot(t, e) {
|
|
121
121
|
Yt(t, re(e) ? e.split(" ") : e, !0);
|
|
122
122
|
}
|
|
123
123
|
function qe(t, e) {
|
|
@@ -129,13 +129,13 @@ function qn(t, e) {
|
|
|
129
129
|
o && o.insertBefore(n, e);
|
|
130
130
|
});
|
|
131
131
|
}
|
|
132
|
-
function
|
|
132
|
+
function Me(t, e) {
|
|
133
133
|
return Do(t) && (t.msMatchesSelector || t.matches).call(t, e);
|
|
134
134
|
}
|
|
135
135
|
function jo(t, e) {
|
|
136
136
|
var n = t ? ae(t.children) : [];
|
|
137
137
|
return e ? n.filter(function(o) {
|
|
138
|
-
return
|
|
138
|
+
return Me(o, e);
|
|
139
139
|
}) : n;
|
|
140
140
|
}
|
|
141
141
|
function Ye(t, e) {
|
|
@@ -157,7 +157,7 @@ function Pe(t) {
|
|
|
157
157
|
function te(t) {
|
|
158
158
|
return ae(arguments, 1).forEach(function(e) {
|
|
159
159
|
de(e, function(n, o) {
|
|
160
|
-
jn(n) ? t[o] = n.slice() :
|
|
160
|
+
jn(n) ? t[o] = n.slice() : He(n) ? t[o] = te({}, He(t[o]) ? t[o] : {}, n) : t[o] = n;
|
|
161
161
|
});
|
|
162
162
|
}), t;
|
|
163
163
|
}
|
|
@@ -166,7 +166,7 @@ function ho(t, e) {
|
|
|
166
166
|
delete t[n];
|
|
167
167
|
});
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function Bt(t, e) {
|
|
170
170
|
Rt(t, function(n) {
|
|
171
171
|
Rt(e, function(o) {
|
|
172
172
|
n && n.removeAttribute(o);
|
|
@@ -174,15 +174,15 @@ function Vt(t, e) {
|
|
|
174
174
|
});
|
|
175
175
|
}
|
|
176
176
|
function ot(t, e, n) {
|
|
177
|
-
|
|
177
|
+
He(e) ? de(e, function(o, r) {
|
|
178
178
|
ot(t, r, o);
|
|
179
179
|
}) : Rt(t, function(o) {
|
|
180
|
-
Un(n) || n === "" ?
|
|
180
|
+
Un(n) || n === "" ? Bt(o, e) : o.setAttribute(e, String(n));
|
|
181
181
|
});
|
|
182
182
|
}
|
|
183
183
|
function Ce(t, e, n) {
|
|
184
184
|
var o = document.createElement(t);
|
|
185
|
-
return e && (re(e) ?
|
|
185
|
+
return e && (re(e) ? Ot(o, e) : ot(o, e)), n && qe(n, o), o;
|
|
186
186
|
}
|
|
187
187
|
function zt(t, e, n) {
|
|
188
188
|
if (Ue(n))
|
|
@@ -197,7 +197,7 @@ function Uo(t) {
|
|
|
197
197
|
preventScroll: !0
|
|
198
198
|
});
|
|
199
199
|
}
|
|
200
|
-
function
|
|
200
|
+
function Ht(t, e) {
|
|
201
201
|
return t.getAttribute(e);
|
|
202
202
|
}
|
|
203
203
|
function vo(t, e) {
|
|
@@ -226,7 +226,7 @@ function Yn(t, e) {
|
|
|
226
226
|
function Xt(t, e) {
|
|
227
227
|
Yt(t, e, !1);
|
|
228
228
|
}
|
|
229
|
-
function
|
|
229
|
+
function Hn(t) {
|
|
230
230
|
return t.timeStamp;
|
|
231
231
|
}
|
|
232
232
|
function pe(t) {
|
|
@@ -249,7 +249,7 @@ function be(t, e, n) {
|
|
|
249
249
|
var o = ie(e, n), r = dn(e, n);
|
|
250
250
|
return ie(dn(o, t), r);
|
|
251
251
|
}
|
|
252
|
-
function
|
|
252
|
+
function Mn(t) {
|
|
253
253
|
return +(t > 0) - +(t < 0);
|
|
254
254
|
}
|
|
255
255
|
function Nn(t, e) {
|
|
@@ -299,7 +299,7 @@ function Xo() {
|
|
|
299
299
|
function l() {
|
|
300
300
|
t.forEach(function(i) {
|
|
301
301
|
i[4]();
|
|
302
|
-
}),
|
|
302
|
+
}), Jt(t);
|
|
303
303
|
}
|
|
304
304
|
return {
|
|
305
305
|
bind: e,
|
|
@@ -308,7 +308,7 @@ function Xo() {
|
|
|
308
308
|
destroy: l
|
|
309
309
|
};
|
|
310
310
|
}
|
|
311
|
-
var le = "mounted", Pn = "ready",
|
|
311
|
+
var le = "mounted", Pn = "ready", Zt = "move", Le = "moved", Jn = "click", Ko = "active", Jo = "inactive", Zo = "visible", Qo = "hidden", wt = "refresh", Lt = "updated", $e = "resize", hn = "resized", tr = "drag", er = "dragging", nr = "dragged", vn = "scroll", fe = "scrolled", $i = "overflow", Zn = "destroy", or = "arrows:mounted", rr = "arrows:updated", ir = "pagination:mounted", ar = "pagination:updated", Qn = "navigation:mounted", to = "autoplay:play", lr = "autoplay:playing", eo = "autoplay:pause", no = "lazyload:loaded", sr = "sk", cr = "sh", mn = "ei";
|
|
312
312
|
function St(t) {
|
|
313
313
|
var e = t ? t.event.bus : document.createDocumentFragment(), n = Xo();
|
|
314
314
|
function o(l, i) {
|
|
@@ -319,7 +319,7 @@ function St(t) {
|
|
|
319
319
|
function r(l) {
|
|
320
320
|
n.dispatch(e, l, ae(arguments, 1));
|
|
321
321
|
}
|
|
322
|
-
return t && t.event.on(
|
|
322
|
+
return t && t.event.on(Zn, n.destroy), Pe(n, {
|
|
323
323
|
bus: e,
|
|
324
324
|
on: o,
|
|
325
325
|
off: bt(n.unbind, e),
|
|
@@ -444,7 +444,7 @@ function Ei(t, e, n) {
|
|
|
444
444
|
orient: r
|
|
445
445
|
};
|
|
446
446
|
}
|
|
447
|
-
var Kt = "role", we = "tabindex", Fi = "disabled",
|
|
447
|
+
var Kt = "role", we = "tabindex", Fi = "disabled", Mt = "aria-", Ke = Mt + "controls", dr = Mt + "current", xo = Mt + "selected", kt = Mt + "label", oo = Mt + "labelledby", gr = Mt + "hidden", ro = Mt + "orientation", Ve = Mt + "roledescription", Co = Mt + "live", wo = Mt + "busy", To = Mt + "atomic", io = [Kt, we, Fi, Ke, dr, kt, oo, gr, ro, Ve], Vt = Xe + "__", se = "is-", En = Xe, _o = Vt + "track", ki = Vt + "list", Tn = Vt + "slide", mr = Tn + "--clone", Ri = Tn + "__container", ao = Vt + "arrows", _n = Vt + "arrow", fr = _n + "--prev", yr = _n + "--next", $n = Vt + "pagination", hr = $n + "__page", Wi = Vt + "progress", zi = Wi + "__bar", Hi = Vt + "toggle", Mi = Vt + "spinner", Ni = Vt + "sr", Pi = se + "initialized", me = se + "active", vr = se + "prev", br = se + "next", On = se + "visible", Bn = se + "loading", Sr = se + "focus-in", xr = se + "overflow", Oi = [me, On, vr, br, Bn, Sr, xr], Bi = {
|
|
448
448
|
slide: Tn,
|
|
449
449
|
clone: mr,
|
|
450
450
|
arrows: ao,
|
|
@@ -453,12 +453,12 @@ var Kt = "role", we = "tabindex", Fi = "disabled", Ht = "aria-", Ke = Ht + "cont
|
|
|
453
453
|
next: yr,
|
|
454
454
|
pagination: $n,
|
|
455
455
|
page: hr,
|
|
456
|
-
spinner:
|
|
456
|
+
spinner: Mi
|
|
457
457
|
};
|
|
458
458
|
function Vi(t, e) {
|
|
459
459
|
if (Vo(t.closest))
|
|
460
460
|
return t.closest(e);
|
|
461
|
-
for (var n = t; n && n.nodeType === 1 && !
|
|
461
|
+
for (var n = t; n && n.nodeType === 1 && !Me(n, e); )
|
|
462
462
|
n = n.parentElement;
|
|
463
463
|
return n;
|
|
464
464
|
}
|
|
@@ -479,10 +479,10 @@ function ji(t, e, n) {
|
|
|
479
479
|
}
|
|
480
480
|
function b(S) {
|
|
481
481
|
var k = io.concat("style");
|
|
482
|
-
|
|
482
|
+
Jt(d), Xt(i, p), Xt(v, I), Bt([v, f], k), Bt(i, S ? k : ["style", Ve]);
|
|
483
483
|
}
|
|
484
484
|
function h() {
|
|
485
|
-
Xt(i, p), Xt(v, I), p = C(En), I = C(_o),
|
|
485
|
+
Xt(i, p), Xt(v, I), p = C(En), I = C(_o), Ot(i, p), Ot(v, I), ot(i, kt, n.label), ot(i, oo, n.labelledby);
|
|
486
486
|
}
|
|
487
487
|
function L() {
|
|
488
488
|
v = O("." + _o), f = Ye(v, "." + ki), We(v && f, "A track/list element is missing."), ln(d, jo(f, "." + Tn + ":not(." + mr + ")")), de({
|
|
@@ -491,7 +491,7 @@ function ji(t, e, n) {
|
|
|
491
491
|
prev: fr,
|
|
492
492
|
next: yr,
|
|
493
493
|
bar: zi,
|
|
494
|
-
toggle:
|
|
494
|
+
toggle: Hi
|
|
495
495
|
}, function(S, k) {
|
|
496
496
|
c[k] = O("." + S);
|
|
497
497
|
}), Pe(c, {
|
|
@@ -503,7 +503,7 @@ function ji(t, e, n) {
|
|
|
503
503
|
}
|
|
504
504
|
function q() {
|
|
505
505
|
var S = i.id || _i(Xe), k = n.role;
|
|
506
|
-
i.id = S, v.id = v.id || S + "-track", f.id = f.id || S + "-list", !
|
|
506
|
+
i.id = S, v.id = v.id || S + "-track", f.id = f.id || S + "-list", !Ht(i, Kt) && i.tagName !== "SECTION" && k && ot(i, Kt, k), ot(i, Ve, s.carousel), ot(f, Kt, "presentation");
|
|
507
507
|
}
|
|
508
508
|
function O(S) {
|
|
509
509
|
var k = qo(i, S);
|
|
@@ -518,24 +518,24 @@ function ji(t, e, n) {
|
|
|
518
518
|
destroy: b
|
|
519
519
|
});
|
|
520
520
|
}
|
|
521
|
-
var Ae = "slide", Ee = "loop",
|
|
521
|
+
var Ae = "slide", Ee = "loop", Je = "fade";
|
|
522
522
|
function Ui(t, e, n, o) {
|
|
523
|
-
var r = St(t), l = r.on, i = r.emit, s = r.bind, c = t.Components, d = t.root, p = t.options, I = p.isNavigation, v = p.updateOnMove, f = p.i18n, u = p.pagination, g = p.slideFocus, T = c.Direction.resolve, b =
|
|
523
|
+
var r = St(t), l = r.on, i = r.emit, s = r.bind, c = t.Components, d = t.root, p = t.options, I = p.isNavigation, v = p.updateOnMove, f = p.i18n, u = p.pagination, g = p.slideFocus, T = c.Direction.resolve, b = Ht(o, "style"), h = Ht(o, kt), L = n > -1, q = Ye(o, "." + Ri), O;
|
|
524
524
|
function C() {
|
|
525
525
|
L || (o.id = d.id + "-slide" + Kn(e + 1), ot(o, Kt, u ? "tabpanel" : "group"), ot(o, Ve, f.slide), ot(o, kt, h || Nn(f.slideLabel, [e + 1, t.length]))), S();
|
|
526
526
|
}
|
|
527
527
|
function S() {
|
|
528
|
-
s(o, "click", bt(i,
|
|
528
|
+
s(o, "click", bt(i, Jn, F)), s(o, "keydown", bt(i, sr, F)), l([Le, cr, fe], R), l(Qn, w), v && l(Zt, B);
|
|
529
529
|
}
|
|
530
530
|
function k() {
|
|
531
|
-
O = !0, r.destroy(), Xt(o, Oi),
|
|
531
|
+
O = !0, r.destroy(), Xt(o, Oi), Bt(o, io), ot(o, "style", b), ot(o, kt, h || "");
|
|
532
532
|
}
|
|
533
533
|
function w() {
|
|
534
534
|
var A = t.splides.map(function(x) {
|
|
535
535
|
var _ = x.splide.Components.Slides.getAt(e);
|
|
536
536
|
return _ ? _.slide.id : "";
|
|
537
537
|
}).join(" ");
|
|
538
|
-
ot(o, kt, Nn(f.slideX, (L ? n : e) + 1)), ot(o, Ke, A), ot(o, Kt, g ? "button" : ""), g &&
|
|
538
|
+
ot(o, kt, Nn(f.slideX, (L ? n : e) + 1)), ot(o, Ke, A), ot(o, Kt, g ? "button" : ""), g && Bt(o, Ve);
|
|
539
539
|
}
|
|
540
540
|
function B() {
|
|
541
541
|
O || R();
|
|
@@ -543,16 +543,16 @@ function Ui(t, e, n, o) {
|
|
|
543
543
|
function R() {
|
|
544
544
|
if (!O) {
|
|
545
545
|
var A = t.index;
|
|
546
|
-
|
|
546
|
+
H(), M(), Yt(o, vr, e === A - 1), Yt(o, br, e === A + 1);
|
|
547
547
|
}
|
|
548
548
|
}
|
|
549
|
-
function
|
|
549
|
+
function H() {
|
|
550
550
|
var A = j();
|
|
551
|
-
A !== vo(o, me) && (Yt(o, me, A), ot(o, dr, I && A || ""), i(A ? Ko :
|
|
551
|
+
A !== vo(o, me) && (Yt(o, me, A), ot(o, dr, I && A || ""), i(A ? Ko : Jo, F));
|
|
552
552
|
}
|
|
553
|
-
function
|
|
553
|
+
function M() {
|
|
554
554
|
var A = y(), x = !A && (!j() || L);
|
|
555
|
-
if (t.state.is([Ie, je]) || ot(o, gr, x || ""), ot(Yn(o, p.focusableNodes || ""), we, x ? -1 : ""), g && ot(o, we, x ? -1 : 0), A !== vo(o, On) && (Yt(o, On, A), i(A ?
|
|
555
|
+
if (t.state.is([Ie, je]) || ot(o, gr, x || ""), ot(Yn(o, p.focusableNodes || ""), we, x ? -1 : ""), g && ot(o, we, x ? -1 : 0), A !== vo(o, On) && (Yt(o, On, A), i(A ? Zo : Qo, F)), !A && document.activeElement === o) {
|
|
556
556
|
var _ = c.Slides.getAt(t.index);
|
|
557
557
|
_ && Uo(_.slide);
|
|
558
558
|
}
|
|
@@ -565,7 +565,7 @@ function Ui(t, e, n, o) {
|
|
|
565
565
|
return A === e || p.cloneStatus && A === n;
|
|
566
566
|
}
|
|
567
567
|
function y() {
|
|
568
|
-
if (t.is(
|
|
568
|
+
if (t.is(Je))
|
|
569
569
|
return j();
|
|
570
570
|
var A = Ft(c.Elements.track), x = Ft(o), _ = T("left", !0), K = T("right", !0);
|
|
571
571
|
return gn(A[_]) <= Be(x[_]) && gn(x[K]) <= Be(A[K]);
|
|
@@ -594,73 +594,73 @@ function Gi(t, e, n) {
|
|
|
594
594
|
v(), r(wt, f), r(wt, v);
|
|
595
595
|
}
|
|
596
596
|
function v() {
|
|
597
|
-
c.forEach(function(R,
|
|
598
|
-
g(R,
|
|
597
|
+
c.forEach(function(R, H) {
|
|
598
|
+
g(R, H, -1);
|
|
599
599
|
});
|
|
600
600
|
}
|
|
601
601
|
function f() {
|
|
602
602
|
O(function(R) {
|
|
603
603
|
R.destroy();
|
|
604
|
-
}),
|
|
604
|
+
}), Jt(p);
|
|
605
605
|
}
|
|
606
606
|
function u() {
|
|
607
607
|
O(function(R) {
|
|
608
608
|
R.update();
|
|
609
609
|
});
|
|
610
610
|
}
|
|
611
|
-
function g(R,
|
|
612
|
-
var Y = Ui(t,
|
|
611
|
+
function g(R, H, M) {
|
|
612
|
+
var Y = Ui(t, H, M, R);
|
|
613
613
|
Y.mount(), p.push(Y), p.sort(function(j, y) {
|
|
614
614
|
return j.index - y.index;
|
|
615
615
|
});
|
|
616
616
|
}
|
|
617
617
|
function T(R) {
|
|
618
|
-
return R ? C(function(
|
|
619
|
-
return !
|
|
618
|
+
return R ? C(function(H) {
|
|
619
|
+
return !H.isClone;
|
|
620
620
|
}) : p;
|
|
621
621
|
}
|
|
622
622
|
function b(R) {
|
|
623
|
-
var
|
|
623
|
+
var H = e.Controller, M = H.toIndex(R), Y = H.hasFocus() ? 1 : n.perPage;
|
|
624
624
|
return C(function(j) {
|
|
625
|
-
return sn(j.index,
|
|
625
|
+
return sn(j.index, M, M + Y - 1);
|
|
626
626
|
});
|
|
627
627
|
}
|
|
628
628
|
function h(R) {
|
|
629
629
|
return C(R)[0];
|
|
630
630
|
}
|
|
631
|
-
function L(R,
|
|
632
|
-
Rt(R, function(
|
|
633
|
-
if (re(
|
|
634
|
-
var Y = c[
|
|
635
|
-
Y ? qn(
|
|
631
|
+
function L(R, H) {
|
|
632
|
+
Rt(R, function(M) {
|
|
633
|
+
if (re(M) && (M = Go(M)), Do(M)) {
|
|
634
|
+
var Y = c[H];
|
|
635
|
+
Y ? qn(M, Y) : qe(d, M), Ot(M, n.classes.slide), k(M, bt(l, $e));
|
|
636
636
|
}
|
|
637
637
|
}), l(wt);
|
|
638
638
|
}
|
|
639
639
|
function q(R) {
|
|
640
|
-
ge(C(R).map(function(
|
|
641
|
-
return
|
|
640
|
+
ge(C(R).map(function(H) {
|
|
641
|
+
return H.slide;
|
|
642
642
|
})), l(wt);
|
|
643
643
|
}
|
|
644
|
-
function O(R,
|
|
645
|
-
T(
|
|
644
|
+
function O(R, H) {
|
|
645
|
+
T(H).forEach(R);
|
|
646
646
|
}
|
|
647
647
|
function C(R) {
|
|
648
|
-
return p.filter(Vo(R) ? R : function(
|
|
649
|
-
return re(R) ?
|
|
648
|
+
return p.filter(Vo(R) ? R : function(H) {
|
|
649
|
+
return re(R) ? Me(H.slide, R) : Gn(Ge(R), H.index);
|
|
650
650
|
});
|
|
651
651
|
}
|
|
652
|
-
function S(R,
|
|
652
|
+
function S(R, H, M) {
|
|
653
653
|
O(function(Y) {
|
|
654
|
-
Y.style(R,
|
|
654
|
+
Y.style(R, H, M);
|
|
655
655
|
});
|
|
656
656
|
}
|
|
657
|
-
function k(R,
|
|
658
|
-
var
|
|
659
|
-
Y ?
|
|
657
|
+
function k(R, H) {
|
|
658
|
+
var M = Yn(R, "img"), Y = M.length;
|
|
659
|
+
Y ? M.forEach(function(j) {
|
|
660
660
|
i(j, "load error", function() {
|
|
661
|
-
--Y ||
|
|
661
|
+
--Y || H();
|
|
662
662
|
});
|
|
663
|
-
}) :
|
|
663
|
+
}) : H();
|
|
664
664
|
}
|
|
665
665
|
function w(R) {
|
|
666
666
|
return R ? c.length : p.length;
|
|
@@ -699,7 +699,7 @@ function qi(t, e, n) {
|
|
|
699
699
|
}
|
|
700
700
|
function O(F) {
|
|
701
701
|
var A = n.padding, x = c(F ? "right" : "left");
|
|
702
|
-
return A && pe(A[x] || (
|
|
702
|
+
return A && pe(A[x] || (He(A) ? 0 : A)) || "0px";
|
|
703
703
|
}
|
|
704
704
|
function C() {
|
|
705
705
|
var F = "";
|
|
@@ -721,11 +721,11 @@ function qi(t, e, n) {
|
|
|
721
721
|
function R() {
|
|
722
722
|
return Ft(v)[c("width")];
|
|
723
723
|
}
|
|
724
|
-
function
|
|
724
|
+
function H(F, A) {
|
|
725
725
|
var x = f(F || 0);
|
|
726
726
|
return x ? Ft(x.slide)[c("width")] + (A ? 0 : j()) : 0;
|
|
727
727
|
}
|
|
728
|
-
function
|
|
728
|
+
function M(F, A) {
|
|
729
729
|
var x = f(F);
|
|
730
730
|
if (x) {
|
|
731
731
|
var _ = Ft(x.slide)[c("right")], K = Ft(v)[c("left")];
|
|
@@ -734,7 +734,7 @@ function qi(t, e, n) {
|
|
|
734
734
|
return 0;
|
|
735
735
|
}
|
|
736
736
|
function Y(F) {
|
|
737
|
-
return
|
|
737
|
+
return M(t.length - 1) - M(0) + H(0, F);
|
|
738
738
|
}
|
|
739
739
|
function j() {
|
|
740
740
|
var F = f(0);
|
|
@@ -744,15 +744,15 @@ function qi(t, e, n) {
|
|
|
744
744
|
return parseFloat(zt(I, c("padding" + (F ? "Right" : "Left")))) || 0;
|
|
745
745
|
}
|
|
746
746
|
function W() {
|
|
747
|
-
return t.is(
|
|
747
|
+
return t.is(Je) || Y(!0) > R();
|
|
748
748
|
}
|
|
749
749
|
return {
|
|
750
750
|
mount: h,
|
|
751
751
|
resize: q,
|
|
752
752
|
listSize: R,
|
|
753
|
-
slideSize:
|
|
753
|
+
slideSize: H,
|
|
754
754
|
sliderSize: Y,
|
|
755
|
-
totalSize:
|
|
755
|
+
totalSize: M,
|
|
756
756
|
getPadding: y,
|
|
757
757
|
isOverflow: W
|
|
758
758
|
};
|
|
@@ -767,7 +767,7 @@ function Xi(t, e, n) {
|
|
|
767
767
|
v(), p();
|
|
768
768
|
}
|
|
769
769
|
function v() {
|
|
770
|
-
ge(c),
|
|
770
|
+
ge(c), Jt(c), o.destroy();
|
|
771
771
|
}
|
|
772
772
|
function f() {
|
|
773
773
|
var b = T();
|
|
@@ -786,7 +786,7 @@ function Xi(t, e, n) {
|
|
|
786
786
|
}
|
|
787
787
|
function g(b, h) {
|
|
788
788
|
var L = b.cloneNode(!0);
|
|
789
|
-
return
|
|
789
|
+
return Ot(L, n.classes.clone), L.id = t.root.id + "-clone" + Kn(h + 1), L;
|
|
790
790
|
}
|
|
791
791
|
function T() {
|
|
792
792
|
var b = n.clones;
|
|
@@ -812,22 +812,22 @@ function Ki(t, e, n) {
|
|
|
812
812
|
e.Controller.isBusy() || (e.Scroll.cancel(), S(t.index), e.Slides.update());
|
|
813
813
|
}
|
|
814
814
|
function C(x, _, K, rt) {
|
|
815
|
-
x !== _ && F(x > K) && (R(), k(B(Y(), x > K), !0)), i(Ie), l(
|
|
815
|
+
x !== _ && F(x > K) && (R(), k(B(Y(), x > K), !0)), i(Ie), l(Zt, _, K, x), L.start(_, function() {
|
|
816
816
|
i(_e), l(Le, _, K, x), rt && rt();
|
|
817
817
|
});
|
|
818
818
|
}
|
|
819
819
|
function S(x) {
|
|
820
|
-
k(
|
|
820
|
+
k(M(x, !0));
|
|
821
821
|
}
|
|
822
822
|
function k(x, _) {
|
|
823
|
-
if (!t.is(
|
|
823
|
+
if (!t.is(Je)) {
|
|
824
824
|
var K = _ ? x : w(x);
|
|
825
825
|
zt(b, "transform", "translate" + u("X") + "(" + K + "px)"), x !== K && l(cr);
|
|
826
826
|
}
|
|
827
827
|
}
|
|
828
828
|
function w(x) {
|
|
829
829
|
if (t.is(Ee)) {
|
|
830
|
-
var _ =
|
|
830
|
+
var _ = H(x), K = _ > e.Controller.getEnd(), rt = _ < 0;
|
|
831
831
|
(rt || K) && (x = B(x, K));
|
|
832
832
|
}
|
|
833
833
|
return x;
|
|
@@ -839,9 +839,9 @@ function Ki(t, e, n) {
|
|
|
839
839
|
function R() {
|
|
840
840
|
k(Y(), !0), L.cancel();
|
|
841
841
|
}
|
|
842
|
-
function
|
|
842
|
+
function H(x) {
|
|
843
843
|
for (var _ = e.Slides.get(), K = 0, rt = 1 / 0, et = 0; et < _.length; et++) {
|
|
844
|
-
var lt = _[et].index, z = Et(
|
|
844
|
+
var lt = _[et].index, z = Et(M(lt, !0) - x);
|
|
845
845
|
if (z <= rt)
|
|
846
846
|
rt = z, K = lt;
|
|
847
847
|
else
|
|
@@ -849,7 +849,7 @@ function Ki(t, e, n) {
|
|
|
849
849
|
}
|
|
850
850
|
return K;
|
|
851
851
|
}
|
|
852
|
-
function
|
|
852
|
+
function M(x, _) {
|
|
853
853
|
var K = g(p(x - 1) - y(x));
|
|
854
854
|
return _ ? j(K) : K;
|
|
855
855
|
}
|
|
@@ -865,7 +865,7 @@ function Ki(t, e, n) {
|
|
|
865
865
|
return _ === "center" ? (I() - c(x, !0)) / 2 : +_ * c(x) || 0;
|
|
866
866
|
}
|
|
867
867
|
function W(x) {
|
|
868
|
-
return
|
|
868
|
+
return M(x ? e.Controller.getEnd() : 0, !!n.trimSpace);
|
|
869
869
|
}
|
|
870
870
|
function F(x) {
|
|
871
871
|
var _ = g(B(Y(), x));
|
|
@@ -883,15 +883,15 @@ function Ki(t, e, n) {
|
|
|
883
883
|
translate: k,
|
|
884
884
|
shift: B,
|
|
885
885
|
cancel: R,
|
|
886
|
-
toIndex:
|
|
887
|
-
toPosition:
|
|
886
|
+
toIndex: H,
|
|
887
|
+
toPosition: M,
|
|
888
888
|
getPosition: Y,
|
|
889
889
|
getLimit: W,
|
|
890
890
|
exceededLimit: A,
|
|
891
891
|
reposition: O
|
|
892
892
|
};
|
|
893
893
|
}
|
|
894
|
-
function
|
|
894
|
+
function Ji(t, e, n) {
|
|
895
895
|
var o = St(t), r = o.on, l = o.emit, i = e.Move, s = i.getPosition, c = i.getLimit, d = i.toPosition, p = e.Slides, I = p.isEnough, v = p.getLength, f = n.omitEnd, u = t.is(Ee), g = t.is(Ae), T = bt(Y, !1), b = bt(Y, !0), h = n.start || 0, L, q = h, O, C, S;
|
|
896
896
|
function k() {
|
|
897
897
|
w(), r([Lt, wt, mn], w), r(hn, B);
|
|
@@ -906,17 +906,17 @@ function Zi(t, e, n) {
|
|
|
906
906
|
}
|
|
907
907
|
function R(z, Q, mt) {
|
|
908
908
|
if (!lt()) {
|
|
909
|
-
var it =
|
|
909
|
+
var it = M(z), ut = W(it);
|
|
910
910
|
ut > -1 && (Q || ut !== h) && (K(ut), i.move(it, ut, q, mt));
|
|
911
911
|
}
|
|
912
912
|
}
|
|
913
|
-
function
|
|
913
|
+
function H(z, Q, mt, it) {
|
|
914
914
|
e.Scroll.scroll(z, Q, mt, function() {
|
|
915
915
|
var ut = W(i.toIndex(s()));
|
|
916
916
|
K(f ? ie(ut, L) : ut), it && it();
|
|
917
917
|
});
|
|
918
918
|
}
|
|
919
|
-
function
|
|
919
|
+
function M(z) {
|
|
920
920
|
var Q = h;
|
|
921
921
|
if (re(z)) {
|
|
922
922
|
var mt = z.match(/([+\-<>])(\d+)?/) || [], it = mt[1], ut = mt[2];
|
|
@@ -979,7 +979,7 @@ function Zi(t, e, n) {
|
|
|
979
979
|
return {
|
|
980
980
|
mount: k,
|
|
981
981
|
go: R,
|
|
982
|
-
scroll:
|
|
982
|
+
scroll: H,
|
|
983
983
|
getNext: T,
|
|
984
984
|
getPrev: b,
|
|
985
985
|
getAdjacent: Y,
|
|
@@ -993,7 +993,7 @@ function Zi(t, e, n) {
|
|
|
993
993
|
isBusy: lt
|
|
994
994
|
};
|
|
995
995
|
}
|
|
996
|
-
var
|
|
996
|
+
var Zi = "http://www.w3.org/2000/svg", Qi = "m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z", tn = 40;
|
|
997
997
|
function ta(t, e, n) {
|
|
998
998
|
var o = St(t), r = o.on, l = o.bind, i = o.emit, s = n.classes, c = n.i18n, d = e.Elements, p = e.Controller, I = d.arrows, v = d.track, f = I, u = d.prev, g = d.next, T, b, h = {};
|
|
999
999
|
function L() {
|
|
@@ -1003,32 +1003,32 @@ function ta(t, e, n) {
|
|
|
1003
1003
|
C(), L();
|
|
1004
1004
|
}
|
|
1005
1005
|
function O() {
|
|
1006
|
-
var
|
|
1007
|
-
|
|
1006
|
+
var H = n.arrows;
|
|
1007
|
+
H && !(u && g) && w(), u && g && (Pe(h, {
|
|
1008
1008
|
prev: u,
|
|
1009
1009
|
next: g
|
|
1010
|
-
}), Oe(f,
|
|
1010
|
+
}), Oe(f, H ? "" : "none"), Ot(f, b = ao + "--" + n.direction), H && (S(), R(), ot([u, g], Ke, v.id), i(or, u, g)));
|
|
1011
1011
|
}
|
|
1012
1012
|
function C() {
|
|
1013
|
-
o.destroy(), Xt(f, b), T ? (ge(I ? [u, g] : f), u = g = null) :
|
|
1013
|
+
o.destroy(), Xt(f, b), T ? (ge(I ? [u, g] : f), u = g = null) : Bt([u, g], io);
|
|
1014
1014
|
}
|
|
1015
1015
|
function S() {
|
|
1016
1016
|
r([le, Le, wt, fe, mn], R), l(g, "click", bt(k, ">")), l(u, "click", bt(k, "<"));
|
|
1017
1017
|
}
|
|
1018
|
-
function k(
|
|
1019
|
-
p.go(
|
|
1018
|
+
function k(H) {
|
|
1019
|
+
p.go(H, !0);
|
|
1020
1020
|
}
|
|
1021
1021
|
function w() {
|
|
1022
1022
|
f = I || Ce("div", s.arrows), u = B(!0), g = B(!1), T = !0, qe(f, [u, g]), !I && qn(f, v);
|
|
1023
1023
|
}
|
|
1024
|
-
function B(
|
|
1025
|
-
var
|
|
1026
|
-
return Go(
|
|
1024
|
+
function B(H) {
|
|
1025
|
+
var M = '<button class="' + s.arrow + " " + (H ? s.prev : s.next) + '" type="button"><svg xmlns="' + Zi + '" viewBox="0 0 ' + tn + " " + tn + '" width="' + tn + '" height="' + tn + '" focusable="false"><path d="' + (n.arrowPath || Qi) + '" />';
|
|
1026
|
+
return Go(M);
|
|
1027
1027
|
}
|
|
1028
1028
|
function R() {
|
|
1029
1029
|
if (u && g) {
|
|
1030
|
-
var
|
|
1031
|
-
u.disabled =
|
|
1030
|
+
var H = t.index, M = p.getPrev(), Y = p.getNext(), j = M > -1 && H < M ? c.last : c.prev, y = Y > -1 && H > Y ? c.first : c.next;
|
|
1031
|
+
u.disabled = M < 0, g.disabled = Y < 0, ot(u, kt, j), ot(g, kt, y), i(rr, u, g, M, Y);
|
|
1032
1032
|
}
|
|
1033
1033
|
}
|
|
1034
1034
|
return {
|
|
@@ -1051,7 +1051,7 @@ function na(t, e, n) {
|
|
|
1051
1051
|
g = w.type === "focusin", O();
|
|
1052
1052
|
}), v && l(v, "click", function() {
|
|
1053
1053
|
T ? L() : q(!0);
|
|
1054
|
-
}), r([
|
|
1054
|
+
}), r([Zt, vn, wt], s.rewind), r(Zt, k);
|
|
1055
1055
|
}
|
|
1056
1056
|
function L() {
|
|
1057
1057
|
c() && e.Slides.isEnough() && (s.start(!n.resetProgress), g = u = T = !1, C(), i(to));
|
|
@@ -1071,7 +1071,7 @@ function na(t, e, n) {
|
|
|
1071
1071
|
}
|
|
1072
1072
|
function k(w) {
|
|
1073
1073
|
var B = e.Slides.getAt(w);
|
|
1074
|
-
s.set(B && +
|
|
1074
|
+
s.set(B && +Ht(B.slide, ea) || n.interval);
|
|
1075
1075
|
}
|
|
1076
1076
|
return {
|
|
1077
1077
|
mount: b,
|
|
@@ -1104,23 +1104,23 @@ var ra = 10, ia = 600, aa = 0.6, la = 1.5, sa = 800;
|
|
|
1104
1104
|
function ca(t, e, n) {
|
|
1105
1105
|
var o = St(t), r = o.on, l = o.emit, i = t.state.set, s = e.Move, c = s.getPosition, d = s.getLimit, p = s.exceededLimit, I = s.translate, v = t.is(Ae), f, u, g = 1;
|
|
1106
1106
|
function T() {
|
|
1107
|
-
r(
|
|
1107
|
+
r(Zt, q), r([Lt, wt], O);
|
|
1108
1108
|
}
|
|
1109
1109
|
function b(S, k, w, B, R) {
|
|
1110
|
-
var
|
|
1110
|
+
var H = c();
|
|
1111
1111
|
if (q(), w && (!v || !p())) {
|
|
1112
|
-
var
|
|
1113
|
-
S = s.toPosition(e.Controller.toDest(S %
|
|
1112
|
+
var M = e.Layout.sliderSize(), Y = Mn(S) * M * gn(Et(S) / M) || 0;
|
|
1113
|
+
S = s.toPosition(e.Controller.toDest(S % M)) + Y;
|
|
1114
1114
|
}
|
|
1115
|
-
var j = Yo(
|
|
1116
|
-
g = 1, k = j ? 0 : k || dn(Et(S -
|
|
1115
|
+
var j = Yo(H, S, 1);
|
|
1116
|
+
g = 1, k = j ? 0 : k || dn(Et(S - H) / la, sa), u = B, f = bn(k, h, bt(L, H, S, R), 1), i(je), l(vn), f.start();
|
|
1117
1117
|
}
|
|
1118
1118
|
function h() {
|
|
1119
1119
|
i(_e), u && u(), l(fe);
|
|
1120
1120
|
}
|
|
1121
1121
|
function L(S, k, w, B) {
|
|
1122
|
-
var R = c(),
|
|
1123
|
-
I(R +
|
|
1122
|
+
var R = c(), H = S + (k - S) * C(B), M = (H - R) * g;
|
|
1123
|
+
I(R + M), v && !w && p() && (g *= aa, Et(M) < ra && b(d(p(!0)), ia, !1, u, !0));
|
|
1124
1124
|
}
|
|
1125
1125
|
function q() {
|
|
1126
1126
|
f && f.cancel();
|
|
@@ -1145,12 +1145,12 @@ var Se = {
|
|
|
1145
1145
|
};
|
|
1146
1146
|
function pa(t, e, n) {
|
|
1147
1147
|
var o = St(t), r = o.on, l = o.emit, i = o.bind, s = o.unbind, c = t.state, d = e.Move, p = e.Scroll, I = e.Controller, v = e.Elements.track, f = e.Media.reduce, u = e.Direction, g = u.resolve, T = u.orient, b = d.getPosition, h = d.exceededLimit, L, q, O, C, S, k = !1, w, B, R;
|
|
1148
|
-
function
|
|
1148
|
+
function H() {
|
|
1149
1149
|
i(v, Fn, zn, Se), i(v, kn, zn, Se), i(v, Cr, Y, Se), i(v, "click", W, {
|
|
1150
1150
|
capture: !0
|
|
1151
|
-
}), i(v, "dragstart", qt), r([le, Lt],
|
|
1151
|
+
}), i(v, "dragstart", qt), r([le, Lt], M);
|
|
1152
1152
|
}
|
|
1153
|
-
function
|
|
1153
|
+
function M() {
|
|
1154
1154
|
var N = n.drag;
|
|
1155
1155
|
ft(!N), C = N === "free";
|
|
1156
1156
|
}
|
|
@@ -1179,10 +1179,10 @@ function pa(t, e, n) {
|
|
|
1179
1179
|
}
|
|
1180
1180
|
function A(N) {
|
|
1181
1181
|
var a = K(N), $ = rt(a), P = n.rewind && n.rewindByDrag;
|
|
1182
|
-
f(!1), C ? I.scroll($, 0, n.snap) : t.is(
|
|
1182
|
+
f(!1), C ? I.scroll($, 0, n.snap) : t.is(Je) ? I.go(T(Mn(a)) < 0 ? P ? "<" : "-" : P ? ">" : "+") : t.is(Ae) && k && P ? I.go(h(!0) ? ">" : "<") : I.go(I.toDest($), !0), f(!0);
|
|
1183
1183
|
}
|
|
1184
1184
|
function x(N) {
|
|
1185
|
-
var a = n.dragMinThreshold, $ =
|
|
1185
|
+
var a = n.dragMinThreshold, $ = He(a), P = $ && a.mouse || 0, V = ($ ? a.touch : +a) || 10;
|
|
1186
1186
|
return Et(et(N)) > (ut(N) ? V : P);
|
|
1187
1187
|
}
|
|
1188
1188
|
function _(N) {
|
|
@@ -1197,13 +1197,13 @@ function pa(t, e, n) {
|
|
|
1197
1197
|
return 0;
|
|
1198
1198
|
}
|
|
1199
1199
|
function rt(N) {
|
|
1200
|
-
return b() +
|
|
1200
|
+
return b() + Mn(N) * ie(Et(N) * (n.flickPower || 600), C ? 1 / 0 : e.Layout.listSize() * (n.flickMaxPages || 1));
|
|
1201
1201
|
}
|
|
1202
1202
|
function et(N, a) {
|
|
1203
1203
|
return Q(N, a) - Q(z(N), a);
|
|
1204
1204
|
}
|
|
1205
1205
|
function lt(N) {
|
|
1206
|
-
return
|
|
1206
|
+
return Hn(N) - Hn(z(N));
|
|
1207
1207
|
}
|
|
1208
1208
|
function z(N) {
|
|
1209
1209
|
return q === N && O || q;
|
|
@@ -1216,21 +1216,21 @@ function pa(t, e, n) {
|
|
|
1216
1216
|
}
|
|
1217
1217
|
function it(N) {
|
|
1218
1218
|
var a = n.noDrag;
|
|
1219
|
-
return !
|
|
1219
|
+
return !Me(N, "." + hr + ", ." + _n) && (!a || !Me(N, a));
|
|
1220
1220
|
}
|
|
1221
1221
|
function ut(N) {
|
|
1222
1222
|
return typeof TouchEvent < "u" && N instanceof TouchEvent;
|
|
1223
1223
|
}
|
|
1224
|
-
function
|
|
1224
|
+
function Z() {
|
|
1225
1225
|
return S;
|
|
1226
1226
|
}
|
|
1227
1227
|
function ft(N) {
|
|
1228
1228
|
B = N;
|
|
1229
1229
|
}
|
|
1230
1230
|
return {
|
|
1231
|
-
mount:
|
|
1231
|
+
mount: H,
|
|
1232
1232
|
disable: ft,
|
|
1233
|
-
isDragging:
|
|
1233
|
+
isDragging: Z
|
|
1234
1234
|
};
|
|
1235
1235
|
}
|
|
1236
1236
|
var ua = {
|
|
@@ -1247,7 +1247,7 @@ var Ao = "keydown";
|
|
|
1247
1247
|
function da(t, e, n) {
|
|
1248
1248
|
var o = St(t), r = o.on, l = o.bind, i = o.unbind, s = t.root, c = e.Direction.resolve, d, p;
|
|
1249
1249
|
function I() {
|
|
1250
|
-
v(), r(Lt, f), r(Lt, v), r(
|
|
1250
|
+
v(), r(Lt, f), r(Lt, v), r(Zt, g);
|
|
1251
1251
|
}
|
|
1252
1252
|
function v() {
|
|
1253
1253
|
var b = n.keyboard;
|
|
@@ -1284,12 +1284,12 @@ function ma(t, e, n) {
|
|
|
1284
1284
|
n.lazyLoad && (v(), r(wt, v));
|
|
1285
1285
|
}
|
|
1286
1286
|
function v() {
|
|
1287
|
-
|
|
1287
|
+
Jt(p), f(), c ? b() : (l(d), r(d, u), u());
|
|
1288
1288
|
}
|
|
1289
1289
|
function f() {
|
|
1290
1290
|
e.Slides.forEach(function(h) {
|
|
1291
1291
|
Yn(h.slide, ga).forEach(function(L) {
|
|
1292
|
-
var q =
|
|
1292
|
+
var q = Ht(L, ze), O = Ht(L, cn);
|
|
1293
1293
|
if (q !== L.src || O !== L.srcset) {
|
|
1294
1294
|
var C = n.classes.spinner, S = L.parentElement, k = Ye(S, "." + C) || Ce("span", C, S);
|
|
1295
1295
|
p.push([L, h, k]), L.src || Oe(L, "none");
|
|
@@ -1305,7 +1305,7 @@ function ma(t, e, n) {
|
|
|
1305
1305
|
}
|
|
1306
1306
|
function g(h) {
|
|
1307
1307
|
var L = h[0];
|
|
1308
|
-
|
|
1308
|
+
Ot(h[1].slide, Bn), i(L, "load error", bt(T, h)), ot(L, "src", Ht(L, ze)), ot(L, "srcset", Ht(L, cn)), Bt(L, ze), Bt(L, cn);
|
|
1309
1309
|
}
|
|
1310
1310
|
function T(h, L) {
|
|
1311
1311
|
var q = h[0], O = h[1];
|
|
@@ -1316,7 +1316,7 @@ function ma(t, e, n) {
|
|
|
1316
1316
|
}
|
|
1317
1317
|
return {
|
|
1318
1318
|
mount: I,
|
|
1319
|
-
destroy: bt(
|
|
1319
|
+
destroy: bt(Jt, p),
|
|
1320
1320
|
check: u
|
|
1321
1321
|
};
|
|
1322
1322
|
}
|
|
@@ -1325,24 +1325,24 @@ function fa(t, e, n) {
|
|
|
1325
1325
|
function h() {
|
|
1326
1326
|
L(), r([Lt, wt, mn], h);
|
|
1327
1327
|
var B = n.pagination;
|
|
1328
|
-
u && Oe(u, B ? "" : "none"), B && (r([
|
|
1328
|
+
u && Oe(u, B ? "" : "none"), B && (r([Zt, vn, fe], w), q(), w(), l(ir, {
|
|
1329
1329
|
list: T,
|
|
1330
1330
|
items: g
|
|
1331
1331
|
}, k(t.index)));
|
|
1332
1332
|
}
|
|
1333
1333
|
function L() {
|
|
1334
|
-
T && (ge(u ? ae(T.children) : T), Xt(T, b),
|
|
1334
|
+
T && (ge(u ? ae(T.children) : T), Xt(T, b), Jt(g), T = null), o.destroy();
|
|
1335
1335
|
}
|
|
1336
1336
|
function q() {
|
|
1337
|
-
var B = t.length, R = n.classes,
|
|
1338
|
-
T = u || Ce("ul", R.pagination, c.track.parentElement),
|
|
1337
|
+
var B = t.length, R = n.classes, H = n.i18n, M = n.perPage, Y = p() ? d.getEnd() + 1 : Be(B / M);
|
|
1338
|
+
T = u || Ce("ul", R.pagination, c.track.parentElement), Ot(T, b = $n + "--" + S()), ot(T, Kt, "tablist"), ot(T, kt, H.select), ot(T, ro, S() === wn ? "vertical" : "");
|
|
1339
1339
|
for (var j = 0; j < Y; j++) {
|
|
1340
1340
|
var y = Ce("li", null, T), W = Ce("button", {
|
|
1341
1341
|
class: R.page,
|
|
1342
1342
|
type: "button"
|
|
1343
1343
|
}, y), F = s.getIn(j).map(function(x) {
|
|
1344
1344
|
return x.slide.id;
|
|
1345
|
-
}), A = !p() &&
|
|
1345
|
+
}), A = !p() && M > 1 ? H.pageX : H.slideX;
|
|
1346
1346
|
i(W, "click", bt(O, j)), n.paginationKeyboard && i(W, "keydown", bt(C, j)), ot(y, Kt, "presentation"), ot(W, Kt, "tab"), ot(W, Ke, F.join(" ")), ot(W, kt, Nn(A, j + 1)), ot(W, we, -1), g.push({
|
|
1347
1347
|
li: y,
|
|
1348
1348
|
button: W,
|
|
@@ -1354,8 +1354,8 @@ function fa(t, e, n) {
|
|
|
1354
1354
|
v(">" + B, !0);
|
|
1355
1355
|
}
|
|
1356
1356
|
function C(B, R) {
|
|
1357
|
-
var
|
|
1358
|
-
|
|
1357
|
+
var H = g.length, M = lo(R), Y = S(), j = -1;
|
|
1358
|
+
M === f(Cn, !1, Y) ? j = ++B % H : M === f(xn, !1, Y) ? j = (--B + H) % H : M === "Home" ? j = 0 : M === "End" && (j = H - 1);
|
|
1359
1359
|
var y = g[j];
|
|
1360
1360
|
y && (Uo(y.button), v(">" + j), qt(R, !0));
|
|
1361
1361
|
}
|
|
@@ -1368,12 +1368,12 @@ function fa(t, e, n) {
|
|
|
1368
1368
|
function w() {
|
|
1369
1369
|
var B = k(I(!0)), R = k(I());
|
|
1370
1370
|
if (B) {
|
|
1371
|
-
var
|
|
1372
|
-
Xt(
|
|
1371
|
+
var H = B.button;
|
|
1372
|
+
Xt(H, me), Bt(H, xo), ot(H, we, -1);
|
|
1373
1373
|
}
|
|
1374
1374
|
if (R) {
|
|
1375
|
-
var
|
|
1376
|
-
|
|
1375
|
+
var M = R.button;
|
|
1376
|
+
Ot(M, me), ot(M, xo, !0), ot(M, we, "");
|
|
1377
1377
|
}
|
|
1378
1378
|
l(ar, {
|
|
1379
1379
|
list: T,
|
|
@@ -1399,20 +1399,20 @@ function ha(t, e, n) {
|
|
|
1399
1399
|
function s() {
|
|
1400
1400
|
l.forEach(function(u) {
|
|
1401
1401
|
u.destroy();
|
|
1402
|
-
}),
|
|
1402
|
+
}), Jt(l);
|
|
1403
1403
|
}
|
|
1404
1404
|
function c() {
|
|
1405
1405
|
s(), i();
|
|
1406
1406
|
}
|
|
1407
1407
|
function d(u, g) {
|
|
1408
1408
|
var T = St(u);
|
|
1409
|
-
T.on(
|
|
1409
|
+
T.on(Zt, function(b, h, L) {
|
|
1410
1410
|
g.go(g.is(Ee) ? L : b);
|
|
1411
1411
|
}), l.push(T);
|
|
1412
1412
|
}
|
|
1413
1413
|
function p() {
|
|
1414
1414
|
var u = St(t), g = u.on;
|
|
1415
|
-
g(
|
|
1415
|
+
g(Jn, v), g(sr, f), g([le, Lt], I), l.push(u), u.emit(Qn, t.splides);
|
|
1416
1416
|
}
|
|
1417
1417
|
function I() {
|
|
1418
1418
|
ot(e.Elements.list, ro, n.direction === wn ? "vertical" : "");
|
|
@@ -1439,7 +1439,7 @@ function va(t, e, n) {
|
|
|
1439
1439
|
}
|
|
1440
1440
|
function s(d) {
|
|
1441
1441
|
if (d.cancelable) {
|
|
1442
|
-
var p = d.deltaY, I = p < 0, v =
|
|
1442
|
+
var p = d.deltaY, I = p < 0, v = Hn(d), f = n.wheelMinThreshold || 0, u = n.wheelSleep || 0;
|
|
1443
1443
|
Et(p) > f && v - l > u && (t.go(I ? "<" : ">"), l = v), c(I) && qt(d);
|
|
1444
1444
|
}
|
|
1445
1445
|
}
|
|
@@ -1460,7 +1460,7 @@ function Sa(t, e, n) {
|
|
|
1460
1460
|
ot(l, wo, f), f ? (qe(l, s), c.start()) : (ge(s), c.cancel());
|
|
1461
1461
|
}
|
|
1462
1462
|
function I() {
|
|
1463
|
-
|
|
1463
|
+
Bt(l, [Co, To, wo]), ge(s);
|
|
1464
1464
|
}
|
|
1465
1465
|
function v(f) {
|
|
1466
1466
|
i && ot(l, Co, f ? "off" : "polite");
|
|
@@ -1480,7 +1480,7 @@ var xa = /* @__PURE__ */ Object.freeze({
|
|
|
1480
1480
|
Layout: qi,
|
|
1481
1481
|
Clones: Xi,
|
|
1482
1482
|
Move: Ki,
|
|
1483
|
-
Controller:
|
|
1483
|
+
Controller: Ji,
|
|
1484
1484
|
Arrows: ta,
|
|
1485
1485
|
Autoplay: na,
|
|
1486
1486
|
Cover: oa,
|
|
@@ -1585,11 +1585,11 @@ var $a = /* @__PURE__ */ (function() {
|
|
|
1585
1585
|
this.event = St(), this.Components = {}, this.state = Ai(xe), this.splides = [], this._o = {}, this._E = {};
|
|
1586
1586
|
var r = re(n) ? qo(document, n) : n;
|
|
1587
1587
|
We(r, r + " is invalid."), this.root = r, o = te({
|
|
1588
|
-
label:
|
|
1589
|
-
labelledby:
|
|
1588
|
+
label: Ht(r, kt) || "",
|
|
1589
|
+
labelledby: Ht(r, oo) || ""
|
|
1590
1590
|
}, wa, t.defaults, o || {});
|
|
1591
1591
|
try {
|
|
1592
|
-
te(o, JSON.parse(
|
|
1592
|
+
te(o, JSON.parse(Ht(r, Xn)));
|
|
1593
1593
|
} catch {
|
|
1594
1594
|
We(!1, "Invalid JSON");
|
|
1595
1595
|
}
|
|
@@ -1598,7 +1598,7 @@ var $a = /* @__PURE__ */ (function() {
|
|
|
1598
1598
|
var e = t.prototype;
|
|
1599
1599
|
return e.mount = function(o, r) {
|
|
1600
1600
|
var l = this, i = this.state, s = this.Components;
|
|
1601
|
-
We(i.is([xe, un]), "Already mounted!"), i.set(xe), this._C = s, this._T = r || this._T || (this.is(
|
|
1601
|
+
We(i.is([xe, un]), "Already mounted!"), i.set(xe), this._C = s, this._T = r || this._T || (this.is(Je) ? Ta : _a), this._E = o || this._E;
|
|
1602
1602
|
var c = Pe({}, xa, this._E, {
|
|
1603
1603
|
Transition: this._T
|
|
1604
1604
|
});
|
|
@@ -1607,7 +1607,7 @@ var $a = /* @__PURE__ */ (function() {
|
|
|
1607
1607
|
s[p] = I, I.setup && I.setup();
|
|
1608
1608
|
}), de(s, function(d) {
|
|
1609
1609
|
d.mount && d.mount();
|
|
1610
|
-
}), this.emit(le),
|
|
1610
|
+
}), this.emit(le), Ot(this.root, Pi), i.set(_e), this.emit(Pn), this;
|
|
1611
1611
|
}, e.sync = function(o) {
|
|
1612
1612
|
return this.splides.push({
|
|
1613
1613
|
splide: o
|
|
@@ -1637,7 +1637,7 @@ var $a = /* @__PURE__ */ (function() {
|
|
|
1637
1637
|
var r = this.event, l = this.state;
|
|
1638
1638
|
return l.is(xe) ? St(this).on(Pn, this.destroy.bind(this, o)) : (de(this._C, function(i) {
|
|
1639
1639
|
i.destroy && i.destroy(o);
|
|
1640
|
-
}, !0), r.emit(
|
|
1640
|
+
}, !0), r.emit(Zn), r.destroy(), o && Jt(this.splides), l.set(un)), this;
|
|
1641
1641
|
}, Ci(t, [{
|
|
1642
1642
|
key: "options",
|
|
1643
1643
|
get: function() {
|
|
@@ -1663,12 +1663,12 @@ so.STATES = Ti;
|
|
|
1663
1663
|
var Io = [
|
|
1664
1664
|
[le, "onMounted"],
|
|
1665
1665
|
[Pn, "onReady"],
|
|
1666
|
-
[
|
|
1666
|
+
[Zt, "onMove"],
|
|
1667
1667
|
[Le, "onMoved"],
|
|
1668
|
-
[
|
|
1668
|
+
[Jn, "onClick"],
|
|
1669
1669
|
[Ko, "onActive"],
|
|
1670
|
-
[
|
|
1671
|
-
[
|
|
1670
|
+
[Jo, "onInactive"],
|
|
1671
|
+
[Zo, "onVisible"],
|
|
1672
1672
|
[Qo, "onHidden"],
|
|
1673
1673
|
[wt, "onRefresh"],
|
|
1674
1674
|
[Lt, "onUpdated"],
|
|
@@ -1679,7 +1679,7 @@ var Io = [
|
|
|
1679
1679
|
[nr, "onDragged"],
|
|
1680
1680
|
[vn, "onScroll"],
|
|
1681
1681
|
[fe, "onScrolled"],
|
|
1682
|
-
[
|
|
1682
|
+
[Zn, "onDestroy"],
|
|
1683
1683
|
[or, "onArrowsMounted"],
|
|
1684
1684
|
[rr, "onArrowsUpdated"],
|
|
1685
1685
|
[ir, "onPaginationMounted"],
|
|
@@ -1825,7 +1825,7 @@ const Ra = "SvgImage-module__svg___q3xE-", Wa = "SvgImage-module__img___VsTm-",
|
|
|
1825
1825
|
}, za = (t) => {
|
|
1826
1826
|
const e = t.trim();
|
|
1827
1827
|
return e.startsWith("data:image/svg+xml") ? !0 : (e.split(/[?#]/)[0] ?? e).endsWith(".svg");
|
|
1828
|
-
},
|
|
1828
|
+
}, Ha = (t) => `url("${t.replace(/\\/g, "\\\\").replace(/"/g, '\\"')}")`, oe = ({ url: t, fill: e = "#000000", hoverFill: n = "#CCCCCC", className: o = "", style: r }) => {
|
|
1829
1829
|
const [l, i] = pt(() => typeof window > "u" ? !0 : CSS.supports("mask-image", 'url("")') || CSS.supports("-webkit-mask-image", 'url("")'));
|
|
1830
1830
|
return _t(() => {
|
|
1831
1831
|
if (typeof window < "u" && window.CSS) {
|
|
@@ -1838,26 +1838,26 @@ const Ra = "SvgImage-module__svg___q3xE-", Wa = "SvgImage-module__img___VsTm-",
|
|
|
1838
1838
|
"data-supports-mask": l,
|
|
1839
1839
|
className: ct(Lo.svg, o),
|
|
1840
1840
|
style: {
|
|
1841
|
-
"--svg":
|
|
1841
|
+
"--svg": Ha(t),
|
|
1842
1842
|
"--fill": e,
|
|
1843
1843
|
"--hover-fill": n,
|
|
1844
1844
|
...r ?? {}
|
|
1845
1845
|
}
|
|
1846
1846
|
}
|
|
1847
1847
|
);
|
|
1848
|
-
},
|
|
1849
|
-
"top-left":
|
|
1850
|
-
"top-center":
|
|
1851
|
-
"top-right":
|
|
1852
|
-
"middle-left":
|
|
1853
|
-
"middle-center":
|
|
1854
|
-
"middle-right":
|
|
1855
|
-
"bottom-left":
|
|
1856
|
-
"bottom-center":
|
|
1857
|
-
"bottom-right":
|
|
1848
|
+
}, Ma = {
|
|
1849
|
+
"top-left": J.topLeftAlignment,
|
|
1850
|
+
"top-center": J.topCenterAlignment,
|
|
1851
|
+
"top-right": J.topRightAlignment,
|
|
1852
|
+
"middle-left": J.middleLeftAlignment,
|
|
1853
|
+
"middle-center": J.middleCenterAlignment,
|
|
1854
|
+
"middle-right": J.middleRightAlignment,
|
|
1855
|
+
"bottom-left": J.bottomLeftAlignment,
|
|
1856
|
+
"bottom-center": J.bottomCenterAlignment,
|
|
1857
|
+
"bottom-right": J.bottomRightAlignment
|
|
1858
1858
|
};
|
|
1859
1859
|
function Na({ settings: t, content: e, styles: n, isEditor: o }) {
|
|
1860
|
-
const [r, l] = pt(null), { widthSettings: i, fontSettings: s, letterSpacing: c, textAlign: d, wordSpacing: p, fontSizeLineHeight: I, textAppearance: v, color: f } = n.imageCaption, [u, g] = pt(void 0), [T, b] = pt(null), [h, L] = pt(0), [q, O] = pt(0), { direction: C, transition: S, controls: k, pagination: w, imageCaption: B, triggers: R } = t,
|
|
1860
|
+
const [r, l] = pt(null), { widthSettings: i, fontSettings: s, letterSpacing: c, textAlign: d, wordSpacing: p, fontSizeLineHeight: I, textAppearance: v, color: f } = n.imageCaption, [u, g] = pt(void 0), [T, b] = pt(null), [h, L] = pt(0), [q, O] = pt(0), { direction: C, transition: S, controls: k, pagination: w, imageCaption: B, triggers: R } = t, H = Ct(S.type), { x: M, y: Y } = t.controls.offset, j = (y) => {
|
|
1861
1861
|
r && r.go(y);
|
|
1862
1862
|
};
|
|
1863
1863
|
return _t(() => {
|
|
@@ -1872,11 +1872,11 @@ function Na({ settings: t, content: e, styles: n, isEditor: o }) {
|
|
|
1872
1872
|
});
|
|
1873
1873
|
return y.observe(T), () => y.unobserve(T);
|
|
1874
1874
|
}, [T]), _t(() => {
|
|
1875
|
-
!r ||
|
|
1876
|
-
}, [S.type]), /* @__PURE__ */ m("div", { className: ct(
|
|
1875
|
+
!r || H.current === S.type || (O((y) => y + 1), H.current = S.type);
|
|
1876
|
+
}, [S.type]), /* @__PURE__ */ m("div", { className: ct(J.wrapper, { [J.editor]: o }), ref: b, children: /* @__PURE__ */ vt(
|
|
1877
1877
|
"div",
|
|
1878
1878
|
{
|
|
1879
|
-
className:
|
|
1879
|
+
className: J.sliderInner,
|
|
1880
1880
|
style: {
|
|
1881
1881
|
width: u ? u.width : "100%",
|
|
1882
1882
|
height: u ? u.height : "100%",
|
|
@@ -1886,17 +1886,17 @@ function Na({ settings: t, content: e, styles: n, isEditor: o }) {
|
|
|
1886
1886
|
t.imageCaption.isActive && /* @__PURE__ */ m(
|
|
1887
1887
|
"div",
|
|
1888
1888
|
{
|
|
1889
|
-
className: ct(
|
|
1889
|
+
className: ct(J.captionBlock),
|
|
1890
1890
|
children: /* @__PURE__ */ m(
|
|
1891
1891
|
"div",
|
|
1892
1892
|
{
|
|
1893
|
-
className:
|
|
1893
|
+
className: J.captionTextWrapper,
|
|
1894
1894
|
children: e.map((y, W) => /* @__PURE__ */ m(
|
|
1895
1895
|
"div",
|
|
1896
1896
|
{
|
|
1897
|
-
className: ct(
|
|
1898
|
-
[
|
|
1899
|
-
[
|
|
1897
|
+
className: ct(J.captionText, Ma[B.alignment], {
|
|
1898
|
+
[J.withPointerEvents]: W === h && o,
|
|
1899
|
+
[J.active]: W === h
|
|
1900
1900
|
}),
|
|
1901
1901
|
style: {
|
|
1902
1902
|
fontFamily: s.fontFamily,
|
|
@@ -1918,7 +1918,7 @@ function Na({ settings: t, content: e, styles: n, isEditor: o }) {
|
|
|
1918
1918
|
"div",
|
|
1919
1919
|
{
|
|
1920
1920
|
"data-styles": "imageCaption",
|
|
1921
|
-
className:
|
|
1921
|
+
className: J.captionTextInner,
|
|
1922
1922
|
style: {
|
|
1923
1923
|
"--link-hover-color": B.linkHoverColor,
|
|
1924
1924
|
"--link-color": B.linkColor,
|
|
@@ -1962,17 +1962,17 @@ function Na({ settings: t, content: e, styles: n, isEditor: o }) {
|
|
|
1962
1962
|
children: e.map((y, W) => /* @__PURE__ */ m(Tr, { children: /* @__PURE__ */ m(
|
|
1963
1963
|
"div",
|
|
1964
1964
|
{
|
|
1965
|
-
className:
|
|
1965
|
+
className: J.sliderItem,
|
|
1966
1966
|
children: /* @__PURE__ */ m(
|
|
1967
1967
|
"div",
|
|
1968
1968
|
{
|
|
1969
|
-
className:
|
|
1969
|
+
className: J.imgWrapper,
|
|
1970
1970
|
children: /* @__PURE__ */ m(
|
|
1971
1971
|
"img",
|
|
1972
1972
|
{
|
|
1973
|
-
className: ct(
|
|
1974
|
-
[
|
|
1975
|
-
[
|
|
1973
|
+
className: ct(J.sliderImage, {
|
|
1974
|
+
[J.contain]: y.image.objectFit === "contain",
|
|
1975
|
+
[J.cover]: y.image.objectFit === "cover"
|
|
1976
1976
|
}),
|
|
1977
1977
|
src: y.image.url,
|
|
1978
1978
|
alt: y.image.name ?? ""
|
|
@@ -1989,9 +1989,9 @@ function Na({ settings: t, content: e, styles: n, isEditor: o }) {
|
|
|
1989
1989
|
/* @__PURE__ */ m(
|
|
1990
1990
|
"div",
|
|
1991
1991
|
{
|
|
1992
|
-
className: ct(
|
|
1993
|
-
[
|
|
1994
|
-
[
|
|
1992
|
+
className: ct(J.arrow, {
|
|
1993
|
+
[J.arrowVertical]: C === "vert",
|
|
1994
|
+
[J.hoverArrow]: k.show === "on hover"
|
|
1995
1995
|
}),
|
|
1996
1996
|
style: {
|
|
1997
1997
|
color: k.color,
|
|
@@ -2003,9 +2003,9 @@ function Na({ settings: t, content: e, styles: n, isEditor: o }) {
|
|
|
2003
2003
|
onClick: () => {
|
|
2004
2004
|
j("-1");
|
|
2005
2005
|
},
|
|
2006
|
-
className:
|
|
2006
|
+
className: J.arrowInner,
|
|
2007
2007
|
style: {
|
|
2008
|
-
transform: `translate(${E(
|
|
2008
|
+
transform: `translate(${E(M, o)}, ${E(Y * (C === "horiz" ? 1 : -1), o)}) scale(${t.controls.scale / 100}) rotate(${C === "horiz" ? "0deg" : "90deg"})`
|
|
2009
2009
|
},
|
|
2010
2010
|
children: [
|
|
2011
2011
|
k.arrowsImgUrl && /* @__PURE__ */ m(
|
|
@@ -2014,10 +2014,10 @@ function Na({ settings: t, content: e, styles: n, isEditor: o }) {
|
|
|
2014
2014
|
url: k.arrowsImgUrl,
|
|
2015
2015
|
fill: k.color,
|
|
2016
2016
|
hoverFill: k.hover,
|
|
2017
|
-
className: ct(
|
|
2017
|
+
className: ct(J.arrowImg, J.mirror)
|
|
2018
2018
|
}
|
|
2019
2019
|
),
|
|
2020
|
-
!k.arrowsImgUrl && /* @__PURE__ */ m(Eo, { color: k.color, className: ct(
|
|
2020
|
+
!k.arrowsImgUrl && /* @__PURE__ */ m(Eo, { color: k.color, className: ct(J.arrowIcon, J.arrowImg, J.mirror) })
|
|
2021
2021
|
]
|
|
2022
2022
|
}
|
|
2023
2023
|
)
|
|
@@ -2026,9 +2026,9 @@ function Na({ settings: t, content: e, styles: n, isEditor: o }) {
|
|
|
2026
2026
|
/* @__PURE__ */ m(
|
|
2027
2027
|
"div",
|
|
2028
2028
|
{
|
|
2029
|
-
className: ct(
|
|
2030
|
-
[
|
|
2031
|
-
[
|
|
2029
|
+
className: ct(J.arrow, J.nextArrow, {
|
|
2030
|
+
[J.arrowVertical]: C === "vert",
|
|
2031
|
+
[J.hoverArrow]: k.show === "on hover"
|
|
2032
2032
|
}),
|
|
2033
2033
|
style: {
|
|
2034
2034
|
color: k.color,
|
|
@@ -2037,10 +2037,10 @@ function Na({ settings: t, content: e, styles: n, isEditor: o }) {
|
|
|
2037
2037
|
children: /* @__PURE__ */ vt(
|
|
2038
2038
|
"button",
|
|
2039
2039
|
{
|
|
2040
|
-
className:
|
|
2040
|
+
className: J.arrowInner,
|
|
2041
2041
|
onClick: () => j("+1"),
|
|
2042
2042
|
style: {
|
|
2043
|
-
transform: `translate(${E(
|
|
2043
|
+
transform: `translate(${E(M * (C === "horiz" ? -1 : 1), o)}, ${E(Y, o)}) scale(${t.controls.scale / 100}) rotate(${C === "horiz" ? "0deg" : "90deg"})`
|
|
2044
2044
|
},
|
|
2045
2045
|
children: [
|
|
2046
2046
|
k.arrowsImgUrl && /* @__PURE__ */ m(
|
|
@@ -2049,10 +2049,10 @@ function Na({ settings: t, content: e, styles: n, isEditor: o }) {
|
|
|
2049
2049
|
url: k.arrowsImgUrl,
|
|
2050
2050
|
fill: k.color,
|
|
2051
2051
|
hoverFill: k.hover,
|
|
2052
|
-
className:
|
|
2052
|
+
className: J.arrowImg
|
|
2053
2053
|
}
|
|
2054
2054
|
),
|
|
2055
|
-
!k.arrowsImgUrl && /* @__PURE__ */ m(Eo, { color: k.color, className: ct(
|
|
2055
|
+
!k.arrowsImgUrl && /* @__PURE__ */ m(Eo, { color: k.color, className: ct(J.arrowIcon, J.arrowImg) })
|
|
2056
2056
|
]
|
|
2057
2057
|
}
|
|
2058
2058
|
)
|
|
@@ -2062,7 +2062,7 @@ function Na({ settings: t, content: e, styles: n, isEditor: o }) {
|
|
|
2062
2062
|
R.triggersList.click && /* @__PURE__ */ m(
|
|
2063
2063
|
"div",
|
|
2064
2064
|
{
|
|
2065
|
-
className:
|
|
2065
|
+
className: J.clickOverlay,
|
|
2066
2066
|
onClick: () => {
|
|
2067
2067
|
r && r.go("+1");
|
|
2068
2068
|
}
|
|
@@ -2071,21 +2071,21 @@ function Na({ settings: t, content: e, styles: n, isEditor: o }) {
|
|
|
2071
2071
|
w.isActive && /* @__PURE__ */ m(
|
|
2072
2072
|
"div",
|
|
2073
2073
|
{
|
|
2074
|
-
className: ct(
|
|
2075
|
-
[
|
|
2076
|
-
[
|
|
2077
|
-
[
|
|
2078
|
-
[
|
|
2079
|
-
[
|
|
2080
|
-
[
|
|
2081
|
-
[
|
|
2082
|
-
[
|
|
2083
|
-
[
|
|
2074
|
+
className: ct(J.pagination, {
|
|
2075
|
+
[J.paginationInsideBottom]: w.position === "inside-1" && C === "horiz",
|
|
2076
|
+
[J.paginationInsideTop]: w.position === "inside-2" && C === "horiz",
|
|
2077
|
+
[J.paginationOutsideBottom]: w.position === "outside-1" && C === "horiz",
|
|
2078
|
+
[J.paginationOutsideTop]: w.position === "outside-2" && C === "horiz",
|
|
2079
|
+
[J.paginationInsideLeft]: w.position === "inside-1" && C === "vert",
|
|
2080
|
+
[J.paginationInsideRight]: w.position === "inside-2" && C === "vert",
|
|
2081
|
+
[J.paginationOutsideLeft]: w.position === "outside-1" && C === "vert",
|
|
2082
|
+
[J.paginationOutsideRight]: w.position === "outside-2" && C === "vert",
|
|
2083
|
+
[J.paginationVertical]: C === "vert"
|
|
2084
2084
|
}),
|
|
2085
2085
|
children: /* @__PURE__ */ m(
|
|
2086
2086
|
"div",
|
|
2087
2087
|
{
|
|
2088
|
-
className:
|
|
2088
|
+
className: J.paginationInner,
|
|
2089
2089
|
style: {
|
|
2090
2090
|
backgroundColor: w.colors[2],
|
|
2091
2091
|
transform: `scale(${w.scale / 100}) translate(${E(w.offset.x, o)}, ${E(w.offset.y, o)}) rotate(${C === "horiz" ? "0deg" : "90deg"})`
|
|
@@ -2096,12 +2096,12 @@ function Na({ settings: t, content: e, styles: n, isEditor: o }) {
|
|
|
2096
2096
|
onClick: () => {
|
|
2097
2097
|
r && r.go(W);
|
|
2098
2098
|
},
|
|
2099
|
-
className: ct(
|
|
2099
|
+
className: ct(J.paginationItem),
|
|
2100
2100
|
children: /* @__PURE__ */ m(
|
|
2101
2101
|
"div",
|
|
2102
2102
|
{
|
|
2103
|
-
className: ct(
|
|
2104
|
-
[
|
|
2103
|
+
className: ct(J.dot, {
|
|
2104
|
+
[J.activeDot]: W === h
|
|
2105
2105
|
}),
|
|
2106
2106
|
style: {
|
|
2107
2107
|
backgroundColor: W === h ? w.colors[0] : w.colors[1],
|
|
@@ -2767,7 +2767,7 @@ async function ja(t, e, n, o) {
|
|
|
2767
2767
|
return { width: r, height: l, finalWidth: `${r}px` };
|
|
2768
2768
|
}
|
|
2769
2769
|
function Ua({ settings: t, content: e, isEditor: n }) {
|
|
2770
|
-
const [o, r] = pt(null), [l, i] = pt([]), [s, c] = pt(0), d = Ct(0), [p, I] = pt({ x: 0, y: 0 }), [v, f] = pt(1), [u, g] = pt("none"), T = Ct({ x: 0, y: 0 }), [b, h] = pt(!1), { sizeType: L, imageWidth: q, randomRangeImageWidth: O } = t.imageSize, { revealPosition: C, visible: S } = t.position, { cursorType: k, target: w, defaultCursorScale: B, defaultCursor: R, hoverCursorScale:
|
|
2770
|
+
const [o, r] = pt(null), [l, i] = pt([]), [s, c] = pt(0), d = Ct(0), [p, I] = pt({ x: 0, y: 0 }), [v, f] = pt(1), [u, g] = pt("none"), T = Ct({ x: 0, y: 0 }), [b, h] = pt(!1), { sizeType: L, imageWidth: q, randomRangeImageWidth: O } = t.imageSize, { revealPosition: C, visible: S } = t.position, { cursorType: k, target: w, defaultCursorScale: B, defaultCursor: R, hoverCursorScale: H, hoverCursor: M } = t.cursor;
|
|
2771
2771
|
_t(() => {
|
|
2772
2772
|
if (!o) return;
|
|
2773
2773
|
const y = (A, x) => {
|
|
@@ -2781,7 +2781,7 @@ function Ua({ settings: t, content: e, isEditor: n }) {
|
|
|
2781
2781
|
g("none"), f(1);
|
|
2782
2782
|
return;
|
|
2783
2783
|
}
|
|
2784
|
-
const Q = Fo(et, lt, l) || w === "area" ? { img:
|
|
2784
|
+
const Q = Fo(et, lt, l) || w === "area" ? { img: M ?? "none", scale: H } : { img: R ?? "none", scale: B };
|
|
2785
2785
|
g(Q.img), f(Q.scale);
|
|
2786
2786
|
}, W = (A) => {
|
|
2787
2787
|
A.stopPropagation(), T.current = { x: A.clientX, y: A.clientY }, y(A.clientX, A.clientY);
|
|
@@ -2797,9 +2797,9 @@ function Ua({ settings: t, content: e, isEditor: n }) {
|
|
|
2797
2797
|
p,
|
|
2798
2798
|
k,
|
|
2799
2799
|
w,
|
|
2800
|
-
H,
|
|
2801
|
-
R,
|
|
2802
2800
|
M,
|
|
2801
|
+
R,
|
|
2802
|
+
H,
|
|
2803
2803
|
B,
|
|
2804
2804
|
l
|
|
2805
2805
|
]), _t(() => {
|
|
@@ -3219,13 +3219,13 @@ const Ga = {
|
|
|
3219
3219
|
}
|
|
3220
3220
|
}
|
|
3221
3221
|
}
|
|
3222
|
-
}, qa = "LightBox-module__hidden___9s-9x", Ya = "LightBox-module__heroImage___sTxNF", Xa = "LightBox-module__background___rm9ml", Ka = "LightBox-module__editor___4ACaY",
|
|
3222
|
+
}, qa = "LightBox-module__hidden___9s-9x", Ya = "LightBox-module__heroImage___sTxNF", Xa = "LightBox-module__background___rm9ml", Ka = "LightBox-module__editor___4ACaY", Ja = "LightBox-module__contentStyle___Bgnsq", Za = "LightBox-module__imageStyle___tLIlB", Qa = "LightBox-module__imgWrapper___LuFUp", tl = "LightBox-module__contain___8-yaS", el = "LightBox-module__cover___hNvOG", nl = "LightBox-module__caption___b6L2I", ol = "LightBox-module__captionTextInner___rCGNH", rl = "LightBox-module__lightboxSplide___XFuWC", il = "LightBox-module__arrow___iz38X", al = "LightBox-module__arrowVertical___Zfz81", ll = "LightBox-module__nextArrow___zkAQN", sl = "LightBox-module__arrowInner___p48sW", cl = "LightBox-module__arrowIcon___3VaFf", pl = "LightBox-module__arrowImg___pNV88", ul = "LightBox-module__mirror___pjeXc", dl = "LightBox-module__thumbsWrapper___GB-nU", gl = "LightBox-module__thumbsContainerVertical___wttk5", ml = "LightBox-module__thumbsContainer___osSma", fl = "LightBox-module__thumbsAlignStart___MO6tY", yl = "LightBox-module__thumbsAlignCenter___Q4sUx", hl = "LightBox-module__thumbsAlignEnd___p4y9R", vl = "LightBox-module__thumbItem___HvnF3", bl = "LightBox-module__closeButton___g2khP", Sl = "LightBox-module__fadeIn___0m5GW", xl = "LightBox-module__slideInLeft___gPYwC", Cl = "LightBox-module__slideInRight___S-pPp", wl = "LightBox-module__slideInTop___DFdAj", Tl = "LightBox-module__slideInBottom___m27kZ", _l = "LightBox-module__fadeOut___55qBR", $l = "LightBox-module__slideOutLeft___NvU7P", Al = "LightBox-module__slideOutRight___SK7eC", Il = "LightBox-module__slideOutTop___Vgg0z", Ll = "LightBox-module__slideOutBottom___nJ0Ef", El = "LightBox-module__scaleSlide___vZriG", D = {
|
|
3223
3223
|
hidden: qa,
|
|
3224
3224
|
heroImage: Ya,
|
|
3225
3225
|
background: Xa,
|
|
3226
3226
|
editor: Ka,
|
|
3227
|
-
contentStyle:
|
|
3228
|
-
imageStyle:
|
|
3227
|
+
contentStyle: Ja,
|
|
3228
|
+
imageStyle: Za,
|
|
3229
3229
|
imgWrapper: Qa,
|
|
3230
3230
|
contain: tl,
|
|
3231
3231
|
cover: el,
|
|
@@ -3402,7 +3402,7 @@ const kl = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
|
|
|
3402
3402
|
] });
|
|
3403
3403
|
}, Rl = ({ isOpen: t, onClose: e, content: n, lightboxStyles: o, settings: r, portalId: l, isEditor: i, metadata: s }) => {
|
|
3404
3404
|
var N;
|
|
3405
|
-
const [c, d] = pt(0), [p, I] = pt(0), [v, f] = pt(!1), [u, g] = pt(!1), [T, b] = pt({}), h = Ct(null), L = Ct(null), q = Ct(null), O = Ct(!1), C = Ct(null), S = Ct(null), k = Ct(null), w = Ct(null), B = Ct(!1), R = Ct(null), [
|
|
3405
|
+
const [c, d] = pt(0), [p, I] = pt(0), [v, f] = pt(!1), [u, g] = pt(!1), [T, b] = pt({}), h = Ct(null), L = Ct(null), q = Ct(null), O = Ct(!1), C = Ct(null), S = Ct(null), k = Ct(null), w = Ct(null), B = Ct(!1), R = Ct(null), [H, M] = pt(!1), { appear: Y, triggers: j, slider: y, thumbnail: W, controls: F, area: A, caption: x, layout: _ } = r.lightboxBlock, { appearClass: K, backdropAppearClass: rt, backdropDisappearClass: et, disappearClass: lt } = Fl(Y.type, Y.direction), z = (s == null ? void 0 : s.itemId) ?? null;
|
|
3406
3406
|
_t(() => {
|
|
3407
3407
|
const a = () => {
|
|
3408
3408
|
setTimeout(() => {
|
|
@@ -3417,13 +3417,13 @@ const kl = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
|
|
|
3417
3417
|
};
|
|
3418
3418
|
}, []), _t(() => {
|
|
3419
3419
|
if (!t || !W.isActive) {
|
|
3420
|
-
|
|
3420
|
+
M(!1);
|
|
3421
3421
|
return;
|
|
3422
3422
|
}
|
|
3423
3423
|
const a = R.current;
|
|
3424
3424
|
if (!a) return;
|
|
3425
3425
|
const $ = () => {
|
|
3426
|
-
y.direction === "horiz" ?
|
|
3426
|
+
y.direction === "horiz" ? M(a.scrollWidth > a.clientWidth) : M(a.scrollHeight > a.clientHeight);
|
|
3427
3427
|
};
|
|
3428
3428
|
$();
|
|
3429
3429
|
const P = new ResizeObserver($);
|
|
@@ -3564,10 +3564,10 @@ const kl = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
|
|
|
3564
3564
|
document.removeEventListener("touchend", a);
|
|
3565
3565
|
};
|
|
3566
3566
|
}, [t, Q, c, n]);
|
|
3567
|
-
const
|
|
3567
|
+
const Z = (y.type === "scale" || y.type === "fade") && y.direction === "vert" && j.type === "drag";
|
|
3568
3568
|
_t(() => {
|
|
3569
3569
|
var dt, $t;
|
|
3570
|
-
if (!t || !
|
|
3570
|
+
if (!t || !Z || !(($t = (dt = h.current) == null ? void 0 : dt.splide) != null && $t.root)) return;
|
|
3571
3571
|
const a = h.current.splide.root, $ = 30, P = (nt, yt) => {
|
|
3572
3572
|
if (w.current) {
|
|
3573
3573
|
const At = Math.abs(nt - w.current.x), Qt = Math.abs(yt - w.current.y);
|
|
@@ -3602,7 +3602,7 @@ const kl = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
|
|
|
3602
3602
|
return a.addEventListener("pointerdown", at), a.addEventListener("touchstart", st), () => {
|
|
3603
3603
|
a.removeEventListener("pointerdown", at), a.removeEventListener("touchstart", st), document.removeEventListener("pointermove", V), document.removeEventListener("pointerup", X), document.removeEventListener("pointercancel", X), document.removeEventListener("touchmove", U), document.removeEventListener("touchend", tt), document.removeEventListener("touchcancel", tt), w.current = null, B.current = !1;
|
|
3604
3604
|
};
|
|
3605
|
-
}, [t,
|
|
3605
|
+
}, [t, Z, p]);
|
|
3606
3606
|
const ft = {
|
|
3607
3607
|
backgroundColor: A.color,
|
|
3608
3608
|
backdropFilter: `blur(${A.blur}px)`,
|
|
@@ -3646,7 +3646,7 @@ const kl = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
|
|
|
3646
3646
|
direction: y.direction === "horiz" || y.type === "fade" || y.type === "scale" ? "ltr" : "ttb",
|
|
3647
3647
|
pagination: !1,
|
|
3648
3648
|
// Disable Splide's drag when we need custom vertical drag handling
|
|
3649
|
-
drag: j.type === "drag" && !
|
|
3649
|
+
drag: j.type === "drag" && !Z,
|
|
3650
3650
|
perPage: 1,
|
|
3651
3651
|
width: "100%",
|
|
3652
3652
|
height: "100%",
|
|
@@ -3835,7 +3835,7 @@ const kl = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
|
|
|
3835
3835
|
}),
|
|
3836
3836
|
style: {
|
|
3837
3837
|
gap: E(W.grid.gap, i),
|
|
3838
|
-
justifyContent:
|
|
3838
|
+
justifyContent: H ? "flex-start" : U()
|
|
3839
3839
|
},
|
|
3840
3840
|
children: n.map((G, X) => {
|
|
3841
3841
|
const tt = X === c, at = T[X], dt = W.grid.size * (tt ? W.activeState.scale : 1), $t = () => {
|
|
@@ -5149,7 +5149,7 @@ function zl(t) {
|
|
|
5149
5149
|
}
|
|
5150
5150
|
`;
|
|
5151
5151
|
}
|
|
5152
|
-
function
|
|
5152
|
+
function Hl({ settings: t, isEditor: e, metadata: n, activeEvent: o }) {
|
|
5153
5153
|
const { prefix: r } = Po(), {
|
|
5154
5154
|
type: l = "A",
|
|
5155
5155
|
fieldsToShow: i = 2,
|
|
@@ -5174,8 +5174,8 @@ function Ml({ settings: t, isEditor: e, metadata: n, activeEvent: o }) {
|
|
|
5174
5174
|
labelTextColor: w,
|
|
5175
5175
|
successColor: B,
|
|
5176
5176
|
errorColor: R,
|
|
5177
|
-
fontFamily:
|
|
5178
|
-
inputFontSettings:
|
|
5177
|
+
fontFamily: H,
|
|
5178
|
+
inputFontSettings: M,
|
|
5179
5179
|
inputFontSize: Y,
|
|
5180
5180
|
inputLineHeight: j,
|
|
5181
5181
|
inputLetterSpacing: y,
|
|
@@ -5193,7 +5193,7 @@ function Ml({ settings: t, isEditor: e, metadata: n, activeEvent: o }) {
|
|
|
5193
5193
|
labelLetterSpacing: mt,
|
|
5194
5194
|
labelWordSpacing: it,
|
|
5195
5195
|
labelTextAppearance: ut,
|
|
5196
|
-
statusFontSettings:
|
|
5196
|
+
statusFontSettings: Z,
|
|
5197
5197
|
statusFontSize: ft,
|
|
5198
5198
|
statusLineHeight: N,
|
|
5199
5199
|
statusLetterSpacing: a,
|
|
@@ -5204,9 +5204,9 @@ function Ml({ settings: t, isEditor: e, metadata: n, activeEvent: o }) {
|
|
|
5204
5204
|
stateOverrides: G
|
|
5205
5205
|
} = t, X = l === "B", tt = s.slice(0, Math.min(i, s.length)), at = {
|
|
5206
5206
|
fontSettings: {
|
|
5207
|
-
fontFamily:
|
|
5208
|
-
fontWeight: (
|
|
5209
|
-
fontStyle: (
|
|
5207
|
+
fontFamily: H,
|
|
5208
|
+
fontWeight: (M == null ? void 0 : M.fontWeight) ?? 400,
|
|
5209
|
+
fontStyle: (M == null ? void 0 : M.fontStyle) ?? "normal"
|
|
5210
5210
|
},
|
|
5211
5211
|
fontSize: Y ?? 0.01,
|
|
5212
5212
|
lineHeight: j,
|
|
@@ -5235,7 +5235,7 @@ function Ml({ settings: t, isEditor: e, metadata: n, activeEvent: o }) {
|
|
|
5235
5235
|
minHeight: $t
|
|
5236
5236
|
}, yt = {
|
|
5237
5237
|
fontSettings: {
|
|
5238
|
-
fontFamily:
|
|
5238
|
+
fontFamily: H,
|
|
5239
5239
|
fontWeight: (A == null ? void 0 : A.fontWeight) ?? 400,
|
|
5240
5240
|
fontStyle: (A == null ? void 0 : A.fontStyle) ?? "normal"
|
|
5241
5241
|
},
|
|
@@ -5247,7 +5247,7 @@ function Ml({ settings: t, isEditor: e, metadata: n, activeEvent: o }) {
|
|
|
5247
5247
|
color: S
|
|
5248
5248
|
}, At = Te(ee(yt, e)), Qt = E(v ?? 0, e), An = {
|
|
5249
5249
|
fontSettings: {
|
|
5250
|
-
fontFamily:
|
|
5250
|
+
fontFamily: H,
|
|
5251
5251
|
fontWeight: (lt == null ? void 0 : lt.fontWeight) ?? 400,
|
|
5252
5252
|
fontStyle: (lt == null ? void 0 : lt.fontStyle) ?? "normal"
|
|
5253
5253
|
},
|
|
@@ -5259,9 +5259,9 @@ function Ml({ settings: t, isEditor: e, metadata: n, activeEvent: o }) {
|
|
|
5259
5259
|
color: w
|
|
5260
5260
|
}, Fe = ee(An, e), xt = {
|
|
5261
5261
|
fontSettings: {
|
|
5262
|
-
fontFamily:
|
|
5263
|
-
fontWeight: (
|
|
5264
|
-
fontStyle: (
|
|
5262
|
+
fontFamily: H,
|
|
5263
|
+
fontWeight: (Z == null ? void 0 : Z.fontWeight) ?? 400,
|
|
5264
|
+
fontStyle: (Z == null ? void 0 : Z.fontStyle) ?? "normal"
|
|
5265
5265
|
},
|
|
5266
5266
|
fontSize: ft ?? 0.01,
|
|
5267
5267
|
lineHeight: N,
|
|
@@ -5280,48 +5280,48 @@ function Ml({ settings: t, isEditor: e, metadata: n, activeEvent: o }) {
|
|
|
5280
5280
|
labelTextColor: w,
|
|
5281
5281
|
successColor: B,
|
|
5282
5282
|
errorColor: R
|
|
5283
|
-
},
|
|
5283
|
+
}, Ml, Nl, G), [Tt, Dt] = pt(
|
|
5284
5284
|
() => Object.fromEntries(tt.map((gt) => [gt.name, ""]))
|
|
5285
|
-
), [po, ke] = pt("idle"), [$r,
|
|
5285
|
+
), [po, ke] = pt("idle"), [$r, Ze] = pt(null), In = o === "success" ? "success" : o === "error" ? "error" : po, Ar = o === "error" ? U : $r, Qe = o === "filled", Re = Pt(() => {
|
|
5286
5286
|
if (!Qe) return Tt;
|
|
5287
5287
|
let gt = null;
|
|
5288
|
-
for (const
|
|
5289
|
-
(Tt[
|
|
5288
|
+
for (const jt of tt)
|
|
5289
|
+
(Tt[jt.name] ?? "").trim().length > 0 || (gt = gt ?? { ...Tt }, gt[jt.name] = "Filled");
|
|
5290
5290
|
return gt ?? Tt;
|
|
5291
|
-
}, [Tt, Qe, tt]), Ir = In === "error" ? pn(tt, Re) : null, Lr = `${o && o !== "default" ? `${r}-state-${o}` : ""}`.trim(), uo = n == null ? void 0 : n.submitUrl, go = (gt,
|
|
5292
|
-
|
|
5291
|
+
}, [Tt, Qe, tt]), Ir = In === "error" ? pn(tt, Re) : null, Lr = `${o && o !== "default" ? `${r}-state-${o}` : ""}`.trim(), uo = n == null ? void 0 : n.submitUrl, go = (gt, jt) => {
|
|
5292
|
+
Dt((Ut) => ({ ...Ut, [gt]: jt }));
|
|
5293
5293
|
}, Er = async (gt) => {
|
|
5294
5294
|
gt.preventDefault();
|
|
5295
|
-
const
|
|
5295
|
+
const jt = Object.fromEntries(
|
|
5296
5296
|
tt.map((Wt) => {
|
|
5297
5297
|
var ye;
|
|
5298
5298
|
return [Wt.name, ((ye = Tt[Wt.name]) == null ? void 0 : ye.trim()) ?? ""];
|
|
5299
5299
|
}).filter(([, Wt]) => Wt)
|
|
5300
5300
|
);
|
|
5301
5301
|
if (!uo) {
|
|
5302
|
-
ke("error"),
|
|
5302
|
+
ke("error"), Ze("No integrations were found for this form.");
|
|
5303
5303
|
return;
|
|
5304
5304
|
}
|
|
5305
|
-
if (Object.keys(
|
|
5306
|
-
const
|
|
5307
|
-
if (
|
|
5308
|
-
ke("error"),
|
|
5305
|
+
if (Object.keys(jt).length === 0) return;
|
|
5306
|
+
const Ut = pn(tt, Tt);
|
|
5307
|
+
if (Ut) {
|
|
5308
|
+
ke("error"), Ze(Ut);
|
|
5309
5309
|
return;
|
|
5310
5310
|
}
|
|
5311
|
-
ke("submitting"),
|
|
5311
|
+
ke("submitting"), Ze(null);
|
|
5312
5312
|
try {
|
|
5313
5313
|
const Wt = await fetch(uo, {
|
|
5314
5314
|
method: "POST",
|
|
5315
5315
|
headers: { "Content-Type": "application/json" },
|
|
5316
|
-
body: JSON.stringify(
|
|
5316
|
+
body: JSON.stringify(jt)
|
|
5317
5317
|
});
|
|
5318
5318
|
if (!Wt.ok) {
|
|
5319
5319
|
const ye = await Wt.text();
|
|
5320
5320
|
throw new Error(ye || `Request failed: ${Wt.status}`);
|
|
5321
5321
|
}
|
|
5322
|
-
ke("success"),
|
|
5322
|
+
ke("success"), Dt(Object.fromEntries(tt.map((ye) => [ye.name, ""])));
|
|
5323
5323
|
} catch (Wt) {
|
|
5324
|
-
ke("error"),
|
|
5324
|
+
ke("error"), Ze(Wt instanceof Error ? Wt.message : "Something went wrong");
|
|
5325
5325
|
}
|
|
5326
5326
|
};
|
|
5327
5327
|
return /* @__PURE__ */ vt("div", { className: `${r}-wrapper ${r}-type-${l} ${Lr}`.trim(), style: ce, children: [
|
|
@@ -5338,7 +5338,7 @@ function Ml({ settings: t, isEditor: e, metadata: n, activeEvent: o }) {
|
|
|
5338
5338
|
{
|
|
5339
5339
|
className: `${r}-fields`,
|
|
5340
5340
|
style: { gap: E(p ?? 0, e) },
|
|
5341
|
-
children: tt.map((gt,
|
|
5341
|
+
children: tt.map((gt, jt) => /* @__PURE__ */ vt("div", { className: `${r}-field-group${X ? ` ${r}-labeled` : ""}`, children: [
|
|
5342
5342
|
X && /* @__PURE__ */ m("span", { className: `${r}-field-label`, style: Fe ? { ...Fe, lineHeight: Fe.fontSize } : void 0, children: gt.label || gt.name }),
|
|
5343
5343
|
gt.type === "textarea" ? /* @__PURE__ */ m(
|
|
5344
5344
|
"textarea",
|
|
@@ -5346,7 +5346,7 @@ function Ml({ settings: t, isEditor: e, metadata: n, activeEvent: o }) {
|
|
|
5346
5346
|
name: gt.name,
|
|
5347
5347
|
autoComplete: "off",
|
|
5348
5348
|
value: Re[gt.name] ?? "",
|
|
5349
|
-
onChange: (
|
|
5349
|
+
onChange: (Ut) => go(gt.name, Ut.target.value),
|
|
5350
5350
|
placeholder: gt.placeholder,
|
|
5351
5351
|
className: `${r}-input`,
|
|
5352
5352
|
style: nt,
|
|
@@ -5361,7 +5361,7 @@ function Ml({ settings: t, isEditor: e, metadata: n, activeEvent: o }) {
|
|
|
5361
5361
|
name: gt.name,
|
|
5362
5362
|
autoComplete: "off",
|
|
5363
5363
|
value: Re[gt.name] ?? "",
|
|
5364
|
-
onChange: (
|
|
5364
|
+
onChange: (Ut) => go(gt.name, Ut.target.value),
|
|
5365
5365
|
placeholder: gt.placeholder,
|
|
5366
5366
|
required: gt.isRequired ?? gt.type === "email",
|
|
5367
5367
|
className: `${r}-input`,
|
|
@@ -5369,7 +5369,7 @@ function Ml({ settings: t, isEditor: e, metadata: n, activeEvent: o }) {
|
|
|
5369
5369
|
"data-filled": Qe || (Re[gt.name] ?? "").trim().length > 0
|
|
5370
5370
|
}
|
|
5371
5371
|
)
|
|
5372
|
-
] },
|
|
5372
|
+
] }, jt))
|
|
5373
5373
|
}
|
|
5374
5374
|
),
|
|
5375
5375
|
/* @__PURE__ */ m("div", { className: `${r}-overlay-anchor`, children: /* @__PURE__ */ m(
|
|
@@ -5429,7 +5429,7 @@ function Ml({ settings: t, isEditor: e, metadata: n, activeEvent: o }) {
|
|
|
5429
5429
|
)
|
|
5430
5430
|
] });
|
|
5431
5431
|
}
|
|
5432
|
-
const
|
|
5432
|
+
const Ml = {
|
|
5433
5433
|
inputColor: "input-color",
|
|
5434
5434
|
inputTextColor: "input-text-color",
|
|
5435
5435
|
inputBorderColor: "input-border-color",
|
|
@@ -6667,7 +6667,7 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
|
|
|
6667
6667
|
allowedPlugins: ["newsletter"],
|
|
6668
6668
|
states: ["default", "hover", "focus", "filled", "success", "error"]
|
|
6669
6669
|
}, Dl = {
|
|
6670
|
-
element:
|
|
6670
|
+
element: Hl,
|
|
6671
6671
|
id: "form",
|
|
6672
6672
|
name: "Newsletter Stacked",
|
|
6673
6673
|
category: "forms",
|
|
@@ -6904,8 +6904,8 @@ const Ul = ({ settings: t, isEditor: e, metadata: n, activeEvent: o }) => {
|
|
|
6904
6904
|
statusLetterSpacing: w,
|
|
6905
6905
|
statusWordSpacing: B,
|
|
6906
6906
|
statusTextAppearance: R,
|
|
6907
|
-
iconMaxWidth:
|
|
6908
|
-
minHeight:
|
|
6907
|
+
iconMaxWidth: H,
|
|
6908
|
+
minHeight: M,
|
|
6909
6909
|
corners: Y,
|
|
6910
6910
|
stroke: j,
|
|
6911
6911
|
stateOverrides: y,
|
|
@@ -6915,13 +6915,13 @@ const Ul = ({ settings: t, isEditor: e, metadata: n, activeEvent: o }) => {
|
|
|
6915
6915
|
errorMessage: x = "Please, fill all required fields."
|
|
6916
6916
|
} = t, _ = l.slice(0, Math.min(c, l.length)), [K, rt] = pt(
|
|
6917
6917
|
() => Object.fromEntries(_.map((xt) => [xt.name, ""]))
|
|
6918
|
-
), [et, lt] = pt("idle"), [z, Q] = pt(null), mt = o === "success" ? "success" : o === "error" ? "error" : et, it = o === "error" ? x : z, ut = o === "filled",
|
|
6918
|
+
), [et, lt] = pt("idle"), [z, Q] = pt(null), mt = o === "success" ? "success" : o === "error" ? "error" : et, it = o === "error" ? x : z, ut = o === "filled", Z = Pt(() => {
|
|
6919
6919
|
if (!ut) return K;
|
|
6920
6920
|
let xt = null;
|
|
6921
6921
|
for (const Nt of _)
|
|
6922
6922
|
(K[Nt.name] ?? "").trim().length > 0 || (xt = xt ?? { ...K }, xt[Nt.name] = "Filled");
|
|
6923
6923
|
return xt ?? K;
|
|
6924
|
-
}, [ut, K, _]), ft = mt === "error" ? pn(_,
|
|
6924
|
+
}, [ut, K, _]), ft = mt === "error" ? pn(_, Z) : null, N = o && o !== "default" ? `${r}-state-${o}` : "", a = _.some((xt) => (Z[xt.name] ?? "").trim().length > 0), $ = N !== `${r}-state-filled` && a ? `${r}-state-filled` : "", P = `${N} ${$}`.trim(), V = n == null ? void 0 : n.submitUrl, U = s ?? "", G = (i == null ? void 0 : i.icon) ?? "", X = (i == null ? void 0 : i.mode) === "On", tt = U || "Submit", at = {
|
|
6925
6925
|
fontSettings: {
|
|
6926
6926
|
fontFamily: d,
|
|
6927
6927
|
fontWeight: (p == null ? void 0 : p.fontWeight) ?? 400,
|
|
@@ -6974,8 +6974,8 @@ const Ul = ({ settings: t, isEditor: e, metadata: n, activeEvent: o }) => {
|
|
|
6974
6974
|
xt.preventDefault();
|
|
6975
6975
|
const Nt = Object.fromEntries(
|
|
6976
6976
|
_.map((Tt) => {
|
|
6977
|
-
var
|
|
6978
|
-
return [Tt.name, ((
|
|
6977
|
+
var Dt;
|
|
6978
|
+
return [Tt.name, ((Dt = K[Tt.name]) == null ? void 0 : Dt.trim()) ?? ""];
|
|
6979
6979
|
}).filter(([, Tt]) => Tt)
|
|
6980
6980
|
);
|
|
6981
6981
|
if (!V) {
|
|
@@ -6996,10 +6996,10 @@ const Ul = ({ settings: t, isEditor: e, metadata: n, activeEvent: o }) => {
|
|
|
6996
6996
|
body: JSON.stringify(Nt)
|
|
6997
6997
|
});
|
|
6998
6998
|
if (!Tt.ok) {
|
|
6999
|
-
const
|
|
7000
|
-
throw new Error(
|
|
6999
|
+
const Dt = await Tt.text();
|
|
7000
|
+
throw new Error(Dt || `Request failed: ${Tt.status}`);
|
|
7001
7001
|
}
|
|
7002
|
-
lt("success"), rt(Object.fromEntries(_.map((
|
|
7002
|
+
lt("success"), rt(Object.fromEntries(_.map((Dt) => [Dt.name, ""])));
|
|
7003
7003
|
} catch (Tt) {
|
|
7004
7004
|
lt("error"), Q(Tt instanceof Error ? Tt.message : "Something went wrong");
|
|
7005
7005
|
}
|
|
@@ -7013,8 +7013,8 @@ const Ul = ({ settings: t, isEditor: e, metadata: n, activeEvent: o }) => {
|
|
|
7013
7013
|
className: `${r}-form`,
|
|
7014
7014
|
style: {
|
|
7015
7015
|
...Qt,
|
|
7016
|
-
height: E(
|
|
7017
|
-
minHeight: E(
|
|
7016
|
+
height: E(M, e),
|
|
7017
|
+
minHeight: E(M, e)
|
|
7018
7018
|
},
|
|
7019
7019
|
children: [
|
|
7020
7020
|
/* @__PURE__ */ m(
|
|
@@ -7028,7 +7028,7 @@ const Ul = ({ settings: t, isEditor: e, metadata: n, activeEvent: o }) => {
|
|
|
7028
7028
|
type: xt.type === "email" ? "email" : xt.type === "phone" ? "tel" : "text",
|
|
7029
7029
|
name: xt.name,
|
|
7030
7030
|
autoComplete: "off",
|
|
7031
|
-
value:
|
|
7031
|
+
value: Z[xt.name] ?? "",
|
|
7032
7032
|
onChange: (Nt) => rt((ce) => ({ ...ce, [xt.name]: Nt.target.value })),
|
|
7033
7033
|
placeholder: xt.placeholder,
|
|
7034
7034
|
required: xt.isRequired ?? xt.type === "email",
|
|
@@ -7064,7 +7064,7 @@ const Ul = ({ settings: t, isEditor: e, metadata: n, activeEvent: o }) => {
|
|
|
7064
7064
|
{
|
|
7065
7065
|
url: G,
|
|
7066
7066
|
className: `${r}-submitBtnIcon`,
|
|
7067
|
-
style: { maxWidth: E(
|
|
7067
|
+
style: { maxWidth: E(H ?? 0, e) },
|
|
7068
7068
|
fill: `var(--${r}-button-text-color)`,
|
|
7069
7069
|
hoverFill: `var(--${r}-button-text-color)`
|
|
7070
7070
|
}
|
|
@@ -7689,7 +7689,7 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
|
|
|
7689
7689
|
fontStyle: { type: "string" }
|
|
7690
7690
|
}
|
|
7691
7691
|
}
|
|
7692
|
-
},
|
|
7692
|
+
}, Jl = [
|
|
7693
7693
|
"strokeColor",
|
|
7694
7694
|
"inputColor",
|
|
7695
7695
|
"inputTextColor",
|
|
@@ -7698,7 +7698,7 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
|
|
|
7698
7698
|
"buttonTextColor",
|
|
7699
7699
|
"successColor",
|
|
7700
7700
|
"errorColor"
|
|
7701
|
-
],
|
|
7701
|
+
], Zl = {
|
|
7702
7702
|
type: "object",
|
|
7703
7703
|
version: 1,
|
|
7704
7704
|
settings: {
|
|
@@ -8155,7 +8155,7 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
|
|
|
8155
8155
|
}
|
|
8156
8156
|
],
|
|
8157
8157
|
paletteBookmark: {
|
|
8158
|
-
items: [...
|
|
8158
|
+
items: [...Jl],
|
|
8159
8159
|
panelIds: ["general", "typeStyle"],
|
|
8160
8160
|
stateItems: {
|
|
8161
8161
|
default: ["strokeColor", "placeholderColor", "inputColor", "buttonTextColor", "buttonColor"],
|
|
@@ -8185,9 +8185,9 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
|
|
|
8185
8185
|
content: [],
|
|
8186
8186
|
parameters: [{ path: "buttonIcon.icon" }]
|
|
8187
8187
|
},
|
|
8188
|
-
schema:
|
|
8188
|
+
schema: Zl,
|
|
8189
8189
|
sourceCode: Yl
|
|
8190
|
-
}, ts = "
|
|
8190
|
+
}, ts = "TestimonialsGrid-module__marqueeWrapper___VC616", es = "TestimonialsGrid-module__marqueeTrack___U0OTH", ns = "TestimonialsGrid-module__marqueeSet___L7ZdX", os = "TestimonialsGrid-module__wrapper___-JQKm", rs = "TestimonialsGrid-module__cover___3-r73", is = "TestimonialsGrid-module__elementsOverlay___sSbJp", as = "TestimonialsGrid-module__control___pD3e4", Gt = {
|
|
8191
8191
|
marqueeWrapper: ts,
|
|
8192
8192
|
marqueeTrack: es,
|
|
8193
8193
|
marqueeSet: ns,
|
|
@@ -8208,7 +8208,7 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
|
|
|
8208
8208
|
textAppearance: t.textAppearance,
|
|
8209
8209
|
color: t.color
|
|
8210
8210
|
}), ps = ({ settings: t, content: e, isEditor: n, isPreviewMode: o }) => {
|
|
8211
|
-
const { autoplay: r, align: l, speed: i, direction: s, pauseOnHover: c, gap: d, cardWidth: p, corners: I, stroke: v, strokeColor: f, bgColor: u, padding: g, logoMarginTop: T, logoWidth: b, logoHeight: h, textMinHeight: L, captionMinHeight: q, captionMarginTop: O } = t, C = r === "on", S = C && !o, k = Math.max(0, ss(i)) * ls, w = (a) => E(a, n ?? !1), B = Ct(null), R = Ct(null),
|
|
8211
|
+
const { autoplay: r, align: l, speed: i, direction: s, pauseOnHover: c, gap: d, cardWidth: p, corners: I, stroke: v, strokeColor: f, bgColor: u, padding: g, logoMarginTop: T, logoWidth: b, logoHeight: h, textMinHeight: L, captionMinHeight: q, captionMarginTop: O } = t, C = r === "on", S = C && !o, k = Math.max(0, ss(i)) * ls, w = (a) => E(a, n ?? !1), B = Ct(null), R = Ct(null), H = Ct(null), [M, Y] = pt(0), [j, y] = pt(0), W = Ct(0), F = Ct(!1), A = Ct(null), x = S && c === "on", _ = Pt(() => typeof s == "boolean" ? s ? "right" : "left" : String(s ?? "").trim().toLowerCase() === "right" ? "right" : "left", [s]), K = Ct(_), rt = (a) => {
|
|
8212
8212
|
var At;
|
|
8213
8213
|
const $ = (At = t == null ? void 0 : t.styles) == null ? void 0 : At[a];
|
|
8214
8214
|
if ($) return $;
|
|
@@ -8234,10 +8234,10 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
|
|
|
8234
8234
|
},
|
|
8235
8235
|
color: typeof st == "string" ? st : "#000000"
|
|
8236
8236
|
} : void 0;
|
|
8237
|
-
}, et = rt("text"), lt = rt("caption"), z =
|
|
8237
|
+
}, et = rt("text"), lt = rt("caption"), z = Pt(() => !C || (e == null ? void 0 : e.length) === 0 ? 1 : j <= 0 || M <= 0 ? 2 : Math.max(2, Math.ceil(M / j) + 1), [C, e == null ? void 0 : e.length, j, M]);
|
|
8238
8238
|
mo(() => {
|
|
8239
8239
|
if (!C) return;
|
|
8240
|
-
const a = B.current, $ =
|
|
8240
|
+
const a = B.current, $ = H.current;
|
|
8241
8241
|
if (!a || !$) return;
|
|
8242
8242
|
let P = 0;
|
|
8243
8243
|
const V = () => {
|
|
@@ -8273,7 +8273,7 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
|
|
|
8273
8273
|
}, mt = () => {
|
|
8274
8274
|
var a;
|
|
8275
8275
|
x && (F.current = !1, (a = A.current) == null || a.play());
|
|
8276
|
-
}, it =
|
|
8276
|
+
}, it = Pt(() => {
|
|
8277
8277
|
switch (l) {
|
|
8278
8278
|
case "center":
|
|
8279
8279
|
return "center";
|
|
@@ -8283,7 +8283,7 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
|
|
|
8283
8283
|
default:
|
|
8284
8284
|
return "flex-start";
|
|
8285
8285
|
}
|
|
8286
|
-
}, [l]), ut =
|
|
8286
|
+
}, [l]), ut = Pt(() => {
|
|
8287
8287
|
switch (l) {
|
|
8288
8288
|
case "center":
|
|
8289
8289
|
return "center";
|
|
@@ -8293,7 +8293,7 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
|
|
|
8293
8293
|
default:
|
|
8294
8294
|
return "left";
|
|
8295
8295
|
}
|
|
8296
|
-
}, [l]),
|
|
8296
|
+
}, [l]), Z = (a, $, P, V) => /* @__PURE__ */ vt(
|
|
8297
8297
|
"div",
|
|
8298
8298
|
{
|
|
8299
8299
|
style: {
|
|
@@ -8303,19 +8303,18 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
|
|
|
8303
8303
|
width: "100%"
|
|
8304
8304
|
},
|
|
8305
8305
|
children: [
|
|
8306
|
-
|
|
8306
|
+
/* @__PURE__ */ m(
|
|
8307
8307
|
"div",
|
|
8308
8308
|
{
|
|
8309
|
-
"data-controls": V.controlsName,
|
|
8309
|
+
"data-controls": V == null ? void 0 : V.controlsName,
|
|
8310
8310
|
"data-controls-axis": "y",
|
|
8311
|
-
className:
|
|
8312
|
-
style: { width: "100%", height: w(V.marginTop) }
|
|
8311
|
+
className: Gt.control,
|
|
8312
|
+
style: { width: "100%", height: w((V == null ? void 0 : V.marginTop) ?? 0) }
|
|
8313
8313
|
}
|
|
8314
|
-
)
|
|
8314
|
+
),
|
|
8315
8315
|
/* @__PURE__ */ m(
|
|
8316
8316
|
"div",
|
|
8317
8317
|
{
|
|
8318
|
-
className: Pt.caption,
|
|
8319
8318
|
style: {
|
|
8320
8319
|
...ee(cs(a), n),
|
|
8321
8320
|
textAlign: ut,
|
|
@@ -8347,14 +8346,14 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
|
|
|
8347
8346
|
/* @__PURE__ */ m(
|
|
8348
8347
|
"div",
|
|
8349
8348
|
{
|
|
8350
|
-
className:
|
|
8349
|
+
className: Gt.cover,
|
|
8351
8350
|
style: { background: u, height: "100%" }
|
|
8352
8351
|
}
|
|
8353
8352
|
),
|
|
8354
8353
|
/* @__PURE__ */ vt(
|
|
8355
8354
|
"div",
|
|
8356
8355
|
{
|
|
8357
|
-
className:
|
|
8356
|
+
className: Gt.elementsOverlay,
|
|
8358
8357
|
style: {
|
|
8359
8358
|
display: "flex",
|
|
8360
8359
|
flexDirection: "column",
|
|
@@ -8363,7 +8362,7 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
|
|
|
8363
8362
|
textAlign: ut
|
|
8364
8363
|
},
|
|
8365
8364
|
children: [
|
|
8366
|
-
et && a.text &&
|
|
8365
|
+
et && a.text && Z(et, a.text, "text", { minHeight: L }),
|
|
8367
8366
|
/* @__PURE__ */ vt(
|
|
8368
8367
|
"div",
|
|
8369
8368
|
{
|
|
@@ -8378,7 +8377,7 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
|
|
|
8378
8377
|
"div",
|
|
8379
8378
|
{
|
|
8380
8379
|
"data-controls": "logoMarginTop",
|
|
8381
|
-
className:
|
|
8380
|
+
className: Gt.control,
|
|
8382
8381
|
style: { width: "100%", height: w(T) }
|
|
8383
8382
|
}
|
|
8384
8383
|
),
|
|
@@ -8394,7 +8393,7 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
|
|
|
8394
8393
|
},
|
|
8395
8394
|
"logo"
|
|
8396
8395
|
),
|
|
8397
|
-
lt && a.caption &&
|
|
8396
|
+
lt && a.caption && Z(lt, a.caption, "caption", {
|
|
8398
8397
|
controlsName: "captionMarginTop",
|
|
8399
8398
|
marginTop: O,
|
|
8400
8399
|
minHeight: q
|
|
@@ -8436,18 +8435,18 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
|
|
|
8436
8435
|
},
|
|
8437
8436
|
$
|
|
8438
8437
|
);
|
|
8439
|
-
return C && (e != null && e.length) && e.length > 0 ? /* @__PURE__ */ m("div", { ref: B, className: ct(
|
|
8438
|
+
return C && (e != null && e.length) && e.length > 0 ? /* @__PURE__ */ m("div", { ref: B, className: ct(Gt.wrapper, Gt.marqueeWrapper), "aria-label": "Testimonials", children: /* @__PURE__ */ m(
|
|
8440
8439
|
"div",
|
|
8441
8440
|
{
|
|
8442
8441
|
ref: R,
|
|
8443
|
-
className:
|
|
8442
|
+
className: Gt.marqueeTrack,
|
|
8444
8443
|
onMouseEnter: Q,
|
|
8445
8444
|
onMouseLeave: mt,
|
|
8446
8445
|
children: Array.from({ length: z }, (a, $) => /* @__PURE__ */ m(
|
|
8447
8446
|
"div",
|
|
8448
8447
|
{
|
|
8449
|
-
ref: $ === 0 ?
|
|
8450
|
-
className:
|
|
8448
|
+
ref: $ === 0 ? H : void 0,
|
|
8449
|
+
className: Gt.marqueeSet,
|
|
8451
8450
|
style: { gap: w(d), paddingRight: w(d) },
|
|
8452
8451
|
"aria-hidden": $ > 0,
|
|
8453
8452
|
children: e == null ? void 0 : e.map(
|
|
@@ -8457,7 +8456,7 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
|
|
|
8457
8456
|
`set-${$}`
|
|
8458
8457
|
))
|
|
8459
8458
|
}
|
|
8460
|
-
) }) : /* @__PURE__ */ m("div", { className:
|
|
8459
|
+
) }) : /* @__PURE__ */ m("div", { className: Gt.wrapper, children: /* @__PURE__ */ m(
|
|
8461
8460
|
"div",
|
|
8462
8461
|
{
|
|
8463
8462
|
style: {
|
|
@@ -8475,7 +8474,7 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
|
|
|
8475
8474
|
) });
|
|
8476
8475
|
}, us = `import { useLayoutEffect, useMemo, useRef, useState } from 'react';
|
|
8477
8476
|
import cn from 'classnames';
|
|
8478
|
-
import classes from './
|
|
8477
|
+
import classes from './TestimonialsGrid.module.scss';
|
|
8479
8478
|
import { CommonComponentProps } from '../props';
|
|
8480
8479
|
import { RichTextRenderer } from '../helpers/RichTextRenderer/RichTextRenderer';
|
|
8481
8480
|
import { scalingValue } from '../utils/scalingValue';
|
|
@@ -8727,16 +8726,13 @@ export const Testimonials = ({ settings, content, isEditor, isPreviewMode }: Tes
|
|
|
8727
8726
|
width: '100%',
|
|
8728
8727
|
}}
|
|
8729
8728
|
>
|
|
8730
|
-
{options?.marginTop ? (
|
|
8731
|
-
<div
|
|
8732
|
-
data-controls={options.controlsName}
|
|
8733
|
-
data-controls-axis="y"
|
|
8734
|
-
className={classes.control}
|
|
8735
|
-
style={{ width: '100%', height: scaled(options.marginTop) }}
|
|
8736
|
-
/>
|
|
8737
|
-
) : null}
|
|
8738
8729
|
<div
|
|
8739
|
-
|
|
8730
|
+
data-controls={options?.controlsName}
|
|
8731
|
+
data-controls-axis="y"
|
|
8732
|
+
className={classes.control}
|
|
8733
|
+
style={{ width: '100%', height: scaled(options?.marginTop ?? 0) }}
|
|
8734
|
+
/>
|
|
8735
|
+
<div
|
|
8740
8736
|
style={{
|
|
8741
8737
|
...textStylesToCss(resolveCaptionTextStyles(style), isEditor),
|
|
8742
8738
|
textAlign: overlayTextAlign,
|
|
@@ -8953,7 +8949,7 @@ type TestimonialsStyles = {
|
|
|
8953
8949
|
text: CaptionStyles;
|
|
8954
8950
|
caption: CaptionStyles;
|
|
8955
8951
|
};
|
|
8956
|
-
`,
|
|
8952
|
+
`, Ho = {
|
|
8957
8953
|
fontSettings: {
|
|
8958
8954
|
type: "object",
|
|
8959
8955
|
scope: "common",
|
|
@@ -9123,7 +9119,7 @@ type TestimonialsStyles = {
|
|
|
9123
9119
|
display: { type: "font-family-select" }
|
|
9124
9120
|
},
|
|
9125
9121
|
captionFontSettings: {
|
|
9126
|
-
...
|
|
9122
|
+
...Ho.fontSettings,
|
|
9127
9123
|
scope: "common",
|
|
9128
9124
|
title: "",
|
|
9129
9125
|
display: { type: "font-settings-weight" }
|
|
@@ -9165,7 +9161,7 @@ type TestimonialsStyles = {
|
|
|
9165
9161
|
display: { type: "font-family-select" }
|
|
9166
9162
|
},
|
|
9167
9163
|
textFontSettings: {
|
|
9168
|
-
...
|
|
9164
|
+
...Ho.fontSettings,
|
|
9169
9165
|
scope: "common",
|
|
9170
9166
|
title: "",
|
|
9171
9167
|
display: { type: "font-settings-weight" }
|
|
@@ -9456,34 +9452,35 @@ type TestimonialsStyles = {
|
|
|
9456
9452
|
content: [],
|
|
9457
9453
|
parameters: [{ path: "styles.text.fontSettings" }]
|
|
9458
9454
|
}
|
|
9459
|
-
}, ms = "
|
|
9455
|
+
}, ms = "TestimonialSingle-module__container___YKr4M", fs = "TestimonialSingle-module__wrapper___hUgOd", ys = "TestimonialSingle-module__wrapperAutoplayOff___dgrHY", hs = "TestimonialSingle-module__elementsOverlay___2QyBb", vs = "TestimonialSingle-module__fadeStack___Ye77N", bs = "TestimonialSingle-module__fadeItemPrev___dQn4-", Ss = "TestimonialSingle-module__fadeItemCurrent___intAh", xs = "TestimonialSingle-module__fadeIn___mnR5D", Cs = "TestimonialSingle-module__fadeOut___WiXP1", ws = "TestimonialSingle-module__icon___qH8ha", Ts = "TestimonialSingle-module__controls___0dIZ-", _s = "TestimonialSingle-module__arrow___sVKUw", $s = "TestimonialSingle-module__nextArrow___U31Ty", As = "TestimonialSingle-module__arrowInner___tep0d", Is = "TestimonialSingle-module__arrowIcon___FpxdE", Ls = "TestimonialSingle-module__arrowImg___8JHHQ", Es = "TestimonialSingle-module__mirror___kWPu-", Fs = "TestimonialSingle-module__control___RwzDc", ht = {
|
|
9460
9456
|
container: ms,
|
|
9461
9457
|
wrapper: fs,
|
|
9462
|
-
|
|
9463
|
-
|
|
9464
|
-
|
|
9465
|
-
|
|
9466
|
-
|
|
9467
|
-
|
|
9468
|
-
|
|
9469
|
-
|
|
9470
|
-
|
|
9471
|
-
|
|
9472
|
-
|
|
9473
|
-
|
|
9474
|
-
|
|
9475
|
-
|
|
9476
|
-
|
|
9477
|
-
|
|
9458
|
+
wrapperAutoplayOff: ys,
|
|
9459
|
+
elementsOverlay: hs,
|
|
9460
|
+
fadeStack: vs,
|
|
9461
|
+
fadeItemPrev: bs,
|
|
9462
|
+
fadeItemCurrent: Ss,
|
|
9463
|
+
fadeIn: xs,
|
|
9464
|
+
fadeOut: Cs,
|
|
9465
|
+
icon: ws,
|
|
9466
|
+
controls: Ts,
|
|
9467
|
+
arrow: _s,
|
|
9468
|
+
nextArrow: $s,
|
|
9469
|
+
arrowInner: As,
|
|
9470
|
+
arrowIcon: Is,
|
|
9471
|
+
arrowImg: Ls,
|
|
9472
|
+
mirror: Es,
|
|
9473
|
+
control: Fs
|
|
9474
|
+
}, ks = ({ settings: t, content: e, isEditor: n, isPreviewMode: o }) => {
|
|
9478
9475
|
const r = e || [], { autoplay: l, speed: i, align: s, imageWidth: c, imageHeight: d, controlsWidth: p, controlsColor: I, controlsHoverColor: v, textMinHeight: f, captionMinHeight: u } = t, g = (() => {
|
|
9479
|
-
const
|
|
9480
|
-
if (typeof
|
|
9481
|
-
if (typeof
|
|
9482
|
-
const ft =
|
|
9476
|
+
const Z = l;
|
|
9477
|
+
if (typeof Z == "boolean") return Z;
|
|
9478
|
+
if (typeof Z == "string") {
|
|
9479
|
+
const ft = Z.trim().toLowerCase();
|
|
9483
9480
|
return ft === "on" || ft === "true";
|
|
9484
9481
|
}
|
|
9485
9482
|
return !1;
|
|
9486
|
-
})(), T = g && !o, b = t.width ?? 0, h = t.imageMarginTop ?? 0, L = t.captionMarginTop ?? 0, q = t.textMarginTop ?? 0, [O, C] = pt(0), [S, k] = pt(null), [w, B] = pt(!1), R = Ct(null),
|
|
9483
|
+
})(), T = g && !o, b = t.width ?? 0, h = t.imageMarginTop ?? 0, L = t.captionMarginTop ?? 0, q = t.textMarginTop ?? 0, [O, C] = pt(0), [S, k] = pt(null), [w, B] = pt(!1), R = Ct(null), H = Pt(() => {
|
|
9487
9484
|
switch (s) {
|
|
9488
9485
|
case "center":
|
|
9489
9486
|
return "center";
|
|
@@ -9493,7 +9490,7 @@ type TestimonialsStyles = {
|
|
|
9493
9490
|
default:
|
|
9494
9491
|
return "flex-start";
|
|
9495
9492
|
}
|
|
9496
|
-
}, [s]),
|
|
9493
|
+
}, [s]), M = Pt(() => {
|
|
9497
9494
|
switch (s) {
|
|
9498
9495
|
case "center":
|
|
9499
9496
|
return "center";
|
|
@@ -9507,11 +9504,11 @@ type TestimonialsStyles = {
|
|
|
9507
9504
|
_t(() => {
|
|
9508
9505
|
C(0), k(null), B(!1);
|
|
9509
9506
|
}, [r.length]);
|
|
9510
|
-
const Y = r[O], j = S === null ? null : r[S], y = (
|
|
9507
|
+
const Y = r[O], j = S === null ? null : r[S], y = (Z) => {
|
|
9511
9508
|
var $t;
|
|
9512
|
-
const ft = ($t = t == null ? void 0 : t.styles) == null ? void 0 : $t[
|
|
9509
|
+
const ft = ($t = t == null ? void 0 : t.styles) == null ? void 0 : $t[Z];
|
|
9513
9510
|
if (ft) return ft;
|
|
9514
|
-
const N =
|
|
9511
|
+
const N = Z === "text" ? "text" : "caption", a = t == null ? void 0 : t[`${N}FontFamily`], $ = t == null ? void 0 : t[`${N}FontSettings`], P = t == null ? void 0 : t[`${N}LetterSpacing`], V = t == null ? void 0 : t[`${N}WordSpacing`], U = t == null ? void 0 : t[`${N}TextAlign`], G = t == null ? void 0 : t[`${N}TextAppearance`], X = t == null ? void 0 : t[`${N}Color`], tt = t == null ? void 0 : t[`${N}FontSize`], at = t == null ? void 0 : t[`${N}LineHeight`];
|
|
9515
9512
|
return typeof a == "string" || !!$ || typeof P == "number" || typeof V == "number" || typeof U == "string" || !!G || typeof X == "string" || typeof tt == "number" || typeof at == "number" ? {
|
|
9516
9513
|
widthSettings: { width: 0.13, sizing: "manual" },
|
|
9517
9514
|
fontSettings: {
|
|
@@ -9535,20 +9532,20 @@ type TestimonialsStyles = {
|
|
|
9535
9532
|
} : void 0;
|
|
9536
9533
|
}, W = y("text"), F = y("caption");
|
|
9537
9534
|
if (!Y) return /* @__PURE__ */ m(ne, {});
|
|
9538
|
-
const A = (
|
|
9535
|
+
const A = (Z) => E(Z, n ?? !1), x = r.length > 1, _ = ve((Z, ft) => !x || ft === Z ? Z : (R.current && window.clearTimeout(R.current), k(Z), B(!0), R.current = window.setTimeout(() => {
|
|
9539
9536
|
k(null), B(!1), R.current = null;
|
|
9540
9537
|
}, 300), ft), [x]);
|
|
9541
|
-
ve((
|
|
9542
|
-
C((ft) => _(ft,
|
|
9538
|
+
ve((Z) => {
|
|
9539
|
+
C((ft) => _(ft, Z));
|
|
9543
9540
|
}, [_]);
|
|
9544
9541
|
const K = ve(() => {
|
|
9545
|
-
x && C((
|
|
9542
|
+
x && C((Z) => _(Z, (Z - 1 + r.length) % r.length));
|
|
9546
9543
|
}, [x, _, r.length]), rt = ve(() => {
|
|
9547
|
-
x && C((
|
|
9544
|
+
x && C((Z) => _(Z, (Z + 1) % r.length));
|
|
9548
9545
|
}, [x, _, r.length]);
|
|
9549
9546
|
_t(() => {
|
|
9550
9547
|
if (!T || !x) return;
|
|
9551
|
-
const
|
|
9548
|
+
const Z = typeof i == "number" && Number.isFinite(i) ? i : 0, ft = Math.max(0.1, Z) * 1e3, N = window.setInterval(() => {
|
|
9552
9549
|
C((a) => _(a, (a + 1) % r.length));
|
|
9553
9550
|
}, ft);
|
|
9554
9551
|
return () => {
|
|
@@ -9560,10 +9557,10 @@ type TestimonialsStyles = {
|
|
|
9560
9557
|
const et = t.controls ?? {
|
|
9561
9558
|
isActive: "visible",
|
|
9562
9559
|
arrowsImgUrl: null
|
|
9563
|
-
}, lt = et.mode, Q = (et.isActive === "visible" || lt === "On") && x, mt =
|
|
9560
|
+
}, lt = et.mode, Q = (et.isActive === "visible" || lt === "On") && x, mt = Pt(() => A(0.01), [n]), it = Pt(
|
|
9564
9561
|
() => E(p ?? 0.02, n ?? !1),
|
|
9565
9562
|
[p, n]
|
|
9566
|
-
), ut = ve((
|
|
9563
|
+
), ut = ve((Z) => /* @__PURE__ */ m(ne, { children: ["text", "image", "caption"].map((ft) => {
|
|
9567
9564
|
var N, a, $;
|
|
9568
9565
|
if (ft === "image")
|
|
9569
9566
|
return /* @__PURE__ */ vt(
|
|
@@ -9572,7 +9569,7 @@ type TestimonialsStyles = {
|
|
|
9572
9569
|
style: {
|
|
9573
9570
|
display: "flex",
|
|
9574
9571
|
flexDirection: "column",
|
|
9575
|
-
alignItems:
|
|
9572
|
+
alignItems: H,
|
|
9576
9573
|
width: "100%"
|
|
9577
9574
|
},
|
|
9578
9575
|
children: [
|
|
@@ -9587,12 +9584,12 @@ type TestimonialsStyles = {
|
|
|
9587
9584
|
/* @__PURE__ */ m(
|
|
9588
9585
|
"img",
|
|
9589
9586
|
{
|
|
9590
|
-
src: (N =
|
|
9591
|
-
alt: (a =
|
|
9587
|
+
src: (N = Z.image) == null ? void 0 : N.url,
|
|
9588
|
+
alt: (a = Z.image) == null ? void 0 : a.name,
|
|
9592
9589
|
className: ht.icon,
|
|
9593
9590
|
style: {
|
|
9594
9591
|
pointerEvents: "auto",
|
|
9595
|
-
objectFit: (($ =
|
|
9592
|
+
objectFit: (($ = Z.image) == null ? void 0 : $.objectFit) || "cover",
|
|
9596
9593
|
width: E(c ?? 0, n ?? !1),
|
|
9597
9594
|
height: E(d ?? 0, n ?? !1)
|
|
9598
9595
|
}
|
|
@@ -9610,7 +9607,7 @@ type TestimonialsStyles = {
|
|
|
9610
9607
|
style: {
|
|
9611
9608
|
display: "flex",
|
|
9612
9609
|
flexDirection: "column",
|
|
9613
|
-
alignItems:
|
|
9610
|
+
alignItems: H,
|
|
9614
9611
|
width: "100%"
|
|
9615
9612
|
},
|
|
9616
9613
|
children: [
|
|
@@ -9632,7 +9629,7 @@ type TestimonialsStyles = {
|
|
|
9632
9629
|
minHeight: E(f ?? 0, n ?? !1),
|
|
9633
9630
|
letterSpacing: E(V, n),
|
|
9634
9631
|
wordSpacing: E(U, n),
|
|
9635
|
-
textAlign:
|
|
9632
|
+
textAlign: M,
|
|
9636
9633
|
fontSize: E(G.fontSize, n),
|
|
9637
9634
|
lineHeight: E(G.lineHeight, n),
|
|
9638
9635
|
textTransform: X.textTransform ?? "none",
|
|
@@ -9641,7 +9638,7 @@ type TestimonialsStyles = {
|
|
|
9641
9638
|
color: tt,
|
|
9642
9639
|
pointerEvents: "auto"
|
|
9643
9640
|
},
|
|
9644
|
-
children: /* @__PURE__ */ m(De, { content:
|
|
9641
|
+
children: /* @__PURE__ */ m(De, { content: Z.text ?? [] })
|
|
9645
9642
|
}
|
|
9646
9643
|
)
|
|
9647
9644
|
]
|
|
@@ -9657,7 +9654,7 @@ type TestimonialsStyles = {
|
|
|
9657
9654
|
style: {
|
|
9658
9655
|
display: "flex",
|
|
9659
9656
|
flexDirection: "column",
|
|
9660
|
-
alignItems:
|
|
9657
|
+
alignItems: H,
|
|
9661
9658
|
width: "100%"
|
|
9662
9659
|
},
|
|
9663
9660
|
children: [
|
|
@@ -9679,7 +9676,7 @@ type TestimonialsStyles = {
|
|
|
9679
9676
|
minHeight: E(u ?? 0, n ?? !1),
|
|
9680
9677
|
letterSpacing: E(V, n),
|
|
9681
9678
|
wordSpacing: E(U, n),
|
|
9682
|
-
textAlign:
|
|
9679
|
+
textAlign: M,
|
|
9683
9680
|
fontSize: E(G.fontSize, n),
|
|
9684
9681
|
lineHeight: E(G.lineHeight, n),
|
|
9685
9682
|
textTransform: X.textTransform ?? "none",
|
|
@@ -9688,7 +9685,7 @@ type TestimonialsStyles = {
|
|
|
9688
9685
|
color: tt,
|
|
9689
9686
|
pointerEvents: "auto"
|
|
9690
9687
|
},
|
|
9691
|
-
children: /* @__PURE__ */ m(De, { content:
|
|
9688
|
+
children: /* @__PURE__ */ m(De, { content: Z.caption })
|
|
9692
9689
|
}
|
|
9693
9690
|
)
|
|
9694
9691
|
]
|
|
@@ -9704,8 +9701,8 @@ type TestimonialsStyles = {
|
|
|
9704
9701
|
c,
|
|
9705
9702
|
d,
|
|
9706
9703
|
n,
|
|
9707
|
-
M,
|
|
9708
9704
|
H,
|
|
9705
|
+
M,
|
|
9709
9706
|
f,
|
|
9710
9707
|
W
|
|
9711
9708
|
]);
|
|
@@ -9726,7 +9723,7 @@ type TestimonialsStyles = {
|
|
|
9726
9723
|
width: E(b, n ?? !1),
|
|
9727
9724
|
display: "flex",
|
|
9728
9725
|
flexDirection: "column",
|
|
9729
|
-
alignItems:
|
|
9726
|
+
alignItems: H,
|
|
9730
9727
|
inset: 0,
|
|
9731
9728
|
pointerEvents: "none",
|
|
9732
9729
|
height: "100%",
|
|
@@ -9780,7 +9777,7 @@ type TestimonialsStyles = {
|
|
|
9780
9777
|
hoverFill: v,
|
|
9781
9778
|
className: ct(ht.arrowImg, ht.mirror)
|
|
9782
9779
|
}
|
|
9783
|
-
) : /* @__PURE__ */ m(
|
|
9780
|
+
) : /* @__PURE__ */ m(Mo, { color: I, className: ct(ht.arrowIcon, ht.arrowImg, ht.mirror) })
|
|
9784
9781
|
}
|
|
9785
9782
|
)
|
|
9786
9783
|
}
|
|
@@ -9811,7 +9808,7 @@ type TestimonialsStyles = {
|
|
|
9811
9808
|
hoverFill: v,
|
|
9812
9809
|
className: ht.arrowImg
|
|
9813
9810
|
}
|
|
9814
|
-
) : /* @__PURE__ */ m(
|
|
9811
|
+
) : /* @__PURE__ */ m(Mo, { color: I, className: ct(ht.arrowIcon, ht.arrowImg) })
|
|
9815
9812
|
}
|
|
9816
9813
|
)
|
|
9817
9814
|
}
|
|
@@ -9822,16 +9819,16 @@ type TestimonialsStyles = {
|
|
|
9822
9819
|
]
|
|
9823
9820
|
}
|
|
9824
9821
|
) });
|
|
9825
|
-
},
|
|
9822
|
+
}, Mo = ({ color: t, className: e }) => /* @__PURE__ */ m("svg", { viewBox: "0 0 10 18", className: e, children: /* @__PURE__ */ m("g", { stroke: "none", strokeWidth: "1", fillRule: "evenodd", children: /* @__PURE__ */ m(
|
|
9826
9823
|
"path",
|
|
9827
9824
|
{
|
|
9828
9825
|
d: "M-3.70710678,4.29289322 C-3.34662282,3.93240926 -2.77939176,3.90467972 -2.38710056,4.20970461 L-2.29289322,4.29289322 L5,11.585 L12.2928932,4.29289322 C12.6533772,3.93240926 13.2206082,3.90467972 13.6128994,4.20970461 L13.7071068,4.29289322 C14.0675907,4.65337718 14.0953203,5.22060824 13.7902954,5.61289944 L13.7071068,5.70710678 L5.70710678,13.7071068 C5.34662282,14.0675907 4.77939176,14.0953203 4.38710056,13.7902954 L4.29289322,13.7071068 L-3.70710678,5.70710678 C-4.09763107,5.31658249 -4.09763107,4.68341751 -3.70710678,4.29289322 Z",
|
|
9829
9826
|
fill: t,
|
|
9830
9827
|
transform: "translate(5, 9) rotate(-90) translate(-5, -9)"
|
|
9831
9828
|
}
|
|
9832
|
-
) }) }),
|
|
9829
|
+
) }) }), Rs = `import cn from 'classnames';
|
|
9833
9830
|
import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
9834
|
-
import classes from './
|
|
9831
|
+
import classes from './TestimonialSingle.module.scss';
|
|
9835
9832
|
import { CommonComponentProps } from '../props';
|
|
9836
9833
|
import { RichTextRenderer } from '../helpers/RichTextRenderer/RichTextRenderer';
|
|
9837
9834
|
import { scalingValue } from '../utils/scalingValue';
|
|
@@ -10400,7 +10397,7 @@ type ElementOrderKey = 'text' | 'image' | 'caption';
|
|
|
10400
10397
|
textAlign: "left",
|
|
10401
10398
|
textAppearance: { textTransform: "none", textDecoration: "none", fontVariant: "normal" },
|
|
10402
10399
|
color: "#000000"
|
|
10403
|
-
},
|
|
10400
|
+
}, Ws = {
|
|
10404
10401
|
type: "object",
|
|
10405
10402
|
version: 1,
|
|
10406
10403
|
settings: {
|
|
@@ -10852,8 +10849,8 @@ type ElementOrderKey = 'text' | 'image' | 'caption';
|
|
|
10852
10849
|
}
|
|
10853
10850
|
]
|
|
10854
10851
|
}
|
|
10855
|
-
},
|
|
10856
|
-
element:
|
|
10852
|
+
}, zs = {
|
|
10853
|
+
element: ks,
|
|
10857
10854
|
id: "testimonial-single",
|
|
10858
10855
|
name: "Clara",
|
|
10859
10856
|
category: "testimonials",
|
|
@@ -10866,8 +10863,8 @@ type ElementOrderKey = 'text' | 'image' | 'caption';
|
|
|
10866
10863
|
width: 700,
|
|
10867
10864
|
height: 300
|
|
10868
10865
|
},
|
|
10869
|
-
schema:
|
|
10870
|
-
sourceCode:
|
|
10866
|
+
schema: Ws,
|
|
10867
|
+
sourceCode: Rs,
|
|
10871
10868
|
assetsPaths: {
|
|
10872
10869
|
content: [{ path: "image.url", placeholderEnabled: !0 }],
|
|
10873
10870
|
parameters: [{ path: "settings.controls.arrowsImgUrl" }]
|
|
@@ -10876,16 +10873,16 @@ type ElementOrderKey = 'text' | 'image' | 'caption';
|
|
|
10876
10873
|
content: [],
|
|
10877
10874
|
parameters: [{ path: "styles.text.fontSettings" }, { path: "styles.caption.fontSettings" }]
|
|
10878
10875
|
}
|
|
10879
|
-
},
|
|
10876
|
+
}, Ds = [
|
|
10880
10877
|
Pa,
|
|
10881
10878
|
Ga,
|
|
10882
10879
|
Wl,
|
|
10883
10880
|
Dl,
|
|
10884
10881
|
Ql,
|
|
10885
10882
|
gs,
|
|
10886
|
-
|
|
10883
|
+
zs
|
|
10887
10884
|
];
|
|
10888
10885
|
export {
|
|
10889
|
-
|
|
10890
|
-
|
|
10886
|
+
Ds as components,
|
|
10887
|
+
Vs as isSchemaV1
|
|
10891
10888
|
};
|