@cntrl-site/components 1.0.7-alpha.8 → 1.0.7-alpha.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/index.js +34 -31
  2. package/dist/index.mjs +672 -669
  3. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
- import { jsx as h, Fragment as ne, jsxs as dt } from "react/jsx-runtime";
2
- import ue, { useState as pt, useEffect as $t, useRef as Ct, useCallback as ve, useMemo as Ot, useLayoutEffect as Mn } from "react";
1
+ import { jsx as h, Fragment as re, jsxs as dt } from "react/jsx-runtime";
2
+ import ge, { useState as ct, useEffect as $t, useRef as Ct, useCallback as Se, useMemo as Bt, useLayoutEffect as Mn } from "react";
3
3
  import ut from "classnames";
4
- import { s as F, u as Ho, b as No, g as pn } from "./useScopedStyles-BSwFAT27.mjs";
4
+ import { s as F, u as Ho, b as No, g as un } from "./useScopedStyles-BSwFAT27.mjs";
5
5
  import { createPortal as Er } from "react-dom";
6
6
  function Bs(t) {
7
7
  return t.type === "object" && t.version === 1;
@@ -60,36 +60,36 @@ function Si(t, e) {
60
60
  function xi(t, e, n) {
61
61
  return e && Si(t.prototype, e), Object.defineProperty(t, "prototype", { writable: !1 }), t;
62
62
  }
63
- var fo = "(prefers-reduced-motion: reduce)", xe = 1, Ci = 2, _e = 3, Ie = 4, je = 5, an = 6, un = 7, wi = {
64
- CREATED: xe,
63
+ var fo = "(prefers-reduced-motion: reduce)", we = 1, Ci = 2, Ae = 3, Ee = 4, Ue = 5, ln = 6, dn = 7, wi = {
64
+ CREATED: we,
65
65
  MOUNTED: Ci,
66
- IDLE: _e,
67
- MOVING: Ie,
68
- SCROLLING: je,
69
- DRAGGING: an,
70
- DESTROYED: un
66
+ IDLE: Ae,
67
+ MOVING: Ee,
68
+ SCROLLING: Ue,
69
+ DRAGGING: ln,
70
+ DESTROYED: dn
71
71
  };
72
- function Zt(t) {
72
+ function te(t) {
73
73
  t.length = 0;
74
74
  }
75
- function ae(t, e, n) {
75
+ function se(t, e, n) {
76
76
  return Array.prototype.slice.call(t, e, n);
77
77
  }
78
- function ht(t) {
79
- return t.bind.apply(t, [null].concat(ae(arguments, 1)));
78
+ function yt(t) {
79
+ return t.bind.apply(t, [null].concat(se(arguments, 1)));
80
80
  }
81
81
  var Oo = setTimeout, Pn = function() {
82
82
  };
83
83
  function yo(t) {
84
84
  return requestAnimationFrame(t);
85
85
  }
86
- function yn(t, e) {
86
+ function hn(t, e) {
87
87
  return typeof e === t;
88
88
  }
89
- function Pe(t) {
90
- return !Gn(t) && yn("object", t);
89
+ function ze(t) {
90
+ return !Gn(t) && hn("object", t);
91
91
  }
92
- var Un = Array.isArray, Bo = ht(yn, "function"), re = ht(yn, "string"), Ue = ht(yn, "undefined");
92
+ var Un = Array.isArray, Bo = yt(hn, "function"), ae = yt(hn, "string"), Ge = yt(hn, "undefined");
93
93
  function Gn(t) {
94
94
  return t === null;
95
95
  }
@@ -100,27 +100,27 @@ function Vo(t) {
100
100
  return !1;
101
101
  }
102
102
  }
103
- function Ge(t) {
103
+ function qe(t) {
104
104
  return Un(t) ? t : [t];
105
105
  }
106
106
  function Wt(t, e) {
107
- Ge(t).forEach(e);
107
+ qe(t).forEach(e);
108
108
  }
109
109
  function qn(t, e) {
110
110
  return t.indexOf(e) > -1;
111
111
  }
112
- function ln(t, e) {
113
- return t.push.apply(t, Ge(e)), t;
112
+ function sn(t, e) {
113
+ return t.push.apply(t, qe(e)), t;
114
114
  }
115
- function Xt(t, e, n) {
115
+ function Jt(t, e, n) {
116
116
  t && Wt(e, function(o) {
117
117
  o && t.classList[n ? "add" : "remove"](o);
118
118
  });
119
119
  }
120
- function Bt(t, e) {
121
- Xt(t, re(e) ? e.split(" ") : e, !0);
120
+ function Vt(t, e) {
121
+ Jt(t, ae(e) ? e.split(" ") : e, !0);
122
122
  }
123
- function qe(t, e) {
123
+ function Ye(t, e) {
124
124
  Wt(e, t.appendChild.bind(t));
125
125
  }
126
126
  function Yn(t, e) {
@@ -129,44 +129,44 @@ function Yn(t, e) {
129
129
  o && o.insertBefore(n, e);
130
130
  });
131
131
  }
132
- function ze(t, e) {
132
+ function He(t, e) {
133
133
  return Vo(t) && (t.msMatchesSelector || t.matches).call(t, e);
134
134
  }
135
135
  function Do(t, e) {
136
- var n = t ? ae(t.children) : [];
136
+ var n = t ? se(t.children) : [];
137
137
  return e ? n.filter(function(o) {
138
- return ze(o, e);
138
+ return He(o, e);
139
139
  }) : n;
140
140
  }
141
- function Ye(t, e) {
141
+ function Xe(t, e) {
142
142
  return e ? Do(t, e)[0] : t.firstElementChild;
143
143
  }
144
- var He = Object.keys;
145
- function de(t, e, n) {
146
- return t && (n ? He(t).reverse() : He(t)).forEach(function(o) {
144
+ var Ne = Object.keys;
145
+ function me(t, e, n) {
146
+ return t && (n ? Ne(t).reverse() : Ne(t)).forEach(function(o) {
147
147
  o !== "__proto__" && e(t[o], o);
148
148
  }), t;
149
149
  }
150
- function Ne(t) {
151
- return ae(arguments, 1).forEach(function(e) {
152
- de(e, function(n, o) {
150
+ function Oe(t) {
151
+ return se(arguments, 1).forEach(function(e) {
152
+ me(e, function(n, o) {
153
153
  t[o] = e[o];
154
154
  });
155
155
  }), t;
156
156
  }
157
- function te(t) {
158
- return ae(arguments, 1).forEach(function(e) {
159
- de(e, function(n, o) {
160
- Un(n) ? t[o] = n.slice() : Pe(n) ? t[o] = te({}, Pe(t[o]) ? t[o] : {}, n) : t[o] = n;
157
+ function ne(t) {
158
+ return se(arguments, 1).forEach(function(e) {
159
+ me(e, function(n, o) {
160
+ Un(n) ? t[o] = n.slice() : ze(n) ? t[o] = ne({}, ze(t[o]) ? t[o] : {}, n) : t[o] = n;
161
161
  });
162
162
  }), t;
163
163
  }
164
164
  function ho(t, e) {
165
- Wt(e || He(t), function(n) {
165
+ Wt(e || Ne(t), function(n) {
166
166
  delete t[n];
167
167
  });
168
168
  }
169
- function Vt(t, e) {
169
+ function Dt(t, e) {
170
170
  Wt(t, function(n) {
171
171
  Wt(e, function(o) {
172
172
  n && n.removeAttribute(o);
@@ -174,30 +174,30 @@ function Vt(t, e) {
174
174
  });
175
175
  }
176
176
  function ot(t, e, n) {
177
- Pe(e) ? de(e, function(o, r) {
177
+ ze(e) ? me(e, function(o, r) {
178
178
  ot(t, r, o);
179
179
  }) : Wt(t, function(o) {
180
- Gn(n) || n === "" ? Vt(o, e) : o.setAttribute(e, String(n));
180
+ Gn(n) || n === "" ? Dt(o, e) : o.setAttribute(e, String(n));
181
181
  });
182
182
  }
183
- function Ce(t, e, n) {
183
+ function Te(t, e, n) {
184
184
  var o = document.createElement(t);
185
- return e && (re(e) ? Bt(o, e) : ot(o, e)), n && qe(n, o), o;
185
+ return e && (ae(e) ? Vt(o, e) : ot(o, e)), n && Ye(n, o), o;
186
186
  }
187
- function Pt(t, e, n) {
188
- if (Ue(n))
187
+ function zt(t, e, n) {
188
+ if (Ge(n))
189
189
  return getComputedStyle(t)[e];
190
190
  Gn(n) || (t.style[e] = "" + n);
191
191
  }
192
- function Oe(t, e) {
193
- Pt(t, "display", e);
192
+ function Be(t, e) {
193
+ zt(t, "display", e);
194
194
  }
195
195
  function jo(t) {
196
196
  t.setActive && t.setActive() || t.focus({
197
197
  preventScroll: !0
198
198
  });
199
199
  }
200
- function zt(t, e) {
200
+ function Ht(t, e) {
201
201
  return t.getAttribute(e);
202
202
  }
203
203
  function vo(t, e) {
@@ -206,48 +206,48 @@ function vo(t, e) {
206
206
  function kt(t) {
207
207
  return t.getBoundingClientRect();
208
208
  }
209
- function ge(t) {
209
+ function fe(t) {
210
210
  Wt(t, function(e) {
211
211
  e && e.parentNode && e.parentNode.removeChild(e);
212
212
  });
213
213
  }
214
214
  function Uo(t) {
215
- return Ye(new DOMParser().parseFromString(t, "text/html").body);
215
+ return Xe(new DOMParser().parseFromString(t, "text/html").body);
216
216
  }
217
- function Yt(t, e) {
217
+ function Kt(t, e) {
218
218
  t.preventDefault(), e && (t.stopPropagation(), t.stopImmediatePropagation());
219
219
  }
220
220
  function Go(t, e) {
221
221
  return t && t.querySelector(e);
222
222
  }
223
223
  function Xn(t, e) {
224
- return e ? ae(t.querySelectorAll(e)) : [];
224
+ return e ? se(t.querySelectorAll(e)) : [];
225
225
  }
226
- function Kt(t, e) {
227
- Xt(t, e, !1);
226
+ function Zt(t, e) {
227
+ Jt(t, e, !1);
228
228
  }
229
229
  function zn(t) {
230
230
  return t.timeStamp;
231
231
  }
232
- function pe(t) {
233
- return re(t) ? t : t ? t + "px" : "";
232
+ function de(t) {
233
+ return ae(t) ? t : t ? t + "px" : "";
234
234
  }
235
- var Xe = "splide", Kn = "data-" + Xe;
236
- function We(t, e) {
235
+ var Ke = "splide", Kn = "data-" + Ke;
236
+ function Me(t, e) {
237
237
  if (!t)
238
- throw new Error("[" + Xe + "] " + (e || ""));
238
+ throw new Error("[" + Ke + "] " + (e || ""));
239
239
  }
240
- var ie = Math.min, dn = Math.max, gn = Math.floor, Be = Math.ceil, Et = Math.abs;
240
+ var le = Math.min, gn = Math.max, mn = Math.floor, Ve = Math.ceil, Ft = Math.abs;
241
241
  function qo(t, e, n) {
242
- return Et(t - e) < n;
242
+ return Ft(t - e) < n;
243
243
  }
244
- function sn(t, e, n, o) {
245
- var r = ie(e, n), l = dn(e, n);
244
+ function cn(t, e, n, o) {
245
+ var r = le(e, n), l = gn(e, n);
246
246
  return o ? r < t && t < l : r <= t && t <= l;
247
247
  }
248
- function be(t, e, n) {
249
- var o = ie(e, n), r = dn(e, n);
250
- return ie(dn(o, t), r);
248
+ function xe(t, e, n) {
249
+ var o = le(e, n), r = gn(e, n);
250
+ return le(gn(o, t), r);
251
251
  }
252
252
  function Hn(t) {
253
253
  return +(t > 0) - +(t < 0);
@@ -299,7 +299,7 @@ function Yo() {
299
299
  function l() {
300
300
  t.forEach(function(i) {
301
301
  i[4]();
302
- }), Zt(t);
302
+ }), te(t);
303
303
  }
304
304
  return {
305
305
  bind: e,
@@ -308,29 +308,29 @@ function Yo() {
308
308
  destroy: l
309
309
  };
310
310
  }
311
- var le = "mounted", On = "ready", Qt = "move", Le = "moved", Zn = "click", Xo = "active", Ko = "inactive", Jo = "visible", Zo = "hidden", Tt = "refresh", Lt = "updated", $e = "resize", hn = "resized", Qo = "drag", tr = "dragging", er = "dragged", vn = "scroll", fe = "scrolled", _i = "overflow", Qn = "destroy", nr = "arrows:mounted", or = "arrows:updated", rr = "pagination:mounted", ir = "pagination:updated", to = "navigation:mounted", eo = "autoplay:play", ar = "autoplay:playing", no = "autoplay:pause", oo = "lazyload:loaded", lr = "sk", sr = "sh", mn = "ei";
311
+ var ce = "mounted", On = "ready", ee = "move", Fe = "moved", Zn = "click", Xo = "active", Ko = "inactive", Jo = "visible", Zo = "hidden", Tt = "refresh", Lt = "updated", Ie = "resize", vn = "resized", Qo = "drag", tr = "dragging", er = "dragged", bn = "scroll", he = "scrolled", _i = "overflow", Qn = "destroy", nr = "arrows:mounted", or = "arrows:updated", rr = "pagination:mounted", ir = "pagination:updated", to = "navigation:mounted", eo = "autoplay:play", ar = "autoplay:playing", no = "autoplay:pause", oo = "lazyload:loaded", lr = "sk", sr = "sh", fn = "ei";
312
312
  function bt(t) {
313
313
  var e = t ? t.event.bus : document.createDocumentFragment(), n = Yo();
314
314
  function o(l, i) {
315
- n.bind(e, Ge(l).join(" "), function(s) {
315
+ n.bind(e, qe(l).join(" "), function(s) {
316
316
  i.apply(i, Un(s.detail) ? s.detail : []);
317
317
  });
318
318
  }
319
319
  function r(l) {
320
- n.dispatch(e, l, ae(arguments, 1));
320
+ n.dispatch(e, l, se(arguments, 1));
321
321
  }
322
- return t && t.event.on(Qn, n.destroy), Ne(n, {
322
+ return t && t.event.on(Qn, n.destroy), Oe(n, {
323
323
  bus: e,
324
324
  on: o,
325
- off: ht(n.unbind, e),
325
+ off: yt(n.unbind, e),
326
326
  emit: r
327
327
  });
328
328
  }
329
- function bn(t, e, n, o) {
329
+ function Sn(t, e, n, o) {
330
330
  var r = Date.now, l, i = 0, s, c = !0, d = 0;
331
331
  function p() {
332
332
  if (!c) {
333
- if (i = t ? ie((r() - l) / t, 1) : 1, n && n(i), i >= 1 && (e(), l = r(), o && ++d >= o))
333
+ if (i = t ? le((r() - l) / t, 1) : 1, n && n(i), i >= 1 && (e(), l = r(), o && ++d >= o))
334
334
  return x();
335
335
  s = yo(p);
336
336
  }
@@ -368,7 +368,7 @@ function $i(t) {
368
368
  e = r;
369
369
  }
370
370
  function o(r) {
371
- return qn(Ge(r), e);
371
+ return qn(qe(r), e);
372
372
  }
373
373
  return {
374
374
  set: n,
@@ -376,7 +376,7 @@ function $i(t) {
376
376
  };
377
377
  }
378
378
  function Ai(t, e) {
379
- var n = bn(0, t, null, 1);
379
+ var n = Sn(0, t, null, 1);
380
380
  return function() {
381
381
  n.isPaused() && n.start();
382
382
  };
@@ -385,7 +385,7 @@ function Ii(t, e, n) {
385
385
  var o = t.state, r = n.breakpoints || {}, l = n.reducedMotion || {}, i = Yo(), s = [];
386
386
  function c() {
387
387
  var u = n.mediaQuery === "min";
388
- He(r).sort(function(g, w) {
388
+ Ne(r).sort(function(g, w) {
389
389
  return u ? +g - +w : +w - +g;
390
390
  }).forEach(function(g) {
391
391
  p(r[g], "(" + (u ? "min" : "max") + "-width:" + g + "px)");
@@ -399,16 +399,16 @@ function Ii(t, e, n) {
399
399
  i.bind(w, "change", L), s.push([u, w]);
400
400
  }
401
401
  function L() {
402
- var u = o.is(un), g = n.direction, w = s.reduce(function(v, b) {
403
- return te(v, b[1].matches ? b[0] : {});
402
+ var u = o.is(dn), g = n.direction, w = s.reduce(function(v, b) {
403
+ return ne(v, b[1].matches ? b[0] : {});
404
404
  }, {});
405
405
  ho(n), f(w), n.destroy ? t.destroy(n.destroy === "completely") : u ? (d(!0), t.mount()) : g !== n.direction && t.refresh();
406
406
  }
407
407
  function x(u) {
408
- matchMedia(fo).matches && (u ? te(n, l) : ho(n, He(l)));
408
+ matchMedia(fo).matches && (u ? ne(n, l) : ho(n, Ne(l)));
409
409
  }
410
410
  function f(u, g, w) {
411
- te(n, u), g && te(Object.getPrototypeOf(n), u), (w || !o.is(xe)) && t.emit(Lt, n);
411
+ ne(n, u), g && ne(Object.getPrototypeOf(n), u), (w || !o.is(we)) && t.emit(Lt, n);
412
412
  }
413
413
  return {
414
414
  setup: c,
@@ -417,20 +417,20 @@ function Ii(t, e, n) {
417
417
  set: f
418
418
  };
419
419
  }
420
- var Sn = "Arrow", xn = Sn + "Left", Cn = Sn + "Right", cr = Sn + "Up", pr = Sn + "Down", So = "rtl", wn = "ttb", Ln = {
420
+ var xn = "Arrow", Cn = xn + "Left", wn = xn + "Right", cr = xn + "Up", pr = xn + "Down", So = "rtl", Tn = "ttb", Ln = {
421
421
  width: ["height"],
422
422
  left: ["top", "right"],
423
423
  right: ["bottom", "left"],
424
424
  x: ["y"],
425
425
  X: ["Y"],
426
426
  Y: ["X"],
427
- ArrowLeft: [cr, Cn],
428
- ArrowRight: [pr, xn]
427
+ ArrowLeft: [cr, wn],
428
+ ArrowRight: [pr, Cn]
429
429
  };
430
430
  function Li(t, e, n) {
431
431
  function o(l, i, s) {
432
432
  s = s || n.direction;
433
- var c = s === So && !i ? 1 : s === wn ? 0 : -1;
433
+ var c = s === So && !i ? 1 : s === Tn ? 0 : -1;
434
434
  return Ln[l] && Ln[l][c] || l.replace(/width|left|right/i, function(d, p) {
435
435
  var L = Ln[d.toLowerCase()][c] || d;
436
436
  return p > 0 ? L.charAt(0).toUpperCase() + L.slice(1) : L;
@@ -444,21 +444,21 @@ function Li(t, e, n) {
444
444
  orient: r
445
445
  };
446
446
  }
447
- var Jt = "role", we = "tabindex", Ei = "disabled", Ht = "aria-", Ke = Ht + "controls", ur = Ht + "current", xo = Ht + "selected", Rt = Ht + "label", ro = Ht + "labelledby", dr = Ht + "hidden", io = Ht + "orientation", Ve = Ht + "roledescription", Co = Ht + "live", wo = Ht + "busy", To = Ht + "atomic", ao = [Jt, we, Ei, Ke, ur, Rt, ro, dr, io, Ve], Dt = Xe + "__", se = "is-", En = Xe, _o = Dt + "track", Fi = Dt + "list", Tn = Dt + "slide", gr = Tn + "--clone", ki = Tn + "__container", lo = Dt + "arrows", _n = Dt + "arrow", mr = _n + "--prev", fr = _n + "--next", $n = Dt + "pagination", yr = $n + "__page", Ri = Dt + "progress", Wi = Ri + "__bar", Mi = Dt + "toggle", Pi = Dt + "spinner", zi = Dt + "sr", Hi = se + "initialized", me = se + "active", hr = se + "prev", vr = se + "next", Bn = se + "visible", Vn = se + "loading", br = se + "focus-in", Sr = se + "overflow", Ni = [me, Bn, hr, vr, Vn, br, Sr], Oi = {
448
- slide: Tn,
447
+ var Qt = "role", _e = "tabindex", Ei = "disabled", Nt = "aria-", Je = Nt + "controls", ur = Nt + "current", xo = Nt + "selected", Rt = Nt + "label", ro = Nt + "labelledby", dr = Nt + "hidden", io = Nt + "orientation", De = Nt + "roledescription", Co = Nt + "live", wo = Nt + "busy", To = Nt + "atomic", ao = [Qt, _e, Ei, Je, ur, Rt, ro, dr, io, De], jt = Ke + "__", pe = "is-", En = Ke, _o = jt + "track", Fi = jt + "list", _n = jt + "slide", gr = _n + "--clone", ki = _n + "__container", lo = jt + "arrows", $n = jt + "arrow", mr = $n + "--prev", fr = $n + "--next", An = jt + "pagination", yr = An + "__page", Ri = jt + "progress", Wi = Ri + "__bar", Mi = jt + "toggle", Pi = jt + "spinner", zi = jt + "sr", Hi = pe + "initialized", ye = pe + "active", hr = pe + "prev", vr = pe + "next", Bn = pe + "visible", Vn = pe + "loading", br = pe + "focus-in", Sr = pe + "overflow", Ni = [ye, Bn, hr, vr, Vn, br, Sr], Oi = {
448
+ slide: _n,
449
449
  clone: gr,
450
450
  arrows: lo,
451
- arrow: _n,
451
+ arrow: $n,
452
452
  prev: mr,
453
453
  next: fr,
454
- pagination: $n,
454
+ pagination: An,
455
455
  page: yr,
456
456
  spinner: Pi
457
457
  };
458
458
  function Bi(t, e) {
459
459
  if (Bo(t.closest))
460
460
  return t.closest(e);
461
- for (var n = t; n && n.nodeType === 1 && !ze(n, e); )
461
+ for (var n = t; n && n.nodeType === 1 && !He(n, e); )
462
462
  n = n.parentElement;
463
463
  return n;
464
464
  }
@@ -474,27 +474,27 @@ function Di(t, e, n) {
474
474
  }, {
475
475
  capture: !0
476
476
  }), l(i, "focusin", function() {
477
- Xt(i, br, !!u);
477
+ Jt(i, br, !!u);
478
478
  });
479
479
  }
480
480
  function v(S) {
481
481
  var k = ao.concat("style");
482
- Zt(d), Kt(i, p), Kt(x, L), Vt([x, f], k), Vt(i, S ? k : ["style", Ve]);
482
+ te(d), Zt(i, p), Zt(x, L), Dt([x, f], k), Dt(i, S ? k : ["style", De]);
483
483
  }
484
484
  function b() {
485
- Kt(i, p), Kt(x, L), p = T(En), L = T(_o), Bt(i, p), Bt(x, L), ot(i, Rt, n.label), ot(i, ro, n.labelledby);
485
+ Zt(i, p), Zt(x, L), p = T(En), L = T(_o), Vt(i, p), Vt(x, L), ot(i, Rt, n.label), ot(i, ro, n.labelledby);
486
486
  }
487
487
  function I() {
488
- x = N("." + _o), f = Ye(x, "." + Fi), We(x && f, "A track/list element is missing."), ln(d, Do(f, "." + Tn + ":not(." + gr + ")")), de({
488
+ x = N("." + _o), f = Xe(x, "." + Fi), Me(x && f, "A track/list element is missing."), sn(d, Do(f, "." + _n + ":not(." + gr + ")")), me({
489
489
  arrows: lo,
490
- pagination: $n,
490
+ pagination: An,
491
491
  prev: mr,
492
492
  next: fr,
493
493
  bar: Wi,
494
494
  toggle: Mi
495
495
  }, function(S, k) {
496
496
  c[k] = N("." + S);
497
- }), Ne(c, {
497
+ }), Oe(c, {
498
498
  root: i,
499
499
  track: x,
500
500
  list: f,
@@ -502,40 +502,40 @@ function Di(t, e, n) {
502
502
  });
503
503
  }
504
504
  function G() {
505
- var S = i.id || Ti(Xe), k = n.role;
506
- i.id = S, x.id = x.id || S + "-track", f.id = f.id || S + "-list", !zt(i, Jt) && i.tagName !== "SECTION" && k && ot(i, Jt, k), ot(i, Ve, s.carousel), ot(f, Jt, "presentation");
505
+ var S = i.id || Ti(Ke), k = n.role;
506
+ i.id = S, x.id = x.id || S + "-track", f.id = f.id || S + "-list", !Ht(i, Qt) && i.tagName !== "SECTION" && k && ot(i, Qt, k), ot(i, De, s.carousel), ot(f, Qt, "presentation");
507
507
  }
508
508
  function N(S) {
509
509
  var k = Go(i, S);
510
510
  return k && Bi(k, "." + En) === i ? k : void 0;
511
511
  }
512
512
  function T(S) {
513
- return [S + "--" + n.type, S + "--" + n.direction, n.drag && S + "--draggable", n.isNavigation && S + "--nav", S === En && me];
513
+ return [S + "--" + n.type, S + "--" + n.direction, n.drag && S + "--draggable", n.isNavigation && S + "--nav", S === En && ye];
514
514
  }
515
- return Ne(c, {
515
+ return Oe(c, {
516
516
  setup: g,
517
517
  mount: w,
518
518
  destroy: v
519
519
  });
520
520
  }
521
- var Ae = "slide", Ee = "loop", Je = "fade";
521
+ var Le = "slide", ke = "loop", Ze = "fade";
522
522
  function ji(t, e, n, o) {
523
- var r = bt(t), l = r.on, i = r.emit, s = r.bind, c = t.Components, d = t.root, p = t.options, L = p.isNavigation, x = p.updateOnMove, f = p.i18n, u = p.pagination, g = p.slideFocus, w = c.Direction.resolve, v = zt(o, "style"), b = zt(o, Rt), I = n > -1, G = Ye(o, "." + ki), N;
523
+ var r = bt(t), l = r.on, i = r.emit, s = r.bind, c = t.Components, d = t.root, p = t.options, L = p.isNavigation, x = p.updateOnMove, f = p.i18n, u = p.pagination, g = p.slideFocus, w = c.Direction.resolve, v = Ht(o, "style"), b = Ht(o, Rt), I = n > -1, G = Xe(o, "." + ki), N;
524
524
  function T() {
525
- I || (o.id = d.id + "-slide" + Jn(e + 1), ot(o, Jt, u ? "tabpanel" : "group"), ot(o, Ve, f.slide), ot(o, Rt, b || Nn(f.slideLabel, [e + 1, t.length]))), S();
525
+ I || (o.id = d.id + "-slide" + Jn(e + 1), ot(o, Qt, u ? "tabpanel" : "group"), ot(o, De, f.slide), ot(o, Rt, b || Nn(f.slideLabel, [e + 1, t.length]))), S();
526
526
  }
527
527
  function S() {
528
- s(o, "click", ht(i, Zn, A)), s(o, "keydown", ht(i, lr, A)), l([Le, sr, fe], W), l(to, C), x && l(Qt, O);
528
+ s(o, "click", yt(i, Zn, A)), s(o, "keydown", yt(i, lr, A)), l([Fe, sr, he], W), l(to, C), x && l(ee, O);
529
529
  }
530
530
  function k() {
531
- N = !0, r.destroy(), Kt(o, Ni), Vt(o, ao), ot(o, "style", v), ot(o, Rt, b || "");
531
+ N = !0, r.destroy(), Zt(o, Ni), Dt(o, ao), ot(o, "style", v), ot(o, Rt, b || "");
532
532
  }
533
533
  function C() {
534
534
  var $ = t.splides.map(function(_) {
535
535
  var E = _.splide.Components.Slides.getAt(e);
536
536
  return E ? E.slide.id : "";
537
537
  }).join(" ");
538
- ot(o, Rt, Nn(f.slideX, (I ? n : e) + 1)), ot(o, Ke, $), ot(o, Jt, g ? "button" : ""), g && Vt(o, Ve);
538
+ ot(o, Rt, Nn(f.slideX, (I ? n : e) + 1)), ot(o, Je, $), ot(o, Qt, g ? "button" : ""), g && Dt(o, De);
539
539
  }
540
540
  function O() {
541
541
  N || W();
@@ -543,36 +543,36 @@ function ji(t, e, n, o) {
543
543
  function W() {
544
544
  if (!N) {
545
545
  var $ = t.index;
546
- H(), z(), Xt(o, hr, e === $ - 1), Xt(o, vr, e === $ + 1);
546
+ H(), z(), Jt(o, hr, e === $ - 1), Jt(o, vr, e === $ + 1);
547
547
  }
548
548
  }
549
549
  function H() {
550
550
  var $ = D();
551
- $ !== vo(o, me) && (Xt(o, me, $), ot(o, ur, L && $ || ""), i($ ? Xo : Ko, A));
551
+ $ !== vo(o, ye) && (Jt(o, ye, $), ot(o, ur, L && $ || ""), i($ ? Xo : Ko, A));
552
552
  }
553
553
  function z() {
554
554
  var $ = m(), _ = !$ && (!D() || I);
555
- if (t.state.is([Ie, je]) || ot(o, dr, _ || ""), ot(Xn(o, p.focusableNodes || ""), we, _ ? -1 : ""), g && ot(o, we, _ ? -1 : 0), $ !== vo(o, Bn) && (Xt(o, Bn, $), i($ ? Jo : Zo, A)), !$ && document.activeElement === o) {
555
+ if (t.state.is([Ee, Ue]) || ot(o, dr, _ || ""), ot(Xn(o, p.focusableNodes || ""), _e, _ ? -1 : ""), g && ot(o, _e, _ ? -1 : 0), $ !== vo(o, Bn) && (Jt(o, Bn, $), i($ ? Jo : Zo, A)), !$ && document.activeElement === o) {
556
556
  var E = c.Slides.getAt(t.index);
557
557
  E && jo(E.slide);
558
558
  }
559
559
  }
560
560
  function q($, _, E) {
561
- Pt(E && G || o, $, _);
561
+ zt(E && G || o, $, _);
562
562
  }
563
563
  function D() {
564
564
  var $ = t.index;
565
565
  return $ === e || p.cloneStatus && $ === n;
566
566
  }
567
567
  function m() {
568
- if (t.is(Je))
568
+ if (t.is(Ze))
569
569
  return D();
570
570
  var $ = kt(c.Elements.track), _ = kt(o), E = w("left", !0), K = w("right", !0);
571
- return gn($[E]) <= Be(_[E]) && gn(_[K]) <= Be($[K]);
571
+ return mn($[E]) <= Ve(_[E]) && mn(_[K]) <= Ve($[K]);
572
572
  }
573
573
  function R($, _) {
574
- var E = Et($ - e);
575
- return !I && (p.rewind || t.is(Ee)) && (E = ie(E, t.length - E)), E <= _;
574
+ var E = Ft($ - e);
575
+ return !I && (p.rewind || t.is(ke)) && (E = le(E, t.length - E)), E <= _;
576
576
  }
577
577
  var A = {
578
578
  index: e,
@@ -601,7 +601,7 @@ function Ui(t, e, n) {
601
601
  function f() {
602
602
  N(function(W) {
603
603
  W.destroy();
604
- }), Zt(p);
604
+ }), te(p);
605
605
  }
606
606
  function u() {
607
607
  N(function(W) {
@@ -622,7 +622,7 @@ function Ui(t, e, n) {
622
622
  function v(W) {
623
623
  var H = e.Controller, z = H.toIndex(W), q = H.hasFocus() ? 1 : n.perPage;
624
624
  return T(function(D) {
625
- return sn(D.index, z, z + q - 1);
625
+ return cn(D.index, z, z + q - 1);
626
626
  });
627
627
  }
628
628
  function b(W) {
@@ -630,14 +630,14 @@ function Ui(t, e, n) {
630
630
  }
631
631
  function I(W, H) {
632
632
  Wt(W, function(z) {
633
- if (re(z) && (z = Uo(z)), Vo(z)) {
633
+ if (ae(z) && (z = Uo(z)), Vo(z)) {
634
634
  var q = c[H];
635
- q ? Yn(z, q) : qe(d, z), Bt(z, n.classes.slide), k(z, ht(l, $e));
635
+ q ? Yn(z, q) : Ye(d, z), Vt(z, n.classes.slide), k(z, yt(l, Ie));
636
636
  }
637
637
  }), l(Tt);
638
638
  }
639
639
  function G(W) {
640
- ge(T(W).map(function(H) {
640
+ fe(T(W).map(function(H) {
641
641
  return H.slide;
642
642
  })), l(Tt);
643
643
  }
@@ -646,7 +646,7 @@ function Ui(t, e, n) {
646
646
  }
647
647
  function T(W) {
648
648
  return p.filter(Bo(W) ? W : function(H) {
649
- return re(W) ? ze(H.slide, W) : qn(Ge(W), H.index);
649
+ return ae(W) ? He(H.slide, W) : qn(qe(W), H.index);
650
650
  });
651
651
  }
652
652
  function S(W, H, z) {
@@ -688,34 +688,34 @@ function Ui(t, e, n) {
688
688
  function Gi(t, e, n) {
689
689
  var o = bt(t), r = o.on, l = o.bind, i = o.emit, s = e.Slides, c = e.Direction.resolve, d = e.Elements, p = d.root, L = d.track, x = d.list, f = s.getAt, u = s.style, g, w, v;
690
690
  function b() {
691
- I(), l(window, "resize load", Ai(ht(i, $e))), r([Lt, Tt], I), r($e, G);
691
+ I(), l(window, "resize load", Ai(yt(i, Ie))), r([Lt, Tt], I), r(Ie, G);
692
692
  }
693
693
  function I() {
694
- g = n.direction === wn, Pt(p, "maxWidth", pe(n.width)), Pt(L, c("paddingLeft"), N(!1)), Pt(L, c("paddingRight"), N(!0)), G(!0);
694
+ g = n.direction === Tn, zt(p, "maxWidth", de(n.width)), zt(L, c("paddingLeft"), N(!1)), zt(L, c("paddingRight"), N(!0)), G(!0);
695
695
  }
696
696
  function G(A) {
697
697
  var $ = kt(p);
698
- (A || w.width !== $.width || w.height !== $.height) && (Pt(L, "height", T()), u(c("marginRight"), pe(n.gap)), u("width", k()), u("height", C(), !0), w = $, i(hn), v !== (v = R()) && (Xt(p, Sr, v), i(_i, v)));
698
+ (A || w.width !== $.width || w.height !== $.height) && (zt(L, "height", T()), u(c("marginRight"), de(n.gap)), u("width", k()), u("height", C(), !0), w = $, i(vn), v !== (v = R()) && (Jt(p, Sr, v), i(_i, v)));
699
699
  }
700
700
  function N(A) {
701
701
  var $ = n.padding, _ = c(A ? "right" : "left");
702
- return $ && pe($[_] || (Pe($) ? 0 : $)) || "0px";
702
+ return $ && de($[_] || (ze($) ? 0 : $)) || "0px";
703
703
  }
704
704
  function T() {
705
705
  var A = "";
706
- return g && (A = S(), We(A, "height or heightRatio is missing."), A = "calc(" + A + " - " + N(!1) + " - " + N(!0) + ")"), A;
706
+ return g && (A = S(), Me(A, "height or heightRatio is missing."), A = "calc(" + A + " - " + N(!1) + " - " + N(!0) + ")"), A;
707
707
  }
708
708
  function S() {
709
- return pe(n.height || kt(x).width * n.heightRatio);
709
+ return de(n.height || kt(x).width * n.heightRatio);
710
710
  }
711
711
  function k() {
712
- return n.autoWidth ? null : pe(n.fixedWidth) || (g ? "" : O());
712
+ return n.autoWidth ? null : de(n.fixedWidth) || (g ? "" : O());
713
713
  }
714
714
  function C() {
715
- return pe(n.fixedHeight) || (g ? n.autoHeight ? null : O() : S());
715
+ return de(n.fixedHeight) || (g ? n.autoHeight ? null : O() : S());
716
716
  }
717
717
  function O() {
718
- var A = pe(n.gap);
718
+ var A = de(n.gap);
719
719
  return "calc((100%" + (A && " + " + A) + ")/" + (n.perPage || 1) + (A && " - " + A) + ")";
720
720
  }
721
721
  function W() {
@@ -729,7 +729,7 @@ function Gi(t, e, n) {
729
729
  var _ = f(A);
730
730
  if (_) {
731
731
  var E = kt(_.slide)[c("right")], K = kt(x)[c("left")];
732
- return Et(E - K) + ($ ? 0 : D());
732
+ return Ft(E - K) + ($ ? 0 : D());
733
733
  }
734
734
  return 0;
735
735
  }
@@ -738,13 +738,13 @@ function Gi(t, e, n) {
738
738
  }
739
739
  function D() {
740
740
  var A = f(0);
741
- return A && parseFloat(Pt(A.slide, c("marginRight"))) || 0;
741
+ return A && parseFloat(zt(A.slide, c("marginRight"))) || 0;
742
742
  }
743
743
  function m(A) {
744
- return parseFloat(Pt(L, c("padding" + (A ? "Right" : "Left")))) || 0;
744
+ return parseFloat(zt(L, c("padding" + (A ? "Right" : "Left")))) || 0;
745
745
  }
746
746
  function R() {
747
- return t.is(Je) || q(!0) > W();
747
+ return t.is(Ze) || q(!0) > W();
748
748
  }
749
749
  return {
750
750
  mount: b,
@@ -761,13 +761,13 @@ var qi = 2;
761
761
  function Yi(t, e, n) {
762
762
  var o = bt(t), r = o.on, l = e.Elements, i = e.Slides, s = e.Direction.resolve, c = [], d;
763
763
  function p() {
764
- r(Tt, L), r([Lt, $e], f), (d = w()) && (u(d), e.Layout.resize(!0));
764
+ r(Tt, L), r([Lt, Ie], f), (d = w()) && (u(d), e.Layout.resize(!0));
765
765
  }
766
766
  function L() {
767
767
  x(), p();
768
768
  }
769
769
  function x() {
770
- ge(c), Zt(c), o.destroy();
770
+ fe(c), te(c), o.destroy();
771
771
  }
772
772
  function f() {
773
773
  var v = w();
@@ -777,23 +777,23 @@ function Yi(t, e, n) {
777
777
  var b = i.get().slice(), I = b.length;
778
778
  if (I) {
779
779
  for (; b.length < v; )
780
- ln(b, b);
781
- ln(b.slice(-v), b.slice(0, v)).forEach(function(G, N) {
780
+ sn(b, b);
781
+ sn(b.slice(-v), b.slice(0, v)).forEach(function(G, N) {
782
782
  var T = N < v, S = g(G.slide, N);
783
- T ? Yn(S, b[0].slide) : qe(l.list, S), ln(c, S), i.register(S, N - v + (T ? 0 : I), G.index);
783
+ T ? Yn(S, b[0].slide) : Ye(l.list, S), sn(c, S), i.register(S, N - v + (T ? 0 : I), G.index);
784
784
  });
785
785
  }
786
786
  }
787
787
  function g(v, b) {
788
788
  var I = v.cloneNode(!0);
789
- return Bt(I, n.classes.clone), I.id = t.root.id + "-clone" + Jn(b + 1), I;
789
+ return Vt(I, n.classes.clone), I.id = t.root.id + "-clone" + Jn(b + 1), I;
790
790
  }
791
791
  function w() {
792
792
  var v = n.clones;
793
- if (!t.is(Ee))
793
+ if (!t.is(ke))
794
794
  v = 0;
795
- else if (Ue(v)) {
796
- var b = n[s("fixedWidth")] && e.Layout.slideSize(0), I = b && Be(kt(l.track)[s("width")] / b);
795
+ else if (Ge(v)) {
796
+ var b = n[s("fixedWidth")] && e.Layout.slideSize(0), I = b && Ve(kt(l.track)[s("width")] / b);
797
797
  v = I || n[s("autoWidth")] && t.length || n.perPage * qi;
798
798
  }
799
799
  return v;
@@ -806,27 +806,27 @@ function Yi(t, e, n) {
806
806
  function Xi(t, e, n) {
807
807
  var o = bt(t), r = o.on, l = o.emit, i = t.state.set, s = e.Layout, c = s.slideSize, d = s.getPadding, p = s.totalSize, L = s.listSize, x = s.sliderSize, f = e.Direction, u = f.resolve, g = f.orient, w = e.Elements, v = w.list, b = w.track, I;
808
808
  function G() {
809
- I = e.Transition, r([le, hn, Lt, Tt], N);
809
+ I = e.Transition, r([ce, vn, Lt, Tt], N);
810
810
  }
811
811
  function N() {
812
812
  e.Controller.isBusy() || (e.Scroll.cancel(), S(t.index), e.Slides.update());
813
813
  }
814
814
  function T(_, E, K, it) {
815
- _ !== E && A(_ > K) && (W(), k(O(q(), _ > K), !0)), i(Ie), l(Qt, E, K, _), I.start(E, function() {
816
- i(_e), l(Le, E, K, _), it && it();
815
+ _ !== E && A(_ > K) && (W(), k(O(q(), _ > K), !0)), i(Ee), l(ee, E, K, _), I.start(E, function() {
816
+ i(Ae), l(Fe, E, K, _), it && it();
817
817
  });
818
818
  }
819
819
  function S(_) {
820
820
  k(z(_, !0));
821
821
  }
822
822
  function k(_, E) {
823
- if (!t.is(Je)) {
823
+ if (!t.is(Ze)) {
824
824
  var K = E ? _ : C(_);
825
- Pt(v, "transform", "translate" + u("X") + "(" + K + "px)"), _ !== K && l(sr);
825
+ zt(v, "transform", "translate" + u("X") + "(" + K + "px)"), _ !== K && l(sr);
826
826
  }
827
827
  }
828
828
  function C(_) {
829
- if (t.is(Ee)) {
829
+ if (t.is(ke)) {
830
830
  var E = H(_), K = E > e.Controller.getEnd(), it = E < 0;
831
831
  (it || K) && (_ = O(_, K));
832
832
  }
@@ -834,14 +834,14 @@ function Xi(t, e, n) {
834
834
  }
835
835
  function O(_, E) {
836
836
  var K = _ - R(E), it = x();
837
- return _ -= g(it * (Be(Et(K) / it) || 1)) * (E ? 1 : -1), _;
837
+ return _ -= g(it * (Ve(Ft(K) / it) || 1)) * (E ? 1 : -1), _;
838
838
  }
839
839
  function W() {
840
840
  k(q(), !0), I.cancel();
841
841
  }
842
842
  function H(_) {
843
- for (var E = e.Slides.get(), K = 0, it = 1 / 0, tt = 0; tt < E.length; tt++) {
844
- var rt = E[tt].index, M = Et(z(rt, !0) - _);
843
+ for (var E = e.Slides.get(), K = 0, it = 1 / 0, et = 0; et < E.length; et++) {
844
+ var rt = E[et].index, M = Ft(z(rt, !0) - _);
845
845
  if (M <= it)
846
846
  it = M, K = rt;
847
847
  else
@@ -858,7 +858,7 @@ function Xi(t, e, n) {
858
858
  return kt(v)[_] - kt(b)[_] + g(d(!1));
859
859
  }
860
860
  function D(_) {
861
- return n.trimSpace && t.is(Ae) && (_ = be(_, 0, g(x(!0) - L()))), _;
861
+ return n.trimSpace && t.is(Le) && (_ = xe(_, 0, g(x(!0) - L()))), _;
862
862
  }
863
863
  function m(_) {
864
864
  var E = n.focus;
@@ -872,7 +872,7 @@ function Xi(t, e, n) {
872
872
  return _ ? E >= 0 : E <= v[u("scrollWidth")] - kt(b)[u("width")];
873
873
  }
874
874
  function $(_, E) {
875
- E = Ue(E) ? q() : E;
875
+ E = Ge(E) ? q() : E;
876
876
  var K = _ !== !0 && g(E) < g(R(!1)), it = _ !== !1 && g(E) > g(R(!0));
877
877
  return K || it;
878
878
  }
@@ -892,54 +892,54 @@ function Xi(t, e, n) {
892
892
  };
893
893
  }
894
894
  function Ki(t, e, n) {
895
- var o = bt(t), r = o.on, l = o.emit, i = e.Move, s = i.getPosition, c = i.getLimit, d = i.toPosition, p = e.Slides, L = p.isEnough, x = p.getLength, f = n.omitEnd, u = t.is(Ee), g = t.is(Ae), w = ht(q, !1), v = ht(q, !0), b = n.start || 0, I, G = b, N, T, S;
895
+ var o = bt(t), r = o.on, l = o.emit, i = e.Move, s = i.getPosition, c = i.getLimit, d = i.toPosition, p = e.Slides, L = p.isEnough, x = p.getLength, f = n.omitEnd, u = t.is(ke), g = t.is(Le), w = yt(q, !1), v = yt(q, !0), b = n.start || 0, I, G = b, N, T, S;
896
896
  function k() {
897
- C(), r([Lt, Tt, mn], C), r(hn, O);
897
+ C(), r([Lt, Tt, fn], C), r(vn, O);
898
898
  }
899
899
  function C() {
900
900
  N = x(!0), T = n.perMove, S = n.perPage, I = A();
901
- var M = be(b, 0, f ? I : N - 1);
901
+ var M = xe(b, 0, f ? I : N - 1);
902
902
  M !== b && (b = M, i.reposition());
903
903
  }
904
904
  function O() {
905
- I !== A() && l(mn);
905
+ I !== A() && l(fn);
906
906
  }
907
- function W(M, Z, gt) {
907
+ function W(M, Q, gt) {
908
908
  if (!rt()) {
909
- var st = z(M), mt = R(st);
910
- mt > -1 && (Z || mt !== b) && (K(mt), i.move(st, mt, G, gt));
909
+ var lt = z(M), mt = R(lt);
910
+ mt > -1 && (Q || mt !== b) && (K(mt), i.move(lt, mt, G, gt));
911
911
  }
912
912
  }
913
- function H(M, Z, gt, st) {
914
- e.Scroll.scroll(M, Z, gt, function() {
913
+ function H(M, Q, gt, lt) {
914
+ e.Scroll.scroll(M, Q, gt, function() {
915
915
  var mt = R(i.toIndex(s()));
916
- K(f ? ie(mt, I) : mt), st && st();
916
+ K(f ? le(mt, I) : mt), lt && lt();
917
917
  });
918
918
  }
919
919
  function z(M) {
920
- var Z = b;
921
- if (re(M)) {
922
- var gt = M.match(/([+\-<>])(\d+)?/) || [], st = gt[1], mt = gt[2];
923
- st === "+" || st === "-" ? Z = D(b + +("" + st + (+mt || 1)), b) : st === ">" ? Z = mt ? $(+mt) : w(!0) : st === "<" && (Z = v(!0));
920
+ var Q = b;
921
+ if (ae(M)) {
922
+ var gt = M.match(/([+\-<>])(\d+)?/) || [], lt = gt[1], mt = gt[2];
923
+ lt === "+" || lt === "-" ? Q = D(b + +("" + lt + (+mt || 1)), b) : lt === ">" ? Q = mt ? $(+mt) : w(!0) : lt === "<" && (Q = v(!0));
924
924
  } else
925
- Z = u ? M : be(M, 0, I);
926
- return Z;
925
+ Q = u ? M : xe(M, 0, I);
926
+ return Q;
927
927
  }
928
- function q(M, Z) {
929
- var gt = T || (tt() ? 1 : S), st = D(b + gt * (M ? -1 : 1), b, !(T || tt()));
930
- return st === -1 && g && !qo(s(), c(!M), 1) ? M ? 0 : I : Z ? st : R(st);
928
+ function q(M, Q) {
929
+ var gt = T || (et() ? 1 : S), lt = D(b + gt * (M ? -1 : 1), b, !(T || et()));
930
+ return lt === -1 && g && !qo(s(), c(!M), 1) ? M ? 0 : I : Q ? lt : R(lt);
931
931
  }
932
- function D(M, Z, gt) {
933
- if (L() || tt()) {
934
- var st = m(M);
935
- st !== M && (Z = M, M = st, gt = !1), M < 0 || M > I ? !T && (sn(0, M, Z, !0) || sn(I, Z, M, !0)) ? M = $(_(M)) : u ? M = gt ? M < 0 ? -(N % S || S) : N : M : n.rewind ? M = M < 0 ? I : 0 : M = -1 : gt && M !== Z && (M = $(_(Z) + (M < Z ? -1 : 1)));
932
+ function D(M, Q, gt) {
933
+ if (L() || et()) {
934
+ var lt = m(M);
935
+ lt !== M && (Q = M, M = lt, gt = !1), M < 0 || M > I ? !T && (cn(0, M, Q, !0) || cn(I, Q, M, !0)) ? M = $(_(M)) : u ? M = gt ? M < 0 ? -(N % S || S) : N : M : n.rewind ? M = M < 0 ? I : 0 : M = -1 : gt && M !== Q && (M = $(_(Q) + (M < Q ? -1 : 1)));
936
936
  } else
937
937
  M = -1;
938
938
  return M;
939
939
  }
940
940
  function m(M) {
941
941
  if (g && n.trimSpace === "move" && M !== b)
942
- for (var Z = s(); Z === d(M, !0) && sn(M, 0, t.length - 1, !n.rewind); )
942
+ for (var Q = s(); Q === d(M, !0) && cn(M, 0, t.length - 1, !n.rewind); )
943
943
  M < b ? --M : ++M;
944
944
  return M;
945
945
  }
@@ -947,22 +947,22 @@ function Ki(t, e, n) {
947
947
  return u ? (M + N) % N || 0 : M;
948
948
  }
949
949
  function A() {
950
- for (var M = N - (tt() || u && T ? 1 : S); f && M-- > 0; )
950
+ for (var M = N - (et() || u && T ? 1 : S); f && M-- > 0; )
951
951
  if (d(N - 1, !0) !== d(M, !0)) {
952
952
  M++;
953
953
  break;
954
954
  }
955
- return be(M, 0, N - 1);
955
+ return xe(M, 0, N - 1);
956
956
  }
957
957
  function $(M) {
958
- return be(tt() ? M : S * M, 0, I);
958
+ return xe(et() ? M : S * M, 0, I);
959
959
  }
960
960
  function _(M) {
961
- return tt() ? ie(M, I) : gn((M >= I ? N - 1 : M) / S);
961
+ return et() ? le(M, I) : mn((M >= I ? N - 1 : M) / S);
962
962
  }
963
963
  function E(M) {
964
- var Z = i.toIndex(M);
965
- return g ? be(Z, 0, I) : Z;
964
+ var Q = i.toIndex(M);
965
+ return g ? xe(Q, 0, I) : Q;
966
966
  }
967
967
  function K(M) {
968
968
  M !== b && (G = b, b = M);
@@ -970,11 +970,11 @@ function Ki(t, e, n) {
970
970
  function it(M) {
971
971
  return M ? G : b;
972
972
  }
973
- function tt() {
974
- return !Ue(n.focus) || n.isNavigation;
973
+ function et() {
974
+ return !Ge(n.focus) || n.isNavigation;
975
975
  }
976
976
  function rt() {
977
- return t.state.is([Ie, je]) && !!n.waitForTransition;
977
+ return t.state.is([Ee, Ue]) && !!n.waitForTransition;
978
978
  }
979
979
  return {
980
980
  mount: k,
@@ -989,11 +989,11 @@ function Ki(t, e, n) {
989
989
  toIndex: $,
990
990
  toPage: _,
991
991
  toDest: E,
992
- hasFocus: tt,
992
+ hasFocus: et,
993
993
  isBusy: rt
994
994
  };
995
995
  }
996
- var Ji = "http://www.w3.org/2000/svg", Zi = "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;
996
+ var Ji = "http://www.w3.org/2000/svg", Zi = "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", en = 40;
997
997
  function Qi(t, e, n) {
998
998
  var o = bt(t), r = o.on, l = o.bind, i = o.emit, s = n.classes, c = n.i18n, d = e.Elements, p = e.Controller, L = d.arrows, x = d.track, f = L, u = d.prev, g = d.next, w, v, b = {};
999
999
  function I() {
@@ -1004,25 +1004,25 @@ function Qi(t, e, n) {
1004
1004
  }
1005
1005
  function N() {
1006
1006
  var H = n.arrows;
1007
- H && !(u && g) && C(), u && g && (Ne(b, {
1007
+ H && !(u && g) && C(), u && g && (Oe(b, {
1008
1008
  prev: u,
1009
1009
  next: g
1010
- }), Oe(f, H ? "" : "none"), Bt(f, v = lo + "--" + n.direction), H && (S(), W(), ot([u, g], Ke, x.id), i(nr, u, g)));
1010
+ }), Be(f, H ? "" : "none"), Vt(f, v = lo + "--" + n.direction), H && (S(), W(), ot([u, g], Je, x.id), i(nr, u, g)));
1011
1011
  }
1012
1012
  function T() {
1013
- o.destroy(), Kt(f, v), w ? (ge(L ? [u, g] : f), u = g = null) : Vt([u, g], ao);
1013
+ o.destroy(), Zt(f, v), w ? (fe(L ? [u, g] : f), u = g = null) : Dt([u, g], ao);
1014
1014
  }
1015
1015
  function S() {
1016
- r([le, Le, Tt, fe, mn], W), l(g, "click", ht(k, ">")), l(u, "click", ht(k, "<"));
1016
+ r([ce, Fe, Tt, he, fn], W), l(g, "click", yt(k, ">")), l(u, "click", yt(k, "<"));
1017
1017
  }
1018
1018
  function k(H) {
1019
1019
  p.go(H, !0);
1020
1020
  }
1021
1021
  function C() {
1022
- f = L || Ce("div", s.arrows), u = O(!0), g = O(!1), w = !0, qe(f, [u, g]), !L && Yn(f, x);
1022
+ f = L || Te("div", s.arrows), u = O(!0), g = O(!1), w = !0, Ye(f, [u, g]), !L && Yn(f, x);
1023
1023
  }
1024
1024
  function O(H) {
1025
- var z = '<button class="' + s.arrow + " " + (H ? s.prev : s.next) + '" type="button"><svg xmlns="' + Ji + '" viewBox="0 0 ' + tn + " " + tn + '" width="' + tn + '" height="' + tn + '" focusable="false"><path d="' + (n.arrowPath || Zi) + '" />';
1025
+ var z = '<button class="' + s.arrow + " " + (H ? s.prev : s.next) + '" type="button"><svg xmlns="' + Ji + '" viewBox="0 0 ' + en + " " + en + '" width="' + en + '" height="' + en + '" focusable="false"><path d="' + (n.arrowPath || Zi) + '" />';
1026
1026
  return Uo(z);
1027
1027
  }
1028
1028
  function W() {
@@ -1040,9 +1040,9 @@ function Qi(t, e, n) {
1040
1040
  }
1041
1041
  var ta = Kn + "-interval";
1042
1042
  function ea(t, e, n) {
1043
- var o = bt(t), r = o.on, l = o.bind, i = o.emit, s = bn(n.interval, t.go.bind(t, ">"), S), c = s.isPaused, d = e.Elements, p = e.Elements, L = p.root, x = p.toggle, f = n.autoplay, u, g, w = f === "pause";
1043
+ var o = bt(t), r = o.on, l = o.bind, i = o.emit, s = Sn(n.interval, t.go.bind(t, ">"), S), c = s.isPaused, d = e.Elements, p = e.Elements, L = p.root, x = p.toggle, f = n.autoplay, u, g, w = f === "pause";
1044
1044
  function v() {
1045
- f && (b(), x && ot(x, Ke, d.track.id), w || I(), T());
1045
+ f && (b(), x && ot(x, Je, d.track.id), w || I(), T());
1046
1046
  }
1047
1047
  function b() {
1048
1048
  n.pauseOnHover && l(L, "mouseenter mouseleave", function(C) {
@@ -1051,7 +1051,7 @@ function ea(t, e, n) {
1051
1051
  g = C.type === "focusin", N();
1052
1052
  }), x && l(x, "click", function() {
1053
1053
  w ? I() : G(!0);
1054
- }), r([Qt, vn, Tt], s.rewind), r(Qt, k);
1054
+ }), r([ee, bn, Tt], s.rewind), r(ee, k);
1055
1055
  }
1056
1056
  function I() {
1057
1057
  c() && e.Slides.isEnough() && (s.start(!n.resetProgress), g = u = w = !1, T(), i(eo));
@@ -1063,15 +1063,15 @@ function ea(t, e, n) {
1063
1063
  w || (u || g ? G(!1) : I());
1064
1064
  }
1065
1065
  function T() {
1066
- x && (Xt(x, me, !w), ot(x, Rt, n.i18n[w ? "play" : "pause"]));
1066
+ x && (Jt(x, ye, !w), ot(x, Rt, n.i18n[w ? "play" : "pause"]));
1067
1067
  }
1068
1068
  function S(C) {
1069
1069
  var O = d.bar;
1070
- O && Pt(O, "width", C * 100 + "%"), i(ar, C);
1070
+ O && zt(O, "width", C * 100 + "%"), i(ar, C);
1071
1071
  }
1072
1072
  function k(C) {
1073
1073
  var O = e.Slides.getAt(C);
1074
- s.set(O && +zt(O.slide, ta) || n.interval);
1074
+ s.set(O && +Ht(O.slide, ta) || n.interval);
1075
1075
  }
1076
1076
  return {
1077
1077
  mount: v,
@@ -1084,43 +1084,43 @@ function ea(t, e, n) {
1084
1084
  function na(t, e, n) {
1085
1085
  var o = bt(t), r = o.on;
1086
1086
  function l() {
1087
- n.cover && (r(oo, ht(s, !0)), r([le, Lt, Tt], ht(i, !0)));
1087
+ n.cover && (r(oo, yt(s, !0)), r([ce, Lt, Tt], yt(i, !0)));
1088
1088
  }
1089
1089
  function i(c) {
1090
1090
  e.Slides.forEach(function(d) {
1091
- var p = Ye(d.container || d.slide, "img");
1091
+ var p = Xe(d.container || d.slide, "img");
1092
1092
  p && p.src && s(c, p, d);
1093
1093
  });
1094
1094
  }
1095
1095
  function s(c, d, p) {
1096
- p.style("background", c ? 'center/cover no-repeat url("' + d.src + '")' : "", !0), Oe(d, c ? "none" : "");
1096
+ p.style("background", c ? 'center/cover no-repeat url("' + d.src + '")' : "", !0), Be(d, c ? "none" : "");
1097
1097
  }
1098
1098
  return {
1099
1099
  mount: l,
1100
- destroy: ht(i, !1)
1100
+ destroy: yt(i, !1)
1101
1101
  };
1102
1102
  }
1103
1103
  var oa = 10, ra = 600, ia = 0.6, aa = 1.5, la = 800;
1104
1104
  function sa(t, e, n) {
1105
- var o = bt(t), r = o.on, l = o.emit, i = t.state.set, s = e.Move, c = s.getPosition, d = s.getLimit, p = s.exceededLimit, L = s.translate, x = t.is(Ae), f, u, g = 1;
1105
+ var o = bt(t), r = o.on, l = o.emit, i = t.state.set, s = e.Move, c = s.getPosition, d = s.getLimit, p = s.exceededLimit, L = s.translate, x = t.is(Le), f, u, g = 1;
1106
1106
  function w() {
1107
- r(Qt, G), r([Lt, Tt], N);
1107
+ r(ee, G), r([Lt, Tt], N);
1108
1108
  }
1109
1109
  function v(S, k, C, O, W) {
1110
1110
  var H = c();
1111
1111
  if (G(), C && (!x || !p())) {
1112
- var z = e.Layout.sliderSize(), q = Hn(S) * z * gn(Et(S) / z) || 0;
1112
+ var z = e.Layout.sliderSize(), q = Hn(S) * z * mn(Ft(S) / z) || 0;
1113
1113
  S = s.toPosition(e.Controller.toDest(S % z)) + q;
1114
1114
  }
1115
1115
  var D = qo(H, S, 1);
1116
- g = 1, k = D ? 0 : k || dn(Et(S - H) / aa, la), u = O, f = bn(k, b, ht(I, H, S, W), 1), i(je), l(vn), f.start();
1116
+ g = 1, k = D ? 0 : k || gn(Ft(S - H) / aa, la), u = O, f = Sn(k, b, yt(I, H, S, W), 1), i(Ue), l(bn), f.start();
1117
1117
  }
1118
1118
  function b() {
1119
- i(_e), u && u(), l(fe);
1119
+ i(Ae), u && u(), l(he);
1120
1120
  }
1121
1121
  function I(S, k, C, O) {
1122
1122
  var W = c(), H = S + (k - S) * T(O), z = (H - W) * g;
1123
- L(W + z), x && !C && p() && (g *= ia, Et(z) < oa && v(d(p(!0)), ra, !1, u, !0));
1123
+ L(W + z), x && !C && p() && (g *= ia, Ft(z) < oa && v(d(p(!0)), ra, !1, u, !0));
1124
1124
  }
1125
1125
  function G() {
1126
1126
  f && f.cancel();
@@ -1139,16 +1139,16 @@ function sa(t, e, n) {
1139
1139
  cancel: N
1140
1140
  };
1141
1141
  }
1142
- var Se = {
1142
+ var Ce = {
1143
1143
  passive: !1,
1144
1144
  capture: !0
1145
1145
  };
1146
1146
  function ca(t, e, n) {
1147
1147
  var o = bt(t), r = o.on, l = o.emit, i = o.bind, s = o.unbind, c = t.state, d = e.Move, p = e.Scroll, L = e.Controller, x = e.Elements.track, f = e.Media.reduce, u = e.Direction, g = u.resolve, w = u.orient, v = d.getPosition, b = d.exceededLimit, I, G, N, T, S, k = !1, C, O, W;
1148
1148
  function H() {
1149
- i(x, Fn, Pn, Se), i(x, kn, Pn, Se), i(x, xr, q, Se), i(x, "click", R, {
1149
+ i(x, Fn, Pn, Ce), i(x, kn, Pn, Ce), i(x, xr, q, Ce), i(x, "click", R, {
1150
1150
  capture: !0
1151
- }), i(x, "dragstart", Yt), r([le, Lt], z);
1151
+ }), i(x, "dragstart", Kt), r([ce, Lt], z);
1152
1152
  }
1153
1153
  function z() {
1154
1154
  var j = n.drag;
@@ -1157,50 +1157,50 @@ function ca(t, e, n) {
1157
1157
  function q(j) {
1158
1158
  if (C = !1, !O) {
1159
1159
  var a = mt(j);
1160
- st(j.target) && (a || !j.button) && (L.isBusy() ? Yt(j, !0) : (W = a ? x : window, S = c.is([Ie, je]), N = null, i(W, Fn, D, Se), i(W, kn, m, Se), d.cancel(), p.cancel(), A(j)));
1160
+ lt(j.target) && (a || !j.button) && (L.isBusy() ? Kt(j, !0) : (W = a ? x : window, S = c.is([Ee, Ue]), N = null, i(W, Fn, D, Ce), i(W, kn, m, Ce), d.cancel(), p.cancel(), A(j)));
1161
1161
  }
1162
1162
  }
1163
1163
  function D(j) {
1164
- if (c.is(an) || (c.set(an), l(Qo)), j.cancelable)
1164
+ if (c.is(ln) || (c.set(ln), l(Qo)), j.cancelable)
1165
1165
  if (S) {
1166
- d.translate(I + gt(tt(j)));
1166
+ d.translate(I + gt(et(j)));
1167
1167
  var a = rt(j) > $o, y = k !== (k = b());
1168
- (a || y) && A(j), C = !0, l(tr), Yt(j);
1169
- } else E(j) && (S = _(j), Yt(j));
1168
+ (a || y) && A(j), C = !0, l(tr), Kt(j);
1169
+ } else E(j) && (S = _(j), Kt(j));
1170
1170
  }
1171
1171
  function m(j) {
1172
- c.is(an) && (c.set(_e), l(er)), S && ($(j), Yt(j)), s(W, Fn, D), s(W, kn, m), S = !1;
1172
+ c.is(ln) && (c.set(Ae), l(er)), S && ($(j), Kt(j)), s(W, Fn, D), s(W, kn, m), S = !1;
1173
1173
  }
1174
1174
  function R(j) {
1175
- !O && C && Yt(j, !0);
1175
+ !O && C && Kt(j, !0);
1176
1176
  }
1177
1177
  function A(j) {
1178
1178
  N = G, G = j, I = v();
1179
1179
  }
1180
1180
  function $(j) {
1181
1181
  var a = K(j), y = it(a), P = n.rewind && n.rewindByDrag;
1182
- f(!1), T ? L.scroll(y, 0, n.snap) : t.is(Je) ? L.go(w(Hn(a)) < 0 ? P ? "<" : "-" : P ? ">" : "+") : t.is(Ae) && k && P ? L.go(b(!0) ? ">" : "<") : L.go(L.toDest(y), !0), f(!0);
1182
+ f(!1), T ? L.scroll(y, 0, n.snap) : t.is(Ze) ? L.go(w(Hn(a)) < 0 ? P ? "<" : "-" : P ? ">" : "+") : t.is(Le) && k && P ? L.go(b(!0) ? ">" : "<") : L.go(L.toDest(y), !0), f(!0);
1183
1183
  }
1184
1184
  function _(j) {
1185
- var a = n.dragMinThreshold, y = Pe(a), P = y && a.mouse || 0, B = (y ? a.touch : +a) || 10;
1186
- return Et(tt(j)) > (mt(j) ? B : P);
1185
+ var a = n.dragMinThreshold, y = ze(a), P = y && a.mouse || 0, B = (y ? a.touch : +a) || 10;
1186
+ return Ft(et(j)) > (mt(j) ? B : P);
1187
1187
  }
1188
1188
  function E(j) {
1189
- return Et(tt(j)) > Et(tt(j, !0));
1189
+ return Ft(et(j)) > Ft(et(j, !0));
1190
1190
  }
1191
1191
  function K(j) {
1192
- if (t.is(Ee) || !k) {
1192
+ if (t.is(ke) || !k) {
1193
1193
  var a = rt(j);
1194
1194
  if (a && a < $o)
1195
- return tt(j) / a;
1195
+ return et(j) / a;
1196
1196
  }
1197
1197
  return 0;
1198
1198
  }
1199
1199
  function it(j) {
1200
- return v() + Hn(j) * ie(Et(j) * (n.flickPower || 600), T ? 1 / 0 : e.Layout.listSize() * (n.flickMaxPages || 1));
1200
+ return v() + Hn(j) * le(Ft(j) * (n.flickPower || 600), T ? 1 / 0 : e.Layout.listSize() * (n.flickMaxPages || 1));
1201
1201
  }
1202
- function tt(j, a) {
1203
- return Z(j, a) - Z(M(j), a);
1202
+ function et(j, a) {
1203
+ return Q(j, a) - Q(M(j), a);
1204
1204
  }
1205
1205
  function rt(j) {
1206
1206
  return zn(j) - zn(M(j));
@@ -1208,20 +1208,20 @@ function ca(t, e, n) {
1208
1208
  function M(j) {
1209
1209
  return G === j && N || G;
1210
1210
  }
1211
- function Z(j, a) {
1211
+ function Q(j, a) {
1212
1212
  return (mt(j) ? j.changedTouches[0] : j)["page" + g(a ? "Y" : "X")];
1213
1213
  }
1214
1214
  function gt(j) {
1215
- return j / (k && t.is(Ae) ? Vi : 1);
1215
+ return j / (k && t.is(Le) ? Vi : 1);
1216
1216
  }
1217
- function st(j) {
1217
+ function lt(j) {
1218
1218
  var a = n.noDrag;
1219
- return !ze(j, "." + yr + ", ." + _n) && (!a || !ze(j, a));
1219
+ return !He(j, "." + yr + ", ." + $n) && (!a || !He(j, a));
1220
1220
  }
1221
1221
  function mt(j) {
1222
1222
  return typeof TouchEvent < "u" && j instanceof TouchEvent;
1223
1223
  }
1224
- function vt() {
1224
+ function ht() {
1225
1225
  return S;
1226
1226
  }
1227
1227
  function It(j) {
@@ -1230,24 +1230,24 @@ function ca(t, e, n) {
1230
1230
  return {
1231
1231
  mount: H,
1232
1232
  disable: It,
1233
- isDragging: vt
1233
+ isDragging: ht
1234
1234
  };
1235
1235
  }
1236
1236
  var pa = {
1237
1237
  Spacebar: " ",
1238
- Right: Cn,
1239
- Left: xn,
1238
+ Right: wn,
1239
+ Left: Cn,
1240
1240
  Up: cr,
1241
1241
  Down: pr
1242
1242
  };
1243
1243
  function so(t) {
1244
- return t = re(t) ? t : t.key, pa[t] || t;
1244
+ return t = ae(t) ? t : t.key, pa[t] || t;
1245
1245
  }
1246
1246
  var Ao = "keydown";
1247
1247
  function ua(t, e, n) {
1248
1248
  var o = bt(t), r = o.on, l = o.bind, i = o.unbind, s = t.root, c = e.Direction.resolve, d, p;
1249
1249
  function L() {
1250
- x(), r(Lt, f), r(Lt, x), r(Qt, g);
1250
+ x(), r(Lt, f), r(Lt, x), r(ee, g);
1251
1251
  }
1252
1252
  function x() {
1253
1253
  var v = n.keyboard;
@@ -1268,7 +1268,7 @@ function ua(t, e, n) {
1268
1268
  function w(v) {
1269
1269
  if (!p) {
1270
1270
  var b = so(v);
1271
- b === c(xn) ? t.go("<") : b === c(Cn) && t.go(">");
1271
+ b === c(Cn) ? t.go("<") : b === c(wn) && t.go(">");
1272
1272
  }
1273
1273
  }
1274
1274
  return {
@@ -1277,22 +1277,22 @@ function ua(t, e, n) {
1277
1277
  disable: u
1278
1278
  };
1279
1279
  }
1280
- var Me = Kn + "-lazy", cn = Me + "-srcset", da = "[" + Me + "], [" + cn + "]";
1280
+ var Pe = Kn + "-lazy", pn = Pe + "-srcset", da = "[" + Pe + "], [" + pn + "]";
1281
1281
  function ga(t, e, n) {
1282
- var o = bt(t), r = o.on, l = o.off, i = o.bind, s = o.emit, c = n.lazyLoad === "sequential", d = [Le, fe], p = [];
1282
+ var o = bt(t), r = o.on, l = o.off, i = o.bind, s = o.emit, c = n.lazyLoad === "sequential", d = [Fe, he], p = [];
1283
1283
  function L() {
1284
1284
  n.lazyLoad && (x(), r(Tt, x));
1285
1285
  }
1286
1286
  function x() {
1287
- Zt(p), f(), c ? v() : (l(d), r(d, u), u());
1287
+ te(p), f(), c ? v() : (l(d), r(d, u), u());
1288
1288
  }
1289
1289
  function f() {
1290
1290
  e.Slides.forEach(function(b) {
1291
1291
  Xn(b.slide, da).forEach(function(I) {
1292
- var G = zt(I, Me), N = zt(I, cn);
1292
+ var G = Ht(I, Pe), N = Ht(I, pn);
1293
1293
  if (G !== I.src || N !== I.srcset) {
1294
- var T = n.classes.spinner, S = I.parentElement, k = Ye(S, "." + T) || Ce("span", T, S);
1295
- p.push([I, b, k]), I.src || Oe(I, "none");
1294
+ var T = n.classes.spinner, S = I.parentElement, k = Xe(S, "." + T) || Te("span", T, S);
1295
+ p.push([I, b, k]), I.src || Be(I, "none");
1296
1296
  }
1297
1297
  });
1298
1298
  });
@@ -1305,45 +1305,45 @@ function ga(t, e, n) {
1305
1305
  }
1306
1306
  function g(b) {
1307
1307
  var I = b[0];
1308
- Bt(b[1].slide, Vn), i(I, "load error", ht(w, b)), ot(I, "src", zt(I, Me)), ot(I, "srcset", zt(I, cn)), Vt(I, Me), Vt(I, cn);
1308
+ Vt(b[1].slide, Vn), i(I, "load error", yt(w, b)), ot(I, "src", Ht(I, Pe)), ot(I, "srcset", Ht(I, pn)), Dt(I, Pe), Dt(I, pn);
1309
1309
  }
1310
1310
  function w(b, I) {
1311
1311
  var G = b[0], N = b[1];
1312
- Kt(N.slide, Vn), I.type !== "error" && (ge(b[2]), Oe(G, ""), s(oo, G, N), s($e)), c && v();
1312
+ Zt(N.slide, Vn), I.type !== "error" && (fe(b[2]), Be(G, ""), s(oo, G, N), s(Ie)), c && v();
1313
1313
  }
1314
1314
  function v() {
1315
1315
  p.length && g(p.shift());
1316
1316
  }
1317
1317
  return {
1318
1318
  mount: L,
1319
- destroy: ht(Zt, p),
1319
+ destroy: yt(te, p),
1320
1320
  check: u
1321
1321
  };
1322
1322
  }
1323
1323
  function ma(t, e, n) {
1324
1324
  var o = bt(t), r = o.on, l = o.emit, i = o.bind, s = e.Slides, c = e.Elements, d = e.Controller, p = d.hasFocus, L = d.getIndex, x = d.go, f = e.Direction.resolve, u = c.pagination, g = [], w, v;
1325
1325
  function b() {
1326
- I(), r([Lt, Tt, mn], b);
1326
+ I(), r([Lt, Tt, fn], b);
1327
1327
  var O = n.pagination;
1328
- u && Oe(u, O ? "" : "none"), O && (r([Qt, vn, fe], C), G(), C(), l(rr, {
1328
+ u && Be(u, O ? "" : "none"), O && (r([ee, bn, he], C), G(), C(), l(rr, {
1329
1329
  list: w,
1330
1330
  items: g
1331
1331
  }, k(t.index)));
1332
1332
  }
1333
1333
  function I() {
1334
- w && (ge(u ? ae(w.children) : w), Kt(w, v), Zt(g), w = null), o.destroy();
1334
+ w && (fe(u ? se(w.children) : w), Zt(w, v), te(g), w = null), o.destroy();
1335
1335
  }
1336
1336
  function G() {
1337
- var O = t.length, W = n.classes, H = n.i18n, z = n.perPage, q = p() ? d.getEnd() + 1 : Be(O / z);
1338
- w = u || Ce("ul", W.pagination, c.track.parentElement), Bt(w, v = $n + "--" + S()), ot(w, Jt, "tablist"), ot(w, Rt, H.select), ot(w, io, S() === wn ? "vertical" : "");
1337
+ var O = t.length, W = n.classes, H = n.i18n, z = n.perPage, q = p() ? d.getEnd() + 1 : Ve(O / z);
1338
+ w = u || Te("ul", W.pagination, c.track.parentElement), Vt(w, v = An + "--" + S()), ot(w, Qt, "tablist"), ot(w, Rt, H.select), ot(w, io, S() === Tn ? "vertical" : "");
1339
1339
  for (var D = 0; D < q; D++) {
1340
- var m = Ce("li", null, w), R = Ce("button", {
1340
+ var m = Te("li", null, w), R = Te("button", {
1341
1341
  class: W.page,
1342
1342
  type: "button"
1343
1343
  }, m), A = s.getIn(D).map(function(_) {
1344
1344
  return _.slide.id;
1345
1345
  }), $ = !p() && z > 1 ? H.pageX : H.slideX;
1346
- i(R, "click", ht(N, D)), n.paginationKeyboard && i(R, "keydown", ht(T, D)), ot(m, Jt, "presentation"), ot(R, Jt, "tab"), ot(R, Ke, A.join(" ")), ot(R, Rt, Nn($, D + 1)), ot(R, we, -1), g.push({
1346
+ i(R, "click", yt(N, D)), n.paginationKeyboard && i(R, "keydown", yt(T, D)), ot(m, Qt, "presentation"), ot(R, Qt, "tab"), ot(R, Je, A.join(" ")), ot(R, Rt, Nn($, D + 1)), ot(R, _e, -1), g.push({
1347
1347
  li: m,
1348
1348
  button: R,
1349
1349
  page: D
@@ -1355,9 +1355,9 @@ function ma(t, e, n) {
1355
1355
  }
1356
1356
  function T(O, W) {
1357
1357
  var H = g.length, z = so(W), q = S(), D = -1;
1358
- z === f(Cn, !1, q) ? D = ++O % H : z === f(xn, !1, q) ? D = (--O + H) % H : z === "Home" ? D = 0 : z === "End" && (D = H - 1);
1358
+ z === f(wn, !1, q) ? D = ++O % H : z === f(Cn, !1, q) ? D = (--O + H) % H : z === "Home" ? D = 0 : z === "End" && (D = H - 1);
1359
1359
  var m = g[D];
1360
- m && (jo(m.button), x(">" + D), Yt(W, !0));
1360
+ m && (jo(m.button), x(">" + D), Kt(W, !0));
1361
1361
  }
1362
1362
  function S() {
1363
1363
  return n.paginationDirection || n.direction;
@@ -1369,11 +1369,11 @@ function ma(t, e, n) {
1369
1369
  var O = k(L(!0)), W = k(L());
1370
1370
  if (O) {
1371
1371
  var H = O.button;
1372
- Kt(H, me), Vt(H, xo), ot(H, we, -1);
1372
+ Zt(H, ye), Dt(H, xo), ot(H, _e, -1);
1373
1373
  }
1374
1374
  if (W) {
1375
1375
  var z = W.button;
1376
- Bt(z, me), ot(z, xo, !0), ot(z, we, "");
1376
+ Vt(z, ye), ot(z, xo, !0), ot(z, _e, "");
1377
1377
  }
1378
1378
  l(ir, {
1379
1379
  list: w,
@@ -1399,33 +1399,33 @@ function ya(t, e, n) {
1399
1399
  function s() {
1400
1400
  l.forEach(function(u) {
1401
1401
  u.destroy();
1402
- }), Zt(l);
1402
+ }), te(l);
1403
1403
  }
1404
1404
  function c() {
1405
1405
  s(), i();
1406
1406
  }
1407
1407
  function d(u, g) {
1408
1408
  var w = bt(u);
1409
- w.on(Qt, function(v, b, I) {
1410
- g.go(g.is(Ee) ? I : v);
1409
+ w.on(ee, function(v, b, I) {
1410
+ g.go(g.is(ke) ? I : v);
1411
1411
  }), l.push(w);
1412
1412
  }
1413
1413
  function p() {
1414
1414
  var u = bt(t), g = u.on;
1415
- g(Zn, x), g(lr, f), g([le, Lt], L), l.push(u), u.emit(to, t.splides);
1415
+ g(Zn, x), g(lr, f), g([ce, Lt], L), l.push(u), u.emit(to, t.splides);
1416
1416
  }
1417
1417
  function L() {
1418
- ot(e.Elements.list, io, n.direction === wn ? "vertical" : "");
1418
+ ot(e.Elements.list, io, n.direction === Tn ? "vertical" : "");
1419
1419
  }
1420
1420
  function x(u) {
1421
1421
  t.go(u.index);
1422
1422
  }
1423
1423
  function f(u, g) {
1424
- qn(fa, so(g)) && (x(u), Yt(g));
1424
+ qn(fa, so(g)) && (x(u), Kt(g));
1425
1425
  }
1426
1426
  return {
1427
- setup: ht(e.Media.set, {
1428
- slideFocus: Ue(r) ? o : r
1427
+ setup: yt(e.Media.set, {
1428
+ slideFocus: Ge(r) ? o : r
1429
1429
  }, !0),
1430
1430
  mount: i,
1431
1431
  destroy: s,
@@ -1435,16 +1435,16 @@ function ya(t, e, n) {
1435
1435
  function ha(t, e, n) {
1436
1436
  var o = bt(t), r = o.bind, l = 0;
1437
1437
  function i() {
1438
- n.wheel && r(e.Elements.track, "wheel", s, Se);
1438
+ n.wheel && r(e.Elements.track, "wheel", s, Ce);
1439
1439
  }
1440
1440
  function s(d) {
1441
1441
  if (d.cancelable) {
1442
1442
  var p = d.deltaY, L = p < 0, x = zn(d), f = n.wheelMinThreshold || 0, u = n.wheelSleep || 0;
1443
- Et(p) > f && x - l > u && (t.go(L ? "<" : ">"), l = x), c(L) && Yt(d);
1443
+ Ft(p) > f && x - l > u && (t.go(L ? "<" : ">"), l = x), c(L) && Kt(d);
1444
1444
  }
1445
1445
  }
1446
1446
  function c(d) {
1447
- return !n.releaseWheel || t.state.is(Ie) || e.Controller.getAdjacent(d) !== -1;
1447
+ return !n.releaseWheel || t.state.is(Ee) || e.Controller.getAdjacent(d) !== -1;
1448
1448
  }
1449
1449
  return {
1450
1450
  mount: i
@@ -1452,15 +1452,15 @@ function ha(t, e, n) {
1452
1452
  }
1453
1453
  var va = 90;
1454
1454
  function ba(t, e, n) {
1455
- var o = bt(t), r = o.on, l = e.Elements.track, i = n.live && !n.isNavigation, s = Ce("span", zi), c = bn(va, ht(p, !1));
1455
+ var o = bt(t), r = o.on, l = e.Elements.track, i = n.live && !n.isNavigation, s = Te("span", zi), c = Sn(va, yt(p, !1));
1456
1456
  function d() {
1457
- i && (x(!e.Autoplay.isPaused()), ot(l, To, !0), s.textContent = "…", r(eo, ht(x, !0)), r(no, ht(x, !1)), r([Le, fe], ht(p, !0)));
1457
+ i && (x(!e.Autoplay.isPaused()), ot(l, To, !0), s.textContent = "…", r(eo, yt(x, !0)), r(no, yt(x, !1)), r([Fe, he], yt(p, !0)));
1458
1458
  }
1459
1459
  function p(f) {
1460
- ot(l, wo, f), f ? (qe(l, s), c.start()) : (ge(s), c.cancel());
1460
+ ot(l, wo, f), f ? (Ye(l, s), c.start()) : (fe(s), c.cancel());
1461
1461
  }
1462
1462
  function L() {
1463
- Vt(l, [Co, To, wo]), ge(s);
1463
+ Dt(l, [Co, To, wo]), fe(s);
1464
1464
  }
1465
1465
  function x(f) {
1466
1466
  i && ot(l, Co, f ? "off" : "polite");
@@ -1535,7 +1535,7 @@ var Sa = /* @__PURE__ */ Object.freeze({
1535
1535
  function wa(t, e, n) {
1536
1536
  var o = e.Slides;
1537
1537
  function r() {
1538
- bt(t).on([le, Tt], l);
1538
+ bt(t).on([ce, Tt], l);
1539
1539
  }
1540
1540
  function l() {
1541
1541
  o.forEach(function(s) {
@@ -1552,7 +1552,7 @@ function wa(t, e, n) {
1552
1552
  };
1553
1553
  }
1554
1554
  function Ta(t, e, n) {
1555
- var o = e.Move, r = e.Controller, l = e.Scroll, i = e.Elements.list, s = ht(Pt, i, "transition"), c;
1555
+ var o = e.Move, r = e.Controller, l = e.Scroll, i = e.Elements.list, s = yt(zt, i, "transition"), c;
1556
1556
  function d() {
1557
1557
  bt(t).bind(i, "transitionend", function(f) {
1558
1558
  f.target === i && c && (L(), c());
@@ -1560,14 +1560,14 @@ function Ta(t, e, n) {
1560
1560
  }
1561
1561
  function p(f, u) {
1562
1562
  var g = o.toPosition(f, !0), w = o.getPosition(), v = x(f);
1563
- Et(g - w) >= 1 && v >= 1 ? n.useScroll ? l.scroll(g, v, !1, u) : (s("transform " + v + "ms " + n.easing), o.translate(g, !0), c = u) : (o.jump(f), u());
1563
+ Ft(g - w) >= 1 && v >= 1 ? n.useScroll ? l.scroll(g, v, !1, u) : (s("transform " + v + "ms " + n.easing), o.translate(g, !0), c = u) : (o.jump(f), u());
1564
1564
  }
1565
1565
  function L() {
1566
1566
  s(""), l.cancel();
1567
1567
  }
1568
1568
  function x(f) {
1569
1569
  var u = n.rewindSpeed;
1570
- if (t.is(Ae) && u) {
1570
+ if (t.is(Le) && u) {
1571
1571
  var g = r.getIndex(!0), w = r.getEnd();
1572
1572
  if (g === 0 && f >= w || g >= w && f === 0)
1573
1573
  return u;
@@ -1582,39 +1582,39 @@ function Ta(t, e, n) {
1582
1582
  }
1583
1583
  var _a = /* @__PURE__ */ (function() {
1584
1584
  function t(n, o) {
1585
- this.event = bt(), this.Components = {}, this.state = $i(xe), this.splides = [], this._o = {}, this._E = {};
1586
- var r = re(n) ? Go(document, n) : n;
1587
- We(r, r + " is invalid."), this.root = r, o = te({
1588
- label: zt(r, Rt) || "",
1589
- labelledby: zt(r, ro) || ""
1585
+ this.event = bt(), this.Components = {}, this.state = $i(we), this.splides = [], this._o = {}, this._E = {};
1586
+ var r = ae(n) ? Go(document, n) : n;
1587
+ Me(r, r + " is invalid."), this.root = r, o = ne({
1588
+ label: Ht(r, Rt) || "",
1589
+ labelledby: Ht(r, ro) || ""
1590
1590
  }, Ca, t.defaults, o || {});
1591
1591
  try {
1592
- te(o, JSON.parse(zt(r, Kn)));
1592
+ ne(o, JSON.parse(Ht(r, Kn)));
1593
1593
  } catch {
1594
- We(!1, "Invalid JSON");
1594
+ Me(!1, "Invalid JSON");
1595
1595
  }
1596
- this._o = Object.create(te({}, o));
1596
+ this._o = Object.create(ne({}, o));
1597
1597
  }
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(Je) ? wa : Ta), this._E = o || this._E;
1602
- var c = Ne({}, Sa, this._E, {
1601
+ Me(i.is([we, dn]), "Already mounted!"), i.set(we), this._C = s, this._T = r || this._T || (this.is(Ze) ? wa : Ta), this._E = o || this._E;
1602
+ var c = Oe({}, Sa, this._E, {
1603
1603
  Transition: this._T
1604
1604
  });
1605
- return de(c, function(d, p) {
1605
+ return me(c, function(d, p) {
1606
1606
  var L = d(l, s, l._o);
1607
1607
  s[p] = L, L.setup && L.setup();
1608
- }), de(s, function(d) {
1608
+ }), me(s, function(d) {
1609
1609
  d.mount && d.mount();
1610
- }), this.emit(le), Bt(this.root, Hi), i.set(_e), this.emit(On), this;
1610
+ }), this.emit(ce), Vt(this.root, Hi), i.set(Ae), this.emit(On), this;
1611
1611
  }, e.sync = function(o) {
1612
1612
  return this.splides.push({
1613
1613
  splide: o
1614
1614
  }), o.splides.push({
1615
1615
  splide: this,
1616
1616
  isParent: !0
1617
- }), this.state.is(_e) && (this._C.Sync.remount(), o.Components.Sync.remount()), this;
1617
+ }), this.state.is(Ae) && (this._C.Sync.remount(), o.Components.Sync.remount()), this;
1618
1618
  }, e.go = function(o) {
1619
1619
  return this._C.Controller.go(o), this;
1620
1620
  }, e.on = function(o, r) {
@@ -1623,7 +1623,7 @@ var _a = /* @__PURE__ */ (function() {
1623
1623
  return this.event.off(o), this;
1624
1624
  }, e.emit = function(o) {
1625
1625
  var r;
1626
- return (r = this.event).emit.apply(r, [o].concat(ae(arguments, 1))), this;
1626
+ return (r = this.event).emit.apply(r, [o].concat(se(arguments, 1))), this;
1627
1627
  }, e.add = function(o, r) {
1628
1628
  return this._C.Slides.add(o, r), this;
1629
1629
  }, e.remove = function(o) {
@@ -1635,9 +1635,9 @@ var _a = /* @__PURE__ */ (function() {
1635
1635
  }, e.destroy = function(o) {
1636
1636
  o === void 0 && (o = !0);
1637
1637
  var r = this.event, l = this.state;
1638
- return l.is(xe) ? bt(this).on(On, this.destroy.bind(this, o)) : (de(this._C, function(i) {
1638
+ return l.is(we) ? bt(this).on(On, this.destroy.bind(this, o)) : (me(this._C, function(i) {
1639
1639
  i.destroy && i.destroy(o);
1640
- }, !0), r.emit(Qn), r.destroy(), o && Zt(this.splides), l.set(un)), this;
1640
+ }, !0), r.emit(Qn), r.destroy(), o && te(this.splides), l.set(dn)), this;
1641
1641
  }, xi(t, [{
1642
1642
  key: "options",
1643
1643
  get: function() {
@@ -1661,10 +1661,10 @@ var _a = /* @__PURE__ */ (function() {
1661
1661
  co.defaults = {};
1662
1662
  co.STATES = wi;
1663
1663
  var Io = [
1664
- [le, "onMounted"],
1664
+ [ce, "onMounted"],
1665
1665
  [On, "onReady"],
1666
- [Qt, "onMove"],
1667
- [Le, "onMoved"],
1666
+ [ee, "onMove"],
1667
+ [Fe, "onMoved"],
1668
1668
  [Zn, "onClick"],
1669
1669
  [Xo, "onActive"],
1670
1670
  [Ko, "onInactive"],
@@ -1672,13 +1672,13 @@ var Io = [
1672
1672
  [Zo, "onHidden"],
1673
1673
  [Tt, "onRefresh"],
1674
1674
  [Lt, "onUpdated"],
1675
- [$e, "onResize"],
1676
- [hn, "onResized"],
1675
+ [Ie, "onResize"],
1676
+ [vn, "onResized"],
1677
1677
  [Qo, "onDrag"],
1678
1678
  [tr, "onDragging"],
1679
1679
  [er, "onDragged"],
1680
- [vn, "onScroll"],
1681
- [fe, "onScrolled"],
1680
+ [bn, "onScroll"],
1681
+ [he, "onScrolled"],
1682
1682
  [Qn, "onDestroy"],
1683
1683
  [nr, "onArrowsMounted"],
1684
1684
  [or, "onArrowsUpdated"],
@@ -1693,13 +1693,13 @@ var Io = [
1693
1693
  function po(...t) {
1694
1694
  return t.filter(Boolean).join(" ");
1695
1695
  }
1696
- function fn(t) {
1696
+ function yn(t) {
1697
1697
  return t !== null && typeof t == "object";
1698
1698
  }
1699
1699
  function Dn(t, e) {
1700
1700
  if (Array.isArray(t) && Array.isArray(e))
1701
1701
  return t.length === e.length && !t.some((n, o) => !Dn(n, e[o]));
1702
- if (fn(t) && fn(e)) {
1702
+ if (yn(t) && yn(e)) {
1703
1703
  const n = Object.keys(t), o = Object.keys(e);
1704
1704
  return n.length === o.length && !n.some((r) => !Object.prototype.hasOwnProperty.call(e, r) || !Dn(t[r], e[r]));
1705
1705
  }
@@ -1722,17 +1722,17 @@ function Aa(t, e) {
1722
1722
  function jn(t, e) {
1723
1723
  const n = t;
1724
1724
  return Aa(e, (o, r) => {
1725
- Array.isArray(o) ? n[r] = o.slice() : fn(o) ? n[r] = jn(fn(n[r]) ? n[r] : {}, o) : n[r] = o;
1725
+ Array.isArray(o) ? n[r] = o.slice() : yn(o) ? n[r] = jn(yn(n[r]) ? n[r] : {}, o) : n[r] = o;
1726
1726
  }), n;
1727
1727
  }
1728
- var Ia = ({ children: t, className: e, ...n }) => /* @__PURE__ */ ue.createElement("div", {
1728
+ var Ia = ({ children: t, className: e, ...n }) => /* @__PURE__ */ ge.createElement("div", {
1729
1729
  className: po("splide__track", e),
1730
1730
  ...n
1731
- }, /* @__PURE__ */ ue.createElement("ul", {
1731
+ }, /* @__PURE__ */ ge.createElement("ul", {
1732
1732
  className: "splide__list"
1733
- }, t)), Cr = class extends ue.Component {
1733
+ }, t)), Cr = class extends ge.Component {
1734
1734
  constructor() {
1735
- super(...arguments), this.splideRef = ue.createRef(), this.slides = [];
1735
+ super(...arguments), this.splideRef = ge.createRef(), this.slides = [];
1736
1736
  }
1737
1737
  componentDidMount() {
1738
1738
  const { options: t, extensions: e, transition: n } = this.props, { current: o } = this.splideRef;
@@ -1780,13 +1780,13 @@ var Ia = ({ children: t, className: e, ...n }) => /* @__PURE__ */ ue.createEleme
1780
1780
  }
1781
1781
  render() {
1782
1782
  const { className: t, tag: e = "div", hasTrack: n = !0, children: o, ...r } = this.props;
1783
- return /* @__PURE__ */ ue.createElement(e, {
1783
+ return /* @__PURE__ */ ge.createElement(e, {
1784
1784
  className: po("splide", t),
1785
1785
  ref: this.splideRef,
1786
1786
  ...this.omit(r, ["options", ...Io.map((l) => l[1])])
1787
- }, n ? /* @__PURE__ */ ue.createElement(Ia, null, o) : o);
1787
+ }, n ? /* @__PURE__ */ ge.createElement(Ia, null, o) : o);
1788
1788
  }
1789
- }, wr = ({ children: t, className: e, ...n }) => /* @__PURE__ */ ue.createElement("li", {
1789
+ }, wr = ({ children: t, className: e, ...n }) => /* @__PURE__ */ ge.createElement("li", {
1790
1790
  className: po("splide__slide", e),
1791
1791
  ...n
1792
1792
  }, t);
@@ -1798,9 +1798,9 @@ var Ia = ({ children: t, className: e, ...n }) => /* @__PURE__ */ ue.createEleme
1798
1798
  */
1799
1799
  const La = "RichTextRenderer-module__link___BWeZ2", Ea = {
1800
1800
  link: La
1801
- }, De = ({ content: t }) => {
1801
+ }, je = ({ content: t }) => {
1802
1802
  const e = (n) => n.map((o, r) => o.type === "link" ? /* @__PURE__ */ h("a", { className: Ea.link, href: o.value, target: o.target, children: e(o.children) }, r) : /* @__PURE__ */ h("span", { style: Fa(o), children: o.text }, r));
1803
- return /* @__PURE__ */ h(ne, { children: t.map((n, o) => {
1803
+ return /* @__PURE__ */ h(re, { children: t.map((n, o) => {
1804
1804
  const r = n.children;
1805
1805
  return /* @__PURE__ */ h("div", { children: e(r) }, o);
1806
1806
  }) });
@@ -1825,8 +1825,8 @@ const ka = "SvgImage-module__svg___q3xE-", Ra = "SvgImage-module__img___VsTm-",
1825
1825
  }, Wa = (t) => {
1826
1826
  const e = t.trim();
1827
1827
  return e.startsWith("data:image/svg+xml") ? !0 : (e.split(/[?#]/)[0] ?? e).endsWith(".svg");
1828
- }, Ma = (t) => `url("${t.replace(/\\/g, "\\\\").replace(/"/g, '\\"')}")`, oe = ({ url: t, fill: e = "#000000", hoverFill: n = "#CCCCCC", className: o = "", style: r }) => {
1829
- const [l, i] = pt(() => typeof window > "u" ? !0 : CSS.supports("mask-image", 'url("")') || CSS.supports("-webkit-mask-image", 'url("")'));
1828
+ }, Ma = (t) => `url("${t.replace(/\\/g, "\\\\").replace(/"/g, '\\"')}")`, ie = ({ url: t, fill: e = "#000000", hoverFill: n = "#CCCCCC", className: o = "", style: r }) => {
1829
+ const [l, i] = ct(() => 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) {
1832
1832
  const s = CSS.supports("mask-image", 'url("")') || CSS.supports("-webkit-mask-image", 'url("")');
@@ -1857,7 +1857,7 @@ const ka = "SvgImage-module__svg___q3xE-", Ra = "SvgImage-module__img___VsTm-",
1857
1857
  "bottom-right": J.bottomRightAlignment
1858
1858
  };
1859
1859
  function za({ 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: L, textAppearance: x, color: f } = n.imageCaption, [u, g] = pt(void 0), [w, v] = pt(null), [b, I] = pt(0), [G, N] = pt(0), { direction: T, transition: S, controls: k, pagination: C, imageCaption: O, triggers: W } = t, H = Ct(S.type), { x: z, y: q } = t.controls.offset, D = (m) => {
1860
+ const [r, l] = ct(null), { widthSettings: i, fontSettings: s, letterSpacing: c, textAlign: d, wordSpacing: p, fontSizeLineHeight: L, textAppearance: x, color: f } = n.imageCaption, [u, g] = ct(void 0), [w, v] = ct(null), [b, I] = ct(0), [G, N] = ct(0), { direction: T, transition: S, controls: k, pagination: C, imageCaption: O, triggers: W } = t, H = Ct(S.type), { x: z, y: q } = t.controls.offset, D = (m) => {
1861
1861
  r && r.go(m);
1862
1862
  };
1863
1863
  return $t(() => {
@@ -1926,7 +1926,7 @@ function za({ settings: t, content: e, styles: n, isEditor: o }) {
1926
1926
  top: F(O.offset.y, o),
1927
1927
  left: F(O.offset.x, o)
1928
1928
  },
1929
- children: /* @__PURE__ */ h(De, { content: m.imageCaption })
1929
+ children: /* @__PURE__ */ h(je, { content: m.imageCaption })
1930
1930
  }
1931
1931
  )
1932
1932
  },
@@ -1985,7 +1985,7 @@ function za({ settings: t, content: e, styles: n, isEditor: o }) {
1985
1985
  },
1986
1986
  G
1987
1987
  ),
1988
- k.isActive && /* @__PURE__ */ dt(ne, { children: [
1988
+ k.isActive && /* @__PURE__ */ dt(re, { children: [
1989
1989
  /* @__PURE__ */ h(
1990
1990
  "div",
1991
1991
  {
@@ -2009,7 +2009,7 @@ function za({ settings: t, content: e, styles: n, isEditor: o }) {
2009
2009
  },
2010
2010
  children: [
2011
2011
  k.arrowsImgUrl && /* @__PURE__ */ h(
2012
- oe,
2012
+ ie,
2013
2013
  {
2014
2014
  url: k.arrowsImgUrl,
2015
2015
  fill: k.color,
@@ -2044,7 +2044,7 @@ function za({ settings: t, content: e, styles: n, isEditor: o }) {
2044
2044
  },
2045
2045
  children: [
2046
2046
  k.arrowsImgUrl && /* @__PURE__ */ h(
2047
- oe,
2047
+ ie,
2048
2048
  {
2049
2049
  url: k.arrowsImgUrl,
2050
2050
  fill: k.color,
@@ -2726,7 +2726,7 @@ const Ha = {
2726
2726
  },
2727
2727
  required: ["settings", "content", "styles"]
2728
2728
  }
2729
- }, Na = "ImageRevealSlider-module__imageRevealSlider___UE5Ob", Oa = "ImageRevealSlider-module__image___Qjt-e", Ba = "ImageRevealSlider-module__link___N-iLG", Va = "ImageRevealSlider-module__cursor___2U03d", he = {
2729
+ }, Na = "ImageRevealSlider-module__imageRevealSlider___UE5Ob", Oa = "ImageRevealSlider-module__image___Qjt-e", Ba = "ImageRevealSlider-module__link___N-iLG", Va = "ImageRevealSlider-module__cursor___2U03d", be = {
2730
2730
  imageRevealSlider: Na,
2731
2731
  image: Oa,
2732
2732
  link: Ba,
@@ -2767,7 +2767,7 @@ async function Da(t, e, n, o) {
2767
2767
  return { width: r, height: l, finalWidth: `${r}px` };
2768
2768
  }
2769
2769
  function ja({ settings: t, content: e, isEditor: n }) {
2770
- const [o, r] = pt(null), [l, i] = pt([]), [s, c] = pt(0), d = Ct(0), [p, L] = pt({ x: 0, y: 0 }), [x, f] = pt(1), [u, g] = pt("none"), w = Ct({ x: 0, y: 0 }), [v, b] = pt(!1), { sizeType: I, imageWidth: G, randomRangeImageWidth: N } = t.imageSize, { revealPosition: T, visible: S } = t.position, { cursorType: k, target: C, defaultCursorScale: O, defaultCursor: W, hoverCursorScale: H, hoverCursor: z } = t.cursor;
2770
+ const [o, r] = ct(null), [l, i] = ct([]), [s, c] = ct(0), d = Ct(0), [p, L] = ct({ x: 0, y: 0 }), [x, f] = ct(1), [u, g] = ct("none"), w = Ct({ x: 0, y: 0 }), [v, b] = ct(!1), { sizeType: I, imageWidth: G, randomRangeImageWidth: N } = t.imageSize, { revealPosition: T, visible: S } = t.position, { cursorType: k, target: C, defaultCursorScale: O, defaultCursor: W, hoverCursorScale: H, hoverCursor: z } = t.cursor;
2771
2771
  $t(() => {
2772
2772
  if (!o) return;
2773
2773
  const m = ($, _) => {
@@ -2776,13 +2776,13 @@ function ja({ settings: t, content: e, isEditor: n }) {
2776
2776
  g("none"), f(1);
2777
2777
  return;
2778
2778
  }
2779
- const tt = K, rt = it, M = document.elementFromPoint(E.left + tt, E.top + rt);
2779
+ const et = K, rt = it, M = document.elementFromPoint(E.left + et, E.top + rt);
2780
2780
  if (M && M.closest("a")) {
2781
2781
  g("none"), f(1);
2782
2782
  return;
2783
2783
  }
2784
- const Z = Fo(tt, rt, l) || C === "area" ? { img: z ?? "none", scale: H } : { img: W ?? "none", scale: O };
2785
- g(Z.img), f(Z.scale);
2784
+ const Q = Fo(et, rt, l) || C === "area" ? { img: z ?? "none", scale: H } : { img: W ?? "none", scale: O };
2785
+ g(Q.img), f(Q.scale);
2786
2786
  }, R = ($) => {
2787
2787
  $.stopPropagation(), w.current = { x: $.clientX, y: $.clientY }, m($.clientX, $.clientY);
2788
2788
  }, A = () => {
@@ -2812,9 +2812,9 @@ function ja({ settings: t, content: e, isEditor: n }) {
2812
2812
  G,
2813
2813
  N
2814
2814
  );
2815
- let it = 0, tt = 0;
2816
- T === "same" ? (it = R / 2, tt = A / 2) : (it = $.x ?? Math.random() * R, tt = $.y ?? Math.random() * A);
2817
- const rt = Math.min(Math.max(it, _ / 2), R - _ / 2), M = Math.min(Math.max(tt, E / 2), A - E / 2);
2815
+ let it = 0, et = 0;
2816
+ T === "same" ? (it = R / 2, et = A / 2) : (it = $.x ?? Math.random() * R, et = $.y ?? Math.random() * A);
2817
+ const rt = Math.min(Math.max(it, _ / 2), R - _ / 2), M = Math.min(Math.max(et, E / 2), A - E / 2);
2818
2818
  return {
2819
2819
  id: d.current++,
2820
2820
  url: m.image.url,
@@ -2845,17 +2845,17 @@ function ja({ settings: t, content: e, isEditor: n }) {
2845
2845
  let _ = 0, E = 0;
2846
2846
  T === "on Click" ? (_ = A, E = $) : T === "same" ? (_ = R.width / 2, E = R.height / 2) : (_ = Math.random() * R.width, E = Math.random() * R.height);
2847
2847
  const K = e[s], it = await q(K, R.width, R.height, { x: _, y: E });
2848
- i((tt) => S === "all" ? [...tt, it] : [it]), c((tt) => tt >= e.length - 1 ? 0 : tt + 1);
2848
+ i((et) => S === "all" ? [...et, it] : [it]), c((et) => et >= e.length - 1 ? 0 : et + 1);
2849
2849
  },
2850
2850
  onMouseEnter: () => b(!0),
2851
2851
  onMouseLeave: () => b(!1),
2852
- className: he.imageRevealSlider,
2852
+ className: be.imageRevealSlider,
2853
2853
  style: { cursor: u === "none" ? "default" : "none" },
2854
2854
  children: [
2855
2855
  l.map((m) => /* @__PURE__ */ h(
2856
2856
  "div",
2857
2857
  {
2858
- className: he.wrapper,
2858
+ className: be.wrapper,
2859
2859
  style: {
2860
2860
  top: `${m.y}px`,
2861
2861
  left: `${m.x}px`,
@@ -2865,12 +2865,12 @@ function ja({ settings: t, content: e, isEditor: n }) {
2865
2865
  height: "auto",
2866
2866
  cursor: u === "none" ? "default" : "none"
2867
2867
  },
2868
- children: C === "area" && m.link ? /* @__PURE__ */ h("a", { href: m.link, target: "_blank", className: he.link, children: /* @__PURE__ */ h(
2868
+ children: C === "area" && m.link ? /* @__PURE__ */ h("a", { href: m.link, target: "_blank", className: be.link, children: /* @__PURE__ */ h(
2869
2869
  "img",
2870
2870
  {
2871
2871
  src: m.url,
2872
2872
  alt: m.name,
2873
- className: he.image
2873
+ className: be.image
2874
2874
  },
2875
2875
  m.id
2876
2876
  ) }) : /* @__PURE__ */ h(
@@ -2878,7 +2878,7 @@ function ja({ settings: t, content: e, isEditor: n }) {
2878
2878
  {
2879
2879
  src: m.url,
2880
2880
  alt: m.name,
2881
- className: he.image
2881
+ className: be.image
2882
2882
  },
2883
2883
  m.id
2884
2884
  )
@@ -2888,7 +2888,7 @@ function ja({ settings: t, content: e, isEditor: n }) {
2888
2888
  v && /* @__PURE__ */ h(
2889
2889
  "div",
2890
2890
  {
2891
- className: he.cursor,
2891
+ className: be.cursor,
2892
2892
  style: {
2893
2893
  left: `${p.x}px`,
2894
2894
  top: `${p.y}px`,
@@ -3258,7 +3258,7 @@ const Ua = {
3258
3258
  slideOutTop: Al,
3259
3259
  slideOutBottom: Il,
3260
3260
  scaleSlide: Ll
3261
- }, en = (t, e, n) => {
3261
+ }, nn = (t, e, n) => {
3262
3262
  const o = {}, [r, l] = t.split("-");
3263
3263
  return r === "top" ? (o.top = "0", o.bottom = "auto") : r === "middle" ? (o.top = "50%", o.bottom = "auto") : r === "bottom" && (o.top = "auto", o.bottom = "0"), l === "left" ? (o.left = "0", o.right = "auto") : l === "center" ? (o.left = "50%", o.right = "auto") : l === "right" && (o.left = "auto", o.right = "0"), r === "middle" && l === "center" ? o.transform = `translate(calc(-50% + ${F(e.x, n)}), calc(-50% + ${F(e.y, n)}))` : r === "middle" ? o.transform = `translate(${F(e.x, n)}, calc(-50% + ${F(e.y, n)}))` : l === "center" ? o.transform = `translate(calc(-50% + ${F(e.x, n)}), ${F(e.y, n)})` : o.transform = `translate(${F(e.x, n)}, ${F(e.y, n)})`, o;
3264
3264
  };
@@ -3374,10 +3374,10 @@ function El(t, e) {
3374
3374
  return { appearClass: n, backdropAppearClass: o, backdropDisappearClass: r, disappearClass: l };
3375
3375
  }
3376
3376
  const Fl = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, isEditor: l }) => {
3377
- const [i, s] = pt(!1), { url: c } = t.thumbnailBlock.cover;
3377
+ const [i, s] = ct(!1), { url: c } = t.thumbnailBlock.cover;
3378
3378
  return $t(() => {
3379
3379
  r === "close" && s(!1), r === "open" && s(!0);
3380
- }, [r]), /* @__PURE__ */ dt(ne, { children: [
3380
+ }, [r]), /* @__PURE__ */ dt(re, { children: [
3381
3381
  /* @__PURE__ */ h(
3382
3382
  "img",
3383
3383
  {
@@ -3402,7 +3402,7 @@ const Fl = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3402
3402
  ] });
3403
3403
  }, kl = ({ isOpen: t, onClose: e, content: n, lightboxStyles: o, settings: r, portalId: l, isEditor: i, metadata: s }) => {
3404
3404
  var j;
3405
- const [c, d] = pt(0), [p, L] = pt(0), [x, f] = pt(!1), [u, g] = pt(!1), [w, v] = pt({}), b = Ct(null), I = Ct(null), G = Ct(null), N = Ct(!1), T = Ct(null), S = Ct(null), k = Ct(null), C = Ct(null), O = Ct(!1), W = Ct(null), [H, z] = pt(!1), { appear: q, triggers: D, slider: m, thumbnail: R, controls: A, area: $, caption: _, layout: E } = r.lightboxBlock, { appearClass: K, backdropAppearClass: it, backdropDisappearClass: tt, disappearClass: rt } = El(q.type, q.direction), M = (s == null ? void 0 : s.itemId) ?? null;
3405
+ const [c, d] = ct(0), [p, L] = ct(0), [x, f] = ct(!1), [u, g] = ct(!1), [w, v] = ct({}), b = Ct(null), I = Ct(null), G = Ct(null), N = Ct(!1), T = Ct(null), S = Ct(null), k = Ct(null), C = Ct(null), O = Ct(!1), W = Ct(null), [H, z] = ct(!1), { appear: q, triggers: D, slider: m, thumbnail: R, controls: A, area: $, caption: _, layout: E } = r.lightboxBlock, { appearClass: K, backdropAppearClass: it, backdropDisappearClass: et, disappearClass: rt } = El(q.type, q.direction), M = (s == null ? void 0 : s.itemId) ?? null;
3406
3406
  $t(() => {
3407
3407
  const a = () => {
3408
3408
  setTimeout(() => {
@@ -3429,7 +3429,7 @@ const Fl = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3429
3429
  const P = new ResizeObserver(y);
3430
3430
  return P.observe(a), () => P.disconnect();
3431
3431
  }, [t, R.isActive, n.length, w, m.direction]);
3432
- const Z = ve(() => {
3432
+ const Q = Se(() => {
3433
3433
  const a = window.matchMedia("(max-width: 768px)").matches, y = Wo($.color);
3434
3434
  a && !i && y > 0.9 && (document.body.style.backgroundColor = ""), f(!0), N.current = !0;
3435
3435
  const P = (B) => {
@@ -3440,14 +3440,14 @@ const Fl = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3440
3440
  var B, V;
3441
3441
  if (a) {
3442
3442
  if (D.type === "click" && D.switch === "image")
3443
- D.repeat === "close" && c === n.length - 1 ? Z() : (B = b.current) == null || B.go("+1");
3443
+ D.repeat === "close" && c === n.length - 1 ? Q() : (B = b.current) == null || B.go("+1");
3444
3444
  else if (D.type === "click" && D.switch === "50/50") {
3445
- const Y = a.getBoundingClientRect(), X = y - Y.left, Q = P - Y.top, et = Y.width, at = Y.height;
3446
- let lt;
3447
- m.direction === "horiz" ? lt = X < et / 2 ? "-1" : "+1" : lt = Q < at / 2 ? "-1" : "+1", (V = b.current) == null || V.go(lt);
3445
+ const Y = a.getBoundingClientRect(), X = y - Y.left, tt = P - Y.top, nt = Y.width, at = Y.height;
3446
+ let st;
3447
+ m.direction === "horiz" ? st = X < nt / 2 ? "-1" : "+1" : st = tt < at / 2 ? "-1" : "+1", (V = b.current) == null || V.go(st);
3448
3448
  }
3449
3449
  }
3450
- }, st = (a) => {
3450
+ }, lt = (a) => {
3451
3451
  if (O.current) {
3452
3452
  O.current = !1;
3453
3453
  return;
@@ -3467,22 +3467,22 @@ const Fl = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3467
3467
  } else {
3468
3468
  const X = G.current ? ko(G.current) : null;
3469
3469
  if (!X) {
3470
- a.target === a.currentTarget && Z();
3470
+ a.target === a.currentTarget && Q();
3471
3471
  return;
3472
3472
  }
3473
3473
  Y = B >= X.x && B <= X.x + X.width && V >= X.y && V <= X.y + X.height;
3474
3474
  }
3475
- Y ? gt(G.current, B, V) : Z();
3475
+ Y ? gt(G.current, B, V) : Q();
3476
3476
  }, mt = (a) => {
3477
3477
  const y = a.target;
3478
- (y.classList.contains(U.thumbsWrapper) || y.classList.contains(U.thumbsContainer)) && st(a);
3478
+ (y.classList.contains(U.thumbsWrapper) || y.classList.contains(U.thumbsContainer)) && lt(a);
3479
3479
  };
3480
3480
  $t(() => {
3481
3481
  if (!t) return;
3482
3482
  const a = (y) => {
3483
3483
  var P, B;
3484
3484
  if (y.key === "Escape") {
3485
- Z();
3485
+ Q();
3486
3486
  return;
3487
3487
  }
3488
3488
  if (y.key === "ArrowRight") {
@@ -3494,7 +3494,7 @@ const Fl = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3494
3494
  return window.addEventListener("keydown", a), () => {
3495
3495
  window.removeEventListener("keydown", a);
3496
3496
  };
3497
- }, [t, Z, n.length]), $t(() => {
3497
+ }, [t, Q, n.length]), $t(() => {
3498
3498
  if (t) {
3499
3499
  if (d(0), L((y) => y + 1), N.current = !1, f(!1), g(!1), v({}), !M) return;
3500
3500
  const a = new CustomEvent("page-overlay", { detail: { itemId: M } });
@@ -3540,22 +3540,22 @@ const Fl = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3540
3540
  return;
3541
3541
  }
3542
3542
  if (y.touches.length === 0 && y.changedTouches.length > 0) {
3543
- const Y = n[c], X = (Y == null ? void 0 : Y.image.objectFit) === "cover", Q = y.changedTouches[0];
3544
- let et;
3543
+ const Y = n[c], X = (Y == null ? void 0 : Y.image.objectFit) === "cover", tt = y.changedTouches[0];
3544
+ let nt;
3545
3545
  if (X && G.current) {
3546
3546
  const at = Ro(G.current);
3547
- et = Q.clientX >= at.left && Q.clientX <= at.right && Q.clientY >= at.top && Q.clientY <= at.bottom;
3547
+ nt = tt.clientX >= at.left && tt.clientX <= at.right && tt.clientY >= at.top && tt.clientY <= at.bottom;
3548
3548
  } else {
3549
3549
  const at = G.current ? ko(G.current) : null;
3550
3550
  if (!at) return;
3551
- et = Q.clientX >= at.x && Q.clientX <= at.x + at.width && Q.clientY >= at.y && Q.clientY <= at.y + at.height;
3551
+ nt = tt.clientX >= at.x && tt.clientX <= at.x + at.width && tt.clientY >= at.y && tt.clientY <= at.y + at.height;
3552
3552
  }
3553
- if (!et) {
3553
+ if (!nt) {
3554
3554
  y.stopPropagation(), N.current = !0;
3555
- const at = (lt) => {
3556
- lt.stopPropagation(), lt.preventDefault(), document.removeEventListener("click", at, !0);
3555
+ const at = (st) => {
3556
+ st.stopPropagation(), st.preventDefault(), document.removeEventListener("click", at, !0);
3557
3557
  };
3558
- document.addEventListener("click", at, !0), Z();
3558
+ document.addEventListener("click", at, !0), Q();
3559
3559
  }
3560
3560
  }
3561
3561
  }
@@ -3563,46 +3563,46 @@ const Fl = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3563
3563
  return document.addEventListener("touchend", a, { passive: !0 }), () => {
3564
3564
  document.removeEventListener("touchend", a);
3565
3565
  };
3566
- }, [t, Z, c, n]);
3567
- const vt = (m.type === "scale" || m.type === "fade") && m.direction === "vert" && D.type === "drag";
3566
+ }, [t, Q, c, n]);
3567
+ const ht = (m.type === "scale" || m.type === "fade") && m.direction === "vert" && D.type === "drag";
3568
3568
  $t(() => {
3569
- var lt, wt;
3570
- if (!t || !vt || !((wt = (lt = b.current) == null ? void 0 : lt.splide) != null && wt.root)) return;
3571
- const a = b.current.splide.root, y = 30, P = (nt, ct) => {
3569
+ var st, wt;
3570
+ if (!t || !ht || !((wt = (st = b.current) == null ? void 0 : st.splide) != null && wt.root)) return;
3571
+ const a = b.current.splide.root, y = 30, P = (Z, pt) => {
3572
3572
  if (C.current) {
3573
- const yt = Math.abs(nt - C.current.x), Ft = Math.abs(ct - C.current.y);
3574
- (yt > 0 || Ft > 0) && (O.current = !0);
3573
+ const vt = Math.abs(Z - C.current.x), Et = Math.abs(pt - C.current.y);
3574
+ (vt > 0 || Et > 0) && (O.current = !0);
3575
3575
  }
3576
- }, B = (nt) => {
3577
- C.current && (nt.preventDefault(), P(nt.clientX, nt.clientY));
3578
- }, V = (nt) => {
3579
- C.current && nt.touches.length > 0 && (nt.preventDefault(), P(nt.touches[0].clientX, nt.touches[0].clientY));
3580
- }, Y = (nt, ct) => {
3576
+ }, B = (Z) => {
3577
+ C.current && (Z.preventDefault(), P(Z.clientX, Z.clientY));
3578
+ }, V = (Z) => {
3579
+ C.current && Z.touches.length > 0 && (Z.preventDefault(), P(Z.touches[0].clientX, Z.touches[0].clientY));
3580
+ }, Y = (Z, pt) => {
3581
3581
  if (!C.current || !b.current) {
3582
3582
  C.current = null;
3583
3583
  return;
3584
3584
  }
3585
- const yt = Math.abs(nt - C.current.x), Ft = Math.abs(ct - C.current.y);
3586
- Ft > y && Ft > yt && b.current.go(ct < C.current.y ? "+1" : "-1"), C.current = null;
3587
- }, X = (nt) => {
3588
- C.current && Y(nt.clientX, nt.clientY), document.removeEventListener("pointerup", X), document.removeEventListener("pointercancel", X), document.removeEventListener("pointermove", B);
3589
- }, Q = (nt) => {
3585
+ const vt = Math.abs(Z - C.current.x), Et = Math.abs(pt - C.current.y);
3586
+ Et > y && Et > vt && b.current.go(pt < C.current.y ? "+1" : "-1"), C.current = null;
3587
+ }, X = (Z) => {
3588
+ C.current && Y(Z.clientX, Z.clientY), document.removeEventListener("pointerup", X), document.removeEventListener("pointercancel", X), document.removeEventListener("pointermove", B);
3589
+ }, tt = (Z) => {
3590
3590
  if (C.current) {
3591
- if (nt.changedTouches.length > 0) {
3592
- const ct = nt.changedTouches[0];
3593
- Y(ct.clientX, ct.clientY);
3591
+ if (Z.changedTouches.length > 0) {
3592
+ const pt = Z.changedTouches[0];
3593
+ Y(pt.clientX, pt.clientY);
3594
3594
  }
3595
- document.removeEventListener("touchend", Q), document.removeEventListener("touchcancel", Q), document.removeEventListener("touchmove", V);
3595
+ document.removeEventListener("touchend", tt), document.removeEventListener("touchcancel", tt), document.removeEventListener("touchmove", V);
3596
3596
  }
3597
- }, et = (nt) => {
3598
- C.current = { x: nt.clientX, y: nt.clientY }, O.current = !1, document.addEventListener("pointermove", B, { passive: !1 }), document.addEventListener("pointerup", X), document.addEventListener("pointercancel", X);
3599
- }, at = (nt) => {
3600
- nt.touches.length > 0 && (C.current = { x: nt.touches[0].clientX, y: nt.touches[0].clientY }, O.current = !1, document.addEventListener("touchmove", V, { passive: !1 }), document.addEventListener("touchend", Q), document.addEventListener("touchcancel", Q));
3597
+ }, nt = (Z) => {
3598
+ C.current = { x: Z.clientX, y: Z.clientY }, O.current = !1, document.addEventListener("pointermove", B, { passive: !1 }), document.addEventListener("pointerup", X), document.addEventListener("pointercancel", X);
3599
+ }, at = (Z) => {
3600
+ Z.touches.length > 0 && (C.current = { x: Z.touches[0].clientX, y: Z.touches[0].clientY }, O.current = !1, document.addEventListener("touchmove", V, { passive: !1 }), document.addEventListener("touchend", tt), document.addEventListener("touchcancel", tt));
3601
3601
  };
3602
- return a.addEventListener("pointerdown", et), a.addEventListener("touchstart", at), () => {
3603
- a.removeEventListener("pointerdown", et), a.removeEventListener("touchstart", at), document.removeEventListener("pointermove", B), document.removeEventListener("pointerup", X), document.removeEventListener("pointercancel", X), document.removeEventListener("touchmove", V), document.removeEventListener("touchend", Q), document.removeEventListener("touchcancel", Q), C.current = null, O.current = !1;
3602
+ return a.addEventListener("pointerdown", nt), a.addEventListener("touchstart", at), () => {
3603
+ a.removeEventListener("pointerdown", nt), a.removeEventListener("touchstart", at), document.removeEventListener("pointermove", B), document.removeEventListener("pointerup", X), document.removeEventListener("pointercancel", X), document.removeEventListener("touchmove", V), document.removeEventListener("touchend", tt), document.removeEventListener("touchcancel", tt), C.current = null, O.current = !1;
3604
3604
  };
3605
- }, [t, vt, p]);
3605
+ }, [t, ht, p]);
3606
3606
  const It = {
3607
3607
  backgroundColor: $.color,
3608
3608
  backdropFilter: `blur(${$.blur}px)`,
@@ -3611,12 +3611,12 @@ const Fl = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3611
3611
  animationFillMode: "both"
3612
3612
  };
3613
3613
  return typeof document > "u" || !document.getElementById(l) ? null : Er(
3614
- /* @__PURE__ */ dt(ne, { children: [
3614
+ /* @__PURE__ */ dt(re, { children: [
3615
3615
  /* @__PURE__ */ h(
3616
3616
  "div",
3617
3617
  {
3618
3618
  ref: i ? null : T,
3619
- className: ut(U.background, x ? tt : it, { [U.editor]: i }, { [U.hidden]: !t }),
3619
+ className: ut(U.background, x ? et : it, { [U.editor]: i }, { [U.hidden]: !t }),
3620
3620
  style: {
3621
3621
  ...It,
3622
3622
  ...u && !i && !x ? { position: "absolute" } : {}
@@ -3646,7 +3646,7 @@ const Fl = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3646
3646
  direction: m.direction === "horiz" || m.type === "fade" || m.type === "scale" ? "ltr" : "ttb",
3647
3647
  pagination: !1,
3648
3648
  // Disable Splide's drag when we need custom vertical drag handling
3649
- drag: D.type === "drag" && !vt,
3649
+ drag: D.type === "drag" && !ht,
3650
3650
  perPage: 1,
3651
3651
  width: "100%",
3652
3652
  height: "100%",
@@ -3657,7 +3657,7 @@ const Fl = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3657
3657
  },
3658
3658
  style: { "--splide-speed": m.duration },
3659
3659
  children: n.map((a, y) => {
3660
- const P = en(E.position, E.offset, i), B = `${F(E.padding.top, i)} ${F(E.padding.right, i)} ${F(E.padding.bottom, i)} ${F(E.padding.left, i)}`, V = m.type === "scale" ? (() => {
3660
+ const P = nn(E.position, E.offset, i), B = `${F(E.padding.top, i)} ${F(E.padding.right, i)} ${F(E.padding.bottom, i)} ${F(E.padding.left, i)}`, V = m.type === "scale" ? (() => {
3661
3661
  const { transform: Y, ...X } = P;
3662
3662
  return {
3663
3663
  ...X,
@@ -3667,7 +3667,7 @@ const Fl = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3667
3667
  "--position-transform": Y || "none"
3668
3668
  };
3669
3669
  })() : { ...P, position: "absolute", padding: B, boxSizing: "border-box" };
3670
- return /* @__PURE__ */ h(wr, { children: /* @__PURE__ */ h("div", { className: U.imgWrapper, onClick: st, children: /* @__PURE__ */ h(
3670
+ return /* @__PURE__ */ h(wr, { children: /* @__PURE__ */ h("div", { className: U.imgWrapper, onClick: lt, children: /* @__PURE__ */ h(
3671
3671
  "img",
3672
3672
  {
3673
3673
  ref: y === c ? G : null,
@@ -3685,7 +3685,7 @@ const Fl = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3685
3685
  },
3686
3686
  p
3687
3687
  ),
3688
- A.isActive && /* @__PURE__ */ dt(ne, { children: [
3688
+ A.isActive && /* @__PURE__ */ dt(re, { children: [
3689
3689
  /* @__PURE__ */ h(
3690
3690
  "div",
3691
3691
  {
@@ -3703,7 +3703,7 @@ const Fl = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3703
3703
  "aria-label": "Previous",
3704
3704
  children: [
3705
3705
  A.arrowsImgUrl && /* @__PURE__ */ h(
3706
- oe,
3706
+ ie,
3707
3707
  {
3708
3708
  url: A.arrowsImgUrl,
3709
3709
  fill: A.color,
@@ -3734,7 +3734,7 @@ const Fl = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3734
3734
  "aria-label": "Next",
3735
3735
  children: [
3736
3736
  A.arrowsImgUrl && /* @__PURE__ */ h(
3737
- oe,
3737
+ ie,
3738
3738
  {
3739
3739
  url: A.arrowsImgUrl,
3740
3740
  fill: A.color,
@@ -3750,17 +3750,17 @@ const Fl = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3750
3750
  )
3751
3751
  ] }),
3752
3752
  $.closeIconUrl && (() => {
3753
- const a = en($.closeIconAlign, $.closeIconOffset, i), y = `scale(${$.closeIconScale})`, P = a.transform ? `${a.transform} ${y}` : y;
3754
- return /* @__PURE__ */ h("button", { className: U.closeButton, style: { ...a, transform: P }, onClick: Z, "aria-label": "Close lightbox", children: /* @__PURE__ */ h(oe, { url: $.closeIconUrl, fill: $.closeIconColor ?? "#000000", hoverFill: $.closeIconHover ?? "#cccccc" }) });
3753
+ const a = nn($.closeIconAlign, $.closeIconOffset, i), y = `scale(${$.closeIconScale})`, P = a.transform ? `${a.transform} ${y}` : y;
3754
+ return /* @__PURE__ */ h("button", { className: U.closeButton, style: { ...a, transform: P }, onClick: Q, "aria-label": "Close lightbox", children: /* @__PURE__ */ h(ie, { url: $.closeIconUrl, fill: $.closeIconColor ?? "#000000", hoverFill: $.closeIconHover ?? "#cccccc" }) });
3755
3755
  })(),
3756
3756
  _ && _.isActive && o.imageCaption && ((j = n[c]) == null ? void 0 : j.imageCaption) && (() => {
3757
- const { widthSettings: a, fontSettings: y, letterSpacing: P, textAlign: B, wordSpacing: V, fontSizeLineHeight: Y, textAppearance: X, color: Q } = o.imageCaption;
3757
+ const { widthSettings: a, fontSettings: y, letterSpacing: P, textAlign: B, wordSpacing: V, fontSizeLineHeight: Y, textAppearance: X, color: tt } = o.imageCaption;
3758
3758
  return /* @__PURE__ */ h(
3759
3759
  "div",
3760
3760
  {
3761
3761
  className: U.caption,
3762
3762
  style: {
3763
- ...en(_.alignment, _.offset, i),
3763
+ ...nn(_.alignment, _.offset, i),
3764
3764
  fontFamily: y.fontFamily,
3765
3765
  fontWeight: y.fontWeight,
3766
3766
  fontStyle: y.fontStyle,
@@ -3773,9 +3773,9 @@ const Fl = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3773
3773
  textTransform: X.textTransform ?? "none",
3774
3774
  textDecoration: X.textDecoration ?? "none",
3775
3775
  fontVariant: X.fontVariant ?? "normal",
3776
- color: Q
3776
+ color: tt
3777
3777
  },
3778
- onClick: (et) => et.stopPropagation(),
3778
+ onClick: (nt) => nt.stopPropagation(),
3779
3779
  children: /* @__PURE__ */ h(
3780
3780
  "div",
3781
3781
  {
@@ -3785,14 +3785,14 @@ const Fl = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3785
3785
  "--link-color": _.linkColor,
3786
3786
  "--link-hover-color": _.linkHoverColor
3787
3787
  },
3788
- children: /* @__PURE__ */ h(De, { content: n[c].imageCaption })
3788
+ children: /* @__PURE__ */ h(je, { content: n[c].imageCaption })
3789
3789
  }
3790
3790
  )
3791
3791
  }
3792
3792
  );
3793
3793
  })(),
3794
3794
  R.isActive && (() => {
3795
- const [a, y] = R.position.split("-"), P = m.direction === "horiz" ? `${a}-left` : R.position, B = en(P, R.offset, i), V = () => {
3795
+ const [a, y] = R.position.split("-"), P = m.direction === "horiz" ? `${a}-left` : R.position, B = nn(P, R.offset, i), V = () => {
3796
3796
  if (m.direction === "horiz") {
3797
3797
  if (y === "left") return "flex-start";
3798
3798
  if (y === "center") return "center";
@@ -3838,22 +3838,22 @@ const Fl = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3838
3838
  justifyContent: H ? "flex-start" : V()
3839
3839
  },
3840
3840
  children: n.map((Y, X) => {
3841
- const Q = X === c, et = w[X], lt = R.grid.size * (Q ? R.activeState.scale : 1), wt = () => {
3841
+ const tt = X === c, nt = w[X], st = R.grid.size * (tt ? R.activeState.scale : 1), wt = () => {
3842
3842
  if (R.fit !== "fit") return {};
3843
- if (!et)
3844
- return m.direction === "horiz" ? { height: F(lt, i) } : { width: F(lt, i) };
3845
- const nt = et.width / et.height;
3843
+ if (!nt)
3844
+ return m.direction === "horiz" ? { height: F(st, i) } : { width: F(st, i) };
3845
+ const Z = nt.width / nt.height;
3846
3846
  if (m.direction === "horiz") {
3847
- const ct = lt, yt = ct * nt;
3847
+ const pt = st, vt = pt * Z;
3848
3848
  return {
3849
- width: F(yt, i),
3850
- height: F(ct, i)
3849
+ width: F(vt, i),
3850
+ height: F(pt, i)
3851
3851
  };
3852
3852
  } else {
3853
- const ct = lt, yt = ct / nt;
3853
+ const pt = st, vt = pt / Z;
3854
3854
  return {
3855
- width: F(ct, i),
3856
- height: F(yt, i)
3855
+ width: F(pt, i),
3856
+ height: F(vt, i)
3857
3857
  };
3858
3858
  }
3859
3859
  };
@@ -3862,32 +3862,32 @@ const Fl = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3862
3862
  {
3863
3863
  className: U.thumbItem,
3864
3864
  style: {
3865
- ...m.direction === "horiz" && R.fit !== "fit" ? { height: F(lt, i) } : {},
3866
- ...m.direction === "vert" && R.fit !== "fit" ? { width: F(lt, i) } : {},
3867
- ...R.fit === "cover" ? { width: F(lt, i), height: F(lt, i) } : {},
3865
+ ...m.direction === "horiz" && R.fit !== "fit" ? { height: F(st, i) } : {},
3866
+ ...m.direction === "vert" && R.fit !== "fit" ? { width: F(st, i) } : {},
3867
+ ...R.fit === "cover" ? { width: F(st, i), height: F(st, i) } : {},
3868
3868
  ...wt(),
3869
- transition: Q ? "all 0.25s ease-out" : "none",
3870
- opacity: Q ? R.activeState.opacity / 100 : R.opacity / 100,
3869
+ transition: tt ? "all 0.25s ease-out" : "none",
3870
+ opacity: tt ? R.activeState.opacity / 100 : R.opacity / 100,
3871
3871
  "--thumb-hover": R.activeState.opacity / 100
3872
3872
  },
3873
- onClick: (nt) => {
3874
- var ct;
3875
- nt.stopPropagation(), d(X), (ct = b.current) == null || ct.go(X);
3873
+ onClick: (Z) => {
3874
+ var pt;
3875
+ Z.stopPropagation(), d(X), (pt = b.current) == null || pt.go(X);
3876
3876
  },
3877
3877
  onMouseEnter: () => {
3878
- var nt;
3879
- R.triggers === "hov" && ((nt = b.current) == null || nt.go(X));
3878
+ var Z;
3879
+ R.triggers === "hov" && ((Z = b.current) == null || Z.go(X));
3880
3880
  },
3881
3881
  children: /* @__PURE__ */ h(
3882
3882
  "img",
3883
3883
  {
3884
3884
  src: Y.image.url,
3885
3885
  alt: Y.image.name ?? "",
3886
- onLoad: (nt) => {
3887
- const ct = nt.currentTarget;
3888
- ct.naturalWidth && ct.naturalHeight && v((yt) => ({
3889
- ...yt,
3890
- [X]: { width: ct.naturalWidth, height: ct.naturalHeight }
3886
+ onLoad: (Z) => {
3887
+ const pt = Z.currentTarget;
3888
+ pt.naturalWidth && pt.naturalHeight && v((vt) => ({
3889
+ ...vt,
3890
+ [X]: { width: pt.naturalWidth, height: pt.naturalHeight }
3891
3891
  }));
3892
3892
  },
3893
3893
  style: {
@@ -4987,11 +4987,11 @@ const Rl = {
4987
4987
  required: ["settings", "content", "styles"]
4988
4988
  }
4989
4989
  };
4990
- function Te(t) {
4990
+ function $e(t) {
4991
4991
  const { color: e, ...n } = t;
4992
4992
  return n;
4993
4993
  }
4994
- function ee(t, e) {
4994
+ function oe(t, e) {
4995
4995
  var n, o, r;
4996
4996
  return {
4997
4997
  fontFamily: t.fontSettings.fontFamily,
@@ -5007,7 +5007,7 @@ function ee(t, e) {
5007
5007
  color: t.color
5008
5008
  };
5009
5009
  }
5010
- function nn(t) {
5010
+ function on(t) {
5011
5011
  return `calc(var(--cntrl-article-width, 100vw) * ${t / 1440})`;
5012
5012
  }
5013
5013
  function Wl(t) {
@@ -5016,7 +5016,7 @@ function Wl(t) {
5016
5016
  display: flex;
5017
5017
  flex-direction: column;
5018
5018
  width: 100%;
5019
- min-height: ${nn(48)};
5019
+ min-height: ${on(48)};
5020
5020
  }
5021
5021
  .${t}-wrapper.${t}-type-C .${t}-input:focus-visible,
5022
5022
  .${t}-wrapper.${t}-type-C .${t}-button:focus-visible {
@@ -5040,7 +5040,7 @@ function Wl(t) {
5040
5040
  min-width: 0;
5041
5041
  }
5042
5042
  .${t}-field-group.${t}-labeled {
5043
- gap: ${nn(4)};
5043
+ gap: ${on(4)};
5044
5044
  }
5045
5045
  .${t}-field-label {
5046
5046
  white-space: nowrap;
@@ -5136,11 +5136,11 @@ function Wl(t) {
5136
5136
  outline: none;
5137
5137
  }
5138
5138
  .${t}-success {
5139
- margin-top: ${nn(8)};
5139
+ margin-top: ${on(8)};
5140
5140
  color: var(--${t}-success-success-color, var(--${t}-success-color));
5141
5141
  }
5142
5142
  .${t}-error {
5143
- margin-top: ${nn(8)};
5143
+ margin-top: ${on(8)};
5144
5144
  color: var(--${t}-error-error-color, var(--${t}-error-color));
5145
5145
  }
5146
5146
  .${t}-overlay-anchor {
@@ -5186,14 +5186,14 @@ function Ml({ settings: t, isEditor: e, metadata: n, activeEvent: o }) {
5186
5186
  buttonLineHeight: E,
5187
5187
  buttonLetterSpacing: K,
5188
5188
  buttonWordSpacing: it,
5189
- buttonTextAppearance: tt,
5189
+ buttonTextAppearance: et,
5190
5190
  labelFontSettings: rt,
5191
5191
  labelFontSize: M,
5192
- labelLineHeight: Z,
5192
+ labelLineHeight: Q,
5193
5193
  labelLetterSpacing: gt,
5194
- labelWordSpacing: st,
5194
+ labelWordSpacing: lt,
5195
5195
  labelTextAppearance: mt,
5196
- statusFontSettings: vt,
5196
+ statusFontSettings: ht,
5197
5197
  statusFontSize: It,
5198
5198
  statusLineHeight: j,
5199
5199
  statusLetterSpacing: a,
@@ -5202,7 +5202,7 @@ function Ml({ settings: t, isEditor: e, metadata: n, activeEvent: o }) {
5202
5202
  successMessage: B,
5203
5203
  errorMessage: V,
5204
5204
  stateOverrides: Y
5205
- } = t, X = l === "B", Q = s.slice(0, Math.min(i, s.length)), et = {
5205
+ } = t, X = l === "B", tt = s.slice(0, Math.min(i, s.length)), nt = {
5206
5206
  fontSettings: {
5207
5207
  fontFamily: H,
5208
5208
  fontWeight: (z == null ? void 0 : z.fontWeight) ?? 400,
@@ -5214,26 +5214,26 @@ function Ml({ settings: t, isEditor: e, metadata: n, activeEvent: o }) {
5214
5214
  wordSpacing: R ?? 0,
5215
5215
  textAppearance: A,
5216
5216
  color: I
5217
- }, at = Te(ee(et, e)), lt = F(w ?? 0, e), wt = F(
5217
+ }, at = $e(oe(nt, e)), st = F(w ?? 0, e), wt = F(
5218
5218
  (D ?? q ?? 0.01) + ((v == null ? void 0 : v.top) ?? 0) + ((v == null ? void 0 : v.bottom) ?? 0) + (l === "C" ? w ?? 0 : (w ?? 0) * 2),
5219
5219
  e
5220
- ), nt = {
5220
+ ), Z = {
5221
5221
  ...at,
5222
5222
  borderStyle: "solid",
5223
5223
  borderRadius: l === "C" ? 0 : F(g ?? 0, e),
5224
5224
  ...l === "C" ? {
5225
5225
  borderTopWidth: 0,
5226
5226
  borderRightWidth: 0,
5227
- borderBottomWidth: lt,
5227
+ borderBottomWidth: st,
5228
5228
  borderLeftWidth: 0
5229
- } : { borderWidth: lt },
5229
+ } : { borderWidth: st },
5230
5230
  paddingTop: F((v == null ? void 0 : v.top) ?? 0, e),
5231
5231
  paddingRight: F((v == null ? void 0 : v.right) ?? 0, e),
5232
5232
  paddingBottom: F((v == null ? void 0 : v.bottom) ?? 0, e),
5233
5233
  paddingLeft: F((v == null ? void 0 : v.left) ?? 0, e),
5234
5234
  height: wt,
5235
5235
  minHeight: wt
5236
- }, ct = {
5236
+ }, pt = {
5237
5237
  fontSettings: {
5238
5238
  fontFamily: H,
5239
5239
  fontWeight: ($ == null ? void 0 : $.fontWeight) ?? 400,
@@ -5243,25 +5243,25 @@ function Ml({ settings: t, isEditor: e, metadata: n, activeEvent: o }) {
5243
5243
  lineHeight: E,
5244
5244
  letterSpacing: K ?? 0,
5245
5245
  wordSpacing: it ?? 0,
5246
- textAppearance: tt,
5246
+ textAppearance: et,
5247
5247
  color: S
5248
- }, yt = Te(ee(ct, e)), Ft = F(x ?? 0, e), An = {
5248
+ }, vt = $e(oe(pt, e)), Et = F(x ?? 0, e), Mt = {
5249
5249
  fontSettings: {
5250
5250
  fontFamily: H,
5251
5251
  fontWeight: (rt == null ? void 0 : rt.fontWeight) ?? 400,
5252
5252
  fontStyle: (rt == null ? void 0 : rt.fontStyle) ?? "normal"
5253
5253
  },
5254
5254
  fontSize: M ?? 0.01,
5255
- lineHeight: Z,
5255
+ lineHeight: Q,
5256
5256
  letterSpacing: gt ?? 0,
5257
- wordSpacing: st ?? 0,
5257
+ wordSpacing: lt ?? 0,
5258
5258
  textAppearance: mt,
5259
5259
  color: C
5260
- }, Fe = ee(An, e), St = {
5260
+ }, Ut = oe(Mt, e), St = {
5261
5261
  fontSettings: {
5262
5262
  fontFamily: H,
5263
- fontWeight: (vt == null ? void 0 : vt.fontWeight) ?? 400,
5264
- fontStyle: (vt == null ? void 0 : vt.fontStyle) ?? "normal"
5263
+ fontWeight: (ht == null ? void 0 : ht.fontWeight) ?? 400,
5264
+ fontStyle: (ht == null ? void 0 : ht.fontStyle) ?? "normal"
5265
5265
  },
5266
5266
  fontSize: It ?? 0.01,
5267
5267
  lineHeight: j,
@@ -5269,7 +5269,7 @@ function Ml({ settings: t, isEditor: e, metadata: n, activeEvent: o }) {
5269
5269
  wordSpacing: y ?? 0,
5270
5270
  textAppearance: P,
5271
5271
  color: O
5272
- }, Nt = Te(ee(St, e)), ce = No(r, {
5272
+ }, Ot = $e(oe(St, e)), ue = No(r, {
5273
5273
  inputColor: b,
5274
5274
  inputTextColor: I,
5275
5275
  inputBorderColor: G,
@@ -5280,51 +5280,51 @@ function Ml({ settings: t, isEditor: e, metadata: n, activeEvent: o }) {
5280
5280
  labelTextColor: C,
5281
5281
  successColor: O,
5282
5282
  errorColor: W
5283
- }, Pl, zl, Y), [_t, jt] = pt(
5284
- () => Object.fromEntries(Q.map((ft) => [ft.name, ""]))
5285
- ), [uo, ke] = pt("idle"), [_r, Ze] = pt(null), In = o === "success" ? "success" : o === "error" ? "error" : uo, $r = o === "error" ? V : _r, Qe = o === "filled", Re = Ot(() => {
5286
- if (!Qe) return _t;
5283
+ }, Pl, zl, Y), [_t, Gt] = ct(
5284
+ () => Object.fromEntries(tt.map((ft) => [ft.name, ""]))
5285
+ ), [uo, Re] = ct("idle"), [_r, Qe] = ct(null), In = o === "success" ? "success" : o === "error" ? "error" : uo, $r = o === "error" ? V : _r, tn = o === "filled", We = Bt(() => {
5286
+ if (!tn) return _t;
5287
5287
  let ft = null;
5288
- for (const Ut of Q)
5289
- (_t[Ut.name] ?? "").trim().length > 0 || (ft = ft ?? { ..._t }, ft[Ut.name] = "Filled");
5288
+ for (const qt of tt)
5289
+ (_t[qt.name] ?? "").trim().length > 0 || (ft = ft ?? { ..._t }, ft[qt.name] = "Filled");
5290
5290
  return ft ?? _t;
5291
- }, [_t, Qe, Q]), Ar = In === "error" ? pn(Q, Re) : null, Ir = `${o && o !== "default" ? `${r}-state-${o}` : ""}`.trim(), go = n == null ? void 0 : n.submitUrl, mo = (ft, Ut) => {
5292
- jt((Gt) => ({ ...Gt, [ft]: Ut }));
5291
+ }, [_t, tn, tt]), Ar = In === "error" ? un(tt, We) : null, Ir = `${o && o !== "default" ? `${r}-state-${o}` : ""}`.trim(), go = n == null ? void 0 : n.submitUrl, mo = (ft, qt) => {
5292
+ Gt((Yt) => ({ ...Yt, [ft]: qt }));
5293
5293
  }, Lr = async (ft) => {
5294
5294
  ft.preventDefault();
5295
- const Ut = Object.fromEntries(
5296
- Q.map((Mt) => {
5297
- var ye;
5298
- return [Mt.name, ((ye = _t[Mt.name]) == null ? void 0 : ye.trim()) ?? ""];
5299
- }).filter(([, Mt]) => Mt)
5295
+ const qt = Object.fromEntries(
5296
+ tt.map((Pt) => {
5297
+ var ve;
5298
+ return [Pt.name, ((ve = _t[Pt.name]) == null ? void 0 : ve.trim()) ?? ""];
5299
+ }).filter(([, Pt]) => Pt)
5300
5300
  );
5301
5301
  if (!go) {
5302
- ke("error"), Ze("No integrations were found for this form.");
5302
+ Re("error"), Qe("No integrations were found for this form.");
5303
5303
  return;
5304
5304
  }
5305
- if (Object.keys(Ut).length === 0) return;
5306
- const Gt = pn(Q, _t);
5307
- if (Gt) {
5308
- ke("error"), Ze(Gt);
5305
+ if (Object.keys(qt).length === 0) return;
5306
+ const Yt = un(tt, _t);
5307
+ if (Yt) {
5308
+ Re("error"), Qe(Yt);
5309
5309
  return;
5310
5310
  }
5311
- ke("submitting"), Ze(null);
5311
+ Re("submitting"), Qe(null);
5312
5312
  try {
5313
- const Mt = await fetch(go, {
5313
+ const Pt = await fetch(go, {
5314
5314
  method: "POST",
5315
5315
  headers: { "Content-Type": "application/json" },
5316
- body: JSON.stringify(Ut)
5316
+ body: JSON.stringify(qt)
5317
5317
  });
5318
- if (!Mt.ok) {
5319
- const ye = await Mt.text();
5320
- throw new Error(ye || `Request failed: ${Mt.status}`);
5318
+ if (!Pt.ok) {
5319
+ const ve = await Pt.text();
5320
+ throw new Error(ve || `Request failed: ${Pt.status}`);
5321
5321
  }
5322
- ke("success"), jt(Object.fromEntries(Q.map((ye) => [ye.name, ""])));
5323
- } catch (Mt) {
5324
- ke("error"), Ze(Mt instanceof Error ? Mt.message : "Something went wrong");
5322
+ Re("success"), Gt(Object.fromEntries(tt.map((ve) => [ve.name, ""])));
5323
+ } catch (Pt) {
5324
+ Re("error"), Qe(Pt instanceof Error ? Pt.message : "Something went wrong");
5325
5325
  }
5326
5326
  };
5327
- return /* @__PURE__ */ dt("div", { className: `${r}-wrapper ${r}-type-${l} ${Ir}`.trim(), style: ce, children: [
5327
+ return /* @__PURE__ */ dt("div", { className: `${r}-wrapper ${r}-type-${l} ${Ir}`.trim(), style: ue, children: [
5328
5328
  /* @__PURE__ */ h("style", { dangerouslySetInnerHTML: { __html: Wl(r) } }),
5329
5329
  /* @__PURE__ */ dt(
5330
5330
  "form",
@@ -5338,20 +5338,20 @@ function Ml({ settings: t, isEditor: e, metadata: n, activeEvent: o }) {
5338
5338
  {
5339
5339
  className: `${r}-fields`,
5340
5340
  style: { gap: F(p ?? 0, e) },
5341
- children: Q.map((ft, Ut) => /* @__PURE__ */ dt("div", { className: `${r}-field-group${X ? ` ${r}-labeled` : ""}`, children: [
5342
- X && /* @__PURE__ */ h("span", { className: `${r}-field-label`, style: Fe ? { ...Fe, lineHeight: Fe.fontSize } : void 0, children: ft.label || ft.name }),
5341
+ children: tt.map((ft, qt) => /* @__PURE__ */ dt("div", { className: `${r}-field-group${X ? ` ${r}-labeled` : ""}`, children: [
5342
+ X && /* @__PURE__ */ h("span", { className: `${r}-field-label`, style: Ut ? { ...Ut, lineHeight: Ut.fontSize } : void 0, children: ft.label || ft.name }),
5343
5343
  ft.type === "textarea" ? /* @__PURE__ */ h(
5344
5344
  "textarea",
5345
5345
  {
5346
5346
  name: ft.name,
5347
5347
  autoComplete: "off",
5348
- value: Re[ft.name] ?? "",
5349
- onChange: (Gt) => mo(ft.name, Gt.target.value),
5348
+ value: We[ft.name] ?? "",
5349
+ onChange: (Yt) => mo(ft.name, Yt.target.value),
5350
5350
  placeholder: ft.placeholder,
5351
5351
  className: `${r}-input`,
5352
- style: nt,
5352
+ style: Z,
5353
5353
  rows: 1,
5354
- "data-filled": Qe || (Re[ft.name] ?? "").trim().length > 0,
5354
+ "data-filled": tn || (We[ft.name] ?? "").trim().length > 0,
5355
5355
  "data-field-type": "textarea"
5356
5356
  }
5357
5357
  ) : /* @__PURE__ */ h(
@@ -5360,16 +5360,16 @@ function Ml({ settings: t, isEditor: e, metadata: n, activeEvent: o }) {
5360
5360
  type: ft.type === "phone" ? "tel" : ft.type === "email" ? "email" : "text",
5361
5361
  name: ft.name,
5362
5362
  autoComplete: "off",
5363
- value: Re[ft.name] ?? "",
5364
- onChange: (Gt) => mo(ft.name, Gt.target.value),
5363
+ value: We[ft.name] ?? "",
5364
+ onChange: (Yt) => mo(ft.name, Yt.target.value),
5365
5365
  placeholder: ft.placeholder,
5366
5366
  required: ft.isRequired ?? ft.type === "email",
5367
5367
  className: `${r}-input`,
5368
- style: nt,
5369
- "data-filled": Qe || (Re[ft.name] ?? "").trim().length > 0
5368
+ style: Z,
5369
+ "data-filled": tn || (We[ft.name] ?? "").trim().length > 0
5370
5370
  }
5371
5371
  )
5372
- ] }, Ut))
5372
+ ] }, qt))
5373
5373
  }
5374
5374
  ),
5375
5375
  /* @__PURE__ */ h("div", { className: `${r}-overlay-anchor`, children: /* @__PURE__ */ h(
@@ -5380,12 +5380,12 @@ function Ml({ settings: t, isEditor: e, metadata: n, activeEvent: o }) {
5380
5380
  style: {
5381
5381
  borderStyle: "solid",
5382
5382
  borderRadius: F(L ?? 0, e),
5383
- borderWidth: Ft,
5383
+ borderWidth: Et,
5384
5384
  paddingTop: F((f == null ? void 0 : f.top) ?? 0, e),
5385
5385
  paddingRight: F((f == null ? void 0 : f.right) ?? 0, e),
5386
5386
  paddingBottom: F((f == null ? void 0 : f.bottom) ?? 0, e),
5387
5387
  paddingLeft: F((f == null ? void 0 : f.left) ?? 0, e),
5388
- ...yt,
5388
+ ...vt,
5389
5389
  ...u ? {
5390
5390
  width: "100%",
5391
5391
  textAlign: "center",
@@ -5414,7 +5414,7 @@ function Ml({ settings: t, isEditor: e, metadata: n, activeEvent: o }) {
5414
5414
  "p",
5415
5415
  {
5416
5416
  className: `${r}-success`,
5417
- style: { ...Nt },
5417
+ style: { ...Ot },
5418
5418
  children: B
5419
5419
  }
5420
5420
  ),
@@ -5422,7 +5422,7 @@ function Ml({ settings: t, isEditor: e, metadata: n, activeEvent: o }) {
5422
5422
  "p",
5423
5423
  {
5424
5424
  className: `${r}-error`,
5425
- style: { ...Nt },
5425
+ style: { ...Ot },
5426
5426
  role: "alert",
5427
5427
  children: Ar ?? $r ?? V
5428
5428
  }
@@ -6049,7 +6049,7 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
6049
6049
  { name: "message", type: "textarea", placeholder: "Enter your message", label: "Message", isRequired: !1, error: "Message is required" },
6050
6050
  { name: "message2", type: "textarea", placeholder: "Enter your message 2", label: "Message 2", isRequired: !1, error: "Message 2 is required" },
6051
6051
  { name: "message3", type: "textarea", placeholder: "Enter your message 3", label: "Message 3", isRequired: !1, error: "Message 3 is required" }
6052
- ], on = {
6052
+ ], rn = {
6053
6053
  fontSettings: {
6054
6054
  type: "object",
6055
6055
  display: { type: "font-settings-weight" },
@@ -6262,7 +6262,7 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
6262
6262
  display: { type: "font-family-select" }
6263
6263
  },
6264
6264
  inputFontSettings: {
6265
- ...on.fontSettings,
6265
+ ...rn.fontSettings,
6266
6266
  scope: "common",
6267
6267
  title: "Input",
6268
6268
  display: { type: "font-settings-weight" }
@@ -6298,7 +6298,7 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
6298
6298
  display: { type: "text-appearance" }
6299
6299
  },
6300
6300
  buttonFontSettings: {
6301
- ...on.fontSettings,
6301
+ ...rn.fontSettings,
6302
6302
  scope: "common",
6303
6303
  title: "Button",
6304
6304
  display: { type: "font-settings-weight" }
@@ -6334,7 +6334,7 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
6334
6334
  display: { type: "text-appearance" }
6335
6335
  },
6336
6336
  labelFontSettings: {
6337
- ...on.fontSettings,
6337
+ ...rn.fontSettings,
6338
6338
  scope: "common",
6339
6339
  title: "Label",
6340
6340
  display: { type: "font-settings-weight", visible: !1 }
@@ -6370,7 +6370,7 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
6370
6370
  display: { type: "text-appearance", visible: !1 }
6371
6371
  },
6372
6372
  statusFontSettings: {
6373
- ...on.fontSettings,
6373
+ ...rn.fontSettings,
6374
6374
  scope: "common",
6375
6375
  title: "Success/Error"
6376
6376
  },
@@ -6682,7 +6682,7 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
6682
6682
  schema: Bl,
6683
6683
  sourceCode: Hl
6684
6684
  };
6685
- function rn(t) {
6685
+ function an(t) {
6686
6686
  return `calc(var(--cntrl-article-width, 100vw) * ${t / 1440})`;
6687
6687
  }
6688
6688
  function Dl(t) {
@@ -6868,13 +6868,13 @@ function Dl(t) {
6868
6868
  align-items: center;
6869
6869
  }
6870
6870
  .${t}-success {
6871
- margin-top: ${rn(8)};
6872
- font-size: ${rn(14)};
6871
+ margin-top: ${an(8)};
6872
+ font-size: ${an(14)};
6873
6873
  color: var(--${t}-success-success-color, var(--${t}-success-color));
6874
6874
  }
6875
6875
  .${t}-error {
6876
- margin-top: ${rn(8)};
6877
- font-size: ${rn(14)};
6876
+ margin-top: ${an(8)};
6877
+ font-size: ${an(14)};
6878
6878
  color: var(--${t}-error-error-color, var(--${t}-error-color));
6879
6879
  }
6880
6880
  `;
@@ -6913,15 +6913,15 @@ const jl = ({ settings: t, isEditor: e, metadata: n, activeEvent: o }) => {
6913
6913
  buttonPadding: A,
6914
6914
  successMessage: $ = "Thanks for subscribing!",
6915
6915
  errorMessage: _ = "Please, fill all required fields."
6916
- } = t, E = l.slice(0, Math.min(c, l.length)), [K, it] = pt(
6916
+ } = t, E = l.slice(0, Math.min(c, l.length)), [K, it] = ct(
6917
6917
  () => Object.fromEntries(E.map((St) => [St.name, ""]))
6918
- ), [tt, rt] = pt("idle"), [M, Z] = pt(null), gt = o === "success" ? "success" : o === "error" ? "error" : tt, st = o === "error" ? _ : M, mt = o === "filled", vt = Ot(() => {
6918
+ ), [et, rt] = ct("idle"), [M, Q] = ct(null), gt = o === "success" ? "success" : o === "error" ? "error" : et, lt = o === "error" ? _ : M, mt = o === "filled", ht = Bt(() => {
6919
6919
  if (!mt) return K;
6920
6920
  let St = null;
6921
- for (const Nt of E)
6922
- (K[Nt.name] ?? "").trim().length > 0 || (St = St ?? { ...K }, St[Nt.name] = "Filled");
6921
+ for (const Ot of E)
6922
+ (K[Ot.name] ?? "").trim().length > 0 || (St = St ?? { ...K }, St[Ot.name] = "Filled");
6923
6923
  return St ?? K;
6924
- }, [mt, K, E]), It = gt === "error" ? pn(E, vt) : null, j = o && o !== "default" ? `${r}-state-${o}` : "", a = E.some((St) => (vt[St.name] ?? "").trim().length > 0), y = j !== `${r}-state-filled` && a ? `${r}-state-filled` : "", P = `${j} ${y}`.trim(), B = n == null ? void 0 : n.submitUrl, V = s ?? "", Y = (i == null ? void 0 : i.icon) ?? "", X = (i == null ? void 0 : i.mode) === "On", Q = V || "Submit", et = {
6924
+ }, [mt, K, E]), It = gt === "error" ? un(E, ht) : null, j = o && o !== "default" ? `${r}-state-${o}` : "", a = E.some((St) => (ht[St.name] ?? "").trim().length > 0), y = j !== `${r}-state-filled` && a ? `${r}-state-filled` : "", P = `${j} ${y}`.trim(), B = n == null ? void 0 : n.submitUrl, V = s ?? "", Y = (i == null ? void 0 : i.icon) ?? "", X = (i == null ? void 0 : i.mode) === "On", tt = V || "Submit", nt = {
6925
6925
  fontSettings: {
6926
6926
  fontFamily: d,
6927
6927
  fontWeight: (p == null ? void 0 : p.fontWeight) ?? 400,
@@ -6945,7 +6945,7 @@ const jl = ({ settings: t, isEditor: e, metadata: n, activeEvent: o }) => {
6945
6945
  wordSpacing: G ?? 0,
6946
6946
  textAppearance: N,
6947
6947
  color: t.buttonTextColor ?? "#ffffff"
6948
- }, lt = {
6948
+ }, st = {
6949
6949
  fontSettings: {
6950
6950
  fontFamily: d,
6951
6951
  fontWeight: (T == null ? void 0 : T.fontWeight) ?? 400,
@@ -6957,62 +6957,62 @@ const jl = ({ settings: t, isEditor: e, metadata: n, activeEvent: o }) => {
6957
6957
  wordSpacing: O ?? 0,
6958
6958
  textAppearance: W,
6959
6959
  color: t.successColor ?? "#22c55e"
6960
- }, wt = Te(ee(et, e)), nt = Te(ee(at, e)), ct = Te(ee(lt, e)), yt = No(r, {
6960
+ }, wt = $e(oe(nt, e)), Z = $e(oe(at, e)), pt = $e(oe(st, e)), vt = No(r, {
6961
6961
  strokeColor: t.strokeColor,
6962
6962
  inputColor: t.inputColor,
6963
6963
  placeholderColor: t.placeholderColor,
6964
6964
  buttonColor: t.buttonColor,
6965
6965
  successColor: t.successColor,
6966
6966
  errorColor: t.errorColor,
6967
- inputTextColor: t.inputTextColor ?? (et == null ? void 0 : et.color) ?? "#111111",
6967
+ inputTextColor: t.inputTextColor ?? (nt == null ? void 0 : nt.color) ?? "#111111",
6968
6968
  buttonTextColor: t.buttonTextColor ?? (at == null ? void 0 : at.color) ?? "#ffffff"
6969
- }, Ul, Gl, m), Ft = {
6969
+ }, Ul, Gl, m), Et = {
6970
6970
  borderRadius: F(q, e),
6971
6971
  borderWidth: F(D, e),
6972
6972
  borderStyle: "solid"
6973
- }, An = { borderLeftWidth: F(D, e) }, Fe = async (St) => {
6973
+ }, Mt = { borderLeftWidth: F(D, e) }, Ut = async (St) => {
6974
6974
  St.preventDefault();
6975
- const Nt = Object.fromEntries(
6975
+ const Ot = Object.fromEntries(
6976
6976
  E.map((_t) => {
6977
- var jt;
6978
- return [_t.name, ((jt = K[_t.name]) == null ? void 0 : jt.trim()) ?? ""];
6977
+ var Gt;
6978
+ return [_t.name, ((Gt = K[_t.name]) == null ? void 0 : Gt.trim()) ?? ""];
6979
6979
  }).filter(([, _t]) => _t)
6980
6980
  );
6981
6981
  if (!B) {
6982
- rt("error"), Z("No integrations were found for this form.");
6982
+ rt("error"), Q("No integrations were found for this form.");
6983
6983
  return;
6984
6984
  }
6985
- if (Object.keys(Nt).length === 0) return;
6986
- const ce = pn(E, K);
6987
- if (ce) {
6988
- rt("error"), Z(ce);
6985
+ if (Object.keys(Ot).length === 0) return;
6986
+ const ue = un(E, K);
6987
+ if (ue) {
6988
+ rt("error"), Q(ue);
6989
6989
  return;
6990
6990
  }
6991
- rt("submitting"), Z(null);
6991
+ rt("submitting"), Q(null);
6992
6992
  try {
6993
6993
  const _t = await fetch(B, {
6994
6994
  method: "POST",
6995
6995
  headers: { "Content-Type": "application/json" },
6996
- body: JSON.stringify(Nt)
6996
+ body: JSON.stringify(Ot)
6997
6997
  });
6998
6998
  if (!_t.ok) {
6999
- const jt = await _t.text();
7000
- throw new Error(jt || `Request failed: ${_t.status}`);
6999
+ const Gt = await _t.text();
7000
+ throw new Error(Gt || `Request failed: ${_t.status}`);
7001
7001
  }
7002
- rt("success"), it(Object.fromEntries(E.map((jt) => [jt.name, ""])));
7002
+ rt("success"), it(Object.fromEntries(E.map((Gt) => [Gt.name, ""])));
7003
7003
  } catch (_t) {
7004
- rt("error"), Z(_t instanceof Error ? _t.message : "Something went wrong");
7004
+ rt("error"), Q(_t instanceof Error ? _t.message : "Something went wrong");
7005
7005
  }
7006
7006
  };
7007
- return /* @__PURE__ */ dt("div", { className: `${r}-wrapper ${P}`.trim(), style: yt, children: [
7007
+ return /* @__PURE__ */ dt("div", { className: `${r}-wrapper ${P}`.trim(), style: vt, children: [
7008
7008
  /* @__PURE__ */ h("style", { dangerouslySetInnerHTML: { __html: Dl(r) } }),
7009
7009
  /* @__PURE__ */ dt(
7010
7010
  "form",
7011
7011
  {
7012
- onSubmit: Fe,
7012
+ onSubmit: Ut,
7013
7013
  className: `${r}-form`,
7014
7014
  style: {
7015
- ...Ft,
7015
+ ...Et,
7016
7016
  height: F(z, e),
7017
7017
  minHeight: F(z, e)
7018
7018
  },
@@ -7028,8 +7028,8 @@ const jl = ({ settings: t, isEditor: e, metadata: n, activeEvent: o }) => {
7028
7028
  type: St.type === "email" ? "email" : St.type === "phone" ? "tel" : "text",
7029
7029
  name: St.name,
7030
7030
  autoComplete: "off",
7031
- value: vt[St.name] ?? "",
7032
- onChange: (Nt) => it((ce) => ({ ...ce, [St.name]: Nt.target.value })),
7031
+ value: ht[St.name] ?? "",
7032
+ onChange: (Ot) => it((ue) => ({ ...ue, [St.name]: Ot.target.value })),
7033
7033
  placeholder: St.placeholder,
7034
7034
  required: St.isRequired ?? St.type === "email",
7035
7035
  className: `${r}-input`,
@@ -7050,17 +7050,17 @@ const jl = ({ settings: t, isEditor: e, metadata: n, activeEvent: o }) => {
7050
7050
  {
7051
7051
  type: "submit",
7052
7052
  className: `${r}-submitBtn`,
7053
- "aria-label": Q,
7053
+ "aria-label": tt,
7054
7054
  style: {
7055
- ...nt,
7056
- ...An,
7055
+ ...Z,
7056
+ ...Mt,
7057
7057
  paddingRight: F(A.right, e),
7058
7058
  paddingLeft: F(A.left, e),
7059
7059
  paddingTop: F(A.top, e),
7060
7060
  paddingBottom: F(A.bottom, e)
7061
7061
  },
7062
- children: tt === "submitting" ? "..." : X ? Y && /* @__PURE__ */ h(
7063
- oe,
7062
+ children: et === "submitting" ? "..." : X ? Y && /* @__PURE__ */ h(
7063
+ ie,
7064
7064
  {
7065
7065
  url: Y,
7066
7066
  className: `${r}-submitBtnIcon`,
@@ -7078,7 +7078,7 @@ const jl = ({ settings: t, isEditor: e, metadata: n, activeEvent: o }) => {
7078
7078
  "p",
7079
7079
  {
7080
7080
  className: `${r}-success`,
7081
- style: { ...ct },
7081
+ style: { ...pt },
7082
7082
  children: $
7083
7083
  }
7084
7084
  ),
@@ -7086,9 +7086,9 @@ const jl = ({ settings: t, isEditor: e, metadata: n, activeEvent: o }) => {
7086
7086
  "p",
7087
7087
  {
7088
7088
  className: `${r}-error`,
7089
- style: { ...ct },
7089
+ style: { ...pt },
7090
7090
  role: "alert",
7091
- children: It ?? st ?? _
7091
+ children: It ?? lt ?? _
7092
7092
  }
7093
7093
  )
7094
7094
  ] });
@@ -8187,7 +8187,7 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
8187
8187
  },
8188
8188
  schema: Jl,
8189
8189
  sourceCode: ql
8190
- }, Ql = "TestimonialsGrid-module__marqueeWrapper___VC616", ts = "TestimonialsGrid-module__marqueeTrack___U0OTH", es = "TestimonialsGrid-module__marqueeSet___L7ZdX", ns = "TestimonialsGrid-module__wrapper___-JQKm", os = "TestimonialsGrid-module__cover___3-r73", rs = "TestimonialsGrid-module__elementsOverlay___sSbJp", is = "TestimonialsGrid-module__control___pD3e4", qt = {
8190
+ }, Ql = "TestimonialsGrid-module__marqueeWrapper___VC616", ts = "TestimonialsGrid-module__marqueeTrack___U0OTH", es = "TestimonialsGrid-module__marqueeSet___L7ZdX", ns = "TestimonialsGrid-module__wrapper___-JQKm", os = "TestimonialsGrid-module__cover___3-r73", rs = "TestimonialsGrid-module__elementsOverlay___sSbJp", is = "TestimonialsGrid-module__control___pD3e4", Xt = {
8191
8191
  marqueeWrapper: Ql,
8192
8192
  marqueeTrack: ts,
8193
8193
  marqueeSet: es,
@@ -8208,12 +8208,12 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
8208
8208
  textAppearance: t.textAppearance,
8209
8209
  color: t.color
8210
8210
  }), cs = ({ 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: L, stroke: x, strokeColor: f, bgColor: u, padding: g, logoMarginTop: w, logoWidth: v, logoHeight: b, textMinHeight: I, captionMinHeight: G, captionMarginTop: N } = t, T = r === "on", S = T && !o, k = Math.max(0, ls(i)) * as, C = (a) => F(a, n ?? !1), O = Ct(null), W = Ct(null), H = Ct(null), [z, q] = pt(0), [D, m] = pt(0), R = Ct(0), A = Ct(!1), $ = Ct(null), _ = S && c === "on", E = Ot(() => typeof s == "boolean" ? s ? "right" : "left" : String(s ?? "").trim().toLowerCase() === "right" ? "right" : "left", [s]), K = Ct(E), it = (a) => {
8212
- var yt;
8213
- const y = (yt = t == null ? void 0 : t.styles) == null ? void 0 : yt[a];
8211
+ const { autoplay: r, align: l, speed: i, direction: s, pauseOnHover: c, gap: d, cardWidth: p, corners: L, stroke: x, strokeColor: f, bgColor: u, padding: g, logoMarginTop: w, logoWidth: v, logoHeight: b, textMinHeight: I, captionMinHeight: G, captionMarginTop: N } = t, T = r === "on", S = T && !o, k = Math.max(0, ls(i)) * as, C = (a) => F(a, n ?? !1), O = Ct(null), W = Ct(null), H = Ct(null), [z, q] = ct(0), [D, m] = ct(0), R = Ct(0), A = Ct(!1), $ = Ct(null), _ = S && c === "on", E = Bt(() => typeof s == "boolean" ? s ? "right" : "left" : String(s ?? "").trim().toLowerCase() === "right" ? "right" : "left", [s]), K = Ct(E), it = (a) => {
8212
+ var vt;
8213
+ const y = (vt = t == null ? void 0 : t.styles) == null ? void 0 : vt[a];
8214
8214
  if (y) return y;
8215
- const P = a === "text" ? "text" : "caption", B = t == null ? void 0 : t[`${P}FontFamily`], V = t == null ? void 0 : t[`${P}FontSettings`], Y = t == null ? void 0 : t[`${P}LetterSpacing`], X = t == null ? void 0 : t[`${P}WordSpacing`], Q = t == null ? void 0 : t[`${P}TextAlign`], et = t == null ? void 0 : t[`${P}TextAppearance`], at = (t == null ? void 0 : t[`${P}Color`]) ?? (a === "text" ? t == null ? void 0 : t.textColor : void 0) ?? (a === "caption" ? t == null ? void 0 : t.captionColor : void 0), lt = t == null ? void 0 : t[`${P}FontSize`], wt = t == null ? void 0 : t[`${P}LineHeight`];
8216
- return typeof B == "string" || !!V || typeof Y == "number" || typeof X == "number" || typeof Q == "string" || !!et || typeof at == "string" || typeof lt == "number" || typeof wt == "number" ? {
8215
+ const P = a === "text" ? "text" : "caption", B = t == null ? void 0 : t[`${P}FontFamily`], V = t == null ? void 0 : t[`${P}FontSettings`], Y = t == null ? void 0 : t[`${P}LetterSpacing`], X = t == null ? void 0 : t[`${P}WordSpacing`], tt = t == null ? void 0 : t[`${P}TextAlign`], nt = t == null ? void 0 : t[`${P}TextAppearance`], at = (t == null ? void 0 : t[`${P}Color`]) ?? (a === "text" ? t == null ? void 0 : t.textColor : void 0) ?? (a === "caption" ? t == null ? void 0 : t.captionColor : void 0), st = t == null ? void 0 : t[`${P}FontSize`], wt = t == null ? void 0 : t[`${P}LineHeight`];
8216
+ return typeof B == "string" || !!V || typeof Y == "number" || typeof X == "number" || typeof tt == "string" || !!nt || typeof at == "string" || typeof st == "number" || typeof wt == "number" ? {
8217
8217
  widthSettings: { width: 0.13, sizing: "manual" },
8218
8218
  fontSettings: {
8219
8219
  fontFamily: typeof B == "string" ? B : "Arial",
@@ -8222,19 +8222,19 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
8222
8222
  },
8223
8223
  letterSpacing: typeof Y == "number" ? Y : 0,
8224
8224
  wordSpacing: typeof X == "number" ? X : 0,
8225
- textAlign: Q === "left" || Q === "center" || Q === "right" ? Q : "left",
8225
+ textAlign: tt === "left" || tt === "center" || tt === "right" ? tt : "left",
8226
8226
  fontSizeLineHeight: {
8227
- fontSize: typeof lt == "number" ? lt : 0.01,
8227
+ fontSize: typeof st == "number" ? st : 0.01,
8228
8228
  lineHeight: typeof wt == "number" ? wt : 0.01
8229
8229
  },
8230
8230
  textAppearance: {
8231
- textTransform: (et == null ? void 0 : et.textTransform) ?? "none",
8232
- textDecoration: (et == null ? void 0 : et.textDecoration) ?? "none",
8233
- fontVariant: (et == null ? void 0 : et.fontVariant) ?? "normal"
8231
+ textTransform: (nt == null ? void 0 : nt.textTransform) ?? "none",
8232
+ textDecoration: (nt == null ? void 0 : nt.textDecoration) ?? "none",
8233
+ fontVariant: (nt == null ? void 0 : nt.fontVariant) ?? "normal"
8234
8234
  },
8235
8235
  color: typeof at == "string" ? at : "#000000"
8236
8236
  } : void 0;
8237
- }, tt = it("text"), rt = it("caption"), M = Ot(() => !T || (e == null ? void 0 : e.length) === 0 ? 1 : D <= 0 || z <= 0 ? 2 : Math.max(2, Math.ceil(z / D) + 1), [T, e == null ? void 0 : e.length, D, z]);
8237
+ }, et = it("text"), rt = it("caption"), M = Bt(() => !T || (e == null ? void 0 : e.length) === 0 ? 1 : D <= 0 || z <= 0 ? 2 : Math.max(2, Math.ceil(z / D) + 1), [T, e == null ? void 0 : e.length, D, z]);
8238
8238
  Mn(() => {
8239
8239
  if (!T) return;
8240
8240
  const a = O.current, y = H.current;
@@ -8267,13 +8267,13 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
8267
8267
  R.current = y > 0 ? Y / y % 1 : 0, V.cancel(), $.current === V && ($.current = null);
8268
8268
  };
8269
8269
  }, [T, S, D, k, E]);
8270
- const Z = () => {
8270
+ const Q = () => {
8271
8271
  var a;
8272
8272
  _ && (A.current = !0, (a = $.current) == null || a.pause());
8273
8273
  }, gt = () => {
8274
8274
  var a;
8275
8275
  _ && (A.current = !1, (a = $.current) == null || a.play());
8276
- }, st = Ot(() => {
8276
+ }, lt = Bt(() => {
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]), mt = Ot(() => {
8286
+ }, [l]), mt = Bt(() => {
8287
8287
  switch (l) {
8288
8288
  case "center":
8289
8289
  return "center";
@@ -8293,13 +8293,13 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
8293
8293
  default:
8294
8294
  return "left";
8295
8295
  }
8296
- }, [l]), vt = (a, y, P, B) => /* @__PURE__ */ dt(
8296
+ }, [l]), ht = (a, y, P, B) => /* @__PURE__ */ dt(
8297
8297
  "div",
8298
8298
  {
8299
8299
  style: {
8300
8300
  display: "flex",
8301
8301
  flexDirection: "column",
8302
- alignItems: st,
8302
+ alignItems: lt,
8303
8303
  width: "100%"
8304
8304
  },
8305
8305
  children: [
@@ -8308,7 +8308,7 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
8308
8308
  {
8309
8309
  "data-controls": B == null ? void 0 : B.controlsName,
8310
8310
  "data-controls-axis": "y",
8311
- className: qt.control,
8311
+ className: Xt.control,
8312
8312
  style: { width: "100%", height: C((B == null ? void 0 : B.marginTop) ?? 0) }
8313
8313
  }
8314
8314
  ),
@@ -8316,12 +8316,12 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
8316
8316
  "div",
8317
8317
  {
8318
8318
  style: {
8319
- ...ee(ss(a), n),
8319
+ ...oe(ss(a), n),
8320
8320
  textAlign: mt,
8321
8321
  pointerEvents: "auto",
8322
8322
  ...B != null && B.minHeight ? { minHeight: C(B.minHeight) } : {}
8323
8323
  },
8324
- children: /* @__PURE__ */ h(De, { content: y })
8324
+ children: /* @__PURE__ */ h(je, { content: y })
8325
8325
  }
8326
8326
  )
8327
8327
  ]
@@ -8346,30 +8346,30 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
8346
8346
  /* @__PURE__ */ h(
8347
8347
  "div",
8348
8348
  {
8349
- className: qt.cover,
8349
+ className: Xt.cover,
8350
8350
  style: { background: u, height: "100%" }
8351
8351
  }
8352
8352
  ),
8353
8353
  /* @__PURE__ */ dt(
8354
8354
  "div",
8355
8355
  {
8356
- className: qt.elementsOverlay,
8356
+ className: Xt.elementsOverlay,
8357
8357
  style: {
8358
8358
  display: "flex",
8359
8359
  flexDirection: "column",
8360
8360
  pointerEvents: "none",
8361
- alignItems: st,
8361
+ alignItems: lt,
8362
8362
  textAlign: mt
8363
8363
  },
8364
8364
  children: [
8365
- tt && a.text && vt(tt, a.text, "text", { minHeight: I }),
8365
+ et && a.text && ht(et, a.text, "text", { minHeight: I }),
8366
8366
  /* @__PURE__ */ dt(
8367
8367
  "div",
8368
8368
  {
8369
8369
  style: {
8370
8370
  display: "flex",
8371
8371
  flexDirection: "column",
8372
- alignItems: st,
8372
+ alignItems: lt,
8373
8373
  width: "100%"
8374
8374
  },
8375
8375
  children: [
@@ -8377,7 +8377,7 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
8377
8377
  "div",
8378
8378
  {
8379
8379
  "data-controls": "logoMarginTop",
8380
- className: qt.control,
8380
+ className: Xt.control,
8381
8381
  style: { width: "100%", height: C(w) }
8382
8382
  }
8383
8383
  ),
@@ -8393,7 +8393,7 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
8393
8393
  },
8394
8394
  "logo"
8395
8395
  ),
8396
- rt && a.caption && vt(rt, a.caption, "caption", {
8396
+ rt && a.caption && ht(rt, a.caption, "caption", {
8397
8397
  controlsName: "captionMarginTop",
8398
8398
  marginTop: N,
8399
8399
  minHeight: G
@@ -8435,18 +8435,18 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
8435
8435
  },
8436
8436
  y
8437
8437
  );
8438
- return T && (e != null && e.length) && e.length > 0 ? /* @__PURE__ */ h("div", { ref: O, className: ut(qt.wrapper, qt.marqueeWrapper), "aria-label": "Testimonials", children: /* @__PURE__ */ h(
8438
+ return T && (e != null && e.length) && e.length > 0 ? /* @__PURE__ */ h("div", { ref: O, className: ut(Xt.wrapper, Xt.marqueeWrapper), "aria-label": "Testimonials", children: /* @__PURE__ */ h(
8439
8439
  "div",
8440
8440
  {
8441
8441
  ref: W,
8442
- className: qt.marqueeTrack,
8443
- onMouseEnter: Z,
8442
+ className: Xt.marqueeTrack,
8443
+ onMouseEnter: Q,
8444
8444
  onMouseLeave: gt,
8445
8445
  children: Array.from({ length: M }, (a, y) => /* @__PURE__ */ h(
8446
8446
  "div",
8447
8447
  {
8448
8448
  ref: y === 0 ? H : void 0,
8449
- className: qt.marqueeSet,
8449
+ className: Xt.marqueeSet,
8450
8450
  style: { gap: C(d), paddingRight: C(d) },
8451
8451
  "aria-hidden": y > 0,
8452
8452
  children: e == null ? void 0 : e.map(
@@ -8456,7 +8456,7 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
8456
8456
  `set-${y}`
8457
8457
  ))
8458
8458
  }
8459
- ) }) : /* @__PURE__ */ h("div", { className: qt.wrapper, children: /* @__PURE__ */ h(
8459
+ ) }) : /* @__PURE__ */ h("div", { className: Xt.wrapper, children: /* @__PURE__ */ h(
8460
8460
  "div",
8461
8461
  {
8462
8462
  style: {
@@ -9479,7 +9479,7 @@ type TestimonialsStyles = {
9479
9479
  return y === "on" || y === "true";
9480
9480
  }
9481
9481
  return !1;
9482
- })(), b = v && !o, [I, G] = pt(0), [N, T] = pt(null), [S, k] = pt(!1), C = Ct(null), O = Ot(() => {
9482
+ })(), b = v && !o, [I, G] = ct(0), [N, T] = ct(null), [S, k] = ct(!1), C = Ct(null), O = Bt(() => {
9483
9483
  switch (s) {
9484
9484
  case "center":
9485
9485
  return "center";
@@ -9489,7 +9489,7 @@ type TestimonialsStyles = {
9489
9489
  default:
9490
9490
  return "flex-start";
9491
9491
  }
9492
- }, [s]), W = Ot(() => {
9492
+ }, [s]), W = Bt(() => {
9493
9493
  switch (s) {
9494
9494
  case "center":
9495
9495
  return "center";
@@ -9504,11 +9504,11 @@ type TestimonialsStyles = {
9504
9504
  G(0), T(null), k(!1);
9505
9505
  }, [r.length]);
9506
9506
  const H = r[I], z = N === null ? null : r[N], q = (a) => {
9507
- var yt;
9508
- const y = (yt = t == null ? void 0 : t.styles) == null ? void 0 : yt[a];
9507
+ var vt;
9508
+ const y = (vt = t == null ? void 0 : t.styles) == null ? void 0 : vt[a];
9509
9509
  if (y) return y;
9510
- const P = a === "text" ? "text" : "caption", B = t == null ? void 0 : t[`${P}FontFamily`], V = t == null ? void 0 : t[`${P}FontSettings`], Y = t == null ? void 0 : t[`${P}LetterSpacing`], X = t == null ? void 0 : t[`${P}WordSpacing`], Q = t == null ? void 0 : t[`${P}TextAlign`], et = t == null ? void 0 : t[`${P}TextAppearance`], at = t == null ? void 0 : t[`${P}Color`], lt = t == null ? void 0 : t[`${P}FontSize`], wt = t == null ? void 0 : t[`${P}LineHeight`];
9511
- return typeof B == "string" || !!V || typeof Y == "number" || typeof X == "number" || typeof Q == "string" || !!et || typeof at == "string" || typeof lt == "number" || typeof wt == "number" ? {
9510
+ const P = a === "text" ? "text" : "caption", B = t == null ? void 0 : t[`${P}FontFamily`], V = t == null ? void 0 : t[`${P}FontSettings`], Y = t == null ? void 0 : t[`${P}LetterSpacing`], X = t == null ? void 0 : t[`${P}WordSpacing`], tt = t == null ? void 0 : t[`${P}TextAlign`], nt = t == null ? void 0 : t[`${P}TextAppearance`], at = t == null ? void 0 : t[`${P}Color`], st = t == null ? void 0 : t[`${P}FontSize`], wt = t == null ? void 0 : t[`${P}LineHeight`];
9511
+ return typeof B == "string" || !!V || typeof Y == "number" || typeof X == "number" || typeof tt == "string" || !!nt || typeof at == "string" || typeof st == "number" || typeof wt == "number" ? {
9512
9512
  widthSettings: { width: 0.13, sizing: "manual" },
9513
9513
  fontSettings: {
9514
9514
  fontFamily: typeof B == "string" ? B : "Arial",
@@ -9517,52 +9517,52 @@ type TestimonialsStyles = {
9517
9517
  },
9518
9518
  letterSpacing: typeof Y == "number" ? Y : 0,
9519
9519
  wordSpacing: typeof X == "number" ? X : 0,
9520
- textAlign: Q === "left" || Q === "center" || Q === "right" ? Q : "left",
9520
+ textAlign: tt === "left" || tt === "center" || tt === "right" ? tt : "left",
9521
9521
  fontSizeLineHeight: {
9522
- fontSize: typeof lt == "number" ? lt : 0.01,
9522
+ fontSize: typeof st == "number" ? st : 0.01,
9523
9523
  lineHeight: typeof wt == "number" ? wt : 0.01
9524
9524
  },
9525
9525
  textAppearance: {
9526
- textTransform: (et == null ? void 0 : et.textTransform) ?? "none",
9527
- textDecoration: (et == null ? void 0 : et.textDecoration) ?? "none",
9528
- fontVariant: (et == null ? void 0 : et.fontVariant) ?? "normal"
9526
+ textTransform: (nt == null ? void 0 : nt.textTransform) ?? "none",
9527
+ textDecoration: (nt == null ? void 0 : nt.textDecoration) ?? "none",
9528
+ fontVariant: (nt == null ? void 0 : nt.fontVariant) ?? "normal"
9529
9529
  },
9530
9530
  color: typeof at == "string" ? at : "#000000"
9531
9531
  } : void 0;
9532
- }, D = q("text"), m = q("caption"), R = (a) => F(a, n ?? !1), A = r.length > 1 && (!!D || !!m), $ = Ct(null), [_, E] = pt(0), [K, it] = pt(0), tt = r.length > 1, rt = ve((a, y) => !tt || y === a ? a : (C.current && window.clearTimeout(C.current), T(a), k(!0), C.current = window.setTimeout(() => {
9532
+ }, D = q("text"), m = q("caption"), R = (a) => F(a, n ?? !1), A = r.length > 1 && (!!D || !!m), $ = Ct(null), [_, E] = ct(0), [K, it] = ct(0), et = r.length > 1, rt = Se((a, y) => !et || y === a ? a : (C.current && window.clearTimeout(C.current), T(a), k(!0), C.current = window.setTimeout(() => {
9533
9533
  T(null), k(!1), C.current = null;
9534
- }, 300), y), [tt]);
9535
- ve((a) => {
9534
+ }, 300), y), [et]);
9535
+ Se((a) => {
9536
9536
  G((y) => rt(y, a));
9537
9537
  }, [rt]);
9538
- const M = ve(() => {
9539
- tt && G((a) => rt(a, (a - 1 + r.length) % r.length));
9540
- }, [tt, rt, r.length]), Z = ve(() => {
9541
- tt && G((a) => rt(a, (a + 1) % r.length));
9542
- }, [tt, rt, r.length]);
9538
+ const M = Se(() => {
9539
+ et && G((a) => rt(a, (a - 1 + r.length) % r.length));
9540
+ }, [et, rt, r.length]), Q = Se(() => {
9541
+ et && G((a) => rt(a, (a + 1) % r.length));
9542
+ }, [et, rt, r.length]);
9543
9543
  $t(() => {
9544
- if (!b || !tt) return;
9544
+ if (!b || !et) return;
9545
9545
  const a = window.setInterval(() => {
9546
9546
  G((y) => rt(y, (y + 1) % r.length));
9547
9547
  }, i);
9548
9548
  return () => {
9549
9549
  window.clearInterval(a);
9550
9550
  };
9551
- }, [b, tt, rt, r.length, i]), $t(() => () => {
9551
+ }, [b, et, rt, r.length, i]), $t(() => () => {
9552
9552
  C.current && window.clearTimeout(C.current);
9553
9553
  }, []);
9554
9554
  const gt = t.controls ?? {
9555
9555
  mode: "Off",
9556
9556
  icon: null
9557
- }, st = gt.mode === "On" ? gt.icon ?? null : null, mt = Ot(() => R(0.01), [n]), vt = Ot(
9557
+ }, lt = gt.mode === "On" ? gt.icon ?? null : null, mt = Bt(() => R(0.01), [n]), ht = Bt(
9558
9558
  () => F(u ?? 0.02, n ?? !1),
9559
9559
  [u, n]
9560
- ), It = ve((a, y) => {
9561
- var Q, et, at;
9560
+ ), It = Se((a, y) => {
9561
+ var tt, nt, at, st, wt;
9562
9562
  const P = y == null ? void 0 : y.textMinHeightPx, B = y == null ? void 0 : y.captionMinHeightPx, V = y == null ? void 0 : y.dataMeasureAttrs;
9563
9563
  let Y = null;
9564
9564
  if (D) {
9565
- const { fontSettings: lt, letterSpacing: wt, wordSpacing: nt, fontSizeLineHeight: ct, textAppearance: yt, color: Ft } = D;
9565
+ const { fontSettings: Z, letterSpacing: pt, wordSpacing: vt, fontSizeLineHeight: Et, textAppearance: Mt, color: Ut } = D;
9566
9566
  Y = /* @__PURE__ */ dt(
9567
9567
  "div",
9568
9568
  {
@@ -9586,22 +9586,22 @@ type TestimonialsStyles = {
9586
9586
  {
9587
9587
  ...V ? { "data-testimonial-measure": "text" } : {},
9588
9588
  style: {
9589
- fontFamily: lt.fontFamily,
9590
- fontWeight: lt.fontWeight,
9591
- fontStyle: lt.fontStyle,
9589
+ fontFamily: Z.fontFamily,
9590
+ fontWeight: Z.fontWeight,
9591
+ fontStyle: Z.fontStyle,
9592
9592
  ...typeof P == "number" && P > 0 ? { minHeight: P } : {},
9593
- letterSpacing: F(wt, n),
9594
- wordSpacing: F(nt, n),
9593
+ letterSpacing: F(pt, n),
9594
+ wordSpacing: F(vt, n),
9595
9595
  textAlign: W,
9596
- fontSize: F(ct.fontSize, n),
9597
- lineHeight: F(ct.lineHeight, n),
9598
- textTransform: yt.textTransform ?? "none",
9599
- textDecoration: yt.textDecoration ?? "none",
9600
- fontVariant: yt.fontVariant ?? "normal",
9601
- color: Ft,
9596
+ fontSize: F(Et.fontSize, n),
9597
+ lineHeight: F(Et.lineHeight, n),
9598
+ textTransform: Mt.textTransform ?? "none",
9599
+ textDecoration: Mt.textDecoration ?? "none",
9600
+ fontVariant: Mt.fontVariant ?? "normal",
9601
+ color: Ut,
9602
9602
  pointerEvents: "auto"
9603
9603
  },
9604
- children: /* @__PURE__ */ h(De, { content: a.text ?? [] })
9604
+ children: /* @__PURE__ */ h(je, { content: a.text ?? [] })
9605
9605
  }
9606
9606
  )
9607
9607
  ]
@@ -9611,7 +9611,7 @@ type TestimonialsStyles = {
9611
9611
  }
9612
9612
  let X = null;
9613
9613
  if (m) {
9614
- const { fontSettings: lt, letterSpacing: wt, wordSpacing: nt, fontSizeLineHeight: ct, textAppearance: yt, color: Ft } = m;
9614
+ const { fontSettings: Z, letterSpacing: pt, wordSpacing: vt, fontSizeLineHeight: Et, textAppearance: Mt, color: Ut } = m;
9615
9615
  X = /* @__PURE__ */ dt(
9616
9616
  "div",
9617
9617
  {
@@ -9635,22 +9635,22 @@ type TestimonialsStyles = {
9635
9635
  {
9636
9636
  ...V ? { "data-testimonial-measure": "caption" } : {},
9637
9637
  style: {
9638
- fontFamily: lt.fontFamily,
9639
- fontWeight: lt.fontWeight,
9640
- fontStyle: lt.fontStyle,
9638
+ fontFamily: Z.fontFamily,
9639
+ fontWeight: Z.fontWeight,
9640
+ fontStyle: Z.fontStyle,
9641
9641
  ...typeof B == "number" && B > 0 ? { minHeight: B } : {},
9642
- letterSpacing: F(wt, n),
9643
- wordSpacing: F(nt, n),
9642
+ letterSpacing: F(pt, n),
9643
+ wordSpacing: F(vt, n),
9644
9644
  textAlign: W,
9645
- fontSize: F(ct.fontSize, n),
9646
- lineHeight: F(ct.lineHeight, n),
9647
- textTransform: yt.textTransform ?? "none",
9648
- textDecoration: yt.textDecoration ?? "none",
9649
- fontVariant: yt.fontVariant ?? "normal",
9650
- color: Ft,
9645
+ fontSize: F(Et.fontSize, n),
9646
+ lineHeight: F(Et.lineHeight, n),
9647
+ textTransform: Mt.textTransform ?? "none",
9648
+ textDecoration: Mt.textDecoration ?? "none",
9649
+ fontVariant: Mt.fontVariant ?? "normal",
9650
+ color: Ut,
9651
9651
  pointerEvents: "auto"
9652
9652
  },
9653
- children: /* @__PURE__ */ h(De, { content: a.caption })
9653
+ children: /* @__PURE__ */ h(je, { content: a.caption })
9654
9654
  }
9655
9655
  )
9656
9656
  ]
@@ -9658,9 +9658,9 @@ type TestimonialsStyles = {
9658
9658
  "caption"
9659
9659
  );
9660
9660
  }
9661
- return /* @__PURE__ */ dt(ne, { children: [
9661
+ return /* @__PURE__ */ dt(re, { children: [
9662
9662
  Y,
9663
- /* @__PURE__ */ dt(
9663
+ /* @__PURE__ */ h(
9664
9664
  "div",
9665
9665
  {
9666
9666
  style: {
@@ -9669,8 +9669,8 @@ type TestimonialsStyles = {
9669
9669
  alignItems: O,
9670
9670
  width: "100%"
9671
9671
  },
9672
- children: [
9673
- /* @__PURE__ */ h(
9672
+ children: /* @__PURE__ */ dt("div", { style: { width: F(x ?? 0, n ?? !1), height: F(f ?? 0, n ?? !1) }, children: [
9673
+ ((tt = a.image) == null ? void 0 : tt.url) && /* @__PURE__ */ h(
9674
9674
  "div",
9675
9675
  {
9676
9676
  "data-controls": "imageMarginTop",
@@ -9678,21 +9678,21 @@ type TestimonialsStyles = {
9678
9678
  style: { height: F(d ?? 0, n ?? !1), width: "100%" }
9679
9679
  }
9680
9680
  ),
9681
- /* @__PURE__ */ h(
9681
+ ((nt = a.image) == null ? void 0 : nt.url) && /* @__PURE__ */ h(
9682
9682
  "img",
9683
9683
  {
9684
- src: (Q = a.image) == null ? void 0 : Q.url,
9685
- alt: (et = a.image) == null ? void 0 : et.name,
9684
+ src: (at = a.image) == null ? void 0 : at.url,
9685
+ alt: (st = a.image) == null ? void 0 : st.name,
9686
9686
  className: xt.icon,
9687
9687
  style: {
9688
9688
  pointerEvents: "auto",
9689
- objectFit: ((at = a.image) == null ? void 0 : at.objectFit) || "cover",
9690
- width: F(x ?? 0, n ?? !1),
9691
- height: F(f ?? 0, n ?? !1)
9689
+ objectFit: ((wt = a.image) == null ? void 0 : wt.objectFit) || "cover",
9690
+ width: "100%",
9691
+ height: "100%"
9692
9692
  }
9693
9693
  }
9694
9694
  )
9695
- ]
9695
+ ] })
9696
9696
  },
9697
9697
  "image"
9698
9698
  ),
@@ -9732,9 +9732,9 @@ type TestimonialsStyles = {
9732
9732
  return P.observe(a), () => {
9733
9733
  P.disconnect();
9734
9734
  };
9735
- }, [A, r, It]), !H) return /* @__PURE__ */ h(ne, {});
9735
+ }, [A, r, It]), !H) return /* @__PURE__ */ h(re, {});
9736
9736
  const j = A ? { textMinHeightPx: _, captionMinHeightPx: K } : void 0;
9737
- return /* @__PURE__ */ h(ne, { children: /* @__PURE__ */ dt(
9737
+ return /* @__PURE__ */ h(re, { children: /* @__PURE__ */ dt(
9738
9738
  "div",
9739
9739
  {
9740
9740
  className: xt.container,
@@ -9804,8 +9804,8 @@ type TestimonialsStyles = {
9804
9804
  className: xt.arrow,
9805
9805
  style: {
9806
9806
  pointerEvents: "auto",
9807
- width: vt,
9808
- height: vt,
9807
+ width: ht,
9808
+ height: ht,
9809
9809
  "--arrow-hover-color": w
9810
9810
  },
9811
9811
  children: /* @__PURE__ */ h(
@@ -9816,10 +9816,10 @@ type TestimonialsStyles = {
9816
9816
  onClick: M,
9817
9817
  "aria-label": "Previous testimonial",
9818
9818
  style: { pointerEvents: "auto" },
9819
- children: st && /* @__PURE__ */ h(
9820
- oe,
9819
+ children: lt && /* @__PURE__ */ h(
9820
+ ie,
9821
9821
  {
9822
- url: st,
9822
+ url: lt,
9823
9823
  fill: g,
9824
9824
  hoverFill: w,
9825
9825
  className: ut(xt.arrowImg, xt.mirror)
@@ -9835,8 +9835,8 @@ type TestimonialsStyles = {
9835
9835
  className: ut(xt.arrow, xt.nextArrow),
9836
9836
  style: {
9837
9837
  pointerEvents: "auto",
9838
- width: vt,
9839
- height: vt,
9838
+ width: ht,
9839
+ height: ht,
9840
9840
  "--arrow-hover-color": w
9841
9841
  },
9842
9842
  children: /* @__PURE__ */ h(
@@ -9844,13 +9844,13 @@ type TestimonialsStyles = {
9844
9844
  {
9845
9845
  type: "button",
9846
9846
  className: xt.arrowInner,
9847
- onClick: Z,
9847
+ onClick: Q,
9848
9848
  "aria-label": "Next testimonial",
9849
9849
  style: { pointerEvents: "auto" },
9850
- children: st && /* @__PURE__ */ h(
9851
- oe,
9850
+ children: lt && /* @__PURE__ */ h(
9851
+ ie,
9852
9852
  {
9853
- url: st,
9853
+ url: lt,
9854
9854
  fill: g,
9855
9855
  hoverFill: w,
9856
9856
  className: xt.arrowImg
@@ -10185,22 +10185,25 @@ export const TestimonialSingle = ({ settings, content, isEditor, isPreviewMode }
10185
10185
  width: '100%',
10186
10186
  }}
10187
10187
  >
10188
- <div
10189
- data-controls="imageMarginTop"
10190
- className={classes.control}
10191
- style={{ height: scalingValue(imageMarginTop ?? 0, isEditor ?? false), width: '100%' }}
10192
- />
10193
- <img
10194
- src={item.image?.url}
10195
- alt={item.image?.name}
10196
- className={classes.icon}
10197
- style={{
10198
- pointerEvents: 'auto',
10199
- objectFit: item.image?.objectFit || 'cover',
10200
- width: scalingValue(imageWidth ?? 0, isEditor ?? false),
10201
- height: scalingValue(imageHeight ?? 0, isEditor ?? false),
10202
- }}
10203
- />
10188
+
10189
+ <div style={{ width: scalingValue(imageWidth ?? 0, isEditor ?? false), height: scalingValue(imageHeight ?? 0, isEditor ?? false)}}>
10190
+ {item.image?.url && <div
10191
+ data-controls="imageMarginTop"
10192
+ className={classes.control}
10193
+ style={{ height: scalingValue(imageMarginTop ?? 0, isEditor ?? false), width: '100%' }}
10194
+ />}
10195
+ {item.image?.url && <img
10196
+ src={item.image?.url}
10197
+ alt={item.image?.name}
10198
+ className={classes.icon}
10199
+ style={{
10200
+ pointerEvents: 'auto',
10201
+ objectFit: item.image?.objectFit || 'cover',
10202
+ width: '100%',
10203
+ height: '100%',
10204
+ }}
10205
+ />}
10206
+ </div>
10204
10207
  </div>
10205
10208
  {captionSection}
10206
10209
  </>