@museumwnf/viewer-layout 3.6.0 → 3.7.0

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,14 +1,14 @@
1
- import { r as e } from "./chrome-DPuPeWzV.js";
1
+ import { r as e } from "./chrome-i1DOEyLS.js";
2
2
  import { c as t, d as n, n as r } from "./GlossaryPopover-DcptyNWI.js";
3
3
  import { t as i } from "./RecordView-DovgfTMz.js";
4
- import { t as a } from "./SiteShell-4vV2jIzf.js";
4
+ import { t as a } from "./SiteShell-CXMfLqzq.js";
5
5
  import { Fragment as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createSlots as f, createTextVNode as p, createVNode as m, guardReactiveProps as h, normalizeClass as g, normalizeProps as _, normalizeStyle as v, openBlock as y, ref as b, renderList as x, renderSlot as S, toDisplayString as C, unref as w, useSlots as T, watch as E, withCtx as D } from "vue";
6
6
  import { byId as O, loadEntities as k, pictureCredits as A, removeEndingPoint as j, renderBlock as M, renderInline as N, renderPlain as P, useDataPackage as F, useI18n as I, useSection as ee, useSiteConfig as L } from "@museumwnf/viewer-core";
7
7
  //#region src/standalone/Banner.vue
8
- var te = {
8
+ var R = {
9
9
  key: 0,
10
10
  class: "mwnf-standalone-banner__title"
11
- }, R = {
11
+ }, z = {
12
12
  __name: "Banner",
13
13
  props: {
14
14
  image: {
@@ -24,26 +24,26 @@ var te = {
24
24
  return (t, n) => (y(), u("div", {
25
25
  class: "mwnf-standalone-banner",
26
26
  style: v(e.image ? { backgroundImage: `url(${JSON.stringify(e.image)})` } : void 0)
27
- }, [e.title ? (y(), u("h1", te, [d("span", null, C(e.title), 1)])) : l("", !0)], 4));
27
+ }, [e.title ? (y(), u("h1", R, [d("span", null, C(e.title), 1)])) : l("", !0)], 4));
28
28
  }
29
29
  };
30
30
  //#endregion
31
31
  //#region src/standalone/chrome.js
