@museumwnf/viewer-layout 3.79.0 → 3.80.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +46 -0
- package/dist/dxa.js +818 -781
- package/package.json +3 -3
- package/src/dxa/testing.js +69 -41
package/dist/dxa.js
CHANGED
|
@@ -3,23 +3,23 @@ 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 } from "./TimelineEventList-CIkKxyQu.js";
|
|
4
4
|
import { t as s } from "./RecordView-CBC7tBCX.js";
|
|
5
5
|
import { A as c, C as l, D as u, E as d, M as f, N as p, O as m, S as h, T as g, _, a as v, b as y, c as ee, d as te, f as b, g as x, h as ne, i as re, j as ie, k as ae, l as oe, m as se, n as ce, o as le, p as ue, r as de, s as fe, t as pe, u as me, v as he, w as ge, x as _e, y as ve } from "./data-DlmKSxgh.js";
|
|
6
|
-
import { A as ye, C as be, D as xe, E as Se, M as S, N as Ce, O as we, P 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
|
|
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
|
|
15
|
-
import { I18nText as
|
|
16
|
-
import { RouterLink as
|
|
17
|
-
import { romanFor as
|
|
6
|
+
import { A as ye, C as be, D as xe, E as Se, M as S, N as Ce, O as we, P 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 T, n as Re, o as ze, p as Be, r as Ve, s as He, t as Ue, u as We, v as E, w as Ge, x as Ke, y as qe } from "./data-D9H1tB75.js";
|
|
7
|
+
import { n as Je, r as D, t as Ye } from "./TimelineResultsView-Bn4rC_Se.js";
|
|
8
|
+
import { t as Xe } from "./SiteShell-CzKgoOBm.js";
|
|
9
|
+
import { i as Ze, n as Qe, r as $e, t as et } from "./chrome-Bv_mLlHM.js";
|
|
10
|
+
import { i as tt } from "./PageShell-BAtk_qcb.js";
|
|
11
|
+
import { n as nt, t as rt } from "./LegacyItemSheet-CNooycyz.js";
|
|
12
|
+
import { n as it, r as O } from "./Theme-BCn6_VkI.js";
|
|
13
|
+
import { n as at, r as ot, t as st } from "./themeSpecs-BJ82RvA1.js";
|
|
14
|
+
import { Fragment as k, computed as A, createBlock as j, createCommentVNode as M, createElementBlock as N, createElementVNode as P, createSlots as ct, createTextVNode as F, createVNode as I, normalizeClass as L, normalizeStyle as lt, onBeforeUnmount as ut, onMounted as dt, openBlock as R, reactive as ft, ref as z, renderList as B, renderSlot as pt, resolveDynamicComponent as mt, toDisplayString as V, unref as H, vModelCheckbox as ht, vModelSelect as gt, vModelText as _t, vShow as vt, watch as yt, watchEffect as bt, withCtx as U, withDirectives as W, withModifiers as xt } from "vue";
|
|
15
|
+
import { I18nText as G, LEGACY_SITES as St, NotFoundView as Ct, languageLabels as wt, loadEntities as Tt, mwnfLinks as K, offeredLanguages as Et, renderBlock as Dt, renderInline as q, renderPlain as Ot, sectionMeta as kt, useDataPackage as At, useFacets as jt, useI18n as J, useKeywordIndex as Mt, useSection as Nt, useSiteConfig as Pt, withEraWords as Ft, yearBuckets as Y, yearBucketsFromRange as It } from "@museumwnf/viewer-core";
|
|
16
|
+
import { RouterLink as X, useRoute as Z, 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: {
|
|
@@ -36,18 +36,18 @@ var Bt = { class: "mwnf-dxa-profile-languages" }, Vt = { class: "mwnf-dxa-profil
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
setup(i) {
|
|
39
|
-
let a = i, { t: c } =
|
|
39
|
+
let a = i, { t: c } = J(), l = A(() => a.family.labels?.[a.variant] ?? a.family.labels?.partner ?? {});
|
|
40
40
|
function u(e) {
|
|
41
41
|
let t = l.value.objects;
|
|
42
42
|
return (typeof t == "function" ? t(e) : t) ?? "partner.action.viewObjects";
|
|
43
43
|
}
|
|
44
|
-
return (a, d) => i.family.visible(i.id) ? (
|
|
44
|
+
return (a, d) => i.family.visible(i.id) ? (R(), j(s, {
|
|
45
45
|
key: 0,
|
|
46
46
|
spec: i.family.spec,
|
|
47
47
|
id: i.id,
|
|
48
|
-
class:
|
|
48
|
+
class: L(["mwnf-dxa-partner-profile", i.family.className])
|
|
49
49
|
}, {
|
|
50
|
-
header:
|
|
50
|
+
header: U(({ languages: n, language: r, select: a }) => [P("div", zt, [I(t, {
|
|
51
51
|
languages: n,
|
|
52
52
|
language: r,
|
|
53
53
|
from: i.family.legacyMap ? 1 : 2,
|
|
@@ -57,8 +57,8 @@ var Bt = { class: "mwnf-dxa-profile-languages" }, Vt = { class: "mwnf-dxa-profil
|
|
|
57
57
|
"language",
|
|
58
58
|
"from",
|
|
59
59
|
"onSelect"
|
|
60
|
-
])]),
|
|
61
|
-
"before-sheet":
|
|
60
|
+
])]), I(e)]),
|
|
61
|
+
"before-sheet": U(({ record: e, text: t, dir: a }) => [I(o, {
|
|
62
62
|
variant: "full",
|
|
63
63
|
partner: i.family.view(e, t),
|
|
64
64
|
heading: 1,
|
|
@@ -66,19 +66,19 @@ var Bt = { class: "mwnf-dxa-profile-languages" }, Vt = { class: "mwnf-dxa-profil
|
|
|
66
66
|
media: i.family.media ?? {},
|
|
67
67
|
show: i.family.legacyMap ? { map: !1 } : {},
|
|
68
68
|
dir: a
|
|
69
|
-
},
|
|
70
|
-
actions:
|
|
69
|
+
}, ct({
|
|
70
|
+
actions: U(({ partner: t }) => [t.objectsRoute ? (R(), j(n, {
|
|
71
71
|
key: 0,
|
|
72
72
|
class: "mwnf-button",
|
|
73
73
|
to: t.objectsRoute
|
|
74
74
|
}, {
|
|
75
|
-
default:
|
|
75
|
+
default: U(() => [F(V(H(c)(u(e))), 1)]),
|
|
76
76
|
_: 2
|
|
77
|
-
}, 1032, ["to"])) :
|
|
77
|
+
}, 1032, ["to"])) : M("", !0)]),
|
|
78
78
|
_: 2
|
|
79
79
|
}, [i.family.legacyMap ? {
|
|
80
80
|
name: "after",
|
|
81
|
-
fn:
|
|
81
|
+
fn: U(({ partner: e }) => [e.map ? (R(), N(k, { key: 0 }, [P("p", Bt, V(H(c)(i.family.legacyMap.label)), 1), I(r, {
|
|
82
82
|
class: "mwnf-dxa-profile-map",
|
|
83
83
|
provider: "google",
|
|
84
84
|
latitude: e.map.latitude,
|
|
@@ -90,7 +90,7 @@ var Bt = { class: "mwnf-dxa-profile-languages" }, Vt = { class: "mwnf-dxa-profil
|
|
|
90
90
|
"longitude",
|
|
91
91
|
"zoom",
|
|
92
92
|
"label"
|
|
93
|
-
])], 64)) : (
|
|
93
|
+
])], 64)) : (R(), N("p", Vt))]),
|
|
94
94
|
key: "0"
|
|
95
95
|
} : void 0]), 1032, [
|
|
96
96
|
"partner",
|
|
@@ -104,9 +104,9 @@ var Bt = { class: "mwnf-dxa-profile-languages" }, Vt = { class: "mwnf-dxa-profil
|
|
|
104
104
|
"spec",
|
|
105
105
|
"id",
|
|
106
106
|
"class"
|
|
107
|
-
])) : (
|
|
107
|
+
])) : (R(), j(H(Ct), { key: 1 }));
|
|
108
108
|
}
|
|
109
|
-
},
|
|
109
|
+
}, Ut = {
|
|
110
110
|
__name: "TextPage",
|
|
111
111
|
props: {
|
|
112
112
|
body: {
|
|
@@ -128,57 +128,57 @@ var Bt = { class: "mwnf-dxa-profile-languages" }, Vt = { class: "mwnf-dxa-profil
|
|
|
128
128
|
}
|
|
129
129
|
},
|
|
130
130
|
setup(t) {
|
|
131
|
-
return (n, r) => (
|
|
131
|
+
return (n, r) => (R(), N("div", { class: L(["mwnf-dxa-gallery-text", `mwnf-dxa-gallery-text--${t.kind}`]) }, [I(e, { to: t.back }, null, 8, ["to"]), I(H(G), {
|
|
132
132
|
class: "mwnf-dxa-gallery-text__body",
|
|
133
133
|
dir: "auto",
|
|
134
134
|
keypath: t.body,
|
|
135
135
|
"blank-lines": ""
|
|
136
136
|
}, null, 8, ["keypath"])], 2));
|
|
137
137
|
}
|
|
138
|
-
},
|
|
138
|
+
}, Wt = {
|
|
139
139
|
__name: "About",
|
|
140
140
|
setup(e) {
|
|
141
|
-
return (e, t) => (
|
|
141
|
+
return (e, t) => (R(), j(Ut, {
|
|
142
142
|
kind: "about",
|
|
143
143
|
body: "gallery.about.body"
|
|
144
144
|
}));
|
|
145
145
|
}
|
|
146
|
-
},
|
|
146
|
+
}, Gt = {
|
|
147
147
|
__name: "Credits",
|
|
148
148
|
props: { bodyKey: {
|
|
149
149
|
type: String,
|
|
150
150
|
required: !0
|
|
151
151
|
} },
|
|
152
152
|
setup(e) {
|
|
153
|
-
return (t, n) => (
|
|
153
|
+
return (t, n) => (R(), j(Ut, {
|
|
154
154
|
kind: "credits",
|
|
155
155
|
body: e.bodyKey
|
|
156
156
|
}, null, 8, ["body"]));
|
|
157
157
|
}
|
|
158
|
-
},
|
|
158
|
+
}, Kt = { class: "mwnf-dxa-exhibition-credits" }, qt = {
|
|
159
159
|
__name: "Credits",
|
|
160
160
|
props: { bodyKey: {
|
|
161
161
|
type: String,
|
|
162
162
|
required: !0
|
|
163
163
|
} },
|
|
164
164
|
setup(t) {
|
|
165
|
-
return (n, r) => (
|
|
165
|
+
return (n, r) => (R(), N("div", Kt, [I(e), I(H(G), {
|
|
166
166
|
class: "mwnf-dxa-exhibition-credits__body",
|
|
167
167
|
dir: "auto",
|
|
168
168
|
keypath: t.bodyKey,
|
|
169
169
|
"blank-lines": ""
|
|
170
170
|
}, null, 8, ["keypath"])]));
|
|
171
171
|
}
|
|
172
|
-
},
|
|
172
|
+
}, Jt = {
|
|
173
173
|
__name: "SearchHowTo",
|
|
174
174
|
setup(e) {
|
|
175
|
-
return (e, t) => (
|
|
175
|
+
return (e, t) => (R(), j(Ut, {
|
|
176
176
|
kind: "how-to",
|
|
177
177
|
body: "catalogue.search.howToEssay",
|
|
178
178
|
back: { name: "collection" }
|
|
179
179
|
}));
|
|
180
180
|
}
|
|
181
|
-
},
|
|
181
|
+
}, Yt = {
|
|
182
182
|
DGA: "dga",
|
|
183
183
|
ISL: "isl",
|
|
184
184
|
EPM: "isl",
|
|
@@ -186,33 +186,33 @@ var Bt = { class: "mwnf-dxa-profile-languages" }, Vt = { class: "mwnf-dxa-profil
|
|
|
186
186
|
BAR: "dba",
|
|
187
187
|
GALLERIES: "galleries",
|
|
188
188
|
DCA: "dca"
|
|
189
|
-
},
|
|
189
|
+
}, Xt = {
|
|
190
190
|
partner: "gallery.partners.statusPartner",
|
|
191
191
|
affiliate: "gallery.partners.statusAffiliate"
|
|
192
192
|
};
|
|
193
|
-
function
|
|
193
|
+
function Zt(e, t = Xt) {
|
|
194
194
|
let n = e?.own_project;
|
|
195
195
|
if (!n?.name) return null;
|
|
196
|
-
let r = String(n.backward_compatibility ?? "").split(":").pop().toUpperCase(), i = n.exhibition ? "exh" :
|
|
196
|
+
let r = String(n.backward_compatibility ?? "").split(":").pop().toUpperCase(), i = n.exhibition ? "exh" : Yt[r] ?? "", a = n.level === "partner" || !!n.exhibition;
|
|
197
197
|
return {
|
|
198
198
|
name: n.name,
|
|
199
199
|
status: a ? t.partner : t.affiliate,
|
|
200
200
|
tone: i
|
|
201
201
|
};
|
|
202
202
|
}
|
|
203
|
-
var
|
|
203
|
+
var Qt = {
|
|
204
204
|
partner: "exhibition.partners.statusPartner",
|
|
205
205
|
associated_partner: "exhibition.partners.statusAssociated",
|
|
206
206
|
minor_contributor: "exhibition.partners.statusFurtherAssociated"
|
|
207
|
-
},
|
|
208
|
-
function
|
|
207
|
+
}, $t = "mwnf3:institutions:";
|
|
208
|
+
function en(e) {
|
|
209
209
|
let t = e?.own_project;
|
|
210
210
|
if (!t?.name) return null;
|
|
211
|
-
let n = String(t.backward_compatibility ?? "").split(":").pop().toUpperCase(), r = String(e?.backward_compatibility ?? "").startsWith(
|
|
211
|
+
let n = String(t.backward_compatibility ?? "").split(":").pop().toUpperCase(), r = String(e?.backward_compatibility ?? "").startsWith($t) ? e.level : t.level;
|
|
212
212
|
return {
|
|
213
213
|
name: t.name,
|
|
214
|
-
status: t.exhibition ?
|
|
215
|
-
tone: t.exhibition ? "exh" :
|
|
214
|
+
status: t.exhibition ? Qt.partner : Qt[r] ?? null,
|
|
215
|
+
tone: t.exhibition ? "exh" : Yt[n] ?? ""
|
|
216
216
|
};
|
|
217
217
|
}
|
|
218
218
|
// src/dxa/gallery/Partners.vue
|
|
@@ -228,45 +228,45 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
|
|
|
228
228
|
orderToggle: !1,
|
|
229
229
|
tiebreak: (e) => e.own_project?.name ?? ""
|
|
230
230
|
};
|
|
231
|
-
return (t, i) => (
|
|
232
|
-
before:
|
|
231
|
+
return (t, i) => (R(), N("div", tn, [I(Je, { spec: r }, {
|
|
232
|
+
before: U(({ t, orderDir: n, toggleOrder: r }) => [P("div", nn, [I(e), P("div", rn, [P("button", {
|
|
233
233
|
type: "button",
|
|
234
234
|
onClick: r
|
|
235
|
-
},
|
|
235
|
+
}, V(t(n === "asc" ? "partner.list.sortDescending" : "partner.list.sortAscending")), 9, an)])]), I(H(G), {
|
|
236
236
|
id: "mwnf-dxa-partners-intro",
|
|
237
237
|
class: "mwnf-dxa-gallery-partners__intro",
|
|
238
238
|
dir: "auto",
|
|
239
239
|
keypath: "gallery.partners.intro"
|
|
240
240
|
})]),
|
|
241
|
-
"group-heading":
|
|
242
|
-
row:
|
|
243
|
-
|
|
241
|
+
"group-heading": U(({ group: e }) => [P("div", on, V(e.label), 1)]),
|
|
242
|
+
row: U(({ partner: e, view: t, t: r }) => [P("div", sn, [P("div", cn, [
|
|
243
|
+
I(n, {
|
|
244
244
|
class: "mwnf-dxa-gallery-partners__name",
|
|
245
245
|
to: t.route
|
|
246
246
|
}, {
|
|
247
|
-
default:
|
|
247
|
+
default: U(() => [P("span", { innerHTML: t.name }, null, 8, ln), t.city ? (R(), N("span", un, ", " + V(t.city), 1)) : M("", !0)]),
|
|
248
248
|
_: 2
|
|
249
249
|
}, 1032, ["to"]),
|
|
250
|
-
|
|
250
|
+
H(Zt)(e) ? (R(), N("div", {
|
|
251
251
|
key: 0,
|
|
252
|
-
class:
|
|
253
|
-
}, [
|
|
254
|
-
|
|
255
|
-
default:
|
|
252
|
+
class: L(["mwnf-dxa-partner-badge", H(Zt)(e).tone && `mwnf-dxa-partner-badge--${H(Zt)(e).tone}`])
|
|
253
|
+
}, [F(V(H(Zt)(e).name) + " ", 1), P("span", dn, V(r(H(Zt)(e).status)), 1)], 2)) : M("", !0),
|
|
254
|
+
P("div", fn, [I(n, { to: t.route }, {
|
|
255
|
+
default: U(() => [F(V(r("partner.action.readMore")), 1)]),
|
|
256
256
|
_: 2
|
|
257
|
-
}, 1032, ["to"]), e.item_count > 0 && t.objectsRoute ? (
|
|
257
|
+
}, 1032, ["to"]), e.item_count > 0 && t.objectsRoute ? (R(), N(k, { key: 0 }, [i[0] ||= P("span", {
|
|
258
258
|
class: "mwnf-dxa-gallery-partners__divider",
|
|
259
259
|
"aria-hidden": "true"
|
|
260
|
-
}, "|", -1),
|
|
261
|
-
default:
|
|
260
|
+
}, "|", -1), I(n, { to: t.objectsRoute }, {
|
|
261
|
+
default: U(() => [F(V(r("partner.action.viewObjects")), 1)]),
|
|
262
262
|
_: 2
|
|
263
|
-
}, 1032, ["to"])], 64)) :
|
|
264
|
-
]),
|
|
263
|
+
}, 1032, ["to"])], 64)) : M("", !0)])
|
|
264
|
+
]), P("div", pn, [t.logos?.[0] ? (R(), N("img", {
|
|
265
265
|
key: 0,
|
|
266
266
|
src: t.logos[0].url,
|
|
267
267
|
alt: t.plainName,
|
|
268
268
|
loading: "lazy"
|
|
269
|
-
}, null, 8, mn)) :
|
|
269
|
+
}, null, 8, mn)) : M("", !0)])])]),
|
|
270
270
|
_: 1
|
|
271
271
|
})]));
|
|
272
272
|
}
|
|
@@ -288,7 +288,7 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
|
|
|
288
288
|
},
|
|
289
289
|
emits: ["navigate"],
|
|
290
290
|
setup(e, { emit: t }) {
|
|
291
|
-
let n = e, r = t, { t: i } =
|
|
291
|
+
let n = e, r = t, { t: i } = J(), a = A(() => `mwnf-dxa-${n.family}-pages`), o = (e) => i(`${n.family}.pages.${e}`), s = (e) => typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia(`(max-width: ${e}px)`).matches, c = s(499), [l, u, d] = s(599) ? [
|
|
292
292
|
3,
|
|
293
293
|
2,
|
|
294
294
|
5
|
|
@@ -304,7 +304,7 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
|
|
|
304
304
|
8,
|
|
305
305
|
7,
|
|
306
306
|
15
|
|
307
|
-
], f =
|
|
307
|
+
], f = A(() => n.pageInfo?.currentPage ?? 1), p = A(() => n.pageInfo?.lastPage ?? 1), m = A(() => {
|
|
308
308
|
let e = 1, t = p.value;
|
|
309
309
|
if (p.value > d) {
|
|
310
310
|
let n = f.value;
|
|
@@ -317,43 +317,43 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
|
|
|
317
317
|
function g(e) {
|
|
318
318
|
h(e) || r("navigate", e);
|
|
319
319
|
}
|
|
320
|
-
return (e, t) => p.value > 1 ? (
|
|
320
|
+
return (e, t) => p.value > 1 ? (R(), N("div", {
|
|
321
321
|
key: 0,
|
|
322
|
-
class:
|
|
322
|
+
class: L(a.value)
|
|
323
323
|
}, [
|
|
324
|
-
|
|
324
|
+
P("button", {
|
|
325
325
|
type: "button",
|
|
326
|
-
class:
|
|
326
|
+
class: L([`${a.value}__button`, { "is-disabled": h(1) }]),
|
|
327
327
|
disabled: h(1),
|
|
328
328
|
onClick: t[0] ||= (e) => g(1)
|
|
329
|
-
}, [t[4] ||=
|
|
330
|
-
|
|
329
|
+
}, [t[4] ||= F(" <<", -1), H(c) ? M("", !0) : (R(), N("span", _n, V(" " + o("first")), 1))], 10, gn),
|
|
330
|
+
P("button", {
|
|
331
331
|
type: "button",
|
|
332
|
-
class:
|
|
332
|
+
class: L([`${a.value}__button`, { "is-disabled": h(f.value - 1) }]),
|
|
333
333
|
disabled: h(f.value - 1),
|
|
334
334
|
onClick: t[1] ||= (e) => g(f.value - 1)
|
|
335
|
-
}, [t[5] ||=
|
|
336
|
-
|
|
335
|
+
}, [t[5] ||= F(" <", -1), H(c) ? M("", !0) : (R(), N("span", yn, V(" " + o("previous")), 1))], 10, vn),
|
|
336
|
+
P("div", { class: L(`${a.value}__numbers`) }, [(R(!0), N(k, null, B(m.value, (e) => (R(), N("button", {
|
|
337
337
|
key: e,
|
|
338
338
|
type: "button",
|
|
339
|
-
class:
|
|
339
|
+
class: L([`${a.value}__button`, { "is-disabled": h(e) }]),
|
|
340
340
|
disabled: h(e),
|
|
341
341
|
"aria-current": e === f.value ? "page" : void 0,
|
|
342
342
|
onClick: (t) => g(e)
|
|
343
|
-
},
|
|
344
|
-
|
|
343
|
+
}, V(e), 11, bn))), 128))], 2),
|
|
344
|
+
P("button", {
|
|
345
345
|
type: "button",
|
|
346
|
-
class:
|
|
346
|
+
class: L([`${a.value}__button`, { "is-disabled": h(f.value + 1) }]),
|
|
347
347
|
disabled: h(f.value + 1),
|
|
348
348
|
onClick: t[2] ||= (e) => g(f.value + 1)
|
|
349
|
-
}, [
|
|
350
|
-
|
|
349
|
+
}, [H(c) ? M("", !0) : (R(), N("span", Sn, V(o("next") + " "), 1)), t[6] ||= F("> ", -1)], 10, xn),
|
|
350
|
+
P("button", {
|
|
351
351
|
type: "button",
|
|
352
|
-
class:
|
|
352
|
+
class: L([`${a.value}__button`, { "is-disabled": h(p.value) }]),
|
|
353
353
|
disabled: h(p.value),
|
|
354
354
|
onClick: t[3] ||= (e) => g(p.value)
|
|
355
|
-
}, [
|
|
356
|
-
], 2)) :
|
|
355
|
+
}, [H(c) ? M("", !0) : (R(), N("span", wn, V(o("last") + " "), 1)), t[7] ||= F(">> ", -1)], 10, Cn)
|
|
356
|
+
], 2)) : M("", !0);
|
|
357
357
|
}
|
|
358
358
|
}, Tn = ["onMouseenter"], En = { class: "mwnf-dxa-grid__frame" }, Dn = ["src", "alt"], On = ["src", "alt"], kn = { class: "mwnf-dxa-grid__text" }, An = ["innerHTML"], jn = { class: "mwnf-dxa-grid__date" }, Mn = { class: "mwnf-dxa-grid__partner" }, Nn = { class: "mwnf-dxa-grid__place" }, Pn = {
|
|
359
359
|
key: 0,
|
|
@@ -371,42 +371,42 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
|
|
|
371
371
|
}
|
|
372
372
|
},
|
|
373
373
|
setup(e) {
|
|
374
|
-
let { t } =
|
|
375
|
-
return (i, a) => (
|
|
374
|
+
let { t } = J(), r = z(-1);
|
|
375
|
+
return (i, a) => (R(), N("div", { class: L(["mwnf-dxa-grid", { "mwnf-dxa-grid--exhibition": e.family === "exhibition" }]) }, [(R(!0), N(k, null, B(e.rows, (i, o) => (R(), N("div", {
|
|
376
376
|
key: i.id,
|
|
377
377
|
class: "mwnf-dxa-grid__entry",
|
|
378
378
|
onMouseenter: (e) => r.value = o,
|
|
379
379
|
onMouseleave: a[0] ||= (e) => r.value = -1
|
|
380
|
-
}, [
|
|
380
|
+
}, [P("div", En, [P("img", {
|
|
381
381
|
class: "mwnf-dxa-grid__image",
|
|
382
382
|
src: i.image,
|
|
383
383
|
alt: i.imageAlt,
|
|
384
384
|
loading: "lazy"
|
|
385
|
-
}, null, 8, Dn)]),
|
|
385
|
+
}, null, 8, Dn)]), P("div", { class: L(["mwnf-dxa-grid__card", { "mwnf-dxa-grid__card--open": r.value === o }]) }, [I(n, {
|
|
386
386
|
class: "mwnf-dxa-grid__card-image",
|
|
387
387
|
to: i.to,
|
|
388
388
|
tabindex: "-1"
|
|
389
389
|
}, {
|
|
390
|
-
default:
|
|
390
|
+
default: U(() => [P("img", {
|
|
391
391
|
src: i.image,
|
|
392
392
|
alt: i.imageAlt,
|
|
393
393
|
loading: "lazy"
|
|
394
394
|
}, null, 8, On)]),
|
|
395
395
|
_: 2
|
|
396
|
-
}, 1032, ["to"]),
|
|
397
|
-
|
|
396
|
+
}, 1032, ["to"]), P("div", kn, [
|
|
397
|
+
P("p", {
|
|
398
398
|
class: "mwnf-dxa-grid__name",
|
|
399
399
|
innerHTML: i.name
|
|
400
400
|
}, null, 8, An),
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
e.family !== "exhibition" || i.project ? (
|
|
405
|
-
|
|
401
|
+
P("p", jn, V(i.date), 1),
|
|
402
|
+
P("p", Mn, V(i.partner), 1),
|
|
403
|
+
P("p", Nn, V(i.place), 1),
|
|
404
|
+
e.family !== "exhibition" || i.project ? (R(), N("p", Pn, [F(V(e.family === "exhibition" ? H(t)("exhibition.results.for") : H(t)("gallery.results.for")) + " ", 1), P("span", null, V(i.project), 1)])) : M("", !0),
|
|
405
|
+
I(n, {
|
|
406
406
|
class: "mwnf-dxa-grid__link",
|
|
407
407
|
to: i.to
|
|
408
408
|
}, {
|
|
409
|
-
default:
|
|
409
|
+
default: U(() => [F(V(H(t)("catalogue.results.seeDatabaseEntry")) + " >", 1)]),
|
|
410
410
|
_: 1
|
|
411
411
|
}, 8, ["to"])
|
|
412
412
|
])], 2)], 40, Tn))), 128))], 2));
|
|
@@ -420,17 +420,17 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
|
|
|
420
420
|
}, Bn = {
|
|
421
421
|
__name: "SearchResults",
|
|
422
422
|
setup(t) {
|
|
423
|
-
let n =
|
|
423
|
+
let n = Mt("items", {
|
|
424
424
|
grammar: "boolean",
|
|
425
425
|
haystack: b
|
|
426
|
-
}), r =
|
|
426
|
+
}), r = z(!1);
|
|
427
427
|
ve().then(() => {
|
|
428
428
|
r.value = !0;
|
|
429
429
|
});
|
|
430
430
|
function i(e) {
|
|
431
431
|
return !e || e === "all-objects";
|
|
432
432
|
}
|
|
433
|
-
let a =
|
|
433
|
+
let a = z(""), o = A(() => ({
|
|
434
434
|
entity: "items",
|
|
435
435
|
keys: ["q"],
|
|
436
436
|
sort: !1,
|
|
@@ -448,47 +448,47 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
|
|
|
448
448
|
value: `${n("catalogue.results.outOf")} ${r} ${n("catalogue.results.objects")}`
|
|
449
449
|
}]
|
|
450
450
|
}));
|
|
451
|
-
return (t, n) => (
|
|
451
|
+
return (t, n) => (R(), j(D, {
|
|
452
452
|
spec: o.value,
|
|
453
453
|
class: "mwnf-dxa-search-results"
|
|
454
454
|
}, {
|
|
455
|
-
before:
|
|
456
|
-
filters:
|
|
455
|
+
before: U(() => [I(e)]),
|
|
456
|
+
filters: U(({ apply: e }) => [P("form", {
|
|
457
457
|
class: "mwnf-dxa-refine-search",
|
|
458
|
-
onSubmit:
|
|
459
|
-
}, [
|
|
458
|
+
onSubmit: xt((t) => e({ q: a.value || "all-objects" }), ["prevent"])
|
|
459
|
+
}, [W(P("input", {
|
|
460
460
|
"onUpdate:modelValue": n[0] ||= (e) => a.value = e,
|
|
461
461
|
type: "text",
|
|
462
462
|
class: "mwnf-dxa-refine-search-input",
|
|
463
463
|
placeholder: t.$t("catalogue.search.keywordPlaceholder")
|
|
464
|
-
}, null, 8, In), [[
|
|
465
|
-
default:
|
|
464
|
+
}, null, 8, In), [[_t, a.value]]), P("button", Ln, V(t.$t("catalogue.search.submit")), 1)], 40, Fn), P("p", Rn, [I(H(X), { to: { name: "search-how-to" } }, {
|
|
465
|
+
default: U(() => [F(V(t.$t("catalogue.search.howTo")) + " ›", 1)]),
|
|
466
466
|
_: 1
|
|
467
467
|
})])]),
|
|
468
|
-
actions:
|
|
468
|
+
actions: U(({ pageInfo: e, goToPage: t }) => [I(Q, {
|
|
469
469
|
family: "gallery",
|
|
470
470
|
class: "mwnf-dxa-gallery-pages--top",
|
|
471
471
|
"page-info": e,
|
|
472
472
|
onNavigate: t
|
|
473
473
|
}, null, 8, ["page-info", "onNavigate"])]),
|
|
474
|
-
pagination:
|
|
475
|
-
after:
|
|
474
|
+
pagination: U(() => [...n[1] ||= []]),
|
|
475
|
+
after: U(({ pageInfo: e, goToPage: t }) => [I(Q, {
|
|
476
476
|
family: "gallery",
|
|
477
477
|
"page-info": e,
|
|
478
478
|
onNavigate: t
|
|
479
479
|
}, null, 8, ["page-info", "onNavigate"])]),
|
|
480
|
-
records:
|
|
480
|
+
records: U(({ rows: e }) => [e.length ? (R(), j($, {
|
|
481
481
|
key: 0,
|
|
482
482
|
rows: e
|
|
483
|
-
}, null, 8, ["rows"])) : (
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
default:
|
|
483
|
+
}, null, 8, ["rows"])) : (R(), N("p", zn, [
|
|
484
|
+
F(V(t.$t("catalogue.results.noResultsSearch")) + " ", 1),
|
|
485
|
+
I(H(X), { to: { name: "search-how-to" } }, {
|
|
486
|
+
default: U(() => [F(V(t.$t("catalogue.search.howTo")), 1)]),
|
|
487
487
|
_: 1
|
|
488
488
|
}),
|
|
489
|
-
n[2] ||=
|
|
490
|
-
|
|
491
|
-
default:
|
|
489
|
+
n[2] ||= P("span", { class: "mwnf-dxa-no-results-divider" }, "|", -1),
|
|
490
|
+
I(H(X), { to: { name: "collection" } }, {
|
|
491
|
+
default: U(() => [F(V(t.$t("core.section.collection")), 1)]),
|
|
492
492
|
_: 1
|
|
493
493
|
})
|
|
494
494
|
]))]),
|
|
@@ -498,11 +498,11 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
|
|
|
498
498
|
}, Vn = {
|
|
499
499
|
__name: "TimelineResults",
|
|
500
500
|
setup(t) {
|
|
501
|
-
return (t, n) => (
|
|
502
|
-
spec:
|
|
501
|
+
return (t, n) => (R(), j(Ye, {
|
|
502
|
+
spec: H(ie),
|
|
503
503
|
class: "mwnf-dxa-timeline-results"
|
|
504
504
|
}, {
|
|
505
|
-
before:
|
|
505
|
+
before: U(() => [I(e)]),
|
|
506
506
|
_: 1
|
|
507
507
|
}, 8, ["spec"]));
|
|
508
508
|
}
|
|
@@ -512,15 +512,15 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
|
|
|
512
512
|
}, Wn = {
|
|
513
513
|
__name: "TimelineGallery",
|
|
514
514
|
setup(t) {
|
|
515
|
-
return (t, n) => (
|
|
515
|
+
return (t, n) => (R(), j(D, {
|
|
516
516
|
spec: {
|
|
517
|
-
...
|
|
518
|
-
...
|
|
517
|
+
...H(c),
|
|
518
|
+
...H(he)
|
|
519
519
|
},
|
|
520
520
|
class: "mwnf-dxa-timeline-gallery"
|
|
521
521
|
}, {
|
|
522
|
-
before:
|
|
523
|
-
actions:
|
|
522
|
+
before: U(() => [I(e)]),
|
|
523
|
+
actions: U(({ filters: e, pageInfo: n, goToPage: r }) => [P("p", Hn, [I(H(X), { to: {
|
|
524
524
|
name: "timeline-results",
|
|
525
525
|
query: {
|
|
526
526
|
country: e.country,
|
|
@@ -528,20 +528,20 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
|
|
|
528
528
|
end: e.end
|
|
529
529
|
}
|
|
530
530
|
} }, {
|
|
531
|
-
default:
|
|
531
|
+
default: U(() => [F(" ➤ " + V(t.$t("timeline.nav.backToEvents")), 1)]),
|
|
532
532
|
_: 1
|
|
533
|
-
}, 8, ["to"])]),
|
|
533
|
+
}, 8, ["to"])]), I(Q, {
|
|
534
534
|
family: "gallery",
|
|
535
535
|
class: "mwnf-dxa-gallery-pages--top",
|
|
536
536
|
"page-info": n,
|
|
537
537
|
onNavigate: r
|
|
538
538
|
}, null, 8, ["page-info", "onNavigate"])]),
|
|
539
|
-
records:
|
|
539
|
+
records: U(({ rows: e, empty: t }) => [e.length ? (R(), j($, {
|
|
540
540
|
key: 0,
|
|
541
541
|
rows: e
|
|
542
|
-
}, null, 8, ["rows"])) : (
|
|
543
|
-
pagination:
|
|
544
|
-
after:
|
|
542
|
+
}, null, 8, ["rows"])) : (R(), N("p", Un, V(t), 1))]),
|
|
543
|
+
pagination: U(() => [...n[0] ||= []]),
|
|
544
|
+
after: U(({ pageInfo: e, goToPage: t }) => [I(Q, {
|
|
545
545
|
family: "gallery",
|
|
546
546
|
"page-info": e,
|
|
547
547
|
onNavigate: t
|
|
@@ -558,64 +558,64 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
|
|
|
558
558
|
}, Zn = { class: "mwnf-dxa-options-label" }, Qn = { class: "mwnf-dxa-gallery-results__timeline" }, $n = {
|
|
559
559
|
__name: "CollectionResults",
|
|
560
560
|
setup(t) {
|
|
561
|
-
let { t: n } =
|
|
561
|
+
let { t: n } = J(), r = {
|
|
562
562
|
type: "gallery.collection.type",
|
|
563
563
|
dynasty: "gallery.collection.periodDynasty",
|
|
564
564
|
subject: "gallery.collection.subject",
|
|
565
565
|
material: "gallery.collection.material"
|
|
566
|
-
}, o = (e) => n(ce[e] ?? e), s =
|
|
566
|
+
}, o = (e) => n(ce[e] ?? e), s = A(() => Y(x.value ?? [], o)), c = A(() => (x.value ?? []).length), l = v.keys, u = (e) => l.every((t) => !e[t]);
|
|
567
567
|
function d(e, t, r) {
|
|
568
568
|
let i = (n) => (t[n] ?? []).find((t) => String(t.value) === String(e[n]))?.label ?? e[n], a = (e) => s.value.find((t) => String(t.value) === String(e))?.label ?? e, o = [];
|
|
569
569
|
e.country && o.push(i("country"));
|
|
570
570
|
for (let t of de) e[t] && o.push(i(t));
|
|
571
571
|
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");
|
|
572
572
|
}
|
|
573
|
-
let p =
|
|
573
|
+
let p = A(() => new Set((f.value ?? []).map((e) => e.country_id)));
|
|
574
574
|
function m(e) {
|
|
575
575
|
let t = le(e.country);
|
|
576
576
|
return !!(t && p.value.has(t));
|
|
577
577
|
}
|
|
578
|
-
return (t, s) => (
|
|
578
|
+
return (t, s) => (R(), N("div", Gn, [I(D, {
|
|
579
579
|
spec: {
|
|
580
|
-
...
|
|
581
|
-
...
|
|
580
|
+
...H(v),
|
|
581
|
+
...H(he),
|
|
582
582
|
summary: () => []
|
|
583
583
|
},
|
|
584
584
|
class: "mwnf-dxa-collection-results"
|
|
585
585
|
}, {
|
|
586
|
-
before:
|
|
587
|
-
actions:
|
|
586
|
+
before: U(({ filters: t, options: r, matching: i, pageInfo: a }) => [I(e), P("div", Kn, [P("p", null, [F(V(H(n)("gallery.collection.heading")) + " | ", 1), P("span", qn, V(d(t, r, i)), 1)]), P("p", null, V(a.total) + " " + V(H(n)("gallery.collection.resultsOutOf")) + " " + V(c.value) + " " + V(H(n)("gallery.collection.objects")), 1)])]),
|
|
587
|
+
actions: U(({ pageInfo: e, goToPage: t }) => [I(Q, {
|
|
588
588
|
family: "gallery",
|
|
589
589
|
class: "mwnf-dxa-gallery-pages--top",
|
|
590
590
|
"page-info": e,
|
|
591
591
|
onNavigate: t
|
|
592
592
|
}, null, 8, ["page-info", "onNavigate"])]),
|
|
593
|
-
records:
|
|
593
|
+
records: U(({ rows: e }) => [e.length ? (R(), j($, {
|
|
594
594
|
key: 0,
|
|
595
595
|
rows: e
|
|
596
|
-
}, null, 8, ["rows"])) : (
|
|
596
|
+
}, null, 8, ["rows"])) : (R(), j(H(G), {
|
|
597
597
|
key: 1,
|
|
598
598
|
class: "mwnf-dxa-gallery-results__none",
|
|
599
599
|
keypath: "gallery.collection.noResults"
|
|
600
600
|
}))]),
|
|
601
|
-
pagination:
|
|
602
|
-
after:
|
|
601
|
+
pagination: U(({ pageInfo: e }) => [e.lastPage <= 1 ? (R(), N("div", Jn)) : M("", !0)]),
|
|
602
|
+
after: U(({ pageInfo: e, goToPage: t }) => [I(Q, {
|
|
603
603
|
family: "gallery",
|
|
604
604
|
"page-info": e,
|
|
605
605
|
onNavigate: t
|
|
606
606
|
}, null, 8, ["page-info", "onNavigate"])]),
|
|
607
|
-
aside:
|
|
607
|
+
aside: U(({ filters: e, apply: t, reset: c, matching: l, options: d }) => [I(a, {
|
|
608
608
|
mode: "immediate",
|
|
609
|
-
title: u(e) ?
|
|
610
|
-
"reset-label":
|
|
609
|
+
title: u(e) ? H(n)("gallery.collection.filterBy") : H(n)("gallery.collection.filterFurtherBy"),
|
|
610
|
+
"reset-label": H(n)("gallery.collection.resetFilters"),
|
|
611
611
|
disabled: l.length === 0,
|
|
612
612
|
onReset: (e) => c()
|
|
613
613
|
}, {
|
|
614
|
-
default:
|
|
615
|
-
|
|
614
|
+
default: U(() => [
|
|
615
|
+
I(i, {
|
|
616
616
|
"model-value": e.country,
|
|
617
617
|
options: d.country,
|
|
618
|
-
placeholder:
|
|
618
|
+
placeholder: H(n)("gallery.collection.selectCountry"),
|
|
619
619
|
"onUpdate:modelValue": (e) => t({ country: e })
|
|
620
620
|
}, null, 8, [
|
|
621
621
|
"model-value",
|
|
@@ -623,11 +623,11 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
|
|
|
623
623
|
"placeholder",
|
|
624
624
|
"onUpdate:modelValue"
|
|
625
625
|
]),
|
|
626
|
-
(
|
|
626
|
+
(R(!0), N(k, null, B(H(de), (a) => (R(), j(i, {
|
|
627
627
|
key: a,
|
|
628
628
|
"model-value": e[a],
|
|
629
629
|
options: d[a],
|
|
630
|
-
placeholder:
|
|
630
|
+
placeholder: H(n)(r[a]),
|
|
631
631
|
"hide-empty": "",
|
|
632
632
|
"onUpdate:modelValue": (e) => t({ [a]: e })
|
|
633
633
|
}, null, 8, [
|
|
@@ -636,20 +636,20 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
|
|
|
636
636
|
"placeholder",
|
|
637
637
|
"onUpdate:modelValue"
|
|
638
638
|
]))), 128)),
|
|
639
|
-
|
|
639
|
+
P("div", Yn, [I(i, {
|
|
640
640
|
"model-value": e.from,
|
|
641
|
-
options:
|
|
642
|
-
placeholder:
|
|
641
|
+
options: H(Y)(l, o),
|
|
642
|
+
placeholder: H(n)("gallery.collection.startDate"),
|
|
643
643
|
"onUpdate:modelValue": (e) => t({ from: e })
|
|
644
644
|
}, null, 8, [
|
|
645
645
|
"model-value",
|
|
646
646
|
"options",
|
|
647
647
|
"placeholder",
|
|
648
648
|
"onUpdate:modelValue"
|
|
649
|
-
]),
|
|
649
|
+
]), I(i, {
|
|
650
650
|
"model-value": e.to,
|
|
651
|
-
options:
|
|
652
|
-
placeholder:
|
|
651
|
+
options: H(Y)(l, o),
|
|
652
|
+
placeholder: H(n)("gallery.collection.endDate"),
|
|
653
653
|
"onUpdate:modelValue": (e) => t({ to: e })
|
|
654
654
|
}, null, 8, [
|
|
655
655
|
"model-value",
|
|
@@ -664,10 +664,10 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
|
|
|
664
664
|
"reset-label",
|
|
665
665
|
"disabled",
|
|
666
666
|
"onReset"
|
|
667
|
-
]), m(e) ? (
|
|
667
|
+
]), m(e) ? (R(), N("div", Xn, [P("div", Zn, V(H(n)("gallery.collection.timelineForSearch")), 1), P("p", Qn, [s[0] ||= P("span", {
|
|
668
668
|
class: "mwnf-dxa-gallery-results__share",
|
|
669
669
|
"aria-hidden": "true"
|
|
670
|
-
}, "➦", -1),
|
|
670
|
+
}, "➦", -1), I(H(X), { to: {
|
|
671
671
|
name: "timeline-results",
|
|
672
672
|
query: {
|
|
673
673
|
country: e.country,
|
|
@@ -675,9 +675,9 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
|
|
|
675
675
|
end: e.to
|
|
676
676
|
}
|
|
677
677
|
} }, {
|
|
678
|
-
default:
|
|
678
|
+
default: U(() => [F(V(H(n)("gallery.collection.timeline")) + " | " + V(H(_)("countries", H(le)(e.country))), 1)]),
|
|
679
679
|
_: 2
|
|
680
|
-
}, 1032, ["to"])])])) :
|
|
680
|
+
}, 1032, ["to"])])])) : M("", !0)]),
|
|
681
681
|
_: 1
|
|
682
682
|
}, 8, ["spec"])]));
|
|
683
683
|
}
|
|
@@ -696,46 +696,46 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
|
|
|
696
696
|
}, pr = ["value"], mr = ["innerHTML"], hr = {
|
|
697
697
|
__name: "CollectionSearch",
|
|
698
698
|
setup(e) {
|
|
699
|
-
let t =
|
|
699
|
+
let t = Lt(), { t: n } = J(), r = A(() => Dt(`${n("gallery.collection.introBeforeName")} *${te(ee)}* ${n("gallery.collection.introAfterName")}`)), i = jt(x, pe), a = {
|
|
700
700
|
country: "gallery.collection.selectCountry",
|
|
701
701
|
type: "gallery.collection.type",
|
|
702
702
|
dynasty: "gallery.collection.periodDynasty",
|
|
703
703
|
subject: "gallery.collection.subject",
|
|
704
704
|
material: "gallery.collection.material"
|
|
705
|
-
}, o =
|
|
705
|
+
}, o = A(() => ["country", ...de].filter((e) => e === "country" || (i.value[e] ?? []).length > 0).map((e) => ({
|
|
706
706
|
key: e,
|
|
707
707
|
name: a[e],
|
|
708
708
|
options: i.value[e] ?? []
|
|
709
|
-
}))), s = (e) => n(ce[e] ?? e), c =
|
|
709
|
+
}))), s = (e) => n(ce[e] ?? e), c = A(() => Y(x.value ?? [], s));
|
|
710
710
|
function l(e, n) {
|
|
711
711
|
n !== "" && n != null && t.push({
|
|
712
712
|
name: "collection-results",
|
|
713
713
|
query: { [e]: String(n) }
|
|
714
714
|
});
|
|
715
715
|
}
|
|
716
|
-
return (e, t) => (
|
|
716
|
+
return (e, t) => (R(), N("div", er, [P("div", tr, [P("div", nr, V(H(n)("gallery.collection.filterBy")), 1), P("div", rr, [(R(!0), N(k, null, B(o.value, (e) => (R(), N("select", {
|
|
717
717
|
key: e.key,
|
|
718
718
|
class: "mwnf-dxa-gallery-collection__select",
|
|
719
|
-
"aria-label":
|
|
719
|
+
"aria-label": H(n)(e.name),
|
|
720
720
|
onChange: (t) => l(e.key, t.target.value)
|
|
721
|
-
}, [
|
|
721
|
+
}, [P("option", ar, V(H(n)(e.name)), 1), (R(!0), N(k, null, B(e.options, (e) => (R(), N("option", {
|
|
722
722
|
key: e.value,
|
|
723
723
|
value: String(e.value)
|
|
724
|
-
},
|
|
724
|
+
}, V(e.label), 9, or))), 128))], 40, ir))), 128)), P("div", sr, [P("select", {
|
|
725
725
|
class: "mwnf-dxa-gallery-collection__select",
|
|
726
|
-
"aria-label":
|
|
726
|
+
"aria-label": H(n)("gallery.collection.startDate"),
|
|
727
727
|
onChange: t[0] ||= (e) => l("from", e.target.value)
|
|
728
|
-
}, [
|
|
728
|
+
}, [P("option", lr, V(H(n)("gallery.collection.startDate")), 1), (R(!0), N(k, null, B(c.value, (e) => (R(), N("option", {
|
|
729
729
|
key: e.value,
|
|
730
730
|
value: String(e.value)
|
|
731
|
-
},
|
|
731
|
+
}, V(e.label), 9, ur))), 128))], 40, cr), P("select", {
|
|
732
732
|
class: "mwnf-dxa-gallery-collection__select",
|
|
733
|
-
"aria-label":
|
|
733
|
+
"aria-label": H(n)("gallery.collection.endDate"),
|
|
734
734
|
onChange: t[1] ||= (e) => l("to", e.target.value)
|
|
735
|
-
}, [
|
|
735
|
+
}, [P("option", fr, V(H(n)("gallery.collection.endDate")), 1), (R(!0), N(k, null, B(c.value, (e) => (R(), N("option", {
|
|
736
736
|
key: e.value,
|
|
737
737
|
value: String(e.value)
|
|
738
|
-
},
|
|
738
|
+
}, V(e.label), 9, pr))), 128))], 40, dr)])])]), P("div", {
|
|
739
739
|
class: "mwnf-dxa-gallery-collection__description mwnf-prose vc-text",
|
|
740
740
|
dir: "auto",
|
|
741
741
|
innerHTML: r.value
|
|
@@ -753,46 +753,46 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
|
|
|
753
753
|
}, xr = {
|
|
754
754
|
__name: "PartnerObjects",
|
|
755
755
|
setup(t) {
|
|
756
|
-
let n =
|
|
756
|
+
let n = Z(), r = A(() => y.value.get(n.params.id) ?? null), i = A(() => ({
|
|
757
757
|
...ge,
|
|
758
758
|
...he,
|
|
759
759
|
scope: (e) => e.partner_id === n.params.id
|
|
760
|
-
})), a =
|
|
761
|
-
return (t, n) => r.value ? (
|
|
762
|
-
before:
|
|
760
|
+
})), a = A(() => r.value ? _e.view(r.value, p("partners", r.value.id, fe)) : null), o = A(() => [a.value?.city, a.value?.country].filter(Boolean).join(", "));
|
|
761
|
+
return (t, n) => r.value ? (R(), N("div", gr, [I(D, { spec: i.value }, {
|
|
762
|
+
before: U(() => [I(e), P("div", _r, [P("p", {
|
|
763
763
|
class: "mwnf-dxa-gallery-objects__name",
|
|
764
764
|
innerHTML: a.value.name
|
|
765
|
-
}, null, 8, vr), o.value ? (
|
|
766
|
-
actions:
|
|
765
|
+
}, null, 8, vr), o.value ? (R(), N("p", yr, V(o.value), 1)) : M("", !0)])]),
|
|
766
|
+
actions: U(({ pageInfo: e, goToPage: t }) => [I(Q, {
|
|
767
767
|
family: "gallery",
|
|
768
768
|
class: "mwnf-dxa-gallery-pages--top",
|
|
769
769
|
"page-info": e,
|
|
770
770
|
onNavigate: t
|
|
771
771
|
}, null, 8, ["page-info", "onNavigate"])]),
|
|
772
|
-
records:
|
|
773
|
-
pagination:
|
|
774
|
-
after:
|
|
772
|
+
records: U(({ rows: e }) => [I($, { rows: e }, null, 8, ["rows"])]),
|
|
773
|
+
pagination: U(({ pageInfo: e }) => [e.lastPage <= 1 ? (R(), N("div", br)) : M("", !0)]),
|
|
774
|
+
after: U(({ pageInfo: e, goToPage: t }) => [I(Q, {
|
|
775
775
|
family: "gallery",
|
|
776
776
|
"page-info": e,
|
|
777
777
|
onNavigate: t
|
|
778
778
|
}, null, 8, ["page-info", "onNavigate"])]),
|
|
779
|
-
aside:
|
|
779
|
+
aside: U(() => [I(H(X), {
|
|
780
780
|
class: "mwnf-dxa-gallery-objects__profile",
|
|
781
|
-
to:
|
|
781
|
+
to: H(d)(r.value)
|
|
782
782
|
}, {
|
|
783
|
-
default:
|
|
783
|
+
default: U(() => [n[0] ||= P("span", {
|
|
784
784
|
class: "mwnf-dxa-gallery-objects__profile-arrow",
|
|
785
785
|
"aria-hidden": "true"
|
|
786
|
-
}, "➦", -1),
|
|
786
|
+
}, "➦", -1), F(V(t.$t("partner.action.partnerProfile")), 1)]),
|
|
787
787
|
_: 1
|
|
788
788
|
}, 8, ["to"])]),
|
|
789
789
|
_: 1
|
|
790
|
-
}, 8, ["spec"])])) :
|
|
790
|
+
}, 8, ["spec"])])) : M("", !0);
|
|
791
791
|
}
|
|
792
792
|
}, Sr = { class: "mwnf-dxa-exhibition-how-to" }, Cr = {
|
|
793
793
|
__name: "SearchHowTo",
|
|
794
794
|
setup(t) {
|
|
795
|
-
return (t, n) => (
|
|
795
|
+
return (t, n) => (R(), N("div", Sr, [I(e), I(H(G), {
|
|
796
796
|
class: "mwnf-dxa-exhibition-how-to__text",
|
|
797
797
|
dir: "auto",
|
|
798
798
|
keypath: "catalogue.search.howToEssay"
|
|
@@ -813,45 +813,45 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
|
|
|
813
813
|
orderToggle: !1,
|
|
814
814
|
tiebreak: (e) => e.own_project?.name ?? ""
|
|
815
815
|
};
|
|
816
|
-
return (t, i) => (
|
|
817
|
-
before:
|
|
816
|
+
return (t, i) => (R(), N("div", wr, [I(Je, { spec: r }, {
|
|
817
|
+
before: U(({ t, orderDir: n, toggleOrder: r }) => [P("div", Tr, [I(e), P("div", Er, [P("button", {
|
|
818
818
|
type: "button",
|
|
819
819
|
onClick: r
|
|
820
|
-
},
|
|
820
|
+
}, V(t(n === "asc" ? "partner.list.sortDescending" : "partner.list.sortAscending")), 9, Dr)])]), I(H(G), {
|
|
821
821
|
id: "mwnf-dxa-partners-intro",
|
|
822
822
|
class: "mwnf-dxa-gallery-partners__intro",
|
|
823
823
|
dir: "auto",
|
|
824
824
|
keypath: "exhibition.partners.intro"
|
|
825
825
|
})]),
|
|
826
|
-
"group-heading":
|
|
827
|
-
row:
|
|
828
|
-
|
|
826
|
+
"group-heading": U(({ group: e }) => [P("div", Or, V(e.label), 1)]),
|
|
827
|
+
row: U(({ partner: e, view: t, t: r }) => [P("div", kr, [P("div", Ar, [
|
|
828
|
+
I(n, {
|
|
829
829
|
class: "mwnf-dxa-gallery-partners__name",
|
|
830
830
|
to: t.route
|
|
831
831
|
}, {
|
|
832
|
-
default:
|
|
832
|
+
default: U(() => [P("span", { innerHTML: t.name }, null, 8, jr), t.city ? (R(), N("span", Mr, ", " + V(t.city), 1)) : M("", !0)]),
|
|
833
833
|
_: 2
|
|
834
834
|
}, 1032, ["to"]),
|
|
835
|
-
|
|
835
|
+
H(en)(e) ? (R(), N("div", {
|
|
836
836
|
key: 0,
|
|
837
|
-
class:
|
|
838
|
-
}, [
|
|
839
|
-
|
|
840
|
-
default:
|
|
837
|
+
class: L(["mwnf-dxa-partner-badge", H(en)(e).tone && `mwnf-dxa-partner-badge--${H(en)(e).tone}`])
|
|
838
|
+
}, [F(V(H(en)(e).name + " "), 1), H(en)(e).status ? (R(), N("span", Nr, V(r(H(en)(e).status)), 1)) : M("", !0)], 2)) : M("", !0),
|
|
839
|
+
P("div", Pr, [I(n, { to: t.route }, {
|
|
840
|
+
default: U(() => [F(V(r("partner.action.readMore")), 1)]),
|
|
841
841
|
_: 2
|
|
842
|
-
}, 1032, ["to"]), e.item_count > 0 && t.objectsRoute ? (
|
|
842
|
+
}, 1032, ["to"]), e.item_count > 0 && t.objectsRoute ? (R(), N(k, { key: 0 }, [i[0] ||= P("span", {
|
|
843
843
|
class: "mwnf-dxa-gallery-partners__divider",
|
|
844
844
|
"aria-hidden": "true"
|
|
845
|
-
}, "|", -1),
|
|
846
|
-
default:
|
|
845
|
+
}, "|", -1), I(n, { to: t.objectsRoute }, {
|
|
846
|
+
default: U(() => [F(V(r(H(Ge)(e))), 1)]),
|
|
847
847
|
_: 2
|
|
848
|
-
}, 1032, ["to"])], 64)) :
|
|
849
|
-
]),
|
|
848
|
+
}, 1032, ["to"])], 64)) : M("", !0)])
|
|
849
|
+
]), P("div", Fr, [t.logos?.[0] ? (R(), N("img", {
|
|
850
850
|
key: 0,
|
|
851
851
|
src: t.logos[0].url,
|
|
852
852
|
alt: t.plainName,
|
|
853
853
|
loading: "lazy"
|
|
854
|
-
}, null, 8, Ir)) :
|
|
854
|
+
}, null, 8, Ir)) : M("", !0)])])]),
|
|
855
855
|
_: 1
|
|
856
856
|
})]));
|
|
857
857
|
}
|
|
@@ -874,42 +874,42 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
|
|
|
874
874
|
}, oi = {
|
|
875
875
|
__name: "SearchResults",
|
|
876
876
|
setup(t) {
|
|
877
|
-
let { t: n } =
|
|
877
|
+
let { t: n } = J(), r = Z(), i = Lt(), a = Mt("items", {
|
|
878
878
|
grammar: "boolean",
|
|
879
|
-
haystack:
|
|
880
|
-
}), o =
|
|
881
|
-
|
|
879
|
+
haystack: Be
|
|
880
|
+
}), o = z(!1);
|
|
881
|
+
Ke().then(() => {
|
|
882
882
|
o.value = !0;
|
|
883
883
|
});
|
|
884
|
-
let s = (e) => !e || e === "all-items" || e === "all-objects", c = (e) => e && e.length > 80 ? `${e.slice(0, 80)}...` : e ?? "", l =
|
|
884
|
+
let s = (e) => !e || e === "all-items" || e === "all-objects", c = (e) => e && e.length > 80 ? `${e.slice(0, 80)}...` : e ?? "", l = A(() => ({
|
|
885
885
|
entity: "items",
|
|
886
886
|
keys: ["q"],
|
|
887
|
-
scope: (e) =>
|
|
887
|
+
scope: (e) => T.value.has(e.id),
|
|
888
888
|
narrow: (e, t) => {
|
|
889
889
|
if (!o.value) return [];
|
|
890
890
|
if (s(t.q)) return e;
|
|
891
891
|
let n = new Set(e.map((e) => e.id));
|
|
892
892
|
return a.search(t.q).filter((e) => n.has(e.id));
|
|
893
893
|
},
|
|
894
|
-
...
|
|
895
|
-
sort: s(r.query.q) ?
|
|
894
|
+
...qe,
|
|
895
|
+
sort: s(r.query.q) ? qe.sort : !1,
|
|
896
896
|
summary: () => [],
|
|
897
897
|
record: (e) => {
|
|
898
|
-
let t = S("items", e.id,
|
|
898
|
+
let t = S("items", e.id, He);
|
|
899
899
|
return {
|
|
900
900
|
id: e.id,
|
|
901
901
|
image: e.images?.[0]?.url ?? "",
|
|
902
|
-
imageAlt:
|
|
903
|
-
name:
|
|
902
|
+
imageAlt: E("items", e.id),
|
|
903
|
+
name: q(t.name ?? e.internal_name ?? ""),
|
|
904
904
|
date: c(t.dates),
|
|
905
|
-
partner:
|
|
906
|
-
place: [t.location,
|
|
905
|
+
partner: E("partners", e.partner_id),
|
|
906
|
+
place: [t.location, E("countries", e.country_id)].filter(Boolean).join(", "),
|
|
907
907
|
start: e.start_date ?? 0,
|
|
908
908
|
to: Ne(e)
|
|
909
909
|
};
|
|
910
910
|
}
|
|
911
|
-
})), u = (e) => [...e].sort((e, t) => e.start - t.start), d =
|
|
912
|
-
|
|
911
|
+
})), u = (e) => [...e].sort((e, t) => e.start - t.start), d = z("");
|
|
912
|
+
yt(() => r.query.q, (e) => {
|
|
913
913
|
d.value = s(e) ? "" : String(e ?? "");
|
|
914
914
|
}, { immediate: !0 });
|
|
915
915
|
function f() {
|
|
@@ -924,80 +924,80 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
|
|
|
924
924
|
query: { q: "all-items" }
|
|
925
925
|
});
|
|
926
926
|
}
|
|
927
|
-
let m =
|
|
927
|
+
let m = z(null), h = typeof window < "u" && typeof window.matchMedia == "function" ? window.matchMedia("(max-width: 974px)") : null, g = z(!!h?.matches);
|
|
928
928
|
h?.addEventListener("change", (e) => {
|
|
929
929
|
g.value = e.matches;
|
|
930
930
|
});
|
|
931
931
|
function _(e) {
|
|
932
932
|
return e.find((e) => e.id === m.value) ?? e[0];
|
|
933
933
|
}
|
|
934
|
-
return
|
|
934
|
+
return yt(() => r.fullPath, () => {
|
|
935
935
|
m.value = null;
|
|
936
|
-
}), (t, r) => (
|
|
936
|
+
}), (t, r) => (R(), N("div", Rr, [I(D, {
|
|
937
937
|
spec: l.value,
|
|
938
938
|
class: "mwnf-dxa-exhibition-search__view"
|
|
939
939
|
}, {
|
|
940
|
-
before:
|
|
941
|
-
|
|
942
|
-
|
|
940
|
+
before: U(({ pageInfo: t, goToPage: i }) => [
|
|
941
|
+
I(e),
|
|
942
|
+
P("div", zr, [P("div", Br, [t.total ? (R(), N("p", Vr, V(H(n)("exhibition.search.heading")) + " | " + V(t.total) + " " + V(H(n)("exhibition.search.recordsOutOf")) + " " + V(H(T).size) + " " + V(H(n)("exhibition.collection.items")), 1)) : (R(), N("p", Hr, [F(V(H(n)("exhibition.search.heading")) + " | ", 1), P("span", null, V(H(n)("exhibition.search.none")), 1)]))]), P("div", Ur, [P("form", { onSubmit: r[2] ||= xt((e) => f(), ["prevent"]) }, [W(P("input", {
|
|
943
943
|
"onUpdate:modelValue": r[0] ||= (e) => d.value = e,
|
|
944
944
|
class: "mwnf-dxa-exhibition-search__input",
|
|
945
945
|
type: "search",
|
|
946
|
-
placeholder:
|
|
947
|
-
"aria-label":
|
|
948
|
-
}, null, 8, Wr), [[
|
|
946
|
+
placeholder: H(n)("exhibition.search.placeholder"),
|
|
947
|
+
"aria-label": H(n)("exhibition.search.placeholder")
|
|
948
|
+
}, null, 8, Wr), [[_t, d.value]]), P("div", Gr, [P("button", Kr, V(H(n)("exhibition.search.submit")), 1), P("button", {
|
|
949
949
|
type: "button",
|
|
950
950
|
class: "mwnf-dxa-exhibition-search__button",
|
|
951
951
|
onClick: r[1] ||= (e) => p()
|
|
952
|
-
},
|
|
953
|
-
default:
|
|
952
|
+
}, V(H(n)("exhibition.search.reset")), 1)])], 32), P("div", qr, [I(H(X), { to: { name: "search-how-to" } }, {
|
|
953
|
+
default: U(() => [F(V(H(n)("exhibition.search.tips")), 1)]),
|
|
954
954
|
_: 1
|
|
955
955
|
})])])]),
|
|
956
|
-
|
|
956
|
+
I(Q, {
|
|
957
957
|
class: "mwnf-dxa-exhibition-pages--top",
|
|
958
958
|
"page-info": t,
|
|
959
959
|
onNavigate: i
|
|
960
960
|
}, null, 8, ["page-info", "onNavigate"])
|
|
961
961
|
]),
|
|
962
|
-
records:
|
|
962
|
+
records: U(({ rows: e }) => [e.length ? (R(), N("div", Jr, [g.value ? M("", !0) : (R(), N("div", Yr, [P("div", Xr, [P("img", {
|
|
963
963
|
src: _(u(e)).image,
|
|
964
964
|
alt: _(u(e)).imageAlt
|
|
965
|
-
}, null, 8, Zr)]),
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
])])),
|
|
965
|
+
}, null, 8, Zr)]), P("div", Qr, [
|
|
966
|
+
P("p", null, [P("strong", { innerHTML: _(u(e)).name }, null, 8, $r)]),
|
|
967
|
+
P("p", null, V(_(u(e)).date), 1),
|
|
968
|
+
P("p", ei, [P("strong", null, V(_(u(e)).partner), 1)]),
|
|
969
|
+
P("p", null, V(_(u(e)).place), 1)
|
|
970
|
+
])])), P("div", ti, [(R(!0), N(k, null, B(u(e), (e) => (R(), N("div", {
|
|
971
971
|
key: e.id,
|
|
972
972
|
class: "mwnf-dxa-exhibition-search__result"
|
|
973
|
-
}, [
|
|
973
|
+
}, [I(H(X), {
|
|
974
974
|
to: e.to,
|
|
975
975
|
class: "mwnf-dxa-exhibition-search__result-image"
|
|
976
976
|
}, {
|
|
977
|
-
default:
|
|
977
|
+
default: U(() => [P("img", {
|
|
978
978
|
src: e.image,
|
|
979
979
|
alt: e.imageAlt,
|
|
980
980
|
loading: "lazy",
|
|
981
981
|
onMouseover: (t) => m.value = e.id
|
|
982
982
|
}, null, 40, ni)]),
|
|
983
983
|
_: 2
|
|
984
|
-
}, 1032, ["to"]),
|
|
985
|
-
default:
|
|
984
|
+
}, 1032, ["to"]), P("div", ri, [I(H(X), { to: e.to }, {
|
|
985
|
+
default: U(() => [P("strong", {
|
|
986
986
|
innerHTML: e.name,
|
|
987
987
|
onMouseover: (t) => m.value = e.id
|
|
988
|
-
}, null, 40, ii),
|
|
988
|
+
}, null, 40, ii), P("span", null, ", " + V(e.place), 1)]),
|
|
989
989
|
_: 2
|
|
990
|
-
}, 1032, ["to"]),
|
|
990
|
+
}, 1032, ["to"]), P("p", null, [P("em", null, V(e.date), 1)])])]))), 128))])])) : (R(), j(H(G), {
|
|
991
991
|
key: 1,
|
|
992
992
|
class: "mwnf-dxa-exhibition-search__none",
|
|
993
993
|
keypath: "exhibition.search.noResults"
|
|
994
994
|
}))]),
|
|
995
|
-
pagination:
|
|
996
|
-
after:
|
|
995
|
+
pagination: U(() => [...r[3] ||= []]),
|
|
996
|
+
after: U(({ pageInfo: e, goToPage: t }) => [e.lastPage > 1 ? (R(), j(Q, {
|
|
997
997
|
key: 0,
|
|
998
998
|
"page-info": e,
|
|
999
999
|
onNavigate: t
|
|
1000
|
-
}, null, 8, ["page-info", "onNavigate"])) : (
|
|
1000
|
+
}, null, 8, ["page-info", "onNavigate"])) : (R(), N("div", ai))]),
|
|
1001
1001
|
_: 1
|
|
1002
1002
|
}, 8, ["spec"])]));
|
|
1003
1003
|
}
|
|
@@ -1028,19 +1028,19 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
|
|
|
1028
1028
|
let n = {
|
|
1029
1029
|
"catalogue.era.ad": "exhibition.era.ad",
|
|
1030
1030
|
"catalogue.era.bc": "exhibition.era.bc"
|
|
1031
|
-
}, r = ({ years: e, t }) =>
|
|
1031
|
+
}, r = ({ years: e, t }) => It(e.min, e.max, Ft(t, n)), i = A(() => ({
|
|
1032
1032
|
...w.value,
|
|
1033
1033
|
pageSize: 20,
|
|
1034
1034
|
controls: w.value.controls.map((e) => e.options ? {
|
|
1035
1035
|
...e,
|
|
1036
1036
|
options: r
|
|
1037
1037
|
} : e)
|
|
1038
|
-
})), a =
|
|
1038
|
+
})), a = A(() => w.value.scope === "country"), o = Z(), s = ft({
|
|
1039
1039
|
country: "",
|
|
1040
1040
|
begin: "",
|
|
1041
1041
|
end: ""
|
|
1042
1042
|
});
|
|
1043
|
-
|
|
1043
|
+
yt(() => o.query, (e) => {
|
|
1044
1044
|
s.country = String(e.country ?? ""), s.begin = String(e.begin ?? ""), s.end = String(e.end ?? "");
|
|
1045
1045
|
}, { immediate: !0 });
|
|
1046
1046
|
let c = (e, t) => (e ?? []).find((e) => String(e.value) === String(t))?.label ?? t;
|
|
@@ -1048,76 +1048,76 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
|
|
|
1048
1048
|
let n = e?.year_from;
|
|
1049
1049
|
return Number.isFinite(n) ? `${n} ${t(n < 0 ? "exhibition.era.bc" : "exhibition.era.ad")}` : "";
|
|
1050
1050
|
}
|
|
1051
|
-
return (t, n) => (
|
|
1051
|
+
return (t, n) => (R(), N("div", si, [I(Ye, {
|
|
1052
1052
|
spec: i.value,
|
|
1053
1053
|
class: "mwnf-dxa-timeline-results"
|
|
1054
1054
|
}, {
|
|
1055
|
-
form:
|
|
1056
|
-
|
|
1057
|
-
a.value && e.filters.country ? (
|
|
1058
|
-
|
|
1059
|
-
]),
|
|
1060
|
-
|
|
1061
|
-
|
|
1055
|
+
form: U((e) => [P("div", ci, [P("p", li, [
|
|
1056
|
+
F(V(e.t("exhibition.timeline.heading")) + " | " + V(c(e.options.begin, e.filters.begin)) + " " + V(e.t("exhibition.timeline.to")) + " " + V(c(e.options.end, e.filters.end)) + " | ", 1),
|
|
1057
|
+
a.value && e.filters.country ? (R(), N("span", ui, V(c(e.countries, e.filters.country)) + " | ", 1)) : M("", !0),
|
|
1058
|
+
P("span", null, V(e.pageInfo?.total ?? 0) + " " + V(e.t("exhibition.timeline.results")), 1)
|
|
1059
|
+
]), P("div", di, [
|
|
1060
|
+
P("span", null, V(e.t("exhibition.collection.startDate")), 1),
|
|
1061
|
+
W(P("select", {
|
|
1062
1062
|
"onUpdate:modelValue": n[0] ||= (e) => s.begin = e,
|
|
1063
1063
|
"aria-label": e.t("exhibition.collection.startDate")
|
|
1064
|
-
}, [
|
|
1064
|
+
}, [P("option", pi, V(e.t("exhibition.collection.startDate")), 1), (R(!0), N(k, null, B(e.options.begin ?? [], (e) => (R(), N("option", {
|
|
1065
1065
|
key: e.value,
|
|
1066
1066
|
value: String(e.value)
|
|
1067
|
-
},
|
|
1068
|
-
|
|
1069
|
-
|
|
1067
|
+
}, V(e.label), 9, mi))), 128))], 8, fi), [[gt, s.begin]]),
|
|
1068
|
+
P("span", null, V(e.t("exhibition.collection.endDate")), 1),
|
|
1069
|
+
W(P("select", {
|
|
1070
1070
|
"onUpdate:modelValue": n[1] ||= (e) => s.end = e,
|
|
1071
1071
|
"aria-label": e.t("exhibition.collection.endDate")
|
|
1072
|
-
}, [
|
|
1072
|
+
}, [P("option", gi, V(e.t("exhibition.collection.endDate")), 1), (R(!0), N(k, null, B(e.options.end ?? [], (e) => (R(), N("option", {
|
|
1073
1073
|
key: e.value,
|
|
1074
1074
|
value: String(e.value)
|
|
1075
|
-
},
|
|
1076
|
-
a.value ? (
|
|
1075
|
+
}, V(e.label), 9, _i))), 128))], 8, hi), [[gt, s.end]]),
|
|
1076
|
+
a.value ? (R(), N(k, { key: 0 }, [P("span", null, V(e.t("exhibition.timeline.country")), 1), W(P("select", {
|
|
1077
1077
|
"onUpdate:modelValue": n[2] ||= (e) => s.country = e,
|
|
1078
1078
|
"aria-label": e.t("exhibition.timeline.selectCountry")
|
|
1079
|
-
}, [
|
|
1079
|
+
}, [P("option", yi, V(e.t("exhibition.timeline.selectCountry")), 1), (R(!0), N(k, null, B(e.countries, (e) => (R(), N("option", {
|
|
1080
1080
|
key: e.value,
|
|
1081
1081
|
value: e.value
|
|
1082
|
-
},
|
|
1083
|
-
|
|
1082
|
+
}, V(e.label), 9, bi))), 128))], 8, vi), [[gt, s.country]])], 64)) : M("", !0),
|
|
1083
|
+
P("button", {
|
|
1084
1084
|
type: "button",
|
|
1085
1085
|
onClick: (t) => e.apply({ ...s })
|
|
1086
|
-
},
|
|
1087
|
-
|
|
1086
|
+
}, V(e.t("core.action.go")), 9, xi),
|
|
1087
|
+
P("button", {
|
|
1088
1088
|
type: "button",
|
|
1089
1089
|
onClick: (t) => e.reset()
|
|
1090
|
-
},
|
|
1090
|
+
}, V(e.t("exhibition.search.reset")), 9, Si)
|
|
1091
1091
|
])])]),
|
|
1092
|
-
summary:
|
|
1092
|
+
summary: U(({ pageInfo: t, goToPage: n }) => [I(e), I(Q, {
|
|
1093
1093
|
class: "mwnf-dxa-exhibition-timeline-results__pages",
|
|
1094
1094
|
"page-info": t,
|
|
1095
1095
|
onNavigate: n
|
|
1096
1096
|
}, null, 8, ["page-info", "onNavigate"])]),
|
|
1097
|
-
gallery:
|
|
1098
|
-
event:
|
|
1097
|
+
gallery: U(() => [...n[3] ||= []]),
|
|
1098
|
+
event: U(({ pageInfo: e, rows: t, gallery: r, t: i }) => [P("div", Ci, [t.length ? (R(), N("div", wi, [P("div", Ti, [P("div", null, V(i("exhibition.timeline.date")), 1), P("div", null, V(i(a.value && s.country ? "exhibition.timeline.countryDescription" : "exhibition.timeline.description")), 1)]), (R(!0), N(k, null, B(t, (t, n) => (R(), N("div", {
|
|
1099
1099
|
key: t.id,
|
|
1100
1100
|
class: "mwnf-dxa-exhibition-timeline-results__event"
|
|
1101
|
-
}, [
|
|
1101
|
+
}, [P("div", Ei, [P("span", null, V(l(e.rows[n], i)), 1)]), P("div", Di, [a.value && s.country && t.caption ? (R(), N("div", {
|
|
1102
1102
|
key: 0,
|
|
1103
1103
|
class: "mwnf-dxa-exhibition-timeline-results__country",
|
|
1104
1104
|
innerHTML: t.caption
|
|
1105
|
-
}, null, 8, Oi)) :
|
|
1105
|
+
}, null, 8, Oi)) : M("", !0), P("div", {
|
|
1106
1106
|
class: "mwnf-dxa-exhibition-timeline-results__description",
|
|
1107
1107
|
innerHTML: t.description
|
|
1108
|
-
}, null, 8, ki)])]))), 128))])) : (
|
|
1109
|
-
n[4] ||=
|
|
1110
|
-
n[5] ||=
|
|
1111
|
-
|
|
1112
|
-
default:
|
|
1108
|
+
}, null, 8, ki)])]))), 128))])) : (R(), N("div", Ai, V(i("exhibition.timeline.noResults")), 1)), t.length && r ? (R(), N("div", ji, [P("p", Mi, V(i("exhibition.timeline.relatedContent")), 1), P("p", null, [
|
|
1109
|
+
n[4] ||= P("span", { "aria-hidden": "true" }, "➦", -1),
|
|
1110
|
+
n[5] ||= F(),
|
|
1111
|
+
I(H(X), { to: r.to }, {
|
|
1112
|
+
default: U(() => [F(V(i("exhibition.timeline.seeGallery")), 1)]),
|
|
1113
1113
|
_: 2
|
|
1114
1114
|
}, 1032, ["to"])
|
|
1115
|
-
])])) :
|
|
1116
|
-
pagination:
|
|
1115
|
+
])])) : M("", !0)])]),
|
|
1116
|
+
pagination: U(({ pageInfo: e, goToPage: t }) => [e.lastPage > 1 ? (R(), j(Q, {
|
|
1117
1117
|
key: 0,
|
|
1118
1118
|
"page-info": e,
|
|
1119
1119
|
onNavigate: t
|
|
1120
|
-
}, null, 8, ["page-info", "onNavigate"])) : (
|
|
1120
|
+
}, null, 8, ["page-info", "onNavigate"])) : (R(), N("div", Ni))]),
|
|
1121
1121
|
_: 1
|
|
1122
1122
|
}, 8, ["spec"])]));
|
|
1123
1123
|
}
|
|
@@ -1127,44 +1127,44 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
|
|
|
1127
1127
|
}, Vi = {
|
|
1128
1128
|
__name: "TimelineGallery",
|
|
1129
1129
|
setup(t) {
|
|
1130
|
-
let { t: n } =
|
|
1130
|
+
let { t: n } = J(), r = {
|
|
1131
1131
|
"catalogue.era.ad": "exhibition.era.ad",
|
|
1132
1132
|
"catalogue.era.bc": "exhibition.era.bc"
|
|
1133
|
-
}, i =
|
|
1133
|
+
}, i = A(() => ({
|
|
1134
1134
|
...ye,
|
|
1135
|
-
...
|
|
1135
|
+
...qe,
|
|
1136
1136
|
summary: () => [],
|
|
1137
1137
|
record: Ae
|
|
1138
1138
|
}));
|
|
1139
1139
|
function a(e) {
|
|
1140
1140
|
let t = Number(e);
|
|
1141
1141
|
if (e === "" || e == null || !Number.isFinite(t)) return "";
|
|
1142
|
-
let i =
|
|
1142
|
+
let i = It(t, t, Ft(n, r));
|
|
1143
1143
|
return i.find((e) => Number(e.value) === t)?.label ?? i[0]?.label ?? String(e);
|
|
1144
1144
|
}
|
|
1145
|
-
let o =
|
|
1146
|
-
return (t, r) => (
|
|
1145
|
+
let o = A(() => w.value.scope === "country");
|
|
1146
|
+
return (t, r) => (R(), N("div", Fi, [I(D, {
|
|
1147
1147
|
spec: i.value,
|
|
1148
1148
|
class: "mwnf-dxa-partner-objects"
|
|
1149
1149
|
}, {
|
|
1150
|
-
before:
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
o.value && t.country ? (
|
|
1155
|
-
|
|
1150
|
+
before: U(({ filters: t, pageInfo: r, goToPage: i }) => [
|
|
1151
|
+
I(e),
|
|
1152
|
+
P("div", Ii, [P("p", null, [
|
|
1153
|
+
F(V(H(n)("exhibition.timeline.heading")) + " | " + V(a(t.begin)) + " " + V(H(n)("exhibition.timeline.to")) + " " + V(a(t.end)) + " | ", 1),
|
|
1154
|
+
o.value && t.country ? (R(), N(k, { key: 0 }, [F(V(H(ze)(t.country)) + " | ", 1)], 64)) : M("", !0),
|
|
1155
|
+
F(V(H(n)("exhibition.timeline.gallery")), 1)
|
|
1156
1156
|
])]),
|
|
1157
|
-
|
|
1157
|
+
I(Q, {
|
|
1158
1158
|
class: "mwnf-dxa-exhibition-pages--top",
|
|
1159
1159
|
"page-info": r,
|
|
1160
1160
|
onNavigate: i
|
|
1161
1161
|
}, null, 8, ["page-info", "onNavigate"])
|
|
1162
1162
|
]),
|
|
1163
|
-
records:
|
|
1163
|
+
records: U(({ rows: e, filters: t }) => [P("div", Li, [P("div", Ri, [e.length ? (R(), j($, {
|
|
1164
1164
|
key: 0,
|
|
1165
1165
|
rows: e,
|
|
1166
1166
|
family: "exhibition"
|
|
1167
|
-
}, null, 8, ["rows"])) :
|
|
1167
|
+
}, null, 8, ["rows"])) : M("", !0)]), P("div", zi, [I(H(X), { to: {
|
|
1168
1168
|
name: "timeline-results",
|
|
1169
1169
|
query: {
|
|
1170
1170
|
...t.country ? { country: t.country } : {},
|
|
@@ -1172,24 +1172,24 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
|
|
|
1172
1172
|
end: t.end
|
|
1173
1173
|
}
|
|
1174
1174
|
} }, {
|
|
1175
|
-
default:
|
|
1175
|
+
default: U(() => [r[0] ||= P("span", { "aria-hidden": "true" }, "➦", -1), F(" " + V(H(n)("exhibition.timeline.seeTimeline")), 1)]),
|
|
1176
1176
|
_: 1
|
|
1177
1177
|
}, 8, ["to"])])])]),
|
|
1178
|
-
pagination:
|
|
1179
|
-
after:
|
|
1178
|
+
pagination: U(() => [...r[1] ||= []]),
|
|
1179
|
+
after: U(({ pageInfo: e, goToPage: t }) => [e.lastPage > 1 ? (R(), j(Q, {
|
|
1180
1180
|
key: 0,
|
|
1181
1181
|
"page-info": e,
|
|
1182
1182
|
onNavigate: t
|
|
1183
|
-
}, null, 8, ["page-info", "onNavigate"])) : (
|
|
1183
|
+
}, null, 8, ["page-info", "onNavigate"])) : (R(), N("div", Bi))]),
|
|
1184
1184
|
_: 1
|
|
1185
1185
|
}, 8, ["spec"])]));
|
|
1186
1186
|
}
|
|
1187
1187
|
}, { aboutTheme: Hi, listedThemes: Ui, pictureById: Wi, pictureParent: Gi, romanFor: Ki, themeText: qi, themeTree: Ji } = Ie;
|
|
1188
1188
|
function Yi(e) {
|
|
1189
|
-
return String(e
|
|
1189
|
+
return e ? String(e.backward_compatibility ?? "").split(":").pop() || String(e.id ?? "") : "";
|
|
1190
1190
|
}
|
|
1191
1191
|
function Xi(e) {
|
|
1192
|
-
let t = (t) => qi(t, e.value).title ?? t?.internal_name ?? "", n =
|
|
1192
|
+
let t = (t) => qi(t, e.value).title ?? t?.internal_name ?? "", n = A(() => [...Hi.value ? [{
|
|
1193
1193
|
value: Yi(Hi.value),
|
|
1194
1194
|
label: t(Hi.value),
|
|
1195
1195
|
node: Hi.value
|
|
@@ -1215,6 +1215,7 @@ function Xi(e) {
|
|
|
1215
1215
|
return t;
|
|
1216
1216
|
}
|
|
1217
1217
|
function o(e, t) {
|
|
1218
|
+
if (!e) return null;
|
|
1218
1219
|
let n = r(e);
|
|
1219
1220
|
return n ? a((t ? i(e).find((e) => e.value === String(t))?.node : null) ?? n) : null;
|
|
1220
1221
|
}
|
|
@@ -1258,18 +1259,18 @@ var Zi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Qi =
|
|
|
1258
1259
|
}, ba = { value: "all" }, xa = ["value"], Sa = { class: "mwnf-dxa-date-wrapper" }, Ca = {
|
|
1259
1260
|
__name: "CollectionResults",
|
|
1260
1261
|
setup(t) {
|
|
1261
|
-
let { t: n, locale: r } =
|
|
1262
|
+
let { t: n, locale: r } = J(), { themeOptions: o, subThemeOptions: s, scopeFor: c } = Xi(r), l = {
|
|
1262
1263
|
viewBox: "0 0 512 512",
|
|
1263
1264
|
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"
|
|
1264
1265
|
}, u = {
|
|
1265
1266
|
viewBox: "0 0 384 512",
|
|
1266
1267
|
path: "M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"
|
|
1267
|
-
}, d = typeof window < "u" && typeof window.matchMedia == "function" ? window.matchMedia("(max-width: 499px)") : null, f =
|
|
1268
|
+
}, d = typeof window < "u" && typeof window.matchMedia == "function" ? window.matchMedia("(max-width: 499px)") : null, f = z(!!d?.matches), p = (e) => {
|
|
1268
1269
|
f.value = e.matches;
|
|
1269
1270
|
};
|
|
1270
|
-
d?.addEventListener("change", p),
|
|
1271
|
-
let m =
|
|
1272
|
-
|
|
1271
|
+
d?.addEventListener("change", p), ut(() => d?.removeEventListener("change", p));
|
|
1272
|
+
let m = z(!1), h = Z();
|
|
1273
|
+
yt(() => h.fullPath, () => {
|
|
1273
1274
|
m.value = !1;
|
|
1274
1275
|
});
|
|
1275
1276
|
let g = {
|
|
@@ -1278,9 +1279,9 @@ var Zi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Qi =
|
|
|
1278
1279
|
}, _ = ["type", "material"], v = {
|
|
1279
1280
|
"catalogue.era.ad": "exhibition.era.ad",
|
|
1280
1281
|
"catalogue.era.bc": "exhibition.era.bc"
|
|
1281
|
-
}, y = (e) => n(v[e] ?? e), ee =
|
|
1282
|
+
}, y = (e) => n(v[e] ?? e), ee = A(() => Y(Oe.value ?? [], y)), te = A(() => T.value.size), b = {
|
|
1282
1283
|
...Fe,
|
|
1283
|
-
...
|
|
1284
|
+
...qe,
|
|
1284
1285
|
keys: [
|
|
1285
1286
|
...Fe.keys,
|
|
1286
1287
|
"theme",
|
|
@@ -1317,108 +1318,108 @@ var Zi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Qi =
|
|
|
1317
1318
|
subtheme: n
|
|
1318
1319
|
});
|
|
1319
1320
|
}
|
|
1320
|
-
return (t, r) => (
|
|
1321
|
+
return (t, r) => (R(), N("div", Zi, [I(D, {
|
|
1321
1322
|
spec: b,
|
|
1322
1323
|
class: "mwnf-dxa-collection-results"
|
|
1323
1324
|
}, {
|
|
1324
|
-
before:
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1325
|
+
before: U(({ filters: r, options: i, matching: a, pageInfo: o }) => [
|
|
1326
|
+
I(e),
|
|
1327
|
+
P("div", Qi, [P("p", null, [F(V(H(n)("exhibition.collection.heading")) + " | ", 1), P("span", $i, V(re(r, i, a)), 1)]), P("p", null, V(o.total) + " " + V(H(n)("exhibition.collection.resultsOutOf")) + " " + V(te.value) + " " + V(H(n)("exhibition.collection.items")), 1)]),
|
|
1328
|
+
I(Q, {
|
|
1328
1329
|
class: "mwnf-dxa-exhibition-pages--top",
|
|
1329
1330
|
"page-info": o,
|
|
1330
1331
|
onNavigate: t.goToPage
|
|
1331
1332
|
}, null, 8, ["page-info", "onNavigate"])
|
|
1332
1333
|
]),
|
|
1333
|
-
records:
|
|
1334
|
+
records: U(({ rows: e }) => [e.length ? (R(), j($, {
|
|
1334
1335
|
key: 0,
|
|
1335
1336
|
rows: e,
|
|
1336
1337
|
family: "exhibition"
|
|
1337
|
-
}, null, 8, ["rows"])) : (
|
|
1338
|
+
}, null, 8, ["rows"])) : (R(), j(H(G), {
|
|
1338
1339
|
key: 1,
|
|
1339
1340
|
class: "mwnf-dxa-gallery-results__none",
|
|
1340
1341
|
keypath: "exhibition.collection.noResults"
|
|
1341
1342
|
}))]),
|
|
1342
|
-
pagination:
|
|
1343
|
-
after:
|
|
1343
|
+
pagination: U(() => [...r[2] ||= []]),
|
|
1344
|
+
after: U(({ pageInfo: e, goToPage: t }) => [e.lastPage > 1 ? (R(), j(Q, {
|
|
1344
1345
|
key: 0,
|
|
1345
1346
|
"page-info": e,
|
|
1346
1347
|
onNavigate: t
|
|
1347
|
-
}, null, 8, ["page-info", "onNavigate"])) : (
|
|
1348
|
-
aside:
|
|
1348
|
+
}, null, 8, ["page-info", "onNavigate"])) : (R(), N("div", ea))]),
|
|
1349
|
+
aside: U(({ filters: e, apply: t, reset: c, matching: d, options: p }) => [f.value ? (R(), N("button", {
|
|
1349
1350
|
key: 0,
|
|
1350
1351
|
type: "button",
|
|
1351
1352
|
class: "mwnf-dxa-exhibition-results__open",
|
|
1352
|
-
"aria-label":
|
|
1353
|
+
"aria-label": H(n)("exhibition.collection.filterBy"),
|
|
1353
1354
|
"aria-expanded": m.value,
|
|
1354
1355
|
onClick: r[0] ||= (e) => m.value = !0
|
|
1355
|
-
}, [(
|
|
1356
|
+
}, [(R(), N("svg", {
|
|
1356
1357
|
viewBox: l.viewBox,
|
|
1357
1358
|
"aria-hidden": "true",
|
|
1358
1359
|
focusable: "false"
|
|
1359
|
-
}, [
|
|
1360
|
-
f.value && m.value ? (
|
|
1360
|
+
}, [P("path", { d: l.path }, null, 8, ra)], 8, na))], 8, ta)) : M("", !0), W(P("div", ia, [
|
|
1361
|
+
f.value && m.value ? (R(), N("button", {
|
|
1361
1362
|
key: 0,
|
|
1362
1363
|
type: "button",
|
|
1363
1364
|
class: "mwnf-dxa-exhibition-results__close",
|
|
1364
|
-
"aria-label":
|
|
1365
|
+
"aria-label": H(n)("core.action.close"),
|
|
1365
1366
|
onClick: r[1] ||= (e) => m.value = !1
|
|
1366
|
-
}, [(
|
|
1367
|
+
}, [(R(), N("svg", {
|
|
1367
1368
|
viewBox: u.viewBox,
|
|
1368
1369
|
"aria-hidden": "true",
|
|
1369
1370
|
focusable: "false"
|
|
1370
|
-
}, [
|
|
1371
|
-
x(e) ?
|
|
1371
|
+
}, [P("path", { d: u.path }, null, 8, sa)], 8, oa))], 8, aa)) : M("", !0),
|
|
1372
|
+
x(e) ? M("", !0) : (R(), N("div", ca, [P("div", la, V(H(n)("exhibition.collection.filterByTheme")), 1), P("div", ua, [P("select", {
|
|
1372
1373
|
class: "mwnf-facet__select",
|
|
1373
|
-
"aria-label":
|
|
1374
|
+
"aria-label": H(n)("exhibition.collection.selectTheme"),
|
|
1374
1375
|
value: e.theme || "",
|
|
1375
1376
|
disabled: !d.length,
|
|
1376
1377
|
onChange: (e) => ie(t, c, e.target.value)
|
|
1377
1378
|
}, [
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
(
|
|
1379
|
+
P("option", fa, V(H(n)("exhibition.collection.selectTheme")), 1),
|
|
1380
|
+
P("option", pa, V(H(n)("exhibition.collection.allThemes")), 1),
|
|
1381
|
+
(R(!0), N(k, null, B(H(o), (e) => (R(), N("option", {
|
|
1381
1382
|
key: e.value,
|
|
1382
1383
|
value: e.value
|
|
1383
|
-
},
|
|
1384
|
-
], 40, da), e.theme &&
|
|
1384
|
+
}, V(e.label), 9, ma))), 128))
|
|
1385
|
+
], 40, da), e.theme && H(s)(e.theme).length ? (R(), N("select", {
|
|
1385
1386
|
key: 0,
|
|
1386
1387
|
class: "mwnf-facet__select",
|
|
1387
|
-
"aria-label":
|
|
1388
|
+
"aria-label": H(n)("exhibition.themeGallery.select"),
|
|
1388
1389
|
value: e.subtheme || "",
|
|
1389
1390
|
disabled: !d.length,
|
|
1390
1391
|
onChange: (n) => ae(t, e, n.target.value)
|
|
1391
|
-
}, [
|
|
1392
|
+
}, [P("option", ga, V(H(n)("exhibition.themeGallery.select")), 1), (R(!0), N(k, null, B(H(s)(e.theme), (e) => (R(), N("option", {
|
|
1392
1393
|
key: e.value,
|
|
1393
1394
|
value: e.value
|
|
1394
|
-
},
|
|
1395
|
-
|
|
1395
|
+
}, V(e.label), 9, _a))), 128))], 40, ha)) : M("", !0)])])),
|
|
1396
|
+
I(a, {
|
|
1396
1397
|
mode: "immediate",
|
|
1397
|
-
title: x(e) ?
|
|
1398
|
-
"reset-label":
|
|
1398
|
+
title: x(e) ? H(n)("exhibition.collection.filterBy") : H(n)("exhibition.collection.filterFurtherBy"),
|
|
1399
|
+
"reset-label": H(n)("exhibition.collection.resetFilters"),
|
|
1399
1400
|
disabled: d.length === 0,
|
|
1400
1401
|
onReset: (e) => c()
|
|
1401
1402
|
}, {
|
|
1402
|
-
default:
|
|
1403
|
-
x(e) ? (
|
|
1403
|
+
default: U(() => [
|
|
1404
|
+
x(e) ? (R(), N("select", {
|
|
1404
1405
|
key: 0,
|
|
1405
1406
|
class: "mwnf-facet__select",
|
|
1406
|
-
"aria-label":
|
|
1407
|
+
"aria-label": H(n)("exhibition.collection.selectTheme"),
|
|
1407
1408
|
value: "",
|
|
1408
1409
|
disabled: !d.length,
|
|
1409
1410
|
onChange: (e) => ie(t, c, e.target.value)
|
|
1410
1411
|
}, [
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
(
|
|
1412
|
+
P("option", ya, V(H(n)("exhibition.collection.selectTheme")), 1),
|
|
1413
|
+
P("option", ba, V(H(n)("exhibition.collection.allThemes")), 1),
|
|
1414
|
+
(R(!0), N(k, null, B(H(o), (e) => (R(), N("option", {
|
|
1414
1415
|
key: e.value,
|
|
1415
1416
|
value: e.value
|
|
1416
|
-
},
|
|
1417
|
-
], 40, va)) :
|
|
1418
|
-
|
|
1417
|
+
}, V(e.label), 9, xa))), 128))
|
|
1418
|
+
], 40, va)) : M("", !0),
|
|
1419
|
+
I(i, {
|
|
1419
1420
|
"model-value": e.country,
|
|
1420
1421
|
options: p.country,
|
|
1421
|
-
placeholder:
|
|
1422
|
+
placeholder: H(n)("exhibition.collection.selectCountry"),
|
|
1422
1423
|
"onUpdate:modelValue": (e) => t({ country: e })
|
|
1423
1424
|
}, null, 8, [
|
|
1424
1425
|
"model-value",
|
|
@@ -1426,11 +1427,11 @@ var Zi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Qi =
|
|
|
1426
1427
|
"placeholder",
|
|
1427
1428
|
"onUpdate:modelValue"
|
|
1428
1429
|
]),
|
|
1429
|
-
(
|
|
1430
|
+
(R(), N(k, null, B(_, (r) => I(i, {
|
|
1430
1431
|
key: r,
|
|
1431
1432
|
"model-value": e[r],
|
|
1432
1433
|
options: p[r],
|
|
1433
|
-
placeholder:
|
|
1434
|
+
placeholder: H(n)(g[r]),
|
|
1434
1435
|
"hide-empty": "",
|
|
1435
1436
|
"onUpdate:modelValue": (e) => t({ [r]: e })
|
|
1436
1437
|
}, null, 8, [
|
|
@@ -1439,20 +1440,20 @@ var Zi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Qi =
|
|
|
1439
1440
|
"placeholder",
|
|
1440
1441
|
"onUpdate:modelValue"
|
|
1441
1442
|
])), 64)),
|
|
1442
|
-
|
|
1443
|
+
P("div", Sa, [I(i, {
|
|
1443
1444
|
"model-value": e.from,
|
|
1444
|
-
options:
|
|
1445
|
-
placeholder:
|
|
1445
|
+
options: H(Y)(d, y),
|
|
1446
|
+
placeholder: H(n)("exhibition.collection.startDate"),
|
|
1446
1447
|
"onUpdate:modelValue": (e) => t({ from: e })
|
|
1447
1448
|
}, null, 8, [
|
|
1448
1449
|
"model-value",
|
|
1449
1450
|
"options",
|
|
1450
1451
|
"placeholder",
|
|
1451
1452
|
"onUpdate:modelValue"
|
|
1452
|
-
]),
|
|
1453
|
+
]), I(i, {
|
|
1453
1454
|
"model-value": e.to,
|
|
1454
|
-
options:
|
|
1455
|
-
placeholder:
|
|
1455
|
+
options: H(Y)(d, y),
|
|
1456
|
+
placeholder: H(n)("exhibition.collection.endDate"),
|
|
1456
1457
|
"onUpdate:modelValue": (e) => t({ to: e })
|
|
1457
1458
|
}, null, 8, [
|
|
1458
1459
|
"model-value",
|
|
@@ -1468,7 +1469,7 @@ var Zi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Qi =
|
|
|
1468
1469
|
"disabled",
|
|
1469
1470
|
"onReset"
|
|
1470
1471
|
])
|
|
1471
|
-
], 512), [[
|
|
1472
|
+
], 512), [[vt, !f.value || m.value]])]),
|
|
1472
1473
|
_: 1
|
|
1473
1474
|
})]));
|
|
1474
1475
|
}
|
|
@@ -1491,7 +1492,7 @@ var Zi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Qi =
|
|
|
1491
1492
|
}, Va = ["value"], Ha = {
|
|
1492
1493
|
__name: "CollectionSearch",
|
|
1493
1494
|
setup(e) {
|
|
1494
|
-
let t =
|
|
1495
|
+
let t = Lt(), { t: n, locale: r } = J(), { themeOptions: i } = Xi(r), a = jt(Oe, Ue), o = A(() => [
|
|
1495
1496
|
{
|
|
1496
1497
|
key: "country",
|
|
1497
1498
|
name: "exhibition.collection.selectCountry",
|
|
@@ -1510,51 +1511,51 @@ var Zi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Qi =
|
|
|
1510
1511
|
]), s = {
|
|
1511
1512
|
"catalogue.era.ad": "exhibition.era.ad",
|
|
1512
1513
|
"catalogue.era.bc": "exhibition.era.bc"
|
|
1513
|
-
}, c = (e) => n(s[e] ?? e), l =
|
|
1514
|
+
}, c = (e) => n(s[e] ?? e), l = A(() => Y(Oe.value ?? [], c));
|
|
1514
1515
|
function u(e, n) {
|
|
1515
1516
|
n !== "" && n != null && (n === "all" ? t.push({ name: "collection-results" }) : t.push({
|
|
1516
1517
|
name: "collection-results",
|
|
1517
1518
|
query: { [e]: String(n) }
|
|
1518
1519
|
}));
|
|
1519
1520
|
}
|
|
1520
|
-
return (e, t) => (
|
|
1521
|
-
|
|
1521
|
+
return (e, t) => (R(), N("div", wa, [P("div", Ta, [P("div", Ea, V(H(n)("exhibition.collection.filterBy")), 1), P("div", Da, [
|
|
1522
|
+
P("select", {
|
|
1522
1523
|
class: "mwnf-dxa-exhibition-collection__select",
|
|
1523
|
-
"aria-label":
|
|
1524
|
+
"aria-label": H(n)("exhibition.collection.selectTheme"),
|
|
1524
1525
|
onChange: t[0] ||= (e) => u("theme", e.target.value)
|
|
1525
1526
|
}, [
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
(
|
|
1527
|
+
P("option", ka, V(H(n)("exhibition.collection.selectTheme")), 1),
|
|
1528
|
+
P("option", Aa, V(H(n)("exhibition.collection.allThemes")), 1),
|
|
1529
|
+
(R(!0), N(k, null, B(H(i), (e) => (R(), N("option", {
|
|
1529
1530
|
key: e.value,
|
|
1530
1531
|
value: e.value
|
|
1531
|
-
},
|
|
1532
|
+
}, V(e.label), 9, ja))), 128))
|
|
1532
1533
|
], 40, Oa),
|
|
1533
|
-
(
|
|
1534
|
+
(R(!0), N(k, null, B(o.value, (e) => (R(), N("select", {
|
|
1534
1535
|
key: e.key,
|
|
1535
1536
|
class: "mwnf-dxa-exhibition-collection__select",
|
|
1536
|
-
"aria-label":
|
|
1537
|
+
"aria-label": H(n)(e.name),
|
|
1537
1538
|
onChange: (t) => u(e.key, t.target.value)
|
|
1538
|
-
}, [
|
|
1539
|
+
}, [P("option", Na, V(H(n)(e.name)), 1), (R(!0), N(k, null, B(e.options, (e) => (R(), N("option", {
|
|
1539
1540
|
key: e.value,
|
|
1540
1541
|
value: String(e.value)
|
|
1541
|
-
},
|
|
1542
|
-
|
|
1542
|
+
}, V(e.label), 9, Pa))), 128))], 40, Ma))), 128)),
|
|
1543
|
+
P("div", Fa, [P("select", {
|
|
1543
1544
|
class: "mwnf-dxa-exhibition-collection__select",
|
|
1544
|
-
"aria-label":
|
|
1545
|
+
"aria-label": H(n)("exhibition.collection.startDate"),
|
|
1545
1546
|
onChange: t[1] ||= (e) => u("from", e.target.value)
|
|
1546
|
-
}, [
|
|
1547
|
+
}, [P("option", La, V(H(n)("exhibition.collection.startDate")), 1), (R(!0), N(k, null, B(l.value, (e) => (R(), N("option", {
|
|
1547
1548
|
key: e.value,
|
|
1548
1549
|
value: String(e.value)
|
|
1549
|
-
},
|
|
1550
|
+
}, V(e.label), 9, Ra))), 128))], 40, Ia), P("select", {
|
|
1550
1551
|
class: "mwnf-dxa-exhibition-collection__select",
|
|
1551
|
-
"aria-label":
|
|
1552
|
+
"aria-label": H(n)("exhibition.collection.endDate"),
|
|
1552
1553
|
onChange: t[2] ||= (e) => u("to", e.target.value)
|
|
1553
|
-
}, [
|
|
1554
|
+
}, [P("option", Ba, V(H(n)("exhibition.collection.endDate")), 1), (R(!0), N(k, null, B(l.value, (e) => (R(), N("option", {
|
|
1554
1555
|
key: e.value,
|
|
1555
1556
|
value: String(e.value)
|
|
1556
|
-
},
|
|
1557
|
-
])]),
|
|
1557
|
+
}, V(e.label), 9, Va))), 128))], 40, za)])
|
|
1558
|
+
])]), I(H(G), {
|
|
1558
1559
|
class: "mwnf-dxa-exhibition-collection__description mwnf-prose",
|
|
1559
1560
|
dir: "auto",
|
|
1560
1561
|
keypath: "exhibition.collection.intro"
|
|
@@ -1582,56 +1583,56 @@ var Zi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Qi =
|
|
|
1582
1583
|
}
|
|
1583
1584
|
},
|
|
1584
1585
|
setup(t) {
|
|
1585
|
-
let n = t, r =
|
|
1586
|
+
let n = t, r = A(() => n.variant === "institution"), i = Z(), a = A(() => Ce(i.params.id)), o = A(() => ({
|
|
1586
1587
|
entity: "items",
|
|
1587
1588
|
scope: (e) => e.partner_id === a.value?.id,
|
|
1588
|
-
...
|
|
1589
|
+
...qe,
|
|
1589
1590
|
summary: () => [],
|
|
1590
1591
|
record: Ae
|
|
1591
1592
|
}));
|
|
1592
1593
|
function s(e) {
|
|
1593
1594
|
let t = e[0];
|
|
1594
1595
|
if (!t) return null;
|
|
1595
|
-
let n = S("items", t.id,
|
|
1596
|
+
let n = S("items", t.id, He);
|
|
1596
1597
|
return {
|
|
1597
|
-
name:
|
|
1598
|
-
place: [n.location,
|
|
1598
|
+
name: E("partners", a.value?.id),
|
|
1599
|
+
place: [n.location, E("countries", t.country_id)].filter(Boolean).join(", ")
|
|
1599
1600
|
};
|
|
1600
1601
|
}
|
|
1601
|
-
return (n, i) => a.value ? (
|
|
1602
|
+
return (n, i) => a.value ? (R(), N("div", Ua, [I(D, {
|
|
1602
1603
|
spec: o.value,
|
|
1603
1604
|
class: "mwnf-dxa-partner-objects"
|
|
1604
1605
|
}, {
|
|
1605
|
-
before:
|
|
1606
|
-
|
|
1607
|
-
s(t) ? (
|
|
1608
|
-
|
|
1606
|
+
before: U(({ matching: t, pageInfo: n, goToPage: r }) => [
|
|
1607
|
+
I(e),
|
|
1608
|
+
s(t) ? (R(), N("div", Wa, [P("p", Ga, V(s(t).name), 1), P("p", Ka, V(s(t).place), 1)])) : M("", !0),
|
|
1609
|
+
I(Q, {
|
|
1609
1610
|
class: "mwnf-dxa-exhibition-pages--top",
|
|
1610
1611
|
"page-info": n,
|
|
1611
1612
|
onNavigate: r
|
|
1612
1613
|
}, null, 8, ["page-info", "onNavigate"])
|
|
1613
1614
|
]),
|
|
1614
|
-
records:
|
|
1615
|
+
records: U(({ rows: e }) => [P("div", qa, [P("div", Ja, [e.length ? (R(), j($, {
|
|
1615
1616
|
key: 0,
|
|
1616
1617
|
rows: e,
|
|
1617
1618
|
family: "exhibition"
|
|
1618
|
-
}, null, 8, ["rows"])) : (
|
|
1619
|
+
}, null, 8, ["rows"])) : (R(), j(H(G), {
|
|
1619
1620
|
key: 1,
|
|
1620
1621
|
keypath: r.value ? t.texts.emptyInstitution : t.texts.emptyPartner
|
|
1621
|
-
}, null, 8, ["keypath"]))]),
|
|
1622
|
-
default:
|
|
1622
|
+
}, null, 8, ["keypath"]))]), P("div", Ya, [I(H(X), { to: H(xe)(a.value) }, {
|
|
1623
|
+
default: U(() => [i[0] ||= P("span", { "aria-hidden": "true" }, "➦", -1), F(" " + V(n.$t(r.value ? t.texts.institutionProfileLabel : t.texts.partnerProfileLabel)), 1)]),
|
|
1623
1624
|
_: 1
|
|
1624
1625
|
}, 8, ["to"])])])]),
|
|
1625
|
-
pagination:
|
|
1626
|
-
after:
|
|
1626
|
+
pagination: U(() => [...i[1] ||= []]),
|
|
1627
|
+
after: U(({ pageInfo: e, goToPage: t }) => [e.lastPage > 1 ? (R(), j(Q, {
|
|
1627
1628
|
key: 0,
|
|
1628
1629
|
"page-info": e,
|
|
1629
1630
|
onNavigate: t
|
|
1630
|
-
}, null, 8, ["page-info", "onNavigate"])) : (
|
|
1631
|
+
}, null, 8, ["page-info", "onNavigate"])) : (R(), N("div", Xa))]),
|
|
1631
1632
|
_: 1
|
|
1632
|
-
}, 8, ["spec"])])) :
|
|
1633
|
+
}, 8, ["spec"])])) : M("", !0);
|
|
1633
1634
|
}
|
|
1634
|
-
}, Qa = () => Promise.resolve().then(() =>
|
|
1635
|
+
}, Qa = () => Promise.resolve().then(() => fs), $a = () => Promise.resolve().then(() => xs), eo = () => Promise.resolve().then(() => Cs), to = () => Promise.resolve().then(() => zs), no = () => Promise.resolve().then(() => Hs), ro = () => Promise.resolve().then(() => Gs), io = () => import("./Theme-BCn6_VkI.js").then((e) => e.t), ao = () => Promise.resolve().then(() => lc), oo = () => Promise.resolve().then(() => Oc), so = () => Promise.resolve().then(() => Ac), co = () => Promise.resolve().then(() => Kc), lo = {
|
|
1635
1636
|
emptyPartner: "exhibition.partnerObjects.emptyPartner",
|
|
1636
1637
|
emptyInstitution: "exhibition.partnerObjects.emptyInstitution",
|
|
1637
1638
|
institutionSummary: "exhibition.partner.monumentsInExhibition",
|
|
@@ -1639,7 +1640,7 @@ var Zi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Qi =
|
|
|
1639
1640
|
institutionProfileLabel: "exhibition.partnerObjects.institutionProfile"
|
|
1640
1641
|
};
|
|
1641
1642
|
function uo(e) {
|
|
1642
|
-
let t =
|
|
1643
|
+
let t = kt([
|
|
1643
1644
|
"gallery",
|
|
1644
1645
|
"items",
|
|
1645
1646
|
"partners",
|
|
@@ -1676,7 +1677,7 @@ function uo(e) {
|
|
|
1676
1677
|
{
|
|
1677
1678
|
path: "/how-to-search",
|
|
1678
1679
|
name: "search-how-to",
|
|
1679
|
-
component:
|
|
1680
|
+
component: Jt,
|
|
1680
1681
|
meta: t("database")
|
|
1681
1682
|
},
|
|
1682
1683
|
{
|
|
@@ -1688,7 +1689,7 @@ function uo(e) {
|
|
|
1688
1689
|
{
|
|
1689
1690
|
path: "/partner/:id",
|
|
1690
1691
|
name: "partner",
|
|
1691
|
-
component:
|
|
1692
|
+
component: Ht,
|
|
1692
1693
|
props: (e) => ({
|
|
1693
1694
|
id: String(e.params.id),
|
|
1694
1695
|
family: _e
|
|
@@ -1716,13 +1717,13 @@ function uo(e) {
|
|
|
1716
1717
|
{
|
|
1717
1718
|
path: "/about",
|
|
1718
1719
|
name: "about",
|
|
1719
|
-
component:
|
|
1720
|
+
component: Wt,
|
|
1720
1721
|
meta: t("about")
|
|
1721
1722
|
},
|
|
1722
1723
|
{
|
|
1723
1724
|
path: "/credits",
|
|
1724
1725
|
name: "credits",
|
|
1725
|
-
component:
|
|
1726
|
+
component: Gt,
|
|
1726
1727
|
props: { bodyKey: n },
|
|
1727
1728
|
meta: t("credits")
|
|
1728
1729
|
},
|
|
@@ -1741,7 +1742,7 @@ function uo(e) {
|
|
|
1741
1742
|
];
|
|
1742
1743
|
}
|
|
1743
1744
|
function fo(e) {
|
|
1744
|
-
let t =
|
|
1745
|
+
let t = kt([
|
|
1745
1746
|
"exhibition",
|
|
1746
1747
|
"items",
|
|
1747
1748
|
"partners",
|
|
@@ -1804,7 +1805,7 @@ function fo(e) {
|
|
|
1804
1805
|
...e.creditsBody ? [{
|
|
1805
1806
|
path: "/credits",
|
|
1806
1807
|
name: "credits",
|
|
1807
|
-
component:
|
|
1808
|
+
component: qt,
|
|
1808
1809
|
props: { bodyKey: e.creditsBody },
|
|
1809
1810
|
meta: t("credits")
|
|
1810
1811
|
}] : []
|
|
@@ -1830,7 +1831,7 @@ function fo(e) {
|
|
|
1830
1831
|
{
|
|
1831
1832
|
path: "/partner/:id",
|
|
1832
1833
|
name: "partner",
|
|
1833
|
-
component:
|
|
1834
|
+
component: Ht,
|
|
1834
1835
|
props: (e) => ({
|
|
1835
1836
|
id: String(e.params.id),
|
|
1836
1837
|
family: be
|
|
@@ -1847,7 +1848,7 @@ function fo(e) {
|
|
|
1847
1848
|
{
|
|
1848
1849
|
path: "/institution/:id",
|
|
1849
1850
|
name: "institution",
|
|
1850
|
-
component:
|
|
1851
|
+
component: Ht,
|
|
1851
1852
|
props: (e) => ({
|
|
1852
1853
|
id: String(e.params.id),
|
|
1853
1854
|
family: be,
|
|
@@ -1941,17 +1942,17 @@ var _o = {
|
|
|
1941
1942
|
},
|
|
1942
1943
|
emits: ["update:language"],
|
|
1943
1944
|
setup(e, { emit: t }) {
|
|
1944
|
-
let n = e, r = t, { t: i, locale: a } =
|
|
1945
|
+
let n = e, r = t, { t: i, locale: a } = J(), o = Pt(), s = A(() => o.links ?? {}), c = A(() => o.galleryShell ?? {}), l = Nt(), u = A(() => l.value === "home"), d = (/* @__PURE__ */ new Date()).getFullYear();
|
|
1945
1946
|
function f(e) {
|
|
1946
1947
|
return e?.[a.value] ?? e?.en ?? "";
|
|
1947
1948
|
}
|
|
1948
|
-
let m =
|
|
1949
|
+
let m = A(() => te(f));
|
|
1949
1950
|
function h(e, t) {
|
|
1950
1951
|
if (!(e in c.value)) return t();
|
|
1951
1952
|
let n = c.value[e];
|
|
1952
1953
|
return n ? i(n) : "";
|
|
1953
1954
|
}
|
|
1954
|
-
let g =
|
|
1955
|
+
let g = A(() => u.value ? "" : h("headerEyebrow", () => i("core.project.galleries"))), v = A(() => u.value ? "" : h("headerTitle", () => m.value)), y = A(() => c.value.bannerImage ? $e(o.chrome, c.value.bannerImage) : re(me.value?.banner_image_path, "hi_res")), b = A(() => {
|
|
1955
1956
|
if (c.value.bannerCaption) return c.value.bannerCaption;
|
|
1956
1957
|
let e = ue.value.get(me.value?.banner_item_id);
|
|
1957
1958
|
if (!e) return "";
|
|
@@ -1962,12 +1963,12 @@ var _o = {
|
|
|
1962
1963
|
location: t.location ?? "",
|
|
1963
1964
|
country: _("countries", e.country_id)
|
|
1964
1965
|
};
|
|
1965
|
-
}), x =
|
|
1966
|
+
}), x = A(() => u.value ? h("bannerEyebrow", () => i("gallery.banner.discoverGalleries")) : ""), ne = A(() => u.value ? h("bannerTitle", () => m.value) : void 0), ie = A(() => c.value.notice === !1 ? null : {
|
|
1966
1967
|
title: i("gallery.notice.tip"),
|
|
1967
1968
|
text: `${i("gallery.notice.searchThe")} ${te(ee)} ${i("gallery.notice.database")}`
|
|
1968
|
-
}), ae =
|
|
1969
|
-
return (e, t) => (
|
|
1970
|
-
class:
|
|
1969
|
+
}), ae = A(() => !!$e(o.chrome, o.brand?.logo));
|
|
1970
|
+
return (e, t) => (R(), j(Xe, {
|
|
1971
|
+
class: L(["mwnf-dxa-gallery-shell", { "mwnf-dxa-gallery-shell--home": u.value }]),
|
|
1971
1972
|
languages: n.languages,
|
|
1972
1973
|
language: n.language,
|
|
1973
1974
|
"language-placement": "none",
|
|
@@ -1980,14 +1981,14 @@ var _o = {
|
|
|
1980
1981
|
"banner-eyebrow": x.value,
|
|
1981
1982
|
"banner-title": ne.value,
|
|
1982
1983
|
notice: ie.value,
|
|
1983
|
-
"footer-text": `${
|
|
1984
|
+
"footer-text": `${H(i)("core.footer.copyright")} 2004–${H(d)}`,
|
|
1984
1985
|
"onUpdate:language": t[0] ||= (e) => r("update:language", e)
|
|
1985
|
-
},
|
|
1986
|
-
default:
|
|
1986
|
+
}, ct({
|
|
1987
|
+
default: U(() => [pt(e.$slots, "default")]),
|
|
1987
1988
|
_: 2
|
|
1988
1989
|
}, [ae.value ? void 0 : {
|
|
1989
1990
|
name: "brand",
|
|
1990
|
-
fn:
|
|
1991
|
+
fn: U(() => [t[1] ||= P("span", { class: "mwnf-dxa-logo-mark" }, "MWNF", -1)]),
|
|
1991
1992
|
key: "0"
|
|
1992
1993
|
}]), 1032, [
|
|
1993
1994
|
"class",
|
|
@@ -2028,20 +2029,20 @@ var _o = {
|
|
|
2028
2029
|
}
|
|
2029
2030
|
},
|
|
2030
2031
|
setup(e) {
|
|
2031
|
-
let t = e, n =
|
|
2032
|
-
return (t, a) => i.value ? (
|
|
2032
|
+
let t = e, n = z(!1), r = A(() => t.rawHtml ? t.content : q(t.content)), i = A(() => t.enabled && !!t.content && !n.value);
|
|
2033
|
+
return (t, a) => i.value ? (R(), N("div", vo, [P("button", {
|
|
2033
2034
|
class: "mwnf-popup-logo__close",
|
|
2034
2035
|
"aria-label": t.$t(e.closeLabel),
|
|
2035
2036
|
onClick: a[0] ||= (e) => n.value = !0
|
|
2036
|
-
}, "✕", 8, yo), e.rawHtml ? (
|
|
2037
|
+
}, "✕", 8, yo), e.rawHtml ? (R(), N("div", {
|
|
2037
2038
|
key: 0,
|
|
2038
2039
|
class: "mwnf-popup-logo__content",
|
|
2039
2040
|
innerHTML: r.value
|
|
2040
|
-
}, null, 8, bo)) : (
|
|
2041
|
+
}, null, 8, bo)) : (R(), N("div", {
|
|
2041
2042
|
key: 1,
|
|
2042
2043
|
class: "mwnf-popup-logo__content",
|
|
2043
2044
|
innerHTML: r.value
|
|
2044
|
-
}, null, 8, xo))])) :
|
|
2045
|
+
}, null, 8, xo))])) : M("", !0);
|
|
2045
2046
|
}
|
|
2046
2047
|
}, Co = {
|
|
2047
2048
|
__name: "Shell",
|
|
@@ -2057,24 +2058,37 @@ var _o = {
|
|
|
2057
2058
|
},
|
|
2058
2059
|
emits: ["update:language"],
|
|
2059
2060
|
setup(e, { emit: t }) {
|
|
2060
|
-
let n = e, r = t, { t: i, locale: a } =
|
|
2061
|
-
|
|
2061
|
+
let n = e, r = t, { t: i, locale: a } = J(), o = Pt(), s = A(() => o.links ?? {}), c = A(() => !!$e(o.chrome, o.brand?.logo)), l = Nt(), u = A(() => l.value === "home"), d = (/* @__PURE__ */ new Date()).getFullYear(), f = A(() => o.exhibition ?? {});
|
|
2062
|
+
function p(e) {
|
|
2063
|
+
return e ? {
|
|
2064
|
+
image: $e(o.chrome, e.image) ?? T.value.get(e.item)?.images?.[0]?.url ?? "",
|
|
2065
|
+
itemId: e.item ?? null
|
|
2066
|
+
} : null;
|
|
2067
|
+
}
|
|
2068
|
+
let m = A(() => f.value.home === void 0 ? C.value?.homepage_image_path ? {
|
|
2069
|
+
image: Ve(C.value.homepage_image_path, "hi_res"),
|
|
2070
|
+
itemId: C.value?.homepage_item_id
|
|
2071
|
+
} : null : p(f.value.home)), h = A(() => f.value.banner === void 0 ? {
|
|
2072
|
+
image: Ve(C.value?.banner_image_path, "hi_res"),
|
|
2073
|
+
itemId: C.value?.banner_item_id
|
|
2074
|
+
} : p(f.value.banner)), g = A(() => u.value && m.value?.image || null);
|
|
2075
|
+
bt(() => {
|
|
2062
2076
|
if (typeof document > "u") return;
|
|
2063
|
-
let e =
|
|
2064
|
-
|
|
2077
|
+
let e = m.value?.image ?? "";
|
|
2078
|
+
e ? document.documentElement.style.setProperty("--mwnf-dxa-exhibition-backdrop", `url("${e.replace(/"/g, "%22")}")`) : document.documentElement.style.removeProperty("--mwnf-dxa-exhibition-backdrop");
|
|
2065
2079
|
});
|
|
2066
|
-
let
|
|
2067
|
-
let e =
|
|
2068
|
-
if (!t) return
|
|
2069
|
-
let n = S("items", t.id,
|
|
2080
|
+
let _ = A(() => g.value ?? h.value?.image ?? null), v = A(() => {
|
|
2081
|
+
let e = g.value ? m.value?.itemId : h.value?.itemId, t = T.value.get(e);
|
|
2082
|
+
if (!t) return g.value ? "" : Re(a.value);
|
|
2083
|
+
let n = S("items", t.id, He);
|
|
2070
2084
|
return {
|
|
2071
|
-
name:
|
|
2085
|
+
name: E("items", t.id),
|
|
2072
2086
|
holder: n.holder ?? "",
|
|
2073
2087
|
location: n.location ?? "",
|
|
2074
2088
|
province: "",
|
|
2075
|
-
country:
|
|
2089
|
+
country: E("countries", t.country_id)
|
|
2076
2090
|
};
|
|
2077
|
-
}),
|
|
2091
|
+
}), y = A(() => [{
|
|
2078
2092
|
label: i("core.nav.about"),
|
|
2079
2093
|
description: i("exhibition.nav.introduction"),
|
|
2080
2094
|
href: "#/about"
|
|
@@ -2083,18 +2097,18 @@ var _o = {
|
|
|
2083
2097
|
description: i("exhibition.nav.contentAtAGlance"),
|
|
2084
2098
|
href: "#/themes"
|
|
2085
2099
|
}]);
|
|
2086
|
-
function
|
|
2100
|
+
function ee(e) {
|
|
2087
2101
|
return e.labels?.[a.value] ?? e.labels?.en ?? e.alt_text ?? "";
|
|
2088
2102
|
}
|
|
2089
|
-
let
|
|
2103
|
+
let te = A(() => {
|
|
2090
2104
|
let e = o.sponsorLogos;
|
|
2091
2105
|
return Array.isArray(e) ? e.map((e) => ({
|
|
2092
2106
|
...e,
|
|
2093
|
-
image:
|
|
2107
|
+
image: $e(o.chrome, e.image),
|
|
2094
2108
|
alt: e.alt ? i(e.alt) : ""
|
|
2095
2109
|
})).filter((e) => e.image) : (C.value?.logos ?? []).map((e) => ({
|
|
2096
|
-
image: e.legacy_path ?
|
|
2097
|
-
alt:
|
|
2110
|
+
image: e.legacy_path ? Ve(e.legacy_path, "full") : null,
|
|
2111
|
+
alt: ee(e),
|
|
2098
2112
|
href: e.url || void 0,
|
|
2099
2113
|
category_id: e.category_id,
|
|
2100
2114
|
category: e.category,
|
|
@@ -2102,54 +2116,61 @@ var _o = {
|
|
|
2102
2116
|
display_order: e.display_order
|
|
2103
2117
|
})).filter((e) => e.image);
|
|
2104
2118
|
});
|
|
2105
|
-
function
|
|
2119
|
+
function b(e) {
|
|
2106
2120
|
let t = o.media?.legacyHost;
|
|
2107
2121
|
if (!t || !e.startsWith(`${t.replace(/\/+$/, "")}/`)) return null;
|
|
2108
2122
|
let n = e.slice(t.replace(/\/+$/, "").length + 1).split("/").slice(1).join("/");
|
|
2109
|
-
return
|
|
2123
|
+
return Qe(o.chrome, n);
|
|
2110
2124
|
}
|
|
2111
|
-
let
|
|
2125
|
+
let x = A(() => f.value.popup), ne = A(() => {
|
|
2126
|
+
if (x.value !== void 0) {
|
|
2127
|
+
let e = x.value?.body, t = e ? i(e) : "";
|
|
2128
|
+
return Ze(Ee(t && t !== e ? t : "", { glossary: [] }), (e) => et(o.chrome, e));
|
|
2129
|
+
}
|
|
2130
|
+
return Ze(Ee(C.value?.popup_logos?.[a.value] ?? C.value?.popup_logos?.en ?? "", { glossary: [] }), b);
|
|
2131
|
+
}), re = A(() => {
|
|
2132
|
+
if (x.value !== void 0) return !!x.value?.body;
|
|
2112
2133
|
let e = C.value?.popup_logo_show;
|
|
2113
2134
|
return e == null ? !1 : typeof e == "boolean" ? e : e[a.value] ?? e.en ?? !1;
|
|
2114
2135
|
});
|
|
2115
|
-
return (e, t) => (
|
|
2136
|
+
return (e, t) => (R(), j(Xe, {
|
|
2116
2137
|
languages: n.languages,
|
|
2117
2138
|
language: n.language,
|
|
2118
2139
|
"language-placement": "header",
|
|
2119
2140
|
"language-style": "select",
|
|
2120
2141
|
"header-home": s.value.portal,
|
|
2121
|
-
"header-title":
|
|
2142
|
+
"header-title": H(i)("exhibition.identity.tagline"),
|
|
2122
2143
|
"header-title-href": "#/about",
|
|
2123
|
-
"banner-image":
|
|
2124
|
-
"banner-caption":
|
|
2125
|
-
"banner-caption-label":
|
|
2126
|
-
"banner-title": u.value ?
|
|
2127
|
-
"banner-subtitle": u.value ?
|
|
2128
|
-
"banner-headline": u.value ?
|
|
2144
|
+
"banner-image": _.value,
|
|
2145
|
+
"banner-caption": v.value,
|
|
2146
|
+
"banner-caption-label": H(i)("layout.banner.detailFrom"),
|
|
2147
|
+
"banner-title": u.value ? H(je)(H(a)) : "",
|
|
2148
|
+
"banner-subtitle": u.value ? H(We)(H(a)) : "",
|
|
2149
|
+
"banner-headline": u.value ? H(Le)(H(a)) : "",
|
|
2129
2150
|
"banner-enter": u.value ? {
|
|
2130
|
-
label:
|
|
2151
|
+
label: H(i)("exhibition.action.enter"),
|
|
2131
2152
|
href: "#/about"
|
|
2132
2153
|
} : null,
|
|
2133
|
-
"banner-strapline": u.value ?
|
|
2154
|
+
"banner-strapline": u.value ? H(i)("exhibition.identity.strapline") : "",
|
|
2134
2155
|
"hyperlinks-variant": "tiles",
|
|
2135
|
-
"hyperlinks-title":
|
|
2156
|
+
"hyperlinks-title": H(je)(H(a)),
|
|
2136
2157
|
"hyperlinks-title-href": "#/",
|
|
2137
|
-
"hyperlinks-subtitle":
|
|
2138
|
-
hyperlinks:
|
|
2139
|
-
"footer-text": `${
|
|
2140
|
-
logos:
|
|
2158
|
+
"hyperlinks-subtitle": H(We)(H(a)),
|
|
2159
|
+
hyperlinks: y.value,
|
|
2160
|
+
"footer-text": `${H(i)("core.footer.copyright")} 2004–${H(d)}`,
|
|
2161
|
+
logos: te.value,
|
|
2141
2162
|
"onUpdate:language": t[0] ||= (e) => r("update:language", e)
|
|
2142
|
-
},
|
|
2143
|
-
notice:
|
|
2144
|
-
content:
|
|
2145
|
-
enabled:
|
|
2163
|
+
}, ct({
|
|
2164
|
+
notice: U(() => [I(So, {
|
|
2165
|
+
content: ne.value,
|
|
2166
|
+
enabled: re.value,
|
|
2146
2167
|
"raw-html": ""
|
|
2147
2168
|
}, null, 8, ["content", "enabled"])]),
|
|
2148
|
-
default:
|
|
2169
|
+
default: U(() => [pt(e.$slots, "default")]),
|
|
2149
2170
|
_: 2
|
|
2150
2171
|
}, [c.value ? void 0 : {
|
|
2151
2172
|
name: "brand",
|
|
2152
|
-
fn:
|
|
2173
|
+
fn: U(() => [t[1] ||= P("span", { class: "mwnf-dxa-logo-mark" }, "MWNF", -1)]),
|
|
2153
2174
|
key: "0"
|
|
2154
2175
|
}]), 1032, [
|
|
2155
2176
|
"languages",
|
|
@@ -2177,7 +2198,7 @@ var _o = {
|
|
|
2177
2198
|
sharinghistory: "mwnf-chip--AWE",
|
|
2178
2199
|
carpets: "mwnf-chip--DCA",
|
|
2179
2200
|
glass: "mwnf-chip--DGA"
|
|
2180
|
-
}, To = new Set(
|
|
2201
|
+
}, To = new Set(St.filter((e) => e.family === "exhibition").map((e) => e.slug));
|
|
2181
2202
|
function Eo(e) {
|
|
2182
2203
|
let t = {};
|
|
2183
2204
|
for (let [n, r] of Object.entries(e?.projects ?? {})) {
|
|
@@ -2199,7 +2220,7 @@ function Oo({ country: e, start: t, end: n, page: r }) {
|
|
|
2199
2220
|
};
|
|
2200
2221
|
}
|
|
2201
2222
|
function ko({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {}, noticeProjects: i = [], creditsBody: a, chrome: o = {}, homeLogos: s = [] }) {
|
|
2202
|
-
let { manifest: c } =
|
|
2223
|
+
let { manifest: c } = At(), l = Et();
|
|
2203
2224
|
return {
|
|
2204
2225
|
datasetPackage: e,
|
|
2205
2226
|
siteName: c.site?.names?.en ?? t,
|
|
@@ -2207,7 +2228,7 @@ function ko({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2207
2228
|
languages: l,
|
|
2208
2229
|
shell: _o,
|
|
2209
2230
|
navigation: {
|
|
2210
|
-
languages:
|
|
2231
|
+
languages: wt(l),
|
|
2211
2232
|
links: [
|
|
2212
2233
|
{
|
|
2213
2234
|
section: "about",
|
|
@@ -2236,7 +2257,7 @@ function ko({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2236
2257
|
},
|
|
2237
2258
|
{
|
|
2238
2259
|
label: "core.nav.myCollection",
|
|
2239
|
-
href:
|
|
2260
|
+
href: K.myCollection,
|
|
2240
2261
|
external: !0
|
|
2241
2262
|
}
|
|
2242
2263
|
],
|
|
@@ -2245,33 +2266,33 @@ function ko({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2245
2266
|
to: { name: "home" }
|
|
2246
2267
|
}, {
|
|
2247
2268
|
label: "gallery.nav.allGalleries",
|
|
2248
|
-
href: `${
|
|
2269
|
+
href: `${K.galleries}/list/1`,
|
|
2249
2270
|
external: !0
|
|
2250
2271
|
}],
|
|
2251
2272
|
footerLinks: [
|
|
2252
2273
|
{
|
|
2253
2274
|
label: "core.footer.aboutMwnf",
|
|
2254
|
-
href:
|
|
2275
|
+
href: K.about,
|
|
2255
2276
|
external: !0
|
|
2256
2277
|
},
|
|
2257
2278
|
{
|
|
2258
2279
|
label: "core.footer.contact",
|
|
2259
|
-
href:
|
|
2280
|
+
href: K.contact,
|
|
2260
2281
|
external: !0
|
|
2261
2282
|
},
|
|
2262
2283
|
{
|
|
2263
2284
|
label: "core.footer.legalNotice",
|
|
2264
|
-
href:
|
|
2285
|
+
href: K.legalNotice,
|
|
2265
2286
|
external: !0
|
|
2266
2287
|
},
|
|
2267
2288
|
{
|
|
2268
2289
|
label: "core.footer.credits",
|
|
2269
|
-
href:
|
|
2290
|
+
href: K.credits,
|
|
2270
2291
|
external: !0
|
|
2271
2292
|
},
|
|
2272
2293
|
{
|
|
2273
2294
|
label: "core.footer.cookies",
|
|
2274
|
-
href:
|
|
2295
|
+
href: K.cookies,
|
|
2275
2296
|
external: !0
|
|
2276
2297
|
}
|
|
2277
2298
|
],
|
|
@@ -2292,7 +2313,7 @@ function ko({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2292
2313
|
empty: "all-objects"
|
|
2293
2314
|
},
|
|
2294
2315
|
placement: ({ section: e }) => e === "home" ? "after-banner" : "before-banner",
|
|
2295
|
-
socialLinks:
|
|
2316
|
+
socialLinks: tt
|
|
2296
2317
|
},
|
|
2297
2318
|
banner: {
|
|
2298
2319
|
variant: ({ section: e }) => e === "home" ? "strip" : "section",
|
|
@@ -2310,7 +2331,7 @@ function ko({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2310
2331
|
},
|
|
2311
2332
|
homeLogos: s,
|
|
2312
2333
|
media: { legacyHost: "https://images.museumwnf.org" },
|
|
2313
|
-
links: { ...
|
|
2334
|
+
links: { ...K },
|
|
2314
2335
|
projectColors: {
|
|
2315
2336
|
...Eo(c),
|
|
2316
2337
|
...r
|
|
@@ -2325,7 +2346,7 @@ function ko({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2325
2346
|
{
|
|
2326
2347
|
path: "/database-item/:uid(.*)/:language",
|
|
2327
2348
|
async resolve({ uid: e }) {
|
|
2328
|
-
await
|
|
2349
|
+
await Tt(["items"]);
|
|
2329
2350
|
let t = ne(e);
|
|
2330
2351
|
return t ? {
|
|
2331
2352
|
name: "item",
|
|
@@ -2336,7 +2357,7 @@ function ko({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2336
2357
|
{
|
|
2337
2358
|
path: "/partner/:country/:id/:language",
|
|
2338
2359
|
async resolve({ country: e, id: t }) {
|
|
2339
|
-
await
|
|
2360
|
+
await Tt(["partners"]);
|
|
2340
2361
|
let n = h(e, t);
|
|
2341
2362
|
return n ? {
|
|
2342
2363
|
name: "partner",
|
|
@@ -2347,7 +2368,7 @@ function ko({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2347
2368
|
{
|
|
2348
2369
|
path: "/partner-objects/:country/:id/:page",
|
|
2349
2370
|
async resolve({ country: e, id: t, page: n }) {
|
|
2350
|
-
await
|
|
2371
|
+
await Tt(["partners"]);
|
|
2351
2372
|
let r = h(e, t);
|
|
2352
2373
|
return r ? {
|
|
2353
2374
|
name: "partner-objects",
|
|
@@ -2367,20 +2388,32 @@ function ko({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2367
2388
|
]
|
|
2368
2389
|
};
|
|
2369
2390
|
}
|
|
2370
|
-
|
|
2371
|
-
|
|
2391
|
+
var Ao = [
|
|
2392
|
+
"banner",
|
|
2393
|
+
"home",
|
|
2394
|
+
"popup",
|
|
2395
|
+
"timeline",
|
|
2396
|
+
"hiddenPartners"
|
|
2397
|
+
];
|
|
2398
|
+
function jo(e) {
|
|
2399
|
+
let t = {};
|
|
2400
|
+
for (let [n, r] of Object.entries(e)) Ao.includes(n) ? r !== void 0 && (t[n] = r) : console.warn(`exhibitionConfig: unknown option "${n}"`);
|
|
2401
|
+
return t;
|
|
2402
|
+
}
|
|
2403
|
+
function Mo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {}, noticeProjects: i = [], creditsBody: a, partnerObjects: o, chrome: s = {}, sponsorLogos: c, legacyRoutes: l = !0, ...u }) {
|
|
2404
|
+
let { manifest: d } = At(), f = Et(), p = async (e, t) => (await Tt([
|
|
2372
2405
|
"exhibition",
|
|
2373
2406
|
"partners",
|
|
2374
2407
|
"countries"
|
|
2375
2408
|
]), ho(Te.value, ke.value, e, t));
|
|
2376
2409
|
return {
|
|
2377
2410
|
datasetPackage: e,
|
|
2378
|
-
siteName:
|
|
2411
|
+
siteName: d.site?.names?.en ?? t,
|
|
2379
2412
|
features: { entities: [] },
|
|
2380
|
-
languages:
|
|
2413
|
+
languages: f,
|
|
2381
2414
|
shell: Co,
|
|
2382
2415
|
navigation: {
|
|
2383
|
-
languages:
|
|
2416
|
+
languages: f.map((e) => ({
|
|
2384
2417
|
code: e,
|
|
2385
2418
|
label: String(e).toUpperCase()
|
|
2386
2419
|
})),
|
|
@@ -2423,7 +2456,7 @@ function Ao({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2423
2456
|
},
|
|
2424
2457
|
{
|
|
2425
2458
|
label: "core.nav.myCollection",
|
|
2426
|
-
href:
|
|
2459
|
+
href: K.myCollection,
|
|
2427
2460
|
external: !0
|
|
2428
2461
|
}
|
|
2429
2462
|
],
|
|
@@ -2432,33 +2465,33 @@ function Ao({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2432
2465
|
to: { name: "home" }
|
|
2433
2466
|
}, {
|
|
2434
2467
|
label: "core.footer.aboutMwnf",
|
|
2435
|
-
href:
|
|
2468
|
+
href: K.about,
|
|
2436
2469
|
external: !0
|
|
2437
2470
|
}],
|
|
2438
2471
|
footerLinks: [
|
|
2439
2472
|
{
|
|
2440
2473
|
label: "core.footer.aboutMwnf",
|
|
2441
|
-
href:
|
|
2474
|
+
href: K.about,
|
|
2442
2475
|
external: !0
|
|
2443
2476
|
},
|
|
2444
2477
|
{
|
|
2445
2478
|
label: "core.footer.contact",
|
|
2446
|
-
href:
|
|
2479
|
+
href: K.contact,
|
|
2447
2480
|
external: !0
|
|
2448
2481
|
},
|
|
2449
2482
|
{
|
|
2450
2483
|
label: "core.footer.legalNotice",
|
|
2451
|
-
href:
|
|
2484
|
+
href: K.legalNotice,
|
|
2452
2485
|
external: !0
|
|
2453
2486
|
},
|
|
2454
2487
|
{
|
|
2455
2488
|
label: "core.footer.credits",
|
|
2456
|
-
href:
|
|
2489
|
+
href: K.credits,
|
|
2457
2490
|
external: !0
|
|
2458
2491
|
},
|
|
2459
2492
|
{
|
|
2460
2493
|
label: "core.footer.cookies",
|
|
2461
|
-
href:
|
|
2494
|
+
href: K.cookies,
|
|
2462
2495
|
external: !0
|
|
2463
2496
|
}
|
|
2464
2497
|
],
|
|
@@ -2480,7 +2513,7 @@ function Ao({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2480
2513
|
empty: "all-items"
|
|
2481
2514
|
},
|
|
2482
2515
|
placement: "before-banner",
|
|
2483
|
-
socialLinks:
|
|
2516
|
+
socialLinks: tt
|
|
2484
2517
|
},
|
|
2485
2518
|
banner: {
|
|
2486
2519
|
variant: ({ section: e }) => e === "home" ? "split" : "section",
|
|
@@ -2488,7 +2521,7 @@ function Ao({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2488
2521
|
if (e?.name !== "theme" && e?.name !== "theme-gallery") return "";
|
|
2489
2522
|
let n = Number(e.params.id);
|
|
2490
2523
|
if (!Number.isInteger(n) || n < 1) return "";
|
|
2491
|
-
let r = `${t("exhibition.theme.romanLabel")} ${
|
|
2524
|
+
let r = `${t("exhibition.theme.romanLabel")} ${Rt(n + 1)}`, i = e.params.subtheme;
|
|
2492
2525
|
return i && i !== "overview" ? `${r} ▪ ${t("exhibition.theme.subthemeLabel")} ${i}` : e.name === "theme-gallery" ? `${r} ▪ ${t("exhibition.theme.galleryLabel")}` : `${r} ▪ ${t("exhibition.theme.overview")}`;
|
|
2493
2526
|
}
|
|
2494
2527
|
},
|
|
@@ -2519,23 +2552,24 @@ function Ao({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2519
2552
|
}
|
|
2520
2553
|
},
|
|
2521
2554
|
media: { legacyHost: "https://images.museumwnf.org" },
|
|
2522
|
-
links: { ...
|
|
2555
|
+
links: { ...K },
|
|
2523
2556
|
projectColors: {
|
|
2524
|
-
...Eo(
|
|
2557
|
+
...Eo(d),
|
|
2525
2558
|
...r
|
|
2526
2559
|
},
|
|
2527
2560
|
noticeProjects: i,
|
|
2528
2561
|
site: { origin: n },
|
|
2562
|
+
exhibition: jo(u),
|
|
2529
2563
|
extraViews: po("exhibition", {
|
|
2530
2564
|
creditsBody: a,
|
|
2531
2565
|
partnerObjects: o,
|
|
2532
2566
|
pages: !0
|
|
2533
2567
|
}),
|
|
2534
|
-
legacyRoutes: [
|
|
2568
|
+
legacyRoutes: l === !1 ? [] : [
|
|
2535
2569
|
{
|
|
2536
2570
|
path: "/database-item/:uid(.*)/:language",
|
|
2537
2571
|
async resolve({ uid: e }) {
|
|
2538
|
-
await
|
|
2572
|
+
await Tt(["items"]);
|
|
2539
2573
|
let t = go(Oe.value, e);
|
|
2540
2574
|
return t ? {
|
|
2541
2575
|
name: "item",
|
|
@@ -2546,7 +2580,7 @@ function Ao({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2546
2580
|
{
|
|
2547
2581
|
path: "/partner/:country/:id/:language",
|
|
2548
2582
|
async resolve({ country: e, id: t }) {
|
|
2549
|
-
let n = await
|
|
2583
|
+
let n = await p(e, t);
|
|
2550
2584
|
return n ? {
|
|
2551
2585
|
name: "partner",
|
|
2552
2586
|
params: { id: n.id }
|
|
@@ -2556,7 +2590,7 @@ function Ao({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2556
2590
|
{
|
|
2557
2591
|
path: "/partner-objects/:country/:id/:page",
|
|
2558
2592
|
async resolve({ country: e, id: t, page: n }) {
|
|
2559
|
-
let r = await
|
|
2593
|
+
let r = await p(e, t);
|
|
2560
2594
|
return r ? {
|
|
2561
2595
|
name: "partner-objects",
|
|
2562
2596
|
params: { id: r.id },
|
|
@@ -2567,7 +2601,7 @@ function Ao({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2567
2601
|
{
|
|
2568
2602
|
path: "/institution/:country/:id/:language",
|
|
2569
2603
|
async resolve({ country: e, id: t }) {
|
|
2570
|
-
let n = await
|
|
2604
|
+
let n = await p(e, t);
|
|
2571
2605
|
return n ? {
|
|
2572
2606
|
name: "institution",
|
|
2573
2607
|
params: { id: n.id }
|
|
@@ -2577,7 +2611,7 @@ function Ao({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2577
2611
|
{
|
|
2578
2612
|
path: "/institution-monuments/:country/:id/:page",
|
|
2579
2613
|
async resolve({ country: e, id: t, page: n }) {
|
|
2580
|
-
let r = await
|
|
2614
|
+
let r = await p(e, t);
|
|
2581
2615
|
return r ? {
|
|
2582
2616
|
name: "institution-monuments",
|
|
2583
2617
|
params: { id: r.id },
|
|
@@ -2597,16 +2631,16 @@ function Ao({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2597
2631
|
};
|
|
2598
2632
|
}
|
|
2599
2633
|
// src/dxa/FeaturedPartners.vue
|
|
2600
|
-
var
|
|
2634
|
+
var No = {
|
|
2601
2635
|
key: 0,
|
|
2602
2636
|
class: "mwnf-featured-partners"
|
|
2603
|
-
},
|
|
2637
|
+
}, Po = { class: "mwnf-featured-partners__heading" }, Fo = { class: "mwnf-featured-partners__carousel" }, Io = {
|
|
2604
2638
|
key: 0,
|
|
2605
2639
|
class: "mwnf-featured-partners__image"
|
|
2606
|
-
},
|
|
2640
|
+
}, Lo = ["src", "alt"], Ro = { class: "mwnf-featured-partners__body" }, zo = { class: "mwnf-featured-partners__name" }, Bo = { class: "mwnf-featured-partners__location" }, Vo = { key: 0 }, Ho = { class: "mwnf-featured-partners__description" }, Uo = {
|
|
2607
2641
|
key: 0,
|
|
2608
2642
|
class: "mwnf-featured-partners__controls"
|
|
2609
|
-
},
|
|
2643
|
+
}, Wo = ["aria-label", "onClick"], Go = 8e3, Ko = {
|
|
2610
2644
|
__name: "FeaturedPartners",
|
|
2611
2645
|
props: {
|
|
2612
2646
|
records: {
|
|
@@ -2645,7 +2679,7 @@ var jo = {
|
|
|
2645
2679
|
let n = e.lastIndexOf(" ", t);
|
|
2646
2680
|
return `${e.slice(0, n > 0 ? n : t)}...`;
|
|
2647
2681
|
}
|
|
2648
|
-
let a =
|
|
2682
|
+
let a = A(() => t.partners.length ? t.partners.map((e) => ({
|
|
2649
2683
|
id: e.id,
|
|
2650
2684
|
name: e.plainName,
|
|
2651
2685
|
logo: e.pictures?.[0]?.url ?? e.logos?.[0]?.url ?? null,
|
|
@@ -2654,72 +2688,72 @@ var jo = {
|
|
|
2654
2688
|
description: i(r(e.description), t.descriptionLength),
|
|
2655
2689
|
route: e.route,
|
|
2656
2690
|
objectsRoute: e.objectsRoute ?? null
|
|
2657
|
-
})) : t.records), o =
|
|
2691
|
+
})) : t.records), o = z(0), s = null;
|
|
2658
2692
|
function c(e) {
|
|
2659
2693
|
o.value = e, l();
|
|
2660
2694
|
}
|
|
2661
2695
|
function l() {
|
|
2662
2696
|
s && clearInterval(s), a.value.length > 0 && (s = setInterval(() => {
|
|
2663
2697
|
o.value = (o.value + 1) % a.value.length;
|
|
2664
|
-
},
|
|
2698
|
+
}, Go));
|
|
2665
2699
|
}
|
|
2666
|
-
return
|
|
2667
|
-
|
|
2668
|
-
|
|
2700
|
+
return dt(l), ut(() => s && clearInterval(s)), (t, r) => a.value.length ? (R(), N("section", No, [
|
|
2701
|
+
P("h2", Po, V(t.$t(e.headingEntry)), 1),
|
|
2702
|
+
P("div", Fo, [(R(!0), N(k, null, B(a.value, (r, i) => W((R(), N("div", {
|
|
2669
2703
|
key: r.id,
|
|
2670
2704
|
class: "mwnf-featured-partners__card"
|
|
2671
|
-
}, [r.logo ? (
|
|
2705
|
+
}, [r.logo ? (R(), N("span", Io, [P("img", {
|
|
2672
2706
|
src: r.logo,
|
|
2673
2707
|
alt: r.name,
|
|
2674
2708
|
class: "mwnf-featured-partners__logo"
|
|
2675
|
-
}, null, 8,
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
r.route ? (
|
|
2709
|
+
}, null, 8, Lo)])) : M("", !0), P("span", Ro, [
|
|
2710
|
+
P("span", zo, V(r.name), 1),
|
|
2711
|
+
P("span", Bo, [r.city ? (R(), N("span", Vo, V(r.city) + ", ", 1)) : M("", !0), F(V(r.country), 1)]),
|
|
2712
|
+
P("span", Ho, V(r.description), 1),
|
|
2713
|
+
r.route ? (R(), j(n, {
|
|
2680
2714
|
key: 0,
|
|
2681
2715
|
to: r.route,
|
|
2682
2716
|
class: "mwnf-featured-partners__more"
|
|
2683
2717
|
}, {
|
|
2684
|
-
default:
|
|
2718
|
+
default: U(() => [F(V(t.$t(e.readMoreEntry)) + " >>", 1)]),
|
|
2685
2719
|
_: 1
|
|
2686
|
-
}, 8, ["to"])) :
|
|
2687
|
-
r.objectsRoute ? (
|
|
2720
|
+
}, 8, ["to"])) : M("", !0),
|
|
2721
|
+
r.objectsRoute ? (R(), j(n, {
|
|
2688
2722
|
key: 1,
|
|
2689
2723
|
to: r.objectsRoute,
|
|
2690
2724
|
class: "mwnf-featured-partners__more"
|
|
2691
2725
|
}, {
|
|
2692
|
-
default:
|
|
2726
|
+
default: U(() => [F(V(t.$t(e.viewObjectsEntry)) + " >>", 1)]),
|
|
2693
2727
|
_: 1
|
|
2694
|
-
}, 8, ["to"])) :
|
|
2695
|
-
])])), [[
|
|
2696
|
-
a.value.length > 1 ? (
|
|
2728
|
+
}, 8, ["to"])) : M("", !0)
|
|
2729
|
+
])])), [[vt, i === o.value]])), 128))]),
|
|
2730
|
+
a.value.length > 1 ? (R(), N("div", Uo, [(R(!0), N(k, null, B(a.value, (e, n) => (R(), N("button", {
|
|
2697
2731
|
key: e.id,
|
|
2698
|
-
class:
|
|
2732
|
+
class: L(["mwnf-featured-partners__bullet", { "mwnf-featured-partners__bullet--active": n === o.value }]),
|
|
2699
2733
|
"aria-label": `${t.$t("core.action.show")} ${e.name}`,
|
|
2700
2734
|
onClick: (e) => c(n)
|
|
2701
|
-
}, null, 10,
|
|
2702
|
-
])) :
|
|
2735
|
+
}, null, 10, Wo))), 128))])) : M("", !0)
|
|
2736
|
+
])) : M("", !0);
|
|
2703
2737
|
}
|
|
2704
|
-
},
|
|
2738
|
+
}, qo = { class: "mwnf-sibling-galleries" }, Jo = {
|
|
2705
2739
|
key: 0,
|
|
2706
2740
|
class: "mwnf-sibling-galleries__galleries"
|
|
2707
|
-
},
|
|
2741
|
+
}, Yo = { class: "mwnf-sibling-galleries__header" }, Xo = { class: "mwnf-sibling-galleries__heading" }, Zo = ["href"], Qo = { class: "mwnf-sibling-galleries__grid" }, $o = {
|
|
2708
2742
|
key: 0,
|
|
2709
2743
|
class: "mwnf-sibling-galleries__image"
|
|
2710
|
-
},
|
|
2744
|
+
}, es = ["src", "alt"], ts = {
|
|
2711
2745
|
key: 1,
|
|
2712
2746
|
class: "mwnf-sibling-galleries__image mwnf-sibling-galleries__image--empty"
|
|
2713
|
-
},
|
|
2747
|
+
}, ns = { class: "mwnf-sibling-galleries__name" }, rs = {
|
|
2714
2748
|
key: 1,
|
|
2715
2749
|
class: "mwnf-sibling-galleries__museums"
|
|
2716
|
-
},
|
|
2750
|
+
}, is = { class: "mwnf-sibling-galleries__heading" }, as = { class: "mwnf-sibling-galleries__museums-grid" }, os = ["href"], ss = {
|
|
2717
2751
|
key: 0,
|
|
2718
2752
|
class: "mwnf-sibling-galleries__museum-image mwnf-sibling-galleries__museum-image--picture"
|
|
2719
|
-
},
|
|
2753
|
+
}, cs = ["src"], ls = {
|
|
2720
2754
|
key: 1,
|
|
2721
2755
|
class: "mwnf-sibling-galleries__museum-image"
|
|
2722
|
-
},
|
|
2756
|
+
}, us = { class: "mwnf-sibling-galleries__museum-name" }, ds = {
|
|
2723
2757
|
__name: "SiblingGalleries",
|
|
2724
2758
|
props: {
|
|
2725
2759
|
galleries: {
|
|
@@ -2748,100 +2782,100 @@ var jo = {
|
|
|
2748
2782
|
}
|
|
2749
2783
|
},
|
|
2750
2784
|
setup(e) {
|
|
2751
|
-
return (t, r) => (
|
|
2785
|
+
return (t, r) => (R(), N("section", qo, [e.galleries.length ? (R(), N("div", Jo, [P("div", Yo, [P("p", Xo, V(t.$t(e.galleriesHeadingEntry)), 1), e.seeMoreGalleriesHref ? (R(), N("a", {
|
|
2752
2786
|
key: 0,
|
|
2753
2787
|
href: e.seeMoreGalleriesHref,
|
|
2754
2788
|
target: "_blank",
|
|
2755
2789
|
rel: "noopener",
|
|
2756
2790
|
class: "mwnf-sibling-galleries__see-more"
|
|
2757
|
-
},
|
|
2791
|
+
}, V(t.$t(e.seeMoreGalleriesEntry)) + " » ", 9, Zo)) : M("", !0)]), P("div", Qo, [(R(!0), N(k, null, B(e.galleries, (e) => (R(), j(n, {
|
|
2758
2792
|
key: e.id,
|
|
2759
2793
|
to: e.route,
|
|
2760
|
-
class:
|
|
2794
|
+
class: L(["mwnf-sibling-galleries__gallery", { "mwnf-sibling-galleries__gallery--no-link": !e.route }])
|
|
2761
2795
|
}, {
|
|
2762
|
-
default:
|
|
2796
|
+
default: U(() => [e.image ? (R(), N("span", $o, [P("img", {
|
|
2763
2797
|
src: e.image,
|
|
2764
2798
|
alt: e.name
|
|
2765
|
-
}, null, 8,
|
|
2799
|
+
}, null, 8, es)])) : (R(), N("span", ts)), P("p", ns, V(e.name), 1)]),
|
|
2766
2800
|
_: 2
|
|
2767
|
-
}, 1032, ["to", "class"]))), 128))])])) :
|
|
2801
|
+
}, 1032, ["to", "class"]))), 128))])])) : M("", !0), e.museums.length ? (R(), N("div", rs, [P("div", is, V(t.$t(e.museumsHeadingEntry)), 1), P("div", as, [(R(!0), N(k, null, B(e.museums, (e) => (R(), N("a", {
|
|
2768
2802
|
key: e.name,
|
|
2769
2803
|
href: e.href || e.to,
|
|
2770
2804
|
target: "_blank",
|
|
2771
2805
|
rel: "noopener",
|
|
2772
2806
|
class: "mwnf-sibling-galleries__museum",
|
|
2773
|
-
style:
|
|
2807
|
+
style: lt({
|
|
2774
2808
|
"--mwnf-museum-bg": e.accent || "var(--mwnf-color-border)",
|
|
2775
2809
|
"--mwnf-museum-text": e.textColor || "inherit"
|
|
2776
2810
|
})
|
|
2777
|
-
}, [e.image ? (
|
|
2811
|
+
}, [e.image ? (R(), N("div", ss, [P("img", {
|
|
2778
2812
|
src: e.image,
|
|
2779
2813
|
alt: ""
|
|
2780
|
-
}, null, 8,
|
|
2814
|
+
}, null, 8, cs)])) : (R(), N("div", ls, V(e.name.split(" ").map((e) => e[0]).join("")), 1)), P("p", us, V(e.name), 1)], 12, os))), 128))])])) : M("", !0)]));
|
|
2781
2815
|
}
|
|
2782
|
-
},
|
|
2816
|
+
}, fs = /* @__PURE__ */ O({ default: () => bs }), ps = { class: "mwnf-dxa-home" }, ms = {
|
|
2783
2817
|
key: 0,
|
|
2784
2818
|
class: "mwnf-dxa-home-logos"
|
|
2785
|
-
},
|
|
2819
|
+
}, hs = { class: "mwnf-dxa-home-logos__label" }, gs = { class: "mwnf-dxa-home-logos__list" }, _s = ["src", "alt"], vs = 3, ys = 4, bs = {
|
|
2786
2820
|
__name: "Home",
|
|
2787
2821
|
setup(e) {
|
|
2788
|
-
let { t, locale: n } =
|
|
2789
|
-
|
|
2790
|
-
o.value = u(
|
|
2822
|
+
let { t, locale: n } = J(), r = Pt(), i = A(() => r.links ?? {}), a = A(() => oe(vs)), o = z([]);
|
|
2823
|
+
dt(() => {
|
|
2824
|
+
o.value = u(ys);
|
|
2791
2825
|
});
|
|
2792
|
-
let s =
|
|
2826
|
+
let s = A(() => o.value.map((e) => ({
|
|
2793
2827
|
id: e.id,
|
|
2794
2828
|
name: e.names?.[n.value] ?? e.names?.en ?? e.slug,
|
|
2795
2829
|
image: e.image_path ? re(e.image_path, "zoom") : null,
|
|
2796
2830
|
route: m(e)
|
|
2797
|
-
}))), c =
|
|
2831
|
+
}))), c = A(() => [
|
|
2798
2832
|
{
|
|
2799
2833
|
name: t("core.project.islamicArt"),
|
|
2800
2834
|
href: `${i.value.islamicArt}/`,
|
|
2801
|
-
image:
|
|
2835
|
+
image: et(r.chrome, "dia.jpg"),
|
|
2802
2836
|
accent: "var(--mwnf-project-ISLandEPM, #ffcc00)",
|
|
2803
2837
|
textColor: "var(--mwnf-project-ISLandEPM-text, #000000)"
|
|
2804
2838
|
},
|
|
2805
2839
|
{
|
|
2806
2840
|
name: t("core.project.baroqueArt"),
|
|
2807
2841
|
href: `${i.value.baroqueArt}/`,
|
|
2808
|
-
image:
|
|
2842
|
+
image: et(r.chrome, "dba.jpg"),
|
|
2809
2843
|
accent: "var(--mwnf-project-DBA, #001d66)",
|
|
2810
2844
|
textColor: "var(--mwnf-project-DBA-text, #ffffff)"
|
|
2811
2845
|
},
|
|
2812
2846
|
{
|
|
2813
2847
|
name: t("core.project.sharingHistory"),
|
|
2814
2848
|
href: `${i.value.sharingHistory}/`,
|
|
2815
|
-
image:
|
|
2849
|
+
image: et(r.chrome, "sh.jpg"),
|
|
2816
2850
|
accent: "var(--mwnf-project-AWE, #900000)",
|
|
2817
2851
|
textColor: "var(--mwnf-project-AWE-text, #ffffff)"
|
|
2818
2852
|
}
|
|
2819
|
-
]), l =
|
|
2820
|
-
image:
|
|
2853
|
+
]), l = A(() => (r.homeLogos ?? []).map((e) => ({
|
|
2854
|
+
image: Qe(r.chrome, e.image) ?? re(e.image, "gallery_logo"),
|
|
2821
2855
|
href: e.href ?? "",
|
|
2822
2856
|
alt: e.alt ? t(e.alt) : ""
|
|
2823
|
-
})).filter((e) => e.image)), d =
|
|
2824
|
-
return (e, n) => (
|
|
2825
|
-
|
|
2826
|
-
l.value.length ? (
|
|
2857
|
+
})).filter((e) => e.image)), d = A(() => `${i.value.galleries}/list`);
|
|
2858
|
+
return (e, n) => (R(), N("div", ps, [
|
|
2859
|
+
I(Ko, { partners: a.value }, null, 8, ["partners"]),
|
|
2860
|
+
l.value.length ? (R(), N("section", ms, [P("p", hs, V(H(t)("gallery.home.logosLabel")), 1), P("ul", gs, [(R(!0), N(k, null, B(l.value, (e) => (R(), N("li", { key: e.image }, [(R(), j(mt(e.href ? "a" : "span"), {
|
|
2827
2861
|
class: "mwnf-dxa-home-logos__logo",
|
|
2828
2862
|
href: e.href || void 0,
|
|
2829
2863
|
title: e.alt || void 0,
|
|
2830
2864
|
target: e.href ? "_blank" : void 0,
|
|
2831
2865
|
rel: e.href ? "noopener" : void 0
|
|
2832
2866
|
}, {
|
|
2833
|
-
default:
|
|
2867
|
+
default: U(() => [P("img", {
|
|
2834
2868
|
src: e.image,
|
|
2835
2869
|
alt: e.alt
|
|
2836
|
-
}, null, 8,
|
|
2870
|
+
}, null, 8, _s)]),
|
|
2837
2871
|
_: 2
|
|
2838
2872
|
}, 1032, [
|
|
2839
2873
|
"href",
|
|
2840
2874
|
"title",
|
|
2841
2875
|
"target",
|
|
2842
2876
|
"rel"
|
|
2843
|
-
]))]))), 128))])])) :
|
|
2844
|
-
|
|
2877
|
+
]))]))), 128))])])) : M("", !0),
|
|
2878
|
+
I(ds, {
|
|
2845
2879
|
galleries: s.value,
|
|
2846
2880
|
museums: c.value,
|
|
2847
2881
|
"galleries-heading-entry": "gallery.action.visitGalleries",
|
|
@@ -2855,7 +2889,7 @@ var jo = {
|
|
|
2855
2889
|
])
|
|
2856
2890
|
]));
|
|
2857
2891
|
}
|
|
2858
|
-
},
|
|
2892
|
+
}, xs = /* @__PURE__ */ O({ default: () => Ss }), Ss = {
|
|
2859
2893
|
__name: "ItemDetail",
|
|
2860
2894
|
props: { id: {
|
|
2861
2895
|
type: String,
|
|
@@ -2874,34 +2908,34 @@ var jo = {
|
|
|
2874
2908
|
relatedObjects: "gallery.related.objects",
|
|
2875
2909
|
relatedMonuments: "gallery.related.monuments"
|
|
2876
2910
|
};
|
|
2877
|
-
return (n, r) => (
|
|
2911
|
+
return (n, r) => (R(), j(rt, {
|
|
2878
2912
|
id: e.id,
|
|
2879
|
-
"item-detail":
|
|
2913
|
+
"item-detail": H(se),
|
|
2880
2914
|
words: t
|
|
2881
2915
|
}, null, 8, ["id", "item-detail"]));
|
|
2882
2916
|
}
|
|
2883
|
-
},
|
|
2917
|
+
}, Cs = /* @__PURE__ */ O({ default: () => Rs }), ws = { class: "mwnf-dxa-timeline" }, Ts = { class: "mwnf-dxa-timeline__entrance" }, Es = [
|
|
2884
2918
|
"value",
|
|
2885
2919
|
"aria-label",
|
|
2886
2920
|
"onChange"
|
|
2887
|
-
],
|
|
2921
|
+
], Ds = {
|
|
2888
2922
|
disabled: "",
|
|
2889
2923
|
value: ""
|
|
2890
|
-
},
|
|
2924
|
+
}, Os = ["value"], ks = { class: "mwnf-dxa-timeline__dates" }, As = [
|
|
2891
2925
|
"value",
|
|
2892
2926
|
"aria-label",
|
|
2893
2927
|
"onChange"
|
|
2894
|
-
],
|
|
2928
|
+
], js = {
|
|
2895
2929
|
disabled: "",
|
|
2896
2930
|
value: ""
|
|
2897
|
-
},
|
|
2931
|
+
}, Ms = ["value"], Ns = [
|
|
2898
2932
|
"value",
|
|
2899
2933
|
"aria-label",
|
|
2900
2934
|
"onChange"
|
|
2901
|
-
],
|
|
2935
|
+
], Ps = {
|
|
2902
2936
|
disabled: "",
|
|
2903
2937
|
value: ""
|
|
2904
|
-
},
|
|
2938
|
+
}, Fs = ["value"], Is = { class: "mwnf-dxa-timeline__go" }, Ls = ["onClick"], Rs = {
|
|
2905
2939
|
__name: "Timeline",
|
|
2906
2940
|
setup(e) {
|
|
2907
2941
|
let t = {
|
|
@@ -2924,70 +2958,70 @@ var jo = {
|
|
|
2924
2958
|
end: e.end || a.at(-1)?.value
|
|
2925
2959
|
});
|
|
2926
2960
|
}
|
|
2927
|
-
return (e, r) => (
|
|
2961
|
+
return (e, r) => (R(), N("div", ws, [I(Ye, {
|
|
2928
2962
|
spec: t,
|
|
2929
2963
|
class: "mwnf-dxa-timeline__form"
|
|
2930
2964
|
}, {
|
|
2931
|
-
form:
|
|
2932
|
-
|
|
2965
|
+
form: U((e) => [P("div", Ts, [
|
|
2966
|
+
P("select", {
|
|
2933
2967
|
class: "mwnf-dxa-timeline__country",
|
|
2934
2968
|
value: e.filters.country,
|
|
2935
2969
|
"aria-label": e.t("gallery.timeline.selectCountry"),
|
|
2936
2970
|
onChange: (t) => e.filters.country = t.target.value
|
|
2937
|
-
}, [
|
|
2971
|
+
}, [P("option", Ds, V(e.t("gallery.timeline.selectCountry")), 1), (R(!0), N(k, null, B(e.countries, (e) => (R(), N("option", {
|
|
2938
2972
|
key: e.value,
|
|
2939
2973
|
value: e.value
|
|
2940
|
-
},
|
|
2941
|
-
|
|
2974
|
+
}, V(e.label), 9, Os))), 128))], 40, Es),
|
|
2975
|
+
P("div", ks, [P("select", {
|
|
2942
2976
|
value: e.filters.begin,
|
|
2943
2977
|
"aria-label": e.t("gallery.timeline.startDate"),
|
|
2944
2978
|
onChange: (t) => e.filters.begin = t.target.value
|
|
2945
|
-
}, [
|
|
2979
|
+
}, [P("option", js, V(e.t("gallery.timeline.startDate")), 1), (R(!0), N(k, null, B(e.options.begin ?? [], (e) => (R(), N("option", {
|
|
2946
2980
|
key: e.value,
|
|
2947
2981
|
value: e.value
|
|
2948
|
-
},
|
|
2982
|
+
}, V(e.label), 9, Ms))), 128))], 40, As), P("select", {
|
|
2949
2983
|
value: e.filters.end,
|
|
2950
2984
|
"aria-label": e.t("gallery.timeline.endDate"),
|
|
2951
2985
|
onChange: (t) => e.filters.end = t.target.value
|
|
2952
|
-
}, [
|
|
2986
|
+
}, [P("option", Ps, V(e.t("gallery.timeline.endDate")), 1), (R(!0), N(k, null, B(e.options.end ?? [], (e) => (R(), N("option", {
|
|
2953
2987
|
key: e.value,
|
|
2954
2988
|
value: e.value
|
|
2955
|
-
},
|
|
2956
|
-
|
|
2989
|
+
}, V(e.label), 9, Fs))), 128))], 40, Ns)]),
|
|
2990
|
+
P("div", Is, [P("button", {
|
|
2957
2991
|
type: "button",
|
|
2958
2992
|
onClick: (t) => n(e)
|
|
2959
|
-
},
|
|
2993
|
+
}, V(e.t("core.action.go")), 9, Ls)])
|
|
2960
2994
|
])]),
|
|
2961
2995
|
_: 1
|
|
2962
|
-
}),
|
|
2996
|
+
}), I(H(G), {
|
|
2963
2997
|
class: "mwnf-dxa-timeline__intro",
|
|
2964
2998
|
dir: "auto",
|
|
2965
2999
|
keypath: "gallery.timeline.intro"
|
|
2966
3000
|
})]));
|
|
2967
3001
|
}
|
|
2968
|
-
},
|
|
3002
|
+
}, zs = /* @__PURE__ */ O({ default: () => Vs }), Bs = { class: "mwnf-dxa-home" }, Vs = {
|
|
2969
3003
|
__name: "Home",
|
|
2970
3004
|
setup(e) {
|
|
2971
|
-
return (e, t) => (
|
|
3005
|
+
return (e, t) => (R(), N("div", Bs));
|
|
2972
3006
|
}
|
|
2973
|
-
},
|
|
3007
|
+
}, Hs = /* @__PURE__ */ O({ default: () => Ws }), Us = { class: "mwnf-dxa-about" }, Ws = {
|
|
2974
3008
|
__name: "About",
|
|
2975
3009
|
setup(e) {
|
|
2976
|
-
return (e, t) => (
|
|
3010
|
+
return (e, t) => (R(), N("div", Us, [I(it, { "about-mode": "" })]));
|
|
2977
3011
|
}
|
|
2978
|
-
},
|
|
3012
|
+
}, Gs = /* @__PURE__ */ O({ default: () => cc }), Ks = { class: "mwnf-dxa-themes-page" }, qs = { class: "mwnf-dxa-themes-page__container" }, Js = ["onClick"], Ys = ["innerHTML"], Xs = {
|
|
2979
3013
|
key: 0,
|
|
2980
3014
|
class: "mwnf-dxa-themes-page__strips"
|
|
2981
|
-
},
|
|
3015
|
+
}, Zs = ["src"], Qs = {
|
|
2982
3016
|
key: 1,
|
|
2983
3017
|
class: "mwnf-dxa-themes-page__open"
|
|
2984
|
-
},
|
|
3018
|
+
}, $s = { class: "mwnf-dxa-themes-page__image" }, ec = ["src", "alt"], tc = {
|
|
2985
3019
|
key: 1,
|
|
2986
3020
|
class: "mwnf-dxa-themes-page__caption"
|
|
2987
|
-
},
|
|
3021
|
+
}, nc = ["innerHTML"], rc = { class: "mwnf-dxa-themes-page__info" }, ic = { class: "mwnf-dxa-themes-page__description" }, ac = { class: "mwnf-dxa-themes-page__subthemes" }, oc = { class: "mwnf-dxa-themes-page__subthemes-label" }, sc = { class: "mwnf-dxa-themes-page__gallery" }, cc = {
|
|
2988
3022
|
__name: "Themes",
|
|
2989
3023
|
setup(e) {
|
|
2990
|
-
let { listedThemes: t, pictureById: n, pictureParent: r, romanFor: i, themeText: a } = Ie, { t: o, locale: s } =
|
|
3024
|
+
let { listedThemes: t, pictureById: n, pictureParent: r, romanFor: i, themeText: a } = Ie, { t: o, locale: s } = J(), c = z(!1), l = z(null);
|
|
2991
3025
|
function u(e) {
|
|
2992
3026
|
c.value || (l.value = l.value === e ? null : e);
|
|
2993
3027
|
}
|
|
@@ -3002,13 +3036,13 @@ var jo = {
|
|
|
3002
3036
|
if (!t) return "";
|
|
3003
3037
|
let n = S("items", t.id, s.value);
|
|
3004
3038
|
return [
|
|
3005
|
-
|
|
3039
|
+
E("items", t.id),
|
|
3006
3040
|
n.holder,
|
|
3007
3041
|
n.location,
|
|
3008
|
-
|
|
3042
|
+
E("countries", t.country_id)
|
|
3009
3043
|
].filter(Boolean).join(", ");
|
|
3010
3044
|
}
|
|
3011
|
-
let m =
|
|
3045
|
+
let m = A(() => t.value.map((e, t) => {
|
|
3012
3046
|
let r = e.cover_picture_item_id ? n.value.get(e.cover_picture_item_id) : null, o = a(e, s.value);
|
|
3013
3047
|
return {
|
|
3014
3048
|
index: t,
|
|
@@ -3017,86 +3051,86 @@ var jo = {
|
|
|
3017
3051
|
numeral: i(e.display_order),
|
|
3018
3052
|
cover: r?.image_url ?? "",
|
|
3019
3053
|
caption: p(r),
|
|
3020
|
-
excerpt: f(
|
|
3021
|
-
to:
|
|
3054
|
+
excerpt: f(Ot(String(o.presentation ?? ""))),
|
|
3055
|
+
to: at(e),
|
|
3022
3056
|
gallery: {
|
|
3023
3057
|
name: "theme-gallery",
|
|
3024
3058
|
params: { id: String(e.display_order - 1) }
|
|
3025
3059
|
},
|
|
3026
3060
|
subThemes: (e.sub_themes ?? []).map((e, t) => ({
|
|
3027
3061
|
label: `${t + 1}. ${a(e, s.value).title ?? e.internal_name ?? ""}`,
|
|
3028
|
-
to:
|
|
3062
|
+
to: at(e)
|
|
3029
3063
|
}))
|
|
3030
3064
|
};
|
|
3031
3065
|
}));
|
|
3032
|
-
return (e, t) => (
|
|
3066
|
+
return (e, t) => (R(), N("div", Ks, [P("div", qs, [P("div", {
|
|
3033
3067
|
class: "mwnf-dxa-themes-page__show-all",
|
|
3034
3068
|
onClick: d
|
|
3035
|
-
}, [
|
|
3069
|
+
}, [P("span", null, V(c.value ? H(o)("exhibition.themes.collapseAll") : H(o)("exhibition.themes.expandAll")), 1)]), (R(!0), N(k, null, B(m.value, (e) => (R(), N("div", {
|
|
3036
3070
|
key: e.id,
|
|
3037
3071
|
class: "mwnf-dxa-themes-page__theme"
|
|
3038
|
-
}, [
|
|
3039
|
-
class:
|
|
3072
|
+
}, [P("div", {
|
|
3073
|
+
class: L(["mwnf-dxa-themes-page__title", { "mwnf-dxa-themes-page__title--fixed": c.value }]),
|
|
3040
3074
|
onClick: (t) => u(e.index)
|
|
3041
|
-
}, [
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
c.value ?
|
|
3045
|
-
])], 10,
|
|
3075
|
+
}, [P("span", null, [
|
|
3076
|
+
F(V(H(o)("exhibition.theme.romanLabel")) + " " + V(e.numeral) + " ▪ ", 1),
|
|
3077
|
+
P("span", { innerHTML: H(q)(e.title) }, null, 8, Ys),
|
|
3078
|
+
c.value ? M("", !0) : (R(), N(k, { key: 0 }, [F(V(l.value === e.index ? "▴" : "▾"), 1)], 64))
|
|
3079
|
+
])], 10, Js), l.value !== e.index && !c.value ? (R(), N("div", Xs, [(R(), N(k, null, B(4, (t) => P("img", {
|
|
3046
3080
|
key: t,
|
|
3047
3081
|
src: e.cover,
|
|
3048
3082
|
alt: ""
|
|
3049
|
-
}, null, 8,
|
|
3083
|
+
}, null, 8, Zs)), 64))])) : (R(), N("div", Qs, [P("div", $s, [e.cover ? (R(), N("img", {
|
|
3050
3084
|
key: 0,
|
|
3051
3085
|
src: e.cover,
|
|
3052
|
-
alt:
|
|
3053
|
-
}, null, 8,
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
t[0] ||=
|
|
3057
|
-
|
|
3086
|
+
alt: H(Ot)(e.title)
|
|
3087
|
+
}, null, 8, ec)) : M("", !0), e.caption ? (R(), N("div", tc, [P("span", { innerHTML: H(q)(e.caption) }, null, 8, nc)])) : M("", !0)]), P("div", rc, [
|
|
3088
|
+
P("div", ic, [
|
|
3089
|
+
P("span", null, V(e.excerpt), 1),
|
|
3090
|
+
t[0] ||= F(" " + V(" "), -1),
|
|
3091
|
+
I(H(X), {
|
|
3058
3092
|
to: e.to,
|
|
3059
3093
|
class: "mwnf-dxa-themes-page__link mwnf-dxa-themes-page__see-more"
|
|
3060
3094
|
}, {
|
|
3061
|
-
default:
|
|
3095
|
+
default: U(() => [F(V(H(o)("exhibition.themes.seeMore")), 1)]),
|
|
3062
3096
|
_: 1
|
|
3063
3097
|
}, 8, ["to"])
|
|
3064
3098
|
]),
|
|
3065
|
-
|
|
3099
|
+
P("div", ac, [P("div", oc, V(H(o)("exhibition.theme.inThisTheme")), 1), (R(!0), N(k, null, B(e.subThemes, (e) => (R(), N("div", { key: e.label }, [I(H(X), {
|
|
3066
3100
|
to: e.to,
|
|
3067
3101
|
class: "mwnf-dxa-themes-page__link"
|
|
3068
3102
|
}, {
|
|
3069
|
-
default:
|
|
3103
|
+
default: U(() => [F(V(e.label), 1)]),
|
|
3070
3104
|
_: 2
|
|
3071
3105
|
}, 1032, ["to"])]))), 128))]),
|
|
3072
|
-
|
|
3073
|
-
default:
|
|
3106
|
+
P("div", sc, [I(H(X), { to: e.gallery }, {
|
|
3107
|
+
default: U(() => [F(V(H(o)("exhibition.themes.seeGallery")) + " " + V(e.numeral), 1)]),
|
|
3074
3108
|
_: 2
|
|
3075
3109
|
}, 1032, ["to"])])
|
|
3076
3110
|
])]))]))), 128))])]));
|
|
3077
3111
|
}
|
|
3078
|
-
},
|
|
3112
|
+
}, lc = /* @__PURE__ */ O({ default: () => Dc }), uc = {
|
|
3079
3113
|
key: 0,
|
|
3080
3114
|
class: "mwnf-dxa-theme-gallery-page"
|
|
3081
|
-
},
|
|
3115
|
+
}, dc = { class: "mwnf-dxa-theme-gallery-page__header" }, fc = ["innerHTML"], pc = {
|
|
3082
3116
|
key: 0,
|
|
3083
3117
|
class: "mwnf-dxa-theme-gallery-page__bold"
|
|
3084
|
-
},
|
|
3118
|
+
}, mc = ["innerHTML"], hc = { class: "mwnf-dxa-theme-gallery-page__wrapper" }, gc = { class: "mwnf-dxa-theme-gallery-page__content" }, _c = { class: "mwnf-dxa-theme-gallery-page__objects" }, vc = { class: "mwnf-dxa-theme-gallery-page__filter" }, yc = { class: "mwnf-dxa-theme-gallery-page__label" }, bc = ["disabled", "value"], xc = {
|
|
3085
3119
|
value: "",
|
|
3086
3120
|
disabled: ""
|
|
3087
|
-
},
|
|
3121
|
+
}, Sc = ["value"], Cc = {
|
|
3088
3122
|
key: 0,
|
|
3089
3123
|
class: "mwnf-dxa-theme-gallery-page__reset"
|
|
3090
|
-
},
|
|
3124
|
+
}, wc = {
|
|
3091
3125
|
key: 0,
|
|
3092
3126
|
class: "mwnf-dxa-theme-gallery-page__top"
|
|
3093
|
-
},
|
|
3127
|
+
}, Tc = ["aria-label"], Ec = {
|
|
3094
3128
|
key: 1,
|
|
3095
3129
|
class: "mwnf-loader"
|
|
3096
|
-
},
|
|
3130
|
+
}, Dc = {
|
|
3097
3131
|
__name: "ThemeGallery",
|
|
3098
3132
|
setup(t) {
|
|
3099
|
-
let { pictureParent: n, romanFor: r, themeByRouteId: i, themeText: a, themePictures: o } = Ie, s =
|
|
3133
|
+
let { pictureParent: n, romanFor: r, themeByRouteId: i, themeText: a, themePictures: o } = Ie, s = Z(), c = Lt(), { t: l, locale: u } = J(), d = A(() => i(s.params.id)), f = A(() => d.value?.sub_themes ?? []), p = A(() => {
|
|
3100
3134
|
let e = Number(s.params.subtheme);
|
|
3101
3135
|
return Number.isInteger(e) && e >= 1 && e <= f.value.length ? e : null;
|
|
3102
3136
|
}), m = (e) => a(e, u.value).title ?? e?.internal_name ?? "";
|
|
@@ -3112,21 +3146,21 @@ var jo = {
|
|
|
3112
3146
|
function g(e) {
|
|
3113
3147
|
return e && e.length > 80 ? `${e.slice(0, 80)}...` : e ?? "";
|
|
3114
3148
|
}
|
|
3115
|
-
let _ =
|
|
3116
|
-
let e = p.value ? [f.value[p.value - 1]] : f.value, t = [], r = /* @__PURE__ */ new Set();
|
|
3149
|
+
let _ = A(() => {
|
|
3150
|
+
let e = p.value ? [f.value[p.value - 1]] : f.value.length ? f.value : [d.value].filter(Boolean), t = [], r = /* @__PURE__ */ new Set();
|
|
3117
3151
|
for (let i of e) for (let e of o(i)) {
|
|
3118
3152
|
let a = n(e);
|
|
3119
3153
|
if (!a || !e.image_url || r.has(e.image_url)) continue;
|
|
3120
3154
|
r.add(e.image_url);
|
|
3121
|
-
let o = S("items", a.id, u.value), s = S("themes", `${i.id}/${e.picture_item_id}`, u.value).image_caption ?? "", c =
|
|
3155
|
+
let o = S("items", a.id, u.value), s = S("themes", `${i.id}/${e.picture_item_id}`, u.value).image_caption ?? "", c = q(E("items", a.id));
|
|
3122
3156
|
t.push({
|
|
3123
3157
|
id: e.picture_item_id,
|
|
3124
3158
|
image: e.image_url,
|
|
3125
|
-
imageAlt:
|
|
3126
|
-
name: s ? `${
|
|
3159
|
+
imageAlt: E("items", a.id),
|
|
3160
|
+
name: s ? `${q(s)}, ${c}` : c,
|
|
3127
3161
|
date: g(o.dates),
|
|
3128
|
-
partner: o.holder ||
|
|
3129
|
-
place: [o.location,
|
|
3162
|
+
partner: o.holder || E("partners", a.partner_id),
|
|
3163
|
+
place: [o.location, E("countries", a.country_id)].filter(Boolean).join(", "),
|
|
3130
3164
|
project: "",
|
|
3131
3165
|
to: {
|
|
3132
3166
|
name: "item",
|
|
@@ -3136,56 +3170,56 @@ var jo = {
|
|
|
3136
3170
|
});
|
|
3137
3171
|
}
|
|
3138
3172
|
return t.sort((e, t) => (e.start ?? 0) - (t.start ?? 0));
|
|
3139
|
-
}), v =
|
|
3173
|
+
}), v = z(!1), y = () => {
|
|
3140
3174
|
v.value = document.body.scrollHeight > window.innerHeight;
|
|
3141
3175
|
};
|
|
3142
|
-
|
|
3176
|
+
dt(() => {
|
|
3143
3177
|
y(), window.addEventListener("scroll", y), window.addEventListener("resize", y);
|
|
3144
|
-
}),
|
|
3178
|
+
}), ut(() => {
|
|
3145
3179
|
window.removeEventListener("scroll", y), window.removeEventListener("resize", y);
|
|
3146
3180
|
});
|
|
3147
3181
|
let ee = () => window.scrollTo({
|
|
3148
3182
|
top: 0,
|
|
3149
3183
|
behavior: "smooth"
|
|
3150
3184
|
});
|
|
3151
|
-
return (t, n) => d.value ? (
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3185
|
+
return (t, n) => d.value ? (R(), N("div", uc, [
|
|
3186
|
+
I(e),
|
|
3187
|
+
P("div", dc, [P("span", null, [
|
|
3188
|
+
F(V(H(l)("exhibition.theme.romanLabel")) + " " + V(H(r)(d.value.display_order)) + " | ", 1),
|
|
3189
|
+
P("span", {
|
|
3156
3190
|
class: "mwnf-dxa-theme-gallery-page__bold",
|
|
3157
|
-
innerHTML:
|
|
3158
|
-
}, null, 8,
|
|
3159
|
-
p.value ? (
|
|
3160
|
-
|
|
3191
|
+
innerHTML: H(q)(m(d.value))
|
|
3192
|
+
}, null, 8, fc),
|
|
3193
|
+
p.value ? (R(), N("span", pc, [n[2] ||= F(" ▪ ", -1), P("span", { innerHTML: H(q)(m(f.value[p.value - 1])) }, null, 8, mc)])) : M("", !0),
|
|
3194
|
+
F(" | " + V(H(l)("exhibition.theme.galleryLabel")), 1)
|
|
3161
3195
|
])]),
|
|
3162
|
-
|
|
3196
|
+
P("div", hc, [P("div", gc, [P("div", _c, [I($, {
|
|
3163
3197
|
rows: _.value,
|
|
3164
3198
|
family: "exhibition"
|
|
3165
|
-
}, null, 8, ["rows"])]),
|
|
3166
|
-
|
|
3167
|
-
|
|
3199
|
+
}, null, 8, ["rows"])]), P("div", vc, [
|
|
3200
|
+
P("div", yc, V(H(l)("exhibition.themeGallery.filterBy")), 1),
|
|
3201
|
+
P("select", {
|
|
3168
3202
|
class: "mwnf-dxa-theme-gallery-page__select",
|
|
3169
3203
|
disabled: !_.value.length,
|
|
3170
3204
|
value: p.value ? String(p.value) : "",
|
|
3171
3205
|
onChange: n[0] ||= (e) => h(e.target.value)
|
|
3172
|
-
}, [
|
|
3206
|
+
}, [P("option", xc, V(H(l)("exhibition.themeGallery.select")), 1), (R(!0), N(k, null, B(f.value, (e, t) => (R(), N("option", {
|
|
3173
3207
|
key: e.id,
|
|
3174
3208
|
value: String(t + 1)
|
|
3175
|
-
},
|
|
3176
|
-
p.value ? (
|
|
3209
|
+
}, V(t + 1) + ". " + V(m(e)), 9, Sc))), 128))], 40, bc),
|
|
3210
|
+
p.value ? (R(), N("div", Cc, [P("button", {
|
|
3177
3211
|
type: "button",
|
|
3178
3212
|
onClick: n[1] ||= (e) => h("")
|
|
3179
|
-
},
|
|
3213
|
+
}, V(H(l)("exhibition.theme.seeAllInTheme")), 1)])) : M("", !0)
|
|
3180
3214
|
])])]),
|
|
3181
|
-
v.value ? (
|
|
3215
|
+
v.value ? (R(), N("div", wc, [P("button", {
|
|
3182
3216
|
type: "button",
|
|
3183
|
-
"aria-label":
|
|
3217
|
+
"aria-label": H(l)("exhibition.themeGallery.top"),
|
|
3184
3218
|
onClick: ee
|
|
3185
|
-
}, "⌃", 8,
|
|
3186
|
-
])) : (
|
|
3219
|
+
}, "⌃", 8, Tc)])) : M("", !0)
|
|
3220
|
+
])) : (R(), N("div", Ec, V(H(l)("exhibition.theme.notInExhibition")), 1));
|
|
3187
3221
|
}
|
|
3188
|
-
},
|
|
3222
|
+
}, Oc = /* @__PURE__ */ O({ default: () => kc }), kc = {
|
|
3189
3223
|
__name: "ItemDetail",
|
|
3190
3224
|
props: { id: {
|
|
3191
3225
|
type: String,
|
|
@@ -3203,16 +3237,16 @@ var jo = {
|
|
|
3203
3237
|
relatedVideos: "exhibition.sheet.relatedVideos",
|
|
3204
3238
|
relatedObjects: "exhibition.related.objects",
|
|
3205
3239
|
relatedMonuments: "exhibition.related.monuments"
|
|
3206
|
-
}, n = (e) =>
|
|
3207
|
-
return (r, i) => (
|
|
3240
|
+
}, n = (e) => T.value.get(e);
|
|
3241
|
+
return (r, i) => (R(), j(rt, {
|
|
3208
3242
|
id: e.id,
|
|
3209
|
-
"item-detail":
|
|
3243
|
+
"item-detail": H(Pe),
|
|
3210
3244
|
"data-getter": n,
|
|
3211
3245
|
words: t,
|
|
3212
3246
|
class: "mwnf-dxa-exhibition-item"
|
|
3213
3247
|
}, null, 8, ["id", "item-detail"]));
|
|
3214
3248
|
}
|
|
3215
|
-
},
|
|
3249
|
+
}, Ac = /* @__PURE__ */ O({ default: () => Gc }), jc = { class: "mwnf-dxa-related-page" }, Mc = { class: "mwnf-dxa-related-page__container" }, Nc = { key: 0 }, Pc = { class: "mwnf-dxa-related-page__heading" }, Fc = ["innerHTML"], Ic = ["innerHTML"], Lc = { key: 2 }, Rc = { key: 3 }, zc = ["href", "innerHTML"], Bc = ["innerHTML"], Vc = { key: 4 }, Hc = ["href"], Uc = ["innerHTML"], Wc = ["innerHTML"], Gc = {
|
|
3216
3250
|
__name: "RelatedContent",
|
|
3217
3251
|
setup(t) {
|
|
3218
3252
|
let n = {
|
|
@@ -3225,106 +3259,109 @@ var jo = {
|
|
|
3225
3259
|
2,
|
|
3226
3260
|
3,
|
|
3227
3261
|
4
|
|
3228
|
-
],
|
|
3229
|
-
|
|
3230
|
-
|
|
3262
|
+
], i = {
|
|
3263
|
+
further_reading: 1,
|
|
3264
|
+
catalogue: 1
|
|
3265
|
+
}, a = (e) => e.category_id ?? (e.category ? i[e.category] ?? 4 : void 0), { t: o, locale: s } = J(), c = (e) => e?.[s.value] ?? e?.en ?? "";
|
|
3266
|
+
function l(e) {
|
|
3267
|
+
let t = e.document_path ? Ve(e.document_path, "hi_res") : "";
|
|
3231
3268
|
return {
|
|
3232
|
-
reading:
|
|
3233
|
-
partner: e.partner_name ?
|
|
3234
|
-
place: [e.entity_location, e.entity_country ?
|
|
3235
|
-
title:
|
|
3269
|
+
reading: Dt(c(e.texts) || e.further_reading || ""),
|
|
3270
|
+
partner: e.partner_name ? q(e.partner_name) : "",
|
|
3271
|
+
place: [e.entity_location, e.entity_country ? ze(e.entity_country) : ""].filter(Boolean).join(", "),
|
|
3272
|
+
title: c(e.titles) ? q(c(e.titles)) : "",
|
|
3236
3273
|
href: t || e.url || "",
|
|
3237
|
-
byline: [e.authors, e.type_resource].filter(Boolean).map((e) =>
|
|
3238
|
-
description:
|
|
3274
|
+
byline: [e.authors, e.type_resource].filter(Boolean).map((e) => q(e)).join(", "),
|
|
3275
|
+
description: c(e.descriptions) ? q(c(e.descriptions)) : ""
|
|
3239
3276
|
};
|
|
3240
3277
|
}
|
|
3241
|
-
let
|
|
3278
|
+
let u = A(() => {
|
|
3242
3279
|
let e = /* @__PURE__ */ new Map();
|
|
3243
3280
|
for (let t of we.value ?? []) {
|
|
3244
|
-
let n = e.get(
|
|
3245
|
-
|
|
3281
|
+
let n = a(t), r = e.get(n);
|
|
3282
|
+
r ? r.push(t) : e.set(n, [t]);
|
|
3246
3283
|
}
|
|
3247
3284
|
return [...r.filter((t) => e.has(t)), ...[...e.keys()].filter((e) => !r.includes(e)).sort()].map((t) => ({
|
|
3248
3285
|
id: t,
|
|
3249
3286
|
heading: n[t] ?? "exhibition.relatedCategory.unknown",
|
|
3250
|
-
entries: [...e.get(t)].sort((e, t) => (e.display_order ?? 0) - (t.display_order ?? 0)).map(
|
|
3287
|
+
entries: [...e.get(t)].sort((e, t) => (e.display_order ?? 0) - (t.display_order ?? 0)).map(l)
|
|
3251
3288
|
}));
|
|
3252
3289
|
});
|
|
3253
|
-
return (t, n) => (
|
|
3290
|
+
return (t, n) => (R(), N("div", jc, [I(e), P("div", Mc, [u.value.length ? M("", !0) : (R(), N("p", Nc, V(H(o)("exhibition.related.notAvailable")), 1)), (R(!0), N(k, null, B(u.value, (e) => (R(), N("div", {
|
|
3254
3291
|
key: e.id,
|
|
3255
3292
|
class: "mwnf-dxa-related-page__category"
|
|
3256
|
-
}, [
|
|
3293
|
+
}, [P("div", Pc, V(H(o)(e.heading)), 1), (R(!0), N(k, null, B(e.entries, (e, t) => (R(), N("div", {
|
|
3257
3294
|
key: t,
|
|
3258
3295
|
class: "mwnf-dxa-related-page__entry"
|
|
3259
3296
|
}, [
|
|
3260
|
-
e.reading ? (
|
|
3297
|
+
e.reading ? (R(), N("div", {
|
|
3261
3298
|
key: 0,
|
|
3262
3299
|
innerHTML: e.reading
|
|
3263
|
-
}, null, 8,
|
|
3264
|
-
e.partner ? (
|
|
3300
|
+
}, null, 8, Fc)) : M("", !0),
|
|
3301
|
+
e.partner ? (R(), N("div", {
|
|
3265
3302
|
key: 1,
|
|
3266
3303
|
innerHTML: e.partner
|
|
3267
|
-
}, null, 8,
|
|
3268
|
-
e.place ? (
|
|
3269
|
-
e.title ? (
|
|
3304
|
+
}, null, 8, Ic)) : M("", !0),
|
|
3305
|
+
e.place ? (R(), N("div", Lc, V(e.place), 1)) : M("", !0),
|
|
3306
|
+
e.title ? (R(), N("div", Rc, [e.href ? (R(), N("a", {
|
|
3270
3307
|
key: 0,
|
|
3271
3308
|
href: e.href,
|
|
3272
3309
|
target: "_blank",
|
|
3273
3310
|
rel: "noopener",
|
|
3274
3311
|
innerHTML: e.title
|
|
3275
|
-
}, null, 8,
|
|
3312
|
+
}, null, 8, zc)) : (R(), N("span", {
|
|
3276
3313
|
key: 1,
|
|
3277
3314
|
innerHTML: e.title
|
|
3278
|
-
}, null, 8,
|
|
3315
|
+
}, null, 8, Bc))])) : e.href ? (R(), N("div", Vc, [P("a", {
|
|
3279
3316
|
href: e.href,
|
|
3280
3317
|
target: "_blank",
|
|
3281
3318
|
rel: "noopener"
|
|
3282
|
-
},
|
|
3283
|
-
e.byline ? (
|
|
3319
|
+
}, V(e.href), 9, Hc)])) : M("", !0),
|
|
3320
|
+
e.byline ? (R(), N("div", {
|
|
3284
3321
|
key: 5,
|
|
3285
3322
|
innerHTML: e.byline
|
|
3286
|
-
}, null, 8,
|
|
3287
|
-
e.description ? (
|
|
3323
|
+
}, null, 8, Uc)) : M("", !0),
|
|
3324
|
+
e.description ? (R(), N("div", {
|
|
3288
3325
|
key: 6,
|
|
3289
3326
|
innerHTML: e.description
|
|
3290
|
-
}, null, 8,
|
|
3327
|
+
}, null, 8, Wc)) : M("", !0)
|
|
3291
3328
|
]))), 128))]))), 128))])]));
|
|
3292
3329
|
}
|
|
3293
|
-
},
|
|
3330
|
+
}, Kc = /* @__PURE__ */ O({ default: () => sl }), qc = { class: "mwnf-dxa-timeline mwnf-dxa-exhibition-timeline" }, Jc = { class: "mwnf-dxa-timeline__entrance" }, Yc = [
|
|
3294
3331
|
"value",
|
|
3295
3332
|
"aria-label",
|
|
3296
3333
|
"onChange"
|
|
3297
|
-
],
|
|
3334
|
+
], Xc = {
|
|
3298
3335
|
disabled: "",
|
|
3299
3336
|
value: ""
|
|
3300
|
-
},
|
|
3337
|
+
}, Zc = ["value"], Qc = { class: "mwnf-dxa-timeline__dates" }, $c = [
|
|
3301
3338
|
"value",
|
|
3302
3339
|
"aria-label",
|
|
3303
3340
|
"onChange"
|
|
3304
|
-
],
|
|
3341
|
+
], el = {
|
|
3305
3342
|
disabled: "",
|
|
3306
3343
|
value: ""
|
|
3307
|
-
},
|
|
3344
|
+
}, tl = ["value"], nl = [
|
|
3308
3345
|
"value",
|
|
3309
3346
|
"aria-label",
|
|
3310
3347
|
"onChange"
|
|
3311
|
-
],
|
|
3348
|
+
], rl = {
|
|
3312
3349
|
disabled: "",
|
|
3313
3350
|
value: ""
|
|
3314
|
-
},
|
|
3351
|
+
}, il = ["value"], al = { class: "mwnf-dxa-timeline__go" }, ol = ["onClick"], sl = {
|
|
3315
3352
|
__name: "Timeline",
|
|
3316
3353
|
setup(e) {
|
|
3317
3354
|
let t = {
|
|
3318
3355
|
"catalogue.era.ad": "exhibition.era.ad",
|
|
3319
3356
|
"catalogue.era.bc": "exhibition.era.bc"
|
|
3320
|
-
}, n = ({ years: e, t: n }) =>
|
|
3357
|
+
}, n = ({ years: e, t: n }) => It(e.min, e.max, Ft(n, t)), r = A(() => ({
|
|
3321
3358
|
...w.value,
|
|
3322
3359
|
entrance: !0,
|
|
3323
3360
|
controls: w.value.controls.map((e) => e.options ? {
|
|
3324
3361
|
...e,
|
|
3325
3362
|
options: n
|
|
3326
3363
|
} : e)
|
|
3327
|
-
})), i =
|
|
3364
|
+
})), i = A(() => w.value.scope === "country");
|
|
3328
3365
|
function a({ filters: e, options: t, go: n }) {
|
|
3329
3366
|
let r = t.begin ?? [], a = t.end ?? [];
|
|
3330
3367
|
n({
|
|
@@ -3333,70 +3370,70 @@ var jo = {
|
|
|
3333
3370
|
end: e.end || a.at(-1)?.value
|
|
3334
3371
|
});
|
|
3335
3372
|
}
|
|
3336
|
-
return (e, t) => (
|
|
3373
|
+
return (e, t) => (R(), N("div", qc, [I(Ye, {
|
|
3337
3374
|
spec: r.value,
|
|
3338
3375
|
class: "mwnf-dxa-timeline__form"
|
|
3339
3376
|
}, {
|
|
3340
|
-
form:
|
|
3341
|
-
i.value && e.countries?.length ? (
|
|
3377
|
+
form: U((e) => [P("div", Jc, [
|
|
3378
|
+
i.value && e.countries?.length ? (R(), N("select", {
|
|
3342
3379
|
key: 0,
|
|
3343
3380
|
class: "mwnf-dxa-timeline__country",
|
|
3344
3381
|
value: e.filters.country,
|
|
3345
3382
|
"aria-label": e.t("exhibition.timeline.selectCountry"),
|
|
3346
3383
|
onChange: (t) => e.filters.country = t.target.value
|
|
3347
|
-
}, [
|
|
3384
|
+
}, [P("option", Xc, V(e.t("exhibition.timeline.selectCountry")), 1), (R(!0), N(k, null, B(e.countries, (e) => (R(), N("option", {
|
|
3348
3385
|
key: e.value,
|
|
3349
3386
|
value: e.value
|
|
3350
|
-
},
|
|
3351
|
-
|
|
3387
|
+
}, V(e.label), 9, Zc))), 128))], 40, Yc)) : M("", !0),
|
|
3388
|
+
P("div", Qc, [P("select", {
|
|
3352
3389
|
value: e.filters.begin,
|
|
3353
3390
|
"aria-label": e.t("exhibition.collection.startDate"),
|
|
3354
3391
|
onChange: (t) => e.filters.begin = t.target.value
|
|
3355
|
-
}, [
|
|
3392
|
+
}, [P("option", el, V(e.t("exhibition.collection.startDate")), 1), (R(!0), N(k, null, B(e.options.begin ?? [], (e) => (R(), N("option", {
|
|
3356
3393
|
key: e.value,
|
|
3357
3394
|
value: e.value
|
|
3358
|
-
},
|
|
3395
|
+
}, V(e.label), 9, tl))), 128))], 40, $c), P("select", {
|
|
3359
3396
|
value: e.filters.end,
|
|
3360
3397
|
"aria-label": e.t("exhibition.collection.endDate"),
|
|
3361
3398
|
onChange: (t) => e.filters.end = t.target.value
|
|
3362
|
-
}, [
|
|
3399
|
+
}, [P("option", rl, V(e.t("exhibition.collection.endDate")), 1), (R(!0), N(k, null, B(e.options.end ?? [], (e) => (R(), N("option", {
|
|
3363
3400
|
key: e.value,
|
|
3364
3401
|
value: e.value
|
|
3365
|
-
},
|
|
3366
|
-
|
|
3402
|
+
}, V(e.label), 9, il))), 128))], 40, nl)]),
|
|
3403
|
+
P("div", al, [P("button", {
|
|
3367
3404
|
type: "button",
|
|
3368
3405
|
onClick: (t) => a(e)
|
|
3369
|
-
},
|
|
3406
|
+
}, V(e.t("core.action.go")), 9, ol)])
|
|
3370
3407
|
])]),
|
|
3371
3408
|
_: 1
|
|
3372
|
-
}, 8, ["spec"]),
|
|
3409
|
+
}, 8, ["spec"]), I(H(G), {
|
|
3373
3410
|
class: "mwnf-dxa-timeline__intro",
|
|
3374
3411
|
dir: "auto",
|
|
3375
3412
|
keypath: "exhibition.timeline.intro"
|
|
3376
3413
|
})]));
|
|
3377
3414
|
}
|
|
3378
|
-
},
|
|
3415
|
+
}, cl = { class: "mwnf-picture-gallery" }, ll = {
|
|
3379
3416
|
key: 0,
|
|
3380
3417
|
class: "mwnf-picture-gallery__selected"
|
|
3381
|
-
},
|
|
3418
|
+
}, ul = { class: "mwnf-picture-gallery__image" }, dl = ["src", "alt"], fl = { class: "mwnf-picture-gallery__details" }, pl = { class: "mwnf-picture-gallery__detail mwnf-picture-gallery__detail--title" }, ml = { key: 0 }, hl = ["innerHTML"], gl = {
|
|
3382
3419
|
key: 0,
|
|
3383
3420
|
class: "mwnf-picture-gallery__label"
|
|
3384
|
-
},
|
|
3421
|
+
}, _l = ["innerHTML"], vl = {
|
|
3385
3422
|
key: 0,
|
|
3386
3423
|
class: "mwnf-picture-gallery__detail"
|
|
3387
|
-
},
|
|
3424
|
+
}, yl = {
|
|
3388
3425
|
key: 2,
|
|
3389
3426
|
class: "mwnf-picture-gallery__unresolved"
|
|
3390
|
-
},
|
|
3427
|
+
}, bl = {
|
|
3391
3428
|
key: 1,
|
|
3392
3429
|
class: "mwnf-picture-gallery__empty"
|
|
3393
|
-
},
|
|
3430
|
+
}, xl = {
|
|
3394
3431
|
key: 2,
|
|
3395
3432
|
class: "mwnf-picture-gallery__strip"
|
|
3396
|
-
},
|
|
3433
|
+
}, Sl = { class: "mwnf-picture-gallery__thumbs" }, Cl = ["onClick"], wl = ["src", "alt"], Tl = { class: "mwnf-picture-gallery__thumb-text" }, El = { key: 0 }, Dl = ["innerHTML"], Ol = { key: 1 }, kl = {
|
|
3397
3434
|
key: 0,
|
|
3398
3435
|
class: "mwnf-picture-gallery__toggle"
|
|
3399
|
-
},
|
|
3436
|
+
}, Al = {
|
|
3400
3437
|
__name: "PictureGallery",
|
|
3401
3438
|
props: {
|
|
3402
3439
|
pictures: {
|
|
@@ -3430,70 +3467,70 @@ var jo = {
|
|
|
3430
3467
|
},
|
|
3431
3468
|
emits: ["update:selectedId"],
|
|
3432
3469
|
setup(e, { emit: t }) {
|
|
3433
|
-
let r = e, i = t, { t: a } =
|
|
3434
|
-
|
|
3470
|
+
let r = e, i = t, { t: a } = J(), o = A(() => r.pictures.find((e) => e.id === r.selectedId) ?? null), s = A(() => r.pictures.some((e) => e.backRelated?.length)), c = z(!1);
|
|
3471
|
+
yt(() => r.pictures, () => {
|
|
3435
3472
|
c.value = !1;
|
|
3436
3473
|
});
|
|
3437
|
-
let l =
|
|
3474
|
+
let l = A(() => c.value ? r.pictures : r.pictures.filter((e) => !e.backRelated?.length));
|
|
3438
3475
|
function u(e) {
|
|
3439
3476
|
i("update:selectedId", e.id);
|
|
3440
3477
|
}
|
|
3441
|
-
return (t, r) => (
|
|
3478
|
+
return (t, r) => (R(), N("div", cl, [o.value ? (R(), N("div", ll, [P("div", ul, [P("img", {
|
|
3442
3479
|
src: o.value.image,
|
|
3443
3480
|
alt: o.value.imageAlt ?? ""
|
|
3444
|
-
}, null, 8,
|
|
3445
|
-
|
|
3446
|
-
(
|
|
3481
|
+
}, null, 8, dl)]), P("div", fl, [
|
|
3482
|
+
P("div", pl, [o.value.imageCaption ? (R(), N("span", ml, V(o.value.imageCaption) + ", ", 1)) : M("", !0), P("span", { innerHTML: o.value.name }, null, 8, hl)]),
|
|
3483
|
+
(R(!0), N(k, null, B(o.value.fields ?? [], (e, t) => (R(), N("div", {
|
|
3447
3484
|
key: t,
|
|
3448
3485
|
class: "mwnf-picture-gallery__detail"
|
|
3449
|
-
}, [e.label ? (
|
|
3450
|
-
o.value.detail ? (
|
|
3451
|
-
o.value.to ? (
|
|
3486
|
+
}, [e.label ? (R(), N("span", gl, V(e.label), 1)) : M("", !0), P("span", { innerHTML: e.value }, null, 8, _l)]))), 128)),
|
|
3487
|
+
o.value.detail ? (R(), N("div", vl, V(o.value.detail), 1)) : M("", !0),
|
|
3488
|
+
o.value.to ? (R(), j(n, {
|
|
3452
3489
|
key: 1,
|
|
3453
3490
|
class: "mwnf-picture-gallery__link",
|
|
3454
3491
|
to: o.value.to
|
|
3455
3492
|
}, {
|
|
3456
|
-
default:
|
|
3493
|
+
default: U(() => [F(V(H(a)(e.seeItemEntry)) + " →", 1)]),
|
|
3457
3494
|
_: 1
|
|
3458
|
-
}, 8, ["to"])) : (
|
|
3459
|
-
])])) : (
|
|
3495
|
+
}, 8, ["to"])) : (R(), N("div", yl, V(H(a)(e.unresolvedEntry)), 1))
|
|
3496
|
+
])])) : (R(), N("div", bl, V(H(a)(e.emptyEntry)), 1)), e.pictures.length ? (R(), N("div", xl, [P("ul", Sl, [(R(!0), N(k, null, B(l.value, (t) => (R(), N("li", {
|
|
3460
3497
|
key: t.id,
|
|
3461
|
-
class:
|
|
3498
|
+
class: L(["mwnf-picture-gallery__thumb", {
|
|
3462
3499
|
"mwnf-picture-gallery__thumb--active": t.id === e.selectedId,
|
|
3463
3500
|
"mwnf-picture-gallery__thumb--related": t.backRelated?.length
|
|
3464
3501
|
}])
|
|
3465
|
-
}, [
|
|
3502
|
+
}, [P("button", {
|
|
3466
3503
|
type: "button",
|
|
3467
3504
|
onClick: (e) => u(t)
|
|
3468
|
-
}, [
|
|
3505
|
+
}, [P("img", {
|
|
3469
3506
|
src: t.image,
|
|
3470
3507
|
alt: t.imageAlt ?? "",
|
|
3471
3508
|
loading: "lazy"
|
|
3472
|
-
}, null, 8,
|
|
3473
|
-
t.imageCaption ? (
|
|
3474
|
-
|
|
3509
|
+
}, null, 8, wl)], 8, Cl), P("div", Tl, [
|
|
3510
|
+
t.imageCaption ? (R(), N("span", El, V(t.imageCaption) + ", ", 1)) : M("", !0),
|
|
3511
|
+
P("span", {
|
|
3475
3512
|
class: "mwnf-picture-gallery__thumb-name",
|
|
3476
3513
|
innerHTML: t.name
|
|
3477
|
-
}, null, 8,
|
|
3478
|
-
t.detail ? (
|
|
3479
|
-
])], 2))), 128))]), s.value ? (
|
|
3514
|
+
}, null, 8, Dl),
|
|
3515
|
+
t.detail ? (R(), N("span", Ol, ", " + V(t.detail), 1)) : M("", !0)
|
|
3516
|
+
])], 2))), 128))]), s.value ? (R(), N("label", kl, [W(P("input", {
|
|
3480
3517
|
"onUpdate:modelValue": r[0] ||= (e) => c.value = e,
|
|
3481
3518
|
type: "checkbox"
|
|
3482
|
-
}, null, 512), [[
|
|
3519
|
+
}, null, 512), [[ht, c.value]]), P("span", null, V(c.value ? H(a)(e.hideRelatedEntry) : H(a)(e.addRelatedEntry)), 1)])) : M("", !0)])) : M("", !0)]));
|
|
3483
3520
|
}
|
|
3484
|
-
},
|
|
3521
|
+
}, jl = {
|
|
3485
3522
|
key: 0,
|
|
3486
3523
|
class: "mwnf-picture-narrative"
|
|
3487
|
-
},
|
|
3524
|
+
}, Ml = ["innerHTML"], Nl = {
|
|
3488
3525
|
key: 1,
|
|
3489
3526
|
class: "mwnf-picture-narrative__related"
|
|
3490
|
-
},
|
|
3527
|
+
}, Pl = { class: "mwnf-picture-narrative__heading" }, Fl = { class: "mwnf-picture-narrative__images" }, Il = { class: "mwnf-picture-narrative__image mwnf-picture-narrative__image--main" }, Ll = ["src", "alt"], Rl = { class: "mwnf-picture-narrative__thumb-text" }, zl = ["innerHTML"], Bl = { key: 0 }, Vl = ["onClick"], Hl = ["src", "alt"], Ul = { class: "mwnf-picture-narrative__thumb-text" }, Wl = ["innerHTML"], Gl = { key: 0 }, Kl = {
|
|
3491
3528
|
key: 0,
|
|
3492
3529
|
class: "mwnf-picture-narrative__relation"
|
|
3493
|
-
},
|
|
3530
|
+
}, ql = {
|
|
3494
3531
|
key: 2,
|
|
3495
3532
|
class: "mwnf-picture-narrative__related"
|
|
3496
|
-
},
|
|
3533
|
+
}, Jl = { class: "mwnf-picture-narrative__heading" }, Yl = { class: "mwnf-picture-narrative__text mwnf-picture-narrative__text--reciprocal" }, Xl = { class: "mwnf-picture-narrative__image" }, Zl = ["src", "alt"], Ql = { class: "mwnf-picture-narrative__thumb-text" }, $l = ["innerHTML"], eu = { key: 0 }, tu = {
|
|
3497
3534
|
__name: "PictureNarrative",
|
|
3498
3535
|
props: {
|
|
3499
3536
|
picture: {
|
|
@@ -3515,45 +3552,45 @@ var jo = {
|
|
|
3515
3552
|
},
|
|
3516
3553
|
emits: ["select"],
|
|
3517
3554
|
setup(e, { emit: t }) {
|
|
3518
|
-
let n = e, r = t, { t: i } =
|
|
3555
|
+
let n = e, r = t, { t: i } = J(), a = A(() => n.contextualDescription ? Dt(n.contextualDescription, { breaks: !0 }) : ""), o = A(() => n.picture?.related ?? []), s = A(() => n.picture?.backRelated?.[0] ?? null);
|
|
3519
3556
|
function c(e) {
|
|
3520
3557
|
r("select", e.id);
|
|
3521
3558
|
}
|
|
3522
|
-
return (t, n) => e.picture ? (
|
|
3523
|
-
a.value ? (
|
|
3559
|
+
return (t, n) => e.picture ? (R(), N("div", jl, [
|
|
3560
|
+
a.value ? (R(), N("div", {
|
|
3524
3561
|
key: 0,
|
|
3525
3562
|
class: "mwnf-picture-narrative__text mwnf-sheet__block",
|
|
3526
3563
|
innerHTML: a.value
|
|
3527
|
-
}, null, 8,
|
|
3528
|
-
o.value.length ? (
|
|
3564
|
+
}, null, 8, Ml)) : M("", !0),
|
|
3565
|
+
o.value.length ? (R(), N("div", Nl, [P("div", Pl, V(H(i)(e.relatedHeadingEntry)), 1), P("div", Fl, [P("div", Il, [P("img", {
|
|
3529
3566
|
src: e.picture.image,
|
|
3530
3567
|
alt: e.picture.imageAlt ?? ""
|
|
3531
|
-
}, null, 8,
|
|
3568
|
+
}, null, 8, Ll), P("div", Rl, [P("span", { innerHTML: e.picture.name }, null, 8, zl), e.picture.detail ? (R(), N("span", Bl, ", " + V(e.picture.detail), 1)) : M("", !0)])]), (R(!0), N(k, null, B(o.value, (e) => (R(), N("div", {
|
|
3532
3569
|
key: e.picture.id,
|
|
3533
3570
|
class: "mwnf-picture-narrative__image"
|
|
3534
3571
|
}, [
|
|
3535
|
-
|
|
3572
|
+
P("button", {
|
|
3536
3573
|
type: "button",
|
|
3537
3574
|
onClick: (t) => c(e.picture)
|
|
3538
|
-
}, [
|
|
3575
|
+
}, [P("img", {
|
|
3539
3576
|
src: e.picture.image,
|
|
3540
3577
|
alt: e.picture.imageAlt ?? ""
|
|
3541
|
-
}, null, 8,
|
|
3542
|
-
|
|
3543
|
-
e.text ? (
|
|
3544
|
-
]))), 128))])])) :
|
|
3545
|
-
s.value ? (
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3578
|
+
}, null, 8, Hl)], 8, Vl),
|
|
3579
|
+
P("div", Ul, [P("span", { innerHTML: e.picture.name }, null, 8, Wl), e.picture.detail ? (R(), N("span", Gl, ", " + V(e.picture.detail), 1)) : M("", !0)]),
|
|
3580
|
+
e.text ? (R(), N("div", Kl, V(e.text), 1)) : M("", !0)
|
|
3581
|
+
]))), 128))])])) : M("", !0),
|
|
3582
|
+
s.value ? (R(), N("div", ql, [
|
|
3583
|
+
P("div", Jl, V(H(i)(e.relatedHeadingEntry)), 1),
|
|
3584
|
+
P("p", Yl, V(s.value.reciprocalText || H(i)(e.reciprocalFallbackEntry)), 1),
|
|
3585
|
+
P("div", Xl, [P("button", {
|
|
3549
3586
|
type: "button",
|
|
3550
3587
|
onClick: n[0] ||= (e) => c(s.value.picture)
|
|
3551
|
-
}, [
|
|
3588
|
+
}, [P("img", {
|
|
3552
3589
|
src: s.value.picture.image,
|
|
3553
3590
|
alt: s.value.picture.imageAlt ?? ""
|
|
3554
|
-
}, null, 8,
|
|
3555
|
-
])) :
|
|
3556
|
-
])) :
|
|
3591
|
+
}, null, 8, Zl)]), P("div", Ql, [P("span", { innerHTML: s.value.picture.name }, null, 8, $l), s.value.picture.detail ? (R(), N("span", eu, ", " + V(s.value.picture.detail), 1)) : M("", !0)])])
|
|
3592
|
+
])) : M("", !0)
|
|
3593
|
+
])) : M("", !0);
|
|
3557
3594
|
}
|
|
3558
3595
|
};
|
|
3559
|
-
export {
|
|
3596
|
+
export { Ws as ExhibitionAbout, Ca as ExhibitionCollectionResults, Ha as ExhibitionCollectionSearch, Vs as ExhibitionHome, kc as ExhibitionItemDetail, Za as ExhibitionPartnerObjects, Lr as ExhibitionPartners, Gc as ExhibitionRelatedContent, Cr as ExhibitionSearchHowTo, oi as ExhibitionSearchResults, Co as ExhibitionShell, it as ExhibitionTheme, Dc as ExhibitionThemeGallery, cc as ExhibitionThemes, sl as ExhibitionTimeline, Vi as ExhibitionTimelineGallery, Pi as ExhibitionTimelineResults, Ko as FeaturedPartners, Wt as GalleryAbout, $n as GalleryCollectionResults, hr as GalleryCollectionSearch, Gt as GalleryCredits, bs as GalleryHome, Ss as GalleryItemDetail, xr as GalleryPartnerObjects, hn as GalleryPartners, Jt as GallerySearchHowTo, Bn as GallerySearchResults, _o as GalleryShell, Rs as GalleryTimeline, Wn as GalleryTimelineGallery, Vn as GalleryTimelineResults, nt as ItemDetailView, Q as LegacyPages, Ht as PartnerDetail, Al as PictureGallery, tu as PictureNarrative, So as PopupLogo, ds as SiblingGalleries, st as exhibitionAboutSpec, Mo as exhibitionConfig, be as exhibitionPartnerDetail, ot as exhibitionThemeSpec, ko as galleryConfig, _e as galleryPartnerDetail, Eo as projectChips, po as standardRoutes, at as themeNodeRoute };
|