@cntrl-site/components 1.0.106-alpha.0 → 1.0.107-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 (92) hide show
  1. package/dist/ArchivePopup-DMpGP8r2.js +176 -0
  2. package/dist/ArchivePopup-X4EtTAyA.mjs +694 -0
  3. package/dist/ArchivePopupComponent-BTniPIfi.js +1 -0
  4. package/dist/{PretextComponent-j-OsRZTx.mjs → ArchivePopupComponent-GgAT2Avz.mjs} +954 -479
  5. package/dist/ClickGallerie-CYQMgrIr.js +36 -0
  6. package/dist/ClickGallerie-o2U6oyOF.mjs +272 -0
  7. package/dist/Components/ArchivePopup/ArchivePopup.d.ts +154 -0
  8. package/dist/Components/ArchivePopup/ArchivePopupComponent.d.ts +288 -0
  9. package/dist/Components/ClickGallerie/ClickGallerie.d.ts +2 -1
  10. package/dist/Components/Helix/Helix.d.ts +4 -1
  11. package/dist/Components/Hive/Hive.d.ts +4 -1
  12. package/dist/Components/ImageRevealSlider/ImageRevealSlider.d.ts +2 -1
  13. package/dist/Components/List/List.d.ts +6 -2
  14. package/dist/Components/Marquee/Marquee.d.ts +6 -2
  15. package/dist/Components/MarqueeText/MarqueeText.d.ts +2 -1
  16. package/dist/Components/Mercury/Mercury.d.ts +4 -1
  17. package/dist/Components/Waterfall/WaterfallLightbox.d.ts +4 -1
  18. package/dist/Components/utils/EmbedMediaFrame.d.ts +27 -0
  19. package/dist/Components/utils/LinkWrapper.d.ts +16 -0
  20. package/dist/Components/utils/embedMedia.d.ts +40 -0
  21. package/dist/Components/utils/index.d.ts +6 -0
  22. package/dist/{ControlSlider-SiOt22l_.js → ControlSlider-Kkec-i14.js} +1 -1
  23. package/dist/{ControlSlider-pZv7H6BU.mjs → ControlSlider-LcZmviGX.mjs} +1 -1
  24. package/dist/EmbedMediaFrame-DsOTKE4i.js +1 -0
  25. package/dist/EmbedMediaFrame-DwHeOAy5.mjs +164 -0
  26. package/dist/{FAQ-C7823fyi.js → FAQ-BxhMo7T8.js} +1 -1
  27. package/dist/{FAQ-CZ39u4m8.mjs → FAQ-CdwSft5p.mjs} +1 -1
  28. package/dist/Grid-CFHTP3mb.js +378 -0
  29. package/dist/Grid-e-gLfsji.mjs +1590 -0
  30. package/dist/Helix-BpLo9FD3.js +43 -0
  31. package/dist/Helix-CidI3ucE.mjs +324 -0
  32. package/dist/{Hive-D6-R6TwM.mjs → Hive-BsmFHk2i.mjs} +505 -475
  33. package/dist/Hive-D1j6wZpV.js +321 -0
  34. package/dist/ImageRevealSlider-BuukTGAK.js +1 -0
  35. package/dist/{ImageRevealSlider-BdFGyVEP.mjs → ImageRevealSlider-Df9sygk9.mjs} +63 -70
  36. package/dist/{Lightbox-eP9qAZzL.mjs → Lightbox-C_fXsfdz.mjs} +1 -1
  37. package/dist/{Lightbox-CIss_nOG.js → Lightbox-DaunVrkp.js} +1 -1
  38. package/dist/LinkWrapper-Ca84iPtg.js +1 -0
  39. package/dist/LinkWrapper-DZs9hlOn.mjs +13 -0
  40. package/dist/{List-DW7fyJbf.mjs → List-Bh_-l9vD.mjs} +532 -520
  41. package/dist/List-DVvpQ24J.js +377 -0
  42. package/dist/Marquee-DByooiWP.mjs +578 -0
  43. package/dist/Marquee-DfIP-tIN.js +133 -0
  44. package/dist/{MarqueeText-Rzt2fJYt.mjs → MarqueeText-D6FNCe6P.mjs} +115 -114
  45. package/dist/MarqueeText-DsUiV6Zv.js +132 -0
  46. package/dist/Mercury-B-s2Kvuq.js +267 -0
  47. package/dist/Mercury-CCW0Es-s.mjs +1700 -0
  48. package/dist/{RichTextRenderer-B6WtTYlR.mjs → RichTextRenderer-BptwNpbJ.mjs} +10 -9
  49. package/dist/RichTextRenderer-K90Dd7pt.js +1 -0
  50. package/dist/{Slider20-Dm8BeCli.mjs → Slider20-CCzixTiN.mjs} +1 -1
  51. package/dist/{Slider20-C9o2REDl.js → Slider20-fMVeRfgx.js} +1 -1
  52. package/dist/{TestimonialGrid-CPu4qQ6B.mjs → TestimonialGrid-CbsVxSn9.mjs} +1 -1
  53. package/dist/{TestimonialGrid-D4ieiz9e.js → TestimonialGrid-CiCagfBU.js} +1 -1
  54. package/dist/{TestimonialSingle-DLdnAVF7.mjs → TestimonialSingle-BVm3Amrl.mjs} +1 -1
  55. package/dist/{TestimonialSingle-CVu15ZtV.js → TestimonialSingle-BWXynGjv.js} +1 -1
  56. package/dist/Waterfall-3kKioKh2.mjs +1432 -0
  57. package/dist/Waterfall-DII4-WV5.js +288 -0
  58. package/dist/{components-D2LyuDm-.mjs → components-DKuQ8PUa.mjs} +19 -18
  59. package/dist/components-SEwSqFrQ.js +1 -0
  60. package/dist/content/postFieldBindings.d.ts +29 -0
  61. package/dist/elements.js +1 -1
  62. package/dist/elements.mjs +22 -21
  63. package/dist/elements.node.js +1 -1
  64. package/dist/elements.node.mjs +1 -1
  65. package/dist/index.d.ts +3 -1
  66. package/dist/index.js +1 -1
  67. package/dist/index.mjs +52 -15
  68. package/dist/sources.js +1331 -233
  69. package/dist/sources.mjs +1355 -256
  70. package/dist/types/SchemaV1.d.ts +53 -1
  71. package/dist/utils.js +1 -1
  72. package/dist/utils.mjs +30 -20
  73. package/package.json +1 -1
  74. package/dist/ClickGallerie-D7g093HX.js +0 -36
  75. package/dist/ClickGallerie-QSOQjSdv.mjs +0 -271
  76. package/dist/Grid-BBpdl60K.js +0 -374
  77. package/dist/Grid-DS53S_gA.mjs +0 -1576
  78. package/dist/Helix-BPn9V1sg.mjs +0 -315
  79. package/dist/Helix-DcgsCc4D.js +0 -43
  80. package/dist/Hive-n8Fz-j3o.js +0 -321
  81. package/dist/ImageRevealSlider-BBWtFjUF.js +0 -1
  82. package/dist/List-C32WImI3.js +0 -377
  83. package/dist/Marquee-DOIRRCu4.js +0 -133
  84. package/dist/Marquee-O_PDwlIb.mjs +0 -564
  85. package/dist/MarqueeText-DkaO2lQ5.js +0 -132
  86. package/dist/Mercury-C9D10TTT.mjs +0 -1702
  87. package/dist/Mercury-DynO-NxY.js +0 -267
  88. package/dist/PretextComponent-BnsS2zJ6.js +0 -1
  89. package/dist/RichTextRenderer-CIy6yI8U.js +0 -1
  90. package/dist/Waterfall-DC2WQ3GT.js +0 -287
  91. package/dist/Waterfall-Yud2VR62.mjs +0 -1404
  92. package/dist/components-B9Vdjf0w.js +0 -1
@@ -1,30 +1,41 @@
1
- import { jsxs as Y, Fragment as Ee, jsx as b } from "react/jsx-runtime";
2
- import { useState as zt, useRef as q, useLayoutEffect as Ut, useEffect as Ct, useMemo as E, useCallback as Z } from "react";
3
- import { createPortal as Mo } from "react-dom";
1
+ import { jsxs as U, Fragment as Ee, jsx as C } from "react/jsx-runtime";
2
+ import { useState as Kt, useRef as Y, useLayoutEffect as zt, useEffect as wt, useMemo as E, useCallback as Z } from "react";
3
+ import { createPortal as Oo } from "react-dom";
4
4
  import { s as ot } from "./scalingValue-C9JH5L6O.mjs";
