@museumwnf/viewer-layout 3.86.0 → 3.88.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{LegacyItemSheet-Bk-3fiQP.js → LegacyItemSheet-BPI7vIv2.js} +145 -142
- package/dist/dxa.js +1 -1
- package/dist/minisite.js +616 -610
- package/dist/standalone.js +359 -356
- package/package.json +1 -1
package/dist/standalone.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { Fragment as e, computed as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createSlots as o, createTextVNode as s, createVNode as c, guardReactiveProps as l, mergeModels as u, nextTick as d, normalizeClass as f, normalizeProps as p, normalizeStyle as m, onBeforeUnmount as h, onMounted as g, openBlock as _, reactive as v, ref as y, renderList as b, renderSlot as x, toDisplayString as S, unref as C, useId as w, useModel as T, useSlots as E, vModelSelect as D, vModelText as O, vShow as k, watch as A, withCtx as j, withDirectives as M, withModifiers as N } from "vue";
|
|
2
2
|
import { useRoute as P } from "vue-router";
|
|
3
|
-
import { byId as F, collate as I, entityRef as ee, loadEntities as L, md as R, pictureCredits as
|
|
4
|
-
import { t as
|
|
5
|
-
import { r as
|
|
3
|
+
import { byId as F, collate as I, entityRef as ee, loadEntities as L, md as R, pictureCredits as z, picturesInLanguage as te, removeEndingPoint as B, renderBlock as ne, renderInline as V, renderPlain as H, useDataPackage as re, useI18n as U, useSection as ie, useSiteConfig as W } from "@museumwnf/viewer-core";
|
|
4
|
+
import { t as ae } from "./SiteShell-D0u1FGMu.js";
|
|
5
|
+
import { r as oe } from "./chrome-Bv_mLlHM.js";
|
|
6
6
|
import { c as se, d as G, n as ce, t as le } from "./PartnerMap-DdyMLtgH.js";
|
|
7
7
|
import { n as ue, t as de } from "./RecordView-DAvWufWV.js";
|
|
8
8
|
// src/standalone/Banner.vue
|
|
9
9
|
var fe = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "mwnf-standalone-banner__title"
|
|
12
|
-
},
|
|
12
|
+
}, pe = {
|
|
13
13
|
__name: "Banner",
|
|
14
14
|
props: {
|
|
15
15
|
image: {
|
|
@@ -29,21 +29,24 @@ var fe = {
|
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
// src/standalone/chrome.js
|
|
32
|
-
function
|
|
33
|
-
let e =
|
|
34
|
-
return (t) =>
|
|
32
|
+
function K() {
|
|
33
|
+
let e = W();
|
|
34
|
+
return (t) => oe(e.chrome, t);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function me(e, t) {
|
|
37
37
|
return !e || typeof e == "string" ? e ?? "" : e[t] ?? e.en ?? Object.values(e)[0] ?? "";
|
|
38
38
|
}
|
|
39
|
-
function
|
|
39
|
+
function q(e = /* @__PURE__ */ new Date()) {
|
|
40
40
|
let t = new Date(e.getFullYear(), 0, 1);
|
|
41
41
|
return Math.round((new Date(e.getFullYear(), e.getMonth(), e.getDate()) - t) / 864e5);
|
|
42
42
|
}
|
|
43
|
-
function
|
|
44
|
-
return e?.length ? e[
|
|
43
|
+
function J(e, t = /* @__PURE__ */ new Date()) {
|
|
44
|
+
return e?.length ? e[q(t) % e.length] : null;
|
|
45
45
|
}
|
|
46
|
-
function he(e) {
|
|
46
|
+
function he(e, t = /* @__PURE__ */ new Date()) {
|
|
47
|
+
return J([...e?.values?.() ?? e ?? []].filter((e) => e?.images?.[0]?.url).sort((e, t) => e.id < t.id ? -1 : +(e.id > t.id)), t)?.images[0].url ?? "";
|
|
48
|
+
}
|
|
49
|
+
function ge(e) {
|
|
47
50
|
let [t, ...n] = String(e ?? "").split("*")[0].trim().split(";");
|
|
48
51
|
return !t || n.length < 5 ? "" : [
|
|
49
52
|
"mwnf3",
|
|
@@ -51,84 +54,84 @@ function he(e) {
|
|
|
51
54
|
...n.slice(0, n.length - 1)
|
|
52
55
|
].join(":");
|
|
53
56
|
}
|
|
54
|
-
var
|
|
55
|
-
function
|
|
56
|
-
return (e ?? []).every((e) =>
|
|
57
|
+
var _e = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
58
|
+
function Y(e) {
|
|
59
|
+
return (e ?? []).every((e) => _e.test(String(e ?? "").trim()));
|
|
57
60
|
}
|
|
58
|
-
function
|
|
61
|
+
function ve(e, { byId: t, byLegacyKey: n = null, date: r = /* @__PURE__ */ new Date() } = {}) {
|
|
59
62
|
if (!e?.length) return null;
|
|
60
|
-
let i =
|
|
63
|
+
let i = q(r) % e.length;
|
|
61
64
|
for (let r = 0; r < e.length; r++) {
|
|
62
|
-
let a = String(e[(i + r) % e.length] ?? "").trim(), o =
|
|
65
|
+
let a = String(e[(i + r) % e.length] ?? "").trim(), o = _e.test(a) ? t?.get(a) : n?.get(ge(a));
|
|
63
66
|
if (o) return o;
|
|
64
67
|
}
|
|
65
68
|
return null;
|
|
66
69
|
}
|
|
67
70
|
// src/standalone/Sponsors.vue
|
|
68
|
-
var
|
|
71
|
+
var ye = { class: "mwnf-standalone-sponsors" }, be = {
|
|
69
72
|
key: 0,
|
|
70
73
|
class: "mwnf-standalone-sponsors__text"
|
|
71
|
-
},
|
|
74
|
+
}, xe = ["innerHTML"], Se = { key: 1 }, Ce = ["innerHTML"], we = {
|
|
72
75
|
key: 1,
|
|
73
76
|
class: "mwnf-standalone-sponsors__title"
|
|
74
|
-
},
|
|
77
|
+
}, Te = {
|
|
75
78
|
key: 2,
|
|
76
79
|
class: "mwnf-standalone-sponsors__logos"
|
|
77
|
-
},
|
|
80
|
+
}, Ee = {
|
|
78
81
|
key: 0,
|
|
79
82
|
class: "mwnf-standalone-sponsors__note"
|
|
80
|
-
},
|
|
83
|
+
}, De = ["src", "alt"], Oe = ["innerHTML"], ke = ["href"], Ae = ["src", "alt"], je = ["src", "alt"], Me = {
|
|
81
84
|
key: 3,
|
|
82
85
|
class: "mwnf-standalone-sponsors__links"
|
|
83
|
-
},
|
|
86
|
+
}, Ne = {
|
|
84
87
|
__name: "Sponsors",
|
|
85
88
|
props: { columns: {
|
|
86
89
|
type: Array,
|
|
87
90
|
default: () => []
|
|
88
91
|
} },
|
|
89
92
|
setup(n) {
|
|
90
|
-
let o = n, { t: l } =
|
|
93
|
+
let o = n, { t: l } = U(), u = K(), d = t(() => o.columns.map((e, t) => ({
|
|
91
94
|
key: t,
|
|
92
95
|
width: e.width ?? null,
|
|
93
|
-
lead: e.lead ?
|
|
94
|
-
text: e.text ?
|
|
96
|
+
lead: e.lead ? V(l(e.lead)) : "",
|
|
97
|
+
text: e.text ? V(l(e.text)) : "",
|
|
95
98
|
break: !!e.break,
|
|
96
99
|
title: e.title ? l(e.title) : "",
|
|
97
100
|
logos: (e.logos ?? []).map((e) => ({
|
|
98
101
|
src: u(e.src) ?? "",
|
|
99
102
|
alt: e.alt ? l(e.alt) : "",
|
|
100
103
|
href: e.href ?? "",
|
|
101
|
-
note: e.note ?
|
|
104
|
+
note: e.note ? ne(l(e.note)) : ""
|
|
102
105
|
})),
|
|
103
106
|
links: (e.links ?? []).map((e) => ({
|
|
104
107
|
...e,
|
|
105
108
|
label: l(e.label)
|
|
106
109
|
}))
|
|
107
110
|
})));
|
|
108
|
-
return (t, n) => (_(), i("div",
|
|
111
|
+
return (t, n) => (_(), i("div", ye, [(_(!0), i(e, null, b(d.value, (t) => (_(), i("div", {
|
|
109
112
|
key: t.key,
|
|
110
113
|
class: "mwnf-standalone-sponsors__column",
|
|
111
114
|
style: m(t.width ? { flexGrow: t.width } : void 0)
|
|
112
115
|
}, [
|
|
113
|
-
t.lead || t.text ? (_(), i("p",
|
|
116
|
+
t.lead || t.text ? (_(), i("p", be, [
|
|
114
117
|
t.lead ? (_(), i("i", {
|
|
115
118
|
key: 0,
|
|
116
119
|
innerHTML: t.lead
|
|
117
|
-
}, null, 8,
|
|
118
|
-
t.lead && t.break ? (_(), i("br",
|
|
120
|
+
}, null, 8, xe)) : r("", !0),
|
|
121
|
+
t.lead && t.break ? (_(), i("br", Se)) : t.lead && t.text ? (_(), i(e, { key: 2 }, [s(S(" "))], 64)) : r("", !0),
|
|
119
122
|
t.text ? (_(), i("span", {
|
|
120
123
|
key: 3,
|
|
121
124
|
innerHTML: t.text
|
|
122
|
-
}, null, 8,
|
|
125
|
+
}, null, 8, Ce)) : r("", !0)
|
|
123
126
|
])) : r("", !0),
|
|
124
|
-
t.title ? (_(), i("p",
|
|
125
|
-
t.logos.length ? (_(), i("ul",
|
|
127
|
+
t.title ? (_(), i("p", we, S(t.title), 1)) : r("", !0),
|
|
128
|
+
t.logos.length ? (_(), i("ul", Te, [(_(!0), i(e, null, b(t.logos, (e) => (_(), i("li", { key: e.src }, [e.note ? (_(), i("details", Ee, [a("summary", null, [a("img", {
|
|
126
129
|
src: e.src,
|
|
127
130
|
alt: e.alt
|
|
128
|
-
}, null, 8,
|
|
131
|
+
}, null, 8, De)]), a("div", {
|
|
129
132
|
class: "mwnf-standalone-sponsors__note-body",
|
|
130
133
|
innerHTML: e.note
|
|
131
|
-
}, null, 8,
|
|
134
|
+
}, null, 8, Oe)])) : e.href ? (_(), i("a", {
|
|
132
135
|
key: 1,
|
|
133
136
|
href: e.href,
|
|
134
137
|
target: "_blank",
|
|
@@ -136,12 +139,12 @@ var ve = { class: "mwnf-standalone-sponsors" }, ye = {
|
|
|
136
139
|
}, [a("img", {
|
|
137
140
|
src: e.src,
|
|
138
141
|
alt: e.alt
|
|
139
|
-
}, null, 8,
|
|
142
|
+
}, null, 8, Ae)], 8, ke)) : (_(), i("img", {
|
|
140
143
|
key: 2,
|
|
141
144
|
src: e.src,
|
|
142
145
|
alt: e.alt
|
|
143
|
-
}, null, 8,
|
|
144
|
-
t.links.length ? (_(), i("ul",
|
|
146
|
+
}, null, 8, je))]))), 128))])) : r("", !0),
|
|
147
|
+
t.links.length ? (_(), i("ul", Me, [(_(!0), i(e, null, b(t.links, (e) => (_(), i("li", { key: e.label }, [c(G, {
|
|
145
148
|
to: e.to,
|
|
146
149
|
href: e.href,
|
|
147
150
|
external: !!e.external
|
|
@@ -155,16 +158,16 @@ var ve = { class: "mwnf-standalone-sponsors" }, ye = {
|
|
|
155
158
|
])]))), 128))])) : r("", !0)
|
|
156
159
|
], 4))), 128))]));
|
|
157
160
|
}
|
|
158
|
-
},
|
|
161
|
+
}, Pe = {
|
|
159
162
|
key: 0,
|
|
160
163
|
class: "mwnf-standalone mwnf-standalone--bare"
|
|
161
|
-
},
|
|
164
|
+
}, Fe = { class: "mwnf-banner mwnf-standalone-home-banner" }, Ie = ["src"], Le = { class: "mwnf-standalone-home-banner__text" }, Re = {
|
|
162
165
|
key: 0,
|
|
163
166
|
class: "mwnf-standalone-home-banner__title"
|
|
164
|
-
},
|
|
167
|
+
}, ze = {
|
|
165
168
|
key: 1,
|
|
166
169
|
class: "mwnf-standalone-home-banner__line"
|
|
167
|
-
},
|
|
170
|
+
}, Be = ["src"], Ve = {
|
|
168
171
|
__name: "Shell",
|
|
169
172
|
props: {
|
|
170
173
|
language: {
|
|
@@ -178,7 +181,7 @@ var ve = { class: "mwnf-standalone-sponsors" }, ye = {
|
|
|
178
181
|
},
|
|
179
182
|
emits: ["update:language"],
|
|
180
183
|
setup(e, { emit: s }) {
|
|
181
|
-
let l = e, u = s, { t: d, locale: p } =
|
|
184
|
+
let l = e, u = s, { t: d, locale: p } = U(), m = P(), h = t(() => !!m.meta?.bare), g = W(), v = ie(), y = t(() => g.standalone ?? {}), b = t(() => g.navigation ?? {}), w = t(() => v.value === "home"), T = t(() => y.value.areas?.[v.value] ?? null), E = (e) => oe(g.chrome, me(e, p.value)), D = t(() => {
|
|
182
185
|
let e = y.value.logo ?? {}, t = E(T.value?.logo ?? e.src);
|
|
183
186
|
return t ? {
|
|
184
187
|
logo: t,
|
|
@@ -211,14 +214,14 @@ var ve = { class: "mwnf-standalone-sponsors" }, ye = {
|
|
|
211
214
|
},
|
|
212
215
|
banner: null,
|
|
213
216
|
...D.value ? { brand: D.value } : {}
|
|
214
|
-
})), L = (/* @__PURE__ */ new Date()).getFullYear(), R = t(() => y.value.copyright ? `${d(y.value.copyright)} ${L}` : ""),
|
|
217
|
+
})), L = (/* @__PURE__ */ new Date()).getFullYear(), R = t(() => y.value.copyright ? `${d(y.value.copyright)} ${L}` : ""), z = t(() => [
|
|
215
218
|
"mwnf-standalone",
|
|
216
219
|
w.value ? "mwnf-standalone--home" : "mwnf-standalone--inner",
|
|
217
220
|
T.value?.class ?? ""
|
|
218
221
|
]);
|
|
219
|
-
return (e, t) => h.value ? (_(), i("div",
|
|
222
|
+
return (e, t) => h.value ? (_(), i("div", Pe, [x(e.$slots, "default")])) : (_(), n(ae, {
|
|
220
223
|
key: 1,
|
|
221
|
-
class: f(
|
|
224
|
+
class: f(z.value),
|
|
222
225
|
config: ee.value,
|
|
223
226
|
languages: y.value.languages === !1 ? [] : l.languages,
|
|
224
227
|
language: l.language,
|
|
@@ -237,19 +240,19 @@ var ve = { class: "mwnf-standalone-sponsors" }, ye = {
|
|
|
237
240
|
}, [
|
|
238
241
|
N.value ? {
|
|
239
242
|
name: "banner",
|
|
240
|
-
fn: j(() => [c(
|
|
243
|
+
fn: j(() => [c(pe, {
|
|
241
244
|
image: A.value,
|
|
242
245
|
title: M.value
|
|
243
246
|
}, null, 8, ["image", "title"])]),
|
|
244
247
|
key: "0"
|
|
245
248
|
} : F.value ? {
|
|
246
249
|
name: "banner",
|
|
247
|
-
fn: j(() => [a("section",
|
|
250
|
+
fn: j(() => [a("section", Fe, [A.value ? (_(), i("img", {
|
|
248
251
|
key: 0,
|
|
249
252
|
class: "mwnf-banner__image",
|
|
250
253
|
src: A.value,
|
|
251
254
|
alt: ""
|
|
252
|
-
}, null, 8,
|
|
255
|
+
}, null, 8, Ie)) : r("", !0), a("div", Le, [F.value.title ? (_(), i("h2", Re, [a("i", null, S(F.value.title), 1)])) : r("", !0), F.value.text ? (_(), i("p", ze, [a("span", null, S(F.value.text), 1)])) : r("", !0)])])]),
|
|
253
256
|
key: "1"
|
|
254
257
|
} : void 0,
|
|
255
258
|
O.value ? {
|
|
@@ -258,7 +261,7 @@ var ve = { class: "mwnf-standalone-sponsors" }, ye = {
|
|
|
258
261
|
class: "mwnf-standalone__print-logo",
|
|
259
262
|
src: O.value,
|
|
260
263
|
alt: ""
|
|
261
|
-
}, null, 8,
|
|
264
|
+
}, null, 8, Be)]),
|
|
262
265
|
key: "2"
|
|
263
266
|
} : void 0,
|
|
264
267
|
e.$slots.sponsors ? {
|
|
@@ -267,7 +270,7 @@ var ve = { class: "mwnf-standalone-sponsors" }, ye = {
|
|
|
267
270
|
key: "3"
|
|
268
271
|
} : I.value ? {
|
|
269
272
|
name: "sponsors",
|
|
270
|
-
fn: j(() => [c(
|
|
273
|
+
fn: j(() => [c(Ne, { columns: I.value.columns }, null, 8, ["columns"])]),
|
|
271
274
|
key: "4"
|
|
272
275
|
} : void 0,
|
|
273
276
|
e.$slots.footer ? {
|
|
@@ -287,19 +290,19 @@ var ve = { class: "mwnf-standalone-sponsors" }, ye = {
|
|
|
287
290
|
"footer-text"
|
|
288
291
|
]));
|
|
289
292
|
}
|
|
290
|
-
},
|
|
293
|
+
}, He = {
|
|
291
294
|
key: 0,
|
|
292
295
|
class: "mwnf-standalone-highlight"
|
|
293
|
-
},
|
|
296
|
+
}, Ue = ["src", "alt"], We = {
|
|
294
297
|
key: 1,
|
|
295
298
|
class: "mwnf-standalone-highlight__heading"
|
|
296
|
-
},
|
|
299
|
+
}, Ge = { class: "mwnf-standalone-highlight__lines" }, Ke = ["innerHTML"], qe = {
|
|
297
300
|
key: 2,
|
|
298
301
|
class: "mwnf-standalone-highlight__place"
|
|
299
|
-
},
|
|
302
|
+
}, Je = {
|
|
300
303
|
key: 3,
|
|
301
304
|
class: "mwnf-standalone-highlight__action"
|
|
302
|
-
},
|
|
305
|
+
}, Ye = {
|
|
303
306
|
__name: "TodayHighlight",
|
|
304
307
|
props: {
|
|
305
308
|
record: {
|
|
@@ -340,20 +343,20 @@ var ve = { class: "mwnf-standalone-sponsors" }, ye = {
|
|
|
340
343
|
}
|
|
341
344
|
},
|
|
342
345
|
setup(o) {
|
|
343
|
-
let l = o, { t: u } =
|
|
346
|
+
let l = o, { t: u } = U(), d = (e) => B(Array.isArray(e) ? e.join("; ") : e), f = t(() => {
|
|
344
347
|
let e = l.text ?? {}, t = [], n = d(e.name ?? l.record?.internal_name ?? "");
|
|
345
|
-
n && t.push(
|
|
348
|
+
n && t.push(V(n));
|
|
346
349
|
let r = d(e.alternate_name);
|
|
347
|
-
r && t.push(`${l.alsoKnownAs ? `${u(l.alsoKnownAs)} ` : ""}${
|
|
350
|
+
r && t.push(`${l.alsoKnownAs ? `${u(l.alsoKnownAs)} ` : ""}${V(r)}`);
|
|
348
351
|
let i = [d(e.dates), d(e.dynasty)].filter(Boolean).join(", ");
|
|
349
|
-
i && t.push(
|
|
352
|
+
i && t.push(V(i));
|
|
350
353
|
for (let n of ["materials", "holder"]) {
|
|
351
354
|
let r = d(e[n]);
|
|
352
|
-
r && t.push(
|
|
355
|
+
r && t.push(V(r));
|
|
353
356
|
}
|
|
354
357
|
return t;
|
|
355
|
-
}), p = t(() => l.place ?? [d(l.text?.location), l.country].filter(Boolean).join(", ")), m = t(() => l.picture || (l.record?.images?.[0]?.url ?? "")), h = t(() =>
|
|
356
|
-
return (t, l) => o.record ? (_(), i("div",
|
|
358
|
+
}), p = t(() => l.place ?? [d(l.text?.location), l.country].filter(Boolean).join(", ")), m = t(() => l.picture || (l.record?.images?.[0]?.url ?? "")), h = t(() => H(String(l.text?.name ?? l.record?.internal_name ?? "")));
|
|
359
|
+
return (t, l) => o.record ? (_(), i("div", He, [
|
|
357
360
|
m.value ? (_(), n(G, {
|
|
358
361
|
key: 0,
|
|
359
362
|
class: "mwnf-standalone-highlight__media",
|
|
@@ -363,28 +366,28 @@ var ve = { class: "mwnf-standalone-sponsors" }, ye = {
|
|
|
363
366
|
class: "mwnf-standalone-highlight__image",
|
|
364
367
|
src: m.value,
|
|
365
368
|
alt: h.value
|
|
366
|
-
}, null, 8,
|
|
369
|
+
}, null, 8, Ue)]),
|
|
367
370
|
_: 1
|
|
368
371
|
}, 8, ["to"])) : r("", !0),
|
|
369
|
-
o.heading ? (_(), i("p",
|
|
370
|
-
a("p",
|
|
371
|
-
p.value ? (_(), i("p",
|
|
372
|
-
o.action ? (_(), i("p",
|
|
372
|
+
o.heading ? (_(), i("p", We, [a("strong", null, S(C(u)(o.heading)), 1)])) : r("", !0),
|
|
373
|
+
a("p", Ge, [(_(!0), i(e, null, b(f.value, (t, n) => (_(), i(e, { key: n }, [a("span", { innerHTML: t }, null, 8, Ke), l[0] ||= a("br", null, null, -1)], 64))), 128))]),
|
|
374
|
+
p.value ? (_(), i("p", qe, S(C(H)(p.value)), 1)) : r("", !0),
|
|
375
|
+
o.action ? (_(), i("p", Je, [c(G, { to: o.to }, {
|
|
373
376
|
default: j(() => [s(S(C(u)(o.action)), 1)]),
|
|
374
377
|
_: 1
|
|
375
378
|
}, 8, ["to"])])) : r("", !0)
|
|
376
379
|
])) : r("", !0);
|
|
377
380
|
}
|
|
378
|
-
},
|
|
381
|
+
}, Xe = {
|
|
379
382
|
key: 0,
|
|
380
383
|
class: "mwnf-standalone-tiles"
|
|
381
|
-
},
|
|
384
|
+
}, Ze = {
|
|
382
385
|
key: 0,
|
|
383
386
|
class: "mwnf-standalone-tiles__caption"
|
|
384
|
-
},
|
|
387
|
+
}, Qe = { class: "mwnf-standalone-tiles__caption-text" }, $e = { class: "mwnf-standalone-tiles__grid" }, et = ["src", "alt"], tt = {
|
|
385
388
|
key: 0,
|
|
386
389
|
class: "mwnf-standalone-tiles__label"
|
|
387
|
-
},
|
|
390
|
+
}, nt = {
|
|
388
391
|
__name: "TileGrid",
|
|
389
392
|
props: {
|
|
390
393
|
caption: {
|
|
@@ -397,12 +400,12 @@ var ve = { class: "mwnf-standalone-sponsors" }, ye = {
|
|
|
397
400
|
}
|
|
398
401
|
},
|
|
399
402
|
setup(n) {
|
|
400
|
-
let o = n, { t: s } =
|
|
403
|
+
let o = n, { t: s } = U(), l = K(), u = t(() => o.items.map((e) => ({
|
|
401
404
|
...e,
|
|
402
405
|
image: l(e.image) ?? "",
|
|
403
|
-
label: e.text ?
|
|
406
|
+
label: e.text ? H(e.text) : e.label ? s(e.label) : ""
|
|
404
407
|
})));
|
|
405
|
-
return (t, o) => u.value.length ? (_(), i("section",
|
|
408
|
+
return (t, o) => u.value.length ? (_(), i("section", Xe, [n.caption ? (_(), i("p", Ze, [a("span", Qe, S(C(s)(n.caption)), 1)])) : r("", !0), a("ul", $e, [(_(!0), i(e, null, b(u.value, (e) => (_(), i("li", {
|
|
406
409
|
key: e.image,
|
|
407
410
|
class: "mwnf-standalone-tiles__tile"
|
|
408
411
|
}, [c(G, {
|
|
@@ -414,30 +417,30 @@ var ve = { class: "mwnf-standalone-sponsors" }, ye = {
|
|
|
414
417
|
class: "mwnf-standalone-tiles__image",
|
|
415
418
|
src: e.image,
|
|
416
419
|
alt: e.label
|
|
417
|
-
}, null, 8,
|
|
420
|
+
}, null, 8, et), e.label ? (_(), i("span", tt, S(e.label), 1)) : r("", !0)]),
|
|
418
421
|
_: 2
|
|
419
422
|
}, 1032, ["to", "href"])]))), 128))])])) : r("", !0);
|
|
420
423
|
}
|
|
421
|
-
},
|
|
424
|
+
}, rt = { class: "mwnf-standalone-home" }, it = {
|
|
422
425
|
key: 0,
|
|
423
426
|
class: "mwnf-standalone-home__links"
|
|
424
|
-
},
|
|
427
|
+
}, at = { key: 1 }, ot = {
|
|
425
428
|
__name: "Home",
|
|
426
429
|
props: { home: {
|
|
427
430
|
type: Object,
|
|
428
431
|
default: null
|
|
429
432
|
} },
|
|
430
433
|
setup(a) {
|
|
431
|
-
let o = a, { t: l, locale: u } =
|
|
434
|
+
let o = a, { t: l, locale: u } = U(), d = W(), p = t(() => o.home ?? d.standalone?.home ?? {}), m = t(() => (p.value.links ?? []).map((e) => ({
|
|
432
435
|
...e,
|
|
433
436
|
label: l(e.label),
|
|
434
437
|
prefix: e.prefix ? l(e.prefix) : "",
|
|
435
438
|
title: e.title ? l(e.title) : void 0
|
|
436
|
-
}))), h = t(() => p.value.highlight ?? null), g =
|
|
439
|
+
}))), h = t(() => p.value.highlight ?? null), g = re();
|
|
437
440
|
h.value?.list?.length && (L(["items", "countries"]), A(u, (e) => {
|
|
438
441
|
g.loadTranslations("items", e), g.loadTranslations("countries", e);
|
|
439
442
|
}, { immediate: !0 }));
|
|
440
|
-
let v = F("items"), y =
|
|
443
|
+
let v = F("items"), y = Y(h.value?.list) ? null : F("items", "backward_compatibility"), C = t(() => ve(h.value?.list ?? [], {
|
|
441
444
|
byId: v.value,
|
|
442
445
|
byLegacyKey: y?.value ?? null
|
|
443
446
|
})), w = t(() => C.value ? g.tr("items", C.value.id, u.value, "en") : {}), T = t(() => {
|
|
@@ -446,15 +449,15 @@ var ve = { class: "mwnf-standalone-sponsors" }, ye = {
|
|
|
446
449
|
}), E = t(() => C.value && h.value?.place ? h.value.place(C.value, w.value, T.value) : null), D = t(() => C.value ? {
|
|
447
450
|
name: h.value.route ?? "item",
|
|
448
451
|
params: { id: C.value.id }
|
|
449
|
-
} : null), O =
|
|
452
|
+
} : null), O = K(), k = t(() => {
|
|
450
453
|
let e = h.value?.pictures ?? [];
|
|
451
|
-
return e.length ? O(
|
|
454
|
+
return e === "inventory" ? he(v.value) : e.length ? O(J(e)) ?? "" : "";
|
|
452
455
|
}), M = t(() => {
|
|
453
456
|
let e = p.value.tiles?.items;
|
|
454
457
|
return (typeof e == "function" ? e() : e) ?? [];
|
|
455
458
|
});
|
|
456
|
-
return (t, a) => (_(), i("div",
|
|
457
|
-
m.value.length ? (_(), i("ul",
|
|
459
|
+
return (t, a) => (_(), i("div", rt, [
|
|
460
|
+
m.value.length ? (_(), i("ul", it, [(_(!0), i(e, null, b(m.value, (t) => (_(), i("li", {
|
|
458
461
|
key: t.label,
|
|
459
462
|
class: f({ "mwnf-standalone-home__link--gap": t.gap })
|
|
460
463
|
}, [c(G, {
|
|
@@ -463,7 +466,7 @@ var ve = { class: "mwnf-standalone-sponsors" }, ye = {
|
|
|
463
466
|
external: !!t.external,
|
|
464
467
|
title: t.title
|
|
465
468
|
}, {
|
|
466
|
-
default: j(() => [t.prefix ? (_(), i(e, { key: 0 }, [s(S(`${t.prefix} `), 1)], 64)) : r("", !0), t.italic ? (_(), i("i",
|
|
469
|
+
default: j(() => [t.prefix ? (_(), i(e, { key: 0 }, [s(S(`${t.prefix} `), 1)], 64)) : r("", !0), t.italic ? (_(), i("i", at, S(t.label), 1)) : (_(), i(e, { key: 2 }, [s(S(t.label), 1)], 64))]),
|
|
467
470
|
_: 2
|
|
468
471
|
}, 1032, [
|
|
469
472
|
"to",
|
|
@@ -471,7 +474,7 @@ var ve = { class: "mwnf-standalone-sponsors" }, ye = {
|
|
|
471
474
|
"external",
|
|
472
475
|
"title"
|
|
473
476
|
])], 2))), 128))])) : r("", !0),
|
|
474
|
-
h.value ? (_(), n(
|
|
477
|
+
h.value ? (_(), n(Ye, {
|
|
475
478
|
key: 1,
|
|
476
479
|
record: C.value,
|
|
477
480
|
text: w.value,
|
|
@@ -493,7 +496,7 @@ var ve = { class: "mwnf-standalone-sponsors" }, ye = {
|
|
|
493
496
|
"also-known-as",
|
|
494
497
|
"action"
|
|
495
498
|
])) : r("", !0),
|
|
496
|
-
p.value.tiles ? (_(), n(
|
|
499
|
+
p.value.tiles ? (_(), n(nt, {
|
|
497
500
|
key: 2,
|
|
498
501
|
caption: p.value.tiles.caption ?? "",
|
|
499
502
|
items: M.value
|
|
@@ -501,7 +504,7 @@ var ve = { class: "mwnf-standalone-sponsors" }, ye = {
|
|
|
501
504
|
x(t.$slots, "default")
|
|
502
505
|
]));
|
|
503
506
|
}
|
|
504
|
-
},
|
|
507
|
+
}, st = "html { height: 100%; margin-bottom: 1px; }\nbody, p, div, td { font: Normal 11px/14px verdana, arial, helvetica; }\nbody { padding: 0px; border: 0px; border-spacing: 0px; margin: 0px auto; }\ndiv { padding: 0px; border: 0px; border-spacing: 0px; margin: 0px; }\np { font: Normal 11px/14px Verdana, Arial, Helvetica; padding: 3px; padding-left: 8px; padding-bottom: 30px; line-height: 1.4em; margin: 0px 0px 10px 0px; }\na, a:link, a:hover, a:visited, a:active { text-decoration: none; }\nh3 { font: Normal 11px/14px Verdana, Arial, Helvetica; padding-left: 8px; padding-right: 8px; font-weight: bold; margin: 0px; }\n.item_description { font-family: Verdana, Arial, Helvetica, sans-serif; padding-top: 25px; padding-bottom: 25px; width: 990px; }", ct = ".mwnf-sheet__label, .mwnf-sheet-section__heading, .mwnf-credits__heading", lt = ".mwnf-sheet__value, .mwnf-sheet-section__body, .mwnf-credits__citation, .mwnf-credits__list > dt, .mwnf-credits__number, .mwnf-sheet__short .mwnf-sheet__block", ut = "button, img, svg, picture, video, audio, iframe, script, style, [role=\"tooltip\"], [aria-hidden=\"true\"]";
|
|
505
508
|
function X(e) {
|
|
506
509
|
return String(e ?? "").replace(/[&<>"]/g, (e) => ({
|
|
507
510
|
"&": "&",
|
|
@@ -510,7 +513,7 @@ function X(e) {
|
|
|
510
513
|
"\"": """
|
|
511
514
|
})[e]);
|
|
512
515
|
}
|
|
513
|
-
var
|
|
516
|
+
var dt = /* @__PURE__ */ new Set([
|
|
514
517
|
"I",
|
|
515
518
|
"EM",
|
|
516
519
|
"B",
|
|
@@ -518,7 +521,7 @@ var ut = /* @__PURE__ */ new Set([
|
|
|
518
521
|
"U",
|
|
519
522
|
"SUP",
|
|
520
523
|
"SUB"
|
|
521
|
-
]),
|
|
524
|
+
]), ft = /* @__PURE__ */ new Set([
|
|
522
525
|
"P",
|
|
523
526
|
"DIV",
|
|
524
527
|
"LI",
|
|
@@ -534,12 +537,12 @@ function Z(e) {
|
|
|
534
537
|
n().push(X(e.textContent));
|
|
535
538
|
return;
|
|
536
539
|
}
|
|
537
|
-
if (e.nodeType !== Node.ELEMENT_NODE || e.matches(
|
|
540
|
+
if (e.nodeType !== Node.ELEMENT_NODE || e.matches(ut)) return;
|
|
538
541
|
if (e.tagName === "BR") {
|
|
539
542
|
n().push("<br/>");
|
|
540
543
|
return;
|
|
541
544
|
}
|
|
542
|
-
let t =
|
|
545
|
+
let t = ft.has(e.tagName), a = dt.has(e.tagName) ? e.tagName.toLowerCase() : "";
|
|
543
546
|
t && r(), a && n().push(`<${a}>`);
|
|
544
547
|
for (let t of e.childNodes) i(t);
|
|
545
548
|
a && n().push(`</${a}>`), t && r();
|
|
@@ -547,12 +550,12 @@ function Z(e) {
|
|
|
547
550
|
for (let t of e.childNodes) i(t);
|
|
548
551
|
return t.map((e) => e.join("").replace(/\s+/g, " ").trim()).filter(Boolean).join("<br/>\n<br/>");
|
|
549
552
|
}
|
|
550
|
-
function
|
|
553
|
+
function pt(e, { title: t = "", dir: n = "" } = {}) {
|
|
551
554
|
let r = (t) => {
|
|
552
555
|
for (let n = t; n && n !== e.parentElement; n = n.parentElement) if (n.hidden || getComputedStyle(n).display === "none") return !1;
|
|
553
556
|
return !0;
|
|
554
557
|
}, i = [];
|
|
555
|
-
for (let t of e.querySelectorAll(`${
|
|
558
|
+
for (let t of e.querySelectorAll(`${ct}, ${lt}`)) {
|
|
556
559
|
if (t.closest(".mwnf-standalone-item__left, .mwnf-standalone-related") || !r(t)) continue;
|
|
557
560
|
if (t.matches(".mwnf-credits__list > dt")) {
|
|
558
561
|
let e = t.nextElementSibling;
|
|
@@ -560,7 +563,7 @@ function ft(e, { title: t = "", dir: n = "" } = {}) {
|
|
|
560
563
|
continue;
|
|
561
564
|
}
|
|
562
565
|
let e = Z(t);
|
|
563
|
-
e && i.push(t.matches(
|
|
566
|
+
e && i.push(t.matches(ct) ? `<h3>${e}</h3>` : `<p>${e}</p>`);
|
|
564
567
|
}
|
|
565
568
|
let a = n === "rtl" ? " style=\"direction: rtl;\"" : "";
|
|
566
569
|
return `<html>
|
|
@@ -568,7 +571,7 @@ function ft(e, { title: t = "", dir: n = "" } = {}) {
|
|
|
568
571
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
569
572
|
<head>
|
|
570
573
|
<style>
|
|
571
|
-
${
|
|
574
|
+
${st}
|
|
572
575
|
</style>
|
|
573
576
|
</head>
|
|
574
577
|
<body>
|
|
@@ -582,11 +585,11 @@ ${i.join("\n")}
|
|
|
582
585
|
</body>
|
|
583
586
|
</html>`;
|
|
584
587
|
}
|
|
585
|
-
function
|
|
588
|
+
function mt(e, t) {
|
|
586
589
|
let n = URL.createObjectURL(new Blob(["", e], { type: "application/msword" })), r = document.createElement("a");
|
|
587
590
|
r.href = n, r.download = t, document.body.appendChild(r), r.click(), r.remove(), setTimeout(() => URL.revokeObjectURL(n), 0);
|
|
588
591
|
}
|
|
589
|
-
function
|
|
592
|
+
function ht({ title: e = "", heading: t = "", heads: n = {}, rows: r = [], empty: i = "", dir: a = "" } = {}) {
|
|
590
593
|
let o = a === "rtl" ? "direction: rtl; text-align: right;" : "text-align: left;", s = (e) => {
|
|
591
594
|
let t = document.createElement("div");
|
|
592
595
|
return t.innerHTML = e ?? "", Z(t);
|
|
@@ -623,7 +626,7 @@ ${r.map(u).join("\n")}
|
|
|
623
626
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
624
627
|
<head>
|
|
625
628
|
<style>
|
|
626
|
-
${
|
|
629
|
+
${st}
|
|
627
630
|
</style>
|
|
628
631
|
</head>
|
|
629
632
|
<body>
|
|
@@ -640,13 +643,13 @@ ${d}
|
|
|
640
643
|
</html>`;
|
|
641
644
|
}
|
|
642
645
|
// src/standalone/RelatedContent.vue
|
|
643
|
-
var
|
|
646
|
+
var gt = { class: "mwnf-standalone-related" }, _t = { class: "mwnf-standalone-related__heading" }, vt = { class: "mwnf-standalone-related__group-heading" }, yt = { class: "mwnf-standalone-related__thumbs" }, bt = ["src", "alt"], xt = ["innerHTML"], St = {
|
|
644
647
|
key: 0,
|
|
645
648
|
class: "mwnf-standalone-related__see-also"
|
|
646
|
-
},
|
|
649
|
+
}, Ct = { class: "mwnf-standalone-related__see-also-heading" }, wt = ["href"], Tt = ["href"], Et = {
|
|
647
650
|
key: 1,
|
|
648
651
|
class: "mwnf-standalone-related__download"
|
|
649
|
-
},
|
|
652
|
+
}, Dt = { class: "mwnf-standalone-related__download-heading" }, Ot = {
|
|
650
653
|
__name: "RelatedContent",
|
|
651
654
|
props: {
|
|
652
655
|
heading: {
|
|
@@ -675,7 +678,7 @@ var ht = { class: "mwnf-standalone-related" }, gt = { class: "mwnf-standalone-re
|
|
|
675
678
|
}
|
|
676
679
|
},
|
|
677
680
|
setup(n) {
|
|
678
|
-
let o = n, { t: l } =
|
|
681
|
+
let o = n, { t: l } = U(), u = t(() => o.groups.map((e) => ({
|
|
679
682
|
heading: l(e.heading),
|
|
680
683
|
rows: o.records.filter((t) => !e.type || t.badge === e.type)
|
|
681
684
|
})).filter((e) => e.rows.length));
|
|
@@ -684,17 +687,17 @@ var ht = { class: "mwnf-standalone-related" }, gt = { class: "mwnf-standalone-re
|
|
|
684
687
|
}
|
|
685
688
|
function f(e) {
|
|
686
689
|
let t = e.currentTarget.closest(".mwnf-standalone-item");
|
|
687
|
-
t && pt(
|
|
690
|
+
t && mt(pt(t.querySelector(".mwnf-record__main") ?? t, {
|
|
688
691
|
title: o.download?.title ? l(o.download.title) : "",
|
|
689
692
|
dir: getComputedStyle(t).direction
|
|
690
693
|
}), o.wordFile);
|
|
691
694
|
}
|
|
692
|
-
return (t, o) => (_(), i("aside",
|
|
693
|
-
a("p",
|
|
695
|
+
return (t, o) => (_(), i("aside", gt, [
|
|
696
|
+
a("p", _t, [a("strong", null, S(C(l)(n.heading)), 1)]),
|
|
694
697
|
(_(!0), i(e, null, b(u.value, (t) => (_(), i("div", {
|
|
695
698
|
key: t.heading,
|
|
696
699
|
class: "mwnf-standalone-related__group"
|
|
697
|
-
}, [a("p",
|
|
700
|
+
}, [a("p", vt, S(t.heading), 1), a("ul", yt, [(_(!0), i(e, null, b(t.rows, (e) => (_(), i("li", { key: e.id }, [c(G, {
|
|
698
701
|
to: e.to,
|
|
699
702
|
title: e.imageAlt
|
|
700
703
|
}, {
|
|
@@ -702,29 +705,29 @@ var ht = { class: "mwnf-standalone-related" }, gt = { class: "mwnf-standalone-re
|
|
|
702
705
|
key: 0,
|
|
703
706
|
src: e.image,
|
|
704
707
|
alt: e.imageAlt
|
|
705
|
-
}, null, 8,
|
|
708
|
+
}, null, 8, bt)) : (_(), i("span", {
|
|
706
709
|
key: 1,
|
|
707
710
|
innerHTML: e.name
|
|
708
|
-
}, null, 8,
|
|
711
|
+
}, null, 8, xt))]),
|
|
709
712
|
_: 2
|
|
710
713
|
}, 1032, ["to", "title"])]))), 128))])]))), 128)),
|
|
711
714
|
x(t.$slots, "default"),
|
|
712
|
-
n.seeAlso ? (_(), i("div",
|
|
713
|
-
a("p",
|
|
715
|
+
n.seeAlso ? (_(), i("div", St, [
|
|
716
|
+
a("p", Ct, [a("strong", null, [o[0] ||= a("br", null, null, -1), s(S(C(l)(n.seeAlso.heading)), 1)])]),
|
|
714
717
|
(_(!0), i(e, null, b(n.seeAlso.links ?? [], (e) => (_(), i("a", {
|
|
715
718
|
key: e.href,
|
|
716
719
|
class: "mwnf-standalone-related__see-also-link",
|
|
717
720
|
href: e.href,
|
|
718
721
|
target: "_blank",
|
|
719
722
|
rel: "noopener"
|
|
720
|
-
}, S(C(l)(e.label)), 9,
|
|
723
|
+
}, S(C(l)(e.label)), 9, wt))), 128)),
|
|
721
724
|
(_(!0), i(e, null, b(n.seeAlso.groups ?? [], (t) => (_(), i("div", {
|
|
722
725
|
key: t.heading,
|
|
723
726
|
class: "mwnf-standalone-related__see-also-group"
|
|
724
|
-
}, [a("p", null, S(C(l)(t.heading)), 1), (_(!0), i(e, null, b(t.links, (e) => (_(), i("p", { key: e.href }, [a("a", { href: e.href }, S(e.text), 9,
|
|
727
|
+
}, [a("p", null, S(C(l)(t.heading)), 1), (_(!0), i(e, null, b(t.links, (e) => (_(), i("p", { key: e.href }, [a("a", { href: e.href }, S(e.text), 9, Tt)]))), 128))]))), 128))
|
|
725
728
|
])) : r("", !0),
|
|
726
|
-
n.download ? (_(), i("div",
|
|
727
|
-
a("p",
|
|
729
|
+
n.download ? (_(), i("div", Et, [
|
|
730
|
+
a("p", Dt, S(C(l)(n.download.heading)), 1),
|
|
728
731
|
a("button", {
|
|
729
732
|
type: "button",
|
|
730
733
|
class: "mwnf-standalone-related__print",
|
|
@@ -743,21 +746,21 @@ var ht = { class: "mwnf-standalone-related" }, gt = { class: "mwnf-standalone-re
|
|
|
743
746
|
heading: "standalone.related.seeAlso",
|
|
744
747
|
travelBook: "standalone.related.travelBook",
|
|
745
748
|
exhibitionTrail: "standalone.related.exhibitionTrail"
|
|
746
|
-
}),
|
|
747
|
-
function
|
|
748
|
-
let n =
|
|
749
|
+
}), kt = (e, t) => e?.[t] ?? e?.en ?? Object.values(e ?? {})[0] ?? "";
|
|
750
|
+
function At(e, t) {
|
|
751
|
+
let n = B(kt(e?.titles, t) ?? ""), r = B(kt(e?.subtitles, t) ?? "");
|
|
749
752
|
return r ? `${n} - ${r}` : n;
|
|
750
753
|
}
|
|
751
|
-
var
|
|
752
|
-
function
|
|
754
|
+
var jt = (e, t) => `${String(e).replace(/\/+$/, "")}/${encodeURIComponent(t)}`, Mt = (e, t) => `${e}${String(e).includes("?") ? "&" : "?"}lang=${encodeURIComponent(t)}`;
|
|
755
|
+
function Nt(e, t, n = Q) {
|
|
753
756
|
let r = [], i = e?.travel_book;
|
|
754
757
|
i?.url && r.push({
|
|
755
758
|
label: n.travelBook,
|
|
756
|
-
href:
|
|
759
|
+
href: jt(i.url, t)
|
|
757
760
|
});
|
|
758
761
|
let a = (Array.isArray(e?.exhibition_trails) ? e.exhibition_trails : []).filter((e) => e?.url).map((e) => ({
|
|
759
|
-
text:
|
|
760
|
-
href:
|
|
762
|
+
text: At(e, t),
|
|
763
|
+
href: Mt(e.url, t)
|
|
761
764
|
})), o = a.length ? [{
|
|
762
765
|
heading: n.exhibitionTrail,
|
|
763
766
|
links: a
|
|
@@ -769,10 +772,10 @@ function Mt(e, t, n = Q) {
|
|
|
769
772
|
};
|
|
770
773
|
}
|
|
771
774
|
// src/standalone/ItemSheet.vue
|
|
772
|
-
var
|
|
775
|
+
var Pt = { class: "mwnf-standalone-item__top" }, Ft = { class: "mwnf-standalone-item__left" }, It = {
|
|
773
776
|
key: 0,
|
|
774
777
|
class: "mwnf-standalone-item__back"
|
|
775
|
-
},
|
|
778
|
+
}, Lt = {
|
|
776
779
|
__name: "ItemSheet",
|
|
777
780
|
props: {
|
|
778
781
|
spec: {
|
|
@@ -793,14 +796,14 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
793
796
|
}
|
|
794
797
|
},
|
|
795
798
|
setup(u) {
|
|
796
|
-
let d = u, { t: f, locale: m } =
|
|
799
|
+
let d = u, { t: f, locale: m } = U(), h = E();
|
|
797
800
|
function g(e) {
|
|
798
801
|
if (d.related.seeAlso === !1) return null;
|
|
799
802
|
let t = {
|
|
800
803
|
...Q,
|
|
801
804
|
...typeof d.related.seeAlso == "object" ? d.related.seeAlso : {}
|
|
802
805
|
};
|
|
803
|
-
return
|
|
806
|
+
return Nt(e, m.value, t);
|
|
804
807
|
}
|
|
805
808
|
let v = t(() => ({
|
|
806
809
|
...d.spec,
|
|
@@ -815,9 +818,9 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
815
818
|
text: t,
|
|
816
819
|
language: n
|
|
817
820
|
});
|
|
818
|
-
let r =
|
|
819
|
-
return
|
|
820
|
-
let { photographer: t, copyright: i } =
|
|
821
|
+
let r = H(String(t?.name ?? e?.internal_name ?? ""));
|
|
822
|
+
return te(e?.images, n).map((e) => {
|
|
823
|
+
let { photographer: t, copyright: i } = z(e, n), a = [t ? `${f("record.media.photograph")}: ${t}` : "", i ? `© ${i}` : ""].filter(Boolean).join(", ");
|
|
821
824
|
return {
|
|
822
825
|
url: e.url,
|
|
823
826
|
alt: a || e.captions?.[n] || r,
|
|
@@ -845,7 +848,7 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
845
848
|
id: u.id,
|
|
846
849
|
class: "mwnf-standalone-item"
|
|
847
850
|
}, o({
|
|
848
|
-
header: j(({ languages: e, language: t, select: n }) => [a("div",
|
|
851
|
+
header: j(({ languages: e, language: t, select: n }) => [a("div", Pt, [c(se, {
|
|
849
852
|
languages: k(e),
|
|
850
853
|
language: t,
|
|
851
854
|
from: 1,
|
|
@@ -855,7 +858,7 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
855
858
|
"language",
|
|
856
859
|
"onSelect"
|
|
857
860
|
])])]),
|
|
858
|
-
"before-sheet": j((o) => [a("div",
|
|
861
|
+
"before-sheet": j((o) => [a("div", Ft, [w.value.length ? (_(), i("p", It, [(_(!0), i(e, null, b(w.value, (t) => (_(), i(e, { key: t.label }, [t.history ? (_(), i("button", {
|
|
859
862
|
key: 0,
|
|
860
863
|
type: "button",
|
|
861
864
|
class: "mwnf-standalone-item__back-link",
|
|
@@ -872,7 +875,7 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
872
875
|
images: y(o),
|
|
873
876
|
"thumbs-from": 1
|
|
874
877
|
}, null, 8, ["images"])]), x(t.$slots, "before-sheet", p(l(o)))]),
|
|
875
|
-
related: j((e) => [c(
|
|
878
|
+
related: j((e) => [c(Ot, {
|
|
876
879
|
heading: u.related.heading ?? "record.related.title",
|
|
877
880
|
records: e.records,
|
|
878
881
|
groups: u.related.groups ?? [],
|
|
@@ -897,37 +900,37 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
897
900
|
fn: j((n) => [x(t.$slots, e, p(l(n)))])
|
|
898
901
|
}))]), 1032, ["spec", "id"]));
|
|
899
902
|
}
|
|
900
|
-
},
|
|
903
|
+
}, Rt = {
|
|
901
904
|
key: 0,
|
|
902
905
|
class: "mwnf-standalone-item__top"
|
|
903
|
-
},
|
|
906
|
+
}, zt = {
|
|
904
907
|
key: 1,
|
|
905
908
|
hidden: ""
|
|
906
|
-
},
|
|
909
|
+
}, Bt = {
|
|
907
910
|
key: 0,
|
|
908
911
|
class: "mwnf-standalone-item__back mwnf-standalone-partner__back"
|
|
909
|
-
},
|
|
912
|
+
}, Vt = { class: "mwnf-standalone-partner__heading" }, Ht = ["dir", "innerHTML"], Ut = {
|
|
910
913
|
key: 0,
|
|
911
914
|
class: "mwnf-standalone-partner__location"
|
|
912
|
-
},
|
|
915
|
+
}, Wt = { class: "mwnf-standalone-partner__bar" }, Gt = { class: "mwnf-standalone-partner__bar-start" }, Kt = ["aria-label", "onKeydown"], qt = [
|
|
913
916
|
"id",
|
|
914
917
|
"aria-selected",
|
|
915
918
|
"aria-controls",
|
|
916
919
|
"tabindex",
|
|
917
920
|
"onClick"
|
|
918
|
-
],
|
|
921
|
+
], Jt = {
|
|
919
922
|
key: 0,
|
|
920
923
|
class: "mwnf-standalone-partner__divider",
|
|
921
924
|
"aria-hidden": "true"
|
|
922
|
-
},
|
|
925
|
+
}, Yt = { key: 0 }, Xt = ["href"], Zt = { class: "mwnf-standalone-partner__bar-end" }, Qt = { class: "mwnf-standalone-partner__body" }, $t = { class: "mwnf-standalone-partner__pictures" }, en = { class: "mwnf-standalone-partner__panels" }, tn = [
|
|
923
926
|
"id",
|
|
924
927
|
"aria-labelledby",
|
|
925
928
|
"dir",
|
|
926
929
|
"innerHTML"
|
|
927
|
-
],
|
|
930
|
+
], nn = ["id", "aria-labelledby"], rn = ["innerHTML"], an = ["href"], on = { key: 0 }, sn = ["href"], cn = ["href"], ln = ["id", "aria-labelledby"], un = ["src"], dn = {
|
|
928
931
|
key: 0,
|
|
929
932
|
class: "mwnf-standalone-partner__map"
|
|
930
|
-
},
|
|
933
|
+
}, fn = { class: "mwnf-standalone-partner__map-heading" }, pn = {
|
|
931
934
|
__name: "PartnerPage",
|
|
932
935
|
props: {
|
|
933
936
|
id: {
|
|
@@ -972,7 +975,7 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
972
975
|
}
|
|
973
976
|
},
|
|
974
977
|
setup(o) {
|
|
975
|
-
let l = o, { t: u, locale: p } =
|
|
978
|
+
let l = o, { t: u, locale: p } = U(), m = w(), h = {
|
|
976
979
|
entity: "partners",
|
|
977
980
|
fields: [],
|
|
978
981
|
shortDescription: !1,
|
|
@@ -1024,7 +1027,7 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
1024
1027
|
id: o.id,
|
|
1025
1028
|
class: "mwnf-standalone-partner"
|
|
1026
1029
|
}, {
|
|
1027
|
-
header: j(({ record: e, languages: t, language: n, select: r }) => [o.bands(e) ? (_(), i("div",
|
|
1030
|
+
header: j(({ record: e, languages: t, language: n, select: r }) => [o.bands(e) ? (_(), i("div", Rt, [c(se, {
|
|
1028
1031
|
languages: t.filter((t) => l.languages(e, t.code)),
|
|
1029
1032
|
language: n,
|
|
1030
1033
|
from: 1,
|
|
@@ -1033,9 +1036,9 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
1033
1036
|
"languages",
|
|
1034
1037
|
"language",
|
|
1035
1038
|
"onSelect"
|
|
1036
|
-
])])) : (_(), i("div",
|
|
1039
|
+
])])) : (_(), i("div", zt))]),
|
|
1037
1040
|
"before-sheet": j(({ record: t, text: c, dir: p }) => [(_(!0), i(e, null, b([l.view(t, c)], (l) => (_(), i(e, { key: t.id }, [
|
|
1038
|
-
x(t).length ? (_(), i("p",
|
|
1041
|
+
x(t).length ? (_(), i("p", Bt, [(_(!0), i(e, null, b(x(t), (t) => (_(), i(e, { key: t.label }, [t.history ? (_(), i("button", {
|
|
1039
1042
|
key: 0,
|
|
1040
1043
|
type: "button",
|
|
1041
1044
|
class: "mwnf-standalone-item__back-link",
|
|
@@ -1049,12 +1052,12 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
1049
1052
|
default: j(() => [s(S(t.label), 1)]),
|
|
1050
1053
|
_: 2
|
|
1051
1054
|
}, 1032, ["to", "href"]))], 64))), 128))])) : r("", !0),
|
|
1052
|
-
a("div",
|
|
1055
|
+
a("div", Vt, [a("h3", {
|
|
1053
1056
|
class: "mwnf-standalone-partner__name",
|
|
1054
1057
|
dir: p || void 0,
|
|
1055
1058
|
innerHTML: l.name
|
|
1056
|
-
}, null, 8,
|
|
1057
|
-
a("div",
|
|
1059
|
+
}, null, 8, Ht), l.location ? (_(), i("h4", Ut, [a("i", null, S(l.location), 1)])) : r("", !0)]),
|
|
1060
|
+
a("div", Wt, [a("div", Gt, [a("ul", {
|
|
1058
1061
|
role: "tablist",
|
|
1059
1062
|
class: "mwnf-standalone-partner__tabs",
|
|
1060
1063
|
"aria-label": l.plainName,
|
|
@@ -1071,12 +1074,12 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
1071
1074
|
"aria-controls": `${C(m)}-panel-${e}`,
|
|
1072
1075
|
tabindex: D.value === e ? 0 : -1,
|
|
1073
1076
|
onClick: (t) => D.value = e
|
|
1074
|
-
}, "\xA0" + S(v(e)), 11,
|
|
1077
|
+
}, "\xA0" + S(v(e)), 11, qt), n < E(l, t, c).length - 1 || l.contact.website ? (_(), i("span", Jt, "\xA0|")) : r("", !0)]))), 128)), l.contact.website ? (_(), i("li", Yt, [a("a", {
|
|
1075
1078
|
class: "mwnf-standalone-partner__homepage",
|
|
1076
1079
|
href: l.contact.website.url,
|
|
1077
1080
|
target: "_blank",
|
|
1078
1081
|
rel: "noopener"
|
|
1079
|
-
}, "\xA0" + S(v("homepage")), 9,
|
|
1082
|
+
}, "\xA0" + S(v("homepage")), 9, Xt)])) : r("", !0)], 40, Kt)]), a("div", Zt, [o.items(t) ? (_(), n(G, {
|
|
1080
1083
|
key: 0,
|
|
1081
1084
|
class: "mwnf-standalone-partner__items",
|
|
1082
1085
|
to: o.items(t).to
|
|
@@ -1084,10 +1087,10 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
1084
1087
|
default: j(() => [s(S(C(u)(o.items(t).label)), 1)]),
|
|
1085
1088
|
_: 2
|
|
1086
1089
|
}, 1032, ["to"])) : r("", !0)])]),
|
|
1087
|
-
a("div",
|
|
1090
|
+
a("div", Qt, [a("div", $t, [l.pictures.length ? (_(), n(ce, {
|
|
1088
1091
|
key: 0,
|
|
1089
1092
|
images: N(l)
|
|
1090
|
-
}, null, 8, ["images"])) : r("", !0)]), a("div",
|
|
1093
|
+
}, null, 8, ["images"])) : r("", !0)]), a("div", en, [
|
|
1091
1094
|
M(a("div", {
|
|
1092
1095
|
id: `${C(m)}-panel-about`,
|
|
1093
1096
|
class: "mwnf-standalone-partner__panel mwnf-standalone-partner__about",
|
|
@@ -1095,7 +1098,7 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
1095
1098
|
"aria-labelledby": `${C(m)}-tab-about`,
|
|
1096
1099
|
dir: p || void 0,
|
|
1097
1100
|
innerHTML: l.description
|
|
1098
|
-
}, null, 8,
|
|
1101
|
+
}, null, 8, tn), [[k, D.value === "about"]]),
|
|
1099
1102
|
l.hasContact ? M((_(), i("div", {
|
|
1100
1103
|
key: 0,
|
|
1101
1104
|
id: `${C(m)}-panel-contact`,
|
|
@@ -1108,21 +1111,21 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
1108
1111
|
l.contact.address ? (_(), i(e, { key: 0 }, [a("span", {
|
|
1109
1112
|
class: "mwnf-standalone-partner__address",
|
|
1110
1113
|
innerHTML: l.contact.address
|
|
1111
|
-
}, null, 8,
|
|
1114
|
+
}, null, 8, rn), d[0] ||= a("br", null, null, -1)], 64)) : r("", !0),
|
|
1112
1115
|
l.contact.phone ? (_(), i(e, { key: 1 }, [s(S(v("phone")) + " " + S(l.contact.phone), 1), d[1] ||= a("br", null, null, -1)], 64)) : r("", !0),
|
|
1113
1116
|
l.contact.fax ? (_(), i(e, { key: 2 }, [s(S(v("fax")) + " " + S(l.contact.fax), 1), d[2] ||= a("br", null, null, -1)], 64)) : r("", !0),
|
|
1114
|
-
l.contact.email ? (_(), i(e, { key: 3 }, [a("a", { href: `mailto:${l.contact.email}` }, S(l.contact.email), 9,
|
|
1115
|
-
]), P(l).length ? (_(), i("p",
|
|
1117
|
+
l.contact.email ? (_(), i(e, { key: 3 }, [a("a", { href: `mailto:${l.contact.email}` }, S(l.contact.email), 9, an), d[3] ||= a("br", null, null, -1)], 64)) : r("", !0)
|
|
1118
|
+
]), P(l).length ? (_(), i("p", on, [(_(!0), i(e, null, b(P(l), (t, n) => (_(), i(e, { key: t.url }, [n ? (_(), i(e, { key: 0 }, [s("\xA0|\xA0")], 64)) : r("", !0), a("a", {
|
|
1116
1119
|
href: t.url,
|
|
1117
1120
|
target: "_blank",
|
|
1118
1121
|
rel: "noopener"
|
|
1119
|
-
}, S(t.label), 9,
|
|
1122
|
+
}, S(t.label), 9, sn)], 64))), 128))])) : r("", !0)], 64)) : r("", !0), (_(!0), i(e, null, b(l.persons, (t, n) => (_(), i("p", { key: n }, [
|
|
1120
1123
|
t.title ? (_(), i(e, { key: 0 }, [a("strong", null, S(t.title), 1), d[5] ||= a("br", null, null, -1)], 64)) : r("", !0),
|
|
1121
1124
|
t.name ? (_(), i(e, { key: 1 }, [s(S(t.name), 1), d[6] ||= a("br", null, null, -1)], 64)) : r("", !0),
|
|
1122
1125
|
t.phone ? (_(), i(e, { key: 2 }, [s(S(v("phone")) + " " + S(t.phone), 1), d[7] ||= a("br", null, null, -1)], 64)) : r("", !0),
|
|
1123
1126
|
t.fax ? (_(), i(e, { key: 3 }, [s(S(v("fax")) + " " + S(t.fax), 1), d[8] ||= a("br", null, null, -1)], 64)) : r("", !0),
|
|
1124
|
-
t.email ? (_(), i(e, { key: 4 }, [a("a", { href: `mailto:${t.email}` }, S(t.email), 9,
|
|
1125
|
-
]))), 128))], 8,
|
|
1127
|
+
t.email ? (_(), i(e, { key: 4 }, [a("a", { href: `mailto:${t.email}` }, S(t.email), 9, cn), d[9] ||= a("br", null, null, -1)], 64)) : r("", !0)
|
|
1128
|
+
]))), 128))], 8, nn)), [[k, D.value === "contact"]]) : r("", !0),
|
|
1126
1129
|
l.logos.length ? M((_(), i("div", {
|
|
1127
1130
|
key: 1,
|
|
1128
1131
|
id: `${C(m)}-panel-logo`,
|
|
@@ -1133,10 +1136,10 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
1133
1136
|
key: e.url,
|
|
1134
1137
|
src: e.url,
|
|
1135
1138
|
alt: ""
|
|
1136
|
-
}, null, 8,
|
|
1139
|
+
}, null, 8, un))), 128))], 8, ln)), [[k, D.value === "logo"]]) : r("", !0)
|
|
1137
1140
|
])])
|
|
1138
1141
|
], 64))), 128))]),
|
|
1139
|
-
after: j(({ record: e, text: t }) => [o.map(e) && l.view(e, t)?.map ? (_(), i("section",
|
|
1142
|
+
after: j(({ record: e, text: t }) => [o.map(e) && l.view(e, t)?.map ? (_(), i("section", dn, [a("h3", fn, S(v("map")), 1), c(le, {
|
|
1140
1143
|
provider: "google",
|
|
1141
1144
|
latitude: l.view(e, t).map.latitude,
|
|
1142
1145
|
longitude: l.view(e, t).map.longitude,
|
|
@@ -1153,13 +1156,13 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
1153
1156
|
_: 1
|
|
1154
1157
|
}, 8, ["id"]));
|
|
1155
1158
|
}
|
|
1156
|
-
},
|
|
1159
|
+
}, mn = ["innerHTML"], hn = {
|
|
1157
1160
|
key: 0,
|
|
1158
1161
|
class: "mwnf-standalone-page__link"
|
|
1159
|
-
},
|
|
1162
|
+
}, gn = {
|
|
1160
1163
|
key: 1,
|
|
1161
1164
|
class: "mwnf-standalone-page__print"
|
|
1162
|
-
},
|
|
1165
|
+
}, _n = {
|
|
1163
1166
|
__name: "TextPage",
|
|
1164
1167
|
props: {
|
|
1165
1168
|
body: {
|
|
@@ -1184,7 +1187,7 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
1184
1187
|
}
|
|
1185
1188
|
},
|
|
1186
1189
|
setup(e) {
|
|
1187
|
-
let n = e, { t: o } =
|
|
1190
|
+
let n = e, { t: o } = U(), s = t(() => ne(o(n.body)));
|
|
1188
1191
|
function l() {
|
|
1189
1192
|
window.print();
|
|
1190
1193
|
}
|
|
@@ -1195,25 +1198,25 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
1195
1198
|
a("div", {
|
|
1196
1199
|
class: "mwnf-standalone-page__body",
|
|
1197
1200
|
innerHTML: s.value
|
|
1198
|
-
}, null, 8,
|
|
1199
|
-
e.link ? (_(), i("p",
|
|
1201
|
+
}, null, 8, mn),
|
|
1202
|
+
e.link ? (_(), i("p", hn, [c(G, {
|
|
1200
1203
|
to: e.link.to,
|
|
1201
1204
|
href: e.link.href
|
|
1202
1205
|
}, {
|
|
1203
1206
|
default: j(() => [a("strong", null, S(e.link.text ?? C(o)(e.link.label)), 1)]),
|
|
1204
1207
|
_: 1
|
|
1205
1208
|
}, 8, ["to", "href"])])) : r("", !0),
|
|
1206
|
-
e.print ? (_(), i("p",
|
|
1209
|
+
e.print ? (_(), i("p", gn, [a("button", {
|
|
1207
1210
|
type: "button",
|
|
1208
1211
|
class: "mwnf-standalone-page__print-button",
|
|
1209
1212
|
onClick: l
|
|
1210
1213
|
}, S(C(o)(e.print)), 1)])) : r("", !0)
|
|
1211
1214
|
], 2));
|
|
1212
1215
|
}
|
|
1213
|
-
},
|
|
1216
|
+
}, vn = {
|
|
1214
1217
|
key: 0,
|
|
1215
1218
|
class: "mwnf-standalone-subnav"
|
|
1216
|
-
},
|
|
1219
|
+
}, yn = { class: "mwnf-standalone-subnav__tabs" }, bn = {
|
|
1217
1220
|
__name: "SubNav",
|
|
1218
1221
|
props: {
|
|
1219
1222
|
tabs: {
|
|
@@ -1226,11 +1229,11 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
1226
1229
|
}
|
|
1227
1230
|
},
|
|
1228
1231
|
setup(o) {
|
|
1229
|
-
let l = o, { t: u } =
|
|
1232
|
+
let l = o, { t: u } = U(), d = t(() => l.tabs.map((e) => ({
|
|
1230
1233
|
...e,
|
|
1231
1234
|
label: u(e.label)
|
|
1232
1235
|
})));
|
|
1233
|
-
return (t, l) => d.value.length || o.aside ? (_(), i("nav",
|
|
1236
|
+
return (t, l) => d.value.length || o.aside ? (_(), i("nav", vn, [a("ul", yn, [(_(!0), i(e, null, b(d.value, (e) => (_(), i("li", { key: e.label }, [c(G, {
|
|
1234
1237
|
to: e.to,
|
|
1235
1238
|
href: e.href,
|
|
1236
1239
|
class: f(["mwnf-standalone-subnav__tab", { "mwnf-standalone-subnav__tab--active": e.active }]),
|
|
@@ -1253,13 +1256,13 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
1253
1256
|
_: 1
|
|
1254
1257
|
}, 8, ["to", "href"])) : r("", !0)])) : r("", !0);
|
|
1255
1258
|
}
|
|
1256
|
-
},
|
|
1259
|
+
}, xn = { class: "mwnf-standalone-results" }, Sn = {
|
|
1257
1260
|
key: 0,
|
|
1258
1261
|
class: "mwnf-standalone-results__empty"
|
|
1259
|
-
},
|
|
1262
|
+
}, Cn = { class: "mwnf-standalone-results__tile" }, wn = ["src"], Tn = { class: "mwnf-standalone-results__panel" }, En = ["src"], Dn = { class: "mwnf-standalone-results__name" }, On = ["innerHTML"], kn = ["innerHTML"], An = {
|
|
1260
1263
|
key: 0,
|
|
1261
1264
|
class: "mwnf-standalone-results__holder"
|
|
1262
|
-
},
|
|
1265
|
+
}, jn = ["innerHTML"], Mn = ["innerHTML"], Nn = {
|
|
1263
1266
|
__name: "ResultsGrid",
|
|
1264
1267
|
props: {
|
|
1265
1268
|
rows: {
|
|
@@ -1280,10 +1283,10 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
1280
1283
|
}
|
|
1281
1284
|
},
|
|
1282
1285
|
setup(t) {
|
|
1283
|
-
return (n, o) => (_(), i("div",
|
|
1286
|
+
return (n, o) => (_(), i("div", xn, [t.rows.length ? r("", !0) : (_(), i("p", Sn, S(t.empty), 1)), (_(!0), i(e, null, b(t.rows, (n) => (_(), i("div", {
|
|
1284
1287
|
key: n.id,
|
|
1285
1288
|
class: "mwnf-standalone-results__cell"
|
|
1286
|
-
}, [a("div",
|
|
1289
|
+
}, [a("div", Cn, [c(G, {
|
|
1287
1290
|
class: "mwnf-standalone-results__frame",
|
|
1288
1291
|
to: n.to,
|
|
1289
1292
|
href: n.href
|
|
@@ -1291,9 +1294,9 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
1291
1294
|
default: j(() => [a("img", {
|
|
1292
1295
|
src: n.image || t.noImage,
|
|
1293
1296
|
alt: ""
|
|
1294
|
-
}, null, 8,
|
|
1297
|
+
}, null, 8, wn)]),
|
|
1295
1298
|
_: 2
|
|
1296
|
-
}, 1032, ["to", "href"]), a("div",
|
|
1299
|
+
}, 1032, ["to", "href"]), a("div", Tn, [
|
|
1297
1300
|
c(G, {
|
|
1298
1301
|
class: "mwnf-standalone-results__panel-frame",
|
|
1299
1302
|
to: n.to,
|
|
@@ -1302,25 +1305,25 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
1302
1305
|
default: j(() => [a("img", {
|
|
1303
1306
|
src: n.image || t.noImage,
|
|
1304
1307
|
alt: ""
|
|
1305
|
-
}, null, 8,
|
|
1308
|
+
}, null, 8, En)]),
|
|
1306
1309
|
_: 2
|
|
1307
1310
|
}, 1032, ["to", "href"]),
|
|
1308
|
-
a("p",
|
|
1311
|
+
a("p", Dn, [a("strong", null, [c(G, {
|
|
1309
1312
|
to: n.to,
|
|
1310
1313
|
href: n.href
|
|
1311
1314
|
}, {
|
|
1312
|
-
default: j(() => [a("span", { innerHTML: n.name }, null, 8,
|
|
1315
|
+
default: j(() => [a("span", { innerHTML: n.name }, null, 8, On)]),
|
|
1313
1316
|
_: 2
|
|
1314
1317
|
}, 1032, ["to", "href"])])]),
|
|
1315
1318
|
(_(!0), i(e, null, b(n.lines ?? [], (e, t) => (_(), i("p", {
|
|
1316
1319
|
key: t,
|
|
1317
1320
|
innerHTML: e
|
|
1318
|
-
}, null, 8,
|
|
1319
|
-
n.holder ? (_(), i("p",
|
|
1321
|
+
}, null, 8, kn))), 128)),
|
|
1322
|
+
n.holder ? (_(), i("p", An, [a("strong", { innerHTML: n.holder }, null, 8, jn)])) : r("", !0),
|
|
1320
1323
|
n.location ? (_(), i("p", {
|
|
1321
1324
|
key: 1,
|
|
1322
1325
|
innerHTML: n.location
|
|
1323
|
-
}, null, 8,
|
|
1326
|
+
}, null, 8, Mn)) : r("", !0),
|
|
1324
1327
|
a("p", null, [c(G, {
|
|
1325
1328
|
class: "mwnf-standalone-results__see",
|
|
1326
1329
|
to: n.to,
|
|
@@ -1331,13 +1334,13 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
1331
1334
|
}, 8, ["to", "href"])])
|
|
1332
1335
|
])])]))), 128))]));
|
|
1333
1336
|
}
|
|
1334
|
-
},
|
|
1337
|
+
}, Pn = { class: "mwnf-standalone-list" }, Fn = { class: "mwnf-standalone-list__aside" }, In = {
|
|
1335
1338
|
key: 0,
|
|
1336
1339
|
class: "mwnf-standalone-list__preview"
|
|
1337
|
-
},
|
|
1340
|
+
}, Ln = { class: "mwnf-standalone-list__preview-picture" }, Rn = ["src"], zn = { class: "mwnf-standalone-list__preview-name" }, Bn = ["innerHTML"], Vn = ["innerHTML"], Hn = { key: 0 }, Un = ["innerHTML"], Wn = ["innerHTML"], Gn = { class: "mwnf-standalone-list__records" }, Kn = {
|
|
1338
1341
|
key: 0,
|
|
1339
1342
|
class: "mwnf-standalone-list__empty"
|
|
1340
|
-
},
|
|
1343
|
+
}, qn = { class: "mwnf-standalone-list__frame" }, Jn = ["src"], Yn = { class: "mwnf-standalone-list__content" }, Xn = ["innerHTML"], Zn = ["innerHTML"], Qn = { key: 0 }, $n = ["innerHTML"], er = {
|
|
1341
1344
|
__name: "ResultsList",
|
|
1342
1345
|
props: {
|
|
1343
1346
|
rows: {
|
|
@@ -1355,26 +1358,26 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
1355
1358
|
},
|
|
1356
1359
|
setup(n) {
|
|
1357
1360
|
let o = n, l = y(null), u = t(() => l.value ?? o.rows[0] ?? null);
|
|
1358
|
-
return (t, o) => (_(), i("div",
|
|
1359
|
-
a("div",
|
|
1361
|
+
return (t, o) => (_(), i("div", Pn, [a("div", Fn, [u.value ? (_(), i("div", In, [
|
|
1362
|
+
a("div", Ln, [u.value.image || n.noImage ? (_(), i("img", {
|
|
1360
1363
|
key: 0,
|
|
1361
1364
|
src: u.value.image || n.noImage,
|
|
1362
1365
|
alt: ""
|
|
1363
|
-
}, null, 8,
|
|
1364
|
-
a("p",
|
|
1366
|
+
}, null, 8, Rn)) : r("", !0)]),
|
|
1367
|
+
a("p", zn, [a("strong", { innerHTML: u.value.name }, null, 8, Bn)]),
|
|
1365
1368
|
(_(!0), i(e, null, b(u.value.preview?.lines ?? [], (e, t) => (_(), i("p", {
|
|
1366
1369
|
key: t,
|
|
1367
1370
|
innerHTML: e
|
|
1368
|
-
}, null, 8,
|
|
1369
|
-
u.value.preview?.holder ? (_(), i("p",
|
|
1371
|
+
}, null, 8, Vn))), 128)),
|
|
1372
|
+
u.value.preview?.holder ? (_(), i("p", Hn, [a("strong", { innerHTML: u.value.preview.holder }, null, 8, Un)])) : r("", !0),
|
|
1370
1373
|
u.value.preview?.location ? (_(), i("p", {
|
|
1371
1374
|
key: 1,
|
|
1372
1375
|
innerHTML: u.value.preview.location
|
|
1373
|
-
}, null, 8,
|
|
1374
|
-
])) : r("", !0)]), a("div",
|
|
1376
|
+
}, null, 8, Wn)) : r("", !0)
|
|
1377
|
+
])) : r("", !0)]), a("div", Gn, [n.rows.length ? r("", !0) : (_(), i("p", Kn, S(n.empty), 1)), (_(!0), i(e, null, b(n.rows, (e) => (_(), i("div", {
|
|
1375
1378
|
key: e.id,
|
|
1376
1379
|
class: "mwnf-standalone-list__cell"
|
|
1377
|
-
}, [a("div",
|
|
1380
|
+
}, [a("div", qn, [c(G, {
|
|
1378
1381
|
to: e.to,
|
|
1379
1382
|
href: e.href,
|
|
1380
1383
|
onMouseenter: (t) => l.value = e,
|
|
@@ -1384,13 +1387,13 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
1384
1387
|
key: 0,
|
|
1385
1388
|
src: e.image || n.noImage,
|
|
1386
1389
|
alt: ""
|
|
1387
|
-
}, null, 8,
|
|
1390
|
+
}, null, 8, Jn)) : r("", !0)]),
|
|
1388
1391
|
_: 2
|
|
1389
1392
|
}, 1032, [
|
|
1390
1393
|
"to",
|
|
1391
1394
|
"href",
|
|
1392
1395
|
"onMouseenter"
|
|
1393
|
-
])]), a("div",
|
|
1396
|
+
])]), a("div", Yn, [a("p", null, [c(G, {
|
|
1394
1397
|
to: e.to,
|
|
1395
1398
|
href: e.href,
|
|
1396
1399
|
onMouseenter: (t) => l.value = e,
|
|
@@ -1400,27 +1403,27 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
1400
1403
|
a("span", {
|
|
1401
1404
|
class: "mwnf-standalone-list__name",
|
|
1402
1405
|
innerHTML: `${e.name},`
|
|
1403
|
-
}, null, 8,
|
|
1406
|
+
}, null, 8, Xn),
|
|
1404
1407
|
o[2] ||= s(),
|
|
1405
|
-
a("span", { innerHTML: e.place }, null, 8,
|
|
1408
|
+
a("span", { innerHTML: e.place }, null, 8, Zn)
|
|
1406
1409
|
]),
|
|
1407
1410
|
_: 2
|
|
1408
1411
|
}, 1032, [
|
|
1409
1412
|
"to",
|
|
1410
1413
|
"href",
|
|
1411
1414
|
"onMouseenter"
|
|
1412
|
-
])]), e.dates ? (_(), i("div",
|
|
1415
|
+
])]), e.dates ? (_(), i("div", Qn, [a("i", { innerHTML: e.dates }, null, 8, $n)])) : r("", !0)])]))), 128))])]));
|
|
1413
1416
|
}
|
|
1414
|
-
},
|
|
1417
|
+
}, tr = { class: "mwnf-standalone-refine__row" }, nr = {
|
|
1415
1418
|
class: "mwnf-standalone-refine__label",
|
|
1416
1419
|
for: "mwnf-standalone-refine-keyword"
|
|
1417
|
-
},
|
|
1420
|
+
}, rr = {
|
|
1418
1421
|
class: "mwnf-standalone-refine__label",
|
|
1419
1422
|
for: "mwnf-standalone-refine-field"
|
|
1420
|
-
},
|
|
1423
|
+
}, ir = ["value"], ar = {
|
|
1421
1424
|
type: "submit",
|
|
1422
1425
|
class: "mwnf-standalone-refine__button"
|
|
1423
|
-
},
|
|
1426
|
+
}, or = {
|
|
1424
1427
|
__name: "Refine",
|
|
1425
1428
|
props: {
|
|
1426
1429
|
label: {
|
|
@@ -1461,23 +1464,23 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
1461
1464
|
return (n, r) => (_(), i("form", {
|
|
1462
1465
|
class: "mwnf-standalone-refine",
|
|
1463
1466
|
onSubmit: N(d, ["prevent"])
|
|
1464
|
-
}, [a("div",
|
|
1465
|
-
a("label",
|
|
1467
|
+
}, [a("div", tr, [
|
|
1468
|
+
a("label", nr, S(t.label), 1),
|
|
1466
1469
|
M(a("input", {
|
|
1467
1470
|
id: "mwnf-standalone-refine-keyword",
|
|
1468
1471
|
"onUpdate:modelValue": r[0] ||= (e) => l.value = e,
|
|
1469
1472
|
type: "text",
|
|
1470
1473
|
size: "40"
|
|
1471
1474
|
}, null, 512), [[O, l.value]]),
|
|
1472
|
-
a("label",
|
|
1475
|
+
a("label", rr, S(t.inLabel), 1),
|
|
1473
1476
|
M(a("select", {
|
|
1474
1477
|
id: "mwnf-standalone-refine-field",
|
|
1475
1478
|
"onUpdate:modelValue": r[1] ||= (e) => u.value = e
|
|
1476
1479
|
}, [(_(!0), i(e, null, b(t.fields, (e) => (_(), i("option", {
|
|
1477
1480
|
key: e.value,
|
|
1478
1481
|
value: e.value
|
|
1479
|
-
}, S(e.label), 9,
|
|
1480
|
-
a("button",
|
|
1482
|
+
}, S(e.label), 9, ir))), 128))], 512), [[D, u.value]]),
|
|
1483
|
+
a("button", ar, S(t.searchLabel), 1),
|
|
1481
1484
|
c(G, {
|
|
1482
1485
|
class: "mwnf-standalone-refine__button mwnf-standalone-refine__button--new",
|
|
1483
1486
|
to: t.newSearch
|
|
@@ -1487,10 +1490,10 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
1487
1490
|
}, 8, ["to"])
|
|
1488
1491
|
])], 32));
|
|
1489
1492
|
}
|
|
1490
|
-
},
|
|
1493
|
+
}, sr = { class: "mwnf-standalone-item__back mwnf-standalone-pl__back" }, cr = { class: "mwnf-standalone-pl__heads" }, lr = { class: "mwnf-standalone-pl__head" }, ur = { key: 0 }, dr = ["onClick"], fr = { class: "mwnf-standalone-pl__row" }, pr = { class: "mwnf-standalone-pl__main" }, mr = { class: "mwnf-standalone-pl__associated" }, hr = {
|
|
1491
1494
|
key: 0,
|
|
1492
1495
|
class: "mwnf-standalone-pl__none"
|
|
1493
|
-
},
|
|
1496
|
+
}, gr = {
|
|
1494
1497
|
__name: "PartnerList",
|
|
1495
1498
|
props: {
|
|
1496
1499
|
type: {
|
|
@@ -1528,7 +1531,7 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
1528
1531
|
d.value = t ? null : e, p.value = t ? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set([e]);
|
|
1529
1532
|
}
|
|
1530
1533
|
return (t, l) => (_(), i("div", { class: f(["mwnf-standalone-pl", u.value ? "mwnf-standalone-pl--museums" : "mwnf-standalone-pl--institutions"]) }, [
|
|
1531
|
-
a("p",
|
|
1534
|
+
a("p", sr, [(_(!0), i(e, null, b(o.back, (r) => (_(), i(e, { key: r.label }, [r.history ? (_(), i("button", {
|
|
1532
1535
|
key: 0,
|
|
1533
1536
|
type: "button",
|
|
1534
1537
|
class: "mwnf-standalone-item__back-link",
|
|
@@ -1542,33 +1545,33 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
1542
1545
|
default: j(() => [s(S(r.label), 1)]),
|
|
1543
1546
|
_: 2
|
|
1544
1547
|
}, 1032, ["to", "href"]))], 64))), 128)), x(t.$slots, "back")]),
|
|
1545
|
-
a("div",
|
|
1548
|
+
a("div", cr, [(_(!0), i(e, null, b(o.heads, (e) => (_(), i("h3", { key: e }, S(e), 1))), 128))]),
|
|
1546
1549
|
(_(!0), i(e, null, b(o.groups, (t, n) => (_(), i("div", {
|
|
1547
1550
|
key: t.label,
|
|
1548
1551
|
class: "mwnf-standalone-pl__group"
|
|
1549
|
-
}, [a("div",
|
|
1552
|
+
}, [a("div", lr, [u.value ? (_(), i("h3", ur, S(t.label), 1)) : r("", !0), a("h3", null, [a("a", {
|
|
1550
1553
|
href: "#",
|
|
1551
1554
|
class: f(["mwnf-standalone-pl__toggle", { "mwnf-standalone-pl__toggle--active": d.value === n }]),
|
|
1552
1555
|
onClick: N((e) => m(n), ["prevent"])
|
|
1553
|
-
}, S(u.value ? o.seeAssociated : t.label), 11,
|
|
1556
|
+
}, S(u.value ? o.seeAssociated : t.label), 11, dr)])]), M(a("div", fr, [a("div", pr, [(_(!0), i(e, null, b(t.main, (e) => (_(), i("p", { key: e.id }, [c(G, {
|
|
1554
1557
|
to: e.to,
|
|
1555
1558
|
href: e.href
|
|
1556
1559
|
}, {
|
|
1557
1560
|
default: j(() => [s(S(e.label), 1)]),
|
|
1558
1561
|
_: 2
|
|
1559
|
-
}, 1032, ["to", "href"])]))), 128))]), M(a("div",
|
|
1562
|
+
}, 1032, ["to", "href"])]))), 128))]), M(a("div", mr, [(_(!0), i(e, null, b(t.associated, (e) => (_(), i("p", { key: e.id }, [c(G, {
|
|
1560
1563
|
to: e.to,
|
|
1561
1564
|
href: e.href
|
|
1562
1565
|
}, {
|
|
1563
1566
|
default: j(() => [s(S(e.label), 1)]),
|
|
1564
1567
|
_: 2
|
|
1565
|
-
}, 1032, ["to", "href"])]))), 128)), u.value && !t.associated.length ? (_(), i("p",
|
|
1568
|
+
}, 1032, ["to", "href"])]))), 128)), u.value && !t.associated.length ? (_(), i("p", hr, S(o.noAssociated), 1)) : r("", !0)], 512), [[k, !u.value || p.value.has(n)]])], 512), [[k, u.value || p.value.has(n)]])]))), 128))
|
|
1566
1569
|
], 2));
|
|
1567
1570
|
}
|
|
1568
|
-
},
|
|
1571
|
+
}, _r = { class: "mwnf-standalone-item__back mwnf-standalone-sp__back" }, vr = {
|
|
1569
1572
|
key: 0,
|
|
1570
1573
|
class: "mwnf-standalone-sp__heading"
|
|
1571
|
-
},
|
|
1574
|
+
}, yr = ["innerHTML"], br = { class: "mwnf-standalone-sp__text" }, xr = { key: 0 }, Sr = { key: 1 }, Cr = { key: 2 }, wr = ["href"], Tr = ["innerHTML"], Er = { class: "mwnf-standalone-sp__logo" }, Dr = { key: 0 }, Or = ["src", "alt"], kr = {
|
|
1572
1575
|
__name: "SponsorList",
|
|
1573
1576
|
props: {
|
|
1574
1577
|
heading: {
|
|
@@ -1591,7 +1594,7 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
1591
1594
|
remarksHtml: e.remarks ? R(e.remarks) : ""
|
|
1592
1595
|
})));
|
|
1593
1596
|
return (t, c) => (_(), i("div", { class: f(["mwnf-standalone-sp", { "mwnf-standalone-sp--labels": l.value }]) }, [
|
|
1594
|
-
a("p",
|
|
1597
|
+
a("p", _r, [(_(!0), i(e, null, b(o.back, (r) => (_(), i(e, { key: r.label }, [r.history ? (_(), i("button", {
|
|
1595
1598
|
key: 0,
|
|
1596
1599
|
type: "button",
|
|
1597
1600
|
class: "mwnf-standalone-item__back-link",
|
|
@@ -1605,7 +1608,7 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
1605
1608
|
default: j(() => [s(S(r.label), 1)]),
|
|
1606
1609
|
_: 2
|
|
1607
1610
|
}, 1032, ["to", "href"]))], 64))), 128))]),
|
|
1608
|
-
o.heading ? (_(), i("h3",
|
|
1611
|
+
o.heading ? (_(), i("h3", vr, S(o.heading), 1)) : r("", !0),
|
|
1609
1612
|
(_(!0), i(e, null, b(u.value, (e, t) => (_(), i("div", {
|
|
1610
1613
|
key: t,
|
|
1611
1614
|
class: "mwnf-standalone-sp__row"
|
|
@@ -1614,41 +1617,41 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
1614
1617
|
key: 0,
|
|
1615
1618
|
class: "mwnf-standalone-sp__label",
|
|
1616
1619
|
innerHTML: e.labelHtml
|
|
1617
|
-
}, null, 8,
|
|
1618
|
-
a("div",
|
|
1619
|
-
e.region ? (_(), i("p",
|
|
1620
|
-
e.name ? (_(), i("p",
|
|
1621
|
-
e.web ? (_(), i("p",
|
|
1620
|
+
}, null, 8, yr)) : r("", !0),
|
|
1621
|
+
a("div", br, [
|
|
1622
|
+
e.region ? (_(), i("p", xr, S(e.region), 1)) : r("", !0),
|
|
1623
|
+
e.name ? (_(), i("p", Sr, S(e.name), 1)) : r("", !0),
|
|
1624
|
+
e.web ? (_(), i("p", Cr, [a("a", {
|
|
1622
1625
|
href: `http://${e.web}`,
|
|
1623
1626
|
target: "_blank",
|
|
1624
1627
|
rel: "noopener"
|
|
1625
|
-
}, S(e.web), 9,
|
|
1628
|
+
}, S(e.web), 9, wr)])) : r("", !0),
|
|
1626
1629
|
e.remarksHtml ? (_(), i("div", {
|
|
1627
1630
|
key: 3,
|
|
1628
1631
|
class: "mwnf-standalone-sp__remarks",
|
|
1629
1632
|
innerHTML: e.remarksHtml
|
|
1630
|
-
}, null, 8,
|
|
1633
|
+
}, null, 8, Tr)) : r("", !0)
|
|
1631
1634
|
]),
|
|
1632
|
-
a("div",
|
|
1635
|
+
a("div", Er, [e.logo ? (_(), i("p", Dr, [a("img", {
|
|
1633
1636
|
src: e.logo,
|
|
1634
1637
|
alt: e.name
|
|
1635
|
-
}, null, 8,
|
|
1638
|
+
}, null, 8, Or)])) : r("", !0)])
|
|
1636
1639
|
]))), 128))
|
|
1637
1640
|
], 2));
|
|
1638
1641
|
}
|
|
1639
|
-
},
|
|
1642
|
+
}, Ar = { class: "mwnf-standalone-pe" }, jr = { class: "mwnf-standalone-pe__box" }, Mr = { class: "mwnf-standalone-pe__name" }, Nr = { class: "mwnf-standalone-pe__links" }, Pr = {
|
|
1640
1643
|
key: 0,
|
|
1641
1644
|
class: "mwnf-standalone-pe__about"
|
|
1642
|
-
},
|
|
1645
|
+
}, Fr = ["aria-expanded", "onClick"], Ir = {
|
|
1643
1646
|
key: 1,
|
|
1644
1647
|
class: "mwnf-standalone-pe__popup",
|
|
1645
1648
|
role: "dialog"
|
|
1646
|
-
},
|
|
1649
|
+
}, Lr = ["aria-label"], Rr = {
|
|
1647
1650
|
viewBox: "0 0 24 24",
|
|
1648
1651
|
width: "21",
|
|
1649
1652
|
height: "21",
|
|
1650
1653
|
"aria-hidden": "true"
|
|
1651
|
-
},
|
|
1654
|
+
}, zr = ["id"], Br = ["mask"], Vr = ["innerHTML"], Hr = {
|
|
1652
1655
|
__name: "PartnersEntrance",
|
|
1653
1656
|
props: {
|
|
1654
1657
|
projects: {
|
|
@@ -1679,26 +1682,26 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
1679
1682
|
typeof document < "u" && (e >= 0 ? document.addEventListener("keydown", f) : document.removeEventListener("keydown", f));
|
|
1680
1683
|
}), h(() => {
|
|
1681
1684
|
typeof document < "u" && document.removeEventListener("keydown", f);
|
|
1682
|
-
}), (t, o) => (_(), i("div",
|
|
1685
|
+
}), (t, o) => (_(), i("div", Ar, [u.value >= 0 ? (_(), i("div", {
|
|
1683
1686
|
key: 0,
|
|
1684
1687
|
class: "mwnf-standalone-pe__shade",
|
|
1685
1688
|
onClick: d
|
|
1686
1689
|
})) : r("", !0), (_(!0), i(e, null, b(l.value, (t, l) => (_(), i("div", {
|
|
1687
1690
|
key: l,
|
|
1688
1691
|
class: "mwnf-standalone-pe__row"
|
|
1689
|
-
}, [a("div",
|
|
1692
|
+
}, [a("div", jr, [a("h3", Mr, S(t.name), 1)]), a("div", Nr, [
|
|
1690
1693
|
o[1] ||= a("p", { "aria-hidden": "true" }, "\xA0", -1),
|
|
1691
|
-
t.aboutHtml ? (_(), i("p",
|
|
1694
|
+
t.aboutHtml ? (_(), i("p", Pr, [a("button", {
|
|
1692
1695
|
type: "button",
|
|
1693
1696
|
"aria-expanded": u.value === l,
|
|
1694
1697
|
onClick: (e) => u.value = l
|
|
1695
|
-
}, S(n.aboutLabel), 9,
|
|
1696
|
-
u.value === l ? (_(), i("div",
|
|
1698
|
+
}, S(n.aboutLabel), 9, Fr)])) : r("", !0),
|
|
1699
|
+
u.value === l ? (_(), i("div", Ir, [a("button", {
|
|
1697
1700
|
type: "button",
|
|
1698
1701
|
class: "mwnf-standalone-pe__close",
|
|
1699
1702
|
"aria-label": n.closeLabel || void 0,
|
|
1700
1703
|
onClick: d
|
|
1701
|
-
}, [(_(), i("svg",
|
|
1704
|
+
}, [(_(), i("svg", Rr, [a("mask", { id: `mwnf-standalone-pe-x${l}` }, [...o[0] ||= [a("rect", {
|
|
1702
1705
|
width: "24",
|
|
1703
1706
|
height: "24",
|
|
1704
1707
|
fill: "#fff"
|
|
@@ -1707,16 +1710,16 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
1707
1710
|
stroke: "#000",
|
|
1708
1711
|
"stroke-width": "3",
|
|
1709
1712
|
"stroke-linecap": "round"
|
|
1710
|
-
}, null, -1)]], 8,
|
|
1713
|
+
}, null, -1)]], 8, zr), a("circle", {
|
|
1711
1714
|
cx: "12",
|
|
1712
1715
|
cy: "12",
|
|
1713
1716
|
r: "12",
|
|
1714
1717
|
fill: "currentColor",
|
|
1715
1718
|
mask: `url(#mwnf-standalone-pe-x${l})`
|
|
1716
|
-
}, null, 8,
|
|
1719
|
+
}, null, 8, Br)]))], 8, Lr), a("div", {
|
|
1717
1720
|
class: "mwnf-standalone-pe__text",
|
|
1718
1721
|
innerHTML: t.aboutHtml
|
|
1719
|
-
}, null, 8,
|
|
1722
|
+
}, null, 8, Vr)])) : r("", !0),
|
|
1720
1723
|
(_(!0), i(e, null, b(t.links, (e) => (_(), i("p", { key: e.label }, [c(G, {
|
|
1721
1724
|
to: e.to,
|
|
1722
1725
|
href: e.href
|
|
@@ -1726,16 +1729,16 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
1726
1729
|
}, 1032, ["to", "href"])]))), 128))
|
|
1727
1730
|
])]))), 128))]));
|
|
1728
1731
|
}
|
|
1729
|
-
},
|
|
1732
|
+
}, Ur = { class: "mwnf-standalone-db__criteria" }, Wr = { class: "mwnf-standalone-db__head mwnf-standalone-db__head--keywords" }, Gr = { class: "mwnf-standalone-db__head mwnf-standalone-db__head--category" }, Kr = {
|
|
1730
1733
|
key: 0,
|
|
1731
1734
|
class: "mwnf-standalone-db__aside"
|
|
1732
|
-
},
|
|
1735
|
+
}, qr = ["onUpdate:modelValue", "aria-label"], Jr = { value: "AND" }, Yr = { value: "OR" }, Xr = ["onUpdate:modelValue", "aria-label"], Zr = ["onUpdate:modelValue"], Qr = ["value"], $r = { class: "mwnf-standalone-db__label mwnf-standalone-db__label--date" }, ei = { class: "mwnf-standalone-db__dates" }, ti = ["aria-label"], ni = { value: "" }, ri = ["value"], ii = ["aria-label"], ai = { value: "" }, oi = ["value"], si = { class: "mwnf-standalone-db__label mwnf-standalone-db__label--language" }, ci = { class: "mwnf-standalone-db__language" }, li = ["aria-label"], ui = ["value"], di = {
|
|
1733
1736
|
key: 1,
|
|
1734
1737
|
class: "mwnf-standalone-db__options"
|
|
1735
|
-
},
|
|
1738
|
+
}, fi = { class: "mwnf-standalone-db__go" }, pi = { type: "submit" }, mi = {
|
|
1736
1739
|
key: 2,
|
|
1737
1740
|
class: "mwnf-standalone-db__listing"
|
|
1738
|
-
},
|
|
1741
|
+
}, hi = ["href", "title"], gi = {
|
|
1739
1742
|
__name: "DatabaseForm",
|
|
1740
1743
|
props: /*@__PURE__*/ u({
|
|
1741
1744
|
labels: {
|
|
@@ -1808,59 +1811,59 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
1808
1811
|
class: f(["mwnf-standalone-db", { "mwnf-standalone-db--options": m.value }]),
|
|
1809
1812
|
onSubmit: N(C, ["prevent"])
|
|
1810
1813
|
}, [
|
|
1811
|
-
a("h3",
|
|
1812
|
-
a("p",
|
|
1813
|
-
a("p",
|
|
1814
|
-
t.$slots.aside ? (_(), i("p",
|
|
1814
|
+
a("h3", Ur, S(n.labels.criteria), 1),
|
|
1815
|
+
a("p", Wr, S(n.labels.keywords), 1),
|
|
1816
|
+
a("p", Gr, S(n.labels.category), 1),
|
|
1817
|
+
t.$slots.aside ? (_(), i("p", Kr, [x(t.$slots, "aside")])) : r("", !0),
|
|
1815
1818
|
(_(!0), i(e, null, b(d, (t, o) => (_(), i(e, { key: o }, [
|
|
1816
1819
|
o ? M((_(), i("select", {
|
|
1817
1820
|
key: 0,
|
|
1818
1821
|
"onUpdate:modelValue": (e) => t.cond = e,
|
|
1819
1822
|
class: f(["mwnf-standalone-db__cond", `mwnf-standalone-db__row-${o + 1}`]),
|
|
1820
1823
|
"aria-label": `${n.labels.and} / ${n.labels.or}`
|
|
1821
|
-
}, [a("option",
|
|
1824
|
+
}, [a("option", Jr, S(n.labels.and), 1), a("option", Yr, S(n.labels.or), 1)], 10, qr)), [[D, t.cond]]) : r("", !0),
|
|
1822
1825
|
M(a("input", {
|
|
1823
1826
|
"onUpdate:modelValue": (e) => t.keyword = e,
|
|
1824
1827
|
type: "text",
|
|
1825
1828
|
class: f(["mwnf-standalone-db__keyword", `mwnf-standalone-db__row-${o + 1}`]),
|
|
1826
1829
|
"aria-label": n.labels.keywords
|
|
1827
|
-
}, null, 10,
|
|
1830
|
+
}, null, 10, Xr), [[O, t.keyword]]),
|
|
1828
1831
|
a("label", { class: f(["mwnf-standalone-db__field", `mwnf-standalone-db__row-${o + 1}`]) }, [a("span", null, S(n.labels.in), 1), M(a("select", { "onUpdate:modelValue": (e) => t.field = e }, [(_(!0), i(e, null, b(n.fields, (e) => (_(), i("option", {
|
|
1829
1832
|
key: e.value,
|
|
1830
1833
|
value: e.value
|
|
1831
|
-
}, S(e.label), 9,
|
|
1834
|
+
}, S(e.label), 9, Qr))), 128))], 8, Zr), [[D, t.field]])], 2)
|
|
1832
1835
|
], 64))), 128)),
|
|
1833
|
-
a("span",
|
|
1834
|
-
a("p",
|
|
1836
|
+
a("span", $r, S(n.labels.date), 1),
|
|
1837
|
+
a("p", ei, [M(a("select", {
|
|
1835
1838
|
"onUpdate:modelValue": o[0] ||= (e) => p.from = e,
|
|
1836
1839
|
"aria-label": `${n.labels.date} ${n.labels.from}`
|
|
1837
|
-
}, [a("option",
|
|
1840
|
+
}, [a("option", ni, S(n.labels.from), 1), (_(!0), i(e, null, b(g.value, (e) => (_(), i("option", {
|
|
1838
1841
|
key: e.value,
|
|
1839
1842
|
value: e.value
|
|
1840
|
-
}, S(e.label), 9,
|
|
1843
|
+
}, S(e.label), 9, ri))), 128))], 8, ti), [[D, p.from]]), M(a("select", {
|
|
1841
1844
|
"onUpdate:modelValue": o[1] ||= (e) => p.to = e,
|
|
1842
1845
|
"aria-label": `${n.labels.date} ${n.labels.to}`
|
|
1843
|
-
}, [a("option",
|
|
1846
|
+
}, [a("option", ai, S(n.labels.to), 1), (_(!0), i(e, null, b(y.value, (e) => (_(), i("option", {
|
|
1844
1847
|
key: e.value,
|
|
1845
1848
|
value: e.value
|
|
1846
|
-
}, S(e.label), 9,
|
|
1847
|
-
a("span",
|
|
1848
|
-
a("p",
|
|
1849
|
+
}, S(e.label), 9, oi))), 128))], 8, ii), [[D, p.to]])]),
|
|
1850
|
+
a("span", si, S(n.labels.language), 1),
|
|
1851
|
+
a("p", ci, [M(a("select", {
|
|
1849
1852
|
"onUpdate:modelValue": o[2] ||= (e) => c.value = e,
|
|
1850
1853
|
"aria-label": n.labels.language
|
|
1851
1854
|
}, [o[3] ||= a("option", { value: "" }, null, -1), (_(!0), i(e, null, b(n.languages, (e) => (_(), i("option", {
|
|
1852
1855
|
key: e.code,
|
|
1853
1856
|
value: e.code
|
|
1854
|
-
}, S(e.name), 9,
|
|
1855
|
-
m.value ? (_(), i("p",
|
|
1856
|
-
a("p",
|
|
1857
|
-
n.listingHref ? (_(), i("p",
|
|
1857
|
+
}, S(e.name), 9, ui))), 128))], 8, li), [[D, c.value]])]),
|
|
1858
|
+
m.value ? (_(), i("p", di, [x(t.$slots, "options")])) : r("", !0),
|
|
1859
|
+
a("p", fi, [a("button", pi, S(n.labels.go), 1)]),
|
|
1860
|
+
n.listingHref ? (_(), i("p", mi, [a("a", {
|
|
1858
1861
|
href: n.listingHref,
|
|
1859
1862
|
title: n.labels.listingTooltip
|
|
1860
|
-
}, S(n.labels.listing), 9,
|
|
1863
|
+
}, S(n.labels.listing), 9, hi)])) : r("", !0)
|
|
1861
1864
|
], 34));
|
|
1862
1865
|
}
|
|
1863
|
-
},
|
|
1866
|
+
}, _i = { class: "mwnf-standalone-tle__country" }, vi = ["aria-label"], yi = { value: "none" }, bi = { value: "" }, xi = ["value"], Si = { class: "mwnf-standalone-tle__date" }, Ci = ["aria-label"], wi = { value: "none" }, Ti = ["value"], Ei = { class: "mwnf-standalone-tle__date" }, Di = ["aria-label"], Oi = { value: "none" }, ki = ["value"], Ai = { class: "mwnf-standalone-tle__go" }, ji = { type: "submit" }, Mi = {
|
|
1864
1867
|
__name: "TimelineEntrance",
|
|
1865
1868
|
props: {
|
|
1866
1869
|
labels: {
|
|
@@ -1890,7 +1893,7 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
1890
1893
|
},
|
|
1891
1894
|
emits: ["search"],
|
|
1892
1895
|
setup(n, { emit: r }) {
|
|
1893
|
-
let o = n, s = r, c = o.texts ?
|
|
1896
|
+
let o = n, s = r, c = o.texts ? U().t : (e) => e, l = (e) => c(`${o.texts}.${e}`), u = t(() => o.labels ?? {
|
|
1894
1897
|
selectCountry: l("tl.selectCountry"),
|
|
1895
1898
|
allCountries: l("tl.allCountries"),
|
|
1896
1899
|
startDate: l("tl.startDate"),
|
|
@@ -1918,42 +1921,42 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
1918
1921
|
class: "mwnf-standalone-tle",
|
|
1919
1922
|
onSubmit: N(m, ["prevent"])
|
|
1920
1923
|
}, [
|
|
1921
|
-
a("p",
|
|
1924
|
+
a("p", _i, [M(a("select", {
|
|
1922
1925
|
"onUpdate:modelValue": r[0] ||= (e) => f.country = e,
|
|
1923
1926
|
"aria-label": u.value.selectCountry
|
|
1924
1927
|
}, [
|
|
1925
|
-
a("option",
|
|
1926
|
-
a("option",
|
|
1928
|
+
a("option", yi, S(u.value.selectCountry), 1),
|
|
1929
|
+
a("option", bi, S(u.value.allCountries), 1),
|
|
1927
1930
|
(_(!0), i(e, null, b(n.countries, (e) => (_(), i("option", {
|
|
1928
1931
|
key: e.value,
|
|
1929
1932
|
value: e.value
|
|
1930
|
-
}, S(e.label), 9,
|
|
1931
|
-
], 8,
|
|
1932
|
-
a("p",
|
|
1933
|
+
}, S(e.label), 9, xi))), 128))
|
|
1934
|
+
], 8, vi), [[D, f.country]])]),
|
|
1935
|
+
a("p", Si, [M(a("select", {
|
|
1933
1936
|
"onUpdate:modelValue": r[1] ||= (e) => f.start = e,
|
|
1934
1937
|
"aria-label": u.value.startDate
|
|
1935
|
-
}, [a("option",
|
|
1938
|
+
}, [a("option", wi, S(u.value.startDate), 1), (_(!0), i(e, null, b(n.starts, (e) => (_(), i("option", {
|
|
1936
1939
|
key: e.value,
|
|
1937
1940
|
value: e.value
|
|
1938
|
-
}, S(e.label), 9,
|
|
1939
|
-
a("p",
|
|
1941
|
+
}, S(e.label), 9, Ti))), 128))], 8, Ci), [[D, f.start]])]),
|
|
1942
|
+
a("p", Ei, [M(a("select", {
|
|
1940
1943
|
"onUpdate:modelValue": r[2] ||= (e) => f.end = e,
|
|
1941
1944
|
"aria-label": u.value.endDate
|
|
1942
|
-
}, [a("option",
|
|
1945
|
+
}, [a("option", Oi, S(u.value.endDate), 1), (_(!0), i(e, null, b(n.ends, (e) => (_(), i("option", {
|
|
1943
1946
|
key: e.value,
|
|
1944
1947
|
value: e.value
|
|
1945
|
-
}, S(e.label), 9,
|
|
1946
|
-
a("p",
|
|
1948
|
+
}, S(e.label), 9, ki))), 128))], 8, Di), [[D, f.end]])]),
|
|
1949
|
+
a("p", Ai, [a("button", ji, S(u.value.go), 1)])
|
|
1947
1950
|
], 32));
|
|
1948
1951
|
}
|
|
1949
|
-
},
|
|
1952
|
+
}, Ni = {
|
|
1950
1953
|
key: 0,
|
|
1951
1954
|
class: "mwnf-standalone-pages"
|
|
1952
|
-
},
|
|
1955
|
+
}, Pi = { class: "mwnf-standalone-pages__previous" }, Fi = ["aria-current", "onClick"], Ii = { class: "mwnf-standalone-pages__next" }, Li = {
|
|
1953
1956
|
key: 1,
|
|
1954
1957
|
class: "mwnf-standalone-pages",
|
|
1955
1958
|
"aria-hidden": "true"
|
|
1956
|
-
},
|
|
1959
|
+
}, Ri = {
|
|
1957
1960
|
__name: "Pagination",
|
|
1958
1961
|
props: {
|
|
1959
1962
|
pageInfo: {
|
|
@@ -1983,8 +1986,8 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
1983
1986
|
function p(e) {
|
|
1984
1987
|
e >= 1 && e <= u.value && e !== l.value && c("navigate", e);
|
|
1985
1988
|
}
|
|
1986
|
-
return (t, r) => u.value > 1 ? (_(), i("nav",
|
|
1987
|
-
a("span",
|
|
1989
|
+
return (t, r) => u.value > 1 ? (_(), i("nav", Ni, [
|
|
1990
|
+
a("span", Pi, [l.value > 1 ? (_(), i("a", {
|
|
1988
1991
|
key: 0,
|
|
1989
1992
|
href: "#",
|
|
1990
1993
|
onClick: r[0] ||= N((e) => p(l.value - 1), ["prevent"])
|
|
@@ -1995,32 +1998,32 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
1995
1998
|
class: f(["mwnf-standalone-pages__number", { "mwnf-standalone-pages__number--active": e === l.value }]),
|
|
1996
1999
|
"aria-current": e === l.value ? "page" : void 0,
|
|
1997
2000
|
onClick: N((t) => p(e), ["prevent"])
|
|
1998
|
-
}, S(e), 11,
|
|
1999
|
-
a("span",
|
|
2001
|
+
}, S(e), 11, Fi))), 128)),
|
|
2002
|
+
a("span", Ii, [l.value < u.value ? (_(), i("a", {
|
|
2000
2003
|
key: 0,
|
|
2001
2004
|
href: "#",
|
|
2002
2005
|
onClick: r[1] ||= N((e) => p(l.value + 1), ["prevent"])
|
|
2003
2006
|
}, S(n.nextLabel), 1)) : (_(), i(e, { key: 1 }, [s(S(n.nextLabel), 1)], 64))])
|
|
2004
|
-
])) : (_(), i("div",
|
|
2007
|
+
])) : (_(), i("div", Li));
|
|
2005
2008
|
}
|
|
2006
|
-
},
|
|
2009
|
+
}, zi = { class: "mwnf-standalone-tlr" }, Bi = { class: "mwnf-standalone-tlr__band" }, Vi = { class: "mwnf-standalone-tlr__band-inner" }, Hi = { class: "mwnf-standalone-tlr__summary" }, Ui = { class: "mwnf-standalone-tlr__selects" }, Wi = ["for"], Gi = [
|
|
2007
2010
|
"id",
|
|
2008
2011
|
"value",
|
|
2009
2012
|
"disabled",
|
|
2010
2013
|
"onChange"
|
|
2011
|
-
],
|
|
2014
|
+
], Ki = ["value"], qi = { class: "mwnf-standalone-item__back mwnf-standalone-tlr__back" }, Ji = {
|
|
2012
2015
|
key: 0,
|
|
2013
2016
|
class: "mwnf-standalone-tlr__heads"
|
|
2014
|
-
},
|
|
2017
|
+
}, Yi = { class: "mwnf-standalone-tlr__body" }, Xi = { class: "mwnf-standalone-tlr__list" }, Zi = { class: "mwnf-standalone-tlr__date" }, Qi = { class: "mwnf-standalone-tlr__content" }, $i = ["innerHTML"], ea = {
|
|
2015
2018
|
key: 0,
|
|
2016
2019
|
class: "mwnf-standalone-tlr__empty"
|
|
2017
|
-
},
|
|
2020
|
+
}, ta = { class: "mwnf-standalone-tlr__related" }, na = {
|
|
2018
2021
|
key: 0,
|
|
2019
2022
|
class: "mwnf-standalone-tlr__panel"
|
|
2020
|
-
},
|
|
2023
|
+
}, ra = { key: 0 }, ia = {
|
|
2021
2024
|
key: 1,
|
|
2022
2025
|
class: "mwnf-standalone-tlr__panel"
|
|
2023
|
-
},
|
|
2026
|
+
}, aa = { class: "mwnf-standalone-tlr__download" }, oa = {
|
|
2024
2027
|
__name: "TimelineResults",
|
|
2025
2028
|
props: {
|
|
2026
2029
|
heading: {
|
|
@@ -2084,7 +2087,7 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
2084
2087
|
}
|
|
2085
2088
|
function m(e) {
|
|
2086
2089
|
let t = e.currentTarget.closest(".mwnf-standalone-tlr");
|
|
2087
|
-
|
|
2090
|
+
mt(ht({
|
|
2088
2091
|
title: u.download?.title ?? "",
|
|
2089
2092
|
heading: u.download?.line ?? "",
|
|
2090
2093
|
heads: u.heads,
|
|
@@ -2093,8 +2096,8 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
2093
2096
|
dir: t ? getComputedStyle(t).direction : ""
|
|
2094
2097
|
}), u.download?.file ?? "timeline.doc");
|
|
2095
2098
|
}
|
|
2096
|
-
return (t, l) => (_(), i("div",
|
|
2097
|
-
a("section",
|
|
2099
|
+
return (t, l) => (_(), i("div", zi, [
|
|
2100
|
+
a("section", Bi, [a("div", Vi, [a("p", Hi, [a("b", null, S(o.heading), 1), s(" | " + S(o.summary), 1)]), a("div", Ui, [(_(!0), i(e, null, b(o.selects, (t) => (_(), i("p", { key: t.key }, [a("label", { for: `mwnf-tlr-${t.key}` }, S(t.label), 9, Wi), a("select", {
|
|
2098
2101
|
id: `mwnf-tlr-${t.key}`,
|
|
2099
2102
|
value: t.value,
|
|
2100
2103
|
disabled: t.disabled || void 0,
|
|
@@ -2105,8 +2108,8 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
2105
2108
|
}, [(_(!0), i(e, null, b(t.options, (e) => (_(), i("option", {
|
|
2106
2109
|
key: e.value,
|
|
2107
2110
|
value: e.value
|
|
2108
|
-
}, S(e.label), 9,
|
|
2109
|
-
a("p",
|
|
2111
|
+
}, S(e.label), 9, Ki))), 128))], 40, Gi)]))), 128))])])]),
|
|
2112
|
+
a("p", qi, [(_(!0), i(e, null, b(o.back, (r) => (_(), i(e, { key: r.label }, [r.history ? (_(), i("button", {
|
|
2110
2113
|
key: 0,
|
|
2111
2114
|
type: "button",
|
|
2112
2115
|
class: "mwnf-standalone-item__back-link",
|
|
@@ -2120,14 +2123,14 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
2120
2123
|
default: j(() => [s(S(r.label), 1)]),
|
|
2121
2124
|
_: 2
|
|
2122
2125
|
}, 1032, ["to", "href"]))], 64))), 128))]),
|
|
2123
|
-
f.value ? (_(), i("div",
|
|
2124
|
-
a("div",
|
|
2126
|
+
f.value ? (_(), i("div", Ji, [a("h3", null, S(o.heads.date), 1), a("h3", null, S(o.heads.countryDescription), 1)])) : r("", !0),
|
|
2127
|
+
a("div", Yi, [a("div", Xi, [
|
|
2125
2128
|
(_(!0), i(e, null, b(o.rows, (e) => (_(), i("div", {
|
|
2126
2129
|
key: e.id,
|
|
2127
2130
|
class: "mwnf-standalone-tlr__row"
|
|
2128
|
-
}, [a("div",
|
|
2129
|
-
f.value ? r("", !0) : (_(), i("p",
|
|
2130
|
-
o.pageInfo ? (_(), n(
|
|
2131
|
+
}, [a("div", Zi, [a("p", null, [a("span", null, S(e.date), 1)]), x(t.$slots, "media", { row: e })]), a("div", Qi, [a("p", null, [a("span", null, S(e.country), 1)]), a("div", { innerHTML: e.html }, null, 8, $i)])]))), 128)),
|
|
2132
|
+
f.value ? r("", !0) : (_(), i("p", ea, S(o.empty), 1)),
|
|
2133
|
+
o.pageInfo ? (_(), n(Ri, {
|
|
2131
2134
|
key: 1,
|
|
2132
2135
|
"page-info": o.pageInfo,
|
|
2133
2136
|
"previous-label": o.previousLabel,
|
|
@@ -2138,7 +2141,7 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
2138
2141
|
"previous-label",
|
|
2139
2142
|
"next-label"
|
|
2140
2143
|
])) : r("", !0)
|
|
2141
|
-
]), a("aside",
|
|
2144
|
+
]), a("aside", ta, [o.related ? (_(), i("div", na, [
|
|
2142
2145
|
a("p", null, [a("strong", null, S(o.related.heading), 1)]),
|
|
2143
2146
|
(_(!0), i(e, null, b(o.related.links ?? [], (e) => (_(), i("p", { key: e.label }, [c(G, {
|
|
2144
2147
|
class: "mwnf-standalone-tlr__link",
|
|
@@ -2155,7 +2158,7 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
2155
2158
|
"title",
|
|
2156
2159
|
"target"
|
|
2157
2160
|
])]))), 128)),
|
|
2158
|
-
o.related.gallery ? (_(), i("p",
|
|
2161
|
+
o.related.gallery ? (_(), i("p", ra, [c(G, {
|
|
2159
2162
|
class: "mwnf-standalone-tlr__link",
|
|
2160
2163
|
to: o.related.gallery.to,
|
|
2161
2164
|
title: o.related.gallery.title
|
|
@@ -2163,8 +2166,8 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
2163
2166
|
default: j(() => [s(S(o.related.gallery.label), 1)]),
|
|
2164
2167
|
_: 1
|
|
2165
2168
|
}, 8, ["to", "title"])])) : r("", !0)
|
|
2166
|
-
])) : r("", !0), o.download ? (_(), i("div",
|
|
2167
|
-
a("p",
|
|
2169
|
+
])) : r("", !0), o.download ? (_(), i("div", ia, [
|
|
2170
|
+
a("p", aa, S(o.download.heading), 1),
|
|
2168
2171
|
a("p", null, [a("a", {
|
|
2169
2172
|
href: "#",
|
|
2170
2173
|
class: "mwnf-standalone-tlr__link",
|
|
@@ -2178,7 +2181,7 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
2178
2181
|
])) : r("", !0)])])
|
|
2179
2182
|
]));
|
|
2180
2183
|
}
|
|
2181
|
-
},
|
|
2184
|
+
}, sa = ["dir"], ca = { class: "mwnf-standalone-window__box" }, la = { class: "mwnf-standalone-window__header" }, ua = { class: "mwnf-standalone-window__heading" }, da = ["aria-label"], fa = { class: "mwnf-standalone-window__article" }, $ = {
|
|
2182
2185
|
__name: "Window",
|
|
2183
2186
|
props: {
|
|
2184
2187
|
heading: {
|
|
@@ -2201,24 +2204,24 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
2201
2204
|
return (n, r) => (_(), i("div", {
|
|
2202
2205
|
class: "mwnf-standalone-window",
|
|
2203
2206
|
dir: e.dir || void 0
|
|
2204
|
-
}, [a("div",
|
|
2205
|
-
a("header",
|
|
2207
|
+
}, [a("div", ca, [
|
|
2208
|
+
a("header", la, [a("h1", ua, S(e.heading), 1), a("button", {
|
|
2206
2209
|
type: "button",
|
|
2207
2210
|
class: "mwnf-standalone-window__close",
|
|
2208
2211
|
"aria-label": e.closeLabel || void 0,
|
|
2209
2212
|
onClick: t
|
|
2210
|
-
}, "×", 8,
|
|
2213
|
+
}, "×", 8, da)]),
|
|
2211
2214
|
x(n.$slots, "before"),
|
|
2212
|
-
a("article",
|
|
2213
|
-
])], 8,
|
|
2215
|
+
a("article", fa, [x(n.$slots, "default")])
|
|
2216
|
+
])], 8, sa));
|
|
2214
2217
|
}
|
|
2215
|
-
},
|
|
2218
|
+
}, pa = {
|
|
2216
2219
|
class: "mwnf-standalone-hcr__scale",
|
|
2217
2220
|
"aria-hidden": "true"
|
|
2218
|
-
},
|
|
2221
|
+
}, ma = { class: "mwnf-standalone-hcr__years" }, ha = { class: "mwnf-standalone-hcr__body" }, ga = { class: "mwnf-standalone-hcr__left" }, _a = { class: "mwnf-standalone-hcr__title" }, va = ["value", "aria-label"], ya = ["value"], ba = { class: "mwnf-standalone-hcr__title" }, xa = ["value", "aria-label"], Sa = ["value"], Ca = {
|
|
2219
2222
|
key: 0,
|
|
2220
2223
|
class: "mwnf-standalone-hcr__image"
|
|
2221
|
-
},
|
|
2224
|
+
}, wa = ["src", "alt"], Ta = { key: 1 }, Ea = ["innerHTML"], Da = { key: 2 }, Oa = { class: "mwnf-standalone-hcr__main" }, ka = ["innerHTML"], Aa = {
|
|
2222
2225
|
__name: "HistoricalCrossRef",
|
|
2223
2226
|
props: {
|
|
2224
2227
|
labels: {
|
|
@@ -2272,7 +2275,7 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
2272
2275
|
},
|
|
2273
2276
|
emits: ["change"],
|
|
2274
2277
|
setup(o, { emit: c }) {
|
|
2275
|
-
let l = o, u = c, d = l.texts ?
|
|
2278
|
+
let l = o, u = c, d = l.texts ? U().t : (e) => e, p = t(() => l.labels ?? {
|
|
2276
2279
|
heading: d(`${l.texts}.tl.title`),
|
|
2277
2280
|
close: d("record.glossary.close"),
|
|
2278
2281
|
country: d(`${l.texts}.hcr.country`),
|
|
@@ -2293,12 +2296,12 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
2293
2296
|
"close-label": p.value.close,
|
|
2294
2297
|
dir: o.dir
|
|
2295
2298
|
}, {
|
|
2296
|
-
before: j(() => [a("section",
|
|
2299
|
+
before: j(() => [a("section", pa, [a("div", ma, [(_(!0), i(e, null, b(m.value, (e) => (_(), i("span", {
|
|
2297
2300
|
key: e.value,
|
|
2298
2301
|
class: f({ "mwnf-standalone-hcr__year--active": e.active })
|
|
2299
2302
|
}, S(e.value), 3))), 128))]), c[2] ||= a("div", { class: "mwnf-standalone-hcr__lines" }, null, -1)])]),
|
|
2300
|
-
default: j(() => [a("div",
|
|
2301
|
-
a("p",
|
|
2303
|
+
default: j(() => [a("div", ha, [a("div", ga, [
|
|
2304
|
+
a("p", _a, S(p.value.country), 1),
|
|
2302
2305
|
a("select", {
|
|
2303
2306
|
value: o.country,
|
|
2304
2307
|
"aria-label": p.value.country,
|
|
@@ -2309,8 +2312,8 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
2309
2312
|
}, [(_(!0), i(e, null, b(o.countries, (e) => (_(), i("option", {
|
|
2310
2313
|
key: e.value,
|
|
2311
2314
|
value: e.value
|
|
2312
|
-
}, S(e.label), 9,
|
|
2313
|
-
a("p",
|
|
2315
|
+
}, S(e.label), 9, ya))), 128))], 40, va),
|
|
2316
|
+
a("p", ba, S(p.value.range), 1),
|
|
2314
2317
|
a("select", {
|
|
2315
2318
|
value: String(o.range),
|
|
2316
2319
|
"aria-label": p.value.range,
|
|
@@ -2321,22 +2324,22 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
2321
2324
|
}, [(_(!0), i(e, null, b(o.ranges, (e) => (_(), i("option", {
|
|
2322
2325
|
key: e.value,
|
|
2323
2326
|
value: String(e.value)
|
|
2324
|
-
}, S(e.label), 9,
|
|
2327
|
+
}, S(e.label), 9, Sa))), 128))], 40, xa),
|
|
2325
2328
|
o.item ? (_(), i(e, { key: 0 }, [
|
|
2326
|
-
o.item.image ? (_(), i("div",
|
|
2329
|
+
o.item.image ? (_(), i("div", Ca, [a("img", {
|
|
2327
2330
|
src: o.item.image,
|
|
2328
2331
|
alt: o.item.name
|
|
2329
|
-
}, null, 8,
|
|
2330
|
-
o.item.name ? (_(), i("p",
|
|
2331
|
-
o.item.lines?.length ? (_(), i("p",
|
|
2332
|
+
}, null, 8, wa)])) : r("", !0),
|
|
2333
|
+
o.item.name ? (_(), i("p", Ta, [a("strong", { innerHTML: o.item.name }, null, 8, Ea)])) : r("", !0),
|
|
2334
|
+
o.item.lines?.length ? (_(), i("p", Da, [(_(!0), i(e, null, b(o.item.lines, (t, n) => (_(), i(e, { key: n }, [s(S(t), 1), c[3] ||= a("br", null, null, -1)], 64))), 128))])) : r("", !0)
|
|
2332
2335
|
], 64)) : r("", !0)
|
|
2333
|
-
]), a("div",
|
|
2336
|
+
]), a("div", Oa, [a("h3", null, S(o.heading), 1), (_(!0), i(e, null, b(o.events, (e) => (_(), i("div", {
|
|
2334
2337
|
key: e.id,
|
|
2335
2338
|
class: "mwnf-standalone-hcr__event"
|
|
2336
2339
|
}, [a("p", null, [a("b", null, S(e.date), 1)]), a("div", {
|
|
2337
2340
|
class: "mwnf-standalone-hcr__text",
|
|
2338
2341
|
innerHTML: e.html
|
|
2339
|
-
}, null, 8,
|
|
2342
|
+
}, null, 8, ka)]))), 128))])])]),
|
|
2340
2343
|
_: 1
|
|
2341
2344
|
}, 8, [
|
|
2342
2345
|
"heading",
|
|
@@ -2344,10 +2347,10 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
2344
2347
|
"dir"
|
|
2345
2348
|
]));
|
|
2346
2349
|
}
|
|
2347
|
-
},
|
|
2350
|
+
}, ja = ["disabled", "aria-label"], Ma = { class: "mwnf-standalone-slider__track" }, Na = ["src", "alt"], Pa = {
|
|
2348
2351
|
key: 0,
|
|
2349
2352
|
class: "mwnf-standalone-slider__label"
|
|
2350
|
-
},
|
|
2353
|
+
}, Fa = ["disabled", "aria-label"], Ia = {
|
|
2351
2354
|
__name: "Slider",
|
|
2352
2355
|
props: {
|
|
2353
2356
|
slides: {
|
|
@@ -2368,7 +2371,7 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
2368
2371
|
}
|
|
2369
2372
|
},
|
|
2370
2373
|
setup(n) {
|
|
2371
|
-
let o = n, { t: s } =
|
|
2374
|
+
let o = n, { t: s } = U(), l = K(), u = y(0), d = t(() => Math.max(0, o.slides.length - o.visible)), f = t(() => o.slides.slice(u.value, u.value + o.visible).map((e) => ({
|
|
2372
2375
|
...e,
|
|
2373
2376
|
image: l(e.image) ?? "",
|
|
2374
2377
|
label: e.label ? s(e.label) : ""
|
|
@@ -2384,8 +2387,8 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
2384
2387
|
disabled: u.value === 0,
|
|
2385
2388
|
"aria-label": C(s)(n.previousLabel),
|
|
2386
2389
|
onClick: o[0] ||= (e) => u.value = Math.max(0, u.value - 1)
|
|
2387
|
-
}, "‹", 8,
|
|
2388
|
-
a("ul",
|
|
2390
|
+
}, "‹", 8, ja),
|
|
2391
|
+
a("ul", Ma, [(_(!0), i(e, null, b(f.value, (e) => (_(), i("li", {
|
|
2389
2392
|
key: e.image,
|
|
2390
2393
|
class: "mwnf-standalone-slider__slide"
|
|
2391
2394
|
}, [c(G, {
|
|
@@ -2395,7 +2398,7 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
2395
2398
|
default: j(() => [a("img", {
|
|
2396
2399
|
src: e.image,
|
|
2397
2400
|
alt: e.label
|
|
2398
|
-
}, null, 8,
|
|
2401
|
+
}, null, 8, Na), e.label ? (_(), i("span", Pa, S(e.label), 1)) : r("", !0)]),
|
|
2399
2402
|
_: 2
|
|
2400
2403
|
}, 1032, ["to", "href"])]))), 128))]),
|
|
2401
2404
|
a("button", {
|
|
@@ -2404,17 +2407,17 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
2404
2407
|
disabled: u.value >= d.value,
|
|
2405
2408
|
"aria-label": C(s)(n.nextLabel),
|
|
2406
2409
|
onClick: o[1] ||= (e) => u.value = Math.min(d.value, u.value + 1)
|
|
2407
|
-
}, "›", 8,
|
|
2410
|
+
}, "›", 8, Fa)
|
|
2408
2411
|
], 4)) : r("", !0);
|
|
2409
2412
|
}
|
|
2410
|
-
},
|
|
2413
|
+
}, La = { class: "mwnf-standalone-glossary" }, Ra = { class: "mwnf-standalone-glossary__intro" }, za = { class: "mwnf-standalone-glossary__body" }, Ba = { class: "mwnf-standalone-glossary__field" }, Va = ["aria-expanded", "aria-label"], Ha = {
|
|
2411
2414
|
key: 0,
|
|
2412
2415
|
class: "mwnf-standalone-glossary__suggestions",
|
|
2413
2416
|
role: "listbox"
|
|
2414
|
-
},
|
|
2417
|
+
}, Ua = ["aria-selected", "onMousedown"], Wa = {
|
|
2415
2418
|
class: "mwnf-standalone-glossary__result",
|
|
2416
2419
|
"aria-live": "polite"
|
|
2417
|
-
},
|
|
2420
|
+
}, Ga = { class: "mwnf-standalone-glossary__label" }, Ka = ["innerHTML"], qa = { class: "mwnf-standalone-glossary__label mwnf-standalone-glossary__label--spellings" }, Ja = { class: "mwnf-standalone-glossary__note" }, Ya = { class: "mwnf-standalone-glossary__spellings" }, Xa = {
|
|
2418
2421
|
__name: "GlossarySpelling",
|
|
2419
2422
|
props: {
|
|
2420
2423
|
language: {
|
|
@@ -2435,7 +2438,7 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
2435
2438
|
}
|
|
2436
2439
|
},
|
|
2437
2440
|
setup(o) {
|
|
2438
|
-
let s = o, c =
|
|
2441
|
+
let s = o, c = re(), l = ee(s.entity), u = t(() => c.availableLanguages(s.entity).slice().sort());
|
|
2439
2442
|
g(async () => {
|
|
2440
2443
|
await L([s.entity]), await Promise.all(u.value.map((e) => c.loadTranslations(s.entity, e)));
|
|
2441
2444
|
});
|
|
@@ -2475,7 +2478,7 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
2475
2478
|
"close-label": o.labels.close,
|
|
2476
2479
|
dir: o.dir
|
|
2477
2480
|
}, {
|
|
2478
|
-
default: j(() => [a("div",
|
|
2481
|
+
default: j(() => [a("div", La, [a("h2", Ra, S(o.labels.intro), 1), a("div", za, [a("div", Ba, [M(a("input", {
|
|
2479
2482
|
"onUpdate:modelValue": s[0] ||= (e) => d.value = e,
|
|
2480
2483
|
type: "text",
|
|
2481
2484
|
class: "mwnf-standalone-glossary__input",
|
|
@@ -2485,19 +2488,19 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
2485
2488
|
"aria-label": o.labels.heading,
|
|
2486
2489
|
onInput: T,
|
|
2487
2490
|
onKeydown: E
|
|
2488
|
-
}, null, 40,
|
|
2491
|
+
}, null, 40, Va), [[O, d.value]]), v.value.length ? (_(), i("ul", Ha, [(_(!0), i(e, null, b(v.value, (e, t) => (_(), i("li", {
|
|
2489
2492
|
key: e.spelling,
|
|
2490
2493
|
role: "option",
|
|
2491
2494
|
"aria-selected": t === m.value,
|
|
2492
2495
|
class: f(["mwnf-standalone-glossary__suggestion", { "mwnf-standalone-glossary__suggestion--active": t === m.value }]),
|
|
2493
2496
|
onMousedown: N((t) => w(e), ["prevent"])
|
|
2494
|
-
}, S(e.spelling), 43,
|
|
2497
|
+
}, S(e.spelling), 43, Ua))), 128))])) : r("", !0)]), a("div", Wa, [p.value ? (_(), i(e, { key: 0 }, [x.value ? (_(), i(e, { key: 0 }, [a("h3", Ga, S(o.labels.definition), 1), a("div", {
|
|
2495
2498
|
class: "mwnf-standalone-glossary__definition",
|
|
2496
2499
|
innerHTML: x.value
|
|
2497
|
-
}, null, 8,
|
|
2498
|
-
a("h3",
|
|
2499
|
-
a("p",
|
|
2500
|
-
a("ul",
|
|
2500
|
+
}, null, 8, Ka)], 64)) : r("", !0), C.value.length ? (_(), i(e, { key: 1 }, [
|
|
2501
|
+
a("h3", qa, S(o.labels.spellings), 1),
|
|
2502
|
+
a("p", Ja, S(o.labels.spellingsNote), 1),
|
|
2503
|
+
a("ul", Ya, [(_(!0), i(e, null, b(C.value, (e) => (_(), i("li", { key: e }, S(e), 1))), 128))])
|
|
2501
2504
|
], 64)) : r("", !0)], 64)) : r("", !0)])])])]),
|
|
2502
2505
|
_: 1
|
|
2503
2506
|
}, 8, [
|
|
@@ -2507,4 +2510,4 @@ var Nt = { class: "mwnf-standalone-item__top" }, Pt = { class: "mwnf-standalone-
|
|
|
2507
2510
|
]));
|
|
2508
2511
|
}
|
|
2509
2512
|
};
|
|
2510
|
-
export {
|
|
2513
|
+
export { Ot as RelatedContent, Q as SEE_ALSO_LABELS, pe as StandaloneBanner, gi as StandaloneDatabaseForm, Xa as StandaloneGlossarySpelling, Aa as StandaloneHistoricalCrossRef, ot as StandaloneHome, Lt as StandaloneItemSheet, Ri as StandalonePagination, gr as StandalonePartnerList, pn as StandalonePartnerPage, Hr as StandalonePartnersEntrance, or as StandaloneRefine, Nn as StandaloneResultsGrid, er as StandaloneResultsList, Ve as StandaloneShell, Ia as StandaloneSlider, kr as StandaloneSponsorList, Ne as StandaloneSponsors, bn as StandaloneSubNav, _n as StandaloneTextPage, nt as StandaloneTileGrid, Mi as StandaloneTimelineEntrance, oa as StandaloneTimelineResults, $ as StandaloneWindow, Ye as TodayHighlight, me as byLanguage, q as dayOfYear, ve as highlightRecord, he as inventoryPictureForDay, ge as legacyHomeItemKey, Y as namesRecordsById, J as pickForDay, Nt as seeAlsoOf, At as trailTitle };
|