@uoguelph/web-components 1.9.0-rc.4 → 1.9.0-rc.5
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-Dud1EYGD.js → font-awesome-icon-BQURLWNp.js} +624 -629
- package/dist/uofg-web-components/legacy-DxV08m0s.js +53 -0
- package/dist/uofg-web-components/{slot-Btyq796h.js → slot-CAT5FJeP.js} +1 -1
- package/dist/uofg-web-components/uofg-alert.esm.js +31 -30
- package/dist/uofg-web-components/uofg-back-to-top.esm.js +9 -9
- package/dist/uofg-web-components/uofg-footer.esm.js +204 -117
- package/dist/uofg-web-components/uofg-header.esm.js +635 -648
- package/dist/uofg-web-components/uofg-modal.esm.js +69 -69
- package/dist/uofg-web-components/{window-CAd-bPmb.js → window-DSxbAs0w.js} +1 -1
- package/package.json +1 -1
- package/dist/uofg-web-components/legacy-DI2J6sTz.js +0 -43
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { i as
|
|
3
|
-
var
|
|
4
|
-
function
|
|
5
|
-
|
|
6
|
-
let t =
|
|
7
|
-
var
|
|
8
|
-
return
|
|
9
|
-
let
|
|
10
|
-
var
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}),
|
|
14
|
-
}),
|
|
1
|
+
import { c as m, p as z, a as V, I, b as y, d as h, J as $, e as F, h as C, f as x, D as M, K as w, l as g, j as u, r as o, L as D, M as W, N as X, O as B, P as K, Q as Z, R as J, T as G, U as Q, V as ee, F as te, s as ae, W as N, y as A, k as v, X as re, Y as se, i as oe } from "./font-awesome-icon-BQURLWNp.js";
|
|
2
|
+
import { i as T, s as le } from "./legacy-DxV08m0s.js";
|
|
3
|
+
var ne = 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>'), ie = x('<ul class="flex flex-wrap items-center justify-center bg-white p-3 px-[max(calc((100%-1320px)/2),2rem)]"></ul>');
|
|
4
|
+
function U(l, e) {
|
|
5
|
+
z(e, !0);
|
|
6
|
+
let t = V(e, "links", 7);
|
|
7
|
+
var s = ie();
|
|
8
|
+
return I(s, 21, t, $, (r, i) => {
|
|
9
|
+
let n = () => g(i).text, f = () => g(i).href;
|
|
10
|
+
var a = ne(), c = u(a), d = u(c, !0);
|
|
11
|
+
o(c), o(a), y(() => {
|
|
12
|
+
M(c, "href", f()), w(d, n());
|
|
13
|
+
}), h(r, a);
|
|
14
|
+
}), o(s), h(l, s), F({
|
|
15
15
|
get links() {
|
|
16
16
|
return t();
|
|
17
17
|
},
|
|
18
|
-
set links(
|
|
19
|
-
t(
|
|
18
|
+
set links(r) {
|
|
19
|
+
t(r), C();
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
|
-
|
|
24
|
-
var
|
|
23
|
+
m(U, { links: {} }, [], [], !0);
|
|
24
|
+
var ce = D(`<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 819.54 168.95"><defs><style>.cls-1 {
|
|
25
25
|
fill: #221f20;
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -38,229 +38,316 @@ var re = O(`<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/
|
|
|
38
38
|
.cls-4 {
|
|
39
39
|
fill: #e51937;
|
|
40
40
|
}</style></defs><g><rect class="cls-1" x="52.23" y="41.77" width="715.86" height="75.98"></rect><path class="cls-4" d="M766.59,43.27v72.98H53.73V43.27h712.86M769.59,40.27H50.73v78.98h718.86V40.27h0Z"></path></g><text class="cls-2" transform="translate(274.94 93.06)"><tspan x="0" y="0">IMP</tspan><tspan class="cls-3" x="69.75" y="0">R</tspan><tspan x="93.71" y="0">OVE LIFE</tspan></text></svg>`);
|
|
41
|
-
function
|
|
42
|
-
var e =
|
|
43
|
-
|
|
41
|
+
function q(l) {
|
|
42
|
+
var e = ce();
|
|
43
|
+
h(l, e);
|
|
44
44
|
}
|
|
45
|
-
|
|
46
|
-
var
|
|
47
|
-
function
|
|
48
|
-
var e =
|
|
49
|
-
|
|
45
|
+
m(q, {}, [], [], !0);
|
|
46
|
+
var ue = 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(l) {
|
|
48
|
+
var e = ue(), t = u(e);
|
|
49
|
+
q(t), o(e), h(l, e);
|
|
50
50
|
}
|
|
51
|
-
|
|
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 fe = {
|
|
58
58
|
prefix: "fab",
|
|
59
59
|
iconName: "tiktok",
|
|
60
60
|
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"]
|
|
61
|
-
},
|
|
61
|
+
}, he = {
|
|
62
62
|
prefix: "fab",
|
|
63
63
|
iconName: "square-facebook",
|
|
64
64
|
icon: [448, 512, ["facebook-square"], "f082", "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64h98.2V334.2H109.4V256h52.8V222.3c0-87.1 39.4-127.5 125-127.5c16.2 0 44.2 3.2 55.7 6.4V172c-6-.6-16.5-1-29.6-1c-42 0-58.2 15.9-58.2 57.2V256h83.6l-14.4 78.2H255V480H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64z"]
|
|
65
|
-
},
|
|
65
|
+
}, de = he, pe = {
|
|
66
66
|
prefix: "fab",
|
|
67
67
|
iconName: "linkedin",
|
|
68
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"]
|
|
69
|
-
},
|
|
69
|
+
}, ve = {
|
|
70
70
|
prefix: "fab",
|
|
71
71
|
iconName: "instagram",
|
|
72
72
|
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
|
-
},
|
|
73
|
+
}, ge = {
|
|
74
74
|
prefix: "fab",
|
|
75
75
|
iconName: "youtube",
|
|
76
76
|
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
|
-
},
|
|
77
|
+
}, xe = {
|
|
78
78
|
prefix: "fab",
|
|
79
79
|
iconName: "square-x-twitter",
|
|
80
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
|
-
},
|
|
81
|
+
}, E = {
|
|
82
82
|
directory: "https://www.uoguelph.ca/web/socialmedia/",
|
|
83
83
|
links: [
|
|
84
84
|
{
|
|
85
85
|
text: "X",
|
|
86
|
-
icon:
|
|
86
|
+
icon: xe,
|
|
87
87
|
href: "https://twitter.com/uofg",
|
|
88
88
|
classes: "focus:text-[#1da1f2] hover:text-[#1da1f2]"
|
|
89
89
|
},
|
|
90
90
|
{
|
|
91
91
|
text: "Facebook",
|
|
92
|
-
icon:
|
|
92
|
+
icon: de,
|
|
93
93
|
href: "https://www.facebook.com/uofguelph",
|
|
94
94
|
classes: "focus:text-[#4267b2] hover:text-[#4267b2]"
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
97
|
text: "Instagram",
|
|
98
|
-
icon:
|
|
98
|
+
icon: ve,
|
|
99
99
|
href: "https://www.instagram.com/uofguelph/",
|
|
100
100
|
classes: "focus:text-[#e1306c] hover:text-[#e1306c]"
|
|
101
101
|
},
|
|
102
102
|
{
|
|
103
103
|
text: "Youtube",
|
|
104
|
-
icon:
|
|
104
|
+
icon: ge,
|
|
105
105
|
href: "https://www.youtube.com/user/uofguelph",
|
|
106
106
|
classes: "focus:text-[#f00] hover:text-[#f00]"
|
|
107
107
|
},
|
|
108
108
|
{
|
|
109
109
|
text: "LinkedIn",
|
|
110
|
-
icon:
|
|
110
|
+
icon: pe,
|
|
111
111
|
href: "https://www.linkedin.com/school/university-of-guelph/",
|
|
112
112
|
classes: "focus:text-[#0077b5] hover:text-[#0077b5]"
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
115
|
text: "TikTok",
|
|
116
|
-
icon:
|
|
116
|
+
icon: fe,
|
|
117
117
|
href: "https://www.tiktok.com/@uofguelph",
|
|
118
118
|
classes: "focus:text-[#f00] hover:text-[#f00]"
|
|
119
119
|
}
|
|
120
120
|
]
|
|
121
|
-
},
|
|
121
|
+
}, we = [
|
|
122
122
|
{
|
|
123
123
|
text: "Accessibility",
|
|
124
|
-
icon:
|
|
124
|
+
icon: W,
|
|
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: X,
|
|
130
130
|
href: "https://www.uoguelph.ca/web/privacy/"
|
|
131
131
|
},
|
|
132
132
|
{
|
|
133
133
|
text: "Site Map",
|
|
134
|
-
icon:
|
|
134
|
+
icon: B,
|
|
135
135
|
href: "https://www.uoguelph.ca/sitemap"
|
|
136
136
|
},
|
|
137
137
|
{
|
|
138
138
|
text: "Status Page",
|
|
139
|
-
icon:
|
|
139
|
+
icon: K,
|
|
140
140
|
href: "https://uoguelph.statuspage.io/"
|
|
141
141
|
},
|
|
142
142
|
{
|
|
143
143
|
text: "Land Acknowledgement",
|
|
144
|
-
icon:
|
|
144
|
+
icon: Z,
|
|
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: J,
|
|
151
151
|
href: "https://careers.uoguelph.ca/"
|
|
152
152
|
},
|
|
153
153
|
{
|
|
154
154
|
text: "Undergraduate Calendar",
|
|
155
|
-
icon:
|
|
155
|
+
icon: G,
|
|
156
156
|
href: "https://www.uoguelph.ca/registrar/calendars/undergraduate/current/"
|
|
157
157
|
},
|
|
158
158
|
{
|
|
159
159
|
text: "Graduate Calendar",
|
|
160
|
-
icon:
|
|
160
|
+
icon: G,
|
|
161
161
|
href: "https://www.uoguelph.ca/registrar/calendars/graduate/current/"
|
|
162
162
|
},
|
|
163
163
|
{
|
|
164
164
|
text: "Admission",
|
|
165
|
-
icon:
|
|
165
|
+
icon: Q,
|
|
166
166
|
href: "https://uoguelph.ca/admission"
|
|
167
167
|
},
|
|
168
168
|
{
|
|
169
169
|
text: "Give to U of G",
|
|
170
|
-
icon:
|
|
170
|
+
icon: ee,
|
|
171
171
|
href: "https://www.alumni.uoguelph.ca/give-to-guelph/how-to-give"
|
|
172
172
|
}
|
|
173
|
-
],
|
|
173
|
+
], _ = {
|
|
174
174
|
title: "University of Guelph",
|
|
175
175
|
street: "50 Stone Road East",
|
|
176
176
|
city: "Guelph",
|
|
177
177
|
postalCode: "N1G 2W1",
|
|
178
178
|
phoneNumber: "519-824-4120"
|
|
179
179
|
};
|
|
180
|
-
var
|
|
181
|
-
function
|
|
182
|
-
|
|
183
|
-
var t =
|
|
184
|
-
|
|
185
|
-
let
|
|
186
|
-
var
|
|
187
|
-
|
|
180
|
+
var me = x("<li><a><!></a></li>"), be = x('<ul class="flex gap-3 text-xl [&>li]:contents"></ul>');
|
|
181
|
+
function O(l, e) {
|
|
182
|
+
z(e, !1), T();
|
|
183
|
+
var t = be();
|
|
184
|
+
I(t, 5, () => E.links, $, (s, r) => {
|
|
185
|
+
let i = () => g(r).href, n = () => g(r).text, f = () => g(r).icon, a = () => g(r).classes;
|
|
186
|
+
var c = me(), d = u(c), k = u(d);
|
|
187
|
+
te(k, {
|
|
188
188
|
get icon() {
|
|
189
|
-
return
|
|
189
|
+
return f();
|
|
190
190
|
}
|
|
191
|
-
}),
|
|
192
|
-
|
|
193
|
-
}),
|
|
194
|
-
}),
|
|
191
|
+
}), o(d), o(c), y(() => {
|
|
192
|
+
M(d, "href", i()), M(d, "aria-label", n()), ae(d, `transition-colors ${a()}`);
|
|
193
|
+
}), h(s, c);
|
|
194
|
+
}), o(t), h(l, t), F();
|
|
195
195
|
}
|
|
196
|
-
|
|
197
|
-
var
|
|
198
|
-
function
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
196
|
+
m(O, {}, [], [], !0);
|
|
197
|
+
var ye = x('<a class="w-fit underline decoration-transparent transition-colors focus:decoration-black-contrast hover:decoration-black-contrast"><!></a>');
|
|
198
|
+
function L(l, e) {
|
|
199
|
+
z(e, !0);
|
|
200
|
+
let t = V(e, "href", 7), s = V(e, "label", 7), r = V(e, "title", 7), i = V(e, "children", 7);
|
|
201
|
+
var n = ye(), f = u(n);
|
|
202
|
+
return le(f, i), o(n), y(() => {
|
|
203
|
+
M(n, "href", t()), M(n, "title", r() ?? void 0), M(n, "aria-label", s() ?? void 0);
|
|
204
|
+
}), h(l, n), F({
|
|
205
|
+
get href() {
|
|
206
|
+
return t();
|
|
207
|
+
},
|
|
208
|
+
set href(a) {
|
|
209
|
+
t(a), C();
|
|
210
|
+
},
|
|
211
|
+
get label() {
|
|
212
|
+
return s();
|
|
213
|
+
},
|
|
214
|
+
set label(a) {
|
|
215
|
+
s(a), C();
|
|
216
|
+
},
|
|
217
|
+
get title() {
|
|
218
|
+
return r();
|
|
219
|
+
},
|
|
220
|
+
set title(a) {
|
|
221
|
+
r(a), C();
|
|
222
|
+
},
|
|
223
|
+
get children() {
|
|
224
|
+
return i();
|
|
225
|
+
},
|
|
226
|
+
set children(a) {
|
|
227
|
+
i(a), C();
|
|
228
|
+
}
|
|
229
|
+
});
|
|
207
230
|
}
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
231
|
+
m(
|
|
232
|
+
L,
|
|
233
|
+
{
|
|
234
|
+
href: {},
|
|
235
|
+
label: {},
|
|
236
|
+
title: {},
|
|
237
|
+
children: {}
|
|
238
|
+
},
|
|
239
|
+
[],
|
|
240
|
+
[],
|
|
241
|
+
!0
|
|
242
|
+
);
|
|
243
|
+
var ke = x("<li><!></li>"), _e = 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>');
|
|
244
|
+
function Y(l) {
|
|
245
|
+
var e = _e(), t = u(e);
|
|
246
|
+
I(t, 5, () => we, $, (s, r) => {
|
|
247
|
+
let i = () => g(r).href, n = () => g(r).title, f = () => g(r).text;
|
|
248
|
+
var a = ke(), c = u(a);
|
|
249
|
+
L(c, {
|
|
250
|
+
get href() {
|
|
251
|
+
return i();
|
|
252
|
+
},
|
|
253
|
+
get title() {
|
|
254
|
+
return n();
|
|
255
|
+
},
|
|
256
|
+
children: (d, k) => {
|
|
257
|
+
A();
|
|
258
|
+
var b = N();
|
|
259
|
+
y(() => w(b, f())), h(d, b);
|
|
260
|
+
},
|
|
261
|
+
$$slots: { default: !0 }
|
|
262
|
+
}), o(a), h(s, a);
|
|
263
|
+
}), o(t), o(e), h(l, e);
|
|
224
264
|
}
|
|
225
|
-
|
|
226
|
-
var
|
|
227
|
-
function
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
265
|
+
m(Y, {}, [], [], !0);
|
|
266
|
+
var Ve = x('<address class="flex flex-col gap-1 not-italic"><strong> </strong> <span> </span> <span> </span> <span> </span> <!></address>');
|
|
267
|
+
function j(l, e) {
|
|
268
|
+
z(e, !1), T();
|
|
269
|
+
var t = Ve(), s = u(t), r = u(s, !0);
|
|
270
|
+
o(s);
|
|
271
|
+
var i = v(s, 2), n = u(i);
|
|
272
|
+
o(i);
|
|
273
|
+
var f = v(i, 2), a = u(f);
|
|
274
|
+
o(f);
|
|
275
|
+
var c = v(f, 2), d = u(c, !0);
|
|
276
|
+
o(c);
|
|
277
|
+
var k = v(c, 2), b = re(() => `tel:${_.phoneNumber}`);
|
|
278
|
+
L(k, {
|
|
279
|
+
get href() {
|
|
280
|
+
return g(b);
|
|
281
|
+
},
|
|
282
|
+
children: (P, p) => {
|
|
283
|
+
A();
|
|
284
|
+
var H = N();
|
|
285
|
+
y(() => w(H, _.phoneNumber)), h(P, H);
|
|
286
|
+
},
|
|
287
|
+
$$slots: { default: !0 }
|
|
288
|
+
}), o(t), y(() => {
|
|
289
|
+
w(r, _.title), w(n, `${_.street},`), w(a, `${_.city}, Ontario, Canada`), w(d, _.postalCode);
|
|
290
|
+
}), h(l, t), F();
|
|
291
|
+
}
|
|
292
|
+
m(j, {}, [], [], !0);
|
|
293
|
+
var Ce = 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>');
|
|
294
|
+
function Me(l, e) {
|
|
295
|
+
z(e, !0);
|
|
296
|
+
let t = V(e, "subFooter", 7);
|
|
297
|
+
var s = Ce(), r = u(s);
|
|
231
298
|
{
|
|
232
|
-
var
|
|
233
|
-
|
|
299
|
+
var i = (p) => {
|
|
300
|
+
U(p, {
|
|
234
301
|
get links() {
|
|
235
302
|
return t();
|
|
236
303
|
}
|
|
237
304
|
});
|
|
238
305
|
};
|
|
239
|
-
|
|
240
|
-
Array.isArray(t()) && t().length > 0 &&
|
|
306
|
+
se(r, (p) => {
|
|
307
|
+
Array.isArray(t()) && t().length > 0 && p(i);
|
|
241
308
|
});
|
|
242
309
|
}
|
|
243
|
-
var
|
|
244
|
-
|
|
245
|
-
var
|
|
246
|
-
|
|
247
|
-
var
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
310
|
+
var n = v(r, 2), f = u(n), a = u(f);
|
|
311
|
+
R(a);
|
|
312
|
+
var c = v(a, 2);
|
|
313
|
+
O(c, {});
|
|
314
|
+
var d = v(c, 2);
|
|
315
|
+
L(d, {
|
|
316
|
+
get href() {
|
|
317
|
+
return E.directory;
|
|
318
|
+
},
|
|
319
|
+
children: (p, H) => {
|
|
320
|
+
A();
|
|
321
|
+
var S = N("Social Media Directory");
|
|
322
|
+
h(p, S);
|
|
323
|
+
},
|
|
324
|
+
$$slots: { default: !0 }
|
|
325
|
+
});
|
|
326
|
+
var k = v(d, 2);
|
|
327
|
+
L(k, {
|
|
328
|
+
href: "https://www.uoguelph.ca/web/",
|
|
329
|
+
children: (p, H) => {
|
|
330
|
+
A();
|
|
331
|
+
var S = N();
|
|
332
|
+
y(() => w(S, `© ${(/* @__PURE__ */ new Date()).getFullYear() ?? ""} University of Guelph`)), h(p, S);
|
|
333
|
+
},
|
|
334
|
+
$$slots: { default: !0 }
|
|
335
|
+
}), o(f);
|
|
336
|
+
var b = v(f, 2);
|
|
337
|
+
Y(b);
|
|
338
|
+
var P = v(b, 2);
|
|
339
|
+
return j(P, {}), o(n), o(s), h(l, s), F({
|
|
253
340
|
get subFooter() {
|
|
254
341
|
return t();
|
|
255
342
|
},
|
|
256
|
-
set subFooter(
|
|
257
|
-
t(
|
|
343
|
+
set subFooter(p) {
|
|
344
|
+
t(p), C();
|
|
258
345
|
}
|
|
259
346
|
});
|
|
260
347
|
}
|
|
261
|
-
customElements.define("uofg-footer",
|
|
348
|
+
customElements.define("uofg-footer", m(Me, { subFooter: {} }, [], [], !0, (l) => class extends l {
|
|
262
349
|
constructor() {
|
|
263
|
-
super(),
|
|
350
|
+
super(), oe(this.shadowRoot);
|
|
264
351
|
}
|
|
265
352
|
connectedCallback() {
|
|
266
353
|
super.connectedCallback(), this.updateSubFooter(), this.observer ?? (this.observer = new MutationObserver(() => {
|
|
@@ -278,5 +365,5 @@ customElements.define("uofg-footer", b(me, { subFooter: {} }, [], [], !0, (i) =>
|
|
|
278
365
|
}
|
|
279
366
|
}));
|
|
280
367
|
export {
|
|
281
|
-
|
|
368
|
+
Me as default
|
|
282
369
|
};
|