@museumwnf/viewer-layout 3.9.0 → 3.11.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.
@@ -39,7 +39,7 @@ var w = {
39
39
  ], le = {
40
40
  key: 3,
41
41
  class: "mwnf-header__languages"
42
- }, ue = { class: "mwnf-header__language-label" }, de = ["value"], fe = ["value"], N = {
42
+ }, N = { class: "mwnf-header__language-label" }, P = ["value"], F = ["value"], I = {
43
43
  __name: "AppHeader",
44
44
  props: {
45
45
  title: {
@@ -101,19 +101,19 @@ var w = {
101
101
  },
102
102
  emits: ["search", "update:language"],
103
103
  setup(o, { emit: c }) {
104
- let S = o, N = c, P = _(), { t: F } = C(), I = t(() => S.languages.map((e) => typeof e == "string" ? {
104
+ let S = o, I = c, L = _(), { t: R } = C(), z = t(() => S.languages.map((e) => typeof e == "string" ? {
105
105
  code: e,
106
106
  label: e
107
- } : e)), L = t(() => S.languageStyle && I.value.length > 1);
108
- function R() {
109
- return !!(P.default || P.brand || S.title || S.subtitle || S.eyebrow || S.brand || S.brandLogo?.src || S.logos.length || S.links.length || S.search || L.value);
107
+ } : e)), B = t(() => S.languageStyle && z.value.length > 1);
108
+ function V() {
109
+ return !!(L.default || L.brand || S.title || S.subtitle || S.eyebrow || S.brand || S.brandLogo?.src || S.logos.length || S.links.length || S.search || B.value);
110
110
  }
111
- let z = d("");
112
- function B() {
113
- N("search", z.value), z.value = "";
111
+ let H = d("");
112
+ function U() {
113
+ I("search", H.value), H.value = "";
114
114
  }
115
- return (t, c) => R() ? (u(), i("header", w, [p(t.$slots, "default", {}, () => [a("div", T, [
116
- g(P).brand || o.brand || o.brandLogo?.src || o.logos.length ? (u(), i("div", E, [g(P).brand || o.brand || o.brandLogo?.src ? (u(), n(m(o.home ? "a" : "span"), {
115
+ return (t, c) => V() ? (u(), i("header", w, [p(t.$slots, "default", {}, () => [a("div", T, [
116
+ g(L).brand || o.brand || o.brandLogo?.src || o.logos.length ? (u(), i("div", E, [g(L).brand || o.brand || o.brandLogo?.src ? (u(), n(m(o.home ? "a" : "span"), {
117
117
  key: 0,
118
118
  class: "mwnf-header__home",
119
119
  href: o.home || void 0
@@ -155,7 +155,7 @@ var w = {
155
155
  ]),
156
156
  _: 1
157
157
  }, 8, ["href"])) : r("", !0),
158
- o.links.length || o.search || L.value ? (u(), i("div", ne, [
158
+ o.links.length || o.search || B.value ? (u(), i("div", ne, [
159
159
  o.links.length ? (u(), i("ul", re, [(u(!0), i(e, null, f(o.links, (e) => (u(), i("li", { key: e.href ?? e.label }, [a("a", {
160
160
  class: "mwnf-header__link",
161
161
  href: e.href,
@@ -166,76 +166,76 @@ var w = {
166
166
  key: 1,
167
167
  class: "mwnf-header__search",
168
168
  role: "search",
169
- onSubmit: x(B, ["prevent"])
169
+ onSubmit: x(U, ["prevent"])
170
170
  }, [b(a("input", {
171
- "onUpdate:modelValue": c[0] ||= (e) => z.value = e,
171
+ "onUpdate:modelValue": c[0] ||= (e) => H.value = e,
172
172
  class: "mwnf-header__search-input",
173
173
  type: "search",
174
174
  placeholder: o.search.placeholder ?? "",
175
175
  "aria-label": o.search.placeholder ?? o.search.submitLabel ?? ""
176
- }, null, 8, ae), [[v, z.value]]), a("button", {
176
+ }, null, 8, ae), [[v, H.value]]), a("button", {
177
177
  class: "mwnf-header__search-submit",
178
178
  type: "submit",
179
179
  "aria-label": o.search.submitLabel ?? ""
180
180
  }, h(o.search.submitText ?? "⌕"), 9, oe)], 32)) : r("", !0),
181
- L.value && o.languageStyle === "buttons" ? (u(), i("div", {
181
+ B.value && o.languageStyle === "buttons" ? (u(), i("div", {
182
182
  key: 2,
183
183
  class: "mwnf-header__languages",
184
184
  role: "group",
185
- "aria-label": g(F)("layout.language.label")
186
- }, [(u(!0), i(e, null, f(I.value, (e) => (u(), i("button", {
185
+ "aria-label": g(R)("layout.language.label")
186
+ }, [(u(!0), i(e, null, f(z.value, (e) => (u(), i("button", {
187
187
  key: e.code,
188
188
  type: "button",
189
189
  class: l(["mwnf-header__language", { "mwnf-header__language--active": e.code === o.language }]),
190
190
  "aria-pressed": e.code === o.language ? "true" : "false",
191
191
  lang: e.code,
192
- onClick: (t) => N("update:language", e.code)
193
- }, h(e.label), 11, ce))), 128))], 8, se)) : L.value ? (u(), i("label", le, [a("span", ue, h(g(F)("layout.language.label")), 1), a("select", {
192
+ onClick: (t) => I("update:language", e.code)
193
+ }, h(e.label), 11, ce))), 128))], 8, se)) : B.value ? (u(), i("label", le, [a("span", N, h(g(R)("layout.language.label")), 1), a("select", {
194
194
  class: "mwnf-header__language-select",
195
195
  value: o.language,
196
- onChange: c[1] ||= (e) => N("update:language", e.target.value)
197
- }, [(u(!0), i(e, null, f(I.value, (e) => (u(), i("option", {
196
+ onChange: c[1] ||= (e) => I("update:language", e.target.value)
197
+ }, [(u(!0), i(e, null, f(z.value, (e) => (u(), i("option", {
198
198
  key: e.code,
199
199
  value: e.code
200
- }, h(e.label), 9, fe))), 128))], 40, de)])) : r("", !0)
200
+ }, h(e.label), 9, F))), 128))], 40, P)])) : r("", !0)
201
201
  ])) : r("", !0)
202
202
  ])])])) : r("", !0);
203
203
  }
204
- }, P = ["src", "alt"], F = {
204
+ }, L = ["src", "alt"], R = {
205
205
  key: 1,
206
206
  class: "mwnf-banner__text"
207
- }, I = {
207
+ }, z = {
208
208
  key: 1,
209
209
  class: "mwnf-banner__frame"
210
- }, L = { class: "mwnf-banner__media" }, R = ["src", "alt"], z = {
210
+ }, B = { class: "mwnf-banner__media" }, V = ["src", "alt"], H = {
211
211
  key: 1,
212
212
  class: "mwnf-banner__fallback",
213
213
  "aria-hidden": "true"
214
- }, B = {
214
+ }, U = {
215
215
  key: 2,
216
216
  class: "mwnf-banner__caption"
217
- }, V = { class: "mwnf-banner__caption-name" }, pe = {
217
+ }, W = { class: "mwnf-banner__caption-name" }, ue = {
218
218
  key: 0,
219
219
  class: "mwnf-banner__caption-rest"
220
- }, me = { class: "mwnf-banner__body" }, he = {
220
+ }, de = { class: "mwnf-banner__body" }, fe = {
221
221
  key: 0,
222
222
  class: "mwnf-banner__eyebrow"
223
- }, ge = ["href", "aria-label"], _e = {
223
+ }, pe = ["href", "aria-label"], me = {
224
224
  key: 2,
225
225
  class: "mwnf-banner__subtitle"
226
- }, ve = ["innerHTML"], ye = ["href", "aria-label"], be = {
226
+ }, he = ["innerHTML"], ge = ["href", "aria-label"], _e = {
227
227
  key: 5,
228
228
  class: "mwnf-banner__strapline"
229
- }, xe = {
229
+ }, ve = {
230
230
  key: 6,
231
231
  class: "mwnf-banner__text"
232
- }, Se = {
232
+ }, ye = {
233
233
  key: 7,
234
234
  class: "mwnf-banner__caption"
235
- }, Ce = { class: "mwnf-banner__caption-name" }, we = {
235
+ }, be = { class: "mwnf-banner__caption-name" }, xe = {
236
236
  key: 0,
237
237
  class: "mwnf-banner__caption-rest"
238
- }, H = {
238
+ }, G = {
239
239
  __name: "AppBanner",
240
240
  props: {
241
241
  variant: {
@@ -300,8 +300,9 @@ var w = {
300
300
  let e = c.caption;
301
301
  if (!e) return null;
302
302
  let t = typeof e == "string" ? e : e.name ?? "", n = typeof e == "string" ? "" : [
303
- e.partner,
303
+ e.holder ?? e.partner,
304
304
  e.location,
305
+ e.province,
305
306
  e.country
306
307
  ].filter(Boolean).join(", ");
307
308
  return {
@@ -312,14 +313,14 @@ var w = {
312
313
  return (t, c) => g() ? (u(), i("section", {
313
314
  key: 0,
314
315
  class: l(["mwnf-banner", o.variant ? `mwnf-banner--${o.variant}` : ""])
315
- }, [p(t.$slots, "default", {}, () => [o.variant ? (u(), i("div", I, [a("div", L, [o.image && !C.value ? (u(), i("img", {
316
+ }, [p(t.$slots, "default", {}, () => [o.variant ? (u(), i("div", z, [a("div", B, [o.image && !C.value ? (u(), i("img", {
316
317
  key: 0,
317
318
  class: "mwnf-banner__image",
318
319
  src: o.image,
319
320
  alt: x.value,
320
321
  onError: c[0] ||= (e) => C.value = !0
321
- }, null, 40, R)) : (u(), i("div", z)), b.value && o.variant !== "section" ? (u(), i("p", B, [a("span", V, h(b.value.name), 1), b.value.rest ? (u(), i("span", pe, h(b.value.rest), 1)) : r("", !0)])) : r("", !0)]), a("div", me, [
322
- o.eyebrow ? (u(), i("p", he, h(o.eyebrow), 1)) : r("", !0),
322
+ }, null, 40, V)) : (u(), i("div", H)), b.value && o.variant !== "section" ? (u(), i("p", U, [a("span", W, h(b.value.name), 1), b.value.rest ? (u(), i("span", ue, h(b.value.rest), 1)) : r("", !0)])) : r("", !0)]), a("div", de, [
323
+ o.eyebrow ? (u(), i("p", fe, h(o.eyebrow), 1)) : r("", !0),
323
324
  o.title ? (u(), n(m(o.titleHref ? "a" : "p"), {
324
325
  key: 1,
325
326
  class: "mwnf-banner__title",
@@ -330,58 +331,58 @@ var w = {
330
331
  class: "mwnf-banner__enter",
331
332
  href: o.enter.href,
332
333
  "aria-label": o.enter.ariaLabel
333
- }, h(o.enter.label), 9, ge)) : r("", !0)]),
334
+ }, h(o.enter.label), 9, pe)) : r("", !0)]),
334
335
  _: 1
335
336
  }, 8, ["href"])) : r("", !0),
336
- o.subtitle ? (u(), i("p", _e, h(o.subtitle), 1)) : r("", !0),
337
+ o.subtitle ? (u(), i("p", me, h(o.subtitle), 1)) : r("", !0),
337
338
  v.value ? (u(), i("div", {
338
339
  key: 3,
339
340
  class: "mwnf-banner__headline",
340
341
  innerHTML: v.value
341
- }, null, 8, ve)) : r("", !0),
342
+ }, null, 8, he)) : r("", !0),
342
343
  o.variant !== "strip" && o.enter ? (u(), i("a", {
343
344
  key: 4,
344
345
  class: "mwnf-banner__enter",
345
346
  href: o.enter.href,
346
347
  "aria-label": o.enter.ariaLabel
347
- }, h(o.enter.label), 9, ye)) : r("", !0),
348
- o.strapline ? (u(), i("p", be, h(o.strapline), 1)) : r("", !0),
349
- o.text ? (u(), i("p", xe, h(o.text), 1)) : r("", !0),
350
- b.value && o.variant === "section" ? (u(), i("p", Se, [a("span", Ce, h(b.value.name), 1), b.value.rest ? (u(), i("span", we, h(b.value.rest), 1)) : r("", !0)])) : r("", !0)
348
+ }, h(o.enter.label), 9, ge)) : r("", !0),
349
+ o.strapline ? (u(), i("p", _e, h(o.strapline), 1)) : r("", !0),
350
+ o.text ? (u(), i("p", ve, h(o.text), 1)) : r("", !0),
351
+ b.value && o.variant === "section" ? (u(), i("p", ye, [a("span", be, h(b.value.name), 1), b.value.rest ? (u(), i("span", xe, h(b.value.rest), 1)) : r("", !0)])) : r("", !0)
351
352
  ])])) : (u(), i(e, { key: 0 }, [o.image ? (u(), i("img", {
352
353
  key: 0,
353
354
  class: "mwnf-banner__image",
354
355
  src: o.image,
355
356
  alt: o.imageAlt
356
- }, null, 8, P)) : r("", !0), o.text ? (u(), i("p", F, h(o.text), 1)) : r("", !0)], 64))])], 2)) : r("", !0);
357
+ }, null, 8, L)) : r("", !0), o.text ? (u(), i("p", R, h(o.text), 1)) : r("", !0)], 64))])], 2)) : r("", !0);
357
358
  }
358
- }, Te = ["aria-label"], Ee = { class: "mwnf-nav__bar" }, De = ["aria-expanded"], Oe = {
359
+ }, Se = ["aria-label"], Ce = { class: "mwnf-nav__bar" }, we = ["aria-expanded"], Te = {
359
360
  key: 0,
360
361
  id: "mwnf-nav-links",
361
362
  class: "mwnf-nav__links"
362
- }, ke = [
363
+ }, Ee = [
363
364
  "href",
364
365
  "aria-current",
365
366
  "aria-haspopup",
366
367
  "target",
367
368
  "rel"
368
- ], Ae = {
369
+ ], De = {
369
370
  key: 0,
370
371
  class: "mwnf-nav__sublinks"
371
- }, je = [
372
+ }, Oe = [
372
373
  "href",
373
374
  "target",
374
375
  "rel"
375
- ], Me = {
376
+ ], ke = {
376
377
  key: 1,
377
378
  class: "mwnf-nav__language"
378
- }, Ne = { class: "mwnf-nav__language-label" }, Pe = ["value"], Fe = ["value"], Ie = {
379
+ }, Ae = { class: "mwnf-nav__language-label" }, je = ["value"], Me = ["value"], Ne = {
379
380
  key: 0,
380
381
  class: "mwnf-nav__notice"
381
- }, Le = {
382
+ }, Pe = {
382
383
  key: 0,
383
384
  class: "mwnf-nav__notice-title"
384
- }, U = {
385
+ }, K = {
385
386
  __name: "AppNavigation",
386
387
  props: {
387
388
  links: {
@@ -419,7 +420,7 @@ var w = {
419
420
  key: 0,
420
421
  class: l(["mwnf-nav", { "mwnf-nav--open": w.value }]),
421
422
  "aria-label": g(y)("layout.nav.label")
422
- }, [a("div", Ee, [
423
+ }, [a("div", Ce, [
423
424
  n.links.length ? (u(), i("button", {
424
425
  key: 0,
425
426
  type: "button",
@@ -430,8 +431,8 @@ var w = {
430
431
  }, [o[4] ||= a("span", {
431
432
  class: "mwnf-nav__toggle-icon",
432
433
  "aria-hidden": "true"
433
- }, "☰", -1), s(" " + h(g(y)("layout.nav.menu")), 1)], 8, De)) : r("", !0),
434
- p(t.$slots, "default", {}, () => [n.links.length ? (u(), i("ul", Oe, [(u(!0), i(e, null, f(n.links, (t) => (u(), i("li", {
434
+ }, "☰", -1), s(" " + h(g(y)("layout.nav.menu")), 1)], 8, we)) : r("", !0),
435
+ p(t.$slots, "default", {}, () => [n.links.length ? (u(), i("ul", Te, [(u(!0), i(e, null, f(n.links, (t) => (u(), i("li", {
435
436
  key: t.href ?? t.label,
436
437
  class: l({ "mwnf-nav__item--parent": t.children?.length })
437
438
  }, [a("a", {
@@ -442,53 +443,53 @@ var w = {
442
443
  target: t.external ? "_blank" : void 0,
443
444
  rel: t.external ? "noopener" : void 0,
444
445
  onClick: o[1] ||= (e) => w.value = !1
445
- }, h(t.label), 11, ke), t.children?.length ? (u(), i("ul", Ae, [(u(!0), i(e, null, f(t.children, (e) => (u(), i("li", { key: e.href ?? e.label }, [a("a", {
446
+ }, h(t.label), 11, Ee), t.children?.length ? (u(), i("ul", De, [(u(!0), i(e, null, f(t.children, (e) => (u(), i("li", { key: e.href ?? e.label }, [a("a", {
446
447
  class: "mwnf-nav__sublink",
447
448
  href: e.href,
448
449
  target: e.external ? "_blank" : void 0,
449
450
  rel: e.external ? "noopener" : void 0,
450
451
  onClick: o[2] ||= (e) => w.value = !1
451
- }, h(e.label), 9, je)]))), 128))])) : r("", !0)], 2))), 128))])) : r("", !0)]),
452
- x.value ? (u(), i("label", Me, [a("span", Ne, h(g(y)("layout.language.label")), 1), a("select", {
452
+ }, h(e.label), 9, Oe)]))), 128))])) : r("", !0)], 2))), 128))])) : r("", !0)]),
453
+ x.value ? (u(), i("label", ke, [a("span", Ae, h(g(y)("layout.language.label")), 1), a("select", {
453
454
  class: "mwnf-nav__language-select",
454
455
  value: n.language,
455
456
  onChange: o[3] ||= (e) => m("update:language", e.target.value)
456
457
  }, [(u(!0), i(e, null, f(b.value, (e) => (u(), i("option", {
457
458
  key: e.code,
458
459
  value: e.code
459
- }, h(e.label), 9, Fe))), 128))], 40, Pe)])) : r("", !0)
460
- ]), n.notice && (n.notice.text || n.notice.title) ? (u(), i("p", Ie, [n.notice.title ? (u(), i("strong", Le, h(n.notice.title), 1)) : r("", !0), s(" " + h(n.notice.text), 1)])) : r("", !0)], 10, Te)) : r("", !0);
460
+ }, h(e.label), 9, Me))), 128))], 40, je)])) : r("", !0)
461
+ ]), n.notice && (n.notice.text || n.notice.title) ? (u(), i("p", Ne, [n.notice.title ? (u(), i("strong", Pe, h(n.notice.title), 1)) : r("", !0), s(" " + h(n.notice.text), 1)])) : r("", !0)], 10, Se)) : r("", !0);
461
462
  }
462
- }, Re = {
463
+ }, Fe = {
463
464
  key: 0,
464
465
  id: "mwnf-content",
465
466
  class: "mwnf-content"
466
- }, W = {
467
+ }, q = {
467
468
  __name: "AppContent",
468
469
  setup(e) {
469
470
  let t = _();
470
471
  function n() {
471
472
  return !!t.default;
472
473
  }
473
- return (e, t) => n() ? (u(), i("main", Re, [p(e.$slots, "default")])) : r("", !0);
474
+ return (e, t) => n() ? (u(), i("main", Fe, [p(e.$slots, "default")])) : r("", !0);
474
475
  }
475
- }, ze = ["aria-label"], Be = {
476
+ }, Ie = ["aria-label"], Le = {
476
477
  key: 0,
477
478
  class: "mwnf-hyperlinks__title"
478
- }, Ve = {
479
+ }, Re = {
479
480
  key: 1,
480
481
  class: "mwnf-hyperlinks__subtitle"
481
- }, He = {
482
+ }, ze = {
482
483
  key: 1,
483
484
  class: "mwnf-hyperlinks__title"
484
- }, Ue = { class: "mwnf-hyperlinks__list" }, We = [
485
+ }, Be = { class: "mwnf-hyperlinks__list" }, Ve = [
485
486
  "href",
486
487
  "target",
487
488
  "rel"
488
- ], Ge = { class: "mwnf-hyperlinks__label" }, Ke = {
489
+ ], He = { class: "mwnf-hyperlinks__label" }, Ue = {
489
490
  key: 0,
490
491
  class: "mwnf-hyperlinks__description"
491
- }, G = {
492
+ }, J = {
492
493
  __name: "AppHyperlinks",
493
494
  props: {
494
495
  variant: {
@@ -526,28 +527,28 @@ var w = {
526
527
  class: "mwnf-hyperlinks__lockup",
527
528
  href: t.titleHref || void 0
528
529
  }, {
529
- default: y(() => [t.title ? (u(), i("p", Be, h(t.title), 1)) : r("", !0), t.subtitle ? (u(), i("p", Ve, h(t.subtitle), 1)) : r("", !0)]),
530
+ default: y(() => [t.title ? (u(), i("p", Le, h(t.title), 1)) : r("", !0), t.subtitle ? (u(), i("p", Re, h(t.subtitle), 1)) : r("", !0)]),
530
531
  _: 1
531
- }, 8, ["href"])) : r("", !0)], 64)) : t.title ? (u(), i("p", He, h(t.title), 1)) : r("", !0), p(o.$slots, "default", {}, () => [a("ul", Ue, [(u(!0), i(e, null, f(t.links, (e) => (u(), i("li", { key: e.href ?? e.label }, [a("a", {
532
+ }, 8, ["href"])) : r("", !0)], 64)) : t.title ? (u(), i("p", ze, h(t.title), 1)) : r("", !0), p(o.$slots, "default", {}, () => [a("ul", Be, [(u(!0), i(e, null, f(t.links, (e) => (u(), i("li", { key: e.href ?? e.label }, [a("a", {
532
533
  class: "mwnf-hyperlinks__link",
533
534
  href: e.href,
534
535
  target: e.external ? "_blank" : void 0,
535
536
  rel: e.external ? "noopener" : void 0
536
- }, [a("span", Ge, h(e.label), 1), e.description ? (u(), i("span", Ke, h(e.description), 1)) : r("", !0)], 8, We)]))), 128))])])], 10, ze)) : r("", !0);
537
+ }, [a("span", He, h(e.label), 1), e.description ? (u(), i("span", Ue, h(e.description), 1)) : r("", !0)], 8, Ve)]))), 128))])])], 10, Ie)) : r("", !0);
537
538
  }
