@museumwnf/viewer-layout 3.19.0 → 3.20.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/dxa.js CHANGED
@@ -1,18 +1,18 @@
1
- import { a as e, i as t, n, r } from "./Theme-CrkjdQ9z.js";
1
+ import { a as e, i as t, n, r } from "./Theme-D17n73E8.js";
2
2
  import { i } from "./PageShell-BT9SnXav.js";
3
3
  import { i as a, n as o, r as s, t as c } from "./chrome-DNsZQXrL.js";
4
- import { s as l, u } from "./MediaGallery-DeXLadYl.js";
5
- import { a as d, c as f, n as p, o as m, s as h } from "./TimelineEventList-QLk6KLMq.js";
6
- import { s as g } from "./OnDisplayIn-zdKWIPTZ.js";
7
- import { a as ee, i as _, n as v, r as y, s as b, t as x } from "./TimelineResultsView-BaIoSOCB.js";
8
- import { t as te } from "./RecordView-GckO9PmG.js";
9
- import { t as ne } from "./SiteShell-DPdTxtJ5.js";
10
- import { A as re, C as ie, D as ae, E as oe, M as se, N as ce, O as le, S as ue, T as de, _ as fe, a as pe, b as S, c as me, d as he, f as ge, g as C, h as _e, i as ve, j as ye, k as be, l as xe, m as Se, n as Ce, o as we, p as Te, r as Ee, s as De, t as Oe, u as w, v as T, w as ke, x as Ae, y as je } from "./data-CXRsGwLQ.js";
4
+ import { c as l, d as u } from "./PartnerMap-BozCpzY8.js";
5
+ import { a as d, i as f, n as p, o as m, s as h } from "./TimelineEventList-B_lhlQOG.js";
6
+ import { s as g } from "./OnDisplayIn-DdqVmd4F.js";
7
+ import { a as _, i as v, n as y, r as b, s as x, t as S } from "./TimelineResultsView-BMg79eiB.js";
8
+ import { t as ee } from "./RecordView-Bi53L29_.js";
9
+ import { t as te } from "./SiteShell-DPdTxtJ5.js";
10
+ import { A as ne, C as re, D as ie, E as ae, M as oe, N as se, O as ce, S as le, T as ue, _ as de, a as fe, b as C, c as pe, d as me, f as he, g as w, h as ge, i as _e, j as ve, k as ye, l as be, m as xe, n as Se, o as Ce, p as we, r as Te, s as Ee, t as De, u as T, v as Oe, w as ke, x as Ae, y as je } from "./data-CXRsGwLQ.js";
11
11
  import { A as Me, C as Ne, D as Pe, E as Fe, F as Ie, I as Le, L as Re, M as ze, N as Be, O as Ve, P as He, R as Ue, S as We, T as E, _ as Ge, a as Ke, b as qe, c as Je, d as Ye, f as D, g as Xe, h as Ze, i as Qe, j as $e, k as et, l as tt, m as nt, n as rt, o as O, p as it, r as at, s as ot, t as st, u as ct, v as k, w as A, x as lt, y as ut } from "./data-BINc9QjV.js";
12
- import { t as dt } from "./ItemDetailView-B5hE3Oof.js";
13
- import { n as ft, r as pt, t as mt } from "./themeSpecs-DP9xWiVJ.js";
14
- import { Fragment as j, computed as M, createBlock as N, createCommentVNode as P, createElementBlock as F, createElementVNode as I, createSlots as ht, createTextVNode as L, createVNode as R, normalizeClass as gt, normalizeStyle as _t, onBeforeUnmount as vt, onMounted as yt, openBlock as z, ref as B, renderList as V, renderSlot as bt, resolveDynamicComponent as xt, toDisplayString as H, unref as U, vModelText as St, vShow as Ct, withCtx as W, withDirectives as G, withModifiers as wt } from "vue";
15
- import { I18nText as K, NotFoundView as Tt, languageLabels as Et, loadEntities as q, mwnfLinks as J, offeredLanguages as Dt, renderInline as Ot, sectionMeta as kt, useDataPackage as At, useFacets as jt, useI18n as Y, useKeywordIndex as Mt, useSection as Nt, useSiteConfig as X, yearBuckets as Z } from "@museumwnf/viewer-core";
12
+ import { t as dt } from "./ItemDetailView-5t8skbHY.js";
13
+ import { n as j, r as ft, t as pt } from "./themeSpecs-DP9xWiVJ.js";
14
+ import { Fragment as M, computed as N, createBlock as P, createCommentVNode as F, createElementBlock as I, createElementVNode as L, createSlots as mt, createTextVNode as R, createVNode as z, normalizeClass as ht, normalizeStyle as gt, onBeforeUnmount as _t, onMounted as vt, openBlock as B, ref as V, renderList as H, renderSlot as yt, resolveDynamicComponent as bt, toDisplayString as U, unref as W, vModelText as xt, vShow as St, withCtx as G, withDirectives as K, withModifiers as Ct } from "vue";
15
+ import { I18nText as q, NotFoundView as wt, languageLabels as Tt, loadEntities as J, mwnfLinks as Y, offeredLanguages as Et, renderInline as Dt, sectionMeta as Ot, useDataPackage as kt, useFacets as At, useI18n as X, useKeywordIndex as jt, useSection as Mt, useSiteConfig as Nt, yearBuckets as Z } from "@museumwnf/viewer-core";
16
16
  import { RouterLink as Q, useRoute as Pt, useRouter as Ft } from "vue-router";
17
17
  //#region src/dxa/PartnerDetail.vue
18
18
  var It = { class: "mwnf-dxa-profile-languages" }, $ = {
@@ -32,14 +32,14 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
32
32
  }
33
33
  },
