@museumwnf/viewer-layout 3.13.2 → 3.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +59 -11
- package/dist/minisite.js +1427 -333
- package/dist/viewer-layout.css +1 -1
- package/package.json +1 -1
package/dist/minisite.js
CHANGED
|
@@ -30,10 +30,10 @@ var G = {
|
|
|
30
30
|
beforeUnmount() {
|
|
31
31
|
H.visible = !1;
|
|
32
32
|
}
|
|
33
|
-
},
|
|
33
|
+
}, K = {
|
|
34
34
|
key: 1,
|
|
35
35
|
class: "mwnf-minisite"
|
|
36
|
-
},
|
|
36
|
+
}, q = { class: "mwnf-minisite__column" }, J = { class: "mwnf-minisite-header" }, ee = { class: "mwnf-minisite-header__logo" }, te = ["href"], ne = ["src"], Y = { class: "mwnf-minisite-header__nav" }, re = { class: "mwnf-minisite-header__back" }, ie = ["href"], ae = ["value", "aria-label"], oe = ["value"], se = { class: "mwnf-minisite-menu" }, ce = { class: "mwnf-minisite-menu__list" }, le = ["href", "onClick"], ue = ["href"], de = { class: "mwnf-minisite-footer" }, fe = ["href"], pe = {
|
|
37
37
|
__name: "Shell",
|
|
38
38
|
props: {
|
|
39
39
|
languages: {
|
|
@@ -86,21 +86,21 @@ var G = {
|
|
|
86
86
|
return (e, r) => (p(), s(n, null, [S.value ? (p(), s("div", {
|
|
87
87
|
key: 0,
|
|
88
88
|
class: d(`mwnf-minisite-window mwnf-minisite-window--${S.value}`)
|
|
89
|
-
}, [_(e.$slots, "default")], 2)) : (p(), s("div",
|
|
89
|
+
}, [_(e.$slots, "default")], 2)) : (p(), s("div", K, [
|
|
90
90
|
c("div", {
|
|
91
91
|
class: "mwnf-minisite__strip",
|
|
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", q, [
|
|
96
|
+
c("header", J, [c("div", ee, [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, ne)], 8, te)), [[b(G), { text: t.logoTip ? b(m)(t.logoTip) : "" }]])]), c("div", Y, [c("div", re, [(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, ie)), [[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,17 @@ 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, oe))), 128))], 40, ae)])])]),
|
|
112
112
|
c("main", null, [_(e.$slots, "default")]),
|
|
113
|
-
c("nav",
|
|
113
|
+
t.menu.length ? (p(), s(n, { key: 0 }, [c("nav", se, [c("ul", ce, [(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, le)) : (p(), s("a", {
|
|
118
118
|
key: 1,
|
|
119
119
|
href: e.href
|
|
120
|
-
}, y(b(m)(e.label)), 9,
|
|
121
|
-
|
|
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)])
|
|
120
|
+
}, y(b(m)(e.label)), 9, ue))])], 64))), 128))])]), r[1] ||= c("div", { class: "mwnf-minisite-menu__line" }, null, -1)], 64)) : o("", !0),
|
|
121
|
+
c("footer", de, [(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, fe), r[2] ||= l("\xA0|\xA0 ", -1)], 64))), 128)), l(y(b(m)(t.copyright)) + " " + y(b(D)), 1)])
|
|
123
122
|
]),
|
|
124
123
|
c("div", {
|
|
125
124
|
class: "mwnf-minisite__strip",
|
|
@@ -136,20 +135,20 @@ var G = {
|
|
|
136
135
|
role: "tooltip"
|
|
137
136
|
}, y(b(H).text), 5), [[x, b(H).visible]])], 64));
|
|
138
137
|
}
|
|
139
|
-
},
|
|
138
|
+
}, me = [
|
|
140
139
|
[/[‘’]/g, "'"],
|
|
141
140
|
[/[“”]/g, "\""],
|
|
142
141
|
[/…/g, "..."],
|
|
143
142
|
[/•/g, "*"]
|
|
144
143
|
];
|
|
145
|
-
function
|
|
146
|
-
return
|
|
144
|
+
function X(e) {
|
|
145
|
+
return me.reduce((e, [t, n]) => e.replace(t, n), String(e ?? ""));
|
|
147
146
|
}
|
|
148
|
-
var
|
|
147
|
+
var he = /^(Artintro )?(Theme|Page) \d+$/, ge = {
|
|
149
148
|
partners: ["325b7505-1527-5442-99ea-6a40f8c43d3f"],
|
|
150
149
|
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
150
|
};
|
|
152
|
-
function
|
|
151
|
+
function _e(e, t) {
|
|
153
152
|
return e.flatMap((e, n) => t(e.id).map((t, r) => ({
|
|
154
153
|
theme: n + 1,
|
|
155
154
|
page: r + 1,
|
|
@@ -157,7 +156,7 @@ function ve(e, t) {
|
|
|
157
156
|
themeNode: e
|
|
158
157
|
})));
|
|
159
158
|
}
|
|
160
|
-
function
|
|
159
|
+
function ve(e, t, n) {
|
|
161
160
|
let r = e.findIndex((e) => e.theme === t && e.page === n);
|
|
162
161
|
if (r < 0) return null;
|
|
163
162
|
let i = (e) => ({
|
|
@@ -173,7 +172,7 @@ function ye(e, t, n) {
|
|
|
173
172
|
next: r < e.length - 1 ? i(e[r + 1]) : null
|
|
174
173
|
};
|
|
175
174
|
}
|
|
176
|
-
function
|
|
175
|
+
function ye(e) {
|
|
177
176
|
let t = /* @__PURE__ */ new Map();
|
|
178
177
|
for (let n of e?.items ?? []) {
|
|
179
178
|
let e = n.display_order ?? 0;
|
|
@@ -192,28 +191,28 @@ function be(e) {
|
|
|
192
191
|
}])
|
|
193
192
|
}));
|
|
194
193
|
}
|
|
195
|
-
function
|
|
194
|
+
function be(e, t, n) {
|
|
196
195
|
return !e || e.type === "object" && n?.partners?.includes(e.partner_id) || e.type === "monument" && n?.monuments?.includes(e.mwnf_reference) ? "" : t(e);
|
|
197
196
|
}
|
|
198
|
-
function
|
|
197
|
+
function xe(e, t, n, r) {
|
|
199
198
|
return [
|
|
200
199
|
M(t.location ?? ""),
|
|
201
200
|
M(t.province ?? ""),
|
|
202
|
-
|
|
201
|
+
be(e, n, r)
|
|
203
202
|
].filter(Boolean).join(", ");
|
|
204
203
|
}
|
|
205
|
-
function
|
|
206
|
-
return n.location ? [n.location, e ? r(e) : ""].filter(Boolean).join(", ") :
|
|
204
|
+
function Se({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i }) {
|
|
205
|
+
return n.location ? [n.location, e ? r(e) : ""].filter(Boolean).join(", ") : xe(e, t, r, i);
|
|
207
206
|
}
|
|
208
|
-
function
|
|
207
|
+
function Ce(e, t, n) {
|
|
209
208
|
let r = e?.type === "object" ? t.artist : t.architects, i = [].concat(t.materials ?? []).filter(Boolean).join(", ");
|
|
210
209
|
return {
|
|
211
|
-
artist:
|
|
212
|
-
material:
|
|
210
|
+
artist: X(n.artist || M(r ?? "")),
|
|
211
|
+
material: X(n.material || M(i))
|
|
213
212
|
};
|
|
214
213
|
}
|
|
215
|
-
function
|
|
216
|
-
let o = e?.type === "object" ? n.museum || M(t.holder ?? "") : "", s =
|
|
214
|
+
function we({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i, family: a }) {
|
|
215
|
+
let o = e?.type === "object" ? n.museum || M(t.holder ?? "") : "", s = Se({
|
|
217
216
|
item: e,
|
|
218
217
|
own: t,
|
|
219
218
|
caption: n,
|
|
@@ -221,15 +220,15 @@ function Te({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i, fa
|
|
|
221
220
|
noCountry: i
|
|
222
221
|
});
|
|
223
222
|
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:
|
|
223
|
+
name: X(n.name ? M(n.name) : M(t.name ?? "")),
|
|
224
|
+
detailName: X(n.detail_name),
|
|
225
|
+
dateLines: [n.date || M(t.dates ?? ""), n.dynasty || M(t.dynasty ?? "")].filter(Boolean).map(X),
|
|
226
|
+
details: [o, s].filter(Boolean).map(X),
|
|
227
|
+
...a === "BAR" ? Ce(e, t, n) : {},
|
|
228
|
+
justification: X(n.justification)
|
|
230
229
|
};
|
|
231
230
|
}
|
|
232
|
-
function
|
|
231
|
+
function Te({ caption: e = {}, first: t = {}, record: n = {}, placement: r }) {
|
|
233
232
|
let i = (n, r = "") => e[n] || t[n] || r || "";
|
|
234
233
|
return {
|
|
235
234
|
name: M(i("name", n.name)),
|
|
@@ -240,13 +239,13 @@ function Ee({ caption: e = {}, first: t = {}, record: n = {}, placement: r }) {
|
|
|
240
239
|
i("museum"),
|
|
241
240
|
i("location", n.location)
|
|
242
241
|
].filter(Boolean),
|
|
243
|
-
details: r ? [
|
|
242
|
+
details: r ? [Se(r)].filter(Boolean).map(X) : [],
|
|
244
243
|
artist: i("artist", n.artist),
|
|
245
244
|
material: i("material"),
|
|
246
245
|
justification: e.justification || t.justification || ""
|
|
247
246
|
};
|
|
248
247
|
}
|
|
249
|
-
function
|
|
248
|
+
function Ee(e, t, n = "ISL") {
|
|
250
249
|
return {
|
|
251
250
|
name: e.name || t.name,
|
|
252
251
|
detailName: n === "BAR" ? e.detailName : e.detailName || t.detailName,
|
|
@@ -257,27 +256,27 @@ function De(e, t, n = "ISL") {
|
|
|
257
256
|
justification: e.justification || t.justification
|
|
258
257
|
};
|
|
259
258
|
}
|
|
260
|
-
function
|
|
259
|
+
function De(e, t, n) {
|
|
261
260
|
let r = (e) => {
|
|
262
261
|
let t = e ? n(e.entry.id) : null;
|
|
263
262
|
return t && t.type !== "picture" ? t.id : null;
|
|
264
263
|
};
|
|
265
264
|
return r(e?.variants[t]) ?? r(e?.variants[0]) ?? null;
|
|
266
265
|
}
|
|
267
|
-
function
|
|
266
|
+
function Oe(e, t) {
|
|
268
267
|
return e?.variants[t]?.image || e?.variants[0]?.image || null;
|
|
269
268
|
}
|
|
270
|
-
function
|
|
271
|
-
let a = (e, t) => e ?
|
|
269
|
+
function ke({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i }) {
|
|
270
|
+
let a = (e, t) => e ? X(M(e)) : t;
|
|
272
271
|
return [
|
|
273
272
|
a(n.name, M(t.name ?? "")),
|
|
274
273
|
a(n.date, M(t.dates ?? "")),
|
|
275
|
-
a(n.dynasty,
|
|
274
|
+
a(n.dynasty, X(M(t.dynasty ?? ""))),
|
|
276
275
|
e?.type === "object" ? a(n.museum, M(t.holder ?? "")) : "",
|
|
277
|
-
a(n.location,
|
|
276
|
+
a(n.location, xe(e, t, r, i))
|
|
278
277
|
];
|
|
279
278
|
}
|
|
280
|
-
function
|
|
279
|
+
function Ae(e, { partnerName: t, partnerCountry: n, countryName: r }) {
|
|
281
280
|
let i = (e) => e ? r(e) : "";
|
|
282
281
|
return e.partner ? e.place ? [
|
|
283
282
|
t(e.partner),
|
|
@@ -285,39 +284,40 @@ function je(e, { partnerName: t, partnerCountry: n, countryName: r }) {
|
|
|
285
284
|
i(e.country)
|
|
286
285
|
].filter(Boolean).join(", ") : [t(e.partner), i(n(e.partner))].filter(Boolean).join(", ") : [e.name, i(e.country)].filter(Boolean).join(", ");
|
|
287
286
|
}
|
|
288
|
-
function
|
|
287
|
+
function je(e, t) {
|
|
289
288
|
return "href" in e ? e.href : t?.(e.partner);
|
|
290
289
|
}
|
|
291
|
-
function
|
|
290
|
+
function Me(e) {
|
|
292
291
|
return /(^|[^*])\*[^*\s][^*]*\*/.test(e ?? "") || /\b_[^_]+_\b/.test(e ?? "");
|
|
293
292
|
}
|
|
294
293
|
//#endregion
|
|
295
294
|
//#region src/minisite/exhibition.js
|
|
296
|
-
var
|
|
295
|
+
var Ne = {
|
|
297
296
|
ISL: "minisite",
|
|
298
297
|
BAR: "minisiteBaroque",
|
|
299
|
-
SH: "minisiteSharingHistory"
|
|
298
|
+
SH: "minisiteSharingHistory",
|
|
299
|
+
GAI: "minisiteArtIntro"
|
|
300
300
|
};
|
|
301
|
-
function
|
|
301
|
+
function Pe(e) {
|
|
302
302
|
return e?.family ?? "ISL";
|
|
303
303
|
}
|
|
304
|
-
function
|
|
305
|
-
return e?.texts ?? Pe
|
|
304
|
+
function Fe(e) {
|
|
305
|
+
return e?.texts ?? Ne[Pe(e)] ?? Ne.ISL;
|
|
306
306
|
}
|
|
307
|
-
var
|
|
307
|
+
var Ie = [
|
|
308
308
|
"collections",
|
|
309
309
|
"items",
|
|
310
310
|
"countries",
|
|
311
311
|
"partners",
|
|
312
312
|
"glossary"
|
|
313
|
-
],
|
|
314
|
-
function
|
|
315
|
-
if (!
|
|
313
|
+
], Le = null;
|
|
314
|
+
function Re() {
|
|
315
|
+
if (!Le) {
|
|
316
316
|
let e = I();
|
|
317
|
-
|
|
317
|
+
Le = {
|
|
318
318
|
pkg: e,
|
|
319
319
|
data: P({
|
|
320
|
-
eager:
|
|
320
|
+
eager: Ie,
|
|
321
321
|
glossary: !1
|
|
322
322
|
}),
|
|
323
323
|
tree: F({
|
|
@@ -326,21 +326,21 @@ function ze() {
|
|
|
326
326
|
})
|
|
327
327
|
};
|
|
328
328
|
}
|
|
329
|
-
return
|
|
329
|
+
return Le;
|
|
330
330
|
}
|
|
331
|
-
var
|
|
331
|
+
var ze = [
|
|
332
332
|
"collections",
|
|
333
333
|
"items",
|
|
334
334
|
"countries",
|
|
335
335
|
"glossary"
|
|
336
336
|
];
|
|
337
|
-
function
|
|
338
|
-
let { pkg: t, data: n, tree: r } =
|
|
339
|
-
S(p, (e) => Promise.all(
|
|
340
|
-
let m = r.root, h = i(() => m.value ? r.children(m.value.id) : []), g = i(() =>
|
|
337
|
+
function Be() {
|
|
338
|
+
let { pkg: t, data: n, tree: r } = Re(), { locale: a, t: o } = R(), s = z(), c = s.minisite ?? {}, l = Pe(c), u = Fe(c), d = (e) => o(`${u}.${e}`), f = V(), p = i(() => a.value);
|
|
339
|
+
S(p, (e) => Promise.all(Ie.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(() => _e(h.value, r.children));
|
|
341
341
|
function _(e) {
|
|
342
342
|
let n = t.translations("collections", p.value)[e] ?? {};
|
|
343
|
-
return
|
|
343
|
+
return he.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 we(y(t.entry));
|
|
362
362
|
let r = e.variants[0];
|
|
363
|
-
return
|
|
363
|
+
return Te({
|
|
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 ? Ee(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) => ve(g.value, e, t),
|
|
406
|
+
slots: ye,
|
|
407
|
+
placementCaption: (e) => we(y(e)),
|
|
408
408
|
viewCaption: b,
|
|
409
|
-
introCaption: (e) =>
|
|
409
|
+
introCaption: (e) => ke(y(e)),
|
|
410
410
|
title: i(() => m.value ? _(m.value.id).title ?? "" : "")
|
|
411
411
|
};
|
|
412
412
|
}
|
|
@@ -436,17 +436,17 @@ var He = { class: "mwnf-minisite-home" }, Ue = { class: "mwnf-minisite-home__tit
|
|
|
436
436
|
}, ct = { class: "mwnf-minisite-partners__line" }, lt = ["href"], ut = { class: "mwnf-minisite-partners__logos" }, dt = ["href"], ft = ["src"], pt = {
|
|
437
437
|
__name: "Home",
|
|
438
438
|
setup(e) {
|
|
439
|
-
let { label: t, family: d, lang: m, data: h, root: _, themes: x, text: E, title: D, settings: O, picture: k, href: A, glossaryFor: j } =
|
|
439
|
+
let { label: t, family: d, lang: m, data: h, root: _, themes: x, text: E, title: D, settings: O, picture: k, href: A, glossaryFor: j } = Be(), M = i(() => _.value ? h.mdInline(E(_.value.id).description, { glossary: j(_.value.id) }) : ""), N = i(() => (O.menuSecondColumnFrom ?? Infinity) - 1), P = i(() => x.value.slice(0, N.value).map((e, t) => ({
|
|
440
440
|
theme: e,
|
|
441
441
|
number: t + 1
|
|
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) => Ae(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) => je(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) => {
|
|
@@ -586,7 +586,7 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
|
|
|
586
586
|
required: !0
|
|
587
587
|
} },
|
|
588
588
|
setup(t) {
|
|
589
|
-
let { t: n } = R(), r = z(), i = (t) => e(r.chrome, t), a = (e) => n(`${
|
|
589
|
+
let { t: n } = R(), r = z(), i = (t) => e(r.chrome, t), a = (e) => n(`${Fe(r.minisite)}.${e}`);
|
|
590
590
|
function o() {
|
|
591
591
|
window.print();
|
|
592
592
|
}
|
|
@@ -625,7 +625,7 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
|
|
|
625
625
|
}, Nt = ["href"], Pt = ["src"], Ft = ["href"], It = ["href", "onClick"], Lt = ["src"], Rt = ["src"], zt = { key: 2 }, Bt = { key: 0 }, Vt = ["innerHTML"], Ht = ["innerHTML"], Ut = {
|
|
626
626
|
__name: "Introduction",
|
|
627
627
|
setup(e) {
|
|
628
|
-
let { label: r, lang: d, data: m, root: h, text: _, title: x, settings: w, picture: E, href: D, introCaption: O, slots: k, glossaryFor: A, family: j } =
|
|
628
|
+
let { label: r, lang: d, data: m, root: h, text: _, title: x, settings: w, picture: E, href: D, introCaption: O, slots: k, glossaryFor: A, family: j } = Be(), M = i(() => h.value ? _(h.value.id) : {}), N = i(() => h.value ? A(h.value.id) : []), P = i(() => m.md(M.value.extra?.intro_text, { glossary: N.value })), F = i(() => m.mdInline(M.value.extra?.intro_header ?? "")), I = i(() => k(h.value).flatMap((e) => e.variants).map(({ entry: e, image: t }) => ({
|
|
629
629
|
entry: e,
|
|
630
630
|
image: t,
|
|
631
631
|
lines: O(e)
|
|
@@ -767,7 +767,7 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
|
|
|
767
767
|
}
|
|
768
768
|
},
|
|
769
769
|
setup(e) {
|
|
770
|
-
let r = e, { label: m, family: _, lang: x, data: E, title: D, text: O, settings: k, picture: A, href: j, pageAt: M, slots: N, placementCaption: P, viewCaption: F, glossaryFor: I } =
|
|
770
|
+
let r = e, { label: m, family: _, lang: x, data: E, title: D, text: O, settings: k, picture: A, href: j, pageAt: M, slots: N, placementCaption: P, viewCaption: F, glossaryFor: I } = Be(), R = i(() => M(r.theme, r.page)), z = i(() => R.value ? O(R.value.node.id) : {}), B = i(() => R.value ? I(R.value.node.id) : []), V = i(() => R.value ? N(R.value.node) : []), H = i(() => z.value.quote ?? ""), U = h({
|
|
771
771
|
slot: 0,
|
|
772
772
|
variant: 0
|
|
773
773
|
});
|
|
@@ -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),
|
|
778
|
+
let W = i(() => V.value[U.value.slot] ?? null), K = i(() => W.value?.variants[U.value.variant] ?? null), q = i(() => Oe(W.value, U.value.variant)), J = i(() => !W.value || !K.value ? null : {
|
|
779
779
|
...F(W.value, U.value.variant),
|
|
780
|
-
sheetId:
|
|
780
|
+
sheetId: De(W.value, U.value.variant, (e) => E.itemById.value.get(e))
|
|
781
781
|
});
|
|
782
|
-
function
|
|
782
|
+
function ee(e) {
|
|
783
783
|
U.value = {
|
|
784
784
|
slot: e,
|
|
785
785
|
variant: 0
|
|
786
786
|
};
|
|
787
787
|
}
|
|
788
|
-
function
|
|
788
|
+
function te(e) {
|
|
789
789
|
U.value = {
|
|
790
790
|
...U.value,
|
|
791
791
|
variant: e
|
|
792
792
|
};
|
|
793
793
|
}
|
|
794
|
-
function
|
|
795
|
-
|
|
794
|
+
function ne() {
|
|
795
|
+
q.value && Z(j({
|
|
796
796
|
name: "zoom",
|
|
797
|
-
query: { img:
|
|
797
|
+
query: { img: q.value }
|
|
798
798
|
}), Ve.zoom);
|
|
799
799
|
}
|
|
800
|
-
let
|
|
801
|
-
function
|
|
800
|
+
let Y = L(B);
|
|
801
|
+
function re() {
|
|
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 ie = 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: ie.value ? `url(${ie.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(Y).onClick && b(Y).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) => ee(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(Me)(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: re })
|
|
883
|
+
]), c("div", tn, [c("div", nn, [q.value ? w((p(), s("a", {
|
|
884
884
|
key: 0,
|
|
885
885
|
href: "#",
|
|
886
|
-
onClick: T(
|
|
886
|
+
onClick: T(ne, ["prevent"])
|
|
887
887
|
}, [c("img", {
|
|
888
|
-
src:
|
|
888
|
+
src: q.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)]), J.value ? (p(), s("div", an, [
|
|
891
891
|
c("div", null, [
|
|
892
|
-
c("strong", { innerHTML: b(E).mdInline(
|
|
892
|
+
c("strong", { innerHTML: b(E).mdInline(J.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(J.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(J.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(J.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(J.value.artist) }, null, 8, dn), c("div", { innerHTML: b(E).mdInline(J.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) => te(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(J.value.justification)
|
|
911
911
|
}, null, 8, gn),
|
|
912
|
-
|
|
912
|
+
J.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?.(J.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(Y).active.value ? (p(), a(t, {
|
|
919
919
|
key: 0,
|
|
920
|
-
term: b(
|
|
921
|
-
html: b(E).md(b(
|
|
922
|
-
onClose: b(
|
|
920
|
+
term: b(Y).active.value,
|
|
921
|
+
html: b(E).md(b(Y).active.value.definition),
|
|
922
|
+
onClose: b(Y).close
|
|
923
923
|
}, null, 8, [
|
|
924
924
|
"term",
|
|
925
925
|
"html",
|
|
@@ -931,13 +931,13 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
|
|
|
931
931
|
}, bn = { class: "mwnf-minisite-credits" }, xn = ["innerHTML"], Sn = {
|
|
932
932
|
__name: "Credits",
|
|
933
933
|
setup(e) {
|
|
934
|
-
let { data: t, root: n, text: r, title: a } =
|
|
934
|
+
let { data: t, root: n, text: r, title: a } = Be(), o = i(() => n.value ? t.md(r(n.value.id).extra?.credits) : "");
|
|
935
935
|
return (e, t) => (p(), s("div", bn, [c("h1", null, y(b(a)), 1), c("div", { innerHTML: o.value }, null, 8, xn)]));
|
|
936
936
|
}
|
|
937
937
|
}, Cn = { class: "mwnf-minisite-map" }, wn = { key: 0 }, Tn = ["src"], En = {
|
|
938
938
|
__name: "Map",
|
|
939
939
|
setup(e) {
|
|
940
|
-
let { lang: t, settings: r, picture: a } =
|
|
940
|
+
let { lang: t, settings: r, picture: a } = Be(), l = i(() => {
|
|
941
941
|
let e = r.map;
|
|
942
942
|
return e ? [a(e.picture(t.value)), ...Array.from({ length: Math.max((e.count ?? 1) - 1, 0) }, (n, r) => a(e.picture(t.value, r + 2)))].filter(Boolean) : [];
|
|
943
943
|
});
|
|
@@ -955,17 +955,751 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
|
|
|
955
955
|
default: ""
|
|
956
956
|
} },
|
|
957
957
|
setup(e) {
|
|
958
|
-
let t = e, { pages: n, root: r, slots: a } =
|
|
958
|
+
let t = e, { pages: n, root: r, slots: a } = Be(), c = i(() => [r.value, ...n.value.map((e) => e.node)].filter(Boolean).flatMap((e) => a(e).flatMap((e) => e.variants.map((e) => e.image))).includes(t.image) ? t.image : "");
|
|
959
959
|
return (e, t) => (p(), s("div", Dn, [c.value ? (p(), s("img", {
|
|
960
960
|
key: 0,
|
|
961
961
|
src: c.value,
|
|
962
962
|
alt: ""
|
|
963
963
|
}, null, 8, On)) : o("", !0)]));
|
|
964
964
|
}
|
|
965
|
+
}, An = {
|
|
966
|
+
partners: ["325b7505-1527-5442-99ea-6a40f8c43d3f"],
|
|
967
|
+
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}`)
|
|
965
968
|
};
|
|
969
|
+
function jn(e) {
|
|
970
|
+
let t = /* @__PURE__ */ new Map();
|
|
971
|
+
for (let n of e?.items ?? []) {
|
|
972
|
+
let e = n.display_order ?? 0;
|
|
973
|
+
t.has(e) || t.set(e, []), t.get(e).push(n);
|
|
974
|
+
}
|
|
975
|
+
let n = (t) => (e?.images ?? []).find((e) => e.display_order === t)?.url ?? null;
|
|
976
|
+
return [...t.entries()].sort(([e], [t]) => e - t).map(([e, t]) => ({
|
|
977
|
+
n: e,
|
|
978
|
+
variants: [...t].sort((e, t) => (e.variant_order ?? 0) - (t.variant_order ?? 0)).flatMap((t) => t.details?.length ? t.details.map((r) => ({
|
|
979
|
+
entry: t,
|
|
980
|
+
view: r,
|
|
981
|
+
image: r.image_url ?? n(e)
|
|
982
|
+
})) : [{
|
|
983
|
+
entry: t,
|
|
984
|
+
image: t.image_url ?? n(e)
|
|
985
|
+
}])
|
|
986
|
+
}));
|
|
987
|
+
}
|
|
988
|
+
function Mn(e, t, n) {
|
|
989
|
+
return !e || e.type === "object" && n?.partners?.includes(e.partner_id) || e.type === "monument" && n?.monuments?.includes(e.mwnf_reference) ? "" : t(e);
|
|
990
|
+
}
|
|
991
|
+
function Nn(e, t, n, r) {
|
|
992
|
+
return [
|
|
993
|
+
M(t.location ?? ""),
|
|
994
|
+
M(t.province ?? ""),
|
|
995
|
+
Mn(e, n, r)
|
|
996
|
+
].filter(Boolean).join(", ");
|
|
997
|
+
}
|
|
998
|
+
function Pn({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i }) {
|
|
999
|
+
return n.location ? [n.location, e ? r(e) : ""].filter(Boolean).join(", ") : Nn(e, t, r, i);
|
|
1000
|
+
}
|
|
1001
|
+
function Fn({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i }) {
|
|
1002
|
+
let a = e?.type === "object" ? n.museum || M(t.holder ?? "") : "", o = Pn({
|
|
1003
|
+
item: e,
|
|
1004
|
+
own: t,
|
|
1005
|
+
caption: n,
|
|
1006
|
+
countryName: r,
|
|
1007
|
+
noCountry: i
|
|
1008
|
+
}), s = e?.type === "object" ? t.artist : t.architects, c = [].concat(t.materials ?? []).filter(Boolean).join(", ");
|
|
1009
|
+
return {
|
|
1010
|
+
name: X(n.name ? M(n.name) : M(t.name ?? "")),
|
|
1011
|
+
detailName: X(n.detail_name),
|
|
1012
|
+
dateLines: [n.date || M(t.dates ?? ""), n.dynasty || M(t.dynasty ?? "")].filter(Boolean).map(X),
|
|
1013
|
+
details: [a, o].filter(Boolean).map(X),
|
|
1014
|
+
artist: X(n.artist || M(s ?? "")),
|
|
1015
|
+
material: X(n.material || M(c)),
|
|
1016
|
+
justification: X(n.justification)
|
|
1017
|
+
};
|
|
1018
|
+
}
|
|
1019
|
+
function In({ caption: e = {}, first: t = {}, record: n = {}, placement: r }) {
|
|
1020
|
+
let i = (n, r = "") => e[n] || t[n] || r || "";
|
|
1021
|
+
return {
|
|
1022
|
+
name: M(i("name", n.name)),
|
|
1023
|
+
detailName: e.detail_name ?? "",
|
|
1024
|
+
dateLines: [
|
|
1025
|
+
i("dynasty"),
|
|
1026
|
+
i("date", n.dates),
|
|
1027
|
+
i("museum"),
|
|
1028
|
+
i("location", n.location)
|
|
1029
|
+
].filter(Boolean),
|
|
1030
|
+
details: r ? [Pn(r)].filter(Boolean).map(X) : [],
|
|
1031
|
+
artist: i("artist", n.artist),
|
|
1032
|
+
material: i("material"),
|
|
1033
|
+
justification: e.justification || t.justification || ""
|
|
1034
|
+
};
|
|
1035
|
+
}
|
|
1036
|
+
function Ln(e, t) {
|
|
1037
|
+
return {
|
|
1038
|
+
name: e.name || t.name,
|
|
1039
|
+
detailName: e.detailName,
|
|
1040
|
+
dateLines: e.dateLines.length ? e.dateLines : t.dateLines,
|
|
1041
|
+
details: e.details.length ? e.details : t.details,
|
|
1042
|
+
artist: e.artist || t.artist || "",
|
|
1043
|
+
material: e.material || t.material || "",
|
|
1044
|
+
justification: e.justification || t.justification
|
|
1045
|
+
};
|
|
1046
|
+
}
|
|
1047
|
+
function Rn({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i }) {
|
|
1048
|
+
let a = (e, t) => e ? X(M(e)) : t;
|
|
1049
|
+
return [
|
|
1050
|
+
a(n.name, M(t.name ?? "")),
|
|
1051
|
+
a(n.date, M(t.dates ?? "")),
|
|
1052
|
+
a(n.dynasty, X(M(t.dynasty ?? ""))),
|
|
1053
|
+
e?.type === "object" ? a(n.museum, M(t.holder ?? "")) : "",
|
|
1054
|
+
a(n.location, Nn(e, t, r, i))
|
|
1055
|
+
];
|
|
1056
|
+
}
|
|
1057
|
+
function zn(e, { partnerName: t, partnerCountry: n, countryName: r }) {
|
|
1058
|
+
let i = (e) => e ? r(e) : "";
|
|
1059
|
+
return e.partner ? e.place ? [
|
|
1060
|
+
t(e.partner),
|
|
1061
|
+
e.place,
|
|
1062
|
+
i(e.country)
|
|
1063
|
+
].filter(Boolean).join(", ") : [t(e.partner), i(n(e.partner))].filter(Boolean).join(", ") : [e.name, i(e.country)].filter(Boolean).join(", ");
|
|
1064
|
+
}
|
|
1065
|
+
//#endregion
|
|
1066
|
+
//#region src/minisite/baroqueart/exhibition.js
|
|
1067
|
+
var Bn = Ne.BAR, Vn = [
|
|
1068
|
+
"collections",
|
|
1069
|
+
"items",
|
|
1070
|
+
"countries",
|
|
1071
|
+
"partners",
|
|
1072
|
+
"glossary"
|
|
1073
|
+
], Hn = {
|
|
1074
|
+
zoom: ["mwnfing", ""],
|
|
1075
|
+
introZoom: ["BAR", "scrollbars=no,resize=no,width=565,height=435"]
|
|
1076
|
+
};
|
|
1077
|
+
function Un() {
|
|
1078
|
+
let { pkg: t, data: n, tree: r } = Re(), { locale: a, t: o } = R(), s = z(), c = s.minisite ?? {}, l = c.texts ?? Bn, u = (e) => o(`${l}.${e}`), d = V(), f = i(() => a.value);
|
|
1079
|
+
S(f, (e) => Promise.all(Vn.flatMap((n) => [t.loadTranslations(n, e), t.loadTranslations(n, "en")])), { immediate: !0 });
|
|
1080
|
+
let p = r.root, m = i(() => p.value ? r.children(p.value.id) : []), h = i(() => _e(m.value, r.children));
|
|
1081
|
+
function g(e) {
|
|
1082
|
+
let n = t.translations("collections", f.value)[e] ?? {};
|
|
1083
|
+
return he.test(n.title ?? "") ? {
|
|
1084
|
+
...n,
|
|
1085
|
+
title: ""
|
|
1086
|
+
} : n;
|
|
1087
|
+
}
|
|
1088
|
+
let _ = (e) => e?.country_id ? M(n.tr("countries", e.country_id, f.value).name ?? "") : "";
|
|
1089
|
+
function v(e) {
|
|
1090
|
+
return {
|
|
1091
|
+
item: n.itemById.value.get(e.id),
|
|
1092
|
+
own: n.tr("items", e.id, f.value),
|
|
1093
|
+
caption: e.caption?.[f.value] ?? {},
|
|
1094
|
+
countryName: _,
|
|
1095
|
+
noCountry: c.noCountry
|
|
1096
|
+
};
|
|
1097
|
+
}
|
|
1098
|
+
function y(e, t) {
|
|
1099
|
+
let r = (t) => {
|
|
1100
|
+
if (!t.view) return Fn(v(t.entry));
|
|
1101
|
+
let r = e.variants[0];
|
|
1102
|
+
return In({
|
|
1103
|
+
caption: t.view.caption?.[f.value] ?? {},
|
|
1104
|
+
first: r.view ? r.view.caption?.[f.value] ?? {} : {},
|
|
1105
|
+
record: t.view.id ? n.tr("items", t.view.id, f.value) : {},
|
|
1106
|
+
placement: v(t.entry)
|
|
1107
|
+
});
|
|
1108
|
+
}, i = e?.variants[t];
|
|
1109
|
+
return i ? Ln(r(i), r(e.variants[0])) : null;
|
|
1110
|
+
}
|
|
1111
|
+
function b(e) {
|
|
1112
|
+
let r = g(e).glossary_ids ?? [];
|
|
1113
|
+
return r.length === 0 ? [] : D(O({ glossary_ids: r }, f.value, {
|
|
1114
|
+
translations: t.translations,
|
|
1115
|
+
byId: n.index("glossary").value
|
|
1116
|
+
}));
|
|
1117
|
+
}
|
|
1118
|
+
function x(t) {
|
|
1119
|
+
return t ? e(s.chrome, String(t).replace("{lang}", f.value)) : null;
|
|
1120
|
+
}
|
|
1121
|
+
function C(e) {
|
|
1122
|
+
return new URL(d.resolve({
|
|
1123
|
+
...e,
|
|
1124
|
+
query: {
|
|
1125
|
+
...e.query,
|
|
1126
|
+
lang: f.value
|
|
1127
|
+
}
|
|
1128
|
+
}).href, window.location.href).href;
|
|
1129
|
+
}
|
|
1130
|
+
return {
|
|
1131
|
+
t: o,
|
|
1132
|
+
label: u,
|
|
1133
|
+
lang: f,
|
|
1134
|
+
data: n,
|
|
1135
|
+
root: p,
|
|
1136
|
+
themes: m,
|
|
1137
|
+
pages: h,
|
|
1138
|
+
text: g,
|
|
1139
|
+
settings: c,
|
|
1140
|
+
picture: x,
|
|
1141
|
+
href: C,
|
|
1142
|
+
glossaryFor: b,
|
|
1143
|
+
pageAt: (e, t) => ve(h.value, e, t),
|
|
1144
|
+
slots: jn,
|
|
1145
|
+
placementCaption: (e) => Fn(v(e)),
|
|
1146
|
+
viewCaption: y,
|
|
1147
|
+
introCaption: (e) => Rn(v(e)),
|
|
1148
|
+
title: i(() => p.value ? g(p.value.id).title ?? "" : "")
|
|
1149
|
+
};
|
|
1150
|
+
}
|
|
1151
|
+
//#endregion
|
|
1152
|
+
//#region src/minisite/baroqueart/Home.vue
|
|
1153
|
+
var Wn = { class: "mwnf-baroqueart-home" }, Gn = { class: "mwnf-baroqueart-home__title" }, Kn = ["innerHTML"], qn = { class: "mwnf-baroqueart-home__menu" }, Jn = {
|
|
1154
|
+
key: 0,
|
|
1155
|
+
class: "mwnf-baroqueart-home__menu2"
|
|
1156
|
+
}, Yn = { class: "mwnf-baroqueart-partners" }, Xn = { class: "mwnf-baroqueart-partners__curators" }, Zn = { class: "mwnf-baroqueart-partners__line" }, Qn = ["innerHTML"], $n = { class: "mwnf-baroqueart-partners__cooperation" }, er = ["href"], tr = { class: "mwnf-baroqueart-partners__tab" }, nr = ["href"], rr = ["src"], ir = {
|
|
1157
|
+
key: 0,
|
|
1158
|
+
class: "mwnf-baroqueart-partners__design"
|
|
1159
|
+
}, ar = { class: "mwnf-baroqueart-partners__design-tab" }, or = { class: "mwnf-baroqueart-partners__design-tab" }, sr = ["href"], cr = ["src"], lr = {
|
|
1160
|
+
__name: "Home",
|
|
1161
|
+
setup(e) {
|
|
1162
|
+
let { label: t, lang: d, data: m, root: h, themes: _, text: x, title: T, settings: E, picture: D, glossaryFor: O } = Un(), k = i(() => h.value ? m.mdInline(x(h.value.id).description, { glossary: O(h.value.id) }) : ""), A = i(() => (E.menuSecondColumnFrom ?? Infinity) - 1), j = i(() => _.value.slice(0, A.value).map((e, t) => ({
|
|
1163
|
+
theme: e,
|
|
1164
|
+
number: t + 1
|
|
1165
|
+
}))), M = i(() => _.value.slice(A.value).map((e, t) => ({
|
|
1166
|
+
theme: e,
|
|
1167
|
+
number: A.value + t + 1
|
|
1168
|
+
}))), N = i(() => E.curators ?? []), P = (e) => zn(e, {
|
|
1169
|
+
partnerName: (e) => m.tr("partners", e, d.value).name,
|
|
1170
|
+
partnerCountry: (e) => m.partnerById.value.get(e)?.country_id,
|
|
1171
|
+
countryName: (e) => m.tr("countries", e, d.value).name
|
|
1172
|
+
}), F = (e) => je(e, E.partnerHref), I = i(() => h.value ? x(h.value.id).extra?.credits ?? "" : ""), L = i(() => E.design ?? null), R = i(() => D(E.banner)), z = i(() => D(d.value === "ar" ? "legacy/home_bg_ar.jpg" : "legacy/home_bg.jpg"));
|
|
1173
|
+
return S([T, d], () => {
|
|
1174
|
+
document.title = [t("identity.windowTitle"), T.value].filter(Boolean).join(" | ");
|
|
1175
|
+
}, { immediate: !0 }), (e, i) => {
|
|
1176
|
+
let d = v("router-link");
|
|
1177
|
+
return p(), s(n, null, [
|
|
1178
|
+
c("div", Wn, [
|
|
1179
|
+
i[3] ||= c("div", { class: "mwnf-baroqueart-home__bg1" }, null, -1),
|
|
1180
|
+
c("div", {
|
|
1181
|
+
class: "mwnf-baroqueart-home__bg2",
|
|
1182
|
+
style: f({ backgroundImage: z.value ? `url(${z.value})` : "none" })
|
|
1183
|
+
}, null, 4),
|
|
1184
|
+
c("div", Gn, y(b(T)), 1),
|
|
1185
|
+
c("div", {
|
|
1186
|
+
class: "mwnf-baroqueart-home__description",
|
|
1187
|
+
innerHTML: k.value
|
|
1188
|
+
}, null, 8, Kn),
|
|
1189
|
+
c("div", qn, [c("div", null, [i[0] ||= l("> ", -1), u(d, { to: { name: "introduction" } }, {
|
|
1190
|
+
default: C(() => [l(y(b(t)("home.introduction")), 1)]),
|
|
1191
|
+
_: 1
|
|
1192
|
+
})]), (p(!0), s(n, null, g(j.value, ({ theme: e, number: t }) => (p(), s("div", { key: e.id }, [i[1] ||= l(" > ", -1), u(d, { to: {
|
|
1193
|
+
name: "exhibition",
|
|
1194
|
+
params: { theme: t }
|
|
1195
|
+
} }, {
|
|
1196
|
+
default: C(() => [l(y(b(x)(e.id).title), 1)]),
|
|
1197
|
+
_: 2
|
|
1198
|
+
}, 1032, ["to"])]))), 128))]),
|
|
1199
|
+
M.value.length ? (p(), s("div", Jn, [(p(!0), s(n, null, g(M.value, ({ theme: e, number: t }) => (p(), s("div", { key: e.id }, [i[2] ||= l(" > ", -1), u(d, { to: {
|
|
1200
|
+
name: "exhibition",
|
|
1201
|
+
params: { theme: t }
|
|
1202
|
+
} }, {
|
|
1203
|
+
default: C(() => [l(y(b(x)(e.id).title), 1)]),
|
|
1204
|
+
_: 2
|
|
1205
|
+
}, 1032, ["to"])]))), 128))])) : o("", !0)
|
|
1206
|
+
]),
|
|
1207
|
+
c("div", Yn, [c("div", Xn, [
|
|
1208
|
+
c("div", Zn, y(b(t)("home.curatedBy")), 1),
|
|
1209
|
+
c("div", {
|
|
1210
|
+
class: "mwnf-baroqueart-partners__tab",
|
|
1211
|
+
innerHTML: b(m).mdInline(I.value)
|
|
1212
|
+
}, null, 8, Qn),
|
|
1213
|
+
c("div", $n, [l(y(b(t)("home.cooperation")) + " ", 1), c("a", { href: b(E).partnerListHref }, y(b(t)("home.partnerInstitutions")), 9, er)]),
|
|
1214
|
+
c("div", tr, [(p(!0), s(n, null, g(N.value, (e, t) => (p(), s(n, { key: e.logo }, [
|
|
1215
|
+
l(y(P(e)), 1),
|
|
1216
|
+
i[4] ||= c("br", null, null, -1),
|
|
1217
|
+
w((p(), s("a", {
|
|
1218
|
+
class: "mwnf-baroqueart-partners__curator",
|
|
1219
|
+
href: F(e)
|
|
1220
|
+
}, [c("img", {
|
|
1221
|
+
src: b(D)(e.logo),
|
|
1222
|
+
alt: ""
|
|
1223
|
+
}, null, 8, rr)], 8, nr)), [[b(G), {
|
|
1224
|
+
text: P(e),
|
|
1225
|
+
width: 220
|
|
1226
|
+
}]]),
|
|
1227
|
+
t < N.value.length - 1 ? (p(), s("span", {
|
|
1228
|
+
key: 0,
|
|
1229
|
+
class: "mwnf-baroqueart-partners__gap",
|
|
1230
|
+
style: f({ width: `${e.space ?? 0}px` })
|
|
1231
|
+
}, null, 4)) : o("", !0)
|
|
1232
|
+
], 64))), 128))])
|
|
1233
|
+
]), L.value ? (p(), s("div", ir, [
|
|
1234
|
+
l(y(b(t)("home.design")) + " ", 1),
|
|
1235
|
+
c("div", ar, y(L.value.name), 1),
|
|
1236
|
+
c("div", or, [c("a", {
|
|
1237
|
+
href: L.value.href,
|
|
1238
|
+
target: "_blank",
|
|
1239
|
+
rel: "noopener"
|
|
1240
|
+
}, [c("img", {
|
|
1241
|
+
src: b(D)(L.value.logo),
|
|
1242
|
+
alt: ""
|
|
1243
|
+
}, null, 8, cr)], 8, sr)])
|
|
1244
|
+
])) : o("", !0)]),
|
|
1245
|
+
R.value ? (p(), a(r, {
|
|
1246
|
+
key: 0,
|
|
1247
|
+
defer: "",
|
|
1248
|
+
to: ".mwnf-baroqueart-footer"
|
|
1249
|
+
}, [c("div", {
|
|
1250
|
+
class: "mwnf-baroqueart-home__banner",
|
|
1251
|
+
style: f({ backgroundImage: `url(${R.value})` }),
|
|
1252
|
+
"aria-hidden": "true"
|
|
1253
|
+
}, null, 4)])) : o("", !0)
|
|
1254
|
+
], 64);
|
|
1255
|
+
};
|
|
1256
|
+
}
|
|
1257
|
+
}, ur = { class: "mwnf-baroqueart-download" }, dr = ["src"], fr = ["src"], pr = ["src"], mr = {
|
|
1258
|
+
__name: "Download",
|
|
1259
|
+
props: { word: {
|
|
1260
|
+
type: Function,
|
|
1261
|
+
required: !0
|
|
1262
|
+
} },
|
|
1263
|
+
setup(t) {
|
|
1264
|
+
let { t: n } = R(), r = z(), i = (t) => e(r.chrome, t), a = (e) => n(`${r.minisite?.texts ?? Bn}.${e}`);
|
|
1265
|
+
function o() {
|
|
1266
|
+
window.print();
|
|
1267
|
+
}
|
|
1268
|
+
return (e, n) => (p(), s("div", ur, [
|
|
1269
|
+
n[1] ||= c("br", null, null, -1),
|
|
1270
|
+
c("img", {
|
|
1271
|
+
src: i("legacy/print_dark.gif"),
|
|
1272
|
+
alt: "",
|
|
1273
|
+
width: "17",
|
|
1274
|
+
height: "12"
|
|
1275
|
+
}, null, 8, dr),
|
|
1276
|
+
l(" / " + y(a("download.heading")), 1),
|
|
1277
|
+
n[2] ||= c("br", null, null, -1),
|
|
1278
|
+
c("img", {
|
|
1279
|
+
src: i("legacy/arrow_inner_black.gif"),
|
|
1280
|
+
alt: ""
|
|
1281
|
+
}, null, 8, fr),
|
|
1282
|
+
c("a", {
|
|
1283
|
+
href: "#",
|
|
1284
|
+
onClick: T(o, ["prevent"])
|
|
1285
|
+
}, y(a("download.asPdf")), 1),
|
|
1286
|
+
n[3] ||= c("br", null, null, -1),
|
|
1287
|
+
c("img", {
|
|
1288
|
+
src: i("legacy/arrow_inner_black.gif"),
|
|
1289
|
+
alt: ""
|
|
1290
|
+
}, null, 8, pr),
|
|
1291
|
+
c("a", {
|
|
1292
|
+
href: "#",
|
|
1293
|
+
onClick: n[0] ||= T((e) => t.word(), ["prevent"])
|
|
1294
|
+
}, y(a("download.asWord")), 1)
|
|
1295
|
+
]));
|
|
1296
|
+
}
|
|
1297
|
+
}, hr = { class: "mwnf-baroqueart-intro__title" }, gr = { class: "mwnf-baroqueart-intro__nav mwnf-baroqueart-intro__nav--start" }, _r = { class: "mwnf-baroqueart-intro__nav mwnf-baroqueart-intro__nav--end" }, vr = { class: "mwnf-baroqueart-intro__table" }, yr = ["innerHTML"], br = ["innerHTML"], xr = { class: "mwnf-baroqueart-intro__side" }, Sr = ["href", "onClick"], Cr = ["src"], wr = { key: 0 }, Tr = ["innerHTML"], Er = ["innerHTML"], Dr = {
|
|
1298
|
+
__name: "Introduction",
|
|
1299
|
+
setup(e) {
|
|
1300
|
+
let { label: r, lang: d, data: m, root: h, text: _, title: x, settings: w, picture: E, href: D, introCaption: O, slots: k, glossaryFor: A } = Un(), j = i(() => h.value ? _(h.value.id) : {}), M = i(() => h.value ? A(h.value.id) : []), N = i(() => m.md(j.value.extra?.intro_text, { glossary: M.value })), P = i(() => m.mdInline(j.value.extra?.intro_header ?? "")), F = i(() => k(h.value).flatMap((e) => e.variants).map(({ entry: e, image: t }) => ({
|
|
1301
|
+
entry: e,
|
|
1302
|
+
image: t,
|
|
1303
|
+
lines: O(e)
|
|
1304
|
+
})));
|
|
1305
|
+
function I(e) {
|
|
1306
|
+
Z(D({
|
|
1307
|
+
name: "zoom",
|
|
1308
|
+
query: { img: e }
|
|
1309
|
+
}), Hn.introZoom);
|
|
1310
|
+
}
|
|
1311
|
+
let R = L(M);
|
|
1312
|
+
function z() {
|
|
1313
|
+
gt({
|
|
1314
|
+
documentTitle: w.documentTitle,
|
|
1315
|
+
title: x.value,
|
|
1316
|
+
header: j.value.extra?.intro_header ?? "",
|
|
1317
|
+
text: j.value.extra?.intro_text ?? "",
|
|
1318
|
+
captions: F.value.map((e) => e.lines)
|
|
1319
|
+
});
|
|
1320
|
+
}
|
|
1321
|
+
let B = i(() => E(d.value === "ar" ? "legacy/intro_bg_ar.jpg" : "legacy/intro_bg.jpg"));
|
|
1322
|
+
return S([x, d], () => {
|
|
1323
|
+
document.title = [r("identity.windowTitle"), x.value].filter(Boolean).join(" | ");
|
|
1324
|
+
}, { immediate: !0 }), (e, i) => {
|
|
1325
|
+
let d = v("router-link");
|
|
1326
|
+
return p(), s("div", {
|
|
1327
|
+
class: "mwnf-baroqueart-intro",
|
|
1328
|
+
style: f({ backgroundImage: B.value ? `url(${B.value})` : "none" })
|
|
1329
|
+
}, [
|
|
1330
|
+
c("div", hr, y(b(x)), 1),
|
|
1331
|
+
c("div", gr, [i[1] ||= l(" < ", -1), u(d, { to: { name: "home" } }, {
|
|
1332
|
+
default: C(() => [l(y(b(r)("nav.entrance")), 1)]),
|
|
1333
|
+
_: 1
|
|
1334
|
+
})]),
|
|
1335
|
+
c("div", _r, [
|
|
1336
|
+
i[2] ||= l(" < ", -1),
|
|
1337
|
+
u(d, { to: { name: "home" } }, {
|
|
1338
|
+
default: C(() => [l(y(b(r)("nav.previous")), 1)]),
|
|
1339
|
+
_: 1
|
|
1340
|
+
}),
|
|
1341
|
+
i[3] ||= l(" | ", -1),
|
|
1342
|
+
u(d, { to: {
|
|
1343
|
+
name: "exhibition",
|
|
1344
|
+
params: {
|
|
1345
|
+
theme: 1,
|
|
1346
|
+
page: 1
|
|
1347
|
+
}
|
|
1348
|
+
} }, {
|
|
1349
|
+
default: C(() => [l(y(b(r)("nav.next")), 1)]),
|
|
1350
|
+
_: 1
|
|
1351
|
+
}),
|
|
1352
|
+
i[4] ||= l(" > ", -1)
|
|
1353
|
+
]),
|
|
1354
|
+
c("div", vr, [c("div", {
|
|
1355
|
+
class: "mwnf-baroqueart-intro__text",
|
|
1356
|
+
onClick: i[0] ||= (...e) => b(R).onClick && b(R).onClick(...e)
|
|
1357
|
+
}, [
|
|
1358
|
+
c("div", {
|
|
1359
|
+
class: "mwnf-baroqueart-intro__header",
|
|
1360
|
+
innerHTML: P.value
|
|
1361
|
+
}, null, 8, yr),
|
|
1362
|
+
c("div", {
|
|
1363
|
+
class: "mwnf-baroqueart-intro__content",
|
|
1364
|
+
innerHTML: N.value
|
|
1365
|
+
}, null, 8, br),
|
|
1366
|
+
u(mr, { word: z })
|
|
1367
|
+
]), c("div", xr, [(p(!0), s(n, null, g(F.value, (e) => (p(), s("div", {
|
|
1368
|
+
key: `${e.entry.id}-${e.entry.variant_order}`,
|
|
1369
|
+
class: "mwnf-baroqueart-intro-item"
|
|
1370
|
+
}, [e.image ? (p(), s(n, { key: 0 }, [c("a", {
|
|
1371
|
+
href: b(D)({
|
|
1372
|
+
name: "zoom",
|
|
1373
|
+
query: { img: e.image }
|
|
1374
|
+
}),
|
|
1375
|
+
onClick: T((t) => I(e.image), ["prevent"])
|
|
1376
|
+
}, [c("img", {
|
|
1377
|
+
class: "mwnf-baroqueart-intro-item__image",
|
|
1378
|
+
src: e.image,
|
|
1379
|
+
alt: ""
|
|
1380
|
+
}, null, 8, Cr)], 8, Sr), i[5] ||= c("br", null, null, -1)], 64)) : o("", !0), (p(!0), s(n, null, g(e.lines.filter(Boolean), (t, r) => (p(), s(n, { key: r }, [r > 0 ? (p(), s("br", wr)) : o("", !0), r === 0 && e.lines[0] ? (p(), s("strong", {
|
|
1381
|
+
key: 1,
|
|
1382
|
+
innerHTML: b(m).mdInline(t)
|
|
1383
|
+
}, null, 8, Tr)) : (p(), s("span", {
|
|
1384
|
+
key: 2,
|
|
1385
|
+
innerHTML: b(m).mdInline(t)
|
|
1386
|
+
}, null, 8, Er))], 64))), 128))]))), 128))])]),
|
|
1387
|
+
b(R).active.value ? (p(), a(t, {
|
|
1388
|
+
key: 0,
|
|
1389
|
+
term: b(R).active.value,
|
|
1390
|
+
html: b(m).md(b(R).active.value.definition),
|
|
1391
|
+
onClose: b(R).close
|
|
1392
|
+
}, null, 8, [
|
|
1393
|
+
"term",
|
|
1394
|
+
"html",
|
|
1395
|
+
"onClose"
|
|
1396
|
+
])) : o("", !0)
|
|
1397
|
+
], 4);
|
|
1398
|
+
};
|
|
1399
|
+
}
|
|
1400
|
+
}, Or = { class: "mwnf-baroqueart-page__head" }, kr = { class: "mwnf-baroqueart-page__title" }, Ar = { class: "mwnf-baroqueart-page__nav mwnf-baroqueart-page__nav--start" }, jr = { class: "mwnf-baroqueart-page__nav mwnf-baroqueart-page__nav--end" }, Mr = { class: "mwnf-baroqueart-page__body" }, Nr = ["innerHTML"], Pr = { class: "mwnf-baroqueart-page__thumbs" }, Fr = ["onClick"], Ir = ["src"], Lr = ["innerHTML"], Rr = ["innerHTML"], zr = { class: "mwnf-baroqueart-page__item" }, Br = { class: "mwnf-baroqueart-page__image" }, Vr = ["src"], Hr = {
|
|
1401
|
+
key: 0,
|
|
1402
|
+
class: "mwnf-baroqueart-page__caption"
|
|
1403
|
+
}, Ur = ["innerHTML"], Wr = ["innerHTML"], Gr = { key: 0 }, Kr = ["innerHTML"], qr = ["innerHTML"], Jr = ["innerHTML"], Yr = ["innerHTML"], Xr = { key: 0 }, Zr = ["onClick"], Qr = ["src"], $r = ["innerHTML"], ei = { key: 1 }, ti = ["href"], ni = {
|
|
1404
|
+
__name: "Page",
|
|
1405
|
+
props: {
|
|
1406
|
+
theme: {
|
|
1407
|
+
type: Number,
|
|
1408
|
+
required: !0
|
|
1409
|
+
},
|
|
1410
|
+
page: {
|
|
1411
|
+
type: Number,
|
|
1412
|
+
required: !0
|
|
1413
|
+
}
|
|
1414
|
+
},
|
|
1415
|
+
setup(e) {
|
|
1416
|
+
let r = e, { label: m, lang: _, data: x, title: E, text: D, settings: O, picture: k, href: A, pageAt: j, slots: M, placementCaption: N, viewCaption: P, glossaryFor: F } = Un(), I = i(() => j(r.theme, r.page)), R = i(() => I.value ? D(I.value.node.id) : {}), z = i(() => I.value ? F(I.value.node.id) : []), B = i(() => I.value ? M(I.value.node) : []), V = i(() => R.value.quote ?? ""), H = h({
|
|
1417
|
+
slot: 0,
|
|
1418
|
+
variant: 0
|
|
1419
|
+
});
|
|
1420
|
+
S(() => [r.theme, r.page], () => H.value = {
|
|
1421
|
+
slot: 0,
|
|
1422
|
+
variant: 0
|
|
1423
|
+
});
|
|
1424
|
+
let U = i(() => B.value[H.value.slot] ?? null), W = i(() => U.value?.variants[H.value.variant] ?? null), K = i(() => Oe(U.value, H.value.variant)), q = i(() => !U.value || !W.value ? null : {
|
|
1425
|
+
...P(U.value, H.value.variant),
|
|
1426
|
+
sheetId: De(U.value, H.value.variant, (e) => x.itemById.value.get(e))
|
|
1427
|
+
});
|
|
1428
|
+
function J(e) {
|
|
1429
|
+
H.value = {
|
|
1430
|
+
slot: e,
|
|
1431
|
+
variant: 0
|
|
1432
|
+
};
|
|
1433
|
+
}
|
|
1434
|
+
function ee(e) {
|
|
1435
|
+
H.value = {
|
|
1436
|
+
...H.value,
|
|
1437
|
+
variant: e
|
|
1438
|
+
};
|
|
1439
|
+
}
|
|
1440
|
+
function te() {
|
|
1441
|
+
K.value && Z(A({
|
|
1442
|
+
name: "zoom",
|
|
1443
|
+
query: { img: K.value }
|
|
1444
|
+
}), Hn.zoom);
|
|
1445
|
+
}
|
|
1446
|
+
let ne = L(z);
|
|
1447
|
+
function Y() {
|
|
1448
|
+
yt({
|
|
1449
|
+
documentTitle: O.documentTitle,
|
|
1450
|
+
title: E.value,
|
|
1451
|
+
pageTitle: R.value.title ?? "",
|
|
1452
|
+
quote: V.value,
|
|
1453
|
+
text: R.value.description ?? "",
|
|
1454
|
+
slots: B.value.map((e) => e.variants.map((t, n) => t.view ? P(e, n) : N(t.entry)))
|
|
1455
|
+
});
|
|
1456
|
+
}
|
|
1457
|
+
S(() => [
|
|
1458
|
+
R.value.title,
|
|
1459
|
+
E.value,
|
|
1460
|
+
_.value
|
|
1461
|
+
], () => {
|
|
1462
|
+
document.title = [
|
|
1463
|
+
m("identity.windowTitle"),
|
|
1464
|
+
E.value,
|
|
1465
|
+
R.value.title,
|
|
1466
|
+
r.page
|
|
1467
|
+
].filter(Boolean).join(" | ");
|
|
1468
|
+
}, { immediate: !0 });
|
|
1469
|
+
let re = i(() => k(_.value === "ar" ? "legacy/exhibition_bg_ar.jpg" : "legacy/exhibition_bg.jpg"));
|
|
1470
|
+
return (e, r) => {
|
|
1471
|
+
let i = v("router-link");
|
|
1472
|
+
return I.value ? (p(), s("div", {
|
|
1473
|
+
key: 0,
|
|
1474
|
+
class: "mwnf-baroqueart-page",
|
|
1475
|
+
style: f({ backgroundImage: re.value ? `url(${re.value})` : "none" })
|
|
1476
|
+
}, [
|
|
1477
|
+
c("div", Or, [
|
|
1478
|
+
c("div", kr, y(b(E)), 1),
|
|
1479
|
+
c("div", Ar, [r[1] ||= l(" < ", -1), u(i, { to: { name: "home" } }, {
|
|
1480
|
+
default: C(() => [l(y(b(m)("nav.entrance")), 1)]),
|
|
1481
|
+
_: 1
|
|
1482
|
+
})]),
|
|
1483
|
+
c("div", jr, [
|
|
1484
|
+
r[4] ||= l(" < ", -1),
|
|
1485
|
+
u(i, { to: I.value.previous }, {
|
|
1486
|
+
default: C(() => [l(y(b(m)("nav.previous")), 1)]),
|
|
1487
|
+
_: 1
|
|
1488
|
+
}, 8, ["to"]),
|
|
1489
|
+
I.value.next ? (p(), s(n, { key: 0 }, [
|
|
1490
|
+
r[2] ||= l(" | ", -1),
|
|
1491
|
+
u(i, { to: I.value.next }, {
|
|
1492
|
+
default: C(() => [l(y(b(m)("nav.next")), 1)]),
|
|
1493
|
+
_: 1
|
|
1494
|
+
}, 8, ["to"]),
|
|
1495
|
+
r[3] ||= l(" > ", -1)
|
|
1496
|
+
], 64)) : o("", !0)
|
|
1497
|
+
])
|
|
1498
|
+
]),
|
|
1499
|
+
c("div", Mr, [c("div", {
|
|
1500
|
+
class: "mwnf-baroqueart-page__text",
|
|
1501
|
+
onClick: r[0] ||= (...e) => b(ne).onClick && b(ne).onClick(...e)
|
|
1502
|
+
}, [
|
|
1503
|
+
c("div", {
|
|
1504
|
+
class: "mwnf-baroqueart-page__page-title",
|
|
1505
|
+
innerHTML: b(x).mdInline(R.value.title)
|
|
1506
|
+
}, null, 8, Nr),
|
|
1507
|
+
c("div", Pr, [(p(!0), s(n, null, g(B.value, (e, t) => w((p(), s("a", {
|
|
1508
|
+
key: e.n,
|
|
1509
|
+
href: "#",
|
|
1510
|
+
onClick: T((e) => J(t), ["prevent"])
|
|
1511
|
+
}, [e.variants[0].image ? (p(), s("img", {
|
|
1512
|
+
key: 0,
|
|
1513
|
+
src: e.variants[0].image,
|
|
1514
|
+
alt: "",
|
|
1515
|
+
height: "36"
|
|
1516
|
+
}, null, 8, Ir)) : o("", !0)], 8, Fr)), [[b(G), {
|
|
1517
|
+
text: b(x).mdStrip(b(P)(e, 0).name),
|
|
1518
|
+
width: 160
|
|
1519
|
+
}]])), 128))]),
|
|
1520
|
+
c("div", {
|
|
1521
|
+
class: d(["mwnf-baroqueart-page__quote", { "mwnf-baroqueart-page__quote--own-italics": b(Me)(V.value) }]),
|
|
1522
|
+
innerHTML: b(x).mdInline(V.value, { glossary: z.value })
|
|
1523
|
+
}, null, 10, Lr),
|
|
1524
|
+
c("div", {
|
|
1525
|
+
class: "mwnf-baroqueart-page__content",
|
|
1526
|
+
innerHTML: b(x).md(R.value.description, { glossary: z.value })
|
|
1527
|
+
}, null, 8, Rr),
|
|
1528
|
+
u(mr, { word: Y })
|
|
1529
|
+
]), c("div", zr, [c("div", Br, [K.value ? w((p(), s("a", {
|
|
1530
|
+
key: 0,
|
|
1531
|
+
href: "#",
|
|
1532
|
+
onClick: T(te, ["prevent"])
|
|
1533
|
+
}, [c("img", {
|
|
1534
|
+
src: K.value,
|
|
1535
|
+
alt: ""
|
|
1536
|
+
}, null, 8, Vr)])), [[b(G), { text: b(m)("item.showZoom") }]]) : o("", !0)]), q.value ? (p(), s("div", Hr, [
|
|
1537
|
+
c("div", null, [
|
|
1538
|
+
c("strong", { innerHTML: b(x).mdInline(q.value.name) }, null, 8, Ur),
|
|
1539
|
+
r[5] ||= c("br", null, null, -1),
|
|
1540
|
+
c("span", { innerHTML: b(x).mdInline(q.value.detailName) }, null, 8, Wr),
|
|
1541
|
+
r[6] ||= c("br", null, null, -1),
|
|
1542
|
+
(p(!0), s(n, null, g(q.value.dateLines, (e, t) => (p(), s(n, { key: t }, [t > 0 ? (p(), s("br", Gr)) : o("", !0), c("span", { innerHTML: b(x).mdInline(e) }, null, 8, Kr)], 64))), 128))
|
|
1543
|
+
]),
|
|
1544
|
+
c("div", null, [(p(!0), s(n, null, g(q.value.details, (e, t) => (p(), s(n, { key: t }, [c("span", { innerHTML: b(x).mdInline(e) }, null, 8, qr), r[7] ||= c("br", null, null, -1)], 64))), 128))]),
|
|
1545
|
+
c("div", { innerHTML: b(x).mdInline(q.value.artist) }, null, 8, Jr),
|
|
1546
|
+
c("div", { innerHTML: b(x).mdInline(q.value.material) }, null, 8, Yr),
|
|
1547
|
+
U.value.variants.length > 1 ? (p(), s("div", Xr, [(p(!0), s(n, null, g(U.value.variants, (e, t) => w((p(), s("a", {
|
|
1548
|
+
key: t,
|
|
1549
|
+
href: "#",
|
|
1550
|
+
onClick: T((e) => ee(t), ["prevent"])
|
|
1551
|
+
}, [c("img", {
|
|
1552
|
+
src: b(k)(t === H.value.variant ? "legacy/ico_item_selected.gif" : "legacy/ico_item.gif"),
|
|
1553
|
+
alt: ""
|
|
1554
|
+
}, null, 8, Qr)], 8, Zr)), [[b(G), { text: b(m)("item.showDetail") }]])), 128))])) : o("", !0),
|
|
1555
|
+
c("div", {
|
|
1556
|
+
class: "mwnf-baroqueart-page__justification",
|
|
1557
|
+
innerHTML: b(x).mdInline(q.value.justification)
|
|
1558
|
+
}, null, 8, $r),
|
|
1559
|
+
q.value.sheetId ? (p(), s("div", ei, [c("a", {
|
|
1560
|
+
class: "mwnf-baroqueart-page__more",
|
|
1561
|
+
href: b(O).itemHref?.(q.value.sheetId),
|
|
1562
|
+
target: "_blank"
|
|
1563
|
+
}, "> " + y(b(m)("item.moreInfo")), 9, ti)])) : o("", !0)
|
|
1564
|
+
])) : o("", !0)])]),
|
|
1565
|
+
b(ne).active.value ? (p(), a(t, {
|
|
1566
|
+
key: 0,
|
|
1567
|
+
term: b(ne).active.value,
|
|
1568
|
+
html: b(x).md(b(ne).active.value.definition),
|
|
1569
|
+
onClose: b(ne).close
|
|
1570
|
+
}, null, 8, [
|
|
1571
|
+
"term",
|
|
1572
|
+
"html",
|
|
1573
|
+
"onClose"
|
|
1574
|
+
])) : o("", !0)
|
|
1575
|
+
], 4)) : o("", !0);
|
|
1576
|
+
};
|
|
1577
|
+
}
|
|
1578
|
+
}, ri = { class: "mwnf-baroqueart-zoom" }, ii = ["src"], ai = {
|
|
1579
|
+
__name: "Zoom",
|
|
1580
|
+
props: { image: {
|
|
1581
|
+
type: String,
|
|
1582
|
+
default: ""
|
|
1583
|
+
} },
|
|
1584
|
+
setup(e) {
|
|
1585
|
+
let t = e, { pages: n, root: r, slots: a } = Un(), c = i(() => [r.value, ...n.value.map((e) => e.node)].filter(Boolean).flatMap((e) => a(e).flatMap((e) => e.variants.map((e) => e.image))).includes(t.image) ? t.image : "");
|
|
1586
|
+
return (e, t) => (p(), s("div", ri, [c.value ? (p(), s("img", {
|
|
1587
|
+
key: 0,
|
|
1588
|
+
src: c.value,
|
|
1589
|
+
alt: ""
|
|
1590
|
+
}, null, 8, ii)) : o("", !0)]));
|
|
1591
|
+
}
|
|
1592
|
+
};
|
|
1593
|
+
//#endregion
|
|
1594
|
+
//#region src/minisite/baroqueart/routes.js
|
|
1595
|
+
function oi(e) {
|
|
1596
|
+
return [
|
|
1597
|
+
{
|
|
1598
|
+
path: "/",
|
|
1599
|
+
name: "home",
|
|
1600
|
+
component: lr,
|
|
1601
|
+
meta: e("home", "collections", "partners", "countries")
|
|
1602
|
+
},
|
|
1603
|
+
{
|
|
1604
|
+
path: "/introduction",
|
|
1605
|
+
name: "introduction",
|
|
1606
|
+
component: Dr,
|
|
1607
|
+
meta: e("introduction", ...ze)
|
|
1608
|
+
},
|
|
1609
|
+
{
|
|
1610
|
+
path: "/exhibition/:theme(\\d+)/:page(\\d+)?",
|
|
1611
|
+
name: "exhibition",
|
|
1612
|
+
component: ni,
|
|
1613
|
+
props: (e) => ({
|
|
1614
|
+
theme: Number(e.params.theme),
|
|
1615
|
+
page: Number(e.params.page || 1)
|
|
1616
|
+
}),
|
|
1617
|
+
meta: e("exhibition", ...ze)
|
|
1618
|
+
},
|
|
1619
|
+
{
|
|
1620
|
+
path: "/zoom",
|
|
1621
|
+
name: "zoom",
|
|
1622
|
+
component: ai,
|
|
1623
|
+
props: (e) => ({ image: String(e.query.img ?? "") }),
|
|
1624
|
+
meta: {
|
|
1625
|
+
...e("zoom", "collections"),
|
|
1626
|
+
bare: "zoom"
|
|
1627
|
+
}
|
|
1628
|
+
}
|
|
1629
|
+
];
|
|
1630
|
+
}
|
|
1631
|
+
function si(e, t = Bn) {
|
|
1632
|
+
return [
|
|
1633
|
+
{
|
|
1634
|
+
label: `${t}.menu.permanentCollection`,
|
|
1635
|
+
href: `${e}/#/permanent-collection`
|
|
1636
|
+
},
|
|
1637
|
+
{
|
|
1638
|
+
label: `${t}.menu.database`,
|
|
1639
|
+
href: `${e}/#/database`
|
|
1640
|
+
},
|
|
1641
|
+
{
|
|
1642
|
+
label: `${t}.menu.exhibitions`,
|
|
1643
|
+
href: "#/"
|
|
1644
|
+
},
|
|
1645
|
+
{
|
|
1646
|
+
label: `${t}.menu.timeline`,
|
|
1647
|
+
href: `${e}/#/timeline`
|
|
1648
|
+
},
|
|
1649
|
+
{
|
|
1650
|
+
label: `${t}.menu.partners`,
|
|
1651
|
+
href: `${e}/#/partners`
|
|
1652
|
+
},
|
|
1653
|
+
{
|
|
1654
|
+
label: `${t}.menu.myCollection`,
|
|
1655
|
+
href: j.myCollection
|
|
1656
|
+
}
|
|
1657
|
+
];
|
|
1658
|
+
}
|
|
1659
|
+
var ci = "https://www.museumwnf.org/about/language-policy";
|
|
1660
|
+
function li({ languages: e, parent: t, texts: n = Bn, menu: r }) {
|
|
1661
|
+
let i = [
|
|
1662
|
+
["aboutMwnf", j.about],
|
|
1663
|
+
["contact", j.contact],
|
|
1664
|
+
["legalNotice", j.legalNotice],
|
|
1665
|
+
["credits", j.credits],
|
|
1666
|
+
["languagePolicy", ci],
|
|
1667
|
+
["cookies", j.cookies]
|
|
1668
|
+
];
|
|
1669
|
+
return {
|
|
1670
|
+
languages: e,
|
|
1671
|
+
logoHref: j.portal,
|
|
1672
|
+
logoTip: `${n}.header.logoTip`,
|
|
1673
|
+
headerLinks: [{
|
|
1674
|
+
label: `${n}.header.exhibitionsList`,
|
|
1675
|
+
href: `${t}/#/exhibitions`
|
|
1676
|
+
}, {
|
|
1677
|
+
label: `${n}.header.home`,
|
|
1678
|
+
href: `${t}/#/`,
|
|
1679
|
+
tip: `${n}.header.homeTip`
|
|
1680
|
+
}],
|
|
1681
|
+
menu: r ?? si(t, n),
|
|
1682
|
+
footerLinks: i.map(([e, t]) => ({
|
|
1683
|
+
label: `${n}.footer.${e}`,
|
|
1684
|
+
href: t
|
|
1685
|
+
})),
|
|
1686
|
+
copyright: `${n}.footer.copyright`
|
|
1687
|
+
};
|
|
1688
|
+
}
|
|
1689
|
+
function ui({ parent: e, ...t }) {
|
|
1690
|
+
return {
|
|
1691
|
+
parent: e,
|
|
1692
|
+
itemHref: (t) => `${e}/#/item/${encodeURIComponent(t)}`,
|
|
1693
|
+
partnerHref: (t) => `${e}/#/partner/${encodeURIComponent(t)}`,
|
|
1694
|
+
partnerListHref: `${e}/#/partners`,
|
|
1695
|
+
texts: Bn,
|
|
1696
|
+
family: "BAR",
|
|
1697
|
+
...t
|
|
1698
|
+
};
|
|
1699
|
+
}
|
|
966
1700
|
//#endregion
|
|
967
1701
|
//#region src/minisite/routes.js
|
|
968
|
-
function
|
|
1702
|
+
function di(e) {
|
|
969
1703
|
return [
|
|
970
1704
|
{
|
|
971
1705
|
path: "/",
|
|
@@ -977,7 +1711,7 @@ function An(e) {
|
|
|
977
1711
|
path: "/introduction",
|
|
978
1712
|
name: "introduction",
|
|
979
1713
|
component: Ut,
|
|
980
|
-
meta: e("introduction", ...
|
|
1714
|
+
meta: e("introduction", ...ze)
|
|
981
1715
|
},
|
|
982
1716
|
{
|
|
983
1717
|
path: "/exhibition/:theme(\\d+)/:page(\\d+)?",
|
|
@@ -987,7 +1721,7 @@ function An(e) {
|
|
|
987
1721
|
theme: Number(e.params.theme),
|
|
988
1722
|
page: Number(e.params.page || 1)
|
|
989
1723
|
}),
|
|
990
|
-
meta: e("exhibition", ...
|
|
1724
|
+
meta: e("exhibition", ...ze)
|
|
991
1725
|
},
|
|
992
1726
|
{
|
|
993
1727
|
path: "/credits",
|
|
@@ -1019,7 +1753,7 @@ function An(e) {
|
|
|
1019
1753
|
}
|
|
1020
1754
|
];
|
|
1021
1755
|
}
|
|
1022
|
-
function
|
|
1756
|
+
function fi(e, t = Ne.ISL) {
|
|
1023
1757
|
return [
|
|
1024
1758
|
{
|
|
1025
1759
|
label: `${t}.menu.permanentCollection`,
|
|
@@ -1052,42 +1786,14 @@ function jn(e, t = Pe.ISL) {
|
|
|
1052
1786
|
}
|
|
1053
1787
|
];
|
|
1054
1788
|
}
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
{
|
|
1058
|
-
label: `${t}.menu.permanentCollection`,
|
|
1059
|
-
href: `${e}/#/permanent-collection`
|
|
1060
|
-
},
|
|
1061
|
-
{
|
|
1062
|
-
label: `${t}.menu.database`,
|
|
1063
|
-
href: `${e}/#/database`
|
|
1064
|
-
},
|
|
1065
|
-
{
|
|
1066
|
-
label: `${t}.menu.exhibitions`,
|
|
1067
|
-
href: "#/"
|
|
1068
|
-
},
|
|
1069
|
-
{
|
|
1070
|
-
label: `${t}.menu.timeline`,
|
|
1071
|
-
href: `${e}/#/timeline`
|
|
1072
|
-
},
|
|
1073
|
-
{
|
|
1074
|
-
label: `${t}.menu.partners`,
|
|
1075
|
-
href: `${e}/#/partners`
|
|
1076
|
-
},
|
|
1077
|
-
{
|
|
1078
|
-
label: `${t}.menu.myCollection`,
|
|
1079
|
-
href: j.myCollection
|
|
1080
|
-
}
|
|
1081
|
-
];
|
|
1082
|
-
}
|
|
1083
|
-
var Nn = "https://www.museumwnf.org/about/language-policy";
|
|
1084
|
-
function Pn({ languages: e, parent: t, family: n = "ISL", texts: r = Ie({ family: n }), menu: i }) {
|
|
1789
|
+
var pi = "https://www.museumwnf.org/about/language-policy";
|
|
1790
|
+
function mi({ languages: e, parent: t, family: n = "ISL", texts: r = Fe({ family: n }), menu: i }) {
|
|
1085
1791
|
let a = [
|
|
1086
1792
|
["aboutMwnf", j.about],
|
|
1087
1793
|
["contact", j.contact],
|
|
1088
1794
|
["legalNotice", j.legalNotice],
|
|
1089
1795
|
["credits", j.credits],
|
|
1090
|
-
...n === "BAR" ? [["languagePolicy",
|
|
1796
|
+
...n === "BAR" ? [["languagePolicy", pi]] : [],
|
|
1091
1797
|
["cookies", j.cookies]
|
|
1092
1798
|
];
|
|
1093
1799
|
return {
|
|
@@ -1102,7 +1808,7 @@ function Pn({ languages: e, parent: t, family: n = "ISL", texts: r = Ie({ family
|
|
|
1102
1808
|
href: `${t}/#/`,
|
|
1103
1809
|
tip: `${r}.header.homeTip`
|
|
1104
1810
|
}],
|
|
1105
|
-
menu: i ?? (n === "BAR" ?
|
|
1811
|
+
menu: i ?? (n === "BAR" ? si(t, r) : fi(t, r)),
|
|
1106
1812
|
menuSeparator: n !== "BAR",
|
|
1107
1813
|
footerLinks: a.map(([e, t]) => ({
|
|
1108
1814
|
label: `${r}.footer.${e}`,
|
|
@@ -1111,7 +1817,7 @@ function Pn({ languages: e, parent: t, family: n = "ISL", texts: r = Ie({ family
|
|
|
1111
1817
|
copyright: `${r}.footer.copyright`
|
|
1112
1818
|
};
|
|
1113
1819
|
}
|
|
1114
|
-
function
|
|
1820
|
+
function hi({ parent: e, ...t }) {
|
|
1115
1821
|
return {
|
|
1116
1822
|
parent: e,
|
|
1117
1823
|
itemHref: (t) => `${e}/#/item/${encodeURIComponent(t)}`,
|
|
@@ -1122,13 +1828,13 @@ function Fn({ parent: e, ...t }) {
|
|
|
1122
1828
|
}
|
|
1123
1829
|
//#endregion
|
|
1124
1830
|
//#region src/minisite/sharinghistory/Shell.vue
|
|
1125
|
-
var
|
|
1831
|
+
var gi = { class: "mwnf-sh__column" }, _i = { class: "mwnf-sh-header" }, vi = { class: "mwnf-sh-header__logo" }, yi = ["href"], bi = ["src"], xi = ["href"], Si = { class: "mwnf-sh-header__links" }, Ci = ["href"], wi = { class: "mwnf-sh-drop" }, Ti = ["href"], Ei = ["href"], Di = ["href"], Oi = {
|
|
1126
1832
|
key: 0,
|
|
1127
1833
|
class: "mwnf-sh-header__sizes"
|
|
1128
|
-
},
|
|
1834
|
+
}, ki = { class: "mwnf-sh__page" }, Ai = { class: "mwnf-sh-menu" }, ji = ["href"], Mi = {
|
|
1129
1835
|
key: 0,
|
|
1130
1836
|
class: "mwnf-sh-drop"
|
|
1131
|
-
},
|
|
1837
|
+
}, Ni = ["href"], Pi = { class: "mwnf-sh-footer" }, Fi = ["href"], Ii = {
|
|
1132
1838
|
__name: "Shell",
|
|
1133
1839
|
props: {
|
|
1134
1840
|
languages: {
|
|
@@ -1183,24 +1889,24 @@ var In = { class: "mwnf-sh__column" }, Ln = { class: "mwnf-sh-header" }, Rn = {
|
|
|
1183
1889
|
class: "mwnf-sh__strip",
|
|
1184
1890
|
"aria-hidden": "true"
|
|
1185
1891
|
}, null, -1),
|
|
1186
|
-
c("div",
|
|
1187
|
-
c("header",
|
|
1188
|
-
c("div",
|
|
1892
|
+
c("div", gi, [
|
|
1893
|
+
c("header", _i, [
|
|
1894
|
+
c("div", vi, [w((p(), s("a", { href: t.portalHref }, [c("img", {
|
|
1189
1895
|
src: x(`legacy/mwnfLogoShExIn-${t.language}.png`) ?? x("legacy/mwnfLogoShExIn-en.png"),
|
|
1190
1896
|
alt: "",
|
|
1191
1897
|
width: "101",
|
|
1192
1898
|
height: "45"
|
|
1193
|
-
}, null, 8,
|
|
1899
|
+
}, null, 8, bi)], 8, yi)), [[b(G), { text: S("header.portalTip") }]])]),
|
|
1194
1900
|
r[6] ||= c("div", { class: "mwnf-sh-header__space" }, null, -1),
|
|
1195
1901
|
w((p(), s("a", {
|
|
1196
1902
|
class: "mwnf-sh-header__name",
|
|
1197
1903
|
href: t.homeHref
|
|
1198
|
-
}, [c("h1", null, y(S("header.heading")), 1), c("h2", null, y(S("header.subheading")), 1)], 8,
|
|
1199
|
-
c("div",
|
|
1200
|
-
c("li", null, [c("a", { href: t.aboutLinks[0]?.href }, y(S("header.about")), 9,
|
|
1201
|
-
c("li", null, [w((p(), s("a", { href: t.homeHref }, [l(y(S("header.home")), 1)], 8,
|
|
1202
|
-
c("li", null, [w((p(), s("a", { href: t.portalHref }, [l(y(S("header.portal")), 1)], 8,
|
|
1203
|
-
], 2), E.value ? (p(), s("div",
|
|
1904
|
+
}, [c("h1", null, y(S("header.heading")), 1), c("h2", null, y(S("header.subheading")), 1)], 8, xi)), [[b(G), { text: S("header.homeTip") }]]),
|
|
1905
|
+
c("div", Si, [c("ul", { class: d(["mwnf-sh-header__list", { "mwnf-sh-header__list--ruled": E.value }]) }, [
|
|
1906
|
+
c("li", null, [c("a", { href: t.aboutLinks[0]?.href }, y(S("header.about")), 9, Ci), c("ul", wi, [(p(!0), s(n, null, g(t.aboutLinks, (e) => (p(), s("li", { key: e.label }, [c("a", { href: e.href }, y(S(e.label)), 9, Ti)]))), 128))])]),
|
|
1907
|
+
c("li", null, [w((p(), s("a", { href: t.homeHref }, [l(y(S("header.home")), 1)], 8, Ei)), [[b(G), { text: S("header.homeTip") }]])]),
|
|
1908
|
+
c("li", null, [w((p(), s("a", { href: t.portalHref }, [l(y(S("header.portal")), 1)], 8, Di)), [[b(G), { text: S("header.portalTip") }]])])
|
|
1909
|
+
], 2), E.value ? (p(), s("div", Oi, [
|
|
1204
1910
|
w((p(), s("button", {
|
|
1205
1911
|
type: "button",
|
|
1206
1912
|
style: { "font-size": "8px" },
|
|
@@ -1218,9 +1924,9 @@ var In = { class: "mwnf-sh__column" }, Ln = { class: "mwnf-sh-header" }, Rn = {
|
|
|
1218
1924
|
}, [...r[5] ||= [l("A", -1)]])), [[b(G), { text: S("header.increaseSize") }]])
|
|
1219
1925
|
])) : o("", !0)])
|
|
1220
1926
|
]),
|
|
1221
|
-
c("main",
|
|
1222
|
-
c("nav",
|
|
1223
|
-
c("footer",
|
|
1927
|
+
c("main", ki, [_(e.$slots, "default")]),
|
|
1928
|
+
c("nav", Ai, [c("ul", null, [(p(!0), s(n, null, g(t.menu, (e) => (p(), s("li", { key: e.label }, [w((p(), s("a", { href: e.href ?? "#" }, [l(y(S(e.label)), 1)], 8, ji)), [[b(G), { text: e.tip ? S(e.tip) : "" }]]), e.links?.length ? (p(), s("ul", Mi, [(p(!0), s(n, null, g(e.links, (e) => (p(), s("li", { key: e.href }, [c("a", { href: e.href }, y(e.text ?? S(e.label)), 9, Ni)]))), 128))])) : o("", !0)]))), 128))])]),
|
|
1929
|
+
c("footer", Pi, [(p(!0), s(n, null, g(t.footerLinks, (e) => (p(), s(n, { key: e.label }, [c("a", { href: e.href }, y(S(e.label)), 9, Fi), r[7] ||= l(" | ", -1)], 64))), 128)), l(" " + y(S("footer.copyright")) + " " + y(b(C)), 1)])
|
|
1224
1930
|
]),
|
|
1225
1931
|
r[9] ||= c("div", {
|
|
1226
1932
|
class: "mwnf-sh__strip",
|
|
@@ -1237,13 +1943,13 @@ var In = { class: "mwnf-sh__column" }, Ln = { class: "mwnf-sh-header" }, Rn = {
|
|
|
1237
1943
|
}, y(b(H).text), 5)) : o("", !0)
|
|
1238
1944
|
], 4));
|
|
1239
1945
|
}
|
|
1240
|
-
},
|
|
1946
|
+
}, Li = "minisiteSharingHistory", Ri = [
|
|
1241
1947
|
"collections",
|
|
1242
1948
|
"items",
|
|
1243
1949
|
"countries",
|
|
1244
1950
|
"partners"
|
|
1245
1951
|
];
|
|
1246
|
-
function
|
|
1952
|
+
function zi(e, t) {
|
|
1247
1953
|
return e.flatMap((e, n) => [{
|
|
1248
1954
|
theme: n + 1,
|
|
1249
1955
|
page: 0,
|
|
@@ -1256,14 +1962,14 @@ function ar(e, t) {
|
|
|
1256
1962
|
themeNode: e
|
|
1257
1963
|
}))]);
|
|
1258
1964
|
}
|
|
1259
|
-
function
|
|
1965
|
+
function Bi(e, t, n) {
|
|
1260
1966
|
let r = e.filter((e) => t(e.id, n)?.trim());
|
|
1261
1967
|
return r.length > 0 || n === "en" ? r : e.filter((e) => t(e.id, "en")?.trim());
|
|
1262
1968
|
}
|
|
1263
|
-
function
|
|
1969
|
+
function Vi(e, t, n) {
|
|
1264
1970
|
return e.filter((e) => t(e.id, n)?.trim());
|
|
1265
1971
|
}
|
|
1266
|
-
function
|
|
1972
|
+
function Hi(e) {
|
|
1267
1973
|
return e.page === 0 ? {
|
|
1268
1974
|
name: "theme",
|
|
1269
1975
|
params: { theme: e.theme }
|
|
@@ -1275,14 +1981,14 @@ function cr(e) {
|
|
|
1275
1981
|
}
|
|
1276
1982
|
};
|
|
1277
1983
|
}
|
|
1278
|
-
function
|
|
1984
|
+
function Ui(e, t, n) {
|
|
1279
1985
|
let r = e.findIndex((e) => e.theme === t && e.page === n);
|
|
1280
1986
|
return r < 0 ? null : {
|
|
1281
1987
|
...e[r],
|
|
1282
|
-
next: r < e.length - 1 ?
|
|
1988
|
+
next: r < e.length - 1 ? Hi(e[r + 1]) : null
|
|
1283
1989
|
};
|
|
1284
1990
|
}
|
|
1285
|
-
function
|
|
1991
|
+
function Wi(e) {
|
|
1286
1992
|
let t = /* @__PURE__ */ new Map();
|
|
1287
1993
|
for (let n of e?.items ?? []) {
|
|
1288
1994
|
if (!n.image_url || n.curator_status !== "Y") continue;
|
|
@@ -1298,7 +2004,7 @@ function ur(e) {
|
|
|
1298
2004
|
}));
|
|
1299
2005
|
});
|
|
1300
2006
|
}
|
|
1301
|
-
function
|
|
2007
|
+
function Gi({ item: e, own: t, entry: n, lang: r, countryName: i }) {
|
|
1302
2008
|
let a = e?.type !== "monument", o = [
|
|
1303
2009
|
a ? t.holder : "",
|
|
1304
2010
|
t.location,
|
|
@@ -1315,7 +2021,7 @@ function dr({ item: e, own: t, entry: n, lang: r, countryName: i }) {
|
|
|
1315
2021
|
justification: s.replace(/\s+/g, " ")
|
|
1316
2022
|
};
|
|
1317
2023
|
}
|
|
1318
|
-
function
|
|
2024
|
+
function Ki({ parent: e, exhibitionId: t, themeId: n = null, subthemeId: r = null, title: i = "", furtherReading: a }) {
|
|
1319
2025
|
let o = encodeURIComponent(t), s = [`exhibition=${o}`];
|
|
1320
2026
|
n && s.push(`theme=${encodeURIComponent(n)}`), r && s.push(`chapter=${encodeURIComponent(r)}`);
|
|
1321
2027
|
let c = {
|
|
@@ -1341,11 +2047,11 @@ function fr({ parent: e, exhibitionId: t, themeId: n = null, subthemeId: r = nul
|
|
|
1341
2047
|
];
|
|
1342
2048
|
}
|
|
1343
2049
|
function $() {
|
|
1344
|
-
let { pkg: t, data: n, tree: r } =
|
|
1345
|
-
S(f, (e) => Promise.all(
|
|
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 ?
|
|
2050
|
+
let { pkg: t, data: n, tree: r } = Re(), { 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);
|
|
2051
|
+
S(f, (e) => Promise.all(Ri.flatMap((n) => [t.loadTranslations(n, e), t.loadTranslations(n, "en")])), { immediate: !0 });
|
|
2052
|
+
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 ? Bi(r.children(h.value.id), m, f.value) : []), _ = (e) => Vi(r.children(e), m, f.value), v = i(() => zi(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
2053
|
function C(e) {
|
|
1348
|
-
return
|
|
2054
|
+
return Gi({
|
|
1349
2055
|
item: n.itemById.value.get(e.id),
|
|
1350
2056
|
own: n.tr("items", e.id, f.value),
|
|
1351
2057
|
entry: e,
|
|
@@ -1381,10 +2087,10 @@ function $() {
|
|
|
1381
2087
|
picture: w,
|
|
1382
2088
|
href: T,
|
|
1383
2089
|
imagesOf: (e) => [...h.value?.images ?? []].filter((t) => t.type === e).sort((e, t) => e.display_order - t.display_order),
|
|
1384
|
-
slots:
|
|
1385
|
-
pageAt: (e, t) =>
|
|
2090
|
+
slots: Wi,
|
|
2091
|
+
pageAt: (e, t) => Ui(v.value, e, t),
|
|
1386
2092
|
title: i(() => h.value ? p(h.value.id).title ?? "" : ""),
|
|
1387
|
-
related: (e = null, t = null) => h.value ?
|
|
2093
|
+
related: (e = null, t = null) => h.value ? Ki({
|
|
1388
2094
|
parent: c.parent,
|
|
1389
2095
|
exhibitionId: h.value.id,
|
|
1390
2096
|
themeId: e,
|
|
@@ -1394,14 +2100,14 @@ function $() {
|
|
|
1394
2100
|
}) : []
|
|
1395
2101
|
};
|
|
1396
2102
|
}
|
|
1397
|
-
var
|
|
2103
|
+
var qi = {
|
|
1398
2104
|
credits: ["exhcredits", "scrollbars=auto, resizable=1, width=520, height=530"],
|
|
1399
2105
|
coverImage: ["exhCoverImage", "scrollbars=auto, resizable=1, width=520, height=530"],
|
|
1400
2106
|
zoom: ["SHImages", "scrollbars=no,resize=no,width=565,height=435"]
|
|
1401
|
-
},
|
|
2107
|
+
}, Ji = { class: "mwnf-sh-related" }, Yi = { class: "mwnf-sh-related__heading" }, Xi = ["src"], Zi = ["href", "target"], Qi = {
|
|
1402
2108
|
key: 0,
|
|
1403
2109
|
class: "mwnf-sh-related__all"
|
|
1404
|
-
},
|
|
2110
|
+
}, $i = ["src"], ea = ["href"], ta = {
|
|
1405
2111
|
__name: "Related",
|
|
1406
2112
|
props: {
|
|
1407
2113
|
allExhibitions: {
|
|
@@ -1425,7 +2131,7 @@ var pr = {
|
|
|
1425
2131
|
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}`) : "");
|
|
1426
2132
|
return (t, i) => {
|
|
1427
2133
|
let d = v("router-link");
|
|
1428
|
-
return p(), s("div",
|
|
2134
|
+
return p(), s("div", Ji, [c("span", Yi, "\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 }, [
|
|
1429
2135
|
i[0] ||= l(" \xA0", -1),
|
|
1430
2136
|
c("img", {
|
|
1431
2137
|
src: b(u)(e.arrow),
|
|
@@ -1433,7 +2139,7 @@ var pr = {
|
|
|
1433
2139
|
class: "mwnf-sh-arrow",
|
|
1434
2140
|
width: "11",
|
|
1435
2141
|
height: "8"
|
|
1436
|
-
}, null, 8,
|
|
2142
|
+
}, null, 8, Xi),
|
|
1437
2143
|
t.to ? w((p(), a(d, {
|
|
1438
2144
|
key: 0,
|
|
1439
2145
|
to: t.to,
|
|
@@ -1445,8 +2151,8 @@ var pr = {
|
|
|
1445
2151
|
key: 1,
|
|
1446
2152
|
href: t.href,
|
|
1447
2153
|
target: h.value
|
|
1448
|
-
}, [l(y(b(r)(`related.${t.key}`)), 1)], 8,
|
|
1449
|
-
]))), 128)), e.allExhibitions ? (p(), s("li",
|
|
2154
|
+
}, [l(y(b(r)(`related.${t.key}`)), 1)], 8, Zi)), [[b(G), { text: _(t) }]])
|
|
2155
|
+
]))), 128)), e.allExhibitions ? (p(), s("li", Qi, [
|
|
1450
2156
|
i[1] ||= l(" \xA0", -1),
|
|
1451
2157
|
c("img", {
|
|
1452
2158
|
src: b(u)(e.arrow),
|
|
@@ -1454,94 +2160,94 @@ var pr = {
|
|
|
1454
2160
|
class: "mwnf-sh-arrow",
|
|
1455
2161
|
width: "11",
|
|
1456
2162
|
height: "8"
|
|
1457
|
-
}, null, 8,
|
|
1458
|
-
c("b", null, [c("a", { href: `${b(f).parent}/#/exhibitions` }, y(b(r)("nav.allExhibitions")), 9,
|
|
2163
|
+
}, null, 8, $i),
|
|
2164
|
+
c("b", null, [c("a", { href: `${b(f).parent}/#/exhibitions` }, y(b(r)("nav.allExhibitions")), 9, ea)])
|
|
1459
2165
|
])) : o("", !0)])]);
|
|
1460
2166
|
};
|
|
1461
2167
|
}
|
|
1462
|
-
},
|
|
2168
|
+
}, na = ["src"], ra = ["src"], ia = ["src"], aa = "https://www.museumwnf.org/about/support", oa = {
|
|
1463
2169
|
__name: "Windows",
|
|
1464
2170
|
setup(e) {
|
|
1465
2171
|
let { href: t, label: n, picture: r } = $(), i = r("legacy/arrow_curator.gif");
|
|
1466
2172
|
return (e, r) => (p(), s("div", null, [
|
|
1467
2173
|
c("a", {
|
|
1468
2174
|
href: "#",
|
|
1469
|
-
onClick: r[0] ||= T((e) => b(Z)(b(t)({ name: "credits" }), b(
|
|
2175
|
+
onClick: r[0] ||= T((e) => b(Z)(b(t)({ name: "credits" }), b(qi).credits), ["prevent"])
|
|
1470
2176
|
}, [l(y(b(n)("band.curatedBy")) + " ", 1), b(i) ? (p(), s("img", {
|
|
1471
2177
|
key: 0,
|
|
1472
2178
|
src: b(i),
|
|
1473
2179
|
alt: "",
|
|
1474
2180
|
width: "12",
|
|
1475
2181
|
height: "7"
|
|
1476
|
-
}, null, 8,
|
|
2182
|
+
}, null, 8, na)) : o("", !0)]),
|
|
1477
2183
|
c("div", null, [c("a", {
|
|
1478
2184
|
href: "#",
|
|
1479
|
-
onClick: r[1] ||= T((e) => b(Z)(b(t)({ name: "cover-image" }), b(
|
|
2185
|
+
onClick: r[1] ||= T((e) => b(Z)(b(t)({ name: "cover-image" }), b(qi).coverImage), ["prevent"])
|
|
1480
2186
|
}, [l(y(b(n)("band.coverImage")) + " ", 1), b(i) ? (p(), s("img", {
|
|
1481
2187
|
key: 0,
|
|
1482
2188
|
src: b(i),
|
|
1483
2189
|
alt: "",
|
|
1484
2190
|
width: "12",
|
|
1485
2191
|
height: "7"
|
|
1486
|
-
}, null, 8,
|
|
1487
|
-
c("div", null, [c("a", { href:
|
|
2192
|
+
}, null, 8, ra)) : o("", !0)])]),
|
|
2193
|
+
c("div", null, [c("a", { href: aa }, [l(y(b(n)("band.support")) + " ", 1), b(i) ? (p(), s("img", {
|
|
1488
2194
|
key: 0,
|
|
1489
2195
|
src: b(i),
|
|
1490
2196
|
alt: "",
|
|
1491
2197
|
width: "12",
|
|
1492
2198
|
height: "7"
|
|
1493
|
-
}, null, 8,
|
|
2199
|
+
}, null, 8, ia)) : o("", !0)])])
|
|
1494
2200
|
]));
|
|
1495
2201
|
}
|
|
1496
|
-
},
|
|
2202
|
+
}, sa = {
|
|
1497
2203
|
key: 0,
|
|
1498
2204
|
class: "mwnf-sh-home"
|
|
1499
|
-
},
|
|
2205
|
+
}, ca = { class: "mwnf-sh-home__heading" }, la = { class: "mwnf-sh-home__title" }, ua = ["innerHTML"], da = { class: "mwnf-sh-home__menu" }, fa = { class: "mwnf-sh-home__themes" }, pa = ["src"], ma = ["aria-expanded", "onClick"], ha = ["innerHTML"], ga = ["src"], _a = {
|
|
1500
2206
|
key: 0,
|
|
1501
2207
|
class: "mwnf-sh-home__pages"
|
|
1502
|
-
},
|
|
2208
|
+
}, va = ["src"], ya = ["src"], ba = { class: "mwnf-sh-band" }, xa = { class: "mwnf-sh-band__logos" }, Sa = {
|
|
1503
2209
|
key: 0,
|
|
1504
2210
|
class: "mwnf-sh-band__gap"
|
|
1505
|
-
},
|
|
2211
|
+
}, Ca = ["href"], wa = ["src"], Ta = ["src"], Ea = {
|
|
1506
2212
|
__name: "Home",
|
|
1507
2213
|
setup(e) {
|
|
1508
2214
|
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);
|
|
1509
2215
|
return (e, r) => {
|
|
1510
2216
|
let i = v("router-link");
|
|
1511
|
-
return b(m) ? (p(), s("div",
|
|
2217
|
+
return b(m) ? (p(), s("div", sa, [
|
|
1512
2218
|
c("div", {
|
|
1513
2219
|
class: "mwnf-sh-home__picture",
|
|
1514
2220
|
style: f({ backgroundImage: `url(${b(d)("legacy/home_bg.jpg") ?? ""})` })
|
|
1515
|
-
}, [c("div",
|
|
2221
|
+
}, [c("div", ca, [c("div", la, y(b(E)), 1), O.value ? (p(), s("div", {
|
|
1516
2222
|
key: 0,
|
|
1517
2223
|
class: "mwnf-sh-home__quote",
|
|
1518
2224
|
innerHTML: b(t).mdInline(O.value)
|
|
1519
|
-
}, null, 8,
|
|
1520
|
-
c("div",
|
|
2225
|
+
}, null, 8, ua)) : o("", !0)])], 4),
|
|
2226
|
+
c("div", da, [c("div", fa, [u(i, { to: { name: "introduction" } }, {
|
|
1521
2227
|
default: C(() => [c("b", null, y(b(a)("home.introduction")), 1), c("img", {
|
|
1522
2228
|
src: b(d)("legacy/arrow_black.gif"),
|
|
1523
2229
|
alt: "",
|
|
1524
2230
|
width: "15",
|
|
1525
2231
|
height: "9"
|
|
1526
|
-
}, null, 8,
|
|
2232
|
+
}, null, 8, pa)]),
|
|
1527
2233
|
_: 1
|
|
1528
2234
|
}), (p(!0), s(n, null, g(b(T), (e, r) => (p(), s("div", { key: e.id }, [c("button", {
|
|
1529
2235
|
type: "button",
|
|
1530
2236
|
class: "mwnf-sh-home__theme",
|
|
1531
2237
|
"aria-expanded": A.value === r,
|
|
1532
2238
|
onClick: (e) => A.value = A.value === r ? -1 : r
|
|
1533
|
-
}, [c("span", { innerHTML: b(t).mdInline(b(S)(e.id).title ?? "") }, null, 8,
|
|
2239
|
+
}, [c("span", { innerHTML: b(t).mdInline(b(S)(e.id).title ?? "") }, null, 8, ha), c("img", {
|
|
1534
2240
|
src: b(d)("legacy/arrow_black_down.gif"),
|
|
1535
2241
|
alt: "",
|
|
1536
2242
|
width: "15",
|
|
1537
2243
|
height: "9"
|
|
1538
|
-
}, null, 8,
|
|
2244
|
+
}, null, 8, ga)], 8, ma), A.value === r ? (p(), s("ul", _a, [c("li", null, [c("img", {
|
|
1539
2245
|
src: b(d)("legacy/arrow_inner_black.gif"),
|
|
1540
2246
|
alt: "",
|
|
1541
2247
|
class: "mwnf-sh-arrow",
|
|
1542
2248
|
width: "11",
|
|
1543
2249
|
height: "8"
|
|
1544
|
-
}, null, 8,
|
|
2250
|
+
}, null, 8, va), u(i, { to: {
|
|
1545
2251
|
name: "theme",
|
|
1546
2252
|
params: { theme: r + 1 }
|
|
1547
2253
|
} }, {
|
|
@@ -1553,7 +2259,7 @@ var pr = {
|
|
|
1553
2259
|
class: "mwnf-sh-arrow",
|
|
1554
2260
|
width: "11",
|
|
1555
2261
|
height: "8"
|
|
1556
|
-
}, null, 8,
|
|
2262
|
+
}, null, 8, ya), u(i, {
|
|
1557
2263
|
to: {
|
|
1558
2264
|
name: "subtheme",
|
|
1559
2265
|
params: {
|
|
@@ -1562,28 +2268,28 @@ var pr = {
|
|
|
1562
2268
|
}
|
|
1563
2269
|
},
|
|
1564
2270
|
innerHTML: b(t).mdInline(b(S)(e.id).title ?? "")
|
|
1565
|
-
}, null, 8, ["to", "innerHTML"])]))), 128))])) : o("", !0)]))), 128))]), u(
|
|
1566
|
-
c("div",
|
|
2271
|
+
}, null, 8, ["to", "innerHTML"])]))), 128))])) : o("", !0)]))), 128))]), u(ta, { "all-exhibitions": "" })]),
|
|
2272
|
+
c("div", ba, [u(oa, { class: "mwnf-sh-band__links" }), c("div", xa, [(p(!0), s(n, null, g(k.value, (e, t) => (p(), s(n, { key: e.url }, [t > 0 ? (p(), s("span", Sa)) : o("", !0), e.link ? w((p(), s("a", {
|
|
1567
2273
|
key: 1,
|
|
1568
2274
|
href: D(e)
|
|
1569
2275
|
}, [c("img", {
|
|
1570
2276
|
src: e.url,
|
|
1571
2277
|
alt: ""
|
|
1572
|
-
}, null, 8,
|
|
2278
|
+
}, null, 8, wa)], 8, Ca)), [[b(G), { text: e.alt_text ?? "" }]]) : (p(), s("img", {
|
|
1573
2279
|
key: 2,
|
|
1574
2280
|
src: e.url,
|
|
1575
2281
|
alt: ""
|
|
1576
|
-
}, null, 8,
|
|
2282
|
+
}, null, 8, Ta))], 64))), 128))])])
|
|
1577
2283
|
])) : o("", !0);
|
|
1578
2284
|
};
|
|
1579
2285
|
}
|
|
1580
|
-
},
|
|
2286
|
+
}, Da = { class: "mwnf-sh-banner__title" }, Oa = { class: "mwnf-sh-nav" }, ka = { class: "mwnf-sh-nav__group" }, Aa = { class: "mwnf-sh-nav__first" }, ja = { class: "mwnf-sh-nav__second" }, Ma = ["href"], Na = {
|
|
1581
2287
|
key: 0,
|
|
1582
2288
|
class: "mwnf-sh-nav__group"
|
|
1583
|
-
},
|
|
2289
|
+
}, Pa = { class: "mwnf-sh-nav__first mwnf-sh-nav__previous" }, Fa = {
|
|
1584
2290
|
key: 0,
|
|
1585
2291
|
class: "mwnf-sh-nav__second mwnf-sh-nav__next"
|
|
1586
|
-
},
|
|
2292
|
+
}, Ia = {
|
|
1587
2293
|
__name: "Banner",
|
|
1588
2294
|
props: {
|
|
1589
2295
|
kind: {
|
|
@@ -1619,21 +2325,21 @@ var pr = {
|
|
|
1619
2325
|
style: f({ backgroundImage: b(h) ? `url(${b(h)})` : "none" })
|
|
1620
2326
|
}, [
|
|
1621
2327
|
n[0] ||= c("div", { class: "mwnf-sh-banner__top" }, null, -1),
|
|
1622
|
-
c("div",
|
|
1623
|
-
c("nav",
|
|
2328
|
+
c("div", Da, y(e.heading ?? b(m)), 1),
|
|
2329
|
+
c("nav", Oa, [c("div", ka, [c("div", Aa, [u(i, { to: { name: "home" } }, {
|
|
1624
2330
|
default: C(() => [l(y(b(r)("nav.entrance")), 1)]),
|
|
1625
2331
|
_: 1
|
|
1626
|
-
})]), c("div",
|
|
2332
|
+
})]), c("div", ja, [c("a", { href: `${b(a).parent}/#/exhibitions` }, y(b(r)("nav.allExhibitions")), 9, Ma)])]), e.paging ? (p(), s("div", Na, [c("div", Pa, [c("button", {
|
|
1627
2333
|
type: "button",
|
|
1628
2334
|
onClick: g
|
|
1629
|
-
}, y(b(r)("nav.previous")), 1)]), e.next ? (p(), s("div",
|
|
2335
|
+
}, y(b(r)("nav.previous")), 1)]), e.next ? (p(), s("div", Fa, [u(i, { to: e.next }, {
|
|
1630
2336
|
default: C(() => [l(y(b(r)("nav.next")), 1)]),
|
|
1631
2337
|
_: 1
|
|
1632
2338
|
}, 8, ["to"])])) : o("", !0)])) : o("", !0)])
|
|
1633
2339
|
], 6);
|
|
1634
2340
|
};
|
|
1635
2341
|
}
|
|
1636
|
-
},
|
|
2342
|
+
}, La = { class: "mwnf-sh-download" }, Ra = ["src"], za = ["src"], Ba = ["src"], Va = {
|
|
1637
2343
|
__name: "Download",
|
|
1638
2344
|
props: {
|
|
1639
2345
|
title: {
|
|
@@ -1656,13 +2362,13 @@ var pr = {
|
|
|
1656
2362
|
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");
|
|
1657
2363
|
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);
|
|
1658
2364
|
}
|
|
1659
|
-
return (e, t) => (p(), s("div",
|
|
2365
|
+
return (e, t) => (p(), s("div", La, [
|
|
1660
2366
|
c("img", {
|
|
1661
2367
|
src: b(r)("legacy/print.gif"),
|
|
1662
2368
|
alt: "",
|
|
1663
2369
|
width: "14",
|
|
1664
2370
|
height: "14"
|
|
1665
|
-
}, null, 8,
|
|
2371
|
+
}, null, 8, Ra),
|
|
1666
2372
|
l(" / " + y(b(n)("download.heading")), 1),
|
|
1667
2373
|
t[1] ||= c("br", null, null, -1),
|
|
1668
2374
|
c("img", {
|
|
@@ -1671,7 +2377,7 @@ var pr = {
|
|
|
1671
2377
|
class: "mwnf-sh-arrow",
|
|
1672
2378
|
width: "11",
|
|
1673
2379
|
height: "8"
|
|
1674
|
-
}, null, 8,
|
|
2380
|
+
}, null, 8, za),
|
|
1675
2381
|
c("a", {
|
|
1676
2382
|
href: "#",
|
|
1677
2383
|
onClick: t[0] ||= T((t) => e.window.print(), ["prevent"])
|
|
@@ -1683,23 +2389,23 @@ var pr = {
|
|
|
1683
2389
|
class: "mwnf-sh-arrow",
|
|
1684
2390
|
width: "11",
|
|
1685
2391
|
height: "8"
|
|
1686
|
-
}, null, 8,
|
|
2392
|
+
}, null, 8, Ba),
|
|
1687
2393
|
c("a", {
|
|
1688
2394
|
href: "#",
|
|
1689
2395
|
onClick: T(a, ["prevent"])
|
|
1690
2396
|
}, y(b(n)("download.asWord")), 1)
|
|
1691
2397
|
]));
|
|
1692
2398
|
}
|
|
1693
|
-
},
|
|
2399
|
+
}, Ha = {
|
|
1694
2400
|
key: 0,
|
|
1695
2401
|
style: { "font-size": "calc(11px * var(--sh-text-scale, 1))" }
|
|
1696
|
-
},
|
|
2402
|
+
}, Ua = { class: "mwnf-sh-intro" }, Wa = { class: "mwnf-sh-intro__text" }, Ga = { class: "mwnf-sh-intro__heading" }, Ka = ["innerHTML"], qa = { class: "mwnf-sh-intro__pictures" }, Ja = {
|
|
1697
2403
|
key: 0,
|
|
1698
2404
|
class: "mwnf-sh-intro__picture"
|
|
1699
|
-
},
|
|
2405
|
+
}, Ya = { class: "mwnf-sh-intro__frame" }, Xa = ["src"], Za = ["src"], Qa = ["innerHTML"], $a = ["innerHTML"], eo = ["innerHTML"], to = ["src"], no = ["href"], ro = {
|
|
1700
2406
|
key: 1,
|
|
1701
2407
|
class: "mwnf-sh-intro__thumbs"
|
|
1702
|
-
},
|
|
2408
|
+
}, io = ["onClick"], ao = ["src"], oo = { class: "mwnf-sh-bottom" }, so = { class: "mwnf-sh-bottom__pages" }, co = ["src"], lo = { class: "mwnf-sh-bottom__current" }, uo = ["src"], fo = { class: "mwnf-sh-bottom__related" }, po = {
|
|
1703
2409
|
__name: "Introduction",
|
|
1704
2410
|
setup(e) {
|
|
1705
2411
|
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] ? {
|
|
@@ -1718,31 +2424,31 @@ var pr = {
|
|
|
1718
2424
|
Z(a({
|
|
1719
2425
|
name: "zoom",
|
|
1720
2426
|
query: { img: N.value.image_url }
|
|
1721
|
-
}),
|
|
2427
|
+
}), qi.zoom);
|
|
1722
2428
|
}
|
|
1723
2429
|
return (e, t) => {
|
|
1724
2430
|
let i = v("router-link");
|
|
1725
|
-
return b(x) ? (p(), s("div",
|
|
1726
|
-
u(
|
|
2431
|
+
return b(x) ? (p(), s("div", Ha, [
|
|
2432
|
+
u(Ia, {
|
|
1727
2433
|
kind: "intro",
|
|
1728
2434
|
previous: { name: "home" },
|
|
1729
2435
|
next: k.value
|
|
1730
2436
|
}, null, 8, ["next"]),
|
|
1731
|
-
c("div",
|
|
1732
|
-
c("div",
|
|
2437
|
+
c("div", Ua, [c("div", Wa, [
|
|
2438
|
+
c("div", Ga, y(b(d)("home.introduction")), 1),
|
|
1733
2439
|
c("div", {
|
|
1734
2440
|
class: "mwnf-sh-intro__body",
|
|
1735
2441
|
innerHTML: b(r).md(O.value.description ?? "")
|
|
1736
|
-
}, null, 8,
|
|
1737
|
-
u(
|
|
2442
|
+
}, null, 8, Ka),
|
|
2443
|
+
u(Va, {
|
|
1738
2444
|
title: b(D),
|
|
1739
2445
|
blocks: [{
|
|
1740
2446
|
heading: b(d)("home.introduction"),
|
|
1741
2447
|
text: O.value.description ?? ""
|
|
1742
2448
|
}]
|
|
1743
2449
|
}, null, 8, ["title", "blocks"])
|
|
1744
|
-
]), c("div",
|
|
1745
|
-
c("div",
|
|
2450
|
+
]), c("div", qa, [N.value ? (p(), s("div", Ja, [
|
|
2451
|
+
c("div", Ya, [c("div", null, [
|
|
1746
2452
|
w((p(), s("button", {
|
|
1747
2453
|
type: "button",
|
|
1748
2454
|
onClick: I
|
|
@@ -1750,7 +2456,7 @@ var pr = {
|
|
|
1750
2456
|
class: "mwnf-sh-intro__shown",
|
|
1751
2457
|
src: N.value.image_url,
|
|
1752
2458
|
alt: ""
|
|
1753
|
-
}, null, 8,
|
|
2459
|
+
}, null, 8, Xa)])), [[b(G), { text: b(d)("item.showZoom") }]]),
|
|
1754
2460
|
t[0] ||= l("\xA0", -1),
|
|
1755
2461
|
t[1] ||= c("br", null, null, -1),
|
|
1756
2462
|
w((p(), s("button", {
|
|
@@ -1761,16 +2467,16 @@ var pr = {
|
|
|
1761
2467
|
alt: "",
|
|
1762
2468
|
width: "15",
|
|
1763
2469
|
height: "15"
|
|
1764
|
-
}, null, 8,
|
|
2470
|
+
}, null, 8, Za)])), [[b(G), { text: b(d)("item.showZoom") }]])
|
|
1765
2471
|
])]),
|
|
1766
2472
|
P.value.name ? (p(), s("b", {
|
|
1767
2473
|
key: 0,
|
|
1768
2474
|
innerHTML: b(r).mdInline(P.value.name)
|
|
1769
|
-
}, null, 8,
|
|
2475
|
+
}, null, 8, Qa)) : o("", !0),
|
|
1770
2476
|
P.value.secondName ? (p(), s(n, { key: 1 }, [
|
|
1771
2477
|
t[2] ||= c("br", null, null, -1),
|
|
1772
2478
|
t[3] ||= c("br", null, null, -1),
|
|
1773
|
-
c("b", { innerHTML: b(r).mdInline(P.value.secondName) }, null, 8,
|
|
2479
|
+
c("b", { innerHTML: b(r).mdInline(P.value.secondName) }, null, 8, $a)
|
|
1774
2480
|
], 64)) : o("", !0),
|
|
1775
2481
|
(p(), s(n, null, g([
|
|
1776
2482
|
"date",
|
|
@@ -1782,7 +2488,7 @@ var pr = {
|
|
|
1782
2488
|
], (e) => (p(), s(n, { key: e }, [P.value[e] ? (p(), s(n, { key: 0 }, [
|
|
1783
2489
|
t[4] ||= c("br", null, null, -1),
|
|
1784
2490
|
t[5] ||= c("br", null, null, -1),
|
|
1785
|
-
c("span", { innerHTML: b(r).mdInline(P.value[e]) }, null, 8,
|
|
2491
|
+
c("span", { innerHTML: b(r).mdInline(P.value[e]) }, null, 8, eo)
|
|
1786
2492
|
], 64)) : o("", !0)], 64))), 64)),
|
|
1787
2493
|
t[6] ||= c("br", null, null, -1),
|
|
1788
2494
|
t[7] ||= c("br", null, null, -1),
|
|
@@ -1792,40 +2498,40 @@ var pr = {
|
|
|
1792
2498
|
class: "mwnf-sh-arrow",
|
|
1793
2499
|
width: "11",
|
|
1794
2500
|
height: "8"
|
|
1795
|
-
}, null, 8,
|
|
1796
|
-
c("a", { href: F.value }, y(b(d)("item.moreInfo")), 9,
|
|
1797
|
-
])) : o("", !0), j.value.length ? (p(), s("div",
|
|
2501
|
+
}, null, 8, to),
|
|
2502
|
+
c("a", { href: F.value }, y(b(d)("item.moreInfo")), 9, no)
|
|
2503
|
+
])) : o("", !0), j.value.length ? (p(), s("div", ro, [(p(!0), s(n, null, g(j.value, (e, t) => (p(), s("button", {
|
|
1798
2504
|
key: e.image_url,
|
|
1799
2505
|
type: "button",
|
|
1800
2506
|
onClick: (e) => M.value = t
|
|
1801
2507
|
}, [c("img", {
|
|
1802
2508
|
src: e.image_url,
|
|
1803
2509
|
alt: ""
|
|
1804
|
-
}, null, 8,
|
|
1805
|
-
c("div",
|
|
2510
|
+
}, null, 8, ao)], 8, io))), 128))])) : o("", !0)])]),
|
|
2511
|
+
c("div", oo, [c("div", so, [c("b", null, y(b(d)("page.inExhibition")), 1), c("ul", null, [c("li", null, [c("img", {
|
|
1806
2512
|
src: b(_)("legacy/arrow.gif"),
|
|
1807
2513
|
alt: "",
|
|
1808
2514
|
width: "10",
|
|
1809
2515
|
height: "9"
|
|
1810
|
-
}, null, 8,
|
|
2516
|
+
}, null, 8, co), c("span", lo, y(b(d)("home.introduction")), 1)]), (p(!0), s(n, null, g(b(E), (e, t) => (p(), s("li", { key: e.id }, [c("img", {
|
|
1811
2517
|
src: b(_)("legacy/arrow.gif"),
|
|
1812
2518
|
alt: "",
|
|
1813
2519
|
width: "10",
|
|
1814
2520
|
height: "9"
|
|
1815
|
-
}, null, 8,
|
|
2521
|
+
}, null, 8, uo), u(i, { to: {
|
|
1816
2522
|
name: "theme",
|
|
1817
2523
|
params: { theme: t + 1 }
|
|
1818
2524
|
} }, {
|
|
1819
2525
|
default: C(() => [l(y(b(A)(b(T)(e.id).title ?? "")), 1)]),
|
|
1820
2526
|
_: 2
|
|
1821
|
-
}, 1032, ["to"])]))), 128))])]), c("div",
|
|
2527
|
+
}, 1032, ["to"])]))), 128))])]), c("div", fo, [u(ta, { arrow: "legacy/arrow_inner.gif" }), u(oa, { class: "mwnf-sh-bottom__windows" })])])
|
|
1822
2528
|
])) : o("", !0);
|
|
1823
2529
|
};
|
|
1824
2530
|
}
|
|
1825
|
-
},
|
|
2531
|
+
}, mo = {
|
|
1826
2532
|
key: 0,
|
|
1827
2533
|
class: "mwnf-sh-panel"
|
|
1828
|
-
},
|
|
2534
|
+
}, ho = { class: "mwnf-sh-panel__picture" }, go = { class: "mwnf-sh-panel__frame" }, _o = ["src"], vo = { class: "mwnf-sh-panel__magnify" }, yo = ["src"], bo = { class: "mwnf-sh-panel__caption" }, xo = ["innerHTML"], So = ["innerHTML"], Co = ["innerHTML"], wo = ["innerHTML"], To = ["innerHTML"], Eo = ["innerHTML"], Do = ["innerHTML"], Oo = ["src"], ko = ["href"], Ao = { class: "mwnf-sh-panel__related" }, jo = ["onClick"], Mo = ["src"], No = {
|
|
1829
2535
|
__name: "Panel",
|
|
1830
2536
|
props: {
|
|
1831
2537
|
slot: {
|
|
@@ -1847,16 +2553,16 @@ var pr = {
|
|
|
1847
2553
|
Z(d({
|
|
1848
2554
|
name: "zoom",
|
|
1849
2555
|
query: { img: _.value.image_url }
|
|
1850
|
-
}),
|
|
2556
|
+
}), qi.zoom);
|
|
1851
2557
|
}
|
|
1852
|
-
return (e, t) => _.value ? (p(), s("div",
|
|
2558
|
+
return (e, t) => _.value ? (p(), s("div", mo, [c("div", ho, [c("div", go, [c("div", null, [w((p(), s("button", {
|
|
1853
2559
|
type: "button",
|
|
1854
2560
|
onClick: C
|
|
1855
2561
|
}, [c("img", {
|
|
1856
2562
|
class: "mwnf-sh-panel__shown",
|
|
1857
2563
|
src: _.value.image_url,
|
|
1858
2564
|
alt: ""
|
|
1859
|
-
}, null, 8,
|
|
2565
|
+
}, null, 8, _o)])), [[b(G), { text: b(f)("item.showZoom") }]]), c("div", vo, [w((p(), s("button", {
|
|
1860
2566
|
type: "button",
|
|
1861
2567
|
onClick: C
|
|
1862
2568
|
}, [c("img", {
|
|
@@ -1864,75 +2570,75 @@ var pr = {
|
|
|
1864
2570
|
alt: "",
|
|
1865
2571
|
width: "15",
|
|
1866
2572
|
height: "15"
|
|
1867
|
-
}, null, 8,
|
|
2573
|
+
}, null, 8, yo)])), [[b(G), { text: b(f)("item.showZoom") }]])])])])]), c("div", bo, [
|
|
1868
2574
|
v.value.name ? (p(), s("p", {
|
|
1869
2575
|
key: 0,
|
|
1870
2576
|
class: "mwnf-sh-panel__name",
|
|
1871
2577
|
innerHTML: b(u).mdInline(v.value.name)
|
|
1872
|
-
}, null, 8,
|
|
2578
|
+
}, null, 8, xo)) : o("", !0),
|
|
1873
2579
|
v.value.date ? (p(), s("p", {
|
|
1874
2580
|
key: 1,
|
|
1875
2581
|
innerHTML: b(u).mdInline(v.value.date)
|
|
1876
|
-
}, null, 8,
|
|
2582
|
+
}, null, 8, So)) : o("", !0),
|
|
1877
2583
|
v.value.place ? (p(), s("p", {
|
|
1878
2584
|
key: 2,
|
|
1879
2585
|
innerHTML: b(u).mdInline(v.value.place)
|
|
1880
|
-
}, null, 8,
|
|
2586
|
+
}, null, 8, Co)) : o("", !0),
|
|
1881
2587
|
v.value.artist ? (p(), s("p", {
|
|
1882
2588
|
key: 3,
|
|
1883
2589
|
innerHTML: b(u).mdInline(v.value.artist)
|
|
1884
|
-
}, null, 8,
|
|
2590
|
+
}, null, 8, wo)) : o("", !0),
|
|
1885
2591
|
v.value.material ? (p(), s("p", {
|
|
1886
2592
|
key: 4,
|
|
1887
2593
|
innerHTML: b(u).mdInline(v.value.material)
|
|
1888
|
-
}, null, 8,
|
|
2594
|
+
}, null, 8, To)) : o("", !0),
|
|
1889
2595
|
v.value.architects ? (p(), s("p", {
|
|
1890
2596
|
key: 5,
|
|
1891
2597
|
innerHTML: b(u).mdInline(v.value.architects)
|
|
1892
|
-
}, null, 8,
|
|
2598
|
+
}, null, 8, Eo)) : o("", !0),
|
|
1893
2599
|
v.value.justification ? (p(), s("p", {
|
|
1894
2600
|
key: 6,
|
|
1895
2601
|
class: "mwnf-sh-panel__justification",
|
|
1896
2602
|
innerHTML: b(u).mdInline(v.value.justification)
|
|
1897
|
-
}, null, 8,
|
|
2603
|
+
}, null, 8, Do)) : o("", !0),
|
|
1898
2604
|
c("p", null, [c("img", {
|
|
1899
2605
|
src: b(m)("legacy/arrow_inner_black.gif"),
|
|
1900
2606
|
alt: "",
|
|
1901
2607
|
class: "mwnf-sh-arrow",
|
|
1902
2608
|
width: "11",
|
|
1903
2609
|
height: "8"
|
|
1904
|
-
}, null, 8,
|
|
2610
|
+
}, null, 8, Oo), c("a", {
|
|
1905
2611
|
href: x.value,
|
|
1906
2612
|
target: "_blank",
|
|
1907
2613
|
rel: "noopener"
|
|
1908
|
-
}, y(b(f)("item.moreInfo")), 9,
|
|
1909
|
-
S.value.length ? (p(), s(n, { key: 7 }, [c("p", null, [c("b", null, y(b(f)("item.related")), 1)]), c("div",
|
|
2614
|
+
}, y(b(f)("item.moreInfo")), 9, ko)]),
|
|
2615
|
+
S.value.length ? (p(), s(n, { key: 7 }, [c("p", null, [c("b", null, y(b(f)("item.related")), 1)]), c("div", Ao, [(p(!0), s(n, null, g(S.value, (e) => (p(), s("button", {
|
|
1910
2616
|
key: e.index,
|
|
1911
2617
|
type: "button",
|
|
1912
2618
|
onClick: (t) => a("update:view", e.index)
|
|
1913
2619
|
}, [c("img", {
|
|
1914
2620
|
src: e.variant.image_url,
|
|
1915
2621
|
alt: ""
|
|
1916
|
-
}, null, 8,
|
|
2622
|
+
}, null, 8, Mo)], 8, jo))), 128))])], 64)) : o("", !0)
|
|
1917
2623
|
])])) : o("", !0);
|
|
1918
2624
|
}
|
|
1919
|
-
},
|
|
2625
|
+
}, Po = {
|
|
1920
2626
|
key: 1,
|
|
1921
2627
|
class: "mwnf-sh-pagewrap",
|
|
1922
2628
|
style: { "font-size": "calc(11px * var(--sh-text-scale, 1))" }
|
|
1923
|
-
},
|
|
2629
|
+
}, Fo = { class: "mwnf-sh-page" }, Io = { class: "mwnf-sh-page__text" }, Lo = { class: "mwnf-sh-page__theme" }, Ro = { class: "mwnf-sh-page__name" }, zo = {
|
|
1924
2630
|
key: 0,
|
|
1925
2631
|
class: "mwnf-sh-page__thumbs"
|
|
1926
|
-
},
|
|
2632
|
+
}, Bo = ["onClick"], Vo = ["src"], Ho = { class: "mwnf-sh-page__body" }, Uo = ["innerHTML"], Wo = ["innerHTML"], Go = { class: "mwnf-sh-more" }, Ko = { class: "mwnf-sh-more__label" }, qo = { class: "mwnf-sh-more__theme" }, Jo = ["src"], Yo = {
|
|
1927
2633
|
key: 0,
|
|
1928
2634
|
class: "mwnf-sh-more__current"
|
|
1929
|
-
},
|
|
2635
|
+
}, Xo = ["src"], Zo = {
|
|
1930
2636
|
key: 0,
|
|
1931
2637
|
class: "mwnf-sh-more__current"
|
|
1932
|
-
},
|
|
2638
|
+
}, Qo = { class: "mwnf-sh-bottom" }, $o = { class: "mwnf-sh-bottom__pages" }, es = ["src"], ts = ["src"], ns = {
|
|
1933
2639
|
key: 0,
|
|
1934
2640
|
class: "mwnf-sh-bottom__current"
|
|
1935
|
-
},
|
|
2641
|
+
}, rs = { class: "mwnf-sh-bottom__related" }, is = {
|
|
1936
2642
|
__name: "Page",
|
|
1937
2643
|
props: {
|
|
1938
2644
|
theme: {
|
|
@@ -1959,39 +2665,39 @@ var pr = {
|
|
|
1959
2665
|
]);
|
|
1960
2666
|
return (t, i) => {
|
|
1961
2667
|
let f = v("router-link");
|
|
1962
|
-
return O.value ? (p(), s("div",
|
|
1963
|
-
u(
|
|
1964
|
-
c("div",
|
|
1965
|
-
c("div",
|
|
1966
|
-
c("div",
|
|
1967
|
-
N.value.length ? (p(), s("div",
|
|
2668
|
+
return O.value ? (p(), s("div", Po, [
|
|
2669
|
+
u(Ia, { next: O.value.next }, null, 8, ["next"]),
|
|
2670
|
+
c("div", Fo, [c("div", Io, [
|
|
2671
|
+
c("div", Lo, y(R(k.value.id)), 1),
|
|
2672
|
+
c("div", Ro, "\xA0" + y(z.value), 1),
|
|
2673
|
+
N.value.length ? (p(), s("div", zo, [(p(!0), s(n, null, g(N.value, (e, t) => (p(), s("button", {
|
|
1968
2674
|
key: `${e.n}-${e.variants[0].id}`,
|
|
1969
2675
|
type: "button",
|
|
1970
2676
|
onClick: (e) => L(t)
|
|
1971
2677
|
}, [c("img", {
|
|
1972
2678
|
src: e.variants[0].image_url,
|
|
1973
2679
|
alt: ""
|
|
1974
|
-
}, null, 8,
|
|
2680
|
+
}, null, 8, Vo)], 8, Bo))), 128))])) : o("", !0),
|
|
1975
2681
|
i[2] ||= c("div", { class: "mwnf-sh-page__rule" }, null, -1),
|
|
1976
|
-
c("div",
|
|
2682
|
+
c("div", Ho, [M.value.quote ? (p(), s("div", {
|
|
1977
2683
|
key: 0,
|
|
1978
2684
|
class: "mwnf-sh-page__quote",
|
|
1979
2685
|
innerHTML: b(r).md(M.value.quote)
|
|
1980
|
-
}, null, 8,
|
|
2686
|
+
}, null, 8, Uo)) : o("", !0), M.value.description ? (p(), s("div", {
|
|
1981
2687
|
key: 1,
|
|
1982
2688
|
innerHTML: b(r).md(M.value.description)
|
|
1983
|
-
}, null, 8,
|
|
1984
|
-
c("div",
|
|
1985
|
-
c("span",
|
|
2689
|
+
}, null, 8, Wo)) : o("", !0)]),
|
|
2690
|
+
c("div", Go, [c("b", null, [
|
|
2691
|
+
c("span", Ko, y(b(d)("page.moreAbout")), 1),
|
|
1986
2692
|
i[1] ||= c("br", null, null, -1),
|
|
1987
|
-
c("span",
|
|
2693
|
+
c("span", qo, y(R(k.value.id)), 1)
|
|
1988
2694
|
]), c("ul", null, [c("li", null, [c("img", {
|
|
1989
2695
|
src: b(m)("legacy/arrow_inner_black.gif"),
|
|
1990
2696
|
alt: "",
|
|
1991
2697
|
class: "mwnf-sh-arrow",
|
|
1992
2698
|
width: "11",
|
|
1993
2699
|
height: "8"
|
|
1994
|
-
}, null, 8,
|
|
2700
|
+
}, null, 8, Jo), e.page === 0 ? (p(), s("span", Yo, y(b(d)("home.overview")), 1)) : (p(), a(f, {
|
|
1995
2701
|
key: 1,
|
|
1996
2702
|
to: {
|
|
1997
2703
|
name: "theme",
|
|
@@ -2006,7 +2712,7 @@ var pr = {
|
|
|
2006
2712
|
class: "mwnf-sh-arrow",
|
|
2007
2713
|
width: "11",
|
|
2008
2714
|
height: "8"
|
|
2009
|
-
}, null, 8,
|
|
2715
|
+
}, null, 8, Xo), e.page === n + 1 ? (p(), s("span", Zo, y(R(t.id)), 1)) : (p(), a(f, {
|
|
2010
2716
|
key: 1,
|
|
2011
2717
|
to: {
|
|
2012
2718
|
name: "subtheme",
|
|
@@ -2019,21 +2725,21 @@ var pr = {
|
|
|
2019
2725
|
default: C(() => [l(y(R(t.id)), 1)]),
|
|
2020
2726
|
_: 2
|
|
2021
2727
|
}, 1032, ["to"]))]))), 128))])]),
|
|
2022
|
-
u(
|
|
2728
|
+
u(Va, {
|
|
2023
2729
|
title: b(D),
|
|
2024
2730
|
blocks: B.value
|
|
2025
2731
|
}, null, 8, ["title", "blocks"])
|
|
2026
|
-
]), u(
|
|
2732
|
+
]), u(No, {
|
|
2027
2733
|
view: I.value,
|
|
2028
2734
|
"onUpdate:view": i[0] ||= (e) => I.value = e,
|
|
2029
2735
|
slot: N.value[F.value] ?? null
|
|
2030
2736
|
}, null, 8, ["view", "slot"])]),
|
|
2031
|
-
c("div",
|
|
2737
|
+
c("div", Qo, [c("div", $o, [c("b", null, y(b(d)("page.inExhibition")), 1), c("ul", null, [c("li", null, [c("img", {
|
|
2032
2738
|
src: b(m)("legacy/arrow.gif"),
|
|
2033
2739
|
alt: "",
|
|
2034
2740
|
width: "10",
|
|
2035
2741
|
height: "9"
|
|
2036
|
-
}, null, 8,
|
|
2742
|
+
}, null, 8, es), u(f, { to: { name: "introduction" } }, {
|
|
2037
2743
|
default: C(() => [l(y(b(d)("home.introduction")), 1)]),
|
|
2038
2744
|
_: 1
|
|
2039
2745
|
})]), (p(!0), s(n, null, g(b(T), (t, n) => (p(), s("li", { key: t.id }, [c("img", {
|
|
@@ -2041,7 +2747,7 @@ var pr = {
|
|
|
2041
2747
|
alt: "",
|
|
2042
2748
|
width: "10",
|
|
2043
2749
|
height: "9"
|
|
2044
|
-
}, null, 8,
|
|
2750
|
+
}, null, 8, ts), n + 1 === e.theme ? (p(), s("span", ns, y(R(t.id)), 1)) : (p(), a(f, {
|
|
2045
2751
|
key: 1,
|
|
2046
2752
|
to: {
|
|
2047
2753
|
name: "theme",
|
|
@@ -2050,38 +2756,38 @@ var pr = {
|
|
|
2050
2756
|
}, {
|
|
2051
2757
|
default: C(() => [l(y(R(t.id)), 1)]),
|
|
2052
2758
|
_: 2
|
|
2053
|
-
}, 1032, ["to"]))]))), 128))])]), c("div",
|
|
2759
|
+
}, 1032, ["to"]))]))), 128))])]), c("div", rs, [u(ta, {
|
|
2054
2760
|
arrow: "legacy/arrow_inner.gif",
|
|
2055
2761
|
"theme-id": k.value.id,
|
|
2056
2762
|
"subtheme-id": e.page === 0 ? null : j.value.id
|
|
2057
|
-
}, null, 8, ["theme-id", "subtheme-id"]), u(
|
|
2763
|
+
}, null, 8, ["theme-id", "subtheme-id"]), u(oa, { class: "mwnf-sh-bottom__windows" })])])
|
|
2058
2764
|
])) : (p(), a(b(E), { key: 0 }));
|
|
2059
2765
|
};
|
|
2060
2766
|
}
|
|
2061
|
-
},
|
|
2767
|
+
}, as = { key: 0 }, os = { class: "mwnf-sh-reading" }, ss = { class: "mwnf-sh-reading__languages" }, cs = {
|
|
2062
2768
|
key: 0,
|
|
2063
2769
|
class: "mwnf-sh-reading__language mwnf-sh-reading__language--current"
|
|
2064
|
-
},
|
|
2770
|
+
}, ls = {
|
|
2065
2771
|
key: 1,
|
|
2066
2772
|
class: "mwnf-sh-reading__language"
|
|
2067
|
-
},
|
|
2773
|
+
}, us = { class: "mwnf-sh-reading__content" }, ds = { class: "mwnf-sh-reading__close" }, fs = ["src"], ps = { class: "mwnf-sh-reading__title" }, ms = ["innerHTML"], hs = {
|
|
2068
2774
|
__name: "FurtherReading",
|
|
2069
2775
|
setup(e) {
|
|
2070
2776
|
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();
|
|
2071
2777
|
return (e, i) => {
|
|
2072
2778
|
let a = v("router-link");
|
|
2073
|
-
return b(h) ? (p(), s("div",
|
|
2779
|
+
return b(h) ? (p(), s("div", as, [u(Ia, {
|
|
2074
2780
|
kind: "intro",
|
|
2075
2781
|
heading: b(r)("related.furtherReading"),
|
|
2076
2782
|
paging: !1
|
|
2077
|
-
}, null, 8, ["heading"]), c("div",
|
|
2783
|
+
}, null, 8, ["heading"]), c("div", os, [c("div", ss, [(p(!0), s(n, null, g(D.value, (e) => (p(), s(n, { key: e }, [e === w.value ? (p(), s("div", cs, y(b(d)(e)), 1)) : (p(), s("div", ls, [u(a, { to: {
|
|
2078
2784
|
name: "further-reading",
|
|
2079
2785
|
query: { lang: e }
|
|
2080
2786
|
} }, {
|
|
2081
2787
|
default: C(() => [l(y(b(d)(e)), 1)]),
|
|
2082
2788
|
_: 2
|
|
2083
|
-
}, 1032, ["to"])]))], 64))), 128))]), c("div",
|
|
2084
|
-
c("div",
|
|
2789
|
+
}, 1032, ["to"])]))], 64))), 128))]), c("div", us, [
|
|
2790
|
+
c("div", ds, [c("a", {
|
|
2085
2791
|
href: "#",
|
|
2086
2792
|
onClick: T(O, ["prevent"])
|
|
2087
2793
|
}, [c("img", {
|
|
@@ -2089,16 +2795,16 @@ var pr = {
|
|
|
2089
2795
|
alt: "",
|
|
2090
2796
|
width: "11",
|
|
2091
2797
|
height: "8"
|
|
2092
|
-
}, null, 8,
|
|
2093
|
-
c("div",
|
|
2798
|
+
}, null, 8, fs), l(y(b(r)("reading.close")), 1)])]),
|
|
2799
|
+
c("div", ps, [c("span", null, y(b(x)), 1)]),
|
|
2094
2800
|
(p(!0), s(n, null, g(E.value, (e) => (p(), s("p", {
|
|
2095
2801
|
key: e,
|
|
2096
2802
|
innerHTML: b(t).mdInline(e)
|
|
2097
|
-
}, null, 8,
|
|
2803
|
+
}, null, 8, ms))), 128))
|
|
2098
2804
|
])])])) : o("", !0);
|
|
2099
2805
|
};
|
|
2100
2806
|
}
|
|
2101
|
-
},
|
|
2807
|
+
}, gs = ["innerHTML"], _s = {
|
|
2102
2808
|
__name: "Window",
|
|
2103
2809
|
props: { kind: {
|
|
2104
2810
|
type: String,
|
|
@@ -2113,10 +2819,10 @@ var pr = {
|
|
|
2113
2819
|
c("h3", null, y(b(l)), 1),
|
|
2114
2820
|
c("p", null, y(b(r)(`windows.${e.kind}`)), 1),
|
|
2115
2821
|
n[0] ||= c("br", null, null, -1),
|
|
2116
|
-
c("div", { innerHTML: d.value }, null, 8,
|
|
2822
|
+
c("div", { innerHTML: d.value }, null, 8, gs)
|
|
2117
2823
|
]));
|
|
2118
2824
|
}
|
|
2119
|
-
},
|
|
2825
|
+
}, vs = ["src"], ys = {
|
|
2120
2826
|
__name: "Zoom",
|
|
2121
2827
|
props: { image: {
|
|
2122
2828
|
type: String,
|
|
@@ -2131,58 +2837,58 @@ var pr = {
|
|
|
2131
2837
|
key: 0,
|
|
2132
2838
|
src: c.value,
|
|
2133
2839
|
alt: ""
|
|
2134
|
-
}, null, 8,
|
|
2840
|
+
}, null, 8, vs)) : o("", !0);
|
|
2135
2841
|
}
|
|
2136
|
-
},
|
|
2842
|
+
}, bs = [
|
|
2137
2843
|
"collections",
|
|
2138
2844
|
"items",
|
|
2139
2845
|
"countries",
|
|
2140
2846
|
"partners"
|
|
2141
2847
|
];
|
|
2142
|
-
function
|
|
2848
|
+
function xs(e) {
|
|
2143
2849
|
return [
|
|
2144
2850
|
{
|
|
2145
2851
|
path: "/",
|
|
2146
2852
|
name: "home",
|
|
2147
|
-
component:
|
|
2148
|
-
meta: e("home", ...
|
|
2853
|
+
component: Ea,
|
|
2854
|
+
meta: e("home", ...bs)
|
|
2149
2855
|
},
|
|
2150
2856
|
{
|
|
2151
2857
|
path: "/introduction",
|
|
2152
2858
|
name: "introduction",
|
|
2153
|
-
component:
|
|
2154
|
-
meta: e("introduction", ...
|
|
2859
|
+
component: po,
|
|
2860
|
+
meta: e("introduction", ...bs)
|
|
2155
2861
|
},
|
|
2156
2862
|
{
|
|
2157
2863
|
path: "/theme/:theme(\\d+)",
|
|
2158
2864
|
name: "theme",
|
|
2159
|
-
component:
|
|
2865
|
+
component: is,
|
|
2160
2866
|
props: (e) => ({
|
|
2161
2867
|
theme: Number(e.params.theme),
|
|
2162
2868
|
page: 0
|
|
2163
2869
|
}),
|
|
2164
|
-
meta: e("theme", ...
|
|
2870
|
+
meta: e("theme", ...bs)
|
|
2165
2871
|
},
|
|
2166
2872
|
{
|
|
2167
2873
|
path: "/theme/:theme(\\d+)/:page(\\d+)",
|
|
2168
2874
|
name: "subtheme",
|
|
2169
|
-
component:
|
|
2875
|
+
component: is,
|
|
2170
2876
|
props: (e) => ({
|
|
2171
2877
|
theme: Number(e.params.theme),
|
|
2172
2878
|
page: Number(e.params.page)
|
|
2173
2879
|
}),
|
|
2174
|
-
meta: e("subtheme", ...
|
|
2880
|
+
meta: e("subtheme", ...bs)
|
|
2175
2881
|
},
|
|
2176
2882
|
{
|
|
2177
2883
|
path: "/further-reading",
|
|
2178
2884
|
name: "further-reading",
|
|
2179
|
-
component:
|
|
2885
|
+
component: hs,
|
|
2180
2886
|
meta: e("further-reading", "collections")
|
|
2181
2887
|
},
|
|
2182
2888
|
{
|
|
2183
2889
|
path: "/credits",
|
|
2184
2890
|
name: "credits",
|
|
2185
|
-
component:
|
|
2891
|
+
component: _s,
|
|
2186
2892
|
props: { kind: "curators" },
|
|
2187
2893
|
meta: {
|
|
2188
2894
|
...e("credits", "collections"),
|
|
@@ -2192,7 +2898,7 @@ function Ba(e) {
|
|
|
2192
2898
|
{
|
|
2193
2899
|
path: "/cover-image",
|
|
2194
2900
|
name: "cover-image",
|
|
2195
|
-
component:
|
|
2901
|
+
component: _s,
|
|
2196
2902
|
props: { kind: "coverImage" },
|
|
2197
2903
|
meta: {
|
|
2198
2904
|
...e("cover-image", "collections"),
|
|
@@ -2202,7 +2908,7 @@ function Ba(e) {
|
|
|
2202
2908
|
{
|
|
2203
2909
|
path: "/zoom",
|
|
2204
2910
|
name: "zoom",
|
|
2205
|
-
component:
|
|
2911
|
+
component: ys,
|
|
2206
2912
|
props: (e) => ({ image: String(e.query.img ?? "") }),
|
|
2207
2913
|
meta: {
|
|
2208
2914
|
...e("zoom", "collections"),
|
|
@@ -2211,8 +2917,8 @@ function Ba(e) {
|
|
|
2211
2917
|
}
|
|
2212
2918
|
];
|
|
2213
2919
|
}
|
|
2214
|
-
var
|
|
2215
|
-
function
|
|
2920
|
+
var Ss = "https://www.museumwnf.org/about/language-policy";
|
|
2921
|
+
function Cs({ languages: e, parent: t, profiles: n = [], texts: r = Li }) {
|
|
2216
2922
|
let i = [{
|
|
2217
2923
|
label: "header.project",
|
|
2218
2924
|
href: `${t}/#/about`
|
|
@@ -2286,7 +2992,7 @@ function Ha({ languages: e, parent: t, profiles: n = [], texts: r = rr }) {
|
|
|
2286
2992
|
},
|
|
2287
2993
|
{
|
|
2288
2994
|
label: "footer.languagePolicy",
|
|
2289
|
-
href:
|
|
2995
|
+
href: Ss
|
|
2290
2996
|
},
|
|
2291
2997
|
{
|
|
2292
2998
|
label: "footer.cookies",
|
|
@@ -2295,7 +3001,7 @@ function Ha({ languages: e, parent: t, profiles: n = [], texts: r = rr }) {
|
|
|
2295
3001
|
]
|
|
2296
3002
|
};
|
|
2297
3003
|
}
|
|
2298
|
-
function
|
|
3004
|
+
function ws({ parent: e, texts: t = Li, ...n }) {
|
|
2299
3005
|
return {
|
|
2300
3006
|
parent: e,
|
|
2301
3007
|
texts: t,
|
|
@@ -2304,4 +3010,392 @@ function Ua({ parent: e, texts: t = rr, ...n }) {
|
|
|
2304
3010
|
};
|
|
2305
3011
|
}
|
|
2306
3012
|
//#endregion
|
|
2307
|
-
|
|
3013
|
+
//#region src/minisite/baroqueart/Shell.vue
|
|
3014
|
+
var Ts = {
|
|
3015
|
+
key: 1,
|
|
3016
|
+
class: "mwnf-baroqueart"
|
|
3017
|
+
}, Es = { class: "mwnf-baroqueart__column" }, Ds = { class: "mwnf-baroqueart-header" }, Os = { class: "mwnf-baroqueart-header__logo" }, ks = ["href"], As = ["src"], js = { class: "mwnf-baroqueart-header__nav" }, Ms = { class: "mwnf-baroqueart-header__back" }, Ns = ["href"], Ps = ["value", "aria-label"], Fs = ["value"], Is = { class: "mwnf-baroqueart-menu" }, Ls = { class: "mwnf-baroqueart-menu__list" }, Rs = ["href"], zs = { class: "mwnf-baroqueart-footer" }, Bs = ["href"], Vs = {
|
|
3018
|
+
__name: "Shell",
|
|
3019
|
+
props: {
|
|
3020
|
+
languages: {
|
|
3021
|
+
type: Array,
|
|
3022
|
+
default: () => []
|
|
3023
|
+
},
|
|
3024
|
+
language: {
|
|
3025
|
+
type: String,
|
|
3026
|
+
required: !0
|
|
3027
|
+
},
|
|
3028
|
+
logoHref: {
|
|
3029
|
+
type: String,
|
|
3030
|
+
required: !0
|
|
3031
|
+
},
|
|
3032
|
+
logoTip: {
|
|
3033
|
+
type: String,
|
|
3034
|
+
default: "minisiteBaroque.header.logoTip"
|
|
3035
|
+
},
|
|
3036
|
+
headerLinks: {
|
|
3037
|
+
type: Array,
|
|
3038
|
+
default: () => []
|
|
3039
|
+
},
|
|
3040
|
+
menu: {
|
|
3041
|
+
type: Array,
|
|
3042
|
+
default: () => []
|
|
3043
|
+
},
|
|
3044
|
+
footerLinks: {
|
|
3045
|
+
type: Array,
|
|
3046
|
+
default: () => []
|
|
3047
|
+
},
|
|
3048
|
+
copyright: {
|
|
3049
|
+
type: String,
|
|
3050
|
+
required: !0
|
|
3051
|
+
}
|
|
3052
|
+
},
|
|
3053
|
+
emits: ["update:language"],
|
|
3054
|
+
setup(t, { emit: r }) {
|
|
3055
|
+
let a = t, u = r, { t: m } = R(), h = z(), v = B(), S = i(() => v.meta?.bare ?? null), C = (t) => e(h.chrome, t), T = i(() => [...a.languages].sort((e, t) => e.label.localeCompare(t.label))), E = (/* @__PURE__ */ new Date()).getFullYear(), D = i(() => {
|
|
3056
|
+
let e = C("legacy/bg_fading_left.gif"), t = C("legacy/bg_fading_right.gif");
|
|
3057
|
+
return a.language === "en" ? [e, t] : [t, e];
|
|
3058
|
+
});
|
|
3059
|
+
return (e, r) => (p(), s(n, null, [S.value ? (p(), s("div", {
|
|
3060
|
+
key: 0,
|
|
3061
|
+
class: d(`mwnf-baroqueart-window mwnf-baroqueart-window--${S.value}`)
|
|
3062
|
+
}, [_(e.$slots, "default")], 2)) : (p(), s("div", Ts, [
|
|
3063
|
+
c("div", {
|
|
3064
|
+
class: "mwnf-baroqueart__strip",
|
|
3065
|
+
style: f({ backgroundImage: D.value[0] ? `url(${D.value[0]})` : "none" }),
|
|
3066
|
+
"aria-hidden": "true"
|
|
3067
|
+
}, null, 4),
|
|
3068
|
+
c("div", Es, [
|
|
3069
|
+
c("header", Ds, [c("div", Os, [w((p(), s("a", { href: t.logoHref }, [c("img", {
|
|
3070
|
+
src: C(`legacy/logo_${t.language}.gif`),
|
|
3071
|
+
alt: "",
|
|
3072
|
+
height: "60"
|
|
3073
|
+
}, null, 8, As)], 8, ks)), [[b(G), { text: t.logoTip ? b(m)(t.logoTip) : "" }]])]), c("div", js, [c("div", Ms, [(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", {
|
|
3074
|
+
class: "mwnf-baroqueart-header__link",
|
|
3075
|
+
href: e.href
|
|
3076
|
+
}, [l(y(b(m)(e.label)), 1)], 8, Ns)), [[b(G), { text: e.tip ? b(m)(e.tip) : "" }]])], 64))), 128))]), c("div", null, [c("select", {
|
|
3077
|
+
class: "mwnf-baroqueart-header__select",
|
|
3078
|
+
value: t.language,
|
|
3079
|
+
"aria-label": b(m)("layout.language.label"),
|
|
3080
|
+
onChange: r[0] ||= (e) => u("update:language", e.target.value)
|
|
3081
|
+
}, [(p(!0), s(n, null, g(T.value, (e) => (p(), s("option", {
|
|
3082
|
+
key: e.code,
|
|
3083
|
+
value: e.code
|
|
3084
|
+
}, y(e.label), 9, Fs))), 128))], 40, Ps)])])]),
|
|
3085
|
+
c("main", null, [_(e.$slots, "default")]),
|
|
3086
|
+
c("nav", Is, [c("ul", Ls, [(p(!0), s(n, null, g(t.menu, (e) => (p(), s("li", { key: e.label }, [c("a", { href: e.href }, y(b(m)(e.label)), 9, Rs)]))), 128))])]),
|
|
3087
|
+
r[2] ||= c("div", { class: "mwnf-baroqueart-menu__line" }, null, -1),
|
|
3088
|
+
c("footer", zs, [(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, Bs), r[1] ||= l("\xA0|\xA0 ", -1)], 64))), 128)), l(y(b(m)(t.copyright)) + " " + y(b(E)), 1)])
|
|
3089
|
+
]),
|
|
3090
|
+
c("div", {
|
|
3091
|
+
class: "mwnf-baroqueart__strip",
|
|
3092
|
+
style: f({ backgroundImage: D.value[1] ? `url(${D.value[1]})` : "none" }),
|
|
3093
|
+
"aria-hidden": "true"
|
|
3094
|
+
}, null, 4)
|
|
3095
|
+
])), w(c("div", {
|
|
3096
|
+
class: "mwnf-baroqueart-tip",
|
|
3097
|
+
style: f({
|
|
3098
|
+
left: `${b(H).x + 12}px`,
|
|
3099
|
+
top: `${b(H).y + 16}px`,
|
|
3100
|
+
width: `${b(H).width}px`
|
|
3101
|
+
}),
|
|
3102
|
+
role: "tooltip"
|
|
3103
|
+
}, y(b(H).text), 5), [[x, b(H).visible]])], 64));
|
|
3104
|
+
}
|
|
3105
|
+
}, Hs = ["innerHTML"], Us = ["innerHTML"], Ws = ["innerHTML"], Gs = ["innerHTML"], Ks = { class: "mwnf-artintro-home__menu" }, qs = {
|
|
3106
|
+
key: 0,
|
|
3107
|
+
class: "mwnf-artintro-home__menu2"
|
|
3108
|
+
}, Js = {
|
|
3109
|
+
key: 1,
|
|
3110
|
+
class: "mwnf-artintro-home__icons"
|
|
3111
|
+
}, Ys = { class: "mwnf-artintro-home__social" }, Xs = ["href"], Zs = {
|
|
3112
|
+
__name: "Home",
|
|
3113
|
+
setup(e) {
|
|
3114
|
+
let { label: t, lang: r, data: a, root: d, themes: m, text: h, title: _, settings: x, picture: w, glossaryFor: T } = Be(), E = i(() => d.value ? h(d.value.id) : {}), D = i(() => d.value ? a.mdInline(E.value.description, { glossary: T(d.value.id) }) : ""), O = i(() => (x.menuSecondColumnFrom ?? Infinity) - 1), k = i(() => m.value.slice(0, O.value).map((e, t) => ({
|
|
3115
|
+
theme: e,
|
|
3116
|
+
number: t + 1
|
|
3117
|
+
}))), A = i(() => m.value.slice(O.value).map((e, t) => ({
|
|
3118
|
+
theme: e,
|
|
3119
|
+
number: O.value + t + 1
|
|
3120
|
+
}))), j = i(() => x.social ?? []), M = i(() => w(r.value === "ar" ? "legacy/home_bg_ar.jpg" : "legacy/home_bg.jpg"));
|
|
3121
|
+
return S([_, r], () => {
|
|
3122
|
+
document.title = [t("identity.windowTitle"), _.value].filter(Boolean).join(" | ");
|
|
3123
|
+
}, { immediate: !0 }), (e, t) => {
|
|
3124
|
+
let r = v("router-link");
|
|
3125
|
+
return p(), s("div", {
|
|
3126
|
+
class: "mwnf-artintro-home",
|
|
3127
|
+
style: f({ backgroundImage: M.value ? `url(${M.value})` : "none" })
|
|
3128
|
+
}, [
|
|
3129
|
+
c("div", {
|
|
3130
|
+
class: "mwnf-artintro-home__title",
|
|
3131
|
+
innerHTML: b(a).mdInline(b(_))
|
|
3132
|
+
}, null, 8, Hs),
|
|
3133
|
+
c("div", {
|
|
3134
|
+
class: "mwnf-artintro-home__subtitle",
|
|
3135
|
+
innerHTML: b(a).mdInline(E.value.extra?.subtitle ?? "")
|
|
3136
|
+
}, null, 8, Us),
|
|
3137
|
+
c("div", {
|
|
3138
|
+
class: "mwnf-artintro-home__description",
|
|
3139
|
+
innerHTML: D.value
|
|
3140
|
+
}, null, 8, Ws),
|
|
3141
|
+
c("div", {
|
|
3142
|
+
class: "mwnf-artintro-home__credits",
|
|
3143
|
+
innerHTML: b(a).mdInline(E.value.extra?.credits ?? "")
|
|
3144
|
+
}, null, 8, Gs),
|
|
3145
|
+
c("div", Ks, [(p(!0), s(n, null, g(k.value, ({ theme: e, number: t }) => (p(), s("div", { key: e.id }, [u(r, { to: {
|
|
3146
|
+
name: "page",
|
|
3147
|
+
params: { theme: t }
|
|
3148
|
+
} }, {
|
|
3149
|
+
default: C(() => [l(y(b(h)(e.id).title), 1)]),
|
|
3150
|
+
_: 2
|
|
3151
|
+
}, 1032, ["to"])]))), 128))]),
|
|
3152
|
+
A.value.length ? (p(), s("div", qs, [(p(!0), s(n, null, g(A.value, ({ theme: e, number: n }) => (p(), s("div", { key: e.id }, [t[0] ||= l(" > ", -1), u(r, { to: {
|
|
3153
|
+
name: "page",
|
|
3154
|
+
params: { theme: n }
|
|
3155
|
+
} }, {
|
|
3156
|
+
default: C(() => [l(y(b(h)(e.id).title), 1)]),
|
|
3157
|
+
_: 2
|
|
3158
|
+
}, 1032, ["to"])]))), 128))])) : o("", !0),
|
|
3159
|
+
j.value.length ? (p(), s("div", Js, [c("div", Ys, [(p(!0), s(n, null, g(j.value, (e) => (p(), s("a", {
|
|
3160
|
+
key: e.href,
|
|
3161
|
+
href: e.href,
|
|
3162
|
+
target: "_blank",
|
|
3163
|
+
rel: "noopener"
|
|
3164
|
+
}, [c("span", {
|
|
3165
|
+
class: "mwnf-artintro-home__icon",
|
|
3166
|
+
style: f({
|
|
3167
|
+
maskImage: `url("${b(w)(e.icon)}")`,
|
|
3168
|
+
width: `${e.aspect ?? 1}em`
|
|
3169
|
+
}),
|
|
3170
|
+
"aria-hidden": "true"
|
|
3171
|
+
}, null, 4)], 8, Xs))), 128))]), t[1] ||= c("br", null, null, -1)])) : o("", !0)
|
|
3172
|
+
], 4);
|
|
3173
|
+
};
|
|
3174
|
+
}
|
|
3175
|
+
}, Qs = {
|
|
3176
|
+
key: 0,
|
|
3177
|
+
class: "mwnf-artintro-page"
|
|
3178
|
+
}, $s = { class: "mwnf-artintro-page__back" }, ec = ["innerHTML"], tc = ["innerHTML"], nc = { class: "mwnf-artintro-page__body" }, rc = ["innerHTML"], ic = { class: "mwnf-artintro-page__pages" }, ac = ["innerHTML"], oc = ["innerHTML"], sc = ["innerHTML"], cc = { class: "mwnf-artintro-page__item" }, lc = { class: "mwnf-artintro-page__image" }, uc = ["src"], dc = {
|
|
3179
|
+
key: 0,
|
|
3180
|
+
class: "mwnf-artintro-page__caption"
|
|
3181
|
+
}, fc = ["innerHTML"], pc = { key: 0 }, mc = ["innerHTML"], hc = ["innerHTML"], gc = { key: 0 }, _c = ["onClick"], vc = ["src"], yc = ["innerHTML"], bc = { key: 1 }, xc = ["href"], Sc = { class: "mwnf-artintro-page__thumbs" }, Cc = ["onClick"], wc = ["src"], Tc = {
|
|
3182
|
+
__name: "Page",
|
|
3183
|
+
props: {
|
|
3184
|
+
theme: {
|
|
3185
|
+
type: Number,
|
|
3186
|
+
required: !0
|
|
3187
|
+
},
|
|
3188
|
+
page: {
|
|
3189
|
+
type: Number,
|
|
3190
|
+
required: !0
|
|
3191
|
+
}
|
|
3192
|
+
},
|
|
3193
|
+
setup(e) {
|
|
3194
|
+
let r = e, { label: m, lang: _, data: x, root: E, title: D, text: O, settings: k, picture: A, href: j, pages: M, slots: N, viewCaption: P, glossaryFor: F } = Be(), I = i(() => M.value.find((e) => e.theme === r.theme && e.page === r.page) ?? null), R = i(() => M.value.filter((e) => e.theme === r.theme)), z = i(() => I.value ? O(I.value.node.id) : {}), B = i(() => I.value ? F(I.value.node.id) : []), V = i(() => I.value ? N(I.value.node) : []), H = i(() => z.value.quote ?? ""), U = i(() => E.value ? O(E.value.id).extra?.subtitle ?? "" : ""), W = h({
|
|
3195
|
+
slot: 0,
|
|
3196
|
+
variant: 0
|
|
3197
|
+
});
|
|
3198
|
+
S(() => [r.theme, r.page], () => W.value = {
|
|
3199
|
+
slot: 0,
|
|
3200
|
+
variant: 0
|
|
3201
|
+
});
|
|
3202
|
+
let K = i(() => V.value[W.value.slot] ?? null), q = i(() => Oe(K.value, W.value.variant)), J = i(() => K.value?.variants[W.value.variant] ? {
|
|
3203
|
+
...P(K.value, W.value.variant),
|
|
3204
|
+
sheetId: De(K.value, W.value.variant, (e) => x.itemById.value.get(e))
|
|
3205
|
+
} : null);
|
|
3206
|
+
function ee(e) {
|
|
3207
|
+
W.value = {
|
|
3208
|
+
slot: e,
|
|
3209
|
+
variant: 0
|
|
3210
|
+
};
|
|
3211
|
+
}
|
|
3212
|
+
function te(e) {
|
|
3213
|
+
W.value = {
|
|
3214
|
+
...W.value,
|
|
3215
|
+
variant: e
|
|
3216
|
+
};
|
|
3217
|
+
}
|
|
3218
|
+
function ne() {
|
|
3219
|
+
q.value && Z(j({
|
|
3220
|
+
name: "zoom",
|
|
3221
|
+
query: { img: q.value }
|
|
3222
|
+
}), Ve.zoom);
|
|
3223
|
+
}
|
|
3224
|
+
let Y = L(B), re = i(() => A("legacy/page_block1_bg.gif"));
|
|
3225
|
+
return S([D, _], () => {
|
|
3226
|
+
document.title = [m("identity.windowTitle"), D.value].filter(Boolean).join(" | ");
|
|
3227
|
+
}, { immediate: !0 }), (r, i) => {
|
|
3228
|
+
let h = v("router-link");
|
|
3229
|
+
return I.value ? (p(), s("div", Qs, [
|
|
3230
|
+
c("div", {
|
|
3231
|
+
class: "mwnf-artintro-page__head",
|
|
3232
|
+
style: f({ backgroundImage: re.value ? `url(${re.value})` : "none" })
|
|
3233
|
+
}, [c("div", $s, [i[2] ||= l(" < ", -1), u(h, { to: { name: "home" } }, {
|
|
3234
|
+
default: C(() => [
|
|
3235
|
+
c("span", { innerHTML: b(x).mdInline(U.value) }, null, 8, ec),
|
|
3236
|
+
i[1] ||= l(" | ", -1),
|
|
3237
|
+
c("span", { innerHTML: b(x).mdInline(b(D)) }, null, 8, tc)
|
|
3238
|
+
]),
|
|
3239
|
+
_: 1
|
|
3240
|
+
})])], 4),
|
|
3241
|
+
c("div", nc, [c("div", {
|
|
3242
|
+
class: "mwnf-artintro-page__text",
|
|
3243
|
+
onClick: i[0] ||= (...e) => b(Y).onClick && b(Y).onClick(...e)
|
|
3244
|
+
}, [
|
|
3245
|
+
c("div", {
|
|
3246
|
+
class: "mwnf-artintro-page__title",
|
|
3247
|
+
innerHTML: b(x).mdInline(b(O)(I.value.themeNode.id).title)
|
|
3248
|
+
}, null, 8, rc),
|
|
3249
|
+
c("div", ic, [(p(!0), s(n, null, g(R.value, (t, r) => (p(), s(n, { key: t.node.id }, [r > 0 ? (p(), s(n, { key: 0 }, [l(" / ")], 64)) : o("", !0), u(h, {
|
|
3250
|
+
to: {
|
|
3251
|
+
name: "page",
|
|
3252
|
+
params: {
|
|
3253
|
+
theme: t.theme,
|
|
3254
|
+
page: t.page
|
|
3255
|
+
}
|
|
3256
|
+
},
|
|
3257
|
+
class: d(t.page === e.page ? "mwnf-artintro-page__current" : "mwnf-artintro-page__other")
|
|
3258
|
+
}, {
|
|
3259
|
+
default: C(() => [c("span", { innerHTML: b(x).mdInline(b(O)(t.node.id).title) }, null, 8, ac)]),
|
|
3260
|
+
_: 2
|
|
3261
|
+
}, 1032, ["to", "class"])], 64))), 128))]),
|
|
3262
|
+
c("div", {
|
|
3263
|
+
class: d(["mwnf-artintro-page__quote", { "mwnf-artintro-page__quote--own-italics": b(Me)(H.value) }]),
|
|
3264
|
+
innerHTML: b(x).mdInline(H.value, { glossary: B.value })
|
|
3265
|
+
}, null, 10, oc),
|
|
3266
|
+
c("div", {
|
|
3267
|
+
class: "mwnf-artintro-page__content",
|
|
3268
|
+
innerHTML: b(x).md(z.value.description, { glossary: B.value })
|
|
3269
|
+
}, null, 8, sc)
|
|
3270
|
+
]), c("div", cc, [
|
|
3271
|
+
c("div", lc, [q.value ? w((p(), s("a", {
|
|
3272
|
+
key: 0,
|
|
3273
|
+
href: "#",
|
|
3274
|
+
onClick: T(ne, ["prevent"])
|
|
3275
|
+
}, [c("img", {
|
|
3276
|
+
src: q.value,
|
|
3277
|
+
alt: ""
|
|
3278
|
+
}, null, 8, uc)])), [[b(G), { text: b(m)("item.showZoom") }]]) : o("", !0)]),
|
|
3279
|
+
J.value ? (p(), s("div", dc, [
|
|
3280
|
+
c("div", null, [
|
|
3281
|
+
c("strong", { innerHTML: b(x).mdInline(J.value.name) }, null, 8, fc),
|
|
3282
|
+
i[3] ||= c("br", null, null, -1),
|
|
3283
|
+
(p(!0), s(n, null, g(J.value.dateLines, (e, t) => (p(), s(n, { key: t }, [t > 0 ? (p(), s("br", pc)) : o("", !0), c("span", { innerHTML: b(x).mdInline(e) }, null, 8, mc)], 64))), 128))
|
|
3284
|
+
]),
|
|
3285
|
+
c("div", null, [(p(!0), s(n, null, g(J.value.details, (e, t) => (p(), s(n, { key: t }, [c("span", { innerHTML: b(x).mdInline(e) }, null, 8, hc), i[4] ||= c("br", null, null, -1)], 64))), 128))]),
|
|
3286
|
+
K.value.variants.length > 1 ? (p(), s("div", gc, [(p(!0), s(n, null, g(K.value.variants, (e, t) => w((p(), s("a", {
|
|
3287
|
+
key: t,
|
|
3288
|
+
href: "#",
|
|
3289
|
+
onClick: T((e) => te(t), ["prevent"])
|
|
3290
|
+
}, [c("img", {
|
|
3291
|
+
src: b(A)(t === W.value.variant ? "legacy/ico_item_selected.gif" : "legacy/ico_item.gif"),
|
|
3292
|
+
alt: ""
|
|
3293
|
+
}, null, 8, vc)], 8, _c)), [[b(G), { text: b(m)("item.showDetail") }]])), 128))])) : o("", !0),
|
|
3294
|
+
c("div", {
|
|
3295
|
+
class: "mwnf-artintro-page__justification",
|
|
3296
|
+
innerHTML: b(x).mdInline(J.value.justification)
|
|
3297
|
+
}, null, 8, yc),
|
|
3298
|
+
J.value.sheetId ? (p(), s("div", bc, [c("a", {
|
|
3299
|
+
class: "mwnf-artintro-page__more",
|
|
3300
|
+
href: b(k).itemHref?.(J.value.sheetId)
|
|
3301
|
+
}, "> " + y(b(m)("item.moreInfo")), 9, xc)])) : o("", !0)
|
|
3302
|
+
])) : o("", !0),
|
|
3303
|
+
c("div", Sc, [(p(!0), s(n, null, g(V.value, (e, t) => w((p(), s("a", {
|
|
3304
|
+
key: `${e.n}-${e.variants[0].entry.id}`,
|
|
3305
|
+
href: "#",
|
|
3306
|
+
onClick: T((e) => ee(t), ["prevent"])
|
|
3307
|
+
}, [e.variants[0].image ? (p(), s("img", {
|
|
3308
|
+
key: 0,
|
|
3309
|
+
src: e.variants[0].image,
|
|
3310
|
+
alt: "",
|
|
3311
|
+
height: "36"
|
|
3312
|
+
}, null, 8, wc)) : o("", !0)], 8, Cc)), [[b(G), {
|
|
3313
|
+
text: b(x).mdStrip(b(P)(e, 0).name),
|
|
3314
|
+
width: 160
|
|
3315
|
+
}]])), 128))])
|
|
3316
|
+
])]),
|
|
3317
|
+
b(Y).active.value ? (p(), a(t, {
|
|
3318
|
+
key: 0,
|
|
3319
|
+
term: b(Y).active.value,
|
|
3320
|
+
html: b(x).md(b(Y).active.value.definition),
|
|
3321
|
+
onClose: b(Y).close
|
|
3322
|
+
}, null, 8, [
|
|
3323
|
+
"term",
|
|
3324
|
+
"html",
|
|
3325
|
+
"onClose"
|
|
3326
|
+
])) : o("", !0)
|
|
3327
|
+
])) : o("", !0);
|
|
3328
|
+
};
|
|
3329
|
+
}
|
|
3330
|
+
};
|
|
3331
|
+
//#endregion
|
|
3332
|
+
//#region src/minisite/artintro/routes.js
|
|
3333
|
+
function Ec(e) {
|
|
3334
|
+
return [
|
|
3335
|
+
{
|
|
3336
|
+
path: "/",
|
|
3337
|
+
name: "home",
|
|
3338
|
+
component: Zs,
|
|
3339
|
+
meta: e("home", "collections")
|
|
3340
|
+
},
|
|
3341
|
+
{
|
|
3342
|
+
path: "/page/:theme(\\d+)/:page(\\d+)?",
|
|
3343
|
+
name: "page",
|
|
3344
|
+
component: Tc,
|
|
3345
|
+
props: (e) => ({
|
|
3346
|
+
theme: Number(e.params.theme),
|
|
3347
|
+
page: Number(e.params.page || 1)
|
|
3348
|
+
}),
|
|
3349
|
+
meta: e("page", ...ze)
|
|
3350
|
+
},
|
|
3351
|
+
{
|
|
3352
|
+
path: "/zoom",
|
|
3353
|
+
name: "zoom",
|
|
3354
|
+
component: kn,
|
|
3355
|
+
props: (e) => ({ image: String(e.query.img ?? "") }),
|
|
3356
|
+
meta: {
|
|
3357
|
+
...e("zoom", "collections"),
|
|
3358
|
+
bare: "zoom"
|
|
3359
|
+
}
|
|
3360
|
+
}
|
|
3361
|
+
];
|
|
3362
|
+
}
|
|
3363
|
+
function Dc({ languages: e, parent: t, texts: n = Ne.GAI }) {
|
|
3364
|
+
let r = [
|
|
3365
|
+
["aboutMwnf", j.about],
|
|
3366
|
+
["contact", j.contact],
|
|
3367
|
+
["legalNotice", j.legalNotice],
|
|
3368
|
+
["credits", j.credits],
|
|
3369
|
+
["cookies", j.cookies]
|
|
3370
|
+
];
|
|
3371
|
+
return {
|
|
3372
|
+
languages: e,
|
|
3373
|
+
logoHref: `${t}/#/`,
|
|
3374
|
+
logoTip: "",
|
|
3375
|
+
headerLinks: [{
|
|
3376
|
+
label: `${n}.header.portal`,
|
|
3377
|
+
href: j.portal,
|
|
3378
|
+
tip: `${n}.header.portalTip`
|
|
3379
|
+
}, {
|
|
3380
|
+
label: `${n}.header.home`,
|
|
3381
|
+
href: `${t}/#/`,
|
|
3382
|
+
tip: `${n}.header.homeTip`
|
|
3383
|
+
}],
|
|
3384
|
+
menu: [],
|
|
3385
|
+
footerLinks: r.map(([e, t]) => ({
|
|
3386
|
+
label: `${n}.footer.${e}`,
|
|
3387
|
+
href: t
|
|
3388
|
+
})),
|
|
3389
|
+
copyright: `${n}.footer.copyright`
|
|
3390
|
+
};
|
|
3391
|
+
}
|
|
3392
|
+
function Oc({ parent: e, ...t }) {
|
|
3393
|
+
return {
|
|
3394
|
+
parent: e,
|
|
3395
|
+
family: "GAI",
|
|
3396
|
+
itemHref: (t) => `${e}/#/item/${encodeURIComponent(t)}`,
|
|
3397
|
+
...t
|
|
3398
|
+
};
|
|
3399
|
+
}
|
|
3400
|
+
//#endregion
|
|
3401
|
+
export { Zs as ArtIntroHome, Tc as ArtIntroPage, Bn as BAROQUEART_LABELS, An as BAROQUEART_NO_COUNTRY, Hn as BAROQUEART_WINDOWS, lr as BaroqueartHome, Dr as BaroqueartIntroduction, ni as BaroqueartPage, Vs as BaroqueartShell, ai as BaroqueartZoom, ze as EXHIBITION_ENTITIES, ge as ISLAMICART_NO_COUNTRY, Ne as LABELS, Sn as MinisiteCredits, pt as MinisiteHome, Ut as MinisiteIntroduction, En as MinisiteMap, yn as MinisitePage, pe as MinisiteShell, kn as MinisiteZoom, he as PLACEHOLDER_TITLE, Li as SHARINGHISTORY_LABELS, qi as SHARINGHISTORY_WINDOWS, hs as SharingHistoryFurtherReading, Ea as SharingHistoryHome, po as SharingHistoryIntroduction, is as SharingHistoryPage, Ii as SharingHistoryShell, _s as SharingHistoryWindow, ys as SharingHistoryZoom, Dc as artintroNavigation, Ec as artintroRoutes, Oc as artintroSettings, Fn as baroqueartCaption, zn as baroqueartCuratorLabel, In as baroqueartDetailViewCaption, Rn as baroqueartIntroCaption, si as baroqueartMenu, li as baroqueartNavigation, oi as baroqueartRoutes, ui as baroqueartSettings, jn as baroqueartSlotsOf, Ln as baroqueartWithFirstView, X as cleanText, Ae as curatorLabel, je as curatorLink, Te as detailViewCaption, Re as exhibitionData, Pe as familyOf, ke as introCaption, fi as islamicartMenu, Fe as labelSet, mi as minisiteNavigation, di as minisiteRoutes, hi as minisiteSettings, ve as pageWithNeighbours, we as placementCaption, Me as quoteHasItalics, _e as readingOrder, Gi as sharinghistoryCaption, Vi as sharinghistoryListedSubthemes, Bi as sharinghistoryListedThemes, Cs as sharinghistoryNavigation, Hi as sharinghistoryPageRoute, Ui as sharinghistoryPageWithNext, zi as sharinghistoryReadingOrder, Ki as sharinghistoryRelatedLinks, xs as sharinghistoryRoutes, ws as sharinghistorySettings, Wi as sharinghistorySlotsOf, De as sheetItemId, ye as slotsOf, Un as useBaroqueartExhibition, Be as useExhibition, $ as useSharingHistoryExhibition, Oe as viewPicture, Ee as withFirstView };
|