@museumwnf/viewer-layout 3.14.0 → 3.16.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 +60 -14
- package/dist/minisite.js +1511 -843
- package/dist/viewer-layout.css +1 -1
- package/package.json +1 -1
package/dist/minisite.js
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import { r as e } from "./chrome-DNsZQXrL.js";
|
|
2
2
|
import { t } from "./GlossaryPopover-B7E6BsjS.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, mdInline as k, mdStrip as A, mwnfLinks as j, removeEndingPoint as M, renderBlock as N, useCatalogue as P, useCollectionTree as F, useDataPackage as I, useGlossaryPopup as
|
|
5
|
-
import { useRoute as
|
|
4
|
+
import { NotFoundView as E, glossaryEntries as D, glossaryTermsFor as O, mdInline as k, mdStrip as A, mwnfLinks as j, removeEndingPoint as M, renderBlock as N, useCatalogue as P, useCollectionTree as F, useDataPackage as I, useGlossaryPopup as L, useI18n as R, useSiteConfig as z } from "@museumwnf/viewer-core";
|
|
5
|
+
import { useRoute as B, useRouter as V } from "vue-router";
|
|
6
6
|
//#region src/minisite/tip.js
|
|
7
|
-
var
|
|
7
|
+
var H = 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 U(e) {
|
|
15
|
+
H.x = e.pageX, H.y = e.pageY;
|
|
16
16
|
}
|
|
17
|
-
function
|
|
17
|
+
function W(e, t) {
|
|
18
18
|
e.__tip = t.value;
|
|
19
19
|
}
|
|
20
|
-
var
|
|
20
|
+
var G = {
|
|
21
21
|
mounted(e, t) {
|
|
22
|
-
|
|
22
|
+
W(e, t), e.addEventListener("mouseenter", (t) => {
|
|
23
23
|
let n = e.__tip;
|
|
24
|
-
n?.text && (
|
|
25
|
-
}), e.addEventListener("mousemove",
|
|
26
|
-
|
|
24
|
+
n?.text && (H.text = n.text, H.width = n.width ?? 100, U(t), H.visible = !0);
|
|
25
|
+
}), e.addEventListener("mousemove", U), e.addEventListener("mouseleave", () => {
|
|
26
|
+
H.visible = !1;
|
|
27
27
|
});
|
|
28
28
|
},
|
|
29
|
-
updated:
|
|
29
|
+
updated: W,
|
|
30
30
|
beforeUnmount() {
|
|
31
|
-
|
|
31
|
+
H.visible = !1;
|
|
32
32
|
}
|
|
33
|
-
},
|
|
33
|
+
}, K = {
|
|
34
34
|
key: 1,
|
|
35
35
|
class: "mwnf-minisite"
|
|
36
|
-
},
|
|
36
|
+
}, q = { class: "mwnf-minisite__column" }, J = { class: "mwnf-minisite-header" }, ee = { class: "mwnf-minisite-header__logo" }, te = ["href"], Y = ["src"], ne = { class: "mwnf-minisite-header__nav" }, re = { class: "mwnf-minisite-header__back" }, ie = ["href"], ae = ["value", "aria-label"], oe = ["value"], se = { class: "mwnf-minisite-menu" }, ce = { class: "mwnf-minisite-menu__list" }, le = ["href", "onClick"], ue = ["href"], de = { class: "mwnf-minisite-footer" }, fe = ["href"], pe = {
|
|
37
37
|
__name: "Shell",
|
|
38
38
|
props: {
|
|
39
39
|
languages: {
|
|
@@ -60,10 +60,6 @@ var W = {
|
|
|
60
60
|
type: Array,
|
|
61
61
|
default: () => []
|
|
62
62
|
},
|
|
63
|
-
menuSeparator: {
|
|
64
|
-
type: Boolean,
|
|
65
|
-
default: !0
|
|
66
|
-
},
|
|
67
63
|
footerLinks: {
|
|
68
64
|
type: Array,
|
|
69
65
|
default: () => []
|
|
@@ -75,7 +71,7 @@ var W = {
|
|
|
75
71
|
},
|
|
76
72
|
emits: ["update:language"],
|
|
77
73
|
setup(t, { emit: r }) {
|
|
78
|
-
let a = t, u = r, { t: m } =
|
|
74
|
+
let a = t, u = r, { t: m } = R(), h = z(), v = B(), 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(() => {
|
|
79
75
|
let e = C("legacy/bg_fading_left.gif"), t = C("legacy/bg_fading_right.gif");
|
|
80
76
|
return a.language === "en" ? [e, t] : [t, e];
|
|
81
77
|
});
|
|
@@ -86,21 +82,21 @@ var W = {
|
|
|
86
82
|
return (e, r) => (p(), s(n, null, [S.value ? (p(), s("div", {
|
|
87
83
|
key: 0,
|
|
88
84
|
class: d(`mwnf-minisite-window mwnf-minisite-window--${S.value}`)
|
|
89
|
-
}, [_(e.$slots, "default")], 2)) : (p(), s("div",
|
|
85
|
+
}, [_(e.$slots, "default")], 2)) : (p(), s("div", K, [
|
|
90
86
|
c("div", {
|
|
91
87
|
class: "mwnf-minisite__strip",
|
|
92
88
|
style: f({ backgroundImage: O.value[0] ? `url(${O.value[0]})` : "none" }),
|
|
93
89
|
"aria-hidden": "true"
|
|
94
90
|
}, null, 4),
|
|
95
|
-
c("div",
|
|
96
|
-
c("header",
|
|
91
|
+
c("div", q, [
|
|
92
|
+
c("header", J, [c("div", ee, [w((p(), s("a", { href: t.logoHref }, [c("img", {
|
|
97
93
|
src: C(`legacy/logo_${t.language}.gif`),
|
|
98
94
|
alt: "",
|
|
99
95
|
height: "60"
|
|
100
|
-
}, null, 8,
|
|
96
|
+
}, null, 8, Y)], 8, te)), [[b(G), { text: t.logoTip ? b(m)(t.logoTip) : "" }]])]), c("div", ne, [c("div", re, [(p(!0), s(n, null, g(t.headerLinks, (e, t) => (p(), s(n, { key: e.label }, [t > 0 ? (p(), s(n, { key: 0 }, [l("\xA0|\xA0")], 64)) : o("", !0), w((p(), s("a", {
|
|
101
97
|
class: "mwnf-minisite-header__link",
|
|
102
98
|
href: e.href
|
|
103
|
-
}, [l(y(b(m)(e.label)), 1)], 8,
|
|
99
|
+
}, [l(y(b(m)(e.label)), 1)], 8, ie)), [[b(G), { text: e.tip ? b(m)(e.tip) : "" }]])], 64))), 128))]), c("div", null, [c("select", {
|
|
104
100
|
class: "mwnf-minisite-header__select",
|
|
105
101
|
value: t.language,
|
|
106
102
|
"aria-label": b(m)("layout.language.label"),
|
|
@@ -108,17 +104,17 @@ var W = {
|
|
|
108
104
|
}, [(p(!0), s(n, null, g(E.value, (e) => (p(), s("option", {
|
|
109
105
|
key: e.code,
|
|
110
106
|
value: e.code
|
|
111
|
-
}, y(e.label), 9,
|
|
107
|
+
}, y(e.label), 9, oe))), 128))], 40, ae)])])]),
|
|
112
108
|
c("main", null, [_(e.$slots, "default")]),
|
|
113
|
-
t.menu.length ? (p(), s(n, { key: 0 }, [c("nav",
|
|
109
|
+
t.menu.length ? (p(), s(n, { key: 0 }, [c("nav", se, [c("ul", ce, [(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", {
|
|
114
110
|
key: 0,
|
|
115
111
|
href: e.href,
|
|
116
112
|
onClick: T((t) => k(e), ["prevent"])
|
|
117
|
-
}, y(b(m)(e.label)), 9,
|
|
113
|
+
}, y(b(m)(e.label)), 9, le)) : (p(), s("a", {
|
|
118
114
|
key: 1,
|
|
119
115
|
href: e.href
|
|
120
|
-
}, y(b(m)(e.label)), 9,
|
|
121
|
-
c("footer",
|
|
116
|
+
}, y(b(m)(e.label)), 9, ue))])], 64))), 128))])]), r[1] ||= c("div", { class: "mwnf-minisite-menu__line" }, null, -1)], 64)) : o("", !0),
|
|
117
|
+
c("footer", de, [(p(!0), s(n, null, g(t.footerLinks, (e) => (p(), s(n, { key: e.label }, [c("a", { href: e.href }, y(b(m)(e.label)), 9, fe), r[2] ||= l("\xA0|\xA0 ", -1)], 64))), 128)), l(y(b(m)(t.copyright)) + " " + y(b(D)), 1)])
|
|
122
118
|
]),
|
|
123
119
|
c("div", {
|
|
124
120
|
class: "mwnf-minisite__strip",
|
|
@@ -128,27 +124,27 @@ var W = {
|
|
|
128
124
|
])), w(c("div", {
|
|
129
125
|
class: "mwnf-minisite-tip",
|
|
130
126
|
style: f({
|
|
131
|
-
left: `${b(
|
|
132
|
-
top: `${b(
|
|
133
|
-
width: `${b(
|
|
127
|
+
left: `${b(H).x + 12}px`,
|
|
128
|
+
top: `${b(H).y + 16}px`,
|
|
129
|
+
width: `${b(H).width}px`
|
|
134
130
|
}),
|
|
135
131
|
role: "tooltip"
|
|
136
|
-
}, y(b(
|
|
132
|
+
}, y(b(H).text), 5), [[x, b(H).visible]])], 64));
|
|
137
133
|
}
|
|
138
|
-
},
|
|
134
|
+
}, me = [
|
|
139
135
|
[/[‘’]/g, "'"],
|
|
140
136
|
[/[“”]/g, "\""],
|
|
141
137
|
[/…/g, "..."],
|
|
142
138
|
[/•/g, "*"]
|
|
143
139
|
];
|
|
144
|
-
function
|
|
145
|
-
return
|
|
140
|
+
function X(e) {
|
|
141
|
+
return me.reduce((e, [t, n]) => e.replace(t, n), String(e ?? ""));
|
|
146
142
|
}
|
|
147
|
-
var
|
|
143
|
+
var he = /^(Artintro )?(Theme|Page) \d+$/, ge = {
|
|
148
144
|
partners: ["325b7505-1527-5442-99ea-6a40f8c43d3f"],
|
|
149
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}`)
|
|
150
146
|
};
|
|
151
|
-
function
|
|
147
|
+
function _e(e, t) {
|
|
152
148
|
return e.flatMap((e, n) => t(e.id).map((t, r) => ({
|
|
153
149
|
theme: n + 1,
|
|
154
150
|
page: r + 1,
|
|
@@ -156,7 +152,7 @@ function ve(e, t) {
|
|
|
156
152
|
themeNode: e
|
|
157
153
|
})));
|
|
158
154
|
}
|
|
159
|
-
function
|
|
155
|
+
function ve(e, t, n) {
|
|
160
156
|
let r = e.findIndex((e) => e.theme === t && e.page === n);
|
|
161
157
|
if (r < 0) return null;
|
|
162
158
|
let i = (e) => ({
|
|
@@ -172,7 +168,7 @@ function ye(e, t, n) {
|
|
|
172
168
|
next: r < e.length - 1 ? i(e[r + 1]) : null
|
|
173
169
|
};
|
|
174
170
|
}
|
|
175
|
-
function
|
|
171
|
+
function ye(e) {
|
|
176
172
|
let t = /* @__PURE__ */ new Map();
|
|
177
173
|
for (let n of e?.items ?? []) {
|
|
178
174
|
let e = n.display_order ?? 0;
|
|
@@ -181,38 +177,27 @@ function be(e) {
|
|
|
181
177
|
let n = (t) => (e?.images ?? []).find((e) => e.display_order === t)?.url ?? null;
|
|
182
178
|
return [...t.entries()].sort(([e], [t]) => e - t).map(([e, t]) => ({
|
|
183
179
|
n: e,
|
|
184
|
-
variants: [...t].sort((e, t) => (e.variant_order ?? 0) - (t.variant_order ?? 0)).
|
|
185
|
-
entry: t,
|
|
186
|
-
view: r,
|
|
187
|
-
image: r.image_url ?? n(e)
|
|
188
|
-
})) : [{
|
|
180
|
+
variants: [...t].sort((e, t) => (e.variant_order ?? 0) - (t.variant_order ?? 0)).map((t) => ({
|
|
189
181
|
entry: t,
|
|
190
182
|
image: t.image_url ?? n(e)
|
|
191
|
-
}
|
|
183
|
+
}))
|
|
192
184
|
}));
|
|
193
185
|
}
|
|
194
|
-
function
|
|
186
|
+
function be(e, t, n) {
|
|
195
187
|
return !e || e.type === "object" && n?.partners?.includes(e.partner_id) || e.type === "monument" && n?.monuments?.includes(e.mwnf_reference) ? "" : t(e);
|
|
196
188
|
}
|
|
197
|
-
function
|
|
189
|
+
function xe(e, t, n, r) {
|
|
198
190
|
return [
|
|
199
191
|
M(t.location ?? ""),
|
|
200
192
|
M(t.province ?? ""),
|
|
201
|
-
|
|
193
|
+
be(e, n, r)
|
|
202
194
|
].filter(Boolean).join(", ");
|
|
203
195
|
}
|
|
204
|
-
function
|
|
205
|
-
return n.location ? [n.location, e ? r(e) : ""].filter(Boolean).join(", ") :
|
|
206
|
-
}
|
|
207
|
-
function we(e, t, n) {
|
|
208
|
-
let r = e?.type === "object" ? t.artist : t.architects, i = [].concat(t.materials ?? []).filter(Boolean).join(", ");
|
|
209
|
-
return {
|
|
210
|
-
artist: Y(n.artist || M(r ?? "")),
|
|
211
|
-
material: Y(n.material || M(i))
|
|
212
|
-
};
|
|
196
|
+
function Se({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i }) {
|
|
197
|
+
return n.location ? [n.location, e ? r(e) : ""].filter(Boolean).join(", ") : xe(e, t, r, i);
|
|
213
198
|
}
|
|
214
|
-
function
|
|
215
|
-
let
|
|
199
|
+
function Ce({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i }) {
|
|
200
|
+
let a = e?.type === "object" ? n.museum || M(t.holder ?? "") : "", o = Se({
|
|
216
201
|
item: e,
|
|
217
202
|
own: t,
|
|
218
203
|
caption: n,
|
|
@@ -220,104 +205,80 @@ function Te({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i, fa
|
|
|
220
205
|
noCountry: i
|
|
221
206
|
});
|
|
222
207
|
return {
|
|
223
|
-
name:
|
|
224
|
-
detailName:
|
|
225
|
-
dateLines: [n.date || M(t.dates ?? ""), n.dynasty || M(t.dynasty ?? "")].filter(Boolean).map(
|
|
226
|
-
details: [
|
|
227
|
-
|
|
228
|
-
justification: Y(n.justification)
|
|
229
|
-
};
|
|
230
|
-
}
|
|
231
|
-
function Ee({ caption: e = {}, first: t = {}, record: n = {}, placement: r }) {
|
|
232
|
-
let i = (n, r = "") => e[n] || t[n] || r || "";
|
|
233
|
-
return {
|
|
234
|
-
name: M(i("name", n.name)),
|
|
235
|
-
detailName: e.detail_name ?? "",
|
|
236
|
-
dateLines: [
|
|
237
|
-
i("dynasty"),
|
|
238
|
-
i("date", n.dates),
|
|
239
|
-
i("museum"),
|
|
240
|
-
i("location", n.location)
|
|
241
|
-
].filter(Boolean),
|
|
242
|
-
details: r ? [Ce(r)].filter(Boolean).map(Y) : [],
|
|
243
|
-
artist: i("artist", n.artist),
|
|
244
|
-
material: i("material"),
|
|
245
|
-
justification: e.justification || t.justification || ""
|
|
208
|
+
name: X(n.name ? M(n.name) : M(t.name ?? "")),
|
|
209
|
+
detailName: X(n.detail_name),
|
|
210
|
+
dateLines: [n.date || M(t.dates ?? ""), n.dynasty || M(t.dynasty ?? "")].filter(Boolean).map(X),
|
|
211
|
+
details: [a, o].filter(Boolean).map(X),
|
|
212
|
+
justification: X(n.justification)
|
|
246
213
|
};
|
|
247
214
|
}
|
|
248
|
-
function
|
|
215
|
+
function we(e, t) {
|
|
249
216
|
return {
|
|
250
217
|
name: e.name || t.name,
|
|
251
|
-
detailName:
|
|
218
|
+
detailName: e.detailName || t.detailName,
|
|
252
219
|
dateLines: e.dateLines.length ? e.dateLines : t.dateLines,
|
|
253
220
|
details: e.details.length ? e.details : t.details,
|
|
254
|
-
..."artist" in e || "artist" in t ? { artist: e.artist || t.artist || "" } : {},
|
|
255
|
-
..."material" in e || "material" in t ? { material: e.material || t.material || "" } : {},
|
|
256
221
|
justification: e.justification || t.justification
|
|
257
222
|
};
|
|
258
223
|
}
|
|
259
|
-
function
|
|
224
|
+
function Te(e, t, n) {
|
|
260
225
|
let r = (e) => {
|
|
261
226
|
let t = e ? n(e.entry.id) : null;
|
|
262
227
|
return t && t.type !== "picture" ? t.id : null;
|
|
263
228
|
};
|
|
264
229
|
return r(e?.variants[t]) ?? r(e?.variants[0]) ?? null;
|
|
265
230
|
}
|
|
266
|
-
function
|
|
231
|
+
function Ee(e, t) {
|
|
267
232
|
return e?.variants[t]?.image || e?.variants[0]?.image || null;
|
|
268
233
|
}
|
|
269
|
-
function
|
|
270
|
-
let a = (e, t) => e ?
|
|
234
|
+
function De({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i }) {
|
|
235
|
+
let a = (e, t) => e ? X(M(e)) : t;
|
|
271
236
|
return [
|
|
272
237
|
a(n.name, M(t.name ?? "")),
|
|
273
238
|
a(n.date, M(t.dates ?? "")),
|
|
274
|
-
a(n.dynasty,
|
|
239
|
+
a(n.dynasty, X(M(t.dynasty ?? ""))),
|
|
275
240
|
e?.type === "object" ? a(n.museum, M(t.holder ?? "")) : "",
|
|
276
|
-
a(n.location,
|
|
241
|
+
a(n.location, xe(e, t, r, i))
|
|
277
242
|
];
|
|
278
243
|
}
|
|
279
|
-
function
|
|
244
|
+
function Oe(e, { partnerName: t, partnerCountry: n, countryName: r }) {
|
|
280
245
|
let i = (e) => e ? r(e) : "";
|
|
281
|
-
return e.partner ? e.
|
|
282
|
-
t(e.partner),
|
|
283
|
-
e.place,
|
|
284
|
-
i(e.country)
|
|
285
|
-
].filter(Boolean).join(", ") : [t(e.partner), i(n(e.partner))].filter(Boolean).join(", ") : [e.name, i(e.country)].filter(Boolean).join(", ");
|
|
246
|
+
return e.partner ? [t(e.partner), i(n(e.partner))].filter(Boolean).join(", ") : [e.name, i(e.country)].filter(Boolean).join(", ");
|
|
286
247
|
}
|
|
287
|
-
function
|
|
248
|
+
function ke(e, t) {
|
|
288
249
|
return "href" in e ? e.href : t?.(e.partner);
|
|
289
250
|
}
|
|
290
|
-
function
|
|
251
|
+
function Ae(e) {
|
|
291
252
|
return /(^|[^*])\*[^*\s][^*]*\*/.test(e ?? "") || /\b_[^_]+_\b/.test(e ?? "");
|
|
292
253
|
}
|
|
293
254
|
//#endregion
|
|
294
255
|
//#region src/minisite/exhibition.js
|
|
295
|
-
var
|
|
256
|
+
var je = {
|
|
296
257
|
ISL: "minisite",
|
|
297
258
|
BAR: "minisiteBaroque",
|
|
298
259
|
SH: "minisiteSharingHistory",
|
|
299
260
|
GAI: "minisiteArtIntro"
|
|
300
261
|
};
|
|
301
|
-
function
|
|
262
|
+
function Me(e) {
|
|
302
263
|
return e?.family ?? "ISL";
|
|
303
264
|
}
|
|
304
|
-
function
|
|
305
|
-
return e?.texts ??
|
|
265
|
+
function Ne(e) {
|
|
266
|
+
return e?.texts ?? je[Me(e)] ?? je.ISL;
|
|
306
267
|
}
|
|
307
|
-
var
|
|
268
|
+
var Pe = [
|
|
308
269
|
"collections",
|
|
309
270
|
"items",
|
|
310
271
|
"countries",
|
|
311
272
|
"partners",
|
|
312
273
|
"glossary"
|
|
313
|
-
],
|
|
314
|
-
function
|
|
315
|
-
if (!
|
|
274
|
+
], Fe = null;
|
|
275
|
+
function Ie() {
|
|
276
|
+
if (!Fe) {
|
|
316
277
|
let e = I();
|
|
317
|
-
|
|
278
|
+
Fe = {
|
|
318
279
|
pkg: e,
|
|
319
280
|
data: P({
|
|
320
|
-
eager:
|
|
281
|
+
eager: Pe,
|
|
321
282
|
glossary: !1
|
|
322
283
|
}),
|
|
323
284
|
tree: F({
|
|
@@ -326,226 +287,156 @@ function ze() {
|
|
|
326
287
|
})
|
|
327
288
|
};
|
|
328
289
|
}
|
|
329
|
-
return
|
|
290
|
+
return Fe;
|
|
330
291
|
}
|
|
331
|
-
var
|
|
292
|
+
var Le = [
|
|
332
293
|
"collections",
|
|
333
294
|
"items",
|
|
334
295
|
"countries",
|
|
335
296
|
"glossary"
|
|
336
297
|
];
|
|
337
|
-
function
|
|
338
|
-
let { pkg: t, data: n, tree: r } =
|
|
339
|
-
S(
|
|
340
|
-
let
|
|
341
|
-
function
|
|
342
|
-
let n = t.translations("collections",
|
|
343
|
-
return
|
|
298
|
+
function Re() {
|
|
299
|
+
let { pkg: t, data: n, tree: r } = Ie(), { locale: a, t: o } = R(), s = z(), c = s.minisite ?? {}, l = Ne(c), u = (e) => o(`${l}.${e}`), d = V(), f = i(() => a.value);
|
|
300
|
+
S(f, (e) => Promise.all(Pe.flatMap((n) => [t.loadTranslations(n, e), t.loadTranslations(n, "en")])), { immediate: !0 });
|
|
301
|
+
let p = r.root, m = i(() => p.value ? r.children(p.value.id) : []), h = i(() => _e(m.value, r.children));
|
|
302
|
+
function g(e) {
|
|
303
|
+
let n = t.translations("collections", f.value)[e] ?? {};
|
|
304
|
+
return he.test(n.title ?? "") ? {
|
|
344
305
|
...n,
|
|
345
306
|
title: ""
|
|
346
307
|
} : n;
|
|
347
308
|
}
|
|
348
|
-
let
|
|
349
|
-
function
|
|
309
|
+
let _ = (e) => e?.country_id ? M(n.tr("countries", e.country_id, f.value).name ?? "") : "";
|
|
310
|
+
function v(e) {
|
|
350
311
|
return {
|
|
351
312
|
item: n.itemById.value.get(e.id),
|
|
352
|
-
own: n.tr("items", e.id,
|
|
353
|
-
caption: e.caption?.[
|
|
354
|
-
countryName:
|
|
355
|
-
noCountry: c.noCountry
|
|
356
|
-
family: l
|
|
313
|
+
own: n.tr("items", e.id, f.value),
|
|
314
|
+
caption: e.caption?.[f.value] ?? {},
|
|
315
|
+
countryName: _,
|
|
316
|
+
noCountry: c.noCountry
|
|
357
317
|
};
|
|
358
318
|
}
|
|
359
|
-
function
|
|
360
|
-
let
|
|
361
|
-
|
|
362
|
-
let r = e.variants[0];
|
|
363
|
-
return Ee({
|
|
364
|
-
caption: t.view.caption?.[p.value] ?? {},
|
|
365
|
-
first: r.view ? r.view.caption?.[p.value] ?? {} : {},
|
|
366
|
-
record: t.view.id ? n.tr("items", t.view.id, p.value) : {},
|
|
367
|
-
placement: y(t.entry)
|
|
368
|
-
});
|
|
369
|
-
}, i = e?.variants[t];
|
|
370
|
-
return i ? De(r(i), r(e.variants[0]), l) : null;
|
|
319
|
+
function y(e, t) {
|
|
320
|
+
let n = (e) => Ce(v(e.entry)), r = e?.variants[t];
|
|
321
|
+
return r ? we(n(r), n(e.variants[0])) : null;
|
|
371
322
|
}
|
|
372
|
-
function
|
|
373
|
-
let r =
|
|
374
|
-
return r.length === 0 ? [] : D(O({ glossary_ids: r },
|
|
323
|
+
function b(e) {
|
|
324
|
+
let r = g(e).glossary_ids ?? [];
|
|
325
|
+
return r.length === 0 ? [] : D(O({ glossary_ids: r }, f.value, {
|
|
375
326
|
translations: t.translations,
|
|
376
327
|
byId: n.index("glossary").value
|
|
377
328
|
}));
|
|
378
329
|
}
|
|
379
|
-
function
|
|
380
|
-
return t ? e(s.chrome, String(t).replace("{lang}",
|
|
330
|
+
function x(t) {
|
|
331
|
+
return t ? e(s.chrome, String(t).replace("{lang}", f.value)) : null;
|
|
381
332
|
}
|
|
382
|
-
function
|
|
383
|
-
return new URL(
|
|
333
|
+
function C(e) {
|
|
334
|
+
return new URL(d.resolve({
|
|
384
335
|
...e,
|
|
385
336
|
query: {
|
|
386
337
|
...e.query,
|
|
387
|
-
lang:
|
|
338
|
+
lang: f.value
|
|
388
339
|
}
|
|
389
340
|
}).href, window.location.href).href;
|
|
390
341
|
}
|
|
391
342
|
return {
|
|
392
343
|
t: o,
|
|
393
|
-
label:
|
|
394
|
-
|
|
395
|
-
lang: p,
|
|
344
|
+
label: u,
|
|
345
|
+
lang: f,
|
|
396
346
|
data: n,
|
|
397
|
-
root:
|
|
398
|
-
themes:
|
|
399
|
-
pages:
|
|
400
|
-
text:
|
|
347
|
+
root: p,
|
|
348
|
+
themes: m,
|
|
349
|
+
pages: h,
|
|
350
|
+
text: g,
|
|
401
351
|
settings: c,
|
|
402
|
-
picture:
|
|
403
|
-
href:
|
|
404
|
-
glossaryFor:
|
|
405
|
-
pageAt: (e, t) =>
|
|
406
|
-
slots:
|
|
407
|
-
placementCaption: (e) =>
|
|
408
|
-
viewCaption:
|
|
409
|
-
introCaption: (e) =>
|
|
410
|
-
title: i(() =>
|
|
352
|
+
picture: x,
|
|
353
|
+
href: C,
|
|
354
|
+
glossaryFor: b,
|
|
355
|
+
pageAt: (e, t) => ve(h.value, e, t),
|
|
356
|
+
slots: ye,
|
|
357
|
+
placementCaption: (e) => Ce(v(e)),
|
|
358
|
+
viewCaption: y,
|
|
359
|
+
introCaption: (e) => De(v(e)),
|
|
360
|
+
title: i(() => p.value ? g(p.value.id).title ?? "" : "")
|
|
411
361
|
};
|
|
412
362
|
}
|
|
413
|
-
var
|
|
363
|
+
var ze = {
|
|
414
364
|
credits: ["exhcredits", "scrollbars=auto, resizable=1, width=420, height=530"],
|
|
415
365
|
map: ["exhibition_map", "scrollbars=auto, resize=yes, width=800, height=418"],
|
|
416
|
-
zoom: ["mwnfing", ""]
|
|
417
|
-
introZoom: ["BAR", "scrollbars=no,resize=no,width=565,height=435"]
|
|
366
|
+
zoom: ["mwnfing", ""]
|
|
418
367
|
};
|
|
419
368
|
function Z(e, [t, n]) {
|
|
420
369
|
window.open(e, t, n)?.focus();
|
|
421
370
|
}
|
|
422
371
|
//#endregion
|
|
423
372
|
//#region src/minisite/Home.vue
|
|
424
|
-
var
|
|
373
|
+
var Be = { class: "mwnf-minisite-home" }, Ve = { class: "mwnf-minisite-home__title" }, He = ["innerHTML"], Ue = { class: "mwnf-minisite-home__menu" }, We = {
|
|
425
374
|
key: 0,
|
|
426
375
|
class: "mwnf-minisite-home__menu2"
|
|
427
|
-
}, qe = {
|
|
428
|
-
key: 0,
|
|
429
|
-
class: "mwnf-minisite-partners mwnf-minisite-partners--baroque"
|
|
430
|
-
}, Je = { class: "mwnf-minisite-partners__curators" }, Ye = { class: "mwnf-minisite-partners__line" }, Xe = ["innerHTML"], Ze = { class: "mwnf-minisite-partners__cooperation" }, Qe = ["href"], $e = { class: "mwnf-minisite-partners__tab" }, et = ["href"], tt = ["src"], nt = {
|
|
431
|
-
key: 0,
|
|
432
|
-
class: "mwnf-minisite-partners__design"
|
|
433
|
-
}, rt = { class: "mwnf-minisite-partners__design-tab" }, it = { class: "mwnf-minisite-partners__design-tab" }, at = ["href"], ot = ["src"], st = {
|
|
434
|
-
key: 1,
|
|
435
|
-
class: "mwnf-minisite-partners"
|
|
436
|
-
}, ct = { class: "mwnf-minisite-partners__line" }, lt = ["href"], ut = { class: "mwnf-minisite-partners__logos" }, dt = ["href"], ft = ["src"], pt = {
|
|
376
|
+
}, Ge = { class: "mwnf-minisite-partners" }, Ke = { class: "mwnf-minisite-partners__line" }, qe = ["href"], Je = { class: "mwnf-minisite-partners__logos" }, Ye = ["href"], Xe = ["src"], Ze = {
|
|
437
377
|
__name: "Home",
|
|
438
378
|
setup(e) {
|
|
439
|
-
let { label: t,
|
|
379
|
+
let { label: t, lang: r, data: a, root: d, themes: m, text: h, title: _, settings: x, picture: E, href: D, glossaryFor: O } = Re(), 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) => ({
|
|
440
380
|
theme: e,
|
|
441
381
|
number: t + 1
|
|
442
|
-
}))),
|
|
382
|
+
}))), M = i(() => m.value.slice(A.value).map((e, t) => ({
|
|
443
383
|
theme: e,
|
|
444
|
-
number:
|
|
445
|
-
}))),
|
|
446
|
-
partnerName: (e) =>
|
|
447
|
-
partnerCountry: (e) =>
|
|
448
|
-
countryName: (e) =>
|
|
449
|
-
}),
|
|
450
|
-
return S([
|
|
451
|
-
document.title = [t("identity.windowTitle"),
|
|
452
|
-
}, { immediate: !0 }), (e,
|
|
453
|
-
let
|
|
454
|
-
return p(), s(n, null, [
|
|
455
|
-
c("div",
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
b(
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
}, null, 8, tt)], 8, et)), [[b(W), {
|
|
501
|
-
text: ee(e),
|
|
502
|
-
width: 220
|
|
503
|
-
}]]),
|
|
504
|
-
t < I.value.length - 1 ? (p(), s("span", {
|
|
505
|
-
key: 0,
|
|
506
|
-
class: "mwnf-minisite-partners__gap",
|
|
507
|
-
style: f({ width: `${e.space ?? 0}px` })
|
|
508
|
-
}, null, 4)) : o("", !0)
|
|
509
|
-
], 64))), 128))])
|
|
510
|
-
]), z.value ? (p(), s("div", nt, [
|
|
511
|
-
l(y(b(t)("home.design")) + " ", 1),
|
|
512
|
-
c("div", rt, y(z.value.name), 1),
|
|
513
|
-
c("div", it, [c("a", {
|
|
514
|
-
href: z.value.href,
|
|
515
|
-
target: "_blank",
|
|
516
|
-
rel: "noopener"
|
|
517
|
-
}, [c("img", {
|
|
518
|
-
src: b(k)(z.value.logo),
|
|
519
|
-
alt: ""
|
|
520
|
-
}, null, 8, ot)], 8, at)])
|
|
521
|
-
])) : o("", !0)])) : (p(), s("div", st, [c("div", ct, [c("a", {
|
|
522
|
-
href: b(A)({ name: "credits" }),
|
|
523
|
-
onClick: i[0] ||= T((e) => b(Z)(b(A)({ name: "credits" }), b(Ve).credits), ["prevent"])
|
|
524
|
-
}, y(b(t)("home.curatedBy")), 9, lt)]), c("div", ut, [(p(!0), s(n, null, g(I.value, (e, t) => (p(), s(n, { key: e.logo }, [w((p(), s("a", {
|
|
525
|
-
class: "mwnf-minisite-partners__curator",
|
|
526
|
-
href: L(e)
|
|
527
|
-
}, [c("img", {
|
|
528
|
-
src: b(k)(e.logo),
|
|
529
|
-
alt: "",
|
|
530
|
-
height: "74"
|
|
531
|
-
}, null, 8, ft)], 8, dt)), [[b(W), {
|
|
532
|
-
text: ee(e),
|
|
533
|
-
width: 280
|
|
534
|
-
}]]), t < I.value.length - 1 ? (p(), s("span", {
|
|
535
|
-
key: 0,
|
|
536
|
-
class: "mwnf-minisite-partners__space",
|
|
537
|
-
style: f({ width: `${e.space ?? 0}px` })
|
|
538
|
-
}, null, 4)) : o("", !0)], 64))), 128))])])),
|
|
539
|
-
B.value ? (p(), a(r, {
|
|
540
|
-
key: 2,
|
|
541
|
-
defer: "",
|
|
542
|
-
to: ".mwnf-minisite-footer"
|
|
543
|
-
}, [c("div", {
|
|
544
|
-
class: "mwnf-minisite-home__banner",
|
|
545
|
-
style: f({ backgroundImage: `url(${B.value})` }),
|
|
546
|
-
"aria-hidden": "true"
|
|
547
|
-
}, null, 4)])) : o("", !0)
|
|
548
|
-
], 64);
|
|
384
|
+
number: A.value + t + 1
|
|
385
|
+
}))), N = i(() => x.curators ?? []), P = (e) => Oe(e, {
|
|
386
|
+
partnerName: (e) => a.tr("partners", e, r.value).name,
|
|
387
|
+
partnerCountry: (e) => a.partnerById.value.get(e)?.country_id,
|
|
388
|
+
countryName: (e) => a.tr("countries", e, r.value).name
|
|
389
|
+
}), F = (e) => ke(e, x.partnerHref), I = i(() => E(r.value === "ar" ? "legacy/home_bg_ar.jpg" : "legacy/home_bg.jpg"));
|
|
390
|
+
return S([_, r], () => {
|
|
391
|
+
document.title = [t("identity.windowTitle"), _.value].filter(Boolean).join(" | ");
|
|
392
|
+
}, { immediate: !0 }), (e, r) => {
|
|
393
|
+
let i = v("router-link");
|
|
394
|
+
return p(), s(n, null, [c("div", Be, [
|
|
395
|
+
r[4] ||= c("div", { class: "mwnf-minisite-home__bg1" }, null, -1),
|
|
396
|
+
c("div", {
|
|
397
|
+
class: "mwnf-minisite-home__bg2",
|
|
398
|
+
style: f({ backgroundImage: I.value ? `url(${I.value})` : "none" })
|
|
399
|
+
}, null, 4),
|
|
400
|
+
c("div", Ve, y(b(_)), 1),
|
|
401
|
+
c("div", {
|
|
402
|
+
class: "mwnf-minisite-home__description",
|
|
403
|
+
innerHTML: k.value
|
|
404
|
+
}, null, 8, He),
|
|
405
|
+
c("div", Ue, [c("div", null, [r[1] ||= l("> ", -1), u(i, { to: { name: "introduction" } }, {
|
|
406
|
+
default: C(() => [l(y(b(t)("home.introduction")), 1)]),
|
|
407
|
+
_: 1
|
|
408
|
+
})]), (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: {
|
|
409
|
+
name: "exhibition",
|
|
410
|
+
params: { theme: t }
|
|
411
|
+
} }, {
|
|
412
|
+
default: C(() => [l(y(b(h)(e.id).title), 1)]),
|
|
413
|
+
_: 2
|
|
414
|
+
}, 1032, ["to"])]))), 128))]),
|
|
415
|
+
M.value.length ? (p(), s("div", We, [(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: {
|
|
416
|
+
name: "exhibition",
|
|
417
|
+
params: { theme: t }
|
|
418
|
+
} }, {
|
|
419
|
+
default: C(() => [l(y(b(h)(e.id).title), 1)]),
|
|
420
|
+
_: 2
|
|
421
|
+
}, 1032, ["to"])]))), 128))])) : o("", !0)
|
|
422
|
+
]), c("div", Ge, [c("div", Ke, [c("a", {
|
|
423
|
+
href: b(D)({ name: "credits" }),
|
|
424
|
+
onClick: r[0] ||= T((e) => b(Z)(b(D)({ name: "credits" }), b(ze).credits), ["prevent"])
|
|
425
|
+
}, y(b(t)("home.curatedBy")), 9, qe)]), c("div", Je, [(p(!0), s(n, null, g(N.value, (e, t) => (p(), s(n, { key: e.logo }, [w((p(), s("a", {
|
|
426
|
+
class: "mwnf-minisite-partners__curator",
|
|
427
|
+
href: F(e)
|
|
428
|
+
}, [c("img", {
|
|
429
|
+
src: b(E)(e.logo),
|
|
430
|
+
alt: "",
|
|
431
|
+
height: "74"
|
|
432
|
+
}, null, 8, Xe)], 8, Ye)), [[b(G), {
|
|
433
|
+
text: P(e),
|
|
434
|
+
width: 280
|
|
435
|
+
}]]), t < N.value.length - 1 ? (p(), s("span", {
|
|
436
|
+
key: 0,
|
|
437
|
+
class: "mwnf-minisite-partners__space",
|
|
438
|
+
style: f({ width: `${e.space ?? 0}px` })
|
|
439
|
+
}, null, 4)) : o("", !0)], 64))), 128))])])], 64);
|
|
549
440
|
};
|
|
550
441
|
}
|
|
551
442
|
}, Q = (e) => String(e ?? "").replace(/[&<>"]/g, (e) => ({
|
|
@@ -554,56 +445,56 @@ var He = { class: "mwnf-minisite-home" }, Ue = { class: "mwnf-minisite-home__tit
|
|
|
554
445
|
">": ">",
|
|
555
446
|
"\"": """
|
|
556
447
|
})[e]);
|
|
557
|
-
function
|
|
448
|
+
function Qe(e, t, n) {
|
|
558
449
|
let r = `<!DOCTYPE html><html><head><meta charset="utf-8"><title>${Q(t)}</title></head><body>${n}</body></html>`, i = document.createElement("a");
|
|
559
450
|
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);
|
|
560
451
|
}
|
|
561
|
-
var
|
|
562
|
-
function
|
|
452
|
+
var $e = (...e) => `${e.map((e) => A(e).replace(/[,:]/g, "").replace(/ /g, "-")).join("-")}.doc`;
|
|
453
|
+
function et({ documentTitle: e, title: t, header: n, text: r, captions: i }) {
|
|
563
454
|
let a = i.map((e) => {
|
|
564
455
|
let [t, ...n] = e;
|
|
565
456
|
return `<div><br/>${[t ? `<strong>${Q(A(t))}</strong>` : "", ...n.map((e) => Q(A(e)))].filter(Boolean).join("<br/>")}</div>`;
|
|
566
457
|
}).join("");
|
|
567
|
-
|
|
458
|
+
Qe(`${A(t).replace(/ /g, "-")}-con.doc`, e, `<div><b>${Q(A(t))}</b><br/><br/></div><table border="0"><tr><td style="vertical-align:top"><div>${Q(A(n))}</div><div>${Q(A(r))}<br/><br/></div></td><td>${a}</td></tr></table>`);
|
|
568
459
|
}
|
|
569
|
-
var
|
|
570
|
-
function
|
|
571
|
-
return `<tr bgcolor="#FFFFFF"><td width='150px' ${
|
|
460
|
+
var tt = "align='center' style='color:#000000;vertical-align:top;'";
|
|
461
|
+
function nt(e) {
|
|
462
|
+
return `<tr bgcolor="#FFFFFF"><td width='150px' ${tt}>${Q(A(e.name))}</td><td width='100px' ${tt}>${Q(A(e.dateLines.join(" ")))}</td><td width='100px' ${tt}>${e.details.map((e) => Q(A(e))).join("<br/>")}</td><td width='100px' ${tt}>${k(e.justification)}`;
|
|
572
463
|
}
|
|
573
|
-
function
|
|
464
|
+
function rt({ documentTitle: e, title: t, pageTitle: n, quote: r, text: i, slots: a }) {
|
|
574
465
|
let o = "<tr><th>Name</th><th>Dynasty</th><th>Details</th><th>Justification</th></tr>", s = a.map(([e, ...t]) => {
|
|
575
|
-
let n = t.length ? `<table width="100%" cellpadding="1" cellspacing="1" border="1" bgcolor="#FFFFFF">${o}${t.map((e) => `${
|
|
576
|
-
return `${
|
|
466
|
+
let n = t.length ? `<table width="100%" cellpadding="1" cellspacing="1" border="1" bgcolor="#FFFFFF">${o}${t.map((e) => `${nt(e)}</td></tr>`).join("")}</table>` : "";
|
|
467
|
+
return `${nt(e)}${n}</td></tr>`;
|
|
577
468
|
}).join("");
|
|
578
|
-
|
|
469
|
+
Qe($e(t, n), e, `<table width="100%" cellpadding="1" cellspacing="1" border="0" bgcolor="#CCCCCC"><tr bgcolor="#FFFFFF"><td style="color:#000000"><b>${Q(A(t))} / ${Q(A(n))}<br/><br/></b></td></tr><tr bgcolor="#FFFFFF"><td style="color:#000000"><i>${Q(A(r))}</i><br/><br/></td></tr><tr bgcolor="#FFFFFF"><td style="color:#000000">${N(i ?? "")}<br/><br/></td></tr><tr><td><table width="100%" cellpadding="1" cellspacing="2" border="0" bgcolor="#CCCCCC">${o}${s}</table></td></tr></table>`);
|
|
579
470
|
}
|
|
580
471
|
//#endregion
|
|
581
472
|
//#region src/minisite/DownloadBlock.vue
|
|
582
|
-
var
|
|
473
|
+
var it = { class: "mwnf-minisite-download" }, at = ["src"], ot = ["src"], st = ["src"], ct = {
|
|
583
474
|
__name: "DownloadBlock",
|
|
584
475
|
props: { word: {
|
|
585
476
|
type: Function,
|
|
586
477
|
required: !0
|
|
587
478
|
} },
|
|
588
479
|
setup(t) {
|
|
589
|
-
let { t: n } =
|
|
480
|
+
let { t: n } = R(), r = z(), i = (t) => e(r.chrome, t), a = (e) => n(`${Ne(r.minisite)}.${e}`);
|
|
590
481
|
function o() {
|
|
591
482
|
window.print();
|
|
592
483
|
}
|
|
593
|
-
return (e, n) => (p(), s("div",
|
|
484
|
+
return (e, n) => (p(), s("div", it, [
|
|
594
485
|
n[1] ||= c("br", null, null, -1),
|
|
595
486
|
c("img", {
|
|
596
487
|
src: i("legacy/print_dark.gif"),
|
|
597
488
|
alt: "",
|
|
598
489
|
width: "17",
|
|
599
490
|
height: "12"
|
|
600
|
-
}, null, 8,
|
|
491
|
+
}, null, 8, at),
|
|
601
492
|
l(" / " + y(a("download.heading")), 1),
|
|
602
493
|
n[2] ||= c("br", null, null, -1),
|
|
603
494
|
c("img", {
|
|
604
495
|
src: i("legacy/arrow_inner_black.gif"),
|
|
605
496
|
alt: ""
|
|
606
|
-
}, null, 8,
|
|
497
|
+
}, null, 8, ot),
|
|
607
498
|
c("a", {
|
|
608
499
|
href: "#",
|
|
609
500
|
onClick: T(o, ["prevent"])
|
|
@@ -612,55 +503,48 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
|
|
|
612
503
|
c("img", {
|
|
613
504
|
src: i("legacy/arrow_inner_black.gif"),
|
|
614
505
|
alt: ""
|
|
615
|
-
}, null, 8,
|
|
506
|
+
}, null, 8, st),
|
|
616
507
|
c("a", {
|
|
617
508
|
href: "#",
|
|
618
509
|
onClick: n[0] ||= T((e) => t.word(), ["prevent"])
|
|
619
510
|
}, y(a("download.asWord")), 1)
|
|
620
511
|
]));
|
|
621
512
|
}
|
|
622
|
-
},
|
|
513
|
+
}, lt = { class: "mwnf-minisite-intro__title" }, ut = { class: "mwnf-minisite-intro__nav mwnf-minisite-intro__nav--start" }, dt = { class: "mwnf-minisite-intro__nav mwnf-minisite-intro__nav--end" }, ft = { class: "mwnf-minisite-intro__table" }, pt = ["innerHTML"], mt = ["innerHTML"], ht = { class: "mwnf-minisite-intro__side" }, gt = {
|
|
623
514
|
key: 0,
|
|
624
515
|
class: "mwnf-minisite-intro-item"
|
|
625
|
-
},
|
|
516
|
+
}, _t = ["href"], vt = ["src"], yt = ["href"], bt = ["src"], xt = { key: 1 }, St = { key: 0 }, Ct = ["innerHTML"], wt = ["innerHTML"], Tt = {
|
|
626
517
|
__name: "Introduction",
|
|
627
518
|
setup(e) {
|
|
628
|
-
let { label: r, lang: d, data: m, root: h, text: _, title: x, settings: w, picture: E, href: D, introCaption: O, slots: k, glossaryFor: A
|
|
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 } = Re(), 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 }) => ({
|
|
629
520
|
entry: e,
|
|
630
521
|
image: t,
|
|
631
522
|
lines: O(e)
|
|
632
|
-
}))),
|
|
633
|
-
function
|
|
634
|
-
|
|
635
|
-
name: "zoom",
|
|
636
|
-
query: { img: e }
|
|
637
|
-
}), Ve.introZoom);
|
|
638
|
-
}
|
|
639
|
-
let z = ee(N);
|
|
640
|
-
function B() {
|
|
641
|
-
gt({
|
|
523
|
+
}))), I = i(() => w.map ?? null), R = L(M);
|
|
524
|
+
function z() {
|
|
525
|
+
et({
|
|
642
526
|
documentTitle: w.documentTitle,
|
|
643
527
|
title: x.value,
|
|
644
|
-
header:
|
|
645
|
-
text:
|
|
646
|
-
captions:
|
|
528
|
+
header: j.value.extra?.intro_header ?? "",
|
|
529
|
+
text: j.value.extra?.intro_text ?? "",
|
|
530
|
+
captions: F.value.map((e) => e.lines)
|
|
647
531
|
});
|
|
648
532
|
}
|
|
649
|
-
let
|
|
533
|
+
let B = i(() => E(d.value === "ar" ? "legacy/intro_bg_ar.jpg" : "legacy/intro_bg.jpg"));
|
|
650
534
|
return S([x, d], () => {
|
|
651
535
|
document.title = [r("identity.windowTitle"), x.value].filter(Boolean).join(" | ");
|
|
652
536
|
}, { immediate: !0 }), (e, i) => {
|
|
653
537
|
let d = v("router-link");
|
|
654
538
|
return p(), s("div", {
|
|
655
539
|
class: "mwnf-minisite-intro",
|
|
656
|
-
style: f({ backgroundImage:
|
|
540
|
+
style: f({ backgroundImage: B.value ? `url(${B.value})` : "none" })
|
|
657
541
|
}, [
|
|
658
|
-
c("div",
|
|
659
|
-
c("div",
|
|
542
|
+
c("div", lt, y(b(x)), 1),
|
|
543
|
+
c("div", ut, [i[3] ||= l(" < ", -1), u(d, { to: { name: "home" } }, {
|
|
660
544
|
default: C(() => [l(y(b(r)("nav.entrance")), 1)]),
|
|
661
545
|
_: 1
|
|
662
546
|
})]),
|
|
663
|
-
c("div",
|
|
547
|
+
c("div", dt, [
|
|
664
548
|
i[4] ||= l(" < ", -1),
|
|
665
549
|
u(d, { to: { name: "home" } }, {
|
|
666
550
|
default: C(() => [l(y(b(r)("nav.previous")), 1)]),
|
|
@@ -679,70 +563,59 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
|
|
|
679
563
|
}),
|
|
680
564
|
i[6] ||= l(" > ", -1)
|
|
681
565
|
]),
|
|
682
|
-
c("div",
|
|
566
|
+
c("div", ft, [c("div", {
|
|
683
567
|
class: "mwnf-minisite-intro__text",
|
|
684
|
-
onClick: i[0] ||= (...e) => b(
|
|
568
|
+
onClick: i[0] ||= (...e) => b(R).onClick && b(R).onClick(...e)
|
|
685
569
|
}, [
|
|
686
570
|
c("div", {
|
|
687
571
|
class: "mwnf-minisite-intro__header",
|
|
688
|
-
innerHTML:
|
|
689
|
-
}, null, 8,
|
|
572
|
+
innerHTML: P.value
|
|
573
|
+
}, null, 8, pt),
|
|
690
574
|
c("div", {
|
|
691
575
|
class: "mwnf-minisite-intro__content",
|
|
692
|
-
innerHTML:
|
|
693
|
-
}, null, 8,
|
|
694
|
-
u(
|
|
695
|
-
]), c("div",
|
|
576
|
+
innerHTML: N.value
|
|
577
|
+
}, null, 8, mt),
|
|
578
|
+
u(ct, { word: z })
|
|
579
|
+
]), c("div", ht, [I.value ? (p(), s("div", gt, [
|
|
696
580
|
c("a", {
|
|
697
581
|
href: b(D)({ name: "map" }),
|
|
698
|
-
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(ze).map), ["prevent"])
|
|
699
583
|
}, [c("img", {
|
|
700
|
-
src: b(E)(
|
|
584
|
+
src: b(E)(I.value.thumbnail),
|
|
701
585
|
alt: "",
|
|
702
586
|
width: "178",
|
|
703
587
|
height: "93"
|
|
704
|
-
}, null, 8,
|
|
588
|
+
}, null, 8, vt)], 8, _t),
|
|
705
589
|
i[7] ||= c("br", null, null, -1),
|
|
706
590
|
c("a", {
|
|
707
591
|
class: "mwnf-minisite-intro-item__map",
|
|
708
592
|
href: b(D)({ name: "map" }),
|
|
709
|
-
onClick: i[2] ||= T((e) => b(Z)(b(D)({ name: "map" }), b(
|
|
710
|
-
}, y(b(r)("intro.enlargeMap")), 9,
|
|
711
|
-
])) : o("", !0), (p(!0), s(n, null, g(
|
|
593
|
+
onClick: i[2] ||= T((e) => b(Z)(b(D)({ name: "map" }), b(ze).map), ["prevent"])
|
|
594
|
+
}, y(b(r)("intro.enlargeMap")), 9, yt)
|
|
595
|
+
])) : o("", !0), (p(!0), s(n, null, g(F.value, (e) => (p(), s("div", {
|
|
712
596
|
key: `${e.entry.id}-${e.entry.variant_order}`,
|
|
713
597
|
class: "mwnf-minisite-intro-item"
|
|
714
598
|
}, [
|
|
715
|
-
e.image
|
|
599
|
+
e.image ? (p(), s("img", {
|
|
716
600
|
key: 0,
|
|
717
|
-
href: b(D)({
|
|
718
|
-
name: "zoom",
|
|
719
|
-
query: { img: e.image }
|
|
720
|
-
}),
|
|
721
|
-
onClick: T((t) => R(e.image), ["prevent"])
|
|
722
|
-
}, [c("img", {
|
|
723
|
-
class: "mwnf-minisite-intro-item__image",
|
|
724
|
-
src: e.image,
|
|
725
|
-
alt: ""
|
|
726
|
-
}, null, 8, Lt)], 8, It)) : e.image ? (p(), s("img", {
|
|
727
|
-
key: 1,
|
|
728
601
|
class: "mwnf-minisite-intro-item__image",
|
|
729
602
|
src: e.image,
|
|
730
603
|
alt: ""
|
|
731
|
-
}, null, 8,
|
|
732
|
-
e.image ? (p(), s("br",
|
|
733
|
-
(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, bt)) : o("", !0),
|
|
605
|
+
e.image ? (p(), s("br", xt)) : 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", St)) : o("", !0), r === 0 && e.lines[0] ? (p(), s("strong", {
|
|
734
607
|
key: 1,
|
|
735
608
|
innerHTML: b(m).mdInline(t)
|
|
736
|
-
}, null, 8,
|
|
609
|
+
}, null, 8, Ct)) : (p(), s("span", {
|
|
737
610
|
key: 2,
|
|
738
611
|
innerHTML: b(m).mdInline(t)
|
|
739
|
-
}, null, 8,
|
|
612
|
+
}, null, 8, wt))], 64))), 128))
|
|
740
613
|
]))), 128))])]),
|
|
741
|
-
b(
|
|
614
|
+
b(R).active.value ? (p(), a(t, {
|
|
742
615
|
key: 0,
|
|
743
|
-
term: b(
|
|
744
|
-
html: b(m).md(b(
|
|
745
|
-
onClose: b(
|
|
616
|
+
term: b(R).active.value,
|
|
617
|
+
html: b(m).md(b(R).active.value.definition),
|
|
618
|
+
onClose: b(R).close
|
|
746
619
|
}, null, 8, [
|
|
747
620
|
"term",
|
|
748
621
|
"html",
|
|
@@ -751,10 +624,10 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
|
|
|
751
624
|
], 4);
|
|
752
625
|
};
|
|
753
626
|
}
|
|
754
|
-
},
|
|
627
|
+
}, Et = { class: "mwnf-minisite-page__head" }, Dt = { class: "mwnf-minisite-page__title" }, Ot = { class: "mwnf-minisite-page__nav mwnf-minisite-page__nav--start" }, kt = { class: "mwnf-minisite-page__nav mwnf-minisite-page__nav--end" }, At = { class: "mwnf-minisite-page__body" }, jt = ["innerHTML"], Mt = { class: "mwnf-minisite-page__thumbs" }, Nt = ["onClick"], Pt = ["src"], Ft = ["innerHTML"], It = ["innerHTML"], Lt = { class: "mwnf-minisite-page__item" }, Rt = { class: "mwnf-minisite-page__image" }, zt = ["src"], Bt = {
|
|
755
628
|
key: 0,
|
|
756
629
|
class: "mwnf-minisite-page__caption"
|
|
757
|
-
},
|
|
630
|
+
}, Vt = ["innerHTML"], Ht = ["innerHTML"], Ut = { key: 0 }, Wt = ["innerHTML"], Gt = ["innerHTML"], Kt = { key: 0 }, qt = ["onClick"], Jt = ["src"], Yt = ["innerHTML"], Xt = { key: 1 }, Zt = ["href"], Qt = {
|
|
758
631
|
__name: "Page",
|
|
759
632
|
props: {
|
|
760
633
|
theme: {
|
|
@@ -767,7 +640,7 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
|
|
|
767
640
|
}
|
|
768
641
|
},
|
|
769
642
|
setup(e) {
|
|
770
|
-
let r = e, { label: m,
|
|
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 } = Re(), I = i(() => j(r.theme, r.page)), R = i(() => I.value ? D(I.value.node.id) : {}), z = i(() => I.value ? F(I.value.node.id) : []), B = i(() => I.value ? M(I.value.node) : []), V = i(() => R.value.quote ?? ""), H = h({
|
|
771
644
|
slot: 0,
|
|
772
645
|
variant: 0
|
|
773
646
|
});
|
|
@@ -775,74 +648,74 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
|
|
|
775
648
|
slot: 0,
|
|
776
649
|
variant: 0
|
|
777
650
|
});
|
|
778
|
-
let U = i(() => B.value[H.value.slot] ?? null),
|
|
779
|
-
...
|
|
780
|
-
sheetId:
|
|
651
|
+
let U = i(() => B.value[H.value.slot] ?? null), W = i(() => U.value?.variants[H.value.variant] ?? null), K = i(() => Ee(U.value, H.value.variant)), q = i(() => !U.value || !W.value ? null : {
|
|
652
|
+
...P(U.value, H.value.variant),
|
|
653
|
+
sheetId: Te(U.value, H.value.variant, (e) => x.itemById.value.get(e))
|
|
781
654
|
});
|
|
782
|
-
function
|
|
655
|
+
function J(e) {
|
|
783
656
|
H.value = {
|
|
784
657
|
slot: e,
|
|
785
658
|
variant: 0
|
|
786
659
|
};
|
|
787
660
|
}
|
|
788
|
-
function
|
|
661
|
+
function ee(e) {
|
|
789
662
|
H.value = {
|
|
790
663
|
...H.value,
|
|
791
664
|
variant: e
|
|
792
665
|
};
|
|
793
666
|
}
|
|
794
|
-
function
|
|
795
|
-
K.value && Z(
|
|
667
|
+
function te() {
|
|
668
|
+
K.value && Z(A({
|
|
796
669
|
name: "zoom",
|
|
797
670
|
query: { img: K.value }
|
|
798
|
-
}),
|
|
671
|
+
}), ze.zoom);
|
|
799
672
|
}
|
|
800
|
-
let
|
|
801
|
-
function
|
|
802
|
-
|
|
803
|
-
documentTitle:
|
|
804
|
-
title:
|
|
673
|
+
let Y = L(z);
|
|
674
|
+
function ne() {
|
|
675
|
+
rt({
|
|
676
|
+
documentTitle: O.documentTitle,
|
|
677
|
+
title: E.value,
|
|
805
678
|
pageTitle: R.value.title ?? "",
|
|
806
679
|
quote: V.value,
|
|
807
680
|
text: R.value.description ?? "",
|
|
808
|
-
slots: B.value.map((e) => e.variants.map((t, n) => t.view ?
|
|
681
|
+
slots: B.value.map((e) => e.variants.map((t, n) => t.view ? P(e, n) : N(t.entry)))
|
|
809
682
|
});
|
|
810
683
|
}
|
|
811
684
|
S(() => [
|
|
812
685
|
R.value.title,
|
|
813
|
-
|
|
814
|
-
|
|
686
|
+
E.value,
|
|
687
|
+
_.value
|
|
815
688
|
], () => {
|
|
816
689
|
document.title = [
|
|
817
690
|
m("identity.windowTitle"),
|
|
818
|
-
|
|
691
|
+
E.value,
|
|
819
692
|
R.value.title,
|
|
820
693
|
r.page
|
|
821
694
|
].filter(Boolean).join(" | ");
|
|
822
695
|
}, { immediate: !0 });
|
|
823
|
-
let
|
|
696
|
+
let re = i(() => k(_.value === "ar" ? "legacy/exhibition_bg_ar.jpg" : "legacy/exhibition_bg.jpg"));
|
|
824
697
|
return (e, r) => {
|
|
825
698
|
let i = v("router-link");
|
|
826
|
-
return
|
|
699
|
+
return I.value ? (p(), s("div", {
|
|
827
700
|
key: 0,
|
|
828
701
|
class: "mwnf-minisite-page",
|
|
829
|
-
style: f({ backgroundImage:
|
|
702
|
+
style: f({ backgroundImage: re.value ? `url(${re.value})` : "none" })
|
|
830
703
|
}, [
|
|
831
|
-
c("div",
|
|
832
|
-
c("div",
|
|
833
|
-
c("div",
|
|
704
|
+
c("div", Et, [
|
|
705
|
+
c("div", Dt, y(b(E)), 1),
|
|
706
|
+
c("div", Ot, [r[1] ||= l(" < ", -1), u(i, { to: { name: "home" } }, {
|
|
834
707
|
default: C(() => [l(y(b(m)("nav.entrance")), 1)]),
|
|
835
708
|
_: 1
|
|
836
709
|
})]),
|
|
837
|
-
c("div",
|
|
710
|
+
c("div", kt, [
|
|
838
711
|
r[4] ||= l(" < ", -1),
|
|
839
|
-
u(i, { to:
|
|
712
|
+
u(i, { to: I.value.previous }, {
|
|
840
713
|
default: C(() => [l(y(b(m)("nav.previous")), 1)]),
|
|
841
714
|
_: 1
|
|
842
715
|
}, 8, ["to"]),
|
|
843
|
-
|
|
716
|
+
I.value.next ? (p(), s(n, { key: 0 }, [
|
|
844
717
|
r[2] ||= l(" | ", -1),
|
|
845
|
-
u(i, { to:
|
|
718
|
+
u(i, { to: I.value.next }, {
|
|
846
719
|
default: C(() => [l(y(b(m)("nav.next")), 1)]),
|
|
847
720
|
_: 1
|
|
848
721
|
}, 8, ["to"]),
|
|
@@ -850,76 +723,75 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
|
|
|
850
723
|
], 64)) : o("", !0)
|
|
851
724
|
])
|
|
852
725
|
]),
|
|
853
|
-
c("div",
|
|
726
|
+
c("div", At, [c("div", {
|
|
854
727
|
class: "mwnf-minisite-page__text",
|
|
855
|
-
onClick: r[0] ||= (...e) => b(
|
|
728
|
+
onClick: r[0] ||= (...e) => b(Y).onClick && b(Y).onClick(...e)
|
|
856
729
|
}, [
|
|
857
730
|
c("div", {
|
|
858
731
|
class: "mwnf-minisite-page__page-title",
|
|
859
|
-
innerHTML: b(
|
|
860
|
-
}, null, 8,
|
|
861
|
-
c("div",
|
|
732
|
+
innerHTML: b(x).mdInline(R.value.title)
|
|
733
|
+
}, null, 8, jt),
|
|
734
|
+
c("div", Mt, [(p(!0), s(n, null, g(B.value, (e, t) => w((p(), s("a", {
|
|
862
735
|
key: e.n,
|
|
863
736
|
href: "#",
|
|
864
|
-
onClick: T((e) =>
|
|
737
|
+
onClick: T((e) => J(t), ["prevent"])
|
|
865
738
|
}, [e.variants[0].image ? (p(), s("img", {
|
|
866
739
|
key: 0,
|
|
867
740
|
src: e.variants[0].image,
|
|
868
741
|
alt: "",
|
|
869
742
|
height: "36"
|
|
870
|
-
}, null, 8,
|
|
871
|
-
text: b(
|
|
743
|
+
}, null, 8, Pt)) : o("", !0)], 8, Nt)), [[b(G), {
|
|
744
|
+
text: b(x).mdStrip(b(P)(e, 0).name),
|
|
872
745
|
width: 160
|
|
873
746
|
}]])), 128))]),
|
|
874
747
|
c("div", {
|
|
875
|
-
class: d(["mwnf-minisite-page__quote", { "mwnf-minisite-page__quote--own-italics": b(
|
|
876
|
-
innerHTML: b(
|
|
877
|
-
}, null, 10,
|
|
748
|
+
class: d(["mwnf-minisite-page__quote", { "mwnf-minisite-page__quote--own-italics": b(Ae)(V.value) }]),
|
|
749
|
+
innerHTML: b(x).mdInline(V.value, { glossary: z.value })
|
|
750
|
+
}, null, 10, Ft),
|
|
878
751
|
c("div", {
|
|
879
752
|
class: "mwnf-minisite-page__content",
|
|
880
|
-
innerHTML: b(
|
|
881
|
-
}, null, 8,
|
|
882
|
-
u(
|
|
883
|
-
]), c("div",
|
|
753
|
+
innerHTML: b(x).md(R.value.description, { glossary: z.value })
|
|
754
|
+
}, null, 8, It),
|
|
755
|
+
u(ct, { word: ne })
|
|
756
|
+
]), c("div", Lt, [c("div", Rt, [K.value ? w((p(), s("a", {
|
|
884
757
|
key: 0,
|
|
885
758
|
href: "#",
|
|
886
|
-
onClick: T(
|
|
759
|
+
onClick: T(te, ["prevent"])
|
|
887
760
|
}, [c("img", {
|
|
888
761
|
src: K.value,
|
|
889
762
|
alt: ""
|
|
890
|
-
}, null, 8,
|
|
763
|
+
}, null, 8, zt)])), [[b(G), { text: b(m)("item.showZoom") }]]) : o("", !0)]), q.value ? (p(), s("div", Bt, [
|
|
891
764
|
c("div", null, [
|
|
892
|
-
c("strong", { innerHTML: b(
|
|
765
|
+
c("strong", { innerHTML: b(x).mdInline(q.value.name) }, null, 8, Vt),
|
|
893
766
|
r[5] ||= c("br", null, null, -1),
|
|
894
|
-
c("span", { innerHTML: b(
|
|
767
|
+
c("span", { innerHTML: b(x).mdInline(q.value.detailName) }, null, 8, Ht),
|
|
895
768
|
r[6] ||= c("br", null, null, -1),
|
|
896
|
-
(p(!0), s(n, null, g(q.value.dateLines, (e, t) => (p(), s(n, { key: t }, [t > 0 ? (p(), s("br",
|
|
769
|
+
(p(!0), s(n, null, g(q.value.dateLines, (e, t) => (p(), s(n, { key: t }, [t > 0 ? (p(), s("br", Ut)) : o("", !0), c("span", { innerHTML: b(x).mdInline(e) }, null, 8, Wt)], 64))), 128))
|
|
897
770
|
]),
|
|
898
|
-
c("div", null, [(p(!0), s(n, null, g(q.value.details, (e, t) => (p(), s(n, { key: t }, [c("span", { innerHTML: b(
|
|
899
|
-
|
|
900
|
-
U.value.variants.length > 1 ? (p(), s("div", pn, [(p(!0), s(n, null, g(U.value.variants, (e, t) => w((p(), s("a", {
|
|
771
|
+
c("div", null, [(p(!0), s(n, null, g(q.value.details, (e, t) => (p(), s(n, { key: t }, [c("span", { innerHTML: b(x).mdInline(e) }, null, 8, Gt), r[7] ||= c("br", null, null, -1)], 64))), 128))]),
|
|
772
|
+
U.value.variants.length > 1 ? (p(), s("div", Kt, [(p(!0), s(n, null, g(U.value.variants, (e, t) => w((p(), s("a", {
|
|
901
773
|
key: t,
|
|
902
774
|
href: "#",
|
|
903
|
-
onClick: T((e) =>
|
|
775
|
+
onClick: T((e) => ee(t), ["prevent"])
|
|
904
776
|
}, [c("img", {
|
|
905
|
-
src: b(
|
|
777
|
+
src: b(k)(t === H.value.variant ? "legacy/ico_item_selected.gif" : "legacy/ico_item.gif"),
|
|
906
778
|
alt: ""
|
|
907
|
-
}, null, 8,
|
|
779
|
+
}, null, 8, Jt)], 8, qt)), [[b(G), { text: b(m)("item.showDetail") }]])), 128))])) : o("", !0),
|
|
908
780
|
c("div", {
|
|
909
781
|
class: "mwnf-minisite-page__justification",
|
|
910
|
-
innerHTML: b(
|
|
911
|
-
}, null, 8,
|
|
912
|
-
q.value.sheetId ? (p(), s("div",
|
|
782
|
+
innerHTML: b(x).mdInline(q.value.justification)
|
|
783
|
+
}, null, 8, Yt),
|
|
784
|
+
q.value.sheetId ? (p(), s("div", Xt, [c("a", {
|
|
913
785
|
class: "mwnf-minisite-page__more",
|
|
914
|
-
href: b(
|
|
786
|
+
href: b(O).itemHref?.(q.value.sheetId),
|
|
915
787
|
target: "_blank"
|
|
916
|
-
}, "> " + y(b(m)("item.moreInfo")), 9,
|
|
788
|
+
}, "> " + y(b(m)("item.moreInfo")), 9, Zt)])) : o("", !0)
|
|
917
789
|
])) : o("", !0)])]),
|
|
918
|
-
b(
|
|
790
|
+
b(Y).active.value ? (p(), a(t, {
|
|
919
791
|
key: 0,
|
|
920
|
-
term: b(
|
|
921
|
-
html: b(
|
|
922
|
-
onClose: b(
|
|
792
|
+
term: b(Y).active.value,
|
|
793
|
+
html: b(x).md(b(Y).active.value.definition),
|
|
794
|
+
onClose: b(Y).close
|
|
923
795
|
}, null, 8, [
|
|
924
796
|
"term",
|
|
925
797
|
"html",
|
|
@@ -928,71 +800,71 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
|
|
|
928
800
|
], 4)) : o("", !0);
|
|
929
801
|
};
|
|
930
802
|
}
|
|
931
|
-
},
|
|
803
|
+
}, $t = { class: "mwnf-minisite-credits" }, en = ["innerHTML"], tn = {
|
|
932
804
|
__name: "Credits",
|
|
933
805
|
setup(e) {
|
|
934
|
-
let { data: t, root: n, text: r, title: a } =
|
|
935
|
-
return (e, t) => (p(), s("div",
|
|
806
|
+
let { data: t, root: n, text: r, title: a } = Re(), o = i(() => n.value ? t.md(r(n.value.id).extra?.credits) : "");
|
|
807
|
+
return (e, t) => (p(), s("div", $t, [c("h1", null, y(b(a)), 1), c("div", { innerHTML: o.value }, null, 8, en)]));
|
|
936
808
|
}
|
|
937
|
-
},
|
|
809
|
+
}, nn = { class: "mwnf-minisite-map" }, rn = { key: 0 }, an = ["src"], on = {
|
|
938
810
|
__name: "Map",
|
|
939
811
|
setup(e) {
|
|
940
|
-
let { lang: t, settings: r, picture: a } =
|
|
812
|
+
let { lang: t, settings: r, picture: a } = Re(), l = i(() => {
|
|
941
813
|
let e = r.map;
|
|
942
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) : [];
|
|
943
815
|
});
|
|
944
|
-
return (e, t) => (p(), s("div",
|
|
816
|
+
return (e, t) => (p(), s("div", nn, [(p(!0), s(n, null, g(l.value, (e, t) => (p(), s(n, { key: e }, [t > 0 ? (p(), s("br", rn)) : o("", !0), c("img", {
|
|
945
817
|
src: e,
|
|
946
818
|
alt: "",
|
|
947
819
|
width: "800",
|
|
948
820
|
height: "418"
|
|
949
|
-
}, null, 8,
|
|
821
|
+
}, null, 8, an)], 64))), 128))]));
|
|
950
822
|
}
|
|
951
|
-
},
|
|
823
|
+
}, sn = { class: "mwnf-minisite-zoom" }, cn = ["src"], ln = {
|
|
952
824
|
__name: "Zoom",
|
|
953
825
|
props: { image: {
|
|
954
826
|
type: String,
|
|
955
827
|
default: ""
|
|
956
828
|
} },
|
|
957
829
|
setup(e) {
|
|
958
|
-
let t = e, { pages: n, root: r, slots: a } =
|
|
959
|
-
return (e, t) => (p(), s("div",
|
|
830
|
+
let t = e, { pages: n, root: r, slots: a } = Re(), 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", sn, [c.value ? (p(), s("img", {
|
|
960
832
|
key: 0,
|
|
961
833
|
src: c.value,
|
|
962
834
|
alt: ""
|
|
963
|
-
}, null, 8,
|
|
835
|
+
}, null, 8, cn)) : o("", !0)]));
|
|
964
836
|
}
|
|
965
837
|
};
|
|
966
838
|
//#endregion
|
|
967
839
|
//#region src/minisite/routes.js
|
|
968
|
-
function
|
|
840
|
+
function un(e) {
|
|
969
841
|
return [
|
|
970
842
|
{
|
|
971
843
|
path: "/",
|
|
972
844
|
name: "home",
|
|
973
|
-
component:
|
|
845
|
+
component: Ze,
|
|
974
846
|
meta: e("home", "collections", "partners", "countries")
|
|
975
847
|
},
|
|
976
848
|
{
|
|
977
849
|
path: "/introduction",
|
|
978
850
|
name: "introduction",
|
|
979
|
-
component:
|
|
980
|
-
meta: e("introduction", ...
|
|
851
|
+
component: Tt,
|
|
852
|
+
meta: e("introduction", ...Le)
|
|
981
853
|
},
|
|
982
854
|
{
|
|
983
855
|
path: "/exhibition/:theme(\\d+)/:page(\\d+)?",
|
|
984
856
|
name: "exhibition",
|
|
985
|
-
component:
|
|
857
|
+
component: Qt,
|
|
986
858
|
props: (e) => ({
|
|
987
859
|
theme: Number(e.params.theme),
|
|
988
860
|
page: Number(e.params.page || 1)
|
|
989
861
|
}),
|
|
990
|
-
meta: e("exhibition", ...
|
|
862
|
+
meta: e("exhibition", ...Le)
|
|
991
863
|
},
|
|
992
864
|
{
|
|
993
865
|
path: "/credits",
|
|
994
866
|
name: "credits",
|
|
995
|
-
component:
|
|
867
|
+
component: tn,
|
|
996
868
|
meta: {
|
|
997
869
|
...e("credits", "collections"),
|
|
998
870
|
bare: "credits"
|
|
@@ -1001,7 +873,7 @@ function An(e) {
|
|
|
1001
873
|
{
|
|
1002
874
|
path: "/map",
|
|
1003
875
|
name: "map",
|
|
1004
|
-
component:
|
|
876
|
+
component: on,
|
|
1005
877
|
meta: {
|
|
1006
878
|
...e("map"),
|
|
1007
879
|
bare: "map"
|
|
@@ -1010,7 +882,7 @@ function An(e) {
|
|
|
1010
882
|
{
|
|
1011
883
|
path: "/zoom",
|
|
1012
884
|
name: "zoom",
|
|
1013
|
-
component:
|
|
885
|
+
component: ln,
|
|
1014
886
|
props: (e) => ({ image: String(e.query.img ?? "") }),
|
|
1015
887
|
meta: {
|
|
1016
888
|
...e("zoom", "collections"),
|
|
@@ -1019,7 +891,7 @@ function An(e) {
|
|
|
1019
891
|
}
|
|
1020
892
|
];
|
|
1021
893
|
}
|
|
1022
|
-
function
|
|
894
|
+
function dn(e, t = je.ISL) {
|
|
1023
895
|
return [
|
|
1024
896
|
{
|
|
1025
897
|
label: `${t}.menu.permanentCollection`,
|
|
@@ -1052,83 +924,51 @@ function jn(e, t = Pe.ISL) {
|
|
|
1052
924
|
}
|
|
1053
925
|
];
|
|
1054
926
|
}
|
|
1055
|
-
function
|
|
1056
|
-
|
|
1057
|
-
{
|
|
1058
|
-
label: `${t}.menu.permanentCollection`,
|
|
1059
|
-
href: `${e}/#/permanent-collection`
|
|
1060
|
-
},
|
|
1061
|
-
{
|
|
1062
|
-
label: `${t}.menu.database`,
|
|
1063
|
-
href: `${e}/#/database`
|
|
1064
|
-
},
|
|
1065
|
-
{
|
|
1066
|
-
label: `${t}.menu.exhibitions`,
|
|
1067
|
-
href: "#/"
|
|
1068
|
-
},
|
|
1069
|
-
{
|
|
1070
|
-
label: `${t}.menu.timeline`,
|
|
1071
|
-
href: `${e}/#/timeline`
|
|
1072
|
-
},
|
|
1073
|
-
{
|
|
1074
|
-
label: `${t}.menu.partners`,
|
|
1075
|
-
href: `${e}/#/partners`
|
|
1076
|
-
},
|
|
1077
|
-
{
|
|
1078
|
-
label: `${t}.menu.myCollection`,
|
|
1079
|
-
href: j.myCollection
|
|
1080
|
-
}
|
|
1081
|
-
];
|
|
1082
|
-
}
|
|
1083
|
-
var Nn = "https://www.museumwnf.org/about/language-policy";
|
|
1084
|
-
function Pn({ languages: e, parent: t, family: n = "ISL", texts: r = Ie({ family: n }), menu: i }) {
|
|
1085
|
-
let a = [
|
|
927
|
+
function fn({ languages: e, parent: t, texts: n = je.ISL, menu: r }) {
|
|
928
|
+
let i = [
|
|
1086
929
|
["aboutMwnf", j.about],
|
|
1087
930
|
["contact", j.contact],
|
|
1088
931
|
["legalNotice", j.legalNotice],
|
|
1089
932
|
["credits", j.credits],
|
|
1090
|
-
...n === "BAR" ? [["languagePolicy", Nn]] : [],
|
|
1091
933
|
["cookies", j.cookies]
|
|
1092
934
|
];
|
|
1093
935
|
return {
|
|
1094
936
|
languages: e,
|
|
1095
937
|
logoHref: j.portal,
|
|
1096
|
-
logoTip: `${
|
|
938
|
+
logoTip: `${n}.header.logoTip`,
|
|
1097
939
|
headerLinks: [{
|
|
1098
|
-
label: `${
|
|
940
|
+
label: `${n}.header.exhibitionsList`,
|
|
1099
941
|
href: `${t}/#/exhibitions`
|
|
1100
942
|
}, {
|
|
1101
|
-
label: `${
|
|
943
|
+
label: `${n}.header.home`,
|
|
1102
944
|
href: `${t}/#/`,
|
|
1103
|
-
tip: `${
|
|
945
|
+
tip: `${n}.header.homeTip`
|
|
1104
946
|
}],
|
|
1105
|
-
menu:
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
label: `${r}.footer.${e}`,
|
|
947
|
+
menu: r ?? dn(t, n),
|
|
948
|
+
footerLinks: i.map(([e, t]) => ({
|
|
949
|
+
label: `${n}.footer.${e}`,
|
|
1109
950
|
href: t
|
|
1110
951
|
})),
|
|
1111
|
-
copyright: `${
|
|
952
|
+
copyright: `${n}.footer.copyright`
|
|
1112
953
|
};
|
|
1113
954
|
}
|
|
1114
|
-
function
|
|
955
|
+
function pn({ parent: e, ...t }) {
|
|
1115
956
|
return {
|
|
1116
957
|
parent: e,
|
|
1117
958
|
itemHref: (t) => `${e}/#/item/${encodeURIComponent(t)}`,
|
|
1118
959
|
partnerHref: (t) => `${e}/#/partner/${encodeURIComponent(t)}`,
|
|
1119
|
-
partnerListHref: `${e}/#/partners`,
|
|
1120
960
|
...t
|
|
1121
961
|
};
|
|
1122
962
|
}
|
|
1123
963
|
//#endregion
|
|
1124
964
|
//#region src/minisite/sharinghistory/Shell.vue
|
|
1125
|
-
var
|
|
965
|
+
var mn = { class: "mwnf-sh__column" }, hn = { class: "mwnf-sh-header" }, gn = { class: "mwnf-sh-header__logo" }, _n = ["href"], vn = ["src"], yn = ["href"], bn = { class: "mwnf-sh-header__links" }, xn = ["href"], Sn = { class: "mwnf-sh-drop" }, Cn = ["href"], wn = ["href"], Tn = ["href"], En = {
|
|
1126
966
|
key: 0,
|
|
1127
967
|
class: "mwnf-sh-header__sizes"
|
|
1128
|
-
},
|
|
968
|
+
}, Dn = { class: "mwnf-sh__page" }, On = { class: "mwnf-sh-menu" }, kn = ["href"], An = {
|
|
1129
969
|
key: 0,
|
|
1130
970
|
class: "mwnf-sh-drop"
|
|
1131
|
-
},
|
|
971
|
+
}, jn = ["href"], Mn = { class: "mwnf-sh-footer" }, Nn = ["href"], Pn = {
|
|
1132
972
|
__name: "Shell",
|
|
1133
973
|
props: {
|
|
1134
974
|
languages: {
|
|
@@ -1165,7 +1005,7 @@ var In = { class: "mwnf-sh__column" }, Ln = { class: "mwnf-sh-header" }, Rn = {
|
|
|
1165
1005
|
}
|
|
1166
1006
|
},
|
|
1167
1007
|
setup(t) {
|
|
1168
|
-
let r = t, { t: a } =
|
|
1008
|
+
let r = t, { t: a } = R(), u = z(), m = B(), 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) => {
|
|
1169
1009
|
T.value = e === 0 ? 1 : Math.min(1.6, Math.max(.8, T.value + e));
|
|
1170
1010
|
}, O = i(() => ({
|
|
1171
1011
|
"--sh-title-band": `url(${x("legacy/bg.png") ?? ""})`,
|
|
@@ -1183,67 +1023,67 @@ var In = { class: "mwnf-sh__column" }, Ln = { class: "mwnf-sh-header" }, Rn = {
|
|
|
1183
1023
|
class: "mwnf-sh__strip",
|
|
1184
1024
|
"aria-hidden": "true"
|
|
1185
1025
|
}, null, -1),
|
|
1186
|
-
c("div",
|
|
1187
|
-
c("header",
|
|
1188
|
-
c("div",
|
|
1026
|
+
c("div", mn, [
|
|
1027
|
+
c("header", hn, [
|
|
1028
|
+
c("div", gn, [w((p(), s("a", { href: t.portalHref }, [c("img", {
|
|
1189
1029
|
src: x(`legacy/mwnfLogoShExIn-${t.language}.png`) ?? x("legacy/mwnfLogoShExIn-en.png"),
|
|
1190
1030
|
alt: "",
|
|
1191
1031
|
width: "101",
|
|
1192
1032
|
height: "45"
|
|
1193
|
-
}, null, 8,
|
|
1033
|
+
}, null, 8, vn)], 8, _n)), [[b(G), { text: S("header.portalTip") }]])]),
|
|
1194
1034
|
r[6] ||= c("div", { class: "mwnf-sh-header__space" }, null, -1),
|
|
1195
1035
|
w((p(), s("a", {
|
|
1196
1036
|
class: "mwnf-sh-header__name",
|
|
1197
1037
|
href: t.homeHref
|
|
1198
|
-
}, [c("h1", null, y(S("header.heading")), 1), c("h2", null, y(S("header.subheading")), 1)], 8,
|
|
1199
|
-
c("div",
|
|
1200
|
-
c("li", null, [c("a", { href: t.aboutLinks[0]?.href }, y(S("header.about")), 9,
|
|
1201
|
-
c("li", null, [w((p(), s("a", { href: t.homeHref }, [l(y(S("header.home")), 1)], 8,
|
|
1202
|
-
c("li", null, [w((p(), s("a", { href: t.portalHref }, [l(y(S("header.portal")), 1)], 8,
|
|
1203
|
-
], 2), E.value ? (p(), s("div",
|
|
1038
|
+
}, [c("h1", null, y(S("header.heading")), 1), c("h2", null, y(S("header.subheading")), 1)], 8, yn)), [[b(G), { text: S("header.homeTip") }]]),
|
|
1039
|
+
c("div", bn, [c("ul", { class: d(["mwnf-sh-header__list", { "mwnf-sh-header__list--ruled": E.value }]) }, [
|
|
1040
|
+
c("li", null, [c("a", { href: t.aboutLinks[0]?.href }, y(S("header.about")), 9, xn), c("ul", Sn, [(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, Cn)]))), 128))])]),
|
|
1041
|
+
c("li", null, [w((p(), s("a", { href: t.homeHref }, [l(y(S("header.home")), 1)], 8, wn)), [[b(G), { text: S("header.homeTip") }]])]),
|
|
1042
|
+
c("li", null, [w((p(), s("a", { href: t.portalHref }, [l(y(S("header.portal")), 1)], 8, Tn)), [[b(G), { text: S("header.portalTip") }]])])
|
|
1043
|
+
], 2), E.value ? (p(), s("div", En, [
|
|
1204
1044
|
w((p(), s("button", {
|
|
1205
1045
|
type: "button",
|
|
1206
1046
|
style: { "font-size": "8px" },
|
|
1207
1047
|
onClick: r[0] ||= (e) => D(-.1)
|
|
1208
|
-
}, [...r[3] ||= [l("A", -1)]])), [[b(
|
|
1048
|
+
}, [...r[3] ||= [l("A", -1)]])), [[b(G), { text: S("header.decreaseSize") }]]),
|
|
1209
1049
|
w((p(), s("button", {
|
|
1210
1050
|
type: "button",
|
|
1211
1051
|
style: { "font-size": "10px" },
|
|
1212
1052
|
onClick: r[1] ||= (e) => D(0)
|
|
1213
|
-
}, [...r[4] ||= [l("A", -1)]])), [[b(
|
|
1053
|
+
}, [...r[4] ||= [l("A", -1)]])), [[b(G), { text: S("header.revertSize") }]]),
|
|
1214
1054
|
w((p(), s("button", {
|
|
1215
1055
|
type: "button",
|
|
1216
1056
|
style: { "font-size": "12px" },
|
|
1217
1057
|
onClick: r[2] ||= (e) => D(.1)
|
|
1218
|
-
}, [...r[5] ||= [l("A", -1)]])), [[b(
|
|
1058
|
+
}, [...r[5] ||= [l("A", -1)]])), [[b(G), { text: S("header.increaseSize") }]])
|
|
1219
1059
|
])) : o("", !0)])
|
|
1220
1060
|
]),
|
|
1221
|
-
c("main",
|
|
1222
|
-
c("nav",
|
|
1223
|
-
c("footer",
|
|
1061
|
+
c("main", Dn, [_(e.$slots, "default")]),
|
|
1062
|
+
c("nav", On, [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, kn)), [[b(G), { text: e.tip ? S(e.tip) : "" }]]), e.links?.length ? (p(), s("ul", An, [(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, jn)]))), 128))])) : o("", !0)]))), 128))])]),
|
|
1063
|
+
c("footer", Mn, [(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, Nn), r[7] ||= l(" | ", -1)], 64))), 128)), l(" " + y(S("footer.copyright")) + " " + y(b(C)), 1)])
|
|
1224
1064
|
]),
|
|
1225
1065
|
r[9] ||= c("div", {
|
|
1226
1066
|
class: "mwnf-sh__strip",
|
|
1227
1067
|
"aria-hidden": "true"
|
|
1228
1068
|
}, null, -1),
|
|
1229
|
-
b(
|
|
1069
|
+
b(H).visible ? (p(), s("div", {
|
|
1230
1070
|
key: 0,
|
|
1231
1071
|
class: "mwnf-sh-tip",
|
|
1232
1072
|
style: f({
|
|
1233
|
-
left: `${b(
|
|
1234
|
-
top: `${b(
|
|
1235
|
-
width: `${b(
|
|
1073
|
+
left: `${b(H).x + 12}px`,
|
|
1074
|
+
top: `${b(H).y + 12}px`,
|
|
1075
|
+
width: `${b(H).width}px`
|
|
1236
1076
|
})
|
|
1237
|
-
}, y(b(
|
|
1077
|
+
}, y(b(H).text), 5)) : o("", !0)
|
|
1238
1078
|
], 4));
|
|
1239
1079
|
}
|
|
1240
|
-
},
|
|
1080
|
+
}, Fn = "minisiteSharingHistory", In = [
|
|
1241
1081
|
"collections",
|
|
1242
1082
|
"items",
|
|
1243
1083
|
"countries",
|
|
1244
1084
|
"partners"
|
|
1245
1085
|
];
|
|
1246
|
-
function
|
|
1086
|
+
function Ln(e, t) {
|
|
1247
1087
|
return e.flatMap((e, n) => [{
|
|
1248
1088
|
theme: n + 1,
|
|
1249
1089
|
page: 0,
|
|
@@ -1256,14 +1096,14 @@ function ar(e, t) {
|
|
|
1256
1096
|
themeNode: e
|
|
1257
1097
|
}))]);
|
|
1258
1098
|
}
|
|
1259
|
-
function
|
|
1099
|
+
function Rn(e, t, n) {
|
|
1260
1100
|
let r = e.filter((e) => t(e.id, n)?.trim());
|
|
1261
1101
|
return r.length > 0 || n === "en" ? r : e.filter((e) => t(e.id, "en")?.trim());
|
|
1262
1102
|
}
|
|
1263
|
-
function
|
|
1103
|
+
function zn(e, t, n) {
|
|
1264
1104
|
return e.filter((e) => t(e.id, n)?.trim());
|
|
1265
1105
|
}
|
|
1266
|
-
function
|
|
1106
|
+
function Bn(e) {
|
|
1267
1107
|
return e.page === 0 ? {
|
|
1268
1108
|
name: "theme",
|
|
1269
1109
|
params: { theme: e.theme }
|
|
@@ -1275,14 +1115,14 @@ function cr(e) {
|
|
|
1275
1115
|
}
|
|
1276
1116
|
};
|
|
1277
1117
|
}
|
|
1278
|
-
function
|
|
1118
|
+
function Vn(e, t, n) {
|
|
1279
1119
|
let r = e.findIndex((e) => e.theme === t && e.page === n);
|
|
1280
1120
|
return r < 0 ? null : {
|
|
1281
1121
|
...e[r],
|
|
1282
|
-
next: r < e.length - 1 ?
|
|
1122
|
+
next: r < e.length - 1 ? Bn(e[r + 1]) : null
|
|
1283
1123
|
};
|
|
1284
1124
|
}
|
|
1285
|
-
function
|
|
1125
|
+
function Hn(e) {
|
|
1286
1126
|
let t = /* @__PURE__ */ new Map();
|
|
1287
1127
|
for (let n of e?.items ?? []) {
|
|
1288
1128
|
if (!n.image_url || n.curator_status !== "Y") continue;
|
|
@@ -1298,7 +1138,7 @@ function ur(e) {
|
|
|
1298
1138
|
}));
|
|
1299
1139
|
});
|
|
1300
1140
|
}
|
|
1301
|
-
function
|
|
1141
|
+
function Un({ item: e, own: t, entry: n, lang: r, countryName: i }) {
|
|
1302
1142
|
let a = e?.type !== "monument", o = [
|
|
1303
1143
|
a ? t.holder : "",
|
|
1304
1144
|
t.location,
|
|
@@ -1315,7 +1155,7 @@ function dr({ item: e, own: t, entry: n, lang: r, countryName: i }) {
|
|
|
1315
1155
|
justification: s.replace(/\s+/g, " ")
|
|
1316
1156
|
};
|
|
1317
1157
|
}
|
|
1318
|
-
function
|
|
1158
|
+
function Wn({ parent: e, exhibitionId: t, themeId: n = null, subthemeId: r = null, title: i = "", furtherReading: a }) {
|
|
1319
1159
|
let o = encodeURIComponent(t), s = [`exhibition=${o}`];
|
|
1320
1160
|
n && s.push(`theme=${encodeURIComponent(n)}`), r && s.push(`chapter=${encodeURIComponent(r)}`);
|
|
1321
1161
|
let c = {
|
|
@@ -1341,11 +1181,11 @@ function fr({ parent: e, exhibitionId: t, themeId: n = null, subthemeId: r = nul
|
|
|
1341
1181
|
];
|
|
1342
1182
|
}
|
|
1343
1183
|
function $() {
|
|
1344
|
-
let { pkg: t, data: n, tree: r } =
|
|
1345
|
-
S(f, (e) => Promise.all(
|
|
1346
|
-
let p = (e) => t.translations("collections", f.value)[e] ?? {}, m = (e, n) => t.translations("collections", n)[e]?.title, h = r.root, g = i(() => h.value ?
|
|
1184
|
+
let { pkg: t, data: n, tree: r } = Ie(), { locale: a, t: o } = R(), s = z(), c = s.minisite ?? {}, l = c.texts ?? "minisiteSharingHistory", u = (e) => o(`${l}.${e}`), d = V(), f = i(() => a.value);
|
|
1185
|
+
S(f, (e) => Promise.all(In.flatMap((n) => [t.loadTranslations(n, e), t.loadTranslations(n, "en")])), { immediate: !0 });
|
|
1186
|
+
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 ? Rn(r.children(h.value.id), m, f.value) : []), _ = (e) => zn(r.children(e), m, f.value), v = i(() => Ln(g.value, _)), y = (t.manifest.site?.languages ?? []).map((e) => e.code), b = (e) => t.manifest.site?.languages?.find((t) => t.code === e)?.label ?? e, x = (e) => e ? M(n.tr("countries", e, f.value).name ?? "") : "";
|
|
1347
1187
|
function C(e) {
|
|
1348
|
-
return
|
|
1188
|
+
return Un({
|
|
1349
1189
|
item: n.itemById.value.get(e.id),
|
|
1350
1190
|
own: n.tr("items", e.id, f.value),
|
|
1351
1191
|
entry: e,
|
|
@@ -1381,10 +1221,10 @@ function $() {
|
|
|
1381
1221
|
picture: w,
|
|
1382
1222
|
href: T,
|
|
1383
1223
|
imagesOf: (e) => [...h.value?.images ?? []].filter((t) => t.type === e).sort((e, t) => e.display_order - t.display_order),
|
|
1384
|
-
slots:
|
|
1385
|
-
pageAt: (e, t) =>
|
|
1224
|
+
slots: Hn,
|
|
1225
|
+
pageAt: (e, t) => Vn(v.value, e, t),
|
|
1386
1226
|
title: i(() => h.value ? p(h.value.id).title ?? "" : ""),
|
|
1387
|
-
related: (e = null, t = null) => h.value ?
|
|
1227
|
+
related: (e = null, t = null) => h.value ? Wn({
|
|
1388
1228
|
parent: c.parent,
|
|
1389
1229
|
exhibitionId: h.value.id,
|
|
1390
1230
|
themeId: e,
|
|
@@ -1394,14 +1234,14 @@ function $() {
|
|
|
1394
1234
|
}) : []
|
|
1395
1235
|
};
|
|
1396
1236
|
}
|
|
1397
|
-
var
|
|
1237
|
+
var Gn = {
|
|
1398
1238
|
credits: ["exhcredits", "scrollbars=auto, resizable=1, width=520, height=530"],
|
|
1399
1239
|
coverImage: ["exhCoverImage", "scrollbars=auto, resizable=1, width=520, height=530"],
|
|
1400
1240
|
zoom: ["SHImages", "scrollbars=no,resize=no,width=565,height=435"]
|
|
1401
|
-
},
|
|
1241
|
+
}, Kn = { class: "mwnf-sh-related" }, qn = { class: "mwnf-sh-related__heading" }, Jn = ["src"], Yn = ["href", "target"], Xn = {
|
|
1402
1242
|
key: 0,
|
|
1403
1243
|
class: "mwnf-sh-related__all"
|
|
1404
|
-
},
|
|
1244
|
+
}, Zn = ["src"], Qn = ["href"], $n = {
|
|
1405
1245
|
__name: "Related",
|
|
1406
1246
|
props: {
|
|
1407
1247
|
allExhibitions: {
|
|
@@ -1425,7 +1265,7 @@ var pr = {
|
|
|
1425
1265
|
let t = e, { label: r, picture: u, related: d, settings: f } = $(), m = i(() => d(t.themeId, t.subthemeId)), h = i(() => t.themeId ? "_blank" : void 0), _ = (e) => e.tipText ?? (e.tip ? r(`related.${e.tip}`) : "");
|
|
1426
1266
|
return (t, i) => {
|
|
1427
1267
|
let d = v("router-link");
|
|
1428
|
-
return p(), s("div",
|
|
1268
|
+
return p(), s("div", Kn, [c("span", qn, "\xA0" + y(b(r)("related.heading")), 1), c("ul", null, [(p(!0), s(n, null, g(m.value, (t) => (p(), s("li", { key: t.key }, [
|
|
1429
1269
|
i[0] ||= l(" \xA0", -1),
|
|
1430
1270
|
c("img", {
|
|
1431
1271
|
src: b(u)(e.arrow),
|
|
@@ -1433,7 +1273,7 @@ var pr = {
|
|
|
1433
1273
|
class: "mwnf-sh-arrow",
|
|
1434
1274
|
width: "11",
|
|
1435
1275
|
height: "8"
|
|
1436
|
-
}, null, 8,
|
|
1276
|
+
}, null, 8, Jn),
|
|
1437
1277
|
t.to ? w((p(), a(d, {
|
|
1438
1278
|
key: 0,
|
|
1439
1279
|
to: t.to,
|
|
@@ -1441,12 +1281,12 @@ var pr = {
|
|
|
1441
1281
|
}, {
|
|
1442
1282
|
default: C(() => [l(y(b(r)(`related.${t.key}`)), 1)]),
|
|
1443
1283
|
_: 2
|
|
1444
|
-
}, 1032, ["to", "target"])), [[b(
|
|
1284
|
+
}, 1032, ["to", "target"])), [[b(G), { text: _(t) }]]) : w((p(), s("a", {
|
|
1445
1285
|
key: 1,
|
|
1446
1286
|
href: t.href,
|
|
1447
1287
|
target: h.value
|
|
1448
|
-
}, [l(y(b(r)(`related.${t.key}`)), 1)], 8,
|
|
1449
|
-
]))), 128)), e.allExhibitions ? (p(), s("li",
|
|
1288
|
+
}, [l(y(b(r)(`related.${t.key}`)), 1)], 8, Yn)), [[b(G), { text: _(t) }]])
|
|
1289
|
+
]))), 128)), e.allExhibitions ? (p(), s("li", Xn, [
|
|
1450
1290
|
i[1] ||= l(" \xA0", -1),
|
|
1451
1291
|
c("img", {
|
|
1452
1292
|
src: b(u)(e.arrow),
|
|
@@ -1454,94 +1294,94 @@ var pr = {
|
|
|
1454
1294
|
class: "mwnf-sh-arrow",
|
|
1455
1295
|
width: "11",
|
|
1456
1296
|
height: "8"
|
|
1457
|
-
}, null, 8,
|
|
1458
|
-
c("b", null, [c("a", { href: `${b(f).parent}/#/exhibitions` }, y(b(r)("nav.allExhibitions")), 9,
|
|
1297
|
+
}, null, 8, Zn),
|
|
1298
|
+
c("b", null, [c("a", { href: `${b(f).parent}/#/exhibitions` }, y(b(r)("nav.allExhibitions")), 9, Qn)])
|
|
1459
1299
|
])) : o("", !0)])]);
|
|
1460
1300
|
};
|
|
1461
1301
|
}
|
|
1462
|
-
},
|
|
1302
|
+
}, er = ["src"], tr = ["src"], nr = ["src"], rr = "https://www.museumwnf.org/about/support", ir = {
|
|
1463
1303
|
__name: "Windows",
|
|
1464
1304
|
setup(e) {
|
|
1465
1305
|
let { href: t, label: n, picture: r } = $(), i = r("legacy/arrow_curator.gif");
|
|
1466
1306
|
return (e, r) => (p(), s("div", null, [
|
|
1467
1307
|
c("a", {
|
|
1468
1308
|
href: "#",
|
|
1469
|
-
onClick: r[0] ||= T((e) => b(Z)(b(t)({ name: "credits" }), b(
|
|
1309
|
+
onClick: r[0] ||= T((e) => b(Z)(b(t)({ name: "credits" }), b(Gn).credits), ["prevent"])
|
|
1470
1310
|
}, [l(y(b(n)("band.curatedBy")) + " ", 1), b(i) ? (p(), s("img", {
|
|
1471
1311
|
key: 0,
|
|
1472
1312
|
src: b(i),
|
|
1473
1313
|
alt: "",
|
|
1474
1314
|
width: "12",
|
|
1475
1315
|
height: "7"
|
|
1476
|
-
}, null, 8,
|
|
1316
|
+
}, null, 8, er)) : o("", !0)]),
|
|
1477
1317
|
c("div", null, [c("a", {
|
|
1478
1318
|
href: "#",
|
|
1479
|
-
onClick: r[1] ||= T((e) => b(Z)(b(t)({ name: "cover-image" }), b(
|
|
1319
|
+
onClick: r[1] ||= T((e) => b(Z)(b(t)({ name: "cover-image" }), b(Gn).coverImage), ["prevent"])
|
|
1480
1320
|
}, [l(y(b(n)("band.coverImage")) + " ", 1), b(i) ? (p(), s("img", {
|
|
1481
1321
|
key: 0,
|
|
1482
1322
|
src: b(i),
|
|
1483
1323
|
alt: "",
|
|
1484
1324
|
width: "12",
|
|
1485
1325
|
height: "7"
|
|
1486
|
-
}, null, 8,
|
|
1487
|
-
c("div", null, [c("a", { href:
|
|
1326
|
+
}, null, 8, tr)) : o("", !0)])]),
|
|
1327
|
+
c("div", null, [c("a", { href: rr }, [l(y(b(n)("band.support")) + " ", 1), b(i) ? (p(), s("img", {
|
|
1488
1328
|
key: 0,
|
|
1489
1329
|
src: b(i),
|
|
1490
1330
|
alt: "",
|
|
1491
1331
|
width: "12",
|
|
1492
1332
|
height: "7"
|
|
1493
|
-
}, null, 8,
|
|
1333
|
+
}, null, 8, nr)) : o("", !0)])])
|
|
1494
1334
|
]));
|
|
1495
1335
|
}
|
|
1496
|
-
},
|
|
1336
|
+
}, ar = {
|
|
1497
1337
|
key: 0,
|
|
1498
1338
|
class: "mwnf-sh-home"
|
|
1499
|
-
},
|
|
1339
|
+
}, or = { class: "mwnf-sh-home__heading" }, sr = { class: "mwnf-sh-home__title" }, cr = ["innerHTML"], lr = { class: "mwnf-sh-home__menu" }, ur = { class: "mwnf-sh-home__themes" }, dr = ["src"], fr = ["aria-expanded", "onClick"], pr = ["innerHTML"], mr = ["src"], hr = {
|
|
1500
1340
|
key: 0,
|
|
1501
1341
|
class: "mwnf-sh-home__pages"
|
|
1502
|
-
},
|
|
1342
|
+
}, gr = ["src"], _r = ["src"], vr = { class: "mwnf-sh-band" }, yr = { class: "mwnf-sh-band__logos" }, br = {
|
|
1503
1343
|
key: 0,
|
|
1504
1344
|
class: "mwnf-sh-band__gap"
|
|
1505
|
-
},
|
|
1345
|
+
}, xr = ["href"], Sr = ["src"], Cr = ["src"], wr = {
|
|
1506
1346
|
__name: "Home",
|
|
1507
1347
|
setup(e) {
|
|
1508
1348
|
let { data: t, imagesOf: r, label: a, picture: d, root: m, settings: _, subthemesOf: x, text: S, themes: T, title: E } = $(), D = (e) => _.partnerLinks?.[e.link] ?? e.link, O = i(() => m.value ? S(m.value.id).extra?.subtitle ?? "" : ""), k = i(() => r("logo")), A = h(-1);
|
|
1509
1349
|
return (e, r) => {
|
|
1510
1350
|
let i = v("router-link");
|
|
1511
|
-
return b(m) ? (p(), s("div",
|
|
1351
|
+
return b(m) ? (p(), s("div", ar, [
|
|
1512
1352
|
c("div", {
|
|
1513
1353
|
class: "mwnf-sh-home__picture",
|
|
1514
1354
|
style: f({ backgroundImage: `url(${b(d)("legacy/home_bg.jpg") ?? ""})` })
|
|
1515
|
-
}, [c("div",
|
|
1355
|
+
}, [c("div", or, [c("div", sr, y(b(E)), 1), O.value ? (p(), s("div", {
|
|
1516
1356
|
key: 0,
|
|
1517
1357
|
class: "mwnf-sh-home__quote",
|
|
1518
1358
|
innerHTML: b(t).mdInline(O.value)
|
|
1519
|
-
}, null, 8,
|
|
1520
|
-
c("div",
|
|
1359
|
+
}, null, 8, cr)) : o("", !0)])], 4),
|
|
1360
|
+
c("div", lr, [c("div", ur, [u(i, { to: { name: "introduction" } }, {
|
|
1521
1361
|
default: C(() => [c("b", null, y(b(a)("home.introduction")), 1), c("img", {
|
|
1522
1362
|
src: b(d)("legacy/arrow_black.gif"),
|
|
1523
1363
|
alt: "",
|
|
1524
1364
|
width: "15",
|
|
1525
1365
|
height: "9"
|
|
1526
|
-
}, null, 8,
|
|
1366
|
+
}, null, 8, dr)]),
|
|
1527
1367
|
_: 1
|
|
1528
1368
|
}), (p(!0), s(n, null, g(b(T), (e, r) => (p(), s("div", { key: e.id }, [c("button", {
|
|
1529
1369
|
type: "button",
|
|
1530
1370
|
class: "mwnf-sh-home__theme",
|
|
1531
1371
|
"aria-expanded": A.value === r,
|
|
1532
1372
|
onClick: (e) => A.value = A.value === r ? -1 : r
|
|
1533
|
-
}, [c("span", { innerHTML: b(t).mdInline(b(S)(e.id).title ?? "") }, null, 8,
|
|
1373
|
+
}, [c("span", { innerHTML: b(t).mdInline(b(S)(e.id).title ?? "") }, null, 8, pr), c("img", {
|
|
1534
1374
|
src: b(d)("legacy/arrow_black_down.gif"),
|
|
1535
1375
|
alt: "",
|
|
1536
1376
|
width: "15",
|
|
1537
1377
|
height: "9"
|
|
1538
|
-
}, null, 8,
|
|
1378
|
+
}, null, 8, mr)], 8, fr), A.value === r ? (p(), s("ul", hr, [c("li", null, [c("img", {
|
|
1539
1379
|
src: b(d)("legacy/arrow_inner_black.gif"),
|
|
1540
1380
|
alt: "",
|
|
1541
1381
|
class: "mwnf-sh-arrow",
|
|
1542
1382
|
width: "11",
|
|
1543
1383
|
height: "8"
|
|
1544
|
-
}, null, 8,
|
|
1384
|
+
}, null, 8, gr), u(i, { to: {
|
|
1545
1385
|
name: "theme",
|
|
1546
1386
|
params: { theme: r + 1 }
|
|
1547
1387
|
} }, {
|
|
@@ -1553,7 +1393,7 @@ var pr = {
|
|
|
1553
1393
|
class: "mwnf-sh-arrow",
|
|
1554
1394
|
width: "11",
|
|
1555
1395
|
height: "8"
|
|
1556
|
-
}, null, 8,
|
|
1396
|
+
}, null, 8, _r), u(i, {
|
|
1557
1397
|
to: {
|
|
1558
1398
|
name: "subtheme",
|
|
1559
1399
|
params: {
|
|
@@ -1562,28 +1402,28 @@ var pr = {
|
|
|
1562
1402
|
}
|
|
1563
1403
|
},
|
|
1564
1404
|
innerHTML: b(t).mdInline(b(S)(e.id).title ?? "")
|
|
1565
|
-
}, null, 8, ["to", "innerHTML"])]))), 128))])) : o("", !0)]))), 128))]), u(
|
|
1566
|
-
c("div",
|
|
1405
|
+
}, null, 8, ["to", "innerHTML"])]))), 128))])) : o("", !0)]))), 128))]), u($n, { "all-exhibitions": "" })]),
|
|
1406
|
+
c("div", vr, [u(ir, { class: "mwnf-sh-band__links" }), c("div", yr, [(p(!0), s(n, null, g(k.value, (e, t) => (p(), s(n, { key: e.url }, [t > 0 ? (p(), s("span", br)) : o("", !0), e.link ? w((p(), s("a", {
|
|
1567
1407
|
key: 1,
|
|
1568
1408
|
href: D(e)
|
|
1569
1409
|
}, [c("img", {
|
|
1570
1410
|
src: e.url,
|
|
1571
1411
|
alt: ""
|
|
1572
|
-
}, null, 8,
|
|
1412
|
+
}, null, 8, Sr)], 8, xr)), [[b(G), { text: e.alt_text ?? "" }]]) : (p(), s("img", {
|
|
1573
1413
|
key: 2,
|
|
1574
1414
|
src: e.url,
|
|
1575
1415
|
alt: ""
|
|
1576
|
-
}, null, 8,
|
|
1416
|
+
}, null, 8, Cr))], 64))), 128))])])
|
|
1577
1417
|
])) : o("", !0);
|
|
1578
1418
|
};
|
|
1579
1419
|
}
|
|
1580
|
-
},
|
|
1420
|
+
}, Tr = { class: "mwnf-sh-banner__title" }, Er = { class: "mwnf-sh-nav" }, Dr = { class: "mwnf-sh-nav__group" }, Or = { class: "mwnf-sh-nav__first" }, kr = { class: "mwnf-sh-nav__second" }, Ar = ["href"], jr = {
|
|
1581
1421
|
key: 0,
|
|
1582
1422
|
class: "mwnf-sh-nav__group"
|
|
1583
|
-
},
|
|
1423
|
+
}, Mr = { class: "mwnf-sh-nav__first mwnf-sh-nav__previous" }, Nr = {
|
|
1584
1424
|
key: 0,
|
|
1585
1425
|
class: "mwnf-sh-nav__second mwnf-sh-nav__next"
|
|
1586
|
-
},
|
|
1426
|
+
}, Pr = {
|
|
1587
1427
|
__name: "Banner",
|
|
1588
1428
|
props: {
|
|
1589
1429
|
kind: {
|
|
@@ -1608,7 +1448,7 @@ var pr = {
|
|
|
1608
1448
|
}
|
|
1609
1449
|
},
|
|
1610
1450
|
setup(e) {
|
|
1611
|
-
let t = e, n =
|
|
1451
|
+
let t = e, n = V(), { label: r, picture: i, settings: a, title: m } = $(), h = i(t.kind === "intro" ? "legacy/intro_bg.jpg" : "legacy/exhibition_bg.jpg");
|
|
1612
1452
|
function g() {
|
|
1613
1453
|
t.previous ? n.push(t.previous) : n.back();
|
|
1614
1454
|
}
|
|
@@ -1619,21 +1459,21 @@ var pr = {
|
|
|
1619
1459
|
style: f({ backgroundImage: b(h) ? `url(${b(h)})` : "none" })
|
|
1620
1460
|
}, [
|
|
1621
1461
|
n[0] ||= c("div", { class: "mwnf-sh-banner__top" }, null, -1),
|
|
1622
|
-
c("div",
|
|
1623
|
-
c("nav",
|
|
1462
|
+
c("div", Tr, y(e.heading ?? b(m)), 1),
|
|
1463
|
+
c("nav", Er, [c("div", Dr, [c("div", Or, [u(i, { to: { name: "home" } }, {
|
|
1624
1464
|
default: C(() => [l(y(b(r)("nav.entrance")), 1)]),
|
|
1625
1465
|
_: 1
|
|
1626
|
-
})]), c("div",
|
|
1466
|
+
})]), c("div", kr, [c("a", { href: `${b(a).parent}/#/exhibitions` }, y(b(r)("nav.allExhibitions")), 9, Ar)])]), e.paging ? (p(), s("div", jr, [c("div", Mr, [c("button", {
|
|
1627
1467
|
type: "button",
|
|
1628
1468
|
onClick: g
|
|
1629
|
-
}, y(b(r)("nav.previous")), 1)]), e.next ? (p(), s("div",
|
|
1469
|
+
}, y(b(r)("nav.previous")), 1)]), e.next ? (p(), s("div", Nr, [u(i, { to: e.next }, {
|
|
1630
1470
|
default: C(() => [l(y(b(r)("nav.next")), 1)]),
|
|
1631
1471
|
_: 1
|
|
1632
1472
|
}, 8, ["to"])])) : o("", !0)])) : o("", !0)])
|
|
1633
1473
|
], 6);
|
|
1634
1474
|
};
|
|
1635
1475
|
}
|
|
1636
|
-
},
|
|
1476
|
+
}, Fr = { class: "mwnf-sh-download" }, Ir = ["src"], Lr = ["src"], Rr = ["src"], zr = {
|
|
1637
1477
|
__name: "Download",
|
|
1638
1478
|
props: {
|
|
1639
1479
|
title: {
|
|
@@ -1656,13 +1496,13 @@ var pr = {
|
|
|
1656
1496
|
let e = t.blocks.map(({ heading: e, text: t }) => `${e ? `<h2>${i(A(e))}</h2>` : ""}${t ? N(t) : ""}`).join(""), n = `<!DOCTYPE html><html><head><meta charset="utf-8"><title>${i(A(t.title))}</title></head><body><h1>${i(A(t.title))}</h1>${e}</body></html>`, r = document.createElement("a");
|
|
1657
1497
|
r.href = URL.createObjectURL(new window.Blob([n], { type: "application/vnd.ms-word" })), r.download = `${A(t.title).replace(/[,:]/g, "").replace(/ /g, "-")}.doc`, document.body.appendChild(r), r.click(), r.remove(), URL.revokeObjectURL(r.href);
|
|
1658
1498
|
}
|
|
1659
|
-
return (e, t) => (p(), s("div",
|
|
1499
|
+
return (e, t) => (p(), s("div", Fr, [
|
|
1660
1500
|
c("img", {
|
|
1661
1501
|
src: b(r)("legacy/print.gif"),
|
|
1662
1502
|
alt: "",
|
|
1663
1503
|
width: "14",
|
|
1664
1504
|
height: "14"
|
|
1665
|
-
}, null, 8,
|
|
1505
|
+
}, null, 8, Ir),
|
|
1666
1506
|
l(" / " + y(b(n)("download.heading")), 1),
|
|
1667
1507
|
t[1] ||= c("br", null, null, -1),
|
|
1668
1508
|
c("img", {
|
|
@@ -1671,7 +1511,7 @@ var pr = {
|
|
|
1671
1511
|
class: "mwnf-sh-arrow",
|
|
1672
1512
|
width: "11",
|
|
1673
1513
|
height: "8"
|
|
1674
|
-
}, null, 8,
|
|
1514
|
+
}, null, 8, Lr),
|
|
1675
1515
|
c("a", {
|
|
1676
1516
|
href: "#",
|
|
1677
1517
|
onClick: t[0] ||= T((t) => e.window.print(), ["prevent"])
|
|
@@ -1683,23 +1523,23 @@ var pr = {
|
|
|
1683
1523
|
class: "mwnf-sh-arrow",
|
|
1684
1524
|
width: "11",
|
|
1685
1525
|
height: "8"
|
|
1686
|
-
}, null, 8,
|
|
1526
|
+
}, null, 8, Rr),
|
|
1687
1527
|
c("a", {
|
|
1688
1528
|
href: "#",
|
|
1689
1529
|
onClick: T(a, ["prevent"])
|
|
1690
1530
|
}, y(b(n)("download.asWord")), 1)
|
|
1691
1531
|
]));
|
|
1692
1532
|
}
|
|
1693
|
-
},
|
|
1533
|
+
}, Br = {
|
|
1694
1534
|
key: 0,
|
|
1695
1535
|
style: { "font-size": "calc(11px * var(--sh-text-scale, 1))" }
|
|
1696
|
-
},
|
|
1536
|
+
}, Vr = { class: "mwnf-sh-intro" }, Hr = { class: "mwnf-sh-intro__text" }, Ur = { class: "mwnf-sh-intro__heading" }, Wr = ["innerHTML"], Gr = { class: "mwnf-sh-intro__pictures" }, Kr = {
|
|
1697
1537
|
key: 0,
|
|
1698
1538
|
class: "mwnf-sh-intro__picture"
|
|
1699
|
-
},
|
|
1539
|
+
}, qr = { class: "mwnf-sh-intro__frame" }, Jr = ["src"], Yr = ["src"], Xr = ["innerHTML"], Zr = ["innerHTML"], Qr = ["innerHTML"], $r = ["src"], ei = ["href"], ti = {
|
|
1700
1540
|
key: 1,
|
|
1701
1541
|
class: "mwnf-sh-intro__thumbs"
|
|
1702
|
-
},
|
|
1542
|
+
}, ni = ["onClick"], ri = ["src"], ii = { class: "mwnf-sh-bottom" }, ai = { class: "mwnf-sh-bottom__pages" }, oi = ["src"], si = { class: "mwnf-sh-bottom__current" }, ci = ["src"], li = { class: "mwnf-sh-bottom__related" }, ui = {
|
|
1703
1543
|
__name: "Introduction",
|
|
1704
1544
|
setup(e) {
|
|
1705
1545
|
let { caption: t, data: r, href: a, label: d, lang: f, pages: m, picture: _, root: x, settings: S, text: T, themes: E, title: D } = $(), O = i(() => x.value ? T(x.value.id) : {}), k = i(() => m.value[0] ? {
|
|
@@ -1718,31 +1558,31 @@ var pr = {
|
|
|
1718
1558
|
Z(a({
|
|
1719
1559
|
name: "zoom",
|
|
1720
1560
|
query: { img: N.value.image_url }
|
|
1721
|
-
}),
|
|
1561
|
+
}), Gn.zoom);
|
|
1722
1562
|
}
|
|
1723
1563
|
return (e, t) => {
|
|
1724
1564
|
let i = v("router-link");
|
|
1725
|
-
return b(x) ? (p(), s("div",
|
|
1726
|
-
u(
|
|
1565
|
+
return b(x) ? (p(), s("div", Br, [
|
|
1566
|
+
u(Pr, {
|
|
1727
1567
|
kind: "intro",
|
|
1728
1568
|
previous: { name: "home" },
|
|
1729
1569
|
next: k.value
|
|
1730
1570
|
}, null, 8, ["next"]),
|
|
1731
|
-
c("div",
|
|
1732
|
-
c("div",
|
|
1571
|
+
c("div", Vr, [c("div", Hr, [
|
|
1572
|
+
c("div", Ur, y(b(d)("home.introduction")), 1),
|
|
1733
1573
|
c("div", {
|
|
1734
1574
|
class: "mwnf-sh-intro__body",
|
|
1735
1575
|
innerHTML: b(r).md(O.value.description ?? "")
|
|
1736
|
-
}, null, 8,
|
|
1737
|
-
u(
|
|
1576
|
+
}, null, 8, Wr),
|
|
1577
|
+
u(zr, {
|
|
1738
1578
|
title: b(D),
|
|
1739
1579
|
blocks: [{
|
|
1740
1580
|
heading: b(d)("home.introduction"),
|
|
1741
1581
|
text: O.value.description ?? ""
|
|
1742
1582
|
}]
|
|
1743
1583
|
}, null, 8, ["title", "blocks"])
|
|
1744
|
-
]), c("div",
|
|
1745
|
-
c("div",
|
|
1584
|
+
]), c("div", Gr, [N.value ? (p(), s("div", Kr, [
|
|
1585
|
+
c("div", qr, [c("div", null, [
|
|
1746
1586
|
w((p(), s("button", {
|
|
1747
1587
|
type: "button",
|
|
1748
1588
|
onClick: I
|
|
@@ -1750,7 +1590,7 @@ var pr = {
|
|
|
1750
1590
|
class: "mwnf-sh-intro__shown",
|
|
1751
1591
|
src: N.value.image_url,
|
|
1752
1592
|
alt: ""
|
|
1753
|
-
}, null, 8,
|
|
1593
|
+
}, null, 8, Jr)])), [[b(G), { text: b(d)("item.showZoom") }]]),
|
|
1754
1594
|
t[0] ||= l("\xA0", -1),
|
|
1755
1595
|
t[1] ||= c("br", null, null, -1),
|
|
1756
1596
|
w((p(), s("button", {
|
|
@@ -1761,16 +1601,16 @@ var pr = {
|
|
|
1761
1601
|
alt: "",
|
|
1762
1602
|
width: "15",
|
|
1763
1603
|
height: "15"
|
|
1764
|
-
}, null, 8,
|
|
1604
|
+
}, null, 8, Yr)])), [[b(G), { text: b(d)("item.showZoom") }]])
|
|
1765
1605
|
])]),
|
|
1766
1606
|
P.value.name ? (p(), s("b", {
|
|
1767
1607
|
key: 0,
|
|
1768
1608
|
innerHTML: b(r).mdInline(P.value.name)
|
|
1769
|
-
}, null, 8,
|
|
1609
|
+
}, null, 8, Xr)) : o("", !0),
|
|
1770
1610
|
P.value.secondName ? (p(), s(n, { key: 1 }, [
|
|
1771
1611
|
t[2] ||= c("br", null, null, -1),
|
|
1772
1612
|
t[3] ||= c("br", null, null, -1),
|
|
1773
|
-
c("b", { innerHTML: b(r).mdInline(P.value.secondName) }, null, 8,
|
|
1613
|
+
c("b", { innerHTML: b(r).mdInline(P.value.secondName) }, null, 8, Zr)
|
|
1774
1614
|
], 64)) : o("", !0),
|
|
1775
1615
|
(p(), s(n, null, g([
|
|
1776
1616
|
"date",
|
|
@@ -1782,7 +1622,7 @@ var pr = {
|
|
|
1782
1622
|
], (e) => (p(), s(n, { key: e }, [P.value[e] ? (p(), s(n, { key: 0 }, [
|
|
1783
1623
|
t[4] ||= c("br", null, null, -1),
|
|
1784
1624
|
t[5] ||= c("br", null, null, -1),
|
|
1785
|
-
c("span", { innerHTML: b(r).mdInline(P.value[e]) }, null, 8,
|
|
1625
|
+
c("span", { innerHTML: b(r).mdInline(P.value[e]) }, null, 8, Qr)
|
|
1786
1626
|
], 64)) : o("", !0)], 64))), 64)),
|
|
1787
1627
|
t[6] ||= c("br", null, null, -1),
|
|
1788
1628
|
t[7] ||= c("br", null, null, -1),
|
|
@@ -1792,40 +1632,40 @@ var pr = {
|
|
|
1792
1632
|
class: "mwnf-sh-arrow",
|
|
1793
1633
|
width: "11",
|
|
1794
1634
|
height: "8"
|
|
1795
|
-
}, null, 8,
|
|
1796
|
-
c("a", { href: F.value }, y(b(d)("item.moreInfo")), 9,
|
|
1797
|
-
])) : o("", !0), j.value.length ? (p(), s("div",
|
|
1635
|
+
}, null, 8, $r),
|
|
1636
|
+
c("a", { href: F.value }, y(b(d)("item.moreInfo")), 9, ei)
|
|
1637
|
+
])) : o("", !0), j.value.length ? (p(), s("div", ti, [(p(!0), s(n, null, g(j.value, (e, t) => (p(), s("button", {
|
|
1798
1638
|
key: e.image_url,
|
|
1799
1639
|
type: "button",
|
|
1800
1640
|
onClick: (e) => M.value = t
|
|
1801
1641
|
}, [c("img", {
|
|
1802
1642
|
src: e.image_url,
|
|
1803
1643
|
alt: ""
|
|
1804
|
-
}, null, 8,
|
|
1805
|
-
c("div",
|
|
1644
|
+
}, null, 8, ri)], 8, ni))), 128))])) : o("", !0)])]),
|
|
1645
|
+
c("div", ii, [c("div", ai, [c("b", null, y(b(d)("page.inExhibition")), 1), c("ul", null, [c("li", null, [c("img", {
|
|
1806
1646
|
src: b(_)("legacy/arrow.gif"),
|
|
1807
1647
|
alt: "",
|
|
1808
1648
|
width: "10",
|
|
1809
1649
|
height: "9"
|
|
1810
|
-
}, null, 8,
|
|
1650
|
+
}, null, 8, oi), c("span", si, y(b(d)("home.introduction")), 1)]), (p(!0), s(n, null, g(b(E), (e, t) => (p(), s("li", { key: e.id }, [c("img", {
|
|
1811
1651
|
src: b(_)("legacy/arrow.gif"),
|
|
1812
1652
|
alt: "",
|
|
1813
1653
|
width: "10",
|
|
1814
1654
|
height: "9"
|
|
1815
|
-
}, null, 8,
|
|
1655
|
+
}, null, 8, ci), u(i, { to: {
|
|
1816
1656
|
name: "theme",
|
|
1817
1657
|
params: { theme: t + 1 }
|
|
1818
1658
|
} }, {
|
|
1819
1659
|
default: C(() => [l(y(b(A)(b(T)(e.id).title ?? "")), 1)]),
|
|
1820
1660
|
_: 2
|
|
1821
|
-
}, 1032, ["to"])]))), 128))])]), c("div",
|
|
1661
|
+
}, 1032, ["to"])]))), 128))])]), c("div", li, [u($n, { arrow: "legacy/arrow_inner.gif" }), u(ir, { class: "mwnf-sh-bottom__windows" })])])
|
|
1822
1662
|
])) : o("", !0);
|
|
1823
1663
|
};
|
|
1824
1664
|
}
|
|
1825
|
-
},
|
|
1665
|
+
}, di = {
|
|
1826
1666
|
key: 0,
|
|
1827
1667
|
class: "mwnf-sh-panel"
|
|
1828
|
-
},
|
|
1668
|
+
}, fi = { class: "mwnf-sh-panel__picture" }, pi = { class: "mwnf-sh-panel__frame" }, mi = ["src"], hi = { class: "mwnf-sh-panel__magnify" }, gi = ["src"], _i = { class: "mwnf-sh-panel__caption" }, vi = ["innerHTML"], yi = ["innerHTML"], bi = ["innerHTML"], xi = ["innerHTML"], Si = ["innerHTML"], Ci = ["innerHTML"], wi = ["innerHTML"], Ti = ["src"], Ei = ["href"], Di = { class: "mwnf-sh-panel__related" }, Oi = ["onClick"], ki = ["src"], Ai = {
|
|
1829
1669
|
__name: "Panel",
|
|
1830
1670
|
props: {
|
|
1831
1671
|
slot: {
|
|
@@ -1847,16 +1687,16 @@ var pr = {
|
|
|
1847
1687
|
Z(d({
|
|
1848
1688
|
name: "zoom",
|
|
1849
1689
|
query: { img: _.value.image_url }
|
|
1850
|
-
}),
|
|
1690
|
+
}), Gn.zoom);
|
|
1851
1691
|
}
|
|
1852
|
-
return (e, t) => _.value ? (p(), s("div",
|
|
1692
|
+
return (e, t) => _.value ? (p(), s("div", di, [c("div", fi, [c("div", pi, [c("div", null, [w((p(), s("button", {
|
|
1853
1693
|
type: "button",
|
|
1854
1694
|
onClick: C
|
|
1855
1695
|
}, [c("img", {
|
|
1856
1696
|
class: "mwnf-sh-panel__shown",
|
|
1857
1697
|
src: _.value.image_url,
|
|
1858
1698
|
alt: ""
|
|
1859
|
-
}, null, 8,
|
|
1699
|
+
}, null, 8, mi)])), [[b(G), { text: b(f)("item.showZoom") }]]), c("div", hi, [w((p(), s("button", {
|
|
1860
1700
|
type: "button",
|
|
1861
1701
|
onClick: C
|
|
1862
1702
|
}, [c("img", {
|
|
@@ -1864,75 +1704,75 @@ var pr = {
|
|
|
1864
1704
|
alt: "",
|
|
1865
1705
|
width: "15",
|
|
1866
1706
|
height: "15"
|
|
1867
|
-
}, null, 8,
|
|
1707
|
+
}, null, 8, gi)])), [[b(G), { text: b(f)("item.showZoom") }]])])])])]), c("div", _i, [
|
|
1868
1708
|
v.value.name ? (p(), s("p", {
|
|
1869
1709
|
key: 0,
|
|
1870
1710
|
class: "mwnf-sh-panel__name",
|
|
1871
1711
|
innerHTML: b(u).mdInline(v.value.name)
|
|
1872
|
-
}, null, 8,
|
|
1712
|
+
}, null, 8, vi)) : o("", !0),
|
|
1873
1713
|
v.value.date ? (p(), s("p", {
|
|
1874
1714
|
key: 1,
|
|
1875
1715
|
innerHTML: b(u).mdInline(v.value.date)
|
|
1876
|
-
}, null, 8,
|
|
1716
|
+
}, null, 8, yi)) : o("", !0),
|
|
1877
1717
|
v.value.place ? (p(), s("p", {
|
|
1878
1718
|
key: 2,
|
|
1879
1719
|
innerHTML: b(u).mdInline(v.value.place)
|
|
1880
|
-
}, null, 8,
|
|
1720
|
+
}, null, 8, bi)) : o("", !0),
|
|
1881
1721
|
v.value.artist ? (p(), s("p", {
|
|
1882
1722
|
key: 3,
|
|
1883
1723
|
innerHTML: b(u).mdInline(v.value.artist)
|
|
1884
|
-
}, null, 8,
|
|
1724
|
+
}, null, 8, xi)) : o("", !0),
|
|
1885
1725
|
v.value.material ? (p(), s("p", {
|
|
1886
1726
|
key: 4,
|
|
1887
1727
|
innerHTML: b(u).mdInline(v.value.material)
|
|
1888
|
-
}, null, 8,
|
|
1728
|
+
}, null, 8, Si)) : o("", !0),
|
|
1889
1729
|
v.value.architects ? (p(), s("p", {
|
|
1890
1730
|
key: 5,
|
|
1891
1731
|
innerHTML: b(u).mdInline(v.value.architects)
|
|
1892
|
-
}, null, 8,
|
|
1732
|
+
}, null, 8, Ci)) : o("", !0),
|
|
1893
1733
|
v.value.justification ? (p(), s("p", {
|
|
1894
1734
|
key: 6,
|
|
1895
1735
|
class: "mwnf-sh-panel__justification",
|
|
1896
1736
|
innerHTML: b(u).mdInline(v.value.justification)
|
|
1897
|
-
}, null, 8,
|
|
1737
|
+
}, null, 8, wi)) : o("", !0),
|
|
1898
1738
|
c("p", null, [c("img", {
|
|
1899
1739
|
src: b(m)("legacy/arrow_inner_black.gif"),
|
|
1900
1740
|
alt: "",
|
|
1901
1741
|
class: "mwnf-sh-arrow",
|
|
1902
1742
|
width: "11",
|
|
1903
1743
|
height: "8"
|
|
1904
|
-
}, null, 8,
|
|
1744
|
+
}, null, 8, Ti), c("a", {
|
|
1905
1745
|
href: x.value,
|
|
1906
1746
|
target: "_blank",
|
|
1907
1747
|
rel: "noopener"
|
|
1908
|
-
}, y(b(f)("item.moreInfo")), 9,
|
|
1909
|
-
S.value.length ? (p(), s(n, { key: 7 }, [c("p", null, [c("b", null, y(b(f)("item.related")), 1)]), c("div",
|
|
1748
|
+
}, y(b(f)("item.moreInfo")), 9, Ei)]),
|
|
1749
|
+
S.value.length ? (p(), s(n, { key: 7 }, [c("p", null, [c("b", null, y(b(f)("item.related")), 1)]), c("div", Di, [(p(!0), s(n, null, g(S.value, (e) => (p(), s("button", {
|
|
1910
1750
|
key: e.index,
|
|
1911
1751
|
type: "button",
|
|
1912
1752
|
onClick: (t) => a("update:view", e.index)
|
|
1913
1753
|
}, [c("img", {
|
|
1914
1754
|
src: e.variant.image_url,
|
|
1915
1755
|
alt: ""
|
|
1916
|
-
}, null, 8,
|
|
1756
|
+
}, null, 8, ki)], 8, Oi))), 128))])], 64)) : o("", !0)
|
|
1917
1757
|
])])) : o("", !0);
|
|
1918
1758
|
}
|
|
1919
|
-
},
|
|
1759
|
+
}, ji = {
|
|
1920
1760
|
key: 1,
|
|
1921
1761
|
class: "mwnf-sh-pagewrap",
|
|
1922
1762
|
style: { "font-size": "calc(11px * var(--sh-text-scale, 1))" }
|
|
1923
|
-
},
|
|
1763
|
+
}, Mi = { class: "mwnf-sh-page" }, Ni = { class: "mwnf-sh-page__text" }, Pi = { class: "mwnf-sh-page__theme" }, Fi = { class: "mwnf-sh-page__name" }, Ii = {
|
|
1924
1764
|
key: 0,
|
|
1925
1765
|
class: "mwnf-sh-page__thumbs"
|
|
1926
|
-
},
|
|
1766
|
+
}, Li = ["onClick"], Ri = ["src"], zi = { class: "mwnf-sh-page__body" }, Bi = ["innerHTML"], Vi = ["innerHTML"], Hi = { class: "mwnf-sh-more" }, Ui = { class: "mwnf-sh-more__label" }, Wi = { class: "mwnf-sh-more__theme" }, Gi = ["src"], Ki = {
|
|
1927
1767
|
key: 0,
|
|
1928
1768
|
class: "mwnf-sh-more__current"
|
|
1929
|
-
},
|
|
1769
|
+
}, qi = ["src"], Ji = {
|
|
1930
1770
|
key: 0,
|
|
1931
1771
|
class: "mwnf-sh-more__current"
|
|
1932
|
-
},
|
|
1772
|
+
}, Yi = { class: "mwnf-sh-bottom" }, Xi = { class: "mwnf-sh-bottom__pages" }, Zi = ["src"], Qi = ["src"], $i = {
|
|
1933
1773
|
key: 0,
|
|
1934
1774
|
class: "mwnf-sh-bottom__current"
|
|
1935
|
-
},
|
|
1775
|
+
}, ea = { class: "mwnf-sh-bottom__related" }, ta = {
|
|
1936
1776
|
__name: "Page",
|
|
1937
1777
|
props: {
|
|
1938
1778
|
theme: {
|
|
@@ -1949,49 +1789,49 @@ var pr = {
|
|
|
1949
1789
|
S(j, () => {
|
|
1950
1790
|
F.value = 0, I.value = 0;
|
|
1951
1791
|
});
|
|
1952
|
-
let
|
|
1792
|
+
let L = (e) => {
|
|
1953
1793
|
F.value = e, I.value = 0;
|
|
1954
|
-
},
|
|
1794
|
+
}, R = (e) => A(w(e).title ?? ""), z = i(() => t.page === 0 ? d("home.overview") : A(M.value.title ?? "")), B = i(() => [
|
|
1955
1795
|
{ heading: w(k.value?.id).title },
|
|
1956
|
-
{ heading:
|
|
1796
|
+
{ heading: z.value },
|
|
1957
1797
|
{ text: M.value.quote ?? "" },
|
|
1958
1798
|
{ text: M.value.description ?? "" }
|
|
1959
1799
|
]);
|
|
1960
1800
|
return (t, i) => {
|
|
1961
1801
|
let f = v("router-link");
|
|
1962
|
-
return O.value ? (p(), s("div",
|
|
1963
|
-
u(
|
|
1964
|
-
c("div",
|
|
1965
|
-
c("div",
|
|
1966
|
-
c("div",
|
|
1967
|
-
N.value.length ? (p(), s("div",
|
|
1802
|
+
return O.value ? (p(), s("div", ji, [
|
|
1803
|
+
u(Pr, { next: O.value.next }, null, 8, ["next"]),
|
|
1804
|
+
c("div", Mi, [c("div", Ni, [
|
|
1805
|
+
c("div", Pi, y(R(k.value.id)), 1),
|
|
1806
|
+
c("div", Fi, "\xA0" + y(z.value), 1),
|
|
1807
|
+
N.value.length ? (p(), s("div", Ii, [(p(!0), s(n, null, g(N.value, (e, t) => (p(), s("button", {
|
|
1968
1808
|
key: `${e.n}-${e.variants[0].id}`,
|
|
1969
1809
|
type: "button",
|
|
1970
|
-
onClick: (e) =>
|
|
1810
|
+
onClick: (e) => L(t)
|
|
1971
1811
|
}, [c("img", {
|
|
1972
1812
|
src: e.variants[0].image_url,
|
|
1973
1813
|
alt: ""
|
|
1974
|
-
}, null, 8,
|
|
1814
|
+
}, null, 8, Ri)], 8, Li))), 128))])) : o("", !0),
|
|
1975
1815
|
i[2] ||= c("div", { class: "mwnf-sh-page__rule" }, null, -1),
|
|
1976
|
-
c("div",
|
|
1816
|
+
c("div", zi, [M.value.quote ? (p(), s("div", {
|
|
1977
1817
|
key: 0,
|
|
1978
1818
|
class: "mwnf-sh-page__quote",
|
|
1979
1819
|
innerHTML: b(r).md(M.value.quote)
|
|
1980
|
-
}, null, 8,
|
|
1820
|
+
}, null, 8, Bi)) : o("", !0), M.value.description ? (p(), s("div", {
|
|
1981
1821
|
key: 1,
|
|
1982
1822
|
innerHTML: b(r).md(M.value.description)
|
|
1983
|
-
}, null, 8,
|
|
1984
|
-
c("div",
|
|
1985
|
-
c("span",
|
|
1823
|
+
}, null, 8, Vi)) : o("", !0)]),
|
|
1824
|
+
c("div", Hi, [c("b", null, [
|
|
1825
|
+
c("span", Ui, y(b(d)("page.moreAbout")), 1),
|
|
1986
1826
|
i[1] ||= c("br", null, null, -1),
|
|
1987
|
-
c("span",
|
|
1827
|
+
c("span", Wi, y(R(k.value.id)), 1)
|
|
1988
1828
|
]), c("ul", null, [c("li", null, [c("img", {
|
|
1989
1829
|
src: b(m)("legacy/arrow_inner_black.gif"),
|
|
1990
1830
|
alt: "",
|
|
1991
1831
|
class: "mwnf-sh-arrow",
|
|
1992
1832
|
width: "11",
|
|
1993
1833
|
height: "8"
|
|
1994
|
-
}, null, 8,
|
|
1834
|
+
}, null, 8, Gi), e.page === 0 ? (p(), s("span", Ki, y(b(d)("home.overview")), 1)) : (p(), a(f, {
|
|
1995
1835
|
key: 1,
|
|
1996
1836
|
to: {
|
|
1997
1837
|
name: "theme",
|
|
@@ -2006,7 +1846,7 @@ var pr = {
|
|
|
2006
1846
|
class: "mwnf-sh-arrow",
|
|
2007
1847
|
width: "11",
|
|
2008
1848
|
height: "8"
|
|
2009
|
-
}, null, 8,
|
|
1849
|
+
}, null, 8, qi), e.page === n + 1 ? (p(), s("span", Ji, y(R(t.id)), 1)) : (p(), a(f, {
|
|
2010
1850
|
key: 1,
|
|
2011
1851
|
to: {
|
|
2012
1852
|
name: "subtheme",
|
|
@@ -2016,24 +1856,24 @@ var pr = {
|
|
|
2016
1856
|
}
|
|
2017
1857
|
}
|
|
2018
1858
|
}, {
|
|
2019
|
-
default: C(() => [l(y(
|
|
1859
|
+
default: C(() => [l(y(R(t.id)), 1)]),
|
|
2020
1860
|
_: 2
|
|
2021
1861
|
}, 1032, ["to"]))]))), 128))])]),
|
|
2022
|
-
u(
|
|
1862
|
+
u(zr, {
|
|
2023
1863
|
title: b(D),
|
|
2024
|
-
blocks:
|
|
1864
|
+
blocks: B.value
|
|
2025
1865
|
}, null, 8, ["title", "blocks"])
|
|
2026
|
-
]), u(
|
|
1866
|
+
]), u(Ai, {
|
|
2027
1867
|
view: I.value,
|
|
2028
1868
|
"onUpdate:view": i[0] ||= (e) => I.value = e,
|
|
2029
1869
|
slot: N.value[F.value] ?? null
|
|
2030
1870
|
}, null, 8, ["view", "slot"])]),
|
|
2031
|
-
c("div",
|
|
1871
|
+
c("div", Yi, [c("div", Xi, [c("b", null, y(b(d)("page.inExhibition")), 1), c("ul", null, [c("li", null, [c("img", {
|
|
2032
1872
|
src: b(m)("legacy/arrow.gif"),
|
|
2033
1873
|
alt: "",
|
|
2034
1874
|
width: "10",
|
|
2035
1875
|
height: "9"
|
|
2036
|
-
}, null, 8,
|
|
1876
|
+
}, null, 8, Zi), u(f, { to: { name: "introduction" } }, {
|
|
2037
1877
|
default: C(() => [l(y(b(d)("home.introduction")), 1)]),
|
|
2038
1878
|
_: 1
|
|
2039
1879
|
})]), (p(!0), s(n, null, g(b(T), (t, n) => (p(), s("li", { key: t.id }, [c("img", {
|
|
@@ -2041,47 +1881,47 @@ var pr = {
|
|
|
2041
1881
|
alt: "",
|
|
2042
1882
|
width: "10",
|
|
2043
1883
|
height: "9"
|
|
2044
|
-
}, null, 8,
|
|
1884
|
+
}, null, 8, Qi), n + 1 === e.theme ? (p(), s("span", $i, y(R(t.id)), 1)) : (p(), a(f, {
|
|
2045
1885
|
key: 1,
|
|
2046
1886
|
to: {
|
|
2047
1887
|
name: "theme",
|
|
2048
1888
|
params: { theme: n + 1 }
|
|
2049
1889
|
}
|
|
2050
1890
|
}, {
|
|
2051
|
-
default: C(() => [l(y(
|
|
1891
|
+
default: C(() => [l(y(R(t.id)), 1)]),
|
|
2052
1892
|
_: 2
|
|
2053
|
-
}, 1032, ["to"]))]))), 128))])]), c("div",
|
|
1893
|
+
}, 1032, ["to"]))]))), 128))])]), c("div", ea, [u($n, {
|
|
2054
1894
|
arrow: "legacy/arrow_inner.gif",
|
|
2055
1895
|
"theme-id": k.value.id,
|
|
2056
1896
|
"subtheme-id": e.page === 0 ? null : j.value.id
|
|
2057
|
-
}, null, 8, ["theme-id", "subtheme-id"]), u(
|
|
1897
|
+
}, null, 8, ["theme-id", "subtheme-id"]), u(ir, { class: "mwnf-sh-bottom__windows" })])])
|
|
2058
1898
|
])) : (p(), a(b(E), { key: 0 }));
|
|
2059
1899
|
};
|
|
2060
1900
|
}
|
|
2061
|
-
},
|
|
1901
|
+
}, na = { key: 0 }, ra = { class: "mwnf-sh-reading" }, ia = { class: "mwnf-sh-reading__languages" }, aa = {
|
|
2062
1902
|
key: 0,
|
|
2063
1903
|
class: "mwnf-sh-reading__language mwnf-sh-reading__language--current"
|
|
2064
|
-
},
|
|
1904
|
+
}, oa = {
|
|
2065
1905
|
key: 1,
|
|
2066
1906
|
class: "mwnf-sh-reading__language"
|
|
2067
|
-
},
|
|
1907
|
+
}, sa = { class: "mwnf-sh-reading__content" }, ca = { class: "mwnf-sh-reading__close" }, la = ["src"], ua = { class: "mwnf-sh-reading__title" }, da = ["innerHTML"], fa = {
|
|
2068
1908
|
__name: "FurtherReading",
|
|
2069
1909
|
setup(e) {
|
|
2070
1910
|
let { data: t, label: r, lang: a, languageName: d, offered: f, picture: m, root: h, text: _, title: x } = $(), S = i(() => h.value ? _(h.value.id).extra?.bibliography ?? {} : {}), w = i(() => S.value[a.value] ? a.value : "en"), E = i(() => S.value[w.value] ?? []), D = i(() => f.filter((e) => S.value[e]?.length).reverse()), O = () => window.close();
|
|
2071
1911
|
return (e, i) => {
|
|
2072
1912
|
let a = v("router-link");
|
|
2073
|
-
return b(h) ? (p(), s("div",
|
|
1913
|
+
return b(h) ? (p(), s("div", na, [u(Pr, {
|
|
2074
1914
|
kind: "intro",
|
|
2075
1915
|
heading: b(r)("related.furtherReading"),
|
|
2076
1916
|
paging: !1
|
|
2077
|
-
}, null, 8, ["heading"]), c("div",
|
|
1917
|
+
}, null, 8, ["heading"]), c("div", ra, [c("div", ia, [(p(!0), s(n, null, g(D.value, (e) => (p(), s(n, { key: e }, [e === w.value ? (p(), s("div", aa, y(b(d)(e)), 1)) : (p(), s("div", oa, [u(a, { to: {
|
|
2078
1918
|
name: "further-reading",
|
|
2079
1919
|
query: { lang: e }
|
|
2080
1920
|
} }, {
|
|
2081
1921
|
default: C(() => [l(y(b(d)(e)), 1)]),
|
|
2082
1922
|
_: 2
|
|
2083
|
-
}, 1032, ["to"])]))], 64))), 128))]), c("div",
|
|
2084
|
-
c("div",
|
|
1923
|
+
}, 1032, ["to"])]))], 64))), 128))]), c("div", sa, [
|
|
1924
|
+
c("div", ca, [c("a", {
|
|
2085
1925
|
href: "#",
|
|
2086
1926
|
onClick: T(O, ["prevent"])
|
|
2087
1927
|
}, [c("img", {
|
|
@@ -2089,16 +1929,16 @@ var pr = {
|
|
|
2089
1929
|
alt: "",
|
|
2090
1930
|
width: "11",
|
|
2091
1931
|
height: "8"
|
|
2092
|
-
}, null, 8,
|
|
2093
|
-
c("div",
|
|
1932
|
+
}, null, 8, la), l(y(b(r)("reading.close")), 1)])]),
|
|
1933
|
+
c("div", ua, [c("span", null, y(b(x)), 1)]),
|
|
2094
1934
|
(p(!0), s(n, null, g(E.value, (e) => (p(), s("p", {
|
|
2095
1935
|
key: e,
|
|
2096
1936
|
innerHTML: b(t).mdInline(e)
|
|
2097
|
-
}, null, 8,
|
|
1937
|
+
}, null, 8, da))), 128))
|
|
2098
1938
|
])])])) : o("", !0);
|
|
2099
1939
|
};
|
|
2100
1940
|
}
|
|
2101
|
-
},
|
|
1941
|
+
}, pa = ["innerHTML"], ma = {
|
|
2102
1942
|
__name: "Window",
|
|
2103
1943
|
props: { kind: {
|
|
2104
1944
|
type: String,
|
|
@@ -2113,10 +1953,10 @@ var pr = {
|
|
|
2113
1953
|
c("h3", null, y(b(l)), 1),
|
|
2114
1954
|
c("p", null, y(b(r)(`windows.${e.kind}`)), 1),
|
|
2115
1955
|
n[0] ||= c("br", null, null, -1),
|
|
2116
|
-
c("div", { innerHTML: d.value }, null, 8,
|
|
1956
|
+
c("div", { innerHTML: d.value }, null, 8, pa)
|
|
2117
1957
|
]));
|
|
2118
1958
|
}
|
|
2119
|
-
},
|
|
1959
|
+
}, ha = ["src"], ga = {
|
|
2120
1960
|
__name: "Zoom",
|
|
2121
1961
|
props: { image: {
|
|
2122
1962
|
type: String,
|
|
@@ -2131,58 +1971,58 @@ var pr = {
|
|
|
2131
1971
|
key: 0,
|
|
2132
1972
|
src: c.value,
|
|
2133
1973
|
alt: ""
|
|
2134
|
-
}, null, 8,
|
|
1974
|
+
}, null, 8, ha)) : o("", !0);
|
|
2135
1975
|
}
|
|
2136
|
-
},
|
|
1976
|
+
}, _a = [
|
|
2137
1977
|
"collections",
|
|
2138
1978
|
"items",
|
|
2139
1979
|
"countries",
|
|
2140
1980
|
"partners"
|
|
2141
1981
|
];
|
|
2142
|
-
function
|
|
1982
|
+
function va(e) {
|
|
2143
1983
|
return [
|
|
2144
1984
|
{
|
|
2145
1985
|
path: "/",
|
|
2146
1986
|
name: "home",
|
|
2147
|
-
component:
|
|
2148
|
-
meta: e("home", ...
|
|
1987
|
+
component: wr,
|
|
1988
|
+
meta: e("home", ..._a)
|
|
2149
1989
|
},
|
|
2150
1990
|
{
|
|
2151
1991
|
path: "/introduction",
|
|
2152
1992
|
name: "introduction",
|
|
2153
|
-
component:
|
|
2154
|
-
meta: e("introduction", ...
|
|
1993
|
+
component: ui,
|
|
1994
|
+
meta: e("introduction", ..._a)
|
|
2155
1995
|
},
|
|
2156
1996
|
{
|
|
2157
1997
|
path: "/theme/:theme(\\d+)",
|
|
2158
1998
|
name: "theme",
|
|
2159
|
-
component:
|
|
1999
|
+
component: ta,
|
|
2160
2000
|
props: (e) => ({
|
|
2161
2001
|
theme: Number(e.params.theme),
|
|
2162
2002
|
page: 0
|
|
2163
2003
|
}),
|
|
2164
|
-
meta: e("theme", ...
|
|
2004
|
+
meta: e("theme", ..._a)
|
|
2165
2005
|
},
|
|
2166
2006
|
{
|
|
2167
2007
|
path: "/theme/:theme(\\d+)/:page(\\d+)",
|
|
2168
2008
|
name: "subtheme",
|
|
2169
|
-
component:
|
|
2009
|
+
component: ta,
|
|
2170
2010
|
props: (e) => ({
|
|
2171
2011
|
theme: Number(e.params.theme),
|
|
2172
2012
|
page: Number(e.params.page)
|
|
2173
2013
|
}),
|
|
2174
|
-
meta: e("subtheme", ...
|
|
2014
|
+
meta: e("subtheme", ..._a)
|
|
2175
2015
|
},
|
|
2176
2016
|
{
|
|
2177
2017
|
path: "/further-reading",
|
|
2178
2018
|
name: "further-reading",
|
|
2179
|
-
component:
|
|
2019
|
+
component: fa,
|
|
2180
2020
|
meta: e("further-reading", "collections")
|
|
2181
2021
|
},
|
|
2182
2022
|
{
|
|
2183
2023
|
path: "/credits",
|
|
2184
2024
|
name: "credits",
|
|
2185
|
-
component:
|
|
2025
|
+
component: ma,
|
|
2186
2026
|
props: { kind: "curators" },
|
|
2187
2027
|
meta: {
|
|
2188
2028
|
...e("credits", "collections"),
|
|
@@ -2192,7 +2032,7 @@ function Ba(e) {
|
|
|
2192
2032
|
{
|
|
2193
2033
|
path: "/cover-image",
|
|
2194
2034
|
name: "cover-image",
|
|
2195
|
-
component:
|
|
2035
|
+
component: ma,
|
|
2196
2036
|
props: { kind: "coverImage" },
|
|
2197
2037
|
meta: {
|
|
2198
2038
|
...e("cover-image", "collections"),
|
|
@@ -2202,7 +2042,7 @@ function Ba(e) {
|
|
|
2202
2042
|
{
|
|
2203
2043
|
path: "/zoom",
|
|
2204
2044
|
name: "zoom",
|
|
2205
|
-
component:
|
|
2045
|
+
component: ga,
|
|
2206
2046
|
props: (e) => ({ image: String(e.query.img ?? "") }),
|
|
2207
2047
|
meta: {
|
|
2208
2048
|
...e("zoom", "collections"),
|
|
@@ -2211,8 +2051,8 @@ function Ba(e) {
|
|
|
2211
2051
|
}
|
|
2212
2052
|
];
|
|
2213
2053
|
}
|
|
2214
|
-
var
|
|
2215
|
-
function
|
|
2054
|
+
var ya = "https://www.museumwnf.org/about/language-policy";
|
|
2055
|
+
function ba({ languages: e, parent: t, profiles: n = [], texts: r = Fn }) {
|
|
2216
2056
|
let i = [{
|
|
2217
2057
|
label: "header.project",
|
|
2218
2058
|
href: `${t}/#/about`
|
|
@@ -2286,7 +2126,7 @@ function Ha({ languages: e, parent: t, profiles: n = [], texts: r = rr }) {
|
|
|
2286
2126
|
},
|
|
2287
2127
|
{
|
|
2288
2128
|
label: "footer.languagePolicy",
|
|
2289
|
-
href:
|
|
2129
|
+
href: ya
|
|
2290
2130
|
},
|
|
2291
2131
|
{
|
|
2292
2132
|
label: "footer.cookies",
|
|
@@ -2295,7 +2135,7 @@ function Ha({ languages: e, parent: t, profiles: n = [], texts: r = rr }) {
|
|
|
2295
2135
|
]
|
|
2296
2136
|
};
|
|
2297
2137
|
}
|
|
2298
|
-
function
|
|
2138
|
+
function xa({ parent: e, texts: t = Fn, ...n }) {
|
|
2299
2139
|
return {
|
|
2300
2140
|
parent: e,
|
|
2301
2141
|
texts: t,
|
|
@@ -2304,152 +2144,980 @@ function Ua({ parent: e, texts: t = rr, ...n }) {
|
|
|
2304
2144
|
};
|
|
2305
2145
|
}
|
|
2306
2146
|
//#endregion
|
|
2307
|
-
//#region src/minisite/
|
|
2308
|
-
var
|
|
2309
|
-
key: 0,
|
|
2310
|
-
class: "mwnf-artintro-home__menu2"
|
|
2311
|
-
}, Xa = {
|
|
2147
|
+
//#region src/minisite/baroqueart/Shell.vue
|
|
2148
|
+
var Sa = {
|
|
2312
2149
|
key: 1,
|
|
2313
|
-
class: "mwnf-
|
|
2314
|
-
},
|
|
2315
|
-
__name: "
|
|
2316
|
-
setup(e) {
|
|
2317
|
-
let { label: t, lang: r, data: a, root: d, themes: m, text: h, title: _, settings: x, picture: w, glossaryFor: T } = X(), 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) => ({
|
|
2318
|
-
theme: e,
|
|
2319
|
-
number: t + 1
|
|
2320
|
-
}))), A = i(() => m.value.slice(O.value).map((e, t) => ({
|
|
2321
|
-
theme: e,
|
|
2322
|
-
number: O.value + t + 1
|
|
2323
|
-
}))), j = i(() => x.social ?? []), M = i(() => w(r.value === "ar" ? "legacy/home_bg_ar.jpg" : "legacy/home_bg.jpg"));
|
|
2324
|
-
return S([_, r], () => {
|
|
2325
|
-
document.title = [t("identity.windowTitle"), _.value].filter(Boolean).join(" | ");
|
|
2326
|
-
}, { immediate: !0 }), (e, t) => {
|
|
2327
|
-
let r = v("router-link");
|
|
2328
|
-
return p(), s("div", {
|
|
2329
|
-
class: "mwnf-artintro-home",
|
|
2330
|
-
style: f({ backgroundImage: M.value ? `url(${M.value})` : "none" })
|
|
2331
|
-
}, [
|
|
2332
|
-
c("div", {
|
|
2333
|
-
class: "mwnf-artintro-home__title",
|
|
2334
|
-
innerHTML: b(a).mdInline(b(_))
|
|
2335
|
-
}, null, 8, Wa),
|
|
2336
|
-
c("div", {
|
|
2337
|
-
class: "mwnf-artintro-home__subtitle",
|
|
2338
|
-
innerHTML: b(a).mdInline(E.value.extra?.subtitle ?? "")
|
|
2339
|
-
}, null, 8, Ga),
|
|
2340
|
-
c("div", {
|
|
2341
|
-
class: "mwnf-artintro-home__description",
|
|
2342
|
-
innerHTML: D.value
|
|
2343
|
-
}, null, 8, Ka),
|
|
2344
|
-
c("div", {
|
|
2345
|
-
class: "mwnf-artintro-home__credits",
|
|
2346
|
-
innerHTML: b(a).mdInline(E.value.extra?.credits ?? "")
|
|
2347
|
-
}, null, 8, qa),
|
|
2348
|
-
c("div", Ja, [(p(!0), s(n, null, g(k.value, ({ theme: e, number: t }) => (p(), s("div", { key: e.id }, [u(r, { to: {
|
|
2349
|
-
name: "page",
|
|
2350
|
-
params: { theme: t }
|
|
2351
|
-
} }, {
|
|
2352
|
-
default: C(() => [l(y(b(h)(e.id).title), 1)]),
|
|
2353
|
-
_: 2
|
|
2354
|
-
}, 1032, ["to"])]))), 128))]),
|
|
2355
|
-
A.value.length ? (p(), s("div", Ya, [(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: {
|
|
2356
|
-
name: "page",
|
|
2357
|
-
params: { theme: n }
|
|
2358
|
-
} }, {
|
|
2359
|
-
default: C(() => [l(y(b(h)(e.id).title), 1)]),
|
|
2360
|
-
_: 2
|
|
2361
|
-
}, 1032, ["to"])]))), 128))])) : o("", !0),
|
|
2362
|
-
j.value.length ? (p(), s("div", Xa, [c("div", Za, [(p(!0), s(n, null, g(j.value, (e) => (p(), s("a", {
|
|
2363
|
-
key: e.href,
|
|
2364
|
-
href: e.href,
|
|
2365
|
-
target: "_blank",
|
|
2366
|
-
rel: "noopener"
|
|
2367
|
-
}, [c("span", {
|
|
2368
|
-
class: "mwnf-artintro-home__icon",
|
|
2369
|
-
style: f({
|
|
2370
|
-
maskImage: `url("${b(w)(e.icon)}")`,
|
|
2371
|
-
width: `${e.aspect ?? 1}em`
|
|
2372
|
-
}),
|
|
2373
|
-
"aria-hidden": "true"
|
|
2374
|
-
}, null, 4)], 8, Qa))), 128))]), t[1] ||= c("br", null, null, -1)])) : o("", !0)
|
|
2375
|
-
], 4);
|
|
2376
|
-
};
|
|
2377
|
-
}
|
|
2378
|
-
}, eo = {
|
|
2379
|
-
key: 0,
|
|
2380
|
-
class: "mwnf-artintro-page"
|
|
2381
|
-
}, to = { class: "mwnf-artintro-page__back" }, no = ["innerHTML"], ro = ["innerHTML"], io = { class: "mwnf-artintro-page__body" }, ao = ["innerHTML"], oo = { class: "mwnf-artintro-page__pages" }, so = ["innerHTML"], co = ["innerHTML"], lo = ["innerHTML"], uo = { class: "mwnf-artintro-page__item" }, fo = { class: "mwnf-artintro-page__image" }, po = ["src"], mo = {
|
|
2382
|
-
key: 0,
|
|
2383
|
-
class: "mwnf-artintro-page__caption"
|
|
2384
|
-
}, ho = ["innerHTML"], go = { key: 0 }, _o = ["innerHTML"], vo = ["innerHTML"], yo = { key: 0 }, bo = ["onClick"], xo = ["src"], So = ["innerHTML"], Co = { key: 1 }, wo = ["href"], To = { class: "mwnf-artintro-page__thumbs" }, Eo = ["onClick"], Do = ["src"], Oo = {
|
|
2385
|
-
__name: "Page",
|
|
2150
|
+
class: "mwnf-baroqueart"
|
|
2151
|
+
}, Ca = { class: "mwnf-baroqueart__column" }, wa = { class: "mwnf-baroqueart-header" }, Ta = { class: "mwnf-baroqueart-header__logo" }, Ea = ["href"], Da = ["src"], Oa = { class: "mwnf-baroqueart-header__nav" }, ka = { class: "mwnf-baroqueart-header__back" }, Aa = ["href"], ja = ["value", "aria-label"], Ma = ["value"], Na = { class: "mwnf-baroqueart-menu" }, Pa = { class: "mwnf-baroqueart-menu__list" }, Fa = ["href"], Ia = { class: "mwnf-baroqueart-footer" }, La = ["href"], Ra = {
|
|
2152
|
+
__name: "Shell",
|
|
2386
2153
|
props: {
|
|
2387
|
-
|
|
2388
|
-
type:
|
|
2154
|
+
languages: {
|
|
2155
|
+
type: Array,
|
|
2156
|
+
default: () => []
|
|
2157
|
+
},
|
|
2158
|
+
language: {
|
|
2159
|
+
type: String,
|
|
2389
2160
|
required: !0
|
|
2390
2161
|
},
|
|
2391
|
-
|
|
2392
|
-
type:
|
|
2162
|
+
logoHref: {
|
|
2163
|
+
type: String,
|
|
2393
2164
|
required: !0
|
|
2394
|
-
}
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2165
|
+
},
|
|
2166
|
+
logoTip: {
|
|
2167
|
+
type: String,
|
|
2168
|
+
default: "minisiteBaroque.header.logoTip"
|
|
2169
|
+
},
|
|
2170
|
+
headerLinks: {
|
|
2171
|
+
type: Array,
|
|
2172
|
+
default: () => []
|
|
2173
|
+
},
|
|
2174
|
+
menu: {
|
|
2175
|
+
type: Array,
|
|
2176
|
+
default: () => []
|
|
2177
|
+
},
|
|
2178
|
+
footerLinks: {
|
|
2179
|
+
type: Array,
|
|
2180
|
+
default: () => []
|
|
2181
|
+
},
|
|
2182
|
+
copyright: {
|
|
2183
|
+
type: String,
|
|
2184
|
+
required: !0
|
|
2185
|
+
}
|
|
2186
|
+
},
|
|
2187
|
+
emits: ["update:language"],
|
|
2188
|
+
setup(t, { emit: r }) {
|
|
2189
|
+
let a = t, u = r, { t: m } = R(), h = z(), v = B(), S = i(() => v.meta?.bare ?? null), C = (t) => e(h.chrome, t), T = i(() => [...a.languages].sort((e, t) => e.label.localeCompare(t.label))), E = (/* @__PURE__ */ new Date()).getFullYear(), D = i(() => {
|
|
2190
|
+
let e = C("legacy/bg_fading_left.gif"), t = C("legacy/bg_fading_right.gif");
|
|
2191
|
+
return a.language === "en" ? [e, t] : [t, e];
|
|
2192
|
+
});
|
|
2193
|
+
return (e, r) => (p(), s(n, null, [S.value ? (p(), s("div", {
|
|
2194
|
+
key: 0,
|
|
2195
|
+
class: d(`mwnf-baroqueart-window mwnf-baroqueart-window--${S.value}`)
|
|
2196
|
+
}, [_(e.$slots, "default")], 2)) : (p(), s("div", Sa, [
|
|
2197
|
+
c("div", {
|
|
2198
|
+
class: "mwnf-baroqueart__strip",
|
|
2199
|
+
style: f({ backgroundImage: D.value[0] ? `url(${D.value[0]})` : "none" }),
|
|
2200
|
+
"aria-hidden": "true"
|
|
2201
|
+
}, null, 4),
|
|
2202
|
+
c("div", Ca, [
|
|
2203
|
+
c("header", wa, [c("div", Ta, [w((p(), s("a", { href: t.logoHref }, [c("img", {
|
|
2204
|
+
src: C(`legacy/logo_${t.language}.gif`),
|
|
2205
|
+
alt: "",
|
|
2206
|
+
height: "60"
|
|
2207
|
+
}, null, 8, Da)], 8, Ea)), [[b(G), { text: t.logoTip ? b(m)(t.logoTip) : "" }]])]), c("div", Oa, [c("div", ka, [(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", {
|
|
2208
|
+
class: "mwnf-baroqueart-header__link",
|
|
2209
|
+
href: e.href
|
|
2210
|
+
}, [l(y(b(m)(e.label)), 1)], 8, Aa)), [[b(G), { text: e.tip ? b(m)(e.tip) : "" }]])], 64))), 128))]), c("div", null, [c("select", {
|
|
2211
|
+
class: "mwnf-baroqueart-header__select",
|
|
2212
|
+
value: t.language,
|
|
2213
|
+
"aria-label": b(m)("layout.language.label"),
|
|
2214
|
+
onChange: r[0] ||= (e) => u("update:language", e.target.value)
|
|
2215
|
+
}, [(p(!0), s(n, null, g(T.value, (e) => (p(), s("option", {
|
|
2216
|
+
key: e.code,
|
|
2217
|
+
value: e.code
|
|
2218
|
+
}, y(e.label), 9, Ma))), 128))], 40, ja)])])]),
|
|
2219
|
+
c("main", null, [_(e.$slots, "default")]),
|
|
2220
|
+
c("nav", Na, [c("ul", Pa, [(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, Fa)]))), 128))])]),
|
|
2221
|
+
r[2] ||= c("div", { class: "mwnf-baroqueart-menu__line" }, null, -1),
|
|
2222
|
+
c("footer", Ia, [(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, La), r[1] ||= l("\xA0|\xA0 ", -1)], 64))), 128)), l(y(b(m)(t.copyright)) + " " + y(b(E)), 1)])
|
|
2223
|
+
]),
|
|
2224
|
+
c("div", {
|
|
2225
|
+
class: "mwnf-baroqueart__strip",
|
|
2226
|
+
style: f({ backgroundImage: D.value[1] ? `url(${D.value[1]})` : "none" }),
|
|
2227
|
+
"aria-hidden": "true"
|
|
2228
|
+
}, null, 4)
|
|
2229
|
+
])), w(c("div", {
|
|
2230
|
+
class: "mwnf-baroqueart-tip",
|
|
2231
|
+
style: f({
|
|
2232
|
+
left: `${b(H).x + 12}px`,
|
|
2233
|
+
top: `${b(H).y + 16}px`,
|
|
2234
|
+
width: `${b(H).width}px`
|
|
2235
|
+
}),
|
|
2236
|
+
role: "tooltip"
|
|
2237
|
+
}, y(b(H).text), 5), [[x, b(H).visible]])], 64));
|
|
2238
|
+
}
|
|
2239
|
+
}, za = {
|
|
2240
|
+
partners: ["325b7505-1527-5442-99ea-6a40f8c43d3f"],
|
|
2241
|
+
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}`)
|
|
2242
|
+
};
|
|
2243
|
+
function Ba(e) {
|
|
2244
|
+
let t = /* @__PURE__ */ new Map();
|
|
2245
|
+
for (let n of e?.items ?? []) {
|
|
2246
|
+
let e = n.display_order ?? 0;
|
|
2247
|
+
t.has(e) || t.set(e, []), t.get(e).push(n);
|
|
2248
|
+
}
|
|
2249
|
+
let n = (t) => (e?.images ?? []).find((e) => e.display_order === t)?.url ?? null;
|
|
2250
|
+
return [...t.entries()].sort(([e], [t]) => e - t).map(([e, t]) => ({
|
|
2251
|
+
n: e,
|
|
2252
|
+
variants: [...t].sort((e, t) => (e.variant_order ?? 0) - (t.variant_order ?? 0)).flatMap((t) => t.details?.length ? t.details.map((r) => ({
|
|
2253
|
+
entry: t,
|
|
2254
|
+
view: r,
|
|
2255
|
+
image: r.image_url ?? n(e)
|
|
2256
|
+
})) : [{
|
|
2257
|
+
entry: t,
|
|
2258
|
+
image: t.image_url ?? n(e)
|
|
2259
|
+
}])
|
|
2260
|
+
}));
|
|
2261
|
+
}
|
|
2262
|
+
function Va(e, t, n) {
|
|
2263
|
+
return !e || e.type === "object" && n?.partners?.includes(e.partner_id) || e.type === "monument" && n?.monuments?.includes(e.mwnf_reference) ? "" : t(e);
|
|
2264
|
+
}
|
|
2265
|
+
function Ha(e, t, n, r) {
|
|
2266
|
+
return [
|
|
2267
|
+
M(t.location ?? ""),
|
|
2268
|
+
M(t.province ?? ""),
|
|
2269
|
+
Va(e, n, r)
|
|
2270
|
+
].filter(Boolean).join(", ");
|
|
2271
|
+
}
|
|
2272
|
+
function Ua({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i }) {
|
|
2273
|
+
return n.location ? [n.location, e ? r(e) : ""].filter(Boolean).join(", ") : Ha(e, t, r, i);
|
|
2274
|
+
}
|
|
2275
|
+
function Wa({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i }) {
|
|
2276
|
+
let a = e?.type === "object" ? n.museum || M(t.holder ?? "") : "", o = Ua({
|
|
2277
|
+
item: e,
|
|
2278
|
+
own: t,
|
|
2279
|
+
caption: n,
|
|
2280
|
+
countryName: r,
|
|
2281
|
+
noCountry: i
|
|
2282
|
+
}), s = e?.type === "object" ? t.artist : t.architects, c = [].concat(t.materials ?? []).filter(Boolean).join(", ");
|
|
2283
|
+
return {
|
|
2284
|
+
name: X(n.name ? M(n.name) : M(t.name ?? "")),
|
|
2285
|
+
detailName: X(n.detail_name),
|
|
2286
|
+
dateLines: [n.date || M(t.dates ?? ""), n.dynasty || M(t.dynasty ?? "")].filter(Boolean).map(X),
|
|
2287
|
+
details: [a, o].filter(Boolean).map(X),
|
|
2288
|
+
artist: X(n.artist || M(s ?? "")),
|
|
2289
|
+
material: X(n.material || M(c)),
|
|
2290
|
+
justification: X(n.justification)
|
|
2291
|
+
};
|
|
2292
|
+
}
|
|
2293
|
+
function Ga({ caption: e = {}, first: t = {}, record: n = {}, placement: r }) {
|
|
2294
|
+
let i = (n, r = "") => e[n] || t[n] || r || "";
|
|
2295
|
+
return {
|
|
2296
|
+
name: M(i("name", n.name)),
|
|
2297
|
+
detailName: e.detail_name ?? "",
|
|
2298
|
+
dateLines: [
|
|
2299
|
+
i("dynasty"),
|
|
2300
|
+
i("date", n.dates),
|
|
2301
|
+
i("museum"),
|
|
2302
|
+
i("location", n.location)
|
|
2303
|
+
].filter(Boolean),
|
|
2304
|
+
details: r ? [Ua(r)].filter(Boolean).map(X) : [],
|
|
2305
|
+
artist: i("artist", n.artist),
|
|
2306
|
+
material: i("material"),
|
|
2307
|
+
justification: e.justification || t.justification || ""
|
|
2308
|
+
};
|
|
2309
|
+
}
|
|
2310
|
+
function Ka(e, t) {
|
|
2311
|
+
return {
|
|
2312
|
+
name: e.name || t.name,
|
|
2313
|
+
detailName: e.detailName,
|
|
2314
|
+
dateLines: e.dateLines.length ? e.dateLines : t.dateLines,
|
|
2315
|
+
details: e.details.length ? e.details : t.details,
|
|
2316
|
+
artist: e.artist || t.artist || "",
|
|
2317
|
+
material: e.material || t.material || "",
|
|
2318
|
+
justification: e.justification || t.justification
|
|
2319
|
+
};
|
|
2320
|
+
}
|
|
2321
|
+
function qa({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i }) {
|
|
2322
|
+
let a = (e, t) => e ? X(M(e)) : t;
|
|
2323
|
+
return [
|
|
2324
|
+
a(n.name, M(t.name ?? "")),
|
|
2325
|
+
a(n.date, M(t.dates ?? "")),
|
|
2326
|
+
a(n.dynasty, X(M(t.dynasty ?? ""))),
|
|
2327
|
+
e?.type === "object" ? a(n.museum, M(t.holder ?? "")) : "",
|
|
2328
|
+
a(n.location, Ha(e, t, r, i))
|
|
2329
|
+
];
|
|
2330
|
+
}
|
|
2331
|
+
function Ja(e, { partnerName: t, partnerCountry: n, countryName: r }) {
|
|
2332
|
+
let i = (e) => e ? r(e) : "";
|
|
2333
|
+
return e.partner ? e.place ? [
|
|
2334
|
+
t(e.partner),
|
|
2335
|
+
e.place,
|
|
2336
|
+
i(e.country)
|
|
2337
|
+
].filter(Boolean).join(", ") : [t(e.partner), i(n(e.partner))].filter(Boolean).join(", ") : [e.name, i(e.country)].filter(Boolean).join(", ");
|
|
2338
|
+
}
|
|
2339
|
+
//#endregion
|
|
2340
|
+
//#region src/minisite/baroqueart/exhibition.js
|
|
2341
|
+
var Ya = je.BAR, Xa = [
|
|
2342
|
+
"collections",
|
|
2343
|
+
"items",
|
|
2344
|
+
"countries",
|
|
2345
|
+
"partners",
|
|
2346
|
+
"glossary"
|
|
2347
|
+
], Za = {
|
|
2348
|
+
zoom: ["mwnfing", ""],
|
|
2349
|
+
introZoom: ["BAR", "scrollbars=no,resize=no,width=565,height=435"]
|
|
2350
|
+
};
|
|
2351
|
+
function Qa() {
|
|
2352
|
+
let { pkg: t, data: n, tree: r } = Ie(), { locale: a, t: o } = R(), s = z(), c = s.minisite ?? {}, l = c.texts ?? Ya, u = (e) => o(`${l}.${e}`), d = V(), f = i(() => a.value);
|
|
2353
|
+
S(f, (e) => Promise.all(Xa.flatMap((n) => [t.loadTranslations(n, e), t.loadTranslations(n, "en")])), { immediate: !0 });
|
|
2354
|
+
let p = r.root, m = i(() => p.value ? r.children(p.value.id) : []), h = i(() => _e(m.value, r.children));
|
|
2355
|
+
function g(e) {
|
|
2356
|
+
let n = t.translations("collections", f.value)[e] ?? {};
|
|
2357
|
+
return he.test(n.title ?? "") ? {
|
|
2358
|
+
...n,
|
|
2359
|
+
title: ""
|
|
2360
|
+
} : n;
|
|
2361
|
+
}
|
|
2362
|
+
let _ = (e) => e?.country_id ? M(n.tr("countries", e.country_id, f.value).name ?? "") : "";
|
|
2363
|
+
function v(e) {
|
|
2364
|
+
return {
|
|
2365
|
+
item: n.itemById.value.get(e.id),
|
|
2366
|
+
own: n.tr("items", e.id, f.value),
|
|
2367
|
+
caption: e.caption?.[f.value] ?? {},
|
|
2368
|
+
countryName: _,
|
|
2369
|
+
noCountry: c.noCountry
|
|
2370
|
+
};
|
|
2371
|
+
}
|
|
2372
|
+
function y(e, t) {
|
|
2373
|
+
let r = (t) => {
|
|
2374
|
+
if (!t.view) return Wa(v(t.entry));
|
|
2375
|
+
let r = e.variants[0];
|
|
2376
|
+
return Ga({
|
|
2377
|
+
caption: t.view.caption?.[f.value] ?? {},
|
|
2378
|
+
first: r.view ? r.view.caption?.[f.value] ?? {} : {},
|
|
2379
|
+
record: t.view.id ? n.tr("items", t.view.id, f.value) : {},
|
|
2380
|
+
placement: v(t.entry)
|
|
2381
|
+
});
|
|
2382
|
+
}, i = e?.variants[t];
|
|
2383
|
+
return i ? Ka(r(i), r(e.variants[0])) : null;
|
|
2384
|
+
}
|
|
2385
|
+
function b(e) {
|
|
2386
|
+
let r = g(e).glossary_ids ?? [];
|
|
2387
|
+
return r.length === 0 ? [] : D(O({ glossary_ids: r }, f.value, {
|
|
2388
|
+
translations: t.translations,
|
|
2389
|
+
byId: n.index("glossary").value
|
|
2390
|
+
}));
|
|
2391
|
+
}
|
|
2392
|
+
function x(t) {
|
|
2393
|
+
return t ? e(s.chrome, String(t).replace("{lang}", f.value)) : null;
|
|
2394
|
+
}
|
|
2395
|
+
function C(e) {
|
|
2396
|
+
return new URL(d.resolve({
|
|
2397
|
+
...e,
|
|
2398
|
+
query: {
|
|
2399
|
+
...e.query,
|
|
2400
|
+
lang: f.value
|
|
2401
|
+
}
|
|
2402
|
+
}).href, window.location.href).href;
|
|
2403
|
+
}
|
|
2404
|
+
return {
|
|
2405
|
+
t: o,
|
|
2406
|
+
label: u,
|
|
2407
|
+
lang: f,
|
|
2408
|
+
data: n,
|
|
2409
|
+
root: p,
|
|
2410
|
+
themes: m,
|
|
2411
|
+
pages: h,
|
|
2412
|
+
text: g,
|
|
2413
|
+
settings: c,
|
|
2414
|
+
picture: x,
|
|
2415
|
+
href: C,
|
|
2416
|
+
glossaryFor: b,
|
|
2417
|
+
pageAt: (e, t) => ve(h.value, e, t),
|
|
2418
|
+
slots: Ba,
|
|
2419
|
+
placementCaption: (e) => Wa(v(e)),
|
|
2420
|
+
viewCaption: y,
|
|
2421
|
+
introCaption: (e) => qa(v(e)),
|
|
2422
|
+
title: i(() => p.value ? g(p.value.id).title ?? "" : "")
|
|
2423
|
+
};
|
|
2424
|
+
}
|
|
2425
|
+
//#endregion
|
|
2426
|
+
//#region src/minisite/baroqueart/Home.vue
|
|
2427
|
+
var $a = { class: "mwnf-baroqueart-home" }, eo = { class: "mwnf-baroqueart-home__title" }, to = ["innerHTML"], no = { class: "mwnf-baroqueart-home__menu" }, ro = {
|
|
2428
|
+
key: 0,
|
|
2429
|
+
class: "mwnf-baroqueart-home__menu2"
|
|
2430
|
+
}, io = { class: "mwnf-baroqueart-partners" }, ao = { class: "mwnf-baroqueart-partners__curators" }, oo = { class: "mwnf-baroqueart-partners__line" }, so = ["innerHTML"], co = { class: "mwnf-baroqueart-partners__cooperation" }, lo = ["href"], uo = { class: "mwnf-baroqueart-partners__tab" }, fo = ["href"], po = ["src"], mo = {
|
|
2431
|
+
key: 0,
|
|
2432
|
+
class: "mwnf-baroqueart-partners__design"
|
|
2433
|
+
}, ho = { class: "mwnf-baroqueart-partners__design-tab" }, go = { class: "mwnf-baroqueart-partners__design-tab" }, _o = ["href"], vo = ["src"], yo = {
|
|
2434
|
+
__name: "Home",
|
|
2435
|
+
setup(e) {
|
|
2436
|
+
let { label: t, lang: d, data: m, root: h, themes: _, text: x, title: T, settings: E, picture: D, glossaryFor: O } = Qa(), 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) => ({
|
|
2437
|
+
theme: e,
|
|
2438
|
+
number: t + 1
|
|
2439
|
+
}))), M = i(() => _.value.slice(A.value).map((e, t) => ({
|
|
2440
|
+
theme: e,
|
|
2441
|
+
number: A.value + t + 1
|
|
2442
|
+
}))), N = i(() => E.curators ?? []), P = (e) => Ja(e, {
|
|
2443
|
+
partnerName: (e) => m.tr("partners", e, d.value).name,
|
|
2444
|
+
partnerCountry: (e) => m.partnerById.value.get(e)?.country_id,
|
|
2445
|
+
countryName: (e) => m.tr("countries", e, d.value).name
|
|
2446
|
+
}), F = (e) => ke(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"));
|
|
2447
|
+
return S([T, d], () => {
|
|
2448
|
+
document.title = [t("identity.windowTitle"), T.value].filter(Boolean).join(" | ");
|
|
2449
|
+
}, { immediate: !0 }), (e, i) => {
|
|
2450
|
+
let d = v("router-link");
|
|
2451
|
+
return p(), s(n, null, [
|
|
2452
|
+
c("div", $a, [
|
|
2453
|
+
i[3] ||= c("div", { class: "mwnf-baroqueart-home__bg1" }, null, -1),
|
|
2454
|
+
c("div", {
|
|
2455
|
+
class: "mwnf-baroqueart-home__bg2",
|
|
2456
|
+
style: f({ backgroundImage: z.value ? `url(${z.value})` : "none" })
|
|
2457
|
+
}, null, 4),
|
|
2458
|
+
c("div", eo, y(b(T)), 1),
|
|
2459
|
+
c("div", {
|
|
2460
|
+
class: "mwnf-baroqueart-home__description",
|
|
2461
|
+
innerHTML: k.value
|
|
2462
|
+
}, null, 8, to),
|
|
2463
|
+
c("div", no, [c("div", null, [i[0] ||= l("> ", -1), u(d, { to: { name: "introduction" } }, {
|
|
2464
|
+
default: C(() => [l(y(b(t)("home.introduction")), 1)]),
|
|
2465
|
+
_: 1
|
|
2466
|
+
})]), (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: {
|
|
2467
|
+
name: "exhibition",
|
|
2468
|
+
params: { theme: t }
|
|
2469
|
+
} }, {
|
|
2470
|
+
default: C(() => [l(y(b(x)(e.id).title), 1)]),
|
|
2471
|
+
_: 2
|
|
2472
|
+
}, 1032, ["to"])]))), 128))]),
|
|
2473
|
+
M.value.length ? (p(), s("div", ro, [(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: {
|
|
2474
|
+
name: "exhibition",
|
|
2475
|
+
params: { theme: t }
|
|
2476
|
+
} }, {
|
|
2477
|
+
default: C(() => [l(y(b(x)(e.id).title), 1)]),
|
|
2478
|
+
_: 2
|
|
2479
|
+
}, 1032, ["to"])]))), 128))])) : o("", !0)
|
|
2480
|
+
]),
|
|
2481
|
+
c("div", io, [c("div", ao, [
|
|
2482
|
+
c("div", oo, y(b(t)("home.curatedBy")), 1),
|
|
2483
|
+
c("div", {
|
|
2484
|
+
class: "mwnf-baroqueart-partners__tab",
|
|
2485
|
+
innerHTML: b(m).mdInline(I.value)
|
|
2486
|
+
}, null, 8, so),
|
|
2487
|
+
c("div", co, [l(y(b(t)("home.cooperation")) + " ", 1), c("a", { href: b(E).partnerListHref }, y(b(t)("home.partnerInstitutions")), 9, lo)]),
|
|
2488
|
+
c("div", uo, [(p(!0), s(n, null, g(N.value, (e, t) => (p(), s(n, { key: e.logo }, [
|
|
2489
|
+
l(y(P(e)), 1),
|
|
2490
|
+
i[4] ||= c("br", null, null, -1),
|
|
2491
|
+
w((p(), s("a", {
|
|
2492
|
+
class: "mwnf-baroqueart-partners__curator",
|
|
2493
|
+
href: F(e)
|
|
2494
|
+
}, [c("img", {
|
|
2495
|
+
src: b(D)(e.logo),
|
|
2496
|
+
alt: ""
|
|
2497
|
+
}, null, 8, po)], 8, fo)), [[b(G), {
|
|
2498
|
+
text: P(e),
|
|
2499
|
+
width: 220
|
|
2500
|
+
}]]),
|
|
2501
|
+
t < N.value.length - 1 ? (p(), s("span", {
|
|
2502
|
+
key: 0,
|
|
2503
|
+
class: "mwnf-baroqueart-partners__gap",
|
|
2504
|
+
style: f({ width: `${e.space ?? 0}px` })
|
|
2505
|
+
}, null, 4)) : o("", !0)
|
|
2506
|
+
], 64))), 128))])
|
|
2507
|
+
]), L.value ? (p(), s("div", mo, [
|
|
2508
|
+
l(y(b(t)("home.design")) + " ", 1),
|
|
2509
|
+
c("div", ho, y(L.value.name), 1),
|
|
2510
|
+
c("div", go, [c("a", {
|
|
2511
|
+
href: L.value.href,
|
|
2512
|
+
target: "_blank",
|
|
2513
|
+
rel: "noopener"
|
|
2514
|
+
}, [c("img", {
|
|
2515
|
+
src: b(D)(L.value.logo),
|
|
2516
|
+
alt: ""
|
|
2517
|
+
}, null, 8, vo)], 8, _o)])
|
|
2518
|
+
])) : o("", !0)]),
|
|
2519
|
+
R.value ? (p(), a(r, {
|
|
2520
|
+
key: 0,
|
|
2521
|
+
defer: "",
|
|
2522
|
+
to: ".mwnf-baroqueart-footer"
|
|
2523
|
+
}, [c("div", {
|
|
2524
|
+
class: "mwnf-baroqueart-home__banner",
|
|
2525
|
+
style: f({ backgroundImage: `url(${R.value})` }),
|
|
2526
|
+
"aria-hidden": "true"
|
|
2527
|
+
}, null, 4)])) : o("", !0)
|
|
2528
|
+
], 64);
|
|
2529
|
+
};
|
|
2530
|
+
}
|
|
2531
|
+
}, bo = { class: "mwnf-baroqueart-download" }, xo = ["src"], So = ["src"], Co = ["src"], wo = {
|
|
2532
|
+
__name: "Download",
|
|
2533
|
+
props: { word: {
|
|
2534
|
+
type: Function,
|
|
2535
|
+
required: !0
|
|
2536
|
+
} },
|
|
2537
|
+
setup(t) {
|
|
2538
|
+
let { t: n } = R(), r = z(), i = (t) => e(r.chrome, t), a = (e) => n(`${r.minisite?.texts ?? Ya}.${e}`);
|
|
2539
|
+
function o() {
|
|
2540
|
+
window.print();
|
|
2541
|
+
}
|
|
2542
|
+
return (e, n) => (p(), s("div", bo, [
|
|
2543
|
+
n[1] ||= c("br", null, null, -1),
|
|
2544
|
+
c("img", {
|
|
2545
|
+
src: i("legacy/print_dark.gif"),
|
|
2546
|
+
alt: "",
|
|
2547
|
+
width: "17",
|
|
2548
|
+
height: "12"
|
|
2549
|
+
}, null, 8, xo),
|
|
2550
|
+
l(" / " + y(a("download.heading")), 1),
|
|
2551
|
+
n[2] ||= c("br", null, null, -1),
|
|
2552
|
+
c("img", {
|
|
2553
|
+
src: i("legacy/arrow_inner_black.gif"),
|
|
2554
|
+
alt: ""
|
|
2555
|
+
}, null, 8, So),
|
|
2556
|
+
c("a", {
|
|
2557
|
+
href: "#",
|
|
2558
|
+
onClick: T(o, ["prevent"])
|
|
2559
|
+
}, y(a("download.asPdf")), 1),
|
|
2560
|
+
n[3] ||= c("br", null, null, -1),
|
|
2561
|
+
c("img", {
|
|
2562
|
+
src: i("legacy/arrow_inner_black.gif"),
|
|
2563
|
+
alt: ""
|
|
2564
|
+
}, null, 8, Co),
|
|
2565
|
+
c("a", {
|
|
2566
|
+
href: "#",
|
|
2567
|
+
onClick: n[0] ||= T((e) => t.word(), ["prevent"])
|
|
2568
|
+
}, y(a("download.asWord")), 1)
|
|
2569
|
+
]));
|
|
2570
|
+
}
|
|
2571
|
+
}, To = { class: "mwnf-baroqueart-intro__title" }, Eo = { class: "mwnf-baroqueart-intro__nav mwnf-baroqueart-intro__nav--start" }, Do = { class: "mwnf-baroqueart-intro__nav mwnf-baroqueart-intro__nav--end" }, Oo = { class: "mwnf-baroqueart-intro__table" }, ko = ["innerHTML"], Ao = ["innerHTML"], jo = { class: "mwnf-baroqueart-intro__side" }, Mo = ["href", "onClick"], No = ["src"], Po = { key: 0 }, Fo = ["innerHTML"], Io = ["innerHTML"], Lo = {
|
|
2572
|
+
__name: "Introduction",
|
|
2573
|
+
setup(e) {
|
|
2574
|
+
let { label: r, lang: d, data: m, root: h, text: _, title: x, settings: w, picture: E, href: D, introCaption: O, slots: k, glossaryFor: A } = Qa(), 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 }) => ({
|
|
2575
|
+
entry: e,
|
|
2576
|
+
image: t,
|
|
2577
|
+
lines: O(e)
|
|
2578
|
+
})));
|
|
2579
|
+
function I(e) {
|
|
2580
|
+
Z(D({
|
|
2581
|
+
name: "zoom",
|
|
2582
|
+
query: { img: e }
|
|
2583
|
+
}), Za.introZoom);
|
|
2584
|
+
}
|
|
2585
|
+
let R = L(M);
|
|
2586
|
+
function z() {
|
|
2587
|
+
et({
|
|
2588
|
+
documentTitle: w.documentTitle,
|
|
2589
|
+
title: x.value,
|
|
2590
|
+
header: j.value.extra?.intro_header ?? "",
|
|
2591
|
+
text: j.value.extra?.intro_text ?? "",
|
|
2592
|
+
captions: F.value.map((e) => e.lines)
|
|
2593
|
+
});
|
|
2594
|
+
}
|
|
2595
|
+
let B = i(() => E(d.value === "ar" ? "legacy/intro_bg_ar.jpg" : "legacy/intro_bg.jpg"));
|
|
2596
|
+
return S([x, d], () => {
|
|
2597
|
+
document.title = [r("identity.windowTitle"), x.value].filter(Boolean).join(" | ");
|
|
2598
|
+
}, { immediate: !0 }), (e, i) => {
|
|
2599
|
+
let d = v("router-link");
|
|
2600
|
+
return p(), s("div", {
|
|
2601
|
+
class: "mwnf-baroqueart-intro",
|
|
2602
|
+
style: f({ backgroundImage: B.value ? `url(${B.value})` : "none" })
|
|
2603
|
+
}, [
|
|
2604
|
+
c("div", To, y(b(x)), 1),
|
|
2605
|
+
c("div", Eo, [i[1] ||= l(" < ", -1), u(d, { to: { name: "home" } }, {
|
|
2606
|
+
default: C(() => [l(y(b(r)("nav.entrance")), 1)]),
|
|
2607
|
+
_: 1
|
|
2608
|
+
})]),
|
|
2609
|
+
c("div", Do, [
|
|
2610
|
+
i[2] ||= l(" < ", -1),
|
|
2611
|
+
u(d, { to: { name: "home" } }, {
|
|
2612
|
+
default: C(() => [l(y(b(r)("nav.previous")), 1)]),
|
|
2613
|
+
_: 1
|
|
2614
|
+
}),
|
|
2615
|
+
i[3] ||= l(" | ", -1),
|
|
2616
|
+
u(d, { to: {
|
|
2617
|
+
name: "exhibition",
|
|
2618
|
+
params: {
|
|
2619
|
+
theme: 1,
|
|
2620
|
+
page: 1
|
|
2621
|
+
}
|
|
2622
|
+
} }, {
|
|
2623
|
+
default: C(() => [l(y(b(r)("nav.next")), 1)]),
|
|
2624
|
+
_: 1
|
|
2625
|
+
}),
|
|
2626
|
+
i[4] ||= l(" > ", -1)
|
|
2627
|
+
]),
|
|
2628
|
+
c("div", Oo, [c("div", {
|
|
2629
|
+
class: "mwnf-baroqueart-intro__text",
|
|
2630
|
+
onClick: i[0] ||= (...e) => b(R).onClick && b(R).onClick(...e)
|
|
2631
|
+
}, [
|
|
2632
|
+
c("div", {
|
|
2633
|
+
class: "mwnf-baroqueart-intro__header",
|
|
2634
|
+
innerHTML: P.value
|
|
2635
|
+
}, null, 8, ko),
|
|
2636
|
+
c("div", {
|
|
2637
|
+
class: "mwnf-baroqueart-intro__content",
|
|
2638
|
+
innerHTML: N.value
|
|
2639
|
+
}, null, 8, Ao),
|
|
2640
|
+
u(wo, { word: z })
|
|
2641
|
+
]), c("div", jo, [(p(!0), s(n, null, g(F.value, (e) => (p(), s("div", {
|
|
2642
|
+
key: `${e.entry.id}-${e.entry.variant_order}`,
|
|
2643
|
+
class: "mwnf-baroqueart-intro-item"
|
|
2644
|
+
}, [e.image ? (p(), s(n, { key: 0 }, [c("a", {
|
|
2645
|
+
href: b(D)({
|
|
2646
|
+
name: "zoom",
|
|
2647
|
+
query: { img: e.image }
|
|
2648
|
+
}),
|
|
2649
|
+
onClick: T((t) => I(e.image), ["prevent"])
|
|
2650
|
+
}, [c("img", {
|
|
2651
|
+
class: "mwnf-baroqueart-intro-item__image",
|
|
2652
|
+
src: e.image,
|
|
2653
|
+
alt: ""
|
|
2654
|
+
}, null, 8, No)], 8, Mo), 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", Po)) : o("", !0), r === 0 && e.lines[0] ? (p(), s("strong", {
|
|
2655
|
+
key: 1,
|
|
2656
|
+
innerHTML: b(m).mdInline(t)
|
|
2657
|
+
}, null, 8, Fo)) : (p(), s("span", {
|
|
2658
|
+
key: 2,
|
|
2659
|
+
innerHTML: b(m).mdInline(t)
|
|
2660
|
+
}, null, 8, Io))], 64))), 128))]))), 128))])]),
|
|
2661
|
+
b(R).active.value ? (p(), a(t, {
|
|
2662
|
+
key: 0,
|
|
2663
|
+
term: b(R).active.value,
|
|
2664
|
+
html: b(m).md(b(R).active.value.definition),
|
|
2665
|
+
onClose: b(R).close
|
|
2666
|
+
}, null, 8, [
|
|
2667
|
+
"term",
|
|
2668
|
+
"html",
|
|
2669
|
+
"onClose"
|
|
2670
|
+
])) : o("", !0)
|
|
2671
|
+
], 4);
|
|
2672
|
+
};
|
|
2673
|
+
}
|
|
2674
|
+
}, Ro = { class: "mwnf-baroqueart-page__head" }, zo = { class: "mwnf-baroqueart-page__title" }, Bo = { class: "mwnf-baroqueart-page__nav mwnf-baroqueart-page__nav--start" }, Vo = { class: "mwnf-baroqueart-page__nav mwnf-baroqueart-page__nav--end" }, Ho = { class: "mwnf-baroqueart-page__body" }, Uo = ["innerHTML"], Wo = { class: "mwnf-baroqueart-page__thumbs" }, Go = ["onClick"], Ko = ["src"], qo = ["innerHTML"], Jo = ["innerHTML"], Yo = { class: "mwnf-baroqueart-page__item" }, Xo = { class: "mwnf-baroqueart-page__image" }, Zo = ["src"], Qo = {
|
|
2675
|
+
key: 0,
|
|
2676
|
+
class: "mwnf-baroqueart-page__caption"
|
|
2677
|
+
}, $o = ["innerHTML"], es = ["innerHTML"], ts = { key: 0 }, ns = ["innerHTML"], rs = ["innerHTML"], is = ["innerHTML"], as = ["innerHTML"], os = { key: 0 }, ss = ["onClick"], cs = ["src"], ls = ["innerHTML"], us = { key: 1 }, ds = ["href"], fs = {
|
|
2678
|
+
__name: "Page",
|
|
2679
|
+
props: {
|
|
2680
|
+
theme: {
|
|
2681
|
+
type: Number,
|
|
2682
|
+
required: !0
|
|
2683
|
+
},
|
|
2684
|
+
page: {
|
|
2685
|
+
type: Number,
|
|
2686
|
+
required: !0
|
|
2687
|
+
}
|
|
2688
|
+
},
|
|
2689
|
+
setup(e) {
|
|
2690
|
+
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 } = Qa(), I = i(() => j(r.theme, r.page)), R = i(() => I.value ? D(I.value.node.id) : {}), z = i(() => I.value ? F(I.value.node.id) : []), B = i(() => I.value ? M(I.value.node) : []), V = i(() => R.value.quote ?? ""), H = h({
|
|
2691
|
+
slot: 0,
|
|
2692
|
+
variant: 0
|
|
2693
|
+
});
|
|
2694
|
+
S(() => [r.theme, r.page], () => H.value = {
|
|
2695
|
+
slot: 0,
|
|
2696
|
+
variant: 0
|
|
2697
|
+
});
|
|
2698
|
+
let U = i(() => B.value[H.value.slot] ?? null), W = i(() => U.value?.variants[H.value.variant] ?? null), K = i(() => Ee(U.value, H.value.variant)), q = i(() => !U.value || !W.value ? null : {
|
|
2699
|
+
...P(U.value, H.value.variant),
|
|
2700
|
+
sheetId: Te(U.value, H.value.variant, (e) => x.itemById.value.get(e))
|
|
2701
|
+
});
|
|
2702
|
+
function J(e) {
|
|
2703
|
+
H.value = {
|
|
2704
|
+
slot: e,
|
|
2705
|
+
variant: 0
|
|
2706
|
+
};
|
|
2707
|
+
}
|
|
2708
|
+
function ee(e) {
|
|
2709
|
+
H.value = {
|
|
2710
|
+
...H.value,
|
|
2711
|
+
variant: e
|
|
2712
|
+
};
|
|
2713
|
+
}
|
|
2714
|
+
function te() {
|
|
2715
|
+
K.value && Z(A({
|
|
2716
|
+
name: "zoom",
|
|
2717
|
+
query: { img: K.value }
|
|
2718
|
+
}), Za.zoom);
|
|
2719
|
+
}
|
|
2720
|
+
let Y = L(z);
|
|
2721
|
+
function ne() {
|
|
2722
|
+
rt({
|
|
2723
|
+
documentTitle: O.documentTitle,
|
|
2724
|
+
title: E.value,
|
|
2725
|
+
pageTitle: R.value.title ?? "",
|
|
2726
|
+
quote: V.value,
|
|
2727
|
+
text: R.value.description ?? "",
|
|
2728
|
+
slots: B.value.map((e) => e.variants.map((t, n) => t.view ? P(e, n) : N(t.entry)))
|
|
2729
|
+
});
|
|
2730
|
+
}
|
|
2731
|
+
S(() => [
|
|
2732
|
+
R.value.title,
|
|
2733
|
+
E.value,
|
|
2734
|
+
_.value
|
|
2735
|
+
], () => {
|
|
2736
|
+
document.title = [
|
|
2737
|
+
m("identity.windowTitle"),
|
|
2738
|
+
E.value,
|
|
2739
|
+
R.value.title,
|
|
2740
|
+
r.page
|
|
2741
|
+
].filter(Boolean).join(" | ");
|
|
2742
|
+
}, { immediate: !0 });
|
|
2743
|
+
let re = i(() => k(_.value === "ar" ? "legacy/exhibition_bg_ar.jpg" : "legacy/exhibition_bg.jpg"));
|
|
2744
|
+
return (e, r) => {
|
|
2745
|
+
let i = v("router-link");
|
|
2746
|
+
return I.value ? (p(), s("div", {
|
|
2747
|
+
key: 0,
|
|
2748
|
+
class: "mwnf-baroqueart-page",
|
|
2749
|
+
style: f({ backgroundImage: re.value ? `url(${re.value})` : "none" })
|
|
2750
|
+
}, [
|
|
2751
|
+
c("div", Ro, [
|
|
2752
|
+
c("div", zo, y(b(E)), 1),
|
|
2753
|
+
c("div", Bo, [r[1] ||= l(" < ", -1), u(i, { to: { name: "home" } }, {
|
|
2754
|
+
default: C(() => [l(y(b(m)("nav.entrance")), 1)]),
|
|
2755
|
+
_: 1
|
|
2756
|
+
})]),
|
|
2757
|
+
c("div", Vo, [
|
|
2758
|
+
r[4] ||= l(" < ", -1),
|
|
2759
|
+
u(i, { to: I.value.previous }, {
|
|
2760
|
+
default: C(() => [l(y(b(m)("nav.previous")), 1)]),
|
|
2761
|
+
_: 1
|
|
2762
|
+
}, 8, ["to"]),
|
|
2763
|
+
I.value.next ? (p(), s(n, { key: 0 }, [
|
|
2764
|
+
r[2] ||= l(" | ", -1),
|
|
2765
|
+
u(i, { to: I.value.next }, {
|
|
2766
|
+
default: C(() => [l(y(b(m)("nav.next")), 1)]),
|
|
2767
|
+
_: 1
|
|
2768
|
+
}, 8, ["to"]),
|
|
2769
|
+
r[3] ||= l(" > ", -1)
|
|
2770
|
+
], 64)) : o("", !0)
|
|
2771
|
+
])
|
|
2772
|
+
]),
|
|
2773
|
+
c("div", Ho, [c("div", {
|
|
2774
|
+
class: "mwnf-baroqueart-page__text",
|
|
2775
|
+
onClick: r[0] ||= (...e) => b(Y).onClick && b(Y).onClick(...e)
|
|
2776
|
+
}, [
|
|
2777
|
+
c("div", {
|
|
2778
|
+
class: "mwnf-baroqueart-page__page-title",
|
|
2779
|
+
innerHTML: b(x).mdInline(R.value.title)
|
|
2780
|
+
}, null, 8, Uo),
|
|
2781
|
+
c("div", Wo, [(p(!0), s(n, null, g(B.value, (e, t) => w((p(), s("a", {
|
|
2782
|
+
key: e.n,
|
|
2783
|
+
href: "#",
|
|
2784
|
+
onClick: T((e) => J(t), ["prevent"])
|
|
2785
|
+
}, [e.variants[0].image ? (p(), s("img", {
|
|
2786
|
+
key: 0,
|
|
2787
|
+
src: e.variants[0].image,
|
|
2788
|
+
alt: "",
|
|
2789
|
+
height: "36"
|
|
2790
|
+
}, null, 8, Ko)) : o("", !0)], 8, Go)), [[b(G), {
|
|
2791
|
+
text: b(x).mdStrip(b(P)(e, 0).name),
|
|
2792
|
+
width: 160
|
|
2793
|
+
}]])), 128))]),
|
|
2794
|
+
c("div", {
|
|
2795
|
+
class: d(["mwnf-baroqueart-page__quote", { "mwnf-baroqueart-page__quote--own-italics": b(Ae)(V.value) }]),
|
|
2796
|
+
innerHTML: b(x).mdInline(V.value, { glossary: z.value })
|
|
2797
|
+
}, null, 10, qo),
|
|
2798
|
+
c("div", {
|
|
2799
|
+
class: "mwnf-baroqueart-page__content",
|
|
2800
|
+
innerHTML: b(x).md(R.value.description, { glossary: z.value })
|
|
2801
|
+
}, null, 8, Jo),
|
|
2802
|
+
u(wo, { word: ne })
|
|
2803
|
+
]), c("div", Yo, [c("div", Xo, [K.value ? w((p(), s("a", {
|
|
2804
|
+
key: 0,
|
|
2805
|
+
href: "#",
|
|
2806
|
+
onClick: T(te, ["prevent"])
|
|
2807
|
+
}, [c("img", {
|
|
2808
|
+
src: K.value,
|
|
2809
|
+
alt: ""
|
|
2810
|
+
}, null, 8, Zo)])), [[b(G), { text: b(m)("item.showZoom") }]]) : o("", !0)]), q.value ? (p(), s("div", Qo, [
|
|
2811
|
+
c("div", null, [
|
|
2812
|
+
c("strong", { innerHTML: b(x).mdInline(q.value.name) }, null, 8, $o),
|
|
2813
|
+
r[5] ||= c("br", null, null, -1),
|
|
2814
|
+
c("span", { innerHTML: b(x).mdInline(q.value.detailName) }, null, 8, es),
|
|
2815
|
+
r[6] ||= c("br", null, null, -1),
|
|
2816
|
+
(p(!0), s(n, null, g(q.value.dateLines, (e, t) => (p(), s(n, { key: t }, [t > 0 ? (p(), s("br", ts)) : o("", !0), c("span", { innerHTML: b(x).mdInline(e) }, null, 8, ns)], 64))), 128))
|
|
2817
|
+
]),
|
|
2818
|
+
c("div", null, [(p(!0), s(n, null, g(q.value.details, (e, t) => (p(), s(n, { key: t }, [c("span", { innerHTML: b(x).mdInline(e) }, null, 8, rs), r[7] ||= c("br", null, null, -1)], 64))), 128))]),
|
|
2819
|
+
c("div", { innerHTML: b(x).mdInline(q.value.artist) }, null, 8, is),
|
|
2820
|
+
c("div", { innerHTML: b(x).mdInline(q.value.material) }, null, 8, as),
|
|
2821
|
+
U.value.variants.length > 1 ? (p(), s("div", os, [(p(!0), s(n, null, g(U.value.variants, (e, t) => w((p(), s("a", {
|
|
2822
|
+
key: t,
|
|
2823
|
+
href: "#",
|
|
2824
|
+
onClick: T((e) => ee(t), ["prevent"])
|
|
2825
|
+
}, [c("img", {
|
|
2826
|
+
src: b(k)(t === H.value.variant ? "legacy/ico_item_selected.gif" : "legacy/ico_item.gif"),
|
|
2827
|
+
alt: ""
|
|
2828
|
+
}, null, 8, cs)], 8, ss)), [[b(G), { text: b(m)("item.showDetail") }]])), 128))])) : o("", !0),
|
|
2829
|
+
c("div", {
|
|
2830
|
+
class: "mwnf-baroqueart-page__justification",
|
|
2831
|
+
innerHTML: b(x).mdInline(q.value.justification)
|
|
2832
|
+
}, null, 8, ls),
|
|
2833
|
+
q.value.sheetId ? (p(), s("div", us, [c("a", {
|
|
2834
|
+
class: "mwnf-baroqueart-page__more",
|
|
2835
|
+
href: b(O).itemHref?.(q.value.sheetId),
|
|
2836
|
+
target: "_blank"
|
|
2837
|
+
}, "> " + y(b(m)("item.moreInfo")), 9, ds)])) : o("", !0)
|
|
2838
|
+
])) : o("", !0)])]),
|
|
2839
|
+
b(Y).active.value ? (p(), a(t, {
|
|
2840
|
+
key: 0,
|
|
2841
|
+
term: b(Y).active.value,
|
|
2842
|
+
html: b(x).md(b(Y).active.value.definition),
|
|
2843
|
+
onClose: b(Y).close
|
|
2844
|
+
}, null, 8, [
|
|
2845
|
+
"term",
|
|
2846
|
+
"html",
|
|
2847
|
+
"onClose"
|
|
2848
|
+
])) : o("", !0)
|
|
2849
|
+
], 4)) : o("", !0);
|
|
2850
|
+
};
|
|
2851
|
+
}
|
|
2852
|
+
}, ps = { class: "mwnf-baroqueart-zoom" }, ms = ["src"], hs = {
|
|
2853
|
+
__name: "Zoom",
|
|
2854
|
+
props: { image: {
|
|
2855
|
+
type: String,
|
|
2856
|
+
default: ""
|
|
2857
|
+
} },
|
|
2858
|
+
setup(e) {
|
|
2859
|
+
let t = e, { pages: n, root: r, slots: a } = Qa(), 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 : "");
|
|
2860
|
+
return (e, t) => (p(), s("div", ps, [c.value ? (p(), s("img", {
|
|
2861
|
+
key: 0,
|
|
2862
|
+
src: c.value,
|
|
2863
|
+
alt: ""
|
|
2864
|
+
}, null, 8, ms)) : o("", !0)]));
|
|
2865
|
+
}
|
|
2866
|
+
};
|
|
2867
|
+
//#endregion
|
|
2868
|
+
//#region src/minisite/baroqueart/routes.js
|
|
2869
|
+
function gs(e) {
|
|
2870
|
+
return [
|
|
2871
|
+
{
|
|
2872
|
+
path: "/",
|
|
2873
|
+
name: "home",
|
|
2874
|
+
component: yo,
|
|
2875
|
+
meta: e("home", "collections", "partners", "countries")
|
|
2876
|
+
},
|
|
2877
|
+
{
|
|
2878
|
+
path: "/introduction",
|
|
2879
|
+
name: "introduction",
|
|
2880
|
+
component: Lo,
|
|
2881
|
+
meta: e("introduction", ...Le)
|
|
2882
|
+
},
|
|
2883
|
+
{
|
|
2884
|
+
path: "/exhibition/:theme(\\d+)/:page(\\d+)?",
|
|
2885
|
+
name: "exhibition",
|
|
2886
|
+
component: fs,
|
|
2887
|
+
props: (e) => ({
|
|
2888
|
+
theme: Number(e.params.theme),
|
|
2889
|
+
page: Number(e.params.page || 1)
|
|
2890
|
+
}),
|
|
2891
|
+
meta: e("exhibition", ...Le)
|
|
2892
|
+
},
|
|
2893
|
+
{
|
|
2894
|
+
path: "/zoom",
|
|
2895
|
+
name: "zoom",
|
|
2896
|
+
component: hs,
|
|
2897
|
+
props: (e) => ({ image: String(e.query.img ?? "") }),
|
|
2898
|
+
meta: {
|
|
2899
|
+
...e("zoom", "collections"),
|
|
2900
|
+
bare: "zoom"
|
|
2901
|
+
}
|
|
2902
|
+
}
|
|
2903
|
+
];
|
|
2904
|
+
}
|
|
2905
|
+
function _s(e, t = Ya) {
|
|
2906
|
+
return [
|
|
2907
|
+
{
|
|
2908
|
+
label: `${t}.menu.permanentCollection`,
|
|
2909
|
+
href: `${e}/#/permanent-collection`
|
|
2910
|
+
},
|
|
2911
|
+
{
|
|
2912
|
+
label: `${t}.menu.database`,
|
|
2913
|
+
href: `${e}/#/database`
|
|
2914
|
+
},
|
|
2915
|
+
{
|
|
2916
|
+
label: `${t}.menu.exhibitions`,
|
|
2917
|
+
href: "#/"
|
|
2918
|
+
},
|
|
2919
|
+
{
|
|
2920
|
+
label: `${t}.menu.timeline`,
|
|
2921
|
+
href: `${e}/#/timeline`
|
|
2922
|
+
},
|
|
2923
|
+
{
|
|
2924
|
+
label: `${t}.menu.partners`,
|
|
2925
|
+
href: `${e}/#/partners`
|
|
2926
|
+
},
|
|
2927
|
+
{
|
|
2928
|
+
label: `${t}.menu.myCollection`,
|
|
2929
|
+
href: j.myCollection
|
|
2930
|
+
}
|
|
2931
|
+
];
|
|
2932
|
+
}
|
|
2933
|
+
var vs = "https://www.museumwnf.org/about/language-policy";
|
|
2934
|
+
function ys({ languages: e, parent: t, texts: n = Ya, menu: r }) {
|
|
2935
|
+
let i = [
|
|
2936
|
+
["aboutMwnf", j.about],
|
|
2937
|
+
["contact", j.contact],
|
|
2938
|
+
["legalNotice", j.legalNotice],
|
|
2939
|
+
["credits", j.credits],
|
|
2940
|
+
["languagePolicy", vs],
|
|
2941
|
+
["cookies", j.cookies]
|
|
2942
|
+
];
|
|
2943
|
+
return {
|
|
2944
|
+
languages: e,
|
|
2945
|
+
logoHref: j.portal,
|
|
2946
|
+
logoTip: `${n}.header.logoTip`,
|
|
2947
|
+
headerLinks: [{
|
|
2948
|
+
label: `${n}.header.exhibitionsList`,
|
|
2949
|
+
href: `${t}/#/exhibitions`
|
|
2950
|
+
}, {
|
|
2951
|
+
label: `${n}.header.home`,
|
|
2952
|
+
href: `${t}/#/`,
|
|
2953
|
+
tip: `${n}.header.homeTip`
|
|
2954
|
+
}],
|
|
2955
|
+
menu: r ?? _s(t, n),
|
|
2956
|
+
footerLinks: i.map(([e, t]) => ({
|
|
2957
|
+
label: `${n}.footer.${e}`,
|
|
2958
|
+
href: t
|
|
2959
|
+
})),
|
|
2960
|
+
copyright: `${n}.footer.copyright`
|
|
2961
|
+
};
|
|
2962
|
+
}
|
|
2963
|
+
function bs({ parent: e, ...t }) {
|
|
2964
|
+
return {
|
|
2965
|
+
parent: e,
|
|
2966
|
+
itemHref: (t) => `${e}/#/item/${encodeURIComponent(t)}`,
|
|
2967
|
+
partnerHref: (t) => `${e}/#/partner/${encodeURIComponent(t)}`,
|
|
2968
|
+
partnerListHref: `${e}/#/partners`,
|
|
2969
|
+
texts: Ya,
|
|
2970
|
+
family: "BAR",
|
|
2971
|
+
...t
|
|
2972
|
+
};
|
|
2973
|
+
}
|
|
2974
|
+
//#endregion
|
|
2975
|
+
//#region src/minisite/artintro/Home.vue
|
|
2976
|
+
var xs = ["innerHTML"], Ss = ["innerHTML"], Cs = ["innerHTML"], ws = ["innerHTML"], Ts = { class: "mwnf-artintro-home__menu" }, Es = {
|
|
2977
|
+
key: 0,
|
|
2978
|
+
class: "mwnf-artintro-home__menu2"
|
|
2979
|
+
}, Ds = {
|
|
2980
|
+
key: 1,
|
|
2981
|
+
class: "mwnf-artintro-home__icons"
|
|
2982
|
+
}, Os = { class: "mwnf-artintro-home__social" }, ks = ["href"], As = {
|
|
2983
|
+
__name: "Home",
|
|
2984
|
+
setup(e) {
|
|
2985
|
+
let { label: t, lang: r, data: a, root: d, themes: m, text: h, title: _, settings: x, picture: w, glossaryFor: T } = Re(), 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) => ({
|
|
2986
|
+
theme: e,
|
|
2987
|
+
number: t + 1
|
|
2988
|
+
}))), A = i(() => m.value.slice(O.value).map((e, t) => ({
|
|
2989
|
+
theme: e,
|
|
2990
|
+
number: O.value + t + 1
|
|
2991
|
+
}))), j = i(() => x.social ?? []), M = i(() => w(r.value === "ar" ? "legacy/home_bg_ar.jpg" : "legacy/home_bg.jpg"));
|
|
2992
|
+
return S([_, r], () => {
|
|
2993
|
+
document.title = [t("identity.windowTitle"), _.value].filter(Boolean).join(" | ");
|
|
2994
|
+
}, { immediate: !0 }), (e, t) => {
|
|
2995
|
+
let r = v("router-link");
|
|
2996
|
+
return p(), s("div", {
|
|
2997
|
+
class: "mwnf-artintro-home",
|
|
2998
|
+
style: f({ backgroundImage: M.value ? `url(${M.value})` : "none" })
|
|
2999
|
+
}, [
|
|
3000
|
+
c("div", {
|
|
3001
|
+
class: "mwnf-artintro-home__title",
|
|
3002
|
+
innerHTML: b(a).mdInline(b(_))
|
|
3003
|
+
}, null, 8, xs),
|
|
3004
|
+
c("div", {
|
|
3005
|
+
class: "mwnf-artintro-home__subtitle",
|
|
3006
|
+
innerHTML: b(a).mdInline(E.value.extra?.subtitle ?? "")
|
|
3007
|
+
}, null, 8, Ss),
|
|
3008
|
+
c("div", {
|
|
3009
|
+
class: "mwnf-artintro-home__description",
|
|
3010
|
+
innerHTML: D.value
|
|
3011
|
+
}, null, 8, Cs),
|
|
3012
|
+
c("div", {
|
|
3013
|
+
class: "mwnf-artintro-home__credits",
|
|
3014
|
+
innerHTML: b(a).mdInline(E.value.extra?.credits ?? "")
|
|
3015
|
+
}, null, 8, ws),
|
|
3016
|
+
c("div", Ts, [(p(!0), s(n, null, g(k.value, ({ theme: e, number: t }) => (p(), s("div", { key: e.id }, [u(r, { to: {
|
|
3017
|
+
name: "page",
|
|
3018
|
+
params: { theme: t }
|
|
3019
|
+
} }, {
|
|
3020
|
+
default: C(() => [l(y(b(h)(e.id).title), 1)]),
|
|
3021
|
+
_: 2
|
|
3022
|
+
}, 1032, ["to"])]))), 128))]),
|
|
3023
|
+
A.value.length ? (p(), s("div", Es, [(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: {
|
|
3024
|
+
name: "page",
|
|
3025
|
+
params: { theme: n }
|
|
3026
|
+
} }, {
|
|
3027
|
+
default: C(() => [l(y(b(h)(e.id).title), 1)]),
|
|
3028
|
+
_: 2
|
|
3029
|
+
}, 1032, ["to"])]))), 128))])) : o("", !0),
|
|
3030
|
+
j.value.length ? (p(), s("div", Ds, [c("div", Os, [(p(!0), s(n, null, g(j.value, (e) => (p(), s("a", {
|
|
3031
|
+
key: e.href,
|
|
3032
|
+
href: e.href,
|
|
3033
|
+
target: "_blank",
|
|
3034
|
+
rel: "noopener"
|
|
3035
|
+
}, [c("span", {
|
|
3036
|
+
class: "mwnf-artintro-home__icon",
|
|
3037
|
+
style: f({
|
|
3038
|
+
maskImage: `url("${b(w)(e.icon)}")`,
|
|
3039
|
+
width: `${e.aspect ?? 1}em`
|
|
3040
|
+
}),
|
|
3041
|
+
"aria-hidden": "true"
|
|
3042
|
+
}, null, 4)], 8, ks))), 128))]), t[1] ||= c("br", null, null, -1)])) : o("", !0)
|
|
3043
|
+
], 4);
|
|
3044
|
+
};
|
|
3045
|
+
}
|
|
3046
|
+
}, js = {
|
|
3047
|
+
key: 0,
|
|
3048
|
+
class: "mwnf-artintro-page"
|
|
3049
|
+
}, Ms = { class: "mwnf-artintro-page__back" }, Ns = ["innerHTML"], Ps = ["innerHTML"], Fs = { class: "mwnf-artintro-page__body" }, Is = ["innerHTML"], Ls = { class: "mwnf-artintro-page__pages" }, Rs = ["innerHTML"], zs = ["innerHTML"], Bs = ["innerHTML"], Vs = { class: "mwnf-artintro-page__item" }, Hs = { class: "mwnf-artintro-page__image" }, Us = ["src"], Ws = {
|
|
3050
|
+
key: 0,
|
|
3051
|
+
class: "mwnf-artintro-page__caption"
|
|
3052
|
+
}, Gs = ["innerHTML"], Ks = { key: 0 }, qs = ["innerHTML"], Js = ["innerHTML"], Ys = { key: 0 }, Xs = ["onClick"], Zs = ["src"], Qs = ["innerHTML"], $s = { key: 1 }, ec = ["href"], tc = { class: "mwnf-artintro-page__thumbs" }, nc = ["onClick"], rc = ["src"], ic = {
|
|
3053
|
+
__name: "Page",
|
|
3054
|
+
props: {
|
|
3055
|
+
theme: {
|
|
3056
|
+
type: Number,
|
|
3057
|
+
required: !0
|
|
3058
|
+
},
|
|
3059
|
+
page: {
|
|
3060
|
+
type: Number,
|
|
3061
|
+
required: !0
|
|
3062
|
+
}
|
|
3063
|
+
},
|
|
3064
|
+
setup(e) {
|
|
3065
|
+
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 } = Re(), I = i(() => M.value.find((e) => e.theme === r.theme && e.page === r.page) ?? null), R = i(() => M.value.filter((e) => e.theme === r.theme)), z = i(() => I.value ? O(I.value.node.id) : {}), B = i(() => I.value ? F(I.value.node.id) : []), V = i(() => I.value ? N(I.value.node) : []), H = i(() => z.value.quote ?? ""), U = i(() => E.value ? O(E.value.id).extra?.subtitle ?? "" : ""), W = h({
|
|
3066
|
+
slot: 0,
|
|
3067
|
+
variant: 0
|
|
3068
|
+
});
|
|
3069
|
+
S(() => [r.theme, r.page], () => W.value = {
|
|
3070
|
+
slot: 0,
|
|
3071
|
+
variant: 0
|
|
3072
|
+
});
|
|
3073
|
+
let K = i(() => V.value[W.value.slot] ?? null), q = i(() => Ee(K.value, W.value.variant)), J = i(() => K.value?.variants[W.value.variant] ? {
|
|
3074
|
+
...P(K.value, W.value.variant),
|
|
3075
|
+
sheetId: Te(K.value, W.value.variant, (e) => x.itemById.value.get(e))
|
|
3076
|
+
} : null);
|
|
3077
|
+
function ee(e) {
|
|
3078
|
+
W.value = {
|
|
3079
|
+
slot: e,
|
|
3080
|
+
variant: 0
|
|
2413
3081
|
};
|
|
2414
3082
|
}
|
|
2415
|
-
function
|
|
2416
|
-
|
|
2417
|
-
...
|
|
3083
|
+
function te(e) {
|
|
3084
|
+
W.value = {
|
|
3085
|
+
...W.value,
|
|
2418
3086
|
variant: e
|
|
2419
3087
|
};
|
|
2420
3088
|
}
|
|
2421
|
-
function
|
|
2422
|
-
|
|
3089
|
+
function Y() {
|
|
3090
|
+
q.value && Z(j({
|
|
2423
3091
|
name: "zoom",
|
|
2424
|
-
query: { img:
|
|
2425
|
-
}),
|
|
3092
|
+
query: { img: q.value }
|
|
3093
|
+
}), ze.zoom);
|
|
2426
3094
|
}
|
|
2427
|
-
let
|
|
3095
|
+
let ne = L(B), re = i(() => A("legacy/page_block1_bg.gif"));
|
|
2428
3096
|
return S([D, _], () => {
|
|
2429
3097
|
document.title = [m("identity.windowTitle"), D.value].filter(Boolean).join(" | ");
|
|
2430
3098
|
}, { immediate: !0 }), (r, i) => {
|
|
2431
3099
|
let h = v("router-link");
|
|
2432
|
-
return I.value ? (p(), s("div",
|
|
3100
|
+
return I.value ? (p(), s("div", js, [
|
|
2433
3101
|
c("div", {
|
|
2434
3102
|
class: "mwnf-artintro-page__head",
|
|
2435
|
-
style: f({ backgroundImage:
|
|
2436
|
-
}, [c("div",
|
|
3103
|
+
style: f({ backgroundImage: re.value ? `url(${re.value})` : "none" })
|
|
3104
|
+
}, [c("div", Ms, [i[2] ||= l(" < ", -1), u(h, { to: { name: "home" } }, {
|
|
2437
3105
|
default: C(() => [
|
|
2438
|
-
c("span", { innerHTML: b(x).mdInline(
|
|
3106
|
+
c("span", { innerHTML: b(x).mdInline(U.value) }, null, 8, Ns),
|
|
2439
3107
|
i[1] ||= l(" | ", -1),
|
|
2440
|
-
c("span", { innerHTML: b(x).mdInline(b(D)) }, null, 8,
|
|
3108
|
+
c("span", { innerHTML: b(x).mdInline(b(D)) }, null, 8, Ps)
|
|
2441
3109
|
]),
|
|
2442
3110
|
_: 1
|
|
2443
3111
|
})])], 4),
|
|
2444
|
-
c("div",
|
|
3112
|
+
c("div", Fs, [c("div", {
|
|
2445
3113
|
class: "mwnf-artintro-page__text",
|
|
2446
|
-
onClick: i[0] ||= (...e) => b(
|
|
3114
|
+
onClick: i[0] ||= (...e) => b(ne).onClick && b(ne).onClick(...e)
|
|
2447
3115
|
}, [
|
|
2448
3116
|
c("div", {
|
|
2449
3117
|
class: "mwnf-artintro-page__title",
|
|
2450
3118
|
innerHTML: b(x).mdInline(b(O)(I.value.themeNode.id).title)
|
|
2451
|
-
}, null, 8,
|
|
2452
|
-
c("div",
|
|
3119
|
+
}, null, 8, Is),
|
|
3120
|
+
c("div", Ls, [(p(!0), s(n, null, g(R.value, (t, r) => (p(), s(n, { key: t.node.id }, [r > 0 ? (p(), s(n, { key: 0 }, [l(" / ")], 64)) : o("", !0), u(h, {
|
|
2453
3121
|
to: {
|
|
2454
3122
|
name: "page",
|
|
2455
3123
|
params: {
|
|
@@ -2459,69 +3127,69 @@ var Wa = ["innerHTML"], Ga = ["innerHTML"], Ka = ["innerHTML"], qa = ["innerHTML
|
|
|
2459
3127
|
},
|
|
2460
3128
|
class: d(t.page === e.page ? "mwnf-artintro-page__current" : "mwnf-artintro-page__other")
|
|
2461
3129
|
}, {
|
|
2462
|
-
default: C(() => [c("span", { innerHTML: b(x).mdInline(b(O)(t.node.id).title) }, null, 8,
|
|
3130
|
+
default: C(() => [c("span", { innerHTML: b(x).mdInline(b(O)(t.node.id).title) }, null, 8, Rs)]),
|
|
2463
3131
|
_: 2
|
|
2464
3132
|
}, 1032, ["to", "class"])], 64))), 128))]),
|
|
2465
3133
|
c("div", {
|
|
2466
|
-
class: d(["mwnf-artintro-page__quote", { "mwnf-artintro-page__quote--own-italics": b(
|
|
2467
|
-
innerHTML: b(x).mdInline(
|
|
2468
|
-
}, null, 10,
|
|
3134
|
+
class: d(["mwnf-artintro-page__quote", { "mwnf-artintro-page__quote--own-italics": b(Ae)(H.value) }]),
|
|
3135
|
+
innerHTML: b(x).mdInline(H.value, { glossary: B.value })
|
|
3136
|
+
}, null, 10, zs),
|
|
2469
3137
|
c("div", {
|
|
2470
3138
|
class: "mwnf-artintro-page__content",
|
|
2471
|
-
innerHTML: b(x).md(
|
|
2472
|
-
}, null, 8,
|
|
2473
|
-
]), c("div",
|
|
2474
|
-
c("div",
|
|
3139
|
+
innerHTML: b(x).md(z.value.description, { glossary: B.value })
|
|
3140
|
+
}, null, 8, Bs)
|
|
3141
|
+
]), c("div", Vs, [
|
|
3142
|
+
c("div", Hs, [q.value ? w((p(), s("a", {
|
|
2475
3143
|
key: 0,
|
|
2476
3144
|
href: "#",
|
|
2477
|
-
onClick: T(
|
|
3145
|
+
onClick: T(Y, ["prevent"])
|
|
2478
3146
|
}, [c("img", {
|
|
2479
|
-
src:
|
|
3147
|
+
src: q.value,
|
|
2480
3148
|
alt: ""
|
|
2481
|
-
}, null, 8,
|
|
2482
|
-
|
|
3149
|
+
}, null, 8, Us)])), [[b(G), { text: b(m)("item.showZoom") }]]) : o("", !0)]),
|
|
3150
|
+
J.value ? (p(), s("div", Ws, [
|
|
2483
3151
|
c("div", null, [
|
|
2484
|
-
c("strong", { innerHTML: b(x).mdInline(
|
|
3152
|
+
c("strong", { innerHTML: b(x).mdInline(J.value.name) }, null, 8, Gs),
|
|
2485
3153
|
i[3] ||= c("br", null, null, -1),
|
|
2486
|
-
(p(!0), s(n, null, g(
|
|
3154
|
+
(p(!0), s(n, null, g(J.value.dateLines, (e, t) => (p(), s(n, { key: t }, [t > 0 ? (p(), s("br", Ks)) : o("", !0), c("span", { innerHTML: b(x).mdInline(e) }, null, 8, qs)], 64))), 128))
|
|
2487
3155
|
]),
|
|
2488
|
-
c("div", null, [(p(!0), s(n, null, g(
|
|
2489
|
-
|
|
3156
|
+
c("div", null, [(p(!0), s(n, null, g(J.value.details, (e, t) => (p(), s(n, { key: t }, [c("span", { innerHTML: b(x).mdInline(e) }, null, 8, Js), i[4] ||= c("br", null, null, -1)], 64))), 128))]),
|
|
3157
|
+
K.value.variants.length > 1 ? (p(), s("div", Ys, [(p(!0), s(n, null, g(K.value.variants, (e, t) => w((p(), s("a", {
|
|
2490
3158
|
key: t,
|
|
2491
3159
|
href: "#",
|
|
2492
|
-
onClick: T((e) =>
|
|
3160
|
+
onClick: T((e) => te(t), ["prevent"])
|
|
2493
3161
|
}, [c("img", {
|
|
2494
|
-
src: b(A)(t ===
|
|
3162
|
+
src: b(A)(t === W.value.variant ? "legacy/ico_item_selected.gif" : "legacy/ico_item.gif"),
|
|
2495
3163
|
alt: ""
|
|
2496
|
-
}, null, 8,
|
|
3164
|
+
}, null, 8, Zs)], 8, Xs)), [[b(G), { text: b(m)("item.showDetail") }]])), 128))])) : o("", !0),
|
|
2497
3165
|
c("div", {
|
|
2498
3166
|
class: "mwnf-artintro-page__justification",
|
|
2499
|
-
innerHTML: b(x).mdInline(
|
|
2500
|
-
}, null, 8,
|
|
2501
|
-
|
|
3167
|
+
innerHTML: b(x).mdInline(J.value.justification)
|
|
3168
|
+
}, null, 8, Qs),
|
|
3169
|
+
J.value.sheetId ? (p(), s("div", $s, [c("a", {
|
|
2502
3170
|
class: "mwnf-artintro-page__more",
|
|
2503
|
-
href: b(k).itemHref?.(
|
|
2504
|
-
}, "> " + y(b(m)("item.moreInfo")), 9,
|
|
3171
|
+
href: b(k).itemHref?.(J.value.sheetId)
|
|
3172
|
+
}, "> " + y(b(m)("item.moreInfo")), 9, ec)])) : o("", !0)
|
|
2505
3173
|
])) : o("", !0),
|
|
2506
|
-
c("div",
|
|
3174
|
+
c("div", tc, [(p(!0), s(n, null, g(V.value, (e, t) => w((p(), s("a", {
|
|
2507
3175
|
key: `${e.n}-${e.variants[0].entry.id}`,
|
|
2508
3176
|
href: "#",
|
|
2509
|
-
onClick: T((e) =>
|
|
3177
|
+
onClick: T((e) => ee(t), ["prevent"])
|
|
2510
3178
|
}, [e.variants[0].image ? (p(), s("img", {
|
|
2511
3179
|
key: 0,
|
|
2512
3180
|
src: e.variants[0].image,
|
|
2513
3181
|
alt: "",
|
|
2514
3182
|
height: "36"
|
|
2515
|
-
}, null, 8,
|
|
3183
|
+
}, null, 8, rc)) : o("", !0)], 8, nc)), [[b(G), {
|
|
2516
3184
|
text: b(x).mdStrip(b(P)(e, 0).name),
|
|
2517
3185
|
width: 160
|
|
2518
3186
|
}]])), 128))])
|
|
2519
3187
|
])]),
|
|
2520
|
-
b(
|
|
3188
|
+
b(ne).active.value ? (p(), a(t, {
|
|
2521
3189
|
key: 0,
|
|
2522
|
-
term: b(
|
|
2523
|
-
html: b(x).md(b(
|
|
2524
|
-
onClose: b(
|
|
3190
|
+
term: b(ne).active.value,
|
|
3191
|
+
html: b(x).md(b(ne).active.value.definition),
|
|
3192
|
+
onClose: b(ne).close
|
|
2525
3193
|
}, null, 8, [
|
|
2526
3194
|
"term",
|
|
2527
3195
|
"html",
|
|
@@ -2533,28 +3201,28 @@ var Wa = ["innerHTML"], Ga = ["innerHTML"], Ka = ["innerHTML"], qa = ["innerHTML
|
|
|
2533
3201
|
};
|
|
2534
3202
|
//#endregion
|
|
2535
3203
|
//#region src/minisite/artintro/routes.js
|
|
2536
|
-
function
|
|
3204
|
+
function ac(e) {
|
|
2537
3205
|
return [
|
|
2538
3206
|
{
|
|
2539
3207
|
path: "/",
|
|
2540
3208
|
name: "home",
|
|
2541
|
-
component:
|
|
3209
|
+
component: As,
|
|
2542
3210
|
meta: e("home", "collections")
|
|
2543
3211
|
},
|
|
2544
3212
|
{
|
|
2545
3213
|
path: "/page/:theme(\\d+)/:page(\\d+)?",
|
|
2546
3214
|
name: "page",
|
|
2547
|
-
component:
|
|
3215
|
+
component: ic,
|
|
2548
3216
|
props: (e) => ({
|
|
2549
3217
|
theme: Number(e.params.theme),
|
|
2550
3218
|
page: Number(e.params.page || 1)
|
|
2551
3219
|
}),
|
|
2552
|
-
meta: e("page", ...
|
|
3220
|
+
meta: e("page", ...Le)
|
|
2553
3221
|
},
|
|
2554
3222
|
{
|
|
2555
3223
|
path: "/zoom",
|
|
2556
3224
|
name: "zoom",
|
|
2557
|
-
component:
|
|
3225
|
+
component: ln,
|
|
2558
3226
|
props: (e) => ({ image: String(e.query.img ?? "") }),
|
|
2559
3227
|
meta: {
|
|
2560
3228
|
...e("zoom", "collections"),
|
|
@@ -2563,7 +3231,7 @@ function ko(e) {
|
|
|
2563
3231
|
}
|
|
2564
3232
|
];
|
|
2565
3233
|
}
|
|
2566
|
-
function
|
|
3234
|
+
function oc({ languages: e, parent: t, texts: n = je.GAI }) {
|
|
2567
3235
|
let r = [
|
|
2568
3236
|
["aboutMwnf", j.about],
|
|
2569
3237
|
["contact", j.contact],
|
|
@@ -2592,7 +3260,7 @@ function Ao({ languages: e, parent: t, texts: n = Pe.GAI }) {
|
|
|
2592
3260
|
copyright: `${n}.footer.copyright`
|
|
2593
3261
|
};
|
|
2594
3262
|
}
|
|
2595
|
-
function
|
|
3263
|
+
function sc({ parent: e, ...t }) {
|
|
2596
3264
|
return {
|
|
2597
3265
|
parent: e,
|
|
2598
3266
|
family: "GAI",
|
|
@@ -2601,4 +3269,4 @@ function jo({ parent: e, ...t }) {
|
|
|
2601
3269
|
};
|
|
2602
3270
|
}
|
|
2603
3271
|
//#endregion
|
|
2604
|
-
export {
|
|
3272
|
+
export { As as ArtIntroHome, ic as ArtIntroPage, Ya as BAROQUEART_LABELS, za as BAROQUEART_NO_COUNTRY, Za as BAROQUEART_WINDOWS, yo as BaroqueartHome, Lo as BaroqueartIntroduction, fs as BaroqueartPage, Ra as BaroqueartShell, hs as BaroqueartZoom, Le as EXHIBITION_ENTITIES, ge as ISLAMICART_NO_COUNTRY, je as LABELS, tn as MinisiteCredits, Ze as MinisiteHome, Tt as MinisiteIntroduction, on as MinisiteMap, Qt as MinisitePage, pe as MinisiteShell, ln as MinisiteZoom, he as PLACEHOLDER_TITLE, Fn as SHARINGHISTORY_LABELS, Gn as SHARINGHISTORY_WINDOWS, fa as SharingHistoryFurtherReading, wr as SharingHistoryHome, ui as SharingHistoryIntroduction, ta as SharingHistoryPage, Pn as SharingHistoryShell, ma as SharingHistoryWindow, ga as SharingHistoryZoom, oc as artintroNavigation, ac as artintroRoutes, sc as artintroSettings, Wa as baroqueartCaption, Ja as baroqueartCuratorLabel, Ga as baroqueartDetailViewCaption, qa as baroqueartIntroCaption, _s as baroqueartMenu, ys as baroqueartNavigation, gs as baroqueartRoutes, bs as baroqueartSettings, Ba as baroqueartSlotsOf, Ka as baroqueartWithFirstView, X as cleanText, Oe as curatorLabel, ke as curatorLink, Ie as exhibitionData, Me as familyOf, De as introCaption, dn as islamicartMenu, Ne as labelSet, fn as minisiteNavigation, un as minisiteRoutes, pn as minisiteSettings, ve as pageWithNeighbours, Ce as placementCaption, Ae as quoteHasItalics, _e as readingOrder, Un as sharinghistoryCaption, zn as sharinghistoryListedSubthemes, Rn as sharinghistoryListedThemes, ba as sharinghistoryNavigation, Bn as sharinghistoryPageRoute, Vn as sharinghistoryPageWithNext, Ln as sharinghistoryReadingOrder, Wn as sharinghistoryRelatedLinks, va as sharinghistoryRoutes, xa as sharinghistorySettings, Hn as sharinghistorySlotsOf, Te as sheetItemId, ye as slotsOf, Qa as useBaroqueartExhibition, Re as useExhibition, $ as useSharingHistoryExhibition, Ee as viewPicture, we as withFirstView };
|