@cntrl-site/components 1.0.115 → 1.0.116

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 (30) hide show
  1. package/dist/Chronicles-BNvvaFYY.mjs +744 -0
  2. package/dist/Chronicles-Dj1gvNjE.js +196 -0
  3. package/dist/{ChroniclesComponent-D-yEbs9w.mjs → ChroniclesComponent-0ZWBPdbh.mjs} +542 -491
  4. package/dist/ChroniclesComponent-D4_6w8f7.js +1 -0
  5. package/dist/Components/Chronicles/Chronicles.d.ts +7 -1
  6. package/dist/Components/Chronicles/ChroniclesComponent.d.ts +26 -2
  7. package/dist/Components/LightboxJournal/LightboxJournal.d.ts +1 -0
  8. package/dist/Components/LightboxStrip/LightboxStrip.d.ts +1 -0
  9. package/dist/LightboxJournal-Bmw2zm4t.js +549 -0
  10. package/dist/{LightboxJournal-D59ex6wH.mjs → LightboxJournal-gePVKQJ4.mjs} +429 -403
  11. package/dist/{LightboxStrip-YspzBP8N.mjs → LightboxStrip-BPQiQhd3.mjs} +461 -435
  12. package/dist/LightboxStrip-CTxRwLYk.js +412 -0
  13. package/dist/{components-D4ZrIo2M.js → components-B8MjlzLL.js} +1 -1
  14. package/dist/{components-Ds6rhj3U.mjs → components-BQjon_-7.mjs} +1 -1
  15. package/dist/elements.js +1 -1
  16. package/dist/elements.mjs +3 -3
  17. package/dist/elements.node.js +1 -1
  18. package/dist/elements.node.mjs +1 -1
  19. package/dist/index.d.ts +1 -1
  20. package/dist/index.js +1 -1
  21. package/dist/index.mjs +36 -32
  22. package/dist/sources.js +124 -25
  23. package/dist/sources.mjs +131 -32
  24. package/dist/types/SchemaV1.d.ts +3 -0
  25. package/package.json +1 -1
  26. package/dist/Chronicles-Cy2h3jlZ.mjs +0 -724
  27. package/dist/Chronicles-D0ojQzOP.js +0 -196
  28. package/dist/ChroniclesComponent-Os_r2IYg.js +0 -1
  29. package/dist/LightboxJournal-DAEZOPDi.js +0 -523
  30. package/dist/LightboxStrip-BDjI1jyH.js +0 -386
@@ -1,297 +1,297 @@
1
1
  import { jsxs as a, jsx as l, Fragment as ft } from "react/jsx-runtime";
