@uoguelph/web-components 1.9.0-rc.8 → 1.9.0-rc.9
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/dist/uofg-web-components/{font-awesome-icon-DS3QHgPg.js → bundle-mjs-BDxvNl4x.js} +390 -375
- package/dist/uofg-web-components/{legacy-znqGHd23.js → legacy-CiXHZGcB.js} +12 -12
- package/dist/uofg-web-components/{slot-C9Xuadhw.js → slot-DDCVqxeF.js} +1 -1
- package/dist/uofg-web-components/uofg-alert.esm.js +10 -11
- package/dist/uofg-web-components/uofg-back-to-top.esm.js +7 -8
- package/dist/uofg-web-components/uofg-footer.esm.js +150 -148
- package/dist/uofg-web-components/uofg-header.esm.js +12 -13
- package/dist/uofg-web-components/uofg-modal.esm.js +65 -66
- package/dist/uofg-web-components/{window-CLG-P9gm.js → window-B5VNuvDD.js} +1 -1
- package/package.json +1 -1
- package/dist/uofg-web-components/bundle-mjs-BpzLJ4dA.js +0 -17
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function
|
|
3
|
-
var r = t, n =
|
|
1
|
+
import { _ as d, $ as g, a0 as b, ai as h, a8 as m, H as v, a4 as y, aG as k, u as c, C as E, aH as l, l as u, an as T, aI as x, aJ as A, m as C, aK as F } from "./bundle-mjs-BDxvNl4x.js";
|
|
2
|
+
function N(t, s, ...a) {
|
|
3
|
+
var r = t, n = h, e;
|
|
4
4
|
d(() => {
|
|
5
|
-
n !== (n = s()) && (e && (
|
|
5
|
+
n !== (n = s()) && (e && (m(e), e = null), e = b(() => (
|
|
6
6
|
/** @type {SnippetFn} */
|
|
7
7
|
n(r, ...a)
|
|
8
8
|
)));
|
|
9
9
|
}, g), v && (r = y);
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function R(t = !1) {
|
|
12
12
|
const s = (
|
|
13
13
|
/** @type {ComponentContextLegacy} */
|
|
14
|
-
|
|
14
|
+
T
|
|
15
15
|
), a = s.l.u;
|
|
16
16
|
if (!a) return;
|
|
17
|
-
let r = () =>
|
|
17
|
+
let r = () => A(s.s);
|
|
18
18
|
if (t) {
|
|
19
19
|
let n = 0, e = (
|
|
20
20
|
/** @type {Record<string, any>} */
|
|
21
21
|
{}
|
|
22
22
|
);
|
|
23
|
-
const _ =
|
|
23
|
+
const _ = C(() => {
|
|
24
24
|
let i = !1;
|
|
25
25
|
const o = s.s;
|
|
26
26
|
for (const f in o)
|
|
@@ -32,7 +32,7 @@ function B(t = !1) {
|
|
|
32
32
|
a.b.length && k(() => {
|
|
33
33
|
p(s, r), l(a.b);
|
|
34
34
|
}), c(() => {
|
|
35
|
-
const n = E(() => a.m.map(
|
|
35
|
+
const n = E(() => a.m.map(x));
|
|
36
36
|
return () => {
|
|
37
37
|
for (const e of n)
|
|
38
38
|
typeof e == "function" && e();
|
|
@@ -46,8 +46,8 @@ function p(t, s) {
|
|
|
46
46
|
for (const a of t.l.s) u(a);
|
|
47
47
|
s();
|
|
48
48
|
}
|
|
49
|
-
|
|
49
|
+
F();
|
|
50
50
|
export {
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
R as i,
|
|
52
|
+
N as s
|
|
53
53
|
};
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { c as w, p as E, a as F, F as j, s as v, t as b, b as k, d as z, e as C, f as J, g as R, h as S, i as T, j as o, k as d, l as U, m as q, n as A, r } from "./
|
|
2
|
-
import { s as
|
|
3
|
-
import { t as D } from "./bundle-mjs-BpzLJ4dA.js";
|
|
1
|
+
import { c as w, p as E, a as F, F as j, s as v, t as b, b as k, d as z, e as C, f as J, g as R, h as S, i as T, j as o, k as d, l as U, m as q, n as A, o as B, r } from "./bundle-mjs-BDxvNl4x.js";
|
|
2
|
+
import { s as D, a as i } from "./slot-DDCVqxeF.js";
|
|
4
3
|
var G = J('<div class="flex flex-col"><div><!> <!></div> <div><!> <span><!></span></div> <div class="flex bg-grey-light text-grey-light-contrast"><!></div></div>');
|
|
5
4
|
function H(c, t) {
|
|
6
|
-
const e =
|
|
5
|
+
const e = D(t);
|
|
7
6
|
E(t, !0);
|
|
8
7
|
let s = F(t, "color", 7, "red");
|
|
9
|
-
var
|
|
10
|
-
const x = q(() => A(
|
|
8
|
+
var g = G(), l = o(g);
|
|
9
|
+
const x = q(() => A(B("flex items-center p-4 text-lg [&>svg]:mr-4 [&>svg]:h-[1.5em] [&>svg]:fill-current", s() === "red" && "bg-red text-red-contrast", s() === "yellow" && "bg-yellow text-yellow-contrast", s() === "blue" && "bg-blue text-blue-contrast", s() === "green" && "bg-green text-green-contrast")));
|
|
11
10
|
var u = o(l);
|
|
12
11
|
j(u, { icon: R });
|
|
13
12
|
var _ = d(u, 2);
|
|
@@ -16,14 +15,14 @@ function H(c, t) {
|
|
|
16
15
|
v(a, 'flex flex-col bg-white px-6 py-3 [&>slot[name="subtitle"]::slotted(*)]:mb-4 [&>slot[name="subtitle"]::slotted(*)]:text-xl [&>slot[name="subtitle"]::slotted(*)]:font-bold border-grey-muted border-t-0 border'), b(a, "border-b", !(e != null && e.footer));
|
|
17
16
|
var f = o(a);
|
|
18
17
|
i(f, t, "subtitle", {});
|
|
19
|
-
var
|
|
20
|
-
v(
|
|
21
|
-
var h = o(
|
|
22
|
-
i(h, t, "message", {}), r(
|
|
18
|
+
var m = d(f, 2);
|
|
19
|
+
v(m, '[&>slot[name="message"]::slotted(*)]:text-base [&>slot[name="message"]::slotted(a)]:text-blue-text [&>slot[name="message"]::slotted(a)]:px-1 [&>slot[name="message"]::slotted(a:hover)]:bg-blue [&>slot[name="message"]::slotted(a:hover)]:text-blue-contrast [&>slot[name="message"]::slotted(a:hover)]:transition-colors [&>slot[name="message"]::slotted(a:hover)]:decoration-transparent');
|
|
20
|
+
var h = o(m);
|
|
21
|
+
i(h, t, "message", {}), r(m), r(a);
|
|
23
22
|
var n = d(a, 2);
|
|
24
23
|
b(n, "px-4", e == null ? void 0 : e.footer), b(n, "py-2", e == null ? void 0 : e.footer);
|
|
25
24
|
var p = o(n);
|
|
26
|
-
return i(p, t, "footer", {}), r(n), r(
|
|
25
|
+
return i(p, t, "footer", {}), r(n), r(g), k(() => v(l, U(x))), z(c, g), C({
|
|
27
26
|
get color() {
|
|
28
27
|
return s();
|
|
29
28
|
},
|
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { b as
|
|
3
|
-
import { t as C } from "./bundle-mjs-BpzLJ4dA.js";
|
|
1
|
+
import { q as b, c as m, p as _, u as h, F as v, b as x, d as w, e as g, f as k, v as c, l as e, w as y, x as T, i as j, y as n, j as l, s as z, m as F, n as U, o as q, r as i, z as B } from "./bundle-mjs-BDxvNl4x.js";
|
|
2
|
+
import { b as C } from "./window-B5VNuvDD.js";
|
|
4
3
|
const E = () => {
|
|
5
4
|
window.scroll({ top: 0, left: 0, behavior: "smooth" });
|
|
6
5
|
};
|
|
7
6
|
var J = k('<button><span aria-hidden="true"><!></span> <span class="sr-only">Back to top of page</span></button>');
|
|
8
7
|
function R(s, p) {
|
|
9
8
|
_(p, !0);
|
|
10
|
-
let
|
|
9
|
+
let o = n(!1), a = n(0);
|
|
11
10
|
h(() => {
|
|
12
|
-
c(
|
|
11
|
+
c(o, e(a) > 50);
|
|
13
12
|
});
|
|
14
13
|
var t = J();
|
|
15
14
|
t.__click = [E];
|
|
16
|
-
const d =
|
|
17
|
-
var r =
|
|
18
|
-
v(f, { icon: y }),
|
|
15
|
+
const d = F(() => U(q("flex z-10 justify-center items-center text-lg w-10 h-10 border border-white bg-black text-black-contrast fixed bottom-8 right-8 hover:bg-red focus:bg-red hover:text-red-contrast focus:text-red-contrast transition", e(o) ? "opacity-100" : "opacity-0")));
|
|
16
|
+
var r = l(t), f = l(r);
|
|
17
|
+
v(f, { icon: y }), i(r), B(2), i(t), x(() => z(t, e(d))), C("y", () => e(a), (u) => c(a, T(u))), w(s, t), g();
|
|
19
18
|
}
|
|
20
19
|
b(["click"]);
|
|
21
20
|
customElements.define("uofg-back-to-top", m(R, {}, [], [], !0, (s) => class extends s {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { c as m, p as
|
|
2
|
-
import { i as
|
|
3
|
-
var
|
|
4
|
-
function
|
|
5
|
-
|
|
6
|
-
let t =
|
|
7
|
-
var s =
|
|
1
|
+
import { c as m, p as V, a as M, J as I, b as k, d as h, K as G, e as z, h as C, f as x, E as L, L as b, l as p, j as u, r as o, M as X, N as Z, O as q, P as B, Q as J, R as K, T as Q, U as T, V as ee, W as te, F as ae, s as re, X as U, n as se, o as oe, Y as H, z as P, k as g, Z as ie, i as ne } from "./bundle-mjs-BDxvNl4x.js";
|
|
2
|
+
import { i as $, s as le } from "./legacy-CiXHZGcB.js";
|
|
3
|
+
var ce = x('<li class="p-3"><a class="transition-all decoration-transparent text-blue hover:text-blue-focus focus:text-blue-focus hover:underline focus:underline hover:decoration-current focus:decoration-current"> </a></li>'), ue = x('<ul class="flex flex-wrap items-center justify-center bg-white p-3 px-[max(calc((100%-1320px)/2),2rem)]"></ul>');
|
|
4
|
+
function E(i, e) {
|
|
5
|
+
V(e, !0);
|
|
6
|
+
let t = M(e, "links", 7);
|
|
7
|
+
var s = ue();
|
|
8
8
|
return I(s, 21, t, G, (r, l) => {
|
|
9
|
-
let
|
|
10
|
-
var a =
|
|
11
|
-
o(c), o(a),
|
|
12
|
-
|
|
9
|
+
let n = () => p(l).text, f = () => p(l).href;
|
|
10
|
+
var a = ce(), c = u(a), d = u(c, !0);
|
|
11
|
+
o(c), o(a), k(() => {
|
|
12
|
+
L(c, "href", f()), b(d, n());
|
|
13
13
|
}), h(r, a);
|
|
14
|
-
}), o(s), h(
|
|
14
|
+
}), o(s), h(i, s), z({
|
|
15
15
|
get links() {
|
|
16
16
|
return t();
|
|
17
17
|
},
|
|
@@ -20,8 +20,8 @@ function U(n, e) {
|
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
|
-
m(
|
|
24
|
-
var
|
|
23
|
+
m(E, { links: {} }, [], [], !0);
|
|
24
|
+
var fe = X(`<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 718.9 79.5"><defs><style>.st0 {
|
|
25
25
|
fill: #fff;
|
|
26
26
|
font-family: MyriadPro-Regular, 'Myriad Pro';
|
|
27
27
|
font-size: 44.3px;
|
|
@@ -38,95 +38,95 @@ var ce = j(`<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" version="1.1" v
|
|
|
38
38
|
.st3 {
|
|
39
39
|
fill: #e51937;
|
|
40
40
|
}</style></defs><g><rect class="st2" x="1.5" y="1.5" width="715.9" height="76.5"></rect><path class="st3" d="M715.9,3v73.5H3V3h712.9M718.9,0H0v79.5h718.9V0h0Z"></path></g><g class="st1"><text class="st0" transform="translate(107.3 54.3)"><tspan x="0" y="0">IMP</tspan></text><text class="st0" transform="translate(177 54.3)"><tspan x="0" y="0">R</tspan></text><text class="st0" transform="translate(201 54.3)"><tspan x="0" y="0">OVE LIFE NO PADDING</tspan></text></g></svg>`);
|
|
41
|
-
function
|
|
42
|
-
var e =
|
|
43
|
-
h(
|
|
41
|
+
function O(i) {
|
|
42
|
+
var e = fe();
|
|
43
|
+
h(i, e);
|
|
44
44
|
}
|
|
45
|
-
m(
|
|
46
|
-
var
|
|
47
|
-
function
|
|
48
|
-
var e =
|
|
49
|
-
|
|
45
|
+
m(O, {}, [], [], !0);
|
|
46
|
+
var he = x('<a href="https://www.uoguelph.ca/improve-life" aria-label="Improve Life" class="flex transition-opacity md:h-[3.5em] focus:opacity-75 hover:opacity-75 [&>svg]:block [&>svg]:w-full"><!></a>');
|
|
47
|
+
function R(i) {
|
|
48
|
+
var e = he(), t = u(e);
|
|
49
|
+
O(t), o(e), h(i, e);
|
|
50
50
|
}
|
|
51
|
-
m(
|
|
51
|
+
m(R, {}, [], [], !0);
|
|
52
52
|
/*!
|
|
53
53
|
* Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
|
|
54
54
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
55
55
|
* Copyright 2024 Fonticons, Inc.
|
|
56
56
|
*/
|
|
57
|
-
const
|
|
57
|
+
const de = {
|
|
58
58
|
prefix: "fab",
|
|
59
|
-
iconName: "
|
|
60
|
-
icon: [448, 512, [], "
|
|
61
|
-
},
|
|
59
|
+
iconName: "linkedin-in",
|
|
60
|
+
icon: [448, 512, [], "f0e1", "M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"]
|
|
61
|
+
}, pe = {
|
|
62
62
|
prefix: "fab",
|
|
63
|
-
iconName: "
|
|
64
|
-
icon: [
|
|
65
|
-
}, de = he, pe = {
|
|
66
|
-
prefix: "fab",
|
|
67
|
-
iconName: "linkedin",
|
|
68
|
-
icon: [448, 512, [], "f08c", "M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"]
|
|
63
|
+
iconName: "facebook-f",
|
|
64
|
+
icon: [320, 512, [], "f39e", "M80 299.3V512H196V299.3h86.5l18-97.8H196V166.9c0-51.7 20.3-71.5 72.7-71.5c16.3 0 29.4 .4 37 1.2V7.9C291.4 4 256.4 0 236.2 0C129.3 0 80 50.5 80 159.4v42.1H14v97.8H80z"]
|
|
69
65
|
}, ve = {
|
|
66
|
+
prefix: "fab",
|
|
67
|
+
iconName: "x-twitter",
|
|
68
|
+
icon: [512, 512, [], "e61b", "M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"]
|
|
69
|
+
}, ge = {
|
|
70
|
+
prefix: "fab",
|
|
71
|
+
iconName: "tiktok",
|
|
72
|
+
icon: [448, 512, [], "e07b", "M448,209.91a210.06,210.06,0,0,1-122.77-39.25V349.38A162.55,162.55,0,1,1,185,188.31V278.2a74.62,74.62,0,1,0,52.23,71.18V0l88,0a121.18,121.18,0,0,0,1.86,22.17h0A122.18,122.18,0,0,0,381,102.39a121.43,121.43,0,0,0,67,20.14Z"]
|
|
73
|
+
}, xe = {
|
|
70
74
|
prefix: "fab",
|
|
71
75
|
iconName: "instagram",
|
|
72
76
|
icon: [448, 512, [], "f16d", "M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"]
|
|
73
|
-
},
|
|
77
|
+
}, we = {
|
|
74
78
|
prefix: "fab",
|
|
75
79
|
iconName: "youtube",
|
|
76
80
|
icon: [576, 512, [61802], "f167", "M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"]
|
|
77
|
-
},
|
|
78
|
-
prefix: "fab",
|
|
79
|
-
iconName: "square-x-twitter",
|
|
80
|
-
icon: [448, 512, [], "e61a", "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm297.1 84L257.3 234.6 379.4 396H283.8L209 298.1 123.3 396H75.8l111-126.9L69.7 116h98l67.7 89.5L313.6 116h47.5zM323.3 367.6L153.4 142.9H125.1L296.9 367.6h26.3z"]
|
|
81
|
-
}, O = {
|
|
81
|
+
}, D = {
|
|
82
82
|
directory: "https://www.uoguelph.ca/web/socialmedia/",
|
|
83
83
|
links: [
|
|
84
84
|
{
|
|
85
85
|
text: "X",
|
|
86
|
-
icon:
|
|
86
|
+
icon: ve,
|
|
87
87
|
href: "https://twitter.com/uofg",
|
|
88
|
-
classes: "focus:text-
|
|
88
|
+
classes: "focus:text-black hover:text-black focus:bg-white hover:bg-white"
|
|
89
89
|
},
|
|
90
90
|
{
|
|
91
91
|
text: "Facebook",
|
|
92
|
-
icon:
|
|
92
|
+
icon: pe,
|
|
93
93
|
href: "https://www.facebook.com/uofguelph",
|
|
94
|
-
classes: "focus:text-[#
|
|
94
|
+
classes: "focus:text-white hover:text-white focus:bg-[#0866ff] hover:bg-[#0866ff]"
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
97
|
text: "Instagram",
|
|
98
|
-
icon:
|
|
98
|
+
icon: xe,
|
|
99
99
|
href: "https://www.instagram.com/uofguelph/",
|
|
100
|
-
classes: "focus:text-[#
|
|
100
|
+
classes: "focus:text-white hover:text-white focus:bg-[#d62976] hover:bg-[#d62976]"
|
|
101
101
|
},
|
|
102
102
|
{
|
|
103
103
|
text: "Youtube",
|
|
104
|
-
icon:
|
|
104
|
+
icon: we,
|
|
105
105
|
href: "https://www.youtube.com/user/uofguelph",
|
|
106
|
-
classes: "focus:text-[#
|
|
106
|
+
classes: "focus:text-white hover:text-white focus:bg-[#ff0000] hover:bg-[#ff0000]"
|
|
107
107
|
},
|
|
108
108
|
{
|
|
109
109
|
text: "LinkedIn",
|
|
110
|
-
icon:
|
|
110
|
+
icon: de,
|
|
111
111
|
href: "https://www.linkedin.com/school/university-of-guelph/",
|
|
112
|
-
classes: "focus:text-[#
|
|
112
|
+
classes: "focus:text-white hover:text-white focus:bg-[#0a66c2] hover:bg-[#0a66c2]"
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
115
|
text: "TikTok",
|
|
116
|
-
icon:
|
|
116
|
+
icon: ge,
|
|
117
117
|
href: "https://www.tiktok.com/@uofguelph",
|
|
118
|
-
classes: "focus:text-
|
|
118
|
+
classes: "focus:text-black hover:text-black focus:bg-white hover:bg-white"
|
|
119
119
|
}
|
|
120
120
|
]
|
|
121
|
-
},
|
|
121
|
+
}, be = [
|
|
122
122
|
{
|
|
123
123
|
text: "Accessibility",
|
|
124
|
-
icon:
|
|
124
|
+
icon: Z,
|
|
125
125
|
href: "https://www.uoguelph.ca/diversity-human-rights/accessibility-u-g"
|
|
126
126
|
},
|
|
127
127
|
{
|
|
128
128
|
text: "Privacy",
|
|
129
|
-
icon:
|
|
129
|
+
icon: q,
|
|
130
130
|
href: "https://www.uoguelph.ca/web/privacy/"
|
|
131
131
|
},
|
|
132
132
|
{
|
|
@@ -136,38 +136,38 @@ const fe = {
|
|
|
136
136
|
},
|
|
137
137
|
{
|
|
138
138
|
text: "Status Page",
|
|
139
|
-
icon:
|
|
139
|
+
icon: J,
|
|
140
140
|
href: "https://uoguelph.statuspage.io/"
|
|
141
141
|
},
|
|
142
142
|
{
|
|
143
143
|
text: "Land Acknowledgement",
|
|
144
|
-
icon:
|
|
144
|
+
icon: K,
|
|
145
145
|
href: "https://www.uoguelph.ca/land-acknowledgement/",
|
|
146
146
|
title: "The University of Guelph resides on the treaty lands and territory of the Mississaugas of the Credit. We recognize that today this gathering place is home to many First Nations, Inuit and Métis peoples and acknowledging them reminds us of our collective responsibility to the land where we learn and work."
|
|
147
147
|
},
|
|
148
148
|
{
|
|
149
149
|
text: "Careers",
|
|
150
|
-
icon:
|
|
150
|
+
icon: Q,
|
|
151
151
|
href: "https://careers.uoguelph.ca/"
|
|
152
152
|
},
|
|
153
153
|
{
|
|
154
154
|
text: "Undergraduate Calendar",
|
|
155
|
-
icon:
|
|
155
|
+
icon: T,
|
|
156
156
|
href: "https://www.uoguelph.ca/registrar/calendars/undergraduate/current/"
|
|
157
157
|
},
|
|
158
158
|
{
|
|
159
159
|
text: "Graduate Calendar",
|
|
160
|
-
icon:
|
|
160
|
+
icon: T,
|
|
161
161
|
href: "https://www.uoguelph.ca/registrar/calendars/graduate/current/"
|
|
162
162
|
},
|
|
163
163
|
{
|
|
164
164
|
text: "Admission",
|
|
165
|
-
icon:
|
|
165
|
+
icon: ee,
|
|
166
166
|
href: "https://uoguelph.ca/admission"
|
|
167
167
|
},
|
|
168
168
|
{
|
|
169
169
|
text: "Give to U of G",
|
|
170
|
-
icon:
|
|
170
|
+
icon: te,
|
|
171
171
|
href: "https://www.alumni.uoguelph.ca/give-to-guelph/how-to-give"
|
|
172
172
|
}
|
|
173
173
|
], _ = {
|
|
@@ -177,31 +177,33 @@ const fe = {
|
|
|
177
177
|
postalCode: "N1G 2W1",
|
|
178
178
|
phoneNumber: "519-824-4120"
|
|
179
179
|
};
|
|
180
|
-
var me = x("<li><a><!></a></li>"),
|
|
181
|
-
function
|
|
182
|
-
|
|
183
|
-
var t =
|
|
184
|
-
I(t, 5, () =>
|
|
185
|
-
let l = () =>
|
|
186
|
-
var c = me(), d = u(c)
|
|
187
|
-
|
|
180
|
+
var me = x("<li><a><!></a></li>"), ke = x('<ul class="flex gap-2 text-xl [&>li]:contents"></ul>');
|
|
181
|
+
function Y(i, e) {
|
|
182
|
+
V(e, !1), $();
|
|
183
|
+
var t = ke();
|
|
184
|
+
I(t, 5, () => D.links, G, (s, r) => {
|
|
185
|
+
let l = () => p(r).href, n = () => p(r).text, f = () => p(r).icon, a = () => p(r).classes;
|
|
186
|
+
var c = me(), d = u(c);
|
|
187
|
+
const y = U(() => se(oe("border border-current transition-colors focus:border-transparent hover:border-transparent p-1 [&>*]:aspect-square", a())));
|
|
188
|
+
var w = u(d);
|
|
189
|
+
ae(w, {
|
|
188
190
|
get icon() {
|
|
189
191
|
return f();
|
|
190
192
|
}
|
|
191
|
-
}), o(d), o(c),
|
|
192
|
-
|
|
193
|
+
}), o(d), o(c), k(() => {
|
|
194
|
+
L(d, "href", l()), L(d, "aria-label", n()), re(d, p(y));
|
|
193
195
|
}), h(s, c);
|
|
194
|
-
}), o(t), h(
|
|
196
|
+
}), o(t), h(i, t), z();
|
|
195
197
|
}
|
|
196
|
-
m(
|
|
198
|
+
m(Y, {}, [], [], !0);
|
|
197
199
|
var ye = x('<a class="w-fit underline decoration-transparent transition-colors focus:decoration-black-contrast hover:decoration-black-contrast"><!></a>');
|
|
198
|
-
function
|
|
199
|
-
|
|
200
|
-
let t =
|
|
201
|
-
var
|
|
202
|
-
return
|
|
203
|
-
|
|
204
|
-
}), h(
|
|
200
|
+
function F(i, e) {
|
|
201
|
+
V(e, !0);
|
|
202
|
+
let t = M(e, "href", 7), s = M(e, "label", 7), r = M(e, "title", 7), l = M(e, "children", 7);
|
|
203
|
+
var n = ye(), f = u(n);
|
|
204
|
+
return le(f, l), o(n), k(() => {
|
|
205
|
+
L(n, "href", t()), L(n, "title", r() ?? void 0), L(n, "aria-label", s() ?? void 0);
|
|
206
|
+
}), h(i, n), z({
|
|
205
207
|
get href() {
|
|
206
208
|
return t();
|
|
207
209
|
},
|
|
@@ -229,7 +231,7 @@ function L(n, e) {
|
|
|
229
231
|
});
|
|
230
232
|
}
|
|
231
233
|
m(
|
|
232
|
-
|
|
234
|
+
F,
|
|
233
235
|
{
|
|
234
236
|
href: {},
|
|
235
237
|
label: {},
|
|
@@ -240,114 +242,114 @@ m(
|
|
|
240
242
|
[],
|
|
241
243
|
!0
|
|
242
244
|
);
|
|
243
|
-
var
|
|
244
|
-
function
|
|
245
|
-
var e =
|
|
246
|
-
I(t, 5, () =>
|
|
247
|
-
let l = () =>
|
|
248
|
-
var a =
|
|
249
|
-
|
|
245
|
+
var _e = x("<li><!></li>"), Me = x('<div class="flex justify-center md:col-span-2 md:row-start-2 lg:row-auto"><ul class="w-full flex flex-col gap-y-1 gap-x-6 md:grid md:grid-cols-2 [&>li]:contents"></ul></div>');
|
|
246
|
+
function j(i) {
|
|
247
|
+
var e = Me(), t = u(e);
|
|
248
|
+
I(t, 5, () => be, G, (s, r) => {
|
|
249
|
+
let l = () => p(r).href, n = () => p(r).title, f = () => p(r).text;
|
|
250
|
+
var a = _e(), c = u(a);
|
|
251
|
+
F(c, {
|
|
250
252
|
get href() {
|
|
251
253
|
return l();
|
|
252
254
|
},
|
|
253
255
|
get title() {
|
|
254
|
-
return
|
|
256
|
+
return n();
|
|
255
257
|
},
|
|
256
|
-
children: (d,
|
|
257
|
-
|
|
258
|
-
var
|
|
259
|
-
|
|
258
|
+
children: (d, y) => {
|
|
259
|
+
P();
|
|
260
|
+
var w = H();
|
|
261
|
+
k(() => b(w, f())), h(d, w);
|
|
260
262
|
},
|
|
261
263
|
$$slots: { default: !0 }
|
|
262
264
|
}), o(a), h(s, a);
|
|
263
|
-
}), o(t), o(e), h(
|
|
265
|
+
}), o(t), o(e), h(i, e);
|
|
264
266
|
}
|
|
265
|
-
m(
|
|
266
|
-
var
|
|
267
|
-
function
|
|
268
|
-
|
|
269
|
-
var t =
|
|
267
|
+
m(j, {}, [], [], !0);
|
|
268
|
+
var Ce = x('<address class="flex flex-col gap-1 not-italic"><strong> </strong> <span> </span> <span> </span> <span> </span> <!></address>');
|
|
269
|
+
function W(i, e) {
|
|
270
|
+
V(e, !1), $();
|
|
271
|
+
var t = Ce(), s = u(t), r = u(s, !0);
|
|
270
272
|
o(s);
|
|
271
|
-
var l =
|
|
273
|
+
var l = g(s, 2), n = u(l);
|
|
272
274
|
o(l);
|
|
273
|
-
var f =
|
|
275
|
+
var f = g(l, 2), a = u(f);
|
|
274
276
|
o(f);
|
|
275
|
-
var c =
|
|
277
|
+
var c = g(f, 2), d = u(c, !0);
|
|
276
278
|
o(c);
|
|
277
|
-
var
|
|
278
|
-
|
|
279
|
+
var y = g(c, 2), w = U(() => `tel:${_.phoneNumber}`);
|
|
280
|
+
F(y, {
|
|
279
281
|
get href() {
|
|
280
|
-
return
|
|
282
|
+
return p(w);
|
|
281
283
|
},
|
|
282
|
-
children: (
|
|
283
|
-
|
|
284
|
-
var
|
|
285
|
-
|
|
284
|
+
children: (S, v) => {
|
|
285
|
+
P();
|
|
286
|
+
var N = H();
|
|
287
|
+
k(() => b(N, _.phoneNumber)), h(S, N);
|
|
286
288
|
},
|
|
287
289
|
$$slots: { default: !0 }
|
|
288
|
-
}), o(t),
|
|
289
|
-
|
|
290
|
-
}), h(
|
|
290
|
+
}), o(t), k(() => {
|
|
291
|
+
b(r, _.title), b(n, `${_.street},`), b(a, `${_.city}, Ontario, Canada`), b(d, _.postalCode);
|
|
292
|
+
}), h(i, t), z();
|
|
291
293
|
}
|
|
292
|
-
m(
|
|
293
|
-
var
|
|
294
|
-
function
|
|
295
|
-
|
|
296
|
-
let t =
|
|
297
|
-
var s =
|
|
294
|
+
m(W, {}, [], [], !0);
|
|
295
|
+
var Le = x('<footer><!> <div class="flex flex-col content-center gap-6 bg-black px-[max(calc((100%-1320px)/2),2rem)] py-12 text-black-contrast md:grid md:grid-cols-2 lg:grid-cols-4"><div class="flex flex-col gap-1"><!> <!> <!> <!></div> <!> <!></div></footer>');
|
|
296
|
+
function Fe(i, e) {
|
|
297
|
+
V(e, !0);
|
|
298
|
+
let t = M(e, "subFooter", 7);
|
|
299
|
+
var s = Le(), r = u(s);
|
|
298
300
|
{
|
|
299
|
-
var l = (
|
|
300
|
-
|
|
301
|
+
var l = (v) => {
|
|
302
|
+
E(v, {
|
|
301
303
|
get links() {
|
|
302
304
|
return t();
|
|
303
305
|
}
|
|
304
306
|
});
|
|
305
307
|
};
|
|
306
|
-
|
|
307
|
-
Array.isArray(t()) && t().length > 0 &&
|
|
308
|
+
ie(r, (v) => {
|
|
309
|
+
Array.isArray(t()) && t().length > 0 && v(l);
|
|
308
310
|
});
|
|
309
311
|
}
|
|
310
|
-
var
|
|
311
|
-
|
|
312
|
-
var c =
|
|
313
|
-
|
|
314
|
-
var d =
|
|
315
|
-
|
|
312
|
+
var n = g(r, 2), f = u(n), a = u(f);
|
|
313
|
+
R(a);
|
|
314
|
+
var c = g(a, 2);
|
|
315
|
+
Y(c, {});
|
|
316
|
+
var d = g(c, 2);
|
|
317
|
+
F(d, {
|
|
316
318
|
get href() {
|
|
317
|
-
return
|
|
319
|
+
return D.directory;
|
|
318
320
|
},
|
|
319
|
-
children: (
|
|
320
|
-
|
|
321
|
-
var
|
|
322
|
-
h(
|
|
321
|
+
children: (v, N) => {
|
|
322
|
+
P();
|
|
323
|
+
var A = H("Social Media Directory");
|
|
324
|
+
h(v, A);
|
|
323
325
|
},
|
|
324
326
|
$$slots: { default: !0 }
|
|
325
327
|
});
|
|
326
|
-
var
|
|
327
|
-
|
|
328
|
+
var y = g(d, 2);
|
|
329
|
+
F(y, {
|
|
328
330
|
href: "https://www.uoguelph.ca/web/",
|
|
329
|
-
children: (
|
|
330
|
-
|
|
331
|
-
var
|
|
332
|
-
|
|
331
|
+
children: (v, N) => {
|
|
332
|
+
P();
|
|
333
|
+
var A = H();
|
|
334
|
+
k(() => b(A, `© ${(/* @__PURE__ */ new Date()).getFullYear() ?? ""} University of Guelph`)), h(v, A);
|
|
333
335
|
},
|
|
334
336
|
$$slots: { default: !0 }
|
|
335
337
|
}), o(f);
|
|
336
|
-
var
|
|
337
|
-
|
|
338
|
-
var
|
|
339
|
-
return
|
|
338
|
+
var w = g(f, 2);
|
|
339
|
+
j(w);
|
|
340
|
+
var S = g(w, 2);
|
|
341
|
+
return W(S, {}), o(n), o(s), h(i, s), z({
|
|
340
342
|
get subFooter() {
|
|
341
343
|
return t();
|
|
342
344
|
},
|
|
343
|
-
set subFooter(
|
|
344
|
-
t(
|
|
345
|
+
set subFooter(v) {
|
|
346
|
+
t(v), C();
|
|
345
347
|
}
|
|
346
348
|
});
|
|
347
349
|
}
|
|
348
|
-
customElements.define("uofg-footer", m(
|
|
350
|
+
customElements.define("uofg-footer", m(Fe, { subFooter: {} }, [], [], !0, (i) => class extends i {
|
|
349
351
|
constructor() {
|
|
350
|
-
super(),
|
|
352
|
+
super(), ne(this.shadowRoot);
|
|
351
353
|
}
|
|
352
354
|
connectedCallback() {
|
|
353
355
|
super.connectedCallback(), this.updateSubFooter(), this.observer ?? (this.observer = new MutationObserver(() => {
|
|
@@ -365,5 +367,5 @@ customElements.define("uofg-footer", m(Me, { subFooter: {} }, [], [], !0, (n) =>
|
|
|
365
367
|
}
|
|
366
368
|
}));
|
|
367
369
|
export {
|
|
368
|
-
|
|
370
|
+
Fe as default
|
|
369
371
|
};
|