@uoguelph/web-components 1.9.1-rc.1 → 1.9.1-rc.10
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-C4pxMwQ8.js +5232 -0
- package/dist/uofg-web-components/index-O5kp37c8.js +2423 -0
- package/dist/uofg-web-components/index-client-CXlOM-p3.js +20 -0
- package/dist/uofg-web-components/legacy-Dg274yvM.js +53 -0
- package/dist/uofg-web-components/{slot-E9j-JIta.js → slot-Dd5V4rTQ.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 +902 -861
- 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-BUGShOMz.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 ot, q as J, u as ht, b as Le } from "./index-C4pxMwQ8.js";
|
|
9
|
+
import { a as Ce } from "./window-BUGShOMz.js";
|
|
10
|
+
import { s as Lt, i as $t } from "./legacy-Dg274yvM.js";
|
|
11
|
+
import { c as Nt } from "./index-O5kp37c8.js";
|
|
12
|
+
import { o as Gt } from "./index-client-CXlOM-p3.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 o = Ne(_.trim());
|
|
72
|
+
t[o] = 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", o, w = t.inert, M = t.style.overflow, u, n;
|
|
79
|
+
function l() {
|
|
80
|
+
var v = we, i = Et;
|
|
81
|
+
Tt(null), Ft(null);
|
|
111
82
|
try {
|
|
112
|
-
return
|
|
83
|
+
return o ?? (o = 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, l(), n, 1, () => {
|
|
95
|
+
gt(t, "introend"), u == null || u.abort(), u = o = 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, l(), 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 o, w = !1;
|
|
130
|
+
return _e(() => {
|
|
131
|
+
if (!w) {
|
|
132
|
+
var v = t({ direction: p ? "in" : "out" });
|
|
133
|
+
o = Ct(e, v, a, s, _);
|
|
163
134
|
}
|
|
164
135
|
}), {
|
|
165
136
|
abort: () => {
|
|
166
|
-
|
|
137
|
+
w = !0, o == null || o.abort();
|
|
167
138
|
},
|
|
168
|
-
deactivate: () =>
|
|
169
|
-
reset: () =>
|
|
170
|
-
t: () =>
|
|
139
|
+
deactivate: () => o.deactivate(),
|
|
140
|
+
reset: () => o.reset(),
|
|
141
|
+
t: () => o.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: l = 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 * l(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 * l(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), o = 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
|
+
o() && Ut(u, !1);
|
|
268
|
+
};
|
|
269
|
+
var l = He(), f = $(l);
|
|
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(l), Ve(l, (v) => St == null ? void 0 : St(v)), Z(() => {
|
|
282
|
+
T(l, 1, B(p())), Y(l, "data-expanded", _());
|
|
283
|
+
}), $e("focusoutside", l, n), m(e, l);
|
|
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();
|
|
286
|
+
return p();
|
|
387
287
|
},
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
},
|
|
391
|
-
set transition(n = It) {
|
|
392
|
-
k(n), Z();
|
|
288
|
+
set class(v) {
|
|
289
|
+
p(v), E();
|
|
393
290
|
},
|
|
394
291
|
get autoCollapse() {
|
|
395
|
-
return
|
|
396
|
-
},
|
|
397
|
-
set autoCollapse(n = !0) {
|
|
398
|
-
b(n), Z();
|
|
399
|
-
},
|
|
400
|
-
get label() {
|
|
401
|
-
return s();
|
|
292
|
+
return o();
|
|
402
293
|
},
|
|
403
|
-
set
|
|
404
|
-
|
|
294
|
+
set autoCollapse(v = !0) {
|
|
295
|
+
o(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), o = 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 l = W(n, 2);
|
|
339
|
+
{
|
|
340
|
+
var f = (x) => {
|
|
341
|
+
var c = Te(), v = $(c, !0);
|
|
342
|
+
b(c), Z(() => A(v, o())), m(x, c);
|
|
343
|
+
};
|
|
344
|
+
N(l, (x) => {
|
|
345
|
+
o() && 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 o();
|
|
360
|
+
},
|
|
361
|
+
set label(x) {
|
|
362
|
+
o(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), o = +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
|
+
), l = 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) * o};${w}: ${i * M}px;padding-${u[0]}: ${i * l}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 lt(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, o) => {
|
|
513
|
+
var w = Oe(), M = $(w);
|
|
539
514
|
{
|
|
540
|
-
var
|
|
541
|
-
const
|
|
542
|
-
|
|
543
|
-
class
|
|
544
|
-
|
|
545
|
-
return l(i);
|
|
515
|
+
var u = (l) => {
|
|
516
|
+
const f = R(() => a.menu());
|
|
517
|
+
tt(l, {
|
|
518
|
+
get class() {
|
|
519
|
+
return r(f);
|
|
546
520
|
},
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
521
|
+
button: (x) => {
|
|
522
|
+
const c = R(() => a.menuButton({ hasIcon: !!r(o).icon }));
|
|
523
|
+
et(x, {
|
|
524
|
+
get class() {
|
|
525
|
+
return r(c);
|
|
526
|
+
},
|
|
527
|
+
get label() {
|
|
528
|
+
return r(o).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(o).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(o).text)), m(k, d);
|
|
544
|
+
};
|
|
545
|
+
N(h, (k) => {
|
|
546
|
+
r(o).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(o).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: lt })), m(x, v);
|
|
595
581
|
},
|
|
596
582
|
$$slots: { button: !0, default: !0 }
|
|
597
583
|
});
|
|
598
|
-
},
|
|
599
|
-
var
|
|
600
|
-
|
|
584
|
+
}, n = (l) => {
|
|
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(o).attributes,
|
|
592
|
+
class: c,
|
|
593
|
+
href: r(o).href
|
|
594
|
+
}), A(x, r(o).text);
|
|
603
595
|
},
|
|
604
596
|
[
|
|
605
|
-
() =>
|
|
597
|
+
() => a.link({ highlight: r(o).highlight })
|
|
606
598
|
],
|
|
607
|
-
|
|
608
|
-
),
|
|
599
|
+
R
|
|
600
|
+
), m(l, f);
|
|
609
601
|
};
|
|
610
|
-
|
|
611
|
-
|
|
602
|
+
N(M, (l) => {
|
|
603
|
+
"items" in r(o) ? l(u) : l(n, !1);
|
|
612
604
|
});
|
|
613
605
|
}
|
|
614
|
-
|
|
615
|
-
}),
|
|
606
|
+
b(w), m(p, w);
|
|
607
|
+
}), b(_), b(s), Z(
|
|
608
|
+
(p, o) => {
|
|
609
|
+
T(s, 1, p), T(_, 1, o);
|
|
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,686 @@ 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"), o = 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
|
+
}), { base: w, decoration: M, logo: u } = o();
|
|
667
|
+
$t();
|
|
668
|
+
var n = Qe(), l = $(n);
|
|
662
669
|
{
|
|
663
|
-
var
|
|
664
|
-
var
|
|
665
|
-
te(
|
|
670
|
+
var f = (i) => {
|
|
671
|
+
var y = Je(), h = $(y);
|
|
672
|
+
te(h), b(y), Z((V) => T(y, 1, V), [() => B(M())], R), m(i, y);
|
|
666
673
|
};
|
|
667
|
-
|
|
668
|
-
var
|
|
669
|
-
((
|
|
674
|
+
N(l, (i) => {
|
|
675
|
+
var y;
|
|
676
|
+
((y = _()) == null ? void 0 : y.mode) === "desktop" && i(f);
|
|
670
677
|
});
|
|
671
678
|
}
|
|
672
|
-
var
|
|
679
|
+
var g = W(l, 2), x = $(g);
|
|
673
680
|
{
|
|
674
|
-
var
|
|
675
|
-
ae(
|
|
676
|
-
},
|
|
677
|
-
ee(
|
|
681
|
+
var c = (i) => {
|
|
682
|
+
ae(i);
|
|
683
|
+
}, v = (i) => {
|
|
684
|
+
ee(i);
|
|
678
685
|
};
|
|
679
|
-
|
|
680
|
-
var
|
|
681
|
-
((
|
|
686
|
+
N(x, (i) => {
|
|
687
|
+
var y;
|
|
688
|
+
((y = _()) == null ? void 0 : y.mode) === "desktop" ? i(c) : i(v, !1);
|
|
682
689
|
});
|
|
683
690
|
}
|
|
684
|
-
|
|
685
|
-
(
|
|
691
|
+
b(g), b(n), Z(
|
|
692
|
+
(i, y) => {
|
|
693
|
+
T(n, 1, i), T(g, 1, y);
|
|
694
|
+
},
|
|
686
695
|
[
|
|
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
|
-
}
|
|
696
|
+
() => B(w()),
|
|
697
|
+
() => B(u())
|
|
691
698
|
],
|
|
692
|
-
|
|
693
|
-
),
|
|
699
|
+
R
|
|
700
|
+
), m(e, n), G(), s();
|
|
694
701
|
}
|
|
695
|
-
|
|
696
|
-
var
|
|
702
|
+
F(re, {}, [], [], !0);
|
|
703
|
+
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
704
|
function se(e) {
|
|
698
|
-
var t =
|
|
699
|
-
|
|
705
|
+
var t = Xe();
|
|
706
|
+
m(e, t);
|
|
700
707
|
}
|
|
701
|
-
|
|
702
|
-
var
|
|
703
|
-
function le(e) {
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
708
|
+
F(se, {}, [], [], !0);
|
|
709
|
+
var Ye = S('<a><span class="sr-only"> </span> <!></a>'), ta = S("<a> </a>"), ea = S("<li><!></li>"), aa = S("<ul></ul>");
|
|
710
|
+
function le(e, t) {
|
|
711
|
+
O(t, !1);
|
|
712
|
+
const a = Nt({
|
|
713
|
+
slots: {
|
|
714
|
+
base: "ml-auto flex text-xl [&>li]:contents",
|
|
715
|
+
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"
|
|
716
|
+
},
|
|
717
|
+
variants: {
|
|
718
|
+
hasIcon: {
|
|
719
|
+
true: {
|
|
720
|
+
link: "pt-8 pb-6 text-yellow hover:text-white [&>svg]:fill-current"
|
|
721
|
+
},
|
|
722
|
+
false: { link: "pt-6 text-center hover:border-yellow" }
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
})();
|
|
726
|
+
$t();
|
|
727
|
+
var s = aa();
|
|
728
|
+
U(s, 5, () => [...It, Jt], nt, (_, p) => {
|
|
729
|
+
var o = ea(), w = $(o);
|
|
707
730
|
{
|
|
708
|
-
var
|
|
709
|
-
var
|
|
710
|
-
|
|
731
|
+
var M = (n) => {
|
|
732
|
+
var l = Ye(), f = $(l), g = $(f, !0);
|
|
733
|
+
b(f);
|
|
734
|
+
var x = W(f, 2);
|
|
735
|
+
q(x, {
|
|
711
736
|
get icon() {
|
|
712
|
-
return
|
|
737
|
+
return r(p).icon;
|
|
713
738
|
}
|
|
714
|
-
}),
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
739
|
+
}), b(l), Z(
|
|
740
|
+
(c) => {
|
|
741
|
+
T(l, 1, c), Y(l, "href", r(p).href), A(g, r(p).text);
|
|
742
|
+
},
|
|
743
|
+
[
|
|
744
|
+
() => B(a.link({ hasIcon: !0 }))
|
|
745
|
+
],
|
|
746
|
+
R
|
|
747
|
+
), m(n, l);
|
|
748
|
+
}, u = (n) => {
|
|
749
|
+
var l = ta(), f = $(l, !0);
|
|
750
|
+
b(l), Z(
|
|
751
|
+
(g) => {
|
|
752
|
+
T(l, 1, g), Y(l, "href", r(p).href), A(f, r(p).text);
|
|
753
|
+
},
|
|
754
|
+
[
|
|
755
|
+
() => B(a.link({ hasIcon: !1 }))
|
|
756
|
+
],
|
|
757
|
+
R
|
|
758
|
+
), m(n, l);
|
|
722
759
|
};
|
|
723
|
-
|
|
724
|
-
|
|
760
|
+
N(w, (n) => {
|
|
761
|
+
r(p).icon ? n(M) : n(u, !1);
|
|
725
762
|
});
|
|
726
763
|
}
|
|
727
|
-
|
|
728
|
-
}),
|
|
764
|
+
b(o), m(_, o);
|
|
765
|
+
}), b(s), Z((_) => T(s, 1, _), [() => B(a.base())], R), m(e, s), G();
|
|
729
766
|
}
|
|
730
|
-
|
|
731
|
-
var
|
|
767
|
+
F(le, {}, [], [], !0);
|
|
768
|
+
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>'), la = 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>'), oa = 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>');
|
|
732
769
|
function oe(e) {
|
|
733
|
-
const t = [...
|
|
734
|
-
var
|
|
735
|
-
|
|
736
|
-
var
|
|
770
|
+
const t = [...It, ...Qt], a = [Xt, Jt];
|
|
771
|
+
var s = ha(), _ = $(s);
|
|
772
|
+
U(_, 1, () => a, (w) => w.text, (w, M) => {
|
|
773
|
+
var u = oa(), n = $(u);
|
|
737
774
|
{
|
|
738
|
-
var
|
|
739
|
-
|
|
740
|
-
Q(d, {
|
|
775
|
+
var l = (g) => {
|
|
776
|
+
tt(g, {
|
|
741
777
|
class: "h-full w-fit",
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
778
|
+
button: (c) => {
|
|
779
|
+
et(c, {
|
|
780
|
+
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",
|
|
781
|
+
get label() {
|
|
782
|
+
return r(M).text;
|
|
783
|
+
},
|
|
784
|
+
children: (v, i) => {
|
|
785
|
+
q(v, {
|
|
786
|
+
get icon() {
|
|
787
|
+
return r(M).icon;
|
|
788
|
+
}
|
|
789
|
+
});
|
|
790
|
+
},
|
|
791
|
+
$$slots: { default: !0 }
|
|
753
792
|
});
|
|
754
793
|
},
|
|
755
|
-
children: (
|
|
756
|
-
var
|
|
757
|
-
|
|
758
|
-
var
|
|
759
|
-
let
|
|
760
|
-
var
|
|
761
|
-
|
|
762
|
-
|
|
794
|
+
children: (c, v) => {
|
|
795
|
+
var i = sa();
|
|
796
|
+
U(i, 5, () => r(M).items, nt, (y, h) => {
|
|
797
|
+
var V = ra(), C = $(V);
|
|
798
|
+
let k;
|
|
799
|
+
var d = $(C, !0);
|
|
800
|
+
b(C), b(V), Z(() => {
|
|
801
|
+
k = at(C, k, {
|
|
763
802
|
class: "border-grey/50 hover:bg-grey-muted border-0 border-b border-solid p-2 transition-colors",
|
|
764
|
-
href:
|
|
765
|
-
...
|
|
766
|
-
}),
|
|
767
|
-
}),
|
|
768
|
-
}),
|
|
803
|
+
href: r(h).href,
|
|
804
|
+
...r(h).attributes
|
|
805
|
+
}), A(d, r(h).text);
|
|
806
|
+
}), m(y, V);
|
|
807
|
+
}), b(i), rt(3, i, () => st, () => ({ duration: 200, easing: lt })), m(c, i);
|
|
769
808
|
},
|
|
770
809
|
$$slots: { button: !0, default: !0 }
|
|
771
810
|
});
|
|
772
|
-
},
|
|
773
|
-
var
|
|
774
|
-
|
|
811
|
+
}, f = (g) => {
|
|
812
|
+
var x = la(), c = $(x);
|
|
813
|
+
q(c, {
|
|
775
814
|
get icon() {
|
|
776
|
-
return
|
|
815
|
+
return r(M).icon;
|
|
777
816
|
}
|
|
778
|
-
}),
|
|
779
|
-
|
|
780
|
-
}),
|
|
817
|
+
}), b(x), Z(() => {
|
|
818
|
+
Y(x, "href", r(M).href), Y(x, "aria-label", r(M).text);
|
|
819
|
+
}), m(g, x);
|
|
781
820
|
};
|
|
782
|
-
|
|
783
|
-
|
|
821
|
+
N(n, (g) => {
|
|
822
|
+
"items" in r(M) ? g(l) : g(f, !1);
|
|
784
823
|
});
|
|
785
824
|
}
|
|
786
|
-
|
|
825
|
+
b(u), m(w, u);
|
|
787
826
|
});
|
|
788
|
-
var
|
|
789
|
-
|
|
827
|
+
var p = W(_, 2), o = $(p);
|
|
828
|
+
tt(o, {
|
|
790
829
|
class: "h-full w-fit",
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
830
|
+
button: (M) => {
|
|
831
|
+
et(M, {
|
|
832
|
+
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",
|
|
833
|
+
label: "Main Menu",
|
|
834
|
+
children: (u, n) => {
|
|
835
|
+
q(u, { icon: zt });
|
|
836
|
+
},
|
|
837
|
+
$$slots: { default: !0 }
|
|
838
|
+
});
|
|
797
839
|
},
|
|
798
|
-
children: (
|
|
799
|
-
var
|
|
800
|
-
|
|
801
|
-
var
|
|
840
|
+
children: (M, u) => {
|
|
841
|
+
var n = fa();
|
|
842
|
+
U(n, 5, () => t, nt, (l, f) => {
|
|
843
|
+
var g = va(), x = $(g);
|
|
802
844
|
{
|
|
803
|
-
var
|
|
804
|
-
|
|
845
|
+
var c = (i) => {
|
|
846
|
+
tt(i, {
|
|
805
847
|
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
848
|
autoCollapse: !1,
|
|
810
|
-
button: (
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
849
|
+
button: (h) => {
|
|
850
|
+
et(h, {
|
|
851
|
+
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",
|
|
852
|
+
children: (V, C) => {
|
|
853
|
+
var k = na();
|
|
854
|
+
let d;
|
|
855
|
+
var L = $(k), P = $(L, !0);
|
|
856
|
+
b(L);
|
|
857
|
+
var j = W(L, 2);
|
|
858
|
+
q(j, { icon: wt }), b(k), Z(
|
|
859
|
+
(z) => {
|
|
860
|
+
d = T(k, 1, "flex w-full items-center justify-between gap-2 [&>svg]:transition-transform", null, d, z), A(P, r(f).text);
|
|
861
|
+
},
|
|
862
|
+
[
|
|
863
|
+
() => ({ "bg-yellow": r(f).highlight })
|
|
864
|
+
],
|
|
865
|
+
R
|
|
866
|
+
), m(V, k);
|
|
867
|
+
},
|
|
868
|
+
$$slots: { default: !0 }
|
|
869
|
+
});
|
|
819
870
|
},
|
|
820
|
-
children: (
|
|
821
|
-
var
|
|
822
|
-
|
|
823
|
-
var
|
|
824
|
-
let
|
|
825
|
-
var
|
|
826
|
-
|
|
827
|
-
|
|
871
|
+
children: (h, V) => {
|
|
872
|
+
var C = ca();
|
|
873
|
+
U(C, 5, () => r(f).items, nt, (k, d) => {
|
|
874
|
+
var L = ia(), P = $(L);
|
|
875
|
+
let j;
|
|
876
|
+
var z = $(P, !0);
|
|
877
|
+
b(P), b(L), Z(() => {
|
|
878
|
+
j = at(P, j, {
|
|
828
879
|
class: "border-grey/50 hover:bg-grey-muted border-0 border-b border-solid p-2 transition-colors",
|
|
829
|
-
href:
|
|
830
|
-
...
|
|
831
|
-
}),
|
|
832
|
-
}),
|
|
833
|
-
}),
|
|
880
|
+
href: r(d).href,
|
|
881
|
+
...r(d).attributes
|
|
882
|
+
}), A(z, r(d).text);
|
|
883
|
+
}), m(k, L);
|
|
884
|
+
}), b(C), rt(3, C, () => st, () => ({ duration: 200, easing: lt })), m(h, C);
|
|
834
885
|
},
|
|
835
886
|
$$slots: { button: !0, default: !0 }
|
|
836
887
|
});
|
|
837
|
-
},
|
|
838
|
-
var
|
|
839
|
-
let
|
|
840
|
-
var
|
|
841
|
-
y
|
|
842
|
-
|
|
843
|
-
|
|
888
|
+
}, v = (i) => {
|
|
889
|
+
var y = ua();
|
|
890
|
+
let h;
|
|
891
|
+
var V = $(y, !0);
|
|
892
|
+
b(y), Z(
|
|
893
|
+
(C) => {
|
|
894
|
+
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);
|
|
895
|
+
},
|
|
896
|
+
[
|
|
897
|
+
() => ({ "bg-yellow": r(f).highlight })
|
|
898
|
+
],
|
|
899
|
+
R
|
|
900
|
+
), m(i, y);
|
|
844
901
|
};
|
|
845
|
-
|
|
846
|
-
|
|
902
|
+
N(x, (i) => {
|
|
903
|
+
"items" in r(f) ? i(c) : i(v, !1);
|
|
847
904
|
});
|
|
848
905
|
}
|
|
849
|
-
|
|
850
|
-
}),
|
|
906
|
+
b(g), m(l, g);
|
|
907
|
+
}), b(n), rt(3, n, () => st, () => ({ duration: 200, easing: lt })), m(M, n);
|
|
851
908
|
},
|
|
852
909
|
$$slots: { button: !0, default: !0 }
|
|
853
|
-
}),
|
|
910
|
+
}), b(p), b(s), m(e, s);
|
|
854
911
|
}
|
|
855
|
-
|
|
856
|
-
var
|
|
912
|
+
F(oe, {}, [], [], !0);
|
|
913
|
+
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
914
|
function ne(e, t) {
|
|
858
|
-
|
|
859
|
-
const [a,
|
|
860
|
-
|
|
861
|
-
var
|
|
862
|
-
re(
|
|
863
|
-
var
|
|
915
|
+
O(t, !1);
|
|
916
|
+
const [a, s] = ut(), _ = () => vt(p, "$headerState", a), p = _t("header-state");
|
|
917
|
+
$t();
|
|
918
|
+
var o = pa(), w = $(o);
|
|
919
|
+
re(w, {});
|
|
920
|
+
var M = W(w, 2);
|
|
864
921
|
{
|
|
865
|
-
var
|
|
866
|
-
var
|
|
867
|
-
se(
|
|
868
|
-
},
|
|
869
|
-
var u = R(), c = P(u);
|
|
922
|
+
var u = (l) => {
|
|
923
|
+
var f = da(), g = W($(f), 2);
|
|
924
|
+
se(g), b(f), m(l, f);
|
|
925
|
+
}, n = (l, f) => {
|
|
870
926
|
{
|
|
871
|
-
var
|
|
872
|
-
le(
|
|
873
|
-
},
|
|
874
|
-
oe(
|
|
927
|
+
var g = (c) => {
|
|
928
|
+
le(c, {});
|
|
929
|
+
}, x = (c) => {
|
|
930
|
+
oe(c);
|
|
875
931
|
};
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
(
|
|
879
|
-
var
|
|
880
|
-
((
|
|
932
|
+
N(
|
|
933
|
+
l,
|
|
934
|
+
(c) => {
|
|
935
|
+
var v;
|
|
936
|
+
((v = _()) == null ? void 0 : v.mode) === "desktop" ? c(g) : c(x, !1);
|
|
881
937
|
},
|
|
882
|
-
|
|
938
|
+
f
|
|
883
939
|
);
|
|
884
940
|
}
|
|
885
|
-
x(i, u);
|
|
886
941
|
};
|
|
887
|
-
|
|
888
|
-
var
|
|
889
|
-
((
|
|
942
|
+
N(M, (l) => {
|
|
943
|
+
var f;
|
|
944
|
+
((f = _()) == null ? void 0 : f.variant) === "dual-brand" ? l(u) : l(n, !1);
|
|
890
945
|
});
|
|
891
946
|
}
|
|
892
|
-
|
|
893
|
-
(
|
|
947
|
+
b(o), Z(
|
|
948
|
+
(l) => T(o, 1, l),
|
|
894
949
|
[
|
|
895
950
|
() => {
|
|
896
|
-
var
|
|
897
|
-
return
|
|
951
|
+
var l;
|
|
952
|
+
return B(qt("relative flex w-full justify-between bg-black px-[calc((100%-1320px)/2)] text-lg text-black-contrast lg:h-25", ((l = _()) == null ? void 0 : l.variant) === "dual-brand" ? "h-[7.5rem]" : "h-12.5"));
|
|
898
953
|
}
|
|
899
954
|
],
|
|
900
|
-
|
|
901
|
-
),
|
|
955
|
+
R
|
|
956
|
+
), m(e, o), G(), s();
|
|
902
957
|
}
|
|
903
|
-
|
|
904
|
-
var
|
|
958
|
+
F(ne, {}, [], [], !0);
|
|
959
|
+
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
960
|
function ie(e, t) {
|
|
906
|
-
|
|
907
|
-
let a =
|
|
908
|
-
var
|
|
909
|
-
return
|
|
910
|
-
var
|
|
961
|
+
O(t, !0);
|
|
962
|
+
let a = H(t, "items", 7);
|
|
963
|
+
var s = dt(), _ = ct(s);
|
|
964
|
+
return U(_, 17, a, (p) => p.text, (p, o) => {
|
|
965
|
+
var w = dt(), M = ct(w);
|
|
911
966
|
{
|
|
912
|
-
var
|
|
913
|
-
var
|
|
914
|
-
|
|
967
|
+
var u = (l) => {
|
|
968
|
+
var f = ma(), g = $(f);
|
|
969
|
+
tt(g, {
|
|
915
970
|
class: "relative h-full",
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
971
|
+
button: (c) => {
|
|
972
|
+
et(c, {
|
|
973
|
+
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",
|
|
974
|
+
children: (v, i) => {
|
|
975
|
+
var y = ga(), h = $(y), V = $(h, !0);
|
|
976
|
+
b(h);
|
|
977
|
+
var C = W(h, 2);
|
|
978
|
+
q(C, { icon: wt }), b(y), Z(() => A(V, r(o).text)), m(v, y);
|
|
979
|
+
},
|
|
980
|
+
$$slots: { default: !0 }
|
|
981
|
+
});
|
|
924
982
|
},
|
|
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
|
-
}),
|
|
983
|
+
children: (c, v) => {
|
|
984
|
+
var i = xa();
|
|
985
|
+
U(i, 21, () => r(o).items, nt, (y, h) => {
|
|
986
|
+
var V = ba(), C = $(V);
|
|
987
|
+
let k;
|
|
988
|
+
var d = $(C, !0);
|
|
989
|
+
b(C), b(V), Z(() => {
|
|
990
|
+
var L;
|
|
991
|
+
k = at(C, k, {
|
|
992
|
+
...r(h).attributes,
|
|
993
|
+
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) ?? ""}`,
|
|
994
|
+
href: r(h).href
|
|
995
|
+
}), A(d, r(h).text);
|
|
996
|
+
}), m(y, V);
|
|
997
|
+
}), b(i), rt(3, i, () => st, () => ({ duration: 200, easing: lt })), m(c, i);
|
|
940
998
|
},
|
|
941
999
|
$$slots: { button: !0, default: !0 }
|
|
942
|
-
}),
|
|
943
|
-
},
|
|
944
|
-
var
|
|
945
|
-
let
|
|
946
|
-
var
|
|
947
|
-
|
|
948
|
-
var
|
|
949
|
-
|
|
950
|
-
...
|
|
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:
|
|
953
|
-
}),
|
|
954
|
-
}),
|
|
1000
|
+
}), b(f), m(l, f);
|
|
1001
|
+
}, n = (l) => {
|
|
1002
|
+
var f = _a(), g = $(f);
|
|
1003
|
+
let x;
|
|
1004
|
+
var c = $(g, !0);
|
|
1005
|
+
b(g), b(f), Z(() => {
|
|
1006
|
+
var v;
|
|
1007
|
+
x = at(g, x, {
|
|
1008
|
+
...r(o).attributes,
|
|
1009
|
+
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(o).attributes) == null ? void 0 : v.class) ?? ""}`,
|
|
1010
|
+
href: r(o).href
|
|
1011
|
+
}), A(c, r(o).text);
|
|
1012
|
+
}), m(l, f);
|
|
955
1013
|
};
|
|
956
|
-
|
|
957
|
-
|
|
1014
|
+
N(M, (l) => {
|
|
1015
|
+
"items" in r(o) ? l(u) : l(n, !1);
|
|
958
1016
|
});
|
|
959
1017
|
}
|
|
960
|
-
|
|
961
|
-
}),
|
|
1018
|
+
m(p, w);
|
|
1019
|
+
}), m(e, s), G({
|
|
962
1020
|
get items() {
|
|
963
1021
|
return a();
|
|
964
1022
|
},
|
|
965
|
-
set items(
|
|
966
|
-
a(
|
|
1023
|
+
set items(p) {
|
|
1024
|
+
a(p), E();
|
|
967
1025
|
}
|
|
968
1026
|
});
|
|
969
1027
|
}
|
|
970
|
-
|
|
971
|
-
var
|
|
1028
|
+
F(ie, { items: {} }, [], [], !0);
|
|
1029
|
+
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
1030
|
function ce(e, t) {
|
|
973
|
-
|
|
974
|
-
let a =
|
|
975
|
-
var
|
|
976
|
-
return
|
|
1031
|
+
O(t, !0);
|
|
1032
|
+
let a = H(t, "items", 7);
|
|
1033
|
+
var s = La(), _ = $(s);
|
|
1034
|
+
return tt(_, {
|
|
977
1035
|
class: "h-full",
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
1036
|
+
button: (o) => {
|
|
1037
|
+
et(o, {
|
|
1038
|
+
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",
|
|
1039
|
+
label: "Sub Navigation Menu",
|
|
1040
|
+
children: (w, M) => {
|
|
1041
|
+
q(w, { icon: zt });
|
|
1042
|
+
},
|
|
1043
|
+
$$slots: { default: !0 }
|
|
1044
|
+
});
|
|
984
1045
|
},
|
|
985
|
-
children: (
|
|
986
|
-
var
|
|
987
|
-
|
|
988
|
-
var
|
|
1046
|
+
children: (o, w) => {
|
|
1047
|
+
var M = Sa();
|
|
1048
|
+
U(M, 21, a, (u) => u.text, (u, n) => {
|
|
1049
|
+
var l = Ma(), f = $(l);
|
|
989
1050
|
{
|
|
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, {
|
|
1051
|
+
var g = (c) => {
|
|
1052
|
+
tt(c, {
|
|
1004
1053
|
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
1054
|
autoCollapse: !1,
|
|
1009
|
-
button: (
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1055
|
+
button: (i) => {
|
|
1056
|
+
et(i, {
|
|
1057
|
+
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",
|
|
1058
|
+
children: (y, h) => {
|
|
1059
|
+
var V = wa(), C = $(V), k = $(C, !0);
|
|
1060
|
+
b(C);
|
|
1061
|
+
var d = W(C, 2);
|
|
1062
|
+
q(d, {
|
|
1063
|
+
icon: wt,
|
|
1064
|
+
class: "transition-transform group-aria-expanded:rotate-180"
|
|
1065
|
+
}), b(V), Z(() => A(k, r(n).text)), m(y, V);
|
|
1066
|
+
},
|
|
1067
|
+
$$slots: { default: !0 }
|
|
1068
|
+
});
|
|
1014
1069
|
},
|
|
1015
|
-
children: (
|
|
1016
|
-
var
|
|
1017
|
-
|
|
1018
|
-
var
|
|
1019
|
-
let
|
|
1020
|
-
var
|
|
1021
|
-
|
|
1070
|
+
children: (i, y) => {
|
|
1071
|
+
var h = $a();
|
|
1072
|
+
U(h, 21, () => r(n).items, nt, (V, C) => {
|
|
1073
|
+
var k = ya(), d = $(k);
|
|
1074
|
+
let L;
|
|
1075
|
+
var P = $(d, !0);
|
|
1076
|
+
b(d), b(k), Z(() => {
|
|
1022
1077
|
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
|
-
}),
|
|
1078
|
+
L = at(d, L, {
|
|
1079
|
+
...r(C).attributes,
|
|
1080
|
+
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) ?? ""}`,
|
|
1081
|
+
href: r(C).href
|
|
1082
|
+
}), A(P, r(C).text);
|
|
1083
|
+
}), m(V, k);
|
|
1084
|
+
}), b(h), rt(3, h, () => st, () => ({ duration: 200, easing: lt })), m(i, h);
|
|
1030
1085
|
},
|
|
1031
1086
|
$$slots: { button: !0, default: !0 }
|
|
1032
1087
|
});
|
|
1088
|
+
}, x = (c) => {
|
|
1089
|
+
var v = ka();
|
|
1090
|
+
let i;
|
|
1091
|
+
var y = $(v, !0);
|
|
1092
|
+
b(v), Z(() => {
|
|
1093
|
+
var h;
|
|
1094
|
+
i = at(v, i, {
|
|
1095
|
+
...r(n).attributes,
|
|
1096
|
+
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) ?? ""}`,
|
|
1097
|
+
href: r(n).href
|
|
1098
|
+
}), A(y, r(n).text);
|
|
1099
|
+
}), m(c, v);
|
|
1033
1100
|
};
|
|
1034
|
-
|
|
1035
|
-
|
|
1101
|
+
N(f, (c) => {
|
|
1102
|
+
"items" in r(n) ? c(g) : c(x, !1);
|
|
1036
1103
|
});
|
|
1037
1104
|
}
|
|
1038
|
-
|
|
1039
|
-
}),
|
|
1105
|
+
b(l), m(u, l);
|
|
1106
|
+
}), b(M), rt(3, M, () => st, () => ({ duration: 200, easing: lt })), m(o, M);
|
|
1040
1107
|
},
|
|
1041
1108
|
$$slots: { button: !0, default: !0 }
|
|
1042
|
-
}),
|
|
1109
|
+
}), b(s), m(e, s), G({
|
|
1043
1110
|
get items() {
|
|
1044
1111
|
return a();
|
|
1045
1112
|
},
|
|
1046
|
-
set items(
|
|
1047
|
-
a(
|
|
1113
|
+
set items(p) {
|
|
1114
|
+
a(p), E();
|
|
1048
1115
|
}
|
|
1049
1116
|
});
|
|
1050
1117
|
}
|
|
1051
|
-
|
|
1052
|
-
var
|
|
1118
|
+
F(ce, { items: {} }, [], [], !0);
|
|
1119
|
+
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
1120
|
function ue(e, t) {
|
|
1054
|
-
|
|
1055
|
-
const [a,
|
|
1056
|
-
let
|
|
1057
|
-
|
|
1058
|
-
var
|
|
1059
|
-
clearTimeout(
|
|
1121
|
+
O(t, !0);
|
|
1122
|
+
const [a, s] = ut(), _ = () => vt(p, "$headerState", a), p = _t("header-state");
|
|
1123
|
+
let o = H(t, "items", 7), w = H(t, "title", 7), M = H(t, "url", 7), u = ot(void 0), n = ot(void 0), l = ot(void 0), f, g = ot(void 0);
|
|
1124
|
+
Ot(() => {
|
|
1125
|
+
var d;
|
|
1126
|
+
clearTimeout(f), ((d = _()) == null ? void 0 : d.mode) === "desktop" && r(u) - r(n) < r(l) && (f = setTimeout(
|
|
1060
1127
|
() => {
|
|
1061
|
-
|
|
1128
|
+
J(g, ht(isNaN(r(g)) ? r(u) : Math.max(r(u), r(g))));
|
|
1062
1129
|
},
|
|
1063
1130
|
50
|
|
1064
1131
|
));
|
|
1065
|
-
}),
|
|
1066
|
-
var
|
|
1067
|
-
((
|
|
1132
|
+
}), Gt(() => {
|
|
1133
|
+
var d;
|
|
1134
|
+
((d = _()) == null ? void 0 : d.mode) === "desktop" && r(u) - r(n) < r(l) && J(g, ht(isNaN(r(g)) ? r(u) : Math.max(r(u), r(g))));
|
|
1068
1135
|
});
|
|
1069
|
-
var
|
|
1136
|
+
var x = Za(), c = $(x), v = $(c);
|
|
1070
1137
|
{
|
|
1071
|
-
var
|
|
1072
|
-
var
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
}),
|
|
1076
|
-
},
|
|
1077
|
-
var C = R(), A = P(C);
|
|
1138
|
+
var i = (d) => {
|
|
1139
|
+
var L = Ca(), P = $(L, !0);
|
|
1140
|
+
b(L), Z(() => {
|
|
1141
|
+
Y(L, "href", M()), A(P, w());
|
|
1142
|
+
}), bt(L, "clientWidth", (j) => J(n, j)), m(d, L);
|
|
1143
|
+
}, y = (d, L) => {
|
|
1078
1144
|
{
|
|
1079
|
-
var
|
|
1080
|
-
var
|
|
1081
|
-
|
|
1145
|
+
var P = (j) => {
|
|
1146
|
+
var z = Va(), I = $(z, !0);
|
|
1147
|
+
b(z), Z(() => A(I, w())), bt(z, "clientWidth", (ve) => J(n, ve)), m(j, z);
|
|
1082
1148
|
};
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
(
|
|
1086
|
-
|
|
1149
|
+
N(
|
|
1150
|
+
d,
|
|
1151
|
+
(j) => {
|
|
1152
|
+
w() && j(P);
|
|
1087
1153
|
},
|
|
1088
|
-
|
|
1154
|
+
L
|
|
1089
1155
|
);
|
|
1090
1156
|
}
|
|
1091
|
-
x(g, C);
|
|
1092
1157
|
};
|
|
1093
|
-
|
|
1094
|
-
|
|
1158
|
+
N(v, (d) => {
|
|
1159
|
+
w() && M() ? d(i) : d(y, !1);
|
|
1095
1160
|
});
|
|
1096
1161
|
}
|
|
1097
|
-
var
|
|
1162
|
+
var h = W(v, 2), V = $(h);
|
|
1098
1163
|
{
|
|
1099
|
-
var
|
|
1100
|
-
var
|
|
1164
|
+
var C = (d) => {
|
|
1165
|
+
var L = dt(), P = ct(L);
|
|
1101
1166
|
{
|
|
1102
|
-
var
|
|
1103
|
-
ie(
|
|
1167
|
+
var j = (I) => {
|
|
1168
|
+
ie(I, {
|
|
1104
1169
|
get items() {
|
|
1105
|
-
return
|
|
1170
|
+
return o();
|
|
1106
1171
|
}
|
|
1107
1172
|
});
|
|
1108
|
-
},
|
|
1109
|
-
ce(
|
|
1173
|
+
}, z = (I) => {
|
|
1174
|
+
ce(I, {
|
|
1110
1175
|
get items() {
|
|
1111
|
-
return
|
|
1176
|
+
return o();
|
|
1112
1177
|
}
|
|
1113
1178
|
});
|
|
1114
1179
|
};
|
|
1115
|
-
|
|
1116
|
-
|
|
1180
|
+
N(P, (I) => {
|
|
1181
|
+
_().mode === "desktop" && (isNaN(r(g)) || r(u) > r(g)) ? I(j) : I(z, !1);
|
|
1117
1182
|
});
|
|
1118
1183
|
}
|
|
1119
|
-
|
|
1184
|
+
m(d, L);
|
|
1120
1185
|
};
|
|
1121
|
-
|
|
1122
|
-
var
|
|
1123
|
-
((
|
|
1186
|
+
N(V, (d) => {
|
|
1187
|
+
var L;
|
|
1188
|
+
((L = o()) == null ? void 0 : L.length) > 0 && d(C);
|
|
1124
1189
|
});
|
|
1125
1190
|
}
|
|
1126
|
-
|
|
1191
|
+
b(h), b(c), b(x), Z((d) => T(x, 1, d), [
|
|
1127
1192
|
() => {
|
|
1128
|
-
var
|
|
1129
|
-
return
|
|
1193
|
+
var d;
|
|
1194
|
+
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
1195
|
}
|
|
1131
|
-
]),
|
|
1132
|
-
var
|
|
1196
|
+
]), bt(h, "clientWidth", (d) => J(l, d)), bt(c, "clientWidth", (d) => J(u, d)), m(e, x);
|
|
1197
|
+
var k = G({
|
|
1133
1198
|
get items() {
|
|
1134
|
-
return
|
|
1199
|
+
return o();
|
|
1135
1200
|
},
|
|
1136
|
-
set items(
|
|
1137
|
-
|
|
1201
|
+
set items(d) {
|
|
1202
|
+
o(d), E();
|
|
1138
1203
|
},
|
|
1139
1204
|
get title() {
|
|
1140
|
-
return
|
|
1205
|
+
return w();
|
|
1141
1206
|
},
|
|
1142
|
-
set title(
|
|
1143
|
-
|
|
1207
|
+
set title(d) {
|
|
1208
|
+
w(d), E();
|
|
1144
1209
|
},
|
|
1145
1210
|
get url() {
|
|
1146
|
-
return
|
|
1211
|
+
return M();
|
|
1147
1212
|
},
|
|
1148
|
-
set url(
|
|
1149
|
-
|
|
1213
|
+
set url(d) {
|
|
1214
|
+
M(d), E();
|
|
1150
1215
|
}
|
|
1151
1216
|
});
|
|
1152
|
-
return
|
|
1217
|
+
return s(), k;
|
|
1153
1218
|
}
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1219
|
+
F(ue, { items: {}, title: {}, url: {} }, [], [], !0);
|
|
1220
|
+
var Pa = S('<header class="relative z-10 w-full font-sans text-black"><!> <!> <!></header>');
|
|
1221
|
+
function Na(e, t) {
|
|
1222
|
+
O(t, !0);
|
|
1223
|
+
const [a, s] = ut(), _ = () => vt(n, "$headerState", a);
|
|
1224
|
+
let p = H(t, "pageTitle", 7), o = H(t, "pageURL", 7), w = H(t, "variant", 7), M = ot(0);
|
|
1225
|
+
const u = 1024, n = Bt({ mode: "mobile", variant: w() });
|
|
1226
|
+
Wt("header-state", n);
|
|
1227
|
+
let l = ot(ht([]));
|
|
1228
|
+
Gt(() => {
|
|
1229
|
+
const h = () => {
|
|
1230
|
+
const C = (k) => {
|
|
1231
|
+
const d = {};
|
|
1232
|
+
for (const L of k.attributes)
|
|
1233
|
+
L.name !== "href" && (d[L.name] = L.value);
|
|
1234
|
+
return {
|
|
1235
|
+
href: k.getAttribute("href"),
|
|
1236
|
+
text: k.textContent,
|
|
1237
|
+
attributes: d
|
|
1238
|
+
};
|
|
1239
|
+
};
|
|
1240
|
+
J(l, ht(Array.from(t.$$host.children).filter((k) => k.tagName === "A" || k.tagName === "UL").map((k) => {
|
|
1241
|
+
switch (k.tagName) {
|
|
1242
|
+
case "A":
|
|
1243
|
+
return C(k);
|
|
1244
|
+
case "UL":
|
|
1245
|
+
return {
|
|
1246
|
+
text: k.getAttribute("data-title") ?? "",
|
|
1247
|
+
items: Array.from(k.querySelectorAll("a")).map(C)
|
|
1248
|
+
};
|
|
1249
|
+
}
|
|
1250
|
+
}).filter((k) => !!k)));
|
|
1251
|
+
};
|
|
1252
|
+
h();
|
|
1253
|
+
const V = new MutationObserver(h);
|
|
1254
|
+
return V.observe(t.$$host, { childList: !0, subtree: !0 }), () => {
|
|
1255
|
+
V.disconnect();
|
|
1256
|
+
};
|
|
1257
|
+
}), Ot(() => {
|
|
1258
|
+
n.set({
|
|
1259
|
+
mode: r(M) >= u ? "desktop" : "mobile",
|
|
1260
|
+
variant: w()
|
|
1166
1261
|
});
|
|
1167
1262
|
});
|
|
1168
|
-
var
|
|
1263
|
+
var f = Pa(), g = $(f);
|
|
1169
1264
|
{
|
|
1170
|
-
var
|
|
1171
|
-
Yt(
|
|
1265
|
+
var x = (h) => {
|
|
1266
|
+
Yt(h, {});
|
|
1172
1267
|
};
|
|
1173
|
-
|
|
1174
|
-
|
|
1268
|
+
N(g, (h) => {
|
|
1269
|
+
_().mode === "desktop" && w() !== "dual-brand" && h(x);
|
|
1175
1270
|
});
|
|
1176
1271
|
}
|
|
1177
|
-
var
|
|
1178
|
-
ne(
|
|
1179
|
-
var
|
|
1272
|
+
var c = W(g, 2);
|
|
1273
|
+
ne(c, {});
|
|
1274
|
+
var v = W(c, 2);
|
|
1180
1275
|
{
|
|
1181
|
-
var
|
|
1182
|
-
ue(
|
|
1276
|
+
var i = (h) => {
|
|
1277
|
+
ue(h, {
|
|
1183
1278
|
get title() {
|
|
1184
|
-
return
|
|
1279
|
+
return p();
|
|
1185
1280
|
},
|
|
1186
1281
|
get url() {
|
|
1187
|
-
return
|
|
1282
|
+
return o();
|
|
1188
1283
|
},
|
|
1189
1284
|
get items() {
|
|
1190
|
-
return
|
|
1285
|
+
return r(l);
|
|
1191
1286
|
}
|
|
1192
1287
|
});
|
|
1193
1288
|
};
|
|
1194
|
-
|
|
1195
|
-
var
|
|
1196
|
-
(((
|
|
1289
|
+
N(v, (h) => {
|
|
1290
|
+
var V;
|
|
1291
|
+
(((V = r(l)) == null ? void 0 : V.length) > 0 || p()) && h(i);
|
|
1197
1292
|
});
|
|
1198
1293
|
}
|
|
1199
|
-
|
|
1200
|
-
var
|
|
1201
|
-
get subNavigation() {
|
|
1202
|
-
return o();
|
|
1203
|
-
},
|
|
1204
|
-
set subNavigation(_) {
|
|
1205
|
-
o(_), Z();
|
|
1206
|
-
},
|
|
1294
|
+
b(f), Ce("innerWidth", (h) => J(M, ht(h))), m(e, f);
|
|
1295
|
+
var y = G({
|
|
1207
1296
|
get pageTitle() {
|
|
1208
|
-
return
|
|
1297
|
+
return p();
|
|
1209
1298
|
},
|
|
1210
|
-
set pageTitle(
|
|
1211
|
-
|
|
1299
|
+
set pageTitle(h) {
|
|
1300
|
+
p(h), E();
|
|
1212
1301
|
},
|
|
1213
1302
|
get pageURL() {
|
|
1214
|
-
return
|
|
1303
|
+
return o();
|
|
1215
1304
|
},
|
|
1216
|
-
set pageURL(
|
|
1217
|
-
|
|
1305
|
+
set pageURL(h) {
|
|
1306
|
+
o(h), E();
|
|
1218
1307
|
},
|
|
1219
1308
|
get variant() {
|
|
1220
|
-
return
|
|
1309
|
+
return w();
|
|
1221
1310
|
},
|
|
1222
|
-
set variant(
|
|
1223
|
-
|
|
1311
|
+
set variant(h) {
|
|
1312
|
+
w(h), E();
|
|
1224
1313
|
}
|
|
1225
1314
|
});
|
|
1226
|
-
return
|
|
1315
|
+
return s(), y;
|
|
1227
1316
|
}
|
|
1228
|
-
customElements.define("uofg-header",
|
|
1229
|
-
|
|
1317
|
+
customElements.define("uofg-header", F(
|
|
1318
|
+
Na,
|
|
1230
1319
|
{
|
|
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: {}
|
|
1320
|
+
pageTitle: { attribute: "page-title", reflect: !0 },
|
|
1321
|
+
pageURL: { attribute: "page-url", reflect: !0 },
|
|
1322
|
+
variant: { attribute: "variant", reflect: !0 }
|
|
1247
1323
|
},
|
|
1248
1324
|
[],
|
|
1249
1325
|
[],
|
|
1250
1326
|
!0,
|
|
1251
1327
|
(e) => class extends e {
|
|
1252
1328
|
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);
|
|
1329
|
+
super(), Le(this.shadowRoot);
|
|
1289
1330
|
}
|
|
1290
1331
|
}
|
|
1291
1332
|
));
|
|
1292
1333
|
export {
|
|
1293
|
-
|
|
1334
|
+
Na as default
|
|
1294
1335
|
};
|