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