@museumwnf/viewer-layout 3.13.1 → 3.13.2

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 (2) hide show
  1. package/dist/minisite.js +273 -269
  2. package/package.json +1 -1
package/dist/minisite.js CHANGED
@@ -33,7 +33,7 @@ var G = {
33
33
  }, ee = {
34
34
  key: 1,
35
35
  class: "mwnf-minisite"
36
- }, te = { class: "mwnf-minisite__column" }, K = { class: "mwnf-minisite-header" }, ne = { class: "mwnf-minisite-header__logo" }, re = ["href"], ie = ["src"], q = { class: "mwnf-minisite-header__nav" }, ae = { class: "mwnf-minisite-header__back" }, oe = ["href"], se = ["value", "aria-label"], ce = ["value"], le = { class: "mwnf-minisite-menu" }, ue = { class: "mwnf-minisite-menu__list" }, de = ["href", "onClick"], fe = ["href"], pe = { class: "mwnf-minisite-footer" }, me = ["href"], he = {
36
+ }, K = { class: "mwnf-minisite__column" }, q = { class: "mwnf-minisite-header" }, te = { class: "mwnf-minisite-header__logo" }, ne = ["href"], re = ["src"], J = { class: "mwnf-minisite-header__nav" }, ie = { class: "mwnf-minisite-header__back" }, ae = ["href"], oe = ["value", "aria-label"], se = ["value"], ce = { class: "mwnf-minisite-menu" }, le = { class: "mwnf-minisite-menu__list" }, ue = ["href", "onClick"], de = ["href"], fe = { class: "mwnf-minisite-footer" }, pe = ["href"], me = {
37
37
  __name: "Shell",
38
38
  props: {
39
39
  languages: {
@@ -92,15 +92,15 @@ var G = {
92
92
  style: f({ backgroundImage: O.value[0] ? `url(${O.value[0]})` : "none" }),
93
93
  "aria-hidden": "true"
94
94
  }, null, 4),
95
- c("div", te, [
96
- c("header", K, [c("div", ne, [w((p(), s("a", { href: t.logoHref }, [c("img", {
95
+ c("div", K, [
96
+ c("header", q, [c("div", te, [w((p(), s("a", { href: t.logoHref }, [c("img", {
97
97
  src: C(`legacy/logo_${t.language}.gif`),
98
98
  alt: "",
99
99
  height: "60"
100
- }, null, 8, ie)], 8, re)), [[b(G), { text: b(m)(t.logoTip) }]])]), c("div", q, [c("div", ae, [(p(!0), s(n, null, g(t.headerLinks, (e, t) => (p(), s(n, { key: e.label }, [t > 0 ? (p(), s(n, { key: 0 }, [l("\xA0|\xA0")], 64)) : o("", !0), w((p(), s("a", {
100
+ }, null, 8, re)], 8, ne)), [[b(G), { text: b(m)(t.logoTip) }]])]), c("div", J, [c("div", ie, [(p(!0), s(n, null, g(t.headerLinks, (e, t) => (p(), s(n, { key: e.label }, [t > 0 ? (p(), s(n, { key: 0 }, [l("\xA0|\xA0")], 64)) : o("", !0), w((p(), s("a", {
101
101
  class: "mwnf-minisite-header__link",
102
102
  href: e.href
103
- }, [l(y(b(m)(e.label)), 1)], 8, oe)), [[b(G), { text: e.tip ? b(m)(e.tip) : "" }]])], 64))), 128))]), c("div", null, [c("select", {
103
+ }, [l(y(b(m)(e.label)), 1)], 8, ae)), [[b(G), { text: e.tip ? b(m)(e.tip) : "" }]])], 64))), 128))]), c("div", null, [c("select", {
104
104
  class: "mwnf-minisite-header__select",
105
105
  value: t.language,
106
106
  "aria-label": b(m)("layout.language.label"),
@@ -108,18 +108,18 @@ var G = {
108
108
  }, [(p(!0), s(n, null, g(E.value, (e) => (p(), s("option", {
109
109
  key: e.code,
110
110
  value: e.code
111
- }, y(e.label), 9, ce))), 128))], 40, se)])])]),
111
+ }, y(e.label), 9, se))), 128))], 40, oe)])])]),
112
112
  c("main", null, [_(e.$slots, "default")]),
113
- c("nav", le, [c("ul", ue, [(p(!0), s(n, null, g(t.menu, (e, r) => (p(), s(n, { key: e.label }, [r > 0 && t.menuSeparator ? (p(), s(n, { key: 0 }, [l("|")], 64)) : o("", !0), c("li", null, [e.window ? (p(), s("a", {
113
+ c("nav", ce, [c("ul", le, [(p(!0), s(n, null, g(t.menu, (e, r) => (p(), s(n, { key: e.label }, [r > 0 && t.menuSeparator ? (p(), s(n, { key: 0 }, [l("|")], 64)) : o("", !0), c("li", null, [e.window ? (p(), s("a", {
114
114
  key: 0,
115
115
  href: e.href,
116
116
  onClick: T((t) => k(e), ["prevent"])
117
- }, y(b(m)(e.label)), 9, de)) : (p(), s("a", {
117
+ }, y(b(m)(e.label)), 9, ue)) : (p(), s("a", {
118
118
  key: 1,
119
119
  href: e.href
120
- }, y(b(m)(e.label)), 9, fe))])], 64))), 128))])]),
120
+ }, y(b(m)(e.label)), 9, de))])], 64))), 128))])]),
121
121
  r[2] ||= c("div", { class: "mwnf-minisite-menu__line" }, null, -1),
122
- c("footer", pe, [(p(!0), s(n, null, g(t.footerLinks, (e) => (p(), s(n, { key: e.label }, [c("a", { href: e.href }, y(b(m)(e.label)), 9, me), r[1] ||= l("\xA0|\xA0 ", -1)], 64))), 128)), l(y(b(m)(t.copyright)) + " " + y(b(D)), 1)])
122
+ c("footer", fe, [(p(!0), s(n, null, g(t.footerLinks, (e) => (p(), s(n, { key: e.label }, [c("a", { href: e.href }, y(b(m)(e.label)), 9, pe), r[1] ||= l("\xA0|\xA0 ", -1)], 64))), 128)), l(y(b(m)(t.copyright)) + " " + y(b(D)), 1)])
123
123
  ]),
124
124
  c("div", {
125
125
  class: "mwnf-minisite__strip",
@@ -136,20 +136,20 @@ var G = {
136
136
  role: "tooltip"
137
137
  }, y(b(H).text), 5), [[x, b(H).visible]])], 64));
138
138
  }
139
- }, ge = [
139
+ }, he = [
140
140
  [/[‘’]/g, "'"],
141
141
  [/[“”]/g, "\""],
142
142
  [/…/g, "..."],
143
143
  [/•/g, "*"]
144
144
  ];
