@museumwnf/viewer-layout 3.76.1 → 3.78.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -53
- package/dist/{LegacyItemSheet-B4Ob4upz.js → LegacyItemSheet-CNooycyz.js} +112 -97
- package/dist/{Theme-DvCv48p7.js → Theme-BCn6_VkI.js} +13 -13
- package/dist/data-D9H1tB75.js +98 -0
- package/dist/dxa.js +602 -596
- package/dist/{themeSpecs-CKgLOhlP.js → themeSpecs-BJ82RvA1.js} +1 -1
- package/dist/viewer-layout.css +1 -1
- package/package.json +2 -3
- package/src/dxa/relatedKind.js +11 -0
- package/src/dxa/testing.js +26 -13
- package/dist/data-BI5v-QYD.js +0 -81
- package/dist/publications.js +0 -1017
- package/dist/travels.js +0 -742
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
|
|
7
|
-
import { n as
|
|
8
|
-
import { t as
|
|
9
|
-
import { i as
|
|
10
|
-
import { i as
|
|
11
|
-
import { n as
|
|
12
|
-
import { n as
|
|
13
|
-
import { n as
|
|
14
|
-
import { Fragment as O, computed as k, createBlock as A, createCommentVNode as j, createElementBlock as M, createElementVNode as N, createSlots as
|
|
15
|
-
import { I18nText as W, LEGACY_SITES as
|
|
16
|
-
import { RouterLink as Y, useRoute as X, useRouter 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 Re, n as ze, o as Be, p as Ve, r as He, s as Ue, t as We, u as Ge, v as T, w as Ke, x as qe, y as Je } from "./data-D9H1tB75.js";
|
|
7
|
+
import { n as Ye, r as E, t as Xe } from "./TimelineResultsView-Bn4rC_Se.js";
|
|
8
|
+
import { t as Ze } from "./SiteShell-CzKgoOBm.js";
|
|
9
|
+
import { i as Qe, n as $e, r as et, t as tt } from "./chrome-Bv_mLlHM.js";
|
|
10
|
+
import { i as nt } from "./PageShell-BAtk_qcb.js";
|
|
11
|
+
import { n as rt, t as it } from "./LegacyItemSheet-CNooycyz.js";
|
|
12
|
+
import { n as at, r as D } from "./Theme-BCn6_VkI.js";
|
|
13
|
+
import { n as ot, r as st, t as ct } from "./themeSpecs-BJ82RvA1.js";
|
|
14
|
+
import { Fragment as O, computed as k, createBlock as A, createCommentVNode as j, createElementBlock as M, createElementVNode as N, createSlots as lt, createTextVNode as P, createVNode as F, normalizeClass as I, normalizeStyle as ut, onBeforeUnmount as dt, onMounted as ft, openBlock as L, reactive as pt, ref as R, renderList as z, renderSlot as mt, resolveDynamicComponent as ht, toDisplayString as B, unref as V, vModelCheckbox as gt, vModelSelect as _t, vModelText as vt, vShow as yt, watch as bt, watchEffect as xt, withCtx as H, withDirectives as U, withModifiers as St } from "vue";
|
|
15
|
+
import { I18nText as W, LEGACY_SITES as Ct, NotFoundView as wt, languageLabels as Tt, loadEntities as Et, mwnfLinks as G, offeredLanguages as Dt, renderBlock as Ot, renderInline as K, renderPlain as kt, sectionMeta as At, useDataPackage as jt, useFacets as Mt, useI18n as q, useKeywordIndex as Nt, useSection as Pt, useSiteConfig as Ft, withEraWords as It, yearBuckets as J, yearBucketsFromRange as Lt } from "@museumwnf/viewer-core";
|
|
16
|
+
import { RouterLink as Y, useRoute as X, useRouter as Rt } from "vue-router";
|
|
17
|
+
import { romanFor as zt } from "@museumwnf/viewer-core/dxa";
|
|
18
18
|
// src/dxa/PartnerDetail.vue
|
|
19
|
-
var
|
|
19
|
+
var Bt = { class: "mwnf-dxa-profile-languages" }, Vt = { class: "mwnf-dxa-profile-map-label" }, Ht = {
|
|
20
20
|
key: 1,
|
|
21
21
|
class: "mwnf-dxa-profile-no-map"
|
|
22
|
-
},
|
|
22
|
+
}, Ut = {
|
|
23
23
|
__name: "PartnerDetail",
|
|
24
24
|
props: {
|
|
25
25
|
id: {
|
|
@@ -37,13 +37,17 @@ var zt = { class: "mwnf-dxa-profile-languages" }, Bt = { class: "mwnf-dxa-profil
|
|
|
37
37
|
},
|
|
38
38
|
setup(i) {
|
|
39
39
|
let a = i, { t: c } = q(), l = k(() => a.family.labels?.[a.variant] ?? a.family.labels?.partner ?? {});
|
|
40
|
-
|
|
40
|
+
function u(e) {
|
|
41
|
+
let t = l.value.objects;
|
|
42
|
+
return (typeof t == "function" ? t(e) : t) ?? "partner.action.viewObjects";
|
|
43
|
+
}
|
|
44
|
+
return (a, d) => i.family.visible(i.id) ? (L(), A(s, {
|
|
41
45
|
key: 0,
|
|
42
46
|
spec: i.family.spec,
|
|
43
47
|
id: i.id,
|
|
44
48
|
class: I(["mwnf-dxa-partner-profile", i.family.className])
|
|
45
49
|
}, {
|
|
46
|
-
header: H(({ languages: n, language: r, select: a }) => [N("div",
|
|
50
|
+
header: H(({ languages: n, language: r, select: a }) => [N("div", Bt, [F(t, {
|
|
47
51
|
languages: n,
|
|
48
52
|
language: r,
|
|
49
53
|
from: i.family.legacyMap ? 1 : 2,
|
|
@@ -62,19 +66,19 @@ var zt = { class: "mwnf-dxa-profile-languages" }, Bt = { class: "mwnf-dxa-profil
|
|
|
62
66
|
media: i.family.media ?? {},
|
|
63
67
|
show: i.family.legacyMap ? { map: !1 } : {},
|
|
64
68
|
dir: a
|
|
65
|
-
},
|
|
66
|
-
actions: H(({ partner:
|
|
69
|
+
}, lt({
|
|
70
|
+
actions: H(({ partner: t }) => [t.objectsRoute ? (L(), A(n, {
|
|
67
71
|
key: 0,
|
|
68
72
|
class: "mwnf-button",
|
|
69
|
-
to:
|
|
73
|
+
to: t.objectsRoute
|
|
70
74
|
}, {
|
|
71
|
-
default: H(() => [P(B(V(c)(
|
|
72
|
-
_:
|
|
73
|
-
},
|
|
75
|
+
default: H(() => [P(B(V(c)(u(e))), 1)]),
|
|
76
|
+
_: 2
|
|
77
|
+
}, 1032, ["to"])) : j("", !0)]),
|
|
74
78
|
_: 2
|
|
75
79
|
}, [i.family.legacyMap ? {
|
|
76
80
|
name: "after",
|
|
77
|
-
fn: H(({ partner: e }) => [e.map ? (L(), M(O, { key: 0 }, [N("p",
|
|
81
|
+
fn: H(({ partner: e }) => [e.map ? (L(), M(O, { key: 0 }, [N("p", Vt, B(V(c)(i.family.legacyMap.label)), 1), F(r, {
|
|
78
82
|
class: "mwnf-dxa-profile-map",
|
|
79
83
|
provider: "google",
|
|
80
84
|
latitude: e.map.latitude,
|
|
@@ -86,7 +90,7 @@ var zt = { class: "mwnf-dxa-profile-languages" }, Bt = { class: "mwnf-dxa-profil
|
|
|
86
90
|
"longitude",
|
|
87
91
|
"zoom",
|
|
88
92
|
"label"
|
|
89
|
-
])], 64)) : (L(), M("p",
|
|
93
|
+
])], 64)) : (L(), M("p", Ht))]),
|
|
90
94
|
key: "0"
|
|
91
95
|
} : void 0]), 1032, [
|
|
92
96
|
"partner",
|
|
@@ -100,9 +104,9 @@ var zt = { class: "mwnf-dxa-profile-languages" }, Bt = { class: "mwnf-dxa-profil
|
|
|
100
104
|
"spec",
|
|
101
105
|
"id",
|
|
102
106
|
"class"
|
|
103
|
-
])) : (L(), A(V(
|
|
107
|
+
])) : (L(), A(V(wt), { key: 1 }));
|
|
104
108
|
}
|
|
105
|
-
},
|
|
109
|
+
}, Wt = {
|
|
106
110
|
__name: "TextPage",
|
|
107
111
|
props: {
|
|
108
112
|
body: {
|
|
@@ -131,50 +135,50 @@ var zt = { class: "mwnf-dxa-profile-languages" }, Bt = { class: "mwnf-dxa-profil
|
|
|
131
135
|
"blank-lines": ""
|
|
132
136
|
}, null, 8, ["keypath"])], 2));
|
|
133
137
|
}
|
|
134
|
-
},
|
|
138
|
+
}, Gt = {
|
|
135
139
|
__name: "About",
|
|
136
140
|
setup(e) {
|
|
137
|
-
return (e, t) => (L(), A(
|
|
141
|
+
return (e, t) => (L(), A(Wt, {
|
|
138
142
|
kind: "about",
|
|
139
143
|
body: "gallery.about.body"
|
|
140
144
|
}));
|
|
141
145
|
}
|
|
142
|
-
},
|
|
146
|
+
}, Kt = {
|
|
143
147
|
__name: "Credits",
|
|
144
148
|
props: { bodyKey: {
|
|
145
149
|
type: String,
|
|
146
150
|
required: !0
|
|
147
151
|
} },
|
|
148
152
|
setup(e) {
|
|
149
|
-
return (t, n) => (L(), A(
|
|
153
|
+
return (t, n) => (L(), A(Wt, {
|
|
150
154
|
kind: "credits",
|
|
151
155
|
body: e.bodyKey
|
|
152
156
|
}, null, 8, ["body"]));
|
|
153
157
|
}
|
|
154
|
-
},
|
|
158
|
+
}, qt = { class: "mwnf-dxa-exhibition-credits" }, Jt = {
|
|
155
159
|
__name: "Credits",
|
|
156
160
|
props: { bodyKey: {
|
|
157
161
|
type: String,
|
|
158
162
|
required: !0
|
|
159
163
|
} },
|
|
160
164
|
setup(t) {
|
|
161
|
-
return (n, r) => (L(), M("div",
|
|
165
|
+
return (n, r) => (L(), M("div", qt, [F(e), F(V(W), {
|
|
162
166
|
class: "mwnf-dxa-exhibition-credits__body",
|
|
163
167
|
dir: "auto",
|
|
164
168
|
keypath: t.bodyKey,
|
|
165
169
|
"blank-lines": ""
|
|
166
170
|
}, null, 8, ["keypath"])]));
|
|
167
171
|
}
|
|
168
|
-
},
|
|
172
|
+
}, Yt = {
|
|
169
173
|
__name: "SearchHowTo",
|
|
170
174
|
setup(e) {
|
|
171
|
-
return (e, t) => (L(), A(
|
|
175
|
+
return (e, t) => (L(), A(Wt, {
|
|
172
176
|
kind: "how-to",
|
|
173
177
|
body: "catalogue.search.howToEssay",
|
|
174
178
|
back: { name: "collection" }
|
|
175
179
|
}));
|
|
176
180
|
}
|
|
177
|
-
},
|
|
181
|
+
}, Xt = {
|
|
178
182
|
DGA: "dga",
|
|
179
183
|
ISL: "isl",
|
|
180
184
|
EPM: "isl",
|
|
@@ -182,40 +186,40 @@ var zt = { class: "mwnf-dxa-profile-languages" }, Bt = { class: "mwnf-dxa-profil
|
|
|
182
186
|
BAR: "dba",
|
|
183
187
|
GALLERIES: "galleries",
|
|
184
188
|
DCA: "dca"
|
|
185
|
-
},
|
|
189
|
+
}, Zt = {
|
|
186
190
|
partner: "gallery.partners.statusPartner",
|
|
187
191
|
affiliate: "gallery.partners.statusAffiliate"
|
|
188
192
|
};
|
|
189
|
-
function
|
|
193
|
+
function Qt(e, t = Zt) {
|
|
190
194
|
let n = e?.own_project;
|
|
191
195
|
if (!n?.name) return null;
|
|
192
|
-
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" : Xt[r] ?? "", a = n.level === "partner" || !!n.exhibition;
|
|
193
197
|
return {
|
|
194
198
|
name: n.name,
|
|
195
199
|
status: a ? t.partner : t.affiliate,
|
|
196
200
|
tone: i
|
|
197
201
|
};
|
|
198
202
|
}
|
|
199
|
-
var
|
|
203
|
+
var $t = {
|
|
200
204
|
partner: "exhibition.partners.statusPartner",
|
|
201
205
|
associated_partner: "exhibition.partners.statusAssociated",
|
|
202
206
|
minor_contributor: "exhibition.partners.statusFurtherAssociated"
|
|
203
|
-
},
|
|
207
|
+
}, en = "mwnf3:institutions:";
|
|
204
208
|
function Z(e) {
|
|
205
209
|
let t = e?.own_project;
|
|
206
210
|
if (!t?.name) return null;
|
|
207
|
-
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(en) ? e.level : t.level;
|
|
208
212
|
return {
|
|
209
213
|
name: t.name,
|
|
210
|
-
status: t.exhibition ?
|
|
211
|
-
tone: t.exhibition ? "exh" :
|
|
214
|
+
status: t.exhibition ? $t.partner : $t[r] ?? null,
|
|
215
|
+
tone: t.exhibition ? "exh" : Xt[n] ?? ""
|
|
212
216
|
};
|
|
213
217
|
}
|
|
214
218
|
// src/dxa/gallery/Partners.vue
|
|
215
|
-
var
|
|
219
|
+
var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class: "mwnf-dxa-gallery-partners__options" }, rn = { class: "mwnf-dxa-gallery-partners__order" }, an = ["onClick"], on = { class: "mwnf-dxa-gallery-partners__country" }, sn = { class: "mwnf-dxa-gallery-partners__partner" }, cn = { class: "mwnf-dxa-gallery-partners__text" }, ln = ["innerHTML"], un = {
|
|
216
220
|
key: 0,
|
|
217
221
|
class: "mwnf-dxa-gallery-partners__city"
|
|
218
|
-
},
|
|
222
|
+
}, dn = { class: "mwnf-dxa-partner-badge__status" }, fn = { class: "mwnf-dxa-gallery-partners__links" }, pn = { class: "mwnf-dxa-gallery-partners__logo" }, mn = ["src", "alt"], hn = {
|
|
219
223
|
__name: "Partners",
|
|
220
224
|
setup(t) {
|
|
221
225
|
let r = {
|
|
@@ -224,30 +228,30 @@ var en = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, tn = { class:
|
|
|
224
228
|
orderToggle: !1,
|
|
225
229
|
tiebreak: (e) => e.own_project?.name ?? ""
|
|
226
230
|
};
|
|
227
|
-
return (t, i) => (L(), M("div",
|
|
228
|
-
before: H(({ t, orderDir: n, toggleOrder: r }) => [N("div",
|
|
231
|
+
return (t, i) => (L(), M("div", tn, [F(Ye, { spec: r }, {
|
|
232
|
+
before: H(({ t, orderDir: n, toggleOrder: r }) => [N("div", nn, [F(e), N("div", rn, [N("button", {
|
|
229
233
|
type: "button",
|
|
230
234
|
onClick: r
|
|
231
|
-
}, B(t(n === "asc" ? "partner.list.sortDescending" : "partner.list.sortAscending")), 9,
|
|
235
|
+
}, B(t(n === "asc" ? "partner.list.sortDescending" : "partner.list.sortAscending")), 9, an)])]), F(V(W), {
|
|
232
236
|
id: "mwnf-dxa-partners-intro",
|
|
233
237
|
class: "mwnf-dxa-gallery-partners__intro",
|
|
234
238
|
dir: "auto",
|
|
235
239
|
keypath: "gallery.partners.intro"
|
|
236
240
|
})]),
|
|
237
|
-
"group-heading": H(({ group: e }) => [N("div",
|
|
238
|
-
row: H(({ partner: e, view: t, t: r }) => [N("div",
|
|
241
|
+
"group-heading": H(({ group: e }) => [N("div", on, B(e.label), 1)]),
|
|
242
|
+
row: H(({ partner: e, view: t, t: r }) => [N("div", sn, [N("div", cn, [
|
|
239
243
|
F(n, {
|
|
240
244
|
class: "mwnf-dxa-gallery-partners__name",
|
|
241
245
|
to: t.route
|
|
242
246
|
}, {
|
|
243
|
-
default: H(() => [N("span", { innerHTML: t.name }, null, 8,
|
|
247
|
+
default: H(() => [N("span", { innerHTML: t.name }, null, 8, ln), t.city ? (L(), M("span", un, ", " + B(t.city), 1)) : j("", !0)]),
|
|
244
248
|
_: 2
|
|
245
249
|
}, 1032, ["to"]),
|
|
246
|
-
V(
|
|
250
|
+
V(Qt)(e) ? (L(), M("div", {
|
|
247
251
|
key: 0,
|
|
248
|
-
class: I(["mwnf-dxa-partner-badge", V(
|
|
249
|
-
}, [P(B(V(
|
|
250
|
-
N("div",
|
|
252
|
+
class: I(["mwnf-dxa-partner-badge", V(Qt)(e).tone && `mwnf-dxa-partner-badge--${V(Qt)(e).tone}`])
|
|
253
|
+
}, [P(B(V(Qt)(e).name) + " ", 1), N("span", dn, B(r(V(Qt)(e).status)), 1)], 2)) : j("", !0),
|
|
254
|
+
N("div", fn, [F(n, { to: t.route }, {
|
|
251
255
|
default: H(() => [P(B(r("partner.action.readMore")), 1)]),
|
|
252
256
|
_: 2
|
|
253
257
|
}, 1032, ["to"]), e.item_count > 0 && t.objectsRoute ? (L(), M(O, { key: 0 }, [i[0] ||= N("span", {
|
|
@@ -257,20 +261,20 @@ var en = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, tn = { class:
|
|
|
257
261
|
default: H(() => [P(B(r("partner.action.viewObjects")), 1)]),
|
|
258
262
|
_: 2
|
|
259
263
|
}, 1032, ["to"])], 64)) : j("", !0)])
|
|
260
|
-
]), N("div",
|
|
264
|
+
]), N("div", pn, [t.logos?.[0] ? (L(), M("img", {
|
|
261
265
|
key: 0,
|
|
262
266
|
src: t.logos[0].url,
|
|
263
267
|
alt: t.plainName,
|
|
264
268
|
loading: "lazy"
|
|
265
|
-
}, null, 8,
|
|
269
|
+
}, null, 8, mn)) : j("", !0)])])]),
|
|
266
270
|
_: 1
|
|
267
271
|
})]));
|
|
268
272
|
}
|
|
269
|
-
},
|
|
273
|
+
}, gn = ["disabled"], _n = { key: 0 }, vn = ["disabled"], yn = { key: 0 }, bn = [
|
|
270
274
|
"disabled",
|
|
271
275
|
"aria-current",
|
|
272
276
|
"onClick"
|
|
273
|
-
],
|
|
277
|
+
], xn = ["disabled"], Sn = { key: 0 }, Cn = ["disabled"], wn = { key: 0 }, Q = {
|
|
274
278
|
__name: "LegacyPages",
|
|
275
279
|
props: {
|
|
276
280
|
pageInfo: {
|
|
@@ -322,13 +326,13 @@ var en = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, tn = { class:
|
|
|
322
326
|
class: I([`${a.value}__button`, { "is-disabled": h(1) }]),
|
|
323
327
|
disabled: h(1),
|
|
324
328
|
onClick: t[0] ||= (e) => g(1)
|
|
325
|
-
}, [t[4] ||= P(" <<", -1), V(c) ? j("", !0) : (L(), M("span",
|
|
329
|
+
}, [t[4] ||= P(" <<", -1), V(c) ? j("", !0) : (L(), M("span", _n, B(" " + o("first")), 1))], 10, gn),
|
|
326
330
|
N("button", {
|
|
327
331
|
type: "button",
|
|
328
332
|
class: I([`${a.value}__button`, { "is-disabled": h(f.value - 1) }]),
|
|
329
333
|
disabled: h(f.value - 1),
|
|
330
334
|
onClick: t[1] ||= (e) => g(f.value - 1)
|
|
331
|
-
}, [t[5] ||= P(" <", -1), V(c) ? j("", !0) : (L(), M("span",
|
|
335
|
+
}, [t[5] ||= P(" <", -1), V(c) ? j("", !0) : (L(), M("span", yn, B(" " + o("previous")), 1))], 10, vn),
|
|
332
336
|
N("div", { class: I(`${a.value}__numbers`) }, [(L(!0), M(O, null, z(m.value, (e) => (L(), M("button", {
|
|
333
337
|
key: e,
|
|
334
338
|
type: "button",
|
|
@@ -336,22 +340,22 @@ var en = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, tn = { class:
|
|
|
336
340
|
disabled: h(e),
|
|
337
341
|
"aria-current": e === f.value ? "page" : void 0,
|
|
338
342
|
onClick: (t) => g(e)
|
|
339
|
-
}, B(e), 11,
|
|
343
|
+
}, B(e), 11, bn))), 128))], 2),
|
|
340
344
|
N("button", {
|
|
341
345
|
type: "button",
|
|
342
346
|
class: I([`${a.value}__button`, { "is-disabled": h(f.value + 1) }]),
|
|
343
347
|
disabled: h(f.value + 1),
|
|
344
348
|
onClick: t[2] ||= (e) => g(f.value + 1)
|
|
345
|
-
}, [V(c) ? j("", !0) : (L(), M("span",
|
|
349
|
+
}, [V(c) ? j("", !0) : (L(), M("span", Sn, B(o("next") + " "), 1)), t[6] ||= P("> ", -1)], 10, xn),
|
|
346
350
|
N("button", {
|
|
347
351
|
type: "button",
|
|
348
352
|
class: I([`${a.value}__button`, { "is-disabled": h(p.value) }]),
|
|
349
353
|
disabled: h(p.value),
|
|
350
354
|
onClick: t[3] ||= (e) => g(p.value)
|
|
351
|
-
}, [V(c) ? j("", !0) : (L(), M("span",
|
|
355
|
+
}, [V(c) ? j("", !0) : (L(), M("span", wn, B(o("last") + " "), 1)), t[7] ||= P(">> ", -1)], 10, Cn)
|
|
352
356
|
], 2)) : j("", !0);
|
|
353
357
|
}
|
|
354
|
-
},
|
|
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 = {
|
|
355
359
|
key: 0,
|
|
356
360
|
class: "mwnf-dxa-grid__project"
|
|
357
361
|
}, $ = {
|
|
@@ -373,12 +377,12 @@ var en = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, tn = { class:
|
|
|
373
377
|
class: "mwnf-dxa-grid__entry",
|
|
374
378
|
onMouseenter: (e) => r.value = o,
|
|
375
379
|
onMouseleave: a[0] ||= (e) => r.value = -1
|
|
376
|
-
}, [N("div",
|
|
380
|
+
}, [N("div", En, [N("img", {
|
|
377
381
|
class: "mwnf-dxa-grid__image",
|
|
378
382
|
src: i.image,
|
|
379
383
|
alt: i.imageAlt,
|
|
380
384
|
loading: "lazy"
|
|
381
|
-
}, null, 8,
|
|
385
|
+
}, null, 8, Dn)]), N("div", { class: I(["mwnf-dxa-grid__card", { "mwnf-dxa-grid__card--open": r.value === o }]) }, [F(n, {
|
|
382
386
|
class: "mwnf-dxa-grid__card-image",
|
|
383
387
|
to: i.to,
|
|
384
388
|
tabindex: "-1"
|
|
@@ -387,17 +391,17 @@ var en = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, tn = { class:
|
|
|
387
391
|
src: i.image,
|
|
388
392
|
alt: i.imageAlt,
|
|
389
393
|
loading: "lazy"
|
|
390
|
-
}, null, 8,
|
|
394
|
+
}, null, 8, On)]),
|
|
391
395
|
_: 2
|
|
392
|
-
}, 1032, ["to"]), N("div",
|
|
396
|
+
}, 1032, ["to"]), N("div", kn, [
|
|
393
397
|
N("p", {
|
|
394
398
|
class: "mwnf-dxa-grid__name",
|
|
395
399
|
innerHTML: i.name
|
|
396
|
-
}, null, 8,
|
|
397
|
-
N("p",
|
|
398
|
-
N("p",
|
|
399
|
-
N("p",
|
|
400
|
-
e.family !== "exhibition" || i.project ? (L(), M("p",
|
|
400
|
+
}, null, 8, An),
|
|
401
|
+
N("p", jn, B(i.date), 1),
|
|
402
|
+
N("p", Mn, B(i.partner), 1),
|
|
403
|
+
N("p", Nn, B(i.place), 1),
|
|
404
|
+
e.family !== "exhibition" || i.project ? (L(), M("p", Pn, [P(B(e.family === "exhibition" ? V(t)("exhibition.results.for") : V(t)("gallery.results.for")) + " ", 1), N("span", null, B(i.project), 1)])) : j("", !0),
|
|
401
405
|
F(n, {
|
|
402
406
|
class: "mwnf-dxa-grid__link",
|
|
403
407
|
to: i.to
|
|
@@ -405,18 +409,18 @@ var en = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, tn = { class:
|
|
|
405
409
|
default: H(() => [P(B(V(t)("catalogue.results.seeDatabaseEntry")) + " >", 1)]),
|
|
406
410
|
_: 1
|
|
407
411
|
}, 8, ["to"])
|
|
408
|
-
])], 2)], 40,
|
|
412
|
+
])], 2)], 40, Tn))), 128))], 2));
|
|
409
413
|
}
|
|
410
|
-
},
|
|
414
|
+
}, Fn = ["onSubmit"], In = ["placeholder"], Ln = {
|
|
411
415
|
type: "submit",
|
|
412
416
|
class: "mwnf-dxa-refine-search-submit"
|
|
413
|
-
},
|
|
417
|
+
}, Rn = { class: "mwnf-dxa-how-to" }, zn = {
|
|
414
418
|
key: 1,
|
|
415
419
|
class: "mwnf-dxa-no-results"
|
|
416
|
-
},
|
|
420
|
+
}, Bn = {
|
|
417
421
|
__name: "SearchResults",
|
|
418
422
|
setup(t) {
|
|
419
|
-
let n =
|
|
423
|
+
let n = Nt("items", {
|
|
420
424
|
grammar: "boolean",
|
|
421
425
|
haystack: b
|
|
422
426
|
}), r = R(!1);
|
|
@@ -451,13 +455,13 @@ var en = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, tn = { class:
|
|
|
451
455
|
before: H(() => [F(e)]),
|
|
452
456
|
filters: H(({ apply: e }) => [N("form", {
|
|
453
457
|
class: "mwnf-dxa-refine-search",
|
|
454
|
-
onSubmit:
|
|
458
|
+
onSubmit: St((t) => e({ q: a.value || "all-objects" }), ["prevent"])
|
|
455
459
|
}, [U(N("input", {
|
|
456
460
|
"onUpdate:modelValue": n[0] ||= (e) => a.value = e,
|
|
457
461
|
type: "text",
|
|
458
462
|
class: "mwnf-dxa-refine-search-input",
|
|
459
463
|
placeholder: t.$t("catalogue.search.keywordPlaceholder")
|
|
460
|
-
}, null, 8,
|
|
464
|
+
}, null, 8, In), [[vt, a.value]]), N("button", Ln, B(t.$t("catalogue.search.submit")), 1)], 40, Fn), N("p", Rn, [F(V(Y), { to: { name: "search-how-to" } }, {
|
|
461
465
|
default: H(() => [P(B(t.$t("catalogue.search.howTo")) + " ›", 1)]),
|
|
462
466
|
_: 1
|
|
463
467
|
})])]),
|
|
@@ -476,7 +480,7 @@ var en = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, tn = { class:
|
|
|
476
480
|
records: H(({ rows: e }) => [e.length ? (L(), A($, {
|
|
477
481
|
key: 0,
|
|
478
482
|
rows: e
|
|
479
|
-
}, null, 8, ["rows"])) : (L(), M("p",
|
|
483
|
+
}, null, 8, ["rows"])) : (L(), M("p", zn, [
|
|
480
484
|
P(B(t.$t("catalogue.results.noResultsSearch")) + " ", 1),
|
|
481
485
|
F(V(Y), { to: { name: "search-how-to" } }, {
|
|
482
486
|
default: H(() => [P(B(t.$t("catalogue.search.howTo")), 1)]),
|
|
@@ -491,10 +495,10 @@ var en = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, tn = { class:
|
|
|
491
495
|
_: 1
|
|
492
496
|
}, 8, ["spec"]));
|
|
493
497
|
}
|
|
494
|
-
},
|
|
498
|
+
}, Vn = {
|
|
495
499
|
__name: "TimelineResults",
|
|
496
500
|
setup(t) {
|
|
497
|
-
return (t, n) => (L(), A(
|
|
501
|
+
return (t, n) => (L(), A(Xe, {
|
|
498
502
|
spec: V(ie),
|
|
499
503
|
class: "mwnf-dxa-timeline-results"
|
|
500
504
|
}, {
|
|
@@ -502,10 +506,10 @@ var en = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, tn = { class:
|
|
|
502
506
|
_: 1
|
|
503
507
|
}, 8, ["spec"]));
|
|
504
508
|
}
|
|
505
|
-
},
|
|
509
|
+
}, Hn = { class: "mwnf-dxa-back-to-events" }, Un = {
|
|
506
510
|
key: 1,
|
|
507
511
|
class: "mwnf-record-grid__empty"
|
|
508
|
-
},
|
|
512
|
+
}, Wn = {
|
|
509
513
|
__name: "TimelineGallery",
|
|
510
514
|
setup(t) {
|
|
511
515
|
return (t, n) => (L(), A(E, {
|
|
@@ -516,7 +520,7 @@ var en = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, tn = { class:
|
|
|
516
520
|
class: "mwnf-dxa-timeline-gallery"
|
|
517
521
|
}, {
|
|
518
522
|
before: H(() => [F(e)]),
|
|
519
|
-
actions: H(({ filters: e, pageInfo: n, goToPage: r }) => [N("p",
|
|
523
|
+
actions: H(({ filters: e, pageInfo: n, goToPage: r }) => [N("p", Hn, [F(V(Y), { to: {
|
|
520
524
|
name: "timeline-results",
|
|
521
525
|
query: {
|
|
522
526
|
country: e.country,
|
|
@@ -535,7 +539,7 @@ var en = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, tn = { class:
|
|
|
535
539
|
records: H(({ rows: e, empty: t }) => [e.length ? (L(), A($, {
|
|
536
540
|
key: 0,
|
|
537
541
|
rows: e
|
|
538
|
-
}, null, 8, ["rows"])) : (L(), M("p",
|
|
542
|
+
}, null, 8, ["rows"])) : (L(), M("p", Un, B(t), 1))]),
|
|
539
543
|
pagination: H(() => [...n[0] ||= []]),
|
|
540
544
|
after: H(({ pageInfo: e, goToPage: t }) => [F(Q, {
|
|
541
545
|
family: "gallery",
|
|
@@ -545,13 +549,13 @@ var en = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, tn = { class:
|
|
|
545
549
|
_: 1
|
|
546
550
|
}, 8, ["spec"]));
|
|
547
551
|
}
|
|
548
|
-
},
|
|
552
|
+
}, Gn = { class: "mwnf-dxa-gallery-results" }, Kn = { class: "mwnf-dxa-gallery-results__info" }, qn = { class: "mwnf-dxa-gallery-results__choices" }, Jn = {
|
|
549
553
|
key: 0,
|
|
550
554
|
class: "mwnf-dxa-gallery-results__end"
|
|
551
|
-
},
|
|
555
|
+
}, Yn = { class: "mwnf-dxa-date-wrapper" }, Xn = {
|
|
552
556
|
key: 0,
|
|
553
557
|
class: "mwnf-dxa-timeline-link-box"
|
|
554
|
-
},
|
|
558
|
+
}, Zn = { class: "mwnf-dxa-options-label" }, Qn = { class: "mwnf-dxa-gallery-results__timeline" }, $n = {
|
|
555
559
|
__name: "CollectionResults",
|
|
556
560
|
setup(t) {
|
|
557
561
|
let { t: n } = q(), r = {
|
|
@@ -571,7 +575,7 @@ var en = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, tn = { class:
|
|
|
571
575
|
let t = le(e.country);
|
|
572
576
|
return !!(t && p.value.has(t));
|
|
573
577
|
}
|
|
574
|
-
return (t, s) => (L(), M("div",
|
|
578
|
+
return (t, s) => (L(), M("div", Gn, [F(E, {
|
|
575
579
|
spec: {
|
|
576
580
|
...V(v),
|
|
577
581
|
...V(he),
|
|
@@ -579,7 +583,7 @@ var en = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, tn = { class:
|
|
|
579
583
|
},
|
|
580
584
|
class: "mwnf-dxa-collection-results"
|
|
581
585
|
}, {
|
|
582
|
-
before: H(({ filters: t, options: r, matching: i, pageInfo: a }) => [F(e), N("div",
|
|
586
|
+
before: H(({ filters: t, options: r, matching: i, pageInfo: a }) => [F(e), N("div", Kn, [N("p", null, [P(B(V(n)("gallery.collection.heading")) + " | ", 1), N("span", qn, B(d(t, r, i)), 1)]), N("p", null, B(a.total) + " " + B(V(n)("gallery.collection.resultsOutOf")) + " " + B(c.value) + " " + B(V(n)("gallery.collection.objects")), 1)])]),
|
|
583
587
|
actions: H(({ pageInfo: e, goToPage: t }) => [F(Q, {
|
|
584
588
|
family: "gallery",
|
|
585
589
|
class: "mwnf-dxa-gallery-pages--top",
|
|
@@ -594,7 +598,7 @@ var en = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, tn = { class:
|
|
|
594
598
|
class: "mwnf-dxa-gallery-results__none",
|
|
595
599
|
keypath: "gallery.collection.noResults"
|
|
596
600
|
}))]),
|
|
597
|
-
pagination: H(({ pageInfo: e }) => [e.lastPage <= 1 ? (L(), M("div",
|
|
601
|
+
pagination: H(({ pageInfo: e }) => [e.lastPage <= 1 ? (L(), M("div", Jn)) : j("", !0)]),
|
|
598
602
|
after: H(({ pageInfo: e, goToPage: t }) => [F(Q, {
|
|
599
603
|
family: "gallery",
|
|
600
604
|
"page-info": e,
|
|
@@ -632,7 +636,7 @@ var en = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, tn = { class:
|
|
|
632
636
|
"placeholder",
|
|
633
637
|
"onUpdate:modelValue"
|
|
634
638
|
]))), 128)),
|
|
635
|
-
N("div",
|
|
639
|
+
N("div", Yn, [F(i, {
|
|
636
640
|
"model-value": e.from,
|
|
637
641
|
options: V(J)(l, o),
|
|
638
642
|
placeholder: V(n)("gallery.collection.startDate"),
|
|
@@ -660,7 +664,7 @@ var en = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, tn = { class:
|
|
|
660
664
|
"reset-label",
|
|
661
665
|
"disabled",
|
|
662
666
|
"onReset"
|
|
663
|
-
]), m(e) ? (L(), M("div",
|
|
667
|
+
]), m(e) ? (L(), M("div", Xn, [N("div", Zn, B(V(n)("gallery.collection.timelineForSearch")), 1), N("p", Qn, [s[0] ||= N("span", {
|
|
664
668
|
class: "mwnf-dxa-gallery-results__share",
|
|
665
669
|
"aria-hidden": "true"
|
|
666
670
|
}, "➦", -1), F(V(Y), { to: {
|
|
@@ -677,22 +681,22 @@ var en = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, tn = { class:
|
|
|
677
681
|
_: 1
|
|
678
682
|
}, 8, ["spec"])]));
|
|
679
683
|
}
|
|
680
|
-
},
|
|
684
|
+
}, er = { class: "mwnf-dxa-gallery-collection" }, tr = { class: "mwnf-dxa-gallery-collection__dropdowns" }, nr = { class: "mwnf-dxa-gallery-collection__label" }, rr = { class: "mwnf-dxa-gallery-collection__selects" }, ir = ["aria-label", "onChange"], ar = {
|
|
681
685
|
selected: "",
|
|
682
686
|
disabled: "",
|
|
683
687
|
value: ""
|
|
684
|
-
},
|
|
688
|
+
}, or = ["value"], sr = { class: "mwnf-dxa-gallery-collection__dates" }, cr = ["aria-label"], lr = {
|
|
685
689
|
selected: "",
|
|
686
690
|
disabled: "",
|
|
687
691
|
value: ""
|
|
688
|
-
},
|
|
692
|
+
}, ur = ["value"], dr = ["aria-label"], fr = {
|
|
689
693
|
selected: "",
|
|
690
694
|
disabled: "",
|
|
691
695
|
value: ""
|
|
692
|
-
},
|
|
696
|
+
}, pr = ["value"], mr = ["innerHTML"], hr = {
|
|
693
697
|
__name: "CollectionSearch",
|
|
694
698
|
setup(e) {
|
|
695
|
-
let t =
|
|
699
|
+
let t = Rt(), { t: n } = q(), r = k(() => Ot(`${n("gallery.collection.introBeforeName")} *${te(ee)}* ${n("gallery.collection.introAfterName")}`)), i = Mt(x, pe), a = {
|
|
696
700
|
country: "gallery.collection.selectCountry",
|
|
697
701
|
type: "gallery.collection.type",
|
|
698
702
|
dynasty: "gallery.collection.periodDynasty",
|
|
@@ -709,44 +713,44 @@ var en = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, tn = { class:
|
|
|
709
713
|
query: { [e]: String(n) }
|
|
710
714
|
});
|
|
711
715
|
}
|
|
712
|
-
return (e, t) => (L(), M("div",
|
|
716
|
+
return (e, t) => (L(), M("div", er, [N("div", tr, [N("div", nr, B(V(n)("gallery.collection.filterBy")), 1), N("div", rr, [(L(!0), M(O, null, z(o.value, (e) => (L(), M("select", {
|
|
713
717
|
key: e.key,
|
|
714
718
|
class: "mwnf-dxa-gallery-collection__select",
|
|
715
719
|
"aria-label": V(n)(e.name),
|
|
716
720
|
onChange: (t) => l(e.key, t.target.value)
|
|
717
|
-
}, [N("option",
|
|
721
|
+
}, [N("option", ar, B(V(n)(e.name)), 1), (L(!0), M(O, null, z(e.options, (e) => (L(), M("option", {
|
|
718
722
|
key: e.value,
|
|
719
723
|
value: String(e.value)
|
|
720
|
-
}, B(e.label), 9,
|
|
724
|
+
}, B(e.label), 9, or))), 128))], 40, ir))), 128)), N("div", sr, [N("select", {
|
|
721
725
|
class: "mwnf-dxa-gallery-collection__select",
|
|
722
726
|
"aria-label": V(n)("gallery.collection.startDate"),
|
|
723
727
|
onChange: t[0] ||= (e) => l("from", e.target.value)
|
|
724
|
-
}, [N("option",
|
|
728
|
+
}, [N("option", lr, B(V(n)("gallery.collection.startDate")), 1), (L(!0), M(O, null, z(c.value, (e) => (L(), M("option", {
|
|
725
729
|
key: e.value,
|
|
726
730
|
value: String(e.value)
|
|
727
|
-
}, B(e.label), 9,
|
|
731
|
+
}, B(e.label), 9, ur))), 128))], 40, cr), N("select", {
|
|
728
732
|
class: "mwnf-dxa-gallery-collection__select",
|
|
729
733
|
"aria-label": V(n)("gallery.collection.endDate"),
|
|
730
734
|
onChange: t[1] ||= (e) => l("to", e.target.value)
|
|
731
|
-
}, [N("option",
|
|
735
|
+
}, [N("option", fr, B(V(n)("gallery.collection.endDate")), 1), (L(!0), M(O, null, z(c.value, (e) => (L(), M("option", {
|
|
732
736
|
key: e.value,
|
|
733
737
|
value: String(e.value)
|
|
734
|
-
}, B(e.label), 9,
|
|
738
|
+
}, B(e.label), 9, pr))), 128))], 40, dr)])])]), N("div", {
|
|
735
739
|
class: "mwnf-dxa-gallery-collection__description mwnf-prose vc-text",
|
|
736
740
|
dir: "auto",
|
|
737
741
|
innerHTML: r.value
|
|
738
|
-
}, null, 8,
|
|
742
|
+
}, null, 8, mr)]));
|
|
739
743
|
}
|
|
740
|
-
},
|
|
744
|
+
}, gr = {
|
|
741
745
|
key: 0,
|
|
742
746
|
class: "mwnf-dxa-partner-objects mwnf-dxa-gallery-objects"
|
|
743
|
-
},
|
|
747
|
+
}, _r = { class: "mwnf-dxa-gallery-objects__header" }, vr = ["innerHTML"], yr = {
|
|
744
748
|
key: 0,
|
|
745
749
|
class: "mwnf-dxa-gallery-objects__place"
|
|
746
|
-
},
|
|
750
|
+
}, br = {
|
|
747
751
|
key: 0,
|
|
748
752
|
class: "mwnf-dxa-gallery-objects__end"
|
|
749
|
-
},
|
|
753
|
+
}, xr = {
|
|
750
754
|
__name: "PartnerObjects",
|
|
751
755
|
setup(t) {
|
|
752
756
|
let n = X(), r = k(() => y.value.get(n.params.id) ?? null), i = k(() => ({
|
|
@@ -754,11 +758,11 @@ var en = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, tn = { class:
|
|
|
754
758
|
...he,
|
|
755
759
|
scope: (e) => e.partner_id === n.params.id
|
|
756
760
|
})), a = k(() => r.value ? _e.view(r.value, p("partners", r.value.id, fe)) : null), o = k(() => [a.value?.city, a.value?.country].filter(Boolean).join(", "));
|
|
757
|
-
return (t, n) => r.value ? (L(), M("div",
|
|
758
|
-
before: H(() => [F(e), N("div",
|
|
761
|
+
return (t, n) => r.value ? (L(), M("div", gr, [F(E, { spec: i.value }, {
|
|
762
|
+
before: H(() => [F(e), N("div", _r, [N("p", {
|
|
759
763
|
class: "mwnf-dxa-gallery-objects__name",
|
|
760
764
|
innerHTML: a.value.name
|
|
761
|
-
}, null, 8,
|
|
765
|
+
}, null, 8, vr), o.value ? (L(), M("p", yr, B(o.value), 1)) : j("", !0)])]),
|
|
762
766
|
actions: H(({ pageInfo: e, goToPage: t }) => [F(Q, {
|
|
763
767
|
family: "gallery",
|
|
764
768
|
class: "mwnf-dxa-gallery-pages--top",
|
|
@@ -766,7 +770,7 @@ var en = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, tn = { class:
|
|
|
766
770
|
onNavigate: t
|
|
767
771
|
}, null, 8, ["page-info", "onNavigate"])]),
|
|
768
772
|
records: H(({ rows: e }) => [F($, { rows: e }, null, 8, ["rows"])]),
|
|
769
|
-
pagination: H(({ pageInfo: e }) => [e.lastPage <= 1 ? (L(), M("div",
|
|
773
|
+
pagination: H(({ pageInfo: e }) => [e.lastPage <= 1 ? (L(), M("div", br)) : j("", !0)]),
|
|
770
774
|
after: H(({ pageInfo: e, goToPage: t }) => [F(Q, {
|
|
771
775
|
family: "gallery",
|
|
772
776
|
"page-info": e,
|
|
@@ -785,113 +789,113 @@ var en = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, tn = { class:
|
|
|
785
789
|
_: 1
|
|
786
790
|
}, 8, ["spec"])])) : j("", !0);
|
|
787
791
|
}
|
|
788
|
-
},
|
|
792
|
+
}, Sr = { class: "mwnf-dxa-exhibition-how-to" }, Cr = {
|
|
789
793
|
__name: "SearchHowTo",
|
|
790
794
|
setup(t) {
|
|
791
|
-
return (t, n) => (L(), M("div",
|
|
795
|
+
return (t, n) => (L(), M("div", Sr, [F(e), F(V(W), {
|
|
792
796
|
class: "mwnf-dxa-exhibition-how-to__text",
|
|
793
797
|
dir: "auto",
|
|
794
798
|
keypath: "catalogue.search.howToEssay"
|
|
795
799
|
})]));
|
|
796
800
|
}
|
|
797
|
-
},
|
|
801
|
+
}, wr = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners mwnf-dxa-exhibition-partners" }, Tr = { class: "mwnf-dxa-gallery-partners__options" }, Er = { class: "mwnf-dxa-gallery-partners__order" }, Dr = ["onClick"], Or = { class: "mwnf-dxa-gallery-partners__country" }, kr = { class: "mwnf-dxa-gallery-partners__partner" }, Ar = { class: "mwnf-dxa-gallery-partners__text" }, jr = ["innerHTML"], Mr = {
|
|
798
802
|
key: 0,
|
|
799
803
|
class: "mwnf-dxa-gallery-partners__city"
|
|
800
|
-
},
|
|
804
|
+
}, Nr = {
|
|
801
805
|
key: 0,
|
|
802
806
|
class: "mwnf-dxa-partner-badge__status"
|
|
803
|
-
},
|
|
807
|
+
}, Pr = { class: "mwnf-dxa-gallery-partners__links" }, Fr = { class: "mwnf-dxa-gallery-partners__logo" }, Ir = ["src", "alt"], Lr = {
|
|
804
808
|
__name: "Partners",
|
|
805
809
|
setup(t) {
|
|
806
810
|
let r = {
|
|
807
|
-
...
|
|
808
|
-
objectsRoute:
|
|
811
|
+
...De,
|
|
812
|
+
objectsRoute: Se,
|
|
809
813
|
orderToggle: !1,
|
|
810
814
|
tiebreak: (e) => e.own_project?.name ?? ""
|
|
811
815
|
};
|
|
812
|
-
return (t, i) => (L(), M("div",
|
|
813
|
-
before: H(({ t, orderDir: n, toggleOrder: r }) => [N("div",
|
|
816
|
+
return (t, i) => (L(), M("div", wr, [F(Ye, { spec: r }, {
|
|
817
|
+
before: H(({ t, orderDir: n, toggleOrder: r }) => [N("div", Tr, [F(e), N("div", Er, [N("button", {
|
|
814
818
|
type: "button",
|
|
815
819
|
onClick: r
|
|
816
|
-
}, B(t(n === "asc" ? "partner.list.sortDescending" : "partner.list.sortAscending")), 9,
|
|
820
|
+
}, B(t(n === "asc" ? "partner.list.sortDescending" : "partner.list.sortAscending")), 9, Dr)])]), F(V(W), {
|
|
817
821
|
id: "mwnf-dxa-partners-intro",
|
|
818
822
|
class: "mwnf-dxa-gallery-partners__intro",
|
|
819
823
|
dir: "auto",
|
|
820
824
|
keypath: "exhibition.partners.intro"
|
|
821
825
|
})]),
|
|
822
|
-
"group-heading": H(({ group: e }) => [N("div",
|
|
823
|
-
row: H(({ partner: e, view: t, t: r }) => [N("div",
|
|
826
|
+
"group-heading": H(({ group: e }) => [N("div", Or, B(e.label), 1)]),
|
|
827
|
+
row: H(({ partner: e, view: t, t: r }) => [N("div", kr, [N("div", Ar, [
|
|
824
828
|
F(n, {
|
|
825
829
|
class: "mwnf-dxa-gallery-partners__name",
|
|
826
830
|
to: t.route
|
|
827
831
|
}, {
|
|
828
|
-
default: H(() => [N("span", { innerHTML: t.name }, null, 8,
|
|
832
|
+
default: H(() => [N("span", { innerHTML: t.name }, null, 8, jr), t.city ? (L(), M("span", Mr, ", " + B(t.city), 1)) : j("", !0)]),
|
|
829
833
|
_: 2
|
|
830
834
|
}, 1032, ["to"]),
|
|
831
835
|
V(Z)(e) ? (L(), M("div", {
|
|
832
836
|
key: 0,
|
|
833
837
|
class: I(["mwnf-dxa-partner-badge", V(Z)(e).tone && `mwnf-dxa-partner-badge--${V(Z)(e).tone}`])
|
|
834
|
-
}, [P(B(V(Z)(e).name + " "), 1), V(Z)(e).status ? (L(), M("span",
|
|
835
|
-
N("div",
|
|
838
|
+
}, [P(B(V(Z)(e).name + " "), 1), V(Z)(e).status ? (L(), M("span", Nr, B(r(V(Z)(e).status)), 1)) : j("", !0)], 2)) : j("", !0),
|
|
839
|
+
N("div", Pr, [F(n, { to: t.route }, {
|
|
836
840
|
default: H(() => [P(B(r("partner.action.readMore")), 1)]),
|
|
837
841
|
_: 2
|
|
838
842
|
}, 1032, ["to"]), e.item_count > 0 && t.objectsRoute ? (L(), M(O, { key: 0 }, [i[0] ||= N("span", {
|
|
839
843
|
class: "mwnf-dxa-gallery-partners__divider",
|
|
840
844
|
"aria-hidden": "true"
|
|
841
845
|
}, "|", -1), F(n, { to: t.objectsRoute }, {
|
|
842
|
-
default: H(() => [P(B(r(
|
|
846
|
+
default: H(() => [P(B(r(V(Ke)(e))), 1)]),
|
|
843
847
|
_: 2
|
|
844
848
|
}, 1032, ["to"])], 64)) : j("", !0)])
|
|
845
|
-
]), N("div",
|
|
849
|
+
]), N("div", Fr, [t.logos?.[0] ? (L(), M("img", {
|
|
846
850
|
key: 0,
|
|
847
851
|
src: t.logos[0].url,
|
|
848
852
|
alt: t.plainName,
|
|
849
853
|
loading: "lazy"
|
|
850
|
-
}, null, 8,
|
|
854
|
+
}, null, 8, Ir)) : j("", !0)])])]),
|
|
851
855
|
_: 1
|
|
852
856
|
})]));
|
|
853
857
|
}
|
|
854
|
-
},
|
|
858
|
+
}, Rr = { class: "mwnf-dxa-exhibition-search" }, zr = { class: "mwnf-dxa-exhibition-search__header" }, Br = { class: "mwnf-dxa-exhibition-search__info" }, Vr = { key: 0 }, Hr = { key: 1 }, Ur = { class: "mwnf-dxa-exhibition-search__box" }, Wr = ["placeholder", "aria-label"], Gr = { class: "mwnf-dxa-exhibition-search__buttons" }, Kr = {
|
|
855
859
|
type: "submit",
|
|
856
860
|
class: "mwnf-dxa-exhibition-search__button"
|
|
857
|
-
},
|
|
861
|
+
}, qr = { class: "mwnf-dxa-exhibition-search__tips" }, Jr = {
|
|
858
862
|
key: 0,
|
|
859
863
|
class: "mwnf-dxa-exhibition-search__results"
|
|
860
|
-
},
|
|
864
|
+
}, Yr = {
|
|
861
865
|
key: 0,
|
|
862
866
|
class: "mwnf-dxa-exhibition-search__main"
|
|
863
|
-
},
|
|
867
|
+
}, Xr = { class: "mwnf-dxa-exhibition-search__main-photo" }, Zr = ["src", "alt"], Qr = { class: "mwnf-dxa-exhibition-search__main-text" }, $r = ["innerHTML"], ei = { class: "mwnf-dxa-exhibition-search__main-holder" }, ti = { class: "mwnf-dxa-exhibition-search__list" }, ni = [
|
|
864
868
|
"src",
|
|
865
869
|
"alt",
|
|
866
870
|
"onMouseover"
|
|
867
|
-
],
|
|
871
|
+
], ri = { class: "mwnf-dxa-exhibition-search__result-text" }, ii = ["innerHTML", "onMouseover"], ai = {
|
|
868
872
|
key: 1,
|
|
869
873
|
class: "mwnf-dxa-exhibition-search__end"
|
|
870
|
-
},
|
|
874
|
+
}, oi = {
|
|
871
875
|
__name: "SearchResults",
|
|
872
876
|
setup(t) {
|
|
873
|
-
let { t: n } = q(), r = X(), i =
|
|
877
|
+
let { t: n } = q(), r = X(), i = Rt(), a = Nt("items", {
|
|
874
878
|
grammar: "boolean",
|
|
875
|
-
haystack:
|
|
879
|
+
haystack: Ve
|
|
876
880
|
}), o = R(!1);
|
|
877
|
-
|
|
881
|
+
qe().then(() => {
|
|
878
882
|
o.value = !0;
|
|
879
883
|
});
|
|
880
884
|
let s = (e) => !e || e === "all-items" || e === "all-objects", c = (e) => e && e.length > 80 ? `${e.slice(0, 80)}...` : e ?? "", l = k(() => ({
|
|
881
885
|
entity: "items",
|
|
882
886
|
keys: ["q"],
|
|
883
|
-
scope: (e) =>
|
|
887
|
+
scope: (e) => Re.value.has(e.id),
|
|
884
888
|
narrow: (e, t) => {
|
|
885
889
|
if (!o.value) return [];
|
|
886
890
|
if (s(t.q)) return e;
|
|
887
891
|
let n = new Set(e.map((e) => e.id));
|
|
888
892
|
return a.search(t.q).filter((e) => n.has(e.id));
|
|
889
893
|
},
|
|
890
|
-
...
|
|
891
|
-
sort: s(r.query.q) ?
|
|
894
|
+
...Je,
|
|
895
|
+
sort: s(r.query.q) ? Je.sort : !1,
|
|
892
896
|
summary: () => [],
|
|
893
897
|
record: (e) => {
|
|
894
|
-
let t =
|
|
898
|
+
let t = S("items", e.id, Ue);
|
|
895
899
|
return {
|
|
896
900
|
id: e.id,
|
|
897
901
|
image: e.images?.[0]?.url ?? "",
|
|
@@ -901,11 +905,11 @@ var en = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, tn = { class:
|
|
|
901
905
|
partner: T("partners", e.partner_id),
|
|
902
906
|
place: [t.location, T("countries", e.country_id)].filter(Boolean).join(", "),
|
|
903
907
|
start: e.start_date ?? 0,
|
|
904
|
-
to:
|
|
908
|
+
to: Ne(e)
|
|
905
909
|
};
|
|
906
910
|
}
|
|
907
911
|
})), u = (e) => [...e].sort((e, t) => e.start - t.start), d = R("");
|
|
908
|
-
|
|
912
|
+
bt(() => r.query.q, (e) => {
|
|
909
913
|
d.value = s(e) ? "" : String(e ?? "");
|
|
910
914
|
}, { immediate: !0 });
|
|
911
915
|
function f() {
|
|
@@ -927,25 +931,25 @@ var en = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, tn = { class:
|
|
|
927
931
|
function _(e) {
|
|
928
932
|
return e.find((e) => e.id === m.value) ?? e[0];
|
|
929
933
|
}
|
|
930
|
-
return
|
|
934
|
+
return bt(() => r.fullPath, () => {
|
|
931
935
|
m.value = null;
|
|
932
|
-
}), (t, r) => (L(), M("div",
|
|
936
|
+
}), (t, r) => (L(), M("div", Rr, [F(E, {
|
|
933
937
|
spec: l.value,
|
|
934
938
|
class: "mwnf-dxa-exhibition-search__view"
|
|
935
939
|
}, {
|
|
936
940
|
before: H(({ pageInfo: t, goToPage: i }) => [
|
|
937
941
|
F(e),
|
|
938
|
-
N("div",
|
|
942
|
+
N("div", zr, [N("div", Br, [t.total ? (L(), M("p", Vr, B(V(n)("exhibition.search.heading")) + " | " + B(t.total) + " " + B(V(n)("exhibition.search.recordsOutOf")) + " " + B(V(Re).size) + " " + B(V(n)("exhibition.collection.items")), 1)) : (L(), M("p", Hr, [P(B(V(n)("exhibition.search.heading")) + " | ", 1), N("span", null, B(V(n)("exhibition.search.none")), 1)]))]), N("div", Ur, [N("form", { onSubmit: r[2] ||= St((e) => f(), ["prevent"]) }, [U(N("input", {
|
|
939
943
|
"onUpdate:modelValue": r[0] ||= (e) => d.value = e,
|
|
940
944
|
class: "mwnf-dxa-exhibition-search__input",
|
|
941
945
|
type: "search",
|
|
942
946
|
placeholder: V(n)("exhibition.search.placeholder"),
|
|
943
947
|
"aria-label": V(n)("exhibition.search.placeholder")
|
|
944
|
-
}, null, 8,
|
|
948
|
+
}, null, 8, Wr), [[vt, d.value]]), N("div", Gr, [N("button", Kr, B(V(n)("exhibition.search.submit")), 1), N("button", {
|
|
945
949
|
type: "button",
|
|
946
950
|
class: "mwnf-dxa-exhibition-search__button",
|
|
947
951
|
onClick: r[1] ||= (e) => p()
|
|
948
|
-
}, B(V(n)("exhibition.search.reset")), 1)])], 32), N("div",
|
|
952
|
+
}, B(V(n)("exhibition.search.reset")), 1)])], 32), N("div", qr, [F(V(Y), { to: { name: "search-how-to" } }, {
|
|
949
953
|
default: H(() => [P(B(V(n)("exhibition.search.tips")), 1)]),
|
|
950
954
|
_: 1
|
|
951
955
|
})])])]),
|
|
@@ -955,15 +959,15 @@ var en = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, tn = { class:
|
|
|
955
959
|
onNavigate: i
|
|
956
960
|
}, null, 8, ["page-info", "onNavigate"])
|
|
957
961
|
]),
|
|
958
|
-
records: H(({ rows: e }) => [e.length ? (L(), M("div",
|
|
962
|
+
records: H(({ rows: e }) => [e.length ? (L(), M("div", Jr, [g.value ? j("", !0) : (L(), M("div", Yr, [N("div", Xr, [N("img", {
|
|
959
963
|
src: _(u(e)).image,
|
|
960
964
|
alt: _(u(e)).imageAlt
|
|
961
|
-
}, null, 8,
|
|
962
|
-
N("p", null, [N("strong", { innerHTML: _(u(e)).name }, null, 8,
|
|
965
|
+
}, null, 8, Zr)]), N("div", Qr, [
|
|
966
|
+
N("p", null, [N("strong", { innerHTML: _(u(e)).name }, null, 8, $r)]),
|
|
963
967
|
N("p", null, B(_(u(e)).date), 1),
|
|
964
|
-
N("p",
|
|
968
|
+
N("p", ei, [N("strong", null, B(_(u(e)).partner), 1)]),
|
|
965
969
|
N("p", null, B(_(u(e)).place), 1)
|
|
966
|
-
])])), N("div",
|
|
970
|
+
])])), N("div", ti, [(L(!0), M(O, null, z(u(e), (e) => (L(), M("div", {
|
|
967
971
|
key: e.id,
|
|
968
972
|
class: "mwnf-dxa-exhibition-search__result"
|
|
969
973
|
}, [F(V(Y), {
|
|
@@ -975,13 +979,13 @@ var en = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, tn = { class:
|
|
|
975
979
|
alt: e.imageAlt,
|
|
976
980
|
loading: "lazy",
|
|
977
981
|
onMouseover: (t) => m.value = e.id
|
|
978
|
-
}, null, 40,
|
|
982
|
+
}, null, 40, ni)]),
|
|
979
983
|
_: 2
|
|
980
|
-
}, 1032, ["to"]), N("div",
|
|
984
|
+
}, 1032, ["to"]), N("div", ri, [F(V(Y), { to: e.to }, {
|
|
981
985
|
default: H(() => [N("strong", {
|
|
982
986
|
innerHTML: e.name,
|
|
983
987
|
onMouseover: (t) => m.value = e.id
|
|
984
|
-
}, null, 40,
|
|
988
|
+
}, null, 40, ii), N("span", null, ", " + B(e.place), 1)]),
|
|
985
989
|
_: 2
|
|
986
990
|
}, 1032, ["to"]), N("p", null, [N("em", null, B(e.date), 1)])])]))), 128))])])) : (L(), A(V(W), {
|
|
987
991
|
key: 1,
|
|
@@ -993,50 +997,50 @@ var en = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, tn = { class:
|
|
|
993
997
|
key: 0,
|
|
994
998
|
"page-info": e,
|
|
995
999
|
onNavigate: t
|
|
996
|
-
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div",
|
|
1000
|
+
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div", ai))]),
|
|
997
1001
|
_: 1
|
|
998
1002
|
}, 8, ["spec"])]));
|
|
999
1003
|
}
|
|
1000
|
-
},
|
|
1004
|
+
}, si = { class: "mwnf-dxa-exhibition-timeline-results" }, ci = { class: "mwnf-dxa-exhibition-timeline-results__band" }, li = { class: "mwnf-dxa-exhibition-timeline-results__current" }, ui = { key: 0 }, di = { class: "mwnf-dxa-exhibition-timeline-results__fields" }, fi = ["aria-label"], pi = {
|
|
1001
1005
|
disabled: "",
|
|
1002
1006
|
value: ""
|
|
1003
|
-
},
|
|
1007
|
+
}, mi = ["value"], hi = ["aria-label"], gi = {
|
|
1004
1008
|
disabled: "",
|
|
1005
1009
|
value: ""
|
|
1006
|
-
},
|
|
1010
|
+
}, _i = ["value"], vi = ["aria-label"], yi = {
|
|
1007
1011
|
disabled: "",
|
|
1008
1012
|
value: ""
|
|
1009
|
-
},
|
|
1013
|
+
}, bi = ["value"], xi = ["onClick"], Si = ["onClick"], Ci = { class: "mwnf-dxa-exhibition-timeline-results__body" }, wi = {
|
|
1010
1014
|
key: 0,
|
|
1011
1015
|
class: "mwnf-dxa-exhibition-timeline-results__list"
|
|
1012
|
-
},
|
|
1016
|
+
}, Ti = { class: "mwnf-dxa-exhibition-timeline-results__labels" }, Ei = { class: "mwnf-dxa-exhibition-timeline-results__year" }, Di = { class: "mwnf-dxa-exhibition-timeline-results__text" }, Oi = ["innerHTML"], ki = ["innerHTML"], Ai = {
|
|
1013
1017
|
key: 1,
|
|
1014
1018
|
class: "mwnf-dxa-exhibition-timeline-results__none"
|
|
1015
|
-
},
|
|
1019
|
+
}, ji = {
|
|
1016
1020
|
key: 2,
|
|
1017
1021
|
class: "mwnf-dxa-exhibition-timeline-results__related"
|
|
1018
|
-
},
|
|
1022
|
+
}, Mi = { class: "mwnf-dxa-exhibition-timeline-results__related-header" }, Ni = {
|
|
1019
1023
|
key: 1,
|
|
1020
1024
|
class: "mwnf-dxa-exhibition-timeline-results__end"
|
|
1021
|
-
},
|
|
1025
|
+
}, Pi = {
|
|
1022
1026
|
__name: "TimelineResults",
|
|
1023
1027
|
setup(t) {
|
|
1024
1028
|
let n = {
|
|
1025
1029
|
"catalogue.era.ad": "exhibition.era.ad",
|
|
1026
1030
|
"catalogue.era.bc": "exhibition.era.bc"
|
|
1027
|
-
}, r = ({ years: e, t }) =>
|
|
1028
|
-
...
|
|
1031
|
+
}, r = ({ years: e, t }) => Lt(e.min, e.max, It(t, n)), i = k(() => ({
|
|
1032
|
+
...w.value,
|
|
1029
1033
|
pageSize: 20,
|
|
1030
|
-
controls:
|
|
1034
|
+
controls: w.value.controls.map((e) => e.options ? {
|
|
1031
1035
|
...e,
|
|
1032
1036
|
options: r
|
|
1033
1037
|
} : e)
|
|
1034
|
-
})), a = k(() =>
|
|
1038
|
+
})), a = k(() => w.value.scope === "country"), o = X(), s = pt({
|
|
1035
1039
|
country: "",
|
|
1036
1040
|
begin: "",
|
|
1037
1041
|
end: ""
|
|
1038
1042
|
});
|
|
1039
|
-
|
|
1043
|
+
bt(() => o.query, (e) => {
|
|
1040
1044
|
s.country = String(e.country ?? ""), s.begin = String(e.begin ?? ""), s.end = String(e.end ?? "");
|
|
1041
1045
|
}, { immediate: !0 });
|
|
1042
1046
|
let c = (e, t) => (e ?? []).find((e) => String(e.value) === String(t))?.label ?? t;
|
|
@@ -1044,46 +1048,46 @@ var en = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, tn = { class:
|
|
|
1044
1048
|
let n = e?.year_from;
|
|
1045
1049
|
return Number.isFinite(n) ? `${n} ${t(n < 0 ? "exhibition.era.bc" : "exhibition.era.ad")}` : "";
|
|
1046
1050
|
}
|
|
1047
|
-
return (t, n) => (L(), M("div",
|
|
1051
|
+
return (t, n) => (L(), M("div", si, [F(Xe, {
|
|
1048
1052
|
spec: i.value,
|
|
1049
1053
|
class: "mwnf-dxa-timeline-results"
|
|
1050
1054
|
}, {
|
|
1051
|
-
form: H((e) => [N("div",
|
|
1055
|
+
form: H((e) => [N("div", ci, [N("p", li, [
|
|
1052
1056
|
P(B(e.t("exhibition.timeline.heading")) + " | " + B(c(e.options.begin, e.filters.begin)) + " " + B(e.t("exhibition.timeline.to")) + " " + B(c(e.options.end, e.filters.end)) + " | ", 1),
|
|
1053
|
-
a.value && e.filters.country ? (L(), M("span",
|
|
1057
|
+
a.value && e.filters.country ? (L(), M("span", ui, B(c(e.countries, e.filters.country)) + " | ", 1)) : j("", !0),
|
|
1054
1058
|
N("span", null, B(e.pageInfo?.total ?? 0) + " " + B(e.t("exhibition.timeline.results")), 1)
|
|
1055
|
-
]), N("div",
|
|
1059
|
+
]), N("div", di, [
|
|
1056
1060
|
N("span", null, B(e.t("exhibition.collection.startDate")), 1),
|
|
1057
1061
|
U(N("select", {
|
|
1058
1062
|
"onUpdate:modelValue": n[0] ||= (e) => s.begin = e,
|
|
1059
1063
|
"aria-label": e.t("exhibition.collection.startDate")
|
|
1060
|
-
}, [N("option",
|
|
1064
|
+
}, [N("option", pi, B(e.t("exhibition.collection.startDate")), 1), (L(!0), M(O, null, z(e.options.begin ?? [], (e) => (L(), M("option", {
|
|
1061
1065
|
key: e.value,
|
|
1062
1066
|
value: String(e.value)
|
|
1063
|
-
}, B(e.label), 9,
|
|
1067
|
+
}, B(e.label), 9, mi))), 128))], 8, fi), [[_t, s.begin]]),
|
|
1064
1068
|
N("span", null, B(e.t("exhibition.collection.endDate")), 1),
|
|
1065
1069
|
U(N("select", {
|
|
1066
1070
|
"onUpdate:modelValue": n[1] ||= (e) => s.end = e,
|
|
1067
1071
|
"aria-label": e.t("exhibition.collection.endDate")
|
|
1068
|
-
}, [N("option",
|
|
1072
|
+
}, [N("option", gi, B(e.t("exhibition.collection.endDate")), 1), (L(!0), M(O, null, z(e.options.end ?? [], (e) => (L(), M("option", {
|
|
1069
1073
|
key: e.value,
|
|
1070
1074
|
value: String(e.value)
|
|
1071
|
-
}, B(e.label), 9,
|
|
1075
|
+
}, B(e.label), 9, _i))), 128))], 8, hi), [[_t, s.end]]),
|
|
1072
1076
|
a.value ? (L(), M(O, { key: 0 }, [N("span", null, B(e.t("exhibition.timeline.country")), 1), U(N("select", {
|
|
1073
1077
|
"onUpdate:modelValue": n[2] ||= (e) => s.country = e,
|
|
1074
1078
|
"aria-label": e.t("exhibition.timeline.selectCountry")
|
|
1075
|
-
}, [N("option",
|
|
1079
|
+
}, [N("option", yi, B(e.t("exhibition.timeline.selectCountry")), 1), (L(!0), M(O, null, z(e.countries, (e) => (L(), M("option", {
|
|
1076
1080
|
key: e.value,
|
|
1077
1081
|
value: e.value
|
|
1078
|
-
}, B(e.label), 9,
|
|
1082
|
+
}, B(e.label), 9, bi))), 128))], 8, vi), [[_t, s.country]])], 64)) : j("", !0),
|
|
1079
1083
|
N("button", {
|
|
1080
1084
|
type: "button",
|
|
1081
1085
|
onClick: (t) => e.apply({ ...s })
|
|
1082
|
-
}, B(e.t("core.action.go")), 9,
|
|
1086
|
+
}, B(e.t("core.action.go")), 9, xi),
|
|
1083
1087
|
N("button", {
|
|
1084
1088
|
type: "button",
|
|
1085
1089
|
onClick: (t) => e.reset()
|
|
1086
|
-
}, B(e.t("exhibition.search.reset")), 9,
|
|
1090
|
+
}, B(e.t("exhibition.search.reset")), 9, Si)
|
|
1087
1091
|
])])]),
|
|
1088
1092
|
summary: H(({ pageInfo: t, goToPage: n }) => [F(e), F(Q, {
|
|
1089
1093
|
class: "mwnf-dxa-exhibition-timeline-results__pages",
|
|
@@ -1091,17 +1095,17 @@ var en = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, tn = { class:
|
|
|
1091
1095
|
onNavigate: n
|
|
1092
1096
|
}, null, 8, ["page-info", "onNavigate"])]),
|
|
1093
1097
|
gallery: H(() => [...n[3] ||= []]),
|
|
1094
|
-
event: H(({ pageInfo: e, rows: t, gallery: r, t: i }) => [N("div",
|
|
1098
|
+
event: H(({ pageInfo: e, rows: t, gallery: r, t: i }) => [N("div", Ci, [t.length ? (L(), M("div", wi, [N("div", Ti, [N("div", null, B(i("exhibition.timeline.date")), 1), N("div", null, B(i(a.value && s.country ? "exhibition.timeline.countryDescription" : "exhibition.timeline.description")), 1)]), (L(!0), M(O, null, z(t, (t, n) => (L(), M("div", {
|
|
1095
1099
|
key: t.id,
|
|
1096
1100
|
class: "mwnf-dxa-exhibition-timeline-results__event"
|
|
1097
|
-
}, [N("div",
|
|
1101
|
+
}, [N("div", Ei, [N("span", null, B(l(e.rows[n], i)), 1)]), N("div", Di, [a.value && s.country && t.caption ? (L(), M("div", {
|
|
1098
1102
|
key: 0,
|
|
1099
1103
|
class: "mwnf-dxa-exhibition-timeline-results__country",
|
|
1100
1104
|
innerHTML: t.caption
|
|
1101
|
-
}, null, 8,
|
|
1105
|
+
}, null, 8, Oi)) : j("", !0), N("div", {
|
|
1102
1106
|
class: "mwnf-dxa-exhibition-timeline-results__description",
|
|
1103
1107
|
innerHTML: t.description
|
|
1104
|
-
}, null, 8,
|
|
1108
|
+
}, null, 8, ki)])]))), 128))])) : (L(), M("div", Ai, B(i("exhibition.timeline.noResults")), 1)), t.length && r ? (L(), M("div", ji, [N("p", Mi, B(i("exhibition.timeline.relatedContent")), 1), N("p", null, [
|
|
1105
1109
|
n[4] ||= N("span", { "aria-hidden": "true" }, "➦", -1),
|
|
1106
1110
|
n[5] ||= P(),
|
|
1107
1111
|
F(V(Y), { to: r.to }, {
|
|
@@ -1113,41 +1117,41 @@ var en = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, tn = { class:
|
|
|
1113
1117
|
key: 0,
|
|
1114
1118
|
"page-info": e,
|
|
1115
1119
|
onNavigate: t
|
|
1116
|
-
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div",
|
|
1120
|
+
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div", Ni))]),
|
|
1117
1121
|
_: 1
|
|
1118
1122
|
}, 8, ["spec"])]));
|
|
1119
1123
|
}
|
|
1120
|
-
},
|
|
1124
|
+
}, Fi = { class: "mwnf-dxa-exhibition-partner-objects mwnf-dxa-exhibition-timeline-gallery" }, Ii = { class: "mwnf-dxa-exhibition-partner-objects__header" }, Li = { class: "mwnf-dxa-exhibition-partner-objects__content" }, Ri = { class: "mwnf-dxa-exhibition-partner-objects__grid" }, zi = { class: "mwnf-dxa-exhibition-partner-objects__profile" }, Bi = {
|
|
1121
1125
|
key: 1,
|
|
1122
1126
|
class: "mwnf-dxa-exhibition-partner-objects__end"
|
|
1123
|
-
},
|
|
1127
|
+
}, Vi = {
|
|
1124
1128
|
__name: "TimelineGallery",
|
|
1125
1129
|
setup(t) {
|
|
1126
1130
|
let { t: n } = q(), r = {
|
|
1127
1131
|
"catalogue.era.ad": "exhibition.era.ad",
|
|
1128
1132
|
"catalogue.era.bc": "exhibition.era.bc"
|
|
1129
1133
|
}, i = k(() => ({
|
|
1130
|
-
...
|
|
1131
|
-
...
|
|
1134
|
+
...ye,
|
|
1135
|
+
...Je,
|
|
1132
1136
|
summary: () => [],
|
|
1133
|
-
record:
|
|
1137
|
+
record: Ae
|
|
1134
1138
|
}));
|
|
1135
1139
|
function a(e) {
|
|
1136
1140
|
let t = Number(e);
|
|
1137
1141
|
if (e === "" || e == null || !Number.isFinite(t)) return "";
|
|
1138
|
-
let i =
|
|
1142
|
+
let i = Lt(t, t, It(n, r));
|
|
1139
1143
|
return i.find((e) => Number(e.value) === t)?.label ?? i[0]?.label ?? String(e);
|
|
1140
1144
|
}
|
|
1141
|
-
let o = k(() =>
|
|
1142
|
-
return (t, r) => (L(), M("div",
|
|
1145
|
+
let o = k(() => w.value.scope === "country");
|
|
1146
|
+
return (t, r) => (L(), M("div", Fi, [F(E, {
|
|
1143
1147
|
spec: i.value,
|
|
1144
1148
|
class: "mwnf-dxa-partner-objects"
|
|
1145
1149
|
}, {
|
|
1146
1150
|
before: H(({ filters: t, pageInfo: r, goToPage: i }) => [
|
|
1147
1151
|
F(e),
|
|
1148
|
-
N("div",
|
|
1152
|
+
N("div", Ii, [N("p", null, [
|
|
1149
1153
|
P(B(V(n)("exhibition.timeline.heading")) + " | " + B(a(t.begin)) + " " + B(V(n)("exhibition.timeline.to")) + " " + B(a(t.end)) + " | ", 1),
|
|
1150
|
-
o.value && t.country ? (L(), M(O, { key: 0 }, [P(B(V(
|
|
1154
|
+
o.value && t.country ? (L(), M(O, { key: 0 }, [P(B(V(Be)(t.country)) + " | ", 1)], 64)) : j("", !0),
|
|
1151
1155
|
P(B(V(n)("exhibition.timeline.gallery")), 1)
|
|
1152
1156
|
])]),
|
|
1153
1157
|
F(Q, {
|
|
@@ -1156,11 +1160,11 @@ var en = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, tn = { class:
|
|
|
1156
1160
|
onNavigate: i
|
|
1157
1161
|
}, null, 8, ["page-info", "onNavigate"])
|
|
1158
1162
|
]),
|
|
1159
|
-
records: H(({ rows: e, filters: t }) => [N("div",
|
|
1163
|
+
records: H(({ rows: e, filters: t }) => [N("div", Li, [N("div", Ri, [e.length ? (L(), A($, {
|
|
1160
1164
|
key: 0,
|
|
1161
1165
|
rows: e,
|
|
1162
1166
|
family: "exhibition"
|
|
1163
|
-
}, null, 8, ["rows"])) : j("", !0)]), N("div",
|
|
1167
|
+
}, null, 8, ["rows"])) : j("", !0)]), N("div", zi, [F(V(Y), { to: {
|
|
1164
1168
|
name: "timeline-results",
|
|
1165
1169
|
query: {
|
|
1166
1170
|
...t.country ? { country: t.country } : {},
|
|
@@ -1176,27 +1180,27 @@ var en = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, tn = { class:
|
|
|
1176
1180
|
key: 0,
|
|
1177
1181
|
"page-info": e,
|
|
1178
1182
|
onNavigate: t
|
|
1179
|
-
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div",
|
|
1183
|
+
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div", Bi))]),
|
|
1180
1184
|
_: 1
|
|
1181
1185
|
}, 8, ["spec"])]));
|
|
1182
1186
|
}
|
|
1183
|
-
}, { aboutTheme:
|
|
1184
|
-
function
|
|
1187
|
+
}, { aboutTheme: Hi, listedThemes: Ui, pictureById: Wi, pictureParent: Gi, romanFor: Ki, themeText: qi, themeTree: Ji } = Ie;
|
|
1188
|
+
function Yi(e) {
|
|
1185
1189
|
return String(e?.backward_compatibility ?? "").split(":").pop();
|
|
1186
1190
|
}
|
|
1187
|
-
function
|
|
1188
|
-
let t = (t) =>
|
|
1189
|
-
value:
|
|
1190
|
-
label: t(
|
|
1191
|
-
node:
|
|
1192
|
-
}] : [], ...
|
|
1193
|
-
value:
|
|
1194
|
-
label: `${
|
|
1191
|
+
function Xi(e) {
|
|
1192
|
+
let t = (t) => qi(t, e.value).title ?? t?.internal_name ?? "", n = k(() => [...Hi.value ? [{
|
|
1193
|
+
value: Yi(Hi.value),
|
|
1194
|
+
label: t(Hi.value),
|
|
1195
|
+
node: Hi.value
|
|
1196
|
+
}] : [], ...Ui.value.map((e) => ({
|
|
1197
|
+
value: Yi(e),
|
|
1198
|
+
label: `${Ki(e.display_order)}. ${t(e)}`,
|
|
1195
1199
|
node: e
|
|
1196
1200
|
}))]), r = (e) => n.value.find((t) => t.value === String(e))?.node ?? null;
|
|
1197
1201
|
function i(e) {
|
|
1198
1202
|
return (r(e)?.sub_themes ?? []).map((e, n) => ({
|
|
1199
|
-
value:
|
|
1203
|
+
value: Yi(e),
|
|
1200
1204
|
label: `${n + 1}. ${t(e)}`,
|
|
1201
1205
|
node: e
|
|
1202
1206
|
}));
|
|
@@ -1204,8 +1208,8 @@ function Yi(e) {
|
|
|
1204
1208
|
function a(e) {
|
|
1205
1209
|
let t = /* @__PURE__ */ new Set();
|
|
1206
1210
|
if (!e) return t;
|
|
1207
|
-
for (let n of
|
|
1208
|
-
let e = Wi
|
|
1211
|
+
for (let n of Ji.itemsUnder(e.id)) {
|
|
1212
|
+
let e = Gi(Wi.value.get(n));
|
|
1209
1213
|
e && t.add(e.id);
|
|
1210
1214
|
}
|
|
1211
1215
|
return t;
|
|
@@ -1222,39 +1226,39 @@ function Yi(e) {
|
|
|
1222
1226
|
};
|
|
1223
1227
|
}
|
|
1224
1228
|
// src/dxa/exhibition/CollectionResults.vue
|
|
1225
|
-
var
|
|
1229
|
+
var Zi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Qi = { class: "mwnf-dxa-gallery-results__info" }, $i = { class: "mwnf-dxa-gallery-results__choices" }, ea = {
|
|
1226
1230
|
key: 1,
|
|
1227
1231
|
class: "mwnf-dxa-gallery-results__end"
|
|
1228
|
-
},
|
|
1232
|
+
}, ta = ["aria-label", "aria-expanded"], na = ["viewBox"], ra = ["d"], ia = { class: "mwnf-dxa-exhibition-results__refine" }, aa = ["aria-label"], oa = ["viewBox"], sa = ["d"], ca = {
|
|
1229
1233
|
key: 1,
|
|
1230
1234
|
class: "mwnf-dxa-exhibition-results__themes"
|
|
1231
|
-
},
|
|
1235
|
+
}, la = { class: "mwnf-dxa-options-label" }, ua = { class: "mwnf-dxa-exhibition-results__theme-selects" }, da = [
|
|
1232
1236
|
"aria-label",
|
|
1233
1237
|
"value",
|
|
1234
1238
|
"disabled",
|
|
1235
1239
|
"onChange"
|
|
1236
|
-
],
|
|
1240
|
+
], fa = {
|
|
1237
1241
|
disabled: "",
|
|
1238
1242
|
value: ""
|
|
1239
|
-
},
|
|
1243
|
+
}, pa = { value: "all" }, ma = ["value"], ha = [
|
|
1240
1244
|
"aria-label",
|
|
1241
1245
|
"value",
|
|
1242
1246
|
"disabled",
|
|
1243
1247
|
"onChange"
|
|
1244
|
-
],
|
|
1248
|
+
], ga = {
|
|
1245
1249
|
disabled: "",
|
|
1246
1250
|
value: ""
|
|
1247
|
-
},
|
|
1251
|
+
}, _a = ["value"], va = [
|
|
1248
1252
|
"aria-label",
|
|
1249
1253
|
"disabled",
|
|
1250
1254
|
"onChange"
|
|
1251
|
-
],
|
|
1255
|
+
], ya = {
|
|
1252
1256
|
disabled: "",
|
|
1253
1257
|
value: ""
|
|
1254
|
-
},
|
|
1258
|
+
}, ba = { value: "all" }, xa = ["value"], Sa = { class: "mwnf-dxa-date-wrapper" }, Ca = {
|
|
1255
1259
|
__name: "CollectionResults",
|
|
1256
1260
|
setup(t) {
|
|
1257
|
-
let { t: n, locale: r } = q(), { themeOptions: o, subThemeOptions: s, scopeFor: c } =
|
|
1261
|
+
let { t: n, locale: r } = q(), { themeOptions: o, subThemeOptions: s, scopeFor: c } = Xi(r), l = {
|
|
1258
1262
|
viewBox: "0 0 512 512",
|
|
1259
1263
|
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"
|
|
1260
1264
|
}, u = {
|
|
@@ -1263,9 +1267,9 @@ var Xi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Zi =
|
|
|
1263
1267
|
}, d = typeof window < "u" && typeof window.matchMedia == "function" ? window.matchMedia("(max-width: 499px)") : null, f = R(!!d?.matches), p = (e) => {
|
|
1264
1268
|
f.value = e.matches;
|
|
1265
1269
|
};
|
|
1266
|
-
d?.addEventListener("change", p),
|
|
1270
|
+
d?.addEventListener("change", p), dt(() => d?.removeEventListener("change", p));
|
|
1267
1271
|
let m = R(!1), h = X();
|
|
1268
|
-
|
|
1272
|
+
bt(() => h.fullPath, () => {
|
|
1269
1273
|
m.value = !1;
|
|
1270
1274
|
});
|
|
1271
1275
|
let g = {
|
|
@@ -1274,11 +1278,11 @@ var Xi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Zi =
|
|
|
1274
1278
|
}, _ = ["type", "material"], v = {
|
|
1275
1279
|
"catalogue.era.ad": "exhibition.era.ad",
|
|
1276
1280
|
"catalogue.era.bc": "exhibition.era.bc"
|
|
1277
|
-
}, y = (e) => n(v[e] ?? e), ee = k(() => J(
|
|
1278
|
-
...
|
|
1279
|
-
...
|
|
1281
|
+
}, y = (e) => n(v[e] ?? e), ee = k(() => J(Oe.value ?? [], y)), te = k(() => Re.value.size), b = {
|
|
1282
|
+
...Fe,
|
|
1283
|
+
...Je,
|
|
1280
1284
|
keys: [
|
|
1281
|
-
...
|
|
1285
|
+
...Fe.keys,
|
|
1282
1286
|
"theme",
|
|
1283
1287
|
"subtheme"
|
|
1284
1288
|
],
|
|
@@ -1287,7 +1291,7 @@ var Xi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Zi =
|
|
|
1287
1291
|
return !n || n.has(e.id);
|
|
1288
1292
|
},
|
|
1289
1293
|
summary: () => [],
|
|
1290
|
-
record:
|
|
1294
|
+
record: Ae
|
|
1291
1295
|
}, x = (e) => b.keys.every((t) => !e[t]);
|
|
1292
1296
|
function ne(e) {
|
|
1293
1297
|
let t = o.value.find((t) => t.value === String(e.theme))?.label ?? e.theme, n = e.subtheme ? s(e.theme).find((t) => t.value === String(e.subtheme))?.label : "";
|
|
@@ -1313,13 +1317,13 @@ var Xi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Zi =
|
|
|
1313
1317
|
subtheme: n
|
|
1314
1318
|
});
|
|
1315
1319
|
}
|
|
1316
|
-
return (t, r) => (L(), M("div",
|
|
1320
|
+
return (t, r) => (L(), M("div", Zi, [F(E, {
|
|
1317
1321
|
spec: b,
|
|
1318
1322
|
class: "mwnf-dxa-collection-results"
|
|
1319
1323
|
}, {
|
|
1320
1324
|
before: H(({ filters: r, options: i, matching: a, pageInfo: o }) => [
|
|
1321
1325
|
F(e),
|
|
1322
|
-
N("div",
|
|
1326
|
+
N("div", Qi, [N("p", null, [P(B(V(n)("exhibition.collection.heading")) + " | ", 1), N("span", $i, B(re(r, i, a)), 1)]), N("p", null, B(o.total) + " " + B(V(n)("exhibition.collection.resultsOutOf")) + " " + B(te.value) + " " + B(V(n)("exhibition.collection.items")), 1)]),
|
|
1323
1327
|
F(Q, {
|
|
1324
1328
|
class: "mwnf-dxa-exhibition-pages--top",
|
|
1325
1329
|
"page-info": o,
|
|
@@ -1340,7 +1344,7 @@ var Xi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Zi =
|
|
|
1340
1344
|
key: 0,
|
|
1341
1345
|
"page-info": e,
|
|
1342
1346
|
onNavigate: t
|
|
1343
|
-
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div",
|
|
1347
|
+
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div", ea))]),
|
|
1344
1348
|
aside: H(({ filters: e, apply: t, reset: c, matching: d, options: p }) => [f.value ? (L(), M("button", {
|
|
1345
1349
|
key: 0,
|
|
1346
1350
|
type: "button",
|
|
@@ -1352,7 +1356,7 @@ var Xi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Zi =
|
|
|
1352
1356
|
viewBox: l.viewBox,
|
|
1353
1357
|
"aria-hidden": "true",
|
|
1354
1358
|
focusable: "false"
|
|
1355
|
-
}, [N("path", { d: l.path }, null, 8,
|
|
1359
|
+
}, [N("path", { d: l.path }, null, 8, ra)], 8, na))], 8, ta)) : j("", !0), U(N("div", ia, [
|
|
1356
1360
|
f.value && m.value ? (L(), M("button", {
|
|
1357
1361
|
key: 0,
|
|
1358
1362
|
type: "button",
|
|
@@ -1363,31 +1367,31 @@ var Xi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Zi =
|
|
|
1363
1367
|
viewBox: u.viewBox,
|
|
1364
1368
|
"aria-hidden": "true",
|
|
1365
1369
|
focusable: "false"
|
|
1366
|
-
}, [N("path", { d: u.path }, null, 8,
|
|
1367
|
-
x(e) ? j("", !0) : (L(), M("div",
|
|
1370
|
+
}, [N("path", { d: u.path }, null, 8, sa)], 8, oa))], 8, aa)) : j("", !0),
|
|
1371
|
+
x(e) ? j("", !0) : (L(), M("div", ca, [N("div", la, B(V(n)("exhibition.collection.filterByTheme")), 1), N("div", ua, [N("select", {
|
|
1368
1372
|
class: "mwnf-facet__select",
|
|
1369
1373
|
"aria-label": V(n)("exhibition.collection.selectTheme"),
|
|
1370
1374
|
value: e.theme || "",
|
|
1371
1375
|
disabled: !d.length,
|
|
1372
1376
|
onChange: (e) => ie(t, c, e.target.value)
|
|
1373
1377
|
}, [
|
|
1374
|
-
N("option",
|
|
1375
|
-
N("option",
|
|
1378
|
+
N("option", fa, B(V(n)("exhibition.collection.selectTheme")), 1),
|
|
1379
|
+
N("option", pa, B(V(n)("exhibition.collection.allThemes")), 1),
|
|
1376
1380
|
(L(!0), M(O, null, z(V(o), (e) => (L(), M("option", {
|
|
1377
1381
|
key: e.value,
|
|
1378
1382
|
value: e.value
|
|
1379
|
-
}, B(e.label), 9,
|
|
1380
|
-
], 40,
|
|
1383
|
+
}, B(e.label), 9, ma))), 128))
|
|
1384
|
+
], 40, da), e.theme && V(s)(e.theme).length ? (L(), M("select", {
|
|
1381
1385
|
key: 0,
|
|
1382
1386
|
class: "mwnf-facet__select",
|
|
1383
1387
|
"aria-label": V(n)("exhibition.themeGallery.select"),
|
|
1384
1388
|
value: e.subtheme || "",
|
|
1385
1389
|
disabled: !d.length,
|
|
1386
1390
|
onChange: (n) => ae(t, e, n.target.value)
|
|
1387
|
-
}, [N("option",
|
|
1391
|
+
}, [N("option", ga, B(V(n)("exhibition.themeGallery.select")), 1), (L(!0), M(O, null, z(V(s)(e.theme), (e) => (L(), M("option", {
|
|
1388
1392
|
key: e.value,
|
|
1389
1393
|
value: e.value
|
|
1390
|
-
}, B(e.label), 9,
|
|
1394
|
+
}, B(e.label), 9, _a))), 128))], 40, ha)) : j("", !0)])])),
|
|
1391
1395
|
F(a, {
|
|
1392
1396
|
mode: "immediate",
|
|
1393
1397
|
title: x(e) ? V(n)("exhibition.collection.filterBy") : V(n)("exhibition.collection.filterFurtherBy"),
|
|
@@ -1404,13 +1408,13 @@ var Xi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Zi =
|
|
|
1404
1408
|
disabled: !d.length,
|
|
1405
1409
|
onChange: (e) => ie(t, c, e.target.value)
|
|
1406
1410
|
}, [
|
|
1407
|
-
N("option",
|
|
1408
|
-
N("option",
|
|
1411
|
+
N("option", ya, B(V(n)("exhibition.collection.selectTheme")), 1),
|
|
1412
|
+
N("option", ba, B(V(n)("exhibition.collection.allThemes")), 1),
|
|
1409
1413
|
(L(!0), M(O, null, z(V(o), (e) => (L(), M("option", {
|
|
1410
1414
|
key: e.value,
|
|
1411
1415
|
value: e.value
|
|
1412
|
-
}, B(e.label), 9,
|
|
1413
|
-
], 40,
|
|
1416
|
+
}, B(e.label), 9, xa))), 128))
|
|
1417
|
+
], 40, va)) : j("", !0),
|
|
1414
1418
|
F(i, {
|
|
1415
1419
|
"model-value": e.country,
|
|
1416
1420
|
options: p.country,
|
|
@@ -1435,7 +1439,7 @@ var Xi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Zi =
|
|
|
1435
1439
|
"placeholder",
|
|
1436
1440
|
"onUpdate:modelValue"
|
|
1437
1441
|
])), 64)),
|
|
1438
|
-
N("div",
|
|
1442
|
+
N("div", Sa, [F(i, {
|
|
1439
1443
|
"model-value": e.from,
|
|
1440
1444
|
options: V(J)(d, y),
|
|
1441
1445
|
placeholder: V(n)("exhibition.collection.startDate"),
|
|
@@ -1464,30 +1468,30 @@ var Xi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Zi =
|
|
|
1464
1468
|
"disabled",
|
|
1465
1469
|
"onReset"
|
|
1466
1470
|
])
|
|
1467
|
-
], 512), [[
|
|
1471
|
+
], 512), [[yt, !f.value || m.value]])]),
|
|
1468
1472
|
_: 1
|
|
1469
1473
|
})]));
|
|
1470
1474
|
}
|
|
1471
|
-
},
|
|
1475
|
+
}, wa = { class: "mwnf-dxa-exhibition-collection" }, Ta = { class: "mwnf-dxa-exhibition-collection__dropdowns" }, Ea = { class: "mwnf-dxa-exhibition-collection__label" }, Da = { class: "mwnf-dxa-exhibition-collection__selects" }, Oa = ["aria-label"], ka = {
|
|
1472
1476
|
selected: "",
|
|
1473
1477
|
disabled: "",
|
|
1474
1478
|
value: ""
|
|
1475
|
-
},
|
|
1479
|
+
}, Aa = { value: "all" }, ja = ["value"], Ma = ["aria-label", "onChange"], Na = {
|
|
1476
1480
|
selected: "",
|
|
1477
1481
|
disabled: "",
|
|
1478
1482
|
value: ""
|
|
1479
|
-
},
|
|
1483
|
+
}, Pa = ["value"], Fa = { class: "mwnf-dxa-exhibition-collection__dates" }, Ia = ["aria-label"], La = {
|
|
1480
1484
|
selected: "",
|
|
1481
1485
|
disabled: "",
|
|
1482
1486
|
value: ""
|
|
1483
|
-
},
|
|
1487
|
+
}, Ra = ["value"], za = ["aria-label"], Ba = {
|
|
1484
1488
|
selected: "",
|
|
1485
1489
|
disabled: "",
|
|
1486
1490
|
value: ""
|
|
1487
|
-
},
|
|
1491
|
+
}, Va = ["value"], Ha = {
|
|
1488
1492
|
__name: "CollectionSearch",
|
|
1489
1493
|
setup(e) {
|
|
1490
|
-
let t =
|
|
1494
|
+
let t = Rt(), { t: n, locale: r } = q(), { themeOptions: i } = Xi(r), a = Mt(Oe, We), o = k(() => [
|
|
1491
1495
|
{
|
|
1492
1496
|
key: "country",
|
|
1493
1497
|
name: "exhibition.collection.selectCountry",
|
|
@@ -1506,66 +1510,66 @@ var Xi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Zi =
|
|
|
1506
1510
|
]), s = {
|
|
1507
1511
|
"catalogue.era.ad": "exhibition.era.ad",
|
|
1508
1512
|
"catalogue.era.bc": "exhibition.era.bc"
|
|
1509
|
-
}, c = (e) => n(s[e] ?? e), l = k(() => J(
|
|
1513
|
+
}, c = (e) => n(s[e] ?? e), l = k(() => J(Oe.value ?? [], c));
|
|
1510
1514
|
function u(e, n) {
|
|
1511
1515
|
n !== "" && n != null && (n === "all" ? t.push({ name: "collection-results" }) : t.push({
|
|
1512
1516
|
name: "collection-results",
|
|
1513
1517
|
query: { [e]: String(n) }
|
|
1514
1518
|
}));
|
|
1515
1519
|
}
|
|
1516
|
-
return (e, t) => (L(), M("div",
|
|
1520
|
+
return (e, t) => (L(), M("div", wa, [N("div", Ta, [N("div", Ea, B(V(n)("exhibition.collection.filterBy")), 1), N("div", Da, [
|
|
1517
1521
|
N("select", {
|
|
1518
1522
|
class: "mwnf-dxa-exhibition-collection__select",
|
|
1519
1523
|
"aria-label": V(n)("exhibition.collection.selectTheme"),
|
|
1520
1524
|
onChange: t[0] ||= (e) => u("theme", e.target.value)
|
|
1521
1525
|
}, [
|
|
1522
|
-
N("option",
|
|
1523
|
-
N("option",
|
|
1526
|
+
N("option", ka, B(V(n)("exhibition.collection.selectTheme")), 1),
|
|
1527
|
+
N("option", Aa, B(V(n)("exhibition.collection.allThemes")), 1),
|
|
1524
1528
|
(L(!0), M(O, null, z(V(i), (e) => (L(), M("option", {
|
|
1525
1529
|
key: e.value,
|
|
1526
1530
|
value: e.value
|
|
1527
|
-
}, B(e.label), 9,
|
|
1528
|
-
], 40,
|
|
1531
|
+
}, B(e.label), 9, ja))), 128))
|
|
1532
|
+
], 40, Oa),
|
|
1529
1533
|
(L(!0), M(O, null, z(o.value, (e) => (L(), M("select", {
|
|
1530
1534
|
key: e.key,
|
|
1531
1535
|
class: "mwnf-dxa-exhibition-collection__select",
|
|
1532
1536
|
"aria-label": V(n)(e.name),
|
|
1533
1537
|
onChange: (t) => u(e.key, t.target.value)
|
|
1534
|
-
}, [N("option",
|
|
1538
|
+
}, [N("option", Na, B(V(n)(e.name)), 1), (L(!0), M(O, null, z(e.options, (e) => (L(), M("option", {
|
|
1535
1539
|
key: e.value,
|
|
1536
1540
|
value: String(e.value)
|
|
1537
|
-
}, B(e.label), 9,
|
|
1538
|
-
N("div",
|
|
1541
|
+
}, B(e.label), 9, Pa))), 128))], 40, Ma))), 128)),
|
|
1542
|
+
N("div", Fa, [N("select", {
|
|
1539
1543
|
class: "mwnf-dxa-exhibition-collection__select",
|
|
1540
1544
|
"aria-label": V(n)("exhibition.collection.startDate"),
|
|
1541
1545
|
onChange: t[1] ||= (e) => u("from", e.target.value)
|
|
1542
|
-
}, [N("option",
|
|
1546
|
+
}, [N("option", La, B(V(n)("exhibition.collection.startDate")), 1), (L(!0), M(O, null, z(l.value, (e) => (L(), M("option", {
|
|
1543
1547
|
key: e.value,
|
|
1544
1548
|
value: String(e.value)
|
|
1545
|
-
}, B(e.label), 9,
|
|
1549
|
+
}, B(e.label), 9, Ra))), 128))], 40, Ia), N("select", {
|
|
1546
1550
|
class: "mwnf-dxa-exhibition-collection__select",
|
|
1547
1551
|
"aria-label": V(n)("exhibition.collection.endDate"),
|
|
1548
1552
|
onChange: t[2] ||= (e) => u("to", e.target.value)
|
|
1549
|
-
}, [N("option",
|
|
1553
|
+
}, [N("option", Ba, B(V(n)("exhibition.collection.endDate")), 1), (L(!0), M(O, null, z(l.value, (e) => (L(), M("option", {
|
|
1550
1554
|
key: e.value,
|
|
1551
1555
|
value: String(e.value)
|
|
1552
|
-
}, B(e.label), 9,
|
|
1556
|
+
}, B(e.label), 9, Va))), 128))], 40, za)])
|
|
1553
1557
|
])]), F(V(W), {
|
|
1554
1558
|
class: "mwnf-dxa-exhibition-collection__description mwnf-prose",
|
|
1555
1559
|
dir: "auto",
|
|
1556
1560
|
keypath: "exhibition.collection.intro"
|
|
1557
1561
|
})]));
|
|
1558
1562
|
}
|
|
1559
|
-
},
|
|
1563
|
+
}, Ua = {
|
|
1560
1564
|
key: 0,
|
|
1561
1565
|
class: "mwnf-dxa-exhibition-partner-objects"
|
|
1562
|
-
},
|
|
1566
|
+
}, Wa = {
|
|
1563
1567
|
key: 0,
|
|
1564
1568
|
class: "mwnf-dxa-exhibition-partner-objects__header"
|
|
1565
|
-
},
|
|
1569
|
+
}, Ga = { class: "mwnf-dxa-exhibition-partner-objects__name" }, Ka = { class: "mwnf-dxa-exhibition-partner-objects__place" }, qa = { class: "mwnf-dxa-exhibition-partner-objects__content" }, Ja = { class: "mwnf-dxa-exhibition-partner-objects__grid" }, Ya = { class: "mwnf-dxa-exhibition-partner-objects__profile" }, Xa = {
|
|
1566
1570
|
key: 1,
|
|
1567
1571
|
class: "mwnf-dxa-exhibition-partner-objects__end"
|
|
1568
|
-
},
|
|
1572
|
+
}, Za = {
|
|
1569
1573
|
__name: "PartnerObjects",
|
|
1570
1574
|
props: {
|
|
1571
1575
|
variant: {
|
|
@@ -1578,43 +1582,43 @@ var Xi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Zi =
|
|
|
1578
1582
|
}
|
|
1579
1583
|
},
|
|
1580
1584
|
setup(t) {
|
|
1581
|
-
let n = t, r = k(() => n.variant === "institution"), i = X(), a = k(() =>
|
|
1585
|
+
let n = t, r = k(() => n.variant === "institution"), i = X(), a = k(() => Ce(i.params.id)), o = k(() => ({
|
|
1582
1586
|
entity: "items",
|
|
1583
1587
|
scope: (e) => e.partner_id === a.value?.id,
|
|
1584
|
-
...
|
|
1588
|
+
...Je,
|
|
1585
1589
|
summary: () => [],
|
|
1586
|
-
record:
|
|
1590
|
+
record: Ae
|
|
1587
1591
|
}));
|
|
1588
1592
|
function s(e) {
|
|
1589
1593
|
let t = e[0];
|
|
1590
1594
|
if (!t) return null;
|
|
1591
|
-
let n =
|
|
1595
|
+
let n = S("items", t.id, Ue);
|
|
1592
1596
|
return {
|
|
1593
1597
|
name: T("partners", a.value?.id),
|
|
1594
1598
|
place: [n.location, T("countries", t.country_id)].filter(Boolean).join(", ")
|
|
1595
1599
|
};
|
|
1596
1600
|
}
|
|
1597
|
-
return (n, i) => a.value ? (L(), M("div",
|
|
1601
|
+
return (n, i) => a.value ? (L(), M("div", Ua, [F(E, {
|
|
1598
1602
|
spec: o.value,
|
|
1599
1603
|
class: "mwnf-dxa-partner-objects"
|
|
1600
1604
|
}, {
|
|
1601
1605
|
before: H(({ matching: t, pageInfo: n, goToPage: r }) => [
|
|
1602
1606
|
F(e),
|
|
1603
|
-
s(t) ? (L(), M("div",
|
|
1607
|
+
s(t) ? (L(), M("div", Wa, [N("p", Ga, B(s(t).name), 1), N("p", Ka, B(s(t).place), 1)])) : j("", !0),
|
|
1604
1608
|
F(Q, {
|
|
1605
1609
|
class: "mwnf-dxa-exhibition-pages--top",
|
|
1606
1610
|
"page-info": n,
|
|
1607
1611
|
onNavigate: r
|
|
1608
1612
|
}, null, 8, ["page-info", "onNavigate"])
|
|
1609
1613
|
]),
|
|
1610
|
-
records: H(({ rows: e }) => [N("div",
|
|
1614
|
+
records: H(({ rows: e }) => [N("div", qa, [N("div", Ja, [e.length ? (L(), A($, {
|
|
1611
1615
|
key: 0,
|
|
1612
1616
|
rows: e,
|
|
1613
1617
|
family: "exhibition"
|
|
1614
1618
|
}, null, 8, ["rows"])) : (L(), A(V(W), {
|
|
1615
1619
|
key: 1,
|
|
1616
1620
|
keypath: r.value ? t.texts.emptyInstitution : t.texts.emptyPartner
|
|
1617
|
-
}, null, 8, ["keypath"]))]), N("div",
|
|
1621
|
+
}, null, 8, ["keypath"]))]), N("div", Ya, [F(V(Y), { to: V(xe)(a.value) }, {
|
|
1618
1622
|
default: H(() => [i[0] ||= N("span", { "aria-hidden": "true" }, "➦", -1), P(" " + B(n.$t(r.value ? t.texts.institutionProfileLabel : t.texts.partnerProfileLabel)), 1)]),
|
|
1619
1623
|
_: 1
|
|
1620
1624
|
}, 8, ["to"])])])]),
|
|
@@ -1623,19 +1627,19 @@ var Xi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Zi =
|
|
|
1623
1627
|
key: 0,
|
|
1624
1628
|
"page-info": e,
|
|
1625
1629
|
onNavigate: t
|
|
1626
|
-
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div",
|
|
1630
|
+
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div", Xa))]),
|
|
1627
1631
|
_: 1
|
|
1628
1632
|
}, 8, ["spec"])])) : j("", !0);
|
|
1629
1633
|
}
|
|
1630
|
-
},
|
|
1634
|
+
}, Qa = () => Promise.resolve().then(() => us), $a = () => Promise.resolve().then(() => ys), eo = () => Promise.resolve().then(() => xs), to = () => Promise.resolve().then(() => Ls), no = () => Promise.resolve().then(() => Bs), ro = () => Promise.resolve().then(() => Us), io = () => import("./Theme-BCn6_VkI.js").then((e) => e.t), ao = () => Promise.resolve().then(() => sc), oo = () => Promise.resolve().then(() => Ec), so = () => Promise.resolve().then(() => Oc), co = () => Promise.resolve().then(() => Wc), lo = {
|
|
1631
1635
|
emptyPartner: "exhibition.partnerObjects.emptyPartner",
|
|
1632
1636
|
emptyInstitution: "exhibition.partnerObjects.emptyInstitution",
|
|
1633
1637
|
institutionSummary: "exhibition.partner.monumentsInExhibition",
|
|
1634
1638
|
partnerProfileLabel: "partner.action.partnerProfile",
|
|
1635
1639
|
institutionProfileLabel: "exhibition.partnerObjects.institutionProfile"
|
|
1636
1640
|
};
|
|
1637
|
-
function
|
|
1638
|
-
let t =
|
|
1641
|
+
function uo(e) {
|
|
1642
|
+
let t = At([
|
|
1639
1643
|
"gallery",
|
|
1640
1644
|
"items",
|
|
1641
1645
|
"partners",
|
|
@@ -1646,45 +1650,45 @@ function lo(e) {
|
|
|
1646
1650
|
{
|
|
1647
1651
|
path: "/",
|
|
1648
1652
|
name: "home",
|
|
1649
|
-
component:
|
|
1653
|
+
component: Qa,
|
|
1650
1654
|
meta: t("home")
|
|
1651
1655
|
},
|
|
1652
1656
|
{
|
|
1653
1657
|
path: "/item/:id",
|
|
1654
1658
|
name: "item",
|
|
1655
|
-
component:
|
|
1659
|
+
component: $a,
|
|
1656
1660
|
props: (e) => ({ id: String(e.params.id) }),
|
|
1657
1661
|
meta: t("database", "languages", "dynasties", "glossary", "timelines", "timeline_events")
|
|
1658
1662
|
},
|
|
1659
1663
|
{
|
|
1660
1664
|
path: "/timeline",
|
|
1661
1665
|
name: "timeline",
|
|
1662
|
-
component:
|
|
1666
|
+
component: eo,
|
|
1663
1667
|
meta: t("timeline", "timelines", "timeline_events")
|
|
1664
1668
|
}
|
|
1665
1669
|
] : [],
|
|
1666
1670
|
{
|
|
1667
1671
|
path: "/search",
|
|
1668
1672
|
name: "search-results",
|
|
1669
|
-
component:
|
|
1673
|
+
component: Bn,
|
|
1670
1674
|
meta: t("database")
|
|
1671
1675
|
},
|
|
1672
1676
|
{
|
|
1673
1677
|
path: "/how-to-search",
|
|
1674
1678
|
name: "search-how-to",
|
|
1675
|
-
component:
|
|
1679
|
+
component: Yt,
|
|
1676
1680
|
meta: t("database")
|
|
1677
1681
|
},
|
|
1678
1682
|
{
|
|
1679
1683
|
path: "/partners",
|
|
1680
1684
|
name: "partners",
|
|
1681
|
-
component:
|
|
1685
|
+
component: hn,
|
|
1682
1686
|
meta: t("partners")
|
|
1683
1687
|
},
|
|
1684
1688
|
{
|
|
1685
1689
|
path: "/partner/:id",
|
|
1686
1690
|
name: "partner",
|
|
1687
|
-
component:
|
|
1691
|
+
component: Ut,
|
|
1688
1692
|
props: (e) => ({
|
|
1689
1693
|
id: String(e.params.id),
|
|
1690
1694
|
family: _e
|
|
@@ -1694,56 +1698,56 @@ function lo(e) {
|
|
|
1694
1698
|
{
|
|
1695
1699
|
path: "/partner/:id/objects",
|
|
1696
1700
|
name: "partner-objects",
|
|
1697
|
-
component:
|
|
1701
|
+
component: xr,
|
|
1698
1702
|
meta: t("partners")
|
|
1699
1703
|
},
|
|
1700
1704
|
{
|
|
1701
1705
|
path: "/timeline-results",
|
|
1702
1706
|
name: "timeline-results",
|
|
1703
|
-
component:
|
|
1707
|
+
component: Vn,
|
|
1704
1708
|
meta: t("timeline", "timelines", "timeline_events")
|
|
1705
1709
|
},
|
|
1706
1710
|
{
|
|
1707
1711
|
path: "/timeline/gallery",
|
|
1708
1712
|
name: "timeline-gallery",
|
|
1709
|
-
component:
|
|
1713
|
+
component: Wn,
|
|
1710
1714
|
meta: t("timeline", "timelines", "timeline_events")
|
|
1711
1715
|
},
|
|
1712
1716
|
{
|
|
1713
1717
|
path: "/about",
|
|
1714
1718
|
name: "about",
|
|
1715
|
-
component:
|
|
1719
|
+
component: Gt,
|
|
1716
1720
|
meta: t("about")
|
|
1717
1721
|
},
|
|
1718
1722
|
{
|
|
1719
1723
|
path: "/credits",
|
|
1720
1724
|
name: "credits",
|
|
1721
|
-
component:
|
|
1725
|
+
component: Kt,
|
|
1722
1726
|
props: { bodyKey: n },
|
|
1723
1727
|
meta: t("credits")
|
|
1724
1728
|
},
|
|
1725
1729
|
{
|
|
1726
1730
|
path: "/collection",
|
|
1727
1731
|
name: "collection",
|
|
1728
|
-
component:
|
|
1732
|
+
component: hr,
|
|
1729
1733
|
meta: t("collection", "tags")
|
|
1730
1734
|
},
|
|
1731
1735
|
{
|
|
1732
1736
|
path: "/collection-results",
|
|
1733
1737
|
name: "collection-results",
|
|
1734
|
-
component:
|
|
1738
|
+
component: $n,
|
|
1735
1739
|
meta: t("collection", "tags", "timelines")
|
|
1736
1740
|
}
|
|
1737
1741
|
];
|
|
1738
1742
|
}
|
|
1739
|
-
function
|
|
1740
|
-
let t =
|
|
1743
|
+
function fo(e) {
|
|
1744
|
+
let t = At([
|
|
1741
1745
|
"exhibition",
|
|
1742
1746
|
"items",
|
|
1743
1747
|
"partners",
|
|
1744
1748
|
"countries"
|
|
1745
1749
|
]), n = {
|
|
1746
|
-
...
|
|
1750
|
+
...lo,
|
|
1747
1751
|
...e.partnerObjects
|
|
1748
1752
|
};
|
|
1749
1753
|
return [
|
|
@@ -1751,56 +1755,56 @@ function uo(e) {
|
|
|
1751
1755
|
{
|
|
1752
1756
|
path: "/",
|
|
1753
1757
|
name: "home",
|
|
1754
|
-
component:
|
|
1758
|
+
component: to,
|
|
1755
1759
|
meta: t("home")
|
|
1756
1760
|
},
|
|
1757
1761
|
{
|
|
1758
1762
|
path: "/about",
|
|
1759
1763
|
name: "about",
|
|
1760
|
-
component:
|
|
1764
|
+
component: no,
|
|
1761
1765
|
meta: t("about", "themes", "glossary", "dynasties")
|
|
1762
1766
|
},
|
|
1763
1767
|
{
|
|
1764
1768
|
path: "/themes",
|
|
1765
1769
|
name: "themes",
|
|
1766
|
-
component:
|
|
1770
|
+
component: ro,
|
|
1767
1771
|
meta: t("themes", "themes")
|
|
1768
1772
|
},
|
|
1769
1773
|
{
|
|
1770
1774
|
path: "/theme/:id/:subtheme?/:image?",
|
|
1771
1775
|
name: "theme",
|
|
1772
|
-
component:
|
|
1776
|
+
component: io,
|
|
1773
1777
|
meta: t("themes", "themes", "glossary", "dynasties")
|
|
1774
1778
|
},
|
|
1775
1779
|
{
|
|
1776
1780
|
path: "/theme-gallery/:id/:subtheme?",
|
|
1777
1781
|
name: "theme-gallery",
|
|
1778
|
-
component:
|
|
1782
|
+
component: ao,
|
|
1779
1783
|
meta: t("themes", "themes")
|
|
1780
1784
|
},
|
|
1781
1785
|
{
|
|
1782
1786
|
path: "/item/:id",
|
|
1783
1787
|
name: "item",
|
|
1784
|
-
component:
|
|
1788
|
+
component: oo,
|
|
1785
1789
|
props: (e) => ({ id: String(e.params.id) }),
|
|
1786
1790
|
meta: t("database", "languages", "dynasties", "glossary", "timelines", "timeline_events")
|
|
1787
1791
|
},
|
|
1788
1792
|
{
|
|
1789
1793
|
path: "/related",
|
|
1790
1794
|
name: "related",
|
|
1791
|
-
component:
|
|
1795
|
+
component: so,
|
|
1792
1796
|
meta: t("related", "related_content")
|
|
1793
1797
|
},
|
|
1794
1798
|
{
|
|
1795
1799
|
path: "/timeline",
|
|
1796
1800
|
name: "timeline",
|
|
1797
|
-
component:
|
|
1801
|
+
component: co,
|
|
1798
1802
|
meta: t("timeline", "timelines", "timeline_events")
|
|
1799
1803
|
},
|
|
1800
1804
|
...e.creditsBody ? [{
|
|
1801
1805
|
path: "/credits",
|
|
1802
1806
|
name: "credits",
|
|
1803
|
-
component:
|
|
1807
|
+
component: Jt,
|
|
1804
1808
|
props: { bodyKey: e.creditsBody },
|
|
1805
1809
|
meta: t("credits")
|
|
1806
1810
|
}] : []
|
|
@@ -1808,45 +1812,45 @@ function uo(e) {
|
|
|
1808
1812
|
{
|
|
1809
1813
|
path: "/search",
|
|
1810
1814
|
name: "search-results",
|
|
1811
|
-
component:
|
|
1815
|
+
component: oi,
|
|
1812
1816
|
meta: t("database")
|
|
1813
1817
|
},
|
|
1814
1818
|
{
|
|
1815
1819
|
path: "/how-to-search",
|
|
1816
1820
|
name: "search-how-to",
|
|
1817
|
-
component:
|
|
1821
|
+
component: Cr,
|
|
1818
1822
|
meta: t("database")
|
|
1819
1823
|
},
|
|
1820
1824
|
{
|
|
1821
1825
|
path: "/partners",
|
|
1822
1826
|
name: "partners",
|
|
1823
|
-
component:
|
|
1827
|
+
component: Lr,
|
|
1824
1828
|
meta: t("partners")
|
|
1825
1829
|
},
|
|
1826
1830
|
{
|
|
1827
1831
|
path: "/partner/:id",
|
|
1828
1832
|
name: "partner",
|
|
1829
|
-
component:
|
|
1833
|
+
component: Ut,
|
|
1830
1834
|
props: (e) => ({
|
|
1831
1835
|
id: String(e.params.id),
|
|
1832
|
-
family:
|
|
1836
|
+
family: be
|
|
1833
1837
|
}),
|
|
1834
1838
|
meta: t("partners", "languages")
|
|
1835
1839
|
},
|
|
1836
1840
|
{
|
|
1837
1841
|
path: "/partner/:id/objects",
|
|
1838
1842
|
name: "partner-objects",
|
|
1839
|
-
component:
|
|
1843
|
+
component: Za,
|
|
1840
1844
|
props: { texts: n },
|
|
1841
1845
|
meta: t("partners")
|
|
1842
1846
|
},
|
|
1843
1847
|
{
|
|
1844
1848
|
path: "/institution/:id",
|
|
1845
1849
|
name: "institution",
|
|
1846
|
-
component:
|
|
1850
|
+
component: Ut,
|
|
1847
1851
|
props: (e) => ({
|
|
1848
1852
|
id: String(e.params.id),
|
|
1849
|
-
family:
|
|
1853
|
+
family: be,
|
|
1850
1854
|
variant: "institution"
|
|
1851
1855
|
}),
|
|
1852
1856
|
meta: t("partners", "languages")
|
|
@@ -1854,7 +1858,7 @@ function uo(e) {
|
|
|
1854
1858
|
{
|
|
1855
1859
|
path: "/institution/:id/monuments",
|
|
1856
1860
|
name: "institution-monuments",
|
|
1857
|
-
component:
|
|
1861
|
+
component: Za,
|
|
1858
1862
|
props: {
|
|
1859
1863
|
variant: "institution",
|
|
1860
1864
|
texts: n
|
|
@@ -1864,36 +1868,36 @@ function uo(e) {
|
|
|
1864
1868
|
{
|
|
1865
1869
|
path: "/timeline-results",
|
|
1866
1870
|
name: "timeline-results",
|
|
1867
|
-
component:
|
|
1871
|
+
component: Pi,
|
|
1868
1872
|
meta: t("timeline", "timelines", "timeline_events")
|
|
1869
1873
|
},
|
|
1870
1874
|
{
|
|
1871
1875
|
path: "/timeline/gallery",
|
|
1872
1876
|
name: "timeline-gallery",
|
|
1873
|
-
component:
|
|
1877
|
+
component: Vi,
|
|
1874
1878
|
meta: t("timeline", "timelines", "timeline_events")
|
|
1875
1879
|
},
|
|
1876
1880
|
{
|
|
1877
1881
|
path: "/collection",
|
|
1878
1882
|
name: "collection",
|
|
1879
|
-
component:
|
|
1883
|
+
component: Ha,
|
|
1880
1884
|
meta: t("collection", "tags", "themes")
|
|
1881
1885
|
},
|
|
1882
1886
|
{
|
|
1883
1887
|
path: "/collection-results",
|
|
1884
1888
|
name: "collection-results",
|
|
1885
|
-
component:
|
|
1889
|
+
component: Ca,
|
|
1886
1890
|
meta: t("collection", "tags", "timelines", "themes")
|
|
1887
1891
|
}
|
|
1888
1892
|
];
|
|
1889
1893
|
}
|
|
1890
|
-
function
|
|
1891
|
-
if (e === "gallery") return
|
|
1892
|
-
if (e === "exhibition") return
|
|
1894
|
+
function po(e, t = {}) {
|
|
1895
|
+
if (e === "gallery") return uo(t);
|
|
1896
|
+
if (e === "exhibition") return fo(t);
|
|
1893
1897
|
throw Error(`standardRoutes: unknown family "${e}" (expected "gallery" or "exhibition")`);
|
|
1894
1898
|
}
|
|
1895
1899
|
// node_modules/@museumwnf/viewer-core/src/legacy/index.js
|
|
1896
|
-
function
|
|
1900
|
+
function mo(e, t = []) {
|
|
1897
1901
|
let n = String(e?.backward_compatibility ?? "").split(":");
|
|
1898
1902
|
if (n[0] === "mwnf3_sharing_history") {
|
|
1899
1903
|
let t = n[2] ?? e?.id ?? "";
|
|
@@ -1912,18 +1916,18 @@ function po(e, t = []) {
|
|
|
1912
1916
|
countryCode: r?.code ?? ""
|
|
1913
1917
|
};
|
|
1914
1918
|
}
|
|
1915
|
-
function
|
|
1919
|
+
function ho(e, t, n, r) {
|
|
1916
1920
|
return (e ?? []).find((e) => {
|
|
1917
|
-
let i =
|
|
1921
|
+
let i = mo(e, t);
|
|
1918
1922
|
return i.legacyId === r && i.countryCode === n;
|
|
1919
1923
|
}) ?? null;
|
|
1920
1924
|
}
|
|
1921
|
-
function
|
|
1925
|
+
function go(e, t) {
|
|
1922
1926
|
let n = String(t ?? "").split("/").join(":").toLowerCase();
|
|
1923
1927
|
return (e ?? []).find((e) => e?.backward_compatibility?.toLowerCase() === n) ?? null;
|
|
1924
1928
|
}
|
|
1925
1929
|
// src/dxa/gallery/Shell.vue
|
|
1926
|
-
var
|
|
1930
|
+
var _o = {
|
|
1927
1931
|
__name: "Shell",
|
|
1928
1932
|
props: {
|
|
1929
1933
|
language: {
|
|
@@ -1937,7 +1941,7 @@ var go = {
|
|
|
1937
1941
|
},
|
|
1938
1942
|
emits: ["update:language"],
|
|
1939
1943
|
setup(e, { emit: t }) {
|
|
1940
|
-
let n = e, r = t, { t: i, locale: a } = q(), o =
|
|
1944
|
+
let n = e, r = t, { t: i, locale: a } = q(), o = Ft(), s = k(() => o.links ?? {}), c = k(() => o.galleryShell ?? {}), l = Pt(), u = k(() => l.value === "home"), d = (/* @__PURE__ */ new Date()).getFullYear();
|
|
1941
1945
|
function f(e) {
|
|
1942
1946
|
return e?.[a.value] ?? e?.en ?? "";
|
|
1943
1947
|
}
|
|
@@ -1947,7 +1951,7 @@ var go = {
|
|
|
1947
1951
|
let n = c.value[e];
|
|
1948
1952
|
return n ? i(n) : "";
|
|
1949
1953
|
}
|
|
1950
|
-
let g = k(() => u.value ? "" : h("headerEyebrow", () => i("core.project.galleries"))), v = k(() => u.value ? "" : h("headerTitle", () => m.value)), y = k(() => c.value.bannerImage ?
|
|
1954
|
+
let g = k(() => u.value ? "" : h("headerEyebrow", () => i("core.project.galleries"))), v = k(() => u.value ? "" : h("headerTitle", () => m.value)), y = k(() => c.value.bannerImage ? et(o.chrome, c.value.bannerImage) : re(me.value?.banner_image_path, "hi_res")), b = k(() => {
|
|
1951
1955
|
if (c.value.bannerCaption) return c.value.bannerCaption;
|
|
1952
1956
|
let e = ue.value.get(me.value?.banner_item_id);
|
|
1953
1957
|
if (!e) return "";
|
|
@@ -1961,8 +1965,8 @@ var go = {
|
|
|
1961
1965
|
}), x = k(() => u.value ? h("bannerEyebrow", () => i("gallery.banner.discoverGalleries")) : ""), ne = k(() => u.value ? h("bannerTitle", () => m.value) : void 0), ie = k(() => c.value.notice === !1 ? null : {
|
|
1962
1966
|
title: i("gallery.notice.tip"),
|
|
1963
1967
|
text: `${i("gallery.notice.searchThe")} ${te(ee)} ${i("gallery.notice.database")}`
|
|
1964
|
-
}), ae = k(() =>
|
|
1965
|
-
return (e, t) => (L(), A(
|
|
1968
|
+
}), ae = k(() => !!et(o.chrome, o.brand?.logo));
|
|
1969
|
+
return (e, t) => (L(), A(Ze, {
|
|
1966
1970
|
class: I(["mwnf-dxa-gallery-shell", { "mwnf-dxa-gallery-shell--home": u.value }]),
|
|
1967
1971
|
languages: n.languages,
|
|
1968
1972
|
language: n.language,
|
|
@@ -1978,8 +1982,8 @@ var go = {
|
|
|
1978
1982
|
notice: ie.value,
|
|
1979
1983
|
"footer-text": `${V(i)("core.footer.copyright")} 2004–${V(d)}`,
|
|
1980
1984
|
"onUpdate:language": t[0] ||= (e) => r("update:language", e)
|
|
1981
|
-
},
|
|
1982
|
-
default: H(() => [
|
|
1985
|
+
}, lt({
|
|
1986
|
+
default: H(() => [mt(e.$slots, "default")]),
|
|
1983
1987
|
_: 2
|
|
1984
1988
|
}, [ae.value ? void 0 : {
|
|
1985
1989
|
name: "brand",
|
|
@@ -2000,10 +2004,10 @@ var go = {
|
|
|
2000
2004
|
"footer-text"
|
|
2001
2005
|
]));
|
|
2002
2006
|
}
|
|
2003
|
-
},
|
|
2007
|
+
}, vo = {
|
|
2004
2008
|
key: 0,
|
|
2005
2009
|
class: "mwnf-popup-logo"
|
|
2006
|
-
},
|
|
2010
|
+
}, yo = ["aria-label"], bo = ["innerHTML"], xo = ["innerHTML"], So = {
|
|
2007
2011
|
__name: "PopupLogo",
|
|
2008
2012
|
props: {
|
|
2009
2013
|
content: {
|
|
@@ -2025,21 +2029,21 @@ var go = {
|
|
|
2025
2029
|
},
|
|
2026
2030
|
setup(e) {
|
|
2027
2031
|
let t = e, n = R(!1), r = k(() => t.rawHtml ? t.content : K(t.content)), i = k(() => t.enabled && !!t.content && !n.value);
|
|
2028
|
-
return (t, a) => i.value ? (L(), M("div",
|
|
2032
|
+
return (t, a) => i.value ? (L(), M("div", vo, [N("button", {
|
|
2029
2033
|
class: "mwnf-popup-logo__close",
|
|
2030
2034
|
"aria-label": t.$t(e.closeLabel),
|
|
2031
2035
|
onClick: a[0] ||= (e) => n.value = !0
|
|
2032
|
-
}, "✕", 8,
|
|
2036
|
+
}, "✕", 8, yo), e.rawHtml ? (L(), M("div", {
|
|
2033
2037
|
key: 0,
|
|
2034
2038
|
class: "mwnf-popup-logo__content",
|
|
2035
2039
|
innerHTML: r.value
|
|
2036
|
-
}, null, 8,
|
|
2040
|
+
}, null, 8, bo)) : (L(), M("div", {
|
|
2037
2041
|
key: 1,
|
|
2038
2042
|
class: "mwnf-popup-logo__content",
|
|
2039
2043
|
innerHTML: r.value
|
|
2040
|
-
}, null, 8,
|
|
2044
|
+
}, null, 8, xo))])) : j("", !0);
|
|
2041
2045
|
}
|
|
2042
|
-
},
|
|
2046
|
+
}, Co = {
|
|
2043
2047
|
__name: "Shell",
|
|
2044
2048
|
props: {
|
|
2045
2049
|
language: {
|
|
@@ -2053,16 +2057,16 @@ var go = {
|
|
|
2053
2057
|
},
|
|
2054
2058
|
emits: ["update:language"],
|
|
2055
2059
|
setup(e, { emit: t }) {
|
|
2056
|
-
let n = e, r = t, { t: i, locale: a } = q(), o =
|
|
2057
|
-
|
|
2060
|
+
let n = e, r = t, { t: i, locale: a } = q(), o = Ft(), s = k(() => o.links ?? {}), c = k(() => !!et(o.chrome, o.brand?.logo)), l = Pt(), u = k(() => l.value === "home"), d = (/* @__PURE__ */ new Date()).getFullYear(), f = k(() => u.value ? C.value?.homepage_image_path : null);
|
|
2061
|
+
xt(() => {
|
|
2058
2062
|
if (typeof document > "u") return;
|
|
2059
|
-
let e = C.value?.homepage_image_path, t = e ?
|
|
2063
|
+
let e = C.value?.homepage_image_path, t = e ? He(e, "hi_res") : "";
|
|
2060
2064
|
t ? document.documentElement.style.setProperty("--mwnf-dxa-exhibition-backdrop", `url("${t.replace(/"/g, "%22")}")`) : document.documentElement.style.removeProperty("--mwnf-dxa-exhibition-backdrop");
|
|
2061
2065
|
});
|
|
2062
|
-
let p = k(() => f.value ?
|
|
2063
|
-
let e = f.value ? C.value?.homepage_item_id : C.value?.banner_item_id, t =
|
|
2064
|
-
if (!t) return f.value ? "" :
|
|
2065
|
-
let n =
|
|
2066
|
+
let p = k(() => f.value ? He(f.value, "hi_res") : He(C.value?.banner_image_path, "hi_res")), m = k(() => {
|
|
2067
|
+
let e = f.value ? C.value?.homepage_item_id : C.value?.banner_item_id, t = Re.value.get(e);
|
|
2068
|
+
if (!t) return f.value ? "" : ze(a.value);
|
|
2069
|
+
let n = S("items", t.id, Ue);
|
|
2066
2070
|
return {
|
|
2067
2071
|
name: T("items", t.id),
|
|
2068
2072
|
holder: n.holder ?? "",
|
|
@@ -2086,10 +2090,10 @@ var go = {
|
|
|
2086
2090
|
let e = o.sponsorLogos;
|
|
2087
2091
|
return Array.isArray(e) ? e.map((e) => ({
|
|
2088
2092
|
...e,
|
|
2089
|
-
image:
|
|
2093
|
+
image: et(o.chrome, e.image),
|
|
2090
2094
|
alt: e.alt ? i(e.alt) : ""
|
|
2091
2095
|
})).filter((e) => e.image) : (C.value?.logos ?? []).map((e) => ({
|
|
2092
|
-
image: e.legacy_path ?
|
|
2096
|
+
image: e.legacy_path ? He(e.legacy_path, "full") : null,
|
|
2093
2097
|
alt: g(e),
|
|
2094
2098
|
href: e.url || void 0,
|
|
2095
2099
|
category_id: e.category_id,
|
|
@@ -2102,13 +2106,13 @@ var go = {
|
|
|
2102
2106
|
let t = o.media?.legacyHost;
|
|
2103
2107
|
if (!t || !e.startsWith(`${t.replace(/\/+$/, "")}/`)) return null;
|
|
2104
2108
|
let n = e.slice(t.replace(/\/+$/, "").length + 1).split("/").slice(1).join("/");
|
|
2105
|
-
return
|
|
2109
|
+
return $e(o.chrome, n);
|
|
2106
2110
|
}
|
|
2107
|
-
let y = k(() =>
|
|
2111
|
+
let y = k(() => Qe(Ee(C.value?.popup_logos?.[a.value] ?? C.value?.popup_logos?.en ?? "", { glossary: [] }), v)), ee = k(() => {
|
|
2108
2112
|
let e = C.value?.popup_logo_show;
|
|
2109
2113
|
return e == null ? !1 : typeof e == "boolean" ? e : e[a.value] ?? e.en ?? !1;
|
|
2110
2114
|
});
|
|
2111
|
-
return (e, t) => (L(), A(
|
|
2115
|
+
return (e, t) => (L(), A(Ze, {
|
|
2112
2116
|
languages: n.languages,
|
|
2113
2117
|
language: n.language,
|
|
2114
2118
|
"language-placement": "header",
|
|
@@ -2119,29 +2123,29 @@ var go = {
|
|
|
2119
2123
|
"banner-image": p.value,
|
|
2120
2124
|
"banner-caption": m.value,
|
|
2121
2125
|
"banner-caption-label": V(i)("layout.banner.detailFrom"),
|
|
2122
|
-
"banner-title": u.value ? V(
|
|
2123
|
-
"banner-subtitle": u.value ? V(
|
|
2124
|
-
"banner-headline": u.value ? V(
|
|
2126
|
+
"banner-title": u.value ? V(je)(V(a)) : "",
|
|
2127
|
+
"banner-subtitle": u.value ? V(Ge)(V(a)) : "",
|
|
2128
|
+
"banner-headline": u.value ? V(Le)(V(a)) : "",
|
|
2125
2129
|
"banner-enter": u.value ? {
|
|
2126
2130
|
label: V(i)("exhibition.action.enter"),
|
|
2127
2131
|
href: "#/about"
|
|
2128
2132
|
} : null,
|
|
2129
2133
|
"banner-strapline": u.value ? V(i)("exhibition.identity.strapline") : "",
|
|
2130
2134
|
"hyperlinks-variant": "tiles",
|
|
2131
|
-
"hyperlinks-title": V(
|
|
2135
|
+
"hyperlinks-title": V(je)(V(a)),
|
|
2132
2136
|
"hyperlinks-title-href": "#/",
|
|
2133
|
-
"hyperlinks-subtitle": V(
|
|
2137
|
+
"hyperlinks-subtitle": V(Ge)(V(a)),
|
|
2134
2138
|
hyperlinks: h.value,
|
|
2135
2139
|
"footer-text": `${V(i)("core.footer.copyright")} 2004–${V(d)}`,
|
|
2136
2140
|
logos: _.value,
|
|
2137
2141
|
"onUpdate:language": t[0] ||= (e) => r("update:language", e)
|
|
2138
|
-
},
|
|
2139
|
-
notice: H(() => [F(
|
|
2142
|
+
}, lt({
|
|
2143
|
+
notice: H(() => [F(So, {
|
|
2140
2144
|
content: y.value,
|
|
2141
2145
|
enabled: ee.value,
|
|
2142
2146
|
"raw-html": ""
|
|
2143
2147
|
}, null, 8, ["content", "enabled"])]),
|
|
2144
|
-
default: H(() => [
|
|
2148
|
+
default: H(() => [mt(e.$slots, "default")]),
|
|
2145
2149
|
_: 2
|
|
2146
2150
|
}, [c.value ? void 0 : {
|
|
2147
2151
|
name: "brand",
|
|
@@ -2167,43 +2171,43 @@ var go = {
|
|
|
2167
2171
|
"logos"
|
|
2168
2172
|
]));
|
|
2169
2173
|
}
|
|
2170
|
-
},
|
|
2174
|
+
}, wo = {
|
|
2171
2175
|
islamicart: "mwnf-chip--ISLandEPM",
|
|
2172
2176
|
baroqueart: "mwnf-chip--DBA",
|
|
2173
2177
|
sharinghistory: "mwnf-chip--AWE",
|
|
2174
2178
|
carpets: "mwnf-chip--DCA",
|
|
2175
2179
|
glass: "mwnf-chip--DGA"
|
|
2176
|
-
},
|
|
2177
|
-
function
|
|
2180
|
+
}, To = new Set(Ct.filter((e) => e.family === "exhibition").map((e) => e.slug));
|
|
2181
|
+
function Eo(e) {
|
|
2178
2182
|
let t = {};
|
|
2179
2183
|
for (let [n, r] of Object.entries(e?.projects ?? {})) {
|
|
2180
2184
|
if (!r || !("home_site" in r)) continue;
|
|
2181
|
-
let e = r.home_site, i = e === null ? "mwnf-chip--Galleries" :
|
|
2185
|
+
let e = r.home_site, i = e === null ? "mwnf-chip--Galleries" : wo[e] ?? (To.has(e) ? "mwnf-chip--EXH" : null);
|
|
2182
2186
|
i && (t[n] = i);
|
|
2183
2187
|
}
|
|
2184
2188
|
return t;
|
|
2185
2189
|
}
|
|
2186
|
-
function
|
|
2190
|
+
function Do(e, t) {
|
|
2187
2191
|
let n = `exhibition.sponsors.section${Number(t)}`, r = e(n);
|
|
2188
2192
|
return r && r !== n ? r : null;
|
|
2189
2193
|
}
|
|
2190
|
-
function
|
|
2194
|
+
function Oo({ country: e, start: t, end: n, page: r }) {
|
|
2191
2195
|
let i = { country: e };
|
|
2192
2196
|
return t !== "any" && (i.begin = t), n !== "any" && (i.end = n), Number(r) > 1 && (i.page = r), {
|
|
2193
2197
|
name: "timeline-gallery",
|
|
2194
2198
|
query: i
|
|
2195
2199
|
};
|
|
2196
2200
|
}
|
|
2197
|
-
function
|
|
2198
|
-
let { manifest: c } =
|
|
2201
|
+
function ko({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {}, noticeProjects: i = [], creditsBody: a, chrome: o = {}, homeLogos: s = [] }) {
|
|
2202
|
+
let { manifest: c } = jt(), l = Dt();
|
|
2199
2203
|
return {
|
|
2200
2204
|
datasetPackage: e,
|
|
2201
2205
|
siteName: c.site?.names?.en ?? t,
|
|
2202
2206
|
features: { entities: [] },
|
|
2203
2207
|
languages: l,
|
|
2204
|
-
shell:
|
|
2208
|
+
shell: _o,
|
|
2205
2209
|
navigation: {
|
|
2206
|
-
languages:
|
|
2210
|
+
languages: Tt(l),
|
|
2207
2211
|
links: [
|
|
2208
2212
|
{
|
|
2209
2213
|
section: "about",
|
|
@@ -2288,7 +2292,7 @@ function Oo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2288
2292
|
empty: "all-objects"
|
|
2289
2293
|
},
|
|
2290
2294
|
placement: ({ section: e }) => e === "home" ? "after-banner" : "before-banner",
|
|
2291
|
-
socialLinks:
|
|
2295
|
+
socialLinks: nt
|
|
2292
2296
|
},
|
|
2293
2297
|
banner: {
|
|
2294
2298
|
variant: ({ section: e }) => e === "home" ? "strip" : "section",
|
|
@@ -2308,12 +2312,12 @@ function Oo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2308
2312
|
media: { legacyHost: "https://images.museumwnf.org" },
|
|
2309
2313
|
links: { ...G },
|
|
2310
2314
|
projectColors: {
|
|
2311
|
-
...
|
|
2315
|
+
...Eo(c),
|
|
2312
2316
|
...r
|
|
2313
2317
|
},
|
|
2314
2318
|
noticeProjects: i,
|
|
2315
2319
|
site: { origin: n },
|
|
2316
|
-
extraViews:
|
|
2320
|
+
extraViews: po("gallery", {
|
|
2317
2321
|
creditsBody: a,
|
|
2318
2322
|
pages: !0
|
|
2319
2323
|
}),
|
|
@@ -2321,7 +2325,7 @@ function Oo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2321
2325
|
{
|
|
2322
2326
|
path: "/database-item/:uid(.*)/:language",
|
|
2323
2327
|
async resolve({ uid: e }) {
|
|
2324
|
-
await
|
|
2328
|
+
await Et(["items"]);
|
|
2325
2329
|
let t = ne(e);
|
|
2326
2330
|
return t ? {
|
|
2327
2331
|
name: "item",
|
|
@@ -2332,7 +2336,7 @@ function Oo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2332
2336
|
{
|
|
2333
2337
|
path: "/partner/:country/:id/:language",
|
|
2334
2338
|
async resolve({ country: e, id: t }) {
|
|
2335
|
-
await
|
|
2339
|
+
await Et(["partners"]);
|
|
2336
2340
|
let n = h(e, t);
|
|
2337
2341
|
return n ? {
|
|
2338
2342
|
name: "partner",
|
|
@@ -2343,7 +2347,7 @@ function Oo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2343
2347
|
{
|
|
2344
2348
|
path: "/partner-objects/:country/:id/:page",
|
|
2345
2349
|
async resolve({ country: e, id: t, page: n }) {
|
|
2346
|
-
await
|
|
2350
|
+
await Et(["partners"]);
|
|
2347
2351
|
let r = h(e, t);
|
|
2348
2352
|
return r ? {
|
|
2349
2353
|
name: "partner-objects",
|
|
@@ -2354,7 +2358,7 @@ function Oo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2354
2358
|
},
|
|
2355
2359
|
{
|
|
2356
2360
|
path: "/timeline-gallery/:country/:start/:end/:page",
|
|
2357
|
-
resolve:
|
|
2361
|
+
resolve: Oo
|
|
2358
2362
|
},
|
|
2359
2363
|
{
|
|
2360
2364
|
path: "/error",
|
|
@@ -2363,18 +2367,18 @@ function Oo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2363
2367
|
]
|
|
2364
2368
|
};
|
|
2365
2369
|
}
|
|
2366
|
-
function
|
|
2367
|
-
let { manifest: l } =
|
|
2370
|
+
function Ao({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {}, noticeProjects: i = [], creditsBody: a, partnerObjects: o, chrome: s = {}, sponsorLogos: c }) {
|
|
2371
|
+
let { manifest: l } = jt(), u = Dt(), d = async (e, t) => (await Et([
|
|
2368
2372
|
"exhibition",
|
|
2369
2373
|
"partners",
|
|
2370
2374
|
"countries"
|
|
2371
|
-
]),
|
|
2375
|
+
]), ho(Te.value, ke.value, e, t));
|
|
2372
2376
|
return {
|
|
2373
2377
|
datasetPackage: e,
|
|
2374
2378
|
siteName: l.site?.names?.en ?? t,
|
|
2375
2379
|
features: { entities: [] },
|
|
2376
2380
|
languages: u,
|
|
2377
|
-
shell:
|
|
2381
|
+
shell: Co,
|
|
2378
2382
|
navigation: {
|
|
2379
2383
|
languages: u.map((e) => ({
|
|
2380
2384
|
code: e,
|
|
@@ -2405,7 +2409,7 @@ function ko({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2405
2409
|
section: "timeline",
|
|
2406
2410
|
label: "core.nav.timeline",
|
|
2407
2411
|
to: { name: "timeline" },
|
|
2408
|
-
when: () =>
|
|
2412
|
+
when: () => Me.value
|
|
2409
2413
|
},
|
|
2410
2414
|
{
|
|
2411
2415
|
section: "related",
|
|
@@ -2476,7 +2480,7 @@ function ko({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2476
2480
|
empty: "all-items"
|
|
2477
2481
|
},
|
|
2478
2482
|
placement: "before-banner",
|
|
2479
|
-
socialLinks:
|
|
2483
|
+
socialLinks: nt
|
|
2480
2484
|
},
|
|
2481
2485
|
banner: {
|
|
2482
2486
|
variant: ({ section: e }) => e === "home" ? "split" : "section",
|
|
@@ -2484,7 +2488,7 @@ function ko({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2484
2488
|
if (e?.name !== "theme" && e?.name !== "theme-gallery") return "";
|
|
2485
2489
|
let n = Number(e.params.id);
|
|
2486
2490
|
if (!Number.isInteger(n) || n < 1) return "";
|
|
2487
|
-
let r = `${t("exhibition.theme.romanLabel")} ${
|
|
2491
|
+
let r = `${t("exhibition.theme.romanLabel")} ${zt(n + 1)}`, i = e.params.subtheme;
|
|
2488
2492
|
return i && i !== "overview" ? `${r} ▪ ${t("exhibition.theme.subthemeLabel")} ${i}` : e.name === "theme-gallery" ? `${r} ▪ ${t("exhibition.theme.galleryLabel")}` : `${r} ▪ ${t("exhibition.theme.overview")}`;
|
|
2489
2493
|
}
|
|
2490
2494
|
},
|
|
@@ -2505,7 +2509,7 @@ function ko({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2505
2509
|
r ? r.push(t) : n.set(e, [t]);
|
|
2506
2510
|
}
|
|
2507
2511
|
return [...n.entries()].sort((e, t) => e[0] - t[0]).map(([e, n]) => ({
|
|
2508
|
-
title: Number(e) === 1 ? t("exhibition.sponsors.patronage") : Number(e) === 2 ? t("exhibition.sponsors.support") :
|
|
2512
|
+
title: Number(e) === 1 ? t("exhibition.sponsors.patronage") : Number(e) === 2 ? t("exhibition.sponsors.support") : Do(t, e) ?? n[0].category ?? "",
|
|
2509
2513
|
sponsors: [...n].sort((e, t) => (e.display_order ?? 0) - (t.display_order ?? 0)).map((e) => ({
|
|
2510
2514
|
name: e.alt,
|
|
2511
2515
|
href: e.href,
|
|
@@ -2517,12 +2521,12 @@ function ko({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2517
2521
|
media: { legacyHost: "https://images.museumwnf.org" },
|
|
2518
2522
|
links: { ...G },
|
|
2519
2523
|
projectColors: {
|
|
2520
|
-
...
|
|
2524
|
+
...Eo(l),
|
|
2521
2525
|
...r
|
|
2522
2526
|
},
|
|
2523
2527
|
noticeProjects: i,
|
|
2524
2528
|
site: { origin: n },
|
|
2525
|
-
extraViews:
|
|
2529
|
+
extraViews: po("exhibition", {
|
|
2526
2530
|
creditsBody: a,
|
|
2527
2531
|
partnerObjects: o,
|
|
2528
2532
|
pages: !0
|
|
@@ -2531,8 +2535,8 @@ function ko({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2531
2535
|
{
|
|
2532
2536
|
path: "/database-item/:uid(.*)/:language",
|
|
2533
2537
|
async resolve({ uid: e }) {
|
|
2534
|
-
await
|
|
2535
|
-
let t =
|
|
2538
|
+
await Et(["items"]);
|
|
2539
|
+
let t = go(Oe.value, e);
|
|
2536
2540
|
return t ? {
|
|
2537
2541
|
name: "item",
|
|
2538
2542
|
params: { id: t.id }
|
|
@@ -2583,7 +2587,7 @@ function ko({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2583
2587
|
},
|
|
2584
2588
|
{
|
|
2585
2589
|
path: "/timeline-gallery/:country/:start/:end/:page",
|
|
2586
|
-
resolve:
|
|
2590
|
+
resolve: Oo
|
|
2587
2591
|
},
|
|
2588
2592
|
{
|
|
2589
2593
|
path: "/error",
|
|
@@ -2593,16 +2597,16 @@ function ko({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2593
2597
|
};
|
|
2594
2598
|
}
|
|
2595
2599
|
// src/dxa/FeaturedPartners.vue
|
|
2596
|
-
var
|
|
2600
|
+
var jo = {
|
|
2597
2601
|
key: 0,
|
|
2598
2602
|
class: "mwnf-featured-partners"
|
|
2599
|
-
},
|
|
2603
|
+
}, Mo = { class: "mwnf-featured-partners__heading" }, No = { class: "mwnf-featured-partners__carousel" }, Po = {
|
|
2600
2604
|
key: 0,
|
|
2601
2605
|
class: "mwnf-featured-partners__image"
|
|
2602
|
-
},
|
|
2606
|
+
}, Fo = ["src", "alt"], Io = { class: "mwnf-featured-partners__body" }, Lo = { class: "mwnf-featured-partners__name" }, Ro = { class: "mwnf-featured-partners__location" }, zo = { key: 0 }, Bo = { class: "mwnf-featured-partners__description" }, Vo = {
|
|
2603
2607
|
key: 0,
|
|
2604
2608
|
class: "mwnf-featured-partners__controls"
|
|
2605
|
-
},
|
|
2609
|
+
}, Ho = ["aria-label", "onClick"], Uo = 8e3, Wo = {
|
|
2606
2610
|
__name: "FeaturedPartners",
|
|
2607
2611
|
props: {
|
|
2608
2612
|
records: {
|
|
@@ -2657,21 +2661,21 @@ var Ao = {
|
|
|
2657
2661
|
function l() {
|
|
2658
2662
|
s && clearInterval(s), a.value.length > 0 && (s = setInterval(() => {
|
|
2659
2663
|
o.value = (o.value + 1) % a.value.length;
|
|
2660
|
-
},
|
|
2664
|
+
}, Uo));
|
|
2661
2665
|
}
|
|
2662
|
-
return
|
|
2663
|
-
N("h2",
|
|
2664
|
-
N("div",
|
|
2666
|
+
return ft(l), dt(() => s && clearInterval(s)), (t, r) => a.value.length ? (L(), M("section", jo, [
|
|
2667
|
+
N("h2", Mo, B(t.$t(e.headingEntry)), 1),
|
|
2668
|
+
N("div", No, [(L(!0), M(O, null, z(a.value, (r, i) => U((L(), M("div", {
|
|
2665
2669
|
key: r.id,
|
|
2666
2670
|
class: "mwnf-featured-partners__card"
|
|
2667
|
-
}, [r.logo ? (L(), M("span",
|
|
2671
|
+
}, [r.logo ? (L(), M("span", Po, [N("img", {
|
|
2668
2672
|
src: r.logo,
|
|
2669
2673
|
alt: r.name,
|
|
2670
2674
|
class: "mwnf-featured-partners__logo"
|
|
2671
|
-
}, null, 8,
|
|
2672
|
-
N("span",
|
|
2673
|
-
N("span",
|
|
2674
|
-
N("span",
|
|
2675
|
+
}, null, 8, Fo)])) : j("", !0), N("span", Io, [
|
|
2676
|
+
N("span", Lo, B(r.name), 1),
|
|
2677
|
+
N("span", Ro, [r.city ? (L(), M("span", zo, B(r.city) + ", ", 1)) : j("", !0), P(B(r.country), 1)]),
|
|
2678
|
+
N("span", Bo, B(r.description), 1),
|
|
2675
2679
|
r.route ? (L(), A(n, {
|
|
2676
2680
|
key: 0,
|
|
2677
2681
|
to: r.route,
|
|
@@ -2688,34 +2692,34 @@ var Ao = {
|
|
|
2688
2692
|
default: H(() => [P(B(t.$t(e.viewObjectsEntry)) + " >>", 1)]),
|
|
2689
2693
|
_: 1
|
|
2690
2694
|
}, 8, ["to"])) : j("", !0)
|
|
2691
|
-
])])), [[
|
|
2692
|
-
a.value.length > 1 ? (L(), M("div",
|
|
2695
|
+
])])), [[yt, i === o.value]])), 128))]),
|
|
2696
|
+
a.value.length > 1 ? (L(), M("div", Vo, [(L(!0), M(O, null, z(a.value, (e, n) => (L(), M("button", {
|
|
2693
2697
|
key: e.id,
|
|
2694
2698
|
class: I(["mwnf-featured-partners__bullet", { "mwnf-featured-partners__bullet--active": n === o.value }]),
|
|
2695
2699
|
"aria-label": `${t.$t("core.action.show")} ${e.name}`,
|
|
2696
2700
|
onClick: (e) => c(n)
|
|
2697
|
-
}, null, 10,
|
|
2701
|
+
}, null, 10, Ho))), 128))])) : j("", !0)
|
|
2698
2702
|
])) : j("", !0);
|
|
2699
2703
|
}
|
|
2700
|
-
},
|
|
2704
|
+
}, Go = { class: "mwnf-sibling-galleries" }, Ko = {
|
|
2701
2705
|
key: 0,
|
|
2702
2706
|
class: "mwnf-sibling-galleries__galleries"
|
|
2703
|
-
},
|
|
2707
|
+
}, qo = { class: "mwnf-sibling-galleries__header" }, Jo = { class: "mwnf-sibling-galleries__heading" }, Yo = ["href"], Xo = { class: "mwnf-sibling-galleries__grid" }, Zo = {
|
|
2704
2708
|
key: 0,
|
|
2705
2709
|
class: "mwnf-sibling-galleries__image"
|
|
2706
|
-
},
|
|
2710
|
+
}, Qo = ["src", "alt"], $o = {
|
|
2707
2711
|
key: 1,
|
|
2708
2712
|
class: "mwnf-sibling-galleries__image mwnf-sibling-galleries__image--empty"
|
|
2709
|
-
},
|
|
2713
|
+
}, es = { class: "mwnf-sibling-galleries__name" }, ts = {
|
|
2710
2714
|
key: 1,
|
|
2711
2715
|
class: "mwnf-sibling-galleries__museums"
|
|
2712
|
-
},
|
|
2716
|
+
}, ns = { class: "mwnf-sibling-galleries__heading" }, rs = { class: "mwnf-sibling-galleries__museums-grid" }, is = ["href"], as = {
|
|
2713
2717
|
key: 0,
|
|
2714
2718
|
class: "mwnf-sibling-galleries__museum-image mwnf-sibling-galleries__museum-image--picture"
|
|
2715
|
-
},
|
|
2719
|
+
}, os = ["src"], ss = {
|
|
2716
2720
|
key: 1,
|
|
2717
2721
|
class: "mwnf-sibling-galleries__museum-image"
|
|
2718
|
-
},
|
|
2722
|
+
}, cs = { class: "mwnf-sibling-galleries__museum-name" }, ls = {
|
|
2719
2723
|
__name: "SiblingGalleries",
|
|
2720
2724
|
props: {
|
|
2721
2725
|
galleries: {
|
|
@@ -2744,46 +2748,46 @@ var Ao = {
|
|
|
2744
2748
|
}
|
|
2745
2749
|
},
|
|
2746
2750
|
setup(e) {
|
|
2747
|
-
return (t, r) => (L(), M("section",
|
|
2751
|
+
return (t, r) => (L(), M("section", Go, [e.galleries.length ? (L(), M("div", Ko, [N("div", qo, [N("p", Jo, B(t.$t(e.galleriesHeadingEntry)), 1), e.seeMoreGalleriesHref ? (L(), M("a", {
|
|
2748
2752
|
key: 0,
|
|
2749
2753
|
href: e.seeMoreGalleriesHref,
|
|
2750
2754
|
target: "_blank",
|
|
2751
2755
|
rel: "noopener",
|
|
2752
2756
|
class: "mwnf-sibling-galleries__see-more"
|
|
2753
|
-
}, B(t.$t(e.seeMoreGalleriesEntry)) + " » ", 9,
|
|
2757
|
+
}, B(t.$t(e.seeMoreGalleriesEntry)) + " » ", 9, Yo)) : j("", !0)]), N("div", Xo, [(L(!0), M(O, null, z(e.galleries, (e) => (L(), A(n, {
|
|
2754
2758
|
key: e.id,
|
|
2755
2759
|
to: e.route,
|
|
2756
2760
|
class: I(["mwnf-sibling-galleries__gallery", { "mwnf-sibling-galleries__gallery--no-link": !e.route }])
|
|
2757
2761
|
}, {
|
|
2758
|
-
default: H(() => [e.image ? (L(), M("span",
|
|
2762
|
+
default: H(() => [e.image ? (L(), M("span", Zo, [N("img", {
|
|
2759
2763
|
src: e.image,
|
|
2760
2764
|
alt: e.name
|
|
2761
|
-
}, null, 8,
|
|
2765
|
+
}, null, 8, Qo)])) : (L(), M("span", $o)), N("p", es, B(e.name), 1)]),
|
|
2762
2766
|
_: 2
|
|
2763
|
-
}, 1032, ["to", "class"]))), 128))])])) : j("", !0), e.museums.length ? (L(), M("div",
|
|
2767
|
+
}, 1032, ["to", "class"]))), 128))])])) : j("", !0), e.museums.length ? (L(), M("div", ts, [N("div", ns, B(t.$t(e.museumsHeadingEntry)), 1), N("div", rs, [(L(!0), M(O, null, z(e.museums, (e) => (L(), M("a", {
|
|
2764
2768
|
key: e.name,
|
|
2765
2769
|
href: e.href || e.to,
|
|
2766
2770
|
target: "_blank",
|
|
2767
2771
|
rel: "noopener",
|
|
2768
2772
|
class: "mwnf-sibling-galleries__museum",
|
|
2769
|
-
style:
|
|
2773
|
+
style: ut({
|
|
2770
2774
|
"--mwnf-museum-bg": e.accent || "var(--mwnf-color-border)",
|
|
2771
2775
|
"--mwnf-museum-text": e.textColor || "inherit"
|
|
2772
2776
|
})
|
|
2773
|
-
}, [e.image ? (L(), M("div",
|
|
2777
|
+
}, [e.image ? (L(), M("div", as, [N("img", {
|
|
2774
2778
|
src: e.image,
|
|
2775
2779
|
alt: ""
|
|
2776
|
-
}, null, 8,
|
|
2780
|
+
}, null, 8, os)])) : (L(), M("div", ss, B(e.name.split(" ").map((e) => e[0]).join("")), 1)), N("p", cs, B(e.name), 1)], 12, is))), 128))])])) : j("", !0)]));
|
|
2777
2781
|
}
|
|
2778
|
-
},
|
|
2782
|
+
}, us = /* @__PURE__ */ D({ default: () => vs }), ds = { class: "mwnf-dxa-home" }, fs = {
|
|
2779
2783
|
key: 0,
|
|
2780
2784
|
class: "mwnf-dxa-home-logos"
|
|
2781
|
-
},
|
|
2785
|
+
}, ps = { class: "mwnf-dxa-home-logos__label" }, ms = { class: "mwnf-dxa-home-logos__list" }, hs = ["src", "alt"], gs = 3, _s = 4, vs = {
|
|
2782
2786
|
__name: "Home",
|
|
2783
2787
|
setup(e) {
|
|
2784
|
-
let { t, locale: n } = q(), r =
|
|
2785
|
-
|
|
2786
|
-
o.value = u(
|
|
2788
|
+
let { t, locale: n } = q(), r = Ft(), i = k(() => r.links ?? {}), a = k(() => oe(gs)), o = R([]);
|
|
2789
|
+
ft(() => {
|
|
2790
|
+
o.value = u(_s);
|
|
2787
2791
|
});
|
|
2788
2792
|
let s = k(() => o.value.map((e) => ({
|
|
2789
2793
|
id: e.id,
|
|
@@ -2794,32 +2798,32 @@ var Ao = {
|
|
|
2794
2798
|
{
|
|
2795
2799
|
name: t("core.project.islamicArt"),
|
|
2796
2800
|
href: `${i.value.islamicArt}/`,
|
|
2797
|
-
image:
|
|
2801
|
+
image: tt(r.chrome, "dia.jpg"),
|
|
2798
2802
|
accent: "var(--mwnf-project-ISLandEPM, #ffcc00)",
|
|
2799
2803
|
textColor: "var(--mwnf-project-ISLandEPM-text, #000000)"
|
|
2800
2804
|
},
|
|
2801
2805
|
{
|
|
2802
2806
|
name: t("core.project.baroqueArt"),
|
|
2803
2807
|
href: `${i.value.baroqueArt}/`,
|
|
2804
|
-
image:
|
|
2808
|
+
image: tt(r.chrome, "dba.jpg"),
|
|
2805
2809
|
accent: "var(--mwnf-project-DBA, #001d66)",
|
|
2806
2810
|
textColor: "var(--mwnf-project-DBA-text, #ffffff)"
|
|
2807
2811
|
},
|
|
2808
2812
|
{
|
|
2809
2813
|
name: t("core.project.sharingHistory"),
|
|
2810
2814
|
href: `${i.value.sharingHistory}/`,
|
|
2811
|
-
image:
|
|
2815
|
+
image: tt(r.chrome, "sh.jpg"),
|
|
2812
2816
|
accent: "var(--mwnf-project-AWE, #900000)",
|
|
2813
2817
|
textColor: "var(--mwnf-project-AWE-text, #ffffff)"
|
|
2814
2818
|
}
|
|
2815
2819
|
]), l = k(() => (r.homeLogos ?? []).map((e) => ({
|
|
2816
|
-
image:
|
|
2820
|
+
image: $e(r.chrome, e.image) ?? re(e.image, "gallery_logo"),
|
|
2817
2821
|
href: e.href ?? "",
|
|
2818
2822
|
alt: e.alt ? t(e.alt) : ""
|
|
2819
2823
|
})).filter((e) => e.image)), d = k(() => `${i.value.galleries}/list`);
|
|
2820
|
-
return (e, n) => (L(), M("div",
|
|
2821
|
-
F(
|
|
2822
|
-
l.value.length ? (L(), M("section",
|
|
2824
|
+
return (e, n) => (L(), M("div", ds, [
|
|
2825
|
+
F(Wo, { partners: a.value }, null, 8, ["partners"]),
|
|
2826
|
+
l.value.length ? (L(), M("section", fs, [N("p", ps, B(V(t)("gallery.home.logosLabel")), 1), N("ul", ms, [(L(!0), M(O, null, z(l.value, (e) => (L(), M("li", { key: e.image }, [(L(), A(ht(e.href ? "a" : "span"), {
|
|
2823
2827
|
class: "mwnf-dxa-home-logos__logo",
|
|
2824
2828
|
href: e.href || void 0,
|
|
2825
2829
|
title: e.alt || void 0,
|
|
@@ -2829,7 +2833,7 @@ var Ao = {
|
|
|
2829
2833
|
default: H(() => [N("img", {
|
|
2830
2834
|
src: e.image,
|
|
2831
2835
|
alt: e.alt
|
|
2832
|
-
}, null, 8,
|
|
2836
|
+
}, null, 8, hs)]),
|
|
2833
2837
|
_: 2
|
|
2834
2838
|
}, 1032, [
|
|
2835
2839
|
"href",
|
|
@@ -2837,7 +2841,7 @@ var Ao = {
|
|
|
2837
2841
|
"target",
|
|
2838
2842
|
"rel"
|
|
2839
2843
|
]))]))), 128))])])) : j("", !0),
|
|
2840
|
-
F(
|
|
2844
|
+
F(ls, {
|
|
2841
2845
|
galleries: s.value,
|
|
2842
2846
|
museums: c.value,
|
|
2843
2847
|
"galleries-heading-entry": "gallery.action.visitGalleries",
|
|
@@ -2851,7 +2855,7 @@ var Ao = {
|
|
|
2851
2855
|
])
|
|
2852
2856
|
]));
|
|
2853
2857
|
}
|
|
2854
|
-
},
|
|
2858
|
+
}, ys = /* @__PURE__ */ D({ default: () => bs }), bs = {
|
|
2855
2859
|
__name: "ItemDetail",
|
|
2856
2860
|
props: { id: {
|
|
2857
2861
|
type: String,
|
|
@@ -2867,36 +2871,37 @@ var Ao = {
|
|
|
2867
2871
|
workingNumber: "gallery.sheet.workingNumber",
|
|
2868
2872
|
relatedAudio: "gallery.related.audio",
|
|
2869
2873
|
relatedVideos: "gallery.related.videos",
|
|
2870
|
-
relatedObjects: "gallery.related.objects"
|
|
2874
|
+
relatedObjects: "gallery.related.objects",
|
|
2875
|
+
relatedMonuments: "gallery.related.monuments"
|
|
2871
2876
|
};
|
|
2872
|
-
return (n, r) => (L(), A(
|
|
2877
|
+
return (n, r) => (L(), A(it, {
|
|
2873
2878
|
id: e.id,
|
|
2874
2879
|
"item-detail": V(se),
|
|
2875
2880
|
words: t
|
|
2876
2881
|
}, null, 8, ["id", "item-detail"]));
|
|
2877
2882
|
}
|
|
2878
|
-
},
|
|
2883
|
+
}, xs = /* @__PURE__ */ D({ default: () => Is }), Ss = { class: "mwnf-dxa-timeline" }, Cs = { class: "mwnf-dxa-timeline__entrance" }, ws = [
|
|
2879
2884
|
"value",
|
|
2880
2885
|
"aria-label",
|
|
2881
2886
|
"onChange"
|
|
2882
|
-
],
|
|
2887
|
+
], Ts = {
|
|
2883
2888
|
disabled: "",
|
|
2884
2889
|
value: ""
|
|
2885
|
-
},
|
|
2890
|
+
}, Es = ["value"], Ds = { class: "mwnf-dxa-timeline__dates" }, Os = [
|
|
2886
2891
|
"value",
|
|
2887
2892
|
"aria-label",
|
|
2888
2893
|
"onChange"
|
|
2889
|
-
],
|
|
2894
|
+
], ks = {
|
|
2890
2895
|
disabled: "",
|
|
2891
2896
|
value: ""
|
|
2892
|
-
},
|
|
2897
|
+
}, As = ["value"], js = [
|
|
2893
2898
|
"value",
|
|
2894
2899
|
"aria-label",
|
|
2895
2900
|
"onChange"
|
|
2896
|
-
],
|
|
2901
|
+
], Ms = {
|
|
2897
2902
|
disabled: "",
|
|
2898
2903
|
value: ""
|
|
2899
|
-
},
|
|
2904
|
+
}, Ns = ["value"], Ps = { class: "mwnf-dxa-timeline__go" }, Fs = ["onClick"], Is = {
|
|
2900
2905
|
__name: "Timeline",
|
|
2901
2906
|
setup(e) {
|
|
2902
2907
|
let t = {
|
|
@@ -2919,39 +2924,39 @@ var Ao = {
|
|
|
2919
2924
|
end: e.end || a.at(-1)?.value
|
|
2920
2925
|
});
|
|
2921
2926
|
}
|
|
2922
|
-
return (e, r) => (L(), M("div",
|
|
2927
|
+
return (e, r) => (L(), M("div", Ss, [F(Xe, {
|
|
2923
2928
|
spec: t,
|
|
2924
2929
|
class: "mwnf-dxa-timeline__form"
|
|
2925
2930
|
}, {
|
|
2926
|
-
form: H((e) => [N("div",
|
|
2931
|
+
form: H((e) => [N("div", Cs, [
|
|
2927
2932
|
N("select", {
|
|
2928
2933
|
class: "mwnf-dxa-timeline__country",
|
|
2929
2934
|
value: e.filters.country,
|
|
2930
2935
|
"aria-label": e.t("gallery.timeline.selectCountry"),
|
|
2931
2936
|
onChange: (t) => e.filters.country = t.target.value
|
|
2932
|
-
}, [N("option",
|
|
2937
|
+
}, [N("option", Ts, B(e.t("gallery.timeline.selectCountry")), 1), (L(!0), M(O, null, z(e.countries, (e) => (L(), M("option", {
|
|
2933
2938
|
key: e.value,
|
|
2934
2939
|
value: e.value
|
|
2935
|
-
}, B(e.label), 9,
|
|
2936
|
-
N("div",
|
|
2940
|
+
}, B(e.label), 9, Es))), 128))], 40, ws),
|
|
2941
|
+
N("div", Ds, [N("select", {
|
|
2937
2942
|
value: e.filters.begin,
|
|
2938
2943
|
"aria-label": e.t("gallery.timeline.startDate"),
|
|
2939
2944
|
onChange: (t) => e.filters.begin = t.target.value
|
|
2940
|
-
}, [N("option",
|
|
2945
|
+
}, [N("option", ks, B(e.t("gallery.timeline.startDate")), 1), (L(!0), M(O, null, z(e.options.begin ?? [], (e) => (L(), M("option", {
|
|
2941
2946
|
key: e.value,
|
|
2942
2947
|
value: e.value
|
|
2943
|
-
}, B(e.label), 9,
|
|
2948
|
+
}, B(e.label), 9, As))), 128))], 40, Os), N("select", {
|
|
2944
2949
|
value: e.filters.end,
|
|
2945
2950
|
"aria-label": e.t("gallery.timeline.endDate"),
|
|
2946
2951
|
onChange: (t) => e.filters.end = t.target.value
|
|
2947
|
-
}, [N("option",
|
|
2952
|
+
}, [N("option", Ms, B(e.t("gallery.timeline.endDate")), 1), (L(!0), M(O, null, z(e.options.end ?? [], (e) => (L(), M("option", {
|
|
2948
2953
|
key: e.value,
|
|
2949
2954
|
value: e.value
|
|
2950
|
-
}, B(e.label), 9,
|
|
2951
|
-
N("div",
|
|
2955
|
+
}, B(e.label), 9, Ns))), 128))], 40, js)]),
|
|
2956
|
+
N("div", Ps, [N("button", {
|
|
2952
2957
|
type: "button",
|
|
2953
2958
|
onClick: (t) => n(e)
|
|
2954
|
-
}, B(e.t("core.action.go")), 9,
|
|
2959
|
+
}, B(e.t("core.action.go")), 9, Fs)])
|
|
2955
2960
|
])]),
|
|
2956
2961
|
_: 1
|
|
2957
2962
|
}), F(V(W), {
|
|
@@ -2960,29 +2965,29 @@ var Ao = {
|
|
|
2960
2965
|
keypath: "gallery.timeline.intro"
|
|
2961
2966
|
})]));
|
|
2962
2967
|
}
|
|
2963
|
-
},
|
|
2968
|
+
}, Ls = /* @__PURE__ */ D({ default: () => zs }), Rs = { class: "mwnf-dxa-home" }, zs = {
|
|
2964
2969
|
__name: "Home",
|
|
2965
2970
|
setup(e) {
|
|
2966
|
-
return (e, t) => (L(), M("div",
|
|
2971
|
+
return (e, t) => (L(), M("div", Rs));
|
|
2967
2972
|
}
|
|
2968
|
-
},
|
|
2973
|
+
}, Bs = /* @__PURE__ */ D({ default: () => Hs }), Vs = { class: "mwnf-dxa-about" }, Hs = {
|
|
2969
2974
|
__name: "About",
|
|
2970
2975
|
setup(e) {
|
|
2971
|
-
return (e, t) => (L(), M("div",
|
|
2976
|
+
return (e, t) => (L(), M("div", Vs, [F(at, { "about-mode": "" })]));
|
|
2972
2977
|
}
|
|
2973
|
-
},
|
|
2978
|
+
}, Us = /* @__PURE__ */ D({ default: () => oc }), Ws = { class: "mwnf-dxa-themes-page" }, Gs = { class: "mwnf-dxa-themes-page__container" }, Ks = ["onClick"], qs = ["innerHTML"], Js = {
|
|
2974
2979
|
key: 0,
|
|
2975
2980
|
class: "mwnf-dxa-themes-page__strips"
|
|
2976
|
-
},
|
|
2981
|
+
}, Ys = ["src"], Xs = {
|
|
2977
2982
|
key: 1,
|
|
2978
2983
|
class: "mwnf-dxa-themes-page__open"
|
|
2979
|
-
},
|
|
2984
|
+
}, Zs = { class: "mwnf-dxa-themes-page__image" }, Qs = ["src", "alt"], $s = {
|
|
2980
2985
|
key: 1,
|
|
2981
2986
|
class: "mwnf-dxa-themes-page__caption"
|
|
2982
|
-
},
|
|
2987
|
+
}, ec = ["innerHTML"], tc = { class: "mwnf-dxa-themes-page__info" }, nc = { class: "mwnf-dxa-themes-page__description" }, rc = { class: "mwnf-dxa-themes-page__subthemes" }, ic = { class: "mwnf-dxa-themes-page__subthemes-label" }, ac = { class: "mwnf-dxa-themes-page__gallery" }, oc = {
|
|
2983
2988
|
__name: "Themes",
|
|
2984
2989
|
setup(e) {
|
|
2985
|
-
let { listedThemes: t, pictureById: n, pictureParent: r, romanFor: i, themeText: a } =
|
|
2990
|
+
let { listedThemes: t, pictureById: n, pictureParent: r, romanFor: i, themeText: a } = Ie, { t: o, locale: s } = q(), c = R(!1), l = R(null);
|
|
2986
2991
|
function u(e) {
|
|
2987
2992
|
c.value || (l.value = l.value === e ? null : e);
|
|
2988
2993
|
}
|
|
@@ -2995,7 +3000,7 @@ var Ao = {
|
|
|
2995
3000
|
function p(e) {
|
|
2996
3001
|
let t = e ? r(e) : null;
|
|
2997
3002
|
if (!t) return "";
|
|
2998
|
-
let n =
|
|
3003
|
+
let n = S("items", t.id, s.value);
|
|
2999
3004
|
return [
|
|
3000
3005
|
T("items", t.id),
|
|
3001
3006
|
n.holder,
|
|
@@ -3012,19 +3017,19 @@ var Ao = {
|
|
|
3012
3017
|
numeral: i(e.display_order),
|
|
3013
3018
|
cover: r?.image_url ?? "",
|
|
3014
3019
|
caption: p(r),
|
|
3015
|
-
excerpt: f(
|
|
3016
|
-
to:
|
|
3020
|
+
excerpt: f(kt(String(o.presentation ?? ""))),
|
|
3021
|
+
to: ot(e),
|
|
3017
3022
|
gallery: {
|
|
3018
3023
|
name: "theme-gallery",
|
|
3019
3024
|
params: { id: String(e.display_order - 1) }
|
|
3020
3025
|
},
|
|
3021
3026
|
subThemes: (e.sub_themes ?? []).map((e, t) => ({
|
|
3022
3027
|
label: `${t + 1}. ${a(e, s.value).title ?? e.internal_name ?? ""}`,
|
|
3023
|
-
to:
|
|
3028
|
+
to: ot(e)
|
|
3024
3029
|
}))
|
|
3025
3030
|
};
|
|
3026
3031
|
}));
|
|
3027
|
-
return (e, t) => (L(), M("div",
|
|
3032
|
+
return (e, t) => (L(), M("div", Ws, [N("div", Gs, [N("div", {
|
|
3028
3033
|
class: "mwnf-dxa-themes-page__show-all",
|
|
3029
3034
|
onClick: d
|
|
3030
3035
|
}, [N("span", null, B(c.value ? V(o)("exhibition.themes.collapseAll") : V(o)("exhibition.themes.expandAll")), 1)]), (L(!0), M(O, null, z(m.value, (e) => (L(), M("div", {
|
|
@@ -3035,18 +3040,18 @@ var Ao = {
|
|
|
3035
3040
|
onClick: (t) => u(e.index)
|
|
3036
3041
|
}, [N("span", null, [
|
|
3037
3042
|
P(B(V(o)("exhibition.theme.romanLabel")) + " " + B(e.numeral) + " ▪ ", 1),
|
|
3038
|
-
N("span", { innerHTML: V(K)(e.title) }, null, 8,
|
|
3043
|
+
N("span", { innerHTML: V(K)(e.title) }, null, 8, qs),
|
|
3039
3044
|
c.value ? j("", !0) : (L(), M(O, { key: 0 }, [P(B(l.value === e.index ? "▴" : "▾"), 1)], 64))
|
|
3040
|
-
])], 10,
|
|
3045
|
+
])], 10, Ks), l.value !== e.index && !c.value ? (L(), M("div", Js, [(L(), M(O, null, z(4, (t) => N("img", {
|
|
3041
3046
|
key: t,
|
|
3042
3047
|
src: e.cover,
|
|
3043
3048
|
alt: ""
|
|
3044
|
-
}, null, 8,
|
|
3049
|
+
}, null, 8, Ys)), 64))])) : (L(), M("div", Xs, [N("div", Zs, [e.cover ? (L(), M("img", {
|
|
3045
3050
|
key: 0,
|
|
3046
3051
|
src: e.cover,
|
|
3047
|
-
alt: V(
|
|
3048
|
-
}, null, 8,
|
|
3049
|
-
N("div",
|
|
3052
|
+
alt: V(kt)(e.title)
|
|
3053
|
+
}, null, 8, Qs)) : j("", !0), e.caption ? (L(), M("div", $s, [N("span", { innerHTML: V(K)(e.caption) }, null, 8, ec)])) : j("", !0)]), N("div", tc, [
|
|
3054
|
+
N("div", nc, [
|
|
3050
3055
|
N("span", null, B(e.excerpt), 1),
|
|
3051
3056
|
t[0] ||= P(" " + B(" "), -1),
|
|
3052
3057
|
F(V(Y), {
|
|
@@ -3057,41 +3062,41 @@ var Ao = {
|
|
|
3057
3062
|
_: 1
|
|
3058
3063
|
}, 8, ["to"])
|
|
3059
3064
|
]),
|
|
3060
|
-
N("div",
|
|
3065
|
+
N("div", rc, [N("div", ic, B(V(o)("exhibition.theme.inThisTheme")), 1), (L(!0), M(O, null, z(e.subThemes, (e) => (L(), M("div", { key: e.label }, [F(V(Y), {
|
|
3061
3066
|
to: e.to,
|
|
3062
3067
|
class: "mwnf-dxa-themes-page__link"
|
|
3063
3068
|
}, {
|
|
3064
3069
|
default: H(() => [P(B(e.label), 1)]),
|
|
3065
3070
|
_: 2
|
|
3066
3071
|
}, 1032, ["to"])]))), 128))]),
|
|
3067
|
-
N("div",
|
|
3072
|
+
N("div", ac, [F(V(Y), { to: e.gallery }, {
|
|
3068
3073
|
default: H(() => [P(B(V(o)("exhibition.themes.seeGallery")) + " " + B(e.numeral), 1)]),
|
|
3069
3074
|
_: 2
|
|
3070
3075
|
}, 1032, ["to"])])
|
|
3071
3076
|
])]))]))), 128))])]));
|
|
3072
3077
|
}
|
|
3073
|
-
},
|
|
3078
|
+
}, sc = /* @__PURE__ */ D({ default: () => Tc }), cc = {
|
|
3074
3079
|
key: 0,
|
|
3075
3080
|
class: "mwnf-dxa-theme-gallery-page"
|
|
3076
|
-
},
|
|
3081
|
+
}, lc = { class: "mwnf-dxa-theme-gallery-page__header" }, uc = ["innerHTML"], dc = {
|
|
3077
3082
|
key: 0,
|
|
3078
3083
|
class: "mwnf-dxa-theme-gallery-page__bold"
|
|
3079
|
-
},
|
|
3084
|
+
}, fc = ["innerHTML"], pc = { class: "mwnf-dxa-theme-gallery-page__wrapper" }, mc = { class: "mwnf-dxa-theme-gallery-page__content" }, hc = { class: "mwnf-dxa-theme-gallery-page__objects" }, gc = { class: "mwnf-dxa-theme-gallery-page__filter" }, _c = { class: "mwnf-dxa-theme-gallery-page__label" }, vc = ["disabled", "value"], yc = {
|
|
3080
3085
|
value: "",
|
|
3081
3086
|
disabled: ""
|
|
3082
|
-
},
|
|
3087
|
+
}, bc = ["value"], xc = {
|
|
3083
3088
|
key: 0,
|
|
3084
3089
|
class: "mwnf-dxa-theme-gallery-page__reset"
|
|
3085
|
-
},
|
|
3090
|
+
}, Sc = {
|
|
3086
3091
|
key: 0,
|
|
3087
3092
|
class: "mwnf-dxa-theme-gallery-page__top"
|
|
3088
|
-
},
|
|
3093
|
+
}, Cc = ["aria-label"], wc = {
|
|
3089
3094
|
key: 1,
|
|
3090
3095
|
class: "mwnf-loader"
|
|
3091
|
-
},
|
|
3096
|
+
}, Tc = {
|
|
3092
3097
|
__name: "ThemeGallery",
|
|
3093
3098
|
setup(t) {
|
|
3094
|
-
let { pictureParent: n, romanFor: r, themeByRouteId: i, themeText: a, themePictures: o } =
|
|
3099
|
+
let { pictureParent: n, romanFor: r, themeByRouteId: i, themeText: a, themePictures: o } = Ie, s = X(), c = Rt(), { t: l, locale: u } = q(), d = k(() => i(s.params.id)), f = k(() => d.value?.sub_themes ?? []), p = k(() => {
|
|
3095
3100
|
let e = Number(s.params.subtheme);
|
|
3096
3101
|
return Number.isInteger(e) && e >= 1 && e <= f.value.length ? e : null;
|
|
3097
3102
|
}), m = (e) => a(e, u.value).title ?? e?.internal_name ?? "";
|
|
@@ -3113,7 +3118,7 @@ var Ao = {
|
|
|
3113
3118
|
let a = n(e);
|
|
3114
3119
|
if (!a || !e.image_url || r.has(e.image_url)) continue;
|
|
3115
3120
|
r.add(e.image_url);
|
|
3116
|
-
let o =
|
|
3121
|
+
let o = S("items", a.id, u.value), s = S("themes", `${i.id}/${e.picture_item_id}`, u.value).image_caption ?? "", c = K(T("items", a.id));
|
|
3117
3122
|
t.push({
|
|
3118
3123
|
id: e.picture_item_id,
|
|
3119
3124
|
image: e.image_url,
|
|
@@ -3134,53 +3139,53 @@ var Ao = {
|
|
|
3134
3139
|
}), v = R(!1), y = () => {
|
|
3135
3140
|
v.value = document.body.scrollHeight > window.innerHeight;
|
|
3136
3141
|
};
|
|
3137
|
-
|
|
3142
|
+
ft(() => {
|
|
3138
3143
|
y(), window.addEventListener("scroll", y), window.addEventListener("resize", y);
|
|
3139
|
-
}),
|
|
3144
|
+
}), dt(() => {
|
|
3140
3145
|
window.removeEventListener("scroll", y), window.removeEventListener("resize", y);
|
|
3141
3146
|
});
|
|
3142
3147
|
let ee = () => window.scrollTo({
|
|
3143
3148
|
top: 0,
|
|
3144
3149
|
behavior: "smooth"
|
|
3145
3150
|
});
|
|
3146
|
-
return (t, n) => d.value ? (L(), M("div",
|
|
3151
|
+
return (t, n) => d.value ? (L(), M("div", cc, [
|
|
3147
3152
|
F(e),
|
|
3148
|
-
N("div",
|
|
3153
|
+
N("div", lc, [N("span", null, [
|
|
3149
3154
|
P(B(V(l)("exhibition.theme.romanLabel")) + " " + B(V(r)(d.value.display_order)) + " | ", 1),
|
|
3150
3155
|
N("span", {
|
|
3151
3156
|
class: "mwnf-dxa-theme-gallery-page__bold",
|
|
3152
3157
|
innerHTML: V(K)(m(d.value))
|
|
3153
|
-
}, null, 8,
|
|
3154
|
-
p.value ? (L(), M("span",
|
|
3158
|
+
}, null, 8, uc),
|
|
3159
|
+
p.value ? (L(), M("span", dc, [n[2] ||= P(" ▪ ", -1), N("span", { innerHTML: V(K)(m(f.value[p.value - 1])) }, null, 8, fc)])) : j("", !0),
|
|
3155
3160
|
P(" | " + B(V(l)("exhibition.theme.galleryLabel")), 1)
|
|
3156
3161
|
])]),
|
|
3157
|
-
N("div",
|
|
3162
|
+
N("div", pc, [N("div", mc, [N("div", hc, [F($, {
|
|
3158
3163
|
rows: _.value,
|
|
3159
3164
|
family: "exhibition"
|
|
3160
|
-
}, null, 8, ["rows"])]), N("div",
|
|
3161
|
-
N("div",
|
|
3165
|
+
}, null, 8, ["rows"])]), N("div", gc, [
|
|
3166
|
+
N("div", _c, B(V(l)("exhibition.themeGallery.filterBy")), 1),
|
|
3162
3167
|
N("select", {
|
|
3163
3168
|
class: "mwnf-dxa-theme-gallery-page__select",
|
|
3164
3169
|
disabled: !_.value.length,
|
|
3165
3170
|
value: p.value ? String(p.value) : "",
|
|
3166
3171
|
onChange: n[0] ||= (e) => h(e.target.value)
|
|
3167
|
-
}, [N("option",
|
|
3172
|
+
}, [N("option", yc, B(V(l)("exhibition.themeGallery.select")), 1), (L(!0), M(O, null, z(f.value, (e, t) => (L(), M("option", {
|
|
3168
3173
|
key: e.id,
|
|
3169
3174
|
value: String(t + 1)
|
|
3170
|
-
}, B(t + 1) + ". " + B(m(e)), 9,
|
|
3171
|
-
p.value ? (L(), M("div",
|
|
3175
|
+
}, B(t + 1) + ". " + B(m(e)), 9, bc))), 128))], 40, vc),
|
|
3176
|
+
p.value ? (L(), M("div", xc, [N("button", {
|
|
3172
3177
|
type: "button",
|
|
3173
3178
|
onClick: n[1] ||= (e) => h("")
|
|
3174
3179
|
}, B(V(l)("exhibition.theme.seeAllInTheme")), 1)])) : j("", !0)
|
|
3175
3180
|
])])]),
|
|
3176
|
-
v.value ? (L(), M("div",
|
|
3181
|
+
v.value ? (L(), M("div", Sc, [N("button", {
|
|
3177
3182
|
type: "button",
|
|
3178
3183
|
"aria-label": V(l)("exhibition.themeGallery.top"),
|
|
3179
3184
|
onClick: ee
|
|
3180
|
-
}, "⌃", 8,
|
|
3181
|
-
])) : (L(), M("div",
|
|
3185
|
+
}, "⌃", 8, Cc)])) : j("", !0)
|
|
3186
|
+
])) : (L(), M("div", wc, B(V(l)("exhibition.theme.notInExhibition")), 1));
|
|
3182
3187
|
}
|
|
3183
|
-
},
|
|
3188
|
+
}, Ec = /* @__PURE__ */ D({ default: () => Dc }), Dc = {
|
|
3184
3189
|
__name: "ItemDetail",
|
|
3185
3190
|
props: { id: {
|
|
3186
3191
|
type: String,
|
|
@@ -3196,17 +3201,18 @@ var Ao = {
|
|
|
3196
3201
|
workingNumber: "exhibition.sheet.workingNumber",
|
|
3197
3202
|
relatedAudio: "exhibition.sheet.relatedAudio",
|
|
3198
3203
|
relatedVideos: "exhibition.sheet.relatedVideos",
|
|
3199
|
-
relatedObjects: "exhibition.related.objects"
|
|
3200
|
-
|
|
3201
|
-
|
|
3204
|
+
relatedObjects: "exhibition.related.objects",
|
|
3205
|
+
relatedMonuments: "exhibition.related.monuments"
|
|
3206
|
+
}, n = (e) => Re.value.get(e);
|
|
3207
|
+
return (r, i) => (L(), A(it, {
|
|
3202
3208
|
id: e.id,
|
|
3203
|
-
"item-detail": V(
|
|
3209
|
+
"item-detail": V(Pe),
|
|
3204
3210
|
"data-getter": n,
|
|
3205
3211
|
words: t,
|
|
3206
3212
|
class: "mwnf-dxa-exhibition-item"
|
|
3207
3213
|
}, null, 8, ["id", "item-detail"]));
|
|
3208
3214
|
}
|
|
3209
|
-
},
|
|
3215
|
+
}, Oc = /* @__PURE__ */ D({ default: () => Uc }), kc = { class: "mwnf-dxa-related-page" }, Ac = { class: "mwnf-dxa-related-page__container" }, jc = { key: 0 }, Mc = { class: "mwnf-dxa-related-page__heading" }, Nc = ["innerHTML"], Pc = ["innerHTML"], Fc = { key: 2 }, Ic = { key: 3 }, Lc = ["href", "innerHTML"], Rc = ["innerHTML"], zc = { key: 4 }, Bc = ["href"], Vc = ["innerHTML"], Hc = ["innerHTML"], Uc = {
|
|
3210
3216
|
__name: "RelatedContent",
|
|
3211
3217
|
setup(t) {
|
|
3212
3218
|
let n = {
|
|
@@ -3221,11 +3227,11 @@ var Ao = {
|
|
|
3221
3227
|
4
|
|
3222
3228
|
], { t: i, locale: a } = q(), o = (e) => e?.[a.value] ?? e?.en ?? "";
|
|
3223
3229
|
function s(e) {
|
|
3224
|
-
let t = e.document_path ?
|
|
3230
|
+
let t = e.document_path ? He(e.document_path, "hi_res") : "";
|
|
3225
3231
|
return {
|
|
3226
|
-
reading:
|
|
3232
|
+
reading: Ot(o(e.texts) || e.further_reading || ""),
|
|
3227
3233
|
partner: e.partner_name ? K(e.partner_name) : "",
|
|
3228
|
-
place: [e.entity_location, e.entity_country ?
|
|
3234
|
+
place: [e.entity_location, e.entity_country ? Be(e.entity_country) : ""].filter(Boolean).join(", "),
|
|
3229
3235
|
title: o(e.titles) ? K(o(e.titles)) : "",
|
|
3230
3236
|
href: t || e.url || "",
|
|
3231
3237
|
byline: [e.authors, e.type_resource].filter(Boolean).map((e) => K(e)).join(", "),
|
|
@@ -3234,7 +3240,7 @@ var Ao = {
|
|
|
3234
3240
|
}
|
|
3235
3241
|
let c = k(() => {
|
|
3236
3242
|
let e = /* @__PURE__ */ new Map();
|
|
3237
|
-
for (let t of
|
|
3243
|
+
for (let t of we.value ?? []) {
|
|
3238
3244
|
let n = e.get(t.category_id);
|
|
3239
3245
|
n ? n.push(t) : e.set(t.category_id, [t]);
|
|
3240
3246
|
}
|
|
@@ -3244,81 +3250,81 @@ var Ao = {
|
|
|
3244
3250
|
entries: [...e.get(t)].sort((e, t) => (e.display_order ?? 0) - (t.display_order ?? 0)).map(s)
|
|
3245
3251
|
}));
|
|
3246
3252
|
});
|
|
3247
|
-
return (t, n) => (L(), M("div",
|
|
3253
|
+
return (t, n) => (L(), M("div", kc, [F(e), N("div", Ac, [c.value.length ? j("", !0) : (L(), M("p", jc, B(V(i)("exhibition.related.notAvailable")), 1)), (L(!0), M(O, null, z(c.value, (e) => (L(), M("div", {
|
|
3248
3254
|
key: e.id,
|
|
3249
3255
|
class: "mwnf-dxa-related-page__category"
|
|
3250
|
-
}, [N("div",
|
|
3256
|
+
}, [N("div", Mc, B(V(i)(e.heading)), 1), (L(!0), M(O, null, z(e.entries, (e, t) => (L(), M("div", {
|
|
3251
3257
|
key: t,
|
|
3252
3258
|
class: "mwnf-dxa-related-page__entry"
|
|
3253
3259
|
}, [
|
|
3254
3260
|
e.reading ? (L(), M("div", {
|
|
3255
3261
|
key: 0,
|
|
3256
3262
|
innerHTML: e.reading
|
|
3257
|
-
}, null, 8,
|
|
3263
|
+
}, null, 8, Nc)) : j("", !0),
|
|
3258
3264
|
e.partner ? (L(), M("div", {
|
|
3259
3265
|
key: 1,
|
|
3260
3266
|
innerHTML: e.partner
|
|
3261
|
-
}, null, 8,
|
|
3262
|
-
e.place ? (L(), M("div",
|
|
3263
|
-
e.title ? (L(), M("div",
|
|
3267
|
+
}, null, 8, Pc)) : j("", !0),
|
|
3268
|
+
e.place ? (L(), M("div", Fc, B(e.place), 1)) : j("", !0),
|
|
3269
|
+
e.title ? (L(), M("div", Ic, [e.href ? (L(), M("a", {
|
|
3264
3270
|
key: 0,
|
|
3265
3271
|
href: e.href,
|
|
3266
3272
|
target: "_blank",
|
|
3267
3273
|
rel: "noopener",
|
|
3268
3274
|
innerHTML: e.title
|
|
3269
|
-
}, null, 8,
|
|
3275
|
+
}, null, 8, Lc)) : (L(), M("span", {
|
|
3270
3276
|
key: 1,
|
|
3271
3277
|
innerHTML: e.title
|
|
3272
|
-
}, null, 8,
|
|
3278
|
+
}, null, 8, Rc))])) : e.href ? (L(), M("div", zc, [N("a", {
|
|
3273
3279
|
href: e.href,
|
|
3274
3280
|
target: "_blank",
|
|
3275
3281
|
rel: "noopener"
|
|
3276
|
-
}, B(e.href), 9,
|
|
3282
|
+
}, B(e.href), 9, Bc)])) : j("", !0),
|
|
3277
3283
|
e.byline ? (L(), M("div", {
|
|
3278
3284
|
key: 5,
|
|
3279
3285
|
innerHTML: e.byline
|
|
3280
|
-
}, null, 8,
|
|
3286
|
+
}, null, 8, Vc)) : j("", !0),
|
|
3281
3287
|
e.description ? (L(), M("div", {
|
|
3282
3288
|
key: 6,
|
|
3283
3289
|
innerHTML: e.description
|
|
3284
|
-
}, null, 8,
|
|
3290
|
+
}, null, 8, Hc)) : j("", !0)
|
|
3285
3291
|
]))), 128))]))), 128))])]));
|
|
3286
3292
|
}
|
|
3287
|
-
},
|
|
3293
|
+
}, Wc = /* @__PURE__ */ D({ default: () => al }), Gc = { class: "mwnf-dxa-timeline mwnf-dxa-exhibition-timeline" }, Kc = { class: "mwnf-dxa-timeline__entrance" }, qc = [
|
|
3288
3294
|
"value",
|
|
3289
3295
|
"aria-label",
|
|
3290
3296
|
"onChange"
|
|
3291
|
-
],
|
|
3297
|
+
], Jc = {
|
|
3292
3298
|
disabled: "",
|
|
3293
3299
|
value: ""
|
|
3294
|
-
},
|
|
3300
|
+
}, Yc = ["value"], Xc = { class: "mwnf-dxa-timeline__dates" }, Zc = [
|
|
3295
3301
|
"value",
|
|
3296
3302
|
"aria-label",
|
|
3297
3303
|
"onChange"
|
|
3298
|
-
],
|
|
3304
|
+
], Qc = {
|
|
3299
3305
|
disabled: "",
|
|
3300
3306
|
value: ""
|
|
3301
|
-
},
|
|
3307
|
+
}, $c = ["value"], el = [
|
|
3302
3308
|
"value",
|
|
3303
3309
|
"aria-label",
|
|
3304
3310
|
"onChange"
|
|
3305
|
-
],
|
|
3311
|
+
], tl = {
|
|
3306
3312
|
disabled: "",
|
|
3307
3313
|
value: ""
|
|
3308
|
-
},
|
|
3314
|
+
}, nl = ["value"], rl = { class: "mwnf-dxa-timeline__go" }, il = ["onClick"], al = {
|
|
3309
3315
|
__name: "Timeline",
|
|
3310
3316
|
setup(e) {
|
|
3311
3317
|
let t = {
|
|
3312
3318
|
"catalogue.era.ad": "exhibition.era.ad",
|
|
3313
3319
|
"catalogue.era.bc": "exhibition.era.bc"
|
|
3314
|
-
}, n = ({ years: e, t: n }) =>
|
|
3315
|
-
...
|
|
3320
|
+
}, n = ({ years: e, t: n }) => Lt(e.min, e.max, It(n, t)), r = k(() => ({
|
|
3321
|
+
...w.value,
|
|
3316
3322
|
entrance: !0,
|
|
3317
|
-
controls:
|
|
3323
|
+
controls: w.value.controls.map((e) => e.options ? {
|
|
3318
3324
|
...e,
|
|
3319
3325
|
options: n
|
|
3320
3326
|
} : e)
|
|
3321
|
-
})), i = k(() =>
|
|
3327
|
+
})), i = k(() => w.value.scope === "country");
|
|
3322
3328
|
function a({ filters: e, options: t, go: n }) {
|
|
3323
3329
|
let r = t.begin ?? [], a = t.end ?? [];
|
|
3324
3330
|
n({
|
|
@@ -3327,40 +3333,40 @@ var Ao = {
|
|
|
3327
3333
|
end: e.end || a.at(-1)?.value
|
|
3328
3334
|
});
|
|
3329
3335
|
}
|
|
3330
|
-
return (e, t) => (L(), M("div",
|
|
3336
|
+
return (e, t) => (L(), M("div", Gc, [F(Xe, {
|
|
3331
3337
|
spec: r.value,
|
|
3332
3338
|
class: "mwnf-dxa-timeline__form"
|
|
3333
3339
|
}, {
|
|
3334
|
-
form: H((e) => [N("div",
|
|
3340
|
+
form: H((e) => [N("div", Kc, [
|
|
3335
3341
|
i.value && e.countries?.length ? (L(), M("select", {
|
|
3336
3342
|
key: 0,
|
|
3337
3343
|
class: "mwnf-dxa-timeline__country",
|
|
3338
3344
|
value: e.filters.country,
|
|
3339
3345
|
"aria-label": e.t("exhibition.timeline.selectCountry"),
|
|
3340
3346
|
onChange: (t) => e.filters.country = t.target.value
|
|
3341
|
-
}, [N("option",
|
|
3347
|
+
}, [N("option", Jc, B(e.t("exhibition.timeline.selectCountry")), 1), (L(!0), M(O, null, z(e.countries, (e) => (L(), M("option", {
|
|
3342
3348
|
key: e.value,
|
|
3343
3349
|
value: e.value
|
|
3344
|
-
}, B(e.label), 9,
|
|
3345
|
-
N("div",
|
|
3350
|
+
}, B(e.label), 9, Yc))), 128))], 40, qc)) : j("", !0),
|
|
3351
|
+
N("div", Xc, [N("select", {
|
|
3346
3352
|
value: e.filters.begin,
|
|
3347
3353
|
"aria-label": e.t("exhibition.collection.startDate"),
|
|
3348
3354
|
onChange: (t) => e.filters.begin = t.target.value
|
|
3349
|
-
}, [N("option",
|
|
3355
|
+
}, [N("option", Qc, B(e.t("exhibition.collection.startDate")), 1), (L(!0), M(O, null, z(e.options.begin ?? [], (e) => (L(), M("option", {
|
|
3350
3356
|
key: e.value,
|
|
3351
3357
|
value: e.value
|
|
3352
|
-
}, B(e.label), 9,
|
|
3358
|
+
}, B(e.label), 9, $c))), 128))], 40, Zc), N("select", {
|
|
3353
3359
|
value: e.filters.end,
|
|
3354
3360
|
"aria-label": e.t("exhibition.collection.endDate"),
|
|
3355
3361
|
onChange: (t) => e.filters.end = t.target.value
|
|
3356
|
-
}, [N("option",
|
|
3362
|
+
}, [N("option", tl, B(e.t("exhibition.collection.endDate")), 1), (L(!0), M(O, null, z(e.options.end ?? [], (e) => (L(), M("option", {
|
|
3357
3363
|
key: e.value,
|
|
3358
3364
|
value: e.value
|
|
3359
|
-
}, B(e.label), 9,
|
|
3360
|
-
N("div",
|
|
3365
|
+
}, B(e.label), 9, nl))), 128))], 40, el)]),
|
|
3366
|
+
N("div", rl, [N("button", {
|
|
3361
3367
|
type: "button",
|
|
3362
3368
|
onClick: (t) => a(e)
|
|
3363
|
-
}, B(e.t("core.action.go")), 9,
|
|
3369
|
+
}, B(e.t("core.action.go")), 9, il)])
|
|
3364
3370
|
])]),
|
|
3365
3371
|
_: 1
|
|
3366
3372
|
}, 8, ["spec"]), F(V(W), {
|
|
@@ -3369,28 +3375,28 @@ var Ao = {
|
|
|
3369
3375
|
keypath: "exhibition.timeline.intro"
|
|
3370
3376
|
})]));
|
|
3371
3377
|
}
|
|
3372
|
-
},
|
|
3378
|
+
}, ol = { class: "mwnf-picture-gallery" }, sl = {
|
|
3373
3379
|
key: 0,
|
|
3374
3380
|
class: "mwnf-picture-gallery__selected"
|
|
3375
|
-
},
|
|
3381
|
+
}, cl = { class: "mwnf-picture-gallery__image" }, ll = ["src", "alt"], ul = { class: "mwnf-picture-gallery__details" }, dl = { class: "mwnf-picture-gallery__detail mwnf-picture-gallery__detail--title" }, fl = { key: 0 }, pl = ["innerHTML"], ml = {
|
|
3376
3382
|
key: 0,
|
|
3377
3383
|
class: "mwnf-picture-gallery__label"
|
|
3378
|
-
},
|
|
3384
|
+
}, hl = ["innerHTML"], gl = {
|
|
3379
3385
|
key: 0,
|
|
3380
3386
|
class: "mwnf-picture-gallery__detail"
|
|
3381
|
-
},
|
|
3387
|
+
}, _l = {
|
|
3382
3388
|
key: 2,
|
|
3383
3389
|
class: "mwnf-picture-gallery__unresolved"
|
|
3384
|
-
},
|
|
3390
|
+
}, vl = {
|
|
3385
3391
|
key: 1,
|
|
3386
3392
|
class: "mwnf-picture-gallery__empty"
|
|
3387
|
-
},
|
|
3393
|
+
}, yl = {
|
|
3388
3394
|
key: 2,
|
|
3389
3395
|
class: "mwnf-picture-gallery__strip"
|
|
3390
|
-
},
|
|
3396
|
+
}, bl = { class: "mwnf-picture-gallery__thumbs" }, xl = ["onClick"], Sl = ["src", "alt"], Cl = { class: "mwnf-picture-gallery__thumb-text" }, wl = { key: 0 }, Tl = ["innerHTML"], El = { key: 1 }, Dl = {
|
|
3391
3397
|
key: 0,
|
|
3392
3398
|
class: "mwnf-picture-gallery__toggle"
|
|
3393
|
-
},
|
|
3399
|
+
}, Ol = {
|
|
3394
3400
|
__name: "PictureGallery",
|
|
3395
3401
|
props: {
|
|
3396
3402
|
pictures: {
|
|
@@ -3425,23 +3431,23 @@ var Ao = {
|
|
|
3425
3431
|
emits: ["update:selectedId"],
|
|
3426
3432
|
setup(e, { emit: t }) {
|
|
3427
3433
|
let r = e, i = t, { t: a } = q(), o = k(() => r.pictures.find((e) => e.id === r.selectedId) ?? null), s = k(() => r.pictures.some((e) => e.backRelated?.length)), c = R(!1);
|
|
3428
|
-
|
|
3434
|
+
bt(() => r.pictures, () => {
|
|
3429
3435
|
c.value = !1;
|
|
3430
3436
|
});
|
|
3431
3437
|
let l = k(() => c.value ? r.pictures : r.pictures.filter((e) => !e.backRelated?.length));
|
|
3432
3438
|
function u(e) {
|
|
3433
3439
|
i("update:selectedId", e.id);
|
|
3434
3440
|
}
|
|
3435
|
-
return (t, r) => (L(), M("div",
|
|
3441
|
+
return (t, r) => (L(), M("div", ol, [o.value ? (L(), M("div", sl, [N("div", cl, [N("img", {
|
|
3436
3442
|
src: o.value.image,
|
|
3437
3443
|
alt: o.value.imageAlt ?? ""
|
|
3438
|
-
}, null, 8,
|
|
3439
|
-
N("div",
|
|
3444
|
+
}, null, 8, ll)]), N("div", ul, [
|
|
3445
|
+
N("div", dl, [o.value.imageCaption ? (L(), M("span", fl, B(o.value.imageCaption) + ", ", 1)) : j("", !0), N("span", { innerHTML: o.value.name }, null, 8, pl)]),
|
|
3440
3446
|
(L(!0), M(O, null, z(o.value.fields ?? [], (e, t) => (L(), M("div", {
|
|
3441
3447
|
key: t,
|
|
3442
3448
|
class: "mwnf-picture-gallery__detail"
|
|
3443
|
-
}, [e.label ? (L(), M("span",
|
|
3444
|
-
o.value.detail ? (L(), M("div",
|
|
3449
|
+
}, [e.label ? (L(), M("span", ml, B(e.label), 1)) : j("", !0), N("span", { innerHTML: e.value }, null, 8, hl)]))), 128)),
|
|
3450
|
+
o.value.detail ? (L(), M("div", gl, B(o.value.detail), 1)) : j("", !0),
|
|
3445
3451
|
o.value.to ? (L(), A(n, {
|
|
3446
3452
|
key: 1,
|
|
3447
3453
|
class: "mwnf-picture-gallery__link",
|
|
@@ -3449,8 +3455,8 @@ var Ao = {
|
|
|
3449
3455
|
}, {
|
|
3450
3456
|
default: H(() => [P(B(V(a)(e.seeItemEntry)) + " →", 1)]),
|
|
3451
3457
|
_: 1
|
|
3452
|
-
}, 8, ["to"])) : (L(), M("div",
|
|
3453
|
-
])])) : (L(), M("div",
|
|
3458
|
+
}, 8, ["to"])) : (L(), M("div", _l, B(V(a)(e.unresolvedEntry)), 1))
|
|
3459
|
+
])])) : (L(), M("div", vl, B(V(a)(e.emptyEntry)), 1)), e.pictures.length ? (L(), M("div", yl, [N("ul", bl, [(L(!0), M(O, null, z(l.value, (t) => (L(), M("li", {
|
|
3454
3460
|
key: t.id,
|
|
3455
3461
|
class: I(["mwnf-picture-gallery__thumb", {
|
|
3456
3462
|
"mwnf-picture-gallery__thumb--active": t.id === e.selectedId,
|
|
@@ -3463,31 +3469,31 @@ var Ao = {
|
|
|
3463
3469
|
src: t.image,
|
|
3464
3470
|
alt: t.imageAlt ?? "",
|
|
3465
3471
|
loading: "lazy"
|
|
3466
|
-
}, null, 8,
|
|
3467
|
-
t.imageCaption ? (L(), M("span",
|
|
3472
|
+
}, null, 8, Sl)], 8, xl), N("div", Cl, [
|
|
3473
|
+
t.imageCaption ? (L(), M("span", wl, B(t.imageCaption) + ", ", 1)) : j("", !0),
|
|
3468
3474
|
N("span", {
|
|
3469
3475
|
class: "mwnf-picture-gallery__thumb-name",
|
|
3470
3476
|
innerHTML: t.name
|
|
3471
|
-
}, null, 8,
|
|
3472
|
-
t.detail ? (L(), M("span",
|
|
3473
|
-
])], 2))), 128))]), s.value ? (L(), M("label",
|
|
3477
|
+
}, null, 8, Tl),
|
|
3478
|
+
t.detail ? (L(), M("span", El, ", " + B(t.detail), 1)) : j("", !0)
|
|
3479
|
+
])], 2))), 128))]), s.value ? (L(), M("label", Dl, [U(N("input", {
|
|
3474
3480
|
"onUpdate:modelValue": r[0] ||= (e) => c.value = e,
|
|
3475
3481
|
type: "checkbox"
|
|
3476
|
-
}, null, 512), [[
|
|
3482
|
+
}, null, 512), [[gt, c.value]]), N("span", null, B(c.value ? V(a)(e.hideRelatedEntry) : V(a)(e.addRelatedEntry)), 1)])) : j("", !0)])) : j("", !0)]));
|
|
3477
3483
|
}
|
|
3478
|
-
},
|
|
3484
|
+
}, kl = {
|
|
3479
3485
|
key: 0,
|
|
3480
3486
|
class: "mwnf-picture-narrative"
|
|
3481
|
-
},
|
|
3487
|
+
}, Al = ["innerHTML"], jl = {
|
|
3482
3488
|
key: 1,
|
|
3483
3489
|
class: "mwnf-picture-narrative__related"
|
|
3484
|
-
},
|
|
3490
|
+
}, Ml = { class: "mwnf-picture-narrative__heading" }, Nl = { class: "mwnf-picture-narrative__images" }, Pl = { class: "mwnf-picture-narrative__image mwnf-picture-narrative__image--main" }, Fl = ["src", "alt"], Il = { class: "mwnf-picture-narrative__thumb-text" }, Ll = ["innerHTML"], Rl = { key: 0 }, zl = ["onClick"], Bl = ["src", "alt"], Vl = { class: "mwnf-picture-narrative__thumb-text" }, Hl = ["innerHTML"], Ul = { key: 0 }, Wl = {
|
|
3485
3491
|
key: 0,
|
|
3486
3492
|
class: "mwnf-picture-narrative__relation"
|
|
3487
|
-
},
|
|
3493
|
+
}, Gl = {
|
|
3488
3494
|
key: 2,
|
|
3489
3495
|
class: "mwnf-picture-narrative__related"
|
|
3490
|
-
},
|
|
3496
|
+
}, Kl = { class: "mwnf-picture-narrative__heading" }, ql = { class: "mwnf-picture-narrative__text mwnf-picture-narrative__text--reciprocal" }, Jl = { class: "mwnf-picture-narrative__image" }, Yl = ["src", "alt"], Xl = { class: "mwnf-picture-narrative__thumb-text" }, Zl = ["innerHTML"], Ql = { key: 0 }, $l = {
|
|
3491
3497
|
__name: "PictureNarrative",
|
|
3492
3498
|
props: {
|
|
3493
3499
|
picture: {
|
|
@@ -3509,20 +3515,20 @@ var Ao = {
|
|
|
3509
3515
|
},
|
|
3510
3516
|
emits: ["select"],
|
|
3511
3517
|
setup(e, { emit: t }) {
|
|
3512
|
-
let n = e, r = t, { t: i } = q(), a = k(() => n.contextualDescription ?
|
|
3518
|
+
let n = e, r = t, { t: i } = q(), a = k(() => n.contextualDescription ? Ot(n.contextualDescription, { breaks: !0 }) : ""), o = k(() => n.picture?.related ?? []), s = k(() => n.picture?.backRelated?.[0] ?? null);
|
|
3513
3519
|
function c(e) {
|
|
3514
3520
|
r("select", e.id);
|
|
3515
3521
|
}
|
|
3516
|
-
return (t, n) => e.picture ? (L(), M("div",
|
|
3522
|
+
return (t, n) => e.picture ? (L(), M("div", kl, [
|
|
3517
3523
|
a.value ? (L(), M("div", {
|
|
3518
3524
|
key: 0,
|
|
3519
3525
|
class: "mwnf-picture-narrative__text mwnf-sheet__block",
|
|
3520
3526
|
innerHTML: a.value
|
|
3521
|
-
}, null, 8,
|
|
3522
|
-
o.value.length ? (L(), M("div",
|
|
3527
|
+
}, null, 8, Al)) : j("", !0),
|
|
3528
|
+
o.value.length ? (L(), M("div", jl, [N("div", Ml, B(V(i)(e.relatedHeadingEntry)), 1), N("div", Nl, [N("div", Pl, [N("img", {
|
|
3523
3529
|
src: e.picture.image,
|
|
3524
3530
|
alt: e.picture.imageAlt ?? ""
|
|
3525
|
-
}, null, 8,
|
|
3531
|
+
}, null, 8, Fl), N("div", Il, [N("span", { innerHTML: e.picture.name }, null, 8, Ll), e.picture.detail ? (L(), M("span", Rl, ", " + B(e.picture.detail), 1)) : j("", !0)])]), (L(!0), M(O, null, z(o.value, (e) => (L(), M("div", {
|
|
3526
3532
|
key: e.picture.id,
|
|
3527
3533
|
class: "mwnf-picture-narrative__image"
|
|
3528
3534
|
}, [
|
|
@@ -3532,22 +3538,22 @@ var Ao = {
|
|
|
3532
3538
|
}, [N("img", {
|
|
3533
3539
|
src: e.picture.image,
|
|
3534
3540
|
alt: e.picture.imageAlt ?? ""
|
|
3535
|
-
}, null, 8,
|
|
3536
|
-
N("div",
|
|
3537
|
-
e.text ? (L(), M("div",
|
|
3541
|
+
}, null, 8, Bl)], 8, zl),
|
|
3542
|
+
N("div", Vl, [N("span", { innerHTML: e.picture.name }, null, 8, Hl), e.picture.detail ? (L(), M("span", Ul, ", " + B(e.picture.detail), 1)) : j("", !0)]),
|
|
3543
|
+
e.text ? (L(), M("div", Wl, B(e.text), 1)) : j("", !0)
|
|
3538
3544
|
]))), 128))])])) : j("", !0),
|
|
3539
|
-
s.value ? (L(), M("div",
|
|
3540
|
-
N("div",
|
|
3541
|
-
N("p",
|
|
3542
|
-
N("div",
|
|
3545
|
+
s.value ? (L(), M("div", Gl, [
|
|
3546
|
+
N("div", Kl, B(V(i)(e.relatedHeadingEntry)), 1),
|
|
3547
|
+
N("p", ql, B(s.value.reciprocalText || V(i)(e.reciprocalFallbackEntry)), 1),
|
|
3548
|
+
N("div", Jl, [N("button", {
|
|
3543
3549
|
type: "button",
|
|
3544
3550
|
onClick: n[0] ||= (e) => c(s.value.picture)
|
|
3545
3551
|
}, [N("img", {
|
|
3546
3552
|
src: s.value.picture.image,
|
|
3547
3553
|
alt: s.value.picture.imageAlt ?? ""
|
|
3548
|
-
}, null, 8,
|
|
3554
|
+
}, null, 8, Yl)]), N("div", Xl, [N("span", { innerHTML: s.value.picture.name }, null, 8, Zl), s.value.picture.detail ? (L(), M("span", Ql, ", " + B(s.value.picture.detail), 1)) : j("", !0)])])
|
|
3549
3555
|
])) : j("", !0)
|
|
3550
3556
|
])) : j("", !0);
|
|
3551
3557
|
}
|
|
3552
3558
|
};
|
|
3553
|
-
export {
|
|
3559
|
+
export { Hs as ExhibitionAbout, Ca as ExhibitionCollectionResults, Ha as ExhibitionCollectionSearch, zs as ExhibitionHome, Dc as ExhibitionItemDetail, Za as ExhibitionPartnerObjects, Lr as ExhibitionPartners, Uc as ExhibitionRelatedContent, Cr as ExhibitionSearchHowTo, oi as ExhibitionSearchResults, Co as ExhibitionShell, at as ExhibitionTheme, Tc as ExhibitionThemeGallery, oc as ExhibitionThemes, al as ExhibitionTimeline, Vi as ExhibitionTimelineGallery, Pi as ExhibitionTimelineResults, Wo as FeaturedPartners, Gt as GalleryAbout, $n as GalleryCollectionResults, hr as GalleryCollectionSearch, Kt as GalleryCredits, vs as GalleryHome, bs as GalleryItemDetail, xr as GalleryPartnerObjects, hn as GalleryPartners, Yt as GallerySearchHowTo, Bn as GallerySearchResults, _o as GalleryShell, Is as GalleryTimeline, Wn as GalleryTimelineGallery, Vn as GalleryTimelineResults, rt as ItemDetailView, Q as LegacyPages, Ut as PartnerDetail, Ol as PictureGallery, $l as PictureNarrative, So as PopupLogo, ls as SiblingGalleries, ct as exhibitionAboutSpec, Ao as exhibitionConfig, be as exhibitionPartnerDetail, st as exhibitionThemeSpec, ko as galleryConfig, _e as galleryPartnerDetail, Eo as projectChips, po as standardRoutes, ot as themeNodeRoute };
|