2
- import { useCallback as p, useMemo as C, useState as L, useRef as $, useEffect as ot, useLayoutEffect as Ge } from "react";
3
- import { flushSync as Mi, createPortal as Bi } from "react-dom";
4
- import { u as zi } from "./useScopedStyles-DhBG3557.mjs";
5
- import { u as Ki, i as It, g as Qe } from "./useLightboxSwipeDismiss-SGv6Ra33.mjs";
6
- import { s as we } from "./scalingValue-C9JH5L6O.mjs";
7
- import { S as ji } from "./SvgImage-B5mR9y6q.mjs";
8
- import { u as Ai } from "./useLightboxScrollLock-VQ07s7EJ.mjs";
9
- import { j as _t, r as Jt, i as Vt, s as Ee, k as Ue, S as Fi, l as Xe, m as Oi, D as ve, b as Gt, a as Ve, g as Ye, c as Ut, e as nt, h as Di, n as ye, f as ht, d as _i, T as Xt, o as Ji, p as Gi, q as Ui, t as qe, u as Ze, v as Xi } from "./utils-FxC9rcxw.mjs";
10
- const Vi = ({
2
+ import { useCallback as p, useMemo as L, useState as H, useRef as b, useEffect as nt, useLayoutEffect as Xe } from "react";
3
+ import { flushSync as Ki, createPortal as Oi } from "react-dom";
4
+ import { u as ji } from "./useScopedStyles-DhBG3557.mjs";
5
+ import { u as Ai, i as Tt, g as ti } from "./useLightboxSwipeDismiss-SGv6Ra33.mjs";
6
+ import { s as be } from "./scalingValue-C9JH5L6O.mjs";
7
+ import { S as Fi } from "./SvgImage-B5mR9y6q.mjs";
8
+ import { u as _i } from "./useLightboxScrollLock-VQ07s7EJ.mjs";
9
+ import { j as Dt, r as Gt, i as Et, s as ei, k as Ye, S as Di, l as Ee, m as Gi, D as Te, b as Jt, a as qe, g as Ze, c as Ut, e as it, h as Ji, n as Se, f as ht, d as Ui, T as Vt, o as Vi, p as Xi, q as Yi, t as Qe, u as Pe, v as Ei } from "./utils-FxC9rcxw.mjs";
10
+ const qi = ({
11
11
  prefix: t,
12
- entries: D,
12
+ entries: _,
13
13
  settings: W,
14
- isEditor: v,
14
+ isEditor: w,
15
15
  isEditMode: f,
16
- isPreviewMode: lt,
16
+ isPreviewMode: ot,
17
17
  initialSlideIndex: Y = 0,
18
18
  enableUrlSync: N = !1,
19
- journalItemId: H = null,
20
- onBeforeClose: q,
21
- onClose: Z
19
+ journalItemId: M = null,
20
+ onBeforeClose: E,
21
+ onClose: q
22
22
  }) => {
23
23
  const {
24
- type: M,
25
- coverFit: ut,
26
- backgroundColor: Yt,
27
- imageGap: z,
28
- maxWidth: qt,
29
- maxHeight: mt,
30
- textTransition: _,
31
- title1Width: Q,
32
- title2Width: E,
33
- title3Width: B,
34
- title1MarginLeft: K = 0,
35
- title2MarginLeft: I = 0,
36
- title3MarginLeft: Wt = 0,
37
- titleRowMarginBottom: rt = 0,
38
- titleHeaderLayout: Zt = "single-row",
39
- countCloseGap: b = 0,
40
- closeIcon: j,
41
- closeIconMaxWidth: J,
42
- closeIconColor: gt,
43
- closeIconHoverColor: $e,
44
- contentMarginTop: Pe = 0,
45
- iconMarginRight: ti = 0
46
- } = W, u = p((e) => we(e, v ?? !1), [v]), Qt = u(z ?? 0), ei = `${qt}%`, ii = `${mt}%`, Nt = u(b), ni = u(Pe), be = u(ti), st = _t("title1", Jt(W, "title1"), v), pt = _t("title2", Jt(W, "title2"), v), xt = _t("title3", Jt(W, "title3"), v), oi = _t("count", Jt(W, "count"), v), x = Zt === "mobile", G = !v || !!lt, li = !f && (!v || !!lt), d = C(() => Vt(D, M), [D, M]), [y, Et] = L(Y), wt = d[y], h = wt == null ? void 0 : wt.entry, [Te, Se] = L(!1), [Ie, vt] = L(null), [T, yt] = L(!1), [We, Pt] = L(null), [Ne, te] = L(!1), [ee, ke] = L(0), [at, $t] = L(), [kt, bt] = L(), [Rt, Ct] = L(null), P = $(null), Lt = $(0), Ht = $(0), Re = $(0), Ce = $(!1), ie = $(null), ne = $(null), U = $(null), X = $(null), oe = $(null), Le = $(null), Mt = $(null), He = p(() => {
47
- const e = ne.current;
24
+ type: z,
25
+ coverFit: lt,
26
+ backgroundColor: qt,
27
+ imageGap: Zt,
28
+ maxWidth: Qt,
29
+ maxHeight: K,
30
+ textTransition: D,
31
+ title1Width: rt,
32
+ title2Width: ut,
33
+ title3Width: Z,
34
+ title1MarginLeft: R = 0,
35
+ title2MarginLeft: B = 0,
36
+ title3MarginLeft: St = 0,
37
+ titleRowMarginBottom: T = 0,
38
+ titleHeaderLayout: Pt = "single-row",
39
+ countCloseGap: te = 0,
40
+ closeIcon: It,
41
+ closeIconMaxWidth: y,
42
+ closeIconColor: O,
43
+ closeIconHoverColor: G,
44
+ contentMarginTop: Wt = 0,
45
+ iconMarginRight: ni = 0
46
+ } = W, u = p((e) => be(e, w ?? !1), [w]), ee = u(Zt ?? 0), oi = `${Qt}%`, li = `${K}%`, Nt = u(te), ri = u(Wt), Ie = u(ni), st = Dt("title1", Gt(W, "title1"), w), mt = Dt("title2", Gt(W, "title2"), w), gt = Dt("title3", Gt(W, "title3"), w), si = Dt("count", Gt(W, "count"), w), x = Pt === "mobile", J = !w || !!ot, ai = !f && (!w || !!ot), d = L(() => Et(_, z), [_, z]), [$, ie] = H(Y), pt = d[$], h = pt == null ? void 0 : pt.entry, [We, Ne] = H(!1), [Re, xt] = H(null), [S, vt] = H(!1), [ke, ne] = H(null), [Ce, oe] = H(!1), [le, Le] = H(0), [at, wt] = H(), [Rt, $t] = H(), [kt, Ct] = H(null), Q = b(null), Lt = b(0), Ht = b(0), He = b(0), Me = b(!1), re = b(null), se = b(null), U = b(null), V = b(null), ae = b(null), ze = b(null), Mt = b(null), Be = p(() => {
47
+ const e = se.current;
48
48
  if (!e) return;
49
49
  const i = e.closest(`.${t}-lightbox-content-area`);
50
50
  if (!i) return e.getBoundingClientRect().width;
51
51
  const r = Array.from(i.children).reduce((n, o) => !(o instanceof HTMLElement) || o.contains(e) ? n : n + o.getBoundingClientRect().width, 0);
52
52
  return i.getBoundingClientRect().width - r;
53
- }, [t]), tt = p(() => {
54
- P.current && (clearTimeout(P.current), P.current = null);
55
- }, []), ri = p((e) => {
56
- e === Lt.current && (Pt(null), te(!1));
57
- }, []), Tt = p(() => {
58
- f || Ce.current || (Ce.current = !0, q == null || q(), Se(!1), ie.current = setTimeout(() => {
59
- Z();
53
+ }, [t]), P = p(() => {
54
+ Q.current && (clearTimeout(Q.current), Q.current = null);
55
+ }, []), ci = p((e) => {
56
+ e === Lt.current && (ne(null), oe(!1));
57
+ }, []), yt = p(() => {
58
+ f || Me.current || (Me.current = !0, E == null || E(), Ne(!1), re.current = setTimeout(() => {
59
+ q();
60
60
  }, 300));
61
- }, [f, q, Z]), si = p((e) => !!(e.closest("[data-controls]") || e.closest(`.${t}-close-icon`)), [t]), {
62
- isSwipeDragging: le,
63
- backdropStyle: ai,
64
- mediaAreaStyle: ci,
65
- overlayContentStyle: di,
66
- swipeHandlers: hi,
67
- dismissAreaStyle: fi
68
- } = Ki({
69
- enabled: li,
70
- onClose: Tt,
61
+ }, [f, E, q]), di = p((e) => !!(e.closest("[data-controls]") || e.closest(`.${t}-close-icon`)), [t]), {
62
+ isSwipeDragging: ce,
63
+ backdropStyle: hi,
64
+ mediaAreaStyle: fi,
65
+ overlayContentStyle: ui,
66
+ swipeHandlers: mi,
67
+ dismissAreaStyle: gi
68
+ } = Ai({
69
+ enabled: ai,
70
+ onClose: yt,
71
71
  animMs: 300,
72
- isBlockedTarget: si
73
- }), Me = p((e) => {
74
- N && Ee(e + 1, H, !0);
75
- }, [N, H]), re = p((e) => {
72
+ isBlockedTarget: di
73
+ }), Ke = p((e) => {
74
+ N && ei(e + 1, M, !0);
75
+ }, [N, M]), de = p((e) => {
76
76
  if (e)
77
77
  return e.getBoundingClientRect().height;
78
78
  }, []), ct = p((e) => {
79
79
  if (d.length === 0) return;
80
80
  const i = (e % d.length + d.length) % d.length;
81
- if (i === y) return;
82
- const r = d[y], n = d[i];
81
+ if (i === $) return;
82
+ const r = d[$], n = d[i];
83
83
  Lt.current += 1;
84
- const o = Lt.current, c = _ === "fade" && Ue(r == null ? void 0 : r.entry) !== Ue(n == null ? void 0 : n.entry), g = re(U.current), s = c ? (() => {
85
- const R = He();
86
- Mi(() => {
84
+ const o = Lt.current, c = D === "fade" && Ye(r == null ? void 0 : r.entry) !== Ye(n == null ? void 0 : n.entry), g = de(U.current), s = c ? (() => {
85
+ const C = Be();
86
+ Ki(() => {
87
87
  Ct(n.entry);
88
- }), U.current && R && (U.current.style.width = `${R}px`);
89
- const Dt = re(U.current);
90
- return U.current && (U.current.style.width = ""), { measuredIncomingTitlesHeight: Dt, incomingTitlesMeasureWidth: R };
91
- })() : void 0, S = Math.max(
88
+ }), U.current && C && (U.current.style.width = `${C}px`);
89
+ const _t = de(U.current);
90
+ return U.current && (U.current.style.width = ""), { measuredIncomingTitlesHeight: _t, incomingTitlesMeasureWidth: C };
91
+ })() : void 0, I = Math.max(
92
92
  g ?? 0,
93
93
  (s == null ? void 0 : s.measuredIncomingTitlesHeight) ?? 0
94
94
  ) || void 0;
95
- ke(o), Pt(y), te(!0), Et(i), Me(i), Re.current = i, c ? (tt(), S && $t(S), s != null && s.incomingTitlesMeasureWidth && bt(s.incomingTitlesMeasureWidth), vt((r == null ? void 0 : r.entryIndex) ?? null), yt(!0), Ht.current = n.entryIndex, P.current = setTimeout(() => {
96
- vt(null), yt(!1), $t(void 0), bt(void 0), Ct(null), P.current = null;
97
- }, 400)) : (tt(), vt(null), yt(!1), $t(void 0), bt(void 0), Ct(null), Ht.current = n.entryIndex);
98
- }, [y, tt, He, re, d, Me, _]), St = p(() => {
95
+ Le(o), ne($), oe(!0), ie(i), Ke(i), He.current = i, c ? (P(), I && wt(I), s != null && s.incomingTitlesMeasureWidth && $t(s.incomingTitlesMeasureWidth), xt((r == null ? void 0 : r.entryIndex) ?? null), vt(!0), Ht.current = n.entryIndex, Q.current = setTimeout(() => {
96
+ xt(null), vt(!1), wt(void 0), $t(void 0), Ct(null), Q.current = null;
97
+ }, 400)) : (P(), xt(null), vt(!1), wt(void 0), $t(void 0), Ct(null), Ht.current = n.entryIndex);
98
+ }, [$, P, Be, de, d, Ke, D]), bt = p(() => {
99
99
  Mt.current = null;
100
- }, []), ui = p((e) => {
101
- !G || d.length <= 1 || e.pointerType === "mouse" && e.button !== 0 || e.target.closest("[data-controls]") || (Mt.current = {
100
+ }, []), pi = p((e) => {
101
+ !J || d.length <= 1 || e.pointerType === "mouse" && e.button !== 0 || e.target.closest("[data-controls]") || (Mt.current = {
102
102
  startX: e.clientX,
103
103
  startY: e.clientY,
104
104
  pointerId: e.pointerId
105
105
  });
106
- }, [G, d.length]), mi = p((e) => {
107
- var R;
108
- if (!G || d.length <= 1 || e.pointerType === "mouse" && e.button !== 0) return;
109
- if (le) {
110
- St();
106
+ }, [J, d.length]), xi = p((e) => {
107
+ var C;
108
+ if (!J || d.length <= 1 || e.pointerType === "mouse" && e.button !== 0) return;
109
+ if (ce) {
110
+ bt();
111
111
  return;
112
112
  }
113
113
  const i = Mt.current;
114
- if (!i || i.pointerId !== e.pointerId || (St(), e.target.closest("[data-controls]"))) return;
114
+ if (!i || i.pointerId !== e.pointerId || (bt(), e.target.closest("[data-controls]"))) return;
115
115
  const n = e.clientX - i.startX, o = e.clientY - i.startY, c = Math.abs(n), g = Math.abs(o);
116
- if (c >= Fi && c > g) {
117
- ct(n > 0 ? y - 1 : y + 1);
116
+ if (c >= Di && c > g) {
117
+ ct(n > 0 ? $ - 1 : $ + 1);
118
118
  return;
119
119
  }
120
- if (c > Xe || g > Xe) return;
121
- const s = (R = X.current) == null ? void 0 : R.getBoundingClientRect(), S = s ? s.left + s.width / 2 : window.innerWidth / 2;
122
- ct(e.clientX < S ? y - 1 : y + 1);
123
- }, [y, G, ct, le, St, d.length]), gi = p((e) => {
120
+ if (c > Ee || g > Ee) return;
121
+ const s = (C = V.current) == null ? void 0 : C.getBoundingClientRect(), I = s ? s.left + s.width / 2 : window.innerWidth / 2;
122
+ ct(e.clientX < I ? $ - 1 : $ + 1);
123
+ }, [$, J, ct, ce, bt, d.length]), vi = p((e) => {
124
124
  const i = Mt.current;
125
- (i == null ? void 0 : i.pointerId) === e.pointerId && St();
126
- }, [St]);
127
- Ai(), ot(() => {
128
- Le.current = document.activeElement instanceof HTMLElement ? document.activeElement : null;
125
+ (i == null ? void 0 : i.pointerId) === e.pointerId && bt();
126
+ }, [bt]);
127
+ _i(), nt(() => {
128
+ ze.current = document.activeElement instanceof HTMLElement ? document.activeElement : null;
129
129
  const e = requestAnimationFrame(() => {
130
- Se(!0), requestAnimationFrame(() => {
131
- oe.current ? oe.current.focus() : X.current && X.current.focus();
130
+ Ne(!0), requestAnimationFrame(() => {
131
+ ae.current ? ae.current.focus() : V.current && V.current.focus();
132
132
  });
133
133
  });
134
134
  return () => {
135
- cancelAnimationFrame(e), ie.current && clearTimeout(ie.current), P.current && clearTimeout(P.current);
136
- const i = Le.current;
135
+ cancelAnimationFrame(e), re.current && clearTimeout(re.current), Q.current && clearTimeout(Q.current);
136
+ const i = ze.current;
137
137
  i && document.contains(i) && i.focus({ preventScroll: !0 });
138
138
  };
139
- }, []), ot(() => {
139
+ }, []), nt(() => {
140
140
  var e;
141
- _ !== "fade" && (Ht.current = ((e = d[y]) == null ? void 0 : e.entryIndex) ?? 0, tt(), vt(null), yt(!1), $t(void 0), bt(void 0));
142
- }, [y, tt, d, _]), ot(() => {
141
+ D !== "fade" && (Ht.current = ((e = d[$]) == null ? void 0 : e.entryIndex) ?? 0, P(), xt(null), vt(!1), wt(void 0), $t(void 0));
142
+ }, [$, P, d, D]), nt(() => {
143
143
  const e = (i) => {
144
144
  if (i.key === "Escape") {
145
- Tt();
145
+ yt();
146
146
  return;
147
147
  }
148
148
  if (i.key === "ArrowLeft" && d.length > 1) {
149
- ct(y - 1);
149
+ ct($ - 1);
150
150
  return;
151
151
  }
152
152
  if (i.key === "ArrowRight" && d.length > 1) {
153
- ct(y + 1);
153
+ ct($ + 1);
154
154
  return;
155
155
  }
156
- if (i.key === "Tab" && X.current) {
157
- const r = X.current.querySelectorAll(
156
+ if (i.key === "Tab" && V.current) {
157
+ const r = V.current.querySelectorAll(
158
158
  'button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])'
159
159
  ), n = Array.from(r).filter(
160
160
  (s) => !s.closest('[aria-hidden="true"]')
161
161
  );
162
162
  if (n.length === 0) return;
163
163
  const o = n[0], c = n[n.length - 1], g = document.activeElement;
164
- i.shiftKey ? (g === o || !X.current.contains(g)) && (i.preventDefault(), c.focus()) : (g === c || !X.current.contains(g)) && (i.preventDefault(), o.focus());
164
+ i.shiftKey ? (g === o || !V.current.contains(g)) && (i.preventDefault(), c.focus()) : (g === c || !V.current.contains(g)) && (i.preventDefault(), o.focus());
165
165
  }
166
166
  };
167
167
  return window.addEventListener("keydown", e), () => window.removeEventListener("keydown", e);
168
- }, [ct, Tt, y, d.length]), Ge(() => {
169
- tt(), Lt.current = 0, ke(0), Pt(null), te(!1), vt(null), yt(!1), $t(void 0), bt(void 0), Ct(null), Et((e) => {
168
+ }, [ct, yt, $, d.length]), Xe(() => {
169
+ P(), Lt.current = 0, Le(0), ne(null), oe(!1), xt(null), vt(!1), wt(void 0), $t(void 0), Ct(null), ie((e) => {
170
170
  const i = Math.max(0, d.length - 1);
171
171
  return Math.min(e, i);
172
172
  });
173
- }, [tt, D.length, M, d.length]), Ge(() => {
173
+ }, [P, _.length, z, d.length]), Xe(() => {
174
174
  var r;
175
175
  const e = Math.max(0, d.length - 1), i = Math.min(Math.max(0, Y), e);
176
- Re.current = i, Ht.current = ((r = d[i]) == null ? void 0 : r.entryIndex) ?? 0, Et(i);
176
+ He.current = i, Ht.current = ((r = d[i]) == null ? void 0 : r.entryIndex) ?? 0, ie(i);
177
177
  }, [Y]);
178
- const m = Ie !== null ? D[Ie] : null, Be = We !== null ? d[We] : null, Bt = (h == null ? void 0 : h.title1) || (h == null ? void 0 : h.title2) || (h == null ? void 0 : h.title3) || (m == null ? void 0 : m.title1) || (m == null ? void 0 : m.title2) || (m == null ? void 0 : m.title3), et = Oi(M, d, D), dt = j !== null, pi = Bt || et || dt, xi = et && dt ? { gap: Nt } : void 0, zt = `${t}-titles-stack${x ? ` ${t}-titles-stack-stacked` : ""}`, ze = `${t}-titles-layer-out${x ? ` ${t}-titles-layer-out-stacked` : ""}`, wi = `${t}-titles-layer-out`, se = (K ?? 0) > 0 || f, vi = u(rt), k = C(
178
+ const m = Re !== null ? _[Re] : null, Oe = ke !== null ? d[ke] : null, zt = (h == null ? void 0 : h.title1) || (h == null ? void 0 : h.title2) || (h == null ? void 0 : h.title3) || (m == null ? void 0 : m.title1) || (m == null ? void 0 : m.title2) || (m == null ? void 0 : m.title3), tt = Gi(z, d, _), dt = It !== null, wi = zt || tt || dt, $i = tt && dt ? { gap: Nt } : void 0, Bt = `${t}-titles-stack${x ? ` ${t}-titles-stack-stacked` : ""}`, je = `${t}-titles-layer-out${x ? ` ${t}-titles-layer-out-stacked` : ""}`, yi = `${t}-titles-layer-out`, he = (R ?? 0) > 0 || f, bi = u(T), k = L(
179
179
  () => ({
180
- title1Width: Q ?? ve.title1Width,
181
- title2Width: E ?? ve.title2Width,
182
- title3Width: B ?? ve.title3Width
180
+ title1Width: rt ?? Te.title1Width,
181
+ title2Width: ut ?? Te.title2Width,
182
+ title3Width: Z ?? Te.title3Width
183
183
  }),
184
- [Q, E, B]
185
- ), A = C(() => ({
186
- title2MarginLeft: I,
187
- title3MarginLeft: Wt
188
- }), [I, Wt]), w = C(
189
- () => h ? Gt(t, h, st, pt, xt) : [],
190
- [t, h, st, pt, xt]
191
- ), Kt = C(
192
- () => w.map((e) => k[e.widthKey]),
193
- [w, k]
194
- ), F = C(
195
- () => Ve(w.length, Kt),
196
- [w.length, Kt]
197
- ), Ke = C(
198
- () => Ye(w.length, Kt),
199
- [w.length, Kt]
200
- ), jt = C(
201
- () => w.filter((e) => e.prefix === "title1"),
202
- [w]
203
- ), O = C(
204
- () => w.filter((e) => e.prefix === "title2" || e.prefix === "title3"),
205
- [w]
206
- ), At = C(
207
- () => Ut(jt, k),
208
- [jt, k]
209
- ), V = C(
210
- () => Ut(O, k),
211
- [O, k]
212
- ), ae = p((e, i) => {
213
- const r = w.findIndex((o) => o.prefix === e.prefix);
184
+ [rt, ut, Z]
185
+ ), j = L(() => ({
186
+ title2MarginLeft: B,
187
+ title3MarginLeft: St
188
+ }), [B, St]), v = L(
189
+ () => h ? Jt(t, h, st, mt, gt) : [],
190
+ [t, h, st, mt, gt]
191
+ ), Kt = L(
192
+ () => v.map((e) => k[e.widthKey]),
193
+ [v, k]
194
+ ), A = L(
195
+ () => qe(v.length, Kt),
196
+ [v.length, Kt]
197
+ ), Ae = L(
198
+ () => Ze(v.length, Kt),
199
+ [v.length, Kt]
200
+ ), Ot = L(
201
+ () => v.filter((e) => e.prefix === "title1"),
202
+ [v]
203
+ ), F = L(
204
+ () => v.filter((e) => e.prefix === "title2" || e.prefix === "title3"),
205
+ [v]
206
+ ), jt = L(
207
+ () => Ut(Ot, k),
208
+ [Ot, k]
209
+ ), X = L(
210
+ () => Ut(F, k),
211
+ [F, k]
212
+ ), fe = p((e, i) => {
213
+ const r = v.findIndex((o) => o.prefix === e.prefix);
214
214
  if (!x || i === "single-row")
215
215
  return {
216
- effectiveWidth: Ke[r] ?? 0,
217
- resolvedWidth: F[r] ?? 0,
218
- maxWidth: nt(r, F)
216
+ effectiveWidth: Ae[r] ?? 0,
217
+ resolvedWidth: A[r] ?? 0,
218
+ maxWidth: it(r, A)
219
219
  };
220
220
  if (i === "two-row-top") {
221
- const o = jt.findIndex((c) => c.prefix === e.prefix);
221
+ const o = Ot.findIndex((c) => c.prefix === e.prefix);
222
222
  return {
223
- effectiveWidth: At.effective[o] ?? 0,
224
- resolvedWidth: At.resolved[o] ?? 0,
225
- maxWidth: nt(o, At.resolved)
223
+ effectiveWidth: jt.effective[o] ?? 0,
224
+ resolvedWidth: jt.resolved[o] ?? 0,
225
+ maxWidth: it(o, jt.resolved)
226
226
  };
227
227
  }
228
- const n = O.findIndex((o) => o.prefix === e.prefix);
228
+ const n = F.findIndex((o) => o.prefix === e.prefix);
229
229
  return {
230
- effectiveWidth: V.effective[n] ?? 0,
231
- resolvedWidth: V.resolved[n] ?? 0,
232
- maxWidth: nt(n, V.resolved)
230
+ effectiveWidth: X.effective[n] ?? 0,
231
+ resolvedWidth: X.resolved[n] ?? 0,
232
+ maxWidth: it(n, X.resolved)
233
233
  };
234
234
  }, [
235
- w,
236
- O,
237
- V,
238
- Ke,
235
+ v,
239
236
  F,
237
+ X,
238
+ Ae,
239
+ A,
240
+ Ot,
240
241
  jt,
241
- At,
242
242
  x
243
- ]), yi = p(
244
- (e) => Di(
245
- w,
246
- F,
243
+ ]), Ti = p(
244
+ (e) => Ji(
245
+ v,
247
246
  A,
247
+ j,
248
248
  e
249
- ) + (x ? 0 : K ?? 0),
250
- [w, F, A, x, K]
251
- ), $i = p(
252
- () => x ? 0 : K ?? 0,
253
- [x, K]
254
- ), ce = p(
255
- (e) => O.slice(0, e).reduce(
256
- (i, r, n) => i + (r.marginLeftKey ? A[r.marginLeftKey] ?? 0 : 0) + (V.resolved[n] ?? 0),
249
+ ) + (x ? 0 : R ?? 0),
250
+ [v, A, j, x, R]
251
+ ), Si = p(
252
+ () => x ? 0 : R ?? 0,
253
+ [x, R]
254
+ ), ue = p(
255
+ (e) => F.slice(0, e).reduce(
256
+ (i, r, n) => i + (r.marginLeftKey ? j[r.marginLeftKey] ?? 0 : 0) + (X.resolved[n] ?? 0),
257
257
  0
258
258
  ),
259
- [O, V.resolved, A]
260
- ), bi = p(
259
+ [F, X.resolved, j]
260
+ ), Ii = p(
261
261
  (e) => {
262
- const i = O[e];
263
- return ce(e) + (i.marginLeftKey ? A[i.marginLeftKey] ?? 0 : 0) + (V.resolved[e] ?? 0);
262
+ const i = F[e];
263
+ return ue(e) + (i.marginLeftKey ? j[i.marginLeftKey] ?? 0 : 0) + (X.resolved[e] ?? 0);
264
264
  },
265
- [O, V.resolved, ce, A]
266
- ), de = p((e, i, r) => {
265
+ [F, X.resolved, ue, j]
266
+ ), me = p((e, i, r) => {
267
267
  if (!x || r === "single-row") {
268
- const s = e.findIndex((it) => it.prefix === i.prefix), S = e.map((it) => k[it.widthKey]), R = Ve(e.length, S);
268
+ const s = e.findIndex((et) => et.prefix === i.prefix), I = e.map((et) => k[et.widthKey]), C = qe(e.length, I);
269
269
  return {
270
- effectiveWidth: Ye(e.length, S)[s] ?? 0,
271
- resolvedWidth: R[s] ?? 0,
272
- maxWidth: nt(s, R)
270
+ effectiveWidth: Ze(e.length, I)[s] ?? 0,
271
+ resolvedWidth: C[s] ?? 0,
272
+ maxWidth: it(s, C)
273
273
  };
274
274
  }
275
275
  if (r === "two-row-top") {
276
- const s = e.filter((it) => it.prefix === "title1"), S = s.findIndex((it) => it.prefix === i.prefix), { resolved: R, effective: Dt } = Ut(s, k);
276
+ const s = e.filter((et) => et.prefix === "title1"), I = s.findIndex((et) => et.prefix === i.prefix), { resolved: C, effective: _t } = Ut(s, k);
277
277
  return {
278
- effectiveWidth: Dt[S] ?? 0,
279
- resolvedWidth: R[S] ?? 0,
280
- maxWidth: nt(S, R)
278
+ effectiveWidth: _t[I] ?? 0,
279
+ resolvedWidth: C[I] ?? 0,
280
+ maxWidth: it(I, C)
281
281
  };
282
282
  }
283
283
  const n = e.filter((s) => s.prefix === "title2" || s.prefix === "title3"), o = n.findIndex((s) => s.prefix === i.prefix), { resolved: c, effective: g } = Ut(n, k);
284
284
  return {
285
285
  effectiveWidth: g[o] ?? 0,
286
286
  resolvedWidth: c[o] ?? 0,
287
- maxWidth: nt(o, c)
287
+ maxWidth: it(o, c)
288
288
  };
289
- }, [k, x]), he = (e, i, r) => {
290
- const n = e.marginLeftKey ? A[e.marginLeftKey] ?? 0 : 0, {
289
+ }, [k, x]), ge = (e, i, r) => {
290
+ const n = e.marginLeftKey ? j[e.marginLeftKey] ?? 0 : 0, {
291
291
  effectiveWidth: o,
292
292
  resolvedWidth: c,
293
293
  maxWidth: g
294
- } = r ?? ae(e, i), s = Math.max(n, Xt), S = f && i === "two-row-top";
294
+ } = r ?? fe(e, i), s = Math.max(n, Vt), I = f && i === "two-row-top";
295
295
  return /* @__PURE__ */ a(
296
296
  "div",
297
297
  {
@@ -303,7 +303,7 @@ const Vi = ({
303
303
  },
304
304
  children: [
305
305
  /* @__PURE__ */ l("p", { className: e.className, style: e.style, children: e.text }),
306
- S && e.marginLeftKey ? /* @__PURE__ */ l(
306
+ I && e.marginLeftKey ? /* @__PURE__ */ l(
307
307
  "div",
308
308
  {
309
309
  "data-controls": e.marginLeftKey,
@@ -320,7 +320,7 @@ const Vi = ({
320
320
  }
321
321
  }
322
322
  ) : null,
323
- S ? /* @__PURE__ */ l(
323
+ I ? /* @__PURE__ */ l(
324
324
  "div",
325
325
  {
326
326
  "data-controls": e.widthKey,
@@ -342,8 +342,8 @@ const Vi = ({
342
342
  },
343
343
  e.className
344
344
  );
345
- }, fe = (e = "two-row") => {
346
- const i = w.findIndex((o) => o.prefix === "title1"), r = i >= 0 ? F[i] : k.title1Width, n = e === "two-row" && f;
345
+ }, pe = (e = "two-row") => {
346
+ const i = v.findIndex((o) => o.prefix === "title1"), r = i >= 0 ? A[i] : k.title1Width, n = e === "two-row" && f;
347
347
  return /* @__PURE__ */ l(
348
348
  "div",
349
349
  {
@@ -354,14 +354,14 @@ const Vi = ({
354
354
  "data-controls-max-fraction": String(r)
355
355
  } : {},
356
356
  style: {
357
- width: u(K ?? 0),
357
+ width: u(R ?? 0),
358
358
  flexShrink: 0,
359
359
  alignSelf: "stretch",
360
360
  ...n ? { pointerEvents: "auto" } : {}
361
361
  }
362
362
  }
363
363
  );
364
- }, ue = () => /* @__PURE__ */ l(
364
+ }, xe = () => /* @__PURE__ */ l(
365
365
  "span",
366
366
  {
367
367
  className: `${t}-titles-baseline-strut`,
@@ -369,17 +369,17 @@ const Vi = ({
369
369
  "aria-hidden": "true",
370
370
  children: " "
371
371
  }
372
- ), je = () => /* @__PURE__ */ l(
372
+ ), Fe = () => /* @__PURE__ */ l(
373
373
  "span",
374
374
  {
375
375
  className: `${t}-entry-counter`,
376
- style: oi,
376
+ style: si,
377
377
  "aria-live": "polite",
378
378
  "aria-atomic": "true",
379
- children: Ji(d, y, M, D)
379
+ children: Vi(d, $, z, _)
380
380
  }
381
- ), Ti = () => et ? f && dt ? /* @__PURE__ */ a("div", { className: `${t}-text-bar-cell`, style: { flexShrink: 0 }, children: [
382
- je(),
381
+ ), Wi = () => tt ? f && dt ? /* @__PURE__ */ a("div", { className: `${t}-text-bar-cell`, style: { flexShrink: 0 }, children: [
382
+ Fe(),
383
383
  /* @__PURE__ */ l(
384
384
  "div",
385
385
  {
@@ -389,25 +389,25 @@ const Vi = ({
389
389
  style: {
390
390
  position: "absolute",
391
391
  top: 0,
392
- right: `calc(-0.5 * (${ye(Nt)} + ${Nt}))`,
393
- width: ye(Nt),
392
+ right: `calc(-0.5 * (${Se(Nt)} + ${Nt}))`,
393
+ width: Se(Nt),
394
394
  height: "100%",
395
395
  pointerEvents: "auto",
396
396
  zIndex: 3
397
397
  }
398
398
  }
399
399
  )
400
- ] }) : je() : null, me = () => !et && !dt ? null : /* @__PURE__ */ a(
400
+ ] }) : Fe() : null, ve = () => !tt && !dt ? null : /* @__PURE__ */ a(
401
401
  "div",
402
402
  {
403
403
  className: `${t}-titles-row-header-controls`,
404
- style: xi,
404
+ style: $i,
405
405
  children: [
406
- Ti(),
407
- dt ? Wi() : null
406
+ Wi(),
407
+ dt ? ki() : null
408
408
  ]
409
409
  }
410
- ), Si = () => /* @__PURE__ */ a(
410
+ ), Ni = () => /* @__PURE__ */ a(
411
411
  "div",
412
412
  {
413
413
  className: `${t}-titles-row ${t}-titles-row-header`,
@@ -416,33 +416,33 @@ const Vi = ({
416
416
  position: "relative"
417
417
  },
418
418
  children: [
419
- et || Bt ? ue() : null,
420
- se ? fe("single-row") : null,
421
- Fe(h),
419
+ tt || zt ? xe() : null,
420
+ he ? pe("single-row") : null,
421
+ De(h),
422
422
  /* @__PURE__ */ l("div", { style: { flex: 1, minWidth: 0 }, "aria-hidden": "true" }),
423
- me(),
424
- xe()
423
+ ve(),
424
+ ye()
425
425
  ]
426
426
  }
427
- ), Ii = () => /* @__PURE__ */ a(
427
+ ), Ri = () => /* @__PURE__ */ a(
428
428
  "div",
429
429
  {
430
430
  className: `${t}-titles-row ${t}-titles-row-header`,
431
431
  style: { width: "100%", position: "relative" },
432
432
  children: [
433
- et || Bt ? ue() : null,
434
- se ? fe("single-row") : null,
433
+ tt || zt ? xe() : null,
434
+ he ? pe("single-row") : null,
435
435
  /* @__PURE__ */ a(
436
436
  "div",
437
437
  {
438
438
  className: `${t}-titles-row-titles`,
439
- style: T && at ? { minHeight: at } : void 0,
439
+ style: S && at ? { minHeight: at } : void 0,
440
440
  children: [
441
441
  /* @__PURE__ */ l(
442
442
  "div",
443
443
  {
444
444
  ref: U,
445
- className: zt,
445
+ className: Bt,
446
446
  style: {
447
447
  position: "absolute",
448
448
  visibility: "hidden",
@@ -454,58 +454,58 @@ const Vi = ({
454
454
  height: "auto"
455
455
  },
456
456
  "aria-hidden": "true",
457
- children: Ot(Rt || h)
457
+ children: Ft(kt || h)
458
458
  }
459
459
  ),
460
460
  /* @__PURE__ */ a(
461
461
  "div",
462
462
  {
463
- ref: ne,
464
- className: zt,
463
+ ref: se,
464
+ className: Bt,
465
465
  style: {
466
- position: T ? "absolute" : "relative",
467
- inset: T ? 0 : void 0,
466
+ position: S ? "absolute" : "relative",
467
+ inset: S ? 0 : void 0,
468
468
  width: "100%",
469
- ...T && kt ? { width: kt, maxWidth: "100%" } : void 0
469
+ ...S && Rt ? { width: Rt, maxWidth: "100%" } : void 0
470
470
  },
471
471
  children: [
472
- m && T ? /* @__PURE__ */ l("div", { className: `${ze} ${t}-titles-fade-out`, children: Ot(m) }) : null,
473
- /* @__PURE__ */ l("div", { className: `${t}-titles-layer-in${T ? ` ${t}-titles-layer-in-fading ${t}-titles-fade-in` : ""}`, children: Ot(h) })
472
+ m && S ? /* @__PURE__ */ l("div", { className: `${je} ${t}-titles-fade-out`, children: Ft(m) }) : null,
473
+ /* @__PURE__ */ l("div", { className: `${t}-titles-layer-in${S ? ` ${t}-titles-layer-in-fading ${t}-titles-fade-in` : ""}`, children: Ft(h) })
474
474
  ]
475
475
  }
476
476
  )
477
477
  ]
478
478
  }
479
479
  ),
480
- me(),
481
- xe()
480
+ ve(),
481
+ ye()
482
482
  ]
483
483
  }
484
- ), Wi = () => /* @__PURE__ */ a(
484
+ ), ki = () => /* @__PURE__ */ a(
485
485
  "div",
486
486
  {
487
487
  className: `${t}-close-icon`,
488
488
  style: {
489
- width: we(J ?? 0, v),
490
- height: we(J ?? 0, v),
491
- marginRight: be,
492
- "--close-icon-hover-color": $e
489
+ width: be(y ?? 0, w),
490
+ height: be(y ?? 0, w),
491
+ marginRight: Ie,
492
+ "--close-icon-hover-color": G
493
493
  },
494
494
  children: [
495
495
  /* @__PURE__ */ l(
496
496
  "button",
497
497
  {
498
- ref: oe,
498
+ ref: ae,
499
499
  type: "button",
500
500
  className: `${t}-close-icon-inner`,
501
- onClick: Tt,
501
+ onClick: yt,
502
502
  "aria-label": "Close",
503
503
  children: /* @__PURE__ */ l(
504
- ji,
504
+ Fi,
505
505
  {
506
- url: j ?? "",
507
- fill: gt,
508
- hoverFill: v && !lt ? gt : $e,
506
+ url: It ?? "",
507
+ fill: O,
508
+ hoverFill: w && !ot ? O : G,
509
509
  className: `${t}-close-icon-img`
510
510
  }
511
511
  )
@@ -522,7 +522,7 @@ const Vi = ({
522
522
  position: "absolute",
523
523
  top: 0,
524
524
  left: "100%",
525
- width: be,
525
+ width: Ie,
526
526
  height: "100%",
527
527
  pointerEvents: "auto"
528
528
  }
@@ -530,13 +530,13 @@ const Vi = ({
530
530
  )
531
531
  ]
532
532
  }
533
- ), Ae = (e, i) => /* @__PURE__ */ a(
533
+ ), _e = (e, i) => /* @__PURE__ */ a(
534
534
  "div",
535
535
  {
536
536
  className: `${t}-titles-row-top`,
537
537
  children: [
538
- et || Bt ? ue() : null,
539
- se ? fe("two-row") : null,
538
+ tt || zt ? xe() : null,
539
+ he ? pe("two-row") : null,
540
540
  i !== void 0 ? /* @__PURE__ */ l(
541
541
  "div",
542
542
  {
@@ -553,40 +553,40 @@ const Vi = ({
553
553
  e,
554
554
  /* @__PURE__ */ l("div", { style: { flex: 1, minWidth: 0 }, "aria-hidden": "true" })
555
555
  ] }),
556
- me()
556
+ ve()
557
557
  ]
558
558
  }
559
- ), Fe = (e) => {
559
+ ), De = (e) => {
560
560
  if (!e) return null;
561
- const i = Gt(t, e, st, pt, xt);
562
- return /* @__PURE__ */ l(ft, { children: i.map((r) => he(
561
+ const i = Jt(t, e, st, mt, gt);
562
+ return /* @__PURE__ */ l(ft, { children: i.map((r) => ge(
563
563
  r,
564
564
  "single-row",
565
- de(i, r, "single-row")
565
+ me(i, r, "single-row")
566
566
  )) });
567
- }, ge = (e) => {
567
+ }, we = (e) => {
568
568
  if (!e) return null;
569
- const i = Gt(t, e, st, pt, xt), r = i.find((n) => n.prefix === "title1");
570
- return r ? he(
569
+ const i = Jt(t, e, st, mt, gt), r = i.find((n) => n.prefix === "title1");
570
+ return r ? ge(
571
571
  r,
572
572
  "two-row-top",
573
- de(i, r, "two-row-top")
573
+ me(i, r, "two-row-top")
574
574
  ) : null;
575
- }, pe = (e, i = !1) => {
576
- const r = e ? Gt(t, e, st, pt, xt) : [], n = r.filter((g) => g.prefix === "title2" || g.prefix === "title3"), o = f && i;
577
- return n.length > 0 || o || (rt ?? 0) > 0 ? /* @__PURE__ */ a("div", { className: `${t}-titles-row-bottom-wrap`, children: [
575
+ }, $e = (e, i = !1) => {
576
+ const r = e ? Jt(t, e, st, mt, gt) : [], n = r.filter((g) => g.prefix === "title2" || g.prefix === "title3"), o = f && i;
577
+ return n.length > 0 || o || (T ?? 0) > 0 ? /* @__PURE__ */ a("div", { className: `${t}-titles-row-bottom-wrap`, children: [
578
578
  n.length > 0 ? /* @__PURE__ */ a("div", { className: `${t}-titles-row-bottom`, children: [
579
- n.map((g) => he(
579
+ n.map((g) => ge(
580
580
  g,
581
581
  "two-row-bottom",
582
- de(r, g, "two-row-bottom")
582
+ me(r, g, "two-row-bottom")
583
583
  )),
584
584
  i && f ? /* @__PURE__ */ a(ft, { children: [
585
- Ri(),
586
- Ci()
585
+ Hi(),
586
+ Mi()
587
587
  ] }) : null
588
588
  ] }) : null,
589
- (rt ?? 0) > 0 || o ? /* @__PURE__ */ l(
589
+ (T ?? 0) > 0 || o ? /* @__PURE__ */ l(
590
590
  "div",
591
591
  {
592
592
  "data-controls": o ? "titleRowMarginBottom" : void 0,
@@ -594,7 +594,7 @@ const Vi = ({
594
594
  "data-controls-reverse": o ? "" : void 0,
595
595
  className: o ? `${t}-control` : void 0,
596
596
  style: {
597
- height: vi,
597
+ height: bi,
598
598
  width: "100%",
599
599
  flexShrink: 0,
600
600
  pointerEvents: o ? "auto" : "none"
@@ -602,12 +602,12 @@ const Vi = ({
602
602
  }
603
603
  ) : null
604
604
  ] }) : null;
605
- }, Ft = (e, i = !1) => /* @__PURE__ */ a(ft, { children: [
606
- Ae(ge(e)),
607
- pe(e, i)
608
- ] }), Ot = (e) => x ? /* @__PURE__ */ l("div", { className: `${t}-titles-row-two-row`, children: Ft(e) }) : e ? /* @__PURE__ */ l("div", { className: `${t}-titles-row`, style: { width: "100%" }, children: Fe(e) }) : null, Ni = () => {
609
- const e = x ? -1 : w.findIndex((n) => n.prefix === "title1"), i = !x && (f || (K ?? 0) > 0) ? (() => {
610
- const n = K ?? 0, o = e >= 0 ? F[e] : k.title1Width, c = Math.max(n, Xt);
605
+ }, At = (e, i = !1) => /* @__PURE__ */ a(ft, { children: [
606
+ _e(we(e)),
607
+ $e(e, i)
608
+ ] }), Ft = (e) => x ? /* @__PURE__ */ l("div", { className: `${t}-titles-row-two-row`, children: At(e) }) : e ? /* @__PURE__ */ l("div", { className: `${t}-titles-row`, style: { width: "100%" }, children: De(e) }) : null, Ci = () => {
609
+ const e = x ? -1 : v.findIndex((n) => n.prefix === "title1"), i = !x && (f || (R ?? 0) > 0) ? (() => {
610
+ const n = R ?? 0, o = e >= 0 ? A[e] : k.title1Width, c = Math.max(n, Vt);
611
611
  return /* @__PURE__ */ l(
612
612
  "div",
613
613
  {
@@ -626,21 +626,21 @@ const Vi = ({
626
626
  },
627
627
  "title1MarginLeft"
628
628
  );
629
- })() : null, r = w.flatMap((n, o) => {
629
+ })() : null, r = v.flatMap((n, o) => {
630
630
  if (!n.marginLeftKey) return [];
631
- const c = A[n.marginLeftKey] ?? 0, g = _i(
632
- w,
633
- F,
631
+ const c = j[n.marginLeftKey] ?? 0, g = Ui(
632
+ v,
634
633
  A,
634
+ j,
635
635
  o
636
- ) + $i(), s = Math.max(c, Xt);
636
+ ) + Si(), s = Math.max(c, Vt);
637
637
  return /* @__PURE__ */ l(
638
638
  "div",
639
639
  {
640
640
  "data-controls": n.marginLeftKey,
641
641
  "data-controls-axis": "x",
642
642
  "data-controls-min": "0",
643
- "data-controls-max-fraction": String(F[o]),
643
+ "data-controls-max-fraction": String(A[o]),
644
644
  style: {
645
645
  position: "absolute",
646
646
  top: 0,
@@ -654,8 +654,8 @@ const Vi = ({
654
654
  );
655
655
  });
656
656
  return i ? [i, ...r] : r;
657
- }, ki = () => w.map((e, i) => {
658
- const r = nt(i, F), o = yi(i) - ht / 2;
657
+ }, Li = () => v.map((e, i) => {
658
+ const r = it(i, A), o = Ti(i) - ht / 2;
659
659
  return /* @__PURE__ */ l("div", { style: { position: "absolute", inset: 0, pointerEvents: "none" }, children: /* @__PURE__ */ l(
660
660
  "div",
661
661
  {
@@ -674,9 +674,9 @@ const Vi = ({
674
674
  }
675
675
  }
676
676
  ) }, `${e.widthKey}-junction`);
677
- }), Ri = () => O.flatMap((e, i) => {
677
+ }), Hi = () => F.flatMap((e, i) => {
678
678
  if (!e.marginLeftKey) return [];
679
- const r = A[e.marginLeftKey] ?? 0, n = ce(i), o = Math.max(r, Xt), { resolvedWidth: c } = ae(e, "two-row-bottom");
679
+ const r = j[e.marginLeftKey] ?? 0, n = ue(i), o = Math.max(r, Vt), { resolvedWidth: c } = fe(e, "two-row-bottom");
680
680
  return /* @__PURE__ */ l(
681
681
  "div",
682
682
  {
@@ -695,8 +695,8 @@ const Vi = ({
695
695
  },
696
696
  e.marginLeftKey
697
697
  );
698
- }), Ci = () => O.map((e, i) => {
699
- const { maxWidth: r } = ae(e, "two-row-bottom"), o = bi(i) - ht / 2;
698
+ }), Mi = () => F.map((e, i) => {
699
+ const { maxWidth: r } = fe(e, "two-row-bottom"), o = Ii(i) - ht / 2;
700
700
  return /* @__PURE__ */ l("div", { style: { position: "absolute", inset: 0, pointerEvents: "none" }, children: /* @__PURE__ */ l(
701
701
  "div",
702
702
  {
@@ -715,39 +715,39 @@ const Vi = ({
715
715
  }
716
716
  }
717
717
  ) }, `${e.widthKey}-junction`);
718
- }), xe = () => !f || x ? null : /* @__PURE__ */ a(ft, { children: [
719
- Ni(),
720
- ki()
721
- ] }), Oe = (e) => {
722
- const i = !e.objectFit && It(ut);
718
+ }), ye = () => !f || x ? null : /* @__PURE__ */ a(ft, { children: [
719
+ Ci(),
720
+ Li()
721
+ ] }), Ge = (e) => {
722
+ const i = !e.objectFit && Tt(lt);
723
723
  return {
724
724
  className: `${t}-slide-image-cell${i ? ` ${t}-slide-image-cell-cover` : ""}`,
725
725
  style: {
726
- maxWidth: ei,
727
- maxHeight: ii,
728
- ...i ? { "--image-aspect-ratio": Qe(ut) } : {}
726
+ maxWidth: oi,
727
+ maxHeight: li,
728
+ ...i ? { "--image-aspect-ratio": ti(lt) } : {}
729
729
  }
730
730
  };
731
- }, De = (e) => e.objectFit ? {
731
+ }, Je = (e) => e.objectFit ? {
732
732
  className: `${t}-slide-image ${t}-slide-image-custom`,
733
733
  style: { "--image-object-fit": e.objectFit }
734
- } : It(ut) ? { className: `${t}-slide-image ${t}-slide-image-cover` } : { className: `${t}-slide-image ${t}-slide-image-fit` }, _e = (e) => {
734
+ } : Tt(lt) ? { className: `${t}-slide-image ${t}-slide-image-cover` } : { className: `${t}-slide-image ${t}-slide-image-fit` }, Ue = (e) => {
735
735
  if (e.length === 0) return null;
736
- const i = e.length > 1, r = ye(Qt), n = `calc(-0.5 * (${r} + ${Qt}))`;
736
+ const i = e.length > 1, r = Se(ee), n = `calc(-0.5 * (${r} + ${ee}))`;
737
737
  if (e.length === 1) {
738
738
  const o = e[0];
739
- return /* @__PURE__ */ l("div", { ...Oe(o), children: /* @__PURE__ */ l("img", { ...De(o), src: o.assetId, alt: o.name ?? "", draggable: !1 }) });
739
+ return /* @__PURE__ */ l("div", { ...Ge(o), children: /* @__PURE__ */ l("img", { ...Je(o), src: o.assetId, alt: o.name ?? "", draggable: !1 }) });
740
740
  }
741
741
  return /* @__PURE__ */ l(
742
742
  "div",
743
743
  {
744
744
  className: `${t}-slide-inner`,
745
- style: i ? { gap: Qt } : void 0,
746
- children: e.map((o, c) => /* @__PURE__ */ a("div", { ...Oe(o), children: [
745
+ style: i ? { gap: ee } : void 0,
746
+ children: e.map((o, c) => /* @__PURE__ */ a("div", { ...Ge(o), children: [
747
747
  /* @__PURE__ */ l(
748
748
  "img",
749
749
  {
750
- ...De(o),
750
+ ...Je(o),
751
751
  src: o.assetId,
752
752
  alt: o.name ?? "",
753
753
  draggable: !1
@@ -772,7 +772,7 @@ const Vi = ({
772
772
  ] }, `${o.assetId}-${c}`))
773
773
  }
774
774
  );
775
- }, Je = !!(h != null && h.title2 || h != null && h.title3 || m != null && m.title2 || m != null && m.title3 || (rt ?? 0) > 0 || f), Li = () => /* @__PURE__ */ a(
775
+ }, Ve = !!(h != null && h.title2 || h != null && h.title3 || m != null && m.title2 || m != null && m.title3 || (T ?? 0) > 0 || f), zi = () => /* @__PURE__ */ a(
776
776
  "div",
777
777
  {
778
778
  style: {
@@ -790,7 +790,7 @@ const Vi = ({
790
790
  "div",
791
791
  {
792
792
  ref: U,
793
- className: zt,
793
+ className: Bt,
794
794
  style: {
795
795
  position: "absolute",
796
796
  visibility: "hidden",
@@ -802,50 +802,50 @@ const Vi = ({
802
802
  height: "auto"
803
803
  },
804
804
  "aria-hidden": "true",
805
- children: Ft(Rt || h)
805
+ children: At(kt || h)
806
806
  }
807
807
  ),
808
808
  /* @__PURE__ */ a(
809
809
  "div",
810
810
  {
811
- ref: ne,
811
+ ref: se,
812
812
  className: `${t}-titles-row-two-row`,
813
813
  style: {
814
- ...T && at ? { minHeight: at } : void 0,
815
- ...T && kt ? { width: kt, maxWidth: "100%" } : void 0
814
+ ...S && at ? { minHeight: at } : void 0,
815
+ ...S && Rt ? { width: Rt, maxWidth: "100%" } : void 0
816
816
  },
817
817
  children: [
818
- Ae(
818
+ _e(
819
819
  /* @__PURE__ */ a(
820
820
  "div",
821
821
  {
822
- className: zt,
822
+ className: Bt,
823
823
  style: {
824
- position: T ? "absolute" : "relative",
825
- inset: T ? 0 : void 0,
824
+ position: S ? "absolute" : "relative",
825
+ inset: S ? 0 : void 0,
826
826
  width: "100%"
827
827
  },
828
828
  children: [
829
- m && T ? /* @__PURE__ */ l("div", { className: `${wi} ${t}-titles-fade-out`, children: ge(m) }) : null,
829
+ m && S ? /* @__PURE__ */ l("div", { className: `${yi} ${t}-titles-fade-out`, children: we(m) }) : null,
830
830
  /* @__PURE__ */ l(
831
831
  "div",
832
832
  {
833
- className: `${t}-titles-layer-in${T ? ` ${t}-titles-layer-in-fading ${t}-titles-fade-in` : ""}`,
834
- children: ge(h)
833
+ className: `${t}-titles-layer-in${S ? ` ${t}-titles-layer-in-fading ${t}-titles-fade-in` : ""}`,
834
+ children: we(h)
835
835
  }
836
836
  )
837
837
  ]
838
838
  }
839
839
  ),
840
- T && at ? at : void 0
840
+ S && at ? at : void 0
841
841
  ),
842
- Je ? /* @__PURE__ */ a("div", { className: `${t}-titles-row-bottom-area`, children: [
843
- m && T ? /* @__PURE__ */ l("div", { className: `${ze} ${t}-titles-layer-out-bottom ${t}-titles-fade-out`, children: pe(m) }) : null,
842
+ Ve ? /* @__PURE__ */ a("div", { className: `${t}-titles-row-bottom-area`, children: [
843
+ m && S ? /* @__PURE__ */ l("div", { className: `${je} ${t}-titles-layer-out-bottom ${t}-titles-fade-out`, children: $e(m) }) : null,
844
844
  /* @__PURE__ */ l(
845
845
  "div",
846
846
  {
847
- className: `${t}-titles-layer-in${T ? ` ${t}-titles-layer-in-fading ${t}-titles-fade-in` : ""}${x ? ` ${t}-titles-layer-in-stacked` : ""}`,
848
- children: pe(h, !0)
847
+ className: `${t}-titles-layer-in${S ? ` ${t}-titles-layer-in-fading ${t}-titles-fade-in` : ""}${x ? ` ${t}-titles-layer-in-stacked` : ""}`,
848
+ children: $e(h, !0)
849
849
  }
850
850
  )
851
851
  ] }) : null
@@ -854,8 +854,8 @@ const Vi = ({
854
854
  )
855
855
  ]
856
856
  }
857
- ), Hi = () => {
858
- const e = Je;
857
+ ), Bi = () => {
858
+ const e = Ve;
859
859
  return /* @__PURE__ */ a(
860
860
  "div",
861
861
  {
@@ -874,10 +874,10 @@ const Vi = ({
874
874
  {
875
875
  className: `${t}-titles-row-two-row`,
876
876
  style: e ? void 0 : { flex: "0 0 auto", height: "auto" },
877
- children: Ft(h, !0)
877
+ children: At(h, !0)
878
878
  }
879
879
  ),
880
- xe()
880
+ ye()
881
881
  ]
882
882
  }
883
883
  );
@@ -885,76 +885,76 @@ const Vi = ({
885
885
  return /* @__PURE__ */ a(
886
886
  "div",
887
887
  {
888
- ref: X,
888
+ ref: V,
889
889
  "data-selection": "none",
890
- className: `${t}-lightbox${v ? ` ${t}-lightbox-editor` : ""}${f ? ` ${t}-lightbox-edit-mode` : ""}`,
890
+ className: `${t}-lightbox${w ? ` ${t}-lightbox-editor` : ""}${f ? ` ${t}-lightbox-edit-mode` : ""}`,
891
891
  onClick: () => {
892
- le || Tt();
892
+ ce || yt();
893
893
  },
894
894
  role: "dialog",
895
895
  "aria-modal": "true",
896
896
  "aria-label": "Journal gallery",
897
897
  tabIndex: dt ? void 0 : -1,
898
898
  style: {
899
- opacity: Te ? 1 : 0,
899
+ opacity: We ? 1 : 0,
900
900
  transition: "opacity 300ms ease",
901
- pointerEvents: Te ? "auto" : "none"
901
+ pointerEvents: We ? "auto" : "none"
902
902
  },
903
903
  children: [
904
- /* @__PURE__ */ l("div", { className: `${t}-lightbox-backdrop`, style: { backgroundColor: Yt, ...ai } }),
904
+ /* @__PURE__ */ l("div", { className: `${t}-lightbox-backdrop`, style: { backgroundColor: qt, ...hi } }),
905
905
  /* @__PURE__ */ a(
906
906
  "div",
907
907
  {
908
908
  className: `${t}-lightbox-dismiss-area`,
909
- style: fi,
910
- ...hi,
909
+ style: gi,
910
+ ...mi,
911
911
  children: [
912
912
  /* @__PURE__ */ l(
913
913
  "div",
914
914
  {
915
915
  className: `${t}-lightbox-content`,
916
- style: ci,
916
+ style: fi,
917
917
  onClick: (e) => e.stopPropagation(),
918
918
  children: /* @__PURE__ */ l(
919
919
  "div",
920
920
  {
921
921
  className: `${t}-lightbox-strip`,
922
- "data-desktop-nav": G && d.length > 1 ? "true" : "false",
923
- onPointerDown: G ? ui : void 0,
924
- onPointerUp: G ? mi : void 0,
925
- onPointerCancel: G ? gi : void 0,
922
+ "data-desktop-nav": J && d.length > 1 ? "true" : "false",
923
+ onPointerDown: J ? pi : void 0,
924
+ onPointerUp: J ? xi : void 0,
925
+ onPointerCancel: J ? vi : void 0,
926
926
  children: /* @__PURE__ */ a("div", { className: `${t}-slide-stack`, children: [
927
- Be && Ne ? /* @__PURE__ */ l(
927
+ Oe && Ce ? /* @__PURE__ */ l(
928
928
  "div",
929
929
  {
930
930
  className: `${t}-slide-layer-out ${t}-slide-fade-out`,
931
931
  onAnimationEnd: (e) => {
932
- e.target === e.currentTarget && ri(ee);
932
+ e.target === e.currentTarget && ci(le);
933
933
  },
934
- children: /* @__PURE__ */ l("div", { className: `${t}-slide-area`, children: _e(Be.images) })
934
+ children: /* @__PURE__ */ l("div", { className: `${t}-slide-area`, children: Ue(Oe.images) })
935
935
  },
936
- `slide-out-${ee}`
936
+ `slide-out-${le}`
937
937
  ) : null,
938
938
  /* @__PURE__ */ l(
939
939
  "div",
940
940
  {
941
- className: `${t}-slide-layer-in${Ne ? ` ${t}-slide-fade-in` : ""}`,
942
- children: /* @__PURE__ */ l("div", { className: `${t}-slide-area`, children: wt ? _e(wt.images) : null })
941
+ className: `${t}-slide-layer-in${Ce ? ` ${t}-slide-fade-in` : ""}`,
942
+ children: /* @__PURE__ */ l("div", { className: `${t}-slide-area`, children: pt ? Ue(pt.images) : null })
943
943
  },
944
- `slide-in-${ee}-${y}`
944
+ `slide-in-${le}-${$}`
945
945
  )
946
946
  ] })
947
947
  }
948
948
  )
949
949
  }
950
950
  ),
951
- /* @__PURE__ */ a("div", { className: `${t}-lightbox-overlay-content`, style: di, children: [
951
+ /* @__PURE__ */ a("div", { className: `${t}-lightbox-overlay-content`, style: ui, children: [
952
952
  /* @__PURE__ */ l(
953
953
  "div",
954
954
  {
955
955
  "data-controls": f ? "contentMarginTop" : void 0,
956
956
  className: f ? `${t}-control` : void 0,
957
- style: { height: ni, width: "100%" }
957
+ style: { height: ri, width: "100%" }
958
958
  }
959
959
  ),
960
960
  /* @__PURE__ */ l("div", { style: {
@@ -962,12 +962,12 @@ const Vi = ({
962
962
  flexDirection: "row",
963
963
  width: "100%",
964
964
  ...x ? { flex: 1, minHeight: 0 } : {}
965
- }, children: /* @__PURE__ */ l("div", { className: `${t}-lightbox-content-area${x ? ` ${t}-lightbox-content-area-stacked` : ""}`, children: pi && /* @__PURE__ */ l(
965
+ }, children: /* @__PURE__ */ l("div", { className: `${t}-lightbox-content-area${x ? ` ${t}-lightbox-content-area-stacked` : ""}`, children: wi && /* @__PURE__ */ l(
966
966
  "div",
967
967
  {
968
968
  className: `${t}-text-bar-cell${x ? ` ${t}-text-bar-cell-stacked` : ""}`,
969
969
  style: x ? void 0 : { flex: 1, minWidth: 0, width: "100%" },
970
- children: x ? _ === "fade" ? Li() : Hi() : _ === "fade" ? Ii() : Si()
970
+ children: x ? D === "fade" ? zi() : Bi() : D === "fade" ? Ri() : Ni()
971
971
  }
972
972
  ) }) })
973
973
  ] })
@@ -977,8 +977,8 @@ const Vi = ({
977
977
  ]
978
978
  }
979
979
  );
980
- };
981
- function Yi(t) {
980
+ }, Xt = 400, Yt = "cubic-bezier(0.25, 0.1, 0.25, 1)", ii = 1.1, Zi = `${((1 - 1 / ii) / 2 * 100).toFixed(4)}%`;
981
+ function Qi(t) {
982
982
  return `
983
983
  .${t}-wrapper {
984
984
  position: relative;
@@ -1024,6 +1024,32 @@ function Yi(t) {
1024
1024
  max-width: 100%;
1025
1025
  }
1026
1026
 
1027
+ .${t}-hover-zoom-in .${t}-cover-image {
1028
+ clip-path: inset(0);
1029
+ transition: transform ${Xt}ms ${Yt}, clip-path ${Xt}ms ${Yt};
1030
+ }
1031
+
1032
+ .${t}-hover-scale-down .${t}-cover-image {
1033
+ transition: transform ${Xt}ms ${Yt};
1034
+ }
1035
+
1036
+ .${t}-hover-greyscale .${t}-cover-image {
1037
+ transition: filter ${Xt}ms ${Yt};
1038
+ }
1039
+
1040
+ @media (hover: hover) {
1041
+ .${t}-hover-zoom-in .${t}-cover:hover .${t}-cover-image {
1042
+ transform: scale(${ii});
1043
+ clip-path: inset(${Zi});
1044
+ }
1045
+ .${t}-hover-scale-down .${t}-cover:hover .${t}-cover-image {
1046
+ transform: scale(0.9);
1047
+ }
1048
+ .${t}-hover-greyscale .${t}-cover:hover .${t}-cover-image {
1049
+ filter: grayscale(1);
1050
+ }
1051
+ }
1052
+
1027
1053
  .${t}-lightbox {
1028
1054
  position: fixed;
1029
1055
  inset: 0;
@@ -1503,111 +1529,111 @@ function Yi(t) {
1503
1529
  }
1504
1530
  `;
1505
1531
  }
1506
- const ln = ({ settings: t, content: D, isEditor: W, isEditMode: v, isPreviewMode: f, portalId: lt, metadata: Y }) => {
1507
- const { prefix: N } = zi(), H = (Y == null ? void 0 : Y.itemId) ?? null, { cover: q, coverFit: Z, type: M } = t, ut = $(null), [Yt, z] = L(!1), [qt, mt] = L(0), _ = $(!1), Q = $(!1), E = $(!1), B = C(
1508
- () => (D ?? []).filter((b) => Gi(b).length > 0),
1509
- [D]
1510
- ), K = Yt && B.length > 0, I = !W, Wt = p(() => {
1511
- I && (E.current = !0, Ui(Q.current, H), Q.current = !1);
1512
- }, [I, H]), rt = (b = 0) => {
1513
- if (B.length === 0 || W && !v && !f) return;
1514
- const j = Vt(B, M), J = Math.max(0, Math.min(b, j.length - 1));
1515
- if (mt(J), I) {
1516
- const gt = Xi();
1517
- Ee(J + 1, H, gt), Q.current = !gt;
1532
+ const cn = ({ settings: t, content: _, isEditor: W, isEditMode: w, isPreviewMode: f, portalId: ot, metadata: Y }) => {
1533
+ const { prefix: N } = ji(), M = (Y == null ? void 0 : Y.itemId) ?? null, { cover: E, coverFit: q, type: z, hover: lt = "none" } = t, qt = lt !== "none" && (!W || f) ? ` ${N}-hover-${lt}` : "", Zt = b(null), [Qt, K] = H(!1), [D, rt] = H(0), ut = b(!1), Z = b(!1), R = b(!1), B = L(
1534
+ () => (_ ?? []).filter((y) => Xi(y).length > 0),
1535
+ [_]
1536
+ ), St = Qt && B.length > 0, T = !W, Pt = p(() => {
1537
+ T && (R.current = !0, Yi(Z.current, M), Z.current = !1);
1538
+ }, [T, M]), te = (y = 0) => {
1539
+ if (B.length === 0 || W && !w && !f) return;
1540
+ const O = Et(B, z), G = Math.max(0, Math.min(y, O.length - 1));
1541
+ if (rt(G), T) {
1542
+ const Wt = Ei();
1543
+ ei(G + 1, M, Wt), Z.current = !Wt;
1518
1544
  }
1519
- z(!0);
1520
- }, Zt = p(() => {
1521
- z(!1), E.current = !1;
1545
+ K(!0);
1546
+ }, It = p(() => {
1547
+ K(!1), R.current = !1;
1522
1548
  }, []);
1523
- return ot(() => {
1524
- !W || v || f || z(!1);
1525
- }, [W, v, f]), ot(() => {
1526
- if (!I || typeof window > "u") return;
1527
- const b = window.history.scrollRestoration;
1549
+ return nt(() => {
1550
+ !W || w || f || K(!1);
1551
+ }, [W, w, f]), nt(() => {
1552
+ if (!T || typeof window > "u") return;
1553
+ const y = window.history.scrollRestoration;
1528
1554
  return window.history.scrollRestoration = "manual", () => {
1529
- window.history.scrollRestoration = b;
1555
+ window.history.scrollRestoration = y;
1530
1556
  };
1531
- }, [I]), ot(() => {
1532
- if (!I || _.current) return;
1533
- _.current = !0;
1534
- const b = qe(H);
1535
- if (!b) return;
1536
- const j = Ze(b, Vt(B, M).length);
1537
- j < 0 || (mt(j), z(!0));
1538
- }, [B, H, I, M]), ot(() => {
1539
- if (!I) return;
1540
- const b = () => {
1541
- if (E.current) {
1542
- E.current = !1, z(!1);
1557
+ }, [T]), nt(() => {
1558
+ if (!T || ut.current) return;
1559
+ ut.current = !0;
1560
+ const y = Qe(M);
1561
+ if (!y) return;
1562
+ const O = Pe(y, Et(B, z).length);
1563
+ O < 0 || (rt(O), K(!0));
1564
+ }, [B, M, T, z]), nt(() => {
1565
+ if (!T) return;
1566
+ const y = () => {
1567
+ if (R.current) {
1568
+ R.current = !1, K(!1);
1543
1569
  return;
1544
1570
  }
1545
- const j = qe(H);
1546
- if (!j) {
1547
- z(!1);
1571
+ const O = Qe(M);
1572
+ if (!O) {
1573
+ K(!1);
1548
1574
  return;
1549
1575
  }
1550
- const J = Ze(j, Vt(B, M).length);
1551
- if (J < 0) {
1552
- z(!1);
1576
+ const G = Pe(O, Et(B, z).length);
1577
+ if (G < 0) {
1578
+ K(!1);
1553
1579
  return;
1554
1580
  }
1555
- Q.current = !1, mt(J), z(!0);
1581
+ Z.current = !1, rt(G), K(!0);
1556
1582
  };
1557
- return window.addEventListener("popstate", b), () => window.removeEventListener("popstate", b);
1558
- }, [B, H, I, M]), /* @__PURE__ */ a(ft, { children: [
1559
- /* @__PURE__ */ a("div", { ref: ut, className: `${N}-wrapper`, children: [
1560
- /* @__PURE__ */ l("style", { dangerouslySetInnerHTML: { __html: Yi(N) } }),
1561
- q ? /* @__PURE__ */ l(
1583
+ return window.addEventListener("popstate", y), () => window.removeEventListener("popstate", y);
1584
+ }, [B, M, T, z]), /* @__PURE__ */ a(ft, { children: [
1585
+ /* @__PURE__ */ a("div", { ref: Zt, className: `${N}-wrapper${qt}`, children: [
1586
+ /* @__PURE__ */ l("style", { dangerouslySetInnerHTML: { __html: Qi(N) } }),
1587
+ E ? /* @__PURE__ */ l(
1562
1588
  "button",
1563
1589
  {
1564
1590
  type: "button",
1565
- className: `${N}-cover ${It(Z) ? `${N}-ratio-wrapper-cover` : `${N}-ratio-wrapper-fit`}`,
1566
- onClick: () => rt(),
1591
+ className: `${N}-cover ${Tt(q) ? `${N}-ratio-wrapper-cover` : `${N}-ratio-wrapper-fit`}`,
1592
+ onClick: () => te(),
1567
1593
  style: {
1568
1594
  display: "block",
1569
1595
  padding: 0,
1570
1596
  border: "none",
1571
1597
  background: "transparent",
1572
- pointerEvents: W && !v && !f ? "none" : void 0,
1573
- ...It(Z) ? { "--image-aspect-ratio": Qe(Z) } : {}
1598
+ pointerEvents: W && !w && !f ? "none" : void 0,
1599
+ ...Tt(q) ? { "--image-aspect-ratio": ti(q) } : {}
1574
1600
  },
1575
1601
  "aria-label": "Open journal gallery",
1576
1602
  children: /* @__PURE__ */ l(
1577
1603
  "img",
1578
1604
  {
1579
- className: `${N}-cover-image ${It(Z) ? `${N}-cover-image-cover` : `${N}-cover-image-fit`}`,
1580
- src: q,
1605
+ className: `${N}-cover-image ${Tt(q) ? `${N}-cover-image-cover` : `${N}-cover-image-fit`}`,
1606
+ src: E,
1581
1607
  alt: "cover"
1582
1608
  }
1583
1609
  )
1584
1610
  }
1585
1611
  ) : null
1586
1612
  ] }),
1587
- K && typeof document < "u" && (() => {
1588
- const b = (lt ? document.getElementById(lt) : null) ?? document.body;
1589
- return Bi(
1613
+ St && typeof document < "u" && (() => {
1614
+ const y = (ot ? document.getElementById(ot) : null) ?? document.body;
1615
+ return Oi(
1590
1616
  /* @__PURE__ */ l(
1591
- Vi,
1617
+ qi,
1592
1618
  {
1593
1619
  prefix: N,
1594
1620
  entries: B,
1595
1621
  settings: t,
1596
1622
  isEditor: W,
1597
- isEditMode: v,
1623
+ isEditMode: w,
1598
1624
  isPreviewMode: f,
1599
- initialSlideIndex: qt,
1600
- enableUrlSync: I,
1601
- journalItemId: H,
1602
- onBeforeClose: Wt,
1603
- onClose: Zt
1625
+ initialSlideIndex: D,
1626
+ enableUrlSync: T,
1627
+ journalItemId: M,
1628
+ onBeforeClose: Pt,
1629
+ onClose: It
1604
1630
  }
1605
1631
  ),
1606
- b
1632
+ y
1607
1633
  );
1608
1634
  })()
1609
1635
  ] });
1610
1636
  };
1611
1637
  export {
1612
- ln as LightboxJournal
1638
+ cn as LightboxJournal
1613
1639
  };