@museumwnf/viewer-layout 3.26.1 → 3.28.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,6 +1,6 @@
1
1
  import { r as e } from "./chrome-DNsZQXrL.js";
2
- import { c as t, d as n, n as r, t as i } from "./PartnerMap-CyuhYm1j.js";
3
- import { n as a, t as o } from "./RecordView-D5q5LNvv.js";
2
+ import { c as t, d as n, n as r, t as i } from "./PartnerMap-BIKd-AGP.js";
3
+ import { n as a, t as o } from "./RecordView-kkpYLtL_.js";
4
4
  import { t as s } from "./SiteShell-DPdTxtJ5.js";
5
5
  import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as m, createTextVNode as h, createVNode as g, guardReactiveProps as _, nextTick as v, normalizeClass as y, normalizeProps as b, normalizeStyle as x, onMounted as S, openBlock as C, ref as w, renderList as T, renderSlot as E, toDisplayString as D, unref as O, useId as k, useSlots as A, vModelText as j, vShow as M, watch as N, withCtx as P, withDirectives as F, withModifiers as I } from "vue";
6
6
  import { byId as L, collate as R, entityRef as z, loadEntities as B, md as V, pictureCredits as ee, picturesInLanguage as te, removeEndingPoint as ne, renderBlock as H, renderInline as U, renderPlain as W, useDataPackage as G, useI18n as K, useSection as re, useSiteConfig as q } from "@museumwnf/viewer-core";
