@museumwnf/viewer-layout 3.13.2 → 3.14.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/dist/minisite.js +424 -127
- package/dist/viewer-layout.css +1 -1
- package/package.json +1 -1
package/dist/minisite.js
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
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 ee, useI18n as L, useSiteConfig as R } from "@museumwnf/viewer-core";
|
|
5
|
+
import { useRoute as z, useRouter as B } from "vue-router";
|
|
6
6
|
//#region src/minisite/tip.js
|
|
7
|
-
var
|
|
7
|
+
var V = 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 H(e) {
|
|
15
|
+
V.x = e.pageX, V.y = e.pageY;
|
|
16
16
|
}
|
|
17
|
-
function
|
|
17
|
+
function U(e, t) {
|
|
18
18
|
e.__tip = t.value;
|
|
19
19
|
}
|
|
20
|
-
var
|
|
20
|
+
var W = {
|
|
21
21
|
mounted(e, t) {
|
|
22
|
-
|
|
22
|
+
U(e, t), e.addEventListener("mouseenter", (t) => {
|
|
23
23
|
let n = e.__tip;
|
|
24
|
-
n?.text && (
|
|
25
|
-
}), e.addEventListener("mousemove",
|
|
26
|
-
|
|
24
|
+
n?.text && (V.text = n.text, V.width = n.width ?? 100, H(t), V.visible = !0);
|
|
25
|
+
}), e.addEventListener("mousemove", H), e.addEventListener("mouseleave", () => {
|
|
26
|
+
V.visible = !1;
|
|
27
27
|
});
|
|
28
28
|
},
|
|
29
|
-
updated:
|
|
29
|
+
updated: U,
|
|
30
30
|
beforeUnmount() {
|
|
31
|
-
|
|
31
|
+
V.visible = !1;
|
|
32
32
|
}
|
|
33
|
-
},
|
|
33
|
+
}, G = {
|
|
34
34
|
key: 1,
|
|
35
35
|
class: "mwnf-minisite"
|
|
36
36
|
}, K = { class: "mwnf-minisite__column" }, q = { class: "mwnf-minisite-header" }, te = { class: "mwnf-minisite-header__logo" }, ne = ["href"], re = ["src"], J = { class: "mwnf-minisite-header__nav" }, ie = { class: "mwnf-minisite-header__back" }, ae = ["href"], oe = ["value", "aria-label"], se = ["value"], ce = { class: "mwnf-minisite-menu" }, le = { class: "mwnf-minisite-menu__list" }, ue = ["href", "onClick"], de = ["href"], fe = { class: "mwnf-minisite-footer" }, pe = ["href"], me = {
|
|
@@ -75,7 +75,7 @@ var G = {
|
|
|
75
75
|
},
|
|
76
76
|
emits: ["update:language"],
|
|
77
77
|
setup(t, { emit: r }) {
|
|
78
|
-
let a = t, u = r, { t: m } =
|
|
78
|
+
let a = t, u = r, { t: m } = L(), h = R(), v = z(), 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
79
|
let e = C("legacy/bg_fading_left.gif"), t = C("legacy/bg_fading_right.gif");
|
|
80
80
|
return a.language === "en" ? [e, t] : [t, e];
|
|
81
81
|
});
|
|
@@ -86,7 +86,7 @@ var G = {
|
|
|
86
86
|
return (e, r) => (p(), s(n, null, [S.value ? (p(), s("div", {
|
|
87
87
|
key: 0,
|
|
88
88
|
class: d(`mwnf-minisite-window mwnf-minisite-window--${S.value}`)
|
|
89
|
-
}, [_(e.$slots, "default")], 2)) : (p(), s("div",
|
|
89
|
+
}, [_(e.$slots, "default")], 2)) : (p(), s("div", G, [
|
|
90
90
|
c("div", {
|
|
91
91
|
class: "mwnf-minisite__strip",
|
|
92
92
|
style: f({ backgroundImage: O.value[0] ? `url(${O.value[0]})` : "none" }),
|
|
@@ -97,10 +97,10 @@ var G = {
|
|
|
97
97
|
src: C(`legacy/logo_${t.language}.gif`),
|
|
98
98
|
alt: "",
|
|
99
99
|
height: "60"
|
|
100
|
-
}, null, 8, re)], 8, ne)), [[b(
|
|
100
|
+
}, null, 8, re)], 8, ne)), [[b(W), { text: t.logoTip ? b(m)(t.logoTip) : "" }]])]), c("div", J, [c("div", ie, [(p(!0), s(n, null, g(t.headerLinks, (e, t) => (p(), s(n, { key: e.label }, [t > 0 ? (p(), s(n, { key: 0 }, [l("\xA0|\xA0")], 64)) : o("", !0), w((p(), s("a", {
|
|
101
101
|
class: "mwnf-minisite-header__link",
|
|
102
102
|
href: e.href
|
|
103
|
-
}, [l(y(b(m)(e.label)), 1)], 8, ae)), [[b(
|
|
103
|
+
}, [l(y(b(m)(e.label)), 1)], 8, ae)), [[b(W), { text: e.tip ? b(m)(e.tip) : "" }]])], 64))), 128))]), c("div", null, [c("select", {
|
|
104
104
|
class: "mwnf-minisite-header__select",
|
|
105
105
|
value: t.language,
|
|
106
106
|
"aria-label": b(m)("layout.language.label"),
|
|
@@ -110,16 +110,15 @@ var G = {
|
|
|
110
110
|
value: e.code
|
|
111
111
|
}, y(e.label), 9, se))), 128))], 40, oe)])])]),
|
|
112
112
|
c("main", null, [_(e.$slots, "default")]),
|
|
113
|
-
c("nav", ce, [c("ul", le, [(p(!0), s(n, null, g(t.menu, (e, r) => (p(), s(n, { key: e.label }, [r > 0 && t.menuSeparator ? (p(), s(n, { key: 0 }, [l("|")], 64)) : o("", !0), c("li", null, [e.window ? (p(), s("a", {
|
|
113
|
+
t.menu.length ? (p(), s(n, { key: 0 }, [c("nav", ce, [c("ul", le, [(p(!0), s(n, null, g(t.menu, (e, r) => (p(), s(n, { key: e.label }, [r > 0 && t.menuSeparator ? (p(), s(n, { key: 0 }, [l("|")], 64)) : o("", !0), c("li", null, [e.window ? (p(), s("a", {
|
|
114
114
|
key: 0,
|
|
115
115
|
href: e.href,
|
|
116
116
|
onClick: T((t) => k(e), ["prevent"])
|
|
117
117
|
}, y(b(m)(e.label)), 9, ue)) : (p(), s("a", {
|
|
118
118
|
key: 1,
|
|
119
119
|
href: e.href
|
|
120
|
-
}, y(b(m)(e.label)), 9, de))])], 64))), 128))])]),
|
|
121
|
-
|
|
122
|
-
c("footer", fe, [(p(!0), s(n, null, g(t.footerLinks, (e) => (p(), s(n, { key: e.label }, [c("a", { href: e.href }, y(b(m)(e.label)), 9, pe), r[1] ||= l("\xA0|\xA0 ", -1)], 64))), 128)), l(y(b(m)(t.copyright)) + " " + y(b(D)), 1)])
|
|
120
|
+
}, y(b(m)(e.label)), 9, de))])], 64))), 128))])]), r[1] ||= c("div", { class: "mwnf-minisite-menu__line" }, null, -1)], 64)) : o("", !0),
|
|
121
|
+
c("footer", fe, [(p(!0), s(n, null, g(t.footerLinks, (e) => (p(), s(n, { key: e.label }, [c("a", { href: e.href }, y(b(m)(e.label)), 9, pe), r[2] ||= l("\xA0|\xA0 ", -1)], 64))), 128)), l(y(b(m)(t.copyright)) + " " + y(b(D)), 1)])
|
|
123
122
|
]),
|
|
124
123
|
c("div", {
|
|
125
124
|
class: "mwnf-minisite__strip",
|
|
@@ -129,12 +128,12 @@ var G = {
|
|
|
129
128
|
])), w(c("div", {
|
|
130
129
|
class: "mwnf-minisite-tip",
|
|
131
130
|
style: f({
|
|
132
|
-
left: `${b(
|
|
133
|
-
top: `${b(
|
|
134
|
-
width: `${b(
|
|
131
|
+
left: `${b(V).x + 12}px`,
|
|
132
|
+
top: `${b(V).y + 16}px`,
|
|
133
|
+
width: `${b(V).width}px`
|
|
135
134
|
}),
|
|
136
135
|
role: "tooltip"
|
|
137
|
-
}, y(b(
|
|
136
|
+
}, y(b(V).text), 5), [[x, b(V).visible]])], 64));
|
|
138
137
|
}
|
|
139
138
|
}, he = [
|
|
140
139
|
[/[‘’]/g, "'"],
|
|
@@ -145,7 +144,7 @@ var G = {
|
|
|
145
144
|
function Y(e) {
|
|
146
145
|
return he.reduce((e, [t, n]) => e.replace(t, n), String(e ?? ""));
|
|
147
146
|
}
|
|
148
|
-
var ge = /^(Theme|Page) \d+$/, _e = {
|
|
147
|
+
var ge = /^(Artintro )?(Theme|Page) \d+$/, _e = {
|
|
149
148
|
partners: ["325b7505-1527-5442-99ea-6a40f8c43d3f"],
|
|
150
149
|
monuments: (/* @__PURE__ */ "01.02.03.04.05.06.07.08.09.10.11.14.18.19.20.21.24.25.26.27.28.29.30.31.32.33.34.35".split(".")).map((e) => `PA ${e}`)
|
|
151
150
|
};
|
|
@@ -296,7 +295,8 @@ function Ne(e) {
|
|
|
296
295
|
var Pe = {
|
|
297
296
|
ISL: "minisite",
|
|
298
297
|
BAR: "minisiteBaroque",
|
|
299
|
-
SH: "minisiteSharingHistory"
|
|
298
|
+
SH: "minisiteSharingHistory",
|
|
299
|
+
GAI: "minisiteArtIntro"
|
|
300
300
|
};
|
|
301
301
|
function Fe(e) {
|
|
302
302
|
return e?.family ?? "ISL";
|
|
@@ -335,7 +335,7 @@ var Be = [
|
|
|
335
335
|
"glossary"
|
|
336
336
|
];
|
|
337
337
|
function X() {
|
|
338
|
-
let { pkg: t, data: n, tree: r } = ze(), { locale: a, t: o } =
|
|
338
|
+
let { pkg: t, data: n, tree: r } = ze(), { locale: a, t: o } = L(), s = R(), c = s.minisite ?? {}, l = Fe(c), u = Ie(c), d = (e) => o(`${u}.${e}`), f = B(), p = i(() => a.value);
|
|
339
339
|
S(p, (e) => Promise.all(Le.flatMap((n) => [t.loadTranslations(n, e), t.loadTranslations(n, "en")])), { immediate: !0 });
|
|
340
340
|
let m = r.root, h = i(() => m.value ? r.children(m.value.id) : []), g = i(() => ve(h.value, r.children));
|
|
341
341
|
function _(e) {
|
|
@@ -442,11 +442,11 @@ var He = { class: "mwnf-minisite-home" }, Ue = { class: "mwnf-minisite-home__tit
|
|
|
442
442
|
}))), F = i(() => x.value.slice(N.value).map((e, t) => ({
|
|
443
443
|
theme: e,
|
|
444
444
|
number: N.value + t + 1
|
|
445
|
-
}))), I = i(() => O.curators ?? []),
|
|
445
|
+
}))), I = i(() => O.curators ?? []), ee = (e) => je(e, {
|
|
446
446
|
partnerName: (e) => h.tr("partners", e, m.value).name,
|
|
447
447
|
partnerCountry: (e) => h.partnerById.value.get(e)?.country_id,
|
|
448
448
|
countryName: (e) => h.tr("countries", e, m.value).name
|
|
449
|
-
}),
|
|
449
|
+
}), L = (e) => Me(e, O.partnerHref), R = i(() => _.value ? E(_.value.id).extra?.credits ?? "" : ""), z = i(() => O.design ?? null), B = i(() => d === "BAR" ? k(O.banner) : null), V = i(() => k(m.value === "ar" ? "legacy/home_bg_ar.jpg" : "legacy/home_bg.jpg"));
|
|
450
450
|
return S([D, m], () => {
|
|
451
451
|
document.title = [t("identity.windowTitle"), D.value].filter(Boolean).join(" | ");
|
|
452
452
|
}, { immediate: !0 }), (e, i) => {
|
|
@@ -456,7 +456,7 @@ var He = { class: "mwnf-minisite-home" }, Ue = { class: "mwnf-minisite-home__tit
|
|
|
456
456
|
i[4] ||= c("div", { class: "mwnf-minisite-home__bg1" }, null, -1),
|
|
457
457
|
c("div", {
|
|
458
458
|
class: "mwnf-minisite-home__bg2",
|
|
459
|
-
style: f({ backgroundImage:
|
|
459
|
+
style: f({ backgroundImage: V.value ? `url(${V.value})` : "none" })
|
|
460
460
|
}, null, 4),
|
|
461
461
|
c("div", Ue, y(b(D)), 1),
|
|
462
462
|
c("div", {
|
|
@@ -485,20 +485,20 @@ var He = { class: "mwnf-minisite-home" }, Ue = { class: "mwnf-minisite-home__tit
|
|
|
485
485
|
c("div", Ye, y(b(t)("home.curatedBy")), 1),
|
|
486
486
|
c("div", {
|
|
487
487
|
class: "mwnf-minisite-partners__tab",
|
|
488
|
-
innerHTML: b(h).mdInline(
|
|
488
|
+
innerHTML: b(h).mdInline(R.value)
|
|
489
489
|
}, null, 8, Xe),
|
|
490
490
|
c("div", Ze, [l(y(b(t)("home.cooperation")) + " ", 1), c("a", { href: b(O).partnerListHref }, y(b(t)("home.partnerInstitutions")), 9, Qe)]),
|
|
491
491
|
c("div", $e, [(p(!0), s(n, null, g(I.value, (e, t) => (p(), s(n, { key: e.logo }, [
|
|
492
|
-
l(y(
|
|
492
|
+
l(y(ee(e)), 1),
|
|
493
493
|
i[5] ||= c("br", null, null, -1),
|
|
494
494
|
w((p(), s("a", {
|
|
495
495
|
class: "mwnf-minisite-partners__curator",
|
|
496
|
-
href:
|
|
496
|
+
href: L(e)
|
|
497
497
|
}, [c("img", {
|
|
498
498
|
src: b(k)(e.logo),
|
|
499
499
|
alt: ""
|
|
500
|
-
}, null, 8, tt)], 8, et)), [[b(
|
|
501
|
-
text:
|
|
500
|
+
}, null, 8, tt)], 8, et)), [[b(W), {
|
|
501
|
+
text: ee(e),
|
|
502
502
|
width: 220
|
|
503
503
|
}]]),
|
|
504
504
|
t < I.value.length - 1 ? (p(), s("span", {
|
|
@@ -507,15 +507,15 @@ var He = { class: "mwnf-minisite-home" }, Ue = { class: "mwnf-minisite-home__tit
|
|
|
507
507
|
style: f({ width: `${e.space ?? 0}px` })
|
|
508
508
|
}, null, 4)) : o("", !0)
|
|
509
509
|
], 64))), 128))])
|
|
510
|
-
]),
|
|
510
|
+
]), z.value ? (p(), s("div", nt, [
|
|
511
511
|
l(y(b(t)("home.design")) + " ", 1),
|
|
512
|
-
c("div", rt, y(
|
|
512
|
+
c("div", rt, y(z.value.name), 1),
|
|
513
513
|
c("div", it, [c("a", {
|
|
514
|
-
href:
|
|
514
|
+
href: z.value.href,
|
|
515
515
|
target: "_blank",
|
|
516
516
|
rel: "noopener"
|
|
517
517
|
}, [c("img", {
|
|
518
|
-
src: b(k)(
|
|
518
|
+
src: b(k)(z.value.logo),
|
|
519
519
|
alt: ""
|
|
520
520
|
}, null, 8, ot)], 8, at)])
|
|
521
521
|
])) : o("", !0)])) : (p(), s("div", st, [c("div", ct, [c("a", {
|
|
@@ -523,26 +523,26 @@ var He = { class: "mwnf-minisite-home" }, Ue = { class: "mwnf-minisite-home__tit
|
|
|
523
523
|
onClick: i[0] ||= T((e) => b(Z)(b(A)({ name: "credits" }), b(Ve).credits), ["prevent"])
|
|
524
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
525
|
class: "mwnf-minisite-partners__curator",
|
|
526
|
-
href:
|
|
526
|
+
href: L(e)
|
|
527
527
|
}, [c("img", {
|
|
528
528
|
src: b(k)(e.logo),
|
|
529
529
|
alt: "",
|
|
530
530
|
height: "74"
|
|
531
|
-
}, null, 8, ft)], 8, dt)), [[b(
|
|
532
|
-
text:
|
|
531
|
+
}, null, 8, ft)], 8, dt)), [[b(W), {
|
|
532
|
+
text: ee(e),
|
|
533
533
|
width: 280
|
|
534
534
|
}]]), t < I.value.length - 1 ? (p(), s("span", {
|
|
535
535
|
key: 0,
|
|
536
536
|
class: "mwnf-minisite-partners__space",
|
|
537
537
|
style: f({ width: `${e.space ?? 0}px` })
|
|
538
538
|
}, null, 4)) : o("", !0)], 64))), 128))])])),
|
|
539
|
-
|
|
539
|
+
B.value ? (p(), a(r, {
|
|
540
540
|
key: 2,
|
|
541
541
|
defer: "",
|
|
542
542
|
to: ".mwnf-minisite-footer"
|
|
543
543
|
}, [c("div", {
|
|
544
544
|
class: "mwnf-minisite-home__banner",
|
|
545
|
-
style: f({ backgroundImage: `url(${
|
|
545
|
+
style: f({ backgroundImage: `url(${B.value})` }),
|
|
546
546
|
"aria-hidden": "true"
|
|
547
547
|
}, null, 4)])) : o("", !0)
|
|
548
548
|
], 64);
|
|
@@ -586,7 +586,7 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
|
|
|
586
586
|
required: !0
|
|
587
587
|
} },
|
|
588
588
|
setup(t) {
|
|
589
|
-
let { t: n } =
|
|
589
|
+
let { t: n } = L(), r = R(), i = (t) => e(r.chrome, t), a = (e) => n(`${Ie(r.minisite)}.${e}`);
|
|
590
590
|
function o() {
|
|
591
591
|
window.print();
|
|
592
592
|
}
|
|
@@ -629,15 +629,15 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
|
|
|
629
629
|
entry: e,
|
|
630
630
|
image: t,
|
|
631
631
|
lines: O(e)
|
|
632
|
-
}))),
|
|
633
|
-
function
|
|
632
|
+
}))), L = i(() => w.map ?? null);
|
|
633
|
+
function R(e) {
|
|
634
634
|
Z(D({
|
|
635
635
|
name: "zoom",
|
|
636
636
|
query: { img: e }
|
|
637
637
|
}), Ve.introZoom);
|
|
638
638
|
}
|
|
639
|
-
let
|
|
640
|
-
function
|
|
639
|
+
let z = ee(N);
|
|
640
|
+
function B() {
|
|
641
641
|
gt({
|
|
642
642
|
documentTitle: w.documentTitle,
|
|
643
643
|
title: x.value,
|
|
@@ -646,14 +646,14 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
|
|
|
646
646
|
captions: I.value.map((e) => e.lines)
|
|
647
647
|
});
|
|
648
648
|
}
|
|
649
|
-
let
|
|
649
|
+
let V = i(() => E(d.value === "ar" ? "legacy/intro_bg_ar.jpg" : "legacy/intro_bg.jpg"));
|
|
650
650
|
return S([x, d], () => {
|
|
651
651
|
document.title = [r("identity.windowTitle"), x.value].filter(Boolean).join(" | ");
|
|
652
652
|
}, { immediate: !0 }), (e, i) => {
|
|
653
653
|
let d = v("router-link");
|
|
654
654
|
return p(), s("div", {
|
|
655
655
|
class: "mwnf-minisite-intro",
|
|
656
|
-
style: f({ backgroundImage:
|
|
656
|
+
style: f({ backgroundImage: V.value ? `url(${V.value})` : "none" })
|
|
657
657
|
}, [
|
|
658
658
|
c("div", Tt, y(b(x)), 1),
|
|
659
659
|
c("div", Et, [i[3] ||= l(" < ", -1), u(d, { to: { name: "home" } }, {
|
|
@@ -681,7 +681,7 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
|
|
|
681
681
|
]),
|
|
682
682
|
c("div", Ot, [c("div", {
|
|
683
683
|
class: "mwnf-minisite-intro__text",
|
|
684
|
-
onClick: i[0] ||= (...e) => b(
|
|
684
|
+
onClick: i[0] ||= (...e) => b(z).onClick && b(z).onClick(...e)
|
|
685
685
|
}, [
|
|
686
686
|
c("div", {
|
|
687
687
|
class: "mwnf-minisite-intro__header",
|
|
@@ -691,13 +691,13 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
|
|
|
691
691
|
class: "mwnf-minisite-intro__content",
|
|
692
692
|
innerHTML: P.value
|
|
693
693
|
}, null, 8, At),
|
|
694
|
-
u(wt, { word:
|
|
695
|
-
]), c("div", jt, [
|
|
694
|
+
u(wt, { word: B })
|
|
695
|
+
]), c("div", jt, [L.value ? (p(), s("div", Mt, [
|
|
696
696
|
c("a", {
|
|
697
697
|
href: b(D)({ name: "map" }),
|
|
698
698
|
onClick: i[1] ||= T((e) => b(Z)(b(D)({ name: "map" }), b(Ve).map), ["prevent"])
|
|
699
699
|
}, [c("img", {
|
|
700
|
-
src: b(E)(
|
|
700
|
+
src: b(E)(L.value.thumbnail),
|
|
701
701
|
alt: "",
|
|
702
702
|
width: "178",
|
|
703
703
|
height: "93"
|
|
@@ -718,7 +718,7 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
|
|
|
718
718
|
name: "zoom",
|
|
719
719
|
query: { img: e.image }
|
|
720
720
|
}),
|
|
721
|
-
onClick: T((t) =>
|
|
721
|
+
onClick: T((t) => R(e.image), ["prevent"])
|
|
722
722
|
}, [c("img", {
|
|
723
723
|
class: "mwnf-minisite-intro-item__image",
|
|
724
724
|
src: e.image,
|
|
@@ -738,11 +738,11 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
|
|
|
738
738
|
innerHTML: b(m).mdInline(t)
|
|
739
739
|
}, null, 8, Ht))], 64))), 128))
|
|
740
740
|
]))), 128))])]),
|
|
741
|
-
b(
|
|
741
|
+
b(z).active.value ? (p(), a(t, {
|
|
742
742
|
key: 0,
|
|
743
|
-
term: b(
|
|
744
|
-
html: b(m).md(b(
|
|
745
|
-
onClose: b(
|
|
743
|
+
term: b(z).active.value,
|
|
744
|
+
html: b(m).md(b(z).active.value.definition),
|
|
745
|
+
onClose: b(z).close
|
|
746
746
|
}, null, 8, [
|
|
747
747
|
"term",
|
|
748
748
|
"html",
|
|
@@ -767,27 +767,27 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
|
|
|
767
767
|
}
|
|
768
768
|
},
|
|
769
769
|
setup(e) {
|
|
770
|
-
let r = e, { label: m, family: _, lang: x, data: E, title: D, text: O, settings: k, picture: A, href: j, pageAt: M, slots: N, placementCaption: P, viewCaption: F, glossaryFor: I } = X(),
|
|
770
|
+
let r = e, { label: m, family: _, lang: x, data: E, title: D, text: O, settings: k, picture: A, href: j, pageAt: M, slots: N, placementCaption: P, viewCaption: F, glossaryFor: I } = X(), L = i(() => M(r.theme, r.page)), R = i(() => L.value ? O(L.value.node.id) : {}), z = i(() => L.value ? I(L.value.node.id) : []), B = i(() => L.value ? N(L.value.node) : []), V = i(() => R.value.quote ?? ""), H = h({
|
|
771
771
|
slot: 0,
|
|
772
772
|
variant: 0
|
|
773
773
|
});
|
|
774
|
-
S(() => [r.theme, r.page], () =>
|
|
774
|
+
S(() => [r.theme, r.page], () => H.value = {
|
|
775
775
|
slot: 0,
|
|
776
776
|
variant: 0
|
|
777
777
|
});
|
|
778
|
-
let
|
|
779
|
-
...F(
|
|
780
|
-
sheetId: Oe(
|
|
778
|
+
let U = i(() => B.value[H.value.slot] ?? null), G = i(() => U.value?.variants[H.value.variant] ?? null), K = i(() => ke(U.value, H.value.variant)), q = i(() => !U.value || !G.value ? null : {
|
|
779
|
+
...F(U.value, H.value.variant),
|
|
780
|
+
sheetId: Oe(U.value, H.value.variant, (e) => E.itemById.value.get(e))
|
|
781
781
|
});
|
|
782
782
|
function te(e) {
|
|
783
|
-
|
|
783
|
+
H.value = {
|
|
784
784
|
slot: e,
|
|
785
785
|
variant: 0
|
|
786
786
|
};
|
|
787
787
|
}
|
|
788
788
|
function ne(e) {
|
|
789
|
-
|
|
790
|
-
...
|
|
789
|
+
H.value = {
|
|
790
|
+
...H.value,
|
|
791
791
|
variant: e
|
|
792
792
|
};
|
|
793
793
|
}
|
|
@@ -797,33 +797,33 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
|
|
|
797
797
|
query: { img: K.value }
|
|
798
798
|
}), Ve.zoom);
|
|
799
799
|
}
|
|
800
|
-
let J =
|
|
800
|
+
let J = ee(z);
|
|
801
801
|
function ie() {
|
|
802
802
|
yt({
|
|
803
803
|
documentTitle: k.documentTitle,
|
|
804
804
|
title: D.value,
|
|
805
|
-
pageTitle:
|
|
806
|
-
quote:
|
|
807
|
-
text:
|
|
808
|
-
slots:
|
|
805
|
+
pageTitle: R.value.title ?? "",
|
|
806
|
+
quote: V.value,
|
|
807
|
+
text: R.value.description ?? "",
|
|
808
|
+
slots: B.value.map((e) => e.variants.map((t, n) => t.view ? F(e, n) : P(t.entry)))
|
|
809
809
|
});
|
|
810
810
|
}
|
|
811
811
|
S(() => [
|
|
812
|
-
|
|
812
|
+
R.value.title,
|
|
813
813
|
D.value,
|
|
814
814
|
x.value
|
|
815
815
|
], () => {
|
|
816
816
|
document.title = [
|
|
817
817
|
m("identity.windowTitle"),
|
|
818
818
|
D.value,
|
|
819
|
-
|
|
819
|
+
R.value.title,
|
|
820
820
|
r.page
|
|
821
821
|
].filter(Boolean).join(" | ");
|
|
822
822
|
}, { immediate: !0 });
|
|
823
823
|
let ae = i(() => A(x.value === "ar" ? "legacy/exhibition_bg_ar.jpg" : "legacy/exhibition_bg.jpg"));
|
|
824
824
|
return (e, r) => {
|
|
825
825
|
let i = v("router-link");
|
|
826
|
-
return
|
|
826
|
+
return L.value ? (p(), s("div", {
|
|
827
827
|
key: 0,
|
|
828
828
|
class: "mwnf-minisite-page",
|
|
829
829
|
style: f({ backgroundImage: ae.value ? `url(${ae.value})` : "none" })
|
|
@@ -836,13 +836,13 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
|
|
|
836
836
|
})]),
|
|
837
837
|
c("div", qt, [
|
|
838
838
|
r[4] ||= l(" < ", -1),
|
|
839
|
-
u(i, { to:
|
|
839
|
+
u(i, { to: L.value.previous }, {
|
|
840
840
|
default: C(() => [l(y(b(m)("nav.previous")), 1)]),
|
|
841
841
|
_: 1
|
|
842
842
|
}, 8, ["to"]),
|
|
843
|
-
|
|
843
|
+
L.value.next ? (p(), s(n, { key: 0 }, [
|
|
844
844
|
r[2] ||= l(" | ", -1),
|
|
845
|
-
u(i, { to:
|
|
845
|
+
u(i, { to: L.value.next }, {
|
|
846
846
|
default: C(() => [l(y(b(m)("nav.next")), 1)]),
|
|
847
847
|
_: 1
|
|
848
848
|
}, 8, ["to"]),
|
|
@@ -856,9 +856,9 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
|
|
|
856
856
|
}, [
|
|
857
857
|
c("div", {
|
|
858
858
|
class: "mwnf-minisite-page__page-title",
|
|
859
|
-
innerHTML: b(E).mdInline(
|
|
859
|
+
innerHTML: b(E).mdInline(R.value.title)
|
|
860
860
|
}, null, 8, Yt),
|
|
861
|
-
c("div", Xt, [(p(!0), s(n, null, g(
|
|
861
|
+
c("div", Xt, [(p(!0), s(n, null, g(B.value, (e, t) => w((p(), s("a", {
|
|
862
862
|
key: e.n,
|
|
863
863
|
href: "#",
|
|
864
864
|
onClick: T((e) => te(t), ["prevent"])
|
|
@@ -867,17 +867,17 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
|
|
|
867
867
|
src: e.variants[0].image,
|
|
868
868
|
alt: "",
|
|
869
869
|
height: "36"
|
|
870
|
-
}, null, 8, Qt)) : o("", !0)], 8, Zt)), [[b(
|
|
870
|
+
}, null, 8, Qt)) : o("", !0)], 8, Zt)), [[b(W), {
|
|
871
871
|
text: b(E).mdStrip(b(F)(e, 0).name),
|
|
872
872
|
width: 160
|
|
873
873
|
}]])), 128))]),
|
|
874
874
|
c("div", {
|
|
875
|
-
class: d(["mwnf-minisite-page__quote", { "mwnf-minisite-page__quote--own-italics": b(Ne)(
|
|
876
|
-
innerHTML: b(E).mdInline(
|
|
875
|
+
class: d(["mwnf-minisite-page__quote", { "mwnf-minisite-page__quote--own-italics": b(Ne)(V.value) }]),
|
|
876
|
+
innerHTML: b(E).mdInline(V.value, { glossary: z.value })
|
|
877
877
|
}, null, 10, $t),
|
|
878
878
|
c("div", {
|
|
879
879
|
class: "mwnf-minisite-page__content",
|
|
880
|
-
innerHTML: b(E).md(
|
|
880
|
+
innerHTML: b(E).md(R.value.description, { glossary: z.value })
|
|
881
881
|
}, null, 8, en),
|
|
882
882
|
u(wt, { word: ie })
|
|
883
883
|
]), c("div", tn, [c("div", nn, [K.value ? w((p(), s("a", {
|
|
@@ -887,7 +887,7 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
|
|
|
887
887
|
}, [c("img", {
|
|
888
888
|
src: K.value,
|
|
889
889
|
alt: ""
|
|
890
|
-
}, null, 8, rn)])), [[b(
|
|
890
|
+
}, null, 8, rn)])), [[b(W), { text: b(m)("item.showZoom") }]]) : o("", !0)]), q.value ? (p(), s("div", an, [
|
|
891
891
|
c("div", null, [
|
|
892
892
|
c("strong", { innerHTML: b(E).mdInline(q.value.name) }, null, 8, on),
|
|
893
893
|
r[5] ||= c("br", null, null, -1),
|
|
@@ -897,14 +897,14 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
|
|
|
897
897
|
]),
|
|
898
898
|
c("div", null, [(p(!0), s(n, null, g(q.value.details, (e, t) => (p(), s(n, { key: t }, [c("span", { innerHTML: b(E).mdInline(e) }, null, 8, un), r[7] ||= c("br", null, null, -1)], 64))), 128))]),
|
|
899
899
|
b(_) === "BAR" ? (p(), s(n, { key: 0 }, [c("div", { innerHTML: b(E).mdInline(q.value.artist) }, null, 8, dn), c("div", { innerHTML: b(E).mdInline(q.value.material) }, null, 8, fn)], 64)) : o("", !0),
|
|
900
|
-
|
|
900
|
+
U.value.variants.length > 1 ? (p(), s("div", pn, [(p(!0), s(n, null, g(U.value.variants, (e, t) => w((p(), s("a", {
|
|
901
901
|
key: t,
|
|
902
902
|
href: "#",
|
|
903
903
|
onClick: T((e) => ne(t), ["prevent"])
|
|
904
904
|
}, [c("img", {
|
|
905
|
-
src: b(A)(t ===
|
|
905
|
+
src: b(A)(t === H.value.variant ? "legacy/ico_item_selected.gif" : "legacy/ico_item.gif"),
|
|
906
906
|
alt: ""
|
|
907
|
-
}, null, 8, hn)], 8, mn)), [[b(
|
|
907
|
+
}, null, 8, hn)], 8, mn)), [[b(W), { text: b(m)("item.showDetail") }]])), 128))])) : o("", !0),
|
|
908
908
|
c("div", {
|
|
909
909
|
class: "mwnf-minisite-page__justification",
|
|
910
910
|
innerHTML: b(E).mdInline(q.value.justification)
|
|
@@ -1165,7 +1165,7 @@ var In = { class: "mwnf-sh__column" }, Ln = { class: "mwnf-sh-header" }, Rn = {
|
|
|
1165
1165
|
}
|
|
1166
1166
|
},
|
|
1167
1167
|
setup(t) {
|
|
1168
|
-
let r = t, { t: a } =
|
|
1168
|
+
let r = t, { t: a } = L(), u = R(), m = z(), 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
1169
|
T.value = e === 0 ? 1 : Math.min(1.6, Math.max(.8, T.value + e));
|
|
1170
1170
|
}, O = i(() => ({
|
|
1171
1171
|
"--sh-title-band": `url(${x("legacy/bg.png") ?? ""})`,
|
|
@@ -1190,51 +1190,51 @@ var In = { class: "mwnf-sh__column" }, Ln = { class: "mwnf-sh-header" }, Rn = {
|
|
|
1190
1190
|
alt: "",
|
|
1191
1191
|
width: "101",
|
|
1192
1192
|
height: "45"
|
|
1193
|
-
}, null, 8, Bn)], 8, zn)), [[b(
|
|
1193
|
+
}, null, 8, Bn)], 8, zn)), [[b(W), { text: S("header.portalTip") }]])]),
|
|
1194
1194
|
r[6] ||= c("div", { class: "mwnf-sh-header__space" }, null, -1),
|
|
1195
1195
|
w((p(), s("a", {
|
|
1196
1196
|
class: "mwnf-sh-header__name",
|
|
1197
1197
|
href: t.homeHref
|
|
1198
|
-
}, [c("h1", null, y(S("header.heading")), 1), c("h2", null, y(S("header.subheading")), 1)], 8, Vn)), [[b(
|
|
1198
|
+
}, [c("h1", null, y(S("header.heading")), 1), c("h2", null, y(S("header.subheading")), 1)], 8, Vn)), [[b(W), { text: S("header.homeTip") }]]),
|
|
1199
1199
|
c("div", Hn, [c("ul", { class: d(["mwnf-sh-header__list", { "mwnf-sh-header__list--ruled": E.value }]) }, [
|
|
1200
1200
|
c("li", null, [c("a", { href: t.aboutLinks[0]?.href }, y(S("header.about")), 9, Un), c("ul", Wn, [(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, Gn)]))), 128))])]),
|
|
1201
|
-
c("li", null, [w((p(), s("a", { href: t.homeHref }, [l(y(S("header.home")), 1)], 8, Kn)), [[b(
|
|
1202
|
-
c("li", null, [w((p(), s("a", { href: t.portalHref }, [l(y(S("header.portal")), 1)], 8, qn)), [[b(
|
|
1201
|
+
c("li", null, [w((p(), s("a", { href: t.homeHref }, [l(y(S("header.home")), 1)], 8, Kn)), [[b(W), { text: S("header.homeTip") }]])]),
|
|
1202
|
+
c("li", null, [w((p(), s("a", { href: t.portalHref }, [l(y(S("header.portal")), 1)], 8, qn)), [[b(W), { text: S("header.portalTip") }]])])
|
|
1203
1203
|
], 2), E.value ? (p(), s("div", Jn, [
|
|
1204
1204
|
w((p(), s("button", {
|
|
1205
1205
|
type: "button",
|
|
1206
1206
|
style: { "font-size": "8px" },
|
|
1207
1207
|
onClick: r[0] ||= (e) => D(-.1)
|
|
1208
|
-
}, [...r[3] ||= [l("A", -1)]])), [[b(
|
|
1208
|
+
}, [...r[3] ||= [l("A", -1)]])), [[b(W), { text: S("header.decreaseSize") }]]),
|
|
1209
1209
|
w((p(), s("button", {
|
|
1210
1210
|
type: "button",
|
|
1211
1211
|
style: { "font-size": "10px" },
|
|
1212
1212
|
onClick: r[1] ||= (e) => D(0)
|
|
1213
|
-
}, [...r[4] ||= [l("A", -1)]])), [[b(
|
|
1213
|
+
}, [...r[4] ||= [l("A", -1)]])), [[b(W), { text: S("header.revertSize") }]]),
|
|
1214
1214
|
w((p(), s("button", {
|
|
1215
1215
|
type: "button",
|
|
1216
1216
|
style: { "font-size": "12px" },
|
|
1217
1217
|
onClick: r[2] ||= (e) => D(.1)
|
|
1218
|
-
}, [...r[5] ||= [l("A", -1)]])), [[b(
|
|
1218
|
+
}, [...r[5] ||= [l("A", -1)]])), [[b(W), { text: S("header.increaseSize") }]])
|
|
1219
1219
|
])) : o("", !0)])
|
|
1220
1220
|
]),
|
|
1221
1221
|
c("main", Yn, [_(e.$slots, "default")]),
|
|
1222
|
-
c("nav", Xn, [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, Zn)), [[b(
|
|
1222
|
+
c("nav", Xn, [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, Zn)), [[b(W), { text: e.tip ? S(e.tip) : "" }]]), e.links?.length ? (p(), s("ul", Qn, [(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, $n)]))), 128))])) : o("", !0)]))), 128))])]),
|
|
1223
1223
|
c("footer", er, [(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, tr), r[7] ||= l(" | ", -1)], 64))), 128)), l(" " + y(S("footer.copyright")) + " " + y(b(C)), 1)])
|
|
1224
1224
|
]),
|
|
1225
1225
|
r[9] ||= c("div", {
|
|
1226
1226
|
class: "mwnf-sh__strip",
|
|
1227
1227
|
"aria-hidden": "true"
|
|
1228
1228
|
}, null, -1),
|
|
1229
|
-
b(
|
|
1229
|
+
b(V).visible ? (p(), s("div", {
|
|
1230
1230
|
key: 0,
|
|
1231
1231
|
class: "mwnf-sh-tip",
|
|
1232
1232
|
style: f({
|
|
1233
|
-
left: `${b(
|
|
1234
|
-
top: `${b(
|
|
1235
|
-
width: `${b(
|
|
1233
|
+
left: `${b(V).x + 12}px`,
|
|
1234
|
+
top: `${b(V).y + 12}px`,
|
|
1235
|
+
width: `${b(V).width}px`
|
|
1236
1236
|
})
|
|
1237
|
-
}, y(b(
|
|
1237
|
+
}, y(b(V).text), 5)) : o("", !0)
|
|
1238
1238
|
], 4));
|
|
1239
1239
|
}
|
|
1240
1240
|
}, rr = "minisiteSharingHistory", ir = [
|
|
@@ -1341,7 +1341,7 @@ function fr({ parent: e, exhibitionId: t, themeId: n = null, subthemeId: r = nul
|
|
|
1341
1341
|
];
|
|
1342
1342
|
}
|
|
1343
1343
|
function $() {
|
|
1344
|
-
let { pkg: t, data: n, tree: r } = ze(), { locale: a, t: o } =
|
|
1344
|
+
let { pkg: t, data: n, tree: r } = ze(), { locale: a, t: o } = L(), s = R(), c = s.minisite ?? {}, l = c.texts ?? "minisiteSharingHistory", u = (e) => o(`${l}.${e}`), d = B(), f = i(() => a.value);
|
|
1345
1345
|
S(f, (e) => Promise.all(ir.flatMap((n) => [t.loadTranslations(n, e), t.loadTranslations(n, "en")])), { immediate: !0 });
|
|
1346
1346
|
let p = (e) => t.translations("collections", f.value)[e] ?? {}, m = (e, n) => t.translations("collections", n)[e]?.title, h = r.root, g = i(() => h.value ? or(r.children(h.value.id), m, f.value) : []), _ = (e) => sr(r.children(e), m, f.value), v = i(() => ar(g.value, _)), y = (t.manifest.site?.languages ?? []).map((e) => e.code), b = (e) => t.manifest.site?.languages?.find((t) => t.code === e)?.label ?? e, x = (e) => e ? M(n.tr("countries", e, f.value).name ?? "") : "";
|
|
1347
1347
|
function C(e) {
|
|
@@ -1441,11 +1441,11 @@ var pr = {
|
|
|
1441
1441
|
}, {
|
|
1442
1442
|
default: C(() => [l(y(b(r)(`related.${t.key}`)), 1)]),
|
|
1443
1443
|
_: 2
|
|
1444
|
-
}, 1032, ["to", "target"])), [[b(
|
|
1444
|
+
}, 1032, ["to", "target"])), [[b(W), { text: _(t) }]]) : w((p(), s("a", {
|
|
1445
1445
|
key: 1,
|
|
1446
1446
|
href: t.href,
|
|
1447
1447
|
target: h.value
|
|
1448
|
-
}, [l(y(b(r)(`related.${t.key}`)), 1)], 8, _r)), [[b(
|
|
1448
|
+
}, [l(y(b(r)(`related.${t.key}`)), 1)], 8, _r)), [[b(W), { text: _(t) }]])
|
|
1449
1449
|
]))), 128)), e.allExhibitions ? (p(), s("li", vr, [
|
|
1450
1450
|
i[1] ||= l(" \xA0", -1),
|
|
1451
1451
|
c("img", {
|
|
@@ -1569,7 +1569,7 @@ var pr = {
|
|
|
1569
1569
|
}, [c("img", {
|
|
1570
1570
|
src: e.url,
|
|
1571
1571
|
alt: ""
|
|
1572
|
-
}, null, 8, Wr)], 8, Ur)), [[b(
|
|
1572
|
+
}, null, 8, Wr)], 8, Ur)), [[b(W), { text: e.alt_text ?? "" }]]) : (p(), s("img", {
|
|
1573
1573
|
key: 2,
|
|
1574
1574
|
src: e.url,
|
|
1575
1575
|
alt: ""
|
|
@@ -1608,7 +1608,7 @@ var pr = {
|
|
|
1608
1608
|
}
|
|
1609
1609
|
},
|
|
1610
1610
|
setup(e) {
|
|
1611
|
-
let t = e, n =
|
|
1611
|
+
let t = e, n = B(), { label: r, picture: i, settings: a, title: m } = $(), h = i(t.kind === "intro" ? "legacy/intro_bg.jpg" : "legacy/exhibition_bg.jpg");
|
|
1612
1612
|
function g() {
|
|
1613
1613
|
t.previous ? n.push(t.previous) : n.back();
|
|
1614
1614
|
}
|
|
@@ -1750,7 +1750,7 @@ var pr = {
|
|
|
1750
1750
|
class: "mwnf-sh-intro__shown",
|
|
1751
1751
|
src: N.value.image_url,
|
|
1752
1752
|
alt: ""
|
|
1753
|
-
}, null, 8, gi)])), [[b(
|
|
1753
|
+
}, null, 8, gi)])), [[b(W), { text: b(d)("item.showZoom") }]]),
|
|
1754
1754
|
t[0] ||= l("\xA0", -1),
|
|
1755
1755
|
t[1] ||= c("br", null, null, -1),
|
|
1756
1756
|
w((p(), s("button", {
|
|
@@ -1761,7 +1761,7 @@ var pr = {
|
|
|
1761
1761
|
alt: "",
|
|
1762
1762
|
width: "15",
|
|
1763
1763
|
height: "15"
|
|
1764
|
-
}, null, 8, _i)])), [[b(
|
|
1764
|
+
}, null, 8, _i)])), [[b(W), { text: b(d)("item.showZoom") }]])
|
|
1765
1765
|
])]),
|
|
1766
1766
|
P.value.name ? (p(), s("b", {
|
|
1767
1767
|
key: 0,
|
|
@@ -1856,7 +1856,7 @@ var pr = {
|
|
|
1856
1856
|
class: "mwnf-sh-panel__shown",
|
|
1857
1857
|
src: _.value.image_url,
|
|
1858
1858
|
alt: ""
|
|
1859
|
-
}, null, 8, Ii)])), [[b(
|
|
1859
|
+
}, null, 8, Ii)])), [[b(W), { text: b(f)("item.showZoom") }]]), c("div", Li, [w((p(), s("button", {
|
|
1860
1860
|
type: "button",
|
|
1861
1861
|
onClick: C
|
|
1862
1862
|
}, [c("img", {
|
|
@@ -1864,7 +1864,7 @@ var pr = {
|
|
|
1864
1864
|
alt: "",
|
|
1865
1865
|
width: "15",
|
|
1866
1866
|
height: "15"
|
|
1867
|
-
}, null, 8, Ri)])), [[b(
|
|
1867
|
+
}, null, 8, Ri)])), [[b(W), { text: b(f)("item.showZoom") }]])])])])]), c("div", zi, [
|
|
1868
1868
|
v.value.name ? (p(), s("p", {
|
|
1869
1869
|
key: 0,
|
|
1870
1870
|
class: "mwnf-sh-panel__name",
|
|
@@ -1949,11 +1949,11 @@ var pr = {
|
|
|
1949
1949
|
S(j, () => {
|
|
1950
1950
|
F.value = 0, I.value = 0;
|
|
1951
1951
|
});
|
|
1952
|
-
let
|
|
1952
|
+
let ee = (e) => {
|
|
1953
1953
|
F.value = e, I.value = 0;
|
|
1954
|
-
},
|
|
1954
|
+
}, L = (e) => A(w(e).title ?? ""), R = i(() => t.page === 0 ? d("home.overview") : A(M.value.title ?? "")), z = i(() => [
|
|
1955
1955
|
{ heading: w(k.value?.id).title },
|
|
1956
|
-
{ heading:
|
|
1956
|
+
{ heading: R.value },
|
|
1957
1957
|
{ text: M.value.quote ?? "" },
|
|
1958
1958
|
{ text: M.value.description ?? "" }
|
|
1959
1959
|
]);
|
|
@@ -1962,12 +1962,12 @@ var pr = {
|
|
|
1962
1962
|
return O.value ? (p(), s("div", $i, [
|
|
1963
1963
|
u(ni, { next: O.value.next }, null, 8, ["next"]),
|
|
1964
1964
|
c("div", ea, [c("div", ta, [
|
|
1965
|
-
c("div", na, y(
|
|
1966
|
-
c("div", ra, "\xA0" + y(
|
|
1965
|
+
c("div", na, y(L(k.value.id)), 1),
|
|
1966
|
+
c("div", ra, "\xA0" + y(R.value), 1),
|
|
1967
1967
|
N.value.length ? (p(), s("div", ia, [(p(!0), s(n, null, g(N.value, (e, t) => (p(), s("button", {
|
|
1968
1968
|
key: `${e.n}-${e.variants[0].id}`,
|
|
1969
1969
|
type: "button",
|
|
1970
|
-
onClick: (e) =>
|
|
1970
|
+
onClick: (e) => ee(t)
|
|
1971
1971
|
}, [c("img", {
|
|
1972
1972
|
src: e.variants[0].image_url,
|
|
1973
1973
|
alt: ""
|
|
@@ -1984,7 +1984,7 @@ var pr = {
|
|
|
1984
1984
|
c("div", ua, [c("b", null, [
|
|
1985
1985
|
c("span", da, y(b(d)("page.moreAbout")), 1),
|
|
1986
1986
|
i[1] ||= c("br", null, null, -1),
|
|
1987
|
-
c("span", fa, y(
|
|
1987
|
+
c("span", fa, y(L(k.value.id)), 1)
|
|
1988
1988
|
]), c("ul", null, [c("li", null, [c("img", {
|
|
1989
1989
|
src: b(m)("legacy/arrow_inner_black.gif"),
|
|
1990
1990
|
alt: "",
|
|
@@ -2006,7 +2006,7 @@ var pr = {
|
|
|
2006
2006
|
class: "mwnf-sh-arrow",
|
|
2007
2007
|
width: "11",
|
|
2008
2008
|
height: "8"
|
|
2009
|
-
}, null, 8, ha), e.page === n + 1 ? (p(), s("span", ga, y(
|
|
2009
|
+
}, null, 8, ha), e.page === n + 1 ? (p(), s("span", ga, y(L(t.id)), 1)) : (p(), a(f, {
|
|
2010
2010
|
key: 1,
|
|
2011
2011
|
to: {
|
|
2012
2012
|
name: "subtheme",
|
|
@@ -2016,12 +2016,12 @@ var pr = {
|
|
|
2016
2016
|
}
|
|
2017
2017
|
}
|
|
2018
2018
|
}, {
|
|
2019
|
-
default: C(() => [l(y(
|
|
2019
|
+
default: C(() => [l(y(L(t.id)), 1)]),
|
|
2020
2020
|
_: 2
|
|
2021
2021
|
}, 1032, ["to"]))]))), 128))])]),
|
|
2022
2022
|
u(si, {
|
|
2023
2023
|
title: b(D),
|
|
2024
|
-
blocks:
|
|
2024
|
+
blocks: z.value
|
|
2025
2025
|
}, null, 8, ["title", "blocks"])
|
|
2026
2026
|
]), u(Qi, {
|
|
2027
2027
|
view: I.value,
|
|
@@ -2041,14 +2041,14 @@ var pr = {
|
|
|
2041
2041
|
alt: "",
|
|
2042
2042
|
width: "10",
|
|
2043
2043
|
height: "9"
|
|
2044
|
-
}, null, 8, ba), n + 1 === e.theme ? (p(), s("span", xa, y(
|
|
2044
|
+
}, null, 8, ba), n + 1 === e.theme ? (p(), s("span", xa, y(L(t.id)), 1)) : (p(), a(f, {
|
|
2045
2045
|
key: 1,
|
|
2046
2046
|
to: {
|
|
2047
2047
|
name: "theme",
|
|
2048
2048
|
params: { theme: n + 1 }
|
|
2049
2049
|
}
|
|
2050
2050
|
}, {
|
|
2051
|
-
default: C(() => [l(y(
|
|
2051
|
+
default: C(() => [l(y(L(t.id)), 1)]),
|
|
2052
2052
|
_: 2
|
|
2053
2053
|
}, 1032, ["to"]))]))), 128))])]), c("div", Sa, [u(xr, {
|
|
2054
2054
|
arrow: "legacy/arrow_inner.gif",
|
|
@@ -2304,4 +2304,301 @@ function Ua({ parent: e, texts: t = rr, ...n }) {
|
|
|
2304
2304
|
};
|
|
2305
2305
|
}
|
|
2306
2306
|
//#endregion
|
|
2307
|
-
|
|
2307
|
+
//#region src/minisite/artintro/Home.vue
|
|
2308
|
+
var Wa = ["innerHTML"], Ga = ["innerHTML"], Ka = ["innerHTML"], qa = ["innerHTML"], Ja = { class: "mwnf-artintro-home__menu" }, Ya = {
|
|
2309
|
+
key: 0,
|
|
2310
|
+
class: "mwnf-artintro-home__menu2"
|
|
2311
|
+
}, Xa = {
|
|
2312
|
+
key: 1,
|
|
2313
|
+
class: "mwnf-artintro-home__icons"
|
|
2314
|
+
}, Za = { class: "mwnf-artintro-home__social" }, Qa = ["href"], $a = {
|
|
2315
|
+
__name: "Home",
|
|
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",
|
|
2386
|
+
props: {
|
|
2387
|
+
theme: {
|
|
2388
|
+
type: Number,
|
|
2389
|
+
required: !0
|
|
2390
|
+
},
|
|
2391
|
+
page: {
|
|
2392
|
+
type: Number,
|
|
2393
|
+
required: !0
|
|
2394
|
+
}
|
|
2395
|
+
},
|
|
2396
|
+
setup(e) {
|
|
2397
|
+
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 } = X(), I = i(() => M.value.find((e) => e.theme === r.theme && e.page === r.page) ?? null), L = i(() => M.value.filter((e) => e.theme === r.theme)), R = i(() => I.value ? O(I.value.node.id) : {}), z = i(() => I.value ? F(I.value.node.id) : []), B = i(() => I.value ? N(I.value.node) : []), V = i(() => R.value.quote ?? ""), H = i(() => E.value ? O(E.value.id).extra?.subtitle ?? "" : ""), U = h({
|
|
2398
|
+
slot: 0,
|
|
2399
|
+
variant: 0
|
|
2400
|
+
});
|
|
2401
|
+
S(() => [r.theme, r.page], () => U.value = {
|
|
2402
|
+
slot: 0,
|
|
2403
|
+
variant: 0
|
|
2404
|
+
});
|
|
2405
|
+
let G = i(() => B.value[U.value.slot] ?? null), K = i(() => ke(G.value, U.value.variant)), q = i(() => G.value?.variants[U.value.variant] ? {
|
|
2406
|
+
...P(G.value, U.value.variant),
|
|
2407
|
+
sheetId: Oe(G.value, U.value.variant, (e) => x.itemById.value.get(e))
|
|
2408
|
+
} : null);
|
|
2409
|
+
function te(e) {
|
|
2410
|
+
U.value = {
|
|
2411
|
+
slot: e,
|
|
2412
|
+
variant: 0
|
|
2413
|
+
};
|
|
2414
|
+
}
|
|
2415
|
+
function ne(e) {
|
|
2416
|
+
U.value = {
|
|
2417
|
+
...U.value,
|
|
2418
|
+
variant: e
|
|
2419
|
+
};
|
|
2420
|
+
}
|
|
2421
|
+
function re() {
|
|
2422
|
+
K.value && Z(j({
|
|
2423
|
+
name: "zoom",
|
|
2424
|
+
query: { img: K.value }
|
|
2425
|
+
}), Ve.zoom);
|
|
2426
|
+
}
|
|
2427
|
+
let J = ee(z), ie = i(() => A("legacy/page_block1_bg.gif"));
|
|
2428
|
+
return S([D, _], () => {
|
|
2429
|
+
document.title = [m("identity.windowTitle"), D.value].filter(Boolean).join(" | ");
|
|
2430
|
+
}, { immediate: !0 }), (r, i) => {
|
|
2431
|
+
let h = v("router-link");
|
|
2432
|
+
return I.value ? (p(), s("div", eo, [
|
|
2433
|
+
c("div", {
|
|
2434
|
+
class: "mwnf-artintro-page__head",
|
|
2435
|
+
style: f({ backgroundImage: ie.value ? `url(${ie.value})` : "none" })
|
|
2436
|
+
}, [c("div", to, [i[2] ||= l(" < ", -1), u(h, { to: { name: "home" } }, {
|
|
2437
|
+
default: C(() => [
|
|
2438
|
+
c("span", { innerHTML: b(x).mdInline(H.value) }, null, 8, no),
|
|
2439
|
+
i[1] ||= l(" | ", -1),
|
|
2440
|
+
c("span", { innerHTML: b(x).mdInline(b(D)) }, null, 8, ro)
|
|
2441
|
+
]),
|
|
2442
|
+
_: 1
|
|
2443
|
+
})])], 4),
|
|
2444
|
+
c("div", io, [c("div", {
|
|
2445
|
+
class: "mwnf-artintro-page__text",
|
|
2446
|
+
onClick: i[0] ||= (...e) => b(J).onClick && b(J).onClick(...e)
|
|
2447
|
+
}, [
|
|
2448
|
+
c("div", {
|
|
2449
|
+
class: "mwnf-artintro-page__title",
|
|
2450
|
+
innerHTML: b(x).mdInline(b(O)(I.value.themeNode.id).title)
|
|
2451
|
+
}, null, 8, ao),
|
|
2452
|
+
c("div", oo, [(p(!0), s(n, null, g(L.value, (t, r) => (p(), s(n, { key: t.node.id }, [r > 0 ? (p(), s(n, { key: 0 }, [l(" / ")], 64)) : o("", !0), u(h, {
|
|
2453
|
+
to: {
|
|
2454
|
+
name: "page",
|
|
2455
|
+
params: {
|
|
2456
|
+
theme: t.theme,
|
|
2457
|
+
page: t.page
|
|
2458
|
+
}
|
|
2459
|
+
},
|
|
2460
|
+
class: d(t.page === e.page ? "mwnf-artintro-page__current" : "mwnf-artintro-page__other")
|
|
2461
|
+
}, {
|
|
2462
|
+
default: C(() => [c("span", { innerHTML: b(x).mdInline(b(O)(t.node.id).title) }, null, 8, so)]),
|
|
2463
|
+
_: 2
|
|
2464
|
+
}, 1032, ["to", "class"])], 64))), 128))]),
|
|
2465
|
+
c("div", {
|
|
2466
|
+
class: d(["mwnf-artintro-page__quote", { "mwnf-artintro-page__quote--own-italics": b(Ne)(V.value) }]),
|
|
2467
|
+
innerHTML: b(x).mdInline(V.value, { glossary: z.value })
|
|
2468
|
+
}, null, 10, co),
|
|
2469
|
+
c("div", {
|
|
2470
|
+
class: "mwnf-artintro-page__content",
|
|
2471
|
+
innerHTML: b(x).md(R.value.description, { glossary: z.value })
|
|
2472
|
+
}, null, 8, lo)
|
|
2473
|
+
]), c("div", uo, [
|
|
2474
|
+
c("div", fo, [K.value ? w((p(), s("a", {
|
|
2475
|
+
key: 0,
|
|
2476
|
+
href: "#",
|
|
2477
|
+
onClick: T(re, ["prevent"])
|
|
2478
|
+
}, [c("img", {
|
|
2479
|
+
src: K.value,
|
|
2480
|
+
alt: ""
|
|
2481
|
+
}, null, 8, po)])), [[b(W), { text: b(m)("item.showZoom") }]]) : o("", !0)]),
|
|
2482
|
+
q.value ? (p(), s("div", mo, [
|
|
2483
|
+
c("div", null, [
|
|
2484
|
+
c("strong", { innerHTML: b(x).mdInline(q.value.name) }, null, 8, ho),
|
|
2485
|
+
i[3] ||= c("br", null, null, -1),
|
|
2486
|
+
(p(!0), s(n, null, g(q.value.dateLines, (e, t) => (p(), s(n, { key: t }, [t > 0 ? (p(), s("br", go)) : o("", !0), c("span", { innerHTML: b(x).mdInline(e) }, null, 8, _o)], 64))), 128))
|
|
2487
|
+
]),
|
|
2488
|
+
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, vo), i[4] ||= c("br", null, null, -1)], 64))), 128))]),
|
|
2489
|
+
G.value.variants.length > 1 ? (p(), s("div", yo, [(p(!0), s(n, null, g(G.value.variants, (e, t) => w((p(), s("a", {
|
|
2490
|
+
key: t,
|
|
2491
|
+
href: "#",
|
|
2492
|
+
onClick: T((e) => ne(t), ["prevent"])
|
|
2493
|
+
}, [c("img", {
|
|
2494
|
+
src: b(A)(t === U.value.variant ? "legacy/ico_item_selected.gif" : "legacy/ico_item.gif"),
|
|
2495
|
+
alt: ""
|
|
2496
|
+
}, null, 8, xo)], 8, bo)), [[b(W), { text: b(m)("item.showDetail") }]])), 128))])) : o("", !0),
|
|
2497
|
+
c("div", {
|
|
2498
|
+
class: "mwnf-artintro-page__justification",
|
|
2499
|
+
innerHTML: b(x).mdInline(q.value.justification)
|
|
2500
|
+
}, null, 8, So),
|
|
2501
|
+
q.value.sheetId ? (p(), s("div", Co, [c("a", {
|
|
2502
|
+
class: "mwnf-artintro-page__more",
|
|
2503
|
+
href: b(k).itemHref?.(q.value.sheetId)
|
|
2504
|
+
}, "> " + y(b(m)("item.moreInfo")), 9, wo)])) : o("", !0)
|
|
2505
|
+
])) : o("", !0),
|
|
2506
|
+
c("div", To, [(p(!0), s(n, null, g(B.value, (e, t) => w((p(), s("a", {
|
|
2507
|
+
key: `${e.n}-${e.variants[0].entry.id}`,
|
|
2508
|
+
href: "#",
|
|
2509
|
+
onClick: T((e) => te(t), ["prevent"])
|
|
2510
|
+
}, [e.variants[0].image ? (p(), s("img", {
|
|
2511
|
+
key: 0,
|
|
2512
|
+
src: e.variants[0].image,
|
|
2513
|
+
alt: "",
|
|
2514
|
+
height: "36"
|
|
2515
|
+
}, null, 8, Do)) : o("", !0)], 8, Eo)), [[b(W), {
|
|
2516
|
+
text: b(x).mdStrip(b(P)(e, 0).name),
|
|
2517
|
+
width: 160
|
|
2518
|
+
}]])), 128))])
|
|
2519
|
+
])]),
|
|
2520
|
+
b(J).active.value ? (p(), a(t, {
|
|
2521
|
+
key: 0,
|
|
2522
|
+
term: b(J).active.value,
|
|
2523
|
+
html: b(x).md(b(J).active.value.definition),
|
|
2524
|
+
onClose: b(J).close
|
|
2525
|
+
}, null, 8, [
|
|
2526
|
+
"term",
|
|
2527
|
+
"html",
|
|
2528
|
+
"onClose"
|
|
2529
|
+
])) : o("", !0)
|
|
2530
|
+
])) : o("", !0);
|
|
2531
|
+
};
|
|
2532
|
+
}
|
|
2533
|
+
};
|
|
2534
|
+
//#endregion
|
|
2535
|
+
//#region src/minisite/artintro/routes.js
|
|
2536
|
+
function ko(e) {
|
|
2537
|
+
return [
|
|
2538
|
+
{
|
|
2539
|
+
path: "/",
|
|
2540
|
+
name: "home",
|
|
2541
|
+
component: $a,
|
|
2542
|
+
meta: e("home", "collections")
|
|
2543
|
+
},
|
|
2544
|
+
{
|
|
2545
|
+
path: "/page/:theme(\\d+)/:page(\\d+)?",
|
|
2546
|
+
name: "page",
|
|
2547
|
+
component: Oo,
|
|
2548
|
+
props: (e) => ({
|
|
2549
|
+
theme: Number(e.params.theme),
|
|
2550
|
+
page: Number(e.params.page || 1)
|
|
2551
|
+
}),
|
|
2552
|
+
meta: e("page", ...Be)
|
|
2553
|
+
},
|
|
2554
|
+
{
|
|
2555
|
+
path: "/zoom",
|
|
2556
|
+
name: "zoom",
|
|
2557
|
+
component: kn,
|
|
2558
|
+
props: (e) => ({ image: String(e.query.img ?? "") }),
|
|
2559
|
+
meta: {
|
|
2560
|
+
...e("zoom", "collections"),
|
|
2561
|
+
bare: "zoom"
|
|
2562
|
+
}
|
|
2563
|
+
}
|
|
2564
|
+
];
|
|
2565
|
+
}
|
|
2566
|
+
function Ao({ languages: e, parent: t, texts: n = Pe.GAI }) {
|
|
2567
|
+
let r = [
|
|
2568
|
+
["aboutMwnf", j.about],
|
|
2569
|
+
["contact", j.contact],
|
|
2570
|
+
["legalNotice", j.legalNotice],
|
|
2571
|
+
["credits", j.credits],
|
|
2572
|
+
["cookies", j.cookies]
|
|
2573
|
+
];
|
|
2574
|
+
return {
|
|
2575
|
+
languages: e,
|
|
2576
|
+
logoHref: `${t}/#/`,
|
|
2577
|
+
logoTip: "",
|
|
2578
|
+
headerLinks: [{
|
|
2579
|
+
label: `${n}.header.portal`,
|
|
2580
|
+
href: j.portal,
|
|
2581
|
+
tip: `${n}.header.portalTip`
|
|
2582
|
+
}, {
|
|
2583
|
+
label: `${n}.header.home`,
|
|
2584
|
+
href: `${t}/#/`,
|
|
2585
|
+
tip: `${n}.header.homeTip`
|
|
2586
|
+
}],
|
|
2587
|
+
menu: [],
|
|
2588
|
+
footerLinks: r.map(([e, t]) => ({
|
|
2589
|
+
label: `${n}.footer.${e}`,
|
|
2590
|
+
href: t
|
|
2591
|
+
})),
|
|
2592
|
+
copyright: `${n}.footer.copyright`
|
|
2593
|
+
};
|
|
2594
|
+
}
|
|
2595
|
+
function jo({ parent: e, ...t }) {
|
|
2596
|
+
return {
|
|
2597
|
+
parent: e,
|
|
2598
|
+
family: "GAI",
|
|
2599
|
+
itemHref: (t) => `${e}/#/item/${encodeURIComponent(t)}`,
|
|
2600
|
+
...t
|
|
2601
|
+
};
|
|
2602
|
+
}
|
|
2603
|
+
//#endregion
|
|
2604
|
+
export { $a as ArtIntroHome, Oo as ArtIntroPage, Be as EXHIBITION_ENTITIES, _e as ISLAMICART_NO_COUNTRY, Pe as LABELS, Sn as MinisiteCredits, pt as MinisiteHome, Ut as MinisiteIntroduction, En as MinisiteMap, yn as MinisitePage, me as MinisiteShell, kn as MinisiteZoom, ge as PLACEHOLDER_TITLE, rr as SHARINGHISTORY_LABELS, pr as SHARINGHISTORY_WINDOWS, Pa as SharingHistoryFurtherReading, Kr as SharingHistoryHome, Mi as SharingHistoryIntroduction, Ca as SharingHistoryPage, nr as SharingHistoryShell, Ia as SharingHistoryWindow, Ra as SharingHistoryZoom, Ao as artintroNavigation, ko as artintroRoutes, jo as artintroSettings, Mn as baroqueartMenu, Y as cleanText, je as curatorLabel, Me as curatorLink, Ee as detailViewCaption, ze as exhibitionData, Fe as familyOf, Ae as introCaption, jn as islamicartMenu, Ie as labelSet, Pn as minisiteNavigation, An as minisiteRoutes, Fn as minisiteSettings, ye as pageWithNeighbours, Te as placementCaption, Ne as quoteHasItalics, ve as readingOrder, dr as sharinghistoryCaption, sr as sharinghistoryListedSubthemes, or as sharinghistoryListedThemes, Ha as sharinghistoryNavigation, cr as sharinghistoryPageRoute, lr as sharinghistoryPageWithNext, ar as sharinghistoryReadingOrder, fr as sharinghistoryRelatedLinks, Ba as sharinghistoryRoutes, Ua as sharinghistorySettings, ur as sharinghistorySlotsOf, Oe as sheetItemId, be as slotsOf, X as useExhibition, $ as useSharingHistoryExhibition, ke as viewPicture, De as withFirstView };
|