@phila/phila-ui-app-header 1.0.0-beta.12 → 1.0.0-beta.14

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.
package/dist/index.mjs CHANGED
@@ -1,28 +1,32 @@
1
- import { defineComponent as _, useSlots as me, useTemplateRef as E, computed as B, watch as Y, nextTick as Z, createElementBlock as c, openBlock as n, Fragment as T, createElementVNode as s, normalizeClass as S, createCommentVNode as y, unref as i, mergeProps as M, createTextVNode as A, createVNode as p, renderSlot as v, ref as z, onMounted as he, onUnmounted as J, normalizeStyle as ee, toDisplayString as w, onBeforeMount as ge, renderList as Q, createBlock as k, withModifiers as te, withCtx as h, resolveDynamicComponent as ie, createSlots as K, normalizeProps as I, useId as ye, guardReactiveProps as D } from "vue";
2
- import { FontAwesomeIcon as L } from "@fortawesome/vue-fontawesome";
3
- import { useVisibility as H, debounce as _e, Icon as $e, FocusTrap as ae, cn as R, BaseLink as se, ActionContent as P } from "@phila/phila-ui-core";
1
+ import { defineComponent as w, useSlots as me, useTemplateRef as R, computed as C, watch as se, nextTick as Y, createElementBlock as d, openBlock as l, Fragment as E, createElementVNode as o, normalizeClass as H, createCommentVNode as $, unref as a, mergeProps as z, createTextVNode as D, createVNode as g, renderSlot as f, ref as L, onMounted as oe, onUnmounted as le, normalizeStyle as re, toDisplayString as x, onBeforeMount as he, renderList as j, createBlock as B, withModifiers as K, withCtx as _, resolveDynamicComponent as ce, onBeforeUnmount as ye, createSlots as te, normalizeProps as G, useId as _e, guardReactiveProps as F } from "vue";
2
+ import { FontAwesomeIcon as T } from "@fortawesome/vue-fontawesome";
3
+ import { useVisibility as P, debounce as $e, Icon as ke, FocusTrap as de, cn as W, BaseLink as ue, ActionContent as Q } from "@phila/phila-ui-core";
4
4
  import { Logo as xe } from "@phila/phila-ui-logo";
