@museumwnf/viewer-layout 3.10.0 → 3.11.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.
@@ -1,4 +1,5 @@
1
- import { a as e, c as t, d as n, i as r, n as ee, o as te, r as ne, s as re, t as ie } from "./GlossaryPopover-DcptyNWI.js";
1
+ import { a as e, i as t, n, o as r, r as ee, s as te, t as ne, u as re } from "./MediaGallery-CHhf9xUZ.js";
2
+ import { t as ie } from "./GlossaryPopover-B7E6BsjS.js";
2
3
  import { Fragment as ae, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createSlots as oe, createTextVNode as se, createVNode as l, guardReactiveProps as u, normalizeClass as ce, normalizeProps as d, openBlock as f, renderList as p, renderSlot as m, toDisplayString as h, unref as g, useSlots as _, withCtx as v } from "vue";
3
4
  import { NotFoundView as le, byId as ue, citation as de, creditLine as fe, entityRef as pe, languageLabels as me, pictureCredits as he, picturesInLanguage as ge, renderBlock as y, renderInline as b, renderPlain as x, sheetRows as S, sourceUrl as _e, useDataPackage as ve, useGlossaryPopup as ye, useI18n as be, useProjects as xe, useRecordSheet as Se, useRelatedRecords as Ce } from "@museumwnf/viewer-core";
4
5
  import { useRoute as we } from "vue-router";
