@cntrl-site/components 1.0.41-alpha.0 → 1.0.41-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/index.js +34 -31
  2. package/dist/index.mjs +525 -523
  3. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -1,12 +1,12 @@
1
1
  import { jsx as l, Fragment as lt, jsxs as J } from "react/jsx-runtime";
2
- import Xn, { useState as te, useEffect as We, useRef as ee, useCallback as ye, useMemo as Be, useLayoutEffect as Dt } from "react";
2
+ import Xn, { useState as te, useEffect as We, useRef as ee, useCallback as ye, useMemo as ze, useLayoutEffect as Dt } from "react";
3
3
  import vt from "classnames";
4
4
  import { s as D, u as hn, b as Co, g as sr, r as ps } from "./readTestimonialTextMeasure-B1FI-93F.mjs";
5
5
  import { createPortal as Ui, flushSync as Tc } from "react-dom";
6
6
  function Zy(e) {
7
7
  return e.type === "object" && e.version === 1;
8
8
  }
9
- const Lc = "ControlSlider-module__wrapper___sHEkd", Ic = "ControlSlider-module__hoverArrow___A-dOH", Rc = "ControlSlider-module__sliderItem___QQSkR", Ec = "ControlSlider-module__sliderImage___9hRl-", Mc = "ControlSlider-module__arrow___05ghY", Pc = "ControlSlider-module__arrowVertical___tBfVN", Ac = "ControlSlider-module__nextArrow___-30Yc", kc = "ControlSlider-module__arrowInner___aEra3", Wc = "ControlSlider-module__arrowIcon___S4ztF", Fc = "ControlSlider-module__arrowImg___2dwJW", _c = "ControlSlider-module__mirror___brd6U", Hc = "ControlSlider-module__pagination___bicLF", Nc = "ControlSlider-module__paginationInner___bT-P-", Oc = "ControlSlider-module__paginationVertical___zYqKw", zc = "ControlSlider-module__paginationItem___nTRbk", Bc = "ControlSlider-module__dot___p1Qun", Dc = "ControlSlider-module__activeDot___LHFaj", Vc = "ControlSlider-module__paginationInsideBottom___R3FWn", jc = "ControlSlider-module__paginationInsideTop___V-qb-", Gc = "ControlSlider-module__paginationOutsideBottom___14w8D", qc = "ControlSlider-module__paginationOutsideTop___SCLqB", Kc = "ControlSlider-module__paginationInsideLeft___yOBRZ", Uc = "ControlSlider-module__paginationInsideRight___Rtt3o", Xc = "ControlSlider-module__paginationOutsideLeft___lahaw", Yc = "ControlSlider-module__paginationOutsideRight___EtuQa", Jc = "ControlSlider-module__imgWrapper___UjEgB", Zc = "ControlSlider-module__captionBlock___dJ6-j", Qc = "ControlSlider-module__captionTextWrapper___HFlpf", ed = "ControlSlider-module__captionText___uGBVc", td = "ControlSlider-module__active___WZK4G", nd = "ControlSlider-module__withPointerEvents___t-18M", id = "ControlSlider-module__topLeftAlignment___zjnGM", od = "ControlSlider-module__topCenterAlignment___gD1xW", rd = "ControlSlider-module__topRightAlignment___NMapS", ad = "ControlSlider-module__middleLeftAlignment___OnUrY", ld = "ControlSlider-module__middleCenterAlignment___Tdkl0", sd = "ControlSlider-module__middleRightAlignment___wEbfX", cd = "ControlSlider-module__bottomLeftAlignment___cTP2-", dd = "ControlSlider-module__bottomCenterAlignment___c54fB", ud = "ControlSlider-module__bottomRightAlignment___kEwrz", pd = "ControlSlider-module__clickOverlay___DZA28", md = "ControlSlider-module__contain___pLyq7", gd = "ControlSlider-module__cover___KdDat", et = {
9
+ const Lc = "ControlSlider-module__wrapper___sHEkd", Ic = "ControlSlider-module__hoverArrow___A-dOH", Rc = "ControlSlider-module__sliderItem___QQSkR", Ec = "ControlSlider-module__sliderImage___9hRl-", Mc = "ControlSlider-module__arrow___05ghY", Pc = "ControlSlider-module__arrowVertical___tBfVN", Ac = "ControlSlider-module__nextArrow___-30Yc", kc = "ControlSlider-module__arrowInner___aEra3", Wc = "ControlSlider-module__arrowIcon___S4ztF", Fc = "ControlSlider-module__arrowImg___2dwJW", _c = "ControlSlider-module__mirror___brd6U", Hc = "ControlSlider-module__pagination___bicLF", Nc = "ControlSlider-module__paginationInner___bT-P-", Oc = "ControlSlider-module__paginationVertical___zYqKw", Bc = "ControlSlider-module__paginationItem___nTRbk", zc = "ControlSlider-module__dot___p1Qun", Dc = "ControlSlider-module__activeDot___LHFaj", Vc = "ControlSlider-module__paginationInsideBottom___R3FWn", jc = "ControlSlider-module__paginationInsideTop___V-qb-", Gc = "ControlSlider-module__paginationOutsideBottom___14w8D", qc = "ControlSlider-module__paginationOutsideTop___SCLqB", Kc = "ControlSlider-module__paginationInsideLeft___yOBRZ", Uc = "ControlSlider-module__paginationInsideRight___Rtt3o", Xc = "ControlSlider-module__paginationOutsideLeft___lahaw", Yc = "ControlSlider-module__paginationOutsideRight___EtuQa", Jc = "ControlSlider-module__imgWrapper___UjEgB", Zc = "ControlSlider-module__captionBlock___dJ6-j", Qc = "ControlSlider-module__captionTextWrapper___HFlpf", ed = "ControlSlider-module__captionText___uGBVc", td = "ControlSlider-module__active___WZK4G", nd = "ControlSlider-module__withPointerEvents___t-18M", id = "ControlSlider-module__topLeftAlignment___zjnGM", od = "ControlSlider-module__topCenterAlignment___gD1xW", rd = "ControlSlider-module__topRightAlignment___NMapS", ad = "ControlSlider-module__middleLeftAlignment___OnUrY", ld = "ControlSlider-module__middleCenterAlignment___Tdkl0", sd = "ControlSlider-module__middleRightAlignment___wEbfX", cd = "ControlSlider-module__bottomLeftAlignment___cTP2-", dd = "ControlSlider-module__bottomCenterAlignment___c54fB", ud = "ControlSlider-module__bottomRightAlignment___kEwrz", pd = "ControlSlider-module__clickOverlay___DZA28", md = "ControlSlider-module__contain___pLyq7", gd = "ControlSlider-module__cover___KdDat", et = {
10
10
  wrapper: Lc,
11
11
  hoverArrow: Ic,
12
12
  sliderItem: Rc,
@@ -21,8 +21,8 @@ const Lc = "ControlSlider-module__wrapper___sHEkd", Ic = "ControlSlider-module__
21
21
  pagination: Hc,
22
22
  paginationInner: Nc,
23
23
  paginationVertical: Oc,
24
- paginationItem: zc,
25
- dot: Bc,
24
+ paginationItem: Bc,
25
+ dot: zc,
26
26
  activeDot: Dc,
27
27
  paginationInsideBottom: Vc,
28
28
  paginationInsideTop: jc,
@@ -417,7 +417,7 @@ function $d(e, t, n) {
417
417
  set: w
418
418
  };
419
419
  }
420
- var $r = "Arrow", Cr = $r + "Left", Tr = $r + "Right", _s = $r + "Up", Hs = $r + "Down", ll = "rtl", Lr = "ttb", zr = {
420
+ var $r = "Arrow", Cr = $r + "Left", Tr = $r + "Right", _s = $r + "Up", Hs = $r + "Down", ll = "rtl", Lr = "ttb", Br = {
421
421
  width: ["height"],
422
422
  left: ["top", "right"],
423
423
  right: ["bottom", "left"],
@@ -431,8 +431,8 @@ function Cd(e, t, n) {
431
431
  function i(r, a, c) {
432
432
  c = c || n.direction;
433
433
  var s = c === ll && !a ? 1 : c === Lr ? 0 : -1;
434
- return zr[r] && zr[r][s] || r.replace(/width|left|right/i, function(d, p) {
435
- var y = zr[d.toLowerCase()][s] || d;
434
+ return Br[r] && Br[r][s] || r.replace(/width|left|right/i, function(d, p) {
435
+ var y = Br[d.toLowerCase()][s] || d;
436
436
  return p > 0 ? y.charAt(0).toUpperCase() + y.slice(1) : y;
437
437
  });
438
438
  }
@@ -444,12 +444,12 @@ function Cd(e, t, n) {
444
444
  orient: o
445
445
  };
446
446
  }
447
- var zn = "role", Ai = "tabindex", Td = "disabled", En = "aria-", Po = En + "controls", Ns = En + "current", sl = En + "selected", Sn = En + "label", Fa = En + "labelledby", Os = En + "hidden", _a = En + "orientation", vo = En + "roledescription", cl = En + "live", dl = En + "busy", ul = En + "atomic", Ha = [zn, Ai, Td, Po, Ns, Sn, Fa, Os, _a, vo], Fn = Mo + "__", ai = "is-", Br = Mo, pl = Fn + "track", Ld = Fn + "list", Ir = Fn + "slide", zs = Ir + "--clone", Id = Ir + "__container", Na = Fn + "arrows", Rr = Fn + "arrow", Bs = Rr + "--prev", Ds = Rr + "--next", Er = Fn + "pagination", Vs = Er + "__page", Rd = Fn + "progress", Ed = Rd + "__bar", Md = Fn + "toggle", Pd = Fn + "spinner", Ad = Fn + "sr", kd = ai + "initialized", wi = ai + "active", js = ai + "prev", Gs = ai + "next", ma = ai + "visible", ga = ai + "loading", qs = ai + "focus-in", Ks = ai + "overflow", Wd = [wi, ma, js, Gs, ga, qs, Ks], Fd = {
447
+ var Bn = "role", Ai = "tabindex", Td = "disabled", En = "aria-", Po = En + "controls", Ns = En + "current", sl = En + "selected", Sn = En + "label", Fa = En + "labelledby", Os = En + "hidden", _a = En + "orientation", vo = En + "roledescription", cl = En + "live", dl = En + "busy", ul = En + "atomic", Ha = [Bn, Ai, Td, Po, Ns, Sn, Fa, Os, _a, vo], Fn = Mo + "__", ai = "is-", zr = Mo, pl = Fn + "track", Ld = Fn + "list", Ir = Fn + "slide", Bs = Ir + "--clone", Id = Ir + "__container", Na = Fn + "arrows", Rr = Fn + "arrow", zs = Rr + "--prev", Ds = Rr + "--next", Er = Fn + "pagination", Vs = Er + "__page", Rd = Fn + "progress", Ed = Rd + "__bar", Md = Fn + "toggle", Pd = Fn + "spinner", Ad = Fn + "sr", kd = ai + "initialized", wi = ai + "active", js = ai + "prev", Gs = ai + "next", ma = ai + "visible", ga = ai + "loading", qs = ai + "focus-in", Ks = ai + "overflow", Wd = [wi, ma, js, Gs, ga, qs, Ks], Fd = {
448
448
  slide: Ir,
449
- clone: zs,
449
+ clone: Bs,
450
450
  arrows: Na,
451
451
  arrow: Rr,
452
- prev: Bs,
452
+ prev: zs,
453
453
  next: Ds,
454
454
  pagination: Er,
455
455
  page: Vs,
@@ -482,13 +482,13 @@ function Nd(e, t, n) {
482
482
  Vn(d), On(a, p), On(b, y), Wn([b, w], v), Wn(a, I ? v : ["style", vo]);
483
483
  }
484
484
  function E() {
485
- On(a, p), On(b, y), p = B(Br), y = B(pl), kn(a, p), kn(b, y), gt(a, Sn, n.label), gt(a, Fa, n.labelledby);
485
+ On(a, p), On(b, y), p = z(zr), y = z(pl), kn(a, p), kn(b, y), gt(a, Sn, n.label), gt(a, Fa, n.labelledby);
486
486
  }
487
487
  function P() {
488
- b = M("." + pl), w = Eo(b, "." + Ld), ao(b && w, "A track/list element is missing."), tr(d, fs(w, "." + Ir + ":not(." + zs + ")")), bi({
488
+ b = M("." + pl), w = Eo(b, "." + Ld), ao(b && w, "A track/list element is missing."), tr(d, fs(w, "." + Ir + ":not(." + Bs + ")")), bi({
489
489
  arrows: Na,
490
490
  pagination: Er,
491
- prev: Bs,
491
+ prev: zs,
492
492
  next: Ds,
493
493
  bar: Ed,
494
494
  toggle: Md
@@ -503,14 +503,14 @@ function Nd(e, t, n) {
503
503
  }
504
504
  function H() {
505
505
  var I = a.id || bd(Mo), v = n.role;
506
- a.id = I, b.id = b.id || I + "-track", w.id = w.id || I + "-list", !Rn(a, zn) && a.tagName !== "SECTION" && v && gt(a, zn, v), gt(a, vo, c.carousel), gt(w, zn, "presentation");
506
+ a.id = I, b.id = b.id || I + "-track", w.id = w.id || I + "-list", !Rn(a, Bn) && a.tagName !== "SECTION" && v && gt(a, Bn, v), gt(a, vo, c.carousel), gt(w, Bn, "presentation");
507
507
  }
508
508
  function M(I) {
509
509
  var v = bs(a, I);
510
- return v && _d(v, "." + Br) === a ? v : void 0;
510
+ return v && _d(v, "." + zr) === a ? v : void 0;
511
511
  }
512
- function B(I) {
513
- return [I + "--" + n.type, I + "--" + n.direction, n.drag && I + "--draggable", n.isNavigation && I + "--nav", I === Br && wi];
512
+ function z(I) {
513
+ return [I + "--" + n.type, I + "--" + n.direction, n.drag && I + "--draggable", n.isNavigation && I + "--nav", I === zr && wi];
514
514
  }
515
515
  return ho(s, {
516
516
  setup: x,
@@ -521,8 +521,8 @@ function Nd(e, t, n) {
521
521
  var _i = "slide", Ji = "loop", Ao = "fade";
522
522
  function Od(e, t, n, i) {
523
523
  var o = Qt(e), r = o.on, a = o.emit, c = o.bind, s = e.Components, d = e.root, p = e.options, y = p.isNavigation, b = p.updateOnMove, w = p.i18n, f = p.pagination, x = p.slideFocus, $ = s.Direction.resolve, T = Rn(i, "style"), E = Rn(i, Sn), P = n > -1, H = Eo(i, "." + Id), M;
524
- function B() {
525
- P || (i.id = d.id + "-slide" + Ra(t + 1), gt(i, zn, f ? "tabpanel" : "group"), gt(i, vo, w.slide), gt(i, Sn, E || ua(w.slideLabel, [t + 1, e.length]))), I();
524
+ function z() {
525
+ P || (i.id = d.id + "-slide" + Ra(t + 1), gt(i, Bn, f ? "tabpanel" : "group"), gt(i, vo, w.slide), gt(i, Sn, E || ua(w.slideLabel, [t + 1, e.length]))), I();
526
526
  }
527
527
  function I() {
528
528
  c(i, "click", Kt(a, Ea, F)), c(i, "keydown", Kt(a, Ws, F)), r([Yi, Fs, Si], L), r(Pa, K), b && r(jn, g);
@@ -535,7 +535,7 @@ function Od(e, t, n, i) {
535
535
  var G = R.splide.Components.Slides.getAt(t);
536
536
  return G ? G.slide.id : "";
537
537
  }).join(" ");
538
- gt(i, Sn, ua(w.slideX, (P ? n : t) + 1)), gt(i, Po, S), gt(i, zn, x ? "button" : ""), x && Wn(i, vo);
538
+ gt(i, Sn, ua(w.slideX, (P ? n : t) + 1)), gt(i, Po, S), gt(i, Bn, x ? "button" : ""), x && Wn(i, vo);
539
539
  }
540
540
  function g() {
541
541
  M || L();
@@ -567,8 +567,8 @@ function Od(e, t, n, i) {
567
567
  function Z() {
568
568
  if (e.is(Ao))
569
569
  return se();
570
- var S = xn(s.Elements.track), R = xn(i), G = $("left", !0), z = $("right", !0);
571
- return ur(S[G]) <= yo(R[G]) && ur(R[z]) <= yo(S[z]);
570
+ var S = xn(s.Elements.track), R = xn(i), G = $("left", !0), B = $("right", !0);
571
+ return ur(S[G]) <= yo(R[G]) && ur(R[B]) <= yo(S[B]);
572
572
  }
573
573
  function j(S, R) {
574
574
  var G = gn(S - t);
@@ -580,7 +580,7 @@ function Od(e, t, n, i) {
580
580
  slide: i,
581
581
  container: H,
582
582
  isClone: P,
583
- mount: B,
583
+ mount: z,
584
584
  destroy: v,
585
585
  update: L,
586
586
  style: X,
@@ -588,7 +588,7 @@ function Od(e, t, n, i) {
588
588
  };
589
589
  return F;
590
590
  }
591
- function zd(e, t, n) {
591
+ function Bd(e, t, n) {
592
592
  var i = Qt(e), o = i.on, r = i.emit, a = i.bind, c = t.Elements, s = c.slides, d = c.list, p = [];
593
593
  function y() {
594
594
  b(), o(on, w), o(on, b);
@@ -615,18 +615,18 @@ function zd(e, t, n) {
615
615
  });
616
616
  }
617
617
  function $(L) {
618
- return L ? B(function(A) {
618
+ return L ? z(function(A) {
619
619
  return !A.isClone;
620
620
  }) : p;
621
621
  }
622
622
  function T(L) {
623
623
  var A = t.Controller, V = A.toIndex(L), X = A.hasFocus() ? 1 : n.perPage;
624
- return B(function(se) {
624
+ return z(function(se) {
625
625
  return nr(se.index, V, V + X - 1);
626
626
  });
627
627
  }
628
628
  function E(L) {
629
- return B(L)[0];
629
+ return z(L)[0];
630
630
  }
631
631
  function P(L, A) {
632
632
  Ln(L, function(V) {
@@ -637,14 +637,14 @@ function zd(e, t, n) {
637
637
  }), r(on);
638
638
  }
639
639
  function H(L) {
640
- xi(B(L).map(function(A) {
640
+ xi(z(L).map(function(A) {
641
641
  return A.slide;
642
642
  })), r(on);
643
643
  }
644
644
  function M(L, A) {
645
645
  $(A).forEach(L);
646
646
  }
647
- function B(L) {
647
+ function z(L) {
648
648
  return p.filter(gs(L) ? L : function(A) {
649
649
  return ei(L) ? mo(A.slide, L) : Ca(Io(L), A.index);
650
650
  });
@@ -679,13 +679,13 @@ function zd(e, t, n) {
679
679
  add: P,
680
680
  remove: H,
681
681
  forEach: M,
682
- filter: B,
682
+ filter: z,
683
683
  style: I,
684
684
  getLength: K,
685
685
  isEnough: g
686
686
  };
687
687
  }
688
- function Bd(e, t, n) {
688
+ function zd(e, t, n) {
689
689
  var i = Qt(e), o = i.on, r = i.bind, a = i.emit, c = t.Slides, s = t.Direction.resolve, d = t.Elements, p = d.root, y = d.track, b = d.list, w = c.getAt, f = c.style, x, $, T;
690
690
  function E() {
691
691
  P(), r(window, "resize load", Sd(Kt(a, Fi))), o([pn, on], P), o(Fi, H);
@@ -695,13 +695,13 @@ function Bd(e, t, n) {
695
695
  }
696
696
  function H(F) {
697
697
  var S = xn(p);
698
- (F || $.width !== S.width || $.height !== S.height) && (In(y, "height", B()), f(s("marginRight"), di(n.gap)), f("width", v()), f("height", K(), !0), $ = S, a(xr), T !== (T = j()) && (Nn(p, Ks, T), a(xd, T)));
698
+ (F || $.width !== S.width || $.height !== S.height) && (In(y, "height", z()), f(s("marginRight"), di(n.gap)), f("width", v()), f("height", K(), !0), $ = S, a(xr), T !== (T = j()) && (Nn(p, Ks, T), a(xd, T)));
699
699
  }
700
700
  function M(F) {
701
701
  var S = n.padding, R = s(F ? "right" : "left");
702
702
  return S && di(S[R] || (po(S) ? 0 : S)) || "0px";
703
703
  }
704
- function B() {
704
+ function z() {
705
705
  var F = "";
706
706
  return x && (F = I(), ao(F, "height or heightRatio is missing."), F = "calc(" + F + " - " + M(!1) + " - " + M(!0) + ")"), F;
707
707
  }
@@ -728,8 +728,8 @@ function Bd(e, t, n) {
728
728
  function V(F, S) {
729
729
  var R = w(F);
730
730
  if (R) {
731
- var G = xn(R.slide)[s("right")], z = xn(b)[s("left")];
732
- return gn(G - z) + (S ? 0 : se());
731
+ var G = xn(R.slide)[s("right")], B = xn(b)[s("left")];
732
+ return gn(G - B) + (S ? 0 : se());
733
733
  }
734
734
  return 0;
735
735
  }
@@ -779,8 +779,8 @@ function Vd(e, t, n) {
779
779
  for (; E.length < T; )
780
780
  tr(E, E);
781
781
  tr(E.slice(-T), E.slice(0, T)).forEach(function(H, M) {
782
- var B = M < T, I = x(H.slide, M);
783
- B ? Ta(I, E[0].slide) : Ro(r.list, I), tr(s, I), a.register(I, M - T + (B ? 0 : P), H.index);
782
+ var z = M < T, I = x(H.slide, M);
783
+ z ? Ta(I, E[0].slide) : Ro(r.list, I), tr(s, I), a.register(I, M - T + (z ? 0 : P), H.index);
784
784
  });
785
785
  }
786
786
  }
@@ -811,9 +811,9 @@ function jd(e, t, n) {
811
811
  function M() {
812
812
  t.Controller.isBusy() || (t.Scroll.cancel(), I(e.index), t.Slides.update());
813
813
  }
814
- function B(R, G, z, ne) {
815
- R !== G && F(R > z) && (L(), v(g(X(), R > z), !0)), a(Xi), r(jn, G, z, R), P.start(G, function() {
816
- a(Wi), r(Yi, G, z, R), ne && ne();
814
+ function z(R, G, B, ne) {
815
+ R !== G && F(R > B) && (L(), v(g(X(), R > B), !0)), a(Xi), r(jn, G, B, R), P.start(G, function() {
816
+ a(Wi), r(Yi, G, B, R), ne && ne();
817
817
  });
818
818
  }
819
819
  function I(R) {
@@ -821,37 +821,37 @@ function jd(e, t, n) {
821
821
  }
822
822
  function v(R, G) {
823
823
  if (!e.is(Ao)) {
824
- var z = G ? R : K(R);
825
- In(T, "transform", "translate" + f("X") + "(" + z + "px)"), R !== z && r(Fs);
824
+ var B = G ? R : K(R);
825
+ In(T, "transform", "translate" + f("X") + "(" + B + "px)"), R !== B && r(Fs);
826
826
  }
827
827
  }
828
828
  function K(R) {
829
829
  if (e.is(Ji)) {
830
- var G = A(R), z = G > t.Controller.getEnd(), ne = G < 0;
831
- (ne || z) && (R = g(R, z));
830
+ var G = A(R), B = G > t.Controller.getEnd(), ne = G < 0;
831
+ (ne || B) && (R = g(R, B));
832
832
  }
833
833
  return R;
834
834
  }
835
835
  function g(R, G) {
836
- var z = R - j(G), ne = b();
837
- return R -= x(ne * (yo(gn(z) / ne) || 1)) * (G ? 1 : -1), R;
836
+ var B = R - j(G), ne = b();
837
+ return R -= x(ne * (yo(gn(B) / ne) || 1)) * (G ? 1 : -1), R;
838
838
  }
839
839
  function L() {
840
840
  v(X(), !0), P.cancel();
841
841
  }
842
842
  function A(R) {
843
- for (var G = t.Slides.get(), z = 0, ne = 1 / 0, W = 0; W < G.length; W++) {
843
+ for (var G = t.Slides.get(), B = 0, ne = 1 / 0, W = 0; W < G.length; W++) {
844
844
  var xe = G[W].index, h = gn(V(xe, !0) - R);
845
845
  if (h <= ne)
846
- ne = h, z = xe;
846
+ ne = h, B = xe;
847
847
  else
848
848
  break;
849
849
  }
850
- return z;
850
+ return B;
851
851
  }
852
852
  function V(R, G) {
853
- var z = x(p(R - 1) - Z(R));
854
- return G ? se(z) : z;
853
+ var B = x(p(R - 1) - Z(R));
854
+ return G ? se(B) : B;
855
855
  }
856
856
  function X() {
857
857
  var R = f("left");
@@ -873,12 +873,12 @@ function jd(e, t, n) {
873
873
  }
874
874
  function S(R, G) {
875
875
  G = Lo(G) ? X() : G;
876
- var z = R !== !0 && x(G) < x(j(!1)), ne = R !== !1 && x(G) > x(j(!0));
877
- return z || ne;
876
+ var B = R !== !0 && x(G) < x(j(!1)), ne = R !== !1 && x(G) > x(j(!0));
877
+ return B || ne;
878
878
  }
879
879
  return {
880
880
  mount: H,
881
- move: B,
881
+ move: z,
882
882
  jump: I,
883
883
  translate: v,
884
884
  shift: g,
@@ -892,12 +892,12 @@ function jd(e, t, n) {
892
892
  };
893
893
  }
894
894
  function Gd(e, t, n) {
895
- var i = Qt(e), o = i.on, r = i.emit, a = t.Move, c = a.getPosition, s = a.getLimit, d = a.toPosition, p = t.Slides, y = p.isEnough, b = p.getLength, w = n.omitEnd, f = e.is(Ji), x = e.is(_i), $ = Kt(X, !1), T = Kt(X, !0), E = n.start || 0, P, H = E, M, B, I;
895
+ var i = Qt(e), o = i.on, r = i.emit, a = t.Move, c = a.getPosition, s = a.getLimit, d = a.toPosition, p = t.Slides, y = p.isEnough, b = p.getLength, w = n.omitEnd, f = e.is(Ji), x = e.is(_i), $ = Kt(X, !1), T = Kt(X, !0), E = n.start || 0, P, H = E, M, z, I;
896
896
  function v() {
897
897
  K(), o([pn, on, pr], K), o(xr, g);
898
898
  }
899
899
  function K() {
900
- M = b(!0), B = n.perMove, I = n.perPage, P = F();
900
+ M = b(!0), z = n.perMove, I = n.perPage, P = F();
901
901
  var h = Ii(E, 0, w ? P : M - 1);
902
902
  h !== E && (E = h, a.reposition());
903
903
  }
@@ -907,13 +907,13 @@ function Gd(e, t, n) {
907
907
  function L(h, we, q) {
908
908
  if (!xe()) {
909
909
  var de = V(h), Le = j(de);
910
- Le > -1 && (we || Le !== E) && (z(Le), a.move(de, Le, H, q));
910
+ Le > -1 && (we || Le !== E) && (B(Le), a.move(de, Le, H, q));
911
911
  }
912
912
  }
913
913
  function A(h, we, q, de) {
914
914
  t.Scroll.scroll(h, we, q, function() {
915
915
  var Le = j(a.toIndex(c()));
916
- z(w ? ti(Le, P) : Le), de && de();
916
+ B(w ? ti(Le, P) : Le), de && de();
917
917
  });
918
918
  }
919
919
  function V(h) {
@@ -926,13 +926,13 @@ function Gd(e, t, n) {
926
926
  return we;
927
927
  }
928
928
  function X(h, we) {
929
- var q = B || (W() ? 1 : I), de = se(E + q * (h ? -1 : 1), E, !(B || W()));
929
+ var q = z || (W() ? 1 : I), de = se(E + q * (h ? -1 : 1), E, !(z || W()));
930
930
  return de === -1 && x && !xs(c(), s(!h), 1) ? h ? 0 : P : we ? de : j(de);
931
931
  }
932
932
  function se(h, we, q) {
933
933
  if (y() || W()) {
934
934
  var de = Z(h);
935
- de !== h && (we = h, h = de, q = !1), h < 0 || h > P ? !B && (nr(0, h, we, !0) || nr(P, we, h, !0)) ? h = S(R(h)) : f ? h = q ? h < 0 ? -(M % I || I) : M : h : n.rewind ? h = h < 0 ? P : 0 : h = -1 : q && h !== we && (h = S(R(we) + (h < we ? -1 : 1)));
935
+ de !== h && (we = h, h = de, q = !1), h < 0 || h > P ? !z && (nr(0, h, we, !0) || nr(P, we, h, !0)) ? h = S(R(h)) : f ? h = q ? h < 0 ? -(M % I || I) : M : h : n.rewind ? h = h < 0 ? P : 0 : h = -1 : q && h !== we && (h = S(R(we) + (h < we ? -1 : 1)));
936
936
  } else
937
937
  h = -1;
938
938
  return h;
@@ -947,7 +947,7 @@ function Gd(e, t, n) {
947
947
  return f ? (h + M) % M || 0 : h;
948
948
  }
949
949
  function F() {
950
- for (var h = M - (W() || f && B ? 1 : I); w && h-- > 0; )
950
+ for (var h = M - (W() || f && z ? 1 : I); w && h-- > 0; )
951
951
  if (d(M - 1, !0) !== d(h, !0)) {
952
952
  h++;
953
953
  break;
@@ -964,7 +964,7 @@ function Gd(e, t, n) {
964
964
  var we = a.toIndex(h);
965
965
  return x ? Ii(we, 0, P) : we;
966
966
  }
967
- function z(h) {
967
+ function B(h) {
968
968
  h !== E && (H = E, E = h);
969
969
  }
970
970
  function ne(h) {
@@ -984,7 +984,7 @@ function Gd(e, t, n) {
984
984
  getPrev: T,
985
985
  getAdjacent: X,
986
986
  getEnd: F,
987
- setIndex: z,
987
+ setIndex: B,
988
988
  getIndex: ne,
989
989
  toIndex: S,
990
990
  toPage: R,
@@ -1000,7 +1000,7 @@ function Ud(e, t, n) {
1000
1000
  M(), o(pn, H);
1001
1001
  }
1002
1002
  function H() {
1003
- B(), P();
1003
+ z(), P();
1004
1004
  }
1005
1005
  function M() {
1006
1006
  var A = n.arrows;
@@ -1009,7 +1009,7 @@ function Ud(e, t, n) {
1009
1009
  next: x
1010
1010
  }), fo(w, A ? "" : "none"), kn(w, T = Na + "--" + n.direction), A && (I(), L(), gt([f, x], Po, b.id), a(Es, f, x)));
1011
1011
  }
1012
- function B() {
1012
+ function z() {
1013
1013
  i.destroy(), On(w, T), $ ? (xi(y ? [f, x] : w), f = x = null) : Wn([f, x], Ha);
1014
1014
  }
1015
1015
  function I() {
@@ -1034,7 +1034,7 @@ function Ud(e, t, n) {
1034
1034
  return {
1035
1035
  arrows: E,
1036
1036
  mount: P,
1037
- destroy: B,
1037
+ destroy: z,
1038
1038
  update: L
1039
1039
  };
1040
1040
  }
@@ -1042,7 +1042,7 @@ var Xd = Ia + "-interval";
1042
1042
  function Yd(e, t, n) {
1043
1043
  var i = Qt(e), o = i.on, r = i.bind, a = i.emit, c = Sr(n.interval, e.go.bind(e, ">"), I), s = c.isPaused, d = t.Elements, p = t.Elements, y = p.root, b = p.toggle, w = n.autoplay, f, x, $ = w === "pause";
1044
1044
  function T() {
1045
- w && (E(), b && gt(b, Po, d.track.id), $ || P(), B());
1045
+ w && (E(), b && gt(b, Po, d.track.id), $ || P(), z());
1046
1046
  }
1047
1047
  function E() {
1048
1048
  n.pauseOnHover && r(y, "mouseenter mouseleave", function(K) {
@@ -1054,15 +1054,15 @@ function Yd(e, t, n) {
1054
1054
  }), o([jn, wr, on], c.rewind), o(jn, v);
1055
1055
  }
1056
1056
  function P() {
1057
- s() && t.Slides.isEnough() && (c.start(!n.resetProgress), x = f = $ = !1, B(), a(Aa));
1057
+ s() && t.Slides.isEnough() && (c.start(!n.resetProgress), x = f = $ = !1, z(), a(Aa));
1058
1058
  }
1059
1059
  function H(K) {
1060
- K === void 0 && (K = !0), $ = !!K, B(), s() || (c.pause(), a(ka));
1060
+ K === void 0 && (K = !0), $ = !!K, z(), s() || (c.pause(), a(ka));
1061
1061
  }
1062
1062
  function M() {
1063
1063
  $ || (f || x ? H(!1) : P());
1064
1064
  }
1065
- function B() {
1065
+ function z() {
1066
1066
  b && (Nn(b, wi, !$), gt(b, Sn, n.i18n[$ ? "play" : "pause"]));
1067
1067
  }
1068
1068
  function I(K) {
@@ -1119,7 +1119,7 @@ function iu(e, t, n) {
1119
1119
  a(Wi), f && f(), r(Si);
1120
1120
  }
1121
1121
  function P(I, v, K, g) {
1122
- var L = s(), A = I + (v - I) * B(g), V = (A - L) * x;
1122
+ var L = s(), A = I + (v - I) * z(g), V = (A - L) * x;
1123
1123
  y(L + V), b && !K && p() && (x *= eu, gn(V) < Zd && T(d(p(!0)), Qd, !1, f, !0));
1124
1124
  }
1125
1125
  function H() {
@@ -1128,7 +1128,7 @@ function iu(e, t, n) {
1128
1128
  function M() {
1129
1129
  w && !w.isPaused() && (H(), E());
1130
1130
  }
1131
- function B(I) {
1131
+ function z(I) {
1132
1132
  var v = n.easingFunc;
1133
1133
  return v ? v(I) : 1 - Math.pow(1 - I, 4);
1134
1134
  }
@@ -1144,7 +1144,7 @@ var Ri = {
1144
1144
  capture: !0
1145
1145
  };
1146
1146
  function ou(e, t, n) {
1147
- var i = Qt(e), o = i.on, r = i.emit, a = i.bind, c = i.unbind, s = e.state, d = t.Move, p = t.Scroll, y = t.Controller, b = t.Elements.track, w = t.Media.reduce, f = t.Direction, x = f.resolve, $ = f.orient, T = d.getPosition, E = d.exceededLimit, P, H, M, B, I, v = !1, K, g, L;
1147
+ var i = Qt(e), o = i.on, r = i.emit, a = i.bind, c = i.unbind, s = e.state, d = t.Move, p = t.Scroll, y = t.Controller, b = t.Elements.track, w = t.Media.reduce, f = t.Direction, x = f.resolve, $ = f.orient, T = d.getPosition, E = d.exceededLimit, P, H, M, z, I, v = !1, K, g, L;
1148
1148
  function A() {
1149
1149
  a(b, Dr, sa, Ri), a(b, Vr, sa, Ri), a(b, Us, X, Ri), a(b, "click", j, {
1150
1150
  capture: !0
@@ -1152,7 +1152,7 @@ function ou(e, t, n) {
1152
1152
  }
1153
1153
  function V() {
1154
1154
  var U = n.drag;
1155
- be(!U), B = U === "free";
1155
+ be(!U), z = U === "free";
1156
1156
  }
1157
1157
  function X(U) {
1158
1158
  if (K = !1, !g) {
@@ -1178,8 +1178,8 @@ function ou(e, t, n) {
1178
1178
  M = H, H = U, P = T();
1179
1179
  }
1180
1180
  function S(U) {
1181
- var $e = z(U), Se = ne($e), ge = n.rewind && n.rewindByDrag;
1182
- w(!1), B ? y.scroll(Se, 0, n.snap) : e.is(Ao) ? y.go($(da($e)) < 0 ? ge ? "<" : "-" : ge ? ">" : "+") : e.is(_i) && v && ge ? y.go(E(!0) ? ">" : "<") : y.go(y.toDest(Se), !0), w(!0);
1181
+ var $e = B(U), Se = ne($e), ge = n.rewind && n.rewindByDrag;
1182
+ w(!1), z ? y.scroll(Se, 0, n.snap) : e.is(Ao) ? y.go($(da($e)) < 0 ? ge ? "<" : "-" : ge ? ">" : "+") : e.is(_i) && v && ge ? y.go(E(!0) ? ">" : "<") : y.go(y.toDest(Se), !0), w(!0);
1183
1183
  }
1184
1184
  function R(U) {
1185
1185
  var $e = n.dragMinThreshold, Se = po($e), ge = Se && $e.mouse || 0, ce = (Se ? $e.touch : +$e) || 10;
@@ -1188,7 +1188,7 @@ function ou(e, t, n) {
1188
1188
  function G(U) {
1189
1189
  return gn(W(U)) > gn(W(U, !0));
1190
1190
  }
1191
- function z(U) {
1191
+ function B(U) {
1192
1192
  if (e.is(Ji) || !v) {
1193
1193
  var $e = xe(U);
1194
1194
  if ($e && $e < ml)
@@ -1197,7 +1197,7 @@ function ou(e, t, n) {
1197
1197
  return 0;
1198
1198
  }
1199
1199
  function ne(U) {
1200
- return T() + da(U) * ti(gn(U) * (n.flickPower || 600), B ? 1 / 0 : t.Layout.listSize() * (n.flickMaxPages || 1));
1200
+ return T() + da(U) * ti(gn(U) * (n.flickPower || 600), z ? 1 / 0 : t.Layout.listSize() * (n.flickMaxPages || 1));
1201
1201
  }
1202
1202
  function W(U, $e) {
1203
1203
  return we(U, $e) - we(h(U), $e);
@@ -1291,7 +1291,7 @@ function su(e, t, n) {
1291
1291
  La(E.slide, lu).forEach(function(P) {
1292
1292
  var H = Rn(P, lo), M = Rn(P, ir);
1293
1293
  if (H !== P.src || M !== P.srcset) {
1294
- var B = n.classes.spinner, I = P.parentElement, v = Eo(I, "." + B) || Pi("span", B, I);
1294
+ var z = n.classes.spinner, I = P.parentElement, v = Eo(I, "." + z) || Pi("span", z, I);
1295
1295
  p.push([P, E, v]), P.src || fo(P, "none");
1296
1296
  }
1297
1297
  });
@@ -1335,7 +1335,7 @@ function cu(e, t, n) {
1335
1335
  }
1336
1336
  function H() {
1337
1337
  var g = e.length, L = n.classes, A = n.i18n, V = n.perPage, X = p() ? d.getEnd() + 1 : yo(g / V);
1338
- $ = f || Pi("ul", L.pagination, s.track.parentElement), kn($, T = Er + "--" + I()), gt($, zn, "tablist"), gt($, Sn, A.select), gt($, _a, I() === Lr ? "vertical" : "");
1338
+ $ = f || Pi("ul", L.pagination, s.track.parentElement), kn($, T = Er + "--" + I()), gt($, Bn, "tablist"), gt($, Sn, A.select), gt($, _a, I() === Lr ? "vertical" : "");
1339
1339
  for (var se = 0; se < X; se++) {
1340
1340
  var Z = Pi("li", null, $), j = Pi("button", {
1341
1341
  class: L.page,
@@ -1343,7 +1343,7 @@ function cu(e, t, n) {
1343
1343
  }, Z), F = c.getIn(se).map(function(R) {
1344
1344
  return R.slide.id;
1345
1345
  }), S = !p() && V > 1 ? A.pageX : A.slideX;
1346
- a(j, "click", Kt(M, se)), n.paginationKeyboard && a(j, "keydown", Kt(B, se)), gt(Z, zn, "presentation"), gt(j, zn, "tab"), gt(j, Po, F.join(" ")), gt(j, Sn, ua(S, se + 1)), gt(j, Ai, -1), x.push({
1346
+ a(j, "click", Kt(M, se)), n.paginationKeyboard && a(j, "keydown", Kt(z, se)), gt(Z, Bn, "presentation"), gt(j, Bn, "tab"), gt(j, Po, F.join(" ")), gt(j, Sn, ua(S, se + 1)), gt(j, Ai, -1), x.push({
1347
1347
  li: Z,
1348
1348
  button: j,
1349
1349
  page: se
@@ -1353,7 +1353,7 @@ function cu(e, t, n) {
1353
1353
  function M(g) {
1354
1354
  b(">" + g, !0);
1355
1355
  }
1356
- function B(g, L) {
1356
+ function z(g, L) {
1357
1357
  var A = x.length, V = Oa(L), X = I(), se = -1;
1358
1358
  V === w(Tr, !1, X) ? se = ++g % A : V === w(Cr, !1, X) ? se = (--g + A) % A : V === "Home" ? se = 0 : V === "End" && (se = A - 1);
1359
1359
  var Z = x[se];
@@ -1476,8 +1476,8 @@ var hu = /* @__PURE__ */ Object.freeze({
1476
1476
  Media: $d,
1477
1477
  Direction: Cd,
1478
1478
  Elements: Nd,
1479
- Slides: zd,
1480
- Layout: Bd,
1479
+ Slides: Bd,
1480
+ Layout: zd,
1481
1481
  Clones: Vd,
1482
1482
  Move: jd,
1483
1483
  Controller: Gd,
@@ -1657,9 +1657,9 @@ var xu = /* @__PURE__ */ (function() {
1657
1657
  return this._C.Controller.getIndex();
1658
1658
  }
1659
1659
  }]), e;
1660
- })(), za = xu;
1661
- za.defaults = {};
1662
- za.STATES = vd;
1660
+ })(), Ba = xu;
1661
+ Ba.defaults = {};
1662
+ Ba.STATES = vd;
1663
1663
  var hl = [
1664
1664
  [ri, "onMounted"],
1665
1665
  [pa, "onReady"],
@@ -1690,7 +1690,7 @@ var hl = [
1690
1690
  [ka, "onAutoplayPause"],
1691
1691
  [Wa, "onLazyLoadLoaded"]
1692
1692
  ];
1693
- function Ba(...e) {
1693
+ function za(...e) {
1694
1694
  return e.filter(Boolean).join(" ");
1695
1695
  }
1696
1696
  function mr(e) {
@@ -1726,7 +1726,7 @@ function fa(e, t) {
1726
1726
  }), n;
1727
1727
  }
1728
1728
  var $u = ({ children: e, className: t, ...n }) => /* @__PURE__ */ Xn.createElement("div", {
1729
- className: Ba("splide__track", t),
1729
+ className: za("splide__track", t),
1730
1730
  ...n
1731
1731
  }, /* @__PURE__ */ Xn.createElement("ul", {
1732
1732
  className: "splide__list"
@@ -1736,7 +1736,7 @@ var $u = ({ children: e, className: t, ...n }) => /* @__PURE__ */ Xn.createEleme
1736
1736
  }
1737
1737
  componentDidMount() {
1738
1738
  const { options: e, extensions: t, transition: n } = this.props, { current: i } = this.splideRef;
1739
- i && (this.splide = new za(i, e), this.bind(this.splide), this.splide.mount(t, n), this.options = fa({}, e || {}), this.slides = this.getSlides());
1739
+ i && (this.splide = new Ba(i, e), this.bind(this.splide), this.splide.mount(t, n), this.options = fa({}, 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;
@@ -1781,13 +1781,13 @@ var $u = ({ children: e, className: t, ...n }) => /* @__PURE__ */ Xn.createEleme
1781
1781
  render() {
1782
1782
  const { className: e, tag: t = "div", hasTrack: n = !0, children: i, ...o } = this.props;
1783
1783
  return /* @__PURE__ */ Xn.createElement(t, {
1784
- className: Ba("splide", e),
1784
+ className: za("splide", e),
1785
1785
  ref: this.splideRef,
1786
1786
  ...this.omit(o, ["options", ...hl.map((r) => r[1])])
1787
1787
  }, n ? /* @__PURE__ */ Xn.createElement($u, null, i) : i);
1788
1788
  }
1789
1789
  }, Va = ({ children: e, className: t, ...n }) => /* @__PURE__ */ Xn.createElement("li", {
1790
- className: Ba("splide__slide", t),
1790
+ className: za("splide__slide", t),
1791
1791
  ...n
1792
1792
  }, e);
1793
1793
  /*!
@@ -1883,7 +1883,7 @@ const Ru = "SvgImage-module__svg___q3xE-", Eu = "SvgImage-module__img___VsTm-",
1883
1883
  "bottom-right": et.bottomRightAlignment
1884
1884
  };
1885
1885
  function ku({ settings: e, content: t, styles: n, isEditor: i }) {
1886
- const [o, r] = te(null), { widthSettings: a, fontSettings: c, letterSpacing: s, textAlign: d, wordSpacing: p, fontSizeLineHeight: y, textAppearance: b, color: w } = n.imageCaption ?? {}, [f, x] = te(void 0), [$, T] = te(null), [E, P] = te(0), [H, M] = te(0), { direction: B, transition: I, controls: v, pagination: K, imageCaption: g, triggers: L } = e, A = ee(I.type), { x: V, y: X } = e.controls.offset, se = (Z) => {
1886
+ const [o, r] = te(null), { widthSettings: a, fontSettings: c, letterSpacing: s, textAlign: d, wordSpacing: p, fontSizeLineHeight: y, textAppearance: b, color: w } = n.imageCaption ?? {}, [f, x] = te(void 0), [$, T] = te(null), [E, P] = te(0), [H, M] = te(0), { direction: z, transition: I, controls: v, pagination: K, imageCaption: g, triggers: L } = e, A = ee(I.type), { x: V, y: X } = e.controls.offset, se = (Z) => {
1887
1887
  o && o.go(Z);
1888
1888
  };
1889
1889
  return We(() => {
@@ -1976,7 +1976,7 @@ function ku({ settings: e, content: t, styles: n, isEditor: i }) {
1976
1976
  ...L.autoPlay !== null && {
1977
1977
  interval: parseInt(L.autoPlay) * 1e3
1978
1978
  },
1979
- direction: B === "horiz" || I.type === "fade in" ? "ltr" : "ttb",
1979
+ direction: z === "horiz" || I.type === "fade in" ? "ltr" : "ttb",
1980
1980
  pagination: !1,
1981
1981
  drag: L.triggersList.drag,
1982
1982
  perPage: 1,
@@ -2016,7 +2016,7 @@ function ku({ settings: e, content: t, styles: n, isEditor: i }) {
2016
2016
  "div",
2017
2017
  {
2018
2018
  className: vt(et.arrow, {
2019
- [et.arrowVertical]: B === "vert",
2019
+ [et.arrowVertical]: z === "vert",
2020
2020
  [et.hoverArrow]: v.show === "on hover"
2021
2021
  }),
2022
2022
  style: {
@@ -2031,7 +2031,7 @@ function ku({ settings: e, content: t, styles: n, isEditor: i }) {
2031
2031
  },
2032
2032
  className: et.arrowInner,
2033
2033
  style: {
2034
- transform: `translate(${D(V, i)}, ${D(X * (B === "horiz" ? 1 : -1), i)}) scale(${e.controls.scale / 100}) rotate(${B === "horiz" ? "0deg" : "90deg"})`
2034
+ transform: `translate(${D(V, i)}, ${D(X * (z === "horiz" ? 1 : -1), i)}) scale(${e.controls.scale / 100}) rotate(${z === "horiz" ? "0deg" : "90deg"})`
2035
2035
  },
2036
2036
  children: [
2037
2037
  v.arrowsImgUrl && /* @__PURE__ */ l(
@@ -2053,7 +2053,7 @@ function ku({ settings: e, content: t, styles: n, isEditor: i }) {
2053
2053
  "div",
2054
2054
  {
2055
2055
  className: vt(et.arrow, et.nextArrow, {
2056
- [et.arrowVertical]: B === "vert",
2056
+ [et.arrowVertical]: z === "vert",
2057
2057
  [et.hoverArrow]: v.show === "on hover"
2058
2058
  }),
2059
2059
  style: {
@@ -2066,7 +2066,7 @@ function ku({ settings: e, content: t, styles: n, isEditor: i }) {
2066
2066
  className: et.arrowInner,
2067
2067
  onClick: () => se("+1"),
2068
2068
  style: {
2069
- transform: `translate(${D(V * (B === "horiz" ? -1 : 1), i)}, ${D(X, i)}) scale(${e.controls.scale / 100}) rotate(${B === "horiz" ? "0deg" : "90deg"})`
2069
+ transform: `translate(${D(V * (z === "horiz" ? -1 : 1), i)}, ${D(X, i)}) scale(${e.controls.scale / 100}) rotate(${z === "horiz" ? "0deg" : "90deg"})`
2070
2070
  },
2071
2071
  children: [
2072
2072
  v.arrowsImgUrl && /* @__PURE__ */ l(
@@ -2098,15 +2098,15 @@ function ku({ settings: e, content: t, styles: n, isEditor: i }) {
2098
2098
  "div",
2099
2099
  {
2100
2100
  className: vt(et.pagination, {
2101
- [et.paginationInsideBottom]: K.position === "inside-1" && B === "horiz",
2102
- [et.paginationInsideTop]: K.position === "inside-2" && B === "horiz",
2103
- [et.paginationOutsideBottom]: K.position === "outside-1" && B === "horiz",
2104
- [et.paginationOutsideTop]: K.position === "outside-2" && B === "horiz",
2105
- [et.paginationInsideLeft]: K.position === "inside-1" && B === "vert",
2106
- [et.paginationInsideRight]: K.position === "inside-2" && B === "vert",
2107
- [et.paginationOutsideLeft]: K.position === "outside-1" && B === "vert",
2108
- [et.paginationOutsideRight]: K.position === "outside-2" && B === "vert",
2109
- [et.paginationVertical]: B === "vert"
2101
+ [et.paginationInsideBottom]: K.position === "inside-1" && z === "horiz",
2102
+ [et.paginationInsideTop]: K.position === "inside-2" && z === "horiz",
2103
+ [et.paginationOutsideBottom]: K.position === "outside-1" && z === "horiz",
2104
+ [et.paginationOutsideTop]: K.position === "outside-2" && z === "horiz",
2105
+ [et.paginationInsideLeft]: K.position === "inside-1" && z === "vert",
2106
+ [et.paginationInsideRight]: K.position === "inside-2" && z === "vert",
2107
+ [et.paginationOutsideLeft]: K.position === "outside-1" && z === "vert",
2108
+ [et.paginationOutsideRight]: K.position === "outside-2" && z === "vert",
2109
+ [et.paginationVertical]: z === "vert"
2110
2110
  }),
2111
2111
  children: /* @__PURE__ */ l(
2112
2112
  "div",
@@ -2114,7 +2114,7 @@ function ku({ settings: e, content: t, styles: n, isEditor: i }) {
2114
2114
  className: et.paginationInner,
2115
2115
  style: {
2116
2116
  backgroundColor: K.colors[2],
2117
- transform: `scale(${K.scale / 100}) translate(${D(K.offset.x, i)}, ${D(K.offset.y, i)}) rotate(${B === "horiz" ? "0deg" : "90deg"})`
2117
+ transform: `scale(${K.scale / 100}) translate(${D(K.offset.x, i)}, ${D(K.offset.y, i)}) rotate(${z === "horiz" ? "0deg" : "90deg"})`
2118
2118
  },
2119
2119
  children: t.map((Z, j) => /* @__PURE__ */ l(
2120
2120
  "button",
@@ -2802,17 +2802,17 @@ async function Ou(e, t, n, i) {
2802
2802
  }
2803
2803
  return { width: o, height: r, finalWidth: `${o}px` };
2804
2804
  }
2805
- function zu({ settings: e, content: t, isEditor: n }) {
2806
- const [i, o] = te(null), [r, a] = te([]), [c, s] = te(0), d = ee(0), [p, y] = te({ x: 0, y: 0 }), [b, w] = te(1), [f, x] = te("none"), $ = ee({ x: 0, y: 0 }), [T, E] = te(!1), { sizeType: P, imageWidth: H, randomRangeImageWidth: M } = e.imageSize, { revealPosition: B, visible: I } = e.position, { cursorType: v, target: K, defaultCursorScale: g, defaultCursor: L, hoverCursorScale: A, hoverCursor: V } = e.cursor;
2805
+ function Bu({ settings: e, content: t, isEditor: n }) {
2806
+ const [i, o] = te(null), [r, a] = te([]), [c, s] = te(0), d = ee(0), [p, y] = te({ x: 0, y: 0 }), [b, w] = te(1), [f, x] = te("none"), $ = ee({ x: 0, y: 0 }), [T, E] = te(!1), { sizeType: P, imageWidth: H, randomRangeImageWidth: M } = e.imageSize, { revealPosition: z, visible: I } = e.position, { cursorType: v, target: K, defaultCursorScale: g, defaultCursor: L, hoverCursorScale: A, hoverCursor: V } = e.cursor;
2807
2807
  We(() => {
2808
2808
  if (!i) return;
2809
2809
  const Z = (S, R) => {
2810
- const G = i.getBoundingClientRect(), z = S - G.left, ne = R - G.top;
2811
- if (y({ x: z, y: ne }), v === "system") {
2810
+ const G = i.getBoundingClientRect(), B = S - G.left, ne = R - G.top;
2811
+ if (y({ x: B, y: ne }), v === "system") {
2812
2812
  x("none"), w(1);
2813
2813
  return;
2814
2814
  }
2815
- const W = z, xe = ne, h = document.elementFromPoint(G.left + W, G.top + xe);
2815
+ const W = B, xe = ne, h = document.elementFromPoint(G.left + W, G.top + xe);
2816
2816
  if (h && h.closest("a")) {
2817
2817
  x("none"), w(1);
2818
2818
  return;
@@ -2842,14 +2842,14 @@ function zu({ settings: e, content: t, isEditor: n }) {
2842
2842
  T || (x("none"), w(0));
2843
2843
  }, [T]);
2844
2844
  const X = async (Z, j, F, S = {}) => {
2845
- const { width: R, height: G, finalWidth: z } = await Ou(
2845
+ const { width: R, height: G, finalWidth: B } = await Ou(
2846
2846
  Z.image.url,
2847
2847
  P,
2848
2848
  H,
2849
2849
  M
2850
2850
  );
2851
2851
  let ne = 0, W = 0;
2852
- B === "same" ? (ne = j / 2, W = F / 2) : (ne = S.x ?? Math.random() * j, W = S.y ?? Math.random() * F);
2852
+ z === "same" ? (ne = j / 2, W = F / 2) : (ne = S.x ?? Math.random() * j, W = S.y ?? Math.random() * F);
2853
2853
  const xe = Math.min(Math.max(ne, R / 2), j - R / 2), h = Math.min(Math.max(W, G / 2), F - G / 2);
2854
2854
  return {
2855
2855
  id: d.current++,
@@ -2858,17 +2858,17 @@ function zu({ settings: e, content: t, isEditor: n }) {
2858
2858
  name: Z.image.name,
2859
2859
  x: xe,
2860
2860
  y: h,
2861
- width: z
2861
+ width: B
2862
2862
  };
2863
2863
  };
2864
2864
  return We(() => {
2865
2865
  if (!i || t.length === 0) return;
2866
2866
  const Z = i.getBoundingClientRect(), j = Z.width, F = Z.height, S = [];
2867
2867
  (async () => {
2868
- const G = t[0], z = await X(G, j, F);
2869
- S.push(z), a(S), s(1);
2868
+ const G = t[0], B = await X(G, j, F);
2869
+ S.push(B), a(S), s(1);
2870
2870
  })();
2871
- }, [P, H, M, B, i]), We(() => {
2871
+ }, [P, H, M, z, i]), We(() => {
2872
2872
  I === "last One" && a((Z) => Z.length > 0 ? [Z[Z.length - 1]] : []);
2873
2873
  }, [I]), /* @__PURE__ */ J(
2874
2874
  "div",
@@ -2879,8 +2879,8 @@ function zu({ settings: e, content: t, isEditor: n }) {
2879
2879
  const j = i.getBoundingClientRect(), F = Z.clientX - j.left, S = Z.clientY - j.top;
2880
2880
  if (K === "image" && !vl(F, S, r)) return;
2881
2881
  let R = 0, G = 0;
2882
- B === "on Click" ? (R = F, G = S) : B === "same" ? (R = j.width / 2, G = j.height / 2) : (R = Math.random() * j.width, G = Math.random() * j.height);
2883
- const z = t[c], ne = await X(z, j.width, j.height, { x: R, y: G });
2882
+ z === "on Click" ? (R = F, G = S) : z === "same" ? (R = j.width / 2, G = j.height / 2) : (R = Math.random() * j.width, G = Math.random() * j.height);
2883
+ const B = t[c], ne = await X(B, j.width, j.height, { x: R, y: G });
2884
2884
  a((W) => I === "all" ? [...W, ne] : [ne]), s((W) => W >= t.length - 1 ? 0 : W + 1);
2885
2885
  },
2886
2886
  onMouseEnter: () => E(!0),
@@ -2941,8 +2941,8 @@ function zu({ settings: e, content: t, isEditor: n }) {
2941
2941
  }
2942
2942
  );
2943
2943
  }
2944
- const Bu = {
2945
- element: zu,
2944
+ const zu = {
2945
+ element: Bu,
2946
2946
  id: "control-image-reveal",
2947
2947
  name: "Click Gallery",
2948
2948
  preview: {
@@ -3448,7 +3448,7 @@ const Ip = ({ settings: e, content: t, styles: n, portalId: i, activeEvent: o, i
3448
3448
  ] });
3449
3449
  }, Rp = ({ isOpen: e, onClose: t, content: n, lightboxStyles: i, settings: o, portalId: r, isEditor: a, metadata: c }) => {
3450
3450
  var Te;
3451
- const { widthSettings: s, fontSettings: d, letterSpacing: p, textAlign: y, wordSpacing: b, fontSizeLineHeight: w, textAppearance: f, color: x } = i.imageCaption ?? {}, [$, T] = te(0), [E, P] = te(0), [H, M] = te(!1), [B, I] = te(!1), [v, K] = te({}), g = ee(null), L = ee(null), A = ee(null), V = ee(!1), X = ee(null), se = ee(null), Z = ee(null), j = ee(null), F = ee(!1), S = ee(null), [R, G] = te(!1), { appear: z, triggers: ne, slider: W, thumbnail: xe, controls: h, area: we, caption: q, layout: de } = o.lightboxBlock, { appearClass: Le, backdropAppearClass: ae, backdropDisappearClass: be, disappearClass: U } = Lp(z.type, z.direction), $e = (c == null ? void 0 : c.itemId) ?? null;
3451
+ const { widthSettings: s, fontSettings: d, letterSpacing: p, textAlign: y, wordSpacing: b, fontSizeLineHeight: w, textAppearance: f, color: x } = i.imageCaption ?? {}, [$, T] = te(0), [E, P] = te(0), [H, M] = te(!1), [z, I] = te(!1), [v, K] = te({}), g = ee(null), L = ee(null), A = ee(null), V = ee(!1), X = ee(null), se = ee(null), Z = ee(null), j = ee(null), F = ee(!1), S = ee(null), [R, G] = te(!1), { appear: B, triggers: ne, slider: W, thumbnail: xe, controls: h, area: we, caption: q, layout: de } = o.lightboxBlock, { appearClass: Le, backdropAppearClass: ae, backdropDisappearClass: be, disappearClass: U } = Lp(B.type, B.direction), $e = (c == null ? void 0 : c.itemId) ?? null;
3452
3452
  We(() => {
3453
3453
  const O = () => {
3454
3454
  setTimeout(() => {
@@ -3652,7 +3652,7 @@ const Ip = ({ settings: e, content: t, styles: n, portalId: i, activeEvent: o, i
3652
3652
  const Ce = {
3653
3653
  backgroundColor: we.color,
3654
3654
  backdropFilter: `blur(${we.blur}px)`,
3655
- animationDuration: `${parseInt(z.duration)}ms`,
3655
+ animationDuration: `${parseInt(B.duration)}ms`,
3656
3656
  animationTimingFunction: "ease",
3657
3657
  animationFillMode: "both"
3658
3658
  };
@@ -3665,7 +3665,7 @@ const Ip = ({ settings: e, content: t, styles: n, portalId: i, activeEvent: o, i
3665
3665
  className: vt(Ne.background, H ? be : ae, { [Ne.editor]: a }, { [Ne.hidden]: !e }),
3666
3666
  style: {
3667
3667
  ...Ce,
3668
- ...B && !a && !H ? { position: "absolute" } : {}
3668
+ ...z && !a && !H ? { position: "absolute" } : {}
3669
3669
  }
3670
3670
  }
3671
3671
  ),
@@ -3675,7 +3675,7 @@ const Ip = ({ settings: e, content: t, styles: n, portalId: i, activeEvent: o, i
3675
3675
  ref: a ? X : null,
3676
3676
  className: vt(Ne.contentStyle, H ? U : Le, { [Ne.editor]: a }, { [Ne.hidden]: !e }),
3677
3677
  style: {
3678
- animationDuration: `${parseInt(z.duration)}ms`,
3678
+ animationDuration: `${parseInt(B.duration)}ms`,
3679
3679
  animationTimingFunction: "ease",
3680
3680
  animationFillMode: "both"
3681
3681
  },
@@ -5040,7 +5040,7 @@ const Ep = {
5040
5040
  required: ["settings", "content", "styles"]
5041
5041
  }
5042
5042
  };
5043
- function zo(e) {
5043
+ function Bo(e) {
5044
5044
  return `calc(var(--cntrl-article-width, 100vw) * ${e / 1440})`;
5045
5045
  }
5046
5046
  function Mp(e) {
@@ -5049,7 +5049,7 @@ function Mp(e) {
5049
5049
  display: flex;
5050
5050
  flex-direction: column;
5051
5051
  width: 100%;
5052
- min-height: ${zo(48)};
5052
+ min-height: ${Bo(48)};
5053
5053
  }
5054
5054
  .${e}-wrapper.${e}-type-C .${e}-input:focus-visible,
5055
5055
  .${e}-wrapper.${e}-type-C .${e}-button:focus-visible {
@@ -5073,7 +5073,7 @@ function Mp(e) {
5073
5073
  min-width: 0;
5074
5074
  }
5075
5075
  .${e}-field-group.${e}-labeled {
5076
- gap: ${zo(4)};
5076
+ gap: ${Bo(4)};
5077
5077
  }
5078
5078
  .${e}-field-label {
5079
5079
  white-space: nowrap;
@@ -5169,11 +5169,11 @@ function Mp(e) {
5169
5169
  outline: none;
5170
5170
  }
5171
5171
  .${e}-success {
5172
- margin-top: ${zo(8)};
5172
+ margin-top: ${Bo(8)};
5173
5173
  color: var(--${e}-success-success-color, var(--${e}-success-color));
5174
5174
  }
5175
5175
  .${e}-error {
5176
- margin-top: ${zo(8)};
5176
+ margin-top: ${Bo(8)};
5177
5177
  color: var(--${e}-error-error-color, var(--${e}-error-color));
5178
5178
  }
5179
5179
  .${e}-overlay-anchor {
@@ -5213,7 +5213,7 @@ function Pp({ settings: e, isEditor: t, isEditMode: n, isPreviewMode: i, metadat
5213
5213
  inputCorners: P,
5214
5214
  inputStroke: H,
5215
5215
  inputPadding: M,
5216
- inputColor: B,
5216
+ inputColor: z,
5217
5217
  inputTextColor: I,
5218
5218
  inputBorderColor: v,
5219
5219
  placeholderColor: K,
@@ -5229,7 +5229,7 @@ function Pp({ settings: e, isEditor: t, isEditMode: n, isPreviewMode: i, metadat
5229
5229
  inputLineHeight: S,
5230
5230
  inputLetterSpacing: R,
5231
5231
  inputWordSpacing: G,
5232
- inputTextAppearance: z,
5232
+ inputTextAppearance: B,
5233
5233
  buttonFontSettings: ne,
5234
5234
  buttonFontSize: W,
5235
5235
  buttonLineHeight: xe,
@@ -5261,7 +5261,7 @@ function Pp({ settings: e, isEditor: t, isEditMode: n, isPreviewMode: i, metadat
5261
5261
  lineHeight: S,
5262
5262
  letterSpacing: R ?? 0,
5263
5263
  wordSpacing: G ?? 0,
5264
- textAppearance: z,
5264
+ textAppearance: B,
5265
5265
  color: I
5266
5266
  }, me = $n(ln(oe, t)), he = D(H ?? 0, t), ve = D(
5267
5267
  (S ?? F ?? 0.01) + ((M == null ? void 0 : M.top) ?? 0) + ((M == null ? void 0 : M.bottom) ?? 0) + (d === "C" ? H ?? 0 : (H ?? 0) * 2),
@@ -5319,7 +5319,7 @@ function Pp({ settings: e, isEditor: t, isEditMode: n, isPreviewMode: i, metadat
5319
5319
  textAppearance: Ce,
5320
5320
  color: X
5321
5321
  }, Oe = $n(ln(je, t)), rt = Co(s, {
5322
- inputColor: B,
5322
+ inputColor: z,
5323
5323
  inputTextColor: I,
5324
5324
  inputBorderColor: v,
5325
5325
  placeholderColor: K != null && K.trim() ? K : "#cccccc",
@@ -5331,7 +5331,7 @@ function Pp({ settings: e, isEditor: t, isEditMode: n, isPreviewMode: i, metadat
5331
5331
  errorColor: se
5332
5332
  }, Ap, kp, le), [tt, pt] = te(
5333
5333
  () => Object.fromEntries(ie.map((Ye) => [Ye.name, ""]))
5334
- ), [bt, Ue] = te("idle"), [ct, Et] = te(null), dt = r === "success" ? "success" : r === "error" ? "error" : bt, Qe = r === "error" ? O : ct, wt = r === "filled", Tt = Be(() => {
5334
+ ), [bt, Ue] = te("idle"), [ct, Et] = te(null), dt = r === "success" ? "success" : r === "error" ? "error" : bt, Qe = r === "error" ? O : ct, wt = r === "filled", Tt = ze(() => {
5335
5335
  if (!wt) return tt;
5336
5336
  let Ye = null;
5337
5337
  for (const Je of ie)
@@ -6142,7 +6142,7 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
6142
6142
  { name: "message", type: "textarea", placeholder: "Enter your message", label: "Message", isRequired: !1, error: "Message is required" },
6143
6143
  { name: "message2", type: "textarea", placeholder: "Enter your message 2", label: "Message 2", isRequired: !1, error: "Message 2 is required" },
6144
6144
  { name: "message3", type: "textarea", placeholder: "Enter your message 3", label: "Message 3", isRequired: !1, error: "Message 3 is required" }
6145
- ], Bo = {
6145
+ ], zo = {
6146
6146
  fontSettings: {
6147
6147
  type: "object",
6148
6148
  display: { type: "font-settings-weight" },
@@ -6354,7 +6354,7 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
6354
6354
  display: { type: "font-family-select" }
6355
6355
  },
6356
6356
  inputFontSettings: {
6357
- ...Bo.fontSettings,
6357
+ ...zo.fontSettings,
6358
6358
  scope: "common",
6359
6359
  title: "Input",
6360
6360
  display: { type: "font-settings-weight" }
@@ -6390,7 +6390,7 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
6390
6390
  display: { type: "text-appearance" }
6391
6391
  },
6392
6392
  buttonFontSettings: {
6393
- ...Bo.fontSettings,
6393
+ ...zo.fontSettings,
6394
6394
  scope: "common",
6395
6395
  title: "Button",
6396
6396
  display: { type: "font-settings-weight" }
@@ -6426,7 +6426,7 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
6426
6426
  display: { type: "text-appearance" }
6427
6427
  },
6428
6428
  labelFontSettings: {
6429
- ...Bo.fontSettings,
6429
+ ...zo.fontSettings,
6430
6430
  scope: "common",
6431
6431
  title: "Label",
6432
6432
  display: { type: "font-settings-weight", visible: !1 }
@@ -6462,7 +6462,7 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
6462
6462
  display: { type: "text-appearance", visible: !1 }
6463
6463
  },
6464
6464
  statusFontSettings: {
6465
- ...Bo.fontSettings,
6465
+ ...zo.fontSettings,
6466
6466
  scope: "common",
6467
6467
  title: "Success/Error"
6468
6468
  },
@@ -7000,7 +7000,7 @@ function Op(e) {
7000
7000
  }
7001
7001
  `;
7002
7002
  }
7003
- const zp = ({ settings: e, isEditor: t, isPreviewMode: n, metadata: i, activeEvent: o }) => {
7003
+ const Bp = ({ settings: e, isEditor: t, isPreviewMode: n, metadata: i, activeEvent: o }) => {
7004
7004
  const { prefix: r } = hn(), a = n && t || !t, {
7005
7005
  fields: c = [{ name: "email", type: "email", placeholder: "Your email" }],
7006
7006
  buttonIcon: s,
@@ -7017,7 +7017,7 @@ const zp = ({ settings: e, isEditor: t, isPreviewMode: n, metadata: i, activeEve
7017
7017
  buttonFontSize: P,
7018
7018
  buttonLineHeight: H,
7019
7019
  buttonLetterSpacing: M,
7020
- buttonWordSpacing: B,
7020
+ buttonWordSpacing: z,
7021
7021
  buttonTextAppearance: I,
7022
7022
  statusFontSettings: v,
7023
7023
  statusFontSize: K,
@@ -7033,10 +7033,10 @@ const zp = ({ settings: e, isEditor: t, isPreviewMode: n, metadata: i, activeEve
7033
7033
  inputPadding: S,
7034
7034
  buttonPadding: R,
7035
7035
  successMessage: G = "Thanks for subscribing!",
7036
- errorMessage: z = "Please, fill all required fields."
7036
+ errorMessage: B = "Please, fill all required fields."
7037
7037
  } = e, ne = c.slice(0, Math.min(p, c.length)), [W, xe] = te(
7038
7038
  () => Object.fromEntries(ne.map((re) => [re.name, ""]))
7039
- ), [h, we] = te("idle"), [q, de] = te(null), Le = o === "success" ? "success" : o === "error" ? "error" : h, ae = o === "error" ? z : q, be = o === "filled", U = Be(() => {
7039
+ ), [h, we] = te("idle"), [q, de] = te(null), Le = o === "success" ? "success" : o === "error" ? "error" : h, ae = o === "error" ? B : q, be = o === "filled", U = ze(() => {
7040
7040
  if (!be) return W;
7041
7041
  let re = null;
7042
7042
  for (const N of ne)
@@ -7063,7 +7063,7 @@ const zp = ({ settings: e, isEditor: t, isPreviewMode: n, metadata: i, activeEve
7063
7063
  fontSize: P ?? 0.01,
7064
7064
  lineHeight: H,
7065
7065
  letterSpacing: M ?? 0,
7066
- wordSpacing: B ?? 0,
7066
+ wordSpacing: z ?? 0,
7067
7067
  textAppearance: I,
7068
7068
  color: e.buttonTextColor ?? "#ffffff"
7069
7069
  }, oe = {
@@ -7087,7 +7087,7 @@ const zp = ({ settings: e, isEditor: t, isPreviewMode: n, metadata: i, activeEve
7087
7087
  errorColor: e.errorColor,
7088
7088
  inputTextColor: e.inputTextColor ?? (k == null ? void 0 : k.color) ?? "#111111",
7089
7089
  buttonTextColor: e.buttonTextColor ?? (ie == null ? void 0 : ie.color) ?? "#ffffff"
7090
- }, Bp, Dp, F), Q = {
7090
+ }, zp, Dp, F), Q = {
7091
7091
  borderRadius: D(Z, t),
7092
7092
  borderWidth: D(j, t),
7093
7093
  borderStyle: "solid"
@@ -7210,11 +7210,11 @@ const zp = ({ settings: e, isEditor: t, isPreviewMode: n, metadata: i, activeEve
7210
7210
  className: `${r}-error`,
7211
7211
  style: { ...ve },
7212
7212
  role: "alert",
7213
- children: $e ?? ae ?? z
7213
+ children: $e ?? ae ?? B
7214
7214
  }
7215
7215
  )
7216
7216
  ] });
7217
- }, Bp = {
7217
+ }, zp = {
7218
7218
  strokeColor: "stroke-color",
7219
7219
  inputColor: "input-color",
7220
7220
  placeholderColor: "placeholder-color",
@@ -8304,7 +8304,7 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
8304
8304
  allowedPlugins: ["newsletter"],
8305
8305
  states: ["default", "hover", "focus", "filled", "success", "error"]
8306
8306
  }, Up = {
8307
- element: zp,
8307
+ element: Bp,
8308
8308
  id: "oneliner-form",
8309
8309
  name: "Newsletter Single Line",
8310
8310
  category: "forms",
@@ -8525,7 +8525,7 @@ const Yp = 30, Jp = 20, qr = 3, Zp = 12, Qp = 32, em = 3, tm = (e) => {
8525
8525
  const L = d.current;
8526
8526
  L != null && L.complete && (s == null || s());
8527
8527
  }, [a, (v = e.image) == null ? void 0 : v.url, s]);
8528
- const p = n.display === "cover", y = n.ratioValue ?? "1:1", b = n.reversed ?? !1, [w, f] = y.split(":").map(Number), T = (b ? f : w) / (b ? w : f), E = i / T, P = E > o ? o : E, H = E > o ? o * T : i, M = c(H), B = c(P), I = ((K = e.image) == null ? void 0 : K.url) && /* @__PURE__ */ l(
8528
+ const p = n.display === "cover", y = n.ratioValue ?? "1:1", b = n.reversed ?? !1, [w, f] = y.split(":").map(Number), T = (b ? f : w) / (b ? w : f), E = i / T, P = E > o ? o : E, H = E > o ? o * T : i, M = c(H), z = c(P), I = ((K = e.image) == null ? void 0 : K.url) && /* @__PURE__ */ l(
8529
8529
  "img",
8530
8530
  {
8531
8531
  ref: d,
@@ -8568,7 +8568,7 @@ const Yp = 30, Jp = 20, qr = 3, Zp = 12, Qp = 32, em = 3, tm = (e) => {
8568
8568
  justifyContent: "center",
8569
8569
  alignItems: "center",
8570
8570
  flexShrink: 0,
8571
- ...p ? { width: M, height: B, overflow: "hidden" } : {
8571
+ ...p ? { width: M, height: z, overflow: "hidden" } : {
8572
8572
  width: "max-content",
8573
8573
  maxWidth: c(i),
8574
8574
  height: c(o)
@@ -8580,15 +8580,15 @@ const Yp = 30, Jp = 20, qr = 3, Zp = 12, Qp = 32, em = 3, tm = (e) => {
8580
8580
  }
8581
8581
  );
8582
8582
  }, sm = ({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode: o }) => {
8583
- const { prefix: r } = hn(), [a, c] = te(0), s = a > 0 ? Math.round(a) : 0, d = Be(() => Xp(r, s), [r, s]), { speed: p, direction: y, pauseOnHover: b, gap: w, imageMaxWidth: f, imageMaxHeight: x, hoverEffect: $ } = e, T = Be(() => im(e.imageFit), [e.imageFit]), E = (t == null ? void 0 : t.length) ?? 0, P = !!o, H = !n || !!i, M = H && $ !== "off" && $ !== "randomize" ? `${r}-image-hover-${$}` : void 0, B = n ? !!i : !0, v = ((t == null ? void 0 : t.length) ?? 0) > 0 && (B || !!n), K = Math.max(0, p) * Yp, g = (ge) => D(ge, n ?? !1), L = ee(null), A = ee(null), V = ee(null), [X, se] = te(0), Z = B && b === "on", [j, F] = te(!1), [S, R] = te({}), G = ee(S);
8583
+ const { prefix: r } = hn(), [a, c] = te(0), s = a > 0 ? Math.round(a) : 0, d = ze(() => Xp(r, s), [r, s]), { speed: p, direction: y, pauseOnHover: b, gap: w, imageMaxWidth: f, imageMaxHeight: x, hoverEffect: $ } = e, T = ze(() => im(e.imageFit), [e.imageFit]), E = (t == null ? void 0 : t.length) ?? 0, P = !!o, H = !n || !!i, M = H && $ !== "off" && $ !== "randomize" ? `${r}-image-hover-${$}` : void 0, z = n ? !!i : !0, v = ((t == null ? void 0 : t.length) ?? 0) > 0 && (z || !!n), K = Math.max(0, p) * Yp, g = (ge) => D(ge, n ?? !1), L = ee(null), A = ee(null), V = ee(null), [X, se] = te(0), Z = z && b === "on", [j, F] = te(!1), [S, R] = te({}), G = ee(S);
8584
8584
  G.current = S;
8585
- const z = ee(null), ne = ee(0), W = ee(null), xe = Be(() => (t ?? []).map((ge) => {
8585
+ const B = ee(null), ne = ee(0), W = ee(null), xe = ze(() => (t ?? []).map((ge) => {
8586
8586
  var ce;
8587
8587
  return ((ce = ge.image) == null ? void 0 : ce.url) ?? "";
8588
- }).join("\0"), [t]), [h, we] = te(qr), q = Be(() => {
8588
+ }).join("\0"), [t]), [h, we] = te(qr), q = ze(() => {
8589
8589
  const ge = t ?? [];
8590
- return ge.length === 0 || !(B || !!n) ? ge : nm(ge, h);
8591
- }, [t, B, h, n]), de = Be(
8590
+ return ge.length === 0 || !(z || !!n) ? ge : nm(ge, h);
8591
+ }, [t, z, h, n]), de = ze(
8592
8592
  () => (t ?? []).filter((ge) => {
8593
8593
  var ce;
8594
8594
  return !!((ce = ge.image) != null && ce.url);
@@ -8596,7 +8596,7 @@ const Yp = 30, Jp = 20, qr = 3, Zp = 12, Qp = 32, em = 3, tm = (e) => {
8596
8596
  [t]
8597
8597
  ), Le = v ? em : 1;
8598
8598
  Dt(() => {
8599
- ne.current = 0, R({}), z.current = null, we(qr), c(0);
8599
+ ne.current = 0, R({}), B.current = null, we(qr), c(0);
8600
8600
  }, [xe]), We(() => {
8601
8601
  if (!H || $ !== "randomize") return;
8602
8602
  const ge = L.current;
@@ -8636,10 +8636,10 @@ const Yp = 30, Jp = 20, qr = 3, Zp = 12, Qp = 32, em = 3, tm = (e) => {
8636
8636
  const ge = L.current, ce = V.current;
8637
8637
  if (!ge || !ce) return;
8638
8638
  const Pe = { current: 0 }, Fe = () => {
8639
- const O = ge.getBoundingClientRect().width || ge.offsetWidth, le = om(ce), k = z.current, ie = typeof k == "number" && Math.abs(k - le) <= 0.25;
8640
- z.current = le;
8639
+ const O = ge.getBoundingClientRect().width || ge.offsetWidth, le = om(ce), k = B.current, ie = typeof k == "number" && Math.abs(k - le) <= 0.25;
8640
+ B.current = le;
8641
8641
  let oe = h, me = 0;
8642
- if ((B || n) && E > 0 && O > 0) {
8642
+ if ((z || n) && E > 0 && O > 0) {
8643
8643
  const Ee = Sl(ce, E);
8644
8644
  if (Ee >= Qp) {
8645
8645
  me = Ee;
@@ -8666,7 +8666,7 @@ const Yp = 30, Jp = 20, qr = 3, Zp = 12, Qp = 32, em = 3, tm = (e) => {
8666
8666
  return Te.observe(ge), Te.observe(ce), () => {
8667
8667
  W.current = null, cancelAnimationFrame(Pe.current), Te.disconnect();
8668
8668
  };
8669
- }, [B, v, a, xe, h, E, n]), Dt(() => {
8669
+ }, [z, v, a, xe, h, E, n]), Dt(() => {
8670
8670
  if (!v || s <= 0) return;
8671
8671
  const ge = A.current;
8672
8672
  ge && tm(ge);
@@ -8756,7 +8756,7 @@ const Yp = 30, Jp = 20, qr = 3, Zp = 12, Qp = 32, em = 3, tm = (e) => {
8756
8756
  );
8757
8757
  };
8758
8758
  if (v) {
8759
- const ge = B ? Z && j ? "paused" : "running" : "paused", ce = s > 0 && K > 0 ? s / K * 1e3 : 0, Pe = `${Math.max(0, ce) / 1e3}s`;
8759
+ const ge = z ? Z && j ? "paused" : "running" : "paused", ce = s > 0 && K > 0 ? s / K * 1e3 : 0, Pe = `${Math.max(0, ce) / 1e3}s`;
8760
8760
  return /* @__PURE__ */ J(
8761
8761
  "div",
8762
8762
  {
@@ -9873,7 +9873,7 @@ function $l(e) {
9873
9873
  `;
9874
9874
  }
9875
9875
  const pm = 30, Cl = 2, mm = ({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode: o }) => {
9876
- const { prefix: r } = hn(), { align: a, speed: c, direction: s, pauseOnHover: d, gap: p, cardWidth: y, corners: b, stroke: w, strokeColor: f, bgColor: x, padding: $, logoMarginTop: T, logoWidth: E, logoHeight: P, captionMarginTop: H } = e, M = !!o, B = ((t == null ? void 0 : t.length) ?? 0) > 0, I = c > 0 && (!n || i), v = B && (I || n), K = Math.max(0, c) * pm, g = (k) => D(k, n ?? !1), L = ee(null), A = ee(null), V = ee(null), [X, se] = te(0), [Z, j] = te(0), [F, S] = te(0), R = I && d === "on", [G, z] = te(!1), ne = ee(null), [W, xe] = te(0), [h, we] = te(0), q = ee(null), de = (k) => {
9876
+ const { prefix: r } = hn(), { align: a, speed: c, direction: s, pauseOnHover: d, gap: p, cardWidth: y, corners: b, stroke: w, strokeColor: f, bgColor: x, padding: $, logoMarginTop: T, logoWidth: E, logoHeight: P, captionMarginTop: H } = e, M = !!o, z = ((t == null ? void 0 : t.length) ?? 0) > 0, I = c > 0 && (!n || i), v = z && (I || n), K = Math.max(0, c) * pm, g = (k) => D(k, n ?? !1), L = ee(null), A = ee(null), V = ee(null), [X, se] = te(0), [Z, j] = te(0), [F, S] = te(0), R = I && d === "on", [G, B] = te(!1), ne = ee(null), [W, xe] = te(0), [h, we] = te(0), q = ee(null), de = (k) => {
9877
9877
  var oe, me, he, ve, Ee;
9878
9878
  return {
9879
9879
  fontSettings: {
@@ -9892,13 +9892,13 @@ const pm = 30, Cl = 2, mm = ({ settings: e, content: t, isEditor: n, isPreviewMo
9892
9892
  lineHeight: (e == null ? void 0 : e[`${k}LineHeight`]) ?? 0.01,
9893
9893
  color: (e == null ? void 0 : e[`${k}Color`]) ?? "#000000"
9894
9894
  };
9895
- }, Le = de("text"), ae = de("caption"), be = Be(
9895
+ }, Le = de("text"), ae = de("caption"), be = ze(
9896
9896
  () => ((t == null ? void 0 : t.length) ?? 0) > 1 && (t ?? []).some((k) => {
9897
9897
  var ie, oe;
9898
9898
  return (((ie = k.text) == null ? void 0 : ie.length) ?? 0) > 0 || (((oe = k.caption) == null ? void 0 : oe.length) ?? 0) > 0;
9899
9899
  }),
9900
9900
  [t]
9901
- ), U = Be(() => !v || (t == null ? void 0 : t.length) === 0 ? 1 : Z <= 0 || X <= 0 ? Cl : Math.max(Cl, Math.ceil(X / Z) + 1), [v, t == null ? void 0 : t.length, Z, X]);
9901
+ ), U = ze(() => !v || (t == null ? void 0 : t.length) === 0 ? 1 : Z <= 0 || X <= 0 ? Cl : Math.max(Cl, Math.ceil(X / Z) + 1), [v, t == null ? void 0 : t.length, Z, X]);
9902
9902
  Dt(() => {
9903
9903
  if (!v) return;
9904
9904
  const k = L.current, ie = V.current;
@@ -9946,10 +9946,10 @@ const pm = 30, Cl = 2, mm = ({ settings: e, content: t, isEditor: n, isPreviewMo
9946
9946
  };
9947
9947
  }, [v, U, t, n, p, y, $, w, b, E, P, W, h]);
9948
9948
  const $e = () => {
9949
- R && z(!0);
9949
+ R && B(!0);
9950
9950
  }, Se = () => {
9951
- R && z(!1);
9952
- }, ge = Be(() => {
9951
+ R && B(!1);
9952
+ }, ge = ze(() => {
9953
9953
  switch (a) {
9954
9954
  case "center":
9955
9955
  return "center";
@@ -9959,7 +9959,7 @@ const pm = 30, Cl = 2, mm = ({ settings: e, content: t, isEditor: n, isPreviewMo
9959
9959
  default:
9960
9960
  return "flex-start";
9961
9961
  }
9962
- }, [a]), ce = Be(() => {
9962
+ }, [a]), ce = ze(() => {
9963
9963
  switch (a) {
9964
9964
  case "center":
9965
9965
  return "center";
@@ -11500,7 +11500,7 @@ function ym(e) {
11500
11500
  `;
11501
11501
  }
11502
11502
  const vm = 3e3, bm = ({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode: o }) => {
11503
- const { prefix: r } = hn(), a = t || [], { speed: c, align: s, width: d, imageMarginTop: p, textMarginTop: y, captionMarginTop: b, imageWidth: w, imageHeight: f, controlsWidth: x, controlsColor: $, controlsHoverColor: T } = e, E = c > 0 && (!n || !!i), [P, H] = te(0), [M, B] = te(null), [I, v] = te(!1), K = ee(null), g = Be(() => {
11503
+ const { prefix: r } = hn(), a = t || [], { speed: c, align: s, width: d, imageMarginTop: p, textMarginTop: y, captionMarginTop: b, imageWidth: w, imageHeight: f, controlsWidth: x, controlsColor: $, controlsHoverColor: T } = e, E = c > 0 && (!n || !!i), [P, H] = te(0), [M, z] = te(null), [I, v] = te(!1), K = ee(null), g = ze(() => {
11504
11504
  switch (s) {
11505
11505
  case "center":
11506
11506
  return "center";
@@ -11510,7 +11510,7 @@ const vm = 3e3, bm = ({ settings: e, content: t, isEditor: n, isPreviewMode: i,
11510
11510
  default:
11511
11511
  return "flex-start";
11512
11512
  }
11513
- }, [s]), L = Be(() => {
11513
+ }, [s]), L = ze(() => {
11514
11514
  switch (s) {
11515
11515
  case "center":
11516
11516
  return "center";
@@ -11522,7 +11522,7 @@ const vm = 3e3, bm = ({ settings: e, content: t, isEditor: n, isPreviewMode: i,
11522
11522
  }
11523
11523
  }, [s]);
11524
11524
  We(() => {
11525
- H(0), B(null), v(!1);
11525
+ H(0), z(null), v(!1);
11526
11526
  }, [a.length]);
11527
11527
  const A = a[P], V = M === null ? null : a[M], X = (ae) => {
11528
11528
  var U, $e, Se, ge, ce;
@@ -11546,8 +11546,8 @@ const vm = 3e3, bm = ({ settings: e, content: t, isEditor: n, isPreviewMode: i,
11546
11546
  }, se = X("text"), Z = X("caption"), j = a.length > 1 && a.some((ae) => {
11547
11547
  var be, U;
11548
11548
  return (((be = ae.text) == null ? void 0 : be.length) ?? 0) > 0 || (((U = ae.caption) == null ? void 0 : U.length) ?? 0) > 0;
11549
- }), F = ee(null), [S, R] = te(0), [G, z] = te(0), ne = e.controls ?? { mode: "Off", icon: null }, W = a.length > 1, xe = ye((ae, be) => !W || be === ae ? ae : (K.current && window.clearTimeout(K.current), B(ae), v(!0), K.current = window.setTimeout(() => {
11550
- B(null), v(!1), K.current = null;
11549
+ }), F = ee(null), [S, R] = te(0), [G, B] = te(0), ne = e.controls ?? { mode: "Off", icon: null }, W = a.length > 1, xe = ye((ae, be) => !W || be === ae ? ae : (K.current && window.clearTimeout(K.current), z(ae), v(!0), K.current = window.setTimeout(() => {
11550
+ z(null), v(!1), K.current = null;
11551
11551
  }, 300), be), [W]), h = ye(() => {
11552
11552
  W && H((ae) => xe(ae, (ae - 1 + a.length) % a.length));
11553
11553
  }, [W, xe, a.length]), we = ye(() => {
@@ -11635,7 +11635,7 @@ const vm = 3e3, bm = ({ settings: e, content: t, isEditor: n, isPreviewMode: i,
11635
11635
  ] })
11636
11636
  ] });
11637
11637
  }, de = ye((ae) => {
11638
- R(ae.maxTextPx), z(ae.maxCaptionPx);
11638
+ R(ae.maxTextPx), B(ae.maxCaptionPx);
11639
11639
  }, []);
11640
11640
  if (Dt(() => {
11641
11641
  if (!j) {
@@ -13174,15 +13174,15 @@ function Fm({
13174
13174
  );
13175
13175
  }
13176
13176
  function _m({ items: e, index: t, imageDisplay: n, onClose: i, onPrev: o, onNext: r, counterClassName: a, counterStyle: c }) {
13177
- const s = n === "cover", d = ee(null), p = ee(null), y = ee(null), b = ee(null), w = ee(0), f = ee(0), x = ee("none"), $ = ee(!1), T = ee(!1), E = ee(!1), P = ee(null), [H, M] = te(null), [B, I] = te("opening"), [v, K] = te(0), [g, L] = te(0), [A, V] = te(!1), [X, se] = te(!1), [Z, j] = te(!1), F = ee(t), S = e[t], R = S ? so(S) : !1, G = g !== 0 || A, z = ye((ce) => {
13177
+ const s = n === "cover", d = ee(null), p = ee(null), y = ee(null), b = ee(null), w = ee(0), f = ee(0), x = ee("none"), $ = ee(!1), T = ee(!1), E = ee(!1), P = ee(null), [H, M] = te(null), [z, I] = te("opening"), [v, K] = te(0), [g, L] = te(0), [A, V] = te(!1), [X, se] = te(!1), [Z, j] = te(!1), F = ee(t), S = e[t], R = S ? so(S) : !1, G = g !== 0 || A, B = ye((ce) => {
13178
13178
  E.current = ce, V(ce);
13179
13179
  }, []), ne = ye(() => {
13180
13180
  P.current !== null && (window.clearTimeout(P.current), P.current = null);
13181
13181
  }, []), W = ye(() => {
13182
13182
  ne(), P.current = window.setTimeout(() => {
13183
- ne(), z(!1);
13183
+ ne(), B(!1);
13184
13184
  }, _n + 32);
13185
- }, [ne, z]), xe = ye(() => {
13185
+ }, [ne, B]), xe = ye(() => {
13186
13186
  const ce = p.current, Pe = y.current;
13187
13187
  if (!ce) return;
13188
13188
  const Fe = ce.getBoundingClientRect(), Ce = Fe.width, Te = Fe.height;
@@ -13216,20 +13216,20 @@ function _m({ items: e, index: t, imageDisplay: n, onClose: i, onPrev: o, onNext
13216
13216
  const Pe = new ResizeObserver(() => xe());
13217
13217
  return Pe.observe(ce), () => Pe.disconnect();
13218
13218
  }, [xe, t]), We(() => {
13219
- B === "opening" && H && I("open");
13220
- }, [B, H]), We(() => {
13221
- if (B !== "closing") return;
13219
+ z === "opening" && H && I("open");
13220
+ }, [z, H]), We(() => {
13221
+ if (z !== "closing") return;
13222
13222
  const ce = setTimeout(() => i(), _n);
13223
13223
  return () => clearTimeout(ce);
13224
- }, [B, i]), We(() => () => {
13224
+ }, [z, i]), We(() => () => {
13225
13225
  ne();
13226
13226
  }, [ne]), Dt(() => {
13227
13227
  if (F.current === t) return;
13228
- ne(), K(0), L(0), z(!1), j(!1), se(!1), w.current = 0, f.current = 0, x.current = "none", $.current = !1, b.current = null, T.current = !1;
13228
+ ne(), K(0), L(0), B(!1), j(!1), se(!1), w.current = 0, f.current = 0, x.current = "none", $.current = !1, b.current = null, T.current = !1;
13229
13229
  const ce = p.current;
13230
13230
  ce && M(Vo(ce)), F.current = t;
13231
- }, [t, z, ne]), We(() => {
13232
- if (B !== "open") return;
13231
+ }, [t, B, ne]), We(() => {
13232
+ if (z !== "open") return;
13233
13233
  const ce = () => {
13234
13234
  const le = (k) => {
13235
13235
  k.stopPropagation(), k.preventDefault(), document.removeEventListener("click", le, !0);
@@ -13244,7 +13244,7 @@ function _m({ items: e, index: t, imageDisplay: n, onClose: i, onPrev: o, onNext
13244
13244
  Pe(le);
13245
13245
  return;
13246
13246
  }
13247
- z(!0), L(0), W();
13247
+ B(!0), L(0), W();
13248
13248
  }, Ce = (le) => {
13249
13249
  if (le.touches.length !== 1 || E.current) return;
13250
13250
  const k = le.touches[0];
@@ -13285,15 +13285,15 @@ function _m({ items: e, index: t, imageDisplay: n, onClose: i, onPrev: o, onNext
13285
13285
  return document.addEventListener("touchstart", Ce, { passive: !0 }), document.addEventListener("touchmove", Te, { passive: !1 }), document.addEventListener("touchend", O), document.addEventListener("touchcancel", O), () => {
13286
13286
  document.removeEventListener("touchstart", Ce), document.removeEventListener("touchmove", Te), document.removeEventListener("touchend", O), document.removeEventListener("touchcancel", O);
13287
13287
  };
13288
- }, [B, e.length, r, o, z, W]), We(() => {
13288
+ }, [z, e.length, r, o, B, W]), We(() => {
13289
13289
  const ce = (Pe) => {
13290
- Pe.key === "Escape" && (Pe.preventDefault(), Pe.stopPropagation(), B !== "closing" && I("closing"));
13290
+ Pe.key === "Escape" && (Pe.preventDefault(), Pe.stopPropagation(), z !== "closing" && I("closing"));
13291
13291
  };
13292
13292
  return window.addEventListener("keydown", ce, !0), () => window.removeEventListener("keydown", ce, !0);
13293
- }, [B]);
13293
+ }, [z]);
13294
13294
  const h = () => {
13295
- B !== "closing" && I("closing");
13296
- }, we = B === "open", q = B === "closing", de = v > 0 ? Math.max(0, 1 - v / 500) : 1, Le = v > 0 ? Math.max(0.35, 1 - v / 500) : 1, ae = (ce) => {
13295
+ z !== "closing" && I("closing");
13296
+ }, we = z === "open", q = z === "closing", de = v > 0 ? Math.max(0, 1 - v / 500) : 1, Le = v > 0 ? Math.max(0.35, 1 - v / 500) : 1, ae = (ce) => {
13297
13297
  if (ce.stopPropagation(), T.current) {
13298
13298
  T.current = !1;
13299
13299
  return;
@@ -13316,8 +13316,8 @@ function _m({ items: e, index: t, imageDisplay: n, onClose: i, onPrev: o, onNext
13316
13316
  }
13317
13317
  ce.currentTarget.style.cursor = Fe < Pe.width / 2 ? "w-resize" : "e-resize";
13318
13318
  }, U = ye((ce) => {
13319
- ce.propertyName !== "transform" || !E.current || (ne(), z(!1));
13320
- }, [ne, z]), $e = G ? `translateX(${g}px)` : v > 0 ? `translateY(${v}px)` : void 0, Se = {
13319
+ ce.propertyName !== "transform" || !E.current || (ne(), B(!1));
13320
+ }, [ne, B]), $e = G ? `translateX(${g}px)` : v > 0 ? `translateY(${v}px)` : void 0, Se = {
13321
13321
  position: "fixed",
13322
13322
  top: H == null ? void 0 : H.top,
13323
13323
  left: H == null ? void 0 : H.left,
@@ -13325,8 +13325,8 @@ function _m({ items: e, index: t, imageDisplay: n, onClose: i, onPrev: o, onNext
13325
13325
  height: H == null ? void 0 : H.height,
13326
13326
  objectFit: n === "cover" ? "cover" : "contain",
13327
13327
  transform: $e,
13328
- opacity: v > 0 ? Le : B === "opening" || q ? 0 : 1,
13329
- transition: X && !A ? "none" : A ? `transform ${_n}ms ${ui}` : Z ? `transform ${_n}ms ${ui}, opacity ${_n}ms ${ui}` : B === "opening" || q ? `opacity ${_n}ms ${ui}` : "none",
13328
+ opacity: v > 0 ? Le : z === "opening" || q ? 0 : 1,
13329
+ transition: X && !A ? "none" : A ? `transform ${_n}ms ${ui}` : Z ? `transform ${_n}ms ${ui}, opacity ${_n}ms ${ui}` : z === "opening" || q ? `opacity ${_n}ms ${ui}` : "none",
13330
13330
  pointerEvents: R && we && !G ? "auto" : "none",
13331
13331
  touchAction: R && we ? "none" : void 0,
13332
13332
  zIndex: 9998
@@ -13348,7 +13348,7 @@ function _m({ items: e, index: t, imageDisplay: n, onClose: i, onPrev: o, onNext
13348
13348
  width: "var(--cntrl-article-width, 100vw) !important",
13349
13349
  height: "var(--cntrl-viewport-height, 100vh) !important",
13350
13350
  zIndex: 9997,
13351
- touchAction: B === "open" ? "none" : void 0
13351
+ touchAction: z === "open" ? "none" : void 0
13352
13352
  },
13353
13353
  onClick: h,
13354
13354
  children: [
@@ -13445,7 +13445,7 @@ function _m({ items: e, index: t, imageDisplay: n, onClose: i, onPrev: o, onNext
13445
13445
  Fm,
13446
13446
  {
13447
13447
  src: S.url,
13448
- phase: B,
13448
+ phase: z,
13449
13449
  mediaRef: y,
13450
13450
  mediaStyle: Se,
13451
13451
  onLoadedMetadata: xe,
@@ -13525,7 +13525,7 @@ function Nm({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
13525
13525
  sliderTiming: P,
13526
13526
  direction: H,
13527
13527
  transition: M,
13528
- titleMarginTop: B,
13528
+ titleMarginTop: z,
13529
13529
  subtitleMarginTop: I,
13530
13530
  titleColor: v,
13531
13531
  subtitleColor: K,
@@ -13541,7 +13541,7 @@ function Nm({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
13541
13541
  subtitleFontSettings: S,
13542
13542
  subtitleFontSize: R,
13543
13543
  subtitleLineHeight: G,
13544
- subtitleLetterSpacing: z,
13544
+ subtitleLetterSpacing: B,
13545
13545
  subtitleWordSpacing: ne,
13546
13546
  subtitleTextAppearance: W,
13547
13547
  lightboxCounterFontFamily: xe,
@@ -13576,7 +13576,7 @@ function Nm({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
13576
13576
  },
13577
13577
  fontSize: R ?? 0.01,
13578
13578
  lineHeight: G,
13579
- letterSpacing: z ?? 0,
13579
+ letterSpacing: B ?? 0,
13580
13580
  wordSpacing: ne ?? 0,
13581
13581
  textAppearance: W,
13582
13582
  color: K
@@ -13616,7 +13616,7 @@ function Nm({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
13616
13616
  titleColor: v,
13617
13617
  subtitleColor: K,
13618
13618
  lightboxCounterColor: g
13619
- }, Om, zm), fe = `${a && a !== "default" ? `${d}-state-${a}` : ""}${be === "on hover" && (!n || i) ? ` ${d}-show-text-hover` : ""}`.trim(), He = f === 0 ? 1 / 0 : f, re = (t ?? []).slice(0, He), N = y.entryWidth ?? 0.2, je = ($ == null ? void 0 : $.display) === "cover", Oe = ($ == null ? void 0 : $.ratioValue) ?? "1:1", rt = ($ == null ? void 0 : $.reversed) ?? !1, [tt, pt] = Oe.split(":").map(Number), ct = `${rt ? pt : tt} / ${rt ? tt : pt}`, Et = y.columnsCount, dt = D(N ?? 0, n), Qe = dt, wt = !je && E !== "off", Tt = re.length % Et || Et, ht = Tt < Et && re.length > 0, _t = re.length - Tt, Vt = ht ? Math.floor((Et - Tt) / 2) + 1 : 1, ot = {
13619
+ }, Om, Bm), fe = `${a && a !== "default" ? `${d}-state-${a}` : ""}${be === "on hover" && (!n || i) ? ` ${d}-show-text-hover` : ""}`.trim(), He = f === 0 ? 1 / 0 : f, re = (t ?? []).slice(0, He), N = y.entryWidth ?? 0.2, je = ($ == null ? void 0 : $.display) === "cover", Oe = ($ == null ? void 0 : $.ratioValue) ?? "1:1", rt = ($ == null ? void 0 : $.reversed) ?? !1, [tt, pt] = Oe.split(":").map(Number), ct = `${rt ? pt : tt} / ${rt ? tt : pt}`, Et = y.columnsCount, dt = D(N ?? 0, n), Qe = dt, wt = !je && E !== "off", Tt = re.length % Et || Et, ht = Tt < Et && re.length > 0, _t = re.length - Tt, Vt = ht ? Math.floor((Et - Tt) / 2) + 1 : 1, ot = {
13620
13620
  width: Qe,
13621
13621
  ...je ? { aspectRatio: ct, height: "auto", overflow: "hidden" } : { height: "auto" }
13622
13622
  }, Pt = `${d}-item-image-wrapper${wt ? ` ${d}-item-image-wrapper-fit-slider` : ""}`.trim(), At = p === "d" || p === "e" || p === "f", Ye = U === "on", Je = `calc(${D(N ?? 0, n)} * (${b} / 100))`, _e = D(N * b / 100, n), xt = je ? {
@@ -13635,8 +13635,8 @@ function Nm({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
13635
13635
  We(() => {
13636
13636
  const qe = un.current;
13637
13637
  if (!qe) return;
13638
- const ft = new ResizeObserver((ze) => {
13639
- sn(Math.round(ze[0].contentRect.width));
13638
+ const ft = new ResizeObserver((Be) => {
13639
+ sn(Math.round(Be[0].contentRect.width));
13640
13640
  });
13641
13641
  return ft.observe(qe), () => ft.disconnect();
13642
13642
  }, []);
@@ -13655,7 +13655,7 @@ function Nm({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
13655
13655
  }, [Wt, x]), We(() => {
13656
13656
  !n || i || tn(!1);
13657
13657
  }, [n, i]);
13658
- const De = Be(() => Tm(d), [d]);
13658
+ const De = ze(() => Tm(d), [d]);
13659
13659
  return /* @__PURE__ */ J(lt, { children: [
13660
13660
  /* @__PURE__ */ l("style", { dangerouslySetInnerHTML: { __html: De } }),
13661
13661
  /* @__PURE__ */ l("div", { style: ve, children: /* @__PURE__ */ l(
@@ -13672,15 +13672,15 @@ function Nm({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
13672
13672
  },
13673
13673
  children: re.map((qe, ft) => {
13674
13674
  var Zt;
13675
- const ze = Il(qe.title), it = Il(qe.subtitle), at = (((Zt = qe.link) == null ? void 0 : Zt.length) ?? 0) > 0 && x === "off" ? qe.link : void 0, Bt = Math.floor(ft / Et) === Math.ceil(re.length / Et) - 1, Mt = ht && ft >= _t ? `${Vt + (ft - _t)}` : void 0, mt = At ? /* @__PURE__ */ J("div", { className: `${d}-item-text-block`, children: [
13676
- ze && /* @__PURE__ */ l("p", { className: k, style: { width: Je, ...ce, ...oe }, children: qe.title }),
13677
- ze && /* @__PURE__ */ l(
13675
+ const Be = Il(qe.title), it = Il(qe.subtitle), at = (((Zt = qe.link) == null ? void 0 : Zt.length) ?? 0) > 0 && x === "off" ? qe.link : void 0, zt = Math.floor(ft / Et) === Math.ceil(re.length / Et) - 1, Mt = ht && ft >= _t ? `${Vt + (ft - _t)}` : void 0, mt = At ? /* @__PURE__ */ J("div", { className: `${d}-item-text-block`, children: [
13676
+ Be && /* @__PURE__ */ l("p", { className: k, style: { width: Je, ...ce, ...oe }, children: qe.title }),
13677
+ Be && /* @__PURE__ */ l(
13678
13678
  "div",
13679
13679
  {
13680
13680
  "data-controls": o ? "titleMarginTop" : void 0,
13681
13681
  className: o ? `${d}-control` : void 0,
13682
13682
  style: {
13683
- height: D(B ?? 0, n),
13683
+ height: D(z ?? 0, n),
13684
13684
  width: _e
13685
13685
  }
13686
13686
  }
@@ -13701,22 +13701,22 @@ function Nm({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
13701
13701
  !At && /* @__PURE__ */ l(
13702
13702
  "div",
13703
13703
  {
13704
- "data-controls": o && ze ? "titleMarginTop" : void 0,
13705
- className: o && ze ? `${d}-control` : void 0,
13704
+ "data-controls": o && Be ? "titleMarginTop" : void 0,
13705
+ className: o && Be ? `${d}-control` : void 0,
13706
13706
  style: {
13707
- height: ze ? D(B ?? 0, n) : 0,
13707
+ height: Be ? D(z ?? 0, n) : 0,
13708
13708
  width: _e
13709
13709
  }
13710
13710
  }
13711
13711
  ),
13712
- ze && /* @__PURE__ */ l("p", { className: k, style: { width: Je, ...ce, ...oe }, children: qe.title }),
13713
- At && ze && /* @__PURE__ */ l(
13712
+ Be && /* @__PURE__ */ l("p", { className: k, style: { width: Je, ...ce, ...oe }, children: qe.title }),
13713
+ At && Be && /* @__PURE__ */ l(
13714
13714
  "div",
13715
13715
  {
13716
13716
  "data-controls": o ? "titleMarginTop" : void 0,
13717
13717
  className: o ? `${d}-control` : void 0,
13718
13718
  style: {
13719
- height: D(B ?? 0, n),
13719
+ height: D(z ?? 0, n),
13720
13720
  width: _e
13721
13721
  }
13722
13722
  }
@@ -13752,7 +13752,7 @@ function Nm({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
13752
13752
  jt,
13753
13753
  Ot
13754
13754
  ] }), Ut = Am(qe.gallery), Nt = Ut.filter((yt) => yt.lightboxMedia).map((yt) => yt.lightboxMedia), an = /* @__PURE__ */ l("div", { className: Pt, style: ot, children: Ut.length === 0 ? null : E === "off" ? (() => {
13755
- const { displayMedia: yt, lightboxMedia: zt } = Ut[0], Xt = zt ? Nt.findIndex((m) => m.url === zt.url) : -1;
13755
+ const { displayMedia: yt, lightboxMedia: Bt } = Ut[0], Xt = Bt ? Nt.findIndex((m) => m.url === Bt.url) : -1;
13756
13756
  return /* @__PURE__ */ l(
13757
13757
  Rl,
13758
13758
  {
@@ -13786,13 +13786,13 @@ function Nm({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
13786
13786
  },
13787
13787
  onMoved: (yt) => {
13788
13788
  if (H !== "random" || M === "fade") return;
13789
- const zt = Math.random() > 0.5 ? Math.random() > 0.5 ? "rtl" : "ltr" : "ttb";
13790
- Ht(zt), setTimeout(() => {
13789
+ const Bt = Math.random() > 0.5 ? Math.random() > 0.5 ? "rtl" : "ltr" : "ttb";
13790
+ Ht(Bt), setTimeout(() => {
13791
13791
  yt.refresh();
13792
13792
  }, 0);
13793
13793
  },
13794
- children: Ut.map(({ displayMedia: yt, lightboxMedia: zt }, Xt) => {
13795
- const m = zt ? Nt.findIndex((ue) => ue.url === zt.url) : -1;
13794
+ children: Ut.map(({ displayMedia: yt, lightboxMedia: Bt }, Xt) => {
13795
+ const m = Bt ? Nt.findIndex((ue) => ue.url === Bt.url) : -1;
13796
13796
  return /* @__PURE__ */ l(Va, { children: /* @__PURE__ */ l(
13797
13797
  Rl,
13798
13798
  {
@@ -13810,10 +13810,10 @@ function Nm({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
13810
13810
  /* @__PURE__ */ l(
13811
13811
  "div",
13812
13812
  {
13813
- "data-controls": o && ze ? "titleMarginTop" : void 0,
13814
- className: o && ze ? `${d}-control` : void 0,
13813
+ "data-controls": o && Be ? "titleMarginTop" : void 0,
13814
+ className: o && Be ? `${d}-control` : void 0,
13815
13815
  style: {
13816
- height: ze ? D(B ?? 0, n) : 0,
13816
+ height: Be ? D(z ?? 0, n) : 0,
13817
13817
  width: _e
13818
13818
  }
13819
13819
  }
@@ -13854,7 +13854,7 @@ function Nm({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
13854
13854
  children: /* @__PURE__ */ l(
13855
13855
  "div",
13856
13856
  {
13857
- className: `${o ? `${d}-item-inner` : `${d}-item-inner-hidden`}${Ye && Bt ? ` ${d}-item-inner-last-row` : ""}`.trim(),
13857
+ className: `${o ? `${d}-item-inner` : `${d}-item-inner-hidden`}${Ye && zt ? ` ${d}-item-inner-last-row` : ""}`.trim(),
13858
13858
  style: {
13859
13859
  width: (b ?? 0) > 100 ? `calc(${dt} * (${b} / 100))` : dt,
13860
13860
  ...Mt && Ye ? { gridColumn: Mt } : {}
@@ -13909,7 +13909,7 @@ const Om = {
13909
13909
  titleColor: "title-color",
13910
13910
  subtitleColor: "subtitle-color",
13911
13911
  lightboxCounterColor: "lightbox-counter-color"
13912
- }, zm = ["hover", "focus", "filled", "success", "error"], Bm = `import { Splide, SplideSlide } from '@splidejs/react-splide';
13912
+ }, Bm = ["hover", "focus", "filled", "success", "error"], zm = `import { Splide, SplideSlide } from '@splidejs/react-splide';
13913
13913
  import '@splidejs/react-splide/css/core';
13914
13914
  import { CommonComponentProps } from '../props';
13915
13915
  import {
@@ -16531,7 +16531,7 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
16531
16531
  lightboxCounterFontSettings: "lightboxCounterFontFamily"
16532
16532
  },
16533
16533
  schema: Vm,
16534
- sourceCode: Bm
16534
+ sourceCode: zm
16535
16535
  }, Gm = 50, El = 10, ja = "cntrl-lightbox-journal", Pr = ja, ya = `${ja}-`, Ar = (e) => `${ja}-${e}`, Ga = (e) => e === Pr || e.startsWith(ya), Ml = (e) => {
16536
16536
  if (!e) return null;
16537
16537
  const t = Number.parseInt(e, 10);
@@ -16770,42 +16770,42 @@ function nc({
16770
16770
  closeIconMaxWidth: E = 0,
16771
16771
  closeIconColor: P = "#000000",
16772
16772
  closeIconHoverColor: H = "#cccccc"
16773
- } = n, M = D(x, i), B = D($, i), I = D(w, i), v = f === "mobile", K = vi("title1", yi(n, "title1"), i), g = vi("title2", yi(n, "title2"), i), L = vi("title3", yi(n, "title3"), i), A = Be(
16773
+ } = n, M = D(x, i), z = D($, i), I = D(w, i), v = f === "mobile", K = vi("title1", yi(n, "title1"), i), g = vi("title2", yi(n, "title2"), i), L = vi("title3", yi(n, "title3"), i), A = ze(
16774
16774
  () => ({
16775
16775
  title1Width: c ?? ki.title1Width,
16776
16776
  title2Width: s ?? ki.title2Width,
16777
16777
  title3Width: d ?? ki.title3Width
16778
16778
  }),
16779
16779
  [c, s, d]
16780
- ), V = Be(() => ({
16780
+ ), V = ze(() => ({
16781
16781
  title2MarginLeft: y,
16782
16782
  title3MarginLeft: b
16783
- }), [y, b]), X = Be(
16783
+ }), [y, b]), X = ze(
16784
16784
  () => Zn(e, t, K, g, L),
16785
16785
  [e, t, K, g, L]
16786
- ), se = Be(
16786
+ ), se = ze(
16787
16787
  () => X.map((Q) => A[Q.widthKey]),
16788
16788
  [X, A]
16789
- ), Z = Be(
16789
+ ), Z = ze(
16790
16790
  () => Oi(X.length, se),
16791
16791
  [X.length, se]
16792
- ), j = Be(
16792
+ ), j = ze(
16793
16793
  () => bo(X.length, se),
16794
16794
  [X.length, se]
16795
- ), F = Be(
16795
+ ), F = ze(
16796
16796
  () => X.filter((Q) => Q.prefix === "title1"),
16797
16797
  [X]
16798
- ), S = Be(
16798
+ ), S = ze(
16799
16799
  () => X.filter((Q) => Q.prefix === "title2" || Q.prefix === "title3"),
16800
16800
  [X]
16801
- ), R = Be(
16801
+ ), R = ze(
16802
16802
  () => Qn(F, A),
16803
16803
  [F, A]
16804
- ), G = Be(
16804
+ ), G = ze(
16805
16805
  () => Qn(S, A),
16806
16806
  [S, A]
16807
- ), z = !!(t.title1 || t.title2 || t.title3), ne = T !== null;
16808
- if (!(z || ne)) return null;
16807
+ ), B = !!(t.title1 || t.title2 || t.title3), ne = T !== null;
16808
+ if (!(B || ne)) return null;
16809
16809
  const xe = (p ?? 0) > 0 || o, h = (Q, fe) => {
16810
16810
  const He = X.findIndex((N) => N.prefix === Q.prefix);
16811
16811
  if (!v || fe === "single-row")
@@ -16996,7 +16996,7 @@ function nc({
16996
16996
  style: {
16997
16997
  width: D(E ?? 0, i),
16998
16998
  height: D(E ?? 0, i),
16999
- marginRight: B,
16999
+ marginRight: z,
17000
17000
  "--close-icon-hover-color": H
17001
17001
  },
17002
17002
  children: [
@@ -17031,7 +17031,7 @@ function nc({
17031
17031
  position: "absolute",
17032
17032
  top: 0,
17033
17033
  left: "100%",
17034
- width: B,
17034
+ width: z,
17035
17035
  height: "100%",
17036
17036
  pointerEvents: "auto"
17037
17037
  }
@@ -17040,7 +17040,7 @@ function nc({
17040
17040
  ]
17041
17041
  }
17042
17042
  ), Fe = () => ne ? /* @__PURE__ */ l("div", { className: `${e}-titles-row-header-controls`, children: Pe() }) : null, Ce = (Q) => /* @__PURE__ */ l("div", { className: `${e}-titles-row-titles`, children: /* @__PURE__ */ l("div", { className: `${e}-titles-stack`, children: Q }) }), Te = (Q) => /* @__PURE__ */ J("div", { className: `${e}-titles-row-top`, children: [
17043
- ne || z ? $e() : null,
17043
+ ne || B ? $e() : null,
17044
17044
  xe ? U("two-row") : null,
17045
17045
  Ce(Q),
17046
17046
  Fe()
@@ -17166,9 +17166,9 @@ function nc({
17166
17166
  className: `${e}-titles-row ${e}-titles-row-header`,
17167
17167
  style: { width: "100%", position: "relative" },
17168
17168
  children: [
17169
- ne || z ? $e() : null,
17169
+ ne || B ? $e() : null,
17170
17170
  xe ? U("single-row") : null,
17171
- z ? Ce(Se(t)) : /* @__PURE__ */ l("div", { className: `${e}-titles-row-titles`, "aria-hidden": "true" }),
17171
+ B ? Ce(Se(t)) : /* @__PURE__ */ l("div", { className: `${e}-titles-row-titles`, "aria-hidden": "true" }),
17172
17172
  Fe(),
17173
17173
  me()
17174
17174
  ]
@@ -17694,7 +17694,7 @@ function vg({ mediaList: e }) {
17694
17694
  }
17695
17695
  );
17696
17696
  }
17697
- function zi(e, t, n) {
17697
+ function Bi(e, t, n) {
17698
17698
  const { width: i, height: o, top: r } = e, { left: a, width: c } = n, s = oc(n);
17699
17699
  return t === "left" ? {
17700
17700
  left: a + s - i,
@@ -17709,7 +17709,7 @@ function zi(e, t, n) {
17709
17709
  };
17710
17710
  }
17711
17711
  function hr(e, t, n) {
17712
- const i = zi(e, t, n);
17712
+ const i = Bi(e, t, n);
17713
17713
  return {
17714
17714
  ...i,
17715
17715
  left: 2 * i.left - e.left
@@ -17730,7 +17730,7 @@ function bg(e, t, n) {
17730
17730
  };
17731
17731
  }
17732
17732
  function rc(e, t, n, i) {
17733
- const o = zi(e, "left", i), r = zi(e, "right", i), a = hr(e, "left", i), c = hr(e, "right", i);
17733
+ const o = Bi(e, "left", i), r = Bi(e, "right", i), a = hr(e, "left", i), c = hr(e, "right", i);
17734
17734
  if (n === 1)
17735
17735
  switch (t) {
17736
17736
  case "center":
@@ -17765,7 +17765,7 @@ function xg(e, t, n, i) {
17765
17765
  };
17766
17766
  }
17767
17767
  function wg(e, t, n) {
17768
- const i = zi(e, t, n), o = hr(e, t, n);
17768
+ const i = Bi(e, t, n), o = hr(e, t, n);
17769
17769
  return {
17770
17770
  x: o.left - i.left,
17771
17771
  y: o.top - i.top
@@ -17942,8 +17942,8 @@ function Lg({
17942
17942
  onPrev: x,
17943
17943
  onNext: $
17944
17944
  }) {
17945
- const T = ee(null), E = ee(null), P = ee(null), H = ee(/* @__PURE__ */ new Map()), [M, B] = te(0), I = ee(null), v = ee(0), K = ee(0), g = ee("none"), L = ee(!1), A = ee(!1), V = ee(!1), X = ee(null), se = ee(null), Z = ee(null), j = ee(() => {
17946
- }), F = ee(null), S = ee(null), R = ee(null), G = ee(!1), [z, ne] = te(null), [W, xe] = te(Jr), [h, we] = te(0), [q, de] = te("opening"), [Le, ae] = te(0), [be, U] = te(0), [$e, Se] = te(!1), [ge, ce] = te(null), [Pe, Fe] = te(null), [Ce, Te] = te(null), [O, le] = te(!1), [k, ie] = te(null), [oe, me] = te(!1), he = ee(!1), [ve, Ee] = te(!1), [Q, fe] = te(!1), He = ee(n), re = ee(void 0), N = t[n], je = N ? Zi(N) : !1, Oe = be !== 0 || $e, rt = !a && (!r || !!c), tt = s && !a, pt = d.length > 1, bt = ye((m, ue) => t.length <= 1 ? null : t[(m + ue + t.length) % t.length] ?? null, [t]), Ue = pt ? oo(d, p, -1) : bt(n, -1), ct = pt ? oo(d, p, 1) : bt(n, 1), Et = ge === -1 && Oe ? pt && Pe !== null ? oo(d, Pe, -1) : Ce !== null ? bt(Ce, -1) : null : null, dt = ge === 1 && Oe ? pt && Pe !== null ? oo(d, Pe, 1) : Ce !== null ? bt(Ce, 1) : null : null, Qe = Et && Et.url !== (Ue == null ? void 0 : Ue.url) ? Et : null, wt = dt && dt.url !== (ct == null ? void 0 : ct.url) ? dt : null, Tt = Ue && tt ? (() => {
17945
+ const T = ee(null), E = ee(null), P = ee(null), H = ee(/* @__PURE__ */ new Map()), [M, z] = te(0), I = ee(null), v = ee(0), K = ee(0), g = ee("none"), L = ee(!1), A = ee(!1), V = ee(!1), X = ee(null), se = ee(null), Z = ee(null), j = ee(() => {
17946
+ }), F = ee(null), S = ee(null), R = ee(null), G = ee(!1), [B, ne] = te(null), [W, xe] = te(Jr), [h, we] = te(0), [q, de] = te("opening"), [Le, ae] = te(0), [be, U] = te(0), [$e, Se] = te(!1), [ge, ce] = te(null), [Pe, Fe] = te(null), [Ce, Te] = te(null), [O, le] = te(!1), [k, ie] = te(null), [oe, me] = te(!1), he = ee(!1), [ve, Ee] = te(!1), [Q, fe] = te(!1), He = ee(n), re = ee(void 0), N = t[n], je = N ? Zi(N) : !1, Oe = be !== 0 || $e, rt = !a && (!r || !!c), tt = s && !a, pt = d.length > 1, bt = ye((m, ue) => t.length <= 1 ? null : t[(m + ue + t.length) % t.length] ?? null, [t]), Ue = pt ? oo(d, p, -1) : bt(n, -1), ct = pt ? oo(d, p, 1) : bt(n, 1), Et = ge === -1 && Oe ? pt && Pe !== null ? oo(d, Pe, -1) : Ce !== null ? bt(Ce, -1) : null : null, dt = ge === 1 && Oe ? pt && Pe !== null ? oo(d, Pe, 1) : Ce !== null ? bt(Ce, 1) : null : null, Qe = Et && Et.url !== (Ue == null ? void 0 : Ue.url) ? Et : null, wt = dt && dt.url !== (ct == null ? void 0 : ct.url) ? dt : null, Tt = Ue && tt ? (() => {
17947
17947
  const m = pt ? Fl(d, p, -1) : t.length > 2 ? bt((n - 1 + t.length) % t.length, -1) : null;
17948
17948
  return m && m.url !== Ue.url ? m : null;
17949
17949
  })() : null, ht = ct && tt ? (() => {
@@ -17952,7 +17952,7 @@ function Lg({
17952
17952
  })() : null, _t = Qe ?? Tt, Vt = wt ?? ht, ot = ye((m, ue, Ae) => {
17953
17953
  if (!m || !ue || !Ae) return;
17954
17954
  const Me = H.current, nt = Me.get(m);
17955
- (nt == null ? void 0 : nt.width) === ue && (nt == null ? void 0 : nt.height) === Ae || (Me.set(m, { width: ue, height: Ae }), B((Ft) => Ft + 1));
17955
+ (nt == null ? void 0 : nt.width) === ue && (nt == null ? void 0 : nt.height) === Ae || (Me.set(m, { width: ue, height: Ae }), z((Ft) => Ft + 1));
17956
17956
  }, []), Pt = ye((m) => {
17957
17957
  if (!(m != null && m.url)) return null;
17958
17958
  const ue = H.current.get(m.url);
@@ -18030,7 +18030,7 @@ function Lg({
18030
18030
  }, [_e, Yt]), un = ye(() => {
18031
18031
  _e(), se.current = null, Je(!1), ce(null), Fe(null), Te(null), U(0), Ee(!1), L.current = !1, K.current = 0, g.current = "none";
18032
18032
  }, [_e, Je]), Lt = ye((m) => {
18033
- if (!(!tt || !z)) {
18033
+ if (!(!tt || !B)) {
18034
18034
  if (V.current) {
18035
18035
  if (se.current === m) {
18036
18036
  Z.current = m, Yt();
@@ -18042,7 +18042,7 @@ function Lg({
18042
18042
  }
18043
18043
  }, [
18044
18044
  tt,
18045
- z,
18045
+ B,
18046
18046
  Yt,
18047
18047
  un,
18048
18048
  _e,
@@ -18118,7 +18118,7 @@ function Lg({
18118
18118
  H.current.has(Me.url) || fg(Me, ot);
18119
18119
  });
18120
18120
  }, [t, d, ot]), We(() => {
18121
- if (q !== "opening" || !z) return;
18121
+ if (q !== "opening" || !B) return;
18122
18122
  if (!b) {
18123
18123
  de("open");
18124
18124
  return;
@@ -18130,7 +18130,7 @@ function Lg({
18130
18130
  });
18131
18131
  });
18132
18132
  return () => cancelAnimationFrame(m);
18133
- }, [q, z, b]), We(() => {
18133
+ }, [q, B, b]), We(() => {
18134
18134
  if (q !== "closing") return;
18135
18135
  const m = setTimeout(() => f(), Pn);
18136
18136
  return () => clearTimeout(m);
@@ -18221,8 +18221,8 @@ function Lg({
18221
18221
  }, [q, tt, Je, xt, _e, rt, sn, Ye]);
18222
18222
  const Ge = ye(() => {
18223
18223
  const m = (w == null ? void 0 : w()) ?? b ?? null;
18224
- m && z && (ie(m), le(!0)), de("closing");
18225
- }, [w, b, z]);
18224
+ m && B && (ie(m), le(!0)), de("closing");
18225
+ }, [w, b, B]);
18226
18226
  We(() => {
18227
18227
  const m = (Me) => {
18228
18228
  if (Me.key === "Escape") {
@@ -18257,7 +18257,7 @@ function Lg({
18257
18257
  }, [q, Wt]);
18258
18258
  const Ze = () => {
18259
18259
  q === "closing" || a || Ge();
18260
- }, De = q === "open", qe = q === "closing", ft = Le > 0 ? Math.max(0, 1 - Le / 500) : 1, ze = Le > 0 ? Math.max(0.35, 1 - Le / 500) : 1, it = ye((m) => {
18260
+ }, De = q === "open", qe = q === "closing", ft = Le > 0 ? Math.max(0, 1 - Le / 500) : 1, Be = Le > 0 ? Math.max(0.35, 1 - Le / 500) : 1, it = ye((m) => {
18261
18261
  if (!(m.propertyName !== "transform" || !V.current)) {
18262
18262
  if (se.current !== null) {
18263
18263
  Yt();
@@ -18265,7 +18265,7 @@ function Lg({
18265
18265
  }
18266
18266
  _e(), Je(!1);
18267
18267
  }
18268
- }, [_e, Je, Yt]), at = q === "closing" ? k ?? b : b, Bt = at && z && (q === "opening" || qe) ? dg(at, z) : void 0, Mt = Oe && N ? Ht(N, "center") : Le > 0 ? `translateY(${Le}px)` : Bt, mt = z ? jo(z, W) : null, jt = !!(at && z), Ot = jt && (q === "closing" || q === "open" && O), Jt = {
18268
+ }, [_e, Je, Yt]), at = q === "closing" ? k ?? b : b, zt = at && B && (q === "opening" || qe) ? dg(at, B) : void 0, Mt = Oe && N ? Ht(N, "center") : Le > 0 ? `translateY(${Le}px)` : zt, mt = B ? jo(B, W) : null, jt = !!(at && B), Ot = jt && (q === "closing" || q === "open" && O), Jt = {
18269
18269
  position: "absolute",
18270
18270
  top: mt == null ? void 0 : mt.top,
18271
18271
  left: mt == null ? void 0 : mt.left,
@@ -18274,7 +18274,7 @@ function Lg({
18274
18274
  objectFit: "contain",
18275
18275
  transformOrigin: "top left",
18276
18276
  transform: Mt,
18277
- opacity: Le > 0 ? ze : jt ? 1 : q === "opening" || qe ? 0 : 1,
18277
+ opacity: Le > 0 ? Be : jt ? 1 : q === "opening" || qe ? 0 : 1,
18278
18278
  transition: ve && !$e ? "none" : $e ? `transform ${to}ms ${vn}` : Q ? `transform ${Pn}ms ${vn}, opacity ${Pn}ms ${vn}` : Ot ? `transform ${Pn}ms ${vn}` : q === "opening" || qe ? `opacity ${Pn}ms ${vn}` : "none",
18279
18279
  pointerEvents: je && De && !Oe ? "auto" : "none",
18280
18280
  touchAction: je && De ? "none" : void 0,
@@ -18290,7 +18290,7 @@ function Lg({
18290
18290
  const Me = Pt(m);
18291
18291
  if (!Me) return { display: "none" };
18292
18292
  const nt = Ae === "far" ? ue === "left" ? "far-left" : "far-right" : ue === "left" ? "left-adjacent" : "right-adjacent", { start: Ft } = ge !== null ? rc(Me, nt, ge, W) : {
18293
- start: Ae === "far" ? hr(Me, ue, W) : zi(Me, ue, W)
18293
+ start: Ae === "far" ? hr(Me, ue, W) : Bi(Me, ue, W)
18294
18294
  }, Xe = jo(Ft, W), st = Ht(m, nt), qt = !Oe && Ae === "adjacent" && De && !oe ? wg(Me, ue, W) : null, Rt = Ae === "far" && Oe && ge === (ue === "left" ? -1 : 1), fn = ve && !$e ? !1 : $e, yn = Ae === "adjacent" && De && oe && !Oe;
18295
18295
  return {
18296
18296
  position: "absolute",
@@ -18307,7 +18307,7 @@ function Lg({
18307
18307
  };
18308
18308
  }, an = (m, ue) => {
18309
18309
  const Ae = Pt(m);
18310
- return Ae ? bg(zi(Ae, ue, W), ue, W) : null;
18310
+ return Ae ? bg(Bi(Ae, ue, W), ue, W) : null;
18311
18311
  }, It = (m) => (ue) => {
18312
18312
  if (!a) {
18313
18313
  if (A.current) {
@@ -18316,7 +18316,7 @@ function Lg({
18316
18316
  }
18317
18317
  ue.stopPropagation(), Lt(m);
18318
18318
  }
18319
- }, Zt = Ue ? an(Ue, "left") : null, yt = ct ? an(ct, "right") : null, zt = Zt ? jo(Zt, W) : null, Xt = yt ? jo(yt, W) : null;
18319
+ }, Zt = Ue ? an(Ue, "left") : null, yt = ct ? an(ct, "right") : null, Bt = Zt ? jo(Zt, W) : null, Xt = yt ? jo(yt, W) : null;
18320
18320
  return /* @__PURE__ */ J(
18321
18321
  "div",
18322
18322
  {
@@ -18422,15 +18422,15 @@ function Lg({
18422
18422
  },
18423
18423
  `prev-${Ue.url}`
18424
18424
  ),
18425
- zt && /* @__PURE__ */ l(
18425
+ Bt && /* @__PURE__ */ l(
18426
18426
  "div",
18427
18427
  {
18428
18428
  style: {
18429
18429
  position: "absolute",
18430
- top: zt.top,
18431
- left: zt.left,
18432
- width: zt.width,
18433
- height: zt.height,
18430
+ top: Bt.top,
18431
+ left: Bt.left,
18432
+ width: Bt.width,
18433
+ height: Bt.height,
18434
18434
  cursor: a || ve ? "default" : "pointer",
18435
18435
  pointerEvents: a || ve ? "none" : "auto",
18436
18436
  zIndex: 3
@@ -18477,7 +18477,7 @@ function Lg({
18477
18477
  },
18478
18478
  `far-next-${Vt.url}`
18479
18479
  ),
18480
- z && N && (je ? /* @__PURE__ */ l(
18480
+ B && N && (je ? /* @__PURE__ */ l(
18481
18481
  Tg,
18482
18482
  {
18483
18483
  src: N.url,
@@ -18514,7 +18514,7 @@ function Ig({
18514
18514
  layoutId: r,
18515
18515
  portalId: a
18516
18516
  }) {
18517
- const { prefix: c } = hn(), { gridLayout: s, verticalGap: d, align: p = "top", imageDisplay: y } = e, b = (y == null ? void 0 : y.display) === "cover", w = (y == null ? void 0 : y.ratioValue) ?? "1:1", f = (y == null ? void 0 : y.reversed) ?? !1, [x, $] = w.split(":").map(Number), P = `${f ? $ : x} / ${f ? x : $}`, H = s.entryWidth ?? 0.2, M = s.columnsCount, B = D(H, n), I = D(s.horizontalGap ?? 0, n), v = B, K = B, g = {
18517
+ const { prefix: c } = hn(), { gridLayout: s, verticalGap: d, align: p = "top", imageDisplay: y } = e, b = (y == null ? void 0 : y.display) === "cover", w = (y == null ? void 0 : y.ratioValue) ?? "1:1", f = (y == null ? void 0 : y.reversed) ?? !1, [x, $] = w.split(":").map(Number), P = `${f ? $ : x} / ${f ? x : $}`, H = s.entryWidth ?? 0.2, M = s.columnsCount, z = D(H, n), I = D(s.horizontalGap ?? 0, n), v = z, K = z, g = {
18518
18518
  width: v,
18519
18519
  ...b ? { aspectRatio: P, height: "auto", overflow: "hidden" } : { height: "auto" }
18520
18520
  }, L = b ? {
@@ -18529,21 +18529,21 @@ function Ig({
18529
18529
  width: "auto",
18530
18530
  height: "auto",
18531
18531
  maxWidth: "100%"
18532
- }, A = ee(null), [V, X] = te(!1), [se, Z] = te([]), [j, F] = te(0), [S, R] = te(0), [G, z] = te(null), [ne, W] = te({
18532
+ }, A = ee(null), [V, X] = te(!1), [se, Z] = te([]), [j, F] = te(0), [S, R] = te(0), [G, B] = te(null), [ne, W] = te({
18533
18533
  title1: "",
18534
18534
  title2: "",
18535
18535
  title3: ""
18536
18536
  }), xe = (() => {
18537
18537
  const Ce = {}, Te = A.current ? getComputedStyle(A.current).getPropertyValue("--cntrl-article-width").trim() : "";
18538
18538
  return Te && (Ce["--cntrl-article-width"] = Te), Ce;
18539
- })(), h = !n || i || o, we = Be(() => og(c), [c]), q = t ?? [], de = q.length % M || M, Le = de < M && q.length > 0, ae = q.length - de, be = Le ? Math.floor((M - de) / 2) + 1 : 1, U = Be(() => pg(q), [q]), $e = Be(() => yg(q), [q]), Se = (Ce, Te, O) => {
18539
+ })(), h = !n || i || o, we = ze(() => og(c), [c]), q = t ?? [], de = q.length % M || M, Le = de < M && q.length > 0, ae = q.length - de, be = Le ? Math.floor((M - de) / 2) + 1 : 1, U = ze(() => pg(q), [q]), $e = ze(() => yg(q), [q]), Se = (Ce, Te, O) => {
18540
18540
  if (n && !o && !i) return;
18541
18541
  const le = U.findIndex((ie) => ie.gridIndex === Ce);
18542
18542
  if (le < 0) return;
18543
18543
  const k = U[le];
18544
- R(le), Z(k.items), F(Te), W(k.entry), z(O ?? null), X(!0);
18544
+ R(le), Z(k.items), F(Te), W(k.entry), B(O ?? null), X(!0);
18545
18545
  }, ge = ye(() => {
18546
- X(!1), z(null);
18546
+ X(!1), B(null);
18547
18547
  }, []), ce = ye(() => {
18548
18548
  const Ce = U[S];
18549
18549
  return !Ce || !A.current ? G : ug(
@@ -18576,7 +18576,7 @@ function Ig({
18576
18576
  ref: A,
18577
18577
  className: `${c}-wrapper ${c}-align-entries ${c}-image-align-${p}`.trim(),
18578
18578
  style: {
18579
- gridTemplateColumns: `repeat(${M}, ${B})`,
18579
+ gridTemplateColumns: `repeat(${M}, ${z})`,
18580
18580
  rowGap: 0,
18581
18581
  columnGap: I,
18582
18582
  width: D(s.wrapperWidth ?? 0, n),
@@ -18605,7 +18605,7 @@ function Ig({
18605
18605
  ie ? `${c}-item-inner-last-row` : ""
18606
18606
  ].filter(Boolean).join(" "),
18607
18607
  style: {
18608
- width: B,
18608
+ width: z,
18609
18609
  ...oe ? { gridColumn: oe } : {}
18610
18610
  },
18611
18611
  children: [
@@ -21088,15 +21088,15 @@ function Mg(e) {
21088
21088
  display: { type: "text-appearance", useTabDesign: !0 }
21089
21089
  }, t;
21090
21090
  }
21091
- const Bi = ni.filter(
21091
+ const zi = ni.filter(
21092
21092
  (e) => e !== "count"
21093
- ), Pg = Bi.reduce(
21093
+ ), Pg = zi.reduce(
21094
21094
  (e, t) => ({
21095
21095
  ...e,
21096
21096
  ...Mg(t)
21097
21097
  }),
21098
21098
  {}
21099
- ), Ag = Bi.reduce(
21099
+ ), Ag = zi.reduce(
21100
21100
  (e, t) => ({
21101
21101
  ...e,
21102
21102
  [Ke(t, "fontFamily")]: "Arial",
@@ -21116,7 +21116,7 @@ const Bi = ni.filter(
21116
21116
  {}
21117
21117
  );
21118
21118
  function Zr(e) {
21119
- return Bi.reduce((t, n) => {
21119
+ return zi.reduce((t, n) => {
21120
21120
  const i = e[`${n}FontSize`], o = e[`${n}LineHeight`];
21121
21121
  return i !== void 0 && (t[Ke(n, "fontSize")] = i), o !== void 0 && (t[Ke(n, "lineHeight")] = o), t;
21122
21122
  }, {});
@@ -21125,7 +21125,7 @@ const kg = {
21125
21125
  type: "tab",
21126
21126
  id: "journalTextStyle",
21127
21127
  tabs: Object.fromEntries(
21128
- Bi.map((e) => [
21128
+ zi.map((e) => [
21129
21129
  qa[e],
21130
21130
  Ka(e)
21131
21131
  ])
@@ -21597,10 +21597,10 @@ const kg = {
21597
21597
  },
21598
21598
  fontSettingsPaths: {
21599
21599
  content: [],
21600
- parameters: [...Bi.map((e) => ({ path: `${Ke(e, "fontFamily")}` }))]
21600
+ parameters: [...zi.map((e) => ({ path: `${Ke(e, "fontFamily")}` }))]
21601
21601
  },
21602
21602
  fontRelations: {
21603
- ...Bi.reduce((e, t) => ({
21603
+ ...zi.reduce((e, t) => ({
21604
21604
  ...e,
21605
21605
  [`${t}FontSettings`]: `${Ke(t, "fontFamily")}`
21606
21606
  }), {})
@@ -21646,7 +21646,7 @@ function Og(e) {
21646
21646
  const t = e.name ?? "";
21647
21647
  return /\.(mp4|webm|ogg|mov)(\?|$)/i.test(t) ? !0 : /\.(mp4|webm|ogg|mov)(\?|$)/i.test(e.url);
21648
21648
  }
21649
- function zg({
21649
+ function Bg({
21650
21650
  media: e,
21651
21651
  className: t,
21652
21652
  style: n
@@ -21685,7 +21685,7 @@ function zg({
21685
21685
  function rr(e) {
21686
21686
  return `calc(var(--cntrl-article-width, 100vw) * ${e / 1440})`;
21687
21687
  }
21688
- function Bg(e) {
21688
+ function zg(e) {
21689
21689
  return String(e ?? "").trim().length > 0;
21690
21690
  }
21691
21691
  function Nl(e, t) {
@@ -21696,7 +21696,7 @@ function Ol(e, t) {
21696
21696
  const n = e.currentTarget, i = n.getBoundingClientRect(), o = e.clientY < i.top + i.height / 2;
21697
21697
  n.classList.toggle(`${t}-reveal-from-bottom`, o);
21698
21698
  }
21699
- function zl(e, t, n, i, o, r, a) {
21699
+ function Bl(e, t, n, i, o, r, a) {
21700
21700
  const c = D(r, a), s = D(0, a), d = e === 0, p = e === t - 1 && !o;
21701
21701
  return { borderTopWidth: d && n ? c : s, borderBottomWidth: !p || i ? c : s };
21702
21702
  }
@@ -21707,7 +21707,7 @@ function Dg(e, t, n) {
21707
21707
  borderBottomWidth: e ? i : o
21708
21708
  };
21709
21709
  }
21710
- const Bl = 10;
21710
+ const zl = 10;
21711
21711
  function Vg(e) {
21712
21712
  return `
21713
21713
  .${e}-wrapper {
@@ -22154,9 +22154,9 @@ const ii = [
22154
22154
  "CColumn",
22155
22155
  "DColumn",
22156
22156
  "EColumn"
22157
- ], Bn = "cutLabel", xo = [
22157
+ ], zn = "cutLabel", xo = [
22158
22158
  ...Ya,
22159
- Bn
22159
+ zn
22160
22160
  ], kr = ["A", "B", "C", "D", "E"];
22161
22161
  function lc(e) {
22162
22162
  return `${e}ColumnVerticalAlign`;
@@ -22325,7 +22325,7 @@ function fr(e, t) {
22325
22325
  textLineHeight: n("textLineHeight"),
22326
22326
  textLetterSpacing: n("textLetterSpacing") ?? 0,
22327
22327
  textWordSpacing: n("textWordSpacing") ?? 0,
22328
- textTextAlign: n("textTextAlign") ?? (t === Bn ? "center" : "left"),
22328
+ textTextAlign: n("textTextAlign") ?? (t === zn ? "center" : "left"),
22329
22329
  textTextAppearance: n("textTextAppearance"),
22330
22330
  textColor: e.textColor
22331
22331
  };
@@ -22564,7 +22564,7 @@ function fh(e, t, n) {
22564
22564
  const o = dc(n == null ? void 0 : n.designWidth), r = e.columns, a = t.columns, c = co(e), s = co(t), d = e.type === "b" || e.type === void 0 && t.type === "b", p = typeof r == "number" ? r : typeof a == "number" ? a : ii.length, y = (P) => {
22565
22565
  if (d)
22566
22566
  return P;
22567
- const H = qo({ ...t, ...P }), M = co(P), B = ar(p, M, H), I = uh(p, B, {
22567
+ const H = qo({ ...t, ...P }), M = co(P), z = ar(p, M, H), I = uh(p, z, {
22568
22568
  ...t,
22569
22569
  ...P
22570
22570
  });
@@ -22665,7 +22665,7 @@ function wh({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
22665
22665
  cutCellMinHeight: P,
22666
22666
  cutLabel: H,
22667
22667
  imageSize: M,
22668
- imageOnHover: B,
22668
+ imageOnHover: z,
22669
22669
  entryHoverEffect: I,
22670
22670
  entryHoverShowOption: v,
22671
22671
  rowPaddingTop: K,
@@ -22679,7 +22679,7 @@ function wh({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
22679
22679
  textHoverColor: j,
22680
22680
  backgroundHoverColor: F,
22681
22681
  dividerHoverColor: S
22682
- } = e, [R, G] = te(void 0), [z, ne] = te(null), W = B === "on" && (!n || i), xe = (T ?? 0) > 0, h = y === "b", we = ee(null), q = ee(null), [de, Le] = te(null), [ae, be] = te(So), U = dc(ae), $e = Math.max(0, ((b ?? 0) - U) / 2), Se = Math.min(V ?? 0, $e), ge = Math.max(Se, Ei), ce = ((b ?? 0) + U) / 2;
22682
+ } = e, [R, G] = te(void 0), [B, ne] = te(null), W = z === "on" && (!n || i), xe = (T ?? 0) > 0, h = y === "b", we = ee(null), q = ee(null), [de, Le] = te(null), [ae, be] = te(So), U = dc(ae), $e = Math.max(0, ((b ?? 0) - U) / 2), Se = Math.min(V ?? 0, $e), ge = Math.max(Se, Ei), ce = ((b ?? 0) + U) / 2;
22683
22683
  Dt(() => {
22684
22684
  if (!n) {
22685
22685
  be(So);
@@ -22734,7 +22734,7 @@ function wh({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
22734
22734
  );
22735
22735
  ie.current = e, mc(e, Ze) && c(Ze);
22736
22736
  }, [e, c, n, a, ae]);
22737
- const me = Be(
22737
+ const me = ze(
22738
22738
  () => bh(e),
22739
22739
  [
22740
22740
  e.AColumnWidth,
@@ -22743,7 +22743,7 @@ function wh({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
22743
22743
  e.DColumnWidth,
22744
22744
  e.EColumnWidth
22745
22745
  ]
22746
- ), he = Be(
22746
+ ), he = ze(
22747
22747
  () => ta(e, Di),
22748
22748
  [
22749
22749
  e.AColumnPaddingLeft,
@@ -22752,7 +22752,7 @@ function wh({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
22752
22752
  e.DColumnPaddingLeft,
22753
22753
  e.EColumnPaddingLeft
22754
22754
  ]
22755
- ), ve = Be(
22755
+ ), ve = ze(
22756
22756
  () => ta(e, Vi),
22757
22757
  [
22758
22758
  e.AColumnPaddingRight,
@@ -22761,7 +22761,7 @@ function wh({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
22761
22761
  e.DColumnPaddingRight,
22762
22762
  e.EColumnPaddingRight
22763
22763
  ]
22764
- ), Ee = Be(
22764
+ ), Ee = ze(
22765
22765
  () => ta(e, ji),
22766
22766
  [
22767
22767
  e.AColumnPaddingBottom,
@@ -22770,7 +22770,7 @@ function wh({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
22770
22770
  e.DColumnPaddingBottom,
22771
22771
  e.EColumnPaddingBottom
22772
22772
  ]
22773
- ), Q = Be(() => Array.isArray(A) && A.length > 0 ? A : [...ii], [A]), fe = Be(
22773
+ ), Q = ze(() => Array.isArray(A) && A.length > 0 ? A : [...ii], [A]), fe = ze(
22774
22774
  () => xh(
22775
22775
  Q,
22776
22776
  p,
@@ -22780,23 +22780,23 @@ function wh({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
22780
22780
  Ee
22781
22781
  ),
22782
22782
  [Q, p, me, he, ve, Ee]
22783
- ), He = co(e), re = Be(
22783
+ ), He = co(e), re = ze(
22784
22784
  () => Tn.slice(0, p).map((Ie) => me[Ie]),
22785
22785
  [p, me]
22786
- ), N = Be(
22786
+ ), N = ze(
22787
22787
  () => Qa(p, He, me),
22788
22788
  [p, He, me]
22789
- ), je = Be(
22789
+ ), je = ze(
22790
22790
  () => ar(p, He, me),
22791
22791
  [p, He, me]
22792
- ), Oe = Be(
22792
+ ), Oe = ze(
22793
22793
  () => fe.map((Ie, Ge) => pc(
22794
22794
  je[Ge] ?? 0,
22795
22795
  Ie.paddingLeft,
22796
22796
  Ie.paddingRight
22797
22797
  )),
22798
22798
  [fe, je]
22799
- ), rt = Be(() => {
22799
+ ), rt = ze(() => {
22800
22800
  const Ie = w === 0 ? 1 / 0 : w;
22801
22801
  return (t ?? []).slice(0, Ie).map((Ze, De) => ({
22802
22802
  id: De,
@@ -22806,7 +22806,7 @@ function wh({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
22806
22806
  image: Ze.image,
22807
22807
  link: Ze.link
22808
22808
  }));
22809
- }, [t, w]), tt = xe ? R ?? T : rt.length, pt = Be(() => xe ? rt.slice(0, tt) : rt, [rt, xe, tt]), bt = xe && tt < rt.length, Ue = pt.length > 1 || bt, ct = [
22809
+ }, [t, w]), tt = xe ? R ?? T : rt.length, pt = ze(() => xe ? rt.slice(0, tt) : rt, [rt, xe, tt]), bt = xe && tt < rt.length, Ue = pt.length > 1 || bt, ct = [
22810
22810
  le ? `${s}-divider-top` : "",
22811
22811
  k || Ue ? `${s}-divider-bottom` : ""
22812
22812
  ].filter(Boolean).join(" "), Et = !n || i, dt = () => {
@@ -22817,7 +22817,7 @@ function wh({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
22817
22817
  return;
22818
22818
  }
22819
22819
  G(Math.min(Ie + E, rt.length));
22820
- }, Qe = (Ie) => D(Ie, n ?? !1), wt = h ? L ?? 0 : K ?? 0, Tt = g ?? 0, ht = f ?? 0, _t = wt + ht / 2, Vt = Math.max(Tt, ea), ot = zl(
22820
+ }, Qe = (Ie) => D(Ie, n ?? !1), wt = h ? L ?? 0 : K ?? 0, Tt = g ?? 0, ht = f ?? 0, _t = wt + ht / 2, Vt = Math.max(Tt, ea), ot = Bl(
22821
22821
  0,
22822
22822
  pt.length,
22823
22823
  le,
@@ -22831,8 +22831,8 @@ function wh({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
22831
22831
  return { x: 0, y: 0 };
22832
22832
  const Ze = Ge.getBoundingClientRect();
22833
22833
  return {
22834
- x: Ie.clientX - Ze.left + Bl,
22835
- y: Ie.clientY - Ze.top + Bl
22834
+ x: Ie.clientX - Ze.left + zl,
22835
+ y: Ie.clientY - Ze.top + zl
22836
22836
  };
22837
22837
  }, un = (Ie, Ge) => {
22838
22838
  if (!W) return;
@@ -22841,7 +22841,7 @@ function wh({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
22841
22841
  ne(null);
22842
22842
  return;
22843
22843
  }
22844
- const { x: De, y: qe } = sn(Ge), ft = (M == null ? void 0 : M.min) ?? 80, ze = (M == null ? void 0 : M.max) ?? 320, it = (z == null ? void 0 : z.rowId) === Ie.id ? z.widthPx : vh(ft, ze);
22844
+ const { x: De, y: qe } = sn(Ge), ft = (M == null ? void 0 : M.min) ?? 80, Be = (M == null ? void 0 : M.max) ?? 320, it = (B == null ? void 0 : B.rowId) === Ie.id ? B.widthPx : vh(ft, Be);
22845
22845
  ne({
22846
22846
  rowId: Ie.id,
22847
22847
  url: Ze.url,
@@ -22852,7 +22852,7 @@ function wh({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
22852
22852
  y: qe
22853
22853
  });
22854
22854
  }, Lt = (Ie) => {
22855
- if (!W || !z) return;
22855
+ if (!W || !B) return;
22856
22856
  const { x: Ge, y: Ze } = sn(Ie);
22857
22857
  ne((De) => !De || De.x === Ge && De.y === Ze ? De : { ...De, x: Ge, y: Ze });
22858
22858
  }, Wt = () => {
@@ -22878,8 +22878,8 @@ function wh({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
22878
22878
  Le(null);
22879
22879
  return;
22880
22880
  }
22881
- const ft = Ge.getBoundingClientRect(), ze = qe.getBoundingClientRect();
22882
- Le(ze.top - ft.top + ze.height / 2);
22881
+ const ft = Ge.getBoundingClientRect(), Be = qe.getBoundingClientRect();
22882
+ Le(Be.top - ft.top + Be.height / 2);
22883
22883
  };
22884
22884
  Ze();
22885
22885
  const De = new ResizeObserver(Ze);
@@ -22901,7 +22901,7 @@ function wh({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
22901
22901
  k,
22902
22902
  bt
22903
22903
  ]);
22904
- const St = Be(
22904
+ const St = ze(
22905
22905
  () => !h && Ya.some((Ie) => {
22906
22906
  const Ge = Ie.charAt(0), Ze = e[`${Ie}VerticalAlign`];
22907
22907
  return cc(Ze, e, Ge);
@@ -22923,8 +22923,8 @@ function wh({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
22923
22923
  const Ge = () => {
22924
22924
  Ie.querySelectorAll("[data-list-col]").forEach((at) => {
22925
22925
  at.style.transform = "";
22926
- const Bt = at.querySelector(`.${s}-list-col`);
22927
- Bt && (Bt.style.minHeight = "", Bt.style.height = "");
22926
+ const zt = at.querySelector(`.${s}-list-col`);
22927
+ zt && (zt.style.minHeight = "", zt.style.height = "");
22928
22928
  const Mt = at.querySelector(`.${s}-list-col-title`);
22929
22929
  Mt && (Mt.style.transform = "");
22930
22930
  });
@@ -22934,18 +22934,18 @@ function wh({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
22934
22934
  return;
22935
22935
  }
22936
22936
  const Ze = () => {
22937
- const at = Array.from(Ie.querySelectorAll("[data-list-row]")), Bt = `${s}-list-col`, Mt = `${s}-baseline-probe`;
22937
+ const at = Array.from(Ie.querySelectorAll("[data-list-row]")), zt = `${s}-list-col`, Mt = `${s}-baseline-probe`;
22938
22938
  at.forEach((mt) => {
22939
22939
  mt.querySelectorAll("[data-list-col]").forEach((jt) => {
22940
22940
  jt.style.transform = "";
22941
- const Ot = jt.querySelector(`.${Bt}`);
22941
+ const Ot = jt.querySelector(`.${zt}`);
22942
22942
  Ot && (Ot.style.minHeight = "", Ot.style.height = "");
22943
22943
  const Jt = jt.querySelector(`.${s}-list-col-title`);
22944
22944
  Jt && (Jt.style.transform = "");
22945
22945
  });
22946
22946
  }), at.forEach((mt) => {
22947
22947
  const jt = Array.from(mt.querySelectorAll("[data-list-col]"));
22948
- Qg(mt, jt, Bt);
22948
+ Qg(mt, jt, zt);
22949
22949
  }), Ie.offsetHeight, at.forEach((mt) => {
22950
22950
  const jt = Array.from(mt.querySelectorAll("[data-list-col]")), Ot = mt.getBoundingClientRect().top, Jt = /* @__PURE__ */ new Map(), Ut = jt.map((It) => {
22951
22951
  const Zt = It.querySelector(`.${s}-list-col-title`), yt = {
@@ -22959,30 +22959,30 @@ function wh({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
22959
22959
  }), Nt = /* @__PURE__ */ new Map(), an = (It, Zt) => {
22960
22960
  const yt = Nt.get(It.letter);
22961
22961
  if (yt !== void 0) return yt;
22962
- const zt = It.anchor ? Jt.get(It.anchor) : void 0;
22963
- if (It.kind !== "baseline" || !zt || Zt.has(It.letter)) {
22962
+ const Bt = It.anchor ? Jt.get(It.anchor) : void 0;
22963
+ if (It.kind !== "baseline" || !Bt || Zt.has(It.letter)) {
22964
22964
  const Me = Qr(
22965
22965
  It,
22966
22966
  Ot,
22967
- Bt,
22967
+ zt,
22968
22968
  Mt
22969
22969
  );
22970
22970
  return Nt.set(It.letter, Me), Me;
22971
22971
  }
22972
22972
  Zt.add(It.letter);
22973
- const Xt = an(zt, Zt);
22973
+ const Xt = an(Bt, Zt);
22974
22974
  Zt.delete(It.letter);
22975
22975
  const m = Qr(
22976
22976
  It,
22977
22977
  Ot,
22978
- Bt,
22978
+ zt,
22979
22979
  Mt
22980
22980
  ), ue = Xt - m;
22981
22981
  eh(It.titleEl, ue);
22982
22982
  const Ae = Qr(
22983
22983
  It,
22984
22984
  Ot,
22985
- Bt,
22985
+ zt,
22986
22986
  Mt
22987
22987
  );
22988
22988
  return Nt.set(It.letter, Ae), Ae;
@@ -22999,11 +22999,11 @@ function wh({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
22999
22999
  Ze();
23000
23000
  const ft = new ResizeObserver(() => qe());
23001
23001
  ft.observe(Ie);
23002
- let ze = !1;
23002
+ let Be = !1;
23003
23003
  return typeof document < "u" && ((it = document.fonts) != null && it.ready) && document.fonts.ready.then(() => {
23004
- ze || qe();
23004
+ Be || qe();
23005
23005
  }), () => {
23006
- ze = !0, De !== null && (cancelAnimationFrame(De), De = null), ft.disconnect(), Ge();
23006
+ Be = !0, De !== null && (cancelAnimationFrame(De), De = null), ft.disconnect(), Ge();
23007
23007
  };
23008
23008
  }, [
23009
23009
  St,
@@ -23014,7 +23014,7 @@ function wh({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
23014
23014
  pt,
23015
23015
  je
23016
23016
  ]);
23017
- const rn = Be(() => Vg(s), [s]);
23017
+ const rn = ze(() => Vg(s), [s]);
23018
23018
  return /* @__PURE__ */ J(lt, { children: [
23019
23019
  /* @__PURE__ */ l("style", { dangerouslySetInnerHTML: { __html: rn } }),
23020
23020
  /* @__PURE__ */ l("div", { style: Pe, children: /* @__PURE__ */ J(
@@ -23032,7 +23032,7 @@ function wh({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
23032
23032
  /* @__PURE__ */ J("div", { style: { width: "100%", position: "relative" }, children: [
23033
23033
  pt.map((Ie, Ge) => {
23034
23034
  var ft;
23035
- const Ze = (((ft = Ie.link) == null ? void 0 : ft.length) ?? 0) > 0, De = Ze && (!n || i) ? "a" : "div", qe = zl(
23035
+ const Ze = (((ft = Ie.link) == null ? void 0 : ft.length) ?? 0) > 0, De = Ze && (!n || i) ? "a" : "div", qe = Bl(
23036
23036
  Ge,
23037
23037
  pt.length,
23038
23038
  le,
@@ -23044,17 +23044,17 @@ function wh({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
23044
23044
  return /* @__PURE__ */ J(
23045
23045
  De,
23046
23046
  {
23047
- ref: Ge === 0 ? (ze) => {
23048
- q.current = ze;
23047
+ ref: Ge === 0 ? (Be) => {
23048
+ q.current = Be;
23049
23049
  } : void 0,
23050
23050
  className: `${s}-list-item${Ze || v === "always" ? ` ${s}-list-item-has-link` : ""}`,
23051
23051
  ...Ze ? { href: Ie.link, target: "_blank" } : {},
23052
23052
  style: qe,
23053
- onMouseEnter: (ze) => {
23054
- O && (Ze || v === "always") && Nl(ze, s), W && un(Ie, ze);
23053
+ onMouseEnter: (Be) => {
23054
+ O && (Ze || v === "always") && Nl(Be, s), W && un(Ie, Be);
23055
23055
  },
23056
- onMouseLeave: (ze) => {
23057
- O && (Ze || v === "always") && Ol(ze, s);
23056
+ onMouseLeave: (Be) => {
23057
+ O && (Ze || v === "always") && Ol(Be, s);
23058
23058
  },
23059
23059
  children: [
23060
23060
  wt > 0 && /* @__PURE__ */ l(
@@ -23071,17 +23071,17 @@ function wh({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
23071
23071
  ...h ? {} : { "data-list-row": "" },
23072
23072
  style: h ? void 0 : { minHeight: Qe(ht) },
23073
23073
  children: [
23074
- fe.map((ze, it) => {
23075
- const at = it === fe.length - 1, Bt = Oe[it], Mt = ze.paddingBottom, mt = Bg(Ie.cells[ze.key]), jt = h && mt && Mt > 0, Ot = h ? { minHeight: Qe(ht) } : { width: Qe(je[it]) }, Jt = h ? {
23074
+ fe.map((Be, it) => {
23075
+ const at = it === fe.length - 1, zt = Oe[it], Mt = Be.paddingBottom, mt = zg(Ie.cells[Be.key]), jt = h && mt && Mt > 0, Ot = h ? { minHeight: Qe(ht) } : { width: Qe(je[it]) }, Jt = h ? {
23076
23076
  paddingLeft: Qe(Se),
23077
23077
  paddingRight: Qe(Se)
23078
23078
  } : {
23079
- paddingLeft: Qe(Bt.paddingLeft),
23080
- paddingRight: Qe(Bt.paddingRight)
23081
- }, Ut = ze.textPrefix.charAt(0), Nt = h ? Kg(
23082
- e[`${ze.textPrefix}VerticalAlign`]
23079
+ paddingLeft: Qe(zt.paddingLeft),
23080
+ paddingRight: Qe(zt.paddingRight)
23081
+ }, Ut = Be.textPrefix.charAt(0), Nt = h ? Kg(
23082
+ e[`${Be.textPrefix}VerticalAlign`]
23083
23083
  ) : qg(
23084
- e[`${ze.textPrefix}VerticalAlign`],
23084
+ e[`${Be.textPrefix}VerticalAlign`],
23085
23085
  e,
23086
23086
  Ut
23087
23087
  ), an = h && mt && d && Ge === 0;
@@ -23105,22 +23105,22 @@ function wh({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
23105
23105
  ...Ot,
23106
23106
  ...h ? { justifyContent: Dl(Nt.kind) } : {}
23107
23107
  },
23108
- "data-test": ze.width,
23108
+ "data-test": Be.width,
23109
23109
  children: /* @__PURE__ */ l(
23110
23110
  "span",
23111
23111
  {
23112
23112
  className: jl(
23113
23113
  e,
23114
- ze.textPrefix,
23114
+ Be.textPrefix,
23115
23115
  `${s}-list-col-title`,
23116
23116
  `${s}-text-tight-leading`
23117
23117
  ),
23118
23118
  style: {
23119
- ...Vl(fr(e, ze.textPrefix), n),
23120
- ...Gl(e, ze.textPrefix, s, n),
23119
+ ...Vl(fr(e, Be.textPrefix), n),
23120
+ ...Gl(e, Be.textPrefix, s, n),
23121
23121
  ...h ? {} : Xg(Nt.kind)
23122
23122
  },
23123
- children: Ie.cells[ze.key] ?? null
23123
+ children: Ie.cells[Be.key] ?? null
23124
23124
  }
23125
23125
  )
23126
23126
  }
@@ -23136,7 +23136,7 @@ function wh({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
23136
23136
  dn,
23137
23137
  {
23138
23138
  centerXHitTop: `var(--${s}-first-entry-handle-top, 50%)`,
23139
- "data-controls": ze.paddingBottomKey,
23139
+ "data-controls": Be.paddingBottomKey,
23140
23140
  "data-controls-static-handle": "",
23141
23141
  "data-controls-axis": "y",
23142
23142
  "data-controls-variant": "column-padding",
@@ -23154,7 +23154,7 @@ function wh({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
23154
23154
  )
23155
23155
  ]
23156
23156
  },
23157
- ze.key
23157
+ Be.key
23158
23158
  );
23159
23159
  }),
23160
23160
  d && Ge === 0 && h && /* @__PURE__ */ J(lt, { children: [
@@ -23311,7 +23311,7 @@ function wh({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
23311
23311
  )
23312
23312
  ] }, "column-edge-padding-handles"),
23313
23313
  d && !h && fe.slice(0, -1).map((Ie, Ge) => {
23314
- const Ze = fe[Ge + 1], De = N.slice(0, Ge + 1).reduce((at, Bt) => at + Bt, 0), qe = Oe[Ge], ft = Oe[Ge + 1], ze = Math.max(
23314
+ const Ze = fe[Ge + 1], De = N.slice(0, Ge + 1).reduce((at, zt) => at + zt, 0), qe = Oe[Ge], ft = Oe[Ge + 1], Be = Math.max(
23315
23315
  qe.paddingRight,
23316
23316
  Ei
23317
23317
  ), it = Math.max(
@@ -23337,8 +23337,8 @@ function wh({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
23337
23337
  areaStyle: {
23338
23338
  position: "absolute",
23339
23339
  top: 0,
23340
- left: Qe(De - ze),
23341
- width: Qe(ze),
23340
+ left: Qe(De - Be),
23341
+ width: Qe(Be),
23342
23342
  height: "100%"
23343
23343
  }
23344
23344
  }
@@ -23374,7 +23374,7 @@ function wh({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
23374
23374
  N,
23375
23375
  re,
23376
23376
  He
23377
- ), qe = N.slice(0, Ge + 1).reduce((ft, ze) => ft + ze, 0) - ql / 2;
23377
+ ), qe = N.slice(0, Ge + 1).reduce((ft, Be) => ft + Be, 0) - ql / 2;
23378
23378
  return /* @__PURE__ */ l("div", { style: { position: "absolute", inset: 0, pointerEvents: "none" }, children: /* @__PURE__ */ l(
23379
23379
  "div",
23380
23380
  {
@@ -23398,7 +23398,7 @@ function wh({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
23398
23398
  })
23399
23399
  ] }),
23400
23400
  bt && (() => {
23401
- const Ie = fr(e, Bn), Ge = Yg(e.cutLabelVerticalAlign), Ze = Ie.textTextAlign === "justify" || h;
23401
+ const Ie = fr(e, zn), Ge = Yg(e.cutLabelVerticalAlign), Ze = Ie.textTextAlign === "justify" || h;
23402
23402
  return /* @__PURE__ */ l(
23403
23403
  "button",
23404
23404
  {
@@ -23433,13 +23433,13 @@ function wh({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
23433
23433
  {
23434
23434
  className: jl(
23435
23435
  e,
23436
- Bn,
23436
+ zn,
23437
23437
  `${s}-cut-label`,
23438
23438
  `${s}-text-tight-leading`
23439
23439
  ),
23440
23440
  style: {
23441
23441
  ...Vl(Ie, n),
23442
- ...Gl(e, Bn, s, n),
23442
+ ...Gl(e, zn, s, n),
23443
23443
  ...Ze ? { width: "100%" } : {}
23444
23444
  },
23445
23445
  children: H
@@ -23450,24 +23450,24 @@ function wh({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
23450
23450
  }
23451
23451
  );
23452
23452
  })(),
23453
- W && z && (() => {
23454
- const Ie = rr(z.widthPx), Ge = {
23453
+ W && B && (() => {
23454
+ const Ie = rr(B.widthPx), Ge = {
23455
23455
  width: Ie,
23456
23456
  height: "auto",
23457
23457
  maxHeight: Ie,
23458
23458
  objectFit: "contain",
23459
- left: z.x,
23460
- top: z.y,
23459
+ left: B.x,
23460
+ top: B.y,
23461
23461
  position: "absolute"
23462
23462
  };
23463
23463
  return /* @__PURE__ */ l(
23464
- zg,
23464
+ Bg,
23465
23465
  {
23466
- media: z,
23467
- className: z.isVideo ? `${s}-hover-video` : `${s}-hover-image`,
23466
+ media: B,
23467
+ className: B.isVideo ? `${s}-hover-video` : `${s}-hover-image`,
23468
23468
  style: Ge
23469
23469
  },
23470
- `${z.rowId}-${z.url}`
23470
+ `${B.rowId}-${B.url}`
23471
23471
  );
23472
23472
  })()
23473
23473
  ]
@@ -26523,7 +26523,7 @@ function Xl(e = {}) {
26523
26523
  }
26524
26524
  function Lh(e) {
26525
26525
  const t = {};
26526
- if (e === Bn)
26526
+ if (e === zn)
26527
26527
  t[`${e}VerticalAlign`] = {
26528
26528
  type: "string",
26529
26529
  scope: "layout",
@@ -26602,7 +26602,7 @@ const Ih = xo.reduce(
26602
26602
  );
26603
26603
  function Rh(e) {
26604
26604
  return {
26605
- verticalAlign: e === Bn ? "Center" : "Top",
26605
+ verticalAlign: e === zn ? "Center" : "Top",
26606
26606
  textFontFamily: "Arial",
26607
26607
  textFontSettings: {
26608
26608
  fontWeight: 400,
@@ -26610,7 +26610,7 @@ function Rh(e) {
26610
26610
  },
26611
26611
  textLetterSpacing: 0,
26612
26612
  textWordSpacing: 0,
26613
- textTextAlign: e === Bn ? "center" : "left",
26613
+ textTextAlign: e === zn ? "center" : "left",
26614
26614
  textTextAppearance: {
26615
26615
  textTransform: "none",
26616
26616
  textDecoration: "none",
@@ -26690,7 +26690,7 @@ const Wh = [
26690
26690
  "backgroundHoverColor",
26691
26691
  "dividerHoverColor"
26692
26692
  ];
26693
- gc(Bn);
26693
+ gc(zn);
26694
26694
  const Fh = [
26695
26695
  ...Qi.flatMap((e) => [
26696
26696
  `${e}ColumnWidth`,
@@ -27267,7 +27267,7 @@ const Fh = [
27267
27267
  },
27268
27268
  schema: Nh,
27269
27269
  sourceCode: Sh
27270
- }, Jl = 300, Gn = 4e-3, zh = {
27270
+ }, Jl = 300, Gn = 4e-3, Bh = {
27271
27271
  questionColor: "question-color",
27272
27272
  answerColor: "answer-color",
27273
27273
  dividerColor: "divider-color",
@@ -27276,7 +27276,7 @@ const Fh = [
27276
27276
  iconHoverColor: "icon-hover-color",
27277
27277
  iconActiveColor: "icon-active-color",
27278
27278
  dividerHoverColor: "divider-hover-color"
27279
- }, Bh = ["hover", "focus", "filled", "success", "error"];
27279
+ }, zh = ["hover", "focus", "filled", "success", "error"];
27280
27280
  function Dh(e) {
27281
27281
  return `calc(var(--cntrl-article-width, 100vw) * ${e / 1440})`;
27282
27282
  }
@@ -27516,7 +27516,7 @@ function jh({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
27516
27516
  answerColor: P = "#000000",
27517
27517
  dividerColor: H = "#0000001F",
27518
27518
  iconColor: M = "#000000",
27519
- questionHoverColor: B = "#666666",
27519
+ questionHoverColor: z = "#666666",
27520
27520
  iconHoverColor: I = "#666666",
27521
27521
  iconActiveColor: v = "#000000",
27522
27522
  dividerHoverColor: K = "#000000",
@@ -27532,7 +27532,7 @@ function jh({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
27532
27532
  answerFontSize: S,
27533
27533
  answerLineHeight: R,
27534
27534
  answerLetterSpacing: G,
27535
- answerWordSpacing: z,
27535
+ answerWordSpacing: B,
27536
27536
  answerTextAppearance: ne,
27537
27537
  questionPaddingLeft: W = 0,
27538
27538
  questionPaddingTop: xe = 0,
@@ -27547,7 +27547,7 @@ function jh({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
27547
27547
  }, [w]), We(() => {
27548
27548
  n && !o && !i && U(/* @__PURE__ */ new Set());
27549
27549
  }, [n, o, i]);
27550
- const Se = (Qe) => D(Qe, n ?? !1), ge = Math.max(W, Gn), ce = Math.max(xe, Gn), Pe = Math.max(h, Gn), Fe = Math.max(we, Gn), Ce = Math.max(q, Gn), Te = Math.max(de, Gn), O = Math.max(Le, Gn), le = Math.max(0, (s ?? 1) - $ - x), k = Math.max(0, (s ?? 1) - q), ie = Math.max(0, (s ?? 1) - we), oe = Math.max($, Gn), me = Math.max(0, (s ?? 1) - W - x), he = Be(() => be.size === 0 ? 0 : Math.min(...be), [be]), ve = ye((Qe) => be.has(Qe), [be]), Ee = $e && b === "default" ? `${a}-entry-hover-default` : "", Q = f ?? "", fe = Q !== "", He = T.replace(/^rotate /, ""), re = `${a}-icon-anim-${He}`, N = $n(ln(
27550
+ const Se = (Qe) => D(Qe, n ?? !1), ge = Math.max(W, Gn), ce = Math.max(xe, Gn), Pe = Math.max(h, Gn), Fe = Math.max(we, Gn), Ce = Math.max(q, Gn), Te = Math.max(de, Gn), O = Math.max(Le, Gn), le = Math.max(0, (s ?? 1) - $ - x), k = Math.max(0, (s ?? 1) - q), ie = Math.max(0, (s ?? 1) - we), oe = Math.max($, Gn), me = Math.max(0, (s ?? 1) - W - x), he = ze(() => be.size === 0 ? 0 : Math.min(...be), [be]), ve = ye((Qe) => be.has(Qe), [be]), Ee = $e && b === "default" ? `${a}-entry-hover-default` : "", Q = f ?? "", fe = Q !== "", He = T.replace(/^rotate /, ""), re = `${a}-icon-anim-${He}`, N = $n(ln(
27551
27551
  es(
27552
27552
  g,
27553
27553
  L,
@@ -27566,7 +27566,7 @@ function jh({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
27566
27566
  S,
27567
27567
  R,
27568
27568
  G,
27569
- z,
27569
+ B,
27570
27570
  ne,
27571
27571
  P
27572
27572
  ),
@@ -27586,11 +27586,11 @@ function jh({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
27586
27586
  answerColor: P,
27587
27587
  dividerColor: H,
27588
27588
  iconColor: M,
27589
- questionHoverColor: B,
27589
+ questionHoverColor: z,
27590
27590
  iconHoverColor: I,
27591
27591
  iconActiveColor: v,
27592
27592
  dividerHoverColor: K
27593
- }, zh, Bh), Ue = r && r !== "default" ? `${a}-state-${r}` : "", ct = ye((Qe) => {
27593
+ }, Bh, zh), Ue = r && r !== "default" ? `${a}-state-${r}` : "", ct = ye((Qe) => {
27594
27594
  $e && U((wt) => {
27595
27595
  if (wt.has(Qe)) {
27596
27596
  const ht = new Set(wt);
@@ -27601,7 +27601,7 @@ function jh({ settings: e, content: t, isEditor: n, isPreviewMode: i, isEditMode
27601
27601
  const Tt = new Set(wt);
27602
27602
  return Tt.add(Qe), Tt;
27603
27603
  });
27604
- }, [$e, w]), Et = Be(() => Vh(a), [a]), dt = {
27604
+ }, [$e, w]), Et = ze(() => Vh(a), [a]), dt = {
27605
27605
  [`--${a}-divider-width`]: D(p, n ?? !1),
27606
27606
  [`--${a}-divider-style`]: y,
27607
27607
  [`--${a}-icon-max-width`]: D(x, n ?? !1),
@@ -29230,7 +29230,7 @@ const ts = {
29230
29230
  }) => {
29231
29231
  const [o, r] = te(0), [a, c] = te(!1), s = ee(null), d = ee(0);
29232
29232
  d.current = o;
29233
- const p = Be(() => typeof window > "u" ? ns : Math.max(ns, window.innerHeight * Xh), []), y = ye((g) => Math.max(0, 1 - g / (p * 1.5)), [p]), b = ye((g) => Math.max(0, 1 - g / (p * 0.45)), [p]), w = ye((g) => {
29233
+ const p = ze(() => typeof window > "u" ? ns : Math.max(ns, window.innerHeight * Xh), []), y = ye((g) => Math.max(0, 1 - g / (p * 1.5)), [p]), b = ye((g) => Math.max(0, 1 - g / (p * 0.45)), [p]), w = ye((g) => {
29234
29234
  const L = typeof window < "u" ? window.innerHeight : 800, A = Math.max(0.88, 1 - g / L * 0.12);
29235
29235
  return `translateY(${g}px) scale(${A})`;
29236
29236
  }, []), f = ye(() => {
@@ -29280,9 +29280,9 @@ const ts = {
29280
29280
  P(g);
29281
29281
  }, [P]), M = ye((g) => {
29282
29282
  P(g);
29283
- }, [P]), B = o > 0, I = a ? `transform ${n}ms ease` : "none", v = a ? `opacity ${n}ms ease` : "none", K = o > 0 || a;
29283
+ }, [P]), z = o > 0, I = a ? `transform ${n}ms ease` : "none", v = a ? `opacity ${n}ms ease` : "none", K = o > 0 || a;
29284
29284
  return {
29285
- isSwipeDragging: B,
29285
+ isSwipeDragging: z,
29286
29286
  backdropStyle: {
29287
29287
  opacity: y(o),
29288
29288
  transition: v
@@ -29290,8 +29290,8 @@ const ts = {
29290
29290
  mediaAreaStyle: {
29291
29291
  transform: w(o),
29292
29292
  transition: I,
29293
- touchAction: B ? "none" : void 0,
29294
- willChange: B ? "transform" : void 0
29293
+ touchAction: z ? "none" : void 0,
29294
+ willChange: z ? "transform" : void 0
29295
29295
  },
29296
29296
  overlayContentStyle: K ? {
29297
29297
  opacity: b(o),
@@ -29304,7 +29304,7 @@ const ts = {
29304
29304
  onPointerCancel: M
29305
29305
  } : {},
29306
29306
  dismissAreaStyle: e ? {
29307
- touchAction: B ? "none" : "pan-x"
29307
+ touchAction: z ? "none" : "pan-x"
29308
29308
  } : void 0
29309
29309
  };
29310
29310
  }, Yh = "[data-lightbox-scrollable]", fc = () => {
@@ -29520,7 +29520,7 @@ const ts = {
29520
29520
  thumbnailActive: P,
29521
29521
  thumbnailActiveColor: H,
29522
29522
  title1Width: M,
29523
- title2Width: B,
29523
+ title2Width: z,
29524
29524
  title3Width: I,
29525
29525
  title1MarginLeft: v = 0,
29526
29526
  title2MarginLeft: K = 0,
@@ -29529,12 +29529,12 @@ const ts = {
29529
29529
  titleHeaderLayout: A = "desktop",
29530
29530
  contentMarginTop: V,
29531
29531
  iconMarginLeft: X
29532
- } = n, se = (u) => D(u, i ?? !1), Z = s ?? n.thumnailSize ?? 0.03, j = se(Z), F = se(d), S = se(p ?? 0.02), R = se(y ?? 0), G = se(V ?? 0), z = Xo(G), ne = se(X ?? 0), [W, xe] = te(0), h = ee(W);
29532
+ } = n, se = (u) => D(u, i ?? !1), Z = s ?? n.thumnailSize ?? 0.03, j = se(Z), F = se(d), S = se(p ?? 0.02), R = se(y ?? 0), G = se(V ?? 0), B = Xo(G), ne = se(X ?? 0), [W, xe] = te(0), h = ee(W);
29533
29533
  h.current = W;
29534
- const we = t[W], { title1: q, title2: de, title3: Le } = ff(we), ae = ia("title1", na(n, "title1"), i), be = ia("title2", na(n, "title2"), i), U = ia("title3", na(n, "title3"), i), $e = A === "mobile", Se = !o && (!i || r), ge = Se, ce = Se, Pe = Se, Fe = Dn(E), Ce = Fe ? { "--image-aspect-ratio": Wr(E) } : void 0, Te = !!(q || de || Le), O = Be(
29534
+ const we = t[W], { title1: q, title2: de, title3: Le } = ff(we), ae = ia("title1", na(n, "title1"), i), be = ia("title2", na(n, "title2"), i), U = ia("title3", na(n, "title3"), i), $e = A === "mobile", Se = !o && (!i || r), ge = Se, ce = Se, Pe = Se, Fe = Dn(E), Ce = Fe ? { "--image-aspect-ratio": Wr(E) } : void 0, Te = !!(q || de || Le), O = ze(
29535
29535
  () => bf(e, q, de, Le, ae, be, U),
29536
29536
  [e, W, q, de, Le, ae, be, U]
29537
- ), le = Be(() => ({ title1Width: M, title2Width: B, title3Width: I }), [M, B, I]), k = Be(() => O.map((u) => le[u.widthKey]), [O, le]), ie = Be(() => el(O.length, k), [O.length, k]), oe = Be(() => yc(O.length, k), [O.length, k]), me = Be(() => O.filter((u) => u.prefix === "title1"), [O]), he = Be(() => O.filter((u) => u.prefix === "title2" || u.prefix === "title3"), [O]), ve = Be(() => os(me, le), [me, le]), Ee = Be(() => os(he, le), [he, le]), Q = ye((u, C) => {
29537
+ ), le = ze(() => ({ title1Width: M, title2Width: z, title3Width: I }), [M, z, I]), k = ze(() => O.map((u) => le[u.widthKey]), [O, le]), ie = ze(() => el(O.length, k), [O.length, k]), oe = ze(() => yc(O.length, k), [O.length, k]), me = ze(() => O.filter((u) => u.prefix === "title1"), [O]), he = ze(() => O.filter((u) => u.prefix === "title2" || u.prefix === "title3"), [O]), ve = ze(() => os(me, le), [me, le]), Ee = ze(() => os(he, le), [he, le]), Q = ye((u, C) => {
29538
29538
  const _ = O.indexOf(u);
29539
29539
  if (!$e || C === "single-row")
29540
29540
  return {
@@ -29568,7 +29568,7 @@ const ts = {
29568
29568
  ]), fe = ye(
29569
29569
  (u) => D(u, i ?? !1),
29570
29570
  [i]
29571
- ), He = fe(L ?? 0), re = Be(
29571
+ ), He = fe(L ?? 0), re = ze(
29572
29572
  () => ({
29573
29573
  title1MarginLeft: v,
29574
29574
  title2MarginLeft: K,
@@ -29768,10 +29768,10 @@ const ts = {
29768
29768
  scrollLeft: 0,
29769
29769
  startActiveIndex: 0,
29770
29770
  hasMoved: !1
29771
- }), Pt = ee(null), At = ee(null), Ye = ee(0), Je = ee("forward"), _e = ee(0), xt = ee(null), kt = ee(!1), Ht = t.length > 1 && (!o || !!r), Yt = Ht ? 3 : 1, sn = Be(
29771
+ }), Pt = ee(null), At = ee(null), Ye = ee(0), Je = ee("forward"), _e = ee(0), xt = ee(null), kt = ee(!1), Ht = t.length > 1 && (!o || !!r), Yt = Ht ? 3 : 1, sn = ze(
29772
29772
  () => Array.from({ length: Yt }, () => t).flat(),
29773
29773
  [t, Yt]
29774
- ), [un, Lt] = te(!1), [Wt, tn] = te(!1), [en, St] = te(!0), rn = ee(null), Ie = ee(null), Ge = ee(!1), Ze = ee(!1), De = ee(null), qe = ee(null), ft = ge && !en, ze = ye(() => {
29774
+ ), [un, Lt] = te(!1), [Wt, tn] = te(!1), [en, St] = te(!0), rn = ee(null), Ie = ee(null), Ge = ee(!1), Ze = ee(!1), De = ee(null), qe = ee(null), ft = ge && !en, Be = ye(() => {
29775
29775
  ge && (St(!0), qe.current && clearTimeout(qe.current), qe.current = setTimeout(() => {
29776
29776
  ot.current.isActive || St(!1);
29777
29777
  }, rf));
@@ -29828,7 +29828,7 @@ const ts = {
29828
29828
  )
29829
29829
  ]
29830
29830
  }
29831
- ), Bt = (u = "two-row") => /* @__PURE__ */ l(
29831
+ ), zt = (u = "two-row") => /* @__PURE__ */ l(
29832
29832
  "div",
29833
29833
  {
29834
29834
  ...u === "two-row" && o ? {
@@ -29846,7 +29846,7 @@ const ts = {
29846
29846
  const u = O.find((pe) => pe.prefix === "title1"), C = O.filter((pe) => pe.prefix === "title2" || pe.prefix === "title3"), _ = C.length > 0 || o || (L ?? 0) > 0;
29847
29847
  return /* @__PURE__ */ J(lt, { children: [
29848
29848
  /* @__PURE__ */ J("div", { className: `${e}-header-row-top`, children: [
29849
- (v ?? 0) > 0 || o ? Bt() : null,
29849
+ (v ?? 0) > 0 || o ? zt() : null,
29850
29850
  u && tt(u, "two-row-top"),
29851
29851
  b && at()
29852
29852
  ] }),
@@ -29876,7 +29876,7 @@ const ts = {
29876
29876
  ] }) : null
29877
29877
  ] });
29878
29878
  }, mt = () => /* @__PURE__ */ J(lt, { children: [
29879
- (v ?? 0) > 0 || o ? Bt("single-row") : null,
29879
+ (v ?? 0) > 0 || o ? zt("single-row") : null,
29880
29880
  O.map((u) => tt(u, "single-row")),
29881
29881
  o ? /* @__PURE__ */ J(lt, { children: [
29882
29882
  pt(),
@@ -29906,7 +29906,7 @@ const ts = {
29906
29906
  if (!Ht) return;
29907
29907
  const C = dt.current, _ = Zt();
29908
29908
  !C || _ <= 0 || _ < C.clientWidth * 0.25 || (C.scrollLeft <= 0 ? (C.scrollLeft += _, u && (ot.current.scrollLeft += _), kt.current && (_e.current += _)) : C.scrollLeft >= _ * 2 && (C.scrollLeft -= _, u && (ot.current.scrollLeft -= _), kt.current && (_e.current -= _)));
29909
- }, zt = (u, C = ((_) => (_ = dt.current) == null ? void 0 : _.scrollLeft)() ?? 0) => {
29909
+ }, Bt = (u, C = ((_) => (_ = dt.current) == null ? void 0 : _.scrollLeft)() ?? 0) => {
29910
29910
  if (!Ht) return u;
29911
29911
  let pe = t.length + u, Re = 1 / 0;
29912
29912
  for (let Ve = 0; Ve < Yt; Ve++) {
@@ -29996,7 +29996,7 @@ const ts = {
29996
29996
  u.scrollLeft = _e.current, yt(), st(), xt.current = null, kt.current = !1;
29997
29997
  return;
29998
29998
  }
29999
- u.scrollLeft += C * sf, yt(), st(), ze(), xt.current = requestAnimationFrame(li);
29999
+ u.scrollLeft += C * sf, yt(), st(), Be(), xt.current = requestAnimationFrame(li);
30000
30000
  }, si = () => {
30001
30001
  const u = Qe.current;
30002
30002
  u && (u.style.transition = "", u.style.transform = "", u.style.willChange = "");
@@ -30025,7 +30025,7 @@ const ts = {
30025
30025
  }, _r = (u = "smooth") => {
30026
30026
  const C = dt.current;
30027
30027
  if (!C || t.length === 0) return;
30028
- const _ = ue() % t.length, pe = zt(_, C.scrollLeft), Re = ht.current[pe];
30028
+ const _ = ue() % t.length, pe = Bt(_, C.scrollLeft), Re = ht.current[pe];
30029
30029
  Re && Wo(Re.offsetLeft, { behavior: u, activeIndex: _ });
30030
30030
  }, Hr = (u, C = "smooth", _, pe) => {
30031
30031
  const Re = dt.current;
@@ -30054,7 +30054,7 @@ const ts = {
30054
30054
  }, Mn = (u, C = "smooth") => {
30055
30055
  const _ = dt.current;
30056
30056
  if (!_ || t.length === 0) return;
30057
- const pe = zt(u, _.scrollLeft), Re = ht.current[pe];
30057
+ const pe = Bt(u, _.scrollLeft), Re = ht.current[pe];
30058
30058
  Re && (C === "smooth" ? rn.current = u : rn.current = null, h.current = u, xe(u), Ft(!0), Wo(Re.offsetLeft, {
30059
30059
  behavior: C,
30060
30060
  activeIndex: u,
@@ -30079,7 +30079,7 @@ const ts = {
30079
30079
  scrollLeft: 0,
30080
30080
  startActiveIndex: 0,
30081
30081
  hasMoved: !1
30082
- }, Lt(!1), u !== void 0 && C.hasPointerCapture(u) && C.releasePointerCapture(u), Re ? Hr(_, "smooth", pe, Ve) : (Rt(!0), st()), ze();
30082
+ }, Lt(!1), u !== void 0 && C.hasPointerCapture(u) && C.releasePointerCapture(u), Re ? Hr(_, "smooth", pe, Ve) : (Rt(!0), st()), Be();
30083
30083
  }, _o = (u, C) => {
30084
30084
  const _ = Vt.current;
30085
30085
  Vt.current = null, _ && (Fo(
@@ -30088,7 +30088,7 @@ const ts = {
30088
30088
  u,
30089
30089
  C,
30090
30090
  _.startActiveIndex
30091
- ), ze());
30091
+ ), Be());
30092
30092
  }, Nr = (u) => {
30093
30093
  if (!ce) return;
30094
30094
  if (u.pointerType === "touch") {
@@ -30109,7 +30109,7 @@ const ts = {
30109
30109
  scrollLeft: C.scrollLeft,
30110
30110
  startActiveIndex: h.current,
30111
30111
  hasMoved: !1
30112
- }, Rt(!1), ze(), C.setPointerCapture(u.pointerId), $i();
30112
+ }, Rt(!1), Be(), C.setPointerCapture(u.pointerId), $i();
30113
30113
  const _ = (pe) => {
30114
30114
  pe.pointerType === "mouse" && ci(pe.pointerId);
30115
30115
  };
@@ -30123,7 +30123,7 @@ const ts = {
30123
30123
  return;
30124
30124
  }
30125
30125
  const _ = u.clientX - ot.current.startX;
30126
- Math.abs(_) > cf && (ot.current.hasMoved = !0, Lt(!0)), ot.current.hasMoved && (u.preventDefault(), C.scrollLeft = ot.current.scrollLeft - _, yt(!0), st(), ze());
30126
+ Math.abs(_) > cf && (ot.current.hasMoved = !0, Lt(!0)), ot.current.hasMoved && (u.preventDefault(), C.scrollLeft = ot.current.scrollLeft - _, yt(!0), st(), Be());
30127
30127
  }, Y = (u) => {
30128
30128
  if (ce) {
30129
30129
  if (u.pointerType === "touch") {
@@ -30145,14 +30145,14 @@ const ts = {
30145
30145
  St(!0);
30146
30146
  return;
30147
30147
  }
30148
- ze();
30148
+ Be();
30149
30149
  const u = Et.current;
30150
30150
  if (!u) return;
30151
- const C = () => ze();
30151
+ const C = () => Be();
30152
30152
  return u.addEventListener("pointermove", C), u.addEventListener("pointerdown", C), () => {
30153
30153
  u.removeEventListener("pointermove", C), u.removeEventListener("pointerdown", C), qe.current && clearTimeout(qe.current);
30154
30154
  };
30155
- }, [ge, ze]), We(() => {
30155
+ }, [ge, Be]), We(() => {
30156
30156
  const u = (C) => {
30157
30157
  C.key === "Escape" && it();
30158
30158
  };
@@ -30174,7 +30174,7 @@ const ts = {
30174
30174
  const Ve = u.scrollWidth - u.clientWidth;
30175
30175
  _e.current = Math.max(0, Math.min(Ve, _e.current));
30176
30176
  }
30177
- ze(), xt.current === null && (xt.current = requestAnimationFrame(li));
30177
+ Be(), xt.current === null && (xt.current = requestAnimationFrame(li));
30178
30178
  }
30179
30179
  };
30180
30180
  return u.addEventListener("wheel", C, { passive: !1 }), () => {
@@ -30313,7 +30313,7 @@ const ts = {
30313
30313
  left: 0,
30314
30314
  right: 0,
30315
30315
  top: 0,
30316
- height: z,
30316
+ height: B,
30317
30317
  pointerEvents: "auto",
30318
30318
  zIndex: 3
30319
30319
  }
@@ -32093,7 +32093,7 @@ const Ef = vf(), Mf = {
32093
32093
  title2Width: P,
32094
32094
  title3Width: H,
32095
32095
  title1MarginLeft: M = 0,
32096
- title2MarginLeft: B = 0,
32096
+ title2MarginLeft: z = 0,
32097
32097
  title3MarginLeft: I = 0,
32098
32098
  titleRowMarginBottom: v = 0,
32099
32099
  titleHeaderLayout: K = "single-row",
@@ -32104,7 +32104,7 @@ const Ef = vf(), Mf = {
32104
32104
  closeIconHoverColor: X,
32105
32105
  contentMarginTop: se = 0,
32106
32106
  iconMarginRight: Z = 0
32107
- } = n, j = ye((Y) => D(Y, i ?? !1), [i]), F = j(f ?? 0), S = `${x}%`, R = `${$}%`, G = j(g), z = j(se), ne = j(Z), W = vi("title1", yi(n, "title1"), i), xe = vi("title2", yi(n, "title2"), i), h = vi("title3", yi(n, "title3"), i), we = vi("count", yi(n, "count"), i), q = K === "mobile", de = !i || !!r, Le = !o && (!i || !!r), ae = Be(() => or(t, y), [t, y]), [be, U] = te(a), $e = ae[be], Se = $e == null ? void 0 : $e.entry, [ge, ce] = te(!1), [Pe, Fe] = te(null), [Ce, Te] = te(!1), [O, le] = te(null), [k, ie] = te(!1), [oe, me] = te(0), [he, ve] = te(), [Ee, Q] = te(), [fe, He] = te(null), re = ee(null), N = ee(0), je = ee(0), Oe = ee(0), rt = ee(!1), tt = ee(null), pt = ee(null), bt = ee(null), Ue = ee(null), ct = ee(null), Et = ee(null), dt = ee(null), Qe = ye(() => {
32107
+ } = n, j = ye((Y) => D(Y, i ?? !1), [i]), F = j(f ?? 0), S = `${x}%`, R = `${$}%`, G = j(g), B = j(se), ne = j(Z), W = vi("title1", yi(n, "title1"), i), xe = vi("title2", yi(n, "title2"), i), h = vi("title3", yi(n, "title3"), i), we = vi("count", yi(n, "count"), i), q = K === "mobile", de = !i || !!r, Le = !o && (!i || !!r), ae = ze(() => or(t, y), [t, y]), [be, U] = te(a), $e = ae[be], Se = $e == null ? void 0 : $e.entry, [ge, ce] = te(!1), [Pe, Fe] = te(null), [Ce, Te] = te(!1), [O, le] = te(null), [k, ie] = te(!1), [oe, me] = te(0), [he, ve] = te(), [Ee, Q] = te(), [fe, He] = te(null), re = ee(null), N = ee(0), je = ee(0), Oe = ee(0), rt = ee(!1), tt = ee(null), pt = ee(null), bt = ee(null), Ue = ee(null), ct = ee(null), Et = ee(null), dt = ee(null), Qe = ye(() => {
32108
32108
  const Y = pt.current;
32109
32109
  if (!Y) return;
32110
32110
  const ke = Y.closest(`.${e}-lightbox-content-area`);
@@ -32236,40 +32236,40 @@ const Ef = vf(), Mf = {
32236
32236
  const Y = Math.max(0, ae.length - 1), ke = Math.min(Math.max(0, a), Y);
32237
32237
  Oe.current = ke, je.current = ((u = ae[ke]) == null ? void 0 : u.entryIndex) ?? 0, U(ke);
32238
32238
  }, [a]);
32239
- const Lt = Pe !== null ? t[Pe] : null, Wt = O !== null ? ae[O] : null, tn = (Se == null ? void 0 : Se.title1) || (Se == null ? void 0 : Se.title2) || (Se == null ? void 0 : Se.title3) || (Lt == null ? void 0 : Lt.title1) || (Lt == null ? void 0 : Lt.title2) || (Lt == null ? void 0 : Lt.title3), en = Qm(y, ae, t), St = L !== null, rn = tn || en || St, Ie = en && St ? { gap: G } : void 0, Ge = `${e}-titles-stack${q ? ` ${e}-titles-stack-stacked` : ""}`, Ze = `${e}-titles-layer-out${q ? ` ${e}-titles-layer-out-stacked` : ""}`, De = `${e}-titles-layer-out`, qe = (M ?? 0) > 0 || o, ft = j(v), ze = Be(
32239
+ const Lt = Pe !== null ? t[Pe] : null, Wt = O !== null ? ae[O] : null, tn = (Se == null ? void 0 : Se.title1) || (Se == null ? void 0 : Se.title2) || (Se == null ? void 0 : Se.title3) || (Lt == null ? void 0 : Lt.title1) || (Lt == null ? void 0 : Lt.title2) || (Lt == null ? void 0 : Lt.title3), en = Qm(y, ae, t), St = L !== null, rn = tn || en || St, Ie = en && St ? { gap: G } : void 0, Ge = `${e}-titles-stack${q ? ` ${e}-titles-stack-stacked` : ""}`, Ze = `${e}-titles-layer-out${q ? ` ${e}-titles-layer-out-stacked` : ""}`, De = `${e}-titles-layer-out`, qe = (M ?? 0) > 0 || o, ft = j(v), Be = ze(
32240
32240
  () => ({
32241
32241
  title1Width: E ?? ki.title1Width,
32242
32242
  title2Width: P ?? ki.title2Width,
32243
32243
  title3Width: H ?? ki.title3Width
32244
32244
  }),
32245
32245
  [E, P, H]
32246
- ), it = Be(() => ({
32247
- title2MarginLeft: B,
32246
+ ), it = ze(() => ({
32247
+ title2MarginLeft: z,
32248
32248
  title3MarginLeft: I
32249
- }), [B, I]), at = Be(
32249
+ }), [z, I]), at = ze(
32250
32250
  () => Se ? Zn(e, Se, W, xe, h) : [],
32251
32251
  [e, Se, W, xe, h]
32252
- ), Bt = Be(
32253
- () => at.map((Y) => ze[Y.widthKey]),
32254
- [at, ze]
32255
- ), Mt = Be(
32256
- () => Oi(at.length, Bt),
32257
- [at.length, Bt]
32258
- ), mt = Be(
32259
- () => bo(at.length, Bt),
32260
- [at.length, Bt]
32261
- ), jt = Be(
32252
+ ), zt = ze(
32253
+ () => at.map((Y) => Be[Y.widthKey]),
32254
+ [at, Be]
32255
+ ), Mt = ze(
32256
+ () => Oi(at.length, zt),
32257
+ [at.length, zt]
32258
+ ), mt = ze(
32259
+ () => bo(at.length, zt),
32260
+ [at.length, zt]
32261
+ ), jt = ze(
32262
32262
  () => at.filter((Y) => Y.prefix === "title1"),
32263
32263
  [at]
32264
- ), Ot = Be(
32264
+ ), Ot = ze(
32265
32265
  () => at.filter((Y) => Y.prefix === "title2" || Y.prefix === "title3"),
32266
32266
  [at]
32267
- ), Jt = Be(
32268
- () => Qn(jt, ze),
32269
- [jt, ze]
32270
- ), Ut = Be(
32271
- () => Qn(Ot, ze),
32272
- [Ot, ze]
32267
+ ), Jt = ze(
32268
+ () => Qn(jt, Be),
32269
+ [jt, Be]
32270
+ ), Ut = ze(
32271
+ () => Qn(Ot, Be),
32272
+ [Ot, Be]
32273
32273
  ), Nt = ye((Y, ke) => {
32274
32274
  const u = at.findIndex((_) => _.prefix === Y.prefix);
32275
32275
  if (!q || ke === "single-row")
@@ -32324,9 +32324,9 @@ const Ef = vf(), Mf = {
32324
32324
  return Zt(Y) + (ke.marginLeftKey ? it[ke.marginLeftKey] ?? 0 : 0) + (Ut.resolved[Y] ?? 0);
32325
32325
  },
32326
32326
  [Ot, Ut.resolved, Zt, it]
32327
- ), zt = ye((Y, ke, u) => {
32327
+ ), Bt = ye((Y, ke, u) => {
32328
32328
  if (!q || u === "single-row") {
32329
- const Ve = Y.findIndex((nn) => nn.prefix === ke.prefix), ut = Y.map((nn) => ze[nn.widthKey]), $t = Oi(Y.length, ut);
32329
+ const Ve = Y.findIndex((nn) => nn.prefix === ke.prefix), ut = Y.map((nn) => Be[nn.widthKey]), $t = Oi(Y.length, ut);
32330
32330
  return {
32331
32331
  effectiveWidth: bo(Y.length, ut)[Ve] ?? 0,
32332
32332
  resolvedWidth: $t[Ve] ?? 0,
@@ -32334,20 +32334,20 @@ const Ef = vf(), Mf = {
32334
32334
  };
32335
32335
  }
32336
32336
  if (u === "two-row-top") {
32337
- const Ve = Y.filter((nn) => nn.prefix === "title1"), ut = Ve.findIndex((nn) => nn.prefix === ke.prefix), { resolved: $t, effective: cn } = Qn(Ve, ze);
32337
+ const Ve = Y.filter((nn) => nn.prefix === "title1"), ut = Ve.findIndex((nn) => nn.prefix === ke.prefix), { resolved: $t, effective: cn } = Qn(Ve, Be);
32338
32338
  return {
32339
32339
  effectiveWidth: cn[ut] ?? 0,
32340
32340
  resolvedWidth: $t[ut] ?? 0,
32341
32341
  maxWidth: mn(ut, $t)
32342
32342
  };
32343
32343
  }
32344
- const C = Y.filter((Ve) => Ve.prefix === "title2" || Ve.prefix === "title3"), _ = C.findIndex((Ve) => Ve.prefix === ke.prefix), { resolved: pe, effective: Re } = Qn(C, ze);
32344
+ const C = Y.filter((Ve) => Ve.prefix === "title2" || Ve.prefix === "title3"), _ = C.findIndex((Ve) => Ve.prefix === ke.prefix), { resolved: pe, effective: Re } = Qn(C, Be);
32345
32345
  return {
32346
32346
  effectiveWidth: Re[_] ?? 0,
32347
32347
  resolvedWidth: pe[_] ?? 0,
32348
32348
  maxWidth: mn(_, pe)
32349
32349
  };
32350
- }, [ze, q]), Xt = (Y, ke, u) => {
32350
+ }, [Be, q]), Xt = (Y, ke, u) => {
32351
32351
  const C = Y.marginLeftKey ? it[Y.marginLeftKey] ?? 0 : 0, {
32352
32352
  effectiveWidth: _,
32353
32353
  resolvedWidth: pe,
@@ -32404,7 +32404,7 @@ const Ef = vf(), Mf = {
32404
32404
  Y.className
32405
32405
  );
32406
32406
  }, m = (Y = "two-row") => {
32407
- const ke = at.findIndex((_) => _.prefix === "title1"), u = ke >= 0 ? Mt[ke] : ze.title1Width, C = Y === "two-row" && o;
32407
+ const ke = at.findIndex((_) => _.prefix === "title1"), u = ke >= 0 ? Mt[ke] : Be.title1Width, C = Y === "two-row" && o;
32408
32408
  return /* @__PURE__ */ l(
32409
32409
  "div",
32410
32410
  {
@@ -32623,7 +32623,7 @@ const Ef = vf(), Mf = {
32623
32623
  return /* @__PURE__ */ l(lt, { children: ke.map((u) => Xt(
32624
32624
  u,
32625
32625
  "single-row",
32626
- zt(ke, u, "single-row")
32626
+ Bt(ke, u, "single-row")
32627
32627
  )) });
32628
32628
  }, fn = (Y) => {
32629
32629
  if (!Y) return null;
@@ -32631,7 +32631,7 @@ const Ef = vf(), Mf = {
32631
32631
  return u ? Xt(
32632
32632
  u,
32633
32633
  "two-row-top",
32634
- zt(ke, u, "two-row-top")
32634
+ Bt(ke, u, "two-row-top")
32635
32635
  ) : null;
32636
32636
  }, yn = (Y, ke = !1) => {
32637
32637
  const u = Y ? Zn(e, Y, W, xe, h) : [], C = u.filter((Re) => Re.prefix === "title2" || Re.prefix === "title3"), _ = o && ke;
@@ -32640,7 +32640,7 @@ const Ef = vf(), Mf = {
32640
32640
  C.map((Re) => Xt(
32641
32641
  Re,
32642
32642
  "two-row-bottom",
32643
- zt(u, Re, "two-row-bottom")
32643
+ Bt(u, Re, "two-row-bottom")
32644
32644
  )),
32645
32645
  ke && o ? /* @__PURE__ */ J(lt, { children: [
32646
32646
  _r(),
@@ -32668,7 +32668,7 @@ const Ef = vf(), Mf = {
32668
32668
  yn(Y, ke)
32669
32669
  ] }), si = (Y) => q ? /* @__PURE__ */ l("div", { className: `${e}-titles-row-two-row`, children: li(Y) }) : Y ? /* @__PURE__ */ l("div", { className: `${e}-titles-row`, style: { width: "100%" }, children: Rt(Y) }) : null, ko = () => {
32670
32670
  const Y = q ? -1 : at.findIndex((C) => C.prefix === "title1"), ke = !q && (o || (M ?? 0) > 0) ? (() => {
32671
- const C = M ?? 0, _ = Y >= 0 ? Mt[Y] : ze.title1Width, pe = Math.max(C, Jn);
32671
+ const C = M ?? 0, _ = Y >= 0 ? Mt[Y] : Be.title1Width, pe = Math.max(C, Jn);
32672
32672
  return /* @__PURE__ */ l(
32673
32673
  "div",
32674
32674
  {
@@ -33015,7 +33015,7 @@ const Ef = vf(), Mf = {
33015
33015
  {
33016
33016
  "data-controls": o ? "contentMarginTop" : void 0,
33017
33017
  className: o ? `${e}-control` : void 0,
33018
- style: { height: z, width: "100%" }
33018
+ style: { height: B, width: "100%" }
33019
33019
  }
33020
33020
  ),
33021
33021
  /* @__PURE__ */ l("div", { style: {
@@ -33577,15 +33577,15 @@ function kf(e) {
33577
33577
  `;
33578
33578
  }
33579
33579
  const Wf = ({ settings: e, content: t, isEditor: n, isEditMode: i, isPreviewMode: o, portalId: r, metadata: a }) => {
33580
- const { prefix: c } = hn(), s = (a == null ? void 0 : a.itemId) ?? null, { cover: d, coverFit: p, type: y } = e, b = ee(null), [w, f] = te(!1), [x, $] = te(0), T = ee(!1), E = ee(!1), P = ee(!1), H = Be(
33580
+ const { prefix: c } = hn(), s = (a == null ? void 0 : a.itemId) ?? null, { cover: d, coverFit: p, type: y } = e, b = ee(null), [w, f] = te(!1), [x, $] = te(0), T = ee(!1), E = ee(!1), P = ee(!1), H = ze(
33581
33581
  () => (t ?? []).filter((g) => Ni(g).length > 0),
33582
33582
  [t]
33583
- ), M = w && H.length > 0, B = !n, I = ye(() => {
33584
- B && (P.current = !0, Km(E.current, s), E.current = !1);
33585
- }, [B, s]), v = (g = 0) => {
33583
+ ), M = w && H.length > 0, z = !n, I = ye(() => {
33584
+ z && (P.current = !0, Km(E.current, s), E.current = !1);
33585
+ }, [z, s]), v = (g = 0) => {
33586
33586
  if (H.length === 0 || n && !i && !o) return;
33587
33587
  const L = or(H, y), A = Math.max(0, Math.min(g, L.length - 1));
33588
- if ($(A), B) {
33588
+ if ($(A), z) {
33589
33589
  const V = Zs();
33590
33590
  Js(A + 1, s, V), E.current = !V;
33591
33591
  }
@@ -33596,14 +33596,14 @@ const Wf = ({ settings: e, content: t, isEditor: n, isEditMode: i, isPreviewMode
33596
33596
  return We(() => {
33597
33597
  !n || i || o || f(!1);
33598
33598
  }, [n, i, o]), We(() => {
33599
- if (!B || T.current) return;
33599
+ if (!z || T.current) return;
33600
33600
  T.current = !0;
33601
33601
  const g = Pl(s);
33602
33602
  if (!g) return;
33603
33603
  const L = Al(g, or(H, y).length);
33604
33604
  L < 0 || ($(L), f(!0));
33605
- }, [H, s, B, y]), We(() => {
33606
- if (!B) return;
33605
+ }, [H, s, z, y]), We(() => {
33606
+ if (!z) return;
33607
33607
  const g = () => {
33608
33608
  if (P.current) {
33609
33609
  P.current = !1, f(!1);
@@ -33622,7 +33622,7 @@ const Wf = ({ settings: e, content: t, isEditor: n, isEditMode: i, isPreviewMode
33622
33622
  E.current = !1, $(A), f(!0);
33623
33623
  };
33624
33624
  return window.addEventListener("popstate", g), () => window.removeEventListener("popstate", g);
33625
- }, [H, s, B, y]), /* @__PURE__ */ J(lt, { children: [
33625
+ }, [H, s, z, y]), /* @__PURE__ */ J(lt, { children: [
33626
33626
  /* @__PURE__ */ J("div", { ref: b, className: `${c}-wrapper`, children: [
33627
33627
  /* @__PURE__ */ l("style", { dangerouslySetInnerHTML: { __html: kf(c) } }),
33628
33628
  d ? /* @__PURE__ */ l(
@@ -33664,7 +33664,7 @@ const Wf = ({ settings: e, content: t, isEditor: n, isEditMode: i, isPreviewMode
33664
33664
  isEditMode: i,
33665
33665
  isPreviewMode: o,
33666
33666
  initialSlideIndex: x,
33667
- enableUrlSync: B,
33667
+ enableUrlSync: z,
33668
33668
  journalItemId: s,
33669
33669
  onBeforeClose: I,
33670
33670
  onClose: K
@@ -34559,7 +34559,7 @@ function ra(e) {
34559
34559
  return i !== void 0 && (t[Ke(n, "fontSize")] = i), o !== void 0 && (t[Ke(n, "lineHeight")] = o), t;
34560
34560
  }, {});
34561
34561
  }
34562
- const zf = eg(), Bf = {
34562
+ const Bf = eg(), zf = {
34563
34563
  type: "object",
34564
34564
  version: 1,
34565
34565
  settings: {
@@ -34904,7 +34904,7 @@ const zf = eg(), Bf = {
34904
34904
  title: "Type Style",
34905
34905
  tooltip: "Typography",
34906
34906
  layout: [
34907
- zf
34907
+ Bf
34908
34908
  ]
34909
34909
  }
34910
34910
  ],
@@ -35031,7 +35031,7 @@ const zf = eg(), Bf = {
35031
35031
  type: "image",
35032
35032
  url: "https://cdn.cntrl.site/component-assets/Journal.png"
35033
35033
  },
35034
- schema: Bf,
35034
+ schema: zf,
35035
35035
  sourceCode: Ff,
35036
35036
  assetsPaths: {
35037
35037
  content: [{ path: "image.url", placeholderEnabled: !0 }],
@@ -35155,19 +35155,19 @@ async function Kf(e) {
35155
35155
  function Uf({ settings: e, content: t = [], isEditor: n }) {
35156
35156
  const { prefix: i } = hn(), [o, r] = te(null), [a, c] = te([]), [s, d] = te(0), p = ee(0), [y, b] = te({ x: 0, y: 0 }), [w, f] = te("none"), x = ee({ x: 0, y: 0 }), [$, T] = te(!1), [E, P] = te(!1), H = ee(/* @__PURE__ */ new Map()), {
35157
35157
  imageSize: M = Vf,
35158
- cursor: B = "system",
35158
+ cursor: z = "system",
35159
35159
  target: I = "area",
35160
35160
  position: v = "random",
35161
35161
  visible: K = "all",
35162
35162
  defaultCursor: g = null,
35163
35163
  hoverCursor: L = null
35164
- } = e, A = Be(() => Gf(i), [i]), V = ye((F, S, R = a) => {
35164
+ } = e, A = ze(() => Gf(i), [i]), V = ye((F, S, R = a) => {
35165
35165
  if (!o) return;
35166
- const G = o.getBoundingClientRect(), z = F - G.left, ne = S - G.top;
35167
- b({ x: z, y: ne }), f(
35168
- jf(z, ne, R, o, B, I, L, g)
35166
+ const G = o.getBoundingClientRect(), B = F - G.left, ne = S - G.top;
35167
+ b({ x: B, y: ne }), f(
35168
+ jf(B, ne, R, o, z, I, L, g)
35169
35169
  );
35170
- }, [o, a, B, I, L, g]);
35170
+ }, [o, a, z, I, L, g]);
35171
35171
  We(() => {
35172
35172
  const F = [
35173
35173
  ...t.map((R) => R.image.url),
@@ -35201,9 +35201,9 @@ function Uf({ settings: e, content: t = [], isEditor: n }) {
35201
35201
  }, [$]);
35202
35202
  const X = (F, S, R, G = {}) => {
35203
35203
  var we;
35204
- const z = ((we = H.current.get(F.image.url)) == null ? void 0 : we.aspectRatio) ?? 1, ne = as(F.image.url, M, H.current), { heightPx: W } = yr(ne, z);
35204
+ const B = ((we = H.current.get(F.image.url)) == null ? void 0 : we.aspectRatio) ?? 1, ne = as(F.image.url, M, H.current), { heightPx: W } = yr(ne, B);
35205
35205
  let xe = 0, h = 0;
35206
- return v === "same" ? { x: xe, y: h } = rs(S, R, ne, z) : (xe = G.x ?? Math.random() * S, h = G.y ?? Math.random() * R, { x: xe, y: h } = xa(xe, h, S, R, ne, W)), {
35206
+ return v === "same" ? { x: xe, y: h } = rs(S, R, ne, B) : (xe = G.x ?? Math.random() * S, h = G.y ?? Math.random() * R, { x: xe, y: h } = xa(xe, h, S, R, ne, W)), {
35207
35207
  id: p.current++,
35208
35208
  url: F.image.url,
35209
35209
  link: F.link,
@@ -35212,27 +35212,27 @@ function Uf({ settings: e, content: t = [], isEditor: n }) {
35212
35212
  y: h,
35213
35213
  xRatio: xe / S,
35214
35214
  yRatio: h / R,
35215
- aspectRatio: z,
35215
+ aspectRatio: B,
35216
35216
  widthPx: ne
35217
35217
  };
35218
35218
  }, se = () => {
35219
35219
  if (!o) return;
35220
35220
  const F = o.getBoundingClientRect(), S = F.width, R = F.height;
35221
- S === 0 || R === 0 || c((G) => G.length === 0 ? G : G.map((z) => {
35222
- const ne = M.sizeType === "random" ? z.widthPx : as(z.url, M, H.current), { heightPx: W } = yr(ne, z.aspectRatio);
35221
+ S === 0 || R === 0 || c((G) => G.length === 0 ? G : G.map((B) => {
35222
+ const ne = M.sizeType === "random" ? B.widthPx : as(B.url, M, H.current), { heightPx: W } = yr(ne, B.aspectRatio);
35223
35223
  if (v === "same") {
35224
- const { x: we, y: q } = rs(S, R, ne, z.aspectRatio);
35225
- return { ...z, x: we, y: q, widthPx: ne };
35224
+ const { x: we, y: q } = rs(S, R, ne, B.aspectRatio);
35225
+ return { ...B, x: we, y: q, widthPx: ne };
35226
35226
  }
35227
35227
  const { x: xe, y: h } = xa(
35228
- z.xRatio * S,
35229
- z.yRatio * R,
35228
+ B.xRatio * S,
35229
+ B.yRatio * R,
35230
35230
  S,
35231
35231
  R,
35232
35232
  ne,
35233
35233
  W
35234
35234
  );
35235
- return { ...z, x: xe, y: h, widthPx: ne };
35235
+ return { ...B, x: xe, y: h, widthPx: ne };
35236
35236
  }));
35237
35237
  };
35238
35238
  We(() => {
@@ -35253,11 +35253,11 @@ function Uf({ settings: e, content: t = [], isEditor: n }) {
35253
35253
  if (!o || t.length === 0 || !E) return;
35254
35254
  const S = o.getBoundingClientRect(), R = F.clientX - S.left, G = F.clientY - S.top;
35255
35255
  if (I === "image" && !vc(R, G, a)) return;
35256
- let z = 0, ne = 0;
35257
- v === "on Click" ? (z = R, ne = G) : v === "same" ? (z = S.width / 2, ne = S.height / 2) : (z = Math.random() * S.width, ne = Math.random() * S.height);
35258
- const W = t[s], xe = X(W, S.width, S.height, { x: z, y: ne }), h = K === "all" ? [...a, xe] : [xe];
35256
+ let B = 0, ne = 0;
35257
+ v === "on Click" ? (B = R, ne = G) : v === "same" ? (B = S.width / 2, ne = S.height / 2) : (B = Math.random() * S.width, ne = Math.random() * S.height);
35258
+ const W = t[s], xe = X(W, S.width, S.height, { x: B, y: ne }), h = K === "all" ? [...a, xe] : [xe];
35259
35259
  c(h), d((we) => we >= t.length - 1 ? 0 : we + 1), V(F.clientX, F.clientY, h);
35260
- }, j = B === "custom" && w !== "none";
35260
+ }, j = z === "custom" && w !== "none";
35261
35261
  return /* @__PURE__ */ J(lt, { children: [
35262
35262
  /* @__PURE__ */ l("style", { dangerouslySetInnerHTML: { __html: A } }),
35263
35263
  /* @__PURE__ */ J(
@@ -36244,13 +36244,13 @@ function ry(e, t) {
36244
36244
  }
36245
36245
  function ay({ settings: e, content: t, isEditor: n, isPreviewMode: i }) {
36246
36246
  var Te, O, le, k, ie, oe, me;
36247
- const { prefix: o } = hn(), r = Be(() => ey(o), [o]), {
36247
+ const { prefix: o } = hn(), r = ze(() => ey(o), [o]), {
36248
36248
  imageSize: a,
36249
36249
  maxWidth: c,
36250
36250
  maxHeight: s,
36251
36251
  transition: d = 1e3,
36252
36252
  bgImage: p = "greyscale"
36253
- } = e, y = t ?? [], b = ls(y.length), [w, f] = te(b.activeIndex), [x, $] = te(b.backgroundIndex), [T, E] = te(!1), [P, H] = te(!1), [M, B] = te(null), [I, v] = te(null), [K, g] = te(0), [L, A] = te(1), [V, X] = te("none"), [se, Z] = te("next"), [j, F] = te({}), [S, R] = te({ width: 0, height: 0 }), G = ee(null), z = ee(null), ne = !n || !!i, W = a ?? 60, xe = Math.max(10, Math.min(100, c ?? W)), h = Math.max(10, Math.min(100, s ?? W)), we = Math.max(100, d), q = no(p), de = ye((he) => {
36253
+ } = e, y = t ?? [], b = ls(y.length), [w, f] = te(b.activeIndex), [x, $] = te(b.backgroundIndex), [T, E] = te(!1), [P, H] = te(!1), [M, z] = te(null), [I, v] = te(null), [K, g] = te(0), [L, A] = te(1), [V, X] = te("none"), [se, Z] = te("next"), [j, F] = te({}), [S, R] = te({ width: 0, height: 0 }), G = ee(null), B = ee(null), ne = !n || !!i, W = a ?? 60, xe = Math.max(10, Math.min(100, c ?? W)), h = Math.max(10, Math.min(100, s ?? W)), we = Math.max(100, d), q = no(p), de = ye((he) => {
36254
36254
  const ve = iy(he ? j[he] : void 0);
36255
36255
  return oy(
36256
36256
  S.width,
@@ -36261,7 +36261,7 @@ function ay({ settings: e, content: t, isEditor: n, isPreviewMode: i }) {
36261
36261
  );
36262
36262
  }, [S.height, S.width, j, h, xe]);
36263
36263
  We(() => {
36264
- const he = z.current;
36264
+ const he = B.current;
36265
36265
  if (!he) return;
36266
36266
  const ve = new ResizeObserver(([Ee]) => {
36267
36267
  const { width: Q, height: fe } = Ee.contentRect;
@@ -36281,7 +36281,7 @@ function ay({ settings: e, content: t, isEditor: n, isPreviewMode: i }) {
36281
36281
  });
36282
36282
  }, [t]), We(() => {
36283
36283
  const { backgroundIndex: he, activeIndex: ve } = ls(y.length);
36284
- f(ve), $(he), E(!1), H(!1), B(null), v(null), g(0), A(1), X("none"), Z("next");
36284
+ f(ve), $(he), E(!1), H(!1), z(null), v(null), g(0), A(1), X("none"), Z("next");
36285
36285
  }, [y.length, t]), We(() => () => {
36286
36286
  G.current && clearTimeout(G.current);
36287
36287
  }, []);
@@ -36289,12 +36289,12 @@ function ay({ settings: e, content: t, isEditor: n, isPreviewMode: i }) {
36289
36289
  var re, N, je, Oe;
36290
36290
  if (!ne || T || y.length <= 1) return;
36291
36291
  const ve = he === "next" ? (w + 1) % y.length : (w - 1 + y.length) % y.length, Ee = de((N = (re = y[w]) == null ? void 0 : re.image) == null ? void 0 : N.url), Q = de((Oe = (je = y[ve]) == null ? void 0 : je.image) == null ? void 0 : Oe.url), fe = ss(S.width, S.height, Ee), He = ss(S.width, S.height, Q);
36292
- G.current && clearTimeout(G.current), Z(he), H(!0), E(!0), he === "next" ? (B(w), v(ve), g(0), A(1), X(no(p, 0, 1))) : ($(ny(ve, y.length)), B(ve), v(w), g(1), A(He), X(no(p, 1, He))), requestAnimationFrame(() => {
36292
+ G.current && clearTimeout(G.current), Z(he), H(!0), E(!0), he === "next" ? (z(w), v(ve), g(0), A(1), X(no(p, 0, 1))) : ($(ny(ve, y.length)), z(ve), v(w), g(1), A(He), X(no(p, 1, He))), requestAnimationFrame(() => {
36293
36293
  H(!1), requestAnimationFrame(() => {
36294
36294
  he === "next" ? (g(1), A(fe), X(no(p, 1, fe))) : (g(0), A(1), X(no(p, 0, 1)));
36295
36295
  });
36296
36296
  }), G.current = setTimeout(() => {
36297
- he === "next" && $(w), f(ve), B(null), v(null), E(!1);
36297
+ he === "next" && $(w), f(ve), z(null), v(null), E(!1);
36298
36298
  }, we);
36299
36299
  }, [
36300
36300
  w,
@@ -36314,7 +36314,7 @@ function ay({ settings: e, content: t, isEditor: n, isPreviewMode: i }) {
36314
36314
  /* @__PURE__ */ J(
36315
36315
  "div",
36316
36316
  {
36317
- ref: z,
36317
+ ref: B,
36318
36318
  className: vt(`${o}-wrapper`, P && `${o}-snap`, n && !i && `${o}-editor`),
36319
36319
  style: Ce,
36320
36320
  "aria-label": "Zoom gallery",
@@ -37578,8 +37578,8 @@ function Ey({
37578
37578
  onPrev: x,
37579
37579
  onNext: $
37580
37580
  }) {
37581
- const T = ee(null), E = ee(null), P = ee(null), H = ee(/* @__PURE__ */ new Map()), [M, B] = te(0), I = ee(null), v = ee(0), K = ee(0), g = ee("none"), L = ee(!1), A = ee(!1), V = ee(!1), X = ee(null), se = ee(null), Z = ee(null), j = ee(() => {
37582
- }), F = ee(null), S = ee(null), R = ee(null), G = ee(!1), [z, ne] = te(null), [W, xe] = te(aa), [h, we] = te(0), [q, de] = te("opening"), [Le, ae] = te(0), [be, U] = te(0), [$e, Se] = te(!1), [ge, ce] = te(null), [Pe, Fe] = te(null), [Ce, Te] = te(null), [O, le] = te(!1), [k, ie] = te(null), [oe, me] = te(!1), he = ee(!1), [ve, Ee] = te(!1), [Q, fe] = te(!1), He = ee(n), re = ee(void 0), N = t[n], je = N ? Fr(N) : !1, Oe = be !== 0 || $e, rt = !a && (!r || !!c), tt = s && !a, pt = d.length > 1, bt = ye((m, ue) => t.length <= 1 ? null : t[(m + ue + t.length) % t.length] ?? null, [t]), Ue = pt ? ro(d, p, -1) : bt(n, -1), ct = pt ? ro(d, p, 1) : bt(n, 1), Et = ge === -1 && Oe ? pt && Pe !== null ? ro(d, Pe, -1) : Ce !== null ? bt(Ce, -1) : null : null, dt = ge === 1 && Oe ? pt && Pe !== null ? ro(d, Pe, 1) : Ce !== null ? bt(Ce, 1) : null : null, Qe = Et && Et.url !== (Ue == null ? void 0 : Ue.url) ? Et : null, wt = dt && dt.url !== (ct == null ? void 0 : ct.url) ? dt : null, Tt = Ue && tt ? (() => {
37581
+ const T = ee(null), E = ee(null), P = ee(null), H = ee(/* @__PURE__ */ new Map()), [M, z] = te(0), I = ee(null), v = ee(0), K = ee(0), g = ee("none"), L = ee(!1), A = ee(!1), V = ee(!1), X = ee(null), se = ee(null), Z = ee(null), j = ee(() => {
37582
+ }), F = ee(null), S = ee(null), R = ee(null), G = ee(!1), [B, ne] = te(null), [W, xe] = te(aa), [h, we] = te(0), [q, de] = te("opening"), [Le, ae] = te(0), [be, U] = te(0), [$e, Se] = te(!1), [ge, ce] = te(null), [Pe, Fe] = te(null), [Ce, Te] = te(null), [O, le] = te(!1), [k, ie] = te(null), [oe, me] = te(!1), he = ee(!1), [ve, Ee] = te(!1), [Q, fe] = te(!1), He = ee(n), re = ee(void 0), N = t[n], je = N ? Fr(N) : !1, Oe = be !== 0 || $e, rt = !a && (!r || !!c), tt = s && !a, pt = d.length > 1, bt = ye((m, ue) => t.length <= 1 ? null : t[(m + ue + t.length) % t.length] ?? null, [t]), Ue = pt ? ro(d, p, -1) : bt(n, -1), ct = pt ? ro(d, p, 1) : bt(n, 1), Et = ge === -1 && Oe ? pt && Pe !== null ? ro(d, Pe, -1) : Ce !== null ? bt(Ce, -1) : null : null, dt = ge === 1 && Oe ? pt && Pe !== null ? ro(d, Pe, 1) : Ce !== null ? bt(Ce, 1) : null : null, Qe = Et && Et.url !== (Ue == null ? void 0 : Ue.url) ? Et : null, wt = dt && dt.url !== (ct == null ? void 0 : ct.url) ? dt : null, Tt = Ue && tt ? (() => {
37583
37583
  const m = pt ? ds(d, p, -1) : t.length > 2 ? bt((n - 1 + t.length) % t.length, -1) : null;
37584
37584
  return m && m.url !== Ue.url ? m : null;
37585
37585
  })() : null, ht = ct && tt ? (() => {
@@ -37588,7 +37588,7 @@ function Ey({
37588
37588
  })() : null, _t = Qe ?? Tt, Vt = wt ?? ht, ot = ye((m, ue, Ae) => {
37589
37589
  if (!m || !ue || !Ae) return;
37590
37590
  const Me = H.current, nt = Me.get(m);
37591
- (nt == null ? void 0 : nt.width) === ue && (nt == null ? void 0 : nt.height) === Ae || (Me.set(m, { width: ue, height: Ae }), B((Ft) => Ft + 1));
37591
+ (nt == null ? void 0 : nt.width) === ue && (nt == null ? void 0 : nt.height) === Ae || (Me.set(m, { width: ue, height: Ae }), z((Ft) => Ft + 1));
37592
37592
  }, []), Pt = ye((m) => {
37593
37593
  if (!(m != null && m.url)) return null;
37594
37594
  const ue = H.current.get(m.url);
@@ -37666,7 +37666,7 @@ function Ey({
37666
37666
  }, [_e, Yt]), un = ye(() => {
37667
37667
  _e(), se.current = null, Je(!1), ce(null), Fe(null), Te(null), U(0), Ee(!1), L.current = !1, K.current = 0, g.current = "none";
37668
37668
  }, [_e, Je]), Lt = ye((m) => {
37669
- if (!(!tt || !z)) {
37669
+ if (!(!tt || !B)) {
37670
37670
  if (V.current) {
37671
37671
  if (se.current === m) {
37672
37672
  Z.current = m, Yt();
@@ -37678,7 +37678,7 @@ function Ey({
37678
37678
  }
37679
37679
  }, [
37680
37680
  tt,
37681
- z,
37681
+ B,
37682
37682
  Yt,
37683
37683
  un,
37684
37684
  _e,
@@ -37754,7 +37754,7 @@ function Ey({
37754
37754
  H.current.has(Me.url) || Sy(Me, ot);
37755
37755
  });
37756
37756
  }, [t, d, ot]), We(() => {
37757
- if (q !== "opening" || !z) return;
37757
+ if (q !== "opening" || !B) return;
37758
37758
  if (!b) {
37759
37759
  de("open");
37760
37760
  return;
@@ -37766,7 +37766,7 @@ function Ey({
37766
37766
  });
37767
37767
  });
37768
37768
  return () => cancelAnimationFrame(m);
37769
- }, [q, z, b]), We(() => {
37769
+ }, [q, B, b]), We(() => {
37770
37770
  if (q !== "closing") return;
37771
37771
  const m = setTimeout(() => f(), An);
37772
37772
  return () => clearTimeout(m);
@@ -37857,8 +37857,8 @@ function Ey({
37857
37857
  }, [q, tt, Je, xt, _e, rt, sn, Ye]);
37858
37858
  const Ge = ye(() => {
37859
37859
  const m = (w == null ? void 0 : w()) ?? b ?? null;
37860
- m && z && (ie(m), le(!0)), de("closing");
37861
- }, [w, b, z]);
37860
+ m && B && (ie(m), le(!0)), de("closing");
37861
+ }, [w, b, B]);
37862
37862
  We(() => {
37863
37863
  const m = (Me) => {
37864
37864
  if (Me.key === "Escape") {
@@ -37893,7 +37893,7 @@ function Ey({
37893
37893
  }, [q, Wt]);
37894
37894
  const Ze = () => {
37895
37895
  q === "closing" || a || Ge();
37896
- }, De = q === "open", qe = q === "closing", ft = Le > 0 ? Math.max(0, 1 - Le / 500) : 1, ze = Le > 0 ? Math.max(0.35, 1 - Le / 500) : 1, it = ye((m) => {
37896
+ }, De = q === "open", qe = q === "closing", ft = Le > 0 ? Math.max(0, 1 - Le / 500) : 1, Be = Le > 0 ? Math.max(0.35, 1 - Le / 500) : 1, it = ye((m) => {
37897
37897
  if (!(m.propertyName !== "transform" || !V.current)) {
37898
37898
  if (se.current !== null) {
37899
37899
  Yt();
@@ -37901,7 +37901,7 @@ function Ey({
37901
37901
  }
37902
37902
  _e(), Je(!1);
37903
37903
  }
37904
- }, [_e, Je, Yt]), at = q === "closing" ? k ?? b : b, Bt = at && z && (q === "opening" || qe) ? fy(at, z) : void 0, Mt = Oe && N ? Ht(N, "center") : Le > 0 ? `translateY(${Le}px)` : Bt, mt = z ? Jo(z, W) : null, jt = !!(at && z), Ot = jt && (q === "closing" || q === "open" && O), Jt = {
37904
+ }, [_e, Je, Yt]), at = q === "closing" ? k ?? b : b, zt = at && B && (q === "opening" || qe) ? fy(at, B) : void 0, Mt = Oe && N ? Ht(N, "center") : Le > 0 ? `translateY(${Le}px)` : zt, mt = B ? Jo(B, W) : null, jt = !!(at && B), Ot = jt && (q === "closing" || q === "open" && O), Jt = {
37905
37905
  position: "absolute",
37906
37906
  top: mt == null ? void 0 : mt.top,
37907
37907
  left: mt == null ? void 0 : mt.left,
@@ -37910,7 +37910,7 @@ function Ey({
37910
37910
  objectFit: "contain",
37911
37911
  transformOrigin: "top left",
37912
37912
  transform: Mt,
37913
- opacity: Le > 0 ? ze : jt ? 1 : q === "opening" || qe ? 0 : 1,
37913
+ opacity: Le > 0 ? Be : jt ? 1 : q === "opening" || qe ? 0 : 1,
37914
37914
  transition: ve && !$e ? "none" : $e ? `transform ${io}ms ${bn}` : Q ? `transform ${An}ms ${bn}, opacity ${An}ms ${bn}` : Ot ? `transform ${An}ms ${bn}` : q === "opening" || qe ? `opacity ${An}ms ${bn}` : "none",
37915
37915
  pointerEvents: je && De && !Oe ? "auto" : "none",
37916
37916
  touchAction: je && De ? "none" : void 0,
@@ -37952,7 +37952,7 @@ function Ey({
37952
37952
  }
37953
37953
  ue.stopPropagation(), Lt(m);
37954
37954
  }
37955
- }, Zt = Ue ? an(Ue, "left") : null, yt = ct ? an(ct, "right") : null, zt = Zt ? Jo(Zt, W) : null, Xt = yt ? Jo(yt, W) : null;
37955
+ }, Zt = Ue ? an(Ue, "left") : null, yt = ct ? an(ct, "right") : null, Bt = Zt ? Jo(Zt, W) : null, Xt = yt ? Jo(yt, W) : null;
37956
37956
  return /* @__PURE__ */ J(
37957
37957
  "div",
37958
37958
  {
@@ -38058,15 +38058,15 @@ function Ey({
38058
38058
  },
38059
38059
  `prev-${Ue.url}`
38060
38060
  ),
38061
- zt && /* @__PURE__ */ l(
38061
+ Bt && /* @__PURE__ */ l(
38062
38062
  "div",
38063
38063
  {
38064
38064
  style: {
38065
38065
  position: "absolute",
38066
- top: zt.top,
38067
- left: zt.left,
38068
- width: zt.width,
38069
- height: zt.height,
38066
+ top: Bt.top,
38067
+ left: Bt.left,
38068
+ width: Bt.width,
38069
+ height: Bt.height,
38070
38070
  cursor: a || ve ? "default" : "pointer",
38071
38071
  pointerEvents: a || ve ? "none" : "auto",
38072
38072
  zIndex: 3
@@ -38113,7 +38113,7 @@ function Ey({
38113
38113
  },
38114
38114
  `far-next-${Vt.url}`
38115
38115
  ),
38116
- z && N && (je ? /* @__PURE__ */ l(
38116
+ B && N && (je ? /* @__PURE__ */ l(
38117
38117
  Ry,
38118
38118
  {
38119
38119
  src: N.url,
@@ -38167,8 +38167,9 @@ function Ay(e) {
38167
38167
  vertical-align: baseline;
38168
38168
  position: relative;
38169
38169
  z-index: 1;
38170
- height: var(--${e}-cap-height);
38171
- margin-top: calc(var(--${e}-line-height) - var(--${e}-cap-height));
38170
+ height: 1cap;
38171
+ max-height: 1cap;
38172
+ margin-top: calc(var(--${e}-line-height) - 1cap);
38172
38173
  margin-bottom: 0;
38173
38174
  margin-left: var(--${e}-image-inline-gap);
38174
38175
  margin-right: var(--${e}-image-inline-gap);
@@ -38177,6 +38178,7 @@ function Ay(e) {
38177
38178
  .${e}-item-image video {
38178
38179
  display: block;
38179
38180
  height: 100%;
38181
+ max-height: 1cap;
38180
38182
  }
38181
38183
  .${e}-item-image-hover-scale-in img,
38182
38184
  .${e}-item-image-hover-scale-in video {
@@ -38215,7 +38217,6 @@ function ky(e, t, n) {
38215
38217
  const i = (e == null ? void 0 : e.titleFontSize) ?? 0.07, o = (e == null ? void 0 : e.titleLineHeight) ?? i;
38216
38218
  return {
38217
38219
  [`--${t}-line-height`]: D(o, n ?? !1),
38218
- [`--${t}-cap-height`]: D(i, n ?? !1),
38219
38220
  [`--${t}-image-inline-gap`]: D(i * Py, n ?? !1)
38220
38221
  };
38221
38222
  }
@@ -38282,32 +38283,32 @@ function Hy({
38282
38283
  layoutId: r,
38283
38284
  portalId: a
38284
38285
  }) {
38285
- const { prefix: c } = hn(), s = Be(() => Ay(c), [c]), d = t ?? [], p = typeof (e == null ? void 0 : e.wrapperWidth) == "number" ? e.wrapperWidth : 1, y = typeof (e == null ? void 0 : e.horizontalGap) == "number" ? e.horizontalGap : 0, b = D(y, n ?? !1), w = `max(${b}, ${My}px)`, { objectFitMode: f, isCover: x, imageWrapperStyle: $, imageStyle: T } = Fy(e), E = Wy(e, n), P = {
38286
+ const { prefix: c } = hn(), s = ze(() => Ay(c), [c]), d = t ?? [], p = typeof (e == null ? void 0 : e.wrapperWidth) == "number" ? e.wrapperWidth : 1, y = typeof (e == null ? void 0 : e.horizontalGap) == "number" ? e.horizontalGap : 0, b = D(y, n ?? !1), w = `max(${b}, ${My}px)`, { objectFitMode: f, isCover: x, imageWrapperStyle: $, imageStyle: T } = Fy(e), E = Wy(e, n), P = {
38286
38287
  width: D(p, n ?? !1),
38287
38288
  ...E,
38288
38289
  ...ky(e, c, n)
38289
- }, H = ee(null), [M, B] = te(!1), [I, v] = te([]), [K, g] = te(0), [L, A] = te(0), [V, X] = te(null), [se, Z] = te({ title1: "", title2: "", title3: "" }), j = (!n || i) && !M, F = (e == null ? void 0 : e.imageHoverEffect) ?? "none", S = j && F !== "none" ? `${c}-item-image-hover-${F}` : void 0, R = (() => {
38290
+ }, H = ee(null), [M, z] = te(!1), [I, v] = te([]), [K, g] = te(0), [L, A] = te(0), [V, X] = te(null), [se, Z] = te({ title1: "", title2: "", title3: "" }), j = (!n || i) && !M, F = (e == null ? void 0 : e.imageHoverEffect) ?? "none", S = j && F !== "none" ? `${c}-item-image-hover-${F}` : void 0, R = (() => {
38290
38291
  const de = {}, Le = H.current ? getComputedStyle(H.current).getPropertyValue("--cntrl-article-width").trim() : "";
38291
38292
  return Le && (de["--cntrl-article-width"] = Le), de;
38292
- })(), G = !n || i || o, z = Be(() => vy(d), [d]), ne = Be(() => $y(d), [d]), W = (de, Le) => {
38293
+ })(), G = !n || i || o, B = ze(() => vy(d), [d]), ne = ze(() => $y(d), [d]), W = (de, Le) => {
38293
38294
  if (n && !o && !i) return;
38294
- const ae = z.findIndex((U) => U.gridIndex === de);
38295
+ const ae = B.findIndex((U) => U.gridIndex === de);
38295
38296
  if (ae < 0) return;
38296
- const be = z[ae];
38297
- A(ae), v(be.items), g(0), Z(be.entry), X(Le ?? null), B(!0);
38297
+ const be = B[ae];
38298
+ A(ae), v(be.items), g(0), Z(be.entry), X(Le ?? null), z(!0);
38298
38299
  }, xe = ye(() => {
38299
- B(!1), X(null);
38300
+ z(!1), X(null);
38300
38301
  }, []), h = ye(() => {
38301
- const de = z[L];
38302
+ const de = B[L];
38302
38303
  return !de || !H.current ? V : yy(H.current, de.gridIndex, f) ?? V;
38303
- }, [z, L, V, f]), we = ye((de) => {
38304
- if (z.length > 1) {
38305
- const Le = z.length, ae = (L + de + Le) % Le, be = z[ae];
38304
+ }, [B, L, V, f]), we = ye((de) => {
38305
+ if (B.length > 1) {
38306
+ const Le = B.length, ae = (L + de + Le) % Le, be = B[ae];
38306
38307
  A(ae), v(be.items), g(0), Z(be.entry);
38307
38308
  return;
38308
38309
  }
38309
38310
  g((Le) => (Le + de + I.length) % I.length);
38310
- }, [z, L, I.length]), q = z.length > 1 || I.length > 1;
38311
+ }, [B, L, I.length]), q = B.length > 1 || I.length > 1;
38311
38312
  return We(() => {
38312
38313
  if (!M || typeof document > "u") return;
38313
38314
  const de = document.body.style.overflow;
@@ -38315,7 +38316,7 @@ function Hy({
38315
38316
  document.body.style.overflow = de;
38316
38317
  };
38317
38318
  }, [M]), We(() => {
38318
- !n || o || i || B(!1);
38319
+ !n || o || i || z(!1);
38319
38320
  }, [n, o, i]), /* @__PURE__ */ J(lt, { children: [
38320
38321
  /* @__PURE__ */ l("style", { dangerouslySetInnerHTML: { __html: s } }),
38321
38322
  /* @__PURE__ */ l(Cy, { mediaList: ne }),
@@ -38410,7 +38411,7 @@ function Hy({
38410
38411
  isEditMode: o,
38411
38412
  isPreviewMode: i,
38412
38413
  canNavigate: q,
38413
- lightboxEntries: z,
38414
+ lightboxEntries: B,
38414
38415
  entryIdx: L,
38415
38416
  layoutId: r,
38416
38417
  sourceRect: V,
@@ -38508,8 +38509,9 @@ function getCSS(P: string): string {
38508
38509
  vertical-align: baseline;
38509
38510
  position: relative;
38510
38511
  z-index: 1;
38511
- height: var(--\${P}-cap-height);
38512
- margin-top: calc(var(--\${P}-line-height) - var(--\${P}-cap-height));
38512
+ height: 1cap;
38513
+ max-height: 1cap;
38514
+ margin-top: calc(var(--\${P}-line-height) - 1cap);
38513
38515
  margin-bottom: 0;
38514
38516
  margin-left: var(--\${P}-image-inline-gap);
38515
38517
  margin-right: var(--\${P}-image-inline-gap);
@@ -38518,6 +38520,7 @@ function getCSS(P: string): string {
38518
38520
  .\${P}-item-image video {
38519
38521
  display: block;
38520
38522
  height: 100%;
38523
+ max-height: 1cap;
38521
38524
  }
38522
38525
  .\${P}-item-image-hover-scale-in img,
38523
38526
  .\${P}-item-image-hover-scale-in video {
@@ -38563,7 +38566,6 @@ function getWaterfallTextMetricsVars(
38563
38566
 
38564
38567
  return {
38565
38568
  [\`--\${varPrefix}-line-height\`]: scalingValue(lineHeight, isEditor ?? false),
38566
- [\`--\${varPrefix}-cap-height\`]: scalingValue(fontSize, isEditor ?? false),
38567
38569
  [\`--\${varPrefix}-image-inline-gap\`]: scalingValue(fontSize * IMAGE_INLINE_GAP_RATIO, isEditor ?? false),
38568
38570
  } as React.CSSProperties;
38569
38571
  }
@@ -38915,7 +38917,7 @@ export function Waterfall({
38915
38917
  }
38916
38918
  }
38917
38919
  };
38918
- function zy(e) {
38920
+ function By(e) {
38919
38921
  const t = {};
38920
38922
  return t[Ke(e, "fontFamily")] = {
38921
38923
  type: "string",
@@ -38961,10 +38963,10 @@ function zy(e) {
38961
38963
  }
38962
38964
  const Ki = ni.filter(
38963
38965
  (e) => e !== "count"
38964
- ), By = Ki.reduce(
38966
+ ), zy = Ki.reduce(
38965
38967
  (e, t) => ({
38966
38968
  ...e,
38967
- ...zy(t)
38969
+ ...By(t)
38968
38970
  }),
38969
38971
  {}
38970
38972
  ), Dy = Ki.reduce(
@@ -39313,7 +39315,7 @@ const Vy = {
39313
39315
  fontVariant: { type: "string", enum: ["normal", "small-caps"] }
39314
39316
  }
39315
39317
  },
39316
- ...By
39318
+ ...zy
39317
39319
  },
39318
39320
  defaults: {
39319
39321
  imageDisplay: {
@@ -39522,7 +39524,7 @@ const Vy = {
39522
39524
  sourceCode: Ny
39523
39525
  }, Qy = [
39524
39526
  Wu,
39525
- Bu,
39527
+ zu,
39526
39528
  Jf,
39527
39529
  Ep,
39528
39530
  Np,