@museumwnf/viewer-layout 3.30.0 → 3.31.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,11 +2,11 @@ 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, vModelText as j, vShow as M, watch as N, withCtx as P, withDirectives as F, withModifiers as I } from "vue";
6
- import { byId as L, collate as R, entityRef as z, loadEntities as B, md as V, pictureCredits as ee, picturesInLanguage as te, removeEndingPoint as ne, renderBlock as H, renderInline as U, renderPlain as W, useDataPackage as G, useI18n as K, useSection as re, useSiteConfig as q } 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 _, 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 ee, pictureCredits as te, picturesInLanguage as ne, removeEndingPoint as re, renderBlock as H, renderInline as U, renderPlain as W, useDataPackage as G, useI18n as K, useSection as ie, useSiteConfig as q } 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
12
  }, J = {
@@ -25,7 +25,7 @@ var ae = {
25
25
  return (t, n) => (C(), f("div", {
26
26
  class: "mwnf-standalone-banner",
27
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));
28
+ }, [e.title ? (C(), f("h1", oe, [p("span", null, D(e.title), 1)])) : d("", !0)], 4));
29
29
  }
30
30
  };
31
31
  //#endregion
@@ -44,7 +44,7 @@ function Z(e = /* @__PURE__ */ new Date()) {
44
44
  function Q(e, t = /* @__PURE__ */ new Date()) {
45
45
  return e?.length ? e[Z(t) % e.length] : null;
46
46
  }
47
- function oe(e) {
47
+ function se(e) {
48
48
  let [t, ...n] = String(e ?? "").split("*")[0].trim().split(";");
49
49
  return !t || n.length < 5 ? "" : [
50
50
  "mwnf3",
@@ -54,22 +54,22 @@ function oe(e) {
54
54
  }
55
55
  //#endregion
56
56
  //#region src/standalone/Sponsors.vue
57
- var se = { class: "mwnf-standalone-sponsors" }, ce = {
57
+ var ce = { class: "mwnf-standalone-sponsors" }, le = {
58
58
  key: 0,
59
59
  class: "mwnf-standalone-sponsors__text"
60
- }, le = ["innerHTML"], ue = { key: 1 }, de = ["innerHTML"], fe = {
60
+ }, ue = ["innerHTML"], de = { key: 1 }, fe = ["innerHTML"], pe = {
61
61
  key: 1,
62
62
  class: "mwnf-standalone-sponsors__title"
63
- }, pe = {
63
+ }, me = {
64
64
  key: 2,
65
65
  class: "mwnf-standalone-sponsors__logos"
66
- }, me = {
66
+ }, he = {
67
67
  key: 0,
68
68
  class: "mwnf-standalone-sponsors__note"
69
- }, he = ["src", "alt"], ge = ["innerHTML"], _e = ["href"], ve = ["src", "alt"], ye = ["src", "alt"], be = {
69
+ }, ge = ["src", "alt"], _e = ["innerHTML"], ve = ["href"], ye = ["src", "alt"], be = ["src", "alt"], xe = {
70
70
  key: 3,
71
71
  class: "mwnf-standalone-sponsors__links"
72
- }, xe = {
72
+ }, Se = {
73
73
  __name: "Sponsors",
74
74
  props: { columns: {
75
75
  type: Array,
@@ -94,30 +94,30 @@ var se = { class: "mwnf-standalone-sponsors" }, ce = {
94
94
  label: r(e.label)
95
95
  }))
96
96
  })));
97
- return (e, t) => (C(), f("div", se, [(C(!0), f(c, null, T(a.value, (e) => (C(), f("div", {
97
+ return (e, t) => (C(), f("div", ce, [(C(!0), f(c, null, T(a.value, (e) => (C(), f("div", {
98
98
  key: e.key,
99
99
  class: "mwnf-standalone-sponsors__column",
100
100
  style: x(e.width ? { flexGrow: e.width } : void 0)
101
101
  }, [
102
- e.lead || e.text ? (C(), f("p", ce, [
102
+ e.lead || e.text ? (C(), f("p", le, [
103
103
  e.lead ? (C(), f("i", {
104
104
  key: 0,
105
105
  innerHTML: e.lead
106
- }, null, 8, le)) : d("", !0),
107
- e.lead && e.break ? (C(), f("br", ue)) : e.lead && e.text ? (C(), f(c, { key: 2 }, [h(D(" "))], 64)) : d("", !0),
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
108
  e.text ? (C(), f("span", {
109
109
  key: 3,
110
110
  innerHTML: e.text
111
- }, null, 8, de)) : d("", !0)
111
+ }, null, 8, fe)) : d("", !0)
112
112
  ])) : d("", !0),
113
- e.title ? (C(), f("p", fe, D(e.title), 1)) : d("", !0),
114
- e.logos.length ? (C(), f("ul", pe, [(C(!0), f(c, null, T(e.logos, (e) => (C(), f("li", { key: e.src }, [e.note ? (C(), f("details", me, [p("summary", null, [p("img", {
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", {
115
115
  src: e.src,
116
116
  alt: e.alt
117
- }, null, 8, he)]), p("div", {
117
+ }, null, 8, ge)]), p("div", {
118
118
  class: "mwnf-standalone-sponsors__note-body",
119
119
  innerHTML: e.note
120
- }, null, 8, ge)])) : e.href ? (C(), f("a", {
120
+ }, null, 8, _e)])) : e.href ? (C(), f("a", {
121
121
  key: 1,
122
122
  href: e.href,
123
123
  target: "_blank",
@@ -125,17 +125,17 @@ var se = { class: "mwnf-standalone-sponsors" }, ce = {
125
125
  }, [p("img", {
126
126
  src: e.src,
127
127
  alt: e.alt
128
- }, null, 8, ve)], 8, _e)) : (C(), f("img", {
128
+ }, null, 8, ye)], 8, ve)) : (C(), f("img", {
129
129
  key: 2,
130
130
  src: e.src,
131
131
  alt: e.alt
132
- }, null, 8, ye))]))), 128))])) : d("", !0),
133
- e.links.length ? (C(), f("ul", be, [(C(!0), f(c, null, T(e.links, (e) => (C(), f("li", { key: e.label }, [g(n, {
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, {
134
134
  to: e.to,
135
135
  href: e.href,
136
136
  external: !!e.external
137
137
  }, {
138
- default: P(() => [h(D(e.label), 1)]),
138
+ default: F(() => [h(D(e.label), 1)]),
139
139
  _: 2
140
140
  }, 1032, [
141
141
  "to",
@@ -144,16 +144,16 @@ var se = { class: "mwnf-standalone-sponsors" }, ce = {
144
144
  ])]))), 128))])) : d("", !0)
145
145
  ], 4))), 128))]));
146
146
  }
147
- }, Se = {
147
+ }, Ce = {
148
148
  key: 0,
149
149
  class: "mwnf-standalone mwnf-standalone--bare"
150
- }, Ce = { class: "mwnf-banner mwnf-standalone-home-banner" }, we = ["src"], Te = { class: "mwnf-standalone-home-banner__text" }, Ee = {
150
+ }, we = { class: "mwnf-banner mwnf-standalone-home-banner" }, Te = ["src"], Ee = { class: "mwnf-standalone-home-banner__text" }, De = {
151
151
  key: 0,
152
152
  class: "mwnf-standalone-home-banner__title"
153
- }, De = {
153
+ }, Oe = {
154
154
  key: 1,
155
155
  class: "mwnf-standalone-home-banner__line"
156
- }, Oe = ["src"], ke = {
156
+ }, ke = ["src"], Ae = {
157
157
  __name: "Shell",
158
158
  props: {
159
159
  language: {
@@ -167,7 +167,7 @@ var se = { class: "mwnf-standalone-sponsors" }, ce = {
167
167
  },
168
168
  emits: ["update:language"],
169
169
  setup(t, { emit: n }) {
170
- let r = t, i = n, { t: a, locale: o } = K(), c = ie(), h = l(() => !!c.meta?.bare), _ = q(), 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, X(t, o.value)), k = l(() => {
170
+ let r = t, i = n, { t: a, locale: o } = K(), c = ae(), h = l(() => !!c.meta?.bare), _ = q(), v = ie(), b = l(() => _.standalone ?? {}), x = l(() => _.navigation ?? {}), S = l(() => v.value === "home"), w = l(() => b.value.areas?.[v.value] ?? null), T = (t) => e(_.chrome, X(t, o.value)), k = l(() => {
171
171
  let e = b.value.logo ?? {}, t = T(w.value?.logo ?? e.src);
172
172
  return t ? {
173
173
  logo: t,
@@ -182,7 +182,7 @@ var se = { class: "mwnf-standalone-sponsors" }, ce = {
182
182
  }), N = l(() => {
183
183
  let e = x.value.sectionTitles?.[v.value];
184
184
  return e ? a(e) : "";
185
- }), F = l(() => !S.value && !!(M.value || N.value)), I = l(() => {
185
+ }), P = l(() => !S.value && !!(M.value || N.value)), I = l(() => {
186
186
  let { homeTitle: e, homeText: t } = b.value.banner ?? {};
187
187
  return S.value && (e || t) ? {
188
188
  title: e ? a(e) : "",
@@ -205,7 +205,7 @@ var se = { class: "mwnf-standalone-sponsors" }, ce = {
205
205
  S.value ? "mwnf-standalone--home" : "mwnf-standalone--inner",
206
206
  w.value?.class ?? ""
207
207
  ]);
208
- return (e, t) => h.value ? (C(), f("div", Se, [E(e.$slots, "default")])) : (C(), u(s, {
208
+ return (e, t) => h.value ? (C(), f("div", Ce, [E(e.$slots, "default")])) : (C(), u(s, {
209
209
  key: 1,
210
210
  class: y(V.value),
211
211
  config: R.value,
@@ -221,47 +221,47 @@ var se = { class: "mwnf-standalone-sponsors" }, ce = {
221
221
  "footer-text": B.value || void 0,
222
222
  "onUpdate:language": t[0] ||= (e) => i("update:language", e)
223
223
  }, m({
224
- default: P(() => [E(e.$slots, "default")]),
224
+ default: F(() => [E(e.$slots, "default")]),
225
225
  _: 2
226
226
  }, [
227
- F.value ? {
227
+ P.value ? {
228
228
  name: "banner",
229
- fn: P(() => [g(J, {
229
+ fn: F(() => [g(J, {
230
230
  image: M.value,
231
231
  title: N.value
232
232
  }, null, 8, ["image", "title"])]),
233
233
  key: "0"
234
234
  } : I.value ? {
235
235
  name: "banner",
236
- fn: P(() => [p("section", Ce, [M.value ? (C(), f("img", {
236
+ fn: F(() => [p("section", we, [M.value ? (C(), f("img", {
237
237
  key: 0,
238
238
  class: "mwnf-banner__image",
239
239
  src: M.value,
240
240
  alt: ""
241
- }, null, 8, we)) : d("", !0), p("div", Te, [I.value.title ? (C(), f("h2", Ee, [p("i", null, D(I.value.title), 1)])) : d("", !0), I.value.text ? (C(), f("p", De, [p("span", null, D(I.value.text), 1)])) : d("", !0)])])]),
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)])])]),
242
242
  key: "1"
243
243
  } : void 0,
244
244
  A.value ? {
245
245
  name: "notice",
246
- fn: P(() => [p("img", {
246
+ fn: F(() => [p("img", {
247
247
  class: "mwnf-standalone__print-logo",
248
248
  src: A.value,
249
249
  alt: ""
250
- }, null, 8, Oe)]),
250
+ }, null, 8, ke)]),
251
251
  key: "2"
252
252
  } : void 0,
253
253
  e.$slots.sponsors ? {
254
254
  name: "sponsors",
255
- fn: P(() => [E(e.$slots, "sponsors")]),
255
+ fn: F(() => [E(e.$slots, "sponsors")]),
256
256
  key: "3"
257
257
  } : L.value ? {
258
258
  name: "sponsors",
259
- fn: P(() => [g(xe, { columns: L.value.columns }, null, 8, ["columns"])]),
259
+ fn: F(() => [g(Se, { columns: L.value.columns }, null, 8, ["columns"])]),
260
260
  key: "4"
261
261
  } : void 0,
262
262
  e.$slots.footer ? {
263
263
  name: "footer",
264
- fn: P(() => [E(e.$slots, "footer")]),
264
+ fn: F(() => [E(e.$slots, "footer")]),
265
265
  key: "5"
266
266
  } : void 0
267
267
  ]), 1032, [
@@ -276,19 +276,19 @@ var se = { class: "mwnf-standalone-sponsors" }, ce = {
276
276
  "footer-text"
277
277
  ]));
278
278
  }
279
- }, Ae = {
279
+ }, je = {
280
280
  key: 0,
281
281
  class: "mwnf-standalone-highlight"
282
- }, je = ["src", "alt"], Me = {
282
+ }, Me = ["src", "alt"], Ne = {
283
283
  key: 1,
284
284
  class: "mwnf-standalone-highlight__heading"
285
- }, Ne = { class: "mwnf-standalone-highlight__lines" }, Pe = ["innerHTML"], Fe = {
285
+ }, Pe = { class: "mwnf-standalone-highlight__lines" }, Fe = ["innerHTML"], Ie = {
286
286
  key: 2,
287
287
  class: "mwnf-standalone-highlight__place"
288
- }, Ie = {
288
+ }, Le = {
289
289
  key: 3,
290
290
  class: "mwnf-standalone-highlight__action"
291
- }, Le = {
291
+ }, Re = {
292
292
  __name: "TodayHighlight",
293
293
  props: {
294
294
  record: {
@@ -329,7 +329,7 @@ var se = { class: "mwnf-standalone-sponsors" }, ce = {
329
329
  }
330
330
  },
331
331
  setup(e) {
332
- let t = e, { t: r } = K(), i = (e) => ne(Array.isArray(e) ? e.join("; ") : e), a = l(() => {
332
+ let t = e, { t: r } = K(), 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
334
  a && n.push(U(a));
335
335
  let o = i(e.alternate_name);
@@ -342,38 +342,38 @@ var se = { class: "mwnf-standalone-sponsors" }, ce = {
342
342
  }
343
343
  return n;
344
344
  }), o = l(() => t.place ?? [i(t.text?.location), t.country].filter(Boolean).join(", ")), s = l(() => t.picture || (t.record?.images?.[0]?.url ?? "")), m = l(() => W(String(t.text?.name ?? t.record?.internal_name ?? "")));
345
- return (t, i) => e.record ? (C(), f("div", Ae, [
345
+ return (t, i) => e.record ? (C(), f("div", je, [
346
346
  s.value ? (C(), u(n, {
347
347
  key: 0,
348
348
  class: "mwnf-standalone-highlight__media",
349
349
  to: e.to
350
350
  }, {
351
- default: P(() => [p("img", {
351
+ default: F(() => [p("img", {
352
352
  class: "mwnf-standalone-highlight__image",
353
353
  src: s.value,
354
354
  alt: m.value
355
- }, null, 8, je)]),
355
+ }, null, 8, Me)]),
356
356
  _: 1
357
357
  }, 8, ["to"])) : d("", !0),
358
- e.heading ? (C(), f("p", Me, [p("strong", null, D(O(r)(e.heading)), 1)])) : d("", !0),
359
- p("p", Ne, [(C(!0), f(c, null, T(a.value, (e, t) => (C(), f(c, { key: t }, [p("span", { innerHTML: e }, null, 8, Pe), i[0] ||= p("br", null, null, -1)], 64))), 128))]),
360
- o.value ? (C(), f("p", Fe, D(O(W)(o.value)), 1)) : d("", !0),
361
- e.action ? (C(), f("p", Ie, [g(n, { to: e.to }, {
362
- default: P(() => [h(D(O(r)(e.action)), 1)]),
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(W)(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)]),
363
363
  _: 1
364
364
  }, 8, ["to"])])) : d("", !0)
365
365
  ])) : d("", !0);
366
366
  }
367
- }, Re = {
367
+ }, ze = {
368
368
  key: 0,
369
369
  class: "mwnf-standalone-tiles"
370
- }, ze = {
370
+ }, Be = {
371
371
  key: 0,
372
372
  class: "mwnf-standalone-tiles__caption"
373
- }, Be = { class: "mwnf-standalone-tiles__grid" }, Ve = ["src", "alt"], He = {
373
+ }, Ve = { class: "mwnf-standalone-tiles__grid" }, He = ["src", "alt"], Ue = {
374
374
  key: 0,
375
375
  class: "mwnf-standalone-tiles__label"
376
- }, Ue = {
376
+ }, We = {
377
377
  __name: "TileGrid",
378
378
  props: {
379
379
  caption: {
@@ -391,7 +391,7 @@ var se = { class: "mwnf-standalone-sponsors" }, ce = {
391
391
  image: i(e.image) ?? "",
392
392
  label: e.text ? W(e.text) : e.label ? r(e.label) : ""
393
393
  })));
394
- return (t, i) => a.value.length ? (C(), f("section", Re, [e.caption ? (C(), f("p", ze, D(O(r)(e.caption)), 1)) : d("", !0), p("ul", Be, [(C(!0), f(c, null, T(a.value, (e) => (C(), f("li", {
394
+ return (t, i) => a.value.length ? (C(), f("section", ze, [e.caption ? (C(), f("p", Be, D(O(r)(e.caption)), 1)) : d("", !0), p("ul", Ve, [(C(!0), f(c, null, T(a.value, (e) => (C(), f("li", {
395
395
  key: e.image,
396
396
  class: "mwnf-standalone-tiles__tile"
397
397
  }, [g(n, {
@@ -399,18 +399,18 @@ var se = { class: "mwnf-standalone-sponsors" }, ce = {
399
399
  href: e.href,
400
400
  class: "mwnf-standalone-tiles__link"
401
401
  }, {
402
- default: P(() => [p("img", {
402
+ default: F(() => [p("img", {
403
403
  class: "mwnf-standalone-tiles__image",
404
404
  src: e.image,
405
405
  alt: e.label
406
- }, null, 8, Ve), e.label ? (C(), f("span", He, D(e.label), 1)) : d("", !0)]),
406
+ }, null, 8, He), e.label ? (C(), f("span", Ue, D(e.label), 1)) : d("", !0)]),
407
407
  _: 2
408
408
  }, 1032, ["to", "href"])]))), 128))])])) : d("", !0);
409
409
  }
410
- }, We = { class: "mwnf-standalone-home" }, Ge = {
410
+ }, Ge = { class: "mwnf-standalone-home" }, Ke = {
411
411
  key: 0,
412
412
  class: "mwnf-standalone-home__links"
413
- }, Ke = { key: 1 }, qe = {
413
+ }, qe = { key: 1 }, Je = {
414
414
  __name: "Home",
415
415
  props: { home: {
416
416
  type: Object,
@@ -423,13 +423,13 @@ var se = { class: "mwnf-standalone-sponsors" }, ce = {
423
423
  prefix: e.prefix ? r(e.prefix) : "",
424
424
  title: e.title ? r(e.title) : void 0
425
425
  }))), p = l(() => o.value.highlight ?? null), m = G();
426
- p.value?.list?.length && (B(["items", "countries"]), N(i, (e) => {
426
+ p.value?.list?.length && (V(["items", "countries"]), P(i, (e) => {
427
427
  m.loadTranslations("items", e), m.loadTranslations("countries", e);
428
428
  }, { immediate: !0 }));
429
- let _ = L("items", "backward_compatibility"), v = l(() => {
429
+ let _ = R("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(oe(e[(t + n) % e.length]));
432
+ let r = _.value.get(se(e[(t + n) % e.length]));
433
433
  if (r) return r;
434
434
  }
435
435
  return null;
@@ -446,8 +446,8 @@ var se = { class: "mwnf-standalone-sponsors" }, ce = {
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", We, [
450
- s.value.length ? (C(), f("ul", Ge, [(C(!0), f(c, null, T(s.value, (e) => (C(), f("li", {
449
+ return (e, t) => (C(), f("div", Ge, [
450
+ s.value.length ? (C(), f("ul", Ke, [(C(!0), f(c, null, T(s.value, (e) => (C(), f("li", {
451
451
  key: e.label,
452
452
  class: y({ "mwnf-standalone-home__link--gap": e.gap })
453
453
  }, [g(n, {
@@ -456,7 +456,7 @@ var se = { class: "mwnf-standalone-sponsors" }, ce = {
456
456
  external: !!e.external,
457
457
  title: e.title
458
458
  }, {
459
- default: P(() => [e.prefix ? (C(), f(c, { key: 0 }, [h(D(`${e.prefix} `), 1)], 64)) : d("", !0), e.italic ? (C(), f("i", Ke, D(e.label), 1)) : (C(), f(c, { key: 2 }, [h(D(e.label), 1)], 64))]),
459
+ default: F(() => [e.prefix ? (C(), f(c, { key: 0 }, [h(D(`${e.prefix} `), 1)], 64)) : d("", !0), e.italic ? (C(), f("i", qe, D(e.label), 1)) : (C(), f(c, { key: 2 }, [h(D(e.label), 1)], 64))]),
460
460
  _: 2
461
461
  }, 1032, [
462
462
  "to",
@@ -464,7 +464,7 @@ var se = { class: "mwnf-standalone-sponsors" }, ce = {
464
464
  "external",
465
465
  "title"
466
466
  ])], 2))), 128))])) : d("", !0),
467
- p.value ? (C(), u(Le, {
467
+ p.value ? (C(), u(Re, {
468
468
  key: 1,
469
469
  record: v.value,
470
470
  text: b.value,
@@ -486,7 +486,7 @@ var se = { class: "mwnf-standalone-sponsors" }, ce = {
486
486
  "also-known-as",
487
487
  "action"
488
488
  ])) : d("", !0),
489
- o.value.tiles ? (C(), u(Ue, {
489
+ o.value.tiles ? (C(), u(We, {
490
490
  key: 2,
491
491
  caption: o.value.tiles.caption ?? "",
492
492
  items: A.value
@@ -494,7 +494,7 @@ var se = { class: "mwnf-standalone-sponsors" }, ce = {
494
494
  E(e.$slots, "default")
495
495
  ]));
496
496
  }
497
- }, Je = "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; }", Ye = ".mwnf-sheet__label, .mwnf-sheet-section__heading, .mwnf-credits__heading", Xe = ".mwnf-sheet__value, .mwnf-sheet-section__body, .mwnf-credits__citation, .mwnf-credits__list > dt, .mwnf-credits__number, .mwnf-sheet__short .mwnf-sheet__block", Ze = "button, img, svg, picture, video, audio, iframe, script, style, [role=\"tooltip\"], [aria-hidden=\"true\"]";
497
+ }, Ye = "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; }", Xe = ".mwnf-sheet__label, .mwnf-sheet-section__heading, .mwnf-credits__heading", Ze = ".mwnf-sheet__value, .mwnf-sheet-section__body, .mwnf-credits__citation, .mwnf-credits__list > dt, .mwnf-credits__number, .mwnf-sheet__short .mwnf-sheet__block", Qe = "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 Qe = /* @__PURE__ */ new Set([
506
+ var $e = /* @__PURE__ */ new Set([
507
507
  "I",
508
508
  "EM",
509
509
  "B",
@@ -511,7 +511,7 @@ var Qe = /* @__PURE__ */ new Set([
511
511
  "U",
512
512
  "SUP",
513
513
  "SUB"
514
- ]), $e = /* @__PURE__ */ new Set([
514
+ ]), et = /* @__PURE__ */ new Set([
515
515
  "P",
516
516
  "DIV",
517
517
  "LI",
@@ -519,7 +519,7 @@ var Qe = /* @__PURE__ */ new Set([
519
519
  "OL",
520
520
  "SECTION"
521
521
  ]);
522
- function et(e) {
522
+ function tt(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 et(e) {
527
527
  n().push($(e.textContent));
528
528
  return;
529
529
  }
530
- if (e.nodeType !== Node.ELEMENT_NODE || e.matches(Ze)) return;
530
+ if (e.nodeType !== Node.ELEMENT_NODE || e.matches(Qe)) return;
531
531
  if (e.tagName === "BR") {
532
532
  n().push("<br/>");
533
533
  return;
534
534
  }
535
- let t = $e.has(e.tagName), a = Qe.has(e.tagName) ? e.tagName.toLowerCase() : "";
535
+ let t = et.has(e.tagName), a = $e.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 et(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 tt(e, { title: t = "", dir: n = "" } = {}) {
543
+ function nt(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(`${Ye}, ${Xe}`)) {
548
+ for (let t of e.querySelectorAll(`${Xe}, ${Ze}`)) {
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 ? et(e) : ""}</p>`);
552
+ i.push(`<p>${$(t.textContent.trim())} ${e ? tt(e) : ""}</p>`);
553
553
  continue;
554
554
  }
555
- let e = et(t);
556
- e && i.push(t.matches(Ye) ? `<h3>${e}</h3>` : `<p>${e}</p>`);
555
+ let e = tt(t);
556
+ e && i.push(t.matches(Xe) ? `<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 tt(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
- ${Je}
564
+ ${Ye}
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 nt(e, t) {
578
+ function rt(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 rt = { class: "mwnf-standalone-related" }, it = { class: "mwnf-standalone-related__heading" }, at = { class: "mwnf-standalone-related__group-heading" }, ot = { class: "mwnf-standalone-related__thumbs" }, st = ["src", "alt"], ct = ["innerHTML"], lt = {
584
+ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-related__heading" }, ot = { class: "mwnf-standalone-related__group-heading" }, st = { class: "mwnf-standalone-related__thumbs" }, ct = ["src", "alt"], lt = ["innerHTML"], ut = {
585
585
  key: 0,
586
586
  class: "mwnf-standalone-related__download"
587
- }, ut = { class: "mwnf-standalone-related__download-heading" }, dt = {
587
+ }, dt = { class: "mwnf-standalone-related__download-heading" }, ft = {
588
588
  __name: "RelatedContent",
589
589
  props: {
590
590
  heading: {
@@ -618,33 +618,33 @@ var rt = { class: "mwnf-standalone-related" }, it = { class: "mwnf-standalone-re
618
618
  }
619
619
  function o(e) {
620
620
  let n = e.currentTarget.closest(".mwnf-standalone-item");
621
- n && nt(tt(n.querySelector(".mwnf-record__main") ?? n, {
621
+ n && rt(nt(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", rt, [
627
- p("p", it, [p("strong", null, D(O(r)(e.heading)), 1)]),
626
+ return (t, s) => (C(), f("aside", it, [
627
+ p("p", at, [p("strong", null, D(O(r)(e.heading)), 1)]),
628
628
  (C(!0), f(c, null, T(i.value, (e) => (C(), f("div", {
629
629
  key: e.heading,
630
630
  class: "mwnf-standalone-related__group"
631
- }, [p("p", at, D(e.heading), 1), p("ul", ot, [(C(!0), f(c, null, T(e.rows, (e) => (C(), f("li", { key: e.id }, [g(n, {
631
+ }, [p("p", ot, D(e.heading), 1), p("ul", st, [(C(!0), f(c, null, T(e.rows, (e) => (C(), f("li", { key: e.id }, [g(n, {
632
632
  to: e.to,
633
633
  title: e.imageAlt
634
634
  }, {
635
- default: P(() => [e.image ? (C(), f("img", {
635
+ default: F(() => [e.image ? (C(), f("img", {
636
636
  key: 0,
637
637
  src: e.image,
638
638
  alt: e.imageAlt
639
- }, null, 8, st)) : (C(), f("span", {
639
+ }, null, 8, ct)) : (C(), f("span", {
640
640
  key: 1,
641
641
  innerHTML: e.name
642
- }, null, 8, ct))]),
642
+ }, null, 8, lt))]),
643
643
  _: 2
644
644
  }, 1032, ["to", "title"])]))), 128))])]))), 128)),
645
645
  E(t.$slots, "default"),
646
- e.download ? (C(), f("div", lt, [
647
- p("p", ut, D(O(r)(e.download.heading)), 1),
646
+ e.download ? (C(), f("div", ut, [
647
+ p("p", dt, D(O(r)(e.download.heading)), 1),
648
648
  p("button", {
649
649
  type: "button",
650
650
  class: "mwnf-standalone-related__print",
@@ -659,10 +659,10 @@ var rt = { class: "mwnf-standalone-related" }, it = { class: "mwnf-standalone-re
659
659
  ])) : d("", !0)
660
660
  ]));
661
661
  }
662
- }, ft = { class: "mwnf-standalone-item__top" }, pt = { class: "mwnf-standalone-item__left" }, mt = {
662
+ }, pt = { class: "mwnf-standalone-item__top" }, mt = { class: "mwnf-standalone-item__left" }, ht = {
663
663
  key: 0,
664
664
  class: "mwnf-standalone-item__back"
665
- }, ht = {
665
+ }, gt = {
666
666
  __name: "ItemSheet",
667
667
  props: {
668
668
  spec: {
@@ -697,8 +697,8 @@ var rt = { class: "mwnf-standalone-related" }, it = { class: "mwnf-standalone-re
697
697
  language: n
698
698
  });
699
699
  let r = W(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(", ");
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,
@@ -725,7 +725,7 @@ var rt = { class: "mwnf-standalone-related" }, it = { class: "mwnf-standalone-re
725
725
  id: e.id,
726
726
  class: "mwnf-standalone-item"
727
727
  }, m({
728
- header: P(({ languages: e, language: n, select: r }) => [p("div", ft, [g(t, {
728
+ header: F(({ languages: e, language: n, select: r }) => [p("div", pt, [g(t, {
729
729
  languages: e,
730
730
  language: n,
731
731
  from: 1,
@@ -735,7 +735,7 @@ var rt = { class: "mwnf-standalone-related" }, it = { class: "mwnf-standalone-re
735
735
  "language",
736
736
  "onSelect"
737
737
  ])])]),
738
- "before-sheet": P((e) => [p("div", pt, [w.value.length ? (C(), f("p", mt, [(C(!0), f(c, null, T(w.value, (e) => (C(), f(c, { key: e.label }, [e.history ? (C(), f("button", {
738
+ "before-sheet": F((e) => [p("div", mt, [w.value.length ? (C(), f("p", ht, [(C(!0), f(c, null, T(w.value, (e) => (C(), f(c, { key: e.label }, [e.history ? (C(), f("button", {
739
739
  key: 0,
740
740
  type: "button",
741
741
  class: "mwnf-standalone-item__back-link",
@@ -746,20 +746,20 @@ var rt = { class: "mwnf-standalone-related" }, it = { class: "mwnf-standalone-re
746
746
  to: e.to,
747
747
  href: e.href
748
748
  }, {
749
- default: P(() => [h(D(e.label), 1)]),
749
+ default: F(() => [h(D(e.label), 1)]),
750
750
  _: 2
751
751
  }, 1032, ["to", "href"]))], 64))), 128))])) : d("", !0), g(r, {
752
752
  images: x(e),
753
753
  "thumbs-from": 1
754
754
  }, null, 8, ["images"])]), E(i.$slots, "before-sheet", b(_(e)))]),
755
- related: P((t) => [g(dt, {
755
+ related: F((t) => [g(ft, {
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: P(() => [E(i.$slots, "sidebar", b(_(t)))]),
762
+ default: F(() => [E(i.$slots, "sidebar", b(_(t)))]),
763
763
  _: 2
764
764
  }, 1032, [
765
765
  "heading",
@@ -768,44 +768,44 @@ var rt = { class: "mwnf-standalone-related" }, it = { class: "mwnf-standalone-re
768
768
  "download",
769
769
  "word-file"
770
770
  ])]),
771
- source: P((e) => [E(i.$slots, "source", b(_(e)))]),
771
+ source: F((e) => [E(i.$slots, "source", b(_(e)))]),
772
772
  _: 2
773
773
  }, [T(k.value, (e) => ({
774
774
  name: e,
775
- fn: P((t) => [E(i.$slots, e, b(_(t)))])
775
+ fn: F((t) => [E(i.$slots, e, b(_(t)))])
776
776
  }))]), 1032, ["spec", "id"]));
777
777
  }
778
- }, gt = {
778
+ }, _t = {
779
779
  key: 0,
780
780
  class: "mwnf-standalone-item__top"
781
- }, _t = {
781
+ }, vt = {
782
782
  key: 1,
783
783
  hidden: ""
784
- }, vt = {
784
+ }, yt = {
785
785
  key: 0,
786
786
  class: "mwnf-standalone-item__back mwnf-standalone-partner__back"
787
- }, yt = { class: "mwnf-standalone-partner__heading" }, bt = ["dir", "innerHTML"], xt = {
787
+ }, bt = { class: "mwnf-standalone-partner__heading" }, xt = ["dir", "innerHTML"], St = {
788
788
  key: 0,
789
789
  class: "mwnf-standalone-partner__location"
790
- }, St = { class: "mwnf-standalone-partner__bar" }, Ct = { class: "mwnf-standalone-partner__bar-start" }, wt = ["aria-label", "onKeydown"], Tt = [
790
+ }, Ct = { class: "mwnf-standalone-partner__bar" }, wt = { class: "mwnf-standalone-partner__bar-start" }, Tt = ["aria-label", "onKeydown"], Et = [
791
791
  "id",
792
792
  "aria-selected",
793
793
  "aria-controls",
794
794
  "tabindex",
795
795
  "onClick"
796
- ], Et = {
796
+ ], Dt = {
797
797
  key: 0,
798
798
  class: "mwnf-standalone-partner__divider",
799
799
  "aria-hidden": "true"
800
- }, Dt = { key: 0 }, Ot = ["href"], kt = { class: "mwnf-standalone-partner__bar-end" }, At = { class: "mwnf-standalone-partner__body" }, jt = { class: "mwnf-standalone-partner__pictures" }, Mt = { class: "mwnf-standalone-partner__panels" }, Nt = [
800
+ }, Ot = { key: 0 }, kt = ["href"], At = { class: "mwnf-standalone-partner__bar-end" }, jt = { class: "mwnf-standalone-partner__body" }, Mt = { class: "mwnf-standalone-partner__pictures" }, Nt = { class: "mwnf-standalone-partner__panels" }, Pt = [
801
801
  "id",
802
802
  "aria-labelledby",
803
803
  "dir",
804
804
  "innerHTML"
805
- ], Pt = ["id", "aria-labelledby"], Ft = ["innerHTML"], It = ["href"], Lt = { key: 0 }, Rt = ["href"], zt = ["href"], Bt = ["id", "aria-labelledby"], Vt = ["src"], Ht = {
805
+ ], Ft = ["id", "aria-labelledby"], It = ["innerHTML"], Lt = ["href"], Rt = { key: 0 }, zt = ["href"], Bt = ["href"], Vt = ["id", "aria-labelledby"], Ht = ["src"], Ut = {
806
806
  key: 0,
807
807
  class: "mwnf-standalone-partner__map"
808
- }, Ut = { class: "mwnf-standalone-partner__map-heading" }, Wt = {
808
+ }, Wt = { class: "mwnf-standalone-partner__map-heading" }, Gt = {
809
809
  __name: "PartnerPage",
810
810
  props: {
811
811
  id: {
@@ -876,18 +876,18 @@ var rt = { class: "mwnf-standalone-related" }, it = { class: "mwnf-standalone-re
876
876
  let r = [];
877
877
  return a.about(t, n) && r.push("about"), e.hasContact && r.push("contact"), e.logos.length && r.push("logo"), r;
878
878
  }
879
- let I = w("about");
880
- N(() => a.id, () => {
881
- I.value = "about";
879
+ let M = w("about");
880
+ P(() => a.id, () => {
881
+ M.value = "about";
882
882
  });
883
883
  function L(e, t) {
884
- let n = t.indexOf(I.value), r = {
884
+ let n = t.indexOf(M.value), r = {
885
885
  ArrowRight: (n + 1) % t.length,
886
886
  ArrowLeft: (n - 1 + t.length) % t.length,
887
887
  Home: 0,
888
888
  End: t.length - 1
889
889
  }[e.key];
890
- r === void 0 || !t.length || (e.preventDefault(), I.value = t[r], v(() => document.getElementById(`${_}-tab-${t[r]}`)?.focus()));
890
+ r === void 0 || !t.length || (e.preventDefault(), M.value = t[r], v(() => document.getElementById(`${_}-tab-${t[r]}`)?.focus()));
891
891
  }
892
892
  let R = (e) => e.pictures.map((e) => ({
893
893
  url: e.url,
@@ -898,7 +898,7 @@ var rt = { class: "mwnf-standalone-related" }, it = { class: "mwnf-standalone-re
898
898
  id: e.id,
899
899
  class: "mwnf-standalone-partner"
900
900
  }, {
901
- header: P(({ record: n, languages: r, language: i, select: a }) => [e.bands(n) ? (C(), f("div", gt, [g(t, {
901
+ header: F(({ record: n, languages: r, language: i, select: a }) => [e.bands(n) ? (C(), f("div", _t, [g(t, {
902
902
  languages: r,
903
903
  language: i,
904
904
  onSelect: a
@@ -906,9 +906,9 @@ var rt = { class: "mwnf-standalone-related" }, it = { class: "mwnf-standalone-re
906
906
  "languages",
907
907
  "language",
908
908
  "onSelect"
909
- ])])) : (C(), f("div", _t))]),
910
- "before-sheet": P(({ record: t, text: i, dir: o }) => [(C(!0), f(c, null, T([a.view(t, i)], (a) => (C(), f(c, { key: t.id }, [
911
- E(t).length ? (C(), f("p", vt, [(C(!0), f(c, null, T(E(t), (e) => (C(), f(c, { key: e.label }, [e.history ? (C(), f("button", {
909
+ ])])) : (C(), f("div", vt))]),
910
+ "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 }, [
911
+ E(t).length ? (C(), f("p", yt, [(C(!0), f(c, null, T(E(t), (e) => (C(), f(c, { key: e.label }, [e.history ? (C(), f("button", {
912
912
  key: 0,
913
913
  type: "button",
914
914
  class: "mwnf-standalone-item__back-link",
@@ -919,15 +919,15 @@ var rt = { class: "mwnf-standalone-related" }, it = { class: "mwnf-standalone-re
919
919
  to: e.to,
920
920
  href: e.href
921
921
  }, {
922
- default: P(() => [h(D(e.label), 1)]),
922
+ default: F(() => [h(D(e.label), 1)]),
923
923
  _: 2
924
924
  }, 1032, ["to", "href"]))], 64))), 128))])) : d("", !0),
925
- p("div", yt, [p("h3", {
925
+ p("div", bt, [p("h3", {
926
926
  class: "mwnf-standalone-partner__name",
927
927
  dir: o || void 0,
928
928
  innerHTML: a.name
929
- }, null, 8, bt), a.location ? (C(), f("h4", xt, [p("i", null, D(a.location), 1)])) : d("", !0)]),
930
- p("div", St, [p("div", Ct, [p("ul", {
929
+ }, null, 8, xt), a.location ? (C(), f("h4", St, [p("i", null, D(a.location), 1)])) : d("", !0)]),
930
+ p("div", Ct, [p("div", wt, [p("ul", {
931
931
  role: "tablist",
932
932
  class: "mwnf-standalone-partner__tabs",
933
933
  "aria-label": a.plainName,
@@ -939,37 +939,37 @@ var rt = { class: "mwnf-standalone-related" }, it = { class: "mwnf-standalone-re
939
939
  id: `${O(_)}-tab-${e}`,
940
940
  type: "button",
941
941
  role: "tab",
942
- class: y(["mwnf-standalone-partner__tab", { "mwnf-standalone-partner__tab--active": I.value === e }]),
943
- "aria-selected": I.value === e ? "true" : "false",
942
+ class: y(["mwnf-standalone-partner__tab", { "mwnf-standalone-partner__tab--active": M.value === e }]),
943
+ "aria-selected": M.value === e ? "true" : "false",
944
944
  "aria-controls": `${O(_)}-panel-${e}`,
945
- tabindex: I.value === e ? 0 : -1,
946
- onClick: (t) => I.value = e
947
- }, "\xA0" + D(S(e)), 11, Tt), n < j(a, t, i).length - 1 || a.contact.website ? (C(), f("span", Et, "\xA0|")) : d("", !0)]))), 128)), a.contact.website ? (C(), f("li", Dt, [p("a", {
945
+ tabindex: M.value === e ? 0 : -1,
946
+ onClick: (t) => M.value = e
947
+ }, "\xA0" + D(S(e)), 11, Et), n < j(a, t, i).length - 1 || a.contact.website ? (C(), f("span", Dt, "\xA0|")) : d("", !0)]))), 128)), a.contact.website ? (C(), f("li", Ot, [p("a", {
948
948
  class: "mwnf-standalone-partner__homepage",
949
949
  href: a.contact.website.url,
950
950
  target: "_blank",
951
951
  rel: "noopener"
952
- }, "\xA0" + D(S("homepage")), 9, Ot)])) : d("", !0)], 40, wt)]), p("div", kt, [e.items(t) ? (C(), u(n, {
952
+ }, "\xA0" + D(S("homepage")), 9, kt)])) : d("", !0)], 40, Tt)]), p("div", At, [e.items(t) ? (C(), u(n, {
953
953
  key: 0,
954
954
  class: "mwnf-standalone-partner__items",
955
955
  to: e.items(t).to
956
956
  }, {
957
- default: P(() => [h(D(O(s)(e.items(t).label)), 1)]),
957
+ default: F(() => [h(D(O(s)(e.items(t).label)), 1)]),
958
958
  _: 2
959
959
  }, 1032, ["to"])) : d("", !0)])]),
960
- p("div", At, [p("div", jt, [a.pictures.length ? (C(), u(r, {
960
+ p("div", jt, [p("div", Mt, [a.pictures.length ? (C(), u(r, {
961
961
  key: 0,
962
962
  images: R(a)
963
- }, null, 8, ["images"])) : d("", !0)]), p("div", Mt, [
964
- F(p("div", {
963
+ }, null, 8, ["images"])) : d("", !0)]), p("div", Nt, [
964
+ I(p("div", {
965
965
  id: `${O(_)}-panel-about`,
966
966
  class: "mwnf-standalone-partner__panel mwnf-standalone-partner__about",
967
967
  role: "tabpanel",
968
968
  "aria-labelledby": `${O(_)}-tab-about`,
969
969
  dir: o || void 0,
970
970
  innerHTML: a.description
971
- }, null, 8, Nt), [[M, I.value === "about"]]),
972
- a.hasContact ? F((C(), f("div", {
971
+ }, null, 8, Pt), [[N, M.value === "about"]]),
972
+ a.hasContact ? I((C(), f("div", {
973
973
  key: 0,
974
974
  id: `${O(_)}-panel-contact`,
975
975
  class: "mwnf-standalone-partner__panel mwnf-standalone-partner__contact",
@@ -981,22 +981,22 @@ var rt = { class: "mwnf-standalone-related" }, it = { class: "mwnf-standalone-re
981
981
  a.contact.address ? (C(), f(c, { key: 0 }, [p("span", {
982
982
  class: "mwnf-standalone-partner__address",
983
983
  innerHTML: a.contact.address
984
- }, null, 8, Ft), m[0] ||= p("br", null, null, -1)], 64)) : d("", !0),
984
+ }, null, 8, It), m[0] ||= p("br", null, null, -1)], 64)) : d("", !0),
985
985
  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),
986
986
  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),
987
- a.contact.email ? (C(), f(c, { key: 3 }, [p("a", { href: `mailto:${a.contact.email}` }, D(a.contact.email), 9, It), m[3] ||= p("br", null, null, -1)], 64)) : d("", !0)
988
- ]), z(a).length ? (C(), f("p", Lt, [(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", {
987
+ a.contact.email ? (C(), f(c, { key: 3 }, [p("a", { href: `mailto:${a.contact.email}` }, D(a.contact.email), 9, Lt), m[3] ||= p("br", null, null, -1)], 64)) : d("", !0)
988
+ ]), z(a).length ? (C(), f("p", Rt, [(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
989
  href: e.url,
990
990
  target: "_blank",
991
991
  rel: "noopener"
992
- }, D(e.label), 9, Rt)], 64))), 128))])) : d("", !0)], 64)) : d("", !0), (C(!0), f(c, null, T(a.persons, (e, t) => (C(), f("p", { key: t }, [
992
+ }, D(e.label), 9, zt)], 64))), 128))])) : d("", !0)], 64)) : d("", !0), (C(!0), f(c, null, T(a.persons, (e, t) => (C(), f("p", { key: t }, [
993
993
  e.title ? (C(), f(c, { key: 0 }, [p("strong", null, D(e.title), 1), m[5] ||= p("br", null, null, -1)], 64)) : d("", !0),
994
994
  e.name ? (C(), f(c, { key: 1 }, [h(D(e.name), 1), m[6] ||= p("br", null, null, -1)], 64)) : d("", !0),
995
995
  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),
996
996
  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),
997
- e.email ? (C(), f(c, { key: 4 }, [p("a", { href: `mailto:${e.email}` }, D(e.email), 9, zt), m[9] ||= p("br", null, null, -1)], 64)) : d("", !0)
998
- ]))), 128))], 8, Pt)), [[M, I.value === "contact"]]) : d("", !0),
999
- a.logos.length ? F((C(), f("div", {
997
+ e.email ? (C(), f(c, { key: 4 }, [p("a", { href: `mailto:${e.email}` }, D(e.email), 9, Bt), m[9] ||= p("br", null, null, -1)], 64)) : d("", !0)
998
+ ]))), 128))], 8, Ft)), [[N, M.value === "contact"]]) : d("", !0),
999
+ a.logos.length ? I((C(), f("div", {
1000
1000
  key: 1,
1001
1001
  id: `${O(_)}-panel-logo`,
1002
1002
  class: "mwnf-standalone-partner__panel mwnf-standalone-partner__logos",
@@ -1006,10 +1006,10 @@ var rt = { class: "mwnf-standalone-related" }, it = { class: "mwnf-standalone-re
1006
1006
  key: e.url,
1007
1007
  src: e.url,
1008
1008
  alt: ""
1009
- }, null, 8, Vt))), 128))], 8, Bt)), [[M, I.value === "logo"]]) : d("", !0)
1009
+ }, null, 8, Ht))), 128))], 8, Vt)), [[N, M.value === "logo"]]) : d("", !0)
1010
1010
  ])])
1011
1011
  ], 64))), 128))]),
1012
- after: P(({ record: t, text: n }) => [e.map(t) && a.view(t, n)?.map ? (C(), f("section", Ht, [p("h3", Ut, D(S("map")), 1), g(i, {
1012
+ after: F(({ record: t, text: n }) => [e.map(t) && a.view(t, n)?.map ? (C(), f("section", Ut, [p("h3", Wt, D(S("map")), 1), g(i, {
1013
1013
  provider: "google",
1014
1014
  latitude: a.view(t, n).map.latitude,
1015
1015
  longitude: a.view(t, n).map.longitude,
@@ -1026,13 +1026,13 @@ var rt = { class: "mwnf-standalone-related" }, it = { class: "mwnf-standalone-re
1026
1026
  _: 1
1027
1027
  }, 8, ["id"]));
1028
1028
  }
1029
- }, Gt = ["innerHTML"], Kt = {
1029
+ }, Kt = ["innerHTML"], qt = {
1030
1030
  key: 0,
1031
1031
  class: "mwnf-standalone-page__link"
1032
- }, qt = {
1032
+ }, Jt = {
1033
1033
  key: 1,
1034
1034
  class: "mwnf-standalone-page__print"
1035
- }, Jt = {
1035
+ }, Yt = {
1036
1036
  __name: "TextPage",
1037
1037
  props: {
1038
1038
  body: {
@@ -1061,25 +1061,25 @@ var rt = { class: "mwnf-standalone-related" }, it = { class: "mwnf-standalone-re
1061
1061
  p("div", {
1062
1062
  class: "mwnf-standalone-page__body",
1063
1063
  innerHTML: i.value
1064
- }, null, 8, Gt),
1065
- e.link ? (C(), f("p", Kt, [g(n, {
1064
+ }, null, 8, Kt),
1065
+ e.link ? (C(), f("p", qt, [g(n, {
1066
1066
  to: e.link.to,
1067
1067
  href: e.link.href
1068
1068
  }, {
1069
- default: P(() => [p("strong", null, D(e.link.text ?? O(r)(e.link.label)), 1)]),
1069
+ default: F(() => [p("strong", null, D(e.link.text ?? O(r)(e.link.label)), 1)]),
1070
1070
  _: 1
1071
1071
  }, 8, ["to", "href"])])) : d("", !0),
1072
- e.print ? (C(), f("p", qt, [p("button", {
1072
+ e.print ? (C(), f("p", Jt, [p("button", {
1073
1073
  type: "button",
1074
1074
  class: "mwnf-standalone-page__print-button",
1075
1075
  onClick: a
1076
1076
  }, D(O(r)(e.print)), 1)])) : d("", !0)
1077
1077
  ], 2));
1078
1078
  }
1079
- }, Yt = {
1079
+ }, Xt = {
1080
1080
  key: 0,
1081
1081
  class: "mwnf-standalone-subnav"
1082
- }, Xt = { class: "mwnf-standalone-subnav__tabs" }, Zt = {
1082
+ }, Zt = { class: "mwnf-standalone-subnav__tabs" }, Qt = {
1083
1083
  __name: "SubNav",
1084
1084
  props: {
1085
1085
  tabs: {
@@ -1096,13 +1096,13 @@ var rt = { class: "mwnf-standalone-related" }, it = { class: "mwnf-standalone-re
1096
1096
  ...e,
1097
1097
  label: r(e.label)
1098
1098
  })));
1099
- return (t, a) => i.value.length || e.aside ? (C(), f("nav", Yt, [p("ul", Xt, [(C(!0), f(c, null, T(i.value, (e) => (C(), f("li", { key: e.label }, [g(n, {
1099
+ return (t, a) => i.value.length || e.aside ? (C(), f("nav", Xt, [p("ul", Zt, [(C(!0), f(c, null, T(i.value, (e) => (C(), f("li", { key: e.label }, [g(n, {
1100
1100
  to: e.to,
1101
1101
  href: e.href,
1102
1102
  class: y(["mwnf-standalone-subnav__tab", { "mwnf-standalone-subnav__tab--active": e.active }]),
1103
1103
  "aria-current": e.active ? "page" : void 0
1104
1104
  }, {
1105
- default: P(() => [h(D(e.label), 1)]),
1105
+ default: F(() => [h(D(e.label), 1)]),
1106
1106
  _: 2
1107
1107
  }, 1032, [
1108
1108
  "to",
@@ -1115,17 +1115,17 @@ var rt = { class: "mwnf-standalone-related" }, it = { class: "mwnf-standalone-re
1115
1115
  href: e.aside.href,
1116
1116
  class: "mwnf-standalone-subnav__aside"
1117
1117
  }, {
1118
- default: P(() => [h(D(O(r)(e.aside.label)), 1)]),
1118
+ default: F(() => [h(D(O(r)(e.aside.label)), 1)]),
1119
1119
  _: 1
1120
1120
  }, 8, ["to", "href"])) : d("", !0)])) : d("", !0);
1121
1121
  }
1122
- }, Qt = { class: "mwnf-standalone-results" }, $t = {
1122
+ }, $t = { class: "mwnf-standalone-results" }, en = {
1123
1123
  key: 0,
1124
1124
  class: "mwnf-standalone-results__empty"
1125
- }, en = { class: "mwnf-standalone-results__tile" }, tn = ["src"], nn = { class: "mwnf-standalone-results__panel" }, rn = ["src"], an = { class: "mwnf-standalone-results__name" }, on = ["innerHTML"], sn = ["innerHTML"], cn = {
1125
+ }, tn = { class: "mwnf-standalone-results__tile" }, nn = ["src"], rn = { class: "mwnf-standalone-results__panel" }, an = ["src"], on = { class: "mwnf-standalone-results__name" }, sn = ["innerHTML"], cn = ["innerHTML"], ln = {
1126
1126
  key: 0,
1127
1127
  class: "mwnf-standalone-results__holder"
1128
- }, ln = ["innerHTML"], un = ["innerHTML"], dn = {
1128
+ }, un = ["innerHTML"], dn = ["innerHTML"], fn = {
1129
1129
  __name: "ResultsGrid",
1130
1130
  props: {
1131
1131
  rows: {
@@ -1146,61 +1146,217 @@ var rt = { class: "mwnf-standalone-related" }, it = { class: "mwnf-standalone-re
1146
1146
  }
1147
1147
  },
1148
1148
  setup(e) {
1149
- return (t, r) => (C(), f("div", Qt, [e.rows.length ? d("", !0) : (C(), f("p", $t, D(e.empty), 1)), (C(!0), f(c, null, T(e.rows, (t) => (C(), f("div", {
1149
+ return (t, r) => (C(), f("div", $t, [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", {
1150
1150
  key: t.id,
1151
1151
  class: "mwnf-standalone-results__cell"
1152
- }, [p("div", en, [g(n, {
1152
+ }, [p("div", tn, [g(n, {
1153
1153
  class: "mwnf-standalone-results__frame",
1154
1154
  to: t.to,
1155
1155
  href: t.href
1156
1156
  }, {
1157
- default: P(() => [p("img", {
1157
+ default: F(() => [p("img", {
1158
1158
  src: t.image || e.noImage,
1159
1159
  alt: ""
1160
- }, null, 8, tn)]),
1160
+ }, null, 8, nn)]),
1161
1161
  _: 2
1162
- }, 1032, ["to", "href"]), p("div", nn, [
1162
+ }, 1032, ["to", "href"]), p("div", rn, [
1163
1163
  g(n, {
1164
1164
  class: "mwnf-standalone-results__panel-frame",
1165
1165
  to: t.to,
1166
1166
  href: t.href
1167
1167
  }, {
1168
- default: P(() => [p("img", {
1168
+ default: F(() => [p("img", {
1169
1169
  src: t.image || e.noImage,
1170
1170
  alt: ""
1171
- }, null, 8, rn)]),
1171
+ }, null, 8, an)]),
1172
1172
  _: 2
1173
1173
  }, 1032, ["to", "href"]),
1174
- p("p", an, [p("strong", null, [g(n, {
1174
+ p("p", on, [p("strong", null, [g(n, {
1175
1175
  to: t.to,
1176
1176
  href: t.href
1177
1177
  }, {
1178
- default: P(() => [p("span", { innerHTML: t.name }, null, 8, on)]),
1178
+ default: F(() => [p("span", { innerHTML: t.name }, null, 8, sn)]),
1179
1179
  _: 2
1180
1180
  }, 1032, ["to", "href"])])]),
1181
1181
  (C(!0), f(c, null, T(t.lines ?? [], (e, t) => (C(), f("p", {
1182
1182
  key: t,
1183
1183
  innerHTML: e
1184
- }, null, 8, sn))), 128)),
1185
- t.holder ? (C(), f("p", cn, [p("strong", { innerHTML: t.holder }, null, 8, ln)])) : d("", !0),
1184
+ }, null, 8, cn))), 128)),
1185
+ t.holder ? (C(), f("p", ln, [p("strong", { innerHTML: t.holder }, null, 8, un)])) : d("", !0),
1186
1186
  t.location ? (C(), f("p", {
1187
1187
  key: 1,
1188
1188
  innerHTML: t.location
1189
- }, null, 8, un)) : d("", !0),
1189
+ }, null, 8, dn)) : d("", !0),
1190
1190
  p("p", null, [g(n, {
1191
1191
  class: "mwnf-standalone-results__see",
1192
1192
  to: t.to,
1193
1193
  href: t.href
1194
1194
  }, {
1195
- default: P(() => [h(D(e.seeLabel), 1)]),
1195
+ default: F(() => [h(D(e.seeLabel), 1)]),
1196
1196
  _: 1
1197
1197
  }, 8, ["to", "href"])])
1198
1198
  ])])]))), 128))]));
1199
1199
  }
1200
- }, fn = {
1200
+ }, pn = { class: "mwnf-standalone-list" }, mn = { class: "mwnf-standalone-list__aside" }, hn = {
1201
+ key: 0,
1202
+ class: "mwnf-standalone-list__preview"
1203
+ }, gn = { class: "mwnf-standalone-list__preview-picture" }, _n = ["src"], vn = { class: "mwnf-standalone-list__preview-name" }, yn = ["innerHTML"], bn = ["innerHTML"], xn = { key: 0 }, Sn = ["innerHTML"], Cn = ["innerHTML"], wn = { class: "mwnf-standalone-list__records" }, Tn = {
1204
+ key: 0,
1205
+ class: "mwnf-standalone-list__empty"
1206
+ }, En = { class: "mwnf-standalone-list__frame" }, Dn = ["src"], On = { class: "mwnf-standalone-list__content" }, kn = ["innerHTML"], An = ["innerHTML"], jn = { key: 0 }, Mn = ["innerHTML"], Nn = {
1207
+ __name: "ResultsList",
1208
+ props: {
1209
+ rows: {
1210
+ type: Array,
1211
+ default: () => []
1212
+ },
1213
+ empty: {
1214
+ type: String,
1215
+ default: ""
1216
+ },
1217
+ noImage: {
1218
+ type: String,
1219
+ default: ""
1220
+ }
1221
+ },
1222
+ setup(e) {
1223
+ let t = e, r = w(null), i = l(() => r.value ?? t.rows[0] ?? null);
1224
+ return (t, a) => (C(), f("div", pn, [p("div", mn, [i.value ? (C(), f("div", hn, [
1225
+ p("div", gn, [i.value.image || e.noImage ? (C(), f("img", {
1226
+ key: 0,
1227
+ src: i.value.image || e.noImage,
1228
+ alt: ""
1229
+ }, null, 8, _n)) : d("", !0)]),
1230
+ p("p", vn, [p("strong", { innerHTML: i.value.name }, null, 8, yn)]),
1231
+ (C(!0), f(c, null, T(i.value.preview?.lines ?? [], (e, t) => (C(), f("p", {
1232
+ key: t,
1233
+ innerHTML: e
1234
+ }, null, 8, bn))), 128)),
1235
+ i.value.preview?.holder ? (C(), f("p", xn, [p("strong", { innerHTML: i.value.preview.holder }, null, 8, Sn)])) : d("", !0),
1236
+ i.value.preview?.location ? (C(), f("p", {
1237
+ key: 1,
1238
+ innerHTML: i.value.preview.location
1239
+ }, null, 8, Cn)) : d("", !0)
1240
+ ])) : d("", !0)]), p("div", wn, [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", {
1241
+ key: t.id,
1242
+ class: "mwnf-standalone-list__cell"
1243
+ }, [p("div", En, [g(n, {
1244
+ to: t.to,
1245
+ href: t.href,
1246
+ onMouseenter: (e) => r.value = t,
1247
+ onMouseleave: a[0] ||= (e) => r.value = null
1248
+ }, {
1249
+ default: F(() => [t.image || e.noImage ? (C(), f("img", {
1250
+ key: 0,
1251
+ src: t.image || e.noImage,
1252
+ alt: ""
1253
+ }, null, 8, Dn)) : d("", !0)]),
1254
+ _: 2
1255
+ }, 1032, [
1256
+ "to",
1257
+ "href",
1258
+ "onMouseenter"
1259
+ ])]), p("div", On, [p("p", null, [g(n, {
1260
+ to: t.to,
1261
+ href: t.href,
1262
+ onMouseenter: (e) => r.value = t,
1263
+ onMouseleave: a[1] ||= (e) => r.value = null
1264
+ }, {
1265
+ default: F(() => [
1266
+ p("span", {
1267
+ class: "mwnf-standalone-list__name",
1268
+ innerHTML: `${t.name},`
1269
+ }, null, 8, kn),
1270
+ a[2] ||= h(),
1271
+ p("span", { innerHTML: t.place }, null, 8, An)
1272
+ ]),
1273
+ _: 2
1274
+ }, 1032, [
1275
+ "to",
1276
+ "href",
1277
+ "onMouseenter"
1278
+ ])]), t.dates ? (C(), f("div", jn, [p("i", { innerHTML: t.dates }, null, 8, Mn)])) : d("", !0)])]))), 128))])]));
1279
+ }
1280
+ }, Pn = { class: "mwnf-standalone-refine__row" }, Fn = {
1281
+ class: "mwnf-standalone-refine__label",
1282
+ for: "mwnf-standalone-refine-keyword"
1283
+ }, In = {
1284
+ class: "mwnf-standalone-refine__label",
1285
+ for: "mwnf-standalone-refine-field"
1286
+ }, Ln = ["value"], Rn = {
1287
+ type: "submit",
1288
+ class: "mwnf-standalone-refine__button"
1289
+ }, zn = {
1290
+ __name: "Refine",
1291
+ props: {
1292
+ label: {
1293
+ type: String,
1294
+ required: !0
1295
+ },
1296
+ inLabel: {
1297
+ type: String,
1298
+ required: !0
1299
+ },
1300
+ fields: {
1301
+ type: Array,
1302
+ required: !0
1303
+ },
1304
+ searchLabel: {
1305
+ type: String,
1306
+ required: !0
1307
+ },
1308
+ newSearchLabel: {
1309
+ type: String,
1310
+ required: !0
1311
+ },
1312
+ newSearch: {
1313
+ type: [String, Object],
1314
+ required: !0
1315
+ }
1316
+ },
1317
+ emits: ["search"],
1318
+ setup(e, { emit: t }) {
1319
+ let r = e, i = t, a = w(""), o = w(r.fields[0]?.value ?? "");
1320
+ function s() {
1321
+ let e = a.value.trim();
1322
+ e && i("search", {
1323
+ keyword: e,
1324
+ field: o.value
1325
+ });
1326
+ }
1327
+ return (t, r) => (C(), f("form", {
1328
+ class: "mwnf-standalone-refine",
1329
+ onSubmit: L(s, ["prevent"])
1330
+ }, [p("div", Pn, [
1331
+ p("label", Fn, D(e.label), 1),
1332
+ I(p("input", {
1333
+ id: "mwnf-standalone-refine-keyword",
1334
+ "onUpdate:modelValue": r[0] ||= (e) => a.value = e,
1335
+ type: "text",
1336
+ size: "40"
1337
+ }, null, 512), [[M, a.value]]),
1338
+ p("label", In, D(e.inLabel), 1),
1339
+ I(p("select", {
1340
+ id: "mwnf-standalone-refine-field",
1341
+ "onUpdate:modelValue": r[1] ||= (e) => o.value = e
1342
+ }, [(C(!0), f(c, null, T(e.fields, (e) => (C(), f("option", {
1343
+ key: e.value,
1344
+ value: e.value
1345
+ }, D(e.label), 9, Ln))), 128))], 512), [[j, o.value]]),
1346
+ p("button", Rn, D(e.searchLabel), 1),
1347
+ g(n, {
1348
+ class: "mwnf-standalone-refine__button mwnf-standalone-refine__button--new",
1349
+ to: e.newSearch
1350
+ }, {
1351
+ default: F(() => [h(D(e.newSearchLabel), 1)]),
1352
+ _: 1
1353
+ }, 8, ["to"])
1354
+ ])], 32));
1355
+ }
1356
+ }, Bn = {
1201
1357
  key: 0,
1202
1358
  class: "mwnf-standalone-pages"
1203
- }, pn = { class: "mwnf-standalone-pages__previous" }, mn = ["aria-current", "onClick"], hn = { class: "mwnf-standalone-pages__next" }, gn = {
1359
+ }, Vn = { class: "mwnf-standalone-pages__previous" }, Hn = ["aria-current", "onClick"], Un = { class: "mwnf-standalone-pages__next" }, Wn = {
1204
1360
  __name: "Pagination",
1205
1361
  props: {
1206
1362
  pageInfo: {
@@ -1230,30 +1386,30 @@ var rt = { class: "mwnf-standalone-related" }, it = { class: "mwnf-standalone-re
1230
1386
  function s(e) {
1231
1387
  e >= 1 && e <= a.value && e !== i.value && r("navigate", e);
1232
1388
  }
1233
- return (t, n) => a.value > 1 ? (C(), f("nav", fn, [
1234
- p("span", pn, [i.value > 1 ? (C(), f("a", {
1389
+ return (t, n) => a.value > 1 ? (C(), f("nav", Bn, [
1390
+ p("span", Vn, [i.value > 1 ? (C(), f("a", {
1235
1391
  key: 0,
1236
1392
  href: "#",
1237
- onClick: n[0] ||= I((e) => s(i.value - 1), ["prevent"])
1393
+ onClick: n[0] ||= L((e) => s(i.value - 1), ["prevent"])
1238
1394
  }, D(e.previousLabel), 1)) : (C(), f(c, { key: 1 }, [h(D(e.previousLabel), 1)], 64))]),
1239
1395
  (C(!0), f(c, null, T(o.value, (e) => (C(), f("a", {
1240
1396
  key: e,
1241
1397
  href: "#",
1242
1398
  class: y(["mwnf-standalone-pages__number", { "mwnf-standalone-pages__number--active": e === i.value }]),
1243
1399
  "aria-current": e === i.value ? "page" : void 0,
1244
- onClick: I((t) => s(e), ["prevent"])
1245
- }, D(e), 11, mn))), 128)),
1246
- p("span", hn, [i.value < a.value ? (C(), f("a", {
1400
+ onClick: L((t) => s(e), ["prevent"])
1401
+ }, D(e), 11, Hn))), 128)),
1402
+ p("span", Un, [i.value < a.value ? (C(), f("a", {
1247
1403
  key: 0,
1248
1404
  href: "#",
1249
- onClick: n[1] ||= I((e) => s(i.value + 1), ["prevent"])
1405
+ onClick: n[1] ||= L((e) => s(i.value + 1), ["prevent"])
1250
1406
  }, D(e.nextLabel), 1)) : (C(), f(c, { key: 1 }, [h(D(e.nextLabel), 1)], 64))])
1251
1407
  ])) : d("", !0);
1252
1408
  }
1253
- }, _n = ["disabled", "aria-label"], vn = { class: "mwnf-standalone-slider__track" }, yn = ["src", "alt"], bn = {
1409
+ }, Gn = ["disabled", "aria-label"], Kn = { class: "mwnf-standalone-slider__track" }, qn = ["src", "alt"], Jn = {
1254
1410
  key: 0,
1255
1411
  class: "mwnf-standalone-slider__label"
1256
- }, xn = ["disabled", "aria-label"], Sn = {
1412
+ }, Yn = ["disabled", "aria-label"], Xn = {
1257
1413
  __name: "Slider",
1258
1414
  props: {
1259
1415
  slides: {
@@ -1290,18 +1446,18 @@ var rt = { class: "mwnf-standalone-related" }, it = { class: "mwnf-standalone-re
1290
1446
  disabled: a.value === 0,
1291
1447
  "aria-label": O(r)(e.previousLabel),
1292
1448
  onClick: i[0] ||= (e) => a.value = Math.max(0, a.value - 1)
1293
- }, "‹", 8, _n),
1294
- p("ul", vn, [(C(!0), f(c, null, T(s.value, (e) => (C(), f("li", {
1449
+ }, "‹", 8, Gn),
1450
+ p("ul", Kn, [(C(!0), f(c, null, T(s.value, (e) => (C(), f("li", {
1295
1451
  key: e.image,
1296
1452
  class: "mwnf-standalone-slider__slide"
1297
1453
  }, [g(n, {
1298
1454
  to: e.to,
1299
1455
  href: e.href
1300
1456
  }, {
1301
- default: P(() => [p("img", {
1457
+ default: F(() => [p("img", {
1302
1458
  src: e.image,
1303
1459
  alt: e.label
1304
- }, null, 8, yn), e.label ? (C(), f("span", bn, D(e.label), 1)) : d("", !0)]),
1460
+ }, null, 8, qn), e.label ? (C(), f("span", Jn, D(e.label), 1)) : d("", !0)]),
1305
1461
  _: 2
1306
1462
  }, 1032, ["to", "href"])]))), 128))]),
1307
1463
  p("button", {
@@ -1310,10 +1466,10 @@ var rt = { class: "mwnf-standalone-related" }, it = { class: "mwnf-standalone-re
1310
1466
  disabled: a.value >= o.value,
1311
1467
  "aria-label": O(r)(e.nextLabel),
1312
1468
  onClick: i[1] ||= (e) => a.value = Math.min(o.value, a.value + 1)
1313
- }, "›", 8, xn)
1469
+ }, "›", 8, Yn)
1314
1470
  ], 4)) : d("", !0);
1315
1471
  }
1316
- }, Cn = ["dir"], wn = { class: "mwnf-standalone-window__box" }, Tn = { class: "mwnf-standalone-window__header" }, En = { class: "mwnf-standalone-window__heading" }, Dn = ["aria-label"], On = { class: "mwnf-standalone-window__article" }, kn = {
1472
+ }, Zn = ["dir"], Qn = { class: "mwnf-standalone-window__box" }, $n = { class: "mwnf-standalone-window__header" }, er = { class: "mwnf-standalone-window__heading" }, tr = ["aria-label"], nr = { class: "mwnf-standalone-window__article" }, rr = {
1317
1473
  __name: "Window",
1318
1474
  props: {
1319
1475
  heading: {
@@ -1336,21 +1492,21 @@ var rt = { class: "mwnf-standalone-related" }, it = { class: "mwnf-standalone-re
1336
1492
  return (n, r) => (C(), f("div", {
1337
1493
  class: "mwnf-standalone-window",
1338
1494
  dir: e.dir || void 0
1339
- }, [p("div", wn, [p("header", Tn, [p("h1", En, D(e.heading), 1), p("button", {
1495
+ }, [p("div", Qn, [p("header", $n, [p("h1", er, D(e.heading), 1), p("button", {
1340
1496
  type: "button",
1341
1497
  class: "mwnf-standalone-window__close",
1342
1498
  "aria-label": e.closeLabel || void 0,
1343
1499
  onClick: t
1344
- }, "×", 8, Dn)]), p("article", On, [E(n.$slots, "default")])])], 8, Cn));
1500
+ }, "×", 8, tr)]), p("article", nr, [E(n.$slots, "default")])])], 8, Zn));
1345
1501
  }
1346
- }, An = { class: "mwnf-standalone-glossary" }, jn = { class: "mwnf-standalone-glossary__intro" }, Mn = { class: "mwnf-standalone-glossary__body" }, Nn = { class: "mwnf-standalone-glossary__field" }, Pn = ["aria-expanded", "aria-label"], Fn = {
1502
+ }, ir = { class: "mwnf-standalone-glossary" }, ar = { class: "mwnf-standalone-glossary__intro" }, or = { class: "mwnf-standalone-glossary__body" }, sr = { class: "mwnf-standalone-glossary__field" }, cr = ["aria-expanded", "aria-label"], lr = {
1347
1503
  key: 0,
1348
1504
  class: "mwnf-standalone-glossary__suggestions",
1349
1505
  role: "listbox"
1350
- }, In = ["aria-selected", "onMousedown"], Ln = {
1506
+ }, ur = ["aria-selected", "onMousedown"], dr = {
1351
1507
  class: "mwnf-standalone-glossary__result",
1352
1508
  "aria-live": "polite"
1353
- }, Rn = { class: "mwnf-standalone-glossary__label" }, zn = ["innerHTML"], Bn = { class: "mwnf-standalone-glossary__label mwnf-standalone-glossary__label--spellings" }, Vn = { class: "mwnf-standalone-glossary__note" }, Hn = { class: "mwnf-standalone-glossary__spellings" }, Un = {
1509
+ }, fr = { class: "mwnf-standalone-glossary__label" }, pr = ["innerHTML"], mr = { class: "mwnf-standalone-glossary__label mwnf-standalone-glossary__label--spellings" }, hr = { class: "mwnf-standalone-glossary__note" }, gr = { class: "mwnf-standalone-glossary__spellings" }, _r = {
1354
1510
  __name: "GlossarySpelling",
1355
1511
  props: {
1356
1512
  language: {
@@ -1371,27 +1527,27 @@ var rt = { class: "mwnf-standalone-related" }, it = { class: "mwnf-standalone-re
1371
1527
  }
1372
1528
  },
1373
1529
  setup(e) {
1374
- let t = e, n = G(), r = z(t.entity), i = l(() => n.availableLanguages(t.entity).slice().sort());
1530
+ let t = e, n = G(), r = B(t.entity), i = l(() => n.availableLanguages(t.entity).slice().sort());
1375
1531
  S(async () => {
1376
- await B([t.entity]), await Promise.all(i.value.map((e) => n.loadTranslations(t.entity, e)));
1532
+ await V([t.entity]), await Promise.all(i.value.map((e) => n.loadTranslations(t.entity, e)));
1377
1533
  });
1378
1534
  let a = w(""), o = w(null), s = w(-1), m = (e, r) => n.translations(t.entity, r)[e.id] ?? {}, h = l(() => {
1379
- let e = R(a.value.trim());
1535
+ let e = z(a.value.trim());
1380
1536
  if (!e || o.value) return [];
1381
1537
  let n = /* @__PURE__ */ new Map();
1382
1538
  for (let i of r.value ?? []) for (let r of m(i, t.language).spellings ?? []) {
1383
1539
  let t = String(r).trim();
1384
- t && R(t).startsWith(e) && n.set(t, i);
1540
+ t && z(t).startsWith(e) && n.set(t, i);
1385
1541
  }
1386
1542
  return [...n].map(([e, t]) => ({
1387
1543
  spelling: e,
1388
1544
  term: t
1389
- })).sort((e, t) => R(e.spelling) < R(t.spelling) ? -1 : +(R(e.spelling) > R(t.spelling)));
1390
- }), g = l(() => o.value ? V(m(o.value, t.language).definition ?? "") : ""), _ = l(() => {
1545
+ })).sort((e, t) => z(e.spelling) < z(t.spelling) ? -1 : +(z(e.spelling) > z(t.spelling)));
1546
+ }), g = l(() => o.value ? ee(m(o.value, t.language).definition ?? "") : ""), _ = l(() => {
1391
1547
  if (!o.value) return [];
1392
1548
  let e = /* @__PURE__ */ new Set(), t = [];
1393
1549
  for (let n of i.value) for (let r of m(o.value, n).spellings ?? []) {
1394
- let n = R(String(r).trim());
1550
+ let n = z(String(r).trim());
1395
1551
  n && !e.has(n) && (e.add(n), t.push(String(r).trim()));
1396
1552
  }
1397
1553
  return t;
@@ -1406,12 +1562,12 @@ var rt = { class: "mwnf-standalone-related" }, it = { class: "mwnf-standalone-re
1406
1562
  let t = h.value;
1407
1563
  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])));
1408
1564
  }
1409
- return (t, n) => (C(), u(kn, {
1565
+ return (t, n) => (C(), u(rr, {
1410
1566
  heading: e.labels.heading,
1411
1567
  "close-label": e.labels.close,
1412
1568
  dir: e.dir
1413
1569
  }, {
1414
- default: P(() => [p("div", An, [p("h2", jn, D(e.labels.intro), 1), p("div", Mn, [p("div", Nn, [F(p("input", {
1570
+ default: F(() => [p("div", ir, [p("h2", ar, D(e.labels.intro), 1), p("div", or, [p("div", sr, [I(p("input", {
1415
1571
  "onUpdate:modelValue": n[0] ||= (e) => a.value = e,
1416
1572
  type: "text",
1417
1573
  class: "mwnf-standalone-glossary__input",
@@ -1421,19 +1577,19 @@ var rt = { class: "mwnf-standalone-related" }, it = { class: "mwnf-standalone-re
1421
1577
  "aria-label": e.labels.heading,
1422
1578
  onInput: b,
1423
1579
  onKeydown: x
1424
- }, null, 40, Pn), [[j, a.value]]), h.value.length ? (C(), f("ul", Fn, [(C(!0), f(c, null, T(h.value, (e, t) => (C(), f("li", {
1580
+ }, null, 40, cr), [[M, a.value]]), h.value.length ? (C(), f("ul", lr, [(C(!0), f(c, null, T(h.value, (e, t) => (C(), f("li", {
1425
1581
  key: e.spelling,
1426
1582
  role: "option",
1427
1583
  "aria-selected": t === s.value,
1428
1584
  class: y(["mwnf-standalone-glossary__suggestion", { "mwnf-standalone-glossary__suggestion--active": t === s.value }]),
1429
- onMousedown: I((t) => v(e), ["prevent"])
1430
- }, D(e.spelling), 43, In))), 128))])) : d("", !0)]), p("div", Ln, [o.value ? (C(), f(c, { key: 0 }, [g.value ? (C(), f(c, { key: 0 }, [p("h3", Rn, D(e.labels.definition), 1), p("div", {
1585
+ onMousedown: L((t) => v(e), ["prevent"])
1586
+ }, D(e.spelling), 43, ur))), 128))])) : d("", !0)]), p("div", dr, [o.value ? (C(), f(c, { key: 0 }, [g.value ? (C(), f(c, { key: 0 }, [p("h3", fr, D(e.labels.definition), 1), p("div", {
1431
1587
  class: "mwnf-standalone-glossary__definition",
1432
1588
  innerHTML: g.value
1433
- }, null, 8, zn)], 64)) : d("", !0), _.value.length ? (C(), f(c, { key: 1 }, [
1434
- p("h3", Bn, D(e.labels.spellings), 1),
1435
- p("p", Vn, D(e.labels.spellingsNote), 1),
1436
- p("ul", Hn, [(C(!0), f(c, null, T(_.value, (e) => (C(), f("li", { key: e }, D(e), 1))), 128))])
1589
+ }, null, 8, pr)], 64)) : d("", !0), _.value.length ? (C(), f(c, { key: 1 }, [
1590
+ p("h3", mr, D(e.labels.spellings), 1),
1591
+ p("p", hr, D(e.labels.spellingsNote), 1),
1592
+ p("ul", gr, [(C(!0), f(c, null, T(_.value, (e) => (C(), f("li", { key: e }, D(e), 1))), 128))])
1437
1593
  ], 64)) : d("", !0)], 64)) : d("", !0)])])])]),
1438
1594
  _: 1
1439
1595
  }, 8, [
@@ -1444,4 +1600,4 @@ var rt = { class: "mwnf-standalone-related" }, it = { class: "mwnf-standalone-re
1444
1600
  }
1445
1601
  };
1446
1602
  //#endregion
1447
- export { dt as RelatedContent, J as StandaloneBanner, Un as StandaloneGlossarySpelling, qe as StandaloneHome, ht as StandaloneItemSheet, gn as StandalonePagination, Wt as StandalonePartnerPage, dn as StandaloneResultsGrid, ke as StandaloneShell, Sn as StandaloneSlider, xe as StandaloneSponsors, Zt as StandaloneSubNav, Jt as StandaloneTextPage, Ue as StandaloneTileGrid, kn as StandaloneWindow, Le as TodayHighlight, X as byLanguage, Z as dayOfYear, oe as legacyHomeItemKey, Q as pickForDay };
1603
+ export { ft as RelatedContent, J as StandaloneBanner, _r as StandaloneGlossarySpelling, Je as StandaloneHome, gt as StandaloneItemSheet, Wn as StandalonePagination, Gt as StandalonePartnerPage, zn as StandaloneRefine, fn as StandaloneResultsGrid, Nn as StandaloneResultsList, Ae as StandaloneShell, Xn as StandaloneSlider, Se as StandaloneSponsors, Qt as StandaloneSubNav, Yt as StandaloneTextPage, We as StandaloneTileGrid, rr as StandaloneWindow, Re as TodayHighlight, X as byLanguage, Z as dayOfYear, se as legacyHomeItemKey, Q as pickForDay };