@@ -44,7 +44,7 @@ function Z(e = /* @__PURE__ */ new Date()) {
44
44
  function Q(e, t = /* @__PURE__ */ new Date()) {
45
45
  return e?.length ? e[Z(t) % e.length] : null;
46
46
  }
47
- function $(e) {
47
+ function oe(e) {
48
48
  let [t, ...n] = String(e ?? "").split("*")[0].trim().split(";");
49
49
  return !t || n.length < 5 ? "" : [
50
50
  "mwnf3",
@@ -54,22 +54,22 @@ function $(e) {
54
54
  }
55
55
  //#endregion
56
56
  //#region src/standalone/Sponsors.vue
57
- var oe = { class: "mwnf-standalone-sponsors" }, se = {
57
+ var se = { class: "mwnf-standalone-sponsors" }, ce = {
58
58
  key: 0,
59
59
  class: "mwnf-standalone-sponsors__text"
60
- }, ce = ["innerHTML"], le = { key: 1 }, ue = ["innerHTML"], de = {
60
+ }, le = ["innerHTML"], ue = { key: 1 }, de = ["innerHTML"], fe = {
61
61
  key: 1,
62
62
  class: "mwnf-standalone-sponsors__title"
63
- }, fe = {
63
+ }, pe = {
64
64
  key: 2,
65
65
  class: "mwnf-standalone-sponsors__logos"
66
- }, pe = {
66
+ }, me = {
67
67
  key: 0,
68
68
  class: "mwnf-standalone-sponsors__note"
69
- }, me = ["src", "alt"], he = ["innerHTML"], ge = ["href"], _e = ["src", "alt"], ve = ["src", "alt"], ye = {
69
+ }, he = ["src", "alt"], ge = ["innerHTML"], _e = ["href"], ve = ["src", "alt"], ye = ["src", "alt"], be = {
70
70
  key: 3,
71
71
  class: "mwnf-standalone-sponsors__links"
72
- }, be = {
72
+ }, xe = {
73
73
  __name: "Sponsors",
74
74
  props: { columns: {
75
75
  type: Array,
@@ -94,30 +94,30 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
94
94
  label: r(e.label)
95
95
  }))
96
96
  })));
97
- return (e, t) => (C(), f("div", oe, [(C(!0), f(c, null, T(a.value, (e) => (C(), f("div", {
97
+ return (e, t) => (C(), f("div", se, [(C(!0), f(c, null, T(a.value, (e) => (C(), f("div", {
98
98
  key: e.key,
99
99
  class: "mwnf-standalone-sponsors__column",
100
100
  style: x(e.width ? { flexGrow: e.width } : void 0)
101
101
  }, [
102
- e.lead || e.text ? (C(), f("p", se, [
102
+ e.lead || e.text ? (C(), f("p", ce, [
103
103
  e.lead ? (C(), f("i", {
104
104
  key: 0,
105
105
  innerHTML: e.lead
106
- }, null, 8, ce)) : d("", !0),
107
- e.lead && e.break ? (C(), f("br", le)) : e.lead && e.text ? (C(), f(c, { key: 2 }, [h(D(" "))], 64)) : d("", !0),
106
+ }, null, 8, le)) : d("", !0),
107
+ e.lead && e.break ? (C(), f("br", ue)) : e.lead && e.text ? (C(), f(c, { key: 2 }, [h(D(" "))], 64)) : d("", !0),
108
108
  e.text ? (C(), f("span", {
109
109
  key: 3,
110
110
  innerHTML: e.text
111
- }, null, 8, ue)) : d("", !0)
111
+ }, null, 8, de)) : d("", !0)
112
112
  ])) : d("", !0),
113
- e.title ? (C(), f("p", de, D(e.title), 1)) : d("", !0),
114
- e.logos.length ? (C(), f("ul", fe, [(C(!0), f(c, null, T(e.logos, (e) => (C(), f("li", { key: e.src }, [e.note ? (C(), f("details", pe, [p("summary", null, [p("img", {
113
+ e.title ? (C(), f("p", fe, D(e.title), 1)) : d("", !0),
114
+ e.logos.length ? (C(), f("ul", pe, [(C(!0), f(c, null, T(e.logos, (e) => (C(), f("li", { key: e.src }, [e.note ? (C(), f("details", me, [p("summary", null, [p("img", {
115
115
  src: e.src,
116
116
  alt: e.alt
117
- }, null, 8, me)]), p("div", {
117
+ }, null, 8, he)]), p("div", {
118
118
  class: "mwnf-standalone-sponsors__note-body",
119
119
  innerHTML: e.note
120
- }, null, 8, he)])) : e.href ? (C(), f("a", {
120
+ }, null, 8, ge)])) : e.href ? (C(), f("a", {
121
121
  key: 1,
122
122
  href: e.href,
123
123
  target: "_blank",
@@ -125,12 +125,12 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
125
125
  }, [p("img", {
126
126
  src: e.src,
127
127
  alt: e.alt
128
- }, null, 8, _e)], 8, ge)) : (C(), f("img", {
128
+ }, null, 8, ve)], 8, _e)) : (C(), f("img", {
129
129
  key: 2,
130
130
  src: e.src,
131
131
  alt: e.alt
132
- }, null, 8, ve))]))), 128))])) : d("", !0),
133
- e.links.length ? (C(), f("ul", ye, [(C(!0), f(c, null, T(e.links, (e) => (C(), f("li", { key: e.label }, [g(n, {
132
+ }, null, 8, ye))]))), 128))])) : d("", !0),
133
+ e.links.length ? (C(), f("ul", be, [(C(!0), f(c, null, T(e.links, (e) => (C(), f("li", { key: e.label }, [g(n, {
134
134
  to: e.to,
135
135
  href: e.href,
136
136
  external: !!e.external
@@ -144,16 +144,16 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
144
144
  ])]))), 128))])) : d("", !0)
145
145
  ], 4))), 128))]));
146
146
  }
147
- }, xe = {
147
+ }, Se = {
148
148
  key: 0,
149
149
  class: "mwnf-standalone mwnf-standalone--bare"
150
- }, Se = { class: "mwnf-banner mwnf-standalone-home-banner" }, Ce = ["src"], we = { class: "mwnf-standalone-home-banner__text" }, Te = {
150
+ }, Ce = { class: "mwnf-banner mwnf-standalone-home-banner" }, we = ["src"], Te = { class: "mwnf-standalone-home-banner__text" }, Ee = {
151
151
  key: 0,
152
152
  class: "mwnf-standalone-home-banner__title"
153
- }, Ee = {
153
+ }, De = {
154
154
  key: 1,
155
155
  class: "mwnf-standalone-home-banner__line"
156
- }, De = ["src"], Oe = {
156
+ }, Oe = ["src"], ke = {
157
157
  __name: "Shell",
158
158
  props: {
159
159
  language: {
@@ -205,7 +205,7 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
205
205
  S.value ? "mwnf-standalone--home" : "mwnf-standalone--inner",
206
206
  w.value?.class ?? ""
207
207
  ]);
208
- return (e, t) => h.value ? (C(), f("div", xe, [E(e.$slots, "default")])) : (C(), u(s, {
208
+ return (e, t) => h.value ? (C(), f("div", Se, [E(e.$slots, "default")])) : (C(), u(s, {
209
209
  key: 1,
210
210
  class: y(V.value),
211
211
  config: R.value,
@@ -233,12 +233,12 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
233
233
  key: "0"
234
234
  } : I.value ? {
235
235
  name: "banner",
236
- fn: P(() => [p("section", Se, [M.value ? (C(), f("img", {
236
+ fn: P(() => [p("section", Ce, [M.value ? (C(), f("img", {
237
237
  key: 0,
238
238
  class: "mwnf-banner__image",
239
239
  src: M.value,
240
240
  alt: ""
241
- }, null, 8, Ce)) : d("", !0), p("div", we, [I.value.title ? (C(), f("h2", Te, [p("i", null, D(I.value.title), 1)])) : d("", !0), I.value.text ? (C(), f("p", Ee, [p("span", null, D(I.value.text), 1)])) : d("", !0)])])]),
241
+ }, null, 8, we)) : d("", !0), p("div", Te, [I.value.title ? (C(), f("h2", Ee, [p("i", null, D(I.value.title), 1)])) : d("", !0), I.value.text ? (C(), f("p", De, [p("span", null, D(I.value.text), 1)])) : d("", !0)])])]),
242
242
  key: "1"
243
243
  } : void 0,
244
244
  A.value ? {
@@ -247,7 +247,7 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
247
247
  class: "mwnf-standalone__print-logo",
248
248
  src: A.value,
249
249
  alt: ""
250
- }, null, 8, De)]),
250
+ }, null, 8, Oe)]),
251
251
  key: "2"
252
252
  } : void 0,
253
253
  e.$slots.sponsors ? {
@@ -256,7 +256,7 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
256
256
  key: "3"
257
257
  } : L.value ? {
258
258
  name: "sponsors",
259
- fn: P(() => [g(be, { columns: L.value.columns }, null, 8, ["columns"])]),
259
+ fn: P(() => [g(xe, { columns: L.value.columns }, null, 8, ["columns"])]),
260
260
  key: "4"
261
261
  } : void 0,
262
262
  e.$slots.footer ? {
@@ -276,19 +276,19 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
276
276
  "footer-text"
277
277
  ]));
278
278
  }
279
- }, ke = {
279
+ }, Ae = {
280
280
  key: 0,
281
281
  class: "mwnf-standalone-highlight"
282
- }, Ae = ["src", "alt"], je = {
282
+ }, je = ["src", "alt"], Me = {
283
283
  key: 1,
284
284
  class: "mwnf-standalone-highlight__heading"
285
- }, Me = { class: "mwnf-standalone-highlight__lines" }, Ne = ["innerHTML"], Pe = {
285
+ }, Ne = { class: "mwnf-standalone-highlight__lines" }, Pe = ["innerHTML"], Fe = {
286
286
  key: 2,
287
287
  class: "mwnf-standalone-highlight__place"
288
- }, Fe = {
288
+ }, Ie = {
289
289
  key: 3,
290
290
  class: "mwnf-standalone-highlight__action"
291
- }, Ie = {
291
+ }, Le = {
292
292
  __name: "TodayHighlight",
293
293
  props: {
294
294
  record: {
@@ -342,7 +342,7 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
342
342
  }
343
343
  return n;
344
344
  }), o = l(() => t.place ?? [i(t.text?.location), t.country].filter(Boolean).join(", ")), s = l(() => t.picture || (t.record?.images?.[0]?.url ?? "")), m = l(() => W(String(t.text?.name ?? t.record?.internal_name ?? "")));
345
- return (t, i) => e.record ? (C(), f("div", ke, [
345
+ return (t, i) => e.record ? (C(), f("div", Ae, [
346
346
  s.value ? (C(), u(n, {
347
347
  key: 0,
348
348
  class: "mwnf-standalone-highlight__media",
@@ -352,28 +352,28 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
352
352
  class: "mwnf-standalone-highlight__image",
353
353
  src: s.value,
354
354
  alt: m.value
355
- }, null, 8, Ae)]),
355
+ }, null, 8, je)]),
356
356
  _: 1
357
357
  }, 8, ["to"])) : d("", !0),
358
- e.heading ? (C(), f("p", je, [p("strong", null, D(O(r)(e.heading)), 1)])) : d("", !0),
359
- p("p", Me, [(C(!0), f(c, null, T(a.value, (e, t) => (C(), f(c, { key: t }, [p("span", { innerHTML: e }, null, 8, Ne), i[0] ||= p("br", null, null, -1)], 64))), 128))]),
360
- o.value ? (C(), f("p", Pe, D(O(W)(o.value)), 1)) : d("", !0),
361
- e.action ? (C(), f("p", Fe, [g(n, { to: e.to }, {
358
+ e.heading ? (C(), f("p", Me, [p("strong", null, D(O(r)(e.heading)), 1)])) : d("", !0),
359
+ p("p", Ne, [(C(!0), f(c, null, T(a.value, (e, t) => (C(), f(c, { key: t }, [p("span", { innerHTML: e }, null, 8, Pe), i[0] ||= p("br", null, null, -1)], 64))), 128))]),
360
+ o.value ? (C(), f("p", Fe, D(O(W)(o.value)), 1)) : d("", !0),
361
+ e.action ? (C(), f("p", Ie, [g(n, { to: e.to }, {
362
362
  default: P(() => [h(D(O(r)(e.action)), 1)]),
363
363
  _: 1
364
364
  }, 8, ["to"])])) : d("", !0)
365
365
  ])) : d("", !0);
366
366
  }
367
- }, Le = {
367
+ }, Re = {
368
368
  key: 0,
369
369
  class: "mwnf-standalone-tiles"
370
- }, Re = {
370
+ }, ze = {
371
371
  key: 0,
372
372
  class: "mwnf-standalone-tiles__caption"
373
- }, ze = { class: "mwnf-standalone-tiles__grid" }, Be = ["src", "alt"], Ve = {
373
+ }, Be = { class: "mwnf-standalone-tiles__grid" }, Ve = ["src", "alt"], He = {
374
374
  key: 0,
375
375
  class: "mwnf-standalone-tiles__label"
376
- }, He = {
376
+ }, Ue = {
377
377
  __name: "TileGrid",
378
378
  props: {
379
379
  caption: {
@@ -391,7 +391,7 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
391
391
  image: i(e.image) ?? "",
392
392
  label: e.text ? W(e.text) : e.label ? r(e.label) : ""
393
393
  })));
394
- return (t, i) => a.value.length ? (C(), f("section", Le, [e.caption ? (C(), f("p", Re, D(O(r)(e.caption)), 1)) : d("", !0), p("ul", ze, [(C(!0), f(c, null, T(a.value, (e) => (C(), f("li", {
394
+ return (t, i) => a.value.length ? (C(), f("section", Re, [e.caption ? (C(), f("p", ze, D(O(r)(e.caption)), 1)) : d("", !0), p("ul", Be, [(C(!0), f(c, null, T(a.value, (e) => (C(), f("li", {
395
395
  key: e.image,
396
396
  class: "mwnf-standalone-tiles__tile"
397
397
  }, [g(n, {
@@ -403,14 +403,14 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
403
403
  class: "mwnf-standalone-tiles__image",
404
404
  src: e.image,
405
405
  alt: e.label
406
- }, null, 8, Be), e.label ? (C(), f("span", Ve, D(e.label), 1)) : d("", !0)]),
406
+ }, null, 8, Ve), e.label ? (C(), f("span", He, D(e.label), 1)) : d("", !0)]),
407
407
  _: 2
408
408
  }, 1032, ["to", "href"])]))), 128))])])) : d("", !0);
409
409
  }
410
- }, Ue = { class: "mwnf-standalone-home" }, We = {
410
+ }, We = { class: "mwnf-standalone-home" }, Ge = {
411
411
  key: 0,
412
412
  class: "mwnf-standalone-home__links"
413
- }, Ge = { key: 1 }, Ke = {
413
+ }, Ke = { key: 1 }, qe = {
414
414
  __name: "Home",
415
415
  props: { home: {
416
416
  type: Object,
@@ -429,7 +429,7 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
429
429
  let _ = L("items", "backward_compatibility"), v = l(() => {
430
430
  let e = p.value?.list ?? [], t = e.indexOf(Q(e));
431
431
  for (let n = 0; t >= 0 && n < e.length; n++) {
432
- let r = _.value.get($(e[(t + n) % e.length]));
432
+ let r = _.value.get(oe(e[(t + n) % e.length]));
433
433
  if (r) return r;
434
434
  }
435
435
  return null;
@@ -446,8 +446,8 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
446
446
  let e = o.value.tiles?.items;
447
447
  return (typeof e == "function" ? e() : e) ?? [];
448
448
  });
449
- return (e, t) => (C(), f("div", Ue, [
450
- s.value.length ? (C(), f("ul", We, [(C(!0), f(c, null, T(s.value, (e) => (C(), f("li", {
449
+ return (e, t) => (C(), f("div", We, [
450
+ s.value.length ? (C(), f("ul", Ge, [(C(!0), f(c, null, T(s.value, (e) => (C(), f("li", {
451
451
  key: e.label,
452
452
  class: y({ "mwnf-standalone-home__link--gap": e.gap })
453
453
  }, [g(n, {
@@ -456,7 +456,7 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
456
456
  external: !!e.external,
457
457
  title: e.title
458
458
  }, {
459
- default: P(() => [e.prefix ? (C(), f(c, { key: 0 }, [h(D(`${e.prefix} `), 1)], 64)) : d("", !0), e.italic ? (C(), f("i", Ge, D(e.label), 1)) : (C(), f(c, { key: 2 }, [h(D(e.label), 1)], 64))]),
459
+ default: P(() => [e.prefix ? (C(), f(c, { key: 0 }, [h(D(`${e.prefix} `), 1)], 64)) : d("", !0), e.italic ? (C(), f("i", Ke, D(e.label), 1)) : (C(), f(c, { key: 2 }, [h(D(e.label), 1)], 64))]),
460
460
  _: 2
461
461
  }, 1032, [
462
462
  "to",
@@ -464,7 +464,7 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
464
464
  "external",
465
465
  "title"
466
466
  ])], 2))), 128))])) : d("", !0),
467
- p.value ? (C(), u(Ie, {
467
+ p.value ? (C(), u(Le, {
468
468
  key: 1,
469
469
  record: v.value,
470
470
  text: b.value,
@@ -486,7 +486,7 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
486
486
  "also-known-as",
487
487
  "action"
488
488
  ])) : d("", !0),
489
- o.value.tiles ? (C(), u(He, {
489
+ o.value.tiles ? (C(), u(Ue, {
490
490
  key: 2,
491
491
  caption: o.value.tiles.caption ?? "",
492
492
  items: A.value
@@ -494,10 +494,97 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
494
494
  E(e.$slots, "default")
495
495
  ]));
496
496
  }
497
- }, qe = { class: "mwnf-standalone-related" }, Je = { class: "mwnf-standalone-related__heading" }, Ye = { class: "mwnf-standalone-related__group-heading" }, Xe = { class: "mwnf-standalone-related__thumbs" }, Ze = ["src", "alt"], Qe = ["innerHTML"], $e = {
497
+ }, Je = "html { height: 100%; margin-bottom: 1px; }\nbody, p, div, td { font: Normal 11px/14px verdana, arial, helvetica; }\nbody { padding: 0px; border: 0px; border-spacing: 0px; margin: 0px auto; }\ndiv { padding: 0px; border: 0px; border-spacing: 0px; margin: 0px; }\np { font: Normal 11px/14px Verdana, Arial, Helvetica; padding: 3px; padding-left: 8px; padding-bottom: 30px; line-height: 1.4em; margin: 0px 0px 10px 0px; }\na, a:link, a:hover, a:visited, a:active { text-decoration: none; }\nh3 { font: Normal 11px/14px Verdana, Arial, Helvetica; padding-left: 8px; padding-right: 8px; font-weight: bold; margin: 0px; }\n.item_description { font-family: Verdana, Arial, Helvetica, sans-serif; padding-top: 25px; padding-bottom: 25px; width: 990px; }", Ye = ".mwnf-sheet__label, .mwnf-sheet-section__heading, .mwnf-credits__heading", Xe = ".mwnf-sheet__value, .mwnf-sheet-section__body, .mwnf-credits__citation, .mwnf-credits__list > dt, .mwnf-credits__number, .mwnf-sheet__short .mwnf-sheet__block", Ze = "button, img, svg, picture, video, audio, iframe, script, style, [role=\"tooltip\"], [aria-hidden=\"true\"]";
498
+ function $(e) {
499
+ return String(e ?? "").replace(/[&<>"]/g, (e) => ({
500
+ "&": "&amp;",
501
+ "<": "&lt;",
502
+ ">": "&gt;",
503
+ "\"": "&quot;"
504
+ })[e]);
505
+ }
506
+ var Qe = /* @__PURE__ */ new Set([
507
+ "I",
508
+ "EM",
509
+ "B",
510
+ "STRONG",
511
+ "U",
512
+ "SUP",
513
+ "SUB"
514
+ ]), $e = /* @__PURE__ */ new Set([
515
+ "P",
516
+ "DIV",
517
+ "LI",
518
+ "UL",
519
+ "OL",
520
+ "SECTION"
521
+ ]);
522
+ function et(e) {
523
+ let t = [[]], n = () => t[t.length - 1], r = () => {
524
+ n().length && t.push([]);
525
+ }, i = (e) => {
526
+ if (e.nodeType === Node.TEXT_NODE) {
527
+ n().push($(e.textContent));
528
+ return;
529
+ }
530
+ if (e.nodeType !== Node.ELEMENT_NODE || e.matches(Ze)) return;
531
+ if (e.tagName === "BR") {
532
+ n().push("<br/>");
533
+ return;
534
+ }
535
+ let t = $e.has(e.tagName), a = Qe.has(e.tagName) ? e.tagName.toLowerCase() : "";
536
+ t && r(), a && n().push(`<${a}>`);
537
+ for (let t of e.childNodes) i(t);
538
+ a && n().push(`</${a}>`), t && r();
539
+ };
540
+ for (let t of e.childNodes) i(t);
541
+ return t.map((e) => e.join("").replace(/\s+/g, " ").trim()).filter(Boolean).join("<br/>\n<br/>");
542
+ }
543
+ function tt(e, { title: t = "", dir: n = "" } = {}) {
544
+ let r = (t) => {
545
+ for (let n = t; n && n !== e.parentElement; n = n.parentElement) if (n.hidden || getComputedStyle(n).display === "none") return !1;
546
+ return !0;
547
+ }, i = [];
548
+ for (let t of e.querySelectorAll(`${Ye}, ${Xe}`)) {
549
+ if (t.closest(".mwnf-standalone-item__left, .mwnf-standalone-related") || !r(t)) continue;
550
+ if (t.matches(".mwnf-credits__list > dt")) {
551
+ let e = t.nextElementSibling;
552
+ i.push(`<p>${$(t.textContent.trim())} ${e ? et(e) : ""}</p>`);
553
+ continue;
554
+ }
555
+ let e = et(t);
556
+ e && i.push(t.matches(Ye) ? `<h3>${e}</h3>` : `<p>${e}</p>`);
557
+ }
558
+ let a = n === "rtl" ? " style=\"direction: rtl;\"" : "";
559
+ return `<html>
560
+ <title>${$(t)}</title>
561
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
562
+ <head>
563
+ <style>
564
+ ${Je}
565
+ </style>
566
+ </head>
567
+ <body>
568
+ <div class="content">
569
+ <div class="item_description">
570
+ <table border="0" cellspacing="0" cellpadding="0"><tr><td valign="top"${a}>
571
+ ${i.join("\n")}
572
+ </td></tr></table>
573
+ </div>
574
+ </div>
575
+ </body>
576
+ </html>`;
577
+ }
578
+ function nt(e, t) {
579
+ let n = URL.createObjectURL(new Blob(["", e], { type: "application/msword" })), r = document.createElement("a");
580
+ r.href = n, r.download = t, document.body.appendChild(r), r.click(), r.remove(), setTimeout(() => URL.revokeObjectURL(n), 0);
581
+ }
582
+ //#endregion
583
+ //#region src/standalone/RelatedContent.vue
584
+ var rt = { class: "mwnf-standalone-related" }, it = { class: "mwnf-standalone-related__heading" }, at = { class: "mwnf-standalone-related__group-heading" }, ot = { class: "mwnf-standalone-related__thumbs" }, st = ["src", "alt"], ct = ["innerHTML"], lt = {
498
585
  key: 0,
499
586
  class: "mwnf-standalone-related__download"
500
- }, et = { class: "mwnf-standalone-related__download-heading" }, tt = {
587
+ }, ut = { class: "mwnf-standalone-related__download-heading" }, dt = {
501
588
  __name: "RelatedContent",
502
589
  props: {
503
590
  heading: {
@@ -515,6 +602,10 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
515
602
  download: {
516
603
  type: Object,
517
604
  default: null
605
+ },
606
+ wordFile: {
607
+ type: String,
608
+ default: "sheet.doc"
518
609
  }
519
610
  },
520
611
  setup(e) {
@@ -525,12 +616,19 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
525
616
  function a() {
526
617
  window.print();
527
618
  }
528
- return (t, o) => (C(), f("aside", qe, [
529
- p("p", Je, [p("strong", null, D(O(r)(e.heading)), 1)]),
619
+ function o(e) {
620
+ let n = e.currentTarget.closest(".mwnf-standalone-item");
621
+ n && nt(tt(n.querySelector(".mwnf-record__main") ?? n, {
622
+ title: t.download?.title ? r(t.download.title) : "",
623
+ dir: getComputedStyle(n).direction
624
+ }), t.wordFile);
625
+ }
626
+ return (t, s) => (C(), f("aside", rt, [
627
+ p("p", it, [p("strong", null, D(O(r)(e.heading)), 1)]),
530
628
  (C(!0), f(c, null, T(i.value, (e) => (C(), f("div", {
531
629
  key: e.heading,
532
630
  class: "mwnf-standalone-related__group"
533
- }, [p("p", Ye, D(e.heading), 1), p("ul", Xe, [(C(!0), f(c, null, T(e.rows, (e) => (C(), f("li", { key: e.id }, [g(n, {
631
+ }, [p("p", at, D(e.heading), 1), p("ul", ot, [(C(!0), f(c, null, T(e.rows, (e) => (C(), f("li", { key: e.id }, [g(n, {
534
632
  to: e.to,
535
633
  title: e.imageAlt
536
634
  }, {
@@ -538,24 +636,33 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
538
636
  key: 0,
539
637
  src: e.image,
540
638
  alt: e.imageAlt
541
- }, null, 8, Ze)) : (C(), f("span", {
639
+ }, null, 8, st)) : (C(), f("span", {
542
640
  key: 1,
543
641
  innerHTML: e.name
544
- }, null, 8, Qe))]),
642
+ }, null, 8, ct))]),
545
643
  _: 2
546
644
  }, 1032, ["to", "title"])]))), 128))])]))), 128)),
547
645
  E(t.$slots, "default"),
548
- e.download ? (C(), f("div", $e, [p("p", et, D(O(r)(e.download.heading)), 1), p("button", {
549
- type: "button",
550
- class: "mwnf-standalone-related__print",
551
- onClick: a
552
- }, D(O(r)(e.download.print)), 1)])) : d("", !0)
646
+ e.download ? (C(), f("div", lt, [
647
+ p("p", ut, D(O(r)(e.download.heading)), 1),
648
+ p("button", {
649
+ type: "button",
650
+ class: "mwnf-standalone-related__print",
651
+ onClick: a
652
+ }, D(O(r)(e.download.print)), 1),
653
+ e.download.word ? (C(), f("button", {
654
+ key: 0,
655
+ type: "button",
656
+ class: "mwnf-standalone-related__print mwnf-standalone-related__word",
657
+ onClick: o
658
+ }, D(O(r)(e.download.word)), 1)) : d("", !0)
659
+ ])) : d("", !0)
553
660
  ]));
554
661
  }
555
- }, nt = { class: "mwnf-standalone-item__top" }, rt = { class: "mwnf-standalone-item__left" }, it = {
662
+ }, ft = { class: "mwnf-standalone-item__top" }, pt = { class: "mwnf-standalone-item__left" }, mt = {
556
663
  key: 0,
557
664
  class: "mwnf-standalone-item__back"
558
- }, at = {
665
+ }, ht = {
559
666
  __name: "ItemSheet",
560
667
  props: {
561
668
  spec: {
@@ -590,12 +697,14 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
590
697
  language: n
591
698
  });
592
699
  let r = W(String(t?.name ?? e?.internal_name ?? ""));
593
- return te(e?.images, n).map((e) => ({
594
- url: e.url,
595
- alt: e.captions?.[n] ?? r,
596
- caption: e.captions?.[n] ?? "",
597
- ...ee(e, n)
598
- }));
700
+ return te(e?.images, n).map((e) => {
701
+ let { photographer: t, copyright: i } = ee(e, n), a = [t ? `${s("record.media.photograph")}: ${t}` : "", i ? `© ${i}` : ""].filter(Boolean).join(", ");
702
+ return {
703
+ url: e.url,
704
+ alt: a || e.captions?.[n] || r,
705
+ caption: e.captions?.[n] ?? ""
706
+ };
707
+ });
599
708
  }
600
709
  let w = l(() => i.back.map((e) => ({
601
710
  ...e,
@@ -616,16 +725,17 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
616
725
  id: e.id,
617
726
  class: "mwnf-standalone-item"
618
727
  }, m({
619
- header: P(({ languages: e, language: n, select: r }) => [p("div", nt, [g(t, {
728
+ header: P(({ languages: e, language: n, select: r }) => [p("div", ft, [g(t, {
620
729
  languages: e,
621
730
  language: n,
731
+ from: 1,
622
732
  onSelect: r
623
733
  }, null, 8, [
624
734
  "languages",
625
735
  "language",
626
736
  "onSelect"
627
737
  ])])]),
628
- "before-sheet": P((e) => [p("div", rt, [w.value.length ? (C(), f("p", it, [(C(!0), f(c, null, T(w.value, (e) => (C(), f(c, { key: e.label }, [e.history ? (C(), f("button", {
738
+ "before-sheet": P((e) => [p("div", pt, [w.value.length ? (C(), f("p", mt, [(C(!0), f(c, null, T(w.value, (e) => (C(), f(c, { key: e.label }, [e.history ? (C(), f("button", {
629
739
  key: 0,
630
740
  type: "button",
631
741
  class: "mwnf-standalone-item__back-link",
@@ -642,11 +752,12 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
642
752
  images: x(e),
643
753
  "thumbs-from": 1
644
754
  }, null, 8, ["images"])]), E(i.$slots, "before-sheet", b(_(e)))]),
645
- related: P((t) => [g(tt, {
755
+ related: P((t) => [g(dt, {
646
756
  heading: e.related.heading ?? "record.related.title",
647
757
  records: t.records,
648
758
  groups: e.related.groups ?? [],
649
- download: e.related.download ?? null
759
+ download: e.related.download ?? null,
760
+ "word-file": e.related.download?.wordFile?.(t.record, t.language) ?? "sheet.doc"
650
761
  }, {
651
762
  default: P(() => [E(i.$slots, "sidebar", b(_(t)))]),
652
763
  _: 2
@@ -654,7 +765,8 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
654
765
  "heading",
655
766
  "records",
656
767
  "groups",
657
- "download"
768
+ "download",
769
+ "word-file"
658
770
  ])]),
659
771
  source: P((e) => [E(i.$slots, "source", b(_(e)))]),
660
772
  _: 2
@@ -663,37 +775,37 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
663
775
  fn: P((t) => [E(i.$slots, e, b(_(t)))])
664
776
  }))]), 1032, ["spec", "id"]));
665
777
  }
666
- }, ot = {
778
+ }, gt = {
667
779
  key: 0,
668
780
  class: "mwnf-standalone-item__top"
669
- }, st = {
781
+ }, _t = {
670
782
  key: 1,
671
783
  hidden: ""
672
- }, ct = {
784
+ }, vt = {
673
785
  key: 0,
674
786
  class: "mwnf-standalone-item__back mwnf-standalone-partner__back"
675
- }, lt = { class: "mwnf-standalone-partner__heading" }, ut = ["dir", "innerHTML"], dt = {
787
+ }, yt = { class: "mwnf-standalone-partner__heading" }, bt = ["dir", "innerHTML"], xt = {
676
788
  key: 0,
677
789
  class: "mwnf-standalone-partner__location"
678
- }, ft = { class: "mwnf-standalone-partner__bar" }, pt = { class: "mwnf-standalone-partner__bar-start" }, mt = ["aria-label", "onKeydown"], ht = [
790
+ }, St = { class: "mwnf-standalone-partner__bar" }, Ct = { class: "mwnf-standalone-partner__bar-start" }, wt = ["aria-label", "onKeydown"], Tt = [
679
791
  "id",
680
792
  "aria-selected",
681
793
  "aria-controls",
682
794
  "tabindex",
683
795
  "onClick"
684
- ], gt = {
796
+ ], Et = {
685
797
  key: 0,
686
798
  class: "mwnf-standalone-partner__divider",
687
799
  "aria-hidden": "true"
688
- }, _t = { key: 0 }, vt = ["href"], yt = { class: "mwnf-standalone-partner__bar-end" }, bt = { class: "mwnf-standalone-partner__body" }, xt = { class: "mwnf-standalone-partner__pictures" }, St = { class: "mwnf-standalone-partner__panels" }, Ct = [
800
+ }, Dt = { key: 0 }, Ot = ["href"], kt = { class: "mwnf-standalone-partner__bar-end" }, At = { class: "mwnf-standalone-partner__body" }, jt = { class: "mwnf-standalone-partner__pictures" }, Mt = { class: "mwnf-standalone-partner__panels" }, Nt = [
689
801
  "id",
690
802
  "aria-labelledby",
691
803
  "dir",
692
804
  "innerHTML"
693
- ], wt = ["id", "aria-labelledby"], Tt = ["innerHTML"], Et = ["href"], Dt = { key: 0 }, Ot = ["href"], kt = ["href"], At = ["id", "aria-labelledby"], jt = ["src"], Mt = {
805
+ ], Pt = ["id", "aria-labelledby"], Ft = ["innerHTML"], It = ["href"], Lt = { key: 0 }, Rt = ["href"], zt = ["href"], Bt = ["id", "aria-labelledby"], Vt = ["src"], Ht = {
694
806
  key: 0,
695
807
  class: "mwnf-standalone-partner__map"
696
- }, Nt = { class: "mwnf-standalone-partner__map-heading" }, Pt = {
808
+ }, Ut = { class: "mwnf-standalone-partner__map-heading" }, Wt = {
697
809
  __name: "PartnerPage",
698
810
  props: {
699
811
  id: {
@@ -786,7 +898,7 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
786
898
  id: e.id,
787
899
  class: "mwnf-standalone-partner"
788
900
  }, {
789
- header: P(({ record: n, languages: r, language: i, select: a }) => [e.bands(n) ? (C(), f("div", ot, [g(t, {
901
+ header: P(({ record: n, languages: r, language: i, select: a }) => [e.bands(n) ? (C(), f("div", gt, [g(t, {
790
902
  languages: r,
791
903
  language: i,
792
904
  onSelect: a
@@ -794,9 +906,9 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
794
906
  "languages",
795
907
  "language",
796
908
  "onSelect"
797
- ])])) : (C(), f("div", st))]),
909
+ ])])) : (C(), f("div", _t))]),
798
910
  "before-sheet": P(({ record: t, text: i, dir: o }) => [(C(!0), f(c, null, T([a.view(t, i)], (a) => (C(), f(c, { key: t.id }, [
799
- E(t).length ? (C(), f("p", ct, [(C(!0), f(c, null, T(E(t), (e) => (C(), f(c, { key: e.label }, [e.history ? (C(), f("button", {
911
+ E(t).length ? (C(), f("p", vt, [(C(!0), f(c, null, T(E(t), (e) => (C(), f(c, { key: e.label }, [e.history ? (C(), f("button", {
800
912
  key: 0,
801
913
  type: "button",
802
914
  class: "mwnf-standalone-item__back-link",
@@ -810,12 +922,12 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
810
922
  default: P(() => [h(D(e.label), 1)]),
811
923
  _: 2
812
924
  }, 1032, ["to", "href"]))], 64))), 128))])) : d("", !0),
813
- p("div", lt, [p("h3", {
925
+ p("div", yt, [p("h3", {
814
926
  class: "mwnf-standalone-partner__name",
815
927
  dir: o || void 0,
816
928
  innerHTML: a.name
817
- }, null, 8, ut), a.location ? (C(), f("h4", dt, [p("i", null, D(a.location), 1)])) : d("", !0)]),
818
- p("div", ft, [p("div", pt, [p("ul", {
929
+ }, null, 8, bt), a.location ? (C(), f("h4", xt, [p("i", null, D(a.location), 1)])) : d("", !0)]),
930
+ p("div", St, [p("div", Ct, [p("ul", {
819
931
  role: "tablist",
820
932
  class: "mwnf-standalone-partner__tabs",
821
933
  "aria-label": a.plainName,
@@ -832,12 +944,12 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
832
944
  "aria-controls": `${O(_)}-panel-${e}`,
833
945
  tabindex: I.value === e ? 0 : -1,
834
946
  onClick: (t) => I.value = e
835
- }, "\xA0" + D(S(e)), 11, ht), n < j(a, t, i).length - 1 || a.contact.website ? (C(), f("span", gt, "\xA0|")) : d("", !0)]))), 128)), a.contact.website ? (C(), f("li", _t, [p("a", {
947
+ }, "\xA0" + D(S(e)), 11, Tt), n < j(a, t, i).length - 1 || a.contact.website ? (C(), f("span", Et, "\xA0|")) : d("", !0)]))), 128)), a.contact.website ? (C(), f("li", Dt, [p("a", {
836
948
  class: "mwnf-standalone-partner__homepage",
837
949
  href: a.contact.website.url,
838
950
  target: "_blank",
839
951
  rel: "noopener"
840
- }, "\xA0" + D(S("homepage")), 9, vt)])) : d("", !0)], 40, mt)]), p("div", yt, [e.items(t) ? (C(), u(n, {
952
+ }, "\xA0" + D(S("homepage")), 9, Ot)])) : d("", !0)], 40, wt)]), p("div", kt, [e.items(t) ? (C(), u(n, {
841
953
  key: 0,
842
954
  class: "mwnf-standalone-partner__items",
843
955
  to: e.items(t).to
@@ -845,10 +957,10 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
845
957
  default: P(() => [h(D(O(s)(e.items(t).label)), 1)]),
846
958
  _: 2
847
959
  }, 1032, ["to"])) : d("", !0)])]),
848
- p("div", bt, [p("div", xt, [a.pictures.length ? (C(), u(r, {
960
+ p("div", At, [p("div", jt, [a.pictures.length ? (C(), u(r, {
849
961
  key: 0,
850
962
  images: R(a)
851
- }, null, 8, ["images"])) : d("", !0)]), p("div", St, [
963
+ }, null, 8, ["images"])) : d("", !0)]), p("div", Mt, [
852
964
  F(p("div", {
853
965
  id: `${O(_)}-panel-about`,
854
966
  class: "mwnf-standalone-partner__panel mwnf-standalone-partner__about",
@@ -856,7 +968,7 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
856
968
  "aria-labelledby": `${O(_)}-tab-about`,
857
969
  dir: o || void 0,
858
970
  innerHTML: a.description
859
- }, null, 8, Ct), [[M, I.value === "about"]]),
971
+ }, null, 8, Nt), [[M, I.value === "about"]]),
860
972
  a.hasContact ? F((C(), f("div", {
861
973
  key: 0,
862
974
  id: `${O(_)}-panel-contact`,
@@ -869,21 +981,21 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
869
981
  a.contact.address ? (C(), f(c, { key: 0 }, [p("span", {
870
982
  class: "mwnf-standalone-partner__address",
871
983
  innerHTML: a.contact.address
872
- }, null, 8, Tt), m[0] ||= p("br", null, null, -1)], 64)) : d("", !0),
984
+ }, null, 8, Ft), m[0] ||= p("br", null, null, -1)], 64)) : d("", !0),
873
985
  a.contact.phone ? (C(), f(c, { key: 1 }, [h(D(S("phone")) + " " + D(a.contact.phone), 1), m[1] ||= p("br", null, null, -1)], 64)) : d("", !0),
874
986
  a.contact.fax ? (C(), f(c, { key: 2 }, [h(D(S("fax")) + " " + D(a.contact.fax), 1), m[2] ||= p("br", null, null, -1)], 64)) : d("", !0),
875
- a.contact.email ? (C(), f(c, { key: 3 }, [p("a", { href: `mailto:${a.contact.email}` }, D(a.contact.email), 9, Et), m[3] ||= p("br", null, null, -1)], 64)) : d("", !0)
876
- ]), z(a).length ? (C(), f("p", Dt, [(C(!0), f(c, null, T(z(a), (e, t) => (C(), f(c, { key: e.url }, [t ? (C(), f(c, { key: 0 }, [h("\xA0|\xA0")], 64)) : d("", !0), p("a", {
987
+ a.contact.email ? (C(), f(c, { key: 3 }, [p("a", { href: `mailto:${a.contact.email}` }, D(a.contact.email), 9, It), m[3] ||= p("br", null, null, -1)], 64)) : d("", !0)
988
+ ]), z(a).length ? (C(), f("p", Lt, [(C(!0), f(c, null, T(z(a), (e, t) => (C(), f(c, { key: e.url }, [t ? (C(), f(c, { key: 0 }, [h("\xA0|\xA0")], 64)) : d("", !0), p("a", {
877
989
  href: e.url,
878
990
  target: "_blank",
879
991
  rel: "noopener"
880
- }, D(e.label), 9, Ot)], 64))), 128))])) : d("", !0)], 64)) : d("", !0), (C(!0), f(c, null, T(a.persons, (e, t) => (C(), f("p", { key: t }, [
992
+ }, D(e.label), 9, Rt)], 64))), 128))])) : d("", !0)], 64)) : d("", !0), (C(!0), f(c, null, T(a.persons, (e, t) => (C(), f("p", { key: t }, [
881
993
  e.title ? (C(), f(c, { key: 0 }, [p("strong", null, D(e.title), 1), m[5] ||= p("br", null, null, -1)], 64)) : d("", !0),
882
994
  e.name ? (C(), f(c, { key: 1 }, [h(D(e.name), 1), m[6] ||= p("br", null, null, -1)], 64)) : d("", !0),
883
995
  e.phone ? (C(), f(c, { key: 2 }, [h(D(S("phone")) + " " + D(e.phone), 1), m[7] ||= p("br", null, null, -1)], 64)) : d("", !0),
884
996
  e.fax ? (C(), f(c, { key: 3 }, [h(D(S("fax")) + " " + D(e.fax), 1), m[8] ||= p("br", null, null, -1)], 64)) : d("", !0),
885
- e.email ? (C(), f(c, { key: 4 }, [p("a", { href: `mailto:${e.email}` }, D(e.email), 9, kt), m[9] ||= p("br", null, null, -1)], 64)) : d("", !0)
886
- ]))), 128))], 8, wt)), [[M, I.value === "contact"]]) : d("", !0),
997
+ e.email ? (C(), f(c, { key: 4 }, [p("a", { href: `mailto:${e.email}` }, D(e.email), 9, zt), m[9] ||= p("br", null, null, -1)], 64)) : d("", !0)
998
+ ]))), 128))], 8, Pt)), [[M, I.value === "contact"]]) : d("", !0),
887
999
  a.logos.length ? F((C(), f("div", {
888
1000
  key: 1,
889
1001
  id: `${O(_)}-panel-logo`,
@@ -894,10 +1006,10 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
894
1006
  key: e.url,
895
1007
  src: e.url,
896
1008
  alt: ""
897
- }, null, 8, jt))), 128))], 8, At)), [[M, I.value === "logo"]]) : d("", !0)
1009
+ }, null, 8, Vt))), 128))], 8, Bt)), [[M, I.value === "logo"]]) : d("", !0)
898
1010
  ])])
899
1011
  ], 64))), 128))]),
900
- after: P(({ record: t, text: n }) => [e.map(t) && a.view(t, n)?.map ? (C(), f("section", Mt, [p("h3", Nt, D(S("map")), 1), g(i, {
1012
+ after: P(({ record: t, text: n }) => [e.map(t) && a.view(t, n)?.map ? (C(), f("section", Ht, [p("h3", Ut, D(S("map")), 1), g(i, {
901
1013
  provider: "google",
902
1014
  latitude: a.view(t, n).map.latitude,
903
1015
  longitude: a.view(t, n).map.longitude,
@@ -914,13 +1026,13 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
914
1026
  _: 1
915
1027
  }, 8, ["id"]));
916
1028
  }
917
- }, Ft = ["innerHTML"], It = {
1029
+ }, Gt = ["innerHTML"], Kt = {
918
1030
  key: 0,
919
1031
  class: "mwnf-standalone-page__link"
920
- }, Lt = {
1032
+ }, qt = {
921
1033
  key: 1,
922
1034
  class: "mwnf-standalone-page__print"
923
- }, Rt = {
1035
+ }, Jt = {
924
1036
  __name: "TextPage",
925
1037
  props: {
926
1038
  body: {
@@ -949,25 +1061,25 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
949
1061
  p("div", {
950
1062
  class: "mwnf-standalone-page__body",
951
1063
  innerHTML: i.value
952
- }, null, 8, Ft),
953
- e.link ? (C(), f("p", It, [g(n, {
1064
+ }, null, 8, Gt),
1065
+ e.link ? (C(), f("p", Kt, [g(n, {
954
1066
  to: e.link.to,
955
1067
  href: e.link.href
956
1068
  }, {
957
1069
  default: P(() => [p("strong", null, D(e.link.text ?? O(r)(e.link.label)), 1)]),
958
1070
  _: 1
959
1071
  }, 8, ["to", "href"])])) : d("", !0),
960
- e.print ? (C(), f("p", Lt, [p("button", {
1072
+ e.print ? (C(), f("p", qt, [p("button", {
961
1073
  type: "button",
962
1074
  class: "mwnf-standalone-page__print-button",
963
1075
  onClick: a
964
1076
  }, D(O(r)(e.print)), 1)])) : d("", !0)
965
1077
  ], 2));
966
1078
  }
967
- }, zt = {
1079
+ }, Yt = {
968
1080
  key: 0,
969
1081
  class: "mwnf-standalone-subnav"
970
- }, Bt = { class: "mwnf-standalone-subnav__tabs" }, Vt = {
1082
+ }, Xt = { class: "mwnf-standalone-subnav__tabs" }, Zt = {
971
1083
  __name: "SubNav",
972
1084
  props: {
973
1085
  tabs: {
@@ -984,7 +1096,7 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
984
1096
  ...e,
985
1097
  label: r(e.label)
986
1098
  })));
987
- return (t, a) => i.value.length || e.aside ? (C(), f("nav", zt, [p("ul", Bt, [(C(!0), f(c, null, T(i.value, (e) => (C(), f("li", { key: e.label }, [g(n, {
1099
+ return (t, a) => i.value.length || e.aside ? (C(), f("nav", Yt, [p("ul", Xt, [(C(!0), f(c, null, T(i.value, (e) => (C(), f("li", { key: e.label }, [g(n, {
988
1100
  to: e.to,
989
1101
  href: e.href,
990
1102
  class: y(["mwnf-standalone-subnav__tab", { "mwnf-standalone-subnav__tab--active": e.active }]),
@@ -1007,13 +1119,13 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
1007
1119
  _: 1
1008
1120
  }, 8, ["to", "href"])) : d("", !0)])) : d("", !0);
1009
1121
  }
1010
- }, Ht = { class: "mwnf-standalone-results" }, Ut = {
1122
+ }, Qt = { class: "mwnf-standalone-results" }, $t = {
1011
1123
  key: 0,
1012
1124
  class: "mwnf-standalone-results__empty"
1013
- }, Wt = { class: "mwnf-standalone-results__tile" }, Gt = ["src"], Kt = { class: "mwnf-standalone-results__panel" }, qt = ["src"], Jt = { class: "mwnf-standalone-results__name" }, Yt = ["innerHTML"], Xt = ["innerHTML"], Zt = {
1125
+ }, en = { class: "mwnf-standalone-results__tile" }, tn = ["src"], nn = { class: "mwnf-standalone-results__panel" }, rn = ["src"], an = { class: "mwnf-standalone-results__name" }, on = ["innerHTML"], sn = ["innerHTML"], cn = {
1014
1126
  key: 0,
1015
1127
  class: "mwnf-standalone-results__holder"
1016
- }, Qt = ["innerHTML"], $t = ["innerHTML"], en = {
1128
+ }, ln = ["innerHTML"], un = ["innerHTML"], dn = {
1017
1129
  __name: "ResultsGrid",
1018
1130
  props: {
1019
1131
  rows: {
@@ -1034,10 +1146,10 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
1034
1146
  }
1035
1147
  },
1036
1148
  setup(e) {
1037
- return (t, r) => (C(), f("div", Ht, [e.rows.length ? d("", !0) : (C(), f("p", Ut, D(e.empty), 1)), (C(!0), f(c, null, T(e.rows, (t) => (C(), f("div", {
1149
+ return (t, r) => (C(), f("div", Qt, [e.rows.length ? d("", !0) : (C(), f("p", $t, D(e.empty), 1)), (C(!0), f(c, null, T(e.rows, (t) => (C(), f("div", {
1038
1150
  key: t.id,
1039
1151
  class: "mwnf-standalone-results__cell"
1040
- }, [p("div", Wt, [g(n, {
1152
+ }, [p("div", en, [g(n, {
1041
1153
  class: "mwnf-standalone-results__frame",
1042
1154
  to: t.to,
1043
1155
  href: t.href
@@ -1045,9 +1157,9 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
1045
1157
  default: P(() => [p("img", {
1046
1158
  src: t.image || e.noImage,
1047
1159
  alt: ""
1048
- }, null, 8, Gt)]),
1160
+ }, null, 8, tn)]),
1049
1161
  _: 2
1050
- }, 1032, ["to", "href"]), p("div", Kt, [
1162
+ }, 1032, ["to", "href"]), p("div", nn, [
1051
1163
  g(n, {
1052
1164
  class: "mwnf-standalone-results__panel-frame",
1053
1165
  to: t.to,
@@ -1056,25 +1168,25 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
1056
1168
  default: P(() => [p("img", {
1057
1169
  src: t.image || e.noImage,
1058
1170
  alt: ""
1059
- }, null, 8, qt)]),
1171
+ }, null, 8, rn)]),
1060
1172
  _: 2
1061
1173
  }, 1032, ["to", "href"]),
1062
- p("p", Jt, [p("strong", null, [g(n, {
1174
+ p("p", an, [p("strong", null, [g(n, {
1063
1175
  to: t.to,
1064
1176
  href: t.href
1065
1177
  }, {
1066
- default: P(() => [p("span", { innerHTML: t.name }, null, 8, Yt)]),
1178
+ default: P(() => [p("span", { innerHTML: t.name }, null, 8, on)]),
1067
1179
  _: 2
1068
1180
  }, 1032, ["to", "href"])])]),
1069
1181
  (C(!0), f(c, null, T(t.lines ?? [], (e, t) => (C(), f("p", {
1070
1182
  key: t,
1071
1183
  innerHTML: e
1072
- }, null, 8, Xt))), 128)),
1073
- t.holder ? (C(), f("p", Zt, [p("strong", { innerHTML: t.holder }, null, 8, Qt)])) : d("", !0),
1184
+ }, null, 8, sn))), 128)),
1185
+ t.holder ? (C(), f("p", cn, [p("strong", { innerHTML: t.holder }, null, 8, ln)])) : d("", !0),
1074
1186
  t.location ? (C(), f("p", {
1075
1187
  key: 1,
1076
1188
  innerHTML: t.location
1077
- }, null, 8, $t)) : d("", !0),
1189
+ }, null, 8, un)) : d("", !0),
1078
1190
  p("p", null, [g(n, {
1079
1191
  class: "mwnf-standalone-results__see",
1080
1192
  to: t.to,
@@ -1085,10 +1197,10 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
1085
1197
  }, 8, ["to", "href"])])
1086
1198
  ])])]))), 128))]));
1087
1199
  }
1088
- }, tn = {
1200
+ }, fn = {
1089
1201
  key: 0,
1090
1202
  class: "mwnf-standalone-pages"
1091
- }, nn = { class: "mwnf-standalone-pages__previous" }, rn = ["aria-current", "onClick"], an = { class: "mwnf-standalone-pages__next" }, on = {
1203
+ }, pn = { class: "mwnf-standalone-pages__previous" }, mn = ["aria-current", "onClick"], hn = { class: "mwnf-standalone-pages__next" }, gn = {
1092
1204
  __name: "Pagination",
1093
1205
  props: {
1094
1206
  pageInfo: {
@@ -1118,8 +1230,8 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
1118
1230
  function s(e) {
1119
1231
  e >= 1 && e <= a.value && e !== i.value && r("navigate", e);
1120
1232
  }
1121
- return (t, n) => a.value > 1 ? (C(), f("nav", tn, [
1122
- p("span", nn, [i.value > 1 ? (C(), f("a", {
1233
+ return (t, n) => a.value > 1 ? (C(), f("nav", fn, [
1234
+ p("span", pn, [i.value > 1 ? (C(), f("a", {
1123
1235
  key: 0,
1124
1236
  href: "#",
1125
1237
  onClick: n[0] ||= I((e) => s(i.value - 1), ["prevent"])
@@ -1130,18 +1242,18 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
1130
1242
  class: y(["mwnf-standalone-pages__number", { "mwnf-standalone-pages__number--active": e === i.value }]),
1131
1243
  "aria-current": e === i.value ? "page" : void 0,
1132
1244
  onClick: I((t) => s(e), ["prevent"])
1133
- }, D(e), 11, rn))), 128)),
1134
- p("span", an, [i.value < a.value ? (C(), f("a", {
1245
+ }, D(e), 11, mn))), 128)),
1246
+ p("span", hn, [i.value < a.value ? (C(), f("a", {
1135
1247
  key: 0,
1136
1248
  href: "#",
1137
1249
  onClick: n[1] ||= I((e) => s(i.value + 1), ["prevent"])
1138
1250
  }, D(e.nextLabel), 1)) : (C(), f(c, { key: 1 }, [h(D(e.nextLabel), 1)], 64))])
1139
1251
  ])) : d("", !0);
1140
1252
  }
1141
- }, sn = ["disabled", "aria-label"], cn = { class: "mwnf-standalone-slider__track" }, ln = ["src", "alt"], un = {
1253
+ }, _n = ["disabled", "aria-label"], vn = { class: "mwnf-standalone-slider__track" }, yn = ["src", "alt"], bn = {
1142
1254
  key: 0,
1143
1255
  class: "mwnf-standalone-slider__label"
1144
- }, dn = ["disabled", "aria-label"], fn = {
1256
+ }, xn = ["disabled", "aria-label"], Sn = {
1145
1257
  __name: "Slider",
1146
1258
  props: {
1147
1259
  slides: {
@@ -1178,8 +1290,8 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
1178
1290
  disabled: a.value === 0,
1179
1291
  "aria-label": O(r)(e.previousLabel),
1180
1292
  onClick: i[0] ||= (e) => a.value = Math.max(0, a.value - 1)
1181
- }, "‹", 8, sn),
1182
- p("ul", cn, [(C(!0), f(c, null, T(s.value, (e) => (C(), f("li", {
1293
+ }, "‹", 8, _n),
1294
+ p("ul", vn, [(C(!0), f(c, null, T(s.value, (e) => (C(), f("li", {
1183
1295
  key: e.image,
1184
1296
  class: "mwnf-standalone-slider__slide"
1185
1297
  }, [g(n, {
@@ -1189,7 +1301,7 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
1189
1301
  default: P(() => [p("img", {
1190
1302
  src: e.image,
1191
1303
  alt: e.label
1192
- }, null, 8, ln), e.label ? (C(), f("span", un, D(e.label), 1)) : d("", !0)]),
1304
+ }, null, 8, yn), e.label ? (C(), f("span", bn, D(e.label), 1)) : d("", !0)]),
1193
1305
  _: 2
1194
1306
  }, 1032, ["to", "href"])]))), 128))]),
1195
1307
  p("button", {
@@ -1198,10 +1310,10 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
1198
1310
  disabled: a.value >= o.value,
1199
1311
  "aria-label": O(r)(e.nextLabel),
1200
1312
  onClick: i[1] ||= (e) => a.value = Math.min(o.value, a.value + 1)
1201
- }, "›", 8, dn)
1313
+ }, "›", 8, xn)
1202
1314
  ], 4)) : d("", !0);
1203
1315
  }
1204
- }, pn = ["dir"], mn = { class: "mwnf-standalone-window__box" }, hn = { class: "mwnf-standalone-window__header" }, gn = { class: "mwnf-standalone-window__heading" }, _n = ["aria-label"], vn = { class: "mwnf-standalone-window__article" }, yn = {
1316
+ }, Cn = ["dir"], wn = { class: "mwnf-standalone-window__box" }, Tn = { class: "mwnf-standalone-window__header" }, En = { class: "mwnf-standalone-window__heading" }, Dn = ["aria-label"], On = { class: "mwnf-standalone-window__article" }, kn = {
1205
1317
  __name: "Window",
1206
1318
  props: {
1207
1319
  heading: {
@@ -1224,21 +1336,21 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
1224
1336
  return (n, r) => (C(), f("div", {
1225
1337
  class: "mwnf-standalone-window",
1226
1338
  dir: e.dir || void 0
1227
- }, [p("div", mn, [p("header", hn, [p("h1", gn, D(e.heading), 1), p("button", {
1339
+ }, [p("div", wn, [p("header", Tn, [p("h1", En, D(e.heading), 1), p("button", {
1228
1340
  type: "button",
1229
1341
  class: "mwnf-standalone-window__close",
1230
1342
  "aria-label": e.closeLabel || void 0,
1231
1343
  onClick: t
1232
- }, "×", 8, _n)]), p("article", vn, [E(n.$slots, "default")])])], 8, pn));
1344
+ }, "×", 8, Dn)]), p("article", On, [E(n.$slots, "default")])])], 8, Cn));
1233
1345
  }
1234
- }, bn = { class: "mwnf-standalone-glossary" }, xn = { class: "mwnf-standalone-glossary__intro" }, Sn = { class: "mwnf-standalone-glossary__body" }, Cn = { class: "mwnf-standalone-glossary__field" }, wn = ["aria-expanded", "aria-label"], Tn = {
1346
+ }, An = { class: "mwnf-standalone-glossary" }, jn = { class: "mwnf-standalone-glossary__intro" }, Mn = { class: "mwnf-standalone-glossary__body" }, Nn = { class: "mwnf-standalone-glossary__field" }, Pn = ["aria-expanded", "aria-label"], Fn = {
1235
1347
  key: 0,
1236
1348
  class: "mwnf-standalone-glossary__suggestions",
1237
1349
  role: "listbox"
1238
- }, En = ["aria-selected", "onMousedown"], Dn = {
1350
+ }, In = ["aria-selected", "onMousedown"], Ln = {
1239
1351
  class: "mwnf-standalone-glossary__result",
1240
1352
  "aria-live": "polite"
1241
- }, On = { class: "mwnf-standalone-glossary__label" }, kn = ["innerHTML"], An = { class: "mwnf-standalone-glossary__label mwnf-standalone-glossary__label--spellings" }, jn = { class: "mwnf-standalone-glossary__note" }, Mn = { class: "mwnf-standalone-glossary__spellings" }, Nn = {
1353
+ }, Rn = { class: "mwnf-standalone-glossary__label" }, zn = ["innerHTML"], Bn = { class: "mwnf-standalone-glossary__label mwnf-standalone-glossary__label--spellings" }, Vn = { class: "mwnf-standalone-glossary__note" }, Hn = { class: "mwnf-standalone-glossary__spellings" }, Un = {
1242
1354
  __name: "GlossarySpelling",
1243
1355
  props: {
1244
1356
  language: {
@@ -1294,12 +1406,12 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
1294
1406
  let t = h.value;
1295
1407
  t.length && (e.key === "ArrowDown" ? (e.preventDefault(), s.value = (s.value + 1) % t.length) : e.key === "ArrowUp" ? (e.preventDefault(), s.value = (s.value - 1 + t.length) % t.length) : e.key === "Enter" && s.value >= 0 && (e.preventDefault(), v(t[s.value])));
1296
1408
  }
1297
- return (t, n) => (C(), u(yn, {
1409
+ return (t, n) => (C(), u(kn, {
1298
1410
  heading: e.labels.heading,
1299
1411
  "close-label": e.labels.close,
1300
1412
  dir: e.dir
1301
1413
  }, {
1302
- default: P(() => [p("div", bn, [p("h2", xn, D(e.labels.intro), 1), p("div", Sn, [p("div", Cn, [F(p("input", {
1414
+ default: P(() => [p("div", An, [p("h2", jn, D(e.labels.intro), 1), p("div", Mn, [p("div", Nn, [F(p("input", {
1303
1415
  "onUpdate:modelValue": n[0] ||= (e) => a.value = e,
1304
1416
  type: "text",
1305
1417
  class: "mwnf-standalone-glossary__input",
@@ -1309,19 +1421,19 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
1309
1421
  "aria-label": e.labels.heading,
1310
1422
  onInput: b,
1311
1423
  onKeydown: x
1312
- }, null, 40, wn), [[j, a.value]]), h.value.length ? (C(), f("ul", Tn, [(C(!0), f(c, null, T(h.value, (e, t) => (C(), f("li", {
1424
+ }, null, 40, Pn), [[j, a.value]]), h.value.length ? (C(), f("ul", Fn, [(C(!0), f(c, null, T(h.value, (e, t) => (C(), f("li", {
1313
1425
  key: e.spelling,
1314
1426
  role: "option",
1315
1427
  "aria-selected": t === s.value,
1316
1428
  class: y(["mwnf-standalone-glossary__suggestion", { "mwnf-standalone-glossary__suggestion--active": t === s.value }]),
1317
1429
  onMousedown: I((t) => v(e), ["prevent"])
1318
- }, D(e.spelling), 43, En))), 128))])) : d("", !0)]), p("div", Dn, [o.value ? (C(), f(c, { key: 0 }, [g.value ? (C(), f(c, { key: 0 }, [p("h3", On, D(e.labels.definition), 1), p("div", {
1430
+ }, D(e.spelling), 43, In))), 128))])) : d("", !0)]), p("div", Ln, [o.value ? (C(), f(c, { key: 0 }, [g.value ? (C(), f(c, { key: 0 }, [p("h3", Rn, D(e.labels.definition), 1), p("div", {
1319
1431
  class: "mwnf-standalone-glossary__definition",
1320
1432
  innerHTML: g.value
1321
- }, null, 8, kn)], 64)) : d("", !0), _.value.length ? (C(), f(c, { key: 1 }, [
1322
- p("h3", An, D(e.labels.spellings), 1),
1323
- p("p", jn, D(e.labels.spellingsNote), 1),
1324
- p("ul", Mn, [(C(!0), f(c, null, T(_.value, (e) => (C(), f("li", { key: e }, D(e), 1))), 128))])
1433
+ }, null, 8, zn)], 64)) : d("", !0), _.value.length ? (C(), f(c, { key: 1 }, [
1434
+ p("h3", Bn, D(e.labels.spellings), 1),
1435
+ p("p", Vn, D(e.labels.spellingsNote), 1),
1436
+ p("ul", Hn, [(C(!0), f(c, null, T(_.value, (e) => (C(), f("li", { key: e }, D(e), 1))), 128))])
1325
1437
  ], 64)) : d("", !0)], 64)) : d("", !0)])])])]),
1326
1438
  _: 1
1327
1439
  }, 8, [
@@ -1332,4 +1444,4 @@ var oe = { class: "mwnf-standalone-sponsors" }, se = {
1332
1444
  }
1333
1445
  };
1334
1446
  //#endregion
1335
- export { tt as RelatedContent, J as StandaloneBanner, Nn as StandaloneGlossarySpelling, Ke as StandaloneHome, at as StandaloneItemSheet, on as StandalonePagination, Pt as StandalonePartnerPage, en as StandaloneResultsGrid, Oe as StandaloneShell, fn as StandaloneSlider, be as StandaloneSponsors, Vt as StandaloneSubNav, Rt as StandaloneTextPage, He as StandaloneTileGrid, yn as StandaloneWindow, Ie as TodayHighlight, X as byLanguage, Z as dayOfYear, $ as legacyHomeItemKey, Q as pickForDay };
1447
+ export { dt as RelatedContent, J as StandaloneBanner, Un as StandaloneGlossarySpelling, qe as StandaloneHome, ht as StandaloneItemSheet, gn as StandalonePagination, Wt as StandalonePartnerPage, dn as StandaloneResultsGrid, ke as StandaloneShell, Sn as StandaloneSlider, xe as StandaloneSponsors, Zt as StandaloneSubNav, Jt as StandaloneTextPage, Ue as StandaloneTileGrid, kn as StandaloneWindow, Le as TodayHighlight, X as byLanguage, Z as dayOfYear, oe as legacyHomeItemKey, Q as pickForDay };