@phila/phila-ui-app-header 0.3.0-beta.7 → 0.3.0-beta.8

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,219 +1,219 @@
1
- import { defineComponent as k, useSlots as H, computed as M, createElementBlock as c, openBlock as s, Fragment as y, createElementVNode as a, createCommentVNode as h, unref as t, createTextVNode as C, createVNode as b, renderSlot as f, createBlock as u, withCtx as m, resolveDynamicComponent as _, normalizeClass as $, renderList as A, toDisplayString as x, withKeys as O, mergeProps as z, useTemplateRef as j, ref as N, watch as D, onMounted as V, onUnmounted as Q, normalizeStyle as K, createSlots as S } from "vue";
2
- import { FontAwesomeIcon as p } from "@fortawesome/vue-fontawesome";
3
- import { useCollapse as T, debounce as F, Icon as R } from "@phila/phila-ui-core";
4
- import { CollapsePanel as w } from "@phila/phila-ui-collapse-panel";
5
- import { Logo as q } from "@phila/phila-ui-logo";
6
- import './index.css';var W = {
1
+ import { defineComponent as y, useSlots as ue, computed as k, createElementBlock as u, openBlock as o, Fragment as N, createElementVNode as s, createCommentVNode as m, unref as n, createTextVNode as w, createVNode as p, renderSlot as f, createBlock as b, withCtx as v, resolveDynamicComponent as E, normalizeClass as z, renderList as F, toDisplayString as h, withKeys as fe, mergeProps as C, useTemplateRef as W, ref as B, watch as ve, onMounted as me, onUnmounted as q, normalizeStyle as X, createSlots as Z, useId as be, withModifiers as pe, normalizeProps as M, guardReactiveProps as T } from "vue";
2
+ import { FontAwesomeIcon as $ } from "@fortawesome/vue-fontawesome";
3
+ import { useCollapse as Y, debounce as he, Icon as ye, cn as I, BaseLink as J, ActionContent as S } from "@phila/phila-ui-core";
4
+ import { CollapsePanel as D } from "@phila/phila-ui-collapse-panel";
5
+ import { Logo as ge } from "@phila/phila-ui-logo";
6
+ import './index.css';var ke = {
7
7
  prefix: "fas",
8
8
  iconName: "magnifying-glass",
9
9
  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"]
10
- }, X = W, Y = {
10
+ }, _e = ke, xe = {
11
11
  prefix: "fas",
12
12
  iconName: "circle-exclamation",
13
13
  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"]
14
- }, E = {
14
+ }, P = {
15
15
  prefix: "fas",
16
16
  iconName: "xmark",
17
17
  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"]
18
- }, Z = E, I = E, J = {
18
+ }, $e = P, ee = P, Ce = {
19
19
  prefix: "fas",
20
20
  iconName: "lock",
21
21
  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"]
22
- }, U = {
22
+ }, te = {
23
23
  prefix: "fas",
24
24
  iconName: "caret-up",
25
25
  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"]
26
- }, G = {
26
+ }, ae = {
27
27
  prefix: "fas",
28
28
  iconName: "caret-down",
29
29
  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
- }, P = {
30
+ }, we = {
31
31
  prefix: "fas",
32
32
  iconName: "building-columns",
33
33
  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"]
34
- }, ee = {
34
+ }, Be = {
35
35
  prefix: "fas",
36
36
  iconName: "bars",
37
37
  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"]
38
- }, ae = {
38
+ }, Ne = {
39
39
  prefix: "fas",
40
40
  iconName: "circle-info",
41
41
  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"]
42
- }, ne = ae;
43
- const te = "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", ie = {
42
+ }, ie = Ne;
43
+ const ze = "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", Ae = {
44
44
  id: "trusted-site",
45
45
  class: "is-flex is-justify-space-between"
46
- }, se = { class: "trusted-wrap" }, oe = { class: "hidden-tablet trusted-toggle is-flex is-align-center" }, le = ["src"], re = ["aria-label", "aria-expanded"], ce = {
46
+ }, Le = { class: "trusted-wrap" }, Me = { class: "hidden-tablet trusted-toggle is-flex is-align-center" }, Te = ["src"], Se = ["aria-label", "aria-expanded"], Ee = {
47
47
  class: "icon",
48
48
  "aria-hidden": "true"
49
- }, de = { class: "hidden-desktop trusted-toggle is-flex is-align-center" }, ue = ["aria-label", "aria-expanded"], ve = {
49
+ }, Ie = { class: "hidden-desktop trusted-toggle is-flex is-align-center" }, Oe = ["aria-label", "aria-expanded"], De = {
50
50
  class: "icon",
51
51
  "aria-hidden": "true"
52
- }, fe = {
52
+ }, Re = {
53
53
  key: 0,
54
54
  class: "trusted-translation is-flex is-align-center"
55
- }, he = ["hidden"], be = { class: "trusted-site-info-content content has-text-body-small is-flex is-justify-space-between" }, me = { class: "info-item-wrap is-flex" }, pe = { class: "info-item is-flex is-12-mobile is-align-flex-start is-flex-1 my-4" }, ke = { class: "trusted-icon is-flex is-flex-column has-text-center" }, ge = { class: "icon circle-icon p-3 mb-2" }, xe = { class: "info-item is-flex is-12-mobile is-align-flex-start is-flex-1 my-4" }, ye = { class: "trusted-icon is-flex is-flex-column has-text-center" }, _e = { class: "icon circle-icon p-3 mb-2" }, $e = { class: "info-content-close mt-4" }, Ce = /* @__PURE__ */ k({
55
+ }, He = ["hidden"], Ue = { class: "trusted-site-info-content content has-text-body-small is-flex is-justify-space-between" }, Ge = { 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" }, Ve = { 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" }, Ke = { class: "trusted-icon is-flex is-flex-column has-text-center" }, We = { class: "icon circle-icon p-3 mb-2" }, qe = { class: "info-content-close mt-4" }, Xe = /* @__PURE__ */ y({
56
56
  __name: "TrustedSite",
57
- setup(e) {
58
- const l = H(), { isCollapsed: d, onClickToggle: n } = T({
57
+ setup(t) {
58
+ const e = ue(), { isCollapsed: l, onClickToggle: a } = Y({
59
59
  id: "trusted-site-info",
60
60
  escapeKeyClose: !0
61
- }), v = M(() => d("trusted-site-info"));
62
- return (r, o) => (s(), c(y, null, [
63
- a("div", ie, [
64
- a("div", se, [
65
- a("div", oe, [
66
- a("img", {
67
- src: t(te),
61
+ }), c = k(() => l("trusted-site-info"));
62
+ return (d, i) => (o(), u(N, null, [
63
+ s("div", Ae, [
64
+ s("div", Le, [
65
+ s("div", Me, [
66
+ s("img", {
67
+ src: n(ze),
68
68
  alt: "",
69
69
  class: "icon"
70
- }, null, 8, le),
71
- o[4] || (o[4] = a("div", { class: "content mx-2" }, "An official website of the City of Philadelphia government", -1)),
72
- a("button", {
70
+ }, null, 8, Te),
71
+ i[4] || (i[4] = s("div", { class: "content mx-2" }, "An official website of the City of Philadelphia government", -1)),
72
+ s("button", {
73
73
  class: "phila-button is-extra-small",
74
- "aria-label": `${v.value ? "Close" : "Open"} Trusted Site information panel`,
74
+ "aria-label": `${c.value ? "Close" : "Open"} Trusted Site information panel`,
75
75
  "aria-controls": "trusted-site-info",
76
- "aria-expanded": v.value,
77
- onClick: o[0] || (o[0] = //@ts-ignore
78
- (...i) => t(n) && t(n)(...i))
76
+ "aria-expanded": c.value,
77
+ onClick: i[0] || (i[0] = //@ts-ignore
78
+ (...r) => n(a) && n(a)(...r))
79
79
  }, [
80
- o[3] || (o[3] = C(" Here's how you know ", -1)),
81
- a("span", ce, [
82
- b(t(p), {
83
- icon: v.value ? t(U) : t(G)
80
+ i[3] || (i[3] = w(" Here's how you know ", -1)),
81
+ s("span", Ee, [
82
+ p(n($), {
83
+ icon: c.value ? n(te) : n(ae)
84
84
  }, null, 8, ["icon"])
85
85
  ])
86
- ], 8, re)
86
+ ], 8, Se)
87
87
  ]),
88
- a("div", de, [
89
- a("button", {
88
+ s("div", Ie, [
89
+ s("button", {
90
90
  class: "phila-button is-extra-small",
91
- "aria-label": `${v.value ? "Close" : "Open"} Trusted Site information panel`,
91
+ "aria-label": `${c.value ? "Close" : "Open"} Trusted Site information panel`,
92
92
  "aria-controls": "trusted-site-info",
93
- "aria-expanded": v.value,
94
- onClick: o[1] || (o[1] = //@ts-ignore
95
- (...i) => t(n) && t(n)(...i))
93
+ "aria-expanded": c.value,
94
+ onClick: i[1] || (i[1] = //@ts-ignore
95
+ (...r) => n(a) && n(a)(...r))
96
96
  }, [
97
- o[5] || (o[5] = C(" An official website ", -1)),
98
- a("span", ve, [
99
- b(t(p), { icon: t(ne) }, null, 8, ["icon"])
97
+ i[5] || (i[5] = w(" An official website ", -1)),
98
+ s("span", De, [
99
+ p(n($), { icon: n(ie) }, null, 8, ["icon"])
100
100
  ])
101
- ], 8, ue)
101
+ ], 8, Oe)
102
102
  ])
103
103
  ]),
104
- t(l).translation ? (s(), c("div", fe, [
105
- f(r.$slots, "translation", {}, void 0, !0)
106
- ])) : h("", !0)
104
+ n(e).translation ? (o(), u("div", Re, [
105
+ f(d.$slots, "translation", {}, void 0, !0)
106
+ ])) : m("", !0)
107
107
  ]),
108
- a("div", {
108
+ s("div", {
109
109
  id: "trusted-site-info",
110
110
  class: "px-6",
111
- hidden: !v.value
111
+ hidden: !c.value
112
112
  }, [
113
- a("div", be, [
114
- a("div", me, [
115
- a("div", pe, [
116
- a("div", ke, [
117
- a("span", ge, [
118
- b(t(p), { icon: t(P) }, null, 8, ["icon"])
113
+ s("div", Ue, [
114
+ s("div", Ge, [
115
+ s("div", je, [
116
+ s("div", Fe, [
117
+ s("span", Ve, [
118
+ p(n($), { icon: n(we) }, null, 8, ["icon"])
119
119
  ]),
120
- o[6] || (o[6] = a("span", { class: "has-text-bold" }, ".gov", -1))
120
+ i[6] || (i[6] = s("span", { class: "has-text-bold" }, ".gov", -1))
121
121
  ]),
122
- o[7] || (o[7] = a("div", { class: "trusted-text m-4" }, "Only government entities in the U.S. can end in .gov", -1))
122
+ i[7] || (i[7] = s("div", { class: "trusted-text m-4" }, "Only government entities in the U.S. can end in .gov", -1))
123
123
  ]),
124
- a("div", xe, [
125
- a("div", ye, [
126
- a("div", _e, [
127
- b(t(p), { icon: t(J) }, null, 8, ["icon"])
124
+ s("div", Qe, [
125
+ s("div", Ke, [
126
+ s("div", We, [
127
+ p(n($), { icon: n(Ce) }, null, 8, ["icon"])
128
128
  ]),
129
- o[8] || (o[8] = a("span", { class: "has-text-bold" }, "https://", -1))
129
+ i[8] || (i[8] = s("span", { class: "has-text-bold" }, "https://", -1))
130
130
  ]),
131
- o[9] || (o[9] = a("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))
131
+ i[9] || (i[9] = 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))
132
132
  ])
133
133
  ]),
134
- a("div", $e, [
135
- a("button", {
134
+ s("div", qe, [
135
+ s("button", {
136
136
  class: "phila-button phila-button--primary icon-button is-extra-small",
137
137
  "aria-label": "Close Trusted Site information panel",
138
- onClick: o[2] || (o[2] = //@ts-ignore
139
- (...i) => t(n) && t(n)(...i))
138
+ onClick: i[2] || (i[2] = //@ts-ignore
139
+ (...r) => n(a) && n(a)(...r))
140
140
  }, [
141
- b(t(p), { icon: t(Z) }, null, 8, ["icon"])
141
+ p(n($), { icon: n($e) }, null, 8, ["icon"])
142
142
  ])
143
143
  ])
144
144
  ])
145
- ], 8, he)
145
+ ], 8, He)
146
146
  ], 64));
147
147
  }
148
- }), B = (e, l) => {
149
- const d = e.__vccOpts || e;
150
- for (const [n, v] of l)
151
- d[n] = v;
152
- return d;
153
- }, we = /* @__PURE__ */ B(Ce, [["__scopeId", "data-v-3fc90bb2"]]), Be = ["aria-controls", "aria-expanded", "aria-label", "onClick"], Ae = { class: "icon" }, Ne = ["id", "hidden"], Le = /* @__PURE__ */ k({
148
+ }), O = (t, e) => {
149
+ const l = t.__vccOpts || t;
150
+ for (const [a, c] of e)
151
+ l[a] = c;
152
+ return l;
153
+ }, Ze = /* @__PURE__ */ O(Xe, [["__scopeId", "data-v-3fc90bb2"]]), Ye = ["aria-controls", "aria-expanded", "aria-label", "onClick"], Je = { class: "icon" }, Pe = ["id", "hidden"], et = /* @__PURE__ */ y({
154
154
  __name: "NavbarBurger",
155
155
  props: {
156
156
  mobileNav: {},
157
157
  collapseGroup: {}
158
158
  },
159
- setup(e) {
160
- return (l, d) => (s(), u(t(w), {
159
+ setup(t) {
160
+ return (e, l) => (o(), b(n(D), {
161
161
  id: "mobile-nav",
162
- group: e.collapseGroup,
162
+ group: t.collapseGroup,
163
163
  "outside-click-close": "",
164
164
  "escape-key-close": "",
165
165
  "blur-close": "",
166
166
  "open-single": ""
167
167
  }, {
168
- toggle: m((n) => [
169
- a("button", {
170
- class: $(["phila-navbar-burger phila-button icon-button", { "phila-navbar-item-flyout-active": n.open }]),
171
- "aria-controls": n.ariaControls,
172
- "aria-expanded": n.open,
173
- "aria-label": `${n.open ? "Close" : "Open"} mobile navigation panel`,
174
- onClick: n.onClick
168
+ toggle: v((a) => [
169
+ s("button", {
170
+ class: z(["phila-navbar-burger phila-button icon-button", { "phila-navbar-item-flyout-active": a.open }]),
171
+ "aria-controls": a.ariaControls,
172
+ "aria-expanded": a.open,
173
+ "aria-label": `${a.open ? "Close" : "Open"} mobile navigation panel`,
174
+ onClick: a.onClick
175
175
  }, [
176
- a("span", Ae, [
177
- b(t(p), {
178
- icon: n.open ? t(I) : t(ee)
176
+ s("span", Je, [
177
+ p(n($), {
178
+ icon: a.open ? n(ee) : n(Be)
179
179
  }, null, 8, ["icon"])
180
180
  ])
181
- ], 10, Be)
181
+ ], 10, Ye)
182
182
  ]),
183
- default: m((n) => [
184
- a("div", {
185
- id: n.id,
183
+ default: v((a) => [
184
+ s("div", {
185
+ id: a.id,
186
186
  class: "phila-mobile-nav",
187
- hidden: !n.open
187
+ hidden: !a.open
188
188
  }, [
189
- f(l.$slots, "mobile-nav", {}, () => [
190
- (s(), u(_(e.mobileNav)))
189
+ f(e.$slots, "mobile-nav", {}, () => [
190
+ (o(), b(E(t.mobileNav)))
191
191
  ])
192
- ], 8, Ne)
192
+ ], 8, Pe)
193
193
  ]),
194
194
  _: 3
195
195
  }, 8, ["group"]));
196
196
  }
197
- }), Me = ["href"], ze = ["href", "aria-controls", "aria-expanded", "onKeypress", "onTouchend", "onClick"], Se = ["id", "hidden"], Te = {
197
+ }), tt = ["href"], at = ["href", "aria-controls", "aria-expanded", "onKeypress", "onTouchend", "onClick"], it = ["id", "hidden"], nt = {
198
198
  key: 0,
199
199
  class: "content nav-flyout has-background-ghost-gray px-6 py-4",
200
200
  tabindex: "-1"
201
- }, Ee = {
201
+ }, st = {
202
202
  class: "is-flex is-flex-column is-flex-wrap-wrap",
203
203
  style: { gap: "var(--spacing-4xl)" }
204
- }, Ie = ["href"], Ue = /* @__PURE__ */ k({
204
+ }, ot = ["href"], lt = /* @__PURE__ */ y({
205
205
  __name: "NavbarLinks",
206
206
  props: {
207
207
  links: {},
208
208
  collapseGroup: {}
209
209
  },
210
- setup(e) {
211
- const l = (n) => !!(n.subLinks || n.subNav), d = (n) => `main-nav-${n.text.split(" ").join("-").toLowerCase().replace(/[^a-z0-9-]/g, "")}`;
212
- return (n, v) => (s(!0), c(y, null, A(e.links, (r, o) => (s(), c(y, null, [
213
- l(r) ? (s(), u(t(w), {
214
- id: d(r),
215
- key: `collapse-${o}`,
216
- group: e.collapseGroup,
210
+ setup(t) {
211
+ const e = (a) => !!(a.subLinks || a.subNav), l = (a) => `main-nav-${a.text.split(" ").join("-").toLowerCase().replace(/[^a-z0-9-]/g, "")}`;
212
+ return (a, c) => (o(!0), u(N, null, F(t.links, (d, i) => (o(), u(N, null, [
213
+ e(d) ? (o(), b(n(D), {
214
+ id: l(d),
215
+ key: `collapse-${i}`,
216
+ group: t.collapseGroup,
217
217
  "outside-click-close": "",
218
218
  "escape-key-close": "",
219
219
  "blur-close": "",
@@ -221,61 +221,61 @@ const te = "data:image/svg+xml,%3csvg%20width='16'%20height='11'%20viewBox='0%20
221
221
  "open-single": "",
222
222
  class: "phila-navbar-link-list-item"
223
223
  }, {
224
- toggle: m((i) => [
225
- a("a", {
226
- href: r.href,
227
- class: $(["phila-navbar-link px-4", { "phila-navbar-item-flyout-active": i.open }]),
228
- "aria-controls": i.ariaControls,
229
- "aria-expanded": i.open,
224
+ toggle: v((r) => [
225
+ s("a", {
226
+ href: d.href,
227
+ class: z(["phila-navbar-link px-4", { "phila-navbar-item-flyout-active": r.open }]),
228
+ "aria-controls": r.ariaControls,
229
+ "aria-expanded": r.open,
230
230
  tabindex: "0",
231
- onKeypress: O(i.onClick, ["enter"]),
232
- onTouchend: i.onClick,
233
- onClick: i.onClick
231
+ onKeypress: fe(r.onClick, ["enter"]),
232
+ onTouchend: r.onClick,
233
+ onClick: r.onClick
234
234
  }, [
235
- C(x(r.text) + " ", 1),
236
- b(t(p), {
235
+ w(h(d.text) + " ", 1),
236
+ p(n($), {
237
237
  class: "ml-1",
238
- icon: i.open ? t(U) : t(G)
238
+ icon: r.open ? n(te) : n(ae)
239
239
  }, null, 8, ["icon"])
240
- ], 42, ze)
240
+ ], 42, at)
241
241
  ]),
242
- default: m((i) => [
243
- (s(), c("div", {
244
- id: i.id,
245
- key: r.text,
246
- hidden: !i.open
242
+ default: v((r) => [
243
+ (o(), u("div", {
244
+ id: r.id,
245
+ key: d.text,
246
+ hidden: !r.open
247
247
  }, [
248
- r.subLinks ? (s(), c("div", Te, [
249
- a("ul", Ee, [
250
- (s(!0), c(y, null, A(r.subLinks, (g) => (s(), c("li", {
251
- key: g.text,
248
+ d.subLinks ? (o(), u("div", nt, [
249
+ s("ul", st, [
250
+ (o(!0), u(N, null, F(d.subLinks, (_) => (o(), u("li", {
251
+ key: _.text,
252
252
  class: "sub-nav-link is-flex is-align-center",
253
253
  style: { width: "150px" }
254
254
  }, [
255
- a("a", {
256
- href: g.href,
255
+ s("a", {
256
+ href: _.href,
257
257
  class: "has-text-link has-text-weight-medium",
258
258
  tabindex: "0"
259
- }, x(g.text), 9, Ie)
259
+ }, h(_.text), 9, ot)
260
260
  ]))), 128))
261
261
  ])
262
- ])) : (s(), u(_(r.subNav), { key: 1 }))
263
- ], 8, Se))
262
+ ])) : (o(), b(E(d.subNav), { key: 1 }))
263
+ ], 8, it))
264
264
  ]),
265
265
  _: 2
266
- }, 1032, ["id", "group"])) : (s(), c("div", {
267
- key: `link-${o}`,
266
+ }, 1032, ["id", "group"])) : (o(), u("div", {
267
+ key: `link-${i}`,
268
268
  class: "phila-navbar-link-list-item"
269
269
  }, [
270
- a("a", {
271
- href: r.href,
270
+ s("a", {
271
+ href: d.href,
272
272
  class: "phila-navbar-link px-4",
273
273
  tabindex: "0"
274
- }, x(r.text), 9, Me)
274
+ }, h(d.text), 9, tt)
275
275
  ]))
276
276
  ], 64))), 256));
277
277
  }
278
- }), Ge = /* @__PURE__ */ k({
278
+ }), rt = /* @__PURE__ */ y({
279
279
  __name: "NavbarBrandLogo",
280
280
  props: {
281
281
  logo: {},
@@ -283,72 +283,72 @@ const te = "data:image/svg+xml,%3csvg%20width='16'%20height='11'%20viewBox='0%20
283
283
  href: {},
284
284
  altText: {}
285
285
  },
286
- setup(e) {
287
- const l = e, d = M(() => ({
286
+ setup(t) {
287
+ const e = t, l = k(() => ({
288
288
  variant: "city",
289
289
  layout: "stacked",
290
290
  colorScheme: "on-primary",
291
- href: l.href,
292
- ...l.logo
291
+ href: e.href,
292
+ ...e.logo
293
293
  }));
294
- return (n, v) => (s(), u(t(q), z(d.value, { class: "phila-navbar-logo" }), null, 16));
294
+ return (a, c) => (o(), b(n(ge), C(l.value, { class: "phila-navbar-logo" }), null, 16));
295
295
  }
296
- }), He = /* @__PURE__ */ B(Ge, [["__scopeId", "data-v-3011c249"]]), Oe = { class: "pr-4" }, je = ["aria-controls", "aria-expanded", "aria-label", "onClick"], De = { class: "icon" }, Ve = ["id", "hidden"], Qe = /* @__PURE__ */ k({
296
+ }), ct = /* @__PURE__ */ O(rt, [["__scopeId", "data-v-3011c249"]]), dt = { class: "pr-4" }, ut = ["aria-controls", "aria-expanded", "aria-label", "onClick"], ft = { class: "icon" }, vt = ["id", "hidden"], mt = /* @__PURE__ */ y({
297
297
  __name: "NavbarSearch",
298
298
  props: {
299
299
  search: {},
300
300
  collapseGroup: {}
301
301
  },
302
- setup(e) {
303
- return (l, d) => (s(), u(t(w), {
302
+ setup(t) {
303
+ return (e, l) => (o(), b(n(D), {
304
304
  id: "navbar-search",
305
- group: e.collapseGroup,
305
+ group: t.collapseGroup,
306
306
  "outside-click-close": "",
307
307
  "escape-key-close": "",
308
308
  "blur-close": "",
309
309
  "open-single": ""
310
310
  }, {
311
- toggle: m((n) => [
312
- a("div", Oe, [
313
- a("button", {
314
- class: $(["phila-button phila-button--primary icon-button is-small", { "phila-navbar-item-flyout-active": n.open }]),
315
- "aria-controls": n.ariaControls,
316
- "aria-expanded": n.open,
317
- "aria-label": `${n.open ? "Close" : "Open"} search panel`,
318
- onClick: n.onClick
311
+ toggle: v((a) => [
312
+ s("div", dt, [
313
+ s("button", {
314
+ class: z(["phila-button phila-button--primary icon-button is-small", { "phila-navbar-item-flyout-active": a.open }]),
315
+ "aria-controls": a.ariaControls,
316
+ "aria-expanded": a.open,
317
+ "aria-label": `${a.open ? "Close" : "Open"} search panel`,
318
+ onClick: a.onClick
319
319
  }, [
320
- a("span", De, [
321
- b(t(p), {
322
- icon: n.open ? t(I) : t(X)
320
+ s("span", ft, [
321
+ p(n($), {
322
+ icon: a.open ? n(ee) : n(_e)
323
323
  }, null, 8, ["icon"])
324
324
  ])
325
- ], 10, je)
325
+ ], 10, ut)
326
326
  ])
327
327
  ]),
328
- default: m((n) => [
329
- a("div", {
330
- id: n.id,
328
+ default: v((a) => [
329
+ s("div", {
330
+ id: a.id,
331
331
  class: "nav-flyout is-12",
332
- hidden: !n.open
332
+ hidden: !a.open
333
333
  }, [
334
- f(l.$slots, "default", {}, () => [
335
- e.search && n.open ? (s(), u(_(e.search), { key: 0 })) : h("", !0)
334
+ f(e.$slots, "default", {}, () => [
335
+ t.search && a.open ? (o(), b(E(t.search), { key: 0 })) : m("", !0)
336
336
  ])
337
- ], 8, Ve)
337
+ ], 8, vt)
338
338
  ]),
339
339
  _: 3
340
340
  }, 8, ["group"]));
341
341
  }
342
- }), Ke = { class: "phila-navbar-brand" }, Fe = {
342
+ }), bt = { class: "phila-navbar-brand" }, pt = {
343
343
  key: 0,
344
344
  class: "phila-navbar-item phila-navbar-brand-link hidden-tablet"
345
- }, Re = {
345
+ }, ht = {
346
346
  key: 0,
347
347
  class: "content"
348
- }, qe = ["href"], We = { class: "phila-navbar-item phila-navbar-list is-flex is-align-center is-justify-space-between content has-text-label-default hidden-tablet" }, Xe = { class: "phila-navbar-search" }, Ye = {
348
+ }, yt = ["href"], gt = { class: "phila-navbar-item phila-navbar-list is-flex is-align-center is-justify-space-between content has-text-label-default hidden-tablet" }, kt = { class: "phila-navbar-search" }, _t = {
349
349
  key: 0,
350
350
  class: "phila-navbar-end"
351
- }, L = "5rem", Ze = /* @__PURE__ */ k({
351
+ }, V = "5rem", xt = /* @__PURE__ */ y({
352
352
  __name: "index",
353
353
  props: {
354
354
  id: {},
@@ -359,101 +359,101 @@ const te = "data:image/svg+xml,%3csvg%20width='16'%20height='11'%20viewBox='0%20
359
359
  search: {},
360
360
  links: { default: () => [{ text: "Home", href: "#" }] }
361
361
  },
362
- setup(e) {
363
- const l = e, { state: d } = T(), n = j("navBarElement"), v = N(L), r = N(0), o = F(() => {
364
- const i = (n.value?.offsetTop || 0) + (n.value?.offsetHeight || 0), g = typeof window < "u" ? window.innerWidth : 1024;
365
- v.value = !l.sticky || g < 1024 ? i + "px" : L, r.value = i;
362
+ setup(t) {
363
+ const e = t, { state: l } = Y(), a = W("navBarElement"), c = B(V), d = B(0), i = he(() => {
364
+ const r = (a.value?.offsetTop || 0) + (a.value?.offsetHeight || 0), _ = typeof window < "u" ? window.innerWidth : 1024;
365
+ c.value = !e.sticky || _ < 1024 ? r + "px" : V, d.value = r;
366
366
  }, 100);
367
- return D(() => d.value, o, { deep: !0, immediate: !0 }), V(() => {
368
- window.addEventListener("resize", o);
369
- }), Q(() => {
370
- window.removeEventListener("resize", o);
371
- }), (i, g) => (s(), c("nav", {
367
+ return ve(() => l.value, i, { deep: !0, immediate: !0 }), me(() => {
368
+ window.addEventListener("resize", i);
369
+ }), q(() => {
370
+ window.removeEventListener("resize", i);
371
+ }), (r, _) => (o(), u("nav", {
372
372
  ref_key: "navBarElement",
373
- ref: n,
374
- class: $(["phila-navbar has-links-on-primary", { "is-sticky-desktop": e.sticky }]),
373
+ ref: a,
374
+ class: z(["phila-navbar has-links-on-primary", { "is-sticky-desktop": t.sticky }]),
375
375
  "aria-label": "Main navigation",
376
- style: K(`--nav-height:${v.value};--nav-bottom:${r.value}px`)
376
+ style: X(`--nav-height:${c.value};--nav-bottom:${d.value}px`)
377
377
  }, [
378
- f(i.$slots, "navbar-burger", {}, () => [
379
- e.mobileNav || i.$slots["mobile-nav"] ? (s(), u(Le, {
378
+ f(r.$slots, "navbar-burger", {}, () => [
379
+ t.mobileNav || r.$slots["mobile-nav"] ? (o(), b(et, {
380
380
  key: 0,
381
- "mobile-nav": e.mobileNav,
382
- "collapse-group": e.id
383
- }, S({ _: 2 }, [
384
- i.$slots["mobile-nav"] ? {
381
+ "mobile-nav": t.mobileNav,
382
+ "collapse-group": t.id
383
+ }, Z({ _: 2 }, [
384
+ r.$slots["mobile-nav"] ? {
385
385
  name: "mobile-nav",
386
- fn: m(() => [
387
- f(i.$slots, "mobile-nav", {}, void 0, !0)
386
+ fn: v(() => [
387
+ f(r.$slots, "mobile-nav", {}, void 0, !0)
388
388
  ]),
389
389
  key: "0"
390
390
  } : void 0
391
- ]), 1032, ["mobile-nav", "collapse-group"])) : h("", !0)
391
+ ]), 1032, ["mobile-nav", "collapse-group"])) : m("", !0)
392
392
  ], !0),
393
- a("div", Ke, [
394
- f(i.$slots, "navbar-logo", {}, () => [
395
- e.navbarBrand?.brandingImage ? (s(), u(He, z({ key: 0 }, e.navbarBrand.brandingImage, {
396
- logo: e.navbarBrand?.logo
397
- }), null, 16, ["logo"])) : h("", !0)
393
+ s("div", bt, [
394
+ f(r.$slots, "navbar-logo", {}, () => [
395
+ t.navbarBrand?.brandingImage ? (o(), b(ct, C({ key: 0 }, t.navbarBrand.brandingImage, {
396
+ logo: t.navbarBrand?.logo
397
+ }), null, 16, ["logo"])) : m("", !0)
398
398
  ], !0),
399
- i.$slots["navbar-brand-link"] || e.navbarBrand?.brandingLink ? (s(), c("div", Fe, [
400
- f(i.$slots, "navbar-brand-link", {}, () => [
401
- e.navbarBrand?.brandingLink ? (s(), c("div", Re, [
402
- a("a", {
399
+ r.$slots["navbar-brand-link"] || t.navbarBrand?.brandingLink ? (o(), u("div", pt, [
400
+ f(r.$slots, "navbar-brand-link", {}, () => [
401
+ t.navbarBrand?.brandingLink ? (o(), u("div", ht, [
402
+ s("a", {
403
403
  tabindex: "0",
404
- href: e.navbarBrand.brandingLink.href,
404
+ href: t.navbarBrand.brandingLink.href,
405
405
  class: "has-text-underline"
406
- }, x(e.navbarBrand.brandingLink.text), 9, qe)
407
- ])) : h("", !0)
406
+ }, h(t.navbarBrand.brandingLink.text), 9, yt)
407
+ ])) : m("", !0)
408
408
  ], !0)
409
- ])) : h("", !0)
409
+ ])) : m("", !0)
410
410
  ]),
411
- a("div", We, [
412
- f(i.$slots, "navbar-links", {}, () => [
413
- e.links ? (s(), u(Ue, {
411
+ s("div", gt, [
412
+ f(r.$slots, "navbar-links", {}, () => [
413
+ t.links ? (o(), b(lt, {
414
414
  key: 0,
415
- links: e.links,
416
- "collapse-group": e.id
417
- }, null, 8, ["links", "collapse-group"])) : h("", !0)
415
+ links: t.links,
416
+ "collapse-group": t.id
417
+ }, null, 8, ["links", "collapse-group"])) : m("", !0)
418
418
  ], !0)
419
419
  ]),
420
- a("div", Xe, [
421
- f(i.$slots, "navbar-search", {}, () => [
422
- e.search ? (s(), u(Qe, {
420
+ s("div", kt, [
421
+ f(r.$slots, "navbar-search", {}, () => [
422
+ t.search ? (o(), b(mt, {
423
423
  key: 0,
424
- search: e.search,
425
- "collapse-group": e.id
426
- }, null, 8, ["search", "collapse-group"])) : h("", !0)
424
+ search: t.search,
425
+ "collapse-group": t.id
426
+ }, null, 8, ["search", "collapse-group"])) : m("", !0)
427
427
  ], !0)
428
428
  ]),
429
- i.$slots["navbar-end"] ? (s(), c("div", Ye, [
430
- f(i.$slots, "navbar-end", {}, void 0, !0)
431
- ])) : h("", !0)
429
+ r.$slots["navbar-end"] ? (o(), u("div", _t, [
430
+ f(r.$slots, "navbar-end", {}, void 0, !0)
431
+ ])) : m("", !0)
432
432
  ], 6));
433
433
  }
434
- }), Je = /* @__PURE__ */ B(Ze, [["__scopeId", "data-v-caf52a6d"]]), Pe = { class: "site-wide-alert content" }, ea = { class: "alert-content" }, aa = { class: "content-text" }, na = { class: "title" }, ta = { class: "body" }, ia = /* @__PURE__ */ k({
434
+ }), $t = /* @__PURE__ */ O(xt, [["__scopeId", "data-v-caf52a6d"]]), Ct = { class: "site-wide-alert content" }, wt = { class: "alert-content" }, Bt = { class: "content-text" }, Nt = { class: "title" }, zt = { class: "body" }, At = /* @__PURE__ */ y({
435
435
  __name: "AlertBanner",
436
436
  props: {
437
437
  bannerTitle: {},
438
438
  bannerMessage: {}
439
439
  },
440
- setup(e) {
441
- const l = e;
442
- return (d, n) => (s(), c("div", Pe, [
443
- a("div", ea, [
444
- b(t(R), {
445
- "icon-definition": t(Y),
440
+ setup(t) {
441
+ const e = t;
442
+ return (l, a) => (o(), u("div", Ct, [
443
+ s("div", wt, [
444
+ p(n(ye), {
445
+ "icon-definition": n(xe),
446
446
  size: "small",
447
447
  decorative: !0
448
448
  }, null, 8, ["icon-definition"]),
449
- a("div", aa, [
450
- a("h6", na, x(l.bannerTitle), 1),
451
- a("div", ta, x(l.bannerMessage), 1)
449
+ s("div", Bt, [
450
+ s("h6", Nt, h(e.bannerTitle), 1),
451
+ s("div", zt, h(e.bannerMessage), 1)
452
452
  ])
453
453
  ])
454
454
  ]));
455
455
  }
456
- }), da = /* @__PURE__ */ k({
456
+ }), Jt = /* @__PURE__ */ y({
457
457
  __name: "AppHeader",
458
458
  props: {
459
459
  showTrustedSite: { type: Boolean, default: !0 },
@@ -469,47 +469,408 @@ const te = "data:image/svg+xml,%3csvg%20width='16'%20height='11'%20viewBox='0%20
469
469
  bannerTitle: { default: void 0 },
470
470
  bannerMessage: { default: void 0 }
471
471
  },
472
- setup(e) {
473
- return (l, d) => (s(), c(y, null, [
474
- e.showTrustedSite ? (s(), u(we, { key: 0 }, {
475
- translation: m(() => [
476
- f(l.$slots, "translations", {}, () => [
477
- e.translations ? (s(), u(_(e.translations), { key: 0 })) : h("", !0)
472
+ setup(t) {
473
+ return (e, l) => (o(), u(N, null, [
474
+ t.showTrustedSite ? (o(), b(Ze, { key: 0 }, {
475
+ translation: v(() => [
476
+ f(e.$slots, "translations", {}, () => [
477
+ t.translations ? (o(), b(E(t.translations), { key: 0 })) : m("", !0)
478
478
  ])
479
479
  ]),
480
480
  _: 3
481
- })) : h("", !0),
482
- b(Je, {
483
- id: e.id,
484
- sticky: e.sticky,
485
- "mobile-nav": e.mobileNav,
486
- links: e.links,
487
- "navbar-brand": e.navbarBrand,
488
- search: e.search
489
- }, S({ _: 2 }, [
490
- l.$slots["mobile-nav"] ? {
481
+ })) : m("", !0),
482
+ p($t, {
483
+ id: t.id,
484
+ sticky: t.sticky,
485
+ "mobile-nav": t.mobileNav,
486
+ links: t.links,
487
+ "navbar-brand": t.navbarBrand,
488
+ search: t.search
489
+ }, Z({ _: 2 }, [
490
+ e.$slots["mobile-nav"] ? {
491
491
  name: "mobile-nav",
492
- fn: m(() => [
493
- f(l.$slots, "mobile-nav")
492
+ fn: v(() => [
493
+ f(e.$slots, "mobile-nav")
494
494
  ]),
495
495
  key: "0"
496
496
  } : void 0,
497
- l.$slots["navbar-end"] ? {
497
+ e.$slots["navbar-end"] ? {
498
498
  name: "navbar-end",
499
- fn: m(() => [
500
- f(l.$slots, "navbar-end")
499
+ fn: v(() => [
500
+ f(e.$slots, "navbar-end")
501
501
  ]),
502
502
  key: "1"
503
503
  } : void 0
504
504
  ]), 1032, ["id", "sticky", "mobile-nav", "links", "navbar-brand", "search"]),
505
- e.bannerTitle || e.bannerMessage ? (s(), u(ia, {
505
+ t.bannerTitle || t.bannerMessage ? (o(), b(At, {
506
506
  key: 1,
507
- "banner-title": e.bannerTitle,
508
- "banner-message": e.bannerMessage
509
- }, null, 8, ["banner-title", "banner-message"])) : h("", !0)
507
+ "banner-title": t.bannerTitle,
508
+ "banner-message": t.bannerMessage
509
+ }, null, 8, ["banner-title", "banner-message"])) : m("", !0)
510
510
  ], 64));
511
511
  }
512
+ }), Lt = ["disabled"], Q = /* @__PURE__ */ y({
513
+ inheritAttrs: !1,
514
+ __name: "PhlButton",
515
+ props: {
516
+ href: {},
517
+ to: {},
518
+ target: {},
519
+ rel: {},
520
+ disabled: { type: Boolean, default: !1 },
521
+ clickTarget: {},
522
+ variant: { default: "primary" },
523
+ size: { default: "medium" },
524
+ iconOnly: { type: Boolean, default: !1 },
525
+ iconRight: { type: Boolean },
526
+ text: {},
527
+ className: {},
528
+ iconDefinition: {},
529
+ iconClass: {},
530
+ src: {},
531
+ svgRaw: {}
532
+ },
533
+ setup(t) {
534
+ const e = t, l = (i) => "href" in i && i.href !== void 0 || "to" in i && i.to !== void 0, a = k(() => I(
535
+ "phila-button",
536
+ `phila-button--${e.variant}`,
537
+ e.size && `is-${e.size}`,
538
+ e.iconOnly && "icon-button",
539
+ e.iconOnly && e.variant === "standard" && "icon-button--standard",
540
+ e.className
541
+ )), c = k(() => l(e) ? "to" in e && e.to !== void 0 ? {
542
+ to: e.to,
543
+ disabled: e.disabled,
544
+ className: a.value
545
+ } : {
546
+ href: e.href,
547
+ target: e.target,
548
+ rel: e.rel,
549
+ disabled: e.disabled,
550
+ className: a.value
551
+ } : {}), d = k(
552
+ () => ({
553
+ iconDefinition: e.iconDefinition,
554
+ iconClass: e.iconClass,
555
+ src: e.src,
556
+ iconRight: e.iconRight,
557
+ iconOnly: e.iconOnly,
558
+ text: e.text,
559
+ size: e.size
560
+ })
561
+ );
562
+ return (i, r) => l(e) ? (o(), b(n(J), C({ key: 0 }, { ...c.value, ...i.$attrs }, { role: "button" }), {
563
+ default: v(() => [
564
+ p(n(S), M(T(d.value)), {
565
+ default: v(() => [
566
+ f(i.$slots, "default", {}, () => [
567
+ w(h(e.text), 1)
568
+ ])
569
+ ]),
570
+ _: 3
571
+ }, 16)
572
+ ]),
573
+ _: 3
574
+ }, 16)) : (o(), u("button", C({
575
+ key: 1,
576
+ type: "button",
577
+ disabled: e.disabled,
578
+ class: a.value
579
+ }, i.$attrs), [
580
+ p(n(S), M(T(d.value)), {
581
+ default: v(() => [
582
+ f(i.$slots, "default", {}, () => [
583
+ w(h(e.text), 1)
584
+ ])
585
+ ]),
586
+ _: 3
587
+ }, 16)
588
+ ], 16, Lt));
589
+ }
512
590
  });
591
+ var K = {
592
+ prefix: "fas",
593
+ iconName: "xmark",
594
+ 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"]
595
+ };
596
+ const Mt = ["id"], Tt = {
597
+ key: 0,
598
+ class: "tooltip__tail",
599
+ "aria-hidden": "true"
600
+ }, St = {
601
+ key: 1,
602
+ class: "tooltip__plain-row has-text-body-small"
603
+ }, Et = {
604
+ key: 0,
605
+ class: "tooltip__title-row"
606
+ }, It = { key: 0 }, Ot = /* @__PURE__ */ y({
607
+ __name: "TooltipBubble",
608
+ props: {
609
+ id: {},
610
+ type: { default: "plain" },
611
+ color: { default: "default" },
612
+ tail: { type: Boolean, default: !1 },
613
+ placement: { default: "top-center" },
614
+ title: {},
615
+ dismissable: { type: Boolean, default: !1 },
616
+ className: {}
617
+ },
618
+ emits: ["dismiss"],
619
+ setup(t) {
620
+ const e = t, l = k(
621
+ () => I(
622
+ "tooltip",
623
+ "content",
624
+ "resets-link-colors",
625
+ `tooltip--${e.type}`,
626
+ `tooltip--${e.color}`,
627
+ e.tail && `tooltip--${e.placement}`,
628
+ e.className
629
+ )
630
+ );
631
+ return (a, c) => (o(), u("div", {
632
+ id: t.id,
633
+ class: z(l.value),
634
+ role: "tooltip"
635
+ }, [
636
+ t.tail ? (o(), u("div", Tt)) : m("", !0),
637
+ t.type === "plain" ? (o(), u("div", St, [
638
+ f(a.$slots, "default", {}, void 0, !0),
639
+ t.dismissable ? (o(), b(n(Q), {
640
+ key: 0,
641
+ class: "tooltip__dismiss",
642
+ variant: "standard",
643
+ size: "extra-small",
644
+ "icon-only": !0,
645
+ "icon-definition": n(K),
646
+ "aria-label": "Dismiss tooltip",
647
+ onClick: c[0] || (c[0] = (d) => a.$emit("dismiss"))
648
+ }, null, 8, ["icon-definition"])) : m("", !0)
649
+ ])) : (o(), u(N, { key: 2 }, [
650
+ t.title || t.dismissable ? (o(), u("div", Et, [
651
+ t.title ? (o(), u("h6", It, h(t.title), 1)) : m("", !0),
652
+ t.dismissable ? (o(), b(n(Q), {
653
+ key: 1,
654
+ class: "tooltip__dismiss",
655
+ variant: "standard",
656
+ size: "extra-small",
657
+ "icon-only": !0,
658
+ "icon-definition": n(K),
659
+ "aria-label": "Dismiss tooltip",
660
+ onClick: c[1] || (c[1] = (d) => a.$emit("dismiss"))
661
+ }, null, 8, ["icon-definition"])) : m("", !0)
662
+ ])) : m("", !0),
663
+ f(a.$slots, "default", {}, void 0, !0)
664
+ ], 64))
665
+ ], 10, Mt));
666
+ }
667
+ }), ne = (t, e) => {
668
+ const l = t.__vccOpts || t;
669
+ for (const [a, c] of e)
670
+ l[a] = c;
671
+ return l;
672
+ }, Dt = /* @__PURE__ */ ne(Ot, [["__scopeId", "data-v-0155bbdd"]]), Rt = /* @__PURE__ */ y({
673
+ __name: "Tooltip",
674
+ props: {
675
+ trigger: { default: "hover" },
676
+ type: { default: "plain" },
677
+ color: { default: "default" },
678
+ tail: { type: Boolean, default: !1 },
679
+ placement: { default: "auto" },
680
+ title: {},
681
+ dismissable: { type: Boolean },
682
+ className: {}
683
+ },
684
+ setup(t, { expose: e }) {
685
+ const l = t, a = be(), c = B(!1), d = B(null), i = B(null), r = B("top-center"), _ = () => {
686
+ const g = d.value?.getBoundingClientRect();
687
+ if (!g) return "top-center";
688
+ const { innerWidth: A, innerHeight: le } = window, U = g.top, re = le - g.bottom, G = i.value?.firstElementChild?.getBoundingClientRect().height ?? 0, ce = (G > 0 ? U >= G : U >= re) ? "top" : "bottom", j = g.left + g.width / 2, de = j < A / 3 ? "left" : j > A * 2 / 3 ? "right" : "center";
689
+ return `${ce}-${de}`;
690
+ }, R = (g) => {
691
+ g.key === "Escape" && x();
692
+ }, H = (g) => {
693
+ d.value && !d.value.contains(g.target) && x();
694
+ }, L = () => {
695
+ l.placement === "auto" ? r.value = _() : r.value = l.placement, c.value = !0, document.addEventListener("keydown", R), l.trigger === "click" && document.addEventListener("click", H);
696
+ }, x = () => {
697
+ c.value = !1, document.removeEventListener("keydown", R), document.removeEventListener("click", H);
698
+ }, se = () => {
699
+ c.value ? x() : L();
700
+ };
701
+ q(x), e({ show: L, hide: x });
702
+ const oe = k(() => ({
703
+ type: l.type,
704
+ color: l.color,
705
+ tail: l.tail,
706
+ placement: r.value,
707
+ title: l.title,
708
+ dismissable: l.dismissable
709
+ }));
710
+ return (g, A) => (o(), u("span", C(
711
+ {
712
+ ref_key: "wrapperEl",
713
+ ref: d,
714
+ class: n(I)("tooltip-trigger", l.className)
715
+ },
716
+ t.trigger === "click" ? { onClick: se } : { onMouseenter: L, onMouseleave: x, onFocusin: L, onFocusout: x }
717
+ ), [
718
+ f(g.$slots, "default", {
719
+ tooltipId: n(a),
720
+ isOpen: c.value
721
+ }, void 0, !0),
722
+ s("span", {
723
+ ref_key: "positionerEl",
724
+ ref: i,
725
+ class: z(["tooltip-trigger__positioner", `tooltip-trigger__positioner--${r.value}`]),
726
+ style: X({
727
+ visibility: c.value ? "visible" : "hidden",
728
+ "--positioner-gap": t.tail ? "var(--spacing-l)" : "0.5rem"
729
+ }),
730
+ onClick: A[0] || (A[0] = pe(() => {
731
+ }, ["stop"]))
732
+ }, [
733
+ p(Dt, C(oe.value, {
734
+ id: n(a),
735
+ onDismiss: x
736
+ }), {
737
+ default: v(() => [
738
+ f(g.$slots, "body", {}, void 0, !0)
739
+ ]),
740
+ _: 3
741
+ }, 16, ["id"])
742
+ ], 6)
743
+ ], 16));
744
+ }
745
+ }), Ht = /* @__PURE__ */ ne(Rt, [["__scopeId", "data-v-bea2f168"]]), Ut = ["disabled"], Gt = /* @__PURE__ */ y({
746
+ inheritAttrs: !1,
747
+ __name: "PhlButton",
748
+ props: {
749
+ href: {},
750
+ to: {},
751
+ target: {},
752
+ rel: {},
753
+ disabled: { type: Boolean, default: !1 },
754
+ clickTarget: {},
755
+ variant: { default: "primary" },
756
+ size: { default: "medium" },
757
+ iconOnly: { type: Boolean, default: !1 },
758
+ iconRight: { type: Boolean },
759
+ text: {},
760
+ className: {},
761
+ iconDefinition: {},
762
+ iconClass: {},
763
+ src: {},
764
+ svgRaw: {}
765
+ },
766
+ setup(t) {
767
+ const e = t, l = (i) => "href" in i && i.href !== void 0 || "to" in i && i.to !== void 0, a = k(() => I(
768
+ "phila-button",
769
+ `phila-button--${e.variant}`,
770
+ e.size && `is-${e.size}`,
771
+ e.iconOnly && "icon-button",
772
+ e.iconOnly && e.variant === "standard" && "icon-button--standard",
773
+ e.className
774
+ )), c = k(() => l(e) ? "to" in e && e.to !== void 0 ? {
775
+ to: e.to,
776
+ disabled: e.disabled,
777
+ className: a.value
778
+ } : {
779
+ href: e.href,
780
+ target: e.target,
781
+ rel: e.rel,
782
+ disabled: e.disabled,
783
+ className: a.value
784
+ } : {}), d = k(
785
+ () => ({
786
+ iconDefinition: e.iconDefinition,
787
+ iconClass: e.iconClass,
788
+ src: e.src,
789
+ iconRight: e.iconRight,
790
+ iconOnly: e.iconOnly,
791
+ text: e.text,
792
+ size: e.size
793
+ })
794
+ );
795
+ return (i, r) => l(e) ? (o(), b(n(J), C({ key: 0 }, { ...c.value, ...i.$attrs }, { role: "button" }), {
796
+ default: v(() => [
797
+ p(n(S), M(T(d.value)), {
798
+ default: v(() => [
799
+ f(i.$slots, "default", {}, () => [
800
+ w(h(e.text), 1)
801
+ ])
802
+ ]),
803
+ _: 3
804
+ }, 16)
805
+ ]),
806
+ _: 3
807
+ }, 16)) : (o(), u("button", C({
808
+ key: 1,
809
+ type: "button",
810
+ disabled: e.disabled,
811
+ class: a.value
812
+ }, i.$attrs), [
813
+ p(n(S), M(T(d.value)), {
814
+ default: v(() => [
815
+ f(i.$slots, "default", {}, () => [
816
+ w(h(e.text), 1)
817
+ ])
818
+ ]),
819
+ _: 3
820
+ }, 16)
821
+ ], 16, Ut));
822
+ }
823
+ }), jt = { class: "navbar-info" }, Ft = { class: "navbar-info__group" }, Vt = {
824
+ key: 0,
825
+ class: "navbar-info__label has-text-body-default hidden-tablet",
826
+ "aria-hidden": "true"
827
+ }, Qt = { class: "has-text-body-small" }, Kt = /* @__PURE__ */ y({
828
+ __name: "NavbarInfo",
829
+ props: {
830
+ infoTitle: {},
831
+ infoMessage: {},
832
+ label: {}
833
+ },
834
+ setup(t, { expose: e }) {
835
+ const l = W("tooltip");
836
+ return e({
837
+ show: () => l.value?.show(),
838
+ hide: () => l.value?.hide()
839
+ }), (a, c) => (o(), u("div", jt, [
840
+ p(n(Ht), {
841
+ ref_key: "tooltip",
842
+ ref: l,
843
+ type: "rich",
844
+ title: t.infoTitle,
845
+ trigger: "click",
846
+ dismissable: !0
847
+ }, {
848
+ default: v(({ tooltipId: d, isOpen: i }) => [
849
+ s("span", Ft, [
850
+ p(n(Gt), {
851
+ class: "navbar-info__trigger",
852
+ variant: "standard",
853
+ size: "small",
854
+ "icon-only": !0,
855
+ "icon-definition": n(ie),
856
+ "aria-label": "More information",
857
+ "aria-describedby": d,
858
+ "aria-pressed": i
859
+ }, null, 8, ["icon-definition", "aria-describedby", "aria-pressed"]),
860
+ t.label ? (o(), u("span", Vt, h(t.label), 1)) : m("", !0)
861
+ ])
862
+ ]),
863
+ body: v(() => [
864
+ f(a.$slots, "default", {}, () => [
865
+ s("div", Qt, h(t.infoMessage), 1)
866
+ ], !0)
867
+ ]),
868
+ _: 3
869
+ }, 8, ["title"])
870
+ ]));
871
+ }
872
+ }), Pt = /* @__PURE__ */ O(Kt, [["__scopeId", "data-v-c3989251"]]);
513
873
  export {
514
- da as AppHeader
874
+ Jt as AppHeader,
875
+ Pt as NavbarInfo
515
876
  };