@museumwnf/viewer-layout 3.85.0 → 3.87.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/minisite.js +623 -609
- package/dist/standalone.js +394 -382
- 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
|
|
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
4
|
import { t as ae } from "./SiteShell-D0u1FGMu.js";
|
|
5
|
-
import { r as
|
|
6
|
-
import { c as
|
|
7
|
-
import { n as
|
|
5
|
+
import { r as oe } from "./chrome-Bv_mLlHM.js";
|
|
6
|
+
import { c as se, d as G, n as ce, t as le } from "./PartnerMap-DdyMLtgH.js";
|
|
7
|
+
import { n as ue, t as de } from "./RecordView-DAvWufWV.js";
|
|
8
8
|
// src/standalone/Banner.vue
|
|
9
|
-
var
|
|
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: {
|
|
@@ -25,25 +25,28 @@ var ue = {
|
|
|
25
25
|
return (t, n) => (_(), i("div", {
|
|
26
26
|
class: "mwnf-standalone-banner",
|
|
27
27
|
style: m(e.image ? { backgroundImage: `url(${JSON.stringify(e.image)})` } : void 0)
|
|
28
|
-
}, [e.title ? (_(), i("h1",
|
|
28
|
+
}, [e.title ? (_(), i("h1", fe, [a("span", null, S(e.title), 1)])) : r("", !0)], 4));
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
// src/standalone/chrome.js
|
|
32
|
-
function
|
|
32
|
+
function K() {
|
|
33
33
|
let e = W();
|
|
34
|
-
return (t) =>
|
|
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
|
|
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,71 +54,84 @@ function me(e) {
|
|
|
51
54
|
...n.slice(0, n.length - 1)
|
|
52
55
|
].join(":");
|
|
53
56
|
}
|
|
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()));
|
|
60
|
+
}
|
|
61
|
+
function ve(e, { byId: t, byLegacyKey: n = null, date: r = /* @__PURE__ */ new Date() } = {}) {
|
|
62
|
+
if (!e?.length) return null;
|
|
63
|
+
let i = q(r) % e.length;
|
|
64
|
+
for (let r = 0; r < e.length; r++) {
|
|
65
|
+
let a = String(e[(i + r) % e.length] ?? "").trim(), o = _e.test(a) ? t?.get(a) : n?.get(ge(a));
|
|
66
|
+
if (o) return o;
|
|
67
|
+
}
|
|
68
|
+
return null;
|
|
69
|
+
}
|
|
54
70
|
// src/standalone/Sponsors.vue
|
|
55
|
-
var
|
|
71
|
+
var ye = { class: "mwnf-standalone-sponsors" }, be = {
|
|
56
72
|
key: 0,
|
|
57
73
|
class: "mwnf-standalone-sponsors__text"
|
|
58
|
-
},
|
|
74
|
+
}, xe = ["innerHTML"], Se = { key: 1 }, Ce = ["innerHTML"], we = {
|
|
59
75
|
key: 1,
|
|
60
76
|
class: "mwnf-standalone-sponsors__title"
|
|
61
|
-
},
|
|
77
|
+
}, Te = {
|
|
62
78
|
key: 2,
|
|
63
79
|
class: "mwnf-standalone-sponsors__logos"
|
|
64
|
-
},
|
|
80
|
+
}, Ee = {
|
|
65
81
|
key: 0,
|
|
66
82
|
class: "mwnf-standalone-sponsors__note"
|
|
67
|
-
},
|
|
83
|
+
}, De = ["src", "alt"], Oe = ["innerHTML"], ke = ["href"], Ae = ["src", "alt"], je = ["src", "alt"], Me = {
|
|
68
84
|
key: 3,
|
|
69
85
|
class: "mwnf-standalone-sponsors__links"
|
|
70
|
-
},
|
|
86
|
+
}, Ne = {
|
|
71
87
|
__name: "Sponsors",
|
|
72
88
|
props: { columns: {
|
|
73
89
|
type: Array,
|
|
74
90
|
default: () => []
|
|
75
91
|
} },
|
|
76
92
|
setup(n) {
|
|
77
|
-
let o = n, { t: l } = U(), u =
|
|
93
|
+
let o = n, { t: l } = U(), u = K(), d = t(() => o.columns.map((e, t) => ({
|
|
78
94
|
key: t,
|
|
79
95
|
width: e.width ?? null,
|
|
80
|
-
lead: e.lead ?
|
|
81
|
-
text: e.text ?
|
|
96
|
+
lead: e.lead ? V(l(e.lead)) : "",
|
|
97
|
+
text: e.text ? V(l(e.text)) : "",
|
|
82
98
|
break: !!e.break,
|
|
83
99
|
title: e.title ? l(e.title) : "",
|
|
84
100
|
logos: (e.logos ?? []).map((e) => ({
|
|
85
101
|
src: u(e.src) ?? "",
|
|
86
102
|
alt: e.alt ? l(e.alt) : "",
|
|
87
103
|
href: e.href ?? "",
|
|
88
|
-
note: e.note ?
|
|
104
|
+
note: e.note ? ne(l(e.note)) : ""
|
|
89
105
|
})),
|
|
90
106
|
links: (e.links ?? []).map((e) => ({
|
|
91
107
|
...e,
|
|
92
108
|
label: l(e.label)
|
|
93
109
|
}))
|
|
94
110
|
})));
|
|
95
|
-
return (t, n) => (_(), i("div",
|
|
111
|
+
return (t, n) => (_(), i("div", ye, [(_(!0), i(e, null, b(d.value, (t) => (_(), i("div", {
|
|
96
112
|
key: t.key,
|
|
97
113
|
class: "mwnf-standalone-sponsors__column",
|
|
98
114
|
style: m(t.width ? { flexGrow: t.width } : void 0)
|
|
99
115
|
}, [
|
|
100
|
-
t.lead || t.text ? (_(), i("p",
|
|
116
|
+
t.lead || t.text ? (_(), i("p", be, [
|
|
101
117
|
t.lead ? (_(), i("i", {
|
|
102
118
|
key: 0,
|
|
103
119
|
innerHTML: t.lead
|
|
104
|
-
}, null, 8,
|
|
105
|
-
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),
|
|
106
122
|
t.text ? (_(), i("span", {
|
|
107
123
|
key: 3,
|
|
108
124
|
innerHTML: t.text
|
|
109
|
-
}, null, 8,
|
|
125
|
+
}, null, 8, Ce)) : r("", !0)
|
|
110
126
|
])) : r("", !0),
|
|
111
|
-
t.title ? (_(), i("p",
|
|
112
|
-
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", {
|
|
113
129
|
src: e.src,
|
|
114
130
|
alt: e.alt
|
|
115
|
-
}, null, 8,
|
|
131
|
+
}, null, 8, De)]), a("div", {
|
|
116
132
|
class: "mwnf-standalone-sponsors__note-body",
|
|
117
133
|
innerHTML: e.note
|
|
118
|
-
}, null, 8,
|
|
134
|
+
}, null, 8, Oe)])) : e.href ? (_(), i("a", {
|
|
119
135
|
key: 1,
|
|
120
136
|
href: e.href,
|
|
121
137
|
target: "_blank",
|
|
@@ -123,12 +139,12 @@ var he = { class: "mwnf-standalone-sponsors" }, ge = {
|
|
|
123
139
|
}, [a("img", {
|
|
124
140
|
src: e.src,
|
|
125
141
|
alt: e.alt
|
|
126
|
-
}, null, 8,
|
|
142
|
+
}, null, 8, Ae)], 8, ke)) : (_(), i("img", {
|
|
127
143
|
key: 2,
|
|
128
144
|
src: e.src,
|
|
129
145
|
alt: e.alt
|
|
130
|
-
}, null, 8,
|
|
131
|
-
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, {
|
|
132
148
|
to: e.to,
|
|
133
149
|
href: e.href,
|
|
134
150
|
external: !!e.external
|
|
@@ -142,16 +158,16 @@ var he = { class: "mwnf-standalone-sponsors" }, ge = {
|
|
|
142
158
|
])]))), 128))])) : r("", !0)
|
|
143
159
|
], 4))), 128))]));
|
|
144
160
|
}
|
|
145
|
-
},
|
|
161
|
+
}, Pe = {
|
|
146
162
|
key: 0,
|
|
147
163
|
class: "mwnf-standalone mwnf-standalone--bare"
|
|
148
|
-
},
|
|
164
|
+
}, Fe = { class: "mwnf-banner mwnf-standalone-home-banner" }, Ie = ["src"], Le = { class: "mwnf-standalone-home-banner__text" }, Re = {
|
|
149
165
|
key: 0,
|
|
150
166
|
class: "mwnf-standalone-home-banner__title"
|
|
151
|
-
},
|
|
167
|
+
}, ze = {
|
|
152
168
|
key: 1,
|
|
153
169
|
class: "mwnf-standalone-home-banner__line"
|
|
154
|
-
},
|
|
170
|
+
}, Be = ["src"], Ve = {
|
|
155
171
|
__name: "Shell",
|
|
156
172
|
props: {
|
|
157
173
|
language: {
|
|
@@ -165,7 +181,7 @@ var he = { class: "mwnf-standalone-sponsors" }, ge = {
|
|
|
165
181
|
},
|
|
166
182
|
emits: ["update:language"],
|
|
167
183
|
setup(e, { emit: s }) {
|
|
168
|
-
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) =>
|
|
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(() => {
|
|
169
185
|
let e = y.value.logo ?? {}, t = E(T.value?.logo ?? e.src);
|
|
170
186
|
return t ? {
|
|
171
187
|
logo: t,
|
|
@@ -198,14 +214,14 @@ var he = { class: "mwnf-standalone-sponsors" }, ge = {
|
|
|
198
214
|
},
|
|
199
215
|
banner: null,
|
|
200
216
|
...D.value ? { brand: D.value } : {}
|
|
201
|
-
})), 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(() => [
|
|
202
218
|
"mwnf-standalone",
|
|
203
219
|
w.value ? "mwnf-standalone--home" : "mwnf-standalone--inner",
|
|
204
220
|
T.value?.class ?? ""
|
|
205
221
|
]);
|
|
206
|
-
return (e, t) => h.value ? (_(), i("div",
|
|
222
|
+
return (e, t) => h.value ? (_(), i("div", Pe, [x(e.$slots, "default")])) : (_(), n(ae, {
|
|
207
223
|
key: 1,
|
|
208
|
-
class: f(
|
|
224
|
+
class: f(z.value),
|
|
209
225
|
config: ee.value,
|
|
210
226
|
languages: y.value.languages === !1 ? [] : l.languages,
|
|
211
227
|
language: l.language,
|
|
@@ -224,19 +240,19 @@ var he = { class: "mwnf-standalone-sponsors" }, ge = {
|
|
|
224
240
|
}, [
|
|
225
241
|
N.value ? {
|
|
226
242
|
name: "banner",
|
|
227
|
-
fn: j(() => [c(
|
|
243
|
+
fn: j(() => [c(pe, {
|
|
228
244
|
image: A.value,
|
|
229
245
|
title: M.value
|
|
230
246
|
}, null, 8, ["image", "title"])]),
|
|
231
247
|
key: "0"
|
|
232
248
|
} : F.value ? {
|
|
233
249
|
name: "banner",
|
|
234
|
-
fn: j(() => [a("section",
|
|
250
|
+
fn: j(() => [a("section", Fe, [A.value ? (_(), i("img", {
|
|
235
251
|
key: 0,
|
|
236
252
|
class: "mwnf-banner__image",
|
|
237
253
|
src: A.value,
|
|
238
254
|
alt: ""
|
|
239
|
-
}, 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)])])]),
|
|
240
256
|
key: "1"
|
|
241
257
|
} : void 0,
|
|
242
258
|
O.value ? {
|
|
@@ -245,7 +261,7 @@ var he = { class: "mwnf-standalone-sponsors" }, ge = {
|
|
|
245
261
|
class: "mwnf-standalone__print-logo",
|
|
246
262
|
src: O.value,
|
|
247
263
|
alt: ""
|
|
248
|
-
}, null, 8,
|
|
264
|
+
}, null, 8, Be)]),
|
|
249
265
|
key: "2"
|
|
250
266
|
} : void 0,
|
|
251
267
|
e.$slots.sponsors ? {
|
|
@@ -254,7 +270,7 @@ var he = { class: "mwnf-standalone-sponsors" }, ge = {
|
|
|
254
270
|
key: "3"
|
|
255
271
|
} : I.value ? {
|
|
256
272
|
name: "sponsors",
|
|
257
|
-
fn: j(() => [c(
|
|
273
|
+
fn: j(() => [c(Ne, { columns: I.value.columns }, null, 8, ["columns"])]),
|
|
258
274
|
key: "4"
|
|
259
275
|
} : void 0,
|
|
260
276
|
e.$slots.footer ? {
|
|
@@ -274,19 +290,19 @@ var he = { class: "mwnf-standalone-sponsors" }, ge = {
|
|
|
274
290
|
"footer-text"
|
|
275
291
|
]));
|
|
276
292
|
}
|
|
277
|
-
},
|
|
293
|
+
}, He = {
|
|
278
294
|
key: 0,
|
|
279
295
|
class: "mwnf-standalone-highlight"
|
|
280
|
-
},
|
|
296
|
+
}, Ue = ["src", "alt"], We = {
|
|
281
297
|
key: 1,
|
|
282
298
|
class: "mwnf-standalone-highlight__heading"
|
|
283
|
-
},
|
|
299
|
+
}, Ge = { class: "mwnf-standalone-highlight__lines" }, Ke = ["innerHTML"], qe = {
|
|
284
300
|
key: 2,
|
|
285
301
|
class: "mwnf-standalone-highlight__place"
|
|
286
|
-
},
|
|
302
|
+
}, Je = {
|
|
287
303
|
key: 3,
|
|
288
304
|
class: "mwnf-standalone-highlight__action"
|
|
289
|
-
},
|
|
305
|
+
}, Ye = {
|
|
290
306
|
__name: "TodayHighlight",
|
|
291
307
|
props: {
|
|
292
308
|
record: {
|
|
@@ -327,21 +343,21 @@ var he = { class: "mwnf-standalone-sponsors" }, ge = {
|
|
|
327
343
|
}
|
|
328
344
|
},
|
|
329
345
|
setup(o) {
|
|
330
|
-
let l = o, { t: u } = U(), d = (e) =>
|
|
346
|
+
let l = o, { t: u } = U(), d = (e) => B(Array.isArray(e) ? e.join("; ") : e), f = t(() => {
|
|
331
347
|
let e = l.text ?? {}, t = [], n = d(e.name ?? l.record?.internal_name ?? "");
|
|
332
|
-
n && t.push(
|
|
348
|
+
n && t.push(V(n));
|
|
333
349
|
let r = d(e.alternate_name);
|
|
334
|
-
r && t.push(`${l.alsoKnownAs ? `${u(l.alsoKnownAs)} ` : ""}${
|
|
350
|
+
r && t.push(`${l.alsoKnownAs ? `${u(l.alsoKnownAs)} ` : ""}${V(r)}`);
|
|
335
351
|
let i = [d(e.dates), d(e.dynasty)].filter(Boolean).join(", ");
|
|
336
|
-
i && t.push(
|
|
352
|
+
i && t.push(V(i));
|
|
337
353
|
for (let n of ["materials", "holder"]) {
|
|
338
354
|
let r = d(e[n]);
|
|
339
|
-
r && t.push(
|
|
355
|
+
r && t.push(V(r));
|
|
340
356
|
}
|
|
341
357
|
return t;
|
|
342
|
-
}), p = t(() => l.place ?? [d(l.text?.location), l.country].filter(Boolean).join(", ")), m = t(() => l.picture || (l.record?.images?.[0]?.url ?? "")), h = t(() =>
|
|
343
|
-
return (t, l) => o.record ? (_(), i("div",
|
|
344
|
-
m.value ? (_(), n(
|
|
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, [
|
|
360
|
+
m.value ? (_(), n(G, {
|
|
345
361
|
key: 0,
|
|
346
362
|
class: "mwnf-standalone-highlight__media",
|
|
347
363
|
to: o.to
|
|
@@ -350,28 +366,28 @@ var he = { class: "mwnf-standalone-sponsors" }, ge = {
|
|
|
350
366
|
class: "mwnf-standalone-highlight__image",
|
|
351
367
|
src: m.value,
|
|
352
368
|
alt: h.value
|
|
353
|
-
}, null, 8,
|
|
369
|
+
}, null, 8, Ue)]),
|
|
354
370
|
_: 1
|
|
355
371
|
}, 8, ["to"])) : r("", !0),
|
|
356
|
-
o.heading ? (_(), i("p",
|
|
357
|
-
a("p",
|
|
358
|
-
p.value ? (_(), i("p",
|
|
359
|
-
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 }, {
|
|
360
376
|
default: j(() => [s(S(C(u)(o.action)), 1)]),
|
|
361
377
|
_: 1
|
|
362
378
|
}, 8, ["to"])])) : r("", !0)
|
|
363
379
|
])) : r("", !0);
|
|
364
380
|
}
|
|
365
|
-
},
|
|
381
|
+
}, Xe = {
|
|
366
382
|
key: 0,
|
|
367
383
|
class: "mwnf-standalone-tiles"
|
|
368
|
-
},
|
|
384
|
+
}, Ze = {
|
|
369
385
|
key: 0,
|
|
370
386
|
class: "mwnf-standalone-tiles__caption"
|
|
371
|
-
},
|
|
387
|
+
}, Qe = { class: "mwnf-standalone-tiles__caption-text" }, $e = { class: "mwnf-standalone-tiles__grid" }, et = ["src", "alt"], tt = {
|
|
372
388
|
key: 0,
|
|
373
389
|
class: "mwnf-standalone-tiles__label"
|
|
374
|
-
},
|
|
390
|
+
}, nt = {
|
|
375
391
|
__name: "TileGrid",
|
|
376
392
|
props: {
|
|
377
393
|
caption: {
|
|
@@ -384,15 +400,15 @@ var he = { class: "mwnf-standalone-sponsors" }, ge = {
|
|
|
384
400
|
}
|
|
385
401
|
},
|
|
386
402
|
setup(n) {
|
|
387
|
-
let o = n, { t: s } = U(), l =
|
|
403
|
+
let o = n, { t: s } = U(), l = K(), u = t(() => o.items.map((e) => ({
|
|
388
404
|
...e,
|
|
389
405
|
image: l(e.image) ?? "",
|
|
390
|
-
label: e.text ?
|
|
406
|
+
label: e.text ? H(e.text) : e.label ? s(e.label) : ""
|
|
391
407
|
})));
|
|
392
|
-
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", {
|
|
393
409
|
key: e.image,
|
|
394
410
|
class: "mwnf-standalone-tiles__tile"
|
|
395
|
-
}, [c(
|
|
411
|
+
}, [c(G, {
|
|
396
412
|
to: e.to,
|
|
397
413
|
href: e.href,
|
|
398
414
|
class: "mwnf-standalone-tiles__link"
|
|
@@ -401,14 +417,14 @@ var he = { class: "mwnf-standalone-sponsors" }, ge = {
|
|
|
401
417
|
class: "mwnf-standalone-tiles__image",
|
|
402
418
|
src: e.image,
|
|
403
419
|
alt: e.label
|
|
404
|
-
}, null, 8,
|
|
420
|
+
}, null, 8, et), e.label ? (_(), i("span", tt, S(e.label), 1)) : r("", !0)]),
|
|
405
421
|
_: 2
|
|
406
422
|
}, 1032, ["to", "href"])]))), 128))])])) : r("", !0);
|
|
407
423
|
}
|
|
408
|
-
},
|
|
424
|
+
}, rt = { class: "mwnf-standalone-home" }, it = {
|
|
409
425
|
key: 0,
|
|
410
426
|
class: "mwnf-standalone-home__links"
|
|
411
|
-
},
|
|
427
|
+
}, at = { key: 1 }, ot = {
|
|
412
428
|
__name: "Home",
|
|
413
429
|
props: { home: {
|
|
414
430
|
type: Object,
|
|
@@ -420,41 +436,37 @@ var he = { class: "mwnf-standalone-sponsors" }, ge = {
|
|
|
420
436
|
label: l(e.label),
|
|
421
437
|
prefix: e.prefix ? l(e.prefix) : "",
|
|
422
438
|
title: e.title ? l(e.title) : void 0
|
|
423
|
-
}))), h = t(() => p.value.highlight ?? null), g =
|
|
439
|
+
}))), h = t(() => p.value.highlight ?? null), g = re();
|
|
424
440
|
h.value?.list?.length && (L(["items", "countries"]), A(u, (e) => {
|
|
425
441
|
g.loadTranslations("items", e), g.loadTranslations("countries", e);
|
|
426
442
|
}, { immediate: !0 }));
|
|
427
|
-
let v = F("items", "backward_compatibility"),
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
}
|
|
433
|
-
return null;
|
|
434
|
-
}), C = t(() => y.value ? g.tr("items", y.value.id, u.value, "en") : {}), w = t(() => {
|
|
435
|
-
let e = y.value?.country_id;
|
|
443
|
+
let v = F("items"), y = Y(h.value?.list) ? null : F("items", "backward_compatibility"), C = t(() => ve(h.value?.list ?? [], {
|
|
444
|
+
byId: v.value,
|
|
445
|
+
byLegacyKey: y?.value ?? null
|
|
446
|
+
})), w = t(() => C.value ? g.tr("items", C.value.id, u.value, "en") : {}), T = t(() => {
|
|
447
|
+
let e = C.value?.country_id;
|
|
436
448
|
return e ? g.tr("countries", e, u.value, "en").name ?? "" : "";
|
|
437
|
-
}),
|
|
449
|
+
}), E = t(() => C.value && h.value?.place ? h.value.place(C.value, w.value, T.value) : null), D = t(() => C.value ? {
|
|
438
450
|
name: h.value.route ?? "item",
|
|
439
|
-
params: { id:
|
|
440
|
-
} : null),
|
|
451
|
+
params: { id: C.value.id }
|
|
452
|
+
} : null), O = K(), k = t(() => {
|
|
441
453
|
let e = h.value?.pictures ?? [];
|
|
442
|
-
return e.length ?
|
|
443
|
-
}),
|
|
454
|
+
return e === "inventory" ? he(v.value) : e.length ? O(J(e)) ?? "" : "";
|
|
455
|
+
}), M = t(() => {
|
|
444
456
|
let e = p.value.tiles?.items;
|
|
445
457
|
return (typeof e == "function" ? e() : e) ?? [];
|
|
446
458
|
});
|
|
447
|
-
return (t, a) => (_(), i("div",
|
|
448
|
-
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", {
|
|
449
461
|
key: t.label,
|
|
450
462
|
class: f({ "mwnf-standalone-home__link--gap": t.gap })
|
|
451
|
-
}, [c(
|
|
463
|
+
}, [c(G, {
|
|
452
464
|
to: t.to,
|
|
453
465
|
href: t.href,
|
|
454
466
|
external: !!t.external,
|
|
455
467
|
title: t.title
|
|
456
468
|
}, {
|
|
457
|
-
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))]),
|
|
458
470
|
_: 2
|
|
459
471
|
}, 1032, [
|
|
460
472
|
"to",
|
|
@@ -462,14 +474,14 @@ var he = { class: "mwnf-standalone-sponsors" }, ge = {
|
|
|
462
474
|
"external",
|
|
463
475
|
"title"
|
|
464
476
|
])], 2))), 128))])) : r("", !0),
|
|
465
|
-
h.value ? (_(), n(
|
|
477
|
+
h.value ? (_(), n(Ye, {
|
|
466
478
|
key: 1,
|
|
467
|
-
record:
|
|
468
|
-
text:
|
|
469
|
-
country:
|
|
470
|
-
place:
|
|
471
|
-
to:
|
|
472
|
-
picture:
|
|
479
|
+
record: C.value,
|
|
480
|
+
text: w.value,
|
|
481
|
+
country: T.value,
|
|
482
|
+
place: E.value,
|
|
483
|
+
to: D.value,
|
|
484
|
+
picture: k.value,
|
|
473
485
|
heading: h.value.heading ?? "",
|
|
474
486
|
"also-known-as": h.value.alsoKnownAs ?? "",
|
|
475
487
|
action: h.value.action ?? ""
|
|
@@ -484,15 +496,15 @@ var he = { class: "mwnf-standalone-sponsors" }, ge = {
|
|
|
484
496
|
"also-known-as",
|
|
485
497
|
"action"
|
|
486
498
|
])) : r("", !0),
|
|
487
|
-
p.value.tiles ? (_(), n(
|
|
499
|
+
p.value.tiles ? (_(), n(nt, {
|
|
488
500
|
key: 2,
|
|
489
501
|
caption: p.value.tiles.caption ?? "",
|
|
490
|
-
items:
|
|
502
|
+
items: M.value
|
|
491
503
|
}, null, 8, ["caption", "items"])) : r("", !0),
|
|
492
504
|
x(t.$slots, "default")
|
|
493
505
|
]));
|
|
494
506
|
}
|
|
495
|
-
},
|
|
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\"]";
|
|
496
508
|
function X(e) {
|
|
497
509
|
return String(e ?? "").replace(/[&<>"]/g, (e) => ({
|
|
498
510
|
"&": "&",
|
|
@@ -501,7 +513,7 @@ function X(e) {
|
|
|
501
513
|
"\"": """
|
|
502
514
|
})[e]);
|
|
503
515
|
}
|
|
504
|
-
var
|
|
516
|
+
var dt = /* @__PURE__ */ new Set([
|
|
505
517
|
"I",
|
|
506
518
|
"EM",
|
|
507
519
|
"B",
|
|
@@ -509,7 +521,7 @@ var st = /* @__PURE__ */ new Set([
|
|
|
509
521
|
"U",
|
|
510
522
|
"SUP",
|
|
511
523
|
"SUB"
|
|
512
|
-
]),
|
|
524
|
+
]), ft = /* @__PURE__ */ new Set([
|
|
513
525
|
"P",
|
|
514
526
|
"DIV",
|
|
515
527
|
"LI",
|
|
@@ -525,12 +537,12 @@ function Z(e) {
|
|
|
525
537
|
n().push(X(e.textContent));
|
|
526
538
|
return;
|
|
527
539
|
}
|
|
528
|
-
if (e.nodeType !== Node.ELEMENT_NODE || e.matches(
|
|
540
|
+
if (e.nodeType !== Node.ELEMENT_NODE || e.matches(ut)) return;
|
|
529
541
|
if (e.tagName === "BR") {
|
|
530
542
|
n().push("<br/>");
|
|
531
543
|
return;
|
|
532
544
|
}
|
|
533
|
-
let t =
|
|
545
|
+
let t = ft.has(e.tagName), a = dt.has(e.tagName) ? e.tagName.toLowerCase() : "";
|
|
534
546
|
t && r(), a && n().push(`<${a}>`);
|
|
535
547
|
for (let t of e.childNodes) i(t);
|
|
536
548
|
a && n().push(`</${a}>`), t && r();
|
|
@@ -538,12 +550,12 @@ function Z(e) {
|
|
|
538
550
|
for (let t of e.childNodes) i(t);
|
|
539
551
|
return t.map((e) => e.join("").replace(/\s+/g, " ").trim()).filter(Boolean).join("<br/>\n<br/>");
|
|
540
552
|
}
|
|
541
|
-
function
|
|
553
|
+
function pt(e, { title: t = "", dir: n = "" } = {}) {
|
|
542
554
|
let r = (t) => {
|
|
543
555
|
for (let n = t; n && n !== e.parentElement; n = n.parentElement) if (n.hidden || getComputedStyle(n).display === "none") return !1;
|
|
544
556
|
return !0;
|
|
545
557
|
}, i = [];
|
|
546
|
-
for (let t of e.querySelectorAll(`${
|
|
558
|
+
for (let t of e.querySelectorAll(`${ct}, ${lt}`)) {
|
|
547
559
|
if (t.closest(".mwnf-standalone-item__left, .mwnf-standalone-related") || !r(t)) continue;
|
|
548
560
|
if (t.matches(".mwnf-credits__list > dt")) {
|
|
549
561
|
let e = t.nextElementSibling;
|
|
@@ -551,7 +563,7 @@ function lt(e, { title: t = "", dir: n = "" } = {}) {
|
|
|
551
563
|
continue;
|
|
552
564
|
}
|
|
553
565
|
let e = Z(t);
|
|
554
|
-
e && i.push(t.matches(
|
|
566
|
+
e && i.push(t.matches(ct) ? `<h3>${e}</h3>` : `<p>${e}</p>`);
|
|
555
567
|
}
|
|
556
568
|
let a = n === "rtl" ? " style=\"direction: rtl;\"" : "";
|
|
557
569
|
return `<html>
|
|
@@ -559,7 +571,7 @@ function lt(e, { title: t = "", dir: n = "" } = {}) {
|
|
|
559
571
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
560
572
|
<head>
|
|
561
573
|
<style>
|
|
562
|
-
${
|
|
574
|
+
${st}
|
|
563
575
|
</style>
|
|
564
576
|
</head>
|
|
565
577
|
<body>
|
|
@@ -573,11 +585,11 @@ ${i.join("\n")}
|
|
|
573
585
|
</body>
|
|
574
586
|
</html>`;
|
|
575
587
|
}
|
|
576
|
-
function
|
|
588
|
+
function mt(e, t) {
|
|
577
589
|
let n = URL.createObjectURL(new Blob(["", e], { type: "application/msword" })), r = document.createElement("a");
|
|
578
590
|
r.href = n, r.download = t, document.body.appendChild(r), r.click(), r.remove(), setTimeout(() => URL.revokeObjectURL(n), 0);
|
|
579
591
|
}
|
|
580
|
-
function
|
|
592
|
+
function ht({ title: e = "", heading: t = "", heads: n = {}, rows: r = [], empty: i = "", dir: a = "" } = {}) {
|
|
581
593
|
let o = a === "rtl" ? "direction: rtl; text-align: right;" : "text-align: left;", s = (e) => {
|
|
582
594
|
let t = document.createElement("div");
|
|
583
595
|
return t.innerHTML = e ?? "", Z(t);
|
|
@@ -614,7 +626,7 @@ ${r.map(u).join("\n")}
|
|
|
614
626
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
615
627
|
<head>
|
|
616
628
|
<style>
|
|
617
|
-
${
|
|
629
|
+
${st}
|
|
618
630
|
</style>
|
|
619
631
|
</head>
|
|
620
632
|
<body>
|
|
@@ -631,13 +643,13 @@ ${d}
|
|
|
631
643
|
</html>`;
|
|
632
644
|
}
|
|
633
645
|
// src/standalone/RelatedContent.vue
|
|
634
|
-
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 = {
|
|
635
647
|
key: 0,
|
|
636
648
|
class: "mwnf-standalone-related__see-also"
|
|
637
|
-
},
|
|
649
|
+
}, Ct = { class: "mwnf-standalone-related__see-also-heading" }, wt = ["href"], Tt = ["href"], Et = {
|
|
638
650
|
key: 1,
|
|
639
651
|
class: "mwnf-standalone-related__download"
|
|
640
|
-
},
|
|
652
|
+
}, Dt = { class: "mwnf-standalone-related__download-heading" }, Ot = {
|
|
641
653
|
__name: "RelatedContent",
|
|
642
654
|
props: {
|
|
643
655
|
heading: {
|
|
@@ -675,17 +687,17 @@ var ft = { class: "mwnf-standalone-related" }, pt = { class: "mwnf-standalone-re
|
|
|
675
687
|
}
|
|
676
688
|
function f(e) {
|
|
677
689
|
let t = e.currentTarget.closest(".mwnf-standalone-item");
|
|
678
|
-
t &&
|
|
690
|
+
t && mt(pt(t.querySelector(".mwnf-record__main") ?? t, {
|
|
679
691
|
title: o.download?.title ? l(o.download.title) : "",
|
|
680
692
|
dir: getComputedStyle(t).direction
|
|
681
693
|
}), o.wordFile);
|
|
682
694
|
}
|
|
683
|
-
return (t, o) => (_(), i("aside",
|
|
684
|
-
a("p",
|
|
695
|
+
return (t, o) => (_(), i("aside", gt, [
|
|
696
|
+
a("p", _t, [a("strong", null, S(C(l)(n.heading)), 1)]),
|
|
685
697
|
(_(!0), i(e, null, b(u.value, (t) => (_(), i("div", {
|
|
686
698
|
key: t.heading,
|
|
687
699
|
class: "mwnf-standalone-related__group"
|
|
688
|
-
}, [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, {
|
|
689
701
|
to: e.to,
|
|
690
702
|
title: e.imageAlt
|
|
691
703
|
}, {
|
|
@@ -693,29 +705,29 @@ var ft = { class: "mwnf-standalone-related" }, pt = { class: "mwnf-standalone-re
|
|
|
693
705
|
key: 0,
|
|
694
706
|
src: e.image,
|
|
695
707
|
alt: e.imageAlt
|
|
696
|
-
}, null, 8,
|
|
708
|
+
}, null, 8, bt)) : (_(), i("span", {
|
|
697
709
|
key: 1,
|
|
698
710
|
innerHTML: e.name
|
|
699
|
-
}, null, 8,
|
|
711
|
+
}, null, 8, xt))]),
|
|
700
712
|
_: 2
|
|
701
713
|
}, 1032, ["to", "title"])]))), 128))])]))), 128)),
|
|
702
714
|
x(t.$slots, "default"),
|
|
703
|
-
n.seeAlso ? (_(), i("div",
|
|
704
|
-
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)])]),
|
|
705
717
|
(_(!0), i(e, null, b(n.seeAlso.links ?? [], (e) => (_(), i("a", {
|
|
706
718
|
key: e.href,
|
|
707
719
|
class: "mwnf-standalone-related__see-also-link",
|
|
708
720
|
href: e.href,
|
|
709
721
|
target: "_blank",
|
|
710
722
|
rel: "noopener"
|
|
711
|
-
}, S(C(l)(e.label)), 9,
|
|
723
|
+
}, S(C(l)(e.label)), 9, wt))), 128)),
|
|
712
724
|
(_(!0), i(e, null, b(n.seeAlso.groups ?? [], (t) => (_(), i("div", {
|
|
713
725
|
key: t.heading,
|
|
714
726
|
class: "mwnf-standalone-related__see-also-group"
|
|
715
|
-
}, [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))
|
|
716
728
|
])) : r("", !0),
|
|
717
|
-
n.download ? (_(), i("div",
|
|
718
|
-
a("p",
|
|
729
|
+
n.download ? (_(), i("div", Et, [
|
|
730
|
+
a("p", Dt, S(C(l)(n.download.heading)), 1),
|
|
719
731
|
a("button", {
|
|
720
732
|
type: "button",
|
|
721
733
|
class: "mwnf-standalone-related__print",
|
|
@@ -734,21 +746,21 @@ var ft = { class: "mwnf-standalone-related" }, pt = { class: "mwnf-standalone-re
|
|
|
734
746
|
heading: "standalone.related.seeAlso",
|
|
735
747
|
travelBook: "standalone.related.travelBook",
|
|
736
748
|
exhibitionTrail: "standalone.related.exhibitionTrail"
|
|
737
|
-
}),
|
|
738
|
-
function
|
|
739
|
-
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) ?? "");
|
|
740
752
|
return r ? `${n} - ${r}` : n;
|
|
741
753
|
}
|
|
742
|
-
var
|
|
743
|
-
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) {
|
|
744
756
|
let r = [], i = e?.travel_book;
|
|
745
757
|
i?.url && r.push({
|
|
746
758
|
label: n.travelBook,
|
|
747
|
-
href:
|
|
759
|
+
href: jt(i.url, t)
|
|
748
760
|
});
|
|
749
761
|
let a = (Array.isArray(e?.exhibition_trails) ? e.exhibition_trails : []).filter((e) => e?.url).map((e) => ({
|
|
750
|
-
text:
|
|
751
|
-
href:
|
|
762
|
+
text: At(e, t),
|
|
763
|
+
href: Mt(e.url, t)
|
|
752
764
|
})), o = a.length ? [{
|
|
753
765
|
heading: n.exhibitionTrail,
|
|
754
766
|
links: a
|
|
@@ -760,10 +772,10 @@ function kt(e, t, n = Q) {
|
|
|
760
772
|
};
|
|
761
773
|
}
|
|
762
774
|
// src/standalone/ItemSheet.vue
|
|
763
|
-
var
|
|
775
|
+
var Pt = { class: "mwnf-standalone-item__top" }, Ft = { class: "mwnf-standalone-item__left" }, It = {
|
|
764
776
|
key: 0,
|
|
765
777
|
class: "mwnf-standalone-item__back"
|
|
766
|
-
},
|
|
778
|
+
}, Lt = {
|
|
767
779
|
__name: "ItemSheet",
|
|
768
780
|
props: {
|
|
769
781
|
spec: {
|
|
@@ -791,14 +803,14 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
791
803
|
...Q,
|
|
792
804
|
...typeof d.related.seeAlso == "object" ? d.related.seeAlso : {}
|
|
793
805
|
};
|
|
794
|
-
return
|
|
806
|
+
return Nt(e, m.value, t);
|
|
795
807
|
}
|
|
796
808
|
let v = t(() => ({
|
|
797
809
|
...d.spec,
|
|
798
810
|
media: () => []
|
|
799
811
|
}));
|
|
800
812
|
function y(e) {
|
|
801
|
-
return
|
|
813
|
+
return ue(C(e), d.spec.pictureLimit, e);
|
|
802
814
|
}
|
|
803
815
|
function C({ record: e, text: t, language: n }) {
|
|
804
816
|
if (d.spec.media) return d.spec.media(e, {
|
|
@@ -806,9 +818,9 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
806
818
|
text: t,
|
|
807
819
|
language: n
|
|
808
820
|
});
|
|
809
|
-
let r =
|
|
810
|
-
return
|
|
811
|
-
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(", ");
|
|
812
824
|
return {
|
|
813
825
|
url: e.url,
|
|
814
826
|
alt: a || e.captions?.[n] || r,
|
|
@@ -831,12 +843,12 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
831
843
|
window.history.back();
|
|
832
844
|
}
|
|
833
845
|
let k = (e) => [...e].sort((e, t) => t.code.localeCompare(e.code));
|
|
834
|
-
return (t, d) => (_(), n(
|
|
846
|
+
return (t, d) => (_(), n(de, {
|
|
835
847
|
spec: v.value,
|
|
836
848
|
id: u.id,
|
|
837
849
|
class: "mwnf-standalone-item"
|
|
838
850
|
}, o({
|
|
839
|
-
header: j(({ languages: e, language: t, select: n }) => [a("div",
|
|
851
|
+
header: j(({ languages: e, language: t, select: n }) => [a("div", Pt, [c(se, {
|
|
840
852
|
languages: k(e),
|
|
841
853
|
language: t,
|
|
842
854
|
from: 1,
|
|
@@ -846,12 +858,12 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
846
858
|
"language",
|
|
847
859
|
"onSelect"
|
|
848
860
|
])])]),
|
|
849
|
-
"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", {
|
|
850
862
|
key: 0,
|
|
851
863
|
type: "button",
|
|
852
864
|
class: "mwnf-standalone-item__back-link",
|
|
853
865
|
onClick: O
|
|
854
|
-
}, S(t.label), 1)) : (_(), n(
|
|
866
|
+
}, S(t.label), 1)) : (_(), n(G, {
|
|
855
867
|
key: 1,
|
|
856
868
|
class: "mwnf-standalone-item__back-link",
|
|
857
869
|
to: t.to,
|
|
@@ -859,11 +871,11 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
859
871
|
}, {
|
|
860
872
|
default: j(() => [s(S(t.label), 1)]),
|
|
861
873
|
_: 2
|
|
862
|
-
}, 1032, ["to", "href"]))], 64))), 128))])) : r("", !0), c(
|
|
874
|
+
}, 1032, ["to", "href"]))], 64))), 128))])) : r("", !0), c(ce, {
|
|
863
875
|
images: y(o),
|
|
864
876
|
"thumbs-from": 1
|
|
865
877
|
}, null, 8, ["images"])]), x(t.$slots, "before-sheet", p(l(o)))]),
|
|
866
|
-
related: j((e) => [c(
|
|
878
|
+
related: j((e) => [c(Ot, {
|
|
867
879
|
heading: u.related.heading ?? "record.related.title",
|
|
868
880
|
records: e.records,
|
|
869
881
|
groups: u.related.groups ?? [],
|
|
@@ -888,37 +900,37 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
888
900
|
fn: j((n) => [x(t.$slots, e, p(l(n)))])
|
|
889
901
|
}))]), 1032, ["spec", "id"]));
|
|
890
902
|
}
|
|
891
|
-
},
|
|
903
|
+
}, Rt = {
|
|
892
904
|
key: 0,
|
|
893
905
|
class: "mwnf-standalone-item__top"
|
|
894
|
-
},
|
|
906
|
+
}, zt = {
|
|
895
907
|
key: 1,
|
|
896
908
|
hidden: ""
|
|
897
|
-
},
|
|
909
|
+
}, Bt = {
|
|
898
910
|
key: 0,
|
|
899
911
|
class: "mwnf-standalone-item__back mwnf-standalone-partner__back"
|
|
900
|
-
},
|
|
912
|
+
}, Vt = { class: "mwnf-standalone-partner__heading" }, Ht = ["dir", "innerHTML"], Ut = {
|
|
901
913
|
key: 0,
|
|
902
914
|
class: "mwnf-standalone-partner__location"
|
|
903
|
-
},
|
|
915
|
+
}, Wt = { class: "mwnf-standalone-partner__bar" }, Gt = { class: "mwnf-standalone-partner__bar-start" }, Kt = ["aria-label", "onKeydown"], qt = [
|
|
904
916
|
"id",
|
|
905
917
|
"aria-selected",
|
|
906
918
|
"aria-controls",
|
|
907
919
|
"tabindex",
|
|
908
920
|
"onClick"
|
|
909
|
-
],
|
|
921
|
+
], Jt = {
|
|
910
922
|
key: 0,
|
|
911
923
|
class: "mwnf-standalone-partner__divider",
|
|
912
924
|
"aria-hidden": "true"
|
|
913
|
-
},
|
|
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 = [
|
|
914
926
|
"id",
|
|
915
927
|
"aria-labelledby",
|
|
916
928
|
"dir",
|
|
917
929
|
"innerHTML"
|
|
918
|
-
],
|
|
930
|
+
], nn = ["id", "aria-labelledby"], rn = ["innerHTML"], an = ["href"], on = { key: 0 }, sn = ["href"], cn = ["href"], ln = ["id", "aria-labelledby"], un = ["src"], dn = {
|
|
919
931
|
key: 0,
|
|
920
932
|
class: "mwnf-standalone-partner__map"
|
|
921
|
-
},
|
|
933
|
+
}, fn = { class: "mwnf-standalone-partner__map-heading" }, pn = {
|
|
922
934
|
__name: "PartnerPage",
|
|
923
935
|
props: {
|
|
924
936
|
id: {
|
|
@@ -1010,12 +1022,12 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
1010
1022
|
url: e.url,
|
|
1011
1023
|
alt: e.alt
|
|
1012
1024
|
})), P = (e) => [...e.contact.website ? [e.contact.website] : [], ...l.links ? e.contact.links : []], F = (e) => !!(e.contact.address || e.contact.phone || e.contact.fax || e.contact.email || e.contact.website), I = t(() => String(p.value || "en"));
|
|
1013
|
-
return (t, d) => (_(), n(
|
|
1025
|
+
return (t, d) => (_(), n(de, {
|
|
1014
1026
|
spec: h,
|
|
1015
1027
|
id: o.id,
|
|
1016
1028
|
class: "mwnf-standalone-partner"
|
|
1017
1029
|
}, {
|
|
1018
|
-
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, {
|
|
1019
1031
|
languages: t.filter((t) => l.languages(e, t.code)),
|
|
1020
1032
|
language: n,
|
|
1021
1033
|
from: 1,
|
|
@@ -1024,14 +1036,14 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
1024
1036
|
"languages",
|
|
1025
1037
|
"language",
|
|
1026
1038
|
"onSelect"
|
|
1027
|
-
])])) : (_(), i("div",
|
|
1039
|
+
])])) : (_(), i("div", zt))]),
|
|
1028
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 }, [
|
|
1029
|
-
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", {
|
|
1030
1042
|
key: 0,
|
|
1031
1043
|
type: "button",
|
|
1032
1044
|
class: "mwnf-standalone-item__back-link",
|
|
1033
1045
|
onClick: T
|
|
1034
|
-
}, S(t.label), 1)) : (_(), n(
|
|
1046
|
+
}, S(t.label), 1)) : (_(), n(G, {
|
|
1035
1047
|
key: 1,
|
|
1036
1048
|
class: "mwnf-standalone-item__back-link",
|
|
1037
1049
|
to: t.to,
|
|
@@ -1040,12 +1052,12 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
1040
1052
|
default: j(() => [s(S(t.label), 1)]),
|
|
1041
1053
|
_: 2
|
|
1042
1054
|
}, 1032, ["to", "href"]))], 64))), 128))])) : r("", !0),
|
|
1043
|
-
a("div",
|
|
1055
|
+
a("div", Vt, [a("h3", {
|
|
1044
1056
|
class: "mwnf-standalone-partner__name",
|
|
1045
1057
|
dir: p || void 0,
|
|
1046
1058
|
innerHTML: l.name
|
|
1047
|
-
}, null, 8,
|
|
1048
|
-
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", {
|
|
1049
1061
|
role: "tablist",
|
|
1050
1062
|
class: "mwnf-standalone-partner__tabs",
|
|
1051
1063
|
"aria-label": l.plainName,
|
|
@@ -1062,12 +1074,12 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
1062
1074
|
"aria-controls": `${C(m)}-panel-${e}`,
|
|
1063
1075
|
tabindex: D.value === e ? 0 : -1,
|
|
1064
1076
|
onClick: (t) => D.value = e
|
|
1065
|
-
}, "\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", {
|
|
1066
1078
|
class: "mwnf-standalone-partner__homepage",
|
|
1067
1079
|
href: l.contact.website.url,
|
|
1068
1080
|
target: "_blank",
|
|
1069
1081
|
rel: "noopener"
|
|
1070
|
-
}, "\xA0" + S(v("homepage")), 9,
|
|
1082
|
+
}, "\xA0" + S(v("homepage")), 9, Xt)])) : r("", !0)], 40, Kt)]), a("div", Zt, [o.items(t) ? (_(), n(G, {
|
|
1071
1083
|
key: 0,
|
|
1072
1084
|
class: "mwnf-standalone-partner__items",
|
|
1073
1085
|
to: o.items(t).to
|
|
@@ -1075,10 +1087,10 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
1075
1087
|
default: j(() => [s(S(C(u)(o.items(t).label)), 1)]),
|
|
1076
1088
|
_: 2
|
|
1077
1089
|
}, 1032, ["to"])) : r("", !0)])]),
|
|
1078
|
-
a("div",
|
|
1090
|
+
a("div", Qt, [a("div", $t, [l.pictures.length ? (_(), n(ce, {
|
|
1079
1091
|
key: 0,
|
|
1080
1092
|
images: N(l)
|
|
1081
|
-
}, null, 8, ["images"])) : r("", !0)]), a("div",
|
|
1093
|
+
}, null, 8, ["images"])) : r("", !0)]), a("div", en, [
|
|
1082
1094
|
M(a("div", {
|
|
1083
1095
|
id: `${C(m)}-panel-about`,
|
|
1084
1096
|
class: "mwnf-standalone-partner__panel mwnf-standalone-partner__about",
|
|
@@ -1086,7 +1098,7 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
1086
1098
|
"aria-labelledby": `${C(m)}-tab-about`,
|
|
1087
1099
|
dir: p || void 0,
|
|
1088
1100
|
innerHTML: l.description
|
|
1089
|
-
}, null, 8,
|
|
1101
|
+
}, null, 8, tn), [[k, D.value === "about"]]),
|
|
1090
1102
|
l.hasContact ? M((_(), i("div", {
|
|
1091
1103
|
key: 0,
|
|
1092
1104
|
id: `${C(m)}-panel-contact`,
|
|
@@ -1099,21 +1111,21 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
1099
1111
|
l.contact.address ? (_(), i(e, { key: 0 }, [a("span", {
|
|
1100
1112
|
class: "mwnf-standalone-partner__address",
|
|
1101
1113
|
innerHTML: l.contact.address
|
|
1102
|
-
}, null, 8,
|
|
1114
|
+
}, null, 8, rn), d[0] ||= a("br", null, null, -1)], 64)) : r("", !0),
|
|
1103
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),
|
|
1104
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),
|
|
1105
|
-
l.contact.email ? (_(), i(e, { key: 3 }, [a("a", { href: `mailto:${l.contact.email}` }, S(l.contact.email), 9,
|
|
1106
|
-
]), 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", {
|
|
1107
1119
|
href: t.url,
|
|
1108
1120
|
target: "_blank",
|
|
1109
1121
|
rel: "noopener"
|
|
1110
|
-
}, 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 }, [
|
|
1111
1123
|
t.title ? (_(), i(e, { key: 0 }, [a("strong", null, S(t.title), 1), d[5] ||= a("br", null, null, -1)], 64)) : r("", !0),
|
|
1112
1124
|
t.name ? (_(), i(e, { key: 1 }, [s(S(t.name), 1), d[6] ||= a("br", null, null, -1)], 64)) : r("", !0),
|
|
1113
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),
|
|
1114
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),
|
|
1115
|
-
t.email ? (_(), i(e, { key: 4 }, [a("a", { href: `mailto:${t.email}` }, S(t.email), 9,
|
|
1116
|
-
]))), 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),
|
|
1117
1129
|
l.logos.length ? M((_(), i("div", {
|
|
1118
1130
|
key: 1,
|
|
1119
1131
|
id: `${C(m)}-panel-logo`,
|
|
@@ -1124,10 +1136,10 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
1124
1136
|
key: e.url,
|
|
1125
1137
|
src: e.url,
|
|
1126
1138
|
alt: ""
|
|
1127
|
-
}, null, 8,
|
|
1139
|
+
}, null, 8, un))), 128))], 8, ln)), [[k, D.value === "logo"]]) : r("", !0)
|
|
1128
1140
|
])])
|
|
1129
1141
|
], 64))), 128))]),
|
|
1130
|
-
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, {
|
|
1131
1143
|
provider: "google",
|
|
1132
1144
|
latitude: l.view(e, t).map.latitude,
|
|
1133
1145
|
longitude: l.view(e, t).map.longitude,
|
|
@@ -1144,13 +1156,13 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
1144
1156
|
_: 1
|
|
1145
1157
|
}, 8, ["id"]));
|
|
1146
1158
|
}
|
|
1147
|
-
},
|
|
1159
|
+
}, mn = ["innerHTML"], hn = {
|
|
1148
1160
|
key: 0,
|
|
1149
1161
|
class: "mwnf-standalone-page__link"
|
|
1150
|
-
},
|
|
1162
|
+
}, gn = {
|
|
1151
1163
|
key: 1,
|
|
1152
1164
|
class: "mwnf-standalone-page__print"
|
|
1153
|
-
},
|
|
1165
|
+
}, _n = {
|
|
1154
1166
|
__name: "TextPage",
|
|
1155
1167
|
props: {
|
|
1156
1168
|
body: {
|
|
@@ -1175,7 +1187,7 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
1175
1187
|
}
|
|
1176
1188
|
},
|
|
1177
1189
|
setup(e) {
|
|
1178
|
-
let n = e, { t: o } = U(), s = t(() =>
|
|
1190
|
+
let n = e, { t: o } = U(), s = t(() => ne(o(n.body)));
|
|
1179
1191
|
function l() {
|
|
1180
1192
|
window.print();
|
|
1181
1193
|
}
|
|
@@ -1186,25 +1198,25 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
1186
1198
|
a("div", {
|
|
1187
1199
|
class: "mwnf-standalone-page__body",
|
|
1188
1200
|
innerHTML: s.value
|
|
1189
|
-
}, null, 8,
|
|
1190
|
-
e.link ? (_(), i("p",
|
|
1201
|
+
}, null, 8, mn),
|
|
1202
|
+
e.link ? (_(), i("p", hn, [c(G, {
|
|
1191
1203
|
to: e.link.to,
|
|
1192
1204
|
href: e.link.href
|
|
1193
1205
|
}, {
|
|
1194
1206
|
default: j(() => [a("strong", null, S(e.link.text ?? C(o)(e.link.label)), 1)]),
|
|
1195
1207
|
_: 1
|
|
1196
1208
|
}, 8, ["to", "href"])])) : r("", !0),
|
|
1197
|
-
e.print ? (_(), i("p",
|
|
1209
|
+
e.print ? (_(), i("p", gn, [a("button", {
|
|
1198
1210
|
type: "button",
|
|
1199
1211
|
class: "mwnf-standalone-page__print-button",
|
|
1200
1212
|
onClick: l
|
|
1201
1213
|
}, S(C(o)(e.print)), 1)])) : r("", !0)
|
|
1202
1214
|
], 2));
|
|
1203
1215
|
}
|
|
1204
|
-
},
|
|
1216
|
+
}, vn = {
|
|
1205
1217
|
key: 0,
|
|
1206
1218
|
class: "mwnf-standalone-subnav"
|
|
1207
|
-
},
|
|
1219
|
+
}, yn = { class: "mwnf-standalone-subnav__tabs" }, bn = {
|
|
1208
1220
|
__name: "SubNav",
|
|
1209
1221
|
props: {
|
|
1210
1222
|
tabs: {
|
|
@@ -1221,7 +1233,7 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
1221
1233
|
...e,
|
|
1222
1234
|
label: u(e.label)
|
|
1223
1235
|
})));
|
|
1224
|
-
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, {
|
|
1225
1237
|
to: e.to,
|
|
1226
1238
|
href: e.href,
|
|
1227
1239
|
class: f(["mwnf-standalone-subnav__tab", { "mwnf-standalone-subnav__tab--active": e.active }]),
|
|
@@ -1234,7 +1246,7 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
1234
1246
|
"href",
|
|
1235
1247
|
"class",
|
|
1236
1248
|
"aria-current"
|
|
1237
|
-
])]))), 128))]), o.aside ? (_(), n(
|
|
1249
|
+
])]))), 128))]), o.aside ? (_(), n(G, {
|
|
1238
1250
|
key: 0,
|
|
1239
1251
|
to: o.aside.to,
|
|
1240
1252
|
href: o.aside.href,
|
|
@@ -1244,13 +1256,13 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
1244
1256
|
_: 1
|
|
1245
1257
|
}, 8, ["to", "href"])) : r("", !0)])) : r("", !0);
|
|
1246
1258
|
}
|
|
1247
|
-
},
|
|
1259
|
+
}, xn = { class: "mwnf-standalone-results" }, Sn = {
|
|
1248
1260
|
key: 0,
|
|
1249
1261
|
class: "mwnf-standalone-results__empty"
|
|
1250
|
-
},
|
|
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 = {
|
|
1251
1263
|
key: 0,
|
|
1252
1264
|
class: "mwnf-standalone-results__holder"
|
|
1253
|
-
},
|
|
1265
|
+
}, jn = ["innerHTML"], Mn = ["innerHTML"], Nn = {
|
|
1254
1266
|
__name: "ResultsGrid",
|
|
1255
1267
|
props: {
|
|
1256
1268
|
rows: {
|
|
@@ -1271,10 +1283,10 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
1271
1283
|
}
|
|
1272
1284
|
},
|
|
1273
1285
|
setup(t) {
|
|
1274
|
-
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", {
|
|
1275
1287
|
key: n.id,
|
|
1276
1288
|
class: "mwnf-standalone-results__cell"
|
|
1277
|
-
}, [a("div",
|
|
1289
|
+
}, [a("div", Cn, [c(G, {
|
|
1278
1290
|
class: "mwnf-standalone-results__frame",
|
|
1279
1291
|
to: n.to,
|
|
1280
1292
|
href: n.href
|
|
@@ -1282,10 +1294,10 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
1282
1294
|
default: j(() => [a("img", {
|
|
1283
1295
|
src: n.image || t.noImage,
|
|
1284
1296
|
alt: ""
|
|
1285
|
-
}, null, 8,
|
|
1297
|
+
}, null, 8, wn)]),
|
|
1286
1298
|
_: 2
|
|
1287
|
-
}, 1032, ["to", "href"]), a("div",
|
|
1288
|
-
c(
|
|
1299
|
+
}, 1032, ["to", "href"]), a("div", Tn, [
|
|
1300
|
+
c(G, {
|
|
1289
1301
|
class: "mwnf-standalone-results__panel-frame",
|
|
1290
1302
|
to: n.to,
|
|
1291
1303
|
href: n.href
|
|
@@ -1293,26 +1305,26 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
1293
1305
|
default: j(() => [a("img", {
|
|
1294
1306
|
src: n.image || t.noImage,
|
|
1295
1307
|
alt: ""
|
|
1296
|
-
}, null, 8,
|
|
1308
|
+
}, null, 8, En)]),
|
|
1297
1309
|
_: 2
|
|
1298
1310
|
}, 1032, ["to", "href"]),
|
|
1299
|
-
a("p",
|
|
1311
|
+
a("p", Dn, [a("strong", null, [c(G, {
|
|
1300
1312
|
to: n.to,
|
|
1301
1313
|
href: n.href
|
|
1302
1314
|
}, {
|
|
1303
|
-
default: j(() => [a("span", { innerHTML: n.name }, null, 8,
|
|
1315
|
+
default: j(() => [a("span", { innerHTML: n.name }, null, 8, On)]),
|
|
1304
1316
|
_: 2
|
|
1305
1317
|
}, 1032, ["to", "href"])])]),
|
|
1306
1318
|
(_(!0), i(e, null, b(n.lines ?? [], (e, t) => (_(), i("p", {
|
|
1307
1319
|
key: t,
|
|
1308
1320
|
innerHTML: e
|
|
1309
|
-
}, null, 8,
|
|
1310
|
-
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),
|
|
1311
1323
|
n.location ? (_(), i("p", {
|
|
1312
1324
|
key: 1,
|
|
1313
1325
|
innerHTML: n.location
|
|
1314
|
-
}, null, 8,
|
|
1315
|
-
a("p", null, [c(
|
|
1326
|
+
}, null, 8, Mn)) : r("", !0),
|
|
1327
|
+
a("p", null, [c(G, {
|
|
1316
1328
|
class: "mwnf-standalone-results__see",
|
|
1317
1329
|
to: n.to,
|
|
1318
1330
|
href: n.href
|
|
@@ -1322,13 +1334,13 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
1322
1334
|
}, 8, ["to", "href"])])
|
|
1323
1335
|
])])]))), 128))]));
|
|
1324
1336
|
}
|
|
1325
|
-
},
|
|
1337
|
+
}, Pn = { class: "mwnf-standalone-list" }, Fn = { class: "mwnf-standalone-list__aside" }, In = {
|
|
1326
1338
|
key: 0,
|
|
1327
1339
|
class: "mwnf-standalone-list__preview"
|
|
1328
|
-
},
|
|
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 = {
|
|
1329
1341
|
key: 0,
|
|
1330
1342
|
class: "mwnf-standalone-list__empty"
|
|
1331
|
-
},
|
|
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 = {
|
|
1332
1344
|
__name: "ResultsList",
|
|
1333
1345
|
props: {
|
|
1334
1346
|
rows: {
|
|
@@ -1346,26 +1358,26 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
1346
1358
|
},
|
|
1347
1359
|
setup(n) {
|
|
1348
1360
|
let o = n, l = y(null), u = t(() => l.value ?? o.rows[0] ?? null);
|
|
1349
|
-
return (t, o) => (_(), i("div",
|
|
1350
|
-
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", {
|
|
1351
1363
|
key: 0,
|
|
1352
1364
|
src: u.value.image || n.noImage,
|
|
1353
1365
|
alt: ""
|
|
1354
|
-
}, null, 8,
|
|
1355
|
-
a("p",
|
|
1366
|
+
}, null, 8, Rn)) : r("", !0)]),
|
|
1367
|
+
a("p", zn, [a("strong", { innerHTML: u.value.name }, null, 8, Bn)]),
|
|
1356
1368
|
(_(!0), i(e, null, b(u.value.preview?.lines ?? [], (e, t) => (_(), i("p", {
|
|
1357
1369
|
key: t,
|
|
1358
1370
|
innerHTML: e
|
|
1359
|
-
}, null, 8,
|
|
1360
|
-
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),
|
|
1361
1373
|
u.value.preview?.location ? (_(), i("p", {
|
|
1362
1374
|
key: 1,
|
|
1363
1375
|
innerHTML: u.value.preview.location
|
|
1364
|
-
}, null, 8,
|
|
1365
|
-
])) : 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", {
|
|
1366
1378
|
key: e.id,
|
|
1367
1379
|
class: "mwnf-standalone-list__cell"
|
|
1368
|
-
}, [a("div",
|
|
1380
|
+
}, [a("div", qn, [c(G, {
|
|
1369
1381
|
to: e.to,
|
|
1370
1382
|
href: e.href,
|
|
1371
1383
|
onMouseenter: (t) => l.value = e,
|
|
@@ -1375,13 +1387,13 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
1375
1387
|
key: 0,
|
|
1376
1388
|
src: e.image || n.noImage,
|
|
1377
1389
|
alt: ""
|
|
1378
|
-
}, null, 8,
|
|
1390
|
+
}, null, 8, Jn)) : r("", !0)]),
|
|
1379
1391
|
_: 2
|
|
1380
1392
|
}, 1032, [
|
|
1381
1393
|
"to",
|
|
1382
1394
|
"href",
|
|
1383
1395
|
"onMouseenter"
|
|
1384
|
-
])]), a("div",
|
|
1396
|
+
])]), a("div", Yn, [a("p", null, [c(G, {
|
|
1385
1397
|
to: e.to,
|
|
1386
1398
|
href: e.href,
|
|
1387
1399
|
onMouseenter: (t) => l.value = e,
|
|
@@ -1391,27 +1403,27 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
1391
1403
|
a("span", {
|
|
1392
1404
|
class: "mwnf-standalone-list__name",
|
|
1393
1405
|
innerHTML: `${e.name},`
|
|
1394
|
-
}, null, 8,
|
|
1406
|
+
}, null, 8, Xn),
|
|
1395
1407
|
o[2] ||= s(),
|
|
1396
|
-
a("span", { innerHTML: e.place }, null, 8,
|
|
1408
|
+
a("span", { innerHTML: e.place }, null, 8, Zn)
|
|
1397
1409
|
]),
|
|
1398
1410
|
_: 2
|
|
1399
1411
|
}, 1032, [
|
|
1400
1412
|
"to",
|
|
1401
1413
|
"href",
|
|
1402
1414
|
"onMouseenter"
|
|
1403
|
-
])]), e.dates ? (_(), i("div",
|
|
1415
|
+
])]), e.dates ? (_(), i("div", Qn, [a("i", { innerHTML: e.dates }, null, 8, $n)])) : r("", !0)])]))), 128))])]));
|
|
1404
1416
|
}
|
|
1405
|
-
},
|
|
1417
|
+
}, tr = { class: "mwnf-standalone-refine__row" }, nr = {
|
|
1406
1418
|
class: "mwnf-standalone-refine__label",
|
|
1407
1419
|
for: "mwnf-standalone-refine-keyword"
|
|
1408
|
-
},
|
|
1420
|
+
}, rr = {
|
|
1409
1421
|
class: "mwnf-standalone-refine__label",
|
|
1410
1422
|
for: "mwnf-standalone-refine-field"
|
|
1411
|
-
},
|
|
1423
|
+
}, ir = ["value"], ar = {
|
|
1412
1424
|
type: "submit",
|
|
1413
1425
|
class: "mwnf-standalone-refine__button"
|
|
1414
|
-
},
|
|
1426
|
+
}, or = {
|
|
1415
1427
|
__name: "Refine",
|
|
1416
1428
|
props: {
|
|
1417
1429
|
label: {
|
|
@@ -1452,24 +1464,24 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
1452
1464
|
return (n, r) => (_(), i("form", {
|
|
1453
1465
|
class: "mwnf-standalone-refine",
|
|
1454
1466
|
onSubmit: N(d, ["prevent"])
|
|
1455
|
-
}, [a("div",
|
|
1456
|
-
a("label",
|
|
1467
|
+
}, [a("div", tr, [
|
|
1468
|
+
a("label", nr, S(t.label), 1),
|
|
1457
1469
|
M(a("input", {
|
|
1458
1470
|
id: "mwnf-standalone-refine-keyword",
|
|
1459
1471
|
"onUpdate:modelValue": r[0] ||= (e) => l.value = e,
|
|
1460
1472
|
type: "text",
|
|
1461
1473
|
size: "40"
|
|
1462
1474
|
}, null, 512), [[O, l.value]]),
|
|
1463
|
-
a("label",
|
|
1475
|
+
a("label", rr, S(t.inLabel), 1),
|
|
1464
1476
|
M(a("select", {
|
|
1465
1477
|
id: "mwnf-standalone-refine-field",
|
|
1466
1478
|
"onUpdate:modelValue": r[1] ||= (e) => u.value = e
|
|
1467
1479
|
}, [(_(!0), i(e, null, b(t.fields, (e) => (_(), i("option", {
|
|
1468
1480
|
key: e.value,
|
|
1469
1481
|
value: e.value
|
|
1470
|
-
}, S(e.label), 9,
|
|
1471
|
-
a("button",
|
|
1472
|
-
c(
|
|
1482
|
+
}, S(e.label), 9, ir))), 128))], 512), [[D, u.value]]),
|
|
1483
|
+
a("button", ar, S(t.searchLabel), 1),
|
|
1484
|
+
c(G, {
|
|
1473
1485
|
class: "mwnf-standalone-refine__button mwnf-standalone-refine__button--new",
|
|
1474
1486
|
to: t.newSearch
|
|
1475
1487
|
}, {
|
|
@@ -1478,10 +1490,10 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
1478
1490
|
}, 8, ["to"])
|
|
1479
1491
|
])], 32));
|
|
1480
1492
|
}
|
|
1481
|
-
},
|
|
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 = {
|
|
1482
1494
|
key: 0,
|
|
1483
1495
|
class: "mwnf-standalone-pl__none"
|
|
1484
|
-
},
|
|
1496
|
+
}, gr = {
|
|
1485
1497
|
__name: "PartnerList",
|
|
1486
1498
|
props: {
|
|
1487
1499
|
type: {
|
|
@@ -1519,12 +1531,12 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
1519
1531
|
d.value = t ? null : e, p.value = t ? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set([e]);
|
|
1520
1532
|
}
|
|
1521
1533
|
return (t, l) => (_(), i("div", { class: f(["mwnf-standalone-pl", u.value ? "mwnf-standalone-pl--museums" : "mwnf-standalone-pl--institutions"]) }, [
|
|
1522
|
-
a("p",
|
|
1534
|
+
a("p", sr, [(_(!0), i(e, null, b(o.back, (r) => (_(), i(e, { key: r.label }, [r.history ? (_(), i("button", {
|
|
1523
1535
|
key: 0,
|
|
1524
1536
|
type: "button",
|
|
1525
1537
|
class: "mwnf-standalone-item__back-link",
|
|
1526
1538
|
onClick: l[0] ||= (e) => t.$router.back()
|
|
1527
|
-
}, S(r.label), 1)) : (_(), n(
|
|
1539
|
+
}, S(r.label), 1)) : (_(), n(G, {
|
|
1528
1540
|
key: 1,
|
|
1529
1541
|
class: "mwnf-standalone-item__back-link",
|
|
1530
1542
|
to: r.to,
|
|
@@ -1533,33 +1545,33 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
1533
1545
|
default: j(() => [s(S(r.label), 1)]),
|
|
1534
1546
|
_: 2
|
|
1535
1547
|
}, 1032, ["to", "href"]))], 64))), 128)), x(t.$slots, "back")]),
|
|
1536
|
-
a("div",
|
|
1548
|
+
a("div", cr, [(_(!0), i(e, null, b(o.heads, (e) => (_(), i("h3", { key: e }, S(e), 1))), 128))]),
|
|
1537
1549
|
(_(!0), i(e, null, b(o.groups, (t, n) => (_(), i("div", {
|
|
1538
1550
|
key: t.label,
|
|
1539
1551
|
class: "mwnf-standalone-pl__group"
|
|
1540
|
-
}, [a("div",
|
|
1552
|
+
}, [a("div", lr, [u.value ? (_(), i("h3", ur, S(t.label), 1)) : r("", !0), a("h3", null, [a("a", {
|
|
1541
1553
|
href: "#",
|
|
1542
1554
|
class: f(["mwnf-standalone-pl__toggle", { "mwnf-standalone-pl__toggle--active": d.value === n }]),
|
|
1543
1555
|
onClick: N((e) => m(n), ["prevent"])
|
|
1544
|
-
}, 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, {
|
|
1545
1557
|
to: e.to,
|
|
1546
1558
|
href: e.href
|
|
1547
1559
|
}, {
|
|
1548
1560
|
default: j(() => [s(S(e.label), 1)]),
|
|
1549
1561
|
_: 2
|
|
1550
|
-
}, 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, {
|
|
1551
1563
|
to: e.to,
|
|
1552
1564
|
href: e.href
|
|
1553
1565
|
}, {
|
|
1554
1566
|
default: j(() => [s(S(e.label), 1)]),
|
|
1555
1567
|
_: 2
|
|
1556
|
-
}, 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))
|
|
1557
1569
|
], 2));
|
|
1558
1570
|
}
|
|
1559
|
-
},
|
|
1571
|
+
}, _r = { class: "mwnf-standalone-item__back mwnf-standalone-sp__back" }, vr = {
|
|
1560
1572
|
key: 0,
|
|
1561
1573
|
class: "mwnf-standalone-sp__heading"
|
|
1562
|
-
},
|
|
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 = {
|
|
1563
1575
|
__name: "SponsorList",
|
|
1564
1576
|
props: {
|
|
1565
1577
|
heading: {
|
|
@@ -1582,12 +1594,12 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
1582
1594
|
remarksHtml: e.remarks ? R(e.remarks) : ""
|
|
1583
1595
|
})));
|
|
1584
1596
|
return (t, c) => (_(), i("div", { class: f(["mwnf-standalone-sp", { "mwnf-standalone-sp--labels": l.value }]) }, [
|
|
1585
|
-
a("p",
|
|
1597
|
+
a("p", _r, [(_(!0), i(e, null, b(o.back, (r) => (_(), i(e, { key: r.label }, [r.history ? (_(), i("button", {
|
|
1586
1598
|
key: 0,
|
|
1587
1599
|
type: "button",
|
|
1588
1600
|
class: "mwnf-standalone-item__back-link",
|
|
1589
1601
|
onClick: c[0] ||= (e) => t.$router.back()
|
|
1590
|
-
}, S(r.label), 1)) : (_(), n(
|
|
1602
|
+
}, S(r.label), 1)) : (_(), n(G, {
|
|
1591
1603
|
key: 1,
|
|
1592
1604
|
class: "mwnf-standalone-item__back-link",
|
|
1593
1605
|
to: r.to,
|
|
@@ -1596,7 +1608,7 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
1596
1608
|
default: j(() => [s(S(r.label), 1)]),
|
|
1597
1609
|
_: 2
|
|
1598
1610
|
}, 1032, ["to", "href"]))], 64))), 128))]),
|
|
1599
|
-
o.heading ? (_(), i("h3",
|
|
1611
|
+
o.heading ? (_(), i("h3", vr, S(o.heading), 1)) : r("", !0),
|
|
1600
1612
|
(_(!0), i(e, null, b(u.value, (e, t) => (_(), i("div", {
|
|
1601
1613
|
key: t,
|
|
1602
1614
|
class: "mwnf-standalone-sp__row"
|
|
@@ -1605,41 +1617,41 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
1605
1617
|
key: 0,
|
|
1606
1618
|
class: "mwnf-standalone-sp__label",
|
|
1607
1619
|
innerHTML: e.labelHtml
|
|
1608
|
-
}, null, 8,
|
|
1609
|
-
a("div",
|
|
1610
|
-
e.region ? (_(), i("p",
|
|
1611
|
-
e.name ? (_(), i("p",
|
|
1612
|
-
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", {
|
|
1613
1625
|
href: `http://${e.web}`,
|
|
1614
1626
|
target: "_blank",
|
|
1615
1627
|
rel: "noopener"
|
|
1616
|
-
}, S(e.web), 9,
|
|
1628
|
+
}, S(e.web), 9, wr)])) : r("", !0),
|
|
1617
1629
|
e.remarksHtml ? (_(), i("div", {
|
|
1618
1630
|
key: 3,
|
|
1619
1631
|
class: "mwnf-standalone-sp__remarks",
|
|
1620
1632
|
innerHTML: e.remarksHtml
|
|
1621
|
-
}, null, 8,
|
|
1633
|
+
}, null, 8, Tr)) : r("", !0)
|
|
1622
1634
|
]),
|
|
1623
|
-
a("div",
|
|
1635
|
+
a("div", Er, [e.logo ? (_(), i("p", Dr, [a("img", {
|
|
1624
1636
|
src: e.logo,
|
|
1625
1637
|
alt: e.name
|
|
1626
|
-
}, null, 8,
|
|
1638
|
+
}, null, 8, Or)])) : r("", !0)])
|
|
1627
1639
|
]))), 128))
|
|
1628
1640
|
], 2));
|
|
1629
1641
|
}
|
|
1630
|
-
},
|
|
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 = {
|
|
1631
1643
|
key: 0,
|
|
1632
1644
|
class: "mwnf-standalone-pe__about"
|
|
1633
|
-
},
|
|
1645
|
+
}, Fr = ["aria-expanded", "onClick"], Ir = {
|
|
1634
1646
|
key: 1,
|
|
1635
1647
|
class: "mwnf-standalone-pe__popup",
|
|
1636
1648
|
role: "dialog"
|
|
1637
|
-
},
|
|
1649
|
+
}, Lr = ["aria-label"], Rr = {
|
|
1638
1650
|
viewBox: "0 0 24 24",
|
|
1639
1651
|
width: "21",
|
|
1640
1652
|
height: "21",
|
|
1641
1653
|
"aria-hidden": "true"
|
|
1642
|
-
},
|
|
1654
|
+
}, zr = ["id"], Br = ["mask"], Vr = ["innerHTML"], Hr = {
|
|
1643
1655
|
__name: "PartnersEntrance",
|
|
1644
1656
|
props: {
|
|
1645
1657
|
projects: {
|
|
@@ -1670,26 +1682,26 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
1670
1682
|
typeof document < "u" && (e >= 0 ? document.addEventListener("keydown", f) : document.removeEventListener("keydown", f));
|
|
1671
1683
|
}), h(() => {
|
|
1672
1684
|
typeof document < "u" && document.removeEventListener("keydown", f);
|
|
1673
|
-
}), (t, o) => (_(), i("div",
|
|
1685
|
+
}), (t, o) => (_(), i("div", Ar, [u.value >= 0 ? (_(), i("div", {
|
|
1674
1686
|
key: 0,
|
|
1675
1687
|
class: "mwnf-standalone-pe__shade",
|
|
1676
1688
|
onClick: d
|
|
1677
1689
|
})) : r("", !0), (_(!0), i(e, null, b(l.value, (t, l) => (_(), i("div", {
|
|
1678
1690
|
key: l,
|
|
1679
1691
|
class: "mwnf-standalone-pe__row"
|
|
1680
|
-
}, [a("div",
|
|
1692
|
+
}, [a("div", jr, [a("h3", Mr, S(t.name), 1)]), a("div", Nr, [
|
|
1681
1693
|
o[1] ||= a("p", { "aria-hidden": "true" }, "\xA0", -1),
|
|
1682
|
-
t.aboutHtml ? (_(), i("p",
|
|
1694
|
+
t.aboutHtml ? (_(), i("p", Pr, [a("button", {
|
|
1683
1695
|
type: "button",
|
|
1684
1696
|
"aria-expanded": u.value === l,
|
|
1685
1697
|
onClick: (e) => u.value = l
|
|
1686
|
-
}, S(n.aboutLabel), 9,
|
|
1687
|
-
u.value === l ? (_(), i("div",
|
|
1698
|
+
}, S(n.aboutLabel), 9, Fr)])) : r("", !0),
|
|
1699
|
+
u.value === l ? (_(), i("div", Ir, [a("button", {
|
|
1688
1700
|
type: "button",
|
|
1689
1701
|
class: "mwnf-standalone-pe__close",
|
|
1690
1702
|
"aria-label": n.closeLabel || void 0,
|
|
1691
1703
|
onClick: d
|
|
1692
|
-
}, [(_(), i("svg",
|
|
1704
|
+
}, [(_(), i("svg", Rr, [a("mask", { id: `mwnf-standalone-pe-x${l}` }, [...o[0] ||= [a("rect", {
|
|
1693
1705
|
width: "24",
|
|
1694
1706
|
height: "24",
|
|
1695
1707
|
fill: "#fff"
|
|
@@ -1698,17 +1710,17 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
1698
1710
|
stroke: "#000",
|
|
1699
1711
|
"stroke-width": "3",
|
|
1700
1712
|
"stroke-linecap": "round"
|
|
1701
|
-
}, null, -1)]], 8,
|
|
1713
|
+
}, null, -1)]], 8, zr), a("circle", {
|
|
1702
1714
|
cx: "12",
|
|
1703
1715
|
cy: "12",
|
|
1704
1716
|
r: "12",
|
|
1705
1717
|
fill: "currentColor",
|
|
1706
1718
|
mask: `url(#mwnf-standalone-pe-x${l})`
|
|
1707
|
-
}, null, 8,
|
|
1719
|
+
}, null, 8, Br)]))], 8, Lr), a("div", {
|
|
1708
1720
|
class: "mwnf-standalone-pe__text",
|
|
1709
1721
|
innerHTML: t.aboutHtml
|
|
1710
|
-
}, null, 8,
|
|
1711
|
-
(_(!0), i(e, null, b(t.links, (e) => (_(), i("p", { key: e.label }, [c(
|
|
1722
|
+
}, null, 8, Vr)])) : r("", !0),
|
|
1723
|
+
(_(!0), i(e, null, b(t.links, (e) => (_(), i("p", { key: e.label }, [c(G, {
|
|
1712
1724
|
to: e.to,
|
|
1713
1725
|
href: e.href
|
|
1714
1726
|
}, {
|
|
@@ -1717,16 +1729,16 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
1717
1729
|
}, 1032, ["to", "href"])]))), 128))
|
|
1718
1730
|
])]))), 128))]));
|
|
1719
1731
|
}
|
|
1720
|
-
},
|
|
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 = {
|
|
1721
1733
|
key: 0,
|
|
1722
1734
|
class: "mwnf-standalone-db__aside"
|
|
1723
|
-
},
|
|
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 = {
|
|
1724
1736
|
key: 1,
|
|
1725
1737
|
class: "mwnf-standalone-db__options"
|
|
1726
|
-
},
|
|
1738
|
+
}, fi = { class: "mwnf-standalone-db__go" }, pi = { type: "submit" }, mi = {
|
|
1727
1739
|
key: 2,
|
|
1728
1740
|
class: "mwnf-standalone-db__listing"
|
|
1729
|
-
},
|
|
1741
|
+
}, hi = ["href", "title"], gi = {
|
|
1730
1742
|
__name: "DatabaseForm",
|
|
1731
1743
|
props: /*@__PURE__*/ u({
|
|
1732
1744
|
labels: {
|
|
@@ -1799,59 +1811,59 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
1799
1811
|
class: f(["mwnf-standalone-db", { "mwnf-standalone-db--options": m.value }]),
|
|
1800
1812
|
onSubmit: N(C, ["prevent"])
|
|
1801
1813
|
}, [
|
|
1802
|
-
a("h3",
|
|
1803
|
-
a("p",
|
|
1804
|
-
a("p",
|
|
1805
|
-
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),
|
|
1806
1818
|
(_(!0), i(e, null, b(d, (t, o) => (_(), i(e, { key: o }, [
|
|
1807
1819
|
o ? M((_(), i("select", {
|
|
1808
1820
|
key: 0,
|
|
1809
1821
|
"onUpdate:modelValue": (e) => t.cond = e,
|
|
1810
1822
|
class: f(["mwnf-standalone-db__cond", `mwnf-standalone-db__row-${o + 1}`]),
|
|
1811
1823
|
"aria-label": `${n.labels.and} / ${n.labels.or}`
|
|
1812
|
-
}, [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),
|
|
1813
1825
|
M(a("input", {
|
|
1814
1826
|
"onUpdate:modelValue": (e) => t.keyword = e,
|
|
1815
1827
|
type: "text",
|
|
1816
1828
|
class: f(["mwnf-standalone-db__keyword", `mwnf-standalone-db__row-${o + 1}`]),
|
|
1817
1829
|
"aria-label": n.labels.keywords
|
|
1818
|
-
}, null, 10,
|
|
1830
|
+
}, null, 10, Xr), [[O, t.keyword]]),
|
|
1819
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", {
|
|
1820
1832
|
key: e.value,
|
|
1821
1833
|
value: e.value
|
|
1822
|
-
}, S(e.label), 9,
|
|
1834
|
+
}, S(e.label), 9, Qr))), 128))], 8, Zr), [[D, t.field]])], 2)
|
|
1823
1835
|
], 64))), 128)),
|
|
1824
|
-
a("span",
|
|
1825
|
-
a("p",
|
|
1836
|
+
a("span", $r, S(n.labels.date), 1),
|
|
1837
|
+
a("p", ei, [M(a("select", {
|
|
1826
1838
|
"onUpdate:modelValue": o[0] ||= (e) => p.from = e,
|
|
1827
1839
|
"aria-label": `${n.labels.date} ${n.labels.from}`
|
|
1828
|
-
}, [a("option",
|
|
1840
|
+
}, [a("option", ni, S(n.labels.from), 1), (_(!0), i(e, null, b(g.value, (e) => (_(), i("option", {
|
|
1829
1841
|
key: e.value,
|
|
1830
1842
|
value: e.value
|
|
1831
|
-
}, S(e.label), 9,
|
|
1843
|
+
}, S(e.label), 9, ri))), 128))], 8, ti), [[D, p.from]]), M(a("select", {
|
|
1832
1844
|
"onUpdate:modelValue": o[1] ||= (e) => p.to = e,
|
|
1833
1845
|
"aria-label": `${n.labels.date} ${n.labels.to}`
|
|
1834
|
-
}, [a("option",
|
|
1846
|
+
}, [a("option", ai, S(n.labels.to), 1), (_(!0), i(e, null, b(y.value, (e) => (_(), i("option", {
|
|
1835
1847
|
key: e.value,
|
|
1836
1848
|
value: e.value
|
|
1837
|
-
}, S(e.label), 9,
|
|
1838
|
-
a("span",
|
|
1839
|
-
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", {
|
|
1840
1852
|
"onUpdate:modelValue": o[2] ||= (e) => c.value = e,
|
|
1841
1853
|
"aria-label": n.labels.language
|
|
1842
1854
|
}, [o[3] ||= a("option", { value: "" }, null, -1), (_(!0), i(e, null, b(n.languages, (e) => (_(), i("option", {
|
|
1843
1855
|
key: e.code,
|
|
1844
1856
|
value: e.code
|
|
1845
|
-
}, S(e.name), 9,
|
|
1846
|
-
m.value ? (_(), i("p",
|
|
1847
|
-
a("p",
|
|
1848
|
-
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", {
|
|
1849
1861
|
href: n.listingHref,
|
|
1850
1862
|
title: n.labels.listingTooltip
|
|
1851
|
-
}, S(n.labels.listing), 9,
|
|
1863
|
+
}, S(n.labels.listing), 9, hi)])) : r("", !0)
|
|
1852
1864
|
], 34));
|
|
1853
1865
|
}
|
|
1854
|
-
},
|
|
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 = {
|
|
1855
1867
|
__name: "TimelineEntrance",
|
|
1856
1868
|
props: {
|
|
1857
1869
|
labels: {
|
|
@@ -1909,42 +1921,42 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
1909
1921
|
class: "mwnf-standalone-tle",
|
|
1910
1922
|
onSubmit: N(m, ["prevent"])
|
|
1911
1923
|
}, [
|
|
1912
|
-
a("p",
|
|
1924
|
+
a("p", _i, [M(a("select", {
|
|
1913
1925
|
"onUpdate:modelValue": r[0] ||= (e) => f.country = e,
|
|
1914
1926
|
"aria-label": u.value.selectCountry
|
|
1915
1927
|
}, [
|
|
1916
|
-
a("option",
|
|
1917
|
-
a("option",
|
|
1928
|
+
a("option", yi, S(u.value.selectCountry), 1),
|
|
1929
|
+
a("option", bi, S(u.value.allCountries), 1),
|
|
1918
1930
|
(_(!0), i(e, null, b(n.countries, (e) => (_(), i("option", {
|
|
1919
1931
|
key: e.value,
|
|
1920
1932
|
value: e.value
|
|
1921
|
-
}, S(e.label), 9,
|
|
1922
|
-
], 8,
|
|
1923
|
-
a("p",
|
|
1933
|
+
}, S(e.label), 9, xi))), 128))
|
|
1934
|
+
], 8, vi), [[D, f.country]])]),
|
|
1935
|
+
a("p", Si, [M(a("select", {
|
|
1924
1936
|
"onUpdate:modelValue": r[1] ||= (e) => f.start = e,
|
|
1925
1937
|
"aria-label": u.value.startDate
|
|
1926
|
-
}, [a("option",
|
|
1938
|
+
}, [a("option", wi, S(u.value.startDate), 1), (_(!0), i(e, null, b(n.starts, (e) => (_(), i("option", {
|
|
1927
1939
|
key: e.value,
|
|
1928
1940
|
value: e.value
|
|
1929
|
-
}, S(e.label), 9,
|
|
1930
|
-
a("p",
|
|
1941
|
+
}, S(e.label), 9, Ti))), 128))], 8, Ci), [[D, f.start]])]),
|
|
1942
|
+
a("p", Ei, [M(a("select", {
|
|
1931
1943
|
"onUpdate:modelValue": r[2] ||= (e) => f.end = e,
|
|
1932
1944
|
"aria-label": u.value.endDate
|
|
1933
|
-
}, [a("option",
|
|
1945
|
+
}, [a("option", Oi, S(u.value.endDate), 1), (_(!0), i(e, null, b(n.ends, (e) => (_(), i("option", {
|
|
1934
1946
|
key: e.value,
|
|
1935
1947
|
value: e.value
|
|
1936
|
-
}, S(e.label), 9,
|
|
1937
|
-
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)])
|
|
1938
1950
|
], 32));
|
|
1939
1951
|
}
|
|
1940
|
-
},
|
|
1952
|
+
}, Ni = {
|
|
1941
1953
|
key: 0,
|
|
1942
1954
|
class: "mwnf-standalone-pages"
|
|
1943
|
-
},
|
|
1955
|
+
}, Pi = { class: "mwnf-standalone-pages__previous" }, Fi = ["aria-current", "onClick"], Ii = { class: "mwnf-standalone-pages__next" }, Li = {
|
|
1944
1956
|
key: 1,
|
|
1945
1957
|
class: "mwnf-standalone-pages",
|
|
1946
1958
|
"aria-hidden": "true"
|
|
1947
|
-
},
|
|
1959
|
+
}, Ri = {
|
|
1948
1960
|
__name: "Pagination",
|
|
1949
1961
|
props: {
|
|
1950
1962
|
pageInfo: {
|
|
@@ -1974,8 +1986,8 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
1974
1986
|
function p(e) {
|
|
1975
1987
|
e >= 1 && e <= u.value && e !== l.value && c("navigate", e);
|
|
1976
1988
|
}
|
|
1977
|
-
return (t, r) => u.value > 1 ? (_(), i("nav",
|
|
1978
|
-
a("span",
|
|
1989
|
+
return (t, r) => u.value > 1 ? (_(), i("nav", Ni, [
|
|
1990
|
+
a("span", Pi, [l.value > 1 ? (_(), i("a", {
|
|
1979
1991
|
key: 0,
|
|
1980
1992
|
href: "#",
|
|
1981
1993
|
onClick: r[0] ||= N((e) => p(l.value - 1), ["prevent"])
|
|
@@ -1986,32 +1998,32 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
1986
1998
|
class: f(["mwnf-standalone-pages__number", { "mwnf-standalone-pages__number--active": e === l.value }]),
|
|
1987
1999
|
"aria-current": e === l.value ? "page" : void 0,
|
|
1988
2000
|
onClick: N((t) => p(e), ["prevent"])
|
|
1989
|
-
}, S(e), 11,
|
|
1990
|
-
a("span",
|
|
2001
|
+
}, S(e), 11, Fi))), 128)),
|
|
2002
|
+
a("span", Ii, [l.value < u.value ? (_(), i("a", {
|
|
1991
2003
|
key: 0,
|
|
1992
2004
|
href: "#",
|
|
1993
2005
|
onClick: r[1] ||= N((e) => p(l.value + 1), ["prevent"])
|
|
1994
2006
|
}, S(n.nextLabel), 1)) : (_(), i(e, { key: 1 }, [s(S(n.nextLabel), 1)], 64))])
|
|
1995
|
-
])) : (_(), i("div",
|
|
2007
|
+
])) : (_(), i("div", Li));
|
|
1996
2008
|
}
|
|
1997
|
-
},
|
|
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 = [
|
|
1998
2010
|
"id",
|
|
1999
2011
|
"value",
|
|
2000
2012
|
"disabled",
|
|
2001
2013
|
"onChange"
|
|
2002
|
-
],
|
|
2014
|
+
], Ki = ["value"], qi = { class: "mwnf-standalone-item__back mwnf-standalone-tlr__back" }, Ji = {
|
|
2003
2015
|
key: 0,
|
|
2004
2016
|
class: "mwnf-standalone-tlr__heads"
|
|
2005
|
-
},
|
|
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 = {
|
|
2006
2018
|
key: 0,
|
|
2007
2019
|
class: "mwnf-standalone-tlr__empty"
|
|
2008
|
-
},
|
|
2020
|
+
}, ta = { class: "mwnf-standalone-tlr__related" }, na = {
|
|
2009
2021
|
key: 0,
|
|
2010
2022
|
class: "mwnf-standalone-tlr__panel"
|
|
2011
|
-
},
|
|
2023
|
+
}, ra = { key: 0 }, ia = {
|
|
2012
2024
|
key: 1,
|
|
2013
2025
|
class: "mwnf-standalone-tlr__panel"
|
|
2014
|
-
},
|
|
2026
|
+
}, aa = { class: "mwnf-standalone-tlr__download" }, oa = {
|
|
2015
2027
|
__name: "TimelineResults",
|
|
2016
2028
|
props: {
|
|
2017
2029
|
heading: {
|
|
@@ -2075,7 +2087,7 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
2075
2087
|
}
|
|
2076
2088
|
function m(e) {
|
|
2077
2089
|
let t = e.currentTarget.closest(".mwnf-standalone-tlr");
|
|
2078
|
-
|
|
2090
|
+
mt(ht({
|
|
2079
2091
|
title: u.download?.title ?? "",
|
|
2080
2092
|
heading: u.download?.line ?? "",
|
|
2081
2093
|
heads: u.heads,
|
|
@@ -2084,8 +2096,8 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
2084
2096
|
dir: t ? getComputedStyle(t).direction : ""
|
|
2085
2097
|
}), u.download?.file ?? "timeline.doc");
|
|
2086
2098
|
}
|
|
2087
|
-
return (t, l) => (_(), i("div",
|
|
2088
|
-
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", {
|
|
2089
2101
|
id: `mwnf-tlr-${t.key}`,
|
|
2090
2102
|
value: t.value,
|
|
2091
2103
|
disabled: t.disabled || void 0,
|
|
@@ -2096,13 +2108,13 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
2096
2108
|
}, [(_(!0), i(e, null, b(t.options, (e) => (_(), i("option", {
|
|
2097
2109
|
key: e.value,
|
|
2098
2110
|
value: e.value
|
|
2099
|
-
}, S(e.label), 9,
|
|
2100
|
-
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", {
|
|
2101
2113
|
key: 0,
|
|
2102
2114
|
type: "button",
|
|
2103
2115
|
class: "mwnf-standalone-item__back-link",
|
|
2104
2116
|
onClick: l[0] ||= (e) => t.$router.back()
|
|
2105
|
-
}, S(r.label), 1)) : (_(), n(
|
|
2117
|
+
}, S(r.label), 1)) : (_(), n(G, {
|
|
2106
2118
|
key: 1,
|
|
2107
2119
|
class: "mwnf-standalone-item__back-link",
|
|
2108
2120
|
to: r.to,
|
|
@@ -2111,14 +2123,14 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
2111
2123
|
default: j(() => [s(S(r.label), 1)]),
|
|
2112
2124
|
_: 2
|
|
2113
2125
|
}, 1032, ["to", "href"]))], 64))), 128))]),
|
|
2114
|
-
f.value ? (_(), i("div",
|
|
2115
|
-
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, [
|
|
2116
2128
|
(_(!0), i(e, null, b(o.rows, (e) => (_(), i("div", {
|
|
2117
2129
|
key: e.id,
|
|
2118
2130
|
class: "mwnf-standalone-tlr__row"
|
|
2119
|
-
}, [a("div",
|
|
2120
|
-
f.value ? r("", !0) : (_(), i("p",
|
|
2121
|
-
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, {
|
|
2122
2134
|
key: 1,
|
|
2123
2135
|
"page-info": o.pageInfo,
|
|
2124
2136
|
"previous-label": o.previousLabel,
|
|
@@ -2129,9 +2141,9 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
2129
2141
|
"previous-label",
|
|
2130
2142
|
"next-label"
|
|
2131
2143
|
])) : r("", !0)
|
|
2132
|
-
]), a("aside",
|
|
2144
|
+
]), a("aside", ta, [o.related ? (_(), i("div", na, [
|
|
2133
2145
|
a("p", null, [a("strong", null, S(o.related.heading), 1)]),
|
|
2134
|
-
(_(!0), i(e, null, b(o.related.links ?? [], (e) => (_(), i("p", { key: e.label }, [c(
|
|
2146
|
+
(_(!0), i(e, null, b(o.related.links ?? [], (e) => (_(), i("p", { key: e.label }, [c(G, {
|
|
2135
2147
|
class: "mwnf-standalone-tlr__link",
|
|
2136
2148
|
to: e.to,
|
|
2137
2149
|
href: e.href,
|
|
@@ -2146,7 +2158,7 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
2146
2158
|
"title",
|
|
2147
2159
|
"target"
|
|
2148
2160
|
])]))), 128)),
|
|
2149
|
-
o.related.gallery ? (_(), i("p",
|
|
2161
|
+
o.related.gallery ? (_(), i("p", ra, [c(G, {
|
|
2150
2162
|
class: "mwnf-standalone-tlr__link",
|
|
2151
2163
|
to: o.related.gallery.to,
|
|
2152
2164
|
title: o.related.gallery.title
|
|
@@ -2154,8 +2166,8 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
2154
2166
|
default: j(() => [s(S(o.related.gallery.label), 1)]),
|
|
2155
2167
|
_: 1
|
|
2156
2168
|
}, 8, ["to", "title"])])) : r("", !0)
|
|
2157
|
-
])) : r("", !0), o.download ? (_(), i("div",
|
|
2158
|
-
a("p",
|
|
2169
|
+
])) : r("", !0), o.download ? (_(), i("div", ia, [
|
|
2170
|
+
a("p", aa, S(o.download.heading), 1),
|
|
2159
2171
|
a("p", null, [a("a", {
|
|
2160
2172
|
href: "#",
|
|
2161
2173
|
class: "mwnf-standalone-tlr__link",
|
|
@@ -2169,7 +2181,7 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
2169
2181
|
])) : r("", !0)])])
|
|
2170
2182
|
]));
|
|
2171
2183
|
}
|
|
2172
|
-
},
|
|
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" }, $ = {
|
|
2173
2185
|
__name: "Window",
|
|
2174
2186
|
props: {
|
|
2175
2187
|
heading: {
|
|
@@ -2192,24 +2204,24 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
2192
2204
|
return (n, r) => (_(), i("div", {
|
|
2193
2205
|
class: "mwnf-standalone-window",
|
|
2194
2206
|
dir: e.dir || void 0
|
|
2195
|
-
}, [a("div",
|
|
2196
|
-
a("header",
|
|
2207
|
+
}, [a("div", ca, [
|
|
2208
|
+
a("header", la, [a("h1", ua, S(e.heading), 1), a("button", {
|
|
2197
2209
|
type: "button",
|
|
2198
2210
|
class: "mwnf-standalone-window__close",
|
|
2199
2211
|
"aria-label": e.closeLabel || void 0,
|
|
2200
2212
|
onClick: t
|
|
2201
|
-
}, "×", 8,
|
|
2213
|
+
}, "×", 8, da)]),
|
|
2202
2214
|
x(n.$slots, "before"),
|
|
2203
|
-
a("article",
|
|
2204
|
-
])], 8,
|
|
2215
|
+
a("article", fa, [x(n.$slots, "default")])
|
|
2216
|
+
])], 8, sa));
|
|
2205
2217
|
}
|
|
2206
|
-
},
|
|
2218
|
+
}, pa = {
|
|
2207
2219
|
class: "mwnf-standalone-hcr__scale",
|
|
2208
2220
|
"aria-hidden": "true"
|
|
2209
|
-
},
|
|
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 = {
|
|
2210
2222
|
key: 0,
|
|
2211
2223
|
class: "mwnf-standalone-hcr__image"
|
|
2212
|
-
},
|
|
2224
|
+
}, wa = ["src", "alt"], Ta = { key: 1 }, Ea = ["innerHTML"], Da = { key: 2 }, Oa = { class: "mwnf-standalone-hcr__main" }, ka = ["innerHTML"], Aa = {
|
|
2213
2225
|
__name: "HistoricalCrossRef",
|
|
2214
2226
|
props: {
|
|
2215
2227
|
labels: {
|
|
@@ -2284,12 +2296,12 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
2284
2296
|
"close-label": p.value.close,
|
|
2285
2297
|
dir: o.dir
|
|
2286
2298
|
}, {
|
|
2287
|
-
before: j(() => [a("section",
|
|
2299
|
+
before: j(() => [a("section", pa, [a("div", ma, [(_(!0), i(e, null, b(m.value, (e) => (_(), i("span", {
|
|
2288
2300
|
key: e.value,
|
|
2289
2301
|
class: f({ "mwnf-standalone-hcr__year--active": e.active })
|
|
2290
2302
|
}, S(e.value), 3))), 128))]), c[2] ||= a("div", { class: "mwnf-standalone-hcr__lines" }, null, -1)])]),
|
|
2291
|
-
default: j(() => [a("div",
|
|
2292
|
-
a("p",
|
|
2303
|
+
default: j(() => [a("div", ha, [a("div", ga, [
|
|
2304
|
+
a("p", _a, S(p.value.country), 1),
|
|
2293
2305
|
a("select", {
|
|
2294
2306
|
value: o.country,
|
|
2295
2307
|
"aria-label": p.value.country,
|
|
@@ -2300,8 +2312,8 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
2300
2312
|
}, [(_(!0), i(e, null, b(o.countries, (e) => (_(), i("option", {
|
|
2301
2313
|
key: e.value,
|
|
2302
2314
|
value: e.value
|
|
2303
|
-
}, S(e.label), 9,
|
|
2304
|
-
a("p",
|
|
2315
|
+
}, S(e.label), 9, ya))), 128))], 40, va),
|
|
2316
|
+
a("p", ba, S(p.value.range), 1),
|
|
2305
2317
|
a("select", {
|
|
2306
2318
|
value: String(o.range),
|
|
2307
2319
|
"aria-label": p.value.range,
|
|
@@ -2312,22 +2324,22 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
2312
2324
|
}, [(_(!0), i(e, null, b(o.ranges, (e) => (_(), i("option", {
|
|
2313
2325
|
key: e.value,
|
|
2314
2326
|
value: String(e.value)
|
|
2315
|
-
}, S(e.label), 9,
|
|
2327
|
+
}, S(e.label), 9, Sa))), 128))], 40, xa),
|
|
2316
2328
|
o.item ? (_(), i(e, { key: 0 }, [
|
|
2317
|
-
o.item.image ? (_(), i("div",
|
|
2329
|
+
o.item.image ? (_(), i("div", Ca, [a("img", {
|
|
2318
2330
|
src: o.item.image,
|
|
2319
2331
|
alt: o.item.name
|
|
2320
|
-
}, null, 8,
|
|
2321
|
-
o.item.name ? (_(), i("p",
|
|
2322
|
-
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)
|
|
2323
2335
|
], 64)) : r("", !0)
|
|
2324
|
-
]), a("div",
|
|
2336
|
+
]), a("div", Oa, [a("h3", null, S(o.heading), 1), (_(!0), i(e, null, b(o.events, (e) => (_(), i("div", {
|
|
2325
2337
|
key: e.id,
|
|
2326
2338
|
class: "mwnf-standalone-hcr__event"
|
|
2327
2339
|
}, [a("p", null, [a("b", null, S(e.date), 1)]), a("div", {
|
|
2328
2340
|
class: "mwnf-standalone-hcr__text",
|
|
2329
2341
|
innerHTML: e.html
|
|
2330
|
-
}, null, 8,
|
|
2342
|
+
}, null, 8, ka)]))), 128))])])]),
|
|
2331
2343
|
_: 1
|
|
2332
2344
|
}, 8, [
|
|
2333
2345
|
"heading",
|
|
@@ -2335,10 +2347,10 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
2335
2347
|
"dir"
|
|
2336
2348
|
]));
|
|
2337
2349
|
}
|
|
2338
|
-
},
|
|
2350
|
+
}, ja = ["disabled", "aria-label"], Ma = { class: "mwnf-standalone-slider__track" }, Na = ["src", "alt"], Pa = {
|
|
2339
2351
|
key: 0,
|
|
2340
2352
|
class: "mwnf-standalone-slider__label"
|
|
2341
|
-
},
|
|
2353
|
+
}, Fa = ["disabled", "aria-label"], Ia = {
|
|
2342
2354
|
__name: "Slider",
|
|
2343
2355
|
props: {
|
|
2344
2356
|
slides: {
|
|
@@ -2359,7 +2371,7 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
2359
2371
|
}
|
|
2360
2372
|
},
|
|
2361
2373
|
setup(n) {
|
|
2362
|
-
let o = n, { t: s } = U(), l =
|
|
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) => ({
|
|
2363
2375
|
...e,
|
|
2364
2376
|
image: l(e.image) ?? "",
|
|
2365
2377
|
label: e.label ? s(e.label) : ""
|
|
@@ -2375,18 +2387,18 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
2375
2387
|
disabled: u.value === 0,
|
|
2376
2388
|
"aria-label": C(s)(n.previousLabel),
|
|
2377
2389
|
onClick: o[0] ||= (e) => u.value = Math.max(0, u.value - 1)
|
|
2378
|
-
}, "‹", 8,
|
|
2379
|
-
a("ul",
|
|
2390
|
+
}, "‹", 8, ja),
|
|
2391
|
+
a("ul", Ma, [(_(!0), i(e, null, b(f.value, (e) => (_(), i("li", {
|
|
2380
2392
|
key: e.image,
|
|
2381
2393
|
class: "mwnf-standalone-slider__slide"
|
|
2382
|
-
}, [c(
|
|
2394
|
+
}, [c(G, {
|
|
2383
2395
|
to: e.to,
|
|
2384
2396
|
href: e.href
|
|
2385
2397
|
}, {
|
|
2386
2398
|
default: j(() => [a("img", {
|
|
2387
2399
|
src: e.image,
|
|
2388
2400
|
alt: e.label
|
|
2389
|
-
}, null, 8,
|
|
2401
|
+
}, null, 8, Na), e.label ? (_(), i("span", Pa, S(e.label), 1)) : r("", !0)]),
|
|
2390
2402
|
_: 2
|
|
2391
2403
|
}, 1032, ["to", "href"])]))), 128))]),
|
|
2392
2404
|
a("button", {
|
|
@@ -2395,17 +2407,17 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
2395
2407
|
disabled: u.value >= d.value,
|
|
2396
2408
|
"aria-label": C(s)(n.nextLabel),
|
|
2397
2409
|
onClick: o[1] ||= (e) => u.value = Math.min(d.value, u.value + 1)
|
|
2398
|
-
}, "›", 8,
|
|
2410
|
+
}, "›", 8, Fa)
|
|
2399
2411
|
], 4)) : r("", !0);
|
|
2400
2412
|
}
|
|
2401
|
-
},
|
|
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 = {
|
|
2402
2414
|
key: 0,
|
|
2403
2415
|
class: "mwnf-standalone-glossary__suggestions",
|
|
2404
2416
|
role: "listbox"
|
|
2405
|
-
},
|
|
2417
|
+
}, Ua = ["aria-selected", "onMousedown"], Wa = {
|
|
2406
2418
|
class: "mwnf-standalone-glossary__result",
|
|
2407
2419
|
"aria-live": "polite"
|
|
2408
|
-
},
|
|
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 = {
|
|
2409
2421
|
__name: "GlossarySpelling",
|
|
2410
2422
|
props: {
|
|
2411
2423
|
language: {
|
|
@@ -2426,7 +2438,7 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
2426
2438
|
}
|
|
2427
2439
|
},
|
|
2428
2440
|
setup(o) {
|
|
2429
|
-
let s = o, c =
|
|
2441
|
+
let s = o, c = re(), l = ee(s.entity), u = t(() => c.availableLanguages(s.entity).slice().sort());
|
|
2430
2442
|
g(async () => {
|
|
2431
2443
|
await L([s.entity]), await Promise.all(u.value.map((e) => c.loadTranslations(s.entity, e)));
|
|
2432
2444
|
});
|
|
@@ -2466,7 +2478,7 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
2466
2478
|
"close-label": o.labels.close,
|
|
2467
2479
|
dir: o.dir
|
|
2468
2480
|
}, {
|
|
2469
|
-
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", {
|
|
2470
2482
|
"onUpdate:modelValue": s[0] ||= (e) => d.value = e,
|
|
2471
2483
|
type: "text",
|
|
2472
2484
|
class: "mwnf-standalone-glossary__input",
|
|
@@ -2476,19 +2488,19 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
2476
2488
|
"aria-label": o.labels.heading,
|
|
2477
2489
|
onInput: T,
|
|
2478
2490
|
onKeydown: E
|
|
2479
|
-
}, 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", {
|
|
2480
2492
|
key: e.spelling,
|
|
2481
2493
|
role: "option",
|
|
2482
2494
|
"aria-selected": t === m.value,
|
|
2483
2495
|
class: f(["mwnf-standalone-glossary__suggestion", { "mwnf-standalone-glossary__suggestion--active": t === m.value }]),
|
|
2484
2496
|
onMousedown: N((t) => w(e), ["prevent"])
|
|
2485
|
-
}, 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", {
|
|
2486
2498
|
class: "mwnf-standalone-glossary__definition",
|
|
2487
2499
|
innerHTML: x.value
|
|
2488
|
-
}, null, 8,
|
|
2489
|
-
a("h3",
|
|
2490
|
-
a("p",
|
|
2491
|
-
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))])
|
|
2492
2504
|
], 64)) : r("", !0)], 64)) : r("", !0)])])])]),
|
|
2493
2505
|
_: 1
|
|
2494
2506
|
}, 8, [
|
|
@@ -2498,4 +2510,4 @@ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-
|
|
|
2498
2510
|
]));
|
|
2499
2511
|
}
|
|
2500
2512
|
};
|
|
2501
|
-
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 };
|