@uoguelph/web-components 1.9.0-rc.4 → 1.9.0-rc.6
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 +648 -662
- 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, l) => (Mt(e, t, "write to private field"), l ? l.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 Lt, 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 $e, af as Se, ag as Le, C as Ne, ah as at, ai as Ae, aj as Bt, ak as qt, al as Ee, am as $t, 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 I, 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 Nt, F as G, av as bt, L as xt, aw as Ht, ax as mt, ay as _t, az as Jt, q as et, w as At, 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, l, d, n) {
|
|
13
|
+
let f = K;
|
|
14
|
+
K && Rt();
|
|
15
|
+
var C, p, s = null;
|
|
16
|
+
K && kt.nodeType === 1 && (s = /** @type {Element} */
|
|
17
|
+
kt, Rt());
|
|
18
|
+
var v = (
|
|
28
19
|
/** @type {TemplateNode} */
|
|
29
|
-
|
|
30
|
-
),
|
|
31
|
-
|
|
20
|
+
K ? kt : e
|
|
21
|
+
), g;
|
|
22
|
+
ge(() => {
|
|
32
23
|
const u = t() || null;
|
|
33
|
-
var
|
|
34
|
-
u !== C && (
|
|
35
|
-
|
|
36
|
-
}) : u ===
|
|
37
|
-
|
|
24
|
+
var h = u === "svg" ? Kt : null;
|
|
25
|
+
u !== C && (g && (u === null ? _e(g, () => {
|
|
26
|
+
g = null, p = null;
|
|
27
|
+
}) : u === p ? ye(g) : (we(g), Wt(!1))), u && u !== p && (g = be(() => {
|
|
28
|
+
s = K ? (
|
|
38
29
|
/** @type {Element} */
|
|
39
|
-
|
|
40
|
-
) :
|
|
30
|
+
s
|
|
31
|
+
) : h ? document.createElementNS(h, u) : document.createElement(u), xe(s, s);
|
|
41
32
|
{
|
|
42
|
-
|
|
43
|
-
var
|
|
33
|
+
K && Me(u) && s.append(document.createComment(""));
|
|
34
|
+
var c = (
|
|
44
35
|
/** @type {TemplateNode} */
|
|
45
|
-
|
|
36
|
+
K ? Ce(s) : s.appendChild(me())
|
|
46
37
|
);
|
|
47
|
-
|
|
38
|
+
K && (c === null ? Ut(!1) : zt(c)), l(s, c);
|
|
48
39
|
}
|
|
49
|
-
|
|
50
|
-
})), C = u, C && (
|
|
51
|
-
},
|
|
40
|
+
Lt.nodes_end = s, v.before(s);
|
|
41
|
+
})), C = u, C && (p = C), Wt(!0));
|
|
42
|
+
}, Dt), f && (Ut(!0), zt(v));
|
|
52
43
|
}
|
|
53
|
-
function
|
|
44
|
+
function qe(e, t, a) {
|
|
54
45
|
Zt(() => {
|
|
55
|
-
var
|
|
56
|
-
if (
|
|
46
|
+
var l = gt(() => t(e, a == null ? void 0 : a()) || {});
|
|
47
|
+
if (l != null && l.destroy)
|
|
57
48
|
return () => (
|
|
58
49
|
/** @type {Function} */
|
|
59
|
-
|
|
50
|
+
l.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 l of a) {
|
|
98
|
+
const [d, n] = l.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, l) {
|
|
107
|
+
var d = (e & Ae) !== 0, n = "both", f, C = t.inert, p = t.style.overflow, s, v;
|
|
108
|
+
function g() {
|
|
109
|
+
var _ = Ee, o = Lt;
|
|
110
|
+
Bt(null), qt(null);
|
|
120
111
|
try {
|
|
121
|
-
return f ?? (f = a()(t, (
|
|
112
|
+
return f ?? (f = a()(t, (l == null ? void 0 : l()) ?? /** @type {P} */
|
|
122
113
|
{}, {
|
|
123
114
|
direction: n
|
|
124
115
|
}));
|
|
125
116
|
} finally {
|
|
126
|
-
|
|
117
|
+
Bt(_), qt(o);
|
|
127
118
|
}
|
|
128
119
|
}
|
|
129
120
|
var u = {
|
|
130
|
-
is_global:
|
|
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"), s = Et(t, g(), v, 1, () => {
|
|
124
|
+
ft(t, "introend"), s == null || s.abort(), s = 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"), v = Et(t, g(), s, 0, () => {
|
|
129
|
+
ft(t, "outroend"), _ == null || _();
|
|
139
130
|
});
|
|
140
131
|
},
|
|
141
132
|
stop: () => {
|
|
142
|
-
|
|
133
|
+
s == null || s.abort(), v == null || v.abort();
|
|
143
134
|
}
|
|
144
|
-
},
|
|
135
|
+
}, h = (
|
|
145
136
|
/** @type {Effect} */
|
|
146
|
-
|
|
137
|
+
Lt
|
|
147
138
|
);
|
|
148
|
-
if ((
|
|
149
|
-
var
|
|
150
|
-
if (!
|
|
151
|
-
for (var
|
|
139
|
+
if ((h.transitions ?? (h.transitions = [])).push(u), 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 & $e); )
|
|
156
147
|
;
|
|
157
|
-
|
|
148
|
+
c = !i || (i.f & Se) !== 0;
|
|
158
149
|
}
|
|
159
|
-
|
|
160
|
-
|
|
150
|
+
c && Zt(() => {
|
|
151
|
+
gt(() => u.in());
|
|
161
152
|
});
|
|
162
153
|
}
|
|
163
154
|
}
|
|
164
|
-
function
|
|
165
|
-
var n =
|
|
166
|
-
if (
|
|
155
|
+
function Et(e, t, a, l, d) {
|
|
156
|
+
var n = l === 1;
|
|
157
|
+
if (Le(t)) {
|
|
167
158
|
var f, C = !1;
|
|
168
159
|
return Ne(() => {
|
|
169
160
|
if (!C) {
|
|
170
|
-
var
|
|
171
|
-
f =
|
|
161
|
+
var _ = t({ direction: n ? "in" : "out" });
|
|
162
|
+
f = Et(e, _, a, l, 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: () => l
|
|
188
179
|
};
|
|
189
|
-
const { delay:
|
|
180
|
+
const { delay: p = 0, css: s, tick: v, easing: g = De } = t;
|
|
190
181
|
var u = [];
|
|
191
|
-
if (n && a === void 0 && (
|
|
192
|
-
var
|
|
193
|
-
u.push(
|
|
182
|
+
if (n && a === void 0 && (v && v(0, 1), s)) {
|
|
183
|
+
var h = Gt(s(0, 1));
|
|
184
|
+
u.push(h, h);
|
|
194
185
|
}
|
|
195
|
-
var
|
|
196
|
-
return
|
|
197
|
-
var
|
|
186
|
+
var c = () => 1 - l, i = e.animate(u, { duration: p });
|
|
187
|
+
return i.onfinish = () => {
|
|
188
|
+
var _ = (a == null ? void 0 : a.t()) ?? 1 - l;
|
|
198
189
|
a == null || a.abort();
|
|
199
|
-
var
|
|
190
|
+
var o = l - _, S = (
|
|
200
191
|
/** @type {number} */
|
|
201
|
-
t.duration * Math.abs(
|
|
192
|
+
t.duration * Math.abs(o)
|
|
202
193
|
), b = [];
|
|
203
|
-
if (
|
|
194
|
+
if (S > 0) {
|
|
204
195
|
var M = !1;
|
|
205
|
-
if (
|
|
206
|
-
for (var
|
|
207
|
-
var
|
|
208
|
-
b.push(
|
|
196
|
+
if (s)
|
|
197
|
+
for (var N = Math.ceil(S / 16.666666666666668), L = 0; L <= N; L += 1) {
|
|
198
|
+
var A = _ + o * g(L / N), w = Gt(s(A, 1 - A));
|
|
199
|
+
b.push(w), M || (M = w.overflow === "hidden");
|
|
209
200
|
}
|
|
210
|
-
M && (e.style.overflow = "hidden"),
|
|
201
|
+
M && (e.style.overflow = "hidden"), c = () => {
|
|
211
202
|
var $ = (
|
|
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($ / S);
|
|
208
|
+
}, v && Ge(() => {
|
|
209
|
+
if (i.playState !== "running") return !1;
|
|
210
|
+
var $ = c();
|
|
211
|
+
return v($, 1 - $), !0;
|
|
221
212
|
});
|
|
222
213
|
}
|
|
223
|
-
|
|
224
|
-
|
|
214
|
+
i = e.animate(b, { duration: S, fill: "forwards" }), i.onfinish = () => {
|
|
215
|
+
c = () => l, v == null || v(l, 1 - l), 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
|
+
l === 0 && (v == null || v(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 l = O(this, J).get(t) || /* @__PURE__ */ new Set();
|
|
249
|
+
return l.add(a), O(this, J).set(t, l), 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 l of O(this, J).get(a.target) || [])
|
|
262
|
+
l(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 l = Je.observe(e, () => a(e[t]));
|
|
274
|
+
Zt(() => (gt(() => a(e[t])), l));
|
|
284
275
|
}
|
|
285
276
|
function Qe(e) {
|
|
286
|
-
|
|
287
|
-
const t =
|
|
277
|
+
$t === null && Ve(), Ze && $t.l !== null ? Xe($t).m.push(e) : jt(() => {
|
|
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: l = Ye, axis: d = "y" } = {}) {
|
|
297
|
+
const n = getComputedStyle(e), f = +n.opacity, C = d === "y" ? "height" : "width", p = parseFloat(n[C]), s = d === "y" ? ["top", "bottom"] : ["left", "right"], v = s.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${v[0]}`]), u = parseFloat(n[`padding${v[1]}`]), h = parseFloat(n[`margin${v[0]}`]), c = parseFloat(n[`margin${v[1]}`]), i = parseFloat(
|
|
303
|
+
n[`border${v[0]}Width`]
|
|
304
|
+
), _ = parseFloat(
|
|
305
|
+
n[`border${v[1]}Width`]
|
|
315
306
|
);
|
|
316
307
|
return {
|
|
317
308
|
delay: t,
|
|
318
309
|
duration: a,
|
|
319
|
-
easing:
|
|
320
|
-
css: (
|
|
310
|
+
easing: l,
|
|
311
|
+
css: (o) => `overflow: hidden;opacity: ${Math.min(o * 20, 1) * f};${C}: ${o * p}px;padding-${s[0]}: ${o * g}px;padding-${s[1]}: ${o * u}px;margin-${s[0]}: ${o * h}px;margin-${s[1]}: ${o * c}px;border-${s[0]}-width: ${o * i}px;border-${s[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
|
-
const
|
|
327
|
-
const t = function(
|
|
328
|
-
e.contains(
|
|
329
|
-
}, a = function(
|
|
330
|
-
e.contains(
|
|
317
|
+
const St = (e) => {
|
|
318
|
+
const t = function(l) {
|
|
319
|
+
e.contains(l.relatedTarget) || e.dispatchEvent(new CustomEvent("focusoutside", { bubbles: !1 }));
|
|
320
|
+
}, a = function(l) {
|
|
321
|
+
e.contains(l.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,107 +329,107 @@ 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 u = aa(),
|
|
345
|
-
|
|
346
|
-
var
|
|
347
|
-
|
|
348
|
-
var
|
|
334
|
+
let a = V(t, "class", 7), l = V(t, "buttonClass", 7, ""), d = V(t, "contentClass", 7, ""), n = V(t, "open", 15, !1), f = V(t, "as", 7, "div"), C = V(t, "transition", 7, Ot), p = V(t, "autoCollapse", 7, !0), s = V(t, "label", 7), v = V(t, "button", 7), g = V(t, "children", 7);
|
|
335
|
+
var u = aa(), h = y(u);
|
|
336
|
+
h.__click = [ea, n];
|
|
337
|
+
var c = y(h);
|
|
338
|
+
It(c, () => v() ?? at), m(h);
|
|
339
|
+
var i = W(h, 2);
|
|
349
340
|
{
|
|
350
|
-
var
|
|
351
|
-
var
|
|
352
|
-
|
|
353
|
-
let
|
|
354
|
-
|
|
355
|
-
var
|
|
356
|
-
|
|
357
|
-
}),
|
|
341
|
+
var _ = (o) => {
|
|
342
|
+
var S = R(), b = T(S);
|
|
343
|
+
Be(b, f, !1, (M, N) => {
|
|
344
|
+
let L;
|
|
345
|
+
E(() => L = X(M, L, { class: d() }, void 0, M.namespaceURI === Kt, M.nodeName.includes("-"))), Ke(3, M, C, () => ({ duration: 200, easing: ta }));
|
|
346
|
+
var A = R(), w = T(A);
|
|
347
|
+
It(w, () => g() ?? at), x(N, A);
|
|
348
|
+
}), x(o, S);
|
|
358
349
|
};
|
|
359
|
-
|
|
360
|
-
|
|
350
|
+
j(i, (o) => {
|
|
351
|
+
n() && o(_);
|
|
361
352
|
});
|
|
362
353
|
}
|
|
363
|
-
return m(u),
|
|
364
|
-
|
|
354
|
+
return m(u), qe(u, (o) => St == null ? void 0 : St(o)), E(() => {
|
|
355
|
+
nt(u, it(a())), I(u, "data-expanded", n()), nt(h, it(l())), I(h, "aria-expanded", n()), I(h, "aria-label", s());
|
|
365
356
|
}), He("focusoutside", u, () => {
|
|
366
|
-
|
|
367
|
-
}),
|
|
357
|
+
p() && n(!1);
|
|
358
|
+
}), x(e, u), 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
|
-
get
|
|
375
|
-
return
|
|
365
|
+
get buttonClass() {
|
|
366
|
+
return l();
|
|
376
367
|
},
|
|
377
|
-
set
|
|
378
|
-
|
|
368
|
+
set buttonClass(o = "") {
|
|
369
|
+
l(o), Z();
|
|
379
370
|
},
|
|
380
|
-
get
|
|
381
|
-
return
|
|
371
|
+
get contentClass() {
|
|
372
|
+
return d();
|
|
382
373
|
},
|
|
383
|
-
set
|
|
384
|
-
|
|
374
|
+
set contentClass(o = "") {
|
|
375
|
+
d(o), Z();
|
|
385
376
|
},
|
|
386
|
-
get
|
|
377
|
+
get open() {
|
|
387
378
|
return n();
|
|
388
379
|
},
|
|
389
|
-
set
|
|
390
|
-
n(
|
|
380
|
+
set open(o = !1) {
|
|
381
|
+
n(o), Z();
|
|
391
382
|
},
|
|
392
|
-
get
|
|
383
|
+
get as() {
|
|
393
384
|
return f();
|
|
394
385
|
},
|
|
395
|
-
set
|
|
396
|
-
f(
|
|
386
|
+
set as(o = "div") {
|
|
387
|
+
f(o), Z();
|
|
397
388
|
},
|
|
398
|
-
get
|
|
389
|
+
get transition() {
|
|
399
390
|
return C();
|
|
400
391
|
},
|
|
401
|
-
set
|
|
402
|
-
C(
|
|
392
|
+
set transition(o = Ot) {
|
|
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
|
-
get
|
|
411
|
-
return
|
|
401
|
+
get label() {
|
|
402
|
+
return s();
|
|
412
403
|
},
|
|
413
|
-
set
|
|
414
|
-
o
|
|
404
|
+
set label(o) {
|
|
405
|
+
s(o), Z();
|
|
415
406
|
},
|
|
416
407
|
get button() {
|
|
417
|
-
return
|
|
408
|
+
return v();
|
|
418
409
|
},
|
|
419
|
-
set button(
|
|
420
|
-
|
|
410
|
+
set button(o) {
|
|
411
|
+
v(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: {},
|
|
426
|
+
buttonClass: {},
|
|
427
|
+
contentClass: {},
|
|
435
428
|
open: {},
|
|
436
429
|
as: {},
|
|
437
430
|
transition: {},
|
|
438
|
-
buttonClass: {},
|
|
439
|
-
contentClass: {},
|
|
440
431
|
autoCollapse: {},
|
|
441
|
-
|
|
432
|
+
label: {},
|
|
442
433
|
button: {},
|
|
443
434
|
children: {}
|
|
444
435
|
},
|
|
@@ -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(), l = y(a);
|
|
538
|
+
q(l, 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 = (v) => {
|
|
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")), u = st(() => r(n).icon ? r(n).text : void 0);
|
|
543
|
+
Q(v, {
|
|
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
|
-
get
|
|
560
|
-
return
|
|
550
|
+
get label() {
|
|
551
|
+
return r(u);
|
|
561
552
|
},
|
|
562
|
-
button: (
|
|
563
|
-
var
|
|
553
|
+
button: (c) => {
|
|
554
|
+
var i = sa(), _ = y(i);
|
|
564
555
|
{
|
|
565
|
-
var
|
|
566
|
-
|
|
556
|
+
var o = (b) => {
|
|
557
|
+
G(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
|
|
575
|
-
|
|
562
|
+
}, S = (b) => {
|
|
563
|
+
var M = ra(), N = T(M), L = y(N, !0);
|
|
564
|
+
m(N);
|
|
565
|
+
var A = W(N, 2);
|
|
566
|
+
G(A, { icon: bt }), E(() => H(L, r(n).text)), x(b, M);
|
|
576
567
|
};
|
|
577
|
-
|
|
578
|
-
|
|
568
|
+
j(_, (b) => {
|
|
569
|
+
r(n).icon ? b(o) : b(S, !1);
|
|
579
570
|
});
|
|
580
571
|
}
|
|
581
|
-
m(
|
|
572
|
+
m(i), E(() => Nt(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
|
|
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, (S, b) => {
|
|
577
|
+
var M = la(), N = y(M);
|
|
578
|
+
let L;
|
|
579
|
+
var A = y(N, !0);
|
|
580
|
+
m(N), m(M), E(() => {
|
|
581
|
+
L = X(N, L, {
|
|
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(A, r(b).text);
|
|
586
|
+
}), x(S, M);
|
|
587
|
+
}), x(c, _);
|
|
597
588
|
},
|
|
598
589
|
$$slots: { button: !0, default: !0 }
|
|
599
590
|
});
|
|
600
|
-
},
|
|
601
|
-
var
|
|
602
|
-
const u =
|
|
603
|
-
var
|
|
604
|
-
m(
|
|
605
|
-
|
|
606
|
-
}),
|
|
591
|
+
}, s = (v) => {
|
|
592
|
+
var g = oa();
|
|
593
|
+
const u = 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(u)), I(g, "href", r(n).href), H(h, r(n).text);
|
|
597
|
+
}), x(v, g);
|
|
607
598
|
};
|
|
608
|
-
|
|
609
|
-
|
|
599
|
+
j(C, (v) => {
|
|
600
|
+
r(n).links ? v(p) : v(s, !1);
|
|
610
601
|
});
|
|
611
602
|
}
|
|
612
|
-
m(f),
|
|
613
|
-
}), m(
|
|
603
|
+
m(f), x(d, f);
|
|
604
|
+
}), m(l), 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,526 @@ 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, l] = 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 s = W(C, 2);
|
|
662
|
+
const v = 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(s);
|
|
677
667
|
{
|
|
678
|
-
var
|
|
679
|
-
|
|
680
|
-
},
|
|
681
|
-
|
|
668
|
+
var u = (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(u) : 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(s), m(f), E(() => nt(s, r(v))), x(e, f), tt(), l();
|
|
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, l) => {
|
|
691
|
+
var d = ba(), n = y(d);
|
|
711
692
|
{
|
|
712
|
-
var f = (
|
|
713
|
-
var
|
|
714
|
-
|
|
693
|
+
var f = (p) => {
|
|
694
|
+
var s = pa(), v = y(s);
|
|
695
|
+
G(v, {
|
|
715
696
|
get icon() {
|
|
716
|
-
return l
|
|
697
|
+
return r(l).icon;
|
|
717
698
|
}
|
|
718
|
-
}), m(
|
|
719
|
-
|
|
720
|
-
}),
|
|
721
|
-
}, C = (
|
|
722
|
-
var
|
|
723
|
-
m(
|
|
724
|
-
|
|
725
|
-
}),
|
|
699
|
+
}), m(s), E(() => {
|
|
700
|
+
I(s, "href", r(l).href), I(s, "aria-label", r(l).text);
|
|
701
|
+
}), x(p, s);
|
|
702
|
+
}, C = (p) => {
|
|
703
|
+
var s = ga(), v = y(s, !0);
|
|
704
|
+
m(s), E(() => {
|
|
705
|
+
I(s, "href", r(l).href), H(v, r(l).text);
|
|
706
|
+
}), x(p, s);
|
|
726
707
|
};
|
|
727
|
-
|
|
728
|
-
l
|
|
708
|
+
j(n, (p) => {
|
|
709
|
+
r(l).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>'), $a = 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)), l = t.filter((p) => p == null ? void 0 : p.excludeFromMainMenu);
|
|
719
|
+
var d = $a(), n = y(d);
|
|
720
|
+
q(n, 1, () => l, (p) => p.text || p.title, (p, s) => {
|
|
721
|
+
var v = ya(), g = y(v);
|
|
741
722
|
{
|
|
742
|
-
var u = (
|
|
743
|
-
var
|
|
744
|
-
|
|
723
|
+
var u = (c) => {
|
|
724
|
+
var i = st(() => r(s).icon ? r(s).text : void 0);
|
|
725
|
+
Q(c, {
|
|
745
726
|
class: "h-full w-fit",
|
|
746
|
-
get
|
|
747
|
-
return
|
|
727
|
+
get label() {
|
|
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
|
-
|
|
733
|
+
button: (o) => {
|
|
734
|
+
G(o, {
|
|
754
735
|
get icon() {
|
|
755
|
-
return
|
|
736
|
+
return r(s).icon;
|
|
756
737
|
}
|
|
757
738
|
});
|
|
758
739
|
},
|
|
759
|
-
children: (
|
|
760
|
-
var b =
|
|
761
|
-
q(M, 1, () =>
|
|
762
|
-
var
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
740
|
+
children: (o, S) => {
|
|
741
|
+
var b = R(), M = T(b);
|
|
742
|
+
q(M, 1, () => r(s).links, rt, (N, L) => {
|
|
743
|
+
var A = ma(), w = y(A);
|
|
744
|
+
let $;
|
|
745
|
+
var F = y(w, !0);
|
|
746
|
+
m(w), m(A), E(() => {
|
|
747
|
+
$ = X(w, $, {
|
|
748
|
+
class: "border-0 border-b border-solid border-grey/50 p-2 transition-colors hover:bg-grey-muted",
|
|
749
|
+
href: r(L).href,
|
|
750
|
+
...r(L).attributes
|
|
751
|
+
}), H(F, r(L).text);
|
|
752
|
+
}), x(N, A);
|
|
753
|
+
}), x(o, b);
|
|
767
754
|
},
|
|
768
755
|
$$slots: { button: !0, default: !0 }
|
|
769
756
|
});
|
|
770
|
-
},
|
|
771
|
-
var
|
|
772
|
-
|
|
757
|
+
}, h = (c) => {
|
|
758
|
+
var i = _a(), _ = y(i);
|
|
759
|
+
G(_, {
|
|
773
760
|
get icon() {
|
|
774
|
-
return
|
|
761
|
+
return r(s).icon;
|
|
775
762
|
}
|
|
776
|
-
}), m(
|
|
777
|
-
|
|
778
|
-
}),
|
|
763
|
+
}), m(i), E(() => {
|
|
764
|
+
I(i, "href", r(s).href), I(i, "aria-label", r(s).text);
|
|
765
|
+
}), x(c, i);
|
|
779
766
|
};
|
|
780
|
-
|
|
781
|
-
|
|
767
|
+
j(g, (c) => {
|
|
768
|
+
r(s).links ? c(u) : c(h, !1);
|
|
782
769
|
});
|
|
783
770
|
}
|
|
784
|
-
m(
|
|
771
|
+
m(v), x(p, v);
|
|
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
|
+
label: "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
|
-
|
|
780
|
+
button: (s) => {
|
|
781
|
+
G(s, { icon: Jt });
|
|
795
782
|
},
|
|
796
|
-
children: (
|
|
797
|
-
var
|
|
798
|
-
q(u, 1, () => a,
|
|
799
|
-
var
|
|
783
|
+
children: (s, v) => {
|
|
784
|
+
var g = R(), u = T(g);
|
|
785
|
+
q(u, 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
|
|
810
|
-
m(
|
|
811
|
-
var $ =
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
}),
|
|
795
|
+
button: (N) => {
|
|
796
|
+
var L = wa(), A = y(L), w = y(A, !0);
|
|
797
|
+
m(A);
|
|
798
|
+
var $ = W(A, 2);
|
|
799
|
+
G($, { icon: bt }), m(L), E(() => {
|
|
800
|
+
Nt(L, "bg-yellow", r(c).highlight), H(w, r(c).text);
|
|
801
|
+
}), x(N, L);
|
|
815
802
|
},
|
|
816
|
-
children: (
|
|
817
|
-
var
|
|
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: (N, L) => {
|
|
804
|
+
var A = R(), w = T(A);
|
|
805
|
+
q(w, 1, () => r(c).links, rt, ($, 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($, B);
|
|
816
|
+
}), x(N, A);
|
|
830
817
|
},
|
|
831
818
|
$$slots: { button: !0, default: !0 }
|
|
832
819
|
});
|
|
833
|
-
},
|
|
834
|
-
var M = Ca(),
|
|
835
|
-
m(M),
|
|
836
|
-
|
|
837
|
-
}),
|
|
820
|
+
}, S = (b) => {
|
|
821
|
+
var M = Ca(), N = y(M, !0);
|
|
822
|
+
m(M), E(() => {
|
|
823
|
+
I(M, "href", r(c).href), Nt(M, "bg-yellow", r(c).highlight), H(N, r(c).text);
|
|
824
|
+
}), x(b, M);
|
|
838
825
|
};
|
|
839
|
-
|
|
840
|
-
|
|
826
|
+
j(_, (b) => {
|
|
827
|
+
r(c).links ? b(o) : b(S, !1);
|
|
841
828
|
});
|
|
842
829
|
}
|
|
843
|
-
m(
|
|
844
|
-
}),
|
|
830
|
+
m(i), x(h, i);
|
|
831
|
+
}), x(s, 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
|
-
|
|
850
|
-
var
|
|
851
|
-
function
|
|
836
|
+
U(ie, {}, [], [], !0);
|
|
837
|
+
var Sa = 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>'), La = k('<nav aria-label="Primary"><!> <!></nav>');
|
|
838
|
+
function ce(e, t) {
|
|
852
839
|
Y(t, !1);
|
|
853
|
-
const [a,
|
|
854
|
-
|
|
855
|
-
var f =
|
|
856
|
-
const C =
|
|
840
|
+
const [a, l] = mt(), d = () => _t(n, "$headerState", a), n = Ht("header-state");
|
|
841
|
+
Tt();
|
|
842
|
+
var f = La();
|
|
843
|
+
const C = st(() => {
|
|
857
844
|
var u;
|
|
858
|
-
return
|
|
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", ((u = d()) == null ? void 0 : u.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 s = W(p, 2);
|
|
863
850
|
{
|
|
864
|
-
var
|
|
865
|
-
var
|
|
866
|
-
|
|
867
|
-
},
|
|
868
|
-
var
|
|
851
|
+
var v = (u) => {
|
|
852
|
+
var h = Sa(), c = W(y(h), 2);
|
|
853
|
+
oe(c), m(h), x(u, h);
|
|
854
|
+
}, g = (u) => {
|
|
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 S;
|
|
866
|
+
((S = d()) == null ? void 0 : S.mode) === "desktop" ? o(i) : o(_, !1);
|
|
880
867
|
},
|
|
881
868
|
!0
|
|
882
869
|
);
|
|
883
870
|
}
|
|
884
|
-
|
|
871
|
+
x(u, h);
|
|
885
872
|
};
|
|
886
|
-
|
|
887
|
-
var
|
|
888
|
-
((
|
|
873
|
+
j(s, (u) => {
|
|
874
|
+
var h;
|
|
875
|
+
((h = d()) == null ? void 0 : h.variant) === "dual-brand" ? u(v) : u(g, !1);
|
|
889
876
|
});
|
|
890
877
|
}
|
|
891
|
-
m(f),
|
|
878
|
+
m(f), E(() => nt(f, r(C))), x(e, f), tt(), l();
|
|
892
879
|
}
|
|
893
|
-
|
|
894
|
-
var
|
|
895
|
-
function
|
|
880
|
+
U(ce, {}, [], [], !0);
|
|
881
|
+
var Na = k('<span class="flex items-center gap-2 [&>svg]:transition-transform"><span> </span> <!></span>'), Aa = 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 l = R(), d = T(l);
|
|
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 u =
|
|
904
|
-
|
|
889
|
+
var s = (g) => {
|
|
890
|
+
var u = Ea(), h = y(u);
|
|
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
|
-
buttonAriaLabel: void 0,
|
|
909
895
|
as: "ul",
|
|
910
|
-
button: (
|
|
911
|
-
var
|
|
912
|
-
m(
|
|
913
|
-
var b =
|
|
914
|
-
|
|
896
|
+
button: (i) => {
|
|
897
|
+
var _ = Na(), o = y(_), S = y(o, !0);
|
|
898
|
+
m(o);
|
|
899
|
+
var b = W(o, 2);
|
|
900
|
+
G(b, { icon: bt }), m(_), E(() => H(S, r(f).title)), x(i, _);
|
|
915
901
|
},
|
|
916
|
-
children: (
|
|
917
|
-
var
|
|
918
|
-
q(
|
|
919
|
-
var
|
|
920
|
-
let
|
|
921
|
-
var
|
|
922
|
-
m(
|
|
902
|
+
children: (i, _) => {
|
|
903
|
+
var o = R(), S = T(o);
|
|
904
|
+
q(S, 17, () => r(f).links, rt, (b, M) => {
|
|
905
|
+
var N = Aa(), L = y(N);
|
|
906
|
+
let A;
|
|
907
|
+
var w = y(L, !0);
|
|
908
|
+
m(L), m(N), E(() => {
|
|
923
909
|
var $;
|
|
924
|
-
|
|
925
|
-
...
|
|
926
|
-
class: `border-0 border-b border-solid border-
|
|
927
|
-
href:
|
|
928
|
-
}),
|
|
929
|
-
}),
|
|
930
|
-
}),
|
|
910
|
+
A = X(L, A, {
|
|
911
|
+
...r(M).attributes,
|
|
912
|
+
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 ${(($ = r(M).attributes) == null ? void 0 : $.class) ?? ""}`,
|
|
913
|
+
href: r(M).href
|
|
914
|
+
}), H(w, r(M).text);
|
|
915
|
+
}), x(b, N);
|
|
916
|
+
}), x(i, o);
|
|
931
917
|
},
|
|
932
918
|
$$slots: { button: !0, default: !0 }
|
|
933
|
-
}), m(u),
|
|
934
|
-
},
|
|
935
|
-
var u =
|
|
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
|
-
}),
|
|
919
|
+
}), m(u), x(g, u);
|
|
920
|
+
}, v = (g) => {
|
|
921
|
+
var u = Va(), h = y(u);
|
|
922
|
+
let c;
|
|
923
|
+
var i = y(h, !0);
|
|
924
|
+
m(h), m(u), E(() => {
|
|
925
|
+
var _;
|
|
926
|
+
c = X(h, c, {
|
|
927
|
+
...r(f).attributes,
|
|
928
|
+
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) ?? ""}`,
|
|
929
|
+
href: r(f).href
|
|
930
|
+
}), H(i, r(f).text);
|
|
931
|
+
}), x(g, u);
|
|
946
932
|
};
|
|
947
|
-
|
|
948
|
-
|
|
933
|
+
j(p, (g) => {
|
|
934
|
+
r(f).links ? g(s) : g(v, !1);
|
|
949
935
|
});
|
|
950
936
|
}
|
|
951
|
-
|
|
952
|
-
}),
|
|
937
|
+
x(n, C);
|
|
938
|
+
}), x(e, l), tt({
|
|
953
939
|
get items() {
|
|
954
940
|
return a();
|
|
955
941
|
},
|
|
956
942
|
set items(n) {
|
|
957
|
-
a(n),
|
|
943
|
+
a(n), Z();
|
|
958
944
|
}
|
|
959
945
|
});
|
|
960
946
|
}
|
|
961
|
-
|
|
962
|
-
var
|
|
963
|
-
function
|
|
947
|
+
U(ue, { items: {} }, [], [], !0);
|
|
948
|
+
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>");
|
|
949
|
+
function ve(e, t) {
|
|
964
950
|
Y(t, !0);
|
|
965
|
-
let a =
|
|
966
|
-
var
|
|
967
|
-
return
|
|
951
|
+
let a = V(t, "items", 7);
|
|
952
|
+
var l = Fa(), d = y(l);
|
|
953
|
+
return Q(d, {
|
|
968
954
|
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",
|
|
955
|
+
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
956
|
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
|
-
|
|
957
|
+
label: "Sub Navigation Menu",
|
|
972
958
|
as: "ul",
|
|
973
959
|
button: (f) => {
|
|
974
|
-
|
|
960
|
+
G(f, { icon: Jt });
|
|
975
961
|
},
|
|
976
962
|
children: (f, C) => {
|
|
977
|
-
var
|
|
978
|
-
q(
|
|
979
|
-
var u =
|
|
963
|
+
var p = R(), s = T(p);
|
|
964
|
+
q(s, 17, a, (v) => v.text || v.title, (v, g) => {
|
|
965
|
+
var u = Ta(), h = y(u);
|
|
980
966
|
{
|
|
981
|
-
var
|
|
982
|
-
var
|
|
983
|
-
let
|
|
984
|
-
var b =
|
|
985
|
-
m(
|
|
967
|
+
var c = (_) => {
|
|
968
|
+
var o = Za();
|
|
969
|
+
let S;
|
|
970
|
+
var b = y(o, !0);
|
|
971
|
+
m(o), E(() => {
|
|
986
972
|
var M;
|
|
987
|
-
|
|
988
|
-
...
|
|
989
|
-
class: `border-0 border-b border-solid border-
|
|
990
|
-
href:
|
|
991
|
-
}),
|
|
992
|
-
}), _
|
|
993
|
-
},
|
|
994
|
-
|
|
973
|
+
S = X(o, S, {
|
|
974
|
+
...r(g).attributes,
|
|
975
|
+
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) ?? ""}`,
|
|
976
|
+
href: r(g).href
|
|
977
|
+
}), H(b, r(g).text);
|
|
978
|
+
}), x(_, o);
|
|
979
|
+
}, i = (_) => {
|
|
980
|
+
Q(_, {
|
|
995
981
|
class: "relative w-full",
|
|
996
|
-
buttonClass: "flex border-0 border-b border-solid border-
|
|
982
|
+
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
983
|
contentClass: "flex flex-col w-full flex-col bg-white text-black [&>li]:contents",
|
|
998
984
|
as: "ul",
|
|
999
985
|
autoCollapse: !1,
|
|
1000
|
-
button: (
|
|
1001
|
-
var b =
|
|
986
|
+
button: (S) => {
|
|
987
|
+
var b = ja(), M = y(b), N = y(M, !0);
|
|
1002
988
|
m(M);
|
|
1003
|
-
var
|
|
1004
|
-
|
|
989
|
+
var L = W(M, 2);
|
|
990
|
+
G(L, { icon: bt }), m(b), E(() => H(N, r(g).title)), x(S, b);
|
|
1005
991
|
},
|
|
1006
|
-
children: (
|
|
1007
|
-
var M =
|
|
1008
|
-
q(
|
|
1009
|
-
var
|
|
1010
|
-
let
|
|
1011
|
-
var
|
|
1012
|
-
m($), m(
|
|
1013
|
-
var
|
|
1014
|
-
|
|
1015
|
-
...
|
|
1016
|
-
class: `border-0 border-b border-solid border-
|
|
1017
|
-
href:
|
|
1018
|
-
}),
|
|
1019
|
-
}),
|
|
1020
|
-
}),
|
|
992
|
+
children: (S, b) => {
|
|
993
|
+
var M = R(), N = T(M);
|
|
994
|
+
q(N, 17, () => r(g).links, rt, (L, A) => {
|
|
995
|
+
var w = Ha(), $ = y(w);
|
|
996
|
+
let F;
|
|
997
|
+
var B = y($, !0);
|
|
998
|
+
m($), m(w), E(() => {
|
|
999
|
+
var z;
|
|
1000
|
+
F = X($, F, {
|
|
1001
|
+
...r(A).attributes,
|
|
1002
|
+
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(A).attributes) == null ? void 0 : z.class) ?? ""}`,
|
|
1003
|
+
href: r(A).href
|
|
1004
|
+
}), H(B, r(A).text);
|
|
1005
|
+
}), x(L, w);
|
|
1006
|
+
}), x(S, M);
|
|
1021
1007
|
},
|
|
1022
1008
|
$$slots: { button: !0, default: !0 }
|
|
1023
1009
|
});
|
|
1024
1010
|
};
|
|
1025
|
-
|
|
1026
|
-
|
|
1011
|
+
j(h, (_) => {
|
|
1012
|
+
r(g).text ? _(c) : _(i, !1);
|
|
1027
1013
|
});
|
|
1028
1014
|
}
|
|
1029
|
-
m(u),
|
|
1030
|
-
}),
|
|
1015
|
+
m(u), x(v, u);
|
|
1016
|
+
}), x(f, p);
|
|
1031
1017
|
},
|
|
1032
1018
|
$$slots: { button: !0, default: !0 }
|
|
1033
|
-
}), m(
|
|
1019
|
+
}), m(l), x(e, l), tt({
|
|
1034
1020
|
get items() {
|
|
1035
1021
|
return a();
|
|
1036
1022
|
},
|
|
1037
1023
|
set items(n) {
|
|
1038
|
-
a(n),
|
|
1024
|
+
a(n), Z();
|
|
1039
1025
|
}
|
|
1040
1026
|
});
|
|
1041
1027
|
}
|
|
1042
|
-
|
|
1043
|
-
var
|
|
1044
|
-
function
|
|
1028
|
+
U(ve, { items: {} }, [], [], !0);
|
|
1029
|
+
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>');
|
|
1030
|
+
function fe(e, t) {
|
|
1045
1031
|
Y(t, !0);
|
|
1046
|
-
const [a,
|
|
1047
|
-
let f =
|
|
1032
|
+
const [a, l] = mt(), d = () => _t(n, "$headerState", a), n = Ht("header-state");
|
|
1033
|
+
let f = V(t, "items", 7), C = V(t, "title", 7), p = V(t, "url", 7), s = ut(void 0), v = ut(void 0), g = ut(void 0), u, h = ut(void 0);
|
|
1048
1034
|
jt(() => {
|
|
1049
|
-
var
|
|
1050
|
-
clearTimeout(u), ((
|
|
1035
|
+
var w;
|
|
1036
|
+
clearTimeout(u), ((w = d()) == null ? void 0 : w.mode) === "desktop" && r(s) - r(v) < r(g) && (u = setTimeout(
|
|
1051
1037
|
() => {
|
|
1052
|
-
et(
|
|
1038
|
+
et(h, At(isNaN(r(h)) ? r(s) : Math.max(r(s), r(h))));
|
|
1053
1039
|
},
|
|
1054
1040
|
50
|
|
1055
1041
|
));
|
|
1056
1042
|
}), Qe(() => {
|
|
1057
|
-
var
|
|
1058
|
-
((
|
|
1043
|
+
var w;
|
|
1044
|
+
((w = d()) == null ? void 0 : w.mode) === "desktop" && r(s) - r(v) < r(g) && et(h, At(isNaN(r(h)) ? r(s) : Math.max(r(s), r(h))));
|
|
1059
1045
|
});
|
|
1060
|
-
var
|
|
1061
|
-
const
|
|
1062
|
-
var
|
|
1063
|
-
return
|
|
1046
|
+
var c = Ua();
|
|
1047
|
+
const i = Pe(() => {
|
|
1048
|
+
var w;
|
|
1049
|
+
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
1050
|
});
|
|
1065
|
-
var
|
|
1051
|
+
var _ = y(c), o = y(_);
|
|
1066
1052
|
{
|
|
1067
|
-
var
|
|
1068
|
-
var $ =
|
|
1069
|
-
m($),
|
|
1070
|
-
|
|
1071
|
-
}),
|
|
1072
|
-
}, b = (
|
|
1073
|
-
var $ =
|
|
1053
|
+
var S = (w) => {
|
|
1054
|
+
var $ = Pa(), F = y($, !0);
|
|
1055
|
+
m($), E(() => {
|
|
1056
|
+
I($, "href", p()), H(F, C());
|
|
1057
|
+
}), dt($, "clientWidth", (B) => et(v, B)), x(w, $);
|
|
1058
|
+
}, b = (w) => {
|
|
1059
|
+
var $ = R(), F = T($);
|
|
1074
1060
|
{
|
|
1075
|
-
var
|
|
1076
|
-
var
|
|
1077
|
-
m(
|
|
1061
|
+
var B = (z) => {
|
|
1062
|
+
var P = Ra(), yt = y(P, !0);
|
|
1063
|
+
m(P), E(() => H(yt, C())), dt(P, "clientWidth", (de) => et(v, de)), x(z, P);
|
|
1078
1064
|
};
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
(
|
|
1082
|
-
C() &&
|
|
1065
|
+
j(
|
|
1066
|
+
F,
|
|
1067
|
+
(z) => {
|
|
1068
|
+
C() && z(B);
|
|
1083
1069
|
},
|
|
1084
1070
|
!0
|
|
1085
1071
|
);
|
|
1086
1072
|
}
|
|
1087
|
-
|
|
1073
|
+
x(w, $);
|
|
1088
1074
|
};
|
|
1089
|
-
|
|
1090
|
-
C() &&
|
|
1075
|
+
j(o, (w) => {
|
|
1076
|
+
C() && p() ? w(S) : w(b, !1);
|
|
1091
1077
|
});
|
|
1092
1078
|
}
|
|
1093
|
-
var M =
|
|
1079
|
+
var M = W(o, 2), N = y(M);
|
|
1094
1080
|
{
|
|
1095
|
-
var
|
|
1096
|
-
var $ =
|
|
1081
|
+
var L = (w) => {
|
|
1082
|
+
var $ = R(), F = T($);
|
|
1097
1083
|
{
|
|
1098
|
-
var
|
|
1099
|
-
|
|
1084
|
+
var B = (P) => {
|
|
1085
|
+
ue(P, {
|
|
1100
1086
|
get items() {
|
|
1101
1087
|
return f();
|
|
1102
1088
|
}
|
|
1103
1089
|
});
|
|
1104
|
-
},
|
|
1105
|
-
|
|
1090
|
+
}, z = (P) => {
|
|
1091
|
+
ve(P, {
|
|
1106
1092
|
get items() {
|
|
1107
1093
|
return f();
|
|
1108
1094
|
}
|
|
1109
1095
|
});
|
|
1110
1096
|
};
|
|
1111
|
-
|
|
1112
|
-
|
|
1097
|
+
j(F, (P) => {
|
|
1098
|
+
d().mode === "desktop" && (isNaN(r(h)) || r(s) > r(h)) ? P(B) : P(z, !1);
|
|
1113
1099
|
});
|
|
1114
1100
|
}
|
|
1115
|
-
|
|
1101
|
+
x(w, $);
|
|
1116
1102
|
};
|
|
1117
|
-
|
|
1103
|
+
j(N, (w) => {
|
|
1118
1104
|
var $;
|
|
1119
|
-
(($ = f()) == null ? void 0 : $.length) > 0 &&
|
|
1105
|
+
(($ = f()) == null ? void 0 : $.length) > 0 && w(L);
|
|
1120
1106
|
});
|
|
1121
1107
|
}
|
|
1122
|
-
m(M), m(
|
|
1123
|
-
var
|
|
1108
|
+
m(M), m(_), m(c), E(() => nt(c, r(i))), dt(M, "clientWidth", (w) => et(g, w)), dt(_, "clientWidth", (w) => et(s, w)), x(e, c);
|
|
1109
|
+
var A = tt({
|
|
1124
1110
|
get items() {
|
|
1125
1111
|
return f();
|
|
1126
1112
|
},
|
|
1127
|
-
set items(
|
|
1128
|
-
f(
|
|
1113
|
+
set items(w) {
|
|
1114
|
+
f(w), Z();
|
|
1129
1115
|
},
|
|
1130
1116
|
get title() {
|
|
1131
1117
|
return C();
|
|
1132
1118
|
},
|
|
1133
|
-
set title(
|
|
1134
|
-
C(
|
|
1119
|
+
set title(w) {
|
|
1120
|
+
C(w), Z();
|
|
1135
1121
|
},
|
|
1136
1122
|
get url() {
|
|
1137
|
-
return
|
|
1123
|
+
return p();
|
|
1138
1124
|
},
|
|
1139
|
-
set url(
|
|
1140
|
-
|
|
1125
|
+
set url(w) {
|
|
1126
|
+
p(w), Z();
|
|
1141
1127
|
}
|
|
1142
1128
|
});
|
|
1143
|
-
return
|
|
1129
|
+
return l(), A;
|
|
1144
1130
|
}
|
|
1145
|
-
|
|
1146
|
-
const
|
|
1147
|
-
var
|
|
1148
|
-
function
|
|
1131
|
+
U(fe, { items: {}, title: {}, url: {} }, [], [], !0);
|
|
1132
|
+
const za = 35;
|
|
1133
|
+
var Wa = k('<header class="relative z-10 w-full font-condensed text-black"><!> <!> <!></header>');
|
|
1134
|
+
function Ba(e, t) {
|
|
1149
1135
|
Y(t, !0);
|
|
1150
|
-
const [a,
|
|
1151
|
-
let n =
|
|
1152
|
-
const
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
mode:
|
|
1156
|
-
variant:
|
|
1136
|
+
const [a, l] = mt(), d = () => _t(g, "$headerState", a);
|
|
1137
|
+
let n = V(t, "subNavigation", 7), f = V(t, "pageTitle", 7), C = V(t, "pageURL", 7), p = V(t, "variant", 7), s = ut(void 0);
|
|
1138
|
+
const v = 1024, g = Re({ mode: "mobile", variant: p() });
|
|
1139
|
+
Ue("header-state", g), jt(() => {
|
|
1140
|
+
g.set({
|
|
1141
|
+
mode: r(s) >= v ? "desktop" : "mobile",
|
|
1142
|
+
variant: p()
|
|
1157
1143
|
});
|
|
1158
1144
|
});
|
|
1159
|
-
var u =
|
|
1145
|
+
var u = Wa(), h = y(u);
|
|
1160
1146
|
{
|
|
1161
|
-
var
|
|
1162
|
-
|
|
1147
|
+
var c = (b) => {
|
|
1148
|
+
ee(b, {});
|
|
1163
1149
|
};
|
|
1164
|
-
|
|
1165
|
-
|
|
1150
|
+
j(h, (b) => {
|
|
1151
|
+
d().mode === "desktop" && p() !== "dual-brand" && b(c);
|
|
1166
1152
|
});
|
|
1167
1153
|
}
|
|
1168
|
-
var
|
|
1169
|
-
|
|
1170
|
-
var
|
|
1154
|
+
var i = W(h, 2);
|
|
1155
|
+
ce(i, {});
|
|
1156
|
+
var _ = W(i, 2);
|
|
1171
1157
|
{
|
|
1172
|
-
var
|
|
1173
|
-
|
|
1158
|
+
var o = (b) => {
|
|
1159
|
+
fe(b, {
|
|
1174
1160
|
get title() {
|
|
1175
1161
|
return f();
|
|
1176
1162
|
},
|
|
@@ -1182,42 +1168,42 @@ function Wa(e, t) {
|
|
|
1182
1168
|
}
|
|
1183
1169
|
});
|
|
1184
1170
|
};
|
|
1185
|
-
|
|
1171
|
+
j(_, (b) => {
|
|
1186
1172
|
var M;
|
|
1187
|
-
(((M = n()) == null ? void 0 : M.length) > 0 || f()) && b(
|
|
1173
|
+
(((M = n()) == null ? void 0 : M.length) > 0 || f()) && b(o);
|
|
1188
1174
|
});
|
|
1189
1175
|
}
|
|
1190
|
-
m(u),
|
|
1191
|
-
var
|
|
1176
|
+
m(u), We("innerWidth", (b) => et(s, At(b))), x(e, u);
|
|
1177
|
+
var S = tt({
|
|
1192
1178
|
get subNavigation() {
|
|
1193
1179
|
return n();
|
|
1194
1180
|
},
|
|
1195
1181
|
set subNavigation(b) {
|
|
1196
|
-
n(b),
|
|
1182
|
+
n(b), Z();
|
|
1197
1183
|
},
|
|
1198
1184
|
get pageTitle() {
|
|
1199
1185
|
return f();
|
|
1200
1186
|
},
|
|
1201
1187
|
set pageTitle(b) {
|
|
1202
|
-
f(b),
|
|
1188
|
+
f(b), Z();
|
|
1203
1189
|
},
|
|
1204
1190
|
get pageURL() {
|
|
1205
1191
|
return C();
|
|
1206
1192
|
},
|
|
1207
1193
|
set pageURL(b) {
|
|
1208
|
-
C(b),
|
|
1194
|
+
C(b), Z();
|
|
1209
1195
|
},
|
|
1210
1196
|
get variant() {
|
|
1211
|
-
return
|
|
1197
|
+
return p();
|
|
1212
1198
|
},
|
|
1213
1199
|
set variant(b) {
|
|
1214
|
-
|
|
1200
|
+
p(b), Z();
|
|
1215
1201
|
}
|
|
1216
1202
|
});
|
|
1217
|
-
return
|
|
1203
|
+
return l(), S;
|
|
1218
1204
|
}
|
|
1219
|
-
customElements.define("uofg-header",
|
|
1220
|
-
|
|
1205
|
+
customElements.define("uofg-header", U(
|
|
1206
|
+
Ba,
|
|
1221
1207
|
{
|
|
1222
1208
|
pageTitle: {
|
|
1223
1209
|
attribute: "page-title",
|
|
@@ -1242,8 +1228,8 @@ customElements.define("uofg-header", P(
|
|
|
1242
1228
|
(e) => class extends e {
|
|
1243
1229
|
constructor() {
|
|
1244
1230
|
super();
|
|
1245
|
-
|
|
1246
|
-
|
|
1231
|
+
wt(this, "subNavigation", []);
|
|
1232
|
+
ze(this.shadowRoot);
|
|
1247
1233
|
}
|
|
1248
1234
|
connectedCallback() {
|
|
1249
1235
|
super.connectedCallback(), this.updateSubNavigation(), this.observer ?? (this.observer = new MutationObserver(() => {
|
|
@@ -1254,32 +1240,32 @@ customElements.define("uofg-header", P(
|
|
|
1254
1240
|
super.disconnectedCallback(), this.observer.disconnect();
|
|
1255
1241
|
}
|
|
1256
1242
|
updateSubNavigation() {
|
|
1257
|
-
const a = (
|
|
1258
|
-
const
|
|
1259
|
-
return
|
|
1260
|
-
href:
|
|
1261
|
-
text:
|
|
1262
|
-
attributes:
|
|
1243
|
+
const a = (l) => {
|
|
1244
|
+
const d = {};
|
|
1245
|
+
return l.getAttributeNames().filter((n) => n !== "href").forEach((n) => d[n] = l.getAttribute(n)), {
|
|
1246
|
+
href: l.getAttribute("href"),
|
|
1247
|
+
text: l.textContent,
|
|
1248
|
+
attributes: d
|
|
1263
1249
|
};
|
|
1264
1250
|
};
|
|
1265
|
-
this.subNavigation = Array.from(this.children).filter((
|
|
1266
|
-
switch (
|
|
1251
|
+
this.subNavigation = Array.from(this.children).filter((l) => l.tagName === "A" || l.tagName === "UL").map((l) => {
|
|
1252
|
+
switch (l.tagName) {
|
|
1267
1253
|
case "A":
|
|
1268
|
-
return a(
|
|
1254
|
+
return a(l);
|
|
1269
1255
|
case "UL":
|
|
1270
|
-
const
|
|
1271
|
-
title:
|
|
1272
|
-
links: Array.from(
|
|
1256
|
+
const d = {
|
|
1257
|
+
title: l.getAttribute("data-title"),
|
|
1258
|
+
links: Array.from(l.querySelectorAll("a")).map(a)
|
|
1273
1259
|
};
|
|
1274
|
-
return
|
|
1275
|
-
(n, f) => (f.text.length >
|
|
1260
|
+
return d.wrapContent = d.links.reduce(
|
|
1261
|
+
(n, f) => (f.text.length > za && (n = !0), n),
|
|
1276
1262
|
!1
|
|
1277
|
-
),
|
|
1263
|
+
), d;
|
|
1278
1264
|
}
|
|
1279
|
-
}).filter((
|
|
1265
|
+
}).filter((l) => !!l);
|
|
1280
1266
|
}
|
|
1281
1267
|
}
|
|
1282
1268
|
));
|
|
1283
1269
|
export {
|
|
1284
|
-
|
|
1270
|
+
Ba as default
|
|
1285
1271
|
};
|