@museumwnf/viewer-layout 3.13.0 → 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.
- package/README.md +4 -2
- package/dist/minisite.js +339 -327
- 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
|
-
},
|
|
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",
|
|
96
|
-
c("header",
|
|
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,
|
|
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,
|
|
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,
|
|
111
|
+
}, y(e.label), 9, se))), 128))], 40, oe)])])]),
|
|
112
112
|
c("main", null, [_(e.$slots, "default")]),
|
|
113
|
-
c("nav",
|
|
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,
|
|
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,
|
|
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",
|
|
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
|
-
},
|
|
139
|
+
}, he = [
|
|
140
140
|
[/[‘’]/g, "'"],
|
|
141
141
|
[/[“”]/g, "\""],
|
|
142
142
|
[/…/g, "..."],
|
|
143
143
|
[/•/g, "*"]
|
|
144
144
|
];
|
|
145
|
-
function
|
|
146
|
-
return
|
|
145
|
+
function Y(e) {
|
|
146
|
+
return he.reduce((e, [t, n]) => e.replace(t, n), String(e ?? ""));
|
|
147
147
|
}
|
|
148
|
-
var
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
198
|
+
function Se(e, t, n, r) {
|
|
199
199
|
return [
|
|
200
200
|
M(t.location ?? ""),
|
|
201
201
|
M(t.province ?? ""),
|
|
202
|
-
|
|
202
|
+
xe(e, n, r)
|
|
203
203
|
].filter(Boolean).join(", ");
|
|
204
204
|
}
|
|
205
|
-
function
|
|
206
|
-
return n.location ? [n.location, e ? r(e) : ""].filter(Boolean).join(", ") :
|
|
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
|
|
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:
|
|
212
|
-
material:
|
|
211
|
+
artist: Y(n.artist || M(r ?? "")),
|
|
212
|
+
material: Y(n.material || M(i))
|
|
213
213
|
};
|
|
214
214
|
}
|
|
215
|
-
function
|
|
216
|
-
let o = e?.type === "object" ? n.museum || M(t.holder ?? "") : "", s =
|
|
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:
|
|
225
|
-
detailName:
|
|
226
|
-
dateLines: [n.date || M(t.dates ?? ""), n.dynasty || M(t.dynasty ?? "")].filter(Boolean).map(
|
|
227
|
-
details: [o, s].filter(Boolean).map(
|
|
228
|
-
...a === "BAR" ?
|
|
229
|
-
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
|
|
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 ? [
|
|
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
|
|
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
|
|
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
|
|
267
|
+
function ke(e, t) {
|
|
268
268
|
return e?.variants[t]?.image || e?.variants[0]?.image || null;
|
|
269
269
|
}
|
|
270
|
-
function
|
|
271
|
-
let a = (e, t) => e ?
|
|
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,
|
|
275
|
+
a(n.dynasty, Y(M(t.dynasty ?? ""))),
|
|
276
276
|
e?.type === "object" ? a(n.museum, M(t.holder ?? "")) : "",
|
|
277
|
-
a(n.location,
|
|
277
|
+
a(n.location, Se(e, t, r, i))
|
|
278
278
|
];
|
|
279
279
|
}
|
|
280
|
-
function
|
|
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
|
|
288
|
+
function Me(e, t) {
|
|
289
289
|
return "href" in e ? e.href : t?.(e.partner);
|
|
290
290
|
}
|
|
291
|
-
function
|
|
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
|
|
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 ??
|
|
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(() =>
|
|
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
|
|
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
|
|
361
|
+
if (!t.view) return Te(y(t.entry));
|
|
362
362
|
let r = e.variants[0];
|
|
363
|
-
return
|
|
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 ?
|
|
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) =>
|
|
406
|
-
slots:
|
|
407
|
-
placementCaption: (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) =>
|
|
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) =>
|
|
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) =>
|
|
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),
|
|
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:
|
|
780
|
+
sheetId: Oe(W.value, U.value.variant, (e) => E.itemById.value.get(e))
|
|
781
781
|
});
|
|
782
|
-
function
|
|
782
|
+
function te(e) {
|
|
783
783
|
U.value = {
|
|
784
784
|
slot: e,
|
|
785
785
|
variant: 0
|
|
786
786
|
};
|
|
787
787
|
}
|
|
788
|
-
function
|
|
788
|
+
function ne(e) {
|
|
789
789
|
U.value = {
|
|
790
790
|
...U.value,
|
|
791
791
|
variant: e
|
|
792
792
|
};
|
|
793
793
|
}
|
|
794
|
-
function
|
|
795
|
-
|
|
794
|
+
function re() {
|
|
795
|
+
K.value && Z(j({
|
|
796
796
|
name: "zoom",
|
|
797
|
-
query: { img:
|
|
797
|
+
query: { img: K.value }
|
|
798
798
|
}), Ve.zoom);
|
|
799
799
|
}
|
|
800
|
-
let
|
|
801
|
-
function
|
|
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
|
|
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:
|
|
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(
|
|
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) =>
|
|
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(
|
|
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:
|
|
883
|
-
]), c("div", tn, [c("div", nn, [
|
|
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(
|
|
886
|
+
onClick: T(re, ["prevent"])
|
|
887
887
|
}, [c("img", {
|
|
888
|
-
src:
|
|
888
|
+
src: K.value,
|
|
889
889
|
alt: ""
|
|
890
|
-
}, null, 8, rn)])), [[b(G), { text: b(m)("item.showZoom") }]]) : o("", !0)]),
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
899
|
-
b(_) === "BAR" ? (p(), s(n, { key: 0 }, [c("div", { innerHTML: b(E).mdInline(
|
|
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) =>
|
|
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(
|
|
910
|
+
innerHTML: b(E).mdInline(q.value.justification)
|
|
911
911
|
}, null, 8, gn),
|
|
912
|
-
|
|
912
|
+
q.value.sheetId ? (p(), s("div", _n, [c("a", {
|
|
913
913
|
class: "mwnf-minisite-page__more",
|
|
914
|
-
href: b(k).itemHref?.(
|
|
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(
|
|
918
|
+
b(J).active.value ? (p(), a(t, {
|
|
919
919
|
key: 0,
|
|
920
|
-
term: b(
|
|
921
|
-
html: b(E).md(b(
|
|
922
|
-
onClose: b(
|
|
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 =
|
|
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 =
|
|
1055
|
+
function Mn(e, t = Pe.BAR) {
|
|
1056
1056
|
return [
|
|
1057
1057
|
{
|
|
1058
1058
|
label: `${t}.menu.permanentCollection`,
|
|
@@ -1256,7 +1256,14 @@ function ar(e, t) {
|
|
|
1256
1256
|
themeNode: e
|
|
1257
1257
|
}))]);
|
|
1258
1258
|
}
|
|
1259
|
-
function or(e) {
|
|
1259
|
+
function or(e, t, n) {
|
|
1260
|
+
let r = e.filter((e) => t(e.id, n)?.trim());
|
|
1261
|
+
return r.length > 0 || n === "en" ? r : e.filter((e) => t(e.id, "en")?.trim());
|
|
1262
|
+
}
|
|
1263
|
+
function sr(e, t, n) {
|
|
1264
|
+
return e.filter((e) => t(e.id, n)?.trim());
|
|
1265
|
+
}
|
|
1266
|
+
function cr(e) {
|
|
1260
1267
|
return e.page === 0 ? {
|
|
1261
1268
|
name: "theme",
|
|
1262
1269
|
params: { theme: e.theme }
|
|
@@ -1268,26 +1275,30 @@ function or(e) {
|
|
|
1268
1275
|
}
|
|
1269
1276
|
};
|
|
1270
1277
|
}
|
|
1271
|
-
function
|
|
1278
|
+
function lr(e, t, n) {
|
|
1272
1279
|
let r = e.findIndex((e) => e.theme === t && e.page === n);
|
|
1273
1280
|
return r < 0 ? null : {
|
|
1274
1281
|
...e[r],
|
|
1275
|
-
next: r < e.length - 1 ?
|
|
1282
|
+
next: r < e.length - 1 ? cr(e[r + 1]) : null
|
|
1276
1283
|
};
|
|
1277
1284
|
}
|
|
1278
|
-
function
|
|
1285
|
+
function ur(e) {
|
|
1279
1286
|
let t = /* @__PURE__ */ new Map();
|
|
1280
1287
|
for (let n of e?.items ?? []) {
|
|
1281
1288
|
if (!n.image_url || n.curator_status !== "Y") continue;
|
|
1282
1289
|
let e = n.display_order ?? 0;
|
|
1283
1290
|
t.has(e) || t.set(e, []), t.get(e).push(n);
|
|
1284
1291
|
}
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
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
|
+
});
|
|
1289
1300
|
}
|
|
1290
|
-
function
|
|
1301
|
+
function dr({ item: e, own: t, entry: n, lang: r, countryName: i }) {
|
|
1291
1302
|
let a = e?.type !== "monument", o = [
|
|
1292
1303
|
a ? t.holder : "",
|
|
1293
1304
|
t.location,
|
|
@@ -1304,7 +1315,7 @@ function lr({ item: e, own: t, entry: n, lang: r, countryName: i }) {
|
|
|
1304
1315
|
justification: s.replace(/\s+/g, " ")
|
|
1305
1316
|
};
|
|
1306
1317
|
}
|
|
1307
|
-
function
|
|
1318
|
+
function fr({ parent: e, exhibitionId: t, themeId: n = null, subthemeId: r = null, title: i = "", furtherReading: a }) {
|
|
1308
1319
|
let o = encodeURIComponent(t), s = [`exhibition=${o}`];
|
|
1309
1320
|
n && s.push(`theme=${encodeURIComponent(n)}`), r && s.push(`chapter=${encodeURIComponent(r)}`);
|
|
1310
1321
|
let c = {
|
|
@@ -1332,18 +1343,18 @@ function ur({ parent: e, exhibitionId: t, themeId: n = null, subthemeId: r = nul
|
|
|
1332
1343
|
function $() {
|
|
1333
1344
|
let { pkg: t, data: n, tree: r } = ze(), { locale: a, t: o } = R(), s = z(), c = s.minisite ?? {}, l = c.texts ?? "minisiteSharingHistory", u = (e) => o(`${l}.${e}`), d = V(), f = i(() => a.value);
|
|
1334
1345
|
S(f, (e) => Promise.all(ir.flatMap((n) => [t.loadTranslations(n, e), t.loadTranslations(n, "en")])), { immediate: !0 });
|
|
1335
|
-
let p = r.root,
|
|
1336
|
-
function
|
|
1337
|
-
return
|
|
1346
|
+
let p = (e) => t.translations("collections", f.value)[e] ?? {}, m = (e, n) => t.translations("collections", n)[e]?.title, h = r.root, g = i(() => h.value ? or(r.children(h.value.id), m, f.value) : []), _ = (e) => sr(r.children(e), m, f.value), v = i(() => ar(g.value, _)), y = (t.manifest.site?.languages ?? []).map((e) => e.code), b = (e) => t.manifest.site?.languages?.find((t) => t.code === e)?.label ?? e, x = (e) => e ? M(n.tr("countries", e, f.value).name ?? "") : "";
|
|
1347
|
+
function C(e) {
|
|
1348
|
+
return dr({
|
|
1338
1349
|
item: n.itemById.value.get(e.id),
|
|
1339
1350
|
own: n.tr("items", e.id, f.value),
|
|
1340
1351
|
entry: e,
|
|
1341
1352
|
lang: f.value,
|
|
1342
|
-
countryName:
|
|
1353
|
+
countryName: x
|
|
1343
1354
|
});
|
|
1344
1355
|
}
|
|
1345
|
-
let
|
|
1346
|
-
function
|
|
1356
|
+
let w = (t) => t ? e(s.chrome, t) : null;
|
|
1357
|
+
function T(e) {
|
|
1347
1358
|
return new URL(d.resolve({
|
|
1348
1359
|
...e,
|
|
1349
1360
|
query: {
|
|
@@ -1358,38 +1369,39 @@ function $() {
|
|
|
1358
1369
|
lang: f,
|
|
1359
1370
|
data: n,
|
|
1360
1371
|
tree: r,
|
|
1361
|
-
root:
|
|
1362
|
-
themes:
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1372
|
+
root: h,
|
|
1373
|
+
themes: g,
|
|
1374
|
+
subthemesOf: _,
|
|
1375
|
+
pages: v,
|
|
1376
|
+
text: p,
|
|
1377
|
+
offered: y,
|
|
1378
|
+
languageName: b,
|
|
1367
1379
|
settings: c,
|
|
1368
|
-
caption:
|
|
1369
|
-
picture:
|
|
1370
|
-
href:
|
|
1371
|
-
imagesOf: (e) => [...
|
|
1372
|
-
slots:
|
|
1373
|
-
pageAt: (e, t) =>
|
|
1374
|
-
title: i(() =>
|
|
1375
|
-
related: (e = null, t = null) =>
|
|
1380
|
+
caption: C,
|
|
1381
|
+
picture: w,
|
|
1382
|
+
href: T,
|
|
1383
|
+
imagesOf: (e) => [...h.value?.images ?? []].filter((t) => t.type === e).sort((e, t) => e.display_order - t.display_order),
|
|
1384
|
+
slots: ur,
|
|
1385
|
+
pageAt: (e, t) => lr(v.value, e, t),
|
|
1386
|
+
title: i(() => h.value ? p(h.value.id).title ?? "" : ""),
|
|
1387
|
+
related: (e = null, t = null) => h.value ? fr({
|
|
1376
1388
|
parent: c.parent,
|
|
1377
|
-
exhibitionId:
|
|
1389
|
+
exhibitionId: h.value.id,
|
|
1378
1390
|
themeId: e,
|
|
1379
1391
|
subthemeId: t,
|
|
1380
|
-
title:
|
|
1392
|
+
title: p(h.value.id).title ?? "",
|
|
1381
1393
|
furtherReading: { name: "further-reading" }
|
|
1382
1394
|
}) : []
|
|
1383
1395
|
};
|
|
1384
1396
|
}
|
|
1385
|
-
var
|
|
1397
|
+
var pr = {
|
|
1386
1398
|
credits: ["exhcredits", "scrollbars=auto, resizable=1, width=520, height=530"],
|
|
1387
1399
|
coverImage: ["exhCoverImage", "scrollbars=auto, resizable=1, width=520, height=530"],
|
|
1388
1400
|
zoom: ["SHImages", "scrollbars=no,resize=no,width=565,height=435"]
|
|
1389
|
-
},
|
|
1401
|
+
}, mr = { class: "mwnf-sh-related" }, hr = { class: "mwnf-sh-related__heading" }, gr = ["src"], _r = ["href", "target"], vr = {
|
|
1390
1402
|
key: 0,
|
|
1391
1403
|
class: "mwnf-sh-related__all"
|
|
1392
|
-
},
|
|
1404
|
+
}, yr = ["src"], br = ["href"], xr = {
|
|
1393
1405
|
__name: "Related",
|
|
1394
1406
|
props: {
|
|
1395
1407
|
allExhibitions: {
|
|
@@ -1413,7 +1425,7 @@ var dr = {
|
|
|
1413
1425
|
let t = e, { label: r, picture: u, related: d, settings: f } = $(), m = i(() => d(t.themeId, t.subthemeId)), h = i(() => t.themeId ? "_blank" : void 0), _ = (e) => e.tipText ?? (e.tip ? r(`related.${e.tip}`) : "");
|
|
1414
1426
|
return (t, i) => {
|
|
1415
1427
|
let d = v("router-link");
|
|
1416
|
-
return p(), s("div",
|
|
1428
|
+
return p(), s("div", mr, [c("span", hr, "\xA0" + y(b(r)("related.heading")), 1), c("ul", null, [(p(!0), s(n, null, g(m.value, (t) => (p(), s("li", { key: t.key }, [
|
|
1417
1429
|
i[0] ||= l(" \xA0", -1),
|
|
1418
1430
|
c("img", {
|
|
1419
1431
|
src: b(u)(e.arrow),
|
|
@@ -1421,7 +1433,7 @@ var dr = {
|
|
|
1421
1433
|
class: "mwnf-sh-arrow",
|
|
1422
1434
|
width: "11",
|
|
1423
1435
|
height: "8"
|
|
1424
|
-
}, null, 8,
|
|
1436
|
+
}, null, 8, gr),
|
|
1425
1437
|
t.to ? w((p(), a(d, {
|
|
1426
1438
|
key: 0,
|
|
1427
1439
|
to: t.to,
|
|
@@ -1433,8 +1445,8 @@ var dr = {
|
|
|
1433
1445
|
key: 1,
|
|
1434
1446
|
href: t.href,
|
|
1435
1447
|
target: h.value
|
|
1436
|
-
}, [l(y(b(r)(`related.${t.key}`)), 1)], 8,
|
|
1437
|
-
]))), 128)), e.allExhibitions ? (p(), s("li",
|
|
1448
|
+
}, [l(y(b(r)(`related.${t.key}`)), 1)], 8, _r)), [[b(G), { text: _(t) }]])
|
|
1449
|
+
]))), 128)), e.allExhibitions ? (p(), s("li", vr, [
|
|
1438
1450
|
i[1] ||= l(" \xA0", -1),
|
|
1439
1451
|
c("img", {
|
|
1440
1452
|
src: b(u)(e.arrow),
|
|
@@ -1442,136 +1454,136 @@ var dr = {
|
|
|
1442
1454
|
class: "mwnf-sh-arrow",
|
|
1443
1455
|
width: "11",
|
|
1444
1456
|
height: "8"
|
|
1445
|
-
}, null, 8,
|
|
1446
|
-
c("b", null, [c("a", { href: `${b(f).parent}/#/exhibitions` }, y(b(r)("nav.allExhibitions")), 9,
|
|
1457
|
+
}, null, 8, yr),
|
|
1458
|
+
c("b", null, [c("a", { href: `${b(f).parent}/#/exhibitions` }, y(b(r)("nav.allExhibitions")), 9, br)])
|
|
1447
1459
|
])) : o("", !0)])]);
|
|
1448
1460
|
};
|
|
1449
1461
|
}
|
|
1450
|
-
},
|
|
1462
|
+
}, Sr = ["src"], Cr = ["src"], wr = ["src"], Tr = "https://www.museumwnf.org/about/support", Er = {
|
|
1451
1463
|
__name: "Windows",
|
|
1452
1464
|
setup(e) {
|
|
1453
1465
|
let { href: t, label: n, picture: r } = $(), i = r("legacy/arrow_curator.gif");
|
|
1454
1466
|
return (e, r) => (p(), s("div", null, [
|
|
1455
1467
|
c("a", {
|
|
1456
1468
|
href: "#",
|
|
1457
|
-
onClick: r[0] ||= T((e) => b(Z)(b(t)({ name: "credits" }), b(
|
|
1469
|
+
onClick: r[0] ||= T((e) => b(Z)(b(t)({ name: "credits" }), b(pr).credits), ["prevent"])
|
|
1458
1470
|
}, [l(y(b(n)("band.curatedBy")) + " ", 1), b(i) ? (p(), s("img", {
|
|
1459
1471
|
key: 0,
|
|
1460
1472
|
src: b(i),
|
|
1461
1473
|
alt: "",
|
|
1462
1474
|
width: "12",
|
|
1463
1475
|
height: "7"
|
|
1464
|
-
}, null, 8,
|
|
1476
|
+
}, null, 8, Sr)) : o("", !0)]),
|
|
1465
1477
|
c("div", null, [c("a", {
|
|
1466
1478
|
href: "#",
|
|
1467
|
-
onClick: r[1] ||= T((e) => b(Z)(b(t)({ name: "cover-image" }), b(
|
|
1479
|
+
onClick: r[1] ||= T((e) => b(Z)(b(t)({ name: "cover-image" }), b(pr).coverImage), ["prevent"])
|
|
1468
1480
|
}, [l(y(b(n)("band.coverImage")) + " ", 1), b(i) ? (p(), s("img", {
|
|
1469
1481
|
key: 0,
|
|
1470
1482
|
src: b(i),
|
|
1471
1483
|
alt: "",
|
|
1472
1484
|
width: "12",
|
|
1473
1485
|
height: "7"
|
|
1474
|
-
}, null, 8,
|
|
1475
|
-
c("div", null, [c("a", { href:
|
|
1486
|
+
}, null, 8, Cr)) : o("", !0)])]),
|
|
1487
|
+
c("div", null, [c("a", { href: Tr }, [l(y(b(n)("band.support")) + " ", 1), b(i) ? (p(), s("img", {
|
|
1476
1488
|
key: 0,
|
|
1477
1489
|
src: b(i),
|
|
1478
1490
|
alt: "",
|
|
1479
1491
|
width: "12",
|
|
1480
1492
|
height: "7"
|
|
1481
|
-
}, null, 8,
|
|
1493
|
+
}, null, 8, wr)) : o("", !0)])])
|
|
1482
1494
|
]));
|
|
1483
1495
|
}
|
|
1484
|
-
},
|
|
1496
|
+
}, Dr = {
|
|
1485
1497
|
key: 0,
|
|
1486
1498
|
class: "mwnf-sh-home"
|
|
1487
|
-
},
|
|
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 = {
|
|
1488
1500
|
key: 0,
|
|
1489
1501
|
class: "mwnf-sh-home__pages"
|
|
1490
|
-
},
|
|
1502
|
+
}, Rr = ["src"], zr = ["src"], Br = { class: "mwnf-sh-band" }, Vr = { class: "mwnf-sh-band__logos" }, Hr = {
|
|
1491
1503
|
key: 0,
|
|
1492
1504
|
class: "mwnf-sh-band__gap"
|
|
1493
|
-
},
|
|
1505
|
+
}, Ur = ["href"], Wr = ["src"], Gr = ["src"], Kr = {
|
|
1494
1506
|
__name: "Home",
|
|
1495
1507
|
setup(e) {
|
|
1496
|
-
let { data: t, imagesOf: r, label: a, picture: d, root: m, settings: _,
|
|
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);
|
|
1497
1509
|
return (e, r) => {
|
|
1498
1510
|
let i = v("router-link");
|
|
1499
|
-
return b(m) ? (p(), s("div",
|
|
1511
|
+
return b(m) ? (p(), s("div", Dr, [
|
|
1500
1512
|
c("div", {
|
|
1501
1513
|
class: "mwnf-sh-home__picture",
|
|
1502
1514
|
style: f({ backgroundImage: `url(${b(d)("legacy/home_bg.jpg") ?? ""})` })
|
|
1503
|
-
}, [c("div",
|
|
1515
|
+
}, [c("div", Or, [c("div", kr, y(b(E)), 1), O.value ? (p(), s("div", {
|
|
1504
1516
|
key: 0,
|
|
1505
1517
|
class: "mwnf-sh-home__quote",
|
|
1506
1518
|
innerHTML: b(t).mdInline(O.value)
|
|
1507
|
-
}, null, 8,
|
|
1508
|
-
c("div",
|
|
1519
|
+
}, null, 8, Ar)) : o("", !0)])], 4),
|
|
1520
|
+
c("div", jr, [c("div", Mr, [u(i, { to: { name: "introduction" } }, {
|
|
1509
1521
|
default: C(() => [c("b", null, y(b(a)("home.introduction")), 1), c("img", {
|
|
1510
1522
|
src: b(d)("legacy/arrow_black.gif"),
|
|
1511
1523
|
alt: "",
|
|
1512
1524
|
width: "15",
|
|
1513
1525
|
height: "9"
|
|
1514
|
-
}, null, 8,
|
|
1526
|
+
}, null, 8, Nr)]),
|
|
1515
1527
|
_: 1
|
|
1516
|
-
}), (p(!0), s(n, null, g(b(
|
|
1528
|
+
}), (p(!0), s(n, null, g(b(T), (e, r) => (p(), s("div", { key: e.id }, [c("button", {
|
|
1517
1529
|
type: "button",
|
|
1518
1530
|
class: "mwnf-sh-home__theme",
|
|
1519
|
-
"aria-expanded": A.value ===
|
|
1520
|
-
onClick: (e) => A.value = A.value ===
|
|
1521
|
-
}, [
|
|
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", {
|
|
1522
1534
|
src: b(d)("legacy/arrow_black_down.gif"),
|
|
1523
1535
|
alt: "",
|
|
1524
1536
|
width: "15",
|
|
1525
1537
|
height: "9"
|
|
1526
|
-
}, null, 8,
|
|
1538
|
+
}, null, 8, Ir)], 8, Pr), A.value === r ? (p(), s("ul", Lr, [c("li", null, [c("img", {
|
|
1527
1539
|
src: b(d)("legacy/arrow_inner_black.gif"),
|
|
1528
1540
|
alt: "",
|
|
1529
1541
|
class: "mwnf-sh-arrow",
|
|
1530
1542
|
width: "11",
|
|
1531
1543
|
height: "8"
|
|
1532
|
-
}, null, 8,
|
|
1544
|
+
}, null, 8, Rr), u(i, { to: {
|
|
1533
1545
|
name: "theme",
|
|
1534
|
-
params: { theme:
|
|
1546
|
+
params: { theme: r + 1 }
|
|
1535
1547
|
} }, {
|
|
1536
1548
|
default: C(() => [l(y(b(a)("home.overview")), 1)]),
|
|
1537
1549
|
_: 1
|
|
1538
|
-
}, 8, ["to"])]), (p(!0), s(n, null, g(b(
|
|
1550
|
+
}, 8, ["to"])]), (p(!0), s(n, null, g(b(x)(e.id), (e, n) => (p(), s("li", { key: e.id }, [c("img", {
|
|
1539
1551
|
src: b(d)("legacy/arrow_inner_black.gif"),
|
|
1540
1552
|
alt: "",
|
|
1541
1553
|
class: "mwnf-sh-arrow",
|
|
1542
1554
|
width: "11",
|
|
1543
1555
|
height: "8"
|
|
1544
|
-
}, null, 8,
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
},
|
|
1554
|
-
c("div",
|
|
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", {
|
|
1555
1567
|
key: 1,
|
|
1556
1568
|
href: D(e)
|
|
1557
1569
|
}, [c("img", {
|
|
1558
1570
|
src: e.url,
|
|
1559
1571
|
alt: ""
|
|
1560
|
-
}, null, 8,
|
|
1572
|
+
}, null, 8, Wr)], 8, Ur)), [[b(G), { text: e.alt_text ?? "" }]]) : (p(), s("img", {
|
|
1561
1573
|
key: 2,
|
|
1562
1574
|
src: e.url,
|
|
1563
1575
|
alt: ""
|
|
1564
|
-
}, null, 8,
|
|
1576
|
+
}, null, 8, Gr))], 64))), 128))])])
|
|
1565
1577
|
])) : o("", !0);
|
|
1566
1578
|
};
|
|
1567
1579
|
}
|
|
1568
|
-
},
|
|
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 = {
|
|
1569
1581
|
key: 0,
|
|
1570
1582
|
class: "mwnf-sh-nav__group"
|
|
1571
|
-
},
|
|
1583
|
+
}, ei = { class: "mwnf-sh-nav__first mwnf-sh-nav__previous" }, ti = {
|
|
1572
1584
|
key: 0,
|
|
1573
1585
|
class: "mwnf-sh-nav__second mwnf-sh-nav__next"
|
|
1574
|
-
},
|
|
1586
|
+
}, ni = {
|
|
1575
1587
|
__name: "Banner",
|
|
1576
1588
|
props: {
|
|
1577
1589
|
kind: {
|
|
@@ -1607,21 +1619,21 @@ var dr = {
|
|
|
1607
1619
|
style: f({ backgroundImage: b(h) ? `url(${b(h)})` : "none" })
|
|
1608
1620
|
}, [
|
|
1609
1621
|
n[0] ||= c("div", { class: "mwnf-sh-banner__top" }, null, -1),
|
|
1610
|
-
c("div",
|
|
1611
|
-
c("nav",
|
|
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" } }, {
|
|
1612
1624
|
default: C(() => [l(y(b(r)("nav.entrance")), 1)]),
|
|
1613
1625
|
_: 1
|
|
1614
|
-
})]), c("div",
|
|
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", {
|
|
1615
1627
|
type: "button",
|
|
1616
1628
|
onClick: g
|
|
1617
|
-
}, y(b(r)("nav.previous")), 1)]), e.next ? (p(), s("div",
|
|
1629
|
+
}, y(b(r)("nav.previous")), 1)]), e.next ? (p(), s("div", ti, [u(i, { to: e.next }, {
|
|
1618
1630
|
default: C(() => [l(y(b(r)("nav.next")), 1)]),
|
|
1619
1631
|
_: 1
|
|
1620
1632
|
}, 8, ["to"])])) : o("", !0)])) : o("", !0)])
|
|
1621
1633
|
], 6);
|
|
1622
1634
|
};
|
|
1623
1635
|
}
|
|
1624
|
-
},
|
|
1636
|
+
}, ri = { class: "mwnf-sh-download" }, ii = ["src"], ai = ["src"], oi = ["src"], si = {
|
|
1625
1637
|
__name: "Download",
|
|
1626
1638
|
props: {
|
|
1627
1639
|
title: {
|
|
@@ -1644,13 +1656,13 @@ var dr = {
|
|
|
1644
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");
|
|
1645
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);
|
|
1646
1658
|
}
|
|
1647
|
-
return (e, t) => (p(), s("div",
|
|
1659
|
+
return (e, t) => (p(), s("div", ri, [
|
|
1648
1660
|
c("img", {
|
|
1649
1661
|
src: b(r)("legacy/print.gif"),
|
|
1650
1662
|
alt: "",
|
|
1651
1663
|
width: "14",
|
|
1652
1664
|
height: "14"
|
|
1653
|
-
}, null, 8,
|
|
1665
|
+
}, null, 8, ii),
|
|
1654
1666
|
l(" / " + y(b(n)("download.heading")), 1),
|
|
1655
1667
|
t[1] ||= c("br", null, null, -1),
|
|
1656
1668
|
c("img", {
|
|
@@ -1659,7 +1671,7 @@ var dr = {
|
|
|
1659
1671
|
class: "mwnf-sh-arrow",
|
|
1660
1672
|
width: "11",
|
|
1661
1673
|
height: "8"
|
|
1662
|
-
}, null, 8,
|
|
1674
|
+
}, null, 8, ai),
|
|
1663
1675
|
c("a", {
|
|
1664
1676
|
href: "#",
|
|
1665
1677
|
onClick: t[0] ||= T((t) => e.window.print(), ["prevent"])
|
|
@@ -1671,94 +1683,94 @@ var dr = {
|
|
|
1671
1683
|
class: "mwnf-sh-arrow",
|
|
1672
1684
|
width: "11",
|
|
1673
1685
|
height: "8"
|
|
1674
|
-
}, null, 8,
|
|
1686
|
+
}, null, 8, oi),
|
|
1675
1687
|
c("a", {
|
|
1676
1688
|
href: "#",
|
|
1677
1689
|
onClick: T(a, ["prevent"])
|
|
1678
1690
|
}, y(b(n)("download.asWord")), 1)
|
|
1679
1691
|
]));
|
|
1680
1692
|
}
|
|
1681
|
-
},
|
|
1693
|
+
}, ci = {
|
|
1682
1694
|
key: 0,
|
|
1683
1695
|
style: { "font-size": "calc(11px * var(--sh-text-scale, 1))" }
|
|
1684
|
-
},
|
|
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 = {
|
|
1685
1697
|
key: 0,
|
|
1686
1698
|
class: "mwnf-sh-intro__picture"
|
|
1687
|
-
},
|
|
1699
|
+
}, hi = { class: "mwnf-sh-intro__frame" }, gi = ["src"], _i = ["src"], vi = ["innerHTML"], yi = ["innerHTML"], bi = ["innerHTML"], xi = ["src"], Si = ["href"], Ci = {
|
|
1688
1700
|
key: 1,
|
|
1689
1701
|
class: "mwnf-sh-intro__thumbs"
|
|
1690
|
-
},
|
|
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 = {
|
|
1691
1703
|
__name: "Introduction",
|
|
1692
1704
|
setup(e) {
|
|
1693
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] ? {
|
|
1694
1706
|
name: "theme",
|
|
1695
1707
|
params: { theme: 1 }
|
|
1696
|
-
} : null),
|
|
1697
|
-
if (!
|
|
1698
|
-
let e = r.tr("items",
|
|
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 ?? {};
|
|
1699
1711
|
return {
|
|
1700
|
-
...t(
|
|
1712
|
+
...t(N.value),
|
|
1701
1713
|
secondName: e.second_name ?? "",
|
|
1702
1714
|
photographer: n[f.value] ?? n.en ?? ""
|
|
1703
1715
|
};
|
|
1704
|
-
}),
|
|
1705
|
-
function
|
|
1716
|
+
}), F = i(() => N.value ? `${S.parent}/#/item/${encodeURIComponent(N.value.id)}` : "");
|
|
1717
|
+
function I() {
|
|
1706
1718
|
Z(a({
|
|
1707
1719
|
name: "zoom",
|
|
1708
|
-
query: { img:
|
|
1709
|
-
}),
|
|
1720
|
+
query: { img: N.value.image_url }
|
|
1721
|
+
}), pr.zoom);
|
|
1710
1722
|
}
|
|
1711
1723
|
return (e, t) => {
|
|
1712
1724
|
let i = v("router-link");
|
|
1713
|
-
return b(x) ? (p(), s("div",
|
|
1714
|
-
u(
|
|
1725
|
+
return b(x) ? (p(), s("div", ci, [
|
|
1726
|
+
u(ni, {
|
|
1715
1727
|
kind: "intro",
|
|
1716
1728
|
previous: { name: "home" },
|
|
1717
1729
|
next: k.value
|
|
1718
1730
|
}, null, 8, ["next"]),
|
|
1719
|
-
c("div",
|
|
1720
|
-
c("div",
|
|
1731
|
+
c("div", li, [c("div", ui, [
|
|
1732
|
+
c("div", di, y(b(d)("home.introduction")), 1),
|
|
1721
1733
|
c("div", {
|
|
1722
1734
|
class: "mwnf-sh-intro__body",
|
|
1723
1735
|
innerHTML: b(r).md(O.value.description ?? "")
|
|
1724
|
-
}, null, 8,
|
|
1725
|
-
u(
|
|
1736
|
+
}, null, 8, fi),
|
|
1737
|
+
u(si, {
|
|
1726
1738
|
title: b(D),
|
|
1727
1739
|
blocks: [{
|
|
1728
1740
|
heading: b(d)("home.introduction"),
|
|
1729
1741
|
text: O.value.description ?? ""
|
|
1730
1742
|
}]
|
|
1731
1743
|
}, null, 8, ["title", "blocks"])
|
|
1732
|
-
]), c("div",
|
|
1733
|
-
c("div",
|
|
1744
|
+
]), c("div", pi, [N.value ? (p(), s("div", mi, [
|
|
1745
|
+
c("div", hi, [c("div", null, [
|
|
1734
1746
|
w((p(), s("button", {
|
|
1735
1747
|
type: "button",
|
|
1736
|
-
onClick:
|
|
1748
|
+
onClick: I
|
|
1737
1749
|
}, [c("img", {
|
|
1738
1750
|
class: "mwnf-sh-intro__shown",
|
|
1739
|
-
src:
|
|
1751
|
+
src: N.value.image_url,
|
|
1740
1752
|
alt: ""
|
|
1741
|
-
}, null, 8,
|
|
1753
|
+
}, null, 8, gi)])), [[b(G), { text: b(d)("item.showZoom") }]]),
|
|
1742
1754
|
t[0] ||= l("\xA0", -1),
|
|
1743
1755
|
t[1] ||= c("br", null, null, -1),
|
|
1744
1756
|
w((p(), s("button", {
|
|
1745
1757
|
type: "button",
|
|
1746
|
-
onClick:
|
|
1758
|
+
onClick: I
|
|
1747
1759
|
}, [c("img", {
|
|
1748
1760
|
src: b(_)("legacy/magnify.png"),
|
|
1749
1761
|
alt: "",
|
|
1750
1762
|
width: "15",
|
|
1751
1763
|
height: "15"
|
|
1752
|
-
}, null, 8,
|
|
1764
|
+
}, null, 8, _i)])), [[b(G), { text: b(d)("item.showZoom") }]])
|
|
1753
1765
|
])]),
|
|
1754
|
-
|
|
1766
|
+
P.value.name ? (p(), s("b", {
|
|
1755
1767
|
key: 0,
|
|
1756
|
-
innerHTML: b(r).mdInline(
|
|
1757
|
-
}, null, 8,
|
|
1758
|
-
|
|
1768
|
+
innerHTML: b(r).mdInline(P.value.name)
|
|
1769
|
+
}, null, 8, vi)) : o("", !0),
|
|
1770
|
+
P.value.secondName ? (p(), s(n, { key: 1 }, [
|
|
1759
1771
|
t[2] ||= c("br", null, null, -1),
|
|
1760
1772
|
t[3] ||= c("br", null, null, -1),
|
|
1761
|
-
c("b", { innerHTML: b(r).mdInline(
|
|
1773
|
+
c("b", { innerHTML: b(r).mdInline(P.value.secondName) }, null, 8, yi)
|
|
1762
1774
|
], 64)) : o("", !0),
|
|
1763
1775
|
(p(), s(n, null, g([
|
|
1764
1776
|
"date",
|
|
@@ -1767,10 +1779,10 @@ var dr = {
|
|
|
1767
1779
|
"material",
|
|
1768
1780
|
"architects",
|
|
1769
1781
|
"photographer"
|
|
1770
|
-
], (e) => (p(), s(n, { key: e }, [
|
|
1782
|
+
], (e) => (p(), s(n, { key: e }, [P.value[e] ? (p(), s(n, { key: 0 }, [
|
|
1771
1783
|
t[4] ||= c("br", null, null, -1),
|
|
1772
1784
|
t[5] ||= c("br", null, null, -1),
|
|
1773
|
-
c("span", { innerHTML: b(r).mdInline(
|
|
1785
|
+
c("span", { innerHTML: b(r).mdInline(P.value[e]) }, null, 8, bi)
|
|
1774
1786
|
], 64)) : o("", !0)], 64))), 64)),
|
|
1775
1787
|
t[6] ||= c("br", null, null, -1),
|
|
1776
1788
|
t[7] ||= c("br", null, null, -1),
|
|
@@ -1780,40 +1792,40 @@ var dr = {
|
|
|
1780
1792
|
class: "mwnf-sh-arrow",
|
|
1781
1793
|
width: "11",
|
|
1782
1794
|
height: "8"
|
|
1783
|
-
}, null, 8,
|
|
1784
|
-
c("a", { href:
|
|
1785
|
-
])) : o("", !0),
|
|
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", {
|
|
1786
1798
|
key: e.image_url,
|
|
1787
1799
|
type: "button",
|
|
1788
|
-
onClick: (e) =>
|
|
1800
|
+
onClick: (e) => M.value = t
|
|
1789
1801
|
}, [c("img", {
|
|
1790
1802
|
src: e.image_url,
|
|
1791
1803
|
alt: ""
|
|
1792
|
-
}, null, 8,
|
|
1793
|
-
c("div",
|
|
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", {
|
|
1794
1806
|
src: b(_)("legacy/arrow.gif"),
|
|
1795
1807
|
alt: "",
|
|
1796
1808
|
width: "10",
|
|
1797
1809
|
height: "9"
|
|
1798
|
-
}, null, 8,
|
|
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", {
|
|
1799
1811
|
src: b(_)("legacy/arrow.gif"),
|
|
1800
1812
|
alt: "",
|
|
1801
1813
|
width: "10",
|
|
1802
1814
|
height: "9"
|
|
1803
|
-
}, null, 8,
|
|
1815
|
+
}, null, 8, Ai), u(i, { to: {
|
|
1804
1816
|
name: "theme",
|
|
1805
1817
|
params: { theme: t + 1 }
|
|
1806
1818
|
} }, {
|
|
1807
|
-
default: C(() => [l(y(b(T)(e.id).title), 1)]),
|
|
1819
|
+
default: C(() => [l(y(b(A)(b(T)(e.id).title ?? "")), 1)]),
|
|
1808
1820
|
_: 2
|
|
1809
|
-
}, 1032, ["to"])]))), 128))])]), c("div",
|
|
1821
|
+
}, 1032, ["to"])]))), 128))])]), c("div", ji, [u(xr, { arrow: "legacy/arrow_inner.gif" }), u(Er, { class: "mwnf-sh-bottom__windows" })])])
|
|
1810
1822
|
])) : o("", !0);
|
|
1811
1823
|
};
|
|
1812
1824
|
}
|
|
1813
|
-
},
|
|
1825
|
+
}, Ni = {
|
|
1814
1826
|
key: 0,
|
|
1815
1827
|
class: "mwnf-sh-panel"
|
|
1816
|
-
},
|
|
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 = {
|
|
1817
1829
|
__name: "Panel",
|
|
1818
1830
|
props: {
|
|
1819
1831
|
slot: {
|
|
@@ -1835,16 +1847,16 @@ var dr = {
|
|
|
1835
1847
|
Z(d({
|
|
1836
1848
|
name: "zoom",
|
|
1837
1849
|
query: { img: _.value.image_url }
|
|
1838
|
-
}),
|
|
1850
|
+
}), pr.zoom);
|
|
1839
1851
|
}
|
|
1840
|
-
return (e, t) => _.value ? (p(), s("div",
|
|
1852
|
+
return (e, t) => _.value ? (p(), s("div", Ni, [c("div", Pi, [c("div", Fi, [c("div", null, [w((p(), s("button", {
|
|
1841
1853
|
type: "button",
|
|
1842
1854
|
onClick: C
|
|
1843
1855
|
}, [c("img", {
|
|
1844
1856
|
class: "mwnf-sh-panel__shown",
|
|
1845
1857
|
src: _.value.image_url,
|
|
1846
1858
|
alt: ""
|
|
1847
|
-
}, null, 8,
|
|
1859
|
+
}, null, 8, Ii)])), [[b(G), { text: b(f)("item.showZoom") }]]), c("div", Li, [w((p(), s("button", {
|
|
1848
1860
|
type: "button",
|
|
1849
1861
|
onClick: C
|
|
1850
1862
|
}, [c("img", {
|
|
@@ -1852,75 +1864,75 @@ var dr = {
|
|
|
1852
1864
|
alt: "",
|
|
1853
1865
|
width: "15",
|
|
1854
1866
|
height: "15"
|
|
1855
|
-
}, null, 8,
|
|
1867
|
+
}, null, 8, Ri)])), [[b(G), { text: b(f)("item.showZoom") }]])])])])]), c("div", zi, [
|
|
1856
1868
|
v.value.name ? (p(), s("p", {
|
|
1857
1869
|
key: 0,
|
|
1858
1870
|
class: "mwnf-sh-panel__name",
|
|
1859
1871
|
innerHTML: b(u).mdInline(v.value.name)
|
|
1860
|
-
}, null, 8,
|
|
1872
|
+
}, null, 8, Bi)) : o("", !0),
|
|
1861
1873
|
v.value.date ? (p(), s("p", {
|
|
1862
1874
|
key: 1,
|
|
1863
1875
|
innerHTML: b(u).mdInline(v.value.date)
|
|
1864
|
-
}, null, 8,
|
|
1876
|
+
}, null, 8, Vi)) : o("", !0),
|
|
1865
1877
|
v.value.place ? (p(), s("p", {
|
|
1866
1878
|
key: 2,
|
|
1867
1879
|
innerHTML: b(u).mdInline(v.value.place)
|
|
1868
|
-
}, null, 8,
|
|
1880
|
+
}, null, 8, Hi)) : o("", !0),
|
|
1869
1881
|
v.value.artist ? (p(), s("p", {
|
|
1870
1882
|
key: 3,
|
|
1871
1883
|
innerHTML: b(u).mdInline(v.value.artist)
|
|
1872
|
-
}, null, 8,
|
|
1884
|
+
}, null, 8, Ui)) : o("", !0),
|
|
1873
1885
|
v.value.material ? (p(), s("p", {
|
|
1874
1886
|
key: 4,
|
|
1875
1887
|
innerHTML: b(u).mdInline(v.value.material)
|
|
1876
|
-
}, null, 8,
|
|
1888
|
+
}, null, 8, Wi)) : o("", !0),
|
|
1877
1889
|
v.value.architects ? (p(), s("p", {
|
|
1878
1890
|
key: 5,
|
|
1879
1891
|
innerHTML: b(u).mdInline(v.value.architects)
|
|
1880
|
-
}, null, 8,
|
|
1892
|
+
}, null, 8, Gi)) : o("", !0),
|
|
1881
1893
|
v.value.justification ? (p(), s("p", {
|
|
1882
1894
|
key: 6,
|
|
1883
1895
|
class: "mwnf-sh-panel__justification",
|
|
1884
1896
|
innerHTML: b(u).mdInline(v.value.justification)
|
|
1885
|
-
}, null, 8,
|
|
1897
|
+
}, null, 8, Ki)) : o("", !0),
|
|
1886
1898
|
c("p", null, [c("img", {
|
|
1887
1899
|
src: b(m)("legacy/arrow_inner_black.gif"),
|
|
1888
1900
|
alt: "",
|
|
1889
1901
|
class: "mwnf-sh-arrow",
|
|
1890
1902
|
width: "11",
|
|
1891
1903
|
height: "8"
|
|
1892
|
-
}, null, 8,
|
|
1904
|
+
}, null, 8, qi), c("a", {
|
|
1893
1905
|
href: x.value,
|
|
1894
1906
|
target: "_blank",
|
|
1895
1907
|
rel: "noopener"
|
|
1896
|
-
}, y(b(f)("item.moreInfo")), 9,
|
|
1897
|
-
S.value.length ? (p(), s(n, { key: 7 }, [c("p", null, [c("b", null, y(b(f)("item.related")), 1)]), c("div",
|
|
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", {
|
|
1898
1910
|
key: e.index,
|
|
1899
1911
|
type: "button",
|
|
1900
1912
|
onClick: (t) => a("update:view", e.index)
|
|
1901
1913
|
}, [c("img", {
|
|
1902
1914
|
src: e.variant.image_url,
|
|
1903
1915
|
alt: ""
|
|
1904
|
-
}, null, 8,
|
|
1916
|
+
}, null, 8, Zi)], 8, Xi))), 128))])], 64)) : o("", !0)
|
|
1905
1917
|
])])) : o("", !0);
|
|
1906
1918
|
}
|
|
1907
|
-
},
|
|
1919
|
+
}, $i = {
|
|
1908
1920
|
key: 1,
|
|
1909
1921
|
class: "mwnf-sh-pagewrap",
|
|
1910
1922
|
style: { "font-size": "calc(11px * var(--sh-text-scale, 1))" }
|
|
1911
|
-
},
|
|
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 = {
|
|
1912
1924
|
key: 0,
|
|
1913
1925
|
class: "mwnf-sh-page__thumbs"
|
|
1914
|
-
},
|
|
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 = {
|
|
1915
1927
|
key: 0,
|
|
1916
1928
|
class: "mwnf-sh-more__current"
|
|
1917
|
-
},
|
|
1929
|
+
}, ha = ["src"], ga = {
|
|
1918
1930
|
key: 0,
|
|
1919
1931
|
class: "mwnf-sh-more__current"
|
|
1920
|
-
},
|
|
1932
|
+
}, _a = { class: "mwnf-sh-bottom" }, va = { class: "mwnf-sh-bottom__pages" }, ya = ["src"], ba = ["src"], xa = {
|
|
1921
1933
|
key: 0,
|
|
1922
1934
|
class: "mwnf-sh-bottom__current"
|
|
1923
|
-
},
|
|
1935
|
+
}, Sa = { class: "mwnf-sh-bottom__related" }, Ca = {
|
|
1924
1936
|
__name: "Page",
|
|
1925
1937
|
props: {
|
|
1926
1938
|
theme: {
|
|
@@ -1933,53 +1945,53 @@ var dr = {
|
|
|
1933
1945
|
}
|
|
1934
1946
|
},
|
|
1935
1947
|
setup(e) {
|
|
1936
|
-
let t = e, { data: r, label: d, pageAt: f, picture: m, slots: _,
|
|
1937
|
-
S(
|
|
1938
|
-
|
|
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;
|
|
1939
1951
|
});
|
|
1940
|
-
let
|
|
1941
|
-
|
|
1942
|
-
},
|
|
1943
|
-
{ heading:
|
|
1944
|
-
{ heading:
|
|
1945
|
-
{ text:
|
|
1946
|
-
{ text:
|
|
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(() => [
|
|
1955
|
+
{ heading: w(k.value?.id).title },
|
|
1956
|
+
{ heading: z.value },
|
|
1957
|
+
{ text: M.value.quote ?? "" },
|
|
1958
|
+
{ text: M.value.description ?? "" }
|
|
1947
1959
|
]);
|
|
1948
1960
|
return (t, i) => {
|
|
1949
1961
|
let f = v("router-link");
|
|
1950
|
-
return O.value ? (p(), s("div",
|
|
1951
|
-
u(
|
|
1952
|
-
c("div",
|
|
1953
|
-
c("div",
|
|
1954
|
-
c("div",
|
|
1955
|
-
|
|
1956
|
-
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}`,
|
|
1957
1969
|
type: "button",
|
|
1958
|
-
onClick: (e) =>
|
|
1970
|
+
onClick: (e) => L(t)
|
|
1959
1971
|
}, [c("img", {
|
|
1960
1972
|
src: e.variants[0].image_url,
|
|
1961
1973
|
alt: ""
|
|
1962
|
-
}, null, 8,
|
|
1974
|
+
}, null, 8, oa)], 8, aa))), 128))])) : o("", !0),
|
|
1963
1975
|
i[2] ||= c("div", { class: "mwnf-sh-page__rule" }, null, -1),
|
|
1964
|
-
c("div",
|
|
1976
|
+
c("div", sa, [M.value.quote ? (p(), s("div", {
|
|
1965
1977
|
key: 0,
|
|
1966
1978
|
class: "mwnf-sh-page__quote",
|
|
1967
|
-
innerHTML: b(r).md(
|
|
1968
|
-
}, null, 8,
|
|
1979
|
+
innerHTML: b(r).md(M.value.quote)
|
|
1980
|
+
}, null, 8, ca)) : o("", !0), M.value.description ? (p(), s("div", {
|
|
1969
1981
|
key: 1,
|
|
1970
|
-
innerHTML: b(r).md(
|
|
1971
|
-
}, null, 8,
|
|
1972
|
-
c("div",
|
|
1973
|
-
c("span",
|
|
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),
|
|
1974
1986
|
i[1] ||= c("br", null, null, -1),
|
|
1975
|
-
c("span",
|
|
1987
|
+
c("span", fa, y(R(k.value.id)), 1)
|
|
1976
1988
|
]), c("ul", null, [c("li", null, [c("img", {
|
|
1977
1989
|
src: b(m)("legacy/arrow_inner_black.gif"),
|
|
1978
1990
|
alt: "",
|
|
1979
1991
|
class: "mwnf-sh-arrow",
|
|
1980
1992
|
width: "11",
|
|
1981
1993
|
height: "8"
|
|
1982
|
-
}, null, 8,
|
|
1994
|
+
}, null, 8, pa), e.page === 0 ? (p(), s("span", ma, y(b(d)("home.overview")), 1)) : (p(), a(f, {
|
|
1983
1995
|
key: 1,
|
|
1984
1996
|
to: {
|
|
1985
1997
|
name: "theme",
|
|
@@ -1988,13 +2000,13 @@ var dr = {
|
|
|
1988
2000
|
}, {
|
|
1989
2001
|
default: C(() => [l(y(b(d)("home.overview")), 1)]),
|
|
1990
2002
|
_: 1
|
|
1991
|
-
}, 8, ["to"]))]), (p(!0), s(n, null, g(
|
|
2003
|
+
}, 8, ["to"]))]), (p(!0), s(n, null, g(P.value, (t, n) => (p(), s("li", { key: t.id }, [c("img", {
|
|
1992
2004
|
src: b(m)("legacy/arrow_inner_black.gif"),
|
|
1993
2005
|
alt: "",
|
|
1994
2006
|
class: "mwnf-sh-arrow",
|
|
1995
2007
|
width: "11",
|
|
1996
2008
|
height: "8"
|
|
1997
|
-
}, null, 8,
|
|
2009
|
+
}, null, 8, ha), e.page === n + 1 ? (p(), s("span", ga, y(R(t.id)), 1)) : (p(), a(f, {
|
|
1998
2010
|
key: 1,
|
|
1999
2011
|
to: {
|
|
2000
2012
|
name: "subtheme",
|
|
@@ -2004,72 +2016,72 @@ var dr = {
|
|
|
2004
2016
|
}
|
|
2005
2017
|
}
|
|
2006
2018
|
}, {
|
|
2007
|
-
default: C(() => [l(y(
|
|
2019
|
+
default: C(() => [l(y(R(t.id)), 1)]),
|
|
2008
2020
|
_: 2
|
|
2009
2021
|
}, 1032, ["to"]))]))), 128))])]),
|
|
2010
|
-
u(
|
|
2011
|
-
title: b(
|
|
2012
|
-
blocks:
|
|
2022
|
+
u(si, {
|
|
2023
|
+
title: b(D),
|
|
2024
|
+
blocks: B.value
|
|
2013
2025
|
}, null, 8, ["title", "blocks"])
|
|
2014
|
-
]), u(
|
|
2015
|
-
view:
|
|
2016
|
-
"onUpdate:view": i[0] ||= (e) =>
|
|
2017
|
-
slot:
|
|
2026
|
+
]), u(Qi, {
|
|
2027
|
+
view: I.value,
|
|
2028
|
+
"onUpdate:view": i[0] ||= (e) => I.value = e,
|
|
2029
|
+
slot: N.value[F.value] ?? null
|
|
2018
2030
|
}, null, 8, ["view", "slot"])]),
|
|
2019
|
-
c("div",
|
|
2031
|
+
c("div", _a, [c("div", va, [c("b", null, y(b(d)("page.inExhibition")), 1), c("ul", null, [c("li", null, [c("img", {
|
|
2020
2032
|
src: b(m)("legacy/arrow.gif"),
|
|
2021
2033
|
alt: "",
|
|
2022
2034
|
width: "10",
|
|
2023
2035
|
height: "9"
|
|
2024
|
-
}, null, 8,
|
|
2036
|
+
}, null, 8, ya), u(f, { to: { name: "introduction" } }, {
|
|
2025
2037
|
default: C(() => [l(y(b(d)("home.introduction")), 1)]),
|
|
2026
2038
|
_: 1
|
|
2027
|
-
})]), (p(!0), s(n, null, g(b(
|
|
2039
|
+
})]), (p(!0), s(n, null, g(b(T), (t, n) => (p(), s("li", { key: t.id }, [c("img", {
|
|
2028
2040
|
src: b(m)("legacy/arrow.gif"),
|
|
2029
2041
|
alt: "",
|
|
2030
2042
|
width: "10",
|
|
2031
2043
|
height: "9"
|
|
2032
|
-
}, null, 8,
|
|
2044
|
+
}, null, 8, ba), n + 1 === e.theme ? (p(), s("span", xa, y(R(t.id)), 1)) : (p(), a(f, {
|
|
2033
2045
|
key: 1,
|
|
2034
2046
|
to: {
|
|
2035
2047
|
name: "theme",
|
|
2036
2048
|
params: { theme: n + 1 }
|
|
2037
2049
|
}
|
|
2038
2050
|
}, {
|
|
2039
|
-
default: C(() => [l(y(
|
|
2051
|
+
default: C(() => [l(y(R(t.id)), 1)]),
|
|
2040
2052
|
_: 2
|
|
2041
|
-
}, 1032, ["to"]))]))), 128))])]), c("div",
|
|
2053
|
+
}, 1032, ["to"]))]))), 128))])]), c("div", Sa, [u(xr, {
|
|
2042
2054
|
arrow: "legacy/arrow_inner.gif",
|
|
2043
2055
|
"theme-id": k.value.id,
|
|
2044
|
-
"subtheme-id": e.page === 0 ? null :
|
|
2045
|
-
}, null, 8, ["theme-id", "subtheme-id"]), u(
|
|
2056
|
+
"subtheme-id": e.page === 0 ? null : j.value.id
|
|
2057
|
+
}, null, 8, ["theme-id", "subtheme-id"]), u(Er, { class: "mwnf-sh-bottom__windows" })])])
|
|
2046
2058
|
])) : (p(), a(b(E), { key: 0 }));
|
|
2047
2059
|
};
|
|
2048
2060
|
}
|
|
2049
|
-
},
|
|
2061
|
+
}, wa = { key: 0 }, Ta = { class: "mwnf-sh-reading" }, Ea = { class: "mwnf-sh-reading__languages" }, Da = {
|
|
2050
2062
|
key: 0,
|
|
2051
2063
|
class: "mwnf-sh-reading__language mwnf-sh-reading__language--current"
|
|
2052
|
-
},
|
|
2064
|
+
}, Oa = {
|
|
2053
2065
|
key: 1,
|
|
2054
2066
|
class: "mwnf-sh-reading__language"
|
|
2055
|
-
},
|
|
2067
|
+
}, ka = { class: "mwnf-sh-reading__content" }, Aa = { class: "mwnf-sh-reading__close" }, ja = ["src"], Ma = { class: "mwnf-sh-reading__title" }, Na = ["innerHTML"], Pa = {
|
|
2056
2068
|
__name: "FurtherReading",
|
|
2057
2069
|
setup(e) {
|
|
2058
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();
|
|
2059
2071
|
return (e, i) => {
|
|
2060
2072
|
let a = v("router-link");
|
|
2061
|
-
return b(h) ? (p(), s("div",
|
|
2073
|
+
return b(h) ? (p(), s("div", wa, [u(ni, {
|
|
2062
2074
|
kind: "intro",
|
|
2063
2075
|
heading: b(r)("related.furtherReading"),
|
|
2064
2076
|
paging: !1
|
|
2065
|
-
}, null, 8, ["heading"]), c("div",
|
|
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: {
|
|
2066
2078
|
name: "further-reading",
|
|
2067
2079
|
query: { lang: e }
|
|
2068
2080
|
} }, {
|
|
2069
2081
|
default: C(() => [l(y(b(d)(e)), 1)]),
|
|
2070
2082
|
_: 2
|
|
2071
|
-
}, 1032, ["to"])]))], 64))), 128))]), c("div",
|
|
2072
|
-
c("div",
|
|
2083
|
+
}, 1032, ["to"])]))], 64))), 128))]), c("div", ka, [
|
|
2084
|
+
c("div", Aa, [c("a", {
|
|
2073
2085
|
href: "#",
|
|
2074
2086
|
onClick: T(O, ["prevent"])
|
|
2075
2087
|
}, [c("img", {
|
|
@@ -2077,16 +2089,16 @@ var dr = {
|
|
|
2077
2089
|
alt: "",
|
|
2078
2090
|
width: "11",
|
|
2079
2091
|
height: "8"
|
|
2080
|
-
}, null, 8,
|
|
2081
|
-
c("div",
|
|
2092
|
+
}, null, 8, ja), l(y(b(r)("reading.close")), 1)])]),
|
|
2093
|
+
c("div", Ma, [c("span", null, y(b(x)), 1)]),
|
|
2082
2094
|
(p(!0), s(n, null, g(E.value, (e) => (p(), s("p", {
|
|
2083
2095
|
key: e,
|
|
2084
2096
|
innerHTML: b(t).mdInline(e)
|
|
2085
|
-
}, null, 8,
|
|
2097
|
+
}, null, 8, Na))), 128))
|
|
2086
2098
|
])])])) : o("", !0);
|
|
2087
2099
|
};
|
|
2088
2100
|
}
|
|
2089
|
-
},
|
|
2101
|
+
}, Fa = ["innerHTML"], Ia = {
|
|
2090
2102
|
__name: "Window",
|
|
2091
2103
|
props: { kind: {
|
|
2092
2104
|
type: String,
|
|
@@ -2101,10 +2113,10 @@ var dr = {
|
|
|
2101
2113
|
c("h3", null, y(b(l)), 1),
|
|
2102
2114
|
c("p", null, y(b(r)(`windows.${e.kind}`)), 1),
|
|
2103
2115
|
n[0] ||= c("br", null, null, -1),
|
|
2104
|
-
c("div", { innerHTML: d.value }, null, 8,
|
|
2116
|
+
c("div", { innerHTML: d.value }, null, 8, Fa)
|
|
2105
2117
|
]));
|
|
2106
2118
|
}
|
|
2107
|
-
},
|
|
2119
|
+
}, La = ["src"], Ra = {
|
|
2108
2120
|
__name: "Zoom",
|
|
2109
2121
|
props: { image: {
|
|
2110
2122
|
type: String,
|
|
@@ -2119,58 +2131,58 @@ var dr = {
|
|
|
2119
2131
|
key: 0,
|
|
2120
2132
|
src: c.value,
|
|
2121
2133
|
alt: ""
|
|
2122
|
-
}, null, 8,
|
|
2134
|
+
}, null, 8, La)) : o("", !0);
|
|
2123
2135
|
}
|
|
2124
|
-
},
|
|
2136
|
+
}, za = [
|
|
2125
2137
|
"collections",
|
|
2126
2138
|
"items",
|
|
2127
2139
|
"countries",
|
|
2128
2140
|
"partners"
|
|
2129
2141
|
];
|
|
2130
|
-
function
|
|
2142
|
+
function Ba(e) {
|
|
2131
2143
|
return [
|
|
2132
2144
|
{
|
|
2133
2145
|
path: "/",
|
|
2134
2146
|
name: "home",
|
|
2135
|
-
component:
|
|
2136
|
-
meta: e("home", ...
|
|
2147
|
+
component: Kr,
|
|
2148
|
+
meta: e("home", ...za)
|
|
2137
2149
|
},
|
|
2138
2150
|
{
|
|
2139
2151
|
path: "/introduction",
|
|
2140
2152
|
name: "introduction",
|
|
2141
|
-
component:
|
|
2142
|
-
meta: e("introduction", ...
|
|
2153
|
+
component: Mi,
|
|
2154
|
+
meta: e("introduction", ...za)
|
|
2143
2155
|
},
|
|
2144
2156
|
{
|
|
2145
2157
|
path: "/theme/:theme(\\d+)",
|
|
2146
2158
|
name: "theme",
|
|
2147
|
-
component:
|
|
2159
|
+
component: Ca,
|
|
2148
2160
|
props: (e) => ({
|
|
2149
2161
|
theme: Number(e.params.theme),
|
|
2150
2162
|
page: 0
|
|
2151
2163
|
}),
|
|
2152
|
-
meta: e("theme", ...
|
|
2164
|
+
meta: e("theme", ...za)
|
|
2153
2165
|
},
|
|
2154
2166
|
{
|
|
2155
2167
|
path: "/theme/:theme(\\d+)/:page(\\d+)",
|
|
2156
2168
|
name: "subtheme",
|
|
2157
|
-
component:
|
|
2169
|
+
component: Ca,
|
|
2158
2170
|
props: (e) => ({
|
|
2159
2171
|
theme: Number(e.params.theme),
|
|
2160
2172
|
page: Number(e.params.page)
|
|
2161
2173
|
}),
|
|
2162
|
-
meta: e("subtheme", ...
|
|
2174
|
+
meta: e("subtheme", ...za)
|
|
2163
2175
|
},
|
|
2164
2176
|
{
|
|
2165
2177
|
path: "/further-reading",
|
|
2166
2178
|
name: "further-reading",
|
|
2167
|
-
component:
|
|
2179
|
+
component: Pa,
|
|
2168
2180
|
meta: e("further-reading", "collections")
|
|
2169
2181
|
},
|
|
2170
2182
|
{
|
|
2171
2183
|
path: "/credits",
|
|
2172
2184
|
name: "credits",
|
|
2173
|
-
component:
|
|
2185
|
+
component: Ia,
|
|
2174
2186
|
props: { kind: "curators" },
|
|
2175
2187
|
meta: {
|
|
2176
2188
|
...e("credits", "collections"),
|
|
@@ -2180,7 +2192,7 @@ function La(e) {
|
|
|
2180
2192
|
{
|
|
2181
2193
|
path: "/cover-image",
|
|
2182
2194
|
name: "cover-image",
|
|
2183
|
-
component:
|
|
2195
|
+
component: Ia,
|
|
2184
2196
|
props: { kind: "coverImage" },
|
|
2185
2197
|
meta: {
|
|
2186
2198
|
...e("cover-image", "collections"),
|
|
@@ -2190,7 +2202,7 @@ function La(e) {
|
|
|
2190
2202
|
{
|
|
2191
2203
|
path: "/zoom",
|
|
2192
2204
|
name: "zoom",
|
|
2193
|
-
component:
|
|
2205
|
+
component: Ra,
|
|
2194
2206
|
props: (e) => ({ image: String(e.query.img ?? "") }),
|
|
2195
2207
|
meta: {
|
|
2196
2208
|
...e("zoom", "collections"),
|
|
@@ -2199,8 +2211,8 @@ function La(e) {
|
|
|
2199
2211
|
}
|
|
2200
2212
|
];
|
|
2201
2213
|
}
|
|
2202
|
-
var
|
|
2203
|
-
function
|
|
2214
|
+
var Va = "https://www.museumwnf.org/about/language-policy";
|
|
2215
|
+
function Ha({ languages: e, parent: t, profiles: n = [], texts: r = rr }) {
|
|
2204
2216
|
let i = [{
|
|
2205
2217
|
label: "header.project",
|
|
2206
2218
|
href: `${t}/#/about`
|
|
@@ -2274,7 +2286,7 @@ function za({ languages: e, parent: t, profiles: n = [], texts: r = rr }) {
|
|
|
2274
2286
|
},
|
|
2275
2287
|
{
|
|
2276
2288
|
label: "footer.languagePolicy",
|
|
2277
|
-
href:
|
|
2289
|
+
href: Va
|
|
2278
2290
|
},
|
|
2279
2291
|
{
|
|
2280
2292
|
label: "footer.cookies",
|
|
@@ -2283,7 +2295,7 @@ function za({ languages: e, parent: t, profiles: n = [], texts: r = rr }) {
|
|
|
2283
2295
|
]
|
|
2284
2296
|
};
|
|
2285
2297
|
}
|
|
2286
|
-
function
|
|
2298
|
+
function Ua({ parent: e, texts: t = rr, ...n }) {
|
|
2287
2299
|
return {
|
|
2288
2300
|
parent: e,
|
|
2289
2301
|
texts: t,
|
|
@@ -2292,4 +2304,4 @@ function Ba({ parent: e, texts: t = rr, ...n }) {
|
|
|
2292
2304
|
};
|
|
2293
2305
|
}
|
|
2294
2306
|
//#endregion
|
|
2295
|
-
export { Be as EXHIBITION_ENTITIES,
|
|
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 };
|