538
- }, qe = ["aria-label"], Je = {
539
+ }, We = ["aria-label"], Ge = {
539
540
  key: 0,
540
541
  class: "mwnf-sponsors__title"
541
- }, Ye = {
542
+ }, Ke = {
542
543
  key: 0,
543
544
  class: "mwnf-sponsors__list"
544
- }, Xe = ["src", "alt"], Ze = {
545
+ }, qe = ["src", "alt"], Je = {
545
546
  key: 1,
546
547
  class: "mwnf-sponsors__groups"
547
- }, Qe = {
548
+ }, Ye = {
548
549
  key: 0,
549
550
  class: "mwnf-sponsors__group-title"
550
- }, $e = { class: "mwnf-sponsors__list" }, et = ["src", "alt"], K = {
551
+ }, Xe = { class: "mwnf-sponsors__list" }, Ze = ["src", "alt"], Y = {
551
552
  __name: "AppSponsors",
552
553
  props: {
553
554
  title: {
@@ -572,7 +573,7 @@ var w = {
572
573
  key: 0,
573
574
  class: "mwnf-sponsors",
574
575
  "aria-label": o.title || g(d)("layout.sponsors.label")
575
- }, [o.title ? (u(), i("p", Je, h(o.title), 1)) : r("", !0), p(t.$slots, "default", {}, () => [o.sponsors.length ? (u(), i("ul", Ye, [(u(!0), i(e, null, f(o.sponsors, (t) => (u(), i("li", { key: t.name }, [(u(), n(m(t.href ? "a" : "span"), {
576
+ }, [o.title ? (u(), i("p", Ge, h(o.title), 1)) : r("", !0), p(t.$slots, "default", {}, () => [o.sponsors.length ? (u(), i("ul", Ke, [(u(!0), i(e, null, f(o.sponsors, (t) => (u(), i("li", { key: t.name }, [(u(), n(m(t.href ? "a" : "span"), {
576
577
  class: "mwnf-sponsors__item",
577
578
  href: t.href,
578
579
  target: t.href ? "_blank" : void 0,
@@ -583,16 +584,16 @@ var w = {
583
584
  class: "mwnf-sponsors__logo",
584
585
  src: t.logo,
585
586
  alt: t.name
586
- }, null, 8, Xe)) : (u(), i(e, { key: 1 }, [s(h(t.name), 1)], 64))]),
587
+ }, null, 8, qe)) : (u(), i(e, { key: 1 }, [s(h(t.name), 1)], 64))]),
587
588
  _: 2
588
589
  }, 1032, [
589
590
  "href",
590
591
  "target",
591
592
  "rel"
592
- ]))]))), 128))])) : r("", !0), v.value.length ? (u(), i("div", Ze, [(u(!0), i(e, null, f(v.value, (t) => (u(), i("div", {
593
+ ]))]))), 128))])) : r("", !0), v.value.length ? (u(), i("div", Je, [(u(!0), i(e, null, f(v.value, (t) => (u(), i("div", {
593
594
  key: t.title,
594
595
  class: "mwnf-sponsors__group"
595
- }, [t.title ? (u(), i("p", Qe, h(t.title), 1)) : r("", !0), a("ul", $e, [(u(!0), i(e, null, f(t.sponsors, (t) => (u(), i("li", { key: t.name }, [(u(), n(m(t.href ? "a" : "span"), {
596
+ }, [t.title ? (u(), i("p", Ye, h(t.title), 1)) : r("", !0), a("ul", Xe, [(u(!0), i(e, null, f(t.sponsors, (t) => (u(), i("li", { key: t.name }, [(u(), n(m(t.href ? "a" : "span"), {
596
597
  class: "mwnf-sponsors__item",
597
598
  href: t.href,
598
599
  target: t.href ? "_blank" : void 0,
@@ -604,16 +605,16 @@ var w = {
604
605
  class: "mwnf-sponsors__logo",
605
606
  src: t.logo,
606
607
  alt: t.name
607
- }, null, 8, et)) : (u(), i(e, { key: 1 }, [s(h(t.name), 1)], 64))]),
608
+ }, null, 8, Ze)) : (u(), i(e, { key: 1 }, [s(h(t.name), 1)], 64))]),
608
609
  _: 2
609
610
  }, 1032, [
610
611
  "href",
611
612
  "target",
612
613
  "rel",
613
614
  "title"
614
- ]))]))), 128))])]))), 128))])) : r("", !0)])], 8, qe)) : r("", !0);
615
+ ]))]))), 128))])]))), 128))])) : r("", !0)])], 8, We)) : r("", !0);
615
616
  }
