@uoguelph/web-components 1.7.2 → 1.8.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/{bundle-mjs-ByWTg5Ly.js → bundle-mjs-BpzLJ4dA.js} +2 -2
- package/dist/uofg-web-components/{font-awesome-icon-MUYMsgsQ.js → font-awesome-icon-B0B9COBP.js} +238 -242
- package/dist/uofg-web-components/index-CoNdSmYh.js +31 -0
- package/dist/uofg-web-components/uofg-alert.esm.js +1 -1
- package/dist/uofg-web-components/uofg-back-to-top.esm.js +2 -2
- package/dist/uofg-web-components/uofg-footer.esm.js +453 -257
- package/dist/uofg-web-components/uofg-header.esm.js +1433 -1212
- package/dist/uofg-web-components/uofg-modal.esm.js +2 -2
- package/package.json +1 -1
|
@@ -1,564 +1,760 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { c as N, S, i as L, s as F, y as Z, C as A, e as g, h as d, j as $, D as y, p as x, E as G, G as J, g as b, k as h, H as be, I as q, d as M, m as V, t as w, o as v, q as H, J as Q, K as ee, L as $e, M as te, N as re, O as ae, P as R, Q as ne, R as oe, T as xe, U, V as D, W as I, F as j, X as T, Y as ke, a as _e, Z as ye } from "./font-awesome-icon-B0B9COBP.js";
|
|
2
|
+
import { w as Ce } from "./index-CoNdSmYh.js";
|
|
3
|
+
function O(a, e, r) {
|
|
4
|
+
const t = a.slice();
|
|
4
5
|
return t[1] = e[r].text, t[2] = e[r].href, t;
|
|
5
6
|
}
|
|
6
|
-
function
|
|
7
|
+
function B(a) {
|
|
7
8
|
let e, r, t = (
|
|
8
9
|
/*text*/
|
|
9
|
-
|
|
10
|
-
),
|
|
10
|
+
a[1] + ""
|
|
11
|
+
), n, o, i;
|
|
11
12
|
return {
|
|
12
13
|
c() {
|
|
13
|
-
e =
|
|
14
|
-
|
|
14
|
+
e = g("li"), r = g("a"), n = J(t), i = b(), d(r, "class", "transition-all decoration-transparent text-[#2e74bb] hover:text-[#1a4168] focus:text-[#1a4168] hover:underline focus:underline hover:decoration-current focus:decoration-current"), d(r, "href", o = /*href*/
|
|
15
|
+
a[2]), d(e, "class", "p-6");
|
|
15
16
|
},
|
|
16
17
|
m(s, l) {
|
|
17
|
-
|
|
18
|
+
$(s, e, l), h(e, r), h(r, n), h(e, i);
|
|
18
19
|
},
|
|
19
20
|
p(s, l) {
|
|
20
21
|
l & /*links*/
|
|
21
22
|
1 && t !== (t = /*text*/
|
|
22
|
-
s[1] + "") &&
|
|
23
|
+
s[1] + "") && be(n, t), l & /*links*/
|
|
23
24
|
1 && o !== (o = /*href*/
|
|
24
|
-
s[2]) &&
|
|
25
|
+
s[2]) && d(r, "href", o);
|
|
25
26
|
},
|
|
26
27
|
d(s) {
|
|
27
|
-
s &&
|
|
28
|
+
s && x(e);
|
|
28
29
|
}
|
|
29
30
|
};
|
|
30
31
|
}
|
|
31
|
-
function
|
|
32
|
-
let e, r =
|
|
32
|
+
function Me(a) {
|
|
33
|
+
let e, r = A(
|
|
33
34
|
/*links*/
|
|
34
|
-
|
|
35
|
+
a[0]
|
|
35
36
|
), t = [];
|
|
36
|
-
for (let
|
|
37
|
-
t[
|
|
37
|
+
for (let n = 0; n < r.length; n += 1)
|
|
38
|
+
t[n] = B(O(a, r, n));
|
|
38
39
|
return {
|
|
39
40
|
c() {
|
|
40
|
-
e =
|
|
41
|
-
for (let a = 0; a < t.length; a += 1)
|
|
42
|
-
t[a].c();
|
|
43
|
-
i(e, "class", "flex flex-wrap items-center justify-center bg-white p-6 px-[max(calc((100%-1320px)/2),2rem)]");
|
|
44
|
-
},
|
|
45
|
-
m(a, o) {
|
|
46
|
-
w(a, e, o);
|
|
41
|
+
e = g("ul");
|
|
47
42
|
for (let n = 0; n < t.length; n += 1)
|
|
48
|
-
t[n]
|
|
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);
|
|
49
50
|
},
|
|
50
|
-
p(
|
|
51
|
+
p(n, [o]) {
|
|
51
52
|
if (o & /*links*/
|
|
52
53
|
1) {
|
|
53
|
-
r =
|
|
54
|
+
r = A(
|
|
54
55
|
/*links*/
|
|
55
|
-
|
|
56
|
+
n[0]
|
|
56
57
|
);
|
|
57
|
-
let
|
|
58
|
-
for (
|
|
59
|
-
const s =
|
|
60
|
-
t[
|
|
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));
|
|
61
62
|
}
|
|
62
|
-
for (;
|
|
63
|
-
t[
|
|
63
|
+
for (; i < t.length; i += 1)
|
|
64
|
+
t[i].d(1);
|
|
64
65
|
t.length = r.length;
|
|
65
66
|
}
|
|
66
67
|
},
|
|
67
|
-
i:
|
|
68
|
-
o:
|
|
69
|
-
d(
|
|
70
|
-
|
|
68
|
+
i: y,
|
|
69
|
+
o: y,
|
|
70
|
+
d(n) {
|
|
71
|
+
n && x(e), G(t, n);
|
|
71
72
|
}
|
|
72
73
|
};
|
|
73
74
|
}
|
|
74
|
-
function
|
|
75
|
+
function Ve(a, e, r) {
|
|
75
76
|
let { links: t } = e;
|
|
76
|
-
return
|
|
77
|
-
"links" in
|
|
77
|
+
return a.$$set = (n) => {
|
|
78
|
+
"links" in n && r(0, t = n.links);
|
|
78
79
|
}, [t];
|
|
79
80
|
}
|
|
80
|
-
class
|
|
81
|
+
class se extends S {
|
|
81
82
|
constructor(e) {
|
|
82
|
-
super(), L(this, e,
|
|
83
|
+
super(), L(this, e, Ve, Me, F, { links: 0 });
|
|
83
84
|
}
|
|
84
85
|
get links() {
|
|
85
86
|
return this.$$.ctx[0];
|
|
86
87
|
}
|
|
87
88
|
set links(e) {
|
|
88
|
-
this.$$set({ links: e }),
|
|
89
|
+
this.$$set({ links: e }), Z();
|
|
89
90
|
}
|
|
90
91
|
}
|
|
91
|
-
|
|
92
|
-
function
|
|
92
|
+
N(se, { links: {} }, [], [], !0);
|
|
93
|
+
function He(a) {
|
|
93
94
|
let e, r;
|
|
94
95
|
return {
|
|
95
96
|
c() {
|
|
96
|
-
e =
|
|
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");
|
|
97
98
|
},
|
|
98
|
-
m(t,
|
|
99
|
-
|
|
99
|
+
m(t, n) {
|
|
100
|
+
$(t, e, n), h(e, r);
|
|
100
101
|
},
|
|
101
|
-
p:
|
|
102
|
-
i:
|
|
103
|
-
o:
|
|
102
|
+
p: y,
|
|
103
|
+
i: y,
|
|
104
|
+
o: y,
|
|
104
105
|
d(t) {
|
|
105
|
-
t &&
|
|
106
|
+
t && x(e);
|
|
106
107
|
}
|
|
107
108
|
};
|
|
108
109
|
}
|
|
109
|
-
class
|
|
110
|
+
class ie extends S {
|
|
110
111
|
constructor(e) {
|
|
111
|
-
super(), L(this, e, null,
|
|
112
|
+
super(), L(this, e, null, He, F, {});
|
|
112
113
|
}
|
|
113
114
|
}
|
|
114
|
-
|
|
115
|
-
function
|
|
115
|
+
N(ie, {}, [], [], !0);
|
|
116
|
+
function Ne(a) {
|
|
116
117
|
let e, r, t;
|
|
117
|
-
return r = new
|
|
118
|
+
return r = new ie({}), {
|
|
118
119
|
c() {
|
|
119
|
-
e =
|
|
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");
|
|
120
121
|
},
|
|
121
|
-
m(
|
|
122
|
-
|
|
122
|
+
m(n, o) {
|
|
123
|
+
$(n, e, o), V(r, e, null), t = !0;
|
|
123
124
|
},
|
|
124
|
-
p:
|
|
125
|
-
i(
|
|
126
|
-
t || (
|
|
125
|
+
p: y,
|
|
126
|
+
i(n) {
|
|
127
|
+
t || (w(r.$$.fragment, n), t = !0);
|
|
127
128
|
},
|
|
128
|
-
o(
|
|
129
|
-
v(r.$$.fragment,
|
|
129
|
+
o(n) {
|
|
130
|
+
v(r.$$.fragment, n), t = !1;
|
|
130
131
|
},
|
|
131
|
-
d(
|
|
132
|
-
|
|
132
|
+
d(n) {
|
|
133
|
+
n && x(e), H(r);
|
|
133
134
|
}
|
|
134
135
|
};
|
|
135
136
|
}
|
|
136
|
-
class
|
|
137
|
+
class ce extends S {
|
|
137
138
|
constructor(e) {
|
|
138
|
-
super(), L(this, e, null,
|
|
139
|
+
super(), L(this, e, null, Ne, F, {});
|
|
139
140
|
}
|
|
140
141
|
}
|
|
141
|
-
|
|
142
|
-
|
|
142
|
+
N(ce, {}, [], [], !0);
|
|
143
|
+
const Se = {
|
|
143
144
|
prefix: "fab",
|
|
144
145
|
iconName: "tiktok",
|
|
145
146
|
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"]
|
|
146
|
-
},
|
|
147
|
+
}, Le = {
|
|
147
148
|
prefix: "fab",
|
|
148
149
|
iconName: "square-facebook",
|
|
149
150
|
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"]
|
|
150
|
-
},
|
|
151
|
+
}, le = Le, fe = {
|
|
151
152
|
prefix: "fab",
|
|
152
153
|
iconName: "linkedin",
|
|
153
154
|
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"]
|
|
154
|
-
},
|
|
155
|
+
}, ue = {
|
|
155
156
|
prefix: "fab",
|
|
156
157
|
iconName: "instagram",
|
|
157
158
|
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"]
|
|
158
|
-
},
|
|
159
|
+
}, Fe = {
|
|
159
160
|
prefix: "fab",
|
|
160
161
|
iconName: "youtube",
|
|
161
162
|
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"]
|
|
162
|
-
},
|
|
163
|
+
}, he = {
|
|
163
164
|
prefix: "fab",
|
|
164
165
|
iconName: "square-x-twitter",
|
|
165
166
|
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"]
|
|
166
|
-
}
|
|
167
|
-
const B = {
|
|
167
|
+
}, ze = {
|
|
168
168
|
directory: "https://www.uoguelph.ca/web/socialmedia/",
|
|
169
169
|
links: [
|
|
170
170
|
{
|
|
171
171
|
text: "X",
|
|
172
|
-
icon:
|
|
172
|
+
icon: he,
|
|
173
173
|
href: "https://twitter.com/uofg",
|
|
174
174
|
classes: "focus:text-[#1da1f2] hover:text-[#1da1f2]"
|
|
175
175
|
},
|
|
176
176
|
{
|
|
177
177
|
text: "Facebook",
|
|
178
|
-
icon:
|
|
178
|
+
icon: le,
|
|
179
179
|
href: "https://www.facebook.com/uofguelph",
|
|
180
180
|
classes: "focus:text-[#4267b2] hover:text-[#4267b2]"
|
|
181
181
|
},
|
|
182
182
|
{
|
|
183
183
|
text: "Instagram",
|
|
184
|
-
icon:
|
|
184
|
+
icon: ue,
|
|
185
185
|
href: "https://www.instagram.com/uofguelph/",
|
|
186
186
|
classes: "focus:text-[#e1306c] hover:text-[#e1306c]"
|
|
187
187
|
},
|
|
188
188
|
{
|
|
189
189
|
text: "Youtube",
|
|
190
|
-
icon:
|
|
190
|
+
icon: Fe,
|
|
191
191
|
href: "https://www.youtube.com/user/uofguelph",
|
|
192
192
|
classes: "focus:text-[#f00] hover:text-[#f00]"
|
|
193
193
|
},
|
|
194
194
|
{
|
|
195
195
|
text: "LinkedIn",
|
|
196
|
-
icon:
|
|
196
|
+
icon: fe,
|
|
197
197
|
href: "https://www.linkedin.com/school/university-of-guelph/",
|
|
198
198
|
classes: "focus:text-[#0077b5] hover:text-[#0077b5]"
|
|
199
199
|
},
|
|
200
200
|
{
|
|
201
201
|
text: "TikTok",
|
|
202
|
-
icon:
|
|
202
|
+
icon: Se,
|
|
203
203
|
href: "https://www.tiktok.com/@uofguelph",
|
|
204
204
|
classes: "focus:text-[#f00] hover:text-[#f00]"
|
|
205
205
|
}
|
|
206
206
|
]
|
|
207
|
-
},
|
|
207
|
+
}, Ae = [
|
|
208
208
|
{
|
|
209
209
|
text: "Accessibility",
|
|
210
|
-
icon:
|
|
210
|
+
icon: Q,
|
|
211
211
|
href: "https://www.uoguelph.ca/diversity-human-rights/accessibility-u-g"
|
|
212
212
|
},
|
|
213
213
|
{
|
|
214
214
|
text: "Privacy",
|
|
215
|
-
icon:
|
|
215
|
+
icon: ee,
|
|
216
216
|
href: "https://www.uoguelph.ca/web/privacy/"
|
|
217
217
|
},
|
|
218
218
|
{
|
|
219
219
|
text: "Site Map",
|
|
220
|
-
icon:
|
|
220
|
+
icon: $e,
|
|
221
221
|
href: "https://www.uoguelph.ca/sitemap"
|
|
222
222
|
},
|
|
223
223
|
{
|
|
224
224
|
text: "Status Page",
|
|
225
|
-
icon:
|
|
225
|
+
icon: te,
|
|
226
226
|
href: "https://uoguelph.statuspage.io/"
|
|
227
227
|
},
|
|
228
228
|
{
|
|
229
229
|
text: "Land Acknowledgement",
|
|
230
|
-
icon:
|
|
230
|
+
icon: re,
|
|
231
231
|
href: "https://www.uoguelph.ca/land-acknowledgement/",
|
|
232
232
|
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
233
|
},
|
|
234
234
|
{
|
|
235
235
|
text: "Careers",
|
|
236
|
-
icon:
|
|
236
|
+
icon: ae,
|
|
237
237
|
href: "https://careers.uoguelph.ca/"
|
|
238
238
|
},
|
|
239
239
|
{
|
|
240
240
|
text: "Undergraduate Calendar",
|
|
241
|
-
icon:
|
|
241
|
+
icon: R,
|
|
242
242
|
href: "https://www.uoguelph.ca/registrar/calendars/undergraduate/current/"
|
|
243
243
|
},
|
|
244
244
|
{
|
|
245
245
|
text: "Graduate Calendar",
|
|
246
|
-
icon:
|
|
246
|
+
icon: R,
|
|
247
247
|
href: "https://www.uoguelph.ca/registrar/calendars/graduate/current/"
|
|
248
248
|
},
|
|
249
249
|
{
|
|
250
250
|
text: "Program Plans",
|
|
251
|
-
icon:
|
|
251
|
+
icon: ne,
|
|
252
252
|
href: "https://admission.uoguelph.ca/programs"
|
|
253
253
|
},
|
|
254
254
|
{
|
|
255
255
|
text: "Give to U of G",
|
|
256
|
-
icon:
|
|
256
|
+
icon: oe,
|
|
257
257
|
href: "https://www.alumni.uoguelph.ca/give-to-guelph/how-to-give"
|
|
258
258
|
}
|
|
259
|
-
],
|
|
259
|
+
], Pe = {
|
|
260
260
|
title: "University of Guelph",
|
|
261
261
|
street: "50 Stone Road East",
|
|
262
262
|
city: "Guelph",
|
|
263
263
|
postalCode: "N1G 2W1",
|
|
264
264
|
phoneNumber: "519-824-4120"
|
|
265
265
|
};
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
266
|
+
var de = {}, ge = {};
|
|
267
|
+
(function(a) {
|
|
268
|
+
Object.defineProperty(a, "__esModule", { value: !0 });
|
|
269
|
+
var e = "fas", r = "location-dot", t = 384, n = 512, o = ["map-marker-alt"], i = "f3c5", s = "M215.7 499.2C267 435 384 279.4 384 192C384 86 298 0 192 0S0 86 0 192c0 87.4 117 243 168.3 307.2c12.3 15.3 35.1 15.3 47.4 0zM192 128a64 64 0 1 1 0 128 64 64 0 1 1 0-128z";
|
|
270
|
+
a.definition = {
|
|
271
|
+
prefix: e,
|
|
272
|
+
iconName: r,
|
|
273
|
+
icon: [
|
|
274
|
+
t,
|
|
275
|
+
n,
|
|
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;
|
|
269
382
|
}
|
|
270
|
-
function
|
|
271
|
-
let e, r, t,
|
|
272
|
-
return t = new
|
|
383
|
+
function W(a) {
|
|
384
|
+
let e, r, t, n, o;
|
|
385
|
+
return t = new j({ props: { icon: (
|
|
273
386
|
/*icon*/
|
|
274
|
-
|
|
387
|
+
a[5]
|
|
275
388
|
) } }), {
|
|
276
389
|
c() {
|
|
277
|
-
e =
|
|
390
|
+
e = g("li"), r = g("a"), M(t.$$.fragment), n = b(), d(
|
|
278
391
|
r,
|
|
279
392
|
"href",
|
|
280
393
|
/*href*/
|
|
281
|
-
|
|
282
|
-
),
|
|
394
|
+
a[3]
|
|
395
|
+
), d(
|
|
283
396
|
r,
|
|
284
397
|
"aria-label",
|
|
285
398
|
/*text*/
|
|
286
|
-
|
|
287
|
-
),
|
|
288
|
-
|
|
399
|
+
a[4]
|
|
400
|
+
), d(r, "class", `transition-colors ${/*classes*/
|
|
401
|
+
a[6]}`);
|
|
289
402
|
},
|
|
290
|
-
m(
|
|
291
|
-
|
|
403
|
+
m(i, s) {
|
|
404
|
+
$(i, e, s), h(e, r), V(t, r, null), h(e, n), o = !0;
|
|
292
405
|
},
|
|
293
|
-
p:
|
|
294
|
-
i(
|
|
295
|
-
o || (
|
|
406
|
+
p: y,
|
|
407
|
+
i(i) {
|
|
408
|
+
o || (w(t.$$.fragment, i), o = !0);
|
|
296
409
|
},
|
|
297
|
-
o(
|
|
298
|
-
v(t.$$.fragment,
|
|
410
|
+
o(i) {
|
|
411
|
+
v(t.$$.fragment, i), o = !1;
|
|
299
412
|
},
|
|
300
|
-
d(
|
|
301
|
-
|
|
413
|
+
d(i) {
|
|
414
|
+
i && x(e), H(t);
|
|
302
415
|
}
|
|
303
416
|
};
|
|
304
417
|
}
|
|
305
|
-
function
|
|
306
|
-
let e, r, t,
|
|
307
|
-
|
|
308
|
-
|
|
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
|
+
});
|
|
309
428
|
return {
|
|
310
429
|
c() {
|
|
311
|
-
e =
|
|
312
|
-
for (let
|
|
313
|
-
|
|
314
|
-
r =
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
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();
|
|
461
|
+
}
|
|
321
462
|
},
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
a = !0;
|
|
463
|
+
i(c) {
|
|
464
|
+
if (!o) {
|
|
465
|
+
for (let f = 0; f < i.length; f += 1)
|
|
466
|
+
w(s[f]);
|
|
467
|
+
o = !0;
|
|
328
468
|
}
|
|
329
469
|
},
|
|
330
|
-
o(
|
|
331
|
-
|
|
332
|
-
for (let
|
|
333
|
-
v(
|
|
334
|
-
|
|
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;
|
|
335
475
|
},
|
|
336
|
-
d(
|
|
337
|
-
|
|
476
|
+
d(c) {
|
|
477
|
+
c && (x(e), x(r), x(t)), G(s, c);
|
|
338
478
|
}
|
|
339
479
|
};
|
|
340
480
|
}
|
|
341
|
-
|
|
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 {
|
|
342
489
|
constructor(e) {
|
|
343
|
-
super(), L(this, e,
|
|
490
|
+
super(), L(this, e, Ie, De, F, {});
|
|
344
491
|
}
|
|
345
492
|
}
|
|
346
|
-
|
|
347
|
-
function
|
|
493
|
+
N(pe, {}, [], [], !0);
|
|
494
|
+
function je(a) {
|
|
348
495
|
let e;
|
|
349
496
|
return {
|
|
350
497
|
c() {
|
|
351
|
-
e =
|
|
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/");
|
|
352
499
|
},
|
|
353
500
|
m(r, t) {
|
|
354
|
-
|
|
501
|
+
$(r, e, t);
|
|
355
502
|
},
|
|
356
|
-
p:
|
|
357
|
-
i:
|
|
358
|
-
o:
|
|
503
|
+
p: y,
|
|
504
|
+
i: y,
|
|
505
|
+
o: y,
|
|
359
506
|
d(r) {
|
|
360
|
-
r &&
|
|
507
|
+
r && x(e);
|
|
361
508
|
}
|
|
362
509
|
};
|
|
363
510
|
}
|
|
364
|
-
class
|
|
511
|
+
class me extends S {
|
|
365
512
|
constructor(e) {
|
|
366
|
-
super(), L(this, e, null,
|
|
513
|
+
super(), L(this, e, null, je, F, {});
|
|
367
514
|
}
|
|
368
515
|
}
|
|
369
|
-
|
|
370
|
-
function
|
|
371
|
-
const t =
|
|
372
|
-
return t[
|
|
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;
|
|
373
520
|
}
|
|
374
|
-
function
|
|
375
|
-
let e, r, t,
|
|
376
|
-
return t = new
|
|
521
|
+
function Y(a) {
|
|
522
|
+
let e, r, t, n, o, i, s;
|
|
523
|
+
return t = new j({ props: { icon: (
|
|
377
524
|
/*icon*/
|
|
378
|
-
|
|
525
|
+
a[5]
|
|
379
526
|
) } }), {
|
|
380
527
|
c() {
|
|
381
|
-
e =
|
|
382
|
-
|
|
528
|
+
e = g("li"), r = g("a"), M(t.$$.fragment), n = b(), o = g("span"), o.textContent = `${/*text*/
|
|
529
|
+
a[6]}`, i = b(), d(
|
|
383
530
|
r,
|
|
384
531
|
"href",
|
|
385
532
|
/*href*/
|
|
386
|
-
|
|
387
|
-
),
|
|
533
|
+
a[3]
|
|
534
|
+
), d(
|
|
388
535
|
r,
|
|
389
536
|
"title",
|
|
390
537
|
/*title*/
|
|
391
|
-
|
|
392
|
-
),
|
|
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");
|
|
393
540
|
},
|
|
394
|
-
m(l,
|
|
395
|
-
|
|
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;
|
|
396
543
|
},
|
|
397
|
-
p:
|
|
544
|
+
p: y,
|
|
398
545
|
i(l) {
|
|
399
|
-
s || (
|
|
546
|
+
s || (w(t.$$.fragment, l), s = !0);
|
|
400
547
|
},
|
|
401
548
|
o(l) {
|
|
402
549
|
v(t.$$.fragment, l), s = !1;
|
|
403
550
|
},
|
|
404
551
|
d(l) {
|
|
405
|
-
l &&
|
|
552
|
+
l && x(e), H(t);
|
|
406
553
|
}
|
|
407
554
|
};
|
|
408
555
|
}
|
|
409
|
-
function
|
|
410
|
-
let e, r, t,
|
|
411
|
-
|
|
412
|
-
|
|
556
|
+
function Te(a) {
|
|
557
|
+
let e, r, t, n = A(
|
|
558
|
+
/*links*/
|
|
559
|
+
a[1]
|
|
560
|
+
), o = [];
|
|
561
|
+
for (let s = 0; s < n.length; s += 1)
|
|
562
|
+
o[s] = Y(X(a, n, s));
|
|
563
|
+
const i = (s) => v(o[s], 1, 1, () => {
|
|
564
|
+
o[s] = null;
|
|
565
|
+
});
|
|
413
566
|
return {
|
|
414
567
|
c() {
|
|
415
|
-
e =
|
|
416
|
-
for (let
|
|
417
|
-
o[
|
|
418
|
-
|
|
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");
|
|
419
572
|
},
|
|
420
|
-
m(
|
|
421
|
-
|
|
422
|
-
for (let
|
|
423
|
-
o[
|
|
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);
|
|
424
577
|
t = !0;
|
|
425
578
|
},
|
|
426
|
-
p
|
|
427
|
-
|
|
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) {
|
|
428
597
|
if (!t) {
|
|
429
|
-
for (let
|
|
430
|
-
|
|
598
|
+
for (let l = 0; l < n.length; l += 1)
|
|
599
|
+
w(o[l]);
|
|
431
600
|
t = !0;
|
|
432
601
|
}
|
|
433
602
|
},
|
|
434
|
-
o(
|
|
603
|
+
o(s) {
|
|
435
604
|
o = o.filter(Boolean);
|
|
436
|
-
for (let
|
|
437
|
-
v(o[
|
|
605
|
+
for (let l = 0; l < o.length; l += 1)
|
|
606
|
+
v(o[l]);
|
|
438
607
|
t = !1;
|
|
439
608
|
},
|
|
440
|
-
d(
|
|
441
|
-
|
|
609
|
+
d(s) {
|
|
610
|
+
s && x(e), G(o, s);
|
|
442
611
|
}
|
|
443
612
|
};
|
|
444
613
|
}
|
|
445
|
-
|
|
614
|
+
function qe(a, e, r) {
|
|
615
|
+
let t;
|
|
616
|
+
const n = D("footer-state");
|
|
617
|
+
I(a, n, (i) => r(2, t = i));
|
|
618
|
+
const o = (t == null ? void 0 : t.variant) === "ridgetown" ? Ge : Ae;
|
|
619
|
+
return [n, o];
|
|
620
|
+
}
|
|
621
|
+
class we extends S {
|
|
446
622
|
constructor(e) {
|
|
447
|
-
super(), L(this, e,
|
|
623
|
+
super(), L(this, e, qe, Te, F, {});
|
|
448
624
|
}
|
|
449
625
|
}
|
|
450
|
-
|
|
451
|
-
function
|
|
452
|
-
let e, r, t,
|
|
453
|
-
return
|
|
626
|
+
N(we, {}, [], [], !0);
|
|
627
|
+
function Re(a) {
|
|
628
|
+
let e, r, t, n, o, i, s, l, c, f, u, k, z, C;
|
|
629
|
+
return u = new j({ props: { icon: ke } }), {
|
|
454
630
|
c() {
|
|
455
|
-
e =
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
631
|
+
e = g("address"), r = g("strong"), r.textContent = `${/*address*/
|
|
632
|
+
a[1].title}`, t = b(), n = g("span"), n.textContent = `${/*address*/
|
|
633
|
+
a[1].street},`, o = b(), i = g("span"), i.textContent = `${/*address*/
|
|
634
|
+
a[1].city}, Ontario, Canada`, s = b(), l = g("span"), l.textContent = `${/*address*/
|
|
635
|
+
a[1].postalCode}`, c = b(), f = g("a"), M(u.$$.fragment), k = b(), z = g("span"), z.textContent = `${/*address*/
|
|
636
|
+
a[1].phoneNumber}`, d(f, "href", `tel:${/*address*/
|
|
637
|
+
a[1].phoneNumber}`), d(f, "class", "flex justify-center items-center w-fit gap-2 border-0 border-b-2 border-dotted border-transparent text-uofg-blue transition-colors focus:border-current hover:border-current"), d(e, "class", "flex flex-col justify-between gap-4 not-italic");
|
|
638
|
+
},
|
|
639
|
+
m(_, p) {
|
|
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,
|
|
461
643
|
i(_) {
|
|
462
|
-
|
|
644
|
+
C || (w(u.$$.fragment, _), C = !0);
|
|
463
645
|
},
|
|
464
646
|
o(_) {
|
|
465
|
-
v(
|
|
647
|
+
v(u.$$.fragment, _), C = !1;
|
|
466
648
|
},
|
|
467
649
|
d(_) {
|
|
468
|
-
_ &&
|
|
650
|
+
_ && x(e), H(u);
|
|
469
651
|
}
|
|
470
652
|
};
|
|
471
653
|
}
|
|
472
|
-
|
|
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 {
|
|
473
662
|
constructor(e) {
|
|
474
|
-
super(), L(this, e,
|
|
663
|
+
super(), L(this, e, Oe, Re, F, {});
|
|
475
664
|
}
|
|
476
665
|
}
|
|
477
|
-
|
|
478
|
-
function
|
|
666
|
+
N(ve, {}, [], [], !0);
|
|
667
|
+
function K(a) {
|
|
479
668
|
let e, r;
|
|
480
|
-
return e = new
|
|
669
|
+
return e = new se({ props: { links: (
|
|
481
670
|
/*subFooter*/
|
|
482
|
-
|
|
671
|
+
a[0]
|
|
483
672
|
) } }), {
|
|
484
673
|
c() {
|
|
485
|
-
|
|
674
|
+
M(e.$$.fragment);
|
|
486
675
|
},
|
|
487
|
-
m(t,
|
|
488
|
-
|
|
676
|
+
m(t, n) {
|
|
677
|
+
V(e, t, n), r = !0;
|
|
489
678
|
},
|
|
490
|
-
p(t,
|
|
679
|
+
p(t, n) {
|
|
491
680
|
const o = {};
|
|
492
|
-
|
|
681
|
+
n & /*subFooter*/
|
|
493
682
|
1 && (o.links = /*subFooter*/
|
|
494
683
|
t[0]), e.$set(o);
|
|
495
684
|
},
|
|
496
685
|
i(t) {
|
|
497
|
-
r || (
|
|
686
|
+
r || (w(e.$$.fragment, t), r = !0);
|
|
498
687
|
},
|
|
499
688
|
o(t) {
|
|
500
689
|
v(e.$$.fragment, t), r = !1;
|
|
501
690
|
},
|
|
502
691
|
d(t) {
|
|
503
|
-
|
|
692
|
+
H(e, t);
|
|
504
693
|
}
|
|
505
694
|
};
|
|
506
695
|
}
|
|
507
|
-
function
|
|
696
|
+
function Be(a) {
|
|
508
697
|
let e, r = Array.isArray(
|
|
509
698
|
/*subFooter*/
|
|
510
|
-
|
|
699
|
+
a[0]
|
|
511
700
|
) && /*subFooter*/
|
|
512
|
-
|
|
513
|
-
return
|
|
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({}), {
|
|
514
703
|
c() {
|
|
515
|
-
e =
|
|
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");
|
|
516
705
|
},
|
|
517
|
-
m(
|
|
518
|
-
|
|
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;
|
|
519
708
|
},
|
|
520
|
-
p(
|
|
521
|
-
|
|
709
|
+
p(m, [P]) {
|
|
710
|
+
P & /*subFooter*/
|
|
522
711
|
1 && (r = Array.isArray(
|
|
523
712
|
/*subFooter*/
|
|
524
|
-
|
|
713
|
+
m[0]
|
|
525
714
|
) && /*subFooter*/
|
|
526
|
-
|
|
527
|
-
1 &&
|
|
528
|
-
|
|
529
|
-
}),
|
|
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());
|
|
530
719
|
},
|
|
531
|
-
i(
|
|
532
|
-
_ || (
|
|
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);
|
|
533
722
|
},
|
|
534
|
-
o(
|
|
535
|
-
v(
|
|
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;
|
|
536
725
|
},
|
|
537
|
-
d(
|
|
538
|
-
|
|
726
|
+
d(m) {
|
|
727
|
+
m && x(e), p && p.d(), H(i), H(l), H(f), H(k), H(C);
|
|
539
728
|
}
|
|
540
729
|
};
|
|
541
730
|
}
|
|
542
|
-
function
|
|
543
|
-
let { subFooter: t } = e;
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
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];
|
|
547
737
|
}
|
|
548
|
-
class
|
|
738
|
+
class We extends S {
|
|
549
739
|
constructor(e) {
|
|
550
|
-
super(), L(this, e,
|
|
740
|
+
super(), L(this, e, Ee, Be, F, { subFooter: 0, variant: 1 });
|
|
551
741
|
}
|
|
552
742
|
get subFooter() {
|
|
553
743
|
return this.$$.ctx[0];
|
|
554
744
|
}
|
|
555
745
|
set subFooter(e) {
|
|
556
|
-
this.$$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();
|
|
557
753
|
}
|
|
558
754
|
}
|
|
559
|
-
customElements.define("uofg-footer",
|
|
755
|
+
customElements.define("uofg-footer", N(We, { subFooter: {}, variant: { reflect: !0, type: "String", attribute: "variant" } }, [], [], !0, (a) => class extends a {
|
|
560
756
|
constructor() {
|
|
561
|
-
super(),
|
|
757
|
+
super(), _e(this.shadowRoot);
|
|
562
758
|
}
|
|
563
759
|
connectedCallback() {
|
|
564
760
|
super.connectedCallback(), this.updateSubFooter(), this.observer ?? (this.observer = new MutationObserver(() => {
|
|
@@ -576,5 +772,5 @@ customElements.define("uofg-footer", F(Ne, { subFooter: {} }, [], [], !0, (c) =>
|
|
|
576
772
|
}
|
|
577
773
|
}));
|
|
578
774
|
export {
|
|
579
|
-
|
|
775
|
+
We as default
|
|
580
776
|
};
|