@museumwnf/viewer-layout 3.40.0 → 3.41.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.
@@ -2,14 +2,14 @@ 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
3
  import { n as a, t as o } from "./RecordView-kkpYLtL_.js";
4
4
  import { t as s } from "./SiteShell-DPdTxtJ5.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 _, nextTick as v, normalizeClass as y, normalizeProps as b, normalizeStyle as x, onMounted as S, openBlock as C, ref as w, renderList as T, renderSlot as E, toDisplayString as D, unref as O, useId as k, useSlots as A, vModelSelect as j, vModelText as M, vShow as N, watch as P, withCtx as F, withDirectives as I, withModifiers as L } from "vue";
6
- import { byId as R, collate as z, entityRef as B, loadEntities as V, md as H, pictureCredits as ee, picturesInLanguage as te, removeEndingPoint as ne, renderBlock as U, renderInline as W, renderPlain as G, useDataPackage as K, useI18n as q, useSection as re, useSiteConfig as J } from "@museumwnf/viewer-core";
7
- import { useRoute as ie } from "vue-router";
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, onMounted as C, openBlock as w, reactive as T, ref as E, renderList as D, renderSlot as O, toDisplayString as k, unref as A, useId as j, useModel as M, useSlots as N, vModelSelect as P, vModelText as F, vShow as I, watch as L, withCtx as R, withDirectives as z, withModifiers as B } from "vue";
6
+ import { byId as V, collate as H, entityRef as ee, loadEntities as U, md as W, pictureCredits as te, picturesInLanguage as ne, removeEndingPoint as re, renderBlock as G, renderInline as K, renderPlain as q, useDataPackage as J, useI18n as Y, useSection as ie, useSiteConfig as X } from "@museumwnf/viewer-core";
7
+ import { useRoute as ae } from "vue-router";
8
8
  //#region src/standalone/Banner.vue
