@uoguelph/web-components 1.5.1-rc.0 → 1.6.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-Dr23gGIz.js +22 -0
- package/dist/uofg-web-components/index-C_Xohc3R.js +978 -0
- package/dist/uofg-web-components/uofg-alert.esm.js +1 -1
- package/dist/uofg-web-components/uofg-back-to-top.esm.js +45 -59
- package/dist/uofg-web-components/uofg-footer.esm.js +146 -146
- package/dist/uofg-web-components/uofg-header.esm.js +1054 -974
- package/dist/uofg-web-components/uofg-modal.esm.js +1 -1
- package/dist/uofg-web-components/uofg-web-components.css +1 -1
- package/package.json +4 -1
- package/dist/uofg-web-components/globals-DnYjtinb.js +0 -7
- package/dist/uofg-web-components/index-DQJjz5Bq.js +0 -982
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as A, S as B, i as D, a as G, s as H, F as I, f as J, b as $, e as v, d as K, g as h, h as w, j as L, k as m, m as M, u as x, l as q, n as y, t as p, o as d, p as N, q as O } from "./index-
|
|
1
|
+
import { c as A, S as B, i as D, a as G, s as H, F as I, f as J, b as $, e as v, d as K, g as h, h as w, j as L, k as m, m as M, u as x, l as q, n as y, t as p, o as d, p as N, q as O } from "./index-C_Xohc3R.js";
|
|
2
2
|
const P = (e) => ({}), R = (e) => ({}), Q = (e) => ({}), T = (e) => ({}), V = (e) => ({}), U = (e) => ({}), W = (e) => ({}), z = (e) => ({});
|
|
3
3
|
function X(e) {
|
|
4
4
|
let s, f, r, c, g, u, j, k, b, o;
|
|
@@ -1,91 +1,77 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { g as R } from "./
|
|
3
|
-
function k() {
|
|
4
|
-
let t = 0, o, s, e = "";
|
|
5
|
-
for (; t < arguments.length; )
|
|
6
|
-
(o = arguments[t++]) && (s = v(o)) && (e && (e += " "), e += s);
|
|
7
|
-
return e;
|
|
8
|
-
}
|
|
9
|
-
function v(t) {
|
|
10
|
-
if (typeof t == "string")
|
|
11
|
-
return t;
|
|
12
|
-
let o, s = "";
|
|
13
|
-
for (let e = 0; e < t.length; e++)
|
|
14
|
-
t[e] && (o = v(t[e])) && (s && (s += " "), s += o);
|
|
15
|
-
return s;
|
|
16
|
-
}
|
|
1
|
+
import { c as k, S as y, i as T, a as $, s as v, r as j, F as C, v as q, e as d, d as z, g as F, h as p, j as O, k as g, m as S, w as h, t as U, o as Y, p as B, q as E, x as J } from "./index-C_Xohc3R.js";
|
|
2
|
+
import { t as x, g as R } from "./bundle-mjs-Dr23gGIz.js";
|
|
17
3
|
const { window: b } = R;
|
|
18
|
-
function X(
|
|
19
|
-
let
|
|
20
|
-
|
|
21
|
-
},
|
|
22
|
-
return
|
|
4
|
+
function X(e) {
|
|
5
|
+
let a = !1, l = () => {
|
|
6
|
+
a = !1;
|
|
7
|
+
}, n, t, r, s, _, c, u, i, m, w;
|
|
8
|
+
return j(
|
|
23
9
|
/*onwindowscroll*/
|
|
24
|
-
|
|
25
|
-
),
|
|
10
|
+
e[3]
|
|
11
|
+
), s = new C({ props: { icon: q } }), {
|
|
26
12
|
c() {
|
|
27
|
-
|
|
13
|
+
t = d("button"), r = d("span"), z(s.$$.fragment), _ = F(), c = d("span"), c.textContent = "Back to top of page", p(r, "aria-hidden", "true"), p(c, "class", "sr-only"), p(t, "class", u = x(
|
|
28
14
|
"flex z-10 justify-center items-center text-4xl w-16 h-16 border border-white bg-black fixed bottom-8 right-8 text-white hover:bg-uofg-red focus:bg-uofg-red transition",
|
|
29
15
|
/*visible*/
|
|
30
|
-
|
|
16
|
+
e[1] ? "opacity-100" : "opacity-0"
|
|
31
17
|
));
|
|
32
18
|
},
|
|
33
|
-
m(
|
|
34
|
-
O(
|
|
35
|
-
|
|
36
|
-
|
|
19
|
+
m(o, f) {
|
|
20
|
+
O(o, t, f), g(t, r), S(s, r, null), g(t, _), g(t, c), i = !0, m || (w = [
|
|
21
|
+
h(b, "scroll", () => {
|
|
22
|
+
a = !0, clearTimeout(n), n = setTimeout(l, 100), e[3]();
|
|
37
23
|
}),
|
|
38
|
-
|
|
39
|
-
|
|
24
|
+
h(
|
|
25
|
+
t,
|
|
40
26
|
"click",
|
|
41
27
|
/*scrollToTop*/
|
|
42
|
-
|
|
28
|
+
e[2]
|
|
43
29
|
)
|
|
44
|
-
],
|
|
30
|
+
], m = !0);
|
|
45
31
|
},
|
|
46
|
-
p(
|
|
32
|
+
p(o, [f]) {
|
|
47
33
|
f & /*scrollY*/
|
|
48
|
-
1 && !
|
|
34
|
+
1 && !a && (a = !0, clearTimeout(n), scrollTo(
|
|
49
35
|
b.pageXOffset,
|
|
50
36
|
/*scrollY*/
|
|
51
|
-
|
|
52
|
-
),
|
|
53
|
-
2 && u !== (u =
|
|
37
|
+
o[0]
|
|
38
|
+
), n = setTimeout(l, 100)), (!i || f & /*visible*/
|
|
39
|
+
2 && u !== (u = x(
|
|
54
40
|
"flex z-10 justify-center items-center text-4xl w-16 h-16 border border-white bg-black fixed bottom-8 right-8 text-white hover:bg-uofg-red focus:bg-uofg-red transition",
|
|
55
41
|
/*visible*/
|
|
56
|
-
|
|
57
|
-
))) && p(
|
|
42
|
+
o[1] ? "opacity-100" : "opacity-0"
|
|
43
|
+
))) && p(t, "class", u);
|
|
58
44
|
},
|
|
59
|
-
i(
|
|
60
|
-
i || (U(
|
|
45
|
+
i(o) {
|
|
46
|
+
i || (U(s.$$.fragment, o), i = !0);
|
|
61
47
|
},
|
|
62
|
-
o(
|
|
63
|
-
Y(
|
|
48
|
+
o(o) {
|
|
49
|
+
Y(s.$$.fragment, o), i = !1;
|
|
64
50
|
},
|
|
65
|
-
d(
|
|
66
|
-
|
|
51
|
+
d(o) {
|
|
52
|
+
o && B(t), E(s), m = !1, J(w);
|
|
67
53
|
}
|
|
68
54
|
};
|
|
69
55
|
}
|
|
70
|
-
function A(
|
|
71
|
-
let
|
|
72
|
-
const
|
|
56
|
+
function A(e, a, l) {
|
|
57
|
+
let n = !1, t = 0;
|
|
58
|
+
const r = () => {
|
|
73
59
|
window.scroll({ top: 0, left: 0, behavior: "smooth" });
|
|
74
60
|
};
|
|
75
|
-
function
|
|
76
|
-
|
|
61
|
+
function s() {
|
|
62
|
+
l(0, t = b.pageYOffset);
|
|
77
63
|
}
|
|
78
|
-
return
|
|
79
|
-
|
|
80
|
-
1 &&
|
|
81
|
-
}, [
|
|
64
|
+
return e.$$.update = () => {
|
|
65
|
+
e.$$.dirty & /*scrollY*/
|
|
66
|
+
1 && l(1, n = t > 50);
|
|
67
|
+
}, [t, n, r, s];
|
|
82
68
|
}
|
|
83
|
-
class D extends
|
|
84
|
-
constructor(
|
|
85
|
-
super(), T(this,
|
|
69
|
+
class D extends y {
|
|
70
|
+
constructor(a) {
|
|
71
|
+
super(), T(this, a, A, X, v, {});
|
|
86
72
|
}
|
|
87
73
|
}
|
|
88
|
-
customElements.define("uofg-back-to-top",
|
|
74
|
+
customElements.define("uofg-back-to-top", k(D, {}, [], [], !0, (e) => class extends e {
|
|
89
75
|
constructor() {
|
|
90
76
|
super(), $(this.shadowRoot);
|
|
91
77
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { c as pe, S as de, i as ge, s as
|
|
2
|
-
function Le(
|
|
3
|
-
let e,
|
|
1
|
+
import { c as pe, S as de, i as ge, s as me, y as oe, h as f, j as H, k as n, z as A, p as F, A as xe, a as _e, B as M, F as O, C as ke, e as u, g as v, d as q, m as j, t as x, D as re, o as _, q as I, E, G as Ce, H as $e, I as ae, J as ye, K as Ve, L as Me, M as He, N as Fe, O as ze, P as ce, Q as Se, R as Ze } from "./index-C_Xohc3R.js";
|
|
2
|
+
function Le(l) {
|
|
3
|
+
let e, o;
|
|
4
4
|
return {
|
|
5
5
|
c() {
|
|
6
|
-
e =
|
|
6
|
+
e = oe("svg"), o = oe("path"), f(o, "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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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"), f(e, "xmlns", "http://www.w3.org/2000/svg"), f(e, "fill", "#fff"), f(e, "viewBox", "0 0 107.4 12");
|
|
7
7
|
},
|
|
8
|
-
m(t,
|
|
9
|
-
H(t, e,
|
|
8
|
+
m(t, s) {
|
|
9
|
+
H(t, e, s), n(e, o);
|
|
10
10
|
},
|
|
11
11
|
p: A,
|
|
12
12
|
i: A,
|
|
@@ -16,13 +16,13 @@ function Le(s) {
|
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
|
-
class
|
|
19
|
+
class ve extends de {
|
|
20
20
|
constructor(e) {
|
|
21
|
-
super(), ge(this, e, null, Le,
|
|
21
|
+
super(), ge(this, e, null, Le, me, {});
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
pe(
|
|
25
|
-
|
|
24
|
+
pe(ve, {}, [], [], !0);
|
|
25
|
+
const Ae = {
|
|
26
26
|
prefix: "fab",
|
|
27
27
|
iconName: "tiktok",
|
|
28
28
|
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"]
|
|
@@ -47,106 +47,106 @@ var Ae = {
|
|
|
47
47
|
iconName: "square-x-twitter",
|
|
48
48
|
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"]
|
|
49
49
|
};
|
|
50
|
-
function
|
|
51
|
-
const t =
|
|
52
|
-
return t[3] = e[
|
|
50
|
+
function se(l, e, o) {
|
|
51
|
+
const t = l.slice();
|
|
52
|
+
return t[3] = e[o].href, t[4] = e[o].title, t[5] = e[o].icon, t[6] = e[o].text, t;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
55
|
-
const t =
|
|
56
|
-
return t[3] = e[
|
|
54
|
+
function le(l, e, o) {
|
|
55
|
+
const t = l.slice();
|
|
56
|
+
return t[3] = e[o].href, t[6] = e[o].text, t[5] = e[o].icon, t[9] = e[o].classes, t;
|
|
57
57
|
}
|
|
58
|
-
function ne(
|
|
59
|
-
const t =
|
|
60
|
-
return t[6] = e[
|
|
58
|
+
function ne(l, e, o) {
|
|
59
|
+
const t = l.slice();
|
|
60
|
+
return t[6] = e[o].text, t[3] = e[o].href, t;
|
|
61
61
|
}
|
|
62
|
-
function ie(
|
|
63
|
-
let e,
|
|
62
|
+
function ie(l) {
|
|
63
|
+
let e, o = M(
|
|
64
64
|
/*subFooter*/
|
|
65
|
-
|
|
65
|
+
l[0]
|
|
66
66
|
), t = [];
|
|
67
|
-
for (let
|
|
68
|
-
t[
|
|
67
|
+
for (let s = 0; s < o.length; s += 1)
|
|
68
|
+
t[s] = fe(ne(l, o, s));
|
|
69
69
|
return {
|
|
70
70
|
c() {
|
|
71
71
|
e = u("ul");
|
|
72
|
-
for (let
|
|
73
|
-
t[
|
|
72
|
+
for (let s = 0; s < t.length; s += 1)
|
|
73
|
+
t[s].c();
|
|
74
74
|
f(e, "class", "flex flex-wrap items-center justify-center bg-white p-6 px-[max(calc((100%-1320px)/2),2rem)]");
|
|
75
75
|
},
|
|
76
|
-
m(
|
|
77
|
-
H(
|
|
76
|
+
m(s, i) {
|
|
77
|
+
H(s, e, i);
|
|
78
78
|
for (let a = 0; a < t.length; a += 1)
|
|
79
79
|
t[a] && t[a].m(e, null);
|
|
80
80
|
},
|
|
81
|
-
p(
|
|
81
|
+
p(s, i) {
|
|
82
82
|
if (i & /*subFooter*/
|
|
83
83
|
1) {
|
|
84
|
-
|
|
84
|
+
o = M(
|
|
85
85
|
/*subFooter*/
|
|
86
|
-
|
|
86
|
+
s[0]
|
|
87
87
|
);
|
|
88
88
|
let a;
|
|
89
|
-
for (a = 0; a <
|
|
90
|
-
const p = ne(
|
|
89
|
+
for (a = 0; a < o.length; a += 1) {
|
|
90
|
+
const p = ne(s, o, a);
|
|
91
91
|
t[a] ? t[a].p(p, i) : (t[a] = fe(p), t[a].c(), t[a].m(e, null));
|
|
92
92
|
}
|
|
93
93
|
for (; a < t.length; a += 1)
|
|
94
94
|
t[a].d(1);
|
|
95
|
-
t.length =
|
|
95
|
+
t.length = o.length;
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
|
-
d(
|
|
99
|
-
|
|
98
|
+
d(s) {
|
|
99
|
+
s && F(e), E(t, s);
|
|
100
100
|
}
|
|
101
101
|
};
|
|
102
102
|
}
|
|
103
|
-
function fe(
|
|
104
|
-
let e,
|
|
103
|
+
function fe(l) {
|
|
104
|
+
let e, o, t = (
|
|
105
105
|
/*text*/
|
|
106
|
-
|
|
107
|
-
),
|
|
106
|
+
l[6] + ""
|
|
107
|
+
), s, i, a;
|
|
108
108
|
return {
|
|
109
109
|
c() {
|
|
110
|
-
e = u("li"),
|
|
111
|
-
|
|
110
|
+
e = u("li"), o = u("a"), s = Ce(t), a = v(), f(o, "class", "transition-all decoration-transparent text-[#2e74bb] hover:text-[#1a4168] focus:text-[#1a4168] hover:underline focus:underline hover:decoration-current focus:decoration-current"), f(o, "href", i = /*href*/
|
|
111
|
+
l[3]), f(e, "class", "p-6");
|
|
112
112
|
},
|
|
113
|
-
m(p,
|
|
114
|
-
H(p, e,
|
|
113
|
+
m(p, m) {
|
|
114
|
+
H(p, e, m), n(e, o), n(o, s), n(e, a);
|
|
115
115
|
},
|
|
116
|
-
p(p,
|
|
117
|
-
|
|
116
|
+
p(p, m) {
|
|
117
|
+
m & /*subFooter*/
|
|
118
118
|
1 && t !== (t = /*text*/
|
|
119
|
-
p[6] + "") && $e(
|
|
119
|
+
p[6] + "") && $e(s, t), m & /*subFooter*/
|
|
120
120
|
1 && i !== (i = /*href*/
|
|
121
|
-
p[3]) && f(
|
|
121
|
+
p[3]) && f(o, "href", i);
|
|
122
122
|
},
|
|
123
123
|
d(p) {
|
|
124
124
|
p && F(e);
|
|
125
125
|
}
|
|
126
126
|
};
|
|
127
127
|
}
|
|
128
|
-
function he(
|
|
129
|
-
let e,
|
|
128
|
+
function he(l) {
|
|
129
|
+
let e, o, t, s, i;
|
|
130
130
|
return t = new O({ props: { icon: (
|
|
131
131
|
/*icon*/
|
|
132
|
-
|
|
132
|
+
l[5]
|
|
133
133
|
) } }), {
|
|
134
134
|
c() {
|
|
135
|
-
e = u("li"),
|
|
136
|
-
|
|
135
|
+
e = u("li"), o = u("a"), q(t.$$.fragment), s = v(), f(
|
|
136
|
+
o,
|
|
137
137
|
"href",
|
|
138
138
|
/*href*/
|
|
139
|
-
|
|
139
|
+
l[3]
|
|
140
140
|
), f(
|
|
141
|
-
|
|
141
|
+
o,
|
|
142
142
|
"aria-label",
|
|
143
143
|
/*text*/
|
|
144
|
-
|
|
145
|
-
), f(
|
|
146
|
-
|
|
144
|
+
l[6]
|
|
145
|
+
), f(o, "class", `transition-colors ${/*classes*/
|
|
146
|
+
l[9]}`);
|
|
147
147
|
},
|
|
148
148
|
m(a, p) {
|
|
149
|
-
H(a, e, p), n(e,
|
|
149
|
+
H(a, e, p), n(e, o), j(t, o, null), n(e, s), i = !0;
|
|
150
150
|
},
|
|
151
151
|
p: A,
|
|
152
152
|
i(a) {
|
|
@@ -160,147 +160,147 @@ function he(s) {
|
|
|
160
160
|
}
|
|
161
161
|
};
|
|
162
162
|
}
|
|
163
|
-
function ue(
|
|
164
|
-
let e,
|
|
163
|
+
function ue(l) {
|
|
164
|
+
let e, o, t, s, i, a, p;
|
|
165
165
|
return t = new O({ props: { icon: (
|
|
166
166
|
/*icon*/
|
|
167
|
-
|
|
167
|
+
l[5]
|
|
168
168
|
) } }), {
|
|
169
169
|
c() {
|
|
170
|
-
e = u("li"),
|
|
171
|
-
|
|
172
|
-
|
|
170
|
+
e = u("li"), o = u("a"), q(t.$$.fragment), s = v(), i = u("span"), i.textContent = `${/*text*/
|
|
171
|
+
l[6]}`, a = v(), f(
|
|
172
|
+
o,
|
|
173
173
|
"href",
|
|
174
174
|
/*href*/
|
|
175
|
-
|
|
175
|
+
l[3]
|
|
176
176
|
), f(
|
|
177
|
-
|
|
177
|
+
o,
|
|
178
178
|
"title",
|
|
179
179
|
/*title*/
|
|
180
|
-
|
|
181
|
-
), f(
|
|
180
|
+
l[4] ?? ""
|
|
181
|
+
), f(o, "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");
|
|
182
182
|
},
|
|
183
|
-
m(
|
|
184
|
-
H(
|
|
183
|
+
m(m, k) {
|
|
184
|
+
H(m, e, k), n(e, o), j(t, o, null), n(o, s), n(o, i), n(e, a), p = !0;
|
|
185
185
|
},
|
|
186
186
|
p: A,
|
|
187
|
-
i(
|
|
188
|
-
p || (x(t.$$.fragment,
|
|
187
|
+
i(m) {
|
|
188
|
+
p || (x(t.$$.fragment, m), p = !0);
|
|
189
189
|
},
|
|
190
|
-
o(
|
|
191
|
-
_(t.$$.fragment,
|
|
190
|
+
o(m) {
|
|
191
|
+
_(t.$$.fragment, m), p = !1;
|
|
192
192
|
},
|
|
193
|
-
d(
|
|
194
|
-
|
|
193
|
+
d(m) {
|
|
194
|
+
m && F(e), I(t);
|
|
195
195
|
}
|
|
196
196
|
};
|
|
197
197
|
}
|
|
198
|
-
function Ue(
|
|
199
|
-
let e,
|
|
198
|
+
function Ue(l) {
|
|
199
|
+
let e, o = Array.isArray(
|
|
200
200
|
/*subFooter*/
|
|
201
|
-
|
|
201
|
+
l[0]
|
|
202
202
|
) && /*subFooter*/
|
|
203
|
-
|
|
204
|
-
p = new
|
|
203
|
+
l[0].length > 0, t, s, i, a, p, m, k, R, z, Y, S, K, N, Z, W, w, T, X, U, J, P, Q, B, ee, C, V, te, D, G, b = o && ie(l);
|
|
204
|
+
p = new ve({});
|
|
205
205
|
let $ = M(
|
|
206
206
|
/*socials*/
|
|
207
|
-
|
|
207
|
+
l[1]
|
|
208
208
|
), d = [];
|
|
209
|
-
for (let
|
|
210
|
-
d[
|
|
211
|
-
const be = (
|
|
212
|
-
d[
|
|
209
|
+
for (let r = 0; r < $.length; r += 1)
|
|
210
|
+
d[r] = he(le(l, $, r));
|
|
211
|
+
const be = (r) => _(d[r], 1, 1, () => {
|
|
212
|
+
d[r] = null;
|
|
213
213
|
});
|
|
214
214
|
let y = M(
|
|
215
215
|
/*links*/
|
|
216
|
-
|
|
216
|
+
l[2]
|
|
217
217
|
), g = [];
|
|
218
|
-
for (let
|
|
219
|
-
g[
|
|
220
|
-
const we = (
|
|
221
|
-
g[
|
|
218
|
+
for (let r = 0; r < y.length; r += 1)
|
|
219
|
+
g[r] = ue(se(l, y, r));
|
|
220
|
+
const we = (r) => _(g[r], 1, 1, () => {
|
|
221
|
+
g[r] = null;
|
|
222
222
|
});
|
|
223
223
|
return V = new O({ props: { icon: ke } }), {
|
|
224
224
|
c() {
|
|
225
|
-
e = u("footer"), b && b.c(), t =
|
|
226
|
-
for (let
|
|
227
|
-
d[
|
|
228
|
-
R =
|
|
229
|
-
for (let
|
|
230
|
-
g[
|
|
231
|
-
W =
|
|
232
|
-
},
|
|
233
|
-
m(
|
|
234
|
-
H(
|
|
235
|
-
for (let
|
|
236
|
-
d[
|
|
237
|
-
n(i, R), n(i, z), n(i, Y), n(i, S), n(
|
|
238
|
-
for (let
|
|
239
|
-
g[
|
|
240
|
-
n(
|
|
241
|
-
},
|
|
242
|
-
p(
|
|
225
|
+
e = u("footer"), b && b.c(), t = v(), s = u("div"), i = u("div"), a = u("a"), q(p.$$.fragment), m = v(), k = u("ul");
|
|
226
|
+
for (let r = 0; r < d.length; r += 1)
|
|
227
|
+
d[r].c();
|
|
228
|
+
R = v(), z = u("a"), z.textContent = "Social Media Directory", Y = v(), S = u("a"), S.textContent = `© ${(/* @__PURE__ */ new Date()).getFullYear()} University of Guelph`, K = v(), N = u("div"), Z = u("ul");
|
|
229
|
+
for (let r = 0; r < g.length; r += 1)
|
|
230
|
+
g[r].c();
|
|
231
|
+
W = v(), w = u("address"), T = u("strong"), T.textContent = "University of Guelph", X = v(), U = u("span"), U.textContent = "50 Stone Road East,", J = v(), P = u("span"), P.textContent = "Guelph, Ontario, Canada", Q = v(), B = u("span"), B.textContent = "N1G 2W1", ee = v(), C = u("a"), q(V.$$.fragment), te = v(), D = u("span"), D.textContent = "519-824-4120", f(a, "href", "https://www.uoguelph.ca/improve-life"), f(a, "aria-label", "Improve Life"), f(a, "class", "flex transition-opacity focus:opacity-75 hover:opacity-75 [&>svg]:block [&>svg]:h-[1.6em] [&>svg]:mb-4"), f(k, "class", "flex gap-3 text-4xl [&>li]:contents"), f(z, "class", "w-fit border-0 border-b-2 border-dotted border-transparent transition-colors focus:border-white hover:border-white"), f(z, "href", "https://www.uoguelph.ca/web/socialmedia/"), f(S, "class", "w-fit border-0 border-b-2 border-dotted border-transparent transition-colors focus:border-white hover:border-white"), f(S, "href", "https://www.uoguelph.ca/web/"), f(i, "class", "flex flex-col justify-between gap-2"), f(Z, "class", "w-full flex flex-col gap-2 md:grid md:grid-cols-2 [&>li]:contents"), f(N, "class", "flex justify-center md:col-span-2 md:row-start-2 lg:row-auto"), f(C, "href", "tel:1-519-824-4120"), f(C, "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"), f(w, "class", "flex flex-col justify-between gap-4 not-italic"), f(s, "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");
|
|
232
|
+
},
|
|
233
|
+
m(r, h) {
|
|
234
|
+
H(r, e, h), b && b.m(e, null), n(e, t), n(e, s), n(s, i), n(i, a), j(p, a, null), n(i, m), n(i, k);
|
|
235
|
+
for (let c = 0; c < d.length; c += 1)
|
|
236
|
+
d[c] && d[c].m(k, null);
|
|
237
|
+
n(i, R), n(i, z), n(i, Y), n(i, S), n(s, K), n(s, N), n(N, Z);
|
|
238
|
+
for (let c = 0; c < g.length; c += 1)
|
|
239
|
+
g[c] && g[c].m(Z, null);
|
|
240
|
+
n(s, W), n(s, w), n(w, T), n(w, X), n(w, U), n(w, J), n(w, P), n(w, Q), n(w, B), n(w, ee), n(w, C), j(V, C, null), n(C, te), n(C, D), G = !0;
|
|
241
|
+
},
|
|
242
|
+
p(r, [h]) {
|
|
243
243
|
if (h & /*subFooter*/
|
|
244
|
-
1 && (
|
|
244
|
+
1 && (o = Array.isArray(
|
|
245
245
|
/*subFooter*/
|
|
246
|
-
|
|
246
|
+
r[0]
|
|
247
247
|
) && /*subFooter*/
|
|
248
|
-
|
|
248
|
+
r[0].length > 0), o ? b ? b.p(r, h) : (b = ie(r), b.c(), b.m(e, t)) : b && (b.d(1), b = null), h & /*socials*/
|
|
249
249
|
2) {
|
|
250
250
|
$ = M(
|
|
251
251
|
/*socials*/
|
|
252
|
-
|
|
252
|
+
r[1]
|
|
253
253
|
);
|
|
254
|
-
let
|
|
255
|
-
for (
|
|
256
|
-
const L =
|
|
257
|
-
d[
|
|
254
|
+
let c;
|
|
255
|
+
for (c = 0; c < $.length; c += 1) {
|
|
256
|
+
const L = le(r, $, c);
|
|
257
|
+
d[c] ? (d[c].p(L, h), x(d[c], 1)) : (d[c] = he(L), d[c].c(), x(d[c], 1), d[c].m(k, null));
|
|
258
258
|
}
|
|
259
|
-
for (ae(),
|
|
260
|
-
be(
|
|
261
|
-
|
|
259
|
+
for (ae(), c = $.length; c < d.length; c += 1)
|
|
260
|
+
be(c);
|
|
261
|
+
re();
|
|
262
262
|
}
|
|
263
263
|
if (h & /*links*/
|
|
264
264
|
4) {
|
|
265
265
|
y = M(
|
|
266
266
|
/*links*/
|
|
267
|
-
|
|
267
|
+
r[2]
|
|
268
268
|
);
|
|
269
|
-
let
|
|
270
|
-
for (
|
|
271
|
-
const L =
|
|
272
|
-
g[
|
|
269
|
+
let c;
|
|
270
|
+
for (c = 0; c < y.length; c += 1) {
|
|
271
|
+
const L = se(r, y, c);
|
|
272
|
+
g[c] ? (g[c].p(L, h), x(g[c], 1)) : (g[c] = ue(L), g[c].c(), x(g[c], 1), g[c].m(Z, null));
|
|
273
273
|
}
|
|
274
|
-
for (ae(),
|
|
275
|
-
we(
|
|
276
|
-
|
|
274
|
+
for (ae(), c = y.length; c < g.length; c += 1)
|
|
275
|
+
we(c);
|
|
276
|
+
re();
|
|
277
277
|
}
|
|
278
278
|
},
|
|
279
|
-
i(
|
|
279
|
+
i(r) {
|
|
280
280
|
if (!G) {
|
|
281
|
-
x(p.$$.fragment,
|
|
281
|
+
x(p.$$.fragment, r);
|
|
282
282
|
for (let h = 0; h < $.length; h += 1)
|
|
283
283
|
x(d[h]);
|
|
284
284
|
for (let h = 0; h < y.length; h += 1)
|
|
285
285
|
x(g[h]);
|
|
286
|
-
x(V.$$.fragment,
|
|
286
|
+
x(V.$$.fragment, r), G = !0;
|
|
287
287
|
}
|
|
288
288
|
},
|
|
289
|
-
o(
|
|
290
|
-
_(p.$$.fragment,
|
|
289
|
+
o(r) {
|
|
290
|
+
_(p.$$.fragment, r), d = d.filter(Boolean);
|
|
291
291
|
for (let h = 0; h < d.length; h += 1)
|
|
292
292
|
_(d[h]);
|
|
293
293
|
g = g.filter(Boolean);
|
|
294
294
|
for (let h = 0; h < g.length; h += 1)
|
|
295
295
|
_(g[h]);
|
|
296
|
-
_(V.$$.fragment,
|
|
296
|
+
_(V.$$.fragment, r), G = !1;
|
|
297
297
|
},
|
|
298
|
-
d(
|
|
299
|
-
|
|
298
|
+
d(r) {
|
|
299
|
+
r && F(e), b && b.d(), I(p), E(d, r), E(g, r), I(V);
|
|
300
300
|
}
|
|
301
301
|
};
|
|
302
302
|
}
|
|
303
|
-
function Pe(
|
|
303
|
+
function Pe(l, e, o) {
|
|
304
304
|
const t = [
|
|
305
305
|
{
|
|
306
306
|
text: "X",
|
|
@@ -338,7 +338,7 @@ function Pe(s, e, r) {
|
|
|
338
338
|
href: "https://www.tiktok.com/@uofguelph",
|
|
339
339
|
classes: "focus:text-[#f00] hover:text-[#f00]"
|
|
340
340
|
}
|
|
341
|
-
],
|
|
341
|
+
], s = [
|
|
342
342
|
{
|
|
343
343
|
text: "Accessibility",
|
|
344
344
|
icon: ye,
|
|
@@ -372,12 +372,12 @@ function Pe(s, e, r) {
|
|
|
372
372
|
},
|
|
373
373
|
{
|
|
374
374
|
text: "Undergraduate Calendar",
|
|
375
|
-
icon:
|
|
375
|
+
icon: ce,
|
|
376
376
|
href: "https://www.uoguelph.ca/registrar/calendars/undergraduate/current/"
|
|
377
377
|
},
|
|
378
378
|
{
|
|
379
379
|
text: "Graduate Calendar",
|
|
380
|
-
icon:
|
|
380
|
+
icon: ce,
|
|
381
381
|
href: "https://www.uoguelph.ca/registrar/calendars/graduate/current/"
|
|
382
382
|
},
|
|
383
383
|
{
|
|
@@ -392,13 +392,13 @@ function Pe(s, e, r) {
|
|
|
392
392
|
}
|
|
393
393
|
];
|
|
394
394
|
let { subFooter: i } = e;
|
|
395
|
-
return
|
|
396
|
-
"subFooter" in a &&
|
|
397
|
-
}, [i, t,
|
|
395
|
+
return l.$$set = (a) => {
|
|
396
|
+
"subFooter" in a && o(0, i = a.subFooter);
|
|
397
|
+
}, [i, t, s];
|
|
398
398
|
}
|
|
399
399
|
class Be extends de {
|
|
400
400
|
constructor(e) {
|
|
401
|
-
super(), ge(this, e, Pe, Ue,
|
|
401
|
+
super(), ge(this, e, Pe, Ue, me, { subFooter: 0 });
|
|
402
402
|
}
|
|
403
403
|
get subFooter() {
|
|
404
404
|
return this.$$.ctx[0];
|
|
@@ -407,7 +407,7 @@ class Be extends de {
|
|
|
407
407
|
this.$$set({ subFooter: e }), xe();
|
|
408
408
|
}
|
|
409
409
|
}
|
|
410
|
-
customElements.define("uofg-footer", pe(Be, { subFooter: {} }, [], [], !0, (
|
|
410
|
+
customElements.define("uofg-footer", pe(Be, { subFooter: {} }, [], [], !0, (l) => class extends l {
|
|
411
411
|
constructor() {
|
|
412
412
|
super(), _e(this.shadowRoot);
|
|
413
413
|
}
|