@museumwnf/viewer-layout 3.70.1 → 3.72.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 +47 -27
- package/dist/TimelineResultsView-Bn4rC_Se.js +614 -0
- package/dist/dxa.js +507 -487
- package/dist/minisite.js +837 -735
- package/dist/standalone.js +57 -32
- package/dist/views.js +1 -1
- package/package.json +6 -4
- package/src/minisite/testing.js +281 -0
- package/dist/TimelineResultsView-BF3VoCs_.js +0 -686
package/dist/minisite.js
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import { r as e } from "./chrome-Bv_mLlHM.js";
|
|
2
2
|
import { t } from "./GlossaryPopover-DbQKXhx9.js";
|
|
3
3
|
import { Fragment as n, Teleport as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, normalizeClass as d, normalizeStyle as f, openBlock as p, reactive as m, ref as h, renderList as g, renderSlot as _, resolveComponent as v, toDisplayString as y, unref as b, vShow as x, watch as S, withCtx as C, withDirectives as w, withModifiers as T } from "vue";
|
|
4
|
-
import { NotFoundView as E, glossaryEntries as D, glossaryTermsFor as O,
|
|
5
|
-
import { useRoute as
|
|
4
|
+
import { NotFoundView as E, glossaryEntries as D, glossaryTermsFor as O, languageLabels as k, mdInline as A, mdStrip as j, mwnfLinks as M, offeredLanguages as N, removeEndingPoint as P, renderBlock as F, sectionMeta as I, useCatalogue as L, useCollectionTree as R, useDataPackage as z, useGlossaryPopup as ee, useI18n as B, useSiteConfig as V } from "@museumwnf/viewer-core";
|
|
5
|
+
import { useRoute as H, useRouter as U } from "vue-router";
|
|
6
6
|
// src/minisite/tip.js
|
|
7
|
-
var
|
|
7
|
+
var W = m({
|
|
8
8
|
text: "",
|
|
9
9
|
width: 100,
|
|
10
10
|
x: 0,
|
|
11
11
|
y: 0,
|
|
12
12
|
visible: !1
|
|
13
13
|
});
|
|
14
|
-
function
|
|
15
|
-
|
|
14
|
+
function G(e) {
|
|
15
|
+
W.x = e.pageX, W.y = e.pageY;
|
|
16
16
|
}
|
|
17
|
-
function
|
|
17
|
+
function K(e, t) {
|
|
18
18
|
e.__tip = t.value;
|
|
19
19
|
}
|
|
20
|
-
var
|
|
20
|
+
var q = {
|
|
21
21
|
mounted(e, t) {
|
|
22
|
-
|
|
22
|
+
K(e, t), e.addEventListener("mouseenter", (t) => {
|
|
23
23
|
let n = e.__tip;
|
|
24
|
-
n?.text && (
|
|
25
|
-
}), e.addEventListener("mousemove",
|
|
26
|
-
|
|
24
|
+
n?.text && (W.text = n.text, W.width = n.width ?? 100, G(t), W.visible = !0);
|
|
25
|
+
}), e.addEventListener("mousemove", G), e.addEventListener("mouseleave", () => {
|
|
26
|
+
W.visible = !1;
|
|
27
27
|
});
|
|
28
28
|
},
|
|
29
|
-
updated:
|
|
29
|
+
updated: K,
|
|
30
30
|
beforeUnmount() {
|
|
31
|
-
|
|
31
|
+
W.visible = !1;
|
|
32
32
|
}
|
|
33
|
-
},
|
|
33
|
+
}, te = {
|
|
34
34
|
key: 1,
|
|
35
35
|
class: "mwnf-minisite"
|
|
36
|
-
},
|
|
36
|
+
}, ne = { class: "mwnf-minisite__column" }, J = { class: "mwnf-minisite-header" }, Y = { class: "mwnf-minisite-header__logo" }, re = ["href"], ie = ["src"], ae = { class: "mwnf-minisite-header__nav" }, oe = { class: "mwnf-minisite-header__back" }, se = ["href"], ce = ["value", "aria-label"], le = ["value"], ue = { class: "mwnf-minisite-menu" }, de = { class: "mwnf-minisite-menu__list" }, fe = ["href", "onClick"], pe = ["href"], me = { class: "mwnf-minisite-footer" }, he = ["href"], ge = {
|
|
37
37
|
__name: "Shell",
|
|
38
38
|
props: {
|
|
39
39
|
languages: {
|
|
@@ -71,7 +71,7 @@ var G = {
|
|
|
71
71
|
},
|
|
72
72
|
emits: ["update:language"],
|
|
73
73
|
setup(t, { emit: r }) {
|
|
74
|
-
let a = t, u = r, { t: m } =
|
|
74
|
+
let a = t, u = r, { t: m } = B(), h = V(), v = H(), S = i(() => v.meta?.bare ?? null), C = (t) => e(h.chrome, t), E = i(() => [...a.languages].sort((e, t) => e.label.localeCompare(t.label))), D = (/* @__PURE__ */ new Date()).getFullYear(), O = i(() => {
|
|
75
75
|
let e = C("legacy/bg_fading_left.gif"), t = C("legacy/bg_fading_right.gif");
|
|
76
76
|
return a.language === "en" ? [e, t] : [t, e];
|
|
77
77
|
});
|
|
@@ -82,21 +82,21 @@ var G = {
|
|
|
82
82
|
return (e, r) => (p(), s(n, null, [S.value ? (p(), s("div", {
|
|
83
83
|
key: 0,
|
|
84
84
|
class: d(`mwnf-minisite-window mwnf-minisite-window--${S.value}`)
|
|
85
|
-
}, [_(e.$slots, "default")], 2)) : (p(), s("div",
|
|
85
|
+
}, [_(e.$slots, "default")], 2)) : (p(), s("div", te, [
|
|
86
86
|
c("div", {
|
|
87
87
|
class: "mwnf-minisite__strip",
|
|
88
88
|
style: f({ backgroundImage: O.value[0] ? `url(${O.value[0]})` : "none" }),
|
|
89
89
|
"aria-hidden": "true"
|
|
90
90
|
}, null, 4),
|
|
91
|
-
c("div",
|
|
92
|
-
c("header", J, [c("div",
|
|
91
|
+
c("div", ne, [
|
|
92
|
+
c("header", J, [c("div", Y, [w((p(), s("a", { href: t.logoHref }, [c("img", {
|
|
93
93
|
src: C(`legacy/logo_${t.language}.gif`),
|
|
94
94
|
alt: "",
|
|
95
95
|
height: "60"
|
|
96
|
-
}, null, 8,
|
|
96
|
+
}, null, 8, ie)], 8, re)), [[b(q), { text: t.logoTip ? b(m)(t.logoTip) : "" }]])]), c("div", ae, [c("div", oe, [(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", {
|
|
97
97
|
class: "mwnf-minisite-header__link",
|
|
98
98
|
href: e.href
|
|
99
|
-
}, [l(y(b(m)(e.label)), 1)], 8,
|
|
99
|
+
}, [l(y(b(m)(e.label)), 1)], 8, se)), [[b(q), { text: e.tip ? b(m)(e.tip) : "" }]])], 64))), 128))]), c("div", null, [c("select", {
|
|
100
100
|
class: "mwnf-minisite-header__select",
|
|
101
101
|
value: t.language,
|
|
102
102
|
"aria-label": b(m)("layout.language.label"),
|
|
@@ -104,17 +104,17 @@ var G = {
|
|
|
104
104
|
}, [(p(!0), s(n, null, g(E.value, (e) => (p(), s("option", {
|
|
105
105
|
key: e.code,
|
|
106
106
|
value: e.code
|
|
107
|
-
}, y(e.label), 9,
|
|
107
|
+
}, y(e.label), 9, le))), 128))], 40, ce)])])]),
|
|
108
108
|
c("main", null, [_(e.$slots, "default")]),
|
|
109
|
-
t.menu.length ? (p(), s(n, { key: 0 }, [c("nav",
|
|
109
|
+
t.menu.length ? (p(), s(n, { key: 0 }, [c("nav", ue, [c("ul", de, [(p(!0), s(n, null, g(t.menu, (e, t) => (p(), s(n, { key: e.label }, [t > 0 ? (p(), s(n, { key: 0 }, [l("|")], 64)) : o("", !0), c("li", null, [e.window ? (p(), s("a", {
|
|
110
110
|
key: 0,
|
|
111
111
|
href: e.href,
|
|
112
112
|
onClick: T((t) => k(e), ["prevent"])
|
|
113
|
-
}, y(b(m)(e.label)), 9,
|
|
113
|
+
}, y(b(m)(e.label)), 9, fe)) : (p(), s("a", {
|
|
114
114
|
key: 1,
|
|
115
115
|
href: e.href
|
|
116
|
-
}, y(b(m)(e.label)), 9,
|
|
117
|
-
c("footer",
|
|
116
|
+
}, y(b(m)(e.label)), 9, pe))])], 64))), 128))])]), r[1] ||= c("div", { class: "mwnf-minisite-menu__line" }, null, -1)], 64)) : o("", !0),
|
|
117
|
+
c("footer", me, [(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, he), r[2] ||= l("\xA0|\xA0 ", -1)], 64))), 128)), l(y(b(m)(t.copyright)) + " " + y(b(D)), 1)])
|
|
118
118
|
]),
|
|
119
119
|
c("div", {
|
|
120
120
|
class: "mwnf-minisite__strip",
|
|
@@ -124,27 +124,27 @@ var G = {
|
|
|
124
124
|
])), w(c("div", {
|
|
125
125
|
class: "mwnf-minisite-tip",
|
|
126
126
|
style: f({
|
|
127
|
-
left: `${b(
|
|
128
|
-
top: `${b(
|
|
129
|
-
width: `${b(
|
|
127
|
+
left: `${b(W).x + 12}px`,
|
|
128
|
+
top: `${b(W).y + 16}px`,
|
|
129
|
+
width: `${b(W).width}px`
|
|
130
130
|
}),
|
|
131
131
|
role: "tooltip"
|
|
132
|
-
}, y(b(
|
|
132
|
+
}, y(b(W).text), 5), [[x, b(W).visible]])], 64));
|
|
133
133
|
}
|
|
134
|
-
},
|
|
134
|
+
}, _e = [
|
|
135
135
|
[/[‘’]/g, "'"],
|
|
136
136
|
[/[“”]/g, "\""],
|
|
137
137
|
[/…/g, "..."],
|
|
138
138
|
[/•/g, "*"]
|
|
139
139
|
];
|
|
140
140
|
function X(e) {
|
|
141
|
-
return
|
|
141
|
+
return _e.reduce((e, [t, n]) => e.replace(t, n), String(e ?? ""));
|
|
142
142
|
}
|
|
143
|
-
var
|
|
143
|
+
var ve = /^(Artintro )?(Theme|Page) \d+$/, ye = {
|
|
144
144
|
partners: ["325b7505-1527-5442-99ea-6a40f8c43d3f"],
|
|
145
145
|
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}`)
|
|
146
146
|
};
|
|
147
|
-
function
|
|
147
|
+
function be(e, t) {
|
|
148
148
|
return e.flatMap((e, n) => t(e.id).map((t, r) => ({
|
|
149
149
|
theme: n + 1,
|
|
150
150
|
page: r + 1,
|
|
@@ -152,7 +152,7 @@ function _e(e, t) {
|
|
|
152
152
|
themeNode: e
|
|
153
153
|
})));
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function xe(e, t, n) {
|
|
156
156
|
let r = e.findIndex((e) => e.theme === t && e.page === n);
|
|
157
157
|
if (r < 0) return null;
|
|
158
158
|
let i = (e) => ({
|
|
@@ -168,7 +168,7 @@ function ve(e, t, n) {
|
|
|
168
168
|
next: r < e.length - 1 ? i(e[r + 1]) : null
|
|
169
169
|
};
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function Se(e) {
|
|
172
172
|
let t = /* @__PURE__ */ new Map();
|
|
173
173
|
for (let n of e?.items ?? []) {
|
|
174
174
|
let e = n.display_order ?? 0;
|
|
@@ -183,21 +183,21 @@ function ye(e) {
|
|
|
183
183
|
}))
|
|
184
184
|
}));
|
|
185
185
|
}
|
|
186
|
-
function
|
|
186
|
+
function Ce(e, t, n) {
|
|
187
187
|
return !e || e.type === "object" && n?.partners?.includes(e.partner_id) || e.type === "monument" && n?.monuments?.includes(e.mwnf_reference) ? "" : t(e);
|
|
188
188
|
}
|
|
189
|
-
function
|
|
189
|
+
function we(e, t, n, r) {
|
|
190
190
|
return [
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
191
|
+
P(t.location ?? ""),
|
|
192
|
+
P(t.province ?? ""),
|
|
193
|
+
Ce(e, n, r)
|
|
194
194
|
].filter(Boolean).join(", ");
|
|
195
195
|
}
|
|
196
|
-
function
|
|
197
|
-
return n.location ? [n.location, e ? r(e) : ""].filter(Boolean).join(", ") :
|
|
196
|
+
function Te({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i }) {
|
|
197
|
+
return n.location ? [n.location, e ? r(e) : ""].filter(Boolean).join(", ") : we(e, t, r, i);
|
|
198
198
|
}
|
|
199
|
-
function
|
|
200
|
-
let a = e?.type === "object" ? n.museum ||
|
|
199
|
+
function Ee({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i }) {
|
|
200
|
+
let a = e?.type === "object" ? n.museum || P(t.holder ?? "") : "", o = Te({
|
|
201
201
|
item: e,
|
|
202
202
|
own: t,
|
|
203
203
|
caption: n,
|
|
@@ -205,14 +205,14 @@ function Ce({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i })
|
|
|
205
205
|
noCountry: i
|
|
206
206
|
});
|
|
207
207
|
return {
|
|
208
|
-
name: X(n.name ?
|
|
208
|
+
name: X(n.name ? P(n.name) : P(t.name ?? "")),
|
|
209
209
|
detailName: X(n.detail_name),
|
|
210
|
-
dateLines: [n.date ||
|
|
210
|
+
dateLines: [n.date || P(t.dates ?? ""), n.dynasty || P(t.dynasty ?? "")].filter(Boolean).map(X),
|
|
211
211
|
details: [a, o].filter(Boolean).map(X),
|
|
212
212
|
justification: X(n.justification)
|
|
213
213
|
};
|
|
214
214
|
}
|
|
215
|
-
function
|
|
215
|
+
function De(e, t) {
|
|
216
216
|
return {
|
|
217
217
|
name: e.name || t.name,
|
|
218
218
|
detailName: e.detailName || t.detailName,
|
|
@@ -221,91 +221,91 @@ function we(e, t) {
|
|
|
221
221
|
justification: e.justification || t.justification
|
|
222
222
|
};
|
|
223
223
|
}
|
|
224
|
-
function
|
|
224
|
+
function Oe(e, t, n) {
|
|
225
225
|
let r = (e) => {
|
|
226
226
|
let t = e ? n(e.entry.id) : null;
|
|
227
227
|
return t && t.type !== "picture" ? t.id : null;
|
|
228
228
|
};
|
|
229
229
|
return r(e?.variants[t]) ?? r(e?.variants[0]) ?? null;
|
|
230
230
|
}
|
|
231
|
-
function
|
|
231
|
+
function ke(e, t) {
|
|
232
232
|
return e?.variants[t]?.image || e?.variants[0]?.image || null;
|
|
233
233
|
}
|
|
234
|
-
function
|
|
235
|
-
let a = (e, t) => e ? X(
|
|
234
|
+
function Ae({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i }) {
|
|
235
|
+
let a = (e, t) => e ? X(P(e)) : t;
|
|
236
236
|
return [
|
|
237
|
-
a(n.name,
|
|
238
|
-
a(n.date,
|
|
239
|
-
a(n.dynasty, X(
|
|
240
|
-
e?.type === "object" ? a(n.museum,
|
|
241
|
-
a(n.location,
|
|
237
|
+
a(n.name, P(t.name ?? "")),
|
|
238
|
+
a(n.date, P(t.dates ?? "")),
|
|
239
|
+
a(n.dynasty, X(P(t.dynasty ?? ""))),
|
|
240
|
+
e?.type === "object" ? a(n.museum, P(t.holder ?? "")) : "",
|
|
241
|
+
a(n.location, we(e, t, r, i))
|
|
242
242
|
];
|
|
243
243
|
}
|
|
244
|
-
function
|
|
244
|
+
function je(e, { partnerName: t, partnerCountry: n, countryName: r }) {
|
|
245
245
|
let i = (e) => e ? r(e) : "";
|
|
246
246
|
return e.partner ? [t(e.partner), i(n(e.partner))].filter(Boolean).join(", ") : [e.name, i(e.country)].filter(Boolean).join(", ");
|
|
247
247
|
}
|
|
248
|
-
function
|
|
248
|
+
function Me(e, t) {
|
|
249
249
|
return "href" in e ? e.href : t?.(e.partner);
|
|
250
250
|
}
|
|
251
|
-
function
|
|
251
|
+
function Ne(e) {
|
|
252
252
|
return /(^|[^*])\*[^*\s][^*]*\*/.test(e ?? "") || /\b_[^_]+_\b/.test(e ?? "");
|
|
253
253
|
}
|
|
254
254
|
// src/minisite/exhibition.js
|
|
255
|
-
var
|
|
255
|
+
var Pe = {
|
|
256
256
|
ISL: "minisite",
|
|
257
257
|
BAR: "minisiteBaroque",
|
|
258
258
|
SH: "minisiteSharingHistory",
|
|
259
259
|
GAI: "minisiteArtIntro"
|
|
260
260
|
};
|
|
261
|
-
function
|
|
261
|
+
function Fe(e) {
|
|
262
262
|
return e?.family ?? "ISL";
|
|
263
263
|
}
|
|
264
|
-
function
|
|
265
|
-
return e?.texts ??
|
|
264
|
+
function Ie(e) {
|
|
265
|
+
return e?.texts ?? Pe[Fe(e)] ?? Pe.ISL;
|
|
266
266
|
}
|
|
267
|
-
var
|
|
267
|
+
var Le = [
|
|
268
268
|
"collections",
|
|
269
269
|
"items",
|
|
270
270
|
"countries",
|
|
271
271
|
"partners",
|
|
272
272
|
"glossary"
|
|
273
|
-
],
|
|
274
|
-
function
|
|
275
|
-
if (!
|
|
276
|
-
let e =
|
|
277
|
-
|
|
273
|
+
], Re = null;
|
|
274
|
+
function ze() {
|
|
275
|
+
if (!Re) {
|
|
276
|
+
let e = z();
|
|
277
|
+
Re = {
|
|
278
278
|
pkg: e,
|
|
279
|
-
data:
|
|
280
|
-
eager:
|
|
279
|
+
data: L({
|
|
280
|
+
eager: Le,
|
|
281
281
|
glossary: !1
|
|
282
282
|
}),
|
|
283
|
-
tree:
|
|
283
|
+
tree: R({
|
|
284
284
|
rootId: e.manifest.site?.root_collection_id,
|
|
285
285
|
entity: "collections"
|
|
286
286
|
})
|
|
287
287
|
};
|
|
288
288
|
}
|
|
289
|
-
return
|
|
289
|
+
return Re;
|
|
290
290
|
}
|
|
291
|
-
var
|
|
291
|
+
var Be = [
|
|
292
292
|
"collections",
|
|
293
293
|
"items",
|
|
294
294
|
"countries",
|
|
295
295
|
"glossary"
|
|
296
296
|
];
|
|
297
|
-
function
|
|
298
|
-
let { pkg: t, data: n, tree: r } =
|
|
299
|
-
S(f, (e) => Promise.all(
|
|
300
|
-
let p = r.root, m = i(() => p.value ? r.children(p.value.id) : []), h = i(() =>
|
|
297
|
+
function Ve() {
|
|
298
|
+
let { pkg: t, data: n, tree: r } = ze(), { locale: a, t: o } = B(), s = V(), c = s.minisite ?? {}, l = Ie(c), u = (e) => o(`${l}.${e}`), d = U(), f = i(() => a.value);
|
|
299
|
+
S(f, (e) => Promise.all(Le.flatMap((n) => [t.loadTranslations(n, e), t.loadTranslations(n, "en")])), { immediate: !0 });
|
|
300
|
+
let p = r.root, m = i(() => p.value ? r.children(p.value.id) : []), h = i(() => be(m.value, r.children));
|
|
301
301
|
function g(e) {
|
|
302
302
|
let n = t.translations("collections", f.value)[e] ?? {};
|
|
303
|
-
return
|
|
303
|
+
return ve.test(n.title ?? "") ? {
|
|
304
304
|
...n,
|
|
305
305
|
title: ""
|
|
306
306
|
} : n;
|
|
307
307
|
}
|
|
308
|
-
let _ = (e) => e?.country_id ?
|
|
308
|
+
let _ = (e) => e?.country_id ? P(n.tr("countries", e.country_id, f.value).name ?? "") : "";
|
|
309
309
|
function v(e) {
|
|
310
310
|
return {
|
|
311
311
|
item: n.itemById.value.get(e.id),
|
|
@@ -316,8 +316,8 @@ function Re() {
|
|
|
316
316
|
};
|
|
317
317
|
}
|
|
318
318
|
function y(e, t) {
|
|
319
|
-
let n = (e) =>
|
|
320
|
-
return r ?
|
|
319
|
+
let n = (e) => Ee(v(e.entry)), r = e?.variants[t];
|
|
320
|
+
return r ? De(n(r), n(e.variants[0])) : null;
|
|
321
321
|
}
|
|
322
322
|
function b(e) {
|
|
323
323
|
let r = g(e).glossary_ids ?? [];
|
|
@@ -351,15 +351,15 @@ function Re() {
|
|
|
351
351
|
picture: x,
|
|
352
352
|
href: C,
|
|
353
353
|
glossaryFor: b,
|
|
354
|
-
pageAt: (e, t) =>
|
|
355
|
-
slots:
|
|
356
|
-
placementCaption: (e) =>
|
|
354
|
+
pageAt: (e, t) => xe(h.value, e, t),
|
|
355
|
+
slots: Se,
|
|
356
|
+
placementCaption: (e) => Ee(v(e)),
|
|
357
357
|
viewCaption: y,
|
|
358
|
-
introCaption: (e) =>
|
|
358
|
+
introCaption: (e) => Ae(v(e)),
|
|
359
359
|
title: i(() => p.value ? g(p.value.id).title ?? "" : "")
|
|
360
360
|
};
|
|
361
361
|
}
|
|
362
|
-
var
|
|
362
|
+
var He = {
|
|
363
363
|
credits: ["exhcredits", "scrollbars=auto, resizable=1, width=420, height=530"],
|
|
364
364
|
map: ["exhibition_map", "scrollbars=auto, resize=yes, width=800, height=418"],
|
|
365
365
|
zoom: ["mwnfing", ""]
|
|
@@ -368,39 +368,39 @@ function Z(e, [t, n]) {
|
|
|
368
368
|
window.open(e, t, n)?.focus();
|
|
369
369
|
}
|
|
370
370
|
// src/minisite/Home.vue
|
|
371
|
-
var
|
|
371
|
+
var Ue = { class: "mwnf-minisite-home" }, We = { class: "mwnf-minisite-home__title" }, Ge = ["innerHTML"], Ke = { class: "mwnf-minisite-home__menu" }, qe = {
|
|
372
372
|
key: 0,
|
|
373
373
|
class: "mwnf-minisite-home__menu2"
|
|
374
|
-
},
|
|
374
|
+
}, Je = { class: "mwnf-minisite-partners" }, Ye = { class: "mwnf-minisite-partners__line" }, Xe = ["href"], Ze = { class: "mwnf-minisite-partners__logos" }, Qe = ["href"], $e = ["src"], et = {
|
|
375
375
|
__name: "Home",
|
|
376
376
|
setup(e) {
|
|
377
|
-
let { label: t, lang: r, data: a, root: d, themes: m, text: h, title: _, settings: x, picture: E, href: D, glossaryFor: O } =
|
|
377
|
+
let { label: t, lang: r, data: a, root: d, themes: m, text: h, title: _, settings: x, picture: E, href: D, glossaryFor: O } = Ve(), k = i(() => d.value ? a.mdInline(h(d.value.id).description, { glossary: O(d.value.id) }) : ""), A = i(() => (x.menuSecondColumnFrom ?? Infinity) - 1), j = i(() => m.value.slice(0, A.value).map((e, t) => ({
|
|
378
378
|
theme: e,
|
|
379
379
|
number: t + 1
|
|
380
380
|
}))), M = i(() => m.value.slice(A.value).map((e, t) => ({
|
|
381
381
|
theme: e,
|
|
382
382
|
number: A.value + t + 1
|
|
383
|
-
}))), N = i(() => x.curators ?? []), P = (e) =>
|
|
383
|
+
}))), N = i(() => x.curators ?? []), P = (e) => je(e, {
|
|
384
384
|
partnerName: (e) => a.tr("partners", e, r.value).name,
|
|
385
385
|
partnerCountry: (e) => a.partnerById.value.get(e)?.country_id,
|
|
386
386
|
countryName: (e) => a.tr("countries", e, r.value).name
|
|
387
|
-
}), F = (e) =>
|
|
387
|
+
}), F = (e) => Me(e, x.partnerHref), I = i(() => E(r.value === "ar" ? "legacy/home_bg_ar.jpg" : "legacy/home_bg.jpg"));
|
|
388
388
|
return S([_, r], () => {
|
|
389
389
|
document.title = [t("identity.windowTitle"), _.value].filter(Boolean).join(" | ");
|
|
390
390
|
}, { immediate: !0 }), (e, r) => {
|
|
391
391
|
let i = v("router-link");
|
|
392
|
-
return p(), s(n, null, [c("div",
|
|
392
|
+
return p(), s(n, null, [c("div", Ue, [
|
|
393
393
|
r[4] ||= c("div", { class: "mwnf-minisite-home__bg1" }, null, -1),
|
|
394
394
|
c("div", {
|
|
395
395
|
class: "mwnf-minisite-home__bg2",
|
|
396
396
|
style: f({ backgroundImage: I.value ? `url(${I.value})` : "none" })
|
|
397
397
|
}, null, 4),
|
|
398
|
-
c("div",
|
|
398
|
+
c("div", We, y(b(_)), 1),
|
|
399
399
|
c("div", {
|
|
400
400
|
class: "mwnf-minisite-home__description",
|
|
401
401
|
innerHTML: k.value
|
|
402
|
-
}, null, 8,
|
|
403
|
-
c("div",
|
|
402
|
+
}, null, 8, Ge),
|
|
403
|
+
c("div", Ke, [c("div", null, [r[1] ||= l("> ", -1), u(i, { to: { name: "introduction" } }, {
|
|
404
404
|
default: C(() => [l(y(b(t)("home.introduction")), 1)]),
|
|
405
405
|
_: 1
|
|
406
406
|
})]), (p(!0), s(n, null, g(j.value, ({ theme: e, number: t }) => (p(), s("div", { key: e.id }, [r[2] ||= l(" > ", -1), u(i, { to: {
|
|
@@ -410,24 +410,24 @@ var Be = { class: "mwnf-minisite-home" }, Ve = { class: "mwnf-minisite-home__tit
|
|
|
410
410
|
default: C(() => [l(y(b(h)(e.id).title), 1)]),
|
|
411
411
|
_: 2
|
|
412
412
|
}, 1032, ["to"])]))), 128))]),
|
|
413
|
-
M.value.length ? (p(), s("div",
|
|
413
|
+
M.value.length ? (p(), s("div", qe, [(p(!0), s(n, null, g(M.value, ({ theme: e, number: t }) => (p(), s("div", { key: e.id }, [r[3] ||= l(" > ", -1), u(i, { to: {
|
|
414
414
|
name: "exhibition",
|
|
415
415
|
params: { theme: t }
|
|
416
416
|
} }, {
|
|
417
417
|
default: C(() => [l(y(b(h)(e.id).title), 1)]),
|
|
418
418
|
_: 2
|
|
419
419
|
}, 1032, ["to"])]))), 128))])) : o("", !0)
|
|
420
|
-
]), c("div",
|
|
420
|
+
]), c("div", Je, [c("div", Ye, [c("a", {
|
|
421
421
|
href: b(D)({ name: "credits" }),
|
|
422
|
-
onClick: r[0] ||= T((e) => b(Z)(b(D)({ name: "credits" }), b(
|
|
423
|
-
}, y(b(t)("home.curatedBy")), 9,
|
|
422
|
+
onClick: r[0] ||= T((e) => b(Z)(b(D)({ name: "credits" }), b(He).credits), ["prevent"])
|
|
423
|
+
}, y(b(t)("home.curatedBy")), 9, Xe)]), c("div", Ze, [(p(!0), s(n, null, g(N.value, (e, t) => (p(), s(n, { key: e.logo }, [w((p(), s("a", {
|
|
424
424
|
class: "mwnf-minisite-partners__curator",
|
|
425
425
|
href: F(e)
|
|
426
426
|
}, [c("img", {
|
|
427
427
|
src: b(E)(e.logo),
|
|
428
428
|
alt: "",
|
|
429
429
|
height: "74"
|
|
430
|
-
}, null, 8,
|
|
430
|
+
}, null, 8, $e)], 8, Qe)), [[b(q), {
|
|
431
431
|
text: P(e),
|
|
432
432
|
width: 280
|
|
433
433
|
}]]), t < N.value.length - 1 ? (p(), s(n, { key: 0 }, [
|
|
@@ -446,55 +446,55 @@ var Be = { class: "mwnf-minisite-home" }, Ve = { class: "mwnf-minisite-home__tit
|
|
|
446
446
|
">": ">",
|
|
447
447
|
"\"": """
|
|
448
448
|
})[e]);
|
|
449
|
-
function
|
|
449
|
+
function tt(e, t, n) {
|
|
450
450
|
let r = `<!DOCTYPE html><html><head><meta charset="utf-8"><title>${Q(t)}</title></head><body>${n}</body></html>`, i = document.createElement("a");
|
|
451
451
|
i.href = URL.createObjectURL(new window.Blob([r], { type: "application/vnd.ms-word" })), i.download = e, document.body.appendChild(i), i.click(), i.remove(), URL.revokeObjectURL(i.href);
|
|
452
452
|
}
|
|
453
|
-
var
|
|
454
|
-
function
|
|
453
|
+
var nt = (...e) => `${e.map((e) => j(e).replace(/[,:]/g, "").replace(/ /g, "-")).join("-")}.doc`;
|
|
454
|
+
function rt({ documentTitle: e, title: t, header: n, text: r, captions: i }) {
|
|
455
455
|
let a = i.map((e) => {
|
|
456
456
|
let [t, ...n] = e;
|
|
457
|
-
return `<div><br/>${[t ? `<strong>${Q(
|
|
457
|
+
return `<div><br/>${[t ? `<strong>${Q(j(t))}</strong>` : "", ...n.map((e) => Q(j(e)))].filter(Boolean).join("<br/>")}</div>`;
|
|
458
458
|
}).join("");
|
|
459
|
-
|
|
459
|
+
tt(`${j(t).replace(/ /g, "-")}-con.doc`, e, `<div><b>${Q(j(t))}</b><br/><br/></div><table border="0"><tr><td style="vertical-align:top"><div>${Q(j(n))}</div><div>${Q(j(r))}<br/><br/></div></td><td>${a}</td></tr></table>`);
|
|
460
460
|
}
|
|
461
|
-
var
|
|
462
|
-
function
|
|
463
|
-
return `<tr bgcolor="#FFFFFF"><td width='150px' ${
|
|
461
|
+
var it = "align='center' style='color:#000000;vertical-align:top;'";
|
|
462
|
+
function at(e) {
|
|
463
|
+
return `<tr bgcolor="#FFFFFF"><td width='150px' ${it}>${Q(j(e.name))}</td><td width='100px' ${it}>${Q(j(e.dateLines.join(" ")))}</td><td width='100px' ${it}>${e.details.map((e) => Q(j(e))).join("<br/>")}</td><td width='100px' ${it}>${A(e.justification)}`;
|
|
464
464
|
}
|
|
465
|
-
function
|
|
465
|
+
function ot({ documentTitle: e, title: t, pageTitle: n, quote: r, text: i, slots: a }) {
|
|
466
466
|
let o = "<tr><th>Name</th><th>Dynasty</th><th>Details</th><th>Justification</th></tr>", s = a.map(([e, ...t]) => {
|
|
467
|
-
let n = t.length ? `<table width="100%" cellpadding="1" cellspacing="1" border="1" bgcolor="#FFFFFF">${o}${t.map((e) => `${
|
|
468
|
-
return `${
|
|
467
|
+
let n = t.length ? `<table width="100%" cellpadding="1" cellspacing="1" border="1" bgcolor="#FFFFFF">${o}${t.map((e) => `${at(e)}</td></tr>`).join("")}</table>` : "";
|
|
468
|
+
return `${at(e)}${n}</td></tr>`;
|
|
469
469
|
}).join("");
|
|
470
|
-
|
|
470
|
+
tt(nt(t, n), e, `<table width="100%" cellpadding="1" cellspacing="1" border="0" bgcolor="#CCCCCC"><tr bgcolor="#FFFFFF"><td style="color:#000000"><b>${Q(j(t))} / ${Q(j(n))}<br/><br/></b></td></tr><tr bgcolor="#FFFFFF"><td style="color:#000000"><i>${Q(j(r))}</i><br/><br/></td></tr><tr bgcolor="#FFFFFF"><td style="color:#000000">${F(i ?? "")}<br/><br/></td></tr><tr><td><table width="100%" cellpadding="1" cellspacing="2" border="0" bgcolor="#CCCCCC">${o}${s}</table></td></tr></table>`);
|
|
471
471
|
}
|
|
472
472
|
// src/minisite/DownloadBlock.vue
|
|
473
|
-
var
|
|
473
|
+
var st = { class: "mwnf-minisite-download" }, ct = ["src"], lt = ["src"], ut = ["src"], dt = {
|
|
474
474
|
__name: "DownloadBlock",
|
|
475
475
|
props: { word: {
|
|
476
476
|
type: Function,
|
|
477
477
|
required: !0
|
|
478
478
|
} },
|
|
479
479
|
setup(t) {
|
|
480
|
-
let { t: n } =
|
|
480
|
+
let { t: n } = B(), r = V(), i = (t) => e(r.chrome, t), a = (e) => n(`${Ie(r.minisite)}.${e}`);
|
|
481
481
|
function o() {
|
|
482
482
|
window.print();
|
|
483
483
|
}
|
|
484
|
-
return (e, n) => (p(), s("div",
|
|
484
|
+
return (e, n) => (p(), s("div", st, [
|
|
485
485
|
n[1] ||= c("br", null, null, -1),
|
|
486
486
|
c("img", {
|
|
487
487
|
src: i("legacy/print_dark.gif"),
|
|
488
488
|
alt: "",
|
|
489
489
|
width: "17",
|
|
490
490
|
height: "12"
|
|
491
|
-
}, null, 8,
|
|
491
|
+
}, null, 8, ct),
|
|
492
492
|
l(" / " + y(a("download.heading")), 1),
|
|
493
493
|
n[2] ||= c("br", null, null, -1),
|
|
494
494
|
c("img", {
|
|
495
495
|
src: i("legacy/arrow_inner_black.gif"),
|
|
496
496
|
alt: ""
|
|
497
|
-
}, null, 8,
|
|
497
|
+
}, null, 8, lt),
|
|
498
498
|
c("a", {
|
|
499
499
|
href: "#",
|
|
500
500
|
onClick: T(o, ["prevent"])
|
|
@@ -503,26 +503,26 @@ var it = { class: "mwnf-minisite-download" }, at = ["src"], ot = ["src"], st = [
|
|
|
503
503
|
c("img", {
|
|
504
504
|
src: i("legacy/arrow_inner_black.gif"),
|
|
505
505
|
alt: ""
|
|
506
|
-
}, null, 8,
|
|
506
|
+
}, null, 8, ut),
|
|
507
507
|
c("a", {
|
|
508
508
|
href: "#",
|
|
509
509
|
onClick: n[0] ||= T((e) => t.word(), ["prevent"])
|
|
510
510
|
}, y(a("download.asWord")), 1)
|
|
511
511
|
]));
|
|
512
512
|
}
|
|
513
|
-
},
|
|
513
|
+
}, ft = { class: "mwnf-minisite-intro__title" }, pt = { class: "mwnf-minisite-intro__nav mwnf-minisite-intro__nav--start" }, mt = { class: "mwnf-minisite-intro__nav mwnf-minisite-intro__nav--end" }, ht = { class: "mwnf-minisite-intro__table" }, gt = ["innerHTML"], _t = ["innerHTML"], vt = { class: "mwnf-minisite-intro__side" }, yt = {
|
|
514
514
|
key: 0,
|
|
515
515
|
class: "mwnf-minisite-intro-item"
|
|
516
|
-
},
|
|
516
|
+
}, bt = ["href"], xt = ["src"], St = ["href"], Ct = ["src"], wt = { key: 1 }, Tt = { key: 0 }, Et = ["innerHTML"], Dt = ["innerHTML"], Ot = {
|
|
517
517
|
__name: "Introduction",
|
|
518
518
|
setup(e) {
|
|
519
|
-
let { label: r, lang: d, data: m, root: h, text: _, title: x, settings: w, picture: E, href: D, introCaption: O, slots: k, glossaryFor: A } =
|
|
519
|
+
let { label: r, lang: d, data: m, root: h, text: _, title: x, settings: w, picture: E, href: D, introCaption: O, slots: k, glossaryFor: A } = Ve(), 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 }) => ({
|
|
520
520
|
entry: e,
|
|
521
521
|
image: t,
|
|
522
522
|
lines: O(e)
|
|
523
|
-
}))), I = i(() => w.map ?? null),
|
|
524
|
-
function
|
|
525
|
-
|
|
523
|
+
}))), I = i(() => w.map ?? null), L = ee(M);
|
|
524
|
+
function R() {
|
|
525
|
+
rt({
|
|
526
526
|
documentTitle: w.documentTitle,
|
|
527
527
|
title: x.value,
|
|
528
528
|
header: j.value.extra?.intro_header ?? "",
|
|
@@ -530,21 +530,21 @@ var it = { class: "mwnf-minisite-download" }, at = ["src"], ot = ["src"], st = [
|
|
|
530
530
|
captions: F.value.map((e) => e.lines)
|
|
531
531
|
});
|
|
532
532
|
}
|
|
533
|
-
let
|
|
533
|
+
let z = i(() => E(d.value === "ar" ? "legacy/intro_bg_ar.jpg" : "legacy/intro_bg.jpg"));
|
|
534
534
|
return S([x, d], () => {
|
|
535
535
|
document.title = [r("identity.windowTitle"), x.value].filter(Boolean).join(" | ");
|
|
536
536
|
}, { immediate: !0 }), (e, i) => {
|
|
537
537
|
let d = v("router-link");
|
|
538
538
|
return p(), s("div", {
|
|
539
539
|
class: "mwnf-minisite-intro",
|
|
540
|
-
style: f({ backgroundImage:
|
|
540
|
+
style: f({ backgroundImage: z.value ? `url(${z.value})` : "none" })
|
|
541
541
|
}, [
|
|
542
|
-
c("div",
|
|
543
|
-
c("div",
|
|
542
|
+
c("div", ft, y(b(x)), 1),
|
|
543
|
+
c("div", pt, [i[3] ||= l(" < ", -1), u(d, { to: { name: "home" } }, {
|
|
544
544
|
default: C(() => [l(y(b(r)("nav.entrance")), 1)]),
|
|
545
545
|
_: 1
|
|
546
546
|
})]),
|
|
547
|
-
c("div",
|
|
547
|
+
c("div", mt, [
|
|
548
548
|
i[4] ||= l(" < ", -1),
|
|
549
549
|
u(d, { to: { name: "home" } }, {
|
|
550
550
|
default: C(() => [l(y(b(r)("nav.previous")), 1)]),
|
|
@@ -563,35 +563,35 @@ var it = { class: "mwnf-minisite-download" }, at = ["src"], ot = ["src"], st = [
|
|
|
563
563
|
}),
|
|
564
564
|
i[6] ||= l(" > ", -1)
|
|
565
565
|
]),
|
|
566
|
-
c("div",
|
|
566
|
+
c("div", ht, [c("div", {
|
|
567
567
|
class: "mwnf-minisite-intro__text",
|
|
568
|
-
onClick: i[0] ||= (...e) => b(
|
|
568
|
+
onClick: i[0] ||= (...e) => b(L).onClick && b(L).onClick(...e)
|
|
569
569
|
}, [
|
|
570
570
|
c("div", {
|
|
571
571
|
class: "mwnf-minisite-intro__header",
|
|
572
572
|
innerHTML: P.value
|
|
573
|
-
}, null, 8,
|
|
573
|
+
}, null, 8, gt),
|
|
574
574
|
c("div", {
|
|
575
575
|
class: "mwnf-minisite-intro__content",
|
|
576
576
|
innerHTML: N.value
|
|
577
|
-
}, null, 8,
|
|
578
|
-
u(
|
|
579
|
-
]), c("div",
|
|
577
|
+
}, null, 8, _t),
|
|
578
|
+
u(dt, { word: R })
|
|
579
|
+
]), c("div", vt, [I.value ? (p(), s("div", yt, [
|
|
580
580
|
c("a", {
|
|
581
581
|
href: b(D)({ name: "map" }),
|
|
582
|
-
onClick: i[1] ||= T((e) => b(Z)(b(D)({ name: "map" }), b(
|
|
582
|
+
onClick: i[1] ||= T((e) => b(Z)(b(D)({ name: "map" }), b(He).map), ["prevent"])
|
|
583
583
|
}, [c("img", {
|
|
584
584
|
src: b(E)(I.value.thumbnail),
|
|
585
585
|
alt: "",
|
|
586
586
|
width: "178",
|
|
587
587
|
height: "93"
|
|
588
|
-
}, null, 8,
|
|
588
|
+
}, null, 8, xt)], 8, bt),
|
|
589
589
|
i[7] ||= c("br", null, null, -1),
|
|
590
590
|
c("a", {
|
|
591
591
|
class: "mwnf-minisite-intro-item__map",
|
|
592
592
|
href: b(D)({ name: "map" }),
|
|
593
|
-
onClick: i[2] ||= T((e) => b(Z)(b(D)({ name: "map" }), b(
|
|
594
|
-
}, y(b(r)("intro.enlargeMap")), 9,
|
|
593
|
+
onClick: i[2] ||= T((e) => b(Z)(b(D)({ name: "map" }), b(He).map), ["prevent"])
|
|
594
|
+
}, y(b(r)("intro.enlargeMap")), 9, St)
|
|
595
595
|
])) : o("", !0), (p(!0), s(n, null, g(F.value, (e) => (p(), s("div", {
|
|
596
596
|
key: `${e.entry.id}-${e.entry.variant_order}`,
|
|
597
597
|
class: "mwnf-minisite-intro-item"
|
|
@@ -601,21 +601,21 @@ var it = { class: "mwnf-minisite-download" }, at = ["src"], ot = ["src"], st = [
|
|
|
601
601
|
class: "mwnf-minisite-intro-item__image",
|
|
602
602
|
src: e.image,
|
|
603
603
|
alt: ""
|
|
604
|
-
}, null, 8,
|
|
605
|
-
e.image ? (p(), s("br",
|
|
606
|
-
(p(!0), s(n, null, g(e.lines.filter(Boolean), (t, r) => (p(), s(n, { key: r }, [r > 0 ? (p(), s("br",
|
|
604
|
+
}, null, 8, Ct)) : o("", !0),
|
|
605
|
+
e.image ? (p(), s("br", wt)) : o("", !0),
|
|
606
|
+
(p(!0), s(n, null, g(e.lines.filter(Boolean), (t, r) => (p(), s(n, { key: r }, [r > 0 ? (p(), s("br", Tt)) : o("", !0), r === 0 && e.lines[0] ? (p(), s("strong", {
|
|
607
607
|
key: 1,
|
|
608
608
|
innerHTML: b(m).mdInline(t)
|
|
609
|
-
}, null, 8,
|
|
609
|
+
}, null, 8, Et)) : (p(), s("span", {
|
|
610
610
|
key: 2,
|
|
611
611
|
innerHTML: b(m).mdInline(t)
|
|
612
|
-
}, null, 8,
|
|
612
|
+
}, null, 8, Dt))], 64))), 128))
|
|
613
613
|
]))), 128))])]),
|
|
614
|
-
b(
|
|
614
|
+
b(L).active.value ? (p(), a(t, {
|
|
615
615
|
key: 0,
|
|
616
|
-
term: b(
|
|
617
|
-
html: b(m).md(b(
|
|
618
|
-
onClose: b(
|
|
616
|
+
term: b(L).active.value,
|
|
617
|
+
html: b(m).md(b(L).active.value.definition),
|
|
618
|
+
onClose: b(L).close
|
|
619
619
|
}, null, 8, [
|
|
620
620
|
"term",
|
|
621
621
|
"html",
|
|
@@ -624,10 +624,10 @@ var it = { class: "mwnf-minisite-download" }, at = ["src"], ot = ["src"], st = [
|
|
|
624
624
|
], 4);
|
|
625
625
|
};
|
|
626
626
|
}
|
|
627
|
-
},
|
|
627
|
+
}, kt = { class: "mwnf-minisite-page__head" }, At = { class: "mwnf-minisite-page__title" }, jt = { class: "mwnf-minisite-page__nav mwnf-minisite-page__nav--start" }, Mt = { class: "mwnf-minisite-page__nav mwnf-minisite-page__nav--end" }, Nt = { class: "mwnf-minisite-page__body" }, Pt = ["innerHTML"], Ft = { class: "mwnf-minisite-page__thumbs" }, It = ["onClick"], Lt = ["src"], Rt = ["innerHTML"], zt = ["innerHTML"], Bt = { class: "mwnf-minisite-page__item" }, Vt = { class: "mwnf-minisite-page__image" }, Ht = ["src"], Ut = {
|
|
628
628
|
key: 0,
|
|
629
629
|
class: "mwnf-minisite-page__caption"
|
|
630
|
-
},
|
|
630
|
+
}, Wt = ["innerHTML"], Gt = ["innerHTML"], Kt = { key: 0 }, qt = ["innerHTML"], Jt = ["innerHTML"], Yt = { key: 0 }, Xt = ["onClick"], Zt = ["src"], Qt = ["innerHTML"], $t = { key: 1 }, en = ["href"], tn = {
|
|
631
631
|
__name: "Page",
|
|
632
632
|
props: {
|
|
633
633
|
theme: {
|
|
@@ -640,56 +640,56 @@ var it = { class: "mwnf-minisite-download" }, at = ["src"], ot = ["src"], st = [
|
|
|
640
640
|
}
|
|
641
641
|
},
|
|
642
642
|
setup(e) {
|
|
643
|
-
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 } =
|
|
643
|
+
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 } = Ve(), I = i(() => j(r.theme, r.page)), L = i(() => I.value ? D(I.value.node.id) : {}), R = i(() => I.value ? F(I.value.node.id) : []), z = i(() => I.value ? M(I.value.node) : []), B = i(() => L.value.quote ?? ""), V = h({
|
|
644
644
|
slot: 0,
|
|
645
645
|
variant: 0
|
|
646
646
|
});
|
|
647
|
-
S(() => [r.theme, r.page], () =>
|
|
647
|
+
S(() => [r.theme, r.page], () => V.value = {
|
|
648
648
|
slot: 0,
|
|
649
649
|
variant: 0
|
|
650
650
|
});
|
|
651
|
-
let
|
|
652
|
-
...P(
|
|
653
|
-
sheetId:
|
|
651
|
+
let H = i(() => z.value[V.value.slot] ?? null), U = i(() => H.value?.variants[V.value.variant] ?? null), W = i(() => ke(H.value, V.value.variant)), G = i(() => !H.value || !U.value ? null : {
|
|
652
|
+
...P(H.value, V.value.variant),
|
|
653
|
+
sheetId: Oe(H.value, V.value.variant, (e) => x.itemById.value.get(e))
|
|
654
654
|
});
|
|
655
|
-
function
|
|
656
|
-
|
|
655
|
+
function K(e) {
|
|
656
|
+
V.value = {
|
|
657
657
|
slot: e,
|
|
658
658
|
variant: 0
|
|
659
659
|
};
|
|
660
660
|
}
|
|
661
|
-
function
|
|
662
|
-
|
|
663
|
-
...
|
|
661
|
+
function te(e) {
|
|
662
|
+
V.value = {
|
|
663
|
+
...V.value,
|
|
664
664
|
variant: e
|
|
665
665
|
};
|
|
666
666
|
}
|
|
667
|
-
function
|
|
668
|
-
|
|
667
|
+
function ne() {
|
|
668
|
+
W.value && Z(A({
|
|
669
669
|
name: "zoom",
|
|
670
|
-
query: { img:
|
|
671
|
-
}),
|
|
670
|
+
query: { img: W.value }
|
|
671
|
+
}), He.zoom);
|
|
672
672
|
}
|
|
673
|
-
let
|
|
674
|
-
function
|
|
675
|
-
|
|
673
|
+
let J = ee(R);
|
|
674
|
+
function Y() {
|
|
675
|
+
ot({
|
|
676
676
|
documentTitle: O.documentTitle,
|
|
677
677
|
title: E.value,
|
|
678
|
-
pageTitle:
|
|
679
|
-
quote:
|
|
680
|
-
text:
|
|
681
|
-
slots:
|
|
678
|
+
pageTitle: L.value.title ?? "",
|
|
679
|
+
quote: B.value,
|
|
680
|
+
text: L.value.description ?? "",
|
|
681
|
+
slots: z.value.map((e) => e.variants.map((t, n) => t.view ? P(e, n) : N(t.entry)))
|
|
682
682
|
});
|
|
683
683
|
}
|
|
684
684
|
S(() => [
|
|
685
|
-
|
|
685
|
+
L.value.title,
|
|
686
686
|
E.value,
|
|
687
687
|
_.value
|
|
688
688
|
], () => {
|
|
689
689
|
document.title = [
|
|
690
690
|
m("identity.windowTitle"),
|
|
691
691
|
E.value,
|
|
692
|
-
|
|
692
|
+
L.value.title,
|
|
693
693
|
r.page
|
|
694
694
|
].filter(Boolean).join(" | ");
|
|
695
695
|
}, { immediate: !0 });
|
|
@@ -701,13 +701,13 @@ var it = { class: "mwnf-minisite-download" }, at = ["src"], ot = ["src"], st = [
|
|
|
701
701
|
class: "mwnf-minisite-page",
|
|
702
702
|
style: f({ backgroundImage: re.value ? `url(${re.value})` : "none" })
|
|
703
703
|
}, [
|
|
704
|
-
c("div",
|
|
705
|
-
c("div",
|
|
706
|
-
c("div",
|
|
704
|
+
c("div", kt, [
|
|
705
|
+
c("div", At, y(b(E)), 1),
|
|
706
|
+
c("div", jt, [r[1] ||= l(" < ", -1), u(i, { to: { name: "home" } }, {
|
|
707
707
|
default: C(() => [l(y(b(m)("nav.entrance")), 1)]),
|
|
708
708
|
_: 1
|
|
709
709
|
})]),
|
|
710
|
-
c("div",
|
|
710
|
+
c("div", Mt, [
|
|
711
711
|
r[4] ||= l(" < ", -1),
|
|
712
712
|
u(i, { to: I.value.previous }, {
|
|
713
713
|
default: C(() => [l(y(b(m)("nav.previous")), 1)]),
|
|
@@ -723,75 +723,75 @@ var it = { class: "mwnf-minisite-download" }, at = ["src"], ot = ["src"], st = [
|
|
|
723
723
|
], 64)) : o("", !0)
|
|
724
724
|
])
|
|
725
725
|
]),
|
|
726
|
-
c("div",
|
|
726
|
+
c("div", Nt, [c("div", {
|
|
727
727
|
class: "mwnf-minisite-page__text",
|
|
728
|
-
onClick: r[0] ||= (...e) => b(
|
|
728
|
+
onClick: r[0] ||= (...e) => b(J).onClick && b(J).onClick(...e)
|
|
729
729
|
}, [
|
|
730
730
|
c("div", {
|
|
731
731
|
class: "mwnf-minisite-page__page-title",
|
|
732
|
-
innerHTML: b(x).mdInline(
|
|
733
|
-
}, null, 8,
|
|
734
|
-
c("div",
|
|
732
|
+
innerHTML: b(x).mdInline(L.value.title)
|
|
733
|
+
}, null, 8, Pt),
|
|
734
|
+
c("div", Ft, [(p(!0), s(n, null, g(z.value, (e, t) => w((p(), s("a", {
|
|
735
735
|
key: e.n,
|
|
736
736
|
href: "#",
|
|
737
|
-
onClick: T((e) =>
|
|
737
|
+
onClick: T((e) => K(t), ["prevent"])
|
|
738
738
|
}, [e.variants[0].image ? (p(), s("img", {
|
|
739
739
|
key: 0,
|
|
740
740
|
src: e.variants[0].image,
|
|
741
741
|
alt: "",
|
|
742
742
|
height: "36"
|
|
743
|
-
}, null, 8,
|
|
743
|
+
}, null, 8, Lt)) : o("", !0)], 8, It)), [[b(q), {
|
|
744
744
|
text: b(x).mdStrip(b(P)(e, 0).name),
|
|
745
745
|
width: 160
|
|
746
746
|
}]])), 128))]),
|
|
747
747
|
c("div", {
|
|
748
|
-
class: d(["mwnf-minisite-page__quote", { "mwnf-minisite-page__quote--own-italics": b(
|
|
749
|
-
innerHTML: b(x).mdInline(
|
|
750
|
-
}, null, 10,
|
|
748
|
+
class: d(["mwnf-minisite-page__quote", { "mwnf-minisite-page__quote--own-italics": b(Ne)(B.value) }]),
|
|
749
|
+
innerHTML: b(x).mdInline(B.value, { glossary: R.value })
|
|
750
|
+
}, null, 10, Rt),
|
|
751
751
|
c("div", {
|
|
752
752
|
class: "mwnf-minisite-page__content",
|
|
753
|
-
innerHTML: b(x).md(
|
|
754
|
-
}, null, 8,
|
|
755
|
-
u(
|
|
756
|
-
]), c("div",
|
|
753
|
+
innerHTML: b(x).md(L.value.description, { glossary: R.value })
|
|
754
|
+
}, null, 8, zt),
|
|
755
|
+
u(dt, { word: Y })
|
|
756
|
+
]), c("div", Bt, [c("div", Vt, [W.value ? w((p(), s("a", {
|
|
757
757
|
key: 0,
|
|
758
758
|
href: "#",
|
|
759
|
-
onClick: T(
|
|
759
|
+
onClick: T(ne, ["prevent"])
|
|
760
760
|
}, [c("img", {
|
|
761
|
-
src:
|
|
761
|
+
src: W.value,
|
|
762
762
|
alt: ""
|
|
763
|
-
}, null, 8,
|
|
763
|
+
}, null, 8, Ht)])), [[b(q), { text: b(m)("item.showZoom") }]]) : o("", !0)]), G.value ? (p(), s("div", Ut, [
|
|
764
764
|
c("div", null, [
|
|
765
|
-
c("strong", { innerHTML: b(x).mdInline(
|
|
765
|
+
c("strong", { innerHTML: b(x).mdInline(G.value.name) }, null, 8, Wt),
|
|
766
766
|
r[5] ||= c("br", null, null, -1),
|
|
767
|
-
c("span", { innerHTML: b(x).mdInline(
|
|
767
|
+
c("span", { innerHTML: b(x).mdInline(G.value.detailName) }, null, 8, Gt),
|
|
768
768
|
r[6] ||= c("br", null, null, -1),
|
|
769
|
-
(p(!0), s(n, null, g(
|
|
769
|
+
(p(!0), s(n, null, g(G.value.dateLines, (e, t) => (p(), s(n, { key: t }, [t > 0 ? (p(), s("br", Kt)) : o("", !0), c("span", { innerHTML: b(x).mdInline(e) }, null, 8, qt)], 64))), 128))
|
|
770
770
|
]),
|
|
771
|
-
c("div", null, [(p(!0), s(n, null, g(
|
|
772
|
-
|
|
771
|
+
c("div", null, [(p(!0), s(n, null, g(G.value.details, (e, t) => (p(), s(n, { key: t }, [c("span", { innerHTML: b(x).mdInline(e) }, null, 8, Jt), r[7] ||= c("br", null, null, -1)], 64))), 128))]),
|
|
772
|
+
H.value.variants.length > 1 ? (p(), s("div", Yt, [(p(!0), s(n, null, g(H.value.variants, (e, t) => w((p(), s("a", {
|
|
773
773
|
key: t,
|
|
774
774
|
href: "#",
|
|
775
|
-
onClick: T((e) =>
|
|
775
|
+
onClick: T((e) => te(t), ["prevent"])
|
|
776
776
|
}, [c("img", {
|
|
777
|
-
src: b(k)(t ===
|
|
777
|
+
src: b(k)(t === V.value.variant ? "legacy/ico_item_selected.gif" : "legacy/ico_item.gif"),
|
|
778
778
|
alt: ""
|
|
779
|
-
}, null, 8,
|
|
779
|
+
}, null, 8, Zt)], 8, Xt)), [[b(q), { text: b(m)("item.showDetail") }]])), 128))])) : o("", !0),
|
|
780
780
|
c("div", {
|
|
781
781
|
class: "mwnf-minisite-page__justification",
|
|
782
|
-
innerHTML: b(x).mdInline(
|
|
783
|
-
}, null, 8,
|
|
784
|
-
|
|
782
|
+
innerHTML: b(x).mdInline(G.value.justification)
|
|
783
|
+
}, null, 8, Qt),
|
|
784
|
+
G.value.sheetId ? (p(), s("div", $t, [c("a", {
|
|
785
785
|
class: "mwnf-minisite-page__more",
|
|
786
|
-
href: b(O).itemHref?.(
|
|
786
|
+
href: b(O).itemHref?.(G.value.sheetId),
|
|
787
787
|
target: "_blank"
|
|
788
|
-
}, "> " + y(b(m)("item.moreInfo")), 9,
|
|
788
|
+
}, "> " + y(b(m)("item.moreInfo")), 9, en)])) : o("", !0)
|
|
789
789
|
])) : o("", !0)])]),
|
|
790
|
-
b(
|
|
790
|
+
b(J).active.value ? (p(), a(t, {
|
|
791
791
|
key: 0,
|
|
792
|
-
term: b(
|
|
793
|
-
html: b(x).md(b(
|
|
794
|
-
onClose: b(
|
|
792
|
+
term: b(J).active.value,
|
|
793
|
+
html: b(x).md(b(J).active.value.definition),
|
|
794
|
+
onClose: b(J).close
|
|
795
795
|
}, null, 8, [
|
|
796
796
|
"term",
|
|
797
797
|
"html",
|
|
@@ -800,70 +800,70 @@ var it = { class: "mwnf-minisite-download" }, at = ["src"], ot = ["src"], st = [
|
|
|
800
800
|
], 4)) : o("", !0);
|
|
801
801
|
};
|
|
802
802
|
}
|
|
803
|
-
},
|
|
803
|
+
}, nn = { class: "mwnf-minisite-credits" }, rn = ["innerHTML"], an = {
|
|
804
804
|
__name: "Credits",
|
|
805
805
|
setup(e) {
|
|
806
|
-
let { data: t, root: n, text: r, title: a } =
|
|
807
|
-
return (e, t) => (p(), s("div",
|
|
806
|
+
let { data: t, root: n, text: r, title: a } = Ve(), o = i(() => n.value ? t.md(r(n.value.id).extra?.credits) : "");
|
|
807
|
+
return (e, t) => (p(), s("div", nn, [c("h1", null, y(b(a)), 1), c("div", { innerHTML: o.value }, null, 8, rn)]));
|
|
808
808
|
}
|
|
809
|
-
},
|
|
809
|
+
}, on = { class: "mwnf-minisite-map" }, sn = { key: 0 }, cn = ["src"], ln = {
|
|
810
810
|
__name: "Map",
|
|
811
811
|
setup(e) {
|
|
812
|
-
let { lang: t, settings: r, picture: a } =
|
|
812
|
+
let { lang: t, settings: r, picture: a } = Ve(), l = i(() => {
|
|
813
813
|
let e = r.map;
|
|
814
814
|
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) : [];
|
|
815
815
|
});
|
|
816
|
-
return (e, t) => (p(), s("div",
|
|
816
|
+
return (e, t) => (p(), s("div", on, [(p(!0), s(n, null, g(l.value, (e, t) => (p(), s(n, { key: e }, [t > 0 ? (p(), s("br", sn)) : o("", !0), c("img", {
|
|
817
817
|
src: e,
|
|
818
818
|
alt: "",
|
|
819
819
|
width: "800",
|
|
820
820
|
height: "418"
|
|
821
|
-
}, null, 8,
|
|
821
|
+
}, null, 8, cn)], 64))), 128))]));
|
|
822
822
|
}
|
|
823
|
-
},
|
|
823
|
+
}, un = { class: "mwnf-minisite-zoom" }, dn = ["src"], fn = {
|
|
824
824
|
__name: "Zoom",
|
|
825
825
|
props: { image: {
|
|
826
826
|
type: String,
|
|
827
827
|
default: ""
|
|
828
828
|
} },
|
|
829
829
|
setup(e) {
|
|
830
|
-
let t = e, { pages: n, root: r, slots: a } =
|
|
831
|
-
return (e, t) => (p(), s("div",
|
|
830
|
+
let t = e, { pages: n, root: r, slots: a } = Ve(), 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 : "");
|
|
831
|
+
return (e, t) => (p(), s("div", un, [c.value ? (p(), s("img", {
|
|
832
832
|
key: 0,
|
|
833
833
|
src: c.value,
|
|
834
834
|
alt: ""
|
|
835
|
-
}, null, 8,
|
|
835
|
+
}, null, 8, dn)) : o("", !0)]));
|
|
836
836
|
}
|
|
837
837
|
};
|
|
838
838
|
// src/minisite/routes.js
|
|
839
|
-
function
|
|
839
|
+
function pn(e) {
|
|
840
840
|
return [
|
|
841
841
|
{
|
|
842
842
|
path: "/",
|
|
843
843
|
name: "home",
|
|
844
|
-
component:
|
|
844
|
+
component: et,
|
|
845
845
|
meta: e("home", "collections", "partners", "countries")
|
|
846
846
|
},
|
|
847
847
|
{
|
|
848
848
|
path: "/introduction",
|
|
849
849
|
name: "introduction",
|
|
850
|
-
component:
|
|
851
|
-
meta: e("introduction", ...
|
|
850
|
+
component: Ot,
|
|
851
|
+
meta: e("introduction", ...Be)
|
|
852
852
|
},
|
|
853
853
|
{
|
|
854
854
|
path: "/exhibition/:theme(\\d+)/:page(\\d+)?",
|
|
855
855
|
name: "exhibition",
|
|
856
|
-
component:
|
|
856
|
+
component: tn,
|
|
857
857
|
props: (e) => ({
|
|
858
858
|
theme: Number(e.params.theme),
|
|
859
859
|
page: Number(e.params.page || 1)
|
|
860
860
|
}),
|
|
861
|
-
meta: e("exhibition", ...
|
|
861
|
+
meta: e("exhibition", ...Be)
|
|
862
862
|
},
|
|
863
863
|
{
|
|
864
864
|
path: "/credits",
|
|
865
865
|
name: "credits",
|
|
866
|
-
component:
|
|
866
|
+
component: an,
|
|
867
867
|
meta: {
|
|
868
868
|
...e("credits", "collections"),
|
|
869
869
|
bare: "credits"
|
|
@@ -872,7 +872,7 @@ function un(e) {
|
|
|
872
872
|
{
|
|
873
873
|
path: "/map",
|
|
874
874
|
name: "map",
|
|
875
|
-
component:
|
|
875
|
+
component: ln,
|
|
876
876
|
meta: {
|
|
877
877
|
...e("map"),
|
|
878
878
|
bare: "map"
|
|
@@ -881,7 +881,7 @@ function un(e) {
|
|
|
881
881
|
{
|
|
882
882
|
path: "/zoom",
|
|
883
883
|
name: "zoom",
|
|
884
|
-
component:
|
|
884
|
+
component: fn,
|
|
885
885
|
props: (e) => ({ image: String(e.query.img ?? "") }),
|
|
886
886
|
meta: {
|
|
887
887
|
...e("zoom", "collections"),
|
|
@@ -890,7 +890,7 @@ function un(e) {
|
|
|
890
890
|
}
|
|
891
891
|
];
|
|
892
892
|
}
|
|
893
|
-
function
|
|
893
|
+
function mn(e, t = Pe.ISL) {
|
|
894
894
|
return [
|
|
895
895
|
{
|
|
896
896
|
label: `${t}.menu.permanentCollection`,
|
|
@@ -919,21 +919,21 @@ function dn(e, t = je.ISL) {
|
|
|
919
919
|
},
|
|
920
920
|
{
|
|
921
921
|
label: `${t}.menu.myCollection`,
|
|
922
|
-
href:
|
|
922
|
+
href: M.myCollection
|
|
923
923
|
}
|
|
924
924
|
];
|
|
925
925
|
}
|
|
926
|
-
function
|
|
926
|
+
function hn({ languages: e, parent: t, texts: n = Pe.ISL, menu: r }) {
|
|
927
927
|
let i = [
|
|
928
|
-
["aboutMwnf",
|
|
929
|
-
["contact",
|
|
930
|
-
["legalNotice",
|
|
931
|
-
["credits",
|
|
932
|
-
["cookies",
|
|
928
|
+
["aboutMwnf", M.about],
|
|
929
|
+
["contact", M.contact],
|
|
930
|
+
["legalNotice", M.legalNotice],
|
|
931
|
+
["credits", M.credits],
|
|
932
|
+
["cookies", M.cookies]
|
|
933
933
|
];
|
|
934
934
|
return {
|
|
935
935
|
languages: e,
|
|
936
|
-
logoHref:
|
|
936
|
+
logoHref: M.portal,
|
|
937
937
|
logoTip: `${n}.header.logoTip`,
|
|
938
938
|
headerLinks: [{
|
|
939
939
|
label: `${n}.header.exhibitionsList`,
|
|
@@ -943,7 +943,7 @@ function fn({ languages: e, parent: t, texts: n = je.ISL, menu: r }) {
|
|
|
943
943
|
href: `${t}/#/`,
|
|
944
944
|
tip: `${n}.header.homeTip`
|
|
945
945
|
}],
|
|
946
|
-
menu: r ??
|
|
946
|
+
menu: r ?? mn(t, n),
|
|
947
947
|
footerLinks: i.map(([e, t]) => ({
|
|
948
948
|
label: `${n}.footer.${e}`,
|
|
949
949
|
href: t
|
|
@@ -951,7 +951,7 @@ function fn({ languages: e, parent: t, texts: n = je.ISL, menu: r }) {
|
|
|
951
951
|
copyright: `${n}.footer.copyright`
|
|
952
952
|
};
|
|
953
953
|
}
|
|
954
|
-
function
|
|
954
|
+
function gn({ parent: e, ...t }) {
|
|
955
955
|
return {
|
|
956
956
|
parent: e,
|
|
957
957
|
itemHref: (t) => `${e}/#/item/${encodeURIComponent(t)}`,
|
|
@@ -960,13 +960,13 @@ function pn({ parent: e, ...t }) {
|
|
|
960
960
|
};
|
|
961
961
|
}
|
|
962
962
|
// src/minisite/sharinghistory/Shell.vue
|
|
963
|
-
var
|
|
963
|
+
var _n = { class: "mwnf-sh__column" }, vn = { class: "mwnf-sh-header" }, yn = { class: "mwnf-sh-header__logo" }, bn = ["href"], xn = ["src"], Sn = ["href"], Cn = { class: "mwnf-sh-header__links" }, wn = ["href"], Tn = { class: "mwnf-sh-drop" }, En = ["href"], Dn = ["href"], On = ["href"], kn = {
|
|
964
964
|
key: 0,
|
|
965
965
|
class: "mwnf-sh-header__sizes"
|
|
966
|
-
},
|
|
966
|
+
}, An = { class: "mwnf-sh__page" }, jn = { class: "mwnf-sh-menu" }, Mn = ["href"], Nn = {
|
|
967
967
|
key: 0,
|
|
968
968
|
class: "mwnf-sh-drop"
|
|
969
|
-
},
|
|
969
|
+
}, Pn = ["href"], Fn = { class: "mwnf-sh-footer" }, In = ["href"], Ln = {
|
|
970
970
|
__name: "Shell",
|
|
971
971
|
props: {
|
|
972
972
|
languages: {
|
|
@@ -1003,7 +1003,7 @@ var mn = { class: "mwnf-sh__column" }, hn = { class: "mwnf-sh-header" }, gn = {
|
|
|
1003
1003
|
}
|
|
1004
1004
|
},
|
|
1005
1005
|
setup(t) {
|
|
1006
|
-
let r = t, { t: a } =
|
|
1006
|
+
let r = t, { t: a } = B(), u = V(), m = H(), v = i(() => m.meta?.bare ?? null), x = (t) => e(u.chrome, t), S = (e) => a(`${r.texts}.${e}`), C = (/* @__PURE__ */ new Date()).getFullYear(), T = h(1), E = i(() => m.name !== "home"), D = (e) => {
|
|
1007
1007
|
T.value = e === 0 ? 1 : Math.min(1.6, Math.max(.8, T.value + e));
|
|
1008
1008
|
}, O = i(() => ({
|
|
1009
1009
|
"--sh-title-band": `url(${x("legacy/bg.png") ?? ""})`,
|
|
@@ -1021,67 +1021,67 @@ var mn = { class: "mwnf-sh__column" }, hn = { class: "mwnf-sh-header" }, gn = {
|
|
|
1021
1021
|
class: "mwnf-sh__strip",
|
|
1022
1022
|
"aria-hidden": "true"
|
|
1023
1023
|
}, null, -1),
|
|
1024
|
-
c("div",
|
|
1025
|
-
c("header",
|
|
1026
|
-
c("div",
|
|
1024
|
+
c("div", _n, [
|
|
1025
|
+
c("header", vn, [
|
|
1026
|
+
c("div", yn, [w((p(), s("a", { href: t.portalHref }, [c("img", {
|
|
1027
1027
|
src: x(`legacy/mwnfLogoShExIn-${t.language}.png`) ?? x("legacy/mwnfLogoShExIn-en.png"),
|
|
1028
1028
|
alt: "",
|
|
1029
1029
|
width: "101",
|
|
1030
1030
|
height: "45"
|
|
1031
|
-
}, null, 8,
|
|
1031
|
+
}, null, 8, xn)], 8, bn)), [[b(q), { text: S("header.portalTip") }]])]),
|
|
1032
1032
|
r[6] ||= c("div", { class: "mwnf-sh-header__space" }, null, -1),
|
|
1033
1033
|
w((p(), s("a", {
|
|
1034
1034
|
class: "mwnf-sh-header__name",
|
|
1035
1035
|
href: t.homeHref
|
|
1036
|
-
}, [c("h1", null, y(S("header.heading")), 1), c("h2", null, y(S("header.subheading")), 1)], 8,
|
|
1037
|
-
c("div",
|
|
1038
|
-
c("li", null, [c("a", { href: t.aboutLinks[0]?.href }, y(S("header.about")), 9,
|
|
1039
|
-
c("li", null, [w((p(), s("a", { href: t.homeHref }, [l(y(S("header.home")), 1)], 8,
|
|
1040
|
-
c("li", null, [w((p(), s("a", { href: t.portalHref }, [l(y(S("header.portal")), 1)], 8,
|
|
1041
|
-
], 2), E.value ? (p(), s("div",
|
|
1036
|
+
}, [c("h1", null, y(S("header.heading")), 1), c("h2", null, y(S("header.subheading")), 1)], 8, Sn)), [[b(q), { text: S("header.homeTip") }]]),
|
|
1037
|
+
c("div", Cn, [c("ul", { class: d(["mwnf-sh-header__list", { "mwnf-sh-header__list--ruled": E.value }]) }, [
|
|
1038
|
+
c("li", null, [c("a", { href: t.aboutLinks[0]?.href }, y(S("header.about")), 9, wn), c("ul", Tn, [(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, En)]))), 128))])]),
|
|
1039
|
+
c("li", null, [w((p(), s("a", { href: t.homeHref }, [l(y(S("header.home")), 1)], 8, Dn)), [[b(q), { text: S("header.homeTip") }]])]),
|
|
1040
|
+
c("li", null, [w((p(), s("a", { href: t.portalHref }, [l(y(S("header.portal")), 1)], 8, On)), [[b(q), { text: S("header.portalTip") }]])])
|
|
1041
|
+
], 2), E.value ? (p(), s("div", kn, [
|
|
1042
1042
|
w((p(), s("button", {
|
|
1043
1043
|
type: "button",
|
|
1044
1044
|
style: { "font-size": "8px" },
|
|
1045
1045
|
onClick: r[0] ||= (e) => D(-.1)
|
|
1046
|
-
}, [...r[3] ||= [l("A", -1)]])), [[b(
|
|
1046
|
+
}, [...r[3] ||= [l("A", -1)]])), [[b(q), { text: S("header.decreaseSize") }]]),
|
|
1047
1047
|
w((p(), s("button", {
|
|
1048
1048
|
type: "button",
|
|
1049
1049
|
style: { "font-size": "10px" },
|
|
1050
1050
|
onClick: r[1] ||= (e) => D(0)
|
|
1051
|
-
}, [...r[4] ||= [l("A", -1)]])), [[b(
|
|
1051
|
+
}, [...r[4] ||= [l("A", -1)]])), [[b(q), { text: S("header.revertSize") }]]),
|
|
1052
1052
|
w((p(), s("button", {
|
|
1053
1053
|
type: "button",
|
|
1054
1054
|
style: { "font-size": "12px" },
|
|
1055
1055
|
onClick: r[2] ||= (e) => D(.1)
|
|
1056
|
-
}, [...r[5] ||= [l("A", -1)]])), [[b(
|
|
1056
|
+
}, [...r[5] ||= [l("A", -1)]])), [[b(q), { text: S("header.increaseSize") }]])
|
|
1057
1057
|
])) : o("", !0)])
|
|
1058
1058
|
]),
|
|
1059
|
-
c("main",
|
|
1060
|
-
c("nav",
|
|
1061
|
-
c("footer",
|
|
1059
|
+
c("main", An, [_(e.$slots, "default")]),
|
|
1060
|
+
c("nav", jn, [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, Mn)), [[b(q), { text: e.tip ? S(e.tip) : "" }]]), e.links?.length ? (p(), s("ul", Nn, [(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, Pn)]))), 128))])) : o("", !0)]))), 128))])]),
|
|
1061
|
+
c("footer", Fn, [(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, In), r[7] ||= l(" | ", -1)], 64))), 128)), l(" " + y(S("footer.copyright")) + " " + y(b(C)), 1)])
|
|
1062
1062
|
]),
|
|
1063
1063
|
r[9] ||= c("div", {
|
|
1064
1064
|
class: "mwnf-sh__strip",
|
|
1065
1065
|
"aria-hidden": "true"
|
|
1066
1066
|
}, null, -1),
|
|
1067
|
-
b(
|
|
1067
|
+
b(W).visible ? (p(), s("div", {
|
|
1068
1068
|
key: 0,
|
|
1069
1069
|
class: "mwnf-sh-tip",
|
|
1070
1070
|
style: f({
|
|
1071
|
-
left: `${b(
|
|
1072
|
-
top: `${b(
|
|
1073
|
-
width: `${b(
|
|
1071
|
+
left: `${b(W).x + 12}px`,
|
|
1072
|
+
top: `${b(W).y + 12}px`,
|
|
1073
|
+
width: `${b(W).width}px`
|
|
1074
1074
|
})
|
|
1075
|
-
}, y(b(
|
|
1075
|
+
}, y(b(W).text), 5)) : o("", !0)
|
|
1076
1076
|
], 4));
|
|
1077
1077
|
}
|
|
1078
|
-
},
|
|
1078
|
+
}, Rn = "minisiteSharingHistory", zn = [
|
|
1079
1079
|
"collections",
|
|
1080
1080
|
"items",
|
|
1081
1081
|
"countries",
|
|
1082
1082
|
"partners"
|
|
1083
1083
|
];
|
|
1084
|
-
function
|
|
1084
|
+
function Bn(e, t) {
|
|
1085
1085
|
return e.flatMap((e, n) => [{
|
|
1086
1086
|
theme: n + 1,
|
|
1087
1087
|
page: 0,
|
|
@@ -1094,14 +1094,14 @@ function Ln(e, t) {
|
|
|
1094
1094
|
themeNode: e
|
|
1095
1095
|
}))]);
|
|
1096
1096
|
}
|
|
1097
|
-
function
|
|
1097
|
+
function Vn(e, t, n) {
|
|
1098
1098
|
let r = e.filter((e) => t(e.id, n)?.trim());
|
|
1099
1099
|
return r.length > 0 || n === "en" ? r : e.filter((e) => t(e.id, "en")?.trim());
|
|
1100
1100
|
}
|
|
1101
|
-
function
|
|
1101
|
+
function Hn(e, t, n) {
|
|
1102
1102
|
return e.filter((e) => t(e.id, n)?.trim());
|
|
1103
1103
|
}
|
|
1104
|
-
function
|
|
1104
|
+
function Un(e) {
|
|
1105
1105
|
return e.page === 0 ? {
|
|
1106
1106
|
name: "theme",
|
|
1107
1107
|
params: { theme: e.theme }
|
|
@@ -1113,14 +1113,14 @@ function Bn(e) {
|
|
|
1113
1113
|
}
|
|
1114
1114
|
};
|
|
1115
1115
|
}
|
|
1116
|
-
function
|
|
1116
|
+
function Wn(e, t, n) {
|
|
1117
1117
|
let r = e.findIndex((e) => e.theme === t && e.page === n);
|
|
1118
1118
|
return r < 0 ? null : {
|
|
1119
1119
|
...e[r],
|
|
1120
|
-
next: r < e.length - 1 ?
|
|
1120
|
+
next: r < e.length - 1 ? Un(e[r + 1]) : null
|
|
1121
1121
|
};
|
|
1122
1122
|
}
|
|
1123
|
-
function
|
|
1123
|
+
function Gn(e) {
|
|
1124
1124
|
let t = /* @__PURE__ */ new Map();
|
|
1125
1125
|
for (let n of e?.items ?? []) {
|
|
1126
1126
|
if (!n.image_url || n.curator_status !== "Y") continue;
|
|
@@ -1136,7 +1136,7 @@ function Hn(e) {
|
|
|
1136
1136
|
}));
|
|
1137
1137
|
});
|
|
1138
1138
|
}
|
|
1139
|
-
function
|
|
1139
|
+
function Kn({ item: e, own: t, entry: n, lang: r, countryName: i }) {
|
|
1140
1140
|
let a = e?.type !== "monument", o = [
|
|
1141
1141
|
a ? t.holder : "",
|
|
1142
1142
|
t.location,
|
|
@@ -1153,7 +1153,7 @@ function Un({ item: e, own: t, entry: n, lang: r, countryName: i }) {
|
|
|
1153
1153
|
justification: s.replace(/\s+/g, " ")
|
|
1154
1154
|
};
|
|
1155
1155
|
}
|
|
1156
|
-
function
|
|
1156
|
+
function qn({ own: e, images: t = [], picture: n }) {
|
|
1157
1157
|
return Array.isArray(e) ? e.map((e) => ({
|
|
1158
1158
|
url: n(e.image) ?? "",
|
|
1159
1159
|
link: e.link ?? "",
|
|
@@ -1164,7 +1164,7 @@ function Wn({ own: e, images: t = [], picture: n }) {
|
|
|
1164
1164
|
tip: e.alt_text ?? ""
|
|
1165
1165
|
}));
|
|
1166
1166
|
}
|
|
1167
|
-
function
|
|
1167
|
+
function Jn({ parent: e, exhibitionId: t, themeId: n = null, subthemeId: r = null, title: i = "", furtherReading: a }) {
|
|
1168
1168
|
let o = encodeURIComponent(t), s = [`exhibition=${o}`];
|
|
1169
1169
|
n && s.push(`theme=${encodeURIComponent(n)}`), r && s.push(`chapter=${encodeURIComponent(r)}`);
|
|
1170
1170
|
let c = {
|
|
@@ -1190,11 +1190,11 @@ function Gn({ parent: e, exhibitionId: t, themeId: n = null, subthemeId: r = nul
|
|
|
1190
1190
|
];
|
|
1191
1191
|
}
|
|
1192
1192
|
function $() {
|
|
1193
|
-
let { pkg: t, data: n, tree: r } =
|
|
1194
|
-
S(f, (e) => Promise.all(
|
|
1195
|
-
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 ?
|
|
1193
|
+
let { pkg: t, data: n, tree: r } = ze(), { locale: a, t: o } = B(), s = V(), c = s.minisite ?? {}, l = c.texts ?? "minisiteSharingHistory", u = (e) => o(`${l}.${e}`), d = U(), f = i(() => a.value);
|
|
1194
|
+
S(f, (e) => Promise.all(zn.flatMap((n) => [t.loadTranslations(n, e), t.loadTranslations(n, "en")])), { immediate: !0 });
|
|
1195
|
+
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 ? Vn(r.children(h.value.id), m, f.value) : []), _ = (e) => Hn(r.children(e), m, f.value), v = i(() => Bn(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 ? P(n.tr("countries", e, f.value).name ?? "") : "";
|
|
1196
1196
|
function C(e) {
|
|
1197
|
-
return
|
|
1197
|
+
return Kn({
|
|
1198
1198
|
item: n.itemById.value.get(e.id),
|
|
1199
1199
|
own: n.tr("items", e.id, f.value),
|
|
1200
1200
|
entry: e,
|
|
@@ -1230,10 +1230,10 @@ function $() {
|
|
|
1230
1230
|
picture: w,
|
|
1231
1231
|
href: T,
|
|
1232
1232
|
imagesOf: (e) => [...h.value?.images ?? []].filter((t) => t.type === e).sort((e, t) => e.display_order - t.display_order),
|
|
1233
|
-
slots:
|
|
1234
|
-
pageAt: (e, t) =>
|
|
1233
|
+
slots: Gn,
|
|
1234
|
+
pageAt: (e, t) => Wn(v.value, e, t),
|
|
1235
1235
|
title: i(() => h.value ? p(h.value.id).title ?? "" : ""),
|
|
1236
|
-
related: (e = null, t = null) => h.value ?
|
|
1236
|
+
related: (e = null, t = null) => h.value ? Jn({
|
|
1237
1237
|
parent: c.parent,
|
|
1238
1238
|
exhibitionId: h.value.id,
|
|
1239
1239
|
themeId: e,
|
|
@@ -1243,14 +1243,14 @@ function $() {
|
|
|
1243
1243
|
}) : []
|
|
1244
1244
|
};
|
|
1245
1245
|
}
|
|
1246
|
-
var
|
|
1246
|
+
var Yn = {
|
|
1247
1247
|
credits: ["exhcredits", "scrollbars=auto, resizable=1, width=520, height=530"],
|
|
1248
1248
|
coverImage: ["exhCoverImage", "scrollbars=auto, resizable=1, width=520, height=530"],
|
|
1249
1249
|
zoom: ["SHImages", "scrollbars=no,resize=no,width=565,height=435"]
|
|
1250
|
-
},
|
|
1250
|
+
}, Xn = { class: "mwnf-sh-related" }, Zn = { class: "mwnf-sh-related__heading" }, Qn = ["src"], $n = ["href", "target"], er = {
|
|
1251
1251
|
key: 0,
|
|
1252
1252
|
class: "mwnf-sh-related__all"
|
|
1253
|
-
},
|
|
1253
|
+
}, tr = ["src"], nr = ["href"], rr = {
|
|
1254
1254
|
__name: "Related",
|
|
1255
1255
|
props: {
|
|
1256
1256
|
allExhibitions: {
|
|
@@ -1274,7 +1274,7 @@ var Kn = {
|
|
|
1274
1274
|
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}`) : "");
|
|
1275
1275
|
return (t, i) => {
|
|
1276
1276
|
let d = v("router-link");
|
|
1277
|
-
return p(), s("div",
|
|
1277
|
+
return p(), s("div", Xn, [c("span", Zn, "\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 }, [
|
|
1278
1278
|
i[0] ||= l(" \xA0", -1),
|
|
1279
1279
|
c("img", {
|
|
1280
1280
|
src: b(u)(e.arrow),
|
|
@@ -1282,7 +1282,7 @@ var Kn = {
|
|
|
1282
1282
|
class: "mwnf-sh-arrow",
|
|
1283
1283
|
width: "11",
|
|
1284
1284
|
height: "8"
|
|
1285
|
-
}, null, 8,
|
|
1285
|
+
}, null, 8, Qn),
|
|
1286
1286
|
t.to ? w((p(), a(d, {
|
|
1287
1287
|
key: 0,
|
|
1288
1288
|
to: t.to,
|
|
@@ -1290,12 +1290,12 @@ var Kn = {
|
|
|
1290
1290
|
}, {
|
|
1291
1291
|
default: C(() => [l(y(b(r)(`related.${t.key}`)), 1)]),
|
|
1292
1292
|
_: 2
|
|
1293
|
-
}, 1032, ["to", "target"])), [[b(
|
|
1293
|
+
}, 1032, ["to", "target"])), [[b(q), { text: _(t) }]]) : w((p(), s("a", {
|
|
1294
1294
|
key: 1,
|
|
1295
1295
|
href: t.href,
|
|
1296
1296
|
target: h.value
|
|
1297
|
-
}, [l(y(b(r)(`related.${t.key}`)), 1)], 8,
|
|
1298
|
-
]))), 128)), e.allExhibitions ? (p(), s("li",
|
|
1297
|
+
}, [l(y(b(r)(`related.${t.key}`)), 1)], 8, $n)), [[b(q), { text: _(t) }]])
|
|
1298
|
+
]))), 128)), e.allExhibitions ? (p(), s("li", er, [
|
|
1299
1299
|
i[1] ||= l(" \xA0", -1),
|
|
1300
1300
|
c("img", {
|
|
1301
1301
|
src: b(u)(e.arrow),
|
|
@@ -1303,98 +1303,98 @@ var Kn = {
|
|
|
1303
1303
|
class: "mwnf-sh-arrow",
|
|
1304
1304
|
width: "11",
|
|
1305
1305
|
height: "8"
|
|
1306
|
-
}, null, 8,
|
|
1307
|
-
c("b", null, [c("a", { href: `${b(f).parent}/#/exhibitions` }, y(b(r)("nav.allExhibitions")), 9,
|
|
1306
|
+
}, null, 8, tr),
|
|
1307
|
+
c("b", null, [c("a", { href: `${b(f).parent}/#/exhibitions` }, y(b(r)("nav.allExhibitions")), 9, nr)])
|
|
1308
1308
|
])) : o("", !0)])]);
|
|
1309
1309
|
};
|
|
1310
1310
|
}
|
|
1311
|
-
},
|
|
1311
|
+
}, ir = ["src"], ar = ["src"], or = ["src"], sr = "https://www.museumwnf.org/about/support", cr = {
|
|
1312
1312
|
__name: "Windows",
|
|
1313
1313
|
setup(e) {
|
|
1314
1314
|
let { href: t, label: n, picture: r } = $(), i = r("legacy/arrow_curator.gif");
|
|
1315
1315
|
return (e, r) => (p(), s("div", null, [
|
|
1316
1316
|
c("a", {
|
|
1317
1317
|
href: "#",
|
|
1318
|
-
onClick: r[0] ||= T((e) => b(Z)(b(t)({ name: "credits" }), b(
|
|
1318
|
+
onClick: r[0] ||= T((e) => b(Z)(b(t)({ name: "credits" }), b(Yn).credits), ["prevent"])
|
|
1319
1319
|
}, [l(y(b(n)("band.curatedBy")) + " ", 1), b(i) ? (p(), s("img", {
|
|
1320
1320
|
key: 0,
|
|
1321
1321
|
src: b(i),
|
|
1322
1322
|
alt: "",
|
|
1323
1323
|
width: "12",
|
|
1324
1324
|
height: "7"
|
|
1325
|
-
}, null, 8,
|
|
1325
|
+
}, null, 8, ir)) : o("", !0)]),
|
|
1326
1326
|
c("div", null, [c("a", {
|
|
1327
1327
|
href: "#",
|
|
1328
|
-
onClick: r[1] ||= T((e) => b(Z)(b(t)({ name: "cover-image" }), b(
|
|
1328
|
+
onClick: r[1] ||= T((e) => b(Z)(b(t)({ name: "cover-image" }), b(Yn).coverImage), ["prevent"])
|
|
1329
1329
|
}, [l(y(b(n)("band.coverImage")) + " ", 1), b(i) ? (p(), s("img", {
|
|
1330
1330
|
key: 0,
|
|
1331
1331
|
src: b(i),
|
|
1332
1332
|
alt: "",
|
|
1333
1333
|
width: "12",
|
|
1334
1334
|
height: "7"
|
|
1335
|
-
}, null, 8,
|
|
1336
|
-
c("div", null, [c("a", { href:
|
|
1335
|
+
}, null, 8, ar)) : o("", !0)])]),
|
|
1336
|
+
c("div", null, [c("a", { href: sr }, [l(y(b(n)("band.support")) + " ", 1), b(i) ? (p(), s("img", {
|
|
1337
1337
|
key: 0,
|
|
1338
1338
|
src: b(i),
|
|
1339
1339
|
alt: "",
|
|
1340
1340
|
width: "12",
|
|
1341
1341
|
height: "7"
|
|
1342
|
-
}, null, 8,
|
|
1342
|
+
}, null, 8, or)) : o("", !0)])])
|
|
1343
1343
|
]));
|
|
1344
1344
|
}
|
|
1345
|
-
},
|
|
1345
|
+
}, lr = {
|
|
1346
1346
|
key: 0,
|
|
1347
1347
|
class: "mwnf-sh-home"
|
|
1348
|
-
},
|
|
1348
|
+
}, ur = { class: "mwnf-sh-home__heading" }, dr = { class: "mwnf-sh-home__title" }, fr = ["innerHTML"], pr = { class: "mwnf-sh-home__menu" }, mr = { class: "mwnf-sh-home__themes" }, hr = ["src"], gr = ["aria-expanded", "onClick"], _r = ["innerHTML"], vr = ["src"], yr = {
|
|
1349
1349
|
key: 0,
|
|
1350
1350
|
class: "mwnf-sh-home__pages"
|
|
1351
|
-
},
|
|
1351
|
+
}, br = ["src"], xr = ["src"], Sr = { class: "mwnf-sh-band" }, Cr = { class: "mwnf-sh-band__logos" }, wr = {
|
|
1352
1352
|
key: 0,
|
|
1353
1353
|
class: "mwnf-sh-band__gap"
|
|
1354
|
-
},
|
|
1354
|
+
}, Tr = ["href"], Er = ["src"], Dr = ["src"], Or = {
|
|
1355
1355
|
__name: "Home",
|
|
1356
1356
|
setup(e) {
|
|
1357
|
-
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(() =>
|
|
1357
|
+
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(() => qn({
|
|
1358
1358
|
own: _.logos,
|
|
1359
1359
|
images: r("logo"),
|
|
1360
1360
|
picture: d
|
|
1361
1361
|
})), A = h(-1);
|
|
1362
1362
|
return (e, r) => {
|
|
1363
1363
|
let i = v("router-link");
|
|
1364
|
-
return b(m) ? (p(), s("div",
|
|
1364
|
+
return b(m) ? (p(), s("div", lr, [
|
|
1365
1365
|
c("div", {
|
|
1366
1366
|
class: "mwnf-sh-home__picture",
|
|
1367
1367
|
style: f({ backgroundImage: `url(${b(d)("legacy/home_bg.jpg") ?? ""})` })
|
|
1368
|
-
}, [c("div",
|
|
1368
|
+
}, [c("div", ur, [c("div", dr, y(b(E)), 1), O.value ? (p(), s("div", {
|
|
1369
1369
|
key: 0,
|
|
1370
1370
|
class: "mwnf-sh-home__quote",
|
|
1371
1371
|
innerHTML: b(t).mdInline(O.value)
|
|
1372
|
-
}, null, 8,
|
|
1373
|
-
c("div",
|
|
1372
|
+
}, null, 8, fr)) : o("", !0)])], 4),
|
|
1373
|
+
c("div", pr, [c("div", mr, [u(i, { to: { name: "introduction" } }, {
|
|
1374
1374
|
default: C(() => [c("b", null, y(b(a)("home.introduction")), 1), c("img", {
|
|
1375
1375
|
src: b(d)("legacy/arrow_black.gif"),
|
|
1376
1376
|
alt: "",
|
|
1377
1377
|
width: "15",
|
|
1378
1378
|
height: "9"
|
|
1379
|
-
}, null, 8,
|
|
1379
|
+
}, null, 8, hr)]),
|
|
1380
1380
|
_: 1
|
|
1381
1381
|
}), (p(!0), s(n, null, g(b(T), (e, r) => (p(), s("div", { key: e.id }, [c("button", {
|
|
1382
1382
|
type: "button",
|
|
1383
1383
|
class: "mwnf-sh-home__theme",
|
|
1384
1384
|
"aria-expanded": A.value === r,
|
|
1385
1385
|
onClick: (e) => A.value = A.value === r ? -1 : r
|
|
1386
|
-
}, [c("span", { innerHTML: b(t).mdInline(b(S)(e.id).title ?? "") }, null, 8,
|
|
1386
|
+
}, [c("span", { innerHTML: b(t).mdInline(b(S)(e.id).title ?? "") }, null, 8, _r), c("img", {
|
|
1387
1387
|
src: b(d)("legacy/arrow_black_down.gif"),
|
|
1388
1388
|
alt: "",
|
|
1389
1389
|
width: "15",
|
|
1390
1390
|
height: "9"
|
|
1391
|
-
}, null, 8,
|
|
1391
|
+
}, null, 8, vr)], 8, gr), A.value === r ? (p(), s("ul", yr, [c("li", null, [c("img", {
|
|
1392
1392
|
src: b(d)("legacy/arrow_inner_black.gif"),
|
|
1393
1393
|
alt: "",
|
|
1394
1394
|
class: "mwnf-sh-arrow",
|
|
1395
1395
|
width: "11",
|
|
1396
1396
|
height: "8"
|
|
1397
|
-
}, null, 8,
|
|
1397
|
+
}, null, 8, br), u(i, { to: {
|
|
1398
1398
|
name: "theme",
|
|
1399
1399
|
params: { theme: r + 1 }
|
|
1400
1400
|
} }, {
|
|
@@ -1406,7 +1406,7 @@ var Kn = {
|
|
|
1406
1406
|
class: "mwnf-sh-arrow",
|
|
1407
1407
|
width: "11",
|
|
1408
1408
|
height: "8"
|
|
1409
|
-
}, null, 8,
|
|
1409
|
+
}, null, 8, xr), u(i, {
|
|
1410
1410
|
to: {
|
|
1411
1411
|
name: "subtheme",
|
|
1412
1412
|
params: {
|
|
@@ -1415,31 +1415,31 @@ var Kn = {
|
|
|
1415
1415
|
}
|
|
1416
1416
|
},
|
|
1417
1417
|
innerHTML: b(t).mdInline(b(S)(e.id).title ?? "")
|
|
1418
|
-
}, null, 8, ["to", "innerHTML"])]))), 128))])) : o("", !0)]))), 128))]), u(
|
|
1419
|
-
c("div",
|
|
1418
|
+
}, null, 8, ["to", "innerHTML"])]))), 128))])) : o("", !0)]))), 128))]), u(rr, { "all-exhibitions": "" })]),
|
|
1419
|
+
c("div", Sr, [u(cr, { class: "mwnf-sh-band__links" }), c("div", Cr, [(p(!0), s(n, null, g(k.value, (e, t) => (p(), s(n, { key: e.url }, [t > 0 ? (p(), s("span", wr)) : o("", !0), e.link ? w((p(), s("a", {
|
|
1420
1420
|
key: 1,
|
|
1421
1421
|
href: D(e)
|
|
1422
1422
|
}, [c("img", {
|
|
1423
1423
|
src: e.url,
|
|
1424
1424
|
alt: ""
|
|
1425
|
-
}, null, 8,
|
|
1425
|
+
}, null, 8, Er)], 8, Tr)), [[b(q), {
|
|
1426
1426
|
text: e.tip,
|
|
1427
1427
|
width: 280
|
|
1428
1428
|
}]]) : (p(), s("img", {
|
|
1429
1429
|
key: 2,
|
|
1430
1430
|
src: e.url,
|
|
1431
1431
|
alt: ""
|
|
1432
|
-
}, null, 8,
|
|
1432
|
+
}, null, 8, Dr))], 64))), 128))])])
|
|
1433
1433
|
])) : o("", !0);
|
|
1434
1434
|
};
|
|
1435
1435
|
}
|
|
1436
|
-
},
|
|
1436
|
+
}, kr = { class: "mwnf-sh-banner__title" }, Ar = { class: "mwnf-sh-nav" }, jr = { class: "mwnf-sh-nav__group" }, Mr = { class: "mwnf-sh-nav__first" }, Nr = { class: "mwnf-sh-nav__second" }, Pr = ["href"], Fr = {
|
|
1437
1437
|
key: 0,
|
|
1438
1438
|
class: "mwnf-sh-nav__group"
|
|
1439
|
-
},
|
|
1439
|
+
}, Ir = { class: "mwnf-sh-nav__first mwnf-sh-nav__previous" }, Lr = {
|
|
1440
1440
|
key: 0,
|
|
1441
1441
|
class: "mwnf-sh-nav__second mwnf-sh-nav__next"
|
|
1442
|
-
},
|
|
1442
|
+
}, Rr = {
|
|
1443
1443
|
__name: "Banner",
|
|
1444
1444
|
props: {
|
|
1445
1445
|
kind: {
|
|
@@ -1464,7 +1464,7 @@ var Kn = {
|
|
|
1464
1464
|
}
|
|
1465
1465
|
},
|
|
1466
1466
|
setup(e) {
|
|
1467
|
-
let t = e, n =
|
|
1467
|
+
let t = e, n = U(), { label: r, picture: i, settings: m, title: h } = $(), g = i(t.kind === "intro" ? "legacy/intro_bg.jpg" : "legacy/exhibition_bg.jpg");
|
|
1468
1468
|
return (t, i) => {
|
|
1469
1469
|
let _ = v("router-link");
|
|
1470
1470
|
return p(), s("div", {
|
|
@@ -1472,11 +1472,11 @@ var Kn = {
|
|
|
1472
1472
|
style: f({ backgroundImage: b(g) ? `url(${b(g)})` : "none" })
|
|
1473
1473
|
}, [
|
|
1474
1474
|
i[1] ||= c("div", { class: "mwnf-sh-banner__top" }, null, -1),
|
|
1475
|
-
c("div",
|
|
1476
|
-
c("nav",
|
|
1475
|
+
c("div", kr, y(e.heading ?? b(h)), 1),
|
|
1476
|
+
c("nav", Ar, [c("div", jr, [c("div", Mr, [u(_, { to: { name: "home" } }, {
|
|
1477
1477
|
default: C(() => [l(y(b(r)("nav.entrance")), 1)]),
|
|
1478
1478
|
_: 1
|
|
1479
|
-
})]), c("div",
|
|
1479
|
+
})]), c("div", Nr, [c("a", { href: `${b(m).parent}/#/exhibitions` }, y(b(r)("nav.allExhibitions")), 9, Pr)])]), e.paging ? (p(), s("div", Fr, [c("div", Ir, [e.previous ? (p(), a(_, {
|
|
1480
1480
|
key: 0,
|
|
1481
1481
|
to: e.previous
|
|
1482
1482
|
}, {
|
|
@@ -1486,14 +1486,14 @@ var Kn = {
|
|
|
1486
1486
|
key: 1,
|
|
1487
1487
|
href: "#",
|
|
1488
1488
|
onClick: i[0] ||= T((e) => b(n).back(), ["prevent"])
|
|
1489
|
-
}, y(b(r)("nav.previous")), 1))]), e.next ? (p(), s("div",
|
|
1489
|
+
}, y(b(r)("nav.previous")), 1))]), e.next ? (p(), s("div", Lr, [u(_, { to: e.next }, {
|
|
1490
1490
|
default: C(() => [l(y(b(r)("nav.next")), 1)]),
|
|
1491
1491
|
_: 1
|
|
1492
1492
|
}, 8, ["to"])])) : o("", !0)])) : o("", !0)])
|
|
1493
1493
|
], 6);
|
|
1494
1494
|
};
|
|
1495
1495
|
}
|
|
1496
|
-
},
|
|
1496
|
+
}, zr = { class: "mwnf-sh-download" }, Br = ["src"], Vr = ["src"], Hr = ["src"], Ur = {
|
|
1497
1497
|
__name: "Download",
|
|
1498
1498
|
props: {
|
|
1499
1499
|
title: {
|
|
@@ -1513,16 +1513,16 @@ var Kn = {
|
|
|
1513
1513
|
"\"": """
|
|
1514
1514
|
})[e]);
|
|
1515
1515
|
function a() {
|
|
1516
|
-
let e = t.blocks.map(({ heading: e, text: t }) => `${e ? `<h2>${i(
|
|
1517
|
-
r.href = URL.createObjectURL(new window.Blob([n], { type: "application/vnd.ms-word" })), r.download = `${
|
|
1516
|
+
let e = t.blocks.map(({ heading: e, text: t }) => `${e ? `<h2>${i(j(e))}</h2>` : ""}${t ? F(t) : ""}`).join(""), n = `<!DOCTYPE html><html><head><meta charset="utf-8"><title>${i(j(t.title))}</title></head><body><h1>${i(j(t.title))}</h1>${e}</body></html>`, r = document.createElement("a");
|
|
1517
|
+
r.href = URL.createObjectURL(new window.Blob([n], { type: "application/vnd.ms-word" })), r.download = `${j(t.title).replace(/[,:]/g, "").replace(/ /g, "-")}.doc`, document.body.appendChild(r), r.click(), r.remove(), URL.revokeObjectURL(r.href);
|
|
1518
1518
|
}
|
|
1519
|
-
return (e, t) => (p(), s("div",
|
|
1519
|
+
return (e, t) => (p(), s("div", zr, [
|
|
1520
1520
|
c("img", {
|
|
1521
1521
|
src: b(r)("legacy/print.gif"),
|
|
1522
1522
|
alt: "",
|
|
1523
1523
|
width: "14",
|
|
1524
1524
|
height: "14"
|
|
1525
|
-
}, null, 8,
|
|
1525
|
+
}, null, 8, Br),
|
|
1526
1526
|
l(" / " + y(b(n)("download.heading")), 1),
|
|
1527
1527
|
t[1] ||= c("br", null, null, -1),
|
|
1528
1528
|
c("img", {
|
|
@@ -1531,7 +1531,7 @@ var Kn = {
|
|
|
1531
1531
|
class: "mwnf-sh-arrow",
|
|
1532
1532
|
width: "11",
|
|
1533
1533
|
height: "8"
|
|
1534
|
-
}, null, 8,
|
|
1534
|
+
}, null, 8, Vr),
|
|
1535
1535
|
c("a", {
|
|
1536
1536
|
href: "#",
|
|
1537
1537
|
onClick: t[0] ||= T((t) => e.window.print(), ["prevent"])
|
|
@@ -1543,29 +1543,29 @@ var Kn = {
|
|
|
1543
1543
|
class: "mwnf-sh-arrow",
|
|
1544
1544
|
width: "11",
|
|
1545
1545
|
height: "8"
|
|
1546
|
-
}, null, 8,
|
|
1546
|
+
}, null, 8, Hr),
|
|
1547
1547
|
c("a", {
|
|
1548
1548
|
href: "#",
|
|
1549
1549
|
onClick: T(a, ["prevent"])
|
|
1550
1550
|
}, y(b(n)("download.asWord")), 1)
|
|
1551
1551
|
]));
|
|
1552
1552
|
}
|
|
1553
|
-
},
|
|
1553
|
+
}, Wr = {
|
|
1554
1554
|
key: 0,
|
|
1555
1555
|
style: { "font-size": "calc(11px * var(--sh-text-scale, 1))" }
|
|
1556
|
-
},
|
|
1556
|
+
}, Gr = { class: "mwnf-sh-intro" }, Kr = { class: "mwnf-sh-intro__text" }, qr = { class: "mwnf-sh-intro__heading" }, Jr = ["innerHTML"], Yr = { class: "mwnf-sh-intro__pictures" }, Xr = {
|
|
1557
1557
|
key: 0,
|
|
1558
1558
|
class: "mwnf-sh-intro__picture"
|
|
1559
|
-
},
|
|
1559
|
+
}, Zr = { class: "mwnf-sh-intro__frame" }, Qr = ["src"], $r = ["src"], ei = ["innerHTML"], ti = ["innerHTML"], ni = ["innerHTML"], ri = ["src"], ii = ["href"], ai = {
|
|
1560
1560
|
key: 1,
|
|
1561
1561
|
class: "mwnf-sh-intro__thumbs"
|
|
1562
|
-
},
|
|
1562
|
+
}, oi = ["onClick"], si = ["src"], ci = { class: "mwnf-sh-bottom" }, li = { class: "mwnf-sh-bottom__pages" }, ui = ["src"], di = { class: "mwnf-sh-bottom__current" }, fi = ["src"], pi = { class: "mwnf-sh-bottom__related" }, mi = {
|
|
1563
1563
|
__name: "Introduction",
|
|
1564
1564
|
setup(e) {
|
|
1565
1565
|
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] ? {
|
|
1566
1566
|
name: "theme",
|
|
1567
1567
|
params: { theme: 1 }
|
|
1568
|
-
} : null),
|
|
1568
|
+
} : null), A = i(() => [...x.value?.items ?? []].filter((e) => e.image_url).sort((e, t) => (e.display_order ?? 0) - (t.display_order ?? 0)).slice(0, 5)), M = h(0), N = i(() => A.value[M.value] ?? null), P = i(() => {
|
|
1569
1569
|
if (!N.value) return null;
|
|
1570
1570
|
let e = r.tr("items", N.value.id, f.value), n = r.itemById.value.get(N.value.id)?.images?.[0]?.photographers ?? {};
|
|
1571
1571
|
return {
|
|
@@ -1578,31 +1578,31 @@ var Kn = {
|
|
|
1578
1578
|
Z(a({
|
|
1579
1579
|
name: "zoom",
|
|
1580
1580
|
query: { img: N.value.image_url }
|
|
1581
|
-
}),
|
|
1581
|
+
}), Yn.zoom);
|
|
1582
1582
|
}
|
|
1583
1583
|
return (e, t) => {
|
|
1584
1584
|
let i = v("router-link");
|
|
1585
|
-
return b(x) ? (p(), s("div",
|
|
1586
|
-
u(
|
|
1585
|
+
return b(x) ? (p(), s("div", Wr, [
|
|
1586
|
+
u(Rr, {
|
|
1587
1587
|
kind: "intro",
|
|
1588
1588
|
previous: { name: "home" },
|
|
1589
1589
|
next: k.value
|
|
1590
1590
|
}, null, 8, ["next"]),
|
|
1591
|
-
c("div",
|
|
1592
|
-
c("div",
|
|
1591
|
+
c("div", Gr, [c("div", Kr, [
|
|
1592
|
+
c("div", qr, y(b(d)("home.introduction")), 1),
|
|
1593
1593
|
c("div", {
|
|
1594
1594
|
class: "mwnf-sh-intro__body",
|
|
1595
1595
|
innerHTML: b(r).md(O.value.description ?? "")
|
|
1596
|
-
}, null, 8,
|
|
1597
|
-
u(
|
|
1596
|
+
}, null, 8, Jr),
|
|
1597
|
+
u(Ur, {
|
|
1598
1598
|
title: b(D),
|
|
1599
1599
|
blocks: [{
|
|
1600
1600
|
heading: b(d)("home.introduction"),
|
|
1601
1601
|
text: O.value.description ?? ""
|
|
1602
1602
|
}]
|
|
1603
1603
|
}, null, 8, ["title", "blocks"])
|
|
1604
|
-
]), c("div",
|
|
1605
|
-
c("div",
|
|
1604
|
+
]), c("div", Yr, [N.value ? (p(), s("div", Xr, [
|
|
1605
|
+
c("div", Zr, [c("div", null, [
|
|
1606
1606
|
w((p(), s("button", {
|
|
1607
1607
|
type: "button",
|
|
1608
1608
|
onClick: I
|
|
@@ -1610,7 +1610,7 @@ var Kn = {
|
|
|
1610
1610
|
class: "mwnf-sh-intro__shown",
|
|
1611
1611
|
src: N.value.image_url,
|
|
1612
1612
|
alt: ""
|
|
1613
|
-
}, null, 8,
|
|
1613
|
+
}, null, 8, Qr)])), [[b(q), { text: b(d)("item.showZoom") }]]),
|
|
1614
1614
|
t[0] ||= l("\xA0", -1),
|
|
1615
1615
|
t[1] ||= c("br", null, null, -1),
|
|
1616
1616
|
w((p(), s("button", {
|
|
@@ -1621,16 +1621,16 @@ var Kn = {
|
|
|
1621
1621
|
alt: "",
|
|
1622
1622
|
width: "15",
|
|
1623
1623
|
height: "15"
|
|
1624
|
-
}, null, 8,
|
|
1624
|
+
}, null, 8, $r)])), [[b(q), { text: b(d)("item.showZoom") }]])
|
|
1625
1625
|
])]),
|
|
1626
1626
|
P.value.name ? (p(), s("b", {
|
|
1627
1627
|
key: 0,
|
|
1628
1628
|
innerHTML: b(r).mdInline(P.value.name)
|
|
1629
|
-
}, null, 8,
|
|
1629
|
+
}, null, 8, ei)) : o("", !0),
|
|
1630
1630
|
P.value.secondName ? (p(), s(n, { key: 1 }, [
|
|
1631
1631
|
t[2] ||= c("br", null, null, -1),
|
|
1632
1632
|
t[3] ||= c("br", null, null, -1),
|
|
1633
|
-
c("b", { innerHTML: b(r).mdInline(P.value.secondName) }, null, 8,
|
|
1633
|
+
c("b", { innerHTML: b(r).mdInline(P.value.secondName) }, null, 8, ti)
|
|
1634
1634
|
], 64)) : o("", !0),
|
|
1635
1635
|
(p(), s(n, null, g([
|
|
1636
1636
|
"date",
|
|
@@ -1642,7 +1642,7 @@ var Kn = {
|
|
|
1642
1642
|
], (e) => (p(), s(n, { key: e }, [P.value[e] ? (p(), s(n, { key: 0 }, [
|
|
1643
1643
|
t[4] ||= c("br", null, null, -1),
|
|
1644
1644
|
t[5] ||= c("br", null, null, -1),
|
|
1645
|
-
c("span", { innerHTML: b(r).mdInline(P.value[e]) }, null, 8,
|
|
1645
|
+
c("span", { innerHTML: b(r).mdInline(P.value[e]) }, null, 8, ni)
|
|
1646
1646
|
], 64)) : o("", !0)], 64))), 64)),
|
|
1647
1647
|
t[6] ||= c("br", null, null, -1),
|
|
1648
1648
|
t[7] ||= c("br", null, null, -1),
|
|
@@ -1652,40 +1652,40 @@ var Kn = {
|
|
|
1652
1652
|
class: "mwnf-sh-arrow",
|
|
1653
1653
|
width: "11",
|
|
1654
1654
|
height: "8"
|
|
1655
|
-
}, null, 8,
|
|
1656
|
-
c("a", { href: F.value }, y(b(d)("item.moreInfo")), 9,
|
|
1657
|
-
])) : o("", !0),
|
|
1655
|
+
}, null, 8, ri),
|
|
1656
|
+
c("a", { href: F.value }, y(b(d)("item.moreInfo")), 9, ii)
|
|
1657
|
+
])) : o("", !0), A.value.length ? (p(), s("div", ai, [(p(!0), s(n, null, g(A.value, (e, t) => (p(), s("button", {
|
|
1658
1658
|
key: e.image_url,
|
|
1659
1659
|
type: "button",
|
|
1660
1660
|
onClick: (e) => M.value = t
|
|
1661
1661
|
}, [c("img", {
|
|
1662
1662
|
src: e.image_url,
|
|
1663
1663
|
alt: ""
|
|
1664
|
-
}, null, 8,
|
|
1665
|
-
c("div",
|
|
1664
|
+
}, null, 8, si)], 8, oi))), 128))])) : o("", !0)])]),
|
|
1665
|
+
c("div", ci, [c("div", li, [c("b", null, y(b(d)("page.inExhibition")), 1), c("ul", null, [c("li", null, [c("img", {
|
|
1666
1666
|
src: b(_)("legacy/arrow.gif"),
|
|
1667
1667
|
alt: "",
|
|
1668
1668
|
width: "10",
|
|
1669
1669
|
height: "9"
|
|
1670
|
-
}, null, 8,
|
|
1670
|
+
}, null, 8, ui), c("span", di, y(b(d)("home.introduction")), 1)]), (p(!0), s(n, null, g(b(E), (e, t) => (p(), s("li", { key: e.id }, [c("img", {
|
|
1671
1671
|
src: b(_)("legacy/arrow.gif"),
|
|
1672
1672
|
alt: "",
|
|
1673
1673
|
width: "10",
|
|
1674
1674
|
height: "9"
|
|
1675
|
-
}, null, 8,
|
|
1675
|
+
}, null, 8, fi), u(i, { to: {
|
|
1676
1676
|
name: "theme",
|
|
1677
1677
|
params: { theme: t + 1 }
|
|
1678
1678
|
} }, {
|
|
1679
|
-
default: C(() => [l(y(b(
|
|
1679
|
+
default: C(() => [l(y(b(j)(b(T)(e.id).title ?? "")), 1)]),
|
|
1680
1680
|
_: 2
|
|
1681
|
-
}, 1032, ["to"])]))), 128))])]), c("div",
|
|
1681
|
+
}, 1032, ["to"])]))), 128))])]), c("div", pi, [u(rr, { arrow: "legacy/arrow_inner.gif" }), u(cr, { class: "mwnf-sh-bottom__windows" })])])
|
|
1682
1682
|
])) : o("", !0);
|
|
1683
1683
|
};
|
|
1684
1684
|
}
|
|
1685
|
-
},
|
|
1685
|
+
}, hi = {
|
|
1686
1686
|
key: 0,
|
|
1687
1687
|
class: "mwnf-sh-panel"
|
|
1688
|
-
},
|
|
1688
|
+
}, gi = { class: "mwnf-sh-panel__picture" }, _i = { class: "mwnf-sh-panel__frame" }, vi = ["src"], yi = { class: "mwnf-sh-panel__magnify" }, bi = ["src"], xi = { class: "mwnf-sh-panel__caption" }, Si = ["innerHTML"], Ci = ["innerHTML"], wi = ["innerHTML"], Ti = ["innerHTML"], Ei = ["innerHTML"], Di = ["innerHTML"], Oi = ["innerHTML"], ki = ["src"], Ai = ["href"], ji = { class: "mwnf-sh-panel__related" }, Mi = ["onClick"], Ni = ["src"], Pi = {
|
|
1689
1689
|
__name: "Panel",
|
|
1690
1690
|
props: {
|
|
1691
1691
|
slot: {
|
|
@@ -1707,16 +1707,16 @@ var Kn = {
|
|
|
1707
1707
|
Z(d({
|
|
1708
1708
|
name: "zoom",
|
|
1709
1709
|
query: { img: _.value.image_url }
|
|
1710
|
-
}),
|
|
1710
|
+
}), Yn.zoom);
|
|
1711
1711
|
}
|
|
1712
|
-
return (e, t) => _.value ? (p(), s("div",
|
|
1712
|
+
return (e, t) => _.value ? (p(), s("div", hi, [c("div", gi, [c("div", _i, [c("div", null, [w((p(), s("button", {
|
|
1713
1713
|
type: "button",
|
|
1714
1714
|
onClick: C
|
|
1715
1715
|
}, [c("img", {
|
|
1716
1716
|
class: "mwnf-sh-panel__shown",
|
|
1717
1717
|
src: _.value.image_url,
|
|
1718
1718
|
alt: ""
|
|
1719
|
-
}, null, 8,
|
|
1719
|
+
}, null, 8, vi)])), [[b(q), { text: b(f)("item.showZoom") }]]), c("div", yi, [w((p(), s("button", {
|
|
1720
1720
|
type: "button",
|
|
1721
1721
|
onClick: C
|
|
1722
1722
|
}, [c("img", {
|
|
@@ -1724,76 +1724,76 @@ var Kn = {
|
|
|
1724
1724
|
alt: "",
|
|
1725
1725
|
width: "15",
|
|
1726
1726
|
height: "15"
|
|
1727
|
-
}, null, 8,
|
|
1727
|
+
}, null, 8, bi)])), [[b(q), { text: b(f)("item.showZoom") }]])])])])]), c("div", xi, [
|
|
1728
1728
|
v.value.name ? (p(), s("p", {
|
|
1729
1729
|
key: 0,
|
|
1730
1730
|
class: "mwnf-sh-panel__name",
|
|
1731
1731
|
innerHTML: b(u).mdInline(v.value.name)
|
|
1732
|
-
}, null, 8,
|
|
1732
|
+
}, null, 8, Si)) : o("", !0),
|
|
1733
1733
|
v.value.date ? (p(), s("p", {
|
|
1734
1734
|
key: 1,
|
|
1735
1735
|
innerHTML: b(u).mdInline(v.value.date)
|
|
1736
|
-
}, null, 8,
|
|
1736
|
+
}, null, 8, Ci)) : o("", !0),
|
|
1737
1737
|
v.value.place ? (p(), s("p", {
|
|
1738
1738
|
key: 2,
|
|
1739
1739
|
innerHTML: b(u).mdInline(v.value.place)
|
|
1740
|
-
}, null, 8,
|
|
1740
|
+
}, null, 8, wi)) : o("", !0),
|
|
1741
1741
|
v.value.artist ? (p(), s("p", {
|
|
1742
1742
|
key: 3,
|
|
1743
1743
|
innerHTML: b(u).mdInline(v.value.artist)
|
|
1744
|
-
}, null, 8,
|
|
1744
|
+
}, null, 8, Ti)) : o("", !0),
|
|
1745
1745
|
v.value.material ? (p(), s("p", {
|
|
1746
1746
|
key: 4,
|
|
1747
1747
|
innerHTML: b(u).mdInline(v.value.material)
|
|
1748
|
-
}, null, 8,
|
|
1748
|
+
}, null, 8, Ei)) : o("", !0),
|
|
1749
1749
|
v.value.architects ? (p(), s("p", {
|
|
1750
1750
|
key: 5,
|
|
1751
1751
|
innerHTML: b(u).mdInline(v.value.architects)
|
|
1752
|
-
}, null, 8,
|
|
1752
|
+
}, null, 8, Di)) : o("", !0),
|
|
1753
1753
|
v.value.justification ? (p(), s("p", {
|
|
1754
1754
|
key: 6,
|
|
1755
1755
|
class: "mwnf-sh-panel__justification",
|
|
1756
1756
|
innerHTML: b(u).mdInline(v.value.justification)
|
|
1757
|
-
}, null, 8,
|
|
1757
|
+
}, null, 8, Oi)) : o("", !0),
|
|
1758
1758
|
c("p", null, [c("img", {
|
|
1759
1759
|
src: b(m)("legacy/arrow_inner_black.gif"),
|
|
1760
1760
|
alt: "",
|
|
1761
1761
|
class: "mwnf-sh-arrow",
|
|
1762
1762
|
width: "11",
|
|
1763
1763
|
height: "8"
|
|
1764
|
-
}, null, 8,
|
|
1764
|
+
}, null, 8, ki), c("a", {
|
|
1765
1765
|
href: x.value,
|
|
1766
1766
|
target: "_blank",
|
|
1767
1767
|
rel: "noopener",
|
|
1768
1768
|
class: "mwnf-sh-panel__sheet"
|
|
1769
|
-
}, y(b(f)("item.moreInfo")), 9,
|
|
1770
|
-
S.value.length ? (p(), s(n, { key: 7 }, [c("p", null, [c("b", null, y(b(f)("item.related")), 1)]), c("div",
|
|
1769
|
+
}, y(b(f)("item.moreInfo")), 9, Ai)]),
|
|
1770
|
+
S.value.length ? (p(), s(n, { key: 7 }, [c("p", null, [c("b", null, y(b(f)("item.related")), 1)]), c("div", ji, [(p(!0), s(n, null, g(S.value, (e) => (p(), s("button", {
|
|
1771
1771
|
key: e.index,
|
|
1772
1772
|
type: "button",
|
|
1773
1773
|
onClick: (t) => a("update:view", e.index)
|
|
1774
1774
|
}, [c("img", {
|
|
1775
1775
|
src: e.variant.image_url,
|
|
1776
1776
|
alt: ""
|
|
1777
|
-
}, null, 8,
|
|
1777
|
+
}, null, 8, Ni)], 8, Mi))), 128))])], 64)) : o("", !0)
|
|
1778
1778
|
])])) : o("", !0);
|
|
1779
1779
|
}
|
|
1780
|
-
},
|
|
1780
|
+
}, Fi = {
|
|
1781
1781
|
key: 1,
|
|
1782
1782
|
class: "mwnf-sh-pagewrap",
|
|
1783
1783
|
style: { "font-size": "calc(11px * var(--sh-text-scale, 1))" }
|
|
1784
|
-
},
|
|
1784
|
+
}, Ii = { class: "mwnf-sh-page" }, Li = { class: "mwnf-sh-page__text" }, Ri = { class: "mwnf-sh-page__theme" }, zi = { class: "mwnf-sh-page__name" }, Bi = {
|
|
1785
1785
|
key: 0,
|
|
1786
1786
|
class: "mwnf-sh-page__thumbs"
|
|
1787
|
-
},
|
|
1787
|
+
}, Vi = ["onClick"], Hi = ["src"], Ui = { class: "mwnf-sh-page__body" }, Wi = ["innerHTML"], Gi = ["innerHTML"], Ki = { class: "mwnf-sh-more" }, qi = { class: "mwnf-sh-more__label" }, Ji = { class: "mwnf-sh-more__theme" }, Yi = ["src"], Xi = {
|
|
1788
1788
|
key: 0,
|
|
1789
1789
|
class: "mwnf-sh-more__current"
|
|
1790
|
-
},
|
|
1790
|
+
}, Zi = ["src"], Qi = {
|
|
1791
1791
|
key: 0,
|
|
1792
1792
|
class: "mwnf-sh-more__current"
|
|
1793
|
-
},
|
|
1793
|
+
}, $i = { class: "mwnf-sh-bottom" }, ea = { class: "mwnf-sh-bottom__pages" }, ta = ["src"], na = ["src"], ra = {
|
|
1794
1794
|
key: 0,
|
|
1795
1795
|
class: "mwnf-sh-bottom__current"
|
|
1796
|
-
},
|
|
1796
|
+
}, ia = { class: "mwnf-sh-bottom__related" }, aa = {
|
|
1797
1797
|
__name: "Page",
|
|
1798
1798
|
props: {
|
|
1799
1799
|
theme: {
|
|
@@ -1806,13 +1806,13 @@ var Kn = {
|
|
|
1806
1806
|
}
|
|
1807
1807
|
},
|
|
1808
1808
|
setup(e) {
|
|
1809
|
-
let t = e, { data: r, label: d, pageAt: f, picture: m, slots: _, subthemesOf: x, text: w, themes: T, title: D } = $(), O = i(() => f(t.theme, t.page)), k = i(() => O.value?.themeNode ?? null),
|
|
1810
|
-
S(
|
|
1809
|
+
let t = e, { data: r, label: d, pageAt: f, picture: m, slots: _, subthemesOf: x, text: w, themes: T, title: D } = $(), O = i(() => f(t.theme, t.page)), k = i(() => O.value?.themeNode ?? null), A = i(() => O.value?.node ?? null), M = i(() => A.value ? w(A.value.id) : {}), N = i(() => _(A.value)), P = i(() => k.value ? x(k.value.id) : []), F = h(0), I = h(0);
|
|
1810
|
+
S(A, () => {
|
|
1811
1811
|
F.value = 0, I.value = 0;
|
|
1812
1812
|
});
|
|
1813
1813
|
let L = (e) => {
|
|
1814
1814
|
F.value = e, I.value = 0;
|
|
1815
|
-
}, R = (e) =>
|
|
1815
|
+
}, R = (e) => j(w(e).title ?? ""), z = i(() => t.page === 0 ? d("home.overview") : j(M.value.title ?? "")), ee = i(() => [
|
|
1816
1816
|
{ heading: w(k.value?.id).title },
|
|
1817
1817
|
{ heading: z.value },
|
|
1818
1818
|
{ text: M.value.quote ?? "" },
|
|
@@ -1820,39 +1820,39 @@ var Kn = {
|
|
|
1820
1820
|
]);
|
|
1821
1821
|
return (t, i) => {
|
|
1822
1822
|
let f = v("router-link");
|
|
1823
|
-
return O.value ? (p(), s("div",
|
|
1824
|
-
u(
|
|
1825
|
-
c("div",
|
|
1826
|
-
c("div",
|
|
1827
|
-
c("div",
|
|
1828
|
-
N.value.length ? (p(), s("div",
|
|
1823
|
+
return O.value ? (p(), s("div", Fi, [
|
|
1824
|
+
u(Rr, { next: O.value.next }, null, 8, ["next"]),
|
|
1825
|
+
c("div", Ii, [c("div", Li, [
|
|
1826
|
+
c("div", Ri, y(R(k.value.id)), 1),
|
|
1827
|
+
c("div", zi, "\xA0" + y(z.value), 1),
|
|
1828
|
+
N.value.length ? (p(), s("div", Bi, [(p(!0), s(n, null, g(N.value, (e, t) => (p(), s("button", {
|
|
1829
1829
|
key: `${e.n}-${e.variants[0].id}`,
|
|
1830
1830
|
type: "button",
|
|
1831
1831
|
onClick: (e) => L(t)
|
|
1832
1832
|
}, [c("img", {
|
|
1833
1833
|
src: e.variants[0].image_url,
|
|
1834
1834
|
alt: ""
|
|
1835
|
-
}, null, 8,
|
|
1835
|
+
}, null, 8, Hi)], 8, Vi))), 128))])) : o("", !0),
|
|
1836
1836
|
i[2] ||= c("div", { class: "mwnf-sh-page__rule" }, null, -1),
|
|
1837
|
-
c("div",
|
|
1837
|
+
c("div", Ui, [M.value.quote ? (p(), s("div", {
|
|
1838
1838
|
key: 0,
|
|
1839
1839
|
class: "mwnf-sh-page__quote",
|
|
1840
1840
|
innerHTML: b(r).md(M.value.quote)
|
|
1841
|
-
}, null, 8,
|
|
1841
|
+
}, null, 8, Wi)) : o("", !0), M.value.description ? (p(), s("div", {
|
|
1842
1842
|
key: 1,
|
|
1843
1843
|
innerHTML: b(r).md(M.value.description)
|
|
1844
|
-
}, null, 8,
|
|
1845
|
-
c("div",
|
|
1846
|
-
c("span",
|
|
1844
|
+
}, null, 8, Gi)) : o("", !0)]),
|
|
1845
|
+
c("div", Ki, [c("b", null, [
|
|
1846
|
+
c("span", qi, y(b(d)("page.moreAbout")), 1),
|
|
1847
1847
|
i[1] ||= c("br", null, null, -1),
|
|
1848
|
-
c("span",
|
|
1848
|
+
c("span", Ji, y(R(k.value.id)), 1)
|
|
1849
1849
|
]), c("ul", null, [c("li", null, [c("img", {
|
|
1850
1850
|
src: b(m)("legacy/arrow_inner_black.gif"),
|
|
1851
1851
|
alt: "",
|
|
1852
1852
|
class: "mwnf-sh-arrow",
|
|
1853
1853
|
width: "11",
|
|
1854
1854
|
height: "8"
|
|
1855
|
-
}, null, 8,
|
|
1855
|
+
}, null, 8, Yi), e.page === 0 ? (p(), s("span", Xi, y(b(d)("home.overview")), 1)) : (p(), a(f, {
|
|
1856
1856
|
key: 1,
|
|
1857
1857
|
to: {
|
|
1858
1858
|
name: "theme",
|
|
@@ -1867,7 +1867,7 @@ var Kn = {
|
|
|
1867
1867
|
class: "mwnf-sh-arrow",
|
|
1868
1868
|
width: "11",
|
|
1869
1869
|
height: "8"
|
|
1870
|
-
}, null, 8,
|
|
1870
|
+
}, null, 8, Zi), e.page === n + 1 ? (p(), s("span", Qi, y(R(t.id)), 1)) : (p(), a(f, {
|
|
1871
1871
|
key: 1,
|
|
1872
1872
|
to: {
|
|
1873
1873
|
name: "subtheme",
|
|
@@ -1880,21 +1880,21 @@ var Kn = {
|
|
|
1880
1880
|
default: C(() => [l(y(R(t.id)), 1)]),
|
|
1881
1881
|
_: 2
|
|
1882
1882
|
}, 1032, ["to"]))]))), 128))])]),
|
|
1883
|
-
u(
|
|
1883
|
+
u(Ur, {
|
|
1884
1884
|
title: b(D),
|
|
1885
|
-
blocks:
|
|
1885
|
+
blocks: ee.value
|
|
1886
1886
|
}, null, 8, ["title", "blocks"])
|
|
1887
|
-
]), u(
|
|
1887
|
+
]), u(Pi, {
|
|
1888
1888
|
view: I.value,
|
|
1889
1889
|
"onUpdate:view": i[0] ||= (e) => I.value = e,
|
|
1890
1890
|
slot: N.value[F.value] ?? null
|
|
1891
1891
|
}, null, 8, ["view", "slot"])]),
|
|
1892
|
-
c("div",
|
|
1892
|
+
c("div", $i, [c("div", ea, [c("b", null, y(b(d)("page.inExhibition")), 1), c("ul", null, [c("li", null, [c("img", {
|
|
1893
1893
|
src: b(m)("legacy/arrow.gif"),
|
|
1894
1894
|
alt: "",
|
|
1895
1895
|
width: "10",
|
|
1896
1896
|
height: "9"
|
|
1897
|
-
}, null, 8,
|
|
1897
|
+
}, null, 8, ta), u(f, { to: { name: "introduction" } }, {
|
|
1898
1898
|
default: C(() => [l(y(b(d)("home.introduction")), 1)]),
|
|
1899
1899
|
_: 1
|
|
1900
1900
|
})]), (p(!0), s(n, null, g(b(T), (t, n) => (p(), s("li", { key: t.id }, [c("img", {
|
|
@@ -1902,7 +1902,7 @@ var Kn = {
|
|
|
1902
1902
|
alt: "",
|
|
1903
1903
|
width: "10",
|
|
1904
1904
|
height: "9"
|
|
1905
|
-
}, null, 8,
|
|
1905
|
+
}, null, 8, na), n + 1 === e.theme ? (p(), s("span", ra, y(R(t.id)), 1)) : (p(), a(f, {
|
|
1906
1906
|
key: 1,
|
|
1907
1907
|
to: {
|
|
1908
1908
|
name: "theme",
|
|
@@ -1911,38 +1911,38 @@ var Kn = {
|
|
|
1911
1911
|
}, {
|
|
1912
1912
|
default: C(() => [l(y(R(t.id)), 1)]),
|
|
1913
1913
|
_: 2
|
|
1914
|
-
}, 1032, ["to"]))]))), 128))])]), c("div",
|
|
1914
|
+
}, 1032, ["to"]))]))), 128))])]), c("div", ia, [u(rr, {
|
|
1915
1915
|
arrow: "legacy/arrow_inner.gif",
|
|
1916
1916
|
"theme-id": k.value.id,
|
|
1917
|
-
"subtheme-id": e.page === 0 ? null :
|
|
1918
|
-
}, null, 8, ["theme-id", "subtheme-id"]), u(
|
|
1917
|
+
"subtheme-id": e.page === 0 ? null : A.value.id
|
|
1918
|
+
}, null, 8, ["theme-id", "subtheme-id"]), u(cr, { class: "mwnf-sh-bottom__windows" })])])
|
|
1919
1919
|
])) : (p(), a(b(E), { key: 0 }));
|
|
1920
1920
|
};
|
|
1921
1921
|
}
|
|
1922
|
-
},
|
|
1922
|
+
}, oa = { key: 0 }, sa = { class: "mwnf-sh-reading" }, ca = { class: "mwnf-sh-reading__languages" }, la = {
|
|
1923
1923
|
key: 0,
|
|
1924
1924
|
class: "mwnf-sh-reading__language mwnf-sh-reading__language--current"
|
|
1925
|
-
},
|
|
1925
|
+
}, ua = {
|
|
1926
1926
|
key: 1,
|
|
1927
1927
|
class: "mwnf-sh-reading__language"
|
|
1928
|
-
},
|
|
1928
|
+
}, da = { class: "mwnf-sh-reading__content" }, fa = { class: "mwnf-sh-reading__close" }, pa = ["src"], ma = { class: "mwnf-sh-reading__title" }, ha = ["innerHTML"], ga = {
|
|
1929
1929
|
__name: "FurtherReading",
|
|
1930
1930
|
setup(e) {
|
|
1931
1931
|
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();
|
|
1932
1932
|
return (e, i) => {
|
|
1933
1933
|
let a = v("router-link");
|
|
1934
|
-
return b(h) ? (p(), s("div",
|
|
1934
|
+
return b(h) ? (p(), s("div", oa, [u(Rr, {
|
|
1935
1935
|
kind: "intro",
|
|
1936
1936
|
heading: b(r)("related.furtherReading"),
|
|
1937
1937
|
paging: !1
|
|
1938
|
-
}, null, 8, ["heading"]), c("div",
|
|
1938
|
+
}, null, 8, ["heading"]), c("div", sa, [c("div", ca, [(p(!0), s(n, null, g(D.value, (e) => (p(), s(n, { key: e }, [e === w.value ? (p(), s("div", la, y(b(d)(e)), 1)) : (p(), s("div", ua, [u(a, { to: {
|
|
1939
1939
|
name: "further-reading",
|
|
1940
1940
|
query: { lang: e }
|
|
1941
1941
|
} }, {
|
|
1942
1942
|
default: C(() => [l(y(b(d)(e)), 1)]),
|
|
1943
1943
|
_: 2
|
|
1944
|
-
}, 1032, ["to"])]))], 64))), 128))]), c("div",
|
|
1945
|
-
c("div",
|
|
1944
|
+
}, 1032, ["to"])]))], 64))), 128))]), c("div", da, [
|
|
1945
|
+
c("div", fa, [c("a", {
|
|
1946
1946
|
href: "#",
|
|
1947
1947
|
onClick: T(O, ["prevent"])
|
|
1948
1948
|
}, [c("img", {
|
|
@@ -1950,16 +1950,16 @@ var Kn = {
|
|
|
1950
1950
|
alt: "",
|
|
1951
1951
|
width: "11",
|
|
1952
1952
|
height: "8"
|
|
1953
|
-
}, null, 8,
|
|
1954
|
-
c("div",
|
|
1953
|
+
}, null, 8, pa), l(y(b(r)("reading.close")), 1)])]),
|
|
1954
|
+
c("div", ma, [c("span", null, y(b(x)), 1)]),
|
|
1955
1955
|
(p(!0), s(n, null, g(E.value, (e) => (p(), s("p", {
|
|
1956
1956
|
key: e,
|
|
1957
1957
|
innerHTML: b(t).mdInline(e)
|
|
1958
|
-
}, null, 8,
|
|
1958
|
+
}, null, 8, ha))), 128))
|
|
1959
1959
|
])])])) : o("", !0);
|
|
1960
1960
|
};
|
|
1961
1961
|
}
|
|
1962
|
-
},
|
|
1962
|
+
}, _a = ["innerHTML"], va = {
|
|
1963
1963
|
__name: "Window",
|
|
1964
1964
|
props: { kind: {
|
|
1965
1965
|
type: String,
|
|
@@ -1974,10 +1974,10 @@ var Kn = {
|
|
|
1974
1974
|
c("h3", null, y(b(l)), 1),
|
|
1975
1975
|
c("p", null, y(b(r)(`windows.${e.kind}`)), 1),
|
|
1976
1976
|
n[0] ||= c("br", null, null, -1),
|
|
1977
|
-
c("div", { innerHTML: d.value }, null, 8,
|
|
1977
|
+
c("div", { innerHTML: d.value }, null, 8, _a)
|
|
1978
1978
|
]));
|
|
1979
1979
|
}
|
|
1980
|
-
},
|
|
1980
|
+
}, ya = ["src"], ba = {
|
|
1981
1981
|
__name: "Zoom",
|
|
1982
1982
|
props: { image: {
|
|
1983
1983
|
type: String,
|
|
@@ -1992,58 +1992,58 @@ var Kn = {
|
|
|
1992
1992
|
key: 0,
|
|
1993
1993
|
src: c.value,
|
|
1994
1994
|
alt: ""
|
|
1995
|
-
}, null, 8,
|
|
1995
|
+
}, null, 8, ya)) : o("", !0);
|
|
1996
1996
|
}
|
|
1997
|
-
},
|
|
1997
|
+
}, xa = [
|
|
1998
1998
|
"collections",
|
|
1999
1999
|
"items",
|
|
2000
2000
|
"countries",
|
|
2001
2001
|
"partners"
|
|
2002
2002
|
];
|
|
2003
|
-
function
|
|
2003
|
+
function Sa(e) {
|
|
2004
2004
|
return [
|
|
2005
2005
|
{
|
|
2006
2006
|
path: "/",
|
|
2007
2007
|
name: "home",
|
|
2008
|
-
component:
|
|
2009
|
-
meta: e("home", ...
|
|
2008
|
+
component: Or,
|
|
2009
|
+
meta: e("home", ...xa)
|
|
2010
2010
|
},
|
|
2011
2011
|
{
|
|
2012
2012
|
path: "/introduction",
|
|
2013
2013
|
name: "introduction",
|
|
2014
|
-
component:
|
|
2015
|
-
meta: e("introduction", ...
|
|
2014
|
+
component: mi,
|
|
2015
|
+
meta: e("introduction", ...xa)
|
|
2016
2016
|
},
|
|
2017
2017
|
{
|
|
2018
2018
|
path: "/theme/:theme(\\d+)",
|
|
2019
2019
|
name: "theme",
|
|
2020
|
-
component:
|
|
2020
|
+
component: aa,
|
|
2021
2021
|
props: (e) => ({
|
|
2022
2022
|
theme: Number(e.params.theme),
|
|
2023
2023
|
page: 0
|
|
2024
2024
|
}),
|
|
2025
|
-
meta: e("theme", ...
|
|
2025
|
+
meta: e("theme", ...xa)
|
|
2026
2026
|
},
|
|
2027
2027
|
{
|
|
2028
2028
|
path: "/theme/:theme(\\d+)/:page(\\d+)",
|
|
2029
2029
|
name: "subtheme",
|
|
2030
|
-
component:
|
|
2030
|
+
component: aa,
|
|
2031
2031
|
props: (e) => ({
|
|
2032
2032
|
theme: Number(e.params.theme),
|
|
2033
2033
|
page: Number(e.params.page)
|
|
2034
2034
|
}),
|
|
2035
|
-
meta: e("subtheme", ...
|
|
2035
|
+
meta: e("subtheme", ...xa)
|
|
2036
2036
|
},
|
|
2037
2037
|
{
|
|
2038
2038
|
path: "/further-reading",
|
|
2039
2039
|
name: "further-reading",
|
|
2040
|
-
component:
|
|
2040
|
+
component: ga,
|
|
2041
2041
|
meta: e("further-reading", "collections")
|
|
2042
2042
|
},
|
|
2043
2043
|
{
|
|
2044
2044
|
path: "/credits",
|
|
2045
2045
|
name: "credits",
|
|
2046
|
-
component:
|
|
2046
|
+
component: va,
|
|
2047
2047
|
props: { kind: "curators" },
|
|
2048
2048
|
meta: {
|
|
2049
2049
|
...e("credits", "collections"),
|
|
@@ -2053,7 +2053,7 @@ function ya(e) {
|
|
|
2053
2053
|
{
|
|
2054
2054
|
path: "/cover-image",
|
|
2055
2055
|
name: "cover-image",
|
|
2056
|
-
component:
|
|
2056
|
+
component: va,
|
|
2057
2057
|
props: { kind: "coverImage" },
|
|
2058
2058
|
meta: {
|
|
2059
2059
|
...e("cover-image", "collections"),
|
|
@@ -2063,7 +2063,7 @@ function ya(e) {
|
|
|
2063
2063
|
{
|
|
2064
2064
|
path: "/zoom",
|
|
2065
2065
|
name: "zoom",
|
|
2066
|
-
component:
|
|
2066
|
+
component: ba,
|
|
2067
2067
|
props: (e) => ({ image: String(e.query.img ?? "") }),
|
|
2068
2068
|
meta: {
|
|
2069
2069
|
...e("zoom", "collections"),
|
|
@@ -2072,8 +2072,8 @@ function ya(e) {
|
|
|
2072
2072
|
}
|
|
2073
2073
|
];
|
|
2074
2074
|
}
|
|
2075
|
-
var
|
|
2076
|
-
function
|
|
2075
|
+
var Ca = "https://www.museumwnf.org/about/language-policy";
|
|
2076
|
+
function wa({ languages: e, parent: t, profiles: n = [], texts: r = Rn }) {
|
|
2077
2077
|
let i = [{
|
|
2078
2078
|
label: "header.project",
|
|
2079
2079
|
href: `${t}/#/about`
|
|
@@ -2084,7 +2084,7 @@ function xa({ languages: e, parent: t, profiles: n = [], texts: r = Fn }) {
|
|
|
2084
2084
|
return {
|
|
2085
2085
|
languages: e,
|
|
2086
2086
|
texts: r,
|
|
2087
|
-
portalHref:
|
|
2087
|
+
portalHref: M.portal,
|
|
2088
2088
|
homeHref: `${t}/#/`,
|
|
2089
2089
|
aboutLinks: i,
|
|
2090
2090
|
menu: [
|
|
@@ -2125,38 +2125,38 @@ function xa({ languages: e, parent: t, profiles: n = [], texts: r = Fn }) {
|
|
|
2125
2125
|
{
|
|
2126
2126
|
label: "menu.myCollection",
|
|
2127
2127
|
tip: "menu.myCollectionTip",
|
|
2128
|
-
href:
|
|
2128
|
+
href: M.myCollection
|
|
2129
2129
|
}
|
|
2130
2130
|
],
|
|
2131
2131
|
footerLinks: [
|
|
2132
2132
|
{
|
|
2133
2133
|
label: "footer.aboutMwnf",
|
|
2134
|
-
href:
|
|
2134
|
+
href: M.about
|
|
2135
2135
|
},
|
|
2136
2136
|
{
|
|
2137
2137
|
label: "footer.contact",
|
|
2138
|
-
href:
|
|
2138
|
+
href: M.contact
|
|
2139
2139
|
},
|
|
2140
2140
|
{
|
|
2141
2141
|
label: "footer.legalNotice",
|
|
2142
|
-
href:
|
|
2142
|
+
href: M.legalNotice
|
|
2143
2143
|
},
|
|
2144
2144
|
{
|
|
2145
2145
|
label: "footer.credits",
|
|
2146
|
-
href:
|
|
2146
|
+
href: M.credits
|
|
2147
2147
|
},
|
|
2148
2148
|
{
|
|
2149
2149
|
label: "footer.languagePolicy",
|
|
2150
|
-
href:
|
|
2150
|
+
href: Ca
|
|
2151
2151
|
},
|
|
2152
2152
|
{
|
|
2153
2153
|
label: "footer.cookies",
|
|
2154
|
-
href:
|
|
2154
|
+
href: M.cookies
|
|
2155
2155
|
}
|
|
2156
2156
|
]
|
|
2157
2157
|
};
|
|
2158
2158
|
}
|
|
2159
|
-
function
|
|
2159
|
+
function Ta({ parent: e, texts: t = Rn, ...n }) {
|
|
2160
2160
|
return {
|
|
2161
2161
|
parent: e,
|
|
2162
2162
|
texts: t,
|
|
@@ -2165,10 +2165,10 @@ function Sa({ parent: e, texts: t = Fn, ...n }) {
|
|
|
2165
2165
|
};
|
|
2166
2166
|
}
|
|
2167
2167
|
// src/minisite/baroqueart/Shell.vue
|
|
2168
|
-
var
|
|
2168
|
+
var Ea = {
|
|
2169
2169
|
key: 1,
|
|
2170
2170
|
class: "mwnf-baroqueart"
|
|
2171
|
-
},
|
|
2171
|
+
}, Da = { class: "mwnf-baroqueart__column" }, Oa = { class: "mwnf-baroqueart-header" }, ka = { class: "mwnf-baroqueart-header__logo" }, Aa = ["href"], ja = ["src"], Ma = { class: "mwnf-baroqueart-header__nav" }, Na = { class: "mwnf-baroqueart-header__back" }, Pa = ["href"], Fa = ["value", "aria-label"], Ia = ["value"], La = { class: "mwnf-baroqueart-menu" }, Ra = { class: "mwnf-baroqueart-menu__list" }, za = ["href"], Ba = { class: "mwnf-baroqueart-footer" }, Va = ["href"], Ha = {
|
|
2172
2172
|
__name: "Shell",
|
|
2173
2173
|
props: {
|
|
2174
2174
|
languages: {
|
|
@@ -2206,28 +2206,28 @@ var Ca = {
|
|
|
2206
2206
|
},
|
|
2207
2207
|
emits: ["update:language"],
|
|
2208
2208
|
setup(t, { emit: r }) {
|
|
2209
|
-
let a = t, u = r, { t: m } =
|
|
2209
|
+
let a = t, u = r, { t: m } = B(), h = V(), v = H(), 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(() => {
|
|
2210
2210
|
let e = C("legacy/bg_fading_left.gif"), t = C("legacy/bg_fading_right.gif");
|
|
2211
2211
|
return a.language === "en" ? [e, t] : [t, e];
|
|
2212
2212
|
});
|
|
2213
2213
|
return (e, r) => (p(), s(n, null, [S.value ? (p(), s("div", {
|
|
2214
2214
|
key: 0,
|
|
2215
2215
|
class: d(`mwnf-baroqueart-window mwnf-baroqueart-window--${S.value}`)
|
|
2216
|
-
}, [_(e.$slots, "default")], 2)) : (p(), s("div",
|
|
2216
|
+
}, [_(e.$slots, "default")], 2)) : (p(), s("div", Ea, [
|
|
2217
2217
|
c("div", {
|
|
2218
2218
|
class: "mwnf-baroqueart__strip",
|
|
2219
2219
|
style: f({ backgroundImage: D.value[0] ? `url(${D.value[0]})` : "none" }),
|
|
2220
2220
|
"aria-hidden": "true"
|
|
2221
2221
|
}, null, 4),
|
|
2222
|
-
c("div",
|
|
2223
|
-
c("header",
|
|
2222
|
+
c("div", Da, [
|
|
2223
|
+
c("header", Oa, [c("div", ka, [w((p(), s("a", { href: t.logoHref }, [c("img", {
|
|
2224
2224
|
src: C(`legacy/logo_${t.language}.gif`),
|
|
2225
2225
|
alt: "",
|
|
2226
2226
|
height: "60"
|
|
2227
|
-
}, null, 8,
|
|
2227
|
+
}, null, 8, ja)], 8, Aa)), [[b(q), { text: t.logoTip ? b(m)(t.logoTip) : "" }]])]), c("div", Ma, [c("div", Na, [(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", {
|
|
2228
2228
|
class: "mwnf-baroqueart-header__link",
|
|
2229
2229
|
href: e.href
|
|
2230
|
-
}, [l(y(b(m)(e.label)), 1)], 8,
|
|
2230
|
+
}, [l(y(b(m)(e.label)), 1)], 8, Pa)), [[b(q), { text: e.tip ? b(m)(e.tip) : "" }]])], 64))), 128))]), c("div", null, [c("select", {
|
|
2231
2231
|
class: "mwnf-baroqueart-header__select",
|
|
2232
2232
|
value: t.language,
|
|
2233
2233
|
"aria-label": b(m)("layout.language.label"),
|
|
@@ -2235,11 +2235,11 @@ var Ca = {
|
|
|
2235
2235
|
}, [(p(!0), s(n, null, g(T.value, (e) => (p(), s("option", {
|
|
2236
2236
|
key: e.code,
|
|
2237
2237
|
value: e.code
|
|
2238
|
-
}, y(e.label), 9,
|
|
2238
|
+
}, y(e.label), 9, Ia))), 128))], 40, Fa)])])]),
|
|
2239
2239
|
c("main", null, [_(e.$slots, "default")]),
|
|
2240
|
-
c("nav",
|
|
2240
|
+
c("nav", La, [c("ul", Ra, [(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, za)]))), 128))])]),
|
|
2241
2241
|
r[2] ||= c("div", { class: "mwnf-baroqueart-menu__line" }, null, -1),
|
|
2242
|
-
c("footer",
|
|
2242
|
+
c("footer", Ba, [(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, Va), r[1] ||= l("\xA0|\xA0 ", -1)], 64))), 128)), l(y(b(m)(t.copyright)) + " " + y(b(E)), 1)])
|
|
2243
2243
|
]),
|
|
2244
2244
|
c("div", {
|
|
2245
2245
|
class: "mwnf-baroqueart__strip",
|
|
@@ -2249,18 +2249,18 @@ var Ca = {
|
|
|
2249
2249
|
])), w(c("div", {
|
|
2250
2250
|
class: "mwnf-baroqueart-tip",
|
|
2251
2251
|
style: f({
|
|
2252
|
-
left: `${b(
|
|
2253
|
-
top: `${b(
|
|
2254
|
-
width: `${b(
|
|
2252
|
+
left: `${b(W).x + 12}px`,
|
|
2253
|
+
top: `${b(W).y + 16}px`,
|
|
2254
|
+
width: `${b(W).width}px`
|
|
2255
2255
|
}),
|
|
2256
2256
|
role: "tooltip"
|
|
2257
|
-
}, y(b(
|
|
2257
|
+
}, y(b(W).text), 5), [[x, b(W).visible]])], 64));
|
|
2258
2258
|
}
|
|
2259
|
-
},
|
|
2259
|
+
}, Ua = {
|
|
2260
2260
|
partners: ["325b7505-1527-5442-99ea-6a40f8c43d3f"],
|
|
2261
2261
|
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}`)
|
|
2262
2262
|
};
|
|
2263
|
-
function
|
|
2263
|
+
function Wa(e) {
|
|
2264
2264
|
let t = /* @__PURE__ */ new Map();
|
|
2265
2265
|
for (let n of e?.items ?? []) {
|
|
2266
2266
|
let e = n.display_order ?? 0;
|
|
@@ -2279,21 +2279,21 @@ function Va(e) {
|
|
|
2279
2279
|
}])
|
|
2280
2280
|
}));
|
|
2281
2281
|
}
|
|
2282
|
-
function
|
|
2282
|
+
function Ga(e, t, n) {
|
|
2283
2283
|
return !e || e.type === "object" && n?.partners?.includes(e.partner_id) || e.type === "monument" && n?.monuments?.includes(e.mwnf_reference) ? "" : t(e);
|
|
2284
2284
|
}
|
|
2285
|
-
function
|
|
2285
|
+
function Ka(e, t, n, r) {
|
|
2286
2286
|
return [
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2287
|
+
P(t.location ?? ""),
|
|
2288
|
+
P(t.province ?? ""),
|
|
2289
|
+
Ga(e, n, r)
|
|
2290
2290
|
].filter(Boolean).join(", ");
|
|
2291
2291
|
}
|
|
2292
|
-
function
|
|
2293
|
-
return n.location ? [n.location, e ? r(e) : ""].filter(Boolean).join(", ") :
|
|
2292
|
+
function qa({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i }) {
|
|
2293
|
+
return n.location ? [n.location, e ? r(e) : ""].filter(Boolean).join(", ") : Ka(e, t, r, i);
|
|
2294
2294
|
}
|
|
2295
|
-
function
|
|
2296
|
-
let a = e?.type === "object" ? n.museum ||
|
|
2295
|
+
function Ja({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i }) {
|
|
2296
|
+
let a = e?.type === "object" ? n.museum || P(t.holder ?? "") : "", o = qa({
|
|
2297
2297
|
item: e,
|
|
2298
2298
|
own: t,
|
|
2299
2299
|
caption: n,
|
|
@@ -2301,19 +2301,19 @@ function Ga({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i })
|
|
|
2301
2301
|
noCountry: i
|
|
2302
2302
|
}), s = e?.type === "object" ? t.artist : t.architects, c = [].concat(t.materials ?? []).filter(Boolean).join(", ");
|
|
2303
2303
|
return {
|
|
2304
|
-
name: X(n.name ?
|
|
2304
|
+
name: X(n.name ? P(n.name) : P(t.name ?? "")),
|
|
2305
2305
|
detailName: X(n.detail_name),
|
|
2306
|
-
dateLines: [n.date ||
|
|
2306
|
+
dateLines: [n.date || P(t.dates ?? ""), n.dynasty || P(t.dynasty ?? "")].filter(Boolean).map(X),
|
|
2307
2307
|
details: [a, o].filter(Boolean).map(X),
|
|
2308
|
-
artist: X(n.artist ||
|
|
2309
|
-
material: X(n.material ||
|
|
2308
|
+
artist: X(n.artist || P(s ?? "")),
|
|
2309
|
+
material: X(n.material || P(c)),
|
|
2310
2310
|
justification: X(n.justification)
|
|
2311
2311
|
};
|
|
2312
2312
|
}
|
|
2313
|
-
function
|
|
2313
|
+
function Ya({ caption: e = {}, first: t = {}, record: n = {}, placement: r }) {
|
|
2314
2314
|
let i = (n, r = "") => e[n] || t[n] || r || "";
|
|
2315
2315
|
return {
|
|
2316
|
-
name:
|
|
2316
|
+
name: P(i("name", n.name)),
|
|
2317
2317
|
detailName: e.detail_name ?? "",
|
|
2318
2318
|
dateLines: [
|
|
2319
2319
|
i("dynasty"),
|
|
@@ -2321,13 +2321,13 @@ function Ka({ caption: e = {}, first: t = {}, record: n = {}, placement: r }) {
|
|
|
2321
2321
|
i("museum"),
|
|
2322
2322
|
i("location", n.location)
|
|
2323
2323
|
].filter(Boolean),
|
|
2324
|
-
details: r ? [
|
|
2324
|
+
details: r ? [qa(r)].filter(Boolean).map(X) : [],
|
|
2325
2325
|
artist: i("artist", n.artist),
|
|
2326
2326
|
material: i("material"),
|
|
2327
2327
|
justification: e.justification || t.justification || ""
|
|
2328
2328
|
};
|
|
2329
2329
|
}
|
|
2330
|
-
function
|
|
2330
|
+
function Xa(e, t) {
|
|
2331
2331
|
return {
|
|
2332
2332
|
name: e.name || t.name,
|
|
2333
2333
|
detailName: e.detailName,
|
|
@@ -2338,17 +2338,17 @@ function qa(e, t) {
|
|
|
2338
2338
|
justification: e.justification || t.justification
|
|
2339
2339
|
};
|
|
2340
2340
|
}
|
|
2341
|
-
function
|
|
2342
|
-
let a = (e, t) => e ? X(
|
|
2341
|
+
function Za({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i }) {
|
|
2342
|
+
let a = (e, t) => e ? X(P(e)) : t;
|
|
2343
2343
|
return [
|
|
2344
|
-
a(n.name,
|
|
2345
|
-
a(n.date,
|
|
2346
|
-
a(n.dynasty, X(
|
|
2347
|
-
e?.type === "object" ? a(n.museum,
|
|
2348
|
-
a(n.location,
|
|
2344
|
+
a(n.name, P(t.name ?? "")),
|
|
2345
|
+
a(n.date, P(t.dates ?? "")),
|
|
2346
|
+
a(n.dynasty, X(P(t.dynasty ?? ""))),
|
|
2347
|
+
e?.type === "object" ? a(n.museum, P(t.holder ?? "")) : "",
|
|
2348
|
+
a(n.location, Ka(e, t, r, i))
|
|
2349
2349
|
];
|
|
2350
2350
|
}
|
|
2351
|
-
function
|
|
2351
|
+
function Qa(e, { partnerName: t, partnerCountry: n, countryName: r }) {
|
|
2352
2352
|
let i = (e) => e ? r(e) : "";
|
|
2353
2353
|
return e.partner ? e.place ? [
|
|
2354
2354
|
t(e.partner),
|
|
@@ -2357,28 +2357,28 @@ function Ya(e, { partnerName: t, partnerCountry: n, countryName: r }) {
|
|
|
2357
2357
|
].filter(Boolean).join(", ") : [t(e.partner), i(n(e.partner))].filter(Boolean).join(", ") : [e.name, i(e.country)].filter(Boolean).join(", ");
|
|
2358
2358
|
}
|
|
2359
2359
|
// src/minisite/baroqueart/exhibition.js
|
|
2360
|
-
var
|
|
2360
|
+
var $a = Pe.BAR, eo = [
|
|
2361
2361
|
"collections",
|
|
2362
2362
|
"items",
|
|
2363
2363
|
"countries",
|
|
2364
2364
|
"partners",
|
|
2365
2365
|
"glossary"
|
|
2366
|
-
],
|
|
2366
|
+
], to = {
|
|
2367
2367
|
zoom: ["mwnfing", ""],
|
|
2368
2368
|
introZoom: ["BAR", "scrollbars=no,resize=no,width=565,height=435"]
|
|
2369
2369
|
};
|
|
2370
|
-
function
|
|
2371
|
-
let { pkg: t, data: n, tree: r } =
|
|
2372
|
-
S(f, (e) => Promise.all(
|
|
2373
|
-
let p = r.root, m = i(() => p.value ? r.children(p.value.id) : []), h = i(() =>
|
|
2370
|
+
function no() {
|
|
2371
|
+
let { pkg: t, data: n, tree: r } = ze(), { locale: a, t: o } = B(), s = V(), c = s.minisite ?? {}, l = c.texts ?? $a, u = (e) => o(`${l}.${e}`), d = U(), f = i(() => a.value);
|
|
2372
|
+
S(f, (e) => Promise.all(eo.flatMap((n) => [t.loadTranslations(n, e), t.loadTranslations(n, "en")])), { immediate: !0 });
|
|
2373
|
+
let p = r.root, m = i(() => p.value ? r.children(p.value.id) : []), h = i(() => be(m.value, r.children));
|
|
2374
2374
|
function g(e) {
|
|
2375
2375
|
let n = t.translations("collections", f.value)[e] ?? {};
|
|
2376
|
-
return
|
|
2376
|
+
return ve.test(n.title ?? "") ? {
|
|
2377
2377
|
...n,
|
|
2378
2378
|
title: ""
|
|
2379
2379
|
} : n;
|
|
2380
2380
|
}
|
|
2381
|
-
let _ = (e) => e?.country_id ?
|
|
2381
|
+
let _ = (e) => e?.country_id ? P(n.tr("countries", e.country_id, f.value).name ?? "") : "";
|
|
2382
2382
|
function v(e) {
|
|
2383
2383
|
return {
|
|
2384
2384
|
item: n.itemById.value.get(e.id),
|
|
@@ -2390,16 +2390,16 @@ function $a() {
|
|
|
2390
2390
|
}
|
|
2391
2391
|
function y(e, t) {
|
|
2392
2392
|
let r = (t) => {
|
|
2393
|
-
if (!t.view) return
|
|
2393
|
+
if (!t.view) return Ja(v(t.entry));
|
|
2394
2394
|
let r = e.variants[0];
|
|
2395
|
-
return
|
|
2395
|
+
return Ya({
|
|
2396
2396
|
caption: t.view.caption?.[f.value] ?? {},
|
|
2397
2397
|
first: r.view ? r.view.caption?.[f.value] ?? {} : {},
|
|
2398
2398
|
record: t.view.id ? n.tr("items", t.view.id, f.value) : {},
|
|
2399
2399
|
placement: v(t.entry)
|
|
2400
2400
|
});
|
|
2401
2401
|
}, i = e?.variants[t];
|
|
2402
|
-
return i ?
|
|
2402
|
+
return i ? Xa(r(i), r(e.variants[0])) : null;
|
|
2403
2403
|
}
|
|
2404
2404
|
function b(e) {
|
|
2405
2405
|
let r = g(e).glossary_ids ?? [];
|
|
@@ -2433,52 +2433,52 @@ function $a() {
|
|
|
2433
2433
|
picture: x,
|
|
2434
2434
|
href: C,
|
|
2435
2435
|
glossaryFor: b,
|
|
2436
|
-
pageAt: (e, t) =>
|
|
2437
|
-
slots:
|
|
2438
|
-
placementCaption: (e) =>
|
|
2436
|
+
pageAt: (e, t) => xe(h.value, e, t),
|
|
2437
|
+
slots: Wa,
|
|
2438
|
+
placementCaption: (e) => Ja(v(e)),
|
|
2439
2439
|
viewCaption: y,
|
|
2440
|
-
introCaption: (e) =>
|
|
2440
|
+
introCaption: (e) => Za(v(e)),
|
|
2441
2441
|
title: i(() => p.value ? g(p.value.id).title ?? "" : "")
|
|
2442
2442
|
};
|
|
2443
2443
|
}
|
|
2444
2444
|
// src/minisite/baroqueart/Home.vue
|
|
2445
|
-
var
|
|
2445
|
+
var ro = { class: "mwnf-baroqueart-home" }, io = { class: "mwnf-baroqueart-home__title" }, ao = ["innerHTML"], oo = { class: "mwnf-baroqueart-home__menu" }, so = {
|
|
2446
2446
|
key: 0,
|
|
2447
2447
|
class: "mwnf-baroqueart-home__menu2"
|
|
2448
|
-
},
|
|
2448
|
+
}, co = { class: "mwnf-baroqueart-partners" }, lo = { class: "mwnf-baroqueart-partners__curators" }, uo = { class: "mwnf-baroqueart-partners__line" }, fo = ["innerHTML"], po = { class: "mwnf-baroqueart-partners__cooperation" }, mo = ["href"], ho = { class: "mwnf-baroqueart-partners__tab" }, go = ["href"], _o = ["src"], vo = {
|
|
2449
2449
|
key: 0,
|
|
2450
2450
|
class: "mwnf-baroqueart-partners__design"
|
|
2451
|
-
},
|
|
2451
|
+
}, yo = { class: "mwnf-baroqueart-partners__design-tab" }, bo = { class: "mwnf-baroqueart-partners__design-tab" }, xo = ["href"], So = ["src"], Co = {
|
|
2452
2452
|
__name: "Home",
|
|
2453
2453
|
setup(e) {
|
|
2454
|
-
let { label: t, lang: d, data: m, root: h, themes: _, text: x, title: T, settings: E, picture: D, glossaryFor: O } =
|
|
2454
|
+
let { label: t, lang: d, data: m, root: h, themes: _, text: x, title: T, settings: E, picture: D, glossaryFor: O } = no(), 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) => ({
|
|
2455
2455
|
theme: e,
|
|
2456
2456
|
number: t + 1
|
|
2457
2457
|
}))), M = i(() => _.value.slice(A.value).map((e, t) => ({
|
|
2458
2458
|
theme: e,
|
|
2459
2459
|
number: A.value + t + 1
|
|
2460
|
-
}))), N = i(() => E.curators ?? []), P = (e) =>
|
|
2460
|
+
}))), N = i(() => E.curators ?? []), P = (e) => Qa(e, {
|
|
2461
2461
|
partnerName: (e) => m.tr("partners", e, d.value).name,
|
|
2462
2462
|
partnerCountry: (e) => m.partnerById.value.get(e)?.country_id,
|
|
2463
2463
|
countryName: (e) => m.tr("countries", e, d.value).name
|
|
2464
|
-
}), F = (e) =>
|
|
2464
|
+
}), F = (e) => Me(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"));
|
|
2465
2465
|
return S([T, d], () => {
|
|
2466
2466
|
document.title = [t("identity.windowTitle"), T.value].filter(Boolean).join(" | ");
|
|
2467
2467
|
}, { immediate: !0 }), (e, i) => {
|
|
2468
2468
|
let d = v("router-link");
|
|
2469
2469
|
return p(), s(n, null, [
|
|
2470
|
-
c("div",
|
|
2470
|
+
c("div", ro, [
|
|
2471
2471
|
i[3] ||= c("div", { class: "mwnf-baroqueart-home__bg1" }, null, -1),
|
|
2472
2472
|
c("div", {
|
|
2473
2473
|
class: "mwnf-baroqueart-home__bg2",
|
|
2474
2474
|
style: f({ backgroundImage: z.value ? `url(${z.value})` : "none" })
|
|
2475
2475
|
}, null, 4),
|
|
2476
|
-
c("div",
|
|
2476
|
+
c("div", io, y(b(T)), 1),
|
|
2477
2477
|
c("div", {
|
|
2478
2478
|
class: "mwnf-baroqueart-home__description",
|
|
2479
2479
|
innerHTML: k.value
|
|
2480
|
-
}, null, 8,
|
|
2481
|
-
c("div",
|
|
2480
|
+
}, null, 8, ao),
|
|
2481
|
+
c("div", oo, [c("div", null, [i[0] ||= l("> ", -1), u(d, { to: { name: "introduction" } }, {
|
|
2482
2482
|
default: C(() => [l(y(b(t)("home.introduction")), 1)]),
|
|
2483
2483
|
_: 1
|
|
2484
2484
|
})]), (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: {
|
|
@@ -2488,7 +2488,7 @@ var eo = { class: "mwnf-baroqueart-home" }, to = { class: "mwnf-baroqueart-home_
|
|
|
2488
2488
|
default: C(() => [l(y(b(x)(e.id).title), 1)]),
|
|
2489
2489
|
_: 2
|
|
2490
2490
|
}, 1032, ["to"])]))), 128))]),
|
|
2491
|
-
M.value.length ? (p(), s("div",
|
|
2491
|
+
M.value.length ? (p(), s("div", so, [(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: {
|
|
2492
2492
|
name: "exhibition",
|
|
2493
2493
|
params: { theme: t }
|
|
2494
2494
|
} }, {
|
|
@@ -2496,14 +2496,14 @@ var eo = { class: "mwnf-baroqueart-home" }, to = { class: "mwnf-baroqueart-home_
|
|
|
2496
2496
|
_: 2
|
|
2497
2497
|
}, 1032, ["to"])]))), 128))])) : o("", !0)
|
|
2498
2498
|
]),
|
|
2499
|
-
c("div",
|
|
2500
|
-
c("div",
|
|
2499
|
+
c("div", co, [c("div", lo, [
|
|
2500
|
+
c("div", uo, y(b(t)("home.curatedBy")), 1),
|
|
2501
2501
|
c("div", {
|
|
2502
2502
|
class: "mwnf-baroqueart-partners__tab",
|
|
2503
2503
|
innerHTML: b(m).mdInline(I.value)
|
|
2504
|
-
}, null, 8,
|
|
2505
|
-
c("div",
|
|
2506
|
-
c("div",
|
|
2504
|
+
}, null, 8, fo),
|
|
2505
|
+
c("div", po, [l(y(b(t)("home.cooperation")) + " ", 1), c("a", { href: b(E).partnerListHref }, y(b(t)("home.partnerInstitutions")), 9, mo)]),
|
|
2506
|
+
c("div", ho, [(p(!0), s(n, null, g(N.value, (e, t) => (p(), s(n, { key: e.logo }, [
|
|
2507
2507
|
l(y(P(e)), 1),
|
|
2508
2508
|
i[4] ||= c("br", null, null, -1),
|
|
2509
2509
|
w((p(), s("a", {
|
|
@@ -2512,7 +2512,7 @@ var eo = { class: "mwnf-baroqueart-home" }, to = { class: "mwnf-baroqueart-home_
|
|
|
2512
2512
|
}, [c("img", {
|
|
2513
2513
|
src: b(D)(e.logo),
|
|
2514
2514
|
alt: ""
|
|
2515
|
-
}, null, 8,
|
|
2515
|
+
}, null, 8, _o)], 8, go)), [[b(q), {
|
|
2516
2516
|
text: P(e),
|
|
2517
2517
|
width: 220
|
|
2518
2518
|
}]]),
|
|
@@ -2522,17 +2522,17 @@ var eo = { class: "mwnf-baroqueart-home" }, to = { class: "mwnf-baroqueart-home_
|
|
|
2522
2522
|
style: f({ width: `${e.space ?? 0}px` })
|
|
2523
2523
|
}, null, 4)) : o("", !0)
|
|
2524
2524
|
], 64))), 128))])
|
|
2525
|
-
]), L.value ? (p(), s("div",
|
|
2525
|
+
]), L.value ? (p(), s("div", vo, [
|
|
2526
2526
|
l(y(b(t)("home.design")) + " ", 1),
|
|
2527
|
-
c("div",
|
|
2528
|
-
c("div",
|
|
2527
|
+
c("div", yo, y(L.value.name), 1),
|
|
2528
|
+
c("div", bo, [c("a", {
|
|
2529
2529
|
href: L.value.href,
|
|
2530
2530
|
target: "_blank",
|
|
2531
2531
|
rel: "noopener"
|
|
2532
2532
|
}, [c("img", {
|
|
2533
2533
|
src: b(D)(L.value.logo),
|
|
2534
2534
|
alt: ""
|
|
2535
|
-
}, null, 8,
|
|
2535
|
+
}, null, 8, So)], 8, xo)])
|
|
2536
2536
|
])) : o("", !0)]),
|
|
2537
2537
|
R.value ? (p(), a(r, {
|
|
2538
2538
|
key: 0,
|
|
@@ -2546,31 +2546,31 @@ var eo = { class: "mwnf-baroqueart-home" }, to = { class: "mwnf-baroqueart-home_
|
|
|
2546
2546
|
], 64);
|
|
2547
2547
|
};
|
|
2548
2548
|
}
|
|
2549
|
-
},
|
|
2549
|
+
}, wo = { class: "mwnf-baroqueart-download" }, To = ["src"], Eo = ["src"], Do = ["src"], Oo = {
|
|
2550
2550
|
__name: "Download",
|
|
2551
2551
|
props: { word: {
|
|
2552
2552
|
type: Function,
|
|
2553
2553
|
required: !0
|
|
2554
2554
|
} },
|
|
2555
2555
|
setup(t) {
|
|
2556
|
-
let { t: n } =
|
|
2556
|
+
let { t: n } = B(), r = V(), i = (t) => e(r.chrome, t), a = (e) => n(`${r.minisite?.texts ?? $a}.${e}`);
|
|
2557
2557
|
function o() {
|
|
2558
2558
|
window.print();
|
|
2559
2559
|
}
|
|
2560
|
-
return (e, n) => (p(), s("div",
|
|
2560
|
+
return (e, n) => (p(), s("div", wo, [
|
|
2561
2561
|
n[1] ||= c("br", null, null, -1),
|
|
2562
2562
|
c("img", {
|
|
2563
2563
|
src: i("legacy/print_dark.gif"),
|
|
2564
2564
|
alt: "",
|
|
2565
2565
|
width: "17",
|
|
2566
2566
|
height: "12"
|
|
2567
|
-
}, null, 8,
|
|
2567
|
+
}, null, 8, To),
|
|
2568
2568
|
l(" / " + y(a("download.heading")), 1),
|
|
2569
2569
|
n[2] ||= c("br", null, null, -1),
|
|
2570
2570
|
c("img", {
|
|
2571
2571
|
src: i("legacy/arrow_inner_black.gif"),
|
|
2572
2572
|
alt: ""
|
|
2573
|
-
}, null, 8,
|
|
2573
|
+
}, null, 8, Eo),
|
|
2574
2574
|
c("a", {
|
|
2575
2575
|
href: "#",
|
|
2576
2576
|
onClick: T(o, ["prevent"])
|
|
@@ -2579,17 +2579,17 @@ var eo = { class: "mwnf-baroqueart-home" }, to = { class: "mwnf-baroqueart-home_
|
|
|
2579
2579
|
c("img", {
|
|
2580
2580
|
src: i("legacy/arrow_inner_black.gif"),
|
|
2581
2581
|
alt: ""
|
|
2582
|
-
}, null, 8,
|
|
2582
|
+
}, null, 8, Do),
|
|
2583
2583
|
c("a", {
|
|
2584
2584
|
href: "#",
|
|
2585
2585
|
onClick: n[0] ||= T((e) => t.word(), ["prevent"])
|
|
2586
2586
|
}, y(a("download.asWord")), 1)
|
|
2587
2587
|
]));
|
|
2588
2588
|
}
|
|
2589
|
-
},
|
|
2589
|
+
}, ko = { class: "mwnf-baroqueart-intro__title" }, Ao = { class: "mwnf-baroqueart-intro__nav mwnf-baroqueart-intro__nav--start" }, jo = { class: "mwnf-baroqueart-intro__nav mwnf-baroqueart-intro__nav--end" }, Mo = { class: "mwnf-baroqueart-intro__table" }, No = ["innerHTML"], Po = ["innerHTML"], Fo = { class: "mwnf-baroqueart-intro__side" }, Io = ["href", "onClick"], Lo = ["src"], Ro = { key: 0 }, zo = ["innerHTML"], Bo = ["innerHTML"], Vo = {
|
|
2590
2590
|
__name: "Introduction",
|
|
2591
2591
|
setup(e) {
|
|
2592
|
-
let { label: r, lang: d, data: m, root: h, text: _, title: x, settings: w, picture: E, href: D, introCaption: O, slots: k, glossaryFor: A } =
|
|
2592
|
+
let { label: r, lang: d, data: m, root: h, text: _, title: x, settings: w, picture: E, href: D, introCaption: O, slots: k, glossaryFor: A } = no(), 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 }) => ({
|
|
2593
2593
|
entry: e,
|
|
2594
2594
|
image: t,
|
|
2595
2595
|
lines: O(e)
|
|
@@ -2598,11 +2598,11 @@ var eo = { class: "mwnf-baroqueart-home" }, to = { class: "mwnf-baroqueart-home_
|
|
|
2598
2598
|
Z(D({
|
|
2599
2599
|
name: "zoom",
|
|
2600
2600
|
query: { img: e }
|
|
2601
|
-
}),
|
|
2601
|
+
}), to.introZoom);
|
|
2602
2602
|
}
|
|
2603
|
-
let
|
|
2604
|
-
function
|
|
2605
|
-
|
|
2603
|
+
let L = ee(M);
|
|
2604
|
+
function R() {
|
|
2605
|
+
rt({
|
|
2606
2606
|
documentTitle: w.documentTitle,
|
|
2607
2607
|
title: x.value,
|
|
2608
2608
|
header: j.value.extra?.intro_header ?? "",
|
|
@@ -2610,21 +2610,21 @@ var eo = { class: "mwnf-baroqueart-home" }, to = { class: "mwnf-baroqueart-home_
|
|
|
2610
2610
|
captions: F.value.map((e) => e.lines)
|
|
2611
2611
|
});
|
|
2612
2612
|
}
|
|
2613
|
-
let
|
|
2613
|
+
let z = i(() => E(d.value === "ar" ? "legacy/intro_bg_ar.jpg" : "legacy/intro_bg.jpg"));
|
|
2614
2614
|
return S([x, d], () => {
|
|
2615
2615
|
document.title = [r("identity.windowTitle"), x.value].filter(Boolean).join(" | ");
|
|
2616
2616
|
}, { immediate: !0 }), (e, i) => {
|
|
2617
2617
|
let d = v("router-link");
|
|
2618
2618
|
return p(), s("div", {
|
|
2619
2619
|
class: "mwnf-baroqueart-intro",
|
|
2620
|
-
style: f({ backgroundImage:
|
|
2620
|
+
style: f({ backgroundImage: z.value ? `url(${z.value})` : "none" })
|
|
2621
2621
|
}, [
|
|
2622
|
-
c("div",
|
|
2623
|
-
c("div",
|
|
2622
|
+
c("div", ko, y(b(x)), 1),
|
|
2623
|
+
c("div", Ao, [i[1] ||= l(" < ", -1), u(d, { to: { name: "home" } }, {
|
|
2624
2624
|
default: C(() => [l(y(b(r)("nav.entrance")), 1)]),
|
|
2625
2625
|
_: 1
|
|
2626
2626
|
})]),
|
|
2627
|
-
c("div",
|
|
2627
|
+
c("div", jo, [
|
|
2628
2628
|
i[2] ||= l(" < ", -1),
|
|
2629
2629
|
u(d, { to: { name: "home" } }, {
|
|
2630
2630
|
default: C(() => [l(y(b(r)("nav.previous")), 1)]),
|
|
@@ -2643,20 +2643,20 @@ var eo = { class: "mwnf-baroqueart-home" }, to = { class: "mwnf-baroqueart-home_
|
|
|
2643
2643
|
}),
|
|
2644
2644
|
i[4] ||= l(" > ", -1)
|
|
2645
2645
|
]),
|
|
2646
|
-
c("div",
|
|
2646
|
+
c("div", Mo, [c("div", {
|
|
2647
2647
|
class: "mwnf-baroqueart-intro__text",
|
|
2648
|
-
onClick: i[0] ||= (...e) => b(
|
|
2648
|
+
onClick: i[0] ||= (...e) => b(L).onClick && b(L).onClick(...e)
|
|
2649
2649
|
}, [
|
|
2650
2650
|
c("div", {
|
|
2651
2651
|
class: "mwnf-baroqueart-intro__header",
|
|
2652
2652
|
innerHTML: P.value
|
|
2653
|
-
}, null, 8,
|
|
2653
|
+
}, null, 8, No),
|
|
2654
2654
|
c("div", {
|
|
2655
2655
|
class: "mwnf-baroqueart-intro__content",
|
|
2656
2656
|
innerHTML: N.value
|
|
2657
|
-
}, null, 8,
|
|
2658
|
-
u(
|
|
2659
|
-
]), c("div",
|
|
2657
|
+
}, null, 8, Po),
|
|
2658
|
+
u(Oo, { word: R })
|
|
2659
|
+
]), c("div", Fo, [(p(!0), s(n, null, g(F.value, (e) => (p(), s("div", {
|
|
2660
2660
|
key: `${e.entry.id}-${e.entry.variant_order}`,
|
|
2661
2661
|
class: "mwnf-baroqueart-intro-item"
|
|
2662
2662
|
}, [e.image ? (p(), s(n, { key: 0 }, [c("a", {
|
|
@@ -2669,18 +2669,18 @@ var eo = { class: "mwnf-baroqueart-home" }, to = { class: "mwnf-baroqueart-home_
|
|
|
2669
2669
|
class: "mwnf-baroqueart-intro-item__image",
|
|
2670
2670
|
src: e.image,
|
|
2671
2671
|
alt: ""
|
|
2672
|
-
}, null, 8,
|
|
2672
|
+
}, null, 8, Lo)], 8, Io), 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", Ro)) : o("", !0), r === 0 && e.lines[0] ? (p(), s("strong", {
|
|
2673
2673
|
key: 1,
|
|
2674
2674
|
innerHTML: b(m).mdInline(t)
|
|
2675
|
-
}, null, 8,
|
|
2675
|
+
}, null, 8, zo)) : (p(), s("span", {
|
|
2676
2676
|
key: 2,
|
|
2677
2677
|
innerHTML: b(m).mdInline(t)
|
|
2678
|
-
}, null, 8,
|
|
2679
|
-
b(
|
|
2678
|
+
}, null, 8, Bo))], 64))), 128))]))), 128))])]),
|
|
2679
|
+
b(L).active.value ? (p(), a(t, {
|
|
2680
2680
|
key: 0,
|
|
2681
|
-
term: b(
|
|
2682
|
-
html: b(m).md(b(
|
|
2683
|
-
onClose: b(
|
|
2681
|
+
term: b(L).active.value,
|
|
2682
|
+
html: b(m).md(b(L).active.value.definition),
|
|
2683
|
+
onClose: b(L).close
|
|
2684
2684
|
}, null, 8, [
|
|
2685
2685
|
"term",
|
|
2686
2686
|
"html",
|
|
@@ -2689,10 +2689,10 @@ var eo = { class: "mwnf-baroqueart-home" }, to = { class: "mwnf-baroqueart-home_
|
|
|
2689
2689
|
], 4);
|
|
2690
2690
|
};
|
|
2691
2691
|
}
|
|
2692
|
-
},
|
|
2692
|
+
}, Ho = { class: "mwnf-baroqueart-page__head" }, Uo = { class: "mwnf-baroqueart-page__title" }, Wo = { class: "mwnf-baroqueart-page__nav mwnf-baroqueart-page__nav--start" }, Go = { class: "mwnf-baroqueart-page__nav mwnf-baroqueart-page__nav--end" }, Ko = { class: "mwnf-baroqueart-page__body" }, qo = ["innerHTML"], Jo = { class: "mwnf-baroqueart-page__thumbs" }, Yo = ["onClick"], Xo = ["src"], Zo = ["innerHTML"], Qo = ["innerHTML"], $o = { class: "mwnf-baroqueart-page__item" }, es = { class: "mwnf-baroqueart-page__image" }, ts = ["src"], ns = {
|
|
2693
2693
|
key: 0,
|
|
2694
2694
|
class: "mwnf-baroqueart-page__caption"
|
|
2695
|
-
},
|
|
2695
|
+
}, rs = ["innerHTML"], is = ["innerHTML"], as = { key: 0 }, os = ["innerHTML"], ss = ["innerHTML"], cs = ["innerHTML"], ls = ["innerHTML"], us = { key: 0 }, ds = ["onClick"], fs = ["src"], ps = ["innerHTML"], ms = { key: 1 }, hs = ["href"], gs = {
|
|
2696
2696
|
__name: "Page",
|
|
2697
2697
|
props: {
|
|
2698
2698
|
theme: {
|
|
@@ -2705,56 +2705,56 @@ var eo = { class: "mwnf-baroqueart-home" }, to = { class: "mwnf-baroqueart-home_
|
|
|
2705
2705
|
}
|
|
2706
2706
|
},
|
|
2707
2707
|
setup(e) {
|
|
2708
|
-
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 } =
|
|
2708
|
+
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 } = no(), I = i(() => j(r.theme, r.page)), L = i(() => I.value ? D(I.value.node.id) : {}), R = i(() => I.value ? F(I.value.node.id) : []), z = i(() => I.value ? M(I.value.node) : []), B = i(() => L.value.quote ?? ""), V = h({
|
|
2709
2709
|
slot: 0,
|
|
2710
2710
|
variant: 0
|
|
2711
2711
|
});
|
|
2712
|
-
S(() => [r.theme, r.page], () =>
|
|
2712
|
+
S(() => [r.theme, r.page], () => V.value = {
|
|
2713
2713
|
slot: 0,
|
|
2714
2714
|
variant: 0
|
|
2715
2715
|
});
|
|
2716
|
-
let
|
|
2717
|
-
...P(
|
|
2718
|
-
sheetId:
|
|
2716
|
+
let H = i(() => z.value[V.value.slot] ?? null), U = i(() => H.value?.variants[V.value.variant] ?? null), W = i(() => ke(H.value, V.value.variant)), G = i(() => !H.value || !U.value ? null : {
|
|
2717
|
+
...P(H.value, V.value.variant),
|
|
2718
|
+
sheetId: Oe(H.value, V.value.variant, (e) => x.itemById.value.get(e))
|
|
2719
2719
|
});
|
|
2720
|
-
function
|
|
2721
|
-
|
|
2720
|
+
function K(e) {
|
|
2721
|
+
V.value = {
|
|
2722
2722
|
slot: e,
|
|
2723
2723
|
variant: 0
|
|
2724
2724
|
};
|
|
2725
2725
|
}
|
|
2726
|
-
function
|
|
2727
|
-
|
|
2728
|
-
...
|
|
2726
|
+
function te(e) {
|
|
2727
|
+
V.value = {
|
|
2728
|
+
...V.value,
|
|
2729
2729
|
variant: e
|
|
2730
2730
|
};
|
|
2731
2731
|
}
|
|
2732
|
-
function
|
|
2733
|
-
|
|
2732
|
+
function ne() {
|
|
2733
|
+
W.value && Z(A({
|
|
2734
2734
|
name: "zoom",
|
|
2735
|
-
query: { img:
|
|
2736
|
-
}),
|
|
2735
|
+
query: { img: W.value }
|
|
2736
|
+
}), to.zoom);
|
|
2737
2737
|
}
|
|
2738
|
-
let
|
|
2739
|
-
function
|
|
2740
|
-
|
|
2738
|
+
let J = ee(R);
|
|
2739
|
+
function Y() {
|
|
2740
|
+
ot({
|
|
2741
2741
|
documentTitle: O.documentTitle,
|
|
2742
2742
|
title: E.value,
|
|
2743
|
-
pageTitle:
|
|
2744
|
-
quote:
|
|
2745
|
-
text:
|
|
2746
|
-
slots:
|
|
2743
|
+
pageTitle: L.value.title ?? "",
|
|
2744
|
+
quote: B.value,
|
|
2745
|
+
text: L.value.description ?? "",
|
|
2746
|
+
slots: z.value.map((e) => e.variants.map((t, n) => t.view ? P(e, n) : N(t.entry)))
|
|
2747
2747
|
});
|
|
2748
2748
|
}
|
|
2749
2749
|
S(() => [
|
|
2750
|
-
|
|
2750
|
+
L.value.title,
|
|
2751
2751
|
E.value,
|
|
2752
2752
|
_.value
|
|
2753
2753
|
], () => {
|
|
2754
2754
|
document.title = [
|
|
2755
2755
|
m("identity.windowTitle"),
|
|
2756
2756
|
E.value,
|
|
2757
|
-
|
|
2757
|
+
L.value.title,
|
|
2758
2758
|
r.page
|
|
2759
2759
|
].filter(Boolean).join(" | ");
|
|
2760
2760
|
}, { immediate: !0 });
|
|
@@ -2766,13 +2766,13 @@ var eo = { class: "mwnf-baroqueart-home" }, to = { class: "mwnf-baroqueart-home_
|
|
|
2766
2766
|
class: "mwnf-baroqueart-page",
|
|
2767
2767
|
style: f({ backgroundImage: re.value ? `url(${re.value})` : "none" })
|
|
2768
2768
|
}, [
|
|
2769
|
-
c("div",
|
|
2770
|
-
c("div",
|
|
2771
|
-
c("div",
|
|
2769
|
+
c("div", Ho, [
|
|
2770
|
+
c("div", Uo, y(b(E)), 1),
|
|
2771
|
+
c("div", Wo, [r[1] ||= l(" < ", -1), u(i, { to: { name: "home" } }, {
|
|
2772
2772
|
default: C(() => [l(y(b(m)("nav.entrance")), 1)]),
|
|
2773
2773
|
_: 1
|
|
2774
2774
|
})]),
|
|
2775
|
-
c("div",
|
|
2775
|
+
c("div", Go, [
|
|
2776
2776
|
r[4] ||= l(" < ", -1),
|
|
2777
2777
|
u(i, { to: I.value.previous }, {
|
|
2778
2778
|
default: C(() => [l(y(b(m)("nav.previous")), 1)]),
|
|
@@ -2788,77 +2788,77 @@ var eo = { class: "mwnf-baroqueart-home" }, to = { class: "mwnf-baroqueart-home_
|
|
|
2788
2788
|
], 64)) : o("", !0)
|
|
2789
2789
|
])
|
|
2790
2790
|
]),
|
|
2791
|
-
c("div",
|
|
2791
|
+
c("div", Ko, [c("div", {
|
|
2792
2792
|
class: "mwnf-baroqueart-page__text",
|
|
2793
|
-
onClick: r[0] ||= (...e) => b(
|
|
2793
|
+
onClick: r[0] ||= (...e) => b(J).onClick && b(J).onClick(...e)
|
|
2794
2794
|
}, [
|
|
2795
2795
|
c("div", {
|
|
2796
2796
|
class: "mwnf-baroqueart-page__page-title",
|
|
2797
|
-
innerHTML: b(x).mdInline(
|
|
2798
|
-
}, null, 8,
|
|
2799
|
-
c("div",
|
|
2797
|
+
innerHTML: b(x).mdInline(L.value.title)
|
|
2798
|
+
}, null, 8, qo),
|
|
2799
|
+
c("div", Jo, [(p(!0), s(n, null, g(z.value, (e, t) => w((p(), s("a", {
|
|
2800
2800
|
key: e.n,
|
|
2801
2801
|
href: "#",
|
|
2802
|
-
onClick: T((e) =>
|
|
2802
|
+
onClick: T((e) => K(t), ["prevent"])
|
|
2803
2803
|
}, [e.variants[0].image ? (p(), s("img", {
|
|
2804
2804
|
key: 0,
|
|
2805
2805
|
src: e.variants[0].image,
|
|
2806
2806
|
alt: "",
|
|
2807
2807
|
height: "36"
|
|
2808
|
-
}, null, 8,
|
|
2808
|
+
}, null, 8, Xo)) : o("", !0)], 8, Yo)), [[b(q), {
|
|
2809
2809
|
text: b(x).mdStrip(b(P)(e, 0).name),
|
|
2810
2810
|
width: 160
|
|
2811
2811
|
}]])), 128))]),
|
|
2812
2812
|
c("div", {
|
|
2813
|
-
class: d(["mwnf-baroqueart-page__quote", { "mwnf-baroqueart-page__quote--own-italics": b(
|
|
2814
|
-
innerHTML: b(x).mdInline(
|
|
2815
|
-
}, null, 10,
|
|
2813
|
+
class: d(["mwnf-baroqueart-page__quote", { "mwnf-baroqueart-page__quote--own-italics": b(Ne)(B.value) }]),
|
|
2814
|
+
innerHTML: b(x).mdInline(B.value, { glossary: R.value })
|
|
2815
|
+
}, null, 10, Zo),
|
|
2816
2816
|
c("div", {
|
|
2817
2817
|
class: "mwnf-baroqueart-page__content",
|
|
2818
|
-
innerHTML: b(x).md(
|
|
2819
|
-
}, null, 8,
|
|
2820
|
-
u(
|
|
2821
|
-
]), c("div",
|
|
2818
|
+
innerHTML: b(x).md(L.value.description, { glossary: R.value })
|
|
2819
|
+
}, null, 8, Qo),
|
|
2820
|
+
u(Oo, { word: Y })
|
|
2821
|
+
]), c("div", $o, [c("div", es, [W.value ? w((p(), s("a", {
|
|
2822
2822
|
key: 0,
|
|
2823
2823
|
href: "#",
|
|
2824
|
-
onClick: T(
|
|
2824
|
+
onClick: T(ne, ["prevent"])
|
|
2825
2825
|
}, [c("img", {
|
|
2826
|
-
src:
|
|
2826
|
+
src: W.value,
|
|
2827
2827
|
alt: ""
|
|
2828
|
-
}, null, 8,
|
|
2828
|
+
}, null, 8, ts)])), [[b(q), { text: b(m)("item.showZoom") }]]) : o("", !0)]), G.value ? (p(), s("div", ns, [
|
|
2829
2829
|
c("div", null, [
|
|
2830
|
-
c("strong", { innerHTML: b(x).mdInline(
|
|
2830
|
+
c("strong", { innerHTML: b(x).mdInline(G.value.name) }, null, 8, rs),
|
|
2831
2831
|
r[5] ||= c("br", null, null, -1),
|
|
2832
|
-
c("span", { innerHTML: b(x).mdInline(
|
|
2832
|
+
c("span", { innerHTML: b(x).mdInline(G.value.detailName) }, null, 8, is),
|
|
2833
2833
|
r[6] ||= c("br", null, null, -1),
|
|
2834
|
-
(p(!0), s(n, null, g(
|
|
2834
|
+
(p(!0), s(n, null, g(G.value.dateLines, (e, t) => (p(), s(n, { key: t }, [t > 0 ? (p(), s("br", as)) : o("", !0), c("span", { innerHTML: b(x).mdInline(e) }, null, 8, os)], 64))), 128))
|
|
2835
2835
|
]),
|
|
2836
|
-
c("div", null, [(p(!0), s(n, null, g(
|
|
2837
|
-
c("div", { innerHTML: b(x).mdInline(
|
|
2838
|
-
c("div", { innerHTML: b(x).mdInline(
|
|
2839
|
-
|
|
2836
|
+
c("div", null, [(p(!0), s(n, null, g(G.value.details, (e, t) => (p(), s(n, { key: t }, [c("span", { innerHTML: b(x).mdInline(e) }, null, 8, ss), r[7] ||= c("br", null, null, -1)], 64))), 128))]),
|
|
2837
|
+
c("div", { innerHTML: b(x).mdInline(G.value.artist) }, null, 8, cs),
|
|
2838
|
+
c("div", { innerHTML: b(x).mdInline(G.value.material) }, null, 8, ls),
|
|
2839
|
+
H.value.variants.length > 1 ? (p(), s("div", us, [(p(!0), s(n, null, g(H.value.variants, (e, t) => w((p(), s("a", {
|
|
2840
2840
|
key: t,
|
|
2841
2841
|
href: "#",
|
|
2842
|
-
onClick: T((e) =>
|
|
2842
|
+
onClick: T((e) => te(t), ["prevent"])
|
|
2843
2843
|
}, [c("img", {
|
|
2844
|
-
src: b(k)(t ===
|
|
2844
|
+
src: b(k)(t === V.value.variant ? "legacy/ico_item_selected.gif" : "legacy/ico_item.gif"),
|
|
2845
2845
|
alt: ""
|
|
2846
|
-
}, null, 8,
|
|
2846
|
+
}, null, 8, fs)], 8, ds)), [[b(q), { text: b(m)("item.showDetail") }]])), 128))])) : o("", !0),
|
|
2847
2847
|
c("div", {
|
|
2848
2848
|
class: "mwnf-baroqueart-page__justification",
|
|
2849
|
-
innerHTML: b(x).mdInline(
|
|
2850
|
-
}, null, 8,
|
|
2851
|
-
|
|
2849
|
+
innerHTML: b(x).mdInline(G.value.justification)
|
|
2850
|
+
}, null, 8, ps),
|
|
2851
|
+
G.value.sheetId ? (p(), s("div", ms, [c("a", {
|
|
2852
2852
|
class: "mwnf-baroqueart-page__more",
|
|
2853
|
-
href: b(O).itemHref?.(
|
|
2853
|
+
href: b(O).itemHref?.(G.value.sheetId),
|
|
2854
2854
|
target: "_blank"
|
|
2855
|
-
}, "> " + y(b(m)("item.moreInfo")), 9,
|
|
2855
|
+
}, "> " + y(b(m)("item.moreInfo")), 9, hs)])) : o("", !0)
|
|
2856
2856
|
])) : o("", !0)])]),
|
|
2857
|
-
b(
|
|
2857
|
+
b(J).active.value ? (p(), a(t, {
|
|
2858
2858
|
key: 0,
|
|
2859
|
-
term: b(
|
|
2860
|
-
html: b(x).md(b(
|
|
2861
|
-
onClose: b(
|
|
2859
|
+
term: b(J).active.value,
|
|
2860
|
+
html: b(x).md(b(J).active.value.definition),
|
|
2861
|
+
onClose: b(J).close
|
|
2862
2862
|
}, null, 8, [
|
|
2863
2863
|
"term",
|
|
2864
2864
|
"html",
|
|
@@ -2867,50 +2867,50 @@ var eo = { class: "mwnf-baroqueart-home" }, to = { class: "mwnf-baroqueart-home_
|
|
|
2867
2867
|
], 4)) : o("", !0);
|
|
2868
2868
|
};
|
|
2869
2869
|
}
|
|
2870
|
-
},
|
|
2870
|
+
}, _s = { class: "mwnf-baroqueart-zoom" }, vs = ["src"], ys = {
|
|
2871
2871
|
__name: "Zoom",
|
|
2872
2872
|
props: { image: {
|
|
2873
2873
|
type: String,
|
|
2874
2874
|
default: ""
|
|
2875
2875
|
} },
|
|
2876
2876
|
setup(e) {
|
|
2877
|
-
let t = e, { pages: n, root: r, slots: a } =
|
|
2878
|
-
return (e, t) => (p(), s("div",
|
|
2877
|
+
let t = e, { pages: n, root: r, slots: a } = no(), 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 : "");
|
|
2878
|
+
return (e, t) => (p(), s("div", _s, [c.value ? (p(), s("img", {
|
|
2879
2879
|
key: 0,
|
|
2880
2880
|
src: c.value,
|
|
2881
2881
|
alt: ""
|
|
2882
|
-
}, null, 8,
|
|
2882
|
+
}, null, 8, vs)) : o("", !0)]));
|
|
2883
2883
|
}
|
|
2884
2884
|
};
|
|
2885
2885
|
// src/minisite/baroqueart/routes.js
|
|
2886
|
-
function
|
|
2886
|
+
function bs(e) {
|
|
2887
2887
|
return [
|
|
2888
2888
|
{
|
|
2889
2889
|
path: "/",
|
|
2890
2890
|
name: "home",
|
|
2891
|
-
component:
|
|
2891
|
+
component: Co,
|
|
2892
2892
|
meta: e("home", "collections", "partners", "countries")
|
|
2893
2893
|
},
|
|
2894
2894
|
{
|
|
2895
2895
|
path: "/introduction",
|
|
2896
2896
|
name: "introduction",
|
|
2897
|
-
component:
|
|
2898
|
-
meta: e("introduction", ...
|
|
2897
|
+
component: Vo,
|
|
2898
|
+
meta: e("introduction", ...Be)
|
|
2899
2899
|
},
|
|
2900
2900
|
{
|
|
2901
2901
|
path: "/exhibition/:theme(\\d+)/:page(\\d+)?",
|
|
2902
2902
|
name: "exhibition",
|
|
2903
|
-
component:
|
|
2903
|
+
component: gs,
|
|
2904
2904
|
props: (e) => ({
|
|
2905
2905
|
theme: Number(e.params.theme),
|
|
2906
2906
|
page: Number(e.params.page || 1)
|
|
2907
2907
|
}),
|
|
2908
|
-
meta: e("exhibition", ...
|
|
2908
|
+
meta: e("exhibition", ...Be)
|
|
2909
2909
|
},
|
|
2910
2910
|
{
|
|
2911
2911
|
path: "/zoom",
|
|
2912
2912
|
name: "zoom",
|
|
2913
|
-
component:
|
|
2913
|
+
component: ys,
|
|
2914
2914
|
props: (e) => ({ image: String(e.query.img ?? "") }),
|
|
2915
2915
|
meta: {
|
|
2916
2916
|
...e("zoom", "collections"),
|
|
@@ -2919,7 +2919,7 @@ function _s(e) {
|
|
|
2919
2919
|
}
|
|
2920
2920
|
];
|
|
2921
2921
|
}
|
|
2922
|
-
function
|
|
2922
|
+
function xs(e, t = $a) {
|
|
2923
2923
|
return [
|
|
2924
2924
|
{
|
|
2925
2925
|
label: `${t}.menu.permanentCollection`,
|
|
@@ -2943,23 +2943,23 @@ function vs(e, t = Xa) {
|
|
|
2943
2943
|
},
|
|
2944
2944
|
{
|
|
2945
2945
|
label: `${t}.menu.myCollection`,
|
|
2946
|
-
href:
|
|
2946
|
+
href: M.myCollection
|
|
2947
2947
|
}
|
|
2948
2948
|
];
|
|
2949
2949
|
}
|
|
2950
|
-
var
|
|
2951
|
-
function
|
|
2950
|
+
var Ss = "https://www.museumwnf.org/about/language-policy";
|
|
2951
|
+
function Cs({ languages: e, parent: t, texts: n = $a, menu: r }) {
|
|
2952
2952
|
let i = [
|
|
2953
|
-
["aboutMwnf",
|
|
2954
|
-
["contact",
|
|
2955
|
-
["legalNotice",
|
|
2956
|
-
["credits",
|
|
2957
|
-
["languagePolicy",
|
|
2958
|
-
["cookies",
|
|
2953
|
+
["aboutMwnf", M.about],
|
|
2954
|
+
["contact", M.contact],
|
|
2955
|
+
["legalNotice", M.legalNotice],
|
|
2956
|
+
["credits", M.credits],
|
|
2957
|
+
["languagePolicy", Ss],
|
|
2958
|
+
["cookies", M.cookies]
|
|
2959
2959
|
];
|
|
2960
2960
|
return {
|
|
2961
2961
|
languages: e,
|
|
2962
|
-
logoHref:
|
|
2962
|
+
logoHref: M.portal,
|
|
2963
2963
|
logoTip: `${n}.header.logoTip`,
|
|
2964
2964
|
headerLinks: [{
|
|
2965
2965
|
label: `${n}.header.exhibitionsList`,
|
|
@@ -2969,7 +2969,7 @@ function bs({ languages: e, parent: t, texts: n = Xa, menu: r }) {
|
|
|
2969
2969
|
href: `${t}/#/`,
|
|
2970
2970
|
tip: `${n}.header.homeTip`
|
|
2971
2971
|
}],
|
|
2972
|
-
menu: r ??
|
|
2972
|
+
menu: r ?? xs(t, n),
|
|
2973
2973
|
footerLinks: i.map(([e, t]) => ({
|
|
2974
2974
|
label: `${n}.footer.${e}`,
|
|
2975
2975
|
href: t
|
|
@@ -2977,28 +2977,28 @@ function bs({ languages: e, parent: t, texts: n = Xa, menu: r }) {
|
|
|
2977
2977
|
copyright: `${n}.footer.copyright`
|
|
2978
2978
|
};
|
|
2979
2979
|
}
|
|
2980
|
-
function
|
|
2980
|
+
function ws({ parent: e, ...t }) {
|
|
2981
2981
|
return {
|
|
2982
2982
|
parent: e,
|
|
2983
2983
|
itemHref: (t) => `${e}/#/item/${encodeURIComponent(t)}`,
|
|
2984
2984
|
partnerHref: (t) => `${e}/#/partner/${encodeURIComponent(t)}`,
|
|
2985
2985
|
partnerListHref: `${e}/#/partners`,
|
|
2986
|
-
texts:
|
|
2986
|
+
texts: $a,
|
|
2987
2987
|
family: "BAR",
|
|
2988
2988
|
...t
|
|
2989
2989
|
};
|
|
2990
2990
|
}
|
|
2991
2991
|
// src/minisite/artintro/Home.vue
|
|
2992
|
-
var
|
|
2992
|
+
var Ts = ["innerHTML"], Es = ["innerHTML"], Ds = ["innerHTML"], Os = ["innerHTML"], ks = { class: "mwnf-artintro-home__menu" }, As = {
|
|
2993
2993
|
key: 0,
|
|
2994
2994
|
class: "mwnf-artintro-home__menu2"
|
|
2995
|
-
},
|
|
2995
|
+
}, js = {
|
|
2996
2996
|
key: 1,
|
|
2997
2997
|
class: "mwnf-artintro-home__icons"
|
|
2998
|
-
},
|
|
2998
|
+
}, Ms = { class: "mwnf-artintro-home__social" }, Ns = ["href"], Ps = {
|
|
2999
2999
|
__name: "Home",
|
|
3000
3000
|
setup(e) {
|
|
3001
|
-
let { label: t, lang: r, data: a, root: d, themes: m, text: h, title: _, settings: x, picture: w, glossaryFor: T } =
|
|
3001
|
+
let { label: t, lang: r, data: a, root: d, themes: m, text: h, title: _, settings: x, picture: w, glossaryFor: T } = Ve(), 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) => ({
|
|
3002
3002
|
theme: e,
|
|
3003
3003
|
number: t + 1
|
|
3004
3004
|
}))), A = i(() => m.value.slice(O.value).map((e, t) => ({
|
|
@@ -3016,34 +3016,34 @@ var Ss = ["innerHTML"], Cs = ["innerHTML"], ws = ["innerHTML"], Ts = ["innerHTML
|
|
|
3016
3016
|
c("div", {
|
|
3017
3017
|
class: "mwnf-artintro-home__title",
|
|
3018
3018
|
innerHTML: b(a).mdInline(b(_))
|
|
3019
|
-
}, null, 8,
|
|
3019
|
+
}, null, 8, Ts),
|
|
3020
3020
|
c("div", {
|
|
3021
3021
|
class: "mwnf-artintro-home__subtitle",
|
|
3022
3022
|
innerHTML: b(a).mdInline(E.value.extra?.subtitle ?? "")
|
|
3023
|
-
}, null, 8,
|
|
3023
|
+
}, null, 8, Es),
|
|
3024
3024
|
c("div", {
|
|
3025
3025
|
class: "mwnf-artintro-home__description",
|
|
3026
3026
|
innerHTML: D.value
|
|
3027
|
-
}, null, 8,
|
|
3027
|
+
}, null, 8, Ds),
|
|
3028
3028
|
c("div", {
|
|
3029
3029
|
class: "mwnf-artintro-home__credits",
|
|
3030
3030
|
innerHTML: b(a).mdInline(E.value.extra?.credits ?? "")
|
|
3031
|
-
}, null, 8,
|
|
3032
|
-
c("div",
|
|
3031
|
+
}, null, 8, Os),
|
|
3032
|
+
c("div", ks, [(p(!0), s(n, null, g(k.value, ({ theme: e, number: t }) => (p(), s("div", { key: e.id }, [u(r, { to: {
|
|
3033
3033
|
name: "page",
|
|
3034
3034
|
params: { theme: t }
|
|
3035
3035
|
} }, {
|
|
3036
3036
|
default: C(() => [l(y(b(h)(e.id).title), 1)]),
|
|
3037
3037
|
_: 2
|
|
3038
3038
|
}, 1032, ["to"])]))), 128))]),
|
|
3039
|
-
A.value.length ? (p(), s("div",
|
|
3039
|
+
A.value.length ? (p(), s("div", As, [(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: {
|
|
3040
3040
|
name: "page",
|
|
3041
3041
|
params: { theme: n }
|
|
3042
3042
|
} }, {
|
|
3043
3043
|
default: C(() => [l(y(b(h)(e.id).title), 1)]),
|
|
3044
3044
|
_: 2
|
|
3045
3045
|
}, 1032, ["to"])]))), 128))])) : o("", !0),
|
|
3046
|
-
j.value.length ? (p(), s("div",
|
|
3046
|
+
j.value.length ? (p(), s("div", js, [c("div", Ms, [(p(!0), s(n, null, g(j.value, (e) => (p(), s("a", {
|
|
3047
3047
|
key: e.href,
|
|
3048
3048
|
href: e.href,
|
|
3049
3049
|
target: "_blank",
|
|
@@ -3055,17 +3055,17 @@ var Ss = ["innerHTML"], Cs = ["innerHTML"], ws = ["innerHTML"], Ts = ["innerHTML
|
|
|
3055
3055
|
width: `${e.aspect ?? 1}em`
|
|
3056
3056
|
}),
|
|
3057
3057
|
"aria-hidden": "true"
|
|
3058
|
-
}, null, 4)], 8,
|
|
3058
|
+
}, null, 4)], 8, Ns))), 128))]), t[1] ||= c("br", null, null, -1)])) : o("", !0)
|
|
3059
3059
|
], 4);
|
|
3060
3060
|
};
|
|
3061
3061
|
}
|
|
3062
|
-
},
|
|
3062
|
+
}, Fs = {
|
|
3063
3063
|
key: 0,
|
|
3064
3064
|
class: "mwnf-artintro-page"
|
|
3065
|
-
},
|
|
3065
|
+
}, Is = { class: "mwnf-artintro-page__back" }, Ls = ["innerHTML"], Rs = ["innerHTML"], zs = { class: "mwnf-artintro-page__body" }, Bs = ["innerHTML"], Vs = { class: "mwnf-artintro-page__pages" }, Hs = ["innerHTML"], Us = ["innerHTML"], Ws = ["innerHTML"], Gs = { class: "mwnf-artintro-page__item" }, Ks = { class: "mwnf-artintro-page__image" }, qs = ["src"], Js = {
|
|
3066
3066
|
key: 0,
|
|
3067
3067
|
class: "mwnf-artintro-page__caption"
|
|
3068
|
-
},
|
|
3068
|
+
}, Ys = ["innerHTML"], Xs = { key: 0 }, Zs = ["innerHTML"], Qs = ["innerHTML"], $s = { key: 0 }, ec = ["onClick"], tc = ["src"], nc = ["innerHTML"], rc = { key: 1 }, ic = ["href"], ac = { class: "mwnf-artintro-page__thumbs" }, oc = ["onClick"], sc = ["src"], cc = {
|
|
3069
3069
|
__name: "Page",
|
|
3070
3070
|
props: {
|
|
3071
3071
|
theme: {
|
|
@@ -3078,62 +3078,62 @@ var Ss = ["innerHTML"], Cs = ["innerHTML"], ws = ["innerHTML"], Ts = ["innerHTML
|
|
|
3078
3078
|
}
|
|
3079
3079
|
},
|
|
3080
3080
|
setup(e) {
|
|
3081
|
-
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 } =
|
|
3081
|
+
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 } = Ve(), I = i(() => M.value.find((e) => e.theme === r.theme && e.page === r.page) ?? null), L = i(() => M.value.filter((e) => e.theme === r.theme)), R = i(() => I.value ? O(I.value.node.id) : {}), z = i(() => I.value ? F(I.value.node.id) : []), B = i(() => I.value ? N(I.value.node) : []), V = i(() => R.value.quote ?? ""), H = i(() => E.value ? O(E.value.id).extra?.subtitle ?? "" : ""), U = h({
|
|
3082
3082
|
slot: 0,
|
|
3083
3083
|
variant: 0
|
|
3084
3084
|
});
|
|
3085
|
-
S(() => [r.theme, r.page], () =>
|
|
3085
|
+
S(() => [r.theme, r.page], () => U.value = {
|
|
3086
3086
|
slot: 0,
|
|
3087
3087
|
variant: 0
|
|
3088
3088
|
});
|
|
3089
|
-
let
|
|
3090
|
-
...P(
|
|
3091
|
-
sheetId:
|
|
3089
|
+
let W = i(() => B.value[U.value.slot] ?? null), G = i(() => ke(W.value, U.value.variant)), K = i(() => W.value?.variants[U.value.variant] ? {
|
|
3090
|
+
...P(W.value, U.value.variant),
|
|
3091
|
+
sheetId: Oe(W.value, U.value.variant, (e) => x.itemById.value.get(e))
|
|
3092
3092
|
} : null);
|
|
3093
|
-
function
|
|
3094
|
-
|
|
3093
|
+
function te(e) {
|
|
3094
|
+
U.value = {
|
|
3095
3095
|
slot: e,
|
|
3096
3096
|
variant: 0
|
|
3097
3097
|
};
|
|
3098
3098
|
}
|
|
3099
|
-
function
|
|
3100
|
-
|
|
3101
|
-
...
|
|
3099
|
+
function ne(e) {
|
|
3100
|
+
U.value = {
|
|
3101
|
+
...U.value,
|
|
3102
3102
|
variant: e
|
|
3103
3103
|
};
|
|
3104
3104
|
}
|
|
3105
|
-
function
|
|
3106
|
-
|
|
3105
|
+
function J() {
|
|
3106
|
+
G.value && Z(j({
|
|
3107
3107
|
name: "zoom",
|
|
3108
|
-
query: { img:
|
|
3109
|
-
}),
|
|
3108
|
+
query: { img: G.value }
|
|
3109
|
+
}), He.zoom);
|
|
3110
3110
|
}
|
|
3111
|
-
let
|
|
3111
|
+
let Y = ee(z), re = i(() => A("legacy/page_block1_bg.gif"));
|
|
3112
3112
|
return S([D, _], () => {
|
|
3113
3113
|
document.title = [m("identity.windowTitle"), D.value].filter(Boolean).join(" | ");
|
|
3114
3114
|
}, { immediate: !0 }), (r, i) => {
|
|
3115
3115
|
let h = v("router-link");
|
|
3116
|
-
return I.value ? (p(), s("div",
|
|
3116
|
+
return I.value ? (p(), s("div", Fs, [
|
|
3117
3117
|
c("div", {
|
|
3118
3118
|
class: "mwnf-artintro-page__head",
|
|
3119
3119
|
style: f({ backgroundImage: re.value ? `url(${re.value})` : "none" })
|
|
3120
|
-
}, [c("div",
|
|
3120
|
+
}, [c("div", Is, [i[2] ||= l(" < ", -1), u(h, { to: { name: "home" } }, {
|
|
3121
3121
|
default: C(() => [
|
|
3122
|
-
c("span", { innerHTML: b(x).mdInline(
|
|
3122
|
+
c("span", { innerHTML: b(x).mdInline(H.value) }, null, 8, Ls),
|
|
3123
3123
|
i[1] ||= l(" | ", -1),
|
|
3124
|
-
c("span", { innerHTML: b(x).mdInline(b(D)) }, null, 8,
|
|
3124
|
+
c("span", { innerHTML: b(x).mdInline(b(D)) }, null, 8, Rs)
|
|
3125
3125
|
]),
|
|
3126
3126
|
_: 1
|
|
3127
3127
|
})])], 4),
|
|
3128
|
-
c("div",
|
|
3128
|
+
c("div", zs, [c("div", {
|
|
3129
3129
|
class: "mwnf-artintro-page__text",
|
|
3130
|
-
onClick: i[0] ||= (...e) => b(
|
|
3130
|
+
onClick: i[0] ||= (...e) => b(Y).onClick && b(Y).onClick(...e)
|
|
3131
3131
|
}, [
|
|
3132
3132
|
c("div", {
|
|
3133
3133
|
class: "mwnf-artintro-page__title",
|
|
3134
3134
|
innerHTML: b(x).mdInline(b(O)(I.value.themeNode.id).title)
|
|
3135
|
-
}, null, 8,
|
|
3136
|
-
c("div",
|
|
3135
|
+
}, null, 8, Bs),
|
|
3136
|
+
c("div", Vs, [(p(!0), s(n, null, g(L.value, (t, r) => (p(), s(n, { key: t.node.id }, [r > 0 ? (p(), s(n, { key: 0 }, [l(" / ")], 64)) : o("", !0), u(h, {
|
|
3137
3137
|
to: {
|
|
3138
3138
|
name: "page",
|
|
3139
3139
|
params: {
|
|
@@ -3143,69 +3143,69 @@ var Ss = ["innerHTML"], Cs = ["innerHTML"], ws = ["innerHTML"], Ts = ["innerHTML
|
|
|
3143
3143
|
},
|
|
3144
3144
|
class: d(t.page === e.page ? "mwnf-artintro-page__current" : "mwnf-artintro-page__other")
|
|
3145
3145
|
}, {
|
|
3146
|
-
default: C(() => [c("span", { innerHTML: b(x).mdInline(b(O)(t.node.id).title) }, null, 8,
|
|
3146
|
+
default: C(() => [c("span", { innerHTML: b(x).mdInline(b(O)(t.node.id).title) }, null, 8, Hs)]),
|
|
3147
3147
|
_: 2
|
|
3148
3148
|
}, 1032, ["to", "class"])], 64))), 128))]),
|
|
3149
3149
|
c("div", {
|
|
3150
|
-
class: d(["mwnf-artintro-page__quote", { "mwnf-artintro-page__quote--own-italics": b(
|
|
3151
|
-
innerHTML: b(x).mdInline(
|
|
3152
|
-
}, null, 10,
|
|
3150
|
+
class: d(["mwnf-artintro-page__quote", { "mwnf-artintro-page__quote--own-italics": b(Ne)(V.value) }]),
|
|
3151
|
+
innerHTML: b(x).mdInline(V.value, { glossary: z.value })
|
|
3152
|
+
}, null, 10, Us),
|
|
3153
3153
|
c("div", {
|
|
3154
3154
|
class: "mwnf-artintro-page__content",
|
|
3155
|
-
innerHTML: b(x).md(
|
|
3156
|
-
}, null, 8,
|
|
3157
|
-
]), c("div",
|
|
3158
|
-
c("div",
|
|
3155
|
+
innerHTML: b(x).md(R.value.description, { glossary: z.value })
|
|
3156
|
+
}, null, 8, Ws)
|
|
3157
|
+
]), c("div", Gs, [
|
|
3158
|
+
c("div", Ks, [G.value ? w((p(), s("a", {
|
|
3159
3159
|
key: 0,
|
|
3160
3160
|
href: "#",
|
|
3161
|
-
onClick: T(
|
|
3161
|
+
onClick: T(J, ["prevent"])
|
|
3162
3162
|
}, [c("img", {
|
|
3163
|
-
src:
|
|
3163
|
+
src: G.value,
|
|
3164
3164
|
alt: ""
|
|
3165
|
-
}, null, 8,
|
|
3166
|
-
|
|
3165
|
+
}, null, 8, qs)])), [[b(q), { text: b(m)("item.showZoom") }]]) : o("", !0)]),
|
|
3166
|
+
K.value ? (p(), s("div", Js, [
|
|
3167
3167
|
c("div", null, [
|
|
3168
|
-
c("strong", { innerHTML: b(x).mdInline(
|
|
3168
|
+
c("strong", { innerHTML: b(x).mdInline(K.value.name) }, null, 8, Ys),
|
|
3169
3169
|
i[3] ||= c("br", null, null, -1),
|
|
3170
|
-
(p(!0), s(n, null, g(
|
|
3170
|
+
(p(!0), s(n, null, g(K.value.dateLines, (e, t) => (p(), s(n, { key: t }, [t > 0 ? (p(), s("br", Xs)) : o("", !0), c("span", { innerHTML: b(x).mdInline(e) }, null, 8, Zs)], 64))), 128))
|
|
3171
3171
|
]),
|
|
3172
|
-
c("div", null, [(p(!0), s(n, null, g(
|
|
3173
|
-
|
|
3172
|
+
c("div", null, [(p(!0), s(n, null, g(K.value.details, (e, t) => (p(), s(n, { key: t }, [c("span", { innerHTML: b(x).mdInline(e) }, null, 8, Qs), i[4] ||= c("br", null, null, -1)], 64))), 128))]),
|
|
3173
|
+
W.value.variants.length > 1 ? (p(), s("div", $s, [(p(!0), s(n, null, g(W.value.variants, (e, t) => w((p(), s("a", {
|
|
3174
3174
|
key: t,
|
|
3175
3175
|
href: "#",
|
|
3176
|
-
onClick: T((e) =>
|
|
3176
|
+
onClick: T((e) => ne(t), ["prevent"])
|
|
3177
3177
|
}, [c("img", {
|
|
3178
|
-
src: b(A)(t ===
|
|
3178
|
+
src: b(A)(t === U.value.variant ? "legacy/ico_item_selected.gif" : "legacy/ico_item.gif"),
|
|
3179
3179
|
alt: ""
|
|
3180
|
-
}, null, 8,
|
|
3180
|
+
}, null, 8, tc)], 8, ec)), [[b(q), { text: b(m)("item.showDetail") }]])), 128))])) : o("", !0),
|
|
3181
3181
|
c("div", {
|
|
3182
3182
|
class: "mwnf-artintro-page__justification",
|
|
3183
|
-
innerHTML: b(x).mdInline(
|
|
3184
|
-
}, null, 8,
|
|
3185
|
-
|
|
3183
|
+
innerHTML: b(x).mdInline(K.value.justification)
|
|
3184
|
+
}, null, 8, nc),
|
|
3185
|
+
K.value.sheetId ? (p(), s("div", rc, [c("a", {
|
|
3186
3186
|
class: "mwnf-artintro-page__more",
|
|
3187
|
-
href: b(k).itemHref?.(
|
|
3188
|
-
}, "> " + y(b(m)("item.moreInfo")), 9,
|
|
3187
|
+
href: b(k).itemHref?.(K.value.sheetId)
|
|
3188
|
+
}, "> " + y(b(m)("item.moreInfo")), 9, ic)])) : o("", !0)
|
|
3189
3189
|
])) : o("", !0),
|
|
3190
|
-
c("div",
|
|
3190
|
+
c("div", ac, [(p(!0), s(n, null, g(B.value, (e, t) => w((p(), s("a", {
|
|
3191
3191
|
key: `${e.n}-${e.variants[0].entry.id}`,
|
|
3192
3192
|
href: "#",
|
|
3193
|
-
onClick: T((e) =>
|
|
3193
|
+
onClick: T((e) => te(t), ["prevent"])
|
|
3194
3194
|
}, [e.variants[0].image ? (p(), s("img", {
|
|
3195
3195
|
key: 0,
|
|
3196
3196
|
src: e.variants[0].image,
|
|
3197
3197
|
alt: "",
|
|
3198
3198
|
height: "36"
|
|
3199
|
-
}, null, 8,
|
|
3199
|
+
}, null, 8, sc)) : o("", !0)], 8, oc)), [[b(q), {
|
|
3200
3200
|
text: b(x).mdStrip(b(P)(e, 0).name),
|
|
3201
3201
|
width: 160
|
|
3202
3202
|
}]])), 128))])
|
|
3203
3203
|
])]),
|
|
3204
|
-
b(
|
|
3204
|
+
b(Y).active.value ? (p(), a(t, {
|
|
3205
3205
|
key: 0,
|
|
3206
|
-
term: b(
|
|
3207
|
-
html: b(x).md(b(
|
|
3208
|
-
onClose: b(
|
|
3206
|
+
term: b(Y).active.value,
|
|
3207
|
+
html: b(x).md(b(Y).active.value.definition),
|
|
3208
|
+
onClose: b(Y).close
|
|
3209
3209
|
}, null, 8, [
|
|
3210
3210
|
"term",
|
|
3211
3211
|
"html",
|
|
@@ -3216,28 +3216,28 @@ var Ss = ["innerHTML"], Cs = ["innerHTML"], ws = ["innerHTML"], Ts = ["innerHTML
|
|
|
3216
3216
|
}
|
|
3217
3217
|
};
|
|
3218
3218
|
// src/minisite/artintro/routes.js
|
|
3219
|
-
function
|
|
3219
|
+
function lc(e) {
|
|
3220
3220
|
return [
|
|
3221
3221
|
{
|
|
3222
3222
|
path: "/",
|
|
3223
3223
|
name: "home",
|
|
3224
|
-
component:
|
|
3224
|
+
component: Ps,
|
|
3225
3225
|
meta: e("home", "collections")
|
|
3226
3226
|
},
|
|
3227
3227
|
{
|
|
3228
3228
|
path: "/page/:theme(\\d+)/:page(\\d+)?",
|
|
3229
3229
|
name: "page",
|
|
3230
|
-
component:
|
|
3230
|
+
component: cc,
|
|
3231
3231
|
props: (e) => ({
|
|
3232
3232
|
theme: Number(e.params.theme),
|
|
3233
3233
|
page: Number(e.params.page || 1)
|
|
3234
3234
|
}),
|
|
3235
|
-
meta: e("page", ...
|
|
3235
|
+
meta: e("page", ...Be)
|
|
3236
3236
|
},
|
|
3237
3237
|
{
|
|
3238
3238
|
path: "/zoom",
|
|
3239
3239
|
name: "zoom",
|
|
3240
|
-
component:
|
|
3240
|
+
component: fn,
|
|
3241
3241
|
props: (e) => ({ image: String(e.query.img ?? "") }),
|
|
3242
3242
|
meta: {
|
|
3243
3243
|
...e("zoom", "collections"),
|
|
@@ -3246,13 +3246,13 @@ function oc(e) {
|
|
|
3246
3246
|
}
|
|
3247
3247
|
];
|
|
3248
3248
|
}
|
|
3249
|
-
function
|
|
3249
|
+
function uc({ languages: e, parent: t, texts: n = Pe.GAI }) {
|
|
3250
3250
|
let r = [
|
|
3251
|
-
["aboutMwnf",
|
|
3252
|
-
["contact",
|
|
3253
|
-
["legalNotice",
|
|
3254
|
-
["credits",
|
|
3255
|
-
["cookies",
|
|
3251
|
+
["aboutMwnf", M.about],
|
|
3252
|
+
["contact", M.contact],
|
|
3253
|
+
["legalNotice", M.legalNotice],
|
|
3254
|
+
["credits", M.credits],
|
|
3255
|
+
["cookies", M.cookies]
|
|
3256
3256
|
];
|
|
3257
3257
|
return {
|
|
3258
3258
|
languages: e,
|
|
@@ -3260,7 +3260,7 @@ function sc({ languages: e, parent: t, texts: n = je.GAI }) {
|
|
|
3260
3260
|
logoTip: "",
|
|
3261
3261
|
headerLinks: [{
|
|
3262
3262
|
label: `${n}.header.portal`,
|
|
3263
|
-
href:
|
|
3263
|
+
href: M.portal,
|
|
3264
3264
|
tip: `${n}.header.portalTip`
|
|
3265
3265
|
}, {
|
|
3266
3266
|
label: `${n}.header.home`,
|
|
@@ -3275,7 +3275,7 @@ function sc({ languages: e, parent: t, texts: n = je.GAI }) {
|
|
|
3275
3275
|
copyright: `${n}.footer.copyright`
|
|
3276
3276
|
};
|
|
3277
3277
|
}
|
|
3278
|
-
function
|
|
3278
|
+
function dc({ parent: e, ...t }) {
|
|
3279
3279
|
return {
|
|
3280
3280
|
parent: e,
|
|
3281
3281
|
family: "GAI",
|
|
@@ -3283,4 +3283,106 @@ function cc({ parent: e, ...t }) {
|
|
|
3283
3283
|
...t
|
|
3284
3284
|
};
|
|
3285
3285
|
}
|
|
3286
|
-
|
|
3286
|
+
// src/minisite/config.js
|
|
3287
|
+
function fc(e, t) {
|
|
3288
|
+
let n = String(e ?? "").replace(/\/+$/, "");
|
|
3289
|
+
return `${n.slice(0, n.lastIndexOf("/"))}/${t}`;
|
|
3290
|
+
}
|
|
3291
|
+
function pc({ datasetPackage: e, origin: t, siteName: n, chrome: r = {} }, i) {
|
|
3292
|
+
let { manifest: a } = z();
|
|
3293
|
+
return {
|
|
3294
|
+
datasetPackage: e,
|
|
3295
|
+
siteName: a.site?.names?.en ?? n ?? e,
|
|
3296
|
+
site: { origin: t },
|
|
3297
|
+
features: { entities: [] },
|
|
3298
|
+
languages: i,
|
|
3299
|
+
chrome: r,
|
|
3300
|
+
legacyRoutes: []
|
|
3301
|
+
};
|
|
3302
|
+
}
|
|
3303
|
+
function mc({ exhibition: e = {}, ...t }) {
|
|
3304
|
+
let n = N({ entity: "collections" }), r = fc(t.origin, "islamicart");
|
|
3305
|
+
return {
|
|
3306
|
+
...pc(t, n),
|
|
3307
|
+
shell: ge,
|
|
3308
|
+
navigation: hn({
|
|
3309
|
+
languages: k(n),
|
|
3310
|
+
parent: r
|
|
3311
|
+
}),
|
|
3312
|
+
minisite: gn({
|
|
3313
|
+
parent: r,
|
|
3314
|
+
menuSecondColumnFrom: e.menuSecondColumnFrom,
|
|
3315
|
+
curators: e.curators,
|
|
3316
|
+
map: e.maps ? {
|
|
3317
|
+
thumbnail: "legacy/intro_map_thumb.jpg",
|
|
3318
|
+
picture: (e, t) => t ? `legacy/map${t}_${e}.jpg` : `legacy/map_${e}.jpg`,
|
|
3319
|
+
count: e.maps
|
|
3320
|
+
} : null,
|
|
3321
|
+
noCountry: e.noCountry ?? ye,
|
|
3322
|
+
documentTitle: e.documentTitle ?? "MWNF DISCOVER ISLAMIC ART: Exhibition"
|
|
3323
|
+
}),
|
|
3324
|
+
views: { home: et },
|
|
3325
|
+
extraViews: pn(I())
|
|
3326
|
+
};
|
|
3327
|
+
}
|
|
3328
|
+
function hc({ exhibition: e = {}, ...t }) {
|
|
3329
|
+
let n = N({ entity: "collections" }), r = fc(t.origin, "islamicart");
|
|
3330
|
+
return {
|
|
3331
|
+
...pc(t, n),
|
|
3332
|
+
shell: ge,
|
|
3333
|
+
navigation: uc({
|
|
3334
|
+
languages: k(n),
|
|
3335
|
+
parent: r
|
|
3336
|
+
}),
|
|
3337
|
+
minisite: dc({
|
|
3338
|
+
parent: r,
|
|
3339
|
+
menuSecondColumnFrom: e.menuSecondColumnFrom,
|
|
3340
|
+
social: e.social,
|
|
3341
|
+
noCountry: e.noCountry ?? ye
|
|
3342
|
+
}),
|
|
3343
|
+
views: { home: Ps },
|
|
3344
|
+
extraViews: lc(I())
|
|
3345
|
+
};
|
|
3346
|
+
}
|
|
3347
|
+
function gc({ exhibition: e = {}, ...t }) {
|
|
3348
|
+
let n = N(), r = fc(t.origin, "baroqueart");
|
|
3349
|
+
return {
|
|
3350
|
+
...pc(t, n),
|
|
3351
|
+
shell: Ha,
|
|
3352
|
+
navigation: Cs({
|
|
3353
|
+
languages: k(n),
|
|
3354
|
+
parent: r
|
|
3355
|
+
}),
|
|
3356
|
+
minisite: ws({
|
|
3357
|
+
parent: r,
|
|
3358
|
+
menuSecondColumnFrom: e.menuSecondColumnFrom,
|
|
3359
|
+
curators: e.curators,
|
|
3360
|
+
design: e.design,
|
|
3361
|
+
banner: e.banner,
|
|
3362
|
+
noCountry: e.noCountry ?? Ua,
|
|
3363
|
+
documentTitle: e.documentTitle ?? "MWNF DISCOVER BAROQUE ART - Exhibition"
|
|
3364
|
+
}),
|
|
3365
|
+
views: { home: Co },
|
|
3366
|
+
extraViews: bs(I())
|
|
3367
|
+
};
|
|
3368
|
+
}
|
|
3369
|
+
function _c({ exhibition: e = {}, ...t }) {
|
|
3370
|
+
let n = N(), r = fc(t.origin, "sharinghistory");
|
|
3371
|
+
return {
|
|
3372
|
+
...pc(t, n),
|
|
3373
|
+
shell: Ln,
|
|
3374
|
+
navigation: wa({
|
|
3375
|
+
languages: k(n),
|
|
3376
|
+
parent: r,
|
|
3377
|
+
profiles: e.profiles
|
|
3378
|
+
}),
|
|
3379
|
+
minisite: Ta({
|
|
3380
|
+
parent: r,
|
|
3381
|
+
logos: e.logos,
|
|
3382
|
+
partnerLinks: e.partnerLinks
|
|
3383
|
+
}),
|
|
3384
|
+
views: { home: Or },
|
|
3385
|
+
extraViews: Sa(I())
|
|
3386
|
+
};
|
|
3387
|
+
}
|
|
3388
|
+
export { Ps as ArtIntroHome, cc as ArtIntroPage, $a as BAROQUEART_LABELS, Ua as BAROQUEART_NO_COUNTRY, to as BAROQUEART_WINDOWS, Co as BaroqueartHome, Vo as BaroqueartIntroduction, gs as BaroqueartPage, Ha as BaroqueartShell, ys as BaroqueartZoom, Be as EXHIBITION_ENTITIES, ye as ISLAMICART_NO_COUNTRY, Pe as LABELS, an as MinisiteCredits, et as MinisiteHome, Ot as MinisiteIntroduction, ln as MinisiteMap, tn as MinisitePage, ge as MinisiteShell, fn as MinisiteZoom, ve as PLACEHOLDER_TITLE, Rn as SHARINGHISTORY_LABELS, Yn as SHARINGHISTORY_WINDOWS, ga as SharingHistoryFurtherReading, Or as SharingHistoryHome, mi as SharingHistoryIntroduction, aa as SharingHistoryPage, Ln as SharingHistoryShell, va as SharingHistoryWindow, ba as SharingHistoryZoom, hc as artintroConfig, uc as artintroNavigation, lc as artintroRoutes, dc as artintroSettings, Ja as baroqueartCaption, Qa as baroqueartCuratorLabel, Ya as baroqueartDetailViewCaption, Za as baroqueartIntroCaption, xs as baroqueartMenu, gc as baroqueartMinisiteConfig, Cs as baroqueartNavigation, bs as baroqueartRoutes, ws as baroqueartSettings, Wa as baroqueartSlotsOf, Xa as baroqueartWithFirstView, X as cleanText, je as curatorLabel, Me as curatorLink, ze as exhibitionData, Fe as familyOf, Ae as introCaption, mn as islamicartMenu, Ie as labelSet, mc as minisiteConfig, hn as minisiteNavigation, pn as minisiteRoutes, gn as minisiteSettings, xe as pageWithNeighbours, fc as parentSite, Ee as placementCaption, Ne as quoteHasItalics, be as readingOrder, Kn as sharinghistoryCaption, qn as sharinghistoryHomeLogos, Hn as sharinghistoryListedSubthemes, Vn as sharinghistoryListedThemes, _c as sharinghistoryMinisiteConfig, wa as sharinghistoryNavigation, Un as sharinghistoryPageRoute, Wn as sharinghistoryPageWithNext, Bn as sharinghistoryReadingOrder, Jn as sharinghistoryRelatedLinks, Sa as sharinghistoryRoutes, Ta as sharinghistorySettings, Gn as sharinghistorySlotsOf, Oe as sheetItemId, Se as slotsOf, no as useBaroqueartExhibition, Ve as useExhibition, $ as useSharingHistoryExhibition, ke as viewPicture, De as withFirstView };
|