@museumwnf/viewer-layout 3.88.0 → 3.89.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 +7 -0
- package/dist/dxa.js +347 -318
- package/package.json +1 -1
package/dist/dxa.js
CHANGED
|
@@ -5,21 +5,21 @@ import { c as ue, d as V, t as de } from "./PartnerMap-DdyMLtgH.js";
|
|
|
5
5
|
import { a as H, i as fe, n as pe } from "./TimelineEventList-CIkKxyQu.js";
|
|
6
6
|
import { t as me } from "./RecordView-DAvWufWV.js";
|
|
7
7
|
import { A as he, C as ge, D as _e, E as ve, M as ye, N as be, O as xe, P as Se, S as Ce, T as we, _ as Te, a as Ee, b as De, c as Oe, d as ke, f as Ae, g as je, h as Me, i as Ne, j as Pe, k as Fe, l as Ie, m as Le, n as Re, o as ze, p as Be, r as Ve, s as He, t as Ue, u as We, v as Ge, w as Ke, x as qe, y as Je } from "./data-gT947pBe.js";
|
|
8
|
-
import { A as Ye, C as Xe, D as Ze, E as Qe, M as U, N as $e, O as et, P as tt, S as nt, T as rt, _ as it, a as at, b as ot, c as W, d as st, f as ct, g as lt, h as ut, i as dt, j as G, k as ft, l as pt, m as
|
|
9
|
-
import { n as
|
|
10
|
-
import { RouterLink as
|
|
11
|
-
import { romanFor as
|
|
12
|
-
import { t as
|
|
13
|
-
import { i as
|
|
14
|
-
import { i as
|
|
15
|
-
import { n as
|
|
16
|
-
import { n as
|
|
17
|
-
import { n as
|
|
8
|
+
import { A as Ye, C as Xe, D as Ze, E as Qe, M as U, N as $e, O as et, P as tt, S as nt, T as rt, _ as it, a as at, b as ot, c as W, d as st, f as ct, g as lt, h as ut, i as dt, j as G, k as ft, l as pt, m as K, n as mt, o as ht, p as gt, r as _t, s as vt, t as yt, u as bt, v as q, w as xt, x as St, y as Ct } from "./data-CD0QmDAc.js";
|
|
9
|
+
import { n as wt, r as J, t as Tt } from "./TimelineResultsView-Bn4rC_Se.js";
|
|
10
|
+
import { RouterLink as Y, useRoute as X, useRouter as Et } from "vue-router";
|
|
11
|
+
import { romanFor as Dt } from "@museumwnf/viewer-core/dxa";
|
|
12
|
+
import { t as Ot } from "./SiteShell-D0u1FGMu.js";
|
|
13
|
+
import { i as kt, n as At, r as jt, t as Mt } from "./chrome-Bv_mLlHM.js";
|
|
14
|
+
import { i as Nt } from "./PageShell-BAtk_qcb.js";
|
|
15
|
+
import { n as Pt, t as Ft } from "./LegacyItemSheet-BPI7vIv2.js";
|
|
16
|
+
import { n as It, r as Z } from "./Theme-BUfsZDdm.js";
|
|
17
|
+
import { n as Lt, r as Rt, t as zt } from "./themeSpecs-C0tSNkSd.js";
|
|
18
18
|
// src/dxa/PartnerDetail.vue
|
|
19
|
-
var
|
|
19
|
+
var Bt = { class: "mwnf-dxa-profile-languages" }, Vt = { class: "mwnf-dxa-profile-map-label" }, Ht = {
|
|
20
20
|
key: 1,
|
|
21
21
|
class: "mwnf-dxa-profile-no-map"
|
|
22
|
-
},
|
|
22
|
+
}, Ut = {
|
|
23
23
|
__name: "PartnerDetail",
|
|
24
24
|
props: {
|
|
25
25
|
id: {
|
|
@@ -47,7 +47,7 @@ var Vt = { class: "mwnf-dxa-profile-languages" }, Ht = { class: "mwnf-dxa-profil
|
|
|
47
47
|
id: e.id,
|
|
48
48
|
class: k(["mwnf-dxa-partner-profile", e.family.className])
|
|
49
49
|
}, {
|
|
50
|
-
header: R(({ languages: t, language: n, select: r }) => [T("div",
|
|
50
|
+
header: R(({ languages: t, language: n, select: r }) => [T("div", Bt, [O(ue, {
|
|
51
51
|
languages: t,
|
|
52
52
|
language: n,
|
|
53
53
|
from: e.family.legacyMap ? 1 : 2,
|
|
@@ -78,7 +78,7 @@ var Vt = { class: "mwnf-dxa-profile-languages" }, Ht = { class: "mwnf-dxa-profil
|
|
|
78
78
|
_: 2
|
|
79
79
|
}, [e.family.legacyMap ? {
|
|
80
80
|
name: "after",
|
|
81
|
-
fn: R(({ partner: t }) => [t.map ? (N(), w(b, { key: 0 }, [T("p",
|
|
81
|
+
fn: R(({ partner: t }) => [t.map ? (N(), w(b, { key: 0 }, [T("p", Vt, I(L(r)(e.family.legacyMap.label)), 1), O(de, {
|
|
82
82
|
class: "mwnf-dxa-profile-map",
|
|
83
83
|
provider: "google",
|
|
84
84
|
latitude: t.map.latitude,
|
|
@@ -90,7 +90,7 @@ var Vt = { class: "mwnf-dxa-profile-languages" }, Ht = { class: "mwnf-dxa-profil
|
|
|
90
90
|
"longitude",
|
|
91
91
|
"zoom",
|
|
92
92
|
"label"
|
|
93
|
-
])], 64)) : (N(), w("p",
|
|
93
|
+
])], 64)) : (N(), w("p", Ht))]),
|
|
94
94
|
key: "0"
|
|
95
95
|
} : void 0]), 1032, [
|
|
96
96
|
"partner",
|
|
@@ -106,7 +106,7 @@ var Vt = { class: "mwnf-dxa-profile-languages" }, Ht = { class: "mwnf-dxa-profil
|
|
|
106
106
|
"class"
|
|
107
107
|
])) : (N(), S(L(n), { key: 1 }));
|
|
108
108
|
}
|
|
109
|
-
},
|
|
109
|
+
}, Wt = {
|
|
110
110
|
__name: "TextPage",
|
|
111
111
|
props: {
|
|
112
112
|
body: {
|
|
@@ -135,50 +135,50 @@ var Vt = { class: "mwnf-dxa-profile-languages" }, Ht = { class: "mwnf-dxa-profil
|
|
|
135
135
|
"blank-lines": ""
|
|
136
136
|
}, null, 8, ["keypath"])], 2));
|
|
137
137
|
}
|
|
138
|
-
},
|
|
138
|
+
}, Gt = {
|
|
139
139
|
__name: "About",
|
|
140
140
|
setup(e) {
|
|
141
|
-
return (e, t) => (N(), S(
|
|
141
|
+
return (e, t) => (N(), S(Wt, {
|
|
142
142
|
kind: "about",
|
|
143
143
|
body: "gallery.about.body"
|
|
144
144
|
}));
|
|
145
145
|
}
|
|
146
|
-
},
|
|
146
|
+
}, Kt = {
|
|
147
147
|
__name: "Credits",
|
|
148
148
|
props: { bodyKey: {
|
|
149
149
|
type: String,
|
|
150
150
|
required: !0
|
|
151
151
|
} },
|
|
152
152
|
setup(e) {
|
|
153
|
-
return (t, n) => (N(), S(
|
|
153
|
+
return (t, n) => (N(), S(Wt, {
|
|
154
154
|
kind: "credits",
|
|
155
155
|
body: e.bodyKey
|
|
156
156
|
}, null, 8, ["body"]));
|
|
157
157
|
}
|
|
158
|
-
},
|
|
158
|
+
}, qt = { class: "mwnf-dxa-exhibition-credits" }, Jt = {
|
|
159
159
|
__name: "Credits",
|
|
160
160
|
props: { bodyKey: {
|
|
161
161
|
type: String,
|
|
162
162
|
required: !0
|
|
163
163
|
} },
|
|
164
164
|
setup(t) {
|
|
165
|
-
return (n, r) => (N(), w("div",
|
|
165
|
+
return (n, r) => (N(), w("div", qt, [O(B), O(L(e), {
|
|
166
166
|
class: "mwnf-dxa-exhibition-credits__body",
|
|
167
167
|
dir: "auto",
|
|
168
168
|
keypath: t.bodyKey,
|
|
169
169
|
"blank-lines": ""
|
|
170
170
|
}, null, 8, ["keypath"])]));
|
|
171
171
|
}
|
|
172
|
-
},
|
|
172
|
+
}, Yt = {
|
|
173
173
|
__name: "SearchHowTo",
|
|
174
174
|
setup(e) {
|
|
175
|
-
return (e, t) => (N(), S(
|
|
175
|
+
return (e, t) => (N(), S(Wt, {
|
|
176
176
|
kind: "how-to",
|
|
177
177
|
body: "catalogue.search.howToEssay",
|
|
178
178
|
back: { name: "collection" }
|
|
179
179
|
}));
|
|
180
180
|
}
|
|
181
|
-
},
|
|
181
|
+
}, Xt = {
|
|
182
182
|
DGA: "dga",
|
|
183
183
|
ISL: "isl",
|
|
184
184
|
EPM: "isl",
|
|
@@ -186,36 +186,36 @@ var Vt = { class: "mwnf-dxa-profile-languages" }, Ht = { class: "mwnf-dxa-profil
|
|
|
186
186
|
BAR: "dba",
|
|
187
187
|
GALLERIES: "galleries",
|
|
188
188
|
DCA: "dca"
|
|
189
|
-
},
|
|
189
|
+
}, Zt = {
|
|
190
190
|
partner: "gallery.partners.statusPartner",
|
|
191
191
|
affiliate: "gallery.partners.statusAffiliate"
|
|
192
192
|
};
|
|
193
|
-
function
|
|
193
|
+
function Qt(e, t = Zt) {
|
|
194
194
|
let n = e?.own_project;
|
|
195
195
|
if (!n?.name) return null;
|
|
196
|
-
let r = "tone" in n ? n.tone ?? "" : n.exhibition ? "exh" :
|
|
196
|
+
let r = "tone" in n ? n.tone ?? "" : n.exhibition ? "exh" : Xt[$t(n)] ?? "", i = n.level === "partner" || !!n.exhibition;
|
|
197
197
|
return {
|
|
198
198
|
name: n.name,
|
|
199
199
|
status: i ? t.partner : t.affiliate,
|
|
200
200
|
tone: r
|
|
201
201
|
};
|
|
202
202
|
}
|
|
203
|
-
function
|
|
203
|
+
function $t(e) {
|
|
204
204
|
return String(e.backward_compatibility ?? "").split(":").pop().toUpperCase();
|
|
205
205
|
}
|
|
206
|
-
var
|
|
206
|
+
var en = {
|
|
207
207
|
partner: "exhibition.partners.statusPartner",
|
|
208
208
|
associated_partner: "exhibition.partners.statusAssociated",
|
|
209
209
|
minor_contributor: "exhibition.partners.statusFurtherAssociated"
|
|
210
|
-
},
|
|
211
|
-
function
|
|
210
|
+
}, tn = "mwnf3:institutions:";
|
|
211
|
+
function nn(e) {
|
|
212
212
|
let t = e?.own_project;
|
|
213
213
|
if (!t?.name) return null;
|
|
214
|
-
let n = String(t.backward_compatibility ?? "").split(":").pop().toUpperCase(), r = String(e?.backward_compatibility ?? "").startsWith(
|
|
214
|
+
let n = String(t.backward_compatibility ?? "").split(":").pop().toUpperCase(), r = String(e?.backward_compatibility ?? "").startsWith(tn) ? e.level : t.level;
|
|
215
215
|
return {
|
|
216
216
|
name: t.name,
|
|
217
|
-
status: t.exhibition ?
|
|
218
|
-
tone: t.exhibition ? "exh" :
|
|
217
|
+
status: t.exhibition ? en.partner : en[r] ?? null,
|
|
218
|
+
tone: t.exhibition ? "exh" : Xt[n] ?? ""
|
|
219
219
|
};
|
|
220
220
|
}
|
|
221
221
|
// src/dxa/gallery/Partners.vue
|
|
@@ -231,7 +231,7 @@ var rn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, an = { class:
|
|
|
231
231
|
orderToggle: !1,
|
|
232
232
|
tiebreak: (e) => e.own_project?.name ?? ""
|
|
233
233
|
};
|
|
234
|
-
return (t, r) => (N(), w("div", rn, [O(
|
|
234
|
+
return (t, r) => (N(), w("div", rn, [O(wt, { spec: n }, {
|
|
235
235
|
before: R(({ t, orderDir: n, toggleOrder: r }) => [T("div", an, [O(B), T("div", on, [T("button", {
|
|
236
236
|
type: "button",
|
|
237
237
|
onClick: r
|
|
@@ -250,10 +250,10 @@ var rn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, an = { class:
|
|
|
250
250
|
default: R(() => [T("span", { innerHTML: t.name }, null, 8, dn), t.city ? (N(), w("span", fn, ", " + I(t.city), 1)) : C("", !0)]),
|
|
251
251
|
_: 2
|
|
252
252
|
}, 1032, ["to"]),
|
|
253
|
-
L(
|
|
253
|
+
L(Qt)(e) ? (N(), w("div", {
|
|
254
254
|
key: 0,
|
|
255
|
-
class: k(["mwnf-dxa-partner-badge", L(
|
|
256
|
-
}, [D(I(L(
|
|
255
|
+
class: k(["mwnf-dxa-partner-badge", L(Qt)(e).tone && `mwnf-dxa-partner-badge--${L(Qt)(e).tone}`])
|
|
256
|
+
}, [D(I(L(Qt)(e).name) + " ", 1), T("span", pn, I(n(L(Qt)(e).status)), 1)], 2)) : C("", !0),
|
|
257
257
|
T("div", mn, [O(V, { to: t.route }, {
|
|
258
258
|
default: R(() => [D(I(n("partner.action.readMore")), 1)]),
|
|
259
259
|
_: 2
|
|
@@ -451,7 +451,7 @@ var rn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, an = { class:
|
|
|
451
451
|
value: `${n("catalogue.results.outOf")} ${i} ${n("catalogue.results.objects")}`
|
|
452
452
|
}]
|
|
453
453
|
}));
|
|
454
|
-
return (e, t) => (N(), S(
|
|
454
|
+
return (e, t) => (N(), S(J, {
|
|
455
455
|
spec: a.value,
|
|
456
456
|
class: "mwnf-dxa-search-results"
|
|
457
457
|
}, {
|
|
@@ -464,7 +464,7 @@ var rn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, an = { class:
|
|
|
464
464
|
type: "text",
|
|
465
465
|
class: "mwnf-dxa-refine-search-input",
|
|
466
466
|
placeholder: e.$t("catalogue.search.keywordPlaceholder")
|
|
467
|
-
}, null, 8, Rn), [[ae, i.value]]), T("button", zn, I(e.$t("catalogue.search.submit")), 1)], 40, Ln), T("p", Bn, [O(L(
|
|
467
|
+
}, null, 8, Rn), [[ae, i.value]]), T("button", zn, I(e.$t("catalogue.search.submit")), 1)], 40, Ln), T("p", Bn, [O(L(Y), { to: { name: "search-how-to" } }, {
|
|
468
468
|
default: R(() => [D(I(e.$t("catalogue.search.howTo")) + " ›", 1)]),
|
|
469
469
|
_: 1
|
|
470
470
|
})])]),
|
|
@@ -485,12 +485,12 @@ var rn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, an = { class:
|
|
|
485
485
|
rows: n
|
|
486
486
|
}, null, 8, ["rows"])) : (N(), w("p", Vn, [
|
|
487
487
|
D(I(e.$t("catalogue.results.noResultsSearch")) + " ", 1),
|
|
488
|
-
O(L(
|
|
488
|
+
O(L(Y), { to: { name: "search-how-to" } }, {
|
|
489
489
|
default: R(() => [D(I(e.$t("catalogue.search.howTo")), 1)]),
|
|
490
490
|
_: 1
|
|
491
491
|
}),
|
|
492
492
|
t[2] ||= T("span", { class: "mwnf-dxa-no-results-divider" }, "|", -1),
|
|
493
|
-
O(L(
|
|
493
|
+
O(L(Y), { to: { name: "collection" } }, {
|
|
494
494
|
default: R(() => [D(I(e.$t("core.section.collection")), 1)]),
|
|
495
495
|
_: 1
|
|
496
496
|
})
|
|
@@ -501,7 +501,7 @@ var rn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, an = { class:
|
|
|
501
501
|
}, Un = {
|
|
502
502
|
__name: "TimelineResults",
|
|
503
503
|
setup(e) {
|
|
504
|
-
return (e, t) => (N(), S(
|
|
504
|
+
return (e, t) => (N(), S(Tt, {
|
|
505
505
|
spec: L(ye),
|
|
506
506
|
class: "mwnf-dxa-timeline-results"
|
|
507
507
|
}, {
|
|
@@ -515,7 +515,7 @@ var rn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, an = { class:
|
|
|
515
515
|
}, Kn = {
|
|
516
516
|
__name: "TimelineGallery",
|
|
517
517
|
setup(e) {
|
|
518
|
-
return (e, t) => (N(), S(
|
|
518
|
+
return (e, t) => (N(), S(J, {
|
|
519
519
|
spec: {
|
|
520
520
|
...L(Pe),
|
|
521
521
|
...L(Ge)
|
|
@@ -523,7 +523,7 @@ var rn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, an = { class:
|
|
|
523
523
|
class: "mwnf-dxa-timeline-gallery"
|
|
524
524
|
}, {
|
|
525
525
|
before: R(() => [O(B)]),
|
|
526
|
-
actions: R(({ filters: t, pageInfo: n, goToPage: r }) => [T("p", Wn, [O(L(
|
|
526
|
+
actions: R(({ filters: t, pageInfo: n, goToPage: r }) => [T("p", Wn, [O(L(Y), { to: {
|
|
527
527
|
name: "timeline-results",
|
|
528
528
|
query: {
|
|
529
529
|
country: t.country,
|
|
@@ -578,7 +578,7 @@ var rn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, an = { class:
|
|
|
578
578
|
let t = ze(e.country);
|
|
579
579
|
return !!(t && u.value.has(t));
|
|
580
580
|
}
|
|
581
|
-
return (t, a) => (N(), w("div", qn, [O(
|
|
581
|
+
return (t, a) => (N(), w("div", qn, [O(J, {
|
|
582
582
|
spec: {
|
|
583
583
|
...L(Ee),
|
|
584
584
|
...L(Ge),
|
|
@@ -670,7 +670,7 @@ var rn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, an = { class:
|
|
|
670
670
|
]), d(e) ? (N(), w("div", Qn, [T("div", $n, I(L(n)("gallery.collection.timelineForSearch")), 1), T("p", er, [a[0] ||= T("span", {
|
|
671
671
|
class: "mwnf-dxa-gallery-results__share",
|
|
672
672
|
"aria-hidden": "true"
|
|
673
|
-
}, "➦", -1), O(L(
|
|
673
|
+
}, "➦", -1), O(L(Y), { to: {
|
|
674
674
|
name: "timeline-results",
|
|
675
675
|
query: {
|
|
676
676
|
country: e.country,
|
|
@@ -699,7 +699,7 @@ var rn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, an = { class:
|
|
|
699
699
|
}, hr = ["value"], gr = ["innerHTML"], _r = {
|
|
700
700
|
__name: "CollectionSearch",
|
|
701
701
|
setup(e) {
|
|
702
|
-
let t =
|
|
702
|
+
let t = Et(), { t: n } = p(), r = x(() => s(`${n("gallery.collection.introBeforeName")} *${ke(Oe)}* ${n("gallery.collection.introAfterName")}`)), i = f(je, Ue), a = {
|
|
703
703
|
country: "gallery.collection.selectCountry",
|
|
704
704
|
type: "gallery.collection.type",
|
|
705
705
|
dynasty: "gallery.collection.periodDynasty",
|
|
@@ -756,12 +756,12 @@ var rn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, an = { class:
|
|
|
756
756
|
}, Cr = {
|
|
757
757
|
__name: "PartnerObjects",
|
|
758
758
|
setup(e) {
|
|
759
|
-
let t =
|
|
759
|
+
let t = X(), n = x(() => qe.value.get(t.params.id) ?? null), r = x(() => ({
|
|
760
760
|
...we,
|
|
761
761
|
...Ge,
|
|
762
762
|
scope: (e) => e.partner_id === t.params.id
|
|
763
763
|
})), i = x(() => n.value ? Ce.view(n.value, Se("partners", n.value.id, He)) : null), a = x(() => [i.value?.city, i.value?.country].filter(Boolean).join(", "));
|
|
764
|
-
return (e, t) => n.value ? (N(), w("div", vr, [O(
|
|
764
|
+
return (e, t) => n.value ? (N(), w("div", vr, [O(J, { spec: r.value }, {
|
|
765
765
|
before: R(() => [O(B), T("div", yr, [T("p", {
|
|
766
766
|
class: "mwnf-dxa-gallery-objects__name",
|
|
767
767
|
innerHTML: i.value.name
|
|
@@ -779,7 +779,7 @@ var rn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, an = { class:
|
|
|
779
779
|
"page-info": e,
|
|
780
780
|
onNavigate: t
|
|
781
781
|
}, null, 8, ["page-info", "onNavigate"])]),
|
|
782
|
-
aside: R(() => [O(L(
|
|
782
|
+
aside: R(() => [O(L(Y), {
|
|
783
783
|
class: "mwnf-dxa-gallery-objects__profile",
|
|
784
784
|
to: L(_e)(n.value)
|
|
785
785
|
}, {
|
|
@@ -816,7 +816,7 @@ var rn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, an = { class:
|
|
|
816
816
|
orderToggle: !1,
|
|
817
817
|
tiebreak: (e) => e.own_project?.name ?? ""
|
|
818
818
|
};
|
|
819
|
-
return (t, r) => (N(), w("div", Er, [O(
|
|
819
|
+
return (t, r) => (N(), w("div", Er, [O(wt, { spec: n }, {
|
|
820
820
|
before: R(({ t, orderDir: n, toggleOrder: r }) => [T("div", Dr, [O(B), T("div", Or, [T("button", {
|
|
821
821
|
type: "button",
|
|
822
822
|
onClick: r
|
|
@@ -835,10 +835,10 @@ var rn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, an = { class:
|
|
|
835
835
|
default: R(() => [T("span", { innerHTML: t.name }, null, 8, Nr), t.city ? (N(), w("span", Pr, ", " + I(t.city), 1)) : C("", !0)]),
|
|
836
836
|
_: 2
|
|
837
837
|
}, 1032, ["to"]),
|
|
838
|
-
L(
|
|
838
|
+
L(nn)(e) ? (N(), w("div", {
|
|
839
839
|
key: 0,
|
|
840
|
-
class: k(["mwnf-dxa-partner-badge", L(
|
|
841
|
-
}, [D(I(L(
|
|
840
|
+
class: k(["mwnf-dxa-partner-badge", L(nn)(e).tone && `mwnf-dxa-partner-badge--${L(nn)(e).tone}`])
|
|
841
|
+
}, [D(I(L(nn)(e).name + " "), 1), L(nn)(e).status ? (N(), w("span", Fr, I(n(L(nn)(e).status)), 1)) : C("", !0)], 2)) : C("", !0),
|
|
842
842
|
T("div", Ir, [O(V, { to: t.route }, {
|
|
843
843
|
default: R(() => [D(I(n("partner.action.readMore")), 1)]),
|
|
844
844
|
_: 2
|
|
@@ -846,7 +846,7 @@ var rn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, an = { class:
|
|
|
846
846
|
class: "mwnf-dxa-gallery-partners__divider",
|
|
847
847
|
"aria-hidden": "true"
|
|
848
848
|
}, "|", -1), O(V, { to: t.objectsRoute }, {
|
|
849
|
-
default: R(() => [D(I(n(L(
|
|
849
|
+
default: R(() => [D(I(n(L(xt)(e))), 1)]),
|
|
850
850
|
_: 2
|
|
851
851
|
}, 1032, ["to"])], 64)) : C("", !0)])
|
|
852
852
|
]), T("div", Lr, [t.logos?.[0] ? (N(), w("img", {
|
|
@@ -877,36 +877,36 @@ var rn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, an = { class:
|
|
|
877
877
|
}, ci = {
|
|
878
878
|
__name: "SearchResults",
|
|
879
879
|
setup(t) {
|
|
880
|
-
let { t: n } = p(), r =
|
|
880
|
+
let { t: n } = p(), r = X(), i = Et(), a = m("items", {
|
|
881
881
|
grammar: "boolean",
|
|
882
|
-
haystack:
|
|
882
|
+
haystack: gt
|
|
883
883
|
}), o = P(!1);
|
|
884
|
-
|
|
884
|
+
St().then(() => {
|
|
885
885
|
o.value = !0;
|
|
886
886
|
});
|
|
887
887
|
let s = (e) => !e || e === "all-items" || e === "all-objects", l = (e) => e && e.length > 80 ? `${e.slice(0, 80)}...` : e ?? "", u = x(() => ({
|
|
888
888
|
entity: "items",
|
|
889
889
|
keys: ["q"],
|
|
890
|
-
scope: (e) =>
|
|
890
|
+
scope: (e) => K.value.has(e.id),
|
|
891
891
|
narrow: (e, t) => {
|
|
892
892
|
if (!o.value) return [];
|
|
893
893
|
if (s(t.q)) return e;
|
|
894
894
|
let n = new Set(e.map((e) => e.id));
|
|
895
895
|
return a.search(t.q).filter((e) => n.has(e.id));
|
|
896
896
|
},
|
|
897
|
-
...
|
|
898
|
-
sort: s(r.query.q) ?
|
|
897
|
+
...Ct,
|
|
898
|
+
sort: s(r.query.q) ? Ct.sort : !1,
|
|
899
899
|
summary: () => [],
|
|
900
900
|
record: (e) => {
|
|
901
|
-
let t = U("items", e.id,
|
|
901
|
+
let t = U("items", e.id, vt);
|
|
902
902
|
return {
|
|
903
903
|
id: e.id,
|
|
904
904
|
image: e.images?.[0]?.url ?? "",
|
|
905
|
-
imageAlt:
|
|
905
|
+
imageAlt: q("items", e.id),
|
|
906
906
|
name: c(t.name ?? e.internal_name ?? ""),
|
|
907
907
|
date: l(t.dates),
|
|
908
|
-
partner:
|
|
909
|
-
place: [t.location,
|
|
908
|
+
partner: q("partners", e.partner_id),
|
|
909
|
+
place: [t.location, q("countries", e.country_id)].filter(Boolean).join(", "),
|
|
910
910
|
start: e.start_date ?? 0,
|
|
911
911
|
to: lt(e)
|
|
912
912
|
};
|
|
@@ -936,13 +936,13 @@ var rn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, an = { class:
|
|
|
936
936
|
}
|
|
937
937
|
return se(() => r.fullPath, () => {
|
|
938
938
|
_.value = null;
|
|
939
|
-
}), (t, r) => (N(), w("div", Br, [O(
|
|
939
|
+
}), (t, r) => (N(), w("div", Br, [O(J, {
|
|
940
940
|
spec: u.value,
|
|
941
941
|
class: "mwnf-dxa-exhibition-search__view"
|
|
942
942
|
}, {
|
|
943
943
|
before: R(({ pageInfo: e, goToPage: t }) => [
|
|
944
944
|
O(B),
|
|
945
|
-
T("div", Vr, [T("div", Hr, [e.total ? (N(), w("p", Ur, I(L(n)("exhibition.search.heading")) + " | " + I(e.total) + " " + I(L(n)("exhibition.search.recordsOutOf")) + " " + I(L(
|
|
945
|
+
T("div", Vr, [T("div", Hr, [e.total ? (N(), w("p", Ur, I(L(n)("exhibition.search.heading")) + " | " + I(e.total) + " " + I(L(n)("exhibition.search.recordsOutOf")) + " " + I(L(K).size) + " " + I(L(n)("exhibition.collection.items")), 1)) : (N(), w("p", Wr, [D(I(L(n)("exhibition.search.heading")) + " | ", 1), T("span", null, I(L(n)("exhibition.search.none")), 1)]))]), T("div", Gr, [T("form", { onSubmit: r[2] ||= le((e) => h(), ["prevent"]) }, [z(T("input", {
|
|
946
946
|
"onUpdate:modelValue": r[0] ||= (e) => f.value = e,
|
|
947
947
|
class: "mwnf-dxa-exhibition-search__input",
|
|
948
948
|
type: "search",
|
|
@@ -952,7 +952,7 @@ var rn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, an = { class:
|
|
|
952
952
|
type: "button",
|
|
953
953
|
class: "mwnf-dxa-exhibition-search__button",
|
|
954
954
|
onClick: r[1] ||= (e) => g()
|
|
955
|
-
}, I(L(n)("exhibition.search.reset")), 1)])], 32), T("div", Yr, [O(L(
|
|
955
|
+
}, I(L(n)("exhibition.search.reset")), 1)])], 32), T("div", Yr, [O(L(Y), { to: { name: "search-how-to" } }, {
|
|
956
956
|
default: R(() => [D(I(L(n)("exhibition.search.tips")), 1)]),
|
|
957
957
|
_: 1
|
|
958
958
|
})])])]),
|
|
@@ -973,7 +973,7 @@ var rn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, an = { class:
|
|
|
973
973
|
])])), T("div", ri, [(N(!0), w(b, null, F(d(t), (e) => (N(), w("div", {
|
|
974
974
|
key: e.id,
|
|
975
975
|
class: "mwnf-dxa-exhibition-search__result"
|
|
976
|
-
}, [O(L(
|
|
976
|
+
}, [O(L(Y), {
|
|
977
977
|
to: e.to,
|
|
978
978
|
class: "mwnf-dxa-exhibition-search__result-image"
|
|
979
979
|
}, {
|
|
@@ -984,7 +984,7 @@ var rn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, an = { class:
|
|
|
984
984
|
onMouseover: (t) => _.value = e.id
|
|
985
985
|
}, null, 40, ii)]),
|
|
986
986
|
_: 2
|
|
987
|
-
}, 1032, ["to"]), T("div", ai, [O(L(
|
|
987
|
+
}, 1032, ["to"]), T("div", ai, [O(L(Y), { to: e.to }, {
|
|
988
988
|
default: R(() => [T("strong", {
|
|
989
989
|
innerHTML: e.name,
|
|
990
990
|
onMouseover: (t) => _.value = e.id
|
|
@@ -1038,7 +1038,7 @@ var rn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, an = { class:
|
|
|
1038
1038
|
...e,
|
|
1039
1039
|
options: n
|
|
1040
1040
|
} : e)
|
|
1041
|
-
})), i = x(() => G.value.scope === "country"), a =
|
|
1041
|
+
})), i = x(() => G.value.scope === "country"), a = X(), o = ee({
|
|
1042
1042
|
country: "",
|
|
1043
1043
|
begin: "",
|
|
1044
1044
|
end: ""
|
|
@@ -1051,7 +1051,7 @@ var rn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, an = { class:
|
|
|
1051
1051
|
let n = e?.year_from;
|
|
1052
1052
|
return Number.isFinite(n) ? `${n} ${t(n < 0 ? "exhibition.era.bc" : "exhibition.era.ad")}` : "";
|
|
1053
1053
|
}
|
|
1054
|
-
return (e, t) => (N(), w("div", li, [O(
|
|
1054
|
+
return (e, t) => (N(), w("div", li, [O(Tt, {
|
|
1055
1055
|
spec: r.value,
|
|
1056
1056
|
class: "mwnf-dxa-timeline-results"
|
|
1057
1057
|
}, {
|
|
@@ -1111,7 +1111,7 @@ var rn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, an = { class:
|
|
|
1111
1111
|
}, null, 8, ji)])]))), 128))])) : (N(), w("div", Mi, I(a("exhibition.timeline.noResults")), 1)), n.length && r ? (N(), w("div", Ni, [T("p", Pi, I(a("exhibition.timeline.relatedContent")), 1), T("p", null, [
|
|
1112
1112
|
t[4] ||= T("span", { "aria-hidden": "true" }, "➦", -1),
|
|
1113
1113
|
t[5] ||= D(),
|
|
1114
|
-
O(L(
|
|
1114
|
+
O(L(Y), { to: r.to }, {
|
|
1115
1115
|
default: R(() => [D(I(a("exhibition.timeline.seeGallery")), 1)]),
|
|
1116
1116
|
_: 2
|
|
1117
1117
|
}, 1032, ["to"])
|
|
@@ -1135,7 +1135,7 @@ var rn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, an = { class:
|
|
|
1135
1135
|
"catalogue.era.bc": "exhibition.era.bc"
|
|
1136
1136
|
}, r = x(() => ({
|
|
1137
1137
|
...Ye,
|
|
1138
|
-
...
|
|
1138
|
+
...Ct,
|
|
1139
1139
|
summary: () => [],
|
|
1140
1140
|
record: ot
|
|
1141
1141
|
}));
|
|
@@ -1146,7 +1146,7 @@ var rn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, an = { class:
|
|
|
1146
1146
|
return i.find((e) => Number(e.value) === r)?.label ?? i[0]?.label ?? String(e);
|
|
1147
1147
|
}
|
|
1148
1148
|
let a = x(() => G.value.scope === "country");
|
|
1149
|
-
return (e, n) => (N(), w("div", Li, [O(
|
|
1149
|
+
return (e, n) => (N(), w("div", Li, [O(J, {
|
|
1150
1150
|
spec: r.value,
|
|
1151
1151
|
class: "mwnf-dxa-partner-objects"
|
|
1152
1152
|
}, {
|
|
@@ -1154,7 +1154,7 @@ var rn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, an = { class:
|
|
|
1154
1154
|
O(B),
|
|
1155
1155
|
T("div", Ri, [T("p", null, [
|
|
1156
1156
|
D(I(L(t)("exhibition.timeline.heading")) + " | " + I(i(e.begin)) + " " + I(L(t)("exhibition.timeline.to")) + " " + I(i(e.end)) + " | ", 1),
|
|
1157
|
-
a.value && e.country ? (N(), w(b, { key: 0 }, [D(I(L(
|
|
1157
|
+
a.value && e.country ? (N(), w(b, { key: 0 }, [D(I(L(ht)(e.country)) + " | ", 1)], 64)) : C("", !0),
|
|
1158
1158
|
D(I(L(t)("exhibition.timeline.gallery")), 1)
|
|
1159
1159
|
])]),
|
|
1160
1160
|
O(Q, {
|
|
@@ -1167,7 +1167,7 @@ var rn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, an = { class:
|
|
|
1167
1167
|
key: 0,
|
|
1168
1168
|
rows: e,
|
|
1169
1169
|
family: "exhibition"
|
|
1170
|
-
}, null, 8, ["rows"])) : C("", !0)]), T("div", Vi, [O(L(
|
|
1170
|
+
}, null, 8, ["rows"])) : C("", !0)]), T("div", Vi, [O(L(Y), { to: {
|
|
1171
1171
|
name: "timeline-results",
|
|
1172
1172
|
query: {
|
|
1173
1173
|
...r.country ? { country: r.country } : {},
|
|
@@ -1272,7 +1272,7 @@ var $i = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, ea =
|
|
|
1272
1272
|
u.value = e.matches;
|
|
1273
1273
|
};
|
|
1274
1274
|
l?.addEventListener("change", d), j(() => l?.removeEventListener("change", d));
|
|
1275
|
-
let f = P(!1), m =
|
|
1275
|
+
let f = P(!1), m = X();
|
|
1276
1276
|
se(() => m.fullPath, () => {
|
|
1277
1277
|
f.value = !1;
|
|
1278
1278
|
});
|
|
@@ -1282,9 +1282,9 @@ var $i = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, ea =
|
|
|
1282
1282
|
}, g = ["type", "material"], _ = {
|
|
1283
1283
|
"catalogue.era.ad": "exhibition.era.ad",
|
|
1284
1284
|
"catalogue.era.bc": "exhibition.era.bc"
|
|
1285
|
-
}, y = (e) => n(_[e] ?? e), E = x(() => v(it.value ?? [], y)), k = x(() =>
|
|
1285
|
+
}, y = (e) => n(_[e] ?? e), E = x(() => v(it.value ?? [], y)), k = x(() => K.value.size), A = {
|
|
1286
1286
|
...dt,
|
|
1287
|
-
...
|
|
1287
|
+
...Ct,
|
|
1288
1288
|
keys: [
|
|
1289
1289
|
...dt.keys,
|
|
1290
1290
|
"theme",
|
|
@@ -1321,7 +1321,7 @@ var $i = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, ea =
|
|
|
1321
1321
|
subtheme: n
|
|
1322
1322
|
});
|
|
1323
1323
|
}
|
|
1324
|
-
return (t, r) => (N(), w("div", $i, [O(
|
|
1324
|
+
return (t, r) => (N(), w("div", $i, [O(J, {
|
|
1325
1325
|
spec: A,
|
|
1326
1326
|
class: "mwnf-dxa-collection-results"
|
|
1327
1327
|
}, {
|
|
@@ -1495,7 +1495,7 @@ var $i = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, ea =
|
|
|
1495
1495
|
}, Ua = ["value"], Wa = {
|
|
1496
1496
|
__name: "CollectionSearch",
|
|
1497
1497
|
setup(t) {
|
|
1498
|
-
let n =
|
|
1498
|
+
let n = Et(), { t: r, locale: i } = p(), { themeOptions: a } = Qi(i), o = f(it, yt), s = x(() => [
|
|
1499
1499
|
{
|
|
1500
1500
|
key: "country",
|
|
1501
1501
|
name: "exhibition.collection.selectCountry",
|
|
@@ -1586,23 +1586,23 @@ var $i = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, ea =
|
|
|
1586
1586
|
}
|
|
1587
1587
|
},
|
|
1588
1588
|
setup(t) {
|
|
1589
|
-
let n = t, r = x(() => n.variant === "institution"), i =
|
|
1589
|
+
let n = t, r = x(() => n.variant === "institution"), i = X(), a = x(() => $e(i.params.id)), o = x(() => ({
|
|
1590
1590
|
entity: "items",
|
|
1591
1591
|
scope: (e) => e.partner_id === a.value?.id,
|
|
1592
|
-
...
|
|
1592
|
+
...Ct,
|
|
1593
1593
|
summary: () => [],
|
|
1594
1594
|
record: ot
|
|
1595
1595
|
}));
|
|
1596
1596
|
function s(e) {
|
|
1597
1597
|
let t = e[0];
|
|
1598
1598
|
if (!t) return null;
|
|
1599
|
-
let n = U("items", t.id,
|
|
1599
|
+
let n = U("items", t.id, vt);
|
|
1600
1600
|
return {
|
|
1601
|
-
name:
|
|
1602
|
-
place: [n.location,
|
|
1601
|
+
name: q("partners", a.value?.id),
|
|
1602
|
+
place: [n.location, q("countries", t.country_id)].filter(Boolean).join(", ")
|
|
1603
1603
|
};
|
|
1604
1604
|
}
|
|
1605
|
-
return (n, i) => a.value ? (N(), w("div", Ga, [O(
|
|
1605
|
+
return (n, i) => a.value ? (N(), w("div", Ga, [O(J, {
|
|
1606
1606
|
spec: o.value,
|
|
1607
1607
|
class: "mwnf-dxa-partner-objects"
|
|
1608
1608
|
}, {
|
|
@@ -1622,7 +1622,7 @@ var $i = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, ea =
|
|
|
1622
1622
|
}, null, 8, ["rows"])) : (N(), S(L(e), {
|
|
1623
1623
|
key: 1,
|
|
1624
1624
|
keypath: r.value ? t.texts.emptyInstitution : t.texts.emptyPartner
|
|
1625
|
-
}, null, 8, ["keypath"]))]), T("div", Za, [O(L(
|
|
1625
|
+
}, null, 8, ["keypath"]))]), T("div", Za, [O(L(Y), { to: L(Ze)(a.value) }, {
|
|
1626
1626
|
default: R(() => [i[0] ||= T("span", { "aria-hidden": "true" }, "➦", -1), D(" " + I(n.$t(r.value ? t.texts.institutionProfileLabel : t.texts.partnerProfileLabel)), 1)]),
|
|
1627
1627
|
_: 1
|
|
1628
1628
|
}, 8, ["to"])])])]),
|
|
@@ -1635,7 +1635,7 @@ var $i = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, ea =
|
|
|
1635
1635
|
_: 1
|
|
1636
1636
|
}, 8, ["spec"])])) : C("", !0);
|
|
1637
1637
|
}
|
|
1638
|
-
}, eo = () => Promise.resolve().then(() =>
|
|
1638
|
+
}, eo = () => Promise.resolve().then(() => _s), to = () => Promise.resolve().then(() => Es), no = () => Promise.resolve().then(() => Os), ro = () => Promise.resolve().then(() => Ws), io = () => Promise.resolve().then(() => qs), ao = () => Promise.resolve().then(() => Xs), oo = () => import("./Theme-BUfsZDdm.js").then((e) => e.t), so = () => Promise.resolve().then(() => mc), co = () => Promise.resolve().then(() => Nc), lo = () => Promise.resolve().then(() => Fc), uo = () => Promise.resolve().then(() => Zc), fo = {
|
|
1639
1639
|
emptyPartner: "exhibition.partnerObjects.emptyPartner",
|
|
1640
1640
|
emptyInstitution: "exhibition.partnerObjects.emptyInstitution",
|
|
1641
1641
|
institutionSummary: "exhibition.partner.monumentsInExhibition",
|
|
@@ -1680,7 +1680,7 @@ function po(e) {
|
|
|
1680
1680
|
{
|
|
1681
1681
|
path: "/how-to-search",
|
|
1682
1682
|
name: "search-how-to",
|
|
1683
|
-
component:
|
|
1683
|
+
component: Yt,
|
|
1684
1684
|
meta: t("database")
|
|
1685
1685
|
},
|
|
1686
1686
|
{
|
|
@@ -1692,7 +1692,7 @@ function po(e) {
|
|
|
1692
1692
|
{
|
|
1693
1693
|
path: "/partner/:id",
|
|
1694
1694
|
name: "partner",
|
|
1695
|
-
component:
|
|
1695
|
+
component: Ut,
|
|
1696
1696
|
props: (e) => ({
|
|
1697
1697
|
id: String(e.params.id),
|
|
1698
1698
|
family: Ce
|
|
@@ -1720,13 +1720,13 @@ function po(e) {
|
|
|
1720
1720
|
{
|
|
1721
1721
|
path: "/about",
|
|
1722
1722
|
name: "about",
|
|
1723
|
-
component:
|
|
1723
|
+
component: Gt,
|
|
1724
1724
|
meta: t("about")
|
|
1725
1725
|
},
|
|
1726
1726
|
{
|
|
1727
1727
|
path: "/credits",
|
|
1728
1728
|
name: "credits",
|
|
1729
|
-
component:
|
|
1729
|
+
component: Kt,
|
|
1730
1730
|
props: { bodyKey: n },
|
|
1731
1731
|
meta: t("credits")
|
|
1732
1732
|
},
|
|
@@ -1808,7 +1808,7 @@ function mo(e) {
|
|
|
1808
1808
|
...e.creditsBody ? [{
|
|
1809
1809
|
path: "/credits",
|
|
1810
1810
|
name: "credits",
|
|
1811
|
-
component:
|
|
1811
|
+
component: Jt,
|
|
1812
1812
|
props: { bodyKey: e.creditsBody },
|
|
1813
1813
|
meta: t("credits")
|
|
1814
1814
|
}] : []
|
|
@@ -1834,7 +1834,7 @@ function mo(e) {
|
|
|
1834
1834
|
{
|
|
1835
1835
|
path: "/partner/:id",
|
|
1836
1836
|
name: "partner",
|
|
1837
|
-
component:
|
|
1837
|
+
component: Ut,
|
|
1838
1838
|
props: (e) => ({
|
|
1839
1839
|
id: String(e.params.id),
|
|
1840
1840
|
family: Xe
|
|
@@ -1851,7 +1851,7 @@ function mo(e) {
|
|
|
1851
1851
|
{
|
|
1852
1852
|
path: "/institution/:id",
|
|
1853
1853
|
name: "institution",
|
|
1854
|
-
component:
|
|
1854
|
+
component: Ut,
|
|
1855
1855
|
props: (e) => ({
|
|
1856
1856
|
id: String(e.params.id),
|
|
1857
1857
|
family: Xe,
|
|
@@ -1955,7 +1955,7 @@ var yo = {
|
|
|
1955
1955
|
let n = c.value[e];
|
|
1956
1956
|
return n ? i(n) : "";
|
|
1957
1957
|
}
|
|
1958
|
-
let v = x(() => u.value ? "" : _("headerEyebrow", () => i("core.project.galleries"))), y = x(() => u.value ? "" : _("headerTitle", () => m.value)), b = x(() => c.value.bannerImage ?
|
|
1958
|
+
let v = x(() => u.value ? "" : _("headerEyebrow", () => i("core.project.galleries"))), y = x(() => u.value ? "" : _("headerTitle", () => m.value)), b = x(() => c.value.bannerImage ? jt(o.chrome, c.value.bannerImage) : Ne(We.value?.banner_image_path, "hi_res")), C = x(() => {
|
|
1959
1959
|
if (c.value.bannerCaption) return c.value.bannerCaption;
|
|
1960
1960
|
let e = Be.value.get(We.value?.banner_item_id);
|
|
1961
1961
|
if (!e) return "";
|
|
@@ -1969,8 +1969,8 @@ var yo = {
|
|
|
1969
1969
|
}), w = x(() => u.value ? _("bannerEyebrow", () => i("gallery.banner.discoverGalleries")) : ""), D = x(() => u.value ? _("bannerTitle", () => m.value) : void 0), O = x(() => c.value.notice === !1 ? null : {
|
|
1970
1970
|
title: i("gallery.notice.tip"),
|
|
1971
1971
|
text: `${i("gallery.notice.searchThe")} ${ke(Oe)} ${i("gallery.notice.database")}`
|
|
1972
|
-
}), A = x(() => !!
|
|
1973
|
-
return (e, t) => (N(), S(
|
|
1972
|
+
}), A = x(() => !!jt(o.chrome, o.brand?.logo));
|
|
1973
|
+
return (e, t) => (N(), S(Ot, {
|
|
1974
1974
|
class: k(["mwnf-dxa-gallery-shell", { "mwnf-dxa-gallery-shell--home": u.value }]),
|
|
1975
1975
|
languages: n.languages,
|
|
1976
1976
|
language: n.language,
|
|
@@ -2061,18 +2061,18 @@ var yo = {
|
|
|
2061
2061
|
},
|
|
2062
2062
|
emits: ["update:language"],
|
|
2063
2063
|
setup(e, { emit: t }) {
|
|
2064
|
-
let n = e, r = t, { t: i, locale: a } = p(), o = g(), s = x(() => o.links ?? {}), c = x(() => !!
|
|
2064
|
+
let n = e, r = t, { t: i, locale: a } = p(), o = g(), s = x(() => o.links ?? {}), c = x(() => !!jt(o.chrome, o.brand?.logo)), l = h(), u = x(() => l.value === "home"), d = (/* @__PURE__ */ new Date()).getFullYear(), f = x(() => o.exhibition ?? {});
|
|
2065
2065
|
function m(e) {
|
|
2066
2066
|
return e ? {
|
|
2067
|
-
image:
|
|
2067
|
+
image: jt(o.chrome, e.image) ?? K.value.get(e.item)?.images?.[0]?.url ?? "",
|
|
2068
2068
|
itemId: e.item ?? null
|
|
2069
2069
|
} : null;
|
|
2070
2070
|
}
|
|
2071
2071
|
let _ = x(() => f.value.home === void 0 ? W.value?.homepage_image_path ? {
|
|
2072
|
-
image:
|
|
2072
|
+
image: _t(W.value.homepage_image_path, "hi_res"),
|
|
2073
2073
|
itemId: W.value?.homepage_item_id
|
|
2074
2074
|
} : null : m(f.value.home)), v = x(() => f.value.banner === void 0 ? {
|
|
2075
|
-
image:
|
|
2075
|
+
image: _t(W.value?.banner_image_path, "hi_res"),
|
|
2076
2076
|
itemId: W.value?.banner_item_id
|
|
2077
2077
|
} : m(f.value.banner)), y = x(() => u.value && _.value?.image || null);
|
|
2078
2078
|
ce(() => {
|
|
@@ -2081,15 +2081,15 @@ var yo = {
|
|
|
2081
2081
|
e ? document.documentElement.style.setProperty("--mwnf-dxa-exhibition-backdrop", `url("${e.replace(/"/g, "%22")}")`) : document.documentElement.style.removeProperty("--mwnf-dxa-exhibition-backdrop");
|
|
2082
2082
|
});
|
|
2083
2083
|
let b = x(() => y.value ?? v.value?.image ?? null), C = x(() => {
|
|
2084
|
-
let e = y.value ? _.value?.itemId : v.value?.itemId, t =
|
|
2085
|
-
if (!t) return y.value ? "" :
|
|
2086
|
-
let n = U("items", t.id,
|
|
2084
|
+
let e = y.value ? _.value?.itemId : v.value?.itemId, t = K.value.get(e);
|
|
2085
|
+
if (!t) return y.value ? "" : mt(a.value);
|
|
2086
|
+
let n = U("items", t.id, vt);
|
|
2087
2087
|
return {
|
|
2088
|
-
name:
|
|
2088
|
+
name: q("items", t.id),
|
|
2089
2089
|
holder: n.holder ?? "",
|
|
2090
2090
|
location: n.location ?? "",
|
|
2091
2091
|
province: "",
|
|
2092
|
-
country:
|
|
2092
|
+
country: q("countries", t.country_id)
|
|
2093
2093
|
};
|
|
2094
2094
|
}), w = x(() => [{
|
|
2095
2095
|
label: i("core.nav.about"),
|
|
@@ -2107,10 +2107,10 @@ var yo = {
|
|
|
2107
2107
|
let e = o.sponsorLogos;
|
|
2108
2108
|
return Array.isArray(e) ? e.map((e) => ({
|
|
2109
2109
|
...e,
|
|
2110
|
-
image:
|
|
2110
|
+
image: jt(o.chrome, e.image),
|
|
2111
2111
|
alt: e.alt ? i(e.alt) : ""
|
|
2112
2112
|
})).filter((e) => e.image) : (W.value?.logos ?? []).map((e) => ({
|
|
2113
|
-
image: e.legacy_path ?
|
|
2113
|
+
image: e.legacy_path ? _t(e.legacy_path, "full") : null,
|
|
2114
2114
|
alt: D(e),
|
|
2115
2115
|
href: e.url || void 0,
|
|
2116
2116
|
category_id: e.category_id,
|
|
@@ -2123,20 +2123,20 @@ var yo = {
|
|
|
2123
2123
|
let t = o.media?.legacyHost;
|
|
2124
2124
|
if (!t || !e.startsWith(`${t.replace(/\/+$/, "")}/`)) return null;
|
|
2125
2125
|
let n = e.slice(t.replace(/\/+$/, "").length + 1).split("/").slice(1).join("/");
|
|
2126
|
-
return
|
|
2126
|
+
return At(o.chrome, n);
|
|
2127
2127
|
}
|
|
2128
2128
|
let j = x(() => f.value.popup), M = x(() => {
|
|
2129
2129
|
if (j.value !== void 0) {
|
|
2130
2130
|
let e = j.value?.body, t = e ? i(e) : "";
|
|
2131
|
-
return
|
|
2131
|
+
return kt(nt(t && t !== e ? t : "", { glossary: [] }), (e) => Mt(o.chrome, e));
|
|
2132
2132
|
}
|
|
2133
|
-
return
|
|
2133
|
+
return kt(nt(W.value?.popup_logos?.[a.value] ?? W.value?.popup_logos?.en ?? "", { glossary: [] }), A);
|
|
2134
2134
|
}), ee = x(() => {
|
|
2135
2135
|
if (j.value !== void 0) return !!j.value?.body;
|
|
2136
2136
|
let e = W.value?.popup_logo_show;
|
|
2137
2137
|
return e == null ? !1 : typeof e == "boolean" ? e : e[a.value] ?? e.en ?? !1;
|
|
2138
2138
|
});
|
|
2139
|
-
return (e, t) => (N(), S(
|
|
2139
|
+
return (e, t) => (N(), S(Ot, {
|
|
2140
2140
|
languages: n.languages,
|
|
2141
2141
|
language: n.language,
|
|
2142
2142
|
"language-placement": "header",
|
|
@@ -2148,7 +2148,7 @@ var yo = {
|
|
|
2148
2148
|
"banner-caption": C.value,
|
|
2149
2149
|
"banner-caption-label": L(i)("layout.banner.detailFrom"),
|
|
2150
2150
|
"banner-title": u.value ? L(st)(L(a)) : "",
|
|
2151
|
-
"banner-subtitle": u.value ? L(
|
|
2151
|
+
"banner-subtitle": u.value ? L(bt)(L(a)) : "",
|
|
2152
2152
|
"banner-headline": u.value ? L(pt)(L(a)) : "",
|
|
2153
2153
|
"banner-enter": u.value ? {
|
|
2154
2154
|
label: L(i)("exhibition.action.enter"),
|
|
@@ -2158,7 +2158,7 @@ var yo = {
|
|
|
2158
2158
|
"hyperlinks-variant": "tiles",
|
|
2159
2159
|
"hyperlinks-title": L(st)(L(a)),
|
|
2160
2160
|
"hyperlinks-title-href": "#/",
|
|
2161
|
-
"hyperlinks-subtitle": L(
|
|
2161
|
+
"hyperlinks-subtitle": L(bt)(L(a)),
|
|
2162
2162
|
hyperlinks: w.value,
|
|
2163
2163
|
"footer-text": `${L(i)("core.footer.copyright")} 2004–${L(d)}`,
|
|
2164
2164
|
logos: k.value,
|
|
@@ -2234,16 +2234,22 @@ function jo({ country: e, start: t, end: n, page: r }) {
|
|
|
2234
2234
|
query: i
|
|
2235
2235
|
};
|
|
2236
2236
|
}
|
|
2237
|
-
function Mo(
|
|
2238
|
-
|
|
2237
|
+
function Mo(e, t) {
|
|
2238
|
+
return e.items?.[String(t ?? "").split(/[/:]/).join("/").toLowerCase()] ?? null;
|
|
2239
|
+
}
|
|
2240
|
+
function No(e, t, n) {
|
|
2241
|
+
return e.partners?.[`${t}/${n}`] ?? null;
|
|
2242
|
+
}
|
|
2243
|
+
function Po({ datasetPackage: e, siteName: t, origin: n, projectColors: s = {}, noticeProjects: c = [], creditsBody: l, chrome: u = {}, homeLogos: f = [], legacyPaths: p = null }) {
|
|
2244
|
+
let { manifest: m } = d(), h = o();
|
|
2239
2245
|
return {
|
|
2240
2246
|
datasetPackage: e,
|
|
2241
|
-
siteName:
|
|
2247
|
+
siteName: m.site?.names?.en ?? t,
|
|
2242
2248
|
features: { entities: [] },
|
|
2243
|
-
languages:
|
|
2249
|
+
languages: h,
|
|
2244
2250
|
shell: yo,
|
|
2245
2251
|
navigation: {
|
|
2246
|
-
languages: r(
|
|
2252
|
+
languages: r(h),
|
|
2247
2253
|
links: [
|
|
2248
2254
|
{
|
|
2249
2255
|
section: "about",
|
|
@@ -2328,7 +2334,7 @@ function Mo({ datasetPackage: e, siteName: t, origin: n, projectColors: s = {},
|
|
|
2328
2334
|
empty: "all-objects"
|
|
2329
2335
|
},
|
|
2330
2336
|
placement: ({ section: e }) => e === "home" ? "after-banner" : "before-banner",
|
|
2331
|
-
socialLinks:
|
|
2337
|
+
socialLinks: Nt
|
|
2332
2338
|
},
|
|
2333
2339
|
banner: {
|
|
2334
2340
|
variant: ({ section: e }) => e === "home" ? "strip" : "section",
|
|
@@ -2348,7 +2354,7 @@ function Mo({ datasetPackage: e, siteName: t, origin: n, projectColors: s = {},
|
|
|
2348
2354
|
media: { legacyHost: "https://images.museumwnf.org" },
|
|
2349
2355
|
links: { ...a },
|
|
2350
2356
|
projectColors: {
|
|
2351
|
-
...ko(
|
|
2357
|
+
...ko(m),
|
|
2352
2358
|
...s
|
|
2353
2359
|
},
|
|
2354
2360
|
noticeProjects: c,
|
|
@@ -2361,6 +2367,13 @@ function Mo({ datasetPackage: e, siteName: t, origin: n, projectColors: s = {},
|
|
|
2361
2367
|
{
|
|
2362
2368
|
path: "/database-item/:uid(.*)/:language",
|
|
2363
2369
|
async resolve({ uid: e }) {
|
|
2370
|
+
if (p) {
|
|
2371
|
+
let t = Mo(p, e);
|
|
2372
|
+
return t ? {
|
|
2373
|
+
name: "item",
|
|
2374
|
+
params: { id: t }
|
|
2375
|
+
} : null;
|
|
2376
|
+
}
|
|
2364
2377
|
await Promise.all([i(["items"]), De?.()]);
|
|
2365
2378
|
let t = Me(e);
|
|
2366
2379
|
return t ? {
|
|
@@ -2372,6 +2385,13 @@ function Mo({ datasetPackage: e, siteName: t, origin: n, projectColors: s = {},
|
|
|
2372
2385
|
{
|
|
2373
2386
|
path: "/partner/:country/:id/:language",
|
|
2374
2387
|
async resolve({ country: e, id: t }) {
|
|
2388
|
+
if (p) {
|
|
2389
|
+
let n = No(p, e, t);
|
|
2390
|
+
return n ? {
|
|
2391
|
+
name: "partner",
|
|
2392
|
+
params: { id: n }
|
|
2393
|
+
} : null;
|
|
2394
|
+
}
|
|
2375
2395
|
await Promise.all([i(["partners"]), De?.()]);
|
|
2376
2396
|
let n = ge(e, t);
|
|
2377
2397
|
return n ? {
|
|
@@ -2383,12 +2403,21 @@ function Mo({ datasetPackage: e, siteName: t, origin: n, projectColors: s = {},
|
|
|
2383
2403
|
{
|
|
2384
2404
|
path: "/partner-objects/:country/:id/:page",
|
|
2385
2405
|
async resolve({ country: e, id: t, page: n }) {
|
|
2406
|
+
let r = Number(n) > 1 ? { page: n } : {};
|
|
2407
|
+
if (p) {
|
|
2408
|
+
let n = No(p, e, t);
|
|
2409
|
+
return n ? {
|
|
2410
|
+
name: "partner-objects",
|
|
2411
|
+
params: { id: n },
|
|
2412
|
+
query: r
|
|
2413
|
+
} : null;
|
|
2414
|
+
}
|
|
2386
2415
|
await Promise.all([i(["partners"]), De?.()]);
|
|
2387
|
-
let
|
|
2388
|
-
return
|
|
2416
|
+
let a = ge(e, t);
|
|
2417
|
+
return a ? {
|
|
2389
2418
|
name: "partner-objects",
|
|
2390
|
-
params: { id:
|
|
2391
|
-
query:
|
|
2419
|
+
params: { id: a.id },
|
|
2420
|
+
query: r
|
|
2392
2421
|
} : null;
|
|
2393
2422
|
}
|
|
2394
2423
|
},
|
|
@@ -2403,19 +2432,19 @@ function Mo({ datasetPackage: e, siteName: t, origin: n, projectColors: s = {},
|
|
|
2403
2432
|
]
|
|
2404
2433
|
};
|
|
2405
2434
|
}
|
|
2406
|
-
var
|
|
2435
|
+
var Fo = [
|
|
2407
2436
|
"banner",
|
|
2408
2437
|
"home",
|
|
2409
2438
|
"popup",
|
|
2410
2439
|
"timeline",
|
|
2411
2440
|
"hiddenPartners"
|
|
2412
2441
|
];
|
|
2413
|
-
function
|
|
2442
|
+
function Io(e) {
|
|
2414
2443
|
let t = {};
|
|
2415
|
-
for (let [n, r] of Object.entries(e))
|
|
2444
|
+
for (let [n, r] of Object.entries(e)) Fo.includes(n) ? r !== void 0 && (t[n] = r) : console.warn(`exhibitionConfig: unknown option "${n}"`);
|
|
2416
2445
|
return t;
|
|
2417
2446
|
}
|
|
2418
|
-
function
|
|
2447
|
+
function Lo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {}, noticeProjects: s = [], creditsBody: c, partnerObjects: l, chrome: u = {}, sponsorLogos: f, legacyRoutes: p = !0, ...m }) {
|
|
2419
2448
|
let { manifest: h } = d(), g = o(), _ = async (e, t) => (await i([
|
|
2420
2449
|
"exhibition",
|
|
2421
2450
|
"partners",
|
|
@@ -2528,7 +2557,7 @@ function Fo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2528
2557
|
empty: "all-items"
|
|
2529
2558
|
},
|
|
2530
2559
|
placement: "before-banner",
|
|
2531
|
-
socialLinks:
|
|
2560
|
+
socialLinks: Nt
|
|
2532
2561
|
},
|
|
2533
2562
|
banner: {
|
|
2534
2563
|
variant: ({ section: e }) => e === "home" ? "split" : "section",
|
|
@@ -2536,7 +2565,7 @@ function Fo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2536
2565
|
if (e?.name !== "theme" && e?.name !== "theme-gallery") return "";
|
|
2537
2566
|
let n = Number(e.params.id);
|
|
2538
2567
|
if (!Number.isInteger(n) || n < 1) return "";
|
|
2539
|
-
let r = `${t("exhibition.theme.romanLabel")} ${
|
|
2568
|
+
let r = `${t("exhibition.theme.romanLabel")} ${Dt(n + 1)}`, i = e.params.subtheme;
|
|
2540
2569
|
return i && i !== "overview" ? `${r} ▪ ${t("exhibition.theme.subthemeLabel")} ${i}` : e.name === "theme-gallery" ? `${r} ▪ ${t("exhibition.theme.galleryLabel")}` : `${r} ▪ ${t("exhibition.theme.overview")}`;
|
|
2541
2570
|
}
|
|
2542
2571
|
},
|
|
@@ -2574,7 +2603,7 @@ function Fo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2574
2603
|
},
|
|
2575
2604
|
noticeProjects: s,
|
|
2576
2605
|
site: { origin: n },
|
|
2577
|
-
exhibition:
|
|
2606
|
+
exhibition: Io(m),
|
|
2578
2607
|
extraViews: ho("exhibition", {
|
|
2579
2608
|
creditsBody: c,
|
|
2580
2609
|
partnerObjects: l,
|
|
@@ -2646,16 +2675,16 @@ function Fo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2646
2675
|
};
|
|
2647
2676
|
}
|
|
2648
2677
|
// src/dxa/FeaturedPartners.vue
|
|
2649
|
-
var
|
|
2678
|
+
var Ro = {
|
|
2650
2679
|
key: 0,
|
|
2651
2680
|
class: "mwnf-featured-partners"
|
|
2652
|
-
},
|
|
2681
|
+
}, zo = { class: "mwnf-featured-partners__heading" }, Bo = { class: "mwnf-featured-partners__carousel" }, Vo = {
|
|
2653
2682
|
key: 0,
|
|
2654
2683
|
class: "mwnf-featured-partners__image"
|
|
2655
|
-
},
|
|
2684
|
+
}, Ho = ["src", "alt"], Uo = { class: "mwnf-featured-partners__body" }, Wo = { class: "mwnf-featured-partners__name" }, Go = { class: "mwnf-featured-partners__location" }, Ko = { key: 0 }, qo = { class: "mwnf-featured-partners__description" }, Jo = {
|
|
2656
2685
|
key: 0,
|
|
2657
2686
|
class: "mwnf-featured-partners__controls"
|
|
2658
|
-
},
|
|
2687
|
+
}, Yo = ["aria-label", "onClick"], Xo = 8e3, Zo = {
|
|
2659
2688
|
__name: "FeaturedPartners",
|
|
2660
2689
|
props: {
|
|
2661
2690
|
records: {
|
|
@@ -2710,21 +2739,21 @@ var Io = {
|
|
|
2710
2739
|
function c() {
|
|
2711
2740
|
o && clearInterval(o), i.value.length > 0 && (o = setInterval(() => {
|
|
2712
2741
|
a.value = (a.value + 1) % i.value.length;
|
|
2713
|
-
},
|
|
2742
|
+
}, Xo));
|
|
2714
2743
|
}
|
|
2715
|
-
return M(c), j(() => o && clearInterval(o)), (t, n) => i.value.length ? (N(), w("section",
|
|
2716
|
-
T("h2",
|
|
2717
|
-
T("div",
|
|
2744
|
+
return M(c), j(() => o && clearInterval(o)), (t, n) => i.value.length ? (N(), w("section", Ro, [
|
|
2745
|
+
T("h2", zo, I(t.$t(e.headingEntry)), 1),
|
|
2746
|
+
T("div", Bo, [(N(!0), w(b, null, F(i.value, (n, r) => z((N(), w("div", {
|
|
2718
2747
|
key: n.id,
|
|
2719
2748
|
class: "mwnf-featured-partners__card"
|
|
2720
|
-
}, [n.logo ? (N(), w("span",
|
|
2749
|
+
}, [n.logo ? (N(), w("span", Vo, [T("img", {
|
|
2721
2750
|
src: n.logo,
|
|
2722
2751
|
alt: n.name,
|
|
2723
2752
|
class: "mwnf-featured-partners__logo"
|
|
2724
|
-
}, null, 8,
|
|
2725
|
-
T("span",
|
|
2726
|
-
T("span",
|
|
2727
|
-
T("span",
|
|
2753
|
+
}, null, 8, Ho)])) : C("", !0), T("span", Uo, [
|
|
2754
|
+
T("span", Wo, I(n.name), 1),
|
|
2755
|
+
T("span", Go, [n.city ? (N(), w("span", Ko, I(n.city) + ", ", 1)) : C("", !0), D(I(n.country), 1)]),
|
|
2756
|
+
T("span", qo, I(n.description), 1),
|
|
2728
2757
|
n.route ? (N(), S(V, {
|
|
2729
2758
|
key: 0,
|
|
2730
2759
|
to: n.route,
|
|
@@ -2742,33 +2771,33 @@ var Io = {
|
|
|
2742
2771
|
_: 1
|
|
2743
2772
|
}, 8, ["to"])) : C("", !0)
|
|
2744
2773
|
])])), [[oe, r === a.value]])), 128))]),
|
|
2745
|
-
i.value.length > 1 ? (N(), w("div",
|
|
2774
|
+
i.value.length > 1 ? (N(), w("div", Jo, [(N(!0), w(b, null, F(i.value, (e, n) => (N(), w("button", {
|
|
2746
2775
|
key: e.id,
|
|
2747
2776
|
class: k(["mwnf-featured-partners__bullet", { "mwnf-featured-partners__bullet--active": n === a.value }]),
|
|
2748
2777
|
"aria-label": `${t.$t("core.action.show")} ${e.name}`,
|
|
2749
2778
|
onClick: (e) => s(n)
|
|
2750
|
-
}, null, 10,
|
|
2779
|
+
}, null, 10, Yo))), 128))])) : C("", !0)
|
|
2751
2780
|
])) : C("", !0);
|
|
2752
2781
|
}
|
|
2753
|
-
},
|
|
2782
|
+
}, Qo = { class: "mwnf-sibling-galleries" }, $o = {
|
|
2754
2783
|
key: 0,
|
|
2755
2784
|
class: "mwnf-sibling-galleries__galleries"
|
|
2756
|
-
},
|
|
2785
|
+
}, es = { class: "mwnf-sibling-galleries__header" }, ts = { class: "mwnf-sibling-galleries__heading" }, ns = ["href"], rs = { class: "mwnf-sibling-galleries__grid" }, is = {
|
|
2757
2786
|
key: 0,
|
|
2758
2787
|
class: "mwnf-sibling-galleries__image"
|
|
2759
|
-
},
|
|
2788
|
+
}, as = ["src", "alt"], os = {
|
|
2760
2789
|
key: 1,
|
|
2761
2790
|
class: "mwnf-sibling-galleries__image mwnf-sibling-galleries__image--empty"
|
|
2762
|
-
},
|
|
2791
|
+
}, ss = { class: "mwnf-sibling-galleries__name" }, cs = {
|
|
2763
2792
|
key: 1,
|
|
2764
2793
|
class: "mwnf-sibling-galleries__museums"
|
|
2765
|
-
},
|
|
2794
|
+
}, ls = { class: "mwnf-sibling-galleries__heading" }, us = { class: "mwnf-sibling-galleries__museums-grid" }, ds = ["href"], fs = {
|
|
2766
2795
|
key: 0,
|
|
2767
2796
|
class: "mwnf-sibling-galleries__museum-image mwnf-sibling-galleries__museum-image--picture"
|
|
2768
|
-
},
|
|
2797
|
+
}, ps = ["src"], ms = {
|
|
2769
2798
|
key: 1,
|
|
2770
2799
|
class: "mwnf-sibling-galleries__museum-image"
|
|
2771
|
-
},
|
|
2800
|
+
}, hs = { class: "mwnf-sibling-galleries__museum-name" }, gs = {
|
|
2772
2801
|
__name: "SiblingGalleries",
|
|
2773
2802
|
props: {
|
|
2774
2803
|
galleries: {
|
|
@@ -2797,23 +2826,23 @@ var Io = {
|
|
|
2797
2826
|
}
|
|
2798
2827
|
},
|
|
2799
2828
|
setup(e) {
|
|
2800
|
-
return (t, n) => (N(), w("section",
|
|
2829
|
+
return (t, n) => (N(), w("section", Qo, [e.galleries.length ? (N(), w("div", $o, [T("div", es, [T("p", ts, I(t.$t(e.galleriesHeadingEntry)), 1), e.seeMoreGalleriesHref ? (N(), w("a", {
|
|
2801
2830
|
key: 0,
|
|
2802
2831
|
href: e.seeMoreGalleriesHref,
|
|
2803
2832
|
target: "_blank",
|
|
2804
2833
|
rel: "noopener",
|
|
2805
2834
|
class: "mwnf-sibling-galleries__see-more"
|
|
2806
|
-
}, I(t.$t(e.seeMoreGalleriesEntry)) + " » ", 9,
|
|
2835
|
+
}, I(t.$t(e.seeMoreGalleriesEntry)) + " » ", 9, ns)) : C("", !0)]), T("div", rs, [(N(!0), w(b, null, F(e.galleries, (e) => (N(), S(V, {
|
|
2807
2836
|
key: e.id,
|
|
2808
2837
|
to: e.route,
|
|
2809
2838
|
class: k(["mwnf-sibling-galleries__gallery", { "mwnf-sibling-galleries__gallery--no-link": !e.route }])
|
|
2810
2839
|
}, {
|
|
2811
|
-
default: R(() => [e.image ? (N(), w("span",
|
|
2840
|
+
default: R(() => [e.image ? (N(), w("span", is, [T("img", {
|
|
2812
2841
|
src: e.image,
|
|
2813
2842
|
alt: e.name
|
|
2814
|
-
}, null, 8,
|
|
2843
|
+
}, null, 8, as)])) : (N(), w("span", os)), T("p", ss, I(e.name), 1)]),
|
|
2815
2844
|
_: 2
|
|
2816
|
-
}, 1032, ["to", "class"]))), 128))])])) : C("", !0), e.museums.length ? (N(), w("div",
|
|
2845
|
+
}, 1032, ["to", "class"]))), 128))])])) : C("", !0), e.museums.length ? (N(), w("div", cs, [T("div", ls, I(t.$t(e.museumsHeadingEntry)), 1), T("div", us, [(N(!0), w(b, null, F(e.museums, (e) => (N(), w("a", {
|
|
2817
2846
|
key: e.name,
|
|
2818
2847
|
href: e.href || e.to,
|
|
2819
2848
|
target: "_blank",
|
|
@@ -2823,20 +2852,20 @@ var Io = {
|
|
|
2823
2852
|
"--mwnf-museum-bg": e.accent || "var(--mwnf-color-border)",
|
|
2824
2853
|
"--mwnf-museum-text": e.textColor || "inherit"
|
|
2825
2854
|
})
|
|
2826
|
-
}, [e.image ? (N(), w("div",
|
|
2855
|
+
}, [e.image ? (N(), w("div", fs, [T("img", {
|
|
2827
2856
|
src: e.image,
|
|
2828
2857
|
alt: ""
|
|
2829
|
-
}, null, 8,
|
|
2858
|
+
}, null, 8, ps)])) : (N(), w("div", ms, I(e.name.split(" ").map((e) => e[0]).join("")), 1)), T("p", hs, I(e.name), 1)], 12, ds))), 128))])])) : C("", !0)]));
|
|
2830
2859
|
}
|
|
2831
|
-
},
|
|
2860
|
+
}, _s = /* @__PURE__ */ Z({ default: () => Ts }), vs = { class: "mwnf-dxa-home" }, ys = {
|
|
2832
2861
|
key: 0,
|
|
2833
2862
|
class: "mwnf-dxa-home-logos"
|
|
2834
|
-
},
|
|
2863
|
+
}, bs = { class: "mwnf-dxa-home-logos__label" }, xs = { class: "mwnf-dxa-home-logos__list" }, Ss = ["src", "alt"], Cs = 3, ws = 4, Ts = {
|
|
2835
2864
|
__name: "Home",
|
|
2836
2865
|
setup(e) {
|
|
2837
|
-
let { t, locale: n } = p(), r = g(), i = x(() => r.links ?? {}), a = x(() => Ie(
|
|
2866
|
+
let { t, locale: n } = p(), r = g(), i = x(() => r.links ?? {}), a = x(() => Ie(Cs)), o = P([]);
|
|
2838
2867
|
M(() => {
|
|
2839
|
-
o.value = xe(
|
|
2868
|
+
o.value = xe(ws);
|
|
2840
2869
|
});
|
|
2841
2870
|
let s = x(() => o.value.map((e) => ({
|
|
2842
2871
|
id: e.id,
|
|
@@ -2847,32 +2876,32 @@ var Io = {
|
|
|
2847
2876
|
{
|
|
2848
2877
|
name: t("core.project.islamicArt"),
|
|
2849
2878
|
href: `${i.value.islamicArt}/`,
|
|
2850
|
-
image:
|
|
2879
|
+
image: Mt(r.chrome, "dia.jpg"),
|
|
2851
2880
|
accent: "var(--mwnf-project-ISLandEPM, #ffcc00)",
|
|
2852
2881
|
textColor: "var(--mwnf-project-ISLandEPM-text, #000000)"
|
|
2853
2882
|
},
|
|
2854
2883
|
{
|
|
2855
2884
|
name: t("core.project.baroqueArt"),
|
|
2856
2885
|
href: `${i.value.baroqueArt}/`,
|
|
2857
|
-
image:
|
|
2886
|
+
image: Mt(r.chrome, "dba.jpg"),
|
|
2858
2887
|
accent: "var(--mwnf-project-DBA, #001d66)",
|
|
2859
2888
|
textColor: "var(--mwnf-project-DBA-text, #ffffff)"
|
|
2860
2889
|
},
|
|
2861
2890
|
{
|
|
2862
2891
|
name: t("core.project.sharingHistory"),
|
|
2863
2892
|
href: `${i.value.sharingHistory}/`,
|
|
2864
|
-
image:
|
|
2893
|
+
image: Mt(r.chrome, "sh.jpg"),
|
|
2865
2894
|
accent: "var(--mwnf-project-AWE, #900000)",
|
|
2866
2895
|
textColor: "var(--mwnf-project-AWE-text, #ffffff)"
|
|
2867
2896
|
}
|
|
2868
2897
|
]), l = x(() => (r.homeLogos ?? []).map((e) => ({
|
|
2869
|
-
image:
|
|
2898
|
+
image: At(r.chrome, e.image) ?? Ne(e.image, "gallery_logo"),
|
|
2870
2899
|
href: e.href ?? "",
|
|
2871
2900
|
alt: e.alt ? t(e.alt) : ""
|
|
2872
2901
|
})).filter((e) => e.image)), u = x(() => `${i.value.galleries}/list`);
|
|
2873
|
-
return (e, n) => (N(), w("div",
|
|
2874
|
-
O(
|
|
2875
|
-
l.value.length ? (N(), w("section",
|
|
2902
|
+
return (e, n) => (N(), w("div", vs, [
|
|
2903
|
+
O(Zo, { partners: a.value }, null, 8, ["partners"]),
|
|
2904
|
+
l.value.length ? (N(), w("section", ys, [T("p", bs, I(L(t)("gallery.home.logosLabel")), 1), T("ul", xs, [(N(!0), w(b, null, F(l.value, (e) => (N(), w("li", { key: e.image }, [(N(), S(ne(e.href ? "a" : "span"), {
|
|
2876
2905
|
class: "mwnf-dxa-home-logos__logo",
|
|
2877
2906
|
href: e.href || void 0,
|
|
2878
2907
|
title: e.alt || void 0,
|
|
@@ -2882,7 +2911,7 @@ var Io = {
|
|
|
2882
2911
|
default: R(() => [T("img", {
|
|
2883
2912
|
src: e.image,
|
|
2884
2913
|
alt: e.alt
|
|
2885
|
-
}, null, 8,
|
|
2914
|
+
}, null, 8, Ss)]),
|
|
2886
2915
|
_: 2
|
|
2887
2916
|
}, 1032, [
|
|
2888
2917
|
"href",
|
|
@@ -2890,7 +2919,7 @@ var Io = {
|
|
|
2890
2919
|
"target",
|
|
2891
2920
|
"rel"
|
|
2892
2921
|
]))]))), 128))])])) : C("", !0),
|
|
2893
|
-
O(
|
|
2922
|
+
O(gs, {
|
|
2894
2923
|
galleries: s.value,
|
|
2895
2924
|
museums: c.value,
|
|
2896
2925
|
"galleries-heading-entry": "gallery.action.visitGalleries",
|
|
@@ -2904,7 +2933,7 @@ var Io = {
|
|
|
2904
2933
|
])
|
|
2905
2934
|
]));
|
|
2906
2935
|
}
|
|
2907
|
-
},
|
|
2936
|
+
}, Es = /* @__PURE__ */ Z({ default: () => Ds }), Ds = {
|
|
2908
2937
|
__name: "ItemDetail",
|
|
2909
2938
|
props: { id: {
|
|
2910
2939
|
type: String,
|
|
@@ -2923,34 +2952,34 @@ var Io = {
|
|
|
2923
2952
|
relatedObjects: "gallery.related.objects",
|
|
2924
2953
|
relatedMonuments: "gallery.related.monuments"
|
|
2925
2954
|
};
|
|
2926
|
-
return (n, r) => (N(), S(
|
|
2955
|
+
return (n, r) => (N(), S(Ft, {
|
|
2927
2956
|
id: e.id,
|
|
2928
2957
|
"item-detail": L(Le),
|
|
2929
2958
|
words: t
|
|
2930
2959
|
}, null, 8, ["id", "item-detail"]));
|
|
2931
2960
|
}
|
|
2932
|
-
},
|
|
2961
|
+
}, Os = /* @__PURE__ */ Z({ default: () => Us }), ks = { class: "mwnf-dxa-timeline" }, As = { class: "mwnf-dxa-timeline__entrance" }, js = [
|
|
2933
2962
|
"value",
|
|
2934
2963
|
"aria-label",
|
|
2935
2964
|
"onChange"
|
|
2936
|
-
],
|
|
2965
|
+
], Ms = {
|
|
2937
2966
|
disabled: "",
|
|
2938
2967
|
value: ""
|
|
2939
|
-
},
|
|
2968
|
+
}, Ns = ["value"], Ps = { class: "mwnf-dxa-timeline__dates" }, Fs = [
|
|
2940
2969
|
"value",
|
|
2941
2970
|
"aria-label",
|
|
2942
2971
|
"onChange"
|
|
2943
|
-
],
|
|
2972
|
+
], Is = {
|
|
2944
2973
|
disabled: "",
|
|
2945
2974
|
value: ""
|
|
2946
|
-
},
|
|
2975
|
+
}, Ls = ["value"], Rs = [
|
|
2947
2976
|
"value",
|
|
2948
2977
|
"aria-label",
|
|
2949
2978
|
"onChange"
|
|
2950
|
-
],
|
|
2979
|
+
], zs = {
|
|
2951
2980
|
disabled: "",
|
|
2952
2981
|
value: ""
|
|
2953
|
-
},
|
|
2982
|
+
}, Bs = ["value"], Vs = { class: "mwnf-dxa-timeline__go" }, Hs = ["onClick"], Us = {
|
|
2954
2983
|
__name: "Timeline",
|
|
2955
2984
|
setup(t) {
|
|
2956
2985
|
let n = {
|
|
@@ -2973,39 +3002,39 @@ var Io = {
|
|
|
2973
3002
|
end: e.end || a.at(-1)?.value
|
|
2974
3003
|
});
|
|
2975
3004
|
}
|
|
2976
|
-
return (t, i) => (N(), w("div",
|
|
3005
|
+
return (t, i) => (N(), w("div", ks, [O(Tt, {
|
|
2977
3006
|
spec: n,
|
|
2978
3007
|
class: "mwnf-dxa-timeline__form"
|
|
2979
3008
|
}, {
|
|
2980
|
-
form: R((e) => [T("div",
|
|
3009
|
+
form: R((e) => [T("div", As, [
|
|
2981
3010
|
T("select", {
|
|
2982
3011
|
class: "mwnf-dxa-timeline__country",
|
|
2983
3012
|
value: e.filters.country,
|
|
2984
3013
|
"aria-label": e.t("gallery.timeline.selectCountry"),
|
|
2985
3014
|
onChange: (t) => e.filters.country = t.target.value
|
|
2986
|
-
}, [T("option",
|
|
3015
|
+
}, [T("option", Ms, I(e.t("gallery.timeline.selectCountry")), 1), (N(!0), w(b, null, F(e.countries, (e) => (N(), w("option", {
|
|
2987
3016
|
key: e.value,
|
|
2988
3017
|
value: e.value
|
|
2989
|
-
}, I(e.label), 9,
|
|
2990
|
-
T("div",
|
|
3018
|
+
}, I(e.label), 9, Ns))), 128))], 40, js),
|
|
3019
|
+
T("div", Ps, [T("select", {
|
|
2991
3020
|
value: e.filters.begin,
|
|
2992
3021
|
"aria-label": e.t("gallery.timeline.startDate"),
|
|
2993
3022
|
onChange: (t) => e.filters.begin = t.target.value
|
|
2994
|
-
}, [T("option",
|
|
3023
|
+
}, [T("option", Is, I(e.t("gallery.timeline.startDate")), 1), (N(!0), w(b, null, F(e.options.begin ?? [], (e) => (N(), w("option", {
|
|
2995
3024
|
key: e.value,
|
|
2996
3025
|
value: e.value
|
|
2997
|
-
}, I(e.label), 9,
|
|
3026
|
+
}, I(e.label), 9, Ls))), 128))], 40, Fs), T("select", {
|
|
2998
3027
|
value: e.filters.end,
|
|
2999
3028
|
"aria-label": e.t("gallery.timeline.endDate"),
|
|
3000
3029
|
onChange: (t) => e.filters.end = t.target.value
|
|
3001
|
-
}, [T("option",
|
|
3030
|
+
}, [T("option", zs, I(e.t("gallery.timeline.endDate")), 1), (N(!0), w(b, null, F(e.options.end ?? [], (e) => (N(), w("option", {
|
|
3002
3031
|
key: e.value,
|
|
3003
3032
|
value: e.value
|
|
3004
|
-
}, I(e.label), 9,
|
|
3005
|
-
T("div",
|
|
3033
|
+
}, I(e.label), 9, Bs))), 128))], 40, Rs)]),
|
|
3034
|
+
T("div", Vs, [T("button", {
|
|
3006
3035
|
type: "button",
|
|
3007
3036
|
onClick: (t) => r(e)
|
|
3008
|
-
}, I(e.t("core.action.go")), 9,
|
|
3037
|
+
}, I(e.t("core.action.go")), 9, Hs)])
|
|
3009
3038
|
])]),
|
|
3010
3039
|
_: 1
|
|
3011
3040
|
}), O(L(e), {
|
|
@@ -3014,26 +3043,26 @@ var Io = {
|
|
|
3014
3043
|
keypath: "gallery.timeline.intro"
|
|
3015
3044
|
})]));
|
|
3016
3045
|
}
|
|
3017
|
-
},
|
|
3046
|
+
}, Ws = /* @__PURE__ */ Z({ default: () => Ks }), Gs = { class: "mwnf-dxa-home" }, Ks = {
|
|
3018
3047
|
__name: "Home",
|
|
3019
3048
|
setup(e) {
|
|
3020
|
-
return (e, t) => (N(), w("div",
|
|
3049
|
+
return (e, t) => (N(), w("div", Gs));
|
|
3021
3050
|
}
|
|
3022
|
-
},
|
|
3051
|
+
}, qs = /* @__PURE__ */ Z({ default: () => Ys }), Js = { class: "mwnf-dxa-about" }, Ys = {
|
|
3023
3052
|
__name: "About",
|
|
3024
3053
|
setup(e) {
|
|
3025
|
-
return (e, t) => (N(), w("div",
|
|
3054
|
+
return (e, t) => (N(), w("div", Js, [O(It, { "about-mode": "" })]));
|
|
3026
3055
|
}
|
|
3027
|
-
},
|
|
3056
|
+
}, Xs = /* @__PURE__ */ Z({ default: () => pc }), Zs = { class: "mwnf-dxa-themes-page" }, Qs = { class: "mwnf-dxa-themes-page__container" }, $s = ["onClick"], ec = ["innerHTML"], tc = {
|
|
3028
3057
|
key: 0,
|
|
3029
3058
|
class: "mwnf-dxa-themes-page__strips"
|
|
3030
|
-
},
|
|
3059
|
+
}, nc = ["src"], rc = {
|
|
3031
3060
|
key: 1,
|
|
3032
3061
|
class: "mwnf-dxa-themes-page__open"
|
|
3033
|
-
},
|
|
3062
|
+
}, ic = { class: "mwnf-dxa-themes-page__image" }, ac = ["src", "alt"], oc = {
|
|
3034
3063
|
key: 1,
|
|
3035
3064
|
class: "mwnf-dxa-themes-page__caption"
|
|
3036
|
-
},
|
|
3065
|
+
}, sc = ["innerHTML"], cc = { class: "mwnf-dxa-themes-page__info" }, lc = { class: "mwnf-dxa-themes-page__description" }, uc = { class: "mwnf-dxa-themes-page__subthemes" }, dc = { class: "mwnf-dxa-themes-page__subthemes-label" }, fc = { class: "mwnf-dxa-themes-page__gallery" }, pc = {
|
|
3037
3066
|
__name: "Themes",
|
|
3038
3067
|
setup(e) {
|
|
3039
3068
|
let { listedThemes: t, pictureById: n, pictureParent: r, romanFor: i, themeText: a } = ft, { t: o, locale: s } = p(), u = P(!1), d = P(null);
|
|
@@ -3051,10 +3080,10 @@ var Io = {
|
|
|
3051
3080
|
if (!t) return "";
|
|
3052
3081
|
let n = U("items", t.id, s.value);
|
|
3053
3082
|
return [
|
|
3054
|
-
|
|
3083
|
+
q("items", t.id),
|
|
3055
3084
|
n.holder,
|
|
3056
3085
|
n.location,
|
|
3057
|
-
|
|
3086
|
+
q("countries", t.country_id)
|
|
3058
3087
|
].filter(Boolean).join(", ");
|
|
3059
3088
|
}
|
|
3060
3089
|
let _ = x(() => t.value.map((e, t) => {
|
|
@@ -3067,18 +3096,18 @@ var Io = {
|
|
|
3067
3096
|
cover: r?.image_url ?? "",
|
|
3068
3097
|
caption: g(r),
|
|
3069
3098
|
excerpt: h(l(String(o.presentation ?? ""))),
|
|
3070
|
-
to:
|
|
3099
|
+
to: Lt(e),
|
|
3071
3100
|
gallery: {
|
|
3072
3101
|
name: "theme-gallery",
|
|
3073
3102
|
params: { id: String(e.display_order - 1) }
|
|
3074
3103
|
},
|
|
3075
3104
|
subThemes: (e.sub_themes ?? []).map((e, t) => ({
|
|
3076
3105
|
label: `${t + 1}. ${a(e, s.value).title ?? e.internal_name ?? ""}`,
|
|
3077
|
-
to:
|
|
3106
|
+
to: Lt(e)
|
|
3078
3107
|
}))
|
|
3079
3108
|
};
|
|
3080
3109
|
}));
|
|
3081
|
-
return (e, t) => (N(), w("div",
|
|
3110
|
+
return (e, t) => (N(), w("div", Zs, [T("div", Qs, [T("div", {
|
|
3082
3111
|
class: "mwnf-dxa-themes-page__show-all",
|
|
3083
3112
|
onClick: m
|
|
3084
3113
|
}, [T("span", null, I(u.value ? L(o)("exhibition.themes.collapseAll") : L(o)("exhibition.themes.expandAll")), 1)]), (N(!0), w(b, null, F(_.value, (e) => (N(), w("div", {
|
|
@@ -3089,21 +3118,21 @@ var Io = {
|
|
|
3089
3118
|
onClick: (t) => f(e.index)
|
|
3090
3119
|
}, [T("span", null, [
|
|
3091
3120
|
D(I(L(o)("exhibition.theme.romanLabel")) + " " + I(e.numeral) + " ▪ ", 1),
|
|
3092
|
-
T("span", { innerHTML: L(c)(e.title) }, null, 8,
|
|
3121
|
+
T("span", { innerHTML: L(c)(e.title) }, null, 8, ec),
|
|
3093
3122
|
u.value ? C("", !0) : (N(), w(b, { key: 0 }, [D(I(d.value === e.index ? "▴" : "▾"), 1)], 64))
|
|
3094
|
-
])], 10,
|
|
3123
|
+
])], 10, $s), d.value !== e.index && !u.value ? (N(), w("div", tc, [(N(), w(b, null, F(4, (t) => T("img", {
|
|
3095
3124
|
key: t,
|
|
3096
3125
|
src: e.cover,
|
|
3097
3126
|
alt: ""
|
|
3098
|
-
}, null, 8,
|
|
3127
|
+
}, null, 8, nc)), 64))])) : (N(), w("div", rc, [T("div", ic, [e.cover ? (N(), w("img", {
|
|
3099
3128
|
key: 0,
|
|
3100
3129
|
src: e.cover,
|
|
3101
3130
|
alt: L(l)(e.title)
|
|
3102
|
-
}, null, 8,
|
|
3103
|
-
T("div",
|
|
3131
|
+
}, null, 8, ac)) : C("", !0), e.caption ? (N(), w("div", oc, [T("span", { innerHTML: L(c)(e.caption) }, null, 8, sc)])) : C("", !0)]), T("div", cc, [
|
|
3132
|
+
T("div", lc, [
|
|
3104
3133
|
T("span", null, I(e.excerpt), 1),
|
|
3105
3134
|
t[0] ||= D(" " + I(" "), -1),
|
|
3106
|
-
O(L(
|
|
3135
|
+
O(L(Y), {
|
|
3107
3136
|
to: e.to,
|
|
3108
3137
|
class: "mwnf-dxa-themes-page__link mwnf-dxa-themes-page__see-more"
|
|
3109
3138
|
}, {
|
|
@@ -3111,41 +3140,41 @@ var Io = {
|
|
|
3111
3140
|
_: 1
|
|
3112
3141
|
}, 8, ["to"])
|
|
3113
3142
|
]),
|
|
3114
|
-
T("div",
|
|
3143
|
+
T("div", uc, [T("div", dc, I(L(o)("exhibition.theme.inThisTheme")), 1), (N(!0), w(b, null, F(e.subThemes, (e) => (N(), w("div", { key: e.label }, [O(L(Y), {
|
|
3115
3144
|
to: e.to,
|
|
3116
3145
|
class: "mwnf-dxa-themes-page__link"
|
|
3117
3146
|
}, {
|
|
3118
3147
|
default: R(() => [D(I(e.label), 1)]),
|
|
3119
3148
|
_: 2
|
|
3120
3149
|
}, 1032, ["to"])]))), 128))]),
|
|
3121
|
-
T("div",
|
|
3150
|
+
T("div", fc, [O(L(Y), { to: e.gallery }, {
|
|
3122
3151
|
default: R(() => [D(I(L(o)("exhibition.themes.seeGallery")) + " " + I(e.numeral), 1)]),
|
|
3123
3152
|
_: 2
|
|
3124
3153
|
}, 1032, ["to"])])
|
|
3125
3154
|
])]))]))), 128))])]));
|
|
3126
3155
|
}
|
|
3127
|
-
},
|
|
3156
|
+
}, mc = /* @__PURE__ */ Z({ default: () => Mc }), hc = {
|
|
3128
3157
|
key: 0,
|
|
3129
3158
|
class: "mwnf-dxa-theme-gallery-page"
|
|
3130
|
-
},
|
|
3159
|
+
}, gc = { class: "mwnf-dxa-theme-gallery-page__header" }, _c = ["innerHTML"], vc = {
|
|
3131
3160
|
key: 0,
|
|
3132
3161
|
class: "mwnf-dxa-theme-gallery-page__bold"
|
|
3133
|
-
},
|
|
3162
|
+
}, yc = ["innerHTML"], bc = { class: "mwnf-dxa-theme-gallery-page__wrapper" }, xc = { class: "mwnf-dxa-theme-gallery-page__content" }, Sc = { class: "mwnf-dxa-theme-gallery-page__objects" }, Cc = { class: "mwnf-dxa-theme-gallery-page__filter" }, wc = { class: "mwnf-dxa-theme-gallery-page__label" }, Tc = ["disabled", "value"], Ec = {
|
|
3134
3163
|
value: "",
|
|
3135
3164
|
disabled: ""
|
|
3136
|
-
},
|
|
3165
|
+
}, Dc = ["value"], Oc = {
|
|
3137
3166
|
key: 0,
|
|
3138
3167
|
class: "mwnf-dxa-theme-gallery-page__reset"
|
|
3139
|
-
},
|
|
3168
|
+
}, kc = {
|
|
3140
3169
|
key: 0,
|
|
3141
3170
|
class: "mwnf-dxa-theme-gallery-page__top"
|
|
3142
|
-
},
|
|
3171
|
+
}, Ac = ["aria-label"], jc = {
|
|
3143
3172
|
key: 1,
|
|
3144
3173
|
class: "mwnf-loader"
|
|
3145
|
-
},
|
|
3174
|
+
}, Mc = {
|
|
3146
3175
|
__name: "ThemeGallery",
|
|
3147
3176
|
setup(e) {
|
|
3148
|
-
let { pictureParent: t, romanFor: n, themeByRouteId: r, themeText: i, themePictures: a } = ft, o =
|
|
3177
|
+
let { pictureParent: t, romanFor: n, themeByRouteId: r, themeText: i, themePictures: a } = ft, o = X(), s = Et(), { t: l, locale: u } = p(), d = x(() => r(o.params.id)), f = x(() => d.value?.sub_themes ?? []), m = x(() => {
|
|
3149
3178
|
let e = Number(o.params.subtheme);
|
|
3150
3179
|
return Number.isInteger(e) && e >= 1 && e <= f.value.length ? e : null;
|
|
3151
3180
|
}), h = (e) => i(e, u.value).title ?? e?.internal_name ?? "";
|
|
@@ -3167,15 +3196,15 @@ var Io = {
|
|
|
3167
3196
|
let a = t(e);
|
|
3168
3197
|
if (!a || !e.image_url || r.has(e.image_url)) continue;
|
|
3169
3198
|
r.add(e.image_url);
|
|
3170
|
-
let o = U("items", a.id, u.value), s = U("themes", `${i.id}/${e.picture_item_id}`, u.value).image_caption ?? "", l = c(
|
|
3199
|
+
let o = U("items", a.id, u.value), s = U("themes", `${i.id}/${e.picture_item_id}`, u.value).image_caption ?? "", l = c(q("items", a.id));
|
|
3171
3200
|
n.push({
|
|
3172
3201
|
id: e.picture_item_id,
|
|
3173
3202
|
image: e.image_url,
|
|
3174
|
-
imageAlt:
|
|
3203
|
+
imageAlt: q("items", a.id),
|
|
3175
3204
|
name: s ? `${c(s)}, ${l}` : l,
|
|
3176
3205
|
date: _(o.dates),
|
|
3177
|
-
partner: o.holder ||
|
|
3178
|
-
place: [o.location,
|
|
3206
|
+
partner: o.holder || q("partners", a.partner_id),
|
|
3207
|
+
place: [o.location, q("countries", a.country_id)].filter(Boolean).join(", "),
|
|
3179
3208
|
project: "",
|
|
3180
3209
|
to: {
|
|
3181
3210
|
name: "item",
|
|
@@ -3197,44 +3226,44 @@ var Io = {
|
|
|
3197
3226
|
top: 0,
|
|
3198
3227
|
behavior: "smooth"
|
|
3199
3228
|
});
|
|
3200
|
-
return (e, t) => d.value ? (N(), w("div",
|
|
3229
|
+
return (e, t) => d.value ? (N(), w("div", hc, [
|
|
3201
3230
|
O(B),
|
|
3202
|
-
T("div",
|
|
3231
|
+
T("div", gc, [T("span", null, [
|
|
3203
3232
|
D(I(L(l)("exhibition.theme.romanLabel")) + " " + I(L(n)(d.value.display_order)) + " | ", 1),
|
|
3204
3233
|
T("span", {
|
|
3205
3234
|
class: "mwnf-dxa-theme-gallery-page__bold",
|
|
3206
3235
|
innerHTML: L(c)(h(d.value))
|
|
3207
|
-
}, null, 8,
|
|
3208
|
-
m.value ? (N(), w("span",
|
|
3236
|
+
}, null, 8, _c),
|
|
3237
|
+
m.value ? (N(), w("span", vc, [t[2] ||= D(" ▪ ", -1), T("span", { innerHTML: L(c)(h(f.value[m.value - 1])) }, null, 8, yc)])) : C("", !0),
|
|
3209
3238
|
D(" | " + I(L(l)("exhibition.theme.galleryLabel")), 1)
|
|
3210
3239
|
])]),
|
|
3211
|
-
T("div",
|
|
3240
|
+
T("div", bc, [T("div", xc, [T("div", Sc, [O($, {
|
|
3212
3241
|
rows: v.value,
|
|
3213
3242
|
family: "exhibition"
|
|
3214
|
-
}, null, 8, ["rows"])]), T("div",
|
|
3215
|
-
T("div",
|
|
3243
|
+
}, null, 8, ["rows"])]), T("div", Cc, [
|
|
3244
|
+
T("div", wc, I(L(l)("exhibition.themeGallery.filterBy")), 1),
|
|
3216
3245
|
T("select", {
|
|
3217
3246
|
class: "mwnf-dxa-theme-gallery-page__select",
|
|
3218
3247
|
disabled: !v.value.length,
|
|
3219
3248
|
value: m.value ? String(m.value) : "",
|
|
3220
3249
|
onChange: t[0] ||= (e) => g(e.target.value)
|
|
3221
|
-
}, [T("option",
|
|
3250
|
+
}, [T("option", Ec, I(L(l)("exhibition.themeGallery.select")), 1), (N(!0), w(b, null, F(f.value, (e, t) => (N(), w("option", {
|
|
3222
3251
|
key: e.id,
|
|
3223
3252
|
value: String(t + 1)
|
|
3224
|
-
}, I(t + 1) + ". " + I(h(e)), 9,
|
|
3225
|
-
m.value ? (N(), w("div",
|
|
3253
|
+
}, I(t + 1) + ". " + I(h(e)), 9, Dc))), 128))], 40, Tc),
|
|
3254
|
+
m.value ? (N(), w("div", Oc, [T("button", {
|
|
3226
3255
|
type: "button",
|
|
3227
3256
|
onClick: t[1] ||= (e) => g("")
|
|
3228
3257
|
}, I(L(l)("exhibition.theme.seeAllInTheme")), 1)])) : C("", !0)
|
|
3229
3258
|
])])]),
|
|
3230
|
-
y.value ? (N(), w("div",
|
|
3259
|
+
y.value ? (N(), w("div", kc, [T("button", {
|
|
3231
3260
|
type: "button",
|
|
3232
3261
|
"aria-label": L(l)("exhibition.themeGallery.top"),
|
|
3233
3262
|
onClick: E
|
|
3234
|
-
}, "⌃", 8,
|
|
3235
|
-
])) : (N(), w("div",
|
|
3263
|
+
}, "⌃", 8, Ac)])) : C("", !0)
|
|
3264
|
+
])) : (N(), w("div", jc, I(L(l)("exhibition.theme.notInExhibition")), 1));
|
|
3236
3265
|
}
|
|
3237
|
-
},
|
|
3266
|
+
}, Nc = /* @__PURE__ */ Z({ default: () => Pc }), Pc = {
|
|
3238
3267
|
__name: "ItemDetail",
|
|
3239
3268
|
props: { id: {
|
|
3240
3269
|
type: String,
|
|
@@ -3252,8 +3281,8 @@ var Io = {
|
|
|
3252
3281
|
relatedVideos: "exhibition.sheet.relatedVideos",
|
|
3253
3282
|
relatedObjects: "exhibition.related.objects",
|
|
3254
3283
|
relatedMonuments: "exhibition.related.monuments"
|
|
3255
|
-
}, n = (e) =>
|
|
3256
|
-
return (r, i) => (N(), S(
|
|
3284
|
+
}, n = (e) => K.value.get(e);
|
|
3285
|
+
return (r, i) => (N(), S(Ft, {
|
|
3257
3286
|
id: e.id,
|
|
3258
3287
|
"item-detail": L(ut),
|
|
3259
3288
|
"data-getter": n,
|
|
@@ -3261,7 +3290,7 @@ var Io = {
|
|
|
3261
3290
|
class: "mwnf-dxa-exhibition-item"
|
|
3262
3291
|
}, null, 8, ["id", "item-detail"]));
|
|
3263
3292
|
}
|
|
3264
|
-
},
|
|
3293
|
+
}, Fc = /* @__PURE__ */ Z({ default: () => Xc }), Ic = { class: "mwnf-dxa-related-page" }, Lc = { class: "mwnf-dxa-related-page__container" }, Rc = { key: 0 }, zc = { class: "mwnf-dxa-related-page__heading" }, Bc = ["innerHTML"], Vc = ["innerHTML"], Hc = { key: 2 }, Uc = { key: 3 }, Wc = ["href", "innerHTML"], Gc = ["innerHTML"], Kc = { key: 4 }, qc = ["href"], Jc = ["innerHTML"], Yc = ["innerHTML"], Xc = {
|
|
3265
3294
|
__name: "RelatedContent",
|
|
3266
3295
|
setup(e) {
|
|
3267
3296
|
let t = {
|
|
@@ -3279,11 +3308,11 @@ var Io = {
|
|
|
3279
3308
|
catalogue: 1
|
|
3280
3309
|
}, i = (e) => e.category_id ?? (e.category ? r[e.category] ?? 4 : void 0), { t: a, locale: o } = p(), l = (e) => e?.[o.value] ?? e?.en ?? "";
|
|
3281
3310
|
function u(e) {
|
|
3282
|
-
let t = e.document_path ?
|
|
3311
|
+
let t = e.document_path ? _t(e.document_path, "hi_res") : "";
|
|
3283
3312
|
return {
|
|
3284
3313
|
reading: s(l(e.texts) || e.further_reading || ""),
|
|
3285
3314
|
partner: e.partner_name ? c(e.partner_name) : "",
|
|
3286
|
-
place: [e.entity_location, e.entity_country ?
|
|
3315
|
+
place: [e.entity_location, e.entity_country ? ht(e.entity_country) : ""].filter(Boolean).join(", "),
|
|
3287
3316
|
title: l(e.titles) ? c(l(e.titles)) : "",
|
|
3288
3317
|
href: t || e.url || "",
|
|
3289
3318
|
byline: [e.authors, e.type_resource].filter(Boolean).map((e) => c(e)).join(", "),
|
|
@@ -3302,68 +3331,68 @@ var Io = {
|
|
|
3302
3331
|
entries: [...e.get(n)].sort((e, t) => (e.display_order ?? 0) - (t.display_order ?? 0)).map(u)
|
|
3303
3332
|
}));
|
|
3304
3333
|
});
|
|
3305
|
-
return (e, t) => (N(), w("div",
|
|
3334
|
+
return (e, t) => (N(), w("div", Ic, [O(B), T("div", Lc, [d.value.length ? C("", !0) : (N(), w("p", Rc, I(L(a)("exhibition.related.notAvailable")), 1)), (N(!0), w(b, null, F(d.value, (e) => (N(), w("div", {
|
|
3306
3335
|
key: e.id,
|
|
3307
3336
|
class: "mwnf-dxa-related-page__category"
|
|
3308
|
-
}, [T("div",
|
|
3337
|
+
}, [T("div", zc, I(L(a)(e.heading)), 1), (N(!0), w(b, null, F(e.entries, (e, t) => (N(), w("div", {
|
|
3309
3338
|
key: t,
|
|
3310
3339
|
class: "mwnf-dxa-related-page__entry"
|
|
3311
3340
|
}, [
|
|
3312
3341
|
e.reading ? (N(), w("div", {
|
|
3313
3342
|
key: 0,
|
|
3314
3343
|
innerHTML: e.reading
|
|
3315
|
-
}, null, 8,
|
|
3344
|
+
}, null, 8, Bc)) : C("", !0),
|
|
3316
3345
|
e.partner ? (N(), w("div", {
|
|
3317
3346
|
key: 1,
|
|
3318
3347
|
innerHTML: e.partner
|
|
3319
|
-
}, null, 8,
|
|
3320
|
-
e.place ? (N(), w("div",
|
|
3321
|
-
e.title ? (N(), w("div",
|
|
3348
|
+
}, null, 8, Vc)) : C("", !0),
|
|
3349
|
+
e.place ? (N(), w("div", Hc, I(e.place), 1)) : C("", !0),
|
|
3350
|
+
e.title ? (N(), w("div", Uc, [e.href ? (N(), w("a", {
|
|
3322
3351
|
key: 0,
|
|
3323
3352
|
href: e.href,
|
|
3324
3353
|
target: "_blank",
|
|
3325
3354
|
rel: "noopener",
|
|
3326
3355
|
innerHTML: e.title
|
|
3327
|
-
}, null, 8,
|
|
3356
|
+
}, null, 8, Wc)) : (N(), w("span", {
|
|
3328
3357
|
key: 1,
|
|
3329
3358
|
innerHTML: e.title
|
|
3330
|
-
}, null, 8,
|
|
3359
|
+
}, null, 8, Gc))])) : e.href ? (N(), w("div", Kc, [T("a", {
|
|
3331
3360
|
href: e.href,
|
|
3332
3361
|
target: "_blank",
|
|
3333
3362
|
rel: "noopener"
|
|
3334
|
-
}, I(e.href), 9,
|
|
3363
|
+
}, I(e.href), 9, qc)])) : C("", !0),
|
|
3335
3364
|
e.byline ? (N(), w("div", {
|
|
3336
3365
|
key: 5,
|
|
3337
3366
|
innerHTML: e.byline
|
|
3338
|
-
}, null, 8,
|
|
3367
|
+
}, null, 8, Jc)) : C("", !0),
|
|
3339
3368
|
e.description ? (N(), w("div", {
|
|
3340
3369
|
key: 6,
|
|
3341
3370
|
innerHTML: e.description
|
|
3342
|
-
}, null, 8,
|
|
3371
|
+
}, null, 8, Yc)) : C("", !0)
|
|
3343
3372
|
]))), 128))]))), 128))])]));
|
|
3344
3373
|
}
|
|
3345
|
-
},
|
|
3374
|
+
}, Zc = /* @__PURE__ */ Z({ default: () => fl }), Qc = { class: "mwnf-dxa-timeline mwnf-dxa-exhibition-timeline" }, $c = { class: "mwnf-dxa-timeline__entrance" }, el = [
|
|
3346
3375
|
"value",
|
|
3347
3376
|
"aria-label",
|
|
3348
3377
|
"onChange"
|
|
3349
|
-
],
|
|
3378
|
+
], tl = {
|
|
3350
3379
|
disabled: "",
|
|
3351
3380
|
value: ""
|
|
3352
|
-
},
|
|
3381
|
+
}, nl = ["value"], rl = { class: "mwnf-dxa-timeline__dates" }, il = [
|
|
3353
3382
|
"value",
|
|
3354
3383
|
"aria-label",
|
|
3355
3384
|
"onChange"
|
|
3356
|
-
],
|
|
3385
|
+
], al = {
|
|
3357
3386
|
disabled: "",
|
|
3358
3387
|
value: ""
|
|
3359
|
-
},
|
|
3388
|
+
}, ol = ["value"], sl = [
|
|
3360
3389
|
"value",
|
|
3361
3390
|
"aria-label",
|
|
3362
3391
|
"onChange"
|
|
3363
|
-
],
|
|
3392
|
+
], cl = {
|
|
3364
3393
|
disabled: "",
|
|
3365
3394
|
value: ""
|
|
3366
|
-
},
|
|
3395
|
+
}, ll = ["value"], ul = { class: "mwnf-dxa-timeline__go" }, dl = ["onClick"], fl = {
|
|
3367
3396
|
__name: "Timeline",
|
|
3368
3397
|
setup(t) {
|
|
3369
3398
|
let n = {
|
|
@@ -3385,40 +3414,40 @@ var Io = {
|
|
|
3385
3414
|
end: e.end || i.at(-1)?.value
|
|
3386
3415
|
});
|
|
3387
3416
|
}
|
|
3388
|
-
return (t, n) => (N(), w("div",
|
|
3417
|
+
return (t, n) => (N(), w("div", Qc, [O(Tt, {
|
|
3389
3418
|
spec: i.value,
|
|
3390
3419
|
class: "mwnf-dxa-timeline__form"
|
|
3391
3420
|
}, {
|
|
3392
|
-
form: R((e) => [T("div",
|
|
3421
|
+
form: R((e) => [T("div", $c, [
|
|
3393
3422
|
a.value && e.countries?.length ? (N(), w("select", {
|
|
3394
3423
|
key: 0,
|
|
3395
3424
|
class: "mwnf-dxa-timeline__country",
|
|
3396
3425
|
value: e.filters.country,
|
|
3397
3426
|
"aria-label": e.t("exhibition.timeline.selectCountry"),
|
|
3398
3427
|
onChange: (t) => e.filters.country = t.target.value
|
|
3399
|
-
}, [T("option",
|
|
3428
|
+
}, [T("option", tl, I(e.t("exhibition.timeline.selectCountry")), 1), (N(!0), w(b, null, F(e.countries, (e) => (N(), w("option", {
|
|
3400
3429
|
key: e.value,
|
|
3401
3430
|
value: e.value
|
|
3402
|
-
}, I(e.label), 9,
|
|
3403
|
-
T("div",
|
|
3431
|
+
}, I(e.label), 9, nl))), 128))], 40, el)) : C("", !0),
|
|
3432
|
+
T("div", rl, [T("select", {
|
|
3404
3433
|
value: e.filters.begin,
|
|
3405
3434
|
"aria-label": e.t("exhibition.collection.startDate"),
|
|
3406
3435
|
onChange: (t) => e.filters.begin = t.target.value
|
|
3407
|
-
}, [T("option",
|
|
3436
|
+
}, [T("option", al, I(e.t("exhibition.collection.startDate")), 1), (N(!0), w(b, null, F(e.options.begin ?? [], (e) => (N(), w("option", {
|
|
3408
3437
|
key: e.value,
|
|
3409
3438
|
value: e.value
|
|
3410
|
-
}, I(e.label), 9,
|
|
3439
|
+
}, I(e.label), 9, ol))), 128))], 40, il), T("select", {
|
|
3411
3440
|
value: e.filters.end,
|
|
3412
3441
|
"aria-label": e.t("exhibition.collection.endDate"),
|
|
3413
3442
|
onChange: (t) => e.filters.end = t.target.value
|
|
3414
|
-
}, [T("option",
|
|
3443
|
+
}, [T("option", cl, I(e.t("exhibition.collection.endDate")), 1), (N(!0), w(b, null, F(e.options.end ?? [], (e) => (N(), w("option", {
|
|
3415
3444
|
key: e.value,
|
|
3416
3445
|
value: e.value
|
|
3417
|
-
}, I(e.label), 9,
|
|
3418
|
-
T("div",
|
|
3446
|
+
}, I(e.label), 9, ll))), 128))], 40, sl)]),
|
|
3447
|
+
T("div", ul, [T("button", {
|
|
3419
3448
|
type: "button",
|
|
3420
3449
|
onClick: (t) => o(e)
|
|
3421
|
-
}, I(e.t("core.action.go")), 9,
|
|
3450
|
+
}, I(e.t("core.action.go")), 9, dl)])
|
|
3422
3451
|
])]),
|
|
3423
3452
|
_: 1
|
|
3424
3453
|
}, 8, ["spec"]), O(L(e), {
|
|
@@ -3427,28 +3456,28 @@ var Io = {
|
|
|
3427
3456
|
keypath: "exhibition.timeline.intro"
|
|
3428
3457
|
})]));
|
|
3429
3458
|
}
|
|
3430
|
-
},
|
|
3459
|
+
}, pl = { class: "mwnf-picture-gallery" }, ml = {
|
|
3431
3460
|
key: 0,
|
|
3432
3461
|
class: "mwnf-picture-gallery__selected"
|
|
3433
|
-
},
|
|
3462
|
+
}, hl = { class: "mwnf-picture-gallery__image" }, gl = ["src", "alt"], _l = { class: "mwnf-picture-gallery__details" }, vl = { class: "mwnf-picture-gallery__detail mwnf-picture-gallery__detail--title" }, yl = { key: 0 }, bl = ["innerHTML"], xl = {
|
|
3434
3463
|
key: 0,
|
|
3435
3464
|
class: "mwnf-picture-gallery__label"
|
|
3436
|
-
},
|
|
3465
|
+
}, Sl = ["innerHTML"], Cl = {
|
|
3437
3466
|
key: 0,
|
|
3438
3467
|
class: "mwnf-picture-gallery__detail"
|
|
3439
|
-
},
|
|
3468
|
+
}, wl = {
|
|
3440
3469
|
key: 2,
|
|
3441
3470
|
class: "mwnf-picture-gallery__unresolved"
|
|
3442
|
-
},
|
|
3471
|
+
}, Tl = {
|
|
3443
3472
|
key: 1,
|
|
3444
3473
|
class: "mwnf-picture-gallery__empty"
|
|
3445
|
-
},
|
|
3474
|
+
}, El = {
|
|
3446
3475
|
key: 2,
|
|
3447
3476
|
class: "mwnf-picture-gallery__strip"
|
|
3448
|
-
},
|
|
3477
|
+
}, Dl = { class: "mwnf-picture-gallery__thumbs" }, Ol = ["onClick"], kl = ["src", "alt"], Al = { class: "mwnf-picture-gallery__thumb-text" }, jl = { key: 0 }, Ml = ["innerHTML"], Nl = { key: 1 }, Pl = {
|
|
3449
3478
|
key: 0,
|
|
3450
3479
|
class: "mwnf-picture-gallery__toggle"
|
|
3451
|
-
},
|
|
3480
|
+
}, Fl = {
|
|
3452
3481
|
__name: "PictureGallery",
|
|
3453
3482
|
props: {
|
|
3454
3483
|
pictures: {
|
|
@@ -3490,16 +3519,16 @@ var Io = {
|
|
|
3490
3519
|
function l(e) {
|
|
3491
3520
|
r("update:selectedId", e.id);
|
|
3492
3521
|
}
|
|
3493
|
-
return (t, n) => (N(), w("div",
|
|
3522
|
+
return (t, n) => (N(), w("div", pl, [a.value ? (N(), w("div", ml, [T("div", hl, [T("img", {
|
|
3494
3523
|
src: a.value.image,
|
|
3495
3524
|
alt: a.value.imageAlt ?? ""
|
|
3496
|
-
}, null, 8,
|
|
3497
|
-
T("div",
|
|
3525
|
+
}, null, 8, gl)]), T("div", _l, [
|
|
3526
|
+
T("div", vl, [a.value.imageCaption ? (N(), w("span", yl, I(a.value.imageCaption) + ", ", 1)) : C("", !0), T("span", { innerHTML: a.value.name }, null, 8, bl)]),
|
|
3498
3527
|
(N(!0), w(b, null, F(a.value.fields ?? [], (e, t) => (N(), w("div", {
|
|
3499
3528
|
key: t,
|
|
3500
3529
|
class: "mwnf-picture-gallery__detail"
|
|
3501
|
-
}, [e.label ? (N(), w("span",
|
|
3502
|
-
a.value.detail ? (N(), w("div",
|
|
3530
|
+
}, [e.label ? (N(), w("span", xl, I(e.label), 1)) : C("", !0), T("span", { innerHTML: e.value }, null, 8, Sl)]))), 128)),
|
|
3531
|
+
a.value.detail ? (N(), w("div", Cl, I(a.value.detail), 1)) : C("", !0),
|
|
3503
3532
|
a.value.to ? (N(), S(V, {
|
|
3504
3533
|
key: 1,
|
|
3505
3534
|
class: "mwnf-picture-gallery__link",
|
|
@@ -3507,8 +3536,8 @@ var Io = {
|
|
|
3507
3536
|
}, {
|
|
3508
3537
|
default: R(() => [D(I(L(i)(e.seeItemEntry)) + " →", 1)]),
|
|
3509
3538
|
_: 1
|
|
3510
|
-
}, 8, ["to"])) : (N(), w("div",
|
|
3511
|
-
])])) : (N(), w("div",
|
|
3539
|
+
}, 8, ["to"])) : (N(), w("div", wl, I(L(i)(e.unresolvedEntry)), 1))
|
|
3540
|
+
])])) : (N(), w("div", Tl, I(L(i)(e.emptyEntry)), 1)), e.pictures.length ? (N(), w("div", El, [T("ul", Dl, [(N(!0), w(b, null, F(c.value, (t) => (N(), w("li", {
|
|
3512
3541
|
key: t.id,
|
|
3513
3542
|
class: k(["mwnf-picture-gallery__thumb", {
|
|
3514
3543
|
"mwnf-picture-gallery__thumb--active": t.id === e.selectedId,
|
|
@@ -3521,31 +3550,31 @@ var Io = {
|
|
|
3521
3550
|
src: t.image,
|
|
3522
3551
|
alt: t.imageAlt ?? "",
|
|
3523
3552
|
loading: "lazy"
|
|
3524
|
-
}, null, 8,
|
|
3525
|
-
t.imageCaption ? (N(), w("span",
|
|
3553
|
+
}, null, 8, kl)], 8, Ol), T("div", Al, [
|
|
3554
|
+
t.imageCaption ? (N(), w("span", jl, I(t.imageCaption) + ", ", 1)) : C("", !0),
|
|
3526
3555
|
T("span", {
|
|
3527
3556
|
class: "mwnf-picture-gallery__thumb-name",
|
|
3528
3557
|
innerHTML: t.name
|
|
3529
|
-
}, null, 8,
|
|
3530
|
-
t.detail ? (N(), w("span",
|
|
3531
|
-
])], 2))), 128))]), o.value ? (N(), w("label",
|
|
3558
|
+
}, null, 8, Ml),
|
|
3559
|
+
t.detail ? (N(), w("span", Nl, ", " + I(t.detail), 1)) : C("", !0)
|
|
3560
|
+
])], 2))), 128))]), o.value ? (N(), w("label", Pl, [z(T("input", {
|
|
3532
3561
|
"onUpdate:modelValue": n[0] ||= (e) => s.value = e,
|
|
3533
3562
|
type: "checkbox"
|
|
3534
3563
|
}, null, 512), [[re, s.value]]), T("span", null, I(s.value ? L(i)(e.hideRelatedEntry) : L(i)(e.addRelatedEntry)), 1)])) : C("", !0)])) : C("", !0)]));
|
|
3535
3564
|
}
|
|
3536
|
-
},
|
|
3565
|
+
}, Il = {
|
|
3537
3566
|
key: 0,
|
|
3538
3567
|
class: "mwnf-picture-narrative"
|
|
3539
|
-
},
|
|
3568
|
+
}, Ll = ["innerHTML"], Rl = {
|
|
3540
3569
|
key: 1,
|
|
3541
3570
|
class: "mwnf-picture-narrative__related"
|
|
3542
|
-
},
|
|
3571
|
+
}, zl = { class: "mwnf-picture-narrative__heading" }, Bl = { class: "mwnf-picture-narrative__images" }, Vl = { class: "mwnf-picture-narrative__image mwnf-picture-narrative__image--main" }, Hl = ["src", "alt"], Ul = { class: "mwnf-picture-narrative__thumb-text" }, Wl = ["innerHTML"], Gl = { key: 0 }, Kl = ["onClick"], ql = ["src", "alt"], Jl = { class: "mwnf-picture-narrative__thumb-text" }, Yl = ["innerHTML"], Xl = { key: 0 }, Zl = {
|
|
3543
3572
|
key: 0,
|
|
3544
3573
|
class: "mwnf-picture-narrative__relation"
|
|
3545
|
-
},
|
|
3574
|
+
}, Ql = {
|
|
3546
3575
|
key: 2,
|
|
3547
3576
|
class: "mwnf-picture-narrative__related"
|
|
3548
|
-
},
|
|
3577
|
+
}, $l = { class: "mwnf-picture-narrative__heading" }, eu = { class: "mwnf-picture-narrative__text mwnf-picture-narrative__text--reciprocal" }, tu = { class: "mwnf-picture-narrative__image" }, nu = ["src", "alt"], ru = { class: "mwnf-picture-narrative__thumb-text" }, iu = ["innerHTML"], au = { key: 0 }, ou = {
|
|
3549
3578
|
__name: "PictureNarrative",
|
|
3550
3579
|
props: {
|
|
3551
3580
|
picture: {
|
|
@@ -3571,16 +3600,16 @@ var Io = {
|
|
|
3571
3600
|
function l(e) {
|
|
3572
3601
|
r("select", e.id);
|
|
3573
3602
|
}
|
|
3574
|
-
return (t, n) => e.picture ? (N(), w("div",
|
|
3603
|
+
return (t, n) => e.picture ? (N(), w("div", Il, [
|
|
3575
3604
|
a.value ? (N(), w("div", {
|
|
3576
3605
|
key: 0,
|
|
3577
3606
|
class: "mwnf-picture-narrative__text mwnf-sheet__block",
|
|
3578
3607
|
innerHTML: a.value
|
|
3579
|
-
}, null, 8,
|
|
3580
|
-
o.value.length ? (N(), w("div",
|
|
3608
|
+
}, null, 8, Ll)) : C("", !0),
|
|
3609
|
+
o.value.length ? (N(), w("div", Rl, [T("div", zl, I(L(i)(e.relatedHeadingEntry)), 1), T("div", Bl, [T("div", Vl, [T("img", {
|
|
3581
3610
|
src: e.picture.image,
|
|
3582
3611
|
alt: e.picture.imageAlt ?? ""
|
|
3583
|
-
}, null, 8,
|
|
3612
|
+
}, null, 8, Hl), T("div", Ul, [T("span", { innerHTML: e.picture.name }, null, 8, Wl), e.picture.detail ? (N(), w("span", Gl, ", " + I(e.picture.detail), 1)) : C("", !0)])]), (N(!0), w(b, null, F(o.value, (e) => (N(), w("div", {
|
|
3584
3613
|
key: e.picture.id,
|
|
3585
3614
|
class: "mwnf-picture-narrative__image"
|
|
3586
3615
|
}, [
|
|
@@ -3590,22 +3619,22 @@ var Io = {
|
|
|
3590
3619
|
}, [T("img", {
|
|
3591
3620
|
src: e.picture.image,
|
|
3592
3621
|
alt: e.picture.imageAlt ?? ""
|
|
3593
|
-
}, null, 8,
|
|
3594
|
-
T("div",
|
|
3595
|
-
e.text ? (N(), w("div",
|
|
3622
|
+
}, null, 8, ql)], 8, Kl),
|
|
3623
|
+
T("div", Jl, [T("span", { innerHTML: e.picture.name }, null, 8, Yl), e.picture.detail ? (N(), w("span", Xl, ", " + I(e.picture.detail), 1)) : C("", !0)]),
|
|
3624
|
+
e.text ? (N(), w("div", Zl, I(e.text), 1)) : C("", !0)
|
|
3596
3625
|
]))), 128))])])) : C("", !0),
|
|
3597
|
-
c.value ? (N(), w("div",
|
|
3598
|
-
T("div",
|
|
3599
|
-
T("p",
|
|
3600
|
-
T("div",
|
|
3626
|
+
c.value ? (N(), w("div", Ql, [
|
|
3627
|
+
T("div", $l, I(L(i)(e.relatedHeadingEntry)), 1),
|
|
3628
|
+
T("p", eu, I(c.value.reciprocalText || L(i)(e.reciprocalFallbackEntry)), 1),
|
|
3629
|
+
T("div", tu, [T("button", {
|
|
3601
3630
|
type: "button",
|
|
3602
3631
|
onClick: n[0] ||= (e) => l(c.value.picture)
|
|
3603
3632
|
}, [T("img", {
|
|
3604
3633
|
src: c.value.picture.image,
|
|
3605
3634
|
alt: c.value.picture.imageAlt ?? ""
|
|
3606
|
-
}, null, 8,
|
|
3635
|
+
}, null, 8, nu)]), T("div", ru, [T("span", { innerHTML: c.value.picture.name }, null, 8, iu), c.value.picture.detail ? (N(), w("span", au, ", " + I(c.value.picture.detail), 1)) : C("", !0)])])
|
|
3607
3636
|
])) : C("", !0)
|
|
3608
3637
|
])) : C("", !0);
|
|
3609
3638
|
}
|
|
3610
3639
|
};
|
|
3611
|
-
export {
|
|
3640
|
+
export { Ys as ExhibitionAbout, Ta as ExhibitionCollectionResults, Wa as ExhibitionCollectionSearch, Ks as ExhibitionHome, Pc as ExhibitionItemDetail, $a as ExhibitionPartnerObjects, zr as ExhibitionPartners, Xc as ExhibitionRelatedContent, Tr as ExhibitionSearchHowTo, ci as ExhibitionSearchResults, To as ExhibitionShell, It as ExhibitionTheme, Mc as ExhibitionThemeGallery, pc as ExhibitionThemes, fl as ExhibitionTimeline, Ui as ExhibitionTimelineGallery, Ii as ExhibitionTimelineResults, Zo as FeaturedPartners, Gt as GalleryAbout, tr as GalleryCollectionResults, _r as GalleryCollectionSearch, Kt as GalleryCredits, Ts as GalleryHome, Ds as GalleryItemDetail, Cr as GalleryPartnerObjects, _n as GalleryPartners, Yt as GallerySearchHowTo, Hn as GallerySearchResults, yo as GalleryShell, Us as GalleryTimeline, Kn as GalleryTimelineGallery, Un as GalleryTimelineResults, Pt as ItemDetailView, Q as LegacyPages, Ut as PartnerDetail, Fl as PictureGallery, ou as PictureNarrative, wo as PopupLogo, gs as SiblingGalleries, zt as exhibitionAboutSpec, Lo as exhibitionConfig, Xe as exhibitionPartnerDetail, Rt as exhibitionThemeSpec, Po as galleryConfig, Ce as galleryPartnerDetail, ko as projectChips, ho as standardRoutes, Lt as themeNodeRoute };
|