@museumwnf/viewer-layout 3.67.0 → 3.67.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dxa.js +435 -434
- package/package.json +1 -1
package/dist/dxa.js
CHANGED
|
@@ -196,11 +196,22 @@ function Z(e, t = Yt) {
|
|
|
196
196
|
tone: i
|
|
197
197
|
};
|
|
198
198
|
}
|
|
199
|
+
var Xt = {
|
|
200
|
+
partner: "exhibition.partners.statusPartner",
|
|
201
|
+
affiliate: "exhibition.partners.statusAffiliate"
|
|
202
|
+
}, Zt = "mwnf3:institutions:";
|
|
203
|
+
function Qt(e) {
|
|
204
|
+
return e?.type === "institution" && String(e.backward_compatibility ?? "").startsWith(Zt) ? {
|
|
205
|
+
name: "",
|
|
206
|
+
status: e.level === "partner" ? "exhibition.partners.institutionPartner" : "exhibition.partners.institutionAffiliate",
|
|
207
|
+
tone: "institution"
|
|
208
|
+
} : Z(e, Xt);
|
|
209
|
+
}
|
|
199
210
|
// src/dxa/gallery/Partners.vue
|
|
200
|
-
var
|
|
211
|
+
var $t = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, en = { class: "mwnf-dxa-gallery-partners__options" }, tn = { class: "mwnf-dxa-gallery-partners__order" }, nn = ["onClick"], rn = { class: "mwnf-dxa-gallery-partners__country" }, an = { class: "mwnf-dxa-gallery-partners__partner" }, on = { class: "mwnf-dxa-gallery-partners__text" }, sn = ["innerHTML"], cn = {
|
|
201
212
|
key: 0,
|
|
202
213
|
class: "mwnf-dxa-gallery-partners__city"
|
|
203
|
-
},
|
|
214
|
+
}, ln = { class: "mwnf-dxa-partner-badge__status" }, un = { class: "mwnf-dxa-gallery-partners__links" }, dn = { class: "mwnf-dxa-gallery-partners__logo" }, fn = ["src", "alt"], pn = {
|
|
204
215
|
__name: "Partners",
|
|
205
216
|
setup(t) {
|
|
206
217
|
let r = {
|
|
@@ -209,30 +220,30 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
209
220
|
orderToggle: !1,
|
|
210
221
|
tiebreak: (e) => e.own_project?.name ?? ""
|
|
211
222
|
};
|
|
212
|
-
return (t, i) => (L(), M("div",
|
|
213
|
-
before: H(({ t, orderDir: n, toggleOrder: r }) => [N("div",
|
|
223
|
+
return (t, i) => (L(), M("div", $t, [F(Je, { spec: r }, {
|
|
224
|
+
before: H(({ t, orderDir: n, toggleOrder: r }) => [N("div", en, [F(e), N("div", tn, [N("button", {
|
|
214
225
|
type: "button",
|
|
215
226
|
onClick: r
|
|
216
|
-
}, B(t(n === "asc" ? "partner.list.sortDescending" : "partner.list.sortAscending")), 9,
|
|
227
|
+
}, B(t(n === "asc" ? "partner.list.sortDescending" : "partner.list.sortAscending")), 9, nn)])]), F(V(W), {
|
|
217
228
|
id: "mwnf-dxa-partners-intro",
|
|
218
229
|
class: "mwnf-dxa-gallery-partners__intro",
|
|
219
230
|
dir: "auto",
|
|
220
231
|
keypath: "gallery.partners.intro"
|
|
221
232
|
})]),
|
|
222
|
-
"group-heading": H(({ group: e }) => [N("div",
|
|
223
|
-
row: H(({ partner: e, view: t, t: r }) => [N("div",
|
|
233
|
+
"group-heading": H(({ group: e }) => [N("div", rn, B(e.label), 1)]),
|
|
234
|
+
row: H(({ partner: e, view: t, t: r }) => [N("div", an, [N("div", on, [
|
|
224
235
|
F(n, {
|
|
225
236
|
class: "mwnf-dxa-gallery-partners__name",
|
|
226
237
|
to: t.route
|
|
227
238
|
}, {
|
|
228
|
-
default: H(() => [N("span", { innerHTML: t.name }, null, 8,
|
|
239
|
+
default: H(() => [N("span", { innerHTML: t.name }, null, 8, sn), t.city ? (L(), M("span", cn, ", " + B(t.city), 1)) : j("", !0)]),
|
|
229
240
|
_: 2
|
|
230
241
|
}, 1032, ["to"]),
|
|
231
242
|
V(Z)(e) ? (L(), M("div", {
|
|
232
243
|
key: 0,
|
|
233
244
|
class: I(["mwnf-dxa-partner-badge", V(Z)(e).tone && `mwnf-dxa-partner-badge--${V(Z)(e).tone}`])
|
|
234
|
-
}, [P(B(V(Z)(e).name) + " ", 1), N("span",
|
|
235
|
-
N("div",
|
|
245
|
+
}, [P(B(V(Z)(e).name) + " ", 1), N("span", ln, B(r(V(Z)(e).status)), 1)], 2)) : j("", !0),
|
|
246
|
+
N("div", un, [F(n, { to: t.route }, {
|
|
236
247
|
default: H(() => [P(B(r("partner.action.readMore")), 1)]),
|
|
237
248
|
_: 2
|
|
238
249
|
}, 1032, ["to"]), e.item_count > 0 && t.objectsRoute ? (L(), M(O, { key: 0 }, [i[0] ||= N("span", {
|
|
@@ -242,20 +253,20 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
242
253
|
default: H(() => [P(B(r("partner.action.viewObjects")), 1)]),
|
|
243
254
|
_: 2
|
|
244
255
|
}, 1032, ["to"])], 64)) : j("", !0)])
|
|
245
|
-
]), N("div",
|
|
256
|
+
]), N("div", dn, [t.logos?.[0] ? (L(), M("img", {
|
|
246
257
|
key: 0,
|
|
247
258
|
src: t.logos[0].url,
|
|
248
259
|
alt: t.plainName,
|
|
249
260
|
loading: "lazy"
|
|
250
|
-
}, null, 8,
|
|
261
|
+
}, null, 8, fn)) : j("", !0)])])]),
|
|
251
262
|
_: 1
|
|
252
263
|
})]));
|
|
253
264
|
}
|
|
254
|
-
},
|
|
265
|
+
}, mn = ["disabled"], hn = { key: 0 }, gn = ["disabled"], _n = { key: 0 }, vn = [
|
|
255
266
|
"disabled",
|
|
256
267
|
"aria-current",
|
|
257
268
|
"onClick"
|
|
258
|
-
],
|
|
269
|
+
], yn = ["disabled"], bn = { key: 0 }, xn = ["disabled"], Sn = { key: 0 }, Q = {
|
|
259
270
|
__name: "LegacyPages",
|
|
260
271
|
props: {
|
|
261
272
|
pageInfo: {
|
|
@@ -307,13 +318,13 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
307
318
|
class: I([`${a.value}__button`, { "is-disabled": h(1) }]),
|
|
308
319
|
disabled: h(1),
|
|
309
320
|
onClick: t[0] ||= (e) => g(1)
|
|
310
|
-
}, [t[4] ||= P(" <<", -1), V(c) ? j("", !0) : (L(), M("span",
|
|
321
|
+
}, [t[4] ||= P(" <<", -1), V(c) ? j("", !0) : (L(), M("span", hn, B(" " + o("first")), 1))], 10, mn),
|
|
311
322
|
N("button", {
|
|
312
323
|
type: "button",
|
|
313
324
|
class: I([`${a.value}__button`, { "is-disabled": h(f.value - 1) }]),
|
|
314
325
|
disabled: h(f.value - 1),
|
|
315
326
|
onClick: t[1] ||= (e) => g(f.value - 1)
|
|
316
|
-
}, [t[5] ||= P(" <", -1), V(c) ? j("", !0) : (L(), M("span",
|
|
327
|
+
}, [t[5] ||= P(" <", -1), V(c) ? j("", !0) : (L(), M("span", _n, B(" " + o("previous")), 1))], 10, gn),
|
|
317
328
|
N("div", { class: I(`${a.value}__numbers`) }, [(L(!0), M(O, null, z(m.value, (e) => (L(), M("button", {
|
|
318
329
|
key: e,
|
|
319
330
|
type: "button",
|
|
@@ -321,22 +332,22 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
321
332
|
disabled: h(e),
|
|
322
333
|
"aria-current": e === f.value ? "page" : void 0,
|
|
323
334
|
onClick: (t) => g(e)
|
|
324
|
-
}, B(e), 11,
|
|
335
|
+
}, B(e), 11, vn))), 128))], 2),
|
|
325
336
|
N("button", {
|
|
326
337
|
type: "button",
|
|
327
338
|
class: I([`${a.value}__button`, { "is-disabled": h(f.value + 1) }]),
|
|
328
339
|
disabled: h(f.value + 1),
|
|
329
340
|
onClick: t[2] ||= (e) => g(f.value + 1)
|
|
330
|
-
}, [V(c) ? j("", !0) : (L(), M("span",
|
|
341
|
+
}, [V(c) ? j("", !0) : (L(), M("span", bn, B(o("next") + " "), 1)), t[6] ||= P("> ", -1)], 10, yn),
|
|
331
342
|
N("button", {
|
|
332
343
|
type: "button",
|
|
333
344
|
class: I([`${a.value}__button`, { "is-disabled": h(p.value) }]),
|
|
334
345
|
disabled: h(p.value),
|
|
335
346
|
onClick: t[3] ||= (e) => g(p.value)
|
|
336
|
-
}, [V(c) ? j("", !0) : (L(), M("span",
|
|
347
|
+
}, [V(c) ? j("", !0) : (L(), M("span", Sn, B(o("last") + " "), 1)), t[7] ||= P(">> ", -1)], 10, xn)
|
|
337
348
|
], 2)) : j("", !0);
|
|
338
349
|
}
|
|
339
|
-
},
|
|
350
|
+
}, Cn = ["onMouseenter"], wn = { class: "mwnf-dxa-grid__frame" }, Tn = ["src", "alt"], En = ["src", "alt"], Dn = { class: "mwnf-dxa-grid__text" }, On = ["innerHTML"], kn = { class: "mwnf-dxa-grid__date" }, An = { class: "mwnf-dxa-grid__partner" }, jn = { class: "mwnf-dxa-grid__place" }, Mn = {
|
|
340
351
|
key: 0,
|
|
341
352
|
class: "mwnf-dxa-grid__project"
|
|
342
353
|
}, $ = {
|
|
@@ -358,12 +369,12 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
358
369
|
class: "mwnf-dxa-grid__entry",
|
|
359
370
|
onMouseenter: (e) => r.value = o,
|
|
360
371
|
onMouseleave: a[0] ||= (e) => r.value = -1
|
|
361
|
-
}, [N("div",
|
|
372
|
+
}, [N("div", wn, [N("img", {
|
|
362
373
|
class: "mwnf-dxa-grid__image",
|
|
363
374
|
src: i.image,
|
|
364
375
|
alt: i.imageAlt,
|
|
365
376
|
loading: "lazy"
|
|
366
|
-
}, null, 8,
|
|
377
|
+
}, null, 8, Tn)]), N("div", { class: I(["mwnf-dxa-grid__card", { "mwnf-dxa-grid__card--open": r.value === o }]) }, [F(n, {
|
|
367
378
|
class: "mwnf-dxa-grid__card-image",
|
|
368
379
|
to: i.to,
|
|
369
380
|
tabindex: "-1"
|
|
@@ -372,17 +383,17 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
372
383
|
src: i.image,
|
|
373
384
|
alt: i.imageAlt,
|
|
374
385
|
loading: "lazy"
|
|
375
|
-
}, null, 8,
|
|
386
|
+
}, null, 8, En)]),
|
|
376
387
|
_: 2
|
|
377
|
-
}, 1032, ["to"]), N("div",
|
|
388
|
+
}, 1032, ["to"]), N("div", Dn, [
|
|
378
389
|
N("p", {
|
|
379
390
|
class: "mwnf-dxa-grid__name",
|
|
380
391
|
innerHTML: i.name
|
|
381
|
-
}, null, 8,
|
|
382
|
-
N("p",
|
|
383
|
-
N("p",
|
|
384
|
-
N("p",
|
|
385
|
-
e.family !== "exhibition" || i.project ? (L(), M("p",
|
|
392
|
+
}, null, 8, On),
|
|
393
|
+
N("p", kn, B(i.date), 1),
|
|
394
|
+
N("p", An, B(i.partner), 1),
|
|
395
|
+
N("p", jn, B(i.place), 1),
|
|
396
|
+
e.family !== "exhibition" || i.project ? (L(), M("p", Mn, [P(B(V(t)("gallery.results.for")) + " ", 1), N("span", null, B(i.project), 1)])) : j("", !0),
|
|
386
397
|
F(n, {
|
|
387
398
|
class: "mwnf-dxa-grid__link",
|
|
388
399
|
to: i.to
|
|
@@ -390,15 +401,15 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
390
401
|
default: H(() => [P(B(V(t)("catalogue.results.seeDatabaseEntry")) + " >", 1)]),
|
|
391
402
|
_: 1
|
|
392
403
|
}, 8, ["to"])
|
|
393
|
-
])], 2)], 40,
|
|
404
|
+
])], 2)], 40, Cn))), 128))], 2));
|
|
394
405
|
}
|
|
395
|
-
},
|
|
406
|
+
}, Nn = ["onSubmit"], Pn = ["placeholder"], Fn = {
|
|
396
407
|
type: "submit",
|
|
397
408
|
class: "mwnf-dxa-refine-search-submit"
|
|
398
|
-
},
|
|
409
|
+
}, In = { class: "mwnf-dxa-how-to" }, Ln = {
|
|
399
410
|
key: 1,
|
|
400
411
|
class: "mwnf-dxa-no-results"
|
|
401
|
-
},
|
|
412
|
+
}, Rn = {
|
|
402
413
|
__name: "SearchResults",
|
|
403
414
|
setup(t) {
|
|
404
415
|
let n = jt("items", {
|
|
@@ -442,7 +453,7 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
442
453
|
type: "text",
|
|
443
454
|
class: "mwnf-dxa-refine-search-input",
|
|
444
455
|
placeholder: t.$t("catalogue.search.keywordPlaceholder")
|
|
445
|
-
}, null, 8,
|
|
456
|
+
}, null, 8, Pn), [[_t, a.value]]), N("button", Fn, B(t.$t("catalogue.search.submit")), 1)], 40, Nn), N("p", In, [F(V(Y), { to: { name: "search-how-to" } }, {
|
|
446
457
|
default: H(() => [P(B(t.$t("catalogue.search.howTo")) + " ›", 1)]),
|
|
447
458
|
_: 1
|
|
448
459
|
})])]),
|
|
@@ -461,7 +472,7 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
461
472
|
records: H(({ rows: e }) => [e.length ? (L(), A($, {
|
|
462
473
|
key: 0,
|
|
463
474
|
rows: e
|
|
464
|
-
}, null, 8, ["rows"])) : (L(), M("p",
|
|
475
|
+
}, null, 8, ["rows"])) : (L(), M("p", Ln, [
|
|
465
476
|
P(B(t.$t("catalogue.results.noResultsSearch")) + " ", 1),
|
|
466
477
|
F(V(Y), { to: { name: "search-how-to" } }, {
|
|
467
478
|
default: H(() => [P(B(t.$t("catalogue.search.howTo")), 1)]),
|
|
@@ -476,7 +487,7 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
476
487
|
_: 1
|
|
477
488
|
}, 8, ["spec"]));
|
|
478
489
|
}
|
|
479
|
-
},
|
|
490
|
+
}, zn = {
|
|
480
491
|
__name: "TimelineResults",
|
|
481
492
|
setup(t) {
|
|
482
493
|
return (t, n) => (L(), A(Ye, {
|
|
@@ -487,10 +498,10 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
487
498
|
_: 1
|
|
488
499
|
}, 8, ["spec"]));
|
|
489
500
|
}
|
|
490
|
-
},
|
|
501
|
+
}, Bn = { class: "mwnf-dxa-back-to-events" }, Vn = {
|
|
491
502
|
key: 1,
|
|
492
503
|
class: "mwnf-record-grid__empty"
|
|
493
|
-
},
|
|
504
|
+
}, Hn = {
|
|
494
505
|
__name: "TimelineGallery",
|
|
495
506
|
setup(t) {
|
|
496
507
|
return (t, n) => (L(), A(E, {
|
|
@@ -501,7 +512,7 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
501
512
|
class: "mwnf-dxa-timeline-gallery"
|
|
502
513
|
}, {
|
|
503
514
|
before: H(() => [F(e)]),
|
|
504
|
-
actions: H(({ filters: e, pageInfo: n, goToPage: r }) => [N("p",
|
|
515
|
+
actions: H(({ filters: e, pageInfo: n, goToPage: r }) => [N("p", Bn, [F(V(Y), { to: {
|
|
505
516
|
name: "timeline-results",
|
|
506
517
|
query: {
|
|
507
518
|
country: e.country,
|
|
@@ -520,7 +531,7 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
520
531
|
records: H(({ rows: e, empty: t }) => [e.length ? (L(), A($, {
|
|
521
532
|
key: 0,
|
|
522
533
|
rows: e
|
|
523
|
-
}, null, 8, ["rows"])) : (L(), M("p",
|
|
534
|
+
}, null, 8, ["rows"])) : (L(), M("p", Vn, B(t), 1))]),
|
|
524
535
|
pagination: H(() => [...n[0] ||= []]),
|
|
525
536
|
after: H(({ pageInfo: e, goToPage: t }) => [F(Q, {
|
|
526
537
|
family: "gallery",
|
|
@@ -530,13 +541,13 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
530
541
|
_: 1
|
|
531
542
|
}, 8, ["spec"]));
|
|
532
543
|
}
|
|
533
|
-
},
|
|
544
|
+
}, Un = { class: "mwnf-dxa-gallery-results" }, Wn = { class: "mwnf-dxa-gallery-results__info" }, Gn = { class: "mwnf-dxa-gallery-results__choices" }, Kn = {
|
|
534
545
|
key: 0,
|
|
535
546
|
class: "mwnf-dxa-gallery-results__end"
|
|
536
|
-
},
|
|
547
|
+
}, qn = { class: "mwnf-dxa-date-wrapper" }, Jn = {
|
|
537
548
|
key: 0,
|
|
538
549
|
class: "mwnf-dxa-timeline-link-box"
|
|
539
|
-
},
|
|
550
|
+
}, Yn = { class: "mwnf-dxa-options-label" }, Xn = { class: "mwnf-dxa-gallery-results__timeline" }, Zn = {
|
|
540
551
|
__name: "CollectionResults",
|
|
541
552
|
setup(t) {
|
|
542
553
|
let { t: n } = q(), r = {
|
|
@@ -556,7 +567,7 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
556
567
|
let t = le(e.country);
|
|
557
568
|
return !!(t && p.value.has(t));
|
|
558
569
|
}
|
|
559
|
-
return (t, s) => (L(), M("div",
|
|
570
|
+
return (t, s) => (L(), M("div", Un, [F(E, {
|
|
560
571
|
spec: {
|
|
561
572
|
...V(v),
|
|
562
573
|
...V(he),
|
|
@@ -564,7 +575,7 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
564
575
|
},
|
|
565
576
|
class: "mwnf-dxa-collection-results"
|
|
566
577
|
}, {
|
|
567
|
-
before: H(({ filters: t, options: r, matching: i, pageInfo: a }) => [F(e), N("div",
|
|
578
|
+
before: H(({ filters: t, options: r, matching: i, pageInfo: a }) => [F(e), N("div", Wn, [N("p", null, [P(B(V(n)("gallery.collection.heading")) + " | ", 1), N("span", Gn, B(d(t, r, i)), 1)]), N("p", null, B(a.total) + " " + B(V(n)("gallery.collection.resultsOutOf")) + " " + B(c.value) + " " + B(V(n)("gallery.collection.objects")), 1)])]),
|
|
568
579
|
actions: H(({ pageInfo: e, goToPage: t }) => [F(Q, {
|
|
569
580
|
family: "gallery",
|
|
570
581
|
class: "mwnf-dxa-gallery-pages--top",
|
|
@@ -579,7 +590,7 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
579
590
|
class: "mwnf-dxa-gallery-results__none",
|
|
580
591
|
keypath: "gallery.collection.noResults"
|
|
581
592
|
}))]),
|
|
582
|
-
pagination: H(({ pageInfo: e }) => [e.lastPage <= 1 ? (L(), M("div",
|
|
593
|
+
pagination: H(({ pageInfo: e }) => [e.lastPage <= 1 ? (L(), M("div", Kn)) : j("", !0)]),
|
|
583
594
|
after: H(({ pageInfo: e, goToPage: t }) => [F(Q, {
|
|
584
595
|
family: "gallery",
|
|
585
596
|
"page-info": e,
|
|
@@ -617,7 +628,7 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
617
628
|
"placeholder",
|
|
618
629
|
"onUpdate:modelValue"
|
|
619
630
|
]))), 128)),
|
|
620
|
-
N("div",
|
|
631
|
+
N("div", qn, [F(i, {
|
|
621
632
|
"model-value": e.from,
|
|
622
633
|
options: V(J)(l, o),
|
|
623
634
|
placeholder: V(n)("gallery.collection.startDate"),
|
|
@@ -645,7 +656,7 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
645
656
|
"reset-label",
|
|
646
657
|
"disabled",
|
|
647
658
|
"onReset"
|
|
648
|
-
]), m(e) ? (L(), M("div",
|
|
659
|
+
]), m(e) ? (L(), M("div", Jn, [N("div", Yn, B(V(n)("gallery.collection.timelineForSearch")), 1), N("p", Xn, [s[0] ||= N("span", {
|
|
649
660
|
class: "mwnf-dxa-gallery-results__share",
|
|
650
661
|
"aria-hidden": "true"
|
|
651
662
|
}, "➦", -1), F(V(Y), { to: {
|
|
@@ -662,19 +673,19 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
662
673
|
_: 1
|
|
663
674
|
}, 8, ["spec"])]));
|
|
664
675
|
}
|
|
665
|
-
},
|
|
676
|
+
}, Qn = { class: "mwnf-dxa-gallery-collection" }, $n = { class: "mwnf-dxa-gallery-collection__dropdowns" }, er = { class: "mwnf-dxa-gallery-collection__label" }, tr = { class: "mwnf-dxa-gallery-collection__selects" }, nr = ["aria-label", "onChange"], rr = {
|
|
666
677
|
selected: "",
|
|
667
678
|
disabled: "",
|
|
668
679
|
value: ""
|
|
669
|
-
},
|
|
680
|
+
}, ir = ["value"], ar = { class: "mwnf-dxa-gallery-collection__dates" }, or = ["aria-label"], sr = {
|
|
670
681
|
selected: "",
|
|
671
682
|
disabled: "",
|
|
672
683
|
value: ""
|
|
673
|
-
},
|
|
684
|
+
}, cr = ["value"], lr = ["aria-label"], ur = {
|
|
674
685
|
selected: "",
|
|
675
686
|
disabled: "",
|
|
676
687
|
value: ""
|
|
677
|
-
},
|
|
688
|
+
}, dr = ["value"], fr = ["innerHTML"], pr = {
|
|
678
689
|
__name: "CollectionSearch",
|
|
679
690
|
setup(e) {
|
|
680
691
|
let t = It(), { t: n } = q(), r = k(() => Et(`${n("gallery.collection.introBeforeName")} *${te(ee)}* ${n("gallery.collection.introAfterName")}`)), i = At(x, pe), a = {
|
|
@@ -694,44 +705,44 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
694
705
|
query: { [e]: String(n) }
|
|
695
706
|
});
|
|
696
707
|
}
|
|
697
|
-
return (e, t) => (L(), M("div",
|
|
708
|
+
return (e, t) => (L(), M("div", Qn, [N("div", $n, [N("div", er, B(V(n)("gallery.collection.filterBy")), 1), N("div", tr, [(L(!0), M(O, null, z(o.value, (e) => (L(), M("select", {
|
|
698
709
|
key: e.key,
|
|
699
710
|
class: "mwnf-dxa-gallery-collection__select",
|
|
700
711
|
"aria-label": V(n)(e.name),
|
|
701
712
|
onChange: (t) => l(e.key, t.target.value)
|
|
702
|
-
}, [N("option",
|
|
713
|
+
}, [N("option", rr, B(V(n)(e.name)), 1), (L(!0), M(O, null, z(e.options, (e) => (L(), M("option", {
|
|
703
714
|
key: e.value,
|
|
704
715
|
value: String(e.value)
|
|
705
|
-
}, B(e.label), 9,
|
|
716
|
+
}, B(e.label), 9, ir))), 128))], 40, nr))), 128)), N("div", ar, [N("select", {
|
|
706
717
|
class: "mwnf-dxa-gallery-collection__select",
|
|
707
718
|
"aria-label": V(n)("gallery.collection.startDate"),
|
|
708
719
|
onChange: t[0] ||= (e) => l("from", e.target.value)
|
|
709
|
-
}, [N("option",
|
|
720
|
+
}, [N("option", sr, B(V(n)("gallery.collection.startDate")), 1), (L(!0), M(O, null, z(c.value, (e) => (L(), M("option", {
|
|
710
721
|
key: e.value,
|
|
711
722
|
value: String(e.value)
|
|
712
|
-
}, B(e.label), 9,
|
|
723
|
+
}, B(e.label), 9, cr))), 128))], 40, or), N("select", {
|
|
713
724
|
class: "mwnf-dxa-gallery-collection__select",
|
|
714
725
|
"aria-label": V(n)("gallery.collection.endDate"),
|
|
715
726
|
onChange: t[1] ||= (e) => l("to", e.target.value)
|
|
716
|
-
}, [N("option",
|
|
727
|
+
}, [N("option", ur, B(V(n)("gallery.collection.endDate")), 1), (L(!0), M(O, null, z(c.value, (e) => (L(), M("option", {
|
|
717
728
|
key: e.value,
|
|
718
729
|
value: String(e.value)
|
|
719
|
-
}, B(e.label), 9,
|
|
730
|
+
}, B(e.label), 9, dr))), 128))], 40, lr)])])]), N("div", {
|
|
720
731
|
class: "mwnf-dxa-gallery-collection__description mwnf-prose vc-text",
|
|
721
732
|
dir: "auto",
|
|
722
733
|
innerHTML: r.value
|
|
723
|
-
}, null, 8,
|
|
734
|
+
}, null, 8, fr)]));
|
|
724
735
|
}
|
|
725
|
-
},
|
|
736
|
+
}, mr = {
|
|
726
737
|
key: 0,
|
|
727
738
|
class: "mwnf-dxa-partner-objects mwnf-dxa-gallery-objects"
|
|
728
|
-
},
|
|
739
|
+
}, hr = { class: "mwnf-dxa-gallery-objects__header" }, gr = ["innerHTML"], _r = {
|
|
729
740
|
key: 0,
|
|
730
741
|
class: "mwnf-dxa-gallery-objects__place"
|
|
731
|
-
},
|
|
742
|
+
}, vr = {
|
|
732
743
|
key: 0,
|
|
733
744
|
class: "mwnf-dxa-gallery-objects__end"
|
|
734
|
-
},
|
|
745
|
+
}, yr = {
|
|
735
746
|
__name: "PartnerObjects",
|
|
736
747
|
setup(t) {
|
|
737
748
|
let n = X(), r = k(() => y.value.get(n.params.id) ?? null), i = k(() => ({
|
|
@@ -739,11 +750,11 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
739
750
|
...he,
|
|
740
751
|
scope: (e) => e.partner_id === n.params.id
|
|
741
752
|
})), a = k(() => r.value ? _e.view(r.value, p("partners", r.value.id, fe)) : null), o = k(() => [a.value?.city, a.value?.country].filter(Boolean).join(", "));
|
|
742
|
-
return (t, n) => r.value ? (L(), M("div",
|
|
743
|
-
before: H(() => [F(e), N("div",
|
|
753
|
+
return (t, n) => r.value ? (L(), M("div", mr, [F(E, { spec: i.value }, {
|
|
754
|
+
before: H(() => [F(e), N("div", hr, [N("p", {
|
|
744
755
|
class: "mwnf-dxa-gallery-objects__name",
|
|
745
756
|
innerHTML: a.value.name
|
|
746
|
-
}, null, 8,
|
|
757
|
+
}, null, 8, gr), o.value ? (L(), M("p", _r, B(o.value), 1)) : j("", !0)])]),
|
|
747
758
|
actions: H(({ pageInfo: e, goToPage: t }) => [F(Q, {
|
|
748
759
|
family: "gallery",
|
|
749
760
|
class: "mwnf-dxa-gallery-pages--top",
|
|
@@ -751,7 +762,7 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
751
762
|
onNavigate: t
|
|
752
763
|
}, null, 8, ["page-info", "onNavigate"])]),
|
|
753
764
|
records: H(({ rows: e }) => [F($, { rows: e }, null, 8, ["rows"])]),
|
|
754
|
-
pagination: H(({ pageInfo: e }) => [e.lastPage <= 1 ? (L(), M("div",
|
|
765
|
+
pagination: H(({ pageInfo: e }) => [e.lastPage <= 1 ? (L(), M("div", vr)) : j("", !0)]),
|
|
755
766
|
after: H(({ pageInfo: e, goToPage: t }) => [F(Q, {
|
|
756
767
|
family: "gallery",
|
|
757
768
|
"page-info": e,
|
|
@@ -770,19 +781,19 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
770
781
|
_: 1
|
|
771
782
|
}, 8, ["spec"])])) : j("", !0);
|
|
772
783
|
}
|
|
773
|
-
},
|
|
784
|
+
}, br = { class: "mwnf-dxa-exhibition-how-to" }, xr = {
|
|
774
785
|
__name: "SearchHowTo",
|
|
775
786
|
setup(t) {
|
|
776
|
-
return (t, n) => (L(), M("div",
|
|
787
|
+
return (t, n) => (L(), M("div", br, [F(e), F(V(W), {
|
|
777
788
|
class: "mwnf-dxa-exhibition-how-to__text",
|
|
778
789
|
dir: "auto",
|
|
779
790
|
keypath: "catalogue.search.howToEssay"
|
|
780
791
|
})]));
|
|
781
792
|
}
|
|
782
|
-
},
|
|
793
|
+
}, Sr = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners mwnf-dxa-exhibition-partners" }, Cr = { class: "mwnf-dxa-gallery-partners__options" }, wr = { class: "mwnf-dxa-gallery-partners__order" }, Tr = ["onClick"], Er = { class: "mwnf-dxa-gallery-partners__country" }, Dr = { class: "mwnf-dxa-gallery-partners__partner" }, Or = { class: "mwnf-dxa-gallery-partners__text" }, kr = ["innerHTML"], Ar = {
|
|
783
794
|
key: 0,
|
|
784
795
|
class: "mwnf-dxa-gallery-partners__city"
|
|
785
|
-
},
|
|
796
|
+
}, jr = { class: "mwnf-dxa-partner-badge__status" }, Mr = { class: "mwnf-dxa-gallery-partners__links" }, Nr = { class: "mwnf-dxa-gallery-partners__logo" }, Pr = ["src", "alt"], Fr = {
|
|
786
797
|
__name: "Partners",
|
|
787
798
|
setup(t) {
|
|
788
799
|
let r = {
|
|
@@ -790,41 +801,31 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
790
801
|
objectsRoute: Ee,
|
|
791
802
|
orderToggle: !1,
|
|
792
803
|
tiebreak: (e) => e.own_project?.name ?? ""
|
|
793
|
-
}, i = {
|
|
794
|
-
partner: "exhibition.partners.statusPartner",
|
|
795
|
-
affiliate: "exhibition.partners.statusAffiliate"
|
|
796
804
|
};
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
name: "",
|
|
800
|
-
status: e.level === "partner" ? "exhibition.partners.institutionPartner" : "exhibition.partners.institutionAffiliate",
|
|
801
|
-
tone: "institution"
|
|
802
|
-
} : Z(e, i);
|
|
803
|
-
}
|
|
804
|
-
return (t, i) => (L(), M("div", yr, [F(Je, { spec: r }, {
|
|
805
|
-
before: H(({ t, orderDir: n, toggleOrder: r }) => [N("div", br, [F(e), N("div", xr, [N("button", {
|
|
805
|
+
return (t, i) => (L(), M("div", Sr, [F(Je, { spec: r }, {
|
|
806
|
+
before: H(({ t, orderDir: n, toggleOrder: r }) => [N("div", Cr, [F(e), N("div", wr, [N("button", {
|
|
806
807
|
type: "button",
|
|
807
808
|
onClick: r
|
|
808
|
-
}, B(t(n === "asc" ? "partner.list.sortDescending" : "partner.list.sortAscending")), 9,
|
|
809
|
+
}, B(t(n === "asc" ? "partner.list.sortDescending" : "partner.list.sortAscending")), 9, Tr)])]), F(V(W), {
|
|
809
810
|
id: "mwnf-dxa-partners-intro",
|
|
810
811
|
class: "mwnf-dxa-gallery-partners__intro",
|
|
811
812
|
dir: "auto",
|
|
812
813
|
keypath: "exhibition.partners.intro"
|
|
813
814
|
})]),
|
|
814
|
-
"group-heading": H(({ group: e }) => [N("div",
|
|
815
|
-
row: H(({ partner: e, view: t, t: r }) => [N("div",
|
|
815
|
+
"group-heading": H(({ group: e }) => [N("div", Er, B(e.label), 1)]),
|
|
816
|
+
row: H(({ partner: e, view: t, t: r }) => [N("div", Dr, [N("div", Or, [
|
|
816
817
|
F(n, {
|
|
817
818
|
class: "mwnf-dxa-gallery-partners__name",
|
|
818
819
|
to: t.route
|
|
819
820
|
}, {
|
|
820
|
-
default: H(() => [N("span", { innerHTML: t.name }, null, 8,
|
|
821
|
+
default: H(() => [N("span", { innerHTML: t.name }, null, 8, kr), t.city ? (L(), M("span", Ar, ", " + B(t.city), 1)) : j("", !0)]),
|
|
821
822
|
_: 2
|
|
822
823
|
}, 1032, ["to"]),
|
|
823
|
-
|
|
824
|
+
V(Qt)(e) ? (L(), M("div", {
|
|
824
825
|
key: 0,
|
|
825
|
-
class: I(["mwnf-dxa-partner-badge",
|
|
826
|
-
}, [
|
|
827
|
-
N("div",
|
|
826
|
+
class: I(["mwnf-dxa-partner-badge", V(Qt)(e).tone && `mwnf-dxa-partner-badge--${V(Qt)(e).tone}`])
|
|
827
|
+
}, [V(Qt)(e).name ? (L(), M(O, { key: 0 }, [P(B(V(Qt)(e).name + " "), 1)], 64)) : j("", !0), N("span", jr, B(r(V(Qt)(e).status)), 1)], 2)) : j("", !0),
|
|
828
|
+
N("div", Mr, [F(n, { to: t.route }, {
|
|
828
829
|
default: H(() => [P(B(r("partner.action.readMore")), 1)]),
|
|
829
830
|
_: 2
|
|
830
831
|
}, 1032, ["to"]), e.item_count > 0 && t.objectsRoute ? (L(), M(O, { key: 0 }, [i[0] ||= N("span", {
|
|
@@ -834,32 +835,32 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
834
835
|
default: H(() => [P(B(r("exhibition.partners.viewItems")), 1)]),
|
|
835
836
|
_: 2
|
|
836
837
|
}, 1032, ["to"])], 64)) : j("", !0)])
|
|
837
|
-
]), N("div",
|
|
838
|
+
]), N("div", Nr, [t.logos?.[0] ? (L(), M("img", {
|
|
838
839
|
key: 0,
|
|
839
840
|
src: t.logos[0].url,
|
|
840
841
|
alt: t.plainName,
|
|
841
842
|
loading: "lazy"
|
|
842
|
-
}, null, 8,
|
|
843
|
+
}, null, 8, Pr)) : j("", !0)])])]),
|
|
843
844
|
_: 1
|
|
844
845
|
})]));
|
|
845
846
|
}
|
|
846
|
-
},
|
|
847
|
+
}, Ir = { class: "mwnf-dxa-exhibition-search" }, Lr = { class: "mwnf-dxa-exhibition-search__header" }, Rr = { class: "mwnf-dxa-exhibition-search__info" }, zr = { key: 0 }, Br = { key: 1 }, Vr = { class: "mwnf-dxa-exhibition-search__box" }, Hr = ["placeholder", "aria-label"], Ur = { class: "mwnf-dxa-exhibition-search__buttons" }, Wr = {
|
|
847
848
|
type: "submit",
|
|
848
849
|
class: "mwnf-dxa-exhibition-search__button"
|
|
849
|
-
},
|
|
850
|
+
}, Gr = { class: "mwnf-dxa-exhibition-search__tips" }, Kr = {
|
|
850
851
|
key: 0,
|
|
851
852
|
class: "mwnf-dxa-exhibition-search__results"
|
|
852
|
-
},
|
|
853
|
+
}, qr = {
|
|
853
854
|
key: 0,
|
|
854
855
|
class: "mwnf-dxa-exhibition-search__main"
|
|
855
|
-
},
|
|
856
|
+
}, Jr = { class: "mwnf-dxa-exhibition-search__main-photo" }, Yr = ["src", "alt"], Xr = { class: "mwnf-dxa-exhibition-search__main-text" }, Zr = ["innerHTML"], Qr = { class: "mwnf-dxa-exhibition-search__main-holder" }, $r = { class: "mwnf-dxa-exhibition-search__list" }, ei = [
|
|
856
857
|
"src",
|
|
857
858
|
"alt",
|
|
858
859
|
"onMouseover"
|
|
859
|
-
],
|
|
860
|
+
], ti = { class: "mwnf-dxa-exhibition-search__result-text" }, ni = ["innerHTML", "onMouseover"], ri = {
|
|
860
861
|
key: 1,
|
|
861
862
|
class: "mwnf-dxa-exhibition-search__end"
|
|
862
|
-
},
|
|
863
|
+
}, ii = {
|
|
863
864
|
__name: "SearchResults",
|
|
864
865
|
setup(t) {
|
|
865
866
|
let { t: n } = q(), r = X(), i = It(), a = jt("items", {
|
|
@@ -921,23 +922,23 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
921
922
|
}
|
|
922
923
|
return yt(() => r.fullPath, () => {
|
|
923
924
|
m.value = null;
|
|
924
|
-
}), (t, r) => (L(), M("div",
|
|
925
|
+
}), (t, r) => (L(), M("div", Ir, [F(E, {
|
|
925
926
|
spec: l.value,
|
|
926
927
|
class: "mwnf-dxa-exhibition-search__view"
|
|
927
928
|
}, {
|
|
928
929
|
before: H(({ pageInfo: t, goToPage: i }) => [
|
|
929
930
|
F(e),
|
|
930
|
-
N("div",
|
|
931
|
+
N("div", Lr, [N("div", Rr, [t.total ? (L(), M("p", zr, B(V(n)("exhibition.search.heading")) + " | " + B(t.total) + " " + B(V(n)("exhibition.search.recordsOutOf")) + " " + B(V(Le).size) + " " + B(V(n)("exhibition.collection.items")), 1)) : (L(), M("p", Br, [P(B(V(n)("exhibition.search.heading")) + " | ", 1), N("span", null, B(V(n)("exhibition.search.none")), 1)]))]), N("div", Vr, [N("form", { onSubmit: r[2] ||= xt((e) => f(), ["prevent"]) }, [U(N("input", {
|
|
931
932
|
"onUpdate:modelValue": r[0] ||= (e) => d.value = e,
|
|
932
933
|
class: "mwnf-dxa-exhibition-search__input",
|
|
933
934
|
type: "search",
|
|
934
935
|
placeholder: V(n)("exhibition.search.placeholder"),
|
|
935
936
|
"aria-label": V(n)("exhibition.search.placeholder")
|
|
936
|
-
}, null, 8,
|
|
937
|
+
}, null, 8, Hr), [[_t, d.value]]), N("div", Ur, [N("button", Wr, B(V(n)("exhibition.search.submit")), 1), N("button", {
|
|
937
938
|
type: "button",
|
|
938
939
|
class: "mwnf-dxa-exhibition-search__button",
|
|
939
940
|
onClick: r[1] ||= (e) => p()
|
|
940
|
-
}, B(V(n)("exhibition.search.reset")), 1)])], 32), N("div",
|
|
941
|
+
}, B(V(n)("exhibition.search.reset")), 1)])], 32), N("div", Gr, [F(V(Y), { to: { name: "search-how-to" } }, {
|
|
941
942
|
default: H(() => [P(B(V(n)("exhibition.search.tips")), 1)]),
|
|
942
943
|
_: 1
|
|
943
944
|
})])])]),
|
|
@@ -947,15 +948,15 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
947
948
|
onNavigate: i
|
|
948
949
|
}, null, 8, ["page-info", "onNavigate"])
|
|
949
950
|
]),
|
|
950
|
-
records: H(({ rows: e }) => [e.length ? (L(), M("div",
|
|
951
|
+
records: H(({ rows: e }) => [e.length ? (L(), M("div", Kr, [g.value ? j("", !0) : (L(), M("div", qr, [N("div", Jr, [N("img", {
|
|
951
952
|
src: _(u(e)).image,
|
|
952
953
|
alt: _(u(e)).imageAlt
|
|
953
|
-
}, null, 8,
|
|
954
|
-
N("p", null, [N("strong", { innerHTML: _(u(e)).name }, null, 8,
|
|
954
|
+
}, null, 8, Yr)]), N("div", Xr, [
|
|
955
|
+
N("p", null, [N("strong", { innerHTML: _(u(e)).name }, null, 8, Zr)]),
|
|
955
956
|
N("p", null, B(_(u(e)).date), 1),
|
|
956
|
-
N("p",
|
|
957
|
+
N("p", Qr, [N("strong", null, B(_(u(e)).partner), 1)]),
|
|
957
958
|
N("p", null, B(_(u(e)).place), 1)
|
|
958
|
-
])])), N("div",
|
|
959
|
+
])])), N("div", $r, [(L(!0), M(O, null, z(u(e), (e) => (L(), M("div", {
|
|
959
960
|
key: e.id,
|
|
960
961
|
class: "mwnf-dxa-exhibition-search__result"
|
|
961
962
|
}, [F(V(Y), {
|
|
@@ -967,13 +968,13 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
967
968
|
alt: e.imageAlt,
|
|
968
969
|
loading: "lazy",
|
|
969
970
|
onMouseover: (t) => m.value = e.id
|
|
970
|
-
}, null, 40,
|
|
971
|
+
}, null, 40, ei)]),
|
|
971
972
|
_: 2
|
|
972
|
-
}, 1032, ["to"]), N("div",
|
|
973
|
+
}, 1032, ["to"]), N("div", ti, [F(V(Y), { to: e.to }, {
|
|
973
974
|
default: H(() => [N("strong", {
|
|
974
975
|
innerHTML: e.name,
|
|
975
976
|
onMouseover: (t) => m.value = e.id
|
|
976
|
-
}, null, 40,
|
|
977
|
+
}, null, 40, ni), N("span", null, ", " + B(e.place), 1)]),
|
|
977
978
|
_: 2
|
|
978
979
|
}, 1032, ["to"]), N("p", null, [N("em", null, B(e.date), 1)])])]))), 128))])])) : (L(), A(V(W), {
|
|
979
980
|
key: 1,
|
|
@@ -985,32 +986,32 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
985
986
|
key: 0,
|
|
986
987
|
"page-info": e,
|
|
987
988
|
onNavigate: t
|
|
988
|
-
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div",
|
|
989
|
+
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div", ri))]),
|
|
989
990
|
_: 1
|
|
990
991
|
}, 8, ["spec"])]));
|
|
991
992
|
}
|
|
992
|
-
},
|
|
993
|
+
}, ai = { class: "mwnf-dxa-exhibition-timeline-results" }, oi = { class: "mwnf-dxa-exhibition-timeline-results__band" }, si = { class: "mwnf-dxa-exhibition-timeline-results__current" }, ci = { key: 0 }, li = { class: "mwnf-dxa-exhibition-timeline-results__fields" }, ui = ["aria-label"], di = {
|
|
993
994
|
disabled: "",
|
|
994
995
|
value: ""
|
|
995
|
-
},
|
|
996
|
+
}, fi = ["value"], pi = ["aria-label"], mi = {
|
|
996
997
|
disabled: "",
|
|
997
998
|
value: ""
|
|
998
|
-
},
|
|
999
|
+
}, hi = ["value"], gi = ["aria-label"], _i = {
|
|
999
1000
|
disabled: "",
|
|
1000
1001
|
value: ""
|
|
1001
|
-
},
|
|
1002
|
+
}, vi = ["value"], yi = ["onClick"], bi = ["onClick"], xi = { class: "mwnf-dxa-exhibition-timeline-results__body" }, Si = {
|
|
1002
1003
|
key: 0,
|
|
1003
1004
|
class: "mwnf-dxa-exhibition-timeline-results__list"
|
|
1004
|
-
},
|
|
1005
|
+
}, Ci = { class: "mwnf-dxa-exhibition-timeline-results__labels" }, wi = { class: "mwnf-dxa-exhibition-timeline-results__year" }, Ti = { class: "mwnf-dxa-exhibition-timeline-results__text" }, Ei = ["innerHTML"], Di = ["innerHTML"], Oi = {
|
|
1005
1006
|
key: 1,
|
|
1006
1007
|
class: "mwnf-dxa-exhibition-timeline-results__none"
|
|
1007
|
-
},
|
|
1008
|
+
}, ki = {
|
|
1008
1009
|
key: 2,
|
|
1009
1010
|
class: "mwnf-dxa-exhibition-timeline-results__related"
|
|
1010
|
-
},
|
|
1011
|
+
}, Ai = { class: "mwnf-dxa-exhibition-timeline-results__related-header" }, ji = {
|
|
1011
1012
|
key: 1,
|
|
1012
1013
|
class: "mwnf-dxa-exhibition-timeline-results__end"
|
|
1013
|
-
},
|
|
1014
|
+
}, Mi = {
|
|
1014
1015
|
__name: "TimelineResults",
|
|
1015
1016
|
setup(t) {
|
|
1016
1017
|
let n = {
|
|
@@ -1036,46 +1037,46 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
1036
1037
|
let n = e?.year_from;
|
|
1037
1038
|
return Number.isFinite(n) ? `${n} ${t(n < 0 ? "exhibition.era.bc" : "exhibition.era.ad")}` : "";
|
|
1038
1039
|
}
|
|
1039
|
-
return (t, n) => (L(), M("div",
|
|
1040
|
+
return (t, n) => (L(), M("div", ai, [F(Ye, {
|
|
1040
1041
|
spec: i.value,
|
|
1041
1042
|
class: "mwnf-dxa-timeline-results"
|
|
1042
1043
|
}, {
|
|
1043
|
-
form: H((e) => [N("div",
|
|
1044
|
+
form: H((e) => [N("div", oi, [N("p", si, [
|
|
1044
1045
|
P(B(e.t("exhibition.timeline.heading")) + " | " + B(c(e.options.begin, e.filters.begin)) + " " + B(e.t("exhibition.timeline.to")) + " " + B(c(e.options.end, e.filters.end)) + " | ", 1),
|
|
1045
|
-
a.value && e.filters.country ? (L(), M("span",
|
|
1046
|
+
a.value && e.filters.country ? (L(), M("span", ci, B(c(e.countries, e.filters.country)) + " | ", 1)) : j("", !0),
|
|
1046
1047
|
N("span", null, B(e.pageInfo?.total ?? 0) + " " + B(e.t("exhibition.timeline.results")), 1)
|
|
1047
|
-
]), N("div",
|
|
1048
|
+
]), N("div", li, [
|
|
1048
1049
|
N("span", null, B(e.t("exhibition.collection.startDate")), 1),
|
|
1049
1050
|
U(N("select", {
|
|
1050
1051
|
"onUpdate:modelValue": n[0] ||= (e) => s.begin = e,
|
|
1051
1052
|
"aria-label": e.t("exhibition.collection.startDate")
|
|
1052
|
-
}, [N("option",
|
|
1053
|
+
}, [N("option", di, B(e.t("exhibition.collection.startDate")), 1), (L(!0), M(O, null, z(e.options.begin ?? [], (e) => (L(), M("option", {
|
|
1053
1054
|
key: e.value,
|
|
1054
1055
|
value: String(e.value)
|
|
1055
|
-
}, B(e.label), 9,
|
|
1056
|
+
}, B(e.label), 9, fi))), 128))], 8, ui), [[gt, s.begin]]),
|
|
1056
1057
|
N("span", null, B(e.t("exhibition.collection.endDate")), 1),
|
|
1057
1058
|
U(N("select", {
|
|
1058
1059
|
"onUpdate:modelValue": n[1] ||= (e) => s.end = e,
|
|
1059
1060
|
"aria-label": e.t("exhibition.collection.endDate")
|
|
1060
|
-
}, [N("option",
|
|
1061
|
+
}, [N("option", mi, B(e.t("exhibition.collection.endDate")), 1), (L(!0), M(O, null, z(e.options.end ?? [], (e) => (L(), M("option", {
|
|
1061
1062
|
key: e.value,
|
|
1062
1063
|
value: String(e.value)
|
|
1063
|
-
}, B(e.label), 9,
|
|
1064
|
+
}, B(e.label), 9, hi))), 128))], 8, pi), [[gt, s.end]]),
|
|
1064
1065
|
a.value ? (L(), M(O, { key: 0 }, [N("span", null, B(e.t("exhibition.timeline.country")), 1), U(N("select", {
|
|
1065
1066
|
"onUpdate:modelValue": n[2] ||= (e) => s.country = e,
|
|
1066
1067
|
"aria-label": e.t("exhibition.timeline.selectCountry")
|
|
1067
|
-
}, [N("option",
|
|
1068
|
+
}, [N("option", _i, B(e.t("exhibition.timeline.selectCountry")), 1), (L(!0), M(O, null, z(e.countries, (e) => (L(), M("option", {
|
|
1068
1069
|
key: e.value,
|
|
1069
1070
|
value: e.value
|
|
1070
|
-
}, B(e.label), 9,
|
|
1071
|
+
}, B(e.label), 9, vi))), 128))], 8, gi), [[gt, s.country]])], 64)) : j("", !0),
|
|
1071
1072
|
N("button", {
|
|
1072
1073
|
type: "button",
|
|
1073
1074
|
onClick: (t) => e.apply({ ...s })
|
|
1074
|
-
}, B(e.t("core.action.go")), 9,
|
|
1075
|
+
}, B(e.t("core.action.go")), 9, yi),
|
|
1075
1076
|
N("button", {
|
|
1076
1077
|
type: "button",
|
|
1077
1078
|
onClick: (t) => e.reset()
|
|
1078
|
-
}, B(e.t("exhibition.search.reset")), 9,
|
|
1079
|
+
}, B(e.t("exhibition.search.reset")), 9, bi)
|
|
1079
1080
|
])])]),
|
|
1080
1081
|
summary: H(({ pageInfo: t, goToPage: n }) => [F(e), F(Q, {
|
|
1081
1082
|
class: "mwnf-dxa-exhibition-timeline-results__pages",
|
|
@@ -1083,17 +1084,17 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
1083
1084
|
onNavigate: n
|
|
1084
1085
|
}, null, 8, ["page-info", "onNavigate"])]),
|
|
1085
1086
|
gallery: H(() => [...n[3] ||= []]),
|
|
1086
|
-
event: H(({ pageInfo: e, rows: t, gallery: r, t: i }) => [N("div",
|
|
1087
|
+
event: H(({ pageInfo: e, rows: t, gallery: r, t: i }) => [N("div", xi, [t.length ? (L(), M("div", Si, [N("div", Ci, [N("div", null, B(i("exhibition.timeline.date")), 1), N("div", null, B(i(a.value && s.country ? "exhibition.timeline.countryDescription" : "exhibition.timeline.description")), 1)]), (L(!0), M(O, null, z(t, (t, n) => (L(), M("div", {
|
|
1087
1088
|
key: t.id,
|
|
1088
1089
|
class: "mwnf-dxa-exhibition-timeline-results__event"
|
|
1089
|
-
}, [N("div",
|
|
1090
|
+
}, [N("div", wi, [N("span", null, B(l(e.rows[n], i)), 1)]), N("div", Ti, [a.value && s.country && t.caption ? (L(), M("div", {
|
|
1090
1091
|
key: 0,
|
|
1091
1092
|
class: "mwnf-dxa-exhibition-timeline-results__country",
|
|
1092
1093
|
innerHTML: t.caption
|
|
1093
|
-
}, null, 8,
|
|
1094
|
+
}, null, 8, Ei)) : j("", !0), N("div", {
|
|
1094
1095
|
class: "mwnf-dxa-exhibition-timeline-results__description",
|
|
1095
1096
|
innerHTML: t.description
|
|
1096
|
-
}, null, 8,
|
|
1097
|
+
}, null, 8, Di)])]))), 128))])) : (L(), M("div", Oi, B(i("exhibition.timeline.noResults")), 1)), t.length && r ? (L(), M("div", ki, [N("p", Ai, B(i("exhibition.timeline.relatedContent")), 1), N("p", null, [
|
|
1097
1098
|
n[4] ||= N("span", { "aria-hidden": "true" }, "➦", -1),
|
|
1098
1099
|
n[5] ||= P(),
|
|
1099
1100
|
F(V(Y), { to: r.to }, {
|
|
@@ -1105,14 +1106,14 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
1105
1106
|
key: 0,
|
|
1106
1107
|
"page-info": e,
|
|
1107
1108
|
onNavigate: t
|
|
1108
|
-
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div",
|
|
1109
|
+
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div", ji))]),
|
|
1109
1110
|
_: 1
|
|
1110
1111
|
}, 8, ["spec"])]));
|
|
1111
1112
|
}
|
|
1112
|
-
},
|
|
1113
|
+
}, Ni = { class: "mwnf-dxa-exhibition-partner-objects mwnf-dxa-exhibition-timeline-gallery" }, Pi = { class: "mwnf-dxa-exhibition-partner-objects__header" }, Fi = { class: "mwnf-dxa-exhibition-partner-objects__content" }, Ii = { class: "mwnf-dxa-exhibition-partner-objects__grid" }, Li = { class: "mwnf-dxa-exhibition-partner-objects__profile" }, Ri = {
|
|
1113
1114
|
key: 1,
|
|
1114
1115
|
class: "mwnf-dxa-exhibition-partner-objects__end"
|
|
1115
|
-
},
|
|
1116
|
+
}, zi = {
|
|
1116
1117
|
__name: "TimelineGallery",
|
|
1117
1118
|
setup(t) {
|
|
1118
1119
|
let { t: n } = q(), r = {
|
|
@@ -1131,13 +1132,13 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
1131
1132
|
return i.find((e) => Number(e.value) === t)?.label ?? i[0]?.label ?? String(e);
|
|
1132
1133
|
}
|
|
1133
1134
|
let o = k(() => S.value.scope === "country");
|
|
1134
|
-
return (t, r) => (L(), M("div",
|
|
1135
|
+
return (t, r) => (L(), M("div", Ni, [F(E, {
|
|
1135
1136
|
spec: i.value,
|
|
1136
1137
|
class: "mwnf-dxa-partner-objects"
|
|
1137
1138
|
}, {
|
|
1138
1139
|
before: H(({ filters: t, pageInfo: r, goToPage: i }) => [
|
|
1139
1140
|
F(e),
|
|
1140
|
-
N("div",
|
|
1141
|
+
N("div", Pi, [N("p", null, [
|
|
1141
1142
|
P(B(V(n)("exhibition.timeline.heading")) + " | " + B(a(t.begin)) + " " + B(V(n)("exhibition.timeline.to")) + " " + B(a(t.end)) + " | ", 1),
|
|
1142
1143
|
o.value && t.country ? (L(), M(O, { key: 0 }, [P(B(V(ze)(t.country)) + " | ", 1)], 64)) : j("", !0),
|
|
1143
1144
|
P(B(V(n)("exhibition.timeline.gallery")), 1)
|
|
@@ -1148,11 +1149,11 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
1148
1149
|
onNavigate: i
|
|
1149
1150
|
}, null, 8, ["page-info", "onNavigate"])
|
|
1150
1151
|
]),
|
|
1151
|
-
records: H(({ rows: e, filters: t }) => [N("div",
|
|
1152
|
+
records: H(({ rows: e, filters: t }) => [N("div", Fi, [N("div", Ii, [e.length ? (L(), A($, {
|
|
1152
1153
|
key: 0,
|
|
1153
1154
|
rows: e,
|
|
1154
1155
|
family: "exhibition"
|
|
1155
|
-
}, null, 8, ["rows"])) : j("", !0)]), N("div",
|
|
1156
|
+
}, null, 8, ["rows"])) : j("", !0)]), N("div", Li, [F(V(Y), { to: {
|
|
1156
1157
|
name: "timeline-results",
|
|
1157
1158
|
query: {
|
|
1158
1159
|
...t.country ? { country: t.country } : {},
|
|
@@ -1168,27 +1169,27 @@ var Xt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Zt = { class:
|
|
|
1168
1169
|
key: 0,
|
|
1169
1170
|
"page-info": e,
|
|
1170
1171
|
onNavigate: t
|
|
1171
|
-
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div",
|
|
1172
|
+
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div", Ri))]),
|
|
1172
1173
|
_: 1
|
|
1173
1174
|
}, 8, ["spec"])]));
|
|
1174
1175
|
}
|
|
1175
|
-
}, { aboutTheme:
|
|
1176
|
-
function
|
|
1176
|
+
}, { aboutTheme: Bi, listedThemes: Vi, pictureById: Hi, pictureParent: Ui, romanFor: Wi, themeText: Gi, themeTree: Ki } = we;
|
|
1177
|
+
function qi(e) {
|
|
1177
1178
|
return String(e?.backward_compatibility ?? "").split(":").pop();
|
|
1178
1179
|
}
|
|
1179
|
-
function
|
|
1180
|
-
let t = (t) =>
|
|
1181
|
-
value:
|
|
1182
|
-
label: t(
|
|
1183
|
-
node:
|
|
1184
|
-
}] : [], ...
|
|
1185
|
-
value:
|
|
1186
|
-
label: `${
|
|
1180
|
+
function Ji(e) {
|
|
1181
|
+
let t = (t) => Gi(t, e.value).title ?? t?.internal_name ?? "", n = k(() => [...Bi.value ? [{
|
|
1182
|
+
value: qi(Bi.value),
|
|
1183
|
+
label: t(Bi.value),
|
|
1184
|
+
node: Bi.value
|
|
1185
|
+
}] : [], ...Vi.value.map((e) => ({
|
|
1186
|
+
value: qi(e),
|
|
1187
|
+
label: `${Wi(e.display_order)}. ${t(e)}`,
|
|
1187
1188
|
node: e
|
|
1188
1189
|
}))]), r = (e) => n.value.find((t) => t.value === String(e))?.node ?? null;
|
|
1189
1190
|
function i(e) {
|
|
1190
1191
|
return (r(e)?.sub_themes ?? []).map((e, n) => ({
|
|
1191
|
-
value:
|
|
1192
|
+
value: qi(e),
|
|
1192
1193
|
label: `${n + 1}. ${t(e)}`,
|
|
1193
1194
|
node: e
|
|
1194
1195
|
}));
|
|
@@ -1196,8 +1197,8 @@ function Gi(e) {
|
|
|
1196
1197
|
function a(e) {
|
|
1197
1198
|
let t = /* @__PURE__ */ new Set();
|
|
1198
1199
|
if (!e) return t;
|
|
1199
|
-
for (let n of
|
|
1200
|
-
let e =
|
|
1200
|
+
for (let n of Ki.itemsUnder(e.id)) {
|
|
1201
|
+
let e = Ui(Hi.value.get(n));
|
|
1201
1202
|
e && t.add(e.id);
|
|
1202
1203
|
}
|
|
1203
1204
|
return t;
|
|
@@ -1214,39 +1215,39 @@ function Gi(e) {
|
|
|
1214
1215
|
};
|
|
1215
1216
|
}
|
|
1216
1217
|
// src/dxa/exhibition/CollectionResults.vue
|
|
1217
|
-
var
|
|
1218
|
+
var Yi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Xi = { class: "mwnf-dxa-gallery-results__info" }, Zi = { class: "mwnf-dxa-gallery-results__choices" }, Qi = {
|
|
1218
1219
|
key: 1,
|
|
1219
1220
|
class: "mwnf-dxa-gallery-results__end"
|
|
1220
|
-
},
|
|
1221
|
+
}, $i = ["aria-label", "aria-expanded"], ea = ["viewBox"], ta = ["d"], na = { class: "mwnf-dxa-exhibition-results__refine" }, ra = ["aria-label"], ia = ["viewBox"], aa = ["d"], oa = {
|
|
1221
1222
|
key: 1,
|
|
1222
1223
|
class: "mwnf-dxa-exhibition-results__themes"
|
|
1223
|
-
},
|
|
1224
|
+
}, sa = { class: "mwnf-dxa-options-label" }, ca = { class: "mwnf-dxa-exhibition-results__theme-selects" }, la = [
|
|
1224
1225
|
"aria-label",
|
|
1225
1226
|
"value",
|
|
1226
1227
|
"disabled",
|
|
1227
1228
|
"onChange"
|
|
1228
|
-
],
|
|
1229
|
+
], ua = {
|
|
1229
1230
|
disabled: "",
|
|
1230
1231
|
value: ""
|
|
1231
|
-
},
|
|
1232
|
+
}, da = { value: "all" }, fa = ["value"], pa = [
|
|
1232
1233
|
"aria-label",
|
|
1233
1234
|
"value",
|
|
1234
1235
|
"disabled",
|
|
1235
1236
|
"onChange"
|
|
1236
|
-
],
|
|
1237
|
+
], ma = {
|
|
1237
1238
|
disabled: "",
|
|
1238
1239
|
value: ""
|
|
1239
|
-
},
|
|
1240
|
+
}, ha = ["value"], ga = [
|
|
1240
1241
|
"aria-label",
|
|
1241
1242
|
"disabled",
|
|
1242
1243
|
"onChange"
|
|
1243
|
-
],
|
|
1244
|
+
], _a = {
|
|
1244
1245
|
disabled: "",
|
|
1245
1246
|
value: ""
|
|
1246
|
-
},
|
|
1247
|
+
}, va = { value: "all" }, ya = ["value"], ba = { class: "mwnf-dxa-date-wrapper" }, xa = {
|
|
1247
1248
|
__name: "CollectionResults",
|
|
1248
1249
|
setup(t) {
|
|
1249
|
-
let { t: n, locale: r } = q(), { themeOptions: o, subThemeOptions: s, scopeFor: c } =
|
|
1250
|
+
let { t: n, locale: r } = q(), { themeOptions: o, subThemeOptions: s, scopeFor: c } = Ji(r), l = {
|
|
1250
1251
|
viewBox: "0 0 512 512",
|
|
1251
1252
|
path: "M471.6 21.7c-21.9-21.9-57.3-21.9-79.2 0L362.3 51.7l97.9 97.9 30.1-30.1c21.9-21.9 21.9-57.3 0-79.2L471.6 21.7zm-299.2 220c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.7 15.7-7.4 21.9-13.5L437.7 172.3 339.7 74.3 172.4 241.7zM96 64C43 64 0 107 0 160V416c0 53 43 96 96 96H352c53 0 96-43 96-96V320c0-17.7-14.3-32-32-32s-32 14.3-32 32v96c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H96z"
|
|
1252
1253
|
}, u = {
|
|
@@ -1305,13 +1306,13 @@ var Ki = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, qi =
|
|
|
1305
1306
|
subtheme: n
|
|
1306
1307
|
});
|
|
1307
1308
|
}
|
|
1308
|
-
return (t, r) => (L(), M("div",
|
|
1309
|
+
return (t, r) => (L(), M("div", Yi, [F(E, {
|
|
1309
1310
|
spec: b,
|
|
1310
1311
|
class: "mwnf-dxa-collection-results"
|
|
1311
1312
|
}, {
|
|
1312
1313
|
before: H(({ filters: r, options: i, matching: a, pageInfo: o }) => [
|
|
1313
1314
|
F(e),
|
|
1314
|
-
N("div",
|
|
1315
|
+
N("div", Xi, [N("p", null, [P(B(V(n)("exhibition.collection.heading")) + " | ", 1), N("span", Zi, B(re(r, i, a)), 1)]), N("p", null, B(o.total) + " " + B(V(n)("exhibition.collection.resultsOutOf")) + " " + B(te.value) + " " + B(V(n)("exhibition.collection.items")), 1)]),
|
|
1315
1316
|
F(Q, {
|
|
1316
1317
|
class: "mwnf-dxa-exhibition-pages--top",
|
|
1317
1318
|
"page-info": o,
|
|
@@ -1332,7 +1333,7 @@ var Ki = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, qi =
|
|
|
1332
1333
|
key: 0,
|
|
1333
1334
|
"page-info": e,
|
|
1334
1335
|
onNavigate: t
|
|
1335
|
-
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div",
|
|
1336
|
+
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div", Qi))]),
|
|
1336
1337
|
aside: H(({ filters: e, apply: t, reset: c, matching: d, options: p }) => [f.value ? (L(), M("button", {
|
|
1337
1338
|
key: 0,
|
|
1338
1339
|
type: "button",
|
|
@@ -1344,7 +1345,7 @@ var Ki = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, qi =
|
|
|
1344
1345
|
viewBox: l.viewBox,
|
|
1345
1346
|
"aria-hidden": "true",
|
|
1346
1347
|
focusable: "false"
|
|
1347
|
-
}, [N("path", { d: l.path }, null, 8,
|
|
1348
|
+
}, [N("path", { d: l.path }, null, 8, ta)], 8, ea))], 8, $i)) : j("", !0), U(N("div", na, [
|
|
1348
1349
|
f.value && m.value ? (L(), M("button", {
|
|
1349
1350
|
key: 0,
|
|
1350
1351
|
type: "button",
|
|
@@ -1355,31 +1356,31 @@ var Ki = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, qi =
|
|
|
1355
1356
|
viewBox: u.viewBox,
|
|
1356
1357
|
"aria-hidden": "true",
|
|
1357
1358
|
focusable: "false"
|
|
1358
|
-
}, [N("path", { d: u.path }, null, 8,
|
|
1359
|
-
x(e) ? j("", !0) : (L(), M("div",
|
|
1359
|
+
}, [N("path", { d: u.path }, null, 8, aa)], 8, ia))], 8, ra)) : j("", !0),
|
|
1360
|
+
x(e) ? j("", !0) : (L(), M("div", oa, [N("div", sa, B(V(n)("exhibition.collection.filterByTheme")), 1), N("div", ca, [N("select", {
|
|
1360
1361
|
class: "mwnf-facet__select",
|
|
1361
1362
|
"aria-label": V(n)("exhibition.collection.selectTheme"),
|
|
1362
1363
|
value: e.theme || "",
|
|
1363
1364
|
disabled: !d.length,
|
|
1364
1365
|
onChange: (e) => ie(t, c, e.target.value)
|
|
1365
1366
|
}, [
|
|
1366
|
-
N("option",
|
|
1367
|
-
N("option",
|
|
1367
|
+
N("option", ua, B(V(n)("exhibition.collection.selectTheme")), 1),
|
|
1368
|
+
N("option", da, B(V(n)("exhibition.collection.allThemes")), 1),
|
|
1368
1369
|
(L(!0), M(O, null, z(V(o), (e) => (L(), M("option", {
|
|
1369
1370
|
key: e.value,
|
|
1370
1371
|
value: e.value
|
|
1371
|
-
}, B(e.label), 9,
|
|
1372
|
-
], 40,
|
|
1372
|
+
}, B(e.label), 9, fa))), 128))
|
|
1373
|
+
], 40, la), e.theme && V(s)(e.theme).length ? (L(), M("select", {
|
|
1373
1374
|
key: 0,
|
|
1374
1375
|
class: "mwnf-facet__select",
|
|
1375
1376
|
"aria-label": V(n)("exhibition.themeGallery.select"),
|
|
1376
1377
|
value: e.subtheme || "",
|
|
1377
1378
|
disabled: !d.length,
|
|
1378
1379
|
onChange: (n) => ae(t, e, n.target.value)
|
|
1379
|
-
}, [N("option",
|
|
1380
|
+
}, [N("option", ma, B(V(n)("exhibition.themeGallery.select")), 1), (L(!0), M(O, null, z(V(s)(e.theme), (e) => (L(), M("option", {
|
|
1380
1381
|
key: e.value,
|
|
1381
1382
|
value: e.value
|
|
1382
|
-
}, B(e.label), 9,
|
|
1383
|
+
}, B(e.label), 9, ha))), 128))], 40, pa)) : j("", !0)])])),
|
|
1383
1384
|
F(a, {
|
|
1384
1385
|
mode: "immediate",
|
|
1385
1386
|
title: x(e) ? V(n)("exhibition.collection.filterBy") : V(n)("exhibition.collection.filterFurtherBy"),
|
|
@@ -1396,13 +1397,13 @@ var Ki = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, qi =
|
|
|
1396
1397
|
disabled: !d.length,
|
|
1397
1398
|
onChange: (e) => ie(t, c, e.target.value)
|
|
1398
1399
|
}, [
|
|
1399
|
-
N("option",
|
|
1400
|
-
N("option",
|
|
1400
|
+
N("option", _a, B(V(n)("exhibition.collection.selectTheme")), 1),
|
|
1401
|
+
N("option", va, B(V(n)("exhibition.collection.allThemes")), 1),
|
|
1401
1402
|
(L(!0), M(O, null, z(V(o), (e) => (L(), M("option", {
|
|
1402
1403
|
key: e.value,
|
|
1403
1404
|
value: e.value
|
|
1404
|
-
}, B(e.label), 9,
|
|
1405
|
-
], 40,
|
|
1405
|
+
}, B(e.label), 9, ya))), 128))
|
|
1406
|
+
], 40, ga)) : j("", !0),
|
|
1406
1407
|
F(i, {
|
|
1407
1408
|
"model-value": e.country,
|
|
1408
1409
|
options: p.country,
|
|
@@ -1427,7 +1428,7 @@ var Ki = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, qi =
|
|
|
1427
1428
|
"placeholder",
|
|
1428
1429
|
"onUpdate:modelValue"
|
|
1429
1430
|
])), 64)),
|
|
1430
|
-
N("div",
|
|
1431
|
+
N("div", ba, [F(i, {
|
|
1431
1432
|
"model-value": e.from,
|
|
1432
1433
|
options: V(J)(d, y),
|
|
1433
1434
|
placeholder: V(n)("exhibition.collection.startDate"),
|
|
@@ -1460,26 +1461,26 @@ var Ki = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, qi =
|
|
|
1460
1461
|
_: 1
|
|
1461
1462
|
})]));
|
|
1462
1463
|
}
|
|
1463
|
-
},
|
|
1464
|
+
}, Sa = { class: "mwnf-dxa-exhibition-collection" }, Ca = { class: "mwnf-dxa-exhibition-collection__dropdowns" }, wa = { class: "mwnf-dxa-exhibition-collection__label" }, Ta = { class: "mwnf-dxa-exhibition-collection__selects" }, Ea = ["aria-label"], Da = {
|
|
1464
1465
|
selected: "",
|
|
1465
1466
|
disabled: "",
|
|
1466
1467
|
value: ""
|
|
1467
|
-
},
|
|
1468
|
+
}, Oa = { value: "all" }, ka = ["value"], Aa = ["aria-label", "onChange"], ja = {
|
|
1468
1469
|
selected: "",
|
|
1469
1470
|
disabled: "",
|
|
1470
1471
|
value: ""
|
|
1471
|
-
},
|
|
1472
|
+
}, Ma = ["value"], Na = { class: "mwnf-dxa-exhibition-collection__dates" }, Pa = ["aria-label"], Fa = {
|
|
1472
1473
|
selected: "",
|
|
1473
1474
|
disabled: "",
|
|
1474
1475
|
value: ""
|
|
1475
|
-
},
|
|
1476
|
+
}, Ia = ["value"], La = ["aria-label"], Ra = {
|
|
1476
1477
|
selected: "",
|
|
1477
1478
|
disabled: "",
|
|
1478
1479
|
value: ""
|
|
1479
|
-
},
|
|
1480
|
+
}, za = ["value"], Ba = {
|
|
1480
1481
|
__name: "CollectionSearch",
|
|
1481
1482
|
setup(e) {
|
|
1482
|
-
let t = It(), { t: n, locale: r } = q(), { themeOptions: i } =
|
|
1483
|
+
let t = It(), { t: n, locale: r } = q(), { themeOptions: i } = Ji(r), a = At(De, Ue), o = k(() => [
|
|
1483
1484
|
{
|
|
1484
1485
|
key: "country",
|
|
1485
1486
|
name: "exhibition.collection.selectCountry",
|
|
@@ -1505,59 +1506,59 @@ var Ki = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, qi =
|
|
|
1505
1506
|
query: { [e]: String(n) }
|
|
1506
1507
|
}));
|
|
1507
1508
|
}
|
|
1508
|
-
return (e, t) => (L(), M("div",
|
|
1509
|
+
return (e, t) => (L(), M("div", Sa, [N("div", Ca, [N("div", wa, B(V(n)("exhibition.collection.filterBy")), 1), N("div", Ta, [
|
|
1509
1510
|
N("select", {
|
|
1510
1511
|
class: "mwnf-dxa-exhibition-collection__select",
|
|
1511
1512
|
"aria-label": V(n)("exhibition.collection.selectTheme"),
|
|
1512
1513
|
onChange: t[0] ||= (e) => u("theme", e.target.value)
|
|
1513
1514
|
}, [
|
|
1514
|
-
N("option",
|
|
1515
|
-
N("option",
|
|
1515
|
+
N("option", Da, B(V(n)("exhibition.collection.selectTheme")), 1),
|
|
1516
|
+
N("option", Oa, B(V(n)("exhibition.collection.allThemes")), 1),
|
|
1516
1517
|
(L(!0), M(O, null, z(V(i), (e) => (L(), M("option", {
|
|
1517
1518
|
key: e.value,
|
|
1518
1519
|
value: e.value
|
|
1519
|
-
}, B(e.label), 9,
|
|
1520
|
-
], 40,
|
|
1520
|
+
}, B(e.label), 9, ka))), 128))
|
|
1521
|
+
], 40, Ea),
|
|
1521
1522
|
(L(!0), M(O, null, z(o.value, (e) => (L(), M("select", {
|
|
1522
1523
|
key: e.key,
|
|
1523
1524
|
class: "mwnf-dxa-exhibition-collection__select",
|
|
1524
1525
|
"aria-label": V(n)(e.name),
|
|
1525
1526
|
onChange: (t) => u(e.key, t.target.value)
|
|
1526
|
-
}, [N("option",
|
|
1527
|
+
}, [N("option", ja, B(V(n)(e.name)), 1), (L(!0), M(O, null, z(e.options, (e) => (L(), M("option", {
|
|
1527
1528
|
key: e.value,
|
|
1528
1529
|
value: String(e.value)
|
|
1529
|
-
}, B(e.label), 9,
|
|
1530
|
-
N("div",
|
|
1530
|
+
}, B(e.label), 9, Ma))), 128))], 40, Aa))), 128)),
|
|
1531
|
+
N("div", Na, [N("select", {
|
|
1531
1532
|
class: "mwnf-dxa-exhibition-collection__select",
|
|
1532
1533
|
"aria-label": V(n)("exhibition.collection.startDate"),
|
|
1533
1534
|
onChange: t[1] ||= (e) => u("from", e.target.value)
|
|
1534
|
-
}, [N("option",
|
|
1535
|
+
}, [N("option", Fa, B(V(n)("exhibition.collection.startDate")), 1), (L(!0), M(O, null, z(l.value, (e) => (L(), M("option", {
|
|
1535
1536
|
key: e.value,
|
|
1536
1537
|
value: String(e.value)
|
|
1537
|
-
}, B(e.label), 9,
|
|
1538
|
+
}, B(e.label), 9, Ia))), 128))], 40, Pa), N("select", {
|
|
1538
1539
|
class: "mwnf-dxa-exhibition-collection__select",
|
|
1539
1540
|
"aria-label": V(n)("exhibition.collection.endDate"),
|
|
1540
1541
|
onChange: t[2] ||= (e) => u("to", e.target.value)
|
|
1541
|
-
}, [N("option",
|
|
1542
|
+
}, [N("option", Ra, B(V(n)("exhibition.collection.endDate")), 1), (L(!0), M(O, null, z(l.value, (e) => (L(), M("option", {
|
|
1542
1543
|
key: e.value,
|
|
1543
1544
|
value: String(e.value)
|
|
1544
|
-
}, B(e.label), 9,
|
|
1545
|
+
}, B(e.label), 9, za))), 128))], 40, La)])
|
|
1545
1546
|
])]), F(V(W), {
|
|
1546
1547
|
class: "mwnf-dxa-exhibition-collection__description mwnf-prose",
|
|
1547
1548
|
dir: "auto",
|
|
1548
1549
|
keypath: "exhibition.collection.intro"
|
|
1549
1550
|
})]));
|
|
1550
1551
|
}
|
|
1551
|
-
},
|
|
1552
|
+
}, Va = {
|
|
1552
1553
|
key: 0,
|
|
1553
1554
|
class: "mwnf-dxa-exhibition-partner-objects"
|
|
1554
|
-
},
|
|
1555
|
+
}, Ha = {
|
|
1555
1556
|
key: 0,
|
|
1556
1557
|
class: "mwnf-dxa-exhibition-partner-objects__header"
|
|
1557
|
-
},
|
|
1558
|
+
}, Ua = { class: "mwnf-dxa-exhibition-partner-objects__name" }, Wa = { class: "mwnf-dxa-exhibition-partner-objects__place" }, Ga = { class: "mwnf-dxa-exhibition-partner-objects__content" }, Ka = { class: "mwnf-dxa-exhibition-partner-objects__grid" }, qa = { class: "mwnf-dxa-exhibition-partner-objects__profile" }, Ja = {
|
|
1558
1559
|
key: 1,
|
|
1559
1560
|
class: "mwnf-dxa-exhibition-partner-objects__end"
|
|
1560
|
-
},
|
|
1561
|
+
}, Ya = {
|
|
1561
1562
|
__name: "PartnerObjects",
|
|
1562
1563
|
props: {
|
|
1563
1564
|
variant: {
|
|
@@ -1586,27 +1587,27 @@ var Ki = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, qi =
|
|
|
1586
1587
|
place: [n.location, T("countries", t.country_id)].filter(Boolean).join(", ")
|
|
1587
1588
|
};
|
|
1588
1589
|
}
|
|
1589
|
-
return (n, i) => a.value ? (L(), M("div",
|
|
1590
|
+
return (n, i) => a.value ? (L(), M("div", Va, [F(E, {
|
|
1590
1591
|
spec: o.value,
|
|
1591
1592
|
class: "mwnf-dxa-partner-objects"
|
|
1592
1593
|
}, {
|
|
1593
1594
|
before: H(({ matching: t, pageInfo: n, goToPage: r }) => [
|
|
1594
1595
|
F(e),
|
|
1595
|
-
s(t) ? (L(), M("div",
|
|
1596
|
+
s(t) ? (L(), M("div", Ha, [N("p", Ua, B(s(t).name), 1), N("p", Wa, B(s(t).place), 1)])) : j("", !0),
|
|
1596
1597
|
F(Q, {
|
|
1597
1598
|
class: "mwnf-dxa-exhibition-pages--top",
|
|
1598
1599
|
"page-info": n,
|
|
1599
1600
|
onNavigate: r
|
|
1600
1601
|
}, null, 8, ["page-info", "onNavigate"])
|
|
1601
1602
|
]),
|
|
1602
|
-
records: H(({ rows: e }) => [N("div",
|
|
1603
|
+
records: H(({ rows: e }) => [N("div", Ga, [N("div", Ka, [e.length ? (L(), A($, {
|
|
1603
1604
|
key: 0,
|
|
1604
1605
|
rows: e,
|
|
1605
1606
|
family: "exhibition"
|
|
1606
1607
|
}, null, 8, ["rows"])) : (L(), A(V(W), {
|
|
1607
1608
|
key: 1,
|
|
1608
1609
|
keypath: r.value ? t.texts.emptyInstitution : t.texts.emptyPartner
|
|
1609
|
-
}, null, 8, ["keypath"]))]), N("div",
|
|
1610
|
+
}, null, 8, ["keypath"]))]), N("div", qa, [F(V(Y), { to: V(xe)(a.value) }, {
|
|
1610
1611
|
default: H(() => [i[0] ||= N("span", { "aria-hidden": "true" }, "➦", -1), P(" " + B(n.$t(r.value ? t.texts.institutionProfileLabel : t.texts.partnerProfileLabel)), 1)]),
|
|
1611
1612
|
_: 1
|
|
1612
1613
|
}, 8, ["to"])])])]),
|
|
@@ -1615,18 +1616,18 @@ var Ki = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, qi =
|
|
|
1615
1616
|
key: 0,
|
|
1616
1617
|
"page-info": e,
|
|
1617
1618
|
onNavigate: t
|
|
1618
|
-
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div",
|
|
1619
|
+
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div", Ja))]),
|
|
1619
1620
|
_: 1
|
|
1620
1621
|
}, 8, ["spec"])])) : j("", !0);
|
|
1621
1622
|
}
|
|
1622
|
-
},
|
|
1623
|
+
}, Xa = () => Promise.resolve().then(() => as), Za = () => Promise.resolve().then(() => ms), Qa = () => Promise.resolve().then(() => gs), $a = () => Promise.resolve().then(() => Ms), eo = () => Promise.resolve().then(() => Fs), to = () => Promise.resolve().then(() => Rs), no = () => import("./Theme-BM4TFT0i.js").then((e) => e.t), ro = () => Promise.resolve().then(() => nc), io = () => Promise.resolve().then(() => xc), ao = () => Promise.resolve().then(() => Cc), oo = () => Promise.resolve().then(() => zc), so = {
|
|
1623
1624
|
emptyPartner: "exhibition.partnerObjects.emptyPartner",
|
|
1624
1625
|
emptyInstitution: "exhibition.partnerObjects.emptyInstitution",
|
|
1625
1626
|
institutionSummary: "exhibition.partner.monumentsInExhibition",
|
|
1626
1627
|
partnerProfileLabel: "partner.action.partnerProfile",
|
|
1627
1628
|
institutionProfileLabel: "exhibition.partnerObjects.institutionProfile"
|
|
1628
1629
|
};
|
|
1629
|
-
function
|
|
1630
|
+
function co(e) {
|
|
1630
1631
|
let t = Ot([
|
|
1631
1632
|
"gallery",
|
|
1632
1633
|
"items",
|
|
@@ -1638,27 +1639,27 @@ function ao(e) {
|
|
|
1638
1639
|
{
|
|
1639
1640
|
path: "/",
|
|
1640
1641
|
name: "home",
|
|
1641
|
-
component:
|
|
1642
|
+
component: Xa,
|
|
1642
1643
|
meta: t("home")
|
|
1643
1644
|
},
|
|
1644
1645
|
{
|
|
1645
1646
|
path: "/item/:id",
|
|
1646
1647
|
name: "item",
|
|
1647
|
-
component:
|
|
1648
|
+
component: Za,
|
|
1648
1649
|
props: (e) => ({ id: String(e.params.id) }),
|
|
1649
1650
|
meta: t("database", "languages", "dynasties", "glossary", "timelines", "timeline_events")
|
|
1650
1651
|
},
|
|
1651
1652
|
{
|
|
1652
1653
|
path: "/timeline",
|
|
1653
1654
|
name: "timeline",
|
|
1654
|
-
component:
|
|
1655
|
+
component: Qa,
|
|
1655
1656
|
meta: t("timeline", "timelines", "timeline_events")
|
|
1656
1657
|
}
|
|
1657
1658
|
] : [],
|
|
1658
1659
|
{
|
|
1659
1660
|
path: "/search",
|
|
1660
1661
|
name: "search-results",
|
|
1661
|
-
component:
|
|
1662
|
+
component: Rn,
|
|
1662
1663
|
meta: t("database")
|
|
1663
1664
|
},
|
|
1664
1665
|
{
|
|
@@ -1670,7 +1671,7 @@ function ao(e) {
|
|
|
1670
1671
|
{
|
|
1671
1672
|
path: "/partners",
|
|
1672
1673
|
name: "partners",
|
|
1673
|
-
component:
|
|
1674
|
+
component: pn,
|
|
1674
1675
|
meta: t("partners")
|
|
1675
1676
|
},
|
|
1676
1677
|
{
|
|
@@ -1686,19 +1687,19 @@ function ao(e) {
|
|
|
1686
1687
|
{
|
|
1687
1688
|
path: "/partner/:id/objects",
|
|
1688
1689
|
name: "partner-objects",
|
|
1689
|
-
component:
|
|
1690
|
+
component: yr,
|
|
1690
1691
|
meta: t("partners")
|
|
1691
1692
|
},
|
|
1692
1693
|
{
|
|
1693
1694
|
path: "/timeline-results",
|
|
1694
1695
|
name: "timeline-results",
|
|
1695
|
-
component:
|
|
1696
|
+
component: zn,
|
|
1696
1697
|
meta: t("timeline", "timelines", "timeline_events")
|
|
1697
1698
|
},
|
|
1698
1699
|
{
|
|
1699
1700
|
path: "/timeline/gallery",
|
|
1700
1701
|
name: "timeline-gallery",
|
|
1701
|
-
component:
|
|
1702
|
+
component: Hn,
|
|
1702
1703
|
meta: t("timeline", "timelines", "timeline_events")
|
|
1703
1704
|
},
|
|
1704
1705
|
{
|
|
@@ -1717,25 +1718,25 @@ function ao(e) {
|
|
|
1717
1718
|
{
|
|
1718
1719
|
path: "/collection",
|
|
1719
1720
|
name: "collection",
|
|
1720
|
-
component:
|
|
1721
|
+
component: pr,
|
|
1721
1722
|
meta: t("collection", "tags")
|
|
1722
1723
|
},
|
|
1723
1724
|
{
|
|
1724
1725
|
path: "/collection-results",
|
|
1725
1726
|
name: "collection-results",
|
|
1726
|
-
component:
|
|
1727
|
+
component: Zn,
|
|
1727
1728
|
meta: t("collection", "tags", "timelines")
|
|
1728
1729
|
}
|
|
1729
1730
|
];
|
|
1730
1731
|
}
|
|
1731
|
-
function
|
|
1732
|
+
function lo(e) {
|
|
1732
1733
|
let t = Ot([
|
|
1733
1734
|
"exhibition",
|
|
1734
1735
|
"items",
|
|
1735
1736
|
"partners",
|
|
1736
1737
|
"countries"
|
|
1737
1738
|
]), n = {
|
|
1738
|
-
...
|
|
1739
|
+
...so,
|
|
1739
1740
|
...e.partnerObjects
|
|
1740
1741
|
};
|
|
1741
1742
|
return [
|
|
@@ -1743,50 +1744,50 @@ function oo(e) {
|
|
|
1743
1744
|
{
|
|
1744
1745
|
path: "/",
|
|
1745
1746
|
name: "home",
|
|
1746
|
-
component:
|
|
1747
|
+
component: $a,
|
|
1747
1748
|
meta: t("home")
|
|
1748
1749
|
},
|
|
1749
1750
|
{
|
|
1750
1751
|
path: "/about",
|
|
1751
1752
|
name: "about",
|
|
1752
|
-
component:
|
|
1753
|
+
component: eo,
|
|
1753
1754
|
meta: t("about", "themes", "glossary", "dynasties")
|
|
1754
1755
|
},
|
|
1755
1756
|
{
|
|
1756
1757
|
path: "/themes",
|
|
1757
1758
|
name: "themes",
|
|
1758
|
-
component:
|
|
1759
|
+
component: to,
|
|
1759
1760
|
meta: t("themes", "themes")
|
|
1760
1761
|
},
|
|
1761
1762
|
{
|
|
1762
1763
|
path: "/theme/:id/:subtheme?/:image?",
|
|
1763
1764
|
name: "theme",
|
|
1764
|
-
component:
|
|
1765
|
+
component: no,
|
|
1765
1766
|
meta: t("themes", "themes", "glossary", "dynasties")
|
|
1766
1767
|
},
|
|
1767
1768
|
{
|
|
1768
1769
|
path: "/theme-gallery/:id/:subtheme?",
|
|
1769
1770
|
name: "theme-gallery",
|
|
1770
|
-
component:
|
|
1771
|
+
component: ro,
|
|
1771
1772
|
meta: t("themes", "themes")
|
|
1772
1773
|
},
|
|
1773
1774
|
{
|
|
1774
1775
|
path: "/item/:id",
|
|
1775
1776
|
name: "item",
|
|
1776
|
-
component:
|
|
1777
|
+
component: io,
|
|
1777
1778
|
props: (e) => ({ id: String(e.params.id) }),
|
|
1778
1779
|
meta: t("database", "languages", "dynasties", "glossary", "timelines", "timeline_events")
|
|
1779
1780
|
},
|
|
1780
1781
|
{
|
|
1781
1782
|
path: "/related",
|
|
1782
1783
|
name: "related",
|
|
1783
|
-
component:
|
|
1784
|
+
component: ao,
|
|
1784
1785
|
meta: t("related", "related_content")
|
|
1785
1786
|
},
|
|
1786
1787
|
{
|
|
1787
1788
|
path: "/timeline",
|
|
1788
1789
|
name: "timeline",
|
|
1789
|
-
component:
|
|
1790
|
+
component: oo,
|
|
1790
1791
|
meta: t("timeline", "timelines", "timeline_events")
|
|
1791
1792
|
},
|
|
1792
1793
|
...e.creditsBody ? [{
|
|
@@ -1800,19 +1801,19 @@ function oo(e) {
|
|
|
1800
1801
|
{
|
|
1801
1802
|
path: "/search",
|
|
1802
1803
|
name: "search-results",
|
|
1803
|
-
component:
|
|
1804
|
+
component: ii,
|
|
1804
1805
|
meta: t("database")
|
|
1805
1806
|
},
|
|
1806
1807
|
{
|
|
1807
1808
|
path: "/how-to-search",
|
|
1808
1809
|
name: "search-how-to",
|
|
1809
|
-
component:
|
|
1810
|
+
component: xr,
|
|
1810
1811
|
meta: t("database")
|
|
1811
1812
|
},
|
|
1812
1813
|
{
|
|
1813
1814
|
path: "/partners",
|
|
1814
1815
|
name: "partners",
|
|
1815
|
-
component:
|
|
1816
|
+
component: Fr,
|
|
1816
1817
|
meta: t("partners")
|
|
1817
1818
|
},
|
|
1818
1819
|
{
|
|
@@ -1828,7 +1829,7 @@ function oo(e) {
|
|
|
1828
1829
|
{
|
|
1829
1830
|
path: "/partner/:id/objects",
|
|
1830
1831
|
name: "partner-objects",
|
|
1831
|
-
component:
|
|
1832
|
+
component: Ya,
|
|
1832
1833
|
props: { texts: n },
|
|
1833
1834
|
meta: t("partners")
|
|
1834
1835
|
},
|
|
@@ -1846,7 +1847,7 @@ function oo(e) {
|
|
|
1846
1847
|
{
|
|
1847
1848
|
path: "/institution/:id/monuments",
|
|
1848
1849
|
name: "institution-monuments",
|
|
1849
|
-
component:
|
|
1850
|
+
component: Ya,
|
|
1850
1851
|
props: {
|
|
1851
1852
|
variant: "institution",
|
|
1852
1853
|
texts: n
|
|
@@ -1856,36 +1857,36 @@ function oo(e) {
|
|
|
1856
1857
|
{
|
|
1857
1858
|
path: "/timeline-results",
|
|
1858
1859
|
name: "timeline-results",
|
|
1859
|
-
component:
|
|
1860
|
+
component: Mi,
|
|
1860
1861
|
meta: t("timeline", "timelines", "timeline_events")
|
|
1861
1862
|
},
|
|
1862
1863
|
{
|
|
1863
1864
|
path: "/timeline/gallery",
|
|
1864
1865
|
name: "timeline-gallery",
|
|
1865
|
-
component:
|
|
1866
|
+
component: zi,
|
|
1866
1867
|
meta: t("timeline", "timelines", "timeline_events")
|
|
1867
1868
|
},
|
|
1868
1869
|
{
|
|
1869
1870
|
path: "/collection",
|
|
1870
1871
|
name: "collection",
|
|
1871
|
-
component:
|
|
1872
|
+
component: Ba,
|
|
1872
1873
|
meta: t("collection", "tags", "themes")
|
|
1873
1874
|
},
|
|
1874
1875
|
{
|
|
1875
1876
|
path: "/collection-results",
|
|
1876
1877
|
name: "collection-results",
|
|
1877
|
-
component:
|
|
1878
|
+
component: xa,
|
|
1878
1879
|
meta: t("collection", "tags", "timelines", "themes")
|
|
1879
1880
|
}
|
|
1880
1881
|
];
|
|
1881
1882
|
}
|
|
1882
|
-
function
|
|
1883
|
-
if (e === "gallery") return
|
|
1884
|
-
if (e === "exhibition") return
|
|
1883
|
+
function uo(e, t = {}) {
|
|
1884
|
+
if (e === "gallery") return co(t);
|
|
1885
|
+
if (e === "exhibition") return lo(t);
|
|
1885
1886
|
throw Error(`standardRoutes: unknown family "${e}" (expected "gallery" or "exhibition")`);
|
|
1886
1887
|
}
|
|
1887
1888
|
// node_modules/@museumwnf/viewer-core/src/legacy/index.js
|
|
1888
|
-
function
|
|
1889
|
+
function fo(e, t = []) {
|
|
1889
1890
|
let n = String(e?.backward_compatibility ?? "").split(":");
|
|
1890
1891
|
if (n[0] === "mwnf3_sharing_history") {
|
|
1891
1892
|
let t = n[2] ?? e?.id ?? "";
|
|
@@ -1904,18 +1905,18 @@ function co(e, t = []) {
|
|
|
1904
1905
|
countryCode: r?.code ?? ""
|
|
1905
1906
|
};
|
|
1906
1907
|
}
|
|
1907
|
-
function
|
|
1908
|
+
function po(e, t, n, r) {
|
|
1908
1909
|
return (e ?? []).find((e) => {
|
|
1909
|
-
let i =
|
|
1910
|
+
let i = fo(e, t);
|
|
1910
1911
|
return i.legacyId === r && i.countryCode === n;
|
|
1911
1912
|
}) ?? null;
|
|
1912
1913
|
}
|
|
1913
|
-
function
|
|
1914
|
+
function mo(e, t) {
|
|
1914
1915
|
let n = String(t ?? "").split("/").join(":").toLowerCase();
|
|
1915
1916
|
return (e ?? []).find((e) => e?.backward_compatibility?.toLowerCase() === n) ?? null;
|
|
1916
1917
|
}
|
|
1917
1918
|
// src/dxa/gallery/Shell.vue
|
|
1918
|
-
var
|
|
1919
|
+
var ho = {
|
|
1919
1920
|
__name: "Shell",
|
|
1920
1921
|
props: {
|
|
1921
1922
|
language: {
|
|
@@ -1992,10 +1993,10 @@ var fo = {
|
|
|
1992
1993
|
"footer-text"
|
|
1993
1994
|
]));
|
|
1994
1995
|
}
|
|
1995
|
-
},
|
|
1996
|
+
}, go = {
|
|
1996
1997
|
key: 0,
|
|
1997
1998
|
class: "mwnf-popup-logo"
|
|
1998
|
-
},
|
|
1999
|
+
}, _o = ["aria-label"], vo = ["innerHTML"], yo = ["innerHTML"], bo = {
|
|
1999
2000
|
__name: "PopupLogo",
|
|
2000
2001
|
props: {
|
|
2001
2002
|
content: {
|
|
@@ -2017,21 +2018,21 @@ var fo = {
|
|
|
2017
2018
|
},
|
|
2018
2019
|
setup(e) {
|
|
2019
2020
|
let t = e, n = R(!1), r = k(() => t.rawHtml ? t.content : K(t.content)), i = k(() => t.enabled && !!t.content && !n.value);
|
|
2020
|
-
return (t, a) => i.value ? (L(), M("div",
|
|
2021
|
+
return (t, a) => i.value ? (L(), M("div", go, [N("button", {
|
|
2021
2022
|
class: "mwnf-popup-logo__close",
|
|
2022
2023
|
"aria-label": t.$t(e.closeLabel),
|
|
2023
2024
|
onClick: a[0] ||= (e) => n.value = !0
|
|
2024
|
-
}, "✕", 8,
|
|
2025
|
+
}, "✕", 8, _o), e.rawHtml ? (L(), M("div", {
|
|
2025
2026
|
key: 0,
|
|
2026
2027
|
class: "mwnf-popup-logo__content",
|
|
2027
2028
|
innerHTML: r.value
|
|
2028
|
-
}, null, 8,
|
|
2029
|
+
}, null, 8, vo)) : (L(), M("div", {
|
|
2029
2030
|
key: 1,
|
|
2030
2031
|
class: "mwnf-popup-logo__content",
|
|
2031
2032
|
innerHTML: r.value
|
|
2032
|
-
}, null, 8,
|
|
2033
|
+
}, null, 8, yo))])) : j("", !0);
|
|
2033
2034
|
}
|
|
2034
|
-
},
|
|
2035
|
+
}, xo = {
|
|
2035
2036
|
__name: "Shell",
|
|
2036
2037
|
props: {
|
|
2037
2038
|
language: {
|
|
@@ -2128,7 +2129,7 @@ var fo = {
|
|
|
2128
2129
|
logos: _.value,
|
|
2129
2130
|
"onUpdate:language": t[0] ||= (e) => r("update:language", e)
|
|
2130
2131
|
}, ct({
|
|
2131
|
-
notice: H(() => [F(
|
|
2132
|
+
notice: H(() => [F(bo, {
|
|
2132
2133
|
content: y.value,
|
|
2133
2134
|
enabled: ee.value,
|
|
2134
2135
|
"raw-html": ""
|
|
@@ -2161,25 +2162,25 @@ var fo = {
|
|
|
2161
2162
|
}
|
|
2162
2163
|
};
|
|
2163
2164
|
// src/dxa/config.js
|
|
2164
|
-
function
|
|
2165
|
+
function So(e, t) {
|
|
2165
2166
|
let n = `exhibition.sponsors.section${Number(t)}`, r = e(n);
|
|
2166
2167
|
return r && r !== n ? r : null;
|
|
2167
2168
|
}
|
|
2168
|
-
function
|
|
2169
|
+
function Co({ country: e, start: t, end: n, page: r }) {
|
|
2169
2170
|
let i = { country: e };
|
|
2170
2171
|
return t !== "any" && (i.begin = t), n !== "any" && (i.end = n), Number(r) > 1 && (i.page = r), {
|
|
2171
2172
|
name: "timeline-gallery",
|
|
2172
2173
|
query: i
|
|
2173
2174
|
};
|
|
2174
2175
|
}
|
|
2175
|
-
function
|
|
2176
|
+
function wo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {}, noticeProjects: i = [], creditsBody: a, chrome: o = {}, homeLogos: s = [] }) {
|
|
2176
2177
|
let { manifest: c } = kt(), l = Tt();
|
|
2177
2178
|
return {
|
|
2178
2179
|
datasetPackage: e,
|
|
2179
2180
|
siteName: c.site?.names?.en ?? t,
|
|
2180
2181
|
features: { entities: [] },
|
|
2181
2182
|
languages: l,
|
|
2182
|
-
shell:
|
|
2183
|
+
shell: ho,
|
|
2183
2184
|
navigation: {
|
|
2184
2185
|
languages: Ct(l),
|
|
2185
2186
|
links: [
|
|
@@ -2288,7 +2289,7 @@ function xo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2288
2289
|
projectColors: r,
|
|
2289
2290
|
noticeProjects: i,
|
|
2290
2291
|
site: { origin: n },
|
|
2291
|
-
extraViews:
|
|
2292
|
+
extraViews: uo("gallery", {
|
|
2292
2293
|
creditsBody: a,
|
|
2293
2294
|
pages: !0
|
|
2294
2295
|
}),
|
|
@@ -2329,7 +2330,7 @@ function xo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2329
2330
|
},
|
|
2330
2331
|
{
|
|
2331
2332
|
path: "/timeline-gallery/:country/:start/:end/:page",
|
|
2332
|
-
resolve:
|
|
2333
|
+
resolve: Co
|
|
2333
2334
|
},
|
|
2334
2335
|
{
|
|
2335
2336
|
path: "/error",
|
|
@@ -2338,18 +2339,18 @@ function xo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2338
2339
|
]
|
|
2339
2340
|
};
|
|
2340
2341
|
}
|
|
2341
|
-
function
|
|
2342
|
+
function To({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {}, noticeProjects: i = [], creditsBody: a, partnerObjects: o, chrome: s = {}, sponsorLogos: c }) {
|
|
2342
2343
|
let { manifest: l } = kt(), u = Tt(), d = async (e, t) => (await wt([
|
|
2343
2344
|
"exhibition",
|
|
2344
2345
|
"partners",
|
|
2345
2346
|
"countries"
|
|
2346
|
-
]),
|
|
2347
|
+
]), po(Ce.value, Oe.value, e, t));
|
|
2347
2348
|
return {
|
|
2348
2349
|
datasetPackage: e,
|
|
2349
2350
|
siteName: l.site?.names?.en ?? t,
|
|
2350
2351
|
features: { entities: [] },
|
|
2351
2352
|
languages: u,
|
|
2352
|
-
shell:
|
|
2353
|
+
shell: xo,
|
|
2353
2354
|
navigation: {
|
|
2354
2355
|
languages: u.map((e) => ({
|
|
2355
2356
|
code: e,
|
|
@@ -2480,7 +2481,7 @@ function So({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2480
2481
|
r ? r.push(t) : n.set(e, [t]);
|
|
2481
2482
|
}
|
|
2482
2483
|
return [...n.entries()].sort((e, t) => e[0] - t[0]).map(([e, n]) => ({
|
|
2483
|
-
title: Number(e) === 1 ? t("exhibition.sponsors.patronage") : Number(e) === 2 ? t("exhibition.sponsors.support") :
|
|
2484
|
+
title: Number(e) === 1 ? t("exhibition.sponsors.patronage") : Number(e) === 2 ? t("exhibition.sponsors.support") : So(t, e) ?? n[0].category ?? "",
|
|
2484
2485
|
sponsors: [...n].sort((e, t) => (e.display_order ?? 0) - (t.display_order ?? 0)).map((e) => ({
|
|
2485
2486
|
name: e.alt,
|
|
2486
2487
|
href: e.href,
|
|
@@ -2494,7 +2495,7 @@ function So({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2494
2495
|
projectColors: r,
|
|
2495
2496
|
noticeProjects: i,
|
|
2496
2497
|
site: { origin: n },
|
|
2497
|
-
extraViews:
|
|
2498
|
+
extraViews: uo("exhibition", {
|
|
2498
2499
|
creditsBody: a,
|
|
2499
2500
|
partnerObjects: o,
|
|
2500
2501
|
pages: !0
|
|
@@ -2504,7 +2505,7 @@ function So({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2504
2505
|
path: "/database-item/:uid(.*)/:language",
|
|
2505
2506
|
async resolve({ uid: e }) {
|
|
2506
2507
|
await wt(["items"]);
|
|
2507
|
-
let t =
|
|
2508
|
+
let t = mo(De.value, e);
|
|
2508
2509
|
return t ? {
|
|
2509
2510
|
name: "item",
|
|
2510
2511
|
params: { id: t.id }
|
|
@@ -2555,7 +2556,7 @@ function So({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2555
2556
|
},
|
|
2556
2557
|
{
|
|
2557
2558
|
path: "/timeline-gallery/:country/:start/:end/:page",
|
|
2558
|
-
resolve:
|
|
2559
|
+
resolve: Co
|
|
2559
2560
|
},
|
|
2560
2561
|
{
|
|
2561
2562
|
path: "/error",
|
|
@@ -2565,16 +2566,16 @@ function So({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2565
2566
|
};
|
|
2566
2567
|
}
|
|
2567
2568
|
// src/dxa/FeaturedPartners.vue
|
|
2568
|
-
var
|
|
2569
|
+
var Eo = {
|
|
2569
2570
|
key: 0,
|
|
2570
2571
|
class: "mwnf-featured-partners"
|
|
2571
|
-
},
|
|
2572
|
+
}, Do = { class: "mwnf-featured-partners__heading" }, Oo = { class: "mwnf-featured-partners__carousel" }, ko = {
|
|
2572
2573
|
key: 0,
|
|
2573
2574
|
class: "mwnf-featured-partners__image"
|
|
2574
|
-
},
|
|
2575
|
+
}, Ao = ["src", "alt"], jo = { class: "mwnf-featured-partners__body" }, Mo = { class: "mwnf-featured-partners__name" }, No = { class: "mwnf-featured-partners__location" }, Po = { key: 0 }, Fo = { class: "mwnf-featured-partners__description" }, Io = {
|
|
2575
2576
|
key: 0,
|
|
2576
2577
|
class: "mwnf-featured-partners__controls"
|
|
2577
|
-
},
|
|
2578
|
+
}, Lo = ["aria-label", "onClick"], Ro = 8e3, zo = {
|
|
2578
2579
|
__name: "FeaturedPartners",
|
|
2579
2580
|
props: {
|
|
2580
2581
|
records: {
|
|
@@ -2629,21 +2630,21 @@ var Co = {
|
|
|
2629
2630
|
function l() {
|
|
2630
2631
|
s && clearInterval(s), a.value.length > 0 && (s = setInterval(() => {
|
|
2631
2632
|
o.value = (o.value + 1) % a.value.length;
|
|
2632
|
-
},
|
|
2633
|
+
}, Ro));
|
|
2633
2634
|
}
|
|
2634
|
-
return dt(l), ut(() => s && clearInterval(s)), (t, r) => a.value.length ? (L(), M("section",
|
|
2635
|
-
N("h2",
|
|
2636
|
-
N("div",
|
|
2635
|
+
return dt(l), ut(() => s && clearInterval(s)), (t, r) => a.value.length ? (L(), M("section", Eo, [
|
|
2636
|
+
N("h2", Do, B(t.$t(e.headingEntry)), 1),
|
|
2637
|
+
N("div", Oo, [(L(!0), M(O, null, z(a.value, (r, i) => U((L(), M("div", {
|
|
2637
2638
|
key: r.id,
|
|
2638
2639
|
class: "mwnf-featured-partners__card"
|
|
2639
|
-
}, [r.logo ? (L(), M("span",
|
|
2640
|
+
}, [r.logo ? (L(), M("span", ko, [N("img", {
|
|
2640
2641
|
src: r.logo,
|
|
2641
2642
|
alt: r.name,
|
|
2642
2643
|
class: "mwnf-featured-partners__logo"
|
|
2643
|
-
}, null, 8,
|
|
2644
|
-
N("span",
|
|
2645
|
-
N("span",
|
|
2646
|
-
N("span",
|
|
2644
|
+
}, null, 8, Ao)])) : j("", !0), N("span", jo, [
|
|
2645
|
+
N("span", Mo, B(r.name), 1),
|
|
2646
|
+
N("span", No, [r.city ? (L(), M("span", Po, B(r.city) + ", ", 1)) : j("", !0), P(B(r.country), 1)]),
|
|
2647
|
+
N("span", Fo, B(r.description), 1),
|
|
2647
2648
|
r.route ? (L(), A(n, {
|
|
2648
2649
|
key: 0,
|
|
2649
2650
|
to: r.route,
|
|
@@ -2661,33 +2662,33 @@ var Co = {
|
|
|
2661
2662
|
_: 1
|
|
2662
2663
|
}, 8, ["to"])) : j("", !0)
|
|
2663
2664
|
])])), [[vt, i === o.value]])), 128))]),
|
|
2664
|
-
a.value.length > 1 ? (L(), M("div",
|
|
2665
|
+
a.value.length > 1 ? (L(), M("div", Io, [(L(!0), M(O, null, z(a.value, (e, n) => (L(), M("button", {
|
|
2665
2666
|
key: e.id,
|
|
2666
2667
|
class: I(["mwnf-featured-partners__bullet", { "mwnf-featured-partners__bullet--active": n === o.value }]),
|
|
2667
2668
|
"aria-label": `${t.$t("core.action.show")} ${e.name}`,
|
|
2668
2669
|
onClick: (e) => c(n)
|
|
2669
|
-
}, null, 10,
|
|
2670
|
+
}, null, 10, Lo))), 128))])) : j("", !0)
|
|
2670
2671
|
])) : j("", !0);
|
|
2671
2672
|
}
|
|
2672
|
-
},
|
|
2673
|
+
}, Bo = { class: "mwnf-sibling-galleries" }, Vo = {
|
|
2673
2674
|
key: 0,
|
|
2674
2675
|
class: "mwnf-sibling-galleries__galleries"
|
|
2675
|
-
},
|
|
2676
|
+
}, Ho = { class: "mwnf-sibling-galleries__header" }, Uo = { class: "mwnf-sibling-galleries__heading" }, Wo = ["href"], Go = { class: "mwnf-sibling-galleries__grid" }, Ko = {
|
|
2676
2677
|
key: 0,
|
|
2677
2678
|
class: "mwnf-sibling-galleries__image"
|
|
2678
|
-
},
|
|
2679
|
+
}, qo = ["src", "alt"], Jo = {
|
|
2679
2680
|
key: 1,
|
|
2680
2681
|
class: "mwnf-sibling-galleries__image mwnf-sibling-galleries__image--empty"
|
|
2681
|
-
},
|
|
2682
|
+
}, Yo = { class: "mwnf-sibling-galleries__name" }, Xo = {
|
|
2682
2683
|
key: 1,
|
|
2683
2684
|
class: "mwnf-sibling-galleries__museums"
|
|
2684
|
-
},
|
|
2685
|
+
}, Zo = { class: "mwnf-sibling-galleries__heading" }, Qo = { class: "mwnf-sibling-galleries__museums-grid" }, $o = ["href"], es = {
|
|
2685
2686
|
key: 0,
|
|
2686
2687
|
class: "mwnf-sibling-galleries__museum-image mwnf-sibling-galleries__museum-image--picture"
|
|
2687
|
-
},
|
|
2688
|
+
}, ts = ["src"], ns = {
|
|
2688
2689
|
key: 1,
|
|
2689
2690
|
class: "mwnf-sibling-galleries__museum-image"
|
|
2690
|
-
},
|
|
2691
|
+
}, rs = { class: "mwnf-sibling-galleries__museum-name" }, is = {
|
|
2691
2692
|
__name: "SiblingGalleries",
|
|
2692
2693
|
props: {
|
|
2693
2694
|
galleries: {
|
|
@@ -2716,23 +2717,23 @@ var Co = {
|
|
|
2716
2717
|
}
|
|
2717
2718
|
},
|
|
2718
2719
|
setup(e) {
|
|
2719
|
-
return (t, r) => (L(), M("section",
|
|
2720
|
+
return (t, r) => (L(), M("section", Bo, [e.galleries.length ? (L(), M("div", Vo, [N("div", Ho, [N("p", Uo, B(t.$t(e.galleriesHeadingEntry)), 1), e.seeMoreGalleriesHref ? (L(), M("a", {
|
|
2720
2721
|
key: 0,
|
|
2721
2722
|
href: e.seeMoreGalleriesHref,
|
|
2722
2723
|
target: "_blank",
|
|
2723
2724
|
rel: "noopener",
|
|
2724
2725
|
class: "mwnf-sibling-galleries__see-more"
|
|
2725
|
-
}, B(t.$t(e.seeMoreGalleriesEntry)) + " » ", 9,
|
|
2726
|
+
}, B(t.$t(e.seeMoreGalleriesEntry)) + " » ", 9, Wo)) : j("", !0)]), N("div", Go, [(L(!0), M(O, null, z(e.galleries, (e) => (L(), A(n, {
|
|
2726
2727
|
key: e.id,
|
|
2727
2728
|
to: e.route,
|
|
2728
2729
|
class: I(["mwnf-sibling-galleries__gallery", { "mwnf-sibling-galleries__gallery--no-link": !e.route }])
|
|
2729
2730
|
}, {
|
|
2730
|
-
default: H(() => [e.image ? (L(), M("span",
|
|
2731
|
+
default: H(() => [e.image ? (L(), M("span", Ko, [N("img", {
|
|
2731
2732
|
src: e.image,
|
|
2732
2733
|
alt: e.name
|
|
2733
|
-
}, null, 8,
|
|
2734
|
+
}, null, 8, qo)])) : (L(), M("span", Jo)), N("p", Yo, B(e.name), 1)]),
|
|
2734
2735
|
_: 2
|
|
2735
|
-
}, 1032, ["to", "class"]))), 128))])])) : j("", !0), e.museums.length ? (L(), M("div",
|
|
2736
|
+
}, 1032, ["to", "class"]))), 128))])])) : j("", !0), e.museums.length ? (L(), M("div", Xo, [N("div", Zo, B(t.$t(e.museumsHeadingEntry)), 1), N("div", Qo, [(L(!0), M(O, null, z(e.museums, (e) => (L(), M("a", {
|
|
2736
2737
|
key: e.name,
|
|
2737
2738
|
href: e.href || e.to,
|
|
2738
2739
|
target: "_blank",
|
|
@@ -2742,20 +2743,20 @@ var Co = {
|
|
|
2742
2743
|
"--mwnf-museum-bg": e.accent || "var(--mwnf-color-border)",
|
|
2743
2744
|
"--mwnf-museum-text": e.textColor || "inherit"
|
|
2744
2745
|
})
|
|
2745
|
-
}, [e.image ? (L(), M("div",
|
|
2746
|
+
}, [e.image ? (L(), M("div", es, [N("img", {
|
|
2746
2747
|
src: e.image,
|
|
2747
2748
|
alt: ""
|
|
2748
|
-
}, null, 8,
|
|
2749
|
+
}, null, 8, ts)])) : (L(), M("div", ns, B(e.name.split(" ").map((e) => e[0]).join("")), 1)), N("p", rs, B(e.name), 1)], 12, $o))), 128))])])) : j("", !0)]));
|
|
2749
2750
|
}
|
|
2750
|
-
},
|
|
2751
|
+
}, as = /* @__PURE__ */ D({ default: () => ps }), os = { class: "mwnf-dxa-home" }, ss = {
|
|
2751
2752
|
key: 0,
|
|
2752
2753
|
class: "mwnf-dxa-home-logos"
|
|
2753
|
-
},
|
|
2754
|
+
}, cs = { class: "mwnf-dxa-home-logos__label" }, ls = { class: "mwnf-dxa-home-logos__list" }, us = ["src", "alt"], ds = 3, fs = 4, ps = {
|
|
2754
2755
|
__name: "Home",
|
|
2755
2756
|
setup(e) {
|
|
2756
|
-
let { t, locale: n } = q(), r = Nt(), i = k(() => r.links ?? {}), a = k(() => oe(
|
|
2757
|
+
let { t, locale: n } = q(), r = Nt(), i = k(() => r.links ?? {}), a = k(() => oe(ds)), o = R([]);
|
|
2757
2758
|
dt(() => {
|
|
2758
|
-
o.value = u(
|
|
2759
|
+
o.value = u(fs);
|
|
2759
2760
|
});
|
|
2760
2761
|
let s = k(() => o.value.map((e) => ({
|
|
2761
2762
|
id: e.id,
|
|
@@ -2789,9 +2790,9 @@ var Co = {
|
|
|
2789
2790
|
href: e.href ?? "",
|
|
2790
2791
|
alt: e.alt ? t(e.alt) : ""
|
|
2791
2792
|
})).filter((e) => e.image)), d = k(() => `${i.value.galleries}/list`);
|
|
2792
|
-
return (e, n) => (L(), M("div",
|
|
2793
|
-
F(
|
|
2794
|
-
l.value.length ? (L(), M("section",
|
|
2793
|
+
return (e, n) => (L(), M("div", os, [
|
|
2794
|
+
F(zo, { partners: a.value }, null, 8, ["partners"]),
|
|
2795
|
+
l.value.length ? (L(), M("section", ss, [N("p", cs, B(V(t)("gallery.home.logosLabel")), 1), N("ul", ls, [(L(!0), M(O, null, z(l.value, (e) => (L(), M("li", { key: e.image }, [(L(), A(mt(e.href ? "a" : "span"), {
|
|
2795
2796
|
class: "mwnf-dxa-home-logos__logo",
|
|
2796
2797
|
href: e.href || void 0,
|
|
2797
2798
|
title: e.alt || void 0,
|
|
@@ -2801,7 +2802,7 @@ var Co = {
|
|
|
2801
2802
|
default: H(() => [N("img", {
|
|
2802
2803
|
src: e.image,
|
|
2803
2804
|
alt: e.alt
|
|
2804
|
-
}, null, 8,
|
|
2805
|
+
}, null, 8, us)]),
|
|
2805
2806
|
_: 2
|
|
2806
2807
|
}, 1032, [
|
|
2807
2808
|
"href",
|
|
@@ -2809,7 +2810,7 @@ var Co = {
|
|
|
2809
2810
|
"target",
|
|
2810
2811
|
"rel"
|
|
2811
2812
|
]))]))), 128))])])) : j("", !0),
|
|
2812
|
-
F(
|
|
2813
|
+
F(is, {
|
|
2813
2814
|
galleries: s.value,
|
|
2814
2815
|
museums: c.value,
|
|
2815
2816
|
"galleries-heading-entry": "gallery.action.visitGalleries",
|
|
@@ -2823,7 +2824,7 @@ var Co = {
|
|
|
2823
2824
|
])
|
|
2824
2825
|
]));
|
|
2825
2826
|
}
|
|
2826
|
-
},
|
|
2827
|
+
}, ms = /* @__PURE__ */ D({ default: () => hs }), hs = {
|
|
2827
2828
|
__name: "ItemDetail",
|
|
2828
2829
|
props: { id: {
|
|
2829
2830
|
type: String,
|
|
@@ -2846,28 +2847,28 @@ var Co = {
|
|
|
2846
2847
|
words: t
|
|
2847
2848
|
}, null, 8, ["id", "item-detail"]));
|
|
2848
2849
|
}
|
|
2849
|
-
},
|
|
2850
|
+
}, gs = /* @__PURE__ */ D({ default: () => js }), _s = { class: "mwnf-dxa-timeline" }, vs = { class: "mwnf-dxa-timeline__entrance" }, ys = [
|
|
2850
2851
|
"value",
|
|
2851
2852
|
"aria-label",
|
|
2852
2853
|
"onChange"
|
|
2853
|
-
],
|
|
2854
|
+
], bs = {
|
|
2854
2855
|
disabled: "",
|
|
2855
2856
|
value: ""
|
|
2856
|
-
},
|
|
2857
|
+
}, xs = ["value"], Ss = { class: "mwnf-dxa-timeline__dates" }, Cs = [
|
|
2857
2858
|
"value",
|
|
2858
2859
|
"aria-label",
|
|
2859
2860
|
"onChange"
|
|
2860
|
-
],
|
|
2861
|
+
], ws = {
|
|
2861
2862
|
disabled: "",
|
|
2862
2863
|
value: ""
|
|
2863
|
-
},
|
|
2864
|
+
}, Ts = ["value"], Es = [
|
|
2864
2865
|
"value",
|
|
2865
2866
|
"aria-label",
|
|
2866
2867
|
"onChange"
|
|
2867
|
-
],
|
|
2868
|
+
], Ds = {
|
|
2868
2869
|
disabled: "",
|
|
2869
2870
|
value: ""
|
|
2870
|
-
},
|
|
2871
|
+
}, Os = ["value"], ks = { class: "mwnf-dxa-timeline__go" }, As = ["onClick"], js = {
|
|
2871
2872
|
__name: "Timeline",
|
|
2872
2873
|
setup(e) {
|
|
2873
2874
|
let t = {
|
|
@@ -2890,39 +2891,39 @@ var Co = {
|
|
|
2890
2891
|
end: e.end || a.at(-1)?.value
|
|
2891
2892
|
});
|
|
2892
2893
|
}
|
|
2893
|
-
return (e, r) => (L(), M("div",
|
|
2894
|
+
return (e, r) => (L(), M("div", _s, [F(Ye, {
|
|
2894
2895
|
spec: t,
|
|
2895
2896
|
class: "mwnf-dxa-timeline__form"
|
|
2896
2897
|
}, {
|
|
2897
|
-
form: H((e) => [N("div",
|
|
2898
|
+
form: H((e) => [N("div", vs, [
|
|
2898
2899
|
N("select", {
|
|
2899
2900
|
class: "mwnf-dxa-timeline__country",
|
|
2900
2901
|
value: e.filters.country,
|
|
2901
2902
|
"aria-label": e.t("gallery.timeline.selectCountry"),
|
|
2902
2903
|
onChange: (t) => e.filters.country = t.target.value
|
|
2903
|
-
}, [N("option",
|
|
2904
|
+
}, [N("option", bs, B(e.t("gallery.timeline.selectCountry")), 1), (L(!0), M(O, null, z(e.countries, (e) => (L(), M("option", {
|
|
2904
2905
|
key: e.value,
|
|
2905
2906
|
value: e.value
|
|
2906
|
-
}, B(e.label), 9,
|
|
2907
|
-
N("div",
|
|
2907
|
+
}, B(e.label), 9, xs))), 128))], 40, ys),
|
|
2908
|
+
N("div", Ss, [N("select", {
|
|
2908
2909
|
value: e.filters.begin,
|
|
2909
2910
|
"aria-label": e.t("gallery.timeline.startDate"),
|
|
2910
2911
|
onChange: (t) => e.filters.begin = t.target.value
|
|
2911
|
-
}, [N("option",
|
|
2912
|
+
}, [N("option", ws, B(e.t("gallery.timeline.startDate")), 1), (L(!0), M(O, null, z(e.options.begin ?? [], (e) => (L(), M("option", {
|
|
2912
2913
|
key: e.value,
|
|
2913
2914
|
value: e.value
|
|
2914
|
-
}, B(e.label), 9,
|
|
2915
|
+
}, B(e.label), 9, Ts))), 128))], 40, Cs), N("select", {
|
|
2915
2916
|
value: e.filters.end,
|
|
2916
2917
|
"aria-label": e.t("gallery.timeline.endDate"),
|
|
2917
2918
|
onChange: (t) => e.filters.end = t.target.value
|
|
2918
|
-
}, [N("option",
|
|
2919
|
+
}, [N("option", Ds, B(e.t("gallery.timeline.endDate")), 1), (L(!0), M(O, null, z(e.options.end ?? [], (e) => (L(), M("option", {
|
|
2919
2920
|
key: e.value,
|
|
2920
2921
|
value: e.value
|
|
2921
|
-
}, B(e.label), 9,
|
|
2922
|
-
N("div",
|
|
2922
|
+
}, B(e.label), 9, Os))), 128))], 40, Es)]),
|
|
2923
|
+
N("div", ks, [N("button", {
|
|
2923
2924
|
type: "button",
|
|
2924
2925
|
onClick: (t) => n(e)
|
|
2925
|
-
}, B(e.t("core.action.go")), 9,
|
|
2926
|
+
}, B(e.t("core.action.go")), 9, As)])
|
|
2926
2927
|
])]),
|
|
2927
2928
|
_: 1
|
|
2928
2929
|
}), F(V(W), {
|
|
@@ -2931,26 +2932,26 @@ var Co = {
|
|
|
2931
2932
|
keypath: "gallery.timeline.intro"
|
|
2932
2933
|
})]));
|
|
2933
2934
|
}
|
|
2934
|
-
},
|
|
2935
|
+
}, Ms = /* @__PURE__ */ D({ default: () => Ps }), Ns = { class: "mwnf-dxa-home" }, Ps = {
|
|
2935
2936
|
__name: "Home",
|
|
2936
2937
|
setup(e) {
|
|
2937
|
-
return (e, t) => (L(), M("div",
|
|
2938
|
+
return (e, t) => (L(), M("div", Ns));
|
|
2938
2939
|
}
|
|
2939
|
-
},
|
|
2940
|
+
}, Fs = /* @__PURE__ */ D({ default: () => Ls }), Is = { class: "mwnf-dxa-about" }, Ls = {
|
|
2940
2941
|
__name: "About",
|
|
2941
2942
|
setup(e) {
|
|
2942
|
-
return (e, t) => (L(), M("div",
|
|
2943
|
+
return (e, t) => (L(), M("div", Is, [F(it, { "about-mode": "" })]));
|
|
2943
2944
|
}
|
|
2944
|
-
},
|
|
2945
|
+
}, Rs = /* @__PURE__ */ D({ default: () => tc }), zs = { class: "mwnf-dxa-themes-page" }, Bs = { class: "mwnf-dxa-themes-page__container" }, Vs = ["onClick"], Hs = ["innerHTML"], Us = {
|
|
2945
2946
|
key: 0,
|
|
2946
2947
|
class: "mwnf-dxa-themes-page__strips"
|
|
2947
|
-
},
|
|
2948
|
+
}, Ws = ["src"], Gs = {
|
|
2948
2949
|
key: 1,
|
|
2949
2950
|
class: "mwnf-dxa-themes-page__open"
|
|
2950
|
-
},
|
|
2951
|
+
}, Ks = { class: "mwnf-dxa-themes-page__image" }, qs = ["src", "alt"], Js = {
|
|
2951
2952
|
key: 1,
|
|
2952
2953
|
class: "mwnf-dxa-themes-page__caption"
|
|
2953
|
-
},
|
|
2954
|
+
}, Ys = ["innerHTML"], Xs = { class: "mwnf-dxa-themes-page__info" }, Zs = { class: "mwnf-dxa-themes-page__description" }, Qs = { class: "mwnf-dxa-themes-page__subthemes" }, $s = { class: "mwnf-dxa-themes-page__subthemes-label" }, ec = { class: "mwnf-dxa-themes-page__gallery" }, tc = {
|
|
2954
2955
|
__name: "Themes",
|
|
2955
2956
|
setup(e) {
|
|
2956
2957
|
let { listedThemes: t, pictureById: n, pictureParent: r, romanFor: i, themeText: a } = we, { t: o, locale: s } = q(), c = R(!1), l = R(null);
|
|
@@ -2995,7 +2996,7 @@ var Co = {
|
|
|
2995
2996
|
}))
|
|
2996
2997
|
};
|
|
2997
2998
|
}));
|
|
2998
|
-
return (e, t) => (L(), M("div",
|
|
2999
|
+
return (e, t) => (L(), M("div", zs, [N("div", Bs, [N("div", {
|
|
2999
3000
|
class: "mwnf-dxa-themes-page__show-all",
|
|
3000
3001
|
onClick: d
|
|
3001
3002
|
}, [N("span", null, B(c.value ? V(o)("exhibition.themes.collapseAll") : V(o)("exhibition.themes.expandAll")), 1)]), (L(!0), M(O, null, z(m.value, (e) => (L(), M("div", {
|
|
@@ -3006,18 +3007,18 @@ var Co = {
|
|
|
3006
3007
|
onClick: (t) => u(e.index)
|
|
3007
3008
|
}, [N("span", null, [
|
|
3008
3009
|
P(B(V(o)("exhibition.theme.romanLabel")) + " " + B(e.numeral) + " ▪ ", 1),
|
|
3009
|
-
N("span", { innerHTML: V(K)(e.title) }, null, 8,
|
|
3010
|
+
N("span", { innerHTML: V(K)(e.title) }, null, 8, Hs),
|
|
3010
3011
|
c.value ? j("", !0) : (L(), M(O, { key: 0 }, [P(B(l.value === e.index ? "▴" : "▾"), 1)], 64))
|
|
3011
|
-
])], 10,
|
|
3012
|
+
])], 10, Vs), l.value !== e.index && !c.value ? (L(), M("div", Us, [(L(), M(O, null, z(4, (t) => N("img", {
|
|
3012
3013
|
key: t,
|
|
3013
3014
|
src: e.cover,
|
|
3014
3015
|
alt: ""
|
|
3015
|
-
}, null, 8,
|
|
3016
|
+
}, null, 8, Ws)), 64))])) : (L(), M("div", Gs, [N("div", Ks, [e.cover ? (L(), M("img", {
|
|
3016
3017
|
key: 0,
|
|
3017
3018
|
src: e.cover,
|
|
3018
3019
|
alt: V(Dt)(e.title)
|
|
3019
|
-
}, null, 8,
|
|
3020
|
-
N("div",
|
|
3020
|
+
}, null, 8, qs)) : j("", !0), e.caption ? (L(), M("div", Js, [N("span", { innerHTML: V(K)(e.caption) }, null, 8, Ys)])) : j("", !0)]), N("div", Xs, [
|
|
3021
|
+
N("div", Zs, [
|
|
3021
3022
|
N("span", null, B(e.excerpt), 1),
|
|
3022
3023
|
t[0] ||= P(" " + B(" "), -1),
|
|
3023
3024
|
F(V(Y), {
|
|
@@ -3028,38 +3029,38 @@ var Co = {
|
|
|
3028
3029
|
_: 1
|
|
3029
3030
|
}, 8, ["to"])
|
|
3030
3031
|
]),
|
|
3031
|
-
N("div",
|
|
3032
|
+
N("div", Qs, [N("div", $s, B(V(o)("exhibition.theme.inThisTheme")), 1), (L(!0), M(O, null, z(e.subThemes, (e) => (L(), M("div", { key: e.label }, [F(V(Y), {
|
|
3032
3033
|
to: e.to,
|
|
3033
3034
|
class: "mwnf-dxa-themes-page__link"
|
|
3034
3035
|
}, {
|
|
3035
3036
|
default: H(() => [P(B(e.label), 1)]),
|
|
3036
3037
|
_: 2
|
|
3037
3038
|
}, 1032, ["to"])]))), 128))]),
|
|
3038
|
-
N("div",
|
|
3039
|
+
N("div", ec, [F(V(Y), { to: e.gallery }, {
|
|
3039
3040
|
default: H(() => [P(B(V(o)("exhibition.themes.seeGallery")) + " " + B(e.numeral), 1)]),
|
|
3040
3041
|
_: 2
|
|
3041
3042
|
}, 1032, ["to"])])
|
|
3042
3043
|
])]))]))), 128))])]));
|
|
3043
3044
|
}
|
|
3044
|
-
},
|
|
3045
|
+
}, nc = /* @__PURE__ */ D({ default: () => bc }), rc = {
|
|
3045
3046
|
key: 0,
|
|
3046
3047
|
class: "mwnf-dxa-theme-gallery-page"
|
|
3047
|
-
},
|
|
3048
|
+
}, ic = { class: "mwnf-dxa-theme-gallery-page__header" }, ac = ["innerHTML"], oc = {
|
|
3048
3049
|
key: 0,
|
|
3049
3050
|
class: "mwnf-dxa-theme-gallery-page__bold"
|
|
3050
|
-
},
|
|
3051
|
+
}, sc = ["innerHTML"], cc = { class: "mwnf-dxa-theme-gallery-page__wrapper" }, lc = { class: "mwnf-dxa-theme-gallery-page__content" }, uc = { class: "mwnf-dxa-theme-gallery-page__objects" }, dc = { class: "mwnf-dxa-theme-gallery-page__filter" }, fc = { class: "mwnf-dxa-theme-gallery-page__label" }, pc = ["disabled", "value"], mc = {
|
|
3051
3052
|
value: "",
|
|
3052
3053
|
disabled: ""
|
|
3053
|
-
},
|
|
3054
|
+
}, hc = ["value"], gc = {
|
|
3054
3055
|
key: 0,
|
|
3055
3056
|
class: "mwnf-dxa-theme-gallery-page__reset"
|
|
3056
|
-
},
|
|
3057
|
+
}, _c = {
|
|
3057
3058
|
key: 0,
|
|
3058
3059
|
class: "mwnf-dxa-theme-gallery-page__top"
|
|
3059
|
-
},
|
|
3060
|
+
}, vc = ["aria-label"], yc = {
|
|
3060
3061
|
key: 1,
|
|
3061
3062
|
class: "mwnf-loader"
|
|
3062
|
-
},
|
|
3063
|
+
}, bc = {
|
|
3063
3064
|
__name: "ThemeGallery",
|
|
3064
3065
|
setup(t) {
|
|
3065
3066
|
let { pictureParent: n, romanFor: r, themeByRouteId: i, themeText: a, themePictures: o } = we, s = X(), c = It(), { t: l, locale: u } = q(), d = k(() => i(s.params.id)), f = k(() => d.value?.sub_themes ?? []), p = k(() => {
|
|
@@ -3114,44 +3115,44 @@ var Co = {
|
|
|
3114
3115
|
top: 0,
|
|
3115
3116
|
behavior: "smooth"
|
|
3116
3117
|
});
|
|
3117
|
-
return (t, n) => d.value ? (L(), M("div",
|
|
3118
|
+
return (t, n) => d.value ? (L(), M("div", rc, [
|
|
3118
3119
|
F(e),
|
|
3119
|
-
N("div",
|
|
3120
|
+
N("div", ic, [N("span", null, [
|
|
3120
3121
|
P(B(V(l)("exhibition.theme.romanLabel")) + " " + B(V(r)(d.value.display_order)) + " | ", 1),
|
|
3121
3122
|
N("span", {
|
|
3122
3123
|
class: "mwnf-dxa-theme-gallery-page__bold",
|
|
3123
3124
|
innerHTML: V(K)(m(d.value))
|
|
3124
|
-
}, null, 8,
|
|
3125
|
-
p.value ? (L(), M("span",
|
|
3125
|
+
}, null, 8, ac),
|
|
3126
|
+
p.value ? (L(), M("span", oc, [n[2] ||= P(" ▪ ", -1), N("span", { innerHTML: V(K)(m(f.value[p.value - 1])) }, null, 8, sc)])) : j("", !0),
|
|
3126
3127
|
P(" | " + B(V(l)("exhibition.theme.galleryLabel")), 1)
|
|
3127
3128
|
])]),
|
|
3128
|
-
N("div",
|
|
3129
|
+
N("div", cc, [N("div", lc, [N("div", uc, [F($, {
|
|
3129
3130
|
rows: _.value,
|
|
3130
3131
|
family: "exhibition"
|
|
3131
|
-
}, null, 8, ["rows"])]), N("div",
|
|
3132
|
-
N("div",
|
|
3132
|
+
}, null, 8, ["rows"])]), N("div", dc, [
|
|
3133
|
+
N("div", fc, B(V(l)("exhibition.themeGallery.filterBy")), 1),
|
|
3133
3134
|
N("select", {
|
|
3134
3135
|
class: "mwnf-dxa-theme-gallery-page__select",
|
|
3135
3136
|
disabled: !_.value.length,
|
|
3136
3137
|
value: p.value ? String(p.value) : "",
|
|
3137
3138
|
onChange: n[0] ||= (e) => h(e.target.value)
|
|
3138
|
-
}, [N("option",
|
|
3139
|
+
}, [N("option", mc, B(V(l)("exhibition.themeGallery.select")), 1), (L(!0), M(O, null, z(f.value, (e, t) => (L(), M("option", {
|
|
3139
3140
|
key: e.id,
|
|
3140
3141
|
value: String(t + 1)
|
|
3141
|
-
}, B(t + 1) + ". " + B(m(e)), 9,
|
|
3142
|
-
p.value ? (L(), M("div",
|
|
3142
|
+
}, B(t + 1) + ". " + B(m(e)), 9, hc))), 128))], 40, pc),
|
|
3143
|
+
p.value ? (L(), M("div", gc, [N("button", {
|
|
3143
3144
|
type: "button",
|
|
3144
3145
|
onClick: n[1] ||= (e) => h("")
|
|
3145
3146
|
}, B(V(l)("exhibition.theme.seeAllInTheme")), 1)])) : j("", !0)
|
|
3146
3147
|
])])]),
|
|
3147
|
-
v.value ? (L(), M("div",
|
|
3148
|
+
v.value ? (L(), M("div", _c, [N("button", {
|
|
3148
3149
|
type: "button",
|
|
3149
3150
|
"aria-label": V(l)("exhibition.themeGallery.top"),
|
|
3150
3151
|
onClick: ee
|
|
3151
|
-
}, "⌃", 8,
|
|
3152
|
-
])) : (L(), M("div",
|
|
3152
|
+
}, "⌃", 8, vc)])) : j("", !0)
|
|
3153
|
+
])) : (L(), M("div", yc, B(V(l)("exhibition.theme.notInExhibition")), 1));
|
|
3153
3154
|
}
|
|
3154
|
-
},
|
|
3155
|
+
}, xc = /* @__PURE__ */ D({ default: () => Sc }), Sc = {
|
|
3155
3156
|
__name: "ItemDetail",
|
|
3156
3157
|
props: { id: {
|
|
3157
3158
|
type: String,
|
|
@@ -3176,7 +3177,7 @@ var Co = {
|
|
|
3176
3177
|
class: "mwnf-dxa-exhibition-item"
|
|
3177
3178
|
}, null, 8, ["id", "item-detail"]));
|
|
3178
3179
|
}
|
|
3179
|
-
},
|
|
3180
|
+
}, Cc = /* @__PURE__ */ D({ default: () => Rc }), wc = { class: "mwnf-dxa-related-page" }, Tc = { class: "mwnf-dxa-related-page__container" }, Ec = { key: 0 }, Dc = { class: "mwnf-dxa-related-page__heading" }, Oc = ["innerHTML"], kc = ["innerHTML"], Ac = { key: 2 }, jc = { key: 3 }, Mc = ["href", "innerHTML"], Nc = ["innerHTML"], Pc = { key: 4 }, Fc = ["href"], Ic = ["innerHTML"], Lc = ["innerHTML"], Rc = {
|
|
3180
3181
|
__name: "RelatedContent",
|
|
3181
3182
|
setup(t) {
|
|
3182
3183
|
let n = {
|
|
@@ -3214,68 +3215,68 @@ var Co = {
|
|
|
3214
3215
|
entries: [...e.get(t)].sort((e, t) => (e.display_order ?? 0) - (t.display_order ?? 0)).map(s)
|
|
3215
3216
|
}));
|
|
3216
3217
|
});
|
|
3217
|
-
return (t, n) => (L(), M("div",
|
|
3218
|
+
return (t, n) => (L(), M("div", wc, [F(e), N("div", Tc, [c.value.length ? j("", !0) : (L(), M("p", Ec, B(V(i)("exhibition.related.notAvailable")), 1)), (L(!0), M(O, null, z(c.value, (e) => (L(), M("div", {
|
|
3218
3219
|
key: e.id,
|
|
3219
3220
|
class: "mwnf-dxa-related-page__category"
|
|
3220
|
-
}, [N("div",
|
|
3221
|
+
}, [N("div", Dc, B(V(i)(e.heading)), 1), (L(!0), M(O, null, z(e.entries, (e, t) => (L(), M("div", {
|
|
3221
3222
|
key: t,
|
|
3222
3223
|
class: "mwnf-dxa-related-page__entry"
|
|
3223
3224
|
}, [
|
|
3224
3225
|
e.reading ? (L(), M("div", {
|
|
3225
3226
|
key: 0,
|
|
3226
3227
|
innerHTML: e.reading
|
|
3227
|
-
}, null, 8,
|
|
3228
|
+
}, null, 8, Oc)) : j("", !0),
|
|
3228
3229
|
e.partner ? (L(), M("div", {
|
|
3229
3230
|
key: 1,
|
|
3230
3231
|
innerHTML: e.partner
|
|
3231
|
-
}, null, 8,
|
|
3232
|
-
e.place ? (L(), M("div",
|
|
3233
|
-
e.title ? (L(), M("div",
|
|
3232
|
+
}, null, 8, kc)) : j("", !0),
|
|
3233
|
+
e.place ? (L(), M("div", Ac, B(e.place), 1)) : j("", !0),
|
|
3234
|
+
e.title ? (L(), M("div", jc, [e.href ? (L(), M("a", {
|
|
3234
3235
|
key: 0,
|
|
3235
3236
|
href: e.href,
|
|
3236
3237
|
target: "_blank",
|
|
3237
3238
|
rel: "noopener",
|
|
3238
3239
|
innerHTML: e.title
|
|
3239
|
-
}, null, 8,
|
|
3240
|
+
}, null, 8, Mc)) : (L(), M("span", {
|
|
3240
3241
|
key: 1,
|
|
3241
3242
|
innerHTML: e.title
|
|
3242
|
-
}, null, 8,
|
|
3243
|
+
}, null, 8, Nc))])) : e.href ? (L(), M("div", Pc, [N("a", {
|
|
3243
3244
|
href: e.href,
|
|
3244
3245
|
target: "_blank",
|
|
3245
3246
|
rel: "noopener"
|
|
3246
|
-
}, B(e.href), 9,
|
|
3247
|
+
}, B(e.href), 9, Fc)])) : j("", !0),
|
|
3247
3248
|
e.byline ? (L(), M("div", {
|
|
3248
3249
|
key: 5,
|
|
3249
3250
|
innerHTML: e.byline
|
|
3250
|
-
}, null, 8,
|
|
3251
|
+
}, null, 8, Ic)) : j("", !0),
|
|
3251
3252
|
e.description ? (L(), M("div", {
|
|
3252
3253
|
key: 6,
|
|
3253
3254
|
innerHTML: e.description
|
|
3254
|
-
}, null, 8,
|
|
3255
|
+
}, null, 8, Lc)) : j("", !0)
|
|
3255
3256
|
]))), 128))]))), 128))])]));
|
|
3256
3257
|
}
|
|
3257
|
-
},
|
|
3258
|
+
}, zc = /* @__PURE__ */ D({ default: () => el }), Bc = { class: "mwnf-dxa-timeline mwnf-dxa-exhibition-timeline" }, Vc = { class: "mwnf-dxa-timeline__entrance" }, Hc = [
|
|
3258
3259
|
"value",
|
|
3259
3260
|
"aria-label",
|
|
3260
3261
|
"onChange"
|
|
3261
|
-
],
|
|
3262
|
+
], Uc = {
|
|
3262
3263
|
disabled: "",
|
|
3263
3264
|
value: ""
|
|
3264
|
-
},
|
|
3265
|
+
}, Wc = ["value"], Gc = { class: "mwnf-dxa-timeline__dates" }, Kc = [
|
|
3265
3266
|
"value",
|
|
3266
3267
|
"aria-label",
|
|
3267
3268
|
"onChange"
|
|
3268
|
-
],
|
|
3269
|
+
], qc = {
|
|
3269
3270
|
disabled: "",
|
|
3270
3271
|
value: ""
|
|
3271
|
-
},
|
|
3272
|
+
}, Jc = ["value"], Yc = [
|
|
3272
3273
|
"value",
|
|
3273
3274
|
"aria-label",
|
|
3274
3275
|
"onChange"
|
|
3275
|
-
],
|
|
3276
|
+
], Xc = {
|
|
3276
3277
|
disabled: "",
|
|
3277
3278
|
value: ""
|
|
3278
|
-
},
|
|
3279
|
+
}, Zc = ["value"], Qc = { class: "mwnf-dxa-timeline__go" }, $c = ["onClick"], el = {
|
|
3279
3280
|
__name: "Timeline",
|
|
3280
3281
|
setup(e) {
|
|
3281
3282
|
let t = {
|
|
@@ -3297,40 +3298,40 @@ var Co = {
|
|
|
3297
3298
|
end: e.end || a.at(-1)?.value
|
|
3298
3299
|
});
|
|
3299
3300
|
}
|
|
3300
|
-
return (e, t) => (L(), M("div",
|
|
3301
|
+
return (e, t) => (L(), M("div", Bc, [F(Ye, {
|
|
3301
3302
|
spec: r.value,
|
|
3302
3303
|
class: "mwnf-dxa-timeline__form"
|
|
3303
3304
|
}, {
|
|
3304
|
-
form: H((e) => [N("div",
|
|
3305
|
+
form: H((e) => [N("div", Vc, [
|
|
3305
3306
|
i.value && e.countries?.length ? (L(), M("select", {
|
|
3306
3307
|
key: 0,
|
|
3307
3308
|
class: "mwnf-dxa-timeline__country",
|
|
3308
3309
|
value: e.filters.country,
|
|
3309
3310
|
"aria-label": e.t("exhibition.timeline.selectCountry"),
|
|
3310
3311
|
onChange: (t) => e.filters.country = t.target.value
|
|
3311
|
-
}, [N("option",
|
|
3312
|
+
}, [N("option", Uc, B(e.t("exhibition.timeline.selectCountry")), 1), (L(!0), M(O, null, z(e.countries, (e) => (L(), M("option", {
|
|
3312
3313
|
key: e.value,
|
|
3313
3314
|
value: e.value
|
|
3314
|
-
}, B(e.label), 9,
|
|
3315
|
-
N("div",
|
|
3315
|
+
}, B(e.label), 9, Wc))), 128))], 40, Hc)) : j("", !0),
|
|
3316
|
+
N("div", Gc, [N("select", {
|
|
3316
3317
|
value: e.filters.begin,
|
|
3317
3318
|
"aria-label": e.t("exhibition.collection.startDate"),
|
|
3318
3319
|
onChange: (t) => e.filters.begin = t.target.value
|
|
3319
|
-
}, [N("option",
|
|
3320
|
+
}, [N("option", qc, B(e.t("exhibition.collection.startDate")), 1), (L(!0), M(O, null, z(e.options.begin ?? [], (e) => (L(), M("option", {
|
|
3320
3321
|
key: e.value,
|
|
3321
3322
|
value: e.value
|
|
3322
|
-
}, B(e.label), 9,
|
|
3323
|
+
}, B(e.label), 9, Jc))), 128))], 40, Kc), N("select", {
|
|
3323
3324
|
value: e.filters.end,
|
|
3324
3325
|
"aria-label": e.t("exhibition.collection.endDate"),
|
|
3325
3326
|
onChange: (t) => e.filters.end = t.target.value
|
|
3326
|
-
}, [N("option",
|
|
3327
|
+
}, [N("option", Xc, B(e.t("exhibition.collection.endDate")), 1), (L(!0), M(O, null, z(e.options.end ?? [], (e) => (L(), M("option", {
|
|
3327
3328
|
key: e.value,
|
|
3328
3329
|
value: e.value
|
|
3329
|
-
}, B(e.label), 9,
|
|
3330
|
-
N("div",
|
|
3330
|
+
}, B(e.label), 9, Zc))), 128))], 40, Yc)]),
|
|
3331
|
+
N("div", Qc, [N("button", {
|
|
3331
3332
|
type: "button",
|
|
3332
3333
|
onClick: (t) => a(e)
|
|
3333
|
-
}, B(e.t("core.action.go")), 9,
|
|
3334
|
+
}, B(e.t("core.action.go")), 9, $c)])
|
|
3334
3335
|
])]),
|
|
3335
3336
|
_: 1
|
|
3336
3337
|
}, 8, ["spec"]), F(V(W), {
|
|
@@ -3339,28 +3340,28 @@ var Co = {
|
|
|
3339
3340
|
keypath: "exhibition.timeline.intro"
|
|
3340
3341
|
})]));
|
|
3341
3342
|
}
|
|
3342
|
-
},
|
|
3343
|
+
}, tl = { class: "mwnf-picture-gallery" }, nl = {
|
|
3343
3344
|
key: 0,
|
|
3344
3345
|
class: "mwnf-picture-gallery__selected"
|
|
3345
|
-
},
|
|
3346
|
+
}, rl = { class: "mwnf-picture-gallery__image" }, il = ["src", "alt"], al = { class: "mwnf-picture-gallery__details" }, ol = { class: "mwnf-picture-gallery__detail mwnf-picture-gallery__detail--title" }, sl = { key: 0 }, cl = ["innerHTML"], ll = {
|
|
3346
3347
|
key: 0,
|
|
3347
3348
|
class: "mwnf-picture-gallery__label"
|
|
3348
|
-
},
|
|
3349
|
+
}, ul = ["innerHTML"], dl = {
|
|
3349
3350
|
key: 0,
|
|
3350
3351
|
class: "mwnf-picture-gallery__detail"
|
|
3351
|
-
},
|
|
3352
|
+
}, fl = {
|
|
3352
3353
|
key: 2,
|
|
3353
3354
|
class: "mwnf-picture-gallery__unresolved"
|
|
3354
|
-
},
|
|
3355
|
+
}, pl = {
|
|
3355
3356
|
key: 1,
|
|
3356
3357
|
class: "mwnf-picture-gallery__empty"
|
|
3357
|
-
},
|
|
3358
|
+
}, ml = {
|
|
3358
3359
|
key: 2,
|
|
3359
3360
|
class: "mwnf-picture-gallery__strip"
|
|
3360
|
-
},
|
|
3361
|
+
}, hl = { class: "mwnf-picture-gallery__thumbs" }, gl = ["onClick"], _l = ["src", "alt"], vl = { class: "mwnf-picture-gallery__thumb-text" }, yl = { key: 0 }, bl = ["innerHTML"], xl = { key: 1 }, Sl = {
|
|
3361
3362
|
key: 0,
|
|
3362
3363
|
class: "mwnf-picture-gallery__toggle"
|
|
3363
|
-
},
|
|
3364
|
+
}, Cl = {
|
|
3364
3365
|
__name: "PictureGallery",
|
|
3365
3366
|
props: {
|
|
3366
3367
|
pictures: {
|
|
@@ -3402,16 +3403,16 @@ var Co = {
|
|
|
3402
3403
|
function u(e) {
|
|
3403
3404
|
i("update:selectedId", e.id);
|
|
3404
3405
|
}
|
|
3405
|
-
return (t, r) => (L(), M("div",
|
|
3406
|
+
return (t, r) => (L(), M("div", tl, [o.value ? (L(), M("div", nl, [N("div", rl, [N("img", {
|
|
3406
3407
|
src: o.value.image,
|
|
3407
3408
|
alt: o.value.imageAlt ?? ""
|
|
3408
|
-
}, null, 8,
|
|
3409
|
-
N("div",
|
|
3409
|
+
}, null, 8, il)]), N("div", al, [
|
|
3410
|
+
N("div", ol, [o.value.imageCaption ? (L(), M("span", sl, B(o.value.imageCaption) + ", ", 1)) : j("", !0), N("span", { innerHTML: o.value.name }, null, 8, cl)]),
|
|
3410
3411
|
(L(!0), M(O, null, z(o.value.fields ?? [], (e, t) => (L(), M("div", {
|
|
3411
3412
|
key: t,
|
|
3412
3413
|
class: "mwnf-picture-gallery__detail"
|
|
3413
|
-
}, [e.label ? (L(), M("span",
|
|
3414
|
-
o.value.detail ? (L(), M("div",
|
|
3414
|
+
}, [e.label ? (L(), M("span", ll, B(e.label), 1)) : j("", !0), N("span", { innerHTML: e.value }, null, 8, ul)]))), 128)),
|
|
3415
|
+
o.value.detail ? (L(), M("div", dl, B(o.value.detail), 1)) : j("", !0),
|
|
3415
3416
|
o.value.to ? (L(), A(n, {
|
|
3416
3417
|
key: 1,
|
|
3417
3418
|
class: "mwnf-picture-gallery__link",
|
|
@@ -3419,8 +3420,8 @@ var Co = {
|
|
|
3419
3420
|
}, {
|
|
3420
3421
|
default: H(() => [P(B(V(a)(e.seeItemEntry)) + " →", 1)]),
|
|
3421
3422
|
_: 1
|
|
3422
|
-
}, 8, ["to"])) : (L(), M("div",
|
|
3423
|
-
])])) : (L(), M("div",
|
|
3423
|
+
}, 8, ["to"])) : (L(), M("div", fl, B(V(a)(e.unresolvedEntry)), 1))
|
|
3424
|
+
])])) : (L(), M("div", pl, B(V(a)(e.emptyEntry)), 1)), e.pictures.length ? (L(), M("div", ml, [N("ul", hl, [(L(!0), M(O, null, z(l.value, (t) => (L(), M("li", {
|
|
3424
3425
|
key: t.id,
|
|
3425
3426
|
class: I(["mwnf-picture-gallery__thumb", {
|
|
3426
3427
|
"mwnf-picture-gallery__thumb--active": t.id === e.selectedId,
|
|
@@ -3433,31 +3434,31 @@ var Co = {
|
|
|
3433
3434
|
src: t.image,
|
|
3434
3435
|
alt: t.imageAlt ?? "",
|
|
3435
3436
|
loading: "lazy"
|
|
3436
|
-
}, null, 8,
|
|
3437
|
-
t.imageCaption ? (L(), M("span",
|
|
3437
|
+
}, null, 8, _l)], 8, gl), N("div", vl, [
|
|
3438
|
+
t.imageCaption ? (L(), M("span", yl, B(t.imageCaption) + ", ", 1)) : j("", !0),
|
|
3438
3439
|
N("span", {
|
|
3439
3440
|
class: "mwnf-picture-gallery__thumb-name",
|
|
3440
3441
|
innerHTML: t.name
|
|
3441
|
-
}, null, 8,
|
|
3442
|
-
t.detail ? (L(), M("span",
|
|
3443
|
-
])], 2))), 128))]), s.value ? (L(), M("label",
|
|
3442
|
+
}, null, 8, bl),
|
|
3443
|
+
t.detail ? (L(), M("span", xl, ", " + B(t.detail), 1)) : j("", !0)
|
|
3444
|
+
])], 2))), 128))]), s.value ? (L(), M("label", Sl, [U(N("input", {
|
|
3444
3445
|
"onUpdate:modelValue": r[0] ||= (e) => c.value = e,
|
|
3445
3446
|
type: "checkbox"
|
|
3446
3447
|
}, null, 512), [[ht, c.value]]), N("span", null, B(c.value ? V(a)(e.hideRelatedEntry) : V(a)(e.addRelatedEntry)), 1)])) : j("", !0)])) : j("", !0)]));
|
|
3447
3448
|
}
|
|
3448
|
-
},
|
|
3449
|
+
}, wl = {
|
|
3449
3450
|
key: 0,
|
|
3450
3451
|
class: "mwnf-picture-narrative"
|
|
3451
|
-
},
|
|
3452
|
+
}, Tl = ["innerHTML"], El = {
|
|
3452
3453
|
key: 1,
|
|
3453
3454
|
class: "mwnf-picture-narrative__related"
|
|
3454
|
-
},
|
|
3455
|
+
}, Dl = { class: "mwnf-picture-narrative__heading" }, Ol = { class: "mwnf-picture-narrative__images" }, kl = { class: "mwnf-picture-narrative__image mwnf-picture-narrative__image--main" }, Al = ["src", "alt"], jl = { class: "mwnf-picture-narrative__thumb-text" }, Ml = ["innerHTML"], Nl = { key: 0 }, Pl = ["onClick"], Fl = ["src", "alt"], Il = { class: "mwnf-picture-narrative__thumb-text" }, Ll = ["innerHTML"], Rl = { key: 0 }, zl = {
|
|
3455
3456
|
key: 0,
|
|
3456
3457
|
class: "mwnf-picture-narrative__relation"
|
|
3457
|
-
},
|
|
3458
|
+
}, Bl = {
|
|
3458
3459
|
key: 2,
|
|
3459
3460
|
class: "mwnf-picture-narrative__related"
|
|
3460
|
-
},
|
|
3461
|
+
}, Vl = { class: "mwnf-picture-narrative__heading" }, Hl = { class: "mwnf-picture-narrative__text mwnf-picture-narrative__text--reciprocal" }, Ul = { class: "mwnf-picture-narrative__image" }, Wl = ["src", "alt"], Gl = { class: "mwnf-picture-narrative__thumb-text" }, Kl = ["innerHTML"], ql = { key: 0 }, Jl = {
|
|
3461
3462
|
__name: "PictureNarrative",
|
|
3462
3463
|
props: {
|
|
3463
3464
|
picture: {
|
|
@@ -3483,16 +3484,16 @@ var Co = {
|
|
|
3483
3484
|
function c(e) {
|
|
3484
3485
|
r("select", e.id);
|
|
3485
3486
|
}
|
|
3486
|
-
return (t, n) => e.picture ? (L(), M("div",
|
|
3487
|
+
return (t, n) => e.picture ? (L(), M("div", wl, [
|
|
3487
3488
|
a.value ? (L(), M("div", {
|
|
3488
3489
|
key: 0,
|
|
3489
3490
|
class: "mwnf-picture-narrative__text mwnf-sheet__block",
|
|
3490
3491
|
innerHTML: a.value
|
|
3491
|
-
}, null, 8,
|
|
3492
|
-
o.value.length ? (L(), M("div",
|
|
3492
|
+
}, null, 8, Tl)) : j("", !0),
|
|
3493
|
+
o.value.length ? (L(), M("div", El, [N("div", Dl, B(V(i)(e.relatedHeadingEntry)), 1), N("div", Ol, [N("div", kl, [N("img", {
|
|
3493
3494
|
src: e.picture.image,
|
|
3494
3495
|
alt: e.picture.imageAlt ?? ""
|
|
3495
|
-
}, null, 8,
|
|
3496
|
+
}, null, 8, Al), N("div", jl, [N("span", { innerHTML: e.picture.name }, null, 8, Ml), e.picture.detail ? (L(), M("span", Nl, ", " + B(e.picture.detail), 1)) : j("", !0)])]), (L(!0), M(O, null, z(o.value, (e) => (L(), M("div", {
|
|
3496
3497
|
key: e.picture.id,
|
|
3497
3498
|
class: "mwnf-picture-narrative__image"
|
|
3498
3499
|
}, [
|
|
@@ -3502,22 +3503,22 @@ var Co = {
|
|
|
3502
3503
|
}, [N("img", {
|
|
3503
3504
|
src: e.picture.image,
|
|
3504
3505
|
alt: e.picture.imageAlt ?? ""
|
|
3505
|
-
}, null, 8,
|
|
3506
|
-
N("div",
|
|
3507
|
-
e.text ? (L(), M("div",
|
|
3506
|
+
}, null, 8, Fl)], 8, Pl),
|
|
3507
|
+
N("div", Il, [N("span", { innerHTML: e.picture.name }, null, 8, Ll), e.picture.detail ? (L(), M("span", Rl, ", " + B(e.picture.detail), 1)) : j("", !0)]),
|
|
3508
|
+
e.text ? (L(), M("div", zl, B(e.text), 1)) : j("", !0)
|
|
3508
3509
|
]))), 128))])])) : j("", !0),
|
|
3509
|
-
s.value ? (L(), M("div",
|
|
3510
|
-
N("div",
|
|
3511
|
-
N("p",
|
|
3512
|
-
N("div",
|
|
3510
|
+
s.value ? (L(), M("div", Bl, [
|
|
3511
|
+
N("div", Vl, B(V(i)(e.relatedHeadingEntry)), 1),
|
|
3512
|
+
N("p", Hl, B(s.value.reciprocalText || V(i)(e.reciprocalFallbackEntry)), 1),
|
|
3513
|
+
N("div", Ul, [N("button", {
|
|
3513
3514
|
type: "button",
|
|
3514
3515
|
onClick: n[0] ||= (e) => c(s.value.picture)
|
|
3515
3516
|
}, [N("img", {
|
|
3516
3517
|
src: s.value.picture.image,
|
|
3517
3518
|
alt: s.value.picture.imageAlt ?? ""
|
|
3518
|
-
}, null, 8,
|
|
3519
|
+
}, null, 8, Wl)]), N("div", Gl, [N("span", { innerHTML: s.value.picture.name }, null, 8, Kl), s.value.picture.detail ? (L(), M("span", ql, ", " + B(s.value.picture.detail), 1)) : j("", !0)])])
|
|
3519
3520
|
])) : j("", !0)
|
|
3520
3521
|
])) : j("", !0);
|
|
3521
3522
|
}
|
|
3522
3523
|
};
|
|
3523
|
-
export {
|
|
3524
|
+
export { Ls as ExhibitionAbout, xa as ExhibitionCollectionResults, Ba as ExhibitionCollectionSearch, Ps as ExhibitionHome, Sc as ExhibitionItemDetail, Ya as ExhibitionPartnerObjects, Fr as ExhibitionPartners, Rc as ExhibitionRelatedContent, xr as ExhibitionSearchHowTo, ii as ExhibitionSearchResults, xo as ExhibitionShell, it as ExhibitionTheme, bc as ExhibitionThemeGallery, tc as ExhibitionThemes, el as ExhibitionTimeline, zi as ExhibitionTimelineGallery, Mi as ExhibitionTimelineResults, zo as FeaturedPartners, Ut as GalleryAbout, Zn as GalleryCollectionResults, pr as GalleryCollectionSearch, Wt as GalleryCredits, ps as GalleryHome, hs as GalleryItemDetail, yr as GalleryPartnerObjects, pn as GalleryPartners, qt as GallerySearchHowTo, Rn as GallerySearchResults, ho as GalleryShell, js as GalleryTimeline, Hn as GalleryTimelineGallery, zn as GalleryTimelineResults, nt as ItemDetailView, Q as LegacyPages, Vt as PartnerDetail, Cl as PictureGallery, Jl as PictureNarrative, bo as PopupLogo, is as SiblingGalleries, st as exhibitionAboutSpec, To as exhibitionConfig, ye as exhibitionPartnerDetail, ot as exhibitionThemeSpec, wo as galleryConfig, _e as galleryPartnerDetail, uo as standardRoutes, at as themeNodeRoute };
|