616
- }, q = {
617
+ }, X = {
617
618
  youtube: {
618
619
  viewBox: "0 0 448 512",
619
620
  path: "M282 256.2l-95.2-54.1V310.3L282 256.2zM384 32H64C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64zm14.4 136.1c7.6 28.6 7.6 88.2 7.6 88.2s0 59.6-7.6 88.1c-4.2 15.8-16.5 27.7-32.2 31.9C337.9 384 224 384 224 384s-113.9 0-142.2-7.6c-15.7-4.2-28-16.1-32.2-31.9C42 315.9 42 256.3 42 256.3s0-59.7 7.6-88.2c4.2-15.8 16.5-28.2 32.2-32.4C110.1 128 224 128 224 128s113.9 0 142.2 7.7c15.7 4.2 28 16.6 32.2 32.4z"
@@ -638,7 +639,7 @@ var w = {
638
639
  viewBox: "0 0 448 512",
639
640
  path: "M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"
640
641
  }
641
- }, tt = Object.freeze([
642
+ }, Qe = Object.freeze([
642
643
  {
643
644
  label: "YouTube",
644
645
  href: "https://www.youtube.com/channel/UC5X2a5jDFyIfTEV5prWNF5Q",
@@ -669,22 +670,22 @@ var w = {
669
670
  href: "https://www.linkedin.com/company/museum-with-no-frontiers/",
670
671
  icon: "linkedin"
671
672
  }
672
- ]), nt = {
673
+ ]), $e = {
673
674
  key: 0,
674
675
  class: "mwnf-footer__social"
675
- }, rt = [
676
+ }, et = [
676
677
  "href",
677
678
  "aria-label",
678
679
  "title"
679
- ], it = ["viewBox"], at = ["d"], J = {
680
+ ], tt = ["viewBox"], nt = ["d"], Z = {
680
681
  __name: "SocialLinks",
681
682
  props: { links: {
682
683
  type: Array,
683
684
  default: () => []
684
685
  } },
685
686
  setup(n) {
686
- let o = n, s = t(() => o.links.filter((e) => q[e.icon]));
687
- return (t, n) => s.value.length ? (u(), i("ul", nt, [(u(!0), i(e, null, f(s.value, (e) => (u(), i("li", { key: e.href }, [a("a", {
687
+ let o = n, s = t(() => o.links.filter((e) => X[e.icon]));
688
+ return (t, n) => s.value.length ? (u(), i("ul", $e, [(u(!0), i(e, null, f(s.value, (e) => (u(), i("li", { key: e.href }, [a("a", {
688
689
  class: "mwnf-footer__social-link",
689
690
  href: e.href,
690
691
  target: "_blank",
@@ -693,34 +694,34 @@ var w = {
693
694
  title: e.label
694
695
  }, [(u(), i("svg", {
695
696
  class: "mwnf-footer__social-icon",
696
- viewBox: g(q)[e.icon].viewBox,
697
+ viewBox: g(X)[e.icon].viewBox,
697
698
  "aria-hidden": "true",
698
699
  focusable: "false"
699
700
  }, [a("path", {
700
701
  fill: "currentColor",
701
- d: g(q)[e.icon].path
702
- }, null, 8, at)], 8, it))], 8, rt)]))), 128))])) : r("", !0);
702
+ d: g(X)[e.icon].path
703
+ }, null, 8, nt)], 8, tt))], 8, et)]))), 128))])) : r("", !0);
703
704
  }
