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