@museumwnf/viewer-layout 3.60.0 → 3.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{FeaturedRecord-DLYyyRey.js → FeaturedRecord-DaGLHyhD.js} +1 -1
- package/dist/{ItemDetailView-D5T3QXYJ.js → ItemDetailView-BcOSmHfr.js} +31 -21
- package/dist/{OnDisplayIn-CCM5Ahxy.js → OnDisplayIn-CPANKcOd.js} +16 -9
- package/dist/{PartnerMap-BuQo_FLl.js → PartnerMap-U-Hi2FBi.js} +16 -12
- package/dist/RecordView-BE4mbj6G.js +363 -0
- package/dist/{Theme-0bsA_Abx.js → Theme-4RmyRY0x.js} +2 -2
- package/dist/{TimelineEventList-e1fNm28F.js → TimelineEventList-1feZA5t7.js} +1 -1
- package/dist/{TimelineResultsView-Cl_LcM--.js → TimelineResultsView-CkH3NDqL.js} +2 -2
- package/dist/{content-BzSJircQ.js → content-BNS5U0Xv.js} +2 -2
- package/dist/content.js +5 -5
- package/dist/data-DzrH9ikw.js +45 -0
- package/dist/dxa.js +632 -422
- package/dist/index.js +5 -5
- package/dist/standalone.js +2 -2
- package/dist/viewer-layout.css +1 -1
- package/dist/views.js +4 -4
- package/package.json +3 -3
- package/src/dxa/testing.js +58 -23
- package/src/styles/dxa-gallery.css +30 -5
- package/src/tokens.reference.css +1 -0
- package/dist/RecordView-n7bbQUg2.js +0 -345
- package/dist/data-EKYeMQcC.js +0 -45
package/dist/dxa.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { s as e } from "./OnDisplayIn-
|
|
2
|
-
import { a as t, i as n, n as r, o as i, s as a } from "./TimelineEventList-
|
|
3
|
-
import { c as o, d as s } from "./PartnerMap-
|
|
4
|
-
import { t as c } from "./RecordView-
|
|
5
|
-
import { A as l, C as u, D as d, E as f, M as p,
|
|
6
|
-
import { A as
|
|
7
|
-
import { a as
|
|
8
|
-
import { t as
|
|
9
|
-
import { i as
|
|
10
|
-
import { i as
|
|
11
|
-
import { t as
|
|
12
|
-
import { a as k, i as
|
|
13
|
-
import { n as
|
|
14
|
-
import { Fragment as A, computed as j, createBlock as M, createCommentVNode as N, createElementBlock as P, createElementVNode as F, createSlots as
|
|
15
|
-
import { I18nText as G, NotFoundView as
|
|
16
|
-
import { RouterLink as
|
|
1
|
+
import { s as e } from "./OnDisplayIn-CPANKcOd.js";
|
|
2
|
+
import { a as t, i as n, n as r, o as i, s as a } from "./TimelineEventList-1feZA5t7.js";
|
|
3
|
+
import { c as o, d as s } from "./PartnerMap-U-Hi2FBi.js";
|
|
4
|
+
import { t as c } from "./RecordView-BE4mbj6G.js";
|
|
5
|
+
import { A as l, C as u, D as d, E as f, M as p, O as m, S as h, T as ee, _ as te, a as g, b as _, c as ne, d as re, f as v, g as y, h as ie, i as ae, j as oe, k as se, l as b, m as ce, n as le, o as ue, p as de, r as fe, s as pe, t as me, u as he, v as ge, w as _e, x as ve, y as ye } from "./data-DzrH9ikw.js";
|
|
6
|
+
import { A as be, C as xe, D as Se, E as Ce, F as we, I as Te, L as Ee, M as De, N as Oe, O as ke, P as Ae, R as je, S as Me, T as x, _ as Ne, a as Pe, b as Fe, c as Ie, d as Le, f as S, g as Re, h as ze, i as Be, j as Ve, k as He, l as Ue, m as We, n as Ge, o as C, p as Ke, r as qe, s as Je, t as Ye, u as Xe, v as w, w as T, x as Ze, y as Qe } from "./data-kqAkoQvf.js";
|
|
7
|
+
import { a as $e, i as et, n as tt, r as nt, s as E, t as D } from "./TimelineResultsView-CkH3NDqL.js";
|
|
8
|
+
import { t as rt } from "./SiteShell-qvsZO4Iz.js";
|
|
9
|
+
import { i as it, n as at, r as O, t as ot } from "./chrome-Bv_mLlHM.js";
|
|
10
|
+
import { i as st } from "./PageShell-CPtgzcxv.js";
|
|
11
|
+
import { t as ct } from "./ItemDetailView-BcOSmHfr.js";
|
|
12
|
+
import { a as k, i as lt, n as ut, r as dt } from "./Theme-4RmyRY0x.js";
|
|
13
|
+
import { n as ft, r as pt, t as mt } from "./themeSpecs-CsDpl4rR.js";
|
|
14
|
+
import { Fragment as A, computed as j, createBlock as M, createCommentVNode as N, createElementBlock as P, createElementVNode as F, createSlots as ht, createTextVNode as I, createVNode as L, normalizeClass as R, normalizeStyle as gt, onBeforeUnmount as _t, onMounted as vt, openBlock as z, ref as B, renderList as V, renderSlot as yt, resolveDynamicComponent as bt, toDisplayString as H, unref as U, vModelText as xt, vShow as St, withCtx as W, withDirectives as Ct, withModifiers as wt } from "vue";
|
|
15
|
+
import { I18nText as G, NotFoundView as Tt, languageLabels as Et, loadEntities as K, mdInline as Dt, mwnfLinks as q, offeredLanguages as Ot, renderInline as kt, sectionMeta as At, siblingSiteUrl as jt, sourceUrl as Mt, useDataPackage as Nt, useFacets as Pt, useI18n as J, useKeywordIndex as Ft, useProjects as It, useSection as Lt, useSiteConfig as Y, yearBuckets as X } from "@museumwnf/viewer-core";
|
|
16
|
+
import { RouterLink as Z, useRoute as Rt, useRouter as zt } from "vue-router";
|
|
17
17
|
// src/dxa/PartnerDetail.vue
|
|
18
|
-
var
|
|
18
|
+
var Bt = { class: "mwnf-dxa-profile-languages" }, Vt = {
|
|
19
19
|
__name: "PartnerDetail",
|
|
20
20
|
props: {
|
|
21
21
|
id: {
|
|
@@ -39,7 +39,7 @@ var zt = { class: "mwnf-dxa-profile-languages" }, Z = {
|
|
|
39
39
|
id: t.id,
|
|
40
40
|
class: "mwnf-dxa-partner-profile"
|
|
41
41
|
}, {
|
|
42
|
-
header: W(({ languages: t, language: n, select: r }) => [F("div",
|
|
42
|
+
header: W(({ languages: t, language: n, select: r }) => [F("div", Bt, [L(o, {
|
|
43
43
|
languages: t,
|
|
44
44
|
language: n,
|
|
45
45
|
onSelect: r
|
|
@@ -70,9 +70,9 @@ var zt = { class: "mwnf-dxa-profile-languages" }, Z = {
|
|
|
70
70
|
"dir"
|
|
71
71
|
])]),
|
|
72
72
|
_: 1
|
|
73
|
-
}, 8, ["spec", "id"])) : (z(), M(U(
|
|
73
|
+
}, 8, ["spec", "id"])) : (z(), M(U(Tt), { key: 1 }));
|
|
74
74
|
}
|
|
75
|
-
},
|
|
75
|
+
}, Ht = {
|
|
76
76
|
__name: "TextPage",
|
|
77
77
|
props: {
|
|
78
78
|
body: {
|
|
@@ -101,36 +101,36 @@ var zt = { class: "mwnf-dxa-profile-languages" }, Z = {
|
|
|
101
101
|
"blank-lines": ""
|
|
102
102
|
}, null, 8, ["keypath"])], 2));
|
|
103
103
|
}
|
|
104
|
-
},
|
|
104
|
+
}, Ut = {
|
|
105
105
|
__name: "About",
|
|
106
106
|
setup(e) {
|
|
107
|
-
return (e, t) => (z(), M(
|
|
107
|
+
return (e, t) => (z(), M(Ht, {
|
|
108
108
|
kind: "about",
|
|
109
109
|
body: "gallery.about.body"
|
|
110
110
|
}));
|
|
111
111
|
}
|
|
112
|
-
},
|
|
112
|
+
}, Wt = {
|
|
113
113
|
__name: "Credits",
|
|
114
114
|
props: { bodyKey: {
|
|
115
115
|
type: String,
|
|
116
116
|
required: !0
|
|
117
117
|
} },
|
|
118
118
|
setup(e) {
|
|
119
|
-
return (t, n) => (z(), M(
|
|
119
|
+
return (t, n) => (z(), M(Ht, {
|
|
120
120
|
kind: "credits",
|
|
121
121
|
body: e.bodyKey
|
|
122
122
|
}, null, 8, ["body"]));
|
|
123
123
|
}
|
|
124
|
-
},
|
|
124
|
+
}, Gt = {
|
|
125
125
|
__name: "SearchHowTo",
|
|
126
126
|
setup(e) {
|
|
127
|
-
return (e, t) => (z(), M(
|
|
127
|
+
return (e, t) => (z(), M(Ht, {
|
|
128
128
|
kind: "how-to",
|
|
129
129
|
body: "catalogue.search.howToEssay",
|
|
130
130
|
back: { name: "collection" }
|
|
131
131
|
}));
|
|
132
132
|
}
|
|
133
|
-
},
|
|
133
|
+
}, Kt = {
|
|
134
134
|
DGA: "dga",
|
|
135
135
|
ISL: "isl",
|
|
136
136
|
EPM: "isl",
|
|
@@ -142,7 +142,7 @@ var zt = { class: "mwnf-dxa-profile-languages" }, Z = {
|
|
|
142
142
|
function Q(e) {
|
|
143
143
|
let t = e?.own_project;
|
|
144
144
|
if (!t?.name) return null;
|
|
145
|
-
let n = String(t.backward_compatibility ?? "").split(":").pop().toUpperCase(), r = t.exhibition ? "exh" :
|
|
145
|
+
let n = String(t.backward_compatibility ?? "").split(":").pop().toUpperCase(), r = t.exhibition ? "exh" : Kt[n] ?? "", i = t.level === "partner" || !!t.exhibition;
|
|
146
146
|
return {
|
|
147
147
|
name: t.name,
|
|
148
148
|
status: i ? "gallery.partners.statusPartner" : "gallery.partners.statusAffiliate",
|
|
@@ -150,42 +150,42 @@ function Q(e) {
|
|
|
150
150
|
};
|
|
151
151
|
}
|
|
152
152
|
// src/dxa/gallery/Partners.vue
|
|
153
|
-
var
|
|
153
|
+
var qt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Jt = { class: "mwnf-dxa-gallery-partners__options" }, Yt = { class: "mwnf-dxa-gallery-partners__order" }, Xt = ["onClick"], Zt = { class: "mwnf-dxa-gallery-partners__country" }, Qt = { class: "mwnf-dxa-gallery-partners__partner" }, $t = { class: "mwnf-dxa-gallery-partners__text" }, en = ["innerHTML"], tn = {
|
|
154
154
|
key: 0,
|
|
155
155
|
class: "mwnf-dxa-gallery-partners__city"
|
|
156
|
-
},
|
|
156
|
+
}, nn = { class: "mwnf-dxa-partner-badge__status" }, rn = { class: "mwnf-dxa-gallery-partners__links" }, an = { class: "mwnf-dxa-gallery-partners__logo" }, on = ["src", "alt"], sn = {
|
|
157
157
|
__name: "Partners",
|
|
158
158
|
setup(t) {
|
|
159
159
|
let n = {
|
|
160
|
-
...
|
|
161
|
-
objectsRoute:
|
|
160
|
+
...h,
|
|
161
|
+
objectsRoute: _e,
|
|
162
162
|
orderToggle: !1,
|
|
163
163
|
tiebreak: (e) => e.own_project?.name ?? ""
|
|
164
164
|
};
|
|
165
|
-
return (t, r) => (z(), P("div",
|
|
166
|
-
before: W(({ t, orderDir: n, toggleOrder: r }) => [F("div",
|
|
165
|
+
return (t, r) => (z(), P("div", qt, [L(et, { spec: n }, {
|
|
166
|
+
before: W(({ t, orderDir: n, toggleOrder: r }) => [F("div", Jt, [L(e), F("div", Yt, [F("button", {
|
|
167
167
|
type: "button",
|
|
168
168
|
onClick: r
|
|
169
|
-
}, H(t(n === "asc" ? "partner.list.sortDescending" : "partner.list.sortAscending")), 9,
|
|
169
|
+
}, H(t(n === "asc" ? "partner.list.sortDescending" : "partner.list.sortAscending")), 9, Xt)])]), L(U(G), {
|
|
170
170
|
id: "mwnf-dxa-partners-intro",
|
|
171
171
|
class: "mwnf-dxa-gallery-partners__intro",
|
|
172
172
|
dir: "auto",
|
|
173
173
|
keypath: "gallery.partners.intro"
|
|
174
174
|
})]),
|
|
175
|
-
"group-heading": W(({ group: e }) => [F("div",
|
|
176
|
-
row: W(({ partner: e, view: t, t: n }) => [F("div",
|
|
175
|
+
"group-heading": W(({ group: e }) => [F("div", Zt, H(e.label), 1)]),
|
|
176
|
+
row: W(({ partner: e, view: t, t: n }) => [F("div", Qt, [F("div", $t, [
|
|
177
177
|
L(s, {
|
|
178
178
|
class: "mwnf-dxa-gallery-partners__name",
|
|
179
179
|
to: t.route
|
|
180
180
|
}, {
|
|
181
|
-
default: W(() => [F("span", { innerHTML: t.name }, null, 8,
|
|
181
|
+
default: W(() => [F("span", { innerHTML: t.name }, null, 8, en), t.city ? (z(), P("span", tn, ", " + H(t.city), 1)) : N("", !0)]),
|
|
182
182
|
_: 2
|
|
183
183
|
}, 1032, ["to"]),
|
|
184
184
|
U(Q)(e) ? (z(), P("div", {
|
|
185
185
|
key: 0,
|
|
186
186
|
class: R(["mwnf-dxa-partner-badge", U(Q)(e).tone && `mwnf-dxa-partner-badge--${U(Q)(e).tone}`])
|
|
187
|
-
}, [I(H(U(Q)(e).name) + " ", 1), F("span",
|
|
188
|
-
F("div",
|
|
187
|
+
}, [I(H(U(Q)(e).name) + " ", 1), F("span", nn, H(n(U(Q)(e).status)), 1)], 2)) : N("", !0),
|
|
188
|
+
F("div", rn, [L(s, { to: t.route }, {
|
|
189
189
|
default: W(() => [I(H(n("partner.action.readMore")), 1)]),
|
|
190
190
|
_: 2
|
|
191
191
|
}, 1032, ["to"]), e.item_count > 0 && t.objectsRoute ? (z(), P(A, { key: 0 }, [r[0] ||= F("span", {
|
|
@@ -195,16 +195,16 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
195
195
|
default: W(() => [I(H(n("partner.action.viewObjects")), 1)]),
|
|
196
196
|
_: 2
|
|
197
197
|
}, 1032, ["to"])], 64)) : N("", !0)])
|
|
198
|
-
]), F("div",
|
|
198
|
+
]), F("div", an, [t.logos?.[0] ? (z(), P("img", {
|
|
199
199
|
key: 0,
|
|
200
200
|
src: t.logos[0].url,
|
|
201
201
|
alt: t.plainName,
|
|
202
202
|
loading: "lazy"
|
|
203
|
-
}, null, 8,
|
|
203
|
+
}, null, 8, on)) : N("", !0)])])]),
|
|
204
204
|
_: 1
|
|
205
205
|
})]));
|
|
206
206
|
}
|
|
207
|
-
},
|
|
207
|
+
}, cn = { class: "mwnf-dxa-grid" }, ln = ["onMouseenter"], un = { class: "mwnf-dxa-grid__frame" }, dn = ["src", "alt"], fn = ["src", "alt"], pn = { class: "mwnf-dxa-grid__text" }, mn = ["innerHTML"], hn = { class: "mwnf-dxa-grid__date" }, gn = { class: "mwnf-dxa-grid__partner" }, _n = { class: "mwnf-dxa-grid__place" }, vn = { class: "mwnf-dxa-grid__project" }, yn = {
|
|
208
208
|
__name: "ObjectGrid",
|
|
209
209
|
props: { rows: {
|
|
210
210
|
type: Array,
|
|
@@ -212,17 +212,17 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
212
212
|
} },
|
|
213
213
|
setup(e) {
|
|
214
214
|
let { t } = J(), n = B(-1);
|
|
215
|
-
return (r, i) => (z(), P("div",
|
|
215
|
+
return (r, i) => (z(), P("div", cn, [(z(!0), P(A, null, V(e.rows, (e, r) => (z(), P("div", {
|
|
216
216
|
key: e.id,
|
|
217
217
|
class: "mwnf-dxa-grid__entry",
|
|
218
218
|
onMouseenter: (e) => n.value = r,
|
|
219
219
|
onMouseleave: i[0] ||= (e) => n.value = -1
|
|
220
|
-
}, [F("div",
|
|
220
|
+
}, [F("div", un, [F("img", {
|
|
221
221
|
class: "mwnf-dxa-grid__image",
|
|
222
222
|
src: e.image,
|
|
223
223
|
alt: e.imageAlt,
|
|
224
224
|
loading: "lazy"
|
|
225
|
-
}, null, 8,
|
|
225
|
+
}, null, 8, dn)]), F("div", { class: R(["mwnf-dxa-grid__card", { "mwnf-dxa-grid__card--open": n.value === r }]) }, [L(s, {
|
|
226
226
|
class: "mwnf-dxa-grid__card-image",
|
|
227
227
|
to: e.to,
|
|
228
228
|
tabindex: "-1"
|
|
@@ -231,17 +231,17 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
231
231
|
src: e.image,
|
|
232
232
|
alt: e.imageAlt,
|
|
233
233
|
loading: "lazy"
|
|
234
|
-
}, null, 8,
|
|
234
|
+
}, null, 8, fn)]),
|
|
235
235
|
_: 2
|
|
236
|
-
}, 1032, ["to"]), F("div",
|
|
236
|
+
}, 1032, ["to"]), F("div", pn, [
|
|
237
237
|
F("p", {
|
|
238
238
|
class: "mwnf-dxa-grid__name",
|
|
239
239
|
innerHTML: e.name
|
|
240
|
-
}, null, 8,
|
|
241
|
-
F("p",
|
|
242
|
-
F("p",
|
|
243
|
-
F("p",
|
|
244
|
-
F("p",
|
|
240
|
+
}, null, 8, mn),
|
|
241
|
+
F("p", hn, H(e.date), 1),
|
|
242
|
+
F("p", gn, H(e.partner), 1),
|
|
243
|
+
F("p", _n, H(e.place), 1),
|
|
244
|
+
F("p", vn, [I(H(U(t)("gallery.results.for")) + " ", 1), F("span", null, H(e.project), 1)]),
|
|
245
245
|
L(s, {
|
|
246
246
|
class: "mwnf-dxa-grid__link",
|
|
247
247
|
to: e.to
|
|
@@ -249,22 +249,22 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
249
249
|
default: W(() => [I(H(U(t)("catalogue.results.seeDatabaseEntry")) + " >", 1)]),
|
|
250
250
|
_: 1
|
|
251
251
|
}, 8, ["to"])
|
|
252
|
-
])], 2)], 40,
|
|
252
|
+
])], 2)], 40, ln))), 128))]));
|
|
253
253
|
}
|
|
254
|
-
},
|
|
254
|
+
}, bn = ["onSubmit"], xn = ["placeholder"], Sn = {
|
|
255
255
|
type: "submit",
|
|
256
256
|
class: "mwnf-dxa-refine-search-submit"
|
|
257
|
-
},
|
|
257
|
+
}, Cn = { class: "mwnf-dxa-how-to" }, wn = {
|
|
258
258
|
key: 1,
|
|
259
259
|
class: "mwnf-dxa-no-results"
|
|
260
|
-
},
|
|
260
|
+
}, Tn = {
|
|
261
261
|
__name: "SearchResults",
|
|
262
262
|
setup(t) {
|
|
263
|
-
let n =
|
|
263
|
+
let n = Ft("items", {
|
|
264
264
|
grammar: "boolean",
|
|
265
|
-
haystack:
|
|
265
|
+
haystack: he
|
|
266
266
|
}), r = B(!1);
|
|
267
|
-
|
|
267
|
+
te().then(() => {
|
|
268
268
|
r.value = !0;
|
|
269
269
|
});
|
|
270
270
|
function i(e) {
|
|
@@ -275,11 +275,11 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
275
275
|
keys: ["q"],
|
|
276
276
|
sort: !1,
|
|
277
277
|
narrow: (e, t) => r.value ? i(t.q) ? e : n.search(t.q) : [],
|
|
278
|
-
pageSize:
|
|
278
|
+
pageSize: y.pageSize,
|
|
279
279
|
variant: "grid",
|
|
280
280
|
recordRoute: "item",
|
|
281
281
|
actionLabel: "catalogue.results.seeDatabaseEntry",
|
|
282
|
-
record: (e, { t }) =>
|
|
282
|
+
record: (e, { t }) => m(e, t),
|
|
283
283
|
pagination: { jump: !0 },
|
|
284
284
|
summary: ({ filters: e, pageInfo: t, t: n, total: r }) => [{
|
|
285
285
|
label: n("core.section.database"),
|
|
@@ -296,27 +296,27 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
296
296
|
before: W(() => [L(e)]),
|
|
297
297
|
filters: W(({ apply: e }) => [F("form", {
|
|
298
298
|
class: "mwnf-dxa-refine-search",
|
|
299
|
-
onSubmit:
|
|
300
|
-
}, [
|
|
299
|
+
onSubmit: wt((t) => e({ q: a.value || "all-objects" }), ["prevent"])
|
|
300
|
+
}, [Ct(F("input", {
|
|
301
301
|
"onUpdate:modelValue": n[0] ||= (e) => a.value = e,
|
|
302
302
|
type: "text",
|
|
303
303
|
class: "mwnf-dxa-refine-search-input",
|
|
304
304
|
placeholder: t.$t("catalogue.search.keywordPlaceholder")
|
|
305
|
-
}, null, 8,
|
|
305
|
+
}, null, 8, xn), [[xt, a.value]]), F("button", Sn, H(t.$t("catalogue.search.submit")), 1)], 40, bn), F("p", Cn, [L(U(Z), { to: { name: "search-how-to" } }, {
|
|
306
306
|
default: W(() => [I(H(t.$t("catalogue.search.howTo")) + " ›", 1)]),
|
|
307
307
|
_: 1
|
|
308
308
|
})])]),
|
|
309
|
-
records: W(({ rows: e }) => [e.length ? (z(), M(
|
|
309
|
+
records: W(({ rows: e }) => [e.length ? (z(), M(yn, {
|
|
310
310
|
key: 0,
|
|
311
311
|
rows: e
|
|
312
|
-
}, null, 8, ["rows"])) : (z(), P("p",
|
|
312
|
+
}, null, 8, ["rows"])) : (z(), P("p", wn, [
|
|
313
313
|
I(H(t.$t("catalogue.results.noResultsSearch")) + " ", 1),
|
|
314
|
-
L(U(
|
|
314
|
+
L(U(Z), { to: { name: "search-how-to" } }, {
|
|
315
315
|
default: W(() => [I(H(t.$t("catalogue.search.howTo")), 1)]),
|
|
316
316
|
_: 1
|
|
317
317
|
}),
|
|
318
318
|
n[1] ||= F("span", { class: "mwnf-dxa-no-results-divider" }, "|", -1),
|
|
319
|
-
L(U(
|
|
319
|
+
L(U(Z), { to: { name: "collection" } }, {
|
|
320
320
|
default: W(() => [I(H(t.$t("core.section.collection")), 1)]),
|
|
321
321
|
_: 1
|
|
322
322
|
})
|
|
@@ -324,32 +324,32 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
324
324
|
_: 1
|
|
325
325
|
}, 8, ["spec"]));
|
|
326
326
|
}
|
|
327
|
-
},
|
|
327
|
+
}, En = {
|
|
328
328
|
__name: "TimelineResults",
|
|
329
329
|
setup(t) {
|
|
330
330
|
return (t, n) => (z(), M(D, {
|
|
331
|
-
spec: U(
|
|
331
|
+
spec: U(l),
|
|
332
332
|
class: "mwnf-dxa-timeline-results"
|
|
333
333
|
}, {
|
|
334
334
|
before: W(() => [L(e)]),
|
|
335
335
|
_: 1
|
|
336
336
|
}, 8, ["spec"]));
|
|
337
337
|
}
|
|
338
|
-
},
|
|
338
|
+
}, Dn = { class: "mwnf-dxa-back-to-events" }, On = {
|
|
339
339
|
key: 1,
|
|
340
340
|
class: "mwnf-record-grid__empty"
|
|
341
|
-
},
|
|
341
|
+
}, kn = {
|
|
342
342
|
__name: "TimelineGallery",
|
|
343
343
|
setup(t) {
|
|
344
344
|
return (t, n) => (z(), M(E, {
|
|
345
345
|
spec: {
|
|
346
|
-
...U(
|
|
347
|
-
...U(
|
|
346
|
+
...U(se),
|
|
347
|
+
...U(y)
|
|
348
348
|
},
|
|
349
349
|
class: "mwnf-dxa-timeline-gallery"
|
|
350
350
|
}, {
|
|
351
351
|
before: W(() => [L(e)]),
|
|
352
|
-
actions: W(({ filters: e, pageInfo: n, goToPage: r }) => [F("p",
|
|
352
|
+
actions: W(({ filters: e, pageInfo: n, goToPage: r }) => [F("p", Dn, [L(U(Z), { to: {
|
|
353
353
|
name: "timeline-results",
|
|
354
354
|
query: {
|
|
355
355
|
country: e.country,
|
|
@@ -365,65 +365,83 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
365
365
|
jump: "",
|
|
366
366
|
onNavigate: r
|
|
367
367
|
}, null, 8, ["page-info", "onNavigate"])]),
|
|
368
|
-
records: W(({ rows: e, empty: t }) => [e.length ? (z(), M(
|
|
368
|
+
records: W(({ rows: e, empty: t }) => [e.length ? (z(), M(yn, {
|
|
369
369
|
key: 0,
|
|
370
370
|
rows: e
|
|
371
|
-
}, null, 8, ["rows"])) : (z(), P("p",
|
|
371
|
+
}, null, 8, ["rows"])) : (z(), P("p", On, H(t), 1))]),
|
|
372
372
|
_: 1
|
|
373
373
|
}, 8, ["spec"]));
|
|
374
374
|
}
|
|
375
|
-
},
|
|
375
|
+
}, An = { class: "mwnf-dxa-gallery-results" }, jn = { class: "mwnf-dxa-gallery-results__info" }, Mn = { class: "mwnf-dxa-gallery-results__choices" }, Nn = {
|
|
376
376
|
key: 1,
|
|
377
|
-
class: "mwnf-
|
|
378
|
-
},
|
|
377
|
+
class: "mwnf-dxa-gallery-results__end"
|
|
378
|
+
}, Pn = { class: "mwnf-dxa-date-wrapper" }, Fn = {
|
|
379
379
|
key: 0,
|
|
380
380
|
class: "mwnf-dxa-timeline-link-box"
|
|
381
|
-
},
|
|
381
|
+
}, In = { class: "mwnf-dxa-options-label" }, Ln = { class: "mwnf-dxa-gallery-results__timeline" }, Rn = {
|
|
382
382
|
__name: "CollectionResults",
|
|
383
383
|
setup(r) {
|
|
384
|
-
let
|
|
385
|
-
|
|
386
|
-
|
|
384
|
+
let { t: a } = J(), o = {
|
|
385
|
+
type: "gallery.collection.type",
|
|
386
|
+
dynasty: "gallery.collection.periodDynasty",
|
|
387
|
+
subject: "gallery.collection.subject",
|
|
388
|
+
material: "gallery.collection.material"
|
|
389
|
+
}, s = (e) => a(le[e] ?? e), c = j(() => X(ce.value ?? [], s)), l = j(() => (ce.value ?? []).length), u = g.keys, d = (e) => u.every((t) => !e[t]);
|
|
390
|
+
function f(e, t, n) {
|
|
391
|
+
let r = (n) => (t[n] ?? []).find((t) => String(t.value) === String(e[n]))?.label ?? e[n], i = (e) => c.value.find((t) => String(t.value) === String(e))?.label ?? e, o = [];
|
|
392
|
+
e.country && o.push(r("country"));
|
|
393
|
+
for (let t of fe) e[t] && o.push(r(t));
|
|
394
|
+
return e.from && o.push(`${a("gallery.collection.start")} ${i(e.from)}`), e.to && o.push(`${a("gallery.collection.end")} ${i(e.to)}`), o.length ? o.join(" & ") : n.length ? a("gallery.collection.allObjects") : a("gallery.collection.none");
|
|
387
395
|
}
|
|
388
|
-
let
|
|
389
|
-
function
|
|
390
|
-
let t =
|
|
391
|
-
return !!(t &&
|
|
396
|
+
let p = j(() => new Set((oe.value ?? []).map((e) => e.country_id)));
|
|
397
|
+
function m(e) {
|
|
398
|
+
let t = ue(e.country);
|
|
399
|
+
return !!(t && p.value.has(t));
|
|
392
400
|
}
|
|
393
|
-
return (r,
|
|
401
|
+
return (r, c) => (z(), P("div", An, [L(E, {
|
|
394
402
|
spec: {
|
|
395
|
-
...U(
|
|
396
|
-
...U(
|
|
403
|
+
...U(g),
|
|
404
|
+
...U(y),
|
|
405
|
+
summary: () => []
|
|
397
406
|
},
|
|
398
407
|
class: "mwnf-dxa-collection-results"
|
|
399
408
|
}, {
|
|
400
|
-
before: W(() => [L(e)]),
|
|
401
|
-
actions: W(({ pageInfo: e, goToPage: t }) => [
|
|
409
|
+
before: W(({ filters: t, options: n, matching: r, pageInfo: i }) => [L(e), F("div", jn, [F("p", null, [I(H(U(a)("gallery.collection.heading")) + " | ", 1), F("span", Mn, H(f(t, n, r)), 1)]), F("p", null, H(i.total) + " " + H(U(a)("gallery.collection.resultsOutOf")) + " " + H(l.value) + " " + H(U(a)("gallery.collection.objects")), 1)])]),
|
|
410
|
+
actions: W(({ pageInfo: e, goToPage: t }) => [e.lastPage > 1 ? (z(), M(i, {
|
|
411
|
+
key: 0,
|
|
402
412
|
class: "mwnf-dxa-pages",
|
|
403
413
|
"page-info": e,
|
|
404
414
|
jump: "",
|
|
405
415
|
onNavigate: t
|
|
406
|
-
}, null, 8, ["page-info", "onNavigate"])]),
|
|
407
|
-
records: W(({ rows: e }) => [e.length ? (z(), M(
|
|
416
|
+
}, null, 8, ["page-info", "onNavigate"])) : N("", !0)]),
|
|
417
|
+
records: W(({ rows: e }) => [e.length ? (z(), M(yn, {
|
|
408
418
|
key: 0,
|
|
409
419
|
rows: e
|
|
410
|
-
}, null, 8, ["rows"])) : (z(),
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
420
|
+
}, null, 8, ["rows"])) : (z(), M(U(G), {
|
|
421
|
+
key: 1,
|
|
422
|
+
class: "mwnf-dxa-gallery-results__none",
|
|
423
|
+
keypath: "gallery.collection.noResults"
|
|
424
|
+
}))]),
|
|
425
|
+
pagination: W(({ pageInfo: e, goToPage: t }) => [e.lastPage > 1 ? (z(), M(i, {
|
|
426
|
+
key: 0,
|
|
427
|
+
class: "mwnf-dxa-pages",
|
|
428
|
+
"page-info": e,
|
|
429
|
+
jump: "",
|
|
430
|
+
onNavigate: t
|
|
431
|
+
}, null, 8, ["page-info", "onNavigate"])) : (z(), P("div", Nn))]),
|
|
432
|
+
aside: W(({ filters: e, apply: r, reset: i, matching: l, options: u }) => [L(n, {
|
|
415
433
|
mode: "immediate",
|
|
416
|
-
title:
|
|
417
|
-
"reset-label":
|
|
418
|
-
disabled:
|
|
419
|
-
onReset:
|
|
434
|
+
title: d(e) ? U(a)("gallery.collection.filterBy") : U(a)("gallery.collection.filterFurtherBy"),
|
|
435
|
+
"reset-label": U(a)("gallery.collection.resetFilters"),
|
|
436
|
+
disabled: l.length === 0,
|
|
437
|
+
onReset: (e) => i()
|
|
420
438
|
}, {
|
|
421
439
|
default: W(() => [
|
|
422
440
|
L(t, {
|
|
423
441
|
"model-value": e.country,
|
|
424
|
-
options:
|
|
425
|
-
placeholder:
|
|
426
|
-
"onUpdate:modelValue": (e) =>
|
|
442
|
+
options: u.country,
|
|
443
|
+
placeholder: U(a)("gallery.collection.selectCountry"),
|
|
444
|
+
"onUpdate:modelValue": (e) => r({ country: e })
|
|
427
445
|
}, null, 8, [
|
|
428
446
|
"model-value",
|
|
429
447
|
"options",
|
|
@@ -433,21 +451,21 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
433
451
|
(z(!0), P(A, null, V(U(fe), (n) => (z(), M(t, {
|
|
434
452
|
key: n,
|
|
435
453
|
"model-value": e[n],
|
|
436
|
-
options:
|
|
437
|
-
placeholder: U(
|
|
454
|
+
options: u[n],
|
|
455
|
+
placeholder: U(a)(o[n]),
|
|
438
456
|
"hide-empty": "",
|
|
439
|
-
"onUpdate:modelValue": (e) =>
|
|
457
|
+
"onUpdate:modelValue": (e) => r({ [n]: e })
|
|
440
458
|
}, null, 8, [
|
|
441
459
|
"model-value",
|
|
442
460
|
"options",
|
|
443
461
|
"placeholder",
|
|
444
462
|
"onUpdate:modelValue"
|
|
445
463
|
]))), 128)),
|
|
446
|
-
F("div",
|
|
464
|
+
F("div", Pn, [L(t, {
|
|
447
465
|
"model-value": e.from,
|
|
448
|
-
options: U(
|
|
449
|
-
placeholder:
|
|
450
|
-
"onUpdate:modelValue": (e) =>
|
|
466
|
+
options: U(X)(l, s),
|
|
467
|
+
placeholder: U(a)("gallery.collection.startDate"),
|
|
468
|
+
"onUpdate:modelValue": (e) => r({ from: e })
|
|
451
469
|
}, null, 8, [
|
|
452
470
|
"model-value",
|
|
453
471
|
"options",
|
|
@@ -455,9 +473,9 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
455
473
|
"onUpdate:modelValue"
|
|
456
474
|
]), L(t, {
|
|
457
475
|
"model-value": e.to,
|
|
458
|
-
options: U(
|
|
459
|
-
placeholder:
|
|
460
|
-
"onUpdate:modelValue": (e) =>
|
|
476
|
+
options: U(X)(l, s),
|
|
477
|
+
placeholder: U(a)("gallery.collection.endDate"),
|
|
478
|
+
"onUpdate:modelValue": (e) => r({ to: e })
|
|
461
479
|
}, null, 8, [
|
|
462
480
|
"model-value",
|
|
463
481
|
"options",
|
|
@@ -469,8 +487,12 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
469
487
|
}, 1032, [
|
|
470
488
|
"title",
|
|
471
489
|
"reset-label",
|
|
472
|
-
"disabled"
|
|
473
|
-
|
|
490
|
+
"disabled",
|
|
491
|
+
"onReset"
|
|
492
|
+
]), m(e) ? (z(), P("div", Fn, [F("div", In, H(U(a)("gallery.collection.timelineForSearch")), 1), F("p", Ln, [c[0] ||= F("span", {
|
|
493
|
+
class: "mwnf-dxa-gallery-results__share",
|
|
494
|
+
"aria-hidden": "true"
|
|
495
|
+
}, "➦", -1), L(U(Z), { to: {
|
|
474
496
|
name: "timeline-results",
|
|
475
497
|
query: {
|
|
476
498
|
country: e.country,
|
|
@@ -478,63 +500,94 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
478
500
|
end: e.to
|
|
479
501
|
}
|
|
480
502
|
} }, {
|
|
481
|
-
default: W(() => [I(H(
|
|
503
|
+
default: W(() => [I(H(U(a)("gallery.collection.timeline")) + " | " + H(U(ie)("countries", U(ue)(e.country))), 1)]),
|
|
482
504
|
_: 2
|
|
483
505
|
}, 1032, ["to"])])])) : N("", !0)]),
|
|
484
506
|
_: 1
|
|
485
|
-
}, 8, ["spec"]));
|
|
507
|
+
}, 8, ["spec"])]));
|
|
486
508
|
}
|
|
487
|
-
},
|
|
509
|
+
}, zn = { class: "mwnf-dxa-gallery-collection" }, Bn = { class: "mwnf-dxa-gallery-collection__dropdowns" }, Vn = { class: "mwnf-dxa-gallery-collection__label" }, Hn = { class: "mwnf-dxa-gallery-collection__selects" }, Un = ["aria-label", "onChange"], Wn = {
|
|
510
|
+
selected: "",
|
|
511
|
+
disabled: "",
|
|
512
|
+
value: ""
|
|
513
|
+
}, Gn = ["value"], Kn = { class: "mwnf-dxa-gallery-collection__dates" }, qn = ["aria-label"], Jn = {
|
|
514
|
+
selected: "",
|
|
515
|
+
disabled: "",
|
|
516
|
+
value: ""
|
|
517
|
+
}, Yn = ["value"], Xn = ["aria-label"], Zn = {
|
|
518
|
+
selected: "",
|
|
519
|
+
disabled: "",
|
|
520
|
+
value: ""
|
|
521
|
+
}, Qn = ["value"], $n = {
|
|
488
522
|
__name: "CollectionSearch",
|
|
489
523
|
setup(e) {
|
|
490
|
-
let t =
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
524
|
+
let t = zt(), { t: n } = J(), r = Pt(ce, me), i = {
|
|
525
|
+
country: "gallery.collection.selectCountry",
|
|
526
|
+
type: "gallery.collection.type",
|
|
527
|
+
dynasty: "gallery.collection.periodDynasty",
|
|
528
|
+
subject: "gallery.collection.subject",
|
|
529
|
+
material: "gallery.collection.material"
|
|
530
|
+
}, a = j(() => ["country", ...fe].filter((e) => e === "country" || (r.value[e] ?? []).length > 0).map((e) => ({
|
|
531
|
+
key: e,
|
|
532
|
+
name: i[e],
|
|
533
|
+
options: r.value[e] ?? []
|
|
534
|
+
}))), o = (e) => n(le[e] ?? e), s = j(() => X(ce.value ?? [], o));
|
|
535
|
+
function c(e, n) {
|
|
536
|
+
n !== "" && n != null && t.push({
|
|
537
|
+
name: "collection-results",
|
|
538
|
+
query: { [e]: String(n) }
|
|
539
|
+
});
|
|
540
|
+
}
|
|
541
|
+
return (e, t) => (z(), P("div", zn, [F("div", Bn, [F("div", Vn, H(U(n)("gallery.collection.filterBy")), 1), F("div", Hn, [(z(!0), P(A, null, V(a.value, (e) => (z(), P("select", {
|
|
542
|
+
key: e.key,
|
|
543
|
+
class: "mwnf-dxa-gallery-collection__select",
|
|
544
|
+
"aria-label": U(n)(e.name),
|
|
545
|
+
onChange: (t) => c(e.key, t.target.value)
|
|
546
|
+
}, [F("option", Wn, H(U(n)(e.name)), 1), (z(!0), P(A, null, V(e.options, (e) => (z(), P("option", {
|
|
547
|
+
key: e.value,
|
|
548
|
+
value: String(e.value)
|
|
549
|
+
}, H(e.label), 9, Gn))), 128))], 40, Un))), 128)), F("div", Kn, [F("select", {
|
|
550
|
+
class: "mwnf-dxa-gallery-collection__select",
|
|
551
|
+
"aria-label": U(n)("gallery.collection.startDate"),
|
|
552
|
+
onChange: t[0] ||= (e) => c("from", e.target.value)
|
|
553
|
+
}, [F("option", Jn, H(U(n)("gallery.collection.startDate")), 1), (z(!0), P(A, null, V(s.value, (e) => (z(), P("option", {
|
|
554
|
+
key: e.value,
|
|
555
|
+
value: String(e.value)
|
|
556
|
+
}, H(e.label), 9, Yn))), 128))], 40, qn), F("select", {
|
|
557
|
+
class: "mwnf-dxa-gallery-collection__select",
|
|
558
|
+
"aria-label": U(n)("gallery.collection.endDate"),
|
|
559
|
+
onChange: t[1] ||= (e) => c("to", e.target.value)
|
|
560
|
+
}, [F("option", Zn, H(U(n)("gallery.collection.endDate")), 1), (z(!0), P(A, null, V(s.value, (e) => (z(), P("option", {
|
|
561
|
+
key: e.value,
|
|
562
|
+
value: String(e.value)
|
|
563
|
+
}, H(e.label), 9, Qn))), 128))], 40, Xn)])])]), L(U(G), {
|
|
564
|
+
class: "mwnf-dxa-gallery-collection__description mwnf-prose",
|
|
512
565
|
dir: "auto",
|
|
513
566
|
keypath: "gallery.collection.intro"
|
|
514
567
|
})]));
|
|
515
568
|
}
|
|
516
|
-
},
|
|
569
|
+
}, er = {
|
|
517
570
|
key: 0,
|
|
518
571
|
class: "mwnf-dxa-partner-objects mwnf-dxa-gallery-objects"
|
|
519
|
-
},
|
|
572
|
+
}, tr = { class: "mwnf-dxa-gallery-objects__header" }, nr = ["innerHTML"], rr = {
|
|
520
573
|
key: 0,
|
|
521
574
|
class: "mwnf-dxa-gallery-objects__place"
|
|
522
|
-
},
|
|
575
|
+
}, ir = {
|
|
523
576
|
key: 1,
|
|
524
577
|
class: "mwnf-dxa-gallery-objects__end"
|
|
525
|
-
},
|
|
578
|
+
}, ar = {
|
|
526
579
|
__name: "PartnerObjects",
|
|
527
580
|
setup(t) {
|
|
528
|
-
let n =
|
|
529
|
-
...
|
|
530
|
-
...
|
|
581
|
+
let n = Rt(), r = j(() => ye.value.get(n.params.id) ?? null), a = j(() => ({
|
|
582
|
+
...u,
|
|
583
|
+
...y,
|
|
531
584
|
scope: (e) => e.partner_id === n.params.id
|
|
532
|
-
})), o = j(() => r.value ?
|
|
533
|
-
return (t, n) => r.value ? (z(), P("div",
|
|
534
|
-
before: W(() => [L(e), F("div",
|
|
585
|
+
})), o = j(() => r.value ? _.view(r.value, p("partners", r.value.id, pe)) : null), s = j(() => [o.value?.city, o.value?.country].filter(Boolean).join(", "));
|
|
586
|
+
return (t, n) => r.value ? (z(), P("div", er, [L(E, { spec: a.value }, {
|
|
587
|
+
before: W(() => [L(e), F("div", tr, [F("p", {
|
|
535
588
|
class: "mwnf-dxa-gallery-objects__name",
|
|
536
589
|
innerHTML: o.value.name
|
|
537
|
-
}, null, 8,
|
|
590
|
+
}, null, 8, nr), s.value ? (z(), P("p", rr, H(s.value), 1)) : N("", !0)])]),
|
|
538
591
|
actions: W(({ pageInfo: e, goToPage: t }) => [e.lastPage > 1 ? (z(), M(i, {
|
|
539
592
|
key: 0,
|
|
540
593
|
class: "mwnf-dxa-pages",
|
|
@@ -542,17 +595,17 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
542
595
|
jump: "",
|
|
543
596
|
onNavigate: t
|
|
544
597
|
}, null, 8, ["page-info", "onNavigate"])) : N("", !0)]),
|
|
545
|
-
records: W(({ rows: e }) => [L(
|
|
598
|
+
records: W(({ rows: e }) => [L(yn, { rows: e }, null, 8, ["rows"])]),
|
|
546
599
|
pagination: W(({ pageInfo: e, goToPage: t }) => [e.lastPage > 1 ? (z(), M(i, {
|
|
547
600
|
key: 0,
|
|
548
601
|
class: "mwnf-dxa-pages",
|
|
549
602
|
"page-info": e,
|
|
550
603
|
jump: "",
|
|
551
604
|
onNavigate: t
|
|
552
|
-
}, null, 8, ["page-info", "onNavigate"])) : (z(), P("div",
|
|
553
|
-
aside: W(() => [L(U(
|
|
605
|
+
}, null, 8, ["page-info", "onNavigate"])) : (z(), P("div", ir))]),
|
|
606
|
+
aside: W(() => [L(U(Z), {
|
|
554
607
|
class: "mwnf-dxa-gallery-objects__profile",
|
|
555
|
-
to: U(
|
|
608
|
+
to: U(ee)(r.value)
|
|
556
609
|
}, {
|
|
557
610
|
default: W(() => [n[0] ||= F("span", {
|
|
558
611
|
class: "mwnf-dxa-gallery-objects__profile-arrow",
|
|
@@ -563,7 +616,7 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
563
616
|
_: 1
|
|
564
617
|
}, 8, ["spec"])])) : N("", !0);
|
|
565
618
|
}
|
|
566
|
-
},
|
|
619
|
+
}, or = {
|
|
567
620
|
__name: "SearchHowTo",
|
|
568
621
|
setup(e) {
|
|
569
622
|
let t = {
|
|
@@ -573,22 +626,22 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
573
626
|
to: { name: "collection" }
|
|
574
627
|
}
|
|
575
628
|
};
|
|
576
|
-
return (e, n) => (z(), M(
|
|
629
|
+
return (e, n) => (z(), M(nt, {
|
|
577
630
|
spec: t,
|
|
578
631
|
class: "mwnf-dxa-editorial"
|
|
579
632
|
}));
|
|
580
633
|
}
|
|
581
|
-
},
|
|
634
|
+
}, sr = { class: "mwnf-dxa-partners" }, cr = { class: "mwnf-dxa-partners-options" }, lr = {
|
|
582
635
|
__name: "Partners",
|
|
583
636
|
setup(t) {
|
|
584
637
|
let n = {
|
|
585
|
-
...
|
|
586
|
-
objectsRoute:
|
|
638
|
+
...Ce,
|
|
639
|
+
objectsRoute: Se,
|
|
587
640
|
actions: !0,
|
|
588
641
|
emptyLabel: "exhibition.partner.noObjectsInExhibition"
|
|
589
642
|
};
|
|
590
|
-
return (t, r) => (z(), P("div",
|
|
591
|
-
before: W(() => [F("div",
|
|
643
|
+
return (t, r) => (z(), P("div", sr, [L(et, { spec: n }, {
|
|
644
|
+
before: W(() => [F("div", cr, [L(e)]), L(U(G), {
|
|
592
645
|
id: "mwnf-dxa-partners-intro",
|
|
593
646
|
class: "mwnf-prose",
|
|
594
647
|
dir: "auto",
|
|
@@ -597,17 +650,17 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
597
650
|
_: 1
|
|
598
651
|
})]));
|
|
599
652
|
}
|
|
600
|
-
},
|
|
653
|
+
}, ur = ["onSubmit"], dr = ["placeholder"], fr = {
|
|
601
654
|
type: "submit",
|
|
602
655
|
class: "mwnf-dxa-refine-search-submit"
|
|
603
|
-
},
|
|
656
|
+
}, pr = { class: "mwnf-dxa-how-to" }, mr = { class: "mwnf-dxa-no-results" }, hr = {
|
|
604
657
|
__name: "SearchResults",
|
|
605
658
|
setup(t) {
|
|
606
|
-
let n =
|
|
659
|
+
let n = Ft("items", {
|
|
607
660
|
grammar: "boolean",
|
|
608
|
-
haystack:
|
|
661
|
+
haystack: Ne
|
|
609
662
|
}), r = B(!1);
|
|
610
|
-
|
|
663
|
+
Me().then(() => {
|
|
611
664
|
r.value = !0;
|
|
612
665
|
});
|
|
613
666
|
function i(e) {
|
|
@@ -624,11 +677,11 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
624
677
|
let a = new Set(e.map((e) => e.id));
|
|
625
678
|
return n.search(t.q).filter((e) => a.has(e.id));
|
|
626
679
|
},
|
|
627
|
-
pageSize:
|
|
680
|
+
pageSize: Be,
|
|
628
681
|
variant: "grid",
|
|
629
682
|
recordRoute: "item",
|
|
630
683
|
actionLabel: "catalogue.results.seeDatabaseEntry",
|
|
631
|
-
record: (e, { t }) =>
|
|
684
|
+
record: (e, { t }) => Ve(e, t),
|
|
632
685
|
pagination: { jump: !0 },
|
|
633
686
|
summary: ({ filters: e, pageInfo: t, t: n }) => [{
|
|
634
687
|
label: n("core.section.database"),
|
|
@@ -645,24 +698,24 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
645
698
|
before: W(() => [L(e)]),
|
|
646
699
|
filters: W(({ apply: e }) => [F("form", {
|
|
647
700
|
class: "mwnf-dxa-refine-search",
|
|
648
|
-
onSubmit:
|
|
649
|
-
}, [
|
|
701
|
+
onSubmit: wt((t) => e({ q: a.value || "all-objects" }), ["prevent"])
|
|
702
|
+
}, [Ct(F("input", {
|
|
650
703
|
"onUpdate:modelValue": n[0] ||= (e) => a.value = e,
|
|
651
704
|
type: "text",
|
|
652
705
|
class: "mwnf-dxa-refine-search-input",
|
|
653
706
|
placeholder: t.$t("catalogue.search.keywordPlaceholder")
|
|
654
|
-
}, null, 8,
|
|
707
|
+
}, null, 8, dr), [[xt, a.value]]), F("button", fr, H(t.$t("catalogue.search.submit")), 1)], 40, ur), F("p", pr, [L(U(Z), { to: { name: "search-how-to" } }, {
|
|
655
708
|
default: W(() => [I(H(t.$t("catalogue.search.howTo")) + " ›", 1)]),
|
|
656
709
|
_: 1
|
|
657
710
|
})])]),
|
|
658
|
-
empty: W(() => [F("p",
|
|
711
|
+
empty: W(() => [F("p", mr, [
|
|
659
712
|
I(H(t.$t("catalogue.results.noResultsSearch")) + " ", 1),
|
|
660
|
-
L(U(
|
|
713
|
+
L(U(Z), { to: { name: "search-how-to" } }, {
|
|
661
714
|
default: W(() => [I(H(t.$t("catalogue.search.howTo")), 1)]),
|
|
662
715
|
_: 1
|
|
663
716
|
}),
|
|
664
717
|
n[1] ||= F("span", { class: "mwnf-dxa-no-results-divider" }, "|", -1),
|
|
665
|
-
L(U(
|
|
718
|
+
L(U(Z), { to: { name: "collection" } }, {
|
|
666
719
|
default: W(() => [I(H(t.$t("core.section.collection")), 1)]),
|
|
667
720
|
_: 1
|
|
668
721
|
})
|
|
@@ -670,46 +723,46 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
670
723
|
_: 1
|
|
671
724
|
}, 8, ["spec"]));
|
|
672
725
|
}
|
|
673
|
-
},
|
|
726
|
+
}, gr = {
|
|
674
727
|
__name: "TimelineResults",
|
|
675
728
|
setup(t) {
|
|
676
729
|
return (t, n) => (z(), M(D, {
|
|
677
|
-
spec: U(
|
|
730
|
+
spec: U(Oe),
|
|
678
731
|
class: "mwnf-dxa-timeline-results"
|
|
679
732
|
}, {
|
|
680
733
|
before: W(() => [L(e)]),
|
|
681
734
|
_: 1
|
|
682
735
|
}, 8, ["spec"]));
|
|
683
736
|
}
|
|
684
|
-
},
|
|
737
|
+
}, _r = {
|
|
685
738
|
__name: "TimelineGallery",
|
|
686
739
|
setup(t) {
|
|
687
740
|
return (t, n) => (z(), M(E, {
|
|
688
|
-
spec: U(
|
|
741
|
+
spec: U(De),
|
|
689
742
|
class: "mwnf-dxa-timeline-gallery"
|
|
690
743
|
}, {
|
|
691
744
|
before: W(() => [L(e)]),
|
|
692
745
|
_: 1
|
|
693
746
|
}, 8, ["spec"]));
|
|
694
747
|
}
|
|
695
|
-
},
|
|
748
|
+
}, vr = { class: "mwnf-dxa-date-wrapper" }, yr = {
|
|
696
749
|
key: 0,
|
|
697
750
|
class: "mwnf-dxa-timeline-link-box"
|
|
698
|
-
},
|
|
751
|
+
}, br = { class: "mwnf-dxa-options-label" }, xr = {
|
|
699
752
|
__name: "CollectionResults",
|
|
700
753
|
setup(r) {
|
|
701
|
-
let a =
|
|
754
|
+
let a = zt(), { t: o } = J(), s = Te(), c = Je.keys, l = (e) => c.filter((t) => e[t]).length <= 1;
|
|
702
755
|
function u() {
|
|
703
756
|
a.push({ name: "collection" });
|
|
704
757
|
}
|
|
705
|
-
let d = j(() => new Set((
|
|
758
|
+
let d = j(() => new Set((Ae.value ?? []).map((e) => e.country_id)));
|
|
706
759
|
function f(e) {
|
|
707
|
-
if (!
|
|
708
|
-
let t =
|
|
760
|
+
if (!Re.value) return !1;
|
|
761
|
+
let t = Ue(e.country);
|
|
709
762
|
return !!(t && d.value.has(t));
|
|
710
763
|
}
|
|
711
764
|
return (r, a) => (z(), M(E, {
|
|
712
|
-
spec: U(
|
|
765
|
+
spec: U(Je),
|
|
713
766
|
class: "mwnf-dxa-collection-results"
|
|
714
767
|
}, {
|
|
715
768
|
before: W(() => [L(e)]),
|
|
@@ -742,7 +795,7 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
742
795
|
"placeholder",
|
|
743
796
|
"onUpdate:modelValue"
|
|
744
797
|
]),
|
|
745
|
-
(z(!0), P(A, null, V(U(
|
|
798
|
+
(z(!0), P(A, null, V(U(Ge), (n) => (z(), M(t, {
|
|
746
799
|
key: n,
|
|
747
800
|
"model-value": e[n],
|
|
748
801
|
options: d[n],
|
|
@@ -755,9 +808,9 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
755
808
|
"placeholder",
|
|
756
809
|
"onUpdate:modelValue"
|
|
757
810
|
]))), 128)),
|
|
758
|
-
F("div",
|
|
811
|
+
F("div", vr, [L(t, {
|
|
759
812
|
"model-value": e.from,
|
|
760
|
-
options: U(
|
|
813
|
+
options: U(X)(c, U(o)),
|
|
761
814
|
placeholder: r.$t("catalogue.facet.startDate"),
|
|
762
815
|
"onUpdate:modelValue": (e) => i({ from: e })
|
|
763
816
|
}, null, 8, [
|
|
@@ -767,7 +820,7 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
767
820
|
"onUpdate:modelValue"
|
|
768
821
|
]), L(t, {
|
|
769
822
|
"model-value": e.to,
|
|
770
|
-
options: U(
|
|
823
|
+
options: U(X)(c, U(o)),
|
|
771
824
|
placeholder: r.$t("catalogue.facet.endDate"),
|
|
772
825
|
"onUpdate:modelValue": (e) => i({ to: e })
|
|
773
826
|
}, null, 8, [
|
|
@@ -782,24 +835,24 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
782
835
|
"title",
|
|
783
836
|
"reset-label",
|
|
784
837
|
"disabled"
|
|
785
|
-
]), f(e) ? (z(), P("div",
|
|
838
|
+
]), f(e) ? (z(), P("div", yr, [F("div", br, H(r.$t("catalogue.results.timelineForSearch")), 1), F("p", null, [a[2] ||= I(" ➤ ", -1), L(U(Z), { to: {
|
|
786
839
|
name: "timeline-results",
|
|
787
840
|
query: {
|
|
788
|
-
country: U(
|
|
841
|
+
country: U(Ue)(e.country),
|
|
789
842
|
begin: e.from,
|
|
790
843
|
end: e.to
|
|
791
844
|
}
|
|
792
845
|
} }, {
|
|
793
|
-
default: W(() => [I(H(r.$t("core.section.timeline")) + " | " + H(U(
|
|
846
|
+
default: W(() => [I(H(r.$t("core.section.timeline")) + " | " + H(U(Ze)("countries", U(Ue)(e.country))), 1)]),
|
|
794
847
|
_: 2
|
|
795
848
|
}, 1032, ["to"])])])) : N("", !0)]),
|
|
796
849
|
_: 1
|
|
797
850
|
}, 8, ["spec"]));
|
|
798
851
|
}
|
|
799
|
-
},
|
|
852
|
+
}, Sr = { class: "mwnf-dxa-collection-search" }, Cr = {
|
|
800
853
|
__name: "CollectionSearch",
|
|
801
854
|
setup(e) {
|
|
802
|
-
let t =
|
|
855
|
+
let t = Pt(Fe, Ye), n = j(() => Ge.filter((e) => (t.value[e] ?? []).length > 0)), r = j(() => ({
|
|
803
856
|
mode: "facets",
|
|
804
857
|
target: "collection-results",
|
|
805
858
|
dates: "buckets",
|
|
@@ -810,11 +863,11 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
810
863
|
options: t.value.country
|
|
811
864
|
}, ...n.value.map((e) => ({
|
|
812
865
|
key: e,
|
|
813
|
-
label:
|
|
866
|
+
label: qe[e],
|
|
814
867
|
options: t.value[e]
|
|
815
868
|
}))]
|
|
816
869
|
}));
|
|
817
|
-
return (e, t) => (z(), P("div",
|
|
870
|
+
return (e, t) => (z(), P("div", Sr, [L(tt, { spec: r.value }, {
|
|
818
871
|
intro: W(() => [L(U(G), {
|
|
819
872
|
id: "mwnf-dxa-collection-search-description",
|
|
820
873
|
class: "mwnf-dxa-description mwnf-prose",
|
|
@@ -824,7 +877,7 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
824
877
|
_: 1
|
|
825
878
|
}, 8, ["spec"])]));
|
|
826
879
|
}
|
|
827
|
-
},
|
|
880
|
+
}, wr = { class: "mwnf-dxa-profile-link-container" }, Tr = {
|
|
828
881
|
__name: "PartnerObjects",
|
|
829
882
|
props: {
|
|
830
883
|
variant: {
|
|
@@ -837,16 +890,16 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
837
890
|
}
|
|
838
891
|
},
|
|
839
892
|
setup(t) {
|
|
840
|
-
let n = t, a = j(() => n.variant === "institution"), o =
|
|
893
|
+
let n = t, a = j(() => n.variant === "institution"), o = Rt(), s = j(() => Ee(o.params.id)), c = j(() => s.value ? x.view(s.value, we("partners", s.value.id, Le)) : null), l = j(() => ({
|
|
841
894
|
entity: "items",
|
|
842
895
|
scope: (e) => e.partner_id === s.value?.id,
|
|
843
896
|
sort: { undated: "first" },
|
|
844
|
-
pageSize:
|
|
897
|
+
pageSize: Be,
|
|
845
898
|
variant: "grid",
|
|
846
899
|
recordRoute: "item",
|
|
847
900
|
actionLabel: "catalogue.results.seeDatabaseEntry",
|
|
848
901
|
empty: a.value ? n.texts.emptyInstitution : n.texts.emptyPartner,
|
|
849
|
-
record: (e, { t }) =>
|
|
902
|
+
record: (e, { t }) => Ve(e, t),
|
|
850
903
|
summary: ({ pageInfo: e, t }) => [{
|
|
851
904
|
count: e.total,
|
|
852
905
|
value: t(a.value ? n.texts.institutionSummary : "partner.item.objectsInSite")
|
|
@@ -869,9 +922,9 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
869
922
|
jump: "",
|
|
870
923
|
onNavigate: t
|
|
871
924
|
}, null, 8, ["page-info", "onNavigate"])]),
|
|
872
|
-
after: W(() => [F("div",
|
|
925
|
+
after: W(() => [F("div", wr, [L(U(Z), {
|
|
873
926
|
class: "mwnf-dxa-profile-link",
|
|
874
|
-
to: U(
|
|
927
|
+
to: U(ke)(s.value)
|
|
875
928
|
}, {
|
|
876
929
|
default: W(() => [I(" ➤ " + H(a.value ? t.$t(n.texts.institutionProfileLabel) : t.$t(n.texts.partnerProfileLabel)), 1)]),
|
|
877
930
|
_: 1
|
|
@@ -879,15 +932,15 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
879
932
|
_: 1
|
|
880
933
|
}, 8, ["spec"])) : N("", !0);
|
|
881
934
|
}
|
|
882
|
-
},
|
|
935
|
+
}, Er = () => Promise.resolve().then(() => Ni), Dr = () => Promise.resolve().then(() => Ji), Or = () => Promise.resolve().then(() => da), kr = () => Promise.resolve().then(() => Da), Ar = () => Promise.resolve().then(() => Aa), jr = () => Promise.resolve().then(() => Na), Mr = () => import("./Theme-4RmyRY0x.js").then((e) => e.t), Nr = () => Promise.resolve().then(() => La), Pr = () => Promise.resolve().then(() => Va), Fr = () => Promise.resolve().then(() => Wa), Ir = () => Promise.resolve().then(() => Ka), Lr = {
|
|
883
936
|
emptyPartner: "exhibition.partnerObjects.emptyPartner",
|
|
884
937
|
emptyInstitution: "exhibition.partnerObjects.emptyInstitution",
|
|
885
938
|
institutionSummary: "exhibition.partner.monumentsInExhibition",
|
|
886
939
|
partnerProfileLabel: "partner.action.partnerProfile",
|
|
887
940
|
institutionProfileLabel: "exhibition.partnerObjects.institutionProfile"
|
|
888
941
|
};
|
|
889
|
-
function
|
|
890
|
-
let t =
|
|
942
|
+
function Rr(e) {
|
|
943
|
+
let t = At([
|
|
891
944
|
"gallery",
|
|
892
945
|
"items",
|
|
893
946
|
"partners",
|
|
@@ -898,104 +951,104 @@ function yr(e) {
|
|
|
898
951
|
{
|
|
899
952
|
path: "/",
|
|
900
953
|
name: "home",
|
|
901
|
-
component:
|
|
954
|
+
component: Er,
|
|
902
955
|
meta: t("home")
|
|
903
956
|
},
|
|
904
957
|
{
|
|
905
958
|
path: "/item/:id",
|
|
906
959
|
name: "item",
|
|
907
|
-
component:
|
|
960
|
+
component: Dr,
|
|
908
961
|
props: (e) => ({ id: String(e.params.id) }),
|
|
909
962
|
meta: t("database", "languages", "dynasties", "glossary", "timelines", "timeline_events")
|
|
910
963
|
},
|
|
911
964
|
{
|
|
912
965
|
path: "/timeline",
|
|
913
966
|
name: "timeline",
|
|
914
|
-
component:
|
|
967
|
+
component: Or,
|
|
915
968
|
meta: t("timeline", "timelines", "timeline_events")
|
|
916
969
|
}
|
|
917
970
|
] : [],
|
|
918
971
|
{
|
|
919
972
|
path: "/search",
|
|
920
973
|
name: "search-results",
|
|
921
|
-
component:
|
|
974
|
+
component: Tn,
|
|
922
975
|
meta: t("database")
|
|
923
976
|
},
|
|
924
977
|
{
|
|
925
978
|
path: "/how-to-search",
|
|
926
979
|
name: "search-how-to",
|
|
927
|
-
component:
|
|
980
|
+
component: Gt,
|
|
928
981
|
meta: t("database")
|
|
929
982
|
},
|
|
930
983
|
{
|
|
931
984
|
path: "/partners",
|
|
932
985
|
name: "partners",
|
|
933
|
-
component:
|
|
986
|
+
component: sn,
|
|
934
987
|
meta: t("partners")
|
|
935
988
|
},
|
|
936
989
|
{
|
|
937
990
|
path: "/partner/:id",
|
|
938
991
|
name: "partner",
|
|
939
|
-
component:
|
|
992
|
+
component: Vt,
|
|
940
993
|
props: (e) => ({
|
|
941
994
|
id: String(e.params.id),
|
|
942
|
-
family:
|
|
995
|
+
family: _
|
|
943
996
|
}),
|
|
944
997
|
meta: t("partners", "languages")
|
|
945
998
|
},
|
|
946
999
|
{
|
|
947
1000
|
path: "/partner/:id/objects",
|
|
948
1001
|
name: "partner-objects",
|
|
949
|
-
component:
|
|
1002
|
+
component: ar,
|
|
950
1003
|
meta: t("partners")
|
|
951
1004
|
},
|
|
952
1005
|
{
|
|
953
1006
|
path: "/timeline-results",
|
|
954
1007
|
name: "timeline-results",
|
|
955
|
-
component:
|
|
1008
|
+
component: En,
|
|
956
1009
|
meta: t("timeline", "timelines", "timeline_events")
|
|
957
1010
|
},
|
|
958
1011
|
{
|
|
959
1012
|
path: "/timeline/gallery",
|
|
960
1013
|
name: "timeline-gallery",
|
|
961
|
-
component:
|
|
1014
|
+
component: kn,
|
|
962
1015
|
meta: t("timeline", "timelines", "timeline_events")
|
|
963
1016
|
},
|
|
964
1017
|
{
|
|
965
1018
|
path: "/about",
|
|
966
1019
|
name: "about",
|
|
967
|
-
component:
|
|
1020
|
+
component: Ut,
|
|
968
1021
|
meta: t("about")
|
|
969
1022
|
},
|
|
970
1023
|
{
|
|
971
1024
|
path: "/credits",
|
|
972
1025
|
name: "credits",
|
|
973
|
-
component:
|
|
1026
|
+
component: Wt,
|
|
974
1027
|
props: { bodyKey: n },
|
|
975
1028
|
meta: t("credits")
|
|
976
1029
|
},
|
|
977
1030
|
{
|
|
978
1031
|
path: "/collection",
|
|
979
1032
|
name: "collection",
|
|
980
|
-
component:
|
|
1033
|
+
component: $n,
|
|
981
1034
|
meta: t("collection", "tags")
|
|
982
1035
|
},
|
|
983
1036
|
{
|
|
984
1037
|
path: "/collection-results",
|
|
985
1038
|
name: "collection-results",
|
|
986
|
-
component:
|
|
1039
|
+
component: Rn,
|
|
987
1040
|
meta: t("collection", "tags", "timelines")
|
|
988
1041
|
}
|
|
989
1042
|
];
|
|
990
1043
|
}
|
|
991
|
-
function
|
|
992
|
-
let t =
|
|
1044
|
+
function zr(e) {
|
|
1045
|
+
let t = At([
|
|
993
1046
|
"exhibition",
|
|
994
1047
|
"items",
|
|
995
1048
|
"partners",
|
|
996
1049
|
"countries"
|
|
997
1050
|
]), n = {
|
|
998
|
-
...
|
|
1051
|
+
...Lr,
|
|
999
1052
|
...e.partnerObjects
|
|
1000
1053
|
};
|
|
1001
1054
|
return [
|
|
@@ -1003,56 +1056,56 @@ function br(e) {
|
|
|
1003
1056
|
{
|
|
1004
1057
|
path: "/",
|
|
1005
1058
|
name: "home",
|
|
1006
|
-
component:
|
|
1059
|
+
component: kr,
|
|
1007
1060
|
meta: t("home")
|
|
1008
1061
|
},
|
|
1009
1062
|
{
|
|
1010
1063
|
path: "/about",
|
|
1011
1064
|
name: "about",
|
|
1012
|
-
component:
|
|
1065
|
+
component: Ar,
|
|
1013
1066
|
meta: t("about", "themes")
|
|
1014
1067
|
},
|
|
1015
1068
|
{
|
|
1016
1069
|
path: "/themes",
|
|
1017
1070
|
name: "themes",
|
|
1018
|
-
component:
|
|
1071
|
+
component: jr,
|
|
1019
1072
|
meta: t("themes", "themes")
|
|
1020
1073
|
},
|
|
1021
1074
|
{
|
|
1022
1075
|
path: "/theme/:id/:subtheme?/:image?",
|
|
1023
1076
|
name: "theme",
|
|
1024
|
-
component:
|
|
1077
|
+
component: Mr,
|
|
1025
1078
|
meta: t("themes", "themes", "glossary", "dynasties")
|
|
1026
1079
|
},
|
|
1027
1080
|
{
|
|
1028
1081
|
path: "/theme-gallery/:id",
|
|
1029
1082
|
name: "theme-gallery",
|
|
1030
|
-
component:
|
|
1083
|
+
component: Nr,
|
|
1031
1084
|
meta: t("themes", "themes")
|
|
1032
1085
|
},
|
|
1033
1086
|
{
|
|
1034
1087
|
path: "/item/:id",
|
|
1035
1088
|
name: "item",
|
|
1036
|
-
component:
|
|
1089
|
+
component: Pr,
|
|
1037
1090
|
props: (e) => ({ id: String(e.params.id) }),
|
|
1038
1091
|
meta: t("database", "languages", "dynasties", "glossary", "timelines", "timeline_events")
|
|
1039
1092
|
},
|
|
1040
1093
|
{
|
|
1041
1094
|
path: "/related",
|
|
1042
1095
|
name: "related",
|
|
1043
|
-
component:
|
|
1096
|
+
component: Fr,
|
|
1044
1097
|
meta: t("related", "related_content")
|
|
1045
1098
|
},
|
|
1046
1099
|
{
|
|
1047
1100
|
path: "/timeline",
|
|
1048
1101
|
name: "timeline",
|
|
1049
|
-
component:
|
|
1102
|
+
component: Ir,
|
|
1050
1103
|
meta: t("timeline", "timelines", "timeline_events")
|
|
1051
1104
|
},
|
|
1052
1105
|
...e.creditsBody ? [{
|
|
1053
1106
|
path: "/credits",
|
|
1054
1107
|
name: "credits",
|
|
1055
|
-
component:
|
|
1108
|
+
component: nt,
|
|
1056
1109
|
props: { spec: {
|
|
1057
1110
|
body: e.creditsBody,
|
|
1058
1111
|
back: !0
|
|
@@ -1063,25 +1116,25 @@ function br(e) {
|
|
|
1063
1116
|
{
|
|
1064
1117
|
path: "/search",
|
|
1065
1118
|
name: "search-results",
|
|
1066
|
-
component:
|
|
1119
|
+
component: hr,
|
|
1067
1120
|
meta: t("database")
|
|
1068
1121
|
},
|
|
1069
1122
|
{
|
|
1070
1123
|
path: "/how-to-search",
|
|
1071
1124
|
name: "search-how-to",
|
|
1072
|
-
component:
|
|
1125
|
+
component: or,
|
|
1073
1126
|
meta: t("database")
|
|
1074
1127
|
},
|
|
1075
1128
|
{
|
|
1076
1129
|
path: "/partners",
|
|
1077
1130
|
name: "partners",
|
|
1078
|
-
component:
|
|
1131
|
+
component: lr,
|
|
1079
1132
|
meta: t("partners")
|
|
1080
1133
|
},
|
|
1081
1134
|
{
|
|
1082
1135
|
path: "/partner/:id",
|
|
1083
1136
|
name: "partner",
|
|
1084
|
-
component:
|
|
1137
|
+
component: Vt,
|
|
1085
1138
|
props: (e) => ({
|
|
1086
1139
|
id: String(e.params.id),
|
|
1087
1140
|
family: x
|
|
@@ -1091,14 +1144,14 @@ function br(e) {
|
|
|
1091
1144
|
{
|
|
1092
1145
|
path: "/partner/:id/objects",
|
|
1093
1146
|
name: "partner-objects",
|
|
1094
|
-
component:
|
|
1147
|
+
component: Tr,
|
|
1095
1148
|
props: { texts: n },
|
|
1096
1149
|
meta: t("partners")
|
|
1097
1150
|
},
|
|
1098
1151
|
{
|
|
1099
1152
|
path: "/institution/:id",
|
|
1100
1153
|
name: "institution",
|
|
1101
|
-
component:
|
|
1154
|
+
component: Vt,
|
|
1102
1155
|
props: (e) => ({
|
|
1103
1156
|
id: String(e.params.id),
|
|
1104
1157
|
family: x,
|
|
@@ -1109,7 +1162,7 @@ function br(e) {
|
|
|
1109
1162
|
{
|
|
1110
1163
|
path: "/institution/:id/monuments",
|
|
1111
1164
|
name: "institution-monuments",
|
|
1112
|
-
component:
|
|
1165
|
+
component: Tr,
|
|
1113
1166
|
props: {
|
|
1114
1167
|
variant: "institution",
|
|
1115
1168
|
texts: n
|
|
@@ -1119,36 +1172,36 @@ function br(e) {
|
|
|
1119
1172
|
{
|
|
1120
1173
|
path: "/timeline-results",
|
|
1121
1174
|
name: "timeline-results",
|
|
1122
|
-
component:
|
|
1175
|
+
component: gr,
|
|
1123
1176
|
meta: t("timeline", "timelines", "timeline_events")
|
|
1124
1177
|
},
|
|
1125
1178
|
{
|
|
1126
1179
|
path: "/timeline/gallery",
|
|
1127
1180
|
name: "timeline-gallery",
|
|
1128
|
-
component:
|
|
1181
|
+
component: _r,
|
|
1129
1182
|
meta: t("timeline", "timelines", "timeline_events")
|
|
1130
1183
|
},
|
|
1131
1184
|
{
|
|
1132
1185
|
path: "/collection",
|
|
1133
1186
|
name: "collection",
|
|
1134
|
-
component:
|
|
1187
|
+
component: Cr,
|
|
1135
1188
|
meta: t("collection", "tags")
|
|
1136
1189
|
},
|
|
1137
1190
|
{
|
|
1138
1191
|
path: "/collection-results",
|
|
1139
1192
|
name: "collection-results",
|
|
1140
|
-
component:
|
|
1193
|
+
component: xr,
|
|
1141
1194
|
meta: t("collection", "tags", "timelines")
|
|
1142
1195
|
}
|
|
1143
1196
|
];
|
|
1144
1197
|
}
|
|
1145
|
-
function
|
|
1146
|
-
if (e === "gallery") return
|
|
1147
|
-
if (e === "exhibition") return
|
|
1198
|
+
function Br(e, t = {}) {
|
|
1199
|
+
if (e === "gallery") return Rr(t);
|
|
1200
|
+
if (e === "exhibition") return zr(t);
|
|
1148
1201
|
throw Error(`standardRoutes: unknown family "${e}" (expected "gallery" or "exhibition")`);
|
|
1149
1202
|
}
|
|
1150
1203
|
// node_modules/@museumwnf/viewer-core/src/legacy/index.js
|
|
1151
|
-
function
|
|
1204
|
+
function Vr(e, t = []) {
|
|
1152
1205
|
let n = String(e?.backward_compatibility ?? "").split(":");
|
|
1153
1206
|
if (n[0] === "mwnf3_sharing_history") {
|
|
1154
1207
|
let t = n[2] ?? e?.id ?? "";
|
|
@@ -1167,18 +1220,18 @@ function Sr(e, t = []) {
|
|
|
1167
1220
|
countryCode: r?.code ?? ""
|
|
1168
1221
|
};
|
|
1169
1222
|
}
|
|
1170
|
-
function
|
|
1223
|
+
function Hr(e, t, n, r) {
|
|
1171
1224
|
return (e ?? []).find((e) => {
|
|
1172
|
-
let i =
|
|
1225
|
+
let i = Vr(e, t);
|
|
1173
1226
|
return i.legacyId === r && i.countryCode === n;
|
|
1174
1227
|
}) ?? null;
|
|
1175
1228
|
}
|
|
1176
|
-
function
|
|
1229
|
+
function Ur(e, t) {
|
|
1177
1230
|
let n = String(t ?? "").split("/").join(":").toLowerCase();
|
|
1178
1231
|
return (e ?? []).find((e) => e?.backward_compatibility?.toLowerCase() === n) ?? null;
|
|
1179
1232
|
}
|
|
1180
1233
|
// src/dxa/gallery/Shell.vue
|
|
1181
|
-
var
|
|
1234
|
+
var Wr = {
|
|
1182
1235
|
__name: "Shell",
|
|
1183
1236
|
props: {
|
|
1184
1237
|
language: {
|
|
@@ -1192,54 +1245,54 @@ var Tr = {
|
|
|
1192
1245
|
},
|
|
1193
1246
|
emits: ["update:language"],
|
|
1194
1247
|
setup(e, { emit: t }) {
|
|
1195
|
-
let n = e, r = t, { t: i, locale: a } = J(), o =
|
|
1248
|
+
let n = e, r = t, { t: i, locale: a } = J(), o = Y(), s = j(() => o.links ?? {}), c = j(() => o.galleryShell ?? {}), l = Lt(), u = j(() => l.value === "home"), d = (/* @__PURE__ */ new Date()).getFullYear();
|
|
1196
1249
|
function f(e) {
|
|
1197
1250
|
return e?.[a.value] ?? e?.en ?? "";
|
|
1198
1251
|
}
|
|
1199
|
-
let
|
|
1200
|
-
let e =
|
|
1201
|
-
return f(e?.name) || f(
|
|
1252
|
+
let m = j(() => {
|
|
1253
|
+
let e = ge.projects?.[ge.gallery?.project_id ?? b.value?.project_id];
|
|
1254
|
+
return f(e?.name) || f(ge.site?.names) || f(b.value?.names);
|
|
1202
1255
|
});
|
|
1203
1256
|
function h(e, t) {
|
|
1204
1257
|
if (!(e in c.value)) return t();
|
|
1205
1258
|
let n = c.value[e];
|
|
1206
1259
|
return n ? i(n) : "";
|
|
1207
1260
|
}
|
|
1208
|
-
let ee = j(() => u.value ? "" : h("headerEyebrow", () => i("core.project.galleries"))),
|
|
1261
|
+
let ee = j(() => u.value ? "" : h("headerEyebrow", () => i("core.project.galleries"))), te = j(() => u.value ? "" : h("headerTitle", () => m.value)), g = j(() => c.value.bannerImage ? O(o.chrome, c.value.bannerImage) : ae(b.value?.banner_image_path, "hi_res")), _ = j(() => {
|
|
1209
1262
|
if (c.value.bannerCaption) return c.value.bannerCaption;
|
|
1210
|
-
let e =
|
|
1263
|
+
let e = re.value.get(b.value?.banner_item_id);
|
|
1211
1264
|
if (!e) return "";
|
|
1212
|
-
let t =
|
|
1265
|
+
let t = p("items", e.id, pe);
|
|
1213
1266
|
return {
|
|
1214
|
-
name:
|
|
1215
|
-
partner:
|
|
1267
|
+
name: ie("items", e.id),
|
|
1268
|
+
partner: ie("partners", e.partner_id),
|
|
1216
1269
|
location: t.location ?? "",
|
|
1217
|
-
country:
|
|
1270
|
+
country: ie("countries", e.country_id)
|
|
1218
1271
|
};
|
|
1219
|
-
}), ne = j(() => u.value ? h("bannerEyebrow", () => i("gallery.banner.discoverGalleries")) : ""),
|
|
1272
|
+
}), ne = j(() => u.value ? h("bannerEyebrow", () => i("gallery.banner.discoverGalleries")) : ""), v = j(() => u.value ? h("bannerTitle", () => m.value) : void 0), y = j(() => c.value.notice === !1 ? null : {
|
|
1220
1273
|
title: i("gallery.notice.tip"),
|
|
1221
1274
|
text: i("gallery.notice.databaseReplaced")
|
|
1222
|
-
}),
|
|
1223
|
-
return (e, t) => (z(), M(
|
|
1275
|
+
}), oe = j(() => !!O(o.chrome, o.brand?.logo));
|
|
1276
|
+
return (e, t) => (z(), M(rt, {
|
|
1224
1277
|
class: R(["mwnf-dxa-gallery-shell", { "mwnf-dxa-gallery-shell--home": u.value }]),
|
|
1225
1278
|
languages: n.languages,
|
|
1226
1279
|
language: n.language,
|
|
1227
1280
|
"language-placement": "none",
|
|
1228
1281
|
"header-home": s.value.portal,
|
|
1229
1282
|
"header-eyebrow": ee.value,
|
|
1230
|
-
"header-title":
|
|
1283
|
+
"header-title": te.value,
|
|
1231
1284
|
"header-title-href": "#/",
|
|
1232
|
-
"banner-image":
|
|
1285
|
+
"banner-image": g.value,
|
|
1233
1286
|
"banner-caption": _.value,
|
|
1234
1287
|
"banner-eyebrow": ne.value,
|
|
1235
|
-
"banner-title":
|
|
1236
|
-
notice:
|
|
1288
|
+
"banner-title": v.value,
|
|
1289
|
+
notice: y.value,
|
|
1237
1290
|
"footer-text": `${U(i)("core.footer.copyright")} 2004–${U(d)}`,
|
|
1238
1291
|
"onUpdate:language": t[0] ||= (e) => r("update:language", e)
|
|
1239
|
-
},
|
|
1240
|
-
default: W(() => [
|
|
1292
|
+
}, ht({
|
|
1293
|
+
default: W(() => [yt(e.$slots, "default")]),
|
|
1241
1294
|
_: 2
|
|
1242
|
-
}, [
|
|
1295
|
+
}, [oe.value ? void 0 : {
|
|
1243
1296
|
name: "brand",
|
|
1244
1297
|
fn: W(() => [t[1] ||= F("span", { class: "mwnf-dxa-logo-mark" }, "MWNF", -1)]),
|
|
1245
1298
|
key: "0"
|
|
@@ -1258,10 +1311,10 @@ var Tr = {
|
|
|
1258
1311
|
"footer-text"
|
|
1259
1312
|
]));
|
|
1260
1313
|
}
|
|
1261
|
-
},
|
|
1314
|
+
}, Gr = {
|
|
1262
1315
|
key: 0,
|
|
1263
1316
|
class: "mwnf-popup-logo"
|
|
1264
|
-
},
|
|
1317
|
+
}, Kr = ["aria-label"], qr = ["innerHTML"], Jr = ["innerHTML"], Yr = {
|
|
1265
1318
|
__name: "PopupLogo",
|
|
1266
1319
|
props: {
|
|
1267
1320
|
content: {
|
|
@@ -1282,22 +1335,22 @@ var Tr = {
|
|
|
1282
1335
|
}
|
|
1283
1336
|
},
|
|
1284
1337
|
setup(e) {
|
|
1285
|
-
let t = e, n = B(!1), r = j(() => t.rawHtml ? t.content :
|
|
1286
|
-
return (t, a) => i.value ? (z(), P("div",
|
|
1338
|
+
let t = e, n = B(!1), r = j(() => t.rawHtml ? t.content : kt(t.content)), i = j(() => t.enabled && !!t.content && !n.value);
|
|
1339
|
+
return (t, a) => i.value ? (z(), P("div", Gr, [F("button", {
|
|
1287
1340
|
class: "mwnf-popup-logo__close",
|
|
1288
1341
|
"aria-label": t.$t(e.closeLabel),
|
|
1289
1342
|
onClick: a[0] ||= (e) => n.value = !0
|
|
1290
|
-
}, "✕", 8,
|
|
1343
|
+
}, "✕", 8, Kr), e.rawHtml ? (z(), P("div", {
|
|
1291
1344
|
key: 0,
|
|
1292
1345
|
class: "mwnf-popup-logo__content",
|
|
1293
1346
|
innerHTML: r.value
|
|
1294
|
-
}, null, 8,
|
|
1347
|
+
}, null, 8, qr)) : (z(), P("div", {
|
|
1295
1348
|
key: 1,
|
|
1296
1349
|
class: "mwnf-popup-logo__content",
|
|
1297
1350
|
innerHTML: r.value
|
|
1298
|
-
}, null, 8,
|
|
1351
|
+
}, null, 8, Jr))])) : N("", !0);
|
|
1299
1352
|
}
|
|
1300
|
-
},
|
|
1353
|
+
}, Xr = {
|
|
1301
1354
|
__name: "Shell",
|
|
1302
1355
|
props: {
|
|
1303
1356
|
language: {
|
|
@@ -1311,18 +1364,18 @@ var Tr = {
|
|
|
1311
1364
|
},
|
|
1312
1365
|
emits: ["update:language"],
|
|
1313
1366
|
setup(e, { emit: t }) {
|
|
1314
|
-
let n = e, r = t, { t: i, locale: a } = J(), o =
|
|
1315
|
-
let e = f.value ? "" :
|
|
1367
|
+
let n = e, r = t, { t: i, locale: a } = J(), o = Y(), s = j(() => o.links ?? {}), c = j(() => !!O(o.chrome, o.brand?.logo)), l = Lt(), u = j(() => l.value === "home"), d = (/* @__PURE__ */ new Date()).getFullYear(), f = j(() => u.value ? S.value?.homepage_image_path : null), p = j(() => f.value ? C(f.value, "hi_res") : C(S.value?.banner_image_path, "hi_res")), m = j(() => {
|
|
1368
|
+
let e = f.value ? "" : Pe(a.value);
|
|
1316
1369
|
if (e) return e;
|
|
1317
1370
|
let t = f.value ? S.value?.homepage_item_id : S.value?.banner_item_id, n = w.value.get(t);
|
|
1318
1371
|
if (!n) return "";
|
|
1319
|
-
let r =
|
|
1372
|
+
let r = we("items", n.id, Le);
|
|
1320
1373
|
return {
|
|
1321
|
-
name:
|
|
1374
|
+
name: Ze("items", n.id),
|
|
1322
1375
|
holder: r.holder ?? "",
|
|
1323
1376
|
location: r.location ?? "",
|
|
1324
1377
|
province: f.value ? "" : r.province ?? "",
|
|
1325
|
-
country:
|
|
1378
|
+
country: Ze("countries", n.country_id)
|
|
1326
1379
|
};
|
|
1327
1380
|
}), h = j(() => [{
|
|
1328
1381
|
label: i("core.nav.about"),
|
|
@@ -1336,7 +1389,7 @@ var Tr = {
|
|
|
1336
1389
|
function ee(e) {
|
|
1337
1390
|
return e.labels?.[a.value] ?? e.labels?.en ?? e.alt_text ?? "";
|
|
1338
1391
|
}
|
|
1339
|
-
let
|
|
1392
|
+
let te = j(() => {
|
|
1340
1393
|
let e = o.sponsorLogos;
|
|
1341
1394
|
return Array.isArray(e) ? e.map((e) => ({
|
|
1342
1395
|
...e,
|
|
@@ -1352,17 +1405,17 @@ var Tr = {
|
|
|
1352
1405
|
display_order: e.display_order
|
|
1353
1406
|
})).filter((e) => e.image);
|
|
1354
1407
|
});
|
|
1355
|
-
function
|
|
1408
|
+
function g(e) {
|
|
1356
1409
|
let t = o.media?.legacyHost;
|
|
1357
1410
|
if (!t || !e.startsWith(`${t.replace(/\/+$/, "")}/`)) return null;
|
|
1358
1411
|
let n = e.slice(t.replace(/\/+$/, "").length + 1).split("/").slice(1).join("/");
|
|
1359
|
-
return
|
|
1412
|
+
return at(o.chrome, n);
|
|
1360
1413
|
}
|
|
1361
|
-
let _ = j(() =>
|
|
1414
|
+
let _ = j(() => it(xe(S.value?.popup_logos?.[a.value] ?? S.value?.popup_logos?.en ?? ""), g)), ne = j(() => {
|
|
1362
1415
|
let e = S.value?.popup_logo_show;
|
|
1363
1416
|
return e == null ? !1 : typeof e == "boolean" ? e : e[a.value] ?? e.en ?? !1;
|
|
1364
1417
|
});
|
|
1365
|
-
return (e, t) => (z(), M(
|
|
1418
|
+
return (e, t) => (z(), M(rt, {
|
|
1366
1419
|
languages: n.languages,
|
|
1367
1420
|
language: n.language,
|
|
1368
1421
|
"language-placement": "header",
|
|
@@ -1373,29 +1426,29 @@ var Tr = {
|
|
|
1373
1426
|
"banner-image": p.value,
|
|
1374
1427
|
"banner-caption": m.value,
|
|
1375
1428
|
"banner-caption-label": U(i)("layout.banner.detailFrom"),
|
|
1376
|
-
"banner-title": u.value ? U(
|
|
1377
|
-
"banner-subtitle": u.value ? U(
|
|
1378
|
-
"banner-headline": u.value ? U(
|
|
1429
|
+
"banner-title": u.value ? U(ze)(U(a)) : "",
|
|
1430
|
+
"banner-subtitle": u.value ? U(We)(U(a)) : "",
|
|
1431
|
+
"banner-headline": u.value ? U(Ke)(U(a)) : "",
|
|
1379
1432
|
"banner-enter": u.value ? {
|
|
1380
1433
|
label: U(i)("exhibition.action.enter"),
|
|
1381
1434
|
href: "#/about"
|
|
1382
1435
|
} : null,
|
|
1383
1436
|
"banner-strapline": u.value ? U(i)("exhibition.identity.strapline") : "",
|
|
1384
1437
|
"hyperlinks-variant": "tiles",
|
|
1385
|
-
"hyperlinks-title": U(
|
|
1438
|
+
"hyperlinks-title": U(ze)(U(a)),
|
|
1386
1439
|
"hyperlinks-title-href": "#/",
|
|
1387
|
-
"hyperlinks-subtitle": U(
|
|
1440
|
+
"hyperlinks-subtitle": U(We)(U(a)),
|
|
1388
1441
|
hyperlinks: h.value,
|
|
1389
1442
|
"footer-text": `${U(i)("core.footer.copyright")} 2004–${U(d)}`,
|
|
1390
|
-
logos:
|
|
1443
|
+
logos: te.value,
|
|
1391
1444
|
"onUpdate:language": t[0] ||= (e) => r("update:language", e)
|
|
1392
|
-
},
|
|
1393
|
-
notice: W(() => [L(
|
|
1445
|
+
}, ht({
|
|
1446
|
+
notice: W(() => [L(Yr, {
|
|
1394
1447
|
content: _.value,
|
|
1395
|
-
enabled:
|
|
1448
|
+
enabled: ne.value,
|
|
1396
1449
|
"raw-html": ""
|
|
1397
1450
|
}, null, 8, ["content", "enabled"])]),
|
|
1398
|
-
default: W(() => [
|
|
1451
|
+
default: W(() => [yt(e.$slots, "default")]),
|
|
1399
1452
|
_: 2
|
|
1400
1453
|
}, [c.value ? void 0 : {
|
|
1401
1454
|
name: "brand",
|
|
@@ -1423,23 +1476,23 @@ var Tr = {
|
|
|
1423
1476
|
}
|
|
1424
1477
|
};
|
|
1425
1478
|
// src/dxa/config.js
|
|
1426
|
-
function
|
|
1479
|
+
function Zr({ country: e, start: t, end: n, page: r }) {
|
|
1427
1480
|
let i = { country: e };
|
|
1428
1481
|
return t !== "any" && (i.begin = t), n !== "any" && (i.end = n), Number(r) > 1 && (i.page = r), {
|
|
1429
1482
|
name: "timeline-gallery",
|
|
1430
1483
|
query: i
|
|
1431
1484
|
};
|
|
1432
1485
|
}
|
|
1433
|
-
function
|
|
1434
|
-
let { manifest: c } =
|
|
1486
|
+
function Qr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {}, noticeProjects: i = [], creditsBody: a, chrome: o = {}, homeLogos: s = [] }) {
|
|
1487
|
+
let { manifest: c } = Nt(), l = Ot();
|
|
1435
1488
|
return {
|
|
1436
1489
|
datasetPackage: e,
|
|
1437
1490
|
siteName: c.site?.names?.en ?? t,
|
|
1438
1491
|
features: { entities: [] },
|
|
1439
1492
|
languages: l,
|
|
1440
|
-
shell:
|
|
1493
|
+
shell: Wr,
|
|
1441
1494
|
navigation: {
|
|
1442
|
-
languages:
|
|
1495
|
+
languages: Et(l),
|
|
1443
1496
|
links: [
|
|
1444
1497
|
{
|
|
1445
1498
|
section: "about",
|
|
@@ -1524,7 +1577,7 @@ function Nr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1524
1577
|
empty: "all-objects"
|
|
1525
1578
|
},
|
|
1526
1579
|
placement: ({ section: e }) => e === "home" ? "after-banner" : "before-banner",
|
|
1527
|
-
socialLinks:
|
|
1580
|
+
socialLinks: st
|
|
1528
1581
|
},
|
|
1529
1582
|
banner: {
|
|
1530
1583
|
variant: ({ section: e }) => e === "home" ? "strip" : "section",
|
|
@@ -1546,7 +1599,7 @@ function Nr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1546
1599
|
projectColors: r,
|
|
1547
1600
|
noticeProjects: i,
|
|
1548
1601
|
site: { origin: n },
|
|
1549
|
-
extraViews:
|
|
1602
|
+
extraViews: Br("gallery", {
|
|
1550
1603
|
creditsBody: a,
|
|
1551
1604
|
pages: !0
|
|
1552
1605
|
}),
|
|
@@ -1566,7 +1619,7 @@ function Nr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1566
1619
|
path: "/partner/:country/:id/:language",
|
|
1567
1620
|
async resolve({ country: e, id: t }) {
|
|
1568
1621
|
await K(["partners"]);
|
|
1569
|
-
let n =
|
|
1622
|
+
let n = ve(e, t);
|
|
1570
1623
|
return n ? {
|
|
1571
1624
|
name: "partner",
|
|
1572
1625
|
params: { id: n.id }
|
|
@@ -1577,7 +1630,7 @@ function Nr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1577
1630
|
path: "/partner-objects/:country/:id/:page",
|
|
1578
1631
|
async resolve({ country: e, id: t, page: n }) {
|
|
1579
1632
|
await K(["partners"]);
|
|
1580
|
-
let r =
|
|
1633
|
+
let r = ve(e, t);
|
|
1581
1634
|
return r ? {
|
|
1582
1635
|
name: "partner-objects",
|
|
1583
1636
|
params: { id: r.id },
|
|
@@ -1587,7 +1640,7 @@ function Nr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1587
1640
|
},
|
|
1588
1641
|
{
|
|
1589
1642
|
path: "/timeline-gallery/:country/:start/:end/:page",
|
|
1590
|
-
resolve:
|
|
1643
|
+
resolve: Zr
|
|
1591
1644
|
},
|
|
1592
1645
|
{
|
|
1593
1646
|
path: "/error",
|
|
@@ -1596,18 +1649,18 @@ function Nr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1596
1649
|
]
|
|
1597
1650
|
};
|
|
1598
1651
|
}
|
|
1599
|
-
function
|
|
1600
|
-
let { manifest: l } =
|
|
1652
|
+
function $r({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {}, noticeProjects: i = [], creditsBody: a, partnerObjects: o, chrome: s = {}, sponsorLogos: c }) {
|
|
1653
|
+
let { manifest: l } = Nt(), u = Ot(), d = async (e, t) => (await K([
|
|
1601
1654
|
"exhibition",
|
|
1602
1655
|
"partners",
|
|
1603
1656
|
"countries"
|
|
1604
|
-
]),
|
|
1657
|
+
]), Hr(je.value, Ie.value, e, t));
|
|
1605
1658
|
return {
|
|
1606
1659
|
datasetPackage: e,
|
|
1607
1660
|
siteName: l.site?.names?.en ?? t,
|
|
1608
1661
|
features: { entities: [] },
|
|
1609
1662
|
languages: u,
|
|
1610
|
-
shell:
|
|
1663
|
+
shell: Xr,
|
|
1611
1664
|
navigation: {
|
|
1612
1665
|
languages: u.map((e) => ({
|
|
1613
1666
|
code: e,
|
|
@@ -1638,7 +1691,7 @@ function Pr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1638
1691
|
section: "timeline",
|
|
1639
1692
|
label: "core.nav.timeline",
|
|
1640
1693
|
to: { name: "timeline" },
|
|
1641
|
-
when: () =>
|
|
1694
|
+
when: () => Re.value
|
|
1642
1695
|
},
|
|
1643
1696
|
{
|
|
1644
1697
|
section: "related",
|
|
@@ -1709,7 +1762,7 @@ function Pr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1709
1762
|
empty: "all-objects"
|
|
1710
1763
|
},
|
|
1711
1764
|
placement: "before-banner",
|
|
1712
|
-
socialLinks:
|
|
1765
|
+
socialLinks: st
|
|
1713
1766
|
},
|
|
1714
1767
|
banner: { variant: ({ section: e }) => e === "home" ? "split" : "section" },
|
|
1715
1768
|
chrome: s,
|
|
@@ -1743,7 +1796,7 @@ function Pr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1743
1796
|
projectColors: r,
|
|
1744
1797
|
noticeProjects: i,
|
|
1745
1798
|
site: { origin: n },
|
|
1746
|
-
extraViews:
|
|
1799
|
+
extraViews: Br("exhibition", {
|
|
1747
1800
|
creditsBody: a,
|
|
1748
1801
|
partnerObjects: o,
|
|
1749
1802
|
pages: !0
|
|
@@ -1753,7 +1806,7 @@ function Pr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1753
1806
|
path: "/database-item/:uid(.*)/:language",
|
|
1754
1807
|
async resolve({ uid: e }) {
|
|
1755
1808
|
await K(["items"]);
|
|
1756
|
-
let t =
|
|
1809
|
+
let t = Ur(Fe.value, e);
|
|
1757
1810
|
return t ? {
|
|
1758
1811
|
name: "item",
|
|
1759
1812
|
params: { id: t.id }
|
|
@@ -1804,7 +1857,7 @@ function Pr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1804
1857
|
},
|
|
1805
1858
|
{
|
|
1806
1859
|
path: "/timeline-gallery/:country/:start/:end/:page",
|
|
1807
|
-
resolve:
|
|
1860
|
+
resolve: Zr
|
|
1808
1861
|
},
|
|
1809
1862
|
{
|
|
1810
1863
|
path: "/error",
|
|
@@ -1814,16 +1867,16 @@ function Pr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1814
1867
|
};
|
|
1815
1868
|
}
|
|
1816
1869
|
// src/dxa/FeaturedPartners.vue
|
|
1817
|
-
var
|
|
1870
|
+
var ei = {
|
|
1818
1871
|
key: 0,
|
|
1819
1872
|
class: "mwnf-featured-partners"
|
|
1820
|
-
},
|
|
1873
|
+
}, ti = { class: "mwnf-featured-partners__heading" }, ni = { class: "mwnf-featured-partners__carousel" }, ri = {
|
|
1821
1874
|
key: 0,
|
|
1822
1875
|
class: "mwnf-featured-partners__image"
|
|
1823
|
-
},
|
|
1876
|
+
}, ii = ["src", "alt"], ai = { class: "mwnf-featured-partners__body" }, oi = { class: "mwnf-featured-partners__name" }, si = { class: "mwnf-featured-partners__location" }, ci = { key: 0 }, li = { class: "mwnf-featured-partners__description" }, ui = {
|
|
1824
1877
|
key: 0,
|
|
1825
1878
|
class: "mwnf-featured-partners__controls"
|
|
1826
|
-
},
|
|
1879
|
+
}, di = ["aria-label", "onClick"], fi = 8e3, pi = {
|
|
1827
1880
|
__name: "FeaturedPartners",
|
|
1828
1881
|
props: {
|
|
1829
1882
|
records: {
|
|
@@ -1878,21 +1931,21 @@ var Fr = {
|
|
|
1878
1931
|
function l() {
|
|
1879
1932
|
o && clearInterval(o), i.value.length > 0 && (o = setInterval(() => {
|
|
1880
1933
|
a.value = (a.value + 1) % i.value.length;
|
|
1881
|
-
},
|
|
1934
|
+
}, fi));
|
|
1882
1935
|
}
|
|
1883
|
-
return
|
|
1884
|
-
F("h2",
|
|
1885
|
-
F("div",
|
|
1936
|
+
return vt(l), _t(() => o && clearInterval(o)), (t, n) => i.value.length ? (z(), P("section", ei, [
|
|
1937
|
+
F("h2", ti, H(t.$t(e.headingEntry)), 1),
|
|
1938
|
+
F("div", ni, [(z(!0), P(A, null, V(i.value, (n, r) => Ct((z(), P("div", {
|
|
1886
1939
|
key: n.id,
|
|
1887
1940
|
class: "mwnf-featured-partners__card"
|
|
1888
|
-
}, [n.logo ? (z(), P("span",
|
|
1941
|
+
}, [n.logo ? (z(), P("span", ri, [F("img", {
|
|
1889
1942
|
src: n.logo,
|
|
1890
1943
|
alt: n.name,
|
|
1891
1944
|
class: "mwnf-featured-partners__logo"
|
|
1892
|
-
}, null, 8,
|
|
1893
|
-
F("span",
|
|
1894
|
-
F("span",
|
|
1895
|
-
F("span",
|
|
1945
|
+
}, null, 8, ii)])) : N("", !0), F("span", ai, [
|
|
1946
|
+
F("span", oi, H(n.name), 1),
|
|
1947
|
+
F("span", si, [n.city ? (z(), P("span", ci, H(n.city) + ", ", 1)) : N("", !0), I(H(n.country), 1)]),
|
|
1948
|
+
F("span", li, H(n.description), 1),
|
|
1896
1949
|
n.route ? (z(), M(s, {
|
|
1897
1950
|
key: 0,
|
|
1898
1951
|
to: n.route,
|
|
@@ -1909,34 +1962,34 @@ var Fr = {
|
|
|
1909
1962
|
default: W(() => [I(H(t.$t(e.viewObjectsEntry)) + " >>", 1)]),
|
|
1910
1963
|
_: 1
|
|
1911
1964
|
}, 8, ["to"])) : N("", !0)
|
|
1912
|
-
])])), [[
|
|
1913
|
-
i.value.length > 1 ? (z(), P("div",
|
|
1965
|
+
])])), [[St, r === a.value]])), 128))]),
|
|
1966
|
+
i.value.length > 1 ? (z(), P("div", ui, [(z(!0), P(A, null, V(i.value, (e, n) => (z(), P("button", {
|
|
1914
1967
|
key: e.id,
|
|
1915
1968
|
class: R(["mwnf-featured-partners__bullet", { "mwnf-featured-partners__bullet--active": n === a.value }]),
|
|
1916
1969
|
"aria-label": `${t.$t("core.action.show")} ${e.name}`,
|
|
1917
1970
|
onClick: (e) => c(n)
|
|
1918
|
-
}, null, 10,
|
|
1971
|
+
}, null, 10, di))), 128))])) : N("", !0)
|
|
1919
1972
|
])) : N("", !0);
|
|
1920
1973
|
}
|
|
1921
|
-
},
|
|
1974
|
+
}, mi = { class: "mwnf-sibling-galleries" }, hi = {
|
|
1922
1975
|
key: 0,
|
|
1923
1976
|
class: "mwnf-sibling-galleries__galleries"
|
|
1924
|
-
},
|
|
1977
|
+
}, gi = { class: "mwnf-sibling-galleries__header" }, _i = { class: "mwnf-sibling-galleries__heading" }, vi = ["href"], yi = { class: "mwnf-sibling-galleries__grid" }, bi = {
|
|
1925
1978
|
key: 0,
|
|
1926
1979
|
class: "mwnf-sibling-galleries__image"
|
|
1927
|
-
},
|
|
1980
|
+
}, xi = ["src", "alt"], Si = {
|
|
1928
1981
|
key: 1,
|
|
1929
1982
|
class: "mwnf-sibling-galleries__image mwnf-sibling-galleries__image--empty"
|
|
1930
|
-
},
|
|
1983
|
+
}, Ci = { class: "mwnf-sibling-galleries__name" }, wi = {
|
|
1931
1984
|
key: 1,
|
|
1932
1985
|
class: "mwnf-sibling-galleries__museums"
|
|
1933
|
-
},
|
|
1986
|
+
}, Ti = { class: "mwnf-sibling-galleries__heading" }, Ei = { class: "mwnf-sibling-galleries__museums-grid" }, Di = ["href"], Oi = {
|
|
1934
1987
|
key: 0,
|
|
1935
1988
|
class: "mwnf-sibling-galleries__museum-image mwnf-sibling-galleries__museum-image--picture"
|
|
1936
|
-
},
|
|
1989
|
+
}, ki = ["src"], Ai = {
|
|
1937
1990
|
key: 1,
|
|
1938
1991
|
class: "mwnf-sibling-galleries__museum-image"
|
|
1939
|
-
},
|
|
1992
|
+
}, ji = { class: "mwnf-sibling-galleries__museum-name" }, Mi = {
|
|
1940
1993
|
__name: "SiblingGalleries",
|
|
1941
1994
|
props: {
|
|
1942
1995
|
galleries: {
|
|
@@ -1965,82 +2018,82 @@ var Fr = {
|
|
|
1965
2018
|
}
|
|
1966
2019
|
},
|
|
1967
2020
|
setup(e) {
|
|
1968
|
-
return (t, n) => (z(), P("section",
|
|
2021
|
+
return (t, n) => (z(), P("section", mi, [e.galleries.length ? (z(), P("div", hi, [F("div", gi, [F("p", _i, H(t.$t(e.galleriesHeadingEntry)), 1), e.seeMoreGalleriesHref ? (z(), P("a", {
|
|
1969
2022
|
key: 0,
|
|
1970
2023
|
href: e.seeMoreGalleriesHref,
|
|
1971
2024
|
target: "_blank",
|
|
1972
2025
|
rel: "noopener",
|
|
1973
2026
|
class: "mwnf-sibling-galleries__see-more"
|
|
1974
|
-
}, H(t.$t(e.seeMoreGalleriesEntry)) + " » ", 9,
|
|
2027
|
+
}, H(t.$t(e.seeMoreGalleriesEntry)) + " » ", 9, vi)) : N("", !0)]), F("div", yi, [(z(!0), P(A, null, V(e.galleries, (e) => (z(), M(s, {
|
|
1975
2028
|
key: e.id,
|
|
1976
2029
|
to: e.route,
|
|
1977
2030
|
class: R(["mwnf-sibling-galleries__gallery", { "mwnf-sibling-galleries__gallery--no-link": !e.route }])
|
|
1978
2031
|
}, {
|
|
1979
|
-
default: W(() => [e.image ? (z(), P("span",
|
|
2032
|
+
default: W(() => [e.image ? (z(), P("span", bi, [F("img", {
|
|
1980
2033
|
src: e.image,
|
|
1981
2034
|
alt: e.name
|
|
1982
|
-
}, null, 8,
|
|
2035
|
+
}, null, 8, xi)])) : (z(), P("span", Si)), F("p", Ci, H(e.name), 1)]),
|
|
1983
2036
|
_: 2
|
|
1984
|
-
}, 1032, ["to", "class"]))), 128))])])) : N("", !0), e.museums.length ? (z(), P("div",
|
|
2037
|
+
}, 1032, ["to", "class"]))), 128))])])) : N("", !0), e.museums.length ? (z(), P("div", wi, [F("div", Ti, H(t.$t(e.museumsHeadingEntry)), 1), F("div", Ei, [(z(!0), P(A, null, V(e.museums, (e) => (z(), P("a", {
|
|
1985
2038
|
key: e.name,
|
|
1986
2039
|
href: e.href || e.to,
|
|
1987
2040
|
target: "_blank",
|
|
1988
2041
|
rel: "noopener",
|
|
1989
2042
|
class: "mwnf-sibling-galleries__museum",
|
|
1990
|
-
style:
|
|
2043
|
+
style: gt({
|
|
1991
2044
|
"--mwnf-museum-bg": e.accent || "var(--mwnf-color-border)",
|
|
1992
2045
|
"--mwnf-museum-text": e.textColor || "inherit"
|
|
1993
2046
|
})
|
|
1994
|
-
}, [e.image ? (z(), P("div",
|
|
2047
|
+
}, [e.image ? (z(), P("div", Oi, [F("img", {
|
|
1995
2048
|
src: e.image,
|
|
1996
2049
|
alt: ""
|
|
1997
|
-
}, null, 8,
|
|
2050
|
+
}, null, 8, ki)])) : (z(), P("div", Ai, H(e.name.split(" ").map((e) => e[0]).join("")), 1)), F("p", ji, H(e.name), 1)], 12, Di))), 128))])])) : N("", !0)]));
|
|
1998
2051
|
}
|
|
1999
|
-
},
|
|
2052
|
+
}, Ni = /* @__PURE__ */ k({ default: () => Vi }), Pi = { class: "mwnf-dxa-home" }, Fi = {
|
|
2000
2053
|
key: 0,
|
|
2001
2054
|
class: "mwnf-dxa-home-logos"
|
|
2002
|
-
},
|
|
2055
|
+
}, Ii = { class: "mwnf-dxa-home-logos__label" }, Li = { class: "mwnf-dxa-home-logos__list" }, Ri = ["src", "alt"], zi = 3, Bi = 4, Vi = {
|
|
2003
2056
|
__name: "Home",
|
|
2004
2057
|
setup(e) {
|
|
2005
|
-
let { t, locale: n } = J(), r =
|
|
2006
|
-
|
|
2007
|
-
o.value =
|
|
2058
|
+
let { t, locale: n } = J(), r = Y(), i = j(() => r.links ?? {}), a = j(() => ne(zi)), o = B([]);
|
|
2059
|
+
vt(() => {
|
|
2060
|
+
o.value = f(Bi);
|
|
2008
2061
|
});
|
|
2009
2062
|
let s = j(() => o.value.map((e) => ({
|
|
2010
2063
|
id: e.id,
|
|
2011
2064
|
name: e.names?.[n.value] ?? e.names?.en ?? e.slug,
|
|
2012
|
-
image: e.image_path ?
|
|
2013
|
-
route:
|
|
2065
|
+
image: e.image_path ? ae(e.image_path, "zoom") : null,
|
|
2066
|
+
route: d(e)
|
|
2014
2067
|
}))), c = j(() => [
|
|
2015
2068
|
{
|
|
2016
2069
|
name: t("core.project.islamicArt"),
|
|
2017
2070
|
href: `${i.value.islamicArt}/`,
|
|
2018
|
-
image:
|
|
2071
|
+
image: ot(r.chrome, "dia.jpg"),
|
|
2019
2072
|
accent: "var(--mwnf-project-ISLandEPM, #ffcc00)",
|
|
2020
2073
|
textColor: "var(--mwnf-project-ISLandEPM-text, #000000)"
|
|
2021
2074
|
},
|
|
2022
2075
|
{
|
|
2023
2076
|
name: t("core.project.baroqueArt"),
|
|
2024
2077
|
href: `${i.value.baroqueArt}/`,
|
|
2025
|
-
image:
|
|
2078
|
+
image: ot(r.chrome, "dba.jpg"),
|
|
2026
2079
|
accent: "var(--mwnf-project-DBA, #001d66)",
|
|
2027
2080
|
textColor: "var(--mwnf-project-DBA-text, #ffffff)"
|
|
2028
2081
|
},
|
|
2029
2082
|
{
|
|
2030
2083
|
name: t("core.project.sharingHistory"),
|
|
2031
2084
|
href: `${i.value.sharingHistory}/`,
|
|
2032
|
-
image:
|
|
2085
|
+
image: ot(r.chrome, "sh.jpg"),
|
|
2033
2086
|
accent: "var(--mwnf-project-AWE, #900000)",
|
|
2034
2087
|
textColor: "var(--mwnf-project-AWE-text, #ffffff)"
|
|
2035
2088
|
}
|
|
2036
2089
|
]), l = j(() => (r.homeLogos ?? []).map((e) => ({
|
|
2037
|
-
image:
|
|
2090
|
+
image: at(r.chrome, e.image) ?? ae(e.image, "gallery_logo"),
|
|
2038
2091
|
href: e.href ?? "",
|
|
2039
2092
|
alt: e.alt ? t(e.alt) : ""
|
|
2040
2093
|
})).filter((e) => e.image)), u = j(() => `${i.value.galleries}/list`);
|
|
2041
|
-
return (e, n) => (z(), P("div",
|
|
2042
|
-
L(
|
|
2043
|
-
l.value.length ? (z(), P("section",
|
|
2094
|
+
return (e, n) => (z(), P("div", Pi, [
|
|
2095
|
+
L(pi, { partners: a.value }, null, 8, ["partners"]),
|
|
2096
|
+
l.value.length ? (z(), P("section", Fi, [F("p", Ii, H(U(t)("gallery.home.logosLabel")), 1), F("ul", Li, [(z(!0), P(A, null, V(l.value, (e) => (z(), P("li", { key: e.image }, [(z(), M(bt(e.href ? "a" : "span"), {
|
|
2044
2097
|
class: "mwnf-dxa-home-logos__logo",
|
|
2045
2098
|
href: e.href || void 0,
|
|
2046
2099
|
title: e.alt || void 0,
|
|
@@ -2050,7 +2103,7 @@ var Fr = {
|
|
|
2050
2103
|
default: W(() => [F("img", {
|
|
2051
2104
|
src: e.image,
|
|
2052
2105
|
alt: e.alt
|
|
2053
|
-
}, null, 8,
|
|
2106
|
+
}, null, 8, Ri)]),
|
|
2054
2107
|
_: 2
|
|
2055
2108
|
}, 1032, [
|
|
2056
2109
|
"href",
|
|
@@ -2058,7 +2111,7 @@ var Fr = {
|
|
|
2058
2111
|
"target",
|
|
2059
2112
|
"rel"
|
|
2060
2113
|
]))]))), 128))])])) : N("", !0),
|
|
2061
|
-
L(
|
|
2114
|
+
L(Mi, {
|
|
2062
2115
|
galleries: s.value,
|
|
2063
2116
|
museums: c.value,
|
|
2064
2117
|
"galleries-heading-entry": "gallery.action.visitGalleries",
|
|
@@ -2072,19 +2125,121 @@ var Fr = {
|
|
|
2072
2125
|
])
|
|
2073
2126
|
]));
|
|
2074
2127
|
}
|
|
2075
|
-
},
|
|
2128
|
+
}, Hi = "mwnf-on-display__theme", $ = (e) => kt(e ?? ""), Ui = (e) => e?.titles?.en ?? Object.values(e?.titles ?? {})[0] ?? "", Wi = (e) => `<span class="${Hi}">${e}</span>`;
|
|
2129
|
+
function Gi(e, t) {
|
|
2130
|
+
return {
|
|
2131
|
+
id: `${e.site}${e.path}`,
|
|
2132
|
+
label: t,
|
|
2133
|
+
href: jt(e.site, e.path),
|
|
2134
|
+
external: !0
|
|
2135
|
+
};
|
|
2136
|
+
}
|
|
2137
|
+
function Ki(e) {
|
|
2138
|
+
return e.toLowerCase().split(" ").filter((e) => ![
|
|
2139
|
+
"a",
|
|
2140
|
+
"an",
|
|
2141
|
+
"the"
|
|
2142
|
+
].includes(e)).join(" ");
|
|
2143
|
+
}
|
|
2144
|
+
function qi(e, t) {
|
|
2145
|
+
let n = e?.exhibition_references ?? [], r = [], i = n.filter((e) => e.list === "virtual" || e.list === "sharing_history");
|
|
2146
|
+
i.length && r.push({
|
|
2147
|
+
caption: i[0].project ? $(i[0].project.name) : "",
|
|
2148
|
+
links: i.map((e) => Gi(e, [
|
|
2149
|
+
$(Ui(e.exhibition)),
|
|
2150
|
+
Wi($(Ui(e.theme))),
|
|
2151
|
+
...e.subtheme ? [Wi($(Ui(e.subtheme)))] : []
|
|
2152
|
+
].join(" | ")))
|
|
2153
|
+
});
|
|
2154
|
+
let a = n.filter((e) => e.list === "exhibition"), o = a.filter((e) => e.exhibition?.titles?.[t]), s = o.length ? {
|
|
2155
|
+
refs: o,
|
|
2156
|
+
lang: t
|
|
2157
|
+
} : {
|
|
2158
|
+
refs: a.filter((e) => e.exhibition?.titles?.en),
|
|
2159
|
+
lang: "en"
|
|
2160
|
+
}, c = (e) => e?.titles?.[s.lang] ?? e?.titles?.en ?? "", l = [...s.refs].sort((e, t) => Ki(c(e.exhibition)).localeCompare(Ki(c(t.exhibition)), "en", { sensitivity: "base" }) || (e.legacy_order?.[0] ?? 0) - (t.legacy_order?.[0] ?? 0));
|
|
2161
|
+
for (let e of l) {
|
|
2162
|
+
let t = $(c(e.exhibition)), n = Gi(e, `${$(c(e.theme))} | ${Wi($(c(e.subtheme)))}`), i = r[r.length - 1];
|
|
2163
|
+
i?.exhibition === e.exhibition.id ? i.links.push(n) : r.push({
|
|
2164
|
+
exhibition: e.exhibition.id,
|
|
2165
|
+
caption: t,
|
|
2166
|
+
links: [n]
|
|
2167
|
+
});
|
|
2168
|
+
}
|
|
2169
|
+
return r;
|
|
2170
|
+
}
|
|
2171
|
+
// src/dxa/gallery/ItemDetail.vue
|
|
2172
|
+
var Ji = /* @__PURE__ */ k({ default: () => ua }), Yi = { class: "mwnf-dxa-item__languages" }, Xi = ["dir"], Zi = ["href"], Qi = ["href"], $i = ["innerHTML"], ea = ["innerHTML"], ta = ["dir"], na = { class: "mwnf-dxa-gallery-item__label" }, ra = {
|
|
2173
|
+
key: "citation",
|
|
2174
|
+
class: "mwnf-dxa-gallery-item__citation"
|
|
2175
|
+
}, ia = { class: "mwnf-dxa-gallery-item__project" }, aa = { class: "mwnf-dxa-gallery-item__address" }, oa = { class: "mwnf-dxa-gallery-item__credit-label" }, sa = {
|
|
2176
|
+
key: 1,
|
|
2177
|
+
class: "mwnf-dxa-gallery-item__number"
|
|
2178
|
+
}, ca = { class: "mwnf-dxa-gallery-item__number-label" }, la = ["href"], ua = {
|
|
2076
2179
|
__name: "ItemDetail",
|
|
2077
2180
|
props: { id: {
|
|
2078
2181
|
type: String,
|
|
2079
2182
|
required: !0
|
|
2080
2183
|
} },
|
|
2081
2184
|
setup(t) {
|
|
2082
|
-
|
|
2083
|
-
|
|
2185
|
+
let { t: n } = J(), r = Rt(), i = It(), a = Nt(), s = Y(), c = {
|
|
2186
|
+
...v,
|
|
2187
|
+
sourceDatabase: !1,
|
|
2188
|
+
sourceCredit: !1,
|
|
2189
|
+
shortDescriptionLabels: {
|
|
2190
|
+
view: "gallery.sheet.viewShortDescription",
|
|
2191
|
+
hide: "gallery.sheet.hideShortDescription"
|
|
2192
|
+
},
|
|
2193
|
+
related: {
|
|
2194
|
+
...v.related,
|
|
2195
|
+
glossaryLabels: { tool: "gallery.related.glossary" },
|
|
2196
|
+
dynastiesHeading: "gallery.related.dynasties",
|
|
2197
|
+
onDisplayIn: {
|
|
2198
|
+
...v.related?.onDisplayIn,
|
|
2199
|
+
exhibitionsHeading: "gallery.related.exhibitions",
|
|
2200
|
+
galleriesHeading: "core.project.galleries",
|
|
2201
|
+
href: (e, t) => e.site ? jt(e.site, `/item/${t.id}`) : e.legacy_host,
|
|
2202
|
+
exhibitions: (e, t) => qi(e, t.language)
|
|
2203
|
+
}
|
|
2204
|
+
}
|
|
2205
|
+
};
|
|
2206
|
+
function l(e) {
|
|
2207
|
+
let t = i.links(e?.project_id)?.homeSite;
|
|
2208
|
+
return (t && t !== a.manifest?.site?.key ? jt(t, `/item/${e.id}`) : null) ?? Mt(r);
|
|
2209
|
+
}
|
|
2210
|
+
function u(e) {
|
|
2211
|
+
try {
|
|
2212
|
+
let { host: t, pathname: n } = new URL(e), r = n.split("/").find(Boolean);
|
|
2213
|
+
return r ? `${t}/${r}` : t;
|
|
2214
|
+
} catch {
|
|
2215
|
+
return e;
|
|
2216
|
+
}
|
|
2217
|
+
}
|
|
2218
|
+
let d = (e) => s.projectColors?.[e?.project_id] ?? "";
|
|
2219
|
+
function f(e, t) {
|
|
2220
|
+
let n = i.label(t?.project_id) ?? "", r = n ? e.indexOf(` ${n},`) : -1;
|
|
2221
|
+
return r < 0 ? {
|
|
2222
|
+
before: e,
|
|
2223
|
+
project: "",
|
|
2224
|
+
after: ""
|
|
2225
|
+
} : {
|
|
2226
|
+
before: e.slice(0, r + 1),
|
|
2227
|
+
project: n,
|
|
2228
|
+
after: e.slice(r + 1 + n.length)
|
|
2229
|
+
};
|
|
2230
|
+
}
|
|
2231
|
+
function p(e) {
|
|
2232
|
+
return {
|
|
2233
|
+
to: v.museum?.route?.(e.record?.partner_id) ?? null,
|
|
2234
|
+
holder: e.text?.holder ? Dt(String(e.text.holder)) : ""
|
|
2235
|
+
};
|
|
2236
|
+
}
|
|
2237
|
+
return (r, i) => (z(), M(ct, {
|
|
2238
|
+
spec: c,
|
|
2084
2239
|
id: t.id,
|
|
2085
|
-
class: "mwnf-dxa-item"
|
|
2240
|
+
class: "mwnf-dxa-item mwnf-dxa-gallery-item"
|
|
2086
2241
|
}, {
|
|
2087
|
-
header: W(({ languages: t, language: n, select: r }) => [F("div",
|
|
2242
|
+
header: W(({ languages: t, language: n, select: r }) => [F("div", Yi, [L(o, {
|
|
2088
2243
|
languages: t,
|
|
2089
2244
|
language: n,
|
|
2090
2245
|
onSelect: r
|
|
@@ -2093,35 +2248,90 @@ var Fr = {
|
|
|
2093
2248
|
"language",
|
|
2094
2249
|
"onSelect"
|
|
2095
2250
|
])]), L(e)]),
|
|
2251
|
+
"after-media": W(({ record: e, dir: t }) => [e ? (z(), P("div", {
|
|
2252
|
+
key: 0,
|
|
2253
|
+
class: "mwnf-dxa-gallery-item__links",
|
|
2254
|
+
dir: t || void 0
|
|
2255
|
+
}, [F("p", null, [F("a", {
|
|
2256
|
+
href: l(e),
|
|
2257
|
+
target: "_blank",
|
|
2258
|
+
rel: "noopener"
|
|
2259
|
+
}, [i[0] ||= F("span", {
|
|
2260
|
+
class: "mwnf-dxa-gallery-item__icon",
|
|
2261
|
+
"aria-hidden": "true"
|
|
2262
|
+
}, "↗", -1), F("bdi", null, [I(H(U(n)("record.source.label")) + " ", 1), F("span", null, "(" + H(u(l(e))) + ")", 1)])], 8, Zi)]), F("p", null, [F("a", {
|
|
2263
|
+
href: U(q).myCollection,
|
|
2264
|
+
target: "_blank",
|
|
2265
|
+
rel: "noopener"
|
|
2266
|
+
}, [i[1] ||= F("span", {
|
|
2267
|
+
class: "mwnf-dxa-gallery-item__icon",
|
|
2268
|
+
"aria-hidden": "true"
|
|
2269
|
+
}, "↗", -1), I(H(U(n)("record.action.addToCollection")), 1)], 8, Qi)])], 8, Xi)) : N("", !0)]),
|
|
2270
|
+
museum: W((e) => [(z(!0), P(A, null, V([p(e)], (e) => (z(), P(A, { key: "museum" }, [e.to && e.holder ? (z(), M(U(Z), {
|
|
2271
|
+
key: 0,
|
|
2272
|
+
to: e.to,
|
|
2273
|
+
class: "mwnf-dxa-gallery-item__museum"
|
|
2274
|
+
}, {
|
|
2275
|
+
default: W(() => [i[2] ||= F("span", {
|
|
2276
|
+
class: "mwnf-dxa-gallery-item__icon",
|
|
2277
|
+
"aria-hidden": "true"
|
|
2278
|
+
}, "↗", -1), F("span", { innerHTML: e.holder }, null, 8, $i)]),
|
|
2279
|
+
_: 2
|
|
2280
|
+
}, 1032, ["to"])) : e.holder ? (z(), P("span", {
|
|
2281
|
+
key: 1,
|
|
2282
|
+
innerHTML: e.holder
|
|
2283
|
+
}, null, 8, ea)) : N("", !0)], 64))), 128))]),
|
|
2284
|
+
credits: W(({ record: e, credits: t, workingNumber: r, citation: i, dir: a }) => [e ? (z(), P("div", {
|
|
2285
|
+
key: 0,
|
|
2286
|
+
class: "mwnf-dxa-gallery-item__credits",
|
|
2287
|
+
dir: a || void 0
|
|
2288
|
+
}, [
|
|
2289
|
+
i ? (z(), P(A, { key: 0 }, [F("p", na, H(U(n)("record.citation.ofThisPage")), 1), (z(!0), P(A, null, V([f(i, e)], (t) => (z(), P("p", ra, [
|
|
2290
|
+
I(H(t.before), 1),
|
|
2291
|
+
F("span", ia, H(t.project), 1),
|
|
2292
|
+
I(H(t.after) + " ", 1),
|
|
2293
|
+
F("span", aa, H(l(e)), 1)
|
|
2294
|
+
]))), 128))], 64)) : N("", !0),
|
|
2295
|
+
(z(!0), P(A, null, V(t, (e) => (z(), P("p", {
|
|
2296
|
+
key: e.label,
|
|
2297
|
+
class: "mwnf-dxa-gallery-item__credit"
|
|
2298
|
+
}, [F("span", oa, H(e.label), 1), F("span", null, H(e.value), 1)]))), 128)),
|
|
2299
|
+
r ? (z(), P("p", sa, [F("span", ca, H(U(n)("gallery.sheet.workingNumber")), 1), I(H(" ") + H(r), 1)])) : N("", !0),
|
|
2300
|
+
F("div", { class: R(["mwnf-dxa-gallery-item__source", d(e)]) }, [F("p", null, H(U(n)("record.source.label")), 1), F("p", null, [F("a", {
|
|
2301
|
+
href: l(e),
|
|
2302
|
+
target: "_blank",
|
|
2303
|
+
rel: "noopener"
|
|
2304
|
+
}, H(l(e)), 9, la)])], 2)
|
|
2305
|
+
], 8, ta)) : N("", !0)]),
|
|
2096
2306
|
_: 1
|
|
2097
|
-
}, 8, ["
|
|
2307
|
+
}, 8, ["id"]));
|
|
2098
2308
|
}
|
|
2099
|
-
},
|
|
2309
|
+
}, da = /* @__PURE__ */ k({ default: () => Ea }), fa = { class: "mwnf-dxa-timeline" }, pa = { class: "mwnf-dxa-timeline__entrance" }, ma = [
|
|
2100
2310
|
"value",
|
|
2101
2311
|
"aria-label",
|
|
2102
2312
|
"onChange"
|
|
2103
|
-
],
|
|
2313
|
+
], ha = {
|
|
2104
2314
|
disabled: "",
|
|
2105
2315
|
value: ""
|
|
2106
|
-
},
|
|
2316
|
+
}, ga = ["value"], _a = { class: "mwnf-dxa-timeline__dates" }, va = [
|
|
2107
2317
|
"value",
|
|
2108
2318
|
"aria-label",
|
|
2109
2319
|
"onChange"
|
|
2110
|
-
],
|
|
2320
|
+
], ya = {
|
|
2111
2321
|
disabled: "",
|
|
2112
2322
|
value: ""
|
|
2113
|
-
},
|
|
2323
|
+
}, ba = ["value"], xa = [
|
|
2114
2324
|
"value",
|
|
2115
2325
|
"aria-label",
|
|
2116
2326
|
"onChange"
|
|
2117
|
-
],
|
|
2327
|
+
], Sa = {
|
|
2118
2328
|
disabled: "",
|
|
2119
2329
|
value: ""
|
|
2120
|
-
},
|
|
2330
|
+
}, Ca = ["value"], wa = { class: "mwnf-dxa-timeline__go" }, Ta = ["onClick"], Ea = {
|
|
2121
2331
|
__name: "Timeline",
|
|
2122
2332
|
setup(e) {
|
|
2123
2333
|
let t = {
|
|
2124
|
-
...
|
|
2334
|
+
...l,
|
|
2125
2335
|
entrance: !0
|
|
2126
2336
|
};
|
|
2127
2337
|
function n({ filters: e, options: t, go: n, t: r }) {
|
|
@@ -2140,39 +2350,39 @@ var Fr = {
|
|
|
2140
2350
|
end: e.end || a.at(-1)?.value
|
|
2141
2351
|
});
|
|
2142
2352
|
}
|
|
2143
|
-
return (e, r) => (z(), P("div",
|
|
2353
|
+
return (e, r) => (z(), P("div", fa, [L(D, {
|
|
2144
2354
|
spec: t,
|
|
2145
2355
|
class: "mwnf-dxa-timeline__form"
|
|
2146
2356
|
}, {
|
|
2147
|
-
form: W((e) => [F("div",
|
|
2357
|
+
form: W((e) => [F("div", pa, [
|
|
2148
2358
|
F("select", {
|
|
2149
2359
|
class: "mwnf-dxa-timeline__country",
|
|
2150
2360
|
value: e.filters.country,
|
|
2151
2361
|
"aria-label": e.t("gallery.timeline.selectCountry"),
|
|
2152
2362
|
onChange: (t) => e.filters.country = t.target.value
|
|
2153
|
-
}, [F("option",
|
|
2363
|
+
}, [F("option", ha, H(e.t("gallery.timeline.selectCountry")), 1), (z(!0), P(A, null, V(e.countries, (e) => (z(), P("option", {
|
|
2154
2364
|
key: e.value,
|
|
2155
2365
|
value: e.value
|
|
2156
|
-
}, H(e.label), 9,
|
|
2157
|
-
F("div",
|
|
2366
|
+
}, H(e.label), 9, ga))), 128))], 40, ma),
|
|
2367
|
+
F("div", _a, [F("select", {
|
|
2158
2368
|
value: e.filters.begin,
|
|
2159
2369
|
"aria-label": e.t("gallery.timeline.startDate"),
|
|
2160
2370
|
onChange: (t) => e.filters.begin = t.target.value
|
|
2161
|
-
}, [F("option",
|
|
2371
|
+
}, [F("option", ya, H(e.t("gallery.timeline.startDate")), 1), (z(!0), P(A, null, V(e.options.begin ?? [], (e) => (z(), P("option", {
|
|
2162
2372
|
key: e.value,
|
|
2163
2373
|
value: e.value
|
|
2164
|
-
}, H(e.label), 9,
|
|
2374
|
+
}, H(e.label), 9, ba))), 128))], 40, va), F("select", {
|
|
2165
2375
|
value: e.filters.end,
|
|
2166
2376
|
"aria-label": e.t("gallery.timeline.endDate"),
|
|
2167
2377
|
onChange: (t) => e.filters.end = t.target.value
|
|
2168
|
-
}, [F("option",
|
|
2378
|
+
}, [F("option", Sa, H(e.t("gallery.timeline.endDate")), 1), (z(!0), P(A, null, V(e.options.end ?? [], (e) => (z(), P("option", {
|
|
2169
2379
|
key: e.value,
|
|
2170
2380
|
value: e.value
|
|
2171
|
-
}, H(e.label), 9,
|
|
2172
|
-
F("div",
|
|
2381
|
+
}, H(e.label), 9, Ca))), 128))], 40, xa)]),
|
|
2382
|
+
F("div", wa, [F("button", {
|
|
2173
2383
|
type: "button",
|
|
2174
2384
|
onClick: (t) => n(e)
|
|
2175
|
-
}, H(e.t("core.action.go")), 9,
|
|
2385
|
+
}, H(e.t("core.action.go")), 9, Ta)])
|
|
2176
2386
|
])]),
|
|
2177
2387
|
_: 1
|
|
2178
2388
|
}), L(U(G), {
|
|
@@ -2181,42 +2391,42 @@ var Fr = {
|
|
|
2181
2391
|
keypath: "gallery.timeline.intro"
|
|
2182
2392
|
})]));
|
|
2183
2393
|
}
|
|
2184
|
-
},
|
|
2394
|
+
}, Da = /* @__PURE__ */ k({ default: () => ka }), Oa = { class: "mwnf-dxa-home" }, ka = {
|
|
2185
2395
|
__name: "Home",
|
|
2186
2396
|
setup(e) {
|
|
2187
|
-
return (e, t) => (z(), P("div",
|
|
2397
|
+
return (e, t) => (z(), P("div", Oa));
|
|
2188
2398
|
}
|
|
2189
|
-
},
|
|
2399
|
+
}, Aa = /* @__PURE__ */ k({ default: () => Ma }), ja = { class: "mwnf-dxa-about" }, Ma = {
|
|
2190
2400
|
__name: "About",
|
|
2191
2401
|
setup(e) {
|
|
2192
|
-
return (e, t) => (z(), P("div",
|
|
2402
|
+
return (e, t) => (z(), P("div", ja, [L(ut, { "about-mode": "" })]));
|
|
2193
2403
|
}
|
|
2194
|
-
},
|
|
2404
|
+
}, Na = /* @__PURE__ */ k({ default: () => Ia }), Pa = { class: "mwnf-dxa-themes" }, Fa = { class: "mwnf-dxa-themes__container" }, Ia = {
|
|
2195
2405
|
__name: "Themes",
|
|
2196
2406
|
setup(e) {
|
|
2197
|
-
let { listedThemes: t, romanFor: n, themeText: r } =
|
|
2407
|
+
let { listedThemes: t, romanFor: n, themeText: r } = be, { t: i, locale: o } = J(), s = j(() => t.value.map((e) => ({
|
|
2198
2408
|
title: r(e, o.value).title ?? e.internal_name ?? "",
|
|
2199
2409
|
number: n(e.display_order),
|
|
2200
2410
|
children: [{
|
|
2201
2411
|
title: i("exhibition.theme.overview"),
|
|
2202
|
-
to:
|
|
2412
|
+
to: ft(e)
|
|
2203
2413
|
}, ...(e.sub_themes ?? []).map((e) => ({
|
|
2204
2414
|
title: r(e, o.value).title ?? e.internal_name ?? "",
|
|
2205
|
-
to:
|
|
2415
|
+
to: ft(e)
|
|
2206
2416
|
}))]
|
|
2207
2417
|
})));
|
|
2208
|
-
return (e, t) => (z(), P("div",
|
|
2418
|
+
return (e, t) => (z(), P("div", Pa, [F("div", Fa, [L(a, {
|
|
2209
2419
|
cards: s.value,
|
|
2210
2420
|
variant: "accordion"
|
|
2211
2421
|
}, null, 8, ["cards"])])]));
|
|
2212
2422
|
}
|
|
2213
|
-
},
|
|
2423
|
+
}, La = /* @__PURE__ */ k({ default: () => Ba }), Ra = { class: "mwnf-dxa-theme-gallery__empty" }, za = {
|
|
2214
2424
|
key: 1,
|
|
2215
2425
|
class: "mwnf-loader"
|
|
2216
|
-
},
|
|
2426
|
+
}, Ba = {
|
|
2217
2427
|
__name: "ThemeGallery",
|
|
2218
2428
|
setup(t) {
|
|
2219
|
-
let { pictureById: n, pictureParent: r, romanFor: i, themeByRouteId: a, themeText: o, themeTree: s } =
|
|
2429
|
+
let { pictureById: n, pictureParent: r, romanFor: i, themeByRouteId: a, themeText: o, themeTree: s } = be, c = Rt(), { t: l, locale: u } = J(), d = j(() => a(c.params.id)), f = j(() => {
|
|
2220
2430
|
let e = /* @__PURE__ */ new Set();
|
|
2221
2431
|
if (!d.value) return e;
|
|
2222
2432
|
for (let t of s.itemsUnder(d.value.id)) {
|
|
@@ -2230,7 +2440,7 @@ var Fr = {
|
|
|
2230
2440
|
sort: { undated: "first" },
|
|
2231
2441
|
variant: "grid",
|
|
2232
2442
|
recordRoute: "item",
|
|
2233
|
-
record: (e, t) =>
|
|
2443
|
+
record: (e, t) => Ve(e, t.t),
|
|
2234
2444
|
actionLabel: "catalogue.results.seeDatabaseEntry",
|
|
2235
2445
|
empty: "exhibition.theme.noRecords",
|
|
2236
2446
|
summary: () => [{
|
|
@@ -2244,24 +2454,24 @@ var Fr = {
|
|
|
2244
2454
|
class: "mwnf-dxa-theme-gallery"
|
|
2245
2455
|
}, {
|
|
2246
2456
|
before: W(() => [L(e)]),
|
|
2247
|
-
empty: W(() => [F("p",
|
|
2457
|
+
empty: W(() => [F("p", Ra, H(U(l)("exhibition.theme.noRecords")), 1)]),
|
|
2248
2458
|
_: 1
|
|
2249
|
-
}, 8, ["spec"])) : (z(), P("div",
|
|
2459
|
+
}, 8, ["spec"])) : (z(), P("div", za, H(U(l)("exhibition.theme.notInExhibition")), 1));
|
|
2250
2460
|
}
|
|
2251
|
-
},
|
|
2461
|
+
}, Va = /* @__PURE__ */ k({ default: () => Ua }), Ha = { class: "mwnf-dxa-item__languages" }, Ua = {
|
|
2252
2462
|
__name: "ItemDetail",
|
|
2253
2463
|
props: { id: {
|
|
2254
2464
|
type: String,
|
|
2255
2465
|
required: !0
|
|
2256
2466
|
} },
|
|
2257
2467
|
setup(t) {
|
|
2258
|
-
return (n, r) => (z(), M(
|
|
2259
|
-
spec: U(
|
|
2468
|
+
return (n, r) => (z(), M(ct, {
|
|
2469
|
+
spec: U(Qe),
|
|
2260
2470
|
id: t.id,
|
|
2261
2471
|
"data-getter": (e) => U(w).get(e),
|
|
2262
2472
|
class: "mwnf-dxa-item"
|
|
2263
2473
|
}, {
|
|
2264
|
-
header: W(({ languages: t, language: n, select: r }) => [F("div",
|
|
2474
|
+
header: W(({ languages: t, language: n, select: r }) => [F("div", Ha, [L(o, {
|
|
2265
2475
|
languages: t,
|
|
2266
2476
|
language: n,
|
|
2267
2477
|
onSelect: r
|
|
@@ -2277,7 +2487,7 @@ var Fr = {
|
|
|
2277
2487
|
"data-getter"
|
|
2278
2488
|
]));
|
|
2279
2489
|
}
|
|
2280
|
-
},
|
|
2490
|
+
}, Wa = /* @__PURE__ */ k({ default: () => Ga }), Ga = {
|
|
2281
2491
|
__name: "RelatedContent",
|
|
2282
2492
|
setup(e) {
|
|
2283
2493
|
let t = {
|
|
@@ -2303,11 +2513,11 @@ var Fr = {
|
|
|
2303
2513
|
function c(e) {
|
|
2304
2514
|
if (!a(e.titles)) return "";
|
|
2305
2515
|
let t = [];
|
|
2306
|
-
return (e.entity_location || e.entity_country) && t.push([e.entity_location, e.entity_country ?
|
|
2516
|
+
return (e.entity_location || e.entity_country) && t.push([e.entity_location, e.entity_country ? Xe(e.entity_country) : ""].filter(Boolean).join(", ")), (e.authors || e.type_resource) && t.push([e.authors, e.type_resource].filter(Boolean).join(", ")), a(e.descriptions) && t.push(T(a(e.descriptions))), e.further_reading && t.push(T(e.further_reading)), t.join(" — ");
|
|
2307
2517
|
}
|
|
2308
2518
|
function l() {
|
|
2309
2519
|
let e = /* @__PURE__ */ new Map();
|
|
2310
|
-
for (let t of
|
|
2520
|
+
for (let t of He.value ?? []) {
|
|
2311
2521
|
let n = e.get(t.category_id);
|
|
2312
2522
|
n ? n.push(t) : e.set(t.category_id, [t]);
|
|
2313
2523
|
}
|
|
@@ -2328,16 +2538,16 @@ var Fr = {
|
|
|
2328
2538
|
to: { name: "home" }
|
|
2329
2539
|
}
|
|
2330
2540
|
};
|
|
2331
|
-
return (e, t) => (z(), M(
|
|
2541
|
+
return (e, t) => (z(), M($e, {
|
|
2332
2542
|
spec: u,
|
|
2333
2543
|
class: "mwnf-dxa-related"
|
|
2334
2544
|
}));
|
|
2335
2545
|
}
|
|
2336
|
-
},
|
|
2546
|
+
}, Ka = /* @__PURE__ */ k({ default: () => qa }), qa = {
|
|
2337
2547
|
__name: "Timeline",
|
|
2338
2548
|
setup(e) {
|
|
2339
2549
|
let t = j(() => ({
|
|
2340
|
-
...
|
|
2550
|
+
...Oe.value,
|
|
2341
2551
|
entrance: !0
|
|
2342
2552
|
}));
|
|
2343
2553
|
return (e, n) => (z(), M(D, { spec: t.value }, {
|
|
@@ -2350,4 +2560,4 @@ var Fr = {
|
|
|
2350
2560
|
}, 8, ["spec"]));
|
|
2351
2561
|
}
|
|
2352
2562
|
};
|
|
2353
|
-
export {
|
|
2563
|
+
export { Ma as ExhibitionAbout, xr as ExhibitionCollectionResults, Cr as ExhibitionCollectionSearch, ka as ExhibitionHome, Ua as ExhibitionItemDetail, Tr as ExhibitionPartnerObjects, lr as ExhibitionPartners, Ga as ExhibitionRelatedContent, or as ExhibitionSearchHowTo, hr as ExhibitionSearchResults, Xr as ExhibitionShell, ut as ExhibitionTheme, Ba as ExhibitionThemeGallery, Ia as ExhibitionThemes, qa as ExhibitionTimeline, _r as ExhibitionTimelineGallery, gr as ExhibitionTimelineResults, pi as FeaturedPartners, Ut as GalleryAbout, Rn as GalleryCollectionResults, $n as GalleryCollectionSearch, Wt as GalleryCredits, Vi as GalleryHome, ua as GalleryItemDetail, ar as GalleryPartnerObjects, sn as GalleryPartners, Gt as GallerySearchHowTo, Tn as GallerySearchResults, Wr as GalleryShell, Ea as GalleryTimeline, kn as GalleryTimelineGallery, En as GalleryTimelineResults, ct as ItemDetailView, Vt as PartnerDetail, lt as PictureGallery, dt as PictureNarrative, Yr as PopupLogo, Mi as SiblingGalleries, mt as exhibitionAboutSpec, $r as exhibitionConfig, x as exhibitionPartnerDetail, pt as exhibitionThemeSpec, Qr as galleryConfig, _ as galleryPartnerDetail, Br as standardRoutes, ft as themeNodeRoute };
|