32
- function z() {
32
+ function B() {
33
33
  let t = L();
34
34
  return (n) => e(t.chrome, n);
35
35
  }
36
- function B(e, t) {
36
+ function V(e, t) {
37
37
  return !e || typeof e == "string" ? e ?? "" : e[t] ?? e.en ?? Object.values(e)[0] ?? "";
38
38
  }
39
- function V(e = /* @__PURE__ */ new Date()) {
39
+ function H(e = /* @__PURE__ */ new Date()) {
40
40
  let t = new Date(e.getFullYear(), 0, 1);
41
41
  return Math.round((new Date(e.getFullYear(), e.getMonth(), e.getDate()) - t) / 864e5);
42
42
  }
43
- function H(e, t = /* @__PURE__ */ new Date()) {
44
- return e?.length ? e[V(t) % e.length] : null;
43
+ function U(e, t = /* @__PURE__ */ new Date()) {
44
+ return e?.length ? e[H(t) % e.length] : null;
45
45
  }
46
- function U(e) {
46
+ function W(e) {
47
47
  let [t, ...n] = String(e ?? "").split("*")[0].trim().split(";");
48
48
  return !t || n.length < 5 ? "" : [
49
49
  "mwnf3",
@@ -53,10 +53,10 @@ function U(e) {
53
53
  }
54
54
  //#endregion
55
55
  //#region src/standalone/Sponsors.vue
56
- var ne = { class: "mwnf-standalone-sponsors" }, re = {
56
+ var te = { class: "mwnf-standalone-sponsors" }, ne = {
57
57
  key: 0,
58
58
  class: "mwnf-standalone-sponsors__text"
59
- }, ie = ["innerHTML"], ae = { key: 1 }, W = ["innerHTML"], G = {
59
+ }, re = ["innerHTML"], ie = { key: 1 }, ae = ["innerHTML"], G = {
60
60
  key: 1,
61
61
  class: "mwnf-standalone-sponsors__title"
62
62
  }, K = {
@@ -75,7 +75,7 @@ var ne = { class: "mwnf-standalone-sponsors" }, re = {
75
75
  default: () => []
76
76
  } },
77
77
  setup(e) {
78
- let t = e, { t: r } = I(), i = z(), a = s(() => t.columns.map((e, t) => ({
78
+ let t = e, { t: r } = I(), i = B(), a = s(() => t.columns.map((e, t) => ({
79
79
  key: t,
80
80
  width: e.width ?? null,
81
81
  lead: e.lead ? N(r(e.lead)) : "",
@@ -93,21 +93,21 @@ var ne = { class: "mwnf-standalone-sponsors" }, re = {
93
93
  label: r(e.label)
94
94
  }))
95
95
  })));
96
- return (e, t) => (y(), u("div", ne, [(y(!0), u(o, null, x(a.value, (e) => (y(), u("div", {
96
+ return (e, t) => (y(), u("div", te, [(y(!0), u(o, null, x(a.value, (e) => (y(), u("div", {
97
97
  key: e.key,
98
98
  class: "mwnf-standalone-sponsors__column",
99
99
  style: v(e.width ? { flexGrow: e.width } : void 0)
100
100
  }, [
101
- e.lead || e.text ? (y(), u("p", re, [
101
+ e.lead || e.text ? (y(), u("p", ne, [
102
102
  e.lead ? (y(), u("i", {
103
103
  key: 0,
104
104
  innerHTML: e.lead
105
- }, null, 8, ie)) : l("", !0),
106
- e.lead && e.break ? (y(), u("br", ae)) : e.lead && e.text ? (y(), u(o, { key: 2 }, [p(C(" "))], 64)) : l("", !0),
105
+ }, null, 8, re)) : l("", !0),
106
+ e.lead && e.break ? (y(), u("br", ie)) : e.lead && e.text ? (y(), u(o, { key: 2 }, [p(C(" "))], 64)) : l("", !0),
107
107
  e.text ? (y(), u("span", {
108
108
  key: 3,
109
109
  innerHTML: e.text
110
- }, null, 8, W)) : l("", !0)
110
+ }, null, 8, ae)) : l("", !0)
111
111
  ])) : l("", !0),
112
112
  e.title ? (y(), u("p", G, C(e.title), 1)) : l("", !0),
113
113
  e.logos.length ? (y(), u("ul", K, [(y(!0), u(o, null, x(e.logos, (e) => (y(), u("li", { key: e.src }, [e.note ? (y(), u("details", q, [d("summary", null, [d("img", {
@@ -143,7 +143,13 @@ var ne = { class: "mwnf-standalone-sponsors" }, re = {
143
143
  ])]))), 128))])) : l("", !0)
144
144
  ], 4))), 128))]));
145
145
  }
146
- }, de = ["src"], fe = {
146
+ }, de = { class: "mwnf-banner mwnf-standalone-home-banner" }, fe = ["src"], pe = { class: "mwnf-standalone-home-banner__text" }, me = {
147
+ key: 0,
148
+ class: "mwnf-standalone-home-banner__title"
149
+ }, he = {
150
+ key: 1,
151
+ class: "mwnf-standalone-home-banner__line"
152
+ }, ge = ["src"], _e = {
147
153
  __name: "Shell",
148
154
  props: {
149
155
  language: {
@@ -157,76 +163,101 @@ var ne = { class: "mwnf-standalone-sponsors" }, re = {
157
163
  },
158
164
  emits: ["update:language"],
159
165
  setup(t, { emit: n }) {
160
- let r = t, i = n, { t: o, locale: l } = I(), u = L(), p = ee(), h = s(() => u.standalone ?? {}), _ = s(() => u.navigation ?? {}), v = s(() => p.value === "home"), b = s(() => h.value.areas?.[p.value] ?? null), x = (t) => e(u.chrome, B(t, l.value)), C = s(() => {
161
- let e = h.value.logo ?? {}, t = x(b.value?.logo ?? e.src);
166
+ let r = t, i = n, { t: o, locale: p } = I(), h = L(), _ = ee(), v = s(() => h.standalone ?? {}), b = s(() => h.navigation ?? {}), x = s(() => _.value === "home"), T = s(() => v.value.areas?.[_.value] ?? null), E = (t) => e(h.chrome, V(t, p.value)), O = s(() => {
167
+ let e = v.value.logo ?? {}, t = E(T.value?.logo ?? e.src);
162
168
  return t ? {
163
169
  logo: t,
164
170
  alt: e.alt ?? ""
165
171
  } : null;
166
- }), T = s(() => x(h.value.logo?.print)), E = s(() => (h.value.headerLinks ?? []).filter((e) => !e.on || e.on === "all" || e.on === (v.value ? "home" : "inner"))), O = s(() => {
172
+ }), k = s(() => E(v.value.logo?.print)), A = s(() => (v.value.headerLinks ?? []).filter((e) => !e.on || e.on === "all" || e.on === (x.value ? "home" : "inner"))), j = s(() => {
167
173
  let e = {
168
- ...h.value.banner ?? {},
169
- ...b.value?.banner ?? {}
174
+ ...v.value.banner ?? {},
175
+ ...T.value?.banner ?? {}
170
176
  };
171
- return x(v.value ? e.home : e.inner) ?? "";
172
- }), k = s(() => {
173
- let e = _.value.sectionTitles?.[p.value];
177
+ return E(x.value ? e.home : e.inner) ?? "";
178
+ }), M = s(() => {
179
+ let e = b.value.sectionTitles?.[_.value];
174
180
  return e ? o(e) : "";
175
- }), A = s(() => !v.value && !!(O.value || k.value)), j = s(() => {
176
- let e = h.value.sponsors;
177
- return e?.columns?.length && (e.on === "all" || v.value) ? e : null;
178
- }), M = s(() => ({
181
+ }), N = s(() => !x.value && !!(j.value || M.value)), P = s(() => {
182
+ let { homeTitle: e, homeText: t } = v.value.banner ?? {};
183
+ return x.value && (e || t) ? {
184
+ title: e ? o(e) : "",
185
+ text: t ? o(t) : ""
186
+ } : null;
187
+ }), F = s(() => {
188
+ let e = v.value.sponsors;
189
+ return e?.columns?.length && (e.on === "all" || x.value) ? e : null;
190
+ }), R = s(() => ({
179
191
  navigation: {
180
- ..._.value,
181
- headerLinks: E.value,
192
+ ...b.value,
193
+ headerLinks: A.value,
182
194
  sectionTitles: {},
183
- ...h.value.languages === !1 ? { languages: [] } : {}
195
+ ...v.value.languages === !1 ? { languages: [] } : {}
184
196
  },
185
197
  banner: null,
186
- ...C.value ? { brand: C.value } : {}
187
- })), N = (/* @__PURE__ */ new Date()).getFullYear(), P = s(() => h.value.copyright ? `${o(h.value.copyright)} ${N}` : ""), F = s(() => [
198
+ ...O.value ? { brand: O.value } : {}
199
+ })), B = (/* @__PURE__ */ new Date()).getFullYear(), H = s(() => v.value.copyright ? `${o(v.value.copyright)} ${B}` : ""), U = s(() => [
188
200
  "mwnf-standalone",
189
- v.value ? "mwnf-standalone--home" : "mwnf-standalone--inner",
190
- b.value?.class ?? ""
201
+ x.value ? "mwnf-standalone--home" : "mwnf-standalone--inner",
202
+ T.value?.class ?? ""
191
203
  ]);
192
204
  return (e, t) => (y(), c(a, {
193
- class: g(F.value),
194
- config: M.value,
195
- languages: h.value.languages === !1 ? [] : r.languages,
205
+ class: g(U.value),
206
+ config: R.value,
207
+ languages: v.value.languages === !1 ? [] : r.languages,
196
208
  language: r.language,
197
209
  "language-placement": "header",
198
210
  "language-style": "select",
199
- "header-home": h.value.logo?.href ?? "",
200
- "header-title": v.value ? "" : h.value.heading ? w(o)(h.value.heading) : "",
211
+ "header-home": v.value.logo?.href ?? "",
212
+ "header-title": x.value ? "" : v.value.heading ? w(o)(v.value.heading) : "",
213
+ "header-subtitle": x.value ? "" : v.value.subheading ? w(o)(v.value.subheading) : "",
201
214
  "header-title-href": "#/",
202
- "banner-image": v.value ? O.value : "",
203
- "footer-text": P.value || void 0,
215
+ "banner-image": x.value && !P.value ? j.value : "",
216
+ "footer-text": H.value || void 0,
204
217
  "onUpdate:language": t[0] ||= (e) => i("update:language", e)
205
218
  }, f({
206
219
  default: D(() => [S(e.$slots, "default")]),
207
220
  _: 2
208
221
  }, [
209
- A.value ? {
222
+ N.value ? {
210
223
  name: "banner",
211
- fn: D(() => [m(R, {
212
- image: O.value,
213
- title: k.value
224
+ fn: D(() => [m(z, {
225
+ image: j.value,
226
+ title: M.value
214
227
  }, null, 8, ["image", "title"])]),
215
228
  key: "0"
229
+ } : P.value ? {
230
+ name: "banner",
231
+ fn: D(() => [d("section", de, [j.value ? (y(), u("img", {
232
+ key: 0,
233
+ class: "mwnf-banner__image",
234
+ src: j.value,
235
+ alt: ""
236
+ }, null, 8, fe)) : l("", !0), d("div", pe, [P.value.title ? (y(), u("h2", me, [d("i", null, C(P.value.title), 1)])) : l("", !0), P.value.text ? (y(), u("p", he, [d("span", null, C(P.value.text), 1)])) : l("", !0)])])]),
237
+ key: "1"
216
238
  } : void 0,
217
- T.value ? {
239
+ k.value ? {
218
240
  name: "notice",
219
241
  fn: D(() => [d("img", {
220
242
  class: "mwnf-standalone__print-logo",
221
- src: T.value,
243
+ src: k.value,
222
244
  alt: ""
223
- }, null, 8, de)]),
224
- key: "1"
245
+ }, null, 8, ge)]),
246
+ key: "2"
225
247
  } : void 0,
226
- j.value ? {
248
+ e.$slots.sponsors ? {
227
249
  name: "sponsors",
228
- fn: D(() => [m(Y, { columns: j.value.columns }, null, 8, ["columns"])]),
229
- key: "2"
250
+ fn: D(() => [S(e.$slots, "sponsors")]),
251
+ key: "3"
252
+ } : F.value ? {
253
+ name: "sponsors",
254
+ fn: D(() => [m(Y, { columns: F.value.columns }, null, 8, ["columns"])]),
255
+ key: "4"
256
+ } : void 0,
257
+ e.$slots.footer ? {
258
+ name: "footer",
259
+ fn: D(() => [S(e.$slots, "footer")]),
260
+ key: "5"
230
261
  } : void 0
231
262
  ]), 1032, [
232
263
  "class",
@@ -235,20 +266,21 @@ var ne = { class: "mwnf-standalone-sponsors" }, re = {
235
266
  "language",
236
267
  "header-home",
237
268
  "header-title",
269
+ "header-subtitle",
238
270
  "banner-image",
239
271
  "footer-text"
240
272
  ]));
241
273
  }
242
- }, pe = {
274
+ }, ve = {
243
275
  key: 0,
244
276
  class: "mwnf-standalone-highlight"
245
- }, me = ["src", "alt"], he = {
277
+ }, ye = ["src", "alt"], be = {
246
278
  key: 1,
247
279
  class: "mwnf-standalone-highlight__heading"
248
- }, ge = { class: "mwnf-standalone-highlight__lines" }, _e = ["innerHTML"], ve = {
280
+ }, xe = { class: "mwnf-standalone-highlight__lines" }, Se = ["innerHTML"], Ce = {
249
281
  key: 2,
250
282
  class: "mwnf-standalone-highlight__place"
251
- }, ye = {
283
+ }, we = {
252
284
  key: 3,
253
285
  class: "mwnf-standalone-highlight__action"
254
286
  }, X = {
@@ -270,6 +302,10 @@ var ne = { class: "mwnf-standalone-sponsors" }, re = {
270
302
  type: [String, Object],
271
303
  default: null
272
304
  },
305
+ picture: {
306
+ type: String,
307
+ default: ""
308
+ },
273
309
  heading: {
274
310
  type: String,
275
311
  default: ""
@@ -296,8 +332,8 @@ var ne = { class: "mwnf-standalone-sponsors" }, re = {
296
332
  r && n.push(N(r));
297
333
  }
298
334
  return n;
299
- }), f = s(() => [i(t.text?.location), t.country].filter(Boolean).join(", ")), h = s(() => t.record?.images?.[0]?.url ?? ""), g = s(() => P(String(t.text?.name ?? t.record?.internal_name ?? "")));
300
- return (t, i) => e.record ? (y(), u("div", pe, [
335
+ }), f = s(() => [i(t.text?.location), t.country].filter(Boolean).join(", ")), h = s(() => t.picture || (t.record?.images?.[0]?.url ?? "")), g = s(() => P(String(t.text?.name ?? t.record?.internal_name ?? "")));
336
+ return (t, i) => e.record ? (y(), u("div", ve, [
301
337
  h.value ? (y(), c(n, {
302
338
  key: 0,
303
339
  class: "mwnf-standalone-highlight__media",
@@ -307,25 +343,25 @@ var ne = { class: "mwnf-standalone-sponsors" }, re = {
307
343
  class: "mwnf-standalone-highlight__image",
308
344
  src: h.value,
309
345
  alt: g.value
310
- }, null, 8, me)]),
346
+ }, null, 8, ye)]),
311
347
  _: 1
312
348
  }, 8, ["to"])) : l("", !0),
313
- e.heading ? (y(), u("p", he, [d("strong", null, C(w(r)(e.heading)), 1)])) : l("", !0),
314
- d("p", ge, [(y(!0), u(o, null, x(a.value, (e, t) => (y(), u(o, { key: t }, [d("span", { innerHTML: e }, null, 8, _e), i[0] ||= d("br", null, null, -1)], 64))), 128))]),
315
- f.value ? (y(), u("p", ve, C(w(P)(f.value)), 1)) : l("", !0),
316
- e.action ? (y(), u("p", ye, [m(n, { to: e.to }, {
349
+ e.heading ? (y(), u("p", be, [d("strong", null, C(w(r)(e.heading)), 1)])) : l("", !0),
350
+ d("p", xe, [(y(!0), u(o, null, x(a.value, (e, t) => (y(), u(o, { key: t }, [d("span", { innerHTML: e }, null, 8, Se), i[0] ||= d("br", null, null, -1)], 64))), 128))]),
351
+ f.value ? (y(), u("p", Ce, C(w(P)(f.value)), 1)) : l("", !0),
352
+ e.action ? (y(), u("p", we, [m(n, { to: e.to }, {
317
353
  default: D(() => [p(C(w(r)(e.action)), 1)]),
318
354
  _: 1
319
355
  }, 8, ["to"])])) : l("", !0)
320
356
  ])) : l("", !0);
321
357
  }
322
- }, be = {
358
+ }, Te = {
323
359
  key: 0,
324
360
  class: "mwnf-standalone-tiles"
325
- }, xe = {
361
+ }, Ee = {
326
362
  key: 0,
327
363
  class: "mwnf-standalone-tiles__caption"
328
- }, Se = { class: "mwnf-standalone-tiles__grid" }, Ce = ["src", "alt"], we = {
364
+ }, De = { class: "mwnf-standalone-tiles__grid" }, Oe = ["src", "alt"], ke = {
329
365
  key: 0,
330
366
  class: "mwnf-standalone-tiles__label"
331
367
  }, Z = {
@@ -341,12 +377,12 @@ var ne = { class: "mwnf-standalone-sponsors" }, re = {
341
377
  }
342
378
  },
343
379
  setup(e) {
344
- let t = e, { t: r } = I(), i = z(), a = s(() => t.items.map((e) => ({
380
+ let t = e, { t: r } = I(), i = B(), a = s(() => t.items.map((e) => ({
345
381
  ...e,
346
382
  image: i(e.image) ?? "",
347
- label: e.label ? r(e.label) : ""
383
+ label: e.text ? P(e.text) : e.label ? r(e.label) : ""
348
384
  })));
349
- return (t, i) => a.value.length ? (y(), u("section", be, [e.caption ? (y(), u("p", xe, C(w(r)(e.caption)), 1)) : l("", !0), d("ul", Se, [(y(!0), u(o, null, x(a.value, (e) => (y(), u("li", {
385
+ return (t, i) => a.value.length ? (y(), u("section", Te, [e.caption ? (y(), u("p", Ee, C(w(r)(e.caption)), 1)) : l("", !0), d("ul", De, [(y(!0), u(o, null, x(a.value, (e) => (y(), u("li", {
350
386
  key: e.image,
351
387
  class: "mwnf-standalone-tiles__tile"
352
388
  }, [m(n, {
@@ -358,14 +394,14 @@ var ne = { class: "mwnf-standalone-sponsors" }, re = {
358
394
  class: "mwnf-standalone-tiles__image",
359
395
  src: e.image,
360
396
  alt: e.label
361
- }, null, 8, Ce), e.label ? (y(), u("span", we, C(e.label), 1)) : l("", !0)]),
397
+ }, null, 8, Oe), e.label ? (y(), u("span", ke, C(e.label), 1)) : l("", !0)]),
362
398
  _: 2
363
399
  }, 1032, ["to", "href"])]))), 128))])])) : l("", !0);
364
400
  }
365
- }, Te = { class: "mwnf-standalone-home" }, Ee = {
401
+ }, Ae = { class: "mwnf-standalone-home" }, je = {
366
402
  key: 0,
367
403
  class: "mwnf-standalone-home__links"
368
- }, De = { key: 1 }, Oe = {
404
+ }, Me = { key: 1 }, Ne = {
369
405
  __name: "Home",
370
406
  props: { home: {
371
407
  type: Object,
@@ -382,9 +418,9 @@ var ne = { class: "mwnf-standalone-sponsors" }, re = {
382
418
  _.loadTranslations("items", e), _.loadTranslations("countries", e);
383
419
  }, { immediate: !0 }));
384
420
  let v = O("items", "backward_compatibility"), b = s(() => {
385
- let e = h.value?.list ?? [], t = e.indexOf(H(e));
421
+ let e = h.value?.list ?? [], t = e.indexOf(U(e));
386
422
  for (let n = 0; t >= 0 && n < e.length; n++) {
387
- let r = v.value.get(U(e[(t + n) % e.length]));
423
+ let r = v.value.get(W(e[(t + n) % e.length]));
388
424
  if (r) return r;
389
425
  }
390
426
  return null;
@@ -394,9 +430,15 @@ var ne = { class: "mwnf-standalone-sponsors" }, re = {
394
430
  }), A = s(() => b.value ? {
395
431
  name: h.value.route ?? "item",
396
432
  params: { id: b.value.id }
397
- } : null);
398
- return (e, t) => (y(), u("div", Te, [
399
- f.value.length ? (y(), u("ul", Ee, [(y(!0), u(o, null, x(f.value, (e) => (y(), u("li", {
433
+ } : null), j = B(), M = s(() => {
434
+ let e = h.value?.pictures ?? [];
435
+ return e.length ? j(U(e)) ?? "" : "";
436
+ }), N = s(() => {
437
+ let e = d.value.tiles?.items;
438
+ return (typeof e == "function" ? e() : e) ?? [];
439
+ });
440
+ return (e, t) => (y(), u("div", Ae, [
441
+ f.value.length ? (y(), u("ul", je, [(y(!0), u(o, null, x(f.value, (e) => (y(), u("li", {
400
442
  key: e.label,
401
443
  class: g({ "mwnf-standalone-home__link--gap": e.gap })
402
444
  }, [m(n, {
@@ -405,7 +447,7 @@ var ne = { class: "mwnf-standalone-sponsors" }, re = {
405
447
  external: !!e.external,
406
448
  title: e.title
407
449
  }, {
408
- default: D(() => [e.prefix ? (y(), u(o, { key: 0 }, [p(C(`${e.prefix} `), 1)], 64)) : l("", !0), e.italic ? (y(), u("i", De, C(e.label), 1)) : (y(), u(o, { key: 2 }, [p(C(e.label), 1)], 64))]),
450
+ default: D(() => [e.prefix ? (y(), u(o, { key: 0 }, [p(C(`${e.prefix} `), 1)], 64)) : l("", !0), e.italic ? (y(), u("i", Me, C(e.label), 1)) : (y(), u(o, { key: 2 }, [p(C(e.label), 1)], 64))]),
409
451
  _: 2
410
452
  }, 1032, [
411
453
  "to",
@@ -419,6 +461,7 @@ var ne = { class: "mwnf-standalone-sponsors" }, re = {
419
461
  text: w.value,
420
462
  country: T.value,
421
463
  to: A.value,
464
+ picture: M.value,
422
465
  heading: h.value.heading ?? "",
423
466
  "also-known-as": h.value.alsoKnownAs ?? "",
424
467
  action: h.value.action ?? ""
@@ -427,6 +470,7 @@ var ne = { class: "mwnf-standalone-sponsors" }, re = {
427
470
  "text",
428
471
  "country",
429
472
  "to",
473
+ "picture",
430
474
  "heading",
431
475
  "also-known-as",
432
476
  "action"
@@ -434,15 +478,15 @@ var ne = { class: "mwnf-standalone-sponsors" }, re = {
434
478
  d.value.tiles ? (y(), c(Z, {
435
479
  key: 2,
436
480
  caption: d.value.tiles.caption ?? "",
437
- items: d.value.tiles.items ?? []
481
+ items: N.value
438
482
  }, null, 8, ["caption", "items"])) : l("", !0),
439
483
  S(e.$slots, "default")
440
484
  ]));
441
485
  }
442
- }, ke = { class: "mwnf-standalone-related" }, Ae = { class: "mwnf-standalone-related__heading" }, je = { class: "mwnf-standalone-related__group-heading" }, Me = { class: "mwnf-standalone-related__thumbs" }, Ne = ["src", "alt"], Pe = ["innerHTML"], Fe = {
486
+ }, Pe = { class: "mwnf-standalone-related" }, Fe = { class: "mwnf-standalone-related__heading" }, Ie = { class: "mwnf-standalone-related__group-heading" }, Le = { class: "mwnf-standalone-related__thumbs" }, Re = ["src", "alt"], ze = ["innerHTML"], Be = {
443
487
  key: 0,
444
488
  class: "mwnf-standalone-related__download"
445
- }, Ie = { class: "mwnf-standalone-related__download-heading" }, Q = {
489
+ }, Ve = { class: "mwnf-standalone-related__download-heading" }, Q = {
446
490
  __name: "RelatedContent",
447
491
  props: {
448
492
  heading: {
@@ -470,12 +514,12 @@ var ne = { class: "mwnf-standalone-sponsors" }, re = {
470
514
  function a() {
471
515
  window.print();
472
516
  }
473
- return (t, s) => (y(), u("aside", ke, [
474
- d("p", Ae, [d("strong", null, C(w(r)(e.heading)), 1)]),
517
+ return (t, s) => (y(), u("aside", Pe, [
518
+ d("p", Fe, [d("strong", null, C(w(r)(e.heading)), 1)]),
475
519
  (y(!0), u(o, null, x(i.value, (e) => (y(), u("div", {
476
520
  key: e.heading,
477
521
  class: "mwnf-standalone-related__group"
478
- }, [d("p", je, C(e.heading), 1), d("ul", Me, [(y(!0), u(o, null, x(e.rows, (e) => (y(), u("li", { key: e.id }, [m(n, {
522
+ }, [d("p", Ie, C(e.heading), 1), d("ul", Le, [(y(!0), u(o, null, x(e.rows, (e) => (y(), u("li", { key: e.id }, [m(n, {
479
523
  to: e.to,
480
524
  title: e.imageAlt
481
525
  }, {
@@ -483,24 +527,24 @@ var ne = { class: "mwnf-standalone-sponsors" }, re = {
483
527
  key: 0,
484
528
  src: e.image,
485
529
  alt: e.imageAlt
486
- }, null, 8, Ne)) : (y(), u("span", {
530
+ }, null, 8, Re)) : (y(), u("span", {
487
531
  key: 1,
488
532
  innerHTML: e.name
489
- }, null, 8, Pe))]),
533
+ }, null, 8, ze))]),
490
534
  _: 2
491
535
  }, 1032, ["to", "title"])]))), 128))])]))), 128)),
492
536
  S(t.$slots, "default"),
493
- e.download ? (y(), u("div", Fe, [d("p", Ie, C(w(r)(e.download.heading)), 1), d("button", {
537
+ e.download ? (y(), u("div", Be, [d("p", Ve, C(w(r)(e.download.heading)), 1), d("button", {
494
538
  type: "button",
495
539
  class: "mwnf-standalone-related__print",
496
540
  onClick: a
497
541
  }, C(w(r)(e.download.print)), 1)])) : l("", !0)
498
542
  ]));
499
543
  }
500
- }, Le = { class: "mwnf-standalone-item__top" }, Re = { class: "mwnf-standalone-item__left" }, ze = {
544
+ }, He = { class: "mwnf-standalone-item__top" }, Ue = { class: "mwnf-standalone-item__left" }, We = {
501
545
  key: 0,
502
546
  class: "mwnf-standalone-item__back"
503
- }, Be = {
547
+ }, Ge = {
504
548
  __name: "ItemSheet",
505
549
  props: {
506
550
  spec: {
@@ -557,7 +601,7 @@ var ne = { class: "mwnf-standalone-sponsors" }, re = {
557
601
  id: e.id,
558
602
  class: "mwnf-standalone-item"
559
603
  }, f({
560
- header: D(({ languages: e, language: n, select: r }) => [d("div", Le, [m(t, {
604
+ header: D(({ languages: e, language: n, select: r }) => [d("div", He, [m(t, {
561
605
  languages: e,
562
606
  language: n,
563
607
  onSelect: r
@@ -566,7 +610,7 @@ var ne = { class: "mwnf-standalone-sponsors" }, re = {
566
610
  "language",
567
611
  "onSelect"
568
612
  ])])]),
569
- "before-sheet": D((e) => [d("div", Re, [E.value.length ? (y(), u("p", ze, [(y(!0), u(o, null, x(E.value, (e) => (y(), u(o, { key: e.label }, [e.history ? (y(), u("button", {
613
+ "before-sheet": D((e) => [d("div", Ue, [E.value.length ? (y(), u("p", We, [(y(!0), u(o, null, x(E.value, (e) => (y(), u(o, { key: e.label }, [e.history ? (y(), u("button", {
570
614
  key: 0,
571
615
  type: "button",
572
616
  class: "mwnf-standalone-item__back-link",
@@ -600,13 +644,13 @@ var ne = { class: "mwnf-standalone-sponsors" }, re = {
600
644
  fn: D((t) => [S(a.$slots, e, _(h(t)))])
601
645
  }))]), 1032, ["spec", "id"]));
602
646
  }
603
- }, Ve = ["innerHTML"], $ = {
647
+ }, Ke = ["innerHTML"], qe = {
604
648
  key: 0,
605
649
  class: "mwnf-standalone-page__link"
606
- }, He = {
650
+ }, Je = {
607
651
  key: 1,
608
652
  class: "mwnf-standalone-page__print"
609
- }, Ue = {
653
+ }, $ = {
610
654
  __name: "TextPage",
611
655
  props: {
612
656
  body: {
@@ -635,25 +679,25 @@ var ne = { class: "mwnf-standalone-sponsors" }, re = {
635
679
  d("div", {
636
680
  class: "mwnf-standalone-page__body",
637
681
  innerHTML: i.value
638
- }, null, 8, Ve),
639
- e.link ? (y(), u("p", $, [m(n, {
682
+ }, null, 8, Ke),
683
+ e.link ? (y(), u("p", qe, [m(n, {
640
684
  to: e.link.to,
641
685
  href: e.link.href
642
686
  }, {
643
687
  default: D(() => [d("strong", null, C(e.link.text ?? w(r)(e.link.label)), 1)]),
644
688
  _: 1
645
689
  }, 8, ["to", "href"])])) : l("", !0),
646
- e.print ? (y(), u("p", He, [d("button", {
690
+ e.print ? (y(), u("p", Je, [d("button", {
647
691
  type: "button",
648
692
  class: "mwnf-standalone-page__print-button",
649
693
  onClick: a
650
694
  }, C(w(r)(e.print)), 1)])) : l("", !0)
651
695
  ], 2));
652
696
  }
653
- }, We = {
697
+ }, Ye = {
654
698
  key: 0,
655
699
  class: "mwnf-standalone-subnav"
656
- }, Ge = { class: "mwnf-standalone-subnav__tabs" }, Ke = {
700
+ }, Xe = { class: "mwnf-standalone-subnav__tabs" }, Ze = {
657
701
  __name: "SubNav",
658
702
  props: {
659
703
  tabs: {
@@ -670,7 +714,7 @@ var ne = { class: "mwnf-standalone-sponsors" }, re = {
670
714
  ...e,
671
715
  label: r(e.label)
672
716
  })));
673
- return (t, a) => i.value.length || e.aside ? (y(), u("nav", We, [d("ul", Ge, [(y(!0), u(o, null, x(i.value, (e) => (y(), u("li", { key: e.label }, [m(n, {
717
+ return (t, a) => i.value.length || e.aside ? (y(), u("nav", Ye, [d("ul", Xe, [(y(!0), u(o, null, x(i.value, (e) => (y(), u("li", { key: e.label }, [m(n, {
674
718
  to: e.to,
675
719
  href: e.href,
676
720
  class: g(["mwnf-standalone-subnav__tab", { "mwnf-standalone-subnav__tab--active": e.active }]),
@@ -693,10 +737,10 @@ var ne = { class: "mwnf-standalone-sponsors" }, re = {
693
737
  _: 1
694
738
  }, 8, ["to", "href"])) : l("", !0)])) : l("", !0);
695
739
  }
696
- }, qe = ["disabled", "aria-label"], Je = { class: "mwnf-standalone-slider__track" }, Ye = ["src", "alt"], Xe = {
740
+ }, Qe = ["disabled", "aria-label"], $e = { class: "mwnf-standalone-slider__track" }, et = ["src", "alt"], tt = {
697
741
  key: 0,
698
742
  class: "mwnf-standalone-slider__label"
699
- }, Ze = ["disabled", "aria-label"], Qe = {
743
+ }, nt = ["disabled", "aria-label"], rt = {
700
744
  __name: "Slider",
701
745
  props: {
702
746
  slides: {
@@ -717,7 +761,7 @@ var ne = { class: "mwnf-standalone-sponsors" }, re = {
717
761
  }
718
762
  },
719
763
  setup(e) {
720
- let t = e, { t: r } = I(), i = z(), a = b(0), c = s(() => Math.max(0, t.slides.length - t.visible)), f = s(() => t.slides.slice(a.value, a.value + t.visible).map((e) => ({
764
+ let t = e, { t: r } = I(), i = B(), a = b(0), c = s(() => Math.max(0, t.slides.length - t.visible)), f = s(() => t.slides.slice(a.value, a.value + t.visible).map((e) => ({
721
765
  ...e,
722
766
  image: i(e.image) ?? "",
723
767
  label: e.label ? r(e.label) : ""
@@ -733,8 +777,8 @@ var ne = { class: "mwnf-standalone-sponsors" }, re = {
733
777
  disabled: a.value === 0,
734
778
  "aria-label": w(r)(e.previousLabel),
735
779
  onClick: i[0] ||= (e) => a.value = Math.max(0, a.value - 1)
736
- }, "‹", 8, qe),
737
- d("ul", Je, [(y(!0), u(o, null, x(f.value, (e) => (y(), u("li", {
780
+ }, "‹", 8, Qe),
781
+ d("ul", $e, [(y(!0), u(o, null, x(f.value, (e) => (y(), u("li", {
738
782
  key: e.image,
739
783
  class: "mwnf-standalone-slider__slide"
740
784
  }, [m(n, {
@@ -744,7 +788,7 @@ var ne = { class: "mwnf-standalone-sponsors" }, re = {
744
788
  default: D(() => [d("img", {
745
789
  src: e.image,
746
790
  alt: e.label
747
- }, null, 8, Ye), e.label ? (y(), u("span", Xe, C(e.label), 1)) : l("", !0)]),
791
+ }, null, 8, et), e.label ? (y(), u("span", tt, C(e.label), 1)) : l("", !0)]),
748
792
  _: 2
749
793
  }, 1032, ["to", "href"])]))), 128))]),
750
794
  d("button", {
@@ -753,9 +797,9 @@ var ne = { class: "mwnf-standalone-sponsors" }, re = {
753
797
  disabled: a.value >= c.value,
754
798
  "aria-label": w(r)(e.nextLabel),
755
799
  onClick: i[1] ||= (e) => a.value = Math.min(c.value, a.value + 1)
756
- }, "›", 8, Ze)
800
+ }, "›", 8, nt)
757
801
  ], 4)) : l("", !0);
758
802
  }
759
803
  };
760
804
  //#endregion
761
- export { Q as RelatedContent, R as StandaloneBanner, Oe as StandaloneHome, Be as StandaloneItemSheet, fe as StandaloneShell, Qe as StandaloneSlider, Y as StandaloneSponsors, Ke as StandaloneSubNav, Ue as StandaloneTextPage, Z as StandaloneTileGrid, X as TodayHighlight, B as byLanguage, V as dayOfYear, U as legacyHomeItemKey, H as pickForDay };
805
+ export { Q as RelatedContent, z as StandaloneBanner, Ne as StandaloneHome, Ge as StandaloneItemSheet, _e as StandaloneShell, rt as StandaloneSlider, Y as StandaloneSponsors, Ze as StandaloneSubNav, $ as StandaloneTextPage, Z as StandaloneTileGrid, X as TodayHighlight, V as byLanguage, H as dayOfYear, W as legacyHomeItemKey, U as pickForDay };
@@ -1,4 +1,4 @@
1
- import { A as e } from "./data-CJlLA-Mf.js";
1
+ import { A as e } from "./data-CGFEbGab.js";
2
2
  //#region src/dxa/exhibition/themeSpecs.js
3
3
  var { aboutTheme: t, owningTheme: n, subIndexOf: r, themeRouteId: i, themeTree: a } = e;
4
4
  function o(e) {