@@ -159,7 +160,7 @@ var Te = ["dir", "innerHTML"], Ee = { class: "mwnf-record__body" }, De = { class
159
160
  onClick: _[0] ||= (...e) => g(U) && g(U)(...e)
160
161
  }, [
161
162
  m(i.$slots, "header", d(u(G.value)), () => [
162
- M.value.back ? (f(), a(n, {
163
+ M.value.back ? (f(), a(re, {
163
164
  key: 0,
164
165
  class: "mwnf-record__back",
165
166
  to: M.value.back.to,
@@ -168,7 +169,7 @@ var Te = ["dir", "innerHTML"], Ee = { class: "mwnf-record__body" }, De = { class
168
169
  default: v(() => [se("← " + h(g(k)(M.value.back.label)), 1)]),
169
170
  _: 1
170
171
  }, 8, ["to", "href"])) : o("", !0),
171
- l(t, {
172
+ l(te, {
172
173
  languages: V.value,
173
174
  language: g(P),
174
175
  onSelect: g(I)
@@ -184,14 +185,14 @@ var Te = ["dir", "innerHTML"], Ee = { class: "mwnf-record__body" }, De = { class
184
185
  }, null, 8, Te)
185
186
  ]),
186
187
  c("div", Ee, [c("div", De, [
187
- J.value.length ? (f(), a(ee, {
188
+ J.value.length ? (f(), a(ne, {
188
189
  key: 0,
189
190
  images: J.value,
190
191
  variant: M.value.mediaVariant ?? ""
191
192
  }, null, 8, ["images", "variant"])) : o("", !0),
192
193
  g(R) ? o("", !0) : (f(), s("p", w, h(g(k)("core.status.loading")), 1)),
193
194
  m(i.$slots, "before-sheet", d(u(G.value))),
194
- l(re, {
195
+ l(r, {
195
196
  rows: Be.value,
196
197
  layout: M.value.layout ?? "table",
197
198
  dir: g(F),
@@ -210,10 +211,10 @@ var Te = ["dir", "innerHTML"], Ee = { class: "mwnf-record__body" }, De = { class
210
211
  "short-description",
211
212
  "short-description-after"
212
213
  ]),
213
- (f(!0), s(ae, null, p(Ve.value, (e) => (f(), a(te, {
214
- key: e.key,
215
- heading: e.label,
216
- html: e.html,
214
+ (f(!0), s(ae, null, p(Ve.value, (t) => (f(), a(e, {
215
+ key: t.key,
216
+ heading: t.label,
217
+ html: t.html,
217
218
  dir: g(F)
218
219
  }, null, 8, [
219
220
  "heading",
@@ -221,7 +222,7 @@ var Te = ["dir", "innerHTML"], Ee = { class: "mwnf-record__body" }, De = { class
221
222
  "dir"
222
223
  ]))), 128)),
223
224
  m(i.$slots, "after-sheet", d(u(G.value))),
224
- l(e, {
225
+ l(t, {
225
226
  credits: Ke.value,
226
227
  "working-number": qe.value,
227
228
  "working-number-label": g(k)("sheet.field.workingNumber"),
@@ -234,12 +235,12 @@ var Te = ["dir", "innerHTML"], Ee = { class: "mwnf-record__body" }, De = { class
234
235
  "citation",
235
236
  "citation-heading"
236
237
  ]),
237
- m(i.$slots, "source", d(u(G.value)), () => [l(r)]),
238
+ m(i.$slots, "source", d(u(G.value)), () => [l(ee)]),
238
239
  m(i.$slots, "related", d(u({
239
240
  ...G.value,
240
241
  records: $.value,
241
242
  outside: g(Z).outside
242
- })), () => [Q.value ? (f(), a(ne, {
243
+ })), () => [Q.value ? (f(), a(n, {
243
244
  key: 0,
244
245
  heading: g(k)(Q.value.heading ?? "record.related.items"),
245
246
  records: $.value,
@@ -1,4 +1,5 @@
1
- import { a as e, r as t } from "./chrome-Co3f_Shw.js";
1
+ import { t as e } from "./PageShell-BT9SnXav.js";
2
+ import { r as t } from "./chrome-DNsZQXrL.js";
2
3
  import { computed as n, createBlock as r, createSlots as i, mergeProps as a, openBlock as o, renderSlot as s, useAttrs as c, withCtx as l } from "vue";
3
4
  import { mwnfLinks as u, useI18n as d, useSection as f, useSiteConfig as p, useSiteRights as m } from "@museumwnf/viewer-core";
4
5
  import { useRouter as h } from "vue-router";
@@ -1,7 +1,7 @@
1
- import { d as e, i as t } from "./GlossaryPopover-DcptyNWI.js";
2
- import { o as n } from "./TimelineResultsView-C2-TnM71.js";
3
- import { A as r, F as i, h as a, m as o } from "./data-d30zAska.js";
4
- import { n as s, r as c, t as l } from "./themeSpecs-CXVCN8UV.js";
1
+ import { r as e, u as t } from "./MediaGallery-CHhf9xUZ.js";
2
+ import { o as n } from "./TimelineResultsView-xA0Wu7zv.js";
3
+ import { A as r, F as i, h as a, m as o } from "./data-BINc9QjV.js";
4
+ import { n as s, r as c, t as l } from "./themeSpecs-DP9xWiVJ.js";
5
5
  import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createTextVNode as g, createVNode as _, normalizeClass as v, onMounted as ee, openBlock as y, ref as b, renderList as x, toDisplayString as S, unref as C, vModelCheckbox as w, watch as T, withCtx as E, withDirectives as D } from "vue";
6
6
  import { renderBlock as O, useI18n as k } from "@museumwnf/viewer-core";
7
7
  import { RouterLink as A, useRoute as te, useRouter as ne } from "vue-router";
@@ -67,8 +67,8 @@ var j = Object.defineProperty, M = (e, t) => {
67
67
  }
68
68
  },
69
69
  emits: ["update:selectedId"],
70
- setup(t, { emit: n }) {
71
- let r = t, i = n, { t: a } = k(), o = d(() => r.pictures.find((e) => e.id === r.selectedId) ?? null), s = d(() => r.pictures.some((e) => e.backRelated?.length)), c = b(!1);
70
+ setup(e, { emit: n }) {
71
+ let r = e, i = n, { t: a } = k(), o = d(() => r.pictures.find((e) => e.id === r.selectedId) ?? null), s = d(() => r.pictures.some((e) => e.backRelated?.length)), c = b(!1);
72
72
  T(() => r.pictures, () => {
73
73
  c.value = !1;
74
74
  });
@@ -86,38 +86,38 @@ var j = Object.defineProperty, M = (e, t) => {
86
86
  class: "mwnf-picture-gallery__detail"
87
87
  }, [e.label ? (y(), m("span", B, S(e.label), 1)) : p("", !0), h("span", { innerHTML: e.value }, null, 8, V)]))), 128)),
88
88
  o.value.detail ? (y(), m("div", H, S(o.value.detail), 1)) : p("", !0),
89
- o.value.to ? (y(), f(e, {
89
+ o.value.to ? (y(), f(t, {
90
90
  key: 1,
91
91
  class: "mwnf-picture-gallery__link",
92
92
  to: o.value.to
93
93
  }, {
94
- default: E(() => [g(S(C(a)(t.seeItemEntry)) + " →", 1)]),
94
+ default: E(() => [g(S(C(a)(e.seeItemEntry)) + " →", 1)]),
95
95
  _: 1
96
- }, 8, ["to"])) : (y(), m("div", U, S(C(a)(t.unresolvedEntry)), 1))
97
- ])])) : (y(), m("div", W, S(C(a)(t.emptyEntry)), 1)), t.pictures.length ? (y(), m("div", G, [h("ul", K, [(y(!0), m(u, null, x(l.value, (e) => (y(), m("li", {
98
- key: e.id,
96
+ }, 8, ["to"])) : (y(), m("div", U, S(C(a)(e.unresolvedEntry)), 1))
97
+ ])])) : (y(), m("div", W, S(C(a)(e.emptyEntry)), 1)), e.pictures.length ? (y(), m("div", G, [h("ul", K, [(y(!0), m(u, null, x(l.value, (t) => (y(), m("li", {
98
+ key: t.id,
99
99
  class: v(["mwnf-picture-gallery__thumb", {
100
- "mwnf-picture-gallery__thumb--active": e.id === t.selectedId,
101
- "mwnf-picture-gallery__thumb--related": e.backRelated?.length
100
+ "mwnf-picture-gallery__thumb--active": t.id === e.selectedId,
101
+ "mwnf-picture-gallery__thumb--related": t.backRelated?.length
102
102
  }])
103
103
  }, [h("button", {
104
104
  type: "button",
105
- onClick: (t) => _(e)
105
+ onClick: (e) => _(t)
106
106
  }, [h("img", {
107
- src: e.image,
108
- alt: e.imageAlt ?? "",
107
+ src: t.image,
108
+ alt: t.imageAlt ?? "",
109
109
  loading: "lazy"
110
110
  }, null, 8, J)], 8, q), h("div", Y, [
111
- e.imageCaption ? (y(), m("span", X, S(e.imageCaption) + ", ", 1)) : p("", !0),
111
+ t.imageCaption ? (y(), m("span", X, S(t.imageCaption) + ", ", 1)) : p("", !0),
112
112
  h("span", {
113
113
  class: "mwnf-picture-gallery__thumb-name",
114
- innerHTML: e.name
114
+ innerHTML: t.name
115
115
  }, null, 8, Z),
116
- e.detail ? (y(), m("span", Q, ", " + S(e.detail), 1)) : p("", !0)
116
+ t.detail ? (y(), m("span", Q, ", " + S(t.detail), 1)) : p("", !0)
117
117
  ])], 2))), 128))]), s.value ? (y(), m("label", ie, [D(h("input", {
118
118
  "onUpdate:modelValue": r[0] ||= (e) => c.value = e,
119
119
  type: "checkbox"
120
- }, null, 512), [[w, c.value]]), h("span", null, S(c.value ? C(a)(t.hideRelatedEntry) : C(a)(t.addRelatedEntry)), 1)])) : p("", !0)])) : p("", !0)]));
120
+ }, null, 512), [[w, c.value]]), h("span", null, S(c.value ? C(a)(e.hideRelatedEntry) : C(a)(e.addRelatedEntry)), 1)])) : p("", !0)])) : p("", !0)]));
121
121
  }
122
122
  }, $ = {
123
123
  key: 0,
@@ -211,8 +211,8 @@ var j = Object.defineProperty, M = (e, t) => {
211
211
  type: Boolean,
212
212
  default: !1
213
213
  } },
214
- setup(e) {
215
- let w = e, { aboutTheme: D, owningTheme: O, romanFor: j, themeByRouteId: M, themeText: N, useThemePictures: re } = r, { t: P, locale: F } = k(), I = te(), L = ne(), R = d(() => w.aboutMode ? D.value : M(I.params.id)), z = d(() => {
214
+ setup(t) {
215
+ let w = t, { aboutTheme: D, owningTheme: O, romanFor: j, themeByRouteId: M, themeText: N, useThemePictures: re } = r, { t: P, locale: F } = k(), I = te(), L = ne(), R = d(() => w.aboutMode ? D.value : M(I.params.id)), z = d(() => {
216
216
  let e = I.params.subtheme;
217
217
  if (w.aboutMode || !e || e === "overview") return null;
218
218
  let t = Number(e);
@@ -252,7 +252,7 @@ var j = Object.defineProperty, M = (e, t) => {
252
252
  key: 0,
253
253
  spec: H.value,
254
254
  id: V.value.id,
255
- class: v(["mwnf-dxa-theme", { "mwnf-dxa-theme--about": e.aboutMode }])
255
+ class: v(["mwnf-dxa-theme", { "mwnf-dxa-theme--about": t.aboutMode }])
256
256
  }, {
257
257
  header: E(() => [h("div", je, [Q.value ? (y(), m("span", Me, S(C(P)("exhibition.theme.romanLabel")) + " " + S(Q.value) + " ▪ ", 1)) : p("", !0), g(S(X.value), 1)]), h("div", Ne, S(Z.value), 1)]),
258
258
  panel: E(() => [_(ae, {
@@ -260,7 +260,7 @@ var j = Object.defineProperty, M = (e, t) => {
260
260
  "selected-id": W.value,
261
261
  "onUpdate:selectedId": J
262
262
  }, null, 8, ["pictures", "selected-id"])]),
263
- "after-body": E(() => [e.aboutMode ? p("", !0) : (y(), f(ke, {
263
+ "after-body": E(() => [t.aboutMode ? p("", !0) : (y(), f(ke, {
264
264
  key: 0,
265
265
  picture: q.value,
266
266
  "contextual-description": ie.value,
@@ -300,13 +300,13 @@ var j = Object.defineProperty, M = (e, t) => {
300
300
  _: 2
301
301
  }, 1032, ["to", "class"])]))), 128))
302
302
  ])) : p("", !0)]),
303
- after: E(({ next: n }) => [e.aboutMode && n ? (y(), m("div", ze, [i[0] ||= h("span", null, null, -1), _(C(A), {
303
+ after: E(({ next: n }) => [t.aboutMode && n ? (y(), m("div", ze, [i[0] ||= h("span", null, null, -1), _(C(A), {
304
304
  to: C(s)(n),
305
305
  class: "mwnf-dxa-theme__tour-link"
306
306
  }, {
307
307
  default: E(() => [g(S(C(P)("core.pagination.next")) + " " + S(Ve), 1)]),
308
308
  _: 1
309
- }, 8, ["to"])])) : p("", !0), _(t)]),
309
+ }, 8, ["to"])])) : p("", !0), _(e)]),
310
310
  _: 1
311
311
  }, 8, [
312
312
  "spec",
@@ -1,4 +1,4 @@
1
- import { d as e, n as t } from "./GlossaryPopover-DcptyNWI.js";
1
+ import { t as e, u as t } from "./MediaGallery-CHhf9xUZ.js";
2
2
  import { Fragment as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, createVNode as l, mergeProps as u, nextTick as d, normalizeClass as f, openBlock as p, ref as m, renderList as h, renderSlot as g, resolveDynamicComponent as _, toDisplayString as v, unref as y, useId as b, useSlots as x, vModelText as S, vShow as ee, watch as C, withCtx as w, withDirectives as T, withKeys as E, withModifiers as D } from "vue";
3
3
  import { useI18n as O } from "@museumwnf/viewer-core/i18n";
4
4
  import { mdInline as k } from "@museumwnf/viewer-core";
@@ -45,14 +45,14 @@ var A = ["innerHTML"], j = ["innerHTML"], M = {
45
45
  ].includes(e)
46
46
  }
47
47
  },
48
- setup(t) {
49
- return (r, u) => t.cards.length ? (p(), o("ul", {
48
+ setup(e) {
49
+ return (r, u) => e.cards.length ? (p(), o("ul", {
50
50
  key: 0,
51
- class: f(["mwnf-cards", `mwnf-cards--${t.variant}`])
52
- }, [(p(!0), o(n, null, h(t.cards, (r) => (p(), o("li", {
51
+ class: f(["mwnf-cards", `mwnf-cards--${e.variant}`])
52
+ }, [(p(!0), o(n, null, h(e.cards, (r) => (p(), o("li", {
53
53
  key: r.href ?? r.title,
54
54
  class: f(["mwnf-cards__card"])
55
- }, [t.variant === "cards" ? (p(), i(e, {
55
+ }, [e.variant === "cards" ? (p(), i(t, {
56
56
  key: 0,
57
57
  class: "mwnf-cards__link",
58
58
  to: r.to,
@@ -71,7 +71,7 @@ var A = ["innerHTML"], j = ["innerHTML"], M = {
71
71
  r.action ? (p(), o("span", M, v(r.action) + " →", 1)) : a("", !0)
72
72
  ]),
73
73
  _: 2
74
- }, 1032, ["to", "href"])) : t.variant === "rows" ? (p(), i(e, {
74
+ }, 1032, ["to", "href"])) : e.variant === "rows" ? (p(), i(t, {
75
75
  key: 1,
76
76
  class: "mwnf-cards__link",
77
77
  to: r.to,
@@ -94,7 +94,7 @@ var A = ["innerHTML"], j = ["innerHTML"], M = {
94
94
  }, null, 8, R)) : a("", !0)
95
95
  ])]),
96
96
  _: 2
97
- }, 1032, ["to", "href"])) : t.variant === "covers" ? (p(), i(e, {
97
+ }, 1032, ["to", "href"])) : e.variant === "covers" ? (p(), i(t, {
98
98
  key: 2,
99
99
  class: "mwnf-cards__link",
100
100
  to: r.to,
@@ -113,18 +113,18 @@ var A = ["innerHTML"], j = ["innerHTML"], M = {
113
113
  }, null, 8, H)
114
114
  ]),
115
115
  _: 2
116
- }, 1032, ["to", "href"])) : t.variant === "accordion" ? (p(), o("details", te, [s("summary", ne, [r.number ? (p(), o("span", U, v(r.number), 1)) : a("", !0), s("span", {
116
+ }, 1032, ["to", "href"])) : e.variant === "accordion" ? (p(), o("details", te, [s("summary", ne, [r.number ? (p(), o("span", U, v(r.number), 1)) : a("", !0), s("span", {
117
117
  class: "mwnf-cards__title",
118
118
  innerHTML: y(k)(r.title)
119
- }, null, 8, W)]), r.children?.length ? (p(), o("ul", G, [(p(!0), o(n, null, h(r.children, (t) => (p(), o("li", {
120
- key: t.href ?? t.title,
119
+ }, null, 8, W)]), r.children?.length ? (p(), o("ul", G, [(p(!0), o(n, null, h(r.children, (e) => (p(), o("li", {
120
+ key: e.href ?? e.title,
121
121
  class: "mwnf-cards__child"
122
- }, [l(e, {
122
+ }, [l(t, {
123
123
  class: "mwnf-cards__child-link",
124
- to: t.to,
125
- href: t.href
124
+ to: e.to,
125
+ href: e.href
126
126
  }, {
127
- default: w(() => [c(v(t.title), 1)]),
127
+ default: w(() => [c(v(e.title), 1)]),
128
128
  _: 2
129
129
  }, 1032, ["to", "href"])]))), 128))])) : a("", !0)])) : a("", !0)]))), 128))], 2)) : a("", !0);
130
130
  }
@@ -604,7 +604,7 @@ var A = ["innerHTML"], j = ["innerHTML"], M = {
604
604
  }, null, 8, Ne)) : a("", !0),
605
605
  s("div", Pe, [
606
606
  g(r.$slots, "badge", { partner: x.partner }),
607
- (p(), i(_(x.partner.route ? e : "span"), {
607
+ (p(), i(_(x.partner.route ? t : "span"), {
608
608
  class: "mwnf-partner-panel__name",
609
609
  to: x.partner.route || void 0
610
610
  }, {
@@ -612,13 +612,13 @@ var A = ["innerHTML"], j = ["innerHTML"], M = {
612
612
  _: 1
613
613
  }, 8, ["to"])),
614
614
  g(r.$slots, "meta", { partner: x.partner }, () => [A("count") && x.partner.itemCount ? (p(), o("p", Le, v(x.partner.itemCount) + " " + v(y(E)(x.objectsLabel)), 1)) : A("count") && x.emptyLabel ? (p(), o("p", Re, v(y(E)(x.emptyLabel)), 1)) : a("", !0)]),
615
- r.$slots.actions || A("actions") && x.partner.route ? (p(), o("p", ze, [g(r.$slots, "actions", { partner: x.partner }, () => [l(e, { to: x.partner.route }, {
615
+ r.$slots.actions || A("actions") && x.partner.route ? (p(), o("p", ze, [g(r.$slots, "actions", { partner: x.partner }, () => [l(t, { to: x.partner.route }, {
616
616
  default: w(() => [c(v(y(E)(x.readMoreLabel)), 1)]),
617
617
  _: 1
618
618
  }, 8, ["to"]), x.partner.objectsRoute ? (p(), o(n, { key: 0 }, [d[0] ||= s("span", {
619
619
  class: "mwnf-partner-panel__divider",
620
620
  "aria-hidden": "true"
621
- }, "|", -1), l(e, { to: x.partner.objectsRoute }, {
621
+ }, "|", -1), l(t, { to: x.partner.objectsRoute }, {
622
622
  default: w(() => [c(v(y(E)(x.viewObjectsLabel)), 1)]),
623
623
  _: 1
624
624
  }, 8, ["to"])], 64)) : a("", !0)])])) : a("", !0)
@@ -639,7 +639,7 @@ var A = ["innerHTML"], j = ["innerHTML"], M = {
639
639
  x.heading ? (p(), o(n, { key: 1 }, [
640
640
  g(r.$slots, "badge", { partner: x.partner }),
641
641
  (p(), i(_(M.value), { class: "mwnf-partner-panel__name" }, {
642
- default: w(() => [(p(), i(_(x.partner.route ? e : "span"), { to: x.partner.route || void 0 }, {
642
+ default: w(() => [(p(), i(_(x.partner.route ? t : "span"), { to: x.partner.route || void 0 }, {
643
643
  default: w(() => [s("span", { innerHTML: x.partner.name }, null, 8, He)]),
644
644
  _: 1
645
645
  }, 8, ["to"]))]),
@@ -649,7 +649,7 @@ var A = ["innerHTML"], j = ["innerHTML"], M = {
649
649
  g(r.$slots, "meta", { partner: x.partner })
650
650
  ], 64)) : (p(), o("p", We, [
651
651
  g(r.$slots, "badge", { partner: x.partner }),
652
- (p(), i(_(x.partner.route ? e : "span"), {
652
+ (p(), i(_(x.partner.route ? t : "span"), {
653
653
  class: "mwnf-partner-panel__name",
654
654
  to: x.partner.route || void 0
655
655
  }, {
@@ -705,7 +705,7 @@ var A = ["innerHTML"], j = ["innerHTML"], M = {
705
705
  target: "_blank",
706
706
  rel: "noopener"
707
707
  }, "↗ " + v(y(E)(x.homepageLabel)), 9, tt)) : a("", !0), r.$slots.actions ? (p(), o("div", nt, [g(r.$slots, "actions", { partner: x.partner })])) : a("", !0)])) : a("", !0),
708
- s("div", rt, [A("pictures") && x.partner.pictures?.length ? (p(), i(t, {
708
+ s("div", rt, [A("pictures") && x.partner.pictures?.length ? (p(), i(e, {
709
709
  key: 0,
710
710
  class: "mwnf-partner-panel__pictures",
711
711
  images: x.partner.pictures
@@ -795,43 +795,43 @@ var A = ["innerHTML"], j = ["innerHTML"], M = {
795
795
  type: Array,
796
796
  default: () => []
797
797
  } },
798
- setup(t) {
798
+ setup(e) {
799
799
  let r = !!x().empty;
800
- return (l, u) => t.events.length ? (p(), o("ul", Tt, [(p(!0), o(n, null, h(t.events, (t) => (p(), o("li", {
801
- key: t.id,
800
+ return (l, u) => e.events.length ? (p(), o("ul", Tt, [(p(!0), o(n, null, h(e.events, (e) => (p(), o("li", {
801
+ key: e.id,
802
802
  class: "mwnf-timeline__row"
803
- }, [s("div", Et, [g(l.$slots, "date", { event: t }, () => [c(v(t.date), 1)])]), s("div", $, [
804
- t.caption || l.$slots.caption ? (p(), o("div", Dt, [g(l.$slots, "caption", { event: t }, () => [s("span", { innerHTML: t.caption }, null, 8, Ot)])])) : a("", !0),
805
- t.description ? (p(), o("div", {
803
+ }, [s("div", Et, [g(l.$slots, "date", { event: e }, () => [c(v(e.date), 1)])]), s("div", $, [
804
+ e.caption || l.$slots.caption ? (p(), o("div", Dt, [g(l.$slots, "caption", { event: e }, () => [s("span", { innerHTML: e.caption }, null, 8, Ot)])])) : a("", !0),
805
+ e.description ? (p(), o("div", {
806
806
  key: 1,
807
807
  class: "mwnf-timeline__description mwnf-sheet__block",
808
- innerHTML: t.description
808
+ innerHTML: e.description
809
809
  }, null, 8, kt)) : a("", !0),
810
- t.media?.length || l.$slots.media ? (p(), o("div", At, [g(l.$slots, "media", { event: t }, () => [(p(!0), o(n, null, h(t.media ?? [], (t, n) => (p(), i(e, {
810
+ e.media?.length || l.$slots.media ? (p(), o("div", At, [g(l.$slots, "media", { event: e }, () => [(p(!0), o(n, null, h(e.media ?? [], (e, n) => (p(), i(t, {
811
811
  key: n,
812
812
  class: "mwnf-timeline__media-item",
813
- to: t.to,
814
- href: t.href
813
+ to: e.to,
814
+ href: e.href
815
815
  }, {
816
- default: w(() => [t.image ? (p(), o("img", {
816
+ default: w(() => [e.image ? (p(), o("img", {
817
817
  key: 0,
818
- src: t.image,
819
- alt: t.alt ?? "",
818
+ src: e.image,
819
+ alt: e.alt ?? "",
820
820
  loading: "lazy"
821
- }, null, 8, jt)) : a("", !0), t.caption ? (p(), o("span", {
821
+ }, null, 8, jt)) : a("", !0), e.caption ? (p(), o("span", {
822
822
  key: 1,
823
823
  class: "mwnf-timeline__media-caption",
824
- innerHTML: t.caption
824
+ innerHTML: e.caption
825
825
  }, null, 8, Mt)) : a("", !0)]),
826
826
  _: 2
827
827
  }, 1032, ["to", "href"]))), 128))])])) : a("", !0),
828
- t.actions?.length || l.$slots.actions ? (p(), o("div", Nt, [g(l.$slots, "actions", { event: t }, () => [(p(!0), o(n, null, h(t.actions ?? [], (t, n) => (p(), i(e, {
828
+ e.actions?.length || l.$slots.actions ? (p(), o("div", Nt, [g(l.$slots, "actions", { event: e }, () => [(p(!0), o(n, null, h(e.actions ?? [], (e, n) => (p(), i(t, {
829
829
  key: n,
830
830
  class: "mwnf-timeline__action",
831
- to: t.to,
832
- href: t.href
831
+ to: e.to,
832
+ href: e.href
833
833
  }, {
834
- default: w(() => [c(v(t.label) + " →", 1)]),
834
+ default: w(() => [c(v(e.label) + " →", 1)]),
835
835
  _: 2
836
836
  }, 1032, ["to", "href"]))), 128))])])) : a("", !0)
837
837
  ])]))), 128))])) : y(r) ? (p(), o("div", Pt, [g(l.$slots, "empty")])) : a("", !0);