@uoguelph/web-components 1.9.0-rc.4 → 1.9.0-rc.5
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/uofg-web-components/{font-awesome-icon-Dud1EYGD.js → font-awesome-icon-BQURLWNp.js} +624 -629
- package/dist/uofg-web-components/legacy-DxV08m0s.js +53 -0
- package/dist/uofg-web-components/{slot-Btyq796h.js → slot-CAT5FJeP.js} +1 -1
- package/dist/uofg-web-components/uofg-alert.esm.js +31 -30
- package/dist/uofg-web-components/uofg-back-to-top.esm.js +9 -9
- package/dist/uofg-web-components/uofg-footer.esm.js +204 -117
- package/dist/uofg-web-components/uofg-header.esm.js +635 -648
- package/dist/uofg-web-components/uofg-modal.esm.js +69 -69
- package/dist/uofg-web-components/{window-CAd-bPmb.js → window-DSxbAs0w.js} +1 -1
- package/package.json +1 -1
- package/dist/uofg-web-components/legacy-DI2J6sTz.js +0 -43
|
@@ -1,66 +1,57 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var he = Object.defineProperty;
|
|
2
|
+
var Ft = (e) => {
|
|
3
3
|
throw TypeError(e);
|
|
4
4
|
};
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
import {
|
|
9
|
-
import { a as
|
|
10
|
-
import { i as
|
|
11
|
-
import { t as
|
|
12
|
-
function
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}, Vt), O && (r = dt);
|
|
20
|
-
}
|
|
21
|
-
function We(e, t, a, r, c, n) {
|
|
22
|
-
let f = O;
|
|
23
|
-
O && Pt();
|
|
24
|
-
var C, h, o = null;
|
|
25
|
-
O && dt.nodeType === 1 && (o = /** @type {Element} */
|
|
26
|
-
dt, Pt());
|
|
27
|
-
var i = (
|
|
5
|
+
var pe = (e, t, a) => t in e ? he(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
|
|
6
|
+
var wt = (e, t, a) => pe(e, typeof t != "symbol" ? t + "" : t, a), Mt = (e, t, a) => t.has(e) || Ft("Cannot " + a);
|
|
7
|
+
var O = (e, t, a) => (Mt(e, t, "read from private field"), a ? a.call(e) : t.get(e)), ct = (e, t, a) => t.has(e) ? Ft("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, a), Ct = (e, t, a, s) => (Mt(e, t, "write to private field"), s ? s.call(e, a) : t.set(e, a), a), Pt = (e, t, a) => (Mt(e, t, "access private method"), a);
|
|
8
|
+
import { Z as ge, _ as Dt, $ as be, a0 as xe, a1 as me, a2 as At, G as K, H as Rt, a3 as kt, a4 as Kt, a5 as _e, a6 as ye, a7 as we, a8 as Me, a9 as Ce, aa as Ut, ab as zt, ac as Wt, z as Zt, B as gt, ad as ke, ae as Le, af as $e, ag as Ae, C as Se, ah as at, ai as Ne, aj as Bt, ak as qt, al as Ee, am as Lt, an as Ve, ao as Ze, u as jt, o as je, c as U, p as Y, a as V, Y as j, b as E, ap as He, d as x, e as tt, h as Z, f as k, j as y, k as W, aq as R, ar as T, s as nt, n as it, D as G, as as X, r as m, at as Te, au as Fe, I as q, l as r, J as rt, K as H, X as st, t as St, F as I, av as bt, L as xt, aw as Ht, ax as mt, ay as _t, az as Jt, q as et, w as Nt, x as ut, m as Pe, aA as Re, aB as Ue, i as ze } from "./font-awesome-icon-BQURLWNp.js";
|
|
9
|
+
import { a as We } from "./window-DSxbAs0w.js";
|
|
10
|
+
import { s as It, i as Tt } from "./legacy-DxV08m0s.js";
|
|
11
|
+
import { t as lt } from "./bundle-mjs-BpzLJ4dA.js";
|
|
12
|
+
function Be(e, t, a, s, d, n) {
|
|
13
|
+
let f = K;
|
|
14
|
+
K && Rt();
|
|
15
|
+
var C, p, l = null;
|
|
16
|
+
K && kt.nodeType === 1 && (l = /** @type {Element} */
|
|
17
|
+
kt, Rt());
|
|
18
|
+
var u = (
|
|
28
19
|
/** @type {TemplateNode} */
|
|
29
|
-
|
|
30
|
-
),
|
|
31
|
-
|
|
32
|
-
const
|
|
33
|
-
var
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}) :
|
|
37
|
-
|
|
20
|
+
K ? kt : e
|
|
21
|
+
), g;
|
|
22
|
+
ge(() => {
|
|
23
|
+
const v = t() || null;
|
|
24
|
+
var h = v === "svg" ? Kt : null;
|
|
25
|
+
v !== C && (g && (v === null ? _e(g, () => {
|
|
26
|
+
g = null, p = null;
|
|
27
|
+
}) : v === p ? ye(g) : (we(g), Wt(!1))), v && v !== p && (g = be(() => {
|
|
28
|
+
l = K ? (
|
|
38
29
|
/** @type {Element} */
|
|
39
|
-
|
|
40
|
-
) :
|
|
30
|
+
l
|
|
31
|
+
) : h ? document.createElementNS(h, v) : document.createElement(v), xe(l, l);
|
|
41
32
|
{
|
|
42
|
-
|
|
43
|
-
var
|
|
33
|
+
K && Me(v) && l.append(document.createComment(""));
|
|
34
|
+
var c = (
|
|
44
35
|
/** @type {TemplateNode} */
|
|
45
|
-
|
|
36
|
+
K ? Ce(l) : l.appendChild(me())
|
|
46
37
|
);
|
|
47
|
-
|
|
38
|
+
K && (c === null ? Ut(!1) : zt(c)), s(l, c);
|
|
48
39
|
}
|
|
49
|
-
At.nodes_end =
|
|
50
|
-
})), C =
|
|
51
|
-
},
|
|
40
|
+
At.nodes_end = l, u.before(l);
|
|
41
|
+
})), C = v, C && (p = C), Wt(!0));
|
|
42
|
+
}, Dt), f && (Ut(!0), zt(u));
|
|
52
43
|
}
|
|
53
|
-
function
|
|
44
|
+
function qe(e, t, a) {
|
|
54
45
|
Zt(() => {
|
|
55
|
-
var
|
|
56
|
-
if (
|
|
46
|
+
var s = gt(() => t(e, a == null ? void 0 : a()) || {});
|
|
47
|
+
if (s != null && s.destroy)
|
|
57
48
|
return () => (
|
|
58
49
|
/** @type {Function} */
|
|
59
|
-
|
|
50
|
+
s.destroy()
|
|
60
51
|
);
|
|
61
52
|
});
|
|
62
53
|
}
|
|
63
|
-
const
|
|
54
|
+
const Ie = () => performance.now(), D = {
|
|
64
55
|
// don't access requestAnimationFrame eagerly outside method
|
|
65
56
|
// this allows basic testing of user code without JSDOM
|
|
66
57
|
// bunder will eval and remove ternary when the user's app is built
|
|
@@ -68,30 +59,30 @@ const qe = () => performance.now(), K = {
|
|
|
68
59
|
/** @param {any} _ */
|
|
69
60
|
(e) => requestAnimationFrame(e)
|
|
70
61
|
),
|
|
71
|
-
now: () =>
|
|
62
|
+
now: () => Ie(),
|
|
72
63
|
tasks: /* @__PURE__ */ new Set()
|
|
73
64
|
};
|
|
74
|
-
function
|
|
75
|
-
const e =
|
|
76
|
-
|
|
77
|
-
t.c(e) || (
|
|
78
|
-
}),
|
|
65
|
+
function Qt() {
|
|
66
|
+
const e = D.now();
|
|
67
|
+
D.tasks.forEach((t) => {
|
|
68
|
+
t.c(e) || (D.tasks.delete(t), t.f());
|
|
69
|
+
}), D.tasks.size !== 0 && D.tick(Qt);
|
|
79
70
|
}
|
|
80
|
-
function
|
|
71
|
+
function Ge(e) {
|
|
81
72
|
let t;
|
|
82
|
-
return
|
|
73
|
+
return D.tasks.size === 0 && D.tick(Qt), {
|
|
83
74
|
promise: new Promise((a) => {
|
|
84
|
-
|
|
75
|
+
D.tasks.add(t = { c: e, f: a });
|
|
85
76
|
}),
|
|
86
77
|
abort() {
|
|
87
|
-
|
|
78
|
+
D.tasks.delete(t);
|
|
88
79
|
}
|
|
89
80
|
};
|
|
90
81
|
}
|
|
91
82
|
function ft(e, t) {
|
|
92
83
|
e.dispatchEvent(new CustomEvent(t));
|
|
93
84
|
}
|
|
94
|
-
function
|
|
85
|
+
function Oe(e) {
|
|
95
86
|
if (e === "float") return "cssFloat";
|
|
96
87
|
if (e === "offset") return "cssOffset";
|
|
97
88
|
if (e.startsWith("--")) return e;
|
|
@@ -101,74 +92,74 @@ function Ge(e) {
|
|
|
101
92
|
(a) => a[0].toUpperCase() + a.slice(1)
|
|
102
93
|
).join("");
|
|
103
94
|
}
|
|
104
|
-
function
|
|
95
|
+
function Gt(e) {
|
|
105
96
|
const t = {}, a = e.split(";");
|
|
106
|
-
for (const
|
|
107
|
-
const [
|
|
108
|
-
if (!
|
|
109
|
-
const f =
|
|
97
|
+
for (const s of a) {
|
|
98
|
+
const [d, n] = s.split(":");
|
|
99
|
+
if (!d || n === void 0) break;
|
|
100
|
+
const f = Oe(d.trim());
|
|
110
101
|
t[f] = n.trim();
|
|
111
102
|
}
|
|
112
103
|
return t;
|
|
113
104
|
}
|
|
114
|
-
const
|
|
115
|
-
function Ke(e, t, a,
|
|
116
|
-
var
|
|
117
|
-
function
|
|
118
|
-
var
|
|
119
|
-
|
|
105
|
+
const De = (e) => e;
|
|
106
|
+
function Ke(e, t, a, s) {
|
|
107
|
+
var d = (e & Ne) !== 0, n = "both", f, C = t.inert, p = t.style.overflow, l, u;
|
|
108
|
+
function g() {
|
|
109
|
+
var _ = Ee, o = At;
|
|
110
|
+
Bt(null), qt(null);
|
|
120
111
|
try {
|
|
121
|
-
return f ?? (f = a()(t, (
|
|
112
|
+
return f ?? (f = a()(t, (s == null ? void 0 : s()) ?? /** @type {P} */
|
|
122
113
|
{}, {
|
|
123
114
|
direction: n
|
|
124
115
|
}));
|
|
125
116
|
} finally {
|
|
126
|
-
|
|
117
|
+
Bt(_), qt(o);
|
|
127
118
|
}
|
|
128
119
|
}
|
|
129
|
-
var
|
|
130
|
-
is_global:
|
|
120
|
+
var v = {
|
|
121
|
+
is_global: d,
|
|
131
122
|
in() {
|
|
132
|
-
t.inert = C, ft(t, "introstart"),
|
|
133
|
-
ft(t, "introend"),
|
|
123
|
+
t.inert = C, ft(t, "introstart"), l = Et(t, g(), u, 1, () => {
|
|
124
|
+
ft(t, "introend"), l == null || l.abort(), l = f = void 0, t.style.overflow = p;
|
|
134
125
|
});
|
|
135
126
|
},
|
|
136
|
-
out(
|
|
137
|
-
t.inert = !0, ft(t, "outrostart"),
|
|
138
|
-
ft(t, "outroend"),
|
|
127
|
+
out(_) {
|
|
128
|
+
t.inert = !0, ft(t, "outrostart"), u = Et(t, g(), l, 0, () => {
|
|
129
|
+
ft(t, "outroend"), _ == null || _();
|
|
139
130
|
});
|
|
140
131
|
},
|
|
141
132
|
stop: () => {
|
|
142
|
-
|
|
133
|
+
l == null || l.abort(), u == null || u.abort();
|
|
143
134
|
}
|
|
144
|
-
},
|
|
135
|
+
}, h = (
|
|
145
136
|
/** @type {Effect} */
|
|
146
137
|
At
|
|
147
138
|
);
|
|
148
|
-
if ((
|
|
149
|
-
var
|
|
150
|
-
if (!
|
|
151
|
-
for (var
|
|
139
|
+
if ((h.transitions ?? (h.transitions = [])).push(v), ke) {
|
|
140
|
+
var c = d;
|
|
141
|
+
if (!c) {
|
|
142
|
+
for (var i = (
|
|
152
143
|
/** @type {Effect | null} */
|
|
153
|
-
|
|
154
|
-
);
|
|
155
|
-
for (; (
|
|
144
|
+
h.parent
|
|
145
|
+
); i && i.f & Dt; )
|
|
146
|
+
for (; (i = i.parent) && !(i.f & Le); )
|
|
156
147
|
;
|
|
157
|
-
|
|
148
|
+
c = !i || (i.f & $e) !== 0;
|
|
158
149
|
}
|
|
159
|
-
|
|
160
|
-
|
|
150
|
+
c && Zt(() => {
|
|
151
|
+
gt(() => v.in());
|
|
161
152
|
});
|
|
162
153
|
}
|
|
163
154
|
}
|
|
164
|
-
function
|
|
165
|
-
var n =
|
|
166
|
-
if (
|
|
155
|
+
function Et(e, t, a, s, d) {
|
|
156
|
+
var n = s === 1;
|
|
157
|
+
if (Ae(t)) {
|
|
167
158
|
var f, C = !1;
|
|
168
|
-
return
|
|
159
|
+
return Se(() => {
|
|
169
160
|
if (!C) {
|
|
170
|
-
var
|
|
171
|
-
f =
|
|
161
|
+
var _ = t({ direction: n ? "in" : "out" });
|
|
162
|
+
f = Et(e, _, a, s, d);
|
|
172
163
|
}
|
|
173
164
|
}), {
|
|
174
165
|
abort: () => {
|
|
@@ -180,111 +171,111 @@ function Dt(e, t, a, r, c) {
|
|
|
180
171
|
};
|
|
181
172
|
}
|
|
182
173
|
if (a == null || a.deactivate(), !(t != null && t.duration))
|
|
183
|
-
return
|
|
184
|
-
abort:
|
|
185
|
-
deactivate:
|
|
186
|
-
reset:
|
|
187
|
-
t: () =>
|
|
174
|
+
return d(), {
|
|
175
|
+
abort: at,
|
|
176
|
+
deactivate: at,
|
|
177
|
+
reset: at,
|
|
178
|
+
t: () => s
|
|
188
179
|
};
|
|
189
|
-
const { delay:
|
|
190
|
-
var
|
|
191
|
-
if (n && a === void 0 && (
|
|
192
|
-
var
|
|
193
|
-
|
|
180
|
+
const { delay: p = 0, css: l, tick: u, easing: g = De } = t;
|
|
181
|
+
var v = [];
|
|
182
|
+
if (n && a === void 0 && (u && u(0, 1), l)) {
|
|
183
|
+
var h = Gt(l(0, 1));
|
|
184
|
+
v.push(h, h);
|
|
194
185
|
}
|
|
195
|
-
var
|
|
196
|
-
return
|
|
197
|
-
var
|
|
186
|
+
var c = () => 1 - s, i = e.animate(v, { duration: p });
|
|
187
|
+
return i.onfinish = () => {
|
|
188
|
+
var _ = (a == null ? void 0 : a.t()) ?? 1 - s;
|
|
198
189
|
a == null || a.abort();
|
|
199
|
-
var
|
|
190
|
+
var o = s - _, $ = (
|
|
200
191
|
/** @type {number} */
|
|
201
|
-
t.duration * Math.abs(
|
|
192
|
+
t.duration * Math.abs(o)
|
|
202
193
|
), b = [];
|
|
203
|
-
if (
|
|
194
|
+
if ($ > 0) {
|
|
204
195
|
var M = !1;
|
|
205
|
-
if (
|
|
206
|
-
for (var
|
|
207
|
-
var N =
|
|
208
|
-
b.push(
|
|
196
|
+
if (l)
|
|
197
|
+
for (var S = Math.ceil($ / 16.666666666666668), A = 0; A <= S; A += 1) {
|
|
198
|
+
var N = _ + o * g(A / S), w = Gt(l(N, 1 - N));
|
|
199
|
+
b.push(w), M || (M = w.overflow === "hidden");
|
|
209
200
|
}
|
|
210
|
-
M && (e.style.overflow = "hidden"),
|
|
211
|
-
var
|
|
201
|
+
M && (e.style.overflow = "hidden"), c = () => {
|
|
202
|
+
var L = (
|
|
212
203
|
/** @type {number} */
|
|
213
204
|
/** @type {globalThis.Animation} */
|
|
214
|
-
|
|
205
|
+
i.currentTime
|
|
215
206
|
);
|
|
216
|
-
return
|
|
217
|
-
},
|
|
218
|
-
if (
|
|
219
|
-
var
|
|
220
|
-
return
|
|
207
|
+
return _ + o * g(L / $);
|
|
208
|
+
}, u && Ge(() => {
|
|
209
|
+
if (i.playState !== "running") return !1;
|
|
210
|
+
var L = c();
|
|
211
|
+
return u(L, 1 - L), !0;
|
|
221
212
|
});
|
|
222
213
|
}
|
|
223
|
-
|
|
224
|
-
|
|
214
|
+
i = e.animate(b, { duration: $, fill: "forwards" }), i.onfinish = () => {
|
|
215
|
+
c = () => s, u == null || u(s, 1 - s), d();
|
|
225
216
|
};
|
|
226
217
|
}, {
|
|
227
218
|
abort: () => {
|
|
228
|
-
|
|
219
|
+
i && (i.cancel(), i.effect = null, i.onfinish = at);
|
|
229
220
|
},
|
|
230
221
|
deactivate: () => {
|
|
231
|
-
|
|
222
|
+
d = at;
|
|
232
223
|
},
|
|
233
224
|
reset: () => {
|
|
234
|
-
|
|
225
|
+
s === 0 && (u == null || u(1, 0));
|
|
235
226
|
},
|
|
236
|
-
t: () =>
|
|
227
|
+
t: () => c()
|
|
237
228
|
};
|
|
238
229
|
}
|
|
239
|
-
var
|
|
240
|
-
const
|
|
230
|
+
var J, ot, vt, ht, Xt;
|
|
231
|
+
const pt = class pt {
|
|
241
232
|
/** @param {ResizeObserverOptions} options */
|
|
242
233
|
constructor(t) {
|
|
243
|
-
|
|
234
|
+
ct(this, ht);
|
|
244
235
|
/** */
|
|
245
|
-
|
|
236
|
+
ct(this, J, /* @__PURE__ */ new WeakMap());
|
|
246
237
|
/** @type {ResizeObserver | undefined} */
|
|
247
|
-
|
|
238
|
+
ct(this, ot);
|
|
248
239
|
/** @type {ResizeObserverOptions} */
|
|
249
|
-
|
|
250
|
-
|
|
240
|
+
ct(this, vt);
|
|
241
|
+
Ct(this, vt, t);
|
|
251
242
|
}
|
|
252
243
|
/**
|
|
253
244
|
* @param {Element} element
|
|
254
245
|
* @param {(entry: ResizeObserverEntry) => any} listener
|
|
255
246
|
*/
|
|
256
247
|
observe(t, a) {
|
|
257
|
-
var
|
|
258
|
-
return
|
|
259
|
-
var
|
|
260
|
-
|
|
248
|
+
var s = O(this, J).get(t) || /* @__PURE__ */ new Set();
|
|
249
|
+
return s.add(a), O(this, J).set(t, s), Pt(this, ht, Xt).call(this).observe(t, O(this, vt)), () => {
|
|
250
|
+
var d = O(this, J).get(t);
|
|
251
|
+
d.delete(a), d.size === 0 && (O(this, J).delete(t), O(this, ot).unobserve(t));
|
|
261
252
|
};
|
|
262
253
|
}
|
|
263
254
|
};
|
|
264
|
-
|
|
265
|
-
return
|
|
255
|
+
J = new WeakMap(), ot = new WeakMap(), vt = new WeakMap(), ht = new WeakSet(), Xt = function() {
|
|
256
|
+
return O(this, ot) ?? Ct(this, ot, new ResizeObserver(
|
|
266
257
|
/** @param {any} entries */
|
|
267
258
|
(t) => {
|
|
268
259
|
for (var a of t) {
|
|
269
|
-
|
|
270
|
-
for (var
|
|
271
|
-
|
|
260
|
+
pt.entries.set(a.target, a);
|
|
261
|
+
for (var s of O(this, J).get(a.target) || [])
|
|
262
|
+
s(a);
|
|
272
263
|
}
|
|
273
264
|
}
|
|
274
265
|
));
|
|
275
266
|
}, /** @static */
|
|
276
|
-
|
|
277
|
-
let
|
|
278
|
-
var Je = /* @__PURE__ */ new
|
|
267
|
+
wt(pt, "entries", /* @__PURE__ */ new WeakMap());
|
|
268
|
+
let Vt = pt;
|
|
269
|
+
var Je = /* @__PURE__ */ new Vt({
|
|
279
270
|
box: "border-box"
|
|
280
271
|
});
|
|
281
|
-
function
|
|
282
|
-
var
|
|
283
|
-
Zt(() => (
|
|
272
|
+
function dt(e, t, a) {
|
|
273
|
+
var s = Je.observe(e, () => a(e[t]));
|
|
274
|
+
Zt(() => (gt(() => a(e[t])), s));
|
|
284
275
|
}
|
|
285
276
|
function Qe(e) {
|
|
286
277
|
Lt === null && Ve(), Ze && Lt.l !== null ? Xe(Lt).m.push(e) : jt(() => {
|
|
287
|
-
const t =
|
|
278
|
+
const t = gt(e);
|
|
288
279
|
if (typeof t == "function") return (
|
|
289
280
|
/** @type {() => void} */
|
|
290
281
|
t
|
|
@@ -302,32 +293,32 @@ function Ye(e) {
|
|
|
302
293
|
const t = e - 1;
|
|
303
294
|
return t * t * t + 1;
|
|
304
295
|
}
|
|
305
|
-
function
|
|
306
|
-
const n = getComputedStyle(e), f = +n.opacity, C =
|
|
307
|
-
(
|
|
296
|
+
function Ot(e, { delay: t = 0, duration: a = 400, easing: s = Ye, axis: d = "y" } = {}) {
|
|
297
|
+
const n = getComputedStyle(e), f = +n.opacity, C = d === "y" ? "height" : "width", p = parseFloat(n[C]), l = d === "y" ? ["top", "bottom"] : ["left", "right"], u = l.map(
|
|
298
|
+
(o) => (
|
|
308
299
|
/** @type {'Left' | 'Right' | 'Top' | 'Bottom'} */
|
|
309
|
-
`${
|
|
300
|
+
`${o[0].toUpperCase()}${o.slice(1)}`
|
|
310
301
|
)
|
|
311
|
-
),
|
|
312
|
-
n[`border${
|
|
313
|
-
),
|
|
314
|
-
n[`border${
|
|
302
|
+
), g = parseFloat(n[`padding${u[0]}`]), v = parseFloat(n[`padding${u[1]}`]), h = parseFloat(n[`margin${u[0]}`]), c = parseFloat(n[`margin${u[1]}`]), i = parseFloat(
|
|
303
|
+
n[`border${u[0]}Width`]
|
|
304
|
+
), _ = parseFloat(
|
|
305
|
+
n[`border${u[1]}Width`]
|
|
315
306
|
);
|
|
316
307
|
return {
|
|
317
308
|
delay: t,
|
|
318
309
|
duration: a,
|
|
319
|
-
easing:
|
|
320
|
-
css: (
|
|
310
|
+
easing: s,
|
|
311
|
+
css: (o) => `overflow: hidden;opacity: ${Math.min(o * 20, 1) * f};${C}: ${o * p}px;padding-${l[0]}: ${o * g}px;padding-${l[1]}: ${o * v}px;margin-${l[0]}: ${o * h}px;margin-${l[1]}: ${o * c}px;border-${l[0]}-width: ${o * i}px;border-${l[1]}-width: ${o * _}px;min-${C}: 0`
|
|
321
312
|
};
|
|
322
313
|
}
|
|
323
314
|
function ta(e) {
|
|
324
315
|
return e < 0.5 ? 4 * e * e * e : 0.5 * Math.pow(2 * e - 2, 3) + 1;
|
|
325
316
|
}
|
|
326
317
|
const $t = (e) => {
|
|
327
|
-
const t = function(
|
|
328
|
-
e.contains(
|
|
329
|
-
}, a = function(
|
|
330
|
-
e.contains(
|
|
318
|
+
const t = function(s) {
|
|
319
|
+
e.contains(s.relatedTarget) || e.dispatchEvent(new CustomEvent("focusoutside", { bubbles: !1 }));
|
|
320
|
+
}, a = function(s) {
|
|
321
|
+
e.contains(s.relatedTarget) || e.dispatchEvent(new CustomEvent("focusinside", { bubbles: !1 }));
|
|
331
322
|
};
|
|
332
323
|
return e.addEventListener("focusin", a), e.addEventListener("focusout", t), {
|
|
333
324
|
destroy() {
|
|
@@ -338,98 +329,98 @@ const $t = (e) => {
|
|
|
338
329
|
var ea = (e, t) => {
|
|
339
330
|
t(!t()), e.target.focus();
|
|
340
331
|
}, aa = k('<div tabindex="-1"><button aria-haspopup="true"><!></button> <!></div>');
|
|
341
|
-
function
|
|
332
|
+
function Q(e, t) {
|
|
342
333
|
Y(t, !0);
|
|
343
|
-
let a =
|
|
344
|
-
var
|
|
345
|
-
|
|
346
|
-
var
|
|
347
|
-
|
|
348
|
-
var
|
|
334
|
+
let a = V(t, "class", 7), s = V(t, "open", 15, !1), d = V(t, "as", 7, "div"), n = V(t, "transition", 7, Ot), f = V(t, "buttonClass", 7, ""), C = V(t, "contentClass", 7, ""), p = V(t, "autoCollapse", 7, !0), l = V(t, "buttonAriaLabel", 7), u = V(t, "button", 7), g = V(t, "children", 7);
|
|
335
|
+
var v = aa(), h = y(v);
|
|
336
|
+
h.__click = [ea, s];
|
|
337
|
+
var c = y(h);
|
|
338
|
+
It(c, () => u() ?? at), m(h);
|
|
339
|
+
var i = W(h, 2);
|
|
349
340
|
{
|
|
350
|
-
var
|
|
351
|
-
var
|
|
352
|
-
|
|
353
|
-
let
|
|
354
|
-
|
|
355
|
-
var N =
|
|
356
|
-
|
|
357
|
-
}),
|
|
341
|
+
var _ = (o) => {
|
|
342
|
+
var $ = R(), b = T($);
|
|
343
|
+
Be(b, d, !1, (M, S) => {
|
|
344
|
+
let A;
|
|
345
|
+
E(() => A = X(M, A, { class: C() }, void 0, M.namespaceURI === Kt, M.nodeName.includes("-"))), Ke(3, M, n, () => ({ duration: 200, easing: ta }));
|
|
346
|
+
var N = R(), w = T(N);
|
|
347
|
+
It(w, () => g() ?? at), x(S, N);
|
|
348
|
+
}), x(o, $);
|
|
358
349
|
};
|
|
359
|
-
|
|
360
|
-
|
|
350
|
+
j(i, (o) => {
|
|
351
|
+
s() && o(_);
|
|
361
352
|
});
|
|
362
353
|
}
|
|
363
|
-
return m(
|
|
364
|
-
|
|
365
|
-
}), He("focusoutside",
|
|
366
|
-
|
|
367
|
-
}),
|
|
354
|
+
return m(v), qe(v, (o) => $t == null ? void 0 : $t(o)), E(() => {
|
|
355
|
+
nt(v, it(a())), nt(h, it(f())), G(h, "aria-expanded", s()), G(h, "aria-label", l());
|
|
356
|
+
}), He("focusoutside", v, () => {
|
|
357
|
+
p() && s(!1);
|
|
358
|
+
}), x(e, v), tt({
|
|
368
359
|
get class() {
|
|
369
360
|
return a();
|
|
370
361
|
},
|
|
371
|
-
set class(
|
|
372
|
-
a(
|
|
362
|
+
set class(o) {
|
|
363
|
+
a(o), Z();
|
|
373
364
|
},
|
|
374
365
|
get open() {
|
|
375
|
-
return
|
|
366
|
+
return s();
|
|
376
367
|
},
|
|
377
|
-
set open(
|
|
378
|
-
|
|
368
|
+
set open(o = !1) {
|
|
369
|
+
s(o), Z();
|
|
379
370
|
},
|
|
380
371
|
get as() {
|
|
381
|
-
return
|
|
372
|
+
return d();
|
|
382
373
|
},
|
|
383
|
-
set as(
|
|
384
|
-
|
|
374
|
+
set as(o = "div") {
|
|
375
|
+
d(o), Z();
|
|
385
376
|
},
|
|
386
377
|
get transition() {
|
|
387
378
|
return n();
|
|
388
379
|
},
|
|
389
|
-
set transition(
|
|
390
|
-
n(
|
|
380
|
+
set transition(o = Ot) {
|
|
381
|
+
n(o), Z();
|
|
391
382
|
},
|
|
392
383
|
get buttonClass() {
|
|
393
384
|
return f();
|
|
394
385
|
},
|
|
395
|
-
set buttonClass(
|
|
396
|
-
f(
|
|
386
|
+
set buttonClass(o = "") {
|
|
387
|
+
f(o), Z();
|
|
397
388
|
},
|
|
398
389
|
get contentClass() {
|
|
399
390
|
return C();
|
|
400
391
|
},
|
|
401
|
-
set contentClass(
|
|
402
|
-
C(
|
|
392
|
+
set contentClass(o = "") {
|
|
393
|
+
C(o), Z();
|
|
403
394
|
},
|
|
404
395
|
get autoCollapse() {
|
|
405
|
-
return
|
|
396
|
+
return p();
|
|
406
397
|
},
|
|
407
|
-
set autoCollapse(
|
|
408
|
-
|
|
398
|
+
set autoCollapse(o = !0) {
|
|
399
|
+
p(o), Z();
|
|
409
400
|
},
|
|
410
401
|
get buttonAriaLabel() {
|
|
411
|
-
return
|
|
402
|
+
return l();
|
|
412
403
|
},
|
|
413
|
-
set buttonAriaLabel(
|
|
414
|
-
o
|
|
404
|
+
set buttonAriaLabel(o) {
|
|
405
|
+
l(o), Z();
|
|
415
406
|
},
|
|
416
407
|
get button() {
|
|
417
|
-
return
|
|
408
|
+
return u();
|
|
418
409
|
},
|
|
419
|
-
set button(
|
|
420
|
-
|
|
410
|
+
set button(o) {
|
|
411
|
+
u(o), Z();
|
|
421
412
|
},
|
|
422
413
|
get children() {
|
|
423
|
-
return
|
|
414
|
+
return g();
|
|
424
415
|
},
|
|
425
|
-
set children(
|
|
426
|
-
|
|
416
|
+
set children(o) {
|
|
417
|
+
g(o), Z();
|
|
427
418
|
}
|
|
428
419
|
});
|
|
429
420
|
}
|
|
430
421
|
je(["click"]);
|
|
431
|
-
|
|
432
|
-
|
|
422
|
+
U(
|
|
423
|
+
Q,
|
|
433
424
|
{
|
|
434
425
|
class: {},
|
|
435
426
|
open: {},
|
|
@@ -446,7 +437,7 @@ P(
|
|
|
446
437
|
[],
|
|
447
438
|
!0
|
|
448
439
|
);
|
|
449
|
-
const
|
|
440
|
+
const Yt = [
|
|
450
441
|
{
|
|
451
442
|
text: "About",
|
|
452
443
|
href: "https://uoguelph.ca/about"
|
|
@@ -473,7 +464,7 @@ const re = [
|
|
|
473
464
|
icon: Te,
|
|
474
465
|
excludeFromMainMenu: !0
|
|
475
466
|
}
|
|
476
|
-
],
|
|
467
|
+
], te = [
|
|
477
468
|
{
|
|
478
469
|
text: "Give",
|
|
479
470
|
href: "https://bbis.alumni.uoguelph.ca/BBIS_Cannon/give/uofg"
|
|
@@ -541,85 +532,85 @@ const re = [
|
|
|
541
532
|
}
|
|
542
533
|
];
|
|
543
534
|
var ra = k("<span> </span> <!>", 1), sa = k('<span class="flex items-center gap-2 [&>svg]:transition-transform"><!></span>'), la = k("<li><a> </a></li>"), oa = k("<a> </a>"), na = k("<li><!></li>"), ia = k('<nav class="flex h-10 justify-end bg-white px-[calc((100%-1320px)/2)] text-lg" aria-label="Secondary"><ul class="flex h-full items-center justify-end [&>li]:contents"></ul></nav>');
|
|
544
|
-
function
|
|
545
|
-
Y(t, !1),
|
|
546
|
-
var a = ia(),
|
|
547
|
-
q(
|
|
548
|
-
var f = na(), C =
|
|
535
|
+
function ee(e, t) {
|
|
536
|
+
Y(t, !1), Tt();
|
|
537
|
+
var a = ia(), s = y(a);
|
|
538
|
+
q(s, 5, () => te, (d) => d.text || d.title, (d, n) => {
|
|
539
|
+
var f = na(), C = y(f);
|
|
549
540
|
{
|
|
550
|
-
var
|
|
551
|
-
var
|
|
552
|
-
|
|
541
|
+
var p = (u) => {
|
|
542
|
+
var g = st(() => lt("flex h-full items-center justify-center gap-2 px-2 transition-colors hover:bg-grey-muted aria-expanded:bg-grey-muted hover:text-grey-muted-contrast aria-expanded:text-grey-muted-contrast", r(n).icon && "[&_svg]:aria-expanded:rotate-180)} aspect-square")), v = st(() => r(n).icon ? r(n).text : void 0);
|
|
543
|
+
Q(u, {
|
|
553
544
|
class: "relative h-full",
|
|
554
545
|
get buttonClass() {
|
|
555
|
-
return
|
|
546
|
+
return r(g);
|
|
556
547
|
},
|
|
557
|
-
contentClass: "absolute right-0 top-full z-50 flex min-w-[20rem] flex-col bg-
|
|
548
|
+
contentClass: "absolute right-0 top-full z-50 flex min-w-[20rem] flex-col bg-grey-muted text-grey-muted-contrast [&>li]:contents",
|
|
558
549
|
as: "ul",
|
|
559
550
|
get buttonAriaLabel() {
|
|
560
|
-
return
|
|
551
|
+
return r(v);
|
|
561
552
|
},
|
|
562
|
-
button: (
|
|
563
|
-
var
|
|
553
|
+
button: (c) => {
|
|
554
|
+
var i = sa(), _ = y(i);
|
|
564
555
|
{
|
|
565
|
-
var
|
|
556
|
+
var o = (b) => {
|
|
566
557
|
I(b, {
|
|
567
558
|
get icon() {
|
|
568
|
-
return
|
|
559
|
+
return r(n).icon;
|
|
569
560
|
}
|
|
570
561
|
});
|
|
571
|
-
},
|
|
572
|
-
var M = ra(),
|
|
573
|
-
m(
|
|
574
|
-
var N =
|
|
575
|
-
I(N, { icon:
|
|
562
|
+
}, $ = (b) => {
|
|
563
|
+
var M = ra(), S = T(M), A = y(S, !0);
|
|
564
|
+
m(S);
|
|
565
|
+
var N = W(S, 2);
|
|
566
|
+
I(N, { icon: bt }), E(() => H(A, r(n).text)), x(b, M);
|
|
576
567
|
};
|
|
577
|
-
|
|
578
|
-
|
|
568
|
+
j(_, (b) => {
|
|
569
|
+
r(n).icon ? b(o) : b($, !1);
|
|
579
570
|
});
|
|
580
571
|
}
|
|
581
|
-
m(
|
|
572
|
+
m(i), E(() => St(i, "bg-yellow", r(n).highlight)), x(c, i);
|
|
582
573
|
},
|
|
583
|
-
children: (
|
|
584
|
-
var
|
|
585
|
-
q(
|
|
586
|
-
var M = la(),
|
|
587
|
-
let
|
|
588
|
-
var N =
|
|
589
|
-
m(
|
|
590
|
-
|
|
591
|
-
class:
|
|
592
|
-
href:
|
|
593
|
-
...
|
|
594
|
-
}),
|
|
595
|
-
}),
|
|
596
|
-
}),
|
|
574
|
+
children: (c, i) => {
|
|
575
|
+
var _ = R(), o = T(_);
|
|
576
|
+
q(o, 1, () => r(n).links, rt, ($, b) => {
|
|
577
|
+
var M = la(), S = y(M);
|
|
578
|
+
let A;
|
|
579
|
+
var N = y(S, !0);
|
|
580
|
+
m(S), m(M), E(() => {
|
|
581
|
+
A = X(S, A, {
|
|
582
|
+
class: lt("border-0 border-b border-solid border-grey/50 p-2 transition-colors hover:bg-yellow hover:text-yellow-contrast", r(n).highlight && "bg-yellow text-yellow-contrast"),
|
|
583
|
+
href: r(b).href,
|
|
584
|
+
...r(b).attributes
|
|
585
|
+
}), H(N, r(b).text);
|
|
586
|
+
}), x($, M);
|
|
587
|
+
}), x(c, _);
|
|
597
588
|
},
|
|
598
589
|
$$slots: { button: !0, default: !0 }
|
|
599
590
|
});
|
|
600
|
-
},
|
|
601
|
-
var
|
|
602
|
-
const
|
|
603
|
-
var
|
|
604
|
-
m(
|
|
605
|
-
|
|
606
|
-
}),
|
|
591
|
+
}, l = (u) => {
|
|
592
|
+
var g = oa();
|
|
593
|
+
const v = st(() => it(lt("flex h-full items-center justify-center gap-2 px-2 transition-colors hover:bg-grey-muted hover:text-grey-muted-contrast", r(n).highlight && "bg-yellow text-yellow-contrast")));
|
|
594
|
+
var h = y(g, !0);
|
|
595
|
+
m(g), E(() => {
|
|
596
|
+
nt(g, r(v)), G(g, "href", r(n).href), H(h, r(n).text);
|
|
597
|
+
}), x(u, g);
|
|
607
598
|
};
|
|
608
|
-
|
|
609
|
-
|
|
599
|
+
j(C, (u) => {
|
|
600
|
+
r(n).links ? u(p) : u(l, !1);
|
|
610
601
|
});
|
|
611
602
|
}
|
|
612
|
-
m(f),
|
|
613
|
-
}), m(
|
|
603
|
+
m(f), x(d, f);
|
|
604
|
+
}), m(s), m(a), x(e, a), tt();
|
|
614
605
|
}
|
|
615
|
-
|
|
616
|
-
var ca =
|
|
617
|
-
function
|
|
606
|
+
U(ee, {}, [], [], !0);
|
|
607
|
+
var ca = xt('<svg viewBox="0 0 68 90" xmlns="http://www.w3.org/2000/svg"><path d="M23.131 0l44.847 90H0V0" fill="#e51937"></path><path d="M23.131 0l16.03 32.044L55.1 0" fill="#ffc429"></path></svg>');
|
|
608
|
+
function ae(e) {
|
|
618
609
|
var t = ca();
|
|
619
|
-
|
|
610
|
+
x(e, t);
|
|
620
611
|
}
|
|
621
|
-
|
|
622
|
-
var ua =
|
|
612
|
+
U(ae, {}, [], [], !0);
|
|
613
|
+
var ua = xt(`<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 346.8 436.84"><defs><style>.cls-1 {
|
|
623
614
|
fill: #fff;
|
|
624
615
|
font-family: MyriadPro-Regular, 'Myriad Pro';
|
|
625
616
|
font-size: 44.28px;
|
|
@@ -628,12 +619,12 @@ var ua = _t(`<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000
|
|
|
628
619
|
.cls-2 {
|
|
629
620
|
fill: #e51937;
|
|
630
621
|
}</style></defs><g><rect x="83.14" y="42.23" width="180.66" height="352.2"></rect><path class="cls-2" d="M262.3,43.73v349.2H84.64V43.73h177.66M265.3,40.73H81.64v355.2h183.66V40.73h0Z"></path></g><text class="cls-1" transform="translate(112.91 242.36)"><tspan x="0" y="0">CREST</tspan></text></svg>`);
|
|
631
|
-
function
|
|
622
|
+
function re(e) {
|
|
632
623
|
var t = ua();
|
|
633
|
-
|
|
624
|
+
x(e, t);
|
|
634
625
|
}
|
|
635
|
-
|
|
636
|
-
var va =
|
|
626
|
+
U(re, {}, [], [], !0);
|
|
627
|
+
var va = xt(`<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1345.57 436.77"><defs><style>.cls-1 {
|
|
637
628
|
fill: #fff;
|
|
638
629
|
font-family: MyriadPro-Regular, 'Myriad Pro';
|
|
639
630
|
font-size: 44.28px;
|
|
@@ -646,531 +637,527 @@ var va = _t(`<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000
|
|
|
646
637
|
.cls-3 {
|
|
647
638
|
letter-spacing: 0em;
|
|
648
639
|
}</style></defs><g><rect x="312.71" y="84.14" width="949.67" height="273.47"></rect><path class="cls-2" d="M1260.88,85.64v270.47H314.21V85.64h946.67M1263.88,82.64H311.21v276.47h952.67V82.64h0Z"></path></g><g><rect x="83.41" y="42.34" width="180.66" height="352.2"></rect><path class="cls-2" d="M262.57,43.84v349.2H84.91V43.84h177.66M265.57,40.84H81.91v355.2h183.66V40.84h0Z"></path></g><text class="cls-1" transform="translate(660.72 229.89)"><tspan x="0" y="0">WORD</tspan><tspan class="cls-3" x="121.29" y="0">M</tspan><tspan x="156.46" y="0">ARK</tspan></text><text class="cls-1" transform="translate(111.72 238.89)"><tspan x="0" y="0">CREST</tspan></text></svg>`);
|
|
649
|
-
function
|
|
640
|
+
function se(e) {
|
|
650
641
|
var t = va();
|
|
651
|
-
|
|
642
|
+
x(e, t);
|
|
652
643
|
}
|
|
653
|
-
|
|
654
|
-
var fa = k('<div class="left-0 h-full w-[7.5rem] min-[1320px]:absolute [&>svg]:block [&>svg]:h-full [&>svg]:w-auto"><!></div>'),
|
|
655
|
-
function
|
|
656
|
-
Y(t, !
|
|
657
|
-
const [a,
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
var C = ha(), h = w(C);
|
|
644
|
+
U(se, {}, [], [], !0);
|
|
645
|
+
var fa = k('<div class="left-0 h-full w-[7.5rem] min-[1320px]:absolute [&>svg]:block [&>svg]:h-full [&>svg]:w-auto"><!></div>'), da = k('<div class="flex w-fit"><!> <a href="https://www.uoguelph.ca" aria-label="University of Guelph Home Page"><!></a></div>');
|
|
646
|
+
function le(e, t) {
|
|
647
|
+
Y(t, !1);
|
|
648
|
+
const [a, s] = mt(), d = () => _t(n, "$headerState", a), n = Ht("header-state");
|
|
649
|
+
Tt();
|
|
650
|
+
var f = da(), C = y(f);
|
|
661
651
|
{
|
|
662
|
-
var
|
|
663
|
-
var
|
|
664
|
-
|
|
652
|
+
var p = (c) => {
|
|
653
|
+
var i = fa(), _ = y(i);
|
|
654
|
+
ae(_), m(i), x(c, i);
|
|
665
655
|
};
|
|
666
|
-
|
|
667
|
-
var
|
|
668
|
-
((
|
|
656
|
+
j(C, (c) => {
|
|
657
|
+
var i;
|
|
658
|
+
((i = d()) == null ? void 0 : i.mode) === "desktop" && c(p);
|
|
669
659
|
});
|
|
670
660
|
}
|
|
671
|
-
var
|
|
672
|
-
const
|
|
673
|
-
var
|
|
674
|
-
return
|
|
661
|
+
var l = W(C, 2);
|
|
662
|
+
const u = st(() => {
|
|
663
|
+
var c, i;
|
|
664
|
+
return it(lt("flex items-center h-full w-fit transition-opacity focus:opacity-75 hover:opacity-75 min-[1320px]:absolute min-[1320px]:left-[max(calc((100%-1320px)/2),7.5rem)] [&>svg]:block [&>svg]:w-auto", ((c = d()) == null ? void 0 : c.mode) === "desktop" ? "[&>svg]:h-22" : ((i = d()) == null ? void 0 : i.variant) === "dual-brand" ? "[&>svg]:h-[7.5rem] px-2" : "[&>svg]:h-[5rem]"));
|
|
675
665
|
});
|
|
676
|
-
var
|
|
666
|
+
var g = y(l);
|
|
677
667
|
{
|
|
678
|
-
var
|
|
679
|
-
|
|
680
|
-
},
|
|
681
|
-
|
|
668
|
+
var v = (c) => {
|
|
669
|
+
se(c);
|
|
670
|
+
}, h = (c) => {
|
|
671
|
+
re(c);
|
|
682
672
|
};
|
|
683
|
-
|
|
684
|
-
var
|
|
685
|
-
((
|
|
673
|
+
j(g, (c) => {
|
|
674
|
+
var i;
|
|
675
|
+
((i = d()) == null ? void 0 : i.mode) === "desktop" ? c(v) : c(h, !1);
|
|
686
676
|
});
|
|
687
677
|
}
|
|
688
|
-
m(
|
|
689
|
-
var g = tt({
|
|
690
|
-
get variant() {
|
|
691
|
-
return n();
|
|
692
|
-
},
|
|
693
|
-
set variant(v) {
|
|
694
|
-
n(v), V();
|
|
695
|
-
}
|
|
696
|
-
});
|
|
697
|
-
return r(), g;
|
|
678
|
+
m(l), m(f), E(() => nt(l, r(u))), x(e, f), tt(), s();
|
|
698
679
|
}
|
|
699
|
-
|
|
700
|
-
var
|
|
701
|
-
function
|
|
702
|
-
var t =
|
|
703
|
-
|
|
680
|
+
U(le, {}, [], [], !0);
|
|
681
|
+
var ha = xt('<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" style="height:100%" viewBox="0 0 266.13 110.89"><defs><style>.cls-1,.cls-2{fill:#fff;}.cls-2{stroke:#fff;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}</style></defs><path class="cls-1" d="M411.7,171.24v7.91c0,2.7.79,4.18,3,4.18s3-1.8,3-4v-8.07h2.48v8.56c0,3.49-2.25,5.46-5.52,5.46-3.74,0-5.69-1.84-5.69-5.6v-8.42Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M435.78,185h-2c-2.64-3.17-5.27-6.32-7.87-9.89h0V185h-2.23V171.24h2c2.64,3.15,5.26,6.28,7.86,9.82h0v-9.82h2.22V185Z" transform="translate(-365.74 -171)"></path><polygon class="cls-1" points="73.7 14.02 73.7 0.24 76.48 0.24 76.48 14.02 73.7 14.02 73.7 14.02"></polygon><path class="cls-1" d="M449.41,185l-5.12-13.59,2.95-.39c1.22,3.5,2.42,7,3.62,11h0c1.26-4,2.54-7.49,3.82-11l2.39.39L451.67,185Z" transform="translate(-365.74 -171)"></path><polygon class="cls-1" points="100.87 2.09 96.25 2.09 96.25 5.87 100.78 5.87 100.78 7.72 96.25 7.72 96.25 12.17 101.72 12.17 101.72 14.02 93.47 14.02 93.47 0.24 100.87 0.24 100.87 2.09 100.87 2.09"></polygon><path class="cls-1" d="M473.05,173.09h1.44a2,2,0,0,1,2.21,2.08,2.39,2.39,0,0,1-2.52,2.49h-1.13v-4.57ZM470.28,185h2.77v-5.51h1.66l2.8,5.75,2.91-.54-3.27-5.88a4.35,4.35,0,0,0,2.32-4c0-2.34-1.77-3.6-4.41-3.6h-4.78V185Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M489.56,173.64a4.12,4.12,0,0,0-2.23-.79c-1.16,0-1.79.65-1.79,1.46s1,1.59,2.58,2.87c1.85,1.48,2.83,2.64,2.83,4.33s-1.65,3.75-4.76,3.75a6.19,6.19,0,0,1-4.06-1.38l1-1.58a4.57,4.57,0,0,0,2.81,1.1,1.92,1.92,0,0,0,2.15-1.91c0-1.51-1.85-2.52-3-3.38-1.33-1.08-2.46-1.93-2.46-3.76s1.87-3.35,4.37-3.35a5.13,5.13,0,0,1,3.49,1.2l-1,1.44Z" transform="translate(-365.74 -171)"></path><polygon class="cls-1" points="128.3 14.02 128.3 0.24 131.08 0.24 131.08 14.02 128.3 14.02 128.3 14.02"></polygon><polygon class="cls-1" points="137.56 14.02 137.56 2.09 133.3 2.09 133.3 0.24 144.59 0.24 144.59 2.09 140.33 2.09 140.33 14.02 137.56 14.02 137.56 14.02"></polygon><path class="cls-1" d="M515.59,185v-5.77l-4.24-7.82,3.11-.39c1,2,1.91,4,2.88,6.36,1.06-2.38,2.14-4.37,3.21-6.36l2.28.39-4.47,7.82V185Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M537.52,183.29c-2.89,0-3.92-2.72-3.92-5.36s1.16-5,3.92-5,3.92,2.42,3.92,5-1,5.36-3.92,5.36Zm0,2c4.23,0,6.87-3.21,6.87-7.33a6.87,6.87,0,1,0-13.74,0c0,4.12,2.64,7.33,6.87,7.33Z" transform="translate(-365.74 -171)"></path><polygon class="cls-1" points="188.95 2.09 184.34 2.09 184.34 6.62 188.87 6.62 188.87 8.47 184.34 8.47 184.34 14.02 181.56 14.02 181.56 0.24 188.95 0.24 188.95 2.09 188.95 2.09"></polygon><path class="cls-1" d="M451,280.31c-3-.43-3-1.21-3-7.24v-21.9c0-6,0-6.81,3-7.24l1.31-.17v-1.41h-16.2v1.41l1.38.17c2.89.43,2.89,1.21,2.89,7.24V260H422.08v-8.87c0-6,0-6.75,2.9-7.18l1.37-.17v-1.41h-16.2v1.41l1.38.17c2.89.43,2.89,1.21,2.89,7.24v22c0,6,0,6.75-2.9,7.18l-1.37.17v1.41h16.2v-1.41l-1.37-.17c-2.9-.43-2.9-1.2-2.9-7.18V262.52h18.33v10.55c0,6,0,6.81-2.89,7.24l-1.38.17v1.41h16.2v-1.41l-1.31-.17Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M494.24,273.13l1.26-.24c1.41-.29,2.09-.63,2.33-3.93l1.65-26.61a10.55,10.55,0,0,1,2.43-.29l13,24.28,12.13-24a8.42,8.42,0,0,1,2.43-.29l1.46,26.46c.19,3.69.82,4.13,2.33,4.37l1.45.24v1.27H521v-1.27l1.6-.24c2.19-.39,2.58-.58,2.48-3.79l-.63-16.7h-.1l-10.14,21.51a8.88,8.88,0,0,1-1.85.49l-11-22h-.1l-.58,16.7c-.14,3.21.3,3.36,2.47,3.79l1.61.24v1.27H494.24v-1.27Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M549.56,244.54a8.41,8.41,0,0,1,2.47-.34c3.74,0,6.31,2.28,6.31,6,0,5.24-3.29,6.26-7,6.26h-1.8V244.54ZM539.8,274.4h12.62c7.24,0,13.79-2,13.79-9.13,0-6-5.19-7.91-8.2-8.35v-.1c2.57-.78,6.65-2.57,6.65-7.76,0-6.71-8.06-6.71-10.39-6.71H539.8v1.27l1.16.14c2.29.44,2.29.3,2.29,5.69v17.76c0,5.49,0,5.29-2.29,5.78l-1.16.14v1.27Zm9.76-16.07h2.09c5.87,0,8.25,3.79,8.25,7.62s-1.94,6.6-6.41,6.6a11,11,0,0,1-3.93-.78V258.33Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M571,273.13l1.16-.14c2.29-.44,2.29-.29,2.29-5.78V249.54c0-5.48,0-5.25-2.29-5.78l-1.16-.14v-1.27h22.38a36,36,0,0,1,.58,7.87l-1.75.24c-1.26-6.17-2.86-6.26-8-6.26h-3.5v12.48h3.3c4.32,0,5-.05,5.29-2.09l.25-1.7h1.25v9.66h-1.25l-.25-1.55c-.34-2.14-1.06-2.14-5.09-2.14h-3.5v13a20.88,20.88,0,0,0,4.9.73c7.28,0,7.82-3.74,8.79-7.38l1.74.34a34.28,34.28,0,0,1-1.6,8.89H571v-1.27Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M611.52,244.54a8.58,8.58,0,0,1,2.53-.34c3.89,0,6.85,2.53,6.85,7,0,2.09-.15,7.47-7,7.47h-2.38V244.54Zm0,16h1.56c3,0,3.15,1.8,4.86,5.05l1.84,3.59c1.07,2.14,3,5.25,7.86,5.25h4.23v-1.27a4.15,4.15,0,0,1-3.11-1.31A77.92,77.92,0,0,1,621,258.76c2.77-1.26,6.22-4,6.22-8.3,0-7.62-7-8.11-11.46-8.11h-14v1.27l1.11.14c2.33.34,2.33.83,2.33,5.73v17.72c0,4.86,0,5.44-2.28,5.78l-1.16.14v1.27H615v-1.27L613.8,273c-2.28-.34-2.28-.92-2.28-5.73v-6.75Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M480.71,242.43v1.44l.92.11.42.05h0c2.13.29,2.51.34,2.55,3.48l.2,12.44a39.67,39.67,0,0,1-.26,5c-.72,5.67-4.68,7.68-8.15,7.68-5.34,0-8.93-3.48-8.93-8.67V249.59c0-4.73,0-5.23,2.16-5.55l1.24-.16v-1.45H457.6v1.45l1.25.17c2.15.31,2.15.81,2.15,5.54v11.83c0,9.17,4.78,13.63,14.62,13.63,7.88,0,12.11-4.35,12.56-12.93l.07-2.24.29-11.76c0-3.25.69-3.56,2-3.92l1-.29v-1.48Z" transform="translate(-365.74 -171)"></path><line class="cls-2" x1="0.75" y1="61.79" x2="264.97" y2="61.79"></line><path class="cls-1" d="M402.13,185.86a.08.08,0,0,1,0,0h0l0,0Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M389.41,210.89v1.42l2.88.41c1.56.28,2.34.47,2.75,1.15s.39,1.73.39,3.86v5.85h-.07a29,29,0,0,1-4.58.43,14.12,14.12,0,0,1-11.22-5c-2.83-3.36-4.33-8.26-4.33-14.16,0-5.29,1.09-9.7,3.14-12.75,2.34-3.45,5.84-5.2,10.42-5.2,4.17,0,7.32,1.26,9.34,3.75a15.88,15.88,0,0,1,2.81,6.56l.07.27,2.2-.29a38.16,38.16,0,0,0-1.31-10.1c-2.42-1.15-5.78-2.32-12.33-2.32-6.2,0-11.81,1.66-15.78,4.69a17.3,17.3,0,0,0-5.2,6.36,21.87,21.87,0,0,0-2,9.51c0,7.09,2.34,12.5,7,16.08,4,3.08,9.67,4.71,16.42,4.71a46.74,46.74,0,0,0,14.8-2.88l.28-.1-.17-1.25h-.07c-.71,0-1.19-.09-1.44-.69a12.19,12.19,0,0,1-.3-3.83c0-3.71.07-4.51,2.17-4.9l1.14-.16v-1.42Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M450.45,224.29l1.17-.14c2.28-.44,2.28-.3,2.28-5.78V200.7c0-5.49,0-5.24-2.28-5.78l-1.17-.14v-1.27h22.38a36,36,0,0,1,.58,7.87l-1.74.24c-1.27-6.16-2.87-6.26-8-6.26h-3.5v12.48h3.3c4.32,0,5-.05,5.29-2.09l.24-1.7h1.27v9.66H469l-.24-1.55c-.34-2.14-1.06-2.14-5.09-2.14h-3.5v13a20.89,20.89,0,0,0,4.91.73c7.27,0,7.81-3.74,8.78-7.38l1.75.34a34.78,34.78,0,0,1-1.6,8.89h-23.6v-1.27Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M481.26,224.29l1.17-.14c2.28-.44,2.28-.25,2.28-5.78V200.55c0-4.71,0-5.29-2.28-5.63l-1.17-.14v-1.27h13.2v1.27l-1.17.14c-2.27.34-2.27.92-2.27,5.63V223a19.72,19.72,0,0,0,4.46.68c6.84,0,6.89-3.3,8.29-7.34l1.76.35a35,35,0,0,1-1.71,8.84H481.26v-1.27Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M509.91,224.29l1.17-.14c2.28-.25,2.28-.93,2.28-5.73V200.7c0-4.76,0-5.49-2.28-5.78l-1.17-.14v-1.27h12.91c6,0,13,1.07,13,8.6,0,8.2-8,10.29-13.06,10.43V210.7c3.6-.49,6.75-2,6.75-7.91,0-5.1-3.35-7.43-7.42-7.43a9.51,9.51,0,0,0-2.39.34v22.72c0,4.8.06,5.48,2.34,5.73l1.84.14v1.27H509.91v-1.27Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M543.57,200.7c0-4.86,0-5.44-2.28-5.78l-1.16-.14v-1.27h13.2v1.27l-1.16.14c-2.29.34-2.29.92-2.29,5.73v7.09h14.66v-7c0-4.86,0-5.44-2.28-5.78l-1.16-.14v-1.27h13.21v1.27l-1.12.14c-2.34.34-2.34.92-2.34,5.78v17.67c0,4.85,0,5.43,2.34,5.78l1.12.14v1.27H561.1v-1.27l1.16-.14c2.28-.35,2.28-.93,2.28-5.78v-8.45H549.88v8.5c0,4.8,0,5.38,2.29,5.73l1.16.14v1.27h-13.2v-1.27l1.16-.14c2.28-.35,2.28-.93,2.28-5.73V200.7Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M434.13,193.52V195l1.11.12.23,0h0c2.12.29,2.5.35,2.55,3.48l.19,12.44a38,38,0,0,1-.26,5c-.72,5.67-4.68,7.69-8.15,7.69-5.34,0-8.93-3.49-8.93-8.68V200.69c0-4.74,0-5.23,2.17-5.55l1.24-.16v-1.46H411V195l1.25.16c2.15.32,2.15.81,2.15,5.55v11.83c0,9.16,4.79,13.62,14.63,13.62,7.88,0,12.1-4.35,12.55-12.92l.07-2.25.3-11.76c0-3.25.68-3.56,2-3.92l1-.28v-1.49Z" transform="translate(-365.74 -171)"></path></svg>');
|
|
682
|
+
function oe(e) {
|
|
683
|
+
var t = ha();
|
|
684
|
+
x(e, t);
|
|
704
685
|
}
|
|
705
|
-
|
|
706
|
-
var pa = k('<a class="flex h-full items-center justify-center border-0 border-b-8 border-solid border-transparent p-4 pb-6 pt-8 text-yellow transition-colors hover:border-yellow hover:text-white [&>svg]:fill-current"><!></a>'), ga = k('<a class="flex h-full text-center items-center justify-center border-0 border-b-8 border-solid border-transparent p-4 pt-6 transition-colors hover:border-yellow hover:text-yellow"> </a>'), ba = k("<li><!></li>"), xa = k('<ul class="flex ml-auto [&>li]:contents text-xl"></ul>');
|
|
707
|
-
function
|
|
686
|
+
U(oe, {}, [], [], !0);
|
|
687
|
+
var pa = k('<a class="flex h-full items-center justify-center border-0 border-b-8 border-solid border-transparent p-4 pb-6 pt-8 text-yellow-text transition-colors hover:border-yellow hover:text-white [&>svg]:fill-current"><!></a>'), ga = k('<a class="flex h-full text-center items-center justify-center border-0 border-b-8 border-solid border-transparent p-4 pt-6 transition-colors hover:border-yellow hover:text-yellow-text"> </a>'), ba = k("<li><!></li>"), xa = k('<ul class="flex ml-auto [&>li]:contents text-xl"></ul>');
|
|
688
|
+
function ne(e) {
|
|
708
689
|
var t = xa();
|
|
709
|
-
q(t, 5, () =>
|
|
710
|
-
var
|
|
690
|
+
q(t, 5, () => Yt, rt, (a, s) => {
|
|
691
|
+
var d = ba(), n = y(d);
|
|
711
692
|
{
|
|
712
|
-
var f = (
|
|
713
|
-
var
|
|
714
|
-
I(
|
|
693
|
+
var f = (p) => {
|
|
694
|
+
var l = pa(), u = y(l);
|
|
695
|
+
I(u, {
|
|
715
696
|
get icon() {
|
|
716
|
-
return
|
|
697
|
+
return r(s).icon;
|
|
717
698
|
}
|
|
718
|
-
}), m(
|
|
719
|
-
|
|
720
|
-
}),
|
|
721
|
-
}, C = (
|
|
722
|
-
var
|
|
723
|
-
m(
|
|
724
|
-
|
|
725
|
-
}),
|
|
699
|
+
}), m(l), E(() => {
|
|
700
|
+
G(l, "href", r(s).href), G(l, "aria-label", r(s).text);
|
|
701
|
+
}), x(p, l);
|
|
702
|
+
}, C = (p) => {
|
|
703
|
+
var l = ga(), u = y(l, !0);
|
|
704
|
+
m(l), E(() => {
|
|
705
|
+
G(l, "href", r(s).href), H(u, r(s).text);
|
|
706
|
+
}), x(p, l);
|
|
726
707
|
};
|
|
727
|
-
|
|
728
|
-
|
|
708
|
+
j(n, (p) => {
|
|
709
|
+
r(s).icon ? p(f) : p(C, !1);
|
|
729
710
|
});
|
|
730
711
|
}
|
|
731
|
-
m(
|
|
732
|
-
}), m(t),
|
|
712
|
+
m(d), x(a, d);
|
|
713
|
+
}), m(t), x(e, t);
|
|
733
714
|
}
|
|
734
|
-
|
|
735
|
-
var
|
|
736
|
-
function
|
|
737
|
-
const t = [...
|
|
738
|
-
var
|
|
739
|
-
q(n, 1, () =>
|
|
740
|
-
var
|
|
715
|
+
U(ne, {}, [], [], !0);
|
|
716
|
+
var ma = k('<li class="[&>*]:first:mt-4 [&>*]:last:mb-4"><a> </a></li>'), _a = k('<a class="flex h-full aspect-square items-center justify-center gap-2 px-4 transition-colors hover:bg-white focus:bg-white aria-expanded:bg-white hover:text-black focus:text-black aria-expanded:text-black"><!></a>'), ya = k('<li data-testid="outer-link"><!></li>'), wa = k('<span class="w-full flex items-center gap-2 justify-between [&>svg]:transition-transform"><span class="mr-auto"> </span> <!></span>'), Ma = k("<li><a> </a></li>"), Ca = k('<a class="border-0 border-b border-solid border-grey/50 p-2 transition-colors hover:bg-grey-muted focus:bg-grey-muted"> </a>'), ka = k('<li class="[&>*]:first:mt-4 [&>*]:last:mb-4"><!></li>'), La = k('<ul class="flex h-full [&>li]:contents"><!> <li><!></li></ul>');
|
|
717
|
+
function ie(e) {
|
|
718
|
+
const t = [...Yt, ...te], a = t.filter((p) => !(p != null && p.excludeFromMainMenu)), s = t.filter((p) => p == null ? void 0 : p.excludeFromMainMenu);
|
|
719
|
+
var d = La(), n = y(d);
|
|
720
|
+
q(n, 1, () => s, (p) => p.text || p.title, (p, l) => {
|
|
721
|
+
var u = ya(), g = y(u);
|
|
741
722
|
{
|
|
742
|
-
var
|
|
743
|
-
var
|
|
744
|
-
|
|
723
|
+
var v = (c) => {
|
|
724
|
+
var i = st(() => r(l).icon ? r(l).text : void 0);
|
|
725
|
+
Q(c, {
|
|
745
726
|
class: "h-full w-fit",
|
|
746
727
|
get buttonAriaLabel() {
|
|
747
|
-
return
|
|
728
|
+
return r(i);
|
|
748
729
|
},
|
|
749
730
|
buttonClass: "flex h-full aspect-square items-center justify-center gap-2 px-4 transition-colors hover:bg-white focus:bg-white aria-expanded:bg-white hover:text-black focus:text-black aria-expanded:text-black",
|
|
750
731
|
contentClass: "absolute right-0 top-full z-50 flex w-full flex-col bg-white px-4 text-black shadow-md lg:w-[30rem] [&>li]:contents",
|
|
751
732
|
as: "ul",
|
|
752
|
-
button: (
|
|
753
|
-
I(
|
|
733
|
+
button: (o) => {
|
|
734
|
+
I(o, {
|
|
754
735
|
get icon() {
|
|
755
|
-
return l
|
|
736
|
+
return r(l).icon;
|
|
756
737
|
}
|
|
757
738
|
});
|
|
758
739
|
},
|
|
759
|
-
children: (
|
|
760
|
-
var b =
|
|
761
|
-
q(M, 1, () => l
|
|
762
|
-
var N =
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
740
|
+
children: (o, $) => {
|
|
741
|
+
var b = R(), M = T(b);
|
|
742
|
+
q(M, 1, () => r(l).links, rt, (S, A) => {
|
|
743
|
+
var N = ma(), w = y(N);
|
|
744
|
+
let L;
|
|
745
|
+
var F = y(w, !0);
|
|
746
|
+
m(w), m(N), E(() => {
|
|
747
|
+
L = X(w, L, {
|
|
748
|
+
class: "border-0 border-b border-solid border-grey/50 p-2 transition-colors hover:bg-grey-muted",
|
|
749
|
+
href: r(A).href,
|
|
750
|
+
...r(A).attributes
|
|
751
|
+
}), H(F, r(A).text);
|
|
752
|
+
}), x(S, N);
|
|
753
|
+
}), x(o, b);
|
|
767
754
|
},
|
|
768
755
|
$$slots: { button: !0, default: !0 }
|
|
769
756
|
});
|
|
770
|
-
},
|
|
771
|
-
var
|
|
772
|
-
I(
|
|
757
|
+
}, h = (c) => {
|
|
758
|
+
var i = _a(), _ = y(i);
|
|
759
|
+
I(_, {
|
|
773
760
|
get icon() {
|
|
774
|
-
return l
|
|
761
|
+
return r(l).icon;
|
|
775
762
|
}
|
|
776
|
-
}), m(
|
|
777
|
-
|
|
778
|
-
}),
|
|
763
|
+
}), m(i), E(() => {
|
|
764
|
+
G(i, "href", r(l).href), G(i, "aria-label", r(l).text);
|
|
765
|
+
}), x(c, i);
|
|
779
766
|
};
|
|
780
|
-
|
|
781
|
-
l
|
|
767
|
+
j(g, (c) => {
|
|
768
|
+
r(l).links ? c(v) : c(h, !1);
|
|
782
769
|
});
|
|
783
770
|
}
|
|
784
|
-
m(
|
|
771
|
+
m(u), x(p, u);
|
|
785
772
|
});
|
|
786
|
-
var f =
|
|
787
|
-
|
|
773
|
+
var f = W(n, 2), C = y(f);
|
|
774
|
+
Q(C, {
|
|
788
775
|
class: "h-full w-fit",
|
|
789
776
|
buttonAriaLabel: "Main Menu",
|
|
790
777
|
buttonClass: "flex h-full aspect-square items-center justify-center gap-2 px-4 transition-colors hover:bg-white focus:bg-white aria-expanded:bg-white hover:text-black focus:text-black aria-expanded:text-black [&_svg]:aria-expanded:rotate-180",
|
|
791
778
|
contentClass: "absolute right-0 top-full z-50 flex w-full flex-col bg-white px-4 text-black shadow-md lg:w-[30rem] [&>li]:contents max-h-[calc(100vh-5rem)] overflow-y-auto",
|
|
792
779
|
as: "ul",
|
|
793
|
-
button: (
|
|
794
|
-
I(
|
|
780
|
+
button: (l) => {
|
|
781
|
+
I(l, { icon: Jt });
|
|
795
782
|
},
|
|
796
|
-
children: (
|
|
797
|
-
var
|
|
798
|
-
q(
|
|
799
|
-
var
|
|
783
|
+
children: (l, u) => {
|
|
784
|
+
var g = R(), v = T(g);
|
|
785
|
+
q(v, 1, () => a, rt, (h, c) => {
|
|
786
|
+
var i = ka(), _ = y(i);
|
|
800
787
|
{
|
|
801
|
-
var
|
|
802
|
-
|
|
788
|
+
var o = (b) => {
|
|
789
|
+
Q(b, {
|
|
803
790
|
class: "relative w-full",
|
|
804
|
-
buttonClass: "flex border-0 border-b border-solid border-
|
|
791
|
+
buttonClass: "flex border-0 border-b border-solid border-grey/50 w-full items-center justify-between gap-2 p-2 transition-colors hover:bg-grey-muted focus:bg-grey-muted aria-expanded:bg-grey-muted [&_svg]:aria-expanded:rotate-180",
|
|
805
792
|
contentClass: "flex flex-col w-full flex-col bg-white text-black [&>li]:contents",
|
|
806
793
|
as: "ul",
|
|
807
794
|
autoCollapse: !1,
|
|
808
|
-
button: (
|
|
809
|
-
var
|
|
795
|
+
button: (S) => {
|
|
796
|
+
var A = wa(), N = y(A), w = y(N, !0);
|
|
810
797
|
m(N);
|
|
811
|
-
var
|
|
812
|
-
I(
|
|
813
|
-
St(
|
|
814
|
-
}),
|
|
798
|
+
var L = W(N, 2);
|
|
799
|
+
I(L, { icon: bt }), m(A), E(() => {
|
|
800
|
+
St(A, "bg-yellow", r(c).highlight), H(w, r(c).text);
|
|
801
|
+
}), x(S, A);
|
|
815
802
|
},
|
|
816
|
-
children: (
|
|
817
|
-
var N =
|
|
818
|
-
q(
|
|
819
|
-
var
|
|
820
|
-
let
|
|
821
|
-
var yt =
|
|
822
|
-
m(
|
|
823
|
-
|
|
824
|
-
class: "border-0 border-b border-solid border-
|
|
825
|
-
href:
|
|
826
|
-
...
|
|
827
|
-
}),
|
|
828
|
-
}),
|
|
829
|
-
}),
|
|
803
|
+
children: (S, A) => {
|
|
804
|
+
var N = R(), w = T(N);
|
|
805
|
+
q(w, 1, () => r(c).links, rt, (L, F) => {
|
|
806
|
+
var B = Ma(), z = y(B);
|
|
807
|
+
let P;
|
|
808
|
+
var yt = y(z, !0);
|
|
809
|
+
m(z), m(B), E(() => {
|
|
810
|
+
P = X(z, P, {
|
|
811
|
+
class: "border-0 border-b border-solid border-grey/50 p-2 transition-colors hover:bg-grey-muted",
|
|
812
|
+
href: r(F).href,
|
|
813
|
+
...r(F).attributes
|
|
814
|
+
}), H(yt, r(F).text);
|
|
815
|
+
}), x(L, B);
|
|
816
|
+
}), x(S, N);
|
|
830
817
|
},
|
|
831
818
|
$$slots: { button: !0, default: !0 }
|
|
832
819
|
});
|
|
833
|
-
},
|
|
834
|
-
var M = Ca(),
|
|
835
|
-
m(M),
|
|
836
|
-
|
|
837
|
-
}),
|
|
820
|
+
}, $ = (b) => {
|
|
821
|
+
var M = Ca(), S = y(M, !0);
|
|
822
|
+
m(M), E(() => {
|
|
823
|
+
G(M, "href", r(c).href), St(M, "bg-yellow", r(c).highlight), H(S, r(c).text);
|
|
824
|
+
}), x(b, M);
|
|
838
825
|
};
|
|
839
|
-
|
|
840
|
-
|
|
826
|
+
j(_, (b) => {
|
|
827
|
+
r(c).links ? b(o) : b($, !1);
|
|
841
828
|
});
|
|
842
829
|
}
|
|
843
|
-
m(
|
|
844
|
-
}),
|
|
830
|
+
m(i), x(h, i);
|
|
831
|
+
}), x(l, g);
|
|
845
832
|
},
|
|
846
833
|
$$slots: { button: !0, default: !0 }
|
|
847
|
-
}), m(f), m(
|
|
834
|
+
}), m(f), m(d), x(e, d);
|
|
848
835
|
}
|
|
849
|
-
|
|
836
|
+
U(ie, {}, [], [], !0);
|
|
850
837
|
var $a = k('<a href="https://www.guelphhumber.ca" class="w-auto h-full p-4 ml-auto transition-opacity focus:opacity-75 hover:opacity-75"><span class="sr-only">University of Guelph-Humber Homepage</span> <!></a>'), Aa = k('<nav aria-label="Primary"><!> <!></nav>');
|
|
851
|
-
function
|
|
838
|
+
function ce(e, t) {
|
|
852
839
|
Y(t, !1);
|
|
853
|
-
const [a,
|
|
854
|
-
|
|
840
|
+
const [a, s] = mt(), d = () => _t(n, "$headerState", a), n = Ht("header-state");
|
|
841
|
+
Tt();
|
|
855
842
|
var f = Aa();
|
|
856
|
-
const C =
|
|
857
|
-
var
|
|
858
|
-
return
|
|
843
|
+
const C = st(() => {
|
|
844
|
+
var v;
|
|
845
|
+
return it(lt("relative w-full justify-between flex lg:h-25 bg-black px-[calc((100%-1320px)/2)] text-lg text-black-contrast", ((v = d()) == null ? void 0 : v.variant) === "dual-brand" ? "h-[7.5rem]" : "h-12.5"));
|
|
859
846
|
});
|
|
860
|
-
var
|
|
861
|
-
|
|
862
|
-
var
|
|
847
|
+
var p = y(f);
|
|
848
|
+
le(p, {});
|
|
849
|
+
var l = W(p, 2);
|
|
863
850
|
{
|
|
864
|
-
var
|
|
865
|
-
var
|
|
866
|
-
|
|
867
|
-
},
|
|
868
|
-
var
|
|
851
|
+
var u = (v) => {
|
|
852
|
+
var h = $a(), c = W(y(h), 2);
|
|
853
|
+
oe(c), m(h), x(v, h);
|
|
854
|
+
}, g = (v) => {
|
|
855
|
+
var h = R(), c = T(h);
|
|
869
856
|
{
|
|
870
|
-
var
|
|
871
|
-
|
|
872
|
-
},
|
|
873
|
-
|
|
857
|
+
var i = (o) => {
|
|
858
|
+
ne(o);
|
|
859
|
+
}, _ = (o) => {
|
|
860
|
+
ie(o);
|
|
874
861
|
};
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
(
|
|
878
|
-
var
|
|
879
|
-
((
|
|
862
|
+
j(
|
|
863
|
+
c,
|
|
864
|
+
(o) => {
|
|
865
|
+
var $;
|
|
866
|
+
(($ = d()) == null ? void 0 : $.mode) === "desktop" ? o(i) : o(_, !1);
|
|
880
867
|
},
|
|
881
868
|
!0
|
|
882
869
|
);
|
|
883
870
|
}
|
|
884
|
-
|
|
871
|
+
x(v, h);
|
|
885
872
|
};
|
|
886
|
-
|
|
887
|
-
var
|
|
888
|
-
((
|
|
873
|
+
j(l, (v) => {
|
|
874
|
+
var h;
|
|
875
|
+
((h = d()) == null ? void 0 : h.variant) === "dual-brand" ? v(u) : v(g, !1);
|
|
889
876
|
});
|
|
890
877
|
}
|
|
891
|
-
m(f),
|
|
878
|
+
m(f), E(() => nt(f, r(C))), x(e, f), tt(), s();
|
|
892
879
|
}
|
|
893
|
-
|
|
894
|
-
var Sa = k('<span class="flex items-center gap-2 [&>svg]:transition-transform"><span> </span> <!></span>'), Na = k("<li><a> </a></li>"),
|
|
895
|
-
function
|
|
880
|
+
U(ce, {}, [], [], !0);
|
|
881
|
+
var Sa = k('<span class="flex items-center gap-2 [&>svg]:transition-transform"><span> </span> <!></span>'), Na = k("<li><a> </a></li>"), Ea = k("<li><!></li>"), Va = k("<li><a> </a></li>");
|
|
882
|
+
function ue(e, t) {
|
|
896
883
|
Y(t, !0);
|
|
897
|
-
let a =
|
|
898
|
-
var
|
|
899
|
-
return q(
|
|
900
|
-
var C =
|
|
884
|
+
let a = V(t, "items", 7);
|
|
885
|
+
var s = R(), d = T(s);
|
|
886
|
+
return q(d, 17, a, (n) => n.text || n.title, (n, f) => {
|
|
887
|
+
var C = R(), p = T(C);
|
|
901
888
|
{
|
|
902
|
-
var
|
|
903
|
-
var
|
|
904
|
-
|
|
889
|
+
var l = (g) => {
|
|
890
|
+
var v = Ea(), h = y(v);
|
|
891
|
+
Q(h, {
|
|
905
892
|
class: "relative h-full",
|
|
906
|
-
buttonClass: "flex h-full items-center justify-center gap-2 px-2 transition-colors hover:bg-yellow aria-expanded:bg-yellow [&_svg]:aria-expanded:rotate-180",
|
|
893
|
+
buttonClass: "flex h-full items-center justify-center gap-2 px-2 transition-colors hover:bg-yellow focus:bg-yellow aria-expanded:bg-yellow hover:text-yellow-contrast focus:text-yellow-contrast aria-expanded:text-yellow-contrast [&_svg]:aria-expanded:rotate-180",
|
|
907
894
|
contentClass: "absolute right-0 top-full z-50 flex min-w-[20rem] flex-col bg-light-grey [&>li]:contents",
|
|
908
895
|
buttonAriaLabel: void 0,
|
|
909
896
|
as: "ul",
|
|
910
|
-
button: (
|
|
911
|
-
var
|
|
912
|
-
m(
|
|
913
|
-
var b =
|
|
914
|
-
I(b, { icon:
|
|
897
|
+
button: (i) => {
|
|
898
|
+
var _ = Sa(), o = y(_), $ = y(o, !0);
|
|
899
|
+
m(o);
|
|
900
|
+
var b = W(o, 2);
|
|
901
|
+
I(b, { icon: bt }), m(_), E(() => H($, r(f).title)), x(i, _);
|
|
915
902
|
},
|
|
916
|
-
children: (
|
|
917
|
-
var
|
|
918
|
-
q(
|
|
919
|
-
var
|
|
903
|
+
children: (i, _) => {
|
|
904
|
+
var o = R(), $ = T(o);
|
|
905
|
+
q($, 17, () => r(f).links, rt, (b, M) => {
|
|
906
|
+
var S = Na(), A = y(S);
|
|
920
907
|
let N;
|
|
921
|
-
var
|
|
922
|
-
m(
|
|
923
|
-
var
|
|
924
|
-
N =
|
|
925
|
-
...
|
|
926
|
-
class: `border-0 border-b border-solid border-
|
|
927
|
-
href:
|
|
928
|
-
}),
|
|
929
|
-
}),
|
|
930
|
-
}),
|
|
908
|
+
var w = y(A, !0);
|
|
909
|
+
m(A), m(S), E(() => {
|
|
910
|
+
var L;
|
|
911
|
+
N = X(A, N, {
|
|
912
|
+
...r(M).attributes,
|
|
913
|
+
class: `border-0 border-b border-solid border-grey/50 p-2 transition-colors hover:bg-yellow focus:bg-yellow hover:text-yellow-contrast focus:text-yellow-contrast ${((L = r(M).attributes) == null ? void 0 : L.class) ?? ""}`,
|
|
914
|
+
href: r(M).href
|
|
915
|
+
}), H(w, r(M).text);
|
|
916
|
+
}), x(b, S);
|
|
917
|
+
}), x(i, o);
|
|
931
918
|
},
|
|
932
919
|
$$slots: { button: !0, default: !0 }
|
|
933
|
-
}), m(
|
|
934
|
-
},
|
|
935
|
-
var
|
|
936
|
-
let
|
|
937
|
-
var
|
|
938
|
-
m(
|
|
939
|
-
var
|
|
940
|
-
|
|
941
|
-
...
|
|
942
|
-
class: `flex h-full items-center justify-center gap-2 px-2 transition-colors hover:bg-yellow ${((
|
|
943
|
-
href:
|
|
944
|
-
}),
|
|
945
|
-
}),
|
|
920
|
+
}), m(v), x(g, v);
|
|
921
|
+
}, u = (g) => {
|
|
922
|
+
var v = Va(), h = y(v);
|
|
923
|
+
let c;
|
|
924
|
+
var i = y(h, !0);
|
|
925
|
+
m(h), m(v), E(() => {
|
|
926
|
+
var _;
|
|
927
|
+
c = X(h, c, {
|
|
928
|
+
...r(f).attributes,
|
|
929
|
+
class: `flex h-full items-center justify-center gap-2 px-2 transition-colors hover:bg-yellow focus:bg-yellow hover:text-yellow-contrast focus:text-yellow-contrast ${((_ = r(f).attributes) == null ? void 0 : _.class) ?? ""}`,
|
|
930
|
+
href: r(f).href
|
|
931
|
+
}), H(i, r(f).text);
|
|
932
|
+
}), x(g, v);
|
|
946
933
|
};
|
|
947
|
-
|
|
948
|
-
|
|
934
|
+
j(p, (g) => {
|
|
935
|
+
r(f).links ? g(l) : g(u, !1);
|
|
949
936
|
});
|
|
950
937
|
}
|
|
951
|
-
|
|
952
|
-
}),
|
|
938
|
+
x(n, C);
|
|
939
|
+
}), x(e, s), tt({
|
|
953
940
|
get items() {
|
|
954
941
|
return a();
|
|
955
942
|
},
|
|
956
943
|
set items(n) {
|
|
957
|
-
a(n),
|
|
944
|
+
a(n), Z();
|
|
958
945
|
}
|
|
959
946
|
});
|
|
960
947
|
}
|
|
961
|
-
|
|
962
|
-
var
|
|
963
|
-
function
|
|
948
|
+
U(ue, { items: {} }, [], [], !0);
|
|
949
|
+
var Za = k("<a> </a>"), ja = k('<span class="w-full flex items-center gap-2 justify-between [&>svg]:transition-transform"><span class="mr-auto"> </span> <!></span>'), Ha = k("<li><a> </a></li>"), Ta = k('<li class="[&>*]:last:mb-4 [&>*]:first:mt-4"><!></li>'), Fa = k("<li><!></li>");
|
|
950
|
+
function ve(e, t) {
|
|
964
951
|
Y(t, !0);
|
|
965
|
-
let a =
|
|
966
|
-
var
|
|
967
|
-
return
|
|
952
|
+
let a = V(t, "items", 7);
|
|
953
|
+
var s = Fa(), d = y(s);
|
|
954
|
+
return Q(d, {
|
|
968
955
|
class: "h-full",
|
|
969
|
-
buttonClass: "flex h-full aspect-square items-center justify-center gap-2 px-4 transition-colors hover:bg-yellow aria-expanded:bg-yellow",
|
|
956
|
+
buttonClass: "flex h-full aspect-square items-center justify-center gap-2 px-4 transition-colors hover:bg-yellow focus:bg-yellow aria-expanded:bg-yellow hover:text-yellow-contrast focus:text-yellow-contrast aria-expanded:text-yellow-contrast",
|
|
970
957
|
contentClass: "whitespace-normal absolute right-0 top-full z-50 flex w-full flex-col bg-white px-4 text-black shadow-md lg:w-[30rem] [&>li]:contents max-h-[calc(100vh-5rem)] overflow-y-auto",
|
|
971
958
|
buttonAriaLabel: "Sub Navigation Menu",
|
|
972
959
|
as: "ul",
|
|
973
960
|
button: (f) => {
|
|
974
|
-
I(f, { icon:
|
|
961
|
+
I(f, { icon: Jt });
|
|
975
962
|
},
|
|
976
963
|
children: (f, C) => {
|
|
977
|
-
var
|
|
978
|
-
q(
|
|
979
|
-
var
|
|
964
|
+
var p = R(), l = T(p);
|
|
965
|
+
q(l, 17, a, (u) => u.text || u.title, (u, g) => {
|
|
966
|
+
var v = Ta(), h = y(v);
|
|
980
967
|
{
|
|
981
|
-
var
|
|
982
|
-
var
|
|
983
|
-
let
|
|
984
|
-
var b =
|
|
985
|
-
m(
|
|
968
|
+
var c = (_) => {
|
|
969
|
+
var o = Za();
|
|
970
|
+
let $;
|
|
971
|
+
var b = y(o, !0);
|
|
972
|
+
m(o), E(() => {
|
|
986
973
|
var M;
|
|
987
|
-
|
|
988
|
-
...
|
|
989
|
-
class: `border-0 border-b border-solid border-
|
|
990
|
-
href:
|
|
991
|
-
}),
|
|
992
|
-
}), _
|
|
993
|
-
},
|
|
994
|
-
|
|
974
|
+
$ = X(o, $, {
|
|
975
|
+
...r(g).attributes,
|
|
976
|
+
class: `border-0 border-b border-solid border-grey/50 p-2 transition-colors hover:bg-grey-muted ${((M = r(g).attributes) == null ? void 0 : M.class) ?? ""}`,
|
|
977
|
+
href: r(g).href
|
|
978
|
+
}), H(b, r(g).text);
|
|
979
|
+
}), x(_, o);
|
|
980
|
+
}, i = (_) => {
|
|
981
|
+
Q(_, {
|
|
995
982
|
class: "relative w-full",
|
|
996
|
-
buttonClass: "flex border-0 border-b border-solid border-
|
|
983
|
+
buttonClass: "flex border-0 border-b border-solid border-grey/50 w-full items-center justify-between gap-2 p-2 transition-colors hover:bg-grey-muted focus:bg-grey-muted aria-expanded:bg-grey-muted [&_svg]:aria-expanded:rotate-180",
|
|
997
984
|
contentClass: "flex flex-col w-full flex-col bg-white text-black [&>li]:contents",
|
|
998
985
|
as: "ul",
|
|
999
986
|
autoCollapse: !1,
|
|
1000
|
-
button: (
|
|
1001
|
-
var b =
|
|
987
|
+
button: ($) => {
|
|
988
|
+
var b = ja(), M = y(b), S = y(M, !0);
|
|
1002
989
|
m(M);
|
|
1003
|
-
var
|
|
1004
|
-
I(
|
|
990
|
+
var A = W(M, 2);
|
|
991
|
+
I(A, { icon: bt }), m(b), E(() => H(S, r(g).title)), x($, b);
|
|
1005
992
|
},
|
|
1006
|
-
children: (
|
|
1007
|
-
var M =
|
|
1008
|
-
q(
|
|
1009
|
-
var
|
|
1010
|
-
let
|
|
1011
|
-
var
|
|
1012
|
-
m(
|
|
1013
|
-
var
|
|
1014
|
-
|
|
1015
|
-
...
|
|
1016
|
-
class: `border-0 border-b border-solid border-
|
|
1017
|
-
href:
|
|
1018
|
-
}),
|
|
1019
|
-
}),
|
|
1020
|
-
}),
|
|
993
|
+
children: ($, b) => {
|
|
994
|
+
var M = R(), S = T(M);
|
|
995
|
+
q(S, 17, () => r(g).links, rt, (A, N) => {
|
|
996
|
+
var w = Ha(), L = y(w);
|
|
997
|
+
let F;
|
|
998
|
+
var B = y(L, !0);
|
|
999
|
+
m(L), m(w), E(() => {
|
|
1000
|
+
var z;
|
|
1001
|
+
F = X(L, F, {
|
|
1002
|
+
...r(N).attributes,
|
|
1003
|
+
class: `border-0 border-b border-solid border-grey/50 p-2 transition-colors hover:bg-grey-muted hover:text-grey-muted-contrast ${((z = r(N).attributes) == null ? void 0 : z.class) ?? ""}`,
|
|
1004
|
+
href: r(N).href
|
|
1005
|
+
}), H(B, r(N).text);
|
|
1006
|
+
}), x(A, w);
|
|
1007
|
+
}), x($, M);
|
|
1021
1008
|
},
|
|
1022
1009
|
$$slots: { button: !0, default: !0 }
|
|
1023
1010
|
});
|
|
1024
1011
|
};
|
|
1025
|
-
|
|
1026
|
-
|
|
1012
|
+
j(h, (_) => {
|
|
1013
|
+
r(g).text ? _(c) : _(i, !1);
|
|
1027
1014
|
});
|
|
1028
1015
|
}
|
|
1029
|
-
m(
|
|
1030
|
-
}),
|
|
1016
|
+
m(v), x(u, v);
|
|
1017
|
+
}), x(f, p);
|
|
1031
1018
|
},
|
|
1032
1019
|
$$slots: { button: !0, default: !0 }
|
|
1033
|
-
}), m(
|
|
1020
|
+
}), m(s), x(e, s), tt({
|
|
1034
1021
|
get items() {
|
|
1035
1022
|
return a();
|
|
1036
1023
|
},
|
|
1037
1024
|
set items(n) {
|
|
1038
|
-
a(n),
|
|
1025
|
+
a(n), Z();
|
|
1039
1026
|
}
|
|
1040
1027
|
});
|
|
1041
1028
|
}
|
|
1042
|
-
|
|
1043
|
-
var
|
|
1044
|
-
function
|
|
1029
|
+
U(ve, { items: {} }, [], [], !0);
|
|
1030
|
+
var Pa = k('<a class="mr-auto flex h-full items-center justify-center px-3 font-bold transition-colors hover:bg-yellow hover:text-yellow-contrast"> </a>'), Ra = k('<span class="mr-auto flex h-full items-center justify-center px-3 font-bold"> </span>'), Ua = k('<nav aria-label="Page Specific"><div class="flex h-full min-w-full overflow-y-visible items-center justify-end [&>li]:contents relative"><!> <ul class="[&>li]:contents h-full flex w-fit !static lg:static"><!></ul></div></nav>');
|
|
1031
|
+
function fe(e, t) {
|
|
1045
1032
|
Y(t, !0);
|
|
1046
|
-
const [a,
|
|
1047
|
-
let f =
|
|
1033
|
+
const [a, s] = mt(), d = () => _t(n, "$headerState", a), n = Ht("header-state");
|
|
1034
|
+
let f = V(t, "items", 7), C = V(t, "title", 7), p = V(t, "url", 7), l = ut(void 0), u = ut(void 0), g = ut(void 0), v, h = ut(void 0);
|
|
1048
1035
|
jt(() => {
|
|
1049
|
-
var
|
|
1050
|
-
clearTimeout(
|
|
1036
|
+
var w;
|
|
1037
|
+
clearTimeout(v), ((w = d()) == null ? void 0 : w.mode) === "desktop" && r(l) - r(u) < r(g) && (v = setTimeout(
|
|
1051
1038
|
() => {
|
|
1052
|
-
et(
|
|
1039
|
+
et(h, Nt(isNaN(r(h)) ? r(l) : Math.max(r(l), r(h))));
|
|
1053
1040
|
},
|
|
1054
1041
|
50
|
|
1055
1042
|
));
|
|
1056
1043
|
}), Qe(() => {
|
|
1057
|
-
var
|
|
1058
|
-
((
|
|
1044
|
+
var w;
|
|
1045
|
+
((w = d()) == null ? void 0 : w.mode) === "desktop" && r(l) - r(u) < r(g) && et(h, Nt(isNaN(r(h)) ? r(l) : Math.max(r(l), r(h))));
|
|
1059
1046
|
});
|
|
1060
|
-
var
|
|
1061
|
-
const
|
|
1062
|
-
var
|
|
1063
|
-
return
|
|
1047
|
+
var c = Ua();
|
|
1048
|
+
const i = Pe(() => {
|
|
1049
|
+
var w;
|
|
1050
|
+
return it(lt("block align-items relative justify-end bg-grey-muted text-grey-muted-contrast px-[calc((100%-1320px)/2)] text-lg lg:whitespace-nowrap", ((w = d()) == null ? void 0 : w.variant) === "dual-brand" ? "h-10" : "h-[5rem] lg:h-10"));
|
|
1064
1051
|
});
|
|
1065
|
-
var
|
|
1052
|
+
var _ = y(c), o = y(_);
|
|
1066
1053
|
{
|
|
1067
|
-
var
|
|
1068
|
-
var
|
|
1069
|
-
m(
|
|
1070
|
-
|
|
1071
|
-
}),
|
|
1072
|
-
}, b = (
|
|
1073
|
-
var
|
|
1054
|
+
var $ = (w) => {
|
|
1055
|
+
var L = Pa(), F = y(L, !0);
|
|
1056
|
+
m(L), E(() => {
|
|
1057
|
+
G(L, "href", p()), H(F, C());
|
|
1058
|
+
}), dt(L, "clientWidth", (B) => et(u, B)), x(w, L);
|
|
1059
|
+
}, b = (w) => {
|
|
1060
|
+
var L = R(), F = T(L);
|
|
1074
1061
|
{
|
|
1075
|
-
var
|
|
1076
|
-
var
|
|
1077
|
-
m(
|
|
1062
|
+
var B = (z) => {
|
|
1063
|
+
var P = Ra(), yt = y(P, !0);
|
|
1064
|
+
m(P), E(() => H(yt, C())), dt(P, "clientWidth", (de) => et(u, de)), x(z, P);
|
|
1078
1065
|
};
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
(
|
|
1082
|
-
C() &&
|
|
1066
|
+
j(
|
|
1067
|
+
F,
|
|
1068
|
+
(z) => {
|
|
1069
|
+
C() && z(B);
|
|
1083
1070
|
},
|
|
1084
1071
|
!0
|
|
1085
1072
|
);
|
|
1086
1073
|
}
|
|
1087
|
-
|
|
1074
|
+
x(w, L);
|
|
1088
1075
|
};
|
|
1089
|
-
|
|
1090
|
-
C() &&
|
|
1076
|
+
j(o, (w) => {
|
|
1077
|
+
C() && p() ? w($) : w(b, !1);
|
|
1091
1078
|
});
|
|
1092
1079
|
}
|
|
1093
|
-
var M =
|
|
1080
|
+
var M = W(o, 2), S = y(M);
|
|
1094
1081
|
{
|
|
1095
|
-
var
|
|
1096
|
-
var
|
|
1082
|
+
var A = (w) => {
|
|
1083
|
+
var L = R(), F = T(L);
|
|
1097
1084
|
{
|
|
1098
|
-
var
|
|
1099
|
-
|
|
1085
|
+
var B = (P) => {
|
|
1086
|
+
ue(P, {
|
|
1100
1087
|
get items() {
|
|
1101
1088
|
return f();
|
|
1102
1089
|
}
|
|
1103
1090
|
});
|
|
1104
|
-
},
|
|
1105
|
-
|
|
1091
|
+
}, z = (P) => {
|
|
1092
|
+
ve(P, {
|
|
1106
1093
|
get items() {
|
|
1107
1094
|
return f();
|
|
1108
1095
|
}
|
|
1109
1096
|
});
|
|
1110
1097
|
};
|
|
1111
|
-
|
|
1112
|
-
|
|
1098
|
+
j(F, (P) => {
|
|
1099
|
+
d().mode === "desktop" && (isNaN(r(h)) || r(l) > r(h)) ? P(B) : P(z, !1);
|
|
1113
1100
|
});
|
|
1114
1101
|
}
|
|
1115
|
-
|
|
1102
|
+
x(w, L);
|
|
1116
1103
|
};
|
|
1117
|
-
|
|
1118
|
-
var
|
|
1119
|
-
((
|
|
1104
|
+
j(S, (w) => {
|
|
1105
|
+
var L;
|
|
1106
|
+
((L = f()) == null ? void 0 : L.length) > 0 && w(A);
|
|
1120
1107
|
});
|
|
1121
1108
|
}
|
|
1122
|
-
m(M), m(
|
|
1109
|
+
m(M), m(_), m(c), E(() => nt(c, r(i))), dt(M, "clientWidth", (w) => et(g, w)), dt(_, "clientWidth", (w) => et(l, w)), x(e, c);
|
|
1123
1110
|
var N = tt({
|
|
1124
1111
|
get items() {
|
|
1125
1112
|
return f();
|
|
1126
1113
|
},
|
|
1127
|
-
set items(
|
|
1128
|
-
f(
|
|
1114
|
+
set items(w) {
|
|
1115
|
+
f(w), Z();
|
|
1129
1116
|
},
|
|
1130
1117
|
get title() {
|
|
1131
1118
|
return C();
|
|
1132
1119
|
},
|
|
1133
|
-
set title(
|
|
1134
|
-
C(
|
|
1120
|
+
set title(w) {
|
|
1121
|
+
C(w), Z();
|
|
1135
1122
|
},
|
|
1136
1123
|
get url() {
|
|
1137
|
-
return
|
|
1124
|
+
return p();
|
|
1138
1125
|
},
|
|
1139
|
-
set url(
|
|
1140
|
-
|
|
1126
|
+
set url(w) {
|
|
1127
|
+
p(w), Z();
|
|
1141
1128
|
}
|
|
1142
1129
|
});
|
|
1143
|
-
return
|
|
1130
|
+
return s(), N;
|
|
1144
1131
|
}
|
|
1145
|
-
|
|
1146
|
-
const
|
|
1147
|
-
var
|
|
1148
|
-
function
|
|
1132
|
+
U(fe, { items: {}, title: {}, url: {} }, [], [], !0);
|
|
1133
|
+
const za = 35;
|
|
1134
|
+
var Wa = k('<header class="relative z-10 w-full font-condensed text-black"><!> <!> <!></header>');
|
|
1135
|
+
function Ba(e, t) {
|
|
1149
1136
|
Y(t, !0);
|
|
1150
|
-
const [a,
|
|
1151
|
-
let n =
|
|
1152
|
-
const
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
mode: l
|
|
1156
|
-
variant:
|
|
1137
|
+
const [a, s] = mt(), d = () => _t(g, "$headerState", a);
|
|
1138
|
+
let n = V(t, "subNavigation", 7), f = V(t, "pageTitle", 7), C = V(t, "pageURL", 7), p = V(t, "variant", 7), l = ut(void 0);
|
|
1139
|
+
const u = 1024, g = Re({ mode: "mobile", variant: p() });
|
|
1140
|
+
Ue("header-state", g), jt(() => {
|
|
1141
|
+
g.set({
|
|
1142
|
+
mode: r(l) >= u ? "desktop" : "mobile",
|
|
1143
|
+
variant: p()
|
|
1157
1144
|
});
|
|
1158
1145
|
});
|
|
1159
|
-
var
|
|
1146
|
+
var v = Wa(), h = y(v);
|
|
1160
1147
|
{
|
|
1161
|
-
var
|
|
1162
|
-
|
|
1148
|
+
var c = (b) => {
|
|
1149
|
+
ee(b, {});
|
|
1163
1150
|
};
|
|
1164
|
-
|
|
1165
|
-
|
|
1151
|
+
j(h, (b) => {
|
|
1152
|
+
d().mode === "desktop" && p() !== "dual-brand" && b(c);
|
|
1166
1153
|
});
|
|
1167
1154
|
}
|
|
1168
|
-
var
|
|
1169
|
-
|
|
1170
|
-
var
|
|
1155
|
+
var i = W(h, 2);
|
|
1156
|
+
ce(i, {});
|
|
1157
|
+
var _ = W(i, 2);
|
|
1171
1158
|
{
|
|
1172
|
-
var
|
|
1173
|
-
|
|
1159
|
+
var o = (b) => {
|
|
1160
|
+
fe(b, {
|
|
1174
1161
|
get title() {
|
|
1175
1162
|
return f();
|
|
1176
1163
|
},
|
|
@@ -1182,42 +1169,42 @@ function Wa(e, t) {
|
|
|
1182
1169
|
}
|
|
1183
1170
|
});
|
|
1184
1171
|
};
|
|
1185
|
-
|
|
1172
|
+
j(_, (b) => {
|
|
1186
1173
|
var M;
|
|
1187
|
-
(((M = n()) == null ? void 0 : M.length) > 0 || f()) && b(
|
|
1174
|
+
(((M = n()) == null ? void 0 : M.length) > 0 || f()) && b(o);
|
|
1188
1175
|
});
|
|
1189
1176
|
}
|
|
1190
|
-
m(
|
|
1191
|
-
var
|
|
1177
|
+
m(v), We("innerWidth", (b) => et(l, Nt(b))), x(e, v);
|
|
1178
|
+
var $ = tt({
|
|
1192
1179
|
get subNavigation() {
|
|
1193
1180
|
return n();
|
|
1194
1181
|
},
|
|
1195
1182
|
set subNavigation(b) {
|
|
1196
|
-
n(b),
|
|
1183
|
+
n(b), Z();
|
|
1197
1184
|
},
|
|
1198
1185
|
get pageTitle() {
|
|
1199
1186
|
return f();
|
|
1200
1187
|
},
|
|
1201
1188
|
set pageTitle(b) {
|
|
1202
|
-
f(b),
|
|
1189
|
+
f(b), Z();
|
|
1203
1190
|
},
|
|
1204
1191
|
get pageURL() {
|
|
1205
1192
|
return C();
|
|
1206
1193
|
},
|
|
1207
1194
|
set pageURL(b) {
|
|
1208
|
-
C(b),
|
|
1195
|
+
C(b), Z();
|
|
1209
1196
|
},
|
|
1210
1197
|
get variant() {
|
|
1211
|
-
return
|
|
1198
|
+
return p();
|
|
1212
1199
|
},
|
|
1213
1200
|
set variant(b) {
|
|
1214
|
-
|
|
1201
|
+
p(b), Z();
|
|
1215
1202
|
}
|
|
1216
1203
|
});
|
|
1217
|
-
return
|
|
1204
|
+
return s(), $;
|
|
1218
1205
|
}
|
|
1219
|
-
customElements.define("uofg-header",
|
|
1220
|
-
|
|
1206
|
+
customElements.define("uofg-header", U(
|
|
1207
|
+
Ba,
|
|
1221
1208
|
{
|
|
1222
1209
|
pageTitle: {
|
|
1223
1210
|
attribute: "page-title",
|
|
@@ -1242,8 +1229,8 @@ customElements.define("uofg-header", P(
|
|
|
1242
1229
|
(e) => class extends e {
|
|
1243
1230
|
constructor() {
|
|
1244
1231
|
super();
|
|
1245
|
-
|
|
1246
|
-
|
|
1232
|
+
wt(this, "subNavigation", []);
|
|
1233
|
+
ze(this.shadowRoot);
|
|
1247
1234
|
}
|
|
1248
1235
|
connectedCallback() {
|
|
1249
1236
|
super.connectedCallback(), this.updateSubNavigation(), this.observer ?? (this.observer = new MutationObserver(() => {
|
|
@@ -1254,32 +1241,32 @@ customElements.define("uofg-header", P(
|
|
|
1254
1241
|
super.disconnectedCallback(), this.observer.disconnect();
|
|
1255
1242
|
}
|
|
1256
1243
|
updateSubNavigation() {
|
|
1257
|
-
const a = (
|
|
1258
|
-
const
|
|
1259
|
-
return
|
|
1260
|
-
href:
|
|
1261
|
-
text:
|
|
1262
|
-
attributes:
|
|
1244
|
+
const a = (s) => {
|
|
1245
|
+
const d = {};
|
|
1246
|
+
return s.getAttributeNames().filter((n) => n !== "href").forEach((n) => d[n] = s.getAttribute(n)), {
|
|
1247
|
+
href: s.getAttribute("href"),
|
|
1248
|
+
text: s.textContent,
|
|
1249
|
+
attributes: d
|
|
1263
1250
|
};
|
|
1264
1251
|
};
|
|
1265
|
-
this.subNavigation = Array.from(this.children).filter((
|
|
1266
|
-
switch (
|
|
1252
|
+
this.subNavigation = Array.from(this.children).filter((s) => s.tagName === "A" || s.tagName === "UL").map((s) => {
|
|
1253
|
+
switch (s.tagName) {
|
|
1267
1254
|
case "A":
|
|
1268
|
-
return a(
|
|
1255
|
+
return a(s);
|
|
1269
1256
|
case "UL":
|
|
1270
|
-
const
|
|
1271
|
-
title:
|
|
1272
|
-
links: Array.from(
|
|
1257
|
+
const d = {
|
|
1258
|
+
title: s.getAttribute("data-title"),
|
|
1259
|
+
links: Array.from(s.querySelectorAll("a")).map(a)
|
|
1273
1260
|
};
|
|
1274
|
-
return
|
|
1275
|
-
(n, f) => (f.text.length >
|
|
1261
|
+
return d.wrapContent = d.links.reduce(
|
|
1262
|
+
(n, f) => (f.text.length > za && (n = !0), n),
|
|
1276
1263
|
!1
|
|
1277
|
-
),
|
|
1264
|
+
), d;
|
|
1278
1265
|
}
|
|
1279
|
-
}).filter((
|
|
1266
|
+
}).filter((s) => !!s);
|
|
1280
1267
|
}
|
|
1281
1268
|
}
|
|
1282
1269
|
));
|
|
1283
1270
|
export {
|
|
1284
|
-
|
|
1271
|
+
Ba as default
|
|
1285
1272
|
};
|