@museumwnf/viewer-layout 3.63.1 → 3.65.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/{LegacyItemSheet-Bmg8etGz.js → LegacyItemSheet-DO80usKA.js} +139 -119
- package/dist/{Theme-Daezwp0p.js → Theme-TtISKJme.js} +2 -2
- package/dist/data-BP9cR7bm.js +60 -0
- package/dist/data-CtYatYQi.js +81 -0
- package/dist/dxa.js +636 -635
- package/dist/legacyFacets-CQw2NYL4.js +9 -0
- package/dist/{themeSpecs-DIdmAEc3.js → themeSpecs-DePD36Wi.js} +1 -1
- package/dist/viewer-layout.css +1 -1
- package/package.json +1 -1
- package/src/dxa/testing.js +27 -5
- package/dist/data-CsMfGCkv.js +0 -77
- package/dist/data-DzrH9ikw.js +0 -45
package/dist/dxa.js
CHANGED
|
@@ -2,24 +2,24 @@ import { s as e } from "./OnDisplayIn-BH3Bqope.js";
|
|
|
2
2
|
import { c as t, d as n, t as r } from "./PartnerMap-DdyMLtgH.js";
|
|
3
3
|
import { a as i, i as a, n as o, o as s } from "./TimelineEventList-CIkKxyQu.js";
|
|
4
4
|
import { t as c } from "./RecordView-Bgd5mm_e.js";
|
|
5
|
-
import { A as l, C as u, D as d, E as f, M as p,
|
|
6
|
-
import { A as S, C as
|
|
7
|
-
import { n as
|
|
8
|
-
import { t as
|
|
9
|
-
import { i as
|
|
10
|
-
import { i as
|
|
11
|
-
import { n as
|
|
12
|
-
import { n as
|
|
13
|
-
import { n as
|
|
14
|
-
import { Fragment as O, computed as k, createBlock as A, createCommentVNode as j, createElementBlock as M, createElementVNode as N, createSlots as
|
|
15
|
-
import { I18nText as W, NotFoundView as
|
|
16
|
-
import { RouterLink as Y, useRoute as X, useRouter as
|
|
17
|
-
import { romanFor as
|
|
5
|
+
import { A as l, C as u, D as d, E as f, M as p, N as m, O as h, S as g, T as _, _ as v, a as y, b as ee, c as te, d as b, f as ne, g as x, h as re, i as ie, j as ae, k as oe, l as se, m as ce, n as le, o as ue, p as de, r as fe, s as pe, t as me, u as he, v as ge, w as _e, x as ve, y as ye } from "./data-BP9cR7bm.js";
|
|
6
|
+
import { A as S, C as be, D as xe, E as Se, M as Ce, N as we, O as Te, S as Ee, T as De, _ as Oe, a as ke, b as Ae, c as C, d as je, f as Me, g as Ne, h as Pe, i as Fe, j as w, k as Ie, l as Le, m as Re, n as ze, o as Be, p as Ve, r as He, s as Ue, t as We, u as Ge, v as T, w as Ke, x as qe, y as Je } from "./data-CtYatYQi.js";
|
|
7
|
+
import { n as Ye, r as E, t as Xe } from "./TimelineResultsView-BF3VoCs_.js";
|
|
8
|
+
import { t as Ze } from "./SiteShell-UsZ_cpe9.js";
|
|
9
|
+
import { i as Qe, n as $e, r as et, t as tt } from "./chrome-Bv_mLlHM.js";
|
|
10
|
+
import { i as nt } from "./PageShell-CIGVv7sK.js";
|
|
11
|
+
import { n as rt, t as it } from "./LegacyItemSheet-DO80usKA.js";
|
|
12
|
+
import { n as at, r as D } from "./Theme-TtISKJme.js";
|
|
13
|
+
import { n as ot, r as st, t as ct } from "./themeSpecs-DePD36Wi.js";
|
|
14
|
+
import { Fragment as O, computed as k, createBlock as A, createCommentVNode as j, createElementBlock as M, createElementVNode as N, createSlots as lt, createTextVNode as P, createVNode as F, normalizeClass as I, normalizeStyle as ut, onBeforeUnmount as dt, onMounted as ft, openBlock as L, reactive as pt, ref as R, renderList as z, renderSlot as mt, resolveDynamicComponent as ht, toDisplayString as B, unref as V, vModelCheckbox as gt, vModelSelect as _t, vModelText as vt, vShow as yt, watch as bt, watchEffect as xt, withCtx as H, withDirectives as U, withModifiers as St } from "vue";
|
|
15
|
+
import { I18nText as W, NotFoundView as Ct, languageLabels as wt, loadEntities as Tt, mwnfLinks as G, offeredLanguages as Et, renderBlock as Dt, renderInline as K, renderPlain as Ot, sectionMeta as kt, useDataPackage as At, useFacets as jt, useI18n as q, useKeywordIndex as Mt, useSection as Nt, useSiteConfig as Pt, withEraWords as Ft, yearBuckets as J, yearBucketsFromRange as It } from "@museumwnf/viewer-core";
|
|
16
|
+
import { RouterLink as Y, useRoute as X, useRouter as Lt } from "vue-router";
|
|
17
|
+
import { romanFor as Rt } from "@museumwnf/viewer-core/dxa";
|
|
18
18
|
// src/dxa/PartnerDetail.vue
|
|
19
|
-
var
|
|
19
|
+
var zt = { class: "mwnf-dxa-profile-languages" }, Bt = { class: "mwnf-dxa-profile-map-label" }, Vt = {
|
|
20
20
|
key: 1,
|
|
21
21
|
class: "mwnf-dxa-profile-no-map"
|
|
22
|
-
},
|
|
22
|
+
}, Ht = {
|
|
23
23
|
__name: "PartnerDetail",
|
|
24
24
|
props: {
|
|
25
25
|
id: {
|
|
@@ -43,7 +43,7 @@ var Rt = { class: "mwnf-dxa-profile-languages" }, zt = { class: "mwnf-dxa-profil
|
|
|
43
43
|
id: i.id,
|
|
44
44
|
class: I(["mwnf-dxa-partner-profile", i.family.className])
|
|
45
45
|
}, {
|
|
46
|
-
header: H(({ languages: n, language: r, select: a }) => [N("div",
|
|
46
|
+
header: H(({ languages: n, language: r, select: a }) => [N("div", zt, [F(t, {
|
|
47
47
|
languages: n,
|
|
48
48
|
language: r,
|
|
49
49
|
from: i.family.legacyMap ? 1 : 2,
|
|
@@ -62,7 +62,7 @@ var Rt = { class: "mwnf-dxa-profile-languages" }, zt = { class: "mwnf-dxa-profil
|
|
|
62
62
|
media: i.family.media ?? {},
|
|
63
63
|
show: i.family.legacyMap ? { map: !1 } : {},
|
|
64
64
|
dir: a
|
|
65
|
-
},
|
|
65
|
+
}, lt({
|
|
66
66
|
actions: H(({ partner: e }) => [e.objectsRoute ? (L(), A(n, {
|
|
67
67
|
key: 0,
|
|
68
68
|
class: "mwnf-button",
|
|
@@ -74,7 +74,7 @@ var Rt = { class: "mwnf-dxa-profile-languages" }, zt = { class: "mwnf-dxa-profil
|
|
|
74
74
|
_: 2
|
|
75
75
|
}, [i.family.legacyMap ? {
|
|
76
76
|
name: "after",
|
|
77
|
-
fn: H(({ partner: e }) => [e.map ? (L(), M(O, { key: 0 }, [N("p",
|
|
77
|
+
fn: H(({ partner: e }) => [e.map ? (L(), M(O, { key: 0 }, [N("p", Bt, B(V(s)(i.family.legacyMap.label)), 1), F(r, {
|
|
78
78
|
class: "mwnf-dxa-profile-map",
|
|
79
79
|
provider: "google",
|
|
80
80
|
latitude: e.map.latitude,
|
|
@@ -86,7 +86,7 @@ var Rt = { class: "mwnf-dxa-profile-languages" }, zt = { class: "mwnf-dxa-profil
|
|
|
86
86
|
"longitude",
|
|
87
87
|
"zoom",
|
|
88
88
|
"label"
|
|
89
|
-
])], 64)) : (L(), M("p",
|
|
89
|
+
])], 64)) : (L(), M("p", Vt))]),
|
|
90
90
|
key: "0"
|
|
91
91
|
} : void 0]), 1032, [
|
|
92
92
|
"partner",
|
|
@@ -100,9 +100,9 @@ var Rt = { class: "mwnf-dxa-profile-languages" }, zt = { class: "mwnf-dxa-profil
|
|
|
100
100
|
"spec",
|
|
101
101
|
"id",
|
|
102
102
|
"class"
|
|
103
|
-
])) : (L(), A(V(
|
|
103
|
+
])) : (L(), A(V(Ct), { key: 1 }));
|
|
104
104
|
}
|
|
105
|
-
},
|
|
105
|
+
}, Ut = {
|
|
106
106
|
__name: "TextPage",
|
|
107
107
|
props: {
|
|
108
108
|
body: {
|
|
@@ -131,50 +131,50 @@ var Rt = { class: "mwnf-dxa-profile-languages" }, zt = { class: "mwnf-dxa-profil
|
|
|
131
131
|
"blank-lines": ""
|
|
132
132
|
}, null, 8, ["keypath"])], 2));
|
|
133
133
|
}
|
|
134
|
-
},
|
|
134
|
+
}, Wt = {
|
|
135
135
|
__name: "About",
|
|
136
136
|
setup(e) {
|
|
137
|
-
return (e, t) => (L(), A(
|
|
137
|
+
return (e, t) => (L(), A(Ut, {
|
|
138
138
|
kind: "about",
|
|
139
139
|
body: "gallery.about.body"
|
|
140
140
|
}));
|
|
141
141
|
}
|
|
142
|
-
},
|
|
142
|
+
}, Gt = {
|
|
143
143
|
__name: "Credits",
|
|
144
144
|
props: { bodyKey: {
|
|
145
145
|
type: String,
|
|
146
146
|
required: !0
|
|
147
147
|
} },
|
|
148
148
|
setup(e) {
|
|
149
|
-
return (t, n) => (L(), A(
|
|
149
|
+
return (t, n) => (L(), A(Ut, {
|
|
150
150
|
kind: "credits",
|
|
151
151
|
body: e.bodyKey
|
|
152
152
|
}, null, 8, ["body"]));
|
|
153
153
|
}
|
|
154
|
-
},
|
|
154
|
+
}, Kt = { class: "mwnf-dxa-exhibition-credits" }, qt = {
|
|
155
155
|
__name: "Credits",
|
|
156
156
|
props: { bodyKey: {
|
|
157
157
|
type: String,
|
|
158
158
|
required: !0
|
|
159
159
|
} },
|
|
160
160
|
setup(t) {
|
|
161
|
-
return (n, r) => (L(), M("div",
|
|
161
|
+
return (n, r) => (L(), M("div", Kt, [F(e), F(V(W), {
|
|
162
162
|
class: "mwnf-dxa-exhibition-credits__body",
|
|
163
163
|
dir: "auto",
|
|
164
164
|
keypath: t.bodyKey,
|
|
165
165
|
"blank-lines": ""
|
|
166
166
|
}, null, 8, ["keypath"])]));
|
|
167
167
|
}
|
|
168
|
-
},
|
|
168
|
+
}, Jt = {
|
|
169
169
|
__name: "SearchHowTo",
|
|
170
170
|
setup(e) {
|
|
171
|
-
return (e, t) => (L(), A(
|
|
171
|
+
return (e, t) => (L(), A(Ut, {
|
|
172
172
|
kind: "how-to",
|
|
173
173
|
body: "catalogue.search.howToEssay",
|
|
174
174
|
back: { name: "collection" }
|
|
175
175
|
}));
|
|
176
176
|
}
|
|
177
|
-
},
|
|
177
|
+
}, Yt = {
|
|
178
178
|
DGA: "dga",
|
|
179
179
|
ISL: "isl",
|
|
180
180
|
EPM: "isl",
|
|
@@ -182,14 +182,14 @@ var Rt = { class: "mwnf-dxa-profile-languages" }, zt = { class: "mwnf-dxa-profil
|
|
|
182
182
|
BAR: "dba",
|
|
183
183
|
GALLERIES: "galleries",
|
|
184
184
|
DCA: "dca"
|
|
185
|
-
},
|
|
185
|
+
}, Xt = {
|
|
186
186
|
partner: "gallery.partners.statusPartner",
|
|
187
187
|
affiliate: "gallery.partners.statusAffiliate"
|
|
188
188
|
};
|
|
189
|
-
function Z(e, t =
|
|
189
|
+
function Z(e, t = Xt) {
|
|
190
190
|
let n = e?.own_project;
|
|
191
191
|
if (!n?.name) return null;
|
|
192
|
-
let r = String(n.backward_compatibility ?? "").split(":").pop().toUpperCase(), i = n.exhibition ? "exh" :
|
|
192
|
+
let r = String(n.backward_compatibility ?? "").split(":").pop().toUpperCase(), i = n.exhibition ? "exh" : Yt[r] ?? "", a = n.level === "partner" || !!n.exhibition;
|
|
193
193
|
return {
|
|
194
194
|
name: n.name,
|
|
195
195
|
status: a ? t.partner : t.affiliate,
|
|
@@ -197,42 +197,42 @@ function Z(e, t = Yt) {
|
|
|
197
197
|
};
|
|
198
198
|
}
|
|
199
199
|
// src/dxa/gallery/Partners.vue
|
|
200
|
-
var
|
|
200
|
+
var Zt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Qt = { class: "mwnf-dxa-gallery-partners__options" }, $t = { class: "mwnf-dxa-gallery-partners__order" }, en = ["onClick"], tn = { class: "mwnf-dxa-gallery-partners__country" }, nn = { class: "mwnf-dxa-gallery-partners__partner" }, rn = { class: "mwnf-dxa-gallery-partners__text" }, an = ["innerHTML"], on = {
|
|
201
201
|
key: 0,
|
|
202
202
|
class: "mwnf-dxa-gallery-partners__city"
|
|
203
|
-
},
|
|
203
|
+
}, sn = { class: "mwnf-dxa-partner-badge__status" }, cn = { class: "mwnf-dxa-gallery-partners__links" }, ln = { class: "mwnf-dxa-gallery-partners__logo" }, un = ["src", "alt"], dn = {
|
|
204
204
|
__name: "Partners",
|
|
205
205
|
setup(t) {
|
|
206
206
|
let r = {
|
|
207
|
-
...
|
|
208
|
-
objectsRoute:
|
|
207
|
+
...u,
|
|
208
|
+
objectsRoute: _,
|
|
209
209
|
orderToggle: !1,
|
|
210
210
|
tiebreak: (e) => e.own_project?.name ?? ""
|
|
211
211
|
};
|
|
212
|
-
return (t, i) => (L(), M("div",
|
|
213
|
-
before: H(({ t, orderDir: n, toggleOrder: r }) => [N("div",
|
|
212
|
+
return (t, i) => (L(), M("div", Zt, [F(Ye, { spec: r }, {
|
|
213
|
+
before: H(({ t, orderDir: n, toggleOrder: r }) => [N("div", Qt, [F(e), N("div", $t, [N("button", {
|
|
214
214
|
type: "button",
|
|
215
215
|
onClick: r
|
|
216
|
-
}, B(t(n === "asc" ? "partner.list.sortDescending" : "partner.list.sortAscending")), 9,
|
|
216
|
+
}, B(t(n === "asc" ? "partner.list.sortDescending" : "partner.list.sortAscending")), 9, en)])]), F(V(W), {
|
|
217
217
|
id: "mwnf-dxa-partners-intro",
|
|
218
218
|
class: "mwnf-dxa-gallery-partners__intro",
|
|
219
219
|
dir: "auto",
|
|
220
220
|
keypath: "gallery.partners.intro"
|
|
221
221
|
})]),
|
|
222
|
-
"group-heading": H(({ group: e }) => [N("div",
|
|
223
|
-
row: H(({ partner: e, view: t, t: r }) => [N("div",
|
|
222
|
+
"group-heading": H(({ group: e }) => [N("div", tn, B(e.label), 1)]),
|
|
223
|
+
row: H(({ partner: e, view: t, t: r }) => [N("div", nn, [N("div", rn, [
|
|
224
224
|
F(n, {
|
|
225
225
|
class: "mwnf-dxa-gallery-partners__name",
|
|
226
226
|
to: t.route
|
|
227
227
|
}, {
|
|
228
|
-
default: H(() => [N("span", { innerHTML: t.name }, null, 8,
|
|
228
|
+
default: H(() => [N("span", { innerHTML: t.name }, null, 8, an), t.city ? (L(), M("span", on, ", " + B(t.city), 1)) : j("", !0)]),
|
|
229
229
|
_: 2
|
|
230
230
|
}, 1032, ["to"]),
|
|
231
231
|
V(Z)(e) ? (L(), M("div", {
|
|
232
232
|
key: 0,
|
|
233
233
|
class: I(["mwnf-dxa-partner-badge", V(Z)(e).tone && `mwnf-dxa-partner-badge--${V(Z)(e).tone}`])
|
|
234
|
-
}, [P(B(V(Z)(e).name) + " ", 1), N("span",
|
|
235
|
-
N("div",
|
|
234
|
+
}, [P(B(V(Z)(e).name) + " ", 1), N("span", sn, B(r(V(Z)(e).status)), 1)], 2)) : j("", !0),
|
|
235
|
+
N("div", cn, [F(n, { to: t.route }, {
|
|
236
236
|
default: H(() => [P(B(r("partner.action.readMore")), 1)]),
|
|
237
237
|
_: 2
|
|
238
238
|
}, 1032, ["to"]), e.item_count > 0 && t.objectsRoute ? (L(), M(O, { key: 0 }, [i[0] ||= N("span", {
|
|
@@ -242,16 +242,16 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
242
242
|
default: H(() => [P(B(r("partner.action.viewObjects")), 1)]),
|
|
243
243
|
_: 2
|
|
244
244
|
}, 1032, ["to"])], 64)) : j("", !0)])
|
|
245
|
-
]), N("div",
|
|
245
|
+
]), N("div", ln, [t.logos?.[0] ? (L(), M("img", {
|
|
246
246
|
key: 0,
|
|
247
247
|
src: t.logos[0].url,
|
|
248
248
|
alt: t.plainName,
|
|
249
249
|
loading: "lazy"
|
|
250
|
-
}, null, 8,
|
|
250
|
+
}, null, 8, un)) : j("", !0)])])]),
|
|
251
251
|
_: 1
|
|
252
252
|
})]));
|
|
253
253
|
}
|
|
254
|
-
},
|
|
254
|
+
}, fn = ["onMouseenter"], pn = { class: "mwnf-dxa-grid__frame" }, mn = ["src", "alt"], hn = ["src", "alt"], gn = { class: "mwnf-dxa-grid__text" }, _n = ["innerHTML"], vn = { class: "mwnf-dxa-grid__date" }, yn = { class: "mwnf-dxa-grid__partner" }, bn = { class: "mwnf-dxa-grid__place" }, xn = {
|
|
255
255
|
key: 0,
|
|
256
256
|
class: "mwnf-dxa-grid__project"
|
|
257
257
|
}, Q = {
|
|
@@ -273,12 +273,12 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
273
273
|
class: "mwnf-dxa-grid__entry",
|
|
274
274
|
onMouseenter: (e) => r.value = o,
|
|
275
275
|
onMouseleave: a[0] ||= (e) => r.value = -1
|
|
276
|
-
}, [N("div",
|
|
276
|
+
}, [N("div", pn, [N("img", {
|
|
277
277
|
class: "mwnf-dxa-grid__image",
|
|
278
278
|
src: i.image,
|
|
279
279
|
alt: i.imageAlt,
|
|
280
280
|
loading: "lazy"
|
|
281
|
-
}, null, 8,
|
|
281
|
+
}, null, 8, mn)]), N("div", { class: I(["mwnf-dxa-grid__card", { "mwnf-dxa-grid__card--open": r.value === o }]) }, [F(n, {
|
|
282
282
|
class: "mwnf-dxa-grid__card-image",
|
|
283
283
|
to: i.to,
|
|
284
284
|
tabindex: "-1"
|
|
@@ -287,17 +287,17 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
287
287
|
src: i.image,
|
|
288
288
|
alt: i.imageAlt,
|
|
289
289
|
loading: "lazy"
|
|
290
|
-
}, null, 8,
|
|
290
|
+
}, null, 8, hn)]),
|
|
291
291
|
_: 2
|
|
292
|
-
}, 1032, ["to"]), N("div",
|
|
292
|
+
}, 1032, ["to"]), N("div", gn, [
|
|
293
293
|
N("p", {
|
|
294
294
|
class: "mwnf-dxa-grid__name",
|
|
295
295
|
innerHTML: i.name
|
|
296
|
-
}, null, 8,
|
|
297
|
-
N("p",
|
|
298
|
-
N("p",
|
|
299
|
-
N("p",
|
|
300
|
-
e.family !== "exhibition" || i.project ? (L(), M("p",
|
|
296
|
+
}, null, 8, _n),
|
|
297
|
+
N("p", vn, B(i.date), 1),
|
|
298
|
+
N("p", yn, B(i.partner), 1),
|
|
299
|
+
N("p", bn, B(i.place), 1),
|
|
300
|
+
e.family !== "exhibition" || i.project ? (L(), M("p", xn, [P(B(V(t)("gallery.results.for")) + " ", 1), N("span", null, B(i.project), 1)])) : j("", !0),
|
|
301
301
|
F(n, {
|
|
302
302
|
class: "mwnf-dxa-grid__link",
|
|
303
303
|
to: i.to
|
|
@@ -305,22 +305,22 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
305
305
|
default: H(() => [P(B(V(t)("catalogue.results.seeDatabaseEntry")) + " >", 1)]),
|
|
306
306
|
_: 1
|
|
307
307
|
}, 8, ["to"])
|
|
308
|
-
])], 2)], 40,
|
|
308
|
+
])], 2)], 40, fn))), 128))], 2));
|
|
309
309
|
}
|
|
310
|
-
},
|
|
310
|
+
}, Sn = ["onSubmit"], Cn = ["placeholder"], wn = {
|
|
311
311
|
type: "submit",
|
|
312
312
|
class: "mwnf-dxa-refine-search-submit"
|
|
313
|
-
},
|
|
313
|
+
}, Tn = { class: "mwnf-dxa-how-to" }, En = {
|
|
314
314
|
key: 1,
|
|
315
315
|
class: "mwnf-dxa-no-results"
|
|
316
|
-
},
|
|
316
|
+
}, Dn = {
|
|
317
317
|
__name: "SearchResults",
|
|
318
318
|
setup(t) {
|
|
319
|
-
let n =
|
|
319
|
+
let n = Mt("items", {
|
|
320
320
|
grammar: "boolean",
|
|
321
|
-
haystack:
|
|
321
|
+
haystack: ne
|
|
322
322
|
}), r = R(!1);
|
|
323
|
-
|
|
323
|
+
ye().then(() => {
|
|
324
324
|
r.value = !0;
|
|
325
325
|
});
|
|
326
326
|
function i(e) {
|
|
@@ -331,11 +331,11 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
331
331
|
keys: ["q"],
|
|
332
332
|
sort: !1,
|
|
333
333
|
narrow: (e, t) => r.value ? i(t.q) ? e : n.search(t.q) : [],
|
|
334
|
-
pageSize:
|
|
334
|
+
pageSize: ge.pageSize,
|
|
335
335
|
variant: "grid",
|
|
336
336
|
recordRoute: "item",
|
|
337
337
|
actionLabel: "catalogue.results.seeDatabaseEntry",
|
|
338
|
-
record: (e, { t }) =>
|
|
338
|
+
record: (e, { t }) => oe(e, t),
|
|
339
339
|
pagination: { jump: !0 },
|
|
340
340
|
summary: ({ filters: e, pageInfo: t, t: n, total: r }) => [{
|
|
341
341
|
label: n("core.section.database"),
|
|
@@ -352,20 +352,20 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
352
352
|
before: H(() => [F(e)]),
|
|
353
353
|
filters: H(({ apply: e }) => [N("form", {
|
|
354
354
|
class: "mwnf-dxa-refine-search",
|
|
355
|
-
onSubmit:
|
|
355
|
+
onSubmit: St((t) => e({ q: a.value || "all-objects" }), ["prevent"])
|
|
356
356
|
}, [U(N("input", {
|
|
357
357
|
"onUpdate:modelValue": n[0] ||= (e) => a.value = e,
|
|
358
358
|
type: "text",
|
|
359
359
|
class: "mwnf-dxa-refine-search-input",
|
|
360
360
|
placeholder: t.$t("catalogue.search.keywordPlaceholder")
|
|
361
|
-
}, null, 8,
|
|
361
|
+
}, null, 8, Cn), [[vt, a.value]]), N("button", wn, B(t.$t("catalogue.search.submit")), 1)], 40, Sn), N("p", Tn, [F(V(Y), { to: { name: "search-how-to" } }, {
|
|
362
362
|
default: H(() => [P(B(t.$t("catalogue.search.howTo")) + " ›", 1)]),
|
|
363
363
|
_: 1
|
|
364
364
|
})])]),
|
|
365
365
|
records: H(({ rows: e }) => [e.length ? (L(), A(Q, {
|
|
366
366
|
key: 0,
|
|
367
367
|
rows: e
|
|
368
|
-
}, null, 8, ["rows"])) : (L(), M("p",
|
|
368
|
+
}, null, 8, ["rows"])) : (L(), M("p", En, [
|
|
369
369
|
P(B(t.$t("catalogue.results.noResultsSearch")) + " ", 1),
|
|
370
370
|
F(V(Y), { to: { name: "search-how-to" } }, {
|
|
371
371
|
default: H(() => [P(B(t.$t("catalogue.search.howTo")), 1)]),
|
|
@@ -380,32 +380,32 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
380
380
|
_: 1
|
|
381
381
|
}, 8, ["spec"]));
|
|
382
382
|
}
|
|
383
|
-
},
|
|
383
|
+
}, On = {
|
|
384
384
|
__name: "TimelineResults",
|
|
385
385
|
setup(t) {
|
|
386
|
-
return (t, n) => (L(), A(
|
|
387
|
-
spec: V(
|
|
386
|
+
return (t, n) => (L(), A(Xe, {
|
|
387
|
+
spec: V(ae),
|
|
388
388
|
class: "mwnf-dxa-timeline-results"
|
|
389
389
|
}, {
|
|
390
390
|
before: H(() => [F(e)]),
|
|
391
391
|
_: 1
|
|
392
392
|
}, 8, ["spec"]));
|
|
393
393
|
}
|
|
394
|
-
},
|
|
394
|
+
}, kn = { class: "mwnf-dxa-back-to-events" }, An = {
|
|
395
395
|
key: 1,
|
|
396
396
|
class: "mwnf-record-grid__empty"
|
|
397
|
-
},
|
|
397
|
+
}, jn = {
|
|
398
398
|
__name: "TimelineGallery",
|
|
399
399
|
setup(t) {
|
|
400
400
|
return (t, n) => (L(), A(E, {
|
|
401
401
|
spec: {
|
|
402
|
-
...V(
|
|
403
|
-
...V(
|
|
402
|
+
...V(l),
|
|
403
|
+
...V(ge)
|
|
404
404
|
},
|
|
405
405
|
class: "mwnf-dxa-timeline-gallery"
|
|
406
406
|
}, {
|
|
407
407
|
before: H(() => [F(e)]),
|
|
408
|
-
actions: H(({ filters: e, pageInfo: n, goToPage: r }) => [N("p",
|
|
408
|
+
actions: H(({ filters: e, pageInfo: n, goToPage: r }) => [N("p", kn, [F(V(Y), { to: {
|
|
409
409
|
name: "timeline-results",
|
|
410
410
|
query: {
|
|
411
411
|
country: e.country,
|
|
@@ -424,17 +424,17 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
424
424
|
records: H(({ rows: e, empty: t }) => [e.length ? (L(), A(Q, {
|
|
425
425
|
key: 0,
|
|
426
426
|
rows: e
|
|
427
|
-
}, null, 8, ["rows"])) : (L(), M("p",
|
|
427
|
+
}, null, 8, ["rows"])) : (L(), M("p", An, B(t), 1))]),
|
|
428
428
|
_: 1
|
|
429
429
|
}, 8, ["spec"]));
|
|
430
430
|
}
|
|
431
|
-
},
|
|
431
|
+
}, Mn = { class: "mwnf-dxa-gallery-results" }, Nn = { class: "mwnf-dxa-gallery-results__info" }, Pn = { class: "mwnf-dxa-gallery-results__choices" }, Fn = {
|
|
432
432
|
key: 1,
|
|
433
433
|
class: "mwnf-dxa-gallery-results__end"
|
|
434
|
-
},
|
|
434
|
+
}, In = { class: "mwnf-dxa-date-wrapper" }, Ln = {
|
|
435
435
|
key: 0,
|
|
436
436
|
class: "mwnf-dxa-timeline-link-box"
|
|
437
|
-
},
|
|
437
|
+
}, Rn = { class: "mwnf-dxa-options-label" }, zn = { class: "mwnf-dxa-gallery-results__timeline" }, Bn = {
|
|
438
438
|
__name: "CollectionResults",
|
|
439
439
|
setup(t) {
|
|
440
440
|
let { t: n } = q(), r = {
|
|
@@ -442,27 +442,27 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
442
442
|
dynasty: "gallery.collection.periodDynasty",
|
|
443
443
|
subject: "gallery.collection.subject",
|
|
444
444
|
material: "gallery.collection.material"
|
|
445
|
-
}, o = (e) => n(
|
|
445
|
+
}, o = (e) => n(le[e] ?? e), c = k(() => J(x.value ?? [], o)), l = k(() => (x.value ?? []).length), u = y.keys, d = (e) => u.every((t) => !e[t]);
|
|
446
446
|
function f(e, t, r) {
|
|
447
447
|
let i = (n) => (t[n] ?? []).find((t) => String(t.value) === String(e[n]))?.label ?? e[n], a = (e) => c.value.find((t) => String(t.value) === String(e))?.label ?? e, o = [];
|
|
448
448
|
e.country && o.push(i("country"));
|
|
449
|
-
for (let t of
|
|
449
|
+
for (let t of fe) e[t] && o.push(i(t));
|
|
450
450
|
return e.from && o.push(`${n("gallery.collection.start")} ${a(e.from)}`), e.to && o.push(`${n("gallery.collection.end")} ${a(e.to)}`), o.length ? o.join(" & ") : r.length ? n("gallery.collection.allObjects") : n("gallery.collection.none");
|
|
451
451
|
}
|
|
452
|
-
let
|
|
453
|
-
function
|
|
454
|
-
let t =
|
|
455
|
-
return !!(t &&
|
|
452
|
+
let m = k(() => new Set((p.value ?? []).map((e) => e.country_id)));
|
|
453
|
+
function h(e) {
|
|
454
|
+
let t = ue(e.country);
|
|
455
|
+
return !!(t && m.value.has(t));
|
|
456
456
|
}
|
|
457
|
-
return (t, c) => (L(), M("div",
|
|
457
|
+
return (t, c) => (L(), M("div", Mn, [F(E, {
|
|
458
458
|
spec: {
|
|
459
|
-
...V(
|
|
460
|
-
...V(
|
|
459
|
+
...V(y),
|
|
460
|
+
...V(ge),
|
|
461
461
|
summary: () => []
|
|
462
462
|
},
|
|
463
463
|
class: "mwnf-dxa-collection-results"
|
|
464
464
|
}, {
|
|
465
|
-
before: H(({ filters: t, options: r, matching: i, pageInfo: a }) => [F(e), N("div",
|
|
465
|
+
before: H(({ filters: t, options: r, matching: i, pageInfo: a }) => [F(e), N("div", Nn, [N("p", null, [P(B(V(n)("gallery.collection.heading")) + " | ", 1), N("span", Pn, B(f(t, r, i)), 1)]), N("p", null, B(a.total) + " " + B(V(n)("gallery.collection.resultsOutOf")) + " " + B(l.value) + " " + B(V(n)("gallery.collection.objects")), 1)])]),
|
|
466
466
|
actions: H(({ pageInfo: e, goToPage: t }) => [e.lastPage > 1 ? (L(), A(s, {
|
|
467
467
|
key: 0,
|
|
468
468
|
class: "mwnf-dxa-pages",
|
|
@@ -484,7 +484,7 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
484
484
|
"page-info": e,
|
|
485
485
|
jump: "",
|
|
486
486
|
onNavigate: t
|
|
487
|
-
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div",
|
|
487
|
+
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div", Fn))]),
|
|
488
488
|
aside: H(({ filters: e, apply: t, reset: s, matching: l, options: u }) => [F(a, {
|
|
489
489
|
mode: "immediate",
|
|
490
490
|
title: d(e) ? V(n)("gallery.collection.filterBy") : V(n)("gallery.collection.filterFurtherBy"),
|
|
@@ -504,7 +504,7 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
504
504
|
"placeholder",
|
|
505
505
|
"onUpdate:modelValue"
|
|
506
506
|
]),
|
|
507
|
-
(L(!0), M(O, null, z(V(
|
|
507
|
+
(L(!0), M(O, null, z(V(fe), (a) => (L(), A(i, {
|
|
508
508
|
key: a,
|
|
509
509
|
"model-value": e[a],
|
|
510
510
|
options: u[a],
|
|
@@ -517,7 +517,7 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
517
517
|
"placeholder",
|
|
518
518
|
"onUpdate:modelValue"
|
|
519
519
|
]))), 128)),
|
|
520
|
-
N("div",
|
|
520
|
+
N("div", In, [F(i, {
|
|
521
521
|
"model-value": e.from,
|
|
522
522
|
options: V(J)(l, o),
|
|
523
523
|
placeholder: V(n)("gallery.collection.startDate"),
|
|
@@ -545,7 +545,7 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
545
545
|
"reset-label",
|
|
546
546
|
"disabled",
|
|
547
547
|
"onReset"
|
|
548
|
-
]),
|
|
548
|
+
]), h(e) ? (L(), M("div", Ln, [N("div", Rn, B(V(n)("gallery.collection.timelineForSearch")), 1), N("p", zn, [c[0] ||= N("span", {
|
|
549
549
|
class: "mwnf-dxa-gallery-results__share",
|
|
550
550
|
"aria-hidden": "true"
|
|
551
551
|
}, "➦", -1), F(V(Y), { to: {
|
|
@@ -556,94 +556,94 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
556
556
|
end: e.to
|
|
557
557
|
}
|
|
558
558
|
} }, {
|
|
559
|
-
default: H(() => [P(B(V(n)("gallery.collection.timeline")) + " | " + B(V(
|
|
559
|
+
default: H(() => [P(B(V(n)("gallery.collection.timeline")) + " | " + B(V(v)("countries", V(ue)(e.country))), 1)]),
|
|
560
560
|
_: 2
|
|
561
561
|
}, 1032, ["to"])])])) : j("", !0)]),
|
|
562
562
|
_: 1
|
|
563
563
|
}, 8, ["spec"])]));
|
|
564
564
|
}
|
|
565
|
-
},
|
|
565
|
+
}, Vn = { class: "mwnf-dxa-gallery-collection" }, Hn = { class: "mwnf-dxa-gallery-collection__dropdowns" }, Un = { class: "mwnf-dxa-gallery-collection__label" }, Wn = { class: "mwnf-dxa-gallery-collection__selects" }, Gn = ["aria-label", "onChange"], Kn = {
|
|
566
566
|
selected: "",
|
|
567
567
|
disabled: "",
|
|
568
568
|
value: ""
|
|
569
|
-
},
|
|
569
|
+
}, qn = ["value"], Jn = { class: "mwnf-dxa-gallery-collection__dates" }, Yn = ["aria-label"], Xn = {
|
|
570
570
|
selected: "",
|
|
571
571
|
disabled: "",
|
|
572
572
|
value: ""
|
|
573
|
-
},
|
|
573
|
+
}, Zn = ["value"], Qn = ["aria-label"], $n = {
|
|
574
574
|
selected: "",
|
|
575
575
|
disabled: "",
|
|
576
576
|
value: ""
|
|
577
|
-
},
|
|
577
|
+
}, er = ["value"], tr = ["innerHTML"], nr = {
|
|
578
578
|
__name: "CollectionSearch",
|
|
579
579
|
setup(e) {
|
|
580
|
-
let t =
|
|
580
|
+
let t = Lt(), { t: n } = q(), r = k(() => Dt(`${n("gallery.collection.introBeforeName")} *${b(te)}* ${n("gallery.collection.introAfterName")}`)), i = jt(x, me), a = {
|
|
581
581
|
country: "gallery.collection.selectCountry",
|
|
582
582
|
type: "gallery.collection.type",
|
|
583
583
|
dynasty: "gallery.collection.periodDynasty",
|
|
584
584
|
subject: "gallery.collection.subject",
|
|
585
585
|
material: "gallery.collection.material"
|
|
586
|
-
},
|
|
586
|
+
}, o = k(() => ["country", ...fe].filter((e) => e === "country" || (i.value[e] ?? []).length > 0).map((e) => ({
|
|
587
587
|
key: e,
|
|
588
|
-
name:
|
|
589
|
-
options:
|
|
590
|
-
}))),
|
|
591
|
-
function
|
|
588
|
+
name: a[e],
|
|
589
|
+
options: i.value[e] ?? []
|
|
590
|
+
}))), s = (e) => n(le[e] ?? e), c = k(() => J(x.value ?? [], s));
|
|
591
|
+
function l(e, n) {
|
|
592
592
|
n !== "" && n != null && t.push({
|
|
593
593
|
name: "collection-results",
|
|
594
594
|
query: { [e]: String(n) }
|
|
595
595
|
});
|
|
596
596
|
}
|
|
597
|
-
return (e, t) => (L(), M("div",
|
|
597
|
+
return (e, t) => (L(), M("div", Vn, [N("div", Hn, [N("div", Un, B(V(n)("gallery.collection.filterBy")), 1), N("div", Wn, [(L(!0), M(O, null, z(o.value, (e) => (L(), M("select", {
|
|
598
598
|
key: e.key,
|
|
599
599
|
class: "mwnf-dxa-gallery-collection__select",
|
|
600
600
|
"aria-label": V(n)(e.name),
|
|
601
|
-
onChange: (t) =>
|
|
602
|
-
}, [N("option",
|
|
601
|
+
onChange: (t) => l(e.key, t.target.value)
|
|
602
|
+
}, [N("option", Kn, B(V(n)(e.name)), 1), (L(!0), M(O, null, z(e.options, (e) => (L(), M("option", {
|
|
603
603
|
key: e.value,
|
|
604
604
|
value: String(e.value)
|
|
605
|
-
}, B(e.label), 9,
|
|
605
|
+
}, B(e.label), 9, qn))), 128))], 40, Gn))), 128)), N("div", Jn, [N("select", {
|
|
606
606
|
class: "mwnf-dxa-gallery-collection__select",
|
|
607
607
|
"aria-label": V(n)("gallery.collection.startDate"),
|
|
608
|
-
onChange: t[0] ||= (e) =>
|
|
609
|
-
}, [N("option",
|
|
608
|
+
onChange: t[0] ||= (e) => l("from", e.target.value)
|
|
609
|
+
}, [N("option", Xn, B(V(n)("gallery.collection.startDate")), 1), (L(!0), M(O, null, z(c.value, (e) => (L(), M("option", {
|
|
610
610
|
key: e.value,
|
|
611
611
|
value: String(e.value)
|
|
612
|
-
}, B(e.label), 9,
|
|
612
|
+
}, B(e.label), 9, Zn))), 128))], 40, Yn), N("select", {
|
|
613
613
|
class: "mwnf-dxa-gallery-collection__select",
|
|
614
614
|
"aria-label": V(n)("gallery.collection.endDate"),
|
|
615
|
-
onChange: t[1] ||= (e) =>
|
|
616
|
-
}, [N("option",
|
|
615
|
+
onChange: t[1] ||= (e) => l("to", e.target.value)
|
|
616
|
+
}, [N("option", $n, B(V(n)("gallery.collection.endDate")), 1), (L(!0), M(O, null, z(c.value, (e) => (L(), M("option", {
|
|
617
617
|
key: e.value,
|
|
618
618
|
value: String(e.value)
|
|
619
|
-
}, B(e.label), 9,
|
|
620
|
-
class: "mwnf-dxa-gallery-collection__description mwnf-prose",
|
|
619
|
+
}, B(e.label), 9, er))), 128))], 40, Qn)])])]), N("div", {
|
|
620
|
+
class: "mwnf-dxa-gallery-collection__description mwnf-prose vc-text",
|
|
621
621
|
dir: "auto",
|
|
622
|
-
|
|
623
|
-
})]));
|
|
622
|
+
innerHTML: r.value
|
|
623
|
+
}, null, 8, tr)]));
|
|
624
624
|
}
|
|
625
|
-
},
|
|
625
|
+
}, rr = {
|
|
626
626
|
key: 0,
|
|
627
627
|
class: "mwnf-dxa-partner-objects mwnf-dxa-gallery-objects"
|
|
628
|
-
},
|
|
628
|
+
}, ir = { class: "mwnf-dxa-gallery-objects__header" }, ar = ["innerHTML"], or = {
|
|
629
629
|
key: 0,
|
|
630
630
|
class: "mwnf-dxa-gallery-objects__place"
|
|
631
|
-
},
|
|
631
|
+
}, sr = {
|
|
632
632
|
key: 1,
|
|
633
633
|
class: "mwnf-dxa-gallery-objects__end"
|
|
634
|
-
},
|
|
634
|
+
}, cr = {
|
|
635
635
|
__name: "PartnerObjects",
|
|
636
636
|
setup(t) {
|
|
637
|
-
let n = X(), r = k(() =>
|
|
638
|
-
...
|
|
639
|
-
...
|
|
637
|
+
let n = X(), r = k(() => ee.value.get(n.params.id) ?? null), i = k(() => ({
|
|
638
|
+
..._e,
|
|
639
|
+
...ge,
|
|
640
640
|
scope: (e) => e.partner_id === n.params.id
|
|
641
|
-
})), a = k(() => r.value ?
|
|
642
|
-
return (t, n) => r.value ? (L(), M("div",
|
|
643
|
-
before: H(() => [F(e), N("div",
|
|
641
|
+
})), a = k(() => r.value ? ve.view(r.value, m("partners", r.value.id, pe)) : null), o = k(() => [a.value?.city, a.value?.country].filter(Boolean).join(", "));
|
|
642
|
+
return (t, n) => r.value ? (L(), M("div", rr, [F(E, { spec: i.value }, {
|
|
643
|
+
before: H(() => [F(e), N("div", ir, [N("p", {
|
|
644
644
|
class: "mwnf-dxa-gallery-objects__name",
|
|
645
645
|
innerHTML: a.value.name
|
|
646
|
-
}, null, 8,
|
|
646
|
+
}, null, 8, ar), o.value ? (L(), M("p", or, B(o.value), 1)) : j("", !0)])]),
|
|
647
647
|
actions: H(({ pageInfo: e, goToPage: t }) => [e.lastPage > 1 ? (L(), A(s, {
|
|
648
648
|
key: 0,
|
|
649
649
|
class: "mwnf-dxa-pages",
|
|
@@ -658,10 +658,10 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
658
658
|
"page-info": e,
|
|
659
659
|
jump: "",
|
|
660
660
|
onNavigate: t
|
|
661
|
-
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div",
|
|
661
|
+
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div", sr))]),
|
|
662
662
|
aside: H(() => [F(V(Y), {
|
|
663
663
|
class: "mwnf-dxa-gallery-objects__profile",
|
|
664
|
-
to: V(
|
|
664
|
+
to: V(f)(r.value)
|
|
665
665
|
}, {
|
|
666
666
|
default: H(() => [n[0] ||= N("span", {
|
|
667
667
|
class: "mwnf-dxa-gallery-objects__profile-arrow",
|
|
@@ -672,24 +672,24 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
672
672
|
_: 1
|
|
673
673
|
}, 8, ["spec"])])) : j("", !0);
|
|
674
674
|
}
|
|
675
|
-
},
|
|
675
|
+
}, lr = { class: "mwnf-dxa-exhibition-how-to" }, ur = {
|
|
676
676
|
__name: "SearchHowTo",
|
|
677
677
|
setup(t) {
|
|
678
|
-
return (t, n) => (L(), M("div",
|
|
678
|
+
return (t, n) => (L(), M("div", lr, [F(e), F(V(W), {
|
|
679
679
|
class: "mwnf-dxa-exhibition-how-to__text",
|
|
680
680
|
dir: "auto",
|
|
681
681
|
keypath: "catalogue.search.howToEssay"
|
|
682
682
|
})]));
|
|
683
683
|
}
|
|
684
|
-
},
|
|
684
|
+
}, dr = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners mwnf-dxa-exhibition-partners" }, fr = { class: "mwnf-dxa-gallery-partners__options" }, pr = { class: "mwnf-dxa-gallery-partners__order" }, mr = ["onClick"], hr = { class: "mwnf-dxa-gallery-partners__country" }, gr = { class: "mwnf-dxa-gallery-partners__partner" }, _r = { class: "mwnf-dxa-gallery-partners__text" }, vr = ["innerHTML"], yr = {
|
|
685
685
|
key: 0,
|
|
686
686
|
class: "mwnf-dxa-gallery-partners__city"
|
|
687
|
-
},
|
|
687
|
+
}, br = { class: "mwnf-dxa-partner-badge__status" }, xr = { class: "mwnf-dxa-gallery-partners__links" }, Sr = { class: "mwnf-dxa-gallery-partners__logo" }, Cr = ["src", "alt"], wr = {
|
|
688
688
|
__name: "Partners",
|
|
689
689
|
setup(t) {
|
|
690
690
|
let r = {
|
|
691
|
-
...
|
|
692
|
-
objectsRoute:
|
|
691
|
+
...Ke,
|
|
692
|
+
objectsRoute: De,
|
|
693
693
|
orderToggle: !1,
|
|
694
694
|
tiebreak: (e) => e.own_project?.name ?? ""
|
|
695
695
|
}, i = {
|
|
@@ -703,30 +703,30 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
703
703
|
tone: "institution"
|
|
704
704
|
} : Z(e, i);
|
|
705
705
|
}
|
|
706
|
-
return (t, i) => (L(), M("div",
|
|
707
|
-
before: H(({ t, orderDir: n, toggleOrder: r }) => [N("div",
|
|
706
|
+
return (t, i) => (L(), M("div", dr, [F(Ye, { spec: r }, {
|
|
707
|
+
before: H(({ t, orderDir: n, toggleOrder: r }) => [N("div", fr, [F(e), N("div", pr, [N("button", {
|
|
708
708
|
type: "button",
|
|
709
709
|
onClick: r
|
|
710
|
-
}, B(t(n === "asc" ? "partner.list.sortDescending" : "partner.list.sortAscending")), 9,
|
|
710
|
+
}, B(t(n === "asc" ? "partner.list.sortDescending" : "partner.list.sortAscending")), 9, mr)])]), F(V(W), {
|
|
711
711
|
id: "mwnf-dxa-partners-intro",
|
|
712
712
|
class: "mwnf-dxa-gallery-partners__intro",
|
|
713
713
|
dir: "auto",
|
|
714
714
|
keypath: "exhibition.partners.intro"
|
|
715
715
|
})]),
|
|
716
|
-
"group-heading": H(({ group: e }) => [N("div",
|
|
717
|
-
row: H(({ partner: e, view: t, t: r }) => [N("div",
|
|
716
|
+
"group-heading": H(({ group: e }) => [N("div", hr, B(e.label), 1)]),
|
|
717
|
+
row: H(({ partner: e, view: t, t: r }) => [N("div", gr, [N("div", _r, [
|
|
718
718
|
F(n, {
|
|
719
719
|
class: "mwnf-dxa-gallery-partners__name",
|
|
720
720
|
to: t.route
|
|
721
721
|
}, {
|
|
722
|
-
default: H(() => [N("span", { innerHTML: t.name }, null, 8,
|
|
722
|
+
default: H(() => [N("span", { innerHTML: t.name }, null, 8, vr), t.city ? (L(), M("span", yr, ", " + B(t.city), 1)) : j("", !0)]),
|
|
723
723
|
_: 2
|
|
724
724
|
}, 1032, ["to"]),
|
|
725
725
|
a(e) ? (L(), M("div", {
|
|
726
726
|
key: 0,
|
|
727
727
|
class: I(["mwnf-dxa-partner-badge", a(e).tone && `mwnf-dxa-partner-badge--${a(e).tone}`])
|
|
728
|
-
}, [a(e).name ? (L(), M(O, { key: 0 }, [P(B(a(e).name + " "), 1)], 64)) : j("", !0), N("span",
|
|
729
|
-
N("div",
|
|
728
|
+
}, [a(e).name ? (L(), M(O, { key: 0 }, [P(B(a(e).name + " "), 1)], 64)) : j("", !0), N("span", br, B(r(a(e).status)), 1)], 2)) : j("", !0),
|
|
729
|
+
N("div", xr, [F(n, { to: t.route }, {
|
|
730
730
|
default: H(() => [P(B(r("partner.action.readMore")), 1)]),
|
|
731
731
|
_: 2
|
|
732
732
|
}, 1032, ["to"]), e.item_count > 0 && t.objectsRoute ? (L(), M(O, { key: 0 }, [i[0] ||= N("span", {
|
|
@@ -736,23 +736,23 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
736
736
|
default: H(() => [P(B(r("exhibition.partners.viewItems")), 1)]),
|
|
737
737
|
_: 2
|
|
738
738
|
}, 1032, ["to"])], 64)) : j("", !0)])
|
|
739
|
-
]), N("div",
|
|
739
|
+
]), N("div", Sr, [t.logos?.[0] ? (L(), M("img", {
|
|
740
740
|
key: 0,
|
|
741
741
|
src: t.logos[0].url,
|
|
742
742
|
alt: t.plainName,
|
|
743
743
|
loading: "lazy"
|
|
744
|
-
}, null, 8,
|
|
744
|
+
}, null, 8, Cr)) : j("", !0)])])]),
|
|
745
745
|
_: 1
|
|
746
746
|
})]));
|
|
747
747
|
}
|
|
748
|
-
},
|
|
748
|
+
}, Tr = {
|
|
749
749
|
key: 0,
|
|
750
750
|
class: "mwnf-dxa-exhibition-pages"
|
|
751
|
-
},
|
|
751
|
+
}, Er = ["disabled"], Dr = { key: 0 }, Or = ["disabled"], kr = { key: 0 }, Ar = { class: "mwnf-dxa-exhibition-pages__numbers" }, jr = [
|
|
752
752
|
"disabled",
|
|
753
753
|
"aria-current",
|
|
754
754
|
"onClick"
|
|
755
|
-
],
|
|
755
|
+
], Mr = ["disabled"], Nr = { key: 0 }, Pr = ["disabled"], Fr = { key: 0 }, $ = {
|
|
756
756
|
__name: "Pages",
|
|
757
757
|
props: { pageInfo: {
|
|
758
758
|
type: Object,
|
|
@@ -789,82 +789,82 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
789
789
|
function m(e) {
|
|
790
790
|
p(e) || r("navigate", e);
|
|
791
791
|
}
|
|
792
|
-
return (e, t) => d.value > 1 ? (L(), M("div",
|
|
792
|
+
return (e, t) => d.value > 1 ? (L(), M("div", Tr, [
|
|
793
793
|
N("button", {
|
|
794
794
|
type: "button",
|
|
795
795
|
class: I(["mwnf-dxa-exhibition-pages__button", { "is-disabled": p(1) }]),
|
|
796
796
|
disabled: p(1),
|
|
797
797
|
onClick: t[0] ||= (e) => m(1)
|
|
798
|
-
}, [t[4] ||= P(" <<", -1), V(o) ? j("", !0) : (L(), M("span",
|
|
798
|
+
}, [t[4] ||= P(" <<", -1), V(o) ? j("", !0) : (L(), M("span", Dr, B(" " + V(i)("exhibition.pages.first")), 1))], 10, Er),
|
|
799
799
|
N("button", {
|
|
800
800
|
type: "button",
|
|
801
801
|
class: I(["mwnf-dxa-exhibition-pages__button", { "is-disabled": p(u.value - 1) }]),
|
|
802
802
|
disabled: p(u.value - 1),
|
|
803
803
|
onClick: t[1] ||= (e) => m(u.value - 1)
|
|
804
|
-
}, [t[5] ||= P(" <", -1), V(o) ? j("", !0) : (L(), M("span",
|
|
805
|
-
N("div",
|
|
804
|
+
}, [t[5] ||= P(" <", -1), V(o) ? j("", !0) : (L(), M("span", kr, B(" " + V(i)("exhibition.pages.previous")), 1))], 10, Or),
|
|
805
|
+
N("div", Ar, [(L(!0), M(O, null, z(f.value, (e) => (L(), M("button", {
|
|
806
806
|
key: e,
|
|
807
807
|
type: "button",
|
|
808
808
|
class: I(["mwnf-dxa-exhibition-pages__button", { "is-disabled": p(e) }]),
|
|
809
809
|
disabled: p(e),
|
|
810
810
|
"aria-current": e === u.value ? "page" : void 0,
|
|
811
811
|
onClick: (t) => m(e)
|
|
812
|
-
}, B(e), 11,
|
|
812
|
+
}, B(e), 11, jr))), 128))]),
|
|
813
813
|
N("button", {
|
|
814
814
|
type: "button",
|
|
815
815
|
class: I(["mwnf-dxa-exhibition-pages__button", { "is-disabled": p(u.value + 1) }]),
|
|
816
816
|
disabled: p(u.value + 1),
|
|
817
817
|
onClick: t[2] ||= (e) => m(u.value + 1)
|
|
818
|
-
}, [V(o) ? j("", !0) : (L(), M("span",
|
|
818
|
+
}, [V(o) ? j("", !0) : (L(), M("span", Nr, B(V(i)("exhibition.pages.next") + " "), 1)), t[6] ||= P("> ", -1)], 10, Mr),
|
|
819
819
|
N("button", {
|
|
820
820
|
type: "button",
|
|
821
821
|
class: I(["mwnf-dxa-exhibition-pages__button", { "is-disabled": p(d.value) }]),
|
|
822
822
|
disabled: p(d.value),
|
|
823
823
|
onClick: t[3] ||= (e) => m(d.value)
|
|
824
|
-
}, [V(o) ? j("", !0) : (L(), M("span",
|
|
824
|
+
}, [V(o) ? j("", !0) : (L(), M("span", Fr, B(V(i)("exhibition.pages.last") + " "), 1)), t[7] ||= P(">> ", -1)], 10, Pr)
|
|
825
825
|
])) : j("", !0);
|
|
826
826
|
}
|
|
827
|
-
},
|
|
827
|
+
}, Ir = { class: "mwnf-dxa-exhibition-search" }, Lr = { class: "mwnf-dxa-exhibition-search__header" }, Rr = { class: "mwnf-dxa-exhibition-search__info" }, zr = { key: 0 }, Br = { key: 1 }, Vr = { class: "mwnf-dxa-exhibition-search__box" }, Hr = ["placeholder", "aria-label"], Ur = { class: "mwnf-dxa-exhibition-search__buttons" }, Wr = {
|
|
828
828
|
type: "submit",
|
|
829
829
|
class: "mwnf-dxa-exhibition-search__button"
|
|
830
|
-
},
|
|
830
|
+
}, Gr = { class: "mwnf-dxa-exhibition-search__tips" }, Kr = {
|
|
831
831
|
key: 0,
|
|
832
832
|
class: "mwnf-dxa-exhibition-search__results"
|
|
833
|
-
},
|
|
833
|
+
}, qr = {
|
|
834
834
|
key: 0,
|
|
835
835
|
class: "mwnf-dxa-exhibition-search__main"
|
|
836
|
-
},
|
|
836
|
+
}, Jr = { class: "mwnf-dxa-exhibition-search__main-photo" }, Yr = ["src", "alt"], Xr = { class: "mwnf-dxa-exhibition-search__main-text" }, Zr = ["innerHTML"], Qr = { class: "mwnf-dxa-exhibition-search__main-holder" }, $r = { class: "mwnf-dxa-exhibition-search__list" }, ei = [
|
|
837
837
|
"src",
|
|
838
838
|
"alt",
|
|
839
839
|
"onMouseover"
|
|
840
|
-
],
|
|
840
|
+
], ti = { class: "mwnf-dxa-exhibition-search__result-text" }, ni = ["innerHTML", "onMouseover"], ri = {
|
|
841
841
|
key: 1,
|
|
842
842
|
class: "mwnf-dxa-exhibition-search__end"
|
|
843
|
-
},
|
|
843
|
+
}, ii = {
|
|
844
844
|
__name: "SearchResults",
|
|
845
845
|
setup(t) {
|
|
846
|
-
let { t: n } = q(), r = X(), i =
|
|
846
|
+
let { t: n } = q(), r = X(), i = Lt(), a = Mt("items", {
|
|
847
847
|
grammar: "boolean",
|
|
848
|
-
haystack:
|
|
848
|
+
haystack: Ve
|
|
849
849
|
}), o = R(!1);
|
|
850
|
-
|
|
850
|
+
qe().then(() => {
|
|
851
851
|
o.value = !0;
|
|
852
852
|
});
|
|
853
853
|
let s = (e) => !e || e === "all-items" || e === "all-objects", c = (e) => e && e.length > 80 ? `${e.slice(0, 80)}...` : e ?? "", l = k(() => ({
|
|
854
854
|
entity: "items",
|
|
855
855
|
keys: ["q"],
|
|
856
|
-
scope: (e) =>
|
|
856
|
+
scope: (e) => Re.value.has(e.id),
|
|
857
857
|
narrow: (e, t) => {
|
|
858
858
|
if (!o.value) return [];
|
|
859
859
|
if (s(t.q)) return e;
|
|
860
860
|
let n = new Set(e.map((e) => e.id));
|
|
861
861
|
return a.search(t.q).filter((e) => n.has(e.id));
|
|
862
862
|
},
|
|
863
|
-
...
|
|
864
|
-
sort: s(r.query.q) ?
|
|
863
|
+
...Je,
|
|
864
|
+
sort: s(r.query.q) ? Je.sort : !1,
|
|
865
865
|
summary: () => [],
|
|
866
866
|
record: (e) => {
|
|
867
|
-
let t = w("items", e.id,
|
|
867
|
+
let t = w("items", e.id, Ue);
|
|
868
868
|
return {
|
|
869
869
|
id: e.id,
|
|
870
870
|
image: e.images?.[0]?.url ?? "",
|
|
@@ -874,11 +874,11 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
874
874
|
partner: T("partners", e.partner_id),
|
|
875
875
|
place: [t.location, T("countries", e.country_id)].filter(Boolean).join(", "),
|
|
876
876
|
start: e.start_date ?? 0,
|
|
877
|
-
to:
|
|
877
|
+
to: Ne(e)
|
|
878
878
|
};
|
|
879
879
|
}
|
|
880
880
|
})), u = (e) => [...e].sort((e, t) => e.start - t.start), d = R("");
|
|
881
|
-
|
|
881
|
+
bt(() => r.query.q, (e) => {
|
|
882
882
|
d.value = s(e) ? "" : String(e ?? "");
|
|
883
883
|
}, { immediate: !0 });
|
|
884
884
|
function f() {
|
|
@@ -900,25 +900,25 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
900
900
|
function _(e) {
|
|
901
901
|
return e.find((e) => e.id === m.value) ?? e[0];
|
|
902
902
|
}
|
|
903
|
-
return
|
|
903
|
+
return bt(() => r.fullPath, () => {
|
|
904
904
|
m.value = null;
|
|
905
|
-
}), (t, r) => (L(), M("div",
|
|
905
|
+
}), (t, r) => (L(), M("div", Ir, [F(E, {
|
|
906
906
|
spec: l.value,
|
|
907
907
|
class: "mwnf-dxa-exhibition-search__view"
|
|
908
908
|
}, {
|
|
909
909
|
before: H(({ pageInfo: t, goToPage: i }) => [
|
|
910
910
|
F(e),
|
|
911
|
-
N("div",
|
|
911
|
+
N("div", Lr, [N("div", Rr, [t.total ? (L(), M("p", zr, B(V(n)("exhibition.search.heading")) + " | " + B(t.total) + " " + B(V(n)("exhibition.search.recordsOutOf")) + " " + B(V(Re).size) + " " + B(V(n)("exhibition.collection.items")), 1)) : (L(), M("p", Br, [P(B(V(n)("exhibition.search.heading")) + " | ", 1), N("span", null, B(V(n)("exhibition.search.none")), 1)]))]), N("div", Vr, [N("form", { onSubmit: r[2] ||= St((e) => f(), ["prevent"]) }, [U(N("input", {
|
|
912
912
|
"onUpdate:modelValue": r[0] ||= (e) => d.value = e,
|
|
913
913
|
class: "mwnf-dxa-exhibition-search__input",
|
|
914
914
|
type: "search",
|
|
915
915
|
placeholder: V(n)("exhibition.search.placeholder"),
|
|
916
916
|
"aria-label": V(n)("exhibition.search.placeholder")
|
|
917
|
-
}, null, 8,
|
|
917
|
+
}, null, 8, Hr), [[vt, d.value]]), N("div", Ur, [N("button", Wr, B(V(n)("exhibition.search.submit")), 1), N("button", {
|
|
918
918
|
type: "button",
|
|
919
919
|
class: "mwnf-dxa-exhibition-search__button",
|
|
920
920
|
onClick: r[1] ||= (e) => p()
|
|
921
|
-
}, B(V(n)("exhibition.search.reset")), 1)])], 32), N("div",
|
|
921
|
+
}, B(V(n)("exhibition.search.reset")), 1)])], 32), N("div", Gr, [F(V(Y), { to: { name: "search-how-to" } }, {
|
|
922
922
|
default: H(() => [P(B(V(n)("exhibition.search.tips")), 1)]),
|
|
923
923
|
_: 1
|
|
924
924
|
})])])]),
|
|
@@ -928,15 +928,15 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
928
928
|
onNavigate: i
|
|
929
929
|
}, null, 8, ["page-info", "onNavigate"])
|
|
930
930
|
]),
|
|
931
|
-
records: H(({ rows: e }) => [e.length ? (L(), M("div",
|
|
931
|
+
records: H(({ rows: e }) => [e.length ? (L(), M("div", Kr, [g.value ? j("", !0) : (L(), M("div", qr, [N("div", Jr, [N("img", {
|
|
932
932
|
src: _(u(e)).image,
|
|
933
933
|
alt: _(u(e)).imageAlt
|
|
934
|
-
}, null, 8,
|
|
935
|
-
N("p", null, [N("strong", { innerHTML: _(u(e)).name }, null, 8,
|
|
934
|
+
}, null, 8, Yr)]), N("div", Xr, [
|
|
935
|
+
N("p", null, [N("strong", { innerHTML: _(u(e)).name }, null, 8, Zr)]),
|
|
936
936
|
N("p", null, B(_(u(e)).date), 1),
|
|
937
|
-
N("p",
|
|
937
|
+
N("p", Qr, [N("strong", null, B(_(u(e)).partner), 1)]),
|
|
938
938
|
N("p", null, B(_(u(e)).place), 1)
|
|
939
|
-
])])), N("div",
|
|
939
|
+
])])), N("div", $r, [(L(!0), M(O, null, z(u(e), (e) => (L(), M("div", {
|
|
940
940
|
key: e.id,
|
|
941
941
|
class: "mwnf-dxa-exhibition-search__result"
|
|
942
942
|
}, [F(V(Y), {
|
|
@@ -948,13 +948,13 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
948
948
|
alt: e.imageAlt,
|
|
949
949
|
loading: "lazy",
|
|
950
950
|
onMouseover: (t) => m.value = e.id
|
|
951
|
-
}, null, 40,
|
|
951
|
+
}, null, 40, ei)]),
|
|
952
952
|
_: 2
|
|
953
|
-
}, 1032, ["to"]), N("div",
|
|
953
|
+
}, 1032, ["to"]), N("div", ti, [F(V(Y), { to: e.to }, {
|
|
954
954
|
default: H(() => [N("strong", {
|
|
955
955
|
innerHTML: e.name,
|
|
956
956
|
onMouseover: (t) => m.value = e.id
|
|
957
|
-
}, null, 40,
|
|
957
|
+
}, null, 40, ni), N("span", null, ", " + B(e.place), 1)]),
|
|
958
958
|
_: 2
|
|
959
959
|
}, 1032, ["to"]), N("p", null, [N("em", null, B(e.date), 1)])])]))), 128))])])) : (L(), A(V(W), {
|
|
960
960
|
key: 1,
|
|
@@ -966,50 +966,50 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
966
966
|
key: 0,
|
|
967
967
|
"page-info": e,
|
|
968
968
|
onNavigate: t
|
|
969
|
-
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div",
|
|
969
|
+
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div", ri))]),
|
|
970
970
|
_: 1
|
|
971
971
|
}, 8, ["spec"])]));
|
|
972
972
|
}
|
|
973
|
-
},
|
|
973
|
+
}, ai = { class: "mwnf-dxa-exhibition-timeline-results" }, oi = { class: "mwnf-dxa-exhibition-timeline-results__band" }, si = { class: "mwnf-dxa-exhibition-timeline-results__current" }, ci = { key: 0 }, li = { class: "mwnf-dxa-exhibition-timeline-results__fields" }, ui = ["aria-label"], di = {
|
|
974
974
|
disabled: "",
|
|
975
975
|
value: ""
|
|
976
|
-
},
|
|
976
|
+
}, fi = ["value"], pi = ["aria-label"], mi = {
|
|
977
977
|
disabled: "",
|
|
978
978
|
value: ""
|
|
979
|
-
},
|
|
979
|
+
}, hi = ["value"], gi = ["aria-label"], _i = {
|
|
980
980
|
disabled: "",
|
|
981
981
|
value: ""
|
|
982
|
-
},
|
|
982
|
+
}, vi = ["value"], yi = ["onClick"], bi = ["onClick"], xi = { class: "mwnf-dxa-exhibition-timeline-results__body" }, Si = {
|
|
983
983
|
key: 0,
|
|
984
984
|
class: "mwnf-dxa-exhibition-timeline-results__list"
|
|
985
|
-
},
|
|
985
|
+
}, Ci = { class: "mwnf-dxa-exhibition-timeline-results__labels" }, wi = { class: "mwnf-dxa-exhibition-timeline-results__year" }, Ti = { class: "mwnf-dxa-exhibition-timeline-results__text" }, Ei = ["innerHTML"], Di = ["innerHTML"], Oi = {
|
|
986
986
|
key: 1,
|
|
987
987
|
class: "mwnf-dxa-exhibition-timeline-results__none"
|
|
988
|
-
},
|
|
988
|
+
}, ki = {
|
|
989
989
|
key: 2,
|
|
990
990
|
class: "mwnf-dxa-exhibition-timeline-results__related"
|
|
991
|
-
},
|
|
991
|
+
}, Ai = { class: "mwnf-dxa-exhibition-timeline-results__related-header" }, ji = {
|
|
992
992
|
key: 1,
|
|
993
993
|
class: "mwnf-dxa-exhibition-timeline-results__end"
|
|
994
|
-
},
|
|
994
|
+
}, Mi = {
|
|
995
995
|
__name: "TimelineResults",
|
|
996
996
|
setup(t) {
|
|
997
997
|
let n = {
|
|
998
998
|
"catalogue.era.ad": "exhibition.era.ad",
|
|
999
999
|
"catalogue.era.bc": "exhibition.era.bc"
|
|
1000
|
-
}, r = ({ years: e, t }) =>
|
|
1000
|
+
}, r = ({ years: e, t }) => It(e.min, e.max, Ft(t, n)), i = k(() => ({
|
|
1001
1001
|
...S.value,
|
|
1002
1002
|
pageSize: 20,
|
|
1003
1003
|
controls: S.value.controls.map((e) => e.options ? {
|
|
1004
1004
|
...e,
|
|
1005
1005
|
options: r
|
|
1006
1006
|
} : e)
|
|
1007
|
-
})), a = k(() => S.value.scope === "country"), o = X(), s =
|
|
1007
|
+
})), a = k(() => S.value.scope === "country"), o = X(), s = pt({
|
|
1008
1008
|
country: "",
|
|
1009
1009
|
begin: "",
|
|
1010
1010
|
end: ""
|
|
1011
1011
|
});
|
|
1012
|
-
|
|
1012
|
+
bt(() => o.query, (e) => {
|
|
1013
1013
|
s.country = String(e.country ?? ""), s.begin = String(e.begin ?? ""), s.end = String(e.end ?? "");
|
|
1014
1014
|
}, { immediate: !0 });
|
|
1015
1015
|
let c = (e, t) => (e ?? []).find((e) => String(e.value) === String(t))?.label ?? t;
|
|
@@ -1017,46 +1017,46 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
1017
1017
|
let n = e?.year_from;
|
|
1018
1018
|
return Number.isFinite(n) ? `${n} ${t(n < 0 ? "exhibition.era.bc" : "exhibition.era.ad")}` : "";
|
|
1019
1019
|
}
|
|
1020
|
-
return (t, n) => (L(), M("div",
|
|
1020
|
+
return (t, n) => (L(), M("div", ai, [F(Xe, {
|
|
1021
1021
|
spec: i.value,
|
|
1022
1022
|
class: "mwnf-dxa-timeline-results"
|
|
1023
1023
|
}, {
|
|
1024
|
-
form: H((e) => [N("div",
|
|
1024
|
+
form: H((e) => [N("div", oi, [N("p", si, [
|
|
1025
1025
|
P(B(e.t("exhibition.timeline.heading")) + " | " + B(c(e.options.begin, e.filters.begin)) + " " + B(e.t("exhibition.timeline.to")) + " " + B(c(e.options.end, e.filters.end)) + " | ", 1),
|
|
1026
|
-
a.value && e.filters.country ? (L(), M("span",
|
|
1026
|
+
a.value && e.filters.country ? (L(), M("span", ci, B(c(e.countries, e.filters.country)) + " | ", 1)) : j("", !0),
|
|
1027
1027
|
N("span", null, B(e.pageInfo?.total ?? 0) + " " + B(e.t("exhibition.timeline.results")), 1)
|
|
1028
|
-
]), N("div",
|
|
1028
|
+
]), N("div", li, [
|
|
1029
1029
|
N("span", null, B(e.t("exhibition.collection.startDate")), 1),
|
|
1030
1030
|
U(N("select", {
|
|
1031
1031
|
"onUpdate:modelValue": n[0] ||= (e) => s.begin = e,
|
|
1032
1032
|
"aria-label": e.t("exhibition.collection.startDate")
|
|
1033
|
-
}, [N("option",
|
|
1033
|
+
}, [N("option", di, B(e.t("exhibition.collection.startDate")), 1), (L(!0), M(O, null, z(e.options.begin ?? [], (e) => (L(), M("option", {
|
|
1034
1034
|
key: e.value,
|
|
1035
1035
|
value: String(e.value)
|
|
1036
|
-
}, B(e.label), 9,
|
|
1036
|
+
}, B(e.label), 9, fi))), 128))], 8, ui), [[_t, s.begin]]),
|
|
1037
1037
|
N("span", null, B(e.t("exhibition.collection.endDate")), 1),
|
|
1038
1038
|
U(N("select", {
|
|
1039
1039
|
"onUpdate:modelValue": n[1] ||= (e) => s.end = e,
|
|
1040
1040
|
"aria-label": e.t("exhibition.collection.endDate")
|
|
1041
|
-
}, [N("option",
|
|
1041
|
+
}, [N("option", mi, B(e.t("exhibition.collection.endDate")), 1), (L(!0), M(O, null, z(e.options.end ?? [], (e) => (L(), M("option", {
|
|
1042
1042
|
key: e.value,
|
|
1043
1043
|
value: String(e.value)
|
|
1044
|
-
}, B(e.label), 9,
|
|
1044
|
+
}, B(e.label), 9, hi))), 128))], 8, pi), [[_t, s.end]]),
|
|
1045
1045
|
a.value ? (L(), M(O, { key: 0 }, [N("span", null, B(e.t("exhibition.timeline.country")), 1), U(N("select", {
|
|
1046
1046
|
"onUpdate:modelValue": n[2] ||= (e) => s.country = e,
|
|
1047
1047
|
"aria-label": e.t("exhibition.timeline.selectCountry")
|
|
1048
|
-
}, [N("option",
|
|
1048
|
+
}, [N("option", _i, B(e.t("exhibition.timeline.selectCountry")), 1), (L(!0), M(O, null, z(e.countries, (e) => (L(), M("option", {
|
|
1049
1049
|
key: e.value,
|
|
1050
1050
|
value: e.value
|
|
1051
|
-
}, B(e.label), 9,
|
|
1051
|
+
}, B(e.label), 9, vi))), 128))], 8, gi), [[_t, s.country]])], 64)) : j("", !0),
|
|
1052
1052
|
N("button", {
|
|
1053
1053
|
type: "button",
|
|
1054
1054
|
onClick: (t) => e.apply({ ...s })
|
|
1055
|
-
}, B(e.t("core.action.go")), 9,
|
|
1055
|
+
}, B(e.t("core.action.go")), 9, yi),
|
|
1056
1056
|
N("button", {
|
|
1057
1057
|
type: "button",
|
|
1058
1058
|
onClick: (t) => e.reset()
|
|
1059
|
-
}, B(e.t("exhibition.search.reset")), 9,
|
|
1059
|
+
}, B(e.t("exhibition.search.reset")), 9, bi)
|
|
1060
1060
|
])])]),
|
|
1061
1061
|
summary: H(({ pageInfo: t, goToPage: n }) => [F(e), F($, {
|
|
1062
1062
|
class: "mwnf-dxa-exhibition-timeline-results__pages",
|
|
@@ -1064,17 +1064,17 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
1064
1064
|
onNavigate: n
|
|
1065
1065
|
}, null, 8, ["page-info", "onNavigate"])]),
|
|
1066
1066
|
gallery: H(() => [...n[3] ||= []]),
|
|
1067
|
-
event: H(({ pageInfo: e, rows: t, gallery: r, t: i }) => [N("div",
|
|
1067
|
+
event: H(({ pageInfo: e, rows: t, gallery: r, t: i }) => [N("div", xi, [t.length ? (L(), M("div", Si, [N("div", Ci, [N("div", null, B(i("exhibition.timeline.date")), 1), N("div", null, B(i(a.value && s.country ? "exhibition.timeline.countryDescription" : "exhibition.timeline.description")), 1)]), (L(!0), M(O, null, z(t, (t, n) => (L(), M("div", {
|
|
1068
1068
|
key: t.id,
|
|
1069
1069
|
class: "mwnf-dxa-exhibition-timeline-results__event"
|
|
1070
|
-
}, [N("div",
|
|
1070
|
+
}, [N("div", wi, [N("span", null, B(l(e.rows[n], i)), 1)]), N("div", Ti, [a.value && s.country && t.caption ? (L(), M("div", {
|
|
1071
1071
|
key: 0,
|
|
1072
1072
|
class: "mwnf-dxa-exhibition-timeline-results__country",
|
|
1073
1073
|
innerHTML: t.caption
|
|
1074
|
-
}, null, 8,
|
|
1074
|
+
}, null, 8, Ei)) : j("", !0), N("div", {
|
|
1075
1075
|
class: "mwnf-dxa-exhibition-timeline-results__description",
|
|
1076
1076
|
innerHTML: t.description
|
|
1077
|
-
}, null, 8,
|
|
1077
|
+
}, null, 8, Di)])]))), 128))])) : (L(), M("div", Oi, B(i("exhibition.timeline.noResults")), 1)), t.length && r ? (L(), M("div", ki, [N("p", Ai, B(i("exhibition.timeline.relatedContent")), 1), N("p", null, [
|
|
1078
1078
|
n[4] ||= N("span", { "aria-hidden": "true" }, "➦", -1),
|
|
1079
1079
|
n[5] ||= P(),
|
|
1080
1080
|
F(V(Y), { to: r.to }, {
|
|
@@ -1086,41 +1086,41 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
1086
1086
|
key: 0,
|
|
1087
1087
|
"page-info": e,
|
|
1088
1088
|
onNavigate: t
|
|
1089
|
-
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div",
|
|
1089
|
+
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div", ji))]),
|
|
1090
1090
|
_: 1
|
|
1091
1091
|
}, 8, ["spec"])]));
|
|
1092
1092
|
}
|
|
1093
|
-
},
|
|
1093
|
+
}, Ni = { class: "mwnf-dxa-exhibition-partner-objects mwnf-dxa-exhibition-timeline-gallery" }, Pi = { class: "mwnf-dxa-exhibition-partner-objects__header" }, Fi = { class: "mwnf-dxa-exhibition-partner-objects__content" }, Ii = { class: "mwnf-dxa-exhibition-partner-objects__grid" }, Li = { class: "mwnf-dxa-exhibition-partner-objects__profile" }, Ri = {
|
|
1094
1094
|
key: 1,
|
|
1095
1095
|
class: "mwnf-dxa-exhibition-partner-objects__end"
|
|
1096
|
-
},
|
|
1096
|
+
}, zi = {
|
|
1097
1097
|
__name: "TimelineGallery",
|
|
1098
1098
|
setup(t) {
|
|
1099
1099
|
let { t: n } = q(), r = {
|
|
1100
1100
|
"catalogue.era.ad": "exhibition.era.ad",
|
|
1101
1101
|
"catalogue.era.bc": "exhibition.era.bc"
|
|
1102
1102
|
}, i = k(() => ({
|
|
1103
|
-
...
|
|
1104
|
-
...
|
|
1103
|
+
...Ie,
|
|
1104
|
+
...Je,
|
|
1105
1105
|
summary: () => [],
|
|
1106
|
-
record:
|
|
1106
|
+
record: Ae
|
|
1107
1107
|
}));
|
|
1108
1108
|
function a(e) {
|
|
1109
1109
|
let t = Number(e);
|
|
1110
1110
|
if (e === "" || e == null || !Number.isFinite(t)) return "";
|
|
1111
|
-
let i =
|
|
1111
|
+
let i = It(t, t, Ft(n, r));
|
|
1112
1112
|
return i.find((e) => Number(e.value) === t)?.label ?? i[0]?.label ?? String(e);
|
|
1113
1113
|
}
|
|
1114
1114
|
let o = k(() => S.value.scope === "country");
|
|
1115
|
-
return (t, r) => (L(), M("div",
|
|
1115
|
+
return (t, r) => (L(), M("div", Ni, [F(E, {
|
|
1116
1116
|
spec: i.value,
|
|
1117
1117
|
class: "mwnf-dxa-partner-objects"
|
|
1118
1118
|
}, {
|
|
1119
1119
|
before: H(({ filters: t, pageInfo: r, goToPage: i }) => [
|
|
1120
1120
|
F(e),
|
|
1121
|
-
N("div",
|
|
1121
|
+
N("div", Pi, [N("p", null, [
|
|
1122
1122
|
P(B(V(n)("exhibition.timeline.heading")) + " | " + B(a(t.begin)) + " " + B(V(n)("exhibition.timeline.to")) + " " + B(a(t.end)) + " | ", 1),
|
|
1123
|
-
o.value && t.country ? (L(), M(O, { key: 0 }, [P(B(V(
|
|
1123
|
+
o.value && t.country ? (L(), M(O, { key: 0 }, [P(B(V(Be)(t.country)) + " | ", 1)], 64)) : j("", !0),
|
|
1124
1124
|
P(B(V(n)("exhibition.timeline.gallery")), 1)
|
|
1125
1125
|
])]),
|
|
1126
1126
|
F($, {
|
|
@@ -1129,11 +1129,11 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
1129
1129
|
onNavigate: i
|
|
1130
1130
|
}, null, 8, ["page-info", "onNavigate"])
|
|
1131
1131
|
]),
|
|
1132
|
-
records: H(({ rows: e, filters: t }) => [N("div",
|
|
1132
|
+
records: H(({ rows: e, filters: t }) => [N("div", Fi, [N("div", Ii, [e.length ? (L(), A(Q, {
|
|
1133
1133
|
key: 0,
|
|
1134
1134
|
rows: e,
|
|
1135
1135
|
family: "exhibition"
|
|
1136
|
-
}, null, 8, ["rows"])) : j("", !0)]), N("div",
|
|
1136
|
+
}, null, 8, ["rows"])) : j("", !0)]), N("div", Li, [F(V(Y), { to: {
|
|
1137
1137
|
name: "timeline-results",
|
|
1138
1138
|
query: {
|
|
1139
1139
|
...t.country ? { country: t.country } : {},
|
|
@@ -1149,27 +1149,27 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
1149
1149
|
key: 0,
|
|
1150
1150
|
"page-info": e,
|
|
1151
1151
|
onNavigate: t
|
|
1152
|
-
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div",
|
|
1152
|
+
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div", Ri))]),
|
|
1153
1153
|
_: 1
|
|
1154
1154
|
}, 8, ["spec"])]));
|
|
1155
1155
|
}
|
|
1156
|
-
}, { aboutTheme:
|
|
1157
|
-
function
|
|
1156
|
+
}, { aboutTheme: Bi, listedThemes: Vi, pictureById: Hi, pictureParent: Ui, romanFor: Wi, themeText: Gi, themeTree: Ki } = Te;
|
|
1157
|
+
function qi(e) {
|
|
1158
1158
|
return String(e?.backward_compatibility ?? "").split(":").pop();
|
|
1159
1159
|
}
|
|
1160
|
-
function
|
|
1161
|
-
let t = (t) =>
|
|
1162
|
-
value:
|
|
1163
|
-
label: t(
|
|
1164
|
-
node:
|
|
1165
|
-
}] : [], ...
|
|
1166
|
-
value:
|
|
1167
|
-
label: `${
|
|
1160
|
+
function Ji(e) {
|
|
1161
|
+
let t = (t) => Gi(t, e.value).title ?? t?.internal_name ?? "", n = k(() => [...Bi.value ? [{
|
|
1162
|
+
value: qi(Bi.value),
|
|
1163
|
+
label: t(Bi.value),
|
|
1164
|
+
node: Bi.value
|
|
1165
|
+
}] : [], ...Vi.value.map((e) => ({
|
|
1166
|
+
value: qi(e),
|
|
1167
|
+
label: `${Wi(e.display_order)}. ${t(e)}`,
|
|
1168
1168
|
node: e
|
|
1169
1169
|
}))]), r = (e) => n.value.find((t) => t.value === String(e))?.node ?? null;
|
|
1170
1170
|
function i(e) {
|
|
1171
1171
|
return (r(e)?.sub_themes ?? []).map((e, n) => ({
|
|
1172
|
-
value:
|
|
1172
|
+
value: qi(e),
|
|
1173
1173
|
label: `${n + 1}. ${t(e)}`,
|
|
1174
1174
|
node: e
|
|
1175
1175
|
}));
|
|
@@ -1177,8 +1177,8 @@ function Ki(e) {
|
|
|
1177
1177
|
function a(e) {
|
|
1178
1178
|
let t = /* @__PURE__ */ new Set();
|
|
1179
1179
|
if (!e) return t;
|
|
1180
|
-
for (let n of
|
|
1181
|
-
let e =
|
|
1180
|
+
for (let n of Ki.itemsUnder(e.id)) {
|
|
1181
|
+
let e = Ui(Hi.value.get(n));
|
|
1182
1182
|
e && t.add(e.id);
|
|
1183
1183
|
}
|
|
1184
1184
|
return t;
|
|
@@ -1195,39 +1195,39 @@ function Ki(e) {
|
|
|
1195
1195
|
};
|
|
1196
1196
|
}
|
|
1197
1197
|
// src/dxa/exhibition/CollectionResults.vue
|
|
1198
|
-
var
|
|
1198
|
+
var Yi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Xi = { class: "mwnf-dxa-gallery-results__info" }, Zi = { class: "mwnf-dxa-gallery-results__choices" }, Qi = {
|
|
1199
1199
|
key: 1,
|
|
1200
1200
|
class: "mwnf-dxa-gallery-results__end"
|
|
1201
|
-
},
|
|
1201
|
+
}, $i = ["aria-label", "aria-expanded"], ea = ["viewBox"], ta = ["d"], na = { class: "mwnf-dxa-exhibition-results__refine" }, ra = ["aria-label"], ia = ["viewBox"], aa = ["d"], oa = {
|
|
1202
1202
|
key: 1,
|
|
1203
1203
|
class: "mwnf-dxa-exhibition-results__themes"
|
|
1204
|
-
},
|
|
1204
|
+
}, sa = { class: "mwnf-dxa-options-label" }, ca = { class: "mwnf-dxa-exhibition-results__theme-selects" }, la = [
|
|
1205
1205
|
"aria-label",
|
|
1206
1206
|
"value",
|
|
1207
1207
|
"disabled",
|
|
1208
1208
|
"onChange"
|
|
1209
|
-
],
|
|
1209
|
+
], ua = {
|
|
1210
1210
|
disabled: "",
|
|
1211
1211
|
value: ""
|
|
1212
|
-
},
|
|
1212
|
+
}, da = { value: "all" }, fa = ["value"], pa = [
|
|
1213
1213
|
"aria-label",
|
|
1214
1214
|
"value",
|
|
1215
1215
|
"disabled",
|
|
1216
1216
|
"onChange"
|
|
1217
|
-
],
|
|
1217
|
+
], ma = {
|
|
1218
1218
|
disabled: "",
|
|
1219
1219
|
value: ""
|
|
1220
|
-
},
|
|
1220
|
+
}, ha = ["value"], ga = [
|
|
1221
1221
|
"aria-label",
|
|
1222
1222
|
"disabled",
|
|
1223
1223
|
"onChange"
|
|
1224
|
-
],
|
|
1224
|
+
], _a = {
|
|
1225
1225
|
disabled: "",
|
|
1226
1226
|
value: ""
|
|
1227
|
-
},
|
|
1227
|
+
}, va = { value: "all" }, ya = ["value"], ba = { class: "mwnf-dxa-date-wrapper" }, xa = {
|
|
1228
1228
|
__name: "CollectionResults",
|
|
1229
1229
|
setup(t) {
|
|
1230
|
-
let { t: n, locale: r } = q(), { themeOptions: o, subThemeOptions: s, scopeFor: c } =
|
|
1230
|
+
let { t: n, locale: r } = q(), { themeOptions: o, subThemeOptions: s, scopeFor: c } = Ji(r), l = {
|
|
1231
1231
|
viewBox: "0 0 512 512",
|
|
1232
1232
|
path: "M471.6 21.7c-21.9-21.9-57.3-21.9-79.2 0L362.3 51.7l97.9 97.9 30.1-30.1c21.9-21.9 21.9-57.3 0-79.2L471.6 21.7zm-299.2 220c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.7 15.7-7.4 21.9-13.5L437.7 172.3 339.7 74.3 172.4 241.7zM96 64C43 64 0 107 0 160V416c0 53 43 96 96 96H352c53 0 96-43 96-96V320c0-17.7-14.3-32-32-32s-32 14.3-32 32v96c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H96z"
|
|
1233
1233
|
}, u = {
|
|
@@ -1236,9 +1236,9 @@ var qi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Ji =
|
|
|
1236
1236
|
}, d = typeof window < "u" && typeof window.matchMedia == "function" ? window.matchMedia("(max-width: 499px)") : null, f = R(!!d?.matches), p = (e) => {
|
|
1237
1237
|
f.value = e.matches;
|
|
1238
1238
|
};
|
|
1239
|
-
d?.addEventListener("change", p),
|
|
1239
|
+
d?.addEventListener("change", p), dt(() => d?.removeEventListener("change", p));
|
|
1240
1240
|
let m = R(!1), h = X();
|
|
1241
|
-
|
|
1241
|
+
bt(() => h.fullPath, () => {
|
|
1242
1242
|
m.value = !1;
|
|
1243
1243
|
});
|
|
1244
1244
|
let g = {
|
|
@@ -1247,11 +1247,11 @@ var qi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Ji =
|
|
|
1247
1247
|
}, _ = ["type", "material"], v = {
|
|
1248
1248
|
"catalogue.era.ad": "exhibition.era.ad",
|
|
1249
1249
|
"catalogue.era.bc": "exhibition.era.bc"
|
|
1250
|
-
}, y = (e) => n(v[e] ?? e), ee = k(() => J(
|
|
1251
|
-
...
|
|
1252
|
-
...
|
|
1250
|
+
}, y = (e) => n(v[e] ?? e), ee = k(() => J(Oe.value ?? [], y)), te = k(() => Re.value.size), b = {
|
|
1251
|
+
...Fe,
|
|
1252
|
+
...Je,
|
|
1253
1253
|
keys: [
|
|
1254
|
-
...
|
|
1254
|
+
...Fe.keys,
|
|
1255
1255
|
"theme",
|
|
1256
1256
|
"subtheme"
|
|
1257
1257
|
],
|
|
@@ -1260,15 +1260,15 @@ var qi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Ji =
|
|
|
1260
1260
|
return !n || n.has(e.id);
|
|
1261
1261
|
},
|
|
1262
1262
|
summary: () => [],
|
|
1263
|
-
record:
|
|
1264
|
-
},
|
|
1265
|
-
function
|
|
1263
|
+
record: Ae
|
|
1264
|
+
}, ne = (e) => b.keys.every((t) => !e[t]);
|
|
1265
|
+
function x(e) {
|
|
1266
1266
|
let t = o.value.find((t) => t.value === String(e.theme))?.label ?? e.theme, n = e.subtheme ? s(e.theme).find((t) => t.value === String(e.subtheme))?.label : "";
|
|
1267
1267
|
return n ? `${t} ▪ ${n}` : t;
|
|
1268
1268
|
}
|
|
1269
1269
|
function re(e, t, r) {
|
|
1270
1270
|
let i = (n) => (t[n] ?? []).find((t) => String(t.value) === String(e[n]))?.label ?? e[n], a = (e) => ee.value.find((t) => String(t.value) === String(e))?.label ?? e, o = [];
|
|
1271
|
-
e.theme && o.push(
|
|
1271
|
+
e.theme && o.push(x(e)), e.country && o.push(i("country"));
|
|
1272
1272
|
for (let t of _) e[t] && o.push(i(t));
|
|
1273
1273
|
return e.from && o.push(`${n("exhibition.collection.start")} ${a(e.from)}`), e.to && o.push(`${n("exhibition.collection.end")} ${a(e.to)}`), o.length ? o.join(" & ") : r.length ? n("exhibition.collection.allItems") : n("exhibition.collection.none");
|
|
1274
1274
|
}
|
|
@@ -1286,13 +1286,13 @@ var qi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Ji =
|
|
|
1286
1286
|
subtheme: n
|
|
1287
1287
|
});
|
|
1288
1288
|
}
|
|
1289
|
-
return (t, r) => (L(), M("div",
|
|
1289
|
+
return (t, r) => (L(), M("div", Yi, [F(E, {
|
|
1290
1290
|
spec: b,
|
|
1291
1291
|
class: "mwnf-dxa-collection-results"
|
|
1292
1292
|
}, {
|
|
1293
1293
|
before: H(({ filters: r, options: i, matching: a, pageInfo: o }) => [
|
|
1294
1294
|
F(e),
|
|
1295
|
-
N("div",
|
|
1295
|
+
N("div", Xi, [N("p", null, [P(B(V(n)("exhibition.collection.heading")) + " | ", 1), N("span", Zi, B(re(r, i, a)), 1)]), N("p", null, B(o.total) + " " + B(V(n)("exhibition.collection.resultsOutOf")) + " " + B(te.value) + " " + B(V(n)("exhibition.collection.items")), 1)]),
|
|
1296
1296
|
F($, {
|
|
1297
1297
|
class: "mwnf-dxa-exhibition-pages--top",
|
|
1298
1298
|
"page-info": o,
|
|
@@ -1313,7 +1313,7 @@ var qi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Ji =
|
|
|
1313
1313
|
key: 0,
|
|
1314
1314
|
"page-info": e,
|
|
1315
1315
|
onNavigate: t
|
|
1316
|
-
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div",
|
|
1316
|
+
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div", Qi))]),
|
|
1317
1317
|
aside: H(({ filters: e, apply: t, reset: c, matching: d, options: p }) => [f.value ? (L(), M("button", {
|
|
1318
1318
|
key: 0,
|
|
1319
1319
|
type: "button",
|
|
@@ -1325,7 +1325,7 @@ var qi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Ji =
|
|
|
1325
1325
|
viewBox: l.viewBox,
|
|
1326
1326
|
"aria-hidden": "true",
|
|
1327
1327
|
focusable: "false"
|
|
1328
|
-
}, [N("path", { d: l.path }, null, 8,
|
|
1328
|
+
}, [N("path", { d: l.path }, null, 8, ta)], 8, ea))], 8, $i)) : j("", !0), U(N("div", na, [
|
|
1329
1329
|
f.value && m.value ? (L(), M("button", {
|
|
1330
1330
|
key: 0,
|
|
1331
1331
|
type: "button",
|
|
@@ -1336,40 +1336,40 @@ var qi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Ji =
|
|
|
1336
1336
|
viewBox: u.viewBox,
|
|
1337
1337
|
"aria-hidden": "true",
|
|
1338
1338
|
focusable: "false"
|
|
1339
|
-
}, [N("path", { d: u.path }, null, 8,
|
|
1340
|
-
|
|
1339
|
+
}, [N("path", { d: u.path }, null, 8, aa)], 8, ia))], 8, ra)) : j("", !0),
|
|
1340
|
+
ne(e) ? j("", !0) : (L(), M("div", oa, [N("div", sa, B(V(n)("exhibition.collection.filterByTheme")), 1), N("div", ca, [N("select", {
|
|
1341
1341
|
class: "mwnf-facet__select",
|
|
1342
1342
|
"aria-label": V(n)("exhibition.collection.selectTheme"),
|
|
1343
1343
|
value: e.theme || "",
|
|
1344
1344
|
disabled: !d.length,
|
|
1345
1345
|
onChange: (e) => ie(t, c, e.target.value)
|
|
1346
1346
|
}, [
|
|
1347
|
-
N("option",
|
|
1348
|
-
N("option",
|
|
1347
|
+
N("option", ua, B(V(n)("exhibition.collection.selectTheme")), 1),
|
|
1348
|
+
N("option", da, B(V(n)("exhibition.collection.allThemes")), 1),
|
|
1349
1349
|
(L(!0), M(O, null, z(V(o), (e) => (L(), M("option", {
|
|
1350
1350
|
key: e.value,
|
|
1351
1351
|
value: e.value
|
|
1352
|
-
}, B(e.label), 9,
|
|
1353
|
-
], 40,
|
|
1352
|
+
}, B(e.label), 9, fa))), 128))
|
|
1353
|
+
], 40, la), e.theme && V(s)(e.theme).length ? (L(), M("select", {
|
|
1354
1354
|
key: 0,
|
|
1355
1355
|
class: "mwnf-facet__select",
|
|
1356
1356
|
"aria-label": V(n)("exhibition.themeGallery.select"),
|
|
1357
1357
|
value: e.subtheme || "",
|
|
1358
1358
|
disabled: !d.length,
|
|
1359
1359
|
onChange: (n) => ae(t, e, n.target.value)
|
|
1360
|
-
}, [N("option",
|
|
1360
|
+
}, [N("option", ma, B(V(n)("exhibition.themeGallery.select")), 1), (L(!0), M(O, null, z(V(s)(e.theme), (e) => (L(), M("option", {
|
|
1361
1361
|
key: e.value,
|
|
1362
1362
|
value: e.value
|
|
1363
|
-
}, B(e.label), 9,
|
|
1363
|
+
}, B(e.label), 9, ha))), 128))], 40, pa)) : j("", !0)])])),
|
|
1364
1364
|
F(a, {
|
|
1365
1365
|
mode: "immediate",
|
|
1366
|
-
title:
|
|
1366
|
+
title: ne(e) ? V(n)("exhibition.collection.filterBy") : V(n)("exhibition.collection.filterFurtherBy"),
|
|
1367
1367
|
"reset-label": V(n)("exhibition.collection.resetFilters"),
|
|
1368
1368
|
disabled: d.length === 0,
|
|
1369
1369
|
onReset: (e) => c()
|
|
1370
1370
|
}, {
|
|
1371
1371
|
default: H(() => [
|
|
1372
|
-
|
|
1372
|
+
ne(e) ? (L(), M("select", {
|
|
1373
1373
|
key: 0,
|
|
1374
1374
|
class: "mwnf-facet__select",
|
|
1375
1375
|
"aria-label": V(n)("exhibition.collection.selectTheme"),
|
|
@@ -1377,13 +1377,13 @@ var qi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Ji =
|
|
|
1377
1377
|
disabled: !d.length,
|
|
1378
1378
|
onChange: (e) => ie(t, c, e.target.value)
|
|
1379
1379
|
}, [
|
|
1380
|
-
N("option",
|
|
1381
|
-
N("option",
|
|
1380
|
+
N("option", _a, B(V(n)("exhibition.collection.selectTheme")), 1),
|
|
1381
|
+
N("option", va, B(V(n)("exhibition.collection.allThemes")), 1),
|
|
1382
1382
|
(L(!0), M(O, null, z(V(o), (e) => (L(), M("option", {
|
|
1383
1383
|
key: e.value,
|
|
1384
1384
|
value: e.value
|
|
1385
|
-
}, B(e.label), 9,
|
|
1386
|
-
], 40,
|
|
1385
|
+
}, B(e.label), 9, ya))), 128))
|
|
1386
|
+
], 40, ga)) : j("", !0),
|
|
1387
1387
|
F(i, {
|
|
1388
1388
|
"model-value": e.country,
|
|
1389
1389
|
options: p.country,
|
|
@@ -1408,7 +1408,7 @@ var qi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Ji =
|
|
|
1408
1408
|
"placeholder",
|
|
1409
1409
|
"onUpdate:modelValue"
|
|
1410
1410
|
])), 64)),
|
|
1411
|
-
N("div",
|
|
1411
|
+
N("div", ba, [F(i, {
|
|
1412
1412
|
"model-value": e.from,
|
|
1413
1413
|
options: V(J)(d, y),
|
|
1414
1414
|
placeholder: V(n)("exhibition.collection.startDate"),
|
|
@@ -1437,30 +1437,30 @@ var qi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Ji =
|
|
|
1437
1437
|
"disabled",
|
|
1438
1438
|
"onReset"
|
|
1439
1439
|
])
|
|
1440
|
-
], 512), [[
|
|
1440
|
+
], 512), [[yt, !f.value || m.value]])]),
|
|
1441
1441
|
_: 1
|
|
1442
1442
|
})]));
|
|
1443
1443
|
}
|
|
1444
|
-
},
|
|
1444
|
+
}, Sa = { class: "mwnf-dxa-exhibition-collection" }, Ca = { class: "mwnf-dxa-exhibition-collection__dropdowns" }, wa = { class: "mwnf-dxa-exhibition-collection__label" }, Ta = { class: "mwnf-dxa-exhibition-collection__selects" }, Ea = ["aria-label"], Da = {
|
|
1445
1445
|
selected: "",
|
|
1446
1446
|
disabled: "",
|
|
1447
1447
|
value: ""
|
|
1448
|
-
},
|
|
1448
|
+
}, Oa = { value: "all" }, ka = ["value"], Aa = ["aria-label", "onChange"], ja = {
|
|
1449
1449
|
selected: "",
|
|
1450
1450
|
disabled: "",
|
|
1451
1451
|
value: ""
|
|
1452
|
-
},
|
|
1452
|
+
}, Ma = ["value"], Na = { class: "mwnf-dxa-exhibition-collection__dates" }, Pa = ["aria-label"], Fa = {
|
|
1453
1453
|
selected: "",
|
|
1454
1454
|
disabled: "",
|
|
1455
1455
|
value: ""
|
|
1456
|
-
},
|
|
1456
|
+
}, Ia = ["value"], La = ["aria-label"], Ra = {
|
|
1457
1457
|
selected: "",
|
|
1458
1458
|
disabled: "",
|
|
1459
1459
|
value: ""
|
|
1460
|
-
},
|
|
1460
|
+
}, za = ["value"], Ba = {
|
|
1461
1461
|
__name: "CollectionSearch",
|
|
1462
1462
|
setup(e) {
|
|
1463
|
-
let t =
|
|
1463
|
+
let t = Lt(), { t: n, locale: r } = q(), { themeOptions: i } = Ji(r), a = jt(Oe, We), o = k(() => [
|
|
1464
1464
|
{
|
|
1465
1465
|
key: "country",
|
|
1466
1466
|
name: "exhibition.collection.selectCountry",
|
|
@@ -1479,66 +1479,66 @@ var qi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Ji =
|
|
|
1479
1479
|
]), s = {
|
|
1480
1480
|
"catalogue.era.ad": "exhibition.era.ad",
|
|
1481
1481
|
"catalogue.era.bc": "exhibition.era.bc"
|
|
1482
|
-
}, c = (e) => n(s[e] ?? e), l = k(() => J(
|
|
1482
|
+
}, c = (e) => n(s[e] ?? e), l = k(() => J(Oe.value ?? [], c));
|
|
1483
1483
|
function u(e, n) {
|
|
1484
1484
|
n !== "" && n != null && (n === "all" ? t.push({ name: "collection-results" }) : t.push({
|
|
1485
1485
|
name: "collection-results",
|
|
1486
1486
|
query: { [e]: String(n) }
|
|
1487
1487
|
}));
|
|
1488
1488
|
}
|
|
1489
|
-
return (e, t) => (L(), M("div",
|
|
1489
|
+
return (e, t) => (L(), M("div", Sa, [N("div", Ca, [N("div", wa, B(V(n)("exhibition.collection.filterBy")), 1), N("div", Ta, [
|
|
1490
1490
|
N("select", {
|
|
1491
1491
|
class: "mwnf-dxa-exhibition-collection__select",
|
|
1492
1492
|
"aria-label": V(n)("exhibition.collection.selectTheme"),
|
|
1493
1493
|
onChange: t[0] ||= (e) => u("theme", e.target.value)
|
|
1494
1494
|
}, [
|
|
1495
|
-
N("option",
|
|
1496
|
-
N("option",
|
|
1495
|
+
N("option", Da, B(V(n)("exhibition.collection.selectTheme")), 1),
|
|
1496
|
+
N("option", Oa, B(V(n)("exhibition.collection.allThemes")), 1),
|
|
1497
1497
|
(L(!0), M(O, null, z(V(i), (e) => (L(), M("option", {
|
|
1498
1498
|
key: e.value,
|
|
1499
1499
|
value: e.value
|
|
1500
|
-
}, B(e.label), 9,
|
|
1501
|
-
], 40,
|
|
1500
|
+
}, B(e.label), 9, ka))), 128))
|
|
1501
|
+
], 40, Ea),
|
|
1502
1502
|
(L(!0), M(O, null, z(o.value, (e) => (L(), M("select", {
|
|
1503
1503
|
key: e.key,
|
|
1504
1504
|
class: "mwnf-dxa-exhibition-collection__select",
|
|
1505
1505
|
"aria-label": V(n)(e.name),
|
|
1506
1506
|
onChange: (t) => u(e.key, t.target.value)
|
|
1507
|
-
}, [N("option",
|
|
1507
|
+
}, [N("option", ja, B(V(n)(e.name)), 1), (L(!0), M(O, null, z(e.options, (e) => (L(), M("option", {
|
|
1508
1508
|
key: e.value,
|
|
1509
1509
|
value: String(e.value)
|
|
1510
|
-
}, B(e.label), 9,
|
|
1511
|
-
N("div",
|
|
1510
|
+
}, B(e.label), 9, Ma))), 128))], 40, Aa))), 128)),
|
|
1511
|
+
N("div", Na, [N("select", {
|
|
1512
1512
|
class: "mwnf-dxa-exhibition-collection__select",
|
|
1513
1513
|
"aria-label": V(n)("exhibition.collection.startDate"),
|
|
1514
1514
|
onChange: t[1] ||= (e) => u("from", e.target.value)
|
|
1515
|
-
}, [N("option",
|
|
1515
|
+
}, [N("option", Fa, B(V(n)("exhibition.collection.startDate")), 1), (L(!0), M(O, null, z(l.value, (e) => (L(), M("option", {
|
|
1516
1516
|
key: e.value,
|
|
1517
1517
|
value: String(e.value)
|
|
1518
|
-
}, B(e.label), 9,
|
|
1518
|
+
}, B(e.label), 9, Ia))), 128))], 40, Pa), N("select", {
|
|
1519
1519
|
class: "mwnf-dxa-exhibition-collection__select",
|
|
1520
1520
|
"aria-label": V(n)("exhibition.collection.endDate"),
|
|
1521
1521
|
onChange: t[2] ||= (e) => u("to", e.target.value)
|
|
1522
|
-
}, [N("option",
|
|
1522
|
+
}, [N("option", Ra, B(V(n)("exhibition.collection.endDate")), 1), (L(!0), M(O, null, z(l.value, (e) => (L(), M("option", {
|
|
1523
1523
|
key: e.value,
|
|
1524
1524
|
value: String(e.value)
|
|
1525
|
-
}, B(e.label), 9,
|
|
1525
|
+
}, B(e.label), 9, za))), 128))], 40, La)])
|
|
1526
1526
|
])]), F(V(W), {
|
|
1527
1527
|
class: "mwnf-dxa-exhibition-collection__description mwnf-prose",
|
|
1528
1528
|
dir: "auto",
|
|
1529
1529
|
keypath: "exhibition.collection.intro"
|
|
1530
1530
|
})]));
|
|
1531
1531
|
}
|
|
1532
|
-
},
|
|
1532
|
+
}, Va = {
|
|
1533
1533
|
key: 0,
|
|
1534
1534
|
class: "mwnf-dxa-exhibition-partner-objects"
|
|
1535
|
-
},
|
|
1535
|
+
}, Ha = {
|
|
1536
1536
|
key: 0,
|
|
1537
1537
|
class: "mwnf-dxa-exhibition-partner-objects__header"
|
|
1538
|
-
},
|
|
1538
|
+
}, Ua = { class: "mwnf-dxa-exhibition-partner-objects__name" }, Wa = { class: "mwnf-dxa-exhibition-partner-objects__place" }, Ga = { class: "mwnf-dxa-exhibition-partner-objects__content" }, Ka = { class: "mwnf-dxa-exhibition-partner-objects__grid" }, qa = { class: "mwnf-dxa-exhibition-partner-objects__profile" }, Ja = {
|
|
1539
1539
|
key: 1,
|
|
1540
1540
|
class: "mwnf-dxa-exhibition-partner-objects__end"
|
|
1541
|
-
},
|
|
1541
|
+
}, Ya = {
|
|
1542
1542
|
__name: "PartnerObjects",
|
|
1543
1543
|
props: {
|
|
1544
1544
|
variant: {
|
|
@@ -1551,43 +1551,43 @@ var qi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Ji =
|
|
|
1551
1551
|
}
|
|
1552
1552
|
},
|
|
1553
1553
|
setup(t) {
|
|
1554
|
-
let n = t, r = k(() => n.variant === "institution"), i = X(), a = k(() =>
|
|
1554
|
+
let n = t, r = k(() => n.variant === "institution"), i = X(), a = k(() => Ce(i.params.id)), o = k(() => ({
|
|
1555
1555
|
entity: "items",
|
|
1556
1556
|
scope: (e) => e.partner_id === a.value?.id,
|
|
1557
|
-
...
|
|
1557
|
+
...Je,
|
|
1558
1558
|
summary: () => [],
|
|
1559
|
-
record:
|
|
1559
|
+
record: Ae
|
|
1560
1560
|
}));
|
|
1561
1561
|
function s(e) {
|
|
1562
1562
|
let t = e[0];
|
|
1563
1563
|
if (!t) return null;
|
|
1564
|
-
let n = w("items", t.id,
|
|
1564
|
+
let n = w("items", t.id, Ue);
|
|
1565
1565
|
return {
|
|
1566
1566
|
name: T("partners", a.value?.id),
|
|
1567
1567
|
place: [n.location, T("countries", t.country_id)].filter(Boolean).join(", ")
|
|
1568
1568
|
};
|
|
1569
1569
|
}
|
|
1570
|
-
return (n, i) => a.value ? (L(), M("div",
|
|
1570
|
+
return (n, i) => a.value ? (L(), M("div", Va, [F(E, {
|
|
1571
1571
|
spec: o.value,
|
|
1572
1572
|
class: "mwnf-dxa-partner-objects"
|
|
1573
1573
|
}, {
|
|
1574
1574
|
before: H(({ matching: t, pageInfo: n, goToPage: r }) => [
|
|
1575
1575
|
F(e),
|
|
1576
|
-
s(t) ? (L(), M("div",
|
|
1576
|
+
s(t) ? (L(), M("div", Ha, [N("p", Ua, B(s(t).name), 1), N("p", Wa, B(s(t).place), 1)])) : j("", !0),
|
|
1577
1577
|
F($, {
|
|
1578
1578
|
class: "mwnf-dxa-exhibition-pages--top",
|
|
1579
1579
|
"page-info": n,
|
|
1580
1580
|
onNavigate: r
|
|
1581
1581
|
}, null, 8, ["page-info", "onNavigate"])
|
|
1582
1582
|
]),
|
|
1583
|
-
records: H(({ rows: e }) => [N("div",
|
|
1583
|
+
records: H(({ rows: e }) => [N("div", Ga, [N("div", Ka, [e.length ? (L(), A(Q, {
|
|
1584
1584
|
key: 0,
|
|
1585
1585
|
rows: e,
|
|
1586
1586
|
family: "exhibition"
|
|
1587
1587
|
}, null, 8, ["rows"])) : (L(), A(V(W), {
|
|
1588
1588
|
key: 1,
|
|
1589
1589
|
keypath: r.value ? t.texts.emptyInstitution : t.texts.emptyPartner
|
|
1590
|
-
}, null, 8, ["keypath"]))]), N("div",
|
|
1590
|
+
}, null, 8, ["keypath"]))]), N("div", qa, [F(V(Y), { to: V(Se)(a.value) }, {
|
|
1591
1591
|
default: H(() => [i[0] ||= N("span", { "aria-hidden": "true" }, "➦", -1), P(" " + B(n.$t(r.value ? t.texts.institutionProfileLabel : t.texts.partnerProfileLabel)), 1)]),
|
|
1592
1592
|
_: 1
|
|
1593
1593
|
}, 8, ["to"])])])]),
|
|
@@ -1596,19 +1596,19 @@ var qi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Ji =
|
|
|
1596
1596
|
key: 0,
|
|
1597
1597
|
"page-info": e,
|
|
1598
1598
|
onNavigate: t
|
|
1599
|
-
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div",
|
|
1599
|
+
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div", Ja))]),
|
|
1600
1600
|
_: 1
|
|
1601
1601
|
}, 8, ["spec"])])) : j("", !0);
|
|
1602
1602
|
}
|
|
1603
|
-
},
|
|
1603
|
+
}, Xa = () => Promise.resolve().then(() => as), Za = () => Promise.resolve().then(() => ms), Qa = () => Promise.resolve().then(() => gs), $a = () => Promise.resolve().then(() => Ms), eo = () => Promise.resolve().then(() => Fs), to = () => Promise.resolve().then(() => Rs), no = () => import("./Theme-TtISKJme.js").then((e) => e.t), ro = () => Promise.resolve().then(() => nc), io = () => Promise.resolve().then(() => xc), ao = () => Promise.resolve().then(() => Cc), oo = () => Promise.resolve().then(() => zc), so = {
|
|
1604
1604
|
emptyPartner: "exhibition.partnerObjects.emptyPartner",
|
|
1605
1605
|
emptyInstitution: "exhibition.partnerObjects.emptyInstitution",
|
|
1606
1606
|
institutionSummary: "exhibition.partner.monumentsInExhibition",
|
|
1607
1607
|
partnerProfileLabel: "partner.action.partnerProfile",
|
|
1608
1608
|
institutionProfileLabel: "exhibition.partnerObjects.institutionProfile"
|
|
1609
1609
|
};
|
|
1610
|
-
function
|
|
1611
|
-
let t =
|
|
1610
|
+
function co(e) {
|
|
1611
|
+
let t = kt([
|
|
1612
1612
|
"gallery",
|
|
1613
1613
|
"items",
|
|
1614
1614
|
"partners",
|
|
@@ -1619,104 +1619,104 @@ function oo(e) {
|
|
|
1619
1619
|
{
|
|
1620
1620
|
path: "/",
|
|
1621
1621
|
name: "home",
|
|
1622
|
-
component:
|
|
1622
|
+
component: Xa,
|
|
1623
1623
|
meta: t("home")
|
|
1624
1624
|
},
|
|
1625
1625
|
{
|
|
1626
1626
|
path: "/item/:id",
|
|
1627
1627
|
name: "item",
|
|
1628
|
-
component:
|
|
1628
|
+
component: Za,
|
|
1629
1629
|
props: (e) => ({ id: String(e.params.id) }),
|
|
1630
1630
|
meta: t("database", "languages", "dynasties", "glossary", "timelines", "timeline_events")
|
|
1631
1631
|
},
|
|
1632
1632
|
{
|
|
1633
1633
|
path: "/timeline",
|
|
1634
1634
|
name: "timeline",
|
|
1635
|
-
component:
|
|
1635
|
+
component: Qa,
|
|
1636
1636
|
meta: t("timeline", "timelines", "timeline_events")
|
|
1637
1637
|
}
|
|
1638
1638
|
] : [],
|
|
1639
1639
|
{
|
|
1640
1640
|
path: "/search",
|
|
1641
1641
|
name: "search-results",
|
|
1642
|
-
component:
|
|
1642
|
+
component: Dn,
|
|
1643
1643
|
meta: t("database")
|
|
1644
1644
|
},
|
|
1645
1645
|
{
|
|
1646
1646
|
path: "/how-to-search",
|
|
1647
1647
|
name: "search-how-to",
|
|
1648
|
-
component:
|
|
1648
|
+
component: Jt,
|
|
1649
1649
|
meta: t("database")
|
|
1650
1650
|
},
|
|
1651
1651
|
{
|
|
1652
1652
|
path: "/partners",
|
|
1653
1653
|
name: "partners",
|
|
1654
|
-
component:
|
|
1654
|
+
component: dn,
|
|
1655
1655
|
meta: t("partners")
|
|
1656
1656
|
},
|
|
1657
1657
|
{
|
|
1658
1658
|
path: "/partner/:id",
|
|
1659
1659
|
name: "partner",
|
|
1660
|
-
component:
|
|
1660
|
+
component: Ht,
|
|
1661
1661
|
props: (e) => ({
|
|
1662
1662
|
id: String(e.params.id),
|
|
1663
|
-
family:
|
|
1663
|
+
family: ve
|
|
1664
1664
|
}),
|
|
1665
1665
|
meta: t("partners", "languages")
|
|
1666
1666
|
},
|
|
1667
1667
|
{
|
|
1668
1668
|
path: "/partner/:id/objects",
|
|
1669
1669
|
name: "partner-objects",
|
|
1670
|
-
component:
|
|
1670
|
+
component: cr,
|
|
1671
1671
|
meta: t("partners")
|
|
1672
1672
|
},
|
|
1673
1673
|
{
|
|
1674
1674
|
path: "/timeline-results",
|
|
1675
1675
|
name: "timeline-results",
|
|
1676
|
-
component:
|
|
1676
|
+
component: On,
|
|
1677
1677
|
meta: t("timeline", "timelines", "timeline_events")
|
|
1678
1678
|
},
|
|
1679
1679
|
{
|
|
1680
1680
|
path: "/timeline/gallery",
|
|
1681
1681
|
name: "timeline-gallery",
|
|
1682
|
-
component:
|
|
1682
|
+
component: jn,
|
|
1683
1683
|
meta: t("timeline", "timelines", "timeline_events")
|
|
1684
1684
|
},
|
|
1685
1685
|
{
|
|
1686
1686
|
path: "/about",
|
|
1687
1687
|
name: "about",
|
|
1688
|
-
component:
|
|
1688
|
+
component: Wt,
|
|
1689
1689
|
meta: t("about")
|
|
1690
1690
|
},
|
|
1691
1691
|
{
|
|
1692
1692
|
path: "/credits",
|
|
1693
1693
|
name: "credits",
|
|
1694
|
-
component:
|
|
1694
|
+
component: Gt,
|
|
1695
1695
|
props: { bodyKey: n },
|
|
1696
1696
|
meta: t("credits")
|
|
1697
1697
|
},
|
|
1698
1698
|
{
|
|
1699
1699
|
path: "/collection",
|
|
1700
1700
|
name: "collection",
|
|
1701
|
-
component:
|
|
1701
|
+
component: nr,
|
|
1702
1702
|
meta: t("collection", "tags")
|
|
1703
1703
|
},
|
|
1704
1704
|
{
|
|
1705
1705
|
path: "/collection-results",
|
|
1706
1706
|
name: "collection-results",
|
|
1707
|
-
component:
|
|
1707
|
+
component: Bn,
|
|
1708
1708
|
meta: t("collection", "tags", "timelines")
|
|
1709
1709
|
}
|
|
1710
1710
|
];
|
|
1711
1711
|
}
|
|
1712
|
-
function
|
|
1713
|
-
let t =
|
|
1712
|
+
function lo(e) {
|
|
1713
|
+
let t = kt([
|
|
1714
1714
|
"exhibition",
|
|
1715
1715
|
"items",
|
|
1716
1716
|
"partners",
|
|
1717
1717
|
"countries"
|
|
1718
1718
|
]), n = {
|
|
1719
|
-
...
|
|
1719
|
+
...so,
|
|
1720
1720
|
...e.partnerObjects
|
|
1721
1721
|
};
|
|
1722
1722
|
return [
|
|
@@ -1724,56 +1724,56 @@ function so(e) {
|
|
|
1724
1724
|
{
|
|
1725
1725
|
path: "/",
|
|
1726
1726
|
name: "home",
|
|
1727
|
-
component:
|
|
1727
|
+
component: $a,
|
|
1728
1728
|
meta: t("home")
|
|
1729
1729
|
},
|
|
1730
1730
|
{
|
|
1731
1731
|
path: "/about",
|
|
1732
1732
|
name: "about",
|
|
1733
|
-
component:
|
|
1733
|
+
component: eo,
|
|
1734
1734
|
meta: t("about", "themes")
|
|
1735
1735
|
},
|
|
1736
1736
|
{
|
|
1737
1737
|
path: "/themes",
|
|
1738
1738
|
name: "themes",
|
|
1739
|
-
component:
|
|
1739
|
+
component: to,
|
|
1740
1740
|
meta: t("themes", "themes")
|
|
1741
1741
|
},
|
|
1742
1742
|
{
|
|
1743
1743
|
path: "/theme/:id/:subtheme?/:image?",
|
|
1744
1744
|
name: "theme",
|
|
1745
|
-
component:
|
|
1745
|
+
component: no,
|
|
1746
1746
|
meta: t("themes", "themes", "glossary", "dynasties")
|
|
1747
1747
|
},
|
|
1748
1748
|
{
|
|
1749
1749
|
path: "/theme-gallery/:id/:subtheme?",
|
|
1750
1750
|
name: "theme-gallery",
|
|
1751
|
-
component:
|
|
1751
|
+
component: ro,
|
|
1752
1752
|
meta: t("themes", "themes")
|
|
1753
1753
|
},
|
|
1754
1754
|
{
|
|
1755
1755
|
path: "/item/:id",
|
|
1756
1756
|
name: "item",
|
|
1757
|
-
component:
|
|
1757
|
+
component: io,
|
|
1758
1758
|
props: (e) => ({ id: String(e.params.id) }),
|
|
1759
1759
|
meta: t("database", "languages", "dynasties", "glossary", "timelines", "timeline_events")
|
|
1760
1760
|
},
|
|
1761
1761
|
{
|
|
1762
1762
|
path: "/related",
|
|
1763
1763
|
name: "related",
|
|
1764
|
-
component:
|
|
1764
|
+
component: ao,
|
|
1765
1765
|
meta: t("related", "related_content")
|
|
1766
1766
|
},
|
|
1767
1767
|
{
|
|
1768
1768
|
path: "/timeline",
|
|
1769
1769
|
name: "timeline",
|
|
1770
|
-
component:
|
|
1770
|
+
component: oo,
|
|
1771
1771
|
meta: t("timeline", "timelines", "timeline_events")
|
|
1772
1772
|
},
|
|
1773
1773
|
...e.creditsBody ? [{
|
|
1774
1774
|
path: "/credits",
|
|
1775
1775
|
name: "credits",
|
|
1776
|
-
component:
|
|
1776
|
+
component: qt,
|
|
1777
1777
|
props: { bodyKey: e.creditsBody },
|
|
1778
1778
|
meta: t("credits")
|
|
1779
1779
|
}] : []
|
|
@@ -1781,45 +1781,45 @@ function so(e) {
|
|
|
1781
1781
|
{
|
|
1782
1782
|
path: "/search",
|
|
1783
1783
|
name: "search-results",
|
|
1784
|
-
component:
|
|
1784
|
+
component: ii,
|
|
1785
1785
|
meta: t("database")
|
|
1786
1786
|
},
|
|
1787
1787
|
{
|
|
1788
1788
|
path: "/how-to-search",
|
|
1789
1789
|
name: "search-how-to",
|
|
1790
|
-
component:
|
|
1790
|
+
component: ur,
|
|
1791
1791
|
meta: t("database")
|
|
1792
1792
|
},
|
|
1793
1793
|
{
|
|
1794
1794
|
path: "/partners",
|
|
1795
1795
|
name: "partners",
|
|
1796
|
-
component:
|
|
1796
|
+
component: wr,
|
|
1797
1797
|
meta: t("partners")
|
|
1798
1798
|
},
|
|
1799
1799
|
{
|
|
1800
1800
|
path: "/partner/:id",
|
|
1801
1801
|
name: "partner",
|
|
1802
|
-
component:
|
|
1802
|
+
component: Ht,
|
|
1803
1803
|
props: (e) => ({
|
|
1804
1804
|
id: String(e.params.id),
|
|
1805
|
-
family:
|
|
1805
|
+
family: be
|
|
1806
1806
|
}),
|
|
1807
1807
|
meta: t("partners", "languages")
|
|
1808
1808
|
},
|
|
1809
1809
|
{
|
|
1810
1810
|
path: "/partner/:id/objects",
|
|
1811
1811
|
name: "partner-objects",
|
|
1812
|
-
component:
|
|
1812
|
+
component: Ya,
|
|
1813
1813
|
props: { texts: n },
|
|
1814
1814
|
meta: t("partners")
|
|
1815
1815
|
},
|
|
1816
1816
|
{
|
|
1817
1817
|
path: "/institution/:id",
|
|
1818
1818
|
name: "institution",
|
|
1819
|
-
component:
|
|
1819
|
+
component: Ht,
|
|
1820
1820
|
props: (e) => ({
|
|
1821
1821
|
id: String(e.params.id),
|
|
1822
|
-
family:
|
|
1822
|
+
family: be,
|
|
1823
1823
|
variant: "institution"
|
|
1824
1824
|
}),
|
|
1825
1825
|
meta: t("partners", "languages")
|
|
@@ -1827,7 +1827,7 @@ function so(e) {
|
|
|
1827
1827
|
{
|
|
1828
1828
|
path: "/institution/:id/monuments",
|
|
1829
1829
|
name: "institution-monuments",
|
|
1830
|
-
component:
|
|
1830
|
+
component: Ya,
|
|
1831
1831
|
props: {
|
|
1832
1832
|
variant: "institution",
|
|
1833
1833
|
texts: n
|
|
@@ -1837,36 +1837,36 @@ function so(e) {
|
|
|
1837
1837
|
{
|
|
1838
1838
|
path: "/timeline-results",
|
|
1839
1839
|
name: "timeline-results",
|
|
1840
|
-
component:
|
|
1840
|
+
component: Mi,
|
|
1841
1841
|
meta: t("timeline", "timelines", "timeline_events")
|
|
1842
1842
|
},
|
|
1843
1843
|
{
|
|
1844
1844
|
path: "/timeline/gallery",
|
|
1845
1845
|
name: "timeline-gallery",
|
|
1846
|
-
component:
|
|
1846
|
+
component: zi,
|
|
1847
1847
|
meta: t("timeline", "timelines", "timeline_events")
|
|
1848
1848
|
},
|
|
1849
1849
|
{
|
|
1850
1850
|
path: "/collection",
|
|
1851
1851
|
name: "collection",
|
|
1852
|
-
component:
|
|
1852
|
+
component: Ba,
|
|
1853
1853
|
meta: t("collection", "tags", "themes")
|
|
1854
1854
|
},
|
|
1855
1855
|
{
|
|
1856
1856
|
path: "/collection-results",
|
|
1857
1857
|
name: "collection-results",
|
|
1858
|
-
component:
|
|
1858
|
+
component: xa,
|
|
1859
1859
|
meta: t("collection", "tags", "timelines", "themes")
|
|
1860
1860
|
}
|
|
1861
1861
|
];
|
|
1862
1862
|
}
|
|
1863
|
-
function
|
|
1864
|
-
if (e === "gallery") return
|
|
1865
|
-
if (e === "exhibition") return
|
|
1863
|
+
function uo(e, t = {}) {
|
|
1864
|
+
if (e === "gallery") return co(t);
|
|
1865
|
+
if (e === "exhibition") return lo(t);
|
|
1866
1866
|
throw Error(`standardRoutes: unknown family "${e}" (expected "gallery" or "exhibition")`);
|
|
1867
1867
|
}
|
|
1868
1868
|
// node_modules/@museumwnf/viewer-core/src/legacy/index.js
|
|
1869
|
-
function
|
|
1869
|
+
function fo(e, t = []) {
|
|
1870
1870
|
let n = String(e?.backward_compatibility ?? "").split(":");
|
|
1871
1871
|
if (n[0] === "mwnf3_sharing_history") {
|
|
1872
1872
|
let t = n[2] ?? e?.id ?? "";
|
|
@@ -1885,18 +1885,18 @@ function lo(e, t = []) {
|
|
|
1885
1885
|
countryCode: r?.code ?? ""
|
|
1886
1886
|
};
|
|
1887
1887
|
}
|
|
1888
|
-
function
|
|
1888
|
+
function po(e, t, n, r) {
|
|
1889
1889
|
return (e ?? []).find((e) => {
|
|
1890
|
-
let i =
|
|
1890
|
+
let i = fo(e, t);
|
|
1891
1891
|
return i.legacyId === r && i.countryCode === n;
|
|
1892
1892
|
}) ?? null;
|
|
1893
1893
|
}
|
|
1894
|
-
function
|
|
1894
|
+
function mo(e, t) {
|
|
1895
1895
|
let n = String(t ?? "").split("/").join(":").toLowerCase();
|
|
1896
1896
|
return (e ?? []).find((e) => e?.backward_compatibility?.toLowerCase() === n) ?? null;
|
|
1897
1897
|
}
|
|
1898
1898
|
// src/dxa/gallery/Shell.vue
|
|
1899
|
-
var
|
|
1899
|
+
var ho = {
|
|
1900
1900
|
__name: "Shell",
|
|
1901
1901
|
props: {
|
|
1902
1902
|
language: {
|
|
@@ -1910,35 +1910,32 @@ var po = {
|
|
|
1910
1910
|
},
|
|
1911
1911
|
emits: ["update:language"],
|
|
1912
1912
|
setup(e, { emit: t }) {
|
|
1913
|
-
let n = e, r = t, { t: i, locale: a } = q(), o =
|
|
1913
|
+
let n = e, r = t, { t: i, locale: a } = q(), o = Pt(), s = k(() => o.links ?? {}), c = k(() => o.galleryShell ?? {}), l = Nt(), u = k(() => l.value === "home"), d = (/* @__PURE__ */ new Date()).getFullYear();
|
|
1914
1914
|
function f(e) {
|
|
1915
1915
|
return e?.[a.value] ?? e?.en ?? "";
|
|
1916
1916
|
}
|
|
1917
|
-
let
|
|
1918
|
-
let e = he.projects?.[he.gallery?.project_id ?? oe.value?.project_id];
|
|
1919
|
-
return f(e?.name) || f(he.site?.names) || f(oe.value?.names);
|
|
1920
|
-
});
|
|
1917
|
+
let p = k(() => b(f));
|
|
1921
1918
|
function h(e, t) {
|
|
1922
1919
|
if (!(e in c.value)) return t();
|
|
1923
1920
|
let n = c.value[e];
|
|
1924
1921
|
return n ? i(n) : "";
|
|
1925
1922
|
}
|
|
1926
|
-
let g = k(() => u.value ? "" : h("headerEyebrow", () => i("core.project.galleries"))), _ = k(() => u.value ? "" : h("headerTitle", () =>
|
|
1923
|
+
let g = k(() => u.value ? "" : h("headerEyebrow", () => i("core.project.galleries"))), _ = k(() => u.value ? "" : h("headerTitle", () => p.value)), y = k(() => c.value.bannerImage ? et(o.chrome, c.value.bannerImage) : ie(he.value?.banner_image_path, "hi_res")), ee = k(() => {
|
|
1927
1924
|
if (c.value.bannerCaption) return c.value.bannerCaption;
|
|
1928
|
-
let e =
|
|
1925
|
+
let e = de.value.get(he.value?.banner_item_id);
|
|
1929
1926
|
if (!e) return "";
|
|
1930
|
-
let t =
|
|
1927
|
+
let t = m("items", e.id, pe);
|
|
1931
1928
|
return {
|
|
1932
|
-
name:
|
|
1933
|
-
partner:
|
|
1929
|
+
name: v("items", e.id),
|
|
1930
|
+
partner: v("partners", e.partner_id),
|
|
1934
1931
|
location: t.location ?? "",
|
|
1935
|
-
country:
|
|
1932
|
+
country: v("countries", e.country_id)
|
|
1936
1933
|
};
|
|
1937
|
-
}),
|
|
1934
|
+
}), ne = k(() => u.value ? h("bannerEyebrow", () => i("gallery.banner.discoverGalleries")) : ""), x = k(() => u.value ? h("bannerTitle", () => p.value) : void 0), re = k(() => c.value.notice === !1 ? null : {
|
|
1938
1935
|
title: i("gallery.notice.tip"),
|
|
1939
|
-
text: i("gallery.notice.
|
|
1940
|
-
}),
|
|
1941
|
-
return (e, t) => (L(), A(
|
|
1936
|
+
text: `${i("gallery.notice.searchThe")} ${b(te)} ${i("gallery.notice.database")}`
|
|
1937
|
+
}), ae = k(() => !!et(o.chrome, o.brand?.logo));
|
|
1938
|
+
return (e, t) => (L(), A(Ze, {
|
|
1942
1939
|
class: I(["mwnf-dxa-gallery-shell", { "mwnf-dxa-gallery-shell--home": u.value }]),
|
|
1943
1940
|
languages: n.languages,
|
|
1944
1941
|
language: n.language,
|
|
@@ -1947,17 +1944,17 @@ var po = {
|
|
|
1947
1944
|
"header-eyebrow": g.value,
|
|
1948
1945
|
"header-title": _.value,
|
|
1949
1946
|
"header-title-href": "#/",
|
|
1950
|
-
"banner-image":
|
|
1951
|
-
"banner-caption":
|
|
1952
|
-
"banner-eyebrow":
|
|
1953
|
-
"banner-title":
|
|
1954
|
-
notice:
|
|
1947
|
+
"banner-image": y.value,
|
|
1948
|
+
"banner-caption": ee.value,
|
|
1949
|
+
"banner-eyebrow": ne.value,
|
|
1950
|
+
"banner-title": x.value,
|
|
1951
|
+
notice: re.value,
|
|
1955
1952
|
"footer-text": `${V(i)("core.footer.copyright")} 2004–${V(d)}`,
|
|
1956
1953
|
"onUpdate:language": t[0] ||= (e) => r("update:language", e)
|
|
1957
|
-
},
|
|
1958
|
-
default: H(() => [
|
|
1954
|
+
}, lt({
|
|
1955
|
+
default: H(() => [mt(e.$slots, "default")]),
|
|
1959
1956
|
_: 2
|
|
1960
|
-
}, [
|
|
1957
|
+
}, [ae.value ? void 0 : {
|
|
1961
1958
|
name: "brand",
|
|
1962
1959
|
fn: H(() => [t[1] ||= N("span", { class: "mwnf-dxa-logo-mark" }, "MWNF", -1)]),
|
|
1963
1960
|
key: "0"
|
|
@@ -1976,10 +1973,10 @@ var po = {
|
|
|
1976
1973
|
"footer-text"
|
|
1977
1974
|
]));
|
|
1978
1975
|
}
|
|
1979
|
-
},
|
|
1976
|
+
}, go = {
|
|
1980
1977
|
key: 0,
|
|
1981
1978
|
class: "mwnf-popup-logo"
|
|
1982
|
-
},
|
|
1979
|
+
}, _o = ["aria-label"], vo = ["innerHTML"], yo = ["innerHTML"], bo = {
|
|
1983
1980
|
__name: "PopupLogo",
|
|
1984
1981
|
props: {
|
|
1985
1982
|
content: {
|
|
@@ -2001,21 +1998,21 @@ var po = {
|
|
|
2001
1998
|
},
|
|
2002
1999
|
setup(e) {
|
|
2003
2000
|
let t = e, n = R(!1), r = k(() => t.rawHtml ? t.content : K(t.content)), i = k(() => t.enabled && !!t.content && !n.value);
|
|
2004
|
-
return (t, a) => i.value ? (L(), M("div",
|
|
2001
|
+
return (t, a) => i.value ? (L(), M("div", go, [N("button", {
|
|
2005
2002
|
class: "mwnf-popup-logo__close",
|
|
2006
2003
|
"aria-label": t.$t(e.closeLabel),
|
|
2007
2004
|
onClick: a[0] ||= (e) => n.value = !0
|
|
2008
|
-
}, "✕", 8,
|
|
2005
|
+
}, "✕", 8, _o), e.rawHtml ? (L(), M("div", {
|
|
2009
2006
|
key: 0,
|
|
2010
2007
|
class: "mwnf-popup-logo__content",
|
|
2011
2008
|
innerHTML: r.value
|
|
2012
|
-
}, null, 8,
|
|
2009
|
+
}, null, 8, vo)) : (L(), M("div", {
|
|
2013
2010
|
key: 1,
|
|
2014
2011
|
class: "mwnf-popup-logo__content",
|
|
2015
2012
|
innerHTML: r.value
|
|
2016
|
-
}, null, 8,
|
|
2013
|
+
}, null, 8, yo))])) : j("", !0);
|
|
2017
2014
|
}
|
|
2018
|
-
},
|
|
2015
|
+
}, xo = {
|
|
2019
2016
|
__name: "Shell",
|
|
2020
2017
|
props: {
|
|
2021
2018
|
language: {
|
|
@@ -2029,16 +2026,16 @@ var po = {
|
|
|
2029
2026
|
},
|
|
2030
2027
|
emits: ["update:language"],
|
|
2031
2028
|
setup(e, { emit: t }) {
|
|
2032
|
-
let n = e, r = t, { t: i, locale: a } = q(), o =
|
|
2033
|
-
|
|
2029
|
+
let n = e, r = t, { t: i, locale: a } = q(), o = Pt(), s = k(() => o.links ?? {}), c = k(() => !!et(o.chrome, o.brand?.logo)), l = Nt(), u = k(() => l.value === "home"), d = (/* @__PURE__ */ new Date()).getFullYear(), f = k(() => u.value ? C.value?.homepage_image_path : null);
|
|
2030
|
+
xt(() => {
|
|
2034
2031
|
if (typeof document > "u") return;
|
|
2035
|
-
let e = C.value?.homepage_image_path, t = e ?
|
|
2032
|
+
let e = C.value?.homepage_image_path, t = e ? He(e, "hi_res") : "";
|
|
2036
2033
|
t ? document.documentElement.style.setProperty("--mwnf-dxa-exhibition-backdrop", `url("${t.replace(/"/g, "%22")}")`) : document.documentElement.style.removeProperty("--mwnf-dxa-exhibition-backdrop");
|
|
2037
2034
|
});
|
|
2038
|
-
let p = k(() => f.value ?
|
|
2039
|
-
let e = f.value ? C.value?.homepage_item_id : C.value?.banner_item_id, t =
|
|
2040
|
-
if (!t) return f.value ? "" :
|
|
2041
|
-
let n = w("items", t.id,
|
|
2035
|
+
let p = k(() => f.value ? He(f.value, "hi_res") : He(C.value?.banner_image_path, "hi_res")), m = k(() => {
|
|
2036
|
+
let e = f.value ? C.value?.homepage_item_id : C.value?.banner_item_id, t = Re.value.get(e);
|
|
2037
|
+
if (!t) return f.value ? "" : ze(a.value);
|
|
2038
|
+
let n = w("items", t.id, Ue);
|
|
2042
2039
|
return {
|
|
2043
2040
|
name: T("items", t.id),
|
|
2044
2041
|
holder: n.holder ?? "",
|
|
@@ -2062,10 +2059,10 @@ var po = {
|
|
|
2062
2059
|
let e = o.sponsorLogos;
|
|
2063
2060
|
return Array.isArray(e) ? e.map((e) => ({
|
|
2064
2061
|
...e,
|
|
2065
|
-
image:
|
|
2062
|
+
image: et(o.chrome, e.image),
|
|
2066
2063
|
alt: e.alt ? i(e.alt) : ""
|
|
2067
2064
|
})).filter((e) => e.image) : (C.value?.logos ?? []).map((e) => ({
|
|
2068
|
-
image: e.legacy_path ?
|
|
2065
|
+
image: e.legacy_path ? He(e.legacy_path, "full") : null,
|
|
2069
2066
|
alt: g(e),
|
|
2070
2067
|
href: e.url || void 0,
|
|
2071
2068
|
category_id: e.category_id,
|
|
@@ -2078,13 +2075,13 @@ var po = {
|
|
|
2078
2075
|
let t = o.media?.legacyHost;
|
|
2079
2076
|
if (!t || !e.startsWith(`${t.replace(/\/+$/, "")}/`)) return null;
|
|
2080
2077
|
let n = e.slice(t.replace(/\/+$/, "").length + 1).split("/").slice(1).join("/");
|
|
2081
|
-
return
|
|
2078
|
+
return $e(o.chrome, n);
|
|
2082
2079
|
}
|
|
2083
|
-
let y = k(() =>
|
|
2080
|
+
let y = k(() => Qe(Ee(C.value?.popup_logos?.[a.value] ?? C.value?.popup_logos?.en ?? ""), v)), ee = k(() => {
|
|
2084
2081
|
let e = C.value?.popup_logo_show;
|
|
2085
2082
|
return e == null ? !1 : typeof e == "boolean" ? e : e[a.value] ?? e.en ?? !1;
|
|
2086
2083
|
});
|
|
2087
|
-
return (e, t) => (L(), A(
|
|
2084
|
+
return (e, t) => (L(), A(Ze, {
|
|
2088
2085
|
languages: n.languages,
|
|
2089
2086
|
language: n.language,
|
|
2090
2087
|
"language-placement": "header",
|
|
@@ -2095,29 +2092,29 @@ var po = {
|
|
|
2095
2092
|
"banner-image": p.value,
|
|
2096
2093
|
"banner-caption": m.value,
|
|
2097
2094
|
"banner-caption-label": V(i)("layout.banner.detailFrom"),
|
|
2098
|
-
"banner-title": u.value ? V(
|
|
2099
|
-
"banner-subtitle": u.value ? V(
|
|
2100
|
-
"banner-headline": u.value ? V(
|
|
2095
|
+
"banner-title": u.value ? V(je)(V(a)) : "",
|
|
2096
|
+
"banner-subtitle": u.value ? V(Ge)(V(a)) : "",
|
|
2097
|
+
"banner-headline": u.value ? V(Le)(V(a)) : "",
|
|
2101
2098
|
"banner-enter": u.value ? {
|
|
2102
2099
|
label: V(i)("exhibition.action.enter"),
|
|
2103
2100
|
href: "#/about"
|
|
2104
2101
|
} : null,
|
|
2105
2102
|
"banner-strapline": u.value ? V(i)("exhibition.identity.strapline") : "",
|
|
2106
2103
|
"hyperlinks-variant": "tiles",
|
|
2107
|
-
"hyperlinks-title": V(
|
|
2104
|
+
"hyperlinks-title": V(je)(V(a)),
|
|
2108
2105
|
"hyperlinks-title-href": "#/",
|
|
2109
|
-
"hyperlinks-subtitle": V(
|
|
2106
|
+
"hyperlinks-subtitle": V(Ge)(V(a)),
|
|
2110
2107
|
hyperlinks: h.value,
|
|
2111
2108
|
"footer-text": `${V(i)("core.footer.copyright")} 2004–${V(d)}`,
|
|
2112
2109
|
logos: _.value,
|
|
2113
2110
|
"onUpdate:language": t[0] ||= (e) => r("update:language", e)
|
|
2114
|
-
},
|
|
2115
|
-
notice: H(() => [F(
|
|
2111
|
+
}, lt({
|
|
2112
|
+
notice: H(() => [F(bo, {
|
|
2116
2113
|
content: y.value,
|
|
2117
2114
|
enabled: ee.value,
|
|
2118
2115
|
"raw-html": ""
|
|
2119
2116
|
}, null, 8, ["content", "enabled"])]),
|
|
2120
|
-
default: H(() => [
|
|
2117
|
+
default: H(() => [mt(e.$slots, "default")]),
|
|
2121
2118
|
_: 2
|
|
2122
2119
|
}, [c.value ? void 0 : {
|
|
2123
2120
|
name: "brand",
|
|
@@ -2145,27 +2142,27 @@ var po = {
|
|
|
2145
2142
|
}
|
|
2146
2143
|
};
|
|
2147
2144
|
// src/dxa/config.js
|
|
2148
|
-
function
|
|
2145
|
+
function So(e, t) {
|
|
2149
2146
|
let n = `exhibition.sponsors.section${Number(t)}`, r = e(n);
|
|
2150
2147
|
return r && r !== n ? r : null;
|
|
2151
2148
|
}
|
|
2152
|
-
function
|
|
2149
|
+
function Co({ country: e, start: t, end: n, page: r }) {
|
|
2153
2150
|
let i = { country: e };
|
|
2154
2151
|
return t !== "any" && (i.begin = t), n !== "any" && (i.end = n), Number(r) > 1 && (i.page = r), {
|
|
2155
2152
|
name: "timeline-gallery",
|
|
2156
2153
|
query: i
|
|
2157
2154
|
};
|
|
2158
2155
|
}
|
|
2159
|
-
function
|
|
2160
|
-
let { manifest: c } =
|
|
2156
|
+
function wo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {}, noticeProjects: i = [], creditsBody: a, chrome: o = {}, homeLogos: s = [] }) {
|
|
2157
|
+
let { manifest: c } = At(), l = Et();
|
|
2161
2158
|
return {
|
|
2162
2159
|
datasetPackage: e,
|
|
2163
2160
|
siteName: c.site?.names?.en ?? t,
|
|
2164
2161
|
features: { entities: [] },
|
|
2165
2162
|
languages: l,
|
|
2166
|
-
shell:
|
|
2163
|
+
shell: ho,
|
|
2167
2164
|
navigation: {
|
|
2168
|
-
languages:
|
|
2165
|
+
languages: wt(l),
|
|
2169
2166
|
links: [
|
|
2170
2167
|
{
|
|
2171
2168
|
section: "about",
|
|
@@ -2250,7 +2247,7 @@ function So({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2250
2247
|
empty: "all-objects"
|
|
2251
2248
|
},
|
|
2252
2249
|
placement: ({ section: e }) => e === "home" ? "after-banner" : "before-banner",
|
|
2253
|
-
socialLinks:
|
|
2250
|
+
socialLinks: nt
|
|
2254
2251
|
},
|
|
2255
2252
|
banner: {
|
|
2256
2253
|
variant: ({ section: e }) => e === "home" ? "strip" : "section",
|
|
@@ -2272,7 +2269,7 @@ function So({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2272
2269
|
projectColors: r,
|
|
2273
2270
|
noticeProjects: i,
|
|
2274
2271
|
site: { origin: n },
|
|
2275
|
-
extraViews:
|
|
2272
|
+
extraViews: uo("gallery", {
|
|
2276
2273
|
creditsBody: a,
|
|
2277
2274
|
pages: !0
|
|
2278
2275
|
}),
|
|
@@ -2280,8 +2277,8 @@ function So({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2280
2277
|
{
|
|
2281
2278
|
path: "/database-item/:uid(.*)/:language",
|
|
2282
2279
|
async resolve({ uid: e }) {
|
|
2283
|
-
await
|
|
2284
|
-
let t =
|
|
2280
|
+
await Tt(["items"]);
|
|
2281
|
+
let t = re(e);
|
|
2285
2282
|
return t ? {
|
|
2286
2283
|
name: "item",
|
|
2287
2284
|
params: { id: t.id }
|
|
@@ -2291,8 +2288,8 @@ function So({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2291
2288
|
{
|
|
2292
2289
|
path: "/partner/:country/:id/:language",
|
|
2293
2290
|
async resolve({ country: e, id: t }) {
|
|
2294
|
-
await
|
|
2295
|
-
let n =
|
|
2291
|
+
await Tt(["partners"]);
|
|
2292
|
+
let n = g(e, t);
|
|
2296
2293
|
return n ? {
|
|
2297
2294
|
name: "partner",
|
|
2298
2295
|
params: { id: n.id }
|
|
@@ -2302,8 +2299,8 @@ function So({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2302
2299
|
{
|
|
2303
2300
|
path: "/partner-objects/:country/:id/:page",
|
|
2304
2301
|
async resolve({ country: e, id: t, page: n }) {
|
|
2305
|
-
await
|
|
2306
|
-
let r =
|
|
2302
|
+
await Tt(["partners"]);
|
|
2303
|
+
let r = g(e, t);
|
|
2307
2304
|
return r ? {
|
|
2308
2305
|
name: "partner-objects",
|
|
2309
2306
|
params: { id: r.id },
|
|
@@ -2313,7 +2310,7 @@ function So({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2313
2310
|
},
|
|
2314
2311
|
{
|
|
2315
2312
|
path: "/timeline-gallery/:country/:start/:end/:page",
|
|
2316
|
-
resolve:
|
|
2313
|
+
resolve: Co
|
|
2317
2314
|
},
|
|
2318
2315
|
{
|
|
2319
2316
|
path: "/error",
|
|
@@ -2322,18 +2319,18 @@ function So({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2322
2319
|
]
|
|
2323
2320
|
};
|
|
2324
2321
|
}
|
|
2325
|
-
function
|
|
2326
|
-
let { manifest: l } =
|
|
2322
|
+
function To({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {}, noticeProjects: i = [], creditsBody: a, partnerObjects: o, chrome: s = {}, sponsorLogos: c }) {
|
|
2323
|
+
let { manifest: l } = At(), u = Et(), d = async (e, t) => (await Tt([
|
|
2327
2324
|
"exhibition",
|
|
2328
2325
|
"partners",
|
|
2329
2326
|
"countries"
|
|
2330
|
-
]),
|
|
2327
|
+
]), po(we.value, ke.value, e, t));
|
|
2331
2328
|
return {
|
|
2332
2329
|
datasetPackage: e,
|
|
2333
2330
|
siteName: l.site?.names?.en ?? t,
|
|
2334
2331
|
features: { entities: [] },
|
|
2335
2332
|
languages: u,
|
|
2336
|
-
shell:
|
|
2333
|
+
shell: xo,
|
|
2337
2334
|
navigation: {
|
|
2338
2335
|
languages: u.map((e) => ({
|
|
2339
2336
|
code: e,
|
|
@@ -2364,7 +2361,7 @@ function Co({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2364
2361
|
section: "timeline",
|
|
2365
2362
|
label: "core.nav.timeline",
|
|
2366
2363
|
to: { name: "timeline" },
|
|
2367
|
-
when: () =>
|
|
2364
|
+
when: () => Me.value
|
|
2368
2365
|
},
|
|
2369
2366
|
{
|
|
2370
2367
|
section: "related",
|
|
@@ -2435,7 +2432,7 @@ function Co({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2435
2432
|
empty: "all-items"
|
|
2436
2433
|
},
|
|
2437
2434
|
placement: "before-banner",
|
|
2438
|
-
socialLinks:
|
|
2435
|
+
socialLinks: nt
|
|
2439
2436
|
},
|
|
2440
2437
|
banner: {
|
|
2441
2438
|
variant: ({ section: e }) => e === "home" ? "split" : "section",
|
|
@@ -2443,7 +2440,7 @@ function Co({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2443
2440
|
if (e?.name !== "theme" && e?.name !== "theme-gallery") return "";
|
|
2444
2441
|
let n = Number(e.params.id);
|
|
2445
2442
|
if (!Number.isInteger(n) || n < 1) return "";
|
|
2446
|
-
let r = `${t("exhibition.theme.romanLabel")} ${
|
|
2443
|
+
let r = `${t("exhibition.theme.romanLabel")} ${Rt(n + 1)}`, i = e.params.subtheme;
|
|
2447
2444
|
return i && i !== "overview" ? `${r} ▪ ${t("exhibition.theme.subthemeLabel")} ${i}` : e.name === "theme-gallery" ? `${r} ▪ ${t("exhibition.theme.galleryLabel")}` : `${r} ▪ ${t("exhibition.theme.overview")}`;
|
|
2448
2445
|
}
|
|
2449
2446
|
},
|
|
@@ -2464,7 +2461,7 @@ function Co({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2464
2461
|
r ? r.push(t) : n.set(e, [t]);
|
|
2465
2462
|
}
|
|
2466
2463
|
return [...n.entries()].sort((e, t) => e[0] - t[0]).map(([e, n]) => ({
|
|
2467
|
-
title: Number(e) === 1 ? t("exhibition.sponsors.patronage") : Number(e) === 2 ? t("exhibition.sponsors.support") :
|
|
2464
|
+
title: Number(e) === 1 ? t("exhibition.sponsors.patronage") : Number(e) === 2 ? t("exhibition.sponsors.support") : So(t, e) ?? n[0].category ?? "",
|
|
2468
2465
|
sponsors: [...n].sort((e, t) => (e.display_order ?? 0) - (t.display_order ?? 0)).map((e) => ({
|
|
2469
2466
|
name: e.alt,
|
|
2470
2467
|
href: e.href,
|
|
@@ -2478,7 +2475,7 @@ function Co({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2478
2475
|
projectColors: r,
|
|
2479
2476
|
noticeProjects: i,
|
|
2480
2477
|
site: { origin: n },
|
|
2481
|
-
extraViews:
|
|
2478
|
+
extraViews: uo("exhibition", {
|
|
2482
2479
|
creditsBody: a,
|
|
2483
2480
|
partnerObjects: o,
|
|
2484
2481
|
pages: !0
|
|
@@ -2487,8 +2484,8 @@ function Co({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2487
2484
|
{
|
|
2488
2485
|
path: "/database-item/:uid(.*)/:language",
|
|
2489
2486
|
async resolve({ uid: e }) {
|
|
2490
|
-
await
|
|
2491
|
-
let t =
|
|
2487
|
+
await Tt(["items"]);
|
|
2488
|
+
let t = mo(Oe.value, e);
|
|
2492
2489
|
return t ? {
|
|
2493
2490
|
name: "item",
|
|
2494
2491
|
params: { id: t.id }
|
|
@@ -2539,7 +2536,7 @@ function Co({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2539
2536
|
},
|
|
2540
2537
|
{
|
|
2541
2538
|
path: "/timeline-gallery/:country/:start/:end/:page",
|
|
2542
|
-
resolve:
|
|
2539
|
+
resolve: Co
|
|
2543
2540
|
},
|
|
2544
2541
|
{
|
|
2545
2542
|
path: "/error",
|
|
@@ -2549,16 +2546,16 @@ function Co({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2549
2546
|
};
|
|
2550
2547
|
}
|
|
2551
2548
|
// src/dxa/FeaturedPartners.vue
|
|
2552
|
-
var
|
|
2549
|
+
var Eo = {
|
|
2553
2550
|
key: 0,
|
|
2554
2551
|
class: "mwnf-featured-partners"
|
|
2555
|
-
},
|
|
2552
|
+
}, Do = { class: "mwnf-featured-partners__heading" }, Oo = { class: "mwnf-featured-partners__carousel" }, ko = {
|
|
2556
2553
|
key: 0,
|
|
2557
2554
|
class: "mwnf-featured-partners__image"
|
|
2558
|
-
},
|
|
2555
|
+
}, Ao = ["src", "alt"], jo = { class: "mwnf-featured-partners__body" }, Mo = { class: "mwnf-featured-partners__name" }, No = { class: "mwnf-featured-partners__location" }, Po = { key: 0 }, Fo = { class: "mwnf-featured-partners__description" }, Io = {
|
|
2559
2556
|
key: 0,
|
|
2560
2557
|
class: "mwnf-featured-partners__controls"
|
|
2561
|
-
},
|
|
2558
|
+
}, Lo = ["aria-label", "onClick"], Ro = 8e3, zo = {
|
|
2562
2559
|
__name: "FeaturedPartners",
|
|
2563
2560
|
props: {
|
|
2564
2561
|
records: {
|
|
@@ -2613,21 +2610,21 @@ var wo = {
|
|
|
2613
2610
|
function l() {
|
|
2614
2611
|
s && clearInterval(s), a.value.length > 0 && (s = setInterval(() => {
|
|
2615
2612
|
o.value = (o.value + 1) % a.value.length;
|
|
2616
|
-
},
|
|
2613
|
+
}, Ro));
|
|
2617
2614
|
}
|
|
2618
|
-
return
|
|
2619
|
-
N("h2",
|
|
2620
|
-
N("div",
|
|
2615
|
+
return ft(l), dt(() => s && clearInterval(s)), (t, r) => a.value.length ? (L(), M("section", Eo, [
|
|
2616
|
+
N("h2", Do, B(t.$t(e.headingEntry)), 1),
|
|
2617
|
+
N("div", Oo, [(L(!0), M(O, null, z(a.value, (r, i) => U((L(), M("div", {
|
|
2621
2618
|
key: r.id,
|
|
2622
2619
|
class: "mwnf-featured-partners__card"
|
|
2623
|
-
}, [r.logo ? (L(), M("span",
|
|
2620
|
+
}, [r.logo ? (L(), M("span", ko, [N("img", {
|
|
2624
2621
|
src: r.logo,
|
|
2625
2622
|
alt: r.name,
|
|
2626
2623
|
class: "mwnf-featured-partners__logo"
|
|
2627
|
-
}, null, 8,
|
|
2628
|
-
N("span",
|
|
2629
|
-
N("span",
|
|
2630
|
-
N("span",
|
|
2624
|
+
}, null, 8, Ao)])) : j("", !0), N("span", jo, [
|
|
2625
|
+
N("span", Mo, B(r.name), 1),
|
|
2626
|
+
N("span", No, [r.city ? (L(), M("span", Po, B(r.city) + ", ", 1)) : j("", !0), P(B(r.country), 1)]),
|
|
2627
|
+
N("span", Fo, B(r.description), 1),
|
|
2631
2628
|
r.route ? (L(), A(n, {
|
|
2632
2629
|
key: 0,
|
|
2633
2630
|
to: r.route,
|
|
@@ -2644,34 +2641,34 @@ var wo = {
|
|
|
2644
2641
|
default: H(() => [P(B(t.$t(e.viewObjectsEntry)) + " >>", 1)]),
|
|
2645
2642
|
_: 1
|
|
2646
2643
|
}, 8, ["to"])) : j("", !0)
|
|
2647
|
-
])])), [[
|
|
2648
|
-
a.value.length > 1 ? (L(), M("div",
|
|
2644
|
+
])])), [[yt, i === o.value]])), 128))]),
|
|
2645
|
+
a.value.length > 1 ? (L(), M("div", Io, [(L(!0), M(O, null, z(a.value, (e, n) => (L(), M("button", {
|
|
2649
2646
|
key: e.id,
|
|
2650
2647
|
class: I(["mwnf-featured-partners__bullet", { "mwnf-featured-partners__bullet--active": n === o.value }]),
|
|
2651
2648
|
"aria-label": `${t.$t("core.action.show")} ${e.name}`,
|
|
2652
2649
|
onClick: (e) => c(n)
|
|
2653
|
-
}, null, 10,
|
|
2650
|
+
}, null, 10, Lo))), 128))])) : j("", !0)
|
|
2654
2651
|
])) : j("", !0);
|
|
2655
2652
|
}
|
|
2656
|
-
},
|
|
2653
|
+
}, Bo = { class: "mwnf-sibling-galleries" }, Vo = {
|
|
2657
2654
|
key: 0,
|
|
2658
2655
|
class: "mwnf-sibling-galleries__galleries"
|
|
2659
|
-
},
|
|
2656
|
+
}, Ho = { class: "mwnf-sibling-galleries__header" }, Uo = { class: "mwnf-sibling-galleries__heading" }, Wo = ["href"], Go = { class: "mwnf-sibling-galleries__grid" }, Ko = {
|
|
2660
2657
|
key: 0,
|
|
2661
2658
|
class: "mwnf-sibling-galleries__image"
|
|
2662
|
-
},
|
|
2659
|
+
}, qo = ["src", "alt"], Jo = {
|
|
2663
2660
|
key: 1,
|
|
2664
2661
|
class: "mwnf-sibling-galleries__image mwnf-sibling-galleries__image--empty"
|
|
2665
|
-
},
|
|
2662
|
+
}, Yo = { class: "mwnf-sibling-galleries__name" }, Xo = {
|
|
2666
2663
|
key: 1,
|
|
2667
2664
|
class: "mwnf-sibling-galleries__museums"
|
|
2668
|
-
},
|
|
2665
|
+
}, Zo = { class: "mwnf-sibling-galleries__heading" }, Qo = { class: "mwnf-sibling-galleries__museums-grid" }, $o = ["href"], es = {
|
|
2669
2666
|
key: 0,
|
|
2670
2667
|
class: "mwnf-sibling-galleries__museum-image mwnf-sibling-galleries__museum-image--picture"
|
|
2671
|
-
},
|
|
2668
|
+
}, ts = ["src"], ns = {
|
|
2672
2669
|
key: 1,
|
|
2673
2670
|
class: "mwnf-sibling-galleries__museum-image"
|
|
2674
|
-
},
|
|
2671
|
+
}, rs = { class: "mwnf-sibling-galleries__museum-name" }, is = {
|
|
2675
2672
|
__name: "SiblingGalleries",
|
|
2676
2673
|
props: {
|
|
2677
2674
|
galleries: {
|
|
@@ -2700,82 +2697,82 @@ var wo = {
|
|
|
2700
2697
|
}
|
|
2701
2698
|
},
|
|
2702
2699
|
setup(e) {
|
|
2703
|
-
return (t, r) => (L(), M("section",
|
|
2700
|
+
return (t, r) => (L(), M("section", Bo, [e.galleries.length ? (L(), M("div", Vo, [N("div", Ho, [N("p", Uo, B(t.$t(e.galleriesHeadingEntry)), 1), e.seeMoreGalleriesHref ? (L(), M("a", {
|
|
2704
2701
|
key: 0,
|
|
2705
2702
|
href: e.seeMoreGalleriesHref,
|
|
2706
2703
|
target: "_blank",
|
|
2707
2704
|
rel: "noopener",
|
|
2708
2705
|
class: "mwnf-sibling-galleries__see-more"
|
|
2709
|
-
}, B(t.$t(e.seeMoreGalleriesEntry)) + " » ", 9,
|
|
2706
|
+
}, B(t.$t(e.seeMoreGalleriesEntry)) + " » ", 9, Wo)) : j("", !0)]), N("div", Go, [(L(!0), M(O, null, z(e.galleries, (e) => (L(), A(n, {
|
|
2710
2707
|
key: e.id,
|
|
2711
2708
|
to: e.route,
|
|
2712
2709
|
class: I(["mwnf-sibling-galleries__gallery", { "mwnf-sibling-galleries__gallery--no-link": !e.route }])
|
|
2713
2710
|
}, {
|
|
2714
|
-
default: H(() => [e.image ? (L(), M("span",
|
|
2711
|
+
default: H(() => [e.image ? (L(), M("span", Ko, [N("img", {
|
|
2715
2712
|
src: e.image,
|
|
2716
2713
|
alt: e.name
|
|
2717
|
-
}, null, 8,
|
|
2714
|
+
}, null, 8, qo)])) : (L(), M("span", Jo)), N("p", Yo, B(e.name), 1)]),
|
|
2718
2715
|
_: 2
|
|
2719
|
-
}, 1032, ["to", "class"]))), 128))])])) : j("", !0), e.museums.length ? (L(), M("div",
|
|
2716
|
+
}, 1032, ["to", "class"]))), 128))])])) : j("", !0), e.museums.length ? (L(), M("div", Xo, [N("div", Zo, B(t.$t(e.museumsHeadingEntry)), 1), N("div", Qo, [(L(!0), M(O, null, z(e.museums, (e) => (L(), M("a", {
|
|
2720
2717
|
key: e.name,
|
|
2721
2718
|
href: e.href || e.to,
|
|
2722
2719
|
target: "_blank",
|
|
2723
2720
|
rel: "noopener",
|
|
2724
2721
|
class: "mwnf-sibling-galleries__museum",
|
|
2725
|
-
style:
|
|
2722
|
+
style: ut({
|
|
2726
2723
|
"--mwnf-museum-bg": e.accent || "var(--mwnf-color-border)",
|
|
2727
2724
|
"--mwnf-museum-text": e.textColor || "inherit"
|
|
2728
2725
|
})
|
|
2729
|
-
}, [e.image ? (L(), M("div",
|
|
2726
|
+
}, [e.image ? (L(), M("div", es, [N("img", {
|
|
2730
2727
|
src: e.image,
|
|
2731
2728
|
alt: ""
|
|
2732
|
-
}, null, 8,
|
|
2729
|
+
}, null, 8, ts)])) : (L(), M("div", ns, B(e.name.split(" ").map((e) => e[0]).join("")), 1)), N("p", rs, B(e.name), 1)], 12, $o))), 128))])])) : j("", !0)]));
|
|
2733
2730
|
}
|
|
2734
|
-
},
|
|
2731
|
+
}, as = /* @__PURE__ */ D({ default: () => ps }), os = { class: "mwnf-dxa-home" }, ss = {
|
|
2735
2732
|
key: 0,
|
|
2736
2733
|
class: "mwnf-dxa-home-logos"
|
|
2737
|
-
},
|
|
2734
|
+
}, cs = { class: "mwnf-dxa-home-logos__label" }, ls = { class: "mwnf-dxa-home-logos__list" }, us = ["src", "alt"], ds = 3, fs = 4, ps = {
|
|
2738
2735
|
__name: "Home",
|
|
2739
2736
|
setup(e) {
|
|
2740
|
-
let { t, locale: n } = q(), r =
|
|
2741
|
-
|
|
2742
|
-
o.value =
|
|
2737
|
+
let { t, locale: n } = q(), r = Pt(), i = k(() => r.links ?? {}), a = k(() => se(ds)), o = R([]);
|
|
2738
|
+
ft(() => {
|
|
2739
|
+
o.value = d(fs);
|
|
2743
2740
|
});
|
|
2744
2741
|
let s = k(() => o.value.map((e) => ({
|
|
2745
2742
|
id: e.id,
|
|
2746
2743
|
name: e.names?.[n.value] ?? e.names?.en ?? e.slug,
|
|
2747
|
-
image: e.image_path ?
|
|
2748
|
-
route:
|
|
2744
|
+
image: e.image_path ? ie(e.image_path, "zoom") : null,
|
|
2745
|
+
route: h(e)
|
|
2749
2746
|
}))), c = k(() => [
|
|
2750
2747
|
{
|
|
2751
2748
|
name: t("core.project.islamicArt"),
|
|
2752
2749
|
href: `${i.value.islamicArt}/`,
|
|
2753
|
-
image:
|
|
2750
|
+
image: tt(r.chrome, "dia.jpg"),
|
|
2754
2751
|
accent: "var(--mwnf-project-ISLandEPM, #ffcc00)",
|
|
2755
2752
|
textColor: "var(--mwnf-project-ISLandEPM-text, #000000)"
|
|
2756
2753
|
},
|
|
2757
2754
|
{
|
|
2758
2755
|
name: t("core.project.baroqueArt"),
|
|
2759
2756
|
href: `${i.value.baroqueArt}/`,
|
|
2760
|
-
image:
|
|
2757
|
+
image: tt(r.chrome, "dba.jpg"),
|
|
2761
2758
|
accent: "var(--mwnf-project-DBA, #001d66)",
|
|
2762
2759
|
textColor: "var(--mwnf-project-DBA-text, #ffffff)"
|
|
2763
2760
|
},
|
|
2764
2761
|
{
|
|
2765
2762
|
name: t("core.project.sharingHistory"),
|
|
2766
2763
|
href: `${i.value.sharingHistory}/`,
|
|
2767
|
-
image:
|
|
2764
|
+
image: tt(r.chrome, "sh.jpg"),
|
|
2768
2765
|
accent: "var(--mwnf-project-AWE, #900000)",
|
|
2769
2766
|
textColor: "var(--mwnf-project-AWE-text, #ffffff)"
|
|
2770
2767
|
}
|
|
2771
2768
|
]), l = k(() => (r.homeLogos ?? []).map((e) => ({
|
|
2772
|
-
image:
|
|
2769
|
+
image: $e(r.chrome, e.image) ?? ie(e.image, "gallery_logo"),
|
|
2773
2770
|
href: e.href ?? "",
|
|
2774
2771
|
alt: e.alt ? t(e.alt) : ""
|
|
2775
2772
|
})).filter((e) => e.image)), u = k(() => `${i.value.galleries}/list`);
|
|
2776
|
-
return (e, n) => (L(), M("div",
|
|
2777
|
-
F(
|
|
2778
|
-
l.value.length ? (L(), M("section",
|
|
2773
|
+
return (e, n) => (L(), M("div", os, [
|
|
2774
|
+
F(zo, { partners: a.value }, null, 8, ["partners"]),
|
|
2775
|
+
l.value.length ? (L(), M("section", ss, [N("p", cs, B(V(t)("gallery.home.logosLabel")), 1), N("ul", ls, [(L(!0), M(O, null, z(l.value, (e) => (L(), M("li", { key: e.image }, [(L(), A(ht(e.href ? "a" : "span"), {
|
|
2779
2776
|
class: "mwnf-dxa-home-logos__logo",
|
|
2780
2777
|
href: e.href || void 0,
|
|
2781
2778
|
title: e.alt || void 0,
|
|
@@ -2785,7 +2782,7 @@ var wo = {
|
|
|
2785
2782
|
default: H(() => [N("img", {
|
|
2786
2783
|
src: e.image,
|
|
2787
2784
|
alt: e.alt
|
|
2788
|
-
}, null, 8,
|
|
2785
|
+
}, null, 8, us)]),
|
|
2789
2786
|
_: 2
|
|
2790
2787
|
}, 1032, [
|
|
2791
2788
|
"href",
|
|
@@ -2793,7 +2790,7 @@ var wo = {
|
|
|
2793
2790
|
"target",
|
|
2794
2791
|
"rel"
|
|
2795
2792
|
]))]))), 128))])])) : j("", !0),
|
|
2796
|
-
F(
|
|
2793
|
+
F(is, {
|
|
2797
2794
|
galleries: s.value,
|
|
2798
2795
|
museums: c.value,
|
|
2799
2796
|
"galleries-heading-entry": "gallery.action.visitGalleries",
|
|
@@ -2807,7 +2804,7 @@ var wo = {
|
|
|
2807
2804
|
])
|
|
2808
2805
|
]));
|
|
2809
2806
|
}
|
|
2810
|
-
},
|
|
2807
|
+
}, ms = /* @__PURE__ */ D({ default: () => hs }), hs = {
|
|
2811
2808
|
__name: "ItemDetail",
|
|
2812
2809
|
props: { id: {
|
|
2813
2810
|
type: String,
|
|
@@ -2820,40 +2817,42 @@ var wo = {
|
|
|
2820
2817
|
glossary: "gallery.related.glossary",
|
|
2821
2818
|
dynasties: "gallery.related.dynasties",
|
|
2822
2819
|
exhibitions: "gallery.related.exhibitions",
|
|
2823
|
-
workingNumber: "gallery.sheet.workingNumber"
|
|
2820
|
+
workingNumber: "gallery.sheet.workingNumber",
|
|
2821
|
+
relatedAudio: "gallery.related.audio",
|
|
2822
|
+
relatedVideos: "gallery.related.videos"
|
|
2824
2823
|
};
|
|
2825
|
-
return (n, r) => (L(), A(
|
|
2824
|
+
return (n, r) => (L(), A(it, {
|
|
2826
2825
|
id: e.id,
|
|
2827
|
-
"item-detail": V(
|
|
2826
|
+
"item-detail": V(ce),
|
|
2828
2827
|
words: t
|
|
2829
2828
|
}, null, 8, ["id", "item-detail"]));
|
|
2830
2829
|
}
|
|
2831
|
-
},
|
|
2830
|
+
}, gs = /* @__PURE__ */ D({ default: () => js }), _s = { class: "mwnf-dxa-timeline" }, vs = { class: "mwnf-dxa-timeline__entrance" }, ys = [
|
|
2832
2831
|
"value",
|
|
2833
2832
|
"aria-label",
|
|
2834
2833
|
"onChange"
|
|
2835
|
-
],
|
|
2834
|
+
], bs = {
|
|
2836
2835
|
disabled: "",
|
|
2837
2836
|
value: ""
|
|
2838
|
-
},
|
|
2837
|
+
}, xs = ["value"], Ss = { class: "mwnf-dxa-timeline__dates" }, Cs = [
|
|
2839
2838
|
"value",
|
|
2840
2839
|
"aria-label",
|
|
2841
2840
|
"onChange"
|
|
2842
|
-
],
|
|
2841
|
+
], ws = {
|
|
2843
2842
|
disabled: "",
|
|
2844
2843
|
value: ""
|
|
2845
|
-
},
|
|
2844
|
+
}, Ts = ["value"], Es = [
|
|
2846
2845
|
"value",
|
|
2847
2846
|
"aria-label",
|
|
2848
2847
|
"onChange"
|
|
2849
|
-
],
|
|
2848
|
+
], Ds = {
|
|
2850
2849
|
disabled: "",
|
|
2851
2850
|
value: ""
|
|
2852
|
-
},
|
|
2851
|
+
}, Os = ["value"], ks = { class: "mwnf-dxa-timeline__go" }, As = ["onClick"], js = {
|
|
2853
2852
|
__name: "Timeline",
|
|
2854
2853
|
setup(e) {
|
|
2855
2854
|
let t = {
|
|
2856
|
-
...
|
|
2855
|
+
...ae,
|
|
2857
2856
|
entrance: !0
|
|
2858
2857
|
};
|
|
2859
2858
|
function n({ filters: e, options: t, go: n, t: r }) {
|
|
@@ -2872,39 +2871,39 @@ var wo = {
|
|
|
2872
2871
|
end: e.end || a.at(-1)?.value
|
|
2873
2872
|
});
|
|
2874
2873
|
}
|
|
2875
|
-
return (e, r) => (L(), M("div",
|
|
2874
|
+
return (e, r) => (L(), M("div", _s, [F(Xe, {
|
|
2876
2875
|
spec: t,
|
|
2877
2876
|
class: "mwnf-dxa-timeline__form"
|
|
2878
2877
|
}, {
|
|
2879
|
-
form: H((e) => [N("div",
|
|
2878
|
+
form: H((e) => [N("div", vs, [
|
|
2880
2879
|
N("select", {
|
|
2881
2880
|
class: "mwnf-dxa-timeline__country",
|
|
2882
2881
|
value: e.filters.country,
|
|
2883
2882
|
"aria-label": e.t("gallery.timeline.selectCountry"),
|
|
2884
2883
|
onChange: (t) => e.filters.country = t.target.value
|
|
2885
|
-
}, [N("option",
|
|
2884
|
+
}, [N("option", bs, B(e.t("gallery.timeline.selectCountry")), 1), (L(!0), M(O, null, z(e.countries, (e) => (L(), M("option", {
|
|
2886
2885
|
key: e.value,
|
|
2887
2886
|
value: e.value
|
|
2888
|
-
}, B(e.label), 9,
|
|
2889
|
-
N("div",
|
|
2887
|
+
}, B(e.label), 9, xs))), 128))], 40, ys),
|
|
2888
|
+
N("div", Ss, [N("select", {
|
|
2890
2889
|
value: e.filters.begin,
|
|
2891
2890
|
"aria-label": e.t("gallery.timeline.startDate"),
|
|
2892
2891
|
onChange: (t) => e.filters.begin = t.target.value
|
|
2893
|
-
}, [N("option",
|
|
2892
|
+
}, [N("option", ws, B(e.t("gallery.timeline.startDate")), 1), (L(!0), M(O, null, z(e.options.begin ?? [], (e) => (L(), M("option", {
|
|
2894
2893
|
key: e.value,
|
|
2895
2894
|
value: e.value
|
|
2896
|
-
}, B(e.label), 9,
|
|
2895
|
+
}, B(e.label), 9, Ts))), 128))], 40, Cs), N("select", {
|
|
2897
2896
|
value: e.filters.end,
|
|
2898
2897
|
"aria-label": e.t("gallery.timeline.endDate"),
|
|
2899
2898
|
onChange: (t) => e.filters.end = t.target.value
|
|
2900
|
-
}, [N("option",
|
|
2899
|
+
}, [N("option", Ds, B(e.t("gallery.timeline.endDate")), 1), (L(!0), M(O, null, z(e.options.end ?? [], (e) => (L(), M("option", {
|
|
2901
2900
|
key: e.value,
|
|
2902
2901
|
value: e.value
|
|
2903
|
-
}, B(e.label), 9,
|
|
2904
|
-
N("div",
|
|
2902
|
+
}, B(e.label), 9, Os))), 128))], 40, Es)]),
|
|
2903
|
+
N("div", ks, [N("button", {
|
|
2905
2904
|
type: "button",
|
|
2906
2905
|
onClick: (t) => n(e)
|
|
2907
|
-
}, B(e.t("core.action.go")), 9,
|
|
2906
|
+
}, B(e.t("core.action.go")), 9, As)])
|
|
2908
2907
|
])]),
|
|
2909
2908
|
_: 1
|
|
2910
2909
|
}), F(V(W), {
|
|
@@ -2913,29 +2912,29 @@ var wo = {
|
|
|
2913
2912
|
keypath: "gallery.timeline.intro"
|
|
2914
2913
|
})]));
|
|
2915
2914
|
}
|
|
2916
|
-
},
|
|
2915
|
+
}, Ms = /* @__PURE__ */ D({ default: () => Ps }), Ns = { class: "mwnf-dxa-home" }, Ps = {
|
|
2917
2916
|
__name: "Home",
|
|
2918
2917
|
setup(e) {
|
|
2919
|
-
return (e, t) => (L(), M("div",
|
|
2918
|
+
return (e, t) => (L(), M("div", Ns));
|
|
2920
2919
|
}
|
|
2921
|
-
},
|
|
2920
|
+
}, Fs = /* @__PURE__ */ D({ default: () => Ls }), Is = { class: "mwnf-dxa-about" }, Ls = {
|
|
2922
2921
|
__name: "About",
|
|
2923
2922
|
setup(e) {
|
|
2924
|
-
return (e, t) => (L(), M("div",
|
|
2923
|
+
return (e, t) => (L(), M("div", Is, [F(at, { "about-mode": "" })]));
|
|
2925
2924
|
}
|
|
2926
|
-
},
|
|
2925
|
+
}, Rs = /* @__PURE__ */ D({ default: () => tc }), zs = { class: "mwnf-dxa-themes-page" }, Bs = { class: "mwnf-dxa-themes-page__container" }, Vs = ["onClick"], Hs = ["innerHTML"], Us = {
|
|
2927
2926
|
key: 0,
|
|
2928
2927
|
class: "mwnf-dxa-themes-page__strips"
|
|
2929
|
-
},
|
|
2928
|
+
}, Ws = ["src"], Gs = {
|
|
2930
2929
|
key: 1,
|
|
2931
2930
|
class: "mwnf-dxa-themes-page__open"
|
|
2932
|
-
},
|
|
2931
|
+
}, Ks = { class: "mwnf-dxa-themes-page__image" }, qs = ["src", "alt"], Js = {
|
|
2933
2932
|
key: 1,
|
|
2934
2933
|
class: "mwnf-dxa-themes-page__caption"
|
|
2935
|
-
},
|
|
2934
|
+
}, Ys = ["innerHTML"], Xs = { class: "mwnf-dxa-themes-page__info" }, Zs = { class: "mwnf-dxa-themes-page__description" }, Qs = { class: "mwnf-dxa-themes-page__subthemes" }, $s = { class: "mwnf-dxa-themes-page__subthemes-label" }, ec = { class: "mwnf-dxa-themes-page__gallery" }, tc = {
|
|
2936
2935
|
__name: "Themes",
|
|
2937
2936
|
setup(e) {
|
|
2938
|
-
let { listedThemes: t, pictureById: n, pictureParent: r, romanFor: i, themeText: a } =
|
|
2937
|
+
let { listedThemes: t, pictureById: n, pictureParent: r, romanFor: i, themeText: a } = Te, { t: o, locale: s } = q(), c = R(!1), l = R(null);
|
|
2939
2938
|
function u(e) {
|
|
2940
2939
|
c.value || (l.value = l.value === e ? null : e);
|
|
2941
2940
|
}
|
|
@@ -2965,19 +2964,19 @@ var wo = {
|
|
|
2965
2964
|
numeral: i(e.display_order),
|
|
2966
2965
|
cover: r?.image_url ?? "",
|
|
2967
2966
|
caption: p(r),
|
|
2968
|
-
excerpt: f(
|
|
2969
|
-
to:
|
|
2967
|
+
excerpt: f(Ot(String(o.presentation ?? ""))),
|
|
2968
|
+
to: ot(e),
|
|
2970
2969
|
gallery: {
|
|
2971
2970
|
name: "theme-gallery",
|
|
2972
2971
|
params: { id: String(e.display_order - 1) }
|
|
2973
2972
|
},
|
|
2974
2973
|
subThemes: (e.sub_themes ?? []).map((e, t) => ({
|
|
2975
2974
|
label: `${t + 1}. ${a(e, s.value).title ?? e.internal_name ?? ""}`,
|
|
2976
|
-
to:
|
|
2975
|
+
to: ot(e)
|
|
2977
2976
|
}))
|
|
2978
2977
|
};
|
|
2979
2978
|
}));
|
|
2980
|
-
return (e, t) => (L(), M("div",
|
|
2979
|
+
return (e, t) => (L(), M("div", zs, [N("div", Bs, [N("div", {
|
|
2981
2980
|
class: "mwnf-dxa-themes-page__show-all",
|
|
2982
2981
|
onClick: d
|
|
2983
2982
|
}, [N("span", null, B(c.value ? V(o)("exhibition.themes.collapseAll") : V(o)("exhibition.themes.expandAll")), 1)]), (L(!0), M(O, null, z(m.value, (e) => (L(), M("div", {
|
|
@@ -2988,18 +2987,18 @@ var wo = {
|
|
|
2988
2987
|
onClick: (t) => u(e.index)
|
|
2989
2988
|
}, [N("span", null, [
|
|
2990
2989
|
P(B(V(o)("exhibition.theme.romanLabel")) + " " + B(e.numeral) + " ▪ ", 1),
|
|
2991
|
-
N("span", { innerHTML: V(K)(e.title) }, null, 8,
|
|
2990
|
+
N("span", { innerHTML: V(K)(e.title) }, null, 8, Hs),
|
|
2992
2991
|
c.value ? j("", !0) : (L(), M(O, { key: 0 }, [P(B(l.value === e.index ? "▴" : "▾"), 1)], 64))
|
|
2993
|
-
])], 10,
|
|
2992
|
+
])], 10, Vs), l.value !== e.index && !c.value ? (L(), M("div", Us, [(L(), M(O, null, z(4, (t) => N("img", {
|
|
2994
2993
|
key: t,
|
|
2995
2994
|
src: e.cover,
|
|
2996
2995
|
alt: ""
|
|
2997
|
-
}, null, 8,
|
|
2996
|
+
}, null, 8, Ws)), 64))])) : (L(), M("div", Gs, [N("div", Ks, [e.cover ? (L(), M("img", {
|
|
2998
2997
|
key: 0,
|
|
2999
2998
|
src: e.cover,
|
|
3000
|
-
alt: V(
|
|
3001
|
-
}, null, 8,
|
|
3002
|
-
N("div",
|
|
2999
|
+
alt: V(Ot)(e.title)
|
|
3000
|
+
}, null, 8, qs)) : j("", !0), e.caption ? (L(), M("div", Js, [N("span", { innerHTML: V(K)(e.caption) }, null, 8, Ys)])) : j("", !0)]), N("div", Xs, [
|
|
3001
|
+
N("div", Zs, [
|
|
3003
3002
|
N("span", null, B(e.excerpt), 1),
|
|
3004
3003
|
t[0] ||= P(" " + B(" "), -1),
|
|
3005
3004
|
F(V(Y), {
|
|
@@ -3010,41 +3009,41 @@ var wo = {
|
|
|
3010
3009
|
_: 1
|
|
3011
3010
|
}, 8, ["to"])
|
|
3012
3011
|
]),
|
|
3013
|
-
N("div",
|
|
3012
|
+
N("div", Qs, [N("div", $s, B(V(o)("exhibition.theme.inThisTheme")), 1), (L(!0), M(O, null, z(e.subThemes, (e) => (L(), M("div", { key: e.label }, [F(V(Y), {
|
|
3014
3013
|
to: e.to,
|
|
3015
3014
|
class: "mwnf-dxa-themes-page__link"
|
|
3016
3015
|
}, {
|
|
3017
3016
|
default: H(() => [P(B(e.label), 1)]),
|
|
3018
3017
|
_: 2
|
|
3019
3018
|
}, 1032, ["to"])]))), 128))]),
|
|
3020
|
-
N("div",
|
|
3019
|
+
N("div", ec, [F(V(Y), { to: e.gallery }, {
|
|
3021
3020
|
default: H(() => [P(B(V(o)("exhibition.themes.seeGallery")) + " " + B(e.numeral), 1)]),
|
|
3022
3021
|
_: 2
|
|
3023
3022
|
}, 1032, ["to"])])
|
|
3024
3023
|
])]))]))), 128))])]));
|
|
3025
3024
|
}
|
|
3026
|
-
},
|
|
3025
|
+
}, nc = /* @__PURE__ */ D({ default: () => bc }), rc = {
|
|
3027
3026
|
key: 0,
|
|
3028
3027
|
class: "mwnf-dxa-theme-gallery-page"
|
|
3029
|
-
},
|
|
3028
|
+
}, ic = { class: "mwnf-dxa-theme-gallery-page__header" }, ac = ["innerHTML"], oc = {
|
|
3030
3029
|
key: 0,
|
|
3031
3030
|
class: "mwnf-dxa-theme-gallery-page__bold"
|
|
3032
|
-
},
|
|
3031
|
+
}, sc = ["innerHTML"], cc = { class: "mwnf-dxa-theme-gallery-page__wrapper" }, lc = { class: "mwnf-dxa-theme-gallery-page__content" }, uc = { class: "mwnf-dxa-theme-gallery-page__objects" }, dc = { class: "mwnf-dxa-theme-gallery-page__filter" }, fc = { class: "mwnf-dxa-theme-gallery-page__label" }, pc = ["disabled", "value"], mc = {
|
|
3033
3032
|
value: "",
|
|
3034
3033
|
disabled: ""
|
|
3035
|
-
},
|
|
3034
|
+
}, hc = ["value"], gc = {
|
|
3036
3035
|
key: 0,
|
|
3037
3036
|
class: "mwnf-dxa-theme-gallery-page__reset"
|
|
3038
|
-
},
|
|
3037
|
+
}, _c = {
|
|
3039
3038
|
key: 0,
|
|
3040
3039
|
class: "mwnf-dxa-theme-gallery-page__top"
|
|
3041
|
-
},
|
|
3040
|
+
}, vc = ["aria-label"], yc = {
|
|
3042
3041
|
key: 1,
|
|
3043
3042
|
class: "mwnf-loader"
|
|
3044
|
-
},
|
|
3043
|
+
}, bc = {
|
|
3045
3044
|
__name: "ThemeGallery",
|
|
3046
3045
|
setup(t) {
|
|
3047
|
-
let { pictureParent: n, romanFor: r, themeByRouteId: i, themeText: a, themePictures: o } =
|
|
3046
|
+
let { pictureParent: n, romanFor: r, themeByRouteId: i, themeText: a, themePictures: o } = Te, s = X(), c = Lt(), { t: l, locale: u } = q(), d = k(() => i(s.params.id)), f = k(() => d.value?.sub_themes ?? []), p = k(() => {
|
|
3048
3047
|
let e = Number(s.params.subtheme);
|
|
3049
3048
|
return Number.isInteger(e) && e >= 1 && e <= f.value.length ? e : null;
|
|
3050
3049
|
}), m = (e) => a(e, u.value).title ?? e?.internal_name ?? "";
|
|
@@ -3087,53 +3086,53 @@ var wo = {
|
|
|
3087
3086
|
}), v = R(!1), y = () => {
|
|
3088
3087
|
v.value = document.body.scrollHeight > window.innerHeight;
|
|
3089
3088
|
};
|
|
3090
|
-
|
|
3089
|
+
ft(() => {
|
|
3091
3090
|
y(), window.addEventListener("scroll", y), window.addEventListener("resize", y);
|
|
3092
|
-
}),
|
|
3091
|
+
}), dt(() => {
|
|
3093
3092
|
window.removeEventListener("scroll", y), window.removeEventListener("resize", y);
|
|
3094
3093
|
});
|
|
3095
3094
|
let ee = () => window.scrollTo({
|
|
3096
3095
|
top: 0,
|
|
3097
3096
|
behavior: "smooth"
|
|
3098
3097
|
});
|
|
3099
|
-
return (t, n) => d.value ? (L(), M("div",
|
|
3098
|
+
return (t, n) => d.value ? (L(), M("div", rc, [
|
|
3100
3099
|
F(e),
|
|
3101
|
-
N("div",
|
|
3100
|
+
N("div", ic, [N("span", null, [
|
|
3102
3101
|
P(B(V(l)("exhibition.theme.romanLabel")) + " " + B(V(r)(d.value.display_order)) + " | ", 1),
|
|
3103
3102
|
N("span", {
|
|
3104
3103
|
class: "mwnf-dxa-theme-gallery-page__bold",
|
|
3105
3104
|
innerHTML: V(K)(m(d.value))
|
|
3106
|
-
}, null, 8,
|
|
3107
|
-
p.value ? (L(), M("span",
|
|
3105
|
+
}, null, 8, ac),
|
|
3106
|
+
p.value ? (L(), M("span", oc, [n[2] ||= P(" ▪ ", -1), N("span", { innerHTML: V(K)(m(f.value[p.value - 1])) }, null, 8, sc)])) : j("", !0),
|
|
3108
3107
|
P(" | " + B(V(l)("exhibition.theme.galleryLabel")), 1)
|
|
3109
3108
|
])]),
|
|
3110
|
-
N("div",
|
|
3109
|
+
N("div", cc, [N("div", lc, [N("div", uc, [F(Q, {
|
|
3111
3110
|
rows: _.value,
|
|
3112
3111
|
family: "exhibition"
|
|
3113
|
-
}, null, 8, ["rows"])]), N("div",
|
|
3114
|
-
N("div",
|
|
3112
|
+
}, null, 8, ["rows"])]), N("div", dc, [
|
|
3113
|
+
N("div", fc, B(V(l)("exhibition.themeGallery.filterBy")), 1),
|
|
3115
3114
|
N("select", {
|
|
3116
3115
|
class: "mwnf-dxa-theme-gallery-page__select",
|
|
3117
3116
|
disabled: !_.value.length,
|
|
3118
3117
|
value: p.value ? String(p.value) : "",
|
|
3119
3118
|
onChange: n[0] ||= (e) => h(e.target.value)
|
|
3120
|
-
}, [N("option",
|
|
3119
|
+
}, [N("option", mc, B(V(l)("exhibition.themeGallery.select")), 1), (L(!0), M(O, null, z(f.value, (e, t) => (L(), M("option", {
|
|
3121
3120
|
key: e.id,
|
|
3122
3121
|
value: String(t + 1)
|
|
3123
|
-
}, B(t + 1) + ". " + B(m(e)), 9,
|
|
3124
|
-
p.value ? (L(), M("div",
|
|
3122
|
+
}, B(t + 1) + ". " + B(m(e)), 9, hc))), 128))], 40, pc),
|
|
3123
|
+
p.value ? (L(), M("div", gc, [N("button", {
|
|
3125
3124
|
type: "button",
|
|
3126
3125
|
onClick: n[1] ||= (e) => h("")
|
|
3127
3126
|
}, B(V(l)("exhibition.theme.seeAllInTheme")), 1)])) : j("", !0)
|
|
3128
3127
|
])])]),
|
|
3129
|
-
v.value ? (L(), M("div",
|
|
3128
|
+
v.value ? (L(), M("div", _c, [N("button", {
|
|
3130
3129
|
type: "button",
|
|
3131
3130
|
"aria-label": V(l)("exhibition.themeGallery.top"),
|
|
3132
3131
|
onClick: ee
|
|
3133
|
-
}, "⌃", 8,
|
|
3134
|
-
])) : (L(), M("div",
|
|
3132
|
+
}, "⌃", 8, vc)])) : j("", !0)
|
|
3133
|
+
])) : (L(), M("div", yc, B(V(l)("exhibition.theme.notInExhibition")), 1));
|
|
3135
3134
|
}
|
|
3136
|
-
},
|
|
3135
|
+
}, xc = /* @__PURE__ */ D({ default: () => Sc }), Sc = {
|
|
3137
3136
|
__name: "ItemDetail",
|
|
3138
3137
|
props: { id: {
|
|
3139
3138
|
type: String,
|
|
@@ -3146,17 +3145,19 @@ var wo = {
|
|
|
3146
3145
|
glossary: "exhibition.sheet.glossary",
|
|
3147
3146
|
dynasties: "exhibition.sheet.dynasties",
|
|
3148
3147
|
exhibitions: "exhibition.sheet.exhibitions",
|
|
3149
|
-
workingNumber: "exhibition.sheet.workingNumber"
|
|
3150
|
-
|
|
3151
|
-
|
|
3148
|
+
workingNumber: "exhibition.sheet.workingNumber",
|
|
3149
|
+
relatedAudio: "exhibition.sheet.relatedAudio",
|
|
3150
|
+
relatedVideos: "exhibition.sheet.relatedVideos"
|
|
3151
|
+
}, n = (e) => Re.value.get(e);
|
|
3152
|
+
return (r, i) => (L(), A(it, {
|
|
3152
3153
|
id: e.id,
|
|
3153
|
-
"item-detail": V(
|
|
3154
|
+
"item-detail": V(Pe),
|
|
3154
3155
|
"data-getter": n,
|
|
3155
3156
|
words: t,
|
|
3156
3157
|
class: "mwnf-dxa-exhibition-item"
|
|
3157
3158
|
}, null, 8, ["id", "item-detail"]));
|
|
3158
3159
|
}
|
|
3159
|
-
},
|
|
3160
|
+
}, Cc = /* @__PURE__ */ D({ default: () => Rc }), wc = { class: "mwnf-dxa-related-page" }, Tc = { class: "mwnf-dxa-related-page__container" }, Ec = { key: 0 }, Dc = { class: "mwnf-dxa-related-page__heading" }, Oc = ["innerHTML"], kc = ["innerHTML"], Ac = { key: 2 }, jc = { key: 3 }, Mc = ["href", "innerHTML"], Nc = ["innerHTML"], Pc = { key: 4 }, Fc = ["href"], Ic = ["innerHTML"], Lc = ["innerHTML"], Rc = {
|
|
3160
3161
|
__name: "RelatedContent",
|
|
3161
3162
|
setup(t) {
|
|
3162
3163
|
let n = {
|
|
@@ -3171,11 +3172,11 @@ var wo = {
|
|
|
3171
3172
|
4
|
|
3172
3173
|
], { t: i, locale: a } = q(), o = (e) => e?.[a.value] ?? e?.en ?? "";
|
|
3173
3174
|
function s(e) {
|
|
3174
|
-
let t = e.document_path ?
|
|
3175
|
+
let t = e.document_path ? He(e.document_path, "hi_res") : "";
|
|
3175
3176
|
return {
|
|
3176
|
-
reading:
|
|
3177
|
+
reading: Dt(o(e.texts) || e.further_reading || ""),
|
|
3177
3178
|
partner: e.partner_name ? K(e.partner_name) : "",
|
|
3178
|
-
place: [e.entity_location, e.entity_country ?
|
|
3179
|
+
place: [e.entity_location, e.entity_country ? Be(e.entity_country) : ""].filter(Boolean).join(", "),
|
|
3179
3180
|
title: o(e.titles) ? K(o(e.titles)) : "",
|
|
3180
3181
|
href: t || e.url || "",
|
|
3181
3182
|
byline: [e.authors, e.type_resource].filter(Boolean).map((e) => K(e)).join(", "),
|
|
@@ -3184,7 +3185,7 @@ var wo = {
|
|
|
3184
3185
|
}
|
|
3185
3186
|
let c = k(() => {
|
|
3186
3187
|
let e = /* @__PURE__ */ new Map();
|
|
3187
|
-
for (let t of
|
|
3188
|
+
for (let t of xe.value ?? []) {
|
|
3188
3189
|
let n = e.get(t.category_id);
|
|
3189
3190
|
n ? n.push(t) : e.set(t.category_id, [t]);
|
|
3190
3191
|
}
|
|
@@ -3194,74 +3195,74 @@ var wo = {
|
|
|
3194
3195
|
entries: [...e.get(t)].sort((e, t) => (e.display_order ?? 0) - (t.display_order ?? 0)).map(s)
|
|
3195
3196
|
}));
|
|
3196
3197
|
});
|
|
3197
|
-
return (t, n) => (L(), M("div",
|
|
3198
|
+
return (t, n) => (L(), M("div", wc, [F(e), N("div", Tc, [c.value.length ? j("", !0) : (L(), M("p", Ec, B(V(i)("exhibition.related.notAvailable")), 1)), (L(!0), M(O, null, z(c.value, (e) => (L(), M("div", {
|
|
3198
3199
|
key: e.id,
|
|
3199
3200
|
class: "mwnf-dxa-related-page__category"
|
|
3200
|
-
}, [N("div",
|
|
3201
|
+
}, [N("div", Dc, B(V(i)(e.heading)), 1), (L(!0), M(O, null, z(e.entries, (e, t) => (L(), M("div", {
|
|
3201
3202
|
key: t,
|
|
3202
3203
|
class: "mwnf-dxa-related-page__entry"
|
|
3203
3204
|
}, [
|
|
3204
3205
|
e.reading ? (L(), M("div", {
|
|
3205
3206
|
key: 0,
|
|
3206
3207
|
innerHTML: e.reading
|
|
3207
|
-
}, null, 8,
|
|
3208
|
+
}, null, 8, Oc)) : j("", !0),
|
|
3208
3209
|
e.partner ? (L(), M("div", {
|
|
3209
3210
|
key: 1,
|
|
3210
3211
|
innerHTML: e.partner
|
|
3211
|
-
}, null, 8,
|
|
3212
|
-
e.place ? (L(), M("div",
|
|
3213
|
-
e.title ? (L(), M("div",
|
|
3212
|
+
}, null, 8, kc)) : j("", !0),
|
|
3213
|
+
e.place ? (L(), M("div", Ac, B(e.place), 1)) : j("", !0),
|
|
3214
|
+
e.title ? (L(), M("div", jc, [e.href ? (L(), M("a", {
|
|
3214
3215
|
key: 0,
|
|
3215
3216
|
href: e.href,
|
|
3216
3217
|
target: "_blank",
|
|
3217
3218
|
rel: "noopener",
|
|
3218
3219
|
innerHTML: e.title
|
|
3219
|
-
}, null, 8,
|
|
3220
|
+
}, null, 8, Mc)) : (L(), M("span", {
|
|
3220
3221
|
key: 1,
|
|
3221
3222
|
innerHTML: e.title
|
|
3222
|
-
}, null, 8,
|
|
3223
|
+
}, null, 8, Nc))])) : e.href ? (L(), M("div", Pc, [N("a", {
|
|
3223
3224
|
href: e.href,
|
|
3224
3225
|
target: "_blank",
|
|
3225
3226
|
rel: "noopener"
|
|
3226
|
-
}, B(e.href), 9,
|
|
3227
|
+
}, B(e.href), 9, Fc)])) : j("", !0),
|
|
3227
3228
|
e.byline ? (L(), M("div", {
|
|
3228
3229
|
key: 5,
|
|
3229
3230
|
innerHTML: e.byline
|
|
3230
|
-
}, null, 8,
|
|
3231
|
+
}, null, 8, Ic)) : j("", !0),
|
|
3231
3232
|
e.description ? (L(), M("div", {
|
|
3232
3233
|
key: 6,
|
|
3233
3234
|
innerHTML: e.description
|
|
3234
|
-
}, null, 8,
|
|
3235
|
+
}, null, 8, Lc)) : j("", !0)
|
|
3235
3236
|
]))), 128))]))), 128))])]));
|
|
3236
3237
|
}
|
|
3237
|
-
},
|
|
3238
|
+
}, zc = /* @__PURE__ */ D({ default: () => el }), Bc = { class: "mwnf-dxa-timeline mwnf-dxa-exhibition-timeline" }, Vc = { class: "mwnf-dxa-timeline__entrance" }, Hc = [
|
|
3238
3239
|
"value",
|
|
3239
3240
|
"aria-label",
|
|
3240
3241
|
"onChange"
|
|
3241
|
-
],
|
|
3242
|
+
], Uc = {
|
|
3242
3243
|
disabled: "",
|
|
3243
3244
|
value: ""
|
|
3244
|
-
},
|
|
3245
|
+
}, Wc = ["value"], Gc = { class: "mwnf-dxa-timeline__dates" }, Kc = [
|
|
3245
3246
|
"value",
|
|
3246
3247
|
"aria-label",
|
|
3247
3248
|
"onChange"
|
|
3248
|
-
],
|
|
3249
|
+
], qc = {
|
|
3249
3250
|
disabled: "",
|
|
3250
3251
|
value: ""
|
|
3251
|
-
},
|
|
3252
|
+
}, Jc = ["value"], Yc = [
|
|
3252
3253
|
"value",
|
|
3253
3254
|
"aria-label",
|
|
3254
3255
|
"onChange"
|
|
3255
|
-
],
|
|
3256
|
+
], Xc = {
|
|
3256
3257
|
disabled: "",
|
|
3257
3258
|
value: ""
|
|
3258
|
-
},
|
|
3259
|
+
}, Zc = ["value"], Qc = { class: "mwnf-dxa-timeline__go" }, $c = ["onClick"], el = {
|
|
3259
3260
|
__name: "Timeline",
|
|
3260
3261
|
setup(e) {
|
|
3261
3262
|
let t = {
|
|
3262
3263
|
"catalogue.era.ad": "exhibition.era.ad",
|
|
3263
3264
|
"catalogue.era.bc": "exhibition.era.bc"
|
|
3264
|
-
}, n = ({ years: e, t: n }) =>
|
|
3265
|
+
}, n = ({ years: e, t: n }) => It(e.min, e.max, Ft(n, t)), r = k(() => ({
|
|
3265
3266
|
...S.value,
|
|
3266
3267
|
entrance: !0,
|
|
3267
3268
|
controls: S.value.controls.map((e) => e.options ? {
|
|
@@ -3277,40 +3278,40 @@ var wo = {
|
|
|
3277
3278
|
end: e.end || a.at(-1)?.value
|
|
3278
3279
|
});
|
|
3279
3280
|
}
|
|
3280
|
-
return (e, t) => (L(), M("div",
|
|
3281
|
+
return (e, t) => (L(), M("div", Bc, [F(Xe, {
|
|
3281
3282
|
spec: r.value,
|
|
3282
3283
|
class: "mwnf-dxa-timeline__form"
|
|
3283
3284
|
}, {
|
|
3284
|
-
form: H((e) => [N("div",
|
|
3285
|
+
form: H((e) => [N("div", Vc, [
|
|
3285
3286
|
i.value && e.countries?.length ? (L(), M("select", {
|
|
3286
3287
|
key: 0,
|
|
3287
3288
|
class: "mwnf-dxa-timeline__country",
|
|
3288
3289
|
value: e.filters.country,
|
|
3289
3290
|
"aria-label": e.t("exhibition.timeline.selectCountry"),
|
|
3290
3291
|
onChange: (t) => e.filters.country = t.target.value
|
|
3291
|
-
}, [N("option",
|
|
3292
|
+
}, [N("option", Uc, B(e.t("exhibition.timeline.selectCountry")), 1), (L(!0), M(O, null, z(e.countries, (e) => (L(), M("option", {
|
|
3292
3293
|
key: e.value,
|
|
3293
3294
|
value: e.value
|
|
3294
|
-
}, B(e.label), 9,
|
|
3295
|
-
N("div",
|
|
3295
|
+
}, B(e.label), 9, Wc))), 128))], 40, Hc)) : j("", !0),
|
|
3296
|
+
N("div", Gc, [N("select", {
|
|
3296
3297
|
value: e.filters.begin,
|
|
3297
3298
|
"aria-label": e.t("exhibition.collection.startDate"),
|
|
3298
3299
|
onChange: (t) => e.filters.begin = t.target.value
|
|
3299
|
-
}, [N("option",
|
|
3300
|
+
}, [N("option", qc, B(e.t("exhibition.collection.startDate")), 1), (L(!0), M(O, null, z(e.options.begin ?? [], (e) => (L(), M("option", {
|
|
3300
3301
|
key: e.value,
|
|
3301
3302
|
value: e.value
|
|
3302
|
-
}, B(e.label), 9,
|
|
3303
|
+
}, B(e.label), 9, Jc))), 128))], 40, Kc), N("select", {
|
|
3303
3304
|
value: e.filters.end,
|
|
3304
3305
|
"aria-label": e.t("exhibition.collection.endDate"),
|
|
3305
3306
|
onChange: (t) => e.filters.end = t.target.value
|
|
3306
|
-
}, [N("option",
|
|
3307
|
+
}, [N("option", Xc, B(e.t("exhibition.collection.endDate")), 1), (L(!0), M(O, null, z(e.options.end ?? [], (e) => (L(), M("option", {
|
|
3307
3308
|
key: e.value,
|
|
3308
3309
|
value: e.value
|
|
3309
|
-
}, B(e.label), 9,
|
|
3310
|
-
N("div",
|
|
3310
|
+
}, B(e.label), 9, Zc))), 128))], 40, Yc)]),
|
|
3311
|
+
N("div", Qc, [N("button", {
|
|
3311
3312
|
type: "button",
|
|
3312
3313
|
onClick: (t) => a(e)
|
|
3313
|
-
}, B(e.t("core.action.go")), 9,
|
|
3314
|
+
}, B(e.t("core.action.go")), 9, $c)])
|
|
3314
3315
|
])]),
|
|
3315
3316
|
_: 1
|
|
3316
3317
|
}, 8, ["spec"]), F(V(W), {
|
|
@@ -3319,28 +3320,28 @@ var wo = {
|
|
|
3319
3320
|
keypath: "exhibition.timeline.intro"
|
|
3320
3321
|
})]));
|
|
3321
3322
|
}
|
|
3322
|
-
},
|
|
3323
|
+
}, tl = { class: "mwnf-picture-gallery" }, nl = {
|
|
3323
3324
|
key: 0,
|
|
3324
3325
|
class: "mwnf-picture-gallery__selected"
|
|
3325
|
-
},
|
|
3326
|
+
}, rl = { class: "mwnf-picture-gallery__image" }, il = ["src", "alt"], al = { class: "mwnf-picture-gallery__details" }, ol = { class: "mwnf-picture-gallery__detail mwnf-picture-gallery__detail--title" }, sl = { key: 0 }, cl = ["innerHTML"], ll = {
|
|
3326
3327
|
key: 0,
|
|
3327
3328
|
class: "mwnf-picture-gallery__label"
|
|
3328
|
-
},
|
|
3329
|
+
}, ul = ["innerHTML"], dl = {
|
|
3329
3330
|
key: 0,
|
|
3330
3331
|
class: "mwnf-picture-gallery__detail"
|
|
3331
|
-
},
|
|
3332
|
+
}, fl = {
|
|
3332
3333
|
key: 2,
|
|
3333
3334
|
class: "mwnf-picture-gallery__unresolved"
|
|
3334
|
-
},
|
|
3335
|
+
}, pl = {
|
|
3335
3336
|
key: 1,
|
|
3336
3337
|
class: "mwnf-picture-gallery__empty"
|
|
3337
|
-
},
|
|
3338
|
+
}, ml = {
|
|
3338
3339
|
key: 2,
|
|
3339
3340
|
class: "mwnf-picture-gallery__strip"
|
|
3340
|
-
},
|
|
3341
|
+
}, hl = { class: "mwnf-picture-gallery__thumbs" }, gl = ["onClick"], _l = ["src", "alt"], vl = { class: "mwnf-picture-gallery__thumb-text" }, yl = { key: 0 }, bl = ["innerHTML"], xl = { key: 1 }, Sl = {
|
|
3341
3342
|
key: 0,
|
|
3342
3343
|
class: "mwnf-picture-gallery__toggle"
|
|
3343
|
-
},
|
|
3344
|
+
}, Cl = {
|
|
3344
3345
|
__name: "PictureGallery",
|
|
3345
3346
|
props: {
|
|
3346
3347
|
pictures: {
|
|
@@ -3375,23 +3376,23 @@ var wo = {
|
|
|
3375
3376
|
emits: ["update:selectedId"],
|
|
3376
3377
|
setup(e, { emit: t }) {
|
|
3377
3378
|
let r = e, i = t, { t: a } = q(), o = k(() => r.pictures.find((e) => e.id === r.selectedId) ?? null), s = k(() => r.pictures.some((e) => e.backRelated?.length)), c = R(!1);
|
|
3378
|
-
|
|
3379
|
+
bt(() => r.pictures, () => {
|
|
3379
3380
|
c.value = !1;
|
|
3380
3381
|
});
|
|
3381
3382
|
let l = k(() => c.value ? r.pictures : r.pictures.filter((e) => !e.backRelated?.length));
|
|
3382
3383
|
function u(e) {
|
|
3383
3384
|
i("update:selectedId", e.id);
|
|
3384
3385
|
}
|
|
3385
|
-
return (t, r) => (L(), M("div",
|
|
3386
|
+
return (t, r) => (L(), M("div", tl, [o.value ? (L(), M("div", nl, [N("div", rl, [N("img", {
|
|
3386
3387
|
src: o.value.image,
|
|
3387
3388
|
alt: o.value.imageAlt ?? ""
|
|
3388
|
-
}, null, 8,
|
|
3389
|
-
N("div",
|
|
3389
|
+
}, null, 8, il)]), N("div", al, [
|
|
3390
|
+
N("div", ol, [o.value.imageCaption ? (L(), M("span", sl, B(o.value.imageCaption) + ", ", 1)) : j("", !0), N("span", { innerHTML: o.value.name }, null, 8, cl)]),
|
|
3390
3391
|
(L(!0), M(O, null, z(o.value.fields ?? [], (e, t) => (L(), M("div", {
|
|
3391
3392
|
key: t,
|
|
3392
3393
|
class: "mwnf-picture-gallery__detail"
|
|
3393
|
-
}, [e.label ? (L(), M("span",
|
|
3394
|
-
o.value.detail ? (L(), M("div",
|
|
3394
|
+
}, [e.label ? (L(), M("span", ll, B(e.label), 1)) : j("", !0), N("span", { innerHTML: e.value }, null, 8, ul)]))), 128)),
|
|
3395
|
+
o.value.detail ? (L(), M("div", dl, B(o.value.detail), 1)) : j("", !0),
|
|
3395
3396
|
o.value.to ? (L(), A(n, {
|
|
3396
3397
|
key: 1,
|
|
3397
3398
|
class: "mwnf-picture-gallery__link",
|
|
@@ -3399,8 +3400,8 @@ var wo = {
|
|
|
3399
3400
|
}, {
|
|
3400
3401
|
default: H(() => [P(B(V(a)(e.seeItemEntry)) + " →", 1)]),
|
|
3401
3402
|
_: 1
|
|
3402
|
-
}, 8, ["to"])) : (L(), M("div",
|
|
3403
|
-
])])) : (L(), M("div",
|
|
3403
|
+
}, 8, ["to"])) : (L(), M("div", fl, B(V(a)(e.unresolvedEntry)), 1))
|
|
3404
|
+
])])) : (L(), M("div", pl, B(V(a)(e.emptyEntry)), 1)), e.pictures.length ? (L(), M("div", ml, [N("ul", hl, [(L(!0), M(O, null, z(l.value, (t) => (L(), M("li", {
|
|
3404
3405
|
key: t.id,
|
|
3405
3406
|
class: I(["mwnf-picture-gallery__thumb", {
|
|
3406
3407
|
"mwnf-picture-gallery__thumb--active": t.id === e.selectedId,
|
|
@@ -3413,31 +3414,31 @@ var wo = {
|
|
|
3413
3414
|
src: t.image,
|
|
3414
3415
|
alt: t.imageAlt ?? "",
|
|
3415
3416
|
loading: "lazy"
|
|
3416
|
-
}, null, 8,
|
|
3417
|
-
t.imageCaption ? (L(), M("span",
|
|
3417
|
+
}, null, 8, _l)], 8, gl), N("div", vl, [
|
|
3418
|
+
t.imageCaption ? (L(), M("span", yl, B(t.imageCaption) + ", ", 1)) : j("", !0),
|
|
3418
3419
|
N("span", {
|
|
3419
3420
|
class: "mwnf-picture-gallery__thumb-name",
|
|
3420
3421
|
innerHTML: t.name
|
|
3421
|
-
}, null, 8,
|
|
3422
|
-
t.detail ? (L(), M("span",
|
|
3423
|
-
])], 2))), 128))]), s.value ? (L(), M("label",
|
|
3422
|
+
}, null, 8, bl),
|
|
3423
|
+
t.detail ? (L(), M("span", xl, ", " + B(t.detail), 1)) : j("", !0)
|
|
3424
|
+
])], 2))), 128))]), s.value ? (L(), M("label", Sl, [U(N("input", {
|
|
3424
3425
|
"onUpdate:modelValue": r[0] ||= (e) => c.value = e,
|
|
3425
3426
|
type: "checkbox"
|
|
3426
|
-
}, null, 512), [[
|
|
3427
|
+
}, null, 512), [[gt, c.value]]), N("span", null, B(c.value ? V(a)(e.hideRelatedEntry) : V(a)(e.addRelatedEntry)), 1)])) : j("", !0)])) : j("", !0)]));
|
|
3427
3428
|
}
|
|
3428
|
-
},
|
|
3429
|
+
}, wl = {
|
|
3429
3430
|
key: 0,
|
|
3430
3431
|
class: "mwnf-picture-narrative"
|
|
3431
|
-
},
|
|
3432
|
+
}, Tl = ["innerHTML"], El = {
|
|
3432
3433
|
key: 1,
|
|
3433
3434
|
class: "mwnf-picture-narrative__related"
|
|
3434
|
-
},
|
|
3435
|
+
}, Dl = { class: "mwnf-picture-narrative__heading" }, Ol = { class: "mwnf-picture-narrative__images" }, kl = { class: "mwnf-picture-narrative__image mwnf-picture-narrative__image--main" }, Al = ["src", "alt"], jl = { class: "mwnf-picture-narrative__thumb-text" }, Ml = ["innerHTML"], Nl = { key: 0 }, Pl = ["onClick"], Fl = ["src", "alt"], Il = { class: "mwnf-picture-narrative__thumb-text" }, Ll = ["innerHTML"], Rl = { key: 0 }, zl = {
|
|
3435
3436
|
key: 0,
|
|
3436
3437
|
class: "mwnf-picture-narrative__relation"
|
|
3437
|
-
},
|
|
3438
|
+
}, Bl = {
|
|
3438
3439
|
key: 2,
|
|
3439
3440
|
class: "mwnf-picture-narrative__related"
|
|
3440
|
-
},
|
|
3441
|
+
}, Vl = { class: "mwnf-picture-narrative__heading" }, Hl = { class: "mwnf-picture-narrative__text mwnf-picture-narrative__text--reciprocal" }, Ul = { class: "mwnf-picture-narrative__image" }, Wl = ["src", "alt"], Gl = { class: "mwnf-picture-narrative__thumb-text" }, Kl = ["innerHTML"], ql = { key: 0 }, Jl = {
|
|
3441
3442
|
__name: "PictureNarrative",
|
|
3442
3443
|
props: {
|
|
3443
3444
|
picture: {
|
|
@@ -3459,20 +3460,20 @@ var wo = {
|
|
|
3459
3460
|
},
|
|
3460
3461
|
emits: ["select"],
|
|
3461
3462
|
setup(e, { emit: t }) {
|
|
3462
|
-
let n = e, r = t, { t: i } = q(), a = k(() => n.contextualDescription ?
|
|
3463
|
+
let n = e, r = t, { t: i } = q(), a = k(() => n.contextualDescription ? Dt(n.contextualDescription, { breaks: !0 }) : ""), o = k(() => n.picture?.related ?? []), s = k(() => n.picture?.backRelated?.[0] ?? null);
|
|
3463
3464
|
function c(e) {
|
|
3464
3465
|
r("select", e.id);
|
|
3465
3466
|
}
|
|
3466
|
-
return (t, n) => e.picture ? (L(), M("div",
|
|
3467
|
+
return (t, n) => e.picture ? (L(), M("div", wl, [
|
|
3467
3468
|
a.value ? (L(), M("div", {
|
|
3468
3469
|
key: 0,
|
|
3469
3470
|
class: "mwnf-picture-narrative__text mwnf-sheet__block",
|
|
3470
3471
|
innerHTML: a.value
|
|
3471
|
-
}, null, 8,
|
|
3472
|
-
o.value.length ? (L(), M("div",
|
|
3472
|
+
}, null, 8, Tl)) : j("", !0),
|
|
3473
|
+
o.value.length ? (L(), M("div", El, [N("div", Dl, B(V(i)(e.relatedHeadingEntry)), 1), N("div", Ol, [N("div", kl, [N("img", {
|
|
3473
3474
|
src: e.picture.image,
|
|
3474
3475
|
alt: e.picture.imageAlt ?? ""
|
|
3475
|
-
}, null, 8,
|
|
3476
|
+
}, null, 8, Al), N("div", jl, [N("span", { innerHTML: e.picture.name }, null, 8, Ml), e.picture.detail ? (L(), M("span", Nl, ", " + B(e.picture.detail), 1)) : j("", !0)])]), (L(!0), M(O, null, z(o.value, (e) => (L(), M("div", {
|
|
3476
3477
|
key: e.picture.id,
|
|
3477
3478
|
class: "mwnf-picture-narrative__image"
|
|
3478
3479
|
}, [
|
|
@@ -3482,22 +3483,22 @@ var wo = {
|
|
|
3482
3483
|
}, [N("img", {
|
|
3483
3484
|
src: e.picture.image,
|
|
3484
3485
|
alt: e.picture.imageAlt ?? ""
|
|
3485
|
-
}, null, 8,
|
|
3486
|
-
N("div",
|
|
3487
|
-
e.text ? (L(), M("div",
|
|
3486
|
+
}, null, 8, Fl)], 8, Pl),
|
|
3487
|
+
N("div", Il, [N("span", { innerHTML: e.picture.name }, null, 8, Ll), e.picture.detail ? (L(), M("span", Rl, ", " + B(e.picture.detail), 1)) : j("", !0)]),
|
|
3488
|
+
e.text ? (L(), M("div", zl, B(e.text), 1)) : j("", !0)
|
|
3488
3489
|
]))), 128))])])) : j("", !0),
|
|
3489
|
-
s.value ? (L(), M("div",
|
|
3490
|
-
N("div",
|
|
3491
|
-
N("p",
|
|
3492
|
-
N("div",
|
|
3490
|
+
s.value ? (L(), M("div", Bl, [
|
|
3491
|
+
N("div", Vl, B(V(i)(e.relatedHeadingEntry)), 1),
|
|
3492
|
+
N("p", Hl, B(s.value.reciprocalText || V(i)(e.reciprocalFallbackEntry)), 1),
|
|
3493
|
+
N("div", Ul, [N("button", {
|
|
3493
3494
|
type: "button",
|
|
3494
3495
|
onClick: n[0] ||= (e) => c(s.value.picture)
|
|
3495
3496
|
}, [N("img", {
|
|
3496
3497
|
src: s.value.picture.image,
|
|
3497
3498
|
alt: s.value.picture.imageAlt ?? ""
|
|
3498
|
-
}, null, 8,
|
|
3499
|
+
}, null, 8, Wl)]), N("div", Gl, [N("span", { innerHTML: s.value.picture.name }, null, 8, Kl), s.value.picture.detail ? (L(), M("span", ql, ", " + B(s.value.picture.detail), 1)) : j("", !0)])])
|
|
3499
3500
|
])) : j("", !0)
|
|
3500
3501
|
])) : j("", !0);
|
|
3501
3502
|
}
|
|
3502
3503
|
};
|
|
3503
|
-
export {
|
|
3504
|
+
export { Ls as ExhibitionAbout, xa as ExhibitionCollectionResults, Ba as ExhibitionCollectionSearch, Ps as ExhibitionHome, Sc as ExhibitionItemDetail, Ya as ExhibitionPartnerObjects, wr as ExhibitionPartners, Rc as ExhibitionRelatedContent, ur as ExhibitionSearchHowTo, ii as ExhibitionSearchResults, xo as ExhibitionShell, at as ExhibitionTheme, bc as ExhibitionThemeGallery, tc as ExhibitionThemes, el as ExhibitionTimeline, zi as ExhibitionTimelineGallery, Mi as ExhibitionTimelineResults, zo as FeaturedPartners, Wt as GalleryAbout, Bn as GalleryCollectionResults, nr as GalleryCollectionSearch, Gt as GalleryCredits, ps as GalleryHome, hs as GalleryItemDetail, cr as GalleryPartnerObjects, dn as GalleryPartners, Jt as GallerySearchHowTo, Dn as GallerySearchResults, ho as GalleryShell, js as GalleryTimeline, jn as GalleryTimelineGallery, On as GalleryTimelineResults, rt as ItemDetailView, Ht as PartnerDetail, Cl as PictureGallery, Jl as PictureNarrative, bo as PopupLogo, is as SiblingGalleries, ct as exhibitionAboutSpec, To as exhibitionConfig, be as exhibitionPartnerDetail, st as exhibitionThemeSpec, wo as galleryConfig, ve as galleryPartnerDetail, uo as standardRoutes, ot as themeNodeRoute };
|