@museumwnf/viewer-layout 3.90.0 → 3.92.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.
@@ -1,15 +1,16 @@
1
- import { Fragment as e, computed as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createSlots as o, createTextVNode as s, createVNode as c, guardReactiveProps as l, mergeModels as u, nextTick as d, normalizeClass as f, normalizeProps as p, normalizeStyle as m, onBeforeUnmount as h, onMounted as g, openBlock as _, reactive as v, ref as y, renderList as b, renderSlot as x, toDisplayString as S, unref as C, useId as w, useModel as T, useSlots as E, vModelSelect as D, vModelText as O, vShow as k, watch as A, withCtx as j, withDirectives as M, withModifiers as N } from "vue";
2
- import { useRoute as P } from "vue-router";
3
- import { byId as F, collate as I, entityRef as ee, loadEntities as L, md as R, pictureCredits as z, picturesInLanguage as te, removeEndingPoint as B, renderBlock as ne, renderInline as V, renderPlain as H, useDataPackage as re, useI18n as U, useSection as ie, useSiteConfig as W } from "@museumwnf/viewer-core";
4
- import { t as ae } from "./SiteShell-D0u1FGMu.js";
5
- import { r as oe } from "./chrome-Bv_mLlHM.js";
6
- import { c as se, d as G, n as ce, t as le } from "./PartnerMap-DdyMLtgH.js";
7
- import { n as ue, t as de } from "./RecordView-DAvWufWV.js";
1
+ import { Fragment as e, computed as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createSlots as o, createTextVNode as s, createVNode as c, guardReactiveProps as l, mergeModels as u, mergeProps as d, nextTick as f, normalizeClass as p, normalizeProps as m, normalizeStyle as h, onBeforeUnmount as g, onMounted as _, openBlock as v, reactive as y, ref as b, renderList as x, renderSlot as S, resolveComponent as C, resolveDynamicComponent as w, toDisplayString as T, unref as E, useId as D, useModel as O, useSlots as k, vModelCheckbox 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";
2
+ import { useRoute as ee, useRouter as te } from "vue-router";
3
+ import { byId as R, collate as z, entityRef as ne, loadEntities as B, md as V, pictureCredits as re, picturesInLanguage as ie, removeEndingPoint as H, renderBlock as U, renderInline as W, renderPlain as G, useDataPackage as ae, useI18n as K, useSection as oe, useSiteConfig as se } from "@museumwnf/viewer-core";
4
+ import { t as ce } from "./SiteShell-D0u1FGMu.js";
5
+ import { r as q } from "./chrome-Bv_mLlHM.js";
6
+ import { c as le, d as J, n as ue, t as Y } from "./PartnerMap-DdyMLtgH.js";
7
+ import { n as X, t as Z } from "./RecordView-DAvWufWV.js";
8
+ import { S as de, _ as fe, b as pe, c as me, f as he, g as ge, h as _e, i as ve, m as ye, n as be, p as Q, r as xe, t as Se, v as Ce, x as we, y as Te } from "./globalDatabase-DwTGcqXU.js";
8
9
  // src/standalone/Banner.vue
9
- var fe = {
10
+ var Ee = {
10
11
  key: 0,
11
12
  class: "mwnf-standalone-banner__title"
12
- }, pe = {
13
+ }, De = {
13
14
  __name: "Banner",
14
15
  props: {
15
16
  image: {
@@ -22,31 +23,31 @@ var fe = {
22
23
  }
23
24
  },
24
25
  setup(e) {
25
- return (t, n) => (_(), i("div", {
26
+ return (t, n) => (v(), i("div", {
26
27
  class: "mwnf-standalone-banner",
27
- style: m(e.image ? { backgroundImage: `url(${JSON.stringify(e.image)})` } : void 0)
28
- }, [e.title ? (_(), i("h1", fe, [a("span", null, S(e.title), 1)])) : r("", !0)], 4));
28
+ style: h(e.image ? { backgroundImage: `url(${JSON.stringify(e.image)})` } : void 0)
29
+ }, [e.title ? (v(), i("h1", Ee, [a("span", null, T(e.title), 1)])) : r("", !0)], 4));
29
30
  }
30
31
  };
31
32
  // src/standalone/chrome.js
32
- function K() {
33
- let e = W();
34
- return (t) => oe(e.chrome, t);
33
+ function Oe() {
34
+ let e = se();
35
+ return (t) => q(e.chrome, t);
35
36
  }
36
- function me(e, t) {
37
+ function ke(e, t) {
37
38
  return !e || typeof e == "string" ? e ?? "" : e[t] ?? e.en ?? Object.values(e)[0] ?? "";
38
39
  }
39
- function q(e = /* @__PURE__ */ new Date()) {
40
+ function Ae(e = /* @__PURE__ */ new Date()) {
40
41
  let t = new Date(e.getFullYear(), 0, 1);
41
42
  return Math.round((new Date(e.getFullYear(), e.getMonth(), e.getDate()) - t) / 864e5);
42
43
  }
43
- function J(e, t = /* @__PURE__ */ new Date()) {
44
- return e?.length ? e[q(t) % e.length] : null;
44
+ function je(e, t = /* @__PURE__ */ new Date()) {
45
+ return e?.length ? e[Ae(t) % e.length] : null;
45
46
  }
46
- function he(e, t = /* @__PURE__ */ new Date()) {
47
- return J([...e?.values?.() ?? e ?? []].filter((e) => e?.images?.[0]?.url).sort((e, t) => e.id < t.id ? -1 : +(e.id > t.id)), t)?.images[0].url ?? "";
47
+ function Me(e, t = /* @__PURE__ */ new Date()) {
48
+ return je([...e?.values?.() ?? e ?? []].filter((e) => e?.images?.[0]?.url).sort((e, t) => e.id < t.id ? -1 : +(e.id > t.id)), t)?.images[0].url ?? "";
48
49
  }
49
- function ge(e) {
50
+ function Ne(e) {
50
51
  let [t, ...n] = String(e ?? "").split("*")[0].trim().split(";");
51
52
  return !t || n.length < 5 ? "" : [
52
53
  "mwnf3",
@@ -54,84 +55,84 @@ function ge(e) {
54
55
  ...n.slice(0, n.length - 1)
55
56
  ].join(":");
56
57
  }
57
- var _e = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
58
- function Y(e) {
59
- return (e ?? []).every((e) => _e.test(String(e ?? "").trim()));
58
+ var Pe = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
59
+ function Fe(e) {
60
+ return (e ?? []).every((e) => Pe.test(String(e ?? "").trim()));
60
61
  }
61
- function ve(e, { byId: t, byLegacyKey: n = null, date: r = /* @__PURE__ */ new Date() } = {}) {
62
+ function Ie(e, { byId: t, byLegacyKey: n = null, date: r = /* @__PURE__ */ new Date() } = {}) {
62
63
  if (!e?.length) return null;
63
- let i = q(r) % e.length;
64
+ let i = Ae(r) % e.length;
64
65
  for (let r = 0; r < e.length; r++) {
65
- let a = String(e[(i + r) % e.length] ?? "").trim(), o = _e.test(a) ? t?.get(a) : n?.get(ge(a));
66
+ let a = String(e[(i + r) % e.length] ?? "").trim(), o = Pe.test(a) ? t?.get(a) : n?.get(Ne(a));
66
67
  if (o) return o;
67
68
  }
68
69
  return null;
69
70
  }
70
71
  // src/standalone/Sponsors.vue
71
- var ye = { class: "mwnf-standalone-sponsors" }, be = {
72
+ var Le = { class: "mwnf-standalone-sponsors" }, Re = {
72
73
  key: 0,
73
74
  class: "mwnf-standalone-sponsors__text"
74
- }, xe = ["innerHTML"], Se = { key: 1 }, Ce = ["innerHTML"], we = {
75
+ }, ze = ["innerHTML"], Be = { key: 1 }, Ve = ["innerHTML"], He = {
75
76
  key: 1,
76
77
  class: "mwnf-standalone-sponsors__title"
77
- }, Te = {
78
+ }, Ue = {
78
79
  key: 2,
79
80
  class: "mwnf-standalone-sponsors__logos"
80
- }, Ee = {
81
+ }, We = {
81
82
  key: 0,
82
83
  class: "mwnf-standalone-sponsors__note"
83
- }, De = ["src", "alt"], Oe = ["innerHTML"], ke = ["href"], Ae = ["src", "alt"], je = ["src", "alt"], Me = {
84
+ }, Ge = ["src", "alt"], Ke = ["innerHTML"], qe = ["href"], Je = ["src", "alt"], Ye = ["src", "alt"], Xe = {
84
85
  key: 3,
85
86
  class: "mwnf-standalone-sponsors__links"
86
- }, Ne = {
87
+ }, Ze = {
87
88
  __name: "Sponsors",
88
89
  props: { columns: {
89
90
  type: Array,
90
91
  default: () => []
91
92
  } },
92
93
  setup(n) {
93
- let o = n, { t: l } = U(), u = K(), d = t(() => o.columns.map((e, t) => ({
94
+ let o = n, { t: l } = K(), u = Oe(), d = t(() => o.columns.map((e, t) => ({
94
95
  key: t,
95
96
  width: e.width ?? null,
96
- lead: e.lead ? V(l(e.lead)) : "",
97
- text: e.text ? V(l(e.text)) : "",
97
+ lead: e.lead ? W(l(e.lead)) : "",
98
+ text: e.text ? W(l(e.text)) : "",
98
99
  break: !!e.break,
99
100
  title: e.title ? l(e.title) : "",
100
101
  logos: (e.logos ?? []).map((e) => ({
101
102
  src: u(e.src) ?? "",
102
103
  alt: e.alt ? l(e.alt) : "",
103
104
  href: e.href ?? "",
104
- note: e.note ? ne(l(e.note)) : ""
105
+ note: e.note ? U(l(e.note)) : ""
105
106
  })),
106
107
  links: (e.links ?? []).map((e) => ({
107
108
  ...e,
108
109
  label: l(e.label)
109
110
  }))
110
111
  })));
111
- return (t, n) => (_(), i("div", ye, [(_(!0), i(e, null, b(d.value, (t) => (_(), i("div", {
112
+ return (t, n) => (v(), i("div", Le, [(v(!0), i(e, null, x(d.value, (t) => (v(), i("div", {
112
113
  key: t.key,
113
114
  class: "mwnf-standalone-sponsors__column",
114
- style: m(t.width ? { flexGrow: t.width } : void 0)
115
+ style: h(t.width ? { flexGrow: t.width } : void 0)
115
116
  }, [
116
- t.lead || t.text ? (_(), i("p", be, [
117
- t.lead ? (_(), i("i", {
117
+ t.lead || t.text ? (v(), i("p", Re, [
118
+ t.lead ? (v(), i("i", {
118
119
  key: 0,
119
120
  innerHTML: t.lead
120
- }, null, 8, xe)) : r("", !0),
121
- t.lead && t.break ? (_(), i("br", Se)) : t.lead && t.text ? (_(), i(e, { key: 2 }, [s(S(" "))], 64)) : r("", !0),
122
- t.text ? (_(), i("span", {
121
+ }, null, 8, ze)) : r("", !0),
122
+ t.lead && t.break ? (v(), i("br", Be)) : t.lead && t.text ? (v(), i(e, { key: 2 }, [s(T(" "))], 64)) : r("", !0),
123
+ t.text ? (v(), i("span", {
123
124
  key: 3,
124
125
  innerHTML: t.text
125
- }, null, 8, Ce)) : r("", !0)
126
+ }, null, 8, Ve)) : r("", !0)
126
127
  ])) : r("", !0),
127
- t.title ? (_(), i("p", we, S(t.title), 1)) : r("", !0),
128
- t.logos.length ? (_(), i("ul", Te, [(_(!0), i(e, null, b(t.logos, (e) => (_(), i("li", { key: e.src }, [e.note ? (_(), i("details", Ee, [a("summary", null, [a("img", {
128
+ t.title ? (v(), i("p", He, T(t.title), 1)) : r("", !0),
129
+ t.logos.length ? (v(), i("ul", Ue, [(v(!0), i(e, null, x(t.logos, (e) => (v(), i("li", { key: e.src }, [e.note ? (v(), i("details", We, [a("summary", null, [a("img", {
129
130
  src: e.src,
130
131
  alt: e.alt
131
- }, null, 8, De)]), a("div", {
132
+ }, null, 8, Ge)]), a("div", {
132
133
  class: "mwnf-standalone-sponsors__note-body",
133
134
  innerHTML: e.note
134
- }, null, 8, Oe)])) : e.href ? (_(), i("a", {
135
+ }, null, 8, Ke)])) : e.href ? (v(), i("a", {
135
136
  key: 1,
136
137
  href: e.href,
137
138
  target: "_blank",
@@ -139,17 +140,17 @@ var ye = { class: "mwnf-standalone-sponsors" }, be = {
139
140
  }, [a("img", {
140
141
  src: e.src,
141
142
  alt: e.alt
142
- }, null, 8, Ae)], 8, ke)) : (_(), i("img", {
143
+ }, null, 8, Je)], 8, qe)) : (v(), i("img", {
143
144
  key: 2,
144
145
  src: e.src,
145
146
  alt: e.alt
146
- }, null, 8, je))]))), 128))])) : r("", !0),
147
- t.links.length ? (_(), i("ul", Me, [(_(!0), i(e, null, b(t.links, (e) => (_(), i("li", { key: e.label }, [c(G, {
147
+ }, null, 8, Ye))]))), 128))])) : r("", !0),
148
+ t.links.length ? (v(), i("ul", Xe, [(v(!0), i(e, null, x(t.links, (e) => (v(), i("li", { key: e.label }, [c(J, {
148
149
  to: e.to,
149
150
  href: e.href,
150
151
  external: !!e.external
151
152
  }, {
152
- default: j(() => [s(S(e.label), 1)]),
153
+ default: F(() => [s(T(e.label), 1)]),
153
154
  _: 2
154
155
  }, 1032, [
155
156
  "to",
@@ -158,16 +159,16 @@ var ye = { class: "mwnf-standalone-sponsors" }, be = {
158
159
  ])]))), 128))])) : r("", !0)
159
160
  ], 4))), 128))]));
160
161
  }
161
- }, Pe = {
162
+ }, Qe = {
162
163
  key: 0,
163
164
  class: "mwnf-standalone mwnf-standalone--bare"
164
- }, Fe = { class: "mwnf-banner mwnf-standalone-home-banner" }, Ie = ["src"], Le = { class: "mwnf-standalone-home-banner__text" }, Re = {
165
+ }, $e = { class: "mwnf-banner mwnf-standalone-home-banner" }, et = ["src"], tt = { class: "mwnf-standalone-home-banner__text" }, nt = {
165
166
  key: 0,
166
167
  class: "mwnf-standalone-home-banner__title"
167
- }, ze = {
168
+ }, rt = {
168
169
  key: 1,
169
170
  class: "mwnf-standalone-home-banner__line"
170
- }, Be = ["src"], Ve = {
171
+ }, it = ["src"], at = {
171
172
  __name: "Shell",
172
173
  props: {
173
174
  language: {
@@ -181,31 +182,31 @@ var ye = { class: "mwnf-standalone-sponsors" }, be = {
181
182
  },
182
183
  emits: ["update:language"],
183
184
  setup(e, { emit: s }) {
184
- let l = e, u = s, { t: d, locale: p } = U(), m = P(), h = t(() => !!m.meta?.bare), g = W(), v = ie(), y = t(() => g.standalone ?? {}), b = t(() => g.navigation ?? {}), w = t(() => v.value === "home"), T = t(() => y.value.areas?.[v.value] ?? null), E = (e) => oe(g.chrome, me(e, p.value)), D = t(() => {
185
- let e = y.value.logo ?? {}, t = E(T.value?.logo ?? e.src);
185
+ let l = e, u = s, { t: d, locale: f } = K(), m = ee(), h = t(() => !!m.meta?.bare), g = se(), _ = oe(), y = t(() => g.standalone ?? {}), b = t(() => g.navigation ?? {}), x = t(() => _.value === "home"), C = t(() => y.value.areas?.[_.value] ?? null), w = (e) => q(g.chrome, ke(e, f.value)), D = t(() => {
186
+ let e = y.value.logo ?? {}, t = w(C.value?.logo ?? e.src);
186
187
  return t ? {
187
188
  logo: t,
188
189
  alt: e.alt ?? ""
189
190
  } : null;
190
- }), O = t(() => E(y.value.logo?.print)), k = t(() => (y.value.headerLinks ?? []).filter((e) => !e.on || e.on === "all" || e.on === (w.value ? "home" : "inner"))), A = t(() => {
191
+ }), O = t(() => w(y.value.logo?.print)), k = t(() => (y.value.headerLinks ?? []).filter((e) => !e.on || e.on === "all" || e.on === (x.value ? "home" : "inner"))), A = t(() => {
191
192
  let e = {
192
193
  ...y.value.banner ?? {},
193
- ...T.value?.banner ?? {}
194
+ ...C.value?.banner ?? {}
194
195
  };
195
- return E(w.value ? e.home : e.inner) ?? "";
196
- }), M = t(() => {
197
- let e = m.meta?.bannerTitle ?? b.value.sectionTitles?.[v.value];
196
+ return w(x.value ? e.home : e.inner) ?? "";
197
+ }), j = t(() => {
198
+ let e = m.meta?.bannerTitle ?? b.value.sectionTitles?.[_.value];
198
199
  return e ? d(e) : "";
199
- }), N = t(() => !w.value && !!(A.value || M.value)), F = t(() => {
200
+ }), M = t(() => !x.value && !!(A.value || j.value)), N = t(() => {
200
201
  let { homeTitle: e, homeText: t } = y.value.banner ?? {};
201
- return w.value && (e || t) ? {
202
+ return x.value && (e || t) ? {
202
203
  title: e ? d(e) : "",
203
204
  text: t ? d(t) : ""
204
205
  } : null;
205
- }), I = t(() => {
206
+ }), P = t(() => {
206
207
  let e = y.value.sponsors;
207
- return e?.columns?.length && (e.on === "all" || w.value) ? e : null;
208
- }), ee = t(() => ({
208
+ return e?.columns?.length && (e.on === "all" || x.value) ? e : null;
209
+ }), I = t(() => ({
209
210
  navigation: {
210
211
  ...b.value,
211
212
  headerLinks: k.value,
@@ -214,68 +215,68 @@ var ye = { class: "mwnf-standalone-sponsors" }, be = {
214
215
  },
215
216
  banner: null,
216
217
  ...D.value ? { brand: D.value } : {}
217
- })), L = (/* @__PURE__ */ new Date()).getFullYear(), R = t(() => y.value.copyright ? `${d(y.value.copyright)} ${L}` : ""), z = t(() => [
218
+ })), L = (/* @__PURE__ */ new Date()).getFullYear(), te = t(() => y.value.copyright ? `${d(y.value.copyright)} ${L}` : ""), R = t(() => [
218
219
  "mwnf-standalone",
219
- w.value ? "mwnf-standalone--home" : "mwnf-standalone--inner",
220
- T.value?.class ?? ""
220
+ x.value ? "mwnf-standalone--home" : "mwnf-standalone--inner",
221
+ C.value?.class ?? ""
221
222
  ]);
222
- return (e, t) => h.value ? (_(), i("div", Pe, [x(e.$slots, "default")])) : (_(), n(ae, {
223
+ return (e, t) => h.value ? (v(), i("div", Qe, [S(e.$slots, "default")])) : (v(), n(ce, {
223
224
  key: 1,
224
- class: f(z.value),
225
- config: ee.value,
225
+ class: p(R.value),
226
+ config: I.value,
226
227
  languages: y.value.languages === !1 ? [] : l.languages,
227
228
  language: l.language,
228
229
  "language-placement": "header",
229
230
  "language-style": "select",
230
231
  "header-home": y.value.logo?.href ?? "",
231
- "header-title": w.value ? "" : y.value.heading ? C(d)(y.value.heading) : "",
232
- "header-subtitle": w.value ? "" : y.value.subheading ? C(d)(y.value.subheading) : "",
232
+ "header-title": x.value ? "" : y.value.heading ? E(d)(y.value.heading) : "",
233
+ "header-subtitle": x.value ? "" : y.value.subheading ? E(d)(y.value.subheading) : "",
233
234
  "header-title-href": "#/",
234
- "banner-image": w.value && !F.value ? A.value : "",
235
- "footer-text": R.value || void 0,
235
+ "banner-image": x.value && !N.value ? A.value : "",
236
+ "footer-text": te.value || void 0,
236
237
  "onUpdate:language": t[0] ||= (e) => u("update:language", e)
237
238
  }, o({
238
- default: j(() => [x(e.$slots, "default")]),
239
+ default: F(() => [S(e.$slots, "default")]),
239
240
  _: 2
240
241
  }, [
241
- N.value ? {
242
+ M.value ? {
242
243
  name: "banner",
243
- fn: j(() => [c(pe, {
244
+ fn: F(() => [c(De, {
244
245
  image: A.value,
245
- title: M.value
246
+ title: j.value
246
247
  }, null, 8, ["image", "title"])]),
247
248
  key: "0"
248
- } : F.value ? {
249
+ } : N.value ? {
249
250
  name: "banner",
250
- fn: j(() => [a("section", Fe, [A.value ? (_(), i("img", {
251
+ fn: F(() => [a("section", $e, [A.value ? (v(), i("img", {
251
252
  key: 0,
252
253
  class: "mwnf-banner__image",
253
254
  src: A.value,
254
255
  alt: ""
255
- }, null, 8, Ie)) : r("", !0), a("div", Le, [F.value.title ? (_(), i("h2", Re, [a("i", null, S(F.value.title), 1)])) : r("", !0), F.value.text ? (_(), i("p", ze, [a("span", null, S(F.value.text), 1)])) : r("", !0)])])]),
256
+ }, null, 8, et)) : r("", !0), a("div", tt, [N.value.title ? (v(), i("h2", nt, [a("i", null, T(N.value.title), 1)])) : r("", !0), N.value.text ? (v(), i("p", rt, [a("span", null, T(N.value.text), 1)])) : r("", !0)])])]),
256
257
  key: "1"
257
258
  } : void 0,
258
259
  O.value ? {
259
260
  name: "notice",
260
- fn: j(() => [a("img", {
261
+ fn: F(() => [a("img", {
261
262
  class: "mwnf-standalone__print-logo",
262
263
  src: O.value,
263
264
  alt: ""
264
- }, null, 8, Be)]),
265
+ }, null, 8, it)]),
265
266
  key: "2"
266
267
  } : void 0,
267
268
  e.$slots.sponsors ? {
268
269
  name: "sponsors",
269
- fn: j(() => [x(e.$slots, "sponsors")]),
270
+ fn: F(() => [S(e.$slots, "sponsors")]),
270
271
  key: "3"
271
- } : I.value ? {
272
+ } : P.value ? {
272
273
  name: "sponsors",
273
- fn: j(() => [c(Ne, { columns: I.value.columns }, null, 8, ["columns"])]),
274
+ fn: F(() => [c(Ze, { columns: P.value.columns }, null, 8, ["columns"])]),
274
275
  key: "4"
275
276
  } : void 0,
276
277
  e.$slots.footer ? {
277
278
  name: "footer",
278
- fn: j(() => [x(e.$slots, "footer")]),
279
+ fn: F(() => [S(e.$slots, "footer")]),
279
280
  key: "5"
280
281
  } : void 0
281
282
  ]), 1032, [
@@ -290,19 +291,19 @@ var ye = { class: "mwnf-standalone-sponsors" }, be = {
290
291
  "footer-text"
291
292
  ]));
292
293
  }
293
- }, He = {
294
+ }, ot = {
294
295
  key: 0,
295
296
  class: "mwnf-standalone-highlight"
296
- }, Ue = ["src", "alt"], We = {
297
+ }, st = ["src", "alt"], ct = {
297
298
  key: 1,
298
299
  class: "mwnf-standalone-highlight__heading"
299
- }, Ge = { class: "mwnf-standalone-highlight__lines" }, Ke = ["innerHTML"], qe = {
300
+ }, lt = { class: "mwnf-standalone-highlight__lines" }, ut = ["innerHTML"], dt = {
300
301
  key: 2,
301
302
  class: "mwnf-standalone-highlight__place"
302
- }, Je = {
303
+ }, ft = {
303
304
  key: 3,
304
305
  class: "mwnf-standalone-highlight__action"
305
- }, Ye = {
306
+ }, pt = {
306
307
  __name: "TodayHighlight",
307
308
  props: {
308
309
  record: {
@@ -343,51 +344,51 @@ var ye = { class: "mwnf-standalone-sponsors" }, be = {
343
344
  }
344
345
  },
345
346
  setup(o) {
346
- let l = o, { t: u } = U(), d = (e) => B(Array.isArray(e) ? e.join("; ") : e), f = t(() => {
347
+ let l = o, { t: u } = K(), d = (e) => H(Array.isArray(e) ? e.join("; ") : e), f = t(() => {
347
348
  let e = l.text ?? {}, t = [], n = d(e.name ?? l.record?.internal_name ?? "");
348
- n && t.push(V(n));
349
+ n && t.push(W(n));
349
350
  let r = d(e.alternate_name);
350
- r && t.push(`${l.alsoKnownAs ? `${u(l.alsoKnownAs)} ` : ""}${V(r)}`);
351
+ r && t.push(`${l.alsoKnownAs ? `${u(l.alsoKnownAs)} ` : ""}${W(r)}`);
351
352
  let i = [d(e.dates), d(e.dynasty)].filter(Boolean).join(", ");
352
- i && t.push(V(i));
353
+ i && t.push(W(i));
353
354
  for (let n of ["materials", "holder"]) {
354
355
  let r = d(e[n]);
355
- r && t.push(V(r));
356
+ r && t.push(W(r));
356
357
  }
357
358
  return t;
358
- }), p = t(() => l.place ?? [d(l.text?.location), l.country].filter(Boolean).join(", ")), m = t(() => l.picture || (l.record?.images?.[0]?.url ?? "")), h = t(() => H(String(l.text?.name ?? l.record?.internal_name ?? "")));
359
- return (t, l) => o.record ? (_(), i("div", He, [
360
- m.value ? (_(), n(G, {
359
+ }), p = t(() => l.place ?? [d(l.text?.location), l.country].filter(Boolean).join(", ")), m = t(() => l.picture || (l.record?.images?.[0]?.url ?? "")), h = t(() => G(String(l.text?.name ?? l.record?.internal_name ?? "")));
360
+ return (t, l) => o.record ? (v(), i("div", ot, [
361
+ m.value ? (v(), n(J, {
361
362
  key: 0,
362
363
  class: "mwnf-standalone-highlight__media",
363
364
  to: o.to
364
365
  }, {
365
- default: j(() => [a("img", {
366
+ default: F(() => [a("img", {
366
367
  class: "mwnf-standalone-highlight__image",
367
368
  src: m.value,
368
369
  alt: h.value
369
- }, null, 8, Ue)]),
370
+ }, null, 8, st)]),
370
371
  _: 1
371
372
  }, 8, ["to"])) : r("", !0),
372
- o.heading ? (_(), i("p", We, [a("strong", null, S(C(u)(o.heading)), 1)])) : r("", !0),
373
- a("p", Ge, [(_(!0), i(e, null, b(f.value, (t, n) => (_(), i(e, { key: n }, [a("span", { innerHTML: t }, null, 8, Ke), l[0] ||= a("br", null, null, -1)], 64))), 128))]),
374
- p.value ? (_(), i("p", qe, S(C(H)(p.value)), 1)) : r("", !0),
375
- o.action ? (_(), i("p", Je, [c(G, { to: o.to }, {
376
- default: j(() => [s(S(C(u)(o.action)), 1)]),
373
+ o.heading ? (v(), i("p", ct, [a("strong", null, T(E(u)(o.heading)), 1)])) : r("", !0),
374
+ a("p", lt, [(v(!0), i(e, null, x(f.value, (t, n) => (v(), i(e, { key: n }, [a("span", { innerHTML: t }, null, 8, ut), l[0] ||= a("br", null, null, -1)], 64))), 128))]),
375
+ p.value ? (v(), i("p", dt, T(E(G)(p.value)), 1)) : r("", !0),
376
+ o.action ? (v(), i("p", ft, [c(J, { to: o.to }, {
377
+ default: F(() => [s(T(E(u)(o.action)), 1)]),
377
378
  _: 1
378
379
  }, 8, ["to"])])) : r("", !0)
379
380
  ])) : r("", !0);
380
381
  }
381
- }, Xe = {
382
+ }, mt = {
382
383
  key: 0,
383
384
  class: "mwnf-standalone-tiles"
384
- }, Ze = {
385
+ }, ht = {
385
386
  key: 0,
386
387
  class: "mwnf-standalone-tiles__caption"
387
- }, Qe = { class: "mwnf-standalone-tiles__caption-text" }, $e = { class: "mwnf-standalone-tiles__grid" }, et = ["src", "alt"], tt = {
388
+ }, gt = { class: "mwnf-standalone-tiles__caption-text" }, _t = { class: "mwnf-standalone-tiles__grid" }, vt = ["src", "alt"], yt = {
388
389
  key: 0,
389
390
  class: "mwnf-standalone-tiles__label"
390
- }, nt = {
391
+ }, bt = {
391
392
  __name: "TileGrid",
392
393
  props: {
393
394
  caption: {
@@ -400,73 +401,73 @@ var ye = { class: "mwnf-standalone-sponsors" }, be = {
400
401
  }
401
402
  },
402
403
  setup(n) {
403
- let o = n, { t: s } = U(), l = K(), u = t(() => o.items.map((e) => ({
404
+ let o = n, { t: s } = K(), l = Oe(), u = t(() => o.items.map((e) => ({
404
405
  ...e,
405
406
  image: l(e.image) ?? "",
406
- label: e.text ? H(e.text) : e.label ? s(e.label) : ""
407
+ label: e.text ? G(e.text) : e.label ? s(e.label) : ""
407
408
  })));
408
- return (t, o) => u.value.length ? (_(), i("section", Xe, [n.caption ? (_(), i("p", Ze, [a("span", Qe, S(C(s)(n.caption)), 1)])) : r("", !0), a("ul", $e, [(_(!0), i(e, null, b(u.value, (e) => (_(), i("li", {
409
+ return (t, o) => u.value.length ? (v(), i("section", mt, [n.caption ? (v(), i("p", ht, [a("span", gt, T(E(s)(n.caption)), 1)])) : r("", !0), a("ul", _t, [(v(!0), i(e, null, x(u.value, (e) => (v(), i("li", {
409
410
  key: e.image,
410
411
  class: "mwnf-standalone-tiles__tile"
411
- }, [c(G, {
412
+ }, [c(J, {
412
413
  to: e.to,
413
414
  href: e.href,
414
415
  class: "mwnf-standalone-tiles__link"
415
416
  }, {
416
- default: j(() => [a("img", {
417
+ default: F(() => [a("img", {
417
418
  class: "mwnf-standalone-tiles__image",
418
419
  src: e.image,
419
420
  alt: e.label
420
- }, null, 8, et), e.label ? (_(), i("span", tt, S(e.label), 1)) : r("", !0)]),
421
+ }, null, 8, vt), e.label ? (v(), i("span", yt, T(e.label), 1)) : r("", !0)]),
421
422
  _: 2
422
423
  }, 1032, ["to", "href"])]))), 128))])])) : r("", !0);
423
424
  }
424
- }, rt = { class: "mwnf-standalone-home" }, it = {
425
+ }, xt = { class: "mwnf-standalone-home" }, St = {
425
426
  key: 0,
426
427
  class: "mwnf-standalone-home__links"
427
- }, at = { key: 1 }, ot = {
428
+ }, Ct = { key: 1 }, wt = {
428
429
  __name: "Home",
429
430
  props: { home: {
430
431
  type: Object,
431
432
  default: null
432
433
  } },
433
434
  setup(a) {
434
- let o = a, { t: l, locale: u } = U(), d = W(), p = t(() => o.home ?? d.standalone?.home ?? {}), m = t(() => (p.value.links ?? []).map((e) => ({
435
+ let o = a, { t: l, locale: u } = K(), d = se(), f = t(() => o.home ?? d.standalone?.home ?? {}), m = t(() => (f.value.links ?? []).map((e) => ({
435
436
  ...e,
436
437
  label: l(e.label),
437
438
  prefix: e.prefix ? l(e.prefix) : "",
438
439
  title: e.title ? l(e.title) : void 0
439
- }))), h = t(() => p.value.highlight ?? null), g = re();
440
- h.value?.list?.length && (L(["items", "countries"]), A(u, (e) => {
440
+ }))), h = t(() => f.value.highlight ?? null), g = ae();
441
+ h.value?.list?.length && (B(["items", "countries"]), P(u, (e) => {
441
442
  g.loadTranslations("items", e), g.loadTranslations("countries", e);
442
443
  }, { immediate: !0 }));
443
- let v = F("items"), y = Y(h.value?.list) ? null : F("items", "backward_compatibility"), C = t(() => ve(h.value?.list ?? [], {
444
- byId: v.value,
444
+ let _ = R("items"), y = Fe(h.value?.list) ? null : R("items", "backward_compatibility"), b = t(() => Ie(h.value?.list ?? [], {
445
+ byId: _.value,
445
446
  byLegacyKey: y?.value ?? null
446
- })), w = t(() => C.value ? g.tr("items", C.value.id, u.value, "en") : {}), T = t(() => {
447
- let e = C.value?.country_id;
447
+ })), C = t(() => b.value ? g.tr("items", b.value.id, u.value, "en") : {}), w = t(() => {
448
+ let e = b.value?.country_id;
448
449
  return e ? g.tr("countries", e, u.value, "en").name ?? "" : "";
449
- }), E = t(() => C.value && h.value?.place ? h.value.place(C.value, w.value, T.value) : null), D = t(() => C.value ? {
450
+ }), E = t(() => b.value && h.value?.place ? h.value.place(b.value, C.value, w.value) : null), D = t(() => b.value ? {
450
451
  name: h.value.route ?? "item",
451
- params: { id: C.value.id }
452
- } : null), O = K(), k = t(() => {
452
+ params: { id: b.value.id }
453
+ } : null), O = Oe(), k = t(() => {
453
454
  let e = h.value?.pictures ?? [];
454
- return e === "inventory" ? he(v.value) : e.length ? O(J(e)) ?? "" : "";
455
- }), M = t(() => {
456
- let e = p.value.tiles?.items;
455
+ return e === "inventory" ? Me(_.value) : e.length ? O(je(e)) ?? "" : "";
456
+ }), A = t(() => {
457
+ let e = f.value.tiles?.items;
457
458
  return (typeof e == "function" ? e() : e) ?? [];
458
459
  });
459
- return (t, a) => (_(), i("div", rt, [
460
- m.value.length ? (_(), i("ul", it, [(_(!0), i(e, null, b(m.value, (t) => (_(), i("li", {
460
+ return (t, a) => (v(), i("div", xt, [
461
+ m.value.length ? (v(), i("ul", St, [(v(!0), i(e, null, x(m.value, (t) => (v(), i("li", {
461
462
  key: t.label,
462
- class: f({ "mwnf-standalone-home__link--gap": t.gap })
463
- }, [c(G, {
463
+ class: p({ "mwnf-standalone-home__link--gap": t.gap })
464
+ }, [c(J, {
464
465
  to: t.to,
465
466
  href: t.href,
466
467
  external: !!t.external,
467
468
  title: t.title
468
469
  }, {
469
- default: j(() => [t.prefix ? (_(), i(e, { key: 0 }, [s(S(`${t.prefix} `), 1)], 64)) : r("", !0), t.italic ? (_(), i("i", at, S(t.label), 1)) : (_(), i(e, { key: 2 }, [s(S(t.label), 1)], 64))]),
470
+ default: F(() => [t.prefix ? (v(), i(e, { key: 0 }, [s(T(`${t.prefix} `), 1)], 64)) : r("", !0), t.italic ? (v(), i("i", Ct, T(t.label), 1)) : (v(), i(e, { key: 2 }, [s(T(t.label), 1)], 64))]),
470
471
  _: 2
471
472
  }, 1032, [
472
473
  "to",
@@ -474,11 +475,11 @@ var ye = { class: "mwnf-standalone-sponsors" }, be = {
474
475
  "external",
475
476
  "title"
476
477
  ])], 2))), 128))])) : r("", !0),
477
- h.value ? (_(), n(Ye, {
478
+ h.value ? (v(), n(pt, {
478
479
  key: 1,
479
- record: C.value,
480
- text: w.value,
481
- country: T.value,
480
+ record: b.value,
481
+ text: C.value,
482
+ country: w.value,
482
483
  place: E.value,
483
484
  to: D.value,
484
485
  picture: k.value,
@@ -496,16 +497,16 @@ var ye = { class: "mwnf-standalone-sponsors" }, be = {
496
497
  "also-known-as",
497
498
  "action"
498
499
  ])) : r("", !0),
499
- p.value.tiles ? (_(), n(nt, {
500
+ f.value.tiles ? (v(), n(bt, {
500
501
  key: 2,
501
- caption: p.value.tiles.caption ?? "",
502
- items: M.value
502
+ caption: f.value.tiles.caption ?? "",
503
+ items: A.value
503
504
  }, null, 8, ["caption", "items"])) : r("", !0),
504
- x(t.$slots, "default")
505
+ S(t.$slots, "default")
505
506
  ]));
506
507
  }
507
- }, st = "html { height: 100%; margin-bottom: 1px; }\nbody, p, div, td { font: Normal 11px/14px verdana, arial, helvetica; }\nbody { padding: 0px; border: 0px; border-spacing: 0px; margin: 0px auto; }\ndiv { padding: 0px; border: 0px; border-spacing: 0px; margin: 0px; }\np { font: Normal 11px/14px Verdana, Arial, Helvetica; padding: 3px; padding-left: 8px; padding-bottom: 30px; line-height: 1.4em; margin: 0px 0px 10px 0px; }\na, a:link, a:hover, a:visited, a:active { text-decoration: none; }\nh3 { font: Normal 11px/14px Verdana, Arial, Helvetica; padding-left: 8px; padding-right: 8px; font-weight: bold; margin: 0px; }\n.item_description { font-family: Verdana, Arial, Helvetica, sans-serif; padding-top: 25px; padding-bottom: 25px; width: 990px; }", ct = ".mwnf-sheet__label, .mwnf-sheet-section__heading, .mwnf-credits__heading", lt = ".mwnf-sheet__value, .mwnf-sheet-section__body, .mwnf-credits__citation, .mwnf-credits__list > dt, .mwnf-credits__number, .mwnf-sheet__short .mwnf-sheet__block", ut = "button, img, svg, picture, video, audio, iframe, script, style, [role=\"tooltip\"], [aria-hidden=\"true\"]";
508
- function X(e) {
508
+ }, Tt = "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", Dt = ".mwnf-sheet__value, .mwnf-sheet-section__body, .mwnf-credits__citation, .mwnf-credits__list > dt, .mwnf-credits__number, .mwnf-sheet__short .mwnf-sheet__block", Ot = "button, img, svg, picture, video, audio, iframe, script, style, [role=\"tooltip\"], [aria-hidden=\"true\"]";
509
+ function $(e) {
509
510
  return String(e ?? "").replace(/[&<>"]/g, (e) => ({
510
511
  "&": "&amp;",
511
512
  "<": "&lt;",
@@ -513,7 +514,7 @@ function X(e) {
513
514
  "\"": "&quot;"
514
515
  })[e]);
515
516
  }
516
- var dt = /* @__PURE__ */ new Set([
517
+ var kt = /* @__PURE__ */ new Set([
517
518
  "I",
518
519
  "EM",
519
520
  "B",
@@ -521,7 +522,7 @@ var dt = /* @__PURE__ */ new Set([
521
522
  "U",
522
523
  "SUP",
523
524
  "SUB"
524
- ]), ft = /* @__PURE__ */ new Set([
525
+ ]), At = /* @__PURE__ */ new Set([
525
526
  "P",
526
527
  "DIV",
527
528
  "LI",
@@ -529,20 +530,20 @@ var dt = /* @__PURE__ */ new Set([
529
530
  "OL",
530
531
  "SECTION"
531
532
  ]);
532
- function Z(e) {
533
+ function jt(e) {
533
534
  let t = [[]], n = () => t[t.length - 1], r = () => {
534
535
  n().length && t.push([]);
535
536
  }, i = (e) => {
536
537
  if (e.nodeType === Node.TEXT_NODE) {
537
- n().push(X(e.textContent));
538
+ n().push($(e.textContent));
538
539
  return;
539
540
  }
540
- if (e.nodeType !== Node.ELEMENT_NODE || e.matches(ut)) return;
541
+ if (e.nodeType !== Node.ELEMENT_NODE || e.matches(Ot)) return;
541
542
  if (e.tagName === "BR") {
542
543
  n().push("<br/>");
543
544
  return;
544
545
  }
545
- let t = ft.has(e.tagName), a = dt.has(e.tagName) ? e.tagName.toLowerCase() : "";
546
+ let t = At.has(e.tagName), a = kt.has(e.tagName) ? e.tagName.toLowerCase() : "";
546
547
  t && r(), a && n().push(`<${a}>`);
547
548
  for (let t of e.childNodes) i(t);
548
549
  a && n().push(`</${a}>`), t && r();
@@ -550,28 +551,28 @@ function Z(e) {
550
551
  for (let t of e.childNodes) i(t);
551
552
  return t.map((e) => e.join("").replace(/\s+/g, " ").trim()).filter(Boolean).join("<br/>\n<br/>");
552
553
  }
553
- function pt(e, { title: t = "", dir: n = "" } = {}) {
554
+ function Mt(e, { title: t = "", dir: n = "" } = {}) {
554
555
  let r = (t) => {
555
556
  for (let n = t; n && n !== e.parentElement; n = n.parentElement) if (n.hidden || getComputedStyle(n).display === "none") return !1;
556
557
  return !0;
557
558
  }, i = [];
558
- for (let t of e.querySelectorAll(`${ct}, ${lt}`)) {
559
+ for (let t of e.querySelectorAll(`${Et}, ${Dt}`)) {
559
560
  if (t.closest(".mwnf-standalone-item__left, .mwnf-standalone-related") || !r(t)) continue;
560
561
  if (t.matches(".mwnf-credits__list > dt")) {
561
562
  let e = t.nextElementSibling;
562
- i.push(`<p>${X(t.textContent.trim())} ${e ? Z(e) : ""}</p>`);
563
+ i.push(`<p>${$(t.textContent.trim())} ${e ? jt(e) : ""}</p>`);
563
564
  continue;
564
565
  }
565
- let e = Z(t);
566
- e && i.push(t.matches(ct) ? `<h3>${e}</h3>` : `<p>${e}</p>`);
566
+ let e = jt(t);
567
+ e && i.push(t.matches(Et) ? `<h3>${e}</h3>` : `<p>${e}</p>`);
567
568
  }
568
569
  let a = n === "rtl" ? " style=\"direction: rtl;\"" : "";
569
570
  return `<html>
570
- <title>${X(t)}</title>
571
+ <title>${$(t)}</title>
571
572
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
572
573
  <head>
573
574
  <style>
574
- ${st}
575
+ ${Tt}
575
576
  </style>
576
577
  </head>
577
578
  <body>
@@ -585,28 +586,28 @@ ${i.join("\n")}
585
586
  </body>
586
587
  </html>`;
587
588
  }
588
- function mt(e, t) {
589
+ function Nt(e, t) {
589
590
  let n = URL.createObjectURL(new Blob(["", e], { type: "application/msword" })), r = document.createElement("a");
590
591
  r.href = n, r.download = t, document.body.appendChild(r), r.click(), r.remove(), setTimeout(() => URL.revokeObjectURL(n), 0);
591
592
  }
592
- function ht({ title: e = "", heading: t = "", heads: n = {}, rows: r = [], empty: i = "", dir: a = "" } = {}) {
593
+ function Pt({ title: e = "", heading: t = "", heads: n = {}, rows: r = [], empty: i = "", dir: a = "" } = {}) {
593
594
  let o = a === "rtl" ? "direction: rtl; text-align: right;" : "text-align: left;", s = (e) => {
594
595
  let t = document.createElement("div");
595
- return t.innerHTML = e ?? "", Z(t);
596
- }, c = !!n.theme, l = c ? `<td style="padding:5px;" width="28%"><b>${X(n.date)}</b></td>
597
- <td style="padding:5px;" width="35%"><b>${X(n.country)}</b></td>
598
- <td style="padding:5px;" width="37%"><b>${X(n.theme)}</b></td>` : `<td style="padding:5px;" width="28%"><b>${X(n.date)}</b></td>
599
- <td style="padding:5px;" width="36%"><b>${X(n.countryDescription)}</b></td>
596
+ return t.innerHTML = e ?? "", jt(t);
597
+ }, c = !!n.theme, l = c ? `<td style="padding:5px;" width="28%"><b>${$(n.date)}</b></td>
598
+ <td style="padding:5px;" width="35%"><b>${$(n.country)}</b></td>
599
+ <td style="padding:5px;" width="37%"><b>${$(n.theme)}</b></td>` : `<td style="padding:5px;" width="28%"><b>${$(n.date)}</b></td>
600
+ <td style="padding:5px;" width="36%"><b>${$(n.countryDescription)}</b></td>
600
601
  <td width="37%"><b></b></td>`, u = c ? (e) => `<tr>
601
- <td style="padding:5px;">${X(e.date)}</td>
602
- <td style="padding:5px;">${X(e.country)}</td>
603
- <td style="padding:5px;">${X(e.theme)}</td>
602
+ <td style="padding:5px;">${$(e.date)}</td>
603
+ <td style="padding:5px;">${$(e.country)}</td>
604
+ <td style="padding:5px;">${$(e.theme)}</td>
604
605
  </tr>
605
606
  <tr>
606
607
  <td style="padding:5px; width:558px; vertical-align:top;" colspan="3">${s(e.html)}</td>
607
608
  </tr>` : (e) => `<tr>
608
- <td style="padding:5px; vertical-align:top;">&nbsp;${X(e.date)}</td>
609
- <td style="padding:5px;">${X(e.country)}</td>
609
+ <td style="padding:5px; vertical-align:top;">&nbsp;${$(e.date)}</td>
610
+ <td style="padding:5px;">${$(e.country)}</td>
610
611
  <td>&nbsp;</td>
611
612
  </tr>
612
613
  <tr>
@@ -620,20 +621,20 @@ ${l}
620
621
  ${r.map(u).join("\n")}
621
622
  </table>
622
623
  </td></tr>
623
- <tr><td>&nbsp;</td></tr>` : `<tr><td style="padding-top:100px;padding-left:350px;">${X(i)}</td></tr>`;
624
+ <tr><td>&nbsp;</td></tr>` : `<tr><td style="padding-top:100px;padding-left:350px;">${$(i)}</td></tr>`;
624
625
  return `<html>
625
- <title>${X(e)}</title>
626
+ <title>${$(e)}</title>
626
627
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
627
628
  <head>
628
629
  <style>
629
- ${st}
630
+ ${Tt}
630
631
  </style>
631
632
  </head>
632
633
  <body>
633
634
  <div class="content">
634
635
  <div class="item_description">
635
636
  <table style="${o}" border="0" width="750px">
636
- <tr><td class="txt" align="left" width="750px"><div style="width: 750px;">&nbsp;&nbsp;${X(t).replace(/^([^|/]*)/, "<b>$1</b>")}</div></td></tr>
637
+ <tr><td class="txt" align="left" width="750px"><div style="width: 750px;">&nbsp;&nbsp;${$(t).replace(/^([^|/]*)/, "<b>$1</b>")}</div></td></tr>
637
638
  <tr><td>&nbsp;</td></tr>
638
639
  ${d}
639
640
  </table>
@@ -643,13 +644,13 @@ ${d}
643
644
  </html>`;
644
645
  }
645
646
  // src/standalone/RelatedContent.vue
646
- var gt = { class: "mwnf-standalone-related" }, _t = { class: "mwnf-standalone-related__heading" }, vt = { class: "mwnf-standalone-related__group-heading" }, yt = { class: "mwnf-standalone-related__thumbs" }, bt = ["src", "alt"], xt = ["innerHTML"], St = {
647
+ var Ft = { class: "mwnf-standalone-related" }, It = { class: "mwnf-standalone-related__heading" }, Lt = { class: "mwnf-standalone-related__group-heading" }, Rt = { class: "mwnf-standalone-related__thumbs" }, zt = ["src", "alt"], Bt = ["innerHTML"], Vt = {
647
648
  key: 0,
648
649
  class: "mwnf-standalone-related__see-also"
649
- }, Ct = { class: "mwnf-standalone-related__see-also-heading" }, wt = ["href"], Tt = ["href"], Et = {
650
+ }, Ht = { class: "mwnf-standalone-related__see-also-heading" }, Ut = ["href"], Wt = ["href"], Gt = {
650
651
  key: 1,
651
652
  class: "mwnf-standalone-related__download"
652
- }, Dt = { class: "mwnf-standalone-related__download-heading" }, Ot = {
653
+ }, Kt = { class: "mwnf-standalone-related__download-heading" }, qt = {
653
654
  __name: "RelatedContent",
654
655
  props: {
655
656
  heading: {
@@ -678,7 +679,7 @@ var gt = { class: "mwnf-standalone-related" }, _t = { class: "mwnf-standalone-re
678
679
  }
679
680
  },
680
681
  setup(n) {
681
- let o = n, { t: l } = U(), u = t(() => o.groups.map((e) => ({
682
+ let o = n, { t: l } = K(), u = t(() => o.groups.map((e) => ({
682
683
  heading: l(e.heading),
683
684
  rows: o.records.filter((t) => !e.type || t.badge === e.type)
684
685
  })).filter((e) => e.rows.length));
@@ -687,80 +688,80 @@ var gt = { class: "mwnf-standalone-related" }, _t = { class: "mwnf-standalone-re
687
688
  }
688
689
  function f(e) {
689
690
  let t = e.currentTarget.closest(".mwnf-standalone-item");
690
- t && mt(pt(t.querySelector(".mwnf-record__main") ?? t, {
691
+ t && Nt(Mt(t.querySelector(".mwnf-record__main") ?? t, {
691
692
  title: o.download?.title ? l(o.download.title) : "",
692
693
  dir: getComputedStyle(t).direction
693
694
  }), o.wordFile);
694
695
  }
695
- return (t, o) => (_(), i("aside", gt, [
696
- a("p", _t, [a("strong", null, S(C(l)(n.heading)), 1)]),
697
- (_(!0), i(e, null, b(u.value, (t) => (_(), i("div", {
696
+ return (t, o) => (v(), i("aside", Ft, [
697
+ a("p", It, [a("strong", null, T(E(l)(n.heading)), 1)]),
698
+ (v(!0), i(e, null, x(u.value, (t) => (v(), i("div", {
698
699
  key: t.heading,
699
700
  class: "mwnf-standalone-related__group"
700
- }, [a("p", vt, S(t.heading), 1), a("ul", yt, [(_(!0), i(e, null, b(t.rows, (e) => (_(), i("li", { key: e.id }, [c(G, {
701
+ }, [a("p", Lt, T(t.heading), 1), a("ul", Rt, [(v(!0), i(e, null, x(t.rows, (e) => (v(), i("li", { key: e.id }, [c(J, {
701
702
  to: e.to,
702
703
  title: e.imageAlt
703
704
  }, {
704
- default: j(() => [e.image ? (_(), i("img", {
705
+ default: F(() => [e.image ? (v(), i("img", {
705
706
  key: 0,
706
707
  src: e.image,
707
708
  alt: e.imageAlt
708
- }, null, 8, bt)) : (_(), i("span", {
709
+ }, null, 8, zt)) : (v(), i("span", {
709
710
  key: 1,
710
711
  innerHTML: e.name
711
- }, null, 8, xt))]),
712
+ }, null, 8, Bt))]),
712
713
  _: 2
713
714
  }, 1032, ["to", "title"])]))), 128))])]))), 128)),
714
- x(t.$slots, "default"),
715
- n.seeAlso ? (_(), i("div", St, [
716
- a("p", Ct, [a("strong", null, [o[0] ||= a("br", null, null, -1), s(S(C(l)(n.seeAlso.heading)), 1)])]),
717
- (_(!0), i(e, null, b(n.seeAlso.links ?? [], (e) => (_(), i("a", {
715
+ S(t.$slots, "default"),
716
+ n.seeAlso ? (v(), i("div", Vt, [
717
+ a("p", Ht, [a("strong", null, [o[0] ||= a("br", null, null, -1), s(T(E(l)(n.seeAlso.heading)), 1)])]),
718
+ (v(!0), i(e, null, x(n.seeAlso.links ?? [], (e) => (v(), i("a", {
718
719
  key: e.href,
719
720
  class: "mwnf-standalone-related__see-also-link",
720
721
  href: e.href,
721
722
  target: "_blank",
722
723
  rel: "noopener"
723
- }, S(C(l)(e.label)), 9, wt))), 128)),
724
- (_(!0), i(e, null, b(n.seeAlso.groups ?? [], (t) => (_(), i("div", {
724
+ }, T(E(l)(e.label)), 9, Ut))), 128)),
725
+ (v(!0), i(e, null, x(n.seeAlso.groups ?? [], (t) => (v(), i("div", {
725
726
  key: t.heading,
726
727
  class: "mwnf-standalone-related__see-also-group"
727
- }, [a("p", null, S(C(l)(t.heading)), 1), (_(!0), i(e, null, b(t.links, (e) => (_(), i("p", { key: e.href }, [a("a", { href: e.href }, S(e.text), 9, Tt)]))), 128))]))), 128))
728
+ }, [a("p", null, T(E(l)(t.heading)), 1), (v(!0), i(e, null, x(t.links, (e) => (v(), i("p", { key: e.href }, [a("a", { href: e.href }, T(e.text), 9, Wt)]))), 128))]))), 128))
728
729
  ])) : r("", !0),
729
- n.download ? (_(), i("div", Et, [
730
- a("p", Dt, S(C(l)(n.download.heading)), 1),
730
+ n.download ? (v(), i("div", Gt, [
731
+ a("p", Kt, T(E(l)(n.download.heading)), 1),
731
732
  a("button", {
732
733
  type: "button",
733
734
  class: "mwnf-standalone-related__print",
734
735
  onClick: d
735
- }, S(C(l)(n.download.print)), 1),
736
- n.download.word ? (_(), i("button", {
736
+ }, T(E(l)(n.download.print)), 1),
737
+ n.download.word ? (v(), i("button", {
737
738
  key: 0,
738
739
  type: "button",
739
740
  class: "mwnf-standalone-related__print mwnf-standalone-related__word",
740
741
  onClick: f
741
- }, S(C(l)(n.download.word)), 1)) : r("", !0)
742
+ }, T(E(l)(n.download.word)), 1)) : r("", !0)
742
743
  ])) : r("", !0)
743
744
  ]));
744
745
  }
745
- }, Q = Object.freeze({
746
+ }, Jt = Object.freeze({
746
747
  heading: "standalone.related.seeAlso",
747
748
  travelBook: "standalone.related.travelBook",
748
749
  exhibitionTrail: "standalone.related.exhibitionTrail"
749
- }), kt = (e, t) => e?.[t] ?? e?.en ?? Object.values(e ?? {})[0] ?? "";
750
- function At(e, t) {
751
- let n = B(kt(e?.titles, t) ?? ""), r = B(kt(e?.subtitles, t) ?? "");
750
+ }), Yt = (e, t) => e?.[t] ?? e?.en ?? Object.values(e ?? {})[0] ?? "";
751
+ function Xt(e, t) {
752
+ let n = H(Yt(e?.titles, t) ?? ""), r = H(Yt(e?.subtitles, t) ?? "");
752
753
  return r ? `${n} - ${r}` : n;
753
754
  }
754
- var jt = (e, t) => `${String(e).replace(/\/+$/, "")}/${encodeURIComponent(t)}`, Mt = (e, t) => `${e}${String(e).includes("?") ? "&" : "?"}lang=${encodeURIComponent(t)}`;
755
- function Nt(e, t, n = Q) {
755
+ var Zt = (e, t) => `${String(e).replace(/\/+$/, "")}/${encodeURIComponent(t)}`, Qt = (e, t) => `${e}${String(e).includes("?") ? "&" : "?"}lang=${encodeURIComponent(t)}`;
756
+ function $t(e, t, n = Jt) {
756
757
  let r = [], i = e?.travel_book;
757
758
  i?.url && r.push({
758
759
  label: n.travelBook,
759
- href: jt(i.url, t)
760
+ href: Zt(i.url, t)
760
761
  });
761
762
  let a = (Array.isArray(e?.exhibition_trails) ? e.exhibition_trails : []).filter((e) => e?.url).map((e) => ({
762
- text: At(e, t),
763
- href: Mt(e.url, t)
763
+ text: Xt(e, t),
764
+ href: Qt(e.url, t)
764
765
  })), o = a.length ? [{
765
766
  heading: n.exhibitionTrail,
766
767
  links: a
@@ -772,10 +773,10 @@ function Nt(e, t, n = Q) {
772
773
  };
773
774
  }
774
775
  // src/standalone/ItemSheet.vue
775
- var Pt = { class: "mwnf-standalone-item__top" }, Ft = { class: "mwnf-standalone-item__left" }, It = {
776
+ var en = { class: "mwnf-standalone-item__top" }, tn = { class: "mwnf-standalone-item__left" }, nn = {
776
777
  key: 0,
777
778
  class: "mwnf-standalone-item__back"
778
- }, Lt = {
779
+ }, rn = {
779
780
  __name: "ItemSheet",
780
781
  props: {
781
782
  spec: {
@@ -796,31 +797,31 @@ var Pt = { class: "mwnf-standalone-item__top" }, Ft = { class: "mwnf-standalone-
796
797
  }
797
798
  },
798
799
  setup(u) {
799
- let d = u, { t: f, locale: m } = U(), h = E();
800
+ let d = u, { t: f, locale: p } = K(), h = k();
800
801
  function g(e) {
801
802
  if (d.related.seeAlso === !1) return null;
802
803
  let t = {
803
- ...Q,
804
+ ...Jt,
804
805
  ...typeof d.related.seeAlso == "object" ? d.related.seeAlso : {}
805
806
  };
806
- return Nt(e, m.value, t);
807
+ return $t(e, p.value, t);
807
808
  }
808
- let v = t(() => ({
809
+ let _ = t(() => ({
809
810
  ...d.spec,
810
811
  media: () => []
811
812
  }));
812
813
  function y(e) {
813
- return ue(C(e), d.spec.pictureLimit, e);
814
+ return X(b(e), d.spec.pictureLimit, e);
814
815
  }
815
- function C({ record: e, text: t, language: n }) {
816
+ function b({ record: e, text: t, language: n }) {
816
817
  if (d.spec.media) return d.spec.media(e, {
817
818
  record: e,
818
819
  text: t,
819
820
  language: n
820
821
  });
821
- let r = H(String(t?.name ?? e?.internal_name ?? ""));
822
- return te(e?.images, n).map((e) => {
823
- let { photographer: t, copyright: i } = z(e, n), a = [t ? `${f("record.media.photograph")}: ${t}` : "", i ? `© ${i}` : ""].filter(Boolean).join(", ");
822
+ let r = G(String(t?.name ?? e?.internal_name ?? ""));
823
+ return ie(e?.images, n).map((e) => {
824
+ let { photographer: t, copyright: i } = re(e, n), a = [t ? `${f("record.media.photograph")}: ${t}` : "", i ? `© ${i}` : ""].filter(Boolean).join(", ");
824
825
  return {
825
826
  url: e.url,
826
827
  alt: a || e.captions?.[n] || r,
@@ -828,28 +829,28 @@ var Pt = { class: "mwnf-standalone-item__top" }, Ft = { class: "mwnf-standalone-
828
829
  };
829
830
  });
830
831
  }
831
- let w = t(() => d.back.map((e) => ({
832
+ let C = t(() => d.back.map((e) => ({
832
833
  ...e,
833
834
  label: f(e.label)
834
- }))), T = /* @__PURE__ */ new Set([
835
+ }))), w = /* @__PURE__ */ new Set([
835
836
  "header",
836
837
  "before-sheet",
837
838
  "related",
838
839
  "sidebar",
839
840
  "aside",
840
841
  "source"
841
- ]), D = t(() => Object.keys(h).filter((e) => !T.has(e)));
842
- function O() {
842
+ ]), E = t(() => Object.keys(h).filter((e) => !w.has(e)));
843
+ function D() {
843
844
  window.history.back();
844
845
  }
845
- let k = (e) => [...e].sort((e, t) => t.code.localeCompare(e.code));
846
- return (t, d) => (_(), n(de, {
847
- spec: v.value,
846
+ let O = (e) => [...e].sort((e, t) => t.code.localeCompare(e.code));
847
+ return (t, d) => (v(), n(Z, {
848
+ spec: _.value,
848
849
  id: u.id,
849
850
  class: "mwnf-standalone-item"
850
851
  }, o({
851
- header: j(({ languages: e, language: t, select: n }) => [a("div", Pt, [c(se, {
852
- languages: k(e),
852
+ header: F(({ languages: e, language: t, select: n }) => [a("div", en, [c(le, {
853
+ languages: O(e),
853
854
  language: t,
854
855
  from: 1,
855
856
  onSelect: n
@@ -858,24 +859,24 @@ var Pt = { class: "mwnf-standalone-item__top" }, Ft = { class: "mwnf-standalone-
858
859
  "language",
859
860
  "onSelect"
860
861
  ])])]),
861
- "before-sheet": j((o) => [a("div", Ft, [w.value.length ? (_(), i("p", It, [(_(!0), i(e, null, b(w.value, (t) => (_(), i(e, { key: t.label }, [t.history ? (_(), i("button", {
862
+ "before-sheet": F((o) => [a("div", tn, [C.value.length ? (v(), i("p", nn, [(v(!0), i(e, null, x(C.value, (t) => (v(), i(e, { key: t.label }, [t.history ? (v(), i("button", {
862
863
  key: 0,
863
864
  type: "button",
864
865
  class: "mwnf-standalone-item__back-link",
865
- onClick: O
866
- }, S(t.label), 1)) : (_(), n(G, {
866
+ onClick: D
867
+ }, T(t.label), 1)) : (v(), n(J, {
867
868
  key: 1,
868
869
  class: "mwnf-standalone-item__back-link",
869
870
  to: t.to,
870
871
  href: t.href
871
872
  }, {
872
- default: j(() => [s(S(t.label), 1)]),
873
+ default: F(() => [s(T(t.label), 1)]),
873
874
  _: 2
874
- }, 1032, ["to", "href"]))], 64))), 128))])) : r("", !0), c(ce, {
875
+ }, 1032, ["to", "href"]))], 64))), 128))])) : r("", !0), c(ue, {
875
876
  images: y(o),
876
877
  "thumbs-from": 1
877
- }, null, 8, ["images"])]), x(t.$slots, "before-sheet", p(l(o)))]),
878
- related: j((e) => [c(Ot, {
878
+ }, null, 8, ["images"])]), S(t.$slots, "before-sheet", m(l(o)))]),
879
+ related: F((e) => [c(qt, {
879
880
  heading: u.related.heading ?? "record.related.title",
880
881
  records: e.records,
881
882
  groups: u.related.groups ?? [],
@@ -883,7 +884,7 @@ var Pt = { class: "mwnf-standalone-item__top" }, Ft = { class: "mwnf-standalone-
883
884
  download: u.related.download ?? null,
884
885
  "word-file": u.related.download?.wordFile?.(e.record, e.language) ?? "sheet.doc"
885
886
  }, {
886
- default: j(() => [x(t.$slots, "sidebar", p(l(e)))]),
887
+ default: F(() => [S(t.$slots, "sidebar", m(l(e)))]),
887
888
  _: 2
888
889
  }, 1032, [
889
890
  "heading",
@@ -893,44 +894,44 @@ var Pt = { class: "mwnf-standalone-item__top" }, Ft = { class: "mwnf-standalone-
893
894
  "download",
894
895
  "word-file"
895
896
  ])]),
896
- source: j((e) => [x(t.$slots, "source", p(l(e)))]),
897
+ source: F((e) => [S(t.$slots, "source", m(l(e)))]),
897
898
  _: 2
898
- }, [b(D.value, (e) => ({
899
+ }, [x(E.value, (e) => ({
899
900
  name: e,
900
- fn: j((n) => [x(t.$slots, e, p(l(n)))])
901
+ fn: F((n) => [S(t.$slots, e, m(l(n)))])
901
902
  }))]), 1032, ["spec", "id"]));
902
903
  }
903
- }, Rt = {
904
+ }, an = {
904
905
  key: 0,
905
906
  class: "mwnf-standalone-item__top"
906
- }, zt = {
907
+ }, on = {
907
908
  key: 1,
908
909
  hidden: ""
909
- }, Bt = {
910
+ }, sn = {
910
911
  key: 0,
911
912
  class: "mwnf-standalone-item__back mwnf-standalone-partner__back"
912
- }, Vt = { class: "mwnf-standalone-partner__heading" }, Ht = ["dir", "innerHTML"], Ut = {
913
+ }, cn = { class: "mwnf-standalone-partner__heading" }, ln = ["dir", "innerHTML"], un = {
913
914
  key: 0,
914
915
  class: "mwnf-standalone-partner__location"
915
- }, Wt = { class: "mwnf-standalone-partner__bar" }, Gt = { class: "mwnf-standalone-partner__bar-start" }, Kt = ["aria-label", "onKeydown"], qt = [
916
+ }, dn = { class: "mwnf-standalone-partner__bar" }, fn = { class: "mwnf-standalone-partner__bar-start" }, pn = ["aria-label", "onKeydown"], mn = [
916
917
  "id",
917
918
  "aria-selected",
918
919
  "aria-controls",
919
920
  "tabindex",
920
921
  "onClick"
921
- ], Jt = {
922
+ ], hn = {
922
923
  key: 0,
923
924
  class: "mwnf-standalone-partner__divider",
924
925
  "aria-hidden": "true"
925
- }, Yt = { key: 0 }, Xt = ["href"], Zt = { class: "mwnf-standalone-partner__bar-end" }, Qt = { class: "mwnf-standalone-partner__body" }, $t = { class: "mwnf-standalone-partner__pictures" }, en = { class: "mwnf-standalone-partner__panels" }, tn = [
926
+ }, gn = { key: 0 }, _n = ["href"], vn = { class: "mwnf-standalone-partner__bar-end" }, yn = { class: "mwnf-standalone-partner__body" }, bn = { class: "mwnf-standalone-partner__pictures" }, xn = { class: "mwnf-standalone-partner__panels" }, Sn = [
926
927
  "id",
927
928
  "aria-labelledby",
928
929
  "dir",
929
930
  "innerHTML"
930
- ], nn = ["id", "aria-labelledby"], rn = ["innerHTML"], an = ["href"], on = { key: 0 }, sn = ["href"], cn = ["href"], ln = ["id", "aria-labelledby"], un = ["src"], dn = {
931
+ ], Cn = ["id", "aria-labelledby"], wn = ["innerHTML"], Tn = ["href"], En = { key: 0 }, Dn = ["href"], On = ["href"], kn = ["id", "aria-labelledby"], An = ["src"], jn = {
931
932
  key: 0,
932
933
  class: "mwnf-standalone-partner__map"
933
- }, fn = { class: "mwnf-standalone-partner__map-heading" }, pn = {
934
+ }, Mn = { class: "mwnf-standalone-partner__map-heading" }, Nn = {
934
935
  __name: "PartnerPage",
935
936
  props: {
936
937
  id: {
@@ -975,7 +976,7 @@ var Pt = { class: "mwnf-standalone-item__top" }, Ft = { class: "mwnf-standalone-
975
976
  }
976
977
  },
977
978
  setup(o) {
978
- let l = o, { t: u, locale: p } = U(), m = w(), h = {
979
+ let l = o, { t: u, locale: d } = K(), m = D(), h = {
979
980
  entity: "partners",
980
981
  fields: [],
981
982
  shortDescription: !1,
@@ -991,43 +992,43 @@ var Pt = { class: "mwnf-standalone-item__top" }, Ft = { class: "mwnf-standalone-
991
992
  phone: "partner.info.phone",
992
993
  fax: "partner.info.fax",
993
994
  map: "partner.map.map"
994
- }, v = (e) => u(l.labels[e] ?? g[e]);
995
- function x(e) {
995
+ }, _ = (e) => u(l.labels[e] ?? g[e]);
996
+ function y(e) {
996
997
  return (typeof l.back == "function" ? l.back(e) ?? [] : l.back).map((e) => ({
997
998
  ...e,
998
999
  label: u(e.label)
999
1000
  }));
1000
1001
  }
1001
- function T() {
1002
+ function S() {
1002
1003
  window.history.back();
1003
1004
  }
1004
- function E(e, t, n) {
1005
+ function C(e, t, n) {
1005
1006
  let r = [];
1006
1007
  return l.about(t, n) && r.push("about"), e.hasContact && r.push("contact"), e.logos.length && r.push("logo"), r;
1007
1008
  }
1008
- let D = y("about");
1009
- A(() => l.id, () => {
1010
- D.value = "about";
1009
+ let w = b("about");
1010
+ P(() => l.id, () => {
1011
+ w.value = "about";
1011
1012
  });
1012
1013
  function O(e, t) {
1013
- let n = t.indexOf(D.value), r = {
1014
+ let n = t.indexOf(w.value), r = {
1014
1015
  ArrowRight: (n + 1) % t.length,
1015
1016
  ArrowLeft: (n - 1 + t.length) % t.length,
1016
1017
  Home: 0,
1017
1018
  End: t.length - 1
1018
1019
  }[e.key];
1019
- r !== void 0 && t.length && (e.preventDefault(), D.value = t[r], d(() => document.getElementById(`${m}-tab-${t[r]}`)?.focus()));
1020
+ r !== void 0 && t.length && (e.preventDefault(), w.value = t[r], f(() => document.getElementById(`${m}-tab-${t[r]}`)?.focus()));
1020
1021
  }
1021
- let N = (e) => e.pictures.map((e) => ({
1022
+ let k = (e) => e.pictures.map((e) => ({
1022
1023
  url: e.url,
1023
1024
  alt: e.alt
1024
- })), P = (e) => [...e.contact.website ? [e.contact.website] : [], ...l.links ? e.contact.links : []], F = (e) => !!(e.contact.address || e.contact.phone || e.contact.fax || e.contact.email || e.contact.website), I = t(() => String(p.value || "en"));
1025
- return (t, d) => (_(), n(de, {
1025
+ })), A = (e) => [...e.contact.website ? [e.contact.website] : [], ...l.links ? e.contact.links : []], j = (e) => !!(e.contact.address || e.contact.phone || e.contact.fax || e.contact.email || e.contact.website), M = t(() => String(d.value || "en"));
1026
+ return (t, d) => (v(), n(Z, {
1026
1027
  spec: h,
1027
1028
  id: o.id,
1028
1029
  class: "mwnf-standalone-partner"
1029
1030
  }, {
1030
- header: j(({ record: e, languages: t, language: n, select: r }) => [o.bands(e) ? (_(), i("div", Rt, [c(se, {
1031
+ header: F(({ record: e, languages: t, language: n, select: r }) => [o.bands(e) ? (v(), i("div", an, [c(le, {
1031
1032
  languages: t.filter((t) => l.languages(e, t.code)),
1032
1033
  language: n,
1033
1034
  from: 1,
@@ -1036,116 +1037,116 @@ var Pt = { class: "mwnf-standalone-item__top" }, Ft = { class: "mwnf-standalone-
1036
1037
  "languages",
1037
1038
  "language",
1038
1039
  "onSelect"
1039
- ])])) : (_(), i("div", zt))]),
1040
- "before-sheet": j(({ record: t, text: c, dir: p }) => [(_(!0), i(e, null, b([l.view(t, c)], (l) => (_(), i(e, { key: t.id }, [
1041
- x(t).length ? (_(), i("p", Bt, [(_(!0), i(e, null, b(x(t), (t) => (_(), i(e, { key: t.label }, [t.history ? (_(), i("button", {
1040
+ ])])) : (v(), i("div", on))]),
1041
+ "before-sheet": F(({ record: t, text: c, dir: f }) => [(v(!0), i(e, null, x([l.view(t, c)], (l) => (v(), i(e, { key: t.id }, [
1042
+ y(t).length ? (v(), i("p", sn, [(v(!0), i(e, null, x(y(t), (t) => (v(), i(e, { key: t.label }, [t.history ? (v(), i("button", {
1042
1043
  key: 0,
1043
1044
  type: "button",
1044
1045
  class: "mwnf-standalone-item__back-link",
1045
- onClick: T
1046
- }, S(t.label), 1)) : (_(), n(G, {
1046
+ onClick: S
1047
+ }, T(t.label), 1)) : (v(), n(J, {
1047
1048
  key: 1,
1048
1049
  class: "mwnf-standalone-item__back-link",
1049
1050
  to: t.to,
1050
1051
  href: t.href
1051
1052
  }, {
1052
- default: j(() => [s(S(t.label), 1)]),
1053
+ default: F(() => [s(T(t.label), 1)]),
1053
1054
  _: 2
1054
1055
  }, 1032, ["to", "href"]))], 64))), 128))])) : r("", !0),
1055
- a("div", Vt, [a("h3", {
1056
+ a("div", cn, [a("h3", {
1056
1057
  class: "mwnf-standalone-partner__name",
1057
- dir: p || void 0,
1058
+ dir: f || void 0,
1058
1059
  innerHTML: l.name
1059
- }, null, 8, Ht), l.location ? (_(), i("h4", Ut, [a("i", null, S(l.location), 1)])) : r("", !0)]),
1060
- a("div", Wt, [a("div", Gt, [a("ul", {
1060
+ }, null, 8, ln), l.location ? (v(), i("h4", un, [a("i", null, T(l.location), 1)])) : r("", !0)]),
1061
+ a("div", dn, [a("div", fn, [a("ul", {
1061
1062
  role: "tablist",
1062
1063
  class: "mwnf-standalone-partner__tabs",
1063
1064
  "aria-label": l.plainName,
1064
- onKeydown: (e) => O(e, E(l, t, c))
1065
- }, [(_(!0), i(e, null, b(E(l, t, c), (e, n) => (_(), i("li", {
1065
+ onKeydown: (e) => O(e, C(l, t, c))
1066
+ }, [(v(!0), i(e, null, x(C(l, t, c), (e, n) => (v(), i("li", {
1066
1067
  key: e,
1067
1068
  role: "presentation"
1068
1069
  }, [a("button", {
1069
- id: `${C(m)}-tab-${e}`,
1070
+ id: `${E(m)}-tab-${e}`,
1070
1071
  type: "button",
1071
1072
  role: "tab",
1072
- class: f(["mwnf-standalone-partner__tab", { "mwnf-standalone-partner__tab--active": D.value === e }]),
1073
- "aria-selected": D.value === e ? "true" : "false",
1074
- "aria-controls": `${C(m)}-panel-${e}`,
1075
- tabindex: D.value === e ? 0 : -1,
1076
- onClick: (t) => D.value = e
1077
- }, "\xA0" + S(v(e)), 11, qt), n < E(l, t, c).length - 1 || l.contact.website ? (_(), i("span", Jt, "\xA0|")) : r("", !0)]))), 128)), l.contact.website ? (_(), i("li", Yt, [a("a", {
1073
+ class: p(["mwnf-standalone-partner__tab", { "mwnf-standalone-partner__tab--active": w.value === e }]),
1074
+ "aria-selected": w.value === e ? "true" : "false",
1075
+ "aria-controls": `${E(m)}-panel-${e}`,
1076
+ tabindex: w.value === e ? 0 : -1,
1077
+ onClick: (t) => w.value = e
1078
+ }, "\xA0" + T(_(e)), 11, mn), n < C(l, t, c).length - 1 || l.contact.website ? (v(), i("span", hn, "\xA0|")) : r("", !0)]))), 128)), l.contact.website ? (v(), i("li", gn, [a("a", {
1078
1079
  class: "mwnf-standalone-partner__homepage",
1079
1080
  href: l.contact.website.url,
1080
1081
  target: "_blank",
1081
1082
  rel: "noopener"
1082
- }, "\xA0" + S(v("homepage")), 9, Xt)])) : r("", !0)], 40, Kt)]), a("div", Zt, [o.items(t) ? (_(), n(G, {
1083
+ }, "\xA0" + T(_("homepage")), 9, _n)])) : r("", !0)], 40, pn)]), a("div", vn, [o.items(t) ? (v(), n(J, {
1083
1084
  key: 0,
1084
1085
  class: "mwnf-standalone-partner__items",
1085
1086
  to: o.items(t).to
1086
1087
  }, {
1087
- default: j(() => [s(S(C(u)(o.items(t).label)), 1)]),
1088
+ default: F(() => [s(T(E(u)(o.items(t).label)), 1)]),
1088
1089
  _: 2
1089
1090
  }, 1032, ["to"])) : r("", !0)])]),
1090
- a("div", Qt, [a("div", $t, [l.pictures.length ? (_(), n(ce, {
1091
+ a("div", yn, [a("div", bn, [l.pictures.length ? (v(), n(ue, {
1091
1092
  key: 0,
1092
- images: N(l)
1093
- }, null, 8, ["images"])) : r("", !0)]), a("div", en, [
1094
- M(a("div", {
1095
- id: `${C(m)}-panel-about`,
1093
+ images: k(l)
1094
+ }, null, 8, ["images"])) : r("", !0)]), a("div", xn, [
1095
+ I(a("div", {
1096
+ id: `${E(m)}-panel-about`,
1096
1097
  class: "mwnf-standalone-partner__panel mwnf-standalone-partner__about",
1097
1098
  role: "tabpanel",
1098
- "aria-labelledby": `${C(m)}-tab-about`,
1099
- dir: p || void 0,
1099
+ "aria-labelledby": `${E(m)}-tab-about`,
1100
+ dir: f || void 0,
1100
1101
  innerHTML: l.description
1101
- }, null, 8, tn), [[k, D.value === "about"]]),
1102
- l.hasContact ? M((_(), i("div", {
1102
+ }, null, 8, Sn), [[N, w.value === "about"]]),
1103
+ l.hasContact ? I((v(), i("div", {
1103
1104
  key: 0,
1104
- id: `${C(m)}-panel-contact`,
1105
+ id: `${E(m)}-panel-contact`,
1105
1106
  class: "mwnf-standalone-partner__panel mwnf-standalone-partner__contact",
1106
1107
  role: "tabpanel",
1107
- "aria-labelledby": `${C(m)}-tab-contact`
1108
- }, [F(l) ? (_(), i(e, { key: 0 }, [a("p", null, [
1109
- a("b", null, S(v("addresses")), 1),
1108
+ "aria-labelledby": `${E(m)}-tab-contact`
1109
+ }, [j(l) ? (v(), i(e, { key: 0 }, [a("p", null, [
1110
+ a("b", null, T(_("addresses")), 1),
1110
1111
  d[4] ||= a("br", null, null, -1),
1111
- l.contact.address ? (_(), i(e, { key: 0 }, [a("span", {
1112
+ l.contact.address ? (v(), i(e, { key: 0 }, [a("span", {
1112
1113
  class: "mwnf-standalone-partner__address",
1113
1114
  innerHTML: l.contact.address
1114
- }, null, 8, rn), d[0] ||= a("br", null, null, -1)], 64)) : r("", !0),
1115
- l.contact.phone ? (_(), i(e, { key: 1 }, [s(S(v("phone")) + " " + S(l.contact.phone), 1), d[1] ||= a("br", null, null, -1)], 64)) : r("", !0),
1116
- l.contact.fax ? (_(), i(e, { key: 2 }, [s(S(v("fax")) + " " + S(l.contact.fax), 1), d[2] ||= a("br", null, null, -1)], 64)) : r("", !0),
1117
- l.contact.email ? (_(), i(e, { key: 3 }, [a("a", { href: `mailto:${l.contact.email}` }, S(l.contact.email), 9, an), d[3] ||= a("br", null, null, -1)], 64)) : r("", !0)
1118
- ]), P(l).length ? (_(), i("p", on, [(_(!0), i(e, null, b(P(l), (t, n) => (_(), i(e, { key: t.url }, [n ? (_(), i(e, { key: 0 }, [s("\xA0|\xA0")], 64)) : r("", !0), a("a", {
1115
+ }, null, 8, wn), d[0] ||= a("br", null, null, -1)], 64)) : r("", !0),
1116
+ l.contact.phone ? (v(), i(e, { key: 1 }, [s(T(_("phone")) + " " + T(l.contact.phone), 1), d[1] ||= a("br", null, null, -1)], 64)) : r("", !0),
1117
+ l.contact.fax ? (v(), i(e, { key: 2 }, [s(T(_("fax")) + " " + T(l.contact.fax), 1), d[2] ||= a("br", null, null, -1)], 64)) : r("", !0),
1118
+ l.contact.email ? (v(), i(e, { key: 3 }, [a("a", { href: `mailto:${l.contact.email}` }, T(l.contact.email), 9, Tn), d[3] ||= a("br", null, null, -1)], 64)) : r("", !0)
1119
+ ]), A(l).length ? (v(), i("p", En, [(v(!0), i(e, null, x(A(l), (t, n) => (v(), i(e, { key: t.url }, [n ? (v(), i(e, { key: 0 }, [s("\xA0|\xA0")], 64)) : r("", !0), a("a", {
1119
1120
  href: t.url,
1120
1121
  target: "_blank",
1121
1122
  rel: "noopener"
1122
- }, S(t.label), 9, sn)], 64))), 128))])) : r("", !0)], 64)) : r("", !0), (_(!0), i(e, null, b(l.persons, (t, n) => (_(), i("p", { key: n }, [
1123
- t.title ? (_(), i(e, { key: 0 }, [a("strong", null, S(t.title), 1), d[5] ||= a("br", null, null, -1)], 64)) : r("", !0),
1124
- t.name ? (_(), i(e, { key: 1 }, [s(S(t.name), 1), d[6] ||= a("br", null, null, -1)], 64)) : r("", !0),
1125
- t.phone ? (_(), i(e, { key: 2 }, [s(S(v("phone")) + " " + S(t.phone), 1), d[7] ||= a("br", null, null, -1)], 64)) : r("", !0),
1126
- t.fax ? (_(), i(e, { key: 3 }, [s(S(v("fax")) + " " + S(t.fax), 1), d[8] ||= a("br", null, null, -1)], 64)) : r("", !0),
1127
- t.email ? (_(), i(e, { key: 4 }, [a("a", { href: `mailto:${t.email}` }, S(t.email), 9, cn), d[9] ||= a("br", null, null, -1)], 64)) : r("", !0)
1128
- ]))), 128))], 8, nn)), [[k, D.value === "contact"]]) : r("", !0),
1129
- l.logos.length ? M((_(), i("div", {
1123
+ }, T(t.label), 9, Dn)], 64))), 128))])) : r("", !0)], 64)) : r("", !0), (v(!0), i(e, null, x(l.persons, (t, n) => (v(), i("p", { key: n }, [
1124
+ t.title ? (v(), i(e, { key: 0 }, [a("strong", null, T(t.title), 1), d[5] ||= a("br", null, null, -1)], 64)) : r("", !0),
1125
+ t.name ? (v(), i(e, { key: 1 }, [s(T(t.name), 1), d[6] ||= a("br", null, null, -1)], 64)) : r("", !0),
1126
+ t.phone ? (v(), i(e, { key: 2 }, [s(T(_("phone")) + " " + T(t.phone), 1), d[7] ||= a("br", null, null, -1)], 64)) : r("", !0),
1127
+ t.fax ? (v(), i(e, { key: 3 }, [s(T(_("fax")) + " " + T(t.fax), 1), d[8] ||= a("br", null, null, -1)], 64)) : r("", !0),
1128
+ t.email ? (v(), i(e, { key: 4 }, [a("a", { href: `mailto:${t.email}` }, T(t.email), 9, On), d[9] ||= a("br", null, null, -1)], 64)) : r("", !0)
1129
+ ]))), 128))], 8, Cn)), [[N, w.value === "contact"]]) : r("", !0),
1130
+ l.logos.length ? I((v(), i("div", {
1130
1131
  key: 1,
1131
- id: `${C(m)}-panel-logo`,
1132
+ id: `${E(m)}-panel-logo`,
1132
1133
  class: "mwnf-standalone-partner__panel mwnf-standalone-partner__logos",
1133
1134
  role: "tabpanel",
1134
- "aria-labelledby": `${C(m)}-tab-logo`
1135
- }, [(_(!0), i(e, null, b(l.logos, (e) => (_(), i("img", {
1135
+ "aria-labelledby": `${E(m)}-tab-logo`
1136
+ }, [(v(!0), i(e, null, x(l.logos, (e) => (v(), i("img", {
1136
1137
  key: e.url,
1137
1138
  src: e.url,
1138
1139
  alt: ""
1139
- }, null, 8, un))), 128))], 8, ln)), [[k, D.value === "logo"]]) : r("", !0)
1140
+ }, null, 8, An))), 128))], 8, kn)), [[N, w.value === "logo"]]) : r("", !0)
1140
1141
  ])])
1141
1142
  ], 64))), 128))]),
1142
- after: j(({ record: e, text: t }) => [o.map(e) && l.view(e, t)?.map ? (_(), i("section", dn, [a("h3", fn, S(v("map")), 1), c(le, {
1143
+ after: F(({ record: e, text: t }) => [o.map(e) && l.view(e, t)?.map ? (v(), i("section", jn, [a("h3", Mn, T(_("map")), 1), c(Y, {
1143
1144
  provider: "google",
1144
1145
  latitude: l.view(e, t).map.latitude,
1145
1146
  longitude: l.view(e, t).map.longitude,
1146
1147
  zoom: l.view(e, t).map.zoom,
1147
1148
  label: l.view(e, t).map.label,
1148
- language: I.value
1149
+ language: M.value
1149
1150
  }, null, 8, [
1150
1151
  "latitude",
1151
1152
  "longitude",
@@ -1156,13 +1157,13 @@ var Pt = { class: "mwnf-standalone-item__top" }, Ft = { class: "mwnf-standalone-
1156
1157
  _: 1
1157
1158
  }, 8, ["id"]));
1158
1159
  }
1159
- }, mn = ["innerHTML"], hn = {
1160
+ }, Pn = ["innerHTML"], Fn = {
1160
1161
  key: 0,
1161
1162
  class: "mwnf-standalone-page__link"
1162
- }, gn = {
1163
+ }, In = {
1163
1164
  key: 1,
1164
1165
  class: "mwnf-standalone-page__print"
1165
- }, _n = {
1166
+ }, Ln = {
1166
1167
  __name: "TextPage",
1167
1168
  props: {
1168
1169
  body: {
@@ -1187,36 +1188,36 @@ var Pt = { class: "mwnf-standalone-item__top" }, Ft = { class: "mwnf-standalone-
1187
1188
  }
1188
1189
  },
1189
1190
  setup(e) {
1190
- let n = e, { t: o } = U(), s = t(() => ne(o(n.body)));
1191
+ let n = e, { t: o } = K(), s = t(() => U(o(n.body)));
1191
1192
  function l() {
1192
1193
  window.print();
1193
1194
  }
1194
- return (t, n) => (_(), i("article", { class: f(["mwnf-standalone-page", {
1195
+ return (t, n) => (v(), i("article", { class: p(["mwnf-standalone-page", {
1195
1196
  "mwnf-standalone-page--drop-cap": e.dropCap,
1196
1197
  "mwnf-standalone-page--narrow": e.narrow
1197
1198
  }]) }, [
1198
1199
  a("div", {
1199
1200
  class: "mwnf-standalone-page__body",
1200
1201
  innerHTML: s.value
1201
- }, null, 8, mn),
1202
- e.link ? (_(), i("p", hn, [c(G, {
1202
+ }, null, 8, Pn),
1203
+ e.link ? (v(), i("p", Fn, [c(J, {
1203
1204
  to: e.link.to,
1204
1205
  href: e.link.href
1205
1206
  }, {
1206
- default: j(() => [a("strong", null, S(e.link.text ?? C(o)(e.link.label)), 1)]),
1207
+ default: F(() => [a("strong", null, T(e.link.text ?? E(o)(e.link.label)), 1)]),
1207
1208
  _: 1
1208
1209
  }, 8, ["to", "href"])])) : r("", !0),
1209
- e.print ? (_(), i("p", gn, [a("button", {
1210
+ e.print ? (v(), i("p", In, [a("button", {
1210
1211
  type: "button",
1211
1212
  class: "mwnf-standalone-page__print-button",
1212
1213
  onClick: l
1213
- }, S(C(o)(e.print)), 1)])) : r("", !0)
1214
+ }, T(E(o)(e.print)), 1)])) : r("", !0)
1214
1215
  ], 2));
1215
1216
  }
1216
- }, vn = {
1217
+ }, Rn = {
1217
1218
  key: 0,
1218
1219
  class: "mwnf-standalone-subnav"
1219
- }, yn = { class: "mwnf-standalone-subnav__tabs" }, bn = {
1220
+ }, zn = { class: "mwnf-standalone-subnav__tabs" }, Bn = {
1220
1221
  __name: "SubNav",
1221
1222
  props: {
1222
1223
  tabs: {
@@ -1229,40 +1230,40 @@ var Pt = { class: "mwnf-standalone-item__top" }, Ft = { class: "mwnf-standalone-
1229
1230
  }
1230
1231
  },
1231
1232
  setup(o) {
1232
- let l = o, { t: u } = U(), d = t(() => l.tabs.map((e) => ({
1233
+ let l = o, { t: u } = K(), d = t(() => l.tabs.map((e) => ({
1233
1234
  ...e,
1234
1235
  label: u(e.label)
1235
1236
  })));
1236
- return (t, l) => d.value.length || o.aside ? (_(), i("nav", vn, [a("ul", yn, [(_(!0), i(e, null, b(d.value, (e) => (_(), i("li", { key: e.label }, [c(G, {
1237
+ return (t, l) => d.value.length || o.aside ? (v(), i("nav", Rn, [a("ul", zn, [(v(!0), i(e, null, x(d.value, (e) => (v(), i("li", { key: e.label }, [c(J, {
1237
1238
  to: e.to,
1238
1239
  href: e.href,
1239
- class: f(["mwnf-standalone-subnav__tab", { "mwnf-standalone-subnav__tab--active": e.active }]),
1240
+ class: p(["mwnf-standalone-subnav__tab", { "mwnf-standalone-subnav__tab--active": e.active }]),
1240
1241
  "aria-current": e.active ? "page" : void 0
1241
1242
  }, {
1242
- default: j(() => [s(S(e.label), 1)]),
1243
+ default: F(() => [s(T(e.label), 1)]),
1243
1244
  _: 2
1244
1245
  }, 1032, [
1245
1246
  "to",
1246
1247
  "href",
1247
1248
  "class",
1248
1249
  "aria-current"
1249
- ])]))), 128))]), o.aside ? (_(), n(G, {
1250
+ ])]))), 128))]), o.aside ? (v(), n(J, {
1250
1251
  key: 0,
1251
1252
  to: o.aside.to,
1252
1253
  href: o.aside.href,
1253
1254
  class: "mwnf-standalone-subnav__aside"
1254
1255
  }, {
1255
- default: j(() => [s(S(C(u)(o.aside.label)), 1)]),
1256
+ default: F(() => [s(T(E(u)(o.aside.label)), 1)]),
1256
1257
  _: 1
1257
1258
  }, 8, ["to", "href"])) : r("", !0)])) : r("", !0);
1258
1259
  }
1259
- }, xn = { class: "mwnf-standalone-results" }, Sn = {
1260
+ }, Vn = { class: "mwnf-standalone-results" }, Hn = {
1260
1261
  key: 0,
1261
1262
  class: "mwnf-standalone-results__empty"
1262
- }, Cn = { class: "mwnf-standalone-results__tile" }, wn = ["src"], Tn = { class: "mwnf-standalone-results__panel" }, En = ["src"], Dn = { class: "mwnf-standalone-results__name" }, On = ["innerHTML"], kn = ["innerHTML"], An = {
1263
+ }, Un = { class: "mwnf-standalone-results__tile" }, Wn = ["src"], Gn = { class: "mwnf-standalone-results__panel" }, Kn = ["src"], qn = { class: "mwnf-standalone-results__name" }, Jn = ["innerHTML"], Yn = ["innerHTML"], Xn = {
1263
1264
  key: 0,
1264
1265
  class: "mwnf-standalone-results__holder"
1265
- }, jn = ["innerHTML"], Mn = ["innerHTML"], Nn = {
1266
+ }, Zn = ["innerHTML"], Qn = ["innerHTML"], $n = {
1266
1267
  __name: "ResultsGrid",
1267
1268
  props: {
1268
1269
  rows: {
@@ -1283,64 +1284,64 @@ var Pt = { class: "mwnf-standalone-item__top" }, Ft = { class: "mwnf-standalone-
1283
1284
  }
1284
1285
  },
1285
1286
  setup(t) {
1286
- return (n, o) => (_(), i("div", xn, [t.rows.length ? r("", !0) : (_(), i("p", Sn, S(t.empty), 1)), (_(!0), i(e, null, b(t.rows, (n) => (_(), i("div", {
1287
+ return (n, o) => (v(), i("div", Vn, [t.rows.length ? r("", !0) : (v(), i("p", Hn, T(t.empty), 1)), (v(!0), i(e, null, x(t.rows, (n) => (v(), i("div", {
1287
1288
  key: n.id,
1288
1289
  class: "mwnf-standalone-results__cell"
1289
- }, [a("div", Cn, [c(G, {
1290
+ }, [a("div", Un, [c(J, {
1290
1291
  class: "mwnf-standalone-results__frame",
1291
1292
  to: n.to,
1292
1293
  href: n.href
1293
1294
  }, {
1294
- default: j(() => [a("img", {
1295
+ default: F(() => [a("img", {
1295
1296
  src: n.image || t.noImage,
1296
1297
  alt: ""
1297
- }, null, 8, wn)]),
1298
+ }, null, 8, Wn)]),
1298
1299
  _: 2
1299
- }, 1032, ["to", "href"]), a("div", Tn, [
1300
- c(G, {
1300
+ }, 1032, ["to", "href"]), a("div", Gn, [
1301
+ c(J, {
1301
1302
  class: "mwnf-standalone-results__panel-frame",
1302
1303
  to: n.to,
1303
1304
  href: n.href
1304
1305
  }, {
1305
- default: j(() => [a("img", {
1306
+ default: F(() => [a("img", {
1306
1307
  src: n.image || t.noImage,
1307
1308
  alt: ""
1308
- }, null, 8, En)]),
1309
+ }, null, 8, Kn)]),
1309
1310
  _: 2
1310
1311
  }, 1032, ["to", "href"]),
1311
- a("p", Dn, [a("strong", null, [c(G, {
1312
+ a("p", qn, [a("strong", null, [c(J, {
1312
1313
  to: n.to,
1313
1314
  href: n.href
1314
1315
  }, {
1315
- default: j(() => [a("span", { innerHTML: n.name }, null, 8, On)]),
1316
+ default: F(() => [a("span", { innerHTML: n.name }, null, 8, Jn)]),
1316
1317
  _: 2
1317
1318
  }, 1032, ["to", "href"])])]),
1318
- (_(!0), i(e, null, b(n.lines ?? [], (e, t) => (_(), i("p", {
1319
+ (v(!0), i(e, null, x(n.lines ?? [], (e, t) => (v(), i("p", {
1319
1320
  key: t,
1320
1321
  innerHTML: e
1321
- }, null, 8, kn))), 128)),
1322
- n.holder ? (_(), i("p", An, [a("strong", { innerHTML: n.holder }, null, 8, jn)])) : r("", !0),
1323
- n.location ? (_(), i("p", {
1322
+ }, null, 8, Yn))), 128)),
1323
+ n.holder ? (v(), i("p", Xn, [a("strong", { innerHTML: n.holder }, null, 8, Zn)])) : r("", !0),
1324
+ n.location ? (v(), i("p", {
1324
1325
  key: 1,
1325
1326
  innerHTML: n.location
1326
- }, null, 8, Mn)) : r("", !0),
1327
- a("p", null, [c(G, {
1327
+ }, null, 8, Qn)) : r("", !0),
1328
+ a("p", null, [c(J, {
1328
1329
  class: "mwnf-standalone-results__see",
1329
1330
  to: n.to,
1330
1331
  href: n.href
1331
1332
  }, {
1332
- default: j(() => [s(S(t.seeLabel), 1)]),
1333
+ default: F(() => [s(T(t.seeLabel), 1)]),
1333
1334
  _: 1
1334
1335
  }, 8, ["to", "href"])])
1335
1336
  ])])]))), 128))]));
1336
1337
  }
1337
- }, Pn = { class: "mwnf-standalone-list" }, Fn = { class: "mwnf-standalone-list__aside" }, In = {
1338
+ }, er = { class: "mwnf-standalone-list" }, tr = { class: "mwnf-standalone-list__aside" }, nr = {
1338
1339
  key: 0,
1339
1340
  class: "mwnf-standalone-list__preview"
1340
- }, Ln = { class: "mwnf-standalone-list__preview-picture" }, Rn = ["src"], zn = { class: "mwnf-standalone-list__preview-name" }, Bn = ["innerHTML"], Vn = ["innerHTML"], Hn = { key: 0 }, Un = ["innerHTML"], Wn = ["innerHTML"], Gn = { class: "mwnf-standalone-list__records" }, Kn = {
1341
+ }, rr = { class: "mwnf-standalone-list__preview-picture" }, ir = ["src"], ar = { class: "mwnf-standalone-list__preview-name" }, or = ["innerHTML"], sr = ["innerHTML"], cr = { key: 0 }, lr = ["innerHTML"], ur = ["innerHTML"], dr = { class: "mwnf-standalone-list__records" }, fr = {
1341
1342
  key: 0,
1342
1343
  class: "mwnf-standalone-list__empty"
1343
- }, qn = { class: "mwnf-standalone-list__frame" }, Jn = ["src"], Yn = { class: "mwnf-standalone-list__content" }, Xn = ["innerHTML"], Zn = ["innerHTML"], Qn = { key: 0 }, $n = ["innerHTML"], er = {
1344
+ }, pr = { class: "mwnf-standalone-list__frame" }, mr = ["src"], hr = { class: "mwnf-standalone-list__content" }, gr = ["innerHTML"], _r = ["innerHTML"], vr = { key: 0 }, yr = ["innerHTML"], br = {
1344
1345
  __name: "ResultsList",
1345
1346
  props: {
1346
1347
  rows: {
@@ -1357,73 +1358,73 @@ var Pt = { class: "mwnf-standalone-item__top" }, Ft = { class: "mwnf-standalone-
1357
1358
  }
1358
1359
  },
1359
1360
  setup(n) {
1360
- let o = n, l = y(null), u = t(() => l.value ?? o.rows[0] ?? null);
1361
- return (t, o) => (_(), i("div", Pn, [a("div", Fn, [u.value ? (_(), i("div", In, [
1362
- a("div", Ln, [u.value.image || n.noImage ? (_(), i("img", {
1361
+ let o = n, l = b(null), u = t(() => l.value ?? o.rows[0] ?? null);
1362
+ return (t, o) => (v(), i("div", er, [a("div", tr, [u.value ? (v(), i("div", nr, [
1363
+ a("div", rr, [u.value.image || n.noImage ? (v(), i("img", {
1363
1364
  key: 0,
1364
1365
  src: u.value.image || n.noImage,
1365
1366
  alt: ""
1366
- }, null, 8, Rn)) : r("", !0)]),
1367
- a("p", zn, [a("strong", { innerHTML: u.value.name }, null, 8, Bn)]),
1368
- (_(!0), i(e, null, b(u.value.preview?.lines ?? [], (e, t) => (_(), i("p", {
1367
+ }, null, 8, ir)) : r("", !0)]),
1368
+ a("p", ar, [a("strong", { innerHTML: u.value.name }, null, 8, or)]),
1369
+ (v(!0), i(e, null, x(u.value.preview?.lines ?? [], (e, t) => (v(), i("p", {
1369
1370
  key: t,
1370
1371
  innerHTML: e
1371
- }, null, 8, Vn))), 128)),
1372
- u.value.preview?.holder ? (_(), i("p", Hn, [a("strong", { innerHTML: u.value.preview.holder }, null, 8, Un)])) : r("", !0),
1373
- u.value.preview?.location ? (_(), i("p", {
1372
+ }, null, 8, sr))), 128)),
1373
+ u.value.preview?.holder ? (v(), i("p", cr, [a("strong", { innerHTML: u.value.preview.holder }, null, 8, lr)])) : r("", !0),
1374
+ u.value.preview?.location ? (v(), i("p", {
1374
1375
  key: 1,
1375
1376
  innerHTML: u.value.preview.location
1376
- }, null, 8, Wn)) : r("", !0)
1377
- ])) : r("", !0)]), a("div", Gn, [n.rows.length ? r("", !0) : (_(), i("p", Kn, S(n.empty), 1)), (_(!0), i(e, null, b(n.rows, (e) => (_(), i("div", {
1377
+ }, null, 8, ur)) : r("", !0)
1378
+ ])) : r("", !0)]), a("div", dr, [n.rows.length ? r("", !0) : (v(), i("p", fr, T(n.empty), 1)), (v(!0), i(e, null, x(n.rows, (e) => (v(), i("div", {
1378
1379
  key: e.id,
1379
1380
  class: "mwnf-standalone-list__cell"
1380
- }, [a("div", qn, [c(G, {
1381
+ }, [a("div", pr, [c(J, {
1381
1382
  to: e.to,
1382
1383
  href: e.href,
1383
1384
  onMouseenter: (t) => l.value = e,
1384
1385
  onMouseleave: o[0] ||= (e) => l.value = null
1385
1386
  }, {
1386
- default: j(() => [e.image || n.noImage ? (_(), i("img", {
1387
+ default: F(() => [e.image || n.noImage ? (v(), i("img", {
1387
1388
  key: 0,
1388
1389
  src: e.image || n.noImage,
1389
1390
  alt: ""
1390
- }, null, 8, Jn)) : r("", !0)]),
1391
+ }, null, 8, mr)) : r("", !0)]),
1391
1392
  _: 2
1392
1393
  }, 1032, [
1393
1394
  "to",
1394
1395
  "href",
1395
1396
  "onMouseenter"
1396
- ])]), a("div", Yn, [a("p", null, [c(G, {
1397
+ ])]), a("div", hr, [a("p", null, [c(J, {
1397
1398
  to: e.to,
1398
1399
  href: e.href,
1399
1400
  onMouseenter: (t) => l.value = e,
1400
1401
  onMouseleave: o[1] ||= (e) => l.value = null
1401
1402
  }, {
1402
- default: j(() => [
1403
+ default: F(() => [
1403
1404
  a("span", {
1404
1405
  class: "mwnf-standalone-list__name",
1405
1406
  innerHTML: `${e.name},`
1406
- }, null, 8, Xn),
1407
+ }, null, 8, gr),
1407
1408
  o[2] ||= s(),
1408
- a("span", { innerHTML: e.place }, null, 8, Zn)
1409
+ a("span", { innerHTML: e.place }, null, 8, _r)
1409
1410
  ]),
1410
1411
  _: 2
1411
1412
  }, 1032, [
1412
1413
  "to",
1413
1414
  "href",
1414
1415
  "onMouseenter"
1415
- ])]), e.dates ? (_(), i("div", Qn, [a("i", { innerHTML: e.dates }, null, 8, $n)])) : r("", !0)])]))), 128))])]));
1416
+ ])]), e.dates ? (v(), i("div", vr, [a("i", { innerHTML: e.dates }, null, 8, yr)])) : r("", !0)])]))), 128))])]));
1416
1417
  }
1417
- }, tr = { class: "mwnf-standalone-refine__row" }, nr = {
1418
+ }, xr = { class: "mwnf-standalone-refine__row" }, Sr = {
1418
1419
  class: "mwnf-standalone-refine__label",
1419
1420
  for: "mwnf-standalone-refine-keyword"
1420
- }, rr = {
1421
+ }, Cr = {
1421
1422
  class: "mwnf-standalone-refine__label",
1422
1423
  for: "mwnf-standalone-refine-field"
1423
- }, ir = ["value"], ar = {
1424
+ }, wr = ["value"], Tr = {
1424
1425
  type: "submit",
1425
1426
  class: "mwnf-standalone-refine__button"
1426
- }, or = {
1427
+ }, Er = {
1427
1428
  __name: "Refine",
1428
1429
  props: {
1429
1430
  label: {
@@ -1453,7 +1454,7 @@ var Pt = { class: "mwnf-standalone-item__top" }, Ft = { class: "mwnf-standalone-
1453
1454
  },
1454
1455
  emits: ["search"],
1455
1456
  setup(t, { emit: n }) {
1456
- let r = t, o = n, l = y(""), u = y(r.fields[0]?.value ?? "");
1457
+ let r = t, o = n, l = b(""), u = b(r.fields[0]?.value ?? "");
1457
1458
  function d() {
1458
1459
  let e = l.value.trim();
1459
1460
  e && o("search", {
@@ -1461,39 +1462,39 @@ var Pt = { class: "mwnf-standalone-item__top" }, Ft = { class: "mwnf-standalone-
1461
1462
  field: u.value
1462
1463
  });
1463
1464
  }
1464
- return (n, r) => (_(), i("form", {
1465
+ return (n, r) => (v(), i("form", {
1465
1466
  class: "mwnf-standalone-refine",
1466
- onSubmit: N(d, ["prevent"])
1467
- }, [a("div", tr, [
1468
- a("label", nr, S(t.label), 1),
1469
- M(a("input", {
1467
+ onSubmit: L(d, ["prevent"])
1468
+ }, [a("div", xr, [
1469
+ a("label", Sr, T(t.label), 1),
1470
+ I(a("input", {
1470
1471
  id: "mwnf-standalone-refine-keyword",
1471
1472
  "onUpdate:modelValue": r[0] ||= (e) => l.value = e,
1472
1473
  type: "text",
1473
1474
  size: "40"
1474
- }, null, 512), [[O, l.value]]),
1475
- a("label", rr, S(t.inLabel), 1),
1476
- M(a("select", {
1475
+ }, null, 512), [[M, l.value]]),
1476
+ a("label", Cr, T(t.inLabel), 1),
1477
+ I(a("select", {
1477
1478
  id: "mwnf-standalone-refine-field",
1478
1479
  "onUpdate:modelValue": r[1] ||= (e) => u.value = e
1479
- }, [(_(!0), i(e, null, b(t.fields, (e) => (_(), i("option", {
1480
+ }, [(v(!0), i(e, null, x(t.fields, (e) => (v(), i("option", {
1480
1481
  key: e.value,
1481
1482
  value: e.value
1482
- }, S(e.label), 9, ir))), 128))], 512), [[D, u.value]]),
1483
- a("button", ar, S(t.searchLabel), 1),
1484
- c(G, {
1483
+ }, T(e.label), 9, wr))), 128))], 512), [[j, u.value]]),
1484
+ a("button", Tr, T(t.searchLabel), 1),
1485
+ c(J, {
1485
1486
  class: "mwnf-standalone-refine__button mwnf-standalone-refine__button--new",
1486
1487
  to: t.newSearch
1487
1488
  }, {
1488
- default: j(() => [s(S(t.newSearchLabel), 1)]),
1489
+ default: F(() => [s(T(t.newSearchLabel), 1)]),
1489
1490
  _: 1
1490
1491
  }, 8, ["to"])
1491
1492
  ])], 32));
1492
1493
  }
1493
- }, sr = { class: "mwnf-standalone-item__back mwnf-standalone-pl__back" }, cr = { class: "mwnf-standalone-pl__heads" }, lr = { class: "mwnf-standalone-pl__head" }, ur = { key: 0 }, dr = ["onClick"], fr = { class: "mwnf-standalone-pl__row" }, pr = { class: "mwnf-standalone-pl__main" }, mr = { class: "mwnf-standalone-pl__associated" }, hr = {
1494
+ }, Dr = { class: "mwnf-standalone-item__back mwnf-standalone-pl__back" }, Or = { class: "mwnf-standalone-pl__heads" }, kr = { class: "mwnf-standalone-pl__head" }, Ar = { key: 0 }, jr = ["onClick"], Mr = { class: "mwnf-standalone-pl__row" }, Nr = { class: "mwnf-standalone-pl__main" }, Pr = { class: "mwnf-standalone-pl__associated" }, Fr = {
1494
1495
  key: 0,
1495
1496
  class: "mwnf-standalone-pl__none"
1496
- }, gr = {
1497
+ }, Ir = {
1497
1498
  __name: "PartnerList",
1498
1499
  props: {
1499
1500
  type: {
@@ -1522,56 +1523,56 @@ var Pt = { class: "mwnf-standalone-item__top" }, Ft = { class: "mwnf-standalone-
1522
1523
  }
1523
1524
  },
1524
1525
  setup(o) {
1525
- let l = o, u = t(() => l.type === "museum"), d = y(null), p = y(/* @__PURE__ */ new Set());
1526
- A([u, () => l.groups.length], () => {
1527
- d.value = u.value ? null : 0, p.value = u.value ? /* @__PURE__ */ new Set() : new Set(l.groups.map((e, t) => t));
1526
+ let l = o, u = t(() => l.type === "museum"), d = b(null), f = b(/* @__PURE__ */ new Set());
1527
+ P([u, () => l.groups.length], () => {
1528
+ d.value = u.value ? null : 0, f.value = u.value ? /* @__PURE__ */ new Set() : new Set(l.groups.map((e, t) => t));
1528
1529
  }, { immediate: !0 });
1529
1530
  function m(e) {
1530
1531
  let t = d.value === e;
1531
- d.value = t ? null : e, p.value = t ? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set([e]);
1532
+ d.value = t ? null : e, f.value = t ? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set([e]);
1532
1533
  }
1533
- return (t, l) => (_(), i("div", { class: f(["mwnf-standalone-pl", u.value ? "mwnf-standalone-pl--museums" : "mwnf-standalone-pl--institutions"]) }, [
1534
- a("p", sr, [(_(!0), i(e, null, b(o.back, (r) => (_(), i(e, { key: r.label }, [r.history ? (_(), i("button", {
1534
+ return (t, l) => (v(), i("div", { class: p(["mwnf-standalone-pl", u.value ? "mwnf-standalone-pl--museums" : "mwnf-standalone-pl--institutions"]) }, [
1535
+ a("p", Dr, [(v(!0), i(e, null, x(o.back, (r) => (v(), i(e, { key: r.label }, [r.history ? (v(), i("button", {
1535
1536
  key: 0,
1536
1537
  type: "button",
1537
1538
  class: "mwnf-standalone-item__back-link",
1538
1539
  onClick: l[0] ||= (e) => t.$router.back()
1539
- }, S(r.label), 1)) : (_(), n(G, {
1540
+ }, T(r.label), 1)) : (v(), n(J, {
1540
1541
  key: 1,
1541
1542
  class: "mwnf-standalone-item__back-link",
1542
1543
  to: r.to,
1543
1544
  href: r.href
1544
1545
  }, {
1545
- default: j(() => [s(S(r.label), 1)]),
1546
+ default: F(() => [s(T(r.label), 1)]),
1546
1547
  _: 2
1547
- }, 1032, ["to", "href"]))], 64))), 128)), x(t.$slots, "back")]),
1548
- a("div", cr, [(_(!0), i(e, null, b(o.heads, (e) => (_(), i("h3", { key: e }, S(e), 1))), 128))]),
1549
- (_(!0), i(e, null, b(o.groups, (t, n) => (_(), i("div", {
1548
+ }, 1032, ["to", "href"]))], 64))), 128)), S(t.$slots, "back")]),
1549
+ a("div", Or, [(v(!0), i(e, null, x(o.heads, (e) => (v(), i("h3", { key: e }, T(e), 1))), 128))]),
1550
+ (v(!0), i(e, null, x(o.groups, (t, n) => (v(), i("div", {
1550
1551
  key: t.label,
1551
1552
  class: "mwnf-standalone-pl__group"
1552
- }, [a("div", lr, [u.value ? (_(), i("h3", ur, S(t.label), 1)) : r("", !0), a("h3", null, [a("a", {
1553
+ }, [a("div", kr, [u.value ? (v(), i("h3", Ar, T(t.label), 1)) : r("", !0), a("h3", null, [a("a", {
1553
1554
  href: "#",
1554
- class: f(["mwnf-standalone-pl__toggle", { "mwnf-standalone-pl__toggle--active": d.value === n }]),
1555
- onClick: N((e) => m(n), ["prevent"])
1556
- }, S(u.value ? o.seeAssociated : t.label), 11, dr)])]), M(a("div", fr, [a("div", pr, [(_(!0), i(e, null, b(t.main, (e) => (_(), i("p", { key: e.id }, [c(G, {
1555
+ class: p(["mwnf-standalone-pl__toggle", { "mwnf-standalone-pl__toggle--active": d.value === n }]),
1556
+ onClick: L((e) => m(n), ["prevent"])
1557
+ }, T(u.value ? o.seeAssociated : t.label), 11, jr)])]), I(a("div", Mr, [a("div", Nr, [(v(!0), i(e, null, x(t.main, (e) => (v(), i("p", { key: e.id }, [c(J, {
1557
1558
  to: e.to,
1558
1559
  href: e.href
1559
1560
  }, {
1560
- default: j(() => [s(S(e.label), 1)]),
1561
+ default: F(() => [s(T(e.label), 1)]),
1561
1562
  _: 2
1562
- }, 1032, ["to", "href"])]))), 128))]), M(a("div", mr, [(_(!0), i(e, null, b(t.associated, (e) => (_(), i("p", { key: e.id }, [c(G, {
1563
+ }, 1032, ["to", "href"])]))), 128))]), I(a("div", Pr, [(v(!0), i(e, null, x(t.associated, (e) => (v(), i("p", { key: e.id }, [c(J, {
1563
1564
  to: e.to,
1564
1565
  href: e.href
1565
1566
  }, {
1566
- default: j(() => [s(S(e.label), 1)]),
1567
+ default: F(() => [s(T(e.label), 1)]),
1567
1568
  _: 2
1568
- }, 1032, ["to", "href"])]))), 128)), u.value && !t.associated.length ? (_(), i("p", hr, S(o.noAssociated), 1)) : r("", !0)], 512), [[k, !u.value || p.value.has(n)]])], 512), [[k, u.value || p.value.has(n)]])]))), 128))
1569
+ }, 1032, ["to", "href"])]))), 128)), u.value && !t.associated.length ? (v(), i("p", Fr, T(o.noAssociated), 1)) : r("", !0)], 512), [[N, !u.value || f.value.has(n)]])], 512), [[N, u.value || f.value.has(n)]])]))), 128))
1569
1570
  ], 2));
1570
1571
  }
1571
- }, _r = { class: "mwnf-standalone-item__back mwnf-standalone-sp__back" }, vr = {
1572
+ }, Lr = { class: "mwnf-standalone-item__back mwnf-standalone-sp__back" }, Rr = {
1572
1573
  key: 0,
1573
1574
  class: "mwnf-standalone-sp__heading"
1574
- }, yr = ["innerHTML"], br = { class: "mwnf-standalone-sp__text" }, xr = { key: 0 }, Sr = { key: 1 }, Cr = { key: 2 }, wr = ["href"], Tr = ["innerHTML"], Er = { class: "mwnf-standalone-sp__logo" }, Dr = { key: 0 }, Or = ["src", "alt"], kr = {
1575
+ }, zr = ["innerHTML"], Br = { class: "mwnf-standalone-sp__text" }, Vr = { key: 0 }, Hr = { key: 1 }, Ur = { key: 2 }, Wr = ["href"], Gr = ["innerHTML"], Kr = { class: "mwnf-standalone-sp__logo" }, qr = { key: 0 }, Jr = ["src", "alt"], Yr = {
1575
1576
  __name: "SponsorList",
1576
1577
  props: {
1577
1578
  heading: {
@@ -1590,68 +1591,68 @@ var Pt = { class: "mwnf-standalone-item__top" }, Ft = { class: "mwnf-standalone-
1590
1591
  setup(o) {
1591
1592
  let c = o, l = t(() => c.rows.some((e) => e.label !== void 0)), u = t(() => c.rows.map((e) => ({
1592
1593
  ...e,
1593
- labelHtml: e.label ? R(e.label) : "",
1594
- remarksHtml: e.remarks ? R(e.remarks) : ""
1594
+ labelHtml: e.label ? V(e.label) : "",
1595
+ remarksHtml: e.remarks ? V(e.remarks) : ""
1595
1596
  })));
1596
- return (t, c) => (_(), i("div", { class: f(["mwnf-standalone-sp", { "mwnf-standalone-sp--labels": l.value }]) }, [
1597
- a("p", _r, [(_(!0), i(e, null, b(o.back, (r) => (_(), i(e, { key: r.label }, [r.history ? (_(), i("button", {
1597
+ return (t, c) => (v(), i("div", { class: p(["mwnf-standalone-sp", { "mwnf-standalone-sp--labels": l.value }]) }, [
1598
+ a("p", Lr, [(v(!0), i(e, null, x(o.back, (r) => (v(), i(e, { key: r.label }, [r.history ? (v(), i("button", {
1598
1599
  key: 0,
1599
1600
  type: "button",
1600
1601
  class: "mwnf-standalone-item__back-link",
1601
1602
  onClick: c[0] ||= (e) => t.$router.back()
1602
- }, S(r.label), 1)) : (_(), n(G, {
1603
+ }, T(r.label), 1)) : (v(), n(J, {
1603
1604
  key: 1,
1604
1605
  class: "mwnf-standalone-item__back-link",
1605
1606
  to: r.to,
1606
1607
  href: r.href
1607
1608
  }, {
1608
- default: j(() => [s(S(r.label), 1)]),
1609
+ default: F(() => [s(T(r.label), 1)]),
1609
1610
  _: 2
1610
1611
  }, 1032, ["to", "href"]))], 64))), 128))]),
1611
- o.heading ? (_(), i("h3", vr, S(o.heading), 1)) : r("", !0),
1612
- (_(!0), i(e, null, b(u.value, (e, t) => (_(), i("div", {
1612
+ o.heading ? (v(), i("h3", Rr, T(o.heading), 1)) : r("", !0),
1613
+ (v(!0), i(e, null, x(u.value, (e, t) => (v(), i("div", {
1613
1614
  key: t,
1614
1615
  class: "mwnf-standalone-sp__row"
1615
1616
  }, [
1616
- l.value ? (_(), i("div", {
1617
+ l.value ? (v(), i("div", {
1617
1618
  key: 0,
1618
1619
  class: "mwnf-standalone-sp__label",
1619
1620
  innerHTML: e.labelHtml
1620
- }, null, 8, yr)) : r("", !0),
1621
- a("div", br, [
1622
- e.region ? (_(), i("p", xr, S(e.region), 1)) : r("", !0),
1623
- e.name ? (_(), i("p", Sr, S(e.name), 1)) : r("", !0),
1624
- e.web ? (_(), i("p", Cr, [a("a", {
1621
+ }, null, 8, zr)) : r("", !0),
1622
+ a("div", Br, [
1623
+ e.region ? (v(), i("p", Vr, T(e.region), 1)) : r("", !0),
1624
+ e.name ? (v(), i("p", Hr, T(e.name), 1)) : r("", !0),
1625
+ e.web ? (v(), i("p", Ur, [a("a", {
1625
1626
  href: `http://${e.web}`,
1626
1627
  target: "_blank",
1627
1628
  rel: "noopener"
1628
- }, S(e.web), 9, wr)])) : r("", !0),
1629
- e.remarksHtml ? (_(), i("div", {
1629
+ }, T(e.web), 9, Wr)])) : r("", !0),
1630
+ e.remarksHtml ? (v(), i("div", {
1630
1631
  key: 3,
1631
1632
  class: "mwnf-standalone-sp__remarks",
1632
1633
  innerHTML: e.remarksHtml
1633
- }, null, 8, Tr)) : r("", !0)
1634
+ }, null, 8, Gr)) : r("", !0)
1634
1635
  ]),
1635
- a("div", Er, [e.logo ? (_(), i("p", Dr, [a("img", {
1636
+ a("div", Kr, [e.logo ? (v(), i("p", qr, [a("img", {
1636
1637
  src: e.logo,
1637
1638
  alt: e.name
1638
- }, null, 8, Or)])) : r("", !0)])
1639
+ }, null, 8, Jr)])) : r("", !0)])
1639
1640
  ]))), 128))
1640
1641
  ], 2));
1641
1642
  }
1642
- }, Ar = { class: "mwnf-standalone-pe" }, jr = { class: "mwnf-standalone-pe__box" }, Mr = { class: "mwnf-standalone-pe__name" }, Nr = { class: "mwnf-standalone-pe__links" }, Pr = {
1643
+ }, Xr = { class: "mwnf-standalone-pe" }, Zr = { class: "mwnf-standalone-pe__box" }, Qr = { class: "mwnf-standalone-pe__name" }, $r = { class: "mwnf-standalone-pe__links" }, ei = {
1643
1644
  key: 0,
1644
1645
  class: "mwnf-standalone-pe__about"
1645
- }, Fr = ["aria-expanded", "onClick"], Ir = {
1646
+ }, ti = ["aria-expanded", "onClick"], ni = {
1646
1647
  key: 1,
1647
1648
  class: "mwnf-standalone-pe__popup",
1648
1649
  role: "dialog"
1649
- }, Lr = ["aria-label"], Rr = {
1650
+ }, ri = ["aria-label"], ii = {
1650
1651
  viewBox: "0 0 24 24",
1651
1652
  width: "21",
1652
1653
  height: "21",
1653
1654
  "aria-hidden": "true"
1654
- }, zr = ["id"], Br = ["mask"], Vr = ["innerHTML"], Hr = {
1655
+ }, ai = ["id"], oi = ["mask"], si = ["innerHTML"], ci = {
1655
1656
  __name: "PartnersEntrance",
1656
1657
  props: {
1657
1658
  projects: {
@@ -1670,38 +1671,38 @@ var Pt = { class: "mwnf-standalone-item__top" }, Ft = { class: "mwnf-standalone-
1670
1671
  setup(n) {
1671
1672
  let o = n, l = t(() => o.projects.map((e) => ({
1672
1673
  ...e,
1673
- aboutHtml: e.about ? R(e.about) : ""
1674
- }))), u = y(-1);
1674
+ aboutHtml: e.about ? V(e.about) : ""
1675
+ }))), u = b(-1);
1675
1676
  function d() {
1676
1677
  u.value = -1;
1677
1678
  }
1678
1679
  function f(e) {
1679
1680
  e.key === "Escape" && d();
1680
1681
  }
1681
- return A(u, (e) => {
1682
+ return P(u, (e) => {
1682
1683
  typeof document < "u" && (e >= 0 ? document.addEventListener("keydown", f) : document.removeEventListener("keydown", f));
1683
- }), h(() => {
1684
+ }), g(() => {
1684
1685
  typeof document < "u" && document.removeEventListener("keydown", f);
1685
- }), (t, o) => (_(), i("div", Ar, [u.value >= 0 ? (_(), i("div", {
1686
+ }), (t, o) => (v(), i("div", Xr, [u.value >= 0 ? (v(), i("div", {
1686
1687
  key: 0,
1687
1688
  class: "mwnf-standalone-pe__shade",
1688
1689
  onClick: d
1689
- })) : r("", !0), (_(!0), i(e, null, b(l.value, (t, l) => (_(), i("div", {
1690
+ })) : r("", !0), (v(!0), i(e, null, x(l.value, (t, l) => (v(), i("div", {
1690
1691
  key: l,
1691
1692
  class: "mwnf-standalone-pe__row"
1692
- }, [a("div", jr, [a("h3", Mr, S(t.name), 1)]), a("div", Nr, [
1693
+ }, [a("div", Zr, [a("h3", Qr, T(t.name), 1)]), a("div", $r, [
1693
1694
  o[1] ||= a("p", { "aria-hidden": "true" }, "\xA0", -1),
1694
- t.aboutHtml ? (_(), i("p", Pr, [a("button", {
1695
+ t.aboutHtml ? (v(), i("p", ei, [a("button", {
1695
1696
  type: "button",
1696
1697
  "aria-expanded": u.value === l,
1697
1698
  onClick: (e) => u.value = l
1698
- }, S(n.aboutLabel), 9, Fr)])) : r("", !0),
1699
- u.value === l ? (_(), i("div", Ir, [a("button", {
1699
+ }, T(n.aboutLabel), 9, ti)])) : r("", !0),
1700
+ u.value === l ? (v(), i("div", ni, [a("button", {
1700
1701
  type: "button",
1701
1702
  class: "mwnf-standalone-pe__close",
1702
1703
  "aria-label": n.closeLabel || void 0,
1703
1704
  onClick: d
1704
- }, [(_(), i("svg", Rr, [a("mask", { id: `mwnf-standalone-pe-x${l}` }, [...o[0] ||= [a("rect", {
1705
+ }, [(v(), i("svg", ii, [a("mask", { id: `mwnf-standalone-pe-x${l}` }, [...o[0] ||= [a("rect", {
1705
1706
  width: "24",
1706
1707
  height: "24",
1707
1708
  fill: "#fff"
@@ -1710,35 +1711,35 @@ var Pt = { class: "mwnf-standalone-item__top" }, Ft = { class: "mwnf-standalone-
1710
1711
  stroke: "#000",
1711
1712
  "stroke-width": "3",
1712
1713
  "stroke-linecap": "round"
1713
- }, null, -1)]], 8, zr), a("circle", {
1714
+ }, null, -1)]], 8, ai), a("circle", {
1714
1715
  cx: "12",
1715
1716
  cy: "12",
1716
1717
  r: "12",
1717
1718
  fill: "currentColor",
1718
1719
  mask: `url(#mwnf-standalone-pe-x${l})`
1719
- }, null, 8, Br)]))], 8, Lr), a("div", {
1720
+ }, null, 8, oi)]))], 8, ri), a("div", {
1720
1721
  class: "mwnf-standalone-pe__text",
1721
1722
  innerHTML: t.aboutHtml
1722
- }, null, 8, Vr)])) : r("", !0),
1723
- (_(!0), i(e, null, b(t.links, (e) => (_(), i("p", { key: e.label }, [c(G, {
1723
+ }, null, 8, si)])) : r("", !0),
1724
+ (v(!0), i(e, null, x(t.links, (e) => (v(), i("p", { key: e.label }, [c(J, {
1724
1725
  to: e.to,
1725
1726
  href: e.href
1726
1727
  }, {
1727
- default: j(() => [s(S(e.label), 1)]),
1728
+ default: F(() => [s(T(e.label), 1)]),
1728
1729
  _: 2
1729
1730
  }, 1032, ["to", "href"])]))), 128))
1730
1731
  ])]))), 128))]));
1731
1732
  }
1732
- }, Ur = { class: "mwnf-standalone-db__criteria" }, Wr = { class: "mwnf-standalone-db__head mwnf-standalone-db__head--keywords" }, Gr = { class: "mwnf-standalone-db__head mwnf-standalone-db__head--category" }, Kr = {
1733
+ }, li = { class: "mwnf-standalone-db__criteria" }, ui = { class: "mwnf-standalone-db__head mwnf-standalone-db__head--keywords" }, di = { class: "mwnf-standalone-db__head mwnf-standalone-db__head--category" }, fi = {
1733
1734
  key: 0,
1734
1735
  class: "mwnf-standalone-db__aside"
1735
- }, qr = ["onUpdate:modelValue", "aria-label"], Jr = { value: "AND" }, Yr = { value: "OR" }, Xr = ["onUpdate:modelValue", "aria-label"], Zr = ["onUpdate:modelValue"], Qr = ["value"], $r = { class: "mwnf-standalone-db__label mwnf-standalone-db__label--date" }, ei = { class: "mwnf-standalone-db__dates" }, ti = ["aria-label"], ni = { value: "" }, ri = ["value"], ii = ["aria-label"], ai = { value: "" }, oi = ["value"], si = { class: "mwnf-standalone-db__label mwnf-standalone-db__label--language" }, ci = { class: "mwnf-standalone-db__language" }, li = ["aria-label"], ui = ["value"], di = {
1736
+ }, pi = ["onUpdate:modelValue", "aria-label"], mi = { value: "AND" }, hi = { value: "OR" }, gi = ["onUpdate:modelValue", "aria-label"], _i = ["onUpdate:modelValue"], vi = ["value"], yi = { class: "mwnf-standalone-db__label mwnf-standalone-db__label--date" }, bi = { class: "mwnf-standalone-db__dates" }, xi = ["aria-label"], Si = { value: "" }, Ci = ["value"], wi = ["aria-label"], Ti = { value: "" }, Ei = ["value"], Di = { class: "mwnf-standalone-db__label mwnf-standalone-db__label--language" }, Oi = { class: "mwnf-standalone-db__language" }, ki = ["aria-label"], Ai = ["value"], ji = {
1736
1737
  key: 1,
1737
1738
  class: "mwnf-standalone-db__options"
1738
- }, fi = { class: "mwnf-standalone-db__go" }, pi = { type: "submit" }, mi = {
1739
+ }, Mi = { class: "mwnf-standalone-db__go" }, Ni = { type: "submit" }, Pi = {
1739
1740
  key: 2,
1740
1741
  class: "mwnf-standalone-db__listing"
1741
- }, hi = ["href", "title"], gi = {
1742
+ }, Fi = ["href", "title"], Ii = {
1742
1743
  __name: "DatabaseForm",
1743
1744
  props: /*@__PURE__*/ u({
1744
1745
  labels: {
@@ -1774,7 +1775,7 @@ var Pt = { class: "mwnf-standalone-item__top" }, Ft = { class: "mwnf-standalone-
1774
1775
  }),
1775
1776
  emits: /*@__PURE__*/ u(["search"], ["update:language"]),
1776
1777
  setup(n, { emit: o }) {
1777
- let s = n, c = T(n, "language"), l = o, u = E(), d = v([
1778
+ let s = n, c = O(n, "language"), l = o, u = k(), d = y([
1778
1779
  {
1779
1780
  keyword: "",
1780
1781
  field: s.fields[0]?.value ?? "",
@@ -1790,80 +1791,419 @@ var Pt = { class: "mwnf-standalone-item__top" }, Ft = { class: "mwnf-standalone-
1790
1791
  field: s.fields[0]?.value ?? "",
1791
1792
  cond: "AND"
1792
1793
  }
1793
- ]), p = v({
1794
+ ]), f = y({
1794
1795
  from: "",
1795
1796
  to: ""
1796
1797
  }), m = t(() => !!u.options), h = (e) => typeof e == "object" ? e : {
1797
1798
  value: e,
1798
1799
  label: String(e)
1799
- }, g = t(() => s.fromYears.map(h)), y = t(() => s.toYears.map(h));
1800
- function C() {
1800
+ }, g = t(() => s.fromYears.map(h)), _ = t(() => s.toYears.map(h));
1801
+ function b() {
1801
1802
  l("search", {
1802
1803
  rows: d.map((e) => ({
1803
1804
  ...e,
1804
1805
  keyword: e.keyword.trim()
1805
1806
  })),
1806
- from: p.from,
1807
- to: p.to
1807
+ from: f.from,
1808
+ to: f.to
1808
1809
  });
1809
1810
  }
1810
- return (t, o) => (_(), i("form", {
1811
- class: f(["mwnf-standalone-db", { "mwnf-standalone-db--options": m.value }]),
1812
- onSubmit: N(C, ["prevent"])
1811
+ return (t, o) => (v(), i("form", {
1812
+ class: p(["mwnf-standalone-db", { "mwnf-standalone-db--options": m.value }]),
1813
+ onSubmit: L(b, ["prevent"])
1813
1814
  }, [
1814
- a("h3", Ur, S(n.labels.criteria), 1),
1815
- a("p", Wr, S(n.labels.keywords), 1),
1816
- a("p", Gr, S(n.labels.category), 1),
1817
- t.$slots.aside ? (_(), i("p", Kr, [x(t.$slots, "aside")])) : r("", !0),
1818
- (_(!0), i(e, null, b(d, (t, o) => (_(), i(e, { key: o }, [
1819
- o ? M((_(), i("select", {
1815
+ a("h3", li, T(n.labels.criteria), 1),
1816
+ a("p", ui, T(n.labels.keywords), 1),
1817
+ a("p", di, T(n.labels.category), 1),
1818
+ t.$slots.aside ? (v(), i("p", fi, [S(t.$slots, "aside")])) : r("", !0),
1819
+ (v(!0), i(e, null, x(d, (t, o) => (v(), i(e, { key: o }, [
1820
+ o ? I((v(), i("select", {
1820
1821
  key: 0,
1821
1822
  "onUpdate:modelValue": (e) => t.cond = e,
1822
- class: f(["mwnf-standalone-db__cond", `mwnf-standalone-db__row-${o + 1}`]),
1823
+ class: p(["mwnf-standalone-db__cond", `mwnf-standalone-db__row-${o + 1}`]),
1823
1824
  "aria-label": `${n.labels.and} / ${n.labels.or}`
1824
- }, [a("option", Jr, S(n.labels.and), 1), a("option", Yr, S(n.labels.or), 1)], 10, qr)), [[D, t.cond]]) : r("", !0),
1825
- M(a("input", {
1825
+ }, [a("option", mi, T(n.labels.and), 1), a("option", hi, T(n.labels.or), 1)], 10, pi)), [[j, t.cond]]) : r("", !0),
1826
+ I(a("input", {
1826
1827
  "onUpdate:modelValue": (e) => t.keyword = e,
1827
1828
  type: "text",
1828
- class: f(["mwnf-standalone-db__keyword", `mwnf-standalone-db__row-${o + 1}`]),
1829
+ class: p(["mwnf-standalone-db__keyword", `mwnf-standalone-db__row-${o + 1}`]),
1829
1830
  "aria-label": n.labels.keywords
1830
- }, null, 10, Xr), [[O, t.keyword]]),
1831
- a("label", { class: f(["mwnf-standalone-db__field", `mwnf-standalone-db__row-${o + 1}`]) }, [a("span", null, S(n.labels.in), 1), M(a("select", { "onUpdate:modelValue": (e) => t.field = e }, [(_(!0), i(e, null, b(n.fields, (e) => (_(), i("option", {
1831
+ }, null, 10, gi), [[M, t.keyword]]),
1832
+ a("label", { class: p(["mwnf-standalone-db__field", `mwnf-standalone-db__row-${o + 1}`]) }, [a("span", null, T(n.labels.in), 1), I(a("select", { "onUpdate:modelValue": (e) => t.field = e }, [(v(!0), i(e, null, x(n.fields, (e) => (v(), i("option", {
1832
1833
  key: e.value,
1833
1834
  value: e.value
1834
- }, S(e.label), 9, Qr))), 128))], 8, Zr), [[D, t.field]])], 2)
1835
+ }, T(e.label), 9, vi))), 128))], 8, _i), [[j, t.field]])], 2)
1835
1836
  ], 64))), 128)),
1836
- a("span", $r, S(n.labels.date), 1),
1837
- a("p", ei, [M(a("select", {
1838
- "onUpdate:modelValue": o[0] ||= (e) => p.from = e,
1837
+ a("span", yi, T(n.labels.date), 1),
1838
+ a("p", bi, [I(a("select", {
1839
+ "onUpdate:modelValue": o[0] ||= (e) => f.from = e,
1839
1840
  "aria-label": `${n.labels.date} ${n.labels.from}`
1840
- }, [a("option", ni, S(n.labels.from), 1), (_(!0), i(e, null, b(g.value, (e) => (_(), i("option", {
1841
+ }, [a("option", Si, T(n.labels.from), 1), (v(!0), i(e, null, x(g.value, (e) => (v(), i("option", {
1841
1842
  key: e.value,
1842
1843
  value: e.value
1843
- }, S(e.label), 9, ri))), 128))], 8, ti), [[D, p.from]]), M(a("select", {
1844
- "onUpdate:modelValue": o[1] ||= (e) => p.to = e,
1844
+ }, T(e.label), 9, Ci))), 128))], 8, xi), [[j, f.from]]), I(a("select", {
1845
+ "onUpdate:modelValue": o[1] ||= (e) => f.to = e,
1845
1846
  "aria-label": `${n.labels.date} ${n.labels.to}`
1846
- }, [a("option", ai, S(n.labels.to), 1), (_(!0), i(e, null, b(y.value, (e) => (_(), i("option", {
1847
+ }, [a("option", Ti, T(n.labels.to), 1), (v(!0), i(e, null, x(_.value, (e) => (v(), i("option", {
1847
1848
  key: e.value,
1848
1849
  value: e.value
1849
- }, S(e.label), 9, oi))), 128))], 8, ii), [[D, p.to]])]),
1850
- a("span", si, S(n.labels.language), 1),
1851
- a("p", ci, [M(a("select", {
1850
+ }, T(e.label), 9, Ei))), 128))], 8, wi), [[j, f.to]])]),
1851
+ a("span", Di, T(n.labels.language), 1),
1852
+ a("p", Oi, [I(a("select", {
1852
1853
  "onUpdate:modelValue": o[2] ||= (e) => c.value = e,
1853
1854
  "aria-label": n.labels.language
1854
- }, [o[3] ||= a("option", { value: "" }, null, -1), (_(!0), i(e, null, b(n.languages, (e) => (_(), i("option", {
1855
+ }, [o[3] ||= a("option", { value: "" }, null, -1), (v(!0), i(e, null, x(n.languages, (e) => (v(), i("option", {
1855
1856
  key: e.code,
1856
1857
  value: e.code
1857
- }, S(e.name), 9, ui))), 128))], 8, li), [[D, c.value]])]),
1858
- m.value ? (_(), i("p", di, [x(t.$slots, "options")])) : r("", !0),
1859
- a("p", fi, [a("button", pi, S(n.labels.go), 1)]),
1860
- n.listingHref ? (_(), i("p", mi, [a("a", {
1858
+ }, T(e.name), 9, Ai))), 128))], 8, ki), [[j, c.value]])]),
1859
+ m.value ? (v(), i("p", ji, [S(t.$slots, "options")])) : r("", !0),
1860
+ a("p", Mi, [a("button", Ni, T(n.labels.go), 1)]),
1861
+ n.listingHref ? (v(), i("p", Pi, [a("a", {
1861
1862
  href: n.listingHref,
1862
1863
  title: n.labels.listingTooltip
1863
- }, S(n.labels.listing), 9, hi)])) : r("", !0)
1864
+ }, T(n.labels.listing), 9, Fi)])) : r("", !0)
1864
1865
  ], 34));
1865
1866
  }
1866
- }, _i = { class: "mwnf-standalone-tle__country" }, vi = ["aria-label"], yi = { value: "none" }, bi = { value: "" }, xi = ["value"], Si = { class: "mwnf-standalone-tle__date" }, Ci = ["aria-label"], wi = { value: "none" }, Ti = ["value"], Ei = { class: "mwnf-standalone-tle__date" }, Di = ["aria-label"], Oi = { value: "none" }, ki = ["value"], Ai = { class: "mwnf-standalone-tle__go" }, ji = { type: "submit" }, Mi = {
1867
+ }, Li = { class: "mwnf-gdb" }, Ri = { class: "mwnf-gdb__rows" }, zi = ["onUpdate:modelValue", "aria-label"], Bi = { value: "AND" }, Vi = { value: "OR" }, Hi = [
1868
+ "onUpdate:modelValue",
1869
+ "aria-label",
1870
+ "placeholder"
1871
+ ], Ui = ["onUpdate:modelValue", "aria-label"], Wi = ["value"], Gi = { class: "mwnf-gdb__filters" }, Ki = { class: "mwnf-gdb__since" }, qi = { class: "mwnf-gdb__until" }, Ji = { class: "mwnf-gdb__language" }, Yi = { value: "" }, Xi = ["value"], Zi = { class: "mwnf-gdb__country" }, Qi = { value: "" }, $i = ["value"], ea = { class: "mwnf-gdb__dynasty" }, ta = { value: "" }, na = ["value"], ra = { class: "mwnf-gdb__partner" }, ia = {
1872
+ key: 0,
1873
+ class: "mwnf-gdb__suggestions"
1874
+ }, aa = ["onClick"], oa = {
1875
+ key: 1,
1876
+ class: "mwnf-gdb__chosen"
1877
+ }, sa = ["aria-label"], ca = { class: "mwnf-gdb__tags" }, la = ["value"], ua = ["aria-label"], da = {
1878
+ key: 0,
1879
+ class: "mwnf-gdb__suggestions"
1880
+ }, fa = ["onClick"], pa = ["aria-label", "onClick"], ma = {
1881
+ key: 0,
1882
+ class: "mwnf-gdb__scope"
1883
+ }, ha = ["value", "disabled"], ga = ["innerHTML"], _a = { class: "mwnf-gdb__all" }, va = { class: "mwnf-gdb__actions" }, ya = { type: "submit" }, ba = {
1884
+ key: 0,
1885
+ class: "mwnf-gdb__error",
1886
+ role: "alert"
1887
+ }, xa = {
1888
+ class: "mwnf-gdb__count",
1889
+ "aria-live": "polite"
1890
+ }, Sa = { class: "mwnf-gdb__results" }, Ca = ["lang"], wa = {
1891
+ key: 0,
1892
+ class: "mwnf-gdb__dates"
1893
+ }, Ta = {
1894
+ key: 1,
1895
+ class: "mwnf-gdb__partner-name"
1896
+ }, Ea = {
1897
+ key: 2,
1898
+ class: "mwnf-gdb__country-name"
1899
+ }, Da = {
1900
+ key: 3,
1901
+ class: "mwnf-gdb__links"
1902
+ }, Oa = ["href"], ka = {
1903
+ key: 0,
1904
+ class: "mwnf-gdb__more"
1905
+ }, Aa = {
1906
+ __name: "GlobalDatabaseSearch",
1907
+ props: {
1908
+ scope: {
1909
+ type: Object,
1910
+ default: () => ({})
1911
+ },
1912
+ api: {
1913
+ type: String,
1914
+ default: xe
1915
+ },
1916
+ dataUrl: {
1917
+ type: String,
1918
+ default: ve
1919
+ },
1920
+ pageSize: {
1921
+ type: Number,
1922
+ default: 20
1923
+ }
1924
+ },
1925
+ setup(o) {
1926
+ let c = o, { t: l, locale: u } = K(), f = ee(), p = te(), m = b(null), h = b(/* @__PURE__ */ new Map()), _ = b({
1927
+ countries: [],
1928
+ partners: [],
1929
+ dynasties: []
1930
+ }), S = b("idle"), D = b([]), O = b(0), k = /* @__PURE__ */ new Map(), N = null, R = t(() => m.value?.languages ?? []), z = t(() => Object.fromEntries((m.value?.language_details ?? []).filter((e) => e.locale).map((e) => [e.code, e.locale]))), ne = t(() => Object.fromEntries((m.value?.language_details ?? []).map((e) => [e.code, e.name]))), B = t(() => (c.scope.options ?? []).filter((e) => e?.key && e.label && e.filter)), V = t(() => ye(f.query, {
1931
+ languages: R.value,
1932
+ options: B.value.map((e) => e.key)
1933
+ })), re = Object.keys(Se), ie = [
1934
+ "catalogue.search.keywordOne",
1935
+ "catalogue.search.keywordTwo",
1936
+ "catalogue.search.keywordThree"
1937
+ ], H = {
1938
+ keyword: "catalogue.field.keywords",
1939
+ material: "catalogue.facet.material",
1940
+ type: "catalogue.facet.type",
1941
+ artist: "catalogue.facet.artist",
1942
+ dynasty: "catalogue.facet.periodDynasty",
1943
+ subject: "catalogue.facet.subject",
1944
+ theme: "catalogue.facet.theme"
1945
+ }, U = y({
1946
+ rows: [],
1947
+ since: "",
1948
+ until: "",
1949
+ searchlang: "",
1950
+ country: "",
1951
+ partner: "",
1952
+ dynasty: "",
1953
+ tags: [],
1954
+ all: !1,
1955
+ options: []
1956
+ }), W = b(/* @__PURE__ */ new Map());
1957
+ function G(e) {
1958
+ Object.assign(U, {
1959
+ ...e,
1960
+ rows: e.rows.map((e) => ({ ...e })),
1961
+ tags: [...e.tags],
1962
+ options: [...e.options]
1963
+ });
1964
+ }
1965
+ P(V, G, { immediate: !0 });
1966
+ let ae = (e) => (t, n) => Q(t, e).localeCompare(Q(n, e), e), oe = t(() => [..._.value.countries].sort(ae(u.value))), se = t(() => [..._.value.dynasties].sort(ae(u.value))), ce = t(() => _.value.partners.map((e) => ({
1967
+ id: e.id,
1968
+ label: Q(e, u.value),
1969
+ count: e.count
1970
+ }))), q = b(""), le = t(() => pe(ce.value, q.value)), J = t(() => ce.value.find((e) => e.id === U.partner)?.label ?? "");
1971
+ function ue(e) {
1972
+ U.partner = e.id, q.value = "";
1973
+ }
1974
+ let Y = b(me[0]), X = b(""), Z = b([]);
1975
+ async function ve() {
1976
+ Z.value = [];
1977
+ for (let e of [.../* @__PURE__ */ new Set([u.value, "en"])]) {
1978
+ let t = we(e, Y.value);
1979
+ if (t) try {
1980
+ Z.value = (await fe(c.dataUrl, t)).tags ?? [];
1981
+ return;
1982
+ } catch {}
1983
+ }
1984
+ }
1985
+ P([Y, u], ve);
1986
+ let xe = t(() => pe(Z.value.filter((e) => !U.tags.includes(e.id)), X.value));
1987
+ function Ee(e) {
1988
+ U.tags.length >= 10 || (U.tags.push(e.id), W.value.set(e.id, e.label), X.value = "");
1989
+ }
1990
+ function De(e) {
1991
+ U.tags = U.tags.filter((t) => t !== e);
1992
+ }
1993
+ let Oe = (e) => W.value.get(e) ?? e;
1994
+ async function ke() {
1995
+ try {
1996
+ let [e, t, n] = await Promise.all([
1997
+ "manifest.json",
1998
+ "sites.json",
1999
+ "filters/entities.json"
2000
+ ].map((e) => fe(c.dataUrl, e)));
2001
+ m.value = e, h.value = Te(t), _.value = {
2002
+ countries: n.countries ?? [],
2003
+ partners: n.partners ?? [],
2004
+ dynasties: n.dynasties ?? []
2005
+ }, ve();
2006
+ } catch {
2007
+ S.value = "error";
2008
+ }
2009
+ }
2010
+ ke();
2011
+ async function Ae(e) {
2012
+ N?.abort(), N = new AbortController(), S.value = "loading";
2013
+ try {
2014
+ let t = await Ce(c.api, V.value, {
2015
+ offset: e,
2016
+ limit: c.pageSize,
2017
+ scope: {
2018
+ ...c.scope,
2019
+ options: B.value
2020
+ },
2021
+ languages: R.value,
2022
+ locales: z.value,
2023
+ signal: N.signal,
2024
+ cache: k
2025
+ });
2026
+ D.value = e ? [...D.value, ...t.hits] : t.hits, O.value = t.total, S.value = "done";
2027
+ } catch (e) {
2028
+ e?.name !== "AbortError" && (S.value = "error");
2029
+ }
2030
+ }
2031
+ P([V, m], () => {
2032
+ D.value = [], O.value = 0, m.value && he(V.value) ? Ae(0) : m.value && (S.value = "idle");
2033
+ }, { immediate: !0 }), g(() => N?.abort());
2034
+ function je() {
2035
+ let e = {
2036
+ ...U,
2037
+ rows: U.rows.map((e) => ({
2038
+ ...e,
2039
+ q: e.q.trim()
2040
+ }))
2041
+ };
2042
+ p.push({
2043
+ path: f.path,
2044
+ query: de(e)
2045
+ });
2046
+ }
2047
+ function Me() {
2048
+ p.push({
2049
+ path: f.path,
2050
+ query: {}
2051
+ });
2052
+ }
2053
+ let Ne = t(() => D.value.map((e) => ({
2054
+ id: e.id,
2055
+ texts: ge(e, u.value),
2056
+ links: _e(e, h.value, c.scope.site)
2057
+ }))), Pe = t(() => S.value === "done" && D.value.length < O.value);
2058
+ return (t, c) => {
2059
+ let f = C("RouterLink");
2060
+ return v(), i("section", Li, [a("form", {
2061
+ class: "mwnf-gdb__form",
2062
+ onSubmit: L(je, ["prevent"])
2063
+ }, [
2064
+ a("fieldset", Ri, [(v(!0), i(e, null, x(U.rows.slice(0, E(3)), (t, n) => (v(), i("div", {
2065
+ key: n,
2066
+ class: "mwnf-gdb__row"
2067
+ }, [
2068
+ n ? I((v(), i("select", {
2069
+ key: 0,
2070
+ "onUpdate:modelValue": (e) => t.op = e,
2071
+ class: "mwnf-gdb__op",
2072
+ "aria-label": `${E(l)("catalogue.search.and")} / ${E(l)("catalogue.search.or")}`
2073
+ }, [a("option", Bi, T(E(l)("catalogue.search.and")), 1), a("option", Vi, T(E(l)("catalogue.search.or")), 1)], 8, zi)), [[j, t.op]]) : r("", !0),
2074
+ I(a("input", {
2075
+ "onUpdate:modelValue": (e) => t.q = e,
2076
+ type: "search",
2077
+ class: "mwnf-gdb__q",
2078
+ maxlength: "200",
2079
+ "aria-label": E(l)(ie[n]),
2080
+ placeholder: E(l)("catalogue.search.keywordPlaceholder")
2081
+ }, null, 8, Hi), [[M, t.q]]),
2082
+ I(a("select", {
2083
+ "onUpdate:modelValue": (e) => t.field = e,
2084
+ class: "mwnf-gdb__field",
2085
+ "aria-label": E(l)("catalogue.facet.category")
2086
+ }, [(v(!0), i(e, null, x(E(re), (e) => (v(), i("option", {
2087
+ key: e,
2088
+ value: e
2089
+ }, T(E(l)(E(be)[e])), 9, Wi))), 128))], 8, Ui), [[j, t.field]])
2090
+ ]))), 128))]),
2091
+ a("fieldset", Gi, [
2092
+ a("legend", null, T(E(l)("catalogue.filter.heading")), 1),
2093
+ a("label", Ki, [a("span", null, T(E(l)("catalogue.facet.fromYear")), 1), I(a("input", {
2094
+ "onUpdate:modelValue": c[0] ||= (e) => U.since = e,
2095
+ type: "number",
2096
+ step: "1",
2097
+ inputmode: "numeric"
2098
+ }, null, 512), [[M, U.since]])]),
2099
+ a("label", qi, [a("span", null, T(E(l)("catalogue.facet.toYear")), 1), I(a("input", {
2100
+ "onUpdate:modelValue": c[1] ||= (e) => U.until = e,
2101
+ type: "number",
2102
+ step: "1",
2103
+ inputmode: "numeric"
2104
+ }, null, 512), [[M, U.until]])]),
2105
+ a("label", Ji, [a("span", null, T(E(l)("catalogue.search.language")), 1), I(a("select", { "onUpdate:modelValue": c[2] ||= (e) => U.searchlang = e }, [a("option", Yi, T(E(l)("catalogue.search.anyLanguage")), 1), (v(!0), i(e, null, x(R.value, (e) => (v(), i("option", {
2106
+ key: e,
2107
+ value: e
2108
+ }, T(ne.value[e] ?? e), 9, Xi))), 128))], 512), [[j, U.searchlang]])]),
2109
+ a("label", Zi, [a("span", null, T(E(l)("catalogue.facet.country")), 1), I(a("select", { "onUpdate:modelValue": c[3] ||= (e) => U.country = e }, [a("option", Qi, T(E(l)("catalogue.facet.any")), 1), (v(!0), i(e, null, x(oe.value, (e) => (v(), i("option", {
2110
+ key: e.id,
2111
+ value: e.id
2112
+ }, T(E(Q)(e, E(u))), 9, $i))), 128))], 512), [[j, U.country]])]),
2113
+ a("label", ea, [a("span", null, T(E(l)("catalogue.facet.periodDynasty")), 1), I(a("select", { "onUpdate:modelValue": c[4] ||= (e) => U.dynasty = e }, [a("option", ta, T(E(l)("catalogue.facet.any")), 1), (v(!0), i(e, null, x(se.value, (e) => (v(), i("option", {
2114
+ key: e.id,
2115
+ value: e.id
2116
+ }, T(E(Q)(e, E(u))), 9, na))), 128))], 512), [[j, U.dynasty]])]),
2117
+ a("div", ra, [
2118
+ a("label", null, [a("span", null, T(E(l)("catalogue.facet.holdingInstitution")), 1), I(a("input", {
2119
+ "onUpdate:modelValue": c[5] ||= (e) => q.value = e,
2120
+ type: "search",
2121
+ autocomplete: "off"
2122
+ }, null, 512), [[M, q.value]])]),
2123
+ le.value.length ? (v(), i("ul", ia, [(v(!0), i(e, null, x(le.value, (e) => (v(), i("li", { key: e.id }, [a("button", {
2124
+ type: "button",
2125
+ onClick: (t) => ue(e)
2126
+ }, T(e.label) + " (" + T(e.count) + ")", 9, aa)]))), 128))])) : r("", !0),
2127
+ U.partner ? (v(), i("p", oa, [a("span", null, T(J.value || U.partner), 1), a("button", {
2128
+ type: "button",
2129
+ "aria-label": E(l)("core.action.reset"),
2130
+ onClick: c[6] ||= (e) => U.partner = ""
2131
+ }, "×", 8, sa)])) : r("", !0)
2132
+ ]),
2133
+ a("div", ca, [
2134
+ a("label", null, [a("span", null, T(E(l)("catalogue.facet.category")), 1), I(a("select", { "onUpdate:modelValue": c[7] ||= (e) => Y.value = e }, [(v(!0), i(e, null, x(E(me), (e) => (v(), i("option", {
2135
+ key: e,
2136
+ value: e
2137
+ }, T(E(l)(H[e])), 9, la))), 128))], 512), [[j, Y.value]])]),
2138
+ I(a("input", {
2139
+ "onUpdate:modelValue": c[8] ||= (e) => X.value = e,
2140
+ type: "search",
2141
+ autocomplete: "off",
2142
+ "aria-label": E(l)(H[Y.value])
2143
+ }, null, 8, ua), [[M, X.value]]),
2144
+ xe.value.length ? (v(), i("ul", da, [(v(!0), i(e, null, x(xe.value, (e) => (v(), i("li", { key: e.id }, [a("button", {
2145
+ type: "button",
2146
+ onClick: (t) => Ee(e)
2147
+ }, T(e.label) + " (" + T(e.count) + ")", 9, fa)]))), 128))])) : r("", !0),
2148
+ (v(!0), i(e, null, x(U.tags, (e) => (v(), i("p", {
2149
+ key: e,
2150
+ class: "mwnf-gdb__chosen"
2151
+ }, [a("span", null, T(Oe(e)), 1), a("button", {
2152
+ type: "button",
2153
+ "aria-label": E(l)("core.action.reset"),
2154
+ onClick: (t) => De(e)
2155
+ }, "×", 8, pa)]))), 128))
2156
+ ])
2157
+ ]),
2158
+ o.scope.site ? (v(), i("fieldset", ma, [(v(!0), i(e, null, x(B.value, (e) => (v(), i("label", {
2159
+ key: e.key,
2160
+ class: "mwnf-gdb__option"
2161
+ }, [I(a("input", {
2162
+ "onUpdate:modelValue": c[9] ||= (e) => U.options = e,
2163
+ type: "checkbox",
2164
+ value: e.key,
2165
+ disabled: U.all
2166
+ }, null, 8, ha), [[A, U.options]]), a("span", { innerHTML: E(l)(e.label) }, null, 8, ga)]))), 128)), a("label", _a, [I(a("input", {
2167
+ "onUpdate:modelValue": c[10] ||= (e) => U.all = e,
2168
+ type: "checkbox"
2169
+ }, null, 512), [[A, U.all]]), a("span", null, T(E(l)("catalogue.search.overallDatabase")), 1)])])) : r("", !0),
2170
+ a("p", va, [a("button", ya, T(E(l)("catalogue.pagination.go")), 1), a("button", {
2171
+ type: "button",
2172
+ onClick: Me
2173
+ }, T(E(l)("catalogue.search.newSearch")), 1)])
2174
+ ], 32), S.value === "error" ? (v(), i("p", ba, T(E(l)("catalogue.search.unavailable")), 1)) : S.value === "idle" ? r("", !0) : (v(), i(e, { key: 1 }, [
2175
+ a("p", xa, [S.value === "done" && O.value === 0 ? (v(), i(e, { key: 0 }, [s(T(E(l)("catalogue.results.noResultsSearch")), 1)], 64)) : O.value ? (v(), i(e, { key: 1 }, [s(T(E(l)("catalogue.results.itemsFound")) + ": " + T(O.value), 1)], 64)) : r("", !0)]),
2176
+ a("ol", Sa, [(v(!0), i(e, null, x(Ne.value, (t) => (v(), i("li", {
2177
+ key: t.id,
2178
+ class: "mwnf-gdb__result",
2179
+ lang: t.texts.language
2180
+ }, [
2181
+ (v(), n(w(t.links[0]?.route ? "RouterLink" : t.links[0] ? "a" : "span"), d({ class: "mwnf-gdb__name" }, { ref_for: !0 }, t.links[0]?.route ? { to: t.links[0].route } : t.links[0] ? { href: t.links[0].href } : {}), {
2182
+ default: F(() => [s(T(t.texts.name), 1)]),
2183
+ _: 2
2184
+ }, 1040)),
2185
+ t.texts.dates ? (v(), i("span", wa, T(t.texts.dates), 1)) : r("", !0),
2186
+ t.texts.partner ? (v(), i("span", Ta, T(t.texts.partner), 1)) : r("", !0),
2187
+ t.texts.country ? (v(), i("span", Ea, T(t.texts.country), 1)) : r("", !0),
2188
+ t.links.length > 1 ? (v(), i("span", Da, [s(T(E(l)("catalogue.results.openIn")) + " ", 1), (v(!0), i(e, null, x(t.links.slice(1), (t) => (v(), i(e, { key: t.site }, [t.route ? (v(), n(f, {
2189
+ key: 0,
2190
+ to: t.route
2191
+ }, {
2192
+ default: F(() => [s(T(t.name), 1)]),
2193
+ _: 2
2194
+ }, 1032, ["to"])) : (v(), i("a", {
2195
+ key: 1,
2196
+ href: t.href
2197
+ }, T(t.name), 9, Oa))], 64))), 128))])) : r("", !0)
2198
+ ], 8, Ca))), 128))]),
2199
+ Pe.value ? (v(), i("p", ka, [a("button", {
2200
+ type: "button",
2201
+ onClick: c[11] ||= (e) => Ae(D.value.length)
2202
+ }, T(E(l)("catalogue.results.more")), 1)])) : r("", !0)
2203
+ ], 64))]);
2204
+ };
2205
+ }
2206
+ }, ja = { class: "mwnf-standalone-tle__country" }, Ma = ["aria-label"], Na = { value: "none" }, Pa = { value: "" }, Fa = ["value"], Ia = { class: "mwnf-standalone-tle__date" }, La = ["aria-label"], Ra = { value: "none" }, za = ["value"], Ba = { class: "mwnf-standalone-tle__date" }, Va = ["aria-label"], Ha = { value: "none" }, Ua = ["value"], Wa = { class: "mwnf-standalone-tle__go" }, Ga = { type: "submit" }, Ka = {
1867
2207
  __name: "TimelineEntrance",
1868
2208
  props: {
1869
2209
  labels: {
@@ -1893,7 +2233,7 @@ var Pt = { class: "mwnf-standalone-item__top" }, Ft = { class: "mwnf-standalone-
1893
2233
  },
1894
2234
  emits: ["search"],
1895
2235
  setup(n, { emit: r }) {
1896
- let o = n, s = r, c = o.texts ? U().t : (e) => e, l = (e) => c(`${o.texts}.${e}`), u = t(() => o.labels ?? {
2236
+ let o = n, s = r, c = o.texts ? K().t : (e) => e, l = (e) => c(`${o.texts}.${e}`), u = t(() => o.labels ?? {
1897
2237
  selectCountry: l("tl.selectCountry"),
1898
2238
  allCountries: l("tl.allCountries"),
1899
2239
  startDate: l("tl.startDate"),
@@ -1905,7 +2245,7 @@ var Pt = { class: "mwnf-standalone-item__top" }, Ft = { class: "mwnf-standalone-
1905
2245
  startDate: l("tl.alertStartDate"),
1906
2246
  endDate: l("tl.alertEndDate"),
1907
2247
  period: l("tl.alertPeriod")
1908
- } : {})), f = v({
2248
+ } : {})), f = y({
1909
2249
  country: "none",
1910
2250
  start: "none",
1911
2251
  end: "none"
@@ -1917,46 +2257,46 @@ var Pt = { class: "mwnf-standalone-item__top" }, Ft = { class: "mwnf-standalone-
1917
2257
  let e = p();
1918
2258
  e ? window.alert(e) : s("search", { ...f });
1919
2259
  }
1920
- return (t, r) => (_(), i("form", {
2260
+ return (t, r) => (v(), i("form", {
1921
2261
  class: "mwnf-standalone-tle",
1922
- onSubmit: N(m, ["prevent"])
2262
+ onSubmit: L(m, ["prevent"])
1923
2263
  }, [
1924
- a("p", _i, [M(a("select", {
2264
+ a("p", ja, [I(a("select", {
1925
2265
  "onUpdate:modelValue": r[0] ||= (e) => f.country = e,
1926
2266
  "aria-label": u.value.selectCountry
1927
2267
  }, [
1928
- a("option", yi, S(u.value.selectCountry), 1),
1929
- a("option", bi, S(u.value.allCountries), 1),
1930
- (_(!0), i(e, null, b(n.countries, (e) => (_(), i("option", {
2268
+ a("option", Na, T(u.value.selectCountry), 1),
2269
+ a("option", Pa, T(u.value.allCountries), 1),
2270
+ (v(!0), i(e, null, x(n.countries, (e) => (v(), i("option", {
1931
2271
  key: e.value,
1932
2272
  value: e.value
1933
- }, S(e.label), 9, xi))), 128))
1934
- ], 8, vi), [[D, f.country]])]),
1935
- a("p", Si, [M(a("select", {
2273
+ }, T(e.label), 9, Fa))), 128))
2274
+ ], 8, Ma), [[j, f.country]])]),
2275
+ a("p", Ia, [I(a("select", {
1936
2276
  "onUpdate:modelValue": r[1] ||= (e) => f.start = e,
1937
2277
  "aria-label": u.value.startDate
1938
- }, [a("option", wi, S(u.value.startDate), 1), (_(!0), i(e, null, b(n.starts, (e) => (_(), i("option", {
2278
+ }, [a("option", Ra, T(u.value.startDate), 1), (v(!0), i(e, null, x(n.starts, (e) => (v(), i("option", {
1939
2279
  key: e.value,
1940
2280
  value: e.value
1941
- }, S(e.label), 9, Ti))), 128))], 8, Ci), [[D, f.start]])]),
1942
- a("p", Ei, [M(a("select", {
2281
+ }, T(e.label), 9, za))), 128))], 8, La), [[j, f.start]])]),
2282
+ a("p", Ba, [I(a("select", {
1943
2283
  "onUpdate:modelValue": r[2] ||= (e) => f.end = e,
1944
2284
  "aria-label": u.value.endDate
1945
- }, [a("option", Oi, S(u.value.endDate), 1), (_(!0), i(e, null, b(n.ends, (e) => (_(), i("option", {
2285
+ }, [a("option", Ha, T(u.value.endDate), 1), (v(!0), i(e, null, x(n.ends, (e) => (v(), i("option", {
1946
2286
  key: e.value,
1947
2287
  value: e.value
1948
- }, S(e.label), 9, ki))), 128))], 8, Di), [[D, f.end]])]),
1949
- a("p", Ai, [a("button", ji, S(u.value.go), 1)])
2288
+ }, T(e.label), 9, Ua))), 128))], 8, Va), [[j, f.end]])]),
2289
+ a("p", Wa, [a("button", Ga, T(u.value.go), 1)])
1950
2290
  ], 32));
1951
2291
  }
1952
- }, Ni = {
2292
+ }, qa = {
1953
2293
  key: 0,
1954
2294
  class: "mwnf-standalone-pages"
1955
- }, Pi = { class: "mwnf-standalone-pages__previous" }, Fi = ["aria-current", "onClick"], Ii = { class: "mwnf-standalone-pages__next" }, Li = {
2295
+ }, Ja = { class: "mwnf-standalone-pages__previous" }, Ya = ["aria-current", "onClick"], Xa = { class: "mwnf-standalone-pages__next" }, Za = {
1956
2296
  key: 1,
1957
2297
  class: "mwnf-standalone-pages",
1958
2298
  "aria-hidden": "true"
1959
- }, Ri = {
2299
+ }, Qa = {
1960
2300
  __name: "Pagination",
1961
2301
  props: {
1962
2302
  pageInfo: {
@@ -1983,47 +2323,47 @@ var Pt = { class: "mwnf-standalone-item__top" }, Ft = { class: "mwnf-standalone-
1983
2323
  for (let r = t; r <= Math.min(u.value, t + e - 1); r++) n.push(r);
1984
2324
  return n;
1985
2325
  });
1986
- function p(e) {
2326
+ function f(e) {
1987
2327
  e >= 1 && e <= u.value && e !== l.value && c("navigate", e);
1988
2328
  }
1989
- return (t, r) => u.value > 1 ? (_(), i("nav", Ni, [
1990
- a("span", Pi, [l.value > 1 ? (_(), i("a", {
2329
+ return (t, r) => u.value > 1 ? (v(), i("nav", qa, [
2330
+ a("span", Ja, [l.value > 1 ? (v(), i("a", {
1991
2331
  key: 0,
1992
2332
  href: "#",
1993
- onClick: r[0] ||= N((e) => p(l.value - 1), ["prevent"])
1994
- }, S(n.previousLabel), 1)) : (_(), i(e, { key: 1 }, [s(S(n.previousLabel), 1)], 64))]),
1995
- (_(!0), i(e, null, b(d.value, (e) => (_(), i("a", {
2333
+ onClick: r[0] ||= L((e) => f(l.value - 1), ["prevent"])
2334
+ }, T(n.previousLabel), 1)) : (v(), i(e, { key: 1 }, [s(T(n.previousLabel), 1)], 64))]),
2335
+ (v(!0), i(e, null, x(d.value, (e) => (v(), i("a", {
1996
2336
  key: e,
1997
2337
  href: "#",
1998
- class: f(["mwnf-standalone-pages__number", { "mwnf-standalone-pages__number--active": e === l.value }]),
2338
+ class: p(["mwnf-standalone-pages__number", { "mwnf-standalone-pages__number--active": e === l.value }]),
1999
2339
  "aria-current": e === l.value ? "page" : void 0,
2000
- onClick: N((t) => p(e), ["prevent"])
2001
- }, S(e), 11, Fi))), 128)),
2002
- a("span", Ii, [l.value < u.value ? (_(), i("a", {
2340
+ onClick: L((t) => f(e), ["prevent"])
2341
+ }, T(e), 11, Ya))), 128)),
2342
+ a("span", Xa, [l.value < u.value ? (v(), i("a", {
2003
2343
  key: 0,
2004
2344
  href: "#",
2005
- onClick: r[1] ||= N((e) => p(l.value + 1), ["prevent"])
2006
- }, S(n.nextLabel), 1)) : (_(), i(e, { key: 1 }, [s(S(n.nextLabel), 1)], 64))])
2007
- ])) : (_(), i("div", Li));
2345
+ onClick: r[1] ||= L((e) => f(l.value + 1), ["prevent"])
2346
+ }, T(n.nextLabel), 1)) : (v(), i(e, { key: 1 }, [s(T(n.nextLabel), 1)], 64))])
2347
+ ])) : (v(), i("div", Za));
2008
2348
  }
2009
- }, zi = { class: "mwnf-standalone-tlr" }, Bi = { class: "mwnf-standalone-tlr__band" }, Vi = { class: "mwnf-standalone-tlr__band-inner" }, Hi = { class: "mwnf-standalone-tlr__summary" }, Ui = { class: "mwnf-standalone-tlr__selects" }, Wi = ["for"], Gi = [
2349
+ }, $a = { class: "mwnf-standalone-tlr" }, eo = { class: "mwnf-standalone-tlr__band" }, to = { class: "mwnf-standalone-tlr__band-inner" }, no = { class: "mwnf-standalone-tlr__summary" }, ro = { class: "mwnf-standalone-tlr__selects" }, io = ["for"], ao = [
2010
2350
  "id",
2011
2351
  "value",
2012
2352
  "disabled",
2013
2353
  "onChange"
2014
- ], Ki = ["value"], qi = { class: "mwnf-standalone-item__back mwnf-standalone-tlr__back" }, Ji = {
2354
+ ], oo = ["value"], so = { class: "mwnf-standalone-item__back mwnf-standalone-tlr__back" }, co = {
2015
2355
  key: 0,
2016
2356
  class: "mwnf-standalone-tlr__heads"
2017
- }, Yi = { class: "mwnf-standalone-tlr__body" }, Xi = { class: "mwnf-standalone-tlr__list" }, Zi = { class: "mwnf-standalone-tlr__date" }, Qi = { class: "mwnf-standalone-tlr__content" }, $i = ["innerHTML"], ea = {
2357
+ }, lo = { class: "mwnf-standalone-tlr__body" }, uo = { class: "mwnf-standalone-tlr__list" }, fo = { class: "mwnf-standalone-tlr__date" }, po = { class: "mwnf-standalone-tlr__content" }, mo = ["innerHTML"], ho = {
2018
2358
  key: 0,
2019
2359
  class: "mwnf-standalone-tlr__empty"
2020
- }, ta = { class: "mwnf-standalone-tlr__related" }, na = {
2360
+ }, go = { class: "mwnf-standalone-tlr__related" }, _o = {
2021
2361
  key: 0,
2022
2362
  class: "mwnf-standalone-tlr__panel"
2023
- }, ra = { key: 0 }, ia = {
2363
+ }, vo = { key: 0 }, yo = {
2024
2364
  key: 1,
2025
2365
  class: "mwnf-standalone-tlr__panel"
2026
- }, aa = { class: "mwnf-standalone-tlr__download" }, oa = {
2366
+ }, bo = { class: "mwnf-standalone-tlr__download" }, xo = {
2027
2367
  __name: "TimelineResults",
2028
2368
  props: {
2029
2369
  heading: {
@@ -2087,7 +2427,7 @@ var Pt = { class: "mwnf-standalone-item__top" }, Ft = { class: "mwnf-standalone-
2087
2427
  }
2088
2428
  function m(e) {
2089
2429
  let t = e.currentTarget.closest(".mwnf-standalone-tlr");
2090
- mt(ht({
2430
+ Nt(Pt({
2091
2431
  title: u.download?.title ?? "",
2092
2432
  heading: u.download?.line ?? "",
2093
2433
  heads: u.heads,
@@ -2096,8 +2436,8 @@ var Pt = { class: "mwnf-standalone-item__top" }, Ft = { class: "mwnf-standalone-
2096
2436
  dir: t ? getComputedStyle(t).direction : ""
2097
2437
  }), u.download?.file ?? "timeline.doc");
2098
2438
  }
2099
- return (t, l) => (_(), i("div", zi, [
2100
- a("section", Bi, [a("div", Vi, [a("p", Hi, [a("b", null, S(o.heading), 1), s(" | " + S(o.summary), 1)]), a("div", Ui, [(_(!0), i(e, null, b(o.selects, (t) => (_(), i("p", { key: t.key }, [a("label", { for: `mwnf-tlr-${t.key}` }, S(t.label), 9, Wi), a("select", {
2439
+ return (t, l) => (v(), i("div", $a, [
2440
+ a("section", eo, [a("div", to, [a("p", no, [a("b", null, T(o.heading), 1), s(" | " + T(o.summary), 1)]), a("div", ro, [(v(!0), i(e, null, x(o.selects, (t) => (v(), i("p", { key: t.key }, [a("label", { for: `mwnf-tlr-${t.key}` }, T(t.label), 9, io), a("select", {
2101
2441
  id: `mwnf-tlr-${t.key}`,
2102
2442
  value: t.value,
2103
2443
  disabled: t.disabled || void 0,
@@ -2105,32 +2445,32 @@ var Pt = { class: "mwnf-standalone-item__top" }, Ft = { class: "mwnf-standalone-
2105
2445
  key: t.key,
2106
2446
  value: e.target.value
2107
2447
  })
2108
- }, [(_(!0), i(e, null, b(t.options, (e) => (_(), i("option", {
2448
+ }, [(v(!0), i(e, null, x(t.options, (e) => (v(), i("option", {
2109
2449
  key: e.value,
2110
2450
  value: e.value
2111
- }, S(e.label), 9, Ki))), 128))], 40, Gi)]))), 128))])])]),
2112
- a("p", qi, [(_(!0), i(e, null, b(o.back, (r) => (_(), i(e, { key: r.label }, [r.history ? (_(), i("button", {
2451
+ }, T(e.label), 9, oo))), 128))], 40, ao)]))), 128))])])]),
2452
+ a("p", so, [(v(!0), i(e, null, x(o.back, (r) => (v(), i(e, { key: r.label }, [r.history ? (v(), i("button", {
2113
2453
  key: 0,
2114
2454
  type: "button",
2115
2455
  class: "mwnf-standalone-item__back-link",
2116
2456
  onClick: l[0] ||= (e) => t.$router.back()
2117
- }, S(r.label), 1)) : (_(), n(G, {
2457
+ }, T(r.label), 1)) : (v(), n(J, {
2118
2458
  key: 1,
2119
2459
  class: "mwnf-standalone-item__back-link",
2120
2460
  to: r.to,
2121
2461
  href: r.href
2122
2462
  }, {
2123
- default: j(() => [s(S(r.label), 1)]),
2463
+ default: F(() => [s(T(r.label), 1)]),
2124
2464
  _: 2
2125
2465
  }, 1032, ["to", "href"]))], 64))), 128))]),
2126
- f.value ? (_(), i("div", Ji, [a("h3", null, S(o.heads.date), 1), a("h3", null, S(o.heads.countryDescription), 1)])) : r("", !0),
2127
- a("div", Yi, [a("div", Xi, [
2128
- (_(!0), i(e, null, b(o.rows, (e) => (_(), i("div", {
2466
+ f.value ? (v(), i("div", co, [a("h3", null, T(o.heads.date), 1), a("h3", null, T(o.heads.countryDescription), 1)])) : r("", !0),
2467
+ a("div", lo, [a("div", uo, [
2468
+ (v(!0), i(e, null, x(o.rows, (e) => (v(), i("div", {
2129
2469
  key: e.id,
2130
2470
  class: "mwnf-standalone-tlr__row"
2131
- }, [a("div", Zi, [a("p", null, [a("span", null, S(e.date), 1)]), x(t.$slots, "media", { row: e })]), a("div", Qi, [a("p", null, [a("span", null, S(e.country), 1)]), a("div", { innerHTML: e.html }, null, 8, $i)])]))), 128)),
2132
- f.value ? r("", !0) : (_(), i("p", ea, S(o.empty), 1)),
2133
- o.pageInfo ? (_(), n(Ri, {
2471
+ }, [a("div", fo, [a("p", null, [a("span", null, T(e.date), 1)]), S(t.$slots, "media", { row: e })]), a("div", po, [a("p", null, [a("span", null, T(e.country), 1)]), a("div", { innerHTML: e.html }, null, 8, mo)])]))), 128)),
2472
+ f.value ? r("", !0) : (v(), i("p", ho, T(o.empty), 1)),
2473
+ o.pageInfo ? (v(), n(Qa, {
2134
2474
  key: 1,
2135
2475
  "page-info": o.pageInfo,
2136
2476
  "previous-label": o.previousLabel,
@@ -2141,16 +2481,16 @@ var Pt = { class: "mwnf-standalone-item__top" }, Ft = { class: "mwnf-standalone-
2141
2481
  "previous-label",
2142
2482
  "next-label"
2143
2483
  ])) : r("", !0)
2144
- ]), a("aside", ta, [o.related ? (_(), i("div", na, [
2145
- a("p", null, [a("strong", null, S(o.related.heading), 1)]),
2146
- (_(!0), i(e, null, b(o.related.links ?? [], (e) => (_(), i("p", { key: e.label }, [c(G, {
2484
+ ]), a("aside", go, [o.related ? (v(), i("div", _o, [
2485
+ a("p", null, [a("strong", null, T(o.related.heading), 1)]),
2486
+ (v(!0), i(e, null, x(o.related.links ?? [], (e) => (v(), i("p", { key: e.label }, [c(J, {
2147
2487
  class: "mwnf-standalone-tlr__link",
2148
2488
  to: e.to,
2149
2489
  href: e.href,
2150
2490
  title: e.title,
2151
2491
  target: e.target
2152
2492
  }, {
2153
- default: j(() => [s(S(e.label), 1)]),
2493
+ default: F(() => [s(T(e.label), 1)]),
2154
2494
  _: 2
2155
2495
  }, 1032, [
2156
2496
  "to",
@@ -2158,30 +2498,30 @@ var Pt = { class: "mwnf-standalone-item__top" }, Ft = { class: "mwnf-standalone-
2158
2498
  "title",
2159
2499
  "target"
2160
2500
  ])]))), 128)),
2161
- o.related.gallery ? (_(), i("p", ra, [c(G, {
2501
+ o.related.gallery ? (v(), i("p", vo, [c(J, {
2162
2502
  class: "mwnf-standalone-tlr__link",
2163
2503
  to: o.related.gallery.to,
2164
2504
  title: o.related.gallery.title
2165
2505
  }, {
2166
- default: j(() => [s(S(o.related.gallery.label), 1)]),
2506
+ default: F(() => [s(T(o.related.gallery.label), 1)]),
2167
2507
  _: 1
2168
2508
  }, 8, ["to", "title"])])) : r("", !0)
2169
- ])) : r("", !0), o.download ? (_(), i("div", ia, [
2170
- a("p", aa, S(o.download.heading), 1),
2509
+ ])) : r("", !0), o.download ? (v(), i("div", yo, [
2510
+ a("p", bo, T(o.download.heading), 1),
2171
2511
  a("p", null, [a("a", {
2172
2512
  href: "#",
2173
2513
  class: "mwnf-standalone-tlr__link",
2174
- onClick: N(p, ["prevent"])
2175
- }, S(o.download.pdf), 1)]),
2514
+ onClick: L(p, ["prevent"])
2515
+ }, T(o.download.pdf), 1)]),
2176
2516
  a("p", null, [a("a", {
2177
2517
  href: "#",
2178
2518
  class: "mwnf-standalone-tlr__link",
2179
- onClick: N(m, ["prevent"])
2180
- }, S(o.download.word), 1)])
2519
+ onClick: L(m, ["prevent"])
2520
+ }, T(o.download.word), 1)])
2181
2521
  ])) : r("", !0)])])
2182
2522
  ]));
2183
2523
  }
2184
- }, sa = ["dir"], ca = { class: "mwnf-standalone-window__box" }, la = { class: "mwnf-standalone-window__header" }, ua = { class: "mwnf-standalone-window__heading" }, da = ["aria-label"], fa = { class: "mwnf-standalone-window__article" }, $ = {
2524
+ }, So = ["dir"], Co = { class: "mwnf-standalone-window__box" }, wo = { class: "mwnf-standalone-window__header" }, To = { class: "mwnf-standalone-window__heading" }, Eo = ["aria-label"], Do = { class: "mwnf-standalone-window__article" }, Oo = {
2185
2525
  __name: "Window",
2186
2526
  props: {
2187
2527
  heading: {
@@ -2201,27 +2541,27 @@ var Pt = { class: "mwnf-standalone-item__top" }, Ft = { class: "mwnf-standalone-
2201
2541
  function t() {
2202
2542
  window.opener ? (window.opener.focus(), window.close()) : window.history.back();
2203
2543
  }
2204
- return (n, r) => (_(), i("div", {
2544
+ return (n, r) => (v(), i("div", {
2205
2545
  class: "mwnf-standalone-window",
2206
2546
  dir: e.dir || void 0
2207
- }, [a("div", ca, [
2208
- a("header", la, [a("h1", ua, S(e.heading), 1), a("button", {
2547
+ }, [a("div", Co, [
2548
+ a("header", wo, [a("h1", To, T(e.heading), 1), a("button", {
2209
2549
  type: "button",
2210
2550
  class: "mwnf-standalone-window__close",
2211
2551
  "aria-label": e.closeLabel || void 0,
2212
2552
  onClick: t
2213
- }, "×", 8, da)]),
2214
- x(n.$slots, "before"),
2215
- a("article", fa, [x(n.$slots, "default")])
2216
- ])], 8, sa));
2553
+ }, "×", 8, Eo)]),
2554
+ S(n.$slots, "before"),
2555
+ a("article", Do, [S(n.$slots, "default")])
2556
+ ])], 8, So));
2217
2557
  }
2218
- }, pa = {
2558
+ }, ko = {
2219
2559
  class: "mwnf-standalone-hcr__scale",
2220
2560
  "aria-hidden": "true"
2221
- }, ma = { class: "mwnf-standalone-hcr__years" }, ha = { class: "mwnf-standalone-hcr__body" }, ga = { class: "mwnf-standalone-hcr__left" }, _a = { class: "mwnf-standalone-hcr__title" }, va = ["value", "aria-label"], ya = ["value"], ba = { class: "mwnf-standalone-hcr__title" }, xa = ["value", "aria-label"], Sa = ["value"], Ca = {
2561
+ }, Ao = { class: "mwnf-standalone-hcr__years" }, jo = { class: "mwnf-standalone-hcr__body" }, Mo = { class: "mwnf-standalone-hcr__left" }, No = { class: "mwnf-standalone-hcr__title" }, Po = ["value", "aria-label"], Fo = ["value"], Io = { class: "mwnf-standalone-hcr__title" }, Lo = ["value", "aria-label"], Ro = ["value"], zo = {
2222
2562
  key: 0,
2223
2563
  class: "mwnf-standalone-hcr__image"
2224
- }, wa = ["src", "alt"], Ta = { key: 1 }, Ea = ["innerHTML"], Da = { key: 2 }, Oa = { class: "mwnf-standalone-hcr__main" }, ka = ["innerHTML"], Aa = {
2564
+ }, Bo = ["src", "alt"], Vo = { key: 1 }, Ho = ["innerHTML"], Uo = { key: 2 }, Wo = { class: "mwnf-standalone-hcr__main" }, Go = ["innerHTML"], Ko = {
2225
2565
  __name: "HistoricalCrossRef",
2226
2566
  props: {
2227
2567
  labels: {
@@ -2275,7 +2615,7 @@ var Pt = { class: "mwnf-standalone-item__top" }, Ft = { class: "mwnf-standalone-
2275
2615
  },
2276
2616
  emits: ["change"],
2277
2617
  setup(o, { emit: c }) {
2278
- let l = o, u = c, d = l.texts ? U().t : (e) => e, p = t(() => l.labels ?? {
2618
+ let l = o, u = c, d = l.texts ? K().t : (e) => e, f = t(() => l.labels ?? {
2279
2619
  heading: d(`${l.texts}.tl.title`),
2280
2620
  close: d("record.glossary.close"),
2281
2621
  country: d(`${l.texts}.hcr.country`),
@@ -2290,56 +2630,56 @@ var Pt = { class: "mwnf-standalone-item__top" }, Ft = { class: "mwnf-standalone-
2290
2630
  };
2291
2631
  });
2292
2632
  });
2293
- return (t, c) => (_(), n($, {
2633
+ return (t, c) => (v(), n(Oo, {
2294
2634
  class: "mwnf-standalone-hcr",
2295
- heading: p.value.heading,
2296
- "close-label": p.value.close,
2635
+ heading: f.value.heading,
2636
+ "close-label": f.value.close,
2297
2637
  dir: o.dir
2298
2638
  }, {
2299
- before: j(() => [a("section", pa, [a("div", ma, [(_(!0), i(e, null, b(m.value, (e) => (_(), i("span", {
2639
+ before: F(() => [a("section", ko, [a("div", Ao, [(v(!0), i(e, null, x(m.value, (e) => (v(), i("span", {
2300
2640
  key: e.value,
2301
- class: f({ "mwnf-standalone-hcr__year--active": e.active })
2302
- }, S(e.value), 3))), 128))]), c[2] ||= a("div", { class: "mwnf-standalone-hcr__lines" }, null, -1)])]),
2303
- default: j(() => [a("div", ha, [a("div", ga, [
2304
- a("p", _a, S(p.value.country), 1),
2641
+ class: p({ "mwnf-standalone-hcr__year--active": e.active })
2642
+ }, T(e.value), 3))), 128))]), c[2] ||= a("div", { class: "mwnf-standalone-hcr__lines" }, null, -1)])]),
2643
+ default: F(() => [a("div", jo, [a("div", Mo, [
2644
+ a("p", No, T(f.value.country), 1),
2305
2645
  a("select", {
2306
2646
  value: o.country,
2307
- "aria-label": p.value.country,
2647
+ "aria-label": f.value.country,
2308
2648
  onChange: c[0] ||= (e) => u("change", {
2309
2649
  key: "country",
2310
2650
  value: e.target.value
2311
2651
  })
2312
- }, [(_(!0), i(e, null, b(o.countries, (e) => (_(), i("option", {
2652
+ }, [(v(!0), i(e, null, x(o.countries, (e) => (v(), i("option", {
2313
2653
  key: e.value,
2314
2654
  value: e.value
2315
- }, S(e.label), 9, ya))), 128))], 40, va),
2316
- a("p", ba, S(p.value.range), 1),
2655
+ }, T(e.label), 9, Fo))), 128))], 40, Po),
2656
+ a("p", Io, T(f.value.range), 1),
2317
2657
  a("select", {
2318
2658
  value: String(o.range),
2319
- "aria-label": p.value.range,
2659
+ "aria-label": f.value.range,
2320
2660
  onChange: c[1] ||= (e) => u("change", {
2321
2661
  key: "start",
2322
2662
  value: e.target.value
2323
2663
  })
2324
- }, [(_(!0), i(e, null, b(o.ranges, (e) => (_(), i("option", {
2664
+ }, [(v(!0), i(e, null, x(o.ranges, (e) => (v(), i("option", {
2325
2665
  key: e.value,
2326
2666
  value: String(e.value)
2327
- }, S(e.label), 9, Sa))), 128))], 40, xa),
2328
- o.item ? (_(), i(e, { key: 0 }, [
2329
- o.item.image ? (_(), i("div", Ca, [a("img", {
2667
+ }, T(e.label), 9, Ro))), 128))], 40, Lo),
2668
+ o.item ? (v(), i(e, { key: 0 }, [
2669
+ o.item.image ? (v(), i("div", zo, [a("img", {
2330
2670
  src: o.item.image,
2331
2671
  alt: o.item.name
2332
- }, null, 8, wa)])) : r("", !0),
2333
- o.item.name ? (_(), i("p", Ta, [a("strong", { innerHTML: o.item.name }, null, 8, Ea)])) : r("", !0),
2334
- o.item.lines?.length ? (_(), i("p", Da, [(_(!0), i(e, null, b(o.item.lines, (t, n) => (_(), i(e, { key: n }, [s(S(t), 1), c[3] ||= a("br", null, null, -1)], 64))), 128))])) : r("", !0)
2672
+ }, null, 8, Bo)])) : r("", !0),
2673
+ o.item.name ? (v(), i("p", Vo, [a("strong", { innerHTML: o.item.name }, null, 8, Ho)])) : r("", !0),
2674
+ o.item.lines?.length ? (v(), i("p", Uo, [(v(!0), i(e, null, x(o.item.lines, (t, n) => (v(), i(e, { key: n }, [s(T(t), 1), c[3] ||= a("br", null, null, -1)], 64))), 128))])) : r("", !0)
2335
2675
  ], 64)) : r("", !0)
2336
- ]), a("div", Oa, [a("h3", null, S(o.heading), 1), (_(!0), i(e, null, b(o.events, (e) => (_(), i("div", {
2676
+ ]), a("div", Wo, [a("h3", null, T(o.heading), 1), (v(!0), i(e, null, x(o.events, (e) => (v(), i("div", {
2337
2677
  key: e.id,
2338
2678
  class: "mwnf-standalone-hcr__event"
2339
- }, [a("p", null, [a("b", null, S(e.date), 1)]), a("div", {
2679
+ }, [a("p", null, [a("b", null, T(e.date), 1)]), a("div", {
2340
2680
  class: "mwnf-standalone-hcr__text",
2341
2681
  innerHTML: e.html
2342
- }, null, 8, ka)]))), 128))])])]),
2682
+ }, null, 8, Go)]))), 128))])])]),
2343
2683
  _: 1
2344
2684
  }, 8, [
2345
2685
  "heading",
@@ -2347,10 +2687,10 @@ var Pt = { class: "mwnf-standalone-item__top" }, Ft = { class: "mwnf-standalone-
2347
2687
  "dir"
2348
2688
  ]));
2349
2689
  }
2350
- }, ja = ["disabled", "aria-label"], Ma = { class: "mwnf-standalone-slider__track" }, Na = ["src", "alt"], Pa = {
2690
+ }, qo = ["disabled", "aria-label"], Jo = { class: "mwnf-standalone-slider__track" }, Yo = ["src", "alt"], Xo = {
2351
2691
  key: 0,
2352
2692
  class: "mwnf-standalone-slider__label"
2353
- }, Fa = ["disabled", "aria-label"], Ia = {
2693
+ }, Zo = ["disabled", "aria-label"], Qo = {
2354
2694
  __name: "Slider",
2355
2695
  props: {
2356
2696
  slides: {
@@ -2371,53 +2711,53 @@ var Pt = { class: "mwnf-standalone-item__top" }, Ft = { class: "mwnf-standalone-
2371
2711
  }
2372
2712
  },
2373
2713
  setup(n) {
2374
- let o = n, { t: s } = U(), l = K(), u = y(0), d = t(() => Math.max(0, o.slides.length - o.visible)), f = t(() => o.slides.slice(u.value, u.value + o.visible).map((e) => ({
2714
+ let o = n, { t: s } = K(), l = Oe(), u = b(0), d = t(() => Math.max(0, o.slides.length - o.visible)), f = t(() => o.slides.slice(u.value, u.value + o.visible).map((e) => ({
2375
2715
  ...e,
2376
2716
  image: l(e.image) ?? "",
2377
2717
  label: e.label ? s(e.label) : ""
2378
2718
  })));
2379
- return (t, o) => n.slides.length ? (_(), i("div", {
2719
+ return (t, o) => n.slides.length ? (v(), i("div", {
2380
2720
  key: 0,
2381
2721
  class: "mwnf-standalone-slider",
2382
- style: m({ "--mwnf-standalone-slider-count": n.visible })
2722
+ style: h({ "--mwnf-standalone-slider-count": n.visible })
2383
2723
  }, [
2384
2724
  a("button", {
2385
2725
  type: "button",
2386
2726
  class: "mwnf-standalone-slider__button",
2387
2727
  disabled: u.value === 0,
2388
- "aria-label": C(s)(n.previousLabel),
2728
+ "aria-label": E(s)(n.previousLabel),
2389
2729
  onClick: o[0] ||= (e) => u.value = Math.max(0, u.value - 1)
2390
- }, "‹", 8, ja),
2391
- a("ul", Ma, [(_(!0), i(e, null, b(f.value, (e) => (_(), i("li", {
2730
+ }, "‹", 8, qo),
2731
+ a("ul", Jo, [(v(!0), i(e, null, x(f.value, (e) => (v(), i("li", {
2392
2732
  key: e.image,
2393
2733
  class: "mwnf-standalone-slider__slide"
2394
- }, [c(G, {
2734
+ }, [c(J, {
2395
2735
  to: e.to,
2396
2736
  href: e.href
2397
2737
  }, {
2398
- default: j(() => [a("img", {
2738
+ default: F(() => [a("img", {
2399
2739
  src: e.image,
2400
2740
  alt: e.label
2401
- }, null, 8, Na), e.label ? (_(), i("span", Pa, S(e.label), 1)) : r("", !0)]),
2741
+ }, null, 8, Yo), e.label ? (v(), i("span", Xo, T(e.label), 1)) : r("", !0)]),
2402
2742
  _: 2
2403
2743
  }, 1032, ["to", "href"])]))), 128))]),
2404
2744
  a("button", {
2405
2745
  type: "button",
2406
2746
  class: "mwnf-standalone-slider__button",
2407
2747
  disabled: u.value >= d.value,
2408
- "aria-label": C(s)(n.nextLabel),
2748
+ "aria-label": E(s)(n.nextLabel),
2409
2749
  onClick: o[1] ||= (e) => u.value = Math.min(d.value, u.value + 1)
2410
- }, "›", 8, Fa)
2750
+ }, "›", 8, Zo)
2411
2751
  ], 4)) : r("", !0);
2412
2752
  }
2413
- }, La = { class: "mwnf-standalone-glossary" }, Ra = { class: "mwnf-standalone-glossary__intro" }, za = { class: "mwnf-standalone-glossary__body" }, Ba = { class: "mwnf-standalone-glossary__field" }, Va = ["aria-expanded", "aria-label"], Ha = {
2753
+ }, $o = { class: "mwnf-standalone-glossary" }, es = { class: "mwnf-standalone-glossary__intro" }, ts = { class: "mwnf-standalone-glossary__body" }, ns = { class: "mwnf-standalone-glossary__field" }, rs = ["aria-expanded", "aria-label"], is = {
2414
2754
  key: 0,
2415
2755
  class: "mwnf-standalone-glossary__suggestions",
2416
2756
  role: "listbox"
2417
- }, Ua = ["aria-selected", "onMousedown"], Wa = {
2757
+ }, as = ["aria-selected", "onMousedown"], os = {
2418
2758
  class: "mwnf-standalone-glossary__result",
2419
2759
  "aria-live": "polite"
2420
- }, Ga = { class: "mwnf-standalone-glossary__label" }, Ka = ["innerHTML"], qa = { class: "mwnf-standalone-glossary__label mwnf-standalone-glossary__label--spellings" }, Ja = { class: "mwnf-standalone-glossary__note" }, Ya = { class: "mwnf-standalone-glossary__spellings" }, Xa = {
2760
+ }, ss = { class: "mwnf-standalone-glossary__label" }, cs = ["innerHTML"], ls = { class: "mwnf-standalone-glossary__label mwnf-standalone-glossary__label--spellings" }, us = { class: "mwnf-standalone-glossary__note" }, ds = { class: "mwnf-standalone-glossary__spellings" }, fs = {
2421
2761
  __name: "GlossarySpelling",
2422
2762
  props: {
2423
2763
  language: {
@@ -2438,69 +2778,69 @@ var Pt = { class: "mwnf-standalone-item__top" }, Ft = { class: "mwnf-standalone-
2438
2778
  }
2439
2779
  },
2440
2780
  setup(o) {
2441
- let s = o, c = re(), l = ee(s.entity), u = t(() => c.availableLanguages(s.entity).slice().sort());
2442
- g(async () => {
2443
- await L([s.entity]), await Promise.all(u.value.map((e) => c.loadTranslations(s.entity, e)));
2781
+ let s = o, c = ae(), l = ne(s.entity), u = t(() => c.availableLanguages(s.entity).slice().sort());
2782
+ _(async () => {
2783
+ await B([s.entity]), await Promise.all(u.value.map((e) => c.loadTranslations(s.entity, e)));
2444
2784
  });
2445
- let d = y(""), p = y(null), m = y(-1), h = (e, t) => c.translations(s.entity, t)[e.id] ?? {}, v = t(() => {
2446
- let e = I(d.value.trim());
2447
- if (!e || p.value) return [];
2785
+ let d = b(""), f = b(null), m = b(-1), h = (e, t) => c.translations(s.entity, t)[e.id] ?? {}, g = t(() => {
2786
+ let e = z(d.value.trim());
2787
+ if (!e || f.value) return [];
2448
2788
  let t = /* @__PURE__ */ new Map();
2449
2789
  for (let n of l.value ?? []) for (let r of h(n, s.language).spellings ?? []) {
2450
2790
  let i = String(r).trim();
2451
- i && I(i).startsWith(e) && t.set(i, n);
2791
+ i && z(i).startsWith(e) && t.set(i, n);
2452
2792
  }
2453
2793
  return [...t].map(([e, t]) => ({
2454
2794
  spelling: e,
2455
2795
  term: t
2456
- })).sort((e, t) => I(e.spelling) < I(t.spelling) ? -1 : +(I(e.spelling) > I(t.spelling)));
2457
- }), x = t(() => p.value ? R(h(p.value, s.language).definition ?? "") : ""), C = t(() => {
2458
- if (!p.value) return [];
2796
+ })).sort((e, t) => z(e.spelling) < z(t.spelling) ? -1 : +(z(e.spelling) > z(t.spelling)));
2797
+ }), y = t(() => f.value ? V(h(f.value, s.language).definition ?? "") : ""), S = t(() => {
2798
+ if (!f.value) return [];
2459
2799
  let e = /* @__PURE__ */ new Set(), t = [];
2460
- for (let n of u.value) for (let r of h(p.value, n).spellings ?? []) {
2461
- let n = I(String(r).trim());
2800
+ for (let n of u.value) for (let r of h(f.value, n).spellings ?? []) {
2801
+ let n = z(String(r).trim());
2462
2802
  n && !e.has(n) && (e.add(n), t.push(String(r).trim()));
2463
2803
  }
2464
2804
  return t;
2465
2805
  });
2466
- function w(e) {
2467
- p.value = e.term, d.value = e.spelling, m.value = -1;
2806
+ function C(e) {
2807
+ f.value = e.term, d.value = e.spelling, m.value = -1;
2468
2808
  }
2469
- function T() {
2470
- p.value = null, m.value = -1;
2809
+ function w() {
2810
+ f.value = null, m.value = -1;
2471
2811
  }
2472
2812
  function E(e) {
2473
- let t = v.value;
2474
- t.length && (e.key === "ArrowDown" ? (e.preventDefault(), m.value = (m.value + 1) % t.length) : e.key === "ArrowUp" ? (e.preventDefault(), m.value = (m.value - 1 + t.length) % t.length) : e.key === "Enter" && m.value >= 0 && (e.preventDefault(), w(t[m.value])));
2813
+ let t = g.value;
2814
+ t.length && (e.key === "ArrowDown" ? (e.preventDefault(), m.value = (m.value + 1) % t.length) : e.key === "ArrowUp" ? (e.preventDefault(), m.value = (m.value - 1 + t.length) % t.length) : e.key === "Enter" && m.value >= 0 && (e.preventDefault(), C(t[m.value])));
2475
2815
  }
2476
- return (t, s) => (_(), n($, {
2816
+ return (t, s) => (v(), n(Oo, {
2477
2817
  heading: o.labels.heading,
2478
2818
  "close-label": o.labels.close,
2479
2819
  dir: o.dir
2480
2820
  }, {
2481
- default: j(() => [a("div", La, [a("h2", Ra, S(o.labels.intro), 1), a("div", za, [a("div", Ba, [M(a("input", {
2821
+ default: F(() => [a("div", $o, [a("h2", es, T(o.labels.intro), 1), a("div", ts, [a("div", ns, [I(a("input", {
2482
2822
  "onUpdate:modelValue": s[0] ||= (e) => d.value = e,
2483
2823
  type: "text",
2484
2824
  class: "mwnf-standalone-glossary__input",
2485
2825
  role: "combobox",
2486
2826
  "aria-autocomplete": "list",
2487
- "aria-expanded": v.value.length > 0,
2827
+ "aria-expanded": g.value.length > 0,
2488
2828
  "aria-label": o.labels.heading,
2489
- onInput: T,
2829
+ onInput: w,
2490
2830
  onKeydown: E
2491
- }, null, 40, Va), [[O, d.value]]), v.value.length ? (_(), i("ul", Ha, [(_(!0), i(e, null, b(v.value, (e, t) => (_(), i("li", {
2831
+ }, null, 40, rs), [[M, d.value]]), g.value.length ? (v(), i("ul", is, [(v(!0), i(e, null, x(g.value, (e, t) => (v(), i("li", {
2492
2832
  key: e.spelling,
2493
2833
  role: "option",
2494
2834
  "aria-selected": t === m.value,
2495
- class: f(["mwnf-standalone-glossary__suggestion", { "mwnf-standalone-glossary__suggestion--active": t === m.value }]),
2496
- onMousedown: N((t) => w(e), ["prevent"])
2497
- }, S(e.spelling), 43, Ua))), 128))])) : r("", !0)]), a("div", Wa, [p.value ? (_(), i(e, { key: 0 }, [x.value ? (_(), i(e, { key: 0 }, [a("h3", Ga, S(o.labels.definition), 1), a("div", {
2835
+ class: p(["mwnf-standalone-glossary__suggestion", { "mwnf-standalone-glossary__suggestion--active": t === m.value }]),
2836
+ onMousedown: L((t) => C(e), ["prevent"])
2837
+ }, T(e.spelling), 43, as))), 128))])) : r("", !0)]), a("div", os, [f.value ? (v(), i(e, { key: 0 }, [y.value ? (v(), i(e, { key: 0 }, [a("h3", ss, T(o.labels.definition), 1), a("div", {
2498
2838
  class: "mwnf-standalone-glossary__definition",
2499
- innerHTML: x.value
2500
- }, null, 8, Ka)], 64)) : r("", !0), C.value.length ? (_(), i(e, { key: 1 }, [
2501
- a("h3", qa, S(o.labels.spellings), 1),
2502
- a("p", Ja, S(o.labels.spellingsNote), 1),
2503
- a("ul", Ya, [(_(!0), i(e, null, b(C.value, (e) => (_(), i("li", { key: e }, S(e), 1))), 128))])
2839
+ innerHTML: y.value
2840
+ }, null, 8, cs)], 64)) : r("", !0), S.value.length ? (v(), i(e, { key: 1 }, [
2841
+ a("h3", ls, T(o.labels.spellings), 1),
2842
+ a("p", us, T(o.labels.spellingsNote), 1),
2843
+ a("ul", ds, [(v(!0), i(e, null, x(S.value, (e) => (v(), i("li", { key: e }, T(e), 1))), 128))])
2504
2844
  ], 64)) : r("", !0)], 64)) : r("", !0)])])])]),
2505
2845
  _: 1
2506
2846
  }, 8, [
@@ -2510,4 +2850,4 @@ var Pt = { class: "mwnf-standalone-item__top" }, Ft = { class: "mwnf-standalone-
2510
2850
  ]));
2511
2851
  }
2512
2852
  };
2513
- export { Ot as RelatedContent, Q as SEE_ALSO_LABELS, pe as StandaloneBanner, gi as StandaloneDatabaseForm, Xa as StandaloneGlossarySpelling, Aa as StandaloneHistoricalCrossRef, ot as StandaloneHome, Lt as StandaloneItemSheet, Ri as StandalonePagination, gr as StandalonePartnerList, pn as StandalonePartnerPage, Hr as StandalonePartnersEntrance, or as StandaloneRefine, Nn as StandaloneResultsGrid, er as StandaloneResultsList, Ve as StandaloneShell, Ia as StandaloneSlider, kr as StandaloneSponsorList, Ne as StandaloneSponsors, bn as StandaloneSubNav, _n as StandaloneTextPage, nt as StandaloneTileGrid, Mi as StandaloneTimelineEntrance, oa as StandaloneTimelineResults, $ as StandaloneWindow, Ye as TodayHighlight, me as byLanguage, q as dayOfYear, ve as highlightRecord, he as inventoryPictureForDay, ge as legacyHomeItemKey, Y as namesRecordsById, J as pickForDay, Nt as seeAlsoOf, At as trailTitle };
2853
+ export { qt as RelatedContent, Jt as SEE_ALSO_LABELS, De as StandaloneBanner, Ii as StandaloneDatabaseForm, Aa as StandaloneGlobalDatabaseSearch, fs as StandaloneGlossarySpelling, Ko as StandaloneHistoricalCrossRef, wt as StandaloneHome, rn as StandaloneItemSheet, Qa as StandalonePagination, Ir as StandalonePartnerList, Nn as StandalonePartnerPage, ci as StandalonePartnersEntrance, Er as StandaloneRefine, $n as StandaloneResultsGrid, br as StandaloneResultsList, at as StandaloneShell, Qo as StandaloneSlider, Yr as StandaloneSponsorList, Ze as StandaloneSponsors, Bn as StandaloneSubNav, Ln as StandaloneTextPage, bt as StandaloneTileGrid, Ka as StandaloneTimelineEntrance, xo as StandaloneTimelineResults, Oo as StandaloneWindow, pt as TodayHighlight, ke as byLanguage, Ae as dayOfYear, Ie as highlightRecord, Me as inventoryPictureForDay, Ne as legacyHomeItemKey, Fe as namesRecordsById, je as pickForDay, $t as seeAlsoOf, Xt as trailTitle };