34
34
  setup(e) {
35
- let t = e, { t: n } = Y(), r = M(() => t.family.labels?.[t.variant] ?? t.family.labels?.partner ?? {});
36
- return (t, i) => e.family.visible(e.id) ? (z(), N(te, {
35
+ let t = e, { t: n } = X(), r = N(() => t.family.labels?.[t.variant] ?? t.family.labels?.partner ?? {});
36
+ return (t, i) => e.family.visible(e.id) ? (B(), P(ee, {
37
37
  key: 0,
38
38
  spec: e.family.spec,
39
39
  id: e.id,
40
40
  class: "mwnf-dxa-partner-profile"
41
41
  }, {
42
- header: W(({ languages: e, language: t, select: n }) => [I("div", It, [R(l, {
42
+ header: G(({ languages: e, language: t, select: n }) => [L("div", It, [z(l, {
43
43
  languages: e,
44
44
  language: t,
45
45
  onSelect: n
@@ -47,22 +47,22 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
47
47
  "languages",
48
48
  "language",
49
49
  "onSelect"
50
- ])]), R(g)]),
51
- "before-sheet": W(({ record: t, text: i, dir: a }) => [R(p, {
50
+ ])]), z(g)]),
51
+ "before-sheet": G(({ record: t, text: i, dir: a }) => [z(p, {
52
52
  variant: "full",
53
53
  partner: e.family.view(t, i),
54
54
  heading: 1,
55
55
  "homepage-label": r.value.homepage ?? "partner.nav.homepage",
56
56
  dir: a
57
57
  }, {
58
- actions: W(({ partner: e }) => [e.objectsRoute ? (z(), N(u, {
58
+ actions: G(({ partner: e }) => [e.objectsRoute ? (B(), P(u, {
59
59
  key: 0,
60
60
  class: "mwnf-button",
61
61
  to: e.objectsRoute
62
62
  }, {
63
- default: W(() => [L(H(U(n)(r.value.objects ?? "partner.action.viewObjects")), 1)]),
63
+ default: G(() => [R(U(W(n)(r.value.objects ?? "partner.action.viewObjects")), 1)]),
64
64
  _: 1
65
- }, 8, ["to"])) : P("", !0)]),
65
+ }, 8, ["to"])) : F("", !0)]),
66
66
  _: 1
67
67
  }, 8, [
68
68
  "partner",
@@ -70,7 +70,7 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
70
70
  "dir"
71
71
  ])]),
72
72
  _: 1
73
- }, 8, ["spec", "id"])) : (z(), N(U(Tt), { key: 1 }));
73
+ }, 8, ["spec", "id"])) : (B(), P(W(wt), { key: 1 }));
74
74
  }
75
75
  }, Lt = {
76
76
  __name: "About",
@@ -79,7 +79,7 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
79
79
  body: "gallery.about.body",
80
80
  back: !0
81
81
  };
82
- return (e, n) => (z(), N(y, {
82
+ return (e, n) => (B(), P(b, {
83
83
  spec: t,
84
84
  class: "mwnf-dxa-editorial"
85
85
  }));
@@ -91,11 +91,11 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
91
91
  required: !0
92
92
  } },
93
93
  setup(e) {
94
- let t = e, n = M(() => ({
94
+ let t = e, n = N(() => ({
95
95
  body: t.bodyKey,
96
96
  back: !0
97
97
  }));
98
- return (e, t) => (z(), N(y, {
98
+ return (e, t) => (B(), P(b, {
99
99
  spec: n.value,
100
100
  class: "mwnf-dxa-editorial"
101
101
  }, null, 8, ["spec"]));
@@ -110,7 +110,7 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
110
110
  to: { name: "collection" }
111
111
  }
112
112
  };
113
- return (e, n) => (z(), N(y, {
113
+ return (e, n) => (B(), P(b, {
114
114
  spec: t,
115
115
  class: "mwnf-dxa-editorial"
116
116
  }));
@@ -119,13 +119,13 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
119
119
  __name: "Partners",
120
120
  setup(e) {
121
121
  let t = {
122
- ...ue,
122
+ ...le,
123
123
  objectsRoute: ke,
124
124
  actions: !0,
125
125
  emptyLabel: "gallery.partner.noObjectsInGallery"
126
126
  };
127
- return (e, n) => (z(), F("div", Bt, [R(_, { spec: t }, {
128
- before: W(() => [R(g), R(U(K), {
127
+ return (e, n) => (B(), I("div", Bt, [z(v, { spec: t }, {
128
+ before: G(() => [z(g), z(W(q), {
129
129
  id: "mwnf-dxa-partners-intro",
130
130
  class: "mwnf-prose",
131
131
  dir: "auto",
@@ -140,26 +140,26 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
140
140
  }, Gt = { class: "mwnf-dxa-how-to" }, Kt = { class: "mwnf-dxa-no-results" }, qt = {
141
141
  __name: "SearchResults",
142
142
  setup(e) {
143
- let t = Mt("items", {
143
+ let t = jt("items", {
144
144
  grammar: "boolean",
145
- haystack: he
146
- }), n = B(!1);
147
- fe().then(() => {
145
+ haystack: me
146
+ }), n = V(!1);
147
+ de().then(() => {
148
148
  n.value = !0;
149
149
  });
150
150
  function r(e) {
151
151
  return !e || e === "all-objects";
152
152
  }
153
- let i = B(""), a = M(() => ({
153
+ let i = V(""), a = N(() => ({
154
154
  entity: "items",
155
155
  keys: ["q"],
156
156
  sort: !1,
157
157
  narrow: (e, i) => n.value ? r(i.q) ? e : t.search(i.q) : [],
158
- pageSize: ve,
158
+ pageSize: _e,
159
159
  variant: "grid",
160
160
  recordRoute: "item",
161
161
  actionLabel: "catalogue.results.seeDatabaseEntry",
162
- record: (e, { t }) => le(e, t),
162
+ record: (e, { t }) => ce(e, t),
163
163
  pagination: { jump: !0 },
164
164
  summary: ({ filters: e, pageInfo: t, t: n, total: i }) => [{
165
165
  label: n("core.section.database"),
@@ -169,32 +169,32 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
169
169
  value: `${n("catalogue.results.outOf")} ${i} ${n("catalogue.results.objects")}`
170
170
  }]
171
171
  }));
172
- return (e, t) => (z(), N(b, {
172
+ return (e, t) => (B(), P(x, {
173
173
  spec: a.value,
174
174
  class: "mwnf-dxa-search-results"
175
175
  }, {
176
- before: W(() => [R(g)]),
177
- filters: W(({ apply: n }) => [I("form", {
176
+ before: G(() => [z(g)]),
177
+ filters: G(({ apply: n }) => [L("form", {
178
178
  class: "mwnf-dxa-refine-search",
179
- onSubmit: wt((e) => n({ q: i.value || "all-objects" }), ["prevent"])
180
- }, [G(I("input", {
179
+ onSubmit: Ct((e) => n({ q: i.value || "all-objects" }), ["prevent"])
180
+ }, [K(L("input", {
181
181
  "onUpdate:modelValue": t[0] ||= (e) => i.value = e,
182
182
  type: "text",
183
183
  class: "mwnf-dxa-refine-search-input",
184
184
  placeholder: e.$t("catalogue.search.keywordPlaceholder")
185
- }, null, 8, Ut), [[St, i.value]]), I("button", Wt, H(e.$t("catalogue.search.submit")), 1)], 40, Ht), I("p", Gt, [R(U(Q), { to: { name: "search-how-to" } }, {
186
- default: W(() => [L(H(e.$t("catalogue.search.howTo")) + " ›", 1)]),
185
+ }, null, 8, Ut), [[xt, i.value]]), L("button", Wt, U(e.$t("catalogue.search.submit")), 1)], 40, Ht), L("p", Gt, [z(W(Q), { to: { name: "search-how-to" } }, {
186
+ default: G(() => [R(U(e.$t("catalogue.search.howTo")) + " ›", 1)]),
187
187
  _: 1
188
188
  })])]),
189
- empty: W(() => [I("p", Kt, [
190
- L(H(e.$t("catalogue.results.noResultsSearch")) + " ", 1),
191
- R(U(Q), { to: { name: "search-how-to" } }, {
192
- default: W(() => [L(H(e.$t("catalogue.search.howTo")), 1)]),
189
+ empty: G(() => [L("p", Kt, [
190
+ R(U(e.$t("catalogue.results.noResultsSearch")) + " ", 1),
191
+ z(W(Q), { to: { name: "search-how-to" } }, {
192
+ default: G(() => [R(U(e.$t("catalogue.search.howTo")), 1)]),
193
193
  _: 1
194
194
  }),
195
- t[1] ||= I("span", { class: "mwnf-dxa-no-results-divider" }, "|", -1),
196
- R(U(Q), { to: { name: "collection" } }, {
197
- default: W(() => [L(H(e.$t("core.section.collection")), 1)]),
195
+ t[1] ||= L("span", { class: "mwnf-dxa-no-results-divider" }, "|", -1),
196
+ z(W(Q), { to: { name: "collection" } }, {
197
+ default: G(() => [R(U(e.$t("core.section.collection")), 1)]),
198
198
  _: 1
199
199
  })
200
200
  ])]),
@@ -204,23 +204,23 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
204
204
  }, Jt = {
205
205
  __name: "TimelineResults",
206
206
  setup(e) {
207
- return (e, t) => (z(), N(x, {
208
- spec: U(re),
207
+ return (e, t) => (B(), P(S, {
208
+ spec: W(ne),
209
209
  class: "mwnf-dxa-timeline-results"
210
210
  }, {
211
- before: W(() => [R(g)]),
211
+ before: G(() => [z(g)]),
212
212
  _: 1
213
213
  }, 8, ["spec"]));
214
214
  }
215
215
  }, Yt = { class: "mwnf-dxa-back-to-events" }, Xt = {
216
216
  __name: "TimelineGallery",
217
217
  setup(e) {
218
- return (e, t) => (z(), N(b, {
219
- spec: U(be),
218
+ return (e, t) => (B(), P(x, {
219
+ spec: W(ye),
220
220
  class: "mwnf-dxa-timeline-gallery"
221
221
  }, {
222
- before: W(() => [R(g)]),
223
- actions: W(({ filters: t, pageInfo: n, goToPage: r }) => [I("p", Yt, [R(U(Q), { to: {
222
+ before: G(() => [z(g)]),
223
+ actions: G(({ filters: t, pageInfo: n, goToPage: r }) => [L("p", Yt, [z(W(Q), { to: {
224
224
  name: "timeline-results",
225
225
  query: {
226
226
  country: t.country,
@@ -228,9 +228,9 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
228
228
  end: t.end
229
229
  }
230
230
  } }, {
231
- default: W(() => [L(" ➤ " + H(e.$t("timeline.nav.backToEvents")), 1)]),
231
+ default: G(() => [R(" ➤ " + U(e.$t("timeline.nav.backToEvents")), 1)]),
232
232
  _: 1
233
- }, 8, ["to"])]), R(h, {
233
+ }, 8, ["to"])]), z(m, {
234
234
  class: "mwnf-dxa-pages",
235
235
  "page-info": n,
236
236
  jump: "",
@@ -245,39 +245,39 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
245
245
  }, $t = { class: "mwnf-dxa-options-label" }, en = {
246
246
  __name: "CollectionResults",
247
247
  setup(e) {
248
- let t = Ft(), { t: n } = Y(), r = ce(), i = we.keys, a = (e) => i.filter((t) => e[t]).length <= 1;
248
+ let t = Ft(), { t: n } = X(), r = se(), i = Ce.keys, a = (e) => i.filter((t) => e[t]).length <= 1;
249
249
  function o() {
250
250
  t.push({ name: "collection" });
251
251
  }
252
- let s = M(() => new Set((ye.value ?? []).map((e) => e.country_id)));
252
+ let s = N(() => new Set((ve.value ?? []).map((e) => e.country_id)));
253
253
  function c(e) {
254
- let t = De(e.country);
254
+ let t = Ee(e.country);
255
255
  return !!(t && s.value.has(t));
256
256
  }
257
- return (e, t) => (z(), N(b, {
258
- spec: U(we),
257
+ return (e, t) => (B(), P(x, {
258
+ spec: W(Ce),
259
259
  class: "mwnf-dxa-collection-results"
260
260
  }, {
261
- before: W(() => [R(g)]),
262
- actions: W(({ pageInfo: e, goToPage: t }) => [R(h, {
261
+ before: G(() => [z(g)]),
262
+ actions: G(({ pageInfo: e, goToPage: t }) => [z(m, {
263
263
  class: "mwnf-dxa-pages",
264
264
  "page-info": e,
265
265
  jump: "",
266
266
  onNavigate: t
267
267
  }, null, 8, ["page-info", "onNavigate"])]),
268
- empty: W(() => [L(H(e.$t("catalogue.results.noResults")) + " ", 1), I("button", {
268
+ empty: G(() => [R(U(e.$t("catalogue.results.noResults")) + " ", 1), L("button", {
269
269
  class: "mwnf-dxa-linkish",
270
270
  onClick: t[0] ||= (e) => o()
271
- }, H(e.$t("catalogue.results.resetFilters")), 1)]),
272
- aside: W(({ filters: i, apply: s, matching: l, options: u }) => [R(d, {
271
+ }, U(e.$t("catalogue.results.resetFilters")), 1)]),
272
+ aside: G(({ filters: i, apply: s, matching: l, options: u }) => [z(f, {
273
273
  mode: "immediate",
274
274
  title: a(i) ? e.$t("catalogue.facet.filterBy") : e.$t("catalogue.facet.filterFurtherBy"),
275
275
  "reset-label": e.$t("catalogue.results.resetFilters"),
276
276
  disabled: l.length === 0,
277
277
  onReset: t[1] ||= (e) => o()
278
278
  }, {
279
- default: W(() => [
280
- R(m, {
279
+ default: G(() => [
280
+ z(d, {
281
281
  "model-value": i.country,
282
282
  options: u.country,
283
283
  placeholder: e.$t("catalogue.facet.selectCountry"),
@@ -288,11 +288,11 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
288
288
  "placeholder",
289
289
  "onUpdate:modelValue"
290
290
  ]),
291
- (z(!0), F(j, null, V(U(Ce), (e) => (z(), N(m, {
291
+ (B(!0), I(M, null, H(W(Se), (e) => (B(), P(d, {
292
292
  key: e,
293
293
  "model-value": i[e],
294
294
  options: u[e],
295
- placeholder: U(r)[e],
295
+ placeholder: W(r)[e],
296
296
  "hide-empty": "",
297
297
  "onUpdate:modelValue": (t) => s({ [e]: t })
298
298
  }, null, 8, [
@@ -301,9 +301,9 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
301
301
  "placeholder",
302
302
  "onUpdate:modelValue"
303
303
  ]))), 128)),
304
- I("div", Zt, [R(m, {
304
+ L("div", Zt, [z(d, {
305
305
  "model-value": i.from,
306
- options: U(Z)(l, U(n)),
306
+ options: W(Z)(l, W(n)),
307
307
  placeholder: e.$t("catalogue.facet.startDate"),
308
308
  "onUpdate:modelValue": (e) => s({ from: e })
309
309
  }, null, 8, [
@@ -311,9 +311,9 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
311
311
  "options",
312
312
  "placeholder",
313
313
  "onUpdate:modelValue"
314
- ]), R(m, {
314
+ ]), z(d, {
315
315
  "model-value": i.to,
316
- options: U(Z)(l, U(n)),
316
+ options: W(Z)(l, W(n)),
317
317
  placeholder: e.$t("catalogue.facet.endDate"),
318
318
  "onUpdate:modelValue": (e) => s({ to: e })
319
319
  }, null, 8, [
@@ -328,7 +328,7 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
328
328
  "title",
329
329
  "reset-label",
330
330
  "disabled"
331
- ]), c(i) ? (z(), F("div", Qt, [I("div", $t, H(e.$t("catalogue.results.timelineForSearch")), 1), I("p", null, [t[2] ||= L(" ➤ ", -1), R(U(Q), { to: {
331
+ ]), c(i) ? (B(), I("div", Qt, [L("div", $t, U(e.$t("catalogue.results.timelineForSearch")), 1), L("p", null, [t[2] ||= R(" ➤ ", -1), z(W(Q), { to: {
332
332
  name: "timeline-results",
333
333
  query: {
334
334
  country: i.country,
@@ -336,16 +336,16 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
336
336
  end: i.to
337
337
  }
338
338
  } }, {
339
- default: W(() => [L(H(e.$t("core.section.timeline")) + " | " + H(U(C)("countries", U(De)(i.country))), 1)]),
339
+ default: G(() => [R(U(e.$t("core.section.timeline")) + " | " + U(W(w)("countries", W(Ee)(i.country))), 1)]),
340
340
  _: 2
341
- }, 1032, ["to"])])])) : P("", !0)]),
341
+ }, 1032, ["to"])])])) : F("", !0)]),
342
342
  _: 1
343
343
  }, 8, ["spec"]));
344
344
  }
345
345
  }, tn = { class: "mwnf-dxa-collection-search" }, nn = { class: "mwnf-dxa-dropdown-label" }, rn = {
346
346
  __name: "CollectionSearch",
347
347
  setup(e) {
348
- let t = jt(_e, Oe), n = M(() => Ce.filter((e) => (t.value[e] ?? []).length > 0)), r = M(() => ({
348
+ let t = At(ge, De), n = N(() => Se.filter((e) => (t.value[e] ?? []).length > 0)), r = N(() => ({
349
349
  mode: "facets",
350
350
  target: "collection-results",
351
351
  dates: "buckets",
@@ -355,14 +355,14 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
355
355
  options: t.value.country
356
356
  }, ...n.value.map((e) => ({
357
357
  key: e,
358
- label: Ee[e],
358
+ label: Te[e],
359
359
  options: t.value[e]
360
360
  }))]
361
361
  }));
362
- return (e, t) => (z(), F("div", tn, [R(v, { spec: r.value }, {
363
- before: W(() => [I("div", nn, H(e.$t("catalogue.facet.filterBy")), 1)]),
362
+ return (e, t) => (B(), I("div", tn, [z(y, { spec: r.value }, {
363
+ before: G(() => [L("div", nn, U(e.$t("catalogue.facet.filterBy")), 1)]),
364
364
  _: 1
365
- }, 8, ["spec"]), R(U(K), {
365
+ }, 8, ["spec"]), z(W(q), {
366
366
  id: "mwnf-dxa-collection-search-description",
367
367
  class: "mwnf-dxa-description mwnf-prose",
368
368
  dir: "auto",
@@ -375,32 +375,32 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
375
375
  }, on = { class: "mwnf-dxa-profile-link-container" }, sn = {
376
376
  __name: "PartnerObjects",
377
377
  setup(e) {
378
- let t = Pt(), n = M(() => je.value.get(t.params.id) ?? null), r = M(() => ({
379
- ...ie,
378
+ let t = Pt(), n = N(() => je.value.get(t.params.id) ?? null), r = N(() => ({
379
+ ...re,
380
380
  scope: (e) => e.partner_id === t.params.id
381
- })), i = M(() => n.value ? S.view(n.value, se("partners", n.value.id, me)) : null);
382
- return (e, t) => n.value ? (z(), F("div", an, [R(b, { spec: r.value }, {
383
- before: W(() => [R(g), R(p, {
381
+ })), i = N(() => n.value ? C.view(n.value, oe("partners", n.value.id, pe)) : null);
382
+ return (e, t) => n.value ? (B(), I("div", an, [z(x, { spec: r.value }, {
383
+ before: G(() => [z(g), z(p, {
384
384
  class: "mwnf-dxa-partner-objects-header",
385
385
  variant: "summary",
386
386
  heading: 1,
387
387
  partner: i.value
388
388
  }, null, 8, ["partner"])]),
389
- actions: W(({ pageInfo: e, goToPage: t }) => [R(h, {
389
+ actions: G(({ pageInfo: e, goToPage: t }) => [z(m, {
390
390
  class: "mwnf-dxa-pages",
391
391
  "page-info": e,
392
392
  jump: "",
393
393
  onNavigate: t
394
394
  }, null, 8, ["page-info", "onNavigate"])]),
395
- after: W(() => [I("div", on, [R(U(Q), {
395
+ after: G(() => [L("div", on, [z(W(Q), {
396
396
  class: "mwnf-dxa-profile-link",
397
- to: U(de)(n.value)
397
+ to: W(ue)(n.value)
398
398
  }, {
399
- default: W(() => [L("➤ " + H(e.$t("partner.action.partnerProfile")), 1)]),
399
+ default: G(() => [R("➤ " + U(e.$t("partner.action.partnerProfile")), 1)]),
400
400
  _: 1
401
401
  }, 8, ["to"])])]),
402
402
  _: 1
403
- }, 8, ["spec"])])) : P("", !0);
403
+ }, 8, ["spec"])])) : F("", !0);
404
404
  }
405
405
  }, cn = {
406
406
  __name: "SearchHowTo",
@@ -412,7 +412,7 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
412
412
  to: { name: "collection" }
413
413
  }
414
414
  };
415
- return (e, n) => (z(), N(y, {
415
+ return (e, n) => (B(), P(b, {
416
416
  spec: t,
417
417
  class: "mwnf-dxa-editorial"
418
418
  }));
@@ -426,8 +426,8 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
426
426
  actions: !0,
427
427
  emptyLabel: "exhibition.partner.noObjectsInExhibition"
428
428
  };
429
- return (e, n) => (z(), F("div", ln, [R(_, { spec: t }, {
430
- before: W(() => [I("div", un, [R(g)]), R(U(K), {
429
+ return (e, n) => (B(), I("div", ln, [z(v, { spec: t }, {
430
+ before: G(() => [L("div", un, [z(g)]), z(W(q), {
431
431
  id: "mwnf-dxa-partners-intro",
432
432
  class: "mwnf-prose",
433
433
  dir: "auto",
@@ -442,17 +442,17 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
442
442
  }, hn = { class: "mwnf-dxa-how-to" }, gn = { class: "mwnf-dxa-no-results" }, _n = {
443
443
  __name: "SearchResults",
444
444
  setup(e) {
445
- let t = Mt("items", {
445
+ let t = jt("items", {
446
446
  grammar: "boolean",
447
447
  haystack: Ge
448
- }), n = B(!1);
448
+ }), n = V(!1);
449
449
  We().then(() => {
450
450
  n.value = !0;
451
451
  });
452
452
  function r(e) {
453
453
  return !e || e === "all-objects";
454
454
  }
455
- let i = B(""), a = M(() => ({
455
+ let i = V(""), a = N(() => ({
456
456
  entity: "items",
457
457
  keys: ["q"],
458
458
  scope: (e) => k.value.has(e.id),
@@ -477,32 +477,32 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
477
477
  value: `${n("catalogue.results.outOf")} ${k.value.size} ${n("catalogue.results.objects")}`
478
478
  }]
479
479
  }));
480
- return (e, t) => (z(), N(b, {
480
+ return (e, t) => (B(), P(x, {
481
481
  spec: a.value,
482
482
  class: "mwnf-dxa-search-results"
483
483
  }, {
484
- before: W(() => [R(g)]),
485
- filters: W(({ apply: n }) => [I("form", {
484
+ before: G(() => [z(g)]),
485
+ filters: G(({ apply: n }) => [L("form", {
486
486
  class: "mwnf-dxa-refine-search",
487
- onSubmit: wt((e) => n({ q: i.value || "all-objects" }), ["prevent"])
488
- }, [G(I("input", {
487
+ onSubmit: Ct((e) => n({ q: i.value || "all-objects" }), ["prevent"])
488
+ }, [K(L("input", {
489
489
  "onUpdate:modelValue": t[0] ||= (e) => i.value = e,
490
490
  type: "text",
491
491
  class: "mwnf-dxa-refine-search-input",
492
492
  placeholder: e.$t("catalogue.search.keywordPlaceholder")
493
- }, null, 8, pn), [[St, i.value]]), I("button", mn, H(e.$t("catalogue.search.submit")), 1)], 40, fn), I("p", hn, [R(U(Q), { to: { name: "search-how-to" } }, {
494
- default: W(() => [L(H(e.$t("catalogue.search.howTo")) + " ›", 1)]),
493
+ }, null, 8, pn), [[xt, i.value]]), L("button", mn, U(e.$t("catalogue.search.submit")), 1)], 40, fn), L("p", hn, [z(W(Q), { to: { name: "search-how-to" } }, {
494
+ default: G(() => [R(U(e.$t("catalogue.search.howTo")) + " ›", 1)]),
495
495
  _: 1
496
496
  })])]),
497
- empty: W(() => [I("p", gn, [
498
- L(H(e.$t("catalogue.results.noResultsSearch")) + " ", 1),
499
- R(U(Q), { to: { name: "search-how-to" } }, {
500
- default: W(() => [L(H(e.$t("catalogue.search.howTo")), 1)]),
497
+ empty: G(() => [L("p", gn, [
498
+ R(U(e.$t("catalogue.results.noResultsSearch")) + " ", 1),
499
+ z(W(Q), { to: { name: "search-how-to" } }, {
500
+ default: G(() => [R(U(e.$t("catalogue.search.howTo")), 1)]),
501
501
  _: 1
502
502
  }),
503
- t[1] ||= I("span", { class: "mwnf-dxa-no-results-divider" }, "|", -1),
504
- R(U(Q), { to: { name: "collection" } }, {
505
- default: W(() => [L(H(e.$t("core.section.collection")), 1)]),
503
+ t[1] ||= L("span", { class: "mwnf-dxa-no-results-divider" }, "|", -1),
504
+ z(W(Q), { to: { name: "collection" } }, {
505
+ default: G(() => [R(U(e.$t("core.section.collection")), 1)]),
506
506
  _: 1
507
507
  })
508
508
  ])]),
@@ -512,22 +512,22 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
512
512
  }, vn = {
513
513
  __name: "TimelineResults",
514
514
  setup(e) {
515
- return (e, t) => (z(), N(x, {
516
- spec: U(Be),
515
+ return (e, t) => (B(), P(S, {
516
+ spec: W(Be),
517
517
  class: "mwnf-dxa-timeline-results"
518
518
  }, {
519
- before: W(() => [R(g)]),
519
+ before: G(() => [z(g)]),
520
520
  _: 1
521
521
  }, 8, ["spec"]));
522
522
  }
523
523
  }, yn = {
524
524
  __name: "TimelineGallery",
525
525
  setup(e) {
526
- return (e, t) => (z(), N(b, {
527
- spec: U(ze),
526
+ return (e, t) => (B(), P(x, {
527
+ spec: W(ze),
528
528
  class: "mwnf-dxa-timeline-gallery"
529
529
  }, {
530
- before: W(() => [R(g)]),
530
+ before: G(() => [z(g)]),
531
531
  _: 1
532
532
  }, 8, ["spec"]));
533
533
  }
@@ -537,40 +537,40 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
537
537
  }, Sn = { class: "mwnf-dxa-options-label" }, Cn = {
538
538
  __name: "CollectionResults",
539
539
  setup(e) {
540
- let t = Ft(), { t: n } = Y(), r = Le(), i = ot.keys, a = (e) => i.filter((t) => e[t]).length <= 1;
540
+ let t = Ft(), { t: n } = X(), r = Le(), i = ot.keys, a = (e) => i.filter((t) => e[t]).length <= 1;
541
541
  function o() {
542
542
  t.push({ name: "collection" });
543
543
  }
544
- let s = M(() => new Set((He.value ?? []).map((e) => e.country_id)));
544
+ let s = N(() => new Set((He.value ?? []).map((e) => e.country_id)));
545
545
  function c(e) {
546
546
  if (!Xe.value) return !1;
547
547
  let t = tt(e.country);
548
548
  return !!(t && s.value.has(t));
549
549
  }
550
- return (e, t) => (z(), N(b, {
551
- spec: U(ot),
550
+ return (e, t) => (B(), P(x, {
551
+ spec: W(ot),
552
552
  class: "mwnf-dxa-collection-results"
553
553
  }, {
554
- before: W(() => [R(g)]),
555
- actions: W(({ pageInfo: e, goToPage: t }) => [R(h, {
554
+ before: G(() => [z(g)]),
555
+ actions: G(({ pageInfo: e, goToPage: t }) => [z(m, {
556
556
  class: "mwnf-dxa-pages",
557
557
  "page-info": e,
558
558
  jump: "",
559
559
  onNavigate: t
560
560
  }, null, 8, ["page-info", "onNavigate"])]),
561
- empty: W(() => [L(H(e.$t("catalogue.results.noResults")) + " ", 1), I("button", {
561
+ empty: G(() => [R(U(e.$t("catalogue.results.noResults")) + " ", 1), L("button", {
562
562
  class: "mwnf-dxa-linkish",
563
563
  onClick: t[0] ||= (e) => o()
564
- }, H(e.$t("catalogue.results.resetFilters")), 1)]),
565
- aside: W(({ filters: i, apply: s, matching: l, options: u }) => [R(d, {
564
+ }, U(e.$t("catalogue.results.resetFilters")), 1)]),
565
+ aside: G(({ filters: i, apply: s, matching: l, options: u }) => [z(f, {
566
566
  mode: "immediate",
567
567
  title: a(i) ? e.$t("catalogue.facet.filterBy") : e.$t("catalogue.facet.filterFurtherBy"),
568
568
  "reset-label": e.$t("catalogue.results.resetFilters"),
569
569
  disabled: l.length === 0,
570
570
  onReset: t[1] ||= (e) => o()
571
571
  }, {
572
- default: W(() => [
573
- R(m, {
572
+ default: G(() => [
573
+ z(d, {
574
574
  "model-value": i.country,
575
575
  options: u.country,
576
576
  placeholder: e.$t("catalogue.facet.selectCountry"),
@@ -581,11 +581,11 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
581
581
  "placeholder",
582
582
  "onUpdate:modelValue"
583
583
  ]),
584
- (z(!0), F(j, null, V(U(rt), (e) => (z(), N(m, {
584
+ (B(!0), I(M, null, H(W(rt), (e) => (B(), P(d, {
585
585
  key: e,
586
586
  "model-value": i[e],
587
587
  options: u[e],
588
- placeholder: U(r)[e],
588
+ placeholder: W(r)[e],
589
589
  "hide-empty": "",
590
590
  "onUpdate:modelValue": (t) => s({ [e]: t })
591
591
  }, null, 8, [
@@ -594,9 +594,9 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
594
594
  "placeholder",
595
595
  "onUpdate:modelValue"
596
596
  ]))), 128)),
597
- I("div", bn, [R(m, {
597
+ L("div", bn, [z(d, {
598
598
  "model-value": i.from,
599
- options: U(Z)(l, U(n)),
599
+ options: W(Z)(l, W(n)),
600
600
  placeholder: e.$t("catalogue.facet.startDate"),
601
601
  "onUpdate:modelValue": (e) => s({ from: e })
602
602
  }, null, 8, [
@@ -604,9 +604,9 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
604
604
  "options",
605
605
  "placeholder",
606
606
  "onUpdate:modelValue"
607
- ]), R(m, {
607
+ ]), z(d, {
608
608
  "model-value": i.to,
609
- options: U(Z)(l, U(n)),
609
+ options: W(Z)(l, W(n)),
610
610
  placeholder: e.$t("catalogue.facet.endDate"),
611
611
  "onUpdate:modelValue": (e) => s({ to: e })
612
612
  }, null, 8, [
@@ -621,24 +621,24 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
621
621
  "title",
622
622
  "reset-label",
623
623
  "disabled"
624
- ]), c(i) ? (z(), F("div", xn, [I("div", Sn, H(e.$t("catalogue.results.timelineForSearch")), 1), I("p", null, [t[2] ||= L(" ➤ ", -1), R(U(Q), { to: {
624
+ ]), c(i) ? (B(), I("div", xn, [L("div", Sn, U(e.$t("catalogue.results.timelineForSearch")), 1), L("p", null, [t[2] ||= R(" ➤ ", -1), z(W(Q), { to: {
625
625
  name: "timeline-results",
626
626
  query: {
627
- country: U(tt)(i.country),
627
+ country: W(tt)(i.country),
628
628
  begin: i.from,
629
629
  end: i.to
630
630
  }
631
631
  } }, {
632
- default: W(() => [L(H(e.$t("core.section.timeline")) + " | " + H(U(lt)("countries", U(tt)(i.country))), 1)]),
632
+ default: G(() => [R(U(e.$t("core.section.timeline")) + " | " + U(W(lt)("countries", W(tt)(i.country))), 1)]),
633
633
  _: 2
634
- }, 1032, ["to"])])])) : P("", !0)]),
634
+ }, 1032, ["to"])])])) : F("", !0)]),
635
635
  _: 1
636
636
  }, 8, ["spec"]));
637
637
  }
638
638
  }, wn = { class: "mwnf-dxa-collection-search" }, Tn = {
639
639
  __name: "CollectionSearch",
640
640
  setup(e) {
641
- let t = jt(qe, st), n = M(() => rt.filter((e) => (t.value[e] ?? []).length > 0)), r = M(() => ({
641
+ let t = At(qe, st), n = N(() => rt.filter((e) => (t.value[e] ?? []).length > 0)), r = N(() => ({
642
642
  mode: "facets",
643
643
  target: "collection-results",
644
644
  dates: "buckets",
@@ -653,8 +653,8 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
653
653
  options: t.value[e]
654
654
  }))]
655
655
  }));
656
- return (e, t) => (z(), F("div", wn, [R(v, { spec: r.value }, {
657
- intro: W(() => [R(U(K), {
656
+ return (e, t) => (B(), I("div", wn, [z(y, { spec: r.value }, {
657
+ intro: G(() => [z(W(q), {
658
658
  id: "mwnf-dxa-collection-search-description",
659
659
  class: "mwnf-dxa-description mwnf-prose",
660
660
  dir: "auto",
@@ -676,7 +676,7 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
676
676
  }
677
677
  },
678
678
  setup(e) {
679
- let t = e, n = M(() => t.variant === "institution"), r = Pt(), i = M(() => Re(r.params.id)), a = M(() => i.value ? E.view(i.value, Ie("partners", i.value.id, Ye)) : null), o = M(() => ({
679
+ let t = e, n = N(() => t.variant === "institution"), r = Pt(), i = N(() => Re(r.params.id)), a = N(() => i.value ? E.view(i.value, Ie("partners", i.value.id, Ye)) : null), o = N(() => ({
680
680
  entity: "items",
681
681
  scope: (e) => e.partner_id === i.value?.id,
682
682
  sort: { undated: "first" },
@@ -691,34 +691,34 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
691
691
  value: r(n.value ? t.texts.institutionSummary : "partner.item.objectsInSite")
692
692
  }]
693
693
  }));
694
- return (e, r) => i.value ? (z(), N(b, {
694
+ return (e, r) => i.value ? (B(), P(x, {
695
695
  key: 0,
696
696
  spec: o.value,
697
697
  class: "mwnf-dxa-partner-objects"
698
698
  }, {
699
- before: W(() => [R(g), R(p, {
699
+ before: G(() => [z(g), z(p, {
700
700
  class: "mwnf-dxa-partner-objects-header",
701
701
  variant: "summary",
702
702
  heading: 1,
703
703
  partner: a.value
704
704
  }, null, 8, ["partner"])]),
705
- actions: W(({ pageInfo: e, goToPage: t }) => [R(h, {
705
+ actions: G(({ pageInfo: e, goToPage: t }) => [z(m, {
706
706
  class: "mwnf-dxa-pages",
707
707
  "page-info": e,
708
708
  jump: "",
709
709
  onNavigate: t
710
710
  }, null, 8, ["page-info", "onNavigate"])]),
711
- after: W(() => [I("div", En, [R(U(Q), {
711
+ after: G(() => [L("div", En, [z(W(Q), {
712
712
  class: "mwnf-dxa-profile-link",
713
- to: U(Ve)(i.value)
713
+ to: W(Ve)(i.value)
714
714
  }, {
715
- default: W(() => [L(" ➤ " + H(n.value ? e.$t(t.texts.institutionProfileLabel) : e.$t(t.texts.partnerProfileLabel)), 1)]),
715
+ default: G(() => [R(" ➤ " + U(n.value ? e.$t(t.texts.institutionProfileLabel) : e.$t(t.texts.partnerProfileLabel)), 1)]),
716
716
  _: 1
717
717
  }, 8, ["to"])])]),
718
718
  _: 1
719
- }, 8, ["spec"])) : P("", !0);
719
+ }, 8, ["spec"])) : F("", !0);
720
720
  }
721
- }, On = () => Promise.resolve().then(() => Fr), kn = () => Promise.resolve().then(() => Wr), An = () => Promise.resolve().then(() => qr), jn = () => Promise.resolve().then(() => Xr), Mn = () => Promise.resolve().then(() => $r), Nn = () => Promise.resolve().then(() => ni), Pn = () => import("./Theme-CrkjdQ9z.js").then((e) => e.t), Fn = () => Promise.resolve().then(() => oi), In = () => Promise.resolve().then(() => ui), Ln = () => Promise.resolve().then(() => pi), Rn = () => Promise.resolve().then(() => hi), zn = {
721
+ }, On = () => Promise.resolve().then(() => Fr), kn = () => Promise.resolve().then(() => Wr), An = () => Promise.resolve().then(() => qr), jn = () => Promise.resolve().then(() => Xr), Mn = () => Promise.resolve().then(() => $r), Nn = () => Promise.resolve().then(() => ni), Pn = () => import("./Theme-D17n73E8.js").then((e) => e.t), Fn = () => Promise.resolve().then(() => oi), In = () => Promise.resolve().then(() => ui), Ln = () => Promise.resolve().then(() => pi), Rn = () => Promise.resolve().then(() => hi), zn = {
722
722
  emptyPartner: "exhibition.partnerObjects.emptyPartner",
723
723
  emptyInstitution: "exhibition.partnerObjects.emptyInstitution",
724
724
  institutionSummary: "exhibition.partner.monumentsInExhibition",
@@ -726,7 +726,7 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
726
726
  institutionProfileLabel: "exhibition.partnerObjects.institutionProfile"
727
727
  };
728
728
  function Bn(e) {
729
- let t = kt([
729
+ let t = Ot([
730
730
  "gallery",
731
731
  "items",
732
732
  "partners",
@@ -778,7 +778,7 @@ function Bn(e) {
778
778
  component: $,
779
779
  props: (e) => ({
780
780
  id: String(e.params.id),
781
- family: S
781
+ family: C
782
782
  }),
783
783
  meta: t("partners", "languages")
784
784
  },
@@ -828,7 +828,7 @@ function Bn(e) {
828
828
  ];
829
829
  }
830
830
  function Vn(e) {
831
- let t = kt([
831
+ let t = Ot([
832
832
  "exhibition",
833
833
  "items",
834
834
  "partners",
@@ -891,7 +891,7 @@ function Vn(e) {
891
891
  ...e.creditsBody ? [{
892
892
  path: "/credits",
893
893
  name: "credits",
894
- component: y,
894
+ component: b,
895
895
  props: { spec: {
896
896
  body: e.creditsBody,
897
897
  back: !0
@@ -1033,56 +1033,56 @@ var Kn = {
1033
1033
  },
1034
1034
  emits: ["update:language"],
1035
1035
  setup(e, { emit: t }) {
1036
- let n = e, r = t, { t: i, locale: a } = Y(), o = X(), c = M(() => o.links ?? {}), l = M(() => o.galleryShell ?? {}), u = Nt(), d = M(() => u.value === "home"), f = (/* @__PURE__ */ new Date()).getFullYear();
1036
+ let n = e, r = t, { t: i, locale: a } = X(), o = Nt(), c = N(() => o.links ?? {}), l = N(() => o.galleryShell ?? {}), u = Mt(), d = N(() => u.value === "home"), f = (/* @__PURE__ */ new Date()).getFullYear();
1037
1037
  function p(e) {
1038
1038
  return e?.[a.value] ?? e?.en ?? "";
1039
1039
  }
1040
- let m = M(() => {
1041
- let e = T.projects?.[T.gallery?.project_id ?? w.value?.project_id];
1042
- return p(e?.name) || p(T.site?.names) || p(w.value?.names);
1040
+ let m = N(() => {
1041
+ let e = Oe.projects?.[Oe.gallery?.project_id ?? T.value?.project_id];
1042
+ return p(e?.name) || p(Oe.site?.names) || p(T.value?.names);
1043
1043
  });
1044
1044
  function h(e, t) {
1045
1045
  if (!(e in l.value)) return t();
1046
1046
  let n = l.value[e];
1047
1047
  return n ? i(n) : "";
1048
1048
  }
1049
- let g = M(() => d.value ? "" : h("headerEyebrow", () => i("core.project.galleries"))), ee = M(() => d.value ? "" : h("headerTitle", () => m.value)), _ = M(() => l.value.bannerImage ? s(o.chrome, l.value.bannerImage) : pe(w.value?.banner_image_path, "hi_res")), v = M(() => {
1049
+ let g = N(() => d.value ? "" : h("headerEyebrow", () => i("core.project.galleries"))), _ = N(() => d.value ? "" : h("headerTitle", () => m.value)), v = N(() => l.value.bannerImage ? s(o.chrome, l.value.bannerImage) : fe(T.value?.banner_image_path, "hi_res")), y = N(() => {
1050
1050
  if (l.value.bannerCaption) return l.value.bannerCaption;
1051
- let e = ge.value.get(w.value?.banner_item_id);
1051
+ let e = he.value.get(T.value?.banner_item_id);
1052
1052
  if (!e) return "";
1053
- let t = se("items", e.id, me);
1053
+ let t = oe("items", e.id, pe);
1054
1054
  return {
1055
- name: C("items", e.id),
1056
- partner: C("partners", e.partner_id),
1055
+ name: w("items", e.id),
1056
+ partner: w("partners", e.partner_id),
1057
1057
  location: t.location ?? "",
1058
- country: C("countries", e.country_id)
1058
+ country: w("countries", e.country_id)
1059
1059
  };
1060
- }), y = M(() => d.value ? h("bannerEyebrow", () => i("gallery.banner.discoverGalleries")) : ""), b = M(() => d.value ? h("bannerTitle", () => m.value) : void 0), x = M(() => l.value.notice === !1 ? null : {
1060
+ }), b = N(() => d.value ? h("bannerEyebrow", () => i("gallery.banner.discoverGalleries")) : ""), x = N(() => d.value ? h("bannerTitle", () => m.value) : void 0), S = N(() => l.value.notice === !1 ? null : {
1061
1061
  title: i("gallery.notice.tip"),
1062
1062
  text: i("gallery.notice.databaseReplaced")
1063
- }), te = M(() => !!s(o.chrome, o.brand?.logo));
1064
- return (e, t) => (z(), N(ne, {
1065
- class: gt(["mwnf-dxa-gallery-shell", { "mwnf-dxa-gallery-shell--home": d.value }]),
1063
+ }), ee = N(() => !!s(o.chrome, o.brand?.logo));
1064
+ return (e, t) => (B(), P(te, {
1065
+ class: ht(["mwnf-dxa-gallery-shell", { "mwnf-dxa-gallery-shell--home": d.value }]),
1066
1066
  languages: n.languages,
1067
1067
  language: n.language,
1068
1068
  "language-placement": "none",
1069
1069
  "header-home": c.value.portal,
1070
1070
  "header-eyebrow": g.value,
1071
- "header-title": ee.value,
1071
+ "header-title": _.value,
1072
1072
  "header-title-href": "#/",
1073
- "banner-image": _.value,
1074
- "banner-caption": v.value,
1075
- "banner-eyebrow": y.value,
1076
- "banner-title": b.value,
1077
- notice: x.value,
1078
- "footer-text": `${U(i)("core.footer.copyright")} 2004–${U(f)}`,
1073
+ "banner-image": v.value,
1074
+ "banner-caption": y.value,
1075
+ "banner-eyebrow": b.value,
1076
+ "banner-title": x.value,
1077
+ notice: S.value,
1078
+ "footer-text": `${W(i)("core.footer.copyright")} 2004–${W(f)}`,
1079
1079
  "onUpdate:language": t[0] ||= (e) => r("update:language", e)
1080
- }, ht({
1081
- default: W(() => [bt(e.$slots, "default")]),
1080
+ }, mt({
1081
+ default: G(() => [yt(e.$slots, "default")]),
1082
1082
  _: 2
1083
- }, [te.value ? void 0 : {
1083
+ }, [ee.value ? void 0 : {
1084
1084
  name: "brand",
1085
- fn: W(() => [t[1] ||= I("span", { class: "mwnf-dxa-logo-mark" }, "MWNF", -1)]),
1085
+ fn: G(() => [t[1] ||= L("span", { class: "mwnf-dxa-logo-mark" }, "MWNF", -1)]),
1086
1086
  key: "0"
1087
1087
  }]), 1032, [
1088
1088
  "class",
@@ -1123,20 +1123,20 @@ var Kn = {
1123
1123
  }
1124
1124
  },
1125
1125
  setup(e) {
1126
- let t = e, n = B(!1), r = M(() => t.rawHtml ? t.content : Ot(t.content)), i = M(() => t.enabled && !!t.content && !n.value);
1127
- return (t, a) => i.value ? (z(), F("div", qn, [I("button", {
1126
+ let t = e, n = V(!1), r = N(() => t.rawHtml ? t.content : Dt(t.content)), i = N(() => t.enabled && !!t.content && !n.value);
1127
+ return (t, a) => i.value ? (B(), I("div", qn, [L("button", {
1128
1128
  class: "mwnf-popup-logo__close",
1129
1129
  "aria-label": t.$t(e.closeLabel),
1130
1130
  onClick: a[0] ||= (e) => n.value = !0
1131
- }, "✕", 8, Jn), e.rawHtml ? (z(), F("div", {
1131
+ }, "✕", 8, Jn), e.rawHtml ? (B(), I("div", {
1132
1132
  key: 0,
1133
1133
  class: "mwnf-popup-logo__content",
1134
1134
  innerHTML: r.value
1135
- }, null, 8, Yn)) : (z(), F("div", {
1135
+ }, null, 8, Yn)) : (B(), I("div", {
1136
1136
  key: 1,
1137
1137
  class: "mwnf-popup-logo__content",
1138
1138
  innerHTML: r.value
1139
- }, null, 8, Xn))])) : P("", !0);
1139
+ }, null, 8, Xn))])) : F("", !0);
1140
1140
  }
1141
1141
  }, Qn = {
1142
1142
  __name: "Shell",
@@ -1152,7 +1152,7 @@ var Kn = {
1152
1152
  },
1153
1153
  emits: ["update:language"],
1154
1154
  setup(e, { emit: t }) {
1155
- let n = e, r = t, { t: i, locale: c } = Y(), l = X(), u = M(() => l.links ?? {}), d = M(() => !!s(l.chrome, l.brand?.logo)), f = Nt(), p = M(() => f.value === "home"), m = (/* @__PURE__ */ new Date()).getFullYear(), h = M(() => p.value ? D.value?.homepage_image_path : null), g = M(() => h.value ? O(h.value, "hi_res") : O(D.value?.banner_image_path, "hi_res")), ee = M(() => {
1155
+ let n = e, r = t, { t: i, locale: c } = X(), l = Nt(), u = N(() => l.links ?? {}), d = N(() => !!s(l.chrome, l.brand?.logo)), f = Mt(), p = N(() => f.value === "home"), m = (/* @__PURE__ */ new Date()).getFullYear(), h = N(() => p.value ? D.value?.homepage_image_path : null), g = N(() => h.value ? O(h.value, "hi_res") : O(D.value?.banner_image_path, "hi_res")), _ = N(() => {
1156
1156
  let e = h.value ? "" : Ke(c.value);
1157
1157
  if (e) return e;
1158
1158
  let t = h.value ? D.value?.homepage_item_id : D.value?.banner_item_id, n = k.value.get(t);
@@ -1165,7 +1165,7 @@ var Kn = {
1165
1165
  province: h.value ? "" : r.province ?? "",
1166
1166
  country: lt("countries", n.country_id)
1167
1167
  };
1168
- }), _ = M(() => [{
1168
+ }), v = N(() => [{
1169
1169
  label: i("core.nav.about"),
1170
1170
  description: i("exhibition.nav.introduction"),
1171
1171
  href: "#/about"
@@ -1174,10 +1174,10 @@ var Kn = {
1174
1174
  description: i("exhibition.nav.contentAtAGlance"),
1175
1175
  href: "#/themes"
1176
1176
  }]);
1177
- function v(e) {
1177
+ function y(e) {
1178
1178
  return e.labels?.[c.value] ?? e.labels?.en ?? e.alt_text ?? "";
1179
1179
  }
1180
- let y = M(() => {
1180
+ let b = N(() => {
1181
1181
  let e = l.sponsorLogos;
1182
1182
  return Array.isArray(e) ? e.map((e) => ({
1183
1183
  ...e,
@@ -1185,7 +1185,7 @@ var Kn = {
1185
1185
  alt: e.alt ? i(e.alt) : ""
1186
1186
  })).filter((e) => e.image) : (D.value?.logos ?? []).map((e) => ({
1187
1187
  image: e.legacy_path ? O(e.legacy_path, "full") : null,
1188
- alt: v(e),
1188
+ alt: y(e),
1189
1189
  href: e.url || void 0,
1190
1190
  category_id: e.category_id,
1191
1191
  category: e.category,
@@ -1193,54 +1193,54 @@ var Kn = {
1193
1193
  display_order: e.display_order
1194
1194
  })).filter((e) => e.image);
1195
1195
  });
1196
- function b(e) {
1196
+ function x(e) {
1197
1197
  let t = l.media?.legacyHost;
1198
1198
  if (!t || !e.startsWith(`${t.replace(/\/+$/, "")}/`)) return null;
1199
1199
  let n = e.slice(t.replace(/\/+$/, "").length + 1).split("/").slice(1).join("/");
1200
1200
  return o(l.chrome, n);
1201
1201
  }
1202
- let x = M(() => a(Ne(D.value?.popup_logos?.[c.value] ?? D.value?.popup_logos?.en ?? ""), b)), te = M(() => {
1202
+ let S = N(() => a(Ne(D.value?.popup_logos?.[c.value] ?? D.value?.popup_logos?.en ?? ""), x)), ee = N(() => {
1203
1203
  let e = D.value?.popup_logo_show;
1204
1204
  return e == null ? !1 : typeof e == "boolean" ? e : e[c.value] ?? e.en ?? !1;
1205
1205
  });
1206
- return (e, t) => (z(), N(ne, {
1206
+ return (e, t) => (B(), P(te, {
1207
1207
  languages: n.languages,
1208
1208
  language: n.language,
1209
1209
  "language-placement": "header",
1210
1210
  "language-style": "select",
1211
1211
  "header-home": u.value.portal,
1212
- "header-title": U(i)("exhibition.identity.tagline"),
1212
+ "header-title": W(i)("exhibition.identity.tagline"),
1213
1213
  "header-title-href": "#/about",
1214
1214
  "banner-image": g.value,
1215
- "banner-caption": ee.value,
1216
- "banner-caption-label": U(i)("layout.banner.detailFrom"),
1217
- "banner-title": p.value ? U(Ze)(U(c)) : "",
1218
- "banner-subtitle": p.value ? U(nt)(U(c)) : "",
1219
- "banner-headline": p.value ? U(it)(U(c)) : "",
1215
+ "banner-caption": _.value,
1216
+ "banner-caption-label": W(i)("layout.banner.detailFrom"),
1217
+ "banner-title": p.value ? W(Ze)(W(c)) : "",
1218
+ "banner-subtitle": p.value ? W(nt)(W(c)) : "",
1219
+ "banner-headline": p.value ? W(it)(W(c)) : "",
1220
1220
  "banner-enter": p.value ? {
1221
- label: U(i)("exhibition.action.enter"),
1221
+ label: W(i)("exhibition.action.enter"),
1222
1222
  href: "#/about"
1223
1223
  } : null,
1224
- "banner-strapline": p.value ? U(i)("exhibition.identity.strapline") : "",
1224
+ "banner-strapline": p.value ? W(i)("exhibition.identity.strapline") : "",
1225
1225
  "hyperlinks-variant": "tiles",
1226
- "hyperlinks-title": U(Ze)(U(c)),
1226
+ "hyperlinks-title": W(Ze)(W(c)),
1227
1227
  "hyperlinks-title-href": "#/",
1228
- "hyperlinks-subtitle": U(nt)(U(c)),
1229
- hyperlinks: _.value,
1230
- "footer-text": `${U(i)("core.footer.copyright")} 2004–${U(m)}`,
1231
- logos: y.value,
1228
+ "hyperlinks-subtitle": W(nt)(W(c)),
1229
+ hyperlinks: v.value,
1230
+ "footer-text": `${W(i)("core.footer.copyright")} 2004–${W(m)}`,
1231
+ logos: b.value,
1232
1232
  "onUpdate:language": t[0] ||= (e) => r("update:language", e)
1233
- }, ht({
1234
- notice: W(() => [R(Zn, {
1235
- content: x.value,
1236
- enabled: te.value,
1233
+ }, mt({
1234
+ notice: G(() => [z(Zn, {
1235
+ content: S.value,
1236
+ enabled: ee.value,
1237
1237
  "raw-html": ""
1238
1238
  }, null, 8, ["content", "enabled"])]),
1239
- default: W(() => [bt(e.$slots, "default")]),
1239
+ default: G(() => [yt(e.$slots, "default")]),
1240
1240
  _: 2
1241
1241
  }, [d.value ? void 0 : {
1242
1242
  name: "brand",
1243
- fn: W(() => [t[1] ||= I("span", { class: "mwnf-dxa-logo-mark" }, "MWNF", -1)]),
1243
+ fn: G(() => [t[1] ||= L("span", { class: "mwnf-dxa-logo-mark" }, "MWNF", -1)]),
1244
1244
  key: "0"
1245
1245
  }]), 1032, [
1246
1246
  "languages",
@@ -1273,7 +1273,7 @@ function $n({ country: e, start: t, end: n, page: r }) {
1273
1273
  };
1274
1274
  }
1275
1275
  function er({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {}, noticeProjects: a = [], creditsBody: o, chrome: s = {}, homeLogos: c = [] }) {
1276
- let { manifest: l } = At(), u = Dt();
1276
+ let { manifest: l } = kt(), u = Et();
1277
1277
  return {
1278
1278
  datasetPackage: e,
1279
1279
  siteName: l.site?.names?.en ?? t,
@@ -1281,7 +1281,7 @@ function er({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
1281
1281
  languages: u,
1282
1282
  shell: Kn,
1283
1283
  navigation: {
1284
- languages: Et(u),
1284
+ languages: Tt(u),
1285
1285
  links: [
1286
1286
  {
1287
1287
  section: "about",
@@ -1310,7 +1310,7 @@ function er({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
1310
1310
  },
1311
1311
  {
1312
1312
  label: "core.nav.myCollection",
1313
- href: J.myCollection,
1313
+ href: Y.myCollection,
1314
1314
  external: !0
1315
1315
  }
1316
1316
  ],
@@ -1319,33 +1319,33 @@ function er({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
1319
1319
  to: { name: "home" }
1320
1320
  }, {
1321
1321
  label: "gallery.nav.allGalleries",
1322
- href: `${J.galleries}/list/1`,
1322
+ href: `${Y.galleries}/list/1`,
1323
1323
  external: !0
1324
1324
  }],
1325
1325
  footerLinks: [
1326
1326
  {
1327
1327
  label: "core.footer.aboutMwnf",
1328
- href: J.about,
1328
+ href: Y.about,
1329
1329
  external: !0
1330
1330
  },
1331
1331
  {
1332
1332
  label: "core.footer.contact",
1333
- href: J.contact,
1333
+ href: Y.contact,
1334
1334
  external: !0
1335
1335
  },
1336
1336
  {
1337
1337
  label: "core.footer.legalNotice",
1338
- href: J.legalNotice,
1338
+ href: Y.legalNotice,
1339
1339
  external: !0
1340
1340
  },
1341
1341
  {
1342
1342
  label: "core.footer.credits",
1343
- href: J.credits,
1343
+ href: Y.credits,
1344
1344
  external: !0
1345
1345
  },
1346
1346
  {
1347
1347
  label: "core.footer.cookies",
1348
- href: J.cookies,
1348
+ href: Y.cookies,
1349
1349
  external: !0
1350
1350
  }
1351
1351
  ],
@@ -1384,7 +1384,7 @@ function er({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
1384
1384
  },
1385
1385
  homeLogos: c,
1386
1386
  media: { legacyHost: "https://images.museumwnf.org" },
1387
- links: { ...J },
1387
+ links: { ...Y },
1388
1388
  projectColors: r,
1389
1389
  noticeProjects: a,
1390
1390
  site: { origin: n },
@@ -1396,8 +1396,8 @@ function er({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
1396
1396
  {
1397
1397
  path: "/database-item/:uid(.*)/:language",
1398
1398
  async resolve({ uid: e }) {
1399
- await q(["items"]);
1400
- let t = Se(e);
1399
+ await J(["items"]);
1400
+ let t = xe(e);
1401
1401
  return t ? {
1402
1402
  name: "item",
1403
1403
  params: { id: t.id }
@@ -1407,7 +1407,7 @@ function er({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
1407
1407
  {
1408
1408
  path: "/partner/:country/:id/:language",
1409
1409
  async resolve({ country: e, id: t }) {
1410
- await q(["partners"]);
1410
+ await J(["partners"]);
1411
1411
  let n = Ae(e, t);
1412
1412
  return n ? {
1413
1413
  name: "partner",
@@ -1418,7 +1418,7 @@ function er({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
1418
1418
  {
1419
1419
  path: "/partner-objects/:country/:id/:page",
1420
1420
  async resolve({ country: e, id: t, page: n }) {
1421
- await q(["partners"]);
1421
+ await J(["partners"]);
1422
1422
  let r = Ae(e, t);
1423
1423
  return r ? {
1424
1424
  name: "partner-objects",
@@ -1439,7 +1439,7 @@ function er({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
1439
1439
  };
1440
1440
  }
1441
1441
  function tr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {}, noticeProjects: a = [], creditsBody: o, partnerObjects: s, chrome: c = {}, sponsorLogos: l }) {
1442
- let { manifest: u } = At(), d = Dt(), f = async (e, t) => (await q([
1442
+ let { manifest: u } = kt(), d = Et(), f = async (e, t) => (await J([
1443
1443
  "exhibition",
1444
1444
  "partners",
1445
1445
  "countries"
@@ -1494,7 +1494,7 @@ function tr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
1494
1494
  },
1495
1495
  {
1496
1496
  label: "core.nav.myCollection",
1497
- href: J.myCollection,
1497
+ href: Y.myCollection,
1498
1498
  external: !0
1499
1499
  }
1500
1500
  ],
@@ -1503,33 +1503,33 @@ function tr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
1503
1503
  to: { name: "home" }
1504
1504
  }, {
1505
1505
  label: "core.footer.aboutMwnf",
1506
- href: J.about,
1506
+ href: Y.about,
1507
1507
  external: !0
1508
1508
  }],
1509
1509
  footerLinks: [
1510
1510
  {
1511
1511
  label: "core.footer.aboutMwnf",
1512
- href: J.about,
1512
+ href: Y.about,
1513
1513
  external: !0
1514
1514
  },
1515
1515
  {
1516
1516
  label: "core.footer.contact",
1517
- href: J.contact,
1517
+ href: Y.contact,
1518
1518
  external: !0
1519
1519
  },
1520
1520
  {
1521
1521
  label: "core.footer.legalNotice",
1522
- href: J.legalNotice,
1522
+ href: Y.legalNotice,
1523
1523
  external: !0
1524
1524
  },
1525
1525
  {
1526
1526
  label: "core.footer.credits",
1527
- href: J.credits,
1527
+ href: Y.credits,
1528
1528
  external: !0
1529
1529
  },
1530
1530
  {
1531
1531
  label: "core.footer.cookies",
1532
- href: J.cookies,
1532
+ href: Y.cookies,
1533
1533
  external: !0
1534
1534
  }
1535
1535
  ],
@@ -1581,7 +1581,7 @@ function tr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
1581
1581
  }
1582
1582
  },
1583
1583
  media: { legacyHost: "https://images.museumwnf.org" },
1584
- links: { ...J },
1584
+ links: { ...Y },
1585
1585
  projectColors: r,
1586
1586
  noticeProjects: a,
1587
1587
  site: { origin: n },
@@ -1594,7 +1594,7 @@ function tr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
1594
1594
  {
1595
1595
  path: "/database-item/:uid(.*)/:language",
1596
1596
  async resolve({ uid: e }) {
1597
- await q(["items"]);
1597
+ await J(["items"]);
1598
1598
  let t = Gn(qe.value, e);
1599
1599
  return t ? {
1600
1600
  name: "item",
@@ -1705,7 +1705,7 @@ var nr = {
1705
1705
  let n = e.lastIndexOf(" ", t);
1706
1706
  return `${e.slice(0, n > 0 ? n : t)}...`;
1707
1707
  }
1708
- let i = M(() => t.partners.length ? t.partners.map((e) => ({
1708
+ let i = N(() => t.partners.length ? t.partners.map((e) => ({
1709
1709
  id: e.id,
1710
1710
  name: e.plainName,
1711
1711
  logo: e.pictures?.[0]?.url ?? e.logos?.[0]?.url ?? null,
@@ -1714,7 +1714,7 @@ var nr = {
1714
1714
  description: r(n(e.description), t.descriptionLength),
1715
1715
  route: e.route,
1716
1716
  objectsRoute: e.objectsRoute ?? null
1717
- })) : t.records), a = B(0), o = null;
1717
+ })) : t.records), a = V(0), o = null;
1718
1718
  function s(e) {
1719
1719
  a.value = e, c();
1720
1720
  }
@@ -1723,43 +1723,43 @@ var nr = {
1723
1723
  a.value = (a.value + 1) % i.value.length;
1724
1724
  }, mr));
1725
1725
  }
1726
- return yt(c), vt(() => o && clearInterval(o)), (t, n) => i.value.length ? (z(), F("section", nr, [
1727
- I("h2", rr, H(t.$t(e.headingEntry)), 1),
1728
- I("div", ir, [(z(!0), F(j, null, V(i.value, (n, r) => G((z(), F("div", {
1726
+ return vt(c), _t(() => o && clearInterval(o)), (t, n) => i.value.length ? (B(), I("section", nr, [
1727
+ L("h2", rr, U(t.$t(e.headingEntry)), 1),
1728
+ L("div", ir, [(B(!0), I(M, null, H(i.value, (n, r) => K((B(), I("div", {
1729
1729
  key: n.id,
1730
1730
  class: "mwnf-featured-partners__card"
1731
- }, [n.logo ? (z(), F("span", ar, [I("img", {
1731
+ }, [n.logo ? (B(), I("span", ar, [L("img", {
1732
1732
  src: n.logo,
1733
1733
  alt: n.name,
1734
1734
  class: "mwnf-featured-partners__logo"
1735
- }, null, 8, or)])) : P("", !0), I("span", sr, [
1736
- I("span", cr, H(n.name), 1),
1737
- I("span", lr, [n.city ? (z(), F("span", ur, H(n.city) + ", ", 1)) : P("", !0), L(H(n.country), 1)]),
1738
- I("span", dr, H(n.description), 1),
1739
- n.route ? (z(), N(u, {
1735
+ }, null, 8, or)])) : F("", !0), L("span", sr, [
1736
+ L("span", cr, U(n.name), 1),
1737
+ L("span", lr, [n.city ? (B(), I("span", ur, U(n.city) + ", ", 1)) : F("", !0), R(U(n.country), 1)]),
1738
+ L("span", dr, U(n.description), 1),
1739
+ n.route ? (B(), P(u, {
1740
1740
  key: 0,
1741
1741
  to: n.route,
1742
1742
  class: "mwnf-featured-partners__more"
1743
1743
  }, {
1744
- default: W(() => [L(H(t.$t(e.readMoreEntry)) + " >>", 1)]),
1744
+ default: G(() => [R(U(t.$t(e.readMoreEntry)) + " >>", 1)]),
1745
1745
  _: 1
1746
- }, 8, ["to"])) : P("", !0),
1747
- n.objectsRoute ? (z(), N(u, {
1746
+ }, 8, ["to"])) : F("", !0),
1747
+ n.objectsRoute ? (B(), P(u, {
1748
1748
  key: 1,
1749
1749
  to: n.objectsRoute,
1750
1750
  class: "mwnf-featured-partners__more"
1751
1751
  }, {
1752
- default: W(() => [L(H(t.$t(e.viewObjectsEntry)) + " >>", 1)]),
1752
+ default: G(() => [R(U(t.$t(e.viewObjectsEntry)) + " >>", 1)]),
1753
1753
  _: 1
1754
- }, 8, ["to"])) : P("", !0)
1755
- ])])), [[Ct, r === a.value]])), 128))]),
1756
- i.value.length > 1 ? (z(), F("div", fr, [(z(!0), F(j, null, V(i.value, (e, n) => (z(), F("button", {
1754
+ }, 8, ["to"])) : F("", !0)
1755
+ ])])), [[St, r === a.value]])), 128))]),
1756
+ i.value.length > 1 ? (B(), I("div", fr, [(B(!0), I(M, null, H(i.value, (e, n) => (B(), I("button", {
1757
1757
  key: e.id,
1758
- class: gt(["mwnf-featured-partners__bullet", { "mwnf-featured-partners__bullet--active": n === a.value }]),
1758
+ class: ht(["mwnf-featured-partners__bullet", { "mwnf-featured-partners__bullet--active": n === a.value }]),
1759
1759
  "aria-label": `${t.$t("core.action.show")} ${e.name}`,
1760
1760
  onClick: (e) => s(n)
1761
- }, null, 10, pr))), 128))])) : P("", !0)
1762
- ])) : P("", !0);
1761
+ }, null, 10, pr))), 128))])) : F("", !0)
1762
+ ])) : F("", !0);
1763
1763
  }
1764
1764
  }, gr = { class: "mwnf-sibling-galleries" }, _r = {
1765
1765
  key: 0,
@@ -1808,36 +1808,36 @@ var nr = {
1808
1808
  }
1809
1809
  },
1810
1810
  setup(e) {
1811
- return (t, n) => (z(), F("section", gr, [e.galleries.length ? (z(), F("div", _r, [I("div", vr, [I("p", yr, H(t.$t(e.galleriesHeadingEntry)), 1), e.seeMoreGalleriesHref ? (z(), F("a", {
1811
+ return (t, n) => (B(), I("section", gr, [e.galleries.length ? (B(), I("div", _r, [L("div", vr, [L("p", yr, U(t.$t(e.galleriesHeadingEntry)), 1), e.seeMoreGalleriesHref ? (B(), I("a", {
1812
1812
  key: 0,
1813
1813
  href: e.seeMoreGalleriesHref,
1814
1814
  target: "_blank",
1815
1815
  rel: "noopener",
1816
1816
  class: "mwnf-sibling-galleries__see-more"
1817
- }, H(t.$t(e.seeMoreGalleriesEntry)) + " » ", 9, br)) : P("", !0)]), I("div", xr, [(z(!0), F(j, null, V(e.galleries, (e) => (z(), N(u, {
1817
+ }, U(t.$t(e.seeMoreGalleriesEntry)) + " » ", 9, br)) : F("", !0)]), L("div", xr, [(B(!0), I(M, null, H(e.galleries, (e) => (B(), P(u, {
1818
1818
  key: e.id,
1819
1819
  to: e.route,
1820
- class: gt(["mwnf-sibling-galleries__gallery", { "mwnf-sibling-galleries__gallery--no-link": !e.route }])
1820
+ class: ht(["mwnf-sibling-galleries__gallery", { "mwnf-sibling-galleries__gallery--no-link": !e.route }])
1821
1821
  }, {
1822
- default: W(() => [e.image ? (z(), F("span", Sr, [I("img", {
1822
+ default: G(() => [e.image ? (B(), I("span", Sr, [L("img", {
1823
1823
  src: e.image,
1824
1824
  alt: e.name
1825
- }, null, 8, Cr)])) : (z(), F("span", wr)), I("p", Tr, H(e.name), 1)]),
1825
+ }, null, 8, Cr)])) : (B(), I("span", wr)), L("p", Tr, U(e.name), 1)]),
1826
1826
  _: 2
1827
- }, 1032, ["to", "class"]))), 128))])])) : P("", !0), e.museums.length ? (z(), F("div", Er, [I("div", Dr, H(t.$t(e.museumsHeadingEntry)), 1), I("div", Or, [(z(!0), F(j, null, V(e.museums, (e) => (z(), F("a", {
1827
+ }, 1032, ["to", "class"]))), 128))])])) : F("", !0), e.museums.length ? (B(), I("div", Er, [L("div", Dr, U(t.$t(e.museumsHeadingEntry)), 1), L("div", Or, [(B(!0), I(M, null, H(e.museums, (e) => (B(), I("a", {
1828
1828
  key: e.name,
1829
1829
  href: e.href || e.to,
1830
1830
  target: "_blank",
1831
1831
  rel: "noopener",
1832
1832
  class: "mwnf-sibling-galleries__museum",
1833
- style: _t({
1833
+ style: gt({
1834
1834
  "--mwnf-museum-bg": e.accent || "var(--mwnf-color-border)",
1835
1835
  "--mwnf-museum-text": e.textColor || "inherit"
1836
1836
  })
1837
- }, [e.image ? (z(), F("div", Ar, [I("img", {
1837
+ }, [e.image ? (B(), I("div", Ar, [L("img", {
1838
1838
  src: e.image,
1839
1839
  alt: ""
1840
- }, null, 8, jr)])) : (z(), F("div", Mr, H(e.name.split(" ").map((e) => e[0]).join("")), 1)), I("p", Nr, H(e.name), 1)], 12, kr))), 128))])])) : P("", !0)]));
1840
+ }, null, 8, jr)])) : (B(), I("div", Mr, U(e.name.split(" ").map((e) => e[0]).join("")), 1)), L("p", Nr, U(e.name), 1)], 12, kr))), 128))])])) : F("", !0)]));
1841
1841
  }
1842
1842
  }, Fr = /* @__PURE__ */ e({ default: () => Ur }), Ir = { class: "mwnf-dxa-home" }, Lr = {
1843
1843
  key: 0,
@@ -1845,16 +1845,16 @@ var nr = {
1845
1845
  }, Rr = { class: "mwnf-dxa-home-logos__label" }, zr = { class: "mwnf-dxa-home-logos__list" }, Br = ["src", "alt"], Vr = 3, Hr = 4, Ur = {
1846
1846
  __name: "Home",
1847
1847
  setup(e) {
1848
- let { t, locale: n } = Y(), r = X(), i = M(() => r.links ?? {}), a = M(() => xe(Vr)), s = B([]);
1849
- yt(() => {
1850
- s.value = oe(Hr);
1848
+ let { t, locale: n } = X(), r = Nt(), i = N(() => r.links ?? {}), a = N(() => be(Vr)), s = V([]);
1849
+ vt(() => {
1850
+ s.value = ae(Hr);
1851
1851
  });
1852
- let l = M(() => s.value.map((e) => ({
1852
+ let l = N(() => s.value.map((e) => ({
1853
1853
  id: e.id,
1854
1854
  name: e.names?.[n.value] ?? e.names?.en ?? e.slug,
1855
- image: e.image_path ? pe(e.image_path, "zoom") : null,
1856
- route: ae(e)
1857
- }))), u = M(() => [
1855
+ image: e.image_path ? fe(e.image_path, "zoom") : null,
1856
+ route: ie(e)
1857
+ }))), u = N(() => [
1858
1858
  {
1859
1859
  name: t("core.project.islamicArt"),
1860
1860
  href: `${i.value.islamicArt}/`,
@@ -1876,21 +1876,21 @@ var nr = {
1876
1876
  accent: "var(--mwnf-project-AWE, #900000)",
1877
1877
  textColor: "var(--mwnf-project-AWE-text, #ffffff)"
1878
1878
  }
1879
- ]), d = M(() => (r.homeLogos ?? []).map((e) => ({
1880
- image: o(r.chrome, e.image) ?? pe(e.image, "gallery_logo"),
1879
+ ]), d = N(() => (r.homeLogos ?? []).map((e) => ({
1880
+ image: o(r.chrome, e.image) ?? fe(e.image, "gallery_logo"),
1881
1881
  href: e.href ?? "",
1882
1882
  alt: e.alt ? t(e.alt) : ""
1883
- })).filter((e) => e.image)), f = M(() => `${i.value.galleries}/list`);
1884
- return (e, n) => (z(), F("div", Ir, [
1885
- R(hr, { partners: a.value }, null, 8, ["partners"]),
1886
- d.value.length ? (z(), F("section", Lr, [I("p", Rr, H(U(t)("gallery.home.logosLabel")), 1), I("ul", zr, [(z(!0), F(j, null, V(d.value, (e) => (z(), F("li", { key: e.image }, [(z(), N(xt(e.href ? "a" : "span"), {
1883
+ })).filter((e) => e.image)), f = N(() => `${i.value.galleries}/list`);
1884
+ return (e, n) => (B(), I("div", Ir, [
1885
+ z(hr, { partners: a.value }, null, 8, ["partners"]),
1886
+ d.value.length ? (B(), I("section", Lr, [L("p", Rr, U(W(t)("gallery.home.logosLabel")), 1), L("ul", zr, [(B(!0), I(M, null, H(d.value, (e) => (B(), I("li", { key: e.image }, [(B(), P(bt(e.href ? "a" : "span"), {
1887
1887
  class: "mwnf-dxa-home-logos__logo",
1888
1888
  href: e.href || void 0,
1889
1889
  title: e.alt || void 0,
1890
1890
  target: e.href ? "_blank" : void 0,
1891
1891
  rel: e.href ? "noopener" : void 0
1892
1892
  }, {
1893
- default: W(() => [I("img", {
1893
+ default: G(() => [L("img", {
1894
1894
  src: e.image,
1895
1895
  alt: e.alt
1896
1896
  }, null, 8, Br)]),
@@ -1900,8 +1900,8 @@ var nr = {
1900
1900
  "title",
1901
1901
  "target",
1902
1902
  "rel"
1903
- ]))]))), 128))])])) : P("", !0),
1904
- R(Pr, {
1903
+ ]))]))), 128))])])) : F("", !0),
1904
+ z(Pr, {
1905
1905
  galleries: l.value,
1906
1906
  museums: u.value,
1907
1907
  "galleries-heading-entry": "gallery.action.visitGalleries",
@@ -1922,12 +1922,12 @@ var nr = {
1922
1922
  required: !0
1923
1923
  } },
1924
1924
  setup(e) {
1925
- return (t, n) => (z(), N(dt, {
1926
- spec: U(Te),
1925
+ return (t, n) => (B(), P(dt, {
1926
+ spec: W(we),
1927
1927
  id: e.id,
1928
1928
  class: "mwnf-dxa-item"
1929
1929
  }, {
1930
- header: W(({ languages: e, language: t, select: n }) => [I("div", Gr, [R(l, {
1930
+ header: G(({ languages: e, language: t, select: n }) => [L("div", Gr, [z(l, {
1931
1931
  languages: e,
1932
1932
  language: t,
1933
1933
  onSelect: n
@@ -1935,7 +1935,7 @@ var nr = {
1935
1935
  "languages",
1936
1936
  "language",
1937
1937
  "onSelect"
1938
- ])]), R(g)]),
1938
+ ])]), z(g)]),
1939
1939
  _: 1
1940
1940
  }, 8, ["spec", "id"]));
1941
1941
  }
@@ -1943,13 +1943,13 @@ var nr = {
1943
1943
  __name: "Timeline",
1944
1944
  setup(e) {
1945
1945
  let t = {
1946
- ...re,
1946
+ ...ne,
1947
1947
  entrance: !0
1948
1948
  };
1949
- return (e, n) => (z(), F("div", Jr, [R(x, {
1949
+ return (e, n) => (B(), I("div", Jr, [z(S, {
1950
1950
  spec: t,
1951
1951
  class: "mwnf-dxa-timeline__form"
1952
- }), R(U(K), {
1952
+ }), z(W(q), {
1953
1953
  class: "mwnf-prose mwnf-dxa-timeline__intro",
1954
1954
  dir: "auto",
1955
1955
  keypath: "gallery.timeline.intro"
@@ -1958,28 +1958,28 @@ var nr = {
1958
1958
  }, Xr = /* @__PURE__ */ e({ default: () => Qr }), Zr = { class: "mwnf-dxa-home" }, Qr = {
1959
1959
  __name: "Home",
1960
1960
  setup(e) {
1961
- return (e, t) => (z(), F("div", Zr));
1961
+ return (e, t) => (B(), I("div", Zr));
1962
1962
  }
1963
1963
  }, $r = /* @__PURE__ */ e({ default: () => ti }), ei = { class: "mwnf-dxa-about" }, ti = {
1964
1964
  __name: "About",
1965
1965
  setup(e) {
1966
- return (e, t) => (z(), F("div", ei, [R(n, { "about-mode": "" })]));
1966
+ return (e, t) => (B(), I("div", ei, [z(n, { "about-mode": "" })]));
1967
1967
  }
1968
1968
  }, ni = /* @__PURE__ */ e({ default: () => ai }), ri = { class: "mwnf-dxa-themes" }, ii = { class: "mwnf-dxa-themes__container" }, ai = {
1969
1969
  __name: "Themes",
1970
1970
  setup(e) {
1971
- let { listedThemes: t, romanFor: n, themeText: r } = Me, { t: i, locale: a } = Y(), o = M(() => t.value.map((e) => ({
1971
+ let { listedThemes: t, romanFor: n, themeText: r } = Me, { t: i, locale: a } = X(), o = N(() => t.value.map((e) => ({
1972
1972
  title: r(e, a.value).title ?? e.internal_name ?? "",
1973
1973
  number: n(e.display_order),
1974
1974
  children: [{
1975
1975
  title: i("exhibition.theme.overview"),
1976
- to: ft(e)
1976
+ to: j(e)
1977
1977
  }, ...(e.sub_themes ?? []).map((e) => ({
1978
1978
  title: r(e, a.value).title ?? e.internal_name ?? "",
1979
- to: ft(e)
1979
+ to: j(e)
1980
1980
  }))]
1981
1981
  })));
1982
- return (e, t) => (z(), F("div", ri, [I("div", ii, [R(f, {
1982
+ return (e, t) => (B(), I("div", ri, [L("div", ii, [z(h, {
1983
1983
  cards: o.value,
1984
1984
  variant: "accordion"
1985
1985
  }, null, 8, ["cards"])])]));
@@ -1990,7 +1990,7 @@ var nr = {
1990
1990
  }, li = {
1991
1991
  __name: "ThemeGallery",
1992
1992
  setup(e) {
1993
- let { pictureById: t, pictureParent: n, romanFor: r, themeByRouteId: i, themeText: a, themeTree: o } = Me, s = Pt(), { t: c, locale: l } = Y(), u = M(() => i(s.params.id)), d = M(() => {
1993
+ let { pictureById: t, pictureParent: n, romanFor: r, themeByRouteId: i, themeText: a, themeTree: o } = Me, s = Pt(), { t: c, locale: l } = X(), u = N(() => i(s.params.id)), d = N(() => {
1994
1994
  let e = /* @__PURE__ */ new Set();
1995
1995
  if (!u.value) return e;
1996
1996
  for (let r of o.itemsUnder(u.value.id)) {
@@ -1998,7 +1998,7 @@ var nr = {
1998
1998
  i && e.add(i.id);
1999
1999
  }
2000
2000
  return e;
2001
- }), f = M(() => a(u.value, l.value).title ?? u.value?.internal_name ?? ""), p = M(() => ({
2001
+ }), f = N(() => a(u.value, l.value).title ?? u.value?.internal_name ?? ""), p = N(() => ({
2002
2002
  entity: "items",
2003
2003
  scope: (e) => d.value.has(e.id),
2004
2004
  sort: { undated: "first" },
@@ -2012,15 +2012,15 @@ var nr = {
2012
2012
  value: `${c("exhibition.theme.romanLabel")} ${r(u.value?.display_order ?? 1)} | ${f.value}`
2013
2013
  }]
2014
2014
  }));
2015
- return (e, t) => u.value ? (z(), N(b, {
2015
+ return (e, t) => u.value ? (B(), P(x, {
2016
2016
  key: 0,
2017
2017
  spec: p.value,
2018
2018
  class: "mwnf-dxa-theme-gallery"
2019
2019
  }, {
2020
- before: W(() => [R(g)]),
2021
- empty: W(() => [I("p", si, H(U(c)("exhibition.theme.noRecords")), 1)]),
2020
+ before: G(() => [z(g)]),
2021
+ empty: G(() => [L("p", si, U(W(c)("exhibition.theme.noRecords")), 1)]),
2022
2022
  _: 1
2023
- }, 8, ["spec"])) : (z(), F("div", ci, H(U(c)("exhibition.theme.notInExhibition")), 1));
2023
+ }, 8, ["spec"])) : (B(), I("div", ci, U(W(c)("exhibition.theme.notInExhibition")), 1));
2024
2024
  }
2025
2025
  }, ui = /* @__PURE__ */ e({ default: () => fi }), di = { class: "mwnf-dxa-item__languages" }, fi = {
2026
2026
  __name: "ItemDetail",
@@ -2029,13 +2029,13 @@ var nr = {
2029
2029
  required: !0
2030
2030
  } },
2031
2031
  setup(e) {
2032
- return (t, n) => (z(), N(dt, {
2033
- spec: U(ut),
2032
+ return (t, n) => (B(), P(dt, {
2033
+ spec: W(ut),
2034
2034
  id: e.id,
2035
- "data-getter": (e) => U(k).get(e),
2035
+ "data-getter": (e) => W(k).get(e),
2036
2036
  class: "mwnf-dxa-item"
2037
2037
  }, {
2038
- header: W(({ languages: e, language: t, select: n }) => [I("div", di, [R(l, {
2038
+ header: G(({ languages: e, language: t, select: n }) => [L("div", di, [z(l, {
2039
2039
  languages: e,
2040
2040
  language: t,
2041
2041
  onSelect: n
@@ -2043,7 +2043,7 @@ var nr = {
2043
2043
  "languages",
2044
2044
  "language",
2045
2045
  "onSelect"
2046
- ])]), R(g)]),
2046
+ ])]), z(g)]),
2047
2047
  _: 1
2048
2048
  }, 8, [
2049
2049
  "spec",
@@ -2064,7 +2064,7 @@ var nr = {
2064
2064
  2,
2065
2065
  3,
2066
2066
  4
2067
- ], { t: r, locale: i } = Y();
2067
+ ], { t: r, locale: i } = X();
2068
2068
  function a(e) {
2069
2069
  return e?.[i.value] ?? e?.en ?? "";
2070
2070
  }
@@ -2102,7 +2102,7 @@ var nr = {
2102
2102
  to: { name: "home" }
2103
2103
  }
2104
2104
  };
2105
- return (e, t) => (z(), N(ee, {
2105
+ return (e, t) => (B(), P(_, {
2106
2106
  spec: u,
2107
2107
  class: "mwnf-dxa-related"
2108
2108
  }));
@@ -2110,12 +2110,12 @@ var nr = {
2110
2110
  }, hi = /* @__PURE__ */ e({ default: () => gi }), gi = {
2111
2111
  __name: "Timeline",
2112
2112
  setup(e) {
2113
- let t = M(() => ({
2113
+ let t = N(() => ({
2114
2114
  ...Be.value,
2115
2115
  entrance: !0
2116
2116
  }));
2117
- return (e, n) => (z(), N(x, { spec: t.value }, {
2118
- after: W(() => [R(U(K), {
2117
+ return (e, n) => (B(), P(S, { spec: t.value }, {
2118
+ after: G(() => [z(W(q), {
2119
2119
  class: "mwnf-prose mwnf-dxa-timeline__intro",
2120
2120
  dir: "auto",
2121
2121
  keypath: "exhibition.timeline.intro"
@@ -2125,4 +2125,4 @@ var nr = {
2125
2125
  }
2126
2126
  };
2127
2127
  //#endregion
2128
- export { ti as ExhibitionAbout, Cn as ExhibitionCollectionResults, Tn as ExhibitionCollectionSearch, Qr as ExhibitionHome, fi as ExhibitionItemDetail, Dn as ExhibitionPartnerObjects, dn as ExhibitionPartners, mi as ExhibitionRelatedContent, cn as ExhibitionSearchHowTo, _n as ExhibitionSearchResults, Qn as ExhibitionShell, n as ExhibitionTheme, li as ExhibitionThemeGallery, ai as ExhibitionThemes, gi as ExhibitionTimeline, yn as ExhibitionTimelineGallery, vn as ExhibitionTimelineResults, hr as FeaturedPartners, Lt as GalleryAbout, en as GalleryCollectionResults, rn as GalleryCollectionSearch, Rt as GalleryCredits, Ur as GalleryHome, Kr as GalleryItemDetail, sn as GalleryPartnerObjects, Vt as GalleryPartners, zt as GallerySearchHowTo, qt as GallerySearchResults, Kn as GalleryShell, Yr as GalleryTimeline, Xt as GalleryTimelineGallery, Jt as GalleryTimelineResults, dt as ItemDetailView, $ as PartnerDetail, t as PictureGallery, r as PictureNarrative, Zn as PopupLogo, Pr as SiblingGalleries, mt as exhibitionAboutSpec, tr as exhibitionConfig, E as exhibitionPartnerDetail, pt as exhibitionThemeSpec, er as galleryConfig, S as galleryPartnerDetail, Hn as standardRoutes, ft as themeNodeRoute };
2128
+ export { ti as ExhibitionAbout, Cn as ExhibitionCollectionResults, Tn as ExhibitionCollectionSearch, Qr as ExhibitionHome, fi as ExhibitionItemDetail, Dn as ExhibitionPartnerObjects, dn as ExhibitionPartners, mi as ExhibitionRelatedContent, cn as ExhibitionSearchHowTo, _n as ExhibitionSearchResults, Qn as ExhibitionShell, n as ExhibitionTheme, li as ExhibitionThemeGallery, ai as ExhibitionThemes, gi as ExhibitionTimeline, yn as ExhibitionTimelineGallery, vn as ExhibitionTimelineResults, hr as FeaturedPartners, Lt as GalleryAbout, en as GalleryCollectionResults, rn as GalleryCollectionSearch, Rt as GalleryCredits, Ur as GalleryHome, Kr as GalleryItemDetail, sn as GalleryPartnerObjects, Vt as GalleryPartners, zt as GallerySearchHowTo, qt as GallerySearchResults, Kn as GalleryShell, Yr as GalleryTimeline, Xt as GalleryTimelineGallery, Jt as GalleryTimelineResults, dt as ItemDetailView, $ as PartnerDetail, t as PictureGallery, r as PictureNarrative, Zn as PopupLogo, Pr as SiblingGalleries, pt as exhibitionAboutSpec, tr as exhibitionConfig, E as exhibitionPartnerDetail, ft as exhibitionThemeSpec, er as galleryConfig, C as galleryPartnerDetail, Hn as standardRoutes, j as themeNodeRoute };