@cntrl-site/components 1.0.1-alpha.3 → 1.0.1-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,12 +1,12 @@
1
- import { jsx as N, Fragment as mt, jsxs as ye } from "react/jsx-runtime";
2
- import je, { useState as le, useEffect as ve, useRef as Se, useCallback as Qn } from "react";
1
+ import { jsx as N, Fragment as mt, jsxs as he } from "react/jsx-runtime";
2
+ import Xe, { useState as le, useEffect as ve, useRef as Se, useCallback as Qn } from "react";
3
3
  import fe from "classnames";
4
4
  import { s as B, u as dn, g as Dt } from "./useScopedStyles-Da2iLz5N.mjs";
5
5
  import { createPortal as eo } from "react-dom";
6
6
  function $l(e) {
7
7
  return e.type === "object" && e.version === 1;
8
8
  }
9
- const to = "ControlSlider-module__wrapper___sHEkd", ro = "ControlSlider-module__hoverArrow___A-dOH", no = "ControlSlider-module__sliderItem___QQSkR", oo = "ControlSlider-module__sliderImage___9hRl-", io = "ControlSlider-module__arrow___05ghY", ao = "ControlSlider-module__arrowVertical___tBfVN", lo = "ControlSlider-module__nextArrow___-30Yc", so = "ControlSlider-module__arrowInner___aEra3", co = "ControlSlider-module__arrowIcon___S4ztF", uo = "ControlSlider-module__arrowImg___2dwJW", po = "ControlSlider-module__mirror___brd6U", fo = "ControlSlider-module__pagination___bicLF", go = "ControlSlider-module__paginationInner___bT-P-", mo = "ControlSlider-module__paginationVertical___zYqKw", ho = "ControlSlider-module__paginationItem___nTRbk", yo = "ControlSlider-module__dot___p1Qun", vo = "ControlSlider-module__activeDot___LHFaj", bo = "ControlSlider-module__paginationInsideBottom___R3FWn", Co = "ControlSlider-module__paginationInsideTop___V-qb-", _o = "ControlSlider-module__paginationOutsideBottom___14w8D", So = "ControlSlider-module__paginationOutsideTop___SCLqB", xo = "ControlSlider-module__paginationInsideLeft___yOBRZ", wo = "ControlSlider-module__paginationInsideRight___Rtt3o", $o = "ControlSlider-module__paginationOutsideLeft___lahaw", Eo = "ControlSlider-module__paginationOutsideRight___EtuQa", To = "ControlSlider-module__imgWrapper___UjEgB", Ao = "ControlSlider-module__captionBlock___dJ6-j", Io = "ControlSlider-module__captionTextWrapper___HFlpf", Lo = "ControlSlider-module__captionText___uGBVc", ko = "ControlSlider-module__active___WZK4G", Ro = "ControlSlider-module__withPointerEvents___t-18M", No = "ControlSlider-module__topLeftAlignment___zjnGM", Oo = "ControlSlider-module__topCenterAlignment___gD1xW", Bo = "ControlSlider-module__topRightAlignment___NMapS", Fo = "ControlSlider-module__middleLeftAlignment___OnUrY", Mo = "ControlSlider-module__middleCenterAlignment___Tdkl0", zo = "ControlSlider-module__middleRightAlignment___wEbfX", Do = "ControlSlider-module__bottomLeftAlignment___cTP2-", Vo = "ControlSlider-module__bottomCenterAlignment___c54fB", jo = "ControlSlider-module__bottomRightAlignment___kEwrz", Wo = "ControlSlider-module__clickOverlay___DZA28", Po = "ControlSlider-module__contain___pLyq7", Ho = "ControlSlider-module__cover___KdDat", U = {
9
+ const to = "ControlSlider-module__wrapper___sHEkd", ro = "ControlSlider-module__hoverArrow___A-dOH", no = "ControlSlider-module__sliderItem___QQSkR", oo = "ControlSlider-module__sliderImage___9hRl-", io = "ControlSlider-module__arrow___05ghY", ao = "ControlSlider-module__arrowVertical___tBfVN", lo = "ControlSlider-module__nextArrow___-30Yc", so = "ControlSlider-module__arrowInner___aEra3", co = "ControlSlider-module__arrowIcon___S4ztF", uo = "ControlSlider-module__arrowImg___2dwJW", po = "ControlSlider-module__mirror___brd6U", fo = "ControlSlider-module__pagination___bicLF", go = "ControlSlider-module__paginationInner___bT-P-", mo = "ControlSlider-module__paginationVertical___zYqKw", yo = "ControlSlider-module__paginationItem___nTRbk", vo = "ControlSlider-module__dot___p1Qun", ho = "ControlSlider-module__activeDot___LHFaj", bo = "ControlSlider-module__paginationInsideBottom___R3FWn", Co = "ControlSlider-module__paginationInsideTop___V-qb-", _o = "ControlSlider-module__paginationOutsideBottom___14w8D", So = "ControlSlider-module__paginationOutsideTop___SCLqB", xo = "ControlSlider-module__paginationInsideLeft___yOBRZ", wo = "ControlSlider-module__paginationInsideRight___Rtt3o", $o = "ControlSlider-module__paginationOutsideLeft___lahaw", Eo = "ControlSlider-module__paginationOutsideRight___EtuQa", To = "ControlSlider-module__imgWrapper___UjEgB", Ao = "ControlSlider-module__captionBlock___dJ6-j", Io = "ControlSlider-module__captionTextWrapper___HFlpf", Lo = "ControlSlider-module__captionText___uGBVc", ko = "ControlSlider-module__active___WZK4G", Ro = "ControlSlider-module__withPointerEvents___t-18M", No = "ControlSlider-module__topLeftAlignment___zjnGM", Oo = "ControlSlider-module__topCenterAlignment___gD1xW", Bo = "ControlSlider-module__topRightAlignment___NMapS", Fo = "ControlSlider-module__middleLeftAlignment___OnUrY", Mo = "ControlSlider-module__middleCenterAlignment___Tdkl0", zo = "ControlSlider-module__middleRightAlignment___wEbfX", Do = "ControlSlider-module__bottomLeftAlignment___cTP2-", Vo = "ControlSlider-module__bottomCenterAlignment___c54fB", jo = "ControlSlider-module__bottomRightAlignment___kEwrz", Wo = "ControlSlider-module__clickOverlay___DZA28", Po = "ControlSlider-module__contain___pLyq7", Ho = "ControlSlider-module__cover___KdDat", U = {
10
10
  wrapper: to,
11
11
  hoverArrow: ro,
12
12
  sliderItem: no,
@@ -21,9 +21,9 @@ const to = "ControlSlider-module__wrapper___sHEkd", ro = "ControlSlider-module__
21
21
  pagination: fo,
22
22
  paginationInner: go,
23
23
  paginationVertical: mo,
24
- paginationItem: ho,
25
- dot: yo,
26
- activeDot: vo,
24
+ paginationItem: yo,
25
+ dot: vo,
26
+ activeDot: ho,
27
27
  paginationInsideBottom: bo,
28
28
  paginationInsideTop: Co,
29
29
  paginationOutsideBottom: _o,
@@ -72,11 +72,11 @@ var Dr = "(prefers-reduced-motion: reduce)", nt = 1, Yo = 2, at = 3, ct = 4, xt
72
72
  function ze(e) {
73
73
  e.length = 0;
74
74
  }
75
- function Ue(e, t, r) {
75
+ function He(e, t, r) {
76
76
  return Array.prototype.slice.call(e, t, r);
77
77
  }
78
78
  function se(e) {
79
- return e.bind.apply(e, [null].concat(Ue(arguments, 1)));
79
+ return e.bind.apply(e, [null].concat(He(arguments, 1)));
80
80
  }
81
81
  var fn = setTimeout, ur = function() {
82
82
  };
@@ -86,10 +86,10 @@ function Vr(e) {
86
86
  function Ut(e, t) {
87
87
  return typeof t === e;
88
88
  }
89
- function ht(e) {
89
+ function yt(e) {
90
90
  return !Cr(e) && Ut("object", e);
91
91
  }
92
- var br = Array.isArray, gn = se(Ut, "function"), Pe = se(Ut, "string"), wt = se(Ut, "undefined");
92
+ var br = Array.isArray, gn = se(Ut, "function"), We = se(Ut, "string"), wt = se(Ut, "undefined");
93
93
  function Cr(e) {
94
94
  return e === null;
95
95
  }
@@ -118,7 +118,7 @@ function Be(e, t, r) {
118
118
  });
119
119
  }
120
120
  function Le(e, t) {
121
- Be(e, Pe(t) ? t.split(" ") : t, !0);
121
+ Be(e, We(t) ? t.split(" ") : t, !0);
122
122
  }
123
123
  function Et(e, t) {
124
124
  $e(t, e.appendChild.bind(e));
@@ -129,40 +129,40 @@ function Sr(e, t) {
129
129
  n && n.insertBefore(r, t);
130
130
  });
131
131
  }
132
- function yt(e, t) {
132
+ function vt(e, t) {
133
133
  return mn(e) && (e.msMatchesSelector || e.matches).call(e, t);
134
134
  }
135
- function hn(e, t) {
136
- var r = e ? Ue(e.children) : [];
135
+ function yn(e, t) {
136
+ var r = e ? He(e.children) : [];
137
137
  return t ? r.filter(function(n) {
138
- return yt(n, t);
138
+ return vt(n, t);
139
139
  }) : r;
140
140
  }
141
141
  function Tt(e, t) {
142
- return t ? hn(e, t)[0] : e.firstElementChild;
142
+ return t ? yn(e, t)[0] : e.firstElementChild;
143
143
  }
144
- var vt = Object.keys;
144
+ var ht = Object.keys;
145
145
  function qe(e, t, r) {
146
- return e && (r ? vt(e).reverse() : vt(e)).forEach(function(n) {
146
+ return e && (r ? ht(e).reverse() : ht(e)).forEach(function(n) {
147
147
  n !== "__proto__" && t(e[n], n);
148
148
  }), e;
149
149
  }
150
150
  function bt(e) {
151
- return Ue(arguments, 1).forEach(function(t) {
151
+ return He(arguments, 1).forEach(function(t) {
152
152
  qe(t, function(r, n) {
153
153
  e[n] = t[n];
154
154
  });
155
155
  }), e;
156
156
  }
157
- function We(e) {
158
- return Ue(arguments, 1).forEach(function(t) {
157
+ function je(e) {
158
+ return He(arguments, 1).forEach(function(t) {
159
159
  qe(t, function(r, n) {
160
- br(r) ? e[n] = r.slice() : ht(r) ? e[n] = We({}, ht(e[n]) ? e[n] : {}, r) : e[n] = r;
160
+ br(r) ? e[n] = r.slice() : yt(r) ? e[n] = je({}, yt(e[n]) ? e[n] : {}, r) : e[n] = r;
161
161
  });
162
162
  }), e;
163
163
  }
164
164
  function jr(e, t) {
165
- $e(t || vt(e), function(r) {
165
+ $e(t || ht(e), function(r) {
166
166
  delete e[r];
167
167
  });
168
168
  }
@@ -174,7 +174,7 @@ function ke(e, t) {
174
174
  });
175
175
  }
176
176
  function ee(e, t, r) {
177
- ht(t) ? qe(t, function(n, o) {
177
+ yt(t) ? qe(t, function(n, o) {
178
178
  ee(e, o, n);
179
179
  }) : $e(e, function(n) {
180
180
  Cr(r) || r === "" ? ke(n, t) : n.setAttribute(t, String(r));
@@ -182,7 +182,7 @@ function ee(e, t, r) {
182
182
  }
183
183
  function ot(e, t, r) {
184
184
  var n = document.createElement(e);
185
- return t && (Pe(t) ? Le(n, t) : ee(n, t)), r && Et(r, n), n;
185
+ return t && (We(t) ? Le(n, t) : ee(n, t)), r && Et(r, n), n;
186
186
  }
187
187
  function Te(e, t, r) {
188
188
  if (wt(r))
@@ -192,7 +192,7 @@ function Te(e, t, r) {
192
192
  function Ct(e, t) {
193
193
  Te(e, "display", t);
194
194
  }
195
- function yn(e) {
195
+ function vn(e) {
196
196
  e.setActive && e.setActive() || e.focus({
197
197
  preventScroll: !0
198
198
  });
@@ -211,7 +211,7 @@ function Ke(e) {
211
211
  t && t.parentNode && t.parentNode.removeChild(t);
212
212
  });
213
213
  }
214
- function vn(e) {
214
+ function hn(e) {
215
215
  return Tt(new DOMParser().parseFromString(e, "text/html").body);
216
216
  }
217
217
  function Oe(e, t) {
@@ -221,7 +221,7 @@ function bn(e, t) {
221
221
  return e && e.querySelector(t);
222
222
  }
223
223
  function xr(e, t) {
224
- return t ? Ue(e.querySelectorAll(t)) : [];
224
+ return t ? He(e.querySelectorAll(t)) : [];
225
225
  }
226
226
  function Fe(e, t) {
227
227
  Be(e, t, !1);
@@ -229,25 +229,25 @@ function Fe(e, t) {
229
229
  function pr(e) {
230
230
  return e.timeStamp;
231
231
  }
232
- function Xe(e) {
233
- return Pe(e) ? e : e ? e + "px" : "";
232
+ function Ye(e) {
233
+ return We(e) ? e : e ? e + "px" : "";
234
234
  }
235
235
  var At = "splide", wr = "data-" + At;
236
236
  function dt(e, t) {
237
237
  if (!e)
238
238
  throw new Error("[" + At + "] " + (t || ""));
239
239
  }
240
- var He = Math.min, jt = Math.max, Wt = Math.floor, _t = Math.ceil, _e = Math.abs;
240
+ var Pe = Math.min, jt = Math.max, Wt = Math.floor, _t = Math.ceil, _e = Math.abs;
241
241
  function Cn(e, t, r) {
242
242
  return _e(e - t) < r;
243
243
  }
244
244
  function Mt(e, t, r, n) {
245
- var o = He(t, r), a = jt(t, r);
245
+ var o = Pe(t, r), a = jt(t, r);
246
246
  return n ? o < e && e < a : o <= e && e <= a;
247
247
  }
248
248
  function tt(e, t, r) {
249
- var n = He(t, r), o = jt(t, r);
250
- return He(jt(n, e), o);
249
+ var n = Pe(t, r), o = jt(t, r);
250
+ return Pe(jt(n, e), o);
251
251
  }
252
252
  function dr(e) {
253
253
  return +(e > 0) - +(e < 0);
@@ -268,8 +268,8 @@ function _n() {
268
268
  var e = [];
269
269
  function t(i, s, l, p) {
270
270
  o(i, s, function(c, S, m) {
271
- var h = "addEventListener" in c, u = h ? c.removeEventListener.bind(c, S, l, p) : c.removeListener.bind(c, l);
272
- h ? c.addEventListener(S, l, p) : c.addListener(l), e.push([c, S, m, l, u]);
271
+ var y = "addEventListener" in c, u = y ? c.removeEventListener.bind(c, S, l, p) : c.removeListener.bind(c, l);
272
+ y ? c.addEventListener(S, l, p) : c.addListener(l), e.push([c, S, m, l, u]);
273
273
  });
274
274
  }
275
275
  function r(i, s, l) {
@@ -308,7 +308,7 @@ function _n() {
308
308
  destroy: a
309
309
  };
310
310
  }
311
- var Ge = "mounted", gr = "ready", De = "move", ut = "moved", Er = "click", Sn = "active", xn = "inactive", wn = "visible", $n = "hidden", he = "refresh", be = "updated", lt = "resize", Gt = "resized", En = "drag", Tn = "dragging", An = "dragged", Yt = "scroll", Ze = "scrolled", Ko = "overflow", Tr = "destroy", In = "arrows:mounted", Ln = "arrows:updated", kn = "pagination:mounted", Rn = "pagination:updated", Ar = "navigation:mounted", Ir = "autoplay:play", Nn = "autoplay:playing", Lr = "autoplay:pause", kr = "lazyload:loaded", On = "sk", Bn = "sh", Pt = "ei";
311
+ var Ue = "mounted", gr = "ready", De = "move", ut = "moved", Er = "click", Sn = "active", xn = "inactive", wn = "visible", $n = "hidden", ye = "refresh", be = "updated", lt = "resize", Gt = "resized", En = "drag", Tn = "dragging", An = "dragged", Yt = "scroll", Ze = "scrolled", Ko = "overflow", Tr = "destroy", In = "arrows:mounted", Ln = "arrows:updated", kn = "pagination:mounted", Rn = "pagination:updated", Ar = "navigation:mounted", Ir = "autoplay:play", Nn = "autoplay:playing", Lr = "autoplay:pause", kr = "lazyload:loaded", On = "sk", Bn = "sh", Pt = "ei";
312
312
  function ge(e) {
313
313
  var t = e ? e.event.bus : document.createDocumentFragment(), r = _n();
314
314
  function n(a, i) {
@@ -317,7 +317,7 @@ function ge(e) {
317
317
  });
318
318
  }
319
319
  function o(a) {
320
- r.dispatch(t, a, Ue(arguments, 1));
320
+ r.dispatch(t, a, He(arguments, 1));
321
321
  }
322
322
  return e && e.event.on(Tr, r.destroy), bt(r, {
323
323
  bus: t,
@@ -330,7 +330,7 @@ function Xt(e, t, r, n) {
330
330
  var o = Date.now, a, i = 0, s, l = !0, p = 0;
331
331
  function c() {
332
332
  if (!l) {
333
- if (i = e ? He((o() - a) / e, 1) : 1, r && r(i), i >= 1 && (t(), a = o(), n && ++p >= n))
333
+ if (i = e ? Pe((o() - a) / e, 1) : 1, r && r(i), i >= 1 && (t(), a = o(), n && ++p >= n))
334
334
  return m();
335
335
  s = Vr(c);
336
336
  }
@@ -341,7 +341,7 @@ function Xt(e, t, r, n) {
341
341
  function m() {
342
342
  l = !0;
343
343
  }
344
- function h() {
344
+ function y() {
345
345
  a = o(), i = 0, r && r(i);
346
346
  }
347
347
  function u() {
@@ -355,7 +355,7 @@ function Xt(e, t, r, n) {
355
355
  }
356
356
  return {
357
357
  start: S,
358
- rewind: h,
358
+ rewind: y,
359
359
  pause: m,
360
360
  cancel: u,
361
361
  set: f,
@@ -385,7 +385,7 @@ function Qo(e, t, r) {
385
385
  var n = e.state, o = r.breakpoints || {}, a = r.reducedMotion || {}, i = _n(), s = [];
386
386
  function l() {
387
387
  var u = r.mediaQuery === "min";
388
- vt(o).sort(function(f, x) {
388
+ ht(o).sort(function(f, x) {
389
389
  return u ? +f - +x : +x - +f;
390
390
  }).forEach(function(f) {
391
391
  c(o[f], "(" + (u ? "min" : "max") + "-width:" + f + "px)");
@@ -400,21 +400,21 @@ function Qo(e, t, r) {
400
400
  }
401
401
  function S() {
402
402
  var u = n.is(Vt), f = r.direction, x = s.reduce(function(E, d) {
403
- return We(E, d[1].matches ? d[0] : {});
403
+ return je(E, d[1].matches ? d[0] : {});
404
404
  }, {});
405
- jr(r), h(x), r.destroy ? e.destroy(r.destroy === "completely") : u ? (p(!0), e.mount()) : f !== r.direction && e.refresh();
405
+ jr(r), y(x), r.destroy ? e.destroy(r.destroy === "completely") : u ? (p(!0), e.mount()) : f !== r.direction && e.refresh();
406
406
  }
407
407
  function m(u) {
408
- matchMedia(Dr).matches && (u ? We(r, a) : jr(r, vt(a)));
408
+ matchMedia(Dr).matches && (u ? je(r, a) : jr(r, ht(a)));
409
409
  }
410
- function h(u, f, x) {
411
- We(r, u), f && We(Object.getPrototypeOf(r), u), (x || !n.is(nt)) && e.emit(be, r);
410
+ function y(u, f, x) {
411
+ je(r, u), f && je(Object.getPrototypeOf(r), u), (x || !n.is(nt)) && e.emit(be, r);
412
412
  }
413
413
  return {
414
414
  setup: l,
415
415
  destroy: p,
416
416
  reduce: m,
417
- set: h
417
+ set: y
418
418
  };
419
419
  }
420
420
  var qt = "Arrow", Kt = qt + "Left", Jt = qt + "Right", Fn = qt + "Up", Mn = qt + "Down", Hr = "rtl", Zt = "ttb", rr = {
@@ -444,7 +444,7 @@ function ei(e, t, r) {
444
444
  orient: o
445
445
  };
446
446
  }
447
- var Me = "role", it = "tabindex", ti = "disabled", Ie = "aria-", It = Ie + "controls", zn = Ie + "current", Ur = Ie + "selected", we = Ie + "label", Rr = Ie + "labelledby", Dn = Ie + "hidden", Nr = Ie + "orientation", St = Ie + "roledescription", Gr = Ie + "live", Yr = Ie + "busy", Xr = Ie + "atomic", Or = [Me, it, ti, It, zn, we, Rr, Dn, Nr, St], Re = At + "__", Ye = "is-", nr = At, qr = Re + "track", ri = Re + "list", Qt = Re + "slide", Vn = Qt + "--clone", ni = Qt + "__container", Br = Re + "arrows", er = Re + "arrow", jn = er + "--prev", Wn = er + "--next", tr = Re + "pagination", Pn = tr + "__page", oi = Re + "progress", ii = oi + "__bar", ai = Re + "toggle", li = Re + "spinner", si = Re + "sr", ci = Ye + "initialized", Je = Ye + "active", Hn = Ye + "prev", Un = Ye + "next", mr = Ye + "visible", hr = Ye + "loading", Gn = Ye + "focus-in", Yn = Ye + "overflow", ui = [Je, mr, Hn, Un, hr, Gn, Yn], pi = {
447
+ var Me = "role", it = "tabindex", ti = "disabled", Ie = "aria-", It = Ie + "controls", zn = Ie + "current", Ur = Ie + "selected", we = Ie + "label", Rr = Ie + "labelledby", Dn = Ie + "hidden", Nr = Ie + "orientation", St = Ie + "roledescription", Gr = Ie + "live", Yr = Ie + "busy", Xr = Ie + "atomic", Or = [Me, it, ti, It, zn, we, Rr, Dn, Nr, St], Re = At + "__", Ge = "is-", nr = At, qr = Re + "track", ri = Re + "list", Qt = Re + "slide", Vn = Qt + "--clone", ni = Qt + "__container", Br = Re + "arrows", er = Re + "arrow", jn = er + "--prev", Wn = er + "--next", tr = Re + "pagination", Pn = tr + "__page", oi = Re + "progress", ii = oi + "__bar", ai = Re + "toggle", li = Re + "spinner", si = Re + "sr", ci = Ge + "initialized", Je = Ge + "active", Hn = Ge + "prev", Un = Ge + "next", mr = Ge + "visible", yr = Ge + "loading", Gn = Ge + "focus-in", Yn = Ge + "overflow", ui = [Je, mr, Hn, Un, yr, Gn, Yn], pi = {
448
448
  slide: Qt,
449
449
  clone: Vn,
450
450
  arrows: Br,
@@ -458,18 +458,18 @@ var Me = "role", it = "tabindex", ti = "disabled", Ie = "aria-", It = Ie + "cont
458
458
  function di(e, t) {
459
459
  if (gn(e.closest))
460
460
  return e.closest(t);
461
- for (var r = e; r && r.nodeType === 1 && !yt(r, t); )
461
+ for (var r = e; r && r.nodeType === 1 && !vt(r, t); )
462
462
  r = r.parentElement;
463
463
  return r;
464
464
  }
465
465
  var fi = 5, Kr = 200, Xn = "touchstart mousedown", or = "touchmove mousemove", ir = "touchend touchcancel mouseup click";
466
466
  function gi(e, t, r) {
467
- var n = ge(e), o = n.on, a = n.bind, i = e.root, s = r.i18n, l = {}, p = [], c = [], S = [], m, h, u;
467
+ var n = ge(e), o = n.on, a = n.bind, i = e.root, s = r.i18n, l = {}, p = [], c = [], S = [], m, y, u;
468
468
  function f() {
469
- y(), W(), d();
469
+ h(), W(), d();
470
470
  }
471
471
  function x() {
472
- o(he, E), o(he, f), o(be, d), a(document, Xn + " keydown", function(v) {
472
+ o(ye, E), o(ye, f), o(be, d), a(document, Xn + " keydown", function(v) {
473
473
  u = v.type === "keydown";
474
474
  }, {
475
475
  capture: !0
@@ -479,13 +479,13 @@ function gi(e, t, r) {
479
479
  }
480
480
  function E(v) {
481
481
  var A = Or.concat("style");
482
- ze(p), Fe(i, c), Fe(m, S), ke([m, h], A), ke(i, v ? A : ["style", St]);
482
+ ze(p), Fe(i, c), Fe(m, S), ke([m, y], A), ke(i, v ? A : ["style", St]);
483
483
  }
484
484
  function d() {
485
485
  Fe(i, c), Fe(m, S), c = w(nr), S = w(qr), Le(i, c), Le(m, S), ee(i, we, r.label), ee(i, Rr, r.labelledby);
486
486
  }
487
- function y() {
488
- m = D("." + qr), h = Tt(m, "." + ri), dt(m && h, "A track/list element is missing."), Ft(p, hn(h, "." + Qt + ":not(." + Vn + ")")), qe({
487
+ function h() {
488
+ m = D("." + qr), y = Tt(m, "." + ri), dt(m && y, "A track/list element is missing."), Ft(p, yn(y, "." + Qt + ":not(." + Vn + ")")), qe({
489
489
  arrows: Br,
490
490
  pagination: tr,
491
491
  prev: jn,
@@ -497,13 +497,13 @@ function gi(e, t, r) {
497
497
  }), bt(l, {
498
498
  root: i,
499
499
  track: m,
500
- list: h,
500
+ list: y,
501
501
  slides: p
502
502
  });
503
503
  }
504
504
  function W() {
505
505
  var v = i.id || qo(At), A = r.role;
506
- i.id = v, m.id = m.id || v + "-track", h.id = h.id || v + "-list", !Ae(i, Me) && i.tagName !== "SECTION" && A && ee(i, Me, A), ee(i, St, s.carousel), ee(h, Me, "presentation");
506
+ i.id = v, m.id = m.id || v + "-track", y.id = y.id || v + "-list", !Ae(i, Me) && i.tagName !== "SECTION" && A && ee(i, Me, A), ee(i, St, s.carousel), ee(y, Me, "presentation");
507
507
  }
508
508
  function D(v) {
509
509
  var A = bn(i, v);
@@ -520,9 +520,9 @@ function gi(e, t, r) {
520
520
  }
521
521
  var st = "slide", pt = "loop", Lt = "fade";
522
522
  function mi(e, t, r, n) {
523
- var o = ge(e), a = o.on, i = o.emit, s = o.bind, l = e.Components, p = e.root, c = e.options, S = c.isNavigation, m = c.updateOnMove, h = c.i18n, u = c.pagination, f = c.slideFocus, x = l.Direction.resolve, E = Ae(n, "style"), d = Ae(n, we), y = r > -1, W = Tt(n, "." + ni), D;
523
+ var o = ge(e), a = o.on, i = o.emit, s = o.bind, l = e.Components, p = e.root, c = e.options, S = c.isNavigation, m = c.updateOnMove, y = c.i18n, u = c.pagination, f = c.slideFocus, x = l.Direction.resolve, E = Ae(n, "style"), d = Ae(n, we), h = r > -1, W = Tt(n, "." + ni), D;
524
524
  function w() {
525
- y || (n.id = p.id + "-slide" + $r(t + 1), ee(n, Me, u ? "tabpanel" : "group"), ee(n, St, h.slide), ee(n, we, d || fr(h.slideLabel, [t + 1, e.length]))), v();
525
+ h || (n.id = p.id + "-slide" + $r(t + 1), ee(n, Me, u ? "tabpanel" : "group"), ee(n, St, y.slide), ee(n, we, d || fr(y.slideLabel, [t + 1, e.length]))), v();
526
526
  }
527
527
  function v() {
528
528
  s(n, "click", se(i, Er, I)), s(n, "keydown", se(i, On, I)), a([ut, Bn, Ze], L), a(Ar, R), m && a(De, V);
@@ -535,7 +535,7 @@ function mi(e, t, r, n) {
535
535
  var $ = b.splide.Components.Slides.getAt(t);
536
536
  return $ ? $.slide.id : "";
537
537
  }).join(" ");
538
- ee(n, we, fr(h.slideX, (y ? r : t) + 1)), ee(n, It, _), ee(n, Me, f ? "button" : ""), f && ke(n, St);
538
+ ee(n, we, fr(y.slideX, (h ? r : t) + 1)), ee(n, It, _), ee(n, Me, f ? "button" : ""), f && ke(n, St);
539
539
  }
540
540
  function V() {
541
541
  D || L();
@@ -551,10 +551,10 @@ function mi(e, t, r, n) {
551
551
  _ !== Wr(n, Je) && (Be(n, Je, _), ee(n, zn, S && _ || ""), i(_ ? Sn : xn, I));
552
552
  }
553
553
  function F() {
554
- var _ = g(), b = !_ && (!H() || y);
554
+ var _ = g(), b = !_ && (!H() || h);
555
555
  if (e.state.is([ct, xt]) || ee(n, Dn, b || ""), ee(xr(n, c.focusableNodes || ""), it, b ? -1 : ""), f && ee(n, it, b ? -1 : 0), _ !== Wr(n, mr) && (Be(n, mr, _), i(_ ? wn : $n, I)), !_ && document.activeElement === n) {
556
556
  var $ = l.Slides.getAt(e.index);
557
- $ && yn($.slide);
557
+ $ && vn($.slide);
558
558
  }
559
559
  }
560
560
  function P(_, b, $) {
@@ -572,14 +572,14 @@ function mi(e, t, r, n) {
572
572
  }
573
573
  function k(_, b) {
574
574
  var $ = _e(_ - t);
575
- return !y && (c.rewind || e.is(pt)) && ($ = He($, e.length - $)), $ <= b;
575
+ return !h && (c.rewind || e.is(pt)) && ($ = Pe($, e.length - $)), $ <= b;
576
576
  }
577
577
  var I = {
578
578
  index: t,
579
579
  slideIndex: r,
580
580
  slide: n,
581
581
  container: W,
582
- isClone: y,
582
+ isClone: h,
583
583
  mount: w,
584
584
  destroy: A,
585
585
  update: L,
@@ -588,17 +588,17 @@ function mi(e, t, r, n) {
588
588
  };
589
589
  return I;
590
590
  }
591
- function hi(e, t, r) {
591
+ function yi(e, t, r) {
592
592
  var n = ge(e), o = n.on, a = n.emit, i = n.bind, s = t.Elements, l = s.slides, p = s.list, c = [];
593
593
  function S() {
594
- m(), o(he, h), o(he, m);
594
+ m(), o(ye, y), o(ye, m);
595
595
  }
596
596
  function m() {
597
597
  l.forEach(function(L, O) {
598
598
  f(L, O, -1);
599
599
  });
600
600
  }
601
- function h() {
601
+ function y() {
602
602
  D(function(L) {
603
603
  L.destroy();
604
604
  }), ze(c);
@@ -628,25 +628,25 @@ function hi(e, t, r) {
628
628
  function d(L) {
629
629
  return w(L)[0];
630
630
  }
631
- function y(L, O) {
631
+ function h(L, O) {
632
632
  $e(L, function(F) {
633
- if (Pe(F) && (F = vn(F)), mn(F)) {
633
+ if (We(F) && (F = hn(F)), mn(F)) {
634
634
  var P = l[O];
635
635
  P ? Sr(F, P) : Et(p, F), Le(F, r.classes.slide), A(F, se(a, lt));
636
636
  }
637
- }), a(he);
637
+ }), a(ye);
638
638
  }
639
639
  function W(L) {
640
640
  Ke(w(L).map(function(O) {
641
641
  return O.slide;
642
- })), a(he);
642
+ })), a(ye);
643
643
  }
644
644
  function D(L, O) {
645
645
  x(O).forEach(L);
646
646
  }
647
647
  function w(L) {
648
648
  return c.filter(gn(L) ? L : function(O) {
649
- return Pe(L) ? yt(O.slide, L) : _r($t(L), O.index);
649
+ return We(L) ? vt(O.slide, L) : _r($t(L), O.index);
650
650
  });
651
651
  }
652
652
  function v(L, O, F) {
@@ -670,13 +670,13 @@ function hi(e, t, r) {
670
670
  }
671
671
  return {
672
672
  mount: S,
673
- destroy: h,
673
+ destroy: y,
674
674
  update: u,
675
675
  register: f,
676
676
  get: x,
677
677
  getIn: E,
678
678
  getAt: d,
679
- add: y,
679
+ add: h,
680
680
  remove: W,
681
681
  forEach: D,
682
682
  filter: w,
@@ -685,48 +685,48 @@ function hi(e, t, r) {
685
685
  isEnough: V
686
686
  };
687
687
  }
688
- function yi(e, t, r) {
689
- var n = ge(e), o = n.on, a = n.bind, i = n.emit, s = t.Slides, l = t.Direction.resolve, p = t.Elements, c = p.root, S = p.track, m = p.list, h = s.getAt, u = s.style, f, x, E;
688
+ function vi(e, t, r) {
689
+ var n = ge(e), o = n.on, a = n.bind, i = n.emit, s = t.Slides, l = t.Direction.resolve, p = t.Elements, c = p.root, S = p.track, m = p.list, y = s.getAt, u = s.style, f, x, E;
690
690
  function d() {
691
- y(), a(window, "resize load", Zo(se(i, lt))), o([be, he], y), o(lt, W);
691
+ h(), a(window, "resize load", Zo(se(i, lt))), o([be, ye], h), o(lt, W);
692
692
  }
693
- function y() {
694
- f = r.direction === Zt, Te(c, "maxWidth", Xe(r.width)), Te(S, l("paddingLeft"), D(!1)), Te(S, l("paddingRight"), D(!0)), W(!0);
693
+ function h() {
694
+ f = r.direction === Zt, Te(c, "maxWidth", Ye(r.width)), Te(S, l("paddingLeft"), D(!1)), Te(S, l("paddingRight"), D(!0)), W(!0);
695
695
  }
696
696
  function W(I) {
697
697
  var _ = xe(c);
698
- (I || x.width !== _.width || x.height !== _.height) && (Te(S, "height", w()), u(l("marginRight"), Xe(r.gap)), u("width", A()), u("height", R(), !0), x = _, i(Gt), E !== (E = k()) && (Be(c, Yn, E), i(Ko, E)));
698
+ (I || x.width !== _.width || x.height !== _.height) && (Te(S, "height", w()), u(l("marginRight"), Ye(r.gap)), u("width", A()), u("height", R(), !0), x = _, i(Gt), E !== (E = k()) && (Be(c, Yn, E), i(Ko, E)));
699
699
  }
700
700
  function D(I) {
701
701
  var _ = r.padding, b = l(I ? "right" : "left");
702
- return _ && Xe(_[b] || (ht(_) ? 0 : _)) || "0px";
702
+ return _ && Ye(_[b] || (yt(_) ? 0 : _)) || "0px";
703
703
  }
704
704
  function w() {
705
705
  var I = "";
706
706
  return f && (I = v(), dt(I, "height or heightRatio is missing."), I = "calc(" + I + " - " + D(!1) + " - " + D(!0) + ")"), I;
707
707
  }
708
708
  function v() {
709
- return Xe(r.height || xe(m).width * r.heightRatio);
709
+ return Ye(r.height || xe(m).width * r.heightRatio);
710
710
  }
711
711
  function A() {
712
- return r.autoWidth ? null : Xe(r.fixedWidth) || (f ? "" : V());
712
+ return r.autoWidth ? null : Ye(r.fixedWidth) || (f ? "" : V());
713
713
  }
714
714
  function R() {
715
- return Xe(r.fixedHeight) || (f ? r.autoHeight ? null : V() : v());
715
+ return Ye(r.fixedHeight) || (f ? r.autoHeight ? null : V() : v());
716
716
  }
717
717
  function V() {
718
- var I = Xe(r.gap);
718
+ var I = Ye(r.gap);
719
719
  return "calc((100%" + (I && " + " + I) + ")/" + (r.perPage || 1) + (I && " - " + I) + ")";
720
720
  }
721
721
  function L() {
722
722
  return xe(m)[l("width")];
723
723
  }
724
724
  function O(I, _) {
725
- var b = h(I || 0);
725
+ var b = y(I || 0);
726
726
  return b ? xe(b.slide)[l("width")] + (_ ? 0 : H()) : 0;
727
727
  }
728
728
  function F(I, _) {
729
- var b = h(I);
729
+ var b = y(I);
730
730
  if (b) {
731
731
  var $ = xe(b.slide)[l("right")], Y = xe(m)[l("left")];
732
732
  return _e($ - Y) + (_ ? 0 : H());
@@ -737,7 +737,7 @@ function yi(e, t, r) {
737
737
  return F(e.length - 1) - F(0) + O(0, I);
738
738
  }
739
739
  function H() {
740
- var I = h(0);
740
+ var I = y(0);
741
741
  return I && parseFloat(Te(I.slide, l("marginRight"))) || 0;
742
742
  }
743
743
  function g(I) {
@@ -757,11 +757,11 @@ function yi(e, t, r) {
757
757
  isOverflow: k
758
758
  };
759
759
  }
760
- var vi = 2;
760
+ var hi = 2;
761
761
  function bi(e, t, r) {
762
762
  var n = ge(e), o = n.on, a = t.Elements, i = t.Slides, s = t.Direction.resolve, l = [], p;
763
763
  function c() {
764
- o(he, S), o([be, lt], h), (p = x()) && (u(p), t.Layout.resize(!0));
764
+ o(ye, S), o([be, lt], y), (p = x()) && (u(p), t.Layout.resize(!0));
765
765
  }
766
766
  function S() {
767
767
  m(), c();
@@ -769,32 +769,32 @@ function bi(e, t, r) {
769
769
  function m() {
770
770
  Ke(l), ze(l), n.destroy();
771
771
  }
772
- function h() {
772
+ function y() {
773
773
  var E = x();
774
- p !== E && (p < E || !E) && n.emit(he);
774
+ p !== E && (p < E || !E) && n.emit(ye);
775
775
  }
776
776
  function u(E) {
777
- var d = i.get().slice(), y = d.length;
778
- if (y) {
777
+ var d = i.get().slice(), h = d.length;
778
+ if (h) {
779
779
  for (; d.length < E; )
780
780
  Ft(d, d);
781
781
  Ft(d.slice(-E), d.slice(0, E)).forEach(function(W, D) {
782
782
  var w = D < E, v = f(W.slide, D);
783
- w ? Sr(v, d[0].slide) : Et(a.list, v), Ft(l, v), i.register(v, D - E + (w ? 0 : y), W.index);
783
+ w ? Sr(v, d[0].slide) : Et(a.list, v), Ft(l, v), i.register(v, D - E + (w ? 0 : h), W.index);
784
784
  });
785
785
  }
786
786
  }
787
787
  function f(E, d) {
788
- var y = E.cloneNode(!0);
789
- return Le(y, r.classes.clone), y.id = e.root.id + "-clone" + $r(d + 1), y;
788
+ var h = E.cloneNode(!0);
789
+ return Le(h, r.classes.clone), h.id = e.root.id + "-clone" + $r(d + 1), h;
790
790
  }
791
791
  function x() {
792
792
  var E = r.clones;
793
793
  if (!e.is(pt))
794
794
  E = 0;
795
795
  else if (wt(E)) {
796
- var d = r[s("fixedWidth")] && t.Layout.slideSize(0), y = d && _t(xe(a.track)[s("width")] / d);
797
- E = y || r[s("autoWidth")] && e.length || r.perPage * vi;
796
+ var d = r[s("fixedWidth")] && t.Layout.slideSize(0), h = d && _t(xe(a.track)[s("width")] / d);
797
+ E = h || r[s("autoWidth")] && e.length || r.perPage * hi;
798
798
  }
799
799
  return E;
800
800
  }
@@ -804,15 +804,15 @@ function bi(e, t, r) {
804
804
  };
805
805
  }
806
806
  function Ci(e, t, r) {
807
- var n = ge(e), o = n.on, a = n.emit, i = e.state.set, s = t.Layout, l = s.slideSize, p = s.getPadding, c = s.totalSize, S = s.listSize, m = s.sliderSize, h = t.Direction, u = h.resolve, f = h.orient, x = t.Elements, E = x.list, d = x.track, y;
807
+ var n = ge(e), o = n.on, a = n.emit, i = e.state.set, s = t.Layout, l = s.slideSize, p = s.getPadding, c = s.totalSize, S = s.listSize, m = s.sliderSize, y = t.Direction, u = y.resolve, f = y.orient, x = t.Elements, E = x.list, d = x.track, h;
808
808
  function W() {
809
- y = t.Transition, o([Ge, Gt, be, he], D);
809
+ h = t.Transition, o([Ue, Gt, be, ye], D);
810
810
  }
811
811
  function D() {
812
812
  t.Controller.isBusy() || (t.Scroll.cancel(), v(e.index), t.Slides.update());
813
813
  }
814
814
  function w(b, $, Y, oe) {
815
- b !== $ && I(b > Y) && (L(), A(V(P(), b > Y), !0)), i(ct), a(De, $, Y, b), y.start($, function() {
815
+ b !== $ && I(b > Y) && (L(), A(V(P(), b > Y), !0)), i(ct), a(De, $, Y, b), h.start($, function() {
816
816
  i(at), a(ut, $, Y, b), oe && oe();
817
817
  });
818
818
  }
@@ -837,7 +837,7 @@ function Ci(e, t, r) {
837
837
  return b -= f(oe * (_t(_e(Y) / oe) || 1)) * ($ ? 1 : -1), b;
838
838
  }
839
839
  function L() {
840
- A(P(), !0), y.cancel();
840
+ A(P(), !0), h.cancel();
841
841
  }
842
842
  function O(b) {
843
843
  for (var $ = t.Slides.get(), Y = 0, oe = 1 / 0, re = 0; re < $.length; re++) {
@@ -892,17 +892,17 @@ function Ci(e, t, r) {
892
892
  };
893
893
  }
894
894
  function _i(e, t, r) {
895
- var n = ge(e), o = n.on, a = n.emit, i = t.Move, s = i.getPosition, l = i.getLimit, p = i.toPosition, c = t.Slides, S = c.isEnough, m = c.getLength, h = r.omitEnd, u = e.is(pt), f = e.is(st), x = se(P, !1), E = se(P, !0), d = r.start || 0, y, W = d, D, w, v;
895
+ var n = ge(e), o = n.on, a = n.emit, i = t.Move, s = i.getPosition, l = i.getLimit, p = i.toPosition, c = t.Slides, S = c.isEnough, m = c.getLength, y = r.omitEnd, u = e.is(pt), f = e.is(st), x = se(P, !1), E = se(P, !0), d = r.start || 0, h, W = d, D, w, v;
896
896
  function A() {
897
- R(), o([be, he, Pt], R), o(Gt, V);
897
+ R(), o([be, ye, Pt], R), o(Gt, V);
898
898
  }
899
899
  function R() {
900
- D = m(!0), w = r.perMove, v = r.perPage, y = I();
901
- var T = tt(d, 0, h ? y : D - 1);
900
+ D = m(!0), w = r.perMove, v = r.perPage, h = I();
901
+ var T = tt(d, 0, y ? h : D - 1);
902
902
  T !== d && (d = T, i.reposition());
903
903
  }
904
904
  function V() {
905
- y !== I() && a(Pt);
905
+ h !== I() && a(Pt);
906
906
  }
907
907
  function L(T, J, pe) {
908
908
  if (!me()) {
@@ -913,26 +913,26 @@ function _i(e, t, r) {
913
913
  function O(T, J, pe, ne) {
914
914
  t.Scroll.scroll(T, J, pe, function() {
915
915
  var de = k(i.toIndex(s()));
916
- Y(h ? He(de, y) : de), ne && ne();
916
+ Y(y ? Pe(de, h) : de), ne && ne();
917
917
  });
918
918
  }
919
919
  function F(T) {
920
920
  var J = d;
921
- if (Pe(T)) {
921
+ if (We(T)) {
922
922
  var pe = T.match(/([+\-<>])(\d+)?/) || [], ne = pe[1], de = pe[2];
923
923
  ne === "+" || ne === "-" ? J = H(d + +("" + ne + (+de || 1)), d) : ne === ">" ? J = de ? _(+de) : x(!0) : ne === "<" && (J = E(!0));
924
924
  } else
925
- J = u ? T : tt(T, 0, y);
925
+ J = u ? T : tt(T, 0, h);
926
926
  return J;
927
927
  }
928
928
  function P(T, J) {
929
929
  var pe = w || (re() ? 1 : v), ne = H(d + pe * (T ? -1 : 1), d, !(w || re()));
930
- return ne === -1 && f && !Cn(s(), l(!T), 1) ? T ? 0 : y : J ? ne : k(ne);
930
+ return ne === -1 && f && !Cn(s(), l(!T), 1) ? T ? 0 : h : J ? ne : k(ne);
931
931
  }
932
932
  function H(T, J, pe) {
933
933
  if (S() || re()) {
934
934
  var ne = g(T);
935
- ne !== T && (J = T, T = ne, pe = !1), T < 0 || T > y ? !w && (Mt(0, T, J, !0) || Mt(y, J, T, !0)) ? T = _(b(T)) : u ? T = pe ? T < 0 ? -(D % v || v) : D : T : r.rewind ? T = T < 0 ? y : 0 : T = -1 : pe && T !== J && (T = _(b(J) + (T < J ? -1 : 1)));
935
+ ne !== T && (J = T, T = ne, pe = !1), T < 0 || T > h ? !w && (Mt(0, T, J, !0) || Mt(h, J, T, !0)) ? T = _(b(T)) : u ? T = pe ? T < 0 ? -(D % v || v) : D : T : r.rewind ? T = T < 0 ? h : 0 : T = -1 : pe && T !== J && (T = _(b(J) + (T < J ? -1 : 1)));
936
936
  } else
937
937
  T = -1;
938
938
  return T;
@@ -947,7 +947,7 @@ function _i(e, t, r) {
947
947
  return u ? (T + D) % D || 0 : T;
948
948
  }
949
949
  function I() {
950
- for (var T = D - (re() || u && w ? 1 : v); h && T-- > 0; )
950
+ for (var T = D - (re() || u && w ? 1 : v); y && T-- > 0; )
951
951
  if (p(D - 1, !0) !== p(T, !0)) {
952
952
  T++;
953
953
  break;
@@ -955,14 +955,14 @@ function _i(e, t, r) {
955
955
  return tt(T, 0, D - 1);
956
956
  }
957
957
  function _(T) {
958
- return tt(re() ? T : v * T, 0, y);
958
+ return tt(re() ? T : v * T, 0, h);
959
959
  }
960
960
  function b(T) {
961
- return re() ? He(T, y) : Wt((T >= y ? D - 1 : T) / v);
961
+ return re() ? Pe(T, h) : Wt((T >= h ? D - 1 : T) / v);
962
962
  }
963
963
  function $(T) {
964
964
  var J = i.toIndex(T);
965
- return f ? tt(J, 0, y) : J;
965
+ return f ? tt(J, 0, h) : J;
966
966
  }
967
967
  function Y(T) {
968
968
  T !== d && (W = d, d = T);
@@ -995,35 +995,35 @@ function _i(e, t, r) {
995
995
  }
996
996
  var Si = "http://www.w3.org/2000/svg", xi = "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", Rt = 40;
997
997
  function wi(e, t, r) {
998
- var n = ge(e), o = n.on, a = n.bind, i = n.emit, s = r.classes, l = r.i18n, p = t.Elements, c = t.Controller, S = p.arrows, m = p.track, h = S, u = p.prev, f = p.next, x, E, d = {};
999
- function y() {
998
+ var n = ge(e), o = n.on, a = n.bind, i = n.emit, s = r.classes, l = r.i18n, p = t.Elements, c = t.Controller, S = p.arrows, m = p.track, y = S, u = p.prev, f = p.next, x, E, d = {};
999
+ function h() {
1000
1000
  D(), o(be, W);
1001
1001
  }
1002
1002
  function W() {
1003
- w(), y();
1003
+ w(), h();
1004
1004
  }
1005
1005
  function D() {
1006
1006
  var O = r.arrows;
1007
1007
  O && !(u && f) && R(), u && f && (bt(d, {
1008
1008
  prev: u,
1009
1009
  next: f
1010
- }), Ct(h, O ? "" : "none"), Le(h, E = Br + "--" + r.direction), O && (v(), L(), ee([u, f], It, m.id), i(In, u, f)));
1010
+ }), Ct(y, O ? "" : "none"), Le(y, E = Br + "--" + r.direction), O && (v(), L(), ee([u, f], It, m.id), i(In, u, f)));
1011
1011
  }
1012
1012
  function w() {
1013
- n.destroy(), Fe(h, E), x ? (Ke(S ? [u, f] : h), u = f = null) : ke([u, f], Or);
1013
+ n.destroy(), Fe(y, E), x ? (Ke(S ? [u, f] : y), u = f = null) : ke([u, f], Or);
1014
1014
  }
1015
1015
  function v() {
1016
- o([Ge, ut, he, Ze, Pt], L), a(f, "click", se(A, ">")), a(u, "click", se(A, "<"));
1016
+ o([Ue, ut, ye, Ze, Pt], L), a(f, "click", se(A, ">")), a(u, "click", se(A, "<"));
1017
1017
  }
1018
1018
  function A(O) {
1019
1019
  c.go(O, !0);
1020
1020
  }
1021
1021
  function R() {
1022
- h = S || ot("div", s.arrows), u = V(!0), f = V(!1), x = !0, Et(h, [u, f]), !S && Sr(h, m);
1022
+ y = S || ot("div", s.arrows), u = V(!0), f = V(!1), x = !0, Et(y, [u, f]), !S && Sr(y, m);
1023
1023
  }
1024
1024
  function V(O) {
1025
1025
  var F = '<button class="' + s.arrow + " " + (O ? s.prev : s.next) + '" type="button"><svg xmlns="' + Si + '" viewBox="0 0 ' + Rt + " " + Rt + '" width="' + Rt + '" height="' + Rt + '" focusable="false"><path d="' + (r.arrowPath || xi) + '" />';
1026
- return vn(F);
1026
+ return hn(F);
1027
1027
  }
1028
1028
  function L() {
1029
1029
  if (u && f) {
@@ -1033,16 +1033,16 @@ function wi(e, t, r) {
1033
1033
  }
1034
1034
  return {
1035
1035
  arrows: d,
1036
- mount: y,
1036
+ mount: h,
1037
1037
  destroy: w,
1038
1038
  update: L
1039
1039
  };
1040
1040
  }
1041
1041
  var $i = wr + "-interval";
1042
1042
  function Ei(e, t, r) {
1043
- var n = ge(e), o = n.on, a = n.bind, i = n.emit, s = Xt(r.interval, e.go.bind(e, ">"), v), l = s.isPaused, p = t.Elements, c = t.Elements, S = c.root, m = c.toggle, h = r.autoplay, u, f, x = h === "pause";
1043
+ var n = ge(e), o = n.on, a = n.bind, i = n.emit, s = Xt(r.interval, e.go.bind(e, ">"), v), l = s.isPaused, p = t.Elements, c = t.Elements, S = c.root, m = c.toggle, y = r.autoplay, u, f, x = y === "pause";
1044
1044
  function E() {
1045
- h && (d(), m && ee(m, It, p.track.id), x || y(), w());
1045
+ y && (d(), m && ee(m, It, p.track.id), x || h(), w());
1046
1046
  }
1047
1047
  function d() {
1048
1048
  r.pauseOnHover && a(S, "mouseenter mouseleave", function(R) {
@@ -1050,17 +1050,17 @@ function Ei(e, t, r) {
1050
1050
  }), r.pauseOnFocus && a(S, "focusin focusout", function(R) {
1051
1051
  f = R.type === "focusin", D();
1052
1052
  }), m && a(m, "click", function() {
1053
- x ? y() : W(!0);
1054
- }), o([De, Yt, he], s.rewind), o(De, A);
1053
+ x ? h() : W(!0);
1054
+ }), o([De, Yt, ye], s.rewind), o(De, A);
1055
1055
  }
1056
- function y() {
1056
+ function h() {
1057
1057
  l() && t.Slides.isEnough() && (s.start(!r.resetProgress), f = u = x = !1, w(), i(Ir));
1058
1058
  }
1059
1059
  function W(R) {
1060
1060
  R === void 0 && (R = !0), x = !!R, w(), l() || (s.pause(), i(Lr));
1061
1061
  }
1062
1062
  function D() {
1063
- x || (u || f ? W(!1) : y());
1063
+ x || (u || f ? W(!1) : h());
1064
1064
  }
1065
1065
  function w() {
1066
1066
  m && (Be(m, Je, !x), ee(m, we, r.i18n[x ? "play" : "pause"]));
@@ -1076,7 +1076,7 @@ function Ei(e, t, r) {
1076
1076
  return {
1077
1077
  mount: E,
1078
1078
  destroy: s.cancel,
1079
- play: y,
1079
+ play: h,
1080
1080
  pause: W,
1081
1081
  isPaused: l
1082
1082
  };
@@ -1084,7 +1084,7 @@ function Ei(e, t, r) {
1084
1084
  function Ti(e, t, r) {
1085
1085
  var n = ge(e), o = n.on;
1086
1086
  function a() {
1087
- r.cover && (o(kr, se(s, !0)), o([Ge, be, he], se(i, !0)));
1087
+ r.cover && (o(kr, se(s, !0)), o([Ue, be, ye], se(i, !0)));
1088
1088
  }
1089
1089
  function i(l) {
1090
1090
  t.Slides.forEach(function(p) {
@@ -1102,9 +1102,9 @@ function Ti(e, t, r) {
1102
1102
  }
1103
1103
  var Ai = 10, Ii = 600, Li = 0.6, ki = 1.5, Ri = 800;
1104
1104
  function Ni(e, t, r) {
1105
- var n = ge(e), o = n.on, a = n.emit, i = e.state.set, s = t.Move, l = s.getPosition, p = s.getLimit, c = s.exceededLimit, S = s.translate, m = e.is(st), h, u, f = 1;
1105
+ var n = ge(e), o = n.on, a = n.emit, i = e.state.set, s = t.Move, l = s.getPosition, p = s.getLimit, c = s.exceededLimit, S = s.translate, m = e.is(st), y, u, f = 1;
1106
1106
  function x() {
1107
- o(De, W), o([be, he], D);
1107
+ o(De, W), o([be, ye], D);
1108
1108
  }
1109
1109
  function E(v, A, R, V, L) {
1110
1110
  var O = l();
@@ -1113,20 +1113,20 @@ function Ni(e, t, r) {
1113
1113
  v = s.toPosition(t.Controller.toDest(v % F)) + P;
1114
1114
  }
1115
1115
  var H = Cn(O, v, 1);
1116
- f = 1, A = H ? 0 : A || jt(_e(v - O) / ki, Ri), u = V, h = Xt(A, d, se(y, O, v, L), 1), i(xt), a(Yt), h.start();
1116
+ f = 1, A = H ? 0 : A || jt(_e(v - O) / ki, Ri), u = V, y = Xt(A, d, se(h, O, v, L), 1), i(xt), a(Yt), y.start();
1117
1117
  }
1118
1118
  function d() {
1119
1119
  i(at), u && u(), a(Ze);
1120
1120
  }
1121
- function y(v, A, R, V) {
1121
+ function h(v, A, R, V) {
1122
1122
  var L = l(), O = v + (A - v) * w(V), F = (O - L) * f;
1123
1123
  S(L + F), m && !R && c() && (f *= Li, _e(F) < Ai && E(p(c(!0)), Ii, !1, u, !0));
1124
1124
  }
1125
1125
  function W() {
1126
- h && h.cancel();
1126
+ y && y.cancel();
1127
1127
  }
1128
1128
  function D() {
1129
- h && !h.isPaused() && (W(), d());
1129
+ y && !y.isPaused() && (W(), d());
1130
1130
  }
1131
1131
  function w(v) {
1132
1132
  var A = r.easingFunc;
@@ -1144,11 +1144,11 @@ var rt = {
1144
1144
  capture: !0
1145
1145
  };
1146
1146
  function Oi(e, t, r) {
1147
- var n = ge(e), o = n.on, a = n.emit, i = n.bind, s = n.unbind, l = e.state, p = t.Move, c = t.Scroll, S = t.Controller, m = t.Elements.track, h = t.Media.reduce, u = t.Direction, f = u.resolve, x = u.orient, E = p.getPosition, d = p.exceededLimit, y, W, D, w, v, A = !1, R, V, L;
1147
+ var n = ge(e), o = n.on, a = n.emit, i = n.bind, s = n.unbind, l = e.state, p = t.Move, c = t.Scroll, S = t.Controller, m = t.Elements.track, y = t.Media.reduce, u = t.Direction, f = u.resolve, x = u.orient, E = p.getPosition, d = p.exceededLimit, h, W, D, w, v, A = !1, R, V, L;
1148
1148
  function O() {
1149
1149
  i(m, or, ur, rt), i(m, ir, ur, rt), i(m, Xn, P, rt), i(m, "click", k, {
1150
1150
  capture: !0
1151
- }), i(m, "dragstart", Oe), o([Ge, be], F);
1151
+ }), i(m, "dragstart", Oe), o([Ue, be], F);
1152
1152
  }
1153
1153
  function F() {
1154
1154
  var j = r.drag;
@@ -1163,7 +1163,7 @@ function Oi(e, t, r) {
1163
1163
  function H(j) {
1164
1164
  if (l.is(Bt) || (l.set(Bt), a(En)), j.cancelable)
1165
1165
  if (v) {
1166
- p.translate(y + pe(re(j)));
1166
+ p.translate(h + pe(re(j)));
1167
1167
  var C = me(j) > Kr, M = A !== (A = d());
1168
1168
  (C || M) && I(j), R = !0, a(Tn), Oe(j);
1169
1169
  } else $(j) && (v = b(j), Oe(j));
@@ -1175,14 +1175,14 @@ function Oi(e, t, r) {
1175
1175
  !V && R && Oe(j, !0);
1176
1176
  }
1177
1177
  function I(j) {
1178
- D = W, W = j, y = E();
1178
+ D = W, W = j, h = E();
1179
1179
  }
1180
1180
  function _(j) {
1181
1181
  var C = Y(j), M = oe(C), G = r.rewind && r.rewindByDrag;
1182
- h(!1), w ? S.scroll(M, 0, r.snap) : e.is(Lt) ? S.go(x(dr(C)) < 0 ? G ? "<" : "-" : G ? ">" : "+") : e.is(st) && A && G ? S.go(d(!0) ? ">" : "<") : S.go(S.toDest(M), !0), h(!0);
1182
+ y(!1), w ? S.scroll(M, 0, r.snap) : e.is(Lt) ? S.go(x(dr(C)) < 0 ? G ? "<" : "-" : G ? ">" : "+") : e.is(st) && A && G ? S.go(d(!0) ? ">" : "<") : S.go(S.toDest(M), !0), y(!0);
1183
1183
  }
1184
1184
  function b(j) {
1185
- var C = r.dragMinThreshold, M = ht(C), G = M && C.mouse || 0, X = (M ? C.touch : +C) || 10;
1185
+ var C = r.dragMinThreshold, M = yt(C), G = M && C.mouse || 0, X = (M ? C.touch : +C) || 10;
1186
1186
  return _e(re(j)) > (de(j) ? X : G);
1187
1187
  }
1188
1188
  function $(j) {
@@ -1197,7 +1197,7 @@ function Oi(e, t, r) {
1197
1197
  return 0;
1198
1198
  }
1199
1199
  function oe(j) {
1200
- return E() + dr(j) * He(_e(j) * (r.flickPower || 600), w ? 1 / 0 : t.Layout.listSize() * (r.flickMaxPages || 1));
1200
+ return E() + dr(j) * Pe(_e(j) * (r.flickPower || 600), w ? 1 / 0 : t.Layout.listSize() * (r.flickMaxPages || 1));
1201
1201
  }
1202
1202
  function re(j, C) {
1203
1203
  return J(j, C) - J(T(j), C);
@@ -1216,7 +1216,7 @@ function Oi(e, t, r) {
1216
1216
  }
1217
1217
  function ne(j) {
1218
1218
  var C = r.noDrag;
1219
- return !yt(j, "." + Pn + ", ." + er) && (!C || !yt(j, C));
1219
+ return !vt(j, "." + Pn + ", ." + er) && (!C || !vt(j, C));
1220
1220
  }
1221
1221
  function de(j) {
1222
1222
  return typeof TouchEvent < "u" && j instanceof TouchEvent;
@@ -1241,19 +1241,19 @@ var Bi = {
1241
1241
  Down: Mn
1242
1242
  };
1243
1243
  function Fr(e) {
1244
- return e = Pe(e) ? e : e.key, Bi[e] || e;
1244
+ return e = We(e) ? e : e.key, Bi[e] || e;
1245
1245
  }
1246
1246
  var Jr = "keydown";
1247
1247
  function Fi(e, t, r) {
1248
1248
  var n = ge(e), o = n.on, a = n.bind, i = n.unbind, s = e.root, l = t.Direction.resolve, p, c;
1249
1249
  function S() {
1250
- m(), o(be, h), o(be, m), o(De, f);
1250
+ m(), o(be, y), o(be, m), o(De, f);
1251
1251
  }
1252
1252
  function m() {
1253
1253
  var E = r.keyboard;
1254
1254
  E && (p = E === "global" ? window : s, a(p, Jr, x));
1255
1255
  }
1256
- function h() {
1256
+ function y() {
1257
1257
  i(p, Jr);
1258
1258
  }
1259
1259
  function u(E) {
@@ -1273,7 +1273,7 @@ function Fi(e, t, r) {
1273
1273
  }
1274
1274
  return {
1275
1275
  mount: S,
1276
- destroy: h,
1276
+ destroy: y,
1277
1277
  disable: u
1278
1278
  };
1279
1279
  }
@@ -1281,35 +1281,35 @@ var ft = wr + "-lazy", zt = ft + "-srcset", Mi = "[" + ft + "], [" + zt + "]";
1281
1281
  function zi(e, t, r) {
1282
1282
  var n = ge(e), o = n.on, a = n.off, i = n.bind, s = n.emit, l = r.lazyLoad === "sequential", p = [ut, Ze], c = [];
1283
1283
  function S() {
1284
- r.lazyLoad && (m(), o(he, m));
1284
+ r.lazyLoad && (m(), o(ye, m));
1285
1285
  }
1286
1286
  function m() {
1287
- ze(c), h(), l ? E() : (a(p), o(p, u), u());
1287
+ ze(c), y(), l ? E() : (a(p), o(p, u), u());
1288
1288
  }
1289
- function h() {
1289
+ function y() {
1290
1290
  t.Slides.forEach(function(d) {
1291
- xr(d.slide, Mi).forEach(function(y) {
1292
- var W = Ae(y, ft), D = Ae(y, zt);
1293
- if (W !== y.src || D !== y.srcset) {
1294
- var w = r.classes.spinner, v = y.parentElement, A = Tt(v, "." + w) || ot("span", w, v);
1295
- c.push([y, d, A]), y.src || Ct(y, "none");
1291
+ xr(d.slide, Mi).forEach(function(h) {
1292
+ var W = Ae(h, ft), D = Ae(h, zt);
1293
+ if (W !== h.src || D !== h.srcset) {
1294
+ var w = r.classes.spinner, v = h.parentElement, A = Tt(v, "." + w) || ot("span", w, v);
1295
+ c.push([h, d, A]), h.src || Ct(h, "none");
1296
1296
  }
1297
1297
  });
1298
1298
  });
1299
1299
  }
1300
1300
  function u() {
1301
1301
  c = c.filter(function(d) {
1302
- var y = r.perPage * ((r.preloadPages || 1) + 1) - 1;
1303
- return d[1].isWithin(e.index, y) ? f(d) : !0;
1302
+ var h = r.perPage * ((r.preloadPages || 1) + 1) - 1;
1303
+ return d[1].isWithin(e.index, h) ? f(d) : !0;
1304
1304
  }), c.length || a(p);
1305
1305
  }
1306
1306
  function f(d) {
1307
- var y = d[0];
1308
- Le(d[1].slide, hr), i(y, "load error", se(x, d)), ee(y, "src", Ae(y, ft)), ee(y, "srcset", Ae(y, zt)), ke(y, ft), ke(y, zt);
1307
+ var h = d[0];
1308
+ Le(d[1].slide, yr), i(h, "load error", se(x, d)), ee(h, "src", Ae(h, ft)), ee(h, "srcset", Ae(h, zt)), ke(h, ft), ke(h, zt);
1309
1309
  }
1310
- function x(d, y) {
1310
+ function x(d, h) {
1311
1311
  var W = d[0], D = d[1];
1312
- Fe(D.slide, hr), y.type !== "error" && (Ke(d[2]), Ct(W, ""), s(kr, W, D), s(lt)), l && E();
1312
+ Fe(D.slide, yr), h.type !== "error" && (Ke(d[2]), Ct(W, ""), s(kr, W, D), s(lt)), l && E();
1313
1313
  }
1314
1314
  function E() {
1315
1315
  c.length && f(c.shift());
@@ -1321,17 +1321,17 @@ function zi(e, t, r) {
1321
1321
  };
1322
1322
  }
1323
1323
  function Di(e, t, r) {
1324
- var n = ge(e), o = n.on, a = n.emit, i = n.bind, s = t.Slides, l = t.Elements, p = t.Controller, c = p.hasFocus, S = p.getIndex, m = p.go, h = t.Direction.resolve, u = l.pagination, f = [], x, E;
1324
+ var n = ge(e), o = n.on, a = n.emit, i = n.bind, s = t.Slides, l = t.Elements, p = t.Controller, c = p.hasFocus, S = p.getIndex, m = p.go, y = t.Direction.resolve, u = l.pagination, f = [], x, E;
1325
1325
  function d() {
1326
- y(), o([be, he, Pt], d);
1326
+ h(), o([be, ye, Pt], d);
1327
1327
  var V = r.pagination;
1328
1328
  u && Ct(u, V ? "" : "none"), V && (o([De, Yt, Ze], R), W(), R(), a(kn, {
1329
1329
  list: x,
1330
1330
  items: f
1331
1331
  }, A(e.index)));
1332
1332
  }
1333
- function y() {
1334
- x && (Ke(u ? Ue(x.children) : x), Fe(x, E), ze(f), x = null), n.destroy();
1333
+ function h() {
1334
+ x && (Ke(u ? He(x.children) : x), Fe(x, E), ze(f), x = null), n.destroy();
1335
1335
  }
1336
1336
  function W() {
1337
1337
  var V = e.length, L = r.classes, O = r.i18n, F = r.perPage, P = c() ? p.getEnd() + 1 : _t(V / F);
@@ -1355,9 +1355,9 @@ function Di(e, t, r) {
1355
1355
  }
1356
1356
  function w(V, L) {
1357
1357
  var O = f.length, F = Fr(L), P = v(), H = -1;
1358
- F === h(Jt, !1, P) ? H = ++V % O : F === h(Kt, !1, P) ? H = (--V + O) % O : F === "Home" ? H = 0 : F === "End" && (H = O - 1);
1358
+ F === y(Jt, !1, P) ? H = ++V % O : F === y(Kt, !1, P) ? H = (--V + O) % O : F === "Home" ? H = 0 : F === "End" && (H = O - 1);
1359
1359
  var g = f[H];
1360
- g && (yn(g.button), m(">" + H), Oe(L, !0));
1360
+ g && (vn(g.button), m(">" + H), Oe(L, !0));
1361
1361
  }
1362
1362
  function v() {
1363
1363
  return r.paginationDirection || r.direction;
@@ -1383,7 +1383,7 @@ function Di(e, t, r) {
1383
1383
  return {
1384
1384
  items: f,
1385
1385
  mount: d,
1386
- destroy: y,
1386
+ destroy: h,
1387
1387
  getAt: A,
1388
1388
  update: R
1389
1389
  };
@@ -1406,13 +1406,13 @@ function ji(e, t, r) {
1406
1406
  }
1407
1407
  function p(u, f) {
1408
1408
  var x = ge(u);
1409
- x.on(De, function(E, d, y) {
1410
- f.go(f.is(pt) ? y : E);
1409
+ x.on(De, function(E, d, h) {
1410
+ f.go(f.is(pt) ? h : E);
1411
1411
  }), a.push(x);
1412
1412
  }
1413
1413
  function c() {
1414
1414
  var u = ge(e), f = u.on;
1415
- f(Er, m), f(On, h), f([Ge, be], S), a.push(u), u.emit(Ar, e.splides);
1415
+ f(Er, m), f(On, y), f([Ue, be], S), a.push(u), u.emit(Ar, e.splides);
1416
1416
  }
1417
1417
  function S() {
1418
1418
  ee(t.Elements.list, Nr, r.direction === Zt ? "vertical" : "");
@@ -1420,7 +1420,7 @@ function ji(e, t, r) {
1420
1420
  function m(u) {
1421
1421
  e.go(u.index);
1422
1422
  }
1423
- function h(u, f) {
1423
+ function y(u, f) {
1424
1424
  _r(Vi, Fr(f)) && (m(u), Oe(f));
1425
1425
  }
1426
1426
  return {
@@ -1439,8 +1439,8 @@ function Wi(e, t, r) {
1439
1439
  }
1440
1440
  function s(p) {
1441
1441
  if (p.cancelable) {
1442
- var c = p.deltaY, S = c < 0, m = pr(p), h = r.wheelMinThreshold || 0, u = r.wheelSleep || 0;
1443
- _e(c) > h && m - a > u && (e.go(S ? "<" : ">"), a = m), l(S) && Oe(p);
1442
+ var c = p.deltaY, S = c < 0, m = pr(p), y = r.wheelMinThreshold || 0, u = r.wheelSleep || 0;
1443
+ _e(c) > y && m - a > u && (e.go(S ? "<" : ">"), a = m), l(S) && Oe(p);
1444
1444
  }
1445
1445
  }
1446
1446
  function l(p) {
@@ -1456,14 +1456,14 @@ function Hi(e, t, r) {
1456
1456
  function p() {
1457
1457
  i && (m(!t.Autoplay.isPaused()), ee(a, Xr, !0), s.textContent = "…", o(Ir, se(m, !0)), o(Lr, se(m, !1)), o([ut, Ze], se(c, !0)));
1458
1458
  }
1459
- function c(h) {
1460
- ee(a, Yr, h), h ? (Et(a, s), l.start()) : (Ke(s), l.cancel());
1459
+ function c(y) {
1460
+ ee(a, Yr, y), y ? (Et(a, s), l.start()) : (Ke(s), l.cancel());
1461
1461
  }
1462
1462
  function S() {
1463
1463
  ke(a, [Gr, Xr, Yr]), Ke(s);
1464
1464
  }
1465
- function m(h) {
1466
- i && ee(a, Gr, h ? "off" : "polite");
1465
+ function m(y) {
1466
+ i && ee(a, Gr, y ? "off" : "polite");
1467
1467
  }
1468
1468
  return {
1469
1469
  mount: p,
@@ -1476,8 +1476,8 @@ var Ui = /* @__PURE__ */ Object.freeze({
1476
1476
  Media: Qo,
1477
1477
  Direction: ei,
1478
1478
  Elements: gi,
1479
- Slides: hi,
1480
- Layout: yi,
1479
+ Slides: yi,
1480
+ Layout: vi,
1481
1481
  Clones: bi,
1482
1482
  Move: Ci,
1483
1483
  Controller: _i,
@@ -1535,7 +1535,7 @@ var Ui = /* @__PURE__ */ Object.freeze({
1535
1535
  function Xi(e, t, r) {
1536
1536
  var n = t.Slides;
1537
1537
  function o() {
1538
- ge(e).on([Ge, he], a);
1538
+ ge(e).on([Ue, ye], a);
1539
1539
  }
1540
1540
  function a() {
1541
1541
  n.forEach(function(s) {
@@ -1554,22 +1554,22 @@ function Xi(e, t, r) {
1554
1554
  function qi(e, t, r) {
1555
1555
  var n = t.Move, o = t.Controller, a = t.Scroll, i = t.Elements.list, s = se(Te, i, "transition"), l;
1556
1556
  function p() {
1557
- ge(e).bind(i, "transitionend", function(h) {
1558
- h.target === i && l && (S(), l());
1557
+ ge(e).bind(i, "transitionend", function(y) {
1558
+ y.target === i && l && (S(), l());
1559
1559
  });
1560
1560
  }
1561
- function c(h, u) {
1562
- var f = n.toPosition(h, !0), x = n.getPosition(), E = m(h);
1563
- _e(f - x) >= 1 && E >= 1 ? r.useScroll ? a.scroll(f, E, !1, u) : (s("transform " + E + "ms " + r.easing), n.translate(f, !0), l = u) : (n.jump(h), u());
1561
+ function c(y, u) {
1562
+ var f = n.toPosition(y, !0), x = n.getPosition(), E = m(y);
1563
+ _e(f - x) >= 1 && E >= 1 ? r.useScroll ? a.scroll(f, E, !1, u) : (s("transform " + E + "ms " + r.easing), n.translate(f, !0), l = u) : (n.jump(y), u());
1564
1564
  }
1565
1565
  function S() {
1566
1566
  s(""), a.cancel();
1567
1567
  }
1568
- function m(h) {
1568
+ function m(y) {
1569
1569
  var u = r.rewindSpeed;
1570
1570
  if (e.is(st) && u) {
1571
1571
  var f = o.getIndex(!0), x = o.getEnd();
1572
- if (f === 0 && h >= x || f >= x && h === 0)
1572
+ if (f === 0 && y >= x || f >= x && y === 0)
1573
1573
  return u;
1574
1574
  }
1575
1575
  return r.speed;
@@ -1583,17 +1583,17 @@ function qi(e, t, r) {
1583
1583
  var Ki = /* @__PURE__ */ (function() {
1584
1584
  function e(r, n) {
1585
1585
  this.event = ge(), this.Components = {}, this.state = Jo(nt), this.splides = [], this._o = {}, this._E = {};
1586
- var o = Pe(r) ? bn(document, r) : r;
1587
- dt(o, o + " is invalid."), this.root = o, n = We({
1586
+ var o = We(r) ? bn(document, r) : r;
1587
+ dt(o, o + " is invalid."), this.root = o, n = je({
1588
1588
  label: Ae(o, we) || "",
1589
1589
  labelledby: Ae(o, Rr) || ""
1590
1590
  }, Yi, e.defaults, n || {});
1591
1591
  try {
1592
- We(n, JSON.parse(Ae(o, wr)));
1592
+ je(n, JSON.parse(Ae(o, wr)));
1593
1593
  } catch {
1594
1594
  dt(!1, "Invalid JSON");
1595
1595
  }
1596
- this._o = Object.create(We({}, n));
1596
+ this._o = Object.create(je({}, n));
1597
1597
  }
1598
1598
  var t = e.prototype;
1599
1599
  return t.mount = function(n, o) {
@@ -1607,7 +1607,7 @@ var Ki = /* @__PURE__ */ (function() {
1607
1607
  s[c] = S, S.setup && S.setup();
1608
1608
  }), qe(s, function(p) {
1609
1609
  p.mount && p.mount();
1610
- }), this.emit(Ge), Le(this.root, ci), i.set(at), this.emit(gr), this;
1610
+ }), this.emit(Ue), Le(this.root, ci), i.set(at), this.emit(gr), this;
1611
1611
  }, t.sync = function(n) {
1612
1612
  return this.splides.push({
1613
1613
  splide: n
@@ -1623,7 +1623,7 @@ var Ki = /* @__PURE__ */ (function() {
1623
1623
  return this.event.off(n), this;
1624
1624
  }, t.emit = function(n) {
1625
1625
  var o;
1626
- return (o = this.event).emit.apply(o, [n].concat(Ue(arguments, 1))), this;
1626
+ return (o = this.event).emit.apply(o, [n].concat(He(arguments, 1))), this;
1627
1627
  }, t.add = function(n, o) {
1628
1628
  return this._C.Slides.add(n, o), this;
1629
1629
  }, t.remove = function(n) {
@@ -1631,7 +1631,7 @@ var Ki = /* @__PURE__ */ (function() {
1631
1631
  }, t.is = function(n) {
1632
1632
  return this._o.type === n;
1633
1633
  }, t.refresh = function() {
1634
- return this.emit(he), this;
1634
+ return this.emit(ye), this;
1635
1635
  }, t.destroy = function(n) {
1636
1636
  n === void 0 && (n = !0);
1637
1637
  var o = this.event, a = this.state;
@@ -1661,7 +1661,7 @@ var Ki = /* @__PURE__ */ (function() {
1661
1661
  Mr.defaults = {};
1662
1662
  Mr.STATES = Xo;
1663
1663
  var Zr = [
1664
- [Ge, "onMounted"],
1664
+ [Ue, "onMounted"],
1665
1665
  [gr, "onReady"],
1666
1666
  [De, "onMove"],
1667
1667
  [ut, "onMoved"],
@@ -1670,7 +1670,7 @@ var Zr = [
1670
1670
  [xn, "onInactive"],
1671
1671
  [wn, "onVisible"],
1672
1672
  [$n, "onHidden"],
1673
- [he, "onRefresh"],
1673
+ [ye, "onRefresh"],
1674
1674
  [be, "onUpdated"],
1675
1675
  [lt, "onResize"],
1676
1676
  [Gt, "onResized"],
@@ -1696,12 +1696,12 @@ function zr(...e) {
1696
1696
  function Ht(e) {
1697
1697
  return e !== null && typeof e == "object";
1698
1698
  }
1699
- function yr(e, t) {
1699
+ function vr(e, t) {
1700
1700
  if (Array.isArray(e) && Array.isArray(t))
1701
- return e.length === t.length && !e.some((r, n) => !yr(r, t[n]));
1701
+ return e.length === t.length && !e.some((r, n) => !vr(r, t[n]));
1702
1702
  if (Ht(e) && Ht(t)) {
1703
1703
  const r = Object.keys(e), n = Object.keys(t);
1704
- return r.length === n.length && !r.some((o) => !Object.prototype.hasOwnProperty.call(t, o) || !yr(e[o], t[o]));
1704
+ return r.length === n.length && !r.some((o) => !Object.prototype.hasOwnProperty.call(t, o) || !vr(e[o], t[o]));
1705
1705
  }
1706
1706
  return e === t;
1707
1707
  }
@@ -1719,24 +1719,24 @@ function Zi(e, t) {
1719
1719
  }
1720
1720
  return e;
1721
1721
  }
1722
- function vr(e, t) {
1722
+ function hr(e, t) {
1723
1723
  const r = e;
1724
1724
  return Zi(t, (n, o) => {
1725
- Array.isArray(n) ? r[o] = n.slice() : Ht(n) ? r[o] = vr(Ht(r[o]) ? r[o] : {}, n) : r[o] = n;
1725
+ Array.isArray(n) ? r[o] = n.slice() : Ht(n) ? r[o] = hr(Ht(r[o]) ? r[o] : {}, n) : r[o] = n;
1726
1726
  }), r;
1727
1727
  }
1728
- var Qi = ({ children: e, className: t, ...r }) => /* @__PURE__ */ je.createElement("div", {
1728
+ var Qi = ({ children: e, className: t, ...r }) => /* @__PURE__ */ Xe.createElement("div", {
1729
1729
  className: zr("splide__track", t),
1730
1730
  ...r
1731
- }, /* @__PURE__ */ je.createElement("ul", {
1731
+ }, /* @__PURE__ */ Xe.createElement("ul", {
1732
1732
  className: "splide__list"
1733
- }, e)), qn = class extends je.Component {
1733
+ }, e)), qn = class extends Xe.Component {
1734
1734
  constructor() {
1735
- super(...arguments), this.splideRef = je.createRef(), this.slides = [];
1735
+ super(...arguments), this.splideRef = Xe.createRef(), this.slides = [];
1736
1736
  }
1737
1737
  componentDidMount() {
1738
1738
  const { options: e, extensions: t, transition: r } = this.props, { current: n } = this.splideRef;
1739
- n && (this.splide = new Mr(n, e), this.bind(this.splide), this.splide.mount(t, r), this.options = vr({}, e || {}), this.slides = this.getSlides());
1739
+ n && (this.splide = new Mr(n, e), this.bind(this.splide), this.splide.mount(t, r), this.options = hr({}, e || {}), this.slides = this.getSlides());
1740
1740
  }
1741
1741
  componentWillUnmount() {
1742
1742
  this.splide && (this.splide.destroy(), this.splide = void 0), this.options = void 0, this.slides.length = 0;
@@ -1745,7 +1745,7 @@ var Qi = ({ children: e, className: t, ...r }) => /* @__PURE__ */ je.createEleme
1745
1745
  if (!this.splide)
1746
1746
  return;
1747
1747
  const { options: e } = this.props;
1748
- e && !yr(this.options, e) && (this.splide.options = e, this.options = vr({}, e));
1748
+ e && !vr(this.options, e) && (this.splide.options = e, this.options = hr({}, e));
1749
1749
  const t = this.getSlides();
1750
1750
  Ji(this.slides, t) || (this.splide.refresh(), this.slides = t);
1751
1751
  }
@@ -1780,13 +1780,13 @@ var Qi = ({ children: e, className: t, ...r }) => /* @__PURE__ */ je.createEleme
1780
1780
  }
1781
1781
  render() {
1782
1782
  const { className: e, tag: t = "div", hasTrack: r = !0, children: n, ...o } = this.props;
1783
- return /* @__PURE__ */ je.createElement(t, {
1783
+ return /* @__PURE__ */ Xe.createElement(t, {
1784
1784
  className: zr("splide", e),
1785
1785
  ref: this.splideRef,
1786
1786
  ...this.omit(o, ["options", ...Zr.map((a) => a[1])])
1787
- }, r ? /* @__PURE__ */ je.createElement(Qi, null, n) : n);
1787
+ }, r ? /* @__PURE__ */ Xe.createElement(Qi, null, n) : n);
1788
1788
  }
1789
- }, Kn = ({ children: e, className: t, ...r }) => /* @__PURE__ */ je.createElement("li", {
1789
+ }, Kn = ({ children: e, className: t, ...r }) => /* @__PURE__ */ Xe.createElement("li", {
1790
1790
  className: zr("splide__slide", t),
1791
1791
  ...r
1792
1792
  }, e);
@@ -1853,7 +1853,7 @@ const na = "SvgImage-module__svg___q3xE-", oa = "SvgImage-module__img___VsTm-",
1853
1853
  "bottom-right": U.bottomRightAlignment
1854
1854
  };
1855
1855
  function aa({ settings: e, content: t, styles: r, isEditor: n }) {
1856
- const [o, a] = le(null), { widthSettings: i, fontSettings: s, letterSpacing: l, textAlign: p, wordSpacing: c, fontSizeLineHeight: S, textAppearance: m, color: h } = r.imageCaption, [u, f] = le(void 0), [x, E] = le(null), [d, y] = le(0), [W, D] = le(0), { direction: w, transition: v, controls: A, pagination: R, imageCaption: V, triggers: L } = e, O = Se(v.type), { x: F, y: P } = e.controls.offset, H = (g) => {
1856
+ const [o, a] = le(null), { widthSettings: i, fontSettings: s, letterSpacing: l, textAlign: p, wordSpacing: c, fontSizeLineHeight: S, textAppearance: m, color: y } = r.imageCaption, [u, f] = le(void 0), [x, E] = le(null), [d, h] = le(0), [W, D] = le(0), { direction: w, transition: v, controls: A, pagination: R, imageCaption: V, triggers: L } = e, O = Se(v.type), { x: F, y: P } = e.controls.offset, H = (g) => {
1857
1857
  o && o.go(g);
1858
1858
  };
1859
1859
  return ve(() => {
@@ -1869,7 +1869,7 @@ function aa({ settings: e, content: t, styles: r, isEditor: n }) {
1869
1869
  return g.observe(x), () => g.unobserve(x);
1870
1870
  }, [x]), ve(() => {
1871
1871
  !o || O.current === v.type || (D((g) => g + 1), O.current = v.type);
1872
- }, [v.type]), /* @__PURE__ */ N("div", { className: fe(U.wrapper, { [U.editor]: n }), ref: E, children: /* @__PURE__ */ ye(
1872
+ }, [v.type]), /* @__PURE__ */ N("div", { className: fe(U.wrapper, { [U.editor]: n }), ref: E, children: /* @__PURE__ */ he(
1873
1873
  "div",
1874
1874
  {
1875
1875
  className: U.sliderInner,
@@ -1907,7 +1907,7 @@ function aa({ settings: e, content: t, styles: r, isEditor: n }) {
1907
1907
  textTransform: m.textTransform ?? "none",
1908
1908
  textDecoration: m.textDecoration ?? "none",
1909
1909
  fontVariant: m.fontVariant ?? "normal",
1910
- color: h,
1910
+ color: y,
1911
1911
  transitionDuration: v.duration ? `${Math.round(parseInt(v.duration) / 2)}ms` : "500ms"
1912
1912
  },
1913
1913
  children: /* @__PURE__ */ N(
@@ -1936,7 +1936,7 @@ function aa({ settings: e, content: t, styles: r, isEditor: n }) {
1936
1936
  qn,
1937
1937
  {
1938
1938
  onMove: (g) => {
1939
- y(g.index);
1939
+ h(g.index);
1940
1940
  },
1941
1941
  ref: a,
1942
1942
  options: {
@@ -1981,7 +1981,7 @@ function aa({ settings: e, content: t, styles: r, isEditor: n }) {
1981
1981
  },
1982
1982
  W
1983
1983
  ),
1984
- A.isActive && /* @__PURE__ */ ye(mt, { children: [
1984
+ A.isActive && /* @__PURE__ */ he(mt, { children: [
1985
1985
  /* @__PURE__ */ N(
1986
1986
  "div",
1987
1987
  {
@@ -1993,7 +1993,7 @@ function aa({ settings: e, content: t, styles: r, isEditor: n }) {
1993
1993
  color: A.color,
1994
1994
  "--arrow-hover-color": A.hover
1995
1995
  },
1996
- children: /* @__PURE__ */ ye(
1996
+ children: /* @__PURE__ */ he(
1997
1997
  "button",
1998
1998
  {
1999
1999
  onClick: () => {
@@ -2030,7 +2030,7 @@ function aa({ settings: e, content: t, styles: r, isEditor: n }) {
2030
2030
  color: A.color,
2031
2031
  "--arrow-hover-color": A.hover
2032
2032
  },
2033
- children: /* @__PURE__ */ ye(
2033
+ children: /* @__PURE__ */ he(
2034
2034
  "button",
2035
2035
  {
2036
2036
  className: U.arrowInner,
@@ -2760,22 +2760,22 @@ async function da(e, t, r, n) {
2760
2760
  return { width: o, height: a, finalWidth: `${o}px` };
2761
2761
  }
2762
2762
  function fa({ settings: e, content: t, isEditor: r }) {
2763
- const [n, o] = le(null), [a, i] = le([]), [s, l] = le(0), p = Se(0), [c, S] = le({ x: 0, y: 0 }), [m, h] = le(1), [u, f] = le("none"), x = Se({ x: 0, y: 0 }), [E, d] = le(!1), { sizeType: y, imageWidth: W, randomRangeImageWidth: D } = e.imageSize, { revealPosition: w, visible: v } = e.position, { cursorType: A, target: R, defaultCursorScale: V, defaultCursor: L, hoverCursorScale: O, hoverCursor: F } = e.cursor;
2763
+ const [n, o] = le(null), [a, i] = le([]), [s, l] = le(0), p = Se(0), [c, S] = le({ x: 0, y: 0 }), [m, y] = le(1), [u, f] = le("none"), x = Se({ x: 0, y: 0 }), [E, d] = le(!1), { sizeType: h, imageWidth: W, randomRangeImageWidth: D } = e.imageSize, { revealPosition: w, visible: v } = e.position, { cursorType: A, target: R, defaultCursorScale: V, defaultCursor: L, hoverCursorScale: O, hoverCursor: F } = e.cursor;
2764
2764
  ve(() => {
2765
2765
  if (!n) return;
2766
2766
  const g = (_, b) => {
2767
2767
  const $ = n.getBoundingClientRect(), Y = _ - $.left, oe = b - $.top;
2768
2768
  if (S({ x: Y, y: oe }), A === "system") {
2769
- f("none"), h(1);
2769
+ f("none"), y(1);
2770
2770
  return;
2771
2771
  }
2772
2772
  const re = Y, me = oe, T = document.elementFromPoint($.left + re, $.top + me);
2773
2773
  if (T && T.closest("a")) {
2774
- f("none"), h(1);
2774
+ f("none"), y(1);
2775
2775
  return;
2776
2776
  }
2777
2777
  const J = tn(re, me, a) || R === "area" ? { img: F ?? "none", scale: O } : { img: L ?? "none", scale: V };
2778
- f(J.img), h(J.scale);
2778
+ f(J.img), y(J.scale);
2779
2779
  }, k = (_) => {
2780
2780
  _.stopPropagation(), x.current = { x: _.clientX, y: _.clientY }, g(_.clientX, _.clientY);
2781
2781
  }, I = () => {
@@ -2796,12 +2796,12 @@ function fa({ settings: e, content: t, isEditor: r }) {
2796
2796
  V,
2797
2797
  a
2798
2798
  ]), ve(() => {
2799
- E || (f("none"), h(0));
2799
+ E || (f("none"), y(0));
2800
2800
  }, [E]);
2801
2801
  const P = async (g, k, I, _ = {}) => {
2802
2802
  const { width: b, height: $, finalWidth: Y } = await da(
2803
2803
  g.image.url,
2804
- y,
2804
+ h,
2805
2805
  W,
2806
2806
  D
2807
2807
  );
@@ -2825,9 +2825,9 @@ function fa({ settings: e, content: t, isEditor: r }) {
2825
2825
  const $ = t[0], Y = await P($, k, I);
2826
2826
  _.push(Y), i(_), l(1);
2827
2827
  })();
2828
- }, [y, W, D, w, n]), ve(() => {
2828
+ }, [h, W, D, w, n]), ve(() => {
2829
2829
  v === "last One" && i((g) => g.length > 0 ? [g[g.length - 1]] : []);
2830
- }, [v]), /* @__PURE__ */ ye(
2830
+ }, [v]), /* @__PURE__ */ he(
2831
2831
  "div",
2832
2832
  {
2833
2833
  ref: o,
@@ -3209,11 +3209,11 @@ const ga = {
3209
3209
  }
3210
3210
  }
3211
3211
  }
3212
- }, ma = "LightBox-module__hidden___9s-9x", ha = "LightBox-module__heroImage___sTxNF", ya = "LightBox-module__background___rm9ml", va = "LightBox-module__editor___4ACaY", ba = "LightBox-module__contentStyle___Bgnsq", Ca = "LightBox-module__imageStyle___tLIlB", _a = "LightBox-module__imgWrapper___LuFUp", Sa = "LightBox-module__contain___8-yaS", xa = "LightBox-module__cover___hNvOG", wa = "LightBox-module__caption___b6L2I", $a = "LightBox-module__captionTextInner___rCGNH", Ea = "LightBox-module__lightboxSplide___XFuWC", Ta = "LightBox-module__arrow___iz38X", Aa = "LightBox-module__arrowVertical___Zfz81", Ia = "LightBox-module__nextArrow___zkAQN", La = "LightBox-module__arrowInner___p48sW", ka = "LightBox-module__arrowIcon___3VaFf", Ra = "LightBox-module__arrowImg___pNV88", Na = "LightBox-module__mirror___pjeXc", Oa = "LightBox-module__thumbsWrapper___GB-nU", Ba = "LightBox-module__thumbsContainerVertical___wttk5", Fa = "LightBox-module__thumbsContainer___osSma", Ma = "LightBox-module__thumbsAlignStart___MO6tY", za = "LightBox-module__thumbsAlignCenter___Q4sUx", Da = "LightBox-module__thumbsAlignEnd___p4y9R", Va = "LightBox-module__thumbItem___HvnF3", ja = "LightBox-module__closeButton___g2khP", Wa = "LightBox-module__fadeIn___0m5GW", Pa = "LightBox-module__slideInLeft___gPYwC", Ha = "LightBox-module__slideInRight___S-pPp", Ua = "LightBox-module__slideInTop___DFdAj", Ga = "LightBox-module__slideInBottom___m27kZ", Ya = "LightBox-module__fadeOut___55qBR", Xa = "LightBox-module__slideOutLeft___NvU7P", qa = "LightBox-module__slideOutRight___SK7eC", Ka = "LightBox-module__slideOutTop___Vgg0z", Ja = "LightBox-module__slideOutBottom___nJ0Ef", Za = "LightBox-module__scaleSlide___vZriG", z = {
3212
+ }, ma = "LightBox-module__hidden___9s-9x", ya = "LightBox-module__heroImage___sTxNF", va = "LightBox-module__background___rm9ml", ha = "LightBox-module__editor___4ACaY", ba = "LightBox-module__contentStyle___Bgnsq", Ca = "LightBox-module__imageStyle___tLIlB", _a = "LightBox-module__imgWrapper___LuFUp", Sa = "LightBox-module__contain___8-yaS", xa = "LightBox-module__cover___hNvOG", wa = "LightBox-module__caption___b6L2I", $a = "LightBox-module__captionTextInner___rCGNH", Ea = "LightBox-module__lightboxSplide___XFuWC", Ta = "LightBox-module__arrow___iz38X", Aa = "LightBox-module__arrowVertical___Zfz81", Ia = "LightBox-module__nextArrow___zkAQN", La = "LightBox-module__arrowInner___p48sW", ka = "LightBox-module__arrowIcon___3VaFf", Ra = "LightBox-module__arrowImg___pNV88", Na = "LightBox-module__mirror___pjeXc", Oa = "LightBox-module__thumbsWrapper___GB-nU", Ba = "LightBox-module__thumbsContainerVertical___wttk5", Fa = "LightBox-module__thumbsContainer___osSma", Ma = "LightBox-module__thumbsAlignStart___MO6tY", za = "LightBox-module__thumbsAlignCenter___Q4sUx", Da = "LightBox-module__thumbsAlignEnd___p4y9R", Va = "LightBox-module__thumbItem___HvnF3", ja = "LightBox-module__closeButton___g2khP", Wa = "LightBox-module__fadeIn___0m5GW", Pa = "LightBox-module__slideInLeft___gPYwC", Ha = "LightBox-module__slideInRight___S-pPp", Ua = "LightBox-module__slideInTop___DFdAj", Ga = "LightBox-module__slideInBottom___m27kZ", Ya = "LightBox-module__fadeOut___55qBR", Xa = "LightBox-module__slideOutLeft___NvU7P", qa = "LightBox-module__slideOutRight___SK7eC", Ka = "LightBox-module__slideOutTop___Vgg0z", Ja = "LightBox-module__slideOutBottom___nJ0Ef", Za = "LightBox-module__scaleSlide___vZriG", z = {
3213
3213
  hidden: ma,
3214
- heroImage: ha,
3215
- background: ya,
3216
- editor: va,
3214
+ heroImage: ya,
3215
+ background: va,
3216
+ editor: ha,
3217
3217
  contentStyle: ba,
3218
3218
  imageStyle: Ca,
3219
3219
  imgWrapper: _a,
@@ -3265,9 +3265,9 @@ function rn(e) {
3265
3265
  const t = e.getBoundingClientRect(), r = Zn(e), n = Math.max(0, t.width - r.left - r.right), o = Math.max(0, t.height - r.top - r.bottom), a = e.naturalWidth, i = e.naturalHeight, s = n / o, l = a / i;
3266
3266
  let p, c;
3267
3267
  l > s ? (p = n, c = n / l) : (c = o, p = o * l);
3268
- const S = t.left + r.left, m = t.top + r.top, h = (n - p) / 2 + S, u = (o - c) / 2 + m;
3268
+ const S = t.left + r.left, m = t.top + r.top, y = (n - p) / 2 + S, u = (o - c) / 2 + m;
3269
3269
  return {
3270
- x: h,
3270
+ x: y,
3271
3271
  y: u,
3272
3272
  width: p,
3273
3273
  height: c
@@ -3367,7 +3367,7 @@ const el = ({ settings: e, content: t, styles: r, portalId: n, activeEvent: o, i
3367
3367
  const [i, s] = le(!1), { url: l } = e.thumbnailBlock.cover;
3368
3368
  return ve(() => {
3369
3369
  o === "close" && s(!1), o === "open" && s(!0);
3370
- }, [o]), /* @__PURE__ */ ye(mt, { children: [
3370
+ }, [o]), /* @__PURE__ */ he(mt, { children: [
3371
3371
  /* @__PURE__ */ N(
3372
3372
  "img",
3373
3373
  {
@@ -3392,7 +3392,7 @@ const el = ({ settings: e, content: t, styles: r, portalId: n, activeEvent: o, i
3392
3392
  ] });
3393
3393
  }, tl = ({ isOpen: e, onClose: t, content: r, lightboxStyles: n, settings: o, portalId: a, isEditor: i, metadata: s }) => {
3394
3394
  var j;
3395
- const [l, p] = le(0), [c, S] = le(0), [m, h] = le(!1), [u, f] = le(!1), [x, E] = le({}), d = Se(null), y = Se(null), W = Se(null), D = Se(!1), w = Se(null), v = Se(null), A = Se(null), R = Se(null), V = Se(!1), L = Se(null), [O, F] = le(!1), { appear: P, triggers: H, slider: g, thumbnail: k, controls: I, area: _, caption: b, layout: $ } = o.lightboxBlock, { appearClass: Y, backdropAppearClass: oe, backdropDisappearClass: re, disappearClass: me } = Qa(P.type, P.direction), T = (s == null ? void 0 : s.itemId) ?? null;
3395
+ const [l, p] = le(0), [c, S] = le(0), [m, y] = le(!1), [u, f] = le(!1), [x, E] = le({}), d = Se(null), h = Se(null), W = Se(null), D = Se(!1), w = Se(null), v = Se(null), A = Se(null), R = Se(null), V = Se(!1), L = Se(null), [O, F] = le(!1), { appear: P, triggers: H, slider: g, thumbnail: k, controls: I, area: _, caption: b, layout: $ } = o.lightboxBlock, { appearClass: Y, backdropAppearClass: oe, backdropDisappearClass: re, disappearClass: me } = Qa(P.type, P.direction), T = (s == null ? void 0 : s.itemId) ?? null;
3396
3396
  ve(() => {
3397
3397
  const C = () => {
3398
3398
  setTimeout(() => {
@@ -3421,9 +3421,9 @@ const el = ({ settings: e, content: t, styles: r, portalId: n, activeEvent: o, i
3421
3421
  }, [e, k.isActive, r.length, x, g.direction]);
3422
3422
  const J = Qn(() => {
3423
3423
  const C = window.matchMedia("(max-width: 768px)").matches, M = on(_.color);
3424
- C && !i && M > 0.9 && (document.body.style.backgroundColor = ""), h(!0), D.current = !0;
3424
+ C && !i && M > 0.9 && (document.body.style.backgroundColor = ""), y(!0), D.current = !0;
3425
3425
  const G = (X) => {
3426
- X.target === w.current && X.animationName && (w.current && v.current && w.current.removeEventListener("animationend", v.current), v.current = null, D.current && (D.current = !1, t()), h(!1));
3426
+ X.target === w.current && X.animationName && (w.current && v.current && w.current.removeEventListener("animationend", v.current), v.current = null, D.current && (D.current = !1, t()), y(!1));
3427
3427
  };
3428
3428
  w.current && (v.current = G, w.current.addEventListener("animationend", G));
3429
3429
  }, [t, _.color, i]), pe = (C, M, G) => {
@@ -3486,7 +3486,7 @@ const el = ({ settings: e, content: t, styles: r, portalId: n, activeEvent: o, i
3486
3486
  };
3487
3487
  }, [e, J, r.length]), ve(() => {
3488
3488
  if (e) {
3489
- if (p(0), S((M) => M + 1), D.current = !1, h(!1), f(!1), E({}), !T) return;
3489
+ if (p(0), S((M) => M + 1), D.current = !1, y(!1), f(!1), E({}), !T) return;
3490
3490
  const C = new CustomEvent("page-overlay", { detail: { itemId: T } });
3491
3491
  window.dispatchEvent(C);
3492
3492
  }
@@ -3494,7 +3494,7 @@ const el = ({ settings: e, content: t, styles: r, portalId: n, activeEvent: o, i
3494
3494
  w.current && v.current && (w.current.removeEventListener("animationend", v.current), v.current = null), f(!1);
3495
3495
  };
3496
3496
  }, [e, T]), ve(() => {
3497
- y.current !== null && y.current !== g.type && S((C) => C + 1), y.current = g.type;
3497
+ h.current !== null && h.current !== g.type && S((C) => C + 1), h.current = g.type;
3498
3498
  }, [g.type]), ve(() => {
3499
3499
  if (!e) return;
3500
3500
  const C = document.body.style.overflow, M = window.matchMedia("(max-width: 768px)").matches, G = on(_.color);
@@ -3601,7 +3601,7 @@ const el = ({ settings: e, content: t, styles: r, portalId: n, activeEvent: o, i
3601
3601
  animationFillMode: "both"
3602
3602
  };
3603
3603
  return document.getElementById(a) ? eo(
3604
- /* @__PURE__ */ ye(mt, { children: [
3604
+ /* @__PURE__ */ he(mt, { children: [
3605
3605
  /* @__PURE__ */ N(
3606
3606
  "div",
3607
3607
  {
@@ -3613,7 +3613,7 @@ const el = ({ settings: e, content: t, styles: r, portalId: n, activeEvent: o, i
3613
3613
  }
3614
3614
  }
3615
3615
  ),
3616
- /* @__PURE__ */ ye(
3616
+ /* @__PURE__ */ he(
3617
3617
  "div",
3618
3618
  {
3619
3619
  ref: i ? w : null,
@@ -3675,13 +3675,13 @@ const el = ({ settings: e, content: t, styles: r, portalId: n, activeEvent: o, i
3675
3675
  },
3676
3676
  c
3677
3677
  ),
3678
- I.isActive && /* @__PURE__ */ ye(mt, { children: [
3678
+ I.isActive && /* @__PURE__ */ he(mt, { children: [
3679
3679
  /* @__PURE__ */ N(
3680
3680
  "div",
3681
3681
  {
3682
3682
  className: fe(z.arrow, { [z.arrowVertical]: g.direction === "vert" }),
3683
3683
  style: { color: I.color, "--arrow-hover-color": I.hover },
3684
- children: /* @__PURE__ */ ye(
3684
+ children: /* @__PURE__ */ he(
3685
3685
  "button",
3686
3686
  {
3687
3687
  className: z.arrowInner,
@@ -3712,7 +3712,7 @@ const el = ({ settings: e, content: t, styles: r, portalId: n, activeEvent: o, i
3712
3712
  {
3713
3713
  className: fe(z.arrow, z.nextArrow, { [z.arrowVertical]: g.direction === "vert" }),
3714
3714
  style: { color: I.color, "--arrow-hover-color": I.hover },
3715
- children: /* @__PURE__ */ ye(
3715
+ children: /* @__PURE__ */ he(
3716
3716
  "button",
3717
3717
  {
3718
3718
  className: z.arrowInner,
@@ -5104,13 +5104,6 @@ function nl(e) {
5104
5104
  position: relative;
5105
5105
  height: auto;
5106
5106
  }
5107
- .${e}-gap-spacer {
5108
- flex: 0 0 auto;
5109
- align-self: stretch;
5110
- }
5111
- .${e}-fields-gap-spacer {
5112
- flex: 0 0 auto;
5113
- }
5114
5107
  `;
5115
5108
  }
5116
5109
  function ol({ settings: e, isEditor: t, metadata: r, activeEvent: n }) {
@@ -5123,13 +5116,13 @@ function ol({ settings: e, isEditor: t, metadata: r, activeEvent: n }) {
5123
5116
  button: c,
5124
5117
  gap: S = 8e-3,
5125
5118
  fieldsGap: m = 8e-3,
5126
- label: h,
5119
+ label: y,
5127
5120
  buttonCorners: u,
5128
5121
  buttonStroke: f,
5129
5122
  inputCorners: x,
5130
5123
  inputStroke: E,
5131
5124
  buttonPadding: d,
5132
- inputPadding: y,
5125
+ inputPadding: h,
5133
5126
  inputColor: W,
5134
5127
  inputTextColor: D,
5135
5128
  inputBorderColor: w,
@@ -5155,27 +5148,27 @@ function ol({ settings: e, isEditor: t, metadata: r, activeEvent: n }) {
5155
5148
  borderStyle: "solid",
5156
5149
  borderRadius: B(x ?? 0, t),
5157
5150
  borderWidth: B(E ?? 0, t),
5158
- paddingTop: B((y == null ? void 0 : y.top) ?? 0, t),
5159
- paddingRight: B((y == null ? void 0 : y.right) ?? 0, t),
5160
- paddingBottom: B((y == null ? void 0 : y.bottom) ?? 0, t),
5161
- paddingLeft: B((y == null ? void 0 : y.left) ?? 0, t)
5151
+ paddingTop: B((h == null ? void 0 : h.top) ?? 0, t),
5152
+ paddingRight: B((h == null ? void 0 : h.right) ?? 0, t),
5153
+ paddingBottom: B((h == null ? void 0 : h.bottom) ?? 0, t),
5154
+ paddingLeft: B((h == null ? void 0 : h.left) ?? 0, t)
5162
5155
  }, Y = c ? lr(
5163
5156
  {
5164
5157
  ...c,
5165
5158
  fontSettings: { ...c.fontSettings, fontFamily: P }
5166
5159
  },
5167
5160
  t
5168
- ) : void 0, oe = h ? lr(
5161
+ ) : void 0, oe = y ? lr(
5169
5162
  {
5170
- ...h,
5171
- fontSettings: { ...h.fontSettings, fontFamily: P }
5163
+ ...y,
5164
+ fontSettings: { ...y.fontSettings, fontFamily: P }
5172
5165
  },
5173
5166
  t
5174
5167
  ) : void 0, re = al(o, {
5175
5168
  inputColor: W,
5176
5169
  inputTextColor: D,
5177
5170
  inputBorderColor: w,
5178
- placeholderColor: v,
5171
+ placeholderColor: v != null && v.trim() ? v : "#cccccc",
5179
5172
  buttonColor: A,
5180
5173
  buttonTextColor: R,
5181
5174
  buttonBorderColor: V,
@@ -5219,62 +5212,50 @@ function ol({ settings: e, isEditor: t, metadata: r, activeEvent: n }) {
5219
5212
  pe("error"), de(Ce instanceof Error ? Ce.message : "Something went wrong");
5220
5213
  }
5221
5214
  };
5222
- return /* @__PURE__ */ ye("div", { className: `${o}-wrapper ${M}`.trim(), style: re, children: [
5215
+ return /* @__PURE__ */ he("div", { className: `${o}-wrapper ${M}`.trim(), style: re, children: [
5223
5216
  /* @__PURE__ */ N("style", { children: nl(o) }),
5224
- /* @__PURE__ */ ye(
5217
+ /* @__PURE__ */ he(
5225
5218
  "form",
5226
5219
  {
5227
5220
  onSubmit: ce,
5228
5221
  className: `${o}-form`,
5222
+ style: { gap: B(S, t) },
5229
5223
  children: [
5230
- /* @__PURE__ */ N("div", { className: `${o}-fields`, children: _.map((te, ie) => /* @__PURE__ */ ye(je.Fragment, { children: [
5231
- /* @__PURE__ */ ye("div", { className: `${o}-field-group${I ? ` ${o}-labeled` : ""}`, children: [
5232
- I && /* @__PURE__ */ N("span", { className: `${o}-field-label`, style: oe ? { ...oe, lineHeight: oe.fontSize } : void 0, children: te.label || te.name }),
5233
- te.type === "textarea" ? /* @__PURE__ */ N(
5234
- "textarea",
5235
- {
5236
- name: te.name,
5237
- autoComplete: "off",
5238
- value: j[te.name] ?? "",
5239
- onChange: (ae) => K(te.name, ae.target.value),
5240
- placeholder: te.placeholder,
5241
- className: `${o}-input`,
5242
- style: $,
5243
- rows: 1,
5244
- "data-field-type": "textarea"
5245
- }
5246
- ) : /* @__PURE__ */ N(
5247
- "input",
5248
- {
5249
- type: te.type === "phone" ? "tel" : te.type === "email" ? "email" : "text",
5250
- name: te.name,
5251
- autoComplete: "off",
5252
- value: j[te.name] ?? "",
5253
- onChange: (ae) => K(te.name, ae.target.value),
5254
- placeholder: te.placeholder,
5255
- required: te.type === "email",
5256
- className: `${o}-input`,
5257
- style: $
5258
- }
5259
- )
5260
- ] }),
5261
- ie < _.length - 1 && /* @__PURE__ */ N(
5262
- "div",
5263
- {
5264
- "data-axis": "y",
5265
- className: `${o}-overlay-anchor ${o}-fields-gap-spacer`,
5266
- "data-controls": "settings.fieldsGap",
5267
- style: { height: B(m, t), width: "100%" }
5268
- }
5269
- )
5270
- ] }, ie)) }),
5271
5224
  /* @__PURE__ */ N(
5272
5225
  "div",
5273
5226
  {
5274
- "data-axis": "y",
5275
- className: `${o}-overlay-anchor ${o}-gap-spacer`,
5276
- "data-controls": "settings.gap",
5277
- style: { height: B(S, t), width: "100%" }
5227
+ className: `${o}-fields`,
5228
+ style: { gap: B(m, t) },
5229
+ children: _.map((te, ie) => /* @__PURE__ */ he("div", { className: `${o}-field-group${I ? ` ${o}-labeled` : ""}`, children: [
5230
+ I && /* @__PURE__ */ N("span", { className: `${o}-field-label`, style: oe ? { ...oe, lineHeight: oe.fontSize } : void 0, children: te.label || te.name }),
5231
+ te.type === "textarea" ? /* @__PURE__ */ N(
5232
+ "textarea",
5233
+ {
5234
+ name: te.name,
5235
+ autoComplete: "off",
5236
+ value: j[te.name] ?? "",
5237
+ onChange: (ae) => K(te.name, ae.target.value),
5238
+ placeholder: te.placeholder,
5239
+ className: `${o}-input`,
5240
+ style: $,
5241
+ rows: 1,
5242
+ "data-field-type": "textarea"
5243
+ }
5244
+ ) : /* @__PURE__ */ N(
5245
+ "input",
5246
+ {
5247
+ type: te.type === "phone" ? "tel" : te.type === "email" ? "email" : "text",
5248
+ name: te.name,
5249
+ autoComplete: "off",
5250
+ value: j[te.name] ?? "",
5251
+ onChange: (ae) => K(te.name, ae.target.value),
5252
+ placeholder: te.placeholder,
5253
+ required: te.type === "email",
5254
+ className: `${o}-input`,
5255
+ style: $
5256
+ }
5257
+ )
5258
+ ] }, ie))
5278
5259
  }
5279
5260
  ),
5280
5261
  /* @__PURE__ */ N("div", { className: `${o}-overlay-anchor`, children: /* @__PURE__ */ N(
@@ -5498,13 +5479,6 @@ function getCSS(P: string): string {
5498
5479
  position: relative;
5499
5480
  height: auto;
5500
5481
  }
5501
- .\${P}-gap-spacer {
5502
- flex: 0 0 auto;
5503
- align-self: stretch;
5504
- }
5505
- .\${P}-fields-gap-spacer {
5506
- flex: 0 0 auto;
5507
- }
5508
5482
  \`;
5509
5483
  }
5510
5484
 
@@ -5591,9 +5565,16 @@ export function Form({ settings, isEditor, metadata, activeEvent }: FormProps) {
5591
5565
  : undefined;
5592
5566
 
5593
5567
  const colorVars = buildColorVars(P, {
5594
- inputColor, inputTextColor, inputBorderColor, placeholderColor,
5595
- buttonColor, buttonTextColor, buttonBorderColor,
5596
- labelTextColor, successColor, errorColor,
5568
+ inputColor,
5569
+ inputTextColor,
5570
+ inputBorderColor,
5571
+ placeholderColor: placeholderColor?.trim() ? placeholderColor : '#cccccc',
5572
+ buttonColor,
5573
+ buttonTextColor,
5574
+ buttonBorderColor,
5575
+ labelTextColor,
5576
+ successColor,
5577
+ errorColor,
5597
5578
  }, stateOverrides);
5598
5579
 
5599
5580
  const [fieldValues, setFieldValues] = useState<Record<string, string>>(() =>
@@ -5670,59 +5651,47 @@ export function Form({ settings, isEditor, metadata, activeEvent }: FormProps) {
5670
5651
  <form
5671
5652
  onSubmit={handleSubmit}
5672
5653
  className={\`\${P}-form\`}
5654
+ style={{ gap: scalingValue(gap, isEditor) }}
5673
5655
  >
5674
- <div className={\`\${P}-fields\`}>
5656
+ <div
5657
+ className={\`\${P}-fields\`}
5658
+ style={{ gap: scalingValue(fieldsGap, isEditor) }}
5659
+ >
5675
5660
  {visibleFields.map((field, index) => (
5676
- <React.Fragment key={index}>
5677
- <div className={\`\${P}-field-group\${showLabels ? \` \${P}-labeled\` : ''}\`}>
5678
- {showLabels && (
5679
- <span className={\`\${P}-field-label\`} style={labelTextCss ? { ...labelTextCss, lineHeight: labelTextCss.fontSize } : undefined}>
5680
- {field.label || field.name}
5681
- </span>
5682
- )}
5683
- {field.type === 'textarea' ? (
5684
- <textarea
5685
- name={field.name}
5686
- autoComplete="off"
5687
- value={displayValues[field.name] ?? ''}
5688
- onChange={(e) => handleFieldChange(field.name, e.target.value)}
5689
- placeholder={field.placeholder}
5690
- className={\`\${P}-input\`}
5691
- style={inputFieldCss}
5692
- rows={1}
5693
- data-field-type="textarea"
5694
- />
5695
- ) : (
5696
- <input
5697
- type={field.type === 'phone' ? 'tel' : field.type === 'email' ? 'email' : 'text'}
5698
- name={field.name}
5699
- autoComplete="off"
5700
- value={displayValues[field.name] ?? ''}
5701
- onChange={(e) => handleFieldChange(field.name, e.target.value)}
5702
- placeholder={field.placeholder}
5703
- required={field.type === 'email'}
5704
- className={\`\${P}-input\`}
5705
- style={inputFieldCss}
5706
- />
5707
- )}
5708
- </div>
5709
- {index < visibleFields.length - 1 && (
5710
- <div
5711
- data-axis="y"
5712
- className={\`\${P}-overlay-anchor \${P}-fields-gap-spacer\`}
5713
- data-controls="settings.fieldsGap"
5714
- style={{ height: scalingValue(fieldsGap, isEditor), width: '100%' }}
5661
+ <div key={index} className={\`\${P}-field-group\${showLabels ? \` \${P}-labeled\` : ''}\`}>
5662
+ {showLabels && (
5663
+ <span className={\`\${P}-field-label\`} style={labelTextCss ? { ...labelTextCss, lineHeight: labelTextCss.fontSize } : undefined}>
5664
+ {field.label || field.name}
5665
+ </span>
5666
+ )}
5667
+ {field.type === 'textarea' ? (
5668
+ <textarea
5669
+ name={field.name}
5670
+ autoComplete="off"
5671
+ value={displayValues[field.name] ?? ''}
5672
+ onChange={(e) => handleFieldChange(field.name, e.target.value)}
5673
+ placeholder={field.placeholder}
5674
+ className={\`\${P}-input\`}
5675
+ style={inputFieldCss}
5676
+ rows={1}
5677
+ data-field-type="textarea"
5678
+ />
5679
+ ) : (
5680
+ <input
5681
+ type={field.type === 'phone' ? 'tel' : field.type === 'email' ? 'email' : 'text'}
5682
+ name={field.name}
5683
+ autoComplete="off"
5684
+ value={displayValues[field.name] ?? ''}
5685
+ onChange={(e) => handleFieldChange(field.name, e.target.value)}
5686
+ placeholder={field.placeholder}
5687
+ required={field.type === 'email'}
5688
+ className={\`\${P}-input\`}
5689
+ style={inputFieldCss}
5715
5690
  />
5716
5691
  )}
5717
- </React.Fragment>
5692
+ </div>
5718
5693
  ))}
5719
5694
  </div>
5720
- <div
5721
- data-axis="y"
5722
- className={\`\${P}-overlay-anchor \${P}-gap-spacer\`}
5723
- data-controls="settings.gap"
5724
- style={{ height: scalingValue(gap, isEditor), width: '100%' }}
5725
- />
5726
5695
  <div className={\`\${P}-overlay-anchor\`}>
5727
5696
  <button
5728
5697
  type="submit"
@@ -6121,7 +6090,7 @@ function textStylesToCss(textStyles: TextStyles, isEditor?: boolean): React.CSSP
6121
6090
  type: "string",
6122
6091
  scope: "layout",
6123
6092
  title: "Label Color",
6124
- display: { type: "palette-color-picker" }
6093
+ display: { type: "palette-color-picker", visible: !1 }
6125
6094
  },
6126
6095
  successColor: {
6127
6096
  type: "string",
@@ -6200,6 +6169,7 @@ function textStylesToCss(textStyles: TextStyles, isEditor?: boolean): React.CSSP
6200
6169
  inputColor: "#000000",
6201
6170
  inputTextColor: "#999999",
6202
6171
  inputBorderColor: "#cccccc",
6172
+ placeholderColor: "#cccccc",
6203
6173
  buttonColor: "#666666",
6204
6174
  buttonTextColor: "#ffffff",
6205
6175
  buttonBorderColor: "#cccccc",
@@ -6213,7 +6183,13 @@ function textStylesToCss(textStyles: TextStyles, isEditor?: boolean): React.CSSP
6213
6183
  label: cr(400),
6214
6184
  successMessage: "Thanks for subscribing!",
6215
6185
  errorMessage: "Please, fill all required fields."
6216
- }
6186
+ },
6187
+ displayRules: [
6188
+ {
6189
+ if: { name: "type", value: "B" },
6190
+ then: { name: "properties.labelTextColor.display.visible", value: !0 }
6191
+ }
6192
+ ]
6217
6193
  },
6218
6194
  panels: [
6219
6195
  {
@@ -6299,9 +6275,9 @@ function textStylesToCss(textStyles: TextStyles, isEditor?: boolean): React.CSSP
6299
6275
  items: [...cl],
6300
6276
  panelIds: ["general", "typeStyle"],
6301
6277
  stateItems: {
6302
- default: ["inputColor", "inputTextColor", "inputBorderColor", "placeholderColor", "buttonColor", "buttonTextColor", "buttonBorderColor", "labelTextColor"],
6303
- hover: ["inputColor", "inputBorderColor", "buttonColor", "buttonTextColor", "buttonBorderColor"],
6304
- focus: ["inputColor", "inputTextColor", "inputBorderColor", "buttonColor", "buttonTextColor", "buttonBorderColor"],
6278
+ default: ["inputColor", "inputBorderColor", "placeholderColor", "placeholderTextColor", "buttonColor", "buttonTextColor", "buttonBorderColor", "labelTextColor"],
6279
+ hover: ["inputColor", "inputBorderColor", "placeholderColor", "buttonColor", "buttonTextColor", "buttonBorderColor"],
6280
+ focus: ["inputColor", "inputBorderColor", "placeholderColor", "buttonColor", "buttonTextColor", "buttonBorderColor"],
6305
6281
  filled: ["inputColor", "inputTextColor", "inputBorderColor"],
6306
6282
  success: ["successColor"],
6307
6283
  error: ["errorColor"]
@@ -6466,13 +6442,13 @@ const fl = ({ settings: e, isEditor: t, metadata: r, activeEvent: n }) => {
6466
6442
  fieldsToShow: c = 1,
6467
6443
  fontFamily: S,
6468
6444
  input: m,
6469
- button: h,
6445
+ button: y,
6470
6446
  height: u,
6471
6447
  corners: f,
6472
6448
  stroke: x,
6473
6449
  stateOverrides: E,
6474
6450
  inputPadding: d,
6475
- buttonPadding: y,
6451
+ buttonPadding: h,
6476
6452
  successMessage: W = "Thanks for subscribing!",
6477
6453
  errorMessage: D = "Please, fill all required fields."
6478
6454
  } = e, w = a.slice(0, Math.min(c, a.length)), [v, A] = le(
@@ -6486,12 +6462,12 @@ const fl = ({ settings: e, isEditor: t, metadata: r, activeEvent: n }) => {
6486
6462
  }
6487
6463
  },
6488
6464
  t
6489
- ) : void 0, de = h ? cn(
6465
+ ) : void 0, de = y ? cn(
6490
6466
  {
6491
- ...h,
6467
+ ...y,
6492
6468
  fontSettings: {
6493
- ...h.fontSettings,
6494
- fontFamily: S ?? h.fontSettings.fontFamily
6469
+ ...y.fontSettings,
6470
+ fontFamily: S ?? y.fontSettings.fontFamily
6495
6471
  }
6496
6472
  },
6497
6473
  t
@@ -6503,7 +6479,7 @@ const fl = ({ settings: e, isEditor: t, metadata: r, activeEvent: n }) => {
6503
6479
  successColor: e.successColor,
6504
6480
  errorColor: e.errorColor,
6505
6481
  inputTextColor: e.inputTextColor ?? (m == null ? void 0 : m.color) ?? "#111111",
6506
- buttonTextColor: e.buttonTextColor ?? (h == null ? void 0 : h.color) ?? "#ffffff"
6482
+ buttonTextColor: e.buttonTextColor ?? (y == null ? void 0 : y.color) ?? "#ffffff"
6507
6483
  }, E), Ve = {
6508
6484
  borderRadius: B(f, t),
6509
6485
  borderWidth: B(x, t),
@@ -6540,9 +6516,9 @@ const fl = ({ settings: e, isEditor: t, metadata: r, activeEvent: n }) => {
6540
6516
  V("error"), O(Z instanceof Error ? Z.message : "Something went wrong");
6541
6517
  }
6542
6518
  };
6543
- return /* @__PURE__ */ ye("div", { className: `${o}-wrapper ${k}`.trim(), style: Ee, children: [
6519
+ return /* @__PURE__ */ he("div", { className: `${o}-wrapper ${k}`.trim(), style: Ee, children: [
6544
6520
  /* @__PURE__ */ N("style", { children: dl(o) }),
6545
- /* @__PURE__ */ ye("form", { onSubmit: C, className: `${o}-form`, style: { ...Ve, height: B(u, t) }, children: [
6521
+ /* @__PURE__ */ he("form", { onSubmit: C, className: `${o}-form`, style: { ...Ve, height: B(u, t) }, children: [
6546
6522
  /* @__PURE__ */ N(
6547
6523
  "div",
6548
6524
  {
@@ -6580,10 +6556,10 @@ const fl = ({ settings: e, isEditor: t, metadata: r, activeEvent: n }) => {
6580
6556
  style: {
6581
6557
  ...de,
6582
6558
  ...j,
6583
- paddingRight: B(y.right, t),
6584
- paddingLeft: B(y.left, t),
6585
- paddingTop: B(y.top, t),
6586
- paddingBottom: B(y.bottom, t)
6559
+ paddingRight: B(h.right, t),
6560
+ paddingLeft: B(h.left, t),
6561
+ paddingTop: B(h.top, t),
6562
+ paddingBottom: B(h.bottom, t)
6587
6563
  },
6588
6564
  children: R === "submitting" ? "..." : J ? T ? /* @__PURE__ */ N("img", { src: T, alt: "", draggable: !1 }) : null : me
6589
6565
  }
@@ -6642,7 +6618,7 @@ function cn(e, t) {
6642
6618
  fontSize: B(e.fontSize, t)
6643
6619
  };
6644
6620
  }
6645
- const hl = [
6621
+ const yl = [
6646
6622
  { name: "email", type: "email", placeholder: "Enter your email", label: "Email", isRequired: !0, error: "Please, enter a valid e-mail." },
6647
6623
  { name: "name", type: "text", placeholder: "Enter your name", label: "Name", isRequired: !1, error: "Please, enter your name." },
6648
6624
  { name: "company", type: "text", placeholder: "Enter company", label: "Company", isRequired: !1, error: "Please, enter your company name." },
@@ -6677,7 +6653,7 @@ const hl = [
6677
6653
  title: "Text Color",
6678
6654
  display: { type: "palette-color-picker" }
6679
6655
  }
6680
- }, yl = [
6656
+ }, vl = [
6681
6657
  "strokeColor",
6682
6658
  "inputColor",
6683
6659
  "inputTextColor",
@@ -6696,7 +6672,7 @@ const hl = [
6696
6672
  fontSize: 0.01,
6697
6673
  lineHeight: 0.01,
6698
6674
  color: "#111111"
6699
- }), vl = {
6675
+ }), hl = {
6700
6676
  type: "object",
6701
6677
  version: 1,
6702
6678
  settings: {
@@ -6869,7 +6845,7 @@ const hl = [
6869
6845
  }
6870
6846
  },
6871
6847
  defaults: {
6872
- fields: hl,
6848
+ fields: yl,
6873
6849
  fieldsToShow: 1,
6874
6850
  buttonContent: {
6875
6851
  mode: "Label",
@@ -6961,7 +6937,7 @@ const hl = [
6961
6937
  }
6962
6938
  ],
6963
6939
  paletteBookmark: {
6964
- items: [...yl],
6940
+ items: [...vl],
6965
6941
  panelIds: ["general", "typeStyle"],
6966
6942
  stateItems: {
6967
6943
  default: ["strokeColor", "inputColor", "inputTextColor", "placeholderColor", "buttonColor", "buttonTextColor"],
@@ -6982,7 +6958,7 @@ const hl = [
6982
6958
  width: "50%",
6983
6959
  height: 60
6984
6960
  },
6985
- schema: vl
6961
+ schema: hl
6986
6962
  }, El = [
6987
6963
  la,
6988
6964
  ga,