@uoguelph/web-components 1.2.0-rc.7 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -63
- package/dist/uofg-web-components/index-ClyJk2_i.js +977 -0
- package/dist/uofg-web-components/uofg-alert.esm.js +154 -0
- package/dist/uofg-web-components/uofg-footer.esm.js +429 -0
- package/dist/uofg-web-components/uofg-header.esm.js +2404 -0
- package/dist/uofg-web-components/uofg-modal.esm.js +329 -0
- package/dist/uofg-web-components/uofg-web-components.css +1 -1
- package/dist/uofg-web-components/uofg-web-components.esm.js +8 -1
- package/package.json +21 -33
- package/dist/cjs/app-globals-3a1e7e63.js +0 -5
- package/dist/cjs/index-eb919017.js +0 -1990
- package/dist/cjs/index.cjs.js +0 -2
- package/dist/cjs/loader.cjs.js +0 -15
- package/dist/cjs/uofg-alert.cjs.entry.js +0 -21
- package/dist/cjs/uofg-back-to-top_5.cjs.entry.js +0 -1400
- package/dist/cjs/uofg-modal.cjs.entry.js +0 -168
- package/dist/cjs/uofg-web-components.cjs.js +0 -25
- package/dist/cjs/utils-93383c5b.js +0 -65
- package/dist/collection/collection-manifest.json +0 -18
- package/dist/collection/components/uofg-alert/uofg-alert.js +0 -15
- package/dist/collection/components/uofg-back-to-top/uofg-back-to-top.js +0 -64
- package/dist/collection/components/uofg-card/uofg-card.js +0 -40
- package/dist/collection/components/uofg-footer/improve-life.svg +0 -4
- package/dist/collection/components/uofg-footer/uofg-footer.js +0 -145
- package/dist/collection/components/uofg-header/decoration.svg +0 -1
- package/dist/collection/components/uofg-header/logo-full.svg +0 -1
- package/dist/collection/components/uofg-header/logo-reduced.svg +0 -1
- package/dist/collection/components/uofg-header/uofg-header.js +0 -280
- package/dist/collection/components/uofg-menu/uofg-menu.js +0 -438
- package/dist/collection/components/uofg-modal/uofg-modal.js +0 -408
- package/dist/collection/index.js +0 -1
- package/dist/collection/utils/font-awesome-icon.js +0 -7
- package/dist/collection/utils/utils.js +0 -29
- package/dist/components/font-awesome-icon.js +0 -10
- package/dist/components/index.d.ts +0 -50
- package/dist/components/index.js +0 -8
- package/dist/components/index2.js +0 -18
- package/dist/components/uofg-alert.d.ts +0 -11
- package/dist/components/uofg-alert.js +0 -37
- package/dist/components/uofg-back-to-top.d.ts +0 -11
- package/dist/components/uofg-back-to-top.js +0 -51
- package/dist/components/uofg-card.d.ts +0 -11
- package/dist/components/uofg-card.js +0 -41
- package/dist/components/uofg-footer.d.ts +0 -11
- package/dist/components/uofg-footer.js +0 -749
- package/dist/components/uofg-header.d.ts +0 -11
- package/dist/components/uofg-header.js +0 -418
- package/dist/components/uofg-menu.d.ts +0 -11
- package/dist/components/uofg-menu.js +0 -6
- package/dist/components/uofg-menu2.js +0 -268
- package/dist/components/uofg-modal.d.ts +0 -11
- package/dist/components/uofg-modal.js +0 -198
- package/dist/components/utils.js +0 -30
- package/dist/esm/app-globals-0f993ce5.js +0 -3
- package/dist/esm/index-06ec28fa.js +0 -1960
- package/dist/esm/index.js +0 -1
- package/dist/esm/loader.js +0 -11
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/uofg-alert.entry.js +0 -17
- package/dist/esm/uofg-back-to-top_5.entry.js +0 -1392
- package/dist/esm/uofg-modal.entry.js +0 -164
- package/dist/esm/uofg-web-components.js +0 -20
- package/dist/esm/utils-acd1ee82.js +0 -56
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/types/components/uofg-alert/uofg-alert.d.ts +0 -5
- package/dist/types/components/uofg-back-to-top/uofg-back-to-top.d.ts +0 -11
- package/dist/types/components/uofg-card/uofg-card.d.ts +0 -9
- package/dist/types/components/uofg-footer/uofg-footer.d.ts +0 -8
- package/dist/types/components/uofg-header/uofg-header.d.ts +0 -37
- package/dist/types/components/uofg-menu/uofg-menu.d.ts +0 -68
- package/dist/types/components/uofg-modal/uofg-modal.d.ts +0 -77
- package/dist/types/components.d.ts +0 -303
- package/dist/types/index.d.ts +0 -1
- package/dist/types/stencil-public-runtime.d.ts +0 -1681
- package/dist/types/utils/font-awesome-icon.d.ts +0 -5
- package/dist/types/utils/utils.d.ts +0 -5
- package/dist/uofg-web-components/index.esm.js +0 -0
- package/dist/uofg-web-components/p-4a896033.js +0 -2
- package/dist/uofg-web-components/p-4e0da5c7.entry.js +0 -1
- package/dist/uofg-web-components/p-663d722e.entry.js +0 -1
- package/dist/uofg-web-components/p-84b2d8d2.js +0 -1
- package/dist/uofg-web-components/p-b0718d71.entry.js +0 -1
- package/dist/uofg-web-components/p-e1255160.js +0 -1
- package/loader/cdn.js +0 -3
- package/loader/index.cjs.js +0 -3
- package/loader/index.d.ts +0 -21
- package/loader/index.es2017.js +0 -3
- package/loader/index.js +0 -4
- package/loader/package.json +0 -11
|
@@ -0,0 +1,2404 @@
|
|
|
1
|
+
import { c as Q, S as Y, i as K, s as D, w as R, b as Oe, e as b, g as x, h as _, j as m, k as h, O as ae, P as Je, u as Pe, l as He, n as Ge, t as g, o as d, z as U, p as v, Q as et, R as I, D as T, T as G, U as ge, V as Ve, W as pe, r as z, v as k, a as tt, x as j, X as ie, d as C, m as N, q as L, Y as lt, Z as nt, _ as rt, $ as ce, F as q, A as V, a0 as De, B as E, C as ee, a1 as te, a2 as W, a3 as le, a4 as ne } from "./index-ClyJk2_i.js";
|
|
2
|
+
const ot = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : (
|
|
3
|
+
// @ts-ignore Node typings have this
|
|
4
|
+
global
|
|
5
|
+
);
|
|
6
|
+
function X(a, e) {
|
|
7
|
+
const n = {}, t = {}, l = { $$scope: 1 };
|
|
8
|
+
let s = a.length;
|
|
9
|
+
for (; s--; ) {
|
|
10
|
+
const r = a[s], i = e[s];
|
|
11
|
+
if (i) {
|
|
12
|
+
for (const o in r)
|
|
13
|
+
o in i || (t[o] = 1);
|
|
14
|
+
for (const o in i)
|
|
15
|
+
l[o] || (n[o] = i[o], l[o] = 1);
|
|
16
|
+
a[s] = i;
|
|
17
|
+
} else
|
|
18
|
+
for (const o in r)
|
|
19
|
+
l[o] = 1;
|
|
20
|
+
}
|
|
21
|
+
for (const r in t)
|
|
22
|
+
r in n || (n[r] = void 0);
|
|
23
|
+
return n;
|
|
24
|
+
}
|
|
25
|
+
function be(a) {
|
|
26
|
+
return a < 0.5 ? 4 * a * a * a : 0.5 * Math.pow(2 * a - 2, 3) + 1;
|
|
27
|
+
}
|
|
28
|
+
function st(a) {
|
|
29
|
+
const e = a - 1;
|
|
30
|
+
return e * e * e + 1;
|
|
31
|
+
}
|
|
32
|
+
function at(a, { delay: e = 0, duration: n = 400, easing: t = st, axis: l = "y" } = {}) {
|
|
33
|
+
const s = getComputedStyle(a), r = +s.opacity, i = l === "y" ? "height" : "width", o = parseFloat(s[i]), c = l === "y" ? ["top", "bottom"] : ["left", "right"], f = c.map(
|
|
34
|
+
($) => `${$[0].toUpperCase()}${$.slice(1)}`
|
|
35
|
+
), u = parseFloat(s[`padding${f[0]}`]), p = parseFloat(s[`padding${f[1]}`]), Z = parseFloat(s[`margin${f[0]}`]), w = parseFloat(s[`margin${f[1]}`]), A = parseFloat(
|
|
36
|
+
s[`border${f[0]}Width`]
|
|
37
|
+
), J = parseFloat(
|
|
38
|
+
s[`border${f[1]}Width`]
|
|
39
|
+
);
|
|
40
|
+
return {
|
|
41
|
+
delay: e,
|
|
42
|
+
duration: n,
|
|
43
|
+
easing: t,
|
|
44
|
+
css: ($) => `overflow: hidden;opacity: ${Math.min($ * 20, 1) * r};${i}: ${$ * o}px;padding-${c[0]}: ${$ * u}px;padding-${c[1]}: ${$ * p}px;margin-${c[0]}: ${$ * Z}px;margin-${c[1]}: ${$ * w}px;border-${c[0]}-width: ${$ * A}px;border-${c[1]}-width: ${$ * J}px;`
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
const it = (a) => {
|
|
48
|
+
const e = function(t) {
|
|
49
|
+
a.contains(t.relatedTarget) || a.dispatchEvent(new CustomEvent("focusoutside", { bubbles: !1 }));
|
|
50
|
+
}, n = function(t) {
|
|
51
|
+
a.contains(t.relatedTarget) || a.dispatchEvent(new CustomEvent("focusinside", { bubbles: !1 }));
|
|
52
|
+
};
|
|
53
|
+
return a.addEventListener("focusin", n), a.addEventListener("focusout", e), {
|
|
54
|
+
destroy() {
|
|
55
|
+
a.removeEventListener("focusin", n), a.removeEventListener("focusout", e);
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
}, ct = (a) => ({}), de = (a) => ({});
|
|
59
|
+
function me(a) {
|
|
60
|
+
let e = (
|
|
61
|
+
/*as*/
|
|
62
|
+
a[2]
|
|
63
|
+
), n, t = !1, l, s = (
|
|
64
|
+
/*as*/
|
|
65
|
+
a[2] && se(a)
|
|
66
|
+
);
|
|
67
|
+
return {
|
|
68
|
+
c() {
|
|
69
|
+
s && s.c(), n = I();
|
|
70
|
+
},
|
|
71
|
+
m(r, i) {
|
|
72
|
+
s && s.m(r, i), m(r, n, i), l = !0;
|
|
73
|
+
},
|
|
74
|
+
p(r, i) {
|
|
75
|
+
/*as*/
|
|
76
|
+
r[2] ? e ? D(
|
|
77
|
+
e,
|
|
78
|
+
/*as*/
|
|
79
|
+
r[2]
|
|
80
|
+
) ? (s.d(1), s = se(r), e = /*as*/
|
|
81
|
+
r[2], s.c(), t && (t = !1, g(s)), s.m(n.parentNode, n)) : (t && (t = !1, g(s)), s.p(r, i)) : (s = se(r), e = /*as*/
|
|
82
|
+
r[2], s.c(), g(s), s.m(n.parentNode, n)) : e && (t = !0, T(), d(s, 1, 1, () => {
|
|
83
|
+
s = null, e = /*as*/
|
|
84
|
+
r[2], t = !1;
|
|
85
|
+
}), U());
|
|
86
|
+
},
|
|
87
|
+
i(r) {
|
|
88
|
+
l || (g(s, r), l = !0);
|
|
89
|
+
},
|
|
90
|
+
o(r) {
|
|
91
|
+
d(s, r), l = !1;
|
|
92
|
+
},
|
|
93
|
+
d(r) {
|
|
94
|
+
r && v(n), s && s.d(r);
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
function se(a) {
|
|
99
|
+
let e, n, t;
|
|
100
|
+
const l = (
|
|
101
|
+
/*#slots*/
|
|
102
|
+
a[8].default
|
|
103
|
+
), s = Oe(
|
|
104
|
+
l,
|
|
105
|
+
a,
|
|
106
|
+
/*$$scope*/
|
|
107
|
+
a[7],
|
|
108
|
+
null
|
|
109
|
+
);
|
|
110
|
+
let r = [{ class: (
|
|
111
|
+
/*contentClass*/
|
|
112
|
+
a[5]
|
|
113
|
+
) }], i = {};
|
|
114
|
+
for (let o = 0; o < r.length; o += 1)
|
|
115
|
+
i = G(i, r[o]);
|
|
116
|
+
return {
|
|
117
|
+
c() {
|
|
118
|
+
e = b(
|
|
119
|
+
/*as*/
|
|
120
|
+
a[2]
|
|
121
|
+
), s && s.c(), ge(
|
|
122
|
+
/*as*/
|
|
123
|
+
a[2]
|
|
124
|
+
)(e, i);
|
|
125
|
+
},
|
|
126
|
+
m(o, c) {
|
|
127
|
+
m(o, e, c), s && s.m(e, null), t = !0;
|
|
128
|
+
},
|
|
129
|
+
p(o, c) {
|
|
130
|
+
s && s.p && (!t || c & /*$$scope*/
|
|
131
|
+
128) && Pe(
|
|
132
|
+
s,
|
|
133
|
+
l,
|
|
134
|
+
o,
|
|
135
|
+
/*$$scope*/
|
|
136
|
+
o[7],
|
|
137
|
+
t ? Ge(
|
|
138
|
+
l,
|
|
139
|
+
/*$$scope*/
|
|
140
|
+
o[7],
|
|
141
|
+
c,
|
|
142
|
+
null
|
|
143
|
+
) : He(
|
|
144
|
+
/*$$scope*/
|
|
145
|
+
o[7]
|
|
146
|
+
),
|
|
147
|
+
null
|
|
148
|
+
), ge(
|
|
149
|
+
/*as*/
|
|
150
|
+
o[2]
|
|
151
|
+
)(e, i = X(r, [
|
|
152
|
+
(!t || c & /*contentClass*/
|
|
153
|
+
32) && { class: (
|
|
154
|
+
/*contentClass*/
|
|
155
|
+
o[5]
|
|
156
|
+
) }
|
|
157
|
+
]));
|
|
158
|
+
},
|
|
159
|
+
i(o) {
|
|
160
|
+
t || (g(s, o), o && Ve(() => {
|
|
161
|
+
t && (n || (n = pe(
|
|
162
|
+
e,
|
|
163
|
+
/*transition*/
|
|
164
|
+
a[3],
|
|
165
|
+
{ duration: 200, easing: be },
|
|
166
|
+
!0
|
|
167
|
+
)), n.run(1));
|
|
168
|
+
}), t = !0);
|
|
169
|
+
},
|
|
170
|
+
o(o) {
|
|
171
|
+
d(s, o), o && (n || (n = pe(
|
|
172
|
+
e,
|
|
173
|
+
/*transition*/
|
|
174
|
+
a[3],
|
|
175
|
+
{ duration: 200, easing: be },
|
|
176
|
+
!1
|
|
177
|
+
)), n.run(0)), t = !1;
|
|
178
|
+
},
|
|
179
|
+
d(o) {
|
|
180
|
+
o && v(e), s && s.d(o), o && n && n.end();
|
|
181
|
+
}
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
function ft(a) {
|
|
185
|
+
let e, n, t, l, s, r;
|
|
186
|
+
const i = (
|
|
187
|
+
/*#slots*/
|
|
188
|
+
a[8].button
|
|
189
|
+
), o = Oe(
|
|
190
|
+
i,
|
|
191
|
+
a,
|
|
192
|
+
/*$$scope*/
|
|
193
|
+
a[7],
|
|
194
|
+
de
|
|
195
|
+
);
|
|
196
|
+
let c = (
|
|
197
|
+
/*open*/
|
|
198
|
+
a[0] && me(a)
|
|
199
|
+
);
|
|
200
|
+
return {
|
|
201
|
+
c() {
|
|
202
|
+
e = b("div"), n = b("button"), o && o.c(), t = x(), c && c.c(), _(
|
|
203
|
+
n,
|
|
204
|
+
"class",
|
|
205
|
+
/*buttonClass*/
|
|
206
|
+
a[4]
|
|
207
|
+
), _(n, "aria-haspopup", "true"), _(
|
|
208
|
+
n,
|
|
209
|
+
"aria-expanded",
|
|
210
|
+
/*open*/
|
|
211
|
+
a[0]
|
|
212
|
+
), _(
|
|
213
|
+
e,
|
|
214
|
+
"class",
|
|
215
|
+
/*className*/
|
|
216
|
+
a[1]
|
|
217
|
+
), _(e, "tabindex", "-1");
|
|
218
|
+
},
|
|
219
|
+
m(f, u) {
|
|
220
|
+
m(f, e, u), h(e, n), o && o.m(n, null), h(e, t), c && c.m(e, null), l = !0, s || (r = [
|
|
221
|
+
ae(
|
|
222
|
+
n,
|
|
223
|
+
"click",
|
|
224
|
+
/*click_handler*/
|
|
225
|
+
a[9]
|
|
226
|
+
),
|
|
227
|
+
ae(
|
|
228
|
+
e,
|
|
229
|
+
"focusoutside",
|
|
230
|
+
/*focusoutside_handler*/
|
|
231
|
+
a[10]
|
|
232
|
+
),
|
|
233
|
+
Je(it.call(null, e))
|
|
234
|
+
], s = !0);
|
|
235
|
+
},
|
|
236
|
+
p(f, [u]) {
|
|
237
|
+
o && o.p && (!l || u & /*$$scope*/
|
|
238
|
+
128) && Pe(
|
|
239
|
+
o,
|
|
240
|
+
i,
|
|
241
|
+
f,
|
|
242
|
+
/*$$scope*/
|
|
243
|
+
f[7],
|
|
244
|
+
l ? Ge(
|
|
245
|
+
i,
|
|
246
|
+
/*$$scope*/
|
|
247
|
+
f[7],
|
|
248
|
+
u,
|
|
249
|
+
ct
|
|
250
|
+
) : He(
|
|
251
|
+
/*$$scope*/
|
|
252
|
+
f[7]
|
|
253
|
+
),
|
|
254
|
+
de
|
|
255
|
+
), (!l || u & /*buttonClass*/
|
|
256
|
+
16) && _(
|
|
257
|
+
n,
|
|
258
|
+
"class",
|
|
259
|
+
/*buttonClass*/
|
|
260
|
+
f[4]
|
|
261
|
+
), (!l || u & /*open*/
|
|
262
|
+
1) && _(
|
|
263
|
+
n,
|
|
264
|
+
"aria-expanded",
|
|
265
|
+
/*open*/
|
|
266
|
+
f[0]
|
|
267
|
+
), /*open*/
|
|
268
|
+
f[0] ? c ? (c.p(f, u), u & /*open*/
|
|
269
|
+
1 && g(c, 1)) : (c = me(f), c.c(), g(c, 1), c.m(e, null)) : c && (T(), d(c, 1, 1, () => {
|
|
270
|
+
c = null;
|
|
271
|
+
}), U()), (!l || u & /*className*/
|
|
272
|
+
2) && _(
|
|
273
|
+
e,
|
|
274
|
+
"class",
|
|
275
|
+
/*className*/
|
|
276
|
+
f[1]
|
|
277
|
+
);
|
|
278
|
+
},
|
|
279
|
+
i(f) {
|
|
280
|
+
l || (g(o, f), g(c), l = !0);
|
|
281
|
+
},
|
|
282
|
+
o(f) {
|
|
283
|
+
d(o, f), d(c), l = !1;
|
|
284
|
+
},
|
|
285
|
+
d(f) {
|
|
286
|
+
f && v(e), o && o.d(f), c && c.d(), s = !1, et(r);
|
|
287
|
+
}
|
|
288
|
+
};
|
|
289
|
+
}
|
|
290
|
+
function ut(a, e, n) {
|
|
291
|
+
let { $$slots: t = {}, $$scope: l } = e, { class: s } = e, { open: r = !1 } = e, { as: i = "div" } = e, { transition: o = at } = e, { buttonClass: c = "" } = e, { contentClass: f = "" } = e, { autoCollapse: u = !0 } = e;
|
|
292
|
+
const p = (w) => {
|
|
293
|
+
n(0, r = !r), w.target.focus();
|
|
294
|
+
}, Z = () => {
|
|
295
|
+
u && n(0, r = !1);
|
|
296
|
+
};
|
|
297
|
+
return a.$$set = (w) => {
|
|
298
|
+
"class" in w && n(1, s = w.class), "open" in w && n(0, r = w.open), "as" in w && n(2, i = w.as), "transition" in w && n(3, o = w.transition), "buttonClass" in w && n(4, c = w.buttonClass), "contentClass" in w && n(5, f = w.contentClass), "autoCollapse" in w && n(6, u = w.autoCollapse), "$$scope" in w && n(7, l = w.$$scope);
|
|
299
|
+
}, [
|
|
300
|
+
r,
|
|
301
|
+
s,
|
|
302
|
+
i,
|
|
303
|
+
o,
|
|
304
|
+
c,
|
|
305
|
+
f,
|
|
306
|
+
u,
|
|
307
|
+
l,
|
|
308
|
+
t,
|
|
309
|
+
p,
|
|
310
|
+
Z
|
|
311
|
+
];
|
|
312
|
+
}
|
|
313
|
+
class P extends Y {
|
|
314
|
+
constructor(e) {
|
|
315
|
+
super(), K(this, e, ut, ft, D, {
|
|
316
|
+
class: 1,
|
|
317
|
+
open: 0,
|
|
318
|
+
as: 2,
|
|
319
|
+
transition: 3,
|
|
320
|
+
buttonClass: 4,
|
|
321
|
+
contentClass: 5,
|
|
322
|
+
autoCollapse: 6
|
|
323
|
+
});
|
|
324
|
+
}
|
|
325
|
+
get class() {
|
|
326
|
+
return this.$$.ctx[1];
|
|
327
|
+
}
|
|
328
|
+
set class(e) {
|
|
329
|
+
this.$$set({ class: e }), R();
|
|
330
|
+
}
|
|
331
|
+
get open() {
|
|
332
|
+
return this.$$.ctx[0];
|
|
333
|
+
}
|
|
334
|
+
set open(e) {
|
|
335
|
+
this.$$set({ open: e }), R();
|
|
336
|
+
}
|
|
337
|
+
get as() {
|
|
338
|
+
return this.$$.ctx[2];
|
|
339
|
+
}
|
|
340
|
+
set as(e) {
|
|
341
|
+
this.$$set({ as: e }), R();
|
|
342
|
+
}
|
|
343
|
+
get transition() {
|
|
344
|
+
return this.$$.ctx[3];
|
|
345
|
+
}
|
|
346
|
+
set transition(e) {
|
|
347
|
+
this.$$set({ transition: e }), R();
|
|
348
|
+
}
|
|
349
|
+
get buttonClass() {
|
|
350
|
+
return this.$$.ctx[4];
|
|
351
|
+
}
|
|
352
|
+
set buttonClass(e) {
|
|
353
|
+
this.$$set({ buttonClass: e }), R();
|
|
354
|
+
}
|
|
355
|
+
get contentClass() {
|
|
356
|
+
return this.$$.ctx[5];
|
|
357
|
+
}
|
|
358
|
+
set contentClass(e) {
|
|
359
|
+
this.$$set({ contentClass: e }), R();
|
|
360
|
+
}
|
|
361
|
+
get autoCollapse() {
|
|
362
|
+
return this.$$.ctx[6];
|
|
363
|
+
}
|
|
364
|
+
set autoCollapse(e) {
|
|
365
|
+
this.$$set({ autoCollapse: e }), R();
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
Q(P, { class: {}, open: { type: "Boolean" }, as: {}, transition: {}, buttonClass: {}, contentClass: {}, autoCollapse: { type: "Boolean" } }, ["button", "default"], [], !0);
|
|
369
|
+
function _t(a) {
|
|
370
|
+
let e, n, t, l;
|
|
371
|
+
return {
|
|
372
|
+
c() {
|
|
373
|
+
e = z("svg"), n = z("g"), t = z("path"), l = z("path"), _(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"), _(l, "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"), _(n, "fill", "#fff"), _(e, "xmlns", "http://www.w3.org/2000/svg"), _(e, "xml:space", "preserve"), _(e, "viewBox", "0 0 260 141");
|
|
374
|
+
},
|
|
375
|
+
m(s, r) {
|
|
376
|
+
m(s, e, r), h(e, n), h(n, t), h(n, l);
|
|
377
|
+
},
|
|
378
|
+
p: k,
|
|
379
|
+
i: k,
|
|
380
|
+
o: k,
|
|
381
|
+
d(s) {
|
|
382
|
+
s && v(e);
|
|
383
|
+
}
|
|
384
|
+
};
|
|
385
|
+
}
|
|
386
|
+
class Qe extends Y {
|
|
387
|
+
constructor(e) {
|
|
388
|
+
super(), K(this, e, null, _t, D, {});
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
Q(Qe, {}, [], [], !0);
|
|
392
|
+
function ht(a) {
|
|
393
|
+
let e, n, t;
|
|
394
|
+
return {
|
|
395
|
+
c() {
|
|
396
|
+
e = z("svg"), n = z("path"), t = z("path"), _(n, "d", "M0 0h100v100H0V0z"), _(t, "fill", "#fff"), _(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"), _(e, "xmlns", "http://www.w3.org/2000/svg"), _(e, "viewBox", "0 0 100 100");
|
|
397
|
+
},
|
|
398
|
+
m(l, s) {
|
|
399
|
+
m(l, e, s), h(e, n), h(e, t);
|
|
400
|
+
},
|
|
401
|
+
p: k,
|
|
402
|
+
i: k,
|
|
403
|
+
o: k,
|
|
404
|
+
d(l) {
|
|
405
|
+
l && v(e);
|
|
406
|
+
}
|
|
407
|
+
};
|
|
408
|
+
}
|
|
409
|
+
class Ye extends Y {
|
|
410
|
+
constructor(e) {
|
|
411
|
+
super(), K(this, e, null, ht, D, {});
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
Q(Ye, {}, [], [], !0);
|
|
415
|
+
function gt(a) {
|
|
416
|
+
let e, n, t;
|
|
417
|
+
return {
|
|
418
|
+
c() {
|
|
419
|
+
e = z("svg"), n = z("path"), t = z("path"), _(n, "d", "M23.131 0l44.847 90H0V0"), _(n, "fill", "#c20430"), _(t, "d", "M23.131 0l16.03 32.044L55.1 0"), _(t, "fill", "#ffc500"), _(e, "viewBox", "0 0 68 90"), _(e, "xmlns", "http://www.w3.org/2000/svg");
|
|
420
|
+
},
|
|
421
|
+
m(l, s) {
|
|
422
|
+
m(l, e, s), h(e, n), h(e, t);
|
|
423
|
+
},
|
|
424
|
+
p: k,
|
|
425
|
+
i: k,
|
|
426
|
+
o: k,
|
|
427
|
+
d(l) {
|
|
428
|
+
l && v(e);
|
|
429
|
+
}
|
|
430
|
+
};
|
|
431
|
+
}
|
|
432
|
+
class Ke extends Y {
|
|
433
|
+
constructor(e) {
|
|
434
|
+
super(), K(this, e, null, gt, D, {});
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
Q(Ke, {}, [], [], !0);
|
|
438
|
+
const { window: Xe } = ot;
|
|
439
|
+
function ve(a, e, n) {
|
|
440
|
+
const t = a.slice();
|
|
441
|
+
return t[13] = e[n], t;
|
|
442
|
+
}
|
|
443
|
+
function we(a, e, n) {
|
|
444
|
+
const t = a.slice();
|
|
445
|
+
return t[16] = e[n], t;
|
|
446
|
+
}
|
|
447
|
+
function $e(a, e, n) {
|
|
448
|
+
const t = a.slice();
|
|
449
|
+
return t[13] = e[n], t;
|
|
450
|
+
}
|
|
451
|
+
function ke(a, e, n) {
|
|
452
|
+
const t = a.slice();
|
|
453
|
+
return t[16] = e[n], t;
|
|
454
|
+
}
|
|
455
|
+
function ye(a, e, n) {
|
|
456
|
+
const t = a.slice();
|
|
457
|
+
return t[13] = e[n], t;
|
|
458
|
+
}
|
|
459
|
+
function xe(a, e, n) {
|
|
460
|
+
const t = a.slice();
|
|
461
|
+
return t[16] = e[n], t;
|
|
462
|
+
}
|
|
463
|
+
function Ce(a, e, n) {
|
|
464
|
+
const t = a.slice();
|
|
465
|
+
return t[16] = e[n], t;
|
|
466
|
+
}
|
|
467
|
+
function Ne(a, e, n) {
|
|
468
|
+
const t = a.slice();
|
|
469
|
+
return t[13] = e[n], t;
|
|
470
|
+
}
|
|
471
|
+
function Le(a, e, n) {
|
|
472
|
+
const t = a.slice();
|
|
473
|
+
return t[13] = e[n], t;
|
|
474
|
+
}
|
|
475
|
+
function je(a, e, n) {
|
|
476
|
+
const t = a.slice();
|
|
477
|
+
return t[16] = e[n], t;
|
|
478
|
+
}
|
|
479
|
+
function Ze(a) {
|
|
480
|
+
let e, n, t = [], l = /* @__PURE__ */ new Map(), s, r = j([
|
|
481
|
+
.../*topLinks*/
|
|
482
|
+
a[6],
|
|
483
|
+
/*account*/
|
|
484
|
+
a[9]
|
|
485
|
+
]);
|
|
486
|
+
const i = (o) => (
|
|
487
|
+
/*item*/
|
|
488
|
+
o[13].text || /*item*/
|
|
489
|
+
o[13].title
|
|
490
|
+
);
|
|
491
|
+
for (let o = 0; o < r.length; o += 1) {
|
|
492
|
+
let c = Le(a, r, o), f = i(c);
|
|
493
|
+
l.set(f, t[o] = Se(f, c));
|
|
494
|
+
}
|
|
495
|
+
return {
|
|
496
|
+
c() {
|
|
497
|
+
e = b("nav"), n = b("ul");
|
|
498
|
+
for (let o = 0; o < t.length; o += 1)
|
|
499
|
+
t[o].c();
|
|
500
|
+
_(n, "class", "flex h-full items-center justify-end [&>li]:contents"), _(e, "class", "flex h-16 justify-end bg-white px-[calc((100%-1320px)/2)] text-3xl"), _(e, "aria-label", "Secondary");
|
|
501
|
+
},
|
|
502
|
+
m(o, c) {
|
|
503
|
+
m(o, e, c), h(e, n);
|
|
504
|
+
for (let f = 0; f < t.length; f += 1)
|
|
505
|
+
t[f] && t[f].m(n, null);
|
|
506
|
+
s = !0;
|
|
507
|
+
},
|
|
508
|
+
p(o, c) {
|
|
509
|
+
c[0] & /*topLinks, account*/
|
|
510
|
+
576 && (r = j([
|
|
511
|
+
.../*topLinks*/
|
|
512
|
+
o[6],
|
|
513
|
+
/*account*/
|
|
514
|
+
o[9]
|
|
515
|
+
]), T(), t = ie(t, c, i, 1, o, r, l, n, ce, Se, null, Le), U());
|
|
516
|
+
},
|
|
517
|
+
i(o) {
|
|
518
|
+
if (!s) {
|
|
519
|
+
for (let c = 0; c < r.length; c += 1)
|
|
520
|
+
g(t[c]);
|
|
521
|
+
s = !0;
|
|
522
|
+
}
|
|
523
|
+
},
|
|
524
|
+
o(o) {
|
|
525
|
+
for (let c = 0; c < t.length; c += 1)
|
|
526
|
+
d(t[c]);
|
|
527
|
+
s = !1;
|
|
528
|
+
},
|
|
529
|
+
d(o) {
|
|
530
|
+
o && v(e);
|
|
531
|
+
for (let c = 0; c < t.length; c += 1)
|
|
532
|
+
t[c].d();
|
|
533
|
+
}
|
|
534
|
+
};
|
|
535
|
+
}
|
|
536
|
+
function pt(a) {
|
|
537
|
+
let e, n = (
|
|
538
|
+
/*item*/
|
|
539
|
+
a[13].text.toUpperCase() + ""
|
|
540
|
+
), t;
|
|
541
|
+
return {
|
|
542
|
+
c() {
|
|
543
|
+
e = b("a"), t = E(n), _(e, "class", "flex h-full items-center justify-center gap-2 px-4 transition-colors hover:bg-uofg-grey"), _(
|
|
544
|
+
e,
|
|
545
|
+
"href",
|
|
546
|
+
/*item*/
|
|
547
|
+
a[13].href
|
|
548
|
+
), te(
|
|
549
|
+
e,
|
|
550
|
+
"bg-uofg-yellow",
|
|
551
|
+
/*item*/
|
|
552
|
+
a[13].highlight
|
|
553
|
+
);
|
|
554
|
+
},
|
|
555
|
+
m(l, s) {
|
|
556
|
+
m(l, e, s), h(e, t);
|
|
557
|
+
},
|
|
558
|
+
p: k,
|
|
559
|
+
i: k,
|
|
560
|
+
o: k,
|
|
561
|
+
d(l) {
|
|
562
|
+
l && v(e);
|
|
563
|
+
}
|
|
564
|
+
};
|
|
565
|
+
}
|
|
566
|
+
function bt(a) {
|
|
567
|
+
let e, n;
|
|
568
|
+
return e = new P({
|
|
569
|
+
props: {
|
|
570
|
+
class: "relative h-full",
|
|
571
|
+
buttonClass: `flex h-full items-center justify-center gap-2 px-4 transition-colors hover:bg-uofg-grey aria-expanded:bg-uofg-grey ${/*item*/
|
|
572
|
+
a[13].icon ? "" : "[&_svg]:aria-expanded:rotate-180"}`,
|
|
573
|
+
contentClass: "absolute right-0 top-full z-50 flex min-w-[20rem] flex-col bg-uofg-grey [&>li]:contents",
|
|
574
|
+
as: "ul",
|
|
575
|
+
$$slots: {
|
|
576
|
+
button: [wt],
|
|
577
|
+
default: [dt]
|
|
578
|
+
},
|
|
579
|
+
$$scope: { ctx: a }
|
|
580
|
+
}
|
|
581
|
+
}), {
|
|
582
|
+
c() {
|
|
583
|
+
C(e.$$.fragment);
|
|
584
|
+
},
|
|
585
|
+
m(t, l) {
|
|
586
|
+
N(e, t, l), n = !0;
|
|
587
|
+
},
|
|
588
|
+
p(t, l) {
|
|
589
|
+
const s = {};
|
|
590
|
+
l[1] & /*$$scope*/
|
|
591
|
+
16 && (s.$$scope = { dirty: l, ctx: t }), e.$set(s);
|
|
592
|
+
},
|
|
593
|
+
i(t) {
|
|
594
|
+
n || (g(e.$$.fragment, t), n = !0);
|
|
595
|
+
},
|
|
596
|
+
o(t) {
|
|
597
|
+
d(e.$$.fragment, t), n = !1;
|
|
598
|
+
},
|
|
599
|
+
d(t) {
|
|
600
|
+
L(e, t);
|
|
601
|
+
}
|
|
602
|
+
};
|
|
603
|
+
}
|
|
604
|
+
function Ae(a) {
|
|
605
|
+
let e, n, t = (
|
|
606
|
+
/*link*/
|
|
607
|
+
a[16].text + ""
|
|
608
|
+
), l, s, r = [
|
|
609
|
+
{
|
|
610
|
+
class: "border-0 border-b border-solid border-uofg-grey-500 p-4 transition-colors hover:bg-uofg-yellow"
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
href: (
|
|
614
|
+
/*link*/
|
|
615
|
+
a[16].href
|
|
616
|
+
)
|
|
617
|
+
},
|
|
618
|
+
/*link*/
|
|
619
|
+
a[16].attributes
|
|
620
|
+
], i = {};
|
|
621
|
+
for (let o = 0; o < r.length; o += 1)
|
|
622
|
+
i = G(i, r[o]);
|
|
623
|
+
return {
|
|
624
|
+
c() {
|
|
625
|
+
e = b("li"), n = b("a"), l = E(t), s = x(), W(n, i);
|
|
626
|
+
},
|
|
627
|
+
m(o, c) {
|
|
628
|
+
m(o, e, c), h(e, n), h(n, l), h(e, s);
|
|
629
|
+
},
|
|
630
|
+
p: k,
|
|
631
|
+
d(o) {
|
|
632
|
+
o && v(e);
|
|
633
|
+
}
|
|
634
|
+
};
|
|
635
|
+
}
|
|
636
|
+
function dt(a) {
|
|
637
|
+
let e, n = j(
|
|
638
|
+
/*item*/
|
|
639
|
+
a[13].links
|
|
640
|
+
), t = [];
|
|
641
|
+
for (let l = 0; l < n.length; l += 1)
|
|
642
|
+
t[l] = Ae(je(a, n, l));
|
|
643
|
+
return {
|
|
644
|
+
c() {
|
|
645
|
+
for (let l = 0; l < t.length; l += 1)
|
|
646
|
+
t[l].c();
|
|
647
|
+
e = I();
|
|
648
|
+
},
|
|
649
|
+
m(l, s) {
|
|
650
|
+
for (let r = 0; r < t.length; r += 1)
|
|
651
|
+
t[r] && t[r].m(l, s);
|
|
652
|
+
m(l, e, s);
|
|
653
|
+
},
|
|
654
|
+
p(l, s) {
|
|
655
|
+
if (s[0] & /*topLinks, account*/
|
|
656
|
+
576) {
|
|
657
|
+
n = j(
|
|
658
|
+
/*item*/
|
|
659
|
+
l[13].links
|
|
660
|
+
);
|
|
661
|
+
let r;
|
|
662
|
+
for (r = 0; r < n.length; r += 1) {
|
|
663
|
+
const i = je(l, n, r);
|
|
664
|
+
t[r] ? t[r].p(i, s) : (t[r] = Ae(i), t[r].c(), t[r].m(e.parentNode, e));
|
|
665
|
+
}
|
|
666
|
+
for (; r < t.length; r += 1)
|
|
667
|
+
t[r].d(1);
|
|
668
|
+
t.length = n.length;
|
|
669
|
+
}
|
|
670
|
+
},
|
|
671
|
+
d(l) {
|
|
672
|
+
l && v(e), V(t, l);
|
|
673
|
+
}
|
|
674
|
+
};
|
|
675
|
+
}
|
|
676
|
+
function mt(a) {
|
|
677
|
+
let e, n, t, l;
|
|
678
|
+
return t = new q({ props: { icon: ne } }), {
|
|
679
|
+
c() {
|
|
680
|
+
e = b("span"), e.textContent = `${/*item*/
|
|
681
|
+
a[13].text.toUpperCase()}`, n = x(), C(t.$$.fragment);
|
|
682
|
+
},
|
|
683
|
+
m(s, r) {
|
|
684
|
+
m(s, e, r), m(s, n, r), N(t, s, r), l = !0;
|
|
685
|
+
},
|
|
686
|
+
p: k,
|
|
687
|
+
i(s) {
|
|
688
|
+
l || (g(t.$$.fragment, s), l = !0);
|
|
689
|
+
},
|
|
690
|
+
o(s) {
|
|
691
|
+
d(t.$$.fragment, s), l = !1;
|
|
692
|
+
},
|
|
693
|
+
d(s) {
|
|
694
|
+
s && (v(e), v(n)), L(t, s);
|
|
695
|
+
}
|
|
696
|
+
};
|
|
697
|
+
}
|
|
698
|
+
function vt(a) {
|
|
699
|
+
let e, n;
|
|
700
|
+
return e = new q({ props: { icon: (
|
|
701
|
+
/*item*/
|
|
702
|
+
a[13].icon
|
|
703
|
+
) } }), {
|
|
704
|
+
c() {
|
|
705
|
+
C(e.$$.fragment);
|
|
706
|
+
},
|
|
707
|
+
m(t, l) {
|
|
708
|
+
N(e, t, l), n = !0;
|
|
709
|
+
},
|
|
710
|
+
p: k,
|
|
711
|
+
i(t) {
|
|
712
|
+
n || (g(e.$$.fragment, t), n = !0);
|
|
713
|
+
},
|
|
714
|
+
o(t) {
|
|
715
|
+
d(e.$$.fragment, t), n = !1;
|
|
716
|
+
},
|
|
717
|
+
d(t) {
|
|
718
|
+
L(e, t);
|
|
719
|
+
}
|
|
720
|
+
};
|
|
721
|
+
}
|
|
722
|
+
function wt(a) {
|
|
723
|
+
let e, n, t, l;
|
|
724
|
+
const s = [vt, mt], r = [];
|
|
725
|
+
function i(o, c) {
|
|
726
|
+
return (
|
|
727
|
+
/*item*/
|
|
728
|
+
o[13].icon ? 0 : 1
|
|
729
|
+
);
|
|
730
|
+
}
|
|
731
|
+
return n = i(a), t = r[n] = s[n](a), {
|
|
732
|
+
c() {
|
|
733
|
+
e = b("span"), t.c(), _(e, "class", "flex gap-2 [&>svg]:transition-transform"), _(e, "slot", "button"), _(
|
|
734
|
+
e,
|
|
735
|
+
"aria-label",
|
|
736
|
+
/*item*/
|
|
737
|
+
a[13].icon ? (
|
|
738
|
+
/*item*/
|
|
739
|
+
a[13].text
|
|
740
|
+
) : void 0
|
|
741
|
+
), te(
|
|
742
|
+
e,
|
|
743
|
+
"bg-uofg-yellow",
|
|
744
|
+
/*item*/
|
|
745
|
+
a[13].highlight
|
|
746
|
+
);
|
|
747
|
+
},
|
|
748
|
+
m(o, c) {
|
|
749
|
+
m(o, e, c), r[n].m(e, null), l = !0;
|
|
750
|
+
},
|
|
751
|
+
p(o, c) {
|
|
752
|
+
t.p(o, c);
|
|
753
|
+
},
|
|
754
|
+
i(o) {
|
|
755
|
+
l || (g(t), l = !0);
|
|
756
|
+
},
|
|
757
|
+
o(o) {
|
|
758
|
+
d(t), l = !1;
|
|
759
|
+
},
|
|
760
|
+
d(o) {
|
|
761
|
+
o && v(e), r[n].d();
|
|
762
|
+
}
|
|
763
|
+
};
|
|
764
|
+
}
|
|
765
|
+
function Se(a, e) {
|
|
766
|
+
let n, t, l, s, r;
|
|
767
|
+
const i = [bt, pt], o = [];
|
|
768
|
+
function c(f, u) {
|
|
769
|
+
return (
|
|
770
|
+
/*item*/
|
|
771
|
+
f[13].links ? 0 : 1
|
|
772
|
+
);
|
|
773
|
+
}
|
|
774
|
+
return t = c(e), l = o[t] = i[t](e), {
|
|
775
|
+
key: a,
|
|
776
|
+
first: null,
|
|
777
|
+
c() {
|
|
778
|
+
n = b("li"), l.c(), s = x(), this.first = n;
|
|
779
|
+
},
|
|
780
|
+
m(f, u) {
|
|
781
|
+
m(f, n, u), o[t].m(n, null), h(n, s), r = !0;
|
|
782
|
+
},
|
|
783
|
+
p(f, u) {
|
|
784
|
+
e = f, l.p(e, u);
|
|
785
|
+
},
|
|
786
|
+
i(f) {
|
|
787
|
+
r || (g(l), r = !0);
|
|
788
|
+
},
|
|
789
|
+
o(f) {
|
|
790
|
+
d(l), r = !1;
|
|
791
|
+
},
|
|
792
|
+
d(f) {
|
|
793
|
+
f && v(n), o[t].d();
|
|
794
|
+
}
|
|
795
|
+
};
|
|
796
|
+
}
|
|
797
|
+
function Me(a) {
|
|
798
|
+
let e, n, t;
|
|
799
|
+
return n = new Ke({}), {
|
|
800
|
+
c() {
|
|
801
|
+
e = b("div"), C(n.$$.fragment), _(e, "class", "left-0 h-full w-[7.5rem] min-[1320px]:absolute [&>svg]:block [&>svg]:h-full [&>svg]:w-auto");
|
|
802
|
+
},
|
|
803
|
+
m(l, s) {
|
|
804
|
+
m(l, e, s), N(n, e, null), t = !0;
|
|
805
|
+
},
|
|
806
|
+
i(l) {
|
|
807
|
+
t || (g(n.$$.fragment, l), t = !0);
|
|
808
|
+
},
|
|
809
|
+
o(l) {
|
|
810
|
+
d(n.$$.fragment, l), t = !1;
|
|
811
|
+
},
|
|
812
|
+
d(l) {
|
|
813
|
+
l && v(e), L(n);
|
|
814
|
+
}
|
|
815
|
+
};
|
|
816
|
+
}
|
|
817
|
+
function $t(a) {
|
|
818
|
+
let e, n;
|
|
819
|
+
return e = new Ye({}), {
|
|
820
|
+
c() {
|
|
821
|
+
C(e.$$.fragment);
|
|
822
|
+
},
|
|
823
|
+
m(t, l) {
|
|
824
|
+
N(e, t, l), n = !0;
|
|
825
|
+
},
|
|
826
|
+
i(t) {
|
|
827
|
+
n || (g(e.$$.fragment, t), n = !0);
|
|
828
|
+
},
|
|
829
|
+
o(t) {
|
|
830
|
+
d(e.$$.fragment, t), n = !1;
|
|
831
|
+
},
|
|
832
|
+
d(t) {
|
|
833
|
+
L(e, t);
|
|
834
|
+
}
|
|
835
|
+
};
|
|
836
|
+
}
|
|
837
|
+
function kt(a) {
|
|
838
|
+
let e, n;
|
|
839
|
+
return e = new Qe({}), {
|
|
840
|
+
c() {
|
|
841
|
+
C(e.$$.fragment);
|
|
842
|
+
},
|
|
843
|
+
m(t, l) {
|
|
844
|
+
N(e, t, l), n = !0;
|
|
845
|
+
},
|
|
846
|
+
i(t) {
|
|
847
|
+
n || (g(e.$$.fragment, t), n = !0);
|
|
848
|
+
},
|
|
849
|
+
o(t) {
|
|
850
|
+
d(e.$$.fragment, t), n = !1;
|
|
851
|
+
},
|
|
852
|
+
d(t) {
|
|
853
|
+
L(e, t);
|
|
854
|
+
}
|
|
855
|
+
};
|
|
856
|
+
}
|
|
857
|
+
function yt(a) {
|
|
858
|
+
let e, n, t, l, s, r, i, o, c, f, u;
|
|
859
|
+
return l = new q({ props: { icon: (
|
|
860
|
+
/*search*/
|
|
861
|
+
a[8].icon
|
|
862
|
+
) } }), i = new P({
|
|
863
|
+
props: {
|
|
864
|
+
class: "h-full",
|
|
865
|
+
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",
|
|
866
|
+
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",
|
|
867
|
+
as: "ul",
|
|
868
|
+
$$slots: {
|
|
869
|
+
button: [Nt],
|
|
870
|
+
default: [Ct]
|
|
871
|
+
},
|
|
872
|
+
$$scope: { ctx: a }
|
|
873
|
+
}
|
|
874
|
+
}), f = new P({
|
|
875
|
+
props: {
|
|
876
|
+
class: "h-full",
|
|
877
|
+
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",
|
|
878
|
+
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",
|
|
879
|
+
as: "ul",
|
|
880
|
+
$$slots: {
|
|
881
|
+
button: [Mt],
|
|
882
|
+
default: [St]
|
|
883
|
+
},
|
|
884
|
+
$$scope: { ctx: a }
|
|
885
|
+
}
|
|
886
|
+
}), {
|
|
887
|
+
c() {
|
|
888
|
+
e = b("ul"), n = b("li"), t = b("a"), C(l.$$.fragment), s = x(), r = b("li"), C(i.$$.fragment), o = x(), c = b("li"), C(f.$$.fragment), _(t, "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"), _(
|
|
889
|
+
t,
|
|
890
|
+
"href",
|
|
891
|
+
/*search*/
|
|
892
|
+
a[8].href
|
|
893
|
+
), _(
|
|
894
|
+
t,
|
|
895
|
+
"aria-label",
|
|
896
|
+
/*search*/
|
|
897
|
+
a[8].text
|
|
898
|
+
), _(e, "class", "flex h-full [&>li]:contents");
|
|
899
|
+
},
|
|
900
|
+
m(p, Z) {
|
|
901
|
+
m(p, e, Z), h(e, n), h(n, t), N(l, t, null), h(e, s), h(e, r), N(i, r, null), h(e, o), h(e, c), N(f, c, null), u = !0;
|
|
902
|
+
},
|
|
903
|
+
p(p, Z) {
|
|
904
|
+
const w = {};
|
|
905
|
+
Z[1] & /*$$scope*/
|
|
906
|
+
16 && (w.$$scope = { dirty: Z, ctx: p }), i.$set(w);
|
|
907
|
+
const A = {};
|
|
908
|
+
Z[1] & /*$$scope*/
|
|
909
|
+
16 && (A.$$scope = { dirty: Z, ctx: p }), f.$set(A);
|
|
910
|
+
},
|
|
911
|
+
i(p) {
|
|
912
|
+
u || (g(l.$$.fragment, p), g(i.$$.fragment, p), g(f.$$.fragment, p), u = !0);
|
|
913
|
+
},
|
|
914
|
+
o(p) {
|
|
915
|
+
d(l.$$.fragment, p), d(i.$$.fragment, p), d(f.$$.fragment, p), u = !1;
|
|
916
|
+
},
|
|
917
|
+
d(p) {
|
|
918
|
+
p && v(e), L(l), L(i), L(f);
|
|
919
|
+
}
|
|
920
|
+
};
|
|
921
|
+
}
|
|
922
|
+
function xt(a) {
|
|
923
|
+
let e, n, t, l, s, r, i = j(
|
|
924
|
+
/*mainLinks*/
|
|
925
|
+
a[7]
|
|
926
|
+
), o = [];
|
|
927
|
+
for (let c = 0; c < i.length; c += 1)
|
|
928
|
+
o[c] = Be(Ne(a, i, c));
|
|
929
|
+
return s = new q({ props: { icon: (
|
|
930
|
+
/*search*/
|
|
931
|
+
a[8].icon
|
|
932
|
+
) } }), {
|
|
933
|
+
c() {
|
|
934
|
+
e = b("ul");
|
|
935
|
+
for (let c = 0; c < o.length; c += 1)
|
|
936
|
+
o[c].c();
|
|
937
|
+
n = x(), t = b("li"), l = b("a"), C(s.$$.fragment), _(l, "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"), _(
|
|
938
|
+
l,
|
|
939
|
+
"href",
|
|
940
|
+
/*search*/
|
|
941
|
+
a[8].href
|
|
942
|
+
), _(
|
|
943
|
+
l,
|
|
944
|
+
"aria-label",
|
|
945
|
+
/*search*/
|
|
946
|
+
a[8].text
|
|
947
|
+
), _(e, "class", "flex ml-auto [&>li]:contents text-4xl");
|
|
948
|
+
},
|
|
949
|
+
m(c, f) {
|
|
950
|
+
m(c, e, f);
|
|
951
|
+
for (let u = 0; u < o.length; u += 1)
|
|
952
|
+
o[u] && o[u].m(e, null);
|
|
953
|
+
h(e, n), h(e, t), h(t, l), N(s, l, null), r = !0;
|
|
954
|
+
},
|
|
955
|
+
p(c, f) {
|
|
956
|
+
if (f[0] & /*mainLinks*/
|
|
957
|
+
128) {
|
|
958
|
+
i = j(
|
|
959
|
+
/*mainLinks*/
|
|
960
|
+
c[7]
|
|
961
|
+
);
|
|
962
|
+
let u;
|
|
963
|
+
for (u = 0; u < i.length; u += 1) {
|
|
964
|
+
const p = Ne(c, i, u);
|
|
965
|
+
o[u] ? o[u].p(p, f) : (o[u] = Be(p), o[u].c(), o[u].m(e, n));
|
|
966
|
+
}
|
|
967
|
+
for (; u < o.length; u += 1)
|
|
968
|
+
o[u].d(1);
|
|
969
|
+
o.length = i.length;
|
|
970
|
+
}
|
|
971
|
+
},
|
|
972
|
+
i(c) {
|
|
973
|
+
r || (g(s.$$.fragment, c), r = !0);
|
|
974
|
+
},
|
|
975
|
+
o(c) {
|
|
976
|
+
d(s.$$.fragment, c), r = !1;
|
|
977
|
+
},
|
|
978
|
+
d(c) {
|
|
979
|
+
c && v(e), V(o, c), L(s);
|
|
980
|
+
}
|
|
981
|
+
};
|
|
982
|
+
}
|
|
983
|
+
function Ue(a) {
|
|
984
|
+
let e, n, t = (
|
|
985
|
+
/*link*/
|
|
986
|
+
a[16].text + ""
|
|
987
|
+
), l, s;
|
|
988
|
+
return {
|
|
989
|
+
c() {
|
|
990
|
+
e = b("li"), n = b("a"), l = E(t), s = x(), _(n, "class", "border-0 border-b border-solid border-uofg-grey-500 p-4 transition-colors hover:bg-uofg-yellow"), _(
|
|
991
|
+
n,
|
|
992
|
+
"href",
|
|
993
|
+
/*link*/
|
|
994
|
+
a[16].href
|
|
995
|
+
), _(e, "class", "[&>*]:first:mt-4 [&>*]:last:mb-4");
|
|
996
|
+
},
|
|
997
|
+
m(r, i) {
|
|
998
|
+
m(r, e, i), h(e, n), h(n, l), h(e, s);
|
|
999
|
+
},
|
|
1000
|
+
p: k,
|
|
1001
|
+
d(r) {
|
|
1002
|
+
r && v(e);
|
|
1003
|
+
}
|
|
1004
|
+
};
|
|
1005
|
+
}
|
|
1006
|
+
function Ct(a) {
|
|
1007
|
+
let e, n = j(
|
|
1008
|
+
/*account*/
|
|
1009
|
+
a[9].links
|
|
1010
|
+
), t = [];
|
|
1011
|
+
for (let l = 0; l < n.length; l += 1)
|
|
1012
|
+
t[l] = Ue(Ce(a, n, l));
|
|
1013
|
+
return {
|
|
1014
|
+
c() {
|
|
1015
|
+
for (let l = 0; l < t.length; l += 1)
|
|
1016
|
+
t[l].c();
|
|
1017
|
+
e = I();
|
|
1018
|
+
},
|
|
1019
|
+
m(l, s) {
|
|
1020
|
+
for (let r = 0; r < t.length; r += 1)
|
|
1021
|
+
t[r] && t[r].m(l, s);
|
|
1022
|
+
m(l, e, s);
|
|
1023
|
+
},
|
|
1024
|
+
p(l, s) {
|
|
1025
|
+
if (s[0] & /*account*/
|
|
1026
|
+
512) {
|
|
1027
|
+
n = j(
|
|
1028
|
+
/*account*/
|
|
1029
|
+
l[9].links
|
|
1030
|
+
);
|
|
1031
|
+
let r;
|
|
1032
|
+
for (r = 0; r < n.length; r += 1) {
|
|
1033
|
+
const i = Ce(l, n, r);
|
|
1034
|
+
t[r] ? t[r].p(i, s) : (t[r] = Ue(i), t[r].c(), t[r].m(e.parentNode, e));
|
|
1035
|
+
}
|
|
1036
|
+
for (; r < t.length; r += 1)
|
|
1037
|
+
t[r].d(1);
|
|
1038
|
+
t.length = n.length;
|
|
1039
|
+
}
|
|
1040
|
+
},
|
|
1041
|
+
d(l) {
|
|
1042
|
+
l && v(e), V(t, l);
|
|
1043
|
+
}
|
|
1044
|
+
};
|
|
1045
|
+
}
|
|
1046
|
+
function Nt(a) {
|
|
1047
|
+
let e, n;
|
|
1048
|
+
return e = new q({
|
|
1049
|
+
props: {
|
|
1050
|
+
slot: "button",
|
|
1051
|
+
icon: (
|
|
1052
|
+
/*account*/
|
|
1053
|
+
a[9].icon
|
|
1054
|
+
)
|
|
1055
|
+
}
|
|
1056
|
+
}), {
|
|
1057
|
+
c() {
|
|
1058
|
+
C(e.$$.fragment);
|
|
1059
|
+
},
|
|
1060
|
+
m(t, l) {
|
|
1061
|
+
N(e, t, l), n = !0;
|
|
1062
|
+
},
|
|
1063
|
+
p: k,
|
|
1064
|
+
i(t) {
|
|
1065
|
+
n || (g(e.$$.fragment, t), n = !0);
|
|
1066
|
+
},
|
|
1067
|
+
o(t) {
|
|
1068
|
+
d(e.$$.fragment, t), n = !1;
|
|
1069
|
+
},
|
|
1070
|
+
d(t) {
|
|
1071
|
+
L(e, t);
|
|
1072
|
+
}
|
|
1073
|
+
};
|
|
1074
|
+
}
|
|
1075
|
+
function Lt(a) {
|
|
1076
|
+
let e, n = (
|
|
1077
|
+
/*item*/
|
|
1078
|
+
a[13].text + ""
|
|
1079
|
+
), t;
|
|
1080
|
+
return {
|
|
1081
|
+
c() {
|
|
1082
|
+
e = b("a"), t = E(n), _(e, "class", "border-0 border-b border-solid border-uofg-grey-500 p-4 transition-colors hover:bg-uofg-grey focus:bg-uofg-grey"), _(
|
|
1083
|
+
e,
|
|
1084
|
+
"href",
|
|
1085
|
+
/*item*/
|
|
1086
|
+
a[13].href
|
|
1087
|
+
), te(
|
|
1088
|
+
e,
|
|
1089
|
+
"bg-uofg-yellow",
|
|
1090
|
+
/*item*/
|
|
1091
|
+
a[13].highlight
|
|
1092
|
+
);
|
|
1093
|
+
},
|
|
1094
|
+
m(l, s) {
|
|
1095
|
+
m(l, e, s), h(e, t);
|
|
1096
|
+
},
|
|
1097
|
+
p: k,
|
|
1098
|
+
i: k,
|
|
1099
|
+
o: k,
|
|
1100
|
+
d(l) {
|
|
1101
|
+
l && v(e);
|
|
1102
|
+
}
|
|
1103
|
+
};
|
|
1104
|
+
}
|
|
1105
|
+
function jt(a) {
|
|
1106
|
+
let e, n;
|
|
1107
|
+
return e = new P({
|
|
1108
|
+
props: {
|
|
1109
|
+
class: "relative w-full",
|
|
1110
|
+
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",
|
|
1111
|
+
contentClass: "flex flex-col w-full flex-col bg-white text-black [&>li]:contents",
|
|
1112
|
+
as: "ul",
|
|
1113
|
+
autoCollapse: !1,
|
|
1114
|
+
$$slots: {
|
|
1115
|
+
button: [At],
|
|
1116
|
+
default: [Zt]
|
|
1117
|
+
},
|
|
1118
|
+
$$scope: { ctx: a }
|
|
1119
|
+
}
|
|
1120
|
+
}), {
|
|
1121
|
+
c() {
|
|
1122
|
+
C(e.$$.fragment);
|
|
1123
|
+
},
|
|
1124
|
+
m(t, l) {
|
|
1125
|
+
N(e, t, l), n = !0;
|
|
1126
|
+
},
|
|
1127
|
+
p(t, l) {
|
|
1128
|
+
const s = {};
|
|
1129
|
+
l[1] & /*$$scope*/
|
|
1130
|
+
16 && (s.$$scope = { dirty: l, ctx: t }), e.$set(s);
|
|
1131
|
+
},
|
|
1132
|
+
i(t) {
|
|
1133
|
+
n || (g(e.$$.fragment, t), n = !0);
|
|
1134
|
+
},
|
|
1135
|
+
o(t) {
|
|
1136
|
+
d(e.$$.fragment, t), n = !1;
|
|
1137
|
+
},
|
|
1138
|
+
d(t) {
|
|
1139
|
+
L(e, t);
|
|
1140
|
+
}
|
|
1141
|
+
};
|
|
1142
|
+
}
|
|
1143
|
+
function Te(a) {
|
|
1144
|
+
let e, n, t = (
|
|
1145
|
+
/*link*/
|
|
1146
|
+
a[16].text + ""
|
|
1147
|
+
), l, s, r = [
|
|
1148
|
+
{
|
|
1149
|
+
class: "border-0 border-b border-solid border-uofg-grey-500 p-4 transition-colors hover:bg-uofg-grey"
|
|
1150
|
+
},
|
|
1151
|
+
{
|
|
1152
|
+
href: (
|
|
1153
|
+
/*link*/
|
|
1154
|
+
a[16].href
|
|
1155
|
+
)
|
|
1156
|
+
},
|
|
1157
|
+
/*link*/
|
|
1158
|
+
a[16].attributes
|
|
1159
|
+
], i = {};
|
|
1160
|
+
for (let o = 0; o < r.length; o += 1)
|
|
1161
|
+
i = G(i, r[o]);
|
|
1162
|
+
return {
|
|
1163
|
+
c() {
|
|
1164
|
+
e = b("li"), n = b("a"), l = E(t), s = x(), W(n, i);
|
|
1165
|
+
},
|
|
1166
|
+
m(o, c) {
|
|
1167
|
+
m(o, e, c), h(e, n), h(n, l), h(e, s);
|
|
1168
|
+
},
|
|
1169
|
+
p: k,
|
|
1170
|
+
d(o) {
|
|
1171
|
+
o && v(e);
|
|
1172
|
+
}
|
|
1173
|
+
};
|
|
1174
|
+
}
|
|
1175
|
+
function Zt(a) {
|
|
1176
|
+
let e, n = j(
|
|
1177
|
+
/*item*/
|
|
1178
|
+
a[13].links
|
|
1179
|
+
), t = [];
|
|
1180
|
+
for (let l = 0; l < n.length; l += 1)
|
|
1181
|
+
t[l] = Te(xe(a, n, l));
|
|
1182
|
+
return {
|
|
1183
|
+
c() {
|
|
1184
|
+
for (let l = 0; l < t.length; l += 1)
|
|
1185
|
+
t[l].c();
|
|
1186
|
+
e = I();
|
|
1187
|
+
},
|
|
1188
|
+
m(l, s) {
|
|
1189
|
+
for (let r = 0; r < t.length; r += 1)
|
|
1190
|
+
t[r] && t[r].m(l, s);
|
|
1191
|
+
m(l, e, s);
|
|
1192
|
+
},
|
|
1193
|
+
p(l, s) {
|
|
1194
|
+
if (s[0] & /*mainLinks, topLinks*/
|
|
1195
|
+
192) {
|
|
1196
|
+
n = j(
|
|
1197
|
+
/*item*/
|
|
1198
|
+
l[13].links
|
|
1199
|
+
);
|
|
1200
|
+
let r;
|
|
1201
|
+
for (r = 0; r < n.length; r += 1) {
|
|
1202
|
+
const i = xe(l, n, r);
|
|
1203
|
+
t[r] ? t[r].p(i, s) : (t[r] = Te(i), t[r].c(), t[r].m(e.parentNode, e));
|
|
1204
|
+
}
|
|
1205
|
+
for (; r < t.length; r += 1)
|
|
1206
|
+
t[r].d(1);
|
|
1207
|
+
t.length = n.length;
|
|
1208
|
+
}
|
|
1209
|
+
},
|
|
1210
|
+
d(l) {
|
|
1211
|
+
l && v(e), V(t, l);
|
|
1212
|
+
}
|
|
1213
|
+
};
|
|
1214
|
+
}
|
|
1215
|
+
function At(a) {
|
|
1216
|
+
let e, n, t, l, s;
|
|
1217
|
+
return l = new q({ props: { icon: ne } }), {
|
|
1218
|
+
c() {
|
|
1219
|
+
e = b("span"), n = b("span"), n.textContent = `${/*item*/
|
|
1220
|
+
a[13].text}`, t = x(), C(l.$$.fragment), _(n, "class", "mr-auto"), _(e, "class", "w-full flex gap-2 justify-between [&>svg]:transition-transform"), _(e, "slot", "button"), te(
|
|
1221
|
+
e,
|
|
1222
|
+
"bg-uofg-yellow",
|
|
1223
|
+
/*item*/
|
|
1224
|
+
a[13].highlight
|
|
1225
|
+
);
|
|
1226
|
+
},
|
|
1227
|
+
m(r, i) {
|
|
1228
|
+
m(r, e, i), h(e, n), h(e, t), N(l, e, null), s = !0;
|
|
1229
|
+
},
|
|
1230
|
+
p: k,
|
|
1231
|
+
i(r) {
|
|
1232
|
+
s || (g(l.$$.fragment, r), s = !0);
|
|
1233
|
+
},
|
|
1234
|
+
o(r) {
|
|
1235
|
+
d(l.$$.fragment, r), s = !1;
|
|
1236
|
+
},
|
|
1237
|
+
d(r) {
|
|
1238
|
+
r && v(e), L(l);
|
|
1239
|
+
}
|
|
1240
|
+
};
|
|
1241
|
+
}
|
|
1242
|
+
function Ee(a) {
|
|
1243
|
+
let e, n, t, l, s;
|
|
1244
|
+
const r = [jt, Lt], i = [];
|
|
1245
|
+
function o(c, f) {
|
|
1246
|
+
return (
|
|
1247
|
+
/*item*/
|
|
1248
|
+
c[13].links ? 0 : 1
|
|
1249
|
+
);
|
|
1250
|
+
}
|
|
1251
|
+
return n = o(a), t = i[n] = r[n](a), {
|
|
1252
|
+
c() {
|
|
1253
|
+
e = b("li"), t.c(), l = x(), _(e, "class", "[&>*]:first:mt-4 [&>*]:last:mb-4");
|
|
1254
|
+
},
|
|
1255
|
+
m(c, f) {
|
|
1256
|
+
m(c, e, f), i[n].m(e, null), h(e, l), s = !0;
|
|
1257
|
+
},
|
|
1258
|
+
p(c, f) {
|
|
1259
|
+
t.p(c, f);
|
|
1260
|
+
},
|
|
1261
|
+
i(c) {
|
|
1262
|
+
s || (g(t), s = !0);
|
|
1263
|
+
},
|
|
1264
|
+
o(c) {
|
|
1265
|
+
d(t), s = !1;
|
|
1266
|
+
},
|
|
1267
|
+
d(c) {
|
|
1268
|
+
c && v(e), i[n].d();
|
|
1269
|
+
}
|
|
1270
|
+
};
|
|
1271
|
+
}
|
|
1272
|
+
function St(a) {
|
|
1273
|
+
let e, n, t = j([.../*mainLinks*/
|
|
1274
|
+
a[7], .../*topLinks*/
|
|
1275
|
+
a[6]]), l = [];
|
|
1276
|
+
for (let r = 0; r < t.length; r += 1)
|
|
1277
|
+
l[r] = Ee(ye(a, t, r));
|
|
1278
|
+
const s = (r) => d(l[r], 1, 1, () => {
|
|
1279
|
+
l[r] = null;
|
|
1280
|
+
});
|
|
1281
|
+
return {
|
|
1282
|
+
c() {
|
|
1283
|
+
for (let r = 0; r < l.length; r += 1)
|
|
1284
|
+
l[r].c();
|
|
1285
|
+
e = I();
|
|
1286
|
+
},
|
|
1287
|
+
m(r, i) {
|
|
1288
|
+
for (let o = 0; o < l.length; o += 1)
|
|
1289
|
+
l[o] && l[o].m(r, i);
|
|
1290
|
+
m(r, e, i), n = !0;
|
|
1291
|
+
},
|
|
1292
|
+
p(r, i) {
|
|
1293
|
+
if (i[0] & /*mainLinks, topLinks*/
|
|
1294
|
+
192) {
|
|
1295
|
+
t = j([.../*mainLinks*/
|
|
1296
|
+
r[7], .../*topLinks*/
|
|
1297
|
+
r[6]]);
|
|
1298
|
+
let o;
|
|
1299
|
+
for (o = 0; o < t.length; o += 1) {
|
|
1300
|
+
const c = ye(r, t, o);
|
|
1301
|
+
l[o] ? (l[o].p(c, i), g(l[o], 1)) : (l[o] = Ee(c), l[o].c(), g(l[o], 1), l[o].m(e.parentNode, e));
|
|
1302
|
+
}
|
|
1303
|
+
for (T(), o = t.length; o < l.length; o += 1)
|
|
1304
|
+
s(o);
|
|
1305
|
+
U();
|
|
1306
|
+
}
|
|
1307
|
+
},
|
|
1308
|
+
i(r) {
|
|
1309
|
+
if (!n) {
|
|
1310
|
+
for (let i = 0; i < t.length; i += 1)
|
|
1311
|
+
g(l[i]);
|
|
1312
|
+
n = !0;
|
|
1313
|
+
}
|
|
1314
|
+
},
|
|
1315
|
+
o(r) {
|
|
1316
|
+
l = l.filter(Boolean);
|
|
1317
|
+
for (let i = 0; i < l.length; i += 1)
|
|
1318
|
+
d(l[i]);
|
|
1319
|
+
n = !1;
|
|
1320
|
+
},
|
|
1321
|
+
d(r) {
|
|
1322
|
+
r && v(e), V(l, r);
|
|
1323
|
+
}
|
|
1324
|
+
};
|
|
1325
|
+
}
|
|
1326
|
+
function Mt(a) {
|
|
1327
|
+
let e, n;
|
|
1328
|
+
return e = new q({ props: { slot: "button", icon: De } }), {
|
|
1329
|
+
c() {
|
|
1330
|
+
C(e.$$.fragment);
|
|
1331
|
+
},
|
|
1332
|
+
m(t, l) {
|
|
1333
|
+
N(e, t, l), n = !0;
|
|
1334
|
+
},
|
|
1335
|
+
p: k,
|
|
1336
|
+
i(t) {
|
|
1337
|
+
n || (g(e.$$.fragment, t), n = !0);
|
|
1338
|
+
},
|
|
1339
|
+
o(t) {
|
|
1340
|
+
d(e.$$.fragment, t), n = !1;
|
|
1341
|
+
},
|
|
1342
|
+
d(t) {
|
|
1343
|
+
L(e, t);
|
|
1344
|
+
}
|
|
1345
|
+
};
|
|
1346
|
+
}
|
|
1347
|
+
function Be(a) {
|
|
1348
|
+
let e, n, t = (
|
|
1349
|
+
/*item*/
|
|
1350
|
+
a[13].text + ""
|
|
1351
|
+
), l, s;
|
|
1352
|
+
return {
|
|
1353
|
+
c() {
|
|
1354
|
+
e = b("li"), n = b("a"), l = E(t), s = x(), _(n, "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"), _(
|
|
1355
|
+
n,
|
|
1356
|
+
"href",
|
|
1357
|
+
/*item*/
|
|
1358
|
+
a[13].href
|
|
1359
|
+
);
|
|
1360
|
+
},
|
|
1361
|
+
m(r, i) {
|
|
1362
|
+
m(r, e, i), h(e, n), h(n, l), h(e, s);
|
|
1363
|
+
},
|
|
1364
|
+
p: k,
|
|
1365
|
+
d(r) {
|
|
1366
|
+
r && v(e);
|
|
1367
|
+
}
|
|
1368
|
+
};
|
|
1369
|
+
}
|
|
1370
|
+
function Fe(a) {
|
|
1371
|
+
let e, n, t, l, s, r, i = (
|
|
1372
|
+
/*pageTitle*/
|
|
1373
|
+
a[1] && Re(a)
|
|
1374
|
+
);
|
|
1375
|
+
const o = [Bt, Et], c = [];
|
|
1376
|
+
function f(u, p) {
|
|
1377
|
+
return (
|
|
1378
|
+
/*windowWidth*/
|
|
1379
|
+
u[3] >= F && !/*subNavigationIsOverflowing*/
|
|
1380
|
+
u[5] ? 0 : 1
|
|
1381
|
+
);
|
|
1382
|
+
}
|
|
1383
|
+
return l = f(a), s = c[l] = o[l](a), {
|
|
1384
|
+
c() {
|
|
1385
|
+
e = b("nav"), n = b("ul"), i && i.c(), t = x(), s.c(), _(n, "class", "flex h-full w-fit min-w-full overflow-y-visible items-center justify-end [&>li]:contents relative"), _(e, "class", "block align-items relative h-[5rem] justify-end bg-uofg-grey px-[calc((100%-1320px)/2)] text-3xl lg:h-16 lg:whitespace-nowrap"), _(e, "aria-label", "Page Specific");
|
|
1386
|
+
},
|
|
1387
|
+
m(u, p) {
|
|
1388
|
+
m(u, e, p), h(e, n), i && i.m(n, null), h(n, t), c[l].m(n, null), a[11](n), r = !0;
|
|
1389
|
+
},
|
|
1390
|
+
p(u, p) {
|
|
1391
|
+
/*pageTitle*/
|
|
1392
|
+
u[1] ? i ? i.p(u, p) : (i = Re(u), i.c(), i.m(n, t)) : i && (i.d(1), i = null);
|
|
1393
|
+
let Z = l;
|
|
1394
|
+
l = f(u), l === Z ? c[l].p(u, p) : (T(), d(c[Z], 1, 1, () => {
|
|
1395
|
+
c[Z] = null;
|
|
1396
|
+
}), U(), s = c[l], s ? s.p(u, p) : (s = c[l] = o[l](u), s.c()), g(s, 1), s.m(n, null));
|
|
1397
|
+
},
|
|
1398
|
+
i(u) {
|
|
1399
|
+
r || (g(s), r = !0);
|
|
1400
|
+
},
|
|
1401
|
+
o(u) {
|
|
1402
|
+
d(s), r = !1;
|
|
1403
|
+
},
|
|
1404
|
+
d(u) {
|
|
1405
|
+
u && v(e), i && i.d(), c[l].d(), a[11](null);
|
|
1406
|
+
}
|
|
1407
|
+
};
|
|
1408
|
+
}
|
|
1409
|
+
function Re(a) {
|
|
1410
|
+
let e;
|
|
1411
|
+
function n(s, r) {
|
|
1412
|
+
return (
|
|
1413
|
+
/*pageURL*/
|
|
1414
|
+
s[2] ? Tt : Ut
|
|
1415
|
+
);
|
|
1416
|
+
}
|
|
1417
|
+
let t = n(a), l = t(a);
|
|
1418
|
+
return {
|
|
1419
|
+
c() {
|
|
1420
|
+
e = b("li"), l.c();
|
|
1421
|
+
},
|
|
1422
|
+
m(s, r) {
|
|
1423
|
+
m(s, e, r), l.m(e, null);
|
|
1424
|
+
},
|
|
1425
|
+
p(s, r) {
|
|
1426
|
+
t === (t = n(s)) && l ? l.p(s, r) : (l.d(1), l = t(s), l && (l.c(), l.m(e, null)));
|
|
1427
|
+
},
|
|
1428
|
+
d(s) {
|
|
1429
|
+
s && v(e), l.d();
|
|
1430
|
+
}
|
|
1431
|
+
};
|
|
1432
|
+
}
|
|
1433
|
+
function Ut(a) {
|
|
1434
|
+
let e, n;
|
|
1435
|
+
return {
|
|
1436
|
+
c() {
|
|
1437
|
+
e = b("span"), n = E(
|
|
1438
|
+
/*pageTitle*/
|
|
1439
|
+
a[1]
|
|
1440
|
+
), _(e, "class", "mr-auto flex h-full items-center justify-center px-4 font-bold");
|
|
1441
|
+
},
|
|
1442
|
+
m(t, l) {
|
|
1443
|
+
m(t, e, l), h(e, n);
|
|
1444
|
+
},
|
|
1445
|
+
p(t, l) {
|
|
1446
|
+
l[0] & /*pageTitle*/
|
|
1447
|
+
2 && ee(
|
|
1448
|
+
n,
|
|
1449
|
+
/*pageTitle*/
|
|
1450
|
+
t[1]
|
|
1451
|
+
);
|
|
1452
|
+
},
|
|
1453
|
+
d(t) {
|
|
1454
|
+
t && v(e);
|
|
1455
|
+
}
|
|
1456
|
+
};
|
|
1457
|
+
}
|
|
1458
|
+
function Tt(a) {
|
|
1459
|
+
let e, n;
|
|
1460
|
+
return {
|
|
1461
|
+
c() {
|
|
1462
|
+
e = b("a"), n = E(
|
|
1463
|
+
/*pageTitle*/
|
|
1464
|
+
a[1]
|
|
1465
|
+
), _(e, "class", "mr-auto flex h-full items-center justify-center px-4 font-bold transition-colors hover:bg-uofg-yellow"), _(
|
|
1466
|
+
e,
|
|
1467
|
+
"href",
|
|
1468
|
+
/*pageURL*/
|
|
1469
|
+
a[2]
|
|
1470
|
+
);
|
|
1471
|
+
},
|
|
1472
|
+
m(t, l) {
|
|
1473
|
+
m(t, e, l), h(e, n);
|
|
1474
|
+
},
|
|
1475
|
+
p(t, l) {
|
|
1476
|
+
l[0] & /*pageTitle*/
|
|
1477
|
+
2 && ee(
|
|
1478
|
+
n,
|
|
1479
|
+
/*pageTitle*/
|
|
1480
|
+
t[1]
|
|
1481
|
+
), l[0] & /*pageURL*/
|
|
1482
|
+
4 && _(
|
|
1483
|
+
e,
|
|
1484
|
+
"href",
|
|
1485
|
+
/*pageURL*/
|
|
1486
|
+
t[2]
|
|
1487
|
+
);
|
|
1488
|
+
},
|
|
1489
|
+
d(t) {
|
|
1490
|
+
t && v(e);
|
|
1491
|
+
}
|
|
1492
|
+
};
|
|
1493
|
+
}
|
|
1494
|
+
function Et(a) {
|
|
1495
|
+
let e, n;
|
|
1496
|
+
return e = new P({
|
|
1497
|
+
props: {
|
|
1498
|
+
class: "h-full",
|
|
1499
|
+
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",
|
|
1500
|
+
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",
|
|
1501
|
+
as: "ul",
|
|
1502
|
+
$$slots: {
|
|
1503
|
+
button: [It],
|
|
1504
|
+
default: [qt]
|
|
1505
|
+
},
|
|
1506
|
+
$$scope: { ctx: a }
|
|
1507
|
+
}
|
|
1508
|
+
}), {
|
|
1509
|
+
c() {
|
|
1510
|
+
C(e.$$.fragment);
|
|
1511
|
+
},
|
|
1512
|
+
m(t, l) {
|
|
1513
|
+
N(e, t, l), n = !0;
|
|
1514
|
+
},
|
|
1515
|
+
p(t, l) {
|
|
1516
|
+
const s = {};
|
|
1517
|
+
l[0] & /*subNavigation*/
|
|
1518
|
+
1 | l[1] & /*$$scope*/
|
|
1519
|
+
16 && (s.$$scope = { dirty: l, ctx: t }), e.$set(s);
|
|
1520
|
+
},
|
|
1521
|
+
i(t) {
|
|
1522
|
+
n || (g(e.$$.fragment, t), n = !0);
|
|
1523
|
+
},
|
|
1524
|
+
o(t) {
|
|
1525
|
+
d(e.$$.fragment, t), n = !1;
|
|
1526
|
+
},
|
|
1527
|
+
d(t) {
|
|
1528
|
+
L(e, t);
|
|
1529
|
+
}
|
|
1530
|
+
};
|
|
1531
|
+
}
|
|
1532
|
+
function Bt(a) {
|
|
1533
|
+
let e, n = [], t = /* @__PURE__ */ new Map(), l, s = j(
|
|
1534
|
+
/*subNavigation*/
|
|
1535
|
+
a[0]
|
|
1536
|
+
);
|
|
1537
|
+
const r = (i) => (
|
|
1538
|
+
/*item*/
|
|
1539
|
+
i[13].text || /*item*/
|
|
1540
|
+
i[13].title
|
|
1541
|
+
);
|
|
1542
|
+
for (let i = 0; i < s.length; i += 1) {
|
|
1543
|
+
let o = $e(a, s, i), c = r(o);
|
|
1544
|
+
t.set(c, n[i] = Ie(c, o));
|
|
1545
|
+
}
|
|
1546
|
+
return {
|
|
1547
|
+
c() {
|
|
1548
|
+
e = b("li");
|
|
1549
|
+
for (let i = 0; i < n.length; i += 1)
|
|
1550
|
+
n[i].c();
|
|
1551
|
+
},
|
|
1552
|
+
m(i, o) {
|
|
1553
|
+
m(i, e, o);
|
|
1554
|
+
for (let c = 0; c < n.length; c += 1)
|
|
1555
|
+
n[c] && n[c].m(e, null);
|
|
1556
|
+
l = !0;
|
|
1557
|
+
},
|
|
1558
|
+
p(i, o) {
|
|
1559
|
+
o[0] & /*subNavigation*/
|
|
1560
|
+
1 && (s = j(
|
|
1561
|
+
/*subNavigation*/
|
|
1562
|
+
i[0]
|
|
1563
|
+
), T(), n = ie(n, o, r, 1, i, s, t, e, ce, Ie, null, $e), U());
|
|
1564
|
+
},
|
|
1565
|
+
i(i) {
|
|
1566
|
+
if (!l) {
|
|
1567
|
+
for (let o = 0; o < s.length; o += 1)
|
|
1568
|
+
g(n[o]);
|
|
1569
|
+
l = !0;
|
|
1570
|
+
}
|
|
1571
|
+
},
|
|
1572
|
+
o(i) {
|
|
1573
|
+
for (let o = 0; o < n.length; o += 1)
|
|
1574
|
+
d(n[o]);
|
|
1575
|
+
l = !1;
|
|
1576
|
+
},
|
|
1577
|
+
d(i) {
|
|
1578
|
+
i && v(e);
|
|
1579
|
+
for (let o = 0; o < n.length; o += 1)
|
|
1580
|
+
n[o].d();
|
|
1581
|
+
}
|
|
1582
|
+
};
|
|
1583
|
+
}
|
|
1584
|
+
function Ft(a) {
|
|
1585
|
+
let e, n;
|
|
1586
|
+
return e = new P({
|
|
1587
|
+
props: {
|
|
1588
|
+
class: "relative w-full",
|
|
1589
|
+
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",
|
|
1590
|
+
contentClass: "flex flex-col w-full flex-col bg-white text-black [&>li]:contents",
|
|
1591
|
+
as: "ul",
|
|
1592
|
+
autoCollapse: !1,
|
|
1593
|
+
$$slots: {
|
|
1594
|
+
button: [Wt],
|
|
1595
|
+
default: [zt]
|
|
1596
|
+
},
|
|
1597
|
+
$$scope: { ctx: a }
|
|
1598
|
+
}
|
|
1599
|
+
}), {
|
|
1600
|
+
c() {
|
|
1601
|
+
C(e.$$.fragment);
|
|
1602
|
+
},
|
|
1603
|
+
m(t, l) {
|
|
1604
|
+
N(e, t, l), n = !0;
|
|
1605
|
+
},
|
|
1606
|
+
p(t, l) {
|
|
1607
|
+
const s = {};
|
|
1608
|
+
l[0] & /*subNavigation*/
|
|
1609
|
+
1 | l[1] & /*$$scope*/
|
|
1610
|
+
16 && (s.$$scope = { dirty: l, ctx: t }), e.$set(s);
|
|
1611
|
+
},
|
|
1612
|
+
i(t) {
|
|
1613
|
+
n || (g(e.$$.fragment, t), n = !0);
|
|
1614
|
+
},
|
|
1615
|
+
o(t) {
|
|
1616
|
+
d(e.$$.fragment, t), n = !1;
|
|
1617
|
+
},
|
|
1618
|
+
d(t) {
|
|
1619
|
+
L(e, t);
|
|
1620
|
+
}
|
|
1621
|
+
};
|
|
1622
|
+
}
|
|
1623
|
+
function Rt(a) {
|
|
1624
|
+
let e, n = (
|
|
1625
|
+
/*item*/
|
|
1626
|
+
a[13].text + ""
|
|
1627
|
+
), t, l, s = [
|
|
1628
|
+
{
|
|
1629
|
+
class: "border-0 border-b border-solid border-uofg-grey-500 p-4 transition-colors hover:bg-uofg-grey"
|
|
1630
|
+
},
|
|
1631
|
+
{
|
|
1632
|
+
href: l = /*item*/
|
|
1633
|
+
a[13].href
|
|
1634
|
+
},
|
|
1635
|
+
/*item*/
|
|
1636
|
+
a[13].attributes
|
|
1637
|
+
], r = {};
|
|
1638
|
+
for (let i = 0; i < s.length; i += 1)
|
|
1639
|
+
r = G(r, s[i]);
|
|
1640
|
+
return {
|
|
1641
|
+
c() {
|
|
1642
|
+
e = b("a"), t = E(n), W(e, r);
|
|
1643
|
+
},
|
|
1644
|
+
m(i, o) {
|
|
1645
|
+
m(i, e, o), h(e, t);
|
|
1646
|
+
},
|
|
1647
|
+
p(i, o) {
|
|
1648
|
+
o[0] & /*subNavigation*/
|
|
1649
|
+
1 && n !== (n = /*item*/
|
|
1650
|
+
i[13].text + "") && le(t, n, r.contenteditable), W(e, r = X(s, [
|
|
1651
|
+
{
|
|
1652
|
+
class: "border-0 border-b border-solid border-uofg-grey-500 p-4 transition-colors hover:bg-uofg-grey"
|
|
1653
|
+
},
|
|
1654
|
+
o[0] & /*subNavigation*/
|
|
1655
|
+
1 && l !== (l = /*item*/
|
|
1656
|
+
i[13].href) && { href: l },
|
|
1657
|
+
o[0] & /*subNavigation*/
|
|
1658
|
+
1 && /*item*/
|
|
1659
|
+
i[13].attributes
|
|
1660
|
+
]));
|
|
1661
|
+
},
|
|
1662
|
+
i: k,
|
|
1663
|
+
o: k,
|
|
1664
|
+
d(i) {
|
|
1665
|
+
i && v(e);
|
|
1666
|
+
}
|
|
1667
|
+
};
|
|
1668
|
+
}
|
|
1669
|
+
function ze(a) {
|
|
1670
|
+
let e, n, t = (
|
|
1671
|
+
/*link*/
|
|
1672
|
+
a[16].text + ""
|
|
1673
|
+
), l, s, r, i = [
|
|
1674
|
+
{
|
|
1675
|
+
class: "border-0 border-b border-solid border-uofg-grey-500 p-4 transition-colors hover:bg-uofg-grey"
|
|
1676
|
+
},
|
|
1677
|
+
{
|
|
1678
|
+
href: s = /*link*/
|
|
1679
|
+
a[16].href
|
|
1680
|
+
},
|
|
1681
|
+
/*link*/
|
|
1682
|
+
a[16].attributes
|
|
1683
|
+
], o = {};
|
|
1684
|
+
for (let c = 0; c < i.length; c += 1)
|
|
1685
|
+
o = G(o, i[c]);
|
|
1686
|
+
return {
|
|
1687
|
+
c() {
|
|
1688
|
+
e = b("li"), n = b("a"), l = E(t), r = x(), W(n, o);
|
|
1689
|
+
},
|
|
1690
|
+
m(c, f) {
|
|
1691
|
+
m(c, e, f), h(e, n), h(n, l), h(e, r);
|
|
1692
|
+
},
|
|
1693
|
+
p(c, f) {
|
|
1694
|
+
f[0] & /*subNavigation*/
|
|
1695
|
+
1 && t !== (t = /*link*/
|
|
1696
|
+
c[16].text + "") && le(l, t, o.contenteditable), W(n, o = X(i, [
|
|
1697
|
+
{
|
|
1698
|
+
class: "border-0 border-b border-solid border-uofg-grey-500 p-4 transition-colors hover:bg-uofg-grey"
|
|
1699
|
+
},
|
|
1700
|
+
f[0] & /*subNavigation*/
|
|
1701
|
+
1 && s !== (s = /*link*/
|
|
1702
|
+
c[16].href) && { href: s },
|
|
1703
|
+
f[0] & /*subNavigation*/
|
|
1704
|
+
1 && /*link*/
|
|
1705
|
+
c[16].attributes
|
|
1706
|
+
]));
|
|
1707
|
+
},
|
|
1708
|
+
d(c) {
|
|
1709
|
+
c && v(e);
|
|
1710
|
+
}
|
|
1711
|
+
};
|
|
1712
|
+
}
|
|
1713
|
+
function zt(a) {
|
|
1714
|
+
let e, n = j(
|
|
1715
|
+
/*item*/
|
|
1716
|
+
a[13].links
|
|
1717
|
+
), t = [];
|
|
1718
|
+
for (let l = 0; l < n.length; l += 1)
|
|
1719
|
+
t[l] = ze(we(a, n, l));
|
|
1720
|
+
return {
|
|
1721
|
+
c() {
|
|
1722
|
+
for (let l = 0; l < t.length; l += 1)
|
|
1723
|
+
t[l].c();
|
|
1724
|
+
e = I();
|
|
1725
|
+
},
|
|
1726
|
+
m(l, s) {
|
|
1727
|
+
for (let r = 0; r < t.length; r += 1)
|
|
1728
|
+
t[r] && t[r].m(l, s);
|
|
1729
|
+
m(l, e, s);
|
|
1730
|
+
},
|
|
1731
|
+
p(l, s) {
|
|
1732
|
+
if (s[0] & /*subNavigation*/
|
|
1733
|
+
1) {
|
|
1734
|
+
n = j(
|
|
1735
|
+
/*item*/
|
|
1736
|
+
l[13].links
|
|
1737
|
+
);
|
|
1738
|
+
let r;
|
|
1739
|
+
for (r = 0; r < n.length; r += 1) {
|
|
1740
|
+
const i = we(l, n, r);
|
|
1741
|
+
t[r] ? t[r].p(i, s) : (t[r] = ze(i), t[r].c(), t[r].m(e.parentNode, e));
|
|
1742
|
+
}
|
|
1743
|
+
for (; r < t.length; r += 1)
|
|
1744
|
+
t[r].d(1);
|
|
1745
|
+
t.length = n.length;
|
|
1746
|
+
}
|
|
1747
|
+
},
|
|
1748
|
+
d(l) {
|
|
1749
|
+
l && v(e), V(t, l);
|
|
1750
|
+
}
|
|
1751
|
+
};
|
|
1752
|
+
}
|
|
1753
|
+
function Wt(a) {
|
|
1754
|
+
let e, n, t = (
|
|
1755
|
+
/*item*/
|
|
1756
|
+
a[13].title + ""
|
|
1757
|
+
), l, s, r, i;
|
|
1758
|
+
return r = new q({ props: { icon: ne } }), {
|
|
1759
|
+
c() {
|
|
1760
|
+
e = b("span"), n = b("span"), l = E(t), s = x(), C(r.$$.fragment), _(n, "class", "mr-auto"), _(e, "class", "w-full flex gap-2 justify-between [&>svg]:transition-transform"), _(e, "slot", "button");
|
|
1761
|
+
},
|
|
1762
|
+
m(o, c) {
|
|
1763
|
+
m(o, e, c), h(e, n), h(n, l), h(e, s), N(r, e, null), i = !0;
|
|
1764
|
+
},
|
|
1765
|
+
p(o, c) {
|
|
1766
|
+
(!i || c[0] & /*subNavigation*/
|
|
1767
|
+
1) && t !== (t = /*item*/
|
|
1768
|
+
o[13].title + "") && ee(l, t);
|
|
1769
|
+
},
|
|
1770
|
+
i(o) {
|
|
1771
|
+
i || (g(r.$$.fragment, o), i = !0);
|
|
1772
|
+
},
|
|
1773
|
+
o(o) {
|
|
1774
|
+
d(r.$$.fragment, o), i = !1;
|
|
1775
|
+
},
|
|
1776
|
+
d(o) {
|
|
1777
|
+
o && v(e), L(r);
|
|
1778
|
+
}
|
|
1779
|
+
};
|
|
1780
|
+
}
|
|
1781
|
+
function We(a, e) {
|
|
1782
|
+
let n, t, l, s, r;
|
|
1783
|
+
const i = [Rt, Ft], o = [];
|
|
1784
|
+
function c(f, u) {
|
|
1785
|
+
return (
|
|
1786
|
+
/*item*/
|
|
1787
|
+
f[13].text ? 0 : 1
|
|
1788
|
+
);
|
|
1789
|
+
}
|
|
1790
|
+
return t = c(e), l = o[t] = i[t](e), {
|
|
1791
|
+
key: a,
|
|
1792
|
+
first: null,
|
|
1793
|
+
c() {
|
|
1794
|
+
n = b("li"), l.c(), s = x(), _(n, "class", "[&>*]:last:mb-4 [&>*]:first:mt-4"), this.first = n;
|
|
1795
|
+
},
|
|
1796
|
+
m(f, u) {
|
|
1797
|
+
m(f, n, u), o[t].m(n, null), h(n, s), r = !0;
|
|
1798
|
+
},
|
|
1799
|
+
p(f, u) {
|
|
1800
|
+
e = f;
|
|
1801
|
+
let p = t;
|
|
1802
|
+
t = c(e), t === p ? o[t].p(e, u) : (T(), d(o[p], 1, 1, () => {
|
|
1803
|
+
o[p] = null;
|
|
1804
|
+
}), U(), l = o[t], l ? l.p(e, u) : (l = o[t] = i[t](e), l.c()), g(l, 1), l.m(n, s));
|
|
1805
|
+
},
|
|
1806
|
+
i(f) {
|
|
1807
|
+
r || (g(l), r = !0);
|
|
1808
|
+
},
|
|
1809
|
+
o(f) {
|
|
1810
|
+
d(l), r = !1;
|
|
1811
|
+
},
|
|
1812
|
+
d(f) {
|
|
1813
|
+
f && v(n), o[t].d();
|
|
1814
|
+
}
|
|
1815
|
+
};
|
|
1816
|
+
}
|
|
1817
|
+
function qt(a) {
|
|
1818
|
+
let e = [], n = /* @__PURE__ */ new Map(), t, l, s = j(
|
|
1819
|
+
/*subNavigation*/
|
|
1820
|
+
a[0]
|
|
1821
|
+
);
|
|
1822
|
+
const r = (i) => (
|
|
1823
|
+
/*item*/
|
|
1824
|
+
i[13].text || /*item*/
|
|
1825
|
+
i[13].title
|
|
1826
|
+
);
|
|
1827
|
+
for (let i = 0; i < s.length; i += 1) {
|
|
1828
|
+
let o = ve(a, s, i), c = r(o);
|
|
1829
|
+
n.set(c, e[i] = We(c, o));
|
|
1830
|
+
}
|
|
1831
|
+
return {
|
|
1832
|
+
c() {
|
|
1833
|
+
for (let i = 0; i < e.length; i += 1)
|
|
1834
|
+
e[i].c();
|
|
1835
|
+
t = I();
|
|
1836
|
+
},
|
|
1837
|
+
m(i, o) {
|
|
1838
|
+
for (let c = 0; c < e.length; c += 1)
|
|
1839
|
+
e[c] && e[c].m(i, o);
|
|
1840
|
+
m(i, t, o), l = !0;
|
|
1841
|
+
},
|
|
1842
|
+
p(i, o) {
|
|
1843
|
+
o[0] & /*subNavigation*/
|
|
1844
|
+
1 && (s = j(
|
|
1845
|
+
/*subNavigation*/
|
|
1846
|
+
i[0]
|
|
1847
|
+
), T(), e = ie(e, o, r, 1, i, s, n, t.parentNode, ce, We, t, ve), U());
|
|
1848
|
+
},
|
|
1849
|
+
i(i) {
|
|
1850
|
+
if (!l) {
|
|
1851
|
+
for (let o = 0; o < s.length; o += 1)
|
|
1852
|
+
g(e[o]);
|
|
1853
|
+
l = !0;
|
|
1854
|
+
}
|
|
1855
|
+
},
|
|
1856
|
+
o(i) {
|
|
1857
|
+
for (let o = 0; o < e.length; o += 1)
|
|
1858
|
+
d(e[o]);
|
|
1859
|
+
l = !1;
|
|
1860
|
+
},
|
|
1861
|
+
d(i) {
|
|
1862
|
+
i && v(t);
|
|
1863
|
+
for (let o = 0; o < e.length; o += 1)
|
|
1864
|
+
e[o].d(i);
|
|
1865
|
+
}
|
|
1866
|
+
};
|
|
1867
|
+
}
|
|
1868
|
+
function It(a) {
|
|
1869
|
+
let e, n;
|
|
1870
|
+
return e = new q({ props: { slot: "button", icon: De } }), {
|
|
1871
|
+
c() {
|
|
1872
|
+
C(e.$$.fragment);
|
|
1873
|
+
},
|
|
1874
|
+
m(t, l) {
|
|
1875
|
+
N(e, t, l), n = !0;
|
|
1876
|
+
},
|
|
1877
|
+
p: k,
|
|
1878
|
+
i(t) {
|
|
1879
|
+
n || (g(e.$$.fragment, t), n = !0);
|
|
1880
|
+
},
|
|
1881
|
+
o(t) {
|
|
1882
|
+
d(e.$$.fragment, t), n = !1;
|
|
1883
|
+
},
|
|
1884
|
+
d(t) {
|
|
1885
|
+
L(e, t);
|
|
1886
|
+
}
|
|
1887
|
+
};
|
|
1888
|
+
}
|
|
1889
|
+
function Ot(a) {
|
|
1890
|
+
let e, n;
|
|
1891
|
+
return e = new P({
|
|
1892
|
+
props: {
|
|
1893
|
+
class: "relative h-full",
|
|
1894
|
+
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",
|
|
1895
|
+
contentClass: "absolute right-0 top-full z-50 flex min-w-[20rem] flex-col bg-uofg-grey [&>li]:contents",
|
|
1896
|
+
as: "ul",
|
|
1897
|
+
$$slots: {
|
|
1898
|
+
button: [Gt],
|
|
1899
|
+
default: [Ht]
|
|
1900
|
+
},
|
|
1901
|
+
$$scope: { ctx: a }
|
|
1902
|
+
}
|
|
1903
|
+
}), {
|
|
1904
|
+
c() {
|
|
1905
|
+
C(e.$$.fragment);
|
|
1906
|
+
},
|
|
1907
|
+
m(t, l) {
|
|
1908
|
+
N(e, t, l), n = !0;
|
|
1909
|
+
},
|
|
1910
|
+
p(t, l) {
|
|
1911
|
+
const s = {};
|
|
1912
|
+
l[0] & /*subNavigation*/
|
|
1913
|
+
1 | l[1] & /*$$scope*/
|
|
1914
|
+
16 && (s.$$scope = { dirty: l, ctx: t }), e.$set(s);
|
|
1915
|
+
},
|
|
1916
|
+
i(t) {
|
|
1917
|
+
n || (g(e.$$.fragment, t), n = !0);
|
|
1918
|
+
},
|
|
1919
|
+
o(t) {
|
|
1920
|
+
d(e.$$.fragment, t), n = !1;
|
|
1921
|
+
},
|
|
1922
|
+
d(t) {
|
|
1923
|
+
L(e, t);
|
|
1924
|
+
}
|
|
1925
|
+
};
|
|
1926
|
+
}
|
|
1927
|
+
function Pt(a) {
|
|
1928
|
+
let e, n = (
|
|
1929
|
+
/*item*/
|
|
1930
|
+
a[13].text + ""
|
|
1931
|
+
), t, l, s, r = [
|
|
1932
|
+
{
|
|
1933
|
+
class: "flex h-full items-center justify-center gap-2 px-4 transition-colors hover:bg-uofg-yellow"
|
|
1934
|
+
},
|
|
1935
|
+
{
|
|
1936
|
+
href: s = /*item*/
|
|
1937
|
+
a[13].href
|
|
1938
|
+
},
|
|
1939
|
+
/*item*/
|
|
1940
|
+
a[13].attributes
|
|
1941
|
+
], i = {};
|
|
1942
|
+
for (let o = 0; o < r.length; o += 1)
|
|
1943
|
+
i = G(i, r[o]);
|
|
1944
|
+
return {
|
|
1945
|
+
c() {
|
|
1946
|
+
e = b("a"), t = E(n), l = x(), W(e, i);
|
|
1947
|
+
},
|
|
1948
|
+
m(o, c) {
|
|
1949
|
+
m(o, e, c), h(e, t), h(e, l);
|
|
1950
|
+
},
|
|
1951
|
+
p(o, c) {
|
|
1952
|
+
c[0] & /*subNavigation*/
|
|
1953
|
+
1 && n !== (n = /*item*/
|
|
1954
|
+
o[13].text + "") && le(t, n, i.contenteditable), W(e, i = X(r, [
|
|
1955
|
+
{
|
|
1956
|
+
class: "flex h-full items-center justify-center gap-2 px-4 transition-colors hover:bg-uofg-yellow"
|
|
1957
|
+
},
|
|
1958
|
+
c[0] & /*subNavigation*/
|
|
1959
|
+
1 && s !== (s = /*item*/
|
|
1960
|
+
o[13].href) && { href: s },
|
|
1961
|
+
c[0] & /*subNavigation*/
|
|
1962
|
+
1 && /*item*/
|
|
1963
|
+
o[13].attributes
|
|
1964
|
+
]));
|
|
1965
|
+
},
|
|
1966
|
+
i: k,
|
|
1967
|
+
o: k,
|
|
1968
|
+
d(o) {
|
|
1969
|
+
o && v(e);
|
|
1970
|
+
}
|
|
1971
|
+
};
|
|
1972
|
+
}
|
|
1973
|
+
function qe(a) {
|
|
1974
|
+
let e, n, t = (
|
|
1975
|
+
/*link*/
|
|
1976
|
+
a[16].text + ""
|
|
1977
|
+
), l, s, r = [
|
|
1978
|
+
{
|
|
1979
|
+
class: "border-0 border-b border-solid border-uofg-grey-500 p-4 transition-colors hover:bg-uofg-yellow"
|
|
1980
|
+
},
|
|
1981
|
+
{
|
|
1982
|
+
href: s = /*link*/
|
|
1983
|
+
a[16].href
|
|
1984
|
+
},
|
|
1985
|
+
/*link*/
|
|
1986
|
+
a[16].attributes
|
|
1987
|
+
], i = {};
|
|
1988
|
+
for (let o = 0; o < r.length; o += 1)
|
|
1989
|
+
i = G(i, r[o]);
|
|
1990
|
+
return {
|
|
1991
|
+
c() {
|
|
1992
|
+
e = b("li"), n = b("a"), l = E(t), W(n, i);
|
|
1993
|
+
},
|
|
1994
|
+
m(o, c) {
|
|
1995
|
+
m(o, e, c), h(e, n), h(n, l);
|
|
1996
|
+
},
|
|
1997
|
+
p(o, c) {
|
|
1998
|
+
c[0] & /*subNavigation*/
|
|
1999
|
+
1 && t !== (t = /*link*/
|
|
2000
|
+
o[16].text + "") && le(l, t, i.contenteditable), W(n, i = X(r, [
|
|
2001
|
+
{
|
|
2002
|
+
class: "border-0 border-b border-solid border-uofg-grey-500 p-4 transition-colors hover:bg-uofg-yellow"
|
|
2003
|
+
},
|
|
2004
|
+
c[0] & /*subNavigation*/
|
|
2005
|
+
1 && s !== (s = /*link*/
|
|
2006
|
+
o[16].href) && { href: s },
|
|
2007
|
+
c[0] & /*subNavigation*/
|
|
2008
|
+
1 && /*link*/
|
|
2009
|
+
o[16].attributes
|
|
2010
|
+
]));
|
|
2011
|
+
},
|
|
2012
|
+
d(o) {
|
|
2013
|
+
o && v(e);
|
|
2014
|
+
}
|
|
2015
|
+
};
|
|
2016
|
+
}
|
|
2017
|
+
function Ht(a) {
|
|
2018
|
+
let e, n = j(
|
|
2019
|
+
/*item*/
|
|
2020
|
+
a[13].links
|
|
2021
|
+
), t = [];
|
|
2022
|
+
for (let l = 0; l < n.length; l += 1)
|
|
2023
|
+
t[l] = qe(ke(a, n, l));
|
|
2024
|
+
return {
|
|
2025
|
+
c() {
|
|
2026
|
+
for (let l = 0; l < t.length; l += 1)
|
|
2027
|
+
t[l].c();
|
|
2028
|
+
e = x();
|
|
2029
|
+
},
|
|
2030
|
+
m(l, s) {
|
|
2031
|
+
for (let r = 0; r < t.length; r += 1)
|
|
2032
|
+
t[r] && t[r].m(l, s);
|
|
2033
|
+
m(l, e, s);
|
|
2034
|
+
},
|
|
2035
|
+
p(l, s) {
|
|
2036
|
+
if (s[0] & /*subNavigation*/
|
|
2037
|
+
1) {
|
|
2038
|
+
n = j(
|
|
2039
|
+
/*item*/
|
|
2040
|
+
l[13].links
|
|
2041
|
+
);
|
|
2042
|
+
let r;
|
|
2043
|
+
for (r = 0; r < n.length; r += 1) {
|
|
2044
|
+
const i = ke(l, n, r);
|
|
2045
|
+
t[r] ? t[r].p(i, s) : (t[r] = qe(i), t[r].c(), t[r].m(e.parentNode, e));
|
|
2046
|
+
}
|
|
2047
|
+
for (; r < t.length; r += 1)
|
|
2048
|
+
t[r].d(1);
|
|
2049
|
+
t.length = n.length;
|
|
2050
|
+
}
|
|
2051
|
+
},
|
|
2052
|
+
d(l) {
|
|
2053
|
+
l && v(e), V(t, l);
|
|
2054
|
+
}
|
|
2055
|
+
};
|
|
2056
|
+
}
|
|
2057
|
+
function Gt(a) {
|
|
2058
|
+
let e, n, t = (
|
|
2059
|
+
/*item*/
|
|
2060
|
+
a[13].title + ""
|
|
2061
|
+
), l, s, r, i, o;
|
|
2062
|
+
return r = new q({ props: { icon: ne } }), {
|
|
2063
|
+
c() {
|
|
2064
|
+
e = b("span"), n = b("span"), l = E(t), s = x(), C(r.$$.fragment), i = x(), _(e, "class", "flex gap-2 [&>svg]:transition-transform"), _(e, "slot", "button");
|
|
2065
|
+
},
|
|
2066
|
+
m(c, f) {
|
|
2067
|
+
m(c, e, f), h(e, n), h(n, l), h(e, s), N(r, e, null), h(e, i), o = !0;
|
|
2068
|
+
},
|
|
2069
|
+
p(c, f) {
|
|
2070
|
+
(!o || f[0] & /*subNavigation*/
|
|
2071
|
+
1) && t !== (t = /*item*/
|
|
2072
|
+
c[13].title + "") && ee(l, t);
|
|
2073
|
+
},
|
|
2074
|
+
i(c) {
|
|
2075
|
+
o || (g(r.$$.fragment, c), o = !0);
|
|
2076
|
+
},
|
|
2077
|
+
o(c) {
|
|
2078
|
+
d(r.$$.fragment, c), o = !1;
|
|
2079
|
+
},
|
|
2080
|
+
d(c) {
|
|
2081
|
+
c && v(e), L(r);
|
|
2082
|
+
}
|
|
2083
|
+
};
|
|
2084
|
+
}
|
|
2085
|
+
function Ie(a, e) {
|
|
2086
|
+
let n, t, l, s, r;
|
|
2087
|
+
const i = [Pt, Ot], o = [];
|
|
2088
|
+
function c(f, u) {
|
|
2089
|
+
return (
|
|
2090
|
+
/*item*/
|
|
2091
|
+
f[13].text ? 0 : 1
|
|
2092
|
+
);
|
|
2093
|
+
}
|
|
2094
|
+
return t = c(e), l = o[t] = i[t](e), {
|
|
2095
|
+
key: a,
|
|
2096
|
+
first: null,
|
|
2097
|
+
c() {
|
|
2098
|
+
n = I(), l.c(), s = I(), this.first = n;
|
|
2099
|
+
},
|
|
2100
|
+
m(f, u) {
|
|
2101
|
+
m(f, n, u), o[t].m(f, u), m(f, s, u), r = !0;
|
|
2102
|
+
},
|
|
2103
|
+
p(f, u) {
|
|
2104
|
+
e = f;
|
|
2105
|
+
let p = t;
|
|
2106
|
+
t = c(e), t === p ? o[t].p(e, u) : (T(), d(o[p], 1, 1, () => {
|
|
2107
|
+
o[p] = null;
|
|
2108
|
+
}), U(), l = o[t], l ? l.p(e, u) : (l = o[t] = i[t](e), l.c()), g(l, 1), l.m(s.parentNode, s));
|
|
2109
|
+
},
|
|
2110
|
+
i(f) {
|
|
2111
|
+
r || (g(l), r = !0);
|
|
2112
|
+
},
|
|
2113
|
+
o(f) {
|
|
2114
|
+
d(l), r = !1;
|
|
2115
|
+
},
|
|
2116
|
+
d(f) {
|
|
2117
|
+
f && (v(n), v(s)), o[t].d(f);
|
|
2118
|
+
}
|
|
2119
|
+
};
|
|
2120
|
+
}
|
|
2121
|
+
function Vt(a) {
|
|
2122
|
+
let e, n, t, l, s, r, i, o, c, f, u, p, Z, w, A, J;
|
|
2123
|
+
Ve(
|
|
2124
|
+
/*onwindowresize*/
|
|
2125
|
+
a[10]
|
|
2126
|
+
);
|
|
2127
|
+
let $ = (
|
|
2128
|
+
/*windowWidth*/
|
|
2129
|
+
a[3] >= F && Ze(a)
|
|
2130
|
+
), M = (
|
|
2131
|
+
/*windowWidth*/
|
|
2132
|
+
a[3] >= F && Me()
|
|
2133
|
+
);
|
|
2134
|
+
const fe = [kt, $t], H = [];
|
|
2135
|
+
function ue(y, B) {
|
|
2136
|
+
return (
|
|
2137
|
+
/*windowWidth*/
|
|
2138
|
+
y[3] >= F ? 0 : 1
|
|
2139
|
+
);
|
|
2140
|
+
}
|
|
2141
|
+
i = ue(a), o = H[i] = fe[i](a);
|
|
2142
|
+
const _e = [xt, yt], O = [];
|
|
2143
|
+
function he(y, B) {
|
|
2144
|
+
return (
|
|
2145
|
+
/*windowWidth*/
|
|
2146
|
+
y[3] >= F ? 0 : 1
|
|
2147
|
+
);
|
|
2148
|
+
}
|
|
2149
|
+
u = he(a), p = O[u] = _e[u](a);
|
|
2150
|
+
let S = (
|
|
2151
|
+
/*subNavigation*/
|
|
2152
|
+
(a[0].length > 0 || /*pageTitle*/
|
|
2153
|
+
a[1]) && Fe(a)
|
|
2154
|
+
);
|
|
2155
|
+
return {
|
|
2156
|
+
c() {
|
|
2157
|
+
e = b("header"), $ && $.c(), n = x(), t = b("nav"), l = b("div"), M && M.c(), s = x(), r = b("a"), o.c(), f = x(), p.c(), Z = x(), S && S.c(), _(r, "class", c = `flex 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 ${/*windowWidth*/
|
|
2158
|
+
a[3] >= F ? "[&>svg]:w-[18.4rem]" : "[&>svg]:w-[5rem]"}`), _(r, "href", "https://www.uoguelph.ca"), _(r, "aria-label", "University of Guelph Home Page"), _(l, "class", "flex w-fit"), _(t, "class", "relative w-full justify-between flex h-[5rem] lg:h-[10rem] bg-black px-[calc((100%-1320px)/2)] text-3xl text-white"), _(t, "aria-label", "Primary"), _(e, "class", "relative w-full font-condensed text-3xl text-black");
|
|
2159
|
+
},
|
|
2160
|
+
m(y, B) {
|
|
2161
|
+
m(y, e, B), $ && $.m(e, null), h(e, n), h(e, t), h(t, l), M && M.m(l, null), h(l, s), h(l, r), H[i].m(r, null), h(t, f), O[u].m(t, null), h(e, Z), S && S.m(e, null), w = !0, A || (J = ae(
|
|
2162
|
+
Xe,
|
|
2163
|
+
"resize",
|
|
2164
|
+
/*onwindowresize*/
|
|
2165
|
+
a[10]
|
|
2166
|
+
), A = !0);
|
|
2167
|
+
},
|
|
2168
|
+
p(y, B) {
|
|
2169
|
+
/*windowWidth*/
|
|
2170
|
+
y[3] >= F ? $ ? ($.p(y, B), B[0] & /*windowWidth*/
|
|
2171
|
+
8 && g($, 1)) : ($ = Ze(y), $.c(), g($, 1), $.m(e, n)) : $ && (T(), d($, 1, 1, () => {
|
|
2172
|
+
$ = null;
|
|
2173
|
+
}), U()), /*windowWidth*/
|
|
2174
|
+
y[3] >= F ? M ? B[0] & /*windowWidth*/
|
|
2175
|
+
8 && g(M, 1) : (M = Me(), M.c(), g(M, 1), M.m(l, s)) : M && (T(), d(M, 1, 1, () => {
|
|
2176
|
+
M = null;
|
|
2177
|
+
}), U());
|
|
2178
|
+
let re = i;
|
|
2179
|
+
i = ue(y), i !== re && (T(), d(H[re], 1, 1, () => {
|
|
2180
|
+
H[re] = null;
|
|
2181
|
+
}), U(), o = H[i], o || (o = H[i] = fe[i](y), o.c()), g(o, 1), o.m(r, null)), (!w || B[0] & /*windowWidth*/
|
|
2182
|
+
8 && c !== (c = `flex 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 ${/*windowWidth*/
|
|
2183
|
+
y[3] >= F ? "[&>svg]:w-[18.4rem]" : "[&>svg]:w-[5rem]"}`)) && _(r, "class", c);
|
|
2184
|
+
let oe = u;
|
|
2185
|
+
u = he(y), u === oe ? O[u].p(y, B) : (T(), d(O[oe], 1, 1, () => {
|
|
2186
|
+
O[oe] = null;
|
|
2187
|
+
}), U(), p = O[u], p ? p.p(y, B) : (p = O[u] = _e[u](y), p.c()), g(p, 1), p.m(t, null)), /*subNavigation*/
|
|
2188
|
+
y[0].length > 0 || /*pageTitle*/
|
|
2189
|
+
y[1] ? S ? (S.p(y, B), B[0] & /*subNavigation, pageTitle*/
|
|
2190
|
+
3 && g(S, 1)) : (S = Fe(y), S.c(), g(S, 1), S.m(e, null)) : S && (T(), d(S, 1, 1, () => {
|
|
2191
|
+
S = null;
|
|
2192
|
+
}), U());
|
|
2193
|
+
},
|
|
2194
|
+
i(y) {
|
|
2195
|
+
w || (g($), g(M), g(o), g(p), g(S), w = !0);
|
|
2196
|
+
},
|
|
2197
|
+
o(y) {
|
|
2198
|
+
d($), d(M), d(o), d(p), d(S), w = !1;
|
|
2199
|
+
},
|
|
2200
|
+
d(y) {
|
|
2201
|
+
y && v(e), $ && $.d(), M && M.d(), H[i].d(), O[u].d(), S && S.d(), A = !1, J();
|
|
2202
|
+
}
|
|
2203
|
+
};
|
|
2204
|
+
}
|
|
2205
|
+
const F = 1024, Dt = 35;
|
|
2206
|
+
function Qt(a, e, n) {
|
|
2207
|
+
const t = [
|
|
2208
|
+
{
|
|
2209
|
+
text: "Give",
|
|
2210
|
+
href: "https://bbis.alumni.uoguelph.ca/BBIS_Cannon/give/uofg"
|
|
2211
|
+
},
|
|
2212
|
+
{
|
|
2213
|
+
text: "News",
|
|
2214
|
+
href: "https://news.uoguelph.ca/"
|
|
2215
|
+
},
|
|
2216
|
+
{
|
|
2217
|
+
text: "Quick Links",
|
|
2218
|
+
links: [
|
|
2219
|
+
{
|
|
2220
|
+
text: "Future Students",
|
|
2221
|
+
href: "https://uoguelph.ca/future-ready"
|
|
2222
|
+
},
|
|
2223
|
+
{
|
|
2224
|
+
text: "Current Students",
|
|
2225
|
+
href: "https://www.uoguelph.ca/students"
|
|
2226
|
+
},
|
|
2227
|
+
{
|
|
2228
|
+
text: "Alumni & Donors",
|
|
2229
|
+
href: "https://alumni.uoguelph.ca/"
|
|
2230
|
+
},
|
|
2231
|
+
{
|
|
2232
|
+
text: "Faculty & Staff",
|
|
2233
|
+
href: "https://www.uoguelph.ca/faculty"
|
|
2234
|
+
},
|
|
2235
|
+
{
|
|
2236
|
+
text: "Employers & Partners",
|
|
2237
|
+
href: "https://cecs.uoguelph.ca/employers-institutions"
|
|
2238
|
+
}
|
|
2239
|
+
]
|
|
2240
|
+
},
|
|
2241
|
+
{
|
|
2242
|
+
text: "APPLY NOW",
|
|
2243
|
+
href: "https://uoguelph.ca/apply/",
|
|
2244
|
+
highlight: !0
|
|
2245
|
+
}
|
|
2246
|
+
], l = [
|
|
2247
|
+
{
|
|
2248
|
+
text: "About",
|
|
2249
|
+
href: "https://uoguelph.ca/about"
|
|
2250
|
+
},
|
|
2251
|
+
{
|
|
2252
|
+
text: "Academics",
|
|
2253
|
+
href: "https://www.uoguelph.ca/explore-all-programs/"
|
|
2254
|
+
},
|
|
2255
|
+
{
|
|
2256
|
+
text: "Admission",
|
|
2257
|
+
href: "https://uoguelph.ca/admissions"
|
|
2258
|
+
},
|
|
2259
|
+
{
|
|
2260
|
+
text: "Research",
|
|
2261
|
+
href: "https://uoguelph.ca/research"
|
|
2262
|
+
},
|
|
2263
|
+
{
|
|
2264
|
+
text: "Student Life",
|
|
2265
|
+
href: "https://www.uoguelph.ca/studentexperience/"
|
|
2266
|
+
}
|
|
2267
|
+
], s = {
|
|
2268
|
+
text: "Search the University of Guelph",
|
|
2269
|
+
href: "https://uoguelph.ca/search",
|
|
2270
|
+
icon: lt
|
|
2271
|
+
}, r = {
|
|
2272
|
+
text: "Account Menu",
|
|
2273
|
+
links: [
|
|
2274
|
+
{
|
|
2275
|
+
text: "Intranet",
|
|
2276
|
+
href: "https://intranet.uoguelph.ca/"
|
|
2277
|
+
},
|
|
2278
|
+
{
|
|
2279
|
+
text: "WebAdvisor",
|
|
2280
|
+
href: "https://www.uoguelph.ca/webadvisor/"
|
|
2281
|
+
},
|
|
2282
|
+
{
|
|
2283
|
+
text: "GryphMail",
|
|
2284
|
+
href: "https://mail.uoguelph.ca/"
|
|
2285
|
+
},
|
|
2286
|
+
{
|
|
2287
|
+
text: "CourseLink",
|
|
2288
|
+
href: "https://courselink.uoguelph.ca/"
|
|
2289
|
+
},
|
|
2290
|
+
{
|
|
2291
|
+
text: "GryphLife",
|
|
2292
|
+
href: "https://gryphlife.uoguelph.ca/"
|
|
2293
|
+
}
|
|
2294
|
+
],
|
|
2295
|
+
icon: nt
|
|
2296
|
+
};
|
|
2297
|
+
let i, o, c = !1, { subNavigation: f } = e, { pageTitle: u } = e, { pageURL: p } = e;
|
|
2298
|
+
function Z() {
|
|
2299
|
+
n(3, i = Xe.innerWidth);
|
|
2300
|
+
}
|
|
2301
|
+
function w(A) {
|
|
2302
|
+
rt[A ? "unshift" : "push"](() => {
|
|
2303
|
+
o = A, n(4, o);
|
|
2304
|
+
});
|
|
2305
|
+
}
|
|
2306
|
+
return a.$$set = (A) => {
|
|
2307
|
+
"subNavigation" in A && n(0, f = A.subNavigation), "pageTitle" in A && n(1, u = A.pageTitle), "pageURL" in A && n(2, p = A.pageURL);
|
|
2308
|
+
}, a.$$.update = () => {
|
|
2309
|
+
a.$$.dirty[0] & /*windowWidth, subNavigationElement, subNavigationIsOverflowing*/
|
|
2310
|
+
56 && window.requestAnimationFrame(() => {
|
|
2311
|
+
i >= F && o && !c && n(5, c = o.offsetWidth > o.parentElement.offsetWidth);
|
|
2312
|
+
});
|
|
2313
|
+
}, [
|
|
2314
|
+
f,
|
|
2315
|
+
u,
|
|
2316
|
+
p,
|
|
2317
|
+
i,
|
|
2318
|
+
o,
|
|
2319
|
+
c,
|
|
2320
|
+
t,
|
|
2321
|
+
l,
|
|
2322
|
+
s,
|
|
2323
|
+
r,
|
|
2324
|
+
Z,
|
|
2325
|
+
w
|
|
2326
|
+
];
|
|
2327
|
+
}
|
|
2328
|
+
class Yt extends Y {
|
|
2329
|
+
constructor(e) {
|
|
2330
|
+
super(), K(
|
|
2331
|
+
this,
|
|
2332
|
+
e,
|
|
2333
|
+
Qt,
|
|
2334
|
+
Vt,
|
|
2335
|
+
D,
|
|
2336
|
+
{
|
|
2337
|
+
subNavigation: 0,
|
|
2338
|
+
pageTitle: 1,
|
|
2339
|
+
pageURL: 2
|
|
2340
|
+
},
|
|
2341
|
+
null,
|
|
2342
|
+
[-1, -1]
|
|
2343
|
+
);
|
|
2344
|
+
}
|
|
2345
|
+
get subNavigation() {
|
|
2346
|
+
return this.$$.ctx[0];
|
|
2347
|
+
}
|
|
2348
|
+
set subNavigation(e) {
|
|
2349
|
+
this.$$set({ subNavigation: e }), R();
|
|
2350
|
+
}
|
|
2351
|
+
get pageTitle() {
|
|
2352
|
+
return this.$$.ctx[1];
|
|
2353
|
+
}
|
|
2354
|
+
set pageTitle(e) {
|
|
2355
|
+
this.$$set({ pageTitle: e }), R();
|
|
2356
|
+
}
|
|
2357
|
+
get pageURL() {
|
|
2358
|
+
return this.$$.ctx[2];
|
|
2359
|
+
}
|
|
2360
|
+
set pageURL(e) {
|
|
2361
|
+
this.$$set({ pageURL: e }), R();
|
|
2362
|
+
}
|
|
2363
|
+
}
|
|
2364
|
+
customElements.define("uofg-header", Q(Yt, { subNavigation: {}, pageTitle: { reflect: !0, type: "String", attribute: "page-title" }, pageURL: { reflect: !0, type: "String", attribute: "page-url" } }, [], [], !0, (a) => class extends a {
|
|
2365
|
+
constructor() {
|
|
2366
|
+
super(), tt(this.shadowRoot);
|
|
2367
|
+
}
|
|
2368
|
+
connectedCallback() {
|
|
2369
|
+
super.connectedCallback(), this.updateSubNavigation(), this.observer ?? (this.observer = new MutationObserver(() => {
|
|
2370
|
+
this.updateSubNavigation();
|
|
2371
|
+
})), this.observer.observe(this, { childList: !0, subtree: !0 });
|
|
2372
|
+
}
|
|
2373
|
+
disconnectedCallback() {
|
|
2374
|
+
super.disconnectedCallback(), this.observer.disconnect();
|
|
2375
|
+
}
|
|
2376
|
+
updateSubNavigation() {
|
|
2377
|
+
const e = (n) => {
|
|
2378
|
+
const t = {};
|
|
2379
|
+
return n.getAttributeNames().filter((l) => l !== "href").forEach((l) => t[l] = n.getAttribute(l)), {
|
|
2380
|
+
href: n.getAttribute("href"),
|
|
2381
|
+
text: n.textContent,
|
|
2382
|
+
attributes: t
|
|
2383
|
+
};
|
|
2384
|
+
};
|
|
2385
|
+
this.subNavigation = Array.from(this.children).filter((n) => n.tagName === "A" || n.tagName === "UL").map((n) => {
|
|
2386
|
+
switch (n.tagName) {
|
|
2387
|
+
case "A":
|
|
2388
|
+
return e(n);
|
|
2389
|
+
case "UL":
|
|
2390
|
+
const t = {
|
|
2391
|
+
title: n.getAttribute("data-title"),
|
|
2392
|
+
links: Array.from(n.querySelectorAll("a")).map(e)
|
|
2393
|
+
};
|
|
2394
|
+
return t.wrapContent = t.links.reduce(
|
|
2395
|
+
(l, s) => (s.text.length > Dt && (l = !0), l),
|
|
2396
|
+
!1
|
|
2397
|
+
), t;
|
|
2398
|
+
}
|
|
2399
|
+
}).filter((n) => !!n);
|
|
2400
|
+
}
|
|
2401
|
+
}));
|
|
2402
|
+
export {
|
|
2403
|
+
Yt as default
|
|
2404
|
+
};
|