@uoguelph/web-components 2.1.1 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,63 +1,59 @@
|
|
|
1
|
-
import {
|
|
2
|
-
var
|
|
3
|
-
function t1(
|
|
4
|
-
|
|
5
|
-
let
|
|
6
|
-
const
|
|
1
|
+
import { h as A, X as F, V as P, ad as Y, l as D, e as m, Z as o, ab as y, f as $, a1 as L, a0 as U, a2 as S, b as u, H as i, L as W, U as Z, G as V, D as T, J as c1, z as i1, u as h1, x as f1, s as u1, y as v1, p as d1, q as j, v as p1, t as g1, M as R, F as m1, ae as J, a6 as w1, C as E, a5 as M, g as X, K, a7 as Q, P as B, ac as q, k as O, a8 as x1, W as b1, S as k1, _ as _1, c as y1, ag as M1 } from "./index-CrGro0XU.js";
|
|
2
|
+
var V1 = V("<li><a> </a></li>"), z1 = V("<ul></ul>");
|
|
3
|
+
function t1(p, a) {
|
|
4
|
+
F(a, !0);
|
|
5
|
+
let v = P(a, "links");
|
|
6
|
+
const l = Y({
|
|
7
7
|
slots: {
|
|
8
8
|
base: "flex flex-wrap items-center justify-center bg-white p-3 px-[max(calc((100%-1320px)/2),2rem)]",
|
|
9
9
|
item: "p-3",
|
|
10
10
|
links: "text-blue decoration-transparent transition-all hover:text-blue-focus hover:underline hover:decoration-current focus:text-blue-focus focus:underline focus:decoration-current"
|
|
11
11
|
}
|
|
12
|
-
}), { base:
|
|
13
|
-
var
|
|
12
|
+
}), { base: w, item: n, links: h } = l();
|
|
13
|
+
var c = {
|
|
14
14
|
get links() {
|
|
15
|
-
return
|
|
15
|
+
return v();
|
|
16
16
|
},
|
|
17
17
|
set links(e) {
|
|
18
|
-
|
|
18
|
+
v(e), T();
|
|
19
19
|
}
|
|
20
|
-
},
|
|
21
|
-
return
|
|
22
|
-
let
|
|
23
|
-
var
|
|
24
|
-
o(
|
|
25
|
-
(
|
|
26
|
-
L(
|
|
20
|
+
}, s = z1();
|
|
21
|
+
return D(s, 21, v, W, (e, t) => {
|
|
22
|
+
let x = () => i(t).text, _ = () => i(t).href;
|
|
23
|
+
var g = V1(), f = m(g), d = m(f, !0);
|
|
24
|
+
o(f), o(g), y(
|
|
25
|
+
(z, b) => {
|
|
26
|
+
L(g, 1, z), L(f, 1, b), U(f, "href", _()), S(d, x());
|
|
27
27
|
},
|
|
28
|
-
[() =>
|
|
29
|
-
), u(e,
|
|
30
|
-
}), o(
|
|
28
|
+
[() => $(n()), () => $(h())]
|
|
29
|
+
), u(e, g);
|
|
30
|
+
}), o(s), y((e) => L(s, 1, e), [() => $(w())]), u(p, s), Z(c);
|
|
31
31
|
}
|
|
32
|
-
|
|
33
|
-
const
|
|
34
|
-
var
|
|
35
|
-
function
|
|
36
|
-
var a =
|
|
37
|
-
|
|
32
|
+
A(t1, { links: {} }, [], [], { mode: "open" });
|
|
33
|
+
const C1 = '<svg xmlns="http://www.w3.org/2000/svg" id="Layer_1" data-name="Layer 1" viewBox="0 0 718 78.64"><defs><style>.cls-1{fill:#fff}</style></defs><path d="M0 77.58v-5.21l7.52-1.99V7.5L0 5.68V.47L26.03 0v5.22l-7.52 2.29V70.4l7.52 1.97v5.21zM90.52 77.58v-5.21l7.52-1.98V26.56l-.82-.2-17.14 33.59-7.08.45-16.46-34.03-.82.19v43.87l7.52 1.94v5.21H39.43v-5.21l7.52-1.96V18.26l-7.52-1.81v-5.21l21.36-.47L77.9 48.56l17.86-37.31 19.83-.47v5.21l-7.52 2.3v52.1l7.52 1.98v5.21zM128.98 77.58v-5.21l7.52-2V18.24l-7.52-1.79v-5.21l19.24-.47h9.44c5.11 0 9.35.88 12.62 2.6 3.25 1.72 5.7 4.11 7.29 7.1 1.6 3.01 2.41 6.51 2.41 10.4 0 4.21-.97 8.05-2.88 11.4s-4.83 6-8.68 7.88c-3.87 1.89-8.89 2.85-14.9 2.85h-6.02v17.43l9.64 1.96v5.19h-28.15Zm18.52-32.3h6.12c4.85 0 8.62-1.29 11.2-3.84 2.58-2.54 3.89-6.01 3.89-10.29 0-3.95-1.09-7.1-3.25-9.36s-5.4-3.41-9.62-3.41h-8.34v26.89ZM234 77.58l-8.66-18.45c-1.15-2.56-2.22-4.58-3.16-5.99-.98-1.45-2.21-2.47-3.67-3.05-1.29-.51-3.04-.76-5.22-.76-.25 0-.52 0-.78.01h-3.99v21.02l8.58 2.02v5.2h-27.09v-5.21l7.52-1.98V18.32l-7.52-1.86v-5.22l19.44-.47h10.02c7.38 0 13.03 1.56 16.79 4.63 3.73 3.05 5.63 7.51 5.63 13.25 0 5.26-1.63 9.63-4.85 13.01-2.5 2.62-6.15 4.46-10.86 5.46l-.03.84c.75.21 1.32.42 1.81.65 1.54.74 2.84 1.76 3.85 3.02 1.03 1.28 2.04 2.86 2.99 4.7l7.25 14.22 5.72 1.8v5.23h-13.75Zm-25.48-35.67h6.79c4.96 0 8.8-1.05 11.4-3.13 2.63-2.1 3.97-5.21 3.97-9.25 0-3.52-1.07-6.28-3.18-8.22-2.09-1.93-5.32-2.91-9.59-2.91h-9.4v23.52ZM287.04 78.64c-5.81 0-10.96-1.28-15.3-3.79-4.34-2.52-7.77-6.31-10.19-11.29-2.43-4.99-3.67-11.26-3.67-18.61 0-5.84.77-11.03 2.29-15.43 1.52-4.39 3.69-8.1 6.46-11.03s6.07-5.15 9.82-6.59c3.75-1.45 7.96-2.19 12.52-2.19s8.51.72 12.13 2.14 6.78 3.54 9.39 6.31 4.69 6.26 6.17 10.36c1.49 4.11 2.24 8.96 2.24 14.41 0 7.48-1.36 13.95-4.05 19.23-2.68 5.27-6.44 9.38-11.16 12.21-4.73 2.84-10.33 4.28-16.65 4.28ZM288.39 18c-3.47 0-6.67.86-9.52 2.57-2.87 1.71-5.13 4.56-6.73 8.45-1.59 3.85-2.4 9.08-2.4 15.54 0 6 .76 10.96 2.25 14.72 1.5 3.79 3.65 6.62 6.38 8.4 2.72 1.77 5.93 2.67 9.54 2.67s6.78-.9 9.63-2.67c2.86-1.77 5.18-4.66 6.92-8.58 1.72-3.9 2.59-9.15 2.59-15.6 0-6.01-.81-10.94-2.4-14.68-1.6-3.76-3.82-6.54-6.58-8.25S292.06 18 288.4 18ZM351.84 77.67l-20.08-59.58-6.6-1.63v-5.22l26.71-.46v5.2l-7.79 1.98 14.7 48.44 16.09-48.17-7.77-1.78v-5.21l24.29-.46v5.2l-6.5 1.77-21.13 59.92zM399.59 77.58v-5.21l7.51-1.98V18.28l-7.51-1.82v-5.22l18.76-.47h29.05v15.81h-6.34l-1.51-8.1H418.1v21.31h15.64l1.38-5.2h4.91v17.83h-4.91l-1.37-5.21H418.1v22.65h22.64l1.58-8.77h6.24l-.09 16.49zM482.44 77.58v-5.21l7.52-1.94V7.46l-7.52-1.78V.47L509.25 0v5.21l-8.29 2.23v62.42h24.01l1.8-10.8h6.24v18.52zM544.77 77.58v-5.21l7.51-1.99v-52.1l-7.51-1.83v-5.21l26.03-.46v5.21l-7.52 2.29v52.13l7.52 1.96v5.21zM584.19 77.58v-5.21l7.52-1.96V18.34l-7.52-1.88v-5.22l18.77-.47h28.38l.09 15.91h-6.34l-1.49-8.2h-20.89v21.79h15.13l1.35-5.06h4.9v17.82h-4.9l-1.33-5.05h-15.15V70.4l9.35 1.98v5.2zM641.17 77.58v-5.21l7.52-1.98V18.28l-7.52-1.82v-5.22l18.76-.47h29.06v15.81h-6.35l-1.51-8.1h-21.45v21.31h15.68l1.38-5.2h4.91v17.83h-4.91l-1.37-5.21h-15.69v22.65h22.64l1.58-8.77h6.24l-.09 16.49zM711.68 78.35c-1.93 0-3.5-.57-4.66-1.71-1.18-1.15-1.75-2.62-1.75-4.51s.63-3.35 1.93-4.5c1.31-1.16 2.78-1.72 4.49-1.72 1.93 0 3.48.57 4.61 1.7s1.71 2.65 1.71 4.52-.62 3.35-1.88 4.5c-1.26 1.14-2.75 1.72-4.43 1.72Z" class="cls-1"/></svg>';
|
|
34
|
+
var $1 = V('<a href="https://www.uoguelph.ca/improve-life" aria-label="Improve Life" class="row-span-2 flex h-[4.8rem] w-full overflow-hidden transition-opacity hover:opacity-75 focus:opacity-75 md:h-[3.5em] [&>svg]:block [&>svg]:h-full [&>svg]:w-full [&>svg]:max-w-[25rem]"></a>');
|
|
35
|
+
function a1(p) {
|
|
36
|
+
var a = $1();
|
|
37
|
+
c1(a, () => C1, !0), o(a), u(p, a);
|
|
38
38
|
}
|
|
39
|
-
|
|
40
|
-
const
|
|
39
|
+
A(a1, {}, [], [], { mode: "open" });
|
|
40
|
+
const L1 = {
|
|
41
41
|
prefix: "fab",
|
|
42
42
|
iconName: "linkedin-in",
|
|
43
43
|
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"]
|
|
44
|
-
},
|
|
44
|
+
}, S1 = {
|
|
45
45
|
prefix: "fab",
|
|
46
46
|
iconName: "facebook-f",
|
|
47
47
|
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"]
|
|
48
|
-
},
|
|
49
|
-
prefix: "fab",
|
|
50
|
-
iconName: "x-twitter",
|
|
51
|
-
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"]
|
|
52
|
-
}, N1 = {
|
|
48
|
+
}, A1 = {
|
|
53
49
|
prefix: "fab",
|
|
54
50
|
iconName: "tiktok",
|
|
55
51
|
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"]
|
|
56
|
-
},
|
|
52
|
+
}, N1 = {
|
|
57
53
|
prefix: "fab",
|
|
58
54
|
iconName: "instagram",
|
|
59
55
|
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"]
|
|
60
|
-
},
|
|
56
|
+
}, H1 = {
|
|
61
57
|
prefix: "fab",
|
|
62
58
|
iconName: "bluesky",
|
|
63
59
|
icon: [512, 512, [], "e671", "M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2C478.2 298 412 314.6 353.1 304.5c102.9 17.5 129.1 75.5 72.5 133.5c-107.4 110.2-154.3-27.6-166.3-62.9l0 0c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8l0 0c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z"]
|
|
@@ -65,24 +61,18 @@ const C1 = {
|
|
|
65
61
|
prefix: "fab",
|
|
66
62
|
iconName: "youtube",
|
|
67
63
|
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"]
|
|
68
|
-
},
|
|
64
|
+
}, s1 = {
|
|
69
65
|
directory: "https://www.uoguelph.ca/web/socialmedia/",
|
|
70
66
|
links: [
|
|
71
|
-
{
|
|
72
|
-
text: "X",
|
|
73
|
-
icon: H1,
|
|
74
|
-
href: "https://twitter.com/uofg",
|
|
75
|
-
classes: "focus:text-black hover:text-black focus:bg-white hover:bg-white"
|
|
76
|
-
},
|
|
77
67
|
{
|
|
78
68
|
text: "Facebook",
|
|
79
|
-
icon:
|
|
69
|
+
icon: S1,
|
|
80
70
|
href: "https://www.facebook.com/uofguelph",
|
|
81
71
|
classes: "focus:text-white hover:text-white focus:bg-[#0866ff] hover:bg-[#0866ff]"
|
|
82
72
|
},
|
|
83
73
|
{
|
|
84
74
|
text: "Instagram",
|
|
85
|
-
icon:
|
|
75
|
+
icon: N1,
|
|
86
76
|
href: "https://www.instagram.com/uofguelph/",
|
|
87
77
|
classes: "focus:text-white hover:text-white focus:bg-[#d62976] hover:bg-[#d62976]"
|
|
88
78
|
},
|
|
@@ -94,19 +84,19 @@ const C1 = {
|
|
|
94
84
|
},
|
|
95
85
|
{
|
|
96
86
|
text: "LinkedIn",
|
|
97
|
-
icon:
|
|
87
|
+
icon: L1,
|
|
98
88
|
href: "https://www.linkedin.com/school/university-of-guelph/",
|
|
99
89
|
classes: "focus:text-white hover:text-white focus:bg-[#006aff] hover:bg-[#006aff]"
|
|
100
90
|
},
|
|
101
91
|
{
|
|
102
92
|
text: "TikTok",
|
|
103
|
-
icon:
|
|
93
|
+
icon: A1,
|
|
104
94
|
href: "https://www.tiktok.com/@uofguelph",
|
|
105
95
|
classes: "focus:text-black hover:text-black focus:bg-white hover:bg-white"
|
|
106
96
|
},
|
|
107
97
|
{
|
|
108
98
|
text: "Bluesky",
|
|
109
|
-
icon:
|
|
99
|
+
icon: H1,
|
|
110
100
|
href: "https://bsky.app/profile/uofguelph.bsky.social",
|
|
111
101
|
classes: "focus:text-white hover:text-white focus:bg-[#0a66c2] hover:bg-[#0a66c2]"
|
|
112
102
|
}
|
|
@@ -114,7 +104,7 @@ const C1 = {
|
|
|
114
104
|
}, e1 = [
|
|
115
105
|
{
|
|
116
106
|
text: "Accessibility",
|
|
117
|
-
icon:
|
|
107
|
+
icon: i1,
|
|
118
108
|
href: "https://www.uoguelph.ca/diversity-human-rights/accessibility-u-g"
|
|
119
109
|
},
|
|
120
110
|
{
|
|
@@ -147,12 +137,12 @@ const C1 = {
|
|
|
147
137
|
},
|
|
148
138
|
{
|
|
149
139
|
text: "Academic Calendar",
|
|
150
|
-
icon:
|
|
140
|
+
icon: j,
|
|
151
141
|
href: "https://calendar.uoguelph.ca/"
|
|
152
142
|
},
|
|
153
143
|
{
|
|
154
144
|
text: "Campus Status",
|
|
155
|
-
icon:
|
|
145
|
+
icon: j,
|
|
156
146
|
href: "https://www.uoguelph.ca/campus-status/"
|
|
157
147
|
},
|
|
158
148
|
{
|
|
@@ -172,272 +162,272 @@ const C1 = {
|
|
|
172
162
|
postalCode: "N1G 2W1",
|
|
173
163
|
phoneNumber: "519-824-4120"
|
|
174
164
|
};
|
|
175
|
-
var
|
|
176
|
-
function r1(
|
|
177
|
-
|
|
178
|
-
const
|
|
165
|
+
var Z1 = V("<li><a><!></a></li>"), G1 = V("<ul></ul>");
|
|
166
|
+
function r1(p, a) {
|
|
167
|
+
F(a, !1);
|
|
168
|
+
const v = Y({
|
|
179
169
|
slots: {
|
|
180
170
|
base: "flex gap-2 text-lg [&>li]:contents",
|
|
181
171
|
links: "p-0.5 transition-colors [&>*]:aspect-square"
|
|
182
172
|
}
|
|
183
|
-
}), { base:
|
|
184
|
-
|
|
185
|
-
var
|
|
186
|
-
|
|
187
|
-
let t = () =>
|
|
188
|
-
var
|
|
189
|
-
|
|
173
|
+
}), { base: l, links: w } = v();
|
|
174
|
+
R();
|
|
175
|
+
var n = G1();
|
|
176
|
+
D(n, 5, () => s1.links, W, (h, c, s, e) => {
|
|
177
|
+
let t = () => i(c).href, x = () => i(c).text, _ = () => i(c).icon, g = () => i(c).classes;
|
|
178
|
+
var f = Z1(), d = m(f), z = m(d);
|
|
179
|
+
m1(z, {
|
|
190
180
|
get icon() {
|
|
191
181
|
return _();
|
|
192
182
|
}
|
|
193
|
-
}), o(d), o(
|
|
194
|
-
(
|
|
195
|
-
|
|
183
|
+
}), o(d), o(f), y(
|
|
184
|
+
(b) => {
|
|
185
|
+
U(d, "href", t()), U(d, "aria-label", x()), L(d, 1, b);
|
|
196
186
|
},
|
|
197
|
-
[() =>
|
|
198
|
-
), u(h,
|
|
199
|
-
}), o(
|
|
187
|
+
[() => $(J(w(), g()))]
|
|
188
|
+
), u(h, f);
|
|
189
|
+
}), o(n), y((h) => L(n, 1, h), [() => $(l())]), u(p, n), Z();
|
|
200
190
|
}
|
|
201
|
-
|
|
202
|
-
var
|
|
203
|
-
function
|
|
204
|
-
|
|
205
|
-
let
|
|
206
|
-
const h =
|
|
207
|
-
var
|
|
191
|
+
A(r1, {}, [], [], { mode: "open" });
|
|
192
|
+
var I1 = V("<a><!></a>");
|
|
193
|
+
function H(p, a) {
|
|
194
|
+
F(a, !0);
|
|
195
|
+
let v = P(a, "href"), l = P(a, "label"), w = P(a, "children"), n = P(a, "class");
|
|
196
|
+
const h = J("w-fit", "underline", "decoration-transparent", "transition-colors", "hover:decoration-black-contrast", "focus:decoration-black-contrast");
|
|
197
|
+
var c = {
|
|
208
198
|
get href() {
|
|
209
|
-
return
|
|
199
|
+
return v();
|
|
210
200
|
},
|
|
211
201
|
set href(t) {
|
|
212
|
-
|
|
202
|
+
v(t), T();
|
|
213
203
|
},
|
|
214
204
|
get label() {
|
|
215
|
-
return
|
|
205
|
+
return l();
|
|
216
206
|
},
|
|
217
207
|
set label(t) {
|
|
218
|
-
|
|
208
|
+
l(t), T();
|
|
219
209
|
},
|
|
220
210
|
get children() {
|
|
221
|
-
return
|
|
211
|
+
return w();
|
|
222
212
|
},
|
|
223
213
|
set children(t) {
|
|
224
|
-
|
|
214
|
+
w(t), T();
|
|
225
215
|
},
|
|
226
216
|
get class() {
|
|
227
|
-
return
|
|
217
|
+
return n();
|
|
228
218
|
},
|
|
229
219
|
set class(t) {
|
|
230
|
-
|
|
220
|
+
n(t), T();
|
|
231
221
|
}
|
|
232
|
-
},
|
|
233
|
-
return
|
|
222
|
+
}, s = I1(), e = m(s);
|
|
223
|
+
return w1(e, w), o(s), y(
|
|
234
224
|
(t) => {
|
|
235
|
-
L(
|
|
225
|
+
L(s, 1, t), U(s, "href", v()), U(s, "aria-label", l() ?? void 0);
|
|
236
226
|
},
|
|
237
|
-
[() =>
|
|
238
|
-
), u(
|
|
227
|
+
[() => $(J(h, n()))]
|
|
228
|
+
), u(p, s), Z(c);
|
|
239
229
|
}
|
|
240
|
-
H
|
|
241
|
-
var
|
|
242
|
-
function o1(
|
|
243
|
-
|
|
244
|
-
const
|
|
230
|
+
A(H, { href: {}, label: {}, children: {}, class: {} }, [], [], { mode: "open" });
|
|
231
|
+
var P1 = V("<li><!></li>"), T1 = V("<li><!></li>"), U1 = V("<ul></ul> <ul></ul>", 1);
|
|
232
|
+
function o1(p, a) {
|
|
233
|
+
F(a, !1);
|
|
234
|
+
const v = Y({
|
|
245
235
|
slots: {
|
|
246
236
|
list: "grid grid-rows-5 items-center gap-0 not-italic",
|
|
247
237
|
link: "flex h-full items-center"
|
|
248
238
|
}
|
|
249
|
-
}), { list:
|
|
250
|
-
|
|
251
|
-
var
|
|
252
|
-
|
|
253
|
-
let
|
|
254
|
-
var
|
|
239
|
+
}), { list: l, link: w } = v();
|
|
240
|
+
R();
|
|
241
|
+
var n = U1(), h = E(n);
|
|
242
|
+
D(h, 5, () => e1, W, (s, e, t) => {
|
|
243
|
+
let x = () => i(e).href, _ = () => i(e).attributes, g = () => i(e).text;
|
|
244
|
+
var f = X(), d = E(f);
|
|
255
245
|
{
|
|
256
|
-
var
|
|
257
|
-
var
|
|
246
|
+
var z = (b) => {
|
|
247
|
+
var r = P1(), C = m(r);
|
|
258
248
|
{
|
|
259
|
-
let
|
|
260
|
-
|
|
249
|
+
let k = O(w);
|
|
250
|
+
H(C, Q(
|
|
261
251
|
{
|
|
262
252
|
get class() {
|
|
263
|
-
return
|
|
253
|
+
return i(k);
|
|
264
254
|
},
|
|
265
255
|
get href() {
|
|
266
|
-
return
|
|
256
|
+
return x();
|
|
267
257
|
}
|
|
268
258
|
},
|
|
269
259
|
_,
|
|
270
260
|
{
|
|
271
|
-
children: (
|
|
272
|
-
|
|
273
|
-
var
|
|
274
|
-
y(() =>
|
|
261
|
+
children: (G, n1) => {
|
|
262
|
+
B();
|
|
263
|
+
var I = q();
|
|
264
|
+
y(() => S(I, g())), u(G, I);
|
|
275
265
|
},
|
|
276
266
|
$$slots: { default: !0 }
|
|
277
267
|
}
|
|
278
268
|
));
|
|
279
269
|
}
|
|
280
|
-
o(
|
|
270
|
+
o(r), u(b, r);
|
|
281
271
|
};
|
|
282
|
-
|
|
283
|
-
t % 2 === 0 &&
|
|
272
|
+
K(d, (b) => {
|
|
273
|
+
t % 2 === 0 && b(z);
|
|
284
274
|
});
|
|
285
275
|
}
|
|
286
|
-
u(
|
|
276
|
+
u(s, f);
|
|
287
277
|
}), o(h);
|
|
288
|
-
var
|
|
289
|
-
|
|
290
|
-
let
|
|
291
|
-
var
|
|
278
|
+
var c = M(h, 2);
|
|
279
|
+
D(c, 5, () => e1, W, (s, e, t) => {
|
|
280
|
+
let x = () => i(e).href, _ = () => i(e).attributes, g = () => i(e).text;
|
|
281
|
+
var f = X(), d = E(f);
|
|
292
282
|
{
|
|
293
|
-
var
|
|
294
|
-
var
|
|
283
|
+
var z = (b) => {
|
|
284
|
+
var r = T1(), C = m(r);
|
|
295
285
|
{
|
|
296
|
-
let
|
|
297
|
-
|
|
286
|
+
let k = O(w);
|
|
287
|
+
H(C, Q(
|
|
298
288
|
{
|
|
299
289
|
get class() {
|
|
300
|
-
return
|
|
290
|
+
return i(k);
|
|
301
291
|
},
|
|
302
292
|
get href() {
|
|
303
|
-
return
|
|
293
|
+
return x();
|
|
304
294
|
}
|
|
305
295
|
},
|
|
306
296
|
_,
|
|
307
297
|
{
|
|
308
|
-
children: (
|
|
309
|
-
|
|
310
|
-
var
|
|
311
|
-
y(() =>
|
|
298
|
+
children: (G, n1) => {
|
|
299
|
+
B();
|
|
300
|
+
var I = q();
|
|
301
|
+
y(() => S(I, g())), u(G, I);
|
|
312
302
|
},
|
|
313
303
|
$$slots: { default: !0 }
|
|
314
304
|
}
|
|
315
305
|
));
|
|
316
306
|
}
|
|
317
|
-
o(
|
|
307
|
+
o(r), u(b, r);
|
|
318
308
|
};
|
|
319
|
-
|
|
320
|
-
t % 2 !== 0 &&
|
|
309
|
+
K(d, (b) => {
|
|
310
|
+
t % 2 !== 0 && b(z);
|
|
321
311
|
});
|
|
322
312
|
}
|
|
323
|
-
u(
|
|
324
|
-
}), o(
|
|
325
|
-
(
|
|
326
|
-
L(h, 1,
|
|
313
|
+
u(s, f);
|
|
314
|
+
}), o(c), y(
|
|
315
|
+
(s, e) => {
|
|
316
|
+
L(h, 1, s), L(c, 1, e);
|
|
327
317
|
},
|
|
328
|
-
[() =>
|
|
329
|
-
), u(
|
|
318
|
+
[() => $(l()), () => $(l())]
|
|
319
|
+
), u(p, n), Z();
|
|
330
320
|
}
|
|
331
|
-
|
|
321
|
+
A(o1, {}, [], [], { mode: "open" });
|
|
332
322
|
var B1 = V('<address class="mt-6 grid grid-rows-5 items-center gap-0 not-italic md:col-[2] md:row-[1] md:mt-0 lg:col-[4] lg:row-[1]"><strong> </strong> <span> </span> <span> </span> <span> </span> <!></address>');
|
|
333
|
-
function l1(
|
|
334
|
-
|
|
335
|
-
var
|
|
336
|
-
o(
|
|
337
|
-
var
|
|
338
|
-
o(i);
|
|
339
|
-
var n = M(i, 2), r = p(n);
|
|
323
|
+
function l1(p, a) {
|
|
324
|
+
F(a, !1), R();
|
|
325
|
+
var v = B1(), l = m(v), w = m(l, !0);
|
|
326
|
+
o(l);
|
|
327
|
+
var n = M(l, 2), h = m(n);
|
|
340
328
|
o(n);
|
|
341
|
-
var
|
|
329
|
+
var c = M(n, 2), s = m(c);
|
|
330
|
+
o(c);
|
|
331
|
+
var e = M(c, 2), t = m(e, !0);
|
|
342
332
|
o(e);
|
|
343
|
-
var
|
|
333
|
+
var x = M(e, 2);
|
|
344
334
|
{
|
|
345
|
-
let _ =
|
|
346
|
-
|
|
335
|
+
let _ = O(() => `tel:${N.phoneNumber}`);
|
|
336
|
+
H(x, {
|
|
347
337
|
get href() {
|
|
348
|
-
return
|
|
338
|
+
return i(_);
|
|
349
339
|
},
|
|
350
|
-
children: (
|
|
351
|
-
|
|
352
|
-
var d =
|
|
353
|
-
y(() =>
|
|
340
|
+
children: (g, f) => {
|
|
341
|
+
B();
|
|
342
|
+
var d = q();
|
|
343
|
+
y(() => S(d, N.phoneNumber)), u(g, d);
|
|
354
344
|
},
|
|
355
345
|
$$slots: { default: !0 }
|
|
356
346
|
});
|
|
357
347
|
}
|
|
358
|
-
o(
|
|
359
|
-
|
|
360
|
-
}), u(
|
|
348
|
+
o(v), y(() => {
|
|
349
|
+
S(w, N.title), S(h, `${N.street},`), S(s, `${N.city}, Ontario, Canada`), S(t, N.postalCode);
|
|
350
|
+
}), u(p, v), Z();
|
|
361
351
|
}
|
|
362
|
-
|
|
352
|
+
A(l1, {}, [], [], { mode: "open" });
|
|
363
353
|
var q1 = V("<footer><!> <div><div><!> <!> <!> <!></div> <!> <!></div></footer>");
|
|
364
|
-
function D1(
|
|
365
|
-
|
|
366
|
-
const
|
|
354
|
+
function D1(p, a) {
|
|
355
|
+
F(a, !0);
|
|
356
|
+
const v = Y({
|
|
367
357
|
slots: {
|
|
368
358
|
footer: "flex flex-col content-center gap-0 bg-black px-[max(calc((100%-1320px)/2),2rem)] py-12 text-black-contrast md:grid md:grid-cols-2 md:gap-6 lg:grid-cols-4",
|
|
369
359
|
wrapper: "mb-6 grid grid-rows-5 items-center gap-0 not-italic md:mb-0"
|
|
370
360
|
}
|
|
371
361
|
});
|
|
372
|
-
let
|
|
362
|
+
let l = x1(b1([]));
|
|
373
363
|
k1(() => {
|
|
374
|
-
const
|
|
364
|
+
const r = () => {
|
|
375
365
|
_1(
|
|
376
|
-
|
|
377
|
-
Array.from(a.$$host.children).filter((
|
|
378
|
-
text:
|
|
379
|
-
href:
|
|
366
|
+
l,
|
|
367
|
+
Array.from(a.$$host.children).filter((k) => k.tagName === "A").map((k) => ({
|
|
368
|
+
text: k.textContent ?? "",
|
|
369
|
+
href: k.getAttribute("href") ?? ""
|
|
380
370
|
})),
|
|
381
371
|
!0
|
|
382
372
|
);
|
|
383
373
|
};
|
|
384
|
-
|
|
385
|
-
const
|
|
386
|
-
return
|
|
387
|
-
|
|
374
|
+
r();
|
|
375
|
+
const C = new MutationObserver(r);
|
|
376
|
+
return C.observe(a.$$host, { childList: !0, subtree: !0 }), () => {
|
|
377
|
+
C.disconnect();
|
|
388
378
|
};
|
|
389
379
|
});
|
|
390
|
-
const { footer:
|
|
391
|
-
var h = q1(),
|
|
380
|
+
const { footer: w, wrapper: n } = v();
|
|
381
|
+
var h = q1(), c = m(h);
|
|
392
382
|
{
|
|
393
|
-
var
|
|
394
|
-
t1(
|
|
383
|
+
var s = (r) => {
|
|
384
|
+
t1(r, {
|
|
395
385
|
get links() {
|
|
396
|
-
return
|
|
386
|
+
return i(l);
|
|
397
387
|
}
|
|
398
388
|
});
|
|
399
|
-
};
|
|
400
|
-
|
|
401
|
-
|
|
389
|
+
}, e = M1(() => Array.isArray(i(l)) && i(l).length > 0);
|
|
390
|
+
K(c, (r) => {
|
|
391
|
+
i(e) && r(s);
|
|
402
392
|
});
|
|
403
393
|
}
|
|
404
|
-
var
|
|
405
|
-
|
|
406
|
-
var
|
|
407
|
-
r1(
|
|
408
|
-
var
|
|
409
|
-
|
|
394
|
+
var t = M(c, 2), x = m(t), _ = m(x);
|
|
395
|
+
a1(_);
|
|
396
|
+
var g = M(_, 2);
|
|
397
|
+
r1(g, {});
|
|
398
|
+
var f = M(g, 2);
|
|
399
|
+
H(f, {
|
|
410
400
|
get href() {
|
|
411
|
-
return
|
|
401
|
+
return s1.directory;
|
|
412
402
|
},
|
|
413
|
-
children: (
|
|
414
|
-
|
|
415
|
-
var
|
|
416
|
-
u(
|
|
403
|
+
children: (r, C) => {
|
|
404
|
+
B();
|
|
405
|
+
var k = q("Social Media Directory");
|
|
406
|
+
u(r, k);
|
|
417
407
|
},
|
|
418
408
|
$$slots: { default: !0 }
|
|
419
409
|
});
|
|
420
|
-
var
|
|
421
|
-
|
|
410
|
+
var d = M(f, 2);
|
|
411
|
+
H(d, {
|
|
422
412
|
href: "https://www.uoguelph.ca/web/",
|
|
423
|
-
children: (
|
|
424
|
-
|
|
425
|
-
var
|
|
426
|
-
y((
|
|
413
|
+
children: (r, C) => {
|
|
414
|
+
B();
|
|
415
|
+
var k = q();
|
|
416
|
+
y((G) => S(k, `© ${G ?? ""} University of Guelph`), [() => (/* @__PURE__ */ new Date()).getFullYear()]), u(r, k);
|
|
427
417
|
},
|
|
428
418
|
$$slots: { default: !0 }
|
|
429
|
-
}), o(
|
|
430
|
-
var
|
|
431
|
-
o1(
|
|
432
|
-
var
|
|
433
|
-
l1(
|
|
434
|
-
(
|
|
435
|
-
L(
|
|
419
|
+
}), o(x);
|
|
420
|
+
var z = M(x, 2);
|
|
421
|
+
o1(z, {});
|
|
422
|
+
var b = M(z, 2);
|
|
423
|
+
l1(b, {}), o(t), o(h), y(
|
|
424
|
+
(r, C) => {
|
|
425
|
+
L(t, 1, r), L(x, 1, C);
|
|
436
426
|
},
|
|
437
|
-
[() =>
|
|
438
|
-
), u(
|
|
427
|
+
[() => $(w()), () => $(n())]
|
|
428
|
+
), u(p, h), Z();
|
|
439
429
|
}
|
|
440
|
-
customElements.define("uofg-footer",
|
|
430
|
+
customElements.define("uofg-footer", A(D1, {}, [], [], { mode: "open" }, (p) => class extends p {
|
|
441
431
|
constructor() {
|
|
442
432
|
super(), y1(this.shadowRoot);
|
|
443
433
|
}
|