@cntrl-site/components 1.0.120-alpha.1 → 1.0.120
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/{ChroniclesComponent-CdhGfFOq.js → ChroniclesComponent-5ZbqHNpi.js} +1 -1
- package/dist/{ChroniclesComponent-CQhnb---.mjs → ChroniclesComponent-8lhIeord.mjs} +1 -1
- package/dist/{Slider20-DPl7qPvq.mjs → Slider20-C2o_EB1I.mjs} +293 -272
- package/dist/Slider20-DzxWCTg-.js +273 -0
- package/dist/{components-CKRt52By.js → components-BHB4G3ma.js} +1 -1
- package/dist/{components-Pm59Vh5x.mjs → components-CBJ6asBX.mjs} +1 -1
- package/dist/elements.js +1 -1
- package/dist/elements.mjs +1 -1
- package/dist/elements.node.js +1 -1
- package/dist/elements.node.mjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +2 -2
- package/dist/sources.js +48 -13
- package/dist/sources.mjs +48 -13
- package/package.json +1 -1
- package/dist/Slider20-BjVIiTAT.js +0 -273
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useState as
|
|
1
|
+
import { jsxs as k, Fragment as Ee, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { useState as C, useRef as T, useCallback as M, useEffect as z } from "react";
|
|
3
3
|
import w from "classnames";
|
|
4
|
-
import { R as
|
|
5
|
-
import { s as
|
|
6
|
-
import { S as
|
|
7
|
-
import { t as
|
|
8
|
-
import { u as
|
|
9
|
-
const
|
|
4
|
+
import { R as wo } from "./RichTextRenderer-D52Xto59.mjs";
|
|
5
|
+
import { s as y } from "./scalingValue-C9JH5L6O.mjs";
|
|
6
|
+
import { S as Ke } from "./SvgImage-B5mR9y6q.mjs";
|
|
7
|
+
import { t as xo } from "./textStylesToCss-05Mn6I_2.mjs";
|
|
8
|
+
import { u as bo } from "./useScopedStyles-DhBG3557.mjs";
|
|
9
|
+
const Io = 500, To = 1, ke = "cubic-bezier(0.25, 1, 0.5, 1)", So = 300, ko = 40, Co = 5, Ao = 0.15, go = 0.4, Mo = 100, X = 100, je = {
|
|
10
10
|
color: "#000000",
|
|
11
11
|
hover: "#cccccc"
|
|
12
|
-
},
|
|
12
|
+
}, q = {
|
|
13
13
|
offset: { x: 0, y: 0 },
|
|
14
14
|
colors: {
|
|
15
15
|
pagination: "#cccccc",
|
|
16
16
|
inactive: "#cccccc",
|
|
17
17
|
background: "#000000"
|
|
18
18
|
}
|
|
19
|
-
},
|
|
19
|
+
}, No = {
|
|
20
20
|
s: {
|
|
21
21
|
paddingY: 5,
|
|
22
22
|
paddingActive: 5,
|
|
@@ -44,82 +44,82 @@ const yo = 500, wo = 1, xe = "cubic-bezier(0.25, 1, 0.5, 1)", xo = 300, bo = 40,
|
|
|
44
44
|
gapInactive: 26,
|
|
45
45
|
inset: 10
|
|
46
46
|
}
|
|
47
|
-
},
|
|
47
|
+
}, Ie = {
|
|
48
48
|
offset: { x: 0, y: 0 },
|
|
49
49
|
linkColor: "#cccccc"
|
|
50
|
-
},
|
|
50
|
+
}, qe = {
|
|
51
51
|
sizeType: "drag",
|
|
52
52
|
value: 3
|
|
53
|
-
},
|
|
54
|
-
function
|
|
55
|
-
var x,
|
|
56
|
-
const
|
|
53
|
+
}, Ro = "left";
|
|
54
|
+
function Lo(e, a) {
|
|
55
|
+
var x, $;
|
|
56
|
+
const n = {
|
|
57
57
|
fontSettings: {
|
|
58
58
|
fontFamily: (e == null ? void 0 : e.titleFontFamily) ?? "Arial",
|
|
59
59
|
fontWeight: ((x = e == null ? void 0 : e.titleFontSettings) == null ? void 0 : x.fontWeight) ?? 400,
|
|
60
|
-
fontStyle: ((
|
|
60
|
+
fontStyle: (($ = e == null ? void 0 : e.titleFontSettings) == null ? void 0 : $.fontStyle) ?? "normal"
|
|
61
61
|
},
|
|
62
62
|
fontSize: (e == null ? void 0 : e.titleFontSize) ?? 0.02,
|
|
63
63
|
lineHeight: (e == null ? void 0 : e.titleLineHeight) ?? 0.02,
|
|
64
64
|
letterSpacing: (e == null ? void 0 : e.titleLetterSpacing) ?? 0,
|
|
65
65
|
wordSpacing: (e == null ? void 0 : e.titleWordSpacing) ?? 0,
|
|
66
66
|
textAppearance: e == null ? void 0 : e.titleTextAppearance,
|
|
67
|
-
textAlign:
|
|
67
|
+
textAlign: Ro,
|
|
68
68
|
color: (e == null ? void 0 : e.titleColor) ?? "#000000"
|
|
69
69
|
};
|
|
70
|
-
return
|
|
70
|
+
return xo(n, a);
|
|
71
71
|
}
|
|
72
|
-
function H(e,
|
|
73
|
-
return `${e}: ${
|
|
72
|
+
function H(e, a, n) {
|
|
73
|
+
return `${e}: ${y(a / 1440, n)};`;
|
|
74
74
|
}
|
|
75
|
-
function
|
|
76
|
-
return
|
|
75
|
+
function Z(e, a) {
|
|
76
|
+
return a <= 0 ? 0 : (e % a + a) % a;
|
|
77
77
|
}
|
|
78
|
-
const
|
|
79
|
-
function
|
|
80
|
-
return
|
|
78
|
+
const Do = 3;
|
|
79
|
+
function Te(e, a, n) {
|
|
80
|
+
return n ? `translate3d(calc(${-e * 100}% + ${a}px), 0, 0)` : `translate3d(0, calc(${-e * 100}% + ${a}px), 0)`;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
83
|
-
return (Math.floor(e /
|
|
82
|
+
function Se(e, a) {
|
|
83
|
+
return (Math.floor(e / a) - 1) * a;
|
|
84
84
|
}
|
|
85
|
-
function
|
|
86
|
-
const
|
|
87
|
-
return parseFloat(
|
|
85
|
+
function Ze(e, a) {
|
|
86
|
+
const n = window.getComputedStyle(e);
|
|
87
|
+
return parseFloat(a ? n.width : n.height) || 0;
|
|
88
88
|
}
|
|
89
|
-
function
|
|
90
|
-
const
|
|
91
|
-
return
|
|
89
|
+
function zo(e, a) {
|
|
90
|
+
const n = new DOMMatrixReadOnly(window.getComputedStyle(e).transform);
|
|
91
|
+
return a ? n.m41 : n.m42;
|
|
92
92
|
}
|
|
93
|
-
function
|
|
94
|
-
const
|
|
95
|
-
|
|
96
|
-
const x = (W,
|
|
97
|
-
|
|
98
|
-
const G =
|
|
93
|
+
function _o(e, a) {
|
|
94
|
+
const n = document.createElement("div");
|
|
95
|
+
n.className = a, n.setAttribute("aria-hidden", "true"), e.appendChild(n);
|
|
96
|
+
const x = (W, P) => {
|
|
97
|
+
n.style.transform = `translate(${W}px, ${P}px)`;
|
|
98
|
+
const G = n.getBoundingClientRect();
|
|
99
99
|
return { x: G.left, y: G.top };
|
|
100
|
-
},
|
|
101
|
-
e.removeChild(
|
|
100
|
+
}, $ = x(0, 0), r = x(X, 0), J = x(0, X);
|
|
101
|
+
e.removeChild(n);
|
|
102
102
|
const I = {
|
|
103
|
-
x: (r.x -
|
|
104
|
-
y: (r.y -
|
|
103
|
+
x: (r.x - $.x) / X,
|
|
104
|
+
y: (r.y - $.y) / X
|
|
105
105
|
}, i = {
|
|
106
|
-
x: (
|
|
107
|
-
y: (
|
|
108
|
-
},
|
|
109
|
-
return { ex: I, ey: i, det:
|
|
106
|
+
x: (J.x - $.x) / X,
|
|
107
|
+
y: (J.y - $.y) / X
|
|
108
|
+
}, Q = I.x * i.y - i.x * I.y;
|
|
109
|
+
return { ex: I, ey: i, det: Q };
|
|
110
110
|
}
|
|
111
|
-
function
|
|
112
|
-
const { ex: x, ey:
|
|
111
|
+
function Oo(e, a, n) {
|
|
112
|
+
const { ex: x, ey: $, det: r } = e;
|
|
113
113
|
return {
|
|
114
|
-
x: (
|
|
115
|
-
y: (x.x *
|
|
114
|
+
x: (a * $.y - n * $.x) / r,
|
|
115
|
+
y: (x.x * n - x.y * a) / r
|
|
116
116
|
};
|
|
117
117
|
}
|
|
118
|
-
function
|
|
119
|
-
const
|
|
120
|
-
return Math.round(
|
|
118
|
+
function Yo(e) {
|
|
119
|
+
const a = Math.min(Math.max(e, 0), 2);
|
|
120
|
+
return Math.round(Io * Math.pow(4, 1 - a));
|
|
121
121
|
}
|
|
122
|
-
function
|
|
122
|
+
function Fo(e, a, n) {
|
|
123
123
|
return `
|
|
124
124
|
.${e}-wrapper {
|
|
125
125
|
position: relative;
|
|
@@ -219,29 +219,29 @@ function zo(e, n, a) {
|
|
|
219
219
|
top: 50%;
|
|
220
220
|
z-index: 3;
|
|
221
221
|
padding: 0;
|
|
222
|
-
${H("width", 30,
|
|
223
|
-
${H("height", 30,
|
|
222
|
+
${H("width", 30, n)}
|
|
223
|
+
${H("height", 30, n)}
|
|
224
224
|
transition: opacity 0.15s ease-in-out;
|
|
225
225
|
}
|
|
226
226
|
.${e}-arrow-prev {
|
|
227
|
-
${H("left", -20,
|
|
227
|
+
${H("left", -20, n)}
|
|
228
228
|
transform: translate3d(-50%, -50%, 0);
|
|
229
229
|
}
|
|
230
230
|
.${e}-arrow-next {
|
|
231
231
|
left: unset;
|
|
232
|
-
${H("right", -20,
|
|
232
|
+
${H("right", -20, n)}
|
|
233
233
|
transform: translate3d(50%, -50%, 0);
|
|
234
234
|
}
|
|
235
235
|
.${e}-arrow-prev-vertical {
|
|
236
236
|
left: 50%;
|
|
237
|
-
${H("top", -20,
|
|
237
|
+
${H("top", -20, n)}
|
|
238
238
|
transform: translate3d(-50%, -50%, 0);
|
|
239
239
|
}
|
|
240
240
|
.${e}-arrow-next-vertical {
|
|
241
241
|
left: 50%;
|
|
242
242
|
right: unset;
|
|
243
243
|
top: unset;
|
|
244
|
-
${H("bottom", -20,
|
|
244
|
+
${H("bottom", -20, n)}
|
|
245
245
|
transform: translate3d(-50%, 50%, 0);
|
|
246
246
|
}
|
|
247
247
|
.${e}-arrow-hidden {
|
|
@@ -371,14 +371,14 @@ function zo(e, n, a) {
|
|
|
371
371
|
cursor: pointer;
|
|
372
372
|
z-index: 2;
|
|
373
373
|
}
|
|
374
|
-
.${e}-transition-fade .${e}-slide.${e}-is-
|
|
375
|
-
animation: ${e}-fade-in ${
|
|
374
|
+
.${e}-transition-fade .${e}-slide.${e}-is-animated .${e}-slider-image {
|
|
375
|
+
animation: ${e}-fade-in ${a}ms ${ke};
|
|
376
376
|
}
|
|
377
|
-
.${e}-transition-reveal .${e}-slide.${e}-is-
|
|
378
|
-
animation: ${e}-reveal-horizontal ${
|
|
377
|
+
.${e}-transition-reveal .${e}-slide.${e}-is-animated .${e}-slider-image {
|
|
378
|
+
animation: ${e}-reveal-horizontal ${a}ms ease;
|
|
379
379
|
}
|
|
380
|
-
.${e}-transition-reveal-vertical .${e}-slide.${e}-is-
|
|
381
|
-
animation: ${e}-reveal-vertical ${
|
|
380
|
+
.${e}-transition-reveal-vertical .${e}-slide.${e}-is-animated .${e}-slider-image {
|
|
381
|
+
animation: ${e}-reveal-vertical ${a}ms ease;
|
|
382
382
|
}
|
|
383
383
|
@keyframes ${e}-fade-in {
|
|
384
384
|
from { opacity: 0; }
|
|
@@ -394,22 +394,24 @@ function zo(e, n, a) {
|
|
|
394
394
|
}
|
|
395
395
|
`;
|
|
396
396
|
}
|
|
397
|
-
function
|
|
398
|
-
const { prefix: r } =
|
|
399
|
-
width:
|
|
400
|
-
height:
|
|
401
|
-
maxWidth:
|
|
402
|
-
},
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
397
|
+
function Ko({ settings: e, content: a, isEditor: n, isPreviewMode: x, isEditMode: $ }) {
|
|
398
|
+
const { prefix: r } = bo(), J = Lo(e, n), I = a ?? [], i = I.length, Q = (e == null ? void 0 : e.trigger) ?? qe, W = Q.sizeType ?? "drag", P = Q.value ?? qe.value, G = (e == null ? void 0 : e.direction) ?? "horizontal", fe = (e == null ? void 0 : e.transition) ?? "slide", Qe = typeof (e == null ? void 0 : e.transitionSpeed) == "number" ? e.transitionSpeed : To, S = Yo(Qe), Pe = (e == null ? void 0 : e.nav) ?? "classic", Ce = (e == null ? void 0 : e.navSize) ?? "m", u = No[Ce], eo = typeof (e == null ? void 0 : e.navUnit) == "number" ? e.navUnit : 1 / 1440, m = (o) => y(o * eo, n), Ae = (e == null ? void 0 : e.show) ?? "always", _ = (e == null ? void 0 : e.controls) ?? null, ge = typeof (e == null ? void 0 : e.controlsMaxWidth) == "number" ? e.controlsMaxWidth : 65 / 1440, Me = typeof (e == null ? void 0 : e.paddingX) == "number" ? e.paddingX : 0, Ne = typeof (e == null ? void 0 : e.paddingY) == "number" ? e.paddingY : 0, O = (e == null ? void 0 : e.controlsColor) ?? je.color, ee = (e == null ? void 0 : e.controlsHoverColor) ?? je.hover, oo = (e == null ? void 0 : e.navColor) ?? q.colors.inactive, to = (e == null ? void 0 : e.navPaginationColor) ?? q.colors.pagination, ro = (e == null ? void 0 : e.navBackgroundColor) ?? q.colors.background, Re = (e == null ? void 0 : e.linkColor) ?? Ie.linkColor, no = typeof (e == null ? void 0 : e.captionMarginTop) == "number" ? e.captionMarginTop : 0, Le = typeof (e == null ? void 0 : e.imageCorners) == "number" ? e.imageCorners : 0, ao = Le > 0 ? { borderRadius: y(Le, n), isolation: "isolate" } : void 0, l = G === "horizontal", io = W === "click", me = W === "drag", De = W === "auto" && (!n || !!x), ze = !n, h = fe === "slide", oe = fe === "reveal", _e = !h, co = Pe === "classic", lo = Ae !== "never" && ge > 0, Oe = Ae === "on hover", he = y(ge, n), te = {
|
|
399
|
+
width: he,
|
|
400
|
+
height: he,
|
|
401
|
+
maxWidth: he
|
|
402
|
+
}, A = h && i > 1, [v, re] = C(0), [N, Ye] = C([
|
|
403
|
+
{ index: v, key: 0, isAnimated: !1 }
|
|
404
|
+
]), Fe = N[N.length - 1];
|
|
405
|
+
if (_e && Fe.index !== v) {
|
|
406
|
+
const o = N.length >= ko ? [N[0], ...N.slice(2)] : N;
|
|
407
|
+
Ye([...o, { index: v, key: Fe.key + 1, isAnimated: !0 }]);
|
|
406
408
|
}
|
|
407
|
-
const
|
|
408
|
-
|
|
409
|
+
const so = (o) => {
|
|
410
|
+
Ye((t) => {
|
|
409
411
|
const c = t.findIndex((p) => p.key === o);
|
|
410
412
|
return c > 0 ? t.slice(c) : t;
|
|
411
413
|
});
|
|
412
|
-
},
|
|
414
|
+
}, Xe = (o) => o && /* @__PURE__ */ s("div", { className: `${r}-slider-item`, children: /* @__PURE__ */ s("div", { className: `${r}-img-wrapper`, children: /* @__PURE__ */ s(
|
|
413
415
|
"img",
|
|
414
416
|
{
|
|
415
417
|
className: `${r}-slider-image`,
|
|
@@ -417,54 +419,73 @@ function Bo({ settings: e, content: n, isEditor: a, isPreviewMode: x, isEditMode
|
|
|
417
419
|
alt: o.image.name ?? "",
|
|
418
420
|
draggable: !1
|
|
419
421
|
}
|
|
420
|
-
) }) }), [
|
|
421
|
-
U.current =
|
|
422
|
-
const
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
422
|
+
) }) }), [Y, ne] = C(A ? i : 0), [He, po] = C(!1), [ve, B] = C(!1), [uo, $e] = C(!1), [fo, R] = C(0), [ye, we] = C(!1), [We, Ge] = C(!1), xe = T(!1), U = T(Y);
|
|
423
|
+
U.current = Y;
|
|
424
|
+
const ae = T(null), ie = T(null), F = T(null), L = T(null), ce = T(v);
|
|
425
|
+
ce.current = v;
|
|
426
|
+
const V = T(v), E = T(null), D = M((o) => {
|
|
427
|
+
xe.current = o, po(o);
|
|
428
|
+
}, []), le = M((o) => {
|
|
429
|
+
if (!oe) {
|
|
430
|
+
re((d) => Z(o(d), i));
|
|
431
|
+
return;
|
|
432
|
+
}
|
|
433
|
+
const t = E.current !== null, c = t ? V.current : ce.current;
|
|
434
|
+
if (V.current = Z(o(c), i), t) return;
|
|
435
|
+
const p = (d) => {
|
|
436
|
+
ce.current = d, re(d), E.current = window.setTimeout(() => {
|
|
437
|
+
E.current = null, V.current !== ce.current && p(V.current);
|
|
438
|
+
}, S / 2);
|
|
439
|
+
};
|
|
440
|
+
p(V.current);
|
|
441
|
+
}, [i, oe, S]);
|
|
442
|
+
z(() => () => {
|
|
443
|
+
E.current !== null && window.clearTimeout(E.current);
|
|
444
|
+
}, []);
|
|
445
|
+
const be = M(() => {
|
|
446
|
+
const o = ie.current, t = o ? Ze(o, l) : 0;
|
|
447
|
+
return !o || t <= 0 ? U.current : Math.round(-zo(o, l) / t * 1e3) / 1e3;
|
|
448
|
+
}, [l]), se = M((o) => {
|
|
449
|
+
const t = be(), c = Se(t, i), p = o(t - c, c), d = ie.current;
|
|
450
|
+
if (c !== 0 && d) {
|
|
451
|
+
const f = d.style.transition;
|
|
452
|
+
d.style.transition = "none", d.style.transform = Te(t - c, 0, l), d.offsetWidth, d.style.transition = f && f !== "none" ? f : `transform ${S}ms ${ke}`, d.style.transform = Te(p, 0, l);
|
|
432
453
|
}
|
|
433
|
-
U.current = p,
|
|
434
|
-
}, [i, l,
|
|
454
|
+
U.current = p, re(Z(p, i)), B(!1), ne(p);
|
|
455
|
+
}, [i, l, be, S]), de = M((o) => {
|
|
435
456
|
if (!(i < 2 || o === 0)) {
|
|
436
|
-
if (
|
|
437
|
-
|
|
457
|
+
if (we(!0), D(!0), !h) {
|
|
458
|
+
le((t) => t + o);
|
|
438
459
|
return;
|
|
439
460
|
}
|
|
440
|
-
|
|
441
|
-
const p = U.current - c,
|
|
442
|
-
return Math.min(Math.max(
|
|
461
|
+
se((t, c) => {
|
|
462
|
+
const p = U.current - c, d = Math.abs(p - t) < i ? p : Math.round(t), f = i - 1;
|
|
463
|
+
return Math.min(Math.max(d + o, Math.ceil(t - f)), Math.floor(t + f));
|
|
443
464
|
});
|
|
444
465
|
}
|
|
445
|
-
}, [i, h,
|
|
446
|
-
|
|
447
|
-
}, [
|
|
466
|
+
}, [le, i, h, se, D]), K = M((o) => {
|
|
467
|
+
de(o);
|
|
468
|
+
}, [de]), mo = M((o) => {
|
|
448
469
|
if (i < 2) return;
|
|
449
|
-
const t =
|
|
450
|
-
if (!(t ===
|
|
451
|
-
if (
|
|
452
|
-
|
|
470
|
+
const t = Z(o, i);
|
|
471
|
+
if (!(t === v && !xe.current)) {
|
|
472
|
+
if (we(!0), D(!0), !h) {
|
|
473
|
+
le(() => t);
|
|
453
474
|
return;
|
|
454
475
|
}
|
|
455
|
-
|
|
476
|
+
se(() => i + t);
|
|
456
477
|
}
|
|
457
|
-
}, [
|
|
458
|
-
|
|
459
|
-
if (!
|
|
478
|
+
}, [v, le, i, h, se, D]);
|
|
479
|
+
z(() => {
|
|
480
|
+
if (!He) return;
|
|
460
481
|
const o = window.setTimeout(() => {
|
|
461
|
-
if (
|
|
462
|
-
const t =
|
|
463
|
-
t !== 0 && (B(!0),
|
|
464
|
-
},
|
|
482
|
+
if (D(!1), !A) return;
|
|
483
|
+
const t = Se(Y, i);
|
|
484
|
+
t !== 0 && (B(!0), ne(Y - t));
|
|
485
|
+
}, S);
|
|
465
486
|
return () => window.clearTimeout(o);
|
|
466
|
-
}, [i,
|
|
467
|
-
if (!
|
|
487
|
+
}, [i, A, He, D, Y, S]), z(() => {
|
|
488
|
+
if (!ve) return;
|
|
468
489
|
let o = 0;
|
|
469
490
|
const t = requestAnimationFrame(() => {
|
|
470
491
|
o = requestAnimationFrame(() => B(!1));
|
|
@@ -472,68 +493,68 @@ function Bo({ settings: e, content: n, isEditor: a, isPreviewMode: x, isEditMode
|
|
|
472
493
|
return () => {
|
|
473
494
|
cancelAnimationFrame(t), cancelAnimationFrame(o);
|
|
474
495
|
};
|
|
475
|
-
}, [
|
|
476
|
-
const
|
|
477
|
-
|
|
478
|
-
if (
|
|
479
|
-
|
|
480
|
-
const o = i > 0 ? Math.min(
|
|
481
|
-
|
|
482
|
-
}, [
|
|
483
|
-
if (!
|
|
484
|
-
const o = window.setTimeout(() =>
|
|
496
|
+
}, [ve]);
|
|
497
|
+
const pe = `${A}:${i}`, Be = T(pe);
|
|
498
|
+
z(() => {
|
|
499
|
+
if (Be.current === pe) return;
|
|
500
|
+
Be.current = pe;
|
|
501
|
+
const o = i > 0 ? Math.min(v, i - 1) : 0;
|
|
502
|
+
F.current = null, L.current = null, $e(!1), R(0), re(o), B(!0), ne(o + (A ? i : 0));
|
|
503
|
+
}, [v, i, A, pe]), z(() => {
|
|
504
|
+
if (!ye) return;
|
|
505
|
+
const o = window.setTimeout(() => we(!1), So);
|
|
485
506
|
return () => window.clearTimeout(o);
|
|
486
|
-
}, [
|
|
487
|
-
if (!
|
|
488
|
-
const o = Math.max(
|
|
489
|
-
|
|
507
|
+
}, [ye, v]), z(() => {
|
|
508
|
+
if (!De || i < 2) return;
|
|
509
|
+
const o = Math.max(P, 0.1) * 1e3, t = window.setInterval(() => {
|
|
510
|
+
ze && We || K(1);
|
|
490
511
|
}, o);
|
|
491
512
|
return () => window.clearInterval(t);
|
|
492
|
-
}, [
|
|
493
|
-
const
|
|
494
|
-
const t =
|
|
513
|
+
}, [P, i, K, De, We, ze]);
|
|
514
|
+
const j = M((o) => {
|
|
515
|
+
const t = F.current;
|
|
495
516
|
if (!t || t.pointerId !== o.pointerId) return;
|
|
496
|
-
|
|
497
|
-
const c =
|
|
517
|
+
F.current = null, L.current = null;
|
|
518
|
+
const c = ae.current;
|
|
498
519
|
if (c != null && c.hasPointerCapture(o.pointerId) && c.releasePointerCapture(o.pointerId), !t.isActive) {
|
|
499
|
-
h &&
|
|
520
|
+
h && R(0);
|
|
500
521
|
return;
|
|
501
522
|
}
|
|
502
|
-
const
|
|
503
|
-
if (
|
|
504
|
-
|
|
523
|
+
const d = !(o.timeStamp - t.lastTime > Mo) && Math.abs(t.velocity) > go, f = t.size > 0 && Math.abs(t.offset - t.baseOffset) > t.size * Ao;
|
|
524
|
+
if ($e(!1), !d && !f) {
|
|
525
|
+
R(0);
|
|
505
526
|
return;
|
|
506
527
|
}
|
|
507
|
-
const
|
|
528
|
+
const g = f ? t.offset - t.baseOffset : t.velocity;
|
|
508
529
|
let b = 1;
|
|
509
|
-
f && t.size > 0 && (b = Math.max(1, Math.round(Math.abs(
|
|
510
|
-
}, [
|
|
511
|
-
|
|
530
|
+
f && t.size > 0 && (b = Math.max(1, Math.round(Math.abs(g) / t.size))), R(0), de(g < 0 ? b : -b);
|
|
531
|
+
}, [de, h]);
|
|
532
|
+
z(() => {
|
|
512
533
|
const o = (t) => {
|
|
513
|
-
|
|
534
|
+
L.current === null || t.pointerId !== L.current || j(t);
|
|
514
535
|
};
|
|
515
536
|
return window.addEventListener("pointerup", o), window.addEventListener("pointercancel", o), () => {
|
|
516
537
|
window.removeEventListener("pointerup", o), window.removeEventListener("pointercancel", o);
|
|
517
538
|
};
|
|
518
|
-
}, [
|
|
519
|
-
const
|
|
520
|
-
const t =
|
|
521
|
-
if (!
|
|
522
|
-
|
|
539
|
+
}, [j]);
|
|
540
|
+
const ho = (o) => {
|
|
541
|
+
const t = ae.current;
|
|
542
|
+
if (!me || i < 2 || !t || o.pointerType === "mouse" && o.button !== 0) return;
|
|
543
|
+
xe.current && D(!1);
|
|
523
544
|
let c = 0;
|
|
524
|
-
const p =
|
|
545
|
+
const p = ie.current;
|
|
525
546
|
if (h && p) {
|
|
526
|
-
const
|
|
527
|
-
if (
|
|
528
|
-
const f =
|
|
529
|
-
c = (b -
|
|
547
|
+
const d = Ze(p, l);
|
|
548
|
+
if (d > 0) {
|
|
549
|
+
const f = be(), g = A ? f - Se(f, i) : f, b = Math.round(g);
|
|
550
|
+
c = (b - g) * d, U.current = b, B(!0), ne(b), R(c);
|
|
530
551
|
}
|
|
531
552
|
}
|
|
532
|
-
t.setPointerCapture(o.pointerId),
|
|
553
|
+
t.setPointerCapture(o.pointerId), L.current = o.pointerId, F.current = {
|
|
533
554
|
pointerId: o.pointerId,
|
|
534
555
|
startClientX: o.clientX,
|
|
535
556
|
startClientY: o.clientY,
|
|
536
|
-
axes:
|
|
557
|
+
axes: _o(t, `${r}-axis-probe`),
|
|
537
558
|
size: l ? t.offsetWidth : t.offsetHeight,
|
|
538
559
|
isActive: !1,
|
|
539
560
|
baseOffset: c,
|
|
@@ -541,43 +562,43 @@ function Bo({ settings: e, content: n, isEditor: a, isPreviewMode: x, isEditMode
|
|
|
541
562
|
lastTime: o.timeStamp,
|
|
542
563
|
velocity: 0
|
|
543
564
|
};
|
|
544
|
-
},
|
|
545
|
-
const t =
|
|
565
|
+
}, vo = (o) => {
|
|
566
|
+
const t = F.current;
|
|
546
567
|
if (!t || t.pointerId !== o.pointerId) return;
|
|
547
568
|
if (o.pointerType === "mouse" && o.buttons === 0) {
|
|
548
|
-
|
|
569
|
+
j(o);
|
|
549
570
|
return;
|
|
550
571
|
}
|
|
551
|
-
const c = o.clientX - t.startClientX, p = o.clientY - t.startClientY,
|
|
572
|
+
const c = o.clientX - t.startClientX, p = o.clientY - t.startClientY, d = t.axes ? Oo(t.axes, c, p) : { x: c, y: p }, f = l ? d.x : d.y, g = l ? d.y : d.x, b = t.baseOffset + f;
|
|
552
573
|
if (!t.isActive) {
|
|
553
|
-
if (Math.max(Math.abs(f), Math.abs(
|
|
554
|
-
if (Math.abs(
|
|
555
|
-
const
|
|
556
|
-
|
|
574
|
+
if (Math.max(Math.abs(f), Math.abs(g)) < Co) return;
|
|
575
|
+
if (Math.abs(g) > Math.abs(f)) {
|
|
576
|
+
const ue = ae.current;
|
|
577
|
+
ue != null && ue.hasPointerCapture(t.pointerId) && ue.releasePointerCapture(t.pointerId), F.current = null, L.current = null, h && R(0);
|
|
557
578
|
return;
|
|
558
579
|
}
|
|
559
|
-
t.isActive = !0,
|
|
580
|
+
t.isActive = !0, $e(!0);
|
|
560
581
|
}
|
|
561
|
-
const
|
|
562
|
-
|
|
563
|
-
},
|
|
564
|
-
|
|
565
|
-
},
|
|
566
|
-
return /* @__PURE__ */
|
|
567
|
-
/* @__PURE__ */ s("style", { dangerouslySetInnerHTML: { __html:
|
|
568
|
-
/* @__PURE__ */
|
|
582
|
+
const Ve = o.timeStamp - t.lastTime;
|
|
583
|
+
Ve > 0 && (t.velocity = (b - t.offset) / Ve, t.lastTime = o.timeStamp), t.offset = b, h && R(b);
|
|
584
|
+
}, Ue = (o) => {
|
|
585
|
+
j(o);
|
|
586
|
+
}, $o = Te(Y, fo, l), yo = A ? Array.from({ length: Do }, () => I).flat() : I;
|
|
587
|
+
return /* @__PURE__ */ k(Ee, { children: [
|
|
588
|
+
/* @__PURE__ */ s("style", { dangerouslySetInnerHTML: { __html: Fo(r, S, n) } }),
|
|
589
|
+
/* @__PURE__ */ k(
|
|
569
590
|
"div",
|
|
570
591
|
{
|
|
571
592
|
className: w(`${r}-wrapper`, {
|
|
572
|
-
[`${r}-transition-fade`]:
|
|
573
|
-
[`${r}-transition-reveal`]:
|
|
574
|
-
[`${r}-transition-reveal-vertical`]:
|
|
593
|
+
[`${r}-transition-fade`]: fe === "fade in",
|
|
594
|
+
[`${r}-transition-reveal`]: oe,
|
|
595
|
+
[`${r}-transition-reveal-vertical`]: oe && !l
|
|
575
596
|
}),
|
|
576
|
-
"data-active-index":
|
|
577
|
-
onMouseEnter: () =>
|
|
578
|
-
onMouseLeave: () =>
|
|
597
|
+
"data-active-index": v,
|
|
598
|
+
onMouseEnter: () => Ge(!0),
|
|
599
|
+
onMouseLeave: () => Ge(!1),
|
|
579
600
|
children: [
|
|
580
|
-
/* @__PURE__ */
|
|
601
|
+
/* @__PURE__ */ k(
|
|
581
602
|
"div",
|
|
582
603
|
{
|
|
583
604
|
className: `${r}-slider-inner`,
|
|
@@ -585,103 +606,103 @@ function Bo({ settings: e, content: n, isEditor: a, isPreviewMode: x, isEditMode
|
|
|
585
606
|
backgroundColor: "transparent"
|
|
586
607
|
},
|
|
587
608
|
children: [
|
|
588
|
-
/* @__PURE__ */
|
|
609
|
+
/* @__PURE__ */ k(
|
|
589
610
|
"div",
|
|
590
611
|
{
|
|
591
|
-
ref:
|
|
612
|
+
ref: ae,
|
|
592
613
|
className: w(`${r}-track`, {
|
|
593
|
-
[`${r}-track-draggable`]:
|
|
594
|
-
[`${r}-track-draggable-vertical`]:
|
|
614
|
+
[`${r}-track-draggable`]: me,
|
|
615
|
+
[`${r}-track-draggable-vertical`]: me && !l
|
|
595
616
|
}),
|
|
596
|
-
style:
|
|
597
|
-
onPointerDown:
|
|
598
|
-
onPointerMove:
|
|
599
|
-
onPointerUp:
|
|
600
|
-
onPointerCancel:
|
|
617
|
+
style: ao,
|
|
618
|
+
onPointerDown: ho,
|
|
619
|
+
onPointerMove: vo,
|
|
620
|
+
onPointerUp: Ue,
|
|
621
|
+
onPointerCancel: Ue,
|
|
601
622
|
onLostPointerCapture: (o) => {
|
|
602
|
-
|
|
623
|
+
L.current === o.pointerId && j(o);
|
|
603
624
|
},
|
|
604
625
|
children: [
|
|
605
|
-
/* @__PURE__ */
|
|
626
|
+
/* @__PURE__ */ k(
|
|
606
627
|
"div",
|
|
607
628
|
{
|
|
608
|
-
ref:
|
|
629
|
+
ref: ie,
|
|
609
630
|
className: w(`${r}-list`, {
|
|
610
631
|
[`${r}-list-slide`]: h,
|
|
611
632
|
[`${r}-list-slide-vertical`]: h && !l,
|
|
612
633
|
[`${r}-list-fade`]: !h
|
|
613
634
|
}),
|
|
614
635
|
style: h ? {
|
|
615
|
-
transform:
|
|
616
|
-
transition:
|
|
636
|
+
transform: $o,
|
|
637
|
+
transition: uo || ve ? "none" : `transform ${S}ms ${ke}`
|
|
617
638
|
} : void 0,
|
|
618
639
|
children: [
|
|
619
|
-
|
|
620
|
-
const c =
|
|
621
|
-
return /* @__PURE__ */ s("div", { className: `${r}-slide`, children:
|
|
640
|
+
yo.map((o, t) => {
|
|
641
|
+
const c = Z(t, i), p = `slide-${Math.floor(t / i)}-${c}`;
|
|
642
|
+
return /* @__PURE__ */ s("div", { className: `${r}-slide`, children: Xe(o) }, p);
|
|
622
643
|
}),
|
|
623
|
-
|
|
644
|
+
_e && N.map((o, t) => /* @__PURE__ */ s(
|
|
624
645
|
"div",
|
|
625
646
|
{
|
|
626
|
-
className: w(`${r}-slide`, `${r}-is-layer`),
|
|
647
|
+
className: w(`${r}-slide`, `${r}-is-layer`, { [`${r}-is-animated`]: o.isAnimated }),
|
|
627
648
|
style: { zIndex: t + 1 },
|
|
628
|
-
onAnimationEnd: () =>
|
|
629
|
-
children:
|
|
649
|
+
onAnimationEnd: () => so(o.key),
|
|
650
|
+
children: Xe(I[o.index])
|
|
630
651
|
},
|
|
631
652
|
`layer-${o.key}`
|
|
632
653
|
))
|
|
633
654
|
]
|
|
634
655
|
}
|
|
635
656
|
),
|
|
636
|
-
|
|
657
|
+
io && /* @__PURE__ */ s(
|
|
637
658
|
"div",
|
|
638
659
|
{
|
|
639
660
|
className: `${r}-click-overlay`,
|
|
640
|
-
onClick: () =>
|
|
661
|
+
onClick: () => K(1)
|
|
641
662
|
}
|
|
642
663
|
)
|
|
643
664
|
]
|
|
644
665
|
}
|
|
645
666
|
),
|
|
646
|
-
|
|
667
|
+
lo && /* @__PURE__ */ k(Ee, { children: [
|
|
647
668
|
/* @__PURE__ */ s(
|
|
648
669
|
"div",
|
|
649
670
|
{
|
|
650
671
|
className: w(`${r}-arrow`, {
|
|
651
672
|
[`${r}-arrow-prev`]: l,
|
|
652
673
|
[`${r}-arrow-prev-vertical`]: !l,
|
|
653
|
-
[`${r}-hover-arrow`]:
|
|
674
|
+
[`${r}-hover-arrow`]: Oe
|
|
654
675
|
}),
|
|
655
676
|
style: {
|
|
656
|
-
color:
|
|
657
|
-
"--arrow-hover-color":
|
|
658
|
-
...
|
|
677
|
+
color: O,
|
|
678
|
+
"--arrow-hover-color": ee,
|
|
679
|
+
...te
|
|
659
680
|
},
|
|
660
|
-
children: /* @__PURE__ */
|
|
681
|
+
children: /* @__PURE__ */ k(
|
|
661
682
|
"button",
|
|
662
683
|
{
|
|
663
684
|
onClick: (o) => {
|
|
664
|
-
o.stopPropagation(),
|
|
685
|
+
o.stopPropagation(), K(-1);
|
|
665
686
|
},
|
|
666
687
|
className: `${r}-arrow-inner`,
|
|
667
688
|
style: {
|
|
668
|
-
transform: `translate(${
|
|
689
|
+
transform: `translate(${y(Me, n)}, ${y(Ne * (l ? 1 : -1), n)}) rotate(${l ? "0deg" : "90deg"})`
|
|
669
690
|
},
|
|
670
691
|
children: [
|
|
671
|
-
|
|
672
|
-
|
|
692
|
+
_ && /* @__PURE__ */ s(
|
|
693
|
+
Ke,
|
|
673
694
|
{
|
|
674
|
-
url:
|
|
675
|
-
fill:
|
|
676
|
-
hoverFill:
|
|
695
|
+
url: _,
|
|
696
|
+
fill: O,
|
|
697
|
+
hoverFill: ee,
|
|
677
698
|
className: w(`${r}-arrow-img`, `${r}-mirror`),
|
|
678
|
-
style:
|
|
699
|
+
style: te
|
|
679
700
|
}
|
|
680
701
|
),
|
|
681
|
-
!
|
|
682
|
-
|
|
702
|
+
!_ && /* @__PURE__ */ s(
|
|
703
|
+
Je,
|
|
683
704
|
{
|
|
684
|
-
color:
|
|
705
|
+
color: O,
|
|
685
706
|
className: w(`${r}-arrow-icon`, `${r}-arrow-img`, `${r}-mirror`)
|
|
686
707
|
}
|
|
687
708
|
)
|
|
@@ -696,91 +717,91 @@ function Bo({ settings: e, content: n, isEditor: a, isPreviewMode: x, isEditMode
|
|
|
696
717
|
className: w(`${r}-arrow`, {
|
|
697
718
|
[`${r}-arrow-next`]: l,
|
|
698
719
|
[`${r}-arrow-next-vertical`]: !l,
|
|
699
|
-
[`${r}-hover-arrow`]:
|
|
720
|
+
[`${r}-hover-arrow`]: Oe
|
|
700
721
|
}),
|
|
701
722
|
style: {
|
|
702
|
-
color:
|
|
703
|
-
"--arrow-hover-color":
|
|
704
|
-
...
|
|
723
|
+
color: O,
|
|
724
|
+
"--arrow-hover-color": ee,
|
|
725
|
+
...te
|
|
705
726
|
},
|
|
706
|
-
children: /* @__PURE__ */
|
|
727
|
+
children: /* @__PURE__ */ k(
|
|
707
728
|
"button",
|
|
708
729
|
{
|
|
709
730
|
className: `${r}-arrow-inner`,
|
|
710
731
|
onClick: (o) => {
|
|
711
|
-
o.stopPropagation(),
|
|
732
|
+
o.stopPropagation(), K(1);
|
|
712
733
|
},
|
|
713
734
|
style: {
|
|
714
|
-
transform: `translate(${
|
|
735
|
+
transform: `translate(${y(Me * (l ? -1 : 1), n)}, ${y(Ne, n)}) rotate(${l ? "0deg" : "90deg"})`
|
|
715
736
|
},
|
|
716
737
|
children: [
|
|
717
|
-
|
|
718
|
-
|
|
738
|
+
_ && /* @__PURE__ */ s(
|
|
739
|
+
Ke,
|
|
719
740
|
{
|
|
720
|
-
url:
|
|
721
|
-
fill:
|
|
722
|
-
hoverFill:
|
|
741
|
+
url: _,
|
|
742
|
+
fill: O,
|
|
743
|
+
hoverFill: ee,
|
|
723
744
|
className: `${r}-arrow-img`,
|
|
724
|
-
style:
|
|
745
|
+
style: te
|
|
725
746
|
}
|
|
726
747
|
),
|
|
727
|
-
!
|
|
748
|
+
!_ && /* @__PURE__ */ s(Je, { color: O, className: w(`${r}-arrow-icon`, `${r}-arrow-img`) })
|
|
728
749
|
]
|
|
729
750
|
}
|
|
730
751
|
)
|
|
731
752
|
}
|
|
732
753
|
)
|
|
733
754
|
] }),
|
|
734
|
-
|
|
755
|
+
co && /* @__PURE__ */ s(
|
|
735
756
|
"div",
|
|
736
757
|
{
|
|
737
758
|
className: w(`${r}-pagination`, {
|
|
738
759
|
[`${r}-pagination-inside-bottom`]: l,
|
|
739
760
|
[`${r}-pagination-inside-left`]: !l
|
|
740
761
|
}),
|
|
741
|
-
style: l ? { bottom: m(
|
|
762
|
+
style: l ? { bottom: m(u.inset) } : { left: m(u.inset) },
|
|
742
763
|
children: /* @__PURE__ */ s(
|
|
743
764
|
"div",
|
|
744
765
|
{
|
|
745
766
|
className: w(`${r}-pagination-inner`, {
|
|
746
767
|
[`${r}-pagination-vertical`]: !l,
|
|
747
|
-
[`${r}-animate-dots`]:
|
|
768
|
+
[`${r}-animate-dots`]: ye
|
|
748
769
|
}),
|
|
749
770
|
style: {
|
|
750
|
-
backgroundColor:
|
|
751
|
-
gap: m(
|
|
771
|
+
backgroundColor: ro,
|
|
772
|
+
gap: m(u.gapInactive - u.activeDot + u.dot),
|
|
752
773
|
...l ? {
|
|
753
|
-
height: m(
|
|
754
|
-
paddingTop: m(
|
|
755
|
-
paddingBottom: m(
|
|
756
|
-
paddingLeft: m(
|
|
757
|
-
paddingRight: m(
|
|
774
|
+
height: m(u.activeDot + u.paddingY * 2),
|
|
775
|
+
paddingTop: m(u.paddingY),
|
|
776
|
+
paddingBottom: m(u.paddingY),
|
|
777
|
+
paddingLeft: m(u.paddingActive),
|
|
778
|
+
paddingRight: m(u.paddingActive)
|
|
758
779
|
} : {
|
|
759
|
-
width: m(
|
|
760
|
-
paddingLeft: m(
|
|
761
|
-
paddingRight: m(
|
|
762
|
-
paddingTop: m(
|
|
763
|
-
paddingBottom: m(
|
|
780
|
+
width: m(u.activeDot + u.paddingY * 2),
|
|
781
|
+
paddingLeft: m(u.paddingY),
|
|
782
|
+
paddingRight: m(u.paddingY),
|
|
783
|
+
paddingTop: m(u.paddingActive),
|
|
784
|
+
paddingBottom: m(u.paddingActive)
|
|
764
785
|
},
|
|
765
|
-
borderRadius: m(
|
|
766
|
-
transform: `translate(${
|
|
786
|
+
borderRadius: m(u.borderRadius),
|
|
787
|
+
transform: `translate(${y(q.offset.x, n)}, ${y(q.offset.y, n)})`
|
|
767
788
|
},
|
|
768
789
|
children: I.map((o, t) => {
|
|
769
|
-
const c = t ===
|
|
790
|
+
const c = t === v, p = c ? u.activeDot : u.dot;
|
|
770
791
|
return /* @__PURE__ */ s(
|
|
771
792
|
"button",
|
|
772
793
|
{
|
|
773
|
-
onClick: () =>
|
|
794
|
+
onClick: () => mo(t),
|
|
774
795
|
className: `${r}-pagination-item`,
|
|
775
796
|
style: {
|
|
776
|
-
width: m(
|
|
797
|
+
width: m(u.activeDot)
|
|
777
798
|
},
|
|
778
799
|
children: /* @__PURE__ */ s(
|
|
779
800
|
"div",
|
|
780
801
|
{
|
|
781
802
|
className: `${r}-dot`,
|
|
782
803
|
style: {
|
|
783
|
-
backgroundColor: c ?
|
|
804
|
+
backgroundColor: c ? to : oo,
|
|
784
805
|
width: m(p)
|
|
785
806
|
}
|
|
786
807
|
}
|
|
@@ -790,21 +811,21 @@ function Bo({ settings: e, content: n, isEditor: a, isPreviewMode: x, isEditMode
|
|
|
790
811
|
);
|
|
791
812
|
})
|
|
792
813
|
},
|
|
793
|
-
`${
|
|
814
|
+
`${Ce}-${G}`
|
|
794
815
|
)
|
|
795
816
|
}
|
|
796
817
|
)
|
|
797
818
|
]
|
|
798
819
|
}
|
|
799
820
|
),
|
|
800
|
-
/* @__PURE__ */
|
|
821
|
+
/* @__PURE__ */ k("div", { className: `${r}-caption-block`, children: [
|
|
801
822
|
/* @__PURE__ */ s(
|
|
802
823
|
"div",
|
|
803
824
|
{
|
|
804
|
-
"data-controls":
|
|
805
|
-
className:
|
|
825
|
+
"data-controls": $ ? "captionMarginTop" : void 0,
|
|
826
|
+
className: $ ? `${r}-control` : void 0,
|
|
806
827
|
style: {
|
|
807
|
-
height:
|
|
828
|
+
height: y(no, n)
|
|
808
829
|
}
|
|
809
830
|
}
|
|
810
831
|
),
|
|
@@ -812,26 +833,26 @@ function Bo({ settings: e, content: n, isEditor: a, isPreviewMode: x, isEditMode
|
|
|
812
833
|
"div",
|
|
813
834
|
{
|
|
814
835
|
className: w(`${r}-caption-text`, {
|
|
815
|
-
[`${r}-with-pointer-events`]: t ===
|
|
816
|
-
[`${r}-active`]: t ===
|
|
836
|
+
[`${r}-with-pointer-events`]: t === v && n,
|
|
837
|
+
[`${r}-active`]: t === v
|
|
817
838
|
}),
|
|
818
839
|
style: {
|
|
819
|
-
...
|
|
840
|
+
...J,
|
|
820
841
|
width: "max-content",
|
|
821
|
-
transitionDuration: `${Math.round(
|
|
842
|
+
transitionDuration: `${Math.round(S / 2)}ms`
|
|
822
843
|
},
|
|
823
844
|
children: /* @__PURE__ */ s(
|
|
824
845
|
"div",
|
|
825
846
|
{
|
|
826
847
|
className: `${r}-caption-text-inner`,
|
|
827
848
|
style: {
|
|
828
|
-
"--link-color":
|
|
829
|
-
"--link-hover-color":
|
|
849
|
+
"--link-color": Re,
|
|
850
|
+
"--link-hover-color": Re,
|
|
830
851
|
position: "relative",
|
|
831
|
-
top:
|
|
832
|
-
left:
|
|
852
|
+
top: y(Ie.offset.y, n),
|
|
853
|
+
left: y(Ie.offset.x, n)
|
|
833
854
|
},
|
|
834
|
-
children: /* @__PURE__ */ s(
|
|
855
|
+
children: /* @__PURE__ */ s(wo, { content: o.imageCaption })
|
|
835
856
|
}
|
|
836
857
|
)
|
|
837
858
|
},
|
|
@@ -843,9 +864,9 @@ function Bo({ settings: e, content: n, isEditor: a, isPreviewMode: x, isEditMode
|
|
|
843
864
|
)
|
|
844
865
|
] });
|
|
845
866
|
}
|
|
846
|
-
function
|
|
847
|
-
return /* @__PURE__ */ s("svg", { viewBox: "0 0 10 18", className:
|
|
867
|
+
function Je({ color: e, className: a }) {
|
|
868
|
+
return /* @__PURE__ */ s("svg", { viewBox: "0 0 10 18", className: a, children: /* @__PURE__ */ s("g", { id: "Symbols", stroke: "none", strokeWidth: "1", fillRule: "evenodd", children: /* @__PURE__ */ s("path", { 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", id: "Shape-Copy", fill: e, transform: "translate(5, 9) rotate(-90) translate(-5, -9)" }) }) });
|
|
848
869
|
}
|
|
849
870
|
export {
|
|
850
|
-
|
|
871
|
+
Ko as Slider20
|
|
851
872
|
};
|