9
- var ae = {
9
+ var oe = {
10
10
  key: 0,
11
11
  class: "mwnf-standalone-banner__title"
12
- }, Y = {
12
+ }, se = {
13
13
  __name: "Banner",
14
14
  props: {
15
15
  image: {
@@ -22,29 +22,29 @@ var ae = {
22
22
  }
23
23
  },
24
24
  setup(e) {
25
- return (t, n) => (C(), f("div", {
25
+ return (t, n) => (w(), f("div", {
26
26
  class: "mwnf-standalone-banner",
27
- style: x(e.image ? { backgroundImage: `url(${JSON.stringify(e.image)})` } : void 0)
28
- }, [e.title ? (C(), f("h1", ae, [p("span", null, D(e.title), 1)])) : d("", !0)], 4));
27
+ style: S(e.image ? { backgroundImage: `url(${JSON.stringify(e.image)})` } : void 0)
28
+ }, [e.title ? (w(), f("h1", oe, [p("span", null, k(e.title), 1)])) : d("", !0)], 4));
29
29
  }
30
30
  };
31
31
  //#endregion
32
32
  //#region src/standalone/chrome.js
33
- function X() {
34
- let t = J();
33
+ function Z() {
34
+ let t = X();
35
35
  return (n) => e(t.chrome, n);
36
36
  }
37
- function Z(e, t) {
37
+ function ce(e, t) {
38
38
  return !e || typeof e == "string" ? e ?? "" : e[t] ?? e.en ?? Object.values(e)[0] ?? "";
39
39
  }
40
- function oe(e = /* @__PURE__ */ new Date()) {
40
+ function le(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 Q(e, t = /* @__PURE__ */ new Date()) {
45
- return e?.length ? e[oe(t) % e.length] : null;
45
+ return e?.length ? e[le(t) % e.length] : null;
46
46
  }
47
- function se(e) {
47
+ function ue(e) {
48
48
  let [t, ...n] = String(e ?? "").split("*")[0].trim().split(";");
49
49
  return !t || n.length < 5 ? "" : [
50
50
  "mwnf3",
@@ -54,70 +54,70 @@ function se(e) {
54
54
  }
55
55
  //#endregion
56
56
  //#region src/standalone/Sponsors.vue
57
- var ce = { class: "mwnf-standalone-sponsors" }, le = {
57
+ var de = { class: "mwnf-standalone-sponsors" }, fe = {
58
58
  key: 0,
59
59
  class: "mwnf-standalone-sponsors__text"
60
- }, ue = ["innerHTML"], de = { key: 1 }, fe = ["innerHTML"], pe = {
60
+ }, pe = ["innerHTML"], me = { key: 1 }, he = ["innerHTML"], ge = {
61
61
  key: 1,
62
62
  class: "mwnf-standalone-sponsors__title"
63
- }, me = {
63
+ }, _e = {
64
64
  key: 2,
65
65
  class: "mwnf-standalone-sponsors__logos"
66
- }, he = {
66
+ }, ve = {
67
67
  key: 0,
68
68
  class: "mwnf-standalone-sponsors__note"
69
- }, ge = ["src", "alt"], _e = ["innerHTML"], ve = ["href"], ye = ["src", "alt"], be = ["src", "alt"], xe = {
69
+ }, ye = ["src", "alt"], be = ["innerHTML"], xe = ["href"], Se = ["src", "alt"], Ce = ["src", "alt"], we = {
70
70
  key: 3,
71
71
  class: "mwnf-standalone-sponsors__links"
72
- }, Se = {
72
+ }, Te = {
73
73
  __name: "Sponsors",
74
74
  props: { columns: {
75
75
  type: Array,
76
76
  default: () => []
77
77
  } },
78
78
  setup(e) {
79
- let t = e, { t: r } = q(), i = X(), a = l(() => t.columns.map((e, t) => ({
79
+ let t = e, { t: r } = Y(), i = Z(), a = l(() => t.columns.map((e, t) => ({
80
80
  key: t,
81
81
  width: e.width ?? null,
82
- lead: e.lead ? W(r(e.lead)) : "",
83
- text: e.text ? W(r(e.text)) : "",
82
+ lead: e.lead ? K(r(e.lead)) : "",
83
+ text: e.text ? K(r(e.text)) : "",
84
84
  break: !!e.break,
85
85
  title: e.title ? r(e.title) : "",
86
86
  logos: (e.logos ?? []).map((e) => ({
87
87
  src: i(e.src) ?? "",
88
88
  alt: e.alt ? r(e.alt) : "",
89
89
  href: e.href ?? "",
90
- note: e.note ? U(r(e.note)) : ""
90
+ note: e.note ? G(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) => (C(), f("div", ce, [(C(!0), f(c, null, T(a.value, (e) => (C(), f("div", {
97
+ return (e, t) => (w(), f("div", de, [(w(!0), f(c, null, D(a.value, (e) => (w(), f("div", {
98
98
  key: e.key,
99
99
  class: "mwnf-standalone-sponsors__column",
100
- style: x(e.width ? { flexGrow: e.width } : void 0)
100
+ style: S(e.width ? { flexGrow: e.width } : void 0)
101
101
  }, [
102
- e.lead || e.text ? (C(), f("p", le, [
103
- e.lead ? (C(), f("i", {
102
+ e.lead || e.text ? (w(), f("p", fe, [
103
+ e.lead ? (w(), f("i", {
104
104
  key: 0,
105
105
  innerHTML: e.lead
106
- }, null, 8, ue)) : d("", !0),
107
- e.lead && e.break ? (C(), f("br", de)) : e.lead && e.text ? (C(), f(c, { key: 2 }, [h(D(" "))], 64)) : d("", !0),
108
- e.text ? (C(), f("span", {
106
+ }, null, 8, pe)) : d("", !0),
107
+ e.lead && e.break ? (w(), f("br", me)) : e.lead && e.text ? (w(), f(c, { key: 2 }, [h(k(" "))], 64)) : d("", !0),
108
+ e.text ? (w(), f("span", {
109
109
  key: 3,
110
110
  innerHTML: e.text
111
- }, null, 8, fe)) : d("", !0)
111
+ }, null, 8, he)) : d("", !0)
112
112
  ])) : d("", !0),
113
- e.title ? (C(), f("p", pe, D(e.title), 1)) : d("", !0),
114
- e.logos.length ? (C(), f("ul", me, [(C(!0), f(c, null, T(e.logos, (e) => (C(), f("li", { key: e.src }, [e.note ? (C(), f("details", he, [p("summary", null, [p("img", {
113
+ e.title ? (w(), f("p", ge, k(e.title), 1)) : d("", !0),
114
+ e.logos.length ? (w(), f("ul", _e, [(w(!0), f(c, null, D(e.logos, (e) => (w(), f("li", { key: e.src }, [e.note ? (w(), f("details", ve, [p("summary", null, [p("img", {
115
115
  src: e.src,
116
116
  alt: e.alt
117
- }, null, 8, ge)]), p("div", {
117
+ }, null, 8, ye)]), p("div", {
118
118
  class: "mwnf-standalone-sponsors__note-body",
119
119
  innerHTML: e.note
120
- }, null, 8, _e)])) : e.href ? (C(), f("a", {
120
+ }, null, 8, be)])) : e.href ? (w(), f("a", {
121
121
  key: 1,
122
122
  href: e.href,
123
123
  target: "_blank",
@@ -125,17 +125,17 @@ var ce = { class: "mwnf-standalone-sponsors" }, le = {
125
125
  }, [p("img", {
126
126
  src: e.src,
127
127
  alt: e.alt
128
- }, null, 8, ye)], 8, ve)) : (C(), f("img", {
128
+ }, null, 8, Se)], 8, xe)) : (w(), f("img", {
129
129
  key: 2,
130
130
  src: e.src,
131
131
  alt: e.alt
132
- }, null, 8, be))]))), 128))])) : d("", !0),
133
- e.links.length ? (C(), f("ul", xe, [(C(!0), f(c, null, T(e.links, (e) => (C(), f("li", { key: e.label }, [g(n, {
132
+ }, null, 8, Ce))]))), 128))])) : d("", !0),
133
+ e.links.length ? (w(), f("ul", we, [(w(!0), f(c, null, D(e.links, (e) => (w(), 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: F(() => [h(D(e.label), 1)]),
138
+ default: R(() => [h(k(e.label), 1)]),
139
139
  _: 2
140
140
  }, 1032, [
141
141
  "to",
@@ -144,16 +144,16 @@ var ce = { class: "mwnf-standalone-sponsors" }, le = {
144
144
  ])]))), 128))])) : d("", !0)
145
145
  ], 4))), 128))]));
146
146
  }
147
- }, Ce = {
147
+ }, Ee = {
148
148
  key: 0,
149
149
  class: "mwnf-standalone mwnf-standalone--bare"
150
- }, we = { class: "mwnf-banner mwnf-standalone-home-banner" }, Te = ["src"], Ee = { class: "mwnf-standalone-home-banner__text" }, De = {
150
+ }, De = { class: "mwnf-banner mwnf-standalone-home-banner" }, Oe = ["src"], ke = { class: "mwnf-standalone-home-banner__text" }, Ae = {
151
151
  key: 0,
152
152
  class: "mwnf-standalone-home-banner__title"
153
- }, Oe = {
153
+ }, je = {
154
154
  key: 1,
155
155
  class: "mwnf-standalone-home-banner__line"
156
- }, ke = ["src"], Ae = {
156
+ }, Me = ["src"], Ne = {
157
157
  __name: "Shell",
158
158
  props: {
159
159
  language: {
@@ -167,101 +167,101 @@ var ce = { class: "mwnf-standalone-sponsors" }, le = {
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 = ie(), h = l(() => !!c.meta?.bare), _ = J(), v = re(), b = l(() => _.standalone ?? {}), x = l(() => _.navigation ?? {}), S = l(() => v.value === "home"), w = l(() => b.value.areas?.[v.value] ?? null), T = (t) => e(_.chrome, Z(t, o.value)), k = l(() => {
171
- let e = b.value.logo ?? {}, t = T(w.value?.logo ?? e.src);
170
+ let r = t, i = n, { t: a, locale: o } = Y(), c = ae(), h = l(() => !!c.meta?.bare), _ = X(), v = ie(), y = l(() => _.standalone ?? {}), x = l(() => _.navigation ?? {}), S = l(() => v.value === "home"), C = l(() => y.value.areas?.[v.value] ?? null), T = (t) => e(_.chrome, ce(t, o.value)), E = l(() => {
171
+ let e = y.value.logo ?? {}, t = T(C.value?.logo ?? e.src);
172
172
  return t ? {
173
173
  logo: t,
174
174
  alt: e.alt ?? ""
175
175
  } : null;
176
- }), A = l(() => T(b.value.logo?.print)), j = l(() => (b.value.headerLinks ?? []).filter((e) => !e.on || e.on === "all" || e.on === (S.value ? "home" : "inner"))), M = l(() => {
176
+ }), D = l(() => T(y.value.logo?.print)), j = l(() => (y.value.headerLinks ?? []).filter((e) => !e.on || e.on === "all" || e.on === (S.value ? "home" : "inner"))), M = l(() => {
177
177
  let e = {
178
- ...b.value.banner ?? {},
179
- ...w.value?.banner ?? {}
178
+ ...y.value.banner ?? {},
179
+ ...C.value?.banner ?? {}
180
180
  };
181
181
  return T(S.value ? e.home : e.inner) ?? "";
182
182
  }), N = l(() => {
183
183
  let e = x.value.sectionTitles?.[v.value];
184
184
  return e ? a(e) : "";
185
- }), P = l(() => !S.value && !!(M.value || N.value)), I = l(() => {
186
- let { homeTitle: e, homeText: t } = b.value.banner ?? {};
185
+ }), P = l(() => !S.value && !!(M.value || N.value)), F = l(() => {
186
+ let { homeTitle: e, homeText: t } = y.value.banner ?? {};
187
187
  return S.value && (e || t) ? {
188
188
  title: e ? a(e) : "",
189
189
  text: t ? a(t) : ""
190
190
  } : null;
191
- }), L = l(() => {
192
- let e = b.value.sponsors;
191
+ }), I = l(() => {
192
+ let e = y.value.sponsors;
193
193
  return e?.columns?.length && (e.on === "all" || S.value) ? e : null;
194
- }), R = l(() => ({
194
+ }), L = l(() => ({
195
195
  navigation: {
196
196
  ...x.value,
197
197
  headerLinks: j.value,
198
198
  sectionTitles: {},
199
- ...b.value.languages === !1 ? { languages: [] } : {}
199
+ ...y.value.languages === !1 ? { languages: [] } : {}
200
200
  },
201
201
  banner: null,
202
- ...k.value ? { brand: k.value } : {}
203
- })), z = (/* @__PURE__ */ new Date()).getFullYear(), B = l(() => b.value.copyright ? `${a(b.value.copyright)} ${z}` : ""), V = l(() => [
202
+ ...E.value ? { brand: E.value } : {}
203
+ })), z = (/* @__PURE__ */ new Date()).getFullYear(), B = l(() => y.value.copyright ? `${a(y.value.copyright)} ${z}` : ""), V = l(() => [
204
204
  "mwnf-standalone",
205
205
  S.value ? "mwnf-standalone--home" : "mwnf-standalone--inner",
206
- w.value?.class ?? ""
206
+ C.value?.class ?? ""
207
207
  ]);
208
- return (e, t) => h.value ? (C(), f("div", Ce, [E(e.$slots, "default")])) : (C(), u(s, {
208
+ return (e, t) => h.value ? (w(), f("div", Ee, [O(e.$slots, "default")])) : (w(), u(s, {
209
209
  key: 1,
210
- class: y(V.value),
211
- config: R.value,
212
- languages: b.value.languages === !1 ? [] : r.languages,
210
+ class: b(V.value),
211
+ config: L.value,
212
+ languages: y.value.languages === !1 ? [] : r.languages,
213
213
  language: r.language,
214
214
  "language-placement": "header",
215
215
  "language-style": "select",
216
- "header-home": b.value.logo?.href ?? "",
217
- "header-title": S.value ? "" : b.value.heading ? O(a)(b.value.heading) : "",
218
- "header-subtitle": S.value ? "" : b.value.subheading ? O(a)(b.value.subheading) : "",
216
+ "header-home": y.value.logo?.href ?? "",
217
+ "header-title": S.value ? "" : y.value.heading ? A(a)(y.value.heading) : "",
218
+ "header-subtitle": S.value ? "" : y.value.subheading ? A(a)(y.value.subheading) : "",
219
219
  "header-title-href": "#/",
220
- "banner-image": S.value && !I.value ? M.value : "",
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: F(() => [E(e.$slots, "default")]),
224
+ default: R(() => [O(e.$slots, "default")]),
225
225
  _: 2
226
226
  }, [
227
227
  P.value ? {
228
228
  name: "banner",
229
- fn: F(() => [g(Y, {
229
+ fn: R(() => [g(se, {
230
230
  image: M.value,
231
231
  title: N.value
232
232
  }, null, 8, ["image", "title"])]),
233
233
  key: "0"
234
- } : I.value ? {
234
+ } : F.value ? {
235
235
  name: "banner",
236
- fn: F(() => [p("section", we, [M.value ? (C(), f("img", {
236
+ fn: R(() => [p("section", De, [M.value ? (w(), f("img", {
237
237
  key: 0,
238
238
  class: "mwnf-banner__image",
239
239
  src: M.value,
240
240
  alt: ""
241
- }, null, 8, Te)) : d("", !0), p("div", Ee, [I.value.title ? (C(), f("h2", De, [p("i", null, D(I.value.title), 1)])) : d("", !0), I.value.text ? (C(), f("p", Oe, [p("span", null, D(I.value.text), 1)])) : d("", !0)])])]),
241
+ }, null, 8, Oe)) : d("", !0), p("div", ke, [F.value.title ? (w(), f("h2", Ae, [p("i", null, k(F.value.title), 1)])) : d("", !0), F.value.text ? (w(), f("p", je, [p("span", null, k(F.value.text), 1)])) : d("", !0)])])]),
242
242
  key: "1"
243
243
  } : void 0,
244
- A.value ? {
244
+ D.value ? {
245
245
  name: "notice",
246
- fn: F(() => [p("img", {
246
+ fn: R(() => [p("img", {
247
247
  class: "mwnf-standalone__print-logo",
248
- src: A.value,
248
+ src: D.value,
249
249
  alt: ""
250
- }, null, 8, ke)]),
250
+ }, null, 8, Me)]),
251
251
  key: "2"
252
252
  } : void 0,
253
253
  e.$slots.sponsors ? {
254
254
  name: "sponsors",
255
- fn: F(() => [E(e.$slots, "sponsors")]),
255
+ fn: R(() => [O(e.$slots, "sponsors")]),
256
256
  key: "3"
257
- } : L.value ? {
257
+ } : I.value ? {
258
258
  name: "sponsors",
259
- fn: F(() => [g(Se, { columns: L.value.columns }, null, 8, ["columns"])]),
259
+ fn: R(() => [g(Te, { 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: F(() => [E(e.$slots, "footer")]),
264
+ fn: R(() => [O(e.$slots, "footer")]),
265
265
  key: "5"
266
266
  } : void 0
267
267
  ]), 1032, [
@@ -276,19 +276,19 @@ var ce = { class: "mwnf-standalone-sponsors" }, le = {
276
276
  "footer-text"
277
277
  ]));
278
278
  }
279
- }, je = {
279
+ }, Pe = {
280
280
  key: 0,
281
281
  class: "mwnf-standalone-highlight"
282
- }, Me = ["src", "alt"], Ne = {
282
+ }, Fe = ["src", "alt"], Ie = {
283
283
  key: 1,
284
284
  class: "mwnf-standalone-highlight__heading"
285
- }, Pe = { class: "mwnf-standalone-highlight__lines" }, Fe = ["innerHTML"], Ie = {
285
+ }, Le = { class: "mwnf-standalone-highlight__lines" }, Re = ["innerHTML"], ze = {
286
286
  key: 2,
287
287
  class: "mwnf-standalone-highlight__place"
288
- }, Le = {
288
+ }, Be = {
289
289
  key: 3,
290
290
  class: "mwnf-standalone-highlight__action"
291
- }, Re = {
291
+ }, Ve = {
292
292
  __name: "TodayHighlight",
293
293
  props: {
294
294
  record: {
@@ -329,51 +329,51 @@ var ce = { class: "mwnf-standalone-sponsors" }, le = {
329
329
  }
330
330
  },
331
331
  setup(e) {
332
- let t = e, { t: r } = q(), i = (e) => ne(Array.isArray(e) ? e.join("; ") : e), a = l(() => {
332
+ let t = e, { t: r } = Y(), i = (e) => re(Array.isArray(e) ? e.join("; ") : e), a = l(() => {
333
333
  let e = t.text ?? {}, n = [], a = i(e.name ?? t.record?.internal_name ?? "");
334
- a && n.push(W(a));
334
+ a && n.push(K(a));
335
335
  let o = i(e.alternate_name);
336
- o && n.push(`${t.alsoKnownAs ? `${r(t.alsoKnownAs)} ` : ""}${W(o)}`);
336
+ o && n.push(`${t.alsoKnownAs ? `${r(t.alsoKnownAs)} ` : ""}${K(o)}`);
337
337
  let s = [i(e.dates), i(e.dynasty)].filter(Boolean).join(", ");
338
- s && n.push(W(s));
338
+ s && n.push(K(s));
339
339
  for (let t of ["materials", "holder"]) {
340
340
  let r = i(e[t]);
341
- r && n.push(W(r));
341
+ r && n.push(K(r));
342
342
  }
343
343
  return n;
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(() => G(String(t.text?.name ?? t.record?.internal_name ?? "")));
345
- return (t, i) => e.record ? (C(), f("div", je, [
346
- s.value ? (C(), u(n, {
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(() => q(String(t.text?.name ?? t.record?.internal_name ?? "")));
345
+ return (t, i) => e.record ? (w(), f("div", Pe, [
346
+ s.value ? (w(), u(n, {
347
347
  key: 0,
348
348
  class: "mwnf-standalone-highlight__media",
349
349
  to: e.to
350
350
  }, {
351
- default: F(() => [p("img", {
351
+ default: R(() => [p("img", {
352
352
  class: "mwnf-standalone-highlight__image",
353
353
  src: s.value,
354
354
  alt: m.value
355
- }, null, 8, Me)]),
355
+ }, null, 8, Fe)]),
356
356
  _: 1
357
357
  }, 8, ["to"])) : d("", !0),
358
- e.heading ? (C(), f("p", Ne, [p("strong", null, D(O(r)(e.heading)), 1)])) : d("", !0),
359
- p("p", Pe, [(C(!0), f(c, null, T(a.value, (e, t) => (C(), f(c, { key: t }, [p("span", { innerHTML: e }, null, 8, Fe), i[0] ||= p("br", null, null, -1)], 64))), 128))]),
360
- o.value ? (C(), f("p", Ie, D(O(G)(o.value)), 1)) : d("", !0),
361
- e.action ? (C(), f("p", Le, [g(n, { to: e.to }, {
362
- default: F(() => [h(D(O(r)(e.action)), 1)]),
358
+ e.heading ? (w(), f("p", Ie, [p("strong", null, k(A(r)(e.heading)), 1)])) : d("", !0),
359
+ p("p", Le, [(w(!0), f(c, null, D(a.value, (e, t) => (w(), f(c, { key: t }, [p("span", { innerHTML: e }, null, 8, Re), i[0] ||= p("br", null, null, -1)], 64))), 128))]),
360
+ o.value ? (w(), f("p", ze, k(A(q)(o.value)), 1)) : d("", !0),
361
+ e.action ? (w(), f("p", Be, [g(n, { to: e.to }, {
362
+ default: R(() => [h(k(A(r)(e.action)), 1)]),
363
363
  _: 1
364
364
  }, 8, ["to"])])) : d("", !0)
365
365
  ])) : d("", !0);
366
366
  }
367
- }, ze = {
367
+ }, He = {
368
368
  key: 0,
369
369
  class: "mwnf-standalone-tiles"
370
- }, Be = {
370
+ }, Ue = {
371
371
  key: 0,
372
372
  class: "mwnf-standalone-tiles__caption"
373
- }, Ve = { class: "mwnf-standalone-tiles__caption-text" }, He = { class: "mwnf-standalone-tiles__grid" }, Ue = ["src", "alt"], We = {
373
+ }, We = { class: "mwnf-standalone-tiles__caption-text" }, Ge = { class: "mwnf-standalone-tiles__grid" }, Ke = ["src", "alt"], qe = {
374
374
  key: 0,
375
375
  class: "mwnf-standalone-tiles__label"
376
- }, Ge = {
376
+ }, Je = {
377
377
  __name: "TileGrid",
378
378
  props: {
379
379
  caption: {
@@ -386,12 +386,12 @@ var ce = { class: "mwnf-standalone-sponsors" }, le = {
386
386
  }
387
387
  },
388
388
  setup(e) {
389
- let t = e, { t: r } = q(), i = X(), a = l(() => t.items.map((e) => ({
389
+ let t = e, { t: r } = Y(), i = Z(), a = l(() => t.items.map((e) => ({
390
390
  ...e,
391
391
  image: i(e.image) ?? "",
392
- label: e.text ? G(e.text) : e.label ? r(e.label) : ""
392
+ label: e.text ? q(e.text) : e.label ? r(e.label) : ""
393
393
  })));
394
- return (t, i) => a.value.length ? (C(), f("section", ze, [e.caption ? (C(), f("p", Be, [p("span", Ve, D(O(r)(e.caption)), 1)])) : d("", !0), p("ul", He, [(C(!0), f(c, null, T(a.value, (e) => (C(), f("li", {
394
+ return (t, i) => a.value.length ? (w(), f("section", He, [e.caption ? (w(), f("p", Ue, [p("span", We, k(A(r)(e.caption)), 1)])) : d("", !0), p("ul", Ge, [(w(!0), f(c, null, D(a.value, (e) => (w(), f("li", {
395
395
  key: e.image,
396
396
  class: "mwnf-standalone-tiles__tile"
397
397
  }, [g(n, {
@@ -399,64 +399,64 @@ var ce = { class: "mwnf-standalone-sponsors" }, le = {
399
399
  href: e.href,
400
400
  class: "mwnf-standalone-tiles__link"
401
401
  }, {
402
- default: F(() => [p("img", {
402
+ default: R(() => [p("img", {
403
403
  class: "mwnf-standalone-tiles__image",
404
404
  src: e.image,
405
405
  alt: e.label
406
- }, null, 8, Ue), e.label ? (C(), f("span", We, D(e.label), 1)) : d("", !0)]),
406
+ }, null, 8, Ke), e.label ? (w(), f("span", qe, k(e.label), 1)) : d("", !0)]),
407
407
  _: 2
408
408
  }, 1032, ["to", "href"])]))), 128))])])) : d("", !0);
409
409
  }
410
- }, Ke = { class: "mwnf-standalone-home" }, qe = {
410
+ }, Ye = { class: "mwnf-standalone-home" }, Xe = {
411
411
  key: 0,
412
412
  class: "mwnf-standalone-home__links"
413
- }, Je = { key: 1 }, Ye = {
413
+ }, Ze = { key: 1 }, Qe = {
414
414
  __name: "Home",
415
415
  props: { home: {
416
416
  type: Object,
417
417
  default: null
418
418
  } },
419
419
  setup(e) {
420
- let t = e, { t: r, locale: i } = q(), a = J(), o = l(() => t.home ?? a.standalone?.home ?? {}), s = l(() => (o.value.links ?? []).map((e) => ({
420
+ let t = e, { t: r, locale: i } = Y(), a = X(), o = l(() => t.home ?? a.standalone?.home ?? {}), s = l(() => (o.value.links ?? []).map((e) => ({
421
421
  ...e,
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 = K();
426
- p.value?.list?.length && (V(["items", "countries"]), P(i, (e) => {
425
+ }))), p = l(() => o.value.highlight ?? null), m = J();
426
+ p.value?.list?.length && (U(["items", "countries"]), L(i, (e) => {
427
427
  m.loadTranslations("items", e), m.loadTranslations("countries", e);
428
428
  }, { immediate: !0 }));
429
- let _ = R("items", "backward_compatibility"), v = l(() => {
429
+ let _ = V("items", "backward_compatibility"), v = l(() => {
430
430
  let e = p.value?.list ?? [], t = e.indexOf(Q(e));
431
431
  for (let n = 0; t >= 0 && n < e.length; n++) {
432
- let r = _.value.get(se(e[(t + n) % e.length]));
432
+ let r = _.value.get(ue(e[(t + n) % e.length]));
433
433
  if (r) return r;
434
434
  }
435
435
  return null;
436
- }), b = l(() => v.value ? m.tr("items", v.value.id, i.value, "en") : {}), x = l(() => {
436
+ }), y = l(() => v.value ? m.tr("items", v.value.id, i.value, "en") : {}), x = l(() => {
437
437
  let e = v.value?.country_id;
438
438
  return e ? m.tr("countries", e, i.value, "en").name ?? "" : "";
439
- }), S = l(() => v.value && p.value?.place ? p.value.place(v.value, b.value, x.value) : null), w = l(() => v.value ? {
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), O = X(), k = l(() => {
442
+ } : null), T = Z(), E = l(() => {
443
443
  let e = p.value?.pictures ?? [];
444
- return e.length ? O(Q(e)) ?? "" : "";
444
+ return e.length ? T(Q(e)) ?? "" : "";
445
445
  }), A = l(() => {
446
446
  let e = o.value.tiles?.items;
447
447
  return (typeof e == "function" ? e() : e) ?? [];
448
448
  });
449
- return (e, t) => (C(), f("div", Ke, [
450
- s.value.length ? (C(), f("ul", qe, [(C(!0), f(c, null, T(s.value, (e) => (C(), f("li", {
449
+ return (e, t) => (w(), f("div", Ye, [
450
+ s.value.length ? (w(), f("ul", Xe, [(w(!0), f(c, null, D(s.value, (e) => (w(), f("li", {
451
451
  key: e.label,
452
- class: y({ "mwnf-standalone-home__link--gap": e.gap })
452
+ class: b({ "mwnf-standalone-home__link--gap": e.gap })
453
453
  }, [g(n, {
454
454
  to: e.to,
455
455
  href: e.href,
456
456
  external: !!e.external,
457
457
  title: e.title
458
458
  }, {
459
- default: F(() => [e.prefix ? (C(), f(c, { key: 0 }, [h(D(`${e.prefix} `), 1)], 64)) : d("", !0), e.italic ? (C(), f("i", Je, D(e.label), 1)) : (C(), f(c, { key: 2 }, [h(D(e.label), 1)], 64))]),
459
+ default: R(() => [e.prefix ? (w(), f(c, { key: 0 }, [h(k(`${e.prefix} `), 1)], 64)) : d("", !0), e.italic ? (w(), f("i", Ze, k(e.label), 1)) : (w(), f(c, { key: 2 }, [h(k(e.label), 1)], 64))]),
460
460
  _: 2
461
461
  }, 1032, [
462
462
  "to",
@@ -464,14 +464,14 @@ var ce = { class: "mwnf-standalone-sponsors" }, le = {
464
464
  "external",
465
465
  "title"
466
466
  ])], 2))), 128))])) : d("", !0),
467
- p.value ? (C(), u(Re, {
467
+ p.value ? (w(), u(Ve, {
468
468
  key: 1,
469
469
  record: v.value,
470
- text: b.value,
470
+ text: y.value,
471
471
  country: x.value,
472
472
  place: S.value,
473
- to: w.value,
474
- picture: k.value,
473
+ to: C.value,
474
+ picture: E.value,
475
475
  heading: p.value.heading ?? "",
476
476
  "also-known-as": p.value.alsoKnownAs ?? "",
477
477
  action: p.value.action ?? ""
@@ -486,15 +486,15 @@ var ce = { class: "mwnf-standalone-sponsors" }, le = {
486
486
  "also-known-as",
487
487
  "action"
488
488
  ])) : d("", !0),
489
- o.value.tiles ? (C(), u(Ge, {
489
+ o.value.tiles ? (w(), u(Je, {
490
490
  key: 2,
491
491
  caption: o.value.tiles.caption ?? "",
492
492
  items: A.value
493
493
  }, null, 8, ["caption", "items"])) : d("", !0),
494
- E(e.$slots, "default")
494
+ O(e.$slots, "default")
495
495
  ]));
496
496
  }
497
- }, Xe = "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; }", Ze = ".mwnf-sheet__label, .mwnf-sheet-section__heading, .mwnf-credits__heading", Qe = ".mwnf-sheet__value, .mwnf-sheet-section__body, .mwnf-credits__citation, .mwnf-credits__list > dt, .mwnf-credits__number, .mwnf-sheet__short .mwnf-sheet__block", $e = "button, img, svg, picture, video, audio, iframe, script, style, [role=\"tooltip\"], [aria-hidden=\"true\"]";
497
+ }, $e = "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; }", et = ".mwnf-sheet__label, .mwnf-sheet-section__heading, .mwnf-credits__heading", tt = ".mwnf-sheet__value, .mwnf-sheet-section__body, .mwnf-credits__citation, .mwnf-credits__list > dt, .mwnf-credits__number, .mwnf-sheet__short .mwnf-sheet__block", nt = "button, img, svg, picture, video, audio, iframe, script, style, [role=\"tooltip\"], [aria-hidden=\"true\"]";
498
498
  function $(e) {
499
499
  return String(e ?? "").replace(/[&<>"]/g, (e) => ({
500
500
  "&": "&amp;",
@@ -503,7 +503,7 @@ function $(e) {
503
503
  "\"": "&quot;"
504
504
  })[e]);
505
505
  }
506
- var et = /* @__PURE__ */ new Set([
506
+ var rt = /* @__PURE__ */ new Set([
507
507
  "I",
508
508
  "EM",
509
509
  "B",
@@ -511,7 +511,7 @@ var et = /* @__PURE__ */ new Set([
511
511
  "U",
512
512
  "SUP",
513
513
  "SUB"
514
- ]), tt = /* @__PURE__ */ new Set([
514
+ ]), it = /* @__PURE__ */ new Set([
515
515
  "P",
516
516
  "DIV",
517
517
  "LI",
@@ -519,7 +519,7 @@ var et = /* @__PURE__ */ new Set([
519
519
  "OL",
520
520
  "SECTION"
521
521
  ]);
522
- function nt(e) {
522
+ function at(e) {
523
523
  let t = [[]], n = () => t[t.length - 1], r = () => {
524
524
  n().length && t.push([]);
525
525
  }, i = (e) => {
@@ -527,12 +527,12 @@ function nt(e) {
527
527
  n().push($(e.textContent));
528
528
  return;
529
529
  }
530
- if (e.nodeType !== Node.ELEMENT_NODE || e.matches($e)) return;
530
+ if (e.nodeType !== Node.ELEMENT_NODE || e.matches(nt)) return;
531
531
  if (e.tagName === "BR") {
532
532
  n().push("<br/>");
533
533
  return;
534
534
  }
535
- let t = tt.has(e.tagName), a = et.has(e.tagName) ? e.tagName.toLowerCase() : "";
535
+ let t = it.has(e.tagName), a = rt.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,20 +540,20 @@ function nt(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 rt(e, { title: t = "", dir: n = "" } = {}) {
543
+ function ot(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(`${Ze}, ${Qe}`)) {
548
+ for (let t of e.querySelectorAll(`${et}, ${tt}`)) {
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;
552
- i.push(`<p>${$(t.textContent.trim())} ${e ? nt(e) : ""}</p>`);
552
+ i.push(`<p>${$(t.textContent.trim())} ${e ? at(e) : ""}</p>`);
553
553
  continue;
554
554
  }
555
- let e = nt(t);
556
- e && i.push(t.matches(Ze) ? `<h3>${e}</h3>` : `<p>${e}</p>`);
555
+ let e = at(t);
556
+ e && i.push(t.matches(et) ? `<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 rt(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
- ${Xe}
564
+ ${$e}
565
565
  </style>
566
566
  </head>
567
567
  <body>
@@ -575,16 +575,16 @@ ${i.join("\n")}
575
575
  </body>
576
576
  </html>`;
577
577
  }
578
- function it(e, t) {
578
+ function st(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
582
  //#endregion
583
583
  //#region src/standalone/RelatedContent.vue
584
- var at = { class: "mwnf-standalone-related" }, ot = { class: "mwnf-standalone-related__heading" }, st = { class: "mwnf-standalone-related__group-heading" }, ct = { class: "mwnf-standalone-related__thumbs" }, lt = ["src", "alt"], ut = ["innerHTML"], dt = {
584
+ var ct = { class: "mwnf-standalone-related" }, lt = { class: "mwnf-standalone-related__heading" }, ut = { class: "mwnf-standalone-related__group-heading" }, dt = { class: "mwnf-standalone-related__thumbs" }, ft = ["src", "alt"], pt = ["innerHTML"], mt = {
585
585
  key: 0,
586
586
  class: "mwnf-standalone-related__download"
587
- }, ft = { class: "mwnf-standalone-related__download-heading" }, pt = {
587
+ }, ht = { class: "mwnf-standalone-related__download-heading" }, gt = {
588
588
  __name: "RelatedContent",
589
589
  props: {
590
590
  heading: {
@@ -609,7 +609,7 @@ var at = { class: "mwnf-standalone-related" }, ot = { class: "mwnf-standalone-re
609
609
  }
610
610
  },
611
611
  setup(e) {
612
- let t = e, { t: r } = q(), i = l(() => t.groups.map((e) => ({
612
+ let t = e, { t: r } = Y(), i = l(() => t.groups.map((e) => ({
613
613
  heading: r(e.heading),
614
614
  rows: t.records.filter((t) => !e.type || t.badge === e.type)
615
615
  })).filter((e) => e.rows.length));
@@ -618,51 +618,51 @@ var at = { class: "mwnf-standalone-related" }, ot = { class: "mwnf-standalone-re
618
618
  }
619
619
  function o(e) {
620
620
  let n = e.currentTarget.closest(".mwnf-standalone-item");
621
- n && it(rt(n.querySelector(".mwnf-record__main") ?? n, {
621
+ n && st(ot(n.querySelector(".mwnf-record__main") ?? n, {
622
622
  title: t.download?.title ? r(t.download.title) : "",
623
623
  dir: getComputedStyle(n).direction
624
624
  }), t.wordFile);
625
625
  }
626
- return (t, s) => (C(), f("aside", at, [
627
- p("p", ot, [p("strong", null, D(O(r)(e.heading)), 1)]),
628
- (C(!0), f(c, null, T(i.value, (e) => (C(), f("div", {
626
+ return (t, s) => (w(), f("aside", ct, [
627
+ p("p", lt, [p("strong", null, k(A(r)(e.heading)), 1)]),
628
+ (w(!0), f(c, null, D(i.value, (e) => (w(), f("div", {
629
629
  key: e.heading,
630
630
  class: "mwnf-standalone-related__group"
631
- }, [p("p", st, D(e.heading), 1), p("ul", ct, [(C(!0), f(c, null, T(e.rows, (e) => (C(), f("li", { key: e.id }, [g(n, {
631
+ }, [p("p", ut, k(e.heading), 1), p("ul", dt, [(w(!0), f(c, null, D(e.rows, (e) => (w(), f("li", { key: e.id }, [g(n, {
632
632
  to: e.to,
633
633
  title: e.imageAlt
634
634
  }, {
635
- default: F(() => [e.image ? (C(), f("img", {
635
+ default: R(() => [e.image ? (w(), f("img", {
636
636
  key: 0,
637
637
  src: e.image,
638
638
  alt: e.imageAlt
639
- }, null, 8, lt)) : (C(), f("span", {
639
+ }, null, 8, ft)) : (w(), f("span", {
640
640
  key: 1,
641
641
  innerHTML: e.name
642
- }, null, 8, ut))]),
642
+ }, null, 8, pt))]),
643
643
  _: 2
644
644
  }, 1032, ["to", "title"])]))), 128))])]))), 128)),
645
- E(t.$slots, "default"),
646
- e.download ? (C(), f("div", dt, [
647
- p("p", ft, D(O(r)(e.download.heading)), 1),
645
+ O(t.$slots, "default"),
646
+ e.download ? (w(), f("div", mt, [
647
+ p("p", ht, k(A(r)(e.download.heading)), 1),
648
648
  p("button", {
649
649
  type: "button",
650
650
  class: "mwnf-standalone-related__print",
651
651
  onClick: a
652
- }, D(O(r)(e.download.print)), 1),
653
- e.download.word ? (C(), f("button", {
652
+ }, k(A(r)(e.download.print)), 1),
653
+ e.download.word ? (w(), f("button", {
654
654
  key: 0,
655
655
  type: "button",
656
656
  class: "mwnf-standalone-related__print mwnf-standalone-related__word",
657
657
  onClick: o
658
- }, D(O(r)(e.download.word)), 1)) : d("", !0)
658
+ }, k(A(r)(e.download.word)), 1)) : d("", !0)
659
659
  ])) : d("", !0)
660
660
  ]));
661
661
  }
662
- }, mt = { class: "mwnf-standalone-item__top" }, ht = { class: "mwnf-standalone-item__left" }, gt = {
662
+ }, _t = { class: "mwnf-standalone-item__top" }, vt = { class: "mwnf-standalone-item__left" }, yt = {
663
663
  key: 0,
664
664
  class: "mwnf-standalone-item__back"
665
- }, _t = {
665
+ }, bt = {
666
666
  __name: "ItemSheet",
667
667
  props: {
668
668
  spec: {
@@ -683,11 +683,11 @@ var at = { class: "mwnf-standalone-related" }, ot = { class: "mwnf-standalone-re
683
683
  }
684
684
  },
685
685
  setup(e) {
686
- let i = e, { t: s } = q(), v = A(), y = l(() => ({
686
+ let i = e, { t: s } = Y(), v = N(), y = l(() => ({
687
687
  ...i.spec,
688
688
  media: () => []
689
689
  }));
690
- function x(e) {
690
+ function b(e) {
691
691
  return a(S(e), i.spec.pictureLimit, e);
692
692
  }
693
693
  function S({ record: e, text: t, language: n }) {
@@ -696,9 +696,9 @@ var at = { class: "mwnf-standalone-related" }, ot = { class: "mwnf-standalone-re
696
696
  text: t,
697
697
  language: n
698
698
  });
699
- let r = G(String(t?.name ?? e?.internal_name ?? ""));
700
- return te(e?.images, n).map((e) => {
701
- let { photographer: t, copyright: i } = ee(e, n), a = [t ? `${s("record.media.photograph")}: ${t}` : "", i ? `© ${i}` : ""].filter(Boolean).join(", ");
699
+ let r = q(String(t?.name ?? e?.internal_name ?? ""));
700
+ return ne(e?.images, n).map((e) => {
701
+ let { photographer: t, copyright: i } = te(e, n), a = [t ? `${s("record.media.photograph")}: ${t}` : "", i ? `© ${i}` : ""].filter(Boolean).join(", ");
702
702
  return {
703
703
  url: e.url,
704
704
  alt: a || e.captions?.[n] || r,
@@ -706,26 +706,26 @@ var at = { class: "mwnf-standalone-related" }, ot = { class: "mwnf-standalone-re
706
706
  };
707
707
  });
708
708
  }
709
- let w = l(() => i.back.map((e) => ({
709
+ let C = l(() => i.back.map((e) => ({
710
710
  ...e,
711
711
  label: s(e.label)
712
- }))), O = /* @__PURE__ */ new Set([
712
+ }))), T = /* @__PURE__ */ new Set([
713
713
  "header",
714
714
  "before-sheet",
715
715
  "related",
716
716
  "sidebar",
717
717
  "aside",
718
718
  "source"
719
- ]), k = l(() => Object.keys(v).filter((e) => !O.has(e)));
720
- function j() {
719
+ ]), E = l(() => Object.keys(v).filter((e) => !T.has(e)));
720
+ function A() {
721
721
  window.history.back();
722
722
  }
723
- return (i, a) => (C(), u(o, {
723
+ return (i, a) => (w(), u(o, {
724
724
  spec: y.value,
725
725
  id: e.id,
726
726
  class: "mwnf-standalone-item"
727
727
  }, m({
728
- header: F(({ languages: e, language: n, select: r }) => [p("div", mt, [g(t, {
728
+ header: R(({ languages: e, language: n, select: r }) => [p("div", _t, [g(t, {
729
729
  languages: e,
730
730
  language: n,
731
731
  from: 1,
@@ -735,31 +735,31 @@ var at = { class: "mwnf-standalone-related" }, ot = { class: "mwnf-standalone-re
735
735
  "language",
736
736
  "onSelect"
737
737
  ])])]),
738
- "before-sheet": F((e) => [p("div", ht, [w.value.length ? (C(), f("p", gt, [(C(!0), f(c, null, T(w.value, (e) => (C(), f(c, { key: e.label }, [e.history ? (C(), f("button", {
738
+ "before-sheet": R((e) => [p("div", vt, [C.value.length ? (w(), f("p", yt, [(w(!0), f(c, null, D(C.value, (e) => (w(), f(c, { key: e.label }, [e.history ? (w(), f("button", {
739
739
  key: 0,
740
740
  type: "button",
741
741
  class: "mwnf-standalone-item__back-link",
742
- onClick: j
743
- }, D(e.label), 1)) : (C(), u(n, {
742
+ onClick: A
743
+ }, k(e.label), 1)) : (w(), u(n, {
744
744
  key: 1,
745
745
  class: "mwnf-standalone-item__back-link",
746
746
  to: e.to,
747
747
  href: e.href
748
748
  }, {
749
- default: F(() => [h(D(e.label), 1)]),
749
+ default: R(() => [h(k(e.label), 1)]),
750
750
  _: 2
751
751
  }, 1032, ["to", "href"]))], 64))), 128))])) : d("", !0), g(r, {
752
- images: x(e),
752
+ images: b(e),
753
753
  "thumbs-from": 1
754
- }, null, 8, ["images"])]), E(i.$slots, "before-sheet", b(_(e)))]),
755
- related: F((t) => [g(pt, {
754
+ }, null, 8, ["images"])]), O(i.$slots, "before-sheet", x(_(e)))]),
755
+ related: R((t) => [g(gt, {
756
756
  heading: e.related.heading ?? "record.related.title",
757
757
  records: t.records,
758
758
  groups: e.related.groups ?? [],
759
759
  download: e.related.download ?? null,
760
760
  "word-file": e.related.download?.wordFile?.(t.record, t.language) ?? "sheet.doc"
761
761
  }, {
762
- default: F(() => [E(i.$slots, "sidebar", b(_(t)))]),
762
+ default: R(() => [O(i.$slots, "sidebar", x(_(t)))]),
763
763
  _: 2
764
764
  }, 1032, [
765
765
  "heading",
@@ -768,44 +768,44 @@ var at = { class: "mwnf-standalone-related" }, ot = { class: "mwnf-standalone-re
768
768
  "download",
769
769
  "word-file"
770
770
  ])]),
771
- source: F((e) => [E(i.$slots, "source", b(_(e)))]),
771
+ source: R((e) => [O(i.$slots, "source", x(_(e)))]),
772
772
  _: 2
773
- }, [T(k.value, (e) => ({
773
+ }, [D(E.value, (e) => ({
774
774
  name: e,
775
- fn: F((t) => [E(i.$slots, e, b(_(t)))])
775
+ fn: R((t) => [O(i.$slots, e, x(_(t)))])
776
776
  }))]), 1032, ["spec", "id"]));
777
777
  }
778
- }, vt = {
778
+ }, xt = {
779
779
  key: 0,
780
780
  class: "mwnf-standalone-item__top"
781
- }, yt = {
781
+ }, St = {
782
782
  key: 1,
783
783
  hidden: ""
784
- }, bt = {
784
+ }, Ct = {
785
785
  key: 0,
786
786
  class: "mwnf-standalone-item__back mwnf-standalone-partner__back"
787
- }, xt = { class: "mwnf-standalone-partner__heading" }, St = ["dir", "innerHTML"], Ct = {
787
+ }, wt = { class: "mwnf-standalone-partner__heading" }, Tt = ["dir", "innerHTML"], Et = {
788
788
  key: 0,
789
789
  class: "mwnf-standalone-partner__location"
790
- }, wt = { class: "mwnf-standalone-partner__bar" }, Tt = { class: "mwnf-standalone-partner__bar-start" }, Et = ["aria-label", "onKeydown"], Dt = [
790
+ }, Dt = { class: "mwnf-standalone-partner__bar" }, Ot = { class: "mwnf-standalone-partner__bar-start" }, kt = ["aria-label", "onKeydown"], At = [
791
791
  "id",
792
792
  "aria-selected",
793
793
  "aria-controls",
794
794
  "tabindex",
795
795
  "onClick"
796
- ], Ot = {
796
+ ], jt = {
797
797
  key: 0,
798
798
  class: "mwnf-standalone-partner__divider",
799
799
  "aria-hidden": "true"
800
- }, kt = { key: 0 }, At = ["href"], jt = { class: "mwnf-standalone-partner__bar-end" }, Mt = { class: "mwnf-standalone-partner__body" }, Nt = { class: "mwnf-standalone-partner__pictures" }, Pt = { class: "mwnf-standalone-partner__panels" }, Ft = [
800
+ }, Mt = { key: 0 }, Nt = ["href"], Pt = { class: "mwnf-standalone-partner__bar-end" }, Ft = { class: "mwnf-standalone-partner__body" }, It = { class: "mwnf-standalone-partner__pictures" }, Lt = { class: "mwnf-standalone-partner__panels" }, Rt = [
801
801
  "id",
802
802
  "aria-labelledby",
803
803
  "dir",
804
804
  "innerHTML"
805
- ], It = ["id", "aria-labelledby"], Lt = ["innerHTML"], Rt = ["href"], zt = { key: 0 }, Bt = ["href"], Vt = ["href"], Ht = ["id", "aria-labelledby"], Ut = ["src"], Wt = {
805
+ ], zt = ["id", "aria-labelledby"], Bt = ["innerHTML"], Vt = ["href"], Ht = { key: 0 }, Ut = ["href"], Wt = ["href"], Gt = ["id", "aria-labelledby"], Kt = ["src"], qt = {
806
806
  key: 0,
807
807
  class: "mwnf-standalone-partner__map"
808
- }, Gt = { class: "mwnf-standalone-partner__map-heading" }, Kt = {
808
+ }, Jt = { class: "mwnf-standalone-partner__map-heading" }, Yt = {
809
809
  __name: "PartnerPage",
810
810
  props: {
811
811
  id: {
@@ -850,7 +850,7 @@ var at = { class: "mwnf-standalone-related" }, ot = { class: "mwnf-standalone-re
850
850
  }
851
851
  },
852
852
  setup(e) {
853
- let a = e, { t: s, locale: m } = q(), _ = k(), b = {
853
+ let a = e, { t: s, locale: m } = Y(), _ = j(), v = {
854
854
  entity: "partners",
855
855
  fields: [],
856
856
  shortDescription: !1,
@@ -867,42 +867,42 @@ var at = { class: "mwnf-standalone-related" }, ot = { class: "mwnf-standalone-re
867
867
  fax: "partner.info.fax",
868
868
  map: "partner.map.map"
869
869
  }, S = (e) => s(a.labels[e] ?? x[e]);
870
- function E(e) {
870
+ function C(e) {
871
871
  return (typeof a.back == "function" ? a.back(e) ?? [] : a.back).map((e) => ({
872
872
  ...e,
873
873
  label: s(e.label)
874
874
  }));
875
875
  }
876
- function A() {
876
+ function T() {
877
877
  window.history.back();
878
878
  }
879
- function j(e, t, n) {
879
+ function O(e, t, n) {
880
880
  let r = [];
881
881
  return a.about(t, n) && r.push("about"), e.hasContact && r.push("contact"), e.logos.length && r.push("logo"), r;
882
882
  }
883
- let M = w("about");
884
- P(() => a.id, () => {
883
+ let M = E("about");
884
+ L(() => a.id, () => {
885
885
  M.value = "about";
886
886
  });
887
- function L(e, t) {
887
+ function N(e, t) {
888
888
  let n = t.indexOf(M.value), r = {
889
889
  ArrowRight: (n + 1) % t.length,
890
890
  ArrowLeft: (n - 1 + t.length) % t.length,
891
891
  Home: 0,
892
892
  End: t.length - 1
893
893
  }[e.key];
894
- r === void 0 || !t.length || (e.preventDefault(), M.value = t[r], v(() => document.getElementById(`${_}-tab-${t[r]}`)?.focus()));
894
+ r === void 0 || !t.length || (e.preventDefault(), M.value = t[r], y(() => document.getElementById(`${_}-tab-${t[r]}`)?.focus()));
895
895
  }
896
- let R = (e) => e.pictures.map((e) => ({
896
+ let P = (e) => e.pictures.map((e) => ({
897
897
  url: e.url,
898
898
  alt: e.alt
899
- })), z = (e) => [...e.contact.website ? [e.contact.website] : [], ...a.links ? e.contact.links : []], B = (e) => !!(e.contact.address || e.contact.phone || e.contact.fax || e.contact.email || e.contact.website), V = l(() => String(m.value || "en"));
900
- return (l, m) => (C(), u(o, {
901
- spec: b,
899
+ })), F = (e) => [...e.contact.website ? [e.contact.website] : [], ...a.links ? e.contact.links : []], B = (e) => !!(e.contact.address || e.contact.phone || e.contact.fax || e.contact.email || e.contact.website), V = l(() => String(m.value || "en"));
900
+ return (l, m) => (w(), u(o, {
901
+ spec: v,
902
902
  id: e.id,
903
903
  class: "mwnf-standalone-partner"
904
904
  }, {
905
- header: F(({ record: n, languages: r, language: i, select: o }) => [e.bands(n) ? (C(), f("div", vt, [g(t, {
905
+ header: R(({ record: n, languages: r, language: i, select: o }) => [e.bands(n) ? (w(), f("div", xt, [g(t, {
906
906
  languages: r.filter((e) => a.languages(n, e.code)),
907
907
  language: i,
908
908
  from: 1,
@@ -911,110 +911,110 @@ var at = { class: "mwnf-standalone-related" }, ot = { class: "mwnf-standalone-re
911
911
  "languages",
912
912
  "language",
913
913
  "onSelect"
914
- ])])) : (C(), f("div", yt))]),
915
- "before-sheet": F(({ record: t, text: i, dir: o }) => [(C(!0), f(c, null, T([a.view(t, i)], (a) => (C(), f(c, { key: t.id }, [
916
- E(t).length ? (C(), f("p", bt, [(C(!0), f(c, null, T(E(t), (e) => (C(), f(c, { key: e.label }, [e.history ? (C(), f("button", {
914
+ ])])) : (w(), f("div", St))]),
915
+ "before-sheet": R(({ record: t, text: i, dir: o }) => [(w(!0), f(c, null, D([a.view(t, i)], (a) => (w(), f(c, { key: t.id }, [
916
+ C(t).length ? (w(), f("p", Ct, [(w(!0), f(c, null, D(C(t), (e) => (w(), f(c, { key: e.label }, [e.history ? (w(), f("button", {
917
917
  key: 0,
918
918
  type: "button",
919
919
  class: "mwnf-standalone-item__back-link",
920
- onClick: A
921
- }, D(e.label), 1)) : (C(), u(n, {
920
+ onClick: T
921
+ }, k(e.label), 1)) : (w(), u(n, {
922
922
  key: 1,
923
923
  class: "mwnf-standalone-item__back-link",
924
924
  to: e.to,
925
925
  href: e.href
926
926
  }, {
927
- default: F(() => [h(D(e.label), 1)]),
927
+ default: R(() => [h(k(e.label), 1)]),
928
928
  _: 2
929
929
  }, 1032, ["to", "href"]))], 64))), 128))])) : d("", !0),
930
- p("div", xt, [p("h3", {
930
+ p("div", wt, [p("h3", {
931
931
  class: "mwnf-standalone-partner__name",
932
932
  dir: o || void 0,
933
933
  innerHTML: a.name
934
- }, null, 8, St), a.location ? (C(), f("h4", Ct, [p("i", null, D(a.location), 1)])) : d("", !0)]),
935
- p("div", wt, [p("div", Tt, [p("ul", {
934
+ }, null, 8, Tt), a.location ? (w(), f("h4", Et, [p("i", null, k(a.location), 1)])) : d("", !0)]),
935
+ p("div", Dt, [p("div", Ot, [p("ul", {
936
936
  role: "tablist",
937
937
  class: "mwnf-standalone-partner__tabs",
938
938
  "aria-label": a.plainName,
939
- onKeydown: (e) => L(e, j(a, t, i))
940
- }, [(C(!0), f(c, null, T(j(a, t, i), (e, n) => (C(), f("li", {
939
+ onKeydown: (e) => N(e, O(a, t, i))
940
+ }, [(w(!0), f(c, null, D(O(a, t, i), (e, n) => (w(), f("li", {
941
941
  key: e,
942
942
  role: "presentation"
943
943
  }, [p("button", {
944
- id: `${O(_)}-tab-${e}`,
944
+ id: `${A(_)}-tab-${e}`,
945
945
  type: "button",
946
946
  role: "tab",
947
- class: y(["mwnf-standalone-partner__tab", { "mwnf-standalone-partner__tab--active": M.value === e }]),
947
+ class: b(["mwnf-standalone-partner__tab", { "mwnf-standalone-partner__tab--active": M.value === e }]),
948
948
  "aria-selected": M.value === e ? "true" : "false",
949
- "aria-controls": `${O(_)}-panel-${e}`,
949
+ "aria-controls": `${A(_)}-panel-${e}`,
950
950
  tabindex: M.value === e ? 0 : -1,
951
951
  onClick: (t) => M.value = e
952
- }, "\xA0" + D(S(e)), 11, Dt), n < j(a, t, i).length - 1 || a.contact.website ? (C(), f("span", Ot, "\xA0|")) : d("", !0)]))), 128)), a.contact.website ? (C(), f("li", kt, [p("a", {
952
+ }, "\xA0" + k(S(e)), 11, At), n < O(a, t, i).length - 1 || a.contact.website ? (w(), f("span", jt, "\xA0|")) : d("", !0)]))), 128)), a.contact.website ? (w(), f("li", Mt, [p("a", {
953
953
  class: "mwnf-standalone-partner__homepage",
954
954
  href: a.contact.website.url,
955
955
  target: "_blank",
956
956
  rel: "noopener"
957
- }, "\xA0" + D(S("homepage")), 9, At)])) : d("", !0)], 40, Et)]), p("div", jt, [e.items(t) ? (C(), u(n, {
957
+ }, "\xA0" + k(S("homepage")), 9, Nt)])) : d("", !0)], 40, kt)]), p("div", Pt, [e.items(t) ? (w(), u(n, {
958
958
  key: 0,
959
959
  class: "mwnf-standalone-partner__items",
960
960
  to: e.items(t).to
961
961
  }, {
962
- default: F(() => [h(D(O(s)(e.items(t).label)), 1)]),
962
+ default: R(() => [h(k(A(s)(e.items(t).label)), 1)]),
963
963
  _: 2
964
964
  }, 1032, ["to"])) : d("", !0)])]),
965
- p("div", Mt, [p("div", Nt, [a.pictures.length ? (C(), u(r, {
965
+ p("div", Ft, [p("div", It, [a.pictures.length ? (w(), u(r, {
966
966
  key: 0,
967
- images: R(a)
968
- }, null, 8, ["images"])) : d("", !0)]), p("div", Pt, [
969
- I(p("div", {
970
- id: `${O(_)}-panel-about`,
967
+ images: P(a)
968
+ }, null, 8, ["images"])) : d("", !0)]), p("div", Lt, [
969
+ z(p("div", {
970
+ id: `${A(_)}-panel-about`,
971
971
  class: "mwnf-standalone-partner__panel mwnf-standalone-partner__about",
972
972
  role: "tabpanel",
973
- "aria-labelledby": `${O(_)}-tab-about`,
973
+ "aria-labelledby": `${A(_)}-tab-about`,
974
974
  dir: o || void 0,
975
975
  innerHTML: a.description
976
- }, null, 8, Ft), [[N, M.value === "about"]]),
977
- a.hasContact ? I((C(), f("div", {
976
+ }, null, 8, Rt), [[I, M.value === "about"]]),
977
+ a.hasContact ? z((w(), f("div", {
978
978
  key: 0,
979
- id: `${O(_)}-panel-contact`,
979
+ id: `${A(_)}-panel-contact`,
980
980
  class: "mwnf-standalone-partner__panel mwnf-standalone-partner__contact",
981
981
  role: "tabpanel",
982
- "aria-labelledby": `${O(_)}-tab-contact`
983
- }, [B(a) ? (C(), f(c, { key: 0 }, [p("p", null, [
984
- p("b", null, D(S("addresses")), 1),
982
+ "aria-labelledby": `${A(_)}-tab-contact`
983
+ }, [B(a) ? (w(), f(c, { key: 0 }, [p("p", null, [
984
+ p("b", null, k(S("addresses")), 1),
985
985
  m[4] ||= p("br", null, null, -1),
986
- a.contact.address ? (C(), f(c, { key: 0 }, [p("span", {
986
+ a.contact.address ? (w(), f(c, { key: 0 }, [p("span", {
987
987
  class: "mwnf-standalone-partner__address",
988
988
  innerHTML: a.contact.address
989
- }, null, 8, Lt), m[0] ||= p("br", null, null, -1)], 64)) : d("", !0),
990
- a.contact.phone ? (C(), f(c, { key: 1 }, [h(D(S("phone")) + " " + D(a.contact.phone), 1), m[1] ||= p("br", null, null, -1)], 64)) : d("", !0),
991
- a.contact.fax ? (C(), f(c, { key: 2 }, [h(D(S("fax")) + " " + D(a.contact.fax), 1), m[2] ||= p("br", null, null, -1)], 64)) : d("", !0),
992
- a.contact.email ? (C(), f(c, { key: 3 }, [p("a", { href: `mailto:${a.contact.email}` }, D(a.contact.email), 9, Rt), m[3] ||= p("br", null, null, -1)], 64)) : d("", !0)
993
- ]), z(a).length ? (C(), f("p", zt, [(C(!0), f(c, null, T(z(a), (e, t) => (C(), f(c, { key: e.url }, [t ? (C(), f(c, { key: 0 }, [h("\xA0|\xA0")], 64)) : d("", !0), p("a", {
989
+ }, null, 8, Bt), m[0] ||= p("br", null, null, -1)], 64)) : d("", !0),
990
+ a.contact.phone ? (w(), f(c, { key: 1 }, [h(k(S("phone")) + " " + k(a.contact.phone), 1), m[1] ||= p("br", null, null, -1)], 64)) : d("", !0),
991
+ a.contact.fax ? (w(), f(c, { key: 2 }, [h(k(S("fax")) + " " + k(a.contact.fax), 1), m[2] ||= p("br", null, null, -1)], 64)) : d("", !0),
992
+ a.contact.email ? (w(), f(c, { key: 3 }, [p("a", { href: `mailto:${a.contact.email}` }, k(a.contact.email), 9, Vt), m[3] ||= p("br", null, null, -1)], 64)) : d("", !0)
993
+ ]), F(a).length ? (w(), f("p", Ht, [(w(!0), f(c, null, D(F(a), (e, t) => (w(), f(c, { key: e.url }, [t ? (w(), f(c, { key: 0 }, [h("\xA0|\xA0")], 64)) : d("", !0), p("a", {
994
994
  href: e.url,
995
995
  target: "_blank",
996
996
  rel: "noopener"
997
- }, D(e.label), 9, Bt)], 64))), 128))])) : d("", !0)], 64)) : d("", !0), (C(!0), f(c, null, T(a.persons, (e, t) => (C(), f("p", { key: t }, [
998
- e.title ? (C(), f(c, { key: 0 }, [p("strong", null, D(e.title), 1), m[5] ||= p("br", null, null, -1)], 64)) : d("", !0),
999
- e.name ? (C(), f(c, { key: 1 }, [h(D(e.name), 1), m[6] ||= p("br", null, null, -1)], 64)) : d("", !0),
1000
- e.phone ? (C(), f(c, { key: 2 }, [h(D(S("phone")) + " " + D(e.phone), 1), m[7] ||= p("br", null, null, -1)], 64)) : d("", !0),
1001
- e.fax ? (C(), f(c, { key: 3 }, [h(D(S("fax")) + " " + D(e.fax), 1), m[8] ||= p("br", null, null, -1)], 64)) : d("", !0),
1002
- e.email ? (C(), f(c, { key: 4 }, [p("a", { href: `mailto:${e.email}` }, D(e.email), 9, Vt), m[9] ||= p("br", null, null, -1)], 64)) : d("", !0)
1003
- ]))), 128))], 8, It)), [[N, M.value === "contact"]]) : d("", !0),
1004
- a.logos.length ? I((C(), f("div", {
997
+ }, k(e.label), 9, Ut)], 64))), 128))])) : d("", !0)], 64)) : d("", !0), (w(!0), f(c, null, D(a.persons, (e, t) => (w(), f("p", { key: t }, [
998
+ e.title ? (w(), f(c, { key: 0 }, [p("strong", null, k(e.title), 1), m[5] ||= p("br", null, null, -1)], 64)) : d("", !0),
999
+ e.name ? (w(), f(c, { key: 1 }, [h(k(e.name), 1), m[6] ||= p("br", null, null, -1)], 64)) : d("", !0),
1000
+ e.phone ? (w(), f(c, { key: 2 }, [h(k(S("phone")) + " " + k(e.phone), 1), m[7] ||= p("br", null, null, -1)], 64)) : d("", !0),
1001
+ e.fax ? (w(), f(c, { key: 3 }, [h(k(S("fax")) + " " + k(e.fax), 1), m[8] ||= p("br", null, null, -1)], 64)) : d("", !0),
1002
+ e.email ? (w(), f(c, { key: 4 }, [p("a", { href: `mailto:${e.email}` }, k(e.email), 9, Wt), m[9] ||= p("br", null, null, -1)], 64)) : d("", !0)
1003
+ ]))), 128))], 8, zt)), [[I, M.value === "contact"]]) : d("", !0),
1004
+ a.logos.length ? z((w(), f("div", {
1005
1005
  key: 1,
1006
- id: `${O(_)}-panel-logo`,
1006
+ id: `${A(_)}-panel-logo`,
1007
1007
  class: "mwnf-standalone-partner__panel mwnf-standalone-partner__logos",
1008
1008
  role: "tabpanel",
1009
- "aria-labelledby": `${O(_)}-tab-logo`
1010
- }, [(C(!0), f(c, null, T(a.logos, (e) => (C(), f("img", {
1009
+ "aria-labelledby": `${A(_)}-tab-logo`
1010
+ }, [(w(!0), f(c, null, D(a.logos, (e) => (w(), f("img", {
1011
1011
  key: e.url,
1012
1012
  src: e.url,
1013
1013
  alt: ""
1014
- }, null, 8, Ut))), 128))], 8, Ht)), [[N, M.value === "logo"]]) : d("", !0)
1014
+ }, null, 8, Kt))), 128))], 8, Gt)), [[I, M.value === "logo"]]) : d("", !0)
1015
1015
  ])])
1016
1016
  ], 64))), 128))]),
1017
- after: F(({ record: t, text: n }) => [e.map(t) && a.view(t, n)?.map ? (C(), f("section", Wt, [p("h3", Gt, D(S("map")), 1), g(i, {
1017
+ after: R(({ record: t, text: n }) => [e.map(t) && a.view(t, n)?.map ? (w(), f("section", qt, [p("h3", Jt, k(S("map")), 1), g(i, {
1018
1018
  provider: "google",
1019
1019
  latitude: a.view(t, n).map.latitude,
1020
1020
  longitude: a.view(t, n).map.longitude,
@@ -1031,13 +1031,13 @@ var at = { class: "mwnf-standalone-related" }, ot = { class: "mwnf-standalone-re
1031
1031
  _: 1
1032
1032
  }, 8, ["id"]));
1033
1033
  }
1034
- }, qt = ["innerHTML"], Jt = {
1034
+ }, Xt = ["innerHTML"], Zt = {
1035
1035
  key: 0,
1036
1036
  class: "mwnf-standalone-page__link"
1037
- }, Yt = {
1037
+ }, Qt = {
1038
1038
  key: 1,
1039
1039
  class: "mwnf-standalone-page__print"
1040
- }, Xt = {
1040
+ }, $t = {
1041
1041
  __name: "TextPage",
1042
1042
  props: {
1043
1043
  body: {
@@ -1058,33 +1058,33 @@ var at = { class: "mwnf-standalone-related" }, ot = { class: "mwnf-standalone-re
1058
1058
  }
1059
1059
  },
1060
1060
  setup(e) {
1061
- let t = e, { t: r } = q(), i = l(() => U(r(t.body)));
1061
+ let t = e, { t: r } = Y(), i = l(() => G(r(t.body)));
1062
1062
  function a() {
1063
1063
  window.print();
1064
1064
  }
1065
- return (t, o) => (C(), f("article", { class: y(["mwnf-standalone-page", { "mwnf-standalone-page--drop-cap": e.dropCap }]) }, [
1065
+ return (t, o) => (w(), f("article", { class: b(["mwnf-standalone-page", { "mwnf-standalone-page--drop-cap": e.dropCap }]) }, [
1066
1066
  p("div", {
1067
1067
  class: "mwnf-standalone-page__body",
1068
1068
  innerHTML: i.value
1069
- }, null, 8, qt),
1070
- e.link ? (C(), f("p", Jt, [g(n, {
1069
+ }, null, 8, Xt),
1070
+ e.link ? (w(), f("p", Zt, [g(n, {
1071
1071
  to: e.link.to,
1072
1072
  href: e.link.href
1073
1073
  }, {
1074
- default: F(() => [p("strong", null, D(e.link.text ?? O(r)(e.link.label)), 1)]),
1074
+ default: R(() => [p("strong", null, k(e.link.text ?? A(r)(e.link.label)), 1)]),
1075
1075
  _: 1
1076
1076
  }, 8, ["to", "href"])])) : d("", !0),
1077
- e.print ? (C(), f("p", Yt, [p("button", {
1077
+ e.print ? (w(), f("p", Qt, [p("button", {
1078
1078
  type: "button",
1079
1079
  class: "mwnf-standalone-page__print-button",
1080
1080
  onClick: a
1081
- }, D(O(r)(e.print)), 1)])) : d("", !0)
1081
+ }, k(A(r)(e.print)), 1)])) : d("", !0)
1082
1082
  ], 2));
1083
1083
  }
1084
- }, Zt = {
1084
+ }, en = {
1085
1085
  key: 0,
1086
1086
  class: "mwnf-standalone-subnav"
1087
- }, Qt = { class: "mwnf-standalone-subnav__tabs" }, $t = {
1087
+ }, tn = { class: "mwnf-standalone-subnav__tabs" }, nn = {
1088
1088
  __name: "SubNav",
1089
1089
  props: {
1090
1090
  tabs: {
@@ -1097,40 +1097,40 @@ var at = { class: "mwnf-standalone-related" }, ot = { class: "mwnf-standalone-re
1097
1097
  }
1098
1098
  },
1099
1099
  setup(e) {
1100
- let t = e, { t: r } = q(), i = l(() => t.tabs.map((e) => ({
1100
+ let t = e, { t: r } = Y(), i = l(() => t.tabs.map((e) => ({
1101
1101
  ...e,
1102
1102
  label: r(e.label)
1103
1103
  })));
1104
- return (t, a) => i.value.length || e.aside ? (C(), f("nav", Zt, [p("ul", Qt, [(C(!0), f(c, null, T(i.value, (e) => (C(), f("li", { key: e.label }, [g(n, {
1104
+ return (t, a) => i.value.length || e.aside ? (w(), f("nav", en, [p("ul", tn, [(w(!0), f(c, null, D(i.value, (e) => (w(), f("li", { key: e.label }, [g(n, {
1105
1105
  to: e.to,
1106
1106
  href: e.href,
1107
- class: y(["mwnf-standalone-subnav__tab", { "mwnf-standalone-subnav__tab--active": e.active }]),
1107
+ class: b(["mwnf-standalone-subnav__tab", { "mwnf-standalone-subnav__tab--active": e.active }]),
1108
1108
  "aria-current": e.active ? "page" : void 0
1109
1109
  }, {
1110
- default: F(() => [h(D(e.label), 1)]),
1110
+ default: R(() => [h(k(e.label), 1)]),
1111
1111
  _: 2
1112
1112
  }, 1032, [
1113
1113
  "to",
1114
1114
  "href",
1115
1115
  "class",
1116
1116
  "aria-current"
1117
- ])]))), 128))]), e.aside ? (C(), u(n, {
1117
+ ])]))), 128))]), e.aside ? (w(), u(n, {
1118
1118
  key: 0,
1119
1119
  to: e.aside.to,
1120
1120
  href: e.aside.href,
1121
1121
  class: "mwnf-standalone-subnav__aside"
1122
1122
  }, {
1123
- default: F(() => [h(D(O(r)(e.aside.label)), 1)]),
1123
+ default: R(() => [h(k(A(r)(e.aside.label)), 1)]),
1124
1124
  _: 1
1125
1125
  }, 8, ["to", "href"])) : d("", !0)])) : d("", !0);
1126
1126
  }
1127
- }, en = { class: "mwnf-standalone-results" }, tn = {
1127
+ }, rn = { class: "mwnf-standalone-results" }, an = {
1128
1128
  key: 0,
1129
1129
  class: "mwnf-standalone-results__empty"
1130
- }, nn = { class: "mwnf-standalone-results__tile" }, rn = ["src"], an = { class: "mwnf-standalone-results__panel" }, on = ["src"], sn = { class: "mwnf-standalone-results__name" }, cn = ["innerHTML"], ln = ["innerHTML"], un = {
1130
+ }, on = { class: "mwnf-standalone-results__tile" }, sn = ["src"], cn = { class: "mwnf-standalone-results__panel" }, ln = ["src"], un = { class: "mwnf-standalone-results__name" }, dn = ["innerHTML"], fn = ["innerHTML"], pn = {
1131
1131
  key: 0,
1132
1132
  class: "mwnf-standalone-results__holder"
1133
- }, dn = ["innerHTML"], fn = ["innerHTML"], pn = {
1133
+ }, mn = ["innerHTML"], hn = ["innerHTML"], gn = {
1134
1134
  __name: "ResultsGrid",
1135
1135
  props: {
1136
1136
  rows: {
@@ -1151,64 +1151,64 @@ var at = { class: "mwnf-standalone-related" }, ot = { class: "mwnf-standalone-re
1151
1151
  }
1152
1152
  },
1153
1153
  setup(e) {
1154
- return (t, r) => (C(), f("div", en, [e.rows.length ? d("", !0) : (C(), f("p", tn, D(e.empty), 1)), (C(!0), f(c, null, T(e.rows, (t) => (C(), f("div", {
1154
+ return (t, r) => (w(), f("div", rn, [e.rows.length ? d("", !0) : (w(), f("p", an, k(e.empty), 1)), (w(!0), f(c, null, D(e.rows, (t) => (w(), f("div", {
1155
1155
  key: t.id,
1156
1156
  class: "mwnf-standalone-results__cell"
1157
- }, [p("div", nn, [g(n, {
1157
+ }, [p("div", on, [g(n, {
1158
1158
  class: "mwnf-standalone-results__frame",
1159
1159
  to: t.to,
1160
1160
  href: t.href
1161
1161
  }, {
1162
- default: F(() => [p("img", {
1162
+ default: R(() => [p("img", {
1163
1163
  src: t.image || e.noImage,
1164
1164
  alt: ""
1165
- }, null, 8, rn)]),
1165
+ }, null, 8, sn)]),
1166
1166
  _: 2
1167
- }, 1032, ["to", "href"]), p("div", an, [
1167
+ }, 1032, ["to", "href"]), p("div", cn, [
1168
1168
  g(n, {
1169
1169
  class: "mwnf-standalone-results__panel-frame",
1170
1170
  to: t.to,
1171
1171
  href: t.href
1172
1172
  }, {
1173
- default: F(() => [p("img", {
1173
+ default: R(() => [p("img", {
1174
1174
  src: t.image || e.noImage,
1175
1175
  alt: ""
1176
- }, null, 8, on)]),
1176
+ }, null, 8, ln)]),
1177
1177
  _: 2
1178
1178
  }, 1032, ["to", "href"]),
1179
- p("p", sn, [p("strong", null, [g(n, {
1179
+ p("p", un, [p("strong", null, [g(n, {
1180
1180
  to: t.to,
1181
1181
  href: t.href
1182
1182
  }, {
1183
- default: F(() => [p("span", { innerHTML: t.name }, null, 8, cn)]),
1183
+ default: R(() => [p("span", { innerHTML: t.name }, null, 8, dn)]),
1184
1184
  _: 2
1185
1185
  }, 1032, ["to", "href"])])]),
1186
- (C(!0), f(c, null, T(t.lines ?? [], (e, t) => (C(), f("p", {
1186
+ (w(!0), f(c, null, D(t.lines ?? [], (e, t) => (w(), f("p", {
1187
1187
  key: t,
1188
1188
  innerHTML: e
1189
- }, null, 8, ln))), 128)),
1190
- t.holder ? (C(), f("p", un, [p("strong", { innerHTML: t.holder }, null, 8, dn)])) : d("", !0),
1191
- t.location ? (C(), f("p", {
1189
+ }, null, 8, fn))), 128)),
1190
+ t.holder ? (w(), f("p", pn, [p("strong", { innerHTML: t.holder }, null, 8, mn)])) : d("", !0),
1191
+ t.location ? (w(), f("p", {
1192
1192
  key: 1,
1193
1193
  innerHTML: t.location
1194
- }, null, 8, fn)) : d("", !0),
1194
+ }, null, 8, hn)) : d("", !0),
1195
1195
  p("p", null, [g(n, {
1196
1196
  class: "mwnf-standalone-results__see",
1197
1197
  to: t.to,
1198
1198
  href: t.href
1199
1199
  }, {
1200
- default: F(() => [h(D(e.seeLabel), 1)]),
1200
+ default: R(() => [h(k(e.seeLabel), 1)]),
1201
1201
  _: 1
1202
1202
  }, 8, ["to", "href"])])
1203
1203
  ])])]))), 128))]));
1204
1204
  }
1205
- }, mn = { class: "mwnf-standalone-list" }, hn = { class: "mwnf-standalone-list__aside" }, gn = {
1205
+ }, _n = { class: "mwnf-standalone-list" }, vn = { class: "mwnf-standalone-list__aside" }, yn = {
1206
1206
  key: 0,
1207
1207
  class: "mwnf-standalone-list__preview"
1208
- }, _n = { class: "mwnf-standalone-list__preview-picture" }, vn = ["src"], yn = { class: "mwnf-standalone-list__preview-name" }, bn = ["innerHTML"], xn = ["innerHTML"], Sn = { key: 0 }, Cn = ["innerHTML"], wn = ["innerHTML"], Tn = { class: "mwnf-standalone-list__records" }, En = {
1208
+ }, bn = { class: "mwnf-standalone-list__preview-picture" }, xn = ["src"], Sn = { class: "mwnf-standalone-list__preview-name" }, Cn = ["innerHTML"], wn = ["innerHTML"], Tn = { key: 0 }, En = ["innerHTML"], Dn = ["innerHTML"], On = { class: "mwnf-standalone-list__records" }, kn = {
1209
1209
  key: 0,
1210
1210
  class: "mwnf-standalone-list__empty"
1211
- }, Dn = { class: "mwnf-standalone-list__frame" }, On = ["src"], kn = { class: "mwnf-standalone-list__content" }, An = ["innerHTML"], jn = ["innerHTML"], Mn = { key: 0 }, Nn = ["innerHTML"], Pn = {
1211
+ }, An = { class: "mwnf-standalone-list__frame" }, jn = ["src"], Mn = { class: "mwnf-standalone-list__content" }, Nn = ["innerHTML"], Pn = ["innerHTML"], Fn = { key: 0 }, In = ["innerHTML"], Ln = {
1212
1212
  __name: "ResultsList",
1213
1213
  props: {
1214
1214
  rows: {
@@ -1225,73 +1225,73 @@ var at = { class: "mwnf-standalone-related" }, ot = { class: "mwnf-standalone-re
1225
1225
  }
1226
1226
  },
1227
1227
  setup(e) {
1228
- let t = e, r = w(null), i = l(() => r.value ?? t.rows[0] ?? null);
1229
- return (t, a) => (C(), f("div", mn, [p("div", hn, [i.value ? (C(), f("div", gn, [
1230
- p("div", _n, [i.value.image || e.noImage ? (C(), f("img", {
1228
+ let t = e, r = E(null), i = l(() => r.value ?? t.rows[0] ?? null);
1229
+ return (t, a) => (w(), f("div", _n, [p("div", vn, [i.value ? (w(), f("div", yn, [
1230
+ p("div", bn, [i.value.image || e.noImage ? (w(), f("img", {
1231
1231
  key: 0,
1232
1232
  src: i.value.image || e.noImage,
1233
1233
  alt: ""
1234
- }, null, 8, vn)) : d("", !0)]),
1235
- p("p", yn, [p("strong", { innerHTML: i.value.name }, null, 8, bn)]),
1236
- (C(!0), f(c, null, T(i.value.preview?.lines ?? [], (e, t) => (C(), f("p", {
1234
+ }, null, 8, xn)) : d("", !0)]),
1235
+ p("p", Sn, [p("strong", { innerHTML: i.value.name }, null, 8, Cn)]),
1236
+ (w(!0), f(c, null, D(i.value.preview?.lines ?? [], (e, t) => (w(), f("p", {
1237
1237
  key: t,
1238
1238
  innerHTML: e
1239
- }, null, 8, xn))), 128)),
1240
- i.value.preview?.holder ? (C(), f("p", Sn, [p("strong", { innerHTML: i.value.preview.holder }, null, 8, Cn)])) : d("", !0),
1241
- i.value.preview?.location ? (C(), f("p", {
1239
+ }, null, 8, wn))), 128)),
1240
+ i.value.preview?.holder ? (w(), f("p", Tn, [p("strong", { innerHTML: i.value.preview.holder }, null, 8, En)])) : d("", !0),
1241
+ i.value.preview?.location ? (w(), f("p", {
1242
1242
  key: 1,
1243
1243
  innerHTML: i.value.preview.location
1244
- }, null, 8, wn)) : d("", !0)
1245
- ])) : d("", !0)]), p("div", Tn, [e.rows.length ? d("", !0) : (C(), f("p", En, D(e.empty), 1)), (C(!0), f(c, null, T(e.rows, (t) => (C(), f("div", {
1244
+ }, null, 8, Dn)) : d("", !0)
1245
+ ])) : d("", !0)]), p("div", On, [e.rows.length ? d("", !0) : (w(), f("p", kn, k(e.empty), 1)), (w(!0), f(c, null, D(e.rows, (t) => (w(), f("div", {
1246
1246
  key: t.id,
1247
1247
  class: "mwnf-standalone-list__cell"
1248
- }, [p("div", Dn, [g(n, {
1248
+ }, [p("div", An, [g(n, {
1249
1249
  to: t.to,
1250
1250
  href: t.href,
1251
1251
  onMouseenter: (e) => r.value = t,
1252
1252
  onMouseleave: a[0] ||= (e) => r.value = null
1253
1253
  }, {
1254
- default: F(() => [t.image || e.noImage ? (C(), f("img", {
1254
+ default: R(() => [t.image || e.noImage ? (w(), f("img", {
1255
1255
  key: 0,
1256
1256
  src: t.image || e.noImage,
1257
1257
  alt: ""
1258
- }, null, 8, On)) : d("", !0)]),
1258
+ }, null, 8, jn)) : d("", !0)]),
1259
1259
  _: 2
1260
1260
  }, 1032, [
1261
1261
  "to",
1262
1262
  "href",
1263
1263
  "onMouseenter"
1264
- ])]), p("div", kn, [p("p", null, [g(n, {
1264
+ ])]), p("div", Mn, [p("p", null, [g(n, {
1265
1265
  to: t.to,
1266
1266
  href: t.href,
1267
1267
  onMouseenter: (e) => r.value = t,
1268
1268
  onMouseleave: a[1] ||= (e) => r.value = null
1269
1269
  }, {
1270
- default: F(() => [
1270
+ default: R(() => [
1271
1271
  p("span", {
1272
1272
  class: "mwnf-standalone-list__name",
1273
1273
  innerHTML: `${t.name},`
1274
- }, null, 8, An),
1274
+ }, null, 8, Nn),
1275
1275
  a[2] ||= h(),
1276
- p("span", { innerHTML: t.place }, null, 8, jn)
1276
+ p("span", { innerHTML: t.place }, null, 8, Pn)
1277
1277
  ]),
1278
1278
  _: 2
1279
1279
  }, 1032, [
1280
1280
  "to",
1281
1281
  "href",
1282
1282
  "onMouseenter"
1283
- ])]), t.dates ? (C(), f("div", Mn, [p("i", { innerHTML: t.dates }, null, 8, Nn)])) : d("", !0)])]))), 128))])]));
1283
+ ])]), t.dates ? (w(), f("div", Fn, [p("i", { innerHTML: t.dates }, null, 8, In)])) : d("", !0)])]))), 128))])]));
1284
1284
  }
1285
- }, Fn = { class: "mwnf-standalone-refine__row" }, In = {
1285
+ }, Rn = { class: "mwnf-standalone-refine__row" }, zn = {
1286
1286
  class: "mwnf-standalone-refine__label",
1287
1287
  for: "mwnf-standalone-refine-keyword"
1288
- }, Ln = {
1288
+ }, Bn = {
1289
1289
  class: "mwnf-standalone-refine__label",
1290
1290
  for: "mwnf-standalone-refine-field"
1291
- }, Rn = ["value"], zn = {
1291
+ }, Vn = ["value"], Hn = {
1292
1292
  type: "submit",
1293
1293
  class: "mwnf-standalone-refine__button"
1294
- }, Bn = {
1294
+ }, Un = {
1295
1295
  __name: "Refine",
1296
1296
  props: {
1297
1297
  label: {
@@ -1321,7 +1321,7 @@ var at = { class: "mwnf-standalone-related" }, ot = { class: "mwnf-standalone-re
1321
1321
  },
1322
1322
  emits: ["search"],
1323
1323
  setup(e, { emit: t }) {
1324
- let r = e, i = t, a = w(""), o = w(r.fields[0]?.value ?? "");
1324
+ let r = e, i = t, a = E(""), o = E(r.fields[0]?.value ?? "");
1325
1325
  function s() {
1326
1326
  let e = a.value.trim();
1327
1327
  e && i("search", {
@@ -1329,39 +1329,39 @@ var at = { class: "mwnf-standalone-related" }, ot = { class: "mwnf-standalone-re
1329
1329
  field: o.value
1330
1330
  });
1331
1331
  }
1332
- return (t, r) => (C(), f("form", {
1332
+ return (t, r) => (w(), f("form", {
1333
1333
  class: "mwnf-standalone-refine",
1334
- onSubmit: L(s, ["prevent"])
1335
- }, [p("div", Fn, [
1336
- p("label", In, D(e.label), 1),
1337
- I(p("input", {
1334
+ onSubmit: B(s, ["prevent"])
1335
+ }, [p("div", Rn, [
1336
+ p("label", zn, k(e.label), 1),
1337
+ z(p("input", {
1338
1338
  id: "mwnf-standalone-refine-keyword",
1339
1339
  "onUpdate:modelValue": r[0] ||= (e) => a.value = e,
1340
1340
  type: "text",
1341
1341
  size: "40"
1342
- }, null, 512), [[M, a.value]]),
1343
- p("label", Ln, D(e.inLabel), 1),
1344
- I(p("select", {
1342
+ }, null, 512), [[F, a.value]]),
1343
+ p("label", Bn, k(e.inLabel), 1),
1344
+ z(p("select", {
1345
1345
  id: "mwnf-standalone-refine-field",
1346
1346
  "onUpdate:modelValue": r[1] ||= (e) => o.value = e
1347
- }, [(C(!0), f(c, null, T(e.fields, (e) => (C(), f("option", {
1347
+ }, [(w(!0), f(c, null, D(e.fields, (e) => (w(), f("option", {
1348
1348
  key: e.value,
1349
1349
  value: e.value
1350
- }, D(e.label), 9, Rn))), 128))], 512), [[j, o.value]]),
1351
- p("button", zn, D(e.searchLabel), 1),
1350
+ }, k(e.label), 9, Vn))), 128))], 512), [[P, o.value]]),
1351
+ p("button", Hn, k(e.searchLabel), 1),
1352
1352
  g(n, {
1353
1353
  class: "mwnf-standalone-refine__button mwnf-standalone-refine__button--new",
1354
1354
  to: e.newSearch
1355
1355
  }, {
1356
- default: F(() => [h(D(e.newSearchLabel), 1)]),
1356
+ default: R(() => [h(k(e.newSearchLabel), 1)]),
1357
1357
  _: 1
1358
1358
  }, 8, ["to"])
1359
1359
  ])], 32));
1360
1360
  }
1361
- }, Vn = { class: "mwnf-standalone-item__back mwnf-standalone-pl__back" }, Hn = { class: "mwnf-standalone-pl__heads" }, Un = { class: "mwnf-standalone-pl__head" }, Wn = { key: 0 }, Gn = ["onClick"], Kn = { class: "mwnf-standalone-pl__row" }, qn = { class: "mwnf-standalone-pl__main" }, Jn = { class: "mwnf-standalone-pl__associated" }, Yn = {
1361
+ }, Wn = { class: "mwnf-standalone-item__back mwnf-standalone-pl__back" }, Gn = { class: "mwnf-standalone-pl__heads" }, Kn = { class: "mwnf-standalone-pl__head" }, qn = { key: 0 }, Jn = ["onClick"], Yn = { class: "mwnf-standalone-pl__row" }, Xn = { class: "mwnf-standalone-pl__main" }, Zn = { class: "mwnf-standalone-pl__associated" }, Qn = {
1362
1362
  key: 0,
1363
1363
  class: "mwnf-standalone-pl__none"
1364
- }, Xn = {
1364
+ }, $n = {
1365
1365
  __name: "PartnerList",
1366
1366
  props: {
1367
1367
  type: {
@@ -1390,56 +1390,56 @@ var at = { class: "mwnf-standalone-related" }, ot = { class: "mwnf-standalone-re
1390
1390
  }
1391
1391
  },
1392
1392
  setup(e) {
1393
- let t = e, r = l(() => t.type === "museum"), i = w(null), a = w(/* @__PURE__ */ new Set());
1394
- P([r, () => t.groups.length], () => {
1393
+ let t = e, r = l(() => t.type === "museum"), i = E(null), a = E(/* @__PURE__ */ new Set());
1394
+ L([r, () => t.groups.length], () => {
1395
1395
  i.value = r.value ? null : 0, a.value = r.value ? /* @__PURE__ */ new Set() : new Set(t.groups.map((e, t) => t));
1396
1396
  }, { immediate: !0 });
1397
1397
  function o(e) {
1398
1398
  let t = i.value === e;
1399
1399
  i.value = t ? null : e, a.value = t ? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set([e]);
1400
1400
  }
1401
- return (t, s) => (C(), f("div", { class: y(["mwnf-standalone-pl", r.value ? "mwnf-standalone-pl--museums" : "mwnf-standalone-pl--institutions"]) }, [
1402
- p("p", Vn, [(C(!0), f(c, null, T(e.back, (e) => (C(), f(c, { key: e.label }, [e.history ? (C(), f("button", {
1401
+ return (t, s) => (w(), f("div", { class: b(["mwnf-standalone-pl", r.value ? "mwnf-standalone-pl--museums" : "mwnf-standalone-pl--institutions"]) }, [
1402
+ p("p", Wn, [(w(!0), f(c, null, D(e.back, (e) => (w(), f(c, { key: e.label }, [e.history ? (w(), f("button", {
1403
1403
  key: 0,
1404
1404
  type: "button",
1405
1405
  class: "mwnf-standalone-item__back-link",
1406
1406
  onClick: s[0] ||= (e) => t.$router.back()
1407
- }, D(e.label), 1)) : (C(), u(n, {
1407
+ }, k(e.label), 1)) : (w(), u(n, {
1408
1408
  key: 1,
1409
1409
  class: "mwnf-standalone-item__back-link",
1410
1410
  to: e.to,
1411
1411
  href: e.href
1412
1412
  }, {
1413
- default: F(() => [h(D(e.label), 1)]),
1413
+ default: R(() => [h(k(e.label), 1)]),
1414
1414
  _: 2
1415
- }, 1032, ["to", "href"]))], 64))), 128)), E(t.$slots, "back")]),
1416
- p("div", Hn, [(C(!0), f(c, null, T(e.heads, (e) => (C(), f("h3", { key: e }, D(e), 1))), 128))]),
1417
- (C(!0), f(c, null, T(e.groups, (t, s) => (C(), f("div", {
1415
+ }, 1032, ["to", "href"]))], 64))), 128)), O(t.$slots, "back")]),
1416
+ p("div", Gn, [(w(!0), f(c, null, D(e.heads, (e) => (w(), f("h3", { key: e }, k(e), 1))), 128))]),
1417
+ (w(!0), f(c, null, D(e.groups, (t, s) => (w(), f("div", {
1418
1418
  key: t.label,
1419
1419
  class: "mwnf-standalone-pl__group"
1420
- }, [p("div", Un, [r.value ? (C(), f("h3", Wn, D(t.label), 1)) : d("", !0), p("h3", null, [p("a", {
1420
+ }, [p("div", Kn, [r.value ? (w(), f("h3", qn, k(t.label), 1)) : d("", !0), p("h3", null, [p("a", {
1421
1421
  href: "#",
1422
- class: y(["mwnf-standalone-pl__toggle", { "mwnf-standalone-pl__toggle--active": i.value === s }]),
1423
- onClick: L((e) => o(s), ["prevent"])
1424
- }, D(r.value ? e.seeAssociated : t.label), 11, Gn)])]), I(p("div", Kn, [p("div", qn, [(C(!0), f(c, null, T(t.main, (e) => (C(), f("p", { key: e.id }, [g(n, {
1422
+ class: b(["mwnf-standalone-pl__toggle", { "mwnf-standalone-pl__toggle--active": i.value === s }]),
1423
+ onClick: B((e) => o(s), ["prevent"])
1424
+ }, k(r.value ? e.seeAssociated : t.label), 11, Jn)])]), z(p("div", Yn, [p("div", Xn, [(w(!0), f(c, null, D(t.main, (e) => (w(), f("p", { key: e.id }, [g(n, {
1425
1425
  to: e.to,
1426
1426
  href: e.href
1427
1427
  }, {
1428
- default: F(() => [h(D(e.label), 1)]),
1428
+ default: R(() => [h(k(e.label), 1)]),
1429
1429
  _: 2
1430
- }, 1032, ["to", "href"])]))), 128))]), I(p("div", Jn, [(C(!0), f(c, null, T(t.associated, (e) => (C(), f("p", { key: e.id }, [g(n, {
1430
+ }, 1032, ["to", "href"])]))), 128))]), z(p("div", Zn, [(w(!0), f(c, null, D(t.associated, (e) => (w(), f("p", { key: e.id }, [g(n, {
1431
1431
  to: e.to,
1432
1432
  href: e.href
1433
1433
  }, {
1434
- default: F(() => [h(D(e.label), 1)]),
1434
+ default: R(() => [h(k(e.label), 1)]),
1435
1435
  _: 2
1436
- }, 1032, ["to", "href"])]))), 128)), r.value && !t.associated.length ? (C(), f("p", Yn, D(e.noAssociated), 1)) : d("", !0)], 512), [[N, !r.value || a.value.has(s)]])], 512), [[N, r.value || a.value.has(s)]])]))), 128))
1436
+ }, 1032, ["to", "href"])]))), 128)), r.value && !t.associated.length ? (w(), f("p", Qn, k(e.noAssociated), 1)) : d("", !0)], 512), [[I, !r.value || a.value.has(s)]])], 512), [[I, r.value || a.value.has(s)]])]))), 128))
1437
1437
  ], 2));
1438
1438
  }
1439
- }, Zn = { class: "mwnf-standalone-item__back mwnf-standalone-sp__back" }, Qn = {
1439
+ }, er = { class: "mwnf-standalone-item__back mwnf-standalone-sp__back" }, tr = {
1440
1440
  key: 0,
1441
1441
  class: "mwnf-standalone-sp__heading"
1442
- }, $n = ["innerHTML"], er = { class: "mwnf-standalone-sp__text" }, tr = { key: 0 }, nr = { key: 1 }, rr = { key: 2 }, ir = ["href"], ar = ["innerHTML"], or = { class: "mwnf-standalone-sp__logo" }, sr = { key: 0 }, cr = ["src", "alt"], lr = {
1442
+ }, nr = ["innerHTML"], rr = { class: "mwnf-standalone-sp__text" }, ir = { key: 0 }, ar = { key: 1 }, or = { key: 2 }, sr = ["href"], cr = ["innerHTML"], lr = { class: "mwnf-standalone-sp__logo" }, ur = { key: 0 }, dr = ["src", "alt"], fr = {
1443
1443
  __name: "SponsorList",
1444
1444
  props: {
1445
1445
  heading: {
@@ -1458,59 +1458,190 @@ var at = { class: "mwnf-standalone-related" }, ot = { class: "mwnf-standalone-re
1458
1458
  setup(e) {
1459
1459
  let t = e, r = l(() => t.rows.some((e) => e.label !== void 0)), i = l(() => t.rows.map((e) => ({
1460
1460
  ...e,
1461
- labelHtml: e.label ? H(e.label) : "",
1462
- remarksHtml: e.remarks ? H(e.remarks) : ""
1461
+ labelHtml: e.label ? W(e.label) : "",
1462
+ remarksHtml: e.remarks ? W(e.remarks) : ""
1463
1463
  })));
1464
- return (t, a) => (C(), f("div", { class: y(["mwnf-standalone-sp", { "mwnf-standalone-sp--labels": r.value }]) }, [
1465
- p("p", Zn, [(C(!0), f(c, null, T(e.back, (e) => (C(), f(c, { key: e.label }, [e.history ? (C(), f("button", {
1464
+ return (t, a) => (w(), f("div", { class: b(["mwnf-standalone-sp", { "mwnf-standalone-sp--labels": r.value }]) }, [
1465
+ p("p", er, [(w(!0), f(c, null, D(e.back, (e) => (w(), f(c, { key: e.label }, [e.history ? (w(), f("button", {
1466
1466
  key: 0,
1467
1467
  type: "button",
1468
1468
  class: "mwnf-standalone-item__back-link",
1469
1469
  onClick: a[0] ||= (e) => t.$router.back()
1470
- }, D(e.label), 1)) : (C(), u(n, {
1470
+ }, k(e.label), 1)) : (w(), u(n, {
1471
1471
  key: 1,
1472
1472
  class: "mwnf-standalone-item__back-link",
1473
1473
  to: e.to,
1474
1474
  href: e.href
1475
1475
  }, {
1476
- default: F(() => [h(D(e.label), 1)]),
1476
+ default: R(() => [h(k(e.label), 1)]),
1477
1477
  _: 2
1478
1478
  }, 1032, ["to", "href"]))], 64))), 128))]),
1479
- e.heading ? (C(), f("h3", Qn, D(e.heading), 1)) : d("", !0),
1480
- (C(!0), f(c, null, T(i.value, (e, t) => (C(), f("div", {
1479
+ e.heading ? (w(), f("h3", tr, k(e.heading), 1)) : d("", !0),
1480
+ (w(!0), f(c, null, D(i.value, (e, t) => (w(), f("div", {
1481
1481
  key: t,
1482
1482
  class: "mwnf-standalone-sp__row"
1483
1483
  }, [
1484
- r.value ? (C(), f("div", {
1484
+ r.value ? (w(), f("div", {
1485
1485
  key: 0,
1486
1486
  class: "mwnf-standalone-sp__label",
1487
1487
  innerHTML: e.labelHtml
1488
- }, null, 8, $n)) : d("", !0),
1489
- p("div", er, [
1490
- e.region ? (C(), f("p", tr, D(e.region), 1)) : d("", !0),
1491
- e.name ? (C(), f("p", nr, D(e.name), 1)) : d("", !0),
1492
- e.web ? (C(), f("p", rr, [p("a", {
1488
+ }, null, 8, nr)) : d("", !0),
1489
+ p("div", rr, [
1490
+ e.region ? (w(), f("p", ir, k(e.region), 1)) : d("", !0),
1491
+ e.name ? (w(), f("p", ar, k(e.name), 1)) : d("", !0),
1492
+ e.web ? (w(), f("p", or, [p("a", {
1493
1493
  href: `http://${e.web}`,
1494
1494
  target: "_blank",
1495
1495
  rel: "noopener"
1496
- }, D(e.web), 9, ir)])) : d("", !0),
1497
- e.remarksHtml ? (C(), f("div", {
1496
+ }, k(e.web), 9, sr)])) : d("", !0),
1497
+ e.remarksHtml ? (w(), f("div", {
1498
1498
  key: 3,
1499
1499
  class: "mwnf-standalone-sp__remarks",
1500
1500
  innerHTML: e.remarksHtml
1501
- }, null, 8, ar)) : d("", !0)
1501
+ }, null, 8, cr)) : d("", !0)
1502
1502
  ]),
1503
- p("div", or, [e.logo ? (C(), f("p", sr, [p("img", {
1503
+ p("div", lr, [e.logo ? (w(), f("p", ur, [p("img", {
1504
1504
  src: e.logo,
1505
1505
  alt: e.name
1506
- }, null, 8, cr)])) : d("", !0)])
1506
+ }, null, 8, dr)])) : d("", !0)])
1507
1507
  ]))), 128))
1508
1508
  ], 2));
1509
1509
  }
1510
- }, ur = {
1510
+ }, pr = { class: "mwnf-standalone-db__criteria" }, mr = { class: "mwnf-standalone-db__head mwnf-standalone-db__head--keywords" }, hr = { class: "mwnf-standalone-db__head mwnf-standalone-db__head--category" }, gr = {
1511
+ key: 0,
1512
+ class: "mwnf-standalone-db__aside"
1513
+ }, _r = ["onUpdate:modelValue", "aria-label"], vr = { value: "AND" }, yr = { value: "OR" }, br = ["onUpdate:modelValue", "aria-label"], xr = ["onUpdate:modelValue"], Sr = ["value"], Cr = { class: "mwnf-standalone-db__label mwnf-standalone-db__label--date" }, wr = { class: "mwnf-standalone-db__dates" }, Tr = ["aria-label"], Er = { value: "" }, Dr = ["value"], Or = ["aria-label"], kr = { value: "" }, Ar = ["value"], jr = { class: "mwnf-standalone-db__label mwnf-standalone-db__label--language" }, Mr = { class: "mwnf-standalone-db__language" }, Nr = ["aria-label"], Pr = ["value"], Fr = {
1514
+ key: 1,
1515
+ class: "mwnf-standalone-db__options"
1516
+ }, Ir = { class: "mwnf-standalone-db__go" }, Lr = { type: "submit" }, Rr = {
1517
+ key: 2,
1518
+ class: "mwnf-standalone-db__listing"
1519
+ }, zr = ["href", "title"], Br = {
1520
+ __name: "DatabaseForm",
1521
+ props: /*@__PURE__*/ v({
1522
+ labels: {
1523
+ type: Object,
1524
+ required: !0
1525
+ },
1526
+ fields: {
1527
+ type: Array,
1528
+ default: () => []
1529
+ },
1530
+ fromYears: {
1531
+ type: Array,
1532
+ default: () => []
1533
+ },
1534
+ toYears: {
1535
+ type: Array,
1536
+ default: () => []
1537
+ },
1538
+ languages: {
1539
+ type: Array,
1540
+ default: () => []
1541
+ },
1542
+ listingHref: {
1543
+ type: String,
1544
+ default: ""
1545
+ }
1546
+ }, {
1547
+ language: {
1548
+ type: String,
1549
+ default: ""
1550
+ },
1551
+ languageModifiers: {}
1552
+ }),
1553
+ emits: /*@__PURE__*/ v(["search"], ["update:language"]),
1554
+ setup(e, { emit: t }) {
1555
+ let n = e, r = M(e, "language"), i = t, a = N(), o = T([
1556
+ {
1557
+ keyword: "",
1558
+ field: n.fields[0]?.value ?? "",
1559
+ cond: "AND"
1560
+ },
1561
+ {
1562
+ keyword: "",
1563
+ field: n.fields[0]?.value ?? "",
1564
+ cond: "AND"
1565
+ },
1566
+ {
1567
+ keyword: "",
1568
+ field: n.fields[0]?.value ?? "",
1569
+ cond: "AND"
1570
+ }
1571
+ ]), s = T({
1572
+ from: "",
1573
+ to: ""
1574
+ }), u = l(() => !!a.options);
1575
+ function m() {
1576
+ i("search", {
1577
+ rows: o.map((e) => ({
1578
+ ...e,
1579
+ keyword: e.keyword.trim()
1580
+ })),
1581
+ from: s.from,
1582
+ to: s.to
1583
+ });
1584
+ }
1585
+ return (t, n) => (w(), f("form", {
1586
+ class: b(["mwnf-standalone-db", { "mwnf-standalone-db--options": u.value }]),
1587
+ onSubmit: B(m, ["prevent"])
1588
+ }, [
1589
+ p("h3", pr, k(e.labels.criteria), 1),
1590
+ p("p", mr, k(e.labels.keywords), 1),
1591
+ p("p", hr, k(e.labels.category), 1),
1592
+ t.$slots.aside ? (w(), f("p", gr, [O(t.$slots, "aside")])) : d("", !0),
1593
+ (w(!0), f(c, null, D(o, (t, n) => (w(), f(c, { key: n }, [
1594
+ n ? z((w(), f("select", {
1595
+ key: 0,
1596
+ "onUpdate:modelValue": (e) => t.cond = e,
1597
+ class: b(["mwnf-standalone-db__cond", `mwnf-standalone-db__row-${n + 1}`]),
1598
+ "aria-label": `${e.labels.and} / ${e.labels.or}`
1599
+ }, [p("option", vr, k(e.labels.and), 1), p("option", yr, k(e.labels.or), 1)], 10, _r)), [[P, t.cond]]) : d("", !0),
1600
+ z(p("input", {
1601
+ "onUpdate:modelValue": (e) => t.keyword = e,
1602
+ type: "text",
1603
+ class: b(["mwnf-standalone-db__keyword", `mwnf-standalone-db__row-${n + 1}`]),
1604
+ "aria-label": e.labels.keywords
1605
+ }, null, 10, br), [[F, t.keyword]]),
1606
+ p("label", { class: b(["mwnf-standalone-db__field", `mwnf-standalone-db__row-${n + 1}`]) }, [p("span", null, k(e.labels.in), 1), z(p("select", { "onUpdate:modelValue": (e) => t.field = e }, [(w(!0), f(c, null, D(e.fields, (e) => (w(), f("option", {
1607
+ key: e.value,
1608
+ value: e.value
1609
+ }, k(e.label), 9, Sr))), 128))], 8, xr), [[P, t.field]])], 2)
1610
+ ], 64))), 128)),
1611
+ p("span", Cr, k(e.labels.date), 1),
1612
+ p("p", wr, [z(p("select", {
1613
+ "onUpdate:modelValue": n[0] ||= (e) => s.from = e,
1614
+ "aria-label": `${e.labels.date} ${e.labels.from}`
1615
+ }, [p("option", Er, k(e.labels.from), 1), (w(!0), f(c, null, D(e.fromYears, (e) => (w(), f("option", {
1616
+ key: e,
1617
+ value: e
1618
+ }, k(e), 9, Dr))), 128))], 8, Tr), [[P, s.from]]), z(p("select", {
1619
+ "onUpdate:modelValue": n[1] ||= (e) => s.to = e,
1620
+ "aria-label": `${e.labels.date} ${e.labels.to}`
1621
+ }, [p("option", kr, k(e.labels.to), 1), (w(!0), f(c, null, D(e.toYears, (e) => (w(), f("option", {
1622
+ key: e,
1623
+ value: e
1624
+ }, k(e), 9, Ar))), 128))], 8, Or), [[P, s.to]])]),
1625
+ p("span", jr, k(e.labels.language), 1),
1626
+ p("p", Mr, [z(p("select", {
1627
+ "onUpdate:modelValue": n[2] ||= (e) => r.value = e,
1628
+ "aria-label": e.labels.language
1629
+ }, [n[3] ||= p("option", { value: "" }, null, -1), (w(!0), f(c, null, D(e.languages, (e) => (w(), f("option", {
1630
+ key: e.code,
1631
+ value: e.code
1632
+ }, k(e.name), 9, Pr))), 128))], 8, Nr), [[P, r.value]])]),
1633
+ u.value ? (w(), f("p", Fr, [O(t.$slots, "options")])) : d("", !0),
1634
+ p("p", Ir, [p("button", Lr, k(e.labels.go), 1)]),
1635
+ e.listingHref ? (w(), f("p", Rr, [p("a", {
1636
+ href: e.listingHref,
1637
+ title: e.labels.listingTooltip
1638
+ }, k(e.labels.listing), 9, zr)])) : d("", !0)
1639
+ ], 34));
1640
+ }
1641
+ }, Vr = {
1511
1642
  key: 0,
1512
1643
  class: "mwnf-standalone-pages"
1513
- }, dr = { class: "mwnf-standalone-pages__previous" }, fr = ["aria-current", "onClick"], pr = { class: "mwnf-standalone-pages__next" }, mr = {
1644
+ }, Hr = { class: "mwnf-standalone-pages__previous" }, Ur = ["aria-current", "onClick"], Wr = { class: "mwnf-standalone-pages__next" }, Gr = {
1514
1645
  __name: "Pagination",
1515
1646
  props: {
1516
1647
  pageInfo: {
@@ -1540,30 +1671,30 @@ var at = { class: "mwnf-standalone-related" }, ot = { class: "mwnf-standalone-re
1540
1671
  function s(e) {
1541
1672
  e >= 1 && e <= a.value && e !== i.value && r("navigate", e);
1542
1673
  }
1543
- return (t, n) => a.value > 1 ? (C(), f("nav", ur, [
1544
- p("span", dr, [i.value > 1 ? (C(), f("a", {
1674
+ return (t, n) => a.value > 1 ? (w(), f("nav", Vr, [
1675
+ p("span", Hr, [i.value > 1 ? (w(), f("a", {
1545
1676
  key: 0,
1546
1677
  href: "#",
1547
- onClick: n[0] ||= L((e) => s(i.value - 1), ["prevent"])
1548
- }, D(e.previousLabel), 1)) : (C(), f(c, { key: 1 }, [h(D(e.previousLabel), 1)], 64))]),
1549
- (C(!0), f(c, null, T(o.value, (e) => (C(), f("a", {
1678
+ onClick: n[0] ||= B((e) => s(i.value - 1), ["prevent"])
1679
+ }, k(e.previousLabel), 1)) : (w(), f(c, { key: 1 }, [h(k(e.previousLabel), 1)], 64))]),
1680
+ (w(!0), f(c, null, D(o.value, (e) => (w(), f("a", {
1550
1681
  key: e,
1551
1682
  href: "#",
1552
- class: y(["mwnf-standalone-pages__number", { "mwnf-standalone-pages__number--active": e === i.value }]),
1683
+ class: b(["mwnf-standalone-pages__number", { "mwnf-standalone-pages__number--active": e === i.value }]),
1553
1684
  "aria-current": e === i.value ? "page" : void 0,
1554
- onClick: L((t) => s(e), ["prevent"])
1555
- }, D(e), 11, fr))), 128)),
1556
- p("span", pr, [i.value < a.value ? (C(), f("a", {
1685
+ onClick: B((t) => s(e), ["prevent"])
1686
+ }, k(e), 11, Ur))), 128)),
1687
+ p("span", Wr, [i.value < a.value ? (w(), f("a", {
1557
1688
  key: 0,
1558
1689
  href: "#",
1559
- onClick: n[1] ||= L((e) => s(i.value + 1), ["prevent"])
1560
- }, D(e.nextLabel), 1)) : (C(), f(c, { key: 1 }, [h(D(e.nextLabel), 1)], 64))])
1690
+ onClick: n[1] ||= B((e) => s(i.value + 1), ["prevent"])
1691
+ }, k(e.nextLabel), 1)) : (w(), f(c, { key: 1 }, [h(k(e.nextLabel), 1)], 64))])
1561
1692
  ])) : d("", !0);
1562
1693
  }
1563
- }, hr = ["disabled", "aria-label"], gr = { class: "mwnf-standalone-slider__track" }, _r = ["src", "alt"], vr = {
1694
+ }, Kr = ["disabled", "aria-label"], qr = { class: "mwnf-standalone-slider__track" }, Jr = ["src", "alt"], Yr = {
1564
1695
  key: 0,
1565
1696
  class: "mwnf-standalone-slider__label"
1566
- }, yr = ["disabled", "aria-label"], br = {
1697
+ }, Xr = ["disabled", "aria-label"], Zr = {
1567
1698
  __name: "Slider",
1568
1699
  props: {
1569
1700
  slides: {
@@ -1584,46 +1715,46 @@ var at = { class: "mwnf-standalone-related" }, ot = { class: "mwnf-standalone-re
1584
1715
  }
1585
1716
  },
1586
1717
  setup(e) {
1587
- let t = e, { t: r } = q(), i = X(), a = w(0), o = l(() => Math.max(0, t.slides.length - t.visible)), s = l(() => t.slides.slice(a.value, a.value + t.visible).map((e) => ({
1718
+ let t = e, { t: r } = Y(), i = Z(), a = E(0), o = l(() => Math.max(0, t.slides.length - t.visible)), s = l(() => t.slides.slice(a.value, a.value + t.visible).map((e) => ({
1588
1719
  ...e,
1589
1720
  image: i(e.image) ?? "",
1590
1721
  label: e.label ? r(e.label) : ""
1591
1722
  })));
1592
- return (t, i) => e.slides.length ? (C(), f("div", {
1723
+ return (t, i) => e.slides.length ? (w(), f("div", {
1593
1724
  key: 0,
1594
1725
  class: "mwnf-standalone-slider",
1595
- style: x({ "--mwnf-standalone-slider-count": e.visible })
1726
+ style: S({ "--mwnf-standalone-slider-count": e.visible })
1596
1727
  }, [
1597
1728
  p("button", {
1598
1729
  type: "button",
1599
1730
  class: "mwnf-standalone-slider__button",
1600
1731
  disabled: a.value === 0,
1601
- "aria-label": O(r)(e.previousLabel),
1732
+ "aria-label": A(r)(e.previousLabel),
1602
1733
  onClick: i[0] ||= (e) => a.value = Math.max(0, a.value - 1)
1603
- }, "‹", 8, hr),
1604
- p("ul", gr, [(C(!0), f(c, null, T(s.value, (e) => (C(), f("li", {
1734
+ }, "‹", 8, Kr),
1735
+ p("ul", qr, [(w(!0), f(c, null, D(s.value, (e) => (w(), f("li", {
1605
1736
  key: e.image,
1606
1737
  class: "mwnf-standalone-slider__slide"
1607
1738
  }, [g(n, {
1608
1739
  to: e.to,
1609
1740
  href: e.href
1610
1741
  }, {
1611
- default: F(() => [p("img", {
1742
+ default: R(() => [p("img", {
1612
1743
  src: e.image,
1613
1744
  alt: e.label
1614
- }, null, 8, _r), e.label ? (C(), f("span", vr, D(e.label), 1)) : d("", !0)]),
1745
+ }, null, 8, Jr), e.label ? (w(), f("span", Yr, k(e.label), 1)) : d("", !0)]),
1615
1746
  _: 2
1616
1747
  }, 1032, ["to", "href"])]))), 128))]),
1617
1748
  p("button", {
1618
1749
  type: "button",
1619
1750
  class: "mwnf-standalone-slider__button",
1620
1751
  disabled: a.value >= o.value,
1621
- "aria-label": O(r)(e.nextLabel),
1752
+ "aria-label": A(r)(e.nextLabel),
1622
1753
  onClick: i[1] ||= (e) => a.value = Math.min(o.value, a.value + 1)
1623
- }, "›", 8, yr)
1754
+ }, "›", 8, Xr)
1624
1755
  ], 4)) : d("", !0);
1625
1756
  }
1626
- }, xr = ["dir"], Sr = { class: "mwnf-standalone-window__box" }, Cr = { class: "mwnf-standalone-window__header" }, wr = { class: "mwnf-standalone-window__heading" }, Tr = ["aria-label"], Er = { class: "mwnf-standalone-window__article" }, Dr = {
1757
+ }, Qr = ["dir"], $r = { class: "mwnf-standalone-window__box" }, ei = { class: "mwnf-standalone-window__header" }, ti = { class: "mwnf-standalone-window__heading" }, ni = ["aria-label"], ri = { class: "mwnf-standalone-window__article" }, ii = {
1627
1758
  __name: "Window",
1628
1759
  props: {
1629
1760
  heading: {
@@ -1643,24 +1774,24 @@ var at = { class: "mwnf-standalone-related" }, ot = { class: "mwnf-standalone-re
1643
1774
  function t() {
1644
1775
  window.opener ? (window.opener.focus(), window.close()) : window.history.back();
1645
1776
  }
1646
- return (n, r) => (C(), f("div", {
1777
+ return (n, r) => (w(), f("div", {
1647
1778
  class: "mwnf-standalone-window",
1648
1779
  dir: e.dir || void 0
1649
- }, [p("div", Sr, [p("header", Cr, [p("h1", wr, D(e.heading), 1), p("button", {
1780
+ }, [p("div", $r, [p("header", ei, [p("h1", ti, k(e.heading), 1), p("button", {
1650
1781
  type: "button",
1651
1782
  class: "mwnf-standalone-window__close",
1652
1783
  "aria-label": e.closeLabel || void 0,
1653
1784
  onClick: t
1654
- }, "×", 8, Tr)]), p("article", Er, [E(n.$slots, "default")])])], 8, xr));
1785
+ }, "×", 8, ni)]), p("article", ri, [O(n.$slots, "default")])])], 8, Qr));
1655
1786
  }
1656
- }, Or = { class: "mwnf-standalone-glossary" }, kr = { class: "mwnf-standalone-glossary__intro" }, Ar = { class: "mwnf-standalone-glossary__body" }, jr = { class: "mwnf-standalone-glossary__field" }, Mr = ["aria-expanded", "aria-label"], Nr = {
1787
+ }, ai = { class: "mwnf-standalone-glossary" }, oi = { class: "mwnf-standalone-glossary__intro" }, si = { class: "mwnf-standalone-glossary__body" }, ci = { class: "mwnf-standalone-glossary__field" }, li = ["aria-expanded", "aria-label"], ui = {
1657
1788
  key: 0,
1658
1789
  class: "mwnf-standalone-glossary__suggestions",
1659
1790
  role: "listbox"
1660
- }, Pr = ["aria-selected", "onMousedown"], Fr = {
1791
+ }, di = ["aria-selected", "onMousedown"], fi = {
1661
1792
  class: "mwnf-standalone-glossary__result",
1662
1793
  "aria-live": "polite"
1663
- }, Ir = { class: "mwnf-standalone-glossary__label" }, Lr = ["innerHTML"], Rr = { class: "mwnf-standalone-glossary__label mwnf-standalone-glossary__label--spellings" }, zr = { class: "mwnf-standalone-glossary__note" }, Br = { class: "mwnf-standalone-glossary__spellings" }, Vr = {
1794
+ }, pi = { class: "mwnf-standalone-glossary__label" }, mi = ["innerHTML"], hi = { class: "mwnf-standalone-glossary__label mwnf-standalone-glossary__label--spellings" }, gi = { class: "mwnf-standalone-glossary__note" }, _i = { class: "mwnf-standalone-glossary__spellings" }, vi = {
1664
1795
  __name: "GlossarySpelling",
1665
1796
  props: {
1666
1797
  language: {
@@ -1681,27 +1812,27 @@ var at = { class: "mwnf-standalone-related" }, ot = { class: "mwnf-standalone-re
1681
1812
  }
1682
1813
  },
1683
1814
  setup(e) {
1684
- let t = e, n = K(), r = B(t.entity), i = l(() => n.availableLanguages(t.entity).slice().sort());
1685
- S(async () => {
1686
- await V([t.entity]), await Promise.all(i.value.map((e) => n.loadTranslations(t.entity, e)));
1815
+ let t = e, n = J(), r = ee(t.entity), i = l(() => n.availableLanguages(t.entity).slice().sort());
1816
+ C(async () => {
1817
+ await U([t.entity]), await Promise.all(i.value.map((e) => n.loadTranslations(t.entity, e)));
1687
1818
  });
1688
- let a = w(""), o = w(null), s = w(-1), m = (e, r) => n.translations(t.entity, r)[e.id] ?? {}, h = l(() => {
1689
- let e = z(a.value.trim());
1819
+ let a = E(""), o = E(null), s = E(-1), m = (e, r) => n.translations(t.entity, r)[e.id] ?? {}, h = l(() => {
1820
+ let e = H(a.value.trim());
1690
1821
  if (!e || o.value) return [];
1691
1822
  let n = /* @__PURE__ */ new Map();
1692
1823
  for (let i of r.value ?? []) for (let r of m(i, t.language).spellings ?? []) {
1693
1824
  let t = String(r).trim();
1694
- t && z(t).startsWith(e) && n.set(t, i);
1825
+ t && H(t).startsWith(e) && n.set(t, i);
1695
1826
  }
1696
1827
  return [...n].map(([e, t]) => ({
1697
1828
  spelling: e,
1698
1829
  term: t
1699
- })).sort((e, t) => z(e.spelling) < z(t.spelling) ? -1 : +(z(e.spelling) > z(t.spelling)));
1700
- }), g = l(() => o.value ? H(m(o.value, t.language).definition ?? "") : ""), _ = l(() => {
1830
+ })).sort((e, t) => H(e.spelling) < H(t.spelling) ? -1 : +(H(e.spelling) > H(t.spelling)));
1831
+ }), g = l(() => o.value ? W(m(o.value, t.language).definition ?? "") : ""), _ = l(() => {
1701
1832
  if (!o.value) return [];
1702
1833
  let e = /* @__PURE__ */ new Set(), t = [];
1703
1834
  for (let n of i.value) for (let r of m(o.value, n).spellings ?? []) {
1704
- let n = z(String(r).trim());
1835
+ let n = H(String(r).trim());
1705
1836
  n && !e.has(n) && (e.add(n), t.push(String(r).trim()));
1706
1837
  }
1707
1838
  return t;
@@ -1709,19 +1840,19 @@ var at = { class: "mwnf-standalone-related" }, ot = { class: "mwnf-standalone-re
1709
1840
  function v(e) {
1710
1841
  o.value = e.term, a.value = e.spelling, s.value = -1;
1711
1842
  }
1712
- function b() {
1843
+ function y() {
1713
1844
  o.value = null, s.value = -1;
1714
1845
  }
1715
1846
  function x(e) {
1716
1847
  let t = h.value;
1717
1848
  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])));
1718
1849
  }
1719
- return (t, n) => (C(), u(Dr, {
1850
+ return (t, n) => (w(), u(ii, {
1720
1851
  heading: e.labels.heading,
1721
1852
  "close-label": e.labels.close,
1722
1853
  dir: e.dir
1723
1854
  }, {
1724
- default: F(() => [p("div", Or, [p("h2", kr, D(e.labels.intro), 1), p("div", Ar, [p("div", jr, [I(p("input", {
1855
+ default: R(() => [p("div", ai, [p("h2", oi, k(e.labels.intro), 1), p("div", si, [p("div", ci, [z(p("input", {
1725
1856
  "onUpdate:modelValue": n[0] ||= (e) => a.value = e,
1726
1857
  type: "text",
1727
1858
  class: "mwnf-standalone-glossary__input",
@@ -1729,21 +1860,21 @@ var at = { class: "mwnf-standalone-related" }, ot = { class: "mwnf-standalone-re
1729
1860
  "aria-autocomplete": "list",
1730
1861
  "aria-expanded": h.value.length > 0,
1731
1862
  "aria-label": e.labels.heading,
1732
- onInput: b,
1863
+ onInput: y,
1733
1864
  onKeydown: x
1734
- }, null, 40, Mr), [[M, a.value]]), h.value.length ? (C(), f("ul", Nr, [(C(!0), f(c, null, T(h.value, (e, t) => (C(), f("li", {
1865
+ }, null, 40, li), [[F, a.value]]), h.value.length ? (w(), f("ul", ui, [(w(!0), f(c, null, D(h.value, (e, t) => (w(), f("li", {
1735
1866
  key: e.spelling,
1736
1867
  role: "option",
1737
1868
  "aria-selected": t === s.value,
1738
- class: y(["mwnf-standalone-glossary__suggestion", { "mwnf-standalone-glossary__suggestion--active": t === s.value }]),
1739
- onMousedown: L((t) => v(e), ["prevent"])
1740
- }, D(e.spelling), 43, Pr))), 128))])) : d("", !0)]), p("div", Fr, [o.value ? (C(), f(c, { key: 0 }, [g.value ? (C(), f(c, { key: 0 }, [p("h3", Ir, D(e.labels.definition), 1), p("div", {
1869
+ class: b(["mwnf-standalone-glossary__suggestion", { "mwnf-standalone-glossary__suggestion--active": t === s.value }]),
1870
+ onMousedown: B((t) => v(e), ["prevent"])
1871
+ }, k(e.spelling), 43, di))), 128))])) : d("", !0)]), p("div", fi, [o.value ? (w(), f(c, { key: 0 }, [g.value ? (w(), f(c, { key: 0 }, [p("h3", pi, k(e.labels.definition), 1), p("div", {
1741
1872
  class: "mwnf-standalone-glossary__definition",
1742
1873
  innerHTML: g.value
1743
- }, null, 8, Lr)], 64)) : d("", !0), _.value.length ? (C(), f(c, { key: 1 }, [
1744
- p("h3", Rr, D(e.labels.spellings), 1),
1745
- p("p", zr, D(e.labels.spellingsNote), 1),
1746
- p("ul", Br, [(C(!0), f(c, null, T(_.value, (e) => (C(), f("li", { key: e }, D(e), 1))), 128))])
1874
+ }, null, 8, mi)], 64)) : d("", !0), _.value.length ? (w(), f(c, { key: 1 }, [
1875
+ p("h3", hi, k(e.labels.spellings), 1),
1876
+ p("p", gi, k(e.labels.spellingsNote), 1),
1877
+ p("ul", _i, [(w(!0), f(c, null, D(_.value, (e) => (w(), f("li", { key: e }, k(e), 1))), 128))])
1747
1878
  ], 64)) : d("", !0)], 64)) : d("", !0)])])])]),
1748
1879
  _: 1
1749
1880
  }, 8, [
@@ -1754,4 +1885,4 @@ var at = { class: "mwnf-standalone-related" }, ot = { class: "mwnf-standalone-re
1754
1885
  }
1755
1886
  };
1756
1887
  //#endregion
1757
- export { pt as RelatedContent, Y as StandaloneBanner, Vr as StandaloneGlossarySpelling, Ye as StandaloneHome, _t as StandaloneItemSheet, mr as StandalonePagination, Xn as StandalonePartnerList, Kt as StandalonePartnerPage, Bn as StandaloneRefine, pn as StandaloneResultsGrid, Pn as StandaloneResultsList, Ae as StandaloneShell, br as StandaloneSlider, lr as StandaloneSponsorList, Se as StandaloneSponsors, $t as StandaloneSubNav, Xt as StandaloneTextPage, Ge as StandaloneTileGrid, Dr as StandaloneWindow, Re as TodayHighlight, Z as byLanguage, oe as dayOfYear, se as legacyHomeItemKey, Q as pickForDay };
1888
+ export { gt as RelatedContent, se as StandaloneBanner, Br as StandaloneDatabaseForm, vi as StandaloneGlossarySpelling, Qe as StandaloneHome, bt as StandaloneItemSheet, Gr as StandalonePagination, $n as StandalonePartnerList, Yt as StandalonePartnerPage, Un as StandaloneRefine, gn as StandaloneResultsGrid, Ln as StandaloneResultsList, Ne as StandaloneShell, Zr as StandaloneSlider, fr as StandaloneSponsorList, Te as StandaloneSponsors, nn as StandaloneSubNav, $t as StandaloneTextPage, Je as StandaloneTileGrid, ii as StandaloneWindow, Ve as TodayHighlight, ce as byLanguage, le as dayOfYear, ue as legacyHomeItemKey, Q as pickForDay };