@uoguelph/web-components 1.9.0-rc.8 → 1.9.1-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/uofg-web-components/bundle-mjs-BTgoI2Ah.js +2439 -0
- package/dist/uofg-web-components/legacy-BVWTAdcf.js +53 -0
- package/dist/uofg-web-components/{slot-C9Xuadhw.js → slot-E9j-JIta.js} +1 -1
- package/dist/uofg-web-components/uofg-alert.esm.js +31 -29
- package/dist/uofg-web-components/uofg-back-to-top.esm.js +19 -19
- package/dist/uofg-web-components/uofg-footer.esm.js +164 -157
- package/dist/uofg-web-components/uofg-header.esm.js +667 -644
- package/dist/uofg-web-components/uofg-modal.esm.js +55 -47
- package/dist/uofg-web-components/uofg-web-components.css +1 -1
- package/dist/uofg-web-components/uofg-web-components.esm.js +6 -6
- package/dist/uofg-web-components/{window-CLG-P9gm.js → window-Bnb7gJSm.js} +1 -1
- package/package.json +25 -47
- package/dist/uofg-web-components/bundle-mjs-BpzLJ4dA.js +0 -17
- package/dist/uofg-web-components/font-awesome-icon-DS3QHgPg.js +0 -2467
- package/dist/uofg-web-components/legacy-znqGHd23.js +0 -53
|
@@ -1,57 +1,55 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var ve = Object.defineProperty;
|
|
2
|
+
var Tt = (e) => {
|
|
3
3
|
throw TypeError(e);
|
|
4
4
|
};
|
|
5
|
-
var
|
|
6
|
-
var wt = (e, t, a) =>
|
|
7
|
-
var O = (e, t, a) => (Mt(e, t, "read from private field"), a ? a.call(e) : t.get(e)),
|
|
8
|
-
import {
|
|
9
|
-
import { a as
|
|
10
|
-
import { s as
|
|
11
|
-
|
|
12
|
-
function Be(e, t, a, l, d, n) {
|
|
5
|
+
var fe = (e, t, a) => t in e ? ve(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
|
|
6
|
+
var wt = (e, t, a) => fe(e, typeof t != "symbol" ? t + "" : t, a), Mt = (e, t, a) => t.has(e) || Tt("Cannot " + a);
|
|
7
|
+
var O = (e, t, a) => (Mt(e, t, "read from private field"), a ? a.call(e) : t.get(e)), it = (e, t, a) => t.has(e) ? Tt("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, a), kt = (e, t, a, r) => (Mt(e, t, "write to private field"), r ? r.call(e, a) : t.set(e, a), a), Ft = (e, t, a) => (Mt(e, t, "access private method"), a);
|
|
8
|
+
import { E as K, G as Pt, Y as Ct, Z as de, _ as Ot, $ as he, a0 as pe, a1 as ge, a2 as be, a3 as xe, a4 as me, a5 as Rt, a6 as Ut, a7 as Lt, a8 as _e, a9 as ye, aa as we, ab as zt, y as Vt, A as gt, ac as Me, ad as ke, ae as Ce, af as $e, ag as Se, ah as Le, B as Ne, ai as et, aj as Wt, ak as Bt, al as Ae, am as $t, an as Ee, ao as Ve, u as Zt, m as Ze, c as U, e as X, p as V, t as $, h as w, g as z, X as H, a as E, ap as je, b as x, d as Y, k as Z, r as y, aq as R, ar as P, s as I, j as rt, C as q, as as He, at as Te, H as B, o as l, J as st, V as at, i as ot, au as lt, I as F, F as G, av as bt, K as xt, aw as jt, ax as mt, ay as _t, az as Dt, q as ct, v as tt, w as Nt, aA as Fe, aB as Pe, l as Re } from "./bundle-mjs-BTgoI2Ah.js";
|
|
9
|
+
import { a as Ue } from "./window-Bnb7gJSm.js";
|
|
10
|
+
import { s as qt, i as Ht } from "./legacy-BVWTAdcf.js";
|
|
11
|
+
function ze(e, t, a, r, h, o) {
|
|
13
12
|
let f = K;
|
|
14
|
-
K &&
|
|
15
|
-
var
|
|
16
|
-
K &&
|
|
17
|
-
|
|
13
|
+
K && Pt();
|
|
14
|
+
var k, b, s = null;
|
|
15
|
+
K && Ct.nodeType === 1 && (s = /** @type {Element} */
|
|
16
|
+
Ct, Pt());
|
|
18
17
|
var v = (
|
|
19
18
|
/** @type {TemplateNode} */
|
|
20
|
-
K ?
|
|
21
|
-
),
|
|
22
|
-
|
|
19
|
+
K ? Ct : e
|
|
20
|
+
), i;
|
|
21
|
+
de(() => {
|
|
23
22
|
const u = t() || null;
|
|
24
|
-
var
|
|
25
|
-
u !==
|
|
26
|
-
|
|
27
|
-
}) : u ===
|
|
28
|
-
s = K ? (
|
|
23
|
+
var c = u === "svg" ? pe : null;
|
|
24
|
+
u !== k && (i && (u === null ? _e(i, () => {
|
|
25
|
+
i = null, b = null;
|
|
26
|
+
}) : u === b ? ye(i) : (we(i), zt(!1))), u && u !== b && (i = he(() => {
|
|
27
|
+
if (s = K ? (
|
|
29
28
|
/** @type {Element} */
|
|
30
29
|
s
|
|
31
|
-
) :
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
var c = (
|
|
30
|
+
) : c ? document.createElementNS(c, u) : document.createElement(u), ge(s, s), r) {
|
|
31
|
+
K && be(u) && s.append(document.createComment(""));
|
|
32
|
+
var d = (
|
|
35
33
|
/** @type {TemplateNode} */
|
|
36
|
-
K ?
|
|
34
|
+
K ? xe(s) : s.appendChild(me())
|
|
37
35
|
);
|
|
38
|
-
K && (
|
|
36
|
+
K && (d === null ? Rt(!1) : Ut(d)), r(s, d);
|
|
39
37
|
}
|
|
40
38
|
Lt.nodes_end = s, v.before(s);
|
|
41
|
-
})),
|
|
42
|
-
},
|
|
39
|
+
})), k = u, k && (b = k), zt(!0));
|
|
40
|
+
}, Ot), f && (Rt(!0), Ut(v));
|
|
43
41
|
}
|
|
44
|
-
function
|
|
45
|
-
|
|
46
|
-
var
|
|
47
|
-
if (
|
|
42
|
+
function We(e, t, a) {
|
|
43
|
+
Vt(() => {
|
|
44
|
+
var r = gt(() => t(e, a == null ? void 0 : a()) || {});
|
|
45
|
+
if (r != null && r.destroy)
|
|
48
46
|
return () => (
|
|
49
47
|
/** @type {Function} */
|
|
50
|
-
|
|
48
|
+
r.destroy()
|
|
51
49
|
);
|
|
52
50
|
});
|
|
53
51
|
}
|
|
54
|
-
const
|
|
52
|
+
const Be = () => performance.now(), D = {
|
|
55
53
|
// don't access requestAnimationFrame eagerly outside method
|
|
56
54
|
// this allows basic testing of user code without JSDOM
|
|
57
55
|
// bunder will eval and remove ternary when the user's app is built
|
|
@@ -59,18 +57,18 @@ const Ie = () => performance.now(), D = {
|
|
|
59
57
|
/** @param {any} _ */
|
|
60
58
|
(e) => requestAnimationFrame(e)
|
|
61
59
|
),
|
|
62
|
-
now: () =>
|
|
60
|
+
now: () => Be(),
|
|
63
61
|
tasks: /* @__PURE__ */ new Set()
|
|
64
62
|
};
|
|
65
|
-
function
|
|
63
|
+
function Kt() {
|
|
66
64
|
const e = D.now();
|
|
67
65
|
D.tasks.forEach((t) => {
|
|
68
66
|
t.c(e) || (D.tasks.delete(t), t.f());
|
|
69
|
-
}), D.tasks.size !== 0 && D.tick(
|
|
67
|
+
}), D.tasks.size !== 0 && D.tick(Kt);
|
|
70
68
|
}
|
|
71
|
-
function
|
|
69
|
+
function qe(e) {
|
|
72
70
|
let t;
|
|
73
|
-
return D.tasks.size === 0 && D.tick(
|
|
71
|
+
return D.tasks.size === 0 && D.tick(Kt), {
|
|
74
72
|
promise: new Promise((a) => {
|
|
75
73
|
D.tasks.add(t = { c: e, f: a });
|
|
76
74
|
}),
|
|
@@ -80,9 +78,11 @@ function Ge(e) {
|
|
|
80
78
|
};
|
|
81
79
|
}
|
|
82
80
|
function ft(e, t) {
|
|
83
|
-
|
|
81
|
+
Se(() => {
|
|
82
|
+
e.dispatchEvent(new CustomEvent(t));
|
|
83
|
+
});
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function Ge(e) {
|
|
86
86
|
if (e === "float") return "cssFloat";
|
|
87
87
|
if (e === "offset") return "cssOffset";
|
|
88
88
|
if (e.startsWith("--")) return e;
|
|
@@ -94,76 +94,76 @@ function Oe(e) {
|
|
|
94
94
|
}
|
|
95
95
|
function Gt(e) {
|
|
96
96
|
const t = {}, a = e.split(";");
|
|
97
|
-
for (const
|
|
98
|
-
const [
|
|
99
|
-
if (!
|
|
100
|
-
const f =
|
|
101
|
-
t[f] =
|
|
97
|
+
for (const r of a) {
|
|
98
|
+
const [h, o] = r.split(":");
|
|
99
|
+
if (!h || o === void 0) break;
|
|
100
|
+
const f = Ge(h.trim());
|
|
101
|
+
t[f] = o.trim();
|
|
102
102
|
}
|
|
103
103
|
return t;
|
|
104
104
|
}
|
|
105
|
-
const
|
|
106
|
-
function
|
|
107
|
-
var
|
|
108
|
-
function
|
|
109
|
-
var
|
|
110
|
-
|
|
105
|
+
const Ie = (e) => e;
|
|
106
|
+
function Oe(e, t, a, r) {
|
|
107
|
+
var h = (e & $e) !== 0, o = "both", f, k = t.inert, b = t.style.overflow, s, v;
|
|
108
|
+
function i() {
|
|
109
|
+
var m = Ae, n = Lt;
|
|
110
|
+
Wt(null), Bt(null);
|
|
111
111
|
try {
|
|
112
|
-
return f ?? (f = a()(t, (
|
|
112
|
+
return f ?? (f = a()(t, (r == null ? void 0 : r()) ?? /** @type {P} */
|
|
113
113
|
{}, {
|
|
114
|
-
direction:
|
|
114
|
+
direction: o
|
|
115
115
|
}));
|
|
116
116
|
} finally {
|
|
117
|
-
|
|
117
|
+
Wt(m), Bt(n);
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
var u = {
|
|
121
|
-
is_global:
|
|
121
|
+
is_global: h,
|
|
122
122
|
in() {
|
|
123
|
-
t.inert =
|
|
124
|
-
ft(t, "introend"), s == null || s.abort(), s = f = void 0, t.style.overflow =
|
|
123
|
+
t.inert = k, ft(t, "introstart"), s = At(t, i(), v, 1, () => {
|
|
124
|
+
ft(t, "introend"), s == null || s.abort(), s = f = void 0, t.style.overflow = b;
|
|
125
125
|
});
|
|
126
126
|
},
|
|
127
|
-
out(
|
|
128
|
-
t.inert = !0, ft(t, "outrostart"), v =
|
|
129
|
-
ft(t, "outroend"),
|
|
127
|
+
out(m) {
|
|
128
|
+
t.inert = !0, ft(t, "outrostart"), v = At(t, i(), s, 0, () => {
|
|
129
|
+
ft(t, "outroend"), m == null || m();
|
|
130
130
|
});
|
|
131
131
|
},
|
|
132
132
|
stop: () => {
|
|
133
133
|
s == null || s.abort(), v == null || v.abort();
|
|
134
134
|
}
|
|
135
|
-
},
|
|
135
|
+
}, c = (
|
|
136
136
|
/** @type {Effect} */
|
|
137
137
|
Lt
|
|
138
138
|
);
|
|
139
|
-
if ((
|
|
140
|
-
var
|
|
141
|
-
if (!
|
|
142
|
-
for (var
|
|
139
|
+
if ((c.transitions ?? (c.transitions = [])).push(u), Me) {
|
|
140
|
+
var d = h;
|
|
141
|
+
if (!d) {
|
|
142
|
+
for (var p = (
|
|
143
143
|
/** @type {Effect | null} */
|
|
144
|
-
|
|
145
|
-
);
|
|
146
|
-
for (; (
|
|
144
|
+
c.parent
|
|
145
|
+
); p && (p.f & Ot) !== 0; )
|
|
146
|
+
for (; (p = p.parent) && (p.f & ke) === 0; )
|
|
147
147
|
;
|
|
148
|
-
|
|
148
|
+
d = !p || (p.f & Ce) !== 0;
|
|
149
149
|
}
|
|
150
|
-
|
|
150
|
+
d && Vt(() => {
|
|
151
151
|
gt(() => u.in());
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
|
-
function
|
|
156
|
-
var
|
|
155
|
+
function At(e, t, a, r, h) {
|
|
156
|
+
var o = r === 1;
|
|
157
157
|
if (Le(t)) {
|
|
158
|
-
var f,
|
|
158
|
+
var f, k = !1;
|
|
159
159
|
return Ne(() => {
|
|
160
|
-
if (!
|
|
161
|
-
var
|
|
162
|
-
f =
|
|
160
|
+
if (!k) {
|
|
161
|
+
var m = t({ direction: o ? "in" : "out" });
|
|
162
|
+
f = At(e, m, a, r, h);
|
|
163
163
|
}
|
|
164
164
|
}), {
|
|
165
165
|
abort: () => {
|
|
166
|
-
|
|
166
|
+
k = !0, f == null || f.abort();
|
|
167
167
|
},
|
|
168
168
|
deactivate: () => f.deactivate(),
|
|
169
169
|
reset: () => f.reset(),
|
|
@@ -171,110 +171,110 @@ function Et(e, t, a, l, d) {
|
|
|
171
171
|
};
|
|
172
172
|
}
|
|
173
173
|
if (a == null || a.deactivate(), !(t != null && t.duration))
|
|
174
|
-
return
|
|
175
|
-
abort:
|
|
176
|
-
deactivate:
|
|
177
|
-
reset:
|
|
178
|
-
t: () =>
|
|
174
|
+
return h(), {
|
|
175
|
+
abort: et,
|
|
176
|
+
deactivate: et,
|
|
177
|
+
reset: et,
|
|
178
|
+
t: () => r
|
|
179
179
|
};
|
|
180
|
-
const { delay:
|
|
180
|
+
const { delay: b = 0, css: s, tick: v, easing: i = Ie } = t;
|
|
181
181
|
var u = [];
|
|
182
|
-
if (
|
|
183
|
-
var
|
|
184
|
-
u.push(
|
|
182
|
+
if (o && a === void 0 && (v && v(0, 1), s)) {
|
|
183
|
+
var c = Gt(s(0, 1));
|
|
184
|
+
u.push(c, c);
|
|
185
185
|
}
|
|
186
|
-
var
|
|
187
|
-
return
|
|
188
|
-
var
|
|
186
|
+
var d = () => 1 - r, p = e.animate(u, { duration: b });
|
|
187
|
+
return p.onfinish = () => {
|
|
188
|
+
var m = (a == null ? void 0 : a.t()) ?? 1 - r;
|
|
189
189
|
a == null || a.abort();
|
|
190
|
-
var
|
|
190
|
+
var n = r - m, N = (
|
|
191
191
|
/** @type {number} */
|
|
192
|
-
t.duration * Math.abs(
|
|
193
|
-
),
|
|
194
|
-
if (
|
|
192
|
+
t.duration * Math.abs(n)
|
|
193
|
+
), _ = [];
|
|
194
|
+
if (N > 0) {
|
|
195
195
|
var M = !1;
|
|
196
196
|
if (s)
|
|
197
|
-
for (var
|
|
198
|
-
var
|
|
199
|
-
|
|
197
|
+
for (var L = Math.ceil(N / 16.666666666666668), S = 0; S <= L; S += 1) {
|
|
198
|
+
var g = m + n * i(S / L), C = Gt(s(g, 1 - g));
|
|
199
|
+
_.push(C), M || (M = C.overflow === "hidden");
|
|
200
200
|
}
|
|
201
|
-
M && (e.style.overflow = "hidden"),
|
|
202
|
-
var
|
|
201
|
+
M && (e.style.overflow = "hidden"), d = () => {
|
|
202
|
+
var A = (
|
|
203
203
|
/** @type {number} */
|
|
204
204
|
/** @type {globalThis.Animation} */
|
|
205
|
-
|
|
205
|
+
p.currentTime
|
|
206
206
|
);
|
|
207
|
-
return
|
|
208
|
-
}, v &&
|
|
209
|
-
if (
|
|
210
|
-
var
|
|
211
|
-
return v(
|
|
207
|
+
return m + n * i(A / N);
|
|
208
|
+
}, v && qe(() => {
|
|
209
|
+
if (p.playState !== "running") return !1;
|
|
210
|
+
var A = d();
|
|
211
|
+
return v(A, 1 - A), !0;
|
|
212
212
|
});
|
|
213
213
|
}
|
|
214
|
-
|
|
215
|
-
|
|
214
|
+
p = e.animate(_, { duration: N, fill: "forwards" }), p.onfinish = () => {
|
|
215
|
+
d = () => r, v == null || v(r, 1 - r), h();
|
|
216
216
|
};
|
|
217
217
|
}, {
|
|
218
218
|
abort: () => {
|
|
219
|
-
|
|
219
|
+
p && (p.cancel(), p.effect = null, p.onfinish = et);
|
|
220
220
|
},
|
|
221
221
|
deactivate: () => {
|
|
222
|
-
|
|
222
|
+
h = et;
|
|
223
223
|
},
|
|
224
224
|
reset: () => {
|
|
225
|
-
|
|
225
|
+
r === 0 && (v == null || v(1, 0));
|
|
226
226
|
},
|
|
227
|
-
t: () =>
|
|
227
|
+
t: () => d()
|
|
228
228
|
};
|
|
229
229
|
}
|
|
230
|
-
var J,
|
|
230
|
+
var J, nt, ut, ht, Jt;
|
|
231
231
|
const pt = class pt {
|
|
232
232
|
/** @param {ResizeObserverOptions} options */
|
|
233
233
|
constructor(t) {
|
|
234
|
-
|
|
234
|
+
it(this, ht);
|
|
235
235
|
/** */
|
|
236
|
-
|
|
236
|
+
it(this, J, /* @__PURE__ */ new WeakMap());
|
|
237
237
|
/** @type {ResizeObserver | undefined} */
|
|
238
|
-
|
|
238
|
+
it(this, nt);
|
|
239
239
|
/** @type {ResizeObserverOptions} */
|
|
240
|
-
|
|
241
|
-
|
|
240
|
+
it(this, ut);
|
|
241
|
+
kt(this, ut, t);
|
|
242
242
|
}
|
|
243
243
|
/**
|
|
244
244
|
* @param {Element} element
|
|
245
245
|
* @param {(entry: ResizeObserverEntry) => any} listener
|
|
246
246
|
*/
|
|
247
247
|
observe(t, a) {
|
|
248
|
-
var
|
|
249
|
-
return
|
|
250
|
-
var
|
|
251
|
-
|
|
248
|
+
var r = O(this, J).get(t) || /* @__PURE__ */ new Set();
|
|
249
|
+
return r.add(a), O(this, J).set(t, r), Ft(this, ht, Jt).call(this).observe(t, O(this, ut)), () => {
|
|
250
|
+
var h = O(this, J).get(t);
|
|
251
|
+
h.delete(a), h.size === 0 && (O(this, J).delete(t), O(this, nt).unobserve(t));
|
|
252
252
|
};
|
|
253
253
|
}
|
|
254
254
|
};
|
|
255
|
-
J = new WeakMap(),
|
|
256
|
-
return O(this,
|
|
255
|
+
J = new WeakMap(), nt = new WeakMap(), ut = new WeakMap(), ht = new WeakSet(), Jt = function() {
|
|
256
|
+
return O(this, nt) ?? kt(this, nt, new ResizeObserver(
|
|
257
257
|
/** @param {any} entries */
|
|
258
258
|
(t) => {
|
|
259
259
|
for (var a of t) {
|
|
260
260
|
pt.entries.set(a.target, a);
|
|
261
|
-
for (var
|
|
262
|
-
|
|
261
|
+
for (var r of O(this, J).get(a.target) || [])
|
|
262
|
+
r(a);
|
|
263
263
|
}
|
|
264
264
|
}
|
|
265
265
|
));
|
|
266
266
|
}, /** @static */
|
|
267
267
|
wt(pt, "entries", /* @__PURE__ */ new WeakMap());
|
|
268
|
-
let
|
|
269
|
-
var
|
|
268
|
+
let Et = pt;
|
|
269
|
+
var De = /* @__PURE__ */ new Et({
|
|
270
270
|
box: "border-box"
|
|
271
271
|
});
|
|
272
272
|
function dt(e, t, a) {
|
|
273
|
-
var
|
|
274
|
-
|
|
273
|
+
var r = De.observe(e, () => a(e[t]));
|
|
274
|
+
Vt(() => (gt(() => a(e[t])), r));
|
|
275
275
|
}
|
|
276
|
-
function
|
|
277
|
-
$t === null &&
|
|
276
|
+
function Ke(e) {
|
|
277
|
+
$t === null && Ee(), Ve && $t.l !== null ? Je($t).m.push(e) : Zt(() => {
|
|
278
278
|
const t = gt(e);
|
|
279
279
|
if (typeof t == "function") return (
|
|
280
280
|
/** @type {() => void} */
|
|
@@ -282,43 +282,43 @@ function Qe(e) {
|
|
|
282
282
|
);
|
|
283
283
|
});
|
|
284
284
|
}
|
|
285
|
-
function
|
|
285
|
+
function Je(e) {
|
|
286
286
|
var t = (
|
|
287
287
|
/** @type {ComponentContextLegacy} */
|
|
288
288
|
e.l
|
|
289
289
|
);
|
|
290
290
|
return t.u ?? (t.u = { a: [], b: [], m: [] });
|
|
291
291
|
}
|
|
292
|
-
function
|
|
292
|
+
function Qe(e) {
|
|
293
293
|
const t = e - 1;
|
|
294
294
|
return t * t * t + 1;
|
|
295
295
|
}
|
|
296
|
-
function
|
|
297
|
-
const
|
|
298
|
-
(
|
|
296
|
+
function It(e, { delay: t = 0, duration: a = 400, easing: r = Qe, axis: h = "y" } = {}) {
|
|
297
|
+
const o = getComputedStyle(e), f = +o.opacity, k = h === "y" ? "height" : "width", b = parseFloat(o[k]), s = h === "y" ? ["top", "bottom"] : ["left", "right"], v = s.map(
|
|
298
|
+
(n) => (
|
|
299
299
|
/** @type {'Left' | 'Right' | 'Top' | 'Bottom'} */
|
|
300
|
-
`${
|
|
300
|
+
`${n[0].toUpperCase()}${n.slice(1)}`
|
|
301
301
|
)
|
|
302
|
-
),
|
|
303
|
-
|
|
304
|
-
),
|
|
305
|
-
|
|
302
|
+
), i = parseFloat(o[`padding${v[0]}`]), u = parseFloat(o[`padding${v[1]}`]), c = parseFloat(o[`margin${v[0]}`]), d = parseFloat(o[`margin${v[1]}`]), p = parseFloat(
|
|
303
|
+
o[`border${v[0]}Width`]
|
|
304
|
+
), m = parseFloat(
|
|
305
|
+
o[`border${v[1]}Width`]
|
|
306
306
|
);
|
|
307
307
|
return {
|
|
308
308
|
delay: t,
|
|
309
309
|
duration: a,
|
|
310
|
-
easing:
|
|
311
|
-
css: (
|
|
310
|
+
easing: r,
|
|
311
|
+
css: (n) => `overflow: hidden;opacity: ${Math.min(n * 20, 1) * f};${k}: ${n * b}px;padding-${s[0]}: ${n * i}px;padding-${s[1]}: ${n * u}px;margin-${s[0]}: ${n * c}px;margin-${s[1]}: ${n * d}px;border-${s[0]}-width: ${n * p}px;border-${s[1]}-width: ${n * m}px;min-${k}: 0`
|
|
312
312
|
};
|
|
313
313
|
}
|
|
314
|
-
function
|
|
314
|
+
function Xe(e) {
|
|
315
315
|
return e < 0.5 ? 4 * e * e * e : 0.5 * Math.pow(2 * e - 2, 3) + 1;
|
|
316
316
|
}
|
|
317
317
|
const St = (e) => {
|
|
318
|
-
const t = function(
|
|
319
|
-
e.contains(
|
|
320
|
-
}, a = function(
|
|
321
|
-
e.contains(
|
|
318
|
+
const t = function(r) {
|
|
319
|
+
e.contains(r.relatedTarget) || e.dispatchEvent(new CustomEvent("focusoutside", { bubbles: !1 }));
|
|
320
|
+
}, a = function(r) {
|
|
321
|
+
e.contains(r.relatedTarget) || e.dispatchEvent(new CustomEvent("focusinside", { bubbles: !1 }));
|
|
322
322
|
};
|
|
323
323
|
return e.addEventListener("focusin", a), e.addEventListener("focusout", t), {
|
|
324
324
|
destroy() {
|
|
@@ -326,99 +326,98 @@ const St = (e) => {
|
|
|
326
326
|
}
|
|
327
327
|
};
|
|
328
328
|
};
|
|
329
|
-
var
|
|
329
|
+
var Ye = (e, t) => {
|
|
330
330
|
t(!t()), e.target.focus();
|
|
331
|
-
},
|
|
331
|
+
}, ta = $('<div tabindex="-1"><button aria-haspopup="true"><!></button> <!></div>');
|
|
332
332
|
function Q(e, t) {
|
|
333
|
-
|
|
334
|
-
let a = V(t, "class", 7),
|
|
335
|
-
var u =
|
|
336
|
-
|
|
337
|
-
var
|
|
338
|
-
|
|
339
|
-
var
|
|
333
|
+
X(t, !0);
|
|
334
|
+
let a = V(t, "class", 7), r = V(t, "buttonClass", 7, ""), h = V(t, "contentClass", 7, ""), o = V(t, "open", 15, !1), f = V(t, "as", 7, "div"), k = V(t, "transition", 7, It), b = V(t, "autoCollapse", 7, !0), s = V(t, "label", 7), v = V(t, "button", 7), i = V(t, "children", 7);
|
|
335
|
+
var u = ta(), c = w(u);
|
|
336
|
+
c.__click = [Ye, o];
|
|
337
|
+
var d = w(c);
|
|
338
|
+
qt(d, () => v() ?? et), y(c);
|
|
339
|
+
var p = z(c, 2);
|
|
340
340
|
{
|
|
341
|
-
var
|
|
342
|
-
var
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
}), x(o, S);
|
|
341
|
+
var m = (n) => {
|
|
342
|
+
var N = R(), _ = P(N);
|
|
343
|
+
ze(_, f, !1, (M, L) => {
|
|
344
|
+
E(() => I(M, 0, rt(h()))), Oe(3, M, k, () => ({ duration: 200, easing: Xe }));
|
|
345
|
+
var S = R(), g = P(S);
|
|
346
|
+
qt(g, () => i() ?? et), x(L, S);
|
|
347
|
+
}), x(n, N);
|
|
349
348
|
};
|
|
350
|
-
|
|
351
|
-
|
|
349
|
+
H(p, (n) => {
|
|
350
|
+
o() && n(m);
|
|
352
351
|
});
|
|
353
352
|
}
|
|
354
|
-
return
|
|
355
|
-
|
|
356
|
-
}),
|
|
357
|
-
|
|
358
|
-
}), x(e, u),
|
|
353
|
+
return y(u), We(u, (n) => St == null ? void 0 : St(n)), E(() => {
|
|
354
|
+
I(u, 1, rt(a())), q(u, "data-expanded", o()), I(c, 1, rt(r())), q(c, "aria-expanded", o()), q(c, "aria-label", s());
|
|
355
|
+
}), je("focusoutside", u, () => {
|
|
356
|
+
b() && o(!1);
|
|
357
|
+
}), x(e, u), Y({
|
|
359
358
|
get class() {
|
|
360
359
|
return a();
|
|
361
360
|
},
|
|
362
|
-
set class(
|
|
363
|
-
a(
|
|
361
|
+
set class(n) {
|
|
362
|
+
a(n), Z();
|
|
364
363
|
},
|
|
365
364
|
get buttonClass() {
|
|
366
|
-
return
|
|
365
|
+
return r();
|
|
367
366
|
},
|
|
368
|
-
set buttonClass(
|
|
369
|
-
|
|
367
|
+
set buttonClass(n = "") {
|
|
368
|
+
r(n), Z();
|
|
370
369
|
},
|
|
371
370
|
get contentClass() {
|
|
372
|
-
return
|
|
371
|
+
return h();
|
|
373
372
|
},
|
|
374
|
-
set contentClass(
|
|
375
|
-
|
|
373
|
+
set contentClass(n = "") {
|
|
374
|
+
h(n), Z();
|
|
376
375
|
},
|
|
377
376
|
get open() {
|
|
378
|
-
return
|
|
377
|
+
return o();
|
|
379
378
|
},
|
|
380
|
-
set open(
|
|
381
|
-
n
|
|
379
|
+
set open(n = !1) {
|
|
380
|
+
o(n), Z();
|
|
382
381
|
},
|
|
383
382
|
get as() {
|
|
384
383
|
return f();
|
|
385
384
|
},
|
|
386
|
-
set as(
|
|
387
|
-
f(
|
|
385
|
+
set as(n = "div") {
|
|
386
|
+
f(n), Z();
|
|
388
387
|
},
|
|
389
388
|
get transition() {
|
|
390
|
-
return
|
|
389
|
+
return k();
|
|
391
390
|
},
|
|
392
|
-
set transition(
|
|
393
|
-
|
|
391
|
+
set transition(n = It) {
|
|
392
|
+
k(n), Z();
|
|
394
393
|
},
|
|
395
394
|
get autoCollapse() {
|
|
396
|
-
return
|
|
395
|
+
return b();
|
|
397
396
|
},
|
|
398
|
-
set autoCollapse(
|
|
399
|
-
|
|
397
|
+
set autoCollapse(n = !0) {
|
|
398
|
+
b(n), Z();
|
|
400
399
|
},
|
|
401
400
|
get label() {
|
|
402
401
|
return s();
|
|
403
402
|
},
|
|
404
|
-
set label(
|
|
405
|
-
s(
|
|
403
|
+
set label(n) {
|
|
404
|
+
s(n), Z();
|
|
406
405
|
},
|
|
407
406
|
get button() {
|
|
408
407
|
return v();
|
|
409
408
|
},
|
|
410
|
-
set button(
|
|
411
|
-
v(
|
|
409
|
+
set button(n) {
|
|
410
|
+
v(n), Z();
|
|
412
411
|
},
|
|
413
412
|
get children() {
|
|
414
|
-
return
|
|
413
|
+
return i();
|
|
415
414
|
},
|
|
416
|
-
set children(
|
|
417
|
-
|
|
415
|
+
set children(n) {
|
|
416
|
+
i(n), Z();
|
|
418
417
|
}
|
|
419
418
|
});
|
|
420
419
|
}
|
|
421
|
-
|
|
420
|
+
Ze(["click"]);
|
|
422
421
|
U(
|
|
423
422
|
Q,
|
|
424
423
|
{
|
|
@@ -437,7 +436,7 @@ U(
|
|
|
437
436
|
[],
|
|
438
437
|
!0
|
|
439
438
|
);
|
|
440
|
-
const
|
|
439
|
+
const Qt = [
|
|
441
440
|
{
|
|
442
441
|
text: "About",
|
|
443
442
|
href: "https://uoguelph.ca/about"
|
|
@@ -461,10 +460,10 @@ const Yt = [
|
|
|
461
460
|
{
|
|
462
461
|
text: "Search the University of Guelph",
|
|
463
462
|
href: "https://uoguelph.ca/search",
|
|
464
|
-
icon:
|
|
463
|
+
icon: He,
|
|
465
464
|
excludeFromMainMenu: !0
|
|
466
465
|
}
|
|
467
|
-
],
|
|
466
|
+
], Xt = [
|
|
468
467
|
{
|
|
469
468
|
text: "Give",
|
|
470
469
|
href: "https://bbis.alumni.uoguelph.ca/BBIS_Cannon/give/uofg"
|
|
@@ -527,90 +526,102 @@ const Yt = [
|
|
|
527
526
|
href: "https://gryphlife.uoguelph.ca/"
|
|
528
527
|
}
|
|
529
528
|
],
|
|
530
|
-
icon:
|
|
529
|
+
icon: Te,
|
|
531
530
|
excludeFromMainMenu: !0
|
|
532
531
|
}
|
|
533
532
|
];
|
|
534
|
-
var
|
|
535
|
-
function
|
|
536
|
-
|
|
537
|
-
var a =
|
|
538
|
-
|
|
539
|
-
var f =
|
|
533
|
+
var ea = $("<span> </span> <!>", 1), aa = $("<span><!></span>"), ra = $("<li><a> </a></li>"), sa = $("<a> </a>"), la = $("<li><!></li>"), oa = $('<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>');
|
|
534
|
+
function Yt(e, t) {
|
|
535
|
+
X(t, !1), Ht();
|
|
536
|
+
var a = oa(), r = w(a);
|
|
537
|
+
B(r, 5, () => Xt, (h) => h.text || h.title, (h, o) => {
|
|
538
|
+
var f = la(), k = w(f);
|
|
540
539
|
{
|
|
541
|
-
var
|
|
542
|
-
|
|
540
|
+
var b = (v) => {
|
|
541
|
+
const i = at(() => ot("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", l(o).icon && "[&_svg]:aria-expanded:rotate-180)} aspect-square")), u = at(() => l(o).icon ? l(o).text : void 0);
|
|
543
542
|
Q(v, {
|
|
544
543
|
class: "relative h-full",
|
|
545
544
|
get buttonClass() {
|
|
546
|
-
return
|
|
545
|
+
return l(i);
|
|
547
546
|
},
|
|
548
547
|
contentClass: "absolute right-0 top-full z-50 flex min-w-[20rem] flex-col bg-grey-muted text-grey-muted-contrast [&>li]:contents",
|
|
549
548
|
as: "ul",
|
|
550
549
|
get label() {
|
|
551
|
-
return
|
|
550
|
+
return l(u);
|
|
552
551
|
},
|
|
553
|
-
button: (
|
|
554
|
-
var
|
|
552
|
+
button: (d) => {
|
|
553
|
+
var p = aa();
|
|
554
|
+
let m;
|
|
555
|
+
var n = w(p);
|
|
555
556
|
{
|
|
556
|
-
var
|
|
557
|
-
G(
|
|
557
|
+
var N = (M) => {
|
|
558
|
+
G(M, {
|
|
558
559
|
get icon() {
|
|
559
|
-
return
|
|
560
|
+
return l(o).icon;
|
|
560
561
|
}
|
|
561
562
|
});
|
|
562
|
-
},
|
|
563
|
-
var
|
|
564
|
-
|
|
565
|
-
var
|
|
566
|
-
G(
|
|
563
|
+
}, _ = (M) => {
|
|
564
|
+
var L = ea(), S = P(L), g = w(S, !0);
|
|
565
|
+
y(S);
|
|
566
|
+
var C = z(S, 2);
|
|
567
|
+
G(C, { icon: bt }), E(() => F(g, l(o).text)), x(M, L);
|
|
567
568
|
};
|
|
568
|
-
|
|
569
|
-
|
|
569
|
+
H(n, (M) => {
|
|
570
|
+
l(o).icon ? M(N) : M(_, !1);
|
|
570
571
|
});
|
|
571
572
|
}
|
|
572
|
-
|
|
573
|
+
y(p), E(() => m = I(p, 1, "flex items-center gap-2 [&>svg]:transition-transform", null, m, { "bg-yellow": l(o).highlight })), x(d, p);
|
|
573
574
|
},
|
|
574
|
-
children: (
|
|
575
|
-
var
|
|
576
|
-
|
|
577
|
-
var M =
|
|
578
|
-
let
|
|
579
|
-
var
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
575
|
+
children: (d, p) => {
|
|
576
|
+
var m = R(), n = P(m);
|
|
577
|
+
B(n, 1, () => l(o).links, st, (N, _) => {
|
|
578
|
+
var M = ra(), L = w(M);
|
|
579
|
+
let S;
|
|
580
|
+
var g = w(L, !0);
|
|
581
|
+
y(L), y(M), E(
|
|
582
|
+
(C) => {
|
|
583
|
+
S = lt(L, S, {
|
|
584
|
+
class: C,
|
|
585
|
+
href: l(_).href,
|
|
586
|
+
...l(_).attributes
|
|
587
|
+
}), F(g, l(_).text);
|
|
588
|
+
},
|
|
589
|
+
[
|
|
590
|
+
() => ot("border-grey/50 border-0 border-b border-solid p-2 transition-colors hover:bg-yellow hover:text-yellow-contrast", l(o).highlight && "bg-yellow text-yellow-contrast")
|
|
591
|
+
],
|
|
592
|
+
at
|
|
593
|
+
), x(N, M);
|
|
594
|
+
}), x(d, m);
|
|
588
595
|
},
|
|
589
596
|
$$slots: { button: !0, default: !0 }
|
|
590
597
|
});
|
|
591
598
|
}, s = (v) => {
|
|
592
|
-
var
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
599
|
+
var i = sa(), u = w(i, !0);
|
|
600
|
+
y(i), E(
|
|
601
|
+
(c) => {
|
|
602
|
+
I(i, 1, rt(c)), q(i, "href", l(o).href), F(u, l(o).text);
|
|
603
|
+
},
|
|
604
|
+
[
|
|
605
|
+
() => ot("hover:bg-grey-muted hover:text-grey-muted-contrast flex h-full items-center justify-center gap-2 px-2 transition-colors", l(o).highlight && "bg-yellow text-yellow-contrast")
|
|
606
|
+
],
|
|
607
|
+
at
|
|
608
|
+
), x(v, i);
|
|
598
609
|
};
|
|
599
|
-
|
|
600
|
-
|
|
610
|
+
H(k, (v) => {
|
|
611
|
+
l(o).links ? v(b) : v(s, !1);
|
|
601
612
|
});
|
|
602
613
|
}
|
|
603
|
-
|
|
604
|
-
}),
|
|
614
|
+
y(f), x(h, f);
|
|
615
|
+
}), y(r), y(a), x(e, a), Y();
|
|
605
616
|
}
|
|
606
|
-
U(
|
|
607
|
-
var
|
|
608
|
-
function
|
|
609
|
-
var t =
|
|
617
|
+
U(Yt, {}, [], [], !0);
|
|
618
|
+
var na = 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>');
|
|
619
|
+
function te(e) {
|
|
620
|
+
var t = na();
|
|
610
621
|
x(e, t);
|
|
611
622
|
}
|
|
612
|
-
U(
|
|
613
|
-
var
|
|
623
|
+
U(te, {}, [], [], !0);
|
|
624
|
+
var ia = 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 {
|
|
614
625
|
fill: #fff;
|
|
615
626
|
font-family: MyriadPro-Regular, 'Myriad Pro';
|
|
616
627
|
font-size: 44.28px;
|
|
@@ -619,12 +630,12 @@ var ua = xt(`<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000
|
|
|
619
630
|
.cls-2 {
|
|
620
631
|
fill: #e51937;
|
|
621
632
|
}</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>`);
|
|
622
|
-
function
|
|
623
|
-
var t =
|
|
633
|
+
function ee(e) {
|
|
634
|
+
var t = ia();
|
|
624
635
|
x(e, t);
|
|
625
636
|
}
|
|
626
|
-
U(
|
|
627
|
-
var
|
|
637
|
+
U(ee, {}, [], [], !0);
|
|
638
|
+
var ca = 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 {
|
|
628
639
|
fill: #fff;
|
|
629
640
|
font-family: MyriadPro-Regular, 'Myriad Pro';
|
|
630
641
|
font-size: 44.28px;
|
|
@@ -637,573 +648,585 @@ var va = xt(`<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000
|
|
|
637
648
|
.cls-3 {
|
|
638
649
|
letter-spacing: 0em;
|
|
639
650
|
}</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>`);
|
|
640
|
-
function
|
|
641
|
-
var t =
|
|
651
|
+
function ae(e) {
|
|
652
|
+
var t = ca();
|
|
642
653
|
x(e, t);
|
|
643
654
|
}
|
|
644
|
-
U(
|
|
645
|
-
var
|
|
646
|
-
function
|
|
647
|
-
|
|
648
|
-
const [a,
|
|
649
|
-
|
|
650
|
-
var f =
|
|
655
|
+
U(ae, {}, [], [], !0);
|
|
656
|
+
var ua = $('<div class="left-0 h-full w-[7.5rem] min-[1320px]:absolute [&>svg]:block [&>svg]:h-full [&>svg]:w-auto"><!></div>'), va = $('<div class="flex w-fit"><!> <a href="https://www.uoguelph.ca" aria-label="University of Guelph Home Page"><!></a></div>');
|
|
657
|
+
function re(e, t) {
|
|
658
|
+
X(t, !1);
|
|
659
|
+
const [a, r] = _t(), h = () => mt(o, "$headerState", a), o = jt("header-state");
|
|
660
|
+
Ht();
|
|
661
|
+
var f = va(), k = w(f);
|
|
651
662
|
{
|
|
652
|
-
var
|
|
653
|
-
var
|
|
654
|
-
|
|
663
|
+
var b = (c) => {
|
|
664
|
+
var d = ua(), p = w(d);
|
|
665
|
+
te(p), y(d), x(c, d);
|
|
655
666
|
};
|
|
656
|
-
|
|
657
|
-
var
|
|
658
|
-
((
|
|
667
|
+
H(k, (c) => {
|
|
668
|
+
var d;
|
|
669
|
+
((d = h()) == null ? void 0 : d.mode) === "desktop" && c(b);
|
|
659
670
|
});
|
|
660
671
|
}
|
|
661
|
-
var s =
|
|
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]"));
|
|
665
|
-
});
|
|
666
|
-
var g = y(s);
|
|
672
|
+
var s = z(k, 2), v = w(s);
|
|
667
673
|
{
|
|
668
|
-
var
|
|
669
|
-
|
|
670
|
-
},
|
|
671
|
-
|
|
674
|
+
var i = (c) => {
|
|
675
|
+
ae(c);
|
|
676
|
+
}, u = (c) => {
|
|
677
|
+
ee(c);
|
|
672
678
|
};
|
|
673
|
-
|
|
674
|
-
var
|
|
675
|
-
((
|
|
679
|
+
H(v, (c) => {
|
|
680
|
+
var d;
|
|
681
|
+
((d = h()) == null ? void 0 : d.mode) === "desktop" ? c(i) : c(u, !1);
|
|
676
682
|
});
|
|
677
683
|
}
|
|
678
|
-
|
|
684
|
+
y(s), y(f), E(
|
|
685
|
+
(c) => I(s, 1, rt(c)),
|
|
686
|
+
[
|
|
687
|
+
() => {
|
|
688
|
+
var c, d;
|
|
689
|
+
return ot("flex h-full w-fit items-center transition-opacity hover:opacity-75 focus:opacity-75 min-[1320px]:absolute min-[1320px]:left-[max(calc((100%-1320px)/2),7.5rem)] [&>svg]:block [&>svg]:w-auto", ((c = h()) == null ? void 0 : c.mode) === "desktop" ? "[&>svg]:h-22" : ((d = h()) == null ? void 0 : d.variant) === "dual-brand" ? "px-2 [&>svg]:h-[7.5rem]" : "[&>svg]:h-[5rem]");
|
|
690
|
+
}
|
|
691
|
+
],
|
|
692
|
+
at
|
|
693
|
+
), x(e, f), Y(), r();
|
|
679
694
|
}
|
|
680
|
-
U(
|
|
681
|
-
var
|
|
682
|
-
function
|
|
683
|
-
var t =
|
|
695
|
+
U(re, {}, [], [], !0);
|
|
696
|
+
var fa = 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>');
|
|
697
|
+
function se(e) {
|
|
698
|
+
var t = fa();
|
|
684
699
|
x(e, t);
|
|
685
700
|
}
|
|
686
|
-
U(
|
|
687
|
-
var
|
|
688
|
-
function
|
|
689
|
-
var t =
|
|
690
|
-
|
|
691
|
-
var
|
|
701
|
+
U(se, {}, [], [], !0);
|
|
702
|
+
var da = $('<a class="text-yellow-text flex h-full items-center justify-center border-0 border-b-8 border-solid border-transparent p-4 pt-8 pb-6 transition-colors hover:border-yellow hover:text-white [&>svg]:fill-current"><!></a>'), ha = $('<a class="hover:text-yellow-text flex h-full items-center justify-center border-0 border-b-8 border-solid border-transparent p-4 pt-6 text-center transition-colors hover:border-yellow"> </a>'), pa = $("<li><!></li>"), ga = $('<ul class="ml-auto flex text-xl [&>li]:contents"></ul>');
|
|
703
|
+
function le(e) {
|
|
704
|
+
var t = ga();
|
|
705
|
+
B(t, 5, () => Qt, st, (a, r) => {
|
|
706
|
+
var h = pa(), o = w(h);
|
|
692
707
|
{
|
|
693
|
-
var f = (
|
|
694
|
-
var s =
|
|
708
|
+
var f = (b) => {
|
|
709
|
+
var s = da(), v = w(s);
|
|
695
710
|
G(v, {
|
|
696
711
|
get icon() {
|
|
697
|
-
return r
|
|
712
|
+
return l(r).icon;
|
|
698
713
|
}
|
|
699
|
-
}),
|
|
700
|
-
|
|
701
|
-
}), x(
|
|
702
|
-
},
|
|
703
|
-
var s =
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
}), x(
|
|
714
|
+
}), y(s), E(() => {
|
|
715
|
+
q(s, "href", l(r).href), q(s, "aria-label", l(r).text);
|
|
716
|
+
}), x(b, s);
|
|
717
|
+
}, k = (b) => {
|
|
718
|
+
var s = ha(), v = w(s, !0);
|
|
719
|
+
y(s), E(() => {
|
|
720
|
+
q(s, "href", l(r).href), F(v, l(r).text);
|
|
721
|
+
}), x(b, s);
|
|
707
722
|
};
|
|
708
|
-
|
|
709
|
-
r
|
|
723
|
+
H(o, (b) => {
|
|
724
|
+
l(r).icon ? b(f) : b(k, !1);
|
|
710
725
|
});
|
|
711
726
|
}
|
|
712
|
-
|
|
713
|
-
}),
|
|
727
|
+
y(h), x(a, h);
|
|
728
|
+
}), y(t), x(e, t);
|
|
714
729
|
}
|
|
715
|
-
U(
|
|
716
|
-
var
|
|
717
|
-
function
|
|
718
|
-
const t = [...
|
|
719
|
-
var
|
|
720
|
-
|
|
721
|
-
var v =
|
|
730
|
+
U(le, {}, [], [], !0);
|
|
731
|
+
var ba = $('<li class="[&>*]:first:mt-4 [&>*]:last:mb-4"><a> </a></li>'), xa = $('<a class="flex aspect-square h-full items-center justify-center gap-2 px-4 transition-colors hover:bg-white hover:text-black focus:bg-white focus:text-black aria-expanded:bg-white aria-expanded:text-black"><!></a>'), ma = $('<li data-testid="outer-link"><!></li>'), _a = $('<span><span class="mr-auto"> </span> <!></span>'), ya = $("<li><a> </a></li>"), wa = $("<a> </a>"), Ma = $('<li class="[&>*]:first:mt-4 [&>*]:last:mb-4"><!></li>'), ka = $('<ul class="flex h-full [&>li]:contents"><!> <li><!></li></ul>');
|
|
732
|
+
function oe(e) {
|
|
733
|
+
const t = [...Qt, ...Xt], a = t.filter((b) => !(b != null && b.excludeFromMainMenu)), r = t.filter((b) => b == null ? void 0 : b.excludeFromMainMenu);
|
|
734
|
+
var h = ka(), o = w(h);
|
|
735
|
+
B(o, 1, () => r, (b) => b.text || b.title, (b, s) => {
|
|
736
|
+
var v = ma(), i = w(v);
|
|
722
737
|
{
|
|
723
|
-
var u = (
|
|
724
|
-
|
|
725
|
-
Q(
|
|
738
|
+
var u = (d) => {
|
|
739
|
+
const p = at(() => l(s).icon ? l(s).text : void 0);
|
|
740
|
+
Q(d, {
|
|
726
741
|
class: "h-full w-fit",
|
|
727
742
|
get label() {
|
|
728
|
-
return
|
|
743
|
+
return l(p);
|
|
729
744
|
},
|
|
730
745
|
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",
|
|
731
746
|
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",
|
|
732
747
|
as: "ul",
|
|
733
|
-
button: (
|
|
734
|
-
G(
|
|
748
|
+
button: (n) => {
|
|
749
|
+
G(n, {
|
|
735
750
|
get icon() {
|
|
736
|
-
return
|
|
751
|
+
return l(s).icon;
|
|
737
752
|
}
|
|
738
753
|
});
|
|
739
754
|
},
|
|
740
|
-
children: (
|
|
741
|
-
var
|
|
742
|
-
|
|
743
|
-
var
|
|
744
|
-
let
|
|
745
|
-
var
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
class: "border-0 border-b border-solid
|
|
749
|
-
href:
|
|
750
|
-
...
|
|
751
|
-
}),
|
|
752
|
-
}), x(
|
|
753
|
-
}), x(
|
|
755
|
+
children: (n, N) => {
|
|
756
|
+
var _ = R(), M = P(_);
|
|
757
|
+
B(M, 1, () => l(s).links, st, (L, S) => {
|
|
758
|
+
var g = ba(), C = w(g);
|
|
759
|
+
let A;
|
|
760
|
+
var T = w(C, !0);
|
|
761
|
+
y(C), y(g), E(() => {
|
|
762
|
+
A = lt(C, A, {
|
|
763
|
+
class: "border-grey/50 hover:bg-grey-muted border-0 border-b border-solid p-2 transition-colors",
|
|
764
|
+
href: l(S).href,
|
|
765
|
+
...l(S).attributes
|
|
766
|
+
}), F(T, l(S).text);
|
|
767
|
+
}), x(L, g);
|
|
768
|
+
}), x(n, _);
|
|
754
769
|
},
|
|
755
770
|
$$slots: { button: !0, default: !0 }
|
|
756
771
|
});
|
|
757
|
-
},
|
|
758
|
-
var
|
|
759
|
-
G(
|
|
772
|
+
}, c = (d) => {
|
|
773
|
+
var p = xa(), m = w(p);
|
|
774
|
+
G(m, {
|
|
760
775
|
get icon() {
|
|
761
|
-
return
|
|
776
|
+
return l(s).icon;
|
|
762
777
|
}
|
|
763
|
-
}),
|
|
764
|
-
|
|
765
|
-
}), x(
|
|
778
|
+
}), y(p), E(() => {
|
|
779
|
+
q(p, "href", l(s).href), q(p, "aria-label", l(s).text);
|
|
780
|
+
}), x(d, p);
|
|
766
781
|
};
|
|
767
|
-
|
|
768
|
-
|
|
782
|
+
H(i, (d) => {
|
|
783
|
+
l(s).links ? d(u) : d(c, !1);
|
|
769
784
|
});
|
|
770
785
|
}
|
|
771
|
-
|
|
786
|
+
y(v), x(b, v);
|
|
772
787
|
});
|
|
773
|
-
var f =
|
|
774
|
-
Q(
|
|
788
|
+
var f = z(o, 2), k = w(f);
|
|
789
|
+
Q(k, {
|
|
775
790
|
class: "h-full w-fit",
|
|
776
791
|
label: "Main Menu",
|
|
777
792
|
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",
|
|
778
793
|
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",
|
|
779
794
|
as: "ul",
|
|
780
795
|
button: (s) => {
|
|
781
|
-
G(s, { icon:
|
|
796
|
+
G(s, { icon: Dt });
|
|
782
797
|
},
|
|
783
798
|
children: (s, v) => {
|
|
784
|
-
var
|
|
785
|
-
|
|
786
|
-
var
|
|
799
|
+
var i = R(), u = P(i);
|
|
800
|
+
B(u, 1, () => a, st, (c, d) => {
|
|
801
|
+
var p = Ma(), m = w(p);
|
|
787
802
|
{
|
|
788
|
-
var
|
|
789
|
-
Q(
|
|
803
|
+
var n = (_) => {
|
|
804
|
+
Q(_, {
|
|
790
805
|
class: "relative w-full",
|
|
791
806
|
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",
|
|
792
807
|
contentClass: "flex flex-col w-full flex-col bg-white text-black [&>li]:contents",
|
|
793
808
|
as: "ul",
|
|
794
809
|
autoCollapse: !1,
|
|
795
|
-
button: (
|
|
796
|
-
var
|
|
797
|
-
|
|
798
|
-
var
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
}),
|
|
810
|
+
button: (L) => {
|
|
811
|
+
var S = _a();
|
|
812
|
+
let g;
|
|
813
|
+
var C = w(S), A = w(C, !0);
|
|
814
|
+
y(C);
|
|
815
|
+
var T = z(C, 2);
|
|
816
|
+
G(T, { icon: bt }), y(S), E(() => {
|
|
817
|
+
g = I(S, 1, "flex w-full items-center justify-between gap-2 [&>svg]:transition-transform", null, g, { "bg-yellow": l(d).highlight }), F(A, l(d).text);
|
|
818
|
+
}), x(L, S);
|
|
802
819
|
},
|
|
803
|
-
children: (
|
|
804
|
-
var
|
|
805
|
-
|
|
806
|
-
var
|
|
807
|
-
let
|
|
808
|
-
var yt =
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
class: "border-0 border-b border-solid
|
|
812
|
-
href:
|
|
813
|
-
...
|
|
814
|
-
}),
|
|
815
|
-
}), x(
|
|
816
|
-
}), x(
|
|
820
|
+
children: (L, S) => {
|
|
821
|
+
var g = R(), C = P(g);
|
|
822
|
+
B(C, 1, () => l(d).links, st, (A, T) => {
|
|
823
|
+
var W = ya(), j = w(W);
|
|
824
|
+
let vt;
|
|
825
|
+
var yt = w(j, !0);
|
|
826
|
+
y(j), y(W), E(() => {
|
|
827
|
+
vt = lt(j, vt, {
|
|
828
|
+
class: "border-grey/50 hover:bg-grey-muted border-0 border-b border-solid p-2 transition-colors",
|
|
829
|
+
href: l(T).href,
|
|
830
|
+
...l(T).attributes
|
|
831
|
+
}), F(yt, l(T).text);
|
|
832
|
+
}), x(A, W);
|
|
833
|
+
}), x(L, g);
|
|
817
834
|
},
|
|
818
835
|
$$slots: { button: !0, default: !0 }
|
|
819
836
|
});
|
|
820
|
-
},
|
|
821
|
-
var M =
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
837
|
+
}, N = (_) => {
|
|
838
|
+
var M = wa();
|
|
839
|
+
let L;
|
|
840
|
+
var S = w(M, !0);
|
|
841
|
+
y(M), E(() => {
|
|
842
|
+
L = I(M, 1, "border-grey/50 hover:bg-grey-muted focus:bg-grey-muted border-0 border-b border-solid p-2 transition-colors", null, L, { "bg-yellow": l(d).highlight }), q(M, "href", l(d).href), F(S, l(d).text);
|
|
843
|
+
}), x(_, M);
|
|
825
844
|
};
|
|
826
|
-
|
|
827
|
-
|
|
845
|
+
H(m, (_) => {
|
|
846
|
+
l(d).links ? _(n) : _(N, !1);
|
|
828
847
|
});
|
|
829
848
|
}
|
|
830
|
-
|
|
831
|
-
}), x(s,
|
|
849
|
+
y(p), x(c, p);
|
|
850
|
+
}), x(s, i);
|
|
832
851
|
},
|
|
833
852
|
$$slots: { button: !0, default: !0 }
|
|
834
|
-
}),
|
|
853
|
+
}), y(f), y(h), x(e, h);
|
|
835
854
|
}
|
|
836
|
-
U(
|
|
837
|
-
var
|
|
838
|
-
function
|
|
839
|
-
|
|
840
|
-
const [a,
|
|
841
|
-
|
|
842
|
-
var f =
|
|
843
|
-
|
|
844
|
-
|
|
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"));
|
|
846
|
-
});
|
|
847
|
-
var p = y(f);
|
|
848
|
-
le(p, {});
|
|
849
|
-
var s = W(p, 2);
|
|
855
|
+
U(oe, {}, [], [], !0);
|
|
856
|
+
var Ca = $('<a href="https://www.guelphhumber.ca" class="ml-auto h-full w-auto p-4 transition-opacity hover:opacity-75 focus:opacity-75"><span class="sr-only">University of Guelph-Humber Homepage</span> <!></a>'), $a = $('<nav aria-label="Primary"><!> <!></nav>');
|
|
857
|
+
function ne(e, t) {
|
|
858
|
+
X(t, !1);
|
|
859
|
+
const [a, r] = _t(), h = () => mt(o, "$headerState", a), o = jt("header-state");
|
|
860
|
+
Ht();
|
|
861
|
+
var f = $a(), k = w(f);
|
|
862
|
+
re(k, {});
|
|
863
|
+
var b = z(k, 2);
|
|
850
864
|
{
|
|
851
|
-
var
|
|
852
|
-
var
|
|
853
|
-
|
|
854
|
-
},
|
|
855
|
-
var
|
|
865
|
+
var s = (i) => {
|
|
866
|
+
var u = Ca(), c = z(w(u), 2);
|
|
867
|
+
se(c), y(u), x(i, u);
|
|
868
|
+
}, v = (i) => {
|
|
869
|
+
var u = R(), c = P(u);
|
|
856
870
|
{
|
|
857
|
-
var
|
|
858
|
-
|
|
859
|
-
},
|
|
860
|
-
|
|
871
|
+
var d = (m) => {
|
|
872
|
+
le(m);
|
|
873
|
+
}, p = (m) => {
|
|
874
|
+
oe(m);
|
|
861
875
|
};
|
|
862
|
-
|
|
876
|
+
H(
|
|
863
877
|
c,
|
|
864
|
-
(
|
|
865
|
-
var
|
|
866
|
-
((
|
|
878
|
+
(m) => {
|
|
879
|
+
var n;
|
|
880
|
+
((n = h()) == null ? void 0 : n.mode) === "desktop" ? m(d) : m(p, !1);
|
|
867
881
|
},
|
|
868
882
|
!0
|
|
869
883
|
);
|
|
870
884
|
}
|
|
871
|
-
x(
|
|
885
|
+
x(i, u);
|
|
872
886
|
};
|
|
873
|
-
|
|
874
|
-
var
|
|
875
|
-
((
|
|
887
|
+
H(b, (i) => {
|
|
888
|
+
var u;
|
|
889
|
+
((u = h()) == null ? void 0 : u.variant) === "dual-brand" ? i(s) : i(v, !1);
|
|
876
890
|
});
|
|
877
891
|
}
|
|
878
|
-
|
|
892
|
+
y(f), E(
|
|
893
|
+
(i) => I(f, 1, rt(i)),
|
|
894
|
+
[
|
|
895
|
+
() => {
|
|
896
|
+
var i;
|
|
897
|
+
return ot("relative flex w-full justify-between bg-black px-[calc((100%-1320px)/2)] text-lg text-black-contrast lg:h-25", ((i = h()) == null ? void 0 : i.variant) === "dual-brand" ? "h-[7.5rem]" : "h-12.5");
|
|
898
|
+
}
|
|
899
|
+
],
|
|
900
|
+
at
|
|
901
|
+
), x(e, f), Y(), r();
|
|
879
902
|
}
|
|
880
|
-
U(
|
|
881
|
-
var
|
|
882
|
-
function
|
|
883
|
-
|
|
903
|
+
U(ne, {}, [], [], !0);
|
|
904
|
+
var Sa = $('<span class="flex items-center gap-2 [&>svg]:transition-transform"><span> </span> <!></span>'), La = $("<li><a> </a></li>"), Na = $("<li><!></li>"), Aa = $("<li><a> </a></li>");
|
|
905
|
+
function ie(e, t) {
|
|
906
|
+
X(t, !0);
|
|
884
907
|
let a = V(t, "items", 7);
|
|
885
|
-
var
|
|
886
|
-
return
|
|
887
|
-
var
|
|
908
|
+
var r = R(), h = P(r);
|
|
909
|
+
return B(h, 17, a, (o) => o.text || o.title, (o, f) => {
|
|
910
|
+
var k = R(), b = P(k);
|
|
888
911
|
{
|
|
889
|
-
var s = (
|
|
890
|
-
var u =
|
|
891
|
-
Q(
|
|
912
|
+
var s = (i) => {
|
|
913
|
+
var u = Na(), c = w(u);
|
|
914
|
+
Q(c, {
|
|
892
915
|
class: "relative h-full",
|
|
893
916
|
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",
|
|
894
917
|
contentClass: "absolute right-0 top-full z-50 flex min-w-[20rem] flex-col bg-grey-muted [&>li]:contents",
|
|
895
918
|
as: "ul",
|
|
896
|
-
button: (
|
|
897
|
-
var
|
|
898
|
-
|
|
899
|
-
var
|
|
900
|
-
G(
|
|
919
|
+
button: (p) => {
|
|
920
|
+
var m = Sa(), n = w(m), N = w(n, !0);
|
|
921
|
+
y(n);
|
|
922
|
+
var _ = z(n, 2);
|
|
923
|
+
G(_, { icon: bt }), y(m), E(() => F(N, l(f).title)), x(p, m);
|
|
901
924
|
},
|
|
902
|
-
children: (
|
|
903
|
-
var
|
|
904
|
-
|
|
905
|
-
var
|
|
906
|
-
let
|
|
907
|
-
var
|
|
908
|
-
|
|
909
|
-
var
|
|
910
|
-
|
|
911
|
-
...
|
|
912
|
-
class: `border-0 border-b border-solid
|
|
913
|
-
href:
|
|
914
|
-
}),
|
|
915
|
-
}), x(
|
|
916
|
-
}), x(
|
|
925
|
+
children: (p, m) => {
|
|
926
|
+
var n = R(), N = P(n);
|
|
927
|
+
B(N, 17, () => l(f).links, st, (_, M) => {
|
|
928
|
+
var L = La(), S = w(L);
|
|
929
|
+
let g;
|
|
930
|
+
var C = w(S, !0);
|
|
931
|
+
y(S), y(L), E(() => {
|
|
932
|
+
var A;
|
|
933
|
+
g = lt(S, g, {
|
|
934
|
+
...l(M).attributes,
|
|
935
|
+
class: `border-grey/50 border-0 border-b border-solid p-2 transition-colors hover:bg-yellow hover:text-yellow-contrast focus:bg-yellow focus:text-yellow-contrast ${((A = l(M).attributes) == null ? void 0 : A.class) ?? ""}`,
|
|
936
|
+
href: l(M).href
|
|
937
|
+
}), F(C, l(M).text);
|
|
938
|
+
}), x(_, L);
|
|
939
|
+
}), x(p, n);
|
|
917
940
|
},
|
|
918
941
|
$$slots: { button: !0, default: !0 }
|
|
919
|
-
}),
|
|
920
|
-
}, v = (
|
|
921
|
-
var u =
|
|
922
|
-
let
|
|
923
|
-
var
|
|
924
|
-
|
|
925
|
-
var
|
|
926
|
-
|
|
927
|
-
...
|
|
928
|
-
class: `flex h-full items-center justify-center gap-2 px-2 transition-colors hover:bg-yellow
|
|
929
|
-
href:
|
|
930
|
-
}),
|
|
931
|
-
}), x(
|
|
942
|
+
}), y(u), x(i, u);
|
|
943
|
+
}, v = (i) => {
|
|
944
|
+
var u = Aa(), c = w(u);
|
|
945
|
+
let d;
|
|
946
|
+
var p = w(c, !0);
|
|
947
|
+
y(c), y(u), E(() => {
|
|
948
|
+
var m;
|
|
949
|
+
d = lt(c, d, {
|
|
950
|
+
...l(f).attributes,
|
|
951
|
+
class: `flex h-full items-center justify-center gap-2 px-2 transition-colors hover:bg-yellow hover:text-yellow-contrast focus:bg-yellow focus:text-yellow-contrast ${((m = l(f).attributes) == null ? void 0 : m.class) ?? ""}`,
|
|
952
|
+
href: l(f).href
|
|
953
|
+
}), F(p, l(f).text);
|
|
954
|
+
}), x(i, u);
|
|
932
955
|
};
|
|
933
|
-
|
|
934
|
-
|
|
956
|
+
H(b, (i) => {
|
|
957
|
+
l(f).links ? i(s) : i(v, !1);
|
|
935
958
|
});
|
|
936
959
|
}
|
|
937
|
-
x(
|
|
938
|
-
}), x(e,
|
|
960
|
+
x(o, k);
|
|
961
|
+
}), x(e, r), Y({
|
|
939
962
|
get items() {
|
|
940
963
|
return a();
|
|
941
964
|
},
|
|
942
|
-
set items(
|
|
943
|
-
a(
|
|
965
|
+
set items(o) {
|
|
966
|
+
a(o), Z();
|
|
944
967
|
}
|
|
945
968
|
});
|
|
946
969
|
}
|
|
947
|
-
U(
|
|
948
|
-
var
|
|
949
|
-
function
|
|
950
|
-
|
|
970
|
+
U(ie, { items: {} }, [], [], !0);
|
|
971
|
+
var Ea = $("<a> </a>"), Va = $('<span class="flex w-full items-center justify-between gap-2 [&>svg]:transition-transform"><span class="mr-auto"> </span> <!></span>'), Za = $("<li><a> </a></li>"), ja = $('<li class="[&>*]:first:mt-4 [&>*]:last:mb-4"><!></li>'), Ha = $("<li><!></li>");
|
|
972
|
+
function ce(e, t) {
|
|
973
|
+
X(t, !0);
|
|
951
974
|
let a = V(t, "items", 7);
|
|
952
|
-
var
|
|
953
|
-
return Q(
|
|
975
|
+
var r = Ha(), h = w(r);
|
|
976
|
+
return Q(h, {
|
|
954
977
|
class: "h-full",
|
|
955
978
|
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",
|
|
956
979
|
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",
|
|
957
980
|
label: "Sub Navigation Menu",
|
|
958
981
|
as: "ul",
|
|
959
982
|
button: (f) => {
|
|
960
|
-
G(f, { icon:
|
|
983
|
+
G(f, { icon: Dt });
|
|
961
984
|
},
|
|
962
|
-
children: (f,
|
|
963
|
-
var
|
|
964
|
-
|
|
965
|
-
var u =
|
|
985
|
+
children: (f, k) => {
|
|
986
|
+
var b = R(), s = P(b);
|
|
987
|
+
B(s, 17, a, (v) => v.text || v.title, (v, i) => {
|
|
988
|
+
var u = ja(), c = w(u);
|
|
966
989
|
{
|
|
967
|
-
var
|
|
968
|
-
var
|
|
969
|
-
let
|
|
970
|
-
var
|
|
971
|
-
|
|
990
|
+
var d = (m) => {
|
|
991
|
+
var n = Ea();
|
|
992
|
+
let N;
|
|
993
|
+
var _ = w(n, !0);
|
|
994
|
+
y(n), E(() => {
|
|
972
995
|
var M;
|
|
973
|
-
|
|
974
|
-
...
|
|
975
|
-
class: `border-0 border-b border-solid
|
|
976
|
-
href:
|
|
977
|
-
}),
|
|
978
|
-
}), x(
|
|
979
|
-
},
|
|
980
|
-
Q(
|
|
996
|
+
N = lt(n, N, {
|
|
997
|
+
...l(i).attributes,
|
|
998
|
+
class: `border-grey/50 hover:bg-grey-muted border-0 border-b border-solid p-2 transition-colors ${((M = l(i).attributes) == null ? void 0 : M.class) ?? ""}`,
|
|
999
|
+
href: l(i).href
|
|
1000
|
+
}), F(_, l(i).text);
|
|
1001
|
+
}), x(m, n);
|
|
1002
|
+
}, p = (m) => {
|
|
1003
|
+
Q(m, {
|
|
981
1004
|
class: "relative w-full",
|
|
982
1005
|
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",
|
|
983
1006
|
contentClass: "flex flex-col w-full flex-col bg-white text-black [&>li]:contents",
|
|
984
1007
|
as: "ul",
|
|
985
1008
|
autoCollapse: !1,
|
|
986
|
-
button: (
|
|
987
|
-
var
|
|
988
|
-
|
|
989
|
-
var
|
|
990
|
-
G(
|
|
1009
|
+
button: (N) => {
|
|
1010
|
+
var _ = Va(), M = w(_), L = w(M, !0);
|
|
1011
|
+
y(M);
|
|
1012
|
+
var S = z(M, 2);
|
|
1013
|
+
G(S, { icon: bt }), y(_), E(() => F(L, l(i).title)), x(N, _);
|
|
991
1014
|
},
|
|
992
|
-
children: (
|
|
993
|
-
var M = R(),
|
|
994
|
-
|
|
995
|
-
var
|
|
996
|
-
let
|
|
997
|
-
var
|
|
998
|
-
|
|
999
|
-
var
|
|
1000
|
-
|
|
1001
|
-
...
|
|
1002
|
-
class: `border-
|
|
1003
|
-
href:
|
|
1004
|
-
}),
|
|
1005
|
-
}), x(
|
|
1006
|
-
}), x(
|
|
1015
|
+
children: (N, _) => {
|
|
1016
|
+
var M = R(), L = P(M);
|
|
1017
|
+
B(L, 17, () => l(i).links, st, (S, g) => {
|
|
1018
|
+
var C = Za(), A = w(C);
|
|
1019
|
+
let T;
|
|
1020
|
+
var W = w(A, !0);
|
|
1021
|
+
y(A), y(C), E(() => {
|
|
1022
|
+
var j;
|
|
1023
|
+
T = lt(A, T, {
|
|
1024
|
+
...l(g).attributes,
|
|
1025
|
+
class: `border-grey/50 hover:bg-grey-muted hover:text-grey-muted-contrast border-0 border-b border-solid p-2 transition-colors ${((j = l(g).attributes) == null ? void 0 : j.class) ?? ""}`,
|
|
1026
|
+
href: l(g).href
|
|
1027
|
+
}), F(W, l(g).text);
|
|
1028
|
+
}), x(S, C);
|
|
1029
|
+
}), x(N, M);
|
|
1007
1030
|
},
|
|
1008
1031
|
$$slots: { button: !0, default: !0 }
|
|
1009
1032
|
});
|
|
1010
1033
|
};
|
|
1011
|
-
|
|
1012
|
-
|
|
1034
|
+
H(c, (m) => {
|
|
1035
|
+
l(i).text ? m(d) : m(p, !1);
|
|
1013
1036
|
});
|
|
1014
1037
|
}
|
|
1015
|
-
|
|
1016
|
-
}), x(f,
|
|
1038
|
+
y(u), x(v, u);
|
|
1039
|
+
}), x(f, b);
|
|
1017
1040
|
},
|
|
1018
1041
|
$$slots: { button: !0, default: !0 }
|
|
1019
|
-
}),
|
|
1042
|
+
}), y(r), x(e, r), Y({
|
|
1020
1043
|
get items() {
|
|
1021
1044
|
return a();
|
|
1022
1045
|
},
|
|
1023
|
-
set items(
|
|
1024
|
-
a(
|
|
1046
|
+
set items(o) {
|
|
1047
|
+
a(o), Z();
|
|
1025
1048
|
}
|
|
1026
1049
|
});
|
|
1027
1050
|
}
|
|
1028
|
-
U(
|
|
1029
|
-
var
|
|
1030
|
-
function
|
|
1031
|
-
|
|
1032
|
-
const [a,
|
|
1033
|
-
let f = V(t, "items", 7),
|
|
1034
|
-
|
|
1035
|
-
var
|
|
1036
|
-
clearTimeout(u), ((
|
|
1051
|
+
U(ce, { items: {} }, [], [], !0);
|
|
1052
|
+
var Ta = $('<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>'), Fa = $('<span class="mr-auto flex h-full items-center justify-center px-3 font-bold"> </span>'), Pa = $('<nav aria-label="Page Specific"><div class="relative flex h-full min-w-full items-center justify-end overflow-y-visible [&>li]:contents"><!> <ul class="!static flex h-full w-fit lg:static [&>li]:contents"><!></ul></div></nav>');
|
|
1053
|
+
function ue(e, t) {
|
|
1054
|
+
X(t, !0);
|
|
1055
|
+
const [a, r] = _t(), h = () => mt(o, "$headerState", a), o = jt("header-state");
|
|
1056
|
+
let f = V(t, "items", 7), k = V(t, "title", 7), b = V(t, "url", 7), s = ct(void 0), v = ct(void 0), i = ct(void 0), u, c = ct(void 0);
|
|
1057
|
+
Zt(() => {
|
|
1058
|
+
var g;
|
|
1059
|
+
clearTimeout(u), ((g = h()) == null ? void 0 : g.mode) === "desktop" && l(s) - l(v) < l(i) && (u = setTimeout(
|
|
1037
1060
|
() => {
|
|
1038
|
-
|
|
1061
|
+
tt(c, Nt(isNaN(l(c)) ? l(s) : Math.max(l(s), l(c))));
|
|
1039
1062
|
},
|
|
1040
1063
|
50
|
|
1041
1064
|
));
|
|
1042
|
-
}),
|
|
1043
|
-
var
|
|
1044
|
-
((
|
|
1045
|
-
});
|
|
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"));
|
|
1065
|
+
}), Ke(() => {
|
|
1066
|
+
var g;
|
|
1067
|
+
((g = h()) == null ? void 0 : g.mode) === "desktop" && l(s) - l(v) < l(i) && tt(c, Nt(isNaN(l(c)) ? l(s) : Math.max(l(s), l(c))));
|
|
1050
1068
|
});
|
|
1051
|
-
var
|
|
1069
|
+
var d = Pa(), p = w(d), m = w(p);
|
|
1052
1070
|
{
|
|
1053
|
-
var
|
|
1054
|
-
var
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
}), dt(
|
|
1058
|
-
},
|
|
1059
|
-
var
|
|
1071
|
+
var n = (g) => {
|
|
1072
|
+
var C = Ta(), A = w(C, !0);
|
|
1073
|
+
y(C), E(() => {
|
|
1074
|
+
q(C, "href", b()), F(A, k());
|
|
1075
|
+
}), dt(C, "clientWidth", (T) => tt(v, T)), x(g, C);
|
|
1076
|
+
}, N = (g) => {
|
|
1077
|
+
var C = R(), A = P(C);
|
|
1060
1078
|
{
|
|
1061
|
-
var
|
|
1062
|
-
var
|
|
1063
|
-
|
|
1079
|
+
var T = (W) => {
|
|
1080
|
+
var j = Fa(), vt = w(j, !0);
|
|
1081
|
+
y(j), E(() => F(vt, k())), dt(j, "clientWidth", (yt) => tt(v, yt)), x(W, j);
|
|
1064
1082
|
};
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
(
|
|
1068
|
-
|
|
1083
|
+
H(
|
|
1084
|
+
A,
|
|
1085
|
+
(W) => {
|
|
1086
|
+
k() && W(T);
|
|
1069
1087
|
},
|
|
1070
1088
|
!0
|
|
1071
1089
|
);
|
|
1072
1090
|
}
|
|
1073
|
-
x(
|
|
1091
|
+
x(g, C);
|
|
1074
1092
|
};
|
|
1075
|
-
|
|
1076
|
-
|
|
1093
|
+
H(m, (g) => {
|
|
1094
|
+
k() && b() ? g(n) : g(N, !1);
|
|
1077
1095
|
});
|
|
1078
1096
|
}
|
|
1079
|
-
var
|
|
1097
|
+
var _ = z(m, 2), M = w(_);
|
|
1080
1098
|
{
|
|
1081
|
-
var L = (
|
|
1082
|
-
var
|
|
1099
|
+
var L = (g) => {
|
|
1100
|
+
var C = R(), A = P(C);
|
|
1083
1101
|
{
|
|
1084
|
-
var
|
|
1085
|
-
|
|
1102
|
+
var T = (j) => {
|
|
1103
|
+
ie(j, {
|
|
1086
1104
|
get items() {
|
|
1087
1105
|
return f();
|
|
1088
1106
|
}
|
|
1089
1107
|
});
|
|
1090
|
-
},
|
|
1091
|
-
|
|
1108
|
+
}, W = (j) => {
|
|
1109
|
+
ce(j, {
|
|
1092
1110
|
get items() {
|
|
1093
1111
|
return f();
|
|
1094
1112
|
}
|
|
1095
1113
|
});
|
|
1096
1114
|
};
|
|
1097
|
-
|
|
1098
|
-
|
|
1115
|
+
H(A, (j) => {
|
|
1116
|
+
h().mode === "desktop" && (isNaN(l(c)) || l(s) > l(c)) ? j(T) : j(W, !1);
|
|
1099
1117
|
});
|
|
1100
1118
|
}
|
|
1101
|
-
x(
|
|
1119
|
+
x(g, C);
|
|
1102
1120
|
};
|
|
1103
|
-
|
|
1104
|
-
var
|
|
1105
|
-
((
|
|
1121
|
+
H(M, (g) => {
|
|
1122
|
+
var C;
|
|
1123
|
+
((C = f()) == null ? void 0 : C.length) > 0 && g(L);
|
|
1106
1124
|
});
|
|
1107
1125
|
}
|
|
1108
|
-
|
|
1109
|
-
|
|
1126
|
+
y(_), y(p), y(d), E((g) => I(d, 1, rt(g)), [
|
|
1127
|
+
() => {
|
|
1128
|
+
var g;
|
|
1129
|
+
return ot("align-items bg-grey-muted text-grey-muted-contrast relative block justify-end px-[calc((100%-1320px)/2)] text-lg lg:whitespace-nowrap", ((g = h()) == null ? void 0 : g.variant) === "dual-brand" ? "h-10" : "h-[5rem] lg:h-10");
|
|
1130
|
+
}
|
|
1131
|
+
]), dt(_, "clientWidth", (g) => tt(i, g)), dt(p, "clientWidth", (g) => tt(s, g)), x(e, d);
|
|
1132
|
+
var S = Y({
|
|
1110
1133
|
get items() {
|
|
1111
1134
|
return f();
|
|
1112
1135
|
},
|
|
1113
|
-
set items(
|
|
1114
|
-
f(
|
|
1136
|
+
set items(g) {
|
|
1137
|
+
f(g), Z();
|
|
1115
1138
|
},
|
|
1116
1139
|
get title() {
|
|
1117
|
-
return
|
|
1140
|
+
return k();
|
|
1118
1141
|
},
|
|
1119
|
-
set title(
|
|
1120
|
-
|
|
1142
|
+
set title(g) {
|
|
1143
|
+
k(g), Z();
|
|
1121
1144
|
},
|
|
1122
1145
|
get url() {
|
|
1123
|
-
return
|
|
1146
|
+
return b();
|
|
1124
1147
|
},
|
|
1125
|
-
set url(
|
|
1126
|
-
|
|
1148
|
+
set url(g) {
|
|
1149
|
+
b(g), Z();
|
|
1127
1150
|
}
|
|
1128
1151
|
});
|
|
1129
|
-
return
|
|
1152
|
+
return r(), S;
|
|
1130
1153
|
}
|
|
1131
|
-
U(
|
|
1132
|
-
const
|
|
1133
|
-
var
|
|
1134
|
-
function
|
|
1135
|
-
|
|
1136
|
-
const [a,
|
|
1137
|
-
let
|
|
1138
|
-
const v = 1024,
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
mode:
|
|
1142
|
-
variant:
|
|
1154
|
+
U(ue, { items: {}, title: {}, url: {} }, [], [], !0);
|
|
1155
|
+
const Ra = 35;
|
|
1156
|
+
var Ua = $('<header class="font-condensed relative z-10 w-full text-black"><!> <!> <!></header>');
|
|
1157
|
+
function za(e, t) {
|
|
1158
|
+
X(t, !0);
|
|
1159
|
+
const [a, r] = _t(), h = () => mt(i, "$headerState", a);
|
|
1160
|
+
let o = V(t, "subNavigation", 7), f = V(t, "pageTitle", 7), k = V(t, "pageURL", 7), b = V(t, "variant", 7), s = ct(void 0);
|
|
1161
|
+
const v = 1024, i = Fe({ mode: "mobile", variant: b() });
|
|
1162
|
+
Pe("header-state", i), Zt(() => {
|
|
1163
|
+
i.set({
|
|
1164
|
+
mode: l(s) >= v ? "desktop" : "mobile",
|
|
1165
|
+
variant: b()
|
|
1143
1166
|
});
|
|
1144
1167
|
});
|
|
1145
|
-
var u =
|
|
1168
|
+
var u = Ua(), c = w(u);
|
|
1146
1169
|
{
|
|
1147
|
-
var
|
|
1148
|
-
|
|
1170
|
+
var d = (_) => {
|
|
1171
|
+
Yt(_, {});
|
|
1149
1172
|
};
|
|
1150
|
-
|
|
1151
|
-
|
|
1173
|
+
H(c, (_) => {
|
|
1174
|
+
h().mode === "desktop" && b() !== "dual-brand" && _(d);
|
|
1152
1175
|
});
|
|
1153
1176
|
}
|
|
1154
|
-
var
|
|
1155
|
-
|
|
1156
|
-
var
|
|
1177
|
+
var p = z(c, 2);
|
|
1178
|
+
ne(p, {});
|
|
1179
|
+
var m = z(p, 2);
|
|
1157
1180
|
{
|
|
1158
|
-
var
|
|
1159
|
-
|
|
1181
|
+
var n = (_) => {
|
|
1182
|
+
ue(_, {
|
|
1160
1183
|
get title() {
|
|
1161
1184
|
return f();
|
|
1162
1185
|
},
|
|
1163
1186
|
get url() {
|
|
1164
|
-
return
|
|
1187
|
+
return k();
|
|
1165
1188
|
},
|
|
1166
1189
|
get items() {
|
|
1167
|
-
return
|
|
1190
|
+
return o();
|
|
1168
1191
|
}
|
|
1169
1192
|
});
|
|
1170
1193
|
};
|
|
1171
|
-
|
|
1194
|
+
H(m, (_) => {
|
|
1172
1195
|
var M;
|
|
1173
|
-
(((M =
|
|
1196
|
+
(((M = o()) == null ? void 0 : M.length) > 0 || f()) && _(n);
|
|
1174
1197
|
});
|
|
1175
1198
|
}
|
|
1176
|
-
|
|
1177
|
-
var
|
|
1199
|
+
y(u), Ue("innerWidth", (_) => tt(s, Nt(_))), x(e, u);
|
|
1200
|
+
var N = Y({
|
|
1178
1201
|
get subNavigation() {
|
|
1179
|
-
return
|
|
1202
|
+
return o();
|
|
1180
1203
|
},
|
|
1181
|
-
set subNavigation(
|
|
1182
|
-
|
|
1204
|
+
set subNavigation(_) {
|
|
1205
|
+
o(_), Z();
|
|
1183
1206
|
},
|
|
1184
1207
|
get pageTitle() {
|
|
1185
1208
|
return f();
|
|
1186
1209
|
},
|
|
1187
|
-
set pageTitle(
|
|
1188
|
-
f(
|
|
1210
|
+
set pageTitle(_) {
|
|
1211
|
+
f(_), Z();
|
|
1189
1212
|
},
|
|
1190
1213
|
get pageURL() {
|
|
1191
|
-
return
|
|
1214
|
+
return k();
|
|
1192
1215
|
},
|
|
1193
|
-
set pageURL(
|
|
1194
|
-
|
|
1216
|
+
set pageURL(_) {
|
|
1217
|
+
k(_), Z();
|
|
1195
1218
|
},
|
|
1196
1219
|
get variant() {
|
|
1197
|
-
return
|
|
1220
|
+
return b();
|
|
1198
1221
|
},
|
|
1199
|
-
set variant(
|
|
1200
|
-
|
|
1222
|
+
set variant(_) {
|
|
1223
|
+
b(_), Z();
|
|
1201
1224
|
}
|
|
1202
1225
|
});
|
|
1203
|
-
return
|
|
1226
|
+
return r(), N;
|
|
1204
1227
|
}
|
|
1205
1228
|
customElements.define("uofg-header", U(
|
|
1206
|
-
|
|
1229
|
+
za,
|
|
1207
1230
|
{
|
|
1208
1231
|
pageTitle: {
|
|
1209
1232
|
attribute: "page-title",
|
|
@@ -1229,7 +1252,7 @@ customElements.define("uofg-header", U(
|
|
|
1229
1252
|
constructor() {
|
|
1230
1253
|
super();
|
|
1231
1254
|
wt(this, "subNavigation", []);
|
|
1232
|
-
|
|
1255
|
+
Re(this.shadowRoot);
|
|
1233
1256
|
}
|
|
1234
1257
|
connectedCallback() {
|
|
1235
1258
|
super.connectedCallback(), this.updateSubNavigation(), this.observer ?? (this.observer = new MutationObserver(() => {
|
|
@@ -1240,32 +1263,32 @@ customElements.define("uofg-header", U(
|
|
|
1240
1263
|
super.disconnectedCallback(), this.observer.disconnect();
|
|
1241
1264
|
}
|
|
1242
1265
|
updateSubNavigation() {
|
|
1243
|
-
const a = (
|
|
1244
|
-
const
|
|
1245
|
-
return
|
|
1246
|
-
href:
|
|
1247
|
-
text:
|
|
1248
|
-
attributes:
|
|
1266
|
+
const a = (r) => {
|
|
1267
|
+
const h = {};
|
|
1268
|
+
return r.getAttributeNames().filter((o) => o !== "href").forEach((o) => h[o] = r.getAttribute(o)), {
|
|
1269
|
+
href: r.getAttribute("href"),
|
|
1270
|
+
text: r.textContent,
|
|
1271
|
+
attributes: h
|
|
1249
1272
|
};
|
|
1250
1273
|
};
|
|
1251
|
-
this.subNavigation = Array.from(this.children).filter((
|
|
1252
|
-
switch (
|
|
1274
|
+
this.subNavigation = Array.from(this.children).filter((r) => r.tagName === "A" || r.tagName === "UL").map((r) => {
|
|
1275
|
+
switch (r.tagName) {
|
|
1253
1276
|
case "A":
|
|
1254
|
-
return a(
|
|
1277
|
+
return a(r);
|
|
1255
1278
|
case "UL":
|
|
1256
|
-
const
|
|
1257
|
-
title:
|
|
1258
|
-
links: Array.from(
|
|
1279
|
+
const h = {
|
|
1280
|
+
title: r.getAttribute("data-title"),
|
|
1281
|
+
links: Array.from(r.querySelectorAll("a")).map(a)
|
|
1259
1282
|
};
|
|
1260
|
-
return
|
|
1261
|
-
(
|
|
1283
|
+
return h.wrapContent = h.links.reduce(
|
|
1284
|
+
(o, f) => (f.text.length > Ra && (o = !0), o),
|
|
1262
1285
|
!1
|
|
1263
|
-
),
|
|
1286
|
+
), h;
|
|
1264
1287
|
}
|
|
1265
|
-
}).filter((
|
|
1288
|
+
}).filter((r) => !!r);
|
|
1266
1289
|
}
|
|
1267
1290
|
}
|
|
1268
1291
|
));
|
|
1269
1292
|
export {
|
|
1270
|
-
|
|
1293
|
+
za as default
|
|
1271
1294
|
};
|