@museumwnf/viewer-layout 3.53.0 → 3.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ItemDetailView-DWNJy_PQ.js → ItemDetailView-Bbn-uNaR.js} +2 -2
- package/dist/{OnDisplayIn-DPRwCoYO.js → OnDisplayIn-DZHRKjL0.js} +65 -64
- package/dist/RecordView-DEKHp1A3.js +348 -0
- package/dist/content.js +1 -1
- package/dist/dxa.js +3 -3
- package/dist/index.js +1 -1
- package/dist/standalone.js +577 -475
- package/dist/viewer-layout.css +1 -1
- package/dist/views.js +1 -1
- package/package.json +1 -1
- package/src/tokens.reference.css +27 -4
- package/dist/RecordView-kkpYLtL_.js +0 -344
package/dist/standalone.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { r as e } from "./chrome-DNsZQXrL.js";
|
|
2
2
|
import { c as t, d as n, n as r, t as i } from "./PartnerMap-BIKd-AGP.js";
|
|
3
|
-
import { n as a, t as o } from "./RecordView-
|
|
3
|
+
import { n as a, t as o } from "./RecordView-DEKHp1A3.js";
|
|
4
4
|
import { t as s } from "./SiteShell-CYQxXosD.js";
|
|
5
|
-
import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as m, createTextVNode as h, createVNode as g, guardReactiveProps as _, mergeModels as v, nextTick as y, normalizeClass as b, normalizeProps as x, normalizeStyle as S,
|
|
6
|
-
import { byId as
|
|
7
|
-
import { useRoute as
|
|
5
|
+
import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as m, createTextVNode as h, createVNode as g, guardReactiveProps as _, mergeModels as v, nextTick as y, normalizeClass as b, normalizeProps as x, normalizeStyle as S, onBeforeUnmount as C, onMounted as w, openBlock as T, reactive as E, ref as D, renderList as O, renderSlot as k, toDisplayString as A, unref as j, useId as M, useModel as N, useSlots as P, vModelSelect as F, vModelText as I, vShow as L, watch as R, withCtx as z, withDirectives as B, withModifiers as V } from "vue";
|
|
6
|
+
import { byId as ee, collate as H, entityRef as te, loadEntities as U, md as W, pictureCredits as ne, picturesInLanguage as re, removeEndingPoint as ie, renderBlock as ae, renderInline as G, renderPlain as K, useDataPackage as oe, useI18n as q, useSection as se, useSiteConfig as J } from "@museumwnf/viewer-core";
|
|
7
|
+
import { useRoute as ce } from "vue-router";
|
|
8
8
|
//#region src/standalone/Banner.vue
|
|
9
|
-
var
|
|
9
|
+
var le = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "mwnf-standalone-banner__title"
|
|
12
|
-
},
|
|
12
|
+
}, ue = {
|
|
13
13
|
__name: "Banner",
|
|
14
14
|
props: {
|
|
15
15
|
image: {
|
|
@@ -22,10 +22,10 @@ var ce = {
|
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
setup(e) {
|
|
25
|
-
return (t, n) => (
|
|
25
|
+
return (t, n) => (T(), f("div", {
|
|
26
26
|
class: "mwnf-standalone-banner",
|
|
27
27
|
style: S(e.image ? { backgroundImage: `url(${JSON.stringify(e.image)})` } : void 0)
|
|
28
|
-
}, [e.title ? (
|
|
28
|
+
}, [e.title ? (T(), f("h1", le, [p("span", null, A(e.title), 1)])) : d("", !0)], 4));
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
//#endregion
|
|
@@ -34,17 +34,17 @@ function Y() {
|
|
|
34
34
|
let t = J();
|
|
35
35
|
return (n) => e(t.chrome, n);
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function de(e, t) {
|
|
38
38
|
return !e || typeof e == "string" ? e ?? "" : e[t] ?? e.en ?? Object.values(e)[0] ?? "";
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function fe(e = /* @__PURE__ */ new Date()) {
|
|
41
41
|
let t = new Date(e.getFullYear(), 0, 1);
|
|
42
42
|
return Math.round((new Date(e.getFullYear(), e.getMonth(), e.getDate()) - t) / 864e5);
|
|
43
43
|
}
|
|
44
44
|
function X(e, t = /* @__PURE__ */ new Date()) {
|
|
45
|
-
return e?.length ? e[
|
|
45
|
+
return e?.length ? e[fe(t) % e.length] : null;
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function pe(e) {
|
|
48
48
|
let [t, ...n] = String(e ?? "").split("*")[0].trim().split(";");
|
|
49
49
|
return !t || n.length < 5 ? "" : [
|
|
50
50
|
"mwnf3",
|
|
@@ -54,22 +54,22 @@ function fe(e) {
|
|
|
54
54
|
}
|
|
55
55
|
//#endregion
|
|
56
56
|
//#region src/standalone/Sponsors.vue
|
|
57
|
-
var
|
|
57
|
+
var me = { class: "mwnf-standalone-sponsors" }, he = {
|
|
58
58
|
key: 0,
|
|
59
59
|
class: "mwnf-standalone-sponsors__text"
|
|
60
|
-
},
|
|
60
|
+
}, ge = ["innerHTML"], _e = { key: 1 }, ve = ["innerHTML"], ye = {
|
|
61
61
|
key: 1,
|
|
62
62
|
class: "mwnf-standalone-sponsors__title"
|
|
63
|
-
},
|
|
63
|
+
}, be = {
|
|
64
64
|
key: 2,
|
|
65
65
|
class: "mwnf-standalone-sponsors__logos"
|
|
66
|
-
},
|
|
66
|
+
}, xe = {
|
|
67
67
|
key: 0,
|
|
68
68
|
class: "mwnf-standalone-sponsors__note"
|
|
69
|
-
},
|
|
69
|
+
}, Se = ["src", "alt"], Ce = ["innerHTML"], we = ["href"], Te = ["src", "alt"], Ee = ["src", "alt"], De = {
|
|
70
70
|
key: 3,
|
|
71
71
|
class: "mwnf-standalone-sponsors__links"
|
|
72
|
-
},
|
|
72
|
+
}, Oe = {
|
|
73
73
|
__name: "Sponsors",
|
|
74
74
|
props: { columns: {
|
|
75
75
|
type: Array,
|
|
@@ -87,37 +87,37 @@ var pe = { class: "mwnf-standalone-sponsors" }, me = {
|
|
|
87
87
|
src: i(e.src) ?? "",
|
|
88
88
|
alt: e.alt ? r(e.alt) : "",
|
|
89
89
|
href: e.href ?? "",
|
|
90
|
-
note: e.note ?
|
|
90
|
+
note: e.note ? ae(r(e.note)) : ""
|
|
91
91
|
})),
|
|
92
92
|
links: (e.links ?? []).map((e) => ({
|
|
93
93
|
...e,
|
|
94
94
|
label: r(e.label)
|
|
95
95
|
}))
|
|
96
96
|
})));
|
|
97
|
-
return (e, t) => (
|
|
97
|
+
return (e, t) => (T(), f("div", me, [(T(!0), f(c, null, O(a.value, (e) => (T(), f("div", {
|
|
98
98
|
key: e.key,
|
|
99
99
|
class: "mwnf-standalone-sponsors__column",
|
|
100
100
|
style: S(e.width ? { flexGrow: e.width } : void 0)
|
|
101
101
|
}, [
|
|
102
|
-
e.lead || e.text ? (
|
|
103
|
-
e.lead ? (
|
|
102
|
+
e.lead || e.text ? (T(), f("p", he, [
|
|
103
|
+
e.lead ? (T(), f("i", {
|
|
104
104
|
key: 0,
|
|
105
105
|
innerHTML: e.lead
|
|
106
|
-
}, null, 8,
|
|
107
|
-
e.lead && e.break ? (
|
|
108
|
-
e.text ? (
|
|
106
|
+
}, null, 8, ge)) : d("", !0),
|
|
107
|
+
e.lead && e.break ? (T(), f("br", _e)) : e.lead && e.text ? (T(), f(c, { key: 2 }, [h(A(" "))], 64)) : d("", !0),
|
|
108
|
+
e.text ? (T(), f("span", {
|
|
109
109
|
key: 3,
|
|
110
110
|
innerHTML: e.text
|
|
111
|
-
}, null, 8,
|
|
111
|
+
}, null, 8, ve)) : d("", !0)
|
|
112
112
|
])) : d("", !0),
|
|
113
|
-
e.title ? (
|
|
114
|
-
e.logos.length ? (
|
|
113
|
+
e.title ? (T(), f("p", ye, A(e.title), 1)) : d("", !0),
|
|
114
|
+
e.logos.length ? (T(), f("ul", be, [(T(!0), f(c, null, O(e.logos, (e) => (T(), f("li", { key: e.src }, [e.note ? (T(), f("details", xe, [p("summary", null, [p("img", {
|
|
115
115
|
src: e.src,
|
|
116
116
|
alt: e.alt
|
|
117
|
-
}, null, 8,
|
|
117
|
+
}, null, 8, Se)]), p("div", {
|
|
118
118
|
class: "mwnf-standalone-sponsors__note-body",
|
|
119
119
|
innerHTML: e.note
|
|
120
|
-
}, null, 8,
|
|
120
|
+
}, null, 8, Ce)])) : e.href ? (T(), f("a", {
|
|
121
121
|
key: 1,
|
|
122
122
|
href: e.href,
|
|
123
123
|
target: "_blank",
|
|
@@ -125,17 +125,17 @@ var pe = { class: "mwnf-standalone-sponsors" }, me = {
|
|
|
125
125
|
}, [p("img", {
|
|
126
126
|
src: e.src,
|
|
127
127
|
alt: e.alt
|
|
128
|
-
}, null, 8,
|
|
128
|
+
}, null, 8, Te)], 8, we)) : (T(), f("img", {
|
|
129
129
|
key: 2,
|
|
130
130
|
src: e.src,
|
|
131
131
|
alt: e.alt
|
|
132
|
-
}, null, 8,
|
|
133
|
-
e.links.length ? (
|
|
132
|
+
}, null, 8, Ee))]))), 128))])) : d("", !0),
|
|
133
|
+
e.links.length ? (T(), f("ul", De, [(T(!0), f(c, null, O(e.links, (e) => (T(), f("li", { key: e.label }, [g(n, {
|
|
134
134
|
to: e.to,
|
|
135
135
|
href: e.href,
|
|
136
136
|
external: !!e.external
|
|
137
137
|
}, {
|
|
138
|
-
default:
|
|
138
|
+
default: z(() => [h(A(e.label), 1)]),
|
|
139
139
|
_: 2
|
|
140
140
|
}, 1032, [
|
|
141
141
|
"to",
|
|
@@ -144,16 +144,16 @@ var pe = { class: "mwnf-standalone-sponsors" }, me = {
|
|
|
144
144
|
])]))), 128))])) : d("", !0)
|
|
145
145
|
], 4))), 128))]));
|
|
146
146
|
}
|
|
147
|
-
},
|
|
147
|
+
}, ke = {
|
|
148
148
|
key: 0,
|
|
149
149
|
class: "mwnf-standalone mwnf-standalone--bare"
|
|
150
|
-
},
|
|
150
|
+
}, Ae = { class: "mwnf-banner mwnf-standalone-home-banner" }, je = ["src"], Me = { class: "mwnf-standalone-home-banner__text" }, Ne = {
|
|
151
151
|
key: 0,
|
|
152
152
|
class: "mwnf-standalone-home-banner__title"
|
|
153
|
-
},
|
|
153
|
+
}, Pe = {
|
|
154
154
|
key: 1,
|
|
155
155
|
class: "mwnf-standalone-home-banner__line"
|
|
156
|
-
},
|
|
156
|
+
}, Fe = ["src"], Ie = {
|
|
157
157
|
__name: "Shell",
|
|
158
158
|
props: {
|
|
159
159
|
language: {
|
|
@@ -167,18 +167,18 @@ var pe = { class: "mwnf-standalone-sponsors" }, me = {
|
|
|
167
167
|
},
|
|
168
168
|
emits: ["update:language"],
|
|
169
169
|
setup(t, { emit: n }) {
|
|
170
|
-
let r = t, i = n, { t: a, locale: o } = q(), c =
|
|
171
|
-
let e = y.value.logo ?? {}, t =
|
|
170
|
+
let r = t, i = n, { t: a, locale: o } = q(), c = ce(), h = l(() => !!c.meta?.bare), _ = J(), v = se(), y = l(() => _.standalone ?? {}), x = l(() => _.navigation ?? {}), S = l(() => v.value === "home"), C = l(() => y.value.areas?.[v.value] ?? null), w = (t) => e(_.chrome, de(t, o.value)), E = l(() => {
|
|
171
|
+
let e = y.value.logo ?? {}, t = w(C.value?.logo ?? e.src);
|
|
172
172
|
return t ? {
|
|
173
173
|
logo: t,
|
|
174
174
|
alt: e.alt ?? ""
|
|
175
175
|
} : null;
|
|
176
|
-
}), D = l(() =>
|
|
176
|
+
}), D = l(() => w(y.value.logo?.print)), O = l(() => (y.value.headerLinks ?? []).filter((e) => !e.on || e.on === "all" || e.on === (S.value ? "home" : "inner"))), M = l(() => {
|
|
177
177
|
let e = {
|
|
178
178
|
...y.value.banner ?? {},
|
|
179
179
|
...C.value?.banner ?? {}
|
|
180
180
|
};
|
|
181
|
-
return
|
|
181
|
+
return w(S.value ? e.home : e.inner) ?? "";
|
|
182
182
|
}), N = l(() => {
|
|
183
183
|
let e = c.meta?.bannerTitle ?? x.value.sectionTitles?.[v.value];
|
|
184
184
|
return e ? a(e) : "";
|
|
@@ -194,18 +194,18 @@ var pe = { class: "mwnf-standalone-sponsors" }, me = {
|
|
|
194
194
|
}), L = l(() => ({
|
|
195
195
|
navigation: {
|
|
196
196
|
...x.value,
|
|
197
|
-
headerLinks:
|
|
197
|
+
headerLinks: O.value,
|
|
198
198
|
sectionTitles: {},
|
|
199
199
|
...y.value.languages === !1 ? { languages: [] } : {}
|
|
200
200
|
},
|
|
201
201
|
banner: null,
|
|
202
202
|
...E.value ? { brand: E.value } : {}
|
|
203
|
-
})),
|
|
203
|
+
})), R = (/* @__PURE__ */ new Date()).getFullYear(), B = l(() => y.value.copyright ? `${a(y.value.copyright)} ${R}` : ""), V = l(() => [
|
|
204
204
|
"mwnf-standalone",
|
|
205
205
|
S.value ? "mwnf-standalone--home" : "mwnf-standalone--inner",
|
|
206
206
|
C.value?.class ?? ""
|
|
207
207
|
]);
|
|
208
|
-
return (e, t) => h.value ? (
|
|
208
|
+
return (e, t) => h.value ? (T(), f("div", ke, [k(e.$slots, "default")])) : (T(), u(s, {
|
|
209
209
|
key: 1,
|
|
210
210
|
class: b(V.value),
|
|
211
211
|
config: L.value,
|
|
@@ -214,54 +214,54 @@ var pe = { class: "mwnf-standalone-sponsors" }, me = {
|
|
|
214
214
|
"language-placement": "header",
|
|
215
215
|
"language-style": "select",
|
|
216
216
|
"header-home": y.value.logo?.href ?? "",
|
|
217
|
-
"header-title": S.value ? "" : y.value.heading ?
|
|
218
|
-
"header-subtitle": S.value ? "" : y.value.subheading ?
|
|
217
|
+
"header-title": S.value ? "" : y.value.heading ? j(a)(y.value.heading) : "",
|
|
218
|
+
"header-subtitle": S.value ? "" : y.value.subheading ? j(a)(y.value.subheading) : "",
|
|
219
219
|
"header-title-href": "#/",
|
|
220
220
|
"banner-image": S.value && !F.value ? M.value : "",
|
|
221
221
|
"footer-text": B.value || void 0,
|
|
222
222
|
"onUpdate:language": t[0] ||= (e) => i("update:language", e)
|
|
223
223
|
}, m({
|
|
224
|
-
default:
|
|
224
|
+
default: z(() => [k(e.$slots, "default")]),
|
|
225
225
|
_: 2
|
|
226
226
|
}, [
|
|
227
227
|
P.value ? {
|
|
228
228
|
name: "banner",
|
|
229
|
-
fn:
|
|
229
|
+
fn: z(() => [g(ue, {
|
|
230
230
|
image: M.value,
|
|
231
231
|
title: N.value
|
|
232
232
|
}, null, 8, ["image", "title"])]),
|
|
233
233
|
key: "0"
|
|
234
234
|
} : F.value ? {
|
|
235
235
|
name: "banner",
|
|
236
|
-
fn:
|
|
236
|
+
fn: z(() => [p("section", Ae, [M.value ? (T(), f("img", {
|
|
237
237
|
key: 0,
|
|
238
238
|
class: "mwnf-banner__image",
|
|
239
239
|
src: M.value,
|
|
240
240
|
alt: ""
|
|
241
|
-
}, null, 8,
|
|
241
|
+
}, null, 8, je)) : d("", !0), p("div", Me, [F.value.title ? (T(), f("h2", Ne, [p("i", null, A(F.value.title), 1)])) : d("", !0), F.value.text ? (T(), f("p", Pe, [p("span", null, A(F.value.text), 1)])) : d("", !0)])])]),
|
|
242
242
|
key: "1"
|
|
243
243
|
} : void 0,
|
|
244
244
|
D.value ? {
|
|
245
245
|
name: "notice",
|
|
246
|
-
fn:
|
|
246
|
+
fn: z(() => [p("img", {
|
|
247
247
|
class: "mwnf-standalone__print-logo",
|
|
248
248
|
src: D.value,
|
|
249
249
|
alt: ""
|
|
250
|
-
}, null, 8,
|
|
250
|
+
}, null, 8, Fe)]),
|
|
251
251
|
key: "2"
|
|
252
252
|
} : void 0,
|
|
253
253
|
e.$slots.sponsors ? {
|
|
254
254
|
name: "sponsors",
|
|
255
|
-
fn:
|
|
255
|
+
fn: z(() => [k(e.$slots, "sponsors")]),
|
|
256
256
|
key: "3"
|
|
257
257
|
} : I.value ? {
|
|
258
258
|
name: "sponsors",
|
|
259
|
-
fn:
|
|
259
|
+
fn: z(() => [g(Oe, { columns: I.value.columns }, null, 8, ["columns"])]),
|
|
260
260
|
key: "4"
|
|
261
261
|
} : void 0,
|
|
262
262
|
e.$slots.footer ? {
|
|
263
263
|
name: "footer",
|
|
264
|
-
fn:
|
|
264
|
+
fn: z(() => [k(e.$slots, "footer")]),
|
|
265
265
|
key: "5"
|
|
266
266
|
} : void 0
|
|
267
267
|
]), 1032, [
|
|
@@ -276,19 +276,19 @@ var pe = { class: "mwnf-standalone-sponsors" }, me = {
|
|
|
276
276
|
"footer-text"
|
|
277
277
|
]));
|
|
278
278
|
}
|
|
279
|
-
},
|
|
279
|
+
}, Le = {
|
|
280
280
|
key: 0,
|
|
281
281
|
class: "mwnf-standalone-highlight"
|
|
282
|
-
},
|
|
282
|
+
}, Re = ["src", "alt"], ze = {
|
|
283
283
|
key: 1,
|
|
284
284
|
class: "mwnf-standalone-highlight__heading"
|
|
285
|
-
},
|
|
285
|
+
}, Be = { class: "mwnf-standalone-highlight__lines" }, Ve = ["innerHTML"], He = {
|
|
286
286
|
key: 2,
|
|
287
287
|
class: "mwnf-standalone-highlight__place"
|
|
288
|
-
},
|
|
288
|
+
}, Ue = {
|
|
289
289
|
key: 3,
|
|
290
290
|
class: "mwnf-standalone-highlight__action"
|
|
291
|
-
},
|
|
291
|
+
}, We = {
|
|
292
292
|
__name: "TodayHighlight",
|
|
293
293
|
props: {
|
|
294
294
|
record: {
|
|
@@ -342,38 +342,38 @@ var pe = { class: "mwnf-standalone-sponsors" }, me = {
|
|
|
342
342
|
}
|
|
343
343
|
return n;
|
|
344
344
|
}), o = l(() => t.place ?? [i(t.text?.location), t.country].filter(Boolean).join(", ")), s = l(() => t.picture || (t.record?.images?.[0]?.url ?? "")), m = l(() => K(String(t.text?.name ?? t.record?.internal_name ?? "")));
|
|
345
|
-
return (t, i) => e.record ? (
|
|
346
|
-
s.value ? (
|
|
345
|
+
return (t, i) => e.record ? (T(), f("div", Le, [
|
|
346
|
+
s.value ? (T(), u(n, {
|
|
347
347
|
key: 0,
|
|
348
348
|
class: "mwnf-standalone-highlight__media",
|
|
349
349
|
to: e.to
|
|
350
350
|
}, {
|
|
351
|
-
default:
|
|
351
|
+
default: z(() => [p("img", {
|
|
352
352
|
class: "mwnf-standalone-highlight__image",
|
|
353
353
|
src: s.value,
|
|
354
354
|
alt: m.value
|
|
355
|
-
}, null, 8,
|
|
355
|
+
}, null, 8, Re)]),
|
|
356
356
|
_: 1
|
|
357
357
|
}, 8, ["to"])) : d("", !0),
|
|
358
|
-
e.heading ? (
|
|
359
|
-
p("p",
|
|
360
|
-
o.value ? (
|
|
361
|
-
e.action ? (
|
|
362
|
-
default:
|
|
358
|
+
e.heading ? (T(), f("p", ze, [p("strong", null, A(j(r)(e.heading)), 1)])) : d("", !0),
|
|
359
|
+
p("p", Be, [(T(!0), f(c, null, O(a.value, (e, t) => (T(), f(c, { key: t }, [p("span", { innerHTML: e }, null, 8, Ve), i[0] ||= p("br", null, null, -1)], 64))), 128))]),
|
|
360
|
+
o.value ? (T(), f("p", He, A(j(K)(o.value)), 1)) : d("", !0),
|
|
361
|
+
e.action ? (T(), f("p", Ue, [g(n, { to: e.to }, {
|
|
362
|
+
default: z(() => [h(A(j(r)(e.action)), 1)]),
|
|
363
363
|
_: 1
|
|
364
364
|
}, 8, ["to"])])) : d("", !0)
|
|
365
365
|
])) : d("", !0);
|
|
366
366
|
}
|
|
367
|
-
},
|
|
367
|
+
}, Ge = {
|
|
368
368
|
key: 0,
|
|
369
369
|
class: "mwnf-standalone-tiles"
|
|
370
|
-
},
|
|
370
|
+
}, Ke = {
|
|
371
371
|
key: 0,
|
|
372
372
|
class: "mwnf-standalone-tiles__caption"
|
|
373
|
-
},
|
|
373
|
+
}, qe = { class: "mwnf-standalone-tiles__caption-text" }, Je = { class: "mwnf-standalone-tiles__grid" }, Ye = ["src", "alt"], Xe = {
|
|
374
374
|
key: 0,
|
|
375
375
|
class: "mwnf-standalone-tiles__label"
|
|
376
|
-
},
|
|
376
|
+
}, Ze = {
|
|
377
377
|
__name: "TileGrid",
|
|
378
378
|
props: {
|
|
379
379
|
caption: {
|
|
@@ -391,7 +391,7 @@ var pe = { class: "mwnf-standalone-sponsors" }, me = {
|
|
|
391
391
|
image: i(e.image) ?? "",
|
|
392
392
|
label: e.text ? K(e.text) : e.label ? r(e.label) : ""
|
|
393
393
|
})));
|
|
394
|
-
return (t, i) => a.value.length ? (
|
|
394
|
+
return (t, i) => a.value.length ? (T(), f("section", Ge, [e.caption ? (T(), f("p", Ke, [p("span", qe, A(j(r)(e.caption)), 1)])) : d("", !0), p("ul", Je, [(T(!0), f(c, null, O(a.value, (e) => (T(), f("li", {
|
|
395
395
|
key: e.image,
|
|
396
396
|
class: "mwnf-standalone-tiles__tile"
|
|
397
397
|
}, [g(n, {
|
|
@@ -399,18 +399,18 @@ var pe = { class: "mwnf-standalone-sponsors" }, me = {
|
|
|
399
399
|
href: e.href,
|
|
400
400
|
class: "mwnf-standalone-tiles__link"
|
|
401
401
|
}, {
|
|
402
|
-
default:
|
|
402
|
+
default: z(() => [p("img", {
|
|
403
403
|
class: "mwnf-standalone-tiles__image",
|
|
404
404
|
src: e.image,
|
|
405
405
|
alt: e.label
|
|
406
|
-
}, null, 8,
|
|
406
|
+
}, null, 8, Ye), e.label ? (T(), f("span", Xe, A(e.label), 1)) : d("", !0)]),
|
|
407
407
|
_: 2
|
|
408
408
|
}, 1032, ["to", "href"])]))), 128))])])) : d("", !0);
|
|
409
409
|
}
|
|
410
|
-
},
|
|
410
|
+
}, Qe = { class: "mwnf-standalone-home" }, $e = {
|
|
411
411
|
key: 0,
|
|
412
412
|
class: "mwnf-standalone-home__links"
|
|
413
|
-
},
|
|
413
|
+
}, et = { key: 1 }, tt = {
|
|
414
414
|
__name: "Home",
|
|
415
415
|
props: { home: {
|
|
416
416
|
type: Object,
|
|
@@ -422,14 +422,14 @@ var pe = { class: "mwnf-standalone-sponsors" }, me = {
|
|
|
422
422
|
label: r(e.label),
|
|
423
423
|
prefix: e.prefix ? r(e.prefix) : "",
|
|
424
424
|
title: e.title ? r(e.title) : void 0
|
|
425
|
-
}))), p = l(() => o.value.highlight ?? null), m =
|
|
426
|
-
p.value?.list?.length && (
|
|
425
|
+
}))), p = l(() => o.value.highlight ?? null), m = oe();
|
|
426
|
+
p.value?.list?.length && (U(["items", "countries"]), R(i, (e) => {
|
|
427
427
|
m.loadTranslations("items", e), m.loadTranslations("countries", e);
|
|
428
428
|
}, { immediate: !0 }));
|
|
429
|
-
let _ =
|
|
429
|
+
let _ = ee("items", "backward_compatibility"), v = l(() => {
|
|
430
430
|
let e = p.value?.list ?? [], t = e.indexOf(X(e));
|
|
431
431
|
for (let n = 0; t >= 0 && n < e.length; n++) {
|
|
432
|
-
let r = _.value.get(
|
|
432
|
+
let r = _.value.get(pe(e[(t + n) % e.length]));
|
|
433
433
|
if (r) return r;
|
|
434
434
|
}
|
|
435
435
|
return null;
|
|
@@ -439,15 +439,15 @@ var pe = { class: "mwnf-standalone-sponsors" }, me = {
|
|
|
439
439
|
}), S = l(() => v.value && p.value?.place ? p.value.place(v.value, y.value, x.value) : null), C = l(() => v.value ? {
|
|
440
440
|
name: p.value.route ?? "item",
|
|
441
441
|
params: { id: v.value.id }
|
|
442
|
-
} : null),
|
|
442
|
+
} : null), w = Y(), E = l(() => {
|
|
443
443
|
let e = p.value?.pictures ?? [];
|
|
444
|
-
return e.length ?
|
|
445
|
-
}),
|
|
444
|
+
return e.length ? w(X(e)) ?? "" : "";
|
|
445
|
+
}), D = l(() => {
|
|
446
446
|
let e = o.value.tiles?.items;
|
|
447
447
|
return (typeof e == "function" ? e() : e) ?? [];
|
|
448
448
|
});
|
|
449
|
-
return (e, t) => (
|
|
450
|
-
s.value.length ? (
|
|
449
|
+
return (e, t) => (T(), f("div", Qe, [
|
|
450
|
+
s.value.length ? (T(), f("ul", $e, [(T(!0), f(c, null, O(s.value, (e) => (T(), f("li", {
|
|
451
451
|
key: e.label,
|
|
452
452
|
class: b({ "mwnf-standalone-home__link--gap": e.gap })
|
|
453
453
|
}, [g(n, {
|
|
@@ -456,7 +456,7 @@ var pe = { class: "mwnf-standalone-sponsors" }, me = {
|
|
|
456
456
|
external: !!e.external,
|
|
457
457
|
title: e.title
|
|
458
458
|
}, {
|
|
459
|
-
default:
|
|
459
|
+
default: z(() => [e.prefix ? (T(), f(c, { key: 0 }, [h(A(`${e.prefix} `), 1)], 64)) : d("", !0), e.italic ? (T(), f("i", et, A(e.label), 1)) : (T(), f(c, { key: 2 }, [h(A(e.label), 1)], 64))]),
|
|
460
460
|
_: 2
|
|
461
461
|
}, 1032, [
|
|
462
462
|
"to",
|
|
@@ -464,7 +464,7 @@ var pe = { class: "mwnf-standalone-sponsors" }, me = {
|
|
|
464
464
|
"external",
|
|
465
465
|
"title"
|
|
466
466
|
])], 2))), 128))])) : d("", !0),
|
|
467
|
-
p.value ? (
|
|
467
|
+
p.value ? (T(), u(We, {
|
|
468
468
|
key: 1,
|
|
469
469
|
record: v.value,
|
|
470
470
|
text: y.value,
|
|
@@ -486,15 +486,15 @@ var pe = { class: "mwnf-standalone-sponsors" }, me = {
|
|
|
486
486
|
"also-known-as",
|
|
487
487
|
"action"
|
|
488
488
|
])) : d("", !0),
|
|
489
|
-
o.value.tiles ? (
|
|
489
|
+
o.value.tiles ? (T(), u(Ze, {
|
|
490
490
|
key: 2,
|
|
491
491
|
caption: o.value.tiles.caption ?? "",
|
|
492
|
-
items:
|
|
492
|
+
items: D.value
|
|
493
493
|
}, null, 8, ["caption", "items"])) : d("", !0),
|
|
494
|
-
|
|
494
|
+
k(e.$slots, "default")
|
|
495
495
|
]));
|
|
496
496
|
}
|
|
497
|
-
},
|
|
497
|
+
}, nt = "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; }", rt = ".mwnf-sheet__label, .mwnf-sheet-section__heading, .mwnf-credits__heading", it = ".mwnf-sheet__value, .mwnf-sheet-section__body, .mwnf-credits__citation, .mwnf-credits__list > dt, .mwnf-credits__number, .mwnf-sheet__short .mwnf-sheet__block", at = "button, img, svg, picture, video, audio, iframe, script, style, [role=\"tooltip\"], [aria-hidden=\"true\"]";
|
|
498
498
|
function Z(e) {
|
|
499
499
|
return String(e ?? "").replace(/[&<>"]/g, (e) => ({
|
|
500
500
|
"&": "&",
|
|
@@ -503,7 +503,7 @@ function Z(e) {
|
|
|
503
503
|
"\"": """
|
|
504
504
|
})[e]);
|
|
505
505
|
}
|
|
506
|
-
var
|
|
506
|
+
var ot = /* @__PURE__ */ new Set([
|
|
507
507
|
"I",
|
|
508
508
|
"EM",
|
|
509
509
|
"B",
|
|
@@ -511,7 +511,7 @@ var at = /* @__PURE__ */ new Set([
|
|
|
511
511
|
"U",
|
|
512
512
|
"SUP",
|
|
513
513
|
"SUB"
|
|
514
|
-
]),
|
|
514
|
+
]), st = /* @__PURE__ */ new Set([
|
|
515
515
|
"P",
|
|
516
516
|
"DIV",
|
|
517
517
|
"LI",
|
|
@@ -527,12 +527,12 @@ function Q(e) {
|
|
|
527
527
|
n().push(Z(e.textContent));
|
|
528
528
|
return;
|
|
529
529
|
}
|
|
530
|
-
if (e.nodeType !== Node.ELEMENT_NODE || e.matches(
|
|
530
|
+
if (e.nodeType !== Node.ELEMENT_NODE || e.matches(at)) return;
|
|
531
531
|
if (e.tagName === "BR") {
|
|
532
532
|
n().push("<br/>");
|
|
533
533
|
return;
|
|
534
534
|
}
|
|
535
|
-
let t =
|
|
535
|
+
let t = st.has(e.tagName), a = ot.has(e.tagName) ? e.tagName.toLowerCase() : "";
|
|
536
536
|
t && r(), a && n().push(`<${a}>`);
|
|
537
537
|
for (let t of e.childNodes) i(t);
|
|
538
538
|
a && n().push(`</${a}>`), t && r();
|
|
@@ -540,12 +540,12 @@ function Q(e) {
|
|
|
540
540
|
for (let t of e.childNodes) i(t);
|
|
541
541
|
return t.map((e) => e.join("").replace(/\s+/g, " ").trim()).filter(Boolean).join("<br/>\n<br/>");
|
|
542
542
|
}
|
|
543
|
-
function
|
|
543
|
+
function ct(e, { title: t = "", dir: n = "" } = {}) {
|
|
544
544
|
let r = (t) => {
|
|
545
545
|
for (let n = t; n && n !== e.parentElement; n = n.parentElement) if (n.hidden || getComputedStyle(n).display === "none") return !1;
|
|
546
546
|
return !0;
|
|
547
547
|
}, i = [];
|
|
548
|
-
for (let t of e.querySelectorAll(`${
|
|
548
|
+
for (let t of e.querySelectorAll(`${rt}, ${it}`)) {
|
|
549
549
|
if (t.closest(".mwnf-standalone-item__left, .mwnf-standalone-related") || !r(t)) continue;
|
|
550
550
|
if (t.matches(".mwnf-credits__list > dt")) {
|
|
551
551
|
let e = t.nextElementSibling;
|
|
@@ -553,7 +553,7 @@ function st(e, { title: t = "", dir: n = "" } = {}) {
|
|
|
553
553
|
continue;
|
|
554
554
|
}
|
|
555
555
|
let e = Q(t);
|
|
556
|
-
e && i.push(t.matches(
|
|
556
|
+
e && i.push(t.matches(rt) ? `<h3>${e}</h3>` : `<p>${e}</p>`);
|
|
557
557
|
}
|
|
558
558
|
let a = n === "rtl" ? " style=\"direction: rtl;\"" : "";
|
|
559
559
|
return `<html>
|
|
@@ -561,7 +561,7 @@ function st(e, { title: t = "", dir: n = "" } = {}) {
|
|
|
561
561
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
562
562
|
<head>
|
|
563
563
|
<style>
|
|
564
|
-
${
|
|
564
|
+
${nt}
|
|
565
565
|
</style>
|
|
566
566
|
</head>
|
|
567
567
|
<body>
|
|
@@ -575,11 +575,11 @@ ${i.join("\n")}
|
|
|
575
575
|
</body>
|
|
576
576
|
</html>`;
|
|
577
577
|
}
|
|
578
|
-
function
|
|
578
|
+
function lt(e, t) {
|
|
579
579
|
let n = URL.createObjectURL(new Blob(["", e], { type: "application/msword" })), r = document.createElement("a");
|
|
580
580
|
r.href = n, r.download = t, document.body.appendChild(r), r.click(), r.remove(), setTimeout(() => URL.revokeObjectURL(n), 0);
|
|
581
581
|
}
|
|
582
|
-
function
|
|
582
|
+
function ut({ title: e = "", heading: t = "", heads: n = {}, rows: r = [], empty: i = "", dir: a = "" } = {}) {
|
|
583
583
|
let o = a === "rtl" ? "direction: rtl; text-align: right;" : "text-align: left;", s = (e) => {
|
|
584
584
|
let t = document.createElement("div");
|
|
585
585
|
return t.innerHTML = e ?? "", Q(t);
|
|
@@ -616,7 +616,7 @@ ${r.map(u).join("\n")}
|
|
|
616
616
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
617
617
|
<head>
|
|
618
618
|
<style>
|
|
619
|
-
${
|
|
619
|
+
${nt}
|
|
620
620
|
</style>
|
|
621
621
|
</head>
|
|
622
622
|
<body>
|
|
@@ -634,10 +634,10 @@ ${d}
|
|
|
634
634
|
}
|
|
635
635
|
//#endregion
|
|
636
636
|
//#region src/standalone/RelatedContent.vue
|
|
637
|
-
var
|
|
637
|
+
var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-related__heading" }, pt = { class: "mwnf-standalone-related__group-heading" }, mt = { class: "mwnf-standalone-related__thumbs" }, ht = ["src", "alt"], gt = ["innerHTML"], _t = {
|
|
638
638
|
key: 0,
|
|
639
639
|
class: "mwnf-standalone-related__download"
|
|
640
|
-
},
|
|
640
|
+
}, vt = { class: "mwnf-standalone-related__download-heading" }, yt = {
|
|
641
641
|
__name: "RelatedContent",
|
|
642
642
|
props: {
|
|
643
643
|
heading: {
|
|
@@ -671,51 +671,51 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
671
671
|
}
|
|
672
672
|
function o(e) {
|
|
673
673
|
let n = e.currentTarget.closest(".mwnf-standalone-item");
|
|
674
|
-
n && ct(
|
|
674
|
+
n && lt(ct(n.querySelector(".mwnf-record__main") ?? n, {
|
|
675
675
|
title: t.download?.title ? r(t.download.title) : "",
|
|
676
676
|
dir: getComputedStyle(n).direction
|
|
677
677
|
}), t.wordFile);
|
|
678
678
|
}
|
|
679
|
-
return (t, s) => (
|
|
680
|
-
p("p",
|
|
681
|
-
(
|
|
679
|
+
return (t, s) => (T(), f("aside", dt, [
|
|
680
|
+
p("p", ft, [p("strong", null, A(j(r)(e.heading)), 1)]),
|
|
681
|
+
(T(!0), f(c, null, O(i.value, (e) => (T(), f("div", {
|
|
682
682
|
key: e.heading,
|
|
683
683
|
class: "mwnf-standalone-related__group"
|
|
684
|
-
}, [p("p",
|
|
684
|
+
}, [p("p", pt, A(e.heading), 1), p("ul", mt, [(T(!0), f(c, null, O(e.rows, (e) => (T(), f("li", { key: e.id }, [g(n, {
|
|
685
685
|
to: e.to,
|
|
686
686
|
title: e.imageAlt
|
|
687
687
|
}, {
|
|
688
|
-
default:
|
|
688
|
+
default: z(() => [e.image ? (T(), f("img", {
|
|
689
689
|
key: 0,
|
|
690
690
|
src: e.image,
|
|
691
691
|
alt: e.imageAlt
|
|
692
|
-
}, null, 8,
|
|
692
|
+
}, null, 8, ht)) : (T(), f("span", {
|
|
693
693
|
key: 1,
|
|
694
694
|
innerHTML: e.name
|
|
695
|
-
}, null, 8,
|
|
695
|
+
}, null, 8, gt))]),
|
|
696
696
|
_: 2
|
|
697
697
|
}, 1032, ["to", "title"])]))), 128))])]))), 128)),
|
|
698
|
-
|
|
699
|
-
e.download ? (
|
|
700
|
-
p("p",
|
|
698
|
+
k(t.$slots, "default"),
|
|
699
|
+
e.download ? (T(), f("div", _t, [
|
|
700
|
+
p("p", vt, A(j(r)(e.download.heading)), 1),
|
|
701
701
|
p("button", {
|
|
702
702
|
type: "button",
|
|
703
703
|
class: "mwnf-standalone-related__print",
|
|
704
704
|
onClick: a
|
|
705
|
-
},
|
|
706
|
-
e.download.word ? (
|
|
705
|
+
}, A(j(r)(e.download.print)), 1),
|
|
706
|
+
e.download.word ? (T(), f("button", {
|
|
707
707
|
key: 0,
|
|
708
708
|
type: "button",
|
|
709
709
|
class: "mwnf-standalone-related__print mwnf-standalone-related__word",
|
|
710
710
|
onClick: o
|
|
711
|
-
},
|
|
711
|
+
}, A(j(r)(e.download.word)), 1)) : d("", !0)
|
|
712
712
|
])) : d("", !0)
|
|
713
713
|
]));
|
|
714
714
|
}
|
|
715
|
-
},
|
|
715
|
+
}, bt = { class: "mwnf-standalone-item__top" }, xt = { class: "mwnf-standalone-item__left" }, St = {
|
|
716
716
|
key: 0,
|
|
717
717
|
class: "mwnf-standalone-item__back"
|
|
718
|
-
},
|
|
718
|
+
}, Ct = {
|
|
719
719
|
__name: "ItemSheet",
|
|
720
720
|
props: {
|
|
721
721
|
spec: {
|
|
@@ -736,7 +736,7 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
736
736
|
}
|
|
737
737
|
},
|
|
738
738
|
setup(e) {
|
|
739
|
-
let i = e, { t: s } = q(), v =
|
|
739
|
+
let i = e, { t: s } = q(), v = P(), y = l(() => ({
|
|
740
740
|
...i.spec,
|
|
741
741
|
media: () => []
|
|
742
742
|
}));
|
|
@@ -762,24 +762,25 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
762
762
|
let C = l(() => i.back.map((e) => ({
|
|
763
763
|
...e,
|
|
764
764
|
label: s(e.label)
|
|
765
|
-
}))),
|
|
765
|
+
}))), w = /* @__PURE__ */ new Set([
|
|
766
766
|
"header",
|
|
767
767
|
"before-sheet",
|
|
768
768
|
"related",
|
|
769
769
|
"sidebar",
|
|
770
770
|
"aside",
|
|
771
771
|
"source"
|
|
772
|
-
]), E = l(() => Object.keys(v).filter((e) => !
|
|
773
|
-
function
|
|
772
|
+
]), E = l(() => Object.keys(v).filter((e) => !w.has(e)));
|
|
773
|
+
function D() {
|
|
774
774
|
window.history.back();
|
|
775
775
|
}
|
|
776
|
-
|
|
776
|
+
let j = (e) => [...e].sort((e, t) => t.code.localeCompare(e.code));
|
|
777
|
+
return (i, a) => (T(), u(o, {
|
|
777
778
|
spec: y.value,
|
|
778
779
|
id: e.id,
|
|
779
780
|
class: "mwnf-standalone-item"
|
|
780
781
|
}, m({
|
|
781
|
-
header:
|
|
782
|
-
languages: e,
|
|
782
|
+
header: z(({ languages: e, language: n, select: r }) => [p("div", bt, [g(t, {
|
|
783
|
+
languages: j(e),
|
|
783
784
|
language: n,
|
|
784
785
|
from: 1,
|
|
785
786
|
onSelect: r
|
|
@@ -788,31 +789,31 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
788
789
|
"language",
|
|
789
790
|
"onSelect"
|
|
790
791
|
])])]),
|
|
791
|
-
"before-sheet":
|
|
792
|
+
"before-sheet": z((e) => [p("div", xt, [C.value.length ? (T(), f("p", St, [(T(!0), f(c, null, O(C.value, (e) => (T(), f(c, { key: e.label }, [e.history ? (T(), f("button", {
|
|
792
793
|
key: 0,
|
|
793
794
|
type: "button",
|
|
794
795
|
class: "mwnf-standalone-item__back-link",
|
|
795
|
-
onClick:
|
|
796
|
-
},
|
|
796
|
+
onClick: D
|
|
797
|
+
}, A(e.label), 1)) : (T(), u(n, {
|
|
797
798
|
key: 1,
|
|
798
799
|
class: "mwnf-standalone-item__back-link",
|
|
799
800
|
to: e.to,
|
|
800
801
|
href: e.href
|
|
801
802
|
}, {
|
|
802
|
-
default:
|
|
803
|
+
default: z(() => [h(A(e.label), 1)]),
|
|
803
804
|
_: 2
|
|
804
805
|
}, 1032, ["to", "href"]))], 64))), 128))])) : d("", !0), g(r, {
|
|
805
806
|
images: b(e),
|
|
806
807
|
"thumbs-from": 1
|
|
807
|
-
}, null, 8, ["images"])]),
|
|
808
|
-
related:
|
|
808
|
+
}, null, 8, ["images"])]), k(i.$slots, "before-sheet", x(_(e)))]),
|
|
809
|
+
related: z((t) => [g(yt, {
|
|
809
810
|
heading: e.related.heading ?? "record.related.title",
|
|
810
811
|
records: t.records,
|
|
811
812
|
groups: e.related.groups ?? [],
|
|
812
813
|
download: e.related.download ?? null,
|
|
813
814
|
"word-file": e.related.download?.wordFile?.(t.record, t.language) ?? "sheet.doc"
|
|
814
815
|
}, {
|
|
815
|
-
default:
|
|
816
|
+
default: z(() => [k(i.$slots, "sidebar", x(_(t)))]),
|
|
816
817
|
_: 2
|
|
817
818
|
}, 1032, [
|
|
818
819
|
"heading",
|
|
@@ -821,44 +822,44 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
821
822
|
"download",
|
|
822
823
|
"word-file"
|
|
823
824
|
])]),
|
|
824
|
-
source:
|
|
825
|
+
source: z((e) => [k(i.$slots, "source", x(_(e)))]),
|
|
825
826
|
_: 2
|
|
826
|
-
}, [
|
|
827
|
+
}, [O(E.value, (e) => ({
|
|
827
828
|
name: e,
|
|
828
|
-
fn:
|
|
829
|
+
fn: z((t) => [k(i.$slots, e, x(_(t)))])
|
|
829
830
|
}))]), 1032, ["spec", "id"]));
|
|
830
831
|
}
|
|
831
|
-
},
|
|
832
|
+
}, wt = {
|
|
832
833
|
key: 0,
|
|
833
834
|
class: "mwnf-standalone-item__top"
|
|
834
|
-
},
|
|
835
|
+
}, Tt = {
|
|
835
836
|
key: 1,
|
|
836
837
|
hidden: ""
|
|
837
|
-
},
|
|
838
|
+
}, Et = {
|
|
838
839
|
key: 0,
|
|
839
840
|
class: "mwnf-standalone-item__back mwnf-standalone-partner__back"
|
|
840
|
-
},
|
|
841
|
+
}, Dt = { class: "mwnf-standalone-partner__heading" }, Ot = ["dir", "innerHTML"], kt = {
|
|
841
842
|
key: 0,
|
|
842
843
|
class: "mwnf-standalone-partner__location"
|
|
843
|
-
},
|
|
844
|
+
}, At = { class: "mwnf-standalone-partner__bar" }, jt = { class: "mwnf-standalone-partner__bar-start" }, Mt = ["aria-label", "onKeydown"], Nt = [
|
|
844
845
|
"id",
|
|
845
846
|
"aria-selected",
|
|
846
847
|
"aria-controls",
|
|
847
848
|
"tabindex",
|
|
848
849
|
"onClick"
|
|
849
|
-
],
|
|
850
|
+
], Pt = {
|
|
850
851
|
key: 0,
|
|
851
852
|
class: "mwnf-standalone-partner__divider",
|
|
852
853
|
"aria-hidden": "true"
|
|
853
|
-
},
|
|
854
|
+
}, Ft = { key: 0 }, It = ["href"], Lt = { class: "mwnf-standalone-partner__bar-end" }, Rt = { class: "mwnf-standalone-partner__body" }, zt = { class: "mwnf-standalone-partner__pictures" }, Bt = { class: "mwnf-standalone-partner__panels" }, Vt = [
|
|
854
855
|
"id",
|
|
855
856
|
"aria-labelledby",
|
|
856
857
|
"dir",
|
|
857
858
|
"innerHTML"
|
|
858
|
-
],
|
|
859
|
+
], Ht = ["id", "aria-labelledby"], Ut = ["innerHTML"], Wt = ["href"], Gt = { key: 0 }, Kt = ["href"], qt = ["href"], Jt = ["id", "aria-labelledby"], Yt = ["src"], Xt = {
|
|
859
860
|
key: 0,
|
|
860
861
|
class: "mwnf-standalone-partner__map"
|
|
861
|
-
},
|
|
862
|
+
}, Zt = { class: "mwnf-standalone-partner__map-heading" }, Qt = {
|
|
862
863
|
__name: "PartnerPage",
|
|
863
864
|
props: {
|
|
864
865
|
id: {
|
|
@@ -903,7 +904,7 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
903
904
|
}
|
|
904
905
|
},
|
|
905
906
|
setup(e) {
|
|
906
|
-
let a = e, { t: s, locale: m } = q(), _ =
|
|
907
|
+
let a = e, { t: s, locale: m } = q(), _ = M(), v = {
|
|
907
908
|
entity: "partners",
|
|
908
909
|
fields: [],
|
|
909
910
|
shortDescription: !1,
|
|
@@ -926,36 +927,36 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
926
927
|
label: s(e.label)
|
|
927
928
|
}));
|
|
928
929
|
}
|
|
929
|
-
function
|
|
930
|
+
function w() {
|
|
930
931
|
window.history.back();
|
|
931
932
|
}
|
|
932
|
-
function
|
|
933
|
+
function E(e, t, n) {
|
|
933
934
|
let r = [];
|
|
934
935
|
return a.about(t, n) && r.push("about"), e.hasContact && r.push("contact"), e.logos.length && r.push("logo"), r;
|
|
935
936
|
}
|
|
936
|
-
let
|
|
937
|
-
|
|
938
|
-
|
|
937
|
+
let k = D("about");
|
|
938
|
+
R(() => a.id, () => {
|
|
939
|
+
k.value = "about";
|
|
939
940
|
});
|
|
940
941
|
function N(e, t) {
|
|
941
|
-
let n = t.indexOf(
|
|
942
|
+
let n = t.indexOf(k.value), r = {
|
|
942
943
|
ArrowRight: (n + 1) % t.length,
|
|
943
944
|
ArrowLeft: (n - 1 + t.length) % t.length,
|
|
944
945
|
Home: 0,
|
|
945
946
|
End: t.length - 1
|
|
946
947
|
}[e.key];
|
|
947
|
-
r === void 0 || !t.length || (e.preventDefault(),
|
|
948
|
+
r === void 0 || !t.length || (e.preventDefault(), k.value = t[r], y(() => document.getElementById(`${_}-tab-${t[r]}`)?.focus()));
|
|
948
949
|
}
|
|
949
950
|
let P = (e) => e.pictures.map((e) => ({
|
|
950
951
|
url: e.url,
|
|
951
952
|
alt: e.alt
|
|
952
|
-
})), F = (e) => [...e.contact.website ? [e.contact.website] : [], ...a.links ? e.contact.links : []],
|
|
953
|
-
return (l, m) => (
|
|
953
|
+
})), F = (e) => [...e.contact.website ? [e.contact.website] : [], ...a.links ? e.contact.links : []], I = (e) => !!(e.contact.address || e.contact.phone || e.contact.fax || e.contact.email || e.contact.website), V = l(() => String(m.value || "en"));
|
|
954
|
+
return (l, m) => (T(), u(o, {
|
|
954
955
|
spec: v,
|
|
955
956
|
id: e.id,
|
|
956
957
|
class: "mwnf-standalone-partner"
|
|
957
958
|
}, {
|
|
958
|
-
header:
|
|
959
|
+
header: z(({ record: n, languages: r, language: i, select: o }) => [e.bands(n) ? (T(), f("div", wt, [g(t, {
|
|
959
960
|
languages: r.filter((e) => a.languages(n, e.code)),
|
|
960
961
|
language: i,
|
|
961
962
|
from: 1,
|
|
@@ -964,110 +965,110 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
964
965
|
"languages",
|
|
965
966
|
"language",
|
|
966
967
|
"onSelect"
|
|
967
|
-
])])) : (
|
|
968
|
-
"before-sheet":
|
|
969
|
-
C(t).length ? (
|
|
968
|
+
])])) : (T(), f("div", Tt))]),
|
|
969
|
+
"before-sheet": z(({ record: t, text: i, dir: o }) => [(T(!0), f(c, null, O([a.view(t, i)], (a) => (T(), f(c, { key: t.id }, [
|
|
970
|
+
C(t).length ? (T(), f("p", Et, [(T(!0), f(c, null, O(C(t), (e) => (T(), f(c, { key: e.label }, [e.history ? (T(), f("button", {
|
|
970
971
|
key: 0,
|
|
971
972
|
type: "button",
|
|
972
973
|
class: "mwnf-standalone-item__back-link",
|
|
973
|
-
onClick:
|
|
974
|
-
},
|
|
974
|
+
onClick: w
|
|
975
|
+
}, A(e.label), 1)) : (T(), u(n, {
|
|
975
976
|
key: 1,
|
|
976
977
|
class: "mwnf-standalone-item__back-link",
|
|
977
978
|
to: e.to,
|
|
978
979
|
href: e.href
|
|
979
980
|
}, {
|
|
980
|
-
default:
|
|
981
|
+
default: z(() => [h(A(e.label), 1)]),
|
|
981
982
|
_: 2
|
|
982
983
|
}, 1032, ["to", "href"]))], 64))), 128))])) : d("", !0),
|
|
983
|
-
p("div",
|
|
984
|
+
p("div", Dt, [p("h3", {
|
|
984
985
|
class: "mwnf-standalone-partner__name",
|
|
985
986
|
dir: o || void 0,
|
|
986
987
|
innerHTML: a.name
|
|
987
|
-
}, null, 8,
|
|
988
|
-
p("div",
|
|
988
|
+
}, null, 8, Ot), a.location ? (T(), f("h4", kt, [p("i", null, A(a.location), 1)])) : d("", !0)]),
|
|
989
|
+
p("div", At, [p("div", jt, [p("ul", {
|
|
989
990
|
role: "tablist",
|
|
990
991
|
class: "mwnf-standalone-partner__tabs",
|
|
991
992
|
"aria-label": a.plainName,
|
|
992
|
-
onKeydown: (e) => N(e,
|
|
993
|
-
}, [(
|
|
993
|
+
onKeydown: (e) => N(e, E(a, t, i))
|
|
994
|
+
}, [(T(!0), f(c, null, O(E(a, t, i), (e, n) => (T(), f("li", {
|
|
994
995
|
key: e,
|
|
995
996
|
role: "presentation"
|
|
996
997
|
}, [p("button", {
|
|
997
|
-
id: `${
|
|
998
|
+
id: `${j(_)}-tab-${e}`,
|
|
998
999
|
type: "button",
|
|
999
1000
|
role: "tab",
|
|
1000
|
-
class: b(["mwnf-standalone-partner__tab", { "mwnf-standalone-partner__tab--active":
|
|
1001
|
-
"aria-selected":
|
|
1002
|
-
"aria-controls": `${
|
|
1003
|
-
tabindex:
|
|
1004
|
-
onClick: (t) =>
|
|
1005
|
-
}, "\xA0" +
|
|
1001
|
+
class: b(["mwnf-standalone-partner__tab", { "mwnf-standalone-partner__tab--active": k.value === e }]),
|
|
1002
|
+
"aria-selected": k.value === e ? "true" : "false",
|
|
1003
|
+
"aria-controls": `${j(_)}-panel-${e}`,
|
|
1004
|
+
tabindex: k.value === e ? 0 : -1,
|
|
1005
|
+
onClick: (t) => k.value = e
|
|
1006
|
+
}, "\xA0" + A(S(e)), 11, Nt), n < E(a, t, i).length - 1 || a.contact.website ? (T(), f("span", Pt, "\xA0|")) : d("", !0)]))), 128)), a.contact.website ? (T(), f("li", Ft, [p("a", {
|
|
1006
1007
|
class: "mwnf-standalone-partner__homepage",
|
|
1007
1008
|
href: a.contact.website.url,
|
|
1008
1009
|
target: "_blank",
|
|
1009
1010
|
rel: "noopener"
|
|
1010
|
-
}, "\xA0" +
|
|
1011
|
+
}, "\xA0" + A(S("homepage")), 9, It)])) : d("", !0)], 40, Mt)]), p("div", Lt, [e.items(t) ? (T(), u(n, {
|
|
1011
1012
|
key: 0,
|
|
1012
1013
|
class: "mwnf-standalone-partner__items",
|
|
1013
1014
|
to: e.items(t).to
|
|
1014
1015
|
}, {
|
|
1015
|
-
default:
|
|
1016
|
+
default: z(() => [h(A(j(s)(e.items(t).label)), 1)]),
|
|
1016
1017
|
_: 2
|
|
1017
1018
|
}, 1032, ["to"])) : d("", !0)])]),
|
|
1018
|
-
p("div",
|
|
1019
|
+
p("div", Rt, [p("div", zt, [a.pictures.length ? (T(), u(r, {
|
|
1019
1020
|
key: 0,
|
|
1020
1021
|
images: P(a)
|
|
1021
|
-
}, null, 8, ["images"])) : d("", !0)]), p("div",
|
|
1022
|
-
|
|
1023
|
-
id: `${
|
|
1022
|
+
}, null, 8, ["images"])) : d("", !0)]), p("div", Bt, [
|
|
1023
|
+
B(p("div", {
|
|
1024
|
+
id: `${j(_)}-panel-about`,
|
|
1024
1025
|
class: "mwnf-standalone-partner__panel mwnf-standalone-partner__about",
|
|
1025
1026
|
role: "tabpanel",
|
|
1026
|
-
"aria-labelledby": `${
|
|
1027
|
+
"aria-labelledby": `${j(_)}-tab-about`,
|
|
1027
1028
|
dir: o || void 0,
|
|
1028
1029
|
innerHTML: a.description
|
|
1029
|
-
}, null, 8,
|
|
1030
|
-
a.hasContact ?
|
|
1030
|
+
}, null, 8, Vt), [[L, k.value === "about"]]),
|
|
1031
|
+
a.hasContact ? B((T(), f("div", {
|
|
1031
1032
|
key: 0,
|
|
1032
|
-
id: `${
|
|
1033
|
+
id: `${j(_)}-panel-contact`,
|
|
1033
1034
|
class: "mwnf-standalone-partner__panel mwnf-standalone-partner__contact",
|
|
1034
1035
|
role: "tabpanel",
|
|
1035
|
-
"aria-labelledby": `${
|
|
1036
|
-
}, [
|
|
1037
|
-
p("b", null,
|
|
1036
|
+
"aria-labelledby": `${j(_)}-tab-contact`
|
|
1037
|
+
}, [I(a) ? (T(), f(c, { key: 0 }, [p("p", null, [
|
|
1038
|
+
p("b", null, A(S("addresses")), 1),
|
|
1038
1039
|
m[4] ||= p("br", null, null, -1),
|
|
1039
|
-
a.contact.address ? (
|
|
1040
|
+
a.contact.address ? (T(), f(c, { key: 0 }, [p("span", {
|
|
1040
1041
|
class: "mwnf-standalone-partner__address",
|
|
1041
1042
|
innerHTML: a.contact.address
|
|
1042
|
-
}, null, 8,
|
|
1043
|
-
a.contact.phone ? (
|
|
1044
|
-
a.contact.fax ? (
|
|
1045
|
-
a.contact.email ? (
|
|
1046
|
-
]), F(a).length ? (
|
|
1043
|
+
}, null, 8, Ut), m[0] ||= p("br", null, null, -1)], 64)) : d("", !0),
|
|
1044
|
+
a.contact.phone ? (T(), f(c, { key: 1 }, [h(A(S("phone")) + " " + A(a.contact.phone), 1), m[1] ||= p("br", null, null, -1)], 64)) : d("", !0),
|
|
1045
|
+
a.contact.fax ? (T(), f(c, { key: 2 }, [h(A(S("fax")) + " " + A(a.contact.fax), 1), m[2] ||= p("br", null, null, -1)], 64)) : d("", !0),
|
|
1046
|
+
a.contact.email ? (T(), f(c, { key: 3 }, [p("a", { href: `mailto:${a.contact.email}` }, A(a.contact.email), 9, Wt), m[3] ||= p("br", null, null, -1)], 64)) : d("", !0)
|
|
1047
|
+
]), F(a).length ? (T(), f("p", Gt, [(T(!0), f(c, null, O(F(a), (e, t) => (T(), f(c, { key: e.url }, [t ? (T(), f(c, { key: 0 }, [h("\xA0|\xA0")], 64)) : d("", !0), p("a", {
|
|
1047
1048
|
href: e.url,
|
|
1048
1049
|
target: "_blank",
|
|
1049
1050
|
rel: "noopener"
|
|
1050
|
-
},
|
|
1051
|
-
e.title ? (
|
|
1052
|
-
e.name ? (
|
|
1053
|
-
e.phone ? (
|
|
1054
|
-
e.fax ? (
|
|
1055
|
-
e.email ? (
|
|
1056
|
-
]))), 128))], 8,
|
|
1057
|
-
a.logos.length ?
|
|
1051
|
+
}, A(e.label), 9, Kt)], 64))), 128))])) : d("", !0)], 64)) : d("", !0), (T(!0), f(c, null, O(a.persons, (e, t) => (T(), f("p", { key: t }, [
|
|
1052
|
+
e.title ? (T(), f(c, { key: 0 }, [p("strong", null, A(e.title), 1), m[5] ||= p("br", null, null, -1)], 64)) : d("", !0),
|
|
1053
|
+
e.name ? (T(), f(c, { key: 1 }, [h(A(e.name), 1), m[6] ||= p("br", null, null, -1)], 64)) : d("", !0),
|
|
1054
|
+
e.phone ? (T(), f(c, { key: 2 }, [h(A(S("phone")) + " " + A(e.phone), 1), m[7] ||= p("br", null, null, -1)], 64)) : d("", !0),
|
|
1055
|
+
e.fax ? (T(), f(c, { key: 3 }, [h(A(S("fax")) + " " + A(e.fax), 1), m[8] ||= p("br", null, null, -1)], 64)) : d("", !0),
|
|
1056
|
+
e.email ? (T(), f(c, { key: 4 }, [p("a", { href: `mailto:${e.email}` }, A(e.email), 9, qt), m[9] ||= p("br", null, null, -1)], 64)) : d("", !0)
|
|
1057
|
+
]))), 128))], 8, Ht)), [[L, k.value === "contact"]]) : d("", !0),
|
|
1058
|
+
a.logos.length ? B((T(), f("div", {
|
|
1058
1059
|
key: 1,
|
|
1059
|
-
id: `${
|
|
1060
|
+
id: `${j(_)}-panel-logo`,
|
|
1060
1061
|
class: "mwnf-standalone-partner__panel mwnf-standalone-partner__logos",
|
|
1061
1062
|
role: "tabpanel",
|
|
1062
|
-
"aria-labelledby": `${
|
|
1063
|
-
}, [(
|
|
1063
|
+
"aria-labelledby": `${j(_)}-tab-logo`
|
|
1064
|
+
}, [(T(!0), f(c, null, O(a.logos, (e) => (T(), f("img", {
|
|
1064
1065
|
key: e.url,
|
|
1065
1066
|
src: e.url,
|
|
1066
1067
|
alt: ""
|
|
1067
|
-
}, null, 8,
|
|
1068
|
+
}, null, 8, Yt))), 128))], 8, Jt)), [[L, k.value === "logo"]]) : d("", !0)
|
|
1068
1069
|
])])
|
|
1069
1070
|
], 64))), 128))]),
|
|
1070
|
-
after:
|
|
1071
|
+
after: z(({ record: t, text: n }) => [e.map(t) && a.view(t, n)?.map ? (T(), f("section", Xt, [p("h3", Zt, A(S("map")), 1), g(i, {
|
|
1071
1072
|
provider: "google",
|
|
1072
1073
|
latitude: a.view(t, n).map.latitude,
|
|
1073
1074
|
longitude: a.view(t, n).map.longitude,
|
|
@@ -1084,13 +1085,13 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
1084
1085
|
_: 1
|
|
1085
1086
|
}, 8, ["id"]));
|
|
1086
1087
|
}
|
|
1087
|
-
},
|
|
1088
|
+
}, $t = ["innerHTML"], en = {
|
|
1088
1089
|
key: 0,
|
|
1089
1090
|
class: "mwnf-standalone-page__link"
|
|
1090
|
-
},
|
|
1091
|
+
}, tn = {
|
|
1091
1092
|
key: 1,
|
|
1092
1093
|
class: "mwnf-standalone-page__print"
|
|
1093
|
-
},
|
|
1094
|
+
}, nn = {
|
|
1094
1095
|
__name: "TextPage",
|
|
1095
1096
|
props: {
|
|
1096
1097
|
body: {
|
|
@@ -1108,36 +1109,43 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
1108
1109
|
dropCap: {
|
|
1109
1110
|
type: Boolean,
|
|
1110
1111
|
default: !1
|
|
1112
|
+
},
|
|
1113
|
+
narrow: {
|
|
1114
|
+
type: Boolean,
|
|
1115
|
+
default: !1
|
|
1111
1116
|
}
|
|
1112
1117
|
},
|
|
1113
1118
|
setup(e) {
|
|
1114
|
-
let t = e, { t: r } = q(), i = l(() =>
|
|
1119
|
+
let t = e, { t: r } = q(), i = l(() => ae(r(t.body)));
|
|
1115
1120
|
function a() {
|
|
1116
1121
|
window.print();
|
|
1117
1122
|
}
|
|
1118
|
-
return (t, o) => (
|
|
1123
|
+
return (t, o) => (T(), f("article", { class: b(["mwnf-standalone-page", {
|
|
1124
|
+
"mwnf-standalone-page--drop-cap": e.dropCap,
|
|
1125
|
+
"mwnf-standalone-page--narrow": e.narrow
|
|
1126
|
+
}]) }, [
|
|
1119
1127
|
p("div", {
|
|
1120
1128
|
class: "mwnf-standalone-page__body",
|
|
1121
1129
|
innerHTML: i.value
|
|
1122
|
-
}, null, 8,
|
|
1123
|
-
e.link ? (
|
|
1130
|
+
}, null, 8, $t),
|
|
1131
|
+
e.link ? (T(), f("p", en, [g(n, {
|
|
1124
1132
|
to: e.link.to,
|
|
1125
1133
|
href: e.link.href
|
|
1126
1134
|
}, {
|
|
1127
|
-
default:
|
|
1135
|
+
default: z(() => [p("strong", null, A(e.link.text ?? j(r)(e.link.label)), 1)]),
|
|
1128
1136
|
_: 1
|
|
1129
1137
|
}, 8, ["to", "href"])])) : d("", !0),
|
|
1130
|
-
e.print ? (
|
|
1138
|
+
e.print ? (T(), f("p", tn, [p("button", {
|
|
1131
1139
|
type: "button",
|
|
1132
1140
|
class: "mwnf-standalone-page__print-button",
|
|
1133
1141
|
onClick: a
|
|
1134
|
-
},
|
|
1142
|
+
}, A(j(r)(e.print)), 1)])) : d("", !0)
|
|
1135
1143
|
], 2));
|
|
1136
1144
|
}
|
|
1137
|
-
},
|
|
1145
|
+
}, rn = {
|
|
1138
1146
|
key: 0,
|
|
1139
1147
|
class: "mwnf-standalone-subnav"
|
|
1140
|
-
},
|
|
1148
|
+
}, an = { class: "mwnf-standalone-subnav__tabs" }, on = {
|
|
1141
1149
|
__name: "SubNav",
|
|
1142
1150
|
props: {
|
|
1143
1151
|
tabs: {
|
|
@@ -1154,36 +1162,36 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
1154
1162
|
...e,
|
|
1155
1163
|
label: r(e.label)
|
|
1156
1164
|
})));
|
|
1157
|
-
return (t, a) => i.value.length || e.aside ? (
|
|
1165
|
+
return (t, a) => i.value.length || e.aside ? (T(), f("nav", rn, [p("ul", an, [(T(!0), f(c, null, O(i.value, (e) => (T(), f("li", { key: e.label }, [g(n, {
|
|
1158
1166
|
to: e.to,
|
|
1159
1167
|
href: e.href,
|
|
1160
1168
|
class: b(["mwnf-standalone-subnav__tab", { "mwnf-standalone-subnav__tab--active": e.active }]),
|
|
1161
1169
|
"aria-current": e.active ? "page" : void 0
|
|
1162
1170
|
}, {
|
|
1163
|
-
default:
|
|
1171
|
+
default: z(() => [h(A(e.label), 1)]),
|
|
1164
1172
|
_: 2
|
|
1165
1173
|
}, 1032, [
|
|
1166
1174
|
"to",
|
|
1167
1175
|
"href",
|
|
1168
1176
|
"class",
|
|
1169
1177
|
"aria-current"
|
|
1170
|
-
])]))), 128))]), e.aside ? (
|
|
1178
|
+
])]))), 128))]), e.aside ? (T(), u(n, {
|
|
1171
1179
|
key: 0,
|
|
1172
1180
|
to: e.aside.to,
|
|
1173
1181
|
href: e.aside.href,
|
|
1174
1182
|
class: "mwnf-standalone-subnav__aside"
|
|
1175
1183
|
}, {
|
|
1176
|
-
default:
|
|
1184
|
+
default: z(() => [h(A(j(r)(e.aside.label)), 1)]),
|
|
1177
1185
|
_: 1
|
|
1178
1186
|
}, 8, ["to", "href"])) : d("", !0)])) : d("", !0);
|
|
1179
1187
|
}
|
|
1180
|
-
},
|
|
1188
|
+
}, sn = { class: "mwnf-standalone-results" }, cn = {
|
|
1181
1189
|
key: 0,
|
|
1182
1190
|
class: "mwnf-standalone-results__empty"
|
|
1183
|
-
},
|
|
1191
|
+
}, ln = { class: "mwnf-standalone-results__tile" }, un = ["src"], dn = { class: "mwnf-standalone-results__panel" }, fn = ["src"], pn = { class: "mwnf-standalone-results__name" }, mn = ["innerHTML"], hn = ["innerHTML"], gn = {
|
|
1184
1192
|
key: 0,
|
|
1185
1193
|
class: "mwnf-standalone-results__holder"
|
|
1186
|
-
},
|
|
1194
|
+
}, _n = ["innerHTML"], vn = ["innerHTML"], yn = {
|
|
1187
1195
|
__name: "ResultsGrid",
|
|
1188
1196
|
props: {
|
|
1189
1197
|
rows: {
|
|
@@ -1204,64 +1212,64 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
1204
1212
|
}
|
|
1205
1213
|
},
|
|
1206
1214
|
setup(e) {
|
|
1207
|
-
return (t, r) => (
|
|
1215
|
+
return (t, r) => (T(), f("div", sn, [e.rows.length ? d("", !0) : (T(), f("p", cn, A(e.empty), 1)), (T(!0), f(c, null, O(e.rows, (t) => (T(), f("div", {
|
|
1208
1216
|
key: t.id,
|
|
1209
1217
|
class: "mwnf-standalone-results__cell"
|
|
1210
|
-
}, [p("div",
|
|
1218
|
+
}, [p("div", ln, [g(n, {
|
|
1211
1219
|
class: "mwnf-standalone-results__frame",
|
|
1212
1220
|
to: t.to,
|
|
1213
1221
|
href: t.href
|
|
1214
1222
|
}, {
|
|
1215
|
-
default:
|
|
1223
|
+
default: z(() => [p("img", {
|
|
1216
1224
|
src: t.image || e.noImage,
|
|
1217
1225
|
alt: ""
|
|
1218
|
-
}, null, 8,
|
|
1226
|
+
}, null, 8, un)]),
|
|
1219
1227
|
_: 2
|
|
1220
|
-
}, 1032, ["to", "href"]), p("div",
|
|
1228
|
+
}, 1032, ["to", "href"]), p("div", dn, [
|
|
1221
1229
|
g(n, {
|
|
1222
1230
|
class: "mwnf-standalone-results__panel-frame",
|
|
1223
1231
|
to: t.to,
|
|
1224
1232
|
href: t.href
|
|
1225
1233
|
}, {
|
|
1226
|
-
default:
|
|
1234
|
+
default: z(() => [p("img", {
|
|
1227
1235
|
src: t.image || e.noImage,
|
|
1228
1236
|
alt: ""
|
|
1229
|
-
}, null, 8,
|
|
1237
|
+
}, null, 8, fn)]),
|
|
1230
1238
|
_: 2
|
|
1231
1239
|
}, 1032, ["to", "href"]),
|
|
1232
|
-
p("p",
|
|
1240
|
+
p("p", pn, [p("strong", null, [g(n, {
|
|
1233
1241
|
to: t.to,
|
|
1234
1242
|
href: t.href
|
|
1235
1243
|
}, {
|
|
1236
|
-
default:
|
|
1244
|
+
default: z(() => [p("span", { innerHTML: t.name }, null, 8, mn)]),
|
|
1237
1245
|
_: 2
|
|
1238
1246
|
}, 1032, ["to", "href"])])]),
|
|
1239
|
-
(
|
|
1247
|
+
(T(!0), f(c, null, O(t.lines ?? [], (e, t) => (T(), f("p", {
|
|
1240
1248
|
key: t,
|
|
1241
1249
|
innerHTML: e
|
|
1242
|
-
}, null, 8,
|
|
1243
|
-
t.holder ? (
|
|
1244
|
-
t.location ? (
|
|
1250
|
+
}, null, 8, hn))), 128)),
|
|
1251
|
+
t.holder ? (T(), f("p", gn, [p("strong", { innerHTML: t.holder }, null, 8, _n)])) : d("", !0),
|
|
1252
|
+
t.location ? (T(), f("p", {
|
|
1245
1253
|
key: 1,
|
|
1246
1254
|
innerHTML: t.location
|
|
1247
|
-
}, null, 8,
|
|
1255
|
+
}, null, 8, vn)) : d("", !0),
|
|
1248
1256
|
p("p", null, [g(n, {
|
|
1249
1257
|
class: "mwnf-standalone-results__see",
|
|
1250
1258
|
to: t.to,
|
|
1251
1259
|
href: t.href
|
|
1252
1260
|
}, {
|
|
1253
|
-
default:
|
|
1261
|
+
default: z(() => [h(A(e.seeLabel), 1)]),
|
|
1254
1262
|
_: 1
|
|
1255
1263
|
}, 8, ["to", "href"])])
|
|
1256
1264
|
])])]))), 128))]));
|
|
1257
1265
|
}
|
|
1258
|
-
},
|
|
1266
|
+
}, bn = { class: "mwnf-standalone-list" }, xn = { class: "mwnf-standalone-list__aside" }, Sn = {
|
|
1259
1267
|
key: 0,
|
|
1260
1268
|
class: "mwnf-standalone-list__preview"
|
|
1261
|
-
},
|
|
1269
|
+
}, Cn = { class: "mwnf-standalone-list__preview-picture" }, wn = ["src"], Tn = { class: "mwnf-standalone-list__preview-name" }, En = ["innerHTML"], Dn = ["innerHTML"], On = { key: 0 }, kn = ["innerHTML"], An = ["innerHTML"], jn = { class: "mwnf-standalone-list__records" }, Mn = {
|
|
1262
1270
|
key: 0,
|
|
1263
1271
|
class: "mwnf-standalone-list__empty"
|
|
1264
|
-
},
|
|
1272
|
+
}, Nn = { class: "mwnf-standalone-list__frame" }, Pn = ["src"], Fn = { class: "mwnf-standalone-list__content" }, In = ["innerHTML"], Ln = ["innerHTML"], Rn = { key: 0 }, zn = ["innerHTML"], Bn = {
|
|
1265
1273
|
__name: "ResultsList",
|
|
1266
1274
|
props: {
|
|
1267
1275
|
rows: {
|
|
@@ -1278,73 +1286,73 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
1278
1286
|
}
|
|
1279
1287
|
},
|
|
1280
1288
|
setup(e) {
|
|
1281
|
-
let t = e, r =
|
|
1282
|
-
return (t, a) => (
|
|
1283
|
-
p("div",
|
|
1289
|
+
let t = e, r = D(null), i = l(() => r.value ?? t.rows[0] ?? null);
|
|
1290
|
+
return (t, a) => (T(), f("div", bn, [p("div", xn, [i.value ? (T(), f("div", Sn, [
|
|
1291
|
+
p("div", Cn, [i.value.image || e.noImage ? (T(), f("img", {
|
|
1284
1292
|
key: 0,
|
|
1285
1293
|
src: i.value.image || e.noImage,
|
|
1286
1294
|
alt: ""
|
|
1287
|
-
}, null, 8,
|
|
1288
|
-
p("p",
|
|
1289
|
-
(
|
|
1295
|
+
}, null, 8, wn)) : d("", !0)]),
|
|
1296
|
+
p("p", Tn, [p("strong", { innerHTML: i.value.name }, null, 8, En)]),
|
|
1297
|
+
(T(!0), f(c, null, O(i.value.preview?.lines ?? [], (e, t) => (T(), f("p", {
|
|
1290
1298
|
key: t,
|
|
1291
1299
|
innerHTML: e
|
|
1292
|
-
}, null, 8,
|
|
1293
|
-
i.value.preview?.holder ? (
|
|
1294
|
-
i.value.preview?.location ? (
|
|
1300
|
+
}, null, 8, Dn))), 128)),
|
|
1301
|
+
i.value.preview?.holder ? (T(), f("p", On, [p("strong", { innerHTML: i.value.preview.holder }, null, 8, kn)])) : d("", !0),
|
|
1302
|
+
i.value.preview?.location ? (T(), f("p", {
|
|
1295
1303
|
key: 1,
|
|
1296
1304
|
innerHTML: i.value.preview.location
|
|
1297
|
-
}, null, 8,
|
|
1298
|
-
])) : d("", !0)]), p("div",
|
|
1305
|
+
}, null, 8, An)) : d("", !0)
|
|
1306
|
+
])) : d("", !0)]), p("div", jn, [e.rows.length ? d("", !0) : (T(), f("p", Mn, A(e.empty), 1)), (T(!0), f(c, null, O(e.rows, (t) => (T(), f("div", {
|
|
1299
1307
|
key: t.id,
|
|
1300
1308
|
class: "mwnf-standalone-list__cell"
|
|
1301
|
-
}, [p("div",
|
|
1309
|
+
}, [p("div", Nn, [g(n, {
|
|
1302
1310
|
to: t.to,
|
|
1303
1311
|
href: t.href,
|
|
1304
1312
|
onMouseenter: (e) => r.value = t,
|
|
1305
1313
|
onMouseleave: a[0] ||= (e) => r.value = null
|
|
1306
1314
|
}, {
|
|
1307
|
-
default:
|
|
1315
|
+
default: z(() => [t.image || e.noImage ? (T(), f("img", {
|
|
1308
1316
|
key: 0,
|
|
1309
1317
|
src: t.image || e.noImage,
|
|
1310
1318
|
alt: ""
|
|
1311
|
-
}, null, 8,
|
|
1319
|
+
}, null, 8, Pn)) : d("", !0)]),
|
|
1312
1320
|
_: 2
|
|
1313
1321
|
}, 1032, [
|
|
1314
1322
|
"to",
|
|
1315
1323
|
"href",
|
|
1316
1324
|
"onMouseenter"
|
|
1317
|
-
])]), p("div",
|
|
1325
|
+
])]), p("div", Fn, [p("p", null, [g(n, {
|
|
1318
1326
|
to: t.to,
|
|
1319
1327
|
href: t.href,
|
|
1320
1328
|
onMouseenter: (e) => r.value = t,
|
|
1321
1329
|
onMouseleave: a[1] ||= (e) => r.value = null
|
|
1322
1330
|
}, {
|
|
1323
|
-
default:
|
|
1331
|
+
default: z(() => [
|
|
1324
1332
|
p("span", {
|
|
1325
1333
|
class: "mwnf-standalone-list__name",
|
|
1326
1334
|
innerHTML: `${t.name},`
|
|
1327
|
-
}, null, 8,
|
|
1335
|
+
}, null, 8, In),
|
|
1328
1336
|
a[2] ||= h(),
|
|
1329
|
-
p("span", { innerHTML: t.place }, null, 8,
|
|
1337
|
+
p("span", { innerHTML: t.place }, null, 8, Ln)
|
|
1330
1338
|
]),
|
|
1331
1339
|
_: 2
|
|
1332
1340
|
}, 1032, [
|
|
1333
1341
|
"to",
|
|
1334
1342
|
"href",
|
|
1335
1343
|
"onMouseenter"
|
|
1336
|
-
])]), t.dates ? (
|
|
1344
|
+
])]), t.dates ? (T(), f("div", Rn, [p("i", { innerHTML: t.dates }, null, 8, zn)])) : d("", !0)])]))), 128))])]));
|
|
1337
1345
|
}
|
|
1338
|
-
},
|
|
1346
|
+
}, Vn = { class: "mwnf-standalone-refine__row" }, Hn = {
|
|
1339
1347
|
class: "mwnf-standalone-refine__label",
|
|
1340
1348
|
for: "mwnf-standalone-refine-keyword"
|
|
1341
|
-
},
|
|
1349
|
+
}, Un = {
|
|
1342
1350
|
class: "mwnf-standalone-refine__label",
|
|
1343
1351
|
for: "mwnf-standalone-refine-field"
|
|
1344
|
-
},
|
|
1352
|
+
}, Wn = ["value"], Gn = {
|
|
1345
1353
|
type: "submit",
|
|
1346
1354
|
class: "mwnf-standalone-refine__button"
|
|
1347
|
-
},
|
|
1355
|
+
}, Kn = {
|
|
1348
1356
|
__name: "Refine",
|
|
1349
1357
|
props: {
|
|
1350
1358
|
label: {
|
|
@@ -1374,7 +1382,7 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
1374
1382
|
},
|
|
1375
1383
|
emits: ["search"],
|
|
1376
1384
|
setup(e, { emit: t }) {
|
|
1377
|
-
let r = e, i = t, a =
|
|
1385
|
+
let r = e, i = t, a = D(""), o = D(r.fields[0]?.value ?? "");
|
|
1378
1386
|
function s() {
|
|
1379
1387
|
let e = a.value.trim();
|
|
1380
1388
|
e && i("search", {
|
|
@@ -1382,39 +1390,39 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
1382
1390
|
field: o.value
|
|
1383
1391
|
});
|
|
1384
1392
|
}
|
|
1385
|
-
return (t, r) => (
|
|
1393
|
+
return (t, r) => (T(), f("form", {
|
|
1386
1394
|
class: "mwnf-standalone-refine",
|
|
1387
|
-
onSubmit:
|
|
1388
|
-
}, [p("div",
|
|
1389
|
-
p("label",
|
|
1390
|
-
|
|
1395
|
+
onSubmit: V(s, ["prevent"])
|
|
1396
|
+
}, [p("div", Vn, [
|
|
1397
|
+
p("label", Hn, A(e.label), 1),
|
|
1398
|
+
B(p("input", {
|
|
1391
1399
|
id: "mwnf-standalone-refine-keyword",
|
|
1392
1400
|
"onUpdate:modelValue": r[0] ||= (e) => a.value = e,
|
|
1393
1401
|
type: "text",
|
|
1394
1402
|
size: "40"
|
|
1395
|
-
}, null, 512), [[
|
|
1396
|
-
p("label",
|
|
1397
|
-
|
|
1403
|
+
}, null, 512), [[I, a.value]]),
|
|
1404
|
+
p("label", Un, A(e.inLabel), 1),
|
|
1405
|
+
B(p("select", {
|
|
1398
1406
|
id: "mwnf-standalone-refine-field",
|
|
1399
1407
|
"onUpdate:modelValue": r[1] ||= (e) => o.value = e
|
|
1400
|
-
}, [(
|
|
1408
|
+
}, [(T(!0), f(c, null, O(e.fields, (e) => (T(), f("option", {
|
|
1401
1409
|
key: e.value,
|
|
1402
1410
|
value: e.value
|
|
1403
|
-
},
|
|
1404
|
-
p("button",
|
|
1411
|
+
}, A(e.label), 9, Wn))), 128))], 512), [[F, o.value]]),
|
|
1412
|
+
p("button", Gn, A(e.searchLabel), 1),
|
|
1405
1413
|
g(n, {
|
|
1406
1414
|
class: "mwnf-standalone-refine__button mwnf-standalone-refine__button--new",
|
|
1407
1415
|
to: e.newSearch
|
|
1408
1416
|
}, {
|
|
1409
|
-
default:
|
|
1417
|
+
default: z(() => [h(A(e.newSearchLabel), 1)]),
|
|
1410
1418
|
_: 1
|
|
1411
1419
|
}, 8, ["to"])
|
|
1412
1420
|
])], 32));
|
|
1413
1421
|
}
|
|
1414
|
-
},
|
|
1422
|
+
}, qn = { class: "mwnf-standalone-item__back mwnf-standalone-pl__back" }, Jn = { class: "mwnf-standalone-pl__heads" }, Yn = { class: "mwnf-standalone-pl__head" }, Xn = { key: 0 }, Zn = ["onClick"], Qn = { class: "mwnf-standalone-pl__row" }, $n = { class: "mwnf-standalone-pl__main" }, er = { class: "mwnf-standalone-pl__associated" }, tr = {
|
|
1415
1423
|
key: 0,
|
|
1416
1424
|
class: "mwnf-standalone-pl__none"
|
|
1417
|
-
},
|
|
1425
|
+
}, nr = {
|
|
1418
1426
|
__name: "PartnerList",
|
|
1419
1427
|
props: {
|
|
1420
1428
|
type: {
|
|
@@ -1443,56 +1451,56 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
1443
1451
|
}
|
|
1444
1452
|
},
|
|
1445
1453
|
setup(e) {
|
|
1446
|
-
let t = e, r = l(() => t.type === "museum"), i =
|
|
1447
|
-
|
|
1454
|
+
let t = e, r = l(() => t.type === "museum"), i = D(null), a = D(/* @__PURE__ */ new Set());
|
|
1455
|
+
R([r, () => t.groups.length], () => {
|
|
1448
1456
|
i.value = r.value ? null : 0, a.value = r.value ? /* @__PURE__ */ new Set() : new Set(t.groups.map((e, t) => t));
|
|
1449
1457
|
}, { immediate: !0 });
|
|
1450
1458
|
function o(e) {
|
|
1451
1459
|
let t = i.value === e;
|
|
1452
1460
|
i.value = t ? null : e, a.value = t ? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set([e]);
|
|
1453
1461
|
}
|
|
1454
|
-
return (t, s) => (
|
|
1455
|
-
p("p",
|
|
1462
|
+
return (t, s) => (T(), f("div", { class: b(["mwnf-standalone-pl", r.value ? "mwnf-standalone-pl--museums" : "mwnf-standalone-pl--institutions"]) }, [
|
|
1463
|
+
p("p", qn, [(T(!0), f(c, null, O(e.back, (e) => (T(), f(c, { key: e.label }, [e.history ? (T(), f("button", {
|
|
1456
1464
|
key: 0,
|
|
1457
1465
|
type: "button",
|
|
1458
1466
|
class: "mwnf-standalone-item__back-link",
|
|
1459
1467
|
onClick: s[0] ||= (e) => t.$router.back()
|
|
1460
|
-
},
|
|
1468
|
+
}, A(e.label), 1)) : (T(), u(n, {
|
|
1461
1469
|
key: 1,
|
|
1462
1470
|
class: "mwnf-standalone-item__back-link",
|
|
1463
1471
|
to: e.to,
|
|
1464
1472
|
href: e.href
|
|
1465
1473
|
}, {
|
|
1466
|
-
default:
|
|
1474
|
+
default: z(() => [h(A(e.label), 1)]),
|
|
1467
1475
|
_: 2
|
|
1468
|
-
}, 1032, ["to", "href"]))], 64))), 128)),
|
|
1469
|
-
p("div",
|
|
1470
|
-
(
|
|
1476
|
+
}, 1032, ["to", "href"]))], 64))), 128)), k(t.$slots, "back")]),
|
|
1477
|
+
p("div", Jn, [(T(!0), f(c, null, O(e.heads, (e) => (T(), f("h3", { key: e }, A(e), 1))), 128))]),
|
|
1478
|
+
(T(!0), f(c, null, O(e.groups, (t, s) => (T(), f("div", {
|
|
1471
1479
|
key: t.label,
|
|
1472
1480
|
class: "mwnf-standalone-pl__group"
|
|
1473
|
-
}, [p("div",
|
|
1481
|
+
}, [p("div", Yn, [r.value ? (T(), f("h3", Xn, A(t.label), 1)) : d("", !0), p("h3", null, [p("a", {
|
|
1474
1482
|
href: "#",
|
|
1475
1483
|
class: b(["mwnf-standalone-pl__toggle", { "mwnf-standalone-pl__toggle--active": i.value === s }]),
|
|
1476
|
-
onClick:
|
|
1477
|
-
},
|
|
1484
|
+
onClick: V((e) => o(s), ["prevent"])
|
|
1485
|
+
}, A(r.value ? e.seeAssociated : t.label), 11, Zn)])]), B(p("div", Qn, [p("div", $n, [(T(!0), f(c, null, O(t.main, (e) => (T(), f("p", { key: e.id }, [g(n, {
|
|
1478
1486
|
to: e.to,
|
|
1479
1487
|
href: e.href
|
|
1480
1488
|
}, {
|
|
1481
|
-
default:
|
|
1489
|
+
default: z(() => [h(A(e.label), 1)]),
|
|
1482
1490
|
_: 2
|
|
1483
|
-
}, 1032, ["to", "href"])]))), 128))]),
|
|
1491
|
+
}, 1032, ["to", "href"])]))), 128))]), B(p("div", er, [(T(!0), f(c, null, O(t.associated, (e) => (T(), f("p", { key: e.id }, [g(n, {
|
|
1484
1492
|
to: e.to,
|
|
1485
1493
|
href: e.href
|
|
1486
1494
|
}, {
|
|
1487
|
-
default:
|
|
1495
|
+
default: z(() => [h(A(e.label), 1)]),
|
|
1488
1496
|
_: 2
|
|
1489
|
-
}, 1032, ["to", "href"])]))), 128)), r.value && !t.associated.length ? (
|
|
1497
|
+
}, 1032, ["to", "href"])]))), 128)), r.value && !t.associated.length ? (T(), f("p", tr, A(e.noAssociated), 1)) : d("", !0)], 512), [[L, !r.value || a.value.has(s)]])], 512), [[L, r.value || a.value.has(s)]])]))), 128))
|
|
1490
1498
|
], 2));
|
|
1491
1499
|
}
|
|
1492
|
-
},
|
|
1500
|
+
}, rr = { class: "mwnf-standalone-item__back mwnf-standalone-sp__back" }, ir = {
|
|
1493
1501
|
key: 0,
|
|
1494
1502
|
class: "mwnf-standalone-sp__heading"
|
|
1495
|
-
},
|
|
1503
|
+
}, ar = ["innerHTML"], or = { class: "mwnf-standalone-sp__text" }, sr = { key: 0 }, cr = { key: 1 }, lr = { key: 2 }, ur = ["href"], dr = ["innerHTML"], fr = { class: "mwnf-standalone-sp__logo" }, pr = { key: 0 }, mr = ["src", "alt"], hr = {
|
|
1496
1504
|
__name: "SponsorList",
|
|
1497
1505
|
props: {
|
|
1498
1506
|
heading: {
|
|
@@ -1511,65 +1519,155 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
1511
1519
|
setup(e) {
|
|
1512
1520
|
let t = e, r = l(() => t.rows.some((e) => e.label !== void 0)), i = l(() => t.rows.map((e) => ({
|
|
1513
1521
|
...e,
|
|
1514
|
-
labelHtml: e.label ?
|
|
1515
|
-
remarksHtml: e.remarks ?
|
|
1522
|
+
labelHtml: e.label ? W(e.label) : "",
|
|
1523
|
+
remarksHtml: e.remarks ? W(e.remarks) : ""
|
|
1516
1524
|
})));
|
|
1517
|
-
return (t, a) => (
|
|
1518
|
-
p("p",
|
|
1525
|
+
return (t, a) => (T(), f("div", { class: b(["mwnf-standalone-sp", { "mwnf-standalone-sp--labels": r.value }]) }, [
|
|
1526
|
+
p("p", rr, [(T(!0), f(c, null, O(e.back, (e) => (T(), f(c, { key: e.label }, [e.history ? (T(), f("button", {
|
|
1519
1527
|
key: 0,
|
|
1520
1528
|
type: "button",
|
|
1521
1529
|
class: "mwnf-standalone-item__back-link",
|
|
1522
1530
|
onClick: a[0] ||= (e) => t.$router.back()
|
|
1523
|
-
},
|
|
1531
|
+
}, A(e.label), 1)) : (T(), u(n, {
|
|
1524
1532
|
key: 1,
|
|
1525
1533
|
class: "mwnf-standalone-item__back-link",
|
|
1526
1534
|
to: e.to,
|
|
1527
1535
|
href: e.href
|
|
1528
1536
|
}, {
|
|
1529
|
-
default:
|
|
1537
|
+
default: z(() => [h(A(e.label), 1)]),
|
|
1530
1538
|
_: 2
|
|
1531
1539
|
}, 1032, ["to", "href"]))], 64))), 128))]),
|
|
1532
|
-
e.heading ? (
|
|
1533
|
-
(
|
|
1540
|
+
e.heading ? (T(), f("h3", ir, A(e.heading), 1)) : d("", !0),
|
|
1541
|
+
(T(!0), f(c, null, O(i.value, (e, t) => (T(), f("div", {
|
|
1534
1542
|
key: t,
|
|
1535
1543
|
class: "mwnf-standalone-sp__row"
|
|
1536
1544
|
}, [
|
|
1537
|
-
r.value ? (
|
|
1545
|
+
r.value ? (T(), f("div", {
|
|
1538
1546
|
key: 0,
|
|
1539
1547
|
class: "mwnf-standalone-sp__label",
|
|
1540
1548
|
innerHTML: e.labelHtml
|
|
1541
|
-
}, null, 8,
|
|
1542
|
-
p("div",
|
|
1543
|
-
e.region ? (
|
|
1544
|
-
e.name ? (
|
|
1545
|
-
e.web ? (
|
|
1549
|
+
}, null, 8, ar)) : d("", !0),
|
|
1550
|
+
p("div", or, [
|
|
1551
|
+
e.region ? (T(), f("p", sr, A(e.region), 1)) : d("", !0),
|
|
1552
|
+
e.name ? (T(), f("p", cr, A(e.name), 1)) : d("", !0),
|
|
1553
|
+
e.web ? (T(), f("p", lr, [p("a", {
|
|
1546
1554
|
href: `http://${e.web}`,
|
|
1547
1555
|
target: "_blank",
|
|
1548
1556
|
rel: "noopener"
|
|
1549
|
-
},
|
|
1550
|
-
e.remarksHtml ? (
|
|
1557
|
+
}, A(e.web), 9, ur)])) : d("", !0),
|
|
1558
|
+
e.remarksHtml ? (T(), f("div", {
|
|
1551
1559
|
key: 3,
|
|
1552
1560
|
class: "mwnf-standalone-sp__remarks",
|
|
1553
1561
|
innerHTML: e.remarksHtml
|
|
1554
|
-
}, null, 8,
|
|
1562
|
+
}, null, 8, dr)) : d("", !0)
|
|
1555
1563
|
]),
|
|
1556
|
-
p("div",
|
|
1564
|
+
p("div", fr, [e.logo ? (T(), f("p", pr, [p("img", {
|
|
1557
1565
|
src: e.logo,
|
|
1558
1566
|
alt: e.name
|
|
1559
|
-
}, null, 8,
|
|
1567
|
+
}, null, 8, mr)])) : d("", !0)])
|
|
1560
1568
|
]))), 128))
|
|
1561
1569
|
], 2));
|
|
1562
1570
|
}
|
|
1563
|
-
},
|
|
1571
|
+
}, gr = { class: "mwnf-standalone-pe" }, _r = { class: "mwnf-standalone-pe__box" }, vr = { class: "mwnf-standalone-pe__name" }, yr = { class: "mwnf-standalone-pe__links" }, br = {
|
|
1572
|
+
key: 0,
|
|
1573
|
+
class: "mwnf-standalone-pe__about"
|
|
1574
|
+
}, xr = ["aria-expanded", "onClick"], Sr = {
|
|
1575
|
+
key: 1,
|
|
1576
|
+
class: "mwnf-standalone-pe__popup",
|
|
1577
|
+
role: "dialog"
|
|
1578
|
+
}, Cr = ["aria-label"], wr = {
|
|
1579
|
+
viewBox: "0 0 24 24",
|
|
1580
|
+
width: "21",
|
|
1581
|
+
height: "21",
|
|
1582
|
+
"aria-hidden": "true"
|
|
1583
|
+
}, Tr = ["id"], Er = ["mask"], Dr = ["innerHTML"], Or = {
|
|
1584
|
+
__name: "PartnersEntrance",
|
|
1585
|
+
props: {
|
|
1586
|
+
projects: {
|
|
1587
|
+
type: Array,
|
|
1588
|
+
default: () => []
|
|
1589
|
+
},
|
|
1590
|
+
aboutLabel: {
|
|
1591
|
+
type: String,
|
|
1592
|
+
default: ""
|
|
1593
|
+
},
|
|
1594
|
+
closeLabel: {
|
|
1595
|
+
type: String,
|
|
1596
|
+
default: ""
|
|
1597
|
+
}
|
|
1598
|
+
},
|
|
1599
|
+
setup(e) {
|
|
1600
|
+
let t = e, r = l(() => t.projects.map((e) => ({
|
|
1601
|
+
...e,
|
|
1602
|
+
aboutHtml: e.about ? W(e.about) : ""
|
|
1603
|
+
}))), i = D(-1);
|
|
1604
|
+
function a() {
|
|
1605
|
+
i.value = -1;
|
|
1606
|
+
}
|
|
1607
|
+
function o(e) {
|
|
1608
|
+
e.key === "Escape" && a();
|
|
1609
|
+
}
|
|
1610
|
+
return R(i, (e) => {
|
|
1611
|
+
typeof document > "u" || (e >= 0 ? document.addEventListener("keydown", o) : document.removeEventListener("keydown", o));
|
|
1612
|
+
}), C(() => {
|
|
1613
|
+
typeof document < "u" && document.removeEventListener("keydown", o);
|
|
1614
|
+
}), (t, o) => (T(), f("div", gr, [i.value >= 0 ? (T(), f("div", {
|
|
1615
|
+
key: 0,
|
|
1616
|
+
class: "mwnf-standalone-pe__shade",
|
|
1617
|
+
onClick: a
|
|
1618
|
+
})) : d("", !0), (T(!0), f(c, null, O(r.value, (t, r) => (T(), f("div", {
|
|
1619
|
+
key: r,
|
|
1620
|
+
class: "mwnf-standalone-pe__row"
|
|
1621
|
+
}, [p("div", _r, [p("h3", vr, A(t.name), 1)]), p("div", yr, [
|
|
1622
|
+
o[1] ||= p("p", { "aria-hidden": "true" }, "\xA0", -1),
|
|
1623
|
+
t.aboutHtml ? (T(), f("p", br, [p("button", {
|
|
1624
|
+
type: "button",
|
|
1625
|
+
"aria-expanded": i.value === r,
|
|
1626
|
+
onClick: (e) => i.value = r
|
|
1627
|
+
}, A(e.aboutLabel), 9, xr)])) : d("", !0),
|
|
1628
|
+
i.value === r ? (T(), f("div", Sr, [p("button", {
|
|
1629
|
+
type: "button",
|
|
1630
|
+
class: "mwnf-standalone-pe__close",
|
|
1631
|
+
"aria-label": e.closeLabel || void 0,
|
|
1632
|
+
onClick: a
|
|
1633
|
+
}, [(T(), f("svg", wr, [p("mask", { id: `mwnf-standalone-pe-x${r}` }, [...o[0] ||= [p("rect", {
|
|
1634
|
+
width: "24",
|
|
1635
|
+
height: "24",
|
|
1636
|
+
fill: "#fff"
|
|
1637
|
+
}, null, -1), p("path", {
|
|
1638
|
+
d: "M8 8l8 8M16 8l-8 8",
|
|
1639
|
+
stroke: "#000",
|
|
1640
|
+
"stroke-width": "3",
|
|
1641
|
+
"stroke-linecap": "round"
|
|
1642
|
+
}, null, -1)]], 8, Tr), p("circle", {
|
|
1643
|
+
cx: "12",
|
|
1644
|
+
cy: "12",
|
|
1645
|
+
r: "12",
|
|
1646
|
+
fill: "currentColor",
|
|
1647
|
+
mask: `url(#mwnf-standalone-pe-x${r})`
|
|
1648
|
+
}, null, 8, Er)]))], 8, Cr), p("div", {
|
|
1649
|
+
class: "mwnf-standalone-pe__text",
|
|
1650
|
+
innerHTML: t.aboutHtml
|
|
1651
|
+
}, null, 8, Dr)])) : d("", !0),
|
|
1652
|
+
(T(!0), f(c, null, O(t.links, (e) => (T(), f("p", { key: e.label }, [g(n, {
|
|
1653
|
+
to: e.to,
|
|
1654
|
+
href: e.href
|
|
1655
|
+
}, {
|
|
1656
|
+
default: z(() => [h(A(e.label), 1)]),
|
|
1657
|
+
_: 2
|
|
1658
|
+
}, 1032, ["to", "href"])]))), 128))
|
|
1659
|
+
])]))), 128))]));
|
|
1660
|
+
}
|
|
1661
|
+
}, kr = { class: "mwnf-standalone-db__criteria" }, Ar = { class: "mwnf-standalone-db__head mwnf-standalone-db__head--keywords" }, jr = { class: "mwnf-standalone-db__head mwnf-standalone-db__head--category" }, Mr = {
|
|
1564
1662
|
key: 0,
|
|
1565
1663
|
class: "mwnf-standalone-db__aside"
|
|
1566
|
-
},
|
|
1664
|
+
}, Nr = ["onUpdate:modelValue", "aria-label"], Pr = { value: "AND" }, Fr = { value: "OR" }, Ir = ["onUpdate:modelValue", "aria-label"], Lr = ["onUpdate:modelValue"], Rr = ["value"], zr = { class: "mwnf-standalone-db__label mwnf-standalone-db__label--date" }, Br = { class: "mwnf-standalone-db__dates" }, Vr = ["aria-label"], Hr = { value: "" }, Ur = ["value"], Wr = ["aria-label"], Gr = { value: "" }, Kr = ["value"], qr = { class: "mwnf-standalone-db__label mwnf-standalone-db__label--language" }, Jr = { class: "mwnf-standalone-db__language" }, Yr = ["aria-label"], Xr = ["value"], Zr = {
|
|
1567
1665
|
key: 1,
|
|
1568
1666
|
class: "mwnf-standalone-db__options"
|
|
1569
|
-
},
|
|
1667
|
+
}, Qr = { class: "mwnf-standalone-db__go" }, $r = { type: "submit" }, ei = {
|
|
1570
1668
|
key: 2,
|
|
1571
1669
|
class: "mwnf-standalone-db__listing"
|
|
1572
|
-
},
|
|
1670
|
+
}, ti = ["href", "title"], ni = {
|
|
1573
1671
|
__name: "DatabaseForm",
|
|
1574
1672
|
props: /*@__PURE__*/ v({
|
|
1575
1673
|
labels: {
|
|
@@ -1605,7 +1703,7 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
1605
1703
|
}),
|
|
1606
1704
|
emits: /*@__PURE__*/ v(["search"], ["update:language"]),
|
|
1607
1705
|
setup(e, { emit: t }) {
|
|
1608
|
-
let n = e, r =
|
|
1706
|
+
let n = e, r = N(e, "language"), i = t, a = P(), o = E([
|
|
1609
1707
|
{
|
|
1610
1708
|
keyword: "",
|
|
1611
1709
|
field: n.fields[0]?.value ?? "",
|
|
@@ -1621,7 +1719,7 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
1621
1719
|
field: n.fields[0]?.value ?? "",
|
|
1622
1720
|
cond: "AND"
|
|
1623
1721
|
}
|
|
1624
|
-
]), s =
|
|
1722
|
+
]), s = E({
|
|
1625
1723
|
from: "",
|
|
1626
1724
|
to: ""
|
|
1627
1725
|
}), u = l(() => !!a.options), m = (e) => typeof e == "object" ? e : {
|
|
@@ -1638,63 +1736,63 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
1638
1736
|
to: s.to
|
|
1639
1737
|
});
|
|
1640
1738
|
}
|
|
1641
|
-
return (t, n) => (
|
|
1739
|
+
return (t, n) => (T(), f("form", {
|
|
1642
1740
|
class: b(["mwnf-standalone-db", { "mwnf-standalone-db--options": u.value }]),
|
|
1643
|
-
onSubmit:
|
|
1741
|
+
onSubmit: V(_, ["prevent"])
|
|
1644
1742
|
}, [
|
|
1645
|
-
p("h3",
|
|
1646
|
-
p("p",
|
|
1647
|
-
p("p",
|
|
1648
|
-
t.$slots.aside ? (
|
|
1649
|
-
(
|
|
1650
|
-
n ?
|
|
1743
|
+
p("h3", kr, A(e.labels.criteria), 1),
|
|
1744
|
+
p("p", Ar, A(e.labels.keywords), 1),
|
|
1745
|
+
p("p", jr, A(e.labels.category), 1),
|
|
1746
|
+
t.$slots.aside ? (T(), f("p", Mr, [k(t.$slots, "aside")])) : d("", !0),
|
|
1747
|
+
(T(!0), f(c, null, O(o, (t, n) => (T(), f(c, { key: n }, [
|
|
1748
|
+
n ? B((T(), f("select", {
|
|
1651
1749
|
key: 0,
|
|
1652
1750
|
"onUpdate:modelValue": (e) => t.cond = e,
|
|
1653
1751
|
class: b(["mwnf-standalone-db__cond", `mwnf-standalone-db__row-${n + 1}`]),
|
|
1654
1752
|
"aria-label": `${e.labels.and} / ${e.labels.or}`
|
|
1655
|
-
}, [p("option",
|
|
1656
|
-
|
|
1753
|
+
}, [p("option", Pr, A(e.labels.and), 1), p("option", Fr, A(e.labels.or), 1)], 10, Nr)), [[F, t.cond]]) : d("", !0),
|
|
1754
|
+
B(p("input", {
|
|
1657
1755
|
"onUpdate:modelValue": (e) => t.keyword = e,
|
|
1658
1756
|
type: "text",
|
|
1659
1757
|
class: b(["mwnf-standalone-db__keyword", `mwnf-standalone-db__row-${n + 1}`]),
|
|
1660
1758
|
"aria-label": e.labels.keywords
|
|
1661
|
-
}, null, 10,
|
|
1662
|
-
p("label", { class: b(["mwnf-standalone-db__field", `mwnf-standalone-db__row-${n + 1}`]) }, [p("span", null,
|
|
1759
|
+
}, null, 10, Ir), [[I, t.keyword]]),
|
|
1760
|
+
p("label", { class: b(["mwnf-standalone-db__field", `mwnf-standalone-db__row-${n + 1}`]) }, [p("span", null, A(e.labels.in), 1), B(p("select", { "onUpdate:modelValue": (e) => t.field = e }, [(T(!0), f(c, null, O(e.fields, (e) => (T(), f("option", {
|
|
1663
1761
|
key: e.value,
|
|
1664
1762
|
value: e.value
|
|
1665
|
-
},
|
|
1763
|
+
}, A(e.label), 9, Rr))), 128))], 8, Lr), [[F, t.field]])], 2)
|
|
1666
1764
|
], 64))), 128)),
|
|
1667
|
-
p("span",
|
|
1668
|
-
p("p",
|
|
1765
|
+
p("span", zr, A(e.labels.date), 1),
|
|
1766
|
+
p("p", Br, [B(p("select", {
|
|
1669
1767
|
"onUpdate:modelValue": n[0] ||= (e) => s.from = e,
|
|
1670
1768
|
"aria-label": `${e.labels.date} ${e.labels.from}`
|
|
1671
|
-
}, [p("option",
|
|
1769
|
+
}, [p("option", Hr, A(e.labels.from), 1), (T(!0), f(c, null, O(h.value, (e) => (T(), f("option", {
|
|
1672
1770
|
key: e.value,
|
|
1673
1771
|
value: e.value
|
|
1674
|
-
},
|
|
1772
|
+
}, A(e.label), 9, Ur))), 128))], 8, Vr), [[F, s.from]]), B(p("select", {
|
|
1675
1773
|
"onUpdate:modelValue": n[1] ||= (e) => s.to = e,
|
|
1676
1774
|
"aria-label": `${e.labels.date} ${e.labels.to}`
|
|
1677
|
-
}, [p("option",
|
|
1775
|
+
}, [p("option", Gr, A(e.labels.to), 1), (T(!0), f(c, null, O(g.value, (e) => (T(), f("option", {
|
|
1678
1776
|
key: e.value,
|
|
1679
1777
|
value: e.value
|
|
1680
|
-
},
|
|
1681
|
-
p("span",
|
|
1682
|
-
p("p",
|
|
1778
|
+
}, A(e.label), 9, Kr))), 128))], 8, Wr), [[F, s.to]])]),
|
|
1779
|
+
p("span", qr, A(e.labels.language), 1),
|
|
1780
|
+
p("p", Jr, [B(p("select", {
|
|
1683
1781
|
"onUpdate:modelValue": n[2] ||= (e) => r.value = e,
|
|
1684
1782
|
"aria-label": e.labels.language
|
|
1685
|
-
}, [n[3] ||= p("option", { value: "" }, null, -1), (
|
|
1783
|
+
}, [n[3] ||= p("option", { value: "" }, null, -1), (T(!0), f(c, null, O(e.languages, (e) => (T(), f("option", {
|
|
1686
1784
|
key: e.code,
|
|
1687
1785
|
value: e.code
|
|
1688
|
-
},
|
|
1689
|
-
u.value ? (
|
|
1690
|
-
p("p",
|
|
1691
|
-
e.listingHref ? (
|
|
1786
|
+
}, A(e.name), 9, Xr))), 128))], 8, Yr), [[F, r.value]])]),
|
|
1787
|
+
u.value ? (T(), f("p", Zr, [k(t.$slots, "options")])) : d("", !0),
|
|
1788
|
+
p("p", Qr, [p("button", $r, A(e.labels.go), 1)]),
|
|
1789
|
+
e.listingHref ? (T(), f("p", ei, [p("a", {
|
|
1692
1790
|
href: e.listingHref,
|
|
1693
1791
|
title: e.labels.listingTooltip
|
|
1694
|
-
},
|
|
1792
|
+
}, A(e.labels.listing), 9, ti)])) : d("", !0)
|
|
1695
1793
|
], 34));
|
|
1696
1794
|
}
|
|
1697
|
-
},
|
|
1795
|
+
}, ri = { class: "mwnf-standalone-tle__country" }, ii = ["aria-label"], ai = { value: "none" }, oi = { value: "" }, si = ["value"], ci = { class: "mwnf-standalone-tle__date" }, li = ["aria-label"], ui = { value: "none" }, di = ["value"], fi = { class: "mwnf-standalone-tle__date" }, pi = ["aria-label"], mi = { value: "none" }, hi = ["value"], gi = { class: "mwnf-standalone-tle__go" }, _i = { type: "submit" }, vi = {
|
|
1698
1796
|
__name: "TimelineEntrance",
|
|
1699
1797
|
props: {
|
|
1700
1798
|
labels: {
|
|
@@ -1720,7 +1818,7 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
1720
1818
|
},
|
|
1721
1819
|
emits: ["search"],
|
|
1722
1820
|
setup(e, { emit: t }) {
|
|
1723
|
-
let n = e, r = t, i =
|
|
1821
|
+
let n = e, r = t, i = E({
|
|
1724
1822
|
country: "none",
|
|
1725
1823
|
start: "none",
|
|
1726
1824
|
end: "none"
|
|
@@ -1736,42 +1834,46 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
1736
1834
|
}
|
|
1737
1835
|
r("search", { ...i });
|
|
1738
1836
|
}
|
|
1739
|
-
return (t, n) => (
|
|
1837
|
+
return (t, n) => (T(), f("form", {
|
|
1740
1838
|
class: "mwnf-standalone-tle",
|
|
1741
|
-
onSubmit:
|
|
1839
|
+
onSubmit: V(o, ["prevent"])
|
|
1742
1840
|
}, [
|
|
1743
|
-
p("p",
|
|
1841
|
+
p("p", ri, [B(p("select", {
|
|
1744
1842
|
"onUpdate:modelValue": n[0] ||= (e) => i.country = e,
|
|
1745
1843
|
"aria-label": e.labels.selectCountry
|
|
1746
1844
|
}, [
|
|
1747
|
-
p("option",
|
|
1748
|
-
p("option",
|
|
1749
|
-
(
|
|
1845
|
+
p("option", ai, A(e.labels.selectCountry), 1),
|
|
1846
|
+
p("option", oi, A(e.labels.allCountries), 1),
|
|
1847
|
+
(T(!0), f(c, null, O(e.countries, (e) => (T(), f("option", {
|
|
1750
1848
|
key: e.value,
|
|
1751
1849
|
value: e.value
|
|
1752
|
-
},
|
|
1753
|
-
], 8,
|
|
1754
|
-
p("p",
|
|
1850
|
+
}, A(e.label), 9, si))), 128))
|
|
1851
|
+
], 8, ii), [[F, i.country]])]),
|
|
1852
|
+
p("p", ci, [B(p("select", {
|
|
1755
1853
|
"onUpdate:modelValue": n[1] ||= (e) => i.start = e,
|
|
1756
1854
|
"aria-label": e.labels.startDate
|
|
1757
|
-
}, [p("option",
|
|
1855
|
+
}, [p("option", ui, A(e.labels.startDate), 1), (T(!0), f(c, null, O(e.starts, (e) => (T(), f("option", {
|
|
1758
1856
|
key: e.value,
|
|
1759
1857
|
value: e.value
|
|
1760
|
-
},
|
|
1761
|
-
p("p",
|
|
1858
|
+
}, A(e.label), 9, di))), 128))], 8, li), [[F, i.start]])]),
|
|
1859
|
+
p("p", fi, [B(p("select", {
|
|
1762
1860
|
"onUpdate:modelValue": n[2] ||= (e) => i.end = e,
|
|
1763
1861
|
"aria-label": e.labels.endDate
|
|
1764
|
-
}, [p("option",
|
|
1862
|
+
}, [p("option", mi, A(e.labels.endDate), 1), (T(!0), f(c, null, O(e.ends, (e) => (T(), f("option", {
|
|
1765
1863
|
key: e.value,
|
|
1766
1864
|
value: e.value
|
|
1767
|
-
},
|
|
1768
|
-
p("p",
|
|
1865
|
+
}, A(e.label), 9, hi))), 128))], 8, pi), [[F, i.end]])]),
|
|
1866
|
+
p("p", gi, [p("button", _i, A(e.labels.go), 1)])
|
|
1769
1867
|
], 32));
|
|
1770
1868
|
}
|
|
1771
|
-
},
|
|
1869
|
+
}, yi = {
|
|
1772
1870
|
key: 0,
|
|
1773
1871
|
class: "mwnf-standalone-pages"
|
|
1774
|
-
},
|
|
1872
|
+
}, bi = { class: "mwnf-standalone-pages__previous" }, xi = ["aria-current", "onClick"], Si = { class: "mwnf-standalone-pages__next" }, Ci = {
|
|
1873
|
+
key: 1,
|
|
1874
|
+
class: "mwnf-standalone-pages",
|
|
1875
|
+
"aria-hidden": "true"
|
|
1876
|
+
}, wi = {
|
|
1775
1877
|
__name: "Pagination",
|
|
1776
1878
|
props: {
|
|
1777
1879
|
pageInfo: {
|
|
@@ -1801,44 +1903,44 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
1801
1903
|
function s(e) {
|
|
1802
1904
|
e >= 1 && e <= a.value && e !== i.value && r("navigate", e);
|
|
1803
1905
|
}
|
|
1804
|
-
return (t, n) => a.value > 1 ? (
|
|
1805
|
-
p("span",
|
|
1906
|
+
return (t, n) => a.value > 1 ? (T(), f("nav", yi, [
|
|
1907
|
+
p("span", bi, [i.value > 1 ? (T(), f("a", {
|
|
1806
1908
|
key: 0,
|
|
1807
1909
|
href: "#",
|
|
1808
|
-
onClick: n[0] ||=
|
|
1809
|
-
},
|
|
1810
|
-
(
|
|
1910
|
+
onClick: n[0] ||= V((e) => s(i.value - 1), ["prevent"])
|
|
1911
|
+
}, A(e.previousLabel), 1)) : (T(), f(c, { key: 1 }, [h(A(e.previousLabel), 1)], 64))]),
|
|
1912
|
+
(T(!0), f(c, null, O(o.value, (e) => (T(), f("a", {
|
|
1811
1913
|
key: e,
|
|
1812
1914
|
href: "#",
|
|
1813
1915
|
class: b(["mwnf-standalone-pages__number", { "mwnf-standalone-pages__number--active": e === i.value }]),
|
|
1814
1916
|
"aria-current": e === i.value ? "page" : void 0,
|
|
1815
|
-
onClick:
|
|
1816
|
-
},
|
|
1817
|
-
p("span",
|
|
1917
|
+
onClick: V((t) => s(e), ["prevent"])
|
|
1918
|
+
}, A(e), 11, xi))), 128)),
|
|
1919
|
+
p("span", Si, [i.value < a.value ? (T(), f("a", {
|
|
1818
1920
|
key: 0,
|
|
1819
1921
|
href: "#",
|
|
1820
|
-
onClick: n[1] ||=
|
|
1821
|
-
},
|
|
1822
|
-
])) :
|
|
1922
|
+
onClick: n[1] ||= V((e) => s(i.value + 1), ["prevent"])
|
|
1923
|
+
}, A(e.nextLabel), 1)) : (T(), f(c, { key: 1 }, [h(A(e.nextLabel), 1)], 64))])
|
|
1924
|
+
])) : (T(), f("div", Ci));
|
|
1823
1925
|
}
|
|
1824
|
-
},
|
|
1926
|
+
}, Ti = { class: "mwnf-standalone-tlr" }, Ei = { class: "mwnf-standalone-tlr__band" }, Di = { class: "mwnf-standalone-tlr__band-inner" }, Oi = { class: "mwnf-standalone-tlr__summary" }, ki = { class: "mwnf-standalone-tlr__selects" }, Ai = ["for"], ji = [
|
|
1825
1927
|
"id",
|
|
1826
1928
|
"value",
|
|
1827
1929
|
"disabled",
|
|
1828
1930
|
"onChange"
|
|
1829
|
-
],
|
|
1931
|
+
], Mi = ["value"], Ni = { class: "mwnf-standalone-item__back mwnf-standalone-tlr__back" }, Pi = {
|
|
1830
1932
|
key: 0,
|
|
1831
1933
|
class: "mwnf-standalone-tlr__heads"
|
|
1832
|
-
},
|
|
1934
|
+
}, Fi = { class: "mwnf-standalone-tlr__body" }, Ii = { class: "mwnf-standalone-tlr__list" }, Li = { class: "mwnf-standalone-tlr__date" }, Ri = { class: "mwnf-standalone-tlr__content" }, zi = ["innerHTML"], Bi = {
|
|
1833
1935
|
key: 0,
|
|
1834
1936
|
class: "mwnf-standalone-tlr__empty"
|
|
1835
|
-
},
|
|
1937
|
+
}, Vi = { class: "mwnf-standalone-tlr__related" }, Hi = {
|
|
1836
1938
|
key: 0,
|
|
1837
1939
|
class: "mwnf-standalone-tlr__panel"
|
|
1838
|
-
},
|
|
1940
|
+
}, Ui = { key: 0 }, Wi = {
|
|
1839
1941
|
key: 1,
|
|
1840
1942
|
class: "mwnf-standalone-tlr__panel"
|
|
1841
|
-
},
|
|
1943
|
+
}, Gi = { class: "mwnf-standalone-tlr__download" }, Ki = {
|
|
1842
1944
|
__name: "TimelineResults",
|
|
1843
1945
|
props: {
|
|
1844
1946
|
heading: {
|
|
@@ -1902,7 +2004,7 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
1902
2004
|
}
|
|
1903
2005
|
function s(e) {
|
|
1904
2006
|
let t = e.currentTarget.closest(".mwnf-standalone-tlr");
|
|
1905
|
-
|
|
2007
|
+
lt(ut({
|
|
1906
2008
|
title: r.download?.title ?? "",
|
|
1907
2009
|
heading: r.download?.line ?? "",
|
|
1908
2010
|
heads: r.heads,
|
|
@@ -1911,8 +2013,8 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
1911
2013
|
dir: t ? getComputedStyle(t).direction : ""
|
|
1912
2014
|
}), r.download?.file ?? "timeline.doc");
|
|
1913
2015
|
}
|
|
1914
|
-
return (t, r) => (
|
|
1915
|
-
p("section",
|
|
2016
|
+
return (t, r) => (T(), f("div", Ti, [
|
|
2017
|
+
p("section", Ei, [p("div", Di, [p("p", Oi, [p("b", null, A(e.heading), 1), h(" | " + A(e.summary), 1)]), p("div", ki, [(T(!0), f(c, null, O(e.selects, (e) => (T(), f("p", { key: e.key }, [p("label", { for: `mwnf-tlr-${e.key}` }, A(e.label), 9, Ai), p("select", {
|
|
1916
2018
|
id: `mwnf-tlr-${e.key}`,
|
|
1917
2019
|
value: e.value,
|
|
1918
2020
|
disabled: e.disabled || void 0,
|
|
@@ -1920,32 +2022,32 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
1920
2022
|
key: e.key,
|
|
1921
2023
|
value: t.target.value
|
|
1922
2024
|
})
|
|
1923
|
-
}, [(
|
|
2025
|
+
}, [(T(!0), f(c, null, O(e.options, (e) => (T(), f("option", {
|
|
1924
2026
|
key: e.value,
|
|
1925
2027
|
value: e.value
|
|
1926
|
-
},
|
|
1927
|
-
p("p",
|
|
2028
|
+
}, A(e.label), 9, Mi))), 128))], 40, ji)]))), 128))])])]),
|
|
2029
|
+
p("p", Ni, [(T(!0), f(c, null, O(e.back, (e) => (T(), f(c, { key: e.label }, [e.history ? (T(), f("button", {
|
|
1928
2030
|
key: 0,
|
|
1929
2031
|
type: "button",
|
|
1930
2032
|
class: "mwnf-standalone-item__back-link",
|
|
1931
2033
|
onClick: r[0] ||= (e) => t.$router.back()
|
|
1932
|
-
},
|
|
2034
|
+
}, A(e.label), 1)) : (T(), u(n, {
|
|
1933
2035
|
key: 1,
|
|
1934
2036
|
class: "mwnf-standalone-item__back-link",
|
|
1935
2037
|
to: e.to,
|
|
1936
2038
|
href: e.href
|
|
1937
2039
|
}, {
|
|
1938
|
-
default:
|
|
2040
|
+
default: z(() => [h(A(e.label), 1)]),
|
|
1939
2041
|
_: 2
|
|
1940
2042
|
}, 1032, ["to", "href"]))], 64))), 128))]),
|
|
1941
|
-
a.value ? (
|
|
1942
|
-
p("div",
|
|
1943
|
-
(
|
|
2043
|
+
a.value ? (T(), f("div", Pi, [p("h3", null, A(e.heads.date), 1), p("h3", null, A(e.heads.countryDescription), 1)])) : d("", !0),
|
|
2044
|
+
p("div", Fi, [p("div", Ii, [
|
|
2045
|
+
(T(!0), f(c, null, O(e.rows, (e) => (T(), f("div", {
|
|
1944
2046
|
key: e.id,
|
|
1945
2047
|
class: "mwnf-standalone-tlr__row"
|
|
1946
|
-
}, [p("div",
|
|
1947
|
-
a.value ? d("", !0) : (
|
|
1948
|
-
e.pageInfo ? (
|
|
2048
|
+
}, [p("div", Li, [p("p", null, [p("span", null, A(e.date), 1)]), k(t.$slots, "media", { row: e })]), p("div", Ri, [p("p", null, [p("span", null, A(e.country), 1)]), p("div", { innerHTML: e.html }, null, 8, zi)])]))), 128)),
|
|
2049
|
+
a.value ? d("", !0) : (T(), f("p", Bi, A(e.empty), 1)),
|
|
2050
|
+
e.pageInfo ? (T(), u(wi, {
|
|
1949
2051
|
key: 1,
|
|
1950
2052
|
"page-info": e.pageInfo,
|
|
1951
2053
|
"previous-label": e.previousLabel,
|
|
@@ -1956,16 +2058,16 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
1956
2058
|
"previous-label",
|
|
1957
2059
|
"next-label"
|
|
1958
2060
|
])) : d("", !0)
|
|
1959
|
-
]), p("aside",
|
|
1960
|
-
p("p", null, [p("strong", null,
|
|
1961
|
-
(
|
|
2061
|
+
]), p("aside", Vi, [e.related ? (T(), f("div", Hi, [
|
|
2062
|
+
p("p", null, [p("strong", null, A(e.related.heading), 1)]),
|
|
2063
|
+
(T(!0), f(c, null, O(e.related.links ?? [], (e) => (T(), f("p", { key: e.label }, [g(n, {
|
|
1962
2064
|
class: "mwnf-standalone-tlr__link",
|
|
1963
2065
|
to: e.to,
|
|
1964
2066
|
href: e.href,
|
|
1965
2067
|
title: e.title,
|
|
1966
2068
|
target: e.target
|
|
1967
2069
|
}, {
|
|
1968
|
-
default:
|
|
2070
|
+
default: z(() => [h(A(e.label), 1)]),
|
|
1969
2071
|
_: 2
|
|
1970
2072
|
}, 1032, [
|
|
1971
2073
|
"to",
|
|
@@ -1973,30 +2075,30 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
1973
2075
|
"title",
|
|
1974
2076
|
"target"
|
|
1975
2077
|
])]))), 128)),
|
|
1976
|
-
e.related.gallery ? (
|
|
2078
|
+
e.related.gallery ? (T(), f("p", Ui, [g(n, {
|
|
1977
2079
|
class: "mwnf-standalone-tlr__link",
|
|
1978
2080
|
to: e.related.gallery.to,
|
|
1979
2081
|
title: e.related.gallery.title
|
|
1980
2082
|
}, {
|
|
1981
|
-
default:
|
|
2083
|
+
default: z(() => [h(A(e.related.gallery.label), 1)]),
|
|
1982
2084
|
_: 1
|
|
1983
2085
|
}, 8, ["to", "title"])])) : d("", !0)
|
|
1984
|
-
])) : d("", !0), e.download ? (
|
|
1985
|
-
p("p",
|
|
2086
|
+
])) : d("", !0), e.download ? (T(), f("div", Wi, [
|
|
2087
|
+
p("p", Gi, A(e.download.heading), 1),
|
|
1986
2088
|
p("p", null, [p("a", {
|
|
1987
2089
|
href: "#",
|
|
1988
2090
|
class: "mwnf-standalone-tlr__link",
|
|
1989
|
-
onClick:
|
|
1990
|
-
},
|
|
2091
|
+
onClick: V(o, ["prevent"])
|
|
2092
|
+
}, A(e.download.pdf), 1)]),
|
|
1991
2093
|
p("p", null, [p("a", {
|
|
1992
2094
|
href: "#",
|
|
1993
2095
|
class: "mwnf-standalone-tlr__link",
|
|
1994
|
-
onClick:
|
|
1995
|
-
},
|
|
2096
|
+
onClick: V(s, ["prevent"])
|
|
2097
|
+
}, A(e.download.word), 1)])
|
|
1996
2098
|
])) : d("", !0)])])
|
|
1997
2099
|
]));
|
|
1998
2100
|
}
|
|
1999
|
-
},
|
|
2101
|
+
}, qi = ["dir"], Ji = { class: "mwnf-standalone-window__box" }, Yi = { class: "mwnf-standalone-window__header" }, Xi = { class: "mwnf-standalone-window__heading" }, Zi = ["aria-label"], Qi = { class: "mwnf-standalone-window__article" }, $ = {
|
|
2000
2102
|
__name: "Window",
|
|
2001
2103
|
props: {
|
|
2002
2104
|
heading: {
|
|
@@ -2016,27 +2118,27 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
2016
2118
|
function t() {
|
|
2017
2119
|
window.opener ? (window.opener.focus(), window.close()) : window.history.back();
|
|
2018
2120
|
}
|
|
2019
|
-
return (n, r) => (
|
|
2121
|
+
return (n, r) => (T(), f("div", {
|
|
2020
2122
|
class: "mwnf-standalone-window",
|
|
2021
2123
|
dir: e.dir || void 0
|
|
2022
|
-
}, [p("div",
|
|
2023
|
-
p("header",
|
|
2124
|
+
}, [p("div", Ji, [
|
|
2125
|
+
p("header", Yi, [p("h1", Xi, A(e.heading), 1), p("button", {
|
|
2024
2126
|
type: "button",
|
|
2025
2127
|
class: "mwnf-standalone-window__close",
|
|
2026
2128
|
"aria-label": e.closeLabel || void 0,
|
|
2027
2129
|
onClick: t
|
|
2028
|
-
}, "×", 8,
|
|
2029
|
-
|
|
2030
|
-
p("article",
|
|
2031
|
-
])], 8,
|
|
2130
|
+
}, "×", 8, Zi)]),
|
|
2131
|
+
k(n.$slots, "before"),
|
|
2132
|
+
p("article", Qi, [k(n.$slots, "default")])
|
|
2133
|
+
])], 8, qi));
|
|
2032
2134
|
}
|
|
2033
|
-
},
|
|
2135
|
+
}, $i = {
|
|
2034
2136
|
class: "mwnf-standalone-hcr__scale",
|
|
2035
2137
|
"aria-hidden": "true"
|
|
2036
|
-
},
|
|
2138
|
+
}, ea = { class: "mwnf-standalone-hcr__years" }, ta = { class: "mwnf-standalone-hcr__body" }, na = { class: "mwnf-standalone-hcr__left" }, ra = { class: "mwnf-standalone-hcr__title" }, ia = ["value", "aria-label"], aa = ["value"], oa = { class: "mwnf-standalone-hcr__title" }, sa = ["value", "aria-label"], ca = ["value"], la = {
|
|
2037
2139
|
key: 0,
|
|
2038
2140
|
class: "mwnf-standalone-hcr__image"
|
|
2039
|
-
},
|
|
2141
|
+
}, ua = ["src", "alt"], da = { key: 1 }, fa = ["innerHTML"], pa = { key: 2 }, ma = { class: "mwnf-standalone-hcr__main" }, ha = ["innerHTML"], ga = {
|
|
2040
2142
|
__name: "HistoricalCrossRef",
|
|
2041
2143
|
props: {
|
|
2042
2144
|
labels: {
|
|
@@ -2096,18 +2198,18 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
2096
2198
|
};
|
|
2097
2199
|
});
|
|
2098
2200
|
});
|
|
2099
|
-
return (t, n) => (
|
|
2201
|
+
return (t, n) => (T(), u($, {
|
|
2100
2202
|
class: "mwnf-standalone-hcr",
|
|
2101
2203
|
heading: e.labels.heading,
|
|
2102
2204
|
"close-label": e.labels.close,
|
|
2103
2205
|
dir: e.dir
|
|
2104
2206
|
}, {
|
|
2105
|
-
before:
|
|
2207
|
+
before: z(() => [p("section", $i, [p("div", ea, [(T(!0), f(c, null, O(i.value, (e) => (T(), f("span", {
|
|
2106
2208
|
key: e.value,
|
|
2107
2209
|
class: b({ "mwnf-standalone-hcr__year--active": e.active })
|
|
2108
|
-
},
|
|
2109
|
-
default:
|
|
2110
|
-
p("p",
|
|
2210
|
+
}, A(e.value), 3))), 128))]), n[2] ||= p("div", { class: "mwnf-standalone-hcr__lines" }, null, -1)])]),
|
|
2211
|
+
default: z(() => [p("div", ta, [p("div", na, [
|
|
2212
|
+
p("p", ra, A(e.labels.country), 1),
|
|
2111
2213
|
p("select", {
|
|
2112
2214
|
value: e.country,
|
|
2113
2215
|
"aria-label": e.labels.country,
|
|
@@ -2115,11 +2217,11 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
2115
2217
|
key: "country",
|
|
2116
2218
|
value: e.target.value
|
|
2117
2219
|
})
|
|
2118
|
-
}, [(
|
|
2220
|
+
}, [(T(!0), f(c, null, O(e.countries, (e) => (T(), f("option", {
|
|
2119
2221
|
key: e.value,
|
|
2120
2222
|
value: e.value
|
|
2121
|
-
},
|
|
2122
|
-
p("p",
|
|
2223
|
+
}, A(e.label), 9, aa))), 128))], 40, ia),
|
|
2224
|
+
p("p", oa, A(e.labels.range), 1),
|
|
2123
2225
|
p("select", {
|
|
2124
2226
|
value: String(e.range),
|
|
2125
2227
|
"aria-label": e.labels.range,
|
|
@@ -2127,25 +2229,25 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
2127
2229
|
key: "start",
|
|
2128
2230
|
value: e.target.value
|
|
2129
2231
|
})
|
|
2130
|
-
}, [(
|
|
2232
|
+
}, [(T(!0), f(c, null, O(e.ranges, (e) => (T(), f("option", {
|
|
2131
2233
|
key: e.value,
|
|
2132
2234
|
value: String(e.value)
|
|
2133
|
-
},
|
|
2134
|
-
e.item ? (
|
|
2135
|
-
e.item.image ? (
|
|
2235
|
+
}, A(e.label), 9, ca))), 128))], 40, sa),
|
|
2236
|
+
e.item ? (T(), f(c, { key: 0 }, [
|
|
2237
|
+
e.item.image ? (T(), f("div", la, [p("img", {
|
|
2136
2238
|
src: e.item.image,
|
|
2137
2239
|
alt: e.item.name
|
|
2138
|
-
}, null, 8,
|
|
2139
|
-
e.item.name ? (
|
|
2140
|
-
e.item.lines?.length ? (
|
|
2240
|
+
}, null, 8, ua)])) : d("", !0),
|
|
2241
|
+
e.item.name ? (T(), f("p", da, [p("strong", { innerHTML: e.item.name }, null, 8, fa)])) : d("", !0),
|
|
2242
|
+
e.item.lines?.length ? (T(), f("p", pa, [(T(!0), f(c, null, O(e.item.lines, (e, t) => (T(), f(c, { key: t }, [h(A(e), 1), n[3] ||= p("br", null, null, -1)], 64))), 128))])) : d("", !0)
|
|
2141
2243
|
], 64)) : d("", !0)
|
|
2142
|
-
]), p("div",
|
|
2244
|
+
]), p("div", ma, [p("h3", null, A(e.heading), 1), (T(!0), f(c, null, O(e.events, (e) => (T(), f("div", {
|
|
2143
2245
|
key: e.id,
|
|
2144
2246
|
class: "mwnf-standalone-hcr__event"
|
|
2145
|
-
}, [p("p", null, [p("b", null,
|
|
2247
|
+
}, [p("p", null, [p("b", null, A(e.date), 1)]), p("div", {
|
|
2146
2248
|
class: "mwnf-standalone-hcr__text",
|
|
2147
2249
|
innerHTML: e.html
|
|
2148
|
-
}, null, 8,
|
|
2250
|
+
}, null, 8, ha)]))), 128))])])]),
|
|
2149
2251
|
_: 1
|
|
2150
2252
|
}, 8, [
|
|
2151
2253
|
"heading",
|
|
@@ -2153,10 +2255,10 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
2153
2255
|
"dir"
|
|
2154
2256
|
]));
|
|
2155
2257
|
}
|
|
2156
|
-
},
|
|
2258
|
+
}, _a = ["disabled", "aria-label"], va = { class: "mwnf-standalone-slider__track" }, ya = ["src", "alt"], ba = {
|
|
2157
2259
|
key: 0,
|
|
2158
2260
|
class: "mwnf-standalone-slider__label"
|
|
2159
|
-
},
|
|
2261
|
+
}, xa = ["disabled", "aria-label"], Sa = {
|
|
2160
2262
|
__name: "Slider",
|
|
2161
2263
|
props: {
|
|
2162
2264
|
slides: {
|
|
@@ -2177,12 +2279,12 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
2177
2279
|
}
|
|
2178
2280
|
},
|
|
2179
2281
|
setup(e) {
|
|
2180
|
-
let t = e, { t: r } = q(), i = Y(), a =
|
|
2282
|
+
let t = e, { t: r } = q(), i = Y(), a = D(0), o = l(() => Math.max(0, t.slides.length - t.visible)), s = l(() => t.slides.slice(a.value, a.value + t.visible).map((e) => ({
|
|
2181
2283
|
...e,
|
|
2182
2284
|
image: i(e.image) ?? "",
|
|
2183
2285
|
label: e.label ? r(e.label) : ""
|
|
2184
2286
|
})));
|
|
2185
|
-
return (t, i) => e.slides.length ? (
|
|
2287
|
+
return (t, i) => e.slides.length ? (T(), f("div", {
|
|
2186
2288
|
key: 0,
|
|
2187
2289
|
class: "mwnf-standalone-slider",
|
|
2188
2290
|
style: S({ "--mwnf-standalone-slider-count": e.visible })
|
|
@@ -2191,39 +2293,39 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
2191
2293
|
type: "button",
|
|
2192
2294
|
class: "mwnf-standalone-slider__button",
|
|
2193
2295
|
disabled: a.value === 0,
|
|
2194
|
-
"aria-label":
|
|
2296
|
+
"aria-label": j(r)(e.previousLabel),
|
|
2195
2297
|
onClick: i[0] ||= (e) => a.value = Math.max(0, a.value - 1)
|
|
2196
|
-
}, "‹", 8,
|
|
2197
|
-
p("ul",
|
|
2298
|
+
}, "‹", 8, _a),
|
|
2299
|
+
p("ul", va, [(T(!0), f(c, null, O(s.value, (e) => (T(), f("li", {
|
|
2198
2300
|
key: e.image,
|
|
2199
2301
|
class: "mwnf-standalone-slider__slide"
|
|
2200
2302
|
}, [g(n, {
|
|
2201
2303
|
to: e.to,
|
|
2202
2304
|
href: e.href
|
|
2203
2305
|
}, {
|
|
2204
|
-
default:
|
|
2306
|
+
default: z(() => [p("img", {
|
|
2205
2307
|
src: e.image,
|
|
2206
2308
|
alt: e.label
|
|
2207
|
-
}, null, 8,
|
|
2309
|
+
}, null, 8, ya), e.label ? (T(), f("span", ba, A(e.label), 1)) : d("", !0)]),
|
|
2208
2310
|
_: 2
|
|
2209
2311
|
}, 1032, ["to", "href"])]))), 128))]),
|
|
2210
2312
|
p("button", {
|
|
2211
2313
|
type: "button",
|
|
2212
2314
|
class: "mwnf-standalone-slider__button",
|
|
2213
2315
|
disabled: a.value >= o.value,
|
|
2214
|
-
"aria-label":
|
|
2316
|
+
"aria-label": j(r)(e.nextLabel),
|
|
2215
2317
|
onClick: i[1] ||= (e) => a.value = Math.min(o.value, a.value + 1)
|
|
2216
|
-
}, "›", 8,
|
|
2318
|
+
}, "›", 8, xa)
|
|
2217
2319
|
], 4)) : d("", !0);
|
|
2218
2320
|
}
|
|
2219
|
-
},
|
|
2321
|
+
}, Ca = { class: "mwnf-standalone-glossary" }, wa = { class: "mwnf-standalone-glossary__intro" }, Ta = { class: "mwnf-standalone-glossary__body" }, Ea = { class: "mwnf-standalone-glossary__field" }, Da = ["aria-expanded", "aria-label"], Oa = {
|
|
2220
2322
|
key: 0,
|
|
2221
2323
|
class: "mwnf-standalone-glossary__suggestions",
|
|
2222
2324
|
role: "listbox"
|
|
2223
|
-
},
|
|
2325
|
+
}, ka = ["aria-selected", "onMousedown"], Aa = {
|
|
2224
2326
|
class: "mwnf-standalone-glossary__result",
|
|
2225
2327
|
"aria-live": "polite"
|
|
2226
|
-
},
|
|
2328
|
+
}, ja = { class: "mwnf-standalone-glossary__label" }, Ma = ["innerHTML"], Na = { class: "mwnf-standalone-glossary__label mwnf-standalone-glossary__label--spellings" }, Pa = { class: "mwnf-standalone-glossary__note" }, Fa = { class: "mwnf-standalone-glossary__spellings" }, Ia = {
|
|
2227
2329
|
__name: "GlossarySpelling",
|
|
2228
2330
|
props: {
|
|
2229
2331
|
language: {
|
|
@@ -2244,11 +2346,11 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
2244
2346
|
}
|
|
2245
2347
|
},
|
|
2246
2348
|
setup(e) {
|
|
2247
|
-
let t = e, n =
|
|
2248
|
-
|
|
2249
|
-
await
|
|
2349
|
+
let t = e, n = oe(), r = te(t.entity), i = l(() => n.availableLanguages(t.entity).slice().sort());
|
|
2350
|
+
w(async () => {
|
|
2351
|
+
await U([t.entity]), await Promise.all(i.value.map((e) => n.loadTranslations(t.entity, e)));
|
|
2250
2352
|
});
|
|
2251
|
-
let a =
|
|
2353
|
+
let a = D(""), o = D(null), s = D(-1), m = (e, r) => n.translations(t.entity, r)[e.id] ?? {}, h = l(() => {
|
|
2252
2354
|
let e = H(a.value.trim());
|
|
2253
2355
|
if (!e || o.value) return [];
|
|
2254
2356
|
let n = /* @__PURE__ */ new Map();
|
|
@@ -2260,7 +2362,7 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
2260
2362
|
spelling: e,
|
|
2261
2363
|
term: t
|
|
2262
2364
|
})).sort((e, t) => H(e.spelling) < H(t.spelling) ? -1 : +(H(e.spelling) > H(t.spelling)));
|
|
2263
|
-
}), g = l(() => o.value ?
|
|
2365
|
+
}), g = l(() => o.value ? W(m(o.value, t.language).definition ?? "") : ""), _ = l(() => {
|
|
2264
2366
|
if (!o.value) return [];
|
|
2265
2367
|
let e = /* @__PURE__ */ new Set(), t = [];
|
|
2266
2368
|
for (let n of i.value) for (let r of m(o.value, n).spellings ?? []) {
|
|
@@ -2279,12 +2381,12 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
2279
2381
|
let t = h.value;
|
|
2280
2382
|
t.length && (e.key === "ArrowDown" ? (e.preventDefault(), s.value = (s.value + 1) % t.length) : e.key === "ArrowUp" ? (e.preventDefault(), s.value = (s.value - 1 + t.length) % t.length) : e.key === "Enter" && s.value >= 0 && (e.preventDefault(), v(t[s.value])));
|
|
2281
2383
|
}
|
|
2282
|
-
return (t, n) => (
|
|
2384
|
+
return (t, n) => (T(), u($, {
|
|
2283
2385
|
heading: e.labels.heading,
|
|
2284
2386
|
"close-label": e.labels.close,
|
|
2285
2387
|
dir: e.dir
|
|
2286
2388
|
}, {
|
|
2287
|
-
default:
|
|
2389
|
+
default: z(() => [p("div", Ca, [p("h2", wa, A(e.labels.intro), 1), p("div", Ta, [p("div", Ea, [B(p("input", {
|
|
2288
2390
|
"onUpdate:modelValue": n[0] ||= (e) => a.value = e,
|
|
2289
2391
|
type: "text",
|
|
2290
2392
|
class: "mwnf-standalone-glossary__input",
|
|
@@ -2294,19 +2396,19 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
2294
2396
|
"aria-label": e.labels.heading,
|
|
2295
2397
|
onInput: y,
|
|
2296
2398
|
onKeydown: x
|
|
2297
|
-
}, null, 40,
|
|
2399
|
+
}, null, 40, Da), [[I, a.value]]), h.value.length ? (T(), f("ul", Oa, [(T(!0), f(c, null, O(h.value, (e, t) => (T(), f("li", {
|
|
2298
2400
|
key: e.spelling,
|
|
2299
2401
|
role: "option",
|
|
2300
2402
|
"aria-selected": t === s.value,
|
|
2301
2403
|
class: b(["mwnf-standalone-glossary__suggestion", { "mwnf-standalone-glossary__suggestion--active": t === s.value }]),
|
|
2302
|
-
onMousedown:
|
|
2303
|
-
},
|
|
2404
|
+
onMousedown: V((t) => v(e), ["prevent"])
|
|
2405
|
+
}, A(e.spelling), 43, ka))), 128))])) : d("", !0)]), p("div", Aa, [o.value ? (T(), f(c, { key: 0 }, [g.value ? (T(), f(c, { key: 0 }, [p("h3", ja, A(e.labels.definition), 1), p("div", {
|
|
2304
2406
|
class: "mwnf-standalone-glossary__definition",
|
|
2305
2407
|
innerHTML: g.value
|
|
2306
|
-
}, null, 8,
|
|
2307
|
-
p("h3",
|
|
2308
|
-
p("p",
|
|
2309
|
-
p("ul",
|
|
2408
|
+
}, null, 8, Ma)], 64)) : d("", !0), _.value.length ? (T(), f(c, { key: 1 }, [
|
|
2409
|
+
p("h3", Na, A(e.labels.spellings), 1),
|
|
2410
|
+
p("p", Pa, A(e.labels.spellingsNote), 1),
|
|
2411
|
+
p("ul", Fa, [(T(!0), f(c, null, O(_.value, (e) => (T(), f("li", { key: e }, A(e), 1))), 128))])
|
|
2310
2412
|
], 64)) : d("", !0)], 64)) : d("", !0)])])])]),
|
|
2311
2413
|
_: 1
|
|
2312
2414
|
}, 8, [
|
|
@@ -2317,4 +2419,4 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
2317
2419
|
}
|
|
2318
2420
|
};
|
|
2319
2421
|
//#endregion
|
|
2320
|
-
export {
|
|
2422
|
+
export { yt as RelatedContent, ue as StandaloneBanner, ni as StandaloneDatabaseForm, Ia as StandaloneGlossarySpelling, ga as StandaloneHistoricalCrossRef, tt as StandaloneHome, Ct as StandaloneItemSheet, wi as StandalonePagination, nr as StandalonePartnerList, Qt as StandalonePartnerPage, Or as StandalonePartnersEntrance, Kn as StandaloneRefine, yn as StandaloneResultsGrid, Bn as StandaloneResultsList, Ie as StandaloneShell, Sa as StandaloneSlider, hr as StandaloneSponsorList, Oe as StandaloneSponsors, on as StandaloneSubNav, nn as StandaloneTextPage, Ze as StandaloneTileGrid, vi as StandaloneTimelineEntrance, Ki as StandaloneTimelineResults, $ as StandaloneWindow, We as TodayHighlight, de as byLanguage, fe as dayOfYear, pe as legacyHomeItemKey, X as pickForDay };
|