@museumwnf/viewer-layout 3.92.0 → 3.94.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 +13 -11
- package/dist/dxa.js +1 -0
- package/dist/minisite.js +339 -347
- package/dist/standalone.js +376 -388
- package/package.json +1 -1
package/dist/minisite.js
CHANGED
|
@@ -33,7 +33,7 @@ var K = {
|
|
|
33
33
|
}, ne = {
|
|
34
34
|
key: 1,
|
|
35
35
|
class: "mwnf-minisite"
|
|
36
|
-
}, re = { class: "mwnf-minisite__column" }, q = { class: "mwnf-minisite-header" },
|
|
36
|
+
}, re = { class: "mwnf-minisite__column" }, q = { class: "mwnf-minisite-header" }, J = { class: "mwnf-minisite-header__logo" }, ie = ["href"], ae = ["src"], oe = { class: "mwnf-minisite-header__nav" }, se = { class: "mwnf-minisite-header__back" }, ce = ["href"], le = ["value", "aria-label"], ue = ["value"], de = { class: "mwnf-minisite-menu" }, fe = { class: "mwnf-minisite-menu__list" }, pe = ["href", "onClick"], me = ["href"], he = { class: "mwnf-minisite-footer" }, ge = ["href"], _e = {
|
|
37
37
|
__name: "Shell",
|
|
38
38
|
props: {
|
|
39
39
|
languages: {
|
|
@@ -89,14 +89,14 @@ var K = {
|
|
|
89
89
|
"aria-hidden": "true"
|
|
90
90
|
}, null, 4),
|
|
91
91
|
o("div", re, [
|
|
92
|
-
o("header", q, [o("div",
|
|
92
|
+
o("header", q, [o("div", J, [S((d(), a("a", { href: t.logoHref }, [o("img", {
|
|
93
93
|
src: T(`legacy/logo_${t.language}.gif`),
|
|
94
94
|
alt: "",
|
|
95
95
|
height: "60"
|
|
96
|
-
}, null, 8,
|
|
96
|
+
}, null, 8, ae)], 8, ie)), [[v(K), { text: t.logoTip ? v(p)(t.logoTip) : "" }]])]), o("div", oe, [o("div", se, [(d(!0), a(e, null, m(t.headerLinks, (t, n) => (d(), a(e, { key: t.label }, [n > 0 ? (d(), a(e, { key: 0 }, [s("\xA0|\xA0")], 64)) : i("", !0), S((d(), a("a", {
|
|
97
97
|
class: "mwnf-minisite-header__link",
|
|
98
98
|
href: t.href
|
|
99
|
-
}, [s(_(v(p)(t.label)), 1)], 8,
|
|
99
|
+
}, [s(_(v(p)(t.label)), 1)], 8, ce)), [[v(K), { text: t.tip ? v(p)(t.tip) : "" }]])], 64))), 128))]), o("div", null, [o("select", {
|
|
100
100
|
class: "mwnf-minisite-header__select",
|
|
101
101
|
value: t.language,
|
|
102
102
|
"aria-label": v(p)("layout.language.label"),
|
|
@@ -104,17 +104,17 @@ var K = {
|
|
|
104
104
|
}, [(d(!0), a(e, null, m(E.value, (e) => (d(), a("option", {
|
|
105
105
|
key: e.code,
|
|
106
106
|
value: e.code
|
|
107
|
-
}, _(e.label), 9,
|
|
107
|
+
}, _(e.label), 9, ue))), 128))], 40, le)])])]),
|
|
108
108
|
o("main", null, [h(n.$slots, "default")]),
|
|
109
|
-
t.menu.length ? (d(), a(e, { key: 0 }, [o("nav",
|
|
109
|
+
t.menu.length ? (d(), a(e, { key: 0 }, [o("nav", de, [o("ul", fe, [(d(!0), a(e, null, m(t.menu, (t, n) => (d(), a(e, { key: t.label }, [n > 0 ? (d(), a(e, { key: 0 }, [s("|")], 64)) : i("", !0), o("li", null, [t.window ? (d(), a("a", {
|
|
110
110
|
key: 0,
|
|
111
111
|
href: t.href,
|
|
112
112
|
onClick: C((e) => k(t), ["prevent"])
|
|
113
|
-
}, _(v(p)(t.label)), 9,
|
|
113
|
+
}, _(v(p)(t.label)), 9, pe)) : (d(), a("a", {
|
|
114
114
|
key: 1,
|
|
115
115
|
href: t.href
|
|
116
|
-
}, _(v(p)(t.label)), 9,
|
|
117
|
-
o("footer",
|
|
116
|
+
}, _(v(p)(t.label)), 9, me))])], 64))), 128))])]), r[1] ||= o("div", { class: "mwnf-minisite-menu__line" }, null, -1)], 64)) : i("", !0),
|
|
117
|
+
o("footer", he, [(d(!0), a(e, null, m(t.footerLinks, (t) => (d(), a(e, { key: t.label }, [o("a", { href: t.href }, _(v(p)(t.label)), 9, ge), r[2] ||= s("\xA0|\xA0 ", -1)], 64))), 128)), s(_(v(p)(t.copyright)) + " " + _(v(D)), 1)])
|
|
118
118
|
]),
|
|
119
119
|
o("div", {
|
|
120
120
|
class: "mwnf-minisite__strip",
|
|
@@ -131,20 +131,20 @@ var K = {
|
|
|
131
131
|
role: "tooltip"
|
|
132
132
|
}, _(v(U).text), 5), [[y, v(U).visible]])], 64));
|
|
133
133
|
}
|
|
134
|
-
},
|
|
134
|
+
}, ve = [
|
|
135
135
|
[/[‘’]/g, "'"],
|
|
136
136
|
[/[“”]/g, "\""],
|
|
137
137
|
[/…/g, "..."],
|
|
138
138
|
[/•/g, "*"]
|
|
139
139
|
];
|
|
140
|
-
function
|
|
141
|
-
return
|
|
140
|
+
function Y(e) {
|
|
141
|
+
return ve.reduce((e, [t, n]) => e.replace(t, n), String(e ?? ""));
|
|
142
142
|
}
|
|
143
|
-
var
|
|
143
|
+
var ye = /^(Artintro )?(Theme|Page) \d+$/, be = {
|
|
144
144
|
partners: ["325b7505-1527-5442-99ea-6a40f8c43d3f"],
|
|
145
145
|
monuments: (/* @__PURE__ */ "01.02.03.04.05.06.07.08.09.10.11.14.18.19.20.21.24.25.26.27.28.29.30.31.32.33.34.35".split(".")).map((e) => `PA ${e}`)
|
|
146
146
|
};
|
|
147
|
-
function
|
|
147
|
+
function xe(e, t) {
|
|
148
148
|
return e.flatMap((e, n) => t(e.id).map((t, r) => ({
|
|
149
149
|
theme: n + 1,
|
|
150
150
|
page: r + 1,
|
|
@@ -152,7 +152,7 @@ function Se(e, t) {
|
|
|
152
152
|
themeNode: e
|
|
153
153
|
})));
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function Se(e, t, n) {
|
|
156
156
|
let r = e.findIndex((e) => e.theme === t && e.page === n);
|
|
157
157
|
if (r < 0) return null;
|
|
158
158
|
let i = (e) => ({
|
|
@@ -168,7 +168,7 @@ function Ce(e, t, n) {
|
|
|
168
168
|
next: r < e.length - 1 ? i(e[r + 1]) : null
|
|
169
169
|
};
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function Ce(e) {
|
|
172
172
|
let t = /* @__PURE__ */ new Map();
|
|
173
173
|
for (let n of e?.items ?? []) {
|
|
174
174
|
let e = n.display_order ?? 0;
|
|
@@ -183,21 +183,21 @@ function we(e) {
|
|
|
183
183
|
}))
|
|
184
184
|
}));
|
|
185
185
|
}
|
|
186
|
-
function
|
|
186
|
+
function we(e, t, n) {
|
|
187
187
|
return !e || n?.items?.includes(e.id) || e.type === "object" && n?.partners?.includes(e.partner_id) || e.type === "monument" && n?.monuments?.includes(e.mwnf_reference) ? "" : t(e);
|
|
188
188
|
}
|
|
189
|
-
function
|
|
189
|
+
function Te(e, t, n, r) {
|
|
190
190
|
return [
|
|
191
191
|
P(t.location ?? ""),
|
|
192
192
|
P(t.province ?? ""),
|
|
193
|
-
|
|
193
|
+
we(e, n, r)
|
|
194
194
|
].filter(Boolean).join(", ");
|
|
195
195
|
}
|
|
196
|
-
function
|
|
197
|
-
return n.location ? [n.location, e ? r(e) : ""].filter(Boolean).join(", ") :
|
|
196
|
+
function Ee({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i }) {
|
|
197
|
+
return n.location ? [n.location, e ? r(e) : ""].filter(Boolean).join(", ") : Te(e, t, r, i);
|
|
198
198
|
}
|
|
199
|
-
function
|
|
200
|
-
let a = e?.type === "object" ? n.museum || P(t.holder ?? "") : "", o =
|
|
199
|
+
function De({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i }) {
|
|
200
|
+
let a = e?.type === "object" ? n.museum || P(t.holder ?? "") : "", o = Ee({
|
|
201
201
|
item: e,
|
|
202
202
|
own: t,
|
|
203
203
|
caption: n,
|
|
@@ -205,14 +205,14 @@ function Oe({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i })
|
|
|
205
205
|
noCountry: i
|
|
206
206
|
});
|
|
207
207
|
return {
|
|
208
|
-
name:
|
|
209
|
-
detailName:
|
|
210
|
-
dateLines: [n.date || P(t.dates ?? ""), n.dynasty || P(t.dynasty ?? "")].filter(Boolean).map(
|
|
211
|
-
details: [a, o].filter(Boolean).map(
|
|
212
|
-
justification:
|
|
208
|
+
name: Y(n.name ? P(n.name) : P(t.name ?? "")),
|
|
209
|
+
detailName: Y(n.detail_name),
|
|
210
|
+
dateLines: [n.date || P(t.dates ?? ""), n.dynasty || P(t.dynasty ?? "")].filter(Boolean).map(Y),
|
|
211
|
+
details: [a, o].filter(Boolean).map(Y),
|
|
212
|
+
justification: Y(n.justification)
|
|
213
213
|
};
|
|
214
214
|
}
|
|
215
|
-
function
|
|
215
|
+
function Oe(e, t) {
|
|
216
216
|
return {
|
|
217
217
|
name: e.name || t.name,
|
|
218
218
|
detailName: e.detailName || t.detailName,
|
|
@@ -221,43 +221,43 @@ function ke(e, t) {
|
|
|
221
221
|
justification: e.justification || t.justification
|
|
222
222
|
};
|
|
223
223
|
}
|
|
224
|
-
function
|
|
224
|
+
function ke(e, t, n) {
|
|
225
225
|
let r = (e) => {
|
|
226
226
|
let t = e ? n(e.entry.id) : null;
|
|
227
227
|
return t && t.type !== "picture" ? t.id : null;
|
|
228
228
|
};
|
|
229
229
|
return r(e?.variants[t]) ?? r(e?.variants[0]) ?? null;
|
|
230
230
|
}
|
|
231
|
-
function
|
|
231
|
+
function Ae(e, t) {
|
|
232
232
|
return e?.variants[t]?.image || e?.variants[0]?.image || null;
|
|
233
233
|
}
|
|
234
|
-
function
|
|
235
|
-
let a = (e, t) => e ?
|
|
234
|
+
function je({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i }) {
|
|
235
|
+
let a = (e, t) => e ? Y(P(e)) : t;
|
|
236
236
|
return [
|
|
237
237
|
a(n.name, P(t.name ?? "")),
|
|
238
238
|
a(n.date, P(t.dates ?? "")),
|
|
239
|
-
a(n.dynasty,
|
|
239
|
+
a(n.dynasty, Y(P(t.dynasty ?? ""))),
|
|
240
240
|
e?.type === "object" ? a(n.museum, P(t.holder ?? "")) : "",
|
|
241
|
-
a(n.location,
|
|
241
|
+
a(n.location, Te(e, t, r, i))
|
|
242
242
|
];
|
|
243
243
|
}
|
|
244
|
-
function
|
|
244
|
+
function Me(e, { partnerName: t, partnerCountry: n, countryName: r }) {
|
|
245
245
|
let i = (e) => e ? r(e) : "";
|
|
246
246
|
return e.partner ? [t(e.partner), i(n(e.partner))].filter(Boolean).join(", ") : [e.name, i(e.country)].filter(Boolean).join(", ");
|
|
247
247
|
}
|
|
248
|
-
function
|
|
248
|
+
function Ne(e, t) {
|
|
249
249
|
return "href" in e ? e.href : t?.(e.partner);
|
|
250
250
|
}
|
|
251
|
-
function
|
|
251
|
+
function Pe(e) {
|
|
252
252
|
return /(^|[^*])\*[^*\s][^*]*\*/.test(e ?? "") || /\b_[^_]+_\b/.test(e ?? "");
|
|
253
253
|
}
|
|
254
254
|
// src/minisite/exhibition.js
|
|
255
|
-
var
|
|
255
|
+
var Fe = Object.freeze({
|
|
256
256
|
ISL: "islamicart",
|
|
257
257
|
BAR: "baroqueart",
|
|
258
258
|
SH: "sharinghistory",
|
|
259
259
|
GAI: "artintro"
|
|
260
|
-
}),
|
|
260
|
+
}), Ie = {
|
|
261
261
|
islamicart: "minisite",
|
|
262
262
|
baroqueart: "minisiteBaroque",
|
|
263
263
|
sharinghistory: "minisiteSharingHistory",
|
|
@@ -267,27 +267,27 @@ var Ie = Object.freeze({
|
|
|
267
267
|
SH: "minisiteSharingHistory",
|
|
268
268
|
GAI: "minisiteArtIntro"
|
|
269
269
|
};
|
|
270
|
-
function
|
|
270
|
+
function Le(e) {
|
|
271
271
|
let t = e?.family ?? "islamicart";
|
|
272
|
-
return
|
|
272
|
+
return Fe[t] ?? t;
|
|
273
273
|
}
|
|
274
|
-
function
|
|
275
|
-
return e?.texts ?? Le
|
|
274
|
+
function Re(e) {
|
|
275
|
+
return e?.texts ?? Ie[Le(e)] ?? Ie.islamicart;
|
|
276
276
|
}
|
|
277
|
-
var
|
|
277
|
+
var ze = [
|
|
278
278
|
"collections",
|
|
279
279
|
"items",
|
|
280
280
|
"countries",
|
|
281
281
|
"partners",
|
|
282
282
|
"glossary"
|
|
283
|
-
],
|
|
284
|
-
function
|
|
285
|
-
if (!
|
|
283
|
+
], Be = null;
|
|
284
|
+
function Ve() {
|
|
285
|
+
if (!Be) {
|
|
286
286
|
let e = z();
|
|
287
|
-
|
|
287
|
+
Be = {
|
|
288
288
|
pkg: e,
|
|
289
289
|
data: L({
|
|
290
|
-
eager:
|
|
290
|
+
eager: ze,
|
|
291
291
|
glossary: !1
|
|
292
292
|
}),
|
|
293
293
|
tree: R({
|
|
@@ -296,21 +296,21 @@ function He() {
|
|
|
296
296
|
})
|
|
297
297
|
};
|
|
298
298
|
}
|
|
299
|
-
return
|
|
299
|
+
return Be;
|
|
300
300
|
}
|
|
301
|
-
var
|
|
301
|
+
var He = [
|
|
302
302
|
"collections",
|
|
303
303
|
"items",
|
|
304
304
|
"countries",
|
|
305
305
|
"glossary"
|
|
306
306
|
];
|
|
307
|
-
function
|
|
308
|
-
let { pkg: e, data: t, tree: r } =
|
|
309
|
-
b(d, (t) => Promise.all(
|
|
310
|
-
let f = r.root, p = n(() => f.value ? r.children(f.value.id) : []), m = n(() =>
|
|
307
|
+
function X() {
|
|
308
|
+
let { pkg: e, data: t, tree: r } = Ve(), { locale: i, t: a } = B(), o = V(), s = o.minisite ?? {}, c = Re(s), l = (e) => a(`${c}.${e}`), u = T(), d = n(() => i.value);
|
|
309
|
+
b(d, (t) => Promise.all(ze.flatMap((n) => [e.loadTranslations(n, t), e.loadTranslations(n, "en")])), { immediate: !0 });
|
|
310
|
+
let f = r.root, p = n(() => f.value ? r.children(f.value.id) : []), m = n(() => xe(p.value, r.children));
|
|
311
311
|
function h(t) {
|
|
312
312
|
let n = e.translations("collections", d.value)[t] ?? {};
|
|
313
|
-
return
|
|
313
|
+
return ye.test(n.title ?? "") ? {
|
|
314
314
|
...n,
|
|
315
315
|
title: ""
|
|
316
316
|
} : n;
|
|
@@ -326,8 +326,8 @@ function Y() {
|
|
|
326
326
|
};
|
|
327
327
|
}
|
|
328
328
|
function v(e, t) {
|
|
329
|
-
let n = (e) =>
|
|
330
|
-
return r ?
|
|
329
|
+
let n = (e) => De(_(e.entry)), r = e?.variants[t];
|
|
330
|
+
return r ? Oe(n(r), n(e.variants[0])) : null;
|
|
331
331
|
}
|
|
332
332
|
function y(n) {
|
|
333
333
|
let r = h(n).glossary_ids ?? [];
|
|
@@ -361,56 +361,56 @@ function Y() {
|
|
|
361
361
|
picture: x,
|
|
362
362
|
href: S,
|
|
363
363
|
glossaryFor: y,
|
|
364
|
-
pageAt: (e, t) =>
|
|
365
|
-
slots:
|
|
366
|
-
placementCaption: (e) =>
|
|
364
|
+
pageAt: (e, t) => Se(m.value, e, t),
|
|
365
|
+
slots: Ce,
|
|
366
|
+
placementCaption: (e) => De(_(e)),
|
|
367
367
|
viewCaption: v,
|
|
368
|
-
introCaption: (e) =>
|
|
368
|
+
introCaption: (e) => je(_(e)),
|
|
369
369
|
title: n(() => f.value ? h(f.value.id).title ?? "" : "")
|
|
370
370
|
};
|
|
371
371
|
}
|
|
372
|
-
var
|
|
372
|
+
var Ue = {
|
|
373
373
|
credits: ["exhcredits", "scrollbars=auto, resizable=1, width=420, height=530"],
|
|
374
374
|
map: ["exhibition_map", "scrollbars=auto, resize=yes, width=800, height=418"],
|
|
375
375
|
zoom: ["mwnfing", ""]
|
|
376
376
|
};
|
|
377
|
-
function
|
|
377
|
+
function Z(e, [t, n]) {
|
|
378
378
|
window.open(e, t, n)?.focus();
|
|
379
379
|
}
|
|
380
380
|
// src/minisite/Home.vue
|
|
381
|
-
var
|
|
381
|
+
var We = { class: "mwnf-minisite-home" }, Ge = { class: "mwnf-minisite-home__title" }, Ke = ["innerHTML"], qe = { class: "mwnf-minisite-home__menu" }, Je = {
|
|
382
382
|
key: 0,
|
|
383
383
|
class: "mwnf-minisite-home__menu2"
|
|
384
|
-
},
|
|
384
|
+
}, Ye = { class: "mwnf-minisite-partners" }, Xe = { class: "mwnf-minisite-partners__line" }, Ze = ["href"], Qe = { class: "mwnf-minisite-partners__logos" }, $e = ["href"], et = ["src"], tt = {
|
|
385
385
|
__name: "Home",
|
|
386
386
|
setup(t) {
|
|
387
|
-
let { label: r, lang: l, data: f, root: p, themes: h, text: y, title: w, settings: T, picture: E, href: D, glossaryFor: O } =
|
|
387
|
+
let { label: r, lang: l, data: f, root: p, themes: h, text: y, title: w, settings: T, picture: E, href: D, glossaryFor: O } = X(), k = n(() => p.value ? f.mdInline(y(p.value.id).description, { glossary: O(p.value.id) }) : ""), A = n(() => (T.menuSecondColumnFrom ?? 1e400) - 1), j = n(() => h.value.slice(0, A.value).map((e, t) => ({
|
|
388
388
|
theme: e,
|
|
389
389
|
number: t + 1
|
|
390
390
|
}))), M = n(() => h.value.slice(A.value).map((e, t) => ({
|
|
391
391
|
theme: e,
|
|
392
392
|
number: A.value + t + 1
|
|
393
|
-
}))), N = n(() => T.curators ?? []), P = (e) =>
|
|
393
|
+
}))), N = n(() => T.curators ?? []), P = (e) => Me(e, {
|
|
394
394
|
partnerName: (e) => f.tr("partners", e, l.value).name,
|
|
395
395
|
partnerCountry: (e) => f.partnerById.value.get(e)?.country_id,
|
|
396
396
|
countryName: (e) => f.tr("countries", e, l.value).name
|
|
397
|
-
}), F = (e) =>
|
|
397
|
+
}), F = (e) => Ne(e, T.partnerHref), I = n(() => E(l.value === "ar" ? "legacy/home_bg_ar.jpg" : "legacy/home_bg.jpg"));
|
|
398
398
|
return b([w, l], () => {
|
|
399
399
|
document.title = [r("identity.windowTitle"), w.value].filter(Boolean).join(" | ");
|
|
400
400
|
}, { immediate: !0 }), (t, n) => {
|
|
401
401
|
let l = g("router-link");
|
|
402
|
-
return d(), a(e, null, [o("div",
|
|
402
|
+
return d(), a(e, null, [o("div", We, [
|
|
403
403
|
n[4] ||= o("div", { class: "mwnf-minisite-home__bg1" }, null, -1),
|
|
404
404
|
o("div", {
|
|
405
405
|
class: "mwnf-minisite-home__bg2",
|
|
406
406
|
style: u({ backgroundImage: I.value ? `url(${I.value})` : "none" })
|
|
407
407
|
}, null, 4),
|
|
408
|
-
o("div",
|
|
408
|
+
o("div", Ge, _(v(w)), 1),
|
|
409
409
|
o("div", {
|
|
410
410
|
class: "mwnf-minisite-home__description",
|
|
411
411
|
innerHTML: k.value
|
|
412
|
-
}, null, 8,
|
|
413
|
-
o("div",
|
|
412
|
+
}, null, 8, Ke),
|
|
413
|
+
o("div", qe, [o("div", null, [n[1] ||= s("> ", -1), c(l, { to: { name: "introduction" } }, {
|
|
414
414
|
default: x(() => [s(_(v(r)("home.introduction")), 1)]),
|
|
415
415
|
_: 1
|
|
416
416
|
})]), (d(!0), a(e, null, m(j.value, ({ theme: e, number: t }) => (d(), a("div", { key: e.id }, [n[2] ||= s(" > ", -1), c(l, { to: {
|
|
@@ -420,24 +420,24 @@ var Ge = { class: "mwnf-minisite-home" }, Ke = { class: "mwnf-minisite-home__tit
|
|
|
420
420
|
default: x(() => [s(_(v(y)(e.id).title), 1)]),
|
|
421
421
|
_: 2
|
|
422
422
|
}, 1032, ["to"])]))), 128))]),
|
|
423
|
-
M.value.length ? (d(), a("div",
|
|
423
|
+
M.value.length ? (d(), a("div", Je, [(d(!0), a(e, null, m(M.value, ({ theme: e, number: t }) => (d(), a("div", { key: e.id }, [n[3] ||= s(" > ", -1), c(l, { to: {
|
|
424
424
|
name: "exhibition",
|
|
425
425
|
params: { theme: t }
|
|
426
426
|
} }, {
|
|
427
427
|
default: x(() => [s(_(v(y)(e.id).title), 1)]),
|
|
428
428
|
_: 2
|
|
429
429
|
}, 1032, ["to"])]))), 128))])) : i("", !0)
|
|
430
|
-
]), o("div",
|
|
430
|
+
]), o("div", Ye, [o("div", Xe, [o("a", {
|
|
431
431
|
href: v(D)({ name: "credits" }),
|
|
432
|
-
onClick: n[0] ||= C((e) => v(
|
|
433
|
-
}, _(v(r)("home.curatedBy")), 9,
|
|
432
|
+
onClick: n[0] ||= C((e) => v(Z)(v(D)({ name: "credits" }), v(Ue).credits), ["prevent"])
|
|
433
|
+
}, _(v(r)("home.curatedBy")), 9, Ze)]), o("div", Qe, [(d(!0), a(e, null, m(N.value, (t, r) => (d(), a(e, { key: t.logo }, [S((d(), a("a", {
|
|
434
434
|
class: "mwnf-minisite-partners__curator",
|
|
435
435
|
href: F(t)
|
|
436
436
|
}, [o("img", {
|
|
437
437
|
src: v(E)(t.logo),
|
|
438
438
|
alt: "",
|
|
439
439
|
height: "74"
|
|
440
|
-
}, null, 8,
|
|
440
|
+
}, null, 8, et)], 8, $e)), [[v(K), {
|
|
441
441
|
text: P(t),
|
|
442
442
|
width: 280
|
|
443
443
|
}]]), r < N.value.length - 1 ? (d(), a(e, { key: 0 }, [
|
|
@@ -450,18 +450,18 @@ var Ge = { class: "mwnf-minisite-home" }, Ke = { class: "mwnf-minisite-home__tit
|
|
|
450
450
|
], 64)) : i("", !0)], 64))), 128))])])], 64);
|
|
451
451
|
};
|
|
452
452
|
}
|
|
453
|
-
},
|
|
453
|
+
}, nt = (e) => typeof e == "string" ? e : null;
|
|
454
454
|
function rt(e) {
|
|
455
|
-
return
|
|
455
|
+
return nt(e?.introduction) ?? nt(e?.intro_text) ?? nt(e?.extra?.intro_text) ?? "";
|
|
456
456
|
}
|
|
457
457
|
function it(e) {
|
|
458
|
-
return
|
|
458
|
+
return nt(e?.intro_header) ?? nt(e?.extra?.intro_header) ?? "";
|
|
459
459
|
}
|
|
460
460
|
function at(e) {
|
|
461
|
-
return
|
|
461
|
+
return nt(e?.exhibition_credits) ?? nt(e?.extra?.exhibition_credits) ?? "";
|
|
462
462
|
}
|
|
463
463
|
function ot(e) {
|
|
464
|
-
return
|
|
464
|
+
return nt(e?.subtitle) ?? nt(e?.extra?.subtitle) ?? "";
|
|
465
465
|
}
|
|
466
466
|
// src/minisite/wordDocument.js
|
|
467
467
|
var Q = (e) => String(e ?? "").replace(/[&<>"]/g, (e) => ({
|
|
@@ -501,7 +501,7 @@ var pt = { class: "mwnf-minisite-download" }, mt = ["src"], ht = ["src"], gt = [
|
|
|
501
501
|
required: !0
|
|
502
502
|
} },
|
|
503
503
|
setup(e) {
|
|
504
|
-
let { t } = B(), n = V(), r = (e) => H(n.chrome, e), i = (e) => t(`${
|
|
504
|
+
let { t } = B(), n = V(), r = (e) => H(n.chrome, e), i = (e) => t(`${Re(n.minisite)}.${e}`);
|
|
505
505
|
function c() {
|
|
506
506
|
window.print();
|
|
507
507
|
}
|
|
@@ -540,7 +540,7 @@ var pt = { class: "mwnf-minisite-download" }, mt = ["src"], ht = ["src"], gt = [
|
|
|
540
540
|
}, Et = ["href"], Dt = ["src"], Ot = ["href"], kt = ["src"], At = { key: 1 }, jt = { key: 0 }, Mt = ["innerHTML"], Nt = ["innerHTML"], Pt = {
|
|
541
541
|
__name: "Introduction",
|
|
542
542
|
setup(t) {
|
|
543
|
-
let { label: l, lang: f, data: p, root: h, text: y, title: S, settings: w, picture: T, href: E, introCaption: D, slots: O, glossaryFor: k } =
|
|
543
|
+
let { label: l, lang: f, data: p, root: h, text: y, title: S, settings: w, picture: T, href: E, introCaption: D, slots: O, glossaryFor: k } = X(), A = n(() => h.value ? y(h.value.id) : {}), j = n(() => h.value ? k(h.value.id) : []), M = n(() => p.md(rt(A.value), { glossary: j.value })), N = n(() => p.mdInline(it(A.value))), P = n(() => O(h.value).flatMap((e) => e.variants).map(({ entry: e, image: t }) => ({
|
|
544
544
|
entry: e,
|
|
545
545
|
image: t,
|
|
546
546
|
lines: D(e)
|
|
@@ -603,7 +603,7 @@ var pt = { class: "mwnf-minisite-download" }, mt = ["src"], ht = ["src"], gt = [
|
|
|
603
603
|
]), o("div", wt, [F.value ? (d(), a("div", Tt, [
|
|
604
604
|
o("a", {
|
|
605
605
|
href: v(E)({ name: "map" }),
|
|
606
|
-
onClick: n[1] ||= C((e) => v(
|
|
606
|
+
onClick: n[1] ||= C((e) => v(Z)(v(E)({ name: "map" }), v(Ue).map), ["prevent"])
|
|
607
607
|
}, [o("img", {
|
|
608
608
|
src: v(T)(F.value.thumbnail),
|
|
609
609
|
alt: "",
|
|
@@ -614,7 +614,7 @@ var pt = { class: "mwnf-minisite-download" }, mt = ["src"], ht = ["src"], gt = [
|
|
|
614
614
|
o("a", {
|
|
615
615
|
class: "mwnf-minisite-intro-item__map",
|
|
616
616
|
href: v(E)({ name: "map" }),
|
|
617
|
-
onClick: n[2] ||= C((e) => v(
|
|
617
|
+
onClick: n[2] ||= C((e) => v(Z)(v(E)({ name: "map" }), v(Ue).map), ["prevent"])
|
|
618
618
|
}, _(v(l)("intro.enlargeMap")), 9, Ot)
|
|
619
619
|
])) : i("", !0), (d(!0), a(e, null, m(P.value, (t) => (d(), a("div", {
|
|
620
620
|
key: `${t.entry.id}-${t.entry.variant_order}`,
|
|
@@ -664,7 +664,7 @@ var pt = { class: "mwnf-minisite-download" }, mt = ["src"], ht = ["src"], gt = [
|
|
|
664
664
|
}
|
|
665
665
|
},
|
|
666
666
|
setup(t) {
|
|
667
|
-
let f = t, { label: h, lang: y, data: w, title: T, text: E, settings: D, picture: O, href: k, pageAt: A, slots: j, placementCaption: M, viewCaption: N, glossaryFor: P } =
|
|
667
|
+
let f = t, { label: h, lang: y, data: w, title: T, text: E, settings: D, picture: O, href: k, pageAt: A, slots: j, placementCaption: M, viewCaption: N, glossaryFor: P } = X(), F = n(() => A(f.theme, f.page)), I = n(() => F.value ? E(F.value.node.id) : {}), L = n(() => F.value ? P(F.value.node.id) : []), R = n(() => F.value ? j(F.value.node) : []), z = n(() => I.value.quote ?? ""), B = p({
|
|
668
668
|
slot: 0,
|
|
669
669
|
variant: 0
|
|
670
670
|
});
|
|
@@ -672,9 +672,9 @@ var pt = { class: "mwnf-minisite-download" }, mt = ["src"], ht = ["src"], gt = [
|
|
|
672
672
|
slot: 0,
|
|
673
673
|
variant: 0
|
|
674
674
|
});
|
|
675
|
-
let V = n(() => R.value[B.value.slot] ?? null), H = n(() => V.value?.variants[B.value.variant] ?? null), U = n(() =>
|
|
675
|
+
let V = n(() => R.value[B.value.slot] ?? null), H = n(() => V.value?.variants[B.value.variant] ?? null), U = n(() => Ae(V.value, B.value.variant)), W = n(() => !V.value || !H.value ? null : {
|
|
676
676
|
...N(V.value, B.value.variant),
|
|
677
|
-
sheetId:
|
|
677
|
+
sheetId: ke(V.value, B.value.variant, (e) => w.itemById.value.get(e))
|
|
678
678
|
});
|
|
679
679
|
function G(e) {
|
|
680
680
|
B.value = {
|
|
@@ -689,13 +689,13 @@ var pt = { class: "mwnf-minisite-download" }, mt = ["src"], ht = ["src"], gt = [
|
|
|
689
689
|
};
|
|
690
690
|
}
|
|
691
691
|
function re() {
|
|
692
|
-
U.value &&
|
|
692
|
+
U.value && Z(k({
|
|
693
693
|
name: "zoom",
|
|
694
694
|
query: { img: U.value }
|
|
695
|
-
}),
|
|
695
|
+
}), Ue.zoom);
|
|
696
696
|
}
|
|
697
697
|
let q = ee(L);
|
|
698
|
-
function
|
|
698
|
+
function J() {
|
|
699
699
|
ft({
|
|
700
700
|
documentTitle: D.documentTitle,
|
|
701
701
|
title: T.value,
|
|
@@ -717,13 +717,13 @@ var pt = { class: "mwnf-minisite-download" }, mt = ["src"], ht = ["src"], gt = [
|
|
|
717
717
|
f.page
|
|
718
718
|
].filter(Boolean).join(" | ");
|
|
719
719
|
}, { immediate: !0 });
|
|
720
|
-
let
|
|
720
|
+
let ie = n(() => O(y.value === "ar" ? "legacy/exhibition_bg_ar.jpg" : "legacy/exhibition_bg.jpg"));
|
|
721
721
|
return (t, n) => {
|
|
722
722
|
let f = g("router-link");
|
|
723
723
|
return F.value ? (d(), a("div", {
|
|
724
724
|
key: 0,
|
|
725
725
|
class: "mwnf-minisite-page",
|
|
726
|
-
style: u({ backgroundImage:
|
|
726
|
+
style: u({ backgroundImage: ie.value ? `url(${ie.value})` : "none" })
|
|
727
727
|
}, [
|
|
728
728
|
o("div", Ft, [
|
|
729
729
|
o("div", It, _(v(T)), 1),
|
|
@@ -769,14 +769,14 @@ var pt = { class: "mwnf-minisite-download" }, mt = ["src"], ht = ["src"], gt = [
|
|
|
769
769
|
width: 160
|
|
770
770
|
}]])), 128))]),
|
|
771
771
|
o("div", {
|
|
772
|
-
class: l(["mwnf-minisite-page__quote", { "mwnf-minisite-page__quote--own-italics": v(
|
|
772
|
+
class: l(["mwnf-minisite-page__quote", { "mwnf-minisite-page__quote--own-italics": v(Pe)(z.value) }]),
|
|
773
773
|
innerHTML: v(w).mdInline(z.value, { glossary: L.value })
|
|
774
774
|
}, null, 10, Wt),
|
|
775
775
|
o("div", {
|
|
776
776
|
class: "mwnf-minisite-page__content",
|
|
777
777
|
innerHTML: v(w).md(I.value.description, { glossary: L.value })
|
|
778
778
|
}, null, 8, Gt),
|
|
779
|
-
c(_t, { word:
|
|
779
|
+
c(_t, { word: J })
|
|
780
780
|
]), o("div", Kt, [o("div", qt, [U.value ? S((d(), a("a", {
|
|
781
781
|
key: 0,
|
|
782
782
|
href: "#",
|
|
@@ -827,13 +827,13 @@ var pt = { class: "mwnf-minisite-download" }, mt = ["src"], ht = ["src"], gt = [
|
|
|
827
827
|
}, ln = { class: "mwnf-minisite-credits" }, un = ["innerHTML"], dn = {
|
|
828
828
|
__name: "Credits",
|
|
829
829
|
setup(e) {
|
|
830
|
-
let { data: t, root: r, text: i, title: s } =
|
|
830
|
+
let { data: t, root: r, text: i, title: s } = X(), c = n(() => r.value ? t.md(at(i(r.value.id))) : "");
|
|
831
831
|
return (e, t) => (d(), a("div", ln, [o("h1", null, _(v(s)), 1), o("div", { innerHTML: c.value }, null, 8, un)]));
|
|
832
832
|
}
|
|
833
833
|
}, fn = { class: "mwnf-minisite-map" }, pn = { key: 0 }, mn = ["src"], hn = {
|
|
834
834
|
__name: "Map",
|
|
835
835
|
setup(t) {
|
|
836
|
-
let { lang: r, settings: s, picture: c } =
|
|
836
|
+
let { lang: r, settings: s, picture: c } = X(), l = n(() => {
|
|
837
837
|
let e = s.map;
|
|
838
838
|
return e ? [c(e.picture(r.value)), ...Array.from({ length: Math.max((e.count ?? 1) - 1, 0) }, (t, n) => c(e.picture(r.value, n + 2)))].filter(Boolean) : [];
|
|
839
839
|
});
|
|
@@ -851,7 +851,7 @@ var pt = { class: "mwnf-minisite-download" }, mt = ["src"], ht = ["src"], gt = [
|
|
|
851
851
|
default: ""
|
|
852
852
|
} },
|
|
853
853
|
setup(e) {
|
|
854
|
-
let t = e, { pages: r, root: o, slots: s } =
|
|
854
|
+
let t = e, { pages: r, root: o, slots: s } = X(), c = n(() => [o.value, ...r.value.map((e) => e.node)].filter(Boolean).flatMap((e) => s(e).flatMap((e) => e.variants.map((e) => e.image))).includes(t.image) ? t.image : "");
|
|
855
855
|
return (e, t) => (d(), a("div", gn, [c.value ? (d(), a("img", {
|
|
856
856
|
key: 0,
|
|
857
857
|
src: c.value,
|
|
@@ -865,14 +865,14 @@ function yn(e) {
|
|
|
865
865
|
{
|
|
866
866
|
path: "/",
|
|
867
867
|
name: "home",
|
|
868
|
-
component:
|
|
868
|
+
component: tt,
|
|
869
869
|
meta: e("home", "collections", "partners", "countries")
|
|
870
870
|
},
|
|
871
871
|
{
|
|
872
872
|
path: "/introduction",
|
|
873
873
|
name: "introduction",
|
|
874
874
|
component: Pt,
|
|
875
|
-
meta: e("introduction", ...
|
|
875
|
+
meta: e("introduction", ...He)
|
|
876
876
|
},
|
|
877
877
|
{
|
|
878
878
|
path: "/exhibition/:theme(\\d+)/:page(\\d+)?",
|
|
@@ -882,7 +882,7 @@ function yn(e) {
|
|
|
882
882
|
theme: Number(e.params.theme),
|
|
883
883
|
page: Number(e.params.page || 1)
|
|
884
884
|
}),
|
|
885
|
-
meta: e("exhibition", ...
|
|
885
|
+
meta: e("exhibition", ...He)
|
|
886
886
|
},
|
|
887
887
|
{
|
|
888
888
|
path: "/credits",
|
|
@@ -914,7 +914,7 @@ function yn(e) {
|
|
|
914
914
|
}
|
|
915
915
|
];
|
|
916
916
|
}
|
|
917
|
-
function bn(e, t =
|
|
917
|
+
function bn(e, t = Ie.ISL) {
|
|
918
918
|
return [
|
|
919
919
|
{
|
|
920
920
|
label: `${t}.menu.permanentCollection`,
|
|
@@ -947,7 +947,7 @@ function bn(e, t = Le.ISL) {
|
|
|
947
947
|
}
|
|
948
948
|
];
|
|
949
949
|
}
|
|
950
|
-
function xn({ languages: e, parent: t, texts: n =
|
|
950
|
+
function xn({ languages: e, parent: t, texts: n = Ie.ISL, menu: r }) {
|
|
951
951
|
let i = [
|
|
952
952
|
["aboutMwnf", M.about],
|
|
953
953
|
["contact", M.contact],
|
|
@@ -1199,7 +1199,7 @@ function er({ parent: e, exhibitionId: t, themeId: n = null, subthemeId: r = nul
|
|
|
1199
1199
|
];
|
|
1200
1200
|
}
|
|
1201
1201
|
function $() {
|
|
1202
|
-
let { pkg: e, data: t, tree: r } =
|
|
1202
|
+
let { pkg: e, data: t, tree: r } = Ve(), { locale: i, t: a } = B(), o = V(), s = o.minisite ?? {}, c = s.texts ?? "minisiteSharingHistory", l = (e) => a(`${c}.${e}`), u = T(), d = n(() => i.value);
|
|
1203
1203
|
b(d, (t) => Promise.all(Gn.flatMap((n) => [e.loadTranslations(n, t), e.loadTranslations(n, "en")])), { immediate: !0 });
|
|
1204
1204
|
let f = (t) => e.translations("collections", d.value)[t] ?? {}, p = (t, n) => e.translations("collections", n)[t]?.title, m = r.root, h = n(() => m.value ? qn(r.children(m.value.id), p, d.value) : []), g = (e) => Jn(r.children(e), p, d.value), _ = n(() => Kn(h.value, g)), v = (e.manifest.site?.languages ?? []).map((e) => e.code), y = (t) => e.manifest.site?.languages?.find((e) => e.code === t)?.label ?? t;
|
|
1205
1205
|
function x(e) {
|
|
@@ -1323,7 +1323,7 @@ var tr = {
|
|
|
1323
1323
|
return (e, r) => (d(), a("div", null, [
|
|
1324
1324
|
o("a", {
|
|
1325
1325
|
href: "#",
|
|
1326
|
-
onClick: r[0] ||= C((e) => v(
|
|
1326
|
+
onClick: r[0] ||= C((e) => v(Z)(v(t)({ name: "credits" }), v(tr).credits), ["prevent"])
|
|
1327
1327
|
}, [s(_(v(n)("band.curatedBy")) + " ", 1), v(c) ? (d(), a("img", {
|
|
1328
1328
|
key: 0,
|
|
1329
1329
|
src: v(c),
|
|
@@ -1333,7 +1333,7 @@ var tr = {
|
|
|
1333
1333
|
}, null, 8, ur)) : i("", !0)]),
|
|
1334
1334
|
o("div", null, [o("a", {
|
|
1335
1335
|
href: "#",
|
|
1336
|
-
onClick: r[1] ||= C((e) => v(
|
|
1336
|
+
onClick: r[1] ||= C((e) => v(Z)(v(t)({ name: "cover-image" }), v(tr).coverImage), ["prevent"])
|
|
1337
1337
|
}, [s(_(v(n)("band.coverImage")) + " ", 1), v(c) ? (d(), a("img", {
|
|
1338
1338
|
key: 0,
|
|
1339
1339
|
src: v(c),
|
|
@@ -1583,7 +1583,7 @@ var tr = {
|
|
|
1583
1583
|
};
|
|
1584
1584
|
}), F = n(() => N.value ? `${w.parent}/#/item/${encodeURIComponent(N.value.id)}` : "");
|
|
1585
1585
|
function I() {
|
|
1586
|
-
|
|
1586
|
+
Z(u({
|
|
1587
1587
|
name: "zoom",
|
|
1588
1588
|
query: { img: N.value.image_url }
|
|
1589
1589
|
}), tr.zoom);
|
|
@@ -1712,7 +1712,7 @@ var tr = {
|
|
|
1712
1712
|
index: t
|
|
1713
1713
|
})).filter((e) => e.index !== s.view));
|
|
1714
1714
|
function w() {
|
|
1715
|
-
|
|
1715
|
+
Z(f({
|
|
1716
1716
|
name: "zoom",
|
|
1717
1717
|
query: { img: y.value.image_url }
|
|
1718
1718
|
}), tr.zoom);
|
|
@@ -2264,11 +2264,9 @@ var Ma = {
|
|
|
2264
2264
|
role: "tooltip"
|
|
2265
2265
|
}, _(v(U).text), 5), [[y, v(U).visible]])], 64));
|
|
2266
2266
|
}
|
|
2267
|
-
}, Ya = {
|
|
2268
|
-
partners: ["325b7505-1527-5442-99ea-6a40f8c43d3f"],
|
|
2269
|
-
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}`)
|
|
2270
2267
|
};
|
|
2271
|
-
|
|
2268
|
+
// src/minisite/baroqueart/rules.js
|
|
2269
|
+
function Ya(e) {
|
|
2272
2270
|
let t = /* @__PURE__ */ new Map();
|
|
2273
2271
|
for (let n of e?.items ?? []) {
|
|
2274
2272
|
let e = n.display_order ?? 0;
|
|
@@ -2287,38 +2285,37 @@ function Xa(e) {
|
|
|
2287
2285
|
}])
|
|
2288
2286
|
}));
|
|
2289
2287
|
}
|
|
2290
|
-
function
|
|
2291
|
-
return e ?
|
|
2288
|
+
function Xa(e, t) {
|
|
2289
|
+
return e ? e.show_country === !1 ? "" : t(e) : "";
|
|
2292
2290
|
}
|
|
2293
|
-
function
|
|
2291
|
+
function Za(e, t, n) {
|
|
2294
2292
|
return [
|
|
2295
2293
|
P(t.location ?? ""),
|
|
2296
2294
|
P(t.province ?? ""),
|
|
2297
|
-
|
|
2295
|
+
Xa(e, n)
|
|
2298
2296
|
].filter(Boolean).join(", ");
|
|
2299
2297
|
}
|
|
2300
|
-
function
|
|
2301
|
-
return n.location ? [n.location, e ? r(e) : ""].filter(Boolean).join(", ") :
|
|
2298
|
+
function Qa({ item: e, own: t, caption: n = {}, countryName: r }) {
|
|
2299
|
+
return n.location ? [n.location, e ? r(e) : ""].filter(Boolean).join(", ") : Za(e, t, r);
|
|
2302
2300
|
}
|
|
2303
|
-
function
|
|
2304
|
-
let
|
|
2301
|
+
function $a({ item: e, own: t, caption: n = {}, countryName: r }) {
|
|
2302
|
+
let i = e?.type === "object" ? n.museum || P(t.holder ?? "") : "", a = Qa({
|
|
2305
2303
|
item: e,
|
|
2306
2304
|
own: t,
|
|
2307
2305
|
caption: n,
|
|
2308
|
-
countryName: r
|
|
2309
|
-
|
|
2310
|
-
}), s = e?.type === "object" ? t.artist : t.architects, c = [].concat(t.materials ?? []).filter(Boolean).join(", ");
|
|
2306
|
+
countryName: r
|
|
2307
|
+
}), o = e?.type === "object" ? t.artist : t.architects, s = [].concat(t.materials ?? []).filter(Boolean).join(", ");
|
|
2311
2308
|
return {
|
|
2312
|
-
name:
|
|
2313
|
-
detailName:
|
|
2314
|
-
dateLines: [n.date || P(t.dates ?? ""), n.dynasty || P(t.dynasty ?? "")].filter(Boolean).map(
|
|
2315
|
-
details: [
|
|
2316
|
-
artist:
|
|
2317
|
-
material:
|
|
2318
|
-
justification:
|
|
2309
|
+
name: Y(n.name ? P(n.name) : P(t.name ?? "")),
|
|
2310
|
+
detailName: Y(n.detail_name),
|
|
2311
|
+
dateLines: [n.date || P(t.dates ?? ""), n.dynasty || P(t.dynasty ?? "")].filter(Boolean).map(Y),
|
|
2312
|
+
details: [i, a].filter(Boolean).map(Y),
|
|
2313
|
+
artist: Y(n.artist || P(o ?? "")),
|
|
2314
|
+
material: Y(n.material || P(s)),
|
|
2315
|
+
justification: Y(n.justification)
|
|
2319
2316
|
};
|
|
2320
2317
|
}
|
|
2321
|
-
function
|
|
2318
|
+
function eo({ caption: e = {}, first: t = {}, record: n = {}, placement: r }) {
|
|
2322
2319
|
let i = (n, r = "") => e[n] || t[n] || r || "";
|
|
2323
2320
|
return {
|
|
2324
2321
|
name: P(i("name", n.name)),
|
|
@@ -2329,13 +2326,13 @@ function to({ caption: e = {}, first: t = {}, record: n = {}, placement: r }) {
|
|
|
2329
2326
|
i("museum"),
|
|
2330
2327
|
i("location", n.location)
|
|
2331
2328
|
].filter(Boolean),
|
|
2332
|
-
details: r ? [
|
|
2329
|
+
details: r ? [Qa(r)].filter(Boolean).map(Y) : [],
|
|
2333
2330
|
artist: i("artist", n.artist),
|
|
2334
2331
|
material: i("material"),
|
|
2335
2332
|
justification: e.justification || t.justification || ""
|
|
2336
2333
|
};
|
|
2337
2334
|
}
|
|
2338
|
-
function
|
|
2335
|
+
function to(e, t) {
|
|
2339
2336
|
return {
|
|
2340
2337
|
name: e.name || t.name,
|
|
2341
2338
|
detailName: e.detailName,
|
|
@@ -2346,17 +2343,17 @@ function no(e, t) {
|
|
|
2346
2343
|
justification: e.justification || t.justification
|
|
2347
2344
|
};
|
|
2348
2345
|
}
|
|
2349
|
-
function
|
|
2350
|
-
let
|
|
2346
|
+
function no({ item: e, own: t, caption: n = {}, countryName: r }) {
|
|
2347
|
+
let i = (e, t) => e ? Y(P(e)) : t;
|
|
2351
2348
|
return [
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
e?.type === "object" ?
|
|
2356
|
-
|
|
2349
|
+
i(n.name, P(t.name ?? "")),
|
|
2350
|
+
i(n.date, P(t.dates ?? "")),
|
|
2351
|
+
i(n.dynasty, Y(P(t.dynasty ?? ""))),
|
|
2352
|
+
e?.type === "object" ? i(n.museum, P(t.holder ?? "")) : "",
|
|
2353
|
+
i(n.location, Za(e, t, r))
|
|
2357
2354
|
];
|
|
2358
2355
|
}
|
|
2359
|
-
function
|
|
2356
|
+
function ro(e, { partnerName: t, partnerCountry: n, countryName: r }) {
|
|
2360
2357
|
let i = (e) => e ? r(e) : "";
|
|
2361
2358
|
return e.partner ? e.place ? [
|
|
2362
2359
|
t(e.partner),
|
|
@@ -2365,23 +2362,23 @@ function io(e, { partnerName: t, partnerCountry: n, countryName: r }) {
|
|
|
2365
2362
|
].filter(Boolean).join(", ") : [t(e.partner), i(n(e.partner))].filter(Boolean).join(", ") : [e.name, i(e.country)].filter(Boolean).join(", ");
|
|
2366
2363
|
}
|
|
2367
2364
|
// src/minisite/baroqueart/exhibition.js
|
|
2368
|
-
var
|
|
2365
|
+
var io = Ie.BAR, ao = [
|
|
2369
2366
|
"collections",
|
|
2370
2367
|
"items",
|
|
2371
2368
|
"countries",
|
|
2372
2369
|
"partners",
|
|
2373
2370
|
"glossary"
|
|
2374
|
-
],
|
|
2371
|
+
], oo = {
|
|
2375
2372
|
zoom: ["mwnfing", ""],
|
|
2376
2373
|
introZoom: ["BAR", "scrollbars=no,resize=no,width=565,height=435"]
|
|
2377
2374
|
};
|
|
2378
|
-
function
|
|
2379
|
-
let { pkg: e, data: t, tree: r } =
|
|
2380
|
-
b(d, (t) => Promise.all(
|
|
2381
|
-
let f = r.root, p = n(() => f.value ? r.children(f.value.id) : []), m = n(() =>
|
|
2375
|
+
function so() {
|
|
2376
|
+
let { pkg: e, data: t, tree: r } = Ve(), { locale: i, t: a } = B(), o = V(), s = o.minisite ?? {}, c = s.texts ?? io, l = (e) => a(`${c}.${e}`), u = T(), d = n(() => i.value);
|
|
2377
|
+
b(d, (t) => Promise.all(ao.flatMap((n) => [e.loadTranslations(n, t), e.loadTranslations(n, "en")])), { immediate: !0 });
|
|
2378
|
+
let f = r.root, p = n(() => f.value ? r.children(f.value.id) : []), m = n(() => xe(p.value, r.children));
|
|
2382
2379
|
function h(t) {
|
|
2383
2380
|
let n = e.translations("collections", d.value)[t] ?? {};
|
|
2384
|
-
return n.title_placeholder
|
|
2381
|
+
return n.title_placeholder === !0 ? {
|
|
2385
2382
|
...n,
|
|
2386
2383
|
title: ""
|
|
2387
2384
|
} : n;
|
|
@@ -2392,22 +2389,21 @@ function co() {
|
|
|
2392
2389
|
item: t.itemById.value.get(e.id),
|
|
2393
2390
|
own: t.tr("items", e.id, d.value),
|
|
2394
2391
|
caption: e.caption?.[d.value] ?? {},
|
|
2395
|
-
countryName: g
|
|
2396
|
-
noCountry: s.noCountry
|
|
2392
|
+
countryName: g
|
|
2397
2393
|
};
|
|
2398
2394
|
}
|
|
2399
2395
|
function v(e, n) {
|
|
2400
2396
|
let r = (n) => {
|
|
2401
|
-
if (!n.view) return
|
|
2397
|
+
if (!n.view) return $a(_(n.entry));
|
|
2402
2398
|
let r = e.variants[0];
|
|
2403
|
-
return
|
|
2399
|
+
return eo({
|
|
2404
2400
|
caption: n.view.caption?.[d.value] ?? {},
|
|
2405
2401
|
first: r.view ? r.view.caption?.[d.value] ?? {} : {},
|
|
2406
2402
|
record: n.view.id ? t.tr("items", n.view.id, d.value) : {},
|
|
2407
2403
|
placement: _(n.entry)
|
|
2408
2404
|
});
|
|
2409
2405
|
}, i = e?.variants[n];
|
|
2410
|
-
return i ?
|
|
2406
|
+
return i ? to(r(i), r(e.variants[0])) : null;
|
|
2411
2407
|
}
|
|
2412
2408
|
function y(n) {
|
|
2413
2409
|
let r = h(n).glossary_ids ?? [];
|
|
@@ -2441,55 +2437,52 @@ function co() {
|
|
|
2441
2437
|
picture: x,
|
|
2442
2438
|
href: S,
|
|
2443
2439
|
glossaryFor: y,
|
|
2444
|
-
pageAt: (e, t) =>
|
|
2445
|
-
slots:
|
|
2446
|
-
placementCaption: (e) =>
|
|
2440
|
+
pageAt: (e, t) => Se(m.value, e, t),
|
|
2441
|
+
slots: Ya,
|
|
2442
|
+
placementCaption: (e) => $a(_(e)),
|
|
2447
2443
|
viewCaption: v,
|
|
2448
|
-
introCaption: (e) =>
|
|
2444
|
+
introCaption: (e) => no(_(e)),
|
|
2449
2445
|
title: n(() => f.value ? h(f.value.id).title ?? "" : "")
|
|
2450
2446
|
};
|
|
2451
2447
|
}
|
|
2452
2448
|
// src/minisite/baroqueart/Home.vue
|
|
2453
|
-
var
|
|
2449
|
+
var co = { class: "mwnf-baroqueart-home" }, lo = { class: "mwnf-baroqueart-home__title" }, uo = ["innerHTML"], fo = { class: "mwnf-baroqueart-home__menu" }, po = {
|
|
2454
2450
|
key: 0,
|
|
2455
2451
|
class: "mwnf-baroqueart-home__menu2"
|
|
2456
|
-
},
|
|
2452
|
+
}, mo = { class: "mwnf-baroqueart-partners" }, ho = { class: "mwnf-baroqueart-partners__curators" }, go = { class: "mwnf-baroqueart-partners__line" }, _o = ["innerHTML"], vo = { class: "mwnf-baroqueart-partners__cooperation" }, yo = ["href"], bo = { class: "mwnf-baroqueart-partners__tab" }, xo = ["href"], So = ["src"], Co = {
|
|
2457
2453
|
key: 0,
|
|
2458
2454
|
class: "mwnf-baroqueart-partners__design"
|
|
2459
|
-
},
|
|
2455
|
+
}, wo = { class: "mwnf-baroqueart-partners__design-tab" }, To = { class: "mwnf-baroqueart-partners__design-tab" }, Eo = ["href"], Do = ["src"], Oo = {
|
|
2460
2456
|
__name: "Home",
|
|
2461
2457
|
setup(l) {
|
|
2462
|
-
let { label: f, lang: p, data: h, root: y, themes: C, text: w, title: T, settings: E, picture: D, glossaryFor: O } =
|
|
2458
|
+
let { label: f, lang: p, data: h, root: y, themes: C, text: w, title: T, settings: E, picture: D, glossaryFor: O } = so(), k = n(() => y.value ? h.mdInline(w(y.value.id).description, { glossary: O(y.value.id) }) : ""), A = n(() => (E.menuSecondColumnFrom ?? 1e400) - 1), j = n(() => C.value.slice(0, A.value).map((e, t) => ({
|
|
2463
2459
|
theme: e,
|
|
2464
2460
|
number: t + 1
|
|
2465
2461
|
}))), M = n(() => C.value.slice(A.value).map((e, t) => ({
|
|
2466
2462
|
theme: e,
|
|
2467
2463
|
number: A.value + t + 1
|
|
2468
|
-
}))), N = n(() => E.curators ?? []), P = (e) =>
|
|
2464
|
+
}))), N = n(() => E.curators ?? []), P = (e) => ro(e, {
|
|
2469
2465
|
partnerName: (e) => h.tr("partners", e, p.value).name,
|
|
2470
2466
|
partnerCountry: (e) => h.partnerById.value.get(e)?.country_id,
|
|
2471
2467
|
countryName: (e) => h.tr("countries", e, p.value).name
|
|
2472
|
-
}), F = (e) =>
|
|
2473
|
-
let e = y.value ? w(y.value.id) : {};
|
|
2474
|
-
return e.exhibition_credits ?? e.extra?.exhibition_credits ?? "";
|
|
2475
|
-
}), L = n(() => E.design ?? null), R = n(() => D(E.banner)), z = n(() => D(p.value === "ar" ? "legacy/home_bg_ar.jpg" : "legacy/home_bg.jpg"));
|
|
2468
|
+
}), F = (e) => Ne(e, E.partnerHref), I = n(() => (y.value ? w(y.value.id) : {}).exhibition_credits ?? ""), L = n(() => E.design ?? null), R = n(() => D(E.banner)), z = n(() => D(p.value === "ar" ? "legacy/home_bg_ar.jpg" : "legacy/home_bg.jpg"));
|
|
2476
2469
|
return b([T, p], () => {
|
|
2477
2470
|
document.title = [f("identity.windowTitle"), T.value].filter(Boolean).join(" | ");
|
|
2478
2471
|
}, { immediate: !0 }), (n, l) => {
|
|
2479
2472
|
let p = g("router-link");
|
|
2480
2473
|
return d(), a(e, null, [
|
|
2481
|
-
o("div",
|
|
2474
|
+
o("div", co, [
|
|
2482
2475
|
l[3] ||= o("div", { class: "mwnf-baroqueart-home__bg1" }, null, -1),
|
|
2483
2476
|
o("div", {
|
|
2484
2477
|
class: "mwnf-baroqueart-home__bg2",
|
|
2485
2478
|
style: u({ backgroundImage: z.value ? `url(${z.value})` : "none" })
|
|
2486
2479
|
}, null, 4),
|
|
2487
|
-
o("div",
|
|
2480
|
+
o("div", lo, _(v(T)), 1),
|
|
2488
2481
|
o("div", {
|
|
2489
2482
|
class: "mwnf-baroqueart-home__description",
|
|
2490
2483
|
innerHTML: k.value
|
|
2491
|
-
}, null, 8,
|
|
2492
|
-
o("div",
|
|
2484
|
+
}, null, 8, uo),
|
|
2485
|
+
o("div", fo, [o("div", null, [l[0] ||= s("> ", -1), c(p, { to: { name: "introduction" } }, {
|
|
2493
2486
|
default: x(() => [s(_(v(f)("home.introduction")), 1)]),
|
|
2494
2487
|
_: 1
|
|
2495
2488
|
})]), (d(!0), a(e, null, m(j.value, ({ theme: e, number: t }) => (d(), a("div", { key: e.id }, [l[1] ||= s(" > ", -1), c(p, { to: {
|
|
@@ -2499,7 +2492,7 @@ var lo = { class: "mwnf-baroqueart-home" }, uo = { class: "mwnf-baroqueart-home_
|
|
|
2499
2492
|
default: x(() => [s(_(v(w)(e.id).title), 1)]),
|
|
2500
2493
|
_: 2
|
|
2501
2494
|
}, 1032, ["to"])]))), 128))]),
|
|
2502
|
-
M.value.length ? (d(), a("div",
|
|
2495
|
+
M.value.length ? (d(), a("div", po, [(d(!0), a(e, null, m(M.value, ({ theme: e, number: t }) => (d(), a("div", { key: e.id }, [l[2] ||= s(" > ", -1), c(p, { to: {
|
|
2503
2496
|
name: "exhibition",
|
|
2504
2497
|
params: { theme: t }
|
|
2505
2498
|
} }, {
|
|
@@ -2507,14 +2500,14 @@ var lo = { class: "mwnf-baroqueart-home" }, uo = { class: "mwnf-baroqueart-home_
|
|
|
2507
2500
|
_: 2
|
|
2508
2501
|
}, 1032, ["to"])]))), 128))])) : i("", !0)
|
|
2509
2502
|
]),
|
|
2510
|
-
o("div",
|
|
2511
|
-
o("div",
|
|
2503
|
+
o("div", mo, [o("div", ho, [
|
|
2504
|
+
o("div", go, _(v(f)("home.curatedBy")), 1),
|
|
2512
2505
|
o("div", {
|
|
2513
2506
|
class: "mwnf-baroqueart-partners__tab",
|
|
2514
2507
|
innerHTML: v(h).mdInline(I.value)
|
|
2515
|
-
}, null, 8,
|
|
2516
|
-
o("div",
|
|
2517
|
-
o("div",
|
|
2508
|
+
}, null, 8, _o),
|
|
2509
|
+
o("div", vo, [s(_(v(f)("home.cooperation")) + " ", 1), o("a", { href: v(E).partnerListHref }, _(v(f)("home.partnerInstitutions")), 9, yo)]),
|
|
2510
|
+
o("div", bo, [(d(!0), a(e, null, m(N.value, (t, n) => (d(), a(e, { key: t.logo }, [
|
|
2518
2511
|
s(_(P(t)), 1),
|
|
2519
2512
|
l[4] ||= o("br", null, null, -1),
|
|
2520
2513
|
S((d(), a("a", {
|
|
@@ -2523,7 +2516,7 @@ var lo = { class: "mwnf-baroqueart-home" }, uo = { class: "mwnf-baroqueart-home_
|
|
|
2523
2516
|
}, [o("img", {
|
|
2524
2517
|
src: v(D)(t.logo),
|
|
2525
2518
|
alt: ""
|
|
2526
|
-
}, null, 8,
|
|
2519
|
+
}, null, 8, So)], 8, xo)), [[v(K), {
|
|
2527
2520
|
text: P(t),
|
|
2528
2521
|
width: 220
|
|
2529
2522
|
}]]),
|
|
@@ -2533,17 +2526,17 @@ var lo = { class: "mwnf-baroqueart-home" }, uo = { class: "mwnf-baroqueart-home_
|
|
|
2533
2526
|
style: u({ width: `${t.space ?? 0}px` })
|
|
2534
2527
|
}, null, 4)) : i("", !0)
|
|
2535
2528
|
], 64))), 128))])
|
|
2536
|
-
]), L.value ? (d(), a("div",
|
|
2529
|
+
]), L.value ? (d(), a("div", Co, [
|
|
2537
2530
|
s(_(v(f)("home.design")) + " ", 1),
|
|
2538
|
-
o("div",
|
|
2539
|
-
o("div",
|
|
2531
|
+
o("div", wo, _(L.value.name), 1),
|
|
2532
|
+
o("div", To, [o("a", {
|
|
2540
2533
|
href: L.value.href,
|
|
2541
2534
|
target: "_blank",
|
|
2542
2535
|
rel: "noopener"
|
|
2543
2536
|
}, [o("img", {
|
|
2544
2537
|
src: v(D)(L.value.logo),
|
|
2545
2538
|
alt: ""
|
|
2546
|
-
}, null, 8,
|
|
2539
|
+
}, null, 8, Do)], 8, Eo)])
|
|
2547
2540
|
])) : i("", !0)]),
|
|
2548
2541
|
R.value ? (d(), r(t, {
|
|
2549
2542
|
key: 0,
|
|
@@ -2557,31 +2550,31 @@ var lo = { class: "mwnf-baroqueart-home" }, uo = { class: "mwnf-baroqueart-home_
|
|
|
2557
2550
|
], 64);
|
|
2558
2551
|
};
|
|
2559
2552
|
}
|
|
2560
|
-
},
|
|
2553
|
+
}, ko = { class: "mwnf-baroqueart-download" }, Ao = ["src"], jo = ["src"], Mo = ["src"], No = {
|
|
2561
2554
|
__name: "Download",
|
|
2562
2555
|
props: { word: {
|
|
2563
2556
|
type: Function,
|
|
2564
2557
|
required: !0
|
|
2565
2558
|
} },
|
|
2566
2559
|
setup(e) {
|
|
2567
|
-
let { t } = B(), n = V(), r = (e) => H(n.chrome, e), i = (e) => t(`${n.minisite?.texts ??
|
|
2560
|
+
let { t } = B(), n = V(), r = (e) => H(n.chrome, e), i = (e) => t(`${n.minisite?.texts ?? io}.${e}`);
|
|
2568
2561
|
function c() {
|
|
2569
2562
|
window.print();
|
|
2570
2563
|
}
|
|
2571
|
-
return (t, n) => (d(), a("div",
|
|
2564
|
+
return (t, n) => (d(), a("div", ko, [
|
|
2572
2565
|
n[1] ||= o("br", null, null, -1),
|
|
2573
2566
|
o("img", {
|
|
2574
2567
|
src: r("legacy/print_dark.gif"),
|
|
2575
2568
|
alt: "",
|
|
2576
2569
|
width: "17",
|
|
2577
2570
|
height: "12"
|
|
2578
|
-
}, null, 8,
|
|
2571
|
+
}, null, 8, Ao),
|
|
2579
2572
|
s(" / " + _(i("download.heading")), 1),
|
|
2580
2573
|
n[2] ||= o("br", null, null, -1),
|
|
2581
2574
|
o("img", {
|
|
2582
2575
|
src: r("legacy/arrow_inner_black.gif"),
|
|
2583
2576
|
alt: ""
|
|
2584
|
-
}, null, 8,
|
|
2577
|
+
}, null, 8, jo),
|
|
2585
2578
|
o("a", {
|
|
2586
2579
|
href: "#",
|
|
2587
2580
|
onClick: C(c, ["prevent"])
|
|
@@ -2590,26 +2583,26 @@ var lo = { class: "mwnf-baroqueart-home" }, uo = { class: "mwnf-baroqueart-home_
|
|
|
2590
2583
|
o("img", {
|
|
2591
2584
|
src: r("legacy/arrow_inner_black.gif"),
|
|
2592
2585
|
alt: ""
|
|
2593
|
-
}, null, 8,
|
|
2586
|
+
}, null, 8, Mo),
|
|
2594
2587
|
o("a", {
|
|
2595
2588
|
href: "#",
|
|
2596
2589
|
onClick: n[0] ||= C((t) => e.word(), ["prevent"])
|
|
2597
2590
|
}, _(i("download.asWord")), 1)
|
|
2598
2591
|
]));
|
|
2599
2592
|
}
|
|
2600
|
-
},
|
|
2593
|
+
}, Po = { class: "mwnf-baroqueart-intro__title" }, Fo = { class: "mwnf-baroqueart-intro__nav mwnf-baroqueart-intro__nav--start" }, Io = { class: "mwnf-baroqueart-intro__nav mwnf-baroqueart-intro__nav--end" }, Lo = { class: "mwnf-baroqueart-intro__table" }, Ro = ["innerHTML"], zo = ["innerHTML"], Bo = { class: "mwnf-baroqueart-intro__side" }, Vo = ["href", "onClick"], Ho = ["src"], Uo = { key: 0 }, Wo = ["innerHTML"], Go = ["innerHTML"], Ko = {
|
|
2601
2594
|
__name: "Introduction",
|
|
2602
2595
|
setup(t) {
|
|
2603
|
-
let { label: l, lang: f, data: p, root: h, text: y, title: S, settings: w, picture: T, href: E, introCaption: D, slots: O, glossaryFor: k } =
|
|
2596
|
+
let { label: l, lang: f, data: p, root: h, text: y, title: S, settings: w, picture: T, href: E, introCaption: D, slots: O, glossaryFor: k } = so(), A = n(() => h.value ? y(h.value.id) : {}), j = n(() => h.value ? k(h.value.id) : []), M = n(() => A.value.intro_text ?? ""), N = n(() => A.value.intro_header ?? ""), P = n(() => p.md(M.value, { glossary: j.value })), F = n(() => p.mdInline(N.value)), I = n(() => O(h.value).flatMap((e) => e.variants).map(({ entry: e, image: t }) => ({
|
|
2604
2597
|
entry: e,
|
|
2605
2598
|
image: t,
|
|
2606
2599
|
lines: D(e)
|
|
2607
2600
|
})));
|
|
2608
2601
|
function L(e) {
|
|
2609
|
-
|
|
2602
|
+
Z(E({
|
|
2610
2603
|
name: "zoom",
|
|
2611
2604
|
query: { img: e }
|
|
2612
|
-
}),
|
|
2605
|
+
}), oo.introZoom);
|
|
2613
2606
|
}
|
|
2614
2607
|
let R = ee(j);
|
|
2615
2608
|
function z() {
|
|
@@ -2630,12 +2623,12 @@ var lo = { class: "mwnf-baroqueart-home" }, uo = { class: "mwnf-baroqueart-home_
|
|
|
2630
2623
|
class: "mwnf-baroqueart-intro",
|
|
2631
2624
|
style: u({ backgroundImage: B.value ? `url(${B.value})` : "none" })
|
|
2632
2625
|
}, [
|
|
2633
|
-
o("div",
|
|
2634
|
-
o("div",
|
|
2626
|
+
o("div", Po, _(v(S)), 1),
|
|
2627
|
+
o("div", Fo, [n[1] ||= s(" < ", -1), c(f, { to: { name: "home" } }, {
|
|
2635
2628
|
default: x(() => [s(_(v(l)("nav.entrance")), 1)]),
|
|
2636
2629
|
_: 1
|
|
2637
2630
|
})]),
|
|
2638
|
-
o("div",
|
|
2631
|
+
o("div", Io, [
|
|
2639
2632
|
n[2] ||= s(" < ", -1),
|
|
2640
2633
|
c(f, { to: { name: "home" } }, {
|
|
2641
2634
|
default: x(() => [s(_(v(l)("nav.previous")), 1)]),
|
|
@@ -2654,20 +2647,20 @@ var lo = { class: "mwnf-baroqueart-home" }, uo = { class: "mwnf-baroqueart-home_
|
|
|
2654
2647
|
}),
|
|
2655
2648
|
n[4] ||= s(" > ", -1)
|
|
2656
2649
|
]),
|
|
2657
|
-
o("div",
|
|
2650
|
+
o("div", Lo, [o("div", {
|
|
2658
2651
|
class: "mwnf-baroqueart-intro__text",
|
|
2659
2652
|
onClick: n[0] ||= (...e) => v(R).onClick && v(R).onClick(...e)
|
|
2660
2653
|
}, [
|
|
2661
2654
|
o("div", {
|
|
2662
2655
|
class: "mwnf-baroqueart-intro__header",
|
|
2663
2656
|
innerHTML: F.value
|
|
2664
|
-
}, null, 8,
|
|
2657
|
+
}, null, 8, Ro),
|
|
2665
2658
|
o("div", {
|
|
2666
2659
|
class: "mwnf-baroqueart-intro__content",
|
|
2667
2660
|
innerHTML: P.value
|
|
2668
|
-
}, null, 8,
|
|
2669
|
-
c(
|
|
2670
|
-
]), o("div",
|
|
2661
|
+
}, null, 8, zo),
|
|
2662
|
+
c(No, { word: z })
|
|
2663
|
+
]), o("div", Bo, [(d(!0), a(e, null, m(I.value, (t) => (d(), a("div", {
|
|
2671
2664
|
key: `${t.entry.id}-${t.entry.variant_order}`,
|
|
2672
2665
|
class: "mwnf-baroqueart-intro-item"
|
|
2673
2666
|
}, [t.image ? (d(), a(e, { key: 0 }, [o("a", {
|
|
@@ -2680,13 +2673,13 @@ var lo = { class: "mwnf-baroqueart-home" }, uo = { class: "mwnf-baroqueart-home_
|
|
|
2680
2673
|
class: "mwnf-baroqueart-intro-item__image",
|
|
2681
2674
|
src: t.image,
|
|
2682
2675
|
alt: ""
|
|
2683
|
-
}, null, 8,
|
|
2676
|
+
}, null, 8, Ho)], 8, Vo), n[5] ||= o("br", null, null, -1)], 64)) : i("", !0), (d(!0), a(e, null, m(t.lines.filter(Boolean), (n, r) => (d(), a(e, { key: r }, [r > 0 ? (d(), a("br", Uo)) : i("", !0), r === 0 && t.lines[0] ? (d(), a("strong", {
|
|
2684
2677
|
key: 1,
|
|
2685
2678
|
innerHTML: v(p).mdInline(n)
|
|
2686
|
-
}, null, 8,
|
|
2679
|
+
}, null, 8, Wo)) : (d(), a("span", {
|
|
2687
2680
|
key: 2,
|
|
2688
2681
|
innerHTML: v(p).mdInline(n)
|
|
2689
|
-
}, null, 8,
|
|
2682
|
+
}, null, 8, Go))], 64))), 128))]))), 128))])]),
|
|
2690
2683
|
v(R).active.value ? (d(), r(te, {
|
|
2691
2684
|
key: 0,
|
|
2692
2685
|
term: v(R).active.value,
|
|
@@ -2700,10 +2693,10 @@ var lo = { class: "mwnf-baroqueart-home" }, uo = { class: "mwnf-baroqueart-home_
|
|
|
2700
2693
|
], 4);
|
|
2701
2694
|
};
|
|
2702
2695
|
}
|
|
2703
|
-
},
|
|
2696
|
+
}, qo = { class: "mwnf-baroqueart-page__head" }, Jo = { class: "mwnf-baroqueart-page__title" }, Yo = { class: "mwnf-baroqueart-page__nav mwnf-baroqueart-page__nav--start" }, Xo = { class: "mwnf-baroqueart-page__nav mwnf-baroqueart-page__nav--end" }, Zo = { class: "mwnf-baroqueart-page__body" }, Qo = ["innerHTML"], $o = { class: "mwnf-baroqueart-page__thumbs" }, es = ["onClick"], ts = ["src"], ns = ["innerHTML"], rs = ["innerHTML"], is = { class: "mwnf-baroqueart-page__item" }, as = { class: "mwnf-baroqueart-page__image" }, os = ["src"], ss = {
|
|
2704
2697
|
key: 0,
|
|
2705
2698
|
class: "mwnf-baroqueart-page__caption"
|
|
2706
|
-
},
|
|
2699
|
+
}, cs = ["innerHTML"], ls = ["innerHTML"], us = { key: 0 }, ds = ["innerHTML"], fs = ["innerHTML"], ps = ["innerHTML"], ms = ["innerHTML"], hs = { key: 0 }, gs = ["onClick"], _s = ["src"], vs = ["innerHTML"], ys = { key: 1 }, bs = ["href"], xs = {
|
|
2707
2700
|
__name: "Page",
|
|
2708
2701
|
props: {
|
|
2709
2702
|
theme: {
|
|
@@ -2716,7 +2709,7 @@ var lo = { class: "mwnf-baroqueart-home" }, uo = { class: "mwnf-baroqueart-home_
|
|
|
2716
2709
|
}
|
|
2717
2710
|
},
|
|
2718
2711
|
setup(t) {
|
|
2719
|
-
let f = t, { label: h, lang: y, data: w, title: T, text: E, settings: D, picture: O, href: k, pageAt: A, slots: j, placementCaption: M, viewCaption: N, glossaryFor: P } =
|
|
2712
|
+
let f = t, { label: h, lang: y, data: w, title: T, text: E, settings: D, picture: O, href: k, pageAt: A, slots: j, placementCaption: M, viewCaption: N, glossaryFor: P } = so(), F = n(() => A(f.theme, f.page)), I = n(() => F.value ? E(F.value.node.id) : {}), L = n(() => F.value ? P(F.value.node.id) : []), R = n(() => F.value ? j(F.value.node) : []), z = n(() => I.value.quote ?? ""), B = p({
|
|
2720
2713
|
slot: 0,
|
|
2721
2714
|
variant: 0
|
|
2722
2715
|
});
|
|
@@ -2724,9 +2717,9 @@ var lo = { class: "mwnf-baroqueart-home" }, uo = { class: "mwnf-baroqueart-home_
|
|
|
2724
2717
|
slot: 0,
|
|
2725
2718
|
variant: 0
|
|
2726
2719
|
});
|
|
2727
|
-
let V = n(() => R.value[B.value.slot] ?? null), H = n(() => V.value?.variants[B.value.variant] ?? null), U = n(() =>
|
|
2720
|
+
let V = n(() => R.value[B.value.slot] ?? null), H = n(() => V.value?.variants[B.value.variant] ?? null), U = n(() => Ae(V.value, B.value.variant)), W = n(() => !V.value || !H.value ? null : {
|
|
2728
2721
|
...N(V.value, B.value.variant),
|
|
2729
|
-
sheetId:
|
|
2722
|
+
sheetId: ke(V.value, B.value.variant, (e) => w.itemById.value.get(e))
|
|
2730
2723
|
});
|
|
2731
2724
|
function G(e) {
|
|
2732
2725
|
B.value = {
|
|
@@ -2741,13 +2734,13 @@ var lo = { class: "mwnf-baroqueart-home" }, uo = { class: "mwnf-baroqueart-home_
|
|
|
2741
2734
|
};
|
|
2742
2735
|
}
|
|
2743
2736
|
function re() {
|
|
2744
|
-
U.value &&
|
|
2737
|
+
U.value && Z(k({
|
|
2745
2738
|
name: "zoom",
|
|
2746
2739
|
query: { img: U.value }
|
|
2747
|
-
}),
|
|
2740
|
+
}), oo.zoom);
|
|
2748
2741
|
}
|
|
2749
2742
|
let q = ee(L);
|
|
2750
|
-
function
|
|
2743
|
+
function J() {
|
|
2751
2744
|
ft({
|
|
2752
2745
|
documentTitle: D.documentTitle,
|
|
2753
2746
|
title: T.value,
|
|
@@ -2769,21 +2762,21 @@ var lo = { class: "mwnf-baroqueart-home" }, uo = { class: "mwnf-baroqueart-home_
|
|
|
2769
2762
|
f.page
|
|
2770
2763
|
].filter(Boolean).join(" | ");
|
|
2771
2764
|
}, { immediate: !0 });
|
|
2772
|
-
let
|
|
2765
|
+
let ie = n(() => O(y.value === "ar" ? "legacy/exhibition_bg_ar.jpg" : "legacy/exhibition_bg.jpg"));
|
|
2773
2766
|
return (t, n) => {
|
|
2774
2767
|
let f = g("router-link");
|
|
2775
2768
|
return F.value ? (d(), a("div", {
|
|
2776
2769
|
key: 0,
|
|
2777
2770
|
class: "mwnf-baroqueart-page",
|
|
2778
|
-
style: u({ backgroundImage:
|
|
2771
|
+
style: u({ backgroundImage: ie.value ? `url(${ie.value})` : "none" })
|
|
2779
2772
|
}, [
|
|
2780
|
-
o("div",
|
|
2781
|
-
o("div",
|
|
2782
|
-
o("div",
|
|
2773
|
+
o("div", qo, [
|
|
2774
|
+
o("div", Jo, _(v(T)), 1),
|
|
2775
|
+
o("div", Yo, [n[1] ||= s(" < ", -1), c(f, { to: { name: "home" } }, {
|
|
2783
2776
|
default: x(() => [s(_(v(h)("nav.entrance")), 1)]),
|
|
2784
2777
|
_: 1
|
|
2785
2778
|
})]),
|
|
2786
|
-
o("div",
|
|
2779
|
+
o("div", Xo, [
|
|
2787
2780
|
n[4] ||= s(" < ", -1),
|
|
2788
2781
|
c(f, { to: F.value.previous }, {
|
|
2789
2782
|
default: x(() => [s(_(v(h)("nav.previous")), 1)]),
|
|
@@ -2799,15 +2792,15 @@ var lo = { class: "mwnf-baroqueart-home" }, uo = { class: "mwnf-baroqueart-home_
|
|
|
2799
2792
|
], 64)) : i("", !0)
|
|
2800
2793
|
])
|
|
2801
2794
|
]),
|
|
2802
|
-
o("div",
|
|
2795
|
+
o("div", Zo, [o("div", {
|
|
2803
2796
|
class: "mwnf-baroqueart-page__text",
|
|
2804
2797
|
onClick: n[0] ||= (...e) => v(q).onClick && v(q).onClick(...e)
|
|
2805
2798
|
}, [
|
|
2806
2799
|
o("div", {
|
|
2807
2800
|
class: "mwnf-baroqueart-page__page-title",
|
|
2808
2801
|
innerHTML: v(w).mdInline(I.value.title)
|
|
2809
|
-
}, null, 8,
|
|
2810
|
-
o("div",
|
|
2802
|
+
}, null, 8, Qo),
|
|
2803
|
+
o("div", $o, [(d(!0), a(e, null, m(R.value, (e, t) => S((d(), a("a", {
|
|
2811
2804
|
key: e.n,
|
|
2812
2805
|
href: "#",
|
|
2813
2806
|
onClick: C((e) => G(t), ["prevent"])
|
|
@@ -2816,54 +2809,54 @@ var lo = { class: "mwnf-baroqueart-home" }, uo = { class: "mwnf-baroqueart-home_
|
|
|
2816
2809
|
src: e.variants[0].image,
|
|
2817
2810
|
alt: "",
|
|
2818
2811
|
height: "36"
|
|
2819
|
-
}, null, 8,
|
|
2812
|
+
}, null, 8, ts)) : i("", !0)], 8, es)), [[v(K), {
|
|
2820
2813
|
text: v(w).mdStrip(v(N)(e, 0).name),
|
|
2821
2814
|
width: 160
|
|
2822
2815
|
}]])), 128))]),
|
|
2823
2816
|
o("div", {
|
|
2824
|
-
class: l(["mwnf-baroqueart-page__quote", { "mwnf-baroqueart-page__quote--own-italics": v(
|
|
2817
|
+
class: l(["mwnf-baroqueart-page__quote", { "mwnf-baroqueart-page__quote--own-italics": v(Pe)(z.value) }]),
|
|
2825
2818
|
innerHTML: v(w).mdInline(z.value, { glossary: L.value })
|
|
2826
|
-
}, null, 10,
|
|
2819
|
+
}, null, 10, ns),
|
|
2827
2820
|
o("div", {
|
|
2828
2821
|
class: "mwnf-baroqueart-page__content",
|
|
2829
2822
|
innerHTML: v(w).md(I.value.description, { glossary: L.value })
|
|
2830
|
-
}, null, 8,
|
|
2831
|
-
c(
|
|
2832
|
-
]), o("div",
|
|
2823
|
+
}, null, 8, rs),
|
|
2824
|
+
c(No, { word: J })
|
|
2825
|
+
]), o("div", is, [o("div", as, [U.value ? S((d(), a("a", {
|
|
2833
2826
|
key: 0,
|
|
2834
2827
|
href: "#",
|
|
2835
2828
|
onClick: C(re, ["prevent"])
|
|
2836
2829
|
}, [o("img", {
|
|
2837
2830
|
src: U.value,
|
|
2838
2831
|
alt: ""
|
|
2839
|
-
}, null, 8,
|
|
2832
|
+
}, null, 8, os)])), [[v(K), { text: v(h)("item.showZoom") }]]) : i("", !0)]), W.value ? (d(), a("div", ss, [
|
|
2840
2833
|
o("div", null, [
|
|
2841
|
-
o("strong", { innerHTML: v(w).mdInline(W.value.name) }, null, 8,
|
|
2834
|
+
o("strong", { innerHTML: v(w).mdInline(W.value.name) }, null, 8, cs),
|
|
2842
2835
|
n[5] ||= o("br", null, null, -1),
|
|
2843
|
-
o("span", { innerHTML: v(w).mdInline(W.value.detailName) }, null, 8,
|
|
2836
|
+
o("span", { innerHTML: v(w).mdInline(W.value.detailName) }, null, 8, ls),
|
|
2844
2837
|
n[6] ||= o("br", null, null, -1),
|
|
2845
|
-
(d(!0), a(e, null, m(W.value.dateLines, (t, n) => (d(), a(e, { key: n }, [n > 0 ? (d(), a("br",
|
|
2838
|
+
(d(!0), a(e, null, m(W.value.dateLines, (t, n) => (d(), a(e, { key: n }, [n > 0 ? (d(), a("br", us)) : i("", !0), o("span", { innerHTML: v(w).mdInline(t) }, null, 8, ds)], 64))), 128))
|
|
2846
2839
|
]),
|
|
2847
|
-
o("div", null, [(d(!0), a(e, null, m(W.value.details, (t, r) => (d(), a(e, { key: r }, [o("span", { innerHTML: v(w).mdInline(t) }, null, 8,
|
|
2848
|
-
o("div", { innerHTML: v(w).mdInline(W.value.artist) }, null, 8,
|
|
2849
|
-
o("div", { innerHTML: v(w).mdInline(W.value.material) }, null, 8,
|
|
2850
|
-
V.value.variants.length > 1 ? (d(), a("div",
|
|
2840
|
+
o("div", null, [(d(!0), a(e, null, m(W.value.details, (t, r) => (d(), a(e, { key: r }, [o("span", { innerHTML: v(w).mdInline(t) }, null, 8, fs), n[7] ||= o("br", null, null, -1)], 64))), 128))]),
|
|
2841
|
+
o("div", { innerHTML: v(w).mdInline(W.value.artist) }, null, 8, ps),
|
|
2842
|
+
o("div", { innerHTML: v(w).mdInline(W.value.material) }, null, 8, ms),
|
|
2843
|
+
V.value.variants.length > 1 ? (d(), a("div", hs, [(d(!0), a(e, null, m(V.value.variants, (e, t) => S((d(), a("a", {
|
|
2851
2844
|
key: t,
|
|
2852
2845
|
href: "#",
|
|
2853
2846
|
onClick: C((e) => ne(t), ["prevent"])
|
|
2854
2847
|
}, [o("img", {
|
|
2855
2848
|
src: v(O)(t === B.value.variant ? "legacy/ico_item_selected.gif" : "legacy/ico_item.gif"),
|
|
2856
2849
|
alt: ""
|
|
2857
|
-
}, null, 8,
|
|
2850
|
+
}, null, 8, _s)], 8, gs)), [[v(K), { text: v(h)("item.showDetail") }]])), 128))])) : i("", !0),
|
|
2858
2851
|
o("div", {
|
|
2859
2852
|
class: "mwnf-baroqueart-page__justification",
|
|
2860
2853
|
innerHTML: v(w).mdInline(W.value.justification)
|
|
2861
|
-
}, null, 8,
|
|
2862
|
-
W.value.sheetId ? (d(), a("div",
|
|
2854
|
+
}, null, 8, vs),
|
|
2855
|
+
W.value.sheetId ? (d(), a("div", ys, [o("a", {
|
|
2863
2856
|
class: "mwnf-baroqueart-page__more",
|
|
2864
2857
|
href: v(D).itemHref?.(W.value.sheetId),
|
|
2865
2858
|
target: "_blank"
|
|
2866
|
-
}, "> " + _(v(h)("item.moreInfo")), 9,
|
|
2859
|
+
}, "> " + _(v(h)("item.moreInfo")), 9, bs)])) : i("", !0)
|
|
2867
2860
|
])) : i("", !0)])]),
|
|
2868
2861
|
v(q).active.value ? (d(), r(te, {
|
|
2869
2862
|
key: 0,
|
|
@@ -2878,50 +2871,50 @@ var lo = { class: "mwnf-baroqueart-home" }, uo = { class: "mwnf-baroqueart-home_
|
|
|
2878
2871
|
], 4)) : i("", !0);
|
|
2879
2872
|
};
|
|
2880
2873
|
}
|
|
2881
|
-
},
|
|
2874
|
+
}, Ss = { class: "mwnf-baroqueart-zoom" }, Cs = ["src"], ws = {
|
|
2882
2875
|
__name: "Zoom",
|
|
2883
2876
|
props: { image: {
|
|
2884
2877
|
type: String,
|
|
2885
2878
|
default: ""
|
|
2886
2879
|
} },
|
|
2887
2880
|
setup(e) {
|
|
2888
|
-
let t = e, { pages: r, root: o, slots: s } =
|
|
2889
|
-
return (e, t) => (d(), a("div",
|
|
2881
|
+
let t = e, { pages: r, root: o, slots: s } = so(), c = n(() => [o.value, ...r.value.map((e) => e.node)].filter(Boolean).flatMap((e) => s(e).flatMap((e) => e.variants.map((e) => e.image))).includes(t.image) ? t.image : "");
|
|
2882
|
+
return (e, t) => (d(), a("div", Ss, [c.value ? (d(), a("img", {
|
|
2890
2883
|
key: 0,
|
|
2891
2884
|
src: c.value,
|
|
2892
2885
|
alt: ""
|
|
2893
|
-
}, null, 8,
|
|
2886
|
+
}, null, 8, Cs)) : i("", !0)]));
|
|
2894
2887
|
}
|
|
2895
2888
|
};
|
|
2896
2889
|
// src/minisite/baroqueart/routes.js
|
|
2897
|
-
function
|
|
2890
|
+
function Ts(e) {
|
|
2898
2891
|
return [
|
|
2899
2892
|
{
|
|
2900
2893
|
path: "/",
|
|
2901
2894
|
name: "home",
|
|
2902
|
-
component:
|
|
2895
|
+
component: Oo,
|
|
2903
2896
|
meta: e("home", "collections", "partners", "countries")
|
|
2904
2897
|
},
|
|
2905
2898
|
{
|
|
2906
2899
|
path: "/introduction",
|
|
2907
2900
|
name: "introduction",
|
|
2908
|
-
component:
|
|
2909
|
-
meta: e("introduction", ...
|
|
2901
|
+
component: Ko,
|
|
2902
|
+
meta: e("introduction", ...He)
|
|
2910
2903
|
},
|
|
2911
2904
|
{
|
|
2912
2905
|
path: "/exhibition/:theme(\\d+)/:page(\\d+)?",
|
|
2913
2906
|
name: "exhibition",
|
|
2914
|
-
component:
|
|
2907
|
+
component: xs,
|
|
2915
2908
|
props: (e) => ({
|
|
2916
2909
|
theme: Number(e.params.theme),
|
|
2917
2910
|
page: Number(e.params.page || 1)
|
|
2918
2911
|
}),
|
|
2919
|
-
meta: e("exhibition", ...
|
|
2912
|
+
meta: e("exhibition", ...He)
|
|
2920
2913
|
},
|
|
2921
2914
|
{
|
|
2922
2915
|
path: "/zoom",
|
|
2923
2916
|
name: "zoom",
|
|
2924
|
-
component:
|
|
2917
|
+
component: ws,
|
|
2925
2918
|
props: (e) => ({ image: String(e.query.img ?? "") }),
|
|
2926
2919
|
meta: {
|
|
2927
2920
|
...e("zoom", "collections"),
|
|
@@ -2930,7 +2923,7 @@ function Es(e) {
|
|
|
2930
2923
|
}
|
|
2931
2924
|
];
|
|
2932
2925
|
}
|
|
2933
|
-
function
|
|
2926
|
+
function Es(e, t = io) {
|
|
2934
2927
|
return [
|
|
2935
2928
|
{
|
|
2936
2929
|
label: `${t}.menu.permanentCollection`,
|
|
@@ -2958,14 +2951,14 @@ function Ds(e, t = ao) {
|
|
|
2958
2951
|
}
|
|
2959
2952
|
];
|
|
2960
2953
|
}
|
|
2961
|
-
var
|
|
2962
|
-
function
|
|
2954
|
+
var Ds = "https://www.museumwnf.org/about/language-policy";
|
|
2955
|
+
function Os({ languages: e, parent: t, texts: n = io, menu: r }) {
|
|
2963
2956
|
let i = [
|
|
2964
2957
|
["aboutMwnf", M.about],
|
|
2965
2958
|
["contact", M.contact],
|
|
2966
2959
|
["legalNotice", M.legalNotice],
|
|
2967
2960
|
["credits", M.credits],
|
|
2968
|
-
["languagePolicy",
|
|
2961
|
+
["languagePolicy", Ds],
|
|
2969
2962
|
["cookies", M.cookies]
|
|
2970
2963
|
];
|
|
2971
2964
|
return {
|
|
@@ -2980,7 +2973,7 @@ function ks({ languages: e, parent: t, texts: n = ao, menu: r }) {
|
|
|
2980
2973
|
href: `${t}/#/`,
|
|
2981
2974
|
tip: `${n}.header.homeTip`
|
|
2982
2975
|
}],
|
|
2983
|
-
menu: r ??
|
|
2976
|
+
menu: r ?? Es(t, n),
|
|
2984
2977
|
footerLinks: i.map(([e, t]) => ({
|
|
2985
2978
|
label: `${n}.footer.${e}`,
|
|
2986
2979
|
href: t
|
|
@@ -2988,28 +2981,28 @@ function ks({ languages: e, parent: t, texts: n = ao, menu: r }) {
|
|
|
2988
2981
|
copyright: `${n}.footer.copyright`
|
|
2989
2982
|
};
|
|
2990
2983
|
}
|
|
2991
|
-
function
|
|
2984
|
+
function ks({ parent: e, ...t }) {
|
|
2992
2985
|
return {
|
|
2993
2986
|
parent: e,
|
|
2994
2987
|
itemHref: (t) => `${e}/#/item/${encodeURIComponent(t)}`,
|
|
2995
2988
|
partnerHref: (t) => `${e}/#/partner/${encodeURIComponent(t)}`,
|
|
2996
2989
|
partnerListHref: `${e}/#/partners`,
|
|
2997
|
-
texts:
|
|
2990
|
+
texts: io,
|
|
2998
2991
|
family: "BAR",
|
|
2999
2992
|
...t
|
|
3000
2993
|
};
|
|
3001
2994
|
}
|
|
3002
2995
|
// src/minisite/artintro/Home.vue
|
|
3003
|
-
var
|
|
2996
|
+
var As = ["innerHTML"], js = ["innerHTML"], Ms = ["innerHTML"], Ns = ["innerHTML"], Ps = { class: "mwnf-artintro-home__menu" }, Fs = {
|
|
3004
2997
|
key: 0,
|
|
3005
2998
|
class: "mwnf-artintro-home__menu2"
|
|
3006
|
-
},
|
|
2999
|
+
}, Is = {
|
|
3007
3000
|
key: 1,
|
|
3008
3001
|
class: "mwnf-artintro-home__icons"
|
|
3009
|
-
},
|
|
3002
|
+
}, Ls = { class: "mwnf-artintro-home__social" }, Rs = ["href"], zs = {
|
|
3010
3003
|
__name: "Home",
|
|
3011
3004
|
setup(t) {
|
|
3012
|
-
let { label: r, lang: l, data: f, root: p, themes: h, text: y, title: S, settings: C, picture: w, glossaryFor: T } =
|
|
3005
|
+
let { label: r, lang: l, data: f, root: p, themes: h, text: y, title: S, settings: C, picture: w, glossaryFor: T } = X(), E = n(() => p.value ? y(p.value.id) : {}), D = n(() => p.value ? f.mdInline(E.value.description, { glossary: T(p.value.id) }) : ""), O = n(() => (C.menuSecondColumnFrom ?? 1e400) - 1), k = n(() => h.value.slice(0, O.value).map((e, t) => ({
|
|
3013
3006
|
theme: e,
|
|
3014
3007
|
number: t + 1
|
|
3015
3008
|
}))), A = n(() => h.value.slice(O.value).map((e, t) => ({
|
|
@@ -3027,34 +3020,34 @@ var js = ["innerHTML"], Ms = ["innerHTML"], Ns = ["innerHTML"], Ps = ["innerHTML
|
|
|
3027
3020
|
o("div", {
|
|
3028
3021
|
class: "mwnf-artintro-home__title",
|
|
3029
3022
|
innerHTML: v(f).mdInline(v(S))
|
|
3030
|
-
}, null, 8,
|
|
3023
|
+
}, null, 8, As),
|
|
3031
3024
|
o("div", {
|
|
3032
3025
|
class: "mwnf-artintro-home__subtitle",
|
|
3033
3026
|
innerHTML: v(f).mdInline(v(ot)(E.value))
|
|
3034
|
-
}, null, 8,
|
|
3027
|
+
}, null, 8, js),
|
|
3035
3028
|
o("div", {
|
|
3036
3029
|
class: "mwnf-artintro-home__description",
|
|
3037
3030
|
innerHTML: D.value
|
|
3038
|
-
}, null, 8,
|
|
3031
|
+
}, null, 8, Ms),
|
|
3039
3032
|
o("div", {
|
|
3040
3033
|
class: "mwnf-artintro-home__credits",
|
|
3041
3034
|
innerHTML: v(f).mdInline(v(at)(E.value))
|
|
3042
|
-
}, null, 8,
|
|
3043
|
-
o("div",
|
|
3035
|
+
}, null, 8, Ns),
|
|
3036
|
+
o("div", Ps, [(d(!0), a(e, null, m(k.value, ({ theme: e, number: t }) => (d(), a("div", { key: e.id }, [c(r, { to: {
|
|
3044
3037
|
name: "page",
|
|
3045
3038
|
params: { theme: t }
|
|
3046
3039
|
} }, {
|
|
3047
3040
|
default: x(() => [s(_(v(y)(e.id).title), 1)]),
|
|
3048
3041
|
_: 2
|
|
3049
3042
|
}, 1032, ["to"])]))), 128))]),
|
|
3050
|
-
A.value.length ? (d(), a("div",
|
|
3043
|
+
A.value.length ? (d(), a("div", Fs, [(d(!0), a(e, null, m(A.value, ({ theme: e, number: t }) => (d(), a("div", { key: e.id }, [n[0] ||= s(" > ", -1), c(r, { to: {
|
|
3051
3044
|
name: "page",
|
|
3052
3045
|
params: { theme: t }
|
|
3053
3046
|
} }, {
|
|
3054
3047
|
default: x(() => [s(_(v(y)(e.id).title), 1)]),
|
|
3055
3048
|
_: 2
|
|
3056
3049
|
}, 1032, ["to"])]))), 128))])) : i("", !0),
|
|
3057
|
-
j.value.length ? (d(), a("div",
|
|
3050
|
+
j.value.length ? (d(), a("div", Is, [o("div", Ls, [(d(!0), a(e, null, m(j.value, (e) => (d(), a("a", {
|
|
3058
3051
|
key: e.href,
|
|
3059
3052
|
href: e.href,
|
|
3060
3053
|
target: "_blank",
|
|
@@ -3066,17 +3059,17 @@ var js = ["innerHTML"], Ms = ["innerHTML"], Ns = ["innerHTML"], Ps = ["innerHTML
|
|
|
3066
3059
|
width: `${e.aspect ?? 1}em`
|
|
3067
3060
|
}),
|
|
3068
3061
|
"aria-hidden": "true"
|
|
3069
|
-
}, null, 4)], 8,
|
|
3062
|
+
}, null, 4)], 8, Rs))), 128))]), n[1] ||= o("br", null, null, -1)])) : i("", !0)
|
|
3070
3063
|
], 4);
|
|
3071
3064
|
};
|
|
3072
3065
|
}
|
|
3073
|
-
},
|
|
3066
|
+
}, Bs = {
|
|
3074
3067
|
key: 0,
|
|
3075
3068
|
class: "mwnf-artintro-page"
|
|
3076
|
-
},
|
|
3069
|
+
}, Vs = { class: "mwnf-artintro-page__back" }, Hs = ["innerHTML"], Us = ["innerHTML"], Ws = { class: "mwnf-artintro-page__body" }, Gs = ["innerHTML"], Ks = { class: "mwnf-artintro-page__pages" }, qs = ["innerHTML"], Js = ["innerHTML"], Ys = ["innerHTML"], Xs = { class: "mwnf-artintro-page__item" }, Zs = { class: "mwnf-artintro-page__image" }, Qs = ["src"], $s = {
|
|
3077
3070
|
key: 0,
|
|
3078
3071
|
class: "mwnf-artintro-page__caption"
|
|
3079
|
-
},
|
|
3072
|
+
}, ec = ["innerHTML"], tc = { key: 0 }, nc = ["innerHTML"], rc = ["innerHTML"], ic = { key: 0 }, ac = ["onClick"], oc = ["src"], sc = ["innerHTML"], cc = { key: 1 }, lc = ["href"], uc = { class: "mwnf-artintro-page__thumbs" }, dc = ["onClick"], fc = ["src"], pc = {
|
|
3080
3073
|
__name: "Page",
|
|
3081
3074
|
props: {
|
|
3082
3075
|
theme: {
|
|
@@ -3089,7 +3082,7 @@ var js = ["innerHTML"], Ms = ["innerHTML"], Ns = ["innerHTML"], Ps = ["innerHTML
|
|
|
3089
3082
|
}
|
|
3090
3083
|
},
|
|
3091
3084
|
setup(t) {
|
|
3092
|
-
let f = t, { label: h, lang: y, data: w, root: T, title: E, text: D, settings: O, picture: k, href: A, pages: j, slots: M, viewCaption: N, glossaryFor: P } =
|
|
3085
|
+
let f = t, { label: h, lang: y, data: w, root: T, title: E, text: D, settings: O, picture: k, href: A, pages: j, slots: M, viewCaption: N, glossaryFor: P } = X(), F = n(() => j.value.find((e) => e.theme === f.theme && e.page === f.page) ?? null), I = n(() => j.value.filter((e) => e.theme === f.theme)), L = n(() => F.value ? D(F.value.node.id) : {}), R = n(() => F.value ? P(F.value.node.id) : []), z = n(() => F.value ? M(F.value.node) : []), B = n(() => L.value.quote ?? ""), V = n(() => T.value ? ot(D(T.value.id)) : ""), H = p({
|
|
3093
3086
|
slot: 0,
|
|
3094
3087
|
variant: 0
|
|
3095
3088
|
});
|
|
@@ -3097,9 +3090,9 @@ var js = ["innerHTML"], Ms = ["innerHTML"], Ns = ["innerHTML"], Ps = ["innerHTML
|
|
|
3097
3090
|
slot: 0,
|
|
3098
3091
|
variant: 0
|
|
3099
3092
|
});
|
|
3100
|
-
let U = n(() => z.value[H.value.slot] ?? null), W = n(() =>
|
|
3093
|
+
let U = n(() => z.value[H.value.slot] ?? null), W = n(() => Ae(U.value, H.value.variant)), G = n(() => U.value?.variants[H.value.variant] ? {
|
|
3101
3094
|
...N(U.value, H.value.variant),
|
|
3102
|
-
sheetId:
|
|
3095
|
+
sheetId: ke(U.value, H.value.variant, (e) => w.itemById.value.get(e))
|
|
3103
3096
|
} : null);
|
|
3104
3097
|
function ne(e) {
|
|
3105
3098
|
H.value = {
|
|
@@ -3114,37 +3107,37 @@ var js = ["innerHTML"], Ms = ["innerHTML"], Ns = ["innerHTML"], Ps = ["innerHTML
|
|
|
3114
3107
|
};
|
|
3115
3108
|
}
|
|
3116
3109
|
function q() {
|
|
3117
|
-
W.value &&
|
|
3110
|
+
W.value && Z(A({
|
|
3118
3111
|
name: "zoom",
|
|
3119
3112
|
query: { img: W.value }
|
|
3120
|
-
}),
|
|
3113
|
+
}), Ue.zoom);
|
|
3121
3114
|
}
|
|
3122
|
-
let
|
|
3115
|
+
let J = ee(R), ie = n(() => k("legacy/page_block1_bg.gif"));
|
|
3123
3116
|
return b([E, y], () => {
|
|
3124
3117
|
document.title = [h("identity.windowTitle"), E.value].filter(Boolean).join(" | ");
|
|
3125
3118
|
}, { immediate: !0 }), (n, f) => {
|
|
3126
3119
|
let p = g("router-link");
|
|
3127
|
-
return F.value ? (d(), a("div",
|
|
3120
|
+
return F.value ? (d(), a("div", Bs, [
|
|
3128
3121
|
o("div", {
|
|
3129
3122
|
class: "mwnf-artintro-page__head",
|
|
3130
|
-
style: u({ backgroundImage:
|
|
3131
|
-
}, [o("div",
|
|
3123
|
+
style: u({ backgroundImage: ie.value ? `url(${ie.value})` : "none" })
|
|
3124
|
+
}, [o("div", Vs, [f[2] ||= s(" < ", -1), c(p, { to: { name: "home" } }, {
|
|
3132
3125
|
default: x(() => [
|
|
3133
|
-
o("span", { innerHTML: v(w).mdInline(V.value) }, null, 8,
|
|
3126
|
+
o("span", { innerHTML: v(w).mdInline(V.value) }, null, 8, Hs),
|
|
3134
3127
|
f[1] ||= s(" | ", -1),
|
|
3135
|
-
o("span", { innerHTML: v(w).mdInline(v(E)) }, null, 8,
|
|
3128
|
+
o("span", { innerHTML: v(w).mdInline(v(E)) }, null, 8, Us)
|
|
3136
3129
|
]),
|
|
3137
3130
|
_: 1
|
|
3138
3131
|
})])], 4),
|
|
3139
|
-
o("div",
|
|
3132
|
+
o("div", Ws, [o("div", {
|
|
3140
3133
|
class: "mwnf-artintro-page__text",
|
|
3141
|
-
onClick: f[0] ||= (...e) => v(
|
|
3134
|
+
onClick: f[0] ||= (...e) => v(J).onClick && v(J).onClick(...e)
|
|
3142
3135
|
}, [
|
|
3143
3136
|
o("div", {
|
|
3144
3137
|
class: "mwnf-artintro-page__title",
|
|
3145
3138
|
innerHTML: v(w).mdInline(v(D)(F.value.themeNode.id).title)
|
|
3146
|
-
}, null, 8,
|
|
3147
|
-
o("div",
|
|
3139
|
+
}, null, 8, Gs),
|
|
3140
|
+
o("div", Ks, [(d(!0), a(e, null, m(I.value, (n, r) => (d(), a(e, { key: n.node.id }, [r > 0 ? (d(), a(e, { key: 0 }, [s(" / ")], 64)) : i("", !0), c(p, {
|
|
3148
3141
|
to: {
|
|
3149
3142
|
name: "page",
|
|
3150
3143
|
params: {
|
|
@@ -3154,51 +3147,51 @@ var js = ["innerHTML"], Ms = ["innerHTML"], Ns = ["innerHTML"], Ps = ["innerHTML
|
|
|
3154
3147
|
},
|
|
3155
3148
|
class: l(n.page === t.page ? "mwnf-artintro-page__current" : "mwnf-artintro-page__other")
|
|
3156
3149
|
}, {
|
|
3157
|
-
default: x(() => [o("span", { innerHTML: v(w).mdInline(v(D)(n.node.id).title) }, null, 8,
|
|
3150
|
+
default: x(() => [o("span", { innerHTML: v(w).mdInline(v(D)(n.node.id).title) }, null, 8, qs)]),
|
|
3158
3151
|
_: 2
|
|
3159
3152
|
}, 1032, ["to", "class"])], 64))), 128))]),
|
|
3160
3153
|
o("div", {
|
|
3161
|
-
class: l(["mwnf-artintro-page__quote", { "mwnf-artintro-page__quote--own-italics": v(
|
|
3154
|
+
class: l(["mwnf-artintro-page__quote", { "mwnf-artintro-page__quote--own-italics": v(Pe)(B.value) }]),
|
|
3162
3155
|
innerHTML: v(w).mdInline(B.value, { glossary: R.value })
|
|
3163
|
-
}, null, 10,
|
|
3156
|
+
}, null, 10, Js),
|
|
3164
3157
|
o("div", {
|
|
3165
3158
|
class: "mwnf-artintro-page__content",
|
|
3166
3159
|
innerHTML: v(w).md(L.value.description, { glossary: R.value })
|
|
3167
|
-
}, null, 8,
|
|
3168
|
-
]), o("div",
|
|
3169
|
-
o("div",
|
|
3160
|
+
}, null, 8, Ys)
|
|
3161
|
+
]), o("div", Xs, [
|
|
3162
|
+
o("div", Zs, [W.value ? S((d(), a("a", {
|
|
3170
3163
|
key: 0,
|
|
3171
3164
|
href: "#",
|
|
3172
3165
|
onClick: C(q, ["prevent"])
|
|
3173
3166
|
}, [o("img", {
|
|
3174
3167
|
src: W.value,
|
|
3175
3168
|
alt: ""
|
|
3176
|
-
}, null, 8,
|
|
3177
|
-
G.value ? (d(), a("div",
|
|
3169
|
+
}, null, 8, Qs)])), [[v(K), { text: v(h)("item.showZoom") }]]) : i("", !0)]),
|
|
3170
|
+
G.value ? (d(), a("div", $s, [
|
|
3178
3171
|
o("div", null, [
|
|
3179
|
-
o("strong", { innerHTML: v(w).mdInline(G.value.name) }, null, 8,
|
|
3172
|
+
o("strong", { innerHTML: v(w).mdInline(G.value.name) }, null, 8, ec),
|
|
3180
3173
|
f[3] ||= o("br", null, null, -1),
|
|
3181
|
-
(d(!0), a(e, null, m(G.value.dateLines, (t, n) => (d(), a(e, { key: n }, [n > 0 ? (d(), a("br",
|
|
3174
|
+
(d(!0), a(e, null, m(G.value.dateLines, (t, n) => (d(), a(e, { key: n }, [n > 0 ? (d(), a("br", tc)) : i("", !0), o("span", { innerHTML: v(w).mdInline(t) }, null, 8, nc)], 64))), 128))
|
|
3182
3175
|
]),
|
|
3183
|
-
o("div", null, [(d(!0), a(e, null, m(G.value.details, (t, n) => (d(), a(e, { key: n }, [o("span", { innerHTML: v(w).mdInline(t) }, null, 8,
|
|
3184
|
-
U.value.variants.length > 1 ? (d(), a("div",
|
|
3176
|
+
o("div", null, [(d(!0), a(e, null, m(G.value.details, (t, n) => (d(), a(e, { key: n }, [o("span", { innerHTML: v(w).mdInline(t) }, null, 8, rc), f[4] ||= o("br", null, null, -1)], 64))), 128))]),
|
|
3177
|
+
U.value.variants.length > 1 ? (d(), a("div", ic, [(d(!0), a(e, null, m(U.value.variants, (e, t) => S((d(), a("a", {
|
|
3185
3178
|
key: t,
|
|
3186
3179
|
href: "#",
|
|
3187
3180
|
onClick: C((e) => re(t), ["prevent"])
|
|
3188
3181
|
}, [o("img", {
|
|
3189
3182
|
src: v(k)(t === H.value.variant ? "legacy/ico_item_selected.gif" : "legacy/ico_item.gif"),
|
|
3190
3183
|
alt: ""
|
|
3191
|
-
}, null, 8,
|
|
3184
|
+
}, null, 8, oc)], 8, ac)), [[v(K), { text: v(h)("item.showDetail") }]])), 128))])) : i("", !0),
|
|
3192
3185
|
o("div", {
|
|
3193
3186
|
class: "mwnf-artintro-page__justification",
|
|
3194
3187
|
innerHTML: v(w).mdInline(G.value.justification)
|
|
3195
|
-
}, null, 8,
|
|
3196
|
-
G.value.sheetId ? (d(), a("div",
|
|
3188
|
+
}, null, 8, sc),
|
|
3189
|
+
G.value.sheetId ? (d(), a("div", cc, [o("a", {
|
|
3197
3190
|
class: "mwnf-artintro-page__more",
|
|
3198
3191
|
href: v(O).itemHref?.(G.value.sheetId)
|
|
3199
|
-
}, "> " + _(v(h)("item.moreInfo")), 9,
|
|
3192
|
+
}, "> " + _(v(h)("item.moreInfo")), 9, lc)])) : i("", !0)
|
|
3200
3193
|
])) : i("", !0),
|
|
3201
|
-
o("div",
|
|
3194
|
+
o("div", uc, [(d(!0), a(e, null, m(z.value, (e, t) => S((d(), a("a", {
|
|
3202
3195
|
key: `${e.n}-${e.variants[0].entry.id}`,
|
|
3203
3196
|
href: "#",
|
|
3204
3197
|
onClick: C((e) => ne(t), ["prevent"])
|
|
@@ -3207,16 +3200,16 @@ var js = ["innerHTML"], Ms = ["innerHTML"], Ns = ["innerHTML"], Ps = ["innerHTML
|
|
|
3207
3200
|
src: e.variants[0].image,
|
|
3208
3201
|
alt: "",
|
|
3209
3202
|
height: "36"
|
|
3210
|
-
}, null, 8,
|
|
3203
|
+
}, null, 8, fc)) : i("", !0)], 8, dc)), [[v(K), {
|
|
3211
3204
|
text: v(w).mdStrip(v(N)(e, 0).name),
|
|
3212
3205
|
width: 160
|
|
3213
3206
|
}]])), 128))])
|
|
3214
3207
|
])]),
|
|
3215
|
-
v(
|
|
3208
|
+
v(J).active.value ? (d(), r(te, {
|
|
3216
3209
|
key: 0,
|
|
3217
|
-
term: v(
|
|
3218
|
-
html: v(w).md(v(
|
|
3219
|
-
onClose: v(
|
|
3210
|
+
term: v(J).active.value,
|
|
3211
|
+
html: v(w).md(v(J).active.value.definition),
|
|
3212
|
+
onClose: v(J).close
|
|
3220
3213
|
}, null, 8, [
|
|
3221
3214
|
"term",
|
|
3222
3215
|
"html",
|
|
@@ -3227,23 +3220,23 @@ var js = ["innerHTML"], Ms = ["innerHTML"], Ns = ["innerHTML"], Ps = ["innerHTML
|
|
|
3227
3220
|
}
|
|
3228
3221
|
};
|
|
3229
3222
|
// src/minisite/artintro/routes.js
|
|
3230
|
-
function
|
|
3223
|
+
function mc(e) {
|
|
3231
3224
|
return [
|
|
3232
3225
|
{
|
|
3233
3226
|
path: "/",
|
|
3234
3227
|
name: "home",
|
|
3235
|
-
component:
|
|
3228
|
+
component: zs,
|
|
3236
3229
|
meta: e("home", "collections")
|
|
3237
3230
|
},
|
|
3238
3231
|
{
|
|
3239
3232
|
path: "/page/:theme(\\d+)/:page(\\d+)?",
|
|
3240
3233
|
name: "page",
|
|
3241
|
-
component:
|
|
3234
|
+
component: pc,
|
|
3242
3235
|
props: (e) => ({
|
|
3243
3236
|
theme: Number(e.params.theme),
|
|
3244
3237
|
page: Number(e.params.page || 1)
|
|
3245
3238
|
}),
|
|
3246
|
-
meta: e("page", ...
|
|
3239
|
+
meta: e("page", ...He)
|
|
3247
3240
|
},
|
|
3248
3241
|
{
|
|
3249
3242
|
path: "/zoom",
|
|
@@ -3257,7 +3250,7 @@ function hc(e) {
|
|
|
3257
3250
|
}
|
|
3258
3251
|
];
|
|
3259
3252
|
}
|
|
3260
|
-
function
|
|
3253
|
+
function hc({ languages: e, parent: t, texts: n = Ie.GAI }) {
|
|
3261
3254
|
let r = [
|
|
3262
3255
|
["aboutMwnf", M.about],
|
|
3263
3256
|
["contact", M.contact],
|
|
@@ -3286,7 +3279,7 @@ function gc({ languages: e, parent: t, texts: n = Le.GAI }) {
|
|
|
3286
3279
|
copyright: `${n}.footer.copyright`
|
|
3287
3280
|
};
|
|
3288
3281
|
}
|
|
3289
|
-
function
|
|
3282
|
+
function gc({ parent: e, ...t }) {
|
|
3290
3283
|
return {
|
|
3291
3284
|
parent: e,
|
|
3292
3285
|
family: "GAI",
|
|
@@ -3295,15 +3288,15 @@ function _c({ parent: e, ...t }) {
|
|
|
3295
3288
|
};
|
|
3296
3289
|
}
|
|
3297
3290
|
// src/minisite/config.js
|
|
3298
|
-
function
|
|
3291
|
+
function _c(e, t) {
|
|
3299
3292
|
let n = String(e ?? "").replace(/\/+$/, "");
|
|
3300
3293
|
return `${n.slice(0, n.lastIndexOf("/"))}/${t}`;
|
|
3301
3294
|
}
|
|
3302
|
-
function
|
|
3295
|
+
function vc() {
|
|
3303
3296
|
let e = z().manifest.site?.parent?.url;
|
|
3304
3297
|
return typeof e == "string" && e ? e.replace(/\/?#\/?$/, "").replace(/\/+$/, "") : null;
|
|
3305
3298
|
}
|
|
3306
|
-
function
|
|
3299
|
+
function yc({ datasetPackage: e, origin: t, siteName: n, chrome: r = {} }, i) {
|
|
3307
3300
|
let { manifest: a } = z();
|
|
3308
3301
|
return {
|
|
3309
3302
|
datasetPackage: e,
|
|
@@ -3315,11 +3308,11 @@ function bc({ datasetPackage: e, origin: t, siteName: n, chrome: r = {} }, i) {
|
|
|
3315
3308
|
legacyRoutes: []
|
|
3316
3309
|
};
|
|
3317
3310
|
}
|
|
3318
|
-
function
|
|
3319
|
-
let n = N({ entity: "collections" }), r =
|
|
3311
|
+
function bc({ exhibition: e = {}, ...t }) {
|
|
3312
|
+
let n = N({ entity: "collections" }), r = vc() ?? _c(t.origin, "islamicart");
|
|
3320
3313
|
return {
|
|
3321
|
-
...
|
|
3322
|
-
shell:
|
|
3314
|
+
...yc(t, n),
|
|
3315
|
+
shell: _e,
|
|
3323
3316
|
navigation: xn({
|
|
3324
3317
|
languages: k(n),
|
|
3325
3318
|
parent: r
|
|
@@ -3333,55 +3326,54 @@ function xc({ exhibition: e = {}, ...t }) {
|
|
|
3333
3326
|
picture: (e, t) => t ? `legacy/map${t}_${e}.jpg` : `legacy/map_${e}.jpg`,
|
|
3334
3327
|
count: e.maps
|
|
3335
3328
|
} : null,
|
|
3336
|
-
noCountry: e.noCountry ??
|
|
3329
|
+
noCountry: e.noCountry ?? be,
|
|
3337
3330
|
documentTitle: e.documentTitle ?? "MWNF DISCOVER ISLAMIC ART: Exhibition"
|
|
3338
3331
|
}),
|
|
3339
|
-
views: { home:
|
|
3332
|
+
views: { home: tt },
|
|
3340
3333
|
extraViews: yn(I())
|
|
3341
3334
|
};
|
|
3342
3335
|
}
|
|
3343
|
-
function
|
|
3344
|
-
let n = N({ entity: "collections" }), r =
|
|
3336
|
+
function xc({ exhibition: e = {}, ...t }) {
|
|
3337
|
+
let n = N({ entity: "collections" }), r = vc() ?? _c(t.origin, "islamicart");
|
|
3345
3338
|
return {
|
|
3346
|
-
...
|
|
3347
|
-
shell:
|
|
3348
|
-
navigation:
|
|
3339
|
+
...yc(t, n),
|
|
3340
|
+
shell: _e,
|
|
3341
|
+
navigation: hc({
|
|
3349
3342
|
languages: k(n),
|
|
3350
3343
|
parent: r
|
|
3351
3344
|
}),
|
|
3352
|
-
minisite:
|
|
3345
|
+
minisite: gc({
|
|
3353
3346
|
parent: r,
|
|
3354
3347
|
menuSecondColumnFrom: e.menuSecondColumnFrom,
|
|
3355
3348
|
social: e.social,
|
|
3356
|
-
noCountry: e.noCountry ??
|
|
3349
|
+
noCountry: e.noCountry ?? be
|
|
3357
3350
|
}),
|
|
3358
|
-
views: { home:
|
|
3359
|
-
extraViews:
|
|
3351
|
+
views: { home: zs },
|
|
3352
|
+
extraViews: mc(I())
|
|
3360
3353
|
};
|
|
3361
3354
|
}
|
|
3362
|
-
function
|
|
3363
|
-
let n = N(), r =
|
|
3355
|
+
function Sc({ exhibition: e = {}, ...t }) {
|
|
3356
|
+
let n = N(), r = vc() ?? _c(t.origin, "baroqueart");
|
|
3364
3357
|
return {
|
|
3365
|
-
...
|
|
3358
|
+
...yc(t, n),
|
|
3366
3359
|
shell: Ja,
|
|
3367
|
-
navigation:
|
|
3360
|
+
navigation: Os({
|
|
3368
3361
|
languages: k(n),
|
|
3369
3362
|
parent: r
|
|
3370
3363
|
}),
|
|
3371
|
-
minisite:
|
|
3364
|
+
minisite: ks({
|
|
3372
3365
|
parent: r,
|
|
3373
3366
|
menuSecondColumnFrom: e.menuSecondColumnFrom,
|
|
3374
3367
|
curators: e.curators,
|
|
3375
3368
|
design: e.design,
|
|
3376
3369
|
banner: e.banner,
|
|
3377
|
-
noCountry: e.noCountry ?? Ya,
|
|
3378
3370
|
documentTitle: e.documentTitle ?? "MWNF DISCOVER BAROQUE ART - Exhibition"
|
|
3379
3371
|
}),
|
|
3380
|
-
views: { home:
|
|
3381
|
-
extraViews:
|
|
3372
|
+
views: { home: Oo },
|
|
3373
|
+
extraViews: Ts(I())
|
|
3382
3374
|
};
|
|
3383
3375
|
}
|
|
3384
|
-
function
|
|
3376
|
+
function Cc(e, t, n = []) {
|
|
3385
3377
|
return !Array.isArray(e) || e.length === 0 ? n : e.map((e) => {
|
|
3386
3378
|
let n = e.names ?? {};
|
|
3387
3379
|
return {
|
|
@@ -3390,10 +3382,10 @@ function wc(e, t, n = []) {
|
|
|
3390
3382
|
};
|
|
3391
3383
|
}).filter((e) => e.text).sort((e, t) => e.text.localeCompare(t.text, "en"));
|
|
3392
3384
|
}
|
|
3393
|
-
function
|
|
3394
|
-
let n = N(), r =
|
|
3385
|
+
function wc({ exhibition: e = {}, ...t }) {
|
|
3386
|
+
let n = N(), r = _c(t.origin, "sharinghistory"), i = Cc(z().manifest.site?.parent?.profiles, r, e.profiles);
|
|
3395
3387
|
return {
|
|
3396
|
-
...
|
|
3388
|
+
...yc(t, n),
|
|
3397
3389
|
shell: Un,
|
|
3398
3390
|
navigation: Aa({
|
|
3399
3391
|
languages: k(n),
|
|
@@ -3408,4 +3400,4 @@ function Tc({ exhibition: e = {}, ...t }) {
|
|
|
3408
3400
|
extraViews: Oa(I())
|
|
3409
3401
|
};
|
|
3410
3402
|
}
|
|
3411
|
-
export {
|
|
3403
|
+
export { zs as ArtIntroHome, pc as ArtIntroPage, io as BAROQUEART_LABELS, oo as BAROQUEART_WINDOWS, Oo as BaroqueartHome, Ko as BaroqueartIntroduction, xs as BaroqueartPage, Ja as BaroqueartShell, ws as BaroqueartZoom, He as EXHIBITION_ENTITIES, Fe as FAMILY_CODES, be as ISLAMICART_NO_COUNTRY, Ie as LABELS, dn as MinisiteCredits, tt as MinisiteHome, Pt as MinisiteIntroduction, hn as MinisiteMap, cn as MinisitePage, _e as MinisiteShell, vn as MinisiteZoom, ye as PLACEHOLDER_TITLE, Wn as SHARINGHISTORY_LABELS, tr as SHARINGHISTORY_WINDOWS, Sa as SharingHistoryFurtherReading, Pr as SharingHistoryHome, bi as SharingHistoryIntroduction, da as SharingHistoryPage, Un as SharingHistoryShell, wa as SharingHistoryWindow, Ea as SharingHistoryZoom, xc as artintroConfig, hc as artintroNavigation, mc as artintroRoutes, gc as artintroSettings, $a as baroqueartCaption, ro as baroqueartCuratorLabel, eo as baroqueartDetailViewCaption, no as baroqueartIntroCaption, Es as baroqueartMenu, Sc as baroqueartMinisiteConfig, Os as baroqueartNavigation, Ts as baroqueartRoutes, ks as baroqueartSettings, Ya as baroqueartSlotsOf, to as baroqueartWithFirstView, Y as cleanText, Me as curatorLabel, Ne as curatorLink, Ve as exhibitionData, Le as familyOf, je as introCaption, rt as introductionOf, bn as islamicartMenu, Re as labelSet, bc as minisiteConfig, xn as minisiteNavigation, yn as minisiteRoutes, Sn as minisiteSettings, vc as packageParent, Se as pageWithNeighbours, Cc as parentProfiles, _c as parentSite, De as placementCaption, Pe as quoteHasItalics, xe as readingOrder, Qn as sharinghistoryCaption, $n as sharinghistoryHomeLogos, Jn as sharinghistoryListedSubthemes, qn as sharinghistoryListedThemes, wc as sharinghistoryMinisiteConfig, Aa as sharinghistoryNavigation, Yn as sharinghistoryPageRoute, Xn as sharinghistoryPageWithNext, Kn as sharinghistoryReadingOrder, er as sharinghistoryRelatedLinks, Oa as sharinghistoryRoutes, ja as sharinghistorySettings, Zn as sharinghistorySlotsOf, ke as sheetItemId, Ce as slotsOf, ot as subtitleOf, so as useBaroqueartExhibition, X as useExhibition, $ as useSharingHistoryExhibition, Ae as viewPicture, Oe as withFirstView };
|