@uoguelph/web-components 1.8.0-rc.0 → 1.9.0-rc.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/dist/uofg-web-components/font-awesome-icon-AppLwNgo.js +2477 -0
- package/dist/uofg-web-components/legacy-CNO5GCyF.js +43 -0
- package/dist/uofg-web-components/slot-CexNersB.js +18 -0
- package/dist/uofg-web-components/uofg-alert.esm.js +46 -148
- package/dist/uofg-web-components/uofg-back-to-top.esm.js +22 -78
- package/dist/uofg-web-components/uofg-footer.esm.js +167 -644
- package/dist/uofg-web-components/uofg-header.esm.js +1127 -3139
- package/dist/uofg-web-components/uofg-modal.esm.js +205 -324
- package/dist/uofg-web-components/uofg-web-components.css +1 -1
- package/dist/uofg-web-components/window-CPkdhWRF.js +25 -0
- package/package.json +23 -8
- package/dist/uofg-web-components/font-awesome-icon-B0B9COBP.js +0 -1047
- package/dist/uofg-web-components/index-CoNdSmYh.js +0 -31
|
@@ -1,175 +1,89 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
a
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
p(s, l) {
|
|
21
|
-
l & /*links*/
|
|
22
|
-
1 && t !== (t = /*text*/
|
|
23
|
-
s[1] + "") && be(n, t), l & /*links*/
|
|
24
|
-
1 && o !== (o = /*href*/
|
|
25
|
-
s[2]) && d(r, "href", o);
|
|
26
|
-
},
|
|
27
|
-
d(s) {
|
|
28
|
-
s && x(e);
|
|
1
|
+
import { c as y, p as C, a as A, J as F, b as V, d as g, K as L, e as M, h as P, f as w, E as k, L as m, u as x, j as a, r, M as O, N as Y, O as W, P as X, Q as Z, R as B, T as D, U as S, V as K, W as J, X as Q, F as z, s as $, k as b, Y as ee, Z as te, i as re } from "./font-awesome-icon-AppLwNgo.js";
|
|
2
|
+
import { i as H } from "./legacy-CNO5GCyF.js";
|
|
3
|
+
var ae = w('<li class="p-3"><a class="transition-all decoration-transparent text-blue hover:text-blue-800 focus:text-blue-800 hover:underline focus:underline hover:decoration-current focus:decoration-current"> </a></li>'), se = w('<ul class="flex flex-wrap items-center justify-center bg-white p-3 px-[max(calc((100%-1320px)/2),2rem)]"></ul>');
|
|
4
|
+
function G(o, e) {
|
|
5
|
+
C(e, !0);
|
|
6
|
+
let t = A(e, "links", 7);
|
|
7
|
+
var s = se();
|
|
8
|
+
return F(s, 21, t, L, (n, h) => {
|
|
9
|
+
let c = () => x(h).text, l = () => x(h).href;
|
|
10
|
+
var d = ae(), i = a(d), p = a(i, !0);
|
|
11
|
+
r(i), r(d), V(() => {
|
|
12
|
+
k(i, "href", l()), m(p, c());
|
|
13
|
+
}), g(n, d);
|
|
14
|
+
}), r(s), g(o, s), M({
|
|
15
|
+
get links() {
|
|
16
|
+
return t();
|
|
17
|
+
},
|
|
18
|
+
set links(n) {
|
|
19
|
+
t(n), P();
|
|
29
20
|
}
|
|
30
|
-
};
|
|
21
|
+
});
|
|
31
22
|
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
a[0]
|
|
36
|
-
), t = [];
|
|
37
|
-
for (let n = 0; n < r.length; n += 1)
|
|
38
|
-
t[n] = B(O(a, r, n));
|
|
39
|
-
return {
|
|
40
|
-
c() {
|
|
41
|
-
e = g("ul");
|
|
42
|
-
for (let n = 0; n < t.length; n += 1)
|
|
43
|
-
t[n].c();
|
|
44
|
-
d(e, "class", "flex flex-wrap items-center justify-center bg-white p-6 px-[max(calc((100%-1320px)/2),2rem)]");
|
|
45
|
-
},
|
|
46
|
-
m(n, o) {
|
|
47
|
-
$(n, e, o);
|
|
48
|
-
for (let i = 0; i < t.length; i += 1)
|
|
49
|
-
t[i] && t[i].m(e, null);
|
|
50
|
-
},
|
|
51
|
-
p(n, [o]) {
|
|
52
|
-
if (o & /*links*/
|
|
53
|
-
1) {
|
|
54
|
-
r = A(
|
|
55
|
-
/*links*/
|
|
56
|
-
n[0]
|
|
57
|
-
);
|
|
58
|
-
let i;
|
|
59
|
-
for (i = 0; i < r.length; i += 1) {
|
|
60
|
-
const s = O(n, r, i);
|
|
61
|
-
t[i] ? t[i].p(s, o) : (t[i] = B(s), t[i].c(), t[i].m(e, null));
|
|
62
|
-
}
|
|
63
|
-
for (; i < t.length; i += 1)
|
|
64
|
-
t[i].d(1);
|
|
65
|
-
t.length = r.length;
|
|
23
|
+
y(G, { links: {} }, [], [], !0);
|
|
24
|
+
var oe = O(`<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
|
+
fill: #221f20;
|
|
66
26
|
}
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
}
|
|
85
|
-
get links() {
|
|
86
|
-
return this.$$.ctx[0];
|
|
87
|
-
}
|
|
88
|
-
set links(e) {
|
|
89
|
-
this.$$set({ links: e }), Z();
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
N(se, { links: {} }, [], [], !0);
|
|
93
|
-
function He(a) {
|
|
94
|
-
let e, r;
|
|
95
|
-
return {
|
|
96
|
-
c() {
|
|
97
|
-
e = q("svg"), r = q("path"), d(r, "d", "M0 0h5.3v.5C4 .5 3.6.8 3.6 2.1v7.3c0 1.4.3 1.8 1.6 1.8v.5H0v-.5c1.5 0 1.5-.5 1.5-1.6V1.9C1.5.9 1.3.5 0 .5ZM6.1 11.4c.9 0 1.1-.2 1.2-1.4l.3-5.1c.1-1.2-.1-1.4-.9-1.4v-.4h2.6l3 6.5 2.8-6.5h2.6v.4c-.8 0-.9.2-.9.8l.5 6.3c.1.7.3.8 1.1.8v.4h-4v-.4c1.1 0 1.3-.3 1.2-1.8l-.4-5.1-3.2 7.3h-.5L8.4 4.7l-.3 5.1c-.1 1.5.2 1.5 1.1 1.6v.4H6.1ZM19.2 11.4c1 0 1.2-.2 1.2-1.5v-5c0-1.4-.2-1.5-1.3-1.5v-.3h1.4a14.4 14.4 0 0 1 1.8-.1c2.6 0 4.1.6 4.1 2.5 0 1.6-1.4 2.8-3.3 2.8a3.8 3.8 0 0 1-1.1-.1v1.9c0 1.1.3 1.3 1.6 1.3v.4h-4.3v-.4Zm2.7-3.7.6.1a2.2 2.2 0 0 0 2.2-2.3 2 2 0 0 0-2.1-2.1h-.7ZM29.7 10c0 1.2.2 1.4 1.4 1.4v.4h-4.3v-.4c1.2 0 1.3-.3 1.3-1.2V4.6c0-.9-.2-1.1-1.3-1.1v-.4l2-.1h1.7c2.8 0 3.8 1.2 3.8 2.5a2.5 2.5 0 0 1-1.8 2.3 9.4 9.4 0 0 1 1 1l.9.9a5.4 5.4 0 0 0 3.3 1.9v.4c-2.7.1-3.4-.4-4.7-1.7l-.7-.7a8 8 0 0 0-1.5-1.3h-1.2V10Zm0-2.2h.4c1.9-.1 2.5-.8 2.5-2.2a2 2 0 0 0-2.3-2.2 1.7 1.7 0 0 0-.7.1v4.3ZM42.4 2.9c3 0 5.1 1.8 5.1 4.4a4.8 4.8 0 0 1-5.1 4.7c-2.9 0-5-1.8-5-4.3-.1-2.8 2.1-4.8 5-4.8Zm.2 8.6c1.9 0 3.2-1.6 3.2-3.9 0-2.5-1.5-4.3-3.5-4.3S39 4.8 39 7.3c0 2.8 1.8 4.2 3.6 4.2ZM49 4.5c-.4-1-.5-1.1-1.4-1.1v-.3h4.3v.4c-1.1 0-1.3.3-1.3.6a3 3 0 0 0 .2.8l2.1 5.2 2-4.9a4.5 4.5 0 0 0 .3-1.1c0-.5-.4-.6-1.3-.6v-.4h3.4v.4c-1 0-1.2.5-1.6 1.6L52.8 12H52ZM57.7 11.8v-.4c1.1 0 1.4-.2 1.4-1v-6c0-.9-.5-.9-1.4-.9v-.4h7.1l.1 2.1h-.4l-.1-.3c-.3-1.1-.5-1.2-1.4-1.2h-2.5V7h2.2c.8 0 1-.1 1-1.1h.4v2.8h-.4c-.1-1-.3-1.1-1-1.1h-2.2v2.5c0 .9.1 1 .8 1H63c1.4 0 1.7-.2 2.1-1.6h.4l-.2 2.2h-7.6ZM72.2 11.8v-.5c1.5 0 1.8-.1 1.8-1.6V2.1C74 .8 73.9.4 72.2.5V0h6.2v.5c-2 0-2.3.1-2.3 1.5v8c0 .8.2.9 1 .9H79c1.6 0 1.7-.1 3.1-2h.6l-1.5 2.9ZM83.2 3.1h3.9v.4c-.9 0-1.2.2-1.2 1.2v5.4c0 1 .2 1.3 1.2 1.3v.4h-3.9v-.4c1.1 0 1.1-.4 1.1-1.2V4.5c0-.8-.2-1.1-1.1-1ZM90.7 10c0 1.1.2 1.3 1.2 1.3v.4H88v-.4c.9 0 1.1-.3 1.1-1.1V4.5c0-.8-.3-1-1.1-1v-.4h6.6v1.7h-.4c-.1-.9-.3-1.1-1.4-1.1h-2.2v3.1h2.2c.9 0 1-.1 1.1-.9h.4v2.6H94c-.1-.9-.3-1-1.2-1h-2.1ZM95.3 11.8v-.4c1.1 0 1.4-.2 1.4-1v-6c0-.9-.5-.9-1.4-.9v-.4h7.1l.1 2.1h-.4l-.1-.3c-.3-1.1-.5-1.2-1.4-1.2h-2.5V7h2.2c.8 0 1-.1 1-1.1h.4v2.8h-.4c-.1-1-.3-1.1-1-1.1h-2.2v2.5c0 .9.1 1 .8 1h1.5c1.4 0 1.7-.2 2.1-1.6h.4l-.2 2.2h-7.4ZM107.4 10.9c0 .7-.5 1.1-1.3 1.1s-1.3-.4-1.3-1.1a1.2 1.2 0 0 1 1.3-1.2 1.2 1.2 0 0 1 1.3 1.2Z"), d(e, "xmlns", "http://www.w3.org/2000/svg"), d(e, "fill", "#fff"), d(e, "viewBox", "0 0 107.4 12");
|
|
98
|
-
},
|
|
99
|
-
m(t, n) {
|
|
100
|
-
$(t, e, n), h(e, r);
|
|
101
|
-
},
|
|
102
|
-
p: y,
|
|
103
|
-
i: y,
|
|
104
|
-
o: y,
|
|
105
|
-
d(t) {
|
|
106
|
-
t && x(e);
|
|
107
|
-
}
|
|
108
|
-
};
|
|
109
|
-
}
|
|
110
|
-
class ie extends S {
|
|
111
|
-
constructor(e) {
|
|
112
|
-
super(), L(this, e, null, He, F, {});
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
N(ie, {}, [], [], !0);
|
|
116
|
-
function Ne(a) {
|
|
117
|
-
let e, r, t;
|
|
118
|
-
return r = new ie({}), {
|
|
119
|
-
c() {
|
|
120
|
-
e = g("a"), M(r.$$.fragment), d(e, "href", "https://www.uoguelph.ca/improve-life"), d(e, "aria-label", "Improve Life"), d(e, "class", "flex transition-opacity focus:opacity-75 hover:opacity-75 [&>svg]:block [&>svg]:h-[1.6em] [&>svg]:mb-4");
|
|
121
|
-
},
|
|
122
|
-
m(n, o) {
|
|
123
|
-
$(n, e, o), V(r, e, null), t = !0;
|
|
124
|
-
},
|
|
125
|
-
p: y,
|
|
126
|
-
i(n) {
|
|
127
|
-
t || (w(r.$$.fragment, n), t = !0);
|
|
128
|
-
},
|
|
129
|
-
o(n) {
|
|
130
|
-
v(r.$$.fragment, n), t = !1;
|
|
131
|
-
},
|
|
132
|
-
d(n) {
|
|
133
|
-
n && x(e), H(r);
|
|
134
|
-
}
|
|
135
|
-
};
|
|
27
|
+
|
|
28
|
+
.cls-2 {
|
|
29
|
+
fill: #fff;
|
|
30
|
+
font-family: MyriadPro-Regular, 'Myriad Pro';
|
|
31
|
+
font-size: 44.28px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.cls-3 {
|
|
35
|
+
letter-spacing: 0em;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.cls-4 {
|
|
39
|
+
fill: #e51937;
|
|
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 I(o) {
|
|
42
|
+
var e = oe();
|
|
43
|
+
g(o, e);
|
|
136
44
|
}
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
45
|
+
y(I, {}, [], [], !0);
|
|
46
|
+
var ie = w('<a href="https://www.uoguelph.ca/improve-life" aria-label="Improve Life" class="flex transition-opacity focus:opacity-75 hover:opacity-75 [&>svg]:block [&>svg]:w-full"><!></a>');
|
|
47
|
+
function T(o) {
|
|
48
|
+
var e = ie(), t = a(e);
|
|
49
|
+
I(t), r(e), g(o, e);
|
|
141
50
|
}
|
|
142
|
-
|
|
143
|
-
|
|
51
|
+
y(T, {}, [], [], !0);
|
|
52
|
+
/*!
|
|
53
|
+
* Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
|
|
54
|
+
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
55
|
+
* Copyright 2024 Fonticons, Inc.
|
|
56
|
+
*/
|
|
57
|
+
const ne = {
|
|
144
58
|
prefix: "fab",
|
|
145
59
|
iconName: "tiktok",
|
|
146
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"]
|
|
147
|
-
},
|
|
61
|
+
}, ce = {
|
|
148
62
|
prefix: "fab",
|
|
149
63
|
iconName: "square-facebook",
|
|
150
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"]
|
|
151
|
-
}, le =
|
|
65
|
+
}, le = ce, ue = {
|
|
152
66
|
prefix: "fab",
|
|
153
67
|
iconName: "linkedin",
|
|
154
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"]
|
|
155
|
-
},
|
|
69
|
+
}, fe = {
|
|
156
70
|
prefix: "fab",
|
|
157
71
|
iconName: "instagram",
|
|
158
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"]
|
|
159
|
-
},
|
|
73
|
+
}, he = {
|
|
160
74
|
prefix: "fab",
|
|
161
75
|
iconName: "youtube",
|
|
162
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"]
|
|
163
|
-
},
|
|
77
|
+
}, de = {
|
|
164
78
|
prefix: "fab",
|
|
165
79
|
iconName: "square-x-twitter",
|
|
166
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"]
|
|
167
|
-
},
|
|
81
|
+
}, N = {
|
|
168
82
|
directory: "https://www.uoguelph.ca/web/socialmedia/",
|
|
169
83
|
links: [
|
|
170
84
|
{
|
|
171
85
|
text: "X",
|
|
172
|
-
icon:
|
|
86
|
+
icon: de,
|
|
173
87
|
href: "https://twitter.com/uofg",
|
|
174
88
|
classes: "focus:text-[#1da1f2] hover:text-[#1da1f2]"
|
|
175
89
|
},
|
|
@@ -181,580 +95,189 @@ const Se = {
|
|
|
181
95
|
},
|
|
182
96
|
{
|
|
183
97
|
text: "Instagram",
|
|
184
|
-
icon:
|
|
98
|
+
icon: fe,
|
|
185
99
|
href: "https://www.instagram.com/uofguelph/",
|
|
186
100
|
classes: "focus:text-[#e1306c] hover:text-[#e1306c]"
|
|
187
101
|
},
|
|
188
102
|
{
|
|
189
103
|
text: "Youtube",
|
|
190
|
-
icon:
|
|
104
|
+
icon: he,
|
|
191
105
|
href: "https://www.youtube.com/user/uofguelph",
|
|
192
106
|
classes: "focus:text-[#f00] hover:text-[#f00]"
|
|
193
107
|
},
|
|
194
108
|
{
|
|
195
109
|
text: "LinkedIn",
|
|
196
|
-
icon:
|
|
110
|
+
icon: ue,
|
|
197
111
|
href: "https://www.linkedin.com/school/university-of-guelph/",
|
|
198
112
|
classes: "focus:text-[#0077b5] hover:text-[#0077b5]"
|
|
199
113
|
},
|
|
200
114
|
{
|
|
201
115
|
text: "TikTok",
|
|
202
|
-
icon:
|
|
116
|
+
icon: ne,
|
|
203
117
|
href: "https://www.tiktok.com/@uofguelph",
|
|
204
118
|
classes: "focus:text-[#f00] hover:text-[#f00]"
|
|
205
119
|
}
|
|
206
120
|
]
|
|
207
|
-
},
|
|
121
|
+
}, pe = [
|
|
208
122
|
{
|
|
209
123
|
text: "Accessibility",
|
|
210
|
-
icon:
|
|
124
|
+
icon: Y,
|
|
211
125
|
href: "https://www.uoguelph.ca/diversity-human-rights/accessibility-u-g"
|
|
212
126
|
},
|
|
213
127
|
{
|
|
214
128
|
text: "Privacy",
|
|
215
|
-
icon:
|
|
129
|
+
icon: W,
|
|
216
130
|
href: "https://www.uoguelph.ca/web/privacy/"
|
|
217
131
|
},
|
|
218
132
|
{
|
|
219
133
|
text: "Site Map",
|
|
220
|
-
icon:
|
|
134
|
+
icon: X,
|
|
221
135
|
href: "https://www.uoguelph.ca/sitemap"
|
|
222
136
|
},
|
|
223
137
|
{
|
|
224
138
|
text: "Status Page",
|
|
225
|
-
icon:
|
|
139
|
+
icon: Z,
|
|
226
140
|
href: "https://uoguelph.statuspage.io/"
|
|
227
141
|
},
|
|
228
142
|
{
|
|
229
143
|
text: "Land Acknowledgement",
|
|
230
|
-
icon:
|
|
144
|
+
icon: B,
|
|
231
145
|
href: "https://www.uoguelph.ca/land-acknowledgement/",
|
|
232
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."
|
|
233
147
|
},
|
|
234
148
|
{
|
|
235
149
|
text: "Careers",
|
|
236
|
-
icon:
|
|
150
|
+
icon: D,
|
|
237
151
|
href: "https://careers.uoguelph.ca/"
|
|
238
152
|
},
|
|
239
153
|
{
|
|
240
154
|
text: "Undergraduate Calendar",
|
|
241
|
-
icon:
|
|
155
|
+
icon: S,
|
|
242
156
|
href: "https://www.uoguelph.ca/registrar/calendars/undergraduate/current/"
|
|
243
157
|
},
|
|
244
158
|
{
|
|
245
159
|
text: "Graduate Calendar",
|
|
246
|
-
icon:
|
|
160
|
+
icon: S,
|
|
247
161
|
href: "https://www.uoguelph.ca/registrar/calendars/graduate/current/"
|
|
248
162
|
},
|
|
249
163
|
{
|
|
250
164
|
text: "Program Plans",
|
|
251
|
-
icon:
|
|
165
|
+
icon: K,
|
|
252
166
|
href: "https://admission.uoguelph.ca/programs"
|
|
253
167
|
},
|
|
254
168
|
{
|
|
255
169
|
text: "Give to U of G",
|
|
256
|
-
icon:
|
|
170
|
+
icon: J,
|
|
257
171
|
href: "https://www.alumni.uoguelph.ca/give-to-guelph/how-to-give"
|
|
258
172
|
}
|
|
259
|
-
],
|
|
173
|
+
], _ = {
|
|
260
174
|
title: "University of Guelph",
|
|
261
175
|
street: "50 Stone Road East",
|
|
262
176
|
city: "Guelph",
|
|
263
177
|
postalCode: "N1G 2W1",
|
|
264
178
|
phoneNumber: "519-824-4120"
|
|
265
179
|
};
|
|
266
|
-
var
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
var
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
o,
|
|
277
|
-
i,
|
|
278
|
-
s
|
|
279
|
-
]
|
|
280
|
-
}, a.faLocationDot = a.definition, a.prefix = e, a.iconName = r, a.width = t, a.height = n, a.ligatures = o, a.unicode = i, a.svgPathData = s, a.aliases = o;
|
|
281
|
-
})(ge);
|
|
282
|
-
(function(a) {
|
|
283
|
-
Object.defineProperty(a, "__esModule", { value: !0 });
|
|
284
|
-
var e = ge;
|
|
285
|
-
a.definition = {
|
|
286
|
-
prefix: e.prefix,
|
|
287
|
-
iconName: e.iconName,
|
|
288
|
-
icon: [
|
|
289
|
-
e.width,
|
|
290
|
-
e.height,
|
|
291
|
-
e.aliases,
|
|
292
|
-
e.unicode,
|
|
293
|
-
e.svgPathData
|
|
294
|
-
]
|
|
295
|
-
}, a.faMapMarkerAlt = a.definition, a.prefix = e.prefix, a.iconName = e.iconName, a.width = e.width, a.height = e.height, a.ligatures = e.aliases, a.unicode = e.unicode, a.svgPathData = e.svgPathData, a.aliases = e.aliases;
|
|
296
|
-
})(de);
|
|
297
|
-
const Ze = {
|
|
298
|
-
directory: "https://www.ridgetownc.com/about/contactus/#socials",
|
|
299
|
-
links: [
|
|
300
|
-
{
|
|
301
|
-
text: "X",
|
|
302
|
-
icon: he,
|
|
303
|
-
href: "https://twitter.com/RidgetownCampus",
|
|
304
|
-
classes: "focus:text-[#1da1f2] hover:text-[#1da1f2]"
|
|
305
|
-
},
|
|
306
|
-
{
|
|
307
|
-
text: "Instagram",
|
|
308
|
-
icon: ue,
|
|
309
|
-
href: "https://www.instagram.com/ridgetowncampus",
|
|
310
|
-
classes: "focus:text-[#e1306c] hover:text-[#e1306c]"
|
|
311
|
-
},
|
|
312
|
-
{
|
|
313
|
-
text: "LinkedIn",
|
|
314
|
-
icon: fe,
|
|
315
|
-
href: "https://www.linkedin.com/company/university-of-guelph-ridgetown-campus",
|
|
316
|
-
classes: "focus:text-[#0077b5] hover:text-[#0077b5]"
|
|
317
|
-
},
|
|
318
|
-
{
|
|
319
|
-
text: "Facebook",
|
|
320
|
-
icon: le,
|
|
321
|
-
href: "https://www.facebook.com/UofGRidgetownCampus/",
|
|
322
|
-
classes: "focus:text-[#4267b2] hover:text-[#4267b2]"
|
|
323
|
-
}
|
|
324
|
-
]
|
|
325
|
-
}, Ge = [
|
|
326
|
-
{
|
|
327
|
-
text: "Accessibility",
|
|
328
|
-
icon: Q,
|
|
329
|
-
href: "https://www.uoguelph.ca/diversity-human-rights/accessibility-u-g"
|
|
330
|
-
},
|
|
331
|
-
{
|
|
332
|
-
text: "Land Acknowledgement",
|
|
333
|
-
icon: re,
|
|
334
|
-
href: "https://www.uoguelph.ca/land-acknowledgement/",
|
|
335
|
-
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."
|
|
336
|
-
},
|
|
337
|
-
{
|
|
338
|
-
text: "Privacy",
|
|
339
|
-
icon: ee,
|
|
340
|
-
href: "https://www.uoguelph.ca/web/privacy/"
|
|
341
|
-
},
|
|
342
|
-
{
|
|
343
|
-
text: "Status Page",
|
|
344
|
-
icon: te,
|
|
345
|
-
href: "https://uoguelph.statuspage.io/"
|
|
346
|
-
},
|
|
347
|
-
{
|
|
348
|
-
text: "Careers",
|
|
349
|
-
icon: ae,
|
|
350
|
-
href: "https://careers.uoguelph.ca/"
|
|
351
|
-
},
|
|
352
|
-
{
|
|
353
|
-
text: "Give to U of G",
|
|
354
|
-
icon: oe,
|
|
355
|
-
href: "https://www.alumni.uoguelph.ca/give-to-guelph/how-to-give"
|
|
356
|
-
},
|
|
357
|
-
{
|
|
358
|
-
text: "Visit Us",
|
|
359
|
-
icon: de.faMapMarkerAlt,
|
|
360
|
-
href: "https://preview-ugconthub.netlify.app/ridgetown/campus-tour/"
|
|
361
|
-
},
|
|
362
|
-
{
|
|
363
|
-
text: "Programs",
|
|
364
|
-
icon: ne,
|
|
365
|
-
href: "https://preview-ugconthub.netlify.app/ridgetown/programs/"
|
|
366
|
-
},
|
|
367
|
-
{
|
|
368
|
-
text: "Campus Map",
|
|
369
|
-
icon: xe,
|
|
370
|
-
href: "https://preview-ugconthub.netlify.app/ridgetown/about/directions"
|
|
371
|
-
}
|
|
372
|
-
], Ue = {
|
|
373
|
-
title: "University of Guelph, Ridgetown Campus",
|
|
374
|
-
street: "120 Main Street East",
|
|
375
|
-
city: "Ridgetown",
|
|
376
|
-
postalCode: "N0P 2C0",
|
|
377
|
-
phoneNumber: "519-674-1500"
|
|
378
|
-
};
|
|
379
|
-
function E(a, e, r) {
|
|
380
|
-
const t = a.slice();
|
|
381
|
-
return t[3] = e[r].href, t[4] = e[r].text, t[5] = e[r].icon, t[6] = e[r].classes, t;
|
|
382
|
-
}
|
|
383
|
-
function W(a) {
|
|
384
|
-
let e, r, t, n, o;
|
|
385
|
-
return t = new j({ props: { icon: (
|
|
386
|
-
/*icon*/
|
|
387
|
-
a[5]
|
|
388
|
-
) } }), {
|
|
389
|
-
c() {
|
|
390
|
-
e = g("li"), r = g("a"), M(t.$$.fragment), n = b(), d(
|
|
391
|
-
r,
|
|
392
|
-
"href",
|
|
393
|
-
/*href*/
|
|
394
|
-
a[3]
|
|
395
|
-
), d(
|
|
396
|
-
r,
|
|
397
|
-
"aria-label",
|
|
398
|
-
/*text*/
|
|
399
|
-
a[4]
|
|
400
|
-
), d(r, "class", `transition-colors ${/*classes*/
|
|
401
|
-
a[6]}`);
|
|
402
|
-
},
|
|
403
|
-
m(i, s) {
|
|
404
|
-
$(i, e, s), h(e, r), V(t, r, null), h(e, n), o = !0;
|
|
405
|
-
},
|
|
406
|
-
p: y,
|
|
407
|
-
i(i) {
|
|
408
|
-
o || (w(t.$$.fragment, i), o = !0);
|
|
409
|
-
},
|
|
410
|
-
o(i) {
|
|
411
|
-
v(t.$$.fragment, i), o = !1;
|
|
412
|
-
},
|
|
413
|
-
d(i) {
|
|
414
|
-
i && x(e), H(t);
|
|
415
|
-
}
|
|
416
|
-
};
|
|
417
|
-
}
|
|
418
|
-
function De(a) {
|
|
419
|
-
let e, r, t, n, o, i = A(
|
|
420
|
-
/*social*/
|
|
421
|
-
a[1].links
|
|
422
|
-
), s = [];
|
|
423
|
-
for (let c = 0; c < i.length; c += 1)
|
|
424
|
-
s[c] = W(E(a, i, c));
|
|
425
|
-
const l = (c) => v(s[c], 1, 1, () => {
|
|
426
|
-
s[c] = null;
|
|
427
|
-
});
|
|
428
|
-
return {
|
|
429
|
-
c() {
|
|
430
|
-
e = g("ul");
|
|
431
|
-
for (let c = 0; c < s.length; c += 1)
|
|
432
|
-
s[c].c();
|
|
433
|
-
r = b(), t = g("a"), n = J("Social Media Directory"), d(e, "class", "flex gap-3 text-4xl [&>li]:contents"), d(t, "class", "w-fit border-0 border-b-2 border-dotted border-transparent transition-colors focus:border-white hover:border-white"), d(
|
|
434
|
-
t,
|
|
435
|
-
"href",
|
|
436
|
-
/*social*/
|
|
437
|
-
a[1].directory
|
|
438
|
-
);
|
|
439
|
-
},
|
|
440
|
-
m(c, f) {
|
|
441
|
-
$(c, e, f);
|
|
442
|
-
for (let u = 0; u < s.length; u += 1)
|
|
443
|
-
s[u] && s[u].m(e, null);
|
|
444
|
-
$(c, r, f), $(c, t, f), h(t, n), o = !0;
|
|
445
|
-
},
|
|
446
|
-
p(c, [f]) {
|
|
447
|
-
if (f & /*social*/
|
|
448
|
-
2) {
|
|
449
|
-
i = A(
|
|
450
|
-
/*social*/
|
|
451
|
-
c[1].links
|
|
452
|
-
);
|
|
453
|
-
let u;
|
|
454
|
-
for (u = 0; u < i.length; u += 1) {
|
|
455
|
-
const k = E(c, i, u);
|
|
456
|
-
s[u] ? (s[u].p(k, f), w(s[u], 1)) : (s[u] = W(k), s[u].c(), w(s[u], 1), s[u].m(e, null));
|
|
457
|
-
}
|
|
458
|
-
for (T(), u = i.length; u < s.length; u += 1)
|
|
459
|
-
l(u);
|
|
460
|
-
U();
|
|
180
|
+
var ve = w("<li><a><!></a></li>"), be = w('<ul class="flex gap-3 text-2xl [&>li]:contents"></ul> <a class="w-fit border-0 border-b-2 border-dotted border-transparent transition-colors focus:border-white hover:border-white">Social Media Directory</a>', 1);
|
|
181
|
+
function U(o, e) {
|
|
182
|
+
C(e, !1), H();
|
|
183
|
+
var t = be(), s = Q(t);
|
|
184
|
+
F(s, 5, () => N.links, L, (h, c) => {
|
|
185
|
+
let l = () => x(c).href, d = () => x(c).text, i = () => x(c).icon, p = () => x(c).classes;
|
|
186
|
+
var u = ve(), f = a(u), v = a(f);
|
|
187
|
+
z(v, {
|
|
188
|
+
get icon() {
|
|
189
|
+
return i();
|
|
461
190
|
}
|
|
462
|
-
},
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
}
|
|
469
|
-
},
|
|
470
|
-
o(c) {
|
|
471
|
-
s = s.filter(Boolean);
|
|
472
|
-
for (let f = 0; f < s.length; f += 1)
|
|
473
|
-
v(s[f]);
|
|
474
|
-
o = !1;
|
|
475
|
-
},
|
|
476
|
-
d(c) {
|
|
477
|
-
c && (x(e), x(r), x(t)), G(s, c);
|
|
478
|
-
}
|
|
479
|
-
};
|
|
480
|
-
}
|
|
481
|
-
function Ie(a, e, r) {
|
|
482
|
-
let t;
|
|
483
|
-
const n = D("footer-state");
|
|
484
|
-
I(a, n, (i) => r(2, t = i));
|
|
485
|
-
const o = (t == null ? void 0 : t.variant) === "ridgetown" ? Ze : ze;
|
|
486
|
-
return [n, o];
|
|
487
|
-
}
|
|
488
|
-
class pe extends S {
|
|
489
|
-
constructor(e) {
|
|
490
|
-
super(), L(this, e, Ie, De, F, {});
|
|
491
|
-
}
|
|
492
|
-
}
|
|
493
|
-
N(pe, {}, [], [], !0);
|
|
494
|
-
function je(a) {
|
|
495
|
-
let e;
|
|
496
|
-
return {
|
|
497
|
-
c() {
|
|
498
|
-
e = g("a"), e.textContent = `© ${(/* @__PURE__ */ new Date()).getFullYear()} University of Guelph`, d(e, "class", "w-fit border-0 border-b-2 border-dotted border-transparent transition-colors focus:border-white hover:border-white"), d(e, "href", "https://www.uoguelph.ca/web/");
|
|
499
|
-
},
|
|
500
|
-
m(r, t) {
|
|
501
|
-
$(r, e, t);
|
|
502
|
-
},
|
|
503
|
-
p: y,
|
|
504
|
-
i: y,
|
|
505
|
-
o: y,
|
|
506
|
-
d(r) {
|
|
507
|
-
r && x(e);
|
|
508
|
-
}
|
|
509
|
-
};
|
|
510
|
-
}
|
|
511
|
-
class me extends S {
|
|
512
|
-
constructor(e) {
|
|
513
|
-
super(), L(this, e, null, je, F, {});
|
|
514
|
-
}
|
|
515
|
-
}
|
|
516
|
-
N(me, {}, [], [], !0);
|
|
517
|
-
function X(a, e, r) {
|
|
518
|
-
const t = a.slice();
|
|
519
|
-
return t[3] = e[r].href, t[4] = e[r].title, t[5] = e[r].icon, t[6] = e[r].text, t;
|
|
191
|
+
}), r(f), r(u), V(() => {
|
|
192
|
+
k(f, "href", l()), k(f, "aria-label", d()), $(f, `transition-colors ${p()}`);
|
|
193
|
+
}), g(h, u);
|
|
194
|
+
}), r(s);
|
|
195
|
+
var n = b(s, 2);
|
|
196
|
+
V(() => k(n, "href", N.directory)), g(o, t), M();
|
|
520
197
|
}
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
) }
|
|
527
|
-
c() {
|
|
528
|
-
e = g("li"), r = g("a"), M(t.$$.fragment), n = b(), o = g("span"), o.textContent = `${/*text*/
|
|
529
|
-
a[6]}`, i = b(), d(
|
|
530
|
-
r,
|
|
531
|
-
"href",
|
|
532
|
-
/*href*/
|
|
533
|
-
a[3]
|
|
534
|
-
), d(
|
|
535
|
-
r,
|
|
536
|
-
"title",
|
|
537
|
-
/*title*/
|
|
538
|
-
a[4] ?? ""
|
|
539
|
-
), d(r, "class", "flex justify-center items-center w-fit gap-3 border-0 border-b-2 border-dotted border-transparent transition-colors focus:border-white hover:border-white [&>svg]:fill-uofg-yellow");
|
|
540
|
-
},
|
|
541
|
-
m(l, c) {
|
|
542
|
-
$(l, e, c), h(e, r), V(t, r, null), h(r, n), h(r, o), h(e, i), s = !0;
|
|
543
|
-
},
|
|
544
|
-
p: y,
|
|
545
|
-
i(l) {
|
|
546
|
-
s || (w(t.$$.fragment, l), s = !0);
|
|
547
|
-
},
|
|
548
|
-
o(l) {
|
|
549
|
-
v(t.$$.fragment, l), s = !1;
|
|
550
|
-
},
|
|
551
|
-
d(l) {
|
|
552
|
-
l && x(e), H(t);
|
|
553
|
-
}
|
|
554
|
-
};
|
|
198
|
+
y(U, {}, [], [], !0);
|
|
199
|
+
var ge = w('<a class="w-fit border-0 border-b-2 border-dotted border-transparent transition-colors focus:border-white hover:border-white" href="https://www.uoguelph.ca/web/"> </a>');
|
|
200
|
+
function j(o, e) {
|
|
201
|
+
C(e, !1), H();
|
|
202
|
+
var t = ge(), s = a(t);
|
|
203
|
+
V(() => m(s, `© ${(/* @__PURE__ */ new Date()).getFullYear() ?? ""} University of Guelph`)), r(t), g(o, t), M();
|
|
555
204
|
}
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
),
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
return {
|
|
567
|
-
c() {
|
|
568
|
-
e = g("div"), r = g("ul");
|
|
569
|
-
for (let s = 0; s < o.length; s += 1)
|
|
570
|
-
o[s].c();
|
|
571
|
-
d(r, "class", "w-full flex flex-col gap-2 md:grid md:grid-cols-2 [&>li]:contents"), d(e, "class", "flex justify-center md:col-span-2 md:row-start-2 lg:row-auto");
|
|
572
|
-
},
|
|
573
|
-
m(s, l) {
|
|
574
|
-
$(s, e, l), h(e, r);
|
|
575
|
-
for (let c = 0; c < o.length; c += 1)
|
|
576
|
-
o[c] && o[c].m(r, null);
|
|
577
|
-
t = !0;
|
|
578
|
-
},
|
|
579
|
-
p(s, [l]) {
|
|
580
|
-
if (l & /*links*/
|
|
581
|
-
2) {
|
|
582
|
-
n = A(
|
|
583
|
-
/*links*/
|
|
584
|
-
s[1]
|
|
585
|
-
);
|
|
586
|
-
let c;
|
|
587
|
-
for (c = 0; c < n.length; c += 1) {
|
|
588
|
-
const f = X(s, n, c);
|
|
589
|
-
o[c] ? (o[c].p(f, l), w(o[c], 1)) : (o[c] = Y(f), o[c].c(), w(o[c], 1), o[c].m(r, null));
|
|
590
|
-
}
|
|
591
|
-
for (T(), c = n.length; c < o.length; c += 1)
|
|
592
|
-
i(c);
|
|
593
|
-
U();
|
|
594
|
-
}
|
|
595
|
-
},
|
|
596
|
-
i(s) {
|
|
597
|
-
if (!t) {
|
|
598
|
-
for (let l = 0; l < n.length; l += 1)
|
|
599
|
-
w(o[l]);
|
|
600
|
-
t = !0;
|
|
205
|
+
y(j, {}, [], [], !0);
|
|
206
|
+
var xe = w('<li><a class="flex justify-center items-center w-fit gap-2 border-0 border-b-2 border-dotted border-transparent transition-colors focus:border-white hover:border-white [&>svg]:fill-yellow"><!> <span> </span></a></li>'), we = w('<div class="flex justify-center md:col-span-2 md:row-start-2 lg:row-auto"><ul class="w-full flex flex-col gap-2 md:grid md:grid-cols-2 [&>li]:contents"></ul></div>');
|
|
207
|
+
function q(o) {
|
|
208
|
+
var e = we(), t = a(e);
|
|
209
|
+
F(t, 5, () => pe, L, (s, n) => {
|
|
210
|
+
let h = () => x(n).href, c = () => x(n).title, l = () => x(n).icon, d = () => x(n).text;
|
|
211
|
+
var i = xe(), p = a(i), u = a(p);
|
|
212
|
+
z(u, {
|
|
213
|
+
get icon() {
|
|
214
|
+
return l();
|
|
601
215
|
}
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
},
|
|
609
|
-
d(s) {
|
|
610
|
-
s && x(e), G(o, s);
|
|
611
|
-
}
|
|
612
|
-
};
|
|
216
|
+
});
|
|
217
|
+
var f = b(u, 2), v = a(f, !0);
|
|
218
|
+
r(f), r(p), r(i), V(() => {
|
|
219
|
+
k(p, "href", h()), k(p, "title", c() ?? ""), m(v, d());
|
|
220
|
+
}), g(s, i);
|
|
221
|
+
}), r(t), r(e), g(o, e);
|
|
613
222
|
}
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
223
|
+
y(q, {}, [], [], !0);
|
|
224
|
+
var me = w('<address class="flex flex-col justify-between gap-4 not-italic"><strong> </strong> <span> </span> <span> </span> <span> </span> <a class="flex justify-center items-center w-fit gap-2 border-0 border-b-2 border-dotted border-transparent text-blue-400 transition-colors focus:border-current hover:border-current"><!> <span> </span></a></address>');
|
|
225
|
+
function E(o, e) {
|
|
226
|
+
C(e, !1), H();
|
|
227
|
+
var t = me(), s = a(t), n = a(s, !0);
|
|
228
|
+
r(s);
|
|
229
|
+
var h = b(s, 2), c = a(h);
|
|
230
|
+
r(h);
|
|
231
|
+
var l = b(h, 2), d = a(l);
|
|
232
|
+
r(l);
|
|
233
|
+
var i = b(l, 2), p = a(i, !0);
|
|
234
|
+
r(i);
|
|
235
|
+
var u = b(i, 2), f = a(u);
|
|
236
|
+
z(f, { icon: ee });
|
|
237
|
+
var v = b(f, 2), R = a(v, !0);
|
|
238
|
+
r(v), r(u), r(t), V(() => {
|
|
239
|
+
m(n, _.title), m(c, `${_.street},`), m(d, `${_.city}, Ontario, Canada`), m(p, _.postalCode), k(u, "href", `tel:${_.phoneNumber}`), m(R, _.phoneNumber);
|
|
240
|
+
}), g(o, t), M();
|
|
620
241
|
}
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
242
|
+
y(E, {}, [], [], !0);
|
|
243
|
+
var ye = w('<footer><!> <div class="flex flex-col content-center gap-6 bg-black px-[max(calc((100%-1320px)/2),2rem)] py-6 text-white md:grid md:grid-cols-2 lg:grid-cols-4"><div class="flex flex-col justify-between gap-2"><!> <!> <!></div> <!> <!></div></footer>');
|
|
244
|
+
function ke(o, e) {
|
|
245
|
+
C(e, !0);
|
|
246
|
+
let t = A(e, "subFooter", 7);
|
|
247
|
+
var s = ye(), n = a(s);
|
|
248
|
+
{
|
|
249
|
+
var h = (v) => {
|
|
250
|
+
G(v, {
|
|
251
|
+
get links() {
|
|
252
|
+
return t();
|
|
253
|
+
}
|
|
254
|
+
});
|
|
255
|
+
};
|
|
256
|
+
te(n, (v) => {
|
|
257
|
+
Array.isArray(t()) && t().length > 0 && v(h);
|
|
258
|
+
});
|
|
624
259
|
}
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
$(_, e, p), h(e, r), h(e, t), h(e, n), h(e, o), h(e, i), h(e, s), h(e, l), h(e, c), h(e, f), V(u, f, null), h(f, k), h(f, z), C = !0;
|
|
641
|
-
},
|
|
642
|
-
p: y,
|
|
643
|
-
i(_) {
|
|
644
|
-
C || (w(u.$$.fragment, _), C = !0);
|
|
645
|
-
},
|
|
646
|
-
o(_) {
|
|
647
|
-
v(u.$$.fragment, _), C = !1;
|
|
648
|
-
},
|
|
649
|
-
d(_) {
|
|
650
|
-
_ && x(e), H(u);
|
|
260
|
+
var c = b(n, 2), l = a(c), d = a(l);
|
|
261
|
+
T(d);
|
|
262
|
+
var i = b(d, 2);
|
|
263
|
+
U(i, {});
|
|
264
|
+
var p = b(i, 2);
|
|
265
|
+
j(p, {}), r(l);
|
|
266
|
+
var u = b(l, 2);
|
|
267
|
+
q(u);
|
|
268
|
+
var f = b(u, 2);
|
|
269
|
+
return E(f, {}), r(c), r(s), g(o, s), M({
|
|
270
|
+
get subFooter() {
|
|
271
|
+
return t();
|
|
272
|
+
},
|
|
273
|
+
set subFooter(v) {
|
|
274
|
+
t(v), P();
|
|
651
275
|
}
|
|
652
|
-
};
|
|
653
|
-
}
|
|
654
|
-
function Oe(a, e, r) {
|
|
655
|
-
let t;
|
|
656
|
-
const n = D("footer-state");
|
|
657
|
-
I(a, n, (i) => r(2, t = i));
|
|
658
|
-
const o = (t == null ? void 0 : t.variant) === "ridgetown" ? Ue : Pe;
|
|
659
|
-
return [n, o];
|
|
660
|
-
}
|
|
661
|
-
class ve extends S {
|
|
662
|
-
constructor(e) {
|
|
663
|
-
super(), L(this, e, Oe, Re, F, {});
|
|
664
|
-
}
|
|
665
|
-
}
|
|
666
|
-
N(ve, {}, [], [], !0);
|
|
667
|
-
function K(a) {
|
|
668
|
-
let e, r;
|
|
669
|
-
return e = new se({ props: { links: (
|
|
670
|
-
/*subFooter*/
|
|
671
|
-
a[0]
|
|
672
|
-
) } }), {
|
|
673
|
-
c() {
|
|
674
|
-
M(e.$$.fragment);
|
|
675
|
-
},
|
|
676
|
-
m(t, n) {
|
|
677
|
-
V(e, t, n), r = !0;
|
|
678
|
-
},
|
|
679
|
-
p(t, n) {
|
|
680
|
-
const o = {};
|
|
681
|
-
n & /*subFooter*/
|
|
682
|
-
1 && (o.links = /*subFooter*/
|
|
683
|
-
t[0]), e.$set(o);
|
|
684
|
-
},
|
|
685
|
-
i(t) {
|
|
686
|
-
r || (w(e.$$.fragment, t), r = !0);
|
|
687
|
-
},
|
|
688
|
-
o(t) {
|
|
689
|
-
v(e.$$.fragment, t), r = !1;
|
|
690
|
-
},
|
|
691
|
-
d(t) {
|
|
692
|
-
H(e, t);
|
|
693
|
-
}
|
|
694
|
-
};
|
|
695
|
-
}
|
|
696
|
-
function Be(a) {
|
|
697
|
-
let e, r = Array.isArray(
|
|
698
|
-
/*subFooter*/
|
|
699
|
-
a[0]
|
|
700
|
-
) && /*subFooter*/
|
|
701
|
-
a[0].length > 0, t, n, o, i, s, l, c, f, u, k, z, C, _, p = r && K(a);
|
|
702
|
-
return i = new ce({}), l = new pe({}), f = new me({}), k = new we({}), C = new ve({}), {
|
|
703
|
-
c() {
|
|
704
|
-
e = g("footer"), p && p.c(), t = b(), n = g("div"), o = g("div"), M(i.$$.fragment), s = b(), M(l.$$.fragment), c = b(), M(f.$$.fragment), u = b(), M(k.$$.fragment), z = b(), M(C.$$.fragment), d(o, "class", "flex flex-col justify-between gap-2"), d(n, "class", "flex flex-col content-center gap-8 bg-black px-[max(calc((100%-1320px)/2),2rem)] py-8 text-white md:grid md:grid-cols-2 lg:grid-cols-4");
|
|
705
|
-
},
|
|
706
|
-
m(m, P) {
|
|
707
|
-
$(m, e, P), p && p.m(e, null), h(e, t), h(e, n), h(n, o), V(i, o, null), h(o, s), V(l, o, null), h(o, c), V(f, o, null), h(n, u), V(k, n, null), h(n, z), V(C, n, null), _ = !0;
|
|
708
|
-
},
|
|
709
|
-
p(m, [P]) {
|
|
710
|
-
P & /*subFooter*/
|
|
711
|
-
1 && (r = Array.isArray(
|
|
712
|
-
/*subFooter*/
|
|
713
|
-
m[0]
|
|
714
|
-
) && /*subFooter*/
|
|
715
|
-
m[0].length > 0), r ? p ? (p.p(m, P), P & /*subFooter*/
|
|
716
|
-
1 && w(p, 1)) : (p = K(m), p.c(), w(p, 1), p.m(e, t)) : p && (T(), v(p, 1, 1, () => {
|
|
717
|
-
p = null;
|
|
718
|
-
}), U());
|
|
719
|
-
},
|
|
720
|
-
i(m) {
|
|
721
|
-
_ || (w(p), w(i.$$.fragment, m), w(l.$$.fragment, m), w(f.$$.fragment, m), w(k.$$.fragment, m), w(C.$$.fragment, m), _ = !0);
|
|
722
|
-
},
|
|
723
|
-
o(m) {
|
|
724
|
-
v(p), v(i.$$.fragment, m), v(l.$$.fragment, m), v(f.$$.fragment, m), v(k.$$.fragment, m), v(C.$$.fragment, m), _ = !1;
|
|
725
|
-
},
|
|
726
|
-
d(m) {
|
|
727
|
-
m && x(e), p && p.d(), H(i), H(l), H(f), H(k), H(C);
|
|
728
|
-
}
|
|
729
|
-
};
|
|
730
|
-
}
|
|
731
|
-
function Ee(a, e, r) {
|
|
732
|
-
let { subFooter: t } = e, { variant: n } = e;
|
|
733
|
-
const o = Ce({ variant: n });
|
|
734
|
-
return ye("footer-state", o), a.$$set = (i) => {
|
|
735
|
-
"subFooter" in i && r(0, t = i.subFooter), "variant" in i && r(1, n = i.variant);
|
|
736
|
-
}, [t, n];
|
|
737
|
-
}
|
|
738
|
-
class We extends S {
|
|
739
|
-
constructor(e) {
|
|
740
|
-
super(), L(this, e, Ee, Be, F, { subFooter: 0, variant: 1 });
|
|
741
|
-
}
|
|
742
|
-
get subFooter() {
|
|
743
|
-
return this.$$.ctx[0];
|
|
744
|
-
}
|
|
745
|
-
set subFooter(e) {
|
|
746
|
-
this.$$set({ subFooter: e }), Z();
|
|
747
|
-
}
|
|
748
|
-
get variant() {
|
|
749
|
-
return this.$$.ctx[1];
|
|
750
|
-
}
|
|
751
|
-
set variant(e) {
|
|
752
|
-
this.$$set({ variant: e }), Z();
|
|
753
|
-
}
|
|
276
|
+
});
|
|
754
277
|
}
|
|
755
|
-
customElements.define("uofg-footer",
|
|
278
|
+
customElements.define("uofg-footer", y(ke, { subFooter: {} }, [], [], !0, (o) => class extends o {
|
|
756
279
|
constructor() {
|
|
757
|
-
super(),
|
|
280
|
+
super(), re(this.shadowRoot);
|
|
758
281
|
}
|
|
759
282
|
connectedCallback() {
|
|
760
283
|
super.connectedCallback(), this.updateSubFooter(), this.observer ?? (this.observer = new MutationObserver(() => {
|
|
@@ -772,5 +295,5 @@ customElements.define("uofg-footer", N(We, { subFooter: {}, variant: { reflect:
|
|
|
772
295
|
}
|
|
773
296
|
}));
|
|
774
297
|
export {
|
|
775
|
-
|
|
298
|
+
ke as default
|
|
776
299
|
};
|