5
- import { b as Oo } from "./buildColorVars-CLyWQm5K.mjs";
6
- import { u as _o } from "./useScopedStyles-DhBG3557.mjs";
7
- import { o as Ho, t as Fo } from "./textStylesToCss-05Mn6I_2.mjs";
8
- function No(t) {
5
+ import { b as _o } from "./buildColorVars-CLyWQm5K.mjs";
6
+ import { u as Fo } from "./useScopedStyles-DhBG3557.mjs";
7
+ import { i as ze, E as Ho } from "./EmbedMediaFrame-DwHeOAy5.mjs";
8
+ import { o as No, t as Do } from "./textStylesToCss-05Mn6I_2.mjs";
9
+ function Vo(t) {
10
+ if (ze(t)) return !1;
9
11
  if (t.type === "video") return !0;
10
12
  if (t.type === "image") return !1;
11
13
  const e = t.name ?? "";
12
14
  return /\.(mp4|webm|ogg|mov)(\?|$)/i.test(e) ? !0 : /\.(mp4|webm|ogg|mov)(\?|$)/i.test(t.assetId);
13
15
  }
14
- function Do({
16
+ function Io({
15
17
  media: t,
16
18
  className: e,
17
19
  style: o
18
20
  }) {
19
- const r = q(null);
20
- return Ct(() => {
21
+ const r = Y(null);
22
+ return wt(() => {
21
23
  if (!t.isVideo) return;
22
24
  const n = r.current;
23
25
  if (!n) return;
24
26
  const a = n.play();
25
27
  a && a.catch(() => {
26
28
  });
27
- }, [t.isVideo, t.assetId]), t.isVideo ? /* @__PURE__ */ b(
29
+ }, [t.isVideo, t.assetId]), t.embed ? /* @__PURE__ */ C(
30
+ Ho,
31
+ {
32
+ media: t.embed,
33
+ startsAtOnce: !0,
34
+ fit: "contain",
35
+ className: e,
36
+ style: o
37
+ }
38
+ ) : t.isVideo ? /* @__PURE__ */ C(
28
39
  "video",
29
40
  {
30
41
  ref: r,
@@ -37,7 +48,7 @@ function Do({
37
48
  playsInline: !0,
38
49
  preload: "auto"
39
50
  }
40
- ) : /* @__PURE__ */ b(
51
+ ) : /* @__PURE__ */ C(
41
52
  "img",
42
53
  {
43
54
  className: e,
@@ -50,7 +61,7 @@ function Do({
50
61
  function ie(t) {
51
62
  return `calc(var(--cntrl-article-width, 100vw) * ${t / 1440})`;
52
63
  }
53
- function Vo(t) {
64
+ function Ko(t) {
54
65
  return String(t ?? "").trim().length > 0;
55
66
  }
56
67
  function Se(t, e) {
@@ -62,29 +73,29 @@ function Me(t, e) {
62
73
  o.classList.toggle(`${e}-reveal-from-bottom`, n);
63
74
  }
64
75
  function Oe(t, e, o, r, n, a, s) {
65
- const u = ot(a, s), m = ot(0, s), i = t === 0, f = t === e - 1 && !n;
66
- return { borderTopWidth: i && o ? u : m, borderBottomWidth: !f || r ? u : m };
76
+ const u = ot(a, s), m = ot(0, s), i = t === 0, p = t === e - 1 && !n;
77
+ return { borderTopWidth: i && o ? u : m, borderBottomWidth: !p || r ? u : m };
67
78
  }
68
- function Io(t, e, o) {
79
+ function zo(t, e, o) {
69
80
  const r = ot(e, o), n = ot(0, o);
70
81
  return {
71
82
  borderTopWidth: n,
72
83
  borderBottomWidth: t ? r : n
73
84
  };
74
85
  }
75
- const _e = 10, He = 10, bt = {
86
+ const _e = 10, Fe = 10, Ct = {
76
87
  positionEase: 0.14,
77
88
  rotationEase: 0.09,
78
89
  rotationFactor: 2.5,
79
90
  maxRotation: 20
80
91
  };
81
- function Ko(t, e, o) {
92
+ function Uo(t, e, o) {
82
93
  return Math.max(e, Math.min(o, t));
83
94
  }
84
95
  function ae(t, e, o) {
85
96
  return t + (e - t) * o;
86
97
  }
87
- function zo(t, e, o, r) {
98
+ function Xo(t, e, o, r) {
88
99
  if (!e)
89
100
  return { x: 0, y: 0 };
90
101
  const n = e.getBoundingClientRect(), a = n.top + n.height / 2;
@@ -95,17 +106,17 @@ function zo(t, e, o, r) {
95
106
  };
96
107
  switch (t) {
97
108
  case "left":
98
- return { x: n.left + He + r / 2, y: a };
109
+ return { x: n.left + Fe + r / 2, y: a };
99
110
  case "center":
100
111
  return { x: n.left + n.width / 2, y: a };
101
112
  case "right":
102
- return { x: n.right - He - r / 2, y: a };
113
+ return { x: n.right - Fe - r / 2, y: a };
103
114
  default:
104
115
  return { x: n.left + n.width / 2, y: a };
105
116
  }
106
117
  }
107
- function Uo(t, e) {
108
- const o = q(null), r = q({
118
+ function Yo(t, e) {
119
+ const o = Y(null), r = Y({
109
120
  x: 0,
110
121
  y: 0,
111
122
  rotation: 0,
@@ -114,14 +125,14 @@ function Uo(t, e) {
114
125
  targetRotation: 0,
115
126
  lastX: 0,
116
127
  hasLastX: !1
117
- }), n = q(null), a = Z(() => {
128
+ }), n = Y(null), a = Z(() => {
118
129
  const c = o.current, R = r.current;
119
130
  c && (c.style.transform = `translate3d(${R.x}px, ${R.y}px, 0) translate(-50%, -50%) rotate(${R.rotation.toFixed(3)}deg)`);
120
131
  }, []), s = Z(() => {
121
132
  n.current !== null && (cancelAnimationFrame(n.current), n.current = null);
122
133
  }, []), u = Z(() => {
123
134
  const c = r.current;
124
- e ? (c.x = ae(c.x, c.targetX, bt.positionEase), c.y = ae(c.y, c.targetY, bt.positionEase), c.rotation = ae(c.rotation, c.targetRotation, bt.rotationEase)) : (c.x = c.targetX, c.y = c.targetY, c.rotation = c.targetRotation), a();
135
+ e ? (c.x = ae(c.x, c.targetX, Ct.positionEase), c.y = ae(c.y, c.targetY, Ct.positionEase), c.rotation = ae(c.rotation, c.targetRotation, Ct.rotationEase)) : (c.x = c.targetX, c.y = c.targetY, c.rotation = c.targetRotation), a();
125
136
  const R = Math.abs(c.x - c.targetX) < 0.4 && Math.abs(c.y - c.targetY) < 0.4, v = Math.abs(c.rotation - c.targetRotation) < 0.08;
126
137
  !R || !v ? n.current = requestAnimationFrame(u) : n.current = null;
127
138
  }, [a, e]), m = Z(() => {
@@ -129,15 +140,15 @@ function Uo(t, e) {
129
140
  }, [u]), i = Z((c, R) => {
130
141
  const v = r.current;
131
142
  v.targetX = c, v.targetY = R, v.targetRotation = 0, v.x = c, v.y = R, v.rotation = 0, v.lastX = c, v.hasLastX = !0, a(), e && m();
132
- }, [a, e, m]), f = Z((c, R) => {
143
+ }, [a, e, m]), p = Z((c, R) => {
133
144
  if (!t) return;
134
145
  const v = r.current;
135
146
  if (e && v.hasLastX) {
136
- const N = c - v.lastX;
137
- v.targetRotation = Ko(
138
- N * bt.rotationFactor,
147
+ const D = c - v.lastX;
148
+ v.targetRotation = Uo(
149
+ D * Ct.rotationFactor,
139
150
  -20,
140
- bt.maxRotation
151
+ Ct.maxRotation
141
152
  );
142
153
  } else
143
154
  v.targetRotation = 0;
@@ -160,9 +171,9 @@ function Uo(t, e) {
160
171
  hasLastX: !1
161
172
  }, o.current && (o.current.style.transform = "");
162
173
  }, [s]);
163
- return Ct(() => (t || O(), s), [t, O, s]), { anchorRef: o, onShow: i, onCursorMove: f, exit: L, reset: O };
174
+ return wt(() => (t || O(), s), [t, O, s]), { anchorRef: o, onShow: i, onCursorMove: p, exit: L, reset: O };
164
175
  }
165
- function Xo(t) {
176
+ function jo(t) {
166
177
  return `
167
178
  .${t}-wrapper {
168
179
  display: grid;
@@ -541,99 +552,99 @@ a.${t}-list-item {
541
552
  }
542
553
  `;
543
554
  }
544
- const jt = [
555
+ const Yt = [
545
556
  "AColumn",
546
557
  "BColumnWidth",
547
558
  "CColumnWidth",
548
559
  "DColumnWidth",
549
560
  "EColumnWidth"
550
- ], ze = [
561
+ ], Ue = [
551
562
  "AColumn",
552
563
  "BColumn",
553
564
  "CColumn",
554
565
  "DColumn",
555
566
  "EColumn"
556
- ], wt = "cutLabel", Yo = [
557
- ...ze,
558
- wt
559
- ], Gt = ["A", "B", "C", "D", "E"];
560
- function Ue(t) {
567
+ ], xt = "cutLabel", qo = [
568
+ ...Ue,
569
+ xt
570
+ ], qt = ["A", "B", "C", "D", "E"];
571
+ function Xe(t) {
561
572
  return `${t}ColumnVerticalAlign`;
562
573
  }
563
- const Br = ["Top", "Center", "Bottom"];
564
- function Xe(t) {
574
+ const Mr = ["Top", "Center", "Bottom"];
575
+ function Ye(t) {
565
576
  const e = String(t ?? "Top").trim();
566
577
  if (e.toLowerCase().startsWith("baseline")) {
567
578
  const r = e.slice(-1).toUpperCase();
568
- return Gt.includes(r) ? `Baseline ${r}` : "Top";
579
+ return qt.includes(r) ? `Baseline ${r}` : "Top";
569
580
  }
570
581
  const o = e.toLowerCase();
571
582
  return o === "center" ? "Center" : o === "bottom" ? "Bottom" : o === "top" ? "Top" : e;
572
583
  }
573
- function jo(t) {
574
- const e = Xe(t);
584
+ function Go(t) {
585
+ const e = Ye(t);
575
586
  return e.toLowerCase().startsWith("baseline") ? !1 : e === "Top" || e === "Center" || e === "Bottom";
576
587
  }
577
- function qo(t) {
588
+ function Jo(t) {
578
589
  const e = String(t ?? "").trim();
579
590
  if (!e.toLowerCase().startsWith("baseline"))
580
591
  return null;
581
592
  const o = e.slice(-1).toUpperCase();
582
- return Gt.includes(o) ? o : null;
593
+ return qt.includes(o) ? o : null;
583
594
  }
584
- function Ye(t, e, o) {
585
- const r = qo(t);
586
- return r ? r === e ? !1 : jo(o[Ue(r)]) : !0;
595
+ function je(t, e, o) {
596
+ const r = Jo(t);
597
+ return r ? r === e ? !1 : Go(o[Xe(r)]) : !0;
587
598
  }
588
- function Lt(t) {
589
- const e = Xe(t);
599
+ function Rt(t) {
600
+ const e = Ye(t);
590
601
  if (e.toLowerCase().startsWith("baseline")) {
591
602
  const o = e.slice(-1).toUpperCase();
592
- return Gt.includes(o) ? { kind: "baseline", anchorLetter: o } : { kind: "top" };
603
+ return qt.includes(o) ? { kind: "baseline", anchorLetter: o } : { kind: "top" };
593
604
  }
594
605
  return e === "Center" ? { kind: "center" } : e === "Bottom" ? { kind: "bottom" } : { kind: "top" };
595
606
  }
596
- function Go(t, e, o) {
597
- if (je(t, e, o))
598
- return Lt(t);
599
- const r = Lt(t);
607
+ function Zo(t, e, o) {
608
+ if (qe(t, e, o))
609
+ return Rt(t);
610
+ const r = Rt(t);
600
611
  return r.kind === "baseline" ? { kind: "top" } : r;
601
612
  }
602
- function Jo(t) {
603
- const e = Lt(t);
613
+ function Qo(t) {
614
+ const e = Rt(t);
604
615
  return e.kind === "baseline" ? { kind: "top" } : e;
605
616
  }
606
- function je(t, e, o) {
607
- return Ye(t, o, e) ? Lt(t).kind === "baseline" : !1;
617
+ function qe(t, e, o) {
618
+ return je(t, o, e) ? Rt(t).kind === "baseline" : !1;
608
619
  }
609
- function Zo(t) {
620
+ function Po(t) {
610
621
  const e = {};
611
622
  let o = !1;
612
- for (const r of Gt) {
613
- const n = Ue(r), a = t[n];
623
+ for (const r of qt) {
624
+ const n = Xe(r), a = t[n];
614
625
  if (t.type === "b") {
615
626
  const s = String(a ?? "Top").trim();
616
627
  s !== "Top" && s !== "Center" && s !== "Bottom" && (e[n] = "Top", o = !0);
617
628
  continue;
618
629
  }
619
- Ye(a, r, t) || (e[n] = "Top", o = !0);
630
+ je(a, r, t) || (e[n] = "Top", o = !0);
620
631
  }
621
632
  return o ? e : null;
622
633
  }
623
- function Qo(t) {
634
+ function tr(t) {
624
635
  return t === "center" ? { flex: "0 0 auto", marginTop: "auto", marginBottom: "auto" } : t === "bottom" ? { flex: "0 0 auto", marginTop: "auto" } : {};
625
636
  }
626
- function Po(t) {
627
- const e = Lt(t).kind;
637
+ function er(t) {
638
+ const e = Rt(t).kind;
628
639
  return e === "baseline" ? "center" : e;
629
640
  }
630
- function tr(t) {
641
+ function or(t) {
631
642
  return t === "right" ? "flex-end" : t === "center" ? "center" : "flex-start";
632
643
  }
633
- function Fe(t) {
644
+ function He(t) {
634
645
  return t === "center" ? "center" : t === "bottom" ? "flex-end" : "flex-start";
635
646
  }
636
- function er(t, e) {
647
+ function rr(t, e) {
637
648
  const o = document.createElement("i");
638
649
  o.className = e, o.setAttribute("aria-hidden", "true"), t.prepend(o);
639
650
  const { top: r } = t.getBoundingClientRect(), { bottom: n } = o.getBoundingClientRect(), a = n - r;
@@ -644,34 +655,34 @@ function le(t, e, o, r) {
644
655
  if (!n) return 0;
645
656
  const a = n.closest(`.${o}`);
646
657
  if (!a) return 0;
647
- const s = er(n, r);
658
+ const s = rr(n, r);
648
659
  if (t.kind === "baseline")
649
660
  return n.getBoundingClientRect().top - e + s;
650
661
  const u = a.getBoundingClientRect(), m = n.getBoundingClientRect().height;
651
662
  let i = 0;
652
663
  return t.kind === "center" ? i = (u.height - m) / 2 : t.kind === "bottom" && (i = u.height - m), u.top - e + i + s;
653
664
  }
654
- function or(t, e, o) {
665
+ function nr(t, e, o) {
655
666
  const r = t.getBoundingClientRect().height;
656
667
  return r <= 0 ? 0 : (e.forEach((n) => {
657
668
  const a = n.querySelector(`.${o}`);
658
669
  a && (a.style.minHeight = `${r}px`, a.style.height = `${r}px`);
659
670
  }), r);
660
671
  }
661
- function rr(t, e) {
672
+ function ir(t, e) {
662
673
  return !t || !e ? (t && (t.style.transform = ""), 0) : (t.style.transform = `translateY(${e}px)`, e);
663
674
  }
664
- const nr = {
675
+ const ar = {
665
676
  AColumn: "AColumn",
666
677
  BColumnWidth: "BColumn",
667
678
  CColumnWidth: "CColumn",
668
679
  DColumnWidth: "DColumn",
669
680
  EColumnWidth: "EColumn"
670
681
  };
671
- function j(t, e) {
682
+ function X(t, e) {
672
683
  return `${t}${e.replace(/^text/, "Text")}`;
673
684
  }
674
- const ir = {
685
+ const lr = {
675
686
  AColumn: "A",
676
687
  BColumn: "B",
677
688
  CColumn: "C",
@@ -679,39 +690,39 @@ const ir = {
679
690
  EColumn: "E",
680
691
  cutLabel: "CUT"
681
692
  };
682
- function ar(t) {
693
+ function sr(t) {
683
694
  return [
684
- j(t, "textFontFamily"),
685
- j(t, "textFontSettings"),
695
+ X(t, "textFontFamily"),
696
+ X(t, "textFontSettings"),
686
697
  {
687
698
  type: "row",
688
699
  items: [
689
- j(t, "textFontSize"),
690
- j(t, "textLineHeight"),
691
- j(t, "textLetterSpacing"),
692
- j(t, "textWordSpacing")
700
+ X(t, "textFontSize"),
701
+ X(t, "textLineHeight"),
702
+ X(t, "textLetterSpacing"),
703
+ X(t, "textWordSpacing")
693
704
  ]
694
705
  },
695
- j(t, "textTextAlign"),
696
- j(t, "textTextAppearance"),
706
+ X(t, "textTextAlign"),
707
+ X(t, "textTextAppearance"),
697
708
  `${t}VerticalAlign`
698
709
  ];
699
710
  }
700
- function Er() {
711
+ function Or() {
701
712
  return {
702
713
  type: "tab",
703
714
  id: "listColumnTextStyle",
704
715
  tabs: Object.fromEntries(
705
- Yo.map((t) => [
706
- ir[t],
707
- ar(t)
716
+ qo.map((t) => [
717
+ lr[t],
718
+ sr(t)
708
719
  ])
709
720
  )
710
721
  };
711
722
  }
712
- function qt(t, e) {
723
+ function jt(t, e) {
713
724
  const o = (r) => {
714
- const n = j(e, r);
725
+ const n = X(e, r);
715
726
  return t[n];
716
727
  };
717
728
  return {
@@ -724,7 +735,7 @@ function qt(t, e) {
724
735
  textLineHeight: o("textLineHeight"),
725
736
  textLetterSpacing: o("textLetterSpacing") ?? 0,
726
737
  textWordSpacing: o("textWordSpacing") ?? 0,
727
- textTextAlign: o("textTextAlign") ?? (e === wt ? "center" : "left"),
738
+ textTextAlign: o("textTextAlign") ?? (e === xt ? "center" : "left"),
728
739
  textTextAppearance: o("textTextAppearance"),
729
740
  textColor: t.textColor
730
741
  };
@@ -745,14 +756,14 @@ function Ne(t, e) {
745
756
  textAppearance: t.textTextAppearance,
746
757
  color: t.textColor ?? "#767676"
747
758
  };
748
- return Ho(Fo(o, e));
759
+ return No(Do(o, e));
749
760
  }
750
761
  function De(t, e, o, r) {
751
- const n = qt(t, e), a = n.textFontSize ?? 0.01, s = n.textLineHeight;
762
+ const n = jt(t, e), a = n.textFontSize ?? 0.01, s = n.textLineHeight;
752
763
  return s !== void 0 && s < a ? `${o} ${r}` : o;
753
764
  }
754
765
  function Ve(t, e, o, r) {
755
- const n = qt(t, e), a = n.textFontSize ?? 0.01, s = n.textLineHeight;
766
+ const n = jt(t, e), a = n.textFontSize ?? 0.01, s = n.textLineHeight;
756
767
  return s === void 0 || s >= a ? {} : {
757
768
  [`--${o}-title-leading-gap`]: ot((a - s) / 2, r)
758
769
  };
@@ -763,37 +774,37 @@ const M = [
763
774
  "CColumnWidth",
764
775
  "DColumnWidth",
765
776
  "EColumnWidth"
766
- ], dt = [
777
+ ], ct = [
767
778
  "AColumnPaddingLeft",
768
779
  "BColumnPaddingLeft",
769
780
  "CColumnPaddingLeft",
770
781
  "DColumnPaddingLeft",
771
782
  "EColumnPaddingLeft"
772
- ], ut = [
783
+ ], dt = [
773
784
  "AColumnPaddingRight",
774
785
  "BColumnPaddingRight",
775
786
  "CColumnPaddingRight",
776
787
  "DColumnPaddingRight",
777
788
  "EColumnPaddingRight"
778
- ], ht = [
789
+ ], ut = [
779
790
  "AColumnPaddingBottom",
780
791
  "BColumnPaddingBottom",
781
792
  "CColumnPaddingBottom",
782
793
  "DColumnPaddingBottom",
783
794
  "EColumnPaddingBottom"
784
- ], lr = {
795
+ ], cr = {
785
796
  textColor: "text-color",
786
797
  backgroundColor: "background-color",
787
798
  dividerColor: "divider-color",
788
799
  textHoverColor: "text-hover-color",
789
800
  backgroundHoverColor: "background-hover-color",
790
801
  dividerHoverColor: "divider-hover-color"
791
- }, sr = ["hover", "focus", "filled", "success", "error"], Ie = 4e-3, ct = 4e-3, se = ct, de = 50, Rt = 1440, Tt = de / Rt;
792
- function qe(t) {
793
- const e = typeof t == "number" && t > 0 ? t : Rt;
802
+ }, dr = ["hover", "focus", "filled", "success", "error"], Ie = 4e-3, st = 4e-3, se = st, de = 50, Tt = 1440, Wt = de / Tt;
803
+ function Ge(t) {
804
+ const e = typeof t == "number" && t > 0 ? t : Tt;
794
805
  return de / e;
795
806
  }
796
- function cr(t) {
807
+ function ur(t) {
797
808
  let e = t ?? null;
798
809
  for (; e; ) {
799
810
  const o = e.style.getPropertyValue("--cntrl-article-width").trim();
@@ -810,46 +821,46 @@ function cr(t) {
810
821
  }
811
822
  e = e.parentElement;
812
823
  }
813
- return Rt;
824
+ return Tt;
814
825
  }
815
- const Ge = {
826
+ const Je = {
816
827
  AColumnWidth: 0.02,
817
828
  BColumnWidth: 0.02,
818
829
  CColumnWidth: 0.02,
819
830
  DColumnWidth: 0.02,
820
831
  EColumnWidth: 0.02
821
832
  };
822
- function xt(t) {
833
+ function Lt(t) {
823
834
  const e = typeof t.wrapperWidth == "number" ? t.wrapperWidth : 1;
824
835
  return Math.max(0, e);
825
836
  }
826
- function dr(t, e = 1) {
837
+ function hr(t, e = 1) {
827
838
  const o = e / t;
828
839
  return Object.fromEntries(
829
840
  M.map((r) => [r, o])
830
841
  );
831
842
  }
832
- function ur() {
843
+ function mr() {
833
844
  return Object.fromEntries([
834
- ...dt.map((t) => [t, 0]),
835
- ...ut.map((t) => [t, 0])
845
+ ...ct.map((t) => [t, 0]),
846
+ ...dt.map((t) => [t, 0])
836
847
  ]);
837
848
  }
838
- function hr() {
849
+ function pr() {
839
850
  return Object.fromEntries(
840
- ht.map((t) => [t, 0])
851
+ ut.map((t) => [t, 0])
841
852
  );
842
853
  }
843
- function Xt(t) {
854
+ function Ut(t) {
844
855
  return Object.fromEntries(
845
856
  M.map((e) => [
846
857
  e,
847
- typeof t[e] == "number" ? t[e] : Ge[e]
858
+ typeof t[e] == "number" ? t[e] : Je[e]
848
859
  ])
849
860
  );
850
861
  }
851
- function Je(t, e, o) {
852
- const r = t - Tt, n = e + o;
862
+ function Ze(t, e, o) {
863
+ const r = t - Wt, n = e + o;
853
864
  if (n <= 0 || n <= r)
854
865
  return { paddingLeft: e, paddingRight: o };
855
866
  if (r <= 0)
@@ -860,7 +871,7 @@ function Je(t, e, o) {
860
871
  paddingRight: o * a
861
872
  };
862
873
  }
863
- function Yt(t, e, o) {
874
+ function Xt(t, e, o) {
864
875
  const r = ue(t, e, o);
865
876
  if (t <= 0)
866
877
  return [];
@@ -870,10 +881,10 @@ function Yt(t, e, o) {
870
881
  Math.max(0, e - n)
871
882
  ];
872
883
  }
873
- function mr(t, e, o) {
884
+ function fr(t, e, o) {
874
885
  const r = {};
875
886
  for (let n = 0; n < t; n += 1) {
876
- const a = dt[n], s = ut[n], u = typeof o[a] == "number" ? o[a] : 0, m = typeof o[s] == "number" ? o[s] : 0, i = Je(
887
+ const a = ct[n], s = dt[n], u = typeof o[a] == "number" ? o[a] : 0, m = typeof o[s] == "number" ? o[s] : 0, i = Ze(
877
888
  e[n] ?? 0,
878
889
  u,
879
890
  m
@@ -890,21 +901,21 @@ function ue(t, e, o) {
890
901
  );
891
902
  if (t === 1)
892
903
  return r;
893
- const n = r.slice(0, t - 1), s = n.reduce((i, f) => i + f, 0) + Tt;
904
+ const n = r.slice(0, t - 1), s = n.reduce((i, p) => i + p, 0) + Wt;
894
905
  if (e >= s)
895
906
  return r;
896
907
  const u = [...n];
897
908
  let m = s - e;
898
909
  for (let i = u.length - 1; i >= 0 && m > 0; i -= 1) {
899
- const f = u[i] - Tt;
900
- if (f <= 0)
910
+ const p = u[i] - Wt;
911
+ if (p <= 0)
901
912
  continue;
902
- const L = Math.min(m, f);
913
+ const L = Math.min(m, p);
903
914
  u[i] -= L, m -= L;
904
915
  }
905
916
  return [...u, r[t - 1]];
906
917
  }
907
- function pr(t, e, o) {
918
+ function $r(t, e, o) {
908
919
  if (t <= 1)
909
920
  return {};
910
921
  const r = ue(t, e, o), n = {};
@@ -915,23 +926,23 @@ function pr(t, e, o) {
915
926
  return n;
916
927
  }
917
928
  function Ke(t) {
918
- return Array.isArray(t.columnsOrder) && t.columnsOrder.length > 0 ? t.columnsOrder : [...jt];
929
+ return Array.isArray(t.columnsOrder) && t.columnsOrder.length > 0 ? t.columnsOrder : [...Yt];
919
930
  }
920
- function fr(t, e) {
931
+ function vr(t, e) {
921
932
  return t.length !== e.length ? !1 : t.every((o, r) => o === e[r]);
922
933
  }
923
- function $r(t, e, o, r) {
934
+ function gr(t, e, o, r) {
924
935
  const n = Math.min(r, t.length, M.length), a = {};
925
936
  for (let s = 0; s < n; s += 1) {
926
937
  const u = t[s], m = e.indexOf(u);
927
938
  if (m === -1)
928
939
  continue;
929
- const i = M[m], f = dt[m], L = ut[m], O = ht[m], c = M[s], R = dt[s], v = ut[s], N = ht[s], _ = o[i], D = o[f], C = o[L], A = o[O];
930
- typeof _ == "number" && (a[c] = _), typeof D == "number" && (a[R] = D), typeof C == "number" && (a[v] = C), typeof A == "number" && (a[N] = A);
940
+ const i = M[m], p = ct[m], L = dt[m], O = ut[m], c = M[s], R = ct[s], v = dt[s], D = ut[s], _ = o[i], V = o[p], w = o[L], B = o[O];
941
+ typeof _ == "number" && (a[c] = _), typeof V == "number" && (a[R] = V), typeof w == "number" && (a[v] = w), typeof B == "number" && (a[D] = B);
931
942
  }
932
943
  return a;
933
944
  }
934
- function Ze(t, e) {
945
+ function Qe(t, e) {
935
946
  const o = /* @__PURE__ */ new Set([
936
947
  ...Object.keys(t),
937
948
  ...Object.keys(e)
@@ -941,87 +952,87 @@ function Ze(t, e) {
941
952
  return !0;
942
953
  return !1;
943
954
  }
944
- function Sr(t, e) {
955
+ function _r(t, e) {
945
956
  const o = t.columns, r = e.columns;
946
957
  if (typeof o != "number" || o === r)
947
958
  return t;
948
- const n = xt(t), a = t.type === "b" || t.type === void 0 && e.type === "b", s = {
959
+ const n = Lt(t), a = t.type === "b" || t.type === void 0 && e.type === "b", s = {
949
960
  ...t,
950
- ...dr(o, n),
951
- ...ur()
961
+ ...hr(o, n),
962
+ ...mr()
952
963
  };
953
964
  if (a)
954
- for (const u of ht)
965
+ for (const u of ut)
955
966
  typeof e[u] == "number" && (s[u] = e[u]);
956
967
  else
957
- Object.assign(s, hr());
958
- return Ze(t, s) ? s : t;
968
+ Object.assign(s, pr());
969
+ return Qe(t, s) ? s : t;
959
970
  }
960
- function vr(t, e, o) {
961
- const r = Zo(t);
971
+ function yr(t, e, o) {
972
+ const r = Po(t);
962
973
  r && (t = { ...t, ...r });
963
- const n = qe(o == null ? void 0 : o.designWidth), a = t.columns, s = e.columns, u = xt(t), m = xt(e), i = t.type === "b" || t.type === void 0 && e.type === "b", f = typeof a == "number" ? a : typeof s == "number" ? s : jt.length, L = (C) => {
974
+ const n = Ge(o == null ? void 0 : o.designWidth), a = t.columns, s = e.columns, u = Lt(t), m = Lt(e), i = t.type === "b" || t.type === void 0 && e.type === "b", p = typeof a == "number" ? a : typeof s == "number" ? s : Yt.length, L = (w) => {
964
975
  if (i)
965
- return C;
966
- const A = Xt({ ...e, ...C }), rt = xt(C), G = Yt(f, rt, A), Wt = mr(f, G, {
976
+ return w;
977
+ const B = Ut({ ...e, ...w }), rt = Lt(w), j = Xt(p, rt, B), kt = fr(p, j, {
967
978
  ...e,
968
- ...C
979
+ ...w
969
980
  });
970
- return Object.keys(Wt).length === 0 ? C : {
971
- ...C,
972
- ...Wt
981
+ return Object.keys(kt).length === 0 ? w : {
982
+ ...w,
983
+ ...kt
973
984
  };
974
985
  };
975
986
  if (typeof a == "number" && a !== s)
976
987
  return t;
977
988
  const O = Ke(t), c = Ke(e);
978
- if (!fr(O, c))
989
+ if (!vr(O, c))
979
990
  return L({
980
991
  ...t,
981
- ...$r(O, c, e, f)
992
+ ...gr(O, c, e, p)
982
993
  });
983
- if (u < m && typeof f == "number" && !i) {
984
- const C = Xt({ ...e, ...t });
994
+ if (u < m && typeof p == "number" && !i) {
995
+ const w = Ut({ ...e, ...t });
985
996
  return L({
986
997
  ...t,
987
- ...pr(f, u, C)
998
+ ...$r(p, u, w)
988
999
  });
989
1000
  }
990
1001
  if (i) {
991
- const C = typeof t.textPaddingLR == "number" ? t.textPaddingLR : 0, A = Math.max(0, (u - n) / 2);
992
- return C > A ? { ...t, textPaddingLR: A } : t;
1002
+ const w = typeof t.textPaddingLR == "number" ? t.textPaddingLR : 0, B = Math.max(0, (u - n) / 2);
1003
+ return w > B ? { ...t, textPaddingLR: B } : t;
993
1004
  }
994
- const R = Xt({ ...e, ...t }), v = Yt(
995
- f,
1005
+ const R = Ut({ ...e, ...t }), v = Xt(
1006
+ p,
996
1007
  m,
997
- Xt(e)
998
- ), _ = Yt(
999
- f,
1008
+ Ut(e)
1009
+ ), _ = Xt(
1010
+ p,
1000
1011
  u,
1001
1012
  R
1002
1013
  ).some(
1003
- (C, A) => C < (v[A] ?? C)
1004
- ), D = M.some((C) => {
1005
- const A = t[C], rt = e[C];
1006
- return typeof A == "number" && typeof rt == "number" && A !== rt;
1014
+ (w, B) => w < (v[B] ?? w)
1015
+ ), V = M.some((w) => {
1016
+ const B = t[w], rt = e[w];
1017
+ return typeof B == "number" && typeof rt == "number" && B !== rt;
1007
1018
  });
1008
- return _ || D ? L(t) : t;
1019
+ return _ || V ? L(t) : t;
1009
1020
  }
1010
- function gr(t, e, o, r) {
1021
+ function br(t, e, o, r) {
1011
1022
  const n = e.slice(0, t).reduce((s, u) => s + u, 0), a = o.slice(t + 1, e.length - 1).reduce((s, u) => s + u, 0);
1012
1023
  return Math.max(
1013
- Tt,
1014
- r - n - a - Tt
1024
+ Wt,
1025
+ r - n - a - Wt
1015
1026
  );
1016
1027
  }
1017
- function yr(t, e) {
1028
+ function Cr(t, e) {
1018
1029
  return Math.random() * (e - t) + t;
1019
1030
  }
1020
- function br(t) {
1031
+ function wr(t) {
1021
1032
  return Object.fromEntries(
1022
1033
  M.map((e) => [
1023
1034
  e,
1024
- typeof t[e] == "number" ? t[e] : Ge[e]
1035
+ typeof t[e] == "number" ? t[e] : Je[e]
1025
1036
  ])
1026
1037
  );
1027
1038
  }
@@ -1033,67 +1044,67 @@ function ce(t, e, o = 0) {
1033
1044
  ])
1034
1045
  );
1035
1046
  }
1036
- function Cr(t, e, o, r, n, a) {
1047
+ function xr(t, e, o, r, n, a) {
1037
1048
  return t.slice(0, e).map((s, u) => {
1038
- const m = dt[u], i = ut[u], f = ht[u];
1049
+ const m = ct[u], i = dt[u], p = ut[u];
1039
1050
  return {
1040
1051
  key: s,
1041
- textPrefix: nr[s],
1052
+ textPrefix: ar[s],
1042
1053
  widthKey: M[u],
1043
1054
  width: o[M[u]],
1044
1055
  paddingLeftKey: m,
1045
1056
  paddingRightKey: i,
1046
- paddingBottomKey: f,
1057
+ paddingBottomKey: p,
1047
1058
  paddingLeft: r[m],
1048
1059
  paddingRight: n[i],
1049
- paddingBottom: a[f]
1060
+ paddingBottom: a[p]
1050
1061
  };
1051
1062
  });
1052
1063
  }
1053
- function Mr({ settings: t, content: e, isEditor: o, isPreviewMode: r, isEditMode: n, activeEvent: a, layoutId: s, portalId: u, onUpdateSettings: m }) {
1054
- const { prefix: i } = _o(), f = !!n, {
1064
+ function Fr({ settings: t, content: e, isEditor: o, isPreviewMode: r, isEditMode: n, activeEvent: a, layoutId: s, portalId: u, onUpdateSettings: m }) {
1065
+ const { prefix: i } = Fo(), p = !!n, {
1055
1066
  columns: L,
1056
1067
  type: O,
1057
1068
  wrapperWidth: c,
1058
1069
  entriesCount: R,
1059
1070
  cellMinHeight: v,
1060
- dividerWidth: N,
1071
+ dividerWidth: D,
1061
1072
  showVisibility: _,
1062
- cut: D,
1063
- showCut: C,
1064
- cutCellMinHeight: A,
1073
+ cut: V,
1074
+ showCut: w,
1075
+ cutCellMinHeight: B,
1065
1076
  cutLabel: rt,
1066
- imageSize: G,
1067
- imageOnHover: Wt,
1077
+ imageSize: j,
1078
+ imageOnHover: kt,
1068
1079
  imagePosition: he = "cursor",
1069
- imageInterpolation: Qe = "on",
1080
+ imageInterpolation: Pe = "on",
1070
1081
  entryHoverEffect: At,
1071
- entryHoverShowOption: Jt,
1072
- rowPaddingTop: Pe,
1073
- rowPaddingBottom: to,
1074
- rowPaddingTopB: eo,
1075
- columnsOrder: kt,
1076
- textPaddingLR: oo,
1077
- textColor: ro,
1078
- backgroundColor: no,
1079
- dividerColor: io,
1080
- textHoverColor: ao,
1081
- backgroundHoverColor: lo,
1082
- dividerHoverColor: so
1083
- } = t, [me, Bt] = zt(void 0), [w, Et] = zt(null), St = q(null), V = Wt === "on" && (!o || r), Mt = he === "cursor", co = Mt && Qe === "on", { anchorRef: uo, onShow: pe, onCursorMove: fe, exit: Zt } = Uo(
1084
- !!(V && w !== null),
1085
- co
1086
- ), Ot = (D ?? 0) > 0, $ = O === "b", mt = q(null), $e = q(null), [_t, Ht] = zt(null), [pt, ve] = zt(Rt), ge = qe(pt), ho = Math.max(0, ((c ?? 0) - ge) / 2), ft = Math.min(oo ?? 0, ho), Ft = Math.max(ft, ct), ye = ((c ?? 0) + ge) / 2;
1087
- Ut(() => {
1082
+ entryHoverShowOption: Gt,
1083
+ rowPaddingTop: to,
1084
+ rowPaddingBottom: eo,
1085
+ rowPaddingTopB: oo,
1086
+ columnsOrder: Bt,
1087
+ textPaddingLR: ro,
1088
+ textColor: no,
1089
+ backgroundColor: io,
1090
+ dividerColor: ao,
1091
+ textHoverColor: lo,
1092
+ backgroundHoverColor: so,
1093
+ dividerHoverColor: co
1094
+ } = t, [me, Et] = Kt(void 0), [x, St] = Kt(null), Mt = Y(null), I = kt === "on" && (!o || r), Ot = he === "cursor", uo = Ot && Pe === "on", { anchorRef: ho, onShow: pe, onCursorMove: fe, exit: Jt } = Yo(
1095
+ !!(I && x !== null),
1096
+ uo
1097
+ ), _t = (V ?? 0) > 0, f = O === "b", ht = Y(null), $e = Y(null), [Ft, Ht] = Kt(null), [mt, ve] = Kt(Tt), ge = Ge(mt), mo = Math.max(0, ((c ?? 0) - ge) / 2), pt = Math.min(ro ?? 0, mo), Nt = Math.max(pt, st), ye = ((c ?? 0) + ge) / 2;
1098
+ zt(() => {
1088
1099
  if (!o) {
1089
- ve(Rt);
1100
+ ve(Tt);
1090
1101
  return;
1091
1102
  }
1092
1103
  const l = () => {
1093
- ve(cr(mt.current));
1104
+ ve(ur(ht.current));
1094
1105
  };
1095
1106
  l();
1096
- const d = mt.current;
1107
+ const d = ht.current;
1097
1108
  if (!d)
1098
1109
  return;
1099
1110
  const h = new ResizeObserver(l);
@@ -1102,44 +1113,44 @@ function Mr({ settings: t, content: e, isEditor: o, isPreviewMode: r, isEditMode
1102
1113
  for (; y && !y.style.getPropertyValue("--cntrl-article-width"); )
1103
1114
  y = y.parentElement;
1104
1115
  return y && h.observe(y), () => h.disconnect();
1105
- }, [o, s]), Ct(() => {
1106
- Bt(void 0);
1107
- }, [D, C, e, R]), Ct(() => {
1108
- o && !r && Bt(void 0);
1116
+ }, [o, s]), wt(() => {
1117
+ Et(void 0);
1118
+ }, [V, w, e, R]), wt(() => {
1119
+ o && !r && Et(void 0);
1109
1120
  }, [o, r]);
1110
- const mo = Oo(i, {
1111
- textColor: ro,
1112
- backgroundColor: no,
1113
- dividerColor: io,
1114
- textHoverColor: ao,
1115
- backgroundHoverColor: lo,
1116
- dividerHoverColor: so
1117
- }, lr, sr), po = a && a !== "default" ? `${i}-state-${a}` : "", fo = `${!o || r ? At === "default" ? `${i}-entry-hover-default` : At === "blinds" ? `${i}-entry-hover-blinds` : At === "reveal" ? `${i}-entry-hover-reveal` : "" : ""} ${po}`.trim(), nt = At === "reveal" && (!o || r), Nt = (_ == null ? void 0 : _[0]) ?? !1, $t = (_ == null ? void 0 : _[1]) ?? !1, vt = q(t), Qt = q(s);
1118
- Ct(() => {
1121
+ const po = _o(i, {
1122
+ textColor: no,
1123
+ backgroundColor: io,
1124
+ dividerColor: ao,
1125
+ textHoverColor: lo,
1126
+ backgroundHoverColor: so,
1127
+ dividerHoverColor: co
1128
+ }, cr, dr), fo = a && a !== "default" ? `${i}-state-${a}` : "", $o = `${!o || r ? At === "default" ? `${i}-entry-hover-default` : At === "blinds" ? `${i}-entry-hover-blinds` : At === "reveal" ? `${i}-entry-hover-reveal` : "" : ""} ${fo}`.trim(), nt = At === "reveal" && (!o || r), Dt = (_ == null ? void 0 : _[0]) ?? !1, ft = (_ == null ? void 0 : _[1]) ?? !1, $t = Y(t), Zt = Y(s);
1129
+ wt(() => {
1119
1130
  if (!m || !o) {
1120
- vt.current = t, Qt.current = s;
1131
+ $t.current = t, Zt.current = s;
1121
1132
  return;
1122
1133
  }
1123
- if (Qt.current !== s) {
1124
- vt.current = t, Qt.current = s;
1134
+ if (Zt.current !== s) {
1135
+ $t.current = t, Zt.current = s;
1125
1136
  return;
1126
1137
  }
1127
- const l = vt.current;
1138
+ const l = $t.current;
1128
1139
  if (!(l !== t))
1129
1140
  return;
1130
1141
  if (typeof l.columns == "number" && typeof t.columns == "number" && l.columns !== t.columns) {
1131
- vt.current = t;
1142
+ $t.current = t;
1132
1143
  return;
1133
1144
  }
1134
- const h = vr(
1145
+ const h = yr(
1135
1146
  t,
1136
1147
  l,
1137
- { designWidth: pt }
1148
+ { designWidth: mt }
1138
1149
  );
1139
- vt.current = t, Ze(t, h) && m(h);
1140
- }, [t, m, o, s, pt]);
1141
- const J = E(
1142
- () => br(t),
1150
+ $t.current = t, Qe(t, h) && m(h);
1151
+ }, [t, m, o, s, mt]);
1152
+ const q = E(
1153
+ () => wr(t),
1143
1154
  [
1144
1155
  t.AColumnWidth,
1145
1156
  t.BColumnWidth,
@@ -1148,7 +1159,7 @@ function Mr({ settings: t, content: e, isEditor: o, isPreviewMode: r, isEditMode
1148
1159
  t.EColumnWidth
1149
1160
  ]
1150
1161
  ), be = E(
1151
- () => ce(t, dt),
1162
+ () => ce(t, ct),
1152
1163
  [
1153
1164
  t.AColumnPaddingLeft,
1154
1165
  t.BColumnPaddingLeft,
@@ -1157,7 +1168,7 @@ function Mr({ settings: t, content: e, isEditor: o, isPreviewMode: r, isEditMode
1157
1168
  t.EColumnPaddingLeft
1158
1169
  ]
1159
1170
  ), Ce = E(
1160
- () => ce(t, ut),
1171
+ () => ce(t, dt),
1161
1172
  [
1162
1173
  t.AColumnPaddingRight,
1163
1174
  t.BColumnPaddingRight,
@@ -1166,7 +1177,7 @@ function Mr({ settings: t, content: e, isEditor: o, isPreviewMode: r, isEditMode
1166
1177
  t.EColumnPaddingRight
1167
1178
  ]
1168
1179
  ), we = E(
1169
- () => ce(t, ht),
1180
+ () => ce(t, ut),
1170
1181
  [
1171
1182
  t.AColumnPaddingBottom,
1172
1183
  t.BColumnPaddingBottom,
@@ -1174,102 +1185,103 @@ function Mr({ settings: t, content: e, isEditor: o, isPreviewMode: r, isEditMode
1174
1185
  t.DColumnPaddingBottom,
1175
1186
  t.EColumnPaddingBottom
1176
1187
  ]
1177
- ), xe = E(() => Array.isArray(kt) && kt.length > 0 ? kt : [...jt], [kt]), S = E(
1178
- () => Cr(
1188
+ ), xe = E(() => Array.isArray(Bt) && Bt.length > 0 ? Bt : [...Yt], [Bt]), S = E(
1189
+ () => xr(
1179
1190
  xe,
1180
1191
  L,
1181
- J,
1192
+ q,
1182
1193
  be,
1183
1194
  Ce,
1184
1195
  we
1185
1196
  ),
1186
- [xe, L, J, be, Ce, we]
1187
- ), Q = xt(t), $o = E(
1188
- () => M.slice(0, L).map((l) => J[l]),
1189
- [L, J]
1190
- ), Pt = E(
1191
- () => ue(L, Q, J),
1192
- [L, Q, J]
1193
- ), I = E(
1194
- () => Yt(L, Q, J),
1195
- [L, Q, J]
1197
+ [xe, L, q, be, Ce, we]
1198
+ ), Q = Lt(t), vo = E(
1199
+ () => M.slice(0, L).map((l) => q[l]),
1200
+ [L, q]
1201
+ ), Qt = E(
1202
+ () => ue(L, Q, q),
1203
+ [L, Q, q]
1204
+ ), K = E(
1205
+ () => Xt(L, Q, q),
1206
+ [L, Q, q]
1196
1207
  ), it = E(
1197
- () => S.map((l, d) => Je(
1198
- I[d] ?? 0,
1208
+ () => S.map((l, d) => Ze(
1209
+ K[d] ?? 0,
1199
1210
  l.paddingLeft,
1200
1211
  l.paddingRight
1201
1212
  )),
1202
- [S, I]
1213
+ [S, K]
1203
1214
  ), P = E(() => {
1204
1215
  const l = R === 0 ? 1 / 0 : R;
1205
1216
  return (e ?? []).slice(0, l).map((h, y) => ({
1206
1217
  id: y,
1207
1218
  cells: Object.fromEntries(
1208
- jt.map((T) => [T, h[T] ?? ""])
1219
+ Yt.map((T) => [T, h[T] ?? ""])
1209
1220
  ),
1210
1221
  image: h.image,
1211
1222
  link: h.link
1212
1223
  }));
1213
- }, [e, R]), te = Ot ? me ?? D : P.length, tt = E(() => Ot ? P.slice(0, te) : P, [P, Ot, te]), at = Ot && te < P.length, vo = tt.length > 1 || at, Le = [
1214
- Nt ? `${i}-divider-top` : "",
1215
- $t || vo ? `${i}-divider-bottom` : ""
1216
- ].filter(Boolean).join(" "), ee = !o || r, go = () => {
1217
- if (!ee) return;
1218
- const l = me ?? D;
1219
- if (!C) {
1220
- Bt(P.length);
1224
+ }, [e, R]), Pt = _t ? me ?? V : P.length, tt = E(() => _t ? P.slice(0, Pt) : P, [P, _t, Pt]), at = _t && Pt < P.length, go = tt.length > 1 || at, Le = [
1225
+ Dt ? `${i}-divider-top` : "",
1226
+ ft || go ? `${i}-divider-bottom` : ""
1227
+ ].filter(Boolean).join(" "), te = !o || r, yo = () => {
1228
+ if (!te) return;
1229
+ const l = me ?? V;
1230
+ if (!w) {
1231
+ Et(P.length);
1221
1232
  return;
1222
1233
  }
1223
- Bt(Math.min(l + C, P.length));
1224
- }, g = (l) => ot(l, o ?? !1), Dt = $ ? eo ?? 0 : Pe ?? 0, Vt = to ?? 0, oe = v ?? 0, yo = Math.max(Vt, se), bo = Oe(
1234
+ Et(Math.min(l + w, P.length));
1235
+ }, g = (l) => ot(l, o ?? !1), Vt = f ? oo ?? 0 : to ?? 0, It = eo ?? 0, ee = v ?? 0, bo = Math.max(It, se), Co = Oe(
1225
1236
  0,
1226
1237
  tt.length,
1227
- Nt,
1228
- $t,
1238
+ Dt,
1239
+ ft,
1229
1240
  at,
1230
- N ?? 0,
1241
+ D ?? 0,
1231
1242
  o ?? !1
1232
- ).borderTopWidth, Co = $ ? "rowPaddingTopB" : "rowPaddingTop", re = S[0], ne = S[S.length - 1], gt = it[0], yt = it[it.length - 1], wo = re && gt ? Math.max(gt.paddingLeft, ct) : 0, Re = ne && yt ? Math.max(yt.paddingRight, ct) : 0, xo = Q, Te = (l, d) => zo(
1243
+ ).borderTopWidth, wo = f ? "rowPaddingTopB" : "rowPaddingTop", oe = S[0], re = S[S.length - 1], vt = it[0], gt = it[it.length - 1], xo = oe && vt ? Math.max(vt.paddingLeft, st) : 0, Re = re && gt ? Math.max(gt.paddingRight, st) : 0, Lo = Q, Te = (l, d) => Xo(
1233
1244
  he,
1234
- mt.current,
1235
- Mt ? l : null,
1245
+ ht.current,
1246
+ Ot ? l : null,
1236
1247
  d
1237
- ), Lo = (l, d) => {
1238
- if (!V) return;
1248
+ ), Ro = (l, d) => {
1249
+ if (!I) return;
1239
1250
  const h = l.image;
1240
1251
  if (!(h != null && h.assetId)) {
1241
- Zt(() => Et(null));
1252
+ Jt(() => St(null));
1242
1253
  return;
1243
1254
  }
1244
- const y = (G == null ? void 0 : G.min) ?? 80, T = (G == null ? void 0 : G.max) ?? 320, W = (w == null ? void 0 : w.rowId) === l.id, p = W ? w.widthPx : yr(y, T), { x: H, y: k } = Te(d, p);
1245
- if (W && Mt) {
1246
- fe(H, k);
1255
+ const y = (j == null ? void 0 : j.min) ?? 80, T = (j == null ? void 0 : j.max) ?? 320, k = (x == null ? void 0 : x.rowId) === l.id, W = k ? x.widthPx : Cr(y, T), { x: H, y: $ } = Te(d, W);
1256
+ if (k && Ot) {
1257
+ fe(H, $);
1247
1258
  return;
1248
1259
  }
1249
- Et({
1260
+ St({
1250
1261
  rowId: l.id,
1251
1262
  assetId: h.assetId,
1252
1263
  objectFit: "contain",
1253
- isVideo: No(h),
1254
- widthPx: p
1255
- }), St.current = { x: H, y: k };
1256
- }, Ro = (l) => {
1257
- if (!V || !w || !Mt) return;
1258
- const { x: d, y: h } = Te(l, w.widthPx);
1264
+ isVideo: Vo(h),
1265
+ embed: ze(h) ? h : void 0,
1266
+ widthPx: W
1267
+ }), Mt.current = { x: H, y: $ };
1268
+ }, To = (l) => {
1269
+ if (!I || !x || !Ot) return;
1270
+ const { x: d, y: h } = Te(l, x.widthPx);
1259
1271
  fe(d, h);
1260
- }, To = () => {
1261
- w && Zt(() => Et(null));
1262
- }, Wo = (l) => {
1263
- nt && Se(l, i), !(!V || !w) && Zt(() => Et(null));
1272
+ }, Wo = () => {
1273
+ x && Jt(() => St(null));
1274
+ }, ko = (l) => {
1275
+ nt && Se(l, i), !(!I || !x) && Jt(() => St(null));
1264
1276
  }, Ao = (l) => {
1265
1277
  nt && Me(l, i);
1266
1278
  };
1267
- Ut(() => {
1268
- if (!w || !St.current) return;
1269
- const { x: l, y: d } = St.current;
1270
- St.current = null, pe(l, d);
1271
- }, [w == null ? void 0 : w.rowId, w == null ? void 0 : w.assetId, pe]), Ut(() => {
1272
- if (!f || $) {
1279
+ zt(() => {
1280
+ if (!x || !Mt.current) return;
1281
+ const { x: l, y: d } = Mt.current;
1282
+ Mt.current = null, pe(l, d);
1283
+ }, [x == null ? void 0 : x.rowId, x == null ? void 0 : x.assetId, pe]), zt(() => {
1284
+ if (!p || f) {
1273
1285
  Ht(null);
1274
1286
  return;
1275
1287
  }
@@ -1284,36 +1296,36 @@ function Mr({ settings: t, content: e, isEditor: o, isPreviewMode: r, isEditMode
1284
1296
  Ht(null);
1285
1297
  return;
1286
1298
  }
1287
- const W = d.getBoundingClientRect(), p = T.getBoundingClientRect();
1288
- Ht(p.top - W.top + p.height / 2);
1299
+ const k = d.getBoundingClientRect(), W = T.getBoundingClientRect();
1300
+ Ht(W.top - k.top + W.height / 2);
1289
1301
  };
1290
1302
  h();
1291
1303
  const y = new ResizeObserver(h);
1292
1304
  return y.observe(l), y.observe(d), () => y.disconnect();
1293
1305
  }, [
1306
+ p,
1294
1307
  f,
1295
- $,
1296
1308
  tt,
1297
- Dt,
1298
1309
  Vt,
1299
- oe,
1310
+ It,
1311
+ ee,
1300
1312
  e,
1301
1313
  t,
1302
1314
  S,
1303
- I,
1304
- pt,
1305
- N,
1306
- Nt,
1307
- $t,
1315
+ K,
1316
+ mt,
1317
+ D,
1318
+ Dt,
1319
+ ft,
1308
1320
  at
1309
1321
  ]);
1310
1322
  const We = E(
1311
- () => !$ && ze.some((l) => {
1323
+ () => !f && Ue.some((l) => {
1312
1324
  const d = l.charAt(0), h = t[`${l}VerticalAlign`];
1313
- return je(h, t, d);
1325
+ return qe(h, t, d);
1314
1326
  }),
1315
1327
  [
1316
- $,
1328
+ f,
1317
1329
  t,
1318
1330
  t.AColumnVerticalAlign,
1319
1331
  t.BColumnVerticalAlign,
@@ -1322,78 +1334,78 @@ function Mr({ settings: t, content: e, isEditor: o, isPreviewMode: r, isEditMode
1322
1334
  t.EColumnVerticalAlign
1323
1335
  ]
1324
1336
  );
1325
- Ut(() => {
1337
+ zt(() => {
1326
1338
  var H;
1327
- const l = mt.current;
1339
+ const l = ht.current;
1328
1340
  if (!l) return;
1329
1341
  const d = () => {
1330
- l.querySelectorAll("[data-list-col]").forEach((k) => {
1331
- k.style.transform = "";
1332
- const B = k.querySelector(`.${i}-list-col`);
1333
- B && (B.style.minHeight = "", B.style.height = "");
1334
- const F = k.querySelector(`.${i}-list-col-title`);
1335
- F && (F.style.transform = "");
1342
+ l.querySelectorAll("[data-list-col]").forEach(($) => {
1343
+ $.style.transform = "";
1344
+ const A = $.querySelector(`.${i}-list-col`);
1345
+ A && (A.style.minHeight = "", A.style.height = "");
1346
+ const G = $.querySelector(`.${i}-list-col-title`);
1347
+ G && (G.style.transform = "");
1336
1348
  });
1337
1349
  };
1338
- if ($ || !We) {
1350
+ if (f || !We) {
1339
1351
  d();
1340
1352
  return;
1341
1353
  }
1342
1354
  const h = () => {
1343
- const k = Array.from(l.querySelectorAll("[data-list-row]")), B = `${i}-list-col`, F = `${i}-baseline-probe`;
1344
- k.forEach((K) => {
1345
- K.querySelectorAll("[data-list-col]").forEach((z) => {
1346
- z.style.transform = "";
1347
- const U = z.querySelector(`.${B}`);
1348
- U && (U.style.minHeight = "", U.style.height = "");
1349
- const et = z.querySelector(`.${i}-list-col-title`);
1355
+ const $ = Array.from(l.querySelectorAll("[data-list-row]")), A = `${i}-list-col`, G = `${i}-baseline-probe`;
1356
+ $.forEach((N) => {
1357
+ N.querySelectorAll("[data-list-col]").forEach((F) => {
1358
+ F.style.transform = "";
1359
+ const z = F.querySelector(`.${A}`);
1360
+ z && (z.style.minHeight = "", z.style.height = "");
1361
+ const et = F.querySelector(`.${i}-list-col-title`);
1350
1362
  et && (et.style.transform = "");
1351
1363
  });
1352
- }), k.forEach((K) => {
1353
- const z = Array.from(K.querySelectorAll("[data-list-col]"));
1354
- or(K, z, B);
1355
- }), l.offsetHeight, k.forEach((K) => {
1356
- const z = Array.from(K.querySelectorAll("[data-list-col]")), U = K.getBoundingClientRect().top, et = /* @__PURE__ */ new Map(), It = z.map((x) => {
1357
- const lt = x.querySelector(`.${i}-list-col-title`), st = {
1358
- el: x,
1359
- titleEl: lt,
1360
- letter: x.getAttribute("data-col-letter") ?? "",
1361
- kind: x.getAttribute("data-valign") ?? "top",
1362
- anchor: x.getAttribute("data-valign-anchor")
1364
+ }), $.forEach((N) => {
1365
+ const F = Array.from(N.querySelectorAll("[data-list-col]"));
1366
+ nr(N, F, A);
1367
+ }), l.offsetHeight, $.forEach((N) => {
1368
+ const F = Array.from(N.querySelectorAll("[data-list-col]")), z = N.getBoundingClientRect().top, et = /* @__PURE__ */ new Map(), ne = F.map((b) => {
1369
+ const J = b.querySelector(`.${i}-list-col-title`), lt = {
1370
+ el: b,
1371
+ titleEl: J,
1372
+ letter: b.getAttribute("data-col-letter") ?? "",
1373
+ kind: b.getAttribute("data-valign") ?? "top",
1374
+ anchor: b.getAttribute("data-valign-anchor")
1363
1375
  };
1364
- return et.set(st.letter, st), st;
1365
- }), X = /* @__PURE__ */ new Map(), Kt = (x, lt) => {
1366
- const st = X.get(x.letter);
1367
- if (st !== void 0) return st;
1368
- const Ae = x.anchor ? et.get(x.anchor) : void 0;
1369
- if (x.kind !== "baseline" || !Ae || lt.has(x.letter)) {
1376
+ return et.set(lt.letter, lt), lt;
1377
+ }), yt = /* @__PURE__ */ new Map(), bt = (b, J) => {
1378
+ const lt = yt.get(b.letter);
1379
+ if (lt !== void 0) return lt;
1380
+ const ke = b.anchor ? et.get(b.anchor) : void 0;
1381
+ if (b.kind !== "baseline" || !ke || J.has(b.letter)) {
1370
1382
  const Be = le(
1371
- x,
1372
- U,
1373
- B,
1374
- F
1383
+ b,
1384
+ z,
1385
+ A,
1386
+ G
1375
1387
  );
1376
- return X.set(x.letter, Be), Be;
1388
+ return yt.set(b.letter, Be), Be;
1377
1389
  }
1378
- lt.add(x.letter);
1379
- const Bo = Kt(Ae, lt);
1380
- lt.delete(x.letter);
1381
- const Eo = le(
1382
- x,
1383
- U,
1384
- B,
1385
- F
1386
- ), So = Bo - Eo;
1387
- rr(x.titleEl, So);
1388
- const ke = le(
1389
- x,
1390
- U,
1391
- B,
1392
- F
1390
+ J.add(b.letter);
1391
+ const Eo = bt(ke, J);
1392
+ J.delete(b.letter);
1393
+ const So = le(
1394
+ b,
1395
+ z,
1396
+ A,
1397
+ G
1398
+ ), Mo = Eo - So;
1399
+ ir(b.titleEl, Mo);
1400
+ const Ae = le(
1401
+ b,
1402
+ z,
1403
+ A,
1404
+ G
1393
1405
  );
1394
- return X.set(x.letter, ke), ke;
1406
+ return yt.set(b.letter, Ae), Ae;
1395
1407
  };
1396
- It.forEach((x) => Kt(x, /* @__PURE__ */ new Set()));
1408
+ ne.forEach((b) => bt(b, /* @__PURE__ */ new Set()));
1397
1409
  });
1398
1410
  };
1399
1411
  let y = null;
@@ -1403,144 +1415,144 @@ function Mr({ settings: t, content: e, isEditor: o, isPreviewMode: r, isEditMode
1403
1415
  }));
1404
1416
  };
1405
1417
  h();
1406
- const W = new ResizeObserver(() => T());
1407
- W.observe(l);
1408
- let p = !1;
1418
+ const k = new ResizeObserver(() => T());
1419
+ k.observe(l);
1420
+ let W = !1;
1409
1421
  return typeof document < "u" && ((H = document.fonts) != null && H.ready) && document.fonts.ready.then(() => {
1410
- p || T();
1422
+ W || T();
1411
1423
  }), () => {
1412
- p = !0, y !== null && (cancelAnimationFrame(y), y = null), W.disconnect(), d();
1424
+ W = !0, y !== null && (cancelAnimationFrame(y), y = null), k.disconnect(), d();
1413
1425
  };
1414
1426
  }, [
1415
1427
  We,
1416
- $,
1428
+ f,
1417
1429
  t,
1418
1430
  e,
1419
- pt,
1431
+ mt,
1420
1432
  tt,
1421
- I
1433
+ K
1422
1434
  ]);
1423
- const ko = E(() => Xo(i), [i]);
1424
- return /* @__PURE__ */ Y(Ee, { children: [
1425
- /* @__PURE__ */ b("style", { dangerouslySetInnerHTML: { __html: ko } }),
1426
- /* @__PURE__ */ b("div", { style: mo, children: /* @__PURE__ */ Y(
1435
+ const Bo = E(() => jo(i), [i]);
1436
+ return /* @__PURE__ */ U(Ee, { children: [
1437
+ /* @__PURE__ */ C("style", { dangerouslySetInnerHTML: { __html: Bo } }),
1438
+ /* @__PURE__ */ C("div", { style: po, children: /* @__PURE__ */ U(
1427
1439
  "div",
1428
1440
  {
1429
- ref: mt,
1430
- className: `${i}-wrapper ${fo}${Le ? ` ${Le}` : ""}${$ ? ` ${i}-type-b` : ""}`.trim(),
1441
+ ref: ht,
1442
+ className: `${i}-wrapper ${$o}${Le ? ` ${Le}` : ""}${f ? ` ${i}-type-b` : ""}`.trim(),
1431
1443
  style: {
1432
1444
  width: ot(c ?? 0, o)
1433
1445
  },
1434
- onMouseMove: V ? Ro : void 0,
1435
- onMouseLeave: V ? To : void 0,
1446
+ onMouseMove: I ? To : void 0,
1447
+ onMouseLeave: I ? Wo : void 0,
1436
1448
  children: [
1437
- /* @__PURE__ */ Y("div", { style: { width: "100%", position: "relative" }, children: [
1449
+ /* @__PURE__ */ U("div", { style: { width: "100%", position: "relative" }, children: [
1438
1450
  tt.map((l, d) => {
1439
- var W;
1440
- const h = (((W = l.link) == null ? void 0 : W.length) ?? 0) > 0, y = h && (!o || r) ? "a" : "div", T = Oe(
1451
+ var k, W, H;
1452
+ const h = (((k = l.link) == null ? void 0 : k.value.length) ?? 0) > 0, y = h && (!o || r) ? "a" : "div", T = Oe(
1441
1453
  d,
1442
1454
  tt.length,
1443
- Nt,
1444
- $t,
1455
+ Dt,
1456
+ ft,
1445
1457
  at,
1446
- N ?? 0,
1458
+ D ?? 0,
1447
1459
  o ?? !1
1448
1460
  );
1449
- return /* @__PURE__ */ Y(
1461
+ return /* @__PURE__ */ U(
1450
1462
  y,
1451
1463
  {
1452
- ref: d === 0 ? (p) => {
1453
- $e.current = p;
1464
+ ref: d === 0 ? ($) => {
1465
+ $e.current = $;
1454
1466
  } : void 0,
1455
- className: `${i}-list-item${h || Jt === "always" ? ` ${i}-list-item-has-link` : ""}${at && d === tt.length - 1 ? ` ${i}-list-item-before-cut` : ""}`,
1456
- ...h ? { href: l.link, target: "_blank" } : {},
1467
+ className: `${i}-list-item${h || Gt === "always" ? ` ${i}-list-item-has-link` : ""}${at && d === tt.length - 1 ? ` ${i}-list-item-before-cut` : ""}`,
1468
+ ...h ? { href: (W = l.link) == null ? void 0 : W.value, target: ((H = l.link) == null ? void 0 : H.target) === "blank" ? "_blank" : "_self" } : {},
1457
1469
  style: T,
1458
- onMouseEnter: (p) => {
1459
- nt && (h || Jt === "always") && Se(p, i), V && Lo(l, p);
1470
+ onMouseEnter: ($) => {
1471
+ nt && (h || Gt === "always") && Se($, i), I && Ro(l, $);
1460
1472
  },
1461
- onMouseLeave: (p) => {
1462
- nt && (h || Jt === "always") && Me(p, i);
1473
+ onMouseLeave: ($) => {
1474
+ nt && (h || Gt === "always") && Me($, i);
1463
1475
  },
1464
1476
  children: [
1465
- Dt > 0 && /* @__PURE__ */ b(
1477
+ Vt > 0 && /* @__PURE__ */ C(
1466
1478
  "div",
1467
1479
  {
1468
1480
  className: `${i}-row-padding-handle`,
1469
- style: { height: g(Dt) }
1481
+ style: { height: g(Vt) }
1470
1482
  }
1471
1483
  ),
1472
- /* @__PURE__ */ Y(
1484
+ /* @__PURE__ */ U(
1473
1485
  "div",
1474
1486
  {
1475
- className: `${i}-list-cols-row${$ ? "" : ` ${i}-list-cols-row-h`}${f && d === 0 && $ ? ` ${i}-list-cols-row-controls` : ""}`,
1476
- ...$ ? {} : { "data-list-row": "" },
1477
- style: $ ? void 0 : { minHeight: g(oe) },
1487
+ className: `${i}-list-cols-row${f ? "" : ` ${i}-list-cols-row-h`}${p && d === 0 && f ? ` ${i}-list-cols-row-controls` : ""}`,
1488
+ ...f ? {} : { "data-list-row": "" },
1489
+ style: f ? void 0 : { minHeight: g(ee) },
1478
1490
  children: [
1479
- S.map((p, H) => {
1480
- const k = H === S.length - 1, B = it[H], F = p.paddingBottom, K = Vo(l.cells[p.key]), z = $ && F > 0, U = $ ? { minHeight: g(oe) } : { width: g(I[H]) }, et = $ ? {
1481
- paddingLeft: g(ft),
1482
- paddingRight: g(ft)
1491
+ S.map(($, A) => {
1492
+ const G = A === S.length - 1, N = it[A], F = $.paddingBottom, z = Ko(l.cells[$.key]), et = f && F > 0, ne = f ? { minHeight: g(ee) } : { width: g(K[A]) }, yt = f ? {
1493
+ paddingLeft: g(pt),
1494
+ paddingRight: g(pt)
1483
1495
  } : {
1484
- paddingLeft: g(B.paddingLeft),
1485
- paddingRight: g(B.paddingRight)
1486
- }, It = p.textPrefix.charAt(0), X = $ ? Jo(
1487
- t[`${p.textPrefix}VerticalAlign`]
1488
- ) : Go(
1489
- t[`${p.textPrefix}VerticalAlign`],
1496
+ paddingLeft: g(N.paddingLeft),
1497
+ paddingRight: g(N.paddingRight)
1498
+ }, bt = $.textPrefix.charAt(0), b = f ? Qo(
1499
+ t[`${$.textPrefix}VerticalAlign`]
1500
+ ) : Zo(
1501
+ t[`${$.textPrefix}VerticalAlign`],
1490
1502
  t,
1491
- It
1492
- ), Kt = $ && f && d === 0;
1493
- return /* @__PURE__ */ Y(
1503
+ bt
1504
+ ), J = f && p && d === 0;
1505
+ return /* @__PURE__ */ U(
1494
1506
  "div",
1495
1507
  {
1496
- className: $ ? `${i}-list-col-wrap` : void 0,
1497
- ...$ ? {} : {
1508
+ className: f ? `${i}-list-col-wrap` : void 0,
1509
+ ...f ? {} : {
1498
1510
  "data-list-col": "",
1499
- "data-col-letter": It,
1500
- "data-valign": X.kind,
1501
- ...X.kind === "baseline" ? { "data-valign-anchor": X.anchorLetter } : {}
1511
+ "data-col-letter": bt,
1512
+ "data-valign": b.kind,
1513
+ ...b.kind === "baseline" ? { "data-valign-anchor": b.anchorLetter } : {}
1502
1514
  },
1503
1515
  children: [
1504
- /* @__PURE__ */ b(
1516
+ /* @__PURE__ */ C(
1505
1517
  "div",
1506
1518
  {
1507
- className: `${i}-list-col${k ? ` ${i}-list-col-last` : ""}`,
1519
+ className: `${i}-list-col${G ? ` ${i}-list-col-last` : ""}`,
1508
1520
  style: {
1509
- ...et,
1510
- ...U,
1511
- ...$ ? { justifyContent: Fe(X.kind) } : {}
1521
+ ...yt,
1522
+ ...ne,
1523
+ ...f ? { justifyContent: He(b.kind) } : {}
1512
1524
  },
1513
- "data-test": p.width,
1514
- children: /* @__PURE__ */ b(
1525
+ "data-test": $.width,
1526
+ children: /* @__PURE__ */ C(
1515
1527
  "span",
1516
1528
  {
1517
1529
  className: De(
1518
1530
  t,
1519
- p.textPrefix,
1531
+ $.textPrefix,
1520
1532
  `${i}-list-col-title`,
1521
1533
  `${i}-text-tight-leading`
1522
1534
  ),
1523
1535
  style: {
1524
- ...Ne(qt(t, p.textPrefix), o),
1525
- ...Ve(t, p.textPrefix, i, o),
1526
- ...$ ? {} : Qo(X.kind)
1536
+ ...Ne(jt(t, $.textPrefix), o),
1537
+ ...Ve(t, $.textPrefix, i, o),
1538
+ ...f ? {} : tr(b.kind)
1527
1539
  },
1528
- children: K ? l.cells[p.key] ?? null : $ ? " " : null
1540
+ children: z ? l.cells[$.key] ?? null : f ? " " : null
1529
1541
  }
1530
1542
  )
1531
1543
  }
1532
1544
  ),
1533
- z && /* @__PURE__ */ b(
1545
+ et && /* @__PURE__ */ C(
1534
1546
  "div",
1535
1547
  {
1536
1548
  className: `${i}-row-padding-handle`,
1537
1549
  style: { height: g(F) }
1538
1550
  }
1539
1551
  ),
1540
- Kt && /* @__PURE__ */ b(
1552
+ J && /* @__PURE__ */ C(
1541
1553
  "div",
1542
1554
  {
1543
- "data-controls": p.paddingBottomKey,
1555
+ "data-controls": $.paddingBottomKey,
1544
1556
  "data-controls-axis": "y",
1545
1557
  "data-controls-variant": "column-padding",
1546
1558
  "data-controls-min": "0",
@@ -1557,11 +1569,11 @@ function Mr({ settings: t, content: e, isEditor: o, isPreviewMode: r, isEditMode
1557
1569
  )
1558
1570
  ]
1559
1571
  },
1560
- p.key
1572
+ $.key
1561
1573
  );
1562
1574
  }),
1563
- f && d === 0 && $ && /* @__PURE__ */ Y(Ee, { children: [
1564
- /* @__PURE__ */ b(
1575
+ p && d === 0 && f && /* @__PURE__ */ U(Ee, { children: [
1576
+ /* @__PURE__ */ C(
1565
1577
  "div",
1566
1578
  {
1567
1579
  "data-controls": "textPaddingLR",
@@ -1576,12 +1588,12 @@ function Mr({ settings: t, content: e, isEditor: o, isPreviewMode: r, isEditMode
1576
1588
  style: {
1577
1589
  top: 0,
1578
1590
  left: 0,
1579
- width: g(Ft),
1591
+ width: g(Nt),
1580
1592
  height: "100%"
1581
1593
  }
1582
1594
  }
1583
1595
  ),
1584
- /* @__PURE__ */ b(
1596
+ /* @__PURE__ */ C(
1585
1597
  "div",
1586
1598
  {
1587
1599
  "data-controls": "textPaddingLR",
@@ -1596,8 +1608,8 @@ function Mr({ settings: t, content: e, isEditor: o, isPreviewMode: r, isEditMode
1596
1608
  className: `${i}-control-anchor`,
1597
1609
  style: {
1598
1610
  top: 0,
1599
- left: g(Math.max(Ft, Q - Ft)),
1600
- width: g(Ft),
1611
+ left: g(Math.max(Nt, Q - Nt)),
1612
+ width: g(Nt),
1601
1613
  height: "100%"
1602
1614
  }
1603
1615
  }
@@ -1606,14 +1618,14 @@ function Mr({ settings: t, content: e, isEditor: o, isPreviewMode: r, isEditMode
1606
1618
  ]
1607
1619
  }
1608
1620
  ),
1609
- !$ && Vt > 0 && /* @__PURE__ */ b(
1621
+ !f && It > 0 && /* @__PURE__ */ C(
1610
1622
  "div",
1611
1623
  {
1612
1624
  className: `${i}-row-padding-handle`,
1613
- style: { height: g(Vt) }
1625
+ style: { height: g(It) }
1614
1626
  }
1615
1627
  ),
1616
- f && d === 0 && !$ && /* @__PURE__ */ b(
1628
+ p && d === 0 && !f && /* @__PURE__ */ C(
1617
1629
  "div",
1618
1630
  {
1619
1631
  "data-controls": "rowPaddingBottom",
@@ -1627,7 +1639,7 @@ function Mr({ settings: t, content: e, isEditor: o, isPreviewMode: r, isEditMode
1627
1639
  bottom: 0,
1628
1640
  left: 0,
1629
1641
  width: "100%",
1630
- height: g(yo)
1642
+ height: g(bo)
1631
1643
  }
1632
1644
  }
1633
1645
  )
@@ -1636,81 +1648,81 @@ function Mr({ settings: t, content: e, isEditor: o, isPreviewMode: r, isEditMode
1636
1648
  l.id
1637
1649
  );
1638
1650
  }),
1639
- f && /* @__PURE__ */ b("div", { style: { position: "absolute", inset: 0, pointerEvents: "none" }, children: /* @__PURE__ */ b(
1651
+ p && /* @__PURE__ */ C("div", { style: { position: "absolute", inset: 0, pointerEvents: "none" }, children: /* @__PURE__ */ C(
1640
1652
  "div",
1641
1653
  {
1642
- "data-controls": Co,
1654
+ "data-controls": wo,
1643
1655
  "data-controls-axis": "y",
1644
1656
  "data-controls-variant": "row-padding",
1645
1657
  "data-controls-min": "0",
1646
1658
  "data-controls-center-only-drag": "",
1647
- "data-controls-hit-placement": $ ? "center" : "left-y",
1659
+ "data-controls-hit-placement": f ? "center" : "left-y",
1648
1660
  className: `${i}-control-anchor`,
1649
1661
  style: {
1650
- top: bo,
1662
+ top: Co,
1651
1663
  left: 0,
1652
1664
  width: "100%",
1653
- height: g(Math.max(Dt, se))
1665
+ height: g(Math.max(Vt, se))
1654
1666
  }
1655
1667
  }
1656
1668
  ) }, "row-padding-handles"),
1657
- f && !$ && re && ne && /* @__PURE__ */ Y("div", { style: { position: "absolute", inset: 0, pointerEvents: "none" }, children: [
1658
- /* @__PURE__ */ b(
1669
+ p && !f && oe && re && /* @__PURE__ */ U("div", { style: { position: "absolute", inset: 0, pointerEvents: "none" }, children: [
1670
+ /* @__PURE__ */ C(
1659
1671
  "div",
1660
1672
  {
1661
- "data-controls": re.paddingLeftKey,
1673
+ "data-controls": oe.paddingLeftKey,
1662
1674
  "data-controls-axis": "x",
1663
1675
  "data-controls-variant": "column-padding",
1664
1676
  "data-controls-min": "0",
1665
1677
  "data-controls-max-fraction": String(
1666
- I[0] - ((gt == null ? void 0 : gt.paddingRight) ?? 0)
1678
+ K[0] - ((vt == null ? void 0 : vt.paddingRight) ?? 0)
1667
1679
  ),
1668
1680
  "data-controls-center-only-drag": "",
1669
1681
  "data-controls-hit-placement": "center-x",
1670
- "data-controls-hit-top": _t ?? void 0,
1682
+ "data-controls-hit-top": Ft ?? void 0,
1671
1683
  className: `${i}-control-anchor`,
1672
1684
  style: {
1673
1685
  top: 0,
1674
1686
  left: 0,
1675
- width: g(wo),
1687
+ width: g(xo),
1676
1688
  height: "100%"
1677
1689
  }
1678
1690
  }
1679
1691
  ),
1680
- /* @__PURE__ */ b(
1692
+ /* @__PURE__ */ C(
1681
1693
  "div",
1682
1694
  {
1683
- "data-controls": ne.paddingRightKey,
1695
+ "data-controls": re.paddingRightKey,
1684
1696
  "data-controls-axis": "x",
1685
1697
  "data-controls-variant": "column-padding",
1686
1698
  "data-controls-reverse": "",
1687
1699
  "data-controls-min": "0",
1688
1700
  "data-controls-max-fraction": String(
1689
- I[S.length - 1] - ((yt == null ? void 0 : yt.paddingLeft) ?? 0)
1701
+ K[S.length - 1] - ((gt == null ? void 0 : gt.paddingLeft) ?? 0)
1690
1702
  ),
1691
1703
  "data-controls-center-only-drag": "",
1692
1704
  "data-controls-hit-placement": "center-x",
1693
- "data-controls-hit-top": _t ?? void 0,
1705
+ "data-controls-hit-top": Ft ?? void 0,
1694
1706
  className: `${i}-control-anchor`,
1695
1707
  style: {
1696
1708
  top: 0,
1697
- left: g(xo - Re),
1709
+ left: g(Lo - Re),
1698
1710
  width: g(Re),
1699
1711
  height: "100%"
1700
1712
  }
1701
1713
  }
1702
1714
  )
1703
1715
  ] }, "column-edge-padding-handles"),
1704
- f && !$ && S.slice(0, -1).map((l, d) => {
1705
- const h = S[d + 1], y = Pt.slice(0, d + 1).reduce((k, B) => k + B, 0), T = it[d], W = it[d + 1], p = Math.max(
1716
+ p && !f && S.slice(0, -1).map((l, d) => {
1717
+ const h = S[d + 1], y = Qt.slice(0, d + 1).reduce(($, A) => $ + A, 0), T = it[d], k = it[d + 1], W = Math.max(
1706
1718
  T.paddingRight,
1707
- ct
1719
+ st
1708
1720
  ), H = Math.max(
1709
- W.paddingLeft,
1710
- ct
1721
+ k.paddingLeft,
1722
+ st
1711
1723
  );
1712
- return /* @__PURE__ */ Y("div", { style: { position: "absolute", inset: 0, pointerEvents: "none" }, children: [
1713
- /* @__PURE__ */ b(
1724
+ return /* @__PURE__ */ U("div", { style: { position: "absolute", inset: 0, pointerEvents: "none" }, children: [
1725
+ /* @__PURE__ */ C(
1714
1726
  "div",
1715
1727
  {
1716
1728
  "data-controls": l.paddingRightKey,
@@ -1719,21 +1731,21 @@ function Mr({ settings: t, content: e, isEditor: o, isPreviewMode: r, isEditMode
1719
1731
  "data-controls-reverse": "",
1720
1732
  "data-controls-min": "0",
1721
1733
  "data-controls-max-fraction": String(
1722
- I[d] - T.paddingLeft
1734
+ K[d] - T.paddingLeft
1723
1735
  ),
1724
1736
  "data-controls-center-only-drag": "",
1725
1737
  "data-controls-hit-placement": "center-x",
1726
- "data-controls-hit-top": _t ?? void 0,
1738
+ "data-controls-hit-top": Ft ?? void 0,
1727
1739
  className: `${i}-control-anchor`,
1728
1740
  style: {
1729
1741
  top: 0,
1730
- left: g(y - p),
1731
- width: g(p),
1742
+ left: g(y - W),
1743
+ width: g(W),
1732
1744
  height: "100%"
1733
1745
  }
1734
1746
  }
1735
1747
  ),
1736
- /* @__PURE__ */ b(
1748
+ /* @__PURE__ */ C(
1737
1749
  "div",
1738
1750
  {
1739
1751
  "data-controls": h.paddingLeftKey,
@@ -1741,11 +1753,11 @@ function Mr({ settings: t, content: e, isEditor: o, isPreviewMode: r, isEditMode
1741
1753
  "data-controls-variant": "column-padding",
1742
1754
  "data-controls-min": "0",
1743
1755
  "data-controls-max-fraction": String(
1744
- I[d + 1] - W.paddingRight
1756
+ K[d + 1] - k.paddingRight
1745
1757
  ),
1746
1758
  "data-controls-center-only-drag": "",
1747
1759
  "data-controls-hit-placement": "center-x",
1748
- "data-controls-hit-top": _t ?? void 0,
1760
+ "data-controls-hit-top": Ft ?? void 0,
1749
1761
  className: `${i}-control-anchor`,
1750
1762
  style: {
1751
1763
  top: 0,
@@ -1757,14 +1769,14 @@ function Mr({ settings: t, content: e, isEditor: o, isPreviewMode: r, isEditMode
1757
1769
  )
1758
1770
  ] }, `${l.paddingRightKey}-padding`);
1759
1771
  }),
1760
- f && !$ && S.slice(0, -1).map((l, d) => {
1761
- const h = gr(
1772
+ p && !f && S.slice(0, -1).map((l, d) => {
1773
+ const h = br(
1762
1774
  d,
1763
- Pt,
1764
- $o,
1775
+ Qt,
1776
+ vo,
1765
1777
  Q
1766
- ), T = Pt.slice(0, d + 1).reduce((W, p) => W + p, 0) - Ie / 2;
1767
- return /* @__PURE__ */ b("div", { style: { position: "absolute", inset: 0, pointerEvents: "none" }, children: /* @__PURE__ */ b(
1778
+ ), T = Qt.slice(0, d + 1).reduce((k, W) => k + W, 0) - Ie / 2;
1779
+ return /* @__PURE__ */ C("div", { style: { position: "absolute", inset: 0, pointerEvents: "none" }, children: /* @__PURE__ */ C(
1768
1780
  "div",
1769
1781
  {
1770
1782
  "data-controls": l.widthKey,
@@ -1786,48 +1798,48 @@ function Mr({ settings: t, content: e, isEditor: o, isPreviewMode: r, isEditMode
1786
1798
  })
1787
1799
  ] }),
1788
1800
  at && (() => {
1789
- const l = qt(t, wt), d = Po(t.cutLabelVerticalAlign), h = l.textTextAlign === "justify" || $;
1790
- return /* @__PURE__ */ b(
1801
+ const l = jt(t, xt), d = er(t.cutLabelVerticalAlign), h = l.textTextAlign === "justify" || f;
1802
+ return /* @__PURE__ */ C(
1791
1803
  "button",
1792
1804
  {
1793
1805
  type: "button",
1794
1806
  className: `${i}-cut-item`,
1795
1807
  style: {
1796
- minHeight: g(A ?? 0),
1797
- cursor: ee ? "pointer" : "default",
1798
- ...Io(
1799
- $t,
1800
- N ?? 0,
1808
+ minHeight: g(B ?? 0),
1809
+ cursor: te ? "pointer" : "default",
1810
+ ...zo(
1811
+ ft,
1812
+ D ?? 0,
1801
1813
  o ?? !1
1802
1814
  )
1803
1815
  },
1804
- onClick: ee ? go : void 0,
1805
- onMouseEnter: nt || V ? Wo : void 0,
1816
+ onClick: te ? yo : void 0,
1817
+ onMouseEnter: nt || I ? ko : void 0,
1806
1818
  onMouseLeave: nt ? Ao : void 0,
1807
- children: /* @__PURE__ */ b(
1819
+ children: /* @__PURE__ */ C(
1808
1820
  "div",
1809
1821
  {
1810
1822
  className: `${i}-list-cols-row`,
1811
1823
  style: {
1812
- ...$ ? {
1813
- paddingLeft: g(ft),
1814
- paddingRight: g(ft)
1824
+ ...f ? {
1825
+ paddingLeft: g(pt),
1826
+ paddingRight: g(pt)
1815
1827
  } : {},
1816
- justifyContent: tr(l.textTextAlign),
1817
- alignItems: Fe(d)
1828
+ justifyContent: or(l.textTextAlign),
1829
+ alignItems: He(d)
1818
1830
  },
1819
- children: /* @__PURE__ */ b(
1831
+ children: /* @__PURE__ */ C(
1820
1832
  "span",
1821
1833
  {
1822
1834
  className: De(
1823
1835
  t,
1824
- wt,
1836
+ xt,
1825
1837
  `${i}-cut-label`,
1826
1838
  `${i}-text-tight-leading`
1827
1839
  ),
1828
1840
  style: {
1829
1841
  ...Ne(l, o),
1830
- ...Ve(t, wt, i, o),
1842
+ ...Ve(t, xt, i, o),
1831
1843
  ...h ? { width: "100%" } : {}
1832
1844
  },
1833
1845
  children: rt
@@ -1838,22 +1850,22 @@ function Mr({ settings: t, content: e, isEditor: o, isPreviewMode: r, isEditMode
1838
1850
  }
1839
1851
  );
1840
1852
  })(),
1841
- V && w && typeof document < "u" && (() => {
1842
- const l = `${w.widthPx}px`, d = {
1853
+ I && x && typeof document < "u" && (() => {
1854
+ const l = `${x.widthPx}px`, d = {
1843
1855
  width: l,
1844
1856
  height: "auto",
1845
1857
  maxHeight: l,
1846
1858
  objectFit: "contain"
1847
1859
  }, h = (u ? document.getElementById(u) : null) ?? document.body;
1848
- return Mo(
1849
- /* @__PURE__ */ b("div", { ref: uo, className: `${i}-hover-media-anchor`, "data-selection": "none", children: /* @__PURE__ */ b(
1850
- Do,
1860
+ return Oo(
1861
+ /* @__PURE__ */ C("div", { ref: ho, className: `${i}-hover-media-anchor`, "data-selection": "none", children: /* @__PURE__ */ C(
1862
+ Io,
1851
1863
  {
1852
- media: w,
1853
- className: w.isVideo ? `${i}-hover-video` : `${i}-hover-image`,
1864
+ media: x,
1865
+ className: x.isVideo ? `${i}-hover-video` : `${i}-hover-image`,
1854
1866
  style: d
1855
1867
  },
1856
- `${w.rowId}-${w.assetId}`
1868
+ `${x.rowId}-${x.assetId}`
1857
1869
  ) }),
1858
1870
  h
1859
1871
  );
@@ -1864,28 +1876,28 @@ function Mr({ settings: t, content: e, isEditor: o, isPreviewMode: r, isEditMode
1864
1876
  ] });
1865
1877
  }
1866
1878
  export {
1867
- jt as COLUMN_CONTENT_KEYS,
1868
- ze as COLUMN_TEXT_PREFIXES,
1869
- Br as COLUMN_VALIGN_BASIC_OPTIONS,
1870
- wt as CUT_LABEL_TEXT_PREFIX,
1871
- Gt as LIST_COLUMN_LETTERS,
1872
- Yo as LIST_TEXT_STYLE_PREFIXES,
1873
- ir as LIST_TEXT_STYLE_TAB_LABELS,
1874
- Mr as List,
1875
- Sr as applyListColumnCountChange,
1876
- vr as applyListSettingsChange,
1877
- Er as createListTextStylePanelTab,
1878
- ar as createListTextStyleTabContentItems,
1879
- Yt as getEffectiveListColumnWidths,
1880
- dr as getEqualListColumnWidthUpdates,
1881
- j as getListColumnTextSettingKey,
1882
- Ue as getListColumnVerticalAlignSettingKey,
1883
- xt as getListEffectiveContentWidth,
1884
- qe as getListMinColumnWidth,
1885
- jo as isBaselineAnchorColumnVerticalAlign,
1886
- Ye as isValidColumnBaselineVAlign,
1887
- Xe as normalizeListColumnVerticalAlign,
1888
- qo as parseBaselineAnchorLetter,
1889
- Je as resolveListColumnPadding,
1879
+ Yt as COLUMN_CONTENT_KEYS,
1880
+ Ue as COLUMN_TEXT_PREFIXES,
1881
+ Mr as COLUMN_VALIGN_BASIC_OPTIONS,
1882
+ xt as CUT_LABEL_TEXT_PREFIX,
1883
+ qt as LIST_COLUMN_LETTERS,
1884
+ qo as LIST_TEXT_STYLE_PREFIXES,
1885
+ lr as LIST_TEXT_STYLE_TAB_LABELS,
1886
+ Fr as List,
1887
+ _r as applyListColumnCountChange,
1888
+ yr as applyListSettingsChange,
1889
+ Or as createListTextStylePanelTab,
1890
+ sr as createListTextStyleTabContentItems,
1891
+ Xt as getEffectiveListColumnWidths,
1892
+ hr as getEqualListColumnWidthUpdates,
1893
+ X as getListColumnTextSettingKey,
1894
+ Xe as getListColumnVerticalAlignSettingKey,
1895
+ Lt as getListEffectiveContentWidth,
1896
+ Ge as getListMinColumnWidth,
1897
+ Go as isBaselineAnchorColumnVerticalAlign,
1898
+ je as isValidColumnBaselineVAlign,
1899
+ Ye as normalizeListColumnVerticalAlign,
1900
+ Jo as parseBaselineAnchorLetter,
1901
+ Ze as resolveListColumnPadding,
1890
1902
  ue as resolveListColumnWidths
1891
1903
  };