145
- function J(e) {
146
- return ge.reduce((e, [t, n]) => e.replace(t, n), String(e ?? ""));
145
+ function Y(e) {
146
+ return he.reduce((e, [t, n]) => e.replace(t, n), String(e ?? ""));
147
147
  }
148
- var _e = /^(Theme|Page) \d+$/, ve = {
148
+ var ge = /^(Theme|Page) \d+$/, _e = {
149
149
  partners: ["325b7505-1527-5442-99ea-6a40f8c43d3f"],
150
150
  monuments: (/* @__PURE__ */ "01.02.03.04.05.06.07.08.09.10.11.14.18.19.20.21.24.25.26.27.28.29.30.31.32.33.34.35".split(".")).map((e) => `PA ${e}`)
151
151
  };
152
- function ye(e, t) {
152
+ function ve(e, t) {
153
153
  return e.flatMap((e, n) => t(e.id).map((t, r) => ({
154
154
  theme: n + 1,
155
155
  page: r + 1,
@@ -157,7 +157,7 @@ function ye(e, t) {
157
157
  themeNode: e
158
158
  })));
159
159
  }
160
- function be(e, t, n) {
160
+ function ye(e, t, n) {
161
161
  let r = e.findIndex((e) => e.theme === t && e.page === n);
162
162
  if (r < 0) return null;
163
163
  let i = (e) => ({
@@ -173,7 +173,7 @@ function be(e, t, n) {
173
173
  next: r < e.length - 1 ? i(e[r + 1]) : null
174
174
  };
175
175
  }
176
- function xe(e) {
176
+ function be(e) {
177
177
  let t = /* @__PURE__ */ new Map();
178
178
  for (let n of e?.items ?? []) {
179
179
  let e = n.display_order ?? 0;
@@ -192,28 +192,28 @@ function xe(e) {
192
192
  }])
193
193
  }));
194
194
  }
195
- function Se(e, t, n) {
195
+ function xe(e, t, n) {
196
196
  return !e || e.type === "object" && n?.partners?.includes(e.partner_id) || e.type === "monument" && n?.monuments?.includes(e.mwnf_reference) ? "" : t(e);
197
197
  }
198
- function Ce(e, t, n, r) {
198
+ function Se(e, t, n, r) {
199
199
  return [
200
200
  M(t.location ?? ""),
201
201
  M(t.province ?? ""),
202
- Se(e, n, r)
202
+ xe(e, n, r)
203
203
  ].filter(Boolean).join(", ");
204
204
  }
205
- function we({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i }) {
206
- return n.location ? [n.location, e ? r(e) : ""].filter(Boolean).join(", ") : Ce(e, t, r, i);
205
+ function Ce({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i }) {
206
+ return n.location ? [n.location, e ? r(e) : ""].filter(Boolean).join(", ") : Se(e, t, r, i);
207
207
  }
208
- function Te(e, t, n) {
208
+ function we(e, t, n) {
209
209
  let r = e?.type === "object" ? t.artist : t.architects, i = [].concat(t.materials ?? []).filter(Boolean).join(", ");
210
210
  return {
211
- artist: J(n.artist || M(r ?? "")),
212
- material: J(n.material || M(i))
211
+ artist: Y(n.artist || M(r ?? "")),
212
+ material: Y(n.material || M(i))
213
213
  };
214
214
  }
215
- function Ee({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i, family: a }) {
216
- let o = e?.type === "object" ? n.museum || M(t.holder ?? "") : "", s = we({
215
+ function Te({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i, family: a }) {
216
+ let o = e?.type === "object" ? n.museum || M(t.holder ?? "") : "", s = Ce({
217
217
  item: e,
218
218
  own: t,
219
219
  caption: n,
@@ -221,15 +221,15 @@ function Ee({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i, fa
221
221
  noCountry: i
222
222
  });
223
223
  return {
224
- name: J(n.name ? M(n.name) : M(t.name ?? "")),
225
- detailName: J(n.detail_name),
226
- dateLines: [n.date || M(t.dates ?? ""), n.dynasty || M(t.dynasty ?? "")].filter(Boolean).map(J),
227
- details: [o, s].filter(Boolean).map(J),
228
- ...a === "BAR" ? Te(e, t, n) : {},
229
- justification: J(n.justification)
224
+ name: Y(n.name ? M(n.name) : M(t.name ?? "")),
225
+ detailName: Y(n.detail_name),
226
+ dateLines: [n.date || M(t.dates ?? ""), n.dynasty || M(t.dynasty ?? "")].filter(Boolean).map(Y),
227
+ details: [o, s].filter(Boolean).map(Y),
228
+ ...a === "BAR" ? we(e, t, n) : {},
229
+ justification: Y(n.justification)
230
230
  };
231
231
  }
232
- function De({ caption: e = {}, first: t = {}, record: n = {}, placement: r }) {
232
+ function Ee({ caption: e = {}, first: t = {}, record: n = {}, placement: r }) {
233
233
  let i = (n, r = "") => e[n] || t[n] || r || "";
234
234
  return {
235
235
  name: M(i("name", n.name)),
@@ -240,13 +240,13 @@ function De({ caption: e = {}, first: t = {}, record: n = {}, placement: r }) {
240
240
  i("museum"),
241
241
  i("location", n.location)
242
242
  ].filter(Boolean),
243
- details: r ? [we(r)].filter(Boolean).map(J) : [],
243
+ details: r ? [Ce(r)].filter(Boolean).map(Y) : [],
244
244
  artist: i("artist", n.artist),
245
245
  material: i("material"),
246
246
  justification: e.justification || t.justification || ""
247
247
  };
248
248
  }
249
- function Oe(e, t, n = "ISL") {
249
+ function De(e, t, n = "ISL") {
250
250
  return {
251
251
  name: e.name || t.name,
252
252
  detailName: n === "BAR" ? e.detailName : e.detailName || t.detailName,
@@ -257,27 +257,27 @@ function Oe(e, t, n = "ISL") {
257
257
  justification: e.justification || t.justification
258
258
  };
259
259
  }
260
- function ke(e, t, n) {
260
+ function Oe(e, t, n) {
261
261
  let r = (e) => {
262
262
  let t = e ? n(e.entry.id) : null;
263
263
  return t && t.type !== "picture" ? t.id : null;
264
264
  };
265
265
  return r(e?.variants[t]) ?? r(e?.variants[0]) ?? null;
266
266
  }
267
- function Ae(e, t) {
267
+ function ke(e, t) {
268
268
  return e?.variants[t]?.image || e?.variants[0]?.image || null;
269
269
  }
270
- function je({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i }) {
271
- let a = (e, t) => e ? J(M(e)) : t;
270
+ function Ae({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i }) {
271
+ let a = (e, t) => e ? Y(M(e)) : t;
272
272
  return [
273
273
  a(n.name, M(t.name ?? "")),
274
274
  a(n.date, M(t.dates ?? "")),
275
- a(n.dynasty, J(M(t.dynasty ?? ""))),
275
+ a(n.dynasty, Y(M(t.dynasty ?? ""))),
276
276
  e?.type === "object" ? a(n.museum, M(t.holder ?? "")) : "",
277
- a(n.location, Ce(e, t, r, i))
277
+ a(n.location, Se(e, t, r, i))
278
278
  ];
279
279
  }
280
- function Me(e, { partnerName: t, partnerCountry: n, countryName: r }) {
280
+ function je(e, { partnerName: t, partnerCountry: n, countryName: r }) {
281
281
  let i = (e) => e ? r(e) : "";
282
282
  return e.partner ? e.place ? [
283
283
  t(e.partner),
@@ -285,15 +285,15 @@ function Me(e, { partnerName: t, partnerCountry: n, countryName: r }) {
285
285
  i(e.country)
286
286
  ].filter(Boolean).join(", ") : [t(e.partner), i(n(e.partner))].filter(Boolean).join(", ") : [e.name, i(e.country)].filter(Boolean).join(", ");
287
287
  }
288
- function Ne(e, t) {
288
+ function Me(e, t) {
289
289
  return "href" in e ? e.href : t?.(e.partner);
290
290
  }
291
- function Pe(e) {
291
+ function Ne(e) {
292
292
  return /(^|[^*])\*[^*\s][^*]*\*/.test(e ?? "") || /\b_[^_]+_\b/.test(e ?? "");
293
293
  }
294
294
  //#endregion
295
295
  //#region src/minisite/exhibition.js
296
- var Y = {
296
+ var Pe = {
297
297
  ISL: "minisite",
298
298
  BAR: "minisiteBaroque",
299
299
  SH: "minisiteSharingHistory"
@@ -302,7 +302,7 @@ function Fe(e) {
302
302
  return e?.family ?? "ISL";
303
303
  }
304
304
  function Ie(e) {
305
- return e?.texts ?? Y[Fe(e)] ?? Y.ISL;
305
+ return e?.texts ?? Pe[Fe(e)] ?? Pe.ISL;
306
306
  }
307
307
  var Le = [
308
308
  "collections",
@@ -337,10 +337,10 @@ var Be = [
337
337
  function X() {
338
338
  let { pkg: t, data: n, tree: r } = ze(), { locale: a, t: o } = R(), s = z(), c = s.minisite ?? {}, l = Fe(c), u = Ie(c), d = (e) => o(`${u}.${e}`), f = V(), p = i(() => a.value);
339
339
  S(p, (e) => Promise.all(Le.flatMap((n) => [t.loadTranslations(n, e), t.loadTranslations(n, "en")])), { immediate: !0 });
340
- let m = r.root, h = i(() => m.value ? r.children(m.value.id) : []), g = i(() => ye(h.value, r.children));
340
+ let m = r.root, h = i(() => m.value ? r.children(m.value.id) : []), g = i(() => ve(h.value, r.children));
341
341
  function _(e) {
342
342
  let n = t.translations("collections", p.value)[e] ?? {};
343
- return _e.test(n.title ?? "") ? {
343
+ return ge.test(n.title ?? "") ? {
344
344
  ...n,
345
345
  title: ""
346
346
  } : n;
@@ -358,16 +358,16 @@ function X() {
358
358
  }
359
359
  function b(e, t) {
360
360
  let r = (t) => {
361
- if (!t.view) return Ee(y(t.entry));
361
+ if (!t.view) return Te(y(t.entry));
362
362
  let r = e.variants[0];
363
- return De({
363
+ return Ee({
364
364
  caption: t.view.caption?.[p.value] ?? {},
365
365
  first: r.view ? r.view.caption?.[p.value] ?? {} : {},
366
366
  record: t.view.id ? n.tr("items", t.view.id, p.value) : {},
367
367
  placement: y(t.entry)
368
368
  });
369
369
  }, i = e?.variants[t];
370
- return i ? Oe(r(i), r(e.variants[0]), l) : null;
370
+ return i ? De(r(i), r(e.variants[0]), l) : null;
371
371
  }
372
372
  function x(e) {
373
373
  let r = _(e).glossary_ids ?? [];
@@ -402,11 +402,11 @@ function X() {
402
402
  picture: C,
403
403
  href: w,
404
404
  glossaryFor: x,
405
- pageAt: (e, t) => be(g.value, e, t),
406
- slots: xe,
407
- placementCaption: (e) => Ee(y(e)),
405
+ pageAt: (e, t) => ye(g.value, e, t),
406
+ slots: be,
407
+ placementCaption: (e) => Te(y(e)),
408
408
  viewCaption: b,
409
- introCaption: (e) => je(y(e)),
409
+ introCaption: (e) => Ae(y(e)),
410
410
  title: i(() => m.value ? _(m.value.id).title ?? "" : "")
411
411
  };
412
412
  }
@@ -442,11 +442,11 @@ var He = { class: "mwnf-minisite-home" }, Ue = { class: "mwnf-minisite-home__tit
442
442
  }))), F = i(() => x.value.slice(N.value).map((e, t) => ({
443
443
  theme: e,
444
444
  number: N.value + t + 1
445
- }))), I = i(() => O.curators ?? []), L = (e) => Me(e, {
445
+ }))), I = i(() => O.curators ?? []), L = (e) => je(e, {
446
446
  partnerName: (e) => h.tr("partners", e, m.value).name,
447
447
  partnerCountry: (e) => h.partnerById.value.get(e)?.country_id,
448
448
  countryName: (e) => h.tr("countries", e, m.value).name
449
- }), R = (e) => Ne(e, O.partnerHref), z = i(() => _.value ? E(_.value.id).extra?.credits ?? "" : ""), B = i(() => O.design ?? null), V = i(() => d === "BAR" ? k(O.banner) : null), H = i(() => k(m.value === "ar" ? "legacy/home_bg_ar.jpg" : "legacy/home_bg.jpg"));
449
+ }), R = (e) => Me(e, O.partnerHref), z = i(() => _.value ? E(_.value.id).extra?.credits ?? "" : ""), B = i(() => O.design ?? null), V = i(() => d === "BAR" ? k(O.banner) : null), H = i(() => k(m.value === "ar" ? "legacy/home_bg_ar.jpg" : "legacy/home_bg.jpg"));
450
450
  return S([D, m], () => {
451
451
  document.title = [t("identity.windowTitle"), D.value].filter(Boolean).join(" | ");
452
452
  }, { immediate: !0 }), (e, i) => {
@@ -775,30 +775,30 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
775
775
  slot: 0,
776
776
  variant: 0
777
777
  });
778
- let W = i(() => V.value[U.value.slot] ?? null), ee = i(() => W.value?.variants[U.value.variant] ?? null), te = i(() => Ae(W.value, U.value.variant)), K = i(() => !W.value || !ee.value ? null : {
778
+ let W = i(() => V.value[U.value.slot] ?? null), ee = i(() => W.value?.variants[U.value.variant] ?? null), K = i(() => ke(W.value, U.value.variant)), q = i(() => !W.value || !ee.value ? null : {
779
779
  ...F(W.value, U.value.variant),
780
- sheetId: ke(W.value, U.value.variant, (e) => E.itemById.value.get(e))
780
+ sheetId: Oe(W.value, U.value.variant, (e) => E.itemById.value.get(e))
781
781
  });
782
- function ne(e) {
782
+ function te(e) {
783
783
  U.value = {
784
784
  slot: e,
785
785
  variant: 0
786
786
  };
787
787
  }
788
- function re(e) {
788
+ function ne(e) {
789
789
  U.value = {
790
790
  ...U.value,
791
791
  variant: e
792
792
  };
793
793
  }
794
- function ie() {
795
- te.value && Z(j({
794
+ function re() {
795
+ K.value && Z(j({
796
796
  name: "zoom",
797
- query: { img: te.value }
797
+ query: { img: K.value }
798
798
  }), Ve.zoom);
799
799
  }
800
- let q = L(B);
801
- function ae() {
800
+ let J = L(B);
801
+ function ie() {
802
802
  yt({
803
803
  documentTitle: k.documentTitle,
804
804
  title: D.value,
@@ -820,13 +820,13 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
820
820
  r.page
821
821
  ].filter(Boolean).join(" | ");
822
822
  }, { immediate: !0 });
823
- let oe = i(() => A(x.value === "ar" ? "legacy/exhibition_bg_ar.jpg" : "legacy/exhibition_bg.jpg"));
823
+ let ae = i(() => A(x.value === "ar" ? "legacy/exhibition_bg_ar.jpg" : "legacy/exhibition_bg.jpg"));
824
824
  return (e, r) => {
825
825
  let i = v("router-link");
826
826
  return R.value ? (p(), s("div", {
827
827
  key: 0,
828
828
  class: "mwnf-minisite-page",
829
- style: f({ backgroundImage: oe.value ? `url(${oe.value})` : "none" })
829
+ style: f({ backgroundImage: ae.value ? `url(${ae.value})` : "none" })
830
830
  }, [
831
831
  c("div", Wt, [
832
832
  c("div", Gt, y(b(D)), 1),
@@ -852,7 +852,7 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
852
852
  ]),
853
853
  c("div", Jt, [c("div", {
854
854
  class: "mwnf-minisite-page__text",
855
- onClick: r[0] ||= (...e) => b(q).onClick && b(q).onClick(...e)
855
+ onClick: r[0] ||= (...e) => b(J).onClick && b(J).onClick(...e)
856
856
  }, [
857
857
  c("div", {
858
858
  class: "mwnf-minisite-page__page-title",
@@ -861,7 +861,7 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
861
861
  c("div", Xt, [(p(!0), s(n, null, g(V.value, (e, t) => w((p(), s("a", {
862
862
  key: e.n,
863
863
  href: "#",
864
- onClick: T((e) => ne(t), ["prevent"])
864
+ onClick: T((e) => te(t), ["prevent"])
865
865
  }, [e.variants[0].image ? (p(), s("img", {
866
866
  key: 0,
867
867
  src: e.variants[0].image,
@@ -872,54 +872,54 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
872
872
  width: 160
873
873
  }]])), 128))]),
874
874
  c("div", {
875
- class: d(["mwnf-minisite-page__quote", { "mwnf-minisite-page__quote--own-italics": b(Pe)(H.value) }]),
875
+ class: d(["mwnf-minisite-page__quote", { "mwnf-minisite-page__quote--own-italics": b(Ne)(H.value) }]),
876
876
  innerHTML: b(E).mdInline(H.value, { glossary: B.value })
877
877
  }, null, 10, $t),
878
878
  c("div", {
879
879
  class: "mwnf-minisite-page__content",
880
880
  innerHTML: b(E).md(z.value.description, { glossary: B.value })
881
881
  }, null, 8, en),
882
- u(wt, { word: ae })
883
- ]), c("div", tn, [c("div", nn, [te.value ? w((p(), s("a", {
882
+ u(wt, { word: ie })
883
+ ]), c("div", tn, [c("div", nn, [K.value ? w((p(), s("a", {
884
884
  key: 0,
885
885
  href: "#",
886
- onClick: T(ie, ["prevent"])
886
+ onClick: T(re, ["prevent"])
887
887
  }, [c("img", {
888
- src: te.value,
888
+ src: K.value,
889
889
  alt: ""
890
- }, null, 8, rn)])), [[b(G), { text: b(m)("item.showZoom") }]]) : o("", !0)]), K.value ? (p(), s("div", an, [
890
+ }, null, 8, rn)])), [[b(G), { text: b(m)("item.showZoom") }]]) : o("", !0)]), q.value ? (p(), s("div", an, [
891
891
  c("div", null, [
892
- c("strong", { innerHTML: b(E).mdInline(K.value.name) }, null, 8, on),
892
+ c("strong", { innerHTML: b(E).mdInline(q.value.name) }, null, 8, on),
893
893
  r[5] ||= c("br", null, null, -1),
894
- c("span", { innerHTML: b(E).mdInline(K.value.detailName) }, null, 8, sn),
894
+ c("span", { innerHTML: b(E).mdInline(q.value.detailName) }, null, 8, sn),
895
895
  r[6] ||= c("br", null, null, -1),
896
- (p(!0), s(n, null, g(K.value.dateLines, (e, t) => (p(), s(n, { key: t }, [t > 0 ? (p(), s("br", cn)) : o("", !0), c("span", { innerHTML: b(E).mdInline(e) }, null, 8, ln)], 64))), 128))
896
+ (p(!0), s(n, null, g(q.value.dateLines, (e, t) => (p(), s(n, { key: t }, [t > 0 ? (p(), s("br", cn)) : o("", !0), c("span", { innerHTML: b(E).mdInline(e) }, null, 8, ln)], 64))), 128))
897
897
  ]),
898
- c("div", null, [(p(!0), s(n, null, g(K.value.details, (e, t) => (p(), s(n, { key: t }, [c("span", { innerHTML: b(E).mdInline(e) }, null, 8, un), r[7] ||= c("br", null, null, -1)], 64))), 128))]),
899
- b(_) === "BAR" ? (p(), s(n, { key: 0 }, [c("div", { innerHTML: b(E).mdInline(K.value.artist) }, null, 8, dn), c("div", { innerHTML: b(E).mdInline(K.value.material) }, null, 8, fn)], 64)) : o("", !0),
898
+ c("div", null, [(p(!0), s(n, null, g(q.value.details, (e, t) => (p(), s(n, { key: t }, [c("span", { innerHTML: b(E).mdInline(e) }, null, 8, un), r[7] ||= c("br", null, null, -1)], 64))), 128))]),
899
+ b(_) === "BAR" ? (p(), s(n, { key: 0 }, [c("div", { innerHTML: b(E).mdInline(q.value.artist) }, null, 8, dn), c("div", { innerHTML: b(E).mdInline(q.value.material) }, null, 8, fn)], 64)) : o("", !0),
900
900
  W.value.variants.length > 1 ? (p(), s("div", pn, [(p(!0), s(n, null, g(W.value.variants, (e, t) => w((p(), s("a", {
901
901
  key: t,
902
902
  href: "#",
903
- onClick: T((e) => re(t), ["prevent"])
903
+ onClick: T((e) => ne(t), ["prevent"])
904
904
  }, [c("img", {
905
905
  src: b(A)(t === U.value.variant ? "legacy/ico_item_selected.gif" : "legacy/ico_item.gif"),
906
906
  alt: ""
907
907
  }, null, 8, hn)], 8, mn)), [[b(G), { text: b(m)("item.showDetail") }]])), 128))])) : o("", !0),
908
908
  c("div", {
909
909
  class: "mwnf-minisite-page__justification",
910
- innerHTML: b(E).mdInline(K.value.justification)
910
+ innerHTML: b(E).mdInline(q.value.justification)
911
911
  }, null, 8, gn),
912
- K.value.sheetId ? (p(), s("div", _n, [c("a", {
912
+ q.value.sheetId ? (p(), s("div", _n, [c("a", {
913
913
  class: "mwnf-minisite-page__more",
914
- href: b(k).itemHref?.(K.value.sheetId),
914
+ href: b(k).itemHref?.(q.value.sheetId),
915
915
  target: "_blank"
916
916
  }, "> " + y(b(m)("item.moreInfo")), 9, vn)])) : o("", !0)
917
917
  ])) : o("", !0)])]),
918
- b(q).active.value ? (p(), a(t, {
918
+ b(J).active.value ? (p(), a(t, {
919
919
  key: 0,
920
- term: b(q).active.value,
921
- html: b(E).md(b(q).active.value.definition),
922
- onClose: b(q).close
920
+ term: b(J).active.value,
921
+ html: b(E).md(b(J).active.value.definition),
922
+ onClose: b(J).close
923
923
  }, null, 8, [
924
924
  "term",
925
925
  "html",
@@ -1019,7 +1019,7 @@ function An(e) {
1019
1019
  }
1020
1020
  ];
1021
1021
  }
1022
- function jn(e, t = Y.ISL) {
1022
+ function jn(e, t = Pe.ISL) {
1023
1023
  return [
1024
1024
  {
1025
1025
  label: `${t}.menu.permanentCollection`,
@@ -1052,7 +1052,7 @@ function jn(e, t = Y.ISL) {
1052
1052
  }
1053
1053
  ];
1054
1054
  }
1055
- function Mn(e, t = Y.BAR) {
1055
+ function Mn(e, t = Pe.BAR) {
1056
1056
  return [
1057
1057
  {
1058
1058
  label: `${t}.menu.permanentCollection`,
@@ -1289,10 +1289,14 @@ function ur(e) {
1289
1289
  let e = n.display_order ?? 0;
1290
1290
  t.has(e) || t.set(e, []), t.get(e).push(n);
1291
1291
  }
1292
- return [...t.entries()].sort(([e], [t]) => e - t).map(([e, t]) => ({
1293
- n: e,
1294
- variants: [...t].sort((e, t) => (e.variant_order ?? 0) - (t.variant_order ?? 0))
1295
- })).filter((e) => (e.variants[0].variant_order ?? 1) === 1);
1292
+ let n = (e) => (e.variant_order ?? 1) === 1;
1293
+ return [...t.entries()].sort(([e], [t]) => e - t).flatMap(([e, t]) => {
1294
+ let r = t.filter((e) => !n(e)).sort((e, t) => e.variant_order - t.variant_order);
1295
+ return t.filter(n).map((t) => ({
1296
+ n: e,
1297
+ variants: [t, ...r]
1298
+ }));
1299
+ });
1296
1300
  }
1297
1301
  function dr({ item: e, own: t, entry: n, lang: r, countryName: i }) {
1298
1302
  let a = e?.type !== "monument", o = [
@@ -1492,13 +1496,13 @@ var pr = {
1492
1496
  }, Dr = {
1493
1497
  key: 0,
1494
1498
  class: "mwnf-sh-home"
1495
- }, Or = { class: "mwnf-sh-home__heading" }, kr = { class: "mwnf-sh-home__title" }, Ar = ["innerHTML"], jr = { class: "mwnf-sh-home__menu" }, Mr = { class: "mwnf-sh-home__themes" }, Nr = ["src"], Pr = ["aria-expanded", "onClick"], Fr = ["src"], Ir = {
1499
+ }, Or = { class: "mwnf-sh-home__heading" }, kr = { class: "mwnf-sh-home__title" }, Ar = ["innerHTML"], jr = { class: "mwnf-sh-home__menu" }, Mr = { class: "mwnf-sh-home__themes" }, Nr = ["src"], Pr = ["aria-expanded", "onClick"], Fr = ["innerHTML"], Ir = ["src"], Lr = {
1496
1500
  key: 0,
1497
1501
  class: "mwnf-sh-home__pages"
1498
- }, Lr = ["src"], Rr = ["src"], zr = { class: "mwnf-sh-band" }, Br = { class: "mwnf-sh-band__logos" }, Vr = {
1502
+ }, Rr = ["src"], zr = ["src"], Br = { class: "mwnf-sh-band" }, Vr = { class: "mwnf-sh-band__logos" }, Hr = {
1499
1503
  key: 0,
1500
1504
  class: "mwnf-sh-band__gap"
1501
- }, Hr = ["href"], Ur = ["src"], Wr = ["src"], Gr = {
1505
+ }, Ur = ["href"], Wr = ["src"], Gr = ["src"], Kr = {
1502
1506
  __name: "Home",
1503
1507
  setup(e) {
1504
1508
  let { data: t, imagesOf: r, label: a, picture: d, root: m, settings: _, subthemesOf: x, text: S, themes: T, title: E } = $(), D = (e) => _.partnerLinks?.[e.link] ?? e.link, O = i(() => m.value ? S(m.value.id).extra?.subtitle ?? "" : ""), k = i(() => r("logo")), A = h(-1);
@@ -1521,25 +1525,25 @@ var pr = {
1521
1525
  height: "9"
1522
1526
  }, null, 8, Nr)]),
1523
1527
  _: 1
1524
- }), (p(!0), s(n, null, g(b(T), (e, t) => (p(), s("div", { key: e.id }, [c("button", {
1528
+ }), (p(!0), s(n, null, g(b(T), (e, r) => (p(), s("div", { key: e.id }, [c("button", {
1525
1529
  type: "button",
1526
1530
  class: "mwnf-sh-home__theme",
1527
- "aria-expanded": A.value === t,
1528
- onClick: (e) => A.value = A.value === t ? -1 : t
1529
- }, [l(y(b(S)(e.id).title) + " ", 1), c("img", {
1531
+ "aria-expanded": A.value === r,
1532
+ onClick: (e) => A.value = A.value === r ? -1 : r
1533
+ }, [c("span", { innerHTML: b(t).mdInline(b(S)(e.id).title ?? "") }, null, 8, Fr), c("img", {
1530
1534
  src: b(d)("legacy/arrow_black_down.gif"),
1531
1535
  alt: "",
1532
1536
  width: "15",
1533
1537
  height: "9"
1534
- }, null, 8, Fr)], 8, Pr), A.value === t ? (p(), s("ul", Ir, [c("li", null, [c("img", {
1538
+ }, null, 8, Ir)], 8, Pr), A.value === r ? (p(), s("ul", Lr, [c("li", null, [c("img", {
1535
1539
  src: b(d)("legacy/arrow_inner_black.gif"),
1536
1540
  alt: "",
1537
1541
  class: "mwnf-sh-arrow",
1538
1542
  width: "11",
1539
1543
  height: "8"
1540
- }, null, 8, Lr), u(i, { to: {
1544
+ }, null, 8, Rr), u(i, { to: {
1541
1545
  name: "theme",
1542
- params: { theme: t + 1 }
1546
+ params: { theme: r + 1 }
1543
1547
  } }, {
1544
1548
  default: C(() => [l(y(b(a)("home.overview")), 1)]),
1545
1549
  _: 1
@@ -1549,37 +1553,37 @@ var pr = {
1549
1553
  class: "mwnf-sh-arrow",
1550
1554
  width: "11",
1551
1555
  height: "8"
1552
- }, null, 8, Rr), u(i, { to: {
1553
- name: "subtheme",
1554
- params: {
1555
- theme: t + 1,
1556
- page: n + 1
1557
- }
1558
- } }, {
1559
- default: C(() => [l(y(b(S)(e.id).title), 1)]),
1560
- _: 2
1561
- }, 1032, ["to"])]))), 128))])) : o("", !0)]))), 128))]), u(xr, { "all-exhibitions": "" })]),
1562
- c("div", zr, [u(Er, { class: "mwnf-sh-band__links" }), c("div", Br, [(p(!0), s(n, null, g(k.value, (e, t) => (p(), s(n, { key: e.url }, [t > 0 ? (p(), s("span", Vr)) : o("", !0), e.link ? w((p(), s("a", {
1556
+ }, null, 8, zr), u(i, {
1557
+ to: {
1558
+ name: "subtheme",
1559
+ params: {
1560
+ theme: r + 1,
1561
+ page: n + 1
1562
+ }
1563
+ },
1564
+ innerHTML: b(t).mdInline(b(S)(e.id).title ?? "")
1565
+ }, null, 8, ["to", "innerHTML"])]))), 128))])) : o("", !0)]))), 128))]), u(xr, { "all-exhibitions": "" })]),
1566
+ c("div", Br, [u(Er, { class: "mwnf-sh-band__links" }), c("div", Vr, [(p(!0), s(n, null, g(k.value, (e, t) => (p(), s(n, { key: e.url }, [t > 0 ? (p(), s("span", Hr)) : o("", !0), e.link ? w((p(), s("a", {
1563
1567
  key: 1,
1564
1568
  href: D(e)
1565
1569
  }, [c("img", {
1566
1570
  src: e.url,
1567
1571
  alt: ""
1568
- }, null, 8, Ur)], 8, Hr)), [[b(G), { text: e.alt_text ?? "" }]]) : (p(), s("img", {
1572
+ }, null, 8, Wr)], 8, Ur)), [[b(G), { text: e.alt_text ?? "" }]]) : (p(), s("img", {
1569
1573
  key: 2,
1570
1574
  src: e.url,
1571
1575
  alt: ""
1572
- }, null, 8, Wr))], 64))), 128))])])
1576
+ }, null, 8, Gr))], 64))), 128))])])
1573
1577
  ])) : o("", !0);
1574
1578
  };
1575
1579
  }
1576
- }, Kr = { class: "mwnf-sh-banner__title" }, qr = { class: "mwnf-sh-nav" }, Jr = { class: "mwnf-sh-nav__group" }, Yr = { class: "mwnf-sh-nav__first" }, Xr = { class: "mwnf-sh-nav__second" }, Zr = ["href"], Qr = {
1580
+ }, qr = { class: "mwnf-sh-banner__title" }, Jr = { class: "mwnf-sh-nav" }, Yr = { class: "mwnf-sh-nav__group" }, Xr = { class: "mwnf-sh-nav__first" }, Zr = { class: "mwnf-sh-nav__second" }, Qr = ["href"], $r = {
1577
1581
  key: 0,
1578
1582
  class: "mwnf-sh-nav__group"
1579
- }, $r = { class: "mwnf-sh-nav__first mwnf-sh-nav__previous" }, ei = {
1583
+ }, ei = { class: "mwnf-sh-nav__first mwnf-sh-nav__previous" }, ti = {
1580
1584
  key: 0,
1581
1585
  class: "mwnf-sh-nav__second mwnf-sh-nav__next"
1582
- }, ti = {
1586
+ }, ni = {
1583
1587
  __name: "Banner",
1584
1588
  props: {
1585
1589
  kind: {
@@ -1615,21 +1619,21 @@ var pr = {
1615
1619
  style: f({ backgroundImage: b(h) ? `url(${b(h)})` : "none" })
1616
1620
  }, [
1617
1621
  n[0] ||= c("div", { class: "mwnf-sh-banner__top" }, null, -1),
1618
- c("div", Kr, y(e.heading ?? b(m)), 1),
1619
- c("nav", qr, [c("div", Jr, [c("div", Yr, [u(i, { to: { name: "home" } }, {
1622
+ c("div", qr, y(e.heading ?? b(m)), 1),
1623
+ c("nav", Jr, [c("div", Yr, [c("div", Xr, [u(i, { to: { name: "home" } }, {
1620
1624
  default: C(() => [l(y(b(r)("nav.entrance")), 1)]),
1621
1625
  _: 1
1622
- })]), c("div", Xr, [c("a", { href: `${b(a).parent}/#/exhibitions` }, y(b(r)("nav.allExhibitions")), 9, Zr)])]), e.paging ? (p(), s("div", Qr, [c("div", $r, [c("button", {
1626
+ })]), c("div", Zr, [c("a", { href: `${b(a).parent}/#/exhibitions` }, y(b(r)("nav.allExhibitions")), 9, Qr)])]), e.paging ? (p(), s("div", $r, [c("div", ei, [c("button", {
1623
1627
  type: "button",
1624
1628
  onClick: g
1625
- }, y(b(r)("nav.previous")), 1)]), e.next ? (p(), s("div", ei, [u(i, { to: e.next }, {
1629
+ }, y(b(r)("nav.previous")), 1)]), e.next ? (p(), s("div", ti, [u(i, { to: e.next }, {
1626
1630
  default: C(() => [l(y(b(r)("nav.next")), 1)]),
1627
1631
  _: 1
1628
1632
  }, 8, ["to"])])) : o("", !0)])) : o("", !0)])
1629
1633
  ], 6);
1630
1634
  };
1631
1635
  }
1632
- }, ni = { class: "mwnf-sh-download" }, ri = ["src"], ii = ["src"], ai = ["src"], oi = {
1636
+ }, ri = { class: "mwnf-sh-download" }, ii = ["src"], ai = ["src"], oi = ["src"], si = {
1633
1637
  __name: "Download",
1634
1638
  props: {
1635
1639
  title: {
@@ -1652,13 +1656,13 @@ var pr = {
1652
1656
  let e = t.blocks.map(({ heading: e, text: t }) => `${e ? `<h2>${i(A(e))}</h2>` : ""}${t ? N(t) : ""}`).join(""), n = `<!DOCTYPE html><html><head><meta charset="utf-8"><title>${i(A(t.title))}</title></head><body><h1>${i(A(t.title))}</h1>${e}</body></html>`, r = document.createElement("a");
1653
1657
  r.href = URL.createObjectURL(new window.Blob([n], { type: "application/vnd.ms-word" })), r.download = `${A(t.title).replace(/[,:]/g, "").replace(/ /g, "-")}.doc`, document.body.appendChild(r), r.click(), r.remove(), URL.revokeObjectURL(r.href);
1654
1658
  }
1655
- return (e, t) => (p(), s("div", ni, [
1659
+ return (e, t) => (p(), s("div", ri, [
1656
1660
  c("img", {
1657
1661
  src: b(r)("legacy/print.gif"),
1658
1662
  alt: "",
1659
1663
  width: "14",
1660
1664
  height: "14"
1661
- }, null, 8, ri),
1665
+ }, null, 8, ii),
1662
1666
  l(" / " + y(b(n)("download.heading")), 1),
1663
1667
  t[1] ||= c("br", null, null, -1),
1664
1668
  c("img", {
@@ -1667,7 +1671,7 @@ var pr = {
1667
1671
  class: "mwnf-sh-arrow",
1668
1672
  width: "11",
1669
1673
  height: "8"
1670
- }, null, 8, ii),
1674
+ }, null, 8, ai),
1671
1675
  c("a", {
1672
1676
  href: "#",
1673
1677
  onClick: t[0] ||= T((t) => e.window.print(), ["prevent"])
@@ -1679,94 +1683,94 @@ var pr = {
1679
1683
  class: "mwnf-sh-arrow",
1680
1684
  width: "11",
1681
1685
  height: "8"
1682
- }, null, 8, ai),
1686
+ }, null, 8, oi),
1683
1687
  c("a", {
1684
1688
  href: "#",
1685
1689
  onClick: T(a, ["prevent"])
1686
1690
  }, y(b(n)("download.asWord")), 1)
1687
1691
  ]));
1688
1692
  }
1689
- }, si = {
1693
+ }, ci = {
1690
1694
  key: 0,
1691
1695
  style: { "font-size": "calc(11px * var(--sh-text-scale, 1))" }
1692
- }, ci = { class: "mwnf-sh-intro" }, li = { class: "mwnf-sh-intro__text" }, ui = { class: "mwnf-sh-intro__heading" }, di = ["innerHTML"], fi = { class: "mwnf-sh-intro__pictures" }, pi = {
1696
+ }, li = { class: "mwnf-sh-intro" }, ui = { class: "mwnf-sh-intro__text" }, di = { class: "mwnf-sh-intro__heading" }, fi = ["innerHTML"], pi = { class: "mwnf-sh-intro__pictures" }, mi = {
1693
1697
  key: 0,
1694
1698
  class: "mwnf-sh-intro__picture"
1695
- }, mi = { class: "mwnf-sh-intro__frame" }, hi = ["src"], gi = ["src"], _i = ["innerHTML"], vi = ["innerHTML"], yi = ["innerHTML"], bi = ["src"], xi = ["href"], Si = {
1699
+ }, hi = { class: "mwnf-sh-intro__frame" }, gi = ["src"], _i = ["src"], vi = ["innerHTML"], yi = ["innerHTML"], bi = ["innerHTML"], xi = ["src"], Si = ["href"], Ci = {
1696
1700
  key: 1,
1697
1701
  class: "mwnf-sh-intro__thumbs"
1698
- }, Ci = ["onClick"], wi = ["src"], Ti = { class: "mwnf-sh-bottom" }, Ei = { class: "mwnf-sh-bottom__pages" }, Di = ["src"], Oi = { class: "mwnf-sh-bottom__current" }, ki = ["src"], Ai = { class: "mwnf-sh-bottom__related" }, ji = {
1702
+ }, wi = ["onClick"], Ti = ["src"], Ei = { class: "mwnf-sh-bottom" }, Di = { class: "mwnf-sh-bottom__pages" }, Oi = ["src"], ki = { class: "mwnf-sh-bottom__current" }, Ai = ["src"], ji = { class: "mwnf-sh-bottom__related" }, Mi = {
1699
1703
  __name: "Introduction",
1700
1704
  setup(e) {
1701
1705
  let { caption: t, data: r, href: a, label: d, lang: f, pages: m, picture: _, root: x, settings: S, text: T, themes: E, title: D } = $(), O = i(() => x.value ? T(x.value.id) : {}), k = i(() => m.value[0] ? {
1702
1706
  name: "theme",
1703
1707
  params: { theme: 1 }
1704
- } : null), A = i(() => [...x.value?.items ?? []].filter((e) => e.image_url).sort((e, t) => (e.display_order ?? 0) - (t.display_order ?? 0)).slice(0, 5)), j = h(0), M = i(() => A.value[j.value] ?? null), N = i(() => {
1705
- if (!M.value) return null;
1706
- let e = r.tr("items", M.value.id, f.value), n = r.itemById.value.get(M.value.id)?.images?.[0]?.photographers ?? {};
1708
+ } : null), j = i(() => [...x.value?.items ?? []].filter((e) => e.image_url).sort((e, t) => (e.display_order ?? 0) - (t.display_order ?? 0)).slice(0, 5)), M = h(0), N = i(() => j.value[M.value] ?? null), P = i(() => {
1709
+ if (!N.value) return null;
1710
+ let e = r.tr("items", N.value.id, f.value), n = r.itemById.value.get(N.value.id)?.images?.[0]?.photographers ?? {};
1707
1711
  return {
1708
- ...t(M.value),
1712
+ ...t(N.value),
1709
1713
  secondName: e.second_name ?? "",
1710
1714
  photographer: n[f.value] ?? n.en ?? ""
1711
1715
  };
1712
- }), P = i(() => M.value ? `${S.parent}/#/item/${encodeURIComponent(M.value.id)}` : "");
1713
- function F() {
1716
+ }), F = i(() => N.value ? `${S.parent}/#/item/${encodeURIComponent(N.value.id)}` : "");
1717
+ function I() {
1714
1718
  Z(a({
1715
1719
  name: "zoom",
1716
- query: { img: M.value.image_url }
1720
+ query: { img: N.value.image_url }
1717
1721
  }), pr.zoom);
1718
1722
  }
1719
1723
  return (e, t) => {
1720
1724
  let i = v("router-link");
1721
- return b(x) ? (p(), s("div", si, [
1722
- u(ti, {
1725
+ return b(x) ? (p(), s("div", ci, [
1726
+ u(ni, {
1723
1727
  kind: "intro",
1724
1728
  previous: { name: "home" },
1725
1729
  next: k.value
1726
1730
  }, null, 8, ["next"]),
1727
- c("div", ci, [c("div", li, [
1728
- c("div", ui, y(b(d)("home.introduction")), 1),
1731
+ c("div", li, [c("div", ui, [
1732
+ c("div", di, y(b(d)("home.introduction")), 1),
1729
1733
  c("div", {
1730
1734
  class: "mwnf-sh-intro__body",
1731
1735
  innerHTML: b(r).md(O.value.description ?? "")
1732
- }, null, 8, di),
1733
- u(oi, {
1736
+ }, null, 8, fi),
1737
+ u(si, {
1734
1738
  title: b(D),
1735
1739
  blocks: [{
1736
1740
  heading: b(d)("home.introduction"),
1737
1741
  text: O.value.description ?? ""
1738
1742
  }]
1739
1743
  }, null, 8, ["title", "blocks"])
1740
- ]), c("div", fi, [M.value ? (p(), s("div", pi, [
1741
- c("div", mi, [c("div", null, [
1744
+ ]), c("div", pi, [N.value ? (p(), s("div", mi, [
1745
+ c("div", hi, [c("div", null, [
1742
1746
  w((p(), s("button", {
1743
1747
  type: "button",
1744
- onClick: F
1748
+ onClick: I
1745
1749
  }, [c("img", {
1746
1750
  class: "mwnf-sh-intro__shown",
1747
- src: M.value.image_url,
1751
+ src: N.value.image_url,
1748
1752
  alt: ""
1749
- }, null, 8, hi)])), [[b(G), { text: b(d)("item.showZoom") }]]),
1753
+ }, null, 8, gi)])), [[b(G), { text: b(d)("item.showZoom") }]]),
1750
1754
  t[0] ||= l("\xA0", -1),
1751
1755
  t[1] ||= c("br", null, null, -1),
1752
1756
  w((p(), s("button", {
1753
1757
  type: "button",
1754
- onClick: F
1758
+ onClick: I
1755
1759
  }, [c("img", {
1756
1760
  src: b(_)("legacy/magnify.png"),
1757
1761
  alt: "",
1758
1762
  width: "15",
1759
1763
  height: "15"
1760
- }, null, 8, gi)])), [[b(G), { text: b(d)("item.showZoom") }]])
1764
+ }, null, 8, _i)])), [[b(G), { text: b(d)("item.showZoom") }]])
1761
1765
  ])]),
1762
- N.value.name ? (p(), s("b", {
1766
+ P.value.name ? (p(), s("b", {
1763
1767
  key: 0,
1764
- innerHTML: b(r).mdInline(N.value.name)
1765
- }, null, 8, _i)) : o("", !0),
1766
- N.value.secondName ? (p(), s(n, { key: 1 }, [
1768
+ innerHTML: b(r).mdInline(P.value.name)
1769
+ }, null, 8, vi)) : o("", !0),
1770
+ P.value.secondName ? (p(), s(n, { key: 1 }, [
1767
1771
  t[2] ||= c("br", null, null, -1),
1768
1772
  t[3] ||= c("br", null, null, -1),
1769
- c("b", { innerHTML: b(r).mdInline(N.value.secondName) }, null, 8, vi)
1773
+ c("b", { innerHTML: b(r).mdInline(P.value.secondName) }, null, 8, yi)
1770
1774
  ], 64)) : o("", !0),
1771
1775
  (p(), s(n, null, g([
1772
1776
  "date",
@@ -1775,10 +1779,10 @@ var pr = {
1775
1779
  "material",
1776
1780
  "architects",
1777
1781
  "photographer"
1778
- ], (e) => (p(), s(n, { key: e }, [N.value[e] ? (p(), s(n, { key: 0 }, [
1782
+ ], (e) => (p(), s(n, { key: e }, [P.value[e] ? (p(), s(n, { key: 0 }, [
1779
1783
  t[4] ||= c("br", null, null, -1),
1780
1784
  t[5] ||= c("br", null, null, -1),
1781
- c("span", { innerHTML: b(r).mdInline(N.value[e]) }, null, 8, yi)
1785
+ c("span", { innerHTML: b(r).mdInline(P.value[e]) }, null, 8, bi)
1782
1786
  ], 64)) : o("", !0)], 64))), 64)),
1783
1787
  t[6] ||= c("br", null, null, -1),
1784
1788
  t[7] ||= c("br", null, null, -1),
@@ -1788,40 +1792,40 @@ var pr = {
1788
1792
  class: "mwnf-sh-arrow",
1789
1793
  width: "11",
1790
1794
  height: "8"
1791
- }, null, 8, bi),
1792
- c("a", { href: P.value }, y(b(d)("item.moreInfo")), 9, xi)
1793
- ])) : o("", !0), A.value.length ? (p(), s("div", Si, [(p(!0), s(n, null, g(A.value, (e, t) => (p(), s("button", {
1795
+ }, null, 8, xi),
1796
+ c("a", { href: F.value }, y(b(d)("item.moreInfo")), 9, Si)
1797
+ ])) : o("", !0), j.value.length ? (p(), s("div", Ci, [(p(!0), s(n, null, g(j.value, (e, t) => (p(), s("button", {
1794
1798
  key: e.image_url,
1795
1799
  type: "button",
1796
- onClick: (e) => j.value = t
1800
+ onClick: (e) => M.value = t
1797
1801
  }, [c("img", {
1798
1802
  src: e.image_url,
1799
1803
  alt: ""
1800
- }, null, 8, wi)], 8, Ci))), 128))])) : o("", !0)])]),
1801
- c("div", Ti, [c("div", Ei, [c("b", null, y(b(d)("page.inExhibition")), 1), c("ul", null, [c("li", null, [c("img", {
1804
+ }, null, 8, Ti)], 8, wi))), 128))])) : o("", !0)])]),
1805
+ c("div", Ei, [c("div", Di, [c("b", null, y(b(d)("page.inExhibition")), 1), c("ul", null, [c("li", null, [c("img", {
1802
1806
  src: b(_)("legacy/arrow.gif"),
1803
1807
  alt: "",
1804
1808
  width: "10",
1805
1809
  height: "9"
1806
- }, null, 8, Di), c("span", Oi, y(b(d)("home.introduction")), 1)]), (p(!0), s(n, null, g(b(E), (e, t) => (p(), s("li", { key: e.id }, [c("img", {
1810
+ }, null, 8, Oi), c("span", ki, y(b(d)("home.introduction")), 1)]), (p(!0), s(n, null, g(b(E), (e, t) => (p(), s("li", { key: e.id }, [c("img", {
1807
1811
  src: b(_)("legacy/arrow.gif"),
1808
1812
  alt: "",
1809
1813
  width: "10",
1810
1814
  height: "9"
1811
- }, null, 8, ki), u(i, { to: {
1815
+ }, null, 8, Ai), u(i, { to: {
1812
1816
  name: "theme",
1813
1817
  params: { theme: t + 1 }
1814
1818
  } }, {
1815
- default: C(() => [l(y(b(T)(e.id).title), 1)]),
1819
+ default: C(() => [l(y(b(A)(b(T)(e.id).title ?? "")), 1)]),
1816
1820
  _: 2
1817
- }, 1032, ["to"])]))), 128))])]), c("div", Ai, [u(xr, { arrow: "legacy/arrow_inner.gif" }), u(Er, { class: "mwnf-sh-bottom__windows" })])])
1821
+ }, 1032, ["to"])]))), 128))])]), c("div", ji, [u(xr, { arrow: "legacy/arrow_inner.gif" }), u(Er, { class: "mwnf-sh-bottom__windows" })])])
1818
1822
  ])) : o("", !0);
1819
1823
  };
1820
1824
  }
1821
- }, Mi = {
1825
+ }, Ni = {
1822
1826
  key: 0,
1823
1827
  class: "mwnf-sh-panel"
1824
- }, Ni = { class: "mwnf-sh-panel__picture" }, Pi = { class: "mwnf-sh-panel__frame" }, Fi = ["src"], Ii = { class: "mwnf-sh-panel__magnify" }, Li = ["src"], Ri = { class: "mwnf-sh-panel__caption" }, zi = ["innerHTML"], Bi = ["innerHTML"], Vi = ["innerHTML"], Hi = ["innerHTML"], Ui = ["innerHTML"], Wi = ["innerHTML"], Gi = ["innerHTML"], Ki = ["src"], qi = ["href"], Ji = { class: "mwnf-sh-panel__related" }, Yi = ["onClick"], Xi = ["src"], Zi = {
1828
+ }, Pi = { class: "mwnf-sh-panel__picture" }, Fi = { class: "mwnf-sh-panel__frame" }, Ii = ["src"], Li = { class: "mwnf-sh-panel__magnify" }, Ri = ["src"], zi = { class: "mwnf-sh-panel__caption" }, Bi = ["innerHTML"], Vi = ["innerHTML"], Hi = ["innerHTML"], Ui = ["innerHTML"], Wi = ["innerHTML"], Gi = ["innerHTML"], Ki = ["innerHTML"], qi = ["src"], Ji = ["href"], Yi = { class: "mwnf-sh-panel__related" }, Xi = ["onClick"], Zi = ["src"], Qi = {
1825
1829
  __name: "Panel",
1826
1830
  props: {
1827
1831
  slot: {
@@ -1845,14 +1849,14 @@ var pr = {
1845
1849
  query: { img: _.value.image_url }
1846
1850
  }), pr.zoom);
1847
1851
  }
1848
- return (e, t) => _.value ? (p(), s("div", Mi, [c("div", Ni, [c("div", Pi, [c("div", null, [w((p(), s("button", {
1852
+ return (e, t) => _.value ? (p(), s("div", Ni, [c("div", Pi, [c("div", Fi, [c("div", null, [w((p(), s("button", {
1849
1853
  type: "button",
1850
1854
  onClick: C
1851
1855
  }, [c("img", {
1852
1856
  class: "mwnf-sh-panel__shown",
1853
1857
  src: _.value.image_url,
1854
1858
  alt: ""
1855
- }, null, 8, Fi)])), [[b(G), { text: b(f)("item.showZoom") }]]), c("div", Ii, [w((p(), s("button", {
1859
+ }, null, 8, Ii)])), [[b(G), { text: b(f)("item.showZoom") }]]), c("div", Li, [w((p(), s("button", {
1856
1860
  type: "button",
1857
1861
  onClick: C
1858
1862
  }, [c("img", {
@@ -1860,75 +1864,75 @@ var pr = {
1860
1864
  alt: "",
1861
1865
  width: "15",
1862
1866
  height: "15"
1863
- }, null, 8, Li)])), [[b(G), { text: b(f)("item.showZoom") }]])])])])]), c("div", Ri, [
1867
+ }, null, 8, Ri)])), [[b(G), { text: b(f)("item.showZoom") }]])])])])]), c("div", zi, [
1864
1868
  v.value.name ? (p(), s("p", {
1865
1869
  key: 0,
1866
1870
  class: "mwnf-sh-panel__name",
1867
1871
  innerHTML: b(u).mdInline(v.value.name)
1868
- }, null, 8, zi)) : o("", !0),
1872
+ }, null, 8, Bi)) : o("", !0),
1869
1873
  v.value.date ? (p(), s("p", {
1870
1874
  key: 1,
1871
1875
  innerHTML: b(u).mdInline(v.value.date)
1872
- }, null, 8, Bi)) : o("", !0),
1876
+ }, null, 8, Vi)) : o("", !0),
1873
1877
  v.value.place ? (p(), s("p", {
1874
1878
  key: 2,
1875
1879
  innerHTML: b(u).mdInline(v.value.place)
1876
- }, null, 8, Vi)) : o("", !0),
1880
+ }, null, 8, Hi)) : o("", !0),
1877
1881
  v.value.artist ? (p(), s("p", {
1878
1882
  key: 3,
1879
1883
  innerHTML: b(u).mdInline(v.value.artist)
1880
- }, null, 8, Hi)) : o("", !0),
1884
+ }, null, 8, Ui)) : o("", !0),
1881
1885
  v.value.material ? (p(), s("p", {
1882
1886
  key: 4,
1883
1887
  innerHTML: b(u).mdInline(v.value.material)
1884
- }, null, 8, Ui)) : o("", !0),
1888
+ }, null, 8, Wi)) : o("", !0),
1885
1889
  v.value.architects ? (p(), s("p", {
1886
1890
  key: 5,
1887
1891
  innerHTML: b(u).mdInline(v.value.architects)
1888
- }, null, 8, Wi)) : o("", !0),
1892
+ }, null, 8, Gi)) : o("", !0),
1889
1893
  v.value.justification ? (p(), s("p", {
1890
1894
  key: 6,
1891
1895
  class: "mwnf-sh-panel__justification",
1892
1896
  innerHTML: b(u).mdInline(v.value.justification)
1893
- }, null, 8, Gi)) : o("", !0),
1897
+ }, null, 8, Ki)) : o("", !0),
1894
1898
  c("p", null, [c("img", {
1895
1899
  src: b(m)("legacy/arrow_inner_black.gif"),
1896
1900
  alt: "",
1897
1901
  class: "mwnf-sh-arrow",
1898
1902
  width: "11",
1899
1903
  height: "8"
1900
- }, null, 8, Ki), c("a", {
1904
+ }, null, 8, qi), c("a", {
1901
1905
  href: x.value,
1902
1906
  target: "_blank",
1903
1907
  rel: "noopener"
1904
- }, y(b(f)("item.moreInfo")), 9, qi)]),
1905
- S.value.length ? (p(), s(n, { key: 7 }, [c("p", null, [c("b", null, y(b(f)("item.related")), 1)]), c("div", Ji, [(p(!0), s(n, null, g(S.value, (e) => (p(), s("button", {
1908
+ }, y(b(f)("item.moreInfo")), 9, Ji)]),
1909
+ S.value.length ? (p(), s(n, { key: 7 }, [c("p", null, [c("b", null, y(b(f)("item.related")), 1)]), c("div", Yi, [(p(!0), s(n, null, g(S.value, (e) => (p(), s("button", {
1906
1910
  key: e.index,
1907
1911
  type: "button",
1908
1912
  onClick: (t) => a("update:view", e.index)
1909
1913
  }, [c("img", {
1910
1914
  src: e.variant.image_url,
1911
1915
  alt: ""
1912
- }, null, 8, Xi)], 8, Yi))), 128))])], 64)) : o("", !0)
1916
+ }, null, 8, Zi)], 8, Xi))), 128))])], 64)) : o("", !0)
1913
1917
  ])])) : o("", !0);
1914
1918
  }
1915
- }, Qi = {
1919
+ }, $i = {
1916
1920
  key: 1,
1917
1921
  class: "mwnf-sh-pagewrap",
1918
1922
  style: { "font-size": "calc(11px * var(--sh-text-scale, 1))" }
1919
- }, $i = { class: "mwnf-sh-page" }, ea = { class: "mwnf-sh-page__text" }, ta = { class: "mwnf-sh-page__theme" }, na = { class: "mwnf-sh-page__name" }, ra = {
1923
+ }, ea = { class: "mwnf-sh-page" }, ta = { class: "mwnf-sh-page__text" }, na = { class: "mwnf-sh-page__theme" }, ra = { class: "mwnf-sh-page__name" }, ia = {
1920
1924
  key: 0,
1921
1925
  class: "mwnf-sh-page__thumbs"
1922
- }, ia = ["onClick"], aa = ["src"], oa = { class: "mwnf-sh-page__body" }, sa = ["innerHTML"], ca = ["innerHTML"], la = { class: "mwnf-sh-more" }, ua = { class: "mwnf-sh-more__label" }, da = { class: "mwnf-sh-more__theme" }, fa = ["src"], pa = {
1926
+ }, aa = ["onClick"], oa = ["src"], sa = { class: "mwnf-sh-page__body" }, ca = ["innerHTML"], la = ["innerHTML"], ua = { class: "mwnf-sh-more" }, da = { class: "mwnf-sh-more__label" }, fa = { class: "mwnf-sh-more__theme" }, pa = ["src"], ma = {
1923
1927
  key: 0,
1924
1928
  class: "mwnf-sh-more__current"
1925
- }, ma = ["src"], ha = {
1929
+ }, ha = ["src"], ga = {
1926
1930
  key: 0,
1927
1931
  class: "mwnf-sh-more__current"
1928
- }, ga = { class: "mwnf-sh-bottom" }, _a = { class: "mwnf-sh-bottom__pages" }, va = ["src"], ya = ["src"], ba = {
1932
+ }, _a = { class: "mwnf-sh-bottom" }, va = { class: "mwnf-sh-bottom__pages" }, ya = ["src"], ba = ["src"], xa = {
1929
1933
  key: 0,
1930
1934
  class: "mwnf-sh-bottom__current"
1931
- }, xa = { class: "mwnf-sh-bottom__related" }, Sa = {
1935
+ }, Sa = { class: "mwnf-sh-bottom__related" }, Ca = {
1932
1936
  __name: "Page",
1933
1937
  props: {
1934
1938
  theme: {
@@ -1941,53 +1945,53 @@ var pr = {
1941
1945
  }
1942
1946
  },
1943
1947
  setup(e) {
1944
- let t = e, { data: r, label: d, pageAt: f, picture: m, slots: _, subthemesOf: x, text: w, themes: T, title: D } = $(), O = i(() => f(t.theme, t.page)), k = i(() => O.value?.themeNode ?? null), A = i(() => O.value?.node ?? null), j = i(() => A.value ? w(A.value.id) : {}), M = i(() => _(A.value)), N = i(() => k.value ? x(k.value.id) : []), P = h(0), F = h(0);
1945
- S(A, () => {
1946
- P.value = 0, F.value = 0;
1948
+ let t = e, { data: r, label: d, pageAt: f, picture: m, slots: _, subthemesOf: x, text: w, themes: T, title: D } = $(), O = i(() => f(t.theme, t.page)), k = i(() => O.value?.themeNode ?? null), j = i(() => O.value?.node ?? null), M = i(() => j.value ? w(j.value.id) : {}), N = i(() => _(j.value)), P = i(() => k.value ? x(k.value.id) : []), F = h(0), I = h(0);
1949
+ S(j, () => {
1950
+ F.value = 0, I.value = 0;
1947
1951
  });
1948
- let I = (e) => {
1949
- P.value = e, F.value = 0;
1950
- }, L = i(() => t.page === 0 ? d("home.overview") : j.value.title ?? ""), R = i(() => [
1952
+ let L = (e) => {
1953
+ F.value = e, I.value = 0;
1954
+ }, R = (e) => A(w(e).title ?? ""), z = i(() => t.page === 0 ? d("home.overview") : A(M.value.title ?? "")), B = i(() => [
1951
1955
  { heading: w(k.value?.id).title },
1952
- { heading: L.value },
1953
- { text: j.value.quote ?? "" },
1954
- { text: j.value.description ?? "" }
1956
+ { heading: z.value },
1957
+ { text: M.value.quote ?? "" },
1958
+ { text: M.value.description ?? "" }
1955
1959
  ]);
1956
1960
  return (t, i) => {
1957
1961
  let f = v("router-link");
1958
- return O.value ? (p(), s("div", Qi, [
1959
- u(ti, { next: O.value.next }, null, 8, ["next"]),
1960
- c("div", $i, [c("div", ea, [
1961
- c("div", ta, y(b(w)(k.value.id).title), 1),
1962
- c("div", na, "\xA0" + y(L.value), 1),
1963
- M.value.length ? (p(), s("div", ra, [(p(!0), s(n, null, g(M.value, (e, t) => (p(), s("button", {
1964
- key: e.n,
1962
+ return O.value ? (p(), s("div", $i, [
1963
+ u(ni, { next: O.value.next }, null, 8, ["next"]),
1964
+ c("div", ea, [c("div", ta, [
1965
+ c("div", na, y(R(k.value.id)), 1),
1966
+ c("div", ra, "\xA0" + y(z.value), 1),
1967
+ N.value.length ? (p(), s("div", ia, [(p(!0), s(n, null, g(N.value, (e, t) => (p(), s("button", {
1968
+ key: `${e.n}-${e.variants[0].id}`,
1965
1969
  type: "button",
1966
- onClick: (e) => I(t)
1970
+ onClick: (e) => L(t)
1967
1971
  }, [c("img", {
1968
1972
  src: e.variants[0].image_url,
1969
1973
  alt: ""
1970
- }, null, 8, aa)], 8, ia))), 128))])) : o("", !0),
1974
+ }, null, 8, oa)], 8, aa))), 128))])) : o("", !0),
1971
1975
  i[2] ||= c("div", { class: "mwnf-sh-page__rule" }, null, -1),
1972
- c("div", oa, [j.value.quote ? (p(), s("div", {
1976
+ c("div", sa, [M.value.quote ? (p(), s("div", {
1973
1977
  key: 0,
1974
1978
  class: "mwnf-sh-page__quote",
1975
- innerHTML: b(r).md(j.value.quote)
1976
- }, null, 8, sa)) : o("", !0), j.value.description ? (p(), s("div", {
1979
+ innerHTML: b(r).md(M.value.quote)
1980
+ }, null, 8, ca)) : o("", !0), M.value.description ? (p(), s("div", {
1977
1981
  key: 1,
1978
- innerHTML: b(r).md(j.value.description)
1979
- }, null, 8, ca)) : o("", !0)]),
1980
- c("div", la, [c("b", null, [
1981
- c("span", ua, y(b(d)("page.moreAbout")), 1),
1982
+ innerHTML: b(r).md(M.value.description)
1983
+ }, null, 8, la)) : o("", !0)]),
1984
+ c("div", ua, [c("b", null, [
1985
+ c("span", da, y(b(d)("page.moreAbout")), 1),
1982
1986
  i[1] ||= c("br", null, null, -1),
1983
- c("span", da, y(b(w)(k.value.id).title), 1)
1987
+ c("span", fa, y(R(k.value.id)), 1)
1984
1988
  ]), c("ul", null, [c("li", null, [c("img", {
1985
1989
  src: b(m)("legacy/arrow_inner_black.gif"),
1986
1990
  alt: "",
1987
1991
  class: "mwnf-sh-arrow",
1988
1992
  width: "11",
1989
1993
  height: "8"
1990
- }, null, 8, fa), e.page === 0 ? (p(), s("span", pa, y(b(d)("home.overview")), 1)) : (p(), a(f, {
1994
+ }, null, 8, pa), e.page === 0 ? (p(), s("span", ma, y(b(d)("home.overview")), 1)) : (p(), a(f, {
1991
1995
  key: 1,
1992
1996
  to: {
1993
1997
  name: "theme",
@@ -1996,13 +2000,13 @@ var pr = {
1996
2000
  }, {
1997
2001
  default: C(() => [l(y(b(d)("home.overview")), 1)]),
1998
2002
  _: 1
1999
- }, 8, ["to"]))]), (p(!0), s(n, null, g(N.value, (t, n) => (p(), s("li", { key: t.id }, [c("img", {
2003
+ }, 8, ["to"]))]), (p(!0), s(n, null, g(P.value, (t, n) => (p(), s("li", { key: t.id }, [c("img", {
2000
2004
  src: b(m)("legacy/arrow_inner_black.gif"),
2001
2005
  alt: "",
2002
2006
  class: "mwnf-sh-arrow",
2003
2007
  width: "11",
2004
2008
  height: "8"
2005
- }, null, 8, ma), e.page === n + 1 ? (p(), s("span", ha, y(b(w)(t.id).title), 1)) : (p(), a(f, {
2009
+ }, null, 8, ha), e.page === n + 1 ? (p(), s("span", ga, y(R(t.id)), 1)) : (p(), a(f, {
2006
2010
  key: 1,
2007
2011
  to: {
2008
2012
  name: "subtheme",
@@ -2012,24 +2016,24 @@ var pr = {
2012
2016
  }
2013
2017
  }
2014
2018
  }, {
2015
- default: C(() => [l(y(b(w)(t.id).title), 1)]),
2019
+ default: C(() => [l(y(R(t.id)), 1)]),
2016
2020
  _: 2
2017
2021
  }, 1032, ["to"]))]))), 128))])]),
2018
- u(oi, {
2022
+ u(si, {
2019
2023
  title: b(D),
2020
- blocks: R.value
2024
+ blocks: B.value
2021
2025
  }, null, 8, ["title", "blocks"])
2022
- ]), u(Zi, {
2023
- view: F.value,
2024
- "onUpdate:view": i[0] ||= (e) => F.value = e,
2025
- slot: M.value[P.value] ?? null
2026
+ ]), u(Qi, {
2027
+ view: I.value,
2028
+ "onUpdate:view": i[0] ||= (e) => I.value = e,
2029
+ slot: N.value[F.value] ?? null
2026
2030
  }, null, 8, ["view", "slot"])]),
2027
- c("div", ga, [c("div", _a, [c("b", null, y(b(d)("page.inExhibition")), 1), c("ul", null, [c("li", null, [c("img", {
2031
+ c("div", _a, [c("div", va, [c("b", null, y(b(d)("page.inExhibition")), 1), c("ul", null, [c("li", null, [c("img", {
2028
2032
  src: b(m)("legacy/arrow.gif"),
2029
2033
  alt: "",
2030
2034
  width: "10",
2031
2035
  height: "9"
2032
- }, null, 8, va), u(f, { to: { name: "introduction" } }, {
2036
+ }, null, 8, ya), u(f, { to: { name: "introduction" } }, {
2033
2037
  default: C(() => [l(y(b(d)("home.introduction")), 1)]),
2034
2038
  _: 1
2035
2039
  })]), (p(!0), s(n, null, g(b(T), (t, n) => (p(), s("li", { key: t.id }, [c("img", {
@@ -2037,47 +2041,47 @@ var pr = {
2037
2041
  alt: "",
2038
2042
  width: "10",
2039
2043
  height: "9"
2040
- }, null, 8, ya), n + 1 === e.theme ? (p(), s("span", ba, y(b(w)(t.id).title), 1)) : (p(), a(f, {
2044
+ }, null, 8, ba), n + 1 === e.theme ? (p(), s("span", xa, y(R(t.id)), 1)) : (p(), a(f, {
2041
2045
  key: 1,
2042
2046
  to: {
2043
2047
  name: "theme",
2044
2048
  params: { theme: n + 1 }
2045
2049
  }
2046
2050
  }, {
2047
- default: C(() => [l(y(b(w)(t.id).title), 1)]),
2051
+ default: C(() => [l(y(R(t.id)), 1)]),
2048
2052
  _: 2
2049
- }, 1032, ["to"]))]))), 128))])]), c("div", xa, [u(xr, {
2053
+ }, 1032, ["to"]))]))), 128))])]), c("div", Sa, [u(xr, {
2050
2054
  arrow: "legacy/arrow_inner.gif",
2051
2055
  "theme-id": k.value.id,
2052
- "subtheme-id": e.page === 0 ? null : A.value.id
2056
+ "subtheme-id": e.page === 0 ? null : j.value.id
2053
2057
  }, null, 8, ["theme-id", "subtheme-id"]), u(Er, { class: "mwnf-sh-bottom__windows" })])])
2054
2058
  ])) : (p(), a(b(E), { key: 0 }));
2055
2059
  };
2056
2060
  }
2057
- }, Ca = { key: 0 }, wa = { class: "mwnf-sh-reading" }, Ta = { class: "mwnf-sh-reading__languages" }, Ea = {
2061
+ }, wa = { key: 0 }, Ta = { class: "mwnf-sh-reading" }, Ea = { class: "mwnf-sh-reading__languages" }, Da = {
2058
2062
  key: 0,
2059
2063
  class: "mwnf-sh-reading__language mwnf-sh-reading__language--current"
2060
- }, Da = {
2064
+ }, Oa = {
2061
2065
  key: 1,
2062
2066
  class: "mwnf-sh-reading__language"
2063
- }, Oa = { class: "mwnf-sh-reading__content" }, ka = { class: "mwnf-sh-reading__close" }, Aa = ["src"], ja = { class: "mwnf-sh-reading__title" }, Ma = ["innerHTML"], Na = {
2067
+ }, ka = { class: "mwnf-sh-reading__content" }, Aa = { class: "mwnf-sh-reading__close" }, ja = ["src"], Ma = { class: "mwnf-sh-reading__title" }, Na = ["innerHTML"], Pa = {
2064
2068
  __name: "FurtherReading",
2065
2069
  setup(e) {
2066
2070
  let { data: t, label: r, lang: a, languageName: d, offered: f, picture: m, root: h, text: _, title: x } = $(), S = i(() => h.value ? _(h.value.id).extra?.bibliography ?? {} : {}), w = i(() => S.value[a.value] ? a.value : "en"), E = i(() => S.value[w.value] ?? []), D = i(() => f.filter((e) => S.value[e]?.length).reverse()), O = () => window.close();
2067
2071
  return (e, i) => {
2068
2072
  let a = v("router-link");
2069
- return b(h) ? (p(), s("div", Ca, [u(ti, {
2073
+ return b(h) ? (p(), s("div", wa, [u(ni, {
2070
2074
  kind: "intro",
2071
2075
  heading: b(r)("related.furtherReading"),
2072
2076
  paging: !1
2073
- }, null, 8, ["heading"]), c("div", wa, [c("div", Ta, [(p(!0), s(n, null, g(D.value, (e) => (p(), s(n, { key: e }, [e === w.value ? (p(), s("div", Ea, y(b(d)(e)), 1)) : (p(), s("div", Da, [u(a, { to: {
2077
+ }, null, 8, ["heading"]), c("div", Ta, [c("div", Ea, [(p(!0), s(n, null, g(D.value, (e) => (p(), s(n, { key: e }, [e === w.value ? (p(), s("div", Da, y(b(d)(e)), 1)) : (p(), s("div", Oa, [u(a, { to: {
2074
2078
  name: "further-reading",
2075
2079
  query: { lang: e }
2076
2080
  } }, {
2077
2081
  default: C(() => [l(y(b(d)(e)), 1)]),
2078
2082
  _: 2
2079
- }, 1032, ["to"])]))], 64))), 128))]), c("div", Oa, [
2080
- c("div", ka, [c("a", {
2083
+ }, 1032, ["to"])]))], 64))), 128))]), c("div", ka, [
2084
+ c("div", Aa, [c("a", {
2081
2085
  href: "#",
2082
2086
  onClick: T(O, ["prevent"])
2083
2087
  }, [c("img", {
@@ -2085,16 +2089,16 @@ var pr = {
2085
2089
  alt: "",
2086
2090
  width: "11",
2087
2091
  height: "8"
2088
- }, null, 8, Aa), l(y(b(r)("reading.close")), 1)])]),
2089
- c("div", ja, [c("span", null, y(b(x)), 1)]),
2092
+ }, null, 8, ja), l(y(b(r)("reading.close")), 1)])]),
2093
+ c("div", Ma, [c("span", null, y(b(x)), 1)]),
2090
2094
  (p(!0), s(n, null, g(E.value, (e) => (p(), s("p", {
2091
2095
  key: e,
2092
2096
  innerHTML: b(t).mdInline(e)
2093
- }, null, 8, Ma))), 128))
2097
+ }, null, 8, Na))), 128))
2094
2098
  ])])])) : o("", !0);
2095
2099
  };
2096
2100
  }
2097
- }, Pa = ["innerHTML"], Fa = {
2101
+ }, Fa = ["innerHTML"], Ia = {
2098
2102
  __name: "Window",
2099
2103
  props: { kind: {
2100
2104
  type: String,
@@ -2109,10 +2113,10 @@ var pr = {
2109
2113
  c("h3", null, y(b(l)), 1),
2110
2114
  c("p", null, y(b(r)(`windows.${e.kind}`)), 1),
2111
2115
  n[0] ||= c("br", null, null, -1),
2112
- c("div", { innerHTML: d.value }, null, 8, Pa)
2116
+ c("div", { innerHTML: d.value }, null, 8, Fa)
2113
2117
  ]));
2114
2118
  }
2115
- }, Ia = ["src"], La = {
2119
+ }, La = ["src"], Ra = {
2116
2120
  __name: "Zoom",
2117
2121
  props: { image: {
2118
2122
  type: String,
@@ -2127,58 +2131,58 @@ var pr = {
2127
2131
  key: 0,
2128
2132
  src: c.value,
2129
2133
  alt: ""
2130
- }, null, 8, Ia)) : o("", !0);
2134
+ }, null, 8, La)) : o("", !0);
2131
2135
  }
2132
- }, Ra = [
2136
+ }, za = [
2133
2137
  "collections",
2134
2138
  "items",
2135
2139
  "countries",
2136
2140
  "partners"
2137
2141
  ];
2138
- function za(e) {
2142
+ function Ba(e) {
2139
2143
  return [
2140
2144
  {
2141
2145
  path: "/",
2142
2146
  name: "home",
2143
- component: Gr,
2144
- meta: e("home", ...Ra)
2147
+ component: Kr,
2148
+ meta: e("home", ...za)
2145
2149
  },
2146
2150
  {
2147
2151
  path: "/introduction",
2148
2152
  name: "introduction",
2149
- component: ji,
2150
- meta: e("introduction", ...Ra)
2153
+ component: Mi,
2154
+ meta: e("introduction", ...za)
2151
2155
  },
2152
2156
  {
2153
2157
  path: "/theme/:theme(\\d+)",
2154
2158
  name: "theme",
2155
- component: Sa,
2159
+ component: Ca,
2156
2160
  props: (e) => ({
2157
2161
  theme: Number(e.params.theme),
2158
2162
  page: 0
2159
2163
  }),
2160
- meta: e("theme", ...Ra)
2164
+ meta: e("theme", ...za)
2161
2165
  },
2162
2166
  {
2163
2167
  path: "/theme/:theme(\\d+)/:page(\\d+)",
2164
2168
  name: "subtheme",
2165
- component: Sa,
2169
+ component: Ca,
2166
2170
  props: (e) => ({
2167
2171
  theme: Number(e.params.theme),
2168
2172
  page: Number(e.params.page)
2169
2173
  }),
2170
- meta: e("subtheme", ...Ra)
2174
+ meta: e("subtheme", ...za)
2171
2175
  },
2172
2176
  {
2173
2177
  path: "/further-reading",
2174
2178
  name: "further-reading",
2175
- component: Na,
2179
+ component: Pa,
2176
2180
  meta: e("further-reading", "collections")
2177
2181
  },
2178
2182
  {
2179
2183
  path: "/credits",
2180
2184
  name: "credits",
2181
- component: Fa,
2185
+ component: Ia,
2182
2186
  props: { kind: "curators" },
2183
2187
  meta: {
2184
2188
  ...e("credits", "collections"),
@@ -2188,7 +2192,7 @@ function za(e) {
2188
2192
  {
2189
2193
  path: "/cover-image",
2190
2194
  name: "cover-image",
2191
- component: Fa,
2195
+ component: Ia,
2192
2196
  props: { kind: "coverImage" },
2193
2197
  meta: {
2194
2198
  ...e("cover-image", "collections"),
@@ -2198,7 +2202,7 @@ function za(e) {
2198
2202
  {
2199
2203
  path: "/zoom",
2200
2204
  name: "zoom",
2201
- component: La,
2205
+ component: Ra,
2202
2206
  props: (e) => ({ image: String(e.query.img ?? "") }),
2203
2207
  meta: {
2204
2208
  ...e("zoom", "collections"),
@@ -2207,8 +2211,8 @@ function za(e) {
2207
2211
  }
2208
2212
  ];
2209
2213
  }
2210
- var Ba = "https://www.museumwnf.org/about/language-policy";
2211
- function Va({ languages: e, parent: t, profiles: n = [], texts: r = rr }) {
2214
+ var Va = "https://www.museumwnf.org/about/language-policy";
2215
+ function Ha({ languages: e, parent: t, profiles: n = [], texts: r = rr }) {
2212
2216
  let i = [{
2213
2217
  label: "header.project",
2214
2218
  href: `${t}/#/about`
@@ -2282,7 +2286,7 @@ function Va({ languages: e, parent: t, profiles: n = [], texts: r = rr }) {
2282
2286
  },
2283
2287
  {
2284
2288
  label: "footer.languagePolicy",
2285
- href: Ba
2289
+ href: Va
2286
2290
  },
2287
2291
  {
2288
2292
  label: "footer.cookies",
@@ -2291,7 +2295,7 @@ function Va({ languages: e, parent: t, profiles: n = [], texts: r = rr }) {
2291
2295
  ]
2292
2296
  };
2293
2297
  }
2294
- function Ha({ parent: e, texts: t = rr, ...n }) {
2298
+ function Ua({ parent: e, texts: t = rr, ...n }) {
2295
2299
  return {
2296
2300
  parent: e,
2297
2301
  texts: t,
@@ -2300,4 +2304,4 @@ function Ha({ parent: e, texts: t = rr, ...n }) {
2300
2304
  };
2301
2305
  }
2302
2306
  //#endregion
2303
- export { Be as EXHIBITION_ENTITIES, ve as ISLAMICART_NO_COUNTRY, Y as LABELS, Sn as MinisiteCredits, pt as MinisiteHome, Ut as MinisiteIntroduction, En as MinisiteMap, yn as MinisitePage, he as MinisiteShell, kn as MinisiteZoom, _e as PLACEHOLDER_TITLE, rr as SHARINGHISTORY_LABELS, pr as SHARINGHISTORY_WINDOWS, Na as SharingHistoryFurtherReading, Gr as SharingHistoryHome, ji as SharingHistoryIntroduction, Sa as SharingHistoryPage, nr as SharingHistoryShell, Fa as SharingHistoryWindow, La as SharingHistoryZoom, Mn as baroqueartMenu, J as cleanText, Me as curatorLabel, Ne as curatorLink, De as detailViewCaption, ze as exhibitionData, Fe as familyOf, je as introCaption, jn as islamicartMenu, Ie as labelSet, Pn as minisiteNavigation, An as minisiteRoutes, Fn as minisiteSettings, be as pageWithNeighbours, Ee as placementCaption, Pe as quoteHasItalics, ye as readingOrder, dr as sharinghistoryCaption, sr as sharinghistoryListedSubthemes, or as sharinghistoryListedThemes, Va as sharinghistoryNavigation, cr as sharinghistoryPageRoute, lr as sharinghistoryPageWithNext, ar as sharinghistoryReadingOrder, fr as sharinghistoryRelatedLinks, za as sharinghistoryRoutes, Ha as sharinghistorySettings, ur as sharinghistorySlotsOf, ke as sheetItemId, xe as slotsOf, X as useExhibition, $ as useSharingHistoryExhibition, Ae as viewPicture, Oe as withFirstView };
2307
+ export { Be as EXHIBITION_ENTITIES, _e as ISLAMICART_NO_COUNTRY, Pe as LABELS, Sn as MinisiteCredits, pt as MinisiteHome, Ut as MinisiteIntroduction, En as MinisiteMap, yn as MinisitePage, me as MinisiteShell, kn as MinisiteZoom, ge as PLACEHOLDER_TITLE, rr as SHARINGHISTORY_LABELS, pr as SHARINGHISTORY_WINDOWS, Pa as SharingHistoryFurtherReading, Kr as SharingHistoryHome, Mi as SharingHistoryIntroduction, Ca as SharingHistoryPage, nr as SharingHistoryShell, Ia as SharingHistoryWindow, Ra as SharingHistoryZoom, Mn as baroqueartMenu, Y as cleanText, je as curatorLabel, Me as curatorLink, Ee as detailViewCaption, ze as exhibitionData, Fe as familyOf, Ae as introCaption, jn as islamicartMenu, Ie as labelSet, Pn as minisiteNavigation, An as minisiteRoutes, Fn as minisiteSettings, ye as pageWithNeighbours, Te as placementCaption, Ne as quoteHasItalics, ve as readingOrder, dr as sharinghistoryCaption, sr as sharinghistoryListedSubthemes, or as sharinghistoryListedThemes, Ha as sharinghistoryNavigation, cr as sharinghistoryPageRoute, lr as sharinghistoryPageWithNext, ar as sharinghistoryReadingOrder, fr as sharinghistoryRelatedLinks, Ba as sharinghistoryRoutes, Ua as sharinghistorySettings, ur as sharinghistorySlotsOf, Oe as sheetItemId, be as slotsOf, X as useExhibition, $ as useSharingHistoryExhibition, ke as viewPicture, De as withFirstView };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@museumwnf/viewer-layout",
3
- "version": "3.13.1",
3
+ "version": "3.13.2",
4
4
  "description": "Page structure for MWNF websites: PageShell composing seven optional, token-styled sections, the content components a page is made of, and the composed views a website names instead of writing a page.",
5
5
  "type": "module",
6
6
  "license": "SEE LICENSE IN LICENSE.md",