704
- }, ot = {
705
+ }, Q = {
705
706
  key: 0,
706
707
  class: "mwnf-footer"
707
- }, st = {
708
+ }, rt = {
708
709
  key: 0,
709
710
  class: "mwnf-footer__links"
710
- }, ct = [
711
+ }, it = [
711
712
  "href",
712
713
  "target",
713
714
  "rel"
714
- ], lt = {
715
+ ], at = {
715
716
  key: 1,
716
717
  class: "mwnf-footer__text"
717
- }, ut = {
718
+ }, ot = {
718
719
  key: 2,
719
720
  class: "mwnf-footer__attribution"
720
- }, dt = {
721
+ }, st = {
721
722
  key: 0,
722
723
  class: "mwnf-footer__attribution-label"
723
- }, ft = ["href"], Y = {
724
+ }, ct = ["href"], $ = {
724
725
  __name: "AppFooter",
725
726
  props: {
726
727
  text: {
@@ -753,34 +754,34 @@ var w = {
753
754
  }
754
755
  },
755
756
  setup(n) {
756
- let o = n, l = _(), d = t(() => o.social.filter((e) => q[e.icon]));
757
+ let o = n, l = _(), d = t(() => o.social.filter((e) => X[e.icon]));
757
758
  function m() {
758
759
  return !!(l.default || o.text || o.links.length || o.attributionText || d.value.length);
759
760
  }
760
- return (t, o) => m() ? (u(), i("footer", ot, [p(t.$slots, "default", {}, () => [
761
- n.links.length ? (u(), i("ul", st, [(u(!0), i(e, null, f(n.links, (e) => (u(), i("li", { key: e.href ?? e.label }, [a("a", {
761
+ return (t, o) => m() ? (u(), i("footer", Q, [p(t.$slots, "default", {}, () => [
762
+ n.links.length ? (u(), i("ul", rt, [(u(!0), i(e, null, f(n.links, (e) => (u(), i("li", { key: e.href ?? e.label }, [a("a", {
762
763
  class: "mwnf-footer__link",
763
764
  href: e.href,
764
765
  target: e.external ? "_blank" : void 0,
765
766
  rel: e.external ? "noopener" : void 0
766
- }, h(e.label), 9, ct)]))), 128))])) : r("", !0),
767
- n.text ? (u(), i("p", lt, h(n.text), 1)) : r("", !0),
768
- n.attributionText ? (u(), i("p", ut, [
769
- n.attributionLabel ? (u(), i("span", dt, h(n.attributionLabel), 1)) : r("", !0),
767
+ }, h(e.label), 9, it)]))), 128))])) : r("", !0),
768
+ n.text ? (u(), i("p", at, h(n.text), 1)) : r("", !0),
769
+ n.attributionText ? (u(), i("p", ot, [
770
+ n.attributionLabel ? (u(), i("span", st, h(n.attributionLabel), 1)) : r("", !0),
770
771
  s(" " + h(n.attributionText) + " ", 1),
771
772
  n.termsHref ? (u(), i("a", {
772
773
  key: 1,
773
774
  class: "mwnf-footer__terms",
774
775
  href: n.termsHref
775
- }, h(n.termsLabel), 9, ft)) : r("", !0)
776
+ }, h(n.termsLabel), 9, ct)) : r("", !0)
776
777
  ])) : r("", !0),
777
- c(J, { links: d.value }, null, 8, ["links"])
778
+ c(Z, { links: d.value }, null, 8, ["links"])
778
779
  ])])) : r("", !0);
779
780
  }
780
- }, pt = { class: "mwnf-page" }, mt = {
781
+ }, lt = { class: "mwnf-page" }, ut = {
781
782
  class: "mwnf-skip-link",
782
783
  href: "#mwnf-content"
783
- }, ht = {
784
+ }, dt = {
784
785
  __name: "PageShell",
785
786
  props: {
786
787
  headerTitle: {
@@ -971,9 +972,9 @@ var w = {
971
972
  emits: ["update:language", "search"],
972
973
  setup(r, { emit: s }) {
973
974
  let l = r, d = s, { t: m } = C(), _ = t(() => l.navigationPlacement === "before-banner" ? ["navigation", "banner"] : ["banner", "navigation"]);
974
- return (t, s) => (u(), i("div", pt, [
975
- a("a", mt, h(g(m)("layout.nav.skipToContent")), 1),
976
- c(N, {
975
+ return (t, s) => (u(), i("div", lt, [
976
+ a("a", ut, h(g(m)("layout.nav.skipToContent")), 1),
977
+ c(I, {
977
978
  title: r.headerTitle,
978
979
  subtitle: r.headerSubtitle,
979
980
  eyebrow: r.headerEyebrow,
@@ -1014,7 +1015,7 @@ var w = {
1014
1015
  "language",
1015
1016
  "language-style"
1016
1017
  ]),
1017
- (u(!0), i(e, null, f(_.value, (a) => (u(), i(e, { key: a }, [a === "banner" ? (u(), n(H, {
1018
+ (u(!0), i(e, null, f(_.value, (a) => (u(), i(e, { key: a }, [a === "banner" ? (u(), n(G, {
1018
1019
  key: 0,
1019
1020
  variant: r.bannerVariant,
1020
1021
  image: r.bannerImage,
@@ -1047,7 +1048,7 @@ var w = {
1047
1048
  "headline",
1048
1049
  "enter",
1049
1050
  "strapline"
1050
- ])) : (u(), n(U, {
1051
+ ])) : (u(), n(K, {
1051
1052
  key: 1,
1052
1053
  links: r.navLinks,
1053
1054
  languages: r.languages,
@@ -1066,12 +1067,12 @@ var w = {
1066
1067
  "language-switcher",
1067
1068
  "notice"
1068
1069
  ]))], 64))), 128)),
1069
- c(W, null, o({ _: 2 }, [t.$slots.default ? {
1070
+ c(q, null, o({ _: 2 }, [t.$slots.default ? {
1070
1071
  name: "default",
1071
1072
  fn: y(() => [p(t.$slots, "default")]),
1072
1073
  key: "0"
1073
1074
  } : void 0]), 1024),
1074
- c(G, {
1075
+ c(J, {
1075
1076
  variant: r.hyperlinksVariant,
1076
1077
  title: r.hyperlinksTitle,
1077
1078
  "title-href": r.hyperlinksTitleHref,
@@ -1088,7 +1089,7 @@ var w = {
1088
1089
  "subtitle",
1089
1090
  "links"
1090
1091
  ]),
1091
- c(K, {
1092
+ c(Y, {
1092
1093
  title: r.sponsorsTitle,
1093
1094
  sponsors: r.sponsors,
1094
1095
  groups: r.sponsorGroups
@@ -1101,7 +1102,7 @@ var w = {
1101
1102
  "sponsors",
1102
1103
  "groups"
1103
1104
  ]),
1104
- c(Y, {
1105
+ c($, {
1105
1106
  text: r.footerText,
1106
1107
  links: r.footerLinks,
1107
1108
  social: r.footerSocial,
@@ -1124,36 +1125,6 @@ var w = {
1124
1125
  ])
1125
1126
  ]));
1126
1127
  }
1127
- }, X = /^.*?theme\/assets\//, Z = /* @__PURE__ */ new WeakMap();
1128
- function gt(e) {
1129
- let t = Z.get(e);
1130
- if (!t) {
1131
- t = /* @__PURE__ */ new Map();
1132
- for (let [n, r] of Object.entries(e)) typeof r == "string" && r && t.set(Q(n), r);
1133
- Z.set(e, t);
1134
- }
1135
- return t;
1136
- }
1137
- function Q(e) {
1138
- return String(e).replaceAll("\\", "/").replace(X, "").replace(/^(\.\/|\/)+/, "");
1139
- }
1140
- function $(e, t) {
1141
- return !e || typeof e != "object" || !t ? null : gt(e).get(Q(t)) ?? null;
1142
- }
1143
- function _t(e, t) {
1144
- return t ? $(e, `chrome/${String(t).replace(/^\/+/, "")}`) : null;
1145
- }
1146
- function vt(e, t) {
1147
- return !t || typeof t != "string" ? null : /^(?:[a-z][a-z0-9+.-]*:|\/\/|\/)/i.test(t) ? t : $(e, t);
1148
- }
1149
- function yt(e, t) {
1150
- if (!e || typeof DOMParser > "u") return e;
1151
- let n = new DOMParser().parseFromString(`<body>${e}</body>`, "text/html"), r = !1;
1152
- for (let e of n.body.querySelectorAll("img[src]")) {
1153
- let n = t(e.getAttribute("src"));
1154
- n && (e.setAttribute("src", n), r = !0);
1155
- }
1156
- return r ? n.body.innerHTML : e;
1157
- }
1128
+ };
1158
1129
  //#endregion
1159
- export { ht as a, tt as c, W as d, U as f, yt as i, K as l, N as m, _t as n, Y as o, H as p, vt as r, J as s, $ as t, G as u };
1130
+ export { Y as a, K as c, Qe as i, G as l, $ as n, J as o, Z as r, q as s, dt as t, I as u };