@uoguelph/web-components 1.8.0-rc.0 → 1.9.0-rc.1

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.
@@ -1,389 +1,452 @@
1
- import { c as U, S as F, i as W, s as R, y as S, b as X1, e as w, g as N, h as f, j as b, k as p, w as v1, _ as Me, u as ee, l as te, n as le, t as _, o as m, U as j, p as v, x as Ze, $ as B, X as H, a0 as O, a1 as w1, r as J, a2 as k1, a3 as re, a4 as ne, C as A, a5 as h1, V as K, W as Q, a6 as p1, G as V, D as x, d as Z, m as C, q as L, E as Y, A as $1, a7 as T, F as E, a8 as g1, I as d, a9 as P, aa as se, ab as _1, H as m1, ac as f1, ad as Ce, a as Le, Z as Ne } from "./font-awesome-icon-B0B9COBP.js";
2
- import { t as G } from "./bundle-mjs-BpzLJ4dA.js";
3
- import { w as Ae } from "./index-CoNdSmYh.js";
4
- function u1(o, e) {
5
- const l = {}, t = {}, r = { $$scope: 1 };
6
- let a = o.length;
7
- for (; a--; ) {
8
- const s = o[a], c = e[a];
9
- if (c) {
10
- for (const n in s)
11
- n in c || (t[n] = 1);
12
- for (const n in c)
13
- r[n] || (l[n] = c[n], r[n] = 1);
14
- o[a] = c;
15
- } else
16
- for (const n in s)
17
- r[n] = 1;
18
- }
19
- for (const s in t)
20
- s in l || (l[s] = void 0);
21
- return l;
1
+ var xe = Object.defineProperty;
2
+ var Ft = (e) => {
3
+ throw TypeError(e);
4
+ };
5
+ var _e = (e, t, a) => t in e ? xe(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
6
+ var Mt = (e, t, a) => _e(e, typeof t != "symbol" ? t + "" : t, a), Ct = (e, t, a) => t.has(e) || Ft("Cannot " + a);
7
+ var O = (e, t, a) => (Ct(e, t, "read from private field"), a ? a.call(e) : t.get(e)), it = (e, t, a) => t.has(e) ? Ft("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, a), kt = (e, t, a, r) => (Ct(e, t, "write to private field"), r ? r.call(e, a) : t.set(e, a), a), Pt = (e, t, a) => (Ct(e, t, "access private method"), a);
8
+ import { Z as Dt, _ as Zt, $ as Kt, a0 as J, a1 as Jt, H as D, a2 as dt, a3 as me, a4 as we, a5 as At, I as Rt, a6 as Qt, a7 as ye, a8 as Me, a9 as Ce, aa as ke, ab as Ut, ac as zt, ad as Wt, z as jt, B as bt, ae as Le, af as $e, ag as Ae, ah as Se, C as Ne, ai as Ee, aj as Bt, ak as qt, al as Ve, am as Lt, an as Ze, ao as je, D as Ht, l as He, c as R, p as Y, a as V, Y as j, b as E, ap as Te, d as _, e as tt, h as Z, f as k, j as w, k as W, aq as P, X as T, s as ot, x as nt, E as q, ar as rt, r as m, as as Fe, at as Pe, J as I, u as l, K as at, L as H, au as ut, t as St, F as G, av as xt, M as _t, aw as Tt, ax as mt, ay as wt, w as Xt, az as Yt, o as et, q as Nt, v as ct, aA as Re, aB as Ue, i as ze } from "./font-awesome-icon-tL6xr2rJ.js";
9
+ import { a as We } from "./window-BjFv1LQ0.js";
10
+ import { i as te } from "./legacy-DIGW2RSh.js";
11
+ import { t as st } from "./bundle-mjs-BpzLJ4dA.js";
12
+ function It(e, t, ...a) {
13
+ var r = e, c = J, n;
14
+ Dt(() => {
15
+ c !== (c = t()) && (n && (Jt(n), n = null), n = Kt(() => (
16
+ /** @type {SnippetFn} */
17
+ c(r, ...a)
18
+ )));
19
+ }, Zt), D && (r = dt);
20
+ }
21
+ function Be(e, t, a, r, c, n) {
22
+ let f = D;
23
+ D && Rt();
24
+ var C, h, o = null;
25
+ D && dt.nodeType === 1 && (o = /** @type {Element} */
26
+ dt, Rt());
27
+ var i = (
28
+ /** @type {TemplateNode} */
29
+ D ? dt : e
30
+ ), p;
31
+ Dt(() => {
32
+ const u = t() || null;
33
+ var d = u === "svg" ? Qt : null;
34
+ u !== C && (p && (u === null ? ye(p, () => {
35
+ p = null, h = null;
36
+ }) : u === h ? Me(p) : (Jt(p), Wt(!1))), u && u !== h && (p = Kt(() => {
37
+ o = D ? (
38
+ /** @type {Element} */
39
+ o
40
+ ) : d ? document.createElementNS(d, u) : document.createElement(u), me(o, o);
41
+ {
42
+ D && Ce(u) && o.append(document.createComment(""));
43
+ var x = (
44
+ /** @type {TemplateNode} */
45
+ D ? ke(o) : o.appendChild(we())
46
+ );
47
+ D && (x === null ? Ut(!1) : zt(x)), r(o, x);
48
+ }
49
+ At.nodes_end = o, i.before(o);
50
+ })), C = u, C && (h = C), Wt(!0));
51
+ }, Zt), f && (Ut(!0), zt(i));
52
+ }
53
+ function qe(e, t, a) {
54
+ jt(() => {
55
+ var r = bt(() => t(e, a == null ? void 0 : a()) || {});
56
+ if (r != null && r.destroy)
57
+ return () => (
58
+ /** @type {Function} */
59
+ r.destroy()
60
+ );
61
+ });
22
62
  }
23
- function y1(o) {
24
- return o < 0.5 ? 4 * o * o * o : 0.5 * Math.pow(2 * o - 2, 3) + 1;
63
+ const Ie = () => performance.now(), K = {
64
+ // don't access requestAnimationFrame eagerly outside method
65
+ // this allows basic testing of user code without JSDOM
66
+ // bunder will eval and remove ternary when the user's app is built
67
+ tick: (
68
+ /** @param {any} _ */
69
+ (e) => requestAnimationFrame(e)
70
+ ),
71
+ now: () => Ie(),
72
+ tasks: /* @__PURE__ */ new Set()
73
+ };
74
+ function ee() {
75
+ const e = K.now();
76
+ K.tasks.forEach((t) => {
77
+ t.c(e) || (K.tasks.delete(t), t.f());
78
+ }), K.tasks.size !== 0 && K.tick(ee);
79
+ }
80
+ function Ge(e) {
81
+ let t;
82
+ return K.tasks.size === 0 && K.tick(ee), {
83
+ promise: new Promise((a) => {
84
+ K.tasks.add(t = { c: e, f: a });
85
+ }),
86
+ abort() {
87
+ K.tasks.delete(t);
88
+ }
89
+ };
90
+ }
91
+ function ft(e, t) {
92
+ e.dispatchEvent(new CustomEvent(t));
93
+ }
94
+ function Oe(e) {
95
+ if (e === "float") return "cssFloat";
96
+ if (e === "offset") return "cssOffset";
97
+ if (e.startsWith("--")) return e;
98
+ const t = e.split("-");
99
+ return t.length === 1 ? t[0] : t[0] + t.slice(1).map(
100
+ /** @param {any} word */
101
+ (a) => a[0].toUpperCase() + a.slice(1)
102
+ ).join("");
103
+ }
104
+ function Gt(e) {
105
+ const t = {}, a = e.split(";");
106
+ for (const r of a) {
107
+ const [c, n] = r.split(":");
108
+ if (!c || n === void 0) break;
109
+ const f = Oe(c.trim());
110
+ t[f] = n.trim();
111
+ }
112
+ return t;
113
+ }
114
+ const De = (e) => e;
115
+ function Ke(e, t, a, r) {
116
+ var c = (e & Ee) !== 0, n = "both", f, C = t.inert, h = t.style.overflow, o, i;
117
+ function p() {
118
+ var v = Ve, s = At;
119
+ Bt(null), qt(null);
120
+ try {
121
+ return f ?? (f = a()(t, (r == null ? void 0 : r()) ?? /** @type {P} */
122
+ {}, {
123
+ direction: n
124
+ }));
125
+ } finally {
126
+ Bt(v), qt(s);
127
+ }
128
+ }
129
+ var u = {
130
+ is_global: c,
131
+ in() {
132
+ t.inert = C, ft(t, "introstart"), o = Et(t, p(), i, 1, () => {
133
+ ft(t, "introend"), o == null || o.abort(), o = f = void 0, t.style.overflow = h;
134
+ });
135
+ },
136
+ out(v) {
137
+ t.inert = !0, ft(t, "outrostart"), i = Et(t, p(), o, 0, () => {
138
+ ft(t, "outroend"), v == null || v();
139
+ });
140
+ },
141
+ stop: () => {
142
+ o == null || o.abort(), i == null || i.abort();
143
+ }
144
+ }, d = (
145
+ /** @type {Effect} */
146
+ At
147
+ );
148
+ if ((d.transitions ?? (d.transitions = [])).push(u), Le) {
149
+ var x = c;
150
+ if (!x) {
151
+ for (var g = (
152
+ /** @type {Effect | null} */
153
+ d.parent
154
+ ); g && g.f & Zt; )
155
+ for (; (g = g.parent) && !(g.f & $e); )
156
+ ;
157
+ x = !g || (g.f & Ae) !== 0;
158
+ }
159
+ x && jt(() => {
160
+ bt(() => u.in());
161
+ });
162
+ }
25
163
  }
26
- function Ve(o) {
27
- const e = o - 1;
28
- return e * e * e + 1;
164
+ function Et(e, t, a, r, c) {
165
+ var n = r === 1;
166
+ if (Se(t)) {
167
+ var f, C = !1;
168
+ return Ne(() => {
169
+ if (!C) {
170
+ var v = t({ direction: n ? "in" : "out" });
171
+ f = Et(e, v, a, r, c);
172
+ }
173
+ }), {
174
+ abort: () => {
175
+ C = !0, f == null || f.abort();
176
+ },
177
+ deactivate: () => f.deactivate(),
178
+ reset: () => f.reset(),
179
+ t: () => f.t()
180
+ };
181
+ }
182
+ if (a == null || a.deactivate(), !(t != null && t.duration))
183
+ return c(), {
184
+ abort: J,
185
+ deactivate: J,
186
+ reset: J,
187
+ t: () => r
188
+ };
189
+ const { delay: h = 0, css: o, tick: i, easing: p = De } = t;
190
+ var u = [];
191
+ if (n && a === void 0 && (i && i(0, 1), o)) {
192
+ var d = Gt(o(0, 1));
193
+ u.push(d, d);
194
+ }
195
+ var x = () => 1 - r, g = e.animate(u, { duration: h });
196
+ return g.onfinish = () => {
197
+ var v = (a == null ? void 0 : a.t()) ?? 1 - r;
198
+ a == null || a.abort();
199
+ var s = r - v, L = (
200
+ /** @type {number} */
201
+ t.duration * Math.abs(s)
202
+ ), b = [];
203
+ if (L > 0) {
204
+ var M = !1;
205
+ if (o)
206
+ for (var A = Math.ceil(L / 16.666666666666668), S = 0; S <= A; S += 1) {
207
+ var N = v + s * p(S / A), y = Gt(o(N, 1 - N));
208
+ b.push(y), M || (M = y.overflow === "hidden");
209
+ }
210
+ M && (e.style.overflow = "hidden"), x = () => {
211
+ var $ = (
212
+ /** @type {number} */
213
+ /** @type {globalThis.Animation} */
214
+ g.currentTime
215
+ );
216
+ return v + s * p($ / L);
217
+ }, i && Ge(() => {
218
+ if (g.playState !== "running") return !1;
219
+ var $ = x();
220
+ return i($, 1 - $), !0;
221
+ });
222
+ }
223
+ g = e.animate(b, { duration: L, fill: "forwards" }), g.onfinish = () => {
224
+ x = () => r, i == null || i(r, 1 - r), c();
225
+ };
226
+ }, {
227
+ abort: () => {
228
+ g && (g.cancel(), g.effect = null, g.onfinish = J);
229
+ },
230
+ deactivate: () => {
231
+ c = J;
232
+ },
233
+ reset: () => {
234
+ r === 0 && (i == null || i(1, 0));
235
+ },
236
+ t: () => x()
237
+ };
238
+ }
239
+ var Q, lt, vt, pt, ae;
240
+ const gt = class gt {
241
+ /** @param {ResizeObserverOptions} options */
242
+ constructor(t) {
243
+ it(this, pt);
244
+ /** */
245
+ it(this, Q, /* @__PURE__ */ new WeakMap());
246
+ /** @type {ResizeObserver | undefined} */
247
+ it(this, lt);
248
+ /** @type {ResizeObserverOptions} */
249
+ it(this, vt);
250
+ kt(this, vt, t);
251
+ }
252
+ /**
253
+ * @param {Element} element
254
+ * @param {(entry: ResizeObserverEntry) => any} listener
255
+ */
256
+ observe(t, a) {
257
+ var r = O(this, Q).get(t) || /* @__PURE__ */ new Set();
258
+ return r.add(a), O(this, Q).set(t, r), Pt(this, pt, ae).call(this).observe(t, O(this, vt)), () => {
259
+ var c = O(this, Q).get(t);
260
+ c.delete(a), c.size === 0 && (O(this, Q).delete(t), O(this, lt).unobserve(t));
261
+ };
262
+ }
263
+ };
264
+ Q = new WeakMap(), lt = new WeakMap(), vt = new WeakMap(), pt = new WeakSet(), ae = function() {
265
+ return O(this, lt) ?? kt(this, lt, new ResizeObserver(
266
+ /** @param {any} entries */
267
+ (t) => {
268
+ for (var a of t) {
269
+ gt.entries.set(a.target, a);
270
+ for (var r of O(this, Q).get(a.target) || [])
271
+ r(a);
272
+ }
273
+ }
274
+ ));
275
+ }, /** @static */
276
+ Mt(gt, "entries", /* @__PURE__ */ new WeakMap());
277
+ let Vt = gt;
278
+ var Je = /* @__PURE__ */ new Vt({
279
+ box: "border-box"
280
+ });
281
+ function ht(e, t, a) {
282
+ var r = Je.observe(e, () => a(e[t]));
283
+ jt(() => (bt(() => a(e[t])), r));
284
+ }
285
+ function Qe(e) {
286
+ Lt === null && Ze(), je && Lt.l !== null ? Xe(Lt).m.push(e) : Ht(() => {
287
+ const t = bt(e);
288
+ if (typeof t == "function") return (
289
+ /** @type {() => void} */
290
+ t
291
+ );
292
+ });
29
293
  }
30
- function ze(o, { delay: e = 0, duration: l = 400, easing: t = Ve, axis: r = "y" } = {}) {
31
- const a = getComputedStyle(o), s = +a.opacity, c = r === "y" ? "height" : "width", n = parseFloat(a[c]), i = r === "y" ? ["top", "bottom"] : ["left", "right"], u = i.map(
32
- (M) => `${M[0].toUpperCase()}${M.slice(1)}`
33
- ), h = parseFloat(a[`padding${u[0]}`]), g = parseFloat(a[`padding${u[1]}`]), $ = parseFloat(a[`margin${u[0]}`]), k = parseFloat(a[`margin${u[1]}`]), y = parseFloat(
34
- a[`border${u[0]}Width`]
35
- ), z = parseFloat(
36
- a[`border${u[1]}Width`]
294
+ function Xe(e) {
295
+ var t = (
296
+ /** @type {ComponentContextLegacy} */
297
+ e.l
298
+ );
299
+ return t.u ?? (t.u = { a: [], b: [], m: [] });
300
+ }
301
+ function Ye(e) {
302
+ const t = e - 1;
303
+ return t * t * t + 1;
304
+ }
305
+ function Ot(e, { delay: t = 0, duration: a = 400, easing: r = Ye, axis: c = "y" } = {}) {
306
+ const n = getComputedStyle(e), f = +n.opacity, C = c === "y" ? "height" : "width", h = parseFloat(n[C]), o = c === "y" ? ["top", "bottom"] : ["left", "right"], i = o.map(
307
+ (s) => (
308
+ /** @type {'Left' | 'Right' | 'Top' | 'Bottom'} */
309
+ `${s[0].toUpperCase()}${s.slice(1)}`
310
+ )
311
+ ), p = parseFloat(n[`padding${i[0]}`]), u = parseFloat(n[`padding${i[1]}`]), d = parseFloat(n[`margin${i[0]}`]), x = parseFloat(n[`margin${i[1]}`]), g = parseFloat(
312
+ n[`border${i[0]}Width`]
313
+ ), v = parseFloat(
314
+ n[`border${i[1]}Width`]
37
315
  );
38
316
  return {
39
- delay: e,
40
- duration: l,
41
- easing: t,
42
- css: (M) => `overflow: hidden;opacity: ${Math.min(M * 20, 1) * s};${c}: ${M * n}px;padding-${i[0]}: ${M * h}px;padding-${i[1]}: ${M * g}px;margin-${i[0]}: ${M * $}px;margin-${i[1]}: ${M * k}px;border-${i[0]}-width: ${M * y}px;border-${i[1]}-width: ${M * z}px;`
317
+ delay: t,
318
+ duration: a,
319
+ easing: r,
320
+ css: (s) => `overflow: hidden;opacity: ${Math.min(s * 20, 1) * f};${C}: ${s * h}px;padding-${o[0]}: ${s * p}px;padding-${o[1]}: ${s * u}px;margin-${o[0]}: ${s * d}px;margin-${o[1]}: ${s * x}px;border-${o[0]}-width: ${s * g}px;border-${o[1]}-width: ${s * v}px;min-${C}: 0`
43
321
  };
44
322
  }
45
- const Se = (o) => {
46
- const e = function(t) {
47
- o.contains(t.relatedTarget) || o.dispatchEvent(new CustomEvent("focusoutside", { bubbles: !1 }));
48
- }, l = function(t) {
49
- o.contains(t.relatedTarget) || o.dispatchEvent(new CustomEvent("focusinside", { bubbles: !1 }));
323
+ function ta(e) {
324
+ return e < 0.5 ? 4 * e * e * e : 0.5 * Math.pow(2 * e - 2, 3) + 1;
325
+ }
326
+ const $t = (e) => {
327
+ const t = function(r) {
328
+ e.contains(r.relatedTarget) || e.dispatchEvent(new CustomEvent("focusoutside", { bubbles: !1 }));
329
+ }, a = function(r) {
330
+ e.contains(r.relatedTarget) || e.dispatchEvent(new CustomEvent("focusinside", { bubbles: !1 }));
50
331
  };
51
- return o.addEventListener("focusin", l), o.addEventListener("focusout", e), {
332
+ return e.addEventListener("focusin", a), e.addEventListener("focusout", t), {
52
333
  destroy() {
53
- o.removeEventListener("focusin", l), o.removeEventListener("focusout", e);
334
+ e.removeEventListener("focusin", a), e.removeEventListener("focusout", t);
54
335
  }
55
336
  };
56
- }, je = (o) => ({}), x1 = (o) => ({});
57
- function M1(o) {
58
- let e = (
59
- /*as*/
60
- o[2]
61
- ), l, t = !1, r, a = (
62
- /*as*/
63
- o[2] && b1(o)
64
- );
65
- return {
66
- c() {
67
- a && a.c(), l = B();
337
+ };
338
+ var ea = (e, t) => {
339
+ t(!t()), e.target.focus();
340
+ }, aa = k('<div tabindex="-1"><button aria-haspopup="true"><!></button> <!></div>');
341
+ function X(e, t) {
342
+ Y(t, !0);
343
+ let a = V(t, "class", 7), r = V(t, "open", 15, !1), c = V(t, "as", 7, "div"), n = V(t, "transition", 7, Ot), f = V(t, "buttonClass", 7, ""), C = V(t, "contentClass", 7, ""), h = V(t, "autoCollapse", 7, !0), o = V(t, "buttonAriaLabel", 7), i = V(t, "button", 7), p = V(t, "children", 7);
344
+ var u = aa(), d = w(u);
345
+ d.__click = [ea, r];
346
+ var x = w(d);
347
+ It(x, () => i() ?? J), m(d);
348
+ var g = W(d, 2);
349
+ {
350
+ var v = (s) => {
351
+ var L = P(), b = T(L);
352
+ Be(b, c, !1, (M, A) => {
353
+ let S;
354
+ E(() => S = rt(M, S, { class: C() }, void 0, M.namespaceURI === Qt, M.nodeName.includes("-"))), Ke(3, M, n, () => ({ duration: 200, easing: ta }));
355
+ var N = P(), y = T(N);
356
+ It(y, () => p() ?? J), _(A, N);
357
+ }), _(s, L);
358
+ };
359
+ j(g, (s) => {
360
+ r() && s(v);
361
+ });
362
+ }
363
+ return m(u), qe(u, (s) => $t == null ? void 0 : $t(s)), E(() => {
364
+ ot(u, nt(a())), ot(d, nt(f())), q(d, "aria-expanded", r()), q(d, "aria-label", o());
365
+ }), Te("focusoutside", u, () => {
366
+ h() && r(!1);
367
+ }), _(e, u), tt({
368
+ get class() {
369
+ return a();
68
370
  },
69
- m(s, c) {
70
- a && a.m(s, c), b(s, l, c), r = !0;
371
+ set class(s) {
372
+ a(s), Z();
71
373
  },
72
- p(s, c) {
73
- /*as*/
74
- s[2] ? e ? R(
75
- e,
76
- /*as*/
77
- s[2]
78
- ) ? (a.d(1), a = b1(s), e = /*as*/
79
- s[2], a.c(), t && (t = !1, _(a)), a.m(l.parentNode, l)) : (t && (t = !1, _(a)), a.p(s, c)) : (a = b1(s), e = /*as*/
80
- s[2], a.c(), _(a), a.m(l.parentNode, l)) : e && (t = !0, H(), m(a, 1, 1, () => {
81
- a = null, e = /*as*/
82
- s[2], t = !1;
83
- }), j());
374
+ get open() {
375
+ return r();
84
376
  },
85
- i(s) {
86
- r || (_(a, s), r = !0);
377
+ set open(s = !1) {
378
+ r(s), Z();
87
379
  },
88
- o(s) {
89
- m(a, s), r = !1;
380
+ get as() {
381
+ return c();
90
382
  },
91
- d(s) {
92
- s && v(l), a && a.d(s);
93
- }
94
- };
95
- }
96
- function b1(o) {
97
- let e, l, t;
98
- const r = (
99
- /*#slots*/
100
- o[9].default
101
- ), a = X1(
102
- r,
103
- o,
104
- /*$$scope*/
105
- o[8],
106
- null
107
- );
108
- let s = [{ class: (
109
- /*contentClass*/
110
- o[5]
111
- ) }], c = {};
112
- for (let n = 0; n < s.length; n += 1)
113
- c = O(c, s[n]);
114
- return {
115
- c() {
116
- e = w(
117
- /*as*/
118
- o[2]
119
- ), a && a.c(), w1(
120
- /*as*/
121
- o[2]
122
- )(e, c);
383
+ set as(s = "div") {
384
+ c(s), Z();
123
385
  },
124
- m(n, i) {
125
- b(n, e, i), a && a.m(e, null), t = !0;
386
+ get transition() {
387
+ return n();
126
388
  },
127
- p(n, i) {
128
- a && a.p && (!t || i & /*$$scope*/
129
- 256) && ee(
130
- a,
131
- r,
132
- n,
133
- /*$$scope*/
134
- n[8],
135
- t ? le(
136
- r,
137
- /*$$scope*/
138
- n[8],
139
- i,
140
- null
141
- ) : te(
142
- /*$$scope*/
143
- n[8]
144
- ),
145
- null
146
- ), w1(
147
- /*as*/
148
- n[2]
149
- )(e, c = u1(s, [
150
- (!t || i & /*contentClass*/
151
- 32) && { class: (
152
- /*contentClass*/
153
- n[5]
154
- ) }
155
- ]));
389
+ set transition(s = Ot) {
390
+ n(s), Z();
156
391
  },
157
- i(n) {
158
- t || (_(a, n), n && J(() => {
159
- t && (l || (l = k1(
160
- e,
161
- /*transition*/
162
- o[3],
163
- { duration: 200, easing: y1 },
164
- !0
165
- )), l.run(1));
166
- }), t = !0);
392
+ get buttonClass() {
393
+ return f();
167
394
  },
168
- o(n) {
169
- m(a, n), n && (l || (l = k1(
170
- e,
171
- /*transition*/
172
- o[3],
173
- { duration: 200, easing: y1 },
174
- !1
175
- )), l.run(0)), t = !1;
395
+ set buttonClass(s = "") {
396
+ f(s), Z();
176
397
  },
177
- d(n) {
178
- n && v(e), a && a.d(n), n && l && l.end();
179
- }
180
- };
181
- }
182
- function He(o) {
183
- let e, l, t, r, a, s;
184
- const c = (
185
- /*#slots*/
186
- o[9].button
187
- ), n = X1(
188
- c,
189
- o,
190
- /*$$scope*/
191
- o[8],
192
- x1
193
- );
194
- let i = (
195
- /*open*/
196
- o[0] && M1(o)
197
- );
198
- return {
199
- c() {
200
- e = w("div"), l = w("button"), n && n.c(), t = N(), i && i.c(), f(
201
- l,
202
- "class",
203
- /*buttonClass*/
204
- o[4]
205
- ), f(l, "aria-haspopup", "true"), f(
206
- l,
207
- "aria-expanded",
208
- /*open*/
209
- o[0]
210
- ), f(
211
- l,
212
- "aria-label",
213
- /*buttonAriaLabel*/
214
- o[7]
215
- ), f(
216
- e,
217
- "class",
218
- /*className*/
219
- o[1]
220
- ), f(e, "tabindex", "-1");
398
+ get contentClass() {
399
+ return C();
221
400
  },
222
- m(u, h) {
223
- b(u, e, h), p(e, l), n && n.m(l, null), p(e, t), i && i.m(e, null), r = !0, a || (s = [
224
- v1(
225
- l,
226
- "click",
227
- /*click_handler*/
228
- o[10]
229
- ),
230
- v1(
231
- e,
232
- "focusoutside",
233
- /*focusoutside_handler*/
234
- o[11]
235
- ),
236
- Me(Se.call(null, e))
237
- ], a = !0);
401
+ set contentClass(s = "") {
402
+ C(s), Z();
238
403
  },
239
- p(u, [h]) {
240
- n && n.p && (!r || h & /*$$scope*/
241
- 256) && ee(
242
- n,
243
- c,
244
- u,
245
- /*$$scope*/
246
- u[8],
247
- r ? le(
248
- c,
249
- /*$$scope*/
250
- u[8],
251
- h,
252
- je
253
- ) : te(
254
- /*$$scope*/
255
- u[8]
256
- ),
257
- x1
258
- ), (!r || h & /*buttonClass*/
259
- 16) && f(
260
- l,
261
- "class",
262
- /*buttonClass*/
263
- u[4]
264
- ), (!r || h & /*open*/
265
- 1) && f(
266
- l,
267
- "aria-expanded",
268
- /*open*/
269
- u[0]
270
- ), (!r || h & /*buttonAriaLabel*/
271
- 128) && f(
272
- l,
273
- "aria-label",
274
- /*buttonAriaLabel*/
275
- u[7]
276
- ), /*open*/
277
- u[0] ? i ? (i.p(u, h), h & /*open*/
278
- 1 && _(i, 1)) : (i = M1(u), i.c(), _(i, 1), i.m(e, null)) : i && (H(), m(i, 1, 1, () => {
279
- i = null;
280
- }), j()), (!r || h & /*className*/
281
- 2) && f(
282
- e,
283
- "class",
284
- /*className*/
285
- u[1]
286
- );
404
+ get autoCollapse() {
405
+ return h();
406
+ },
407
+ set autoCollapse(s = !0) {
408
+ h(s), Z();
287
409
  },
288
- i(u) {
289
- r || (_(n, u), _(i), r = !0);
410
+ get buttonAriaLabel() {
411
+ return o();
290
412
  },
291
- o(u) {
292
- m(n, u), m(i), r = !1;
413
+ set buttonAriaLabel(s) {
414
+ o(s), Z();
293
415
  },
294
- d(u) {
295
- u && v(e), n && n.d(u), i && i.d(), a = !1, Ze(s);
416
+ get button() {
417
+ return i();
418
+ },
419
+ set button(s) {
420
+ i(s), Z();
421
+ },
422
+ get children() {
423
+ return p();
424
+ },
425
+ set children(s) {
426
+ p(s), Z();
296
427
  }
297
- };
298
- }
299
- function Re(o, e, l) {
300
- let { $$slots: t = {}, $$scope: r } = e, { class: a } = e, { open: s = !1 } = e, { as: c = "div" } = e, { transition: n = ze } = e, { buttonClass: i = "" } = e, { contentClass: u = "" } = e, { autoCollapse: h = !0 } = e, { buttonAriaLabel: g } = e;
301
- const $ = (y) => {
302
- l(0, s = !s), y.target.focus();
303
- }, k = () => {
304
- h && l(0, s = !1);
305
- };
306
- return o.$$set = (y) => {
307
- "class" in y && l(1, a = y.class), "open" in y && l(0, s = y.open), "as" in y && l(2, c = y.as), "transition" in y && l(3, n = y.transition), "buttonClass" in y && l(4, i = y.buttonClass), "contentClass" in y && l(5, u = y.contentClass), "autoCollapse" in y && l(6, h = y.autoCollapse), "buttonAriaLabel" in y && l(7, g = y.buttonAriaLabel), "$$scope" in y && l(8, r = y.$$scope);
308
- }, [
309
- s,
310
- a,
311
- c,
312
- n,
313
- i,
314
- u,
315
- h,
316
- g,
317
- r,
318
- t,
319
- $,
320
- k
321
- ];
322
- }
323
- class q extends F {
324
- constructor(e) {
325
- super(), W(this, e, Re, He, R, {
326
- class: 1,
327
- open: 0,
328
- as: 2,
329
- transition: 3,
330
- buttonClass: 4,
331
- contentClass: 5,
332
- autoCollapse: 6,
333
- buttonAriaLabel: 7
334
- });
335
- }
336
- get class() {
337
- return this.$$.ctx[1];
338
- }
339
- set class(e) {
340
- this.$$set({ class: e }), S();
341
- }
342
- get open() {
343
- return this.$$.ctx[0];
344
- }
345
- set open(e) {
346
- this.$$set({ open: e }), S();
347
- }
348
- get as() {
349
- return this.$$.ctx[2];
350
- }
351
- set as(e) {
352
- this.$$set({ as: e }), S();
353
- }
354
- get transition() {
355
- return this.$$.ctx[3];
356
- }
357
- set transition(e) {
358
- this.$$set({ transition: e }), S();
359
- }
360
- get buttonClass() {
361
- return this.$$.ctx[4];
362
- }
363
- set buttonClass(e) {
364
- this.$$set({ buttonClass: e }), S();
365
- }
366
- get contentClass() {
367
- return this.$$.ctx[5];
368
- }
369
- set contentClass(e) {
370
- this.$$set({ contentClass: e }), S();
371
- }
372
- get autoCollapse() {
373
- return this.$$.ctx[6];
374
- }
375
- set autoCollapse(e) {
376
- this.$$set({ autoCollapse: e }), S();
377
- }
378
- get buttonAriaLabel() {
379
- return this.$$.ctx[7];
380
- }
381
- set buttonAriaLabel(e) {
382
- this.$$set({ buttonAriaLabel: e }), S();
383
- }
428
+ });
384
429
  }
385
- U(q, { class: {}, open: { type: "Boolean" }, as: {}, transition: {}, buttonClass: {}, contentClass: {}, autoCollapse: { type: "Boolean" }, buttonAriaLabel: {} }, ["button", "default"], [], !0);
386
- const ae = [
430
+ He(["click"]);
431
+ R(
432
+ X,
433
+ {
434
+ class: {},
435
+ open: {},
436
+ as: {},
437
+ transition: {},
438
+ buttonClass: {},
439
+ contentClass: {},
440
+ autoCollapse: {},
441
+ buttonAriaLabel: {},
442
+ button: {},
443
+ children: {}
444
+ },
445
+ [],
446
+ [],
447
+ !0
448
+ );
449
+ const re = [
387
450
  {
388
451
  text: "About",
389
452
  href: "https://uoguelph.ca/about"
@@ -407,10 +470,10 @@ const ae = [
407
470
  {
408
471
  text: "Search the University of Guelph",
409
472
  href: "https://uoguelph.ca/search",
410
- icon: re,
473
+ icon: Fe,
411
474
  excludeFromMainMenu: !0
412
475
  }
413
- ], oe = [
476
+ ], se = [
414
477
  {
415
478
  text: "Give",
416
479
  href: "https://bbis.alumni.uoguelph.ca/BBIS_Cannon/give/uofg"
@@ -445,7 +508,7 @@ const ae = [
445
508
  ]
446
509
  },
447
510
  {
448
- text: "APPLY NOW",
511
+ text: "Apply Now",
449
512
  href: "https://uoguelph.ca/apply/",
450
513
  highlight: !0
451
514
  },
@@ -453,8 +516,8 @@ const ae = [
453
516
  text: "Account Menu",
454
517
  links: [
455
518
  {
456
- text: "Intranet",
457
- href: "https://intranet.uoguelph.ca/"
519
+ text: "U of G Insider",
520
+ href: "https://uoguelphca.sharepoint.com/"
458
521
  },
459
522
  {
460
523
  text: "WebAdvisor",
@@ -473,2825 +536,750 @@ const ae = [
473
536
  href: "https://gryphlife.uoguelph.ca/"
474
537
  }
475
538
  ],
476
- icon: ne,
477
- excludeFromMainMenu: !0
478
- }
479
- ], ce = [
480
- {
481
- text: "About",
482
- href: "https://preview-ugconthub.netlify.app/ridgetown/about/"
483
- },
484
- {
485
- text: "Academics",
486
- href: "https://preview-ugconthub.netlify.app/ridgetown/programs/"
487
- },
488
- {
489
- text: "Admissions",
490
- href: "https://preview-ugconthub.netlify.app/ridgetown/apply/"
491
- },
492
- {
493
- text: "Student Life",
494
- href: "https://preview-ugconthub.netlify.app/ridgetown/student-life/"
495
- },
496
- {
497
- text: "Search the University of Guelph",
498
- href: "https://uoguelph.ca/search",
499
- icon: re,
539
+ icon: Pe,
500
540
  excludeFromMainMenu: !0
501
541
  }
502
- ], ie = [
503
- {
504
- text: "Give",
505
- href: "https://preview-ugconthub.netlify.app/ridgetown/alumni/"
506
- },
507
- {
508
- text: "News",
509
- href: "https://news.uoguelph.ca/"
510
- },
511
- {
512
- text: "Visit Us",
513
- href: "https://preview-ugconthub.netlify.app/ridgetown/campus-tour/"
514
- },
515
- {
516
- text: "Research",
517
- href: "https://preview-ugconthub.netlify.app/ridgetown/about/research/"
518
- },
519
- {
520
- text: "Quick Links",
521
- links: [
522
- {
523
- text: "Future Students",
524
- href: "https://preview-ugconthub.netlify.app/ridgetown/discover/"
525
- },
526
- {
527
- text: "Current Students",
528
- href: "https://www.ridgetownc.com/current/academic-support/"
529
- },
530
- {
531
- text: "Alumni",
532
- href: "https://preview-ugconthub.netlify.app/ridgetown/alumni/"
533
- },
534
- {
535
- text: "Employer & Partners",
536
- href: "https://www.ridgetownc.com/about/community/"
537
- },
538
- {
539
- text: "Business Development Centre",
540
- href: "https://bdc.ridgetownc.com/"
542
+ ];
543
+ var ra = k("<span> </span> <!>", 1), sa = k('<span class="flex items-center gap-2 [&amp;>svg]:transition-transform"><!></span>'), la = k("<li><a> </a></li>"), oa = k("<a> </a>"), na = k("<li><!></li>"), ia = k('<nav class="flex h-10 justify-end bg-white px-[calc((100%-1320px)/2)] text-lg" aria-label="Secondary"><ul class="flex h-full items-center justify-end [&amp;>li]:contents"></ul></nav>');
544
+ function le(e, t) {
545
+ Y(t, !1), te();
546
+ var a = ia(), r = w(a);
547
+ I(r, 5, () => se, (c) => c.text || c.title, (c, n) => {
548
+ var f = na(), C = w(f);
549
+ {
550
+ var h = (i) => {
551
+ var p = ut(() => st("flex h-full items-center justify-center gap-2 px-2 transition-colors hover:bg-light-grey aria-expanded:bg-light-grey", l(n).icon && "[&_svg]:aria-expanded:rotate-180)} aspect-square")), u = ut(() => l(n).icon ? l(n).text : void 0);
552
+ X(i, {
553
+ class: "relative h-full",
554
+ get buttonClass() {
555
+ return l(p);
556
+ },
557
+ contentClass: "absolute right-0 top-full z-50 flex min-w-[20rem] flex-col bg-light-grey [&>li]:contents",
558
+ as: "ul",
559
+ get buttonAriaLabel() {
560
+ return l(u);
561
+ },
562
+ button: (x) => {
563
+ var g = sa(), v = w(g);
564
+ {
565
+ var s = (b) => {
566
+ G(b, {
567
+ get icon() {
568
+ return l(n).icon;
569
+ }
570
+ });
571
+ }, L = (b) => {
572
+ var M = ra(), A = T(M), S = w(A, !0);
573
+ m(A);
574
+ var N = W(A, 2);
575
+ G(N, { icon: xt }), E(() => H(S, l(n).text)), _(b, M);
576
+ };
577
+ j(v, (b) => {
578
+ l(n).icon ? b(s) : b(L, !1);
579
+ });
580
+ }
581
+ m(g), E(() => St(g, "bg-yellow", l(n).highlight)), _(x, g);
582
+ },
583
+ children: (x, g) => {
584
+ var v = P(), s = T(v);
585
+ I(s, 1, () => l(n).links, at, (L, b) => {
586
+ var M = la(), A = w(M);
587
+ let S;
588
+ var N = w(A, !0);
589
+ m(A), m(M), E(() => {
590
+ S = rt(A, S, {
591
+ class: st("border-0 border-b border-solid border-light-grey-500 p-2 transition-colors hover:bg-yellow", l(n).highlight && "bg-yellow"),
592
+ href: l(b).href,
593
+ ...l(b).attributes
594
+ }), H(N, l(b).text);
595
+ }), _(L, M);
596
+ }), _(x, v);
597
+ },
598
+ $$slots: { button: !0, default: !0 }
599
+ });
600
+ }, o = (i) => {
601
+ var p = oa();
602
+ const u = ut(() => nt(st("flex h-full items-center justify-center gap-2 px-2 transition-colors hover:bg-light-grey", l(n).highlight && "bg-yellow")));
603
+ var d = w(p, !0);
604
+ m(p), E(() => {
605
+ ot(p, l(u)), q(p, "href", l(n).href), H(d, l(n).text);
606
+ }), _(i, p);
607
+ };
608
+ j(C, (i) => {
609
+ l(n).links ? i(h) : i(o, !1);
610
+ });
611
+ }
612
+ m(f), _(c, f);
613
+ }), m(r), m(a), _(e, a), tt();
614
+ }
615
+ R(le, {}, [], [], !0);
616
+ var ca = _t('<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>');
617
+ function oe(e) {
618
+ var t = ca();
619
+ _(e, t);
620
+ }
621
+ R(oe, {}, [], [], !0);
622
+ var ua = _t(`<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 346.8 436.84"><defs><style>.cls-1 {
623
+ fill: #fff;
624
+ font-family: MyriadPro-Regular, 'Myriad Pro';
625
+ font-size: 44.28px;
541
626
  }
542
- ]
543
- },
627
+
628
+ .cls-2 {
629
+ fill: #e51937;
630
+ }</style></defs><g><rect x="83.14" y="42.23" width="180.66" height="352.2"></rect><path class="cls-2" d="M262.3,43.73v349.2H84.64V43.73h177.66M265.3,40.73H81.64v355.2h183.66V40.73h0Z"></path></g><text class="cls-1" transform="translate(112.91 242.36)"><tspan x="0" y="0">CREST</tspan></text></svg>`);
631
+ function ne(e) {
632
+ var t = ua();
633
+ _(e, t);
634
+ }
635
+ R(ne, {}, [], [], !0);
636
+ var va = _t(`<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1345.57 436.77"><defs><style>.cls-1 {
637
+ fill: #fff;
638
+ font-family: MyriadPro-Regular, 'Myriad Pro';
639
+ font-size: 44.28px;
640
+ }
641
+
642
+ .cls-2 {
643
+ fill: #e51937;
644
+ }
645
+
646
+ .cls-3 {
647
+ letter-spacing: 0em;
648
+ }</style></defs><g><rect x="312.71" y="84.14" width="949.67" height="273.47"></rect><path class="cls-2" d="M1260.88,85.64v270.47H314.21V85.64h946.67M1263.88,82.64H311.21v276.47h952.67V82.64h0Z"></path></g><g><rect x="83.41" y="42.34" width="180.66" height="352.2"></rect><path class="cls-2" d="M262.57,43.84v349.2H84.91V43.84h177.66M265.57,40.84H81.91v355.2h183.66V40.84h0Z"></path></g><text class="cls-1" transform="translate(660.72 229.89)"><tspan x="0" y="0">WORD</tspan><tspan class="cls-3" x="121.29" y="0">M</tspan><tspan x="156.46" y="0">ARK</tspan></text><text class="cls-1" transform="translate(111.72 238.89)"><tspan x="0" y="0">CREST</tspan></text></svg>`);
649
+ function ie(e) {
650
+ var t = va();
651
+ _(e, t);
652
+ }
653
+ R(ie, {}, [], [], !0);
654
+ var fa = k('<div class="left-0 h-full w-[7.5rem] min-[1320px]:absolute [&amp;>svg]:block [&amp;>svg]:h-full [&amp;>svg]:w-auto"><!></div>'), ha = k('<div class="flex w-fit"><!> <a href="https://www.uoguelph.ca" aria-label="University of Guelph Home Page"><!></a></div>');
655
+ function ce(e, t) {
656
+ Y(t, !0);
657
+ const [a, r] = mt(), c = () => wt(f, "$headerState", a);
658
+ let n = V(t, "variant", 7);
659
+ const f = Tt("header-state");
660
+ var C = ha(), h = w(C);
544
661
  {
545
- text: "APPLY NOW",
546
- href: "https://preview-ugconthub.netlify.app/ridgetown/apply/",
547
- highlight: !0
548
- },
662
+ var o = (v) => {
663
+ var s = fa(), L = w(s);
664
+ oe(L), m(s), _(v, s);
665
+ };
666
+ j(h, (v) => {
667
+ var s;
668
+ ((s = c()) == null ? void 0 : s.mode) === "desktop" && v(o);
669
+ });
670
+ }
671
+ var i = W(h, 2);
672
+ const p = Xt(() => {
673
+ var v, s;
674
+ return nt(st("flex items-center h-full w-fit transition-opacity focus:opacity-75 hover:opacity-75 min-[1320px]:absolute min-[1320px]:left-[max(calc((100%-1320px)/2),7.5rem)] [&>svg]:block [&>svg]:w-auto", ((v = c()) == null ? void 0 : v.mode) === "desktop" ? "[&>svg]:h-22" : ((s = c()) == null ? void 0 : s.variant) === "dual-brand" ? "[&>svg]:h-[7.5rem] px-2" : "[&>svg]:h-[5rem]"));
675
+ });
676
+ var u = w(i);
549
677
  {
550
- text: "Account Menu",
551
- links: [
552
- {
553
- text: "Intranet",
554
- href: "https://uoguelphca.sharepoint.com/sites/Ridgetown/SitePages/CollabHome.aspx"
555
- },
556
- {
557
- text: "WebAdvisor",
558
- href: "https://www.uoguelph.ca/webadvisor/"
559
- },
560
- {
561
- text: "GryphMail",
562
- href: "https://mail.uoguelph.ca/"
563
- },
564
- {
565
- text: "CourseLink",
566
- href: "https://courselink.uoguelph.ca/"
567
- }
568
- ],
569
- icon: ne,
570
- excludeFromMainMenu: !0
678
+ var d = (v) => {
679
+ ie(v);
680
+ }, x = (v) => {
681
+ ne(v);
682
+ };
683
+ j(u, (v) => {
684
+ var s;
685
+ ((s = c()) == null ? void 0 : s.mode) === "desktop" ? v(d) : v(x, !1);
686
+ });
571
687
  }
572
- ];
573
- function Z1(o, e, l) {
574
- const t = o.slice();
575
- return t[3] = e[l], t;
576
- }
577
- function C1(o, e, l) {
578
- const t = o.slice();
579
- return t[6] = e[l], t;
580
- }
581
- function Ue(o) {
582
- let e, l = (
583
- /*item*/
584
- o[3].text.toUpperCase() + ""
585
- ), t;
586
- return {
587
- c() {
588
- e = w("a"), t = V(l), f(e, "class", G(
589
- "flex h-full items-center justify-center gap-2 px-4 transition-colors hover:bg-uofg-grey",
590
- /*item*/
591
- o[3].highlight && "bg-uofg-yellow"
592
- )), f(
593
- e,
594
- "href",
595
- /*item*/
596
- o[3].href
597
- );
688
+ m(i), m(C), E(() => ot(i, l(p))), _(e, C);
689
+ var g = tt({
690
+ get variant() {
691
+ return n();
598
692
  },
599
- m(r, a) {
600
- b(r, e, a), p(e, t);
601
- },
602
- p: x,
603
- i: x,
604
- o: x,
605
- d(r) {
606
- r && v(e);
607
- }
608
- };
609
- }
610
- function Fe(o) {
611
- let e, l;
612
- return e = new q({
613
- props: {
614
- class: "relative h-full",
615
- buttonClass: G(
616
- "flex h-full items-center justify-center gap-2 px-4 transition-colors hover:bg-uofg-grey aria-expanded:bg-uofg-grey",
617
- /*item*/
618
- o[3].icon && "[&_svg]:aria-expanded:rotate-180)}"
619
- ),
620
- contentClass: "absolute right-0 top-full z-50 flex min-w-[20rem] flex-col bg-uofg-grey [&>li]:contents",
621
- as: "ul",
622
- buttonAriaLabel: (
623
- /*item*/
624
- o[3].icon ? (
625
- /*item*/
626
- o[3].text
627
- ) : void 0
628
- ),
629
- $$slots: {
630
- button: [Ee],
631
- default: [We]
632
- },
633
- $$scope: { ctx: o }
634
- }
635
- }), {
636
- c() {
637
- Z(e.$$.fragment);
638
- },
639
- m(t, r) {
640
- C(e, t, r), l = !0;
641
- },
642
- p(t, r) {
643
- const a = {};
644
- r & /*$$scope*/
645
- 512 && (a.$$scope = { dirty: r, ctx: t }), e.$set(a);
646
- },
647
- i(t) {
648
- l || (_(e.$$.fragment, t), l = !0);
649
- },
650
- o(t) {
651
- m(e.$$.fragment, t), l = !1;
652
- },
653
- d(t) {
654
- L(e, t);
693
+ set variant(v) {
694
+ n(v), Z();
655
695
  }
656
- };
657
- }
658
- function L1(o) {
659
- let e, l, t = (
660
- /*link*/
661
- o[6].text + ""
662
- ), r, a, s = [
696
+ });
697
+ return r(), g;
698
+ }
699
+ R(ce, { variant: {} }, [], [], !0);
700
+ var da = _t('<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>');
701
+ function ue(e) {
702
+ var t = da();
703
+ _(e, t);
704
+ }
705
+ R(ue, {}, [], [], !0);
706
+ var pa = k('<a class="flex h-full items-center justify-center border-0 border-b-8 border-solid border-transparent p-4 pb-6 pt-8 text-yellow transition-colors hover:border-yellow hover:text-white [&amp;>svg]:fill-current"><!></a>'), ga = k('<a class="flex h-full text-center items-center justify-center border-0 border-b-8 border-solid border-transparent p-4 pt-6 transition-colors hover:border-yellow hover:text-yellow"> </a>'), ba = k("<li><!></li>"), xa = k('<ul class="flex ml-auto [&amp;>li]:contents text-xl"></ul>');
707
+ function ve(e) {
708
+ var t = xa();
709
+ I(t, 5, () => re, at, (a, r) => {
710
+ var c = ba(), n = w(c);
663
711
  {
664
- class: G(
665
- "border-0 border-b border-solid border-uofg-grey-500 p-4 transition-colors hover:bg-uofg-yellow",
666
- /*item*/
667
- o[3].highlight && "bg-uofg-yellow"
668
- )
669
- },
712
+ var f = (h) => {
713
+ var o = pa(), i = w(o);
714
+ G(i, {
715
+ get icon() {
716
+ return l(r).icon;
717
+ }
718
+ }), m(o), E(() => {
719
+ q(o, "href", l(r).href), q(o, "aria-label", l(r).text);
720
+ }), _(h, o);
721
+ }, C = (h) => {
722
+ var o = ga(), i = w(o, !0);
723
+ m(o), E(() => {
724
+ q(o, "href", l(r).href), H(i, l(r).text);
725
+ }), _(h, o);
726
+ };
727
+ j(n, (h) => {
728
+ l(r).icon ? h(f) : h(C, !1);
729
+ });
730
+ }
731
+ m(c), _(a, c);
732
+ }), m(t), _(e, t);
733
+ }
734
+ R(ve, {}, [], [], !0);
735
+ var _a = k('<li class="[&amp;>*]:first:mt-4 [&amp;>*]:last:mb-4"><a class="border-0 border-b border-solid border-light-grey-500 p-4 transition-colors hover:bg-yellow"> </a></li>'), ma = k('<a class="flex h-full aspect-square items-center justify-center gap-2 px-4 transition-colors hover:bg-white focus:bg-white aria-expanded:bg-white hover:text-black focus:text-black aria-expanded:text-black"><!></a>'), wa = k("<li><!></li>"), ya = k('<span class="w-full flex items-center gap-2 justify-between [&amp;>svg]:transition-transform"><span class="mr-auto"> </span> <!></span>'), Ma = k("<li><a> </a></li>"), Ca = k('<a class="border-0 border-b border-solid border-light-grey-500 p-2 transition-colors hover:bg-light-grey focus:bg-light-grey"> </a>'), ka = k('<li class="[&amp;>*]:first:mt-4 [&amp;>*]:last:mb-4"><!></li>'), La = k('<ul class="flex h-full [&amp;>li]:contents"><!> <li><!></li></ul>');
736
+ function fe(e) {
737
+ const t = [...re, ...se], a = t.filter((h) => !(h != null && h.excludeFromMainMenu)), r = t.filter((h) => h == null ? void 0 : h.excludeFromMainMenu);
738
+ var c = La(), n = w(c);
739
+ I(n, 1, () => r, (h) => h.text || h.title, (h, o) => {
740
+ var i = wa(), p = w(i);
670
741
  {
671
- href: (
672
- /*link*/
673
- o[6].href
674
- )
675
- },
676
- /*link*/
677
- o[6].attributes
678
- ], c = {};
679
- for (let n = 0; n < s.length; n += 1)
680
- c = O(c, s[n]);
681
- return {
682
- c() {
683
- e = w("li"), l = w("a"), r = V(t), a = N(), T(l, c);
684
- },
685
- m(n, i) {
686
- b(n, e, i), p(e, l), p(l, r), p(e, a);
687
- },
688
- p: x,
689
- d(n) {
690
- n && v(e);
742
+ var u = (x) => {
743
+ var g = ut(() => l(o).icon ? l(o).text : void 0);
744
+ X(x, {
745
+ class: "h-full w-fit",
746
+ get buttonAriaLabel() {
747
+ return l(g);
748
+ },
749
+ buttonClass: "flex h-full aspect-square items-center justify-center gap-2 px-4 transition-colors hover:bg-white focus:bg-white aria-expanded:bg-white hover:text-black focus:text-black aria-expanded:text-black",
750
+ contentClass: "absolute right-0 top-full z-50 flex w-full flex-col bg-white px-4 text-black shadow-md lg:w-[30rem] [&>li]:contents",
751
+ as: "ul",
752
+ button: (s) => {
753
+ G(s, {
754
+ get icon() {
755
+ return l(o).icon;
756
+ }
757
+ });
758
+ },
759
+ children: (s, L) => {
760
+ var b = P(), M = T(b);
761
+ I(M, 1, () => l(o).links, at, (A, S) => {
762
+ var N = _a(), y = w(N), $ = w(y, !0);
763
+ m(y), m(N), E(() => {
764
+ q(y, "href", l(S).href), H($, l(S).text);
765
+ }), _(A, N);
766
+ }), _(s, b);
767
+ },
768
+ $$slots: { button: !0, default: !0 }
769
+ });
770
+ }, d = (x) => {
771
+ var g = ma(), v = w(g);
772
+ G(v, {
773
+ get icon() {
774
+ return l(o).icon;
775
+ }
776
+ }), m(g), E(() => {
777
+ q(g, "href", l(o).href), q(g, "aria-label", l(o).text);
778
+ }), _(x, g);
779
+ };
780
+ j(p, (x) => {
781
+ l(o).links ? x(u) : x(d, !1);
782
+ });
691
783
  }
692
- };
693
- }
694
- function We(o) {
695
- let e, l = A(
696
- /*item*/
697
- o[3].links
698
- ), t = [];
699
- for (let r = 0; r < l.length; r += 1)
700
- t[r] = L1(C1(o, l, r));
701
- return {
702
- c() {
703
- for (let r = 0; r < t.length; r += 1)
704
- t[r].c();
705
- e = B();
706
- },
707
- m(r, a) {
708
- for (let s = 0; s < t.length; s += 1)
709
- t[s] && t[s].m(r, a);
710
- b(r, e, a);
711
- },
712
- p(r, a) {
713
- if (a & /*links*/
714
- 2) {
715
- l = A(
716
- /*item*/
717
- r[3].links
718
- );
719
- let s;
720
- for (s = 0; s < l.length; s += 1) {
721
- const c = C1(r, l, s);
722
- t[s] ? t[s].p(c, a) : (t[s] = L1(c), t[s].c(), t[s].m(e.parentNode, e));
784
+ m(i), _(h, i);
785
+ });
786
+ var f = W(n, 2), C = w(f);
787
+ X(C, {
788
+ class: "h-full w-fit",
789
+ buttonAriaLabel: "Main Menu",
790
+ buttonClass: "flex h-full aspect-square items-center justify-center gap-2 px-4 transition-colors hover:bg-white focus:bg-white aria-expanded:bg-white hover:text-black focus:text-black aria-expanded:text-black [&_svg]:aria-expanded:rotate-180",
791
+ contentClass: "absolute right-0 top-full z-50 flex w-full flex-col bg-white px-4 text-black shadow-md lg:w-[30rem] [&>li]:contents max-h-[calc(100vh-5rem)] overflow-y-auto",
792
+ as: "ul",
793
+ button: (o) => {
794
+ G(o, { icon: Yt });
795
+ },
796
+ children: (o, i) => {
797
+ var p = P(), u = T(p);
798
+ I(u, 1, () => a, at, (d, x) => {
799
+ var g = ka(), v = w(g);
800
+ {
801
+ var s = (b) => {
802
+ X(b, {
803
+ class: "relative w-full",
804
+ buttonClass: "flex border-0 border-b border-solid border-light-grey-500 w-full items-center justify-between gap-2 p-2 transition-colors hover:bg-light-grey focus:bg-light-grey aria-expanded:bg-light-grey [&_svg]:aria-expanded:rotate-180",
805
+ contentClass: "flex flex-col w-full flex-col bg-white text-black [&>li]:contents",
806
+ as: "ul",
807
+ autoCollapse: !1,
808
+ button: (A) => {
809
+ var S = ya(), N = w(S), y = w(N, !0);
810
+ m(N);
811
+ var $ = W(N, 2);
812
+ G($, { icon: xt }), m(S), E(() => {
813
+ St(S, "bg-yellow", l(x).highlight), H(y, l(x).text);
814
+ }), _(A, S);
815
+ },
816
+ children: (A, S) => {
817
+ var N = P(), y = T(N);
818
+ I(y, 1, () => l(x).links, at, ($, U) => {
819
+ var B = Ma(), z = w(B);
820
+ let F;
821
+ var yt = w(z, !0);
822
+ m(z), m(B), E(() => {
823
+ F = rt(z, F, {
824
+ class: "border-0 border-b border-solid border-light-grey-500 p-2 transition-colors hover:bg-light-grey",
825
+ href: l(U).href,
826
+ ...l(U).attributes
827
+ }), H(yt, l(U).text);
828
+ }), _($, B);
829
+ }), _(A, N);
830
+ },
831
+ $$slots: { button: !0, default: !0 }
832
+ });
833
+ }, L = (b) => {
834
+ var M = Ca(), A = w(M, !0);
835
+ m(M), E(() => {
836
+ q(M, "href", l(x).href), St(M, "bg-yellow", l(x).highlight), H(A, l(x).text);
837
+ }), _(b, M);
838
+ };
839
+ j(v, (b) => {
840
+ l(x).links ? b(s) : b(L, !1);
841
+ });
723
842
  }
724
- for (; s < t.length; s += 1)
725
- t[s].d(1);
726
- t.length = l.length;
843
+ m(g), _(d, g);
844
+ }), _(o, p);
845
+ },
846
+ $$slots: { button: !0, default: !0 }
847
+ }), m(f), m(c), _(e, c);
848
+ }
849
+ R(fe, {}, [], [], !0);
850
+ var $a = k('<a href="https://www.guelphhumber.ca" class="w-auto h-full p-4 ml-auto transition-opacity focus:opacity-75 hover:opacity-75"><span class="sr-only">University of Guelph-Humber Homepage</span> <!></a>'), Aa = k('<nav aria-label="Primary"><!> <!></nav>');
851
+ function he(e, t) {
852
+ Y(t, !1);
853
+ const [a, r] = mt(), c = () => wt(n, "$headerState", a), n = Tt("header-state");
854
+ te();
855
+ var f = Aa();
856
+ const C = ut(() => {
857
+ var u;
858
+ return nt(st("relative w-full justify-between flex lg:h-25 bg-black px-[calc((100%-1320px)/2)] text-lg text-white", ((u = c()) == null ? void 0 : u.variant) === "dual-brand" ? "h-[7.5rem]" : "h-12.5"));
859
+ });
860
+ var h = w(f);
861
+ ce(h, {});
862
+ var o = W(h, 2);
863
+ {
864
+ var i = (u) => {
865
+ var d = $a(), x = W(w(d), 2);
866
+ ue(x), m(d), _(u, d);
867
+ }, p = (u) => {
868
+ var d = P(), x = T(d);
869
+ {
870
+ var g = (s) => {
871
+ ve(s);
872
+ }, v = (s) => {
873
+ fe(s);
874
+ };
875
+ j(
876
+ x,
877
+ (s) => {
878
+ var L;
879
+ ((L = c()) == null ? void 0 : L.mode) === "desktop" ? s(g) : s(v, !1);
880
+ },
881
+ !0
882
+ );
727
883
  }
728
- },
729
- d(r) {
730
- r && v(e), Y(t, r);
731
- }
732
- };
884
+ _(u, d);
885
+ };
886
+ j(o, (u) => {
887
+ var d;
888
+ ((d = c()) == null ? void 0 : d.variant) === "dual-brand" ? u(i) : u(p, !1);
889
+ });
890
+ }
891
+ m(f), E(() => ot(f, l(C))), _(e, f), tt(), r();
733
892
  }
734
- function Be(o) {
735
- let e, l, t, r;
736
- return t = new E({ props: { icon: g1 } }), {
737
- c() {
738
- e = w("span"), e.textContent = `${/*item*/
739
- o[3].text.toUpperCase()}`, l = N(), Z(t.$$.fragment);
740
- },
741
- m(a, s) {
742
- b(a, e, s), b(a, l, s), C(t, a, s), r = !0;
743
- },
744
- p: x,
745
- i(a) {
746
- r || (_(t.$$.fragment, a), r = !0);
747
- },
748
- o(a) {
749
- m(t.$$.fragment, a), r = !1;
893
+ R(he, {}, [], [], !0);
894
+ var Sa = k('<span class="flex items-center gap-2 [&amp;>svg]:transition-transform"><span> </span> <!></span>'), Na = k("<li><a> </a></li>"), Ea = k("<li><!></li>"), Va = k("<li><a> </a></li>");
895
+ function de(e, t) {
896
+ Y(t, !0);
897
+ let a = V(t, "items", 7);
898
+ var r = P(), c = T(r);
899
+ return I(c, 17, a, (n) => n.text || n.title, (n, f) => {
900
+ var C = P(), h = T(C);
901
+ {
902
+ var o = (p) => {
903
+ var u = Ea(), d = w(u);
904
+ X(d, {
905
+ class: "relative h-full",
906
+ buttonClass: "flex h-full items-center justify-center gap-2 px-2 transition-colors hover:bg-yellow aria-expanded:bg-yellow [&_svg]:aria-expanded:rotate-180",
907
+ contentClass: "absolute right-0 top-full z-50 flex min-w-[20rem] flex-col bg-light-grey [&>li]:contents",
908
+ buttonAriaLabel: void 0,
909
+ as: "ul",
910
+ button: (g) => {
911
+ var v = Sa(), s = w(v), L = w(s, !0);
912
+ m(s);
913
+ var b = W(s, 2);
914
+ G(b, { icon: xt }), m(v), E(() => H(L, l(f).title)), _(g, v);
915
+ },
916
+ children: (g, v) => {
917
+ var s = P(), L = T(s);
918
+ I(L, 17, () => l(f).links, at, (b, M) => {
919
+ var A = Na(), S = w(A);
920
+ let N;
921
+ var y = w(S, !0);
922
+ m(S), m(A), E(() => {
923
+ var $;
924
+ N = rt(S, N, {
925
+ ...l(M).attributes,
926
+ class: `border-0 border-b border-solid border-light-grey-500 p-2 transition-colors hover:bg-yellow ${(($ = l(M).attributes) == null ? void 0 : $.class) ?? ""}`,
927
+ href: l(M).href
928
+ }), H(y, l(M).text);
929
+ }), _(b, A);
930
+ }), _(g, s);
931
+ },
932
+ $$slots: { button: !0, default: !0 }
933
+ }), m(u), _(p, u);
934
+ }, i = (p) => {
935
+ var u = Va(), d = w(u);
936
+ let x;
937
+ var g = w(d, !0);
938
+ m(d), m(u), E(() => {
939
+ var v;
940
+ x = rt(d, x, {
941
+ ...l(f).attributes,
942
+ class: `flex h-full items-center justify-center gap-2 px-2 transition-colors hover:bg-yellow ${((v = l(f).attributes) == null ? void 0 : v.class) ?? ""}`,
943
+ href: l(f).href
944
+ }), H(g, l(f).text);
945
+ }), _(p, u);
946
+ };
947
+ j(h, (p) => {
948
+ l(f).links ? p(o) : p(i, !1);
949
+ });
950
+ }
951
+ _(n, C);
952
+ }), _(e, r), tt({
953
+ get items() {
954
+ return a();
750
955
  },
751
- d(a) {
752
- a && (v(e), v(l)), L(t, a);
956
+ set items(n) {
957
+ a(n), Z();
753
958
  }
754
- };
959
+ });
755
960
  }
756
- function Te(o) {
757
- let e, l;
758
- return e = new E({ props: { icon: (
759
- /*item*/
760
- o[3].icon
761
- ) } }), {
762
- c() {
763
- Z(e.$$.fragment);
764
- },
765
- m(t, r) {
766
- C(e, t, r), l = !0;
767
- },
768
- p: x,
769
- i(t) {
770
- l || (_(e.$$.fragment, t), l = !0);
961
+ R(de, { items: {} }, [], [], !0);
962
+ var Za = k("<a> </a>"), ja = k('<span class="w-full flex items-center gap-2 justify-between [&amp;>svg]:transition-transform"><span class="mr-auto"> </span> <!></span>'), Ha = k("<li><a> </a></li>"), Ta = k('<li class="[&amp;>*]:last:mb-4 [&amp;>*]:first:mt-4"><!></li>'), Fa = k("<li><!></li>");
963
+ function pe(e, t) {
964
+ Y(t, !0);
965
+ let a = V(t, "items", 7);
966
+ var r = Fa(), c = w(r);
967
+ return X(c, {
968
+ class: "h-full",
969
+ buttonClass: "flex h-full aspect-square items-center justify-center gap-2 px-4 transition-colors hover:bg-yellow aria-expanded:bg-yellow",
970
+ contentClass: "whitespace-normal absolute right-0 top-full z-50 flex w-full flex-col bg-white px-4 text-black shadow-md lg:w-[30rem] [&>li]:contents max-h-[calc(100vh-5rem)] overflow-y-auto",
971
+ buttonAriaLabel: "Sub Navigation Menu",
972
+ as: "ul",
973
+ button: (f) => {
974
+ G(f, { icon: Yt });
975
+ },
976
+ children: (f, C) => {
977
+ var h = P(), o = T(h);
978
+ I(o, 17, a, (i) => i.text || i.title, (i, p) => {
979
+ var u = Ta(), d = w(u);
980
+ {
981
+ var x = (v) => {
982
+ var s = Za();
983
+ let L;
984
+ var b = w(s, !0);
985
+ m(s), E(() => {
986
+ var M;
987
+ L = rt(s, L, {
988
+ ...l(p).attributes,
989
+ class: `border-0 border-b border-solid border-light-grey-500 p-2 transition-colors hover:bg-light-grey ${((M = l(p).attributes) == null ? void 0 : M.class) ?? ""}`,
990
+ href: l(p).href
991
+ }), H(b, l(p).text);
992
+ }), _(v, s);
993
+ }, g = (v) => {
994
+ X(v, {
995
+ class: "relative w-full",
996
+ buttonClass: "flex border-0 border-b border-solid border-light-grey-500 w-full items-center justify-between gap-2 p-2 transition-colors hover:bg-light-grey focus:bg-light-grey aria-expanded:bg-light-grey [&_svg]:aria-expanded:rotate-180",
997
+ contentClass: "flex flex-col w-full flex-col bg-white text-black [&>li]:contents",
998
+ as: "ul",
999
+ autoCollapse: !1,
1000
+ button: (L) => {
1001
+ var b = ja(), M = w(b), A = w(M, !0);
1002
+ m(M);
1003
+ var S = W(M, 2);
1004
+ G(S, { icon: xt }), m(b), E(() => H(A, l(p).title)), _(L, b);
1005
+ },
1006
+ children: (L, b) => {
1007
+ var M = P(), A = T(M);
1008
+ I(A, 17, () => l(p).links, at, (S, N) => {
1009
+ var y = Ha(), $ = w(y);
1010
+ let U;
1011
+ var B = w($, !0);
1012
+ m($), m(y), E(() => {
1013
+ var z;
1014
+ U = rt($, U, {
1015
+ ...l(N).attributes,
1016
+ class: `border-0 border-b border-solid border-light-grey-500 p-2 transition-colors hover:bg-light-grey ${((z = l(N).attributes) == null ? void 0 : z.class) ?? ""}`,
1017
+ href: l(N).href
1018
+ }), H(B, l(N).text);
1019
+ }), _(S, y);
1020
+ }), _(L, M);
1021
+ },
1022
+ $$slots: { button: !0, default: !0 }
1023
+ });
1024
+ };
1025
+ j(d, (v) => {
1026
+ l(p).text ? v(x) : v(g, !1);
1027
+ });
1028
+ }
1029
+ m(u), _(i, u);
1030
+ }), _(f, h);
771
1031
  },
772
- o(t) {
773
- m(e.$$.fragment, t), l = !1;
1032
+ $$slots: { button: !0, default: !0 }
1033
+ }), m(r), _(e, r), tt({
1034
+ get items() {
1035
+ return a();
774
1036
  },
775
- d(t) {
776
- L(e, t);
1037
+ set items(n) {
1038
+ a(n), Z();
777
1039
  }
778
- };
1040
+ });
779
1041
  }
780
- function Ee(o) {
781
- let e, l, t, r;
782
- const a = [Te, Be], s = [];
783
- function c(n, i) {
784
- return (
785
- /*item*/
786
- n[3].icon ? 0 : 1
787
- );
1042
+ R(pe, { items: {} }, [], [], !0);
1043
+ var Pa = k('<a class="mr-auto flex h-full items-center justify-center px-3 font-bold transition-colors hover:bg-yellow"> </a>'), Ra = k('<span class="mr-auto flex h-full items-center justify-center px-3 font-bold"> </span>'), Ua = k('<nav aria-label="Page Specific"><div class="flex h-full min-w-full overflow-y-visible items-center justify-end [&amp;>li]:contents relative"><!> <ul class="[&amp;>li]:contents h-full flex w-fit !static lg:static"><!></ul></div></nav>');
1044
+ function ge(e, t) {
1045
+ Y(t, !0);
1046
+ const [a, r] = mt(), c = () => wt(n, "$headerState", a), n = Tt("header-state");
1047
+ let f = V(t, "items", 7), C = V(t, "title", 7), h = V(t, "url", 7), o = ct(void 0), i = ct(void 0), p = ct(void 0), u, d = ct(void 0);
1048
+ Ht(() => {
1049
+ var y;
1050
+ clearTimeout(u), ((y = c()) == null ? void 0 : y.mode) === "desktop" && l(o) - l(i) < l(p) && (u = setTimeout(
1051
+ () => {
1052
+ et(d, Nt(isNaN(l(d)) ? l(o) : Math.max(l(o), l(d))));
1053
+ },
1054
+ 50
1055
+ ));
1056
+ }), Qe(() => {
1057
+ var y;
1058
+ ((y = c()) == null ? void 0 : y.mode) === "desktop" && l(o) - l(i) < l(p) && et(d, Nt(isNaN(l(d)) ? l(o) : Math.max(l(o), l(d))));
1059
+ });
1060
+ var x = Ua();
1061
+ const g = Xt(() => {
1062
+ var y;
1063
+ return nt(st("block align-items relative justify-end bg-light-grey px-[calc((100%-1320px)/2)] text-lg lg:whitespace-nowrap", ((y = c()) == null ? void 0 : y.variant) === "dual-brand" ? "h-10" : "h-[5rem] lg:h-10"));
1064
+ });
1065
+ var v = w(x), s = w(v);
1066
+ {
1067
+ var L = (y) => {
1068
+ var $ = Pa(), U = w($, !0);
1069
+ m($), E(() => {
1070
+ q($, "href", h()), H(U, C());
1071
+ }), ht($, "clientWidth", (B) => et(i, B)), _(y, $);
1072
+ }, b = (y) => {
1073
+ var $ = P(), U = T($);
1074
+ {
1075
+ var B = (z) => {
1076
+ var F = Ra(), yt = w(F, !0);
1077
+ m(F), E(() => H(yt, C())), ht(F, "clientWidth", (be) => et(i, be)), _(z, F);
1078
+ };
1079
+ j(
1080
+ U,
1081
+ (z) => {
1082
+ C() && z(B);
1083
+ },
1084
+ !0
1085
+ );
1086
+ }
1087
+ _(y, $);
1088
+ };
1089
+ j(s, (y) => {
1090
+ C() && h() ? y(L) : y(b, !1);
1091
+ });
788
1092
  }
789
- return l = c(o), t = s[l] = a[l](o), {
790
- c() {
791
- e = w("span"), t.c(), f(e, "class", "flex gap-2 [&>svg]:transition-transform"), f(e, "slot", "button"), $1(
792
- e,
793
- "bg-uofg-yellow",
794
- /*item*/
795
- o[3].highlight
796
- );
1093
+ var M = W(s, 2), A = w(M);
1094
+ {
1095
+ var S = (y) => {
1096
+ var $ = P(), U = T($);
1097
+ {
1098
+ var B = (F) => {
1099
+ de(F, {
1100
+ get items() {
1101
+ return f();
1102
+ }
1103
+ });
1104
+ }, z = (F) => {
1105
+ pe(F, {
1106
+ get items() {
1107
+ return f();
1108
+ }
1109
+ });
1110
+ };
1111
+ j(U, (F) => {
1112
+ c().mode === "desktop" && (isNaN(l(d)) || l(o) > l(d)) ? F(B) : F(z, !1);
1113
+ });
1114
+ }
1115
+ _(y, $);
1116
+ };
1117
+ j(A, (y) => {
1118
+ var $;
1119
+ (($ = f()) == null ? void 0 : $.length) > 0 && y(S);
1120
+ });
1121
+ }
1122
+ m(M), m(v), m(x), E(() => ot(x, l(g))), ht(M, "clientWidth", (y) => et(p, y)), ht(v, "clientWidth", (y) => et(o, y)), _(e, x);
1123
+ var N = tt({
1124
+ get items() {
1125
+ return f();
797
1126
  },
798
- m(n, i) {
799
- b(n, e, i), s[l].m(e, null), r = !0;
1127
+ set items(y) {
1128
+ f(y), Z();
800
1129
  },
801
- p(n, i) {
802
- t.p(n, i);
1130
+ get title() {
1131
+ return C();
803
1132
  },
804
- i(n) {
805
- r || (_(t), r = !0);
1133
+ set title(y) {
1134
+ C(y), Z();
806
1135
  },
807
- o(n) {
808
- m(t), r = !1;
1136
+ get url() {
1137
+ return h();
809
1138
  },
810
- d(n) {
811
- n && v(e), s[l].d();
1139
+ set url(y) {
1140
+ h(y), Z();
812
1141
  }
813
- };
814
- }
815
- function N1(o, e) {
816
- let l, t, r, a, s;
817
- const c = [Fe, Ue], n = [];
818
- function i(u, h) {
819
- return (
820
- /*item*/
821
- u[3].links ? 0 : 1
822
- );
1142
+ });
1143
+ return r(), N;
1144
+ }
1145
+ R(ge, { items: {}, title: {}, url: {} }, [], [], !0);
1146
+ const za = 35;
1147
+ var Wa = k('<header class="relative z-10 w-full font-condensed text-black"><!> <!> <!></header>');
1148
+ function Ba(e, t) {
1149
+ Y(t, !0);
1150
+ const [a, r] = mt(), c = () => wt(p, "$headerState", a);
1151
+ let n = V(t, "subNavigation", 7), f = V(t, "pageTitle", 7), C = V(t, "pageURL", 7), h = V(t, "variant", 7), o = ct(void 0);
1152
+ const i = 1024, p = Re({ mode: "mobile", variant: h() });
1153
+ Ue("header-state", p), Ht(() => {
1154
+ p.set({
1155
+ mode: l(o) >= i ? "desktop" : "mobile",
1156
+ variant: h()
1157
+ });
1158
+ });
1159
+ var u = Wa(), d = w(u);
1160
+ {
1161
+ var x = (b) => {
1162
+ le(b, {});
1163
+ };
1164
+ j(d, (b) => {
1165
+ c().mode === "desktop" && h() !== "dual-brand" && b(x);
1166
+ });
1167
+ }
1168
+ var g = W(d, 2);
1169
+ he(g, {});
1170
+ var v = W(g, 2);
1171
+ {
1172
+ var s = (b) => {
1173
+ ge(b, {
1174
+ get title() {
1175
+ return f();
1176
+ },
1177
+ get url() {
1178
+ return C();
1179
+ },
1180
+ get items() {
1181
+ return n();
1182
+ }
1183
+ });
1184
+ };
1185
+ j(v, (b) => {
1186
+ var M;
1187
+ (((M = n()) == null ? void 0 : M.length) > 0 || f()) && b(s);
1188
+ });
823
1189
  }
824
- return t = i(e), r = n[t] = c[t](e), {
825
- key: o,
826
- first: null,
827
- c() {
828
- l = w("li"), r.c(), a = N(), this.first = l;
1190
+ m(u), We("innerWidth", (b) => et(o, Nt(b))), _(e, u);
1191
+ var L = tt({
1192
+ get subNavigation() {
1193
+ return n();
829
1194
  },
830
- m(u, h) {
831
- b(u, l, h), n[t].m(l, null), p(l, a), s = !0;
1195
+ set subNavigation(b) {
1196
+ n(b), Z();
832
1197
  },
833
- p(u, h) {
834
- e = u, r.p(e, h);
1198
+ get pageTitle() {
1199
+ return f();
835
1200
  },
836
- i(u) {
837
- s || (_(r), s = !0);
1201
+ set pageTitle(b) {
1202
+ f(b), Z();
838
1203
  },
839
- o(u) {
840
- m(r), s = !1;
1204
+ get pageURL() {
1205
+ return C();
841
1206
  },
842
- d(u) {
843
- u && v(l), n[t].d();
844
- }
845
- };
846
- }
847
- function Pe(o) {
848
- let e, l, t = [], r = /* @__PURE__ */ new Map(), a, s = A(
849
- /*links*/
850
- o[1]
851
- );
852
- const c = (n) => (
853
- /*item*/
854
- n[3].text || /*item*/
855
- n[3].title
856
- );
857
- for (let n = 0; n < s.length; n += 1) {
858
- let i = Z1(o, s, n), u = c(i);
859
- r.set(u, t[n] = N1(u, i));
860
- }
861
- return {
862
- c() {
863
- e = w("nav"), l = w("ul");
864
- for (let n = 0; n < t.length; n += 1)
865
- t[n].c();
866
- f(l, "class", "flex h-full items-center justify-end [&>li]:contents"), f(e, "class", "flex h-16 justify-end bg-white px-[calc((100%-1320px)/2)] text-3xl"), f(e, "aria-label", "Secondary");
1207
+ set pageURL(b) {
1208
+ C(b), Z();
867
1209
  },
868
- m(n, i) {
869
- b(n, e, i), p(e, l);
870
- for (let u = 0; u < t.length; u += 1)
871
- t[u] && t[u].m(l, null);
872
- a = !0;
1210
+ get variant() {
1211
+ return h();
873
1212
  },
874
- p(n, [i]) {
875
- i & /*links, undefined*/
876
- 2 && (s = A(
877
- /*links*/
878
- n[1]
879
- ), H(), t = h1(t, i, c, 1, n, s, r, l, p1, N1, null, Z1), j());
880
- },
881
- i(n) {
882
- if (!a) {
883
- for (let i = 0; i < s.length; i += 1)
884
- _(t[i]);
885
- a = !0;
886
- }
887
- },
888
- o(n) {
889
- for (let i = 0; i < t.length; i += 1)
890
- m(t[i]);
891
- a = !1;
892
- },
893
- d(n) {
894
- n && v(e);
895
- for (let i = 0; i < t.length; i += 1)
896
- t[i].d();
897
- }
898
- };
899
- }
900
- function Ge(o, e, l) {
901
- let t;
902
- const r = K("header-state");
903
- Q(o, r, (s) => l(2, t = s));
904
- const a = (t == null ? void 0 : t.variant) === "ridgetown" ? ie : oe;
905
- return [r, a];
906
- }
907
- class ue extends F {
908
- constructor(e) {
909
- super(), W(this, e, Ge, Pe, R, {});
910
- }
911
- }
912
- U(ue, {}, [], [], !0);
913
- function Ie(o) {
914
- let e, l, t;
915
- return {
916
- c() {
917
- e = d("svg"), l = d("path"), t = d("path"), f(l, "d", "M23.131 0l44.847 90H0V0"), f(l, "fill", "#c20430"), f(t, "d", "M23.131 0l16.03 32.044L55.1 0"), f(t, "fill", "#ffc500"), f(e, "viewBox", "0 0 68 90"), f(e, "xmlns", "http://www.w3.org/2000/svg");
918
- },
919
- m(r, a) {
920
- b(r, e, a), p(e, l), p(e, t);
921
- },
922
- p: x,
923
- i: x,
924
- o: x,
925
- d(r) {
926
- r && v(e);
927
- }
928
- };
929
- }
930
- class fe extends F {
931
- constructor(e) {
932
- super(), W(this, e, null, Ie, R, {});
933
- }
934
- }
935
- U(fe, {}, [], [], !0);
936
- function qe(o) {
937
- let e, l, t;
938
- return {
939
- c() {
940
- e = d("svg"), l = d("path"), t = d("path"), f(l, "d", "M0 0h100v100H0V0z"), f(t, "fill", "#fff"), f(t, "d", "M74.6 54.9l-.7 2c2.4 0 5.6 1.4 5.6 2.9v9.5c0-.2-.2 5.4-7.8 5.4-13.7 0-15.6-10-15.6-20 0-6.7 2.4-13 5.8-17 3.4-3.8 9.8-3.6 15-3 5 .4 6.8 8.7 6.8 8.7l1.7-.5.2-13.2s-.7-.7-1.2-.5c-.5.3-2.4 1-3.7 1-1 0-4.6-.7-8.3-.7-6.6 0-13 1.4-17.8 8a32 32 0 00-3.4 6.1V28c0-8 4.1-6.3 4.6-7 .5-1.3.5-1.3-.2-1.5H39.9s-2 1.4-.7 1.4c5.4.5 7.6 2.5 7.6 7.4v25.4c0 6.6-5.1 10.5-12.5 10.5C27 64.2 22 59.5 22 51.5v-23c0-8 4.1-6.6 4.4-7.6.7-1 .7-1.2 0-1.2 0 0-9.3.5-16.2 0 0 0-2 1.5-.7 1.5 5.4.5 5.4 2.9 5.4 8v26.2s-.5 13.9 17.8 13.9c7.8 0 12.5-3.2 15-6.4l1.1-1.7c.3 2.5.8 5 1.5 7.1 3 9.6 14 12.2 17.6 12.2 4.6 0 4.6 0 8.8-2.9 2.2-1.2 10.2-4.4 10.2-4.4V59.8c0-2.2 4-3.2 4-3.2l.2-1.7H74.6z"), f(e, "xmlns", "http://www.w3.org/2000/svg"), f(e, "viewBox", "0 0 100 100");
941
- },
942
- m(r, a) {
943
- b(r, e, a), p(e, l), p(e, t);
944
- },
945
- p: x,
946
- i: x,
947
- o: x,
948
- d(r) {
949
- r && v(e);
950
- }
951
- };
952
- }
953
- class he extends F {
954
- constructor(e) {
955
- super(), W(this, e, null, qe, R, {});
956
- }
957
- }
958
- U(he, {}, [], [], !0);
959
- function De(o) {
960
- let e, l, t, r;
961
- return {
962
- c() {
963
- e = d("svg"), l = d("g"), t = d("path"), r = d("path"), f(t, "d", "M223.87 71.503c-2.899.217-5.81.227-8.71.03-1.23-.07-1.43-.07-1.51 0-.08.08-.78.76-.64 1.16.05.14.17.22.38.25 2.21.26 2.72 1.11 2.72 4.51l.01 6.43H202.6l-.01-7.96c0-2.05 1.13-2.46 1.88-2.73.36-.13.64-.23.64-.5 0-.2.05-.39.1-.56.06-.22.11-.4.01-.52-.09-.11-.27-.11-.39-.1-3.56.32-6.38.13-7.89.02-.95-.06-1.11-.07-1.19 0-.08.08-.78.76-.64 1.16.05.14.17.22.38.25 2.19.26 2.69 1.1 2.69 4.51l.02 20.68c0 2.05-1.31 2.46-2.18 2.74-.43.13-.74.23-.74.5 0 .2-.05.39-.1.56-.06.22-.12.4-.01.53.09.11.27.11.39.1 3.55-.32 6.59-.13 8.23-.03l1.03.05c.18 0 .25-.02.29-.05.08-.08.78-.76.64-1.16-.05-.14-.17-.22-.38-.25-2.22-.26-2.76-1.15-2.76-4.52l-.01-10.13h13.52l.01 11.67c0 2.05-1.18 2.47-1.97 2.74-.37.13-.67.23-.67.5 0 .2-.05.39-.1.56-.06.22-.12.4-.01.53.09.11.27.11.39.1 3.54-.32 6.7-.13 8.39-.03 1.12.07 1.3.07 1.38 0 .08-.08.78-.76.64-1.16-.05-.14-.17-.22-.38-.25-2.22-.26-2.76-1.15-2.76-4.52l-.03-20.68c0-2.05 1.41-2.46 2.34-2.73.46-.13.79-.23.79-.5 0-.2.05-.39.1-.56.06-.22.11-.4.01-.52-.09-.13-.26-.13-.38-.12ZM75.39 92.043h.14c1.83 0 4.16 1.14 4.16 2.03v7.43l-.01.03c-.15.93-1.04 3.96-6.01 3.96h-.27c-6.34 0-9.27-3.61-10.61-6.67-3.1-7.05-.75-17.23 3.42-21.62 1.41-1.48 4.78-3.76 11.57-2.39 3.91.79 5.17 6.69 5.18 6.75l.02.11 1.46-.49.3-10.34-.02-.03c-.54-.73-1.43-.38-2.29-.04-.55.22-1.12.45-1.61.43-4.4-.9-15.18-2.15-20.31 5.73-5.35 7.02-6.38 17.7-2.46 25.38 2.62 5.14 7.02 7.95 12.41 7.95h.38c3.45 0 3.45 0 6.38-1.91l.36-.24c1.66-1.08 7.89-3.38 7.95-3.4l.07-.03v-10.47c0-1.75 3.02-2.45 3.05-2.46l.07-.02.16-1.47h-13l-.49 1.78Zm43.26-20.81c-2.23.21-5.93.09-8.15.02-1.96-.06-1.97-.05-2.03.01-.05.05-.53.54-.43.83.02.07.09.16.28.19 1.59.2 4.26 1.22 4.21 3.8l-.14 16.16a6.291 6.291 0 0 1-3.4 5.65 8.4 8.4 0 0 1-8.26-.04c-2.22-1.37-3.37-3.85-3.24-7l.02-14.85c0-2.22 1.24-2.67 2.06-2.96.39-.14.7-.25.7-.53 0-.22.06-.42.11-.61.07-.24.12-.43.01-.56-.1-.11-.27-.11-.4-.1-3.62.34-7.03.14-8.86.03-1.23-.07-1.43-.08-1.51 0-.08.08-.8.82-.66 1.25.03.1.13.22.39.26 2.13.27 3.22 1.1 3.22 4.88l-.03 15.45c.04 3 1.29 5.55 3.63 7.38a12.768 12.768 0 0 0 7.74 2.52h.1c5.78-.04 11.6-3.69 11.57-11.75-.01-2.7.16-16.36.16-16.5 0-1.38 1.4-1.81 2.33-2.1.49-.15.78-.24.78-.45 0-.13.03-.27.06-.39.05-.2.09-.38-.01-.49-.04-.08-.13-.11-.25-.1Zm49.72 23.14c0 .02-.45 1.91-1.87 3.4a5.292 5.292 0 0 1-2.82 1.49c-3.03.61-6.82.85-8.38-.3a1.797 1.797 0 0 1-.75-1.29c-.07-.71-.02-21.51-.02-21.72 0-2.05 1.52-2.47 2.52-2.74.49-.13.84-.23.84-.5 0-.2.05-.39.1-.56.06-.23.11-.41.01-.53-.09-.11-.26-.11-.37-.1-3.33.31-7.09.13-9.1.03-1.51-.07-1.69-.07-1.76 0-.08.08-.75.77-.61 1.17.03.09.12.21.36.24 2.03.25 3.13 1.05 3.13 4.53l.01 17.51c0 6.15-2.81 6.39-2.84 6.39l-.14.01.38 1.13h.08c.14 0 13.96-.46 17.78-.16l1.01.09c.55.05 1 .1 1.37.1.71 0 1.15-.16 1.43-.71.47-.94.77-7.33.78-7.6l.01-.13-1.13.18-.02.07Zm22.62-21.3c-2.69-2.16-9.17-1.66-14.39-1.26-1.58.12-3.08.24-4.23.25-.92-.05-1.01-.04-1.07.02-.08.08-.78.76-.64 1.16.05.14.17.22.38.25 2.28.27 2.86 1.2 2.86 4.51l.02 19.83c0 2.06-1.24 2.54-2.06 2.86-.4.16-.69.27-.69.53 0 .2-.05.39-.1.56-.06.22-.12.4-.01.53.09.11.27.11.39.1 3.52-.31 7.02-.13 8.91-.03.67.04 1.05.05 1.27.05.22 0 .28-.02.32-.05.09-.08.8-.93.64-1.4-.03-.1-.13-.24-.38-.26-2.16-.26-3.49-1.1-3.49-4.52l-.01-7.58c0-.28.07-.49.19-.6.08-.07.17-.1.29-.1l1.17.08c2.84.22 7.13.54 9.88-1.23a8.982 8.982 0 0 0 4.07-7.36 7.502 7.502 0 0 0-3.32-6.34Zm-5.32 12.41c-.74.35-1.6.53-2.55.53h-.03c-2.68-.01-3.68-.53-4.05-.96-.22-.26-.19-.47-.19-.49v-9.94c5.24-1.02 9.01.31 10.08 3.56a6.2 6.2 0 0 1-3.26 7.3Zm-41.49 8.66c-.36-.08-.77.3-1.26 1.15-.23.39-.42.77-.6 1.14-.95 1.9-1.63 3.28-6.08 3.28-5.31 0-6.98-.28-7.13-2.06-.15-1.77-.01-10.42 0-11.04.11-.14.78-.85 2.51-.85h3.07c.03 0 2.71.25 3.29 3.15.05.23.17.32.27.34.4.12 1.07-.53 1.14-.6l.03-.03v-6.23a.9.9 0 0 0-.42-.56c-.22-.12-.48-.12-.78-.02l-.05.02-.02.05c-.37 1.29-1.61 1.35-3.77 1.35-2.03 0-4.69.36-5.28.45v-9.01h8.36c.03 0 3.47.19 4.21 3.15.3 1.2.71 1.53 1 1.6.23.06.46-.03.66-.25.4-.46.62-1.48.23-2.49-.75-1.96-.76-5.32-.76-5.35v-.12l-2.34.24h-18.48c-.9 0-1.48.21-1.71.61-.28.49.06 1.06.08 1.09l.03.05h.06c.01 0 1.43-.04 2.54 1.03.9.86 1.35 2.19 1.35 3.95l.02 19.48c0 2.18-1.26 2.71-2.09 3.07-.32.14-.58.24-.67.42-.37.68-.45 1.01-.33 1.21.12.2.43.19.85.18l.34-.01c.12 0 11.68-.3 18.38 0 .24.01.5.07.78.13.31.07.65.15.96.15.44 0 .84-.14 1.12-.64.73-1.27 1.08-6.59 1.09-6.84.02-.11-.09-1.08-.6-1.19Zm-112.71-2.48a2.7 2.7 0 0 0 1.63.49c.64 0 1.27-.16 1.78-.31 2.22-.67 4.81-4.4 4.81-8.21 0-2.16-.77-3.56-2.18-3.93-1.92-.51-4.54 1.08-5.98 3.61-.66 1.17-1.45 2.88-1.44 4.4.03 1.97.49 3.3 1.38 3.95Zm1.87-7.19c.69-1.26 1.56-2.12 2.41-2.36.16-.04.31-.07.46-.07.25 0 .49.06.7.19 1.05.6.85 3.15-.04 4.74-.92 1.64-1.85 2.76-3.39 2.89-.42.03-.74-.11-.95-.43-.59-.9-.24-3.03.81-4.96Z"), f(r, "d", "M54.37 70.083a1.75 1.75 0 0 0-1.3-.22c-5.09.98-7.12 5.32-8.59 10.12-.76.01-1.57-.01-2.44-.06a.37.37 0 0 0-.3.14.37.37 0 0 0-.06.32l.16.51c.16.49.61.82 1.12.82h1.01l-.36 1.29c-1.78 6.44-4.08 12.88-11.28 12.12-.17-.02-.38-.1-.49.02a.52.52 0 0 0-.14.46l.06.38c.03.17.17.3.35.34 4.6 1.11 8.46-1.54 10.22-3.88 1.93-2.56 3.11-6.01 3.94-9.51l.29-1.22c2.76-.03 3.05.16 3.23.28.11.08.2.12.48.12.08 0 .15-.04.19-.1a.23.23 0 0 0 .04-.21l-.35-1.09a1.1 1.1 0 0 0-1.05-.76l-2.09.01c.91-3.38 2.09-6.26 4.64-7.44h.01l.03-.01c.6-.29.85-.26.95-.18.19.14.12.62.05 1.04-.08.51-.16 1.04.14 1.26.24.18.66.1 1.33-.23l.05-.02.64-3.46v-.02a1.19 1.19 0 0 0-.48-.82Zm-17.48-38.41c-2.72.26-7.37.11-10.15.03-2.33-.07-2.48-.07-2.54 0-.08.08-.64.76-.51 1.13.03.09.11.19.31.22.97.12 2.43.5 3.6 1.21 1.47.88 2.2 2.05 2.18 3.47l.02 20.02a8.34 8.34 0 0 1-4.62 7.34 10.58 10.58 0 0 1-10.28-.61c-2.85-1.88-4.28-5.03-4.03-8.86l.02-18.32c0-2.74 1.66-3.39 2.76-3.82.52-.2.89-.35.89-.67 0-.3.09-.52.15-.69.06-.16.11-.28.03-.38-.08-.1-.24-.1-.49-.08-4.43.42-8.59.17-10.83.04-1.47-.09-1.74-.1-1.83-.01a1.192 1.192 0 0 1-.11.1c-.39.35-.79.75-.69 1.06.05.15.2.24.46.27 2.66.33 4.01 1.35 4.01 6l-.04 19.47a11.16 11.16 0 0 0 5.99 10.04 15.78 15.78 0 0 0 7.52 1.83c3.03 0 6.09-.79 8.6-2.35 4.23-2.63 6.43-7.03 6.21-12.4-.14-3.3-.06-19.76-.05-19.93 0-1.71 1.66-2.24 2.76-2.6.56-.18.9-.29.9-.52 0-.17.04-.32.08-.46.05-.19.09-.34 0-.45-.08-.09-.22-.09-.32-.08Zm31.25.33c-2.11.2-5.62.09-7.71.02-1.86-.06-1.87-.05-1.93.01-.08.08-.51.71-.4 1.04.04.11.13.18.26.19 1.59.2 4.26.84 4.26 2.9l-.04 18.56c-.39-.34-1.81-2.07-6.57-8.89-4.45-6.37-9.53-13.91-9.59-13.99l-.04-.06-.07.03c-.03.01-.89.29-6.41-.16h-.04l-.03.02c-.19.13-1.13.82-1.02 1.23.04.15.19.23.45.25 3.89.32 3.87 1.6 3.84 5.01l-.01 1.12-.03 19.66c0 1.31-1.77 1.88-2.83 2.22-.61.2-.92.3-.92.49 0 .11-.02.25-.05.41-.06.33-.11.65.03.8.04.04.11.09.22.08 2.11-.2 5.9-.09 8.17-.02 2.05.06 2.06.05 2.12 0 .1-.1.51-.83.39-1.18a.3.3 0 0 0-.25-.2c-1.53-.19-4.11-.82-4.11-2.9l-.02-18.38c1.67 2.12 14.64 18.74 16.1 23.73.01.03.2.69.64.79l.11.01c.21 0 .42-.13.65-.38.4-.46.61-.54.84-.63.12-.05.25-.1.41-.2.57-.36.58-.64.62-1.26v-.05l-.02-26.53c0-1.31 1.45-1.9 2.41-2.29.51-.2.79-.32.79-.51 0-.12.03-.25.06-.37.05-.2.09-.37-.01-.48-.06-.08-.15-.1-.27-.09Zm190.77.11c-2.24.21-5.84.09-8 .02-1.82-.06-1.9-.05-1.96 0-.05.05-.52.54-.42.83.02.07.09.16.28.18h.32a3.37 3.37 0 0 1 2.69 1.82c.29.66.24 1.37-.14 2.06l-5.87 9.71-5.32-9.2c-.66-1.32-.78-2.62-.33-3.47.31-.58.85-.92 1.61-1.01l.59-.01c.19-.02.26-.12.29-.19.11-.31-.4-.82-.45-.88-.06-.06-.15-.07-2.25 0-2.45.07-6.55.2-8.95-.03-.16-.01-.27.02-.33.1-.11.14-.04.37.06.66l.05.16c.05.16.24.2.52.27.65.15 1.86.42 2.87 2.4l8.42 15.59.07 6.72c-.02 2.86-1.3 3.1-2.06 3.24-.33.06-.62.12-.62.4 0 .23-.06.45-.11.64-.07.25-.12.45-.01.58.1.12.28.11.41.1 3.85-.36 6.9-.14 8.55-.03.51.04.82.06 1 .06.18 0 .24-.02.28-.06.03-.03.84-.85.69-1.3-.05-.15-.18-.23-.4-.26-2.34-.29-2.96-1.34-3-5.07l.02-6.27 8.15-14.59a4.48 4.48 0 0 1 2.93-1.99c.4-.11.64-.17.64-.37 0-.13.04-.26.07-.38.04-.16.08-.29 0-.39-.08-.05-.21-.05-.29-.04Zm-56.72 29.22c-2.04-.25-3.14-1.05-3.14-4.51l-.03-20.51c0-2.05 1.36-2.51 2.26-2.82.44-.15.75-.26.75-.52 0-.2.05-.39.1-.56.06-.22.11-.4.01-.52-.09-.11-.25-.1-.37-.09-3.31.31-7 .13-8.97.03-1.47-.07-1.65-.07-1.72 0-.08.08-.74.76-.61 1.16.03.09.12.21.36.24 1.83.23 4 1.26 4 4.88l.02 20.25c0 2.05-1.25 2.46-2.07 2.74-.39.13-.7.23-.7.49 0 .2-.05.39-.1.56-.06.22-.11.4-.01.52.09.11.25.1.37.09 3.35-.31 6.5-.13 8.19-.03l1.11.05c.19 0 .26-.02.29-.05.08-.08.74-.76.61-1.16-.03-.09-.11-.21-.35-.24Zm-21.78-17.36c-.55-.07-1.2-.17-1.83-.36-1.75-.53-4.74-1.82-5.21-4.44-.08-.45-.06-.92.06-1.42.47-1.98 2.52-4.07 6.74-3.44 4.01.6 6.03 3.03 6.01 5.18 0 .1.09.17.18.14l1.15-.34a.28.28 0 0 0 .21-.31 45.093 45.093 0 0 1-.43-4.05c0-.9.24-2.21.38-2.91.15-.73-.06-.56-.06-.56-1.01.52-2.81.26-4.71-.01-1.35-.2-2.74-.4-3.85-.3-6.38.3-9.96 4.51-10.21 8.51a7.117 7.117 0 0 0 1.81 5.22c1.44 1.62 3.65 2.73 6.39 3.21 4.42.97 6.92 2.06 7.48 5.09a5.61 5.61 0 0 1-.19 2.79c-1.2 3.54-4.86 4.11-7.89 3.45-5.15-1.11-7.06-4.52-6.85-7.49 0-.06-.05-.1-.1-.08l-1.51.51a.2.2 0 0 0-.14.21c.17 1.52.35 4.23.03 5.51-.09.37.1.88.53 1.44 1.41 1.81 4.06 3.48 8.5 3.48l.46.01c7.8 0 11.72-4.79 12.07-9.32.31-4.22-2.35-8.84-9.02-9.72Zm48.36-12.05c-.18-.19-.44-.27-.81-.25-.38.02-.86.14-1.47.37-.12.04-.25.07-.37.07h-18.08a.966.966 0 0 1-.37-.07c-1.17-.43-1.83-.49-2.2-.2-.28.22-.39.63-.32 1.29.08.81.04 3.31.01 4.81l-.01 1.04c0 .97.32 1.19.58 1.22.48.05 1.04-.64 1.14-1.2.67-4.02 2.41-3.98 5.29-3.9l1.31.02c1.05 0 1.41.95 1.41 1.39l.01 20.68c0 2.36-1.51 3.03-2.52 3.47-.47.21-.82.36-.82.64 0 .23-.06.45-.11.64-.07.25-.12.45-.01.58.1.12.28.11.41.1 3.82-.36 7.51-.15 9.49-.03.68.04 1.07.06 1.3.06.22 0 .29-.02.33-.06.03-.03.85-.86.69-1.31-.05-.15-.18-.23-.4-.26-2.25-.28-3.56-1.18-3.6-4.98v-19.47c0-.56.39-1.46 1.42-1.46l1.31-.02h.14c2.73-.07 4.11-.11 4.78 3.9.06.33.27.7.54.95.26.23.53.31.75.21.28-.13.43-.52.43-1.18l-.01-1.04c-.02-1.5-.07-4 .01-4.81.05-.58-.02-.96-.25-1.2Zm-117.3-.08c-2.09.2-5.38.09-7.34.02-1.72-.06-1.73-.05-1.78.01-.09.09-.5.74-.39 1.07.04.11.13.18.26.19h.3c.13 0 .24.01.34.04 2.09.5 2.57 3.23 2.12 5.56-.13.68-.35 1.39-.67 2.19l-5.39 13.52-6.32-15.09c-.7-1.83-1.28-3.68-.7-4.79.31-.59.94-.99 1.91-1.23l.69-.09c.13-.02.23-.09.26-.2.12-.35-.32-1.04-.42-1.13-.06-.06-.07-.07-2.26 0-2.42.07-6.48.18-8.71-.02-.12-.01-.2.02-.26.08-.11.12-.06.33-.01.56.03.14.06.28.06.4 0 .19.2.29.54.47.59.31 1.57.83 2.29 2.19 1.01 1.9 11.24 27.73 11.34 27.99.2.63.44.96.72.97h.02c.24 0 .45-.22.64-.66l1.45-3.97c2.76-7.57 8.51-23.33 9.22-24.71a4.195 4.195 0 0 1 1.86-1.94c.25-.14.42-.23.42-.41 0-.11.03-.25.05-.38.05-.24.09-.44-.02-.56-.03-.06-.11-.09-.22-.08Zm26.02 22.93c-.29-.11-.68.12-1.2.71-.12.14-.23.36-.36.65-.58 1.27-1.67 3.64-6.62 3.76-5.36.13-6.96-.33-7.1-2.05-.14-1.73-.01-10.14 0-11 1.96-.59 5.7-.99 5.73-.99 2.21-.1 3 2.33 3.12 3.28.05.44.24.59.38.65.19.08.43.02.64-.16.25-.21.47-.6.4-.98-.08-.39-.02-1.28.05-2.32.14-2.03.29-4.34-.44-4.69-.26-.13-.59-.01-1.01.38-.57.85-1.3 1.49-3 1.8-1.51.28-5.19.56-5.86.61v-9.43c1.05.14 2.34.06 3.7-.03 3.57-.23 7.62-.49 9.13 3.16.36 1.14.73 1.31.98 1.25.49-.12.78-1.29.59-2.37-.38-2.07-.76-5.32-.77-5.36l-.02-.14-.12.06c-.56.28-11 .24-16.61.22h-3.96c-1.45 0-1.63 1.45-1.63 1.47l-.01.11h.11c.02.01 1.43 0 2.54 1.09.89.88 1.34 2.22 1.34 3.97l-.07 19.35c0 2.05-1.42 2.57-2.36 2.91-.45.16-.78.28-.78.54 0 .64.64 1.48 1.32 1.48h18.29c.26 0 .58.08.92.16.37.09.74.17 1.06.17.22 0 .41-.04.56-.15a.783.783 0 0 0 .31-.58c.18-1.42 1.06-6.68 1.07-6.75.02-.07.02-.65-.32-.78Zm-55.71 6.63c-2.33-.29-3.16-1.5-3.16-4.64l-.03-20.62c0-2.06 1.37-2.47 2.27-2.74.44-.13.76-.23.76-.49 0-.2.05-.39.1-.56.06-.22.11-.4.01-.52-.09-.11-.25-.1-.37-.09-3.33.31-7.03.13-9.02.03-1.48-.07-1.65-.07-1.73 0-.08.08-.75.76-.61 1.16.03.09.12.21.36.24 1.84.23 4.02 1.26 4.02 4.89l.04 20.24c0 2.06-1.25 2.53-2.08 2.83-.4.15-.7.26-.7.52 0 .2-.05.39-.1.56-.06.22-.11.4-.01.52.09.11.25.1.37.09 3.36-.32 6.53-.13 8.23-.03l1.11.05c.19 0 .26-.02.29-.05.08-.08.75-.77.61-1.16-.03-.09-.12-.2-.36-.23Zm61.64-24.69c.02.68.14 22.03.14 22.24-.12 1.84-1.44 2.23-2.31 2.49-.43.13-.75.22-.75.47 0 .18-.05.35-.09.51-.06.2-.11.37-.01.49.09.11.25.11.36.09 3.2-.29 6.66-.12 8.52-.03 1.38.07 1.53.07 1.61 0 .07-.07.72-.7.59-1.07-.03-.09-.12-.2-.35-.23-1.98-.24-3.29-1.03-3.29-4.12v-10.03c1.25.14 1.86-.04 2.35.07 1.47.33 3.44 1.9 5.81 6.12.66 1.17 3.73 6.59 3.59 7.42-.06.35-.55.4-.89.45-.29.05-.56.09-.56.32 0 .18-.05.35-.09.51-.06.2-.11.37-.01.49.09.11.25.11.36.09 3.2-.29 6.58-.12 8.44-.03.69.03.04.05.26.05s.28-.02.32-.05c.07-.07.72-.7.59-1.07-.03-.09-.12-.2-.35-.23-2.04-.24-2.68-1.13-4.98-4.08-.61-.88-1.2-1.79-1.77-2.68-1.84-2.87-3.34-6.42-5.42-8 3.1-.31 4.53-2.03 5.55-3.23a8.04 8.04 0 0 0 1.89-5.57 6.532 6.532 0 0 0-1.95-4.4 7.24 7.24 0 0 0-5.33-1.78c-3.2.11-10.31.02-13.73-.23-.95-.07-1.61-.04-1.99.3-.24.22-.35.56-.35 1.07v.09l.09.01c-.01.02 3.68.53 3.75 3.55Zm4.41-1.92 4.1-.21c2.46-.21 4.53.79 5.55 2.67a4.762 4.762 0 0 1-.38 5.21c-1.66 2.13-5.04 2.75-9.27 1.7v-9.37Z"), f(l, "fill", "#fff"), f(e, "xmlns", "http://www.w3.org/2000/svg"), f(e, "xml:space", "preserve"), f(e, "viewBox", "0 0 260 141");
964
- },
965
- m(a, s) {
966
- b(a, e, s), p(e, l), p(l, t), p(l, r);
967
- },
968
- p: x,
969
- i: x,
970
- o: x,
971
- d(a) {
972
- a && v(e);
973
- }
974
- };
975
- }
976
- let pe = class extends F {
977
- constructor(e) {
978
- super(), W(this, e, null, De, R, {});
979
- }
980
- };
981
- U(pe, {}, [], [], !0);
982
- function Oe(o) {
983
- let e, l, t, r, a, s, c, n, i, u, h, g;
984
- return {
985
- c() {
986
- e = d("svg"), l = d("defs"), t = d("style"), r = V(".cls-5{fill:#ba1436;stroke-width:0}"), a = d("path"), s = d("path"), c = d("text"), n = d("tspan"), i = V("Ridgetown"), u = d("tspan"), h = V("Campus"), g = d("path"), f(a, "d", "M65.87 36.01h1.84v18.03h-1.84z"), f(a, "class", "cls-5"), f(s, "d", "M65.87 18.03h1.84v18.03h-1.84zM65.87 0h1.84v18.03h-1.84z"), f(s, "class", "cls-5"), f(n, "x", "0"), f(n, "y", "0"), f(u, "x", "0"), f(u, "y", "23"), P(c, "fill", "#fff"), P(c, "font-family", "Roboto-Regular,Roboto"), P(c, "font-size", "21.95px"), f(c, "transform", "translate(79.77 22.54)"), f(g, "d", "m42.34 29.74-.41 1.49h.12c1.52 0 3.47.95 3.47 1.69v6.22c-.13.77-.86 3.3-5.01 3.3s-6.65-1.3-8.2-3.96c-1.49-2.57-1.68-6.03-1.68-8.77 0-4.13 1.37-8.19 3.66-10.86 2.07-2.42 6.04-2.36 9.65-1.99 3.33.34 4.3 5.57 4.31 5.62l.02.1 1.23-.41.24-8.65-.03-.03s-.52-.51-.93-.38c-.08.03-.2.08-.36.14-.54.21-1.45.57-1.99.57-.24 0-.69-.07-1.26-.17-1.07-.18-2.54-.42-4.08-.42-5.26 0-8.94 1.71-11.59 5.38a21.07 21.07 0 0 0-2.04 3.49v-9.5l.01-.1c0-3.95 1.51-4.24 2.33-4.39.27-.05.48-.09.57-.25.23-.42.34-.63.27-.8-.05-.12-.19-.18-.41-.23-.06 0-5.64-.07-10.15 0h-.03l-.02.02c-.21.15-.88.65-.79.97.03.12.15.19.36.21 3.48.29 4.84 1.59 4.84 4.64v16.31c0 4.13-3.14 6.79-7.99 6.79s-7.98-3.23-7.98-8.22V12.71c0-3.96 1.52-4.31 2.34-4.5.27-.06.48-.11.56-.26.23-.42.34-.63.27-.8-.05-.12-.19-.18-.39-.23h-.02c-.06 0-6.04.35-10.37 0H.83l-.03.02c-.21.15-.88.65-.79.97.03.12.15.19.36.21 3.28.27 3.42 1.75 3.42 5.07v16.85s-.1 3.35 2.4 5.96c2.02 2.1 5.11 3.16 9.21 3.16 5.62 0 8.41-2.55 9.56-4.06.02-.02.34-.35.76-.94.18 1.47.49 2.94.93 4.36 1.82 5.91 8.65 7.9 11.48 7.9s2.88 0 5.33-1.6l.3-.2c1.38-.9 6.58-2.82 6.63-2.84l.06-.02v-8.73c0-1.45 2.51-2.04 2.54-2.05h.06l.14-1.25H42.33Z"), P(g, "stroke-width", "0"), P(g, "fill", "#fff"), f(e, "xmlns", "http://www.w3.org/2000/svg"), f(e, "id", "Layer_1"), f(e, "data-name", "Layer 1"), f(e, "viewBox", "0 0 183.03 54.03");
987
- },
988
- m($, k) {
989
- b($, e, k), p(e, l), p(l, t), p(t, r), p(e, a), p(e, s), p(e, c), p(c, n), p(n, i), p(c, u), p(u, h), p(e, g);
990
- },
991
- p: x,
992
- i: x,
993
- o: x,
994
- d($) {
995
- $ && v(e);
996
- }
997
- };
998
- }
999
- class ge extends F {
1000
- constructor(e) {
1001
- super(), W(this, e, null, Oe, R, {});
1002
- }
1003
- }
1004
- U(ge, {}, [], [], !0);
1005
- function Qe(o) {
1006
- let e, l, t, r, a, s, c, n, i, u, h, g, $;
1007
- return {
1008
- c() {
1009
- e = d("svg"), l = d("defs"), t = d("style"), r = V(".cls-2{fill:#fff}.cls-5{fill:#ba1436}.cls-2,.cls-5{stroke-width:0}"), a = d("path"), s = d("path"), c = d("path"), n = d("path"), i = d("text"), u = d("tspan"), h = V("Ridgetown"), g = d("tspan"), $ = V("Campus"), f(a, "d", "M128.92 28.15c-2.03.18-3.98.07-5.03.02-.71-.04-.83-.04-.87 0-.05.04-.45.44-.37.67.03.08.1.13.22.14 1.28.15 1.57.64 1.57 2.61v3.71h-7.81v-4.6c0-1.19.65-1.42 1.08-1.58.21-.08.37-.13.37-.29 0-.11.03-.22.06-.32.04-.13.07-.23 0-.3-.05-.06-.15-.06-.23-.06-2.06.18-3.69.07-4.56.01-.55-.04-.64-.04-.69 0-.05.04-.45.44-.37.67.03.08.1.13.22.14 1.27.15 1.56.64 1.56 2.61v11.95c.01 1.19-.74 1.42-1.25 1.58-.25.08-.43.13-.43.29 0 .12-.03.22-.06.32-.04.13-.07.23 0 .3.05.06.15.06.23.06 2.05-.18 3.81-.07 4.76-.01.31.02.49.03.6.03s.14 0 .16-.03c.05-.04.45-.44.37-.67-.03-.08-.1-.13-.22-.14-1.28-.15-1.59-.66-1.59-2.61V36.8h7.8v6.74c0 1.19-.68 1.42-1.13 1.58-.22.08-.39.13-.39.29 0 .12-.03.22-.06.32-.04.13-.07.23 0 .3.05.06.16.06.23.06 2.04-.18 3.87-.07 4.85-.01.65.04.75.04.8 0 .05-.04.45-.44.37-.67-.03-.08-.1-.13-.22-.14-1.28-.15-1.59-.66-1.59-2.61l-.02-11.95c0-1.18.81-1.42 1.35-1.58.26-.08.45-.13.45-.29 0-.11.03-.22.06-.32.04-.13.07-.23 0-.3-.05-.06-.15-.06-.23-.06ZM43.12 40.02h.08c1.06 0 2.41.66 2.41 1.17v4.31c-.09.54-.6 2.29-3.47 2.29h-.16c-3.66 0-5.36-2.09-6.13-3.85-1.79-4.07-.43-9.95 1.98-12.49.81-.86 2.76-2.17 6.69-1.38 2.26.46 2.99 3.87 3 3.9v.07l.86-.28.17-5.98v-.02c-.32-.42-.84-.22-1.34-.02-.32.13-.65.26-.93.25-2.54-.52-8.77-1.24-11.74 3.31-3.09 4.06-3.69 10.23-1.42 14.67 1.52 2.97 4.06 4.59 7.17 4.59h.22q1.99 0 3.69-1.11l.21-.14c.96-.62 4.56-1.95 4.59-1.97h.04v-6.06c0-1.01 1.74-1.42 1.76-1.42h.04l.09-.86h-7.51l-.28 1.02ZM68.12 28c-1.29.12-3.43.05-4.71.01-1.13-.04-1.14-.03-1.17 0-.03.03-.3.31-.25.48.01.04.05.09.16.11.92.11 2.46.71 2.43 2.2 0 .09-.08 9.19-.08 9.34 0 1.4-.7 2.56-1.96 3.26-1.48.83-3.4.82-4.77-.03-1.28-.79-1.95-2.23-1.87-4.05v-8.58c.01-1.29.73-1.54 1.2-1.71.22-.08.4-.14.4-.31 0-.13.03-.24.06-.35.04-.14.07-.25 0-.32-.06-.07-.16-.06-.23-.06-2.09.2-4.06.08-5.12.02-.71-.04-.83-.05-.87 0-.05.05-.46.48-.38.72.02.06.07.13.22.15 1.23.15 1.86.63 1.86 2.82l-.02 8.93c.02 1.73.75 3.21 2.1 4.26 1.19.93 2.81 1.45 4.47 1.45h.06c3.34-.03 6.7-2.13 6.69-6.79 0-1.56.09-9.45.1-9.54 0-.8.81-1.05 1.34-1.22.28-.09.45-.14.45-.26 0-.07.02-.15.04-.23.03-.12.05-.22 0-.28-.03-.04-.09-.05-.16-.05ZM96.85 41.36s-.26 1.11-1.08 1.96c-.41.43-.98.73-1.63.86-1.75.35-3.94.49-4.84-.18-.26-.19-.4-.44-.43-.75-.04-.41-.01-12.43-.01-12.55 0-1.19.88-1.43 1.46-1.59.28-.08.49-.13.49-.29 0-.12.03-.23.06-.32.04-.13.06-.23 0-.31-.05-.06-.15-.06-.22-.06-1.93.18-4.09.07-5.26.02-.87-.04-.98-.04-1.02 0-.04.04-.43.44-.35.68.02.05.07.12.21.14 1.17.15 1.81.61 1.81 2.62v10.12c0 3.55-1.63 3.69-1.64 3.69h-.08l.22.66h.04c.08 0 8.07-.27 10.27-.09.21.02.41.04.59.05.32.03.58.06.79.06.41 0 .66-.09.82-.41.27-.54.45-4.24.45-4.39v-.07l-.65.11v.04ZM109.92 29.06c-1.55-1.25-5.3-.96-8.31-.73-.92.07-1.78.14-2.45.15-.53-.03-.58-.02-.62.01-.05.04-.45.44-.37.67.03.08.1.13.22.14 1.31.16 1.66.69 1.66 2.61v11.46c.01 1.19-.7 1.47-1.18 1.65-.23.09-.4.16-.4.31 0 .11-.03.23-.06.32-.04.13-.07.23 0 .3.05.06.15.06.23.06 2.03-.18 4.06-.07 5.15-.02.39.02.6.03.73.03s.16-.01.18-.03c.05-.05.46-.54.37-.81-.02-.06-.07-.14-.22-.15-1.25-.15-2.02-.64-2.02-2.61v-4.38c0-.16.03-.28.1-.35.04-.04.1-.06.17-.06.2.01.43.03.67.05 1.64.12 4.12.31 5.71-.71 1.43-.93 2.34-2.56 2.35-4.25.01-1.5-.68-2.84-1.9-3.66Zm-3.08 7.17c-.43.2-.93.31-1.48.31h-.02c-1.55 0-2.13-.31-2.34-.55-.13-.15-.11-.27-.11-.28v-5.74c3.03-.59 5.21.18 5.83 2.06.52 1.59-.32 3.48-1.88 4.22ZM82.88 41.24c-.21-.05-.44.17-.73.66-.13.23-.24.45-.35.66-.55 1.1-.94 1.89-3.52 1.89-3.07 0-4.04-.16-4.12-1.19-.09-1.02 0-6.02 0-6.38.06-.08.45-.49 1.45-.49h1.77s1.57.14 1.9 1.82c.03.13.1.18.15.2.23.07.62-.3.66-.35l.02-.02v-3.6s-.06-.22-.24-.32c-.12-.07-.28-.07-.45 0h-.03v.04c-.22.74-.93.78-2.18.78-1.18 0-2.71.21-3.05.26v-5.21h4.83s2.01.11 2.43 1.82c.17.69.41.89.58.93.13.03.27-.02.38-.15.23-.26.36-.86.13-1.44-.44-1.13-.44-3.07-.44-3.09v-.07l-1.35.14H70.04c-.52 0-.85.12-.99.35-.16.28.04.61.04.63l.02.03h.04s.83-.03 1.47.59c.52.5.78 1.27.78 2.28v11.25c0 1.26-.72 1.57-1.2 1.77-.19.08-.33.14-.39.24-.21.39-.26.58-.19.7s.25.11.49.11h.2c.07 0 6.75-.18 10.62 0 .14 0 .29.04.45.08.18.04.37.08.56.08.25 0 .49-.08.65-.37.42-.73.62-3.81.63-3.95 0-.06-.07-.62-.36-.69ZM17.74 39.8c.28.21.61.28.94.28.37 0 .73-.09 1.03-.18 1.28-.39 2.78-2.54 2.78-4.74 0-1.25-.45-2.06-1.26-2.27-1.11-.29-2.63.62-3.45 2.08-.38.68-.84 1.67-.83 2.54.01 1.14.28 1.91.79 2.29Zm1.08-4.16c.4-.73.9-1.22 1.39-1.36a.869.869 0 0 1 .68.07c.61.35.49 1.82-.02 2.74-.53.95-1.07 1.6-1.96 1.67-.24.02-.43-.06-.55-.25-.34-.52-.14-1.75.47-2.87Z"), f(a, "class", "cls-2"), f(s, "d", "M30.98 27.33c-.19-.13-.47-.18-.75-.13-2.94.57-4.11 3.07-4.96 5.85-.44 0-.91 0-1.41-.03-.07 0-.13.03-.17.08-.04.05-.05.12-.03.18l.09.29c.09.28.35.47.65.47h.59l-.21.74c-1.03 3.72-2.36 7.44-6.52 7-.1-.01-.22-.06-.29.01-.07.07-.1.17-.08.26l.03.22c.02.1.1.17.2.2 2.66.64 4.89-.89 5.91-2.24 1.12-1.48 1.8-3.47 2.28-5.5.06-.24.11-.47.17-.7 1.59-.02 1.76.09 1.86.16.06.04.12.07.28.07s.09-.02.11-.06c.03-.04.03-.08.02-.12l-.2-.63a.646.646 0 0 0-.61-.44h-1.21c.52-1.95 1.21-3.62 2.68-4.29s.02 0 .02 0c.35-.17.49-.15.55-.11.11.08.07.36.03.6-.04.3-.09.6.08.73.14.1.38.06.77-.13h.03l.37-2.01a.675.675 0 0 0-.28-.46ZM20.88 5.13c-1.57.15-4.26.07-5.87.02-1.35-.04-1.43-.04-1.47 0-.05.05-.37.44-.29.66.02.05.06.11.18.13.56.07 1.4.29 2.08.7.85.51 1.27 1.18 1.26 2l.01 11.57c-.1 1.91-1.05 3.42-2.67 4.24-1.83.93-4.22.78-5.94-.35-1.64-1.09-2.47-2.9-2.33-5.12L5.86 8.4c0-1.58.96-1.96 1.6-2.21.3-.12.52-.2.52-.39 0-.17.05-.3.09-.4.03-.09.06-.16.02-.22-.04-.06-.14-.06-.28-.05-2.56.24-4.97.1-6.26.02-.85-.05-1-.06-1.06 0l-.06.06c-.22.2-.46.44-.4.61.03.09.12.14.26.16 1.54.19 2.31.78 2.31 3.47L2.58 20.7c.03 2.53 1.26 4.6 3.46 5.8 1.29.71 2.81 1.06 4.35 1.06 1.75 0 3.52-.46 4.97-1.36 2.44-1.52 3.72-4.06 3.59-7.17-.08-1.91-.03-11.42-.03-11.52 0-.99.96-1.3 1.6-1.5.32-.1.52-.17.52-.3 0-.1.03-.19.05-.27.03-.11.05-.2 0-.26-.05-.05-.13-.05-.19-.05ZM38.94 5.33c-1.22.12-3.25.05-4.46.01-1.08-.03-1.08-.03-1.11 0-.04.04-.3.41-.23.6.02.06.07.1.15.11.92.11 2.46.48 2.46 1.67l-.02 10.73c-.23-.2-1.04-1.19-3.8-5.14-2.57-3.68-5.51-8.04-5.54-8.08l-.03-.04h-.04s-.51.18-3.71-.08h-.02l-.02.01c-.11.08-.65.48-.59.71.02.09.11.13.26.15 2.25.19 2.24.92 2.22 2.9v.65l-.02 11.36c0 .76-1.03 1.09-1.64 1.28-.36.11-.53.17-.53.28 0 .06-.01.15-.03.24-.03.19-.06.37.02.46.02.02.06.05.13.04 1.22-.11 3.41-.05 4.72-.01 1.19.03 1.19.03 1.22 0 .06-.06.3-.48.23-.68a.153.153 0 0 0-.15-.11c-.89-.11-2.37-.48-2.37-1.67V10.1c.96 1.23 8.45 10.83 9.3 13.71 0 .02.12.4.37.46h.06c.12 0 .25-.07.37-.22.23-.27.35-.31.49-.36.07-.03.14-.06.23-.11.33-.21.34-.37.36-.73v-.03l-.01-15.33c0-.76.84-1.1 1.39-1.32.29-.12.46-.18.46-.29 0-.07.02-.15.03-.22.03-.11.05-.21 0-.28-.03-.04-.08-.05-.15-.04ZM149.17 5.39c-1.29.12-3.38.05-4.62.01-1.05-.03-1.1-.03-1.13 0-.03.03-.3.31-.25.48.01.04.05.09.16.11h.18c.08 0 .15.01.21.03.62.15 1.13.54 1.35 1.03.17.38.14.79-.08 1.19l-3.39 5.61c-.33-.57-2.26-3.9-3.08-5.32-.38-.76-.45-1.51-.19-2.01.18-.33.49-.53.93-.58h.34c.11-.02.15-.07.16-.11.06-.18-.23-.48-.26-.51-.03-.04-.09-.04-1.3 0-1.42.04-3.78.11-5.17-.02-.09 0-.15.01-.19.06-.07.08-.02.22.04.38l.03.09c.03.09.14.12.3.16.38.09 1.08.25 1.66 1.39l4.87 9.01.04 3.88c-.01 1.66-.75 1.79-1.19 1.87-.19.04-.36.07-.36.23 0 .13-.03.26-.06.37-.04.14-.07.26 0 .34.06.07.16.07.23.06 2.22-.21 3.99-.08 4.94-.02.3.02.47.03.58.03s.14-.01.16-.03c.02-.02.49-.49.4-.75-.03-.08-.11-.13-.23-.15-1.35-.17-1.71-.77-1.73-2.93v-3.62c.22-.37 4.67-8.34 4.72-8.43.51-.83 1.25-1.03 1.69-1.15.23-.06.37-.1.37-.21 0-.08.02-.15.04-.22.02-.09.05-.17 0-.22-.04-.05-.11-.05-.16-.04ZM116.39 22.28c-1.18-.15-1.81-.61-1.81-2.61l-.02-11.85c0-1.18.79-1.45 1.31-1.63.25-.09.43-.15.43-.3 0-.12.03-.23.06-.32.04-.13.06-.23 0-.3-.05-.06-.15-.06-.21-.05-1.91.18-4.04.07-5.19.02-.85-.04-.95-.04-.99 0-.04.04-.43.44-.35.67.02.05.07.12.21.14 1.06.13 2.31.73 2.31 2.82v11.7c.01 1.19-.71 1.42-1.18 1.58-.22.07-.4.13-.4.28 0 .12-.03.23-.06.32-.04.13-.06.23 0 .3.05.06.15.06.21.05 1.93-.18 3.75-.07 4.73-.02.33.02.52.03.64.03s.15 0 .17-.03c.04-.04.43-.44.35-.67-.02-.05-.07-.12-.21-.14ZM103.81 12.25c-.32-.04-.69-.1-1.06-.21-1.01-.31-2.74-1.05-3.01-2.57-.05-.26-.04-.53.03-.82.27-1.15 1.45-2.35 3.89-1.99 2.32.35 3.48 1.75 3.47 3 0 .06.05.1.1.08l.67-.2c.08-.02.13-.1.12-.18-.06-.44-.25-1.83-.25-2.34s.14-1.28.22-1.68-.04-.32-.04-.32c-.58.3-1.62.15-2.72 0-.78-.11-1.58-.23-2.23-.18-3.68.17-5.76 2.6-5.9 4.92-.07 1.11.3 2.18 1.04 3.02.83.94 2.11 1.58 3.69 1.85 2.56.56 4 1.19 4.32 2.94.1.54.06 1.1-.11 1.61-.69 2.05-2.81 2.37-4.56 1.99-2.97-.64-4.08-2.61-3.96-4.33 0-.03-.03-.06-.06-.05l-.87.29a.12.12 0 0 0-.08.12c.1.88.2 2.44.02 3.18-.05.21.06.51.31.83.82 1.04 2.35 2.01 4.91 2.01h.27c4.5 0 6.77-2.77 6.98-5.39.19-2.42-1.35-5.1-5.21-5.6ZM131.76 5.28c-.1-.11-.26-.15-.47-.14-.22.01-.49.08-.85.21-.07.03-.14.04-.21.04h-10.45c-.07 0-.14-.01-.21-.04-.68-.25-1.06-.28-1.27-.12-.16.13-.22.36-.18.75.05.47.02 1.91 0 2.78v.6c0 .56.18.69.34.7.28.03.6-.37.66-.69.39-2.32 1.39-2.3 3.06-2.25.24 0 .49.01.76.01.61 0 .81.55.81.8v11.95c0 1.37-.88 1.75-1.45 2.01-.27.12-.47.21-.47.37 0 .13-.03.26-.07.37-.04.15-.07.26 0 .34.06.07.16.07.24.06 2.21-.21 4.34-.08 5.48-.02.39.02.62.03.75.03s.17-.01.19-.03c.02-.02.49-.5.4-.76-.03-.08-.11-.14-.23-.15-1.3-.16-2.05-.68-2.08-2.88V7.97c0-.33.22-.84.82-.84.27 0 .52 0 .76-.01h.08c1.58-.04 2.37-.06 2.76 2.25.03.19.15.41.31.55.15.13.31.18.43.12.16-.07.25-.3.25-.68v-.6c-.01-.86-.04-2.31 0-2.78.03-.34-.01-.56-.14-.7ZM63.98 5.24c-1.21.11-3.11.05-4.24.01-.99-.03-1-.03-1.03 0-.05.05-.29.43-.23.62.02.06.07.1.15.11h.17c.07 0 .14 0 .19.02 1.21.29 1.48 1.87 1.23 3.21-.07.39-.2.81-.39 1.27l-3.12 7.81-3.65-8.72c-.41-1.06-.74-2.13-.4-2.77.18-.34.54-.57 1.1-.71l.4-.05c.08 0 .13-.05.15-.12.07-.2-.19-.6-.24-.65-.03-.03-.04-.04-1.31 0-1.4.04-3.74.11-5.03-.01-.07 0-.12 0-.15.05-.06.07-.04.19 0 .32.02.08.03.16.03.23 0 .11.12.17.31.27.34.18.91.48 1.32 1.27.58 1.1 6.49 16.02 6.55 16.17.12.37.26.55.42.56h.01c.14 0 .26-.13.37-.38.02-.06.33-.9.84-2.29 1.6-4.38 4.92-13.48 5.33-14.28.38-.73.82-.98 1.08-1.12.15-.08.24-.14.24-.24 0-.07.02-.14.03-.22.03-.14.05-.25 0-.32-.03-.04-.08-.05-.14-.04ZM79.01 18.48c-.17-.06-.39.07-.7.41-.07.08-.13.21-.21.38-.34.73-.96 2.1-3.82 2.17-3.1.08-4.02-.19-4.1-1.19-.08-1 0-5.86 0-6.36 1.13-.34 3.29-.57 3.31-.57 1.28-.06 1.73 1.35 1.8 1.9.03.25.14.34.22.38.11.04.25 0 .37-.1.15-.12.27-.34.23-.56-.04-.23-.01-.74.03-1.34.08-1.18.17-2.51-.26-2.71-.15-.07-.34 0-.58.22-.33.49-.75.86-1.73 1.04-.87.16-3 .32-3.38.35V7.05c.6.08 1.35.04 2.14-.02 2.06-.13 4.4-.28 5.28 1.83.21.66.42.76.57.72.28-.07.45-.75.34-1.37-.22-1.2-.44-3.08-.44-3.09v-.08l-.08.04c-.32.16-6.36.14-9.6.13h-2.29c-.84 0-.94.84-.94.85v.06h.06c.01 0 .83 0 1.47.63.52.51.78 1.28.78 2.29l-.04 11.18c0 1.18-.82 1.48-1.36 1.68-.26.1-.45.16-.45.31 0 .37.37.85.76.85h10.57c.15 0 .34.04.53.09.21.05.43.1.61.1.12 0 .24-.02.32-.08.1-.07.16-.18.18-.33.1-.82.61-3.86.62-3.9 0-.04 0-.37-.2-.45ZM46.82 22.31c-1.35-.17-1.82-.87-1.82-2.68l-.02-11.92c0-1.19.79-1.43 1.31-1.59.25-.08.44-.13.44-.28 0-.12.03-.23.06-.32.04-.13.06-.23 0-.3-.05-.06-.15-.06-.21-.05-1.92.18-4.06.07-5.21.02-.85-.04-.96-.04-1 0-.04.04-.43.44-.35.67.02.05.07.12.21.14 1.06.13 2.32.73 2.32 2.82v11.71c.01 1.19-.71 1.46-1.19 1.64-.23.09-.4.15-.4.3 0 .12-.03.23-.06.32-.04.13-.06.23 0 .3.05.06.15.06.21.05 1.94-.18 3.77-.07 4.75-.02.33.02.53.03.64.03s.15 0 .17-.03c.04-.04.43-.44.35-.67-.02-.05-.07-.12-.21-.14ZM82.43 8.05c0 .39.08 12.73.08 12.85-.07 1.06-.83 1.29-1.33 1.44-.25.07-.43.13-.43.27 0 .1-.03.2-.05.29-.03.11-.06.21 0 .28.05.06.14.06.21.05 1.85-.17 3.85-.07 4.92-.02.8.04.89.04.93 0 .04-.04.41-.4.34-.62-.02-.05-.07-.12-.2-.13-1.14-.14-1.9-.59-1.9-2.38v-5.8c.72.08 1.08-.02 1.36.04.85.19 1.99 1.1 3.36 3.54.38.68 2.16 3.81 2.07 4.29-.04.2-.32.23-.51.26-.17.03-.32.05-.32.19 0 .1-.03.2-.05.29-.03.11-.06.21 0 .28.05.06.14.06.21.05 1.85-.17 3.8-.07 4.88-.02.4.02.02.03.15.03s.16-.01.18-.03c.04-.04.41-.4.34-.62-.02-.05-.07-.12-.2-.13-1.18-.14-1.55-.65-2.88-2.36-.35-.51-.69-1.04-1.02-1.55-1.06-1.66-1.93-3.71-3.13-4.62 1.79-.18 2.62-1.17 3.21-1.87.76-.9 1.15-2.07 1.09-3.22-.06-1-.46-1.9-1.13-2.54-.76-.71-1.82-1.07-3.08-1.03-1.85.06-5.96.01-7.93-.13-.55-.04-.93-.03-1.15.18-.14.13-.2.33-.2.62v.05h.05s2.15.3 2.19 2.05Zm2.55-1.11 2.37-.12c1.42-.12 2.62.46 3.2 1.54.53.98.44 2.16-.22 3.01-.96 1.23-2.91 1.59-5.36.98V6.94Z"), f(s, "class", "cls-2"), f(c, "d", "M160.95 36.01h1.84v18.03h-1.84z"), f(c, "class", "cls-5"), f(n, "d", "M160.95 18.03h1.84v18.03h-1.84zM160.95 0h1.84v18.03h-1.84z"), f(n, "class", "cls-5"), f(u, "x", "0"), f(u, "y", "0"), f(g, "x", "0"), f(g, "y", "23"), P(i, "fill", "#fff"), P(i, "font-family", "Roboto-Regular,Roboto"), P(i, "font-size", "21.95px"), f(i, "transform", "translate(175.86 22.54)"), f(e, "xmlns", "http://www.w3.org/2000/svg"), f(e, "id", "Layer_1"), f(e, "data-name", "Layer 1"), f(e, "viewBox", "0 0 279.12 54.03");
1010
- },
1011
- m(k, y) {
1012
- b(k, e, y), p(e, l), p(l, t), p(t, r), p(e, a), p(e, s), p(e, c), p(e, n), p(e, i), p(i, u), p(u, h), p(i, g), p(g, $);
1013
- },
1014
- p: x,
1015
- i: x,
1016
- o: x,
1017
- d(k) {
1018
- k && v(e);
1019
- }
1020
- };
1021
- }
1022
- class _e extends F {
1023
- constructor(e) {
1024
- super(), W(this, e, null, Qe, R, {});
1025
- }
1026
- }
1027
- U(_e, {}, [], [], !0);
1028
- function A1(o) {
1029
- let e, l, t;
1030
- return l = new fe({}), {
1031
- c() {
1032
- e = w("div"), Z(l.$$.fragment), f(e, "class", "left-0 h-full w-[7.5rem] min-[1320px]:absolute [&>svg]:block [&>svg]:h-full [&>svg]:w-auto");
1033
- },
1034
- m(r, a) {
1035
- b(r, e, a), C(l, e, null), t = !0;
1036
- },
1037
- i(r) {
1038
- t || (_(l.$$.fragment, r), t = !0);
1039
- },
1040
- o(r) {
1041
- m(l.$$.fragment, r), t = !1;
1042
- },
1043
- d(r) {
1044
- r && v(e), L(l);
1045
- }
1046
- };
1047
- }
1048
- function Ye(o) {
1049
- let e, l;
1050
- return e = new he({}), {
1051
- c() {
1052
- Z(e.$$.fragment);
1053
- },
1054
- m(t, r) {
1055
- C(e, t, r), l = !0;
1056
- },
1057
- i(t) {
1058
- l || (_(e.$$.fragment, t), l = !0);
1059
- },
1060
- o(t) {
1061
- m(e.$$.fragment, t), l = !1;
1062
- },
1063
- d(t) {
1064
- L(e, t);
1065
- }
1066
- };
1067
- }
1068
- function Je(o) {
1069
- let e, l;
1070
- return e = new pe({}), {
1071
- c() {
1072
- Z(e.$$.fragment);
1073
- },
1074
- m(t, r) {
1075
- C(e, t, r), l = !0;
1076
- },
1077
- i(t) {
1078
- l || (_(e.$$.fragment, t), l = !0);
1079
- },
1080
- o(t) {
1081
- m(e.$$.fragment, t), l = !1;
1082
- },
1083
- d(t) {
1084
- L(e, t);
1085
- }
1086
- };
1087
- }
1088
- function Ke(o) {
1089
- let e, l;
1090
- return e = new ge({}), {
1091
- c() {
1092
- Z(e.$$.fragment);
1093
- },
1094
- m(t, r) {
1095
- C(e, t, r), l = !0;
1096
- },
1097
- i(t) {
1098
- l || (_(e.$$.fragment, t), l = !0);
1099
- },
1100
- o(t) {
1101
- m(e.$$.fragment, t), l = !1;
1102
- },
1103
- d(t) {
1104
- L(e, t);
1105
- }
1106
- };
1107
- }
1108
- function Xe(o) {
1109
- let e, l;
1110
- return e = new _e({}), {
1111
- c() {
1112
- Z(e.$$.fragment);
1113
- },
1114
- m(t, r) {
1115
- C(e, t, r), l = !0;
1116
- },
1117
- i(t) {
1118
- l || (_(e.$$.fragment, t), l = !0);
1119
- },
1120
- o(t) {
1121
- m(e.$$.fragment, t), l = !1;
1122
- },
1123
- d(t) {
1124
- L(e, t);
1125
- }
1126
- };
1127
- }
1128
- function et(o) {
1129
- var g;
1130
- let e, l, t, r, a, s, c, n = (
1131
- /*$state*/
1132
- ((g = o[0]) == null ? void 0 : g.mode) === "desktop" && A1()
1133
- );
1134
- const i = [Xe, Ke, Je, Ye], u = [];
1135
- function h($, k) {
1136
- var y, z, M, I;
1137
- return (
1138
- /*$state*/
1139
- ((y = $[0]) == null ? void 0 : y.mode) === "desktop" && /*$state*/
1140
- ((z = $[0]) == null ? void 0 : z.variant) === "ridgetown" ? 0 : (
1141
- /*$state*/
1142
- ((M = $[0]) == null ? void 0 : M.variant) === "ridgetown" ? 1 : (
1143
- /*$state*/
1144
- ((I = $[0]) == null ? void 0 : I.mode) === "desktop" ? 2 : 3
1145
- )
1146
- )
1147
- );
1148
- }
1149
- return r = h(o), a = u[r] = i[r](o), {
1150
- c() {
1151
- var $;
1152
- e = w("div"), n && n.c(), l = N(), t = w("a"), a.c(), f(t, "class", s = G(
1153
- "flex items-center h-full w-fit transition-opacity focus:opacity-75 hover:opacity-75 min-[1320px]:absolute min-[1320px]:left-[max(calc((100%-1320px)/2),7.5rem)] [&>svg]:block [&>svg]:h-full [&>svg}:w-fit",
1154
- /*$state*/
1155
- (($ = o[0]) == null ? void 0 : $.variant) === "ridgetown" && "[&>svg]:h-2/3 pl-1 md:pl-0"
1156
- )), f(t, "href", "https://www.uoguelph.ca"), f(t, "aria-label", "University of Guelph Home Page"), f(e, "class", "flex w-fit");
1157
- },
1158
- m($, k) {
1159
- b($, e, k), n && n.m(e, null), p(e, l), p(e, t), u[r].m(t, null), c = !0;
1160
- },
1161
- p($, [k]) {
1162
- var z, M;
1163
- /*$state*/
1164
- ((z = $[0]) == null ? void 0 : z.mode) === "desktop" ? n ? k & /*$state*/
1165
- 1 && _(n, 1) : (n = A1(), n.c(), _(n, 1), n.m(e, l)) : n && (H(), m(n, 1, 1, () => {
1166
- n = null;
1167
- }), j());
1168
- let y = r;
1169
- r = h($), r !== y && (H(), m(u[y], 1, 1, () => {
1170
- u[y] = null;
1171
- }), j(), a = u[r], a || (a = u[r] = i[r]($), a.c()), _(a, 1), a.m(t, null)), (!c || k & /*$state*/
1172
- 1 && s !== (s = G(
1173
- "flex items-center h-full w-fit transition-opacity focus:opacity-75 hover:opacity-75 min-[1320px]:absolute min-[1320px]:left-[max(calc((100%-1320px)/2),7.5rem)] [&>svg]:block [&>svg]:h-full [&>svg}:w-fit",
1174
- /*$state*/
1175
- ((M = $[0]) == null ? void 0 : M.variant) === "ridgetown" && "[&>svg]:h-2/3 pl-1 md:pl-0"
1176
- ))) && f(t, "class", s);
1177
- },
1178
- i($) {
1179
- c || (_(n), _(a), c = !0);
1180
- },
1181
- o($) {
1182
- m(n), m(a), c = !1;
1183
- },
1184
- d($) {
1185
- $ && v(e), n && n.d(), u[r].d();
1186
- }
1187
- };
1188
- }
1189
- function tt(o, e, l) {
1190
- let t;
1191
- const r = K("header-state");
1192
- return Q(o, r, (a) => l(0, t = a)), [t, r];
1193
- }
1194
- class me extends F {
1195
- constructor(e) {
1196
- super(), W(this, e, tt, et, R, {});
1197
- }
1198
- }
1199
- U(me, {}, [], [], !0);
1200
- function lt(o) {
1201
- let e, l, t, r, a, s, c, n, i, u, h, g, $, k, y, z, M, I, X, e1, t1, l1, D, r1, n1, s1, a1, o1, c1, i1;
1202
- return {
1203
- c() {
1204
- e = d("svg"), l = d("defs"), t = d("style"), r = V(".cls-1,.cls-2{fill:#fff;}.cls-2{stroke:#fff;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}"), a = d("path"), s = d("path"), c = d("polygon"), n = d("path"), i = d("polygon"), u = d("path"), h = d("path"), g = d("polygon"), $ = d("polygon"), k = d("path"), y = d("path"), z = d("polygon"), M = d("path"), I = d("path"), X = d("path"), e1 = d("path"), t1 = d("path"), l1 = d("path"), D = d("line"), r1 = d("path"), n1 = d("path"), s1 = d("path"), a1 = d("path"), o1 = d("path"), c1 = d("path"), i1 = d("path"), f(a, "class", "cls-1"), f(a, "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"), f(a, "transform", "translate(-365.74 -171)"), f(s, "class", "cls-1"), f(s, "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"), f(s, "transform", "translate(-365.74 -171)"), f(c, "class", "cls-1"), f(c, "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"), f(n, "class", "cls-1"), f(n, "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"), f(n, "transform", "translate(-365.74 -171)"), f(i, "class", "cls-1"), f(i, "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"), f(u, "class", "cls-1"), f(u, "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"), f(u, "transform", "translate(-365.74 -171)"), f(h, "class", "cls-1"), f(h, "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"), f(h, "transform", "translate(-365.74 -171)"), f(g, "class", "cls-1"), f(g, "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"), f($, "class", "cls-1"), f($, "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"), f(k, "class", "cls-1"), f(k, "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"), f(k, "transform", "translate(-365.74 -171)"), f(y, "class", "cls-1"), f(y, "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"), f(y, "transform", "translate(-365.74 -171)"), f(z, "class", "cls-1"), f(z, "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"), f(M, "class", "cls-1"), f(M, "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"), f(M, "transform", "translate(-365.74 -171)"), f(I, "class", "cls-1"), f(I, "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"), f(I, "transform", "translate(-365.74 -171)"), f(X, "class", "cls-1"), f(X, "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"), f(X, "transform", "translate(-365.74 -171)"), f(e1, "class", "cls-1"), f(e1, "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"), f(e1, "transform", "translate(-365.74 -171)"), f(t1, "class", "cls-1"), f(t1, "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"), f(t1, "transform", "translate(-365.74 -171)"), f(l1, "class", "cls-1"), f(l1, "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"), f(l1, "transform", "translate(-365.74 -171)"), f(D, "class", "cls-2"), f(D, "x1", "0.75"), f(D, "y1", "61.79"), f(D, "x2", "264.97"), f(D, "y2", "61.79"), f(r1, "class", "cls-1"), f(r1, "d", "M402.13,185.86a.08.08,0,0,1,0,0h0l0,0Z"), f(r1, "transform", "translate(-365.74 -171)"), f(n1, "class", "cls-1"), f(n1, "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"), f(n1, "transform", "translate(-365.74 -171)"), f(s1, "class", "cls-1"), f(s1, "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"), f(s1, "transform", "translate(-365.74 -171)"), f(a1, "class", "cls-1"), f(a1, "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"), f(a1, "transform", "translate(-365.74 -171)"), f(o1, "class", "cls-1"), f(o1, "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"), f(o1, "transform", "translate(-365.74 -171)"), f(c1, "class", "cls-1"), f(c1, "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"), f(c1, "transform", "translate(-365.74 -171)"), f(i1, "class", "cls-1"), f(i1, "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"), f(i1, "transform", "translate(-365.74 -171)"), f(e, "id", "Layer_1"), f(e, "data-name", "Layer 1"), f(e, "xmlns", "http://www.w3.org/2000/svg"), P(e, "height", "100%"), f(e, "viewBox", "0 0 266.13 110.89");
1205
- },
1206
- m(d1, xe) {
1207
- b(d1, e, xe), p(e, l), p(l, t), p(t, r), p(e, a), p(e, s), p(e, c), p(e, n), p(e, i), p(e, u), p(e, h), p(e, g), p(e, $), p(e, k), p(e, y), p(e, z), p(e, M), p(e, I), p(e, X), p(e, e1), p(e, t1), p(e, l1), p(e, D), p(e, r1), p(e, n1), p(e, s1), p(e, a1), p(e, o1), p(e, c1), p(e, i1);
1208
- },
1209
- p: x,
1210
- i: x,
1211
- o: x,
1212
- d(d1) {
1213
- d1 && v(e);
1214
- }
1215
- };
1216
- }
1217
- class de extends F {
1218
- constructor(e) {
1219
- super(), W(this, e, null, lt, R, {});
1220
- }
1221
- }
1222
- U(de, {}, [], [], !0);
1223
- function V1(o, e, l) {
1224
- const t = o.slice();
1225
- return t[3] = e[l], t;
1226
- }
1227
- function rt(o) {
1228
- let e, l = (
1229
- /*item*/
1230
- o[3].text + ""
1231
- ), t;
1232
- return {
1233
- c() {
1234
- e = w("a"), t = V(l), f(e, "class", "flex h-full items-center justify-center border-0 border-b-8 border-solid border-transparent p-6 pt-8 transition-colors hover:border-uofg-yellow hover:text-uofg-yellow"), f(
1235
- e,
1236
- "href",
1237
- /*item*/
1238
- o[3].href
1239
- );
1240
- },
1241
- m(r, a) {
1242
- b(r, e, a), p(e, t);
1243
- },
1244
- p: x,
1245
- i: x,
1246
- o: x,
1247
- d(r) {
1248
- r && v(e);
1249
- }
1250
- };
1251
- }
1252
- function nt(o) {
1253
- let e, l, t;
1254
- return l = new E({ props: { icon: (
1255
- /*item*/
1256
- o[3].icon
1257
- ) } }), {
1258
- c() {
1259
- e = w("a"), Z(l.$$.fragment), f(e, "class", "flex h-full items-center justify-center border-0 border-b-8 border-solid border-transparent p-4 pb-6 pt-8 text-uofg-yellow transition-colors hover:border-uofg-yellow hover:text-white [&>svg]:fill-current"), f(
1260
- e,
1261
- "href",
1262
- /*item*/
1263
- o[3].href
1264
- ), f(
1265
- e,
1266
- "aria-label",
1267
- /*item*/
1268
- o[3].text
1269
- );
1270
- },
1271
- m(r, a) {
1272
- b(r, e, a), C(l, e, null), t = !0;
1273
- },
1274
- p: x,
1275
- i(r) {
1276
- t || (_(l.$$.fragment, r), t = !0);
1277
- },
1278
- o(r) {
1279
- m(l.$$.fragment, r), t = !1;
1280
- },
1281
- d(r) {
1282
- r && v(e), L(l);
1283
- }
1284
- };
1285
- }
1286
- function z1(o) {
1287
- let e, l, t, r, a;
1288
- const s = [nt, rt], c = [];
1289
- function n(i, u) {
1290
- return (
1291
- /*item*/
1292
- i[3].icon ? 0 : 1
1293
- );
1294
- }
1295
- return l = n(o), t = c[l] = s[l](o), {
1296
- c() {
1297
- e = w("li"), t.c(), r = N();
1298
- },
1299
- m(i, u) {
1300
- b(i, e, u), c[l].m(e, null), p(e, r), a = !0;
1301
- },
1302
- p(i, u) {
1303
- t.p(i, u);
1304
- },
1305
- i(i) {
1306
- a || (_(t), a = !0);
1307
- },
1308
- o(i) {
1309
- m(t), a = !1;
1310
- },
1311
- d(i) {
1312
- i && v(e), c[l].d();
1213
+ set variant(b) {
1214
+ h(b), Z();
1313
1215
  }
1314
- };
1315
- }
1316
- function st(o) {
1317
- let e, l, t = A(
1318
- /*links*/
1319
- o[1]
1320
- ), r = [];
1321
- for (let s = 0; s < t.length; s += 1)
1322
- r[s] = z1(V1(o, t, s));
1323
- const a = (s) => m(r[s], 1, 1, () => {
1324
- r[s] = null;
1325
1216
  });
1326
- return {
1327
- c() {
1328
- e = w("ul");
1329
- for (let s = 0; s < r.length; s += 1)
1330
- r[s].c();
1331
- f(e, "class", "flex ml-auto [&>li]:contents text-4xl");
1332
- },
1333
- m(s, c) {
1334
- b(s, e, c);
1335
- for (let n = 0; n < r.length; n += 1)
1336
- r[n] && r[n].m(e, null);
1337
- l = !0;
1338
- },
1339
- p(s, [c]) {
1340
- if (c & /*links*/
1341
- 2) {
1342
- t = A(
1343
- /*links*/
1344
- s[1]
1345
- );
1346
- let n;
1347
- for (n = 0; n < t.length; n += 1) {
1348
- const i = V1(s, t, n);
1349
- r[n] ? (r[n].p(i, c), _(r[n], 1)) : (r[n] = z1(i), r[n].c(), _(r[n], 1), r[n].m(e, null));
1350
- }
1351
- for (H(), n = t.length; n < r.length; n += 1)
1352
- a(n);
1353
- j();
1354
- }
1355
- },
1356
- i(s) {
1357
- if (!l) {
1358
- for (let c = 0; c < t.length; c += 1)
1359
- _(r[c]);
1360
- l = !0;
1361
- }
1362
- },
1363
- o(s) {
1364
- r = r.filter(Boolean);
1365
- for (let c = 0; c < r.length; c += 1)
1366
- m(r[c]);
1367
- l = !1;
1368
- },
1369
- d(s) {
1370
- s && v(e), Y(r, s);
1371
- }
1372
- };
1373
- }
1374
- function at(o, e, l) {
1375
- let t;
1376
- const r = K("header-state");
1377
- Q(o, r, (s) => l(2, t = s));
1378
- const a = (t == null ? void 0 : t.variant) === "ridgetown" ? ce : ae;
1379
- return [r, a];
1380
- }
1381
- let be = class extends F {
1382
- constructor(e) {
1383
- super(), W(this, e, at, st, R, {});
1384
- }
1385
- };
1386
- U(be, {}, [], [], !0);
1387
- function S1(o, e, l) {
1388
- const t = o.slice();
1389
- return t[5] = e[l], t;
1390
- }
1391
- function j1(o, e, l) {
1392
- const t = o.slice();
1393
- return t[8] = e[l], t;
1394
- }
1395
- function H1(o, e, l) {
1396
- const t = o.slice();
1397
- return t[5] = e[l], t;
1398
- }
1399
- function R1(o, e, l) {
1400
- const t = o.slice();
1401
- return t[8] = e[l], t;
1402
- }
1403
- function ot(o) {
1404
- let e, l, t;
1405
- return l = new E({ props: { icon: (
1406
- /*item*/
1407
- o[5].icon
1408
- ) } }), {
1409
- c() {
1410
- e = w("a"), Z(l.$$.fragment), f(e, "class", "flex h-full aspect-square items-center justify-center gap-2 px-4 transition-colors hover:bg-white focus:bg-white aria-expanded:bg-white hover:text-black focus:text-black aria-expanded:text-black"), f(
1411
- e,
1412
- "href",
1413
- /*item*/
1414
- o[5].href
1415
- ), f(
1416
- e,
1417
- "aria-label",
1418
- /*item*/
1419
- o[5].text
1420
- );
1421
- },
1422
- m(r, a) {
1423
- b(r, e, a), C(l, e, null), t = !0;
1424
- },
1425
- p: x,
1426
- i(r) {
1427
- t || (_(l.$$.fragment, r), t = !0);
1428
- },
1429
- o(r) {
1430
- m(l.$$.fragment, r), t = !1;
1431
- },
1432
- d(r) {
1433
- r && v(e), L(l);
1434
- }
1435
- };
1436
- }
1437
- function ct(o) {
1438
- let e, l;
1439
- return e = new q({
1440
- props: {
1441
- class: "h-full",
1442
- buttonAriaLabel: (
1443
- /*item*/
1444
- o[5].icon ? (
1445
- /*item*/
1446
- o[5].text
1447
- ) : void 0
1448
- ),
1449
- buttonClass: "flex h-full aspect-square items-center justify-center gap-2 px-4 transition-colors hover:bg-white focus:bg-white aria-expanded:bg-white hover:text-black focus:text-black aria-expanded:text-black",
1450
- contentClass: "absolute right-0 top-full z-50 flex w-full flex-col bg-white px-4 text-black shadow-md lg:w-[30rem] [&>li]:contents",
1451
- as: "ul",
1452
- $$slots: {
1453
- button: [ut],
1454
- default: [it]
1455
- },
1456
- $$scope: { ctx: o }
1457
- }
1458
- }), {
1459
- c() {
1460
- Z(e.$$.fragment);
1461
- },
1462
- m(t, r) {
1463
- C(e, t, r), l = !0;
1464
- },
1465
- p(t, r) {
1466
- const a = {};
1467
- r & /*$$scope*/
1468
- 32768 && (a.$$scope = { dirty: r, ctx: t }), e.$set(a);
1469
- },
1470
- i(t) {
1471
- l || (_(e.$$.fragment, t), l = !0);
1472
- },
1473
- o(t) {
1474
- m(e.$$.fragment, t), l = !1;
1475
- },
1476
- d(t) {
1477
- L(e, t);
1478
- }
1479
- };
1480
- }
1481
- function U1(o) {
1482
- let e, l, t = (
1483
- /*link*/
1484
- o[8].text + ""
1485
- ), r, a;
1486
- return {
1487
- c() {
1488
- e = w("li"), l = w("a"), r = V(t), a = N(), f(l, "class", "border-0 border-b border-solid border-uofg-grey-500 p-4 transition-colors hover:bg-uofg-yellow"), f(
1489
- l,
1490
- "href",
1491
- /*link*/
1492
- o[8].href
1493
- ), f(e, "class", "[&>*]:first:mt-4 [&>*]:last:mb-4");
1494
- },
1495
- m(s, c) {
1496
- b(s, e, c), p(e, l), p(l, r), p(e, a);
1497
- },
1498
- p: x,
1499
- d(s) {
1500
- s && v(e);
1501
- }
1502
- };
1503
- }
1504
- function it(o) {
1505
- let e, l = A(
1506
- /*item*/
1507
- o[5].links
1508
- ), t = [];
1509
- for (let r = 0; r < l.length; r += 1)
1510
- t[r] = U1(R1(o, l, r));
1511
- return {
1512
- c() {
1513
- for (let r = 0; r < t.length; r += 1)
1514
- t[r].c();
1515
- e = B();
1516
- },
1517
- m(r, a) {
1518
- for (let s = 0; s < t.length; s += 1)
1519
- t[s] && t[s].m(r, a);
1520
- b(r, e, a);
1521
- },
1522
- p(r, a) {
1523
- if (a & /*outer*/
1524
- 4) {
1525
- l = A(
1526
- /*item*/
1527
- r[5].links
1528
- );
1529
- let s;
1530
- for (s = 0; s < l.length; s += 1) {
1531
- const c = R1(r, l, s);
1532
- t[s] ? t[s].p(c, a) : (t[s] = U1(c), t[s].c(), t[s].m(e.parentNode, e));
1533
- }
1534
- for (; s < t.length; s += 1)
1535
- t[s].d(1);
1536
- t.length = l.length;
1537
- }
1538
- },
1539
- d(r) {
1540
- r && v(e), Y(t, r);
1541
- }
1542
- };
1543
- }
1544
- function ut(o) {
1545
- let e, l;
1546
- return e = new E({
1547
- props: {
1548
- slot: "button",
1549
- icon: (
1550
- /*item*/
1551
- o[5].icon
1552
- )
1553
- }
1554
- }), {
1555
- c() {
1556
- Z(e.$$.fragment);
1557
- },
1558
- m(t, r) {
1559
- C(e, t, r), l = !0;
1560
- },
1561
- p: x,
1562
- i(t) {
1563
- l || (_(e.$$.fragment, t), l = !0);
1564
- },
1565
- o(t) {
1566
- m(e.$$.fragment, t), l = !1;
1567
- },
1568
- d(t) {
1569
- L(e, t);
1570
- }
1571
- };
1572
- }
1573
- function F1(o, e) {
1574
- let l, t, r, a, s;
1575
- const c = [ct, ot], n = [];
1576
- function i(u, h) {
1577
- return (
1578
- /*item*/
1579
- u[5].links ? 0 : 1
1580
- );
1581
- }
1582
- return t = i(e), r = n[t] = c[t](e), {
1583
- key: o,
1584
- first: null,
1585
- c() {
1586
- l = w("li"), r.c(), a = N(), this.first = l;
1587
- },
1588
- m(u, h) {
1589
- b(u, l, h), n[t].m(l, null), p(l, a), s = !0;
1590
- },
1591
- p(u, h) {
1592
- e = u, r.p(e, h);
1593
- },
1594
- i(u) {
1595
- s || (_(r), s = !0);
1596
- },
1597
- o(u) {
1598
- m(r), s = !1;
1599
- },
1600
- d(u) {
1601
- u && v(l), n[t].d();
1602
- }
1603
- };
1604
- }
1605
- function ft(o) {
1606
- let e, l = (
1607
- /*item*/
1608
- o[5].text + ""
1609
- ), t;
1610
- return {
1611
- c() {
1612
- e = w("a"), t = V(l), f(e, "class", "border-0 border-b border-solid border-uofg-grey-500 p-4 transition-colors hover:bg-uofg-grey focus:bg-uofg-grey"), f(
1613
- e,
1614
- "href",
1615
- /*item*/
1616
- o[5].href
1617
- ), $1(
1618
- e,
1619
- "bg-uofg-yellow",
1620
- /*item*/
1621
- o[5].highlight
1622
- );
1623
- },
1624
- m(r, a) {
1625
- b(r, e, a), p(e, t);
1626
- },
1627
- p: x,
1628
- i: x,
1629
- o: x,
1630
- d(r) {
1631
- r && v(e);
1632
- }
1633
- };
1634
- }
1635
- function ht(o) {
1636
- let e, l;
1637
- return e = new q({
1638
- props: {
1639
- class: "relative w-full",
1640
- buttonClass: "flex border-0 border-b border-solid border-uofg-grey-500 w-full items-center justify-between gap-2 p-4 transition-colors hover:bg-uofg-grey focus:bg-uofg-grey aria-expanded:bg-uofg-grey [&_svg]:aria-expanded:rotate-180",
1641
- contentClass: "flex flex-col w-full flex-col bg-white text-black [&>li]:contents",
1642
- as: "ul",
1643
- autoCollapse: !1,
1644
- $$slots: {
1645
- button: [gt],
1646
- default: [pt]
1647
- },
1648
- $$scope: { ctx: o }
1649
- }
1650
- }), {
1651
- c() {
1652
- Z(e.$$.fragment);
1653
- },
1654
- m(t, r) {
1655
- C(e, t, r), l = !0;
1656
- },
1657
- p(t, r) {
1658
- const a = {};
1659
- r & /*$$scope*/
1660
- 32768 && (a.$$scope = { dirty: r, ctx: t }), e.$set(a);
1661
- },
1662
- i(t) {
1663
- l || (_(e.$$.fragment, t), l = !0);
1664
- },
1665
- o(t) {
1666
- m(e.$$.fragment, t), l = !1;
1667
- },
1668
- d(t) {
1669
- L(e, t);
1670
- }
1671
- };
1217
+ return r(), L;
1672
1218
  }
1673
- function W1(o) {
1674
- let e, l, t = (
1675
- /*link*/
1676
- o[8].text + ""
1677
- ), r, a, s = [
1678
- {
1679
- class: "border-0 border-b border-solid border-uofg-grey-500 p-4 transition-colors hover:bg-uofg-grey"
1680
- },
1681
- {
1682
- href: (
1683
- /*link*/
1684
- o[8].href
1685
- )
1686
- },
1687
- /*link*/
1688
- o[8].attributes
1689
- ], c = {};
1690
- for (let n = 0; n < s.length; n += 1)
1691
- c = O(c, s[n]);
1692
- return {
1693
- c() {
1694
- e = w("li"), l = w("a"), r = V(t), a = N(), T(l, c);
1695
- },
1696
- m(n, i) {
1697
- b(n, e, i), p(e, l), p(l, r), p(e, a);
1698
- },
1699
- p: x,
1700
- d(n) {
1701
- n && v(e);
1702
- }
1703
- };
1704
- }
1705
- function pt(o) {
1706
- let e, l = A(
1707
- /*item*/
1708
- o[5].links
1709
- ), t = [];
1710
- for (let r = 0; r < l.length; r += 1)
1711
- t[r] = W1(j1(o, l, r));
1712
- return {
1713
- c() {
1714
- for (let r = 0; r < t.length; r += 1)
1715
- t[r].c();
1716
- e = B();
1717
- },
1718
- m(r, a) {
1719
- for (let s = 0; s < t.length; s += 1)
1720
- t[s] && t[s].m(r, a);
1721
- b(r, e, a);
1722
- },
1723
- p(r, a) {
1724
- if (a & /*mainMenu*/
1725
- 2) {
1726
- l = A(
1727
- /*item*/
1728
- r[5].links
1729
- );
1730
- let s;
1731
- for (s = 0; s < l.length; s += 1) {
1732
- const c = j1(r, l, s);
1733
- t[s] ? t[s].p(c, a) : (t[s] = W1(c), t[s].c(), t[s].m(e.parentNode, e));
1219
+ customElements.define("uofg-header", R(
1220
+ Ba,
1221
+ {
1222
+ pageTitle: {
1223
+ attribute: "page-title",
1224
+ reflect: !0,
1225
+ type: "String"
1226
+ },
1227
+ pageURL: {
1228
+ attribute: "page-url",
1229
+ reflect: !0,
1230
+ type: "String"
1231
+ },
1232
+ variant: {
1233
+ attribute: "variant",
1234
+ reflect: !0,
1235
+ type: "String"
1236
+ },
1237
+ subNavigation: {}
1238
+ },
1239
+ [],
1240
+ [],
1241
+ !0,
1242
+ (e) => class extends e {
1243
+ constructor() {
1244
+ super();
1245
+ Mt(this, "subNavigation", []);
1246
+ ze(this.shadowRoot);
1247
+ }
1248
+ connectedCallback() {
1249
+ super.connectedCallback(), this.updateSubNavigation(), this.observer ?? (this.observer = new MutationObserver(() => {
1250
+ this.updateSubNavigation();
1251
+ })), this.observer.observe(this, { childList: !0, subtree: !0 });
1252
+ }
1253
+ disconnectedCallback() {
1254
+ super.disconnectedCallback(), this.observer.disconnect();
1255
+ }
1256
+ updateSubNavigation() {
1257
+ const a = (r) => {
1258
+ const c = {};
1259
+ return r.getAttributeNames().filter((n) => n !== "href").forEach((n) => c[n] = r.getAttribute(n)), {
1260
+ href: r.getAttribute("href"),
1261
+ text: r.textContent,
1262
+ attributes: c
1263
+ };
1264
+ };
1265
+ this.subNavigation = Array.from(this.children).filter((r) => r.tagName === "A" || r.tagName === "UL").map((r) => {
1266
+ switch (r.tagName) {
1267
+ case "A":
1268
+ return a(r);
1269
+ case "UL":
1270
+ const c = {
1271
+ title: r.getAttribute("data-title"),
1272
+ links: Array.from(r.querySelectorAll("a")).map(a)
1273
+ };
1274
+ return c.wrapContent = c.links.reduce(
1275
+ (n, f) => (f.text.length > za && (n = !0), n),
1276
+ !1
1277
+ ), c;
1734
1278
  }
1735
- for (; s < t.length; s += 1)
1736
- t[s].d(1);
1737
- t.length = l.length;
1738
- }
1739
- },
1740
- d(r) {
1741
- r && v(e), Y(t, r);
1742
- }
1743
- };
1744
- }
1745
- function gt(o) {
1746
- let e, l, t, r, a;
1747
- return r = new E({ props: { icon: g1 } }), {
1748
- c() {
1749
- e = w("span"), l = w("span"), l.textContent = `${/*item*/
1750
- o[5].text}`, t = N(), Z(r.$$.fragment), f(l, "class", "mr-auto"), f(e, "class", "w-full flex gap-2 justify-between [&>svg]:transition-transform"), f(e, "slot", "button"), $1(
1751
- e,
1752
- "bg-uofg-yellow",
1753
- /*item*/
1754
- o[5].highlight
1755
- );
1756
- },
1757
- m(s, c) {
1758
- b(s, e, c), p(e, l), p(e, t), C(r, e, null), a = !0;
1759
- },
1760
- p: x,
1761
- i(s) {
1762
- a || (_(r.$$.fragment, s), a = !0);
1763
- },
1764
- o(s) {
1765
- m(r.$$.fragment, s), a = !1;
1766
- },
1767
- d(s) {
1768
- s && v(e), L(r);
1279
+ }).filter((r) => !!r);
1769
1280
  }
1770
- };
1771
- }
1772
- function B1(o) {
1773
- let e, l, t, r, a;
1774
- const s = [ht, ft], c = [];
1775
- function n(i, u) {
1776
- return (
1777
- /*item*/
1778
- i[5].links ? 0 : 1
1779
- );
1780
- }
1781
- return l = n(o), t = c[l] = s[l](o), {
1782
- c() {
1783
- e = w("li"), t.c(), r = N(), f(e, "class", "[&>*]:first:mt-4 [&>*]:last:mb-4");
1784
- },
1785
- m(i, u) {
1786
- b(i, e, u), c[l].m(e, null), p(e, r), a = !0;
1787
- },
1788
- p(i, u) {
1789
- t.p(i, u);
1790
- },
1791
- i(i) {
1792
- a || (_(t), a = !0);
1793
- },
1794
- o(i) {
1795
- m(t), a = !1;
1796
- },
1797
- d(i) {
1798
- i && v(e), c[l].d();
1799
- }
1800
- };
1801
- }
1802
- function _t(o) {
1803
- let e, l, t = A(
1804
- /*mainMenu*/
1805
- o[1]
1806
- ), r = [];
1807
- for (let s = 0; s < t.length; s += 1)
1808
- r[s] = B1(S1(o, t, s));
1809
- const a = (s) => m(r[s], 1, 1, () => {
1810
- r[s] = null;
1811
- });
1812
- return {
1813
- c() {
1814
- for (let s = 0; s < r.length; s += 1)
1815
- r[s].c();
1816
- e = B();
1817
- },
1818
- m(s, c) {
1819
- for (let n = 0; n < r.length; n += 1)
1820
- r[n] && r[n].m(s, c);
1821
- b(s, e, c), l = !0;
1822
- },
1823
- p(s, c) {
1824
- if (c & /*mainMenu*/
1825
- 2) {
1826
- t = A(
1827
- /*mainMenu*/
1828
- s[1]
1829
- );
1830
- let n;
1831
- for (n = 0; n < t.length; n += 1) {
1832
- const i = S1(s, t, n);
1833
- r[n] ? (r[n].p(i, c), _(r[n], 1)) : (r[n] = B1(i), r[n].c(), _(r[n], 1), r[n].m(e.parentNode, e));
1834
- }
1835
- for (H(), n = t.length; n < r.length; n += 1)
1836
- a(n);
1837
- j();
1838
- }
1839
- },
1840
- i(s) {
1841
- if (!l) {
1842
- for (let c = 0; c < t.length; c += 1)
1843
- _(r[c]);
1844
- l = !0;
1845
- }
1846
- },
1847
- o(s) {
1848
- r = r.filter(Boolean);
1849
- for (let c = 0; c < r.length; c += 1)
1850
- m(r[c]);
1851
- l = !1;
1852
- },
1853
- d(s) {
1854
- s && v(e), Y(r, s);
1855
- }
1856
- };
1857
- }
1858
- function mt(o) {
1859
- let e, l;
1860
- return e = new E({ props: { slot: "button", icon: se } }), {
1861
- c() {
1862
- Z(e.$$.fragment);
1863
- },
1864
- m(t, r) {
1865
- C(e, t, r), l = !0;
1866
- },
1867
- p: x,
1868
- i(t) {
1869
- l || (_(e.$$.fragment, t), l = !0);
1870
- },
1871
- o(t) {
1872
- m(e.$$.fragment, t), l = !1;
1873
- },
1874
- d(t) {
1875
- L(e, t);
1876
- }
1877
- };
1878
- }
1879
- function dt(o) {
1880
- let e, l = [], t = /* @__PURE__ */ new Map(), r, a, s, c, n = A(
1881
- /*outer*/
1882
- o[2]
1883
- );
1884
- const i = (u) => (
1885
- /*item*/
1886
- u[5].text || /*item*/
1887
- u[5].title
1888
- );
1889
- for (let u = 0; u < n.length; u += 1) {
1890
- let h = H1(o, n, u), g = i(h);
1891
- t.set(g, l[u] = F1(g, h));
1892
- }
1893
- return s = new q({
1894
- props: {
1895
- class: "h-full",
1896
- buttonAriaLabel: "Main Menu",
1897
- buttonClass: "flex h-full aspect-square items-center justify-center gap-2 px-4 transition-colors hover:bg-white focus:bg-white aria-expanded:bg-white hover:text-black focus:text-black aria-expanded:text-black [&_svg]:aria-expanded:rotate-180",
1898
- contentClass: "absolute right-0 top-full z-50 flex w-full flex-col bg-white px-4 text-black shadow-md lg:w-[30rem] [&>li]:contents max-h-[calc(100vh-5rem)] overflow-y-auto",
1899
- as: "ul",
1900
- $$slots: {
1901
- button: [mt],
1902
- default: [_t]
1903
- },
1904
- $$scope: { ctx: o }
1905
- }
1906
- }), {
1907
- c() {
1908
- e = w("ul");
1909
- for (let u = 0; u < l.length; u += 1)
1910
- l[u].c();
1911
- r = N(), a = w("li"), Z(s.$$.fragment), f(e, "class", "flex h-full [&>li]:contents");
1912
- },
1913
- m(u, h) {
1914
- b(u, e, h);
1915
- for (let g = 0; g < l.length; g += 1)
1916
- l[g] && l[g].m(e, null);
1917
- p(e, r), p(e, a), C(s, a, null), c = !0;
1918
- },
1919
- p(u, [h]) {
1920
- h & /*outer, undefined*/
1921
- 4 && (n = A(
1922
- /*outer*/
1923
- u[2]
1924
- ), H(), l = h1(l, h, i, 1, u, n, t, e, p1, F1, r, H1), j());
1925
- const g = {};
1926
- h & /*$$scope*/
1927
- 32768 && (g.$$scope = { dirty: h, ctx: u }), s.$set(g);
1928
- },
1929
- i(u) {
1930
- if (!c) {
1931
- for (let h = 0; h < n.length; h += 1)
1932
- _(l[h]);
1933
- _(s.$$.fragment, u), c = !0;
1934
- }
1935
- },
1936
- o(u) {
1937
- for (let h = 0; h < l.length; h += 1)
1938
- m(l[h]);
1939
- m(s.$$.fragment, u), c = !1;
1940
- },
1941
- d(u) {
1942
- u && v(e);
1943
- for (let h = 0; h < l.length; h += 1)
1944
- l[h].d();
1945
- L(s);
1946
- }
1947
- };
1948
- }
1949
- function bt(o, e, l) {
1950
- let t;
1951
- const r = K("header-state");
1952
- Q(o, r, (n) => l(3, t = n));
1953
- const a = (t == null ? void 0 : t.variant) === "ridgetown" ? [...ce, ...ie] : [...ae, ...oe], s = a.filter((n) => !(n != null && n.excludeFromMainMenu)), c = a.filter((n) => n == null ? void 0 : n.excludeFromMainMenu);
1954
- return [r, s, c];
1955
- }
1956
- let ve = class extends F {
1957
- constructor(e) {
1958
- super(), W(this, e, bt, dt, R, {});
1959
- }
1960
- };
1961
- U(ve, {}, [], [], !0);
1962
- function vt(o) {
1963
- let e, l;
1964
- return e = new ve({}), {
1965
- c() {
1966
- Z(e.$$.fragment);
1967
- },
1968
- m(t, r) {
1969
- C(e, t, r), l = !0;
1970
- },
1971
- i(t) {
1972
- l || (_(e.$$.fragment, t), l = !0);
1973
- },
1974
- o(t) {
1975
- m(e.$$.fragment, t), l = !1;
1976
- },
1977
- d(t) {
1978
- L(e, t);
1979
- }
1980
- };
1981
- }
1982
- function $t(o) {
1983
- let e, l;
1984
- return e = new be({}), {
1985
- c() {
1986
- Z(e.$$.fragment);
1987
- },
1988
- m(t, r) {
1989
- C(e, t, r), l = !0;
1990
- },
1991
- i(t) {
1992
- l || (_(e.$$.fragment, t), l = !0);
1993
- },
1994
- o(t) {
1995
- m(e.$$.fragment, t), l = !1;
1996
- },
1997
- d(t) {
1998
- L(e, t);
1999
- }
2000
- };
2001
- }
2002
- function wt(o) {
2003
- let e, l, t;
2004
- return l = new de({}), {
2005
- c() {
2006
- e = w("a"), Z(l.$$.fragment), f(e, "href", "https://www.guelphhumber.ca"), f(e, "class", "w-auto h-full p-6 ml-auto transition-opacity focus:opacity-75 hover:opacity-75");
2007
- },
2008
- m(r, a) {
2009
- b(r, e, a), C(l, e, null), t = !0;
2010
- },
2011
- i(r) {
2012
- t || (_(l.$$.fragment, r), t = !0);
2013
- },
2014
- o(r) {
2015
- m(l.$$.fragment, r), t = !1;
2016
- },
2017
- d(r) {
2018
- r && v(e), L(l);
2019
- }
2020
- };
2021
- }
2022
- function kt(o) {
2023
- let e, l, t, r, a, s, c;
2024
- l = new me({});
2025
- const n = [wt, $t, vt], i = [];
2026
- function u(h, g) {
2027
- var $, k;
2028
- return (
2029
- /*$state*/
2030
- (($ = h[0]) == null ? void 0 : $.variant) === "dual-brand" ? 0 : (
2031
- /*$state*/
2032
- ((k = h[0]) == null ? void 0 : k.mode) === "desktop" ? 1 : 2
2033
- )
2034
- );
2035
- }
2036
- return r = u(o), a = i[r] = n[r](o), {
2037
- c() {
2038
- var h;
2039
- e = w("nav"), Z(l.$$.fragment), t = N(), a.c(), f(e, "class", s = G(
2040
- "relative w-full justify-between flex lg:h-[10rem] bg-black px-[calc((100%-1320px)/2)] text-3xl text-white",
2041
- /*$state*/
2042
- ((h = o[0]) == null ? void 0 : h.variant) === "dual-brand" ? "h-[7.5rem]" : "h-[5rem]"
2043
- )), f(e, "aria-label", "Primary");
2044
- },
2045
- m(h, g) {
2046
- b(h, e, g), C(l, e, null), p(e, t), i[r].m(e, null), c = !0;
2047
- },
2048
- p(h, [g]) {
2049
- var k;
2050
- let $ = r;
2051
- r = u(h), r !== $ && (H(), m(i[$], 1, 1, () => {
2052
- i[$] = null;
2053
- }), j(), a = i[r], a || (a = i[r] = n[r](h), a.c()), _(a, 1), a.m(e, null)), (!c || g & /*$state*/
2054
- 1 && s !== (s = G(
2055
- "relative w-full justify-between flex lg:h-[10rem] bg-black px-[calc((100%-1320px)/2)] text-3xl text-white",
2056
- /*$state*/
2057
- ((k = h[0]) == null ? void 0 : k.variant) === "dual-brand" ? "h-[7.5rem]" : "h-[5rem]"
2058
- ))) && f(e, "class", s);
2059
- },
2060
- i(h) {
2061
- c || (_(l.$$.fragment, h), _(a), c = !0);
2062
- },
2063
- o(h) {
2064
- m(l.$$.fragment, h), m(a), c = !1;
2065
- },
2066
- d(h) {
2067
- h && v(e), L(l), i[r].d();
2068
- }
2069
- };
2070
- }
2071
- function yt(o, e, l) {
2072
- let t;
2073
- const r = K("header-state");
2074
- return Q(o, r, (a) => l(0, t = a)), [t, r];
2075
- }
2076
- class $e extends F {
2077
- constructor(e) {
2078
- super(), W(this, e, yt, kt, R, {});
2079
- }
2080
- }
2081
- U($e, {}, [], [], !0);
2082
- function T1(o, e, l) {
2083
- const t = o.slice();
2084
- return t[1] = e[l], t;
2085
- }
2086
- function E1(o, e, l) {
2087
- const t = o.slice();
2088
- return t[4] = e[l], t;
2089
- }
2090
- function xt(o) {
2091
- var u;
2092
- let e, l, t = (
2093
- /*item*/
2094
- o[1].text + ""
2095
- ), r, a, s, c, n = [
2096
- /*item*/
2097
- o[1].attributes,
2098
- {
2099
- class: a = `flex h-full items-center justify-center gap-2 px-4 transition-colors hover:bg-uofg-yellow ${/*item*/
2100
- ((u = o[1].attributes) == null ? void 0 : u.class) ?? ""}`
2101
- },
2102
- {
2103
- href: s = /*item*/
2104
- o[1].href
2105
- }
2106
- ], i = {};
2107
- for (let h = 0; h < n.length; h += 1)
2108
- i = O(i, n[h]);
2109
- return {
2110
- c() {
2111
- e = w("li"), l = w("a"), r = V(t), c = N(), T(l, i);
2112
- },
2113
- m(h, g) {
2114
- b(h, e, g), p(e, l), p(l, r), p(e, c);
2115
- },
2116
- p(h, g) {
2117
- var $;
2118
- g & /*items*/
2119
- 1 && t !== (t = /*item*/
2120
- h[1].text + "") && _1(r, t, i.contenteditable), T(l, i = u1(n, [
2121
- g & /*items*/
2122
- 1 && /*item*/
2123
- h[1].attributes,
2124
- g & /*items*/
2125
- 1 && a !== (a = `flex h-full items-center justify-center gap-2 px-4 transition-colors hover:bg-uofg-yellow ${/*item*/
2126
- (($ = h[1].attributes) == null ? void 0 : $.class) ?? ""}`) && { class: a },
2127
- g & /*items*/
2128
- 1 && s !== (s = /*item*/
2129
- h[1].href) && { href: s }
2130
- ]));
2131
- },
2132
- i: x,
2133
- o: x,
2134
- d(h) {
2135
- h && v(e);
2136
- }
2137
- };
2138
- }
2139
- function Mt(o) {
2140
- let e, l, t, r;
2141
- return l = new q({
2142
- props: {
2143
- class: "relative h-full",
2144
- buttonClass: "flex h-full items-center justify-center gap-2 px-4 transition-colors hover:bg-uofg-yellow aria-expanded:bg-uofg-yellow [&_svg]:aria-expanded:rotate-180",
2145
- contentClass: "absolute right-0 top-full z-50 flex min-w-[20rem] flex-col bg-uofg-grey [&>li]:contents",
2146
- buttonAriaLabel: void 0,
2147
- as: "ul",
2148
- $$slots: {
2149
- button: [Ct],
2150
- default: [Zt]
2151
- },
2152
- $$scope: { ctx: o }
2153
- }
2154
- }), {
2155
- c() {
2156
- e = w("li"), Z(l.$$.fragment), t = N();
2157
- },
2158
- m(a, s) {
2159
- b(a, e, s), C(l, e, null), p(e, t), r = !0;
2160
- },
2161
- p(a, s) {
2162
- const c = {};
2163
- s & /*$$scope, items*/
2164
- 129 && (c.$$scope = { dirty: s, ctx: a }), l.$set(c);
2165
- },
2166
- i(a) {
2167
- r || (_(l.$$.fragment, a), r = !0);
2168
- },
2169
- o(a) {
2170
- m(l.$$.fragment, a), r = !1;
2171
- },
2172
- d(a) {
2173
- a && v(e), L(l);
2174
- }
2175
- };
2176
- }
2177
- function P1(o) {
2178
- var u;
2179
- let e, l, t = (
2180
- /*link*/
2181
- o[4].text + ""
2182
- ), r, a, s, c, n = [
2183
- /*link*/
2184
- o[4].attributes,
2185
- {
2186
- class: a = `border-0 border-b border-solid border-uofg-grey-500 p-4 transition-colors hover:bg-uofg-yellow ${/*link*/
2187
- ((u = o[4].attributes) == null ? void 0 : u.class) ?? ""}`
2188
- },
2189
- {
2190
- href: s = /*link*/
2191
- o[4].href
2192
- }
2193
- ], i = {};
2194
- for (let h = 0; h < n.length; h += 1)
2195
- i = O(i, n[h]);
2196
- return {
2197
- c() {
2198
- e = w("li"), l = w("a"), r = V(t), c = N(), T(l, i);
2199
- },
2200
- m(h, g) {
2201
- b(h, e, g), p(e, l), p(l, r), p(e, c);
2202
- },
2203
- p(h, g) {
2204
- var $;
2205
- g & /*items*/
2206
- 1 && t !== (t = /*link*/
2207
- h[4].text + "") && _1(r, t, i.contenteditable), T(l, i = u1(n, [
2208
- g & /*items*/
2209
- 1 && /*link*/
2210
- h[4].attributes,
2211
- g & /*items*/
2212
- 1 && a !== (a = `border-0 border-b border-solid border-uofg-grey-500 p-4 transition-colors hover:bg-uofg-yellow ${/*link*/
2213
- (($ = h[4].attributes) == null ? void 0 : $.class) ?? ""}`) && { class: a },
2214
- g & /*items*/
2215
- 1 && s !== (s = /*link*/
2216
- h[4].href) && { href: s }
2217
- ]));
2218
- },
2219
- d(h) {
2220
- h && v(e);
2221
- }
2222
- };
2223
- }
2224
- function Zt(o) {
2225
- let e, l = A(
2226
- /*item*/
2227
- o[1].links
2228
- ), t = [];
2229
- for (let r = 0; r < l.length; r += 1)
2230
- t[r] = P1(E1(o, l, r));
2231
- return {
2232
- c() {
2233
- for (let r = 0; r < t.length; r += 1)
2234
- t[r].c();
2235
- e = B();
2236
- },
2237
- m(r, a) {
2238
- for (let s = 0; s < t.length; s += 1)
2239
- t[s] && t[s].m(r, a);
2240
- b(r, e, a);
2241
- },
2242
- p(r, a) {
2243
- if (a & /*items*/
2244
- 1) {
2245
- l = A(
2246
- /*item*/
2247
- r[1].links
2248
- );
2249
- let s;
2250
- for (s = 0; s < l.length; s += 1) {
2251
- const c = E1(r, l, s);
2252
- t[s] ? t[s].p(c, a) : (t[s] = P1(c), t[s].c(), t[s].m(e.parentNode, e));
2253
- }
2254
- for (; s < t.length; s += 1)
2255
- t[s].d(1);
2256
- t.length = l.length;
2257
- }
2258
- },
2259
- d(r) {
2260
- r && v(e), Y(t, r);
2261
- }
2262
- };
2263
- }
2264
- function Ct(o) {
2265
- let e, l, t = (
2266
- /*item*/
2267
- o[1].title + ""
2268
- ), r, a, s, c;
2269
- return s = new E({ props: { icon: g1 } }), {
2270
- c() {
2271
- e = w("span"), l = w("span"), r = V(t), a = N(), Z(s.$$.fragment), f(e, "class", "flex gap-2 [&>svg]:transition-transform"), f(e, "slot", "button");
2272
- },
2273
- m(n, i) {
2274
- b(n, e, i), p(e, l), p(l, r), p(e, a), C(s, e, null), c = !0;
2275
- },
2276
- p(n, i) {
2277
- (!c || i & /*items*/
2278
- 1) && t !== (t = /*item*/
2279
- n[1].title + "") && m1(r, t);
2280
- },
2281
- i(n) {
2282
- c || (_(s.$$.fragment, n), c = !0);
2283
- },
2284
- o(n) {
2285
- m(s.$$.fragment, n), c = !1;
2286
- },
2287
- d(n) {
2288
- n && v(e), L(s);
2289
- }
2290
- };
2291
- }
2292
- function G1(o, e) {
2293
- let l, t, r, a, s;
2294
- const c = [Mt, xt], n = [];
2295
- function i(u, h) {
2296
- return (
2297
- /*item*/
2298
- u[1].links ? 0 : 1
2299
- );
2300
- }
2301
- return t = i(e), r = n[t] = c[t](e), {
2302
- key: o,
2303
- first: null,
2304
- c() {
2305
- l = B(), r.c(), a = B(), this.first = l;
2306
- },
2307
- m(u, h) {
2308
- b(u, l, h), n[t].m(u, h), b(u, a, h), s = !0;
2309
- },
2310
- p(u, h) {
2311
- e = u;
2312
- let g = t;
2313
- t = i(e), t === g ? n[t].p(e, h) : (H(), m(n[g], 1, 1, () => {
2314
- n[g] = null;
2315
- }), j(), r = n[t], r ? r.p(e, h) : (r = n[t] = c[t](e), r.c()), _(r, 1), r.m(a.parentNode, a));
2316
- },
2317
- i(u) {
2318
- s || (_(r), s = !0);
2319
- },
2320
- o(u) {
2321
- m(r), s = !1;
2322
- },
2323
- d(u) {
2324
- u && (v(l), v(a)), n[t].d(u);
2325
- }
2326
- };
2327
- }
2328
- function Lt(o) {
2329
- let e = [], l = /* @__PURE__ */ new Map(), t, r, a = A(
2330
- /*items*/
2331
- o[0]
2332
- );
2333
- const s = (c) => (
2334
- /*item*/
2335
- c[1].text || /*item*/
2336
- c[1].title
2337
- );
2338
- for (let c = 0; c < a.length; c += 1) {
2339
- let n = T1(o, a, c), i = s(n);
2340
- l.set(i, e[c] = G1(i, n));
2341
- }
2342
- return {
2343
- c() {
2344
- for (let c = 0; c < e.length; c += 1)
2345
- e[c].c();
2346
- t = B();
2347
- },
2348
- m(c, n) {
2349
- for (let i = 0; i < e.length; i += 1)
2350
- e[i] && e[i].m(c, n);
2351
- b(c, t, n), r = !0;
2352
- },
2353
- p(c, [n]) {
2354
- n & /*undefined, items*/
2355
- 1 && (a = A(
2356
- /*items*/
2357
- c[0]
2358
- ), H(), e = h1(e, n, s, 1, c, a, l, t.parentNode, p1, G1, t, T1), j());
2359
- },
2360
- i(c) {
2361
- if (!r) {
2362
- for (let n = 0; n < a.length; n += 1)
2363
- _(e[n]);
2364
- r = !0;
2365
- }
2366
- },
2367
- o(c) {
2368
- for (let n = 0; n < e.length; n += 1)
2369
- m(e[n]);
2370
- r = !1;
2371
- },
2372
- d(c) {
2373
- c && v(t);
2374
- for (let n = 0; n < e.length; n += 1)
2375
- e[n].d(c);
2376
- }
2377
- };
2378
- }
2379
- function Nt(o, e, l) {
2380
- let { items: t } = e;
2381
- return o.$$set = (r) => {
2382
- "items" in r && l(0, t = r.items);
2383
- }, [t];
2384
- }
2385
- class we extends F {
2386
- constructor(e) {
2387
- super(), W(this, e, Nt, Lt, R, { items: 0 });
2388
- }
2389
- get items() {
2390
- return this.$$.ctx[0];
2391
- }
2392
- set items(e) {
2393
- this.$$set({ items: e }), S();
2394
- }
2395
- }
2396
- U(we, { items: {} }, [], [], !0);
2397
- function I1(o, e, l) {
2398
- const t = o.slice();
2399
- return t[1] = e[l], t;
2400
- }
2401
- function q1(o, e, l) {
2402
- const t = o.slice();
2403
- return t[4] = e[l], t;
2404
- }
2405
- function At(o) {
2406
- let e, l;
2407
- return e = new q({
2408
- props: {
2409
- class: "relative w-full",
2410
- buttonClass: "flex border-0 border-b border-solid border-uofg-grey-500 w-full items-center justify-between gap-2 p-4 transition-colors hover:bg-uofg-grey focus:bg-uofg-grey aria-expanded:bg-uofg-grey [&_svg]:aria-expanded:rotate-180",
2411
- contentClass: "flex flex-col w-full flex-col bg-white text-black [&>li]:contents",
2412
- as: "ul",
2413
- autoCollapse: !1,
2414
- $$slots: {
2415
- button: [St],
2416
- default: [zt]
2417
- },
2418
- $$scope: { ctx: o }
2419
- }
2420
- }), {
2421
- c() {
2422
- Z(e.$$.fragment);
2423
- },
2424
- m(t, r) {
2425
- C(e, t, r), l = !0;
2426
- },
2427
- p(t, r) {
2428
- const a = {};
2429
- r & /*$$scope, items*/
2430
- 129 && (a.$$scope = { dirty: r, ctx: t }), e.$set(a);
2431
- },
2432
- i(t) {
2433
- l || (_(e.$$.fragment, t), l = !0);
2434
- },
2435
- o(t) {
2436
- m(e.$$.fragment, t), l = !1;
2437
- },
2438
- d(t) {
2439
- L(e, t);
2440
- }
2441
- };
2442
- }
2443
- function Vt(o) {
2444
- var n;
2445
- let e, l = (
2446
- /*item*/
2447
- o[1].text + ""
2448
- ), t, r, a, s = [
2449
- /*item*/
2450
- o[1].attributes,
2451
- {
2452
- class: r = `border-0 border-b border-solid border-uofg-grey-500 p-4 transition-colors hover:bg-uofg-grey ${/*item*/
2453
- ((n = o[1].attributes) == null ? void 0 : n.class) ?? ""}`
2454
- },
2455
- {
2456
- href: a = /*item*/
2457
- o[1].href
2458
- }
2459
- ], c = {};
2460
- for (let i = 0; i < s.length; i += 1)
2461
- c = O(c, s[i]);
2462
- return {
2463
- c() {
2464
- e = w("a"), t = V(l), T(e, c);
2465
- },
2466
- m(i, u) {
2467
- b(i, e, u), p(e, t);
2468
- },
2469
- p(i, u) {
2470
- var h;
2471
- u & /*items*/
2472
- 1 && l !== (l = /*item*/
2473
- i[1].text + "") && _1(t, l, c.contenteditable), T(e, c = u1(s, [
2474
- u & /*items*/
2475
- 1 && /*item*/
2476
- i[1].attributes,
2477
- u & /*items*/
2478
- 1 && r !== (r = `border-0 border-b border-solid border-uofg-grey-500 p-4 transition-colors hover:bg-uofg-grey ${/*item*/
2479
- ((h = i[1].attributes) == null ? void 0 : h.class) ?? ""}`) && { class: r },
2480
- u & /*items*/
2481
- 1 && a !== (a = /*item*/
2482
- i[1].href) && { href: a }
2483
- ]));
2484
- },
2485
- i: x,
2486
- o: x,
2487
- d(i) {
2488
- i && v(e);
2489
- }
2490
- };
2491
- }
2492
- function D1(o) {
2493
- var u;
2494
- let e, l, t = (
2495
- /*link*/
2496
- o[4].text + ""
2497
- ), r, a, s, c, n = [
2498
- /*link*/
2499
- o[4].attributes,
2500
- {
2501
- class: a = `border-0 border-b border-solid border-uofg-grey-500 p-4 transition-colors hover:bg-uofg-grey ${/*link*/
2502
- ((u = o[4].attributes) == null ? void 0 : u.class) ?? ""}`
2503
- },
2504
- {
2505
- href: s = /*link*/
2506
- o[4].href
2507
- }
2508
- ], i = {};
2509
- for (let h = 0; h < n.length; h += 1)
2510
- i = O(i, n[h]);
2511
- return {
2512
- c() {
2513
- e = w("li"), l = w("a"), r = V(t), c = N(), T(l, i);
2514
- },
2515
- m(h, g) {
2516
- b(h, e, g), p(e, l), p(l, r), p(e, c);
2517
- },
2518
- p(h, g) {
2519
- var $;
2520
- g & /*items*/
2521
- 1 && t !== (t = /*link*/
2522
- h[4].text + "") && _1(r, t, i.contenteditable), T(l, i = u1(n, [
2523
- g & /*items*/
2524
- 1 && /*link*/
2525
- h[4].attributes,
2526
- g & /*items*/
2527
- 1 && a !== (a = `border-0 border-b border-solid border-uofg-grey-500 p-4 transition-colors hover:bg-uofg-grey ${/*link*/
2528
- (($ = h[4].attributes) == null ? void 0 : $.class) ?? ""}`) && { class: a },
2529
- g & /*items*/
2530
- 1 && s !== (s = /*link*/
2531
- h[4].href) && { href: s }
2532
- ]));
2533
- },
2534
- d(h) {
2535
- h && v(e);
2536
- }
2537
- };
2538
- }
2539
- function zt(o) {
2540
- let e, l = A(
2541
- /*item*/
2542
- o[1].links
2543
- ), t = [];
2544
- for (let r = 0; r < l.length; r += 1)
2545
- t[r] = D1(q1(o, l, r));
2546
- return {
2547
- c() {
2548
- for (let r = 0; r < t.length; r += 1)
2549
- t[r].c();
2550
- e = B();
2551
- },
2552
- m(r, a) {
2553
- for (let s = 0; s < t.length; s += 1)
2554
- t[s] && t[s].m(r, a);
2555
- b(r, e, a);
2556
- },
2557
- p(r, a) {
2558
- if (a & /*items*/
2559
- 1) {
2560
- l = A(
2561
- /*item*/
2562
- r[1].links
2563
- );
2564
- let s;
2565
- for (s = 0; s < l.length; s += 1) {
2566
- const c = q1(r, l, s);
2567
- t[s] ? t[s].p(c, a) : (t[s] = D1(c), t[s].c(), t[s].m(e.parentNode, e));
2568
- }
2569
- for (; s < t.length; s += 1)
2570
- t[s].d(1);
2571
- t.length = l.length;
2572
- }
2573
- },
2574
- d(r) {
2575
- r && v(e), Y(t, r);
2576
- }
2577
- };
2578
- }
2579
- function St(o) {
2580
- let e, l, t = (
2581
- /*item*/
2582
- o[1].title + ""
2583
- ), r, a, s, c;
2584
- return s = new E({ props: { icon: g1 } }), {
2585
- c() {
2586
- e = w("span"), l = w("span"), r = V(t), a = N(), Z(s.$$.fragment), f(l, "class", "mr-auto"), f(e, "class", "w-full flex gap-2 justify-between [&>svg]:transition-transform"), f(e, "slot", "button");
2587
- },
2588
- m(n, i) {
2589
- b(n, e, i), p(e, l), p(l, r), p(e, a), C(s, e, null), c = !0;
2590
- },
2591
- p(n, i) {
2592
- (!c || i & /*items*/
2593
- 1) && t !== (t = /*item*/
2594
- n[1].title + "") && m1(r, t);
2595
- },
2596
- i(n) {
2597
- c || (_(s.$$.fragment, n), c = !0);
2598
- },
2599
- o(n) {
2600
- m(s.$$.fragment, n), c = !1;
2601
- },
2602
- d(n) {
2603
- n && v(e), L(s);
2604
- }
2605
- };
2606
- }
2607
- function O1(o, e) {
2608
- let l, t, r, a, s;
2609
- const c = [Vt, At], n = [];
2610
- function i(u, h) {
2611
- return (
2612
- /*item*/
2613
- u[1].text ? 0 : 1
2614
- );
2615
- }
2616
- return t = i(e), r = n[t] = c[t](e), {
2617
- key: o,
2618
- first: null,
2619
- c() {
2620
- l = w("li"), r.c(), a = N(), f(l, "class", "[&>*]:last:mb-4 [&>*]:first:mt-4"), this.first = l;
2621
- },
2622
- m(u, h) {
2623
- b(u, l, h), n[t].m(l, null), p(l, a), s = !0;
2624
- },
2625
- p(u, h) {
2626
- e = u;
2627
- let g = t;
2628
- t = i(e), t === g ? n[t].p(e, h) : (H(), m(n[g], 1, 1, () => {
2629
- n[g] = null;
2630
- }), j(), r = n[t], r ? r.p(e, h) : (r = n[t] = c[t](e), r.c()), _(r, 1), r.m(l, a));
2631
- },
2632
- i(u) {
2633
- s || (_(r), s = !0);
2634
- },
2635
- o(u) {
2636
- m(r), s = !1;
2637
- },
2638
- d(u) {
2639
- u && v(l), n[t].d();
2640
- }
2641
- };
2642
- }
2643
- function jt(o) {
2644
- let e = [], l = /* @__PURE__ */ new Map(), t, r, a = A(
2645
- /*items*/
2646
- o[0]
2647
- );
2648
- const s = (c) => (
2649
- /*item*/
2650
- c[1].text || /*item*/
2651
- c[1].title
2652
- );
2653
- for (let c = 0; c < a.length; c += 1) {
2654
- let n = I1(o, a, c), i = s(n);
2655
- l.set(i, e[c] = O1(i, n));
2656
- }
2657
- return {
2658
- c() {
2659
- for (let c = 0; c < e.length; c += 1)
2660
- e[c].c();
2661
- t = B();
2662
- },
2663
- m(c, n) {
2664
- for (let i = 0; i < e.length; i += 1)
2665
- e[i] && e[i].m(c, n);
2666
- b(c, t, n), r = !0;
2667
- },
2668
- p(c, n) {
2669
- n & /*items*/
2670
- 1 && (a = A(
2671
- /*items*/
2672
- c[0]
2673
- ), H(), e = h1(e, n, s, 1, c, a, l, t.parentNode, p1, O1, t, I1), j());
2674
- },
2675
- i(c) {
2676
- if (!r) {
2677
- for (let n = 0; n < a.length; n += 1)
2678
- _(e[n]);
2679
- r = !0;
2680
- }
2681
- },
2682
- o(c) {
2683
- for (let n = 0; n < e.length; n += 1)
2684
- m(e[n]);
2685
- r = !1;
2686
- },
2687
- d(c) {
2688
- c && v(t);
2689
- for (let n = 0; n < e.length; n += 1)
2690
- e[n].d(c);
2691
- }
2692
- };
2693
- }
2694
- function Ht(o) {
2695
- let e, l;
2696
- return e = new E({ props: { slot: "button", icon: se } }), {
2697
- c() {
2698
- Z(e.$$.fragment);
2699
- },
2700
- m(t, r) {
2701
- C(e, t, r), l = !0;
2702
- },
2703
- p: x,
2704
- i(t) {
2705
- l || (_(e.$$.fragment, t), l = !0);
2706
- },
2707
- o(t) {
2708
- m(e.$$.fragment, t), l = !1;
2709
- },
2710
- d(t) {
2711
- L(e, t);
2712
- }
2713
- };
2714
- }
2715
- function Rt(o) {
2716
- let e, l, t;
2717
- return l = new q({
2718
- props: {
2719
- class: "h-full",
2720
- buttonClass: "flex h-full aspect-square items-center justify-center gap-2 px-4 transition-colors hover:bg-uofg-yellow aria-expanded:bg-uofg-yellow",
2721
- contentClass: "whitespace-normal absolute right-0 top-full z-50 flex w-full flex-col bg-white px-4 text-black shadow-md lg:w-[30rem] [&>li]:contents max-h-[calc(100vh-5rem)] overflow-y-auto",
2722
- buttonAriaLabel: "Sub Navigation Menu",
2723
- as: "ul",
2724
- $$slots: {
2725
- button: [Ht],
2726
- default: [jt]
2727
- },
2728
- $$scope: { ctx: o }
2729
- }
2730
- }), {
2731
- c() {
2732
- e = w("li"), Z(l.$$.fragment);
2733
- },
2734
- m(r, a) {
2735
- b(r, e, a), C(l, e, null), t = !0;
2736
- },
2737
- p(r, [a]) {
2738
- const s = {};
2739
- a & /*$$scope, items*/
2740
- 129 && (s.$$scope = { dirty: a, ctx: r }), l.$set(s);
2741
- },
2742
- i(r) {
2743
- t || (_(l.$$.fragment, r), t = !0);
2744
- },
2745
- o(r) {
2746
- m(l.$$.fragment, r), t = !1;
2747
- },
2748
- d(r) {
2749
- r && v(e), L(l);
2750
- }
2751
- };
2752
- }
2753
- function Ut(o, e, l) {
2754
- let { items: t } = e;
2755
- return o.$$set = (r) => {
2756
- "items" in r && l(0, t = r.items);
2757
- }, [t];
2758
- }
2759
- class ke extends F {
2760
- constructor(e) {
2761
- super(), W(this, e, Ut, Rt, R, { items: 0 });
2762
- }
2763
- get items() {
2764
- return this.$$.ctx[0];
2765
- }
2766
- set items(e) {
2767
- this.$$set({ items: e }), S();
2768
- }
2769
- }
2770
- U(ke, { items: {} }, [], [], !0);
2771
- function Ft(o) {
2772
- let e, l, t;
2773
- return {
2774
- c() {
2775
- e = w("span"), l = V(
2776
- /*title*/
2777
- o[1]
2778
- ), f(e, "class", "mr-auto flex h-full items-center justify-center px-4 font-bold"), J(() => (
2779
- /*span_elementresize_handler*/
2780
- o[11].call(e)
2781
- ));
2782
- },
2783
- m(r, a) {
2784
- b(r, e, a), p(e, l), t = f1(
2785
- e,
2786
- /*span_elementresize_handler*/
2787
- o[11].bind(e)
2788
- );
2789
- },
2790
- p(r, a) {
2791
- a & /*title*/
2792
- 2 && m1(
2793
- l,
2794
- /*title*/
2795
- r[1]
2796
- );
2797
- },
2798
- d(r) {
2799
- r && v(e), t();
2800
- }
2801
- };
2802
- }
2803
- function Wt(o) {
2804
- let e, l, t;
2805
- return {
2806
- c() {
2807
- e = w("a"), l = V(
2808
- /*title*/
2809
- o[1]
2810
- ), f(e, "class", "mr-auto flex h-full items-center justify-center px-4 font-bold transition-colors hover:bg-uofg-yellow"), f(
2811
- e,
2812
- "href",
2813
- /*url*/
2814
- o[2]
2815
- ), J(() => (
2816
- /*a_elementresize_handler*/
2817
- o[10].call(e)
2818
- ));
2819
- },
2820
- m(r, a) {
2821
- b(r, e, a), p(e, l), t = f1(
2822
- e,
2823
- /*a_elementresize_handler*/
2824
- o[10].bind(e)
2825
- );
2826
- },
2827
- p(r, a) {
2828
- a & /*title*/
2829
- 2 && m1(
2830
- l,
2831
- /*title*/
2832
- r[1]
2833
- ), a & /*url*/
2834
- 4 && f(
2835
- e,
2836
- "href",
2837
- /*url*/
2838
- r[2]
2839
- );
2840
- },
2841
- d(r) {
2842
- r && v(e), t();
2843
- }
2844
- };
2845
- }
2846
- function Q1(o) {
2847
- let e, l, t, r, a;
2848
- const s = [Tt, Bt], c = [];
2849
- function n(i, u) {
2850
- return u & /*$state, overflowWidth, containerWidth*/
2851
- 200 && (e = null), e == null && (e = !!/*$state*/
2852
- (i[7].mode === "desktop" && (isNaN(
2853
- /*overflowWidth*/
2854
- i[6]
2855
- ) || /*containerWidth*/
2856
- i[3] > /*overflowWidth*/
2857
- i[6]))), e ? 0 : 1;
2858
- }
2859
- return l = n(o, -1), t = c[l] = s[l](o), {
2860
- c() {
2861
- t.c(), r = B();
2862
- },
2863
- m(i, u) {
2864
- c[l].m(i, u), b(i, r, u), a = !0;
2865
- },
2866
- p(i, u) {
2867
- let h = l;
2868
- l = n(i, u), l === h ? c[l].p(i, u) : (H(), m(c[h], 1, 1, () => {
2869
- c[h] = null;
2870
- }), j(), t = c[l], t ? t.p(i, u) : (t = c[l] = s[l](i), t.c()), _(t, 1), t.m(r.parentNode, r));
2871
- },
2872
- i(i) {
2873
- a || (_(t), a = !0);
2874
- },
2875
- o(i) {
2876
- m(t), a = !1;
2877
- },
2878
- d(i) {
2879
- i && v(r), c[l].d(i);
2880
- }
2881
- };
2882
- }
2883
- function Bt(o) {
2884
- let e, l;
2885
- return e = new ke({ props: { items: (
2886
- /*items*/
2887
- o[0]
2888
- ) } }), {
2889
- c() {
2890
- Z(e.$$.fragment);
2891
- },
2892
- m(t, r) {
2893
- C(e, t, r), l = !0;
2894
- },
2895
- p(t, r) {
2896
- const a = {};
2897
- r & /*items*/
2898
- 1 && (a.items = /*items*/
2899
- t[0]), e.$set(a);
2900
- },
2901
- i(t) {
2902
- l || (_(e.$$.fragment, t), l = !0);
2903
- },
2904
- o(t) {
2905
- m(e.$$.fragment, t), l = !1;
2906
- },
2907
- d(t) {
2908
- L(e, t);
2909
- }
2910
- };
2911
- }
2912
- function Tt(o) {
2913
- let e, l;
2914
- return e = new we({ props: { items: (
2915
- /*items*/
2916
- o[0]
2917
- ) } }), {
2918
- c() {
2919
- Z(e.$$.fragment);
2920
- },
2921
- m(t, r) {
2922
- C(e, t, r), l = !0;
2923
- },
2924
- p(t, r) {
2925
- const a = {};
2926
- r & /*items*/
2927
- 1 && (a.items = /*items*/
2928
- t[0]), e.$set(a);
2929
- },
2930
- i(t) {
2931
- l || (_(e.$$.fragment, t), l = !0);
2932
- },
2933
- o(t) {
2934
- m(e.$$.fragment, t), l = !1;
2935
- },
2936
- d(t) {
2937
- L(e, t);
2938
- }
2939
- };
2940
- }
2941
- function Et(o) {
2942
- var $;
2943
- let e, l, t, r, a, s, c, n;
2944
- function i(k, y) {
2945
- return (
2946
- /*url*/
2947
- k[2] ? Wt : Ft
2948
- );
2949
- }
2950
- let u = i(o), h = u(o), g = (
2951
- /*items*/
2952
- (($ = o[0]) == null ? void 0 : $.length) > 0 && Q1(o)
2953
- );
2954
- return {
2955
- c() {
2956
- var k;
2957
- e = w("nav"), l = w("div"), h.c(), t = N(), r = w("ul"), g && g.c(), f(r, "class", "[&>li]:contents h-full flex w-fit !static lg:static"), J(() => (
2958
- /*ul_elementresize_handler*/
2959
- o[12].call(r)
2960
- )), f(l, "class", "flex h-full w-fit min-w-full overflow-y-visible items-center justify-end [&>li]:contents relative"), f(e, "class", s = G(
2961
- "block align-items relative justify-end bg-uofg-grey px-[calc((100%-1320px)/2)] text-3xl lg:whitespace-nowrap",
2962
- /*$state*/
2963
- ((k = o[7]) == null ? void 0 : k.variant) === "dual-brand" ? "h-16" : "h-[5rem] lg:h-16"
2964
- )), f(e, "aria-label", "Page Specific"), J(() => (
2965
- /*nav_elementresize_handler*/
2966
- o[13].call(e)
2967
- ));
2968
- },
2969
- m(k, y) {
2970
- b(k, e, y), p(e, l), h.m(l, null), p(l, t), p(l, r), g && g.m(r, null), a = f1(
2971
- r,
2972
- /*ul_elementresize_handler*/
2973
- o[12].bind(r)
2974
- ), c = f1(
2975
- e,
2976
- /*nav_elementresize_handler*/
2977
- o[13].bind(e)
2978
- ), n = !0;
2979
- },
2980
- p(k, [y]) {
2981
- var z, M;
2982
- u === (u = i(k)) && h ? h.p(k, y) : (h.d(1), h = u(k), h && (h.c(), h.m(l, t))), /*items*/
2983
- ((z = k[0]) == null ? void 0 : z.length) > 0 ? g ? (g.p(k, y), y & /*items*/
2984
- 1 && _(g, 1)) : (g = Q1(k), g.c(), _(g, 1), g.m(r, null)) : g && (H(), m(g, 1, 1, () => {
2985
- g = null;
2986
- }), j()), (!n || y & /*$state*/
2987
- 128 && s !== (s = G(
2988
- "block align-items relative justify-end bg-uofg-grey px-[calc((100%-1320px)/2)] text-3xl lg:whitespace-nowrap",
2989
- /*$state*/
2990
- ((M = k[7]) == null ? void 0 : M.variant) === "dual-brand" ? "h-16" : "h-[5rem] lg:h-16"
2991
- ))) && f(e, "class", s);
2992
- },
2993
- i(k) {
2994
- n || (_(g), n = !0);
2995
- },
2996
- o(k) {
2997
- m(g), n = !1;
2998
- },
2999
- d(k) {
3000
- k && v(e), h.d(), g && g.d(), a(), c();
3001
- }
3002
- };
3003
- }
3004
- function Pt(o, e, l) {
3005
- let t;
3006
- const r = K("header-state");
3007
- Q(o, r, (M) => l(7, t = M));
3008
- let { items: a } = e, { title: s } = e, { url: c } = e, n, i, u, h, g;
3009
- Ce(() => {
3010
- (t == null ? void 0 : t.mode) === "desktop" && n - i < u && l(6, g = isNaN(g) ? n : Math.max(n, g));
3011
- });
3012
- function $() {
3013
- i = this.clientWidth, l(4, i);
3014
- }
3015
- function k() {
3016
- i = this.clientWidth, l(4, i);
3017
- }
3018
- function y() {
3019
- u = this.clientWidth, l(5, u);
3020
- }
3021
- function z() {
3022
- n = this.clientWidth, l(3, n);
3023
- }
3024
- return o.$$set = (M) => {
3025
- "items" in M && l(0, a = M.items), "title" in M && l(1, s = M.title), "url" in M && l(2, c = M.url);
3026
- }, o.$$.update = () => {
3027
- o.$$.dirty & /*timeout, $state, containerWidth, titleWidth, contentWidth, overflowWidth*/
3028
- 760 && (clearTimeout(h), (t == null ? void 0 : t.mode) === "desktop" && n - i < u && l(9, h = setTimeout(
3029
- () => {
3030
- l(6, g = isNaN(g) ? n : Math.max(n, g));
3031
- },
3032
- 50
3033
- )));
3034
- }, [
3035
- a,
3036
- s,
3037
- c,
3038
- n,
3039
- i,
3040
- u,
3041
- g,
3042
- t,
3043
- r,
3044
- h,
3045
- $,
3046
- k,
3047
- y,
3048
- z
3049
- ];
3050
- }
3051
- class ye extends F {
3052
- constructor(e) {
3053
- super(), W(this, e, Pt, Et, R, { items: 0, title: 1, url: 2 });
3054
- }
3055
- get items() {
3056
- return this.$$.ctx[0];
3057
- }
3058
- set items(e) {
3059
- this.$$set({ items: e }), S();
3060
- }
3061
- get title() {
3062
- return this.$$.ctx[1];
3063
- }
3064
- set title(e) {
3065
- this.$$set({ title: e }), S();
3066
- }
3067
- get url() {
3068
- return this.$$.ctx[2];
3069
- }
3070
- set url(e) {
3071
- this.$$set({ url: e }), S();
3072
- }
3073
- }
3074
- U(ye, { items: {}, title: {}, url: {} }, [], [], !0);
3075
- function Y1(o) {
3076
- let e, l;
3077
- return e = new ue({}), {
3078
- c() {
3079
- Z(e.$$.fragment);
3080
- },
3081
- m(t, r) {
3082
- C(e, t, r), l = !0;
3083
- },
3084
- i(t) {
3085
- l || (_(e.$$.fragment, t), l = !0);
3086
- },
3087
- o(t) {
3088
- m(e.$$.fragment, t), l = !1;
3089
- },
3090
- d(t) {
3091
- L(e, t);
3092
- }
3093
- };
3094
- }
3095
- function J1(o) {
3096
- let e, l;
3097
- return e = new ye({
3098
- props: {
3099
- title: (
3100
- /*pageTitle*/
3101
- o[1]
3102
- ),
3103
- url: (
3104
- /*pageURL*/
3105
- o[2]
3106
- ),
3107
- items: (
3108
- /*subNavigation*/
3109
- o[0]
3110
- )
3111
- }
3112
- }), {
3113
- c() {
3114
- Z(e.$$.fragment);
3115
- },
3116
- m(t, r) {
3117
- C(e, t, r), l = !0;
3118
- },
3119
- p(t, r) {
3120
- const a = {};
3121
- r & /*pageTitle*/
3122
- 2 && (a.title = /*pageTitle*/
3123
- t[1]), r & /*pageURL*/
3124
- 4 && (a.url = /*pageURL*/
3125
- t[2]), r & /*subNavigation*/
3126
- 1 && (a.items = /*subNavigation*/
3127
- t[0]), e.$set(a);
3128
- },
3129
- i(t) {
3130
- l || (_(e.$$.fragment, t), l = !0);
3131
- },
3132
- o(t) {
3133
- m(e.$$.fragment, t), l = !1;
3134
- },
3135
- d(t) {
3136
- L(e, t);
3137
- }
3138
- };
3139
- }
3140
- function Gt(o) {
3141
- let e, l, t, r, a, s, c;
3142
- J(
3143
- /*onwindowresize*/
3144
- o[7]
3145
- );
3146
- let n = (
3147
- /*$state*/
3148
- o[5].mode === "desktop" && /*variant*/
3149
- o[3] !== "dual-brand" && Y1()
3150
- );
3151
- t = new $e({});
3152
- let i = (
3153
- /*subNavigation*/
3154
- (o[0].length > 0 || /*pageTitle*/
3155
- o[1]) && J1(o)
3156
- );
3157
- return {
3158
- c() {
3159
- e = w("header"), n && n.c(), l = N(), Z(t.$$.fragment), r = N(), i && i.c(), f(e, "class", "relative z-10 w-full font-condensed text-3xl text-black");
3160
- },
3161
- m(u, h) {
3162
- b(u, e, h), n && n.m(e, null), p(e, l), C(t, e, null), p(e, r), i && i.m(e, null), a = !0, s || (c = v1(
3163
- window,
3164
- "resize",
3165
- /*onwindowresize*/
3166
- o[7]
3167
- ), s = !0);
3168
- },
3169
- p(u, [h]) {
3170
- /*$state*/
3171
- u[5].mode === "desktop" && /*variant*/
3172
- u[3] !== "dual-brand" ? n ? h & /*$state, variant*/
3173
- 40 && _(n, 1) : (n = Y1(), n.c(), _(n, 1), n.m(e, l)) : n && (H(), m(n, 1, 1, () => {
3174
- n = null;
3175
- }), j()), /*subNavigation*/
3176
- u[0].length > 0 || /*pageTitle*/
3177
- u[1] ? i ? (i.p(u, h), h & /*subNavigation, pageTitle*/
3178
- 3 && _(i, 1)) : (i = J1(u), i.c(), _(i, 1), i.m(e, null)) : i && (H(), m(i, 1, 1, () => {
3179
- i = null;
3180
- }), j());
3181
- },
3182
- i(u) {
3183
- a || (_(n), _(t.$$.fragment, u), _(i), a = !0);
3184
- },
3185
- o(u) {
3186
- m(n), m(t.$$.fragment, u), m(i), a = !1;
3187
- },
3188
- d(u) {
3189
- u && v(e), n && n.d(), L(t), i && i.d(), s = !1, c();
3190
- }
3191
- };
3192
- }
3193
- const K1 = 1024, It = 35;
3194
- function qt(o, e, l) {
3195
- let t, { subNavigation: r } = e, { pageTitle: a } = e, { pageURL: s } = e, { variant: c } = e, n;
3196
- const i = Ae({
3197
- mode: n >= K1 ? "desktop" : "mobile",
3198
- variant: c
3199
- });
3200
- Q(o, i, (h) => l(5, t = h)), Ne("header-state", i);
3201
- function u() {
3202
- l(4, n = window.innerWidth);
3203
- }
3204
- return o.$$set = (h) => {
3205
- "subNavigation" in h && l(0, r = h.subNavigation), "pageTitle" in h && l(1, a = h.pageTitle), "pageURL" in h && l(2, s = h.pageURL), "variant" in h && l(3, c = h.variant);
3206
- }, o.$$.update = () => {
3207
- o.$$.dirty & /*windowWidth, variant*/
3208
- 24 && i.set({
3209
- mode: n >= K1 ? "desktop" : "mobile",
3210
- variant: c
3211
- });
3212
- }, [
3213
- r,
3214
- a,
3215
- s,
3216
- c,
3217
- n,
3218
- t,
3219
- i,
3220
- u
3221
- ];
3222
- }
3223
- class Dt extends F {
3224
- constructor(e) {
3225
- super(), W(this, e, qt, Gt, R, {
3226
- subNavigation: 0,
3227
- pageTitle: 1,
3228
- pageURL: 2,
3229
- variant: 3
3230
- });
3231
- }
3232
- get subNavigation() {
3233
- return this.$$.ctx[0];
3234
- }
3235
- set subNavigation(e) {
3236
- this.$$set({ subNavigation: e }), S();
3237
- }
3238
- get pageTitle() {
3239
- return this.$$.ctx[1];
3240
- }
3241
- set pageTitle(e) {
3242
- this.$$set({ pageTitle: e }), S();
3243
- }
3244
- get pageURL() {
3245
- return this.$$.ctx[2];
3246
- }
3247
- set pageURL(e) {
3248
- this.$$set({ pageURL: e }), S();
3249
- }
3250
- get variant() {
3251
- return this.$$.ctx[3];
3252
- }
3253
- set variant(e) {
3254
- this.$$set({ variant: e }), S();
3255
- }
3256
- }
3257
- customElements.define("uofg-header", U(Dt, { subNavigation: {}, pageTitle: { reflect: !0, type: "String", attribute: "page-title" }, pageURL: { reflect: !0, type: "String", attribute: "page-url" }, variant: { reflect: !0, type: "String", attribute: "variant" } }, [], [], !0, (o) => class extends o {
3258
- constructor() {
3259
- super(), Le(this.shadowRoot);
3260
- }
3261
- connectedCallback() {
3262
- super.connectedCallback(), this.updateSubNavigation(), this.observer ?? (this.observer = new MutationObserver(() => {
3263
- this.updateSubNavigation();
3264
- })), this.observer.observe(this, { childList: !0, subtree: !0 });
3265
- }
3266
- disconnectedCallback() {
3267
- super.disconnectedCallback(), this.observer.disconnect();
3268
- }
3269
- updateSubNavigation() {
3270
- const e = (l) => {
3271
- const t = {};
3272
- return l.getAttributeNames().filter((r) => r !== "href").forEach((r) => t[r] = l.getAttribute(r)), {
3273
- href: l.getAttribute("href"),
3274
- text: l.textContent,
3275
- attributes: t
3276
- };
3277
- };
3278
- this.subNavigation = Array.from(this.children).filter((l) => l.tagName === "A" || l.tagName === "UL").map((l) => {
3279
- switch (l.tagName) {
3280
- case "A":
3281
- return e(l);
3282
- case "UL":
3283
- const t = {
3284
- title: l.getAttribute("data-title"),
3285
- links: Array.from(l.querySelectorAll("a")).map(e)
3286
- };
3287
- return t.wrapContent = t.links.reduce(
3288
- (r, a) => (a.text.length > It && (r = !0), r),
3289
- !1
3290
- ), t;
3291
- }
3292
- }).filter((l) => !!l);
3293
1281
  }
3294
- }));
1282
+ ));
3295
1283
  export {
3296
- Dt as default
1284
+ Ba as default
3297
1285
  };