5
- import './index.css';var ke = {
5
+ import './index.css';var we = {
6
6
  prefix: "fas",
7
7
  iconName: "magnifying-glass",
8
8
  icon: [512, 512, [128269, "search"], "f002", "M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376C296.3 401.1 253.9 416 208 416 93.1 416 0 322.9 0 208S93.1 0 208 0 416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]
9
- }, we = ke, Be = {
9
+ }, Be = we, Me = {
10
10
  prefix: "fas",
11
11
  iconName: "circle-exclamation",
12
12
  icon: [512, 512, ["exclamation-circle"], "f06a", "M256 512a256 256 0 1 1 0-512 256 256 0 1 1 0 512zm0-192a32 32 0 1 0 0 64 32 32 0 1 0 0-64zm0-192c-18.2 0-32.7 15.5-31.4 33.7l7.4 104c.9 12.6 11.4 22.3 23.9 22.3 12.6 0 23-9.7 23.9-22.3l7.4-104c1.3-18.2-13.1-33.7-31.4-33.7z"]
13
- }, ne = {
13
+ }, fe = {
14
14
  prefix: "fas",
15
15
  iconName: "xmark",
16
16
  icon: [384, 512, [128473, 10005, 10006, 10060, 215, "close", "multiply", "remove", "times"], "f00d", "M55.1 73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L147.2 256 9.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192.5 301.3 329.9 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.8 256 375.1 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192.5 210.7 55.1 73.4z"]
17
- }, Me = ne, oe = ne, Ce = {
17
+ }, Ce = fe, ve = fe, Le = {
18
18
  prefix: "fas",
19
19
  iconName: "lock",
20
20
  icon: [384, 512, [128274], "f023", "M128 96l0 64 128 0 0-64c0-35.3-28.7-64-64-64s-64 28.7-64 64zM64 160l0-64C64 25.3 121.3-32 192-32S320 25.3 320 96l0 64c35.3 0 64 28.7 64 64l0 224c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 224c0-35.3 28.7-64 64-64z"]
21
- }, le = {
21
+ }, Z = {
22
22
  prefix: "fas",
23
23
  iconName: "caret-up",
24
24
  icon: [320, 512, [], "f0d8", "M140.3 135.2c12.6-10.3 31.1-9.5 42.8 2.2l128 128c9.2 9.2 11.9 22.9 6.9 34.9S301.4 320 288.5 320l-256 0c-12.9 0-24.6-7.8-29.6-19.8S.7 274.5 9.9 265.4l128-128 2.4-2.2z"]
25
- }, re = {
25
+ }, ze = {
26
+ prefix: "fas",
27
+ iconName: "globe",
28
+ icon: [512, 512, [127760], "f0ac", "M351.9 280l-190.9 0c2.9 64.5 17.2 123.9 37.5 167.4 11.4 24.5 23.7 41.8 35.1 52.4 11.2 10.5 18.9 12.2 22.9 12.2s11.7-1.7 22.9-12.2c11.4-10.6 23.7-28 35.1-52.4 20.3-43.5 34.6-102.9 37.5-167.4zM160.9 232l190.9 0C349 167.5 334.7 108.1 314.4 64.6 303 40.2 290.7 22.8 279.3 12.2 268.1 1.7 260.4 0 256.4 0s-11.7 1.7-22.9 12.2c-11.4 10.6-23.7 28-35.1 52.4-20.3 43.5-34.6 102.9-37.5 167.4zm-48 0C116.4 146.4 138.5 66.9 170.8 14.7 78.7 47.3 10.9 131.2 1.5 232l111.4 0zM1.5 280c9.4 100.8 77.2 184.7 169.3 217.3-32.3-52.2-54.4-131.7-57.9-217.3L1.5 280zm398.4 0c-3.5 85.6-25.6 165.1-57.9 217.3 92.1-32.7 159.9-116.5 169.3-217.3l-111.4 0zm111.4-48C501.9 131.2 434.1 47.3 342 14.7 374.3 66.9 396.4 146.4 399.9 232l111.4 0z"]
29
+ }, J = {
26
30
  prefix: "fas",
27
31
  iconName: "caret-down",
28
32
  icon: [320, 512, [], "f0d7", "M140.3 376.8c12.6 10.2 31.1 9.5 42.8-2.2l128-128c9.2-9.2 11.9-22.9 6.9-34.9S301.4 192 288.5 192l-256 0c-12.9 0-24.6 7.8-29.6 19.8S.7 237.5 9.9 246.6l128 128 2.4 2.2z"]
@@ -30,176 +34,174 @@ import './index.css';var ke = {
30
34
  prefix: "fas",
31
35
  iconName: "building-columns",
32
36
  icon: [512, 512, ["bank", "institution", "museum", "university"], "f19c", "M271.9 20.2c-9.8-5.6-21.9-5.6-31.8 0l-224 128c-12.6 7.2-18.8 22-15.1 36S17.5 208 32 208l32 0 0 208 0 0-51.2 38.4C4.7 460.4 0 469.9 0 480 0 497.7 14.3 512 32 512l448 0c17.7 0 32-14.3 32-32 0-10.1-4.7-19.6-12.8-25.6l-51.2-38.4 0-208 32 0c14.5 0 27.2-9.8 30.9-23.8s-2.5-28.8-15.1-36l-224-128zM400 208l0 208-64 0 0-208 64 0zm-112 0l0 208-64 0 0-208 64 0zm-112 0l0 208-64 0 0-208 64 0zM256 96a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]
33
- }, Le = {
37
+ }, Ae = {
34
38
  prefix: "fas",
35
39
  iconName: "bars",
36
40
  icon: [448, 512, ["navicon"], "f0c9", "M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z"]
37
- }, ze = {
41
+ }, Te = {
38
42
  prefix: "fas",
39
43
  iconName: "circle-info",
40
44
  icon: [512, 512, ["info-circle"], "f05a", "M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM224 160a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm-8 64l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]
41
- }, ce = ze;
42
- const Ae = "data:image/svg+xml,%3csvg%20width='16'%20height='11'%20viewBox='0%200%2016%2011'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect%20width='16'%20height='11'%20fill='url(%23pattern0_61022_1867)'/%3e%3cdefs%3e%3cpattern%20id='pattern0_61022_1867'%20patternContentUnits='objectBoundingBox'%20width='1'%20height='1'%3e%3cuse%20xlink:href='%23image0_61022_1867'%20transform='scale(0.0625%200.0909091)'/%3e%3c/pattern%3e%3cimage%20id='image0_61022_1867'%20width='16'%20height='11'%20preserveAspectRatio='none'%20xlink:href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAALCAMAAABBPP0LAAAAG1BMVEUdM7EeNLIeM7HgQCDaPh/bPh/bPx/////bPyBEby41AAAAUElEQVQI123MNw4CABDEwD3jC/9/MQ1BQrgeOSkIqYe2o2FZtthXgQLgbHVMZdlsfUQFQnHtjP1+8BUhBDKOqtmfot6ojqPzR7TjdU+f6vkED+IDPhTBcMAAAAAASUVORK5CYII='/%3e%3c/defs%3e%3c/svg%3e", Te = { class: "trusted-wrap" }, Se = { class: "hidden-tablet trusted-toggle is-flex is-align-center" }, Ee = ["src"], Ie = ["aria-label", "aria-expanded"], He = {
45
+ }, pe = Te;
46
+ const Se = "data:image/svg+xml,%3csvg%20width='16'%20height='11'%20viewBox='0%200%2016%2011'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect%20width='16'%20height='11'%20fill='url(%23pattern0_61022_1867)'/%3e%3cdefs%3e%3cpattern%20id='pattern0_61022_1867'%20patternContentUnits='objectBoundingBox'%20width='1'%20height='1'%3e%3cuse%20xlink:href='%23image0_61022_1867'%20transform='scale(0.0625%200.0909091)'/%3e%3c/pattern%3e%3cimage%20id='image0_61022_1867'%20width='16'%20height='11'%20preserveAspectRatio='none'%20xlink:href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAALCAMAAABBPP0LAAAAG1BMVEUdM7EeNLIeM7HgQCDaPh/bPh/bPx/////bPyBEby41AAAAUElEQVQI123MNw4CABDEwD3jC/9/MQ1BQrgeOSkIqYe2o2FZtthXgQLgbHVMZdlsfUQFQnHtjP1+8BUhBDKOqtmfot6ojqPzR7TjdU+f6vkED+IDPhTBcMAAAAAASUVORK5CYII='/%3e%3c/defs%3e%3c/svg%3e", Ee = { class: "trusted-wrap" }, Ie = { class: "hidden-tablet trusted-toggle is-flex is-align-center" }, De = ["src"], He = ["aria-label", "aria-expanded"], Oe = {
43
47
  class: "icon",
44
48
  "aria-hidden": "true"
45
- }, Oe = { class: "hidden-desktop trusted-toggle is-flex is-align-center" }, Ge = ["aria-label", "aria-expanded"], De = {
49
+ }, Re = { class: "hidden-desktop trusted-toggle is-flex is-align-center" }, Ge = ["aria-label", "aria-expanded"], Pe = {
46
50
  class: "icon",
47
51
  "aria-hidden": "true"
48
- }, Pe = {
52
+ }, Ue = {
49
53
  key: 0,
50
54
  class: "trusted-translation is-flex is-align-center"
51
- }, Re = ["hidden"], Ve = { class: "trusted-site-info-content content has-text-body-small is-flex is-justify-space-between" }, Ue = { class: "info-item-wrap is-flex" }, je = { class: "info-item is-flex is-12-mobile is-align-flex-start is-flex-1 my-4" }, Fe = { class: "trusted-icon is-flex is-flex-column has-text-center" }, Qe = { class: "icon circle-icon p-3 mb-2" }, Ke = { class: "info-item is-flex is-12-mobile is-align-flex-start is-flex-1 my-4" }, We = { class: "trusted-icon is-flex is-flex-column has-text-center" }, qe = { class: "icon circle-icon p-3 mb-2" }, Xe = { class: "info-content-close mt-4" }, Ye = /* @__PURE__ */ _({
55
+ }, Ve = ["hidden"], je = { class: "trusted-site-info-content content has-text-body-small is-flex is-justify-space-between" }, Ke = { class: "info-item-wrap is-flex" }, Fe = { class: "info-item is-flex is-12-mobile is-align-flex-start is-flex-1 my-4" }, Qe = { class: "trusted-icon is-flex is-flex-column has-text-center" }, We = { class: "icon circle-icon p-3 mb-2" }, qe = { class: "info-item is-flex is-12-mobile is-align-flex-start is-flex-1 my-4" }, Xe = { class: "trusted-icon is-flex is-flex-column has-text-center" }, Ye = { class: "icon circle-icon p-3 mb-2" }, Ze = { class: "info-content-close mt-4" }, Je = /* @__PURE__ */ w({
52
56
  __name: "TrustedSite",
53
57
  props: {
54
58
  compactMobile: { type: Boolean }
55
59
  },
56
60
  setup(t) {
57
- const e = me(), { isVisible: a, setVisibility: o, toggleProps: r } = H({
61
+ const e = me(), { isVisible: i, setVisibility: n, toggleProps: s } = P({
58
62
  id: "trusted-site-info",
59
63
  escapeKeyHide: !0
60
- }), d = E("infoToggle"), l = E("closeInfoToggle"), $ = E("infoToggleMobile"), f = B(() => a());
61
- return Y(
62
- () => f.value,
63
- (g) => {
64
- g ? Z(() => {
65
- l.value?.focus();
66
- }) : (d.value?.focus(), $.value?.focus());
64
+ }), r = R("infoToggle"), c = R("closeInfoToggle"), k = R("infoToggleMobile"), p = C(() => i());
65
+ return se(
66
+ () => p.value,
67
+ (h) => {
68
+ h ? Y(() => {
69
+ c.value?.focus();
70
+ }) : (r.value?.focus(), k.value?.focus());
67
71
  }
68
- ), (g, b) => (n(), c(T, null, [
69
- s("div", {
72
+ ), (h, b) => (l(), d(E, null, [
73
+ o("div", {
70
74
  id: "trusted-site",
71
- class: S(["is-flex is-justify-space-between", { "is-compact-mobile": t.compactMobile }])
75
+ class: H(["is-flex is-justify-space-between", { "is-compact-mobile": t.compactMobile }])
72
76
  }, [
73
- s("div", Te, [
74
- s("div", Se, [
75
- s("img", {
76
- src: i(Ae),
77
+ o("div", Ee, [
78
+ o("div", Ie, [
79
+ o("img", {
80
+ src: a(Se),
77
81
  alt: "",
78
82
  class: "icon"
79
- }, null, 8, Ee),
80
- b[2] || (b[2] = s("div", { class: "content mx-2" }, "An official website of the City of Philadelphia government", -1)),
81
- s("button", M({
83
+ }, null, 8, De),
84
+ b[2] || (b[2] = o("div", { class: "content mx-2" }, "An official website of the City of Philadelphia government", -1)),
85
+ o("button", z({
82
86
  ref_key: "infoToggle",
83
- ref: d,
87
+ ref: r,
84
88
  class: "phila-button is-extra-small",
85
- "aria-label": `${f.value ? "Close" : "Open"} Trusted Site information panel`,
89
+ "aria-label": `${p.value ? "Close" : "Open"} Trusted Site information panel`,
86
90
  "aria-controls": "trusted-site-info",
87
- "aria-expanded": f.value
88
- }, i(r)), [
89
- b[1] || (b[1] = A(" Here's how you know ", -1)),
90
- s("span", He, [
91
- p(i(L), {
92
- icon: f.value ? i(le) : i(re)
91
+ "aria-expanded": p.value
92
+ }, a(s)), [
93
+ b[1] || (b[1] = D(" Here's how you know ", -1)),
94
+ o("span", Oe, [
95
+ g(a(T), {
96
+ icon: p.value ? a(Z) : a(J)
93
97
  }, null, 8, ["icon"])
94
98
  ])
95
- ], 16, Ie)
99
+ ], 16, He)
96
100
  ]),
97
- s("div", Oe, [
98
- s("button", M({
101
+ o("div", Re, [
102
+ o("button", z({
99
103
  ref_key: "infoToggleMobile",
100
- ref: $,
104
+ ref: k,
101
105
  class: "phila-button is-extra-small",
102
- "aria-label": `${f.value ? "Close" : "Open"} Trusted Site information panel`,
106
+ "aria-label": `${p.value ? "Close" : "Open"} Trusted Site information panel`,
103
107
  "aria-controls": "trusted-site-info",
104
- "aria-expanded": f.value
105
- }, i(r)), [
106
- b[3] || (b[3] = A(" An official website ", -1)),
107
- s("span", De, [
108
- p(i(L), { icon: i(ce) }, null, 8, ["icon"])
108
+ "aria-expanded": p.value
109
+ }, a(s)), [
110
+ b[3] || (b[3] = D(" An official website ", -1)),
111
+ o("span", Pe, [
112
+ g(a(T), { icon: a(pe) }, null, 8, ["icon"])
109
113
  ])
110
114
  ], 16, Ge)
111
115
  ])
112
116
  ]),
113
- i(e).translation ? (n(), c("div", Pe, [
114
- v(g.$slots, "translation", {}, void 0, !0)
115
- ])) : y("", !0)
117
+ a(e).translation ? (l(), d("div", Ue, [
118
+ f(h.$slots, "translation", {}, void 0, !0)
119
+ ])) : $("", !0)
116
120
  ], 2),
117
- s("div", {
121
+ o("div", {
118
122
  id: "trusted-site-info",
119
123
  class: "px-6",
120
- hidden: !f.value
124
+ hidden: !p.value
121
125
  }, [
122
- s("div", Ve, [
123
- s("div", Ue, [
124
- s("div", je, [
125
- s("div", Fe, [
126
- s("span", Qe, [
127
- p(i(L), { icon: i(Ne) }, null, 8, ["icon"])
126
+ o("div", je, [
127
+ o("div", Ke, [
128
+ o("div", Fe, [
129
+ o("div", Qe, [
130
+ o("span", We, [
131
+ g(a(T), { icon: a(Ne) }, null, 8, ["icon"])
128
132
  ]),
129
- b[4] || (b[4] = s("span", { class: "has-text-bold" }, ".gov", -1))
133
+ b[4] || (b[4] = o("span", { class: "has-text-bold" }, ".gov", -1))
130
134
  ]),
131
- b[5] || (b[5] = s("div", { class: "trusted-text m-4" }, "Only government entities in the U.S. can end in .gov", -1))
135
+ b[5] || (b[5] = o("div", { class: "trusted-text m-4" }, "Only government entities in the U.S. can end in .gov", -1))
132
136
  ]),
133
- s("div", Ke, [
134
- s("div", We, [
135
- s("div", qe, [
136
- p(i(L), { icon: i(Ce) }, null, 8, ["icon"])
137
+ o("div", qe, [
138
+ o("div", Xe, [
139
+ o("div", Ye, [
140
+ g(a(T), { icon: a(Le) }, null, 8, ["icon"])
137
141
  ]),
138
- b[6] || (b[6] = s("span", { class: "has-text-bold" }, "https://", -1))
142
+ b[6] || (b[6] = o("span", { class: "has-text-bold" }, "https://", -1))
139
143
  ]),
140
- b[7] || (b[7] = s("div", { class: "trusted-text m-4" }, " The https:// in the address bar means your information is encrypted and can not be accessed by anyone else ", -1))
144
+ b[7] || (b[7] = o("div", { class: "trusted-text m-4" }, " The https:// in the address bar means your information is encrypted and can not be accessed by anyone else ", -1))
141
145
  ])
142
146
  ]),
143
- s("div", Xe, [
144
- s("button", {
147
+ o("div", Ze, [
148
+ o("button", {
145
149
  ref_key: "closeInfoToggle",
146
- ref: l,
150
+ ref: c,
147
151
  class: "phila-button phila-button--primary icon-button is-extra-small",
148
152
  "aria-label": "Close Trusted Site information panel",
149
- onClick: b[0] || (b[0] = (u) => i(o)(!1))
153
+ onClick: b[0] || (b[0] = (u) => a(n)(!1))
150
154
  }, [
151
- p(i(L), { icon: i(Me) }, null, 8, ["icon"])
155
+ g(a(T), { icon: a(Ce) }, null, 8, ["icon"])
152
156
  ], 512)
153
157
  ])
154
158
  ])
155
- ], 8, Re)
159
+ ], 8, Ve)
156
160
  ], 64));
157
161
  }
158
- }), V = (t, e) => {
159
- const a = t.__vccOpts || t;
160
- for (const [o, r] of e)
161
- a[o] = r;
162
- return a;
163
- }, Ze = /* @__PURE__ */ V(Ye, [["__scopeId", "data-v-7ba68309"]]), Je = {
162
+ }), U = (t, e) => {
163
+ const i = t.__vccOpts || t;
164
+ for (const [n, s] of e)
165
+ i[n] = s;
166
+ return i;
167
+ }, et = /* @__PURE__ */ U(Je, [["__scopeId", "data-v-7ba68309"]]), tt = {
164
168
  key: 0,
165
169
  class: "phila-navbar-end"
166
- }, W = "5rem", et = /* @__PURE__ */ _({
170
+ }, ae = "5rem", at = /* @__PURE__ */ w({
167
171
  __name: "index",
168
172
  props: {
169
173
  id: {},
170
174
  sticky: { type: Boolean },
171
175
  navbarBrand: {},
172
176
  compactMobile: { type: Boolean, default: !1 },
173
- mobileNav: {},
174
177
  visibilityGroup: {},
175
- search: {},
176
178
  links: { default: () => [{ text: "Home", href: "#" }] }
177
179
  },
178
180
  setup(t) {
179
- const e = t, { visibilityState: a } = H({ group: "app-header" }), o = E("navBarElement"), r = z(W), d = z(0), l = _e(() => {
180
- const f = (o.value?.offsetTop || 0) + (o.value?.offsetHeight || 0), g = typeof window < "u" ? window.innerWidth : 1024;
181
- r.value = !e.sticky || g < 1024 ? f + "px" : W, d.value = f;
182
- }, 100), $ = B(() => a.value?.appHeader);
183
- return Y(() => $.value, l, { deep: !0, immediate: !0 }), he(() => {
184
- window.addEventListener("resize", l);
185
- }), J(() => {
186
- window.removeEventListener("resize", l);
187
- }), (f, g) => (n(), c("nav", {
181
+ const e = t, { visibilityState: i } = P({ group: "app-header" }), n = R("navBarElement"), s = L(ae), r = L(0), c = $e(() => {
182
+ const p = (n.value?.offsetTop || 0) + (n.value?.offsetHeight || 0), h = typeof window < "u" ? window.innerWidth : 1024;
183
+ s.value = !e.sticky || h < 1024 ? p + "px" : ae, r.value = p;
184
+ }, 100), k = C(() => i.value?.appHeader);
185
+ return se(() => k.value, c, { deep: !0, immediate: !0 }), oe(() => {
186
+ window.addEventListener("resize", c);
187
+ }), le(() => {
188
+ window.removeEventListener("resize", c);
189
+ }), (p, h) => (l(), d("nav", {
188
190
  ref_key: "navBarElement",
189
- ref: o,
190
- class: S(["phila-navbar has-links-on-primary", { "is-sticky-desktop": t.sticky, "is-compact-mobile": t.compactMobile }]),
191
+ ref: n,
192
+ class: H(["phila-navbar has-links-on-primary", { "is-sticky-desktop": t.sticky, "is-compact-mobile": t.compactMobile }]),
191
193
  "aria-label": "Main navigation",
192
- style: ee(`--nav-height:${r.value};--nav-bottom:${d.value}px`)
194
+ style: re(`--nav-height:${s.value};--nav-bottom:${r.value}px`)
193
195
  }, [
194
- v(f.$slots, "navbar-toggle", {}, void 0, !0),
195
- v(f.$slots, "navbar-left", {}, void 0, !0),
196
- v(f.$slots, "navbar-right", {}, void 0, !0),
197
- f.$slots["navbar-end"] ? (n(), c("div", Je, [
198
- v(f.$slots, "navbar-end", {}, void 0, !0)
199
- ])) : y("", !0)
196
+ f(p.$slots, "navbar-toggle", {}, void 0, !0),
197
+ f(p.$slots, "navbar-left", {}, void 0, !0),
198
+ f(p.$slots, "navbar-right", {}, void 0, !0),
199
+ p.$slots["navbar-end"] ? (l(), d("div", tt, [
200
+ f(p.$slots, "navbar-end", {}, void 0, !0)
201
+ ])) : $("", !0)
200
202
  ], 6));
201
203
  }
202
- }), tt = /* @__PURE__ */ V(et, [["__scopeId", "data-v-8a07f1df"]]), it = { class: "site-wide-alert content" }, at = { class: "alert-content" }, st = { class: "content-text" }, nt = { class: "title" }, ot = { class: "body" }, lt = /* @__PURE__ */ _({
204
+ }), it = /* @__PURE__ */ U(at, [["__scopeId", "data-v-8a07f1df"]]), nt = { class: "site-wide-alert content" }, st = { class: "alert-content" }, ot = { class: "content-text" }, lt = { class: "title" }, rt = { class: "body" }, ct = /* @__PURE__ */ w({
203
205
  __name: "AlertBanner",
204
206
  props: {
205
207
  bannerTitle: {},
@@ -207,121 +209,120 @@ const Ae = "data:image/svg+xml,%3csvg%20width='16'%20height='11'%20viewBox='0%20
207
209
  },
208
210
  setup(t) {
209
211
  const e = t;
210
- return (a, o) => (n(), c("div", it, [
211
- s("div", at, [
212
- p(i($e), {
213
- "icon-definition": i(Be),
212
+ return (i, n) => (l(), d("div", nt, [
213
+ o("div", st, [
214
+ g(a(ke), {
215
+ "icon-definition": a(Me),
214
216
  size: "small",
215
217
  decorative: !0
216
218
  }, null, 8, ["icon-definition"]),
217
- s("div", st, [
218
- s("h6", nt, w(e.bannerTitle), 1),
219
- s("div", ot, w(e.bannerMessage), 1)
219
+ o("div", ot, [
220
+ o("h6", lt, x(e.bannerTitle), 1),
221
+ o("div", rt, x(e.bannerMessage), 1)
220
222
  ])
221
223
  ])
222
224
  ]));
223
225
  }
224
- }), rt = { class: "phila-navbar-item phila-navbar-list is-flex is-align-center is-justify-space-between content has-text-label-default hidden-tablet" }, ct = ["href"], dt = ["id", "onMouseenter", "onMouseleave"], ut = ["href", "aria-controls", "aria-expanded", "data-toggle", "onTouchend", "onClick"], vt = {
226
+ }), dt = { class: "phila-navbar-item phila-navbar-list is-flex is-align-center is-justify-space-between content has-text-label-default hidden-tablet" }, ut = ["href"], ft = ["id", "onMouseenter", "onMouseleave"], vt = ["href", "aria-controls", "aria-expanded", "data-toggle", "onTouchend", "onClick"], pt = {
225
227
  key: 0,
226
228
  class: "content nav-flyout has-background-ghost-gray px-6 py-4",
227
229
  tabindex: "-1"
228
- }, ft = {
230
+ }, bt = {
229
231
  class: "is-flex is-flex-column is-flex-wrap-wrap",
230
232
  style: { gap: "var(--spacing-4xl)" }
231
- }, bt = ["href"], pt = /* @__PURE__ */ _({
233
+ }, gt = ["href"], mt = /* @__PURE__ */ w({
232
234
  __name: "NavbarLinks",
233
235
  props: {
234
236
  links: {},
235
237
  visibilityGroup: {}
236
238
  },
237
239
  setup(t) {
238
- const e = (g) => !!(g.subLinks || g.subNav), a = (g) => `main-nav-${g.text.split(" ").join("-").toLowerCase().replace(/[^a-z0-9-]/g, "")}`, o = t, { setVisibility: r, create: d, isVisible: l, onMouseEnter: $, onMouseLeave: f } = H({
239
- group: o.visibilityGroup,
240
+ const e = (h) => !!(h.subLinks || h.subNav), i = (h) => `main-nav-${h.text.split(" ").join("-").toLowerCase().replace(/[^a-z0-9-]/g, "")}`, n = t, { setVisibility: s, create: r, isVisible: c, onMouseEnter: k, onMouseLeave: p } = P({
241
+ group: n.visibilityGroup,
240
242
  outsideClickHide: !0,
241
243
  escapeKeyHide: !0,
242
244
  mouseOverToggle: !0,
243
245
  blurHide: !0,
244
246
  showSingle: !0
245
247
  });
246
- return ge(() => {
247
- o.links?.forEach((g) => {
248
- if (e(g)) {
249
- const b = a(g);
250
- d(b);
248
+ return he(() => {
249
+ n.links?.forEach((h) => {
250
+ if (e(h)) {
251
+ const b = i(h);
252
+ r(b);
251
253
  }
252
254
  });
253
- }), (g, b) => (n(), c("div", rt, [
254
- (n(!0), c(T, null, Q(t.links, (u, O) => (n(), c(T, null, [
255
- e(u) ? (n(), c("div", {
256
- id: `${o.visibilityGroup}-item-${a(u)}`,
257
- key: `navbar-link-${O}`,
255
+ }), (h, b) => (l(), d("div", dt, [
256
+ (l(!0), d(E, null, j(t.links, (u, S) => (l(), d(E, null, [
257
+ e(u) ? (l(), d("div", {
258
+ id: `${n.visibilityGroup}-item-${i(u)}`,
259
+ key: `navbar-link-${S}`,
258
260
  class: "phila-navbar-link-list-item",
259
- onMouseenter: (x) => i($)(a(u)),
260
- onMouseleave: (x) => i(f)(a(u))
261
+ onMouseenter: (y) => a(k)(i(u)),
262
+ onMouseleave: (y) => a(p)(i(u))
261
263
  }, [
262
- s("a", {
264
+ o("a", {
263
265
  href: u.href,
264
- class: S(["phila-navbar-link px-4", { "phila-navbar-item-flyout-active": i(l)(a(u)) }]),
265
- "aria-controls": a(u),
266
- "aria-expanded": i(l)(a(u)),
267
- "data-toggle": `visibility-${a(u)}`,
266
+ class: H(["phila-navbar-link px-4", { "phila-navbar-item-flyout-active": a(c)(i(u)) }]),
267
+ "aria-controls": i(u),
268
+ "aria-expanded": a(c)(i(u)),
269
+ "data-toggle": `visibility-${i(u)}`,
268
270
  tabindex: "0",
269
- onTouchend: (x) => i(r)(!i(l)(a(u)), a(u)),
270
- onClick: te((x) => i(r)(!i(l)(a(u)), a(u)), ["prevent"])
271
+ onTouchend: (y) => a(s)(!a(c)(i(u)), i(u)),
272
+ onClick: K((y) => a(s)(!a(c)(i(u)), i(u)), ["prevent"])
271
273
  }, [
272
- A(w(u.text) + " ", 1),
273
- p(i(L), {
274
+ D(x(u.text) + " ", 1),
275
+ g(a(T), {
274
276
  class: "ml-1",
275
- icon: i(l)(a(u)) ? i(le) : i(re)
277
+ icon: a(c)(i(u)) ? a(Z) : a(J)
276
278
  }, null, 8, ["icon"])
277
- ], 42, ut),
278
- (n(), k(i(ae), {
279
- id: a(u),
279
+ ], 42, vt),
280
+ (l(), B(a(de), {
281
+ id: i(u),
280
282
  key: u.text,
281
283
  "allow-escape": "",
282
- hidden: !i(l)(a(u)),
283
- onEscape: (x) => i(r)(!1, a(u))
284
+ hidden: !a(c)(i(u)),
285
+ onEscape: (y) => a(s)(!1, i(u))
284
286
  }, {
285
- default: h(() => [
286
- u.subLinks ? (n(), c("div", vt, [
287
- s("ul", ft, [
288
- (n(!0), c(T, null, Q(u.subLinks, (x) => (n(), c("li", {
289
- key: x.text,
287
+ default: _(() => [
288
+ u.subLinks ? (l(), d("div", pt, [
289
+ o("ul", bt, [
290
+ (l(!0), d(E, null, j(u.subLinks, (y) => (l(), d("li", {
291
+ key: y.text,
290
292
  class: "sub-nav-link is-flex is-align-center",
291
293
  style: { width: "150px" }
292
294
  }, [
293
- s("a", {
294
- href: x.href,
295
+ o("a", {
296
+ href: y.href,
295
297
  class: "has-text-link has-text-weight-medium",
296
298
  tabindex: "0"
297
- }, w(x.text), 9, bt)
299
+ }, x(y.text), 9, gt)
298
300
  ]))), 128))
299
301
  ])
300
- ])) : (n(), k(ie(u.subNav), { key: 1 }))
302
+ ])) : (l(), B(ce(u.subNav), { key: 1 }))
301
303
  ]),
302
304
  _: 2
303
305
  }, 1032, ["id", "hidden", "onEscape"]))
304
- ], 40, dt)) : (n(), c("div", {
305
- key: `link-${O}`,
306
+ ], 40, ft)) : (l(), d("div", {
307
+ key: `link-${S}`,
306
308
  class: "phila-navbar-link-list-item"
307
309
  }, [
308
- s("a", {
310
+ o("a", {
309
311
  href: u.href,
310
312
  class: "phila-navbar-link px-4",
311
313
  tabindex: "0"
312
- }, w(u.text), 9, ct)
314
+ }, x(u.text), 9, ut)
313
315
  ]))
314
316
  ], 64))), 256))
315
317
  ]));
316
318
  }
317
- }), mt = { class: "phila-navbar-search is-flex" }, ht = { id: "navbar-search" }, gt = { class: "pr-4" }, yt = ["aria-controls", "data-toggle", "aria-expanded", "aria-label"], _t = { class: "icon" }, $t = /* @__PURE__ */ _({
319
+ }), ht = { class: "phila-navbar-search is-flex" }, yt = { id: "navbar-search" }, _t = { class: "pr-4" }, $t = ["aria-controls", "data-toggle", "aria-expanded", "aria-label"], kt = { class: "icon" }, xt = /* @__PURE__ */ w({
318
320
  __name: "NavbarSearch",
319
321
  props: {
320
- search: {},
321
322
  visibilityGroup: {}
322
323
  },
323
324
  setup(t) {
324
- const e = t, { setVisibility: a, isVisible: o } = H({
325
+ const e = t, { setVisibility: i, isVisible: n } = P({
325
326
  id: `${e.visibilityGroup}-flyout-navbar-search`,
326
327
  group: e.visibilityGroup,
327
328
  outsideClickHide: !0,
@@ -329,40 +330,40 @@ const Ae = "data:image/svg+xml,%3csvg%20width='16'%20height='11'%20viewBox='0%20
329
330
  blurHide: !0,
330
331
  showSingle: !0
331
332
  });
332
- return (r, d) => (n(), c("div", mt, [
333
- s("div", ht, [
334
- s("div", gt, [
335
- s("button", {
336
- class: S(["phila-button phila-button--primary icon-button is-small", { "phila-navbar-item-flyout-active": i(o)() }]),
333
+ return (s, r) => (l(), d("div", ht, [
334
+ o("div", yt, [
335
+ o("div", _t, [
336
+ o("button", {
337
+ class: H(["phila-button phila-button--primary icon-button is-small", { "phila-navbar-item-flyout-active": a(n)() }]),
337
338
  "aria-controls": `${e.visibilityGroup}-flyout-navbar-search`,
338
339
  "data-toggle": `visibility-${e.visibilityGroup}-flyout-navbar-search`,
339
- "aria-expanded": i(o)(),
340
- "aria-label": `${i(o)() ? "Close" : "Open"} search panel`,
341
- onClick: d[0] || (d[0] = (l) => i(a)(!i(o)()))
340
+ "aria-expanded": a(n)(),
341
+ "aria-label": `${a(n)() ? "Close" : "Open"} search panel`,
342
+ onClick: r[0] || (r[0] = (c) => a(i)(!a(n)()))
342
343
  }, [
343
- s("span", _t, [
344
- p(i(L), {
345
- icon: i(o)() ? i(oe) : i(we)
344
+ o("span", kt, [
345
+ g(a(T), {
346
+ icon: a(n)() ? a(ve) : a(Be)
346
347
  }, null, 8, ["icon"])
347
348
  ])
348
- ], 10, yt)
349
+ ], 10, $t)
349
350
  ])
350
351
  ]),
351
- p(i(ae), {
352
+ g(a(de), {
352
353
  id: `${e.visibilityGroup}-flyout-navbar-search`,
353
354
  "allow-escape": "",
354
355
  class: "nav-flyout is-12",
355
- hidden: !i(o)(),
356
- onEscape: d[1] || (d[1] = (l) => i(a)(!1, `${e.visibilityGroup}-flyout-navbar-search`))
356
+ hidden: !a(n)(),
357
+ onEscape: r[1] || (r[1] = (c) => a(i)(!1, `${e.visibilityGroup}-flyout-navbar-search`))
357
358
  }, {
358
- default: h(() => [
359
- v(r.$slots, "search-panel")
359
+ default: _(() => [
360
+ f(s.$slots, "search-panel")
360
361
  ]),
361
362
  _: 3
362
363
  }, 8, ["id", "hidden"])
363
364
  ]));
364
365
  }
365
- }), xt = /* @__PURE__ */ _({
366
+ }), wt = /* @__PURE__ */ w({
366
367
  __name: "NavbarBrandLogo",
367
368
  props: {
368
369
  logo: {},
@@ -371,22 +372,22 @@ const Ae = "data:image/svg+xml,%3csvg%20width='16'%20height='11'%20viewBox='0%20
371
372
  altText: {}
372
373
  },
373
374
  setup(t) {
374
- const e = t, a = B(() => ({
375
+ const e = t, i = C(() => ({
375
376
  variant: "city",
376
377
  layout: "stacked",
377
378
  colorScheme: "on-primary",
378
379
  href: e.href,
379
380
  ...e.logo
380
381
  }));
381
- return (o, r) => (n(), k(i(xe), M(a.value, { class: "phila-navbar-logo" }), null, 16));
382
+ return (n, s) => (l(), B(a(xe), z(i.value, { class: "phila-navbar-logo" }), null, 16));
382
383
  }
383
- }), kt = /* @__PURE__ */ V(xt, [["__scopeId", "data-v-3011c249"]]), wt = { class: "phila-navbar-brand is-flex" }, Bt = {
384
+ }), Bt = /* @__PURE__ */ U(wt, [["__scopeId", "data-v-3011c249"]]), Mt = { class: "phila-navbar-brand is-flex" }, Ct = {
384
385
  key: 0,
385
386
  class: "phila-navbar-item phila-navbar-brand-link hidden-tablet"
386
- }, Mt = {
387
+ }, Lt = {
387
388
  key: 0,
388
389
  class: "content"
389
- }, Ct = ["href"], Nt = /* @__PURE__ */ _({
390
+ }, zt = ["href"], Nt = /* @__PURE__ */ w({
390
391
  __name: "NavbarBrand",
391
392
  props: {
392
393
  brandingImage: {},
@@ -394,128 +395,267 @@ const Ae = "data:image/svg+xml,%3csvg%20width='16'%20height='11'%20viewBox='0%20
394
395
  logo: {}
395
396
  },
396
397
  setup(t) {
397
- return (e, a) => (n(), c("div", wt, [
398
- v(e.$slots, "navbar-logo", {}, () => [
399
- t.brandingImage ? (n(), k(kt, M({ key: 0 }, t.brandingImage, { logo: t.logo }), null, 16, ["logo"])) : y("", !0)
398
+ return (e, i) => (l(), d("div", Mt, [
399
+ f(e.$slots, "navbar-logo", {}, () => [
400
+ t.brandingImage ? (l(), B(Bt, z({ key: 0 }, t.brandingImage, { logo: t.logo }), null, 16, ["logo"])) : $("", !0)
400
401
  ]),
401
- e.$slots["navbar-brand-link"] || t.brandingLink ? (n(), c("div", Bt, [
402
- v(e.$slots, "navbar-brand-link", {}, () => [
403
- t.brandingLink ? (n(), c("div", Mt, [
404
- s("a", {
402
+ e.$slots["navbar-brand-link"] || t.brandingLink ? (l(), d("div", Ct, [
403
+ f(e.$slots, "navbar-brand-link", {}, () => [
404
+ t.brandingLink ? (l(), d("div", Lt, [
405
+ o("a", {
405
406
  tabindex: "0",
406
407
  href: t.brandingLink.href,
407
408
  class: "has-text-underline"
408
- }, w(t.brandingLink.text), 9, Ct)
409
- ])) : y("", !0)
409
+ }, x(t.brandingLink.text), 9, zt)
410
+ ])) : $("", !0)
410
411
  ])
411
- ])) : y("", !0)
412
+ ])) : $("", !0)
412
413
  ]));
413
414
  }
414
- }), Lt = { id: "mobile-nav" }, zt = ["aria-controls", "aria-expanded", "aria-label"], At = { class: "icon" }, Tt = ["id", "hidden"], St = /* @__PURE__ */ _({
415
+ }), At = ["id"], Tt = ["aria-controls", "aria-expanded", "aria-label"], St = { class: "icon" }, Et = ["id", "hidden"], It = /* @__PURE__ */ w({
415
416
  __name: "NavbarBurger",
416
417
  props: {
417
- mobileNav: {},
418
- visibilityGroup: {}
418
+ visibilityGroup: {},
419
+ id: {}
419
420
  },
420
421
  setup(t) {
421
- const e = t, { isVisible: a, toggleProps: o } = H({
422
- id: "mobile-nav",
422
+ const e = t, { isVisible: i, toggleProps: n } = P({
423
+ id: e.id,
423
424
  group: e.visibilityGroup,
424
425
  outsideClickHide: !0,
425
426
  escapeKeyHide: !0,
426
427
  blurHide: !1,
427
428
  showSingle: !0
428
- }), r = B(() => a("mobile-nav"));
429
- return (d, l) => (n(), c("div", Lt, [
430
- s("button", M({
431
- class: ["phila-navbar-burger phila-button icon-button", { "phila-navbar-item-flyout-active": r.value }],
429
+ }), s = C(() => i(e.id));
430
+ return (r, c) => (l(), d("div", {
431
+ id: e.id
432
+ }, [
433
+ o("button", z({
434
+ class: ["phila-navbar-burger phila-button icon-button", { "phila-navbar-item-flyout-active": s.value }],
432
435
  "aria-controls": `navbar-burger-flyout-${e.visibilityGroup}`,
433
- "aria-expanded": r.value,
434
- "aria-label": `${r.value ? "Close" : "Open"} mobile navigation panel`
435
- }, i(o)), [
436
- s("span", At, [
437
- p(i(L), {
438
- icon: r.value ? i(oe) : i(Le)
436
+ "aria-expanded": s.value,
437
+ "aria-label": `${s.value ? "Close" : "Open"} mobile navigation panel`
438
+ }, a(n)), [
439
+ o("span", St, [
440
+ g(a(T), {
441
+ icon: s.value ? a(ve) : a(Ae)
439
442
  }, null, 8, ["icon"])
440
443
  ])
441
- ], 16, zt),
442
- s("div", {
444
+ ], 16, Tt),
445
+ o("div", {
443
446
  id: `navbar-burger-flyout-${e.visibilityGroup}`,
444
447
  class: "phila-mobile-nav",
445
- hidden: !r.value
448
+ hidden: !s.value
446
449
  }, [
447
- v(d.$slots, "mobile-nav")
448
- ], 8, Tt)
449
- ]));
450
+ f(r.$slots, "mobile-nav")
451
+ ], 8, Et)
452
+ ], 8, At));
450
453
  }
451
- }), ti = /* @__PURE__ */ _({
454
+ }), Dt = {
455
+ class: "language-inline hidden-tablet",
456
+ "aria-label": "Language selection"
457
+ }, Ht = { class: "is-flex is-align-center is-gap-4" }, Ot = ["lang", "onClick"], Rt = { class: "language-globe" }, Gt = ["aria-expanded"], Pt = {
458
+ class: "icon",
459
+ "aria-hidden": "true"
460
+ }, Ut = {
461
+ class: "icon",
462
+ "aria-hidden": "true"
463
+ }, Vt = ["lang", "aria-checked", "tabindex", "onClick"], jt = /* @__PURE__ */ w({
464
+ __name: "LanguageSwitcher",
465
+ props: {
466
+ languages: {},
467
+ locale: {}
468
+ },
469
+ emits: ["update:locale"],
470
+ setup(t, { emit: e }) {
471
+ const i = t, n = e, s = L(!1), r = L(-1), c = L(null), k = L(null), p = L([]), h = C(() => i.languages.slice(0, 3));
472
+ function b() {
473
+ s.value = !0, r.value = Math.max(
474
+ 0,
475
+ i.languages.findIndex((v) => v.code === i.locale)
476
+ ), Y(() => y(r.value));
477
+ }
478
+ function u() {
479
+ s.value ? (s.value = !1, r.value = -1) : b();
480
+ }
481
+ function S() {
482
+ s.value = !1, r.value = -1, k.value?.focus();
483
+ }
484
+ function y(v) {
485
+ p.value[v]?.focus();
486
+ }
487
+ function A(v, I) {
488
+ v && (p.value[I] = v);
489
+ }
490
+ function q(v) {
491
+ n("update:locale", v), S();
492
+ }
493
+ function X(v) {
494
+ (v.key === "ArrowDown" || v.key === "ArrowUp") && (v.preventDefault(), s.value || b());
495
+ }
496
+ function m(v) {
497
+ switch (v.key) {
498
+ case "Escape":
499
+ v.preventDefault(), S();
500
+ break;
501
+ case "ArrowDown":
502
+ v.preventDefault(), r.value = (r.value + 1) % i.languages.length, y(r.value);
503
+ break;
504
+ case "ArrowUp":
505
+ v.preventDefault(), r.value = (r.value - 1 + i.languages.length) % i.languages.length, y(r.value);
506
+ break;
507
+ case "Home":
508
+ v.preventDefault(), r.value = 0, y(r.value);
509
+ break;
510
+ case "End":
511
+ v.preventDefault(), r.value = i.languages.length - 1, y(r.value);
512
+ break;
513
+ case "Tab":
514
+ S();
515
+ break;
516
+ }
517
+ }
518
+ function N(v) {
519
+ c.value && !c.value.contains(v.target) && (s.value = !1, r.value = -1);
520
+ }
521
+ return oe(() => {
522
+ document.addEventListener("click", N);
523
+ }), ye(() => {
524
+ document.removeEventListener("click", N);
525
+ }), (v, I) => (l(), d("div", {
526
+ ref_key: "containerRef",
527
+ ref: c,
528
+ class: "language-switcher is-flex is-align-center is-gap-4"
529
+ }, [
530
+ o("nav", Dt, [
531
+ o("div", Ht, [
532
+ (l(!0), d(E, null, j(h.value, (M) => (l(), d("button", {
533
+ key: M.code,
534
+ lang: M.lang,
535
+ class: "language-link",
536
+ onClick: (O) => n("update:locale", M.code)
537
+ }, x(M.title), 9, Ot))), 128))
538
+ ])
539
+ ]),
540
+ o("div", Rt, [
541
+ o("button", {
542
+ ref_key: "toggleRef",
543
+ ref: k,
544
+ class: "language-globe-toggle is-flex is-align-center",
545
+ "aria-label": "Select language",
546
+ "aria-haspopup": "true",
547
+ "aria-expanded": s.value,
548
+ onClick: K(u, ["stop"]),
549
+ onKeydown: X
550
+ }, [
551
+ o("span", Pt, [
552
+ g(a(T), { icon: a(ze) }, null, 8, ["icon"])
553
+ ]),
554
+ o("span", Ut, [
555
+ g(a(T), {
556
+ icon: s.value ? a(Z) : a(J)
557
+ }, null, 8, ["icon"])
558
+ ])
559
+ ], 40, Gt),
560
+ s.value ? (l(), d("div", {
561
+ key: 0,
562
+ class: "language-menu",
563
+ role: "menu",
564
+ onKeydown: m
565
+ }, [
566
+ (l(!0), d(E, null, j(t.languages, (M, O) => (l(), d("button", {
567
+ key: M.code,
568
+ ref_for: !0,
569
+ ref: (V) => A(V, O),
570
+ lang: M.lang,
571
+ role: "menuitemradio",
572
+ "aria-checked": M.code === t.locale,
573
+ tabindex: O === r.value ? 0 : -1,
574
+ class: H(["language-menu-item", { "is-selected": M.code === t.locale }]),
575
+ onClick: K((V) => q(M.code), ["stop"])
576
+ }, x(M.title), 11, Vt))), 128))
577
+ ], 32)) : $("", !0)
578
+ ])
579
+ ], 512));
580
+ }
581
+ }), Kt = /* @__PURE__ */ U(jt, [["__scopeId", "data-v-217fe173"]]), va = /* @__PURE__ */ w({
452
582
  __name: "AppHeader",
453
583
  props: {
454
584
  showTrustedSite: { type: Boolean, default: !0 },
455
585
  translations: { default: void 0 },
586
+ languages: { default: void 0 },
587
+ locale: { default: void 0 },
456
588
  className: {},
457
589
  id: { default: "main-nav" },
458
590
  sticky: { type: Boolean, default: !0 },
459
591
  navbarBrand: { default: void 0 },
460
592
  compactMobile: { type: Boolean, default: !1 },
461
- mobileNav: {},
462
593
  visibilityGroup: {},
463
- search: {},
464
594
  links: { default: void 0 },
465
595
  bannerTitle: { default: void 0 },
466
596
  bannerMessage: { default: void 0 }
467
597
  },
468
- setup(t) {
469
- return (e, a) => (n(), c(T, null, [
470
- t.showTrustedSite ? (n(), k(Ze, {
598
+ emits: ["update:locale"],
599
+ setup(t, { emit: e }) {
600
+ const i = e;
601
+ return (n, s) => (l(), d(E, null, [
602
+ t.showTrustedSite ? (l(), B(et, {
471
603
  key: 0,
472
604
  "compact-mobile": t.compactMobile
473
605
  }, {
474
- translation: h(() => [
475
- v(e.$slots, "translations", {}, () => [
476
- t.translations ? (n(), k(ie(t.translations), { key: 0 })) : y("", !0)
606
+ translation: _(() => [
607
+ f(n.$slots, "translations", {}, () => [
608
+ t.languages ? (l(), B(Kt, {
609
+ key: 0,
610
+ languages: t.languages,
611
+ locale: t.locale ?? "",
612
+ "onUpdate:locale": s[0] || (s[0] = (r) => i("update:locale", r))
613
+ }, null, 8, ["languages", "locale"])) : t.translations ? (l(), B(ce(t.translations), { key: 1 })) : $("", !0)
477
614
  ])
478
615
  ]),
479
616
  _: 3
480
- }, 8, ["compact-mobile"])) : y("", !0),
481
- p(tt, {
617
+ }, 8, ["compact-mobile"])) : $("", !0),
618
+ g(it, {
482
619
  id: t.id,
483
620
  sticky: t.sticky,
484
621
  "compact-mobile": t.compactMobile
485
- }, K({
486
- "navbar-toggle": h(() => [
487
- v(e.$slots, "navbar-toggle", {}, () => [
488
- p(St, { "visibility-group": t.id }, K({ _: 2 }, [
489
- e.$slots["mobile-nav"] ? {
622
+ }, te({
623
+ "navbar-toggle": _(() => [
624
+ f(n.$slots, "navbar-toggle", {}, () => [
625
+ g(It, {
626
+ id: `mobile-nav-${t.id}`,
627
+ "visibility-group": t.id
628
+ }, te({ _: 2 }, [
629
+ n.$slots["mobile-nav"] ? {
490
630
  name: "mobile-nav",
491
- fn: h(() => [
492
- v(e.$slots, "mobile-nav")
631
+ fn: _(() => [
632
+ f(n.$slots, "mobile-nav")
493
633
  ]),
494
634
  key: "0"
495
635
  } : void 0
496
- ]), 1032, ["visibility-group"])
636
+ ]), 1032, ["id", "visibility-group"])
497
637
  ])
498
638
  ]),
499
- "navbar-left": h(() => [
500
- v(e.$slots, "navbar-left", {}, () => [
501
- v(e.$slots, "navbar-brand", {}, () => [
502
- t.navbarBrand ? (n(), k(Nt, I(M({ key: 0 }, t.navbarBrand)), null, 16)) : y("", !0)
639
+ "navbar-left": _(() => [
640
+ f(n.$slots, "navbar-left", {}, () => [
641
+ f(n.$slots, "navbar-brand", {}, () => [
642
+ t.navbarBrand ? (l(), B(Nt, G(z({ key: 0 }, t.navbarBrand)), null, 16)) : $("", !0)
503
643
  ])
504
644
  ])
505
645
  ]),
506
- "navbar-right": h(() => [
507
- v(e.$slots, "navbar-right", {}, () => [
508
- v(e.$slots, "navbar-links", {}, () => [
509
- t.links ? (n(), k(pt, {
646
+ "navbar-right": _(() => [
647
+ f(n.$slots, "navbar-right", {}, () => [
648
+ f(n.$slots, "navbar-links", {}, () => [
649
+ t.links ? (l(), B(mt, {
510
650
  key: 0,
511
651
  links: t.links,
512
652
  "visibility-group": t.id
513
- }, null, 8, ["links", "visibility-group"])) : y("", !0)
653
+ }, null, 8, ["links", "visibility-group"])) : $("", !0)
514
654
  ]),
515
- v(e.$slots, "navbar-search", {}, () => [
516
- p($t, { "visibility-group": t.id }, {
517
- "search-panel": h(() => [
518
- v(e.$slots, "search-panel")
655
+ f(n.$slots, "navbar-search", {}, () => [
656
+ g(xt, { "visibility-group": t.id }, {
657
+ "search-panel": _(() => [
658
+ f(n.$slots, "search-panel")
519
659
  ]),
520
660
  _: 3
521
661
  }, 8, ["visibility-group"])
@@ -524,22 +664,22 @@ const Ae = "data:image/svg+xml,%3csvg%20width='16'%20height='11'%20viewBox='0%20
524
664
  ]),
525
665
  _: 2
526
666
  }, [
527
- e.$slots["navbar-end"] ? {
667
+ n.$slots["navbar-end"] ? {
528
668
  name: "navbar-end",
529
- fn: h(() => [
530
- v(e.$slots, "navbar-end")
669
+ fn: _(() => [
670
+ f(n.$slots, "navbar-end")
531
671
  ]),
532
672
  key: "0"
533
673
  } : void 0
534
674
  ]), 1032, ["id", "sticky", "compact-mobile"]),
535
- t.bannerTitle || t.bannerMessage ? (n(), k(lt, {
675
+ t.bannerTitle || t.bannerMessage ? (l(), B(ct, {
536
676
  key: 1,
537
677
  "banner-title": t.bannerTitle,
538
678
  "banner-message": t.bannerMessage
539
- }, null, 8, ["banner-title", "banner-message"])) : y("", !0)
679
+ }, null, 8, ["banner-title", "banner-message"])) : $("", !0)
540
680
  ], 64));
541
681
  }
542
- }), Et = ["disabled"], q = /* @__PURE__ */ _({
682
+ }), Ft = ["disabled"], ie = /* @__PURE__ */ w({
543
683
  inheritAttrs: !1,
544
684
  __name: "PhlButton",
545
685
  props: {
@@ -561,24 +701,24 @@ const Ae = "data:image/svg+xml,%3csvg%20width='16'%20height='11'%20viewBox='0%20
561
701
  svgRaw: {}
562
702
  },
563
703
  setup(t) {
564
- const e = t, a = (l) => "href" in l && l.href !== void 0 || "to" in l && l.to !== void 0, o = B(() => R(
704
+ const e = t, i = (c) => "href" in c && c.href !== void 0 || "to" in c && c.to !== void 0, n = C(() => W(
565
705
  "phila-button",
566
706
  `phila-button--${e.variant}`,
567
707
  e.size && `is-${e.size}`,
568
708
  e.iconOnly && "icon-button",
569
709
  e.iconOnly && e.variant === "standard" && "icon-button--standard",
570
710
  e.className
571
- )), r = B(() => a(e) ? "to" in e && e.to !== void 0 ? {
711
+ )), s = C(() => i(e) ? "to" in e && e.to !== void 0 ? {
572
712
  to: e.to,
573
713
  disabled: e.disabled,
574
- className: o.value
714
+ className: n.value
575
715
  } : {
576
716
  href: e.href,
577
717
  target: e.target,
578
718
  rel: e.rel,
579
719
  disabled: e.disabled,
580
- className: o.value
581
- } : {}), d = B(
720
+ className: n.value
721
+ } : {}), r = C(
582
722
  () => ({
583
723
  iconDefinition: e.iconDefinition,
584
724
  iconClass: e.iconClass,
@@ -589,51 +729,51 @@ const Ae = "data:image/svg+xml,%3csvg%20width='16'%20height='11'%20viewBox='0%20
589
729
  size: e.size
590
730
  })
591
731
  );
592
- return (l, $) => a(e) ? (n(), k(i(se), M({ key: 0 }, { ...r.value, ...l.$attrs }, { role: "button" }), {
593
- default: h(() => [
594
- p(i(P), I(D(d.value)), {
595
- default: h(() => [
596
- v(l.$slots, "default", {}, () => [
597
- A(w(e.text), 1)
732
+ return (c, k) => i(e) ? (l(), B(a(ue), z({ key: 0 }, { ...s.value, ...c.$attrs }, { role: "button" }), {
733
+ default: _(() => [
734
+ g(a(Q), G(F(r.value)), {
735
+ default: _(() => [
736
+ f(c.$slots, "default", {}, () => [
737
+ D(x(e.text), 1)
598
738
  ])
599
739
  ]),
600
740
  _: 3
601
741
  }, 16)
602
742
  ]),
603
743
  _: 3
604
- }, 16)) : (n(), c("button", M({
744
+ }, 16)) : (l(), d("button", z({
605
745
  key: 1,
606
746
  type: "button",
607
747
  disabled: e.disabled,
608
- class: o.value
609
- }, l.$attrs), [
610
- p(i(P), I(D(d.value)), {
611
- default: h(() => [
612
- v(l.$slots, "default", {}, () => [
613
- A(w(e.text), 1)
748
+ class: n.value
749
+ }, c.$attrs), [
750
+ g(a(Q), G(F(r.value)), {
751
+ default: _(() => [
752
+ f(c.$slots, "default", {}, () => [
753
+ D(x(e.text), 1)
614
754
  ])
615
755
  ]),
616
756
  _: 3
617
757
  }, 16)
618
- ], 16, Et));
758
+ ], 16, Ft));
619
759
  }
620
760
  });
621
- var X = {
761
+ var ne = {
622
762
  prefix: "fas",
623
763
  iconName: "xmark",
624
764
  icon: [384, 512, [128473, 10005, 10006, 10060, 215, "close", "multiply", "remove", "times"], "f00d", "M55.1 73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L147.2 256 9.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192.5 301.3 329.9 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.8 256 375.1 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192.5 210.7 55.1 73.4z"]
625
765
  };
626
- const It = ["id"], Ht = {
766
+ const Qt = ["id"], Wt = {
627
767
  key: 0,
628
768
  class: "tooltip__tail",
629
769
  "aria-hidden": "true"
630
- }, Ot = {
770
+ }, qt = {
631
771
  key: 1,
632
772
  class: "tooltip__plain-row has-text-body-small"
633
- }, Gt = {
773
+ }, Xt = {
634
774
  key: 0,
635
775
  class: "tooltip__title-row"
636
- }, Dt = { key: 0 }, Pt = /* @__PURE__ */ _({
776
+ }, Yt = { key: 0 }, Zt = /* @__PURE__ */ w({
637
777
  __name: "TooltipBubble",
638
778
  props: {
639
779
  id: {},
@@ -647,8 +787,8 @@ const It = ["id"], Ht = {
647
787
  },
648
788
  emits: ["dismiss"],
649
789
  setup(t) {
650
- const e = t, a = B(
651
- () => R(
790
+ const e = t, i = C(
791
+ () => W(
652
792
  "tooltip",
653
793
  "content",
654
794
  "resets-link-colors",
@@ -658,48 +798,48 @@ const It = ["id"], Ht = {
658
798
  e.className
659
799
  )
660
800
  );
661
- return (o, r) => (n(), c("div", {
801
+ return (n, s) => (l(), d("div", {
662
802
  id: t.id,
663
- class: S(a.value),
803
+ class: H(i.value),
664
804
  role: "tooltip"
665
805
  }, [
666
- t.tail ? (n(), c("div", Ht)) : y("", !0),
667
- t.type === "plain" ? (n(), c("div", Ot, [
668
- v(o.$slots, "default", {}, void 0, !0),
669
- t.dismissable ? (n(), k(i(q), {
806
+ t.tail ? (l(), d("div", Wt)) : $("", !0),
807
+ t.type === "plain" ? (l(), d("div", qt, [
808
+ f(n.$slots, "default", {}, void 0, !0),
809
+ t.dismissable ? (l(), B(a(ie), {
670
810
  key: 0,
671
811
  class: "tooltip__dismiss",
672
812
  variant: "standard",
673
813
  size: "extra-small",
674
814
  "icon-only": !0,
675
- "icon-definition": i(X),
815
+ "icon-definition": a(ne),
676
816
  "aria-label": "Dismiss tooltip",
677
- onClick: r[0] || (r[0] = (d) => o.$emit("dismiss"))
678
- }, null, 8, ["icon-definition"])) : y("", !0)
679
- ])) : (n(), c(T, { key: 2 }, [
680
- t.title || t.dismissable ? (n(), c("div", Gt, [
681
- t.title ? (n(), c("h6", Dt, w(t.title), 1)) : y("", !0),
682
- t.dismissable ? (n(), k(i(q), {
817
+ onClick: s[0] || (s[0] = (r) => n.$emit("dismiss"))
818
+ }, null, 8, ["icon-definition"])) : $("", !0)
819
+ ])) : (l(), d(E, { key: 2 }, [
820
+ t.title || t.dismissable ? (l(), d("div", Xt, [
821
+ t.title ? (l(), d("h6", Yt, x(t.title), 1)) : $("", !0),
822
+ t.dismissable ? (l(), B(a(ie), {
683
823
  key: 1,
684
824
  class: "tooltip__dismiss",
685
825
  variant: "standard",
686
826
  size: "extra-small",
687
827
  "icon-only": !0,
688
- "icon-definition": i(X),
828
+ "icon-definition": a(ne),
689
829
  "aria-label": "Dismiss tooltip",
690
- onClick: r[1] || (r[1] = (d) => o.$emit("dismiss"))
691
- }, null, 8, ["icon-definition"])) : y("", !0)
692
- ])) : y("", !0),
693
- v(o.$slots, "default", {}, void 0, !0)
830
+ onClick: s[1] || (s[1] = (r) => n.$emit("dismiss"))
831
+ }, null, 8, ["icon-definition"])) : $("", !0)
832
+ ])) : $("", !0),
833
+ f(n.$slots, "default", {}, void 0, !0)
694
834
  ], 64))
695
- ], 10, It));
835
+ ], 10, Qt));
696
836
  }
697
- }), de = (t, e) => {
698
- const a = t.__vccOpts || t;
699
- for (const [o, r] of e)
700
- a[o] = r;
701
- return a;
702
- }, Rt = /* @__PURE__ */ de(Pt, [["__scopeId", "data-v-7ccd7c7d"]]), Vt = /* @__PURE__ */ _({
837
+ }), be = (t, e) => {
838
+ const i = t.__vccOpts || t;
839
+ for (const [n, s] of e)
840
+ i[n] = s;
841
+ return i;
842
+ }, Jt = /* @__PURE__ */ be(Zt, [["__scopeId", "data-v-7ccd7c7d"]]), ea = /* @__PURE__ */ w({
703
843
  __name: "Tooltip",
704
844
  props: {
705
845
  trigger: { default: "hover" },
@@ -712,75 +852,75 @@ const It = ["id"], Ht = {
712
852
  className: {}
713
853
  },
714
854
  setup(t, { expose: e }) {
715
- const a = t, o = ye(), r = z(!1), d = z(null), l = z(null), $ = z("top-center"), f = z(0), g = () => {
716
- const m = d.value?.getBoundingClientRect();
855
+ const i = t, n = _e(), s = L(!1), r = L(null), c = L(null), k = L("top-center"), p = L(0), h = () => {
856
+ const m = r.value?.getBoundingClientRect();
717
857
  if (!m) return "top-center";
718
- const { innerWidth: N, innerHeight: U } = window, G = m.top, fe = U - m.bottom, j = l.value?.firstElementChild?.getBoundingClientRect().height ?? 0, be = (j > 0 ? G >= j : G >= fe) ? "top" : "bottom", F = m.left + m.width / 2, pe = F < N / 3 ? "left" : F > N * 2 / 3 ? "right" : "center";
719
- return `${be}-${pe}`;
858
+ const { innerWidth: N, innerHeight: v } = window, I = m.top, M = v - m.bottom, O = c.value?.firstElementChild?.getBoundingClientRect().height ?? 0, V = (O > 0 ? I >= O : I >= M) ? "top" : "bottom", ee = m.left + m.width / 2, ge = ee < N / 3 ? "left" : ee > N * 2 / 3 ? "right" : "center";
859
+ return `${V}-${ge}`;
720
860
  }, b = (m) => {
721
- m.key === "Escape" && C();
861
+ m.key === "Escape" && A();
722
862
  }, u = (m) => {
723
- d.value && !d.value.contains(m.target) && C();
863
+ r.value && !r.value.contains(m.target) && A();
724
864
  };
725
- function O() {
726
- const m = l.value?.firstElementChild?.getBoundingClientRect();
865
+ function S() {
866
+ const m = c.value?.firstElementChild?.getBoundingClientRect();
727
867
  if (!m) return;
728
- const N = 8, U = m.right - (window.innerWidth - N), G = N - m.left;
729
- U <= 0 && G <= 0 || (f.value = window.innerWidth / 2 - (m.left + m.width / 2));
868
+ const N = 8, v = m.right - (window.innerWidth - N), I = N - m.left;
869
+ v <= 0 && I <= 0 || (p.value = window.innerWidth / 2 - (m.left + m.width / 2));
730
870
  }
731
- const x = async () => {
732
- a.placement === "auto" ? $.value = g() : $.value = a.placement, f.value = 0, r.value = !0, document.addEventListener("keydown", b), a.trigger === "click" && document.addEventListener("click", u), await Z(), O();
733
- }, C = () => {
734
- r.value = !1, document.removeEventListener("keydown", b), document.removeEventListener("click", u);
735
- }, ue = () => {
736
- r.value ? C() : x();
871
+ const y = async () => {
872
+ i.placement === "auto" ? k.value = h() : k.value = i.placement, p.value = 0, s.value = !0, document.addEventListener("keydown", b), i.trigger === "click" && document.addEventListener("click", u), await Y(), S();
873
+ }, A = () => {
874
+ s.value = !1, document.removeEventListener("keydown", b), document.removeEventListener("click", u);
875
+ }, q = () => {
876
+ s.value ? A() : y();
737
877
  };
738
- J(C), e({ show: x, hide: C });
739
- const ve = B(() => ({
740
- type: a.type,
741
- color: a.color,
742
- tail: a.tail,
743
- placement: $.value,
744
- title: a.title,
745
- dismissable: a.dismissable
878
+ le(A), e({ show: y, hide: A });
879
+ const X = C(() => ({
880
+ type: i.type,
881
+ color: i.color,
882
+ tail: i.tail,
883
+ placement: k.value,
884
+ title: i.title,
885
+ dismissable: i.dismissable
746
886
  }));
747
- return (m, N) => (n(), c("span", M(
887
+ return (m, N) => (l(), d("span", z(
748
888
  {
749
889
  ref_key: "wrapperEl",
750
- ref: d,
751
- class: i(R)("tooltip-trigger", a.className)
890
+ ref: r,
891
+ class: a(W)("tooltip-trigger", i.className)
752
892
  },
753
- t.trigger === "click" ? { onClick: ue } : { onMouseenter: x, onMouseleave: C, onFocusin: x, onFocusout: C }
893
+ t.trigger === "click" ? { onClick: q } : { onMouseenter: y, onMouseleave: A, onFocusin: y, onFocusout: A }
754
894
  ), [
755
- v(m.$slots, "default", {
756
- tooltipId: i(o),
757
- isOpen: r.value
895
+ f(m.$slots, "default", {
896
+ tooltipId: a(n),
897
+ isOpen: s.value
758
898
  }, void 0, !0),
759
- s("span", {
899
+ o("span", {
760
900
  ref_key: "positionerEl",
761
- ref: l,
762
- class: S(["tooltip-trigger__positioner", `tooltip-trigger__positioner--${$.value}`]),
763
- style: ee({
764
- visibility: r.value ? "visible" : "hidden",
901
+ ref: c,
902
+ class: H(["tooltip-trigger__positioner", `tooltip-trigger__positioner--${k.value}`]),
903
+ style: re({
904
+ visibility: s.value ? "visible" : "hidden",
765
905
  "--positioner-gap": t.tail ? "var(--spacing-l)" : "0.5rem",
766
- "--adjust-x": `${f.value}px`
906
+ "--adjust-x": `${p.value}px`
767
907
  }),
768
- onClick: N[0] || (N[0] = te(() => {
908
+ onClick: N[0] || (N[0] = K(() => {
769
909
  }, ["stop"]))
770
910
  }, [
771
- p(Rt, M(ve.value, {
772
- id: i(o),
773
- onDismiss: C
911
+ g(Jt, z(X.value, {
912
+ id: a(n),
913
+ onDismiss: A
774
914
  }), {
775
- default: h(() => [
776
- v(m.$slots, "body", {}, void 0, !0)
915
+ default: _(() => [
916
+ f(m.$slots, "body", {}, void 0, !0)
777
917
  ]),
778
918
  _: 3
779
919
  }, 16, ["id"])
780
920
  ], 6)
781
921
  ], 16));
782
922
  }
783
- }), Ut = /* @__PURE__ */ de(Vt, [["__scopeId", "data-v-b3f93b8c"]]), jt = ["disabled"], Ft = /* @__PURE__ */ _({
923
+ }), ta = /* @__PURE__ */ be(ea, [["__scopeId", "data-v-b3f93b8c"]]), aa = ["disabled"], ia = /* @__PURE__ */ w({
784
924
  inheritAttrs: !1,
785
925
  __name: "PhlButton",
786
926
  props: {
@@ -802,24 +942,24 @@ const It = ["id"], Ht = {
802
942
  svgRaw: {}
803
943
  },
804
944
  setup(t) {
805
- const e = t, a = (l) => "href" in l && l.href !== void 0 || "to" in l && l.to !== void 0, o = B(() => R(
945
+ const e = t, i = (c) => "href" in c && c.href !== void 0 || "to" in c && c.to !== void 0, n = C(() => W(
806
946
  "phila-button",
807
947
  `phila-button--${e.variant}`,
808
948
  e.size && `is-${e.size}`,
809
949
  e.iconOnly && "icon-button",
810
950
  e.iconOnly && e.variant === "standard" && "icon-button--standard",
811
951
  e.className
812
- )), r = B(() => a(e) ? "to" in e && e.to !== void 0 ? {
952
+ )), s = C(() => i(e) ? "to" in e && e.to !== void 0 ? {
813
953
  to: e.to,
814
954
  disabled: e.disabled,
815
- className: o.value
955
+ className: n.value
816
956
  } : {
817
957
  href: e.href,
818
958
  target: e.target,
819
959
  rel: e.rel,
820
960
  disabled: e.disabled,
821
- className: o.value
822
- } : {}), d = B(
961
+ className: n.value
962
+ } : {}), r = C(
823
963
  () => ({
824
964
  iconDefinition: e.iconDefinition,
825
965
  iconClass: e.iconClass,
@@ -830,39 +970,39 @@ const It = ["id"], Ht = {
830
970
  size: e.size
831
971
  })
832
972
  );
833
- return (l, $) => a(e) ? (n(), k(i(se), M({ key: 0 }, { ...r.value, ...l.$attrs }, { role: "button" }), {
834
- default: h(() => [
835
- p(i(P), I(D(d.value)), {
836
- default: h(() => [
837
- v(l.$slots, "default", {}, () => [
838
- A(w(e.text), 1)
973
+ return (c, k) => i(e) ? (l(), B(a(ue), z({ key: 0 }, { ...s.value, ...c.$attrs }, { role: "button" }), {
974
+ default: _(() => [
975
+ g(a(Q), G(F(r.value)), {
976
+ default: _(() => [
977
+ f(c.$slots, "default", {}, () => [
978
+ D(x(e.text), 1)
839
979
  ])
840
980
  ]),
841
981
  _: 3
842
982
  }, 16)
843
983
  ]),
844
984
  _: 3
845
- }, 16)) : (n(), c("button", M({
985
+ }, 16)) : (l(), d("button", z({
846
986
  key: 1,
847
987
  type: "button",
848
988
  disabled: e.disabled,
849
- class: o.value
850
- }, l.$attrs), [
851
- p(i(P), I(D(d.value)), {
852
- default: h(() => [
853
- v(l.$slots, "default", {}, () => [
854
- A(w(e.text), 1)
989
+ class: n.value
990
+ }, c.$attrs), [
991
+ g(a(Q), G(F(r.value)), {
992
+ default: _(() => [
993
+ f(c.$slots, "default", {}, () => [
994
+ D(x(e.text), 1)
855
995
  ])
856
996
  ]),
857
997
  _: 3
858
998
  }, 16)
859
- ], 16, jt));
999
+ ], 16, aa));
860
1000
  }
861
- }), Qt = { class: "navbar-info" }, Kt = { class: "navbar-info__group" }, Wt = {
1001
+ }), na = { class: "navbar-info" }, sa = { class: "navbar-info__group" }, oa = {
862
1002
  key: 0,
863
1003
  class: "navbar-info__label has-text-body-default hidden-tablet",
864
1004
  "aria-hidden": "true"
865
- }, qt = { class: "has-text-body-small" }, Xt = /* @__PURE__ */ _({
1005
+ }, la = { class: "has-text-body-small" }, ra = /* @__PURE__ */ w({
866
1006
  __name: "NavbarInfo",
867
1007
  props: {
868
1008
  infoTitle: {},
@@ -870,53 +1010,54 @@ const It = ["id"], Ht = {
870
1010
  label: {}
871
1011
  },
872
1012
  setup(t, { expose: e }) {
873
- const a = E("tooltip");
1013
+ const i = R("tooltip");
874
1014
  return e({
875
- show: () => a.value?.show(),
876
- hide: () => a.value?.hide()
877
- }), (o, r) => (n(), c("div", Qt, [
878
- p(i(Ut), {
1015
+ show: () => i.value?.show(),
1016
+ hide: () => i.value?.hide()
1017
+ }), (n, s) => (l(), d("div", na, [
1018
+ g(a(ta), {
879
1019
  ref_key: "tooltip",
880
- ref: a,
1020
+ ref: i,
881
1021
  type: "rich",
882
1022
  title: t.infoTitle,
883
1023
  trigger: "click",
884
1024
  dismissable: !0
885
1025
  }, {
886
- default: h(({ tooltipId: d, isOpen: l }) => [
887
- s("span", Kt, [
888
- p(i(Ft), {
1026
+ default: _(({ tooltipId: r, isOpen: c }) => [
1027
+ o("span", sa, [
1028
+ g(a(ia), {
889
1029
  class: "navbar-info__trigger",
890
1030
  variant: "standard",
891
1031
  size: "small",
892
1032
  "icon-only": !0,
893
- "icon-definition": i(ce),
1033
+ "icon-definition": a(pe),
894
1034
  "aria-label": "More information",
895
- "aria-describedby": d,
896
- "aria-pressed": l
1035
+ "aria-describedby": r,
1036
+ "aria-pressed": c
897
1037
  }, null, 8, ["icon-definition", "aria-describedby", "aria-pressed"]),
898
- t.label ? (n(), c("span", Wt, w(t.label), 1)) : y("", !0)
1038
+ t.label ? (l(), d("span", oa, x(t.label), 1)) : $("", !0)
899
1039
  ])
900
1040
  ]),
901
- body: h(() => [
902
- v(o.$slots, "default", {}, () => [
903
- s("div", qt, w(t.infoMessage), 1)
1041
+ body: _(() => [
1042
+ f(n.$slots, "default", {}, () => [
1043
+ o("div", la, x(t.infoMessage), 1)
904
1044
  ], !0)
905
1045
  ]),
906
1046
  _: 3
907
1047
  }, 8, ["title"])
908
1048
  ]));
909
1049
  }
910
- }), ii = /* @__PURE__ */ V(Xt, [["__scopeId", "data-v-c3989251"]]);
1050
+ }), pa = /* @__PURE__ */ U(ra, [["__scopeId", "data-v-c3989251"]]);
911
1051
  export {
912
- lt as AlertBanner,
913
- ti as AppHeader,
914
- tt as NavBar,
1052
+ ct as AlertBanner,
1053
+ va as AppHeader,
1054
+ Kt as LanguageSwitcher,
1055
+ it as NavBar,
915
1056
  Nt as NavbarBrand,
916
- kt as NavbarBrandLogo,
917
- St as NavbarBurger,
918
- ii as NavbarInfo,
919
- pt as NavbarLinks,
920
- $t as NavbarSearch,
921
- Ze as TrustedSite
1057
+ Bt as NavbarBrandLogo,
1058
+ It as NavbarBurger,
1059
+ pa as NavbarInfo,
1060
+ mt as NavbarLinks,
1061
+ xt as NavbarSearch,
1062
+ et as TrustedSite
922
1063
  };