@uoguelph/web-components 1.8.0-rc.0 → 1.9.0-rc.1
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-tL6xr2rJ.js +2472 -0
- package/dist/uofg-web-components/legacy-DIGW2RSh.js +43 -0
- package/dist/uofg-web-components/slot-dkmGAqBq.js +18 -0
- package/dist/uofg-web-components/uofg-alert.esm.js +48 -148
- package/dist/uofg-web-components/uofg-back-to-top.esm.js +22 -78
- package/dist/uofg-web-components/uofg-footer.esm.js +160 -645
- package/dist/uofg-web-components/uofg-header.esm.js +1129 -3141
- 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-BjFv1LQ0.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,760 +1,275 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
c
|
|
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 b, p as C, a as N, J as L, b as V, d as h, K as z, e as M, h as A, f as v, E as k, L as m, u as w, j as s, r as a, M as E, N as R, O, P as Y, Q as W, R as X, T as B, U as H, V as D, W as K, X as Z, F as J, s as Q, k as p, Y as $, i as ee } from "./font-awesome-icon-tL6xr2rJ.js";
|
|
2
|
+
import { i as F } from "./legacy-DIGW2RSh.js";
|
|
3
|
+
var te = v('<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>'), ae = v('<ul class="flex flex-wrap items-center justify-center bg-white p-3 px-[max(calc((100%-1320px)/2),2rem)]"></ul>');
|
|
4
|
+
function P(o, e) {
|
|
5
|
+
C(e, !0);
|
|
6
|
+
let t = N(e, "links", 7);
|
|
7
|
+
var r = ae();
|
|
8
|
+
return L(r, 21, t, z, (c, f) => {
|
|
9
|
+
let l = () => w(f).text, u = () => w(f).href;
|
|
10
|
+
var n = te(), i = s(n), g = s(i, !0);
|
|
11
|
+
a(i), a(n), V(() => {
|
|
12
|
+
k(i, "href", u()), m(g, l());
|
|
13
|
+
}), h(c, n);
|
|
14
|
+
}), a(r), h(o, r), M({
|
|
15
|
+
get links() {
|
|
16
|
+
return t();
|
|
17
|
+
},
|
|
18
|
+
set links(c) {
|
|
19
|
+
t(c), A();
|
|
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
|
+
b(P, { links: {} }, [], [], !0);
|
|
24
|
+
var re = E(`<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 G(o) {
|
|
42
|
+
var e = re();
|
|
43
|
+
h(o, e);
|
|
136
44
|
}
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
45
|
+
b(G, {}, [], [], !0);
|
|
46
|
+
var se = v('<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 I(o) {
|
|
48
|
+
var e = se(), t = s(e);
|
|
49
|
+
G(t), a(e), h(o, e);
|
|
141
50
|
}
|
|
142
|
-
|
|
143
|
-
|
|
51
|
+
b(I, {}, [], [], !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 oe = {
|
|
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
|
+
}, ie = {
|
|
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
|
-
},
|
|
65
|
+
}, ce = ie, ne = {
|
|
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
|
+
}, le = {
|
|
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
|
+
}, ue = {
|
|
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
|
+
}, fe = {
|
|
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
|
+
}, S = {
|
|
168
82
|
directory: "https://www.uoguelph.ca/web/socialmedia/",
|
|
169
83
|
links: [
|
|
170
84
|
{
|
|
171
85
|
text: "X",
|
|
172
|
-
icon:
|
|
86
|
+
icon: fe,
|
|
173
87
|
href: "https://twitter.com/uofg",
|
|
174
88
|
classes: "focus:text-[#1da1f2] hover:text-[#1da1f2]"
|
|
175
89
|
},
|
|
176
90
|
{
|
|
177
91
|
text: "Facebook",
|
|
178
|
-
icon:
|
|
92
|
+
icon: ce,
|
|
179
93
|
href: "https://www.facebook.com/uofguelph",
|
|
180
94
|
classes: "focus:text-[#4267b2] hover:text-[#4267b2]"
|
|
181
95
|
},
|
|
182
96
|
{
|
|
183
97
|
text: "Instagram",
|
|
184
|
-
icon:
|
|
98
|
+
icon: le,
|
|
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: ue,
|
|
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: ne,
|
|
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: oe,
|
|
203
117
|
href: "https://www.tiktok.com/@uofguelph",
|
|
204
118
|
classes: "focus:text-[#f00] hover:text-[#f00]"
|
|
205
119
|
}
|
|
206
120
|
]
|
|
207
|
-
},
|
|
121
|
+
}, he = [
|
|
208
122
|
{
|
|
209
123
|
text: "Accessibility",
|
|
210
|
-
icon:
|
|
124
|
+
icon: R,
|
|
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: O,
|
|
216
130
|
href: "https://www.uoguelph.ca/web/privacy/"
|
|
217
131
|
},
|
|
218
132
|
{
|
|
219
133
|
text: "Site Map",
|
|
220
|
-
icon:
|
|
134
|
+
icon: Y,
|
|
221
135
|
href: "https://www.uoguelph.ca/sitemap"
|
|
222
136
|
},
|
|
223
137
|
{
|
|
224
138
|
text: "Status Page",
|
|
225
|
-
icon:
|
|
139
|
+
icon: W,
|
|
226
140
|
href: "https://uoguelph.statuspage.io/"
|
|
227
141
|
},
|
|
228
142
|
{
|
|
229
143
|
text: "Land Acknowledgement",
|
|
230
|
-
icon:
|
|
144
|
+
icon: X,
|
|
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: B,
|
|
237
151
|
href: "https://careers.uoguelph.ca/"
|
|
238
152
|
},
|
|
239
153
|
{
|
|
240
154
|
text: "Undergraduate Calendar",
|
|
241
|
-
icon:
|
|
155
|
+
icon: H,
|
|
242
156
|
href: "https://www.uoguelph.ca/registrar/calendars/undergraduate/current/"
|
|
243
157
|
},
|
|
244
158
|
{
|
|
245
159
|
text: "Graduate Calendar",
|
|
246
|
-
icon:
|
|
160
|
+
icon: H,
|
|
247
161
|
href: "https://www.uoguelph.ca/registrar/calendars/graduate/current/"
|
|
248
162
|
},
|
|
249
163
|
{
|
|
250
164
|
text: "Program Plans",
|
|
251
|
-
icon:
|
|
165
|
+
icon: D,
|
|
252
166
|
href: "https://admission.uoguelph.ca/programs"
|
|
253
167
|
},
|
|
254
168
|
{
|
|
255
169
|
text: "Give to U of G",
|
|
256
|
-
icon:
|
|
170
|
+
icon: K,
|
|
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 de =
|
|
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();
|
|
461
|
-
}
|
|
462
|
-
},
|
|
463
|
-
i(c) {
|
|
464
|
-
if (!o) {
|
|
465
|
-
for (let f = 0; f < i.length; f += 1)
|
|
466
|
-
w(s[f]);
|
|
467
|
-
o = !0;
|
|
180
|
+
var de = v("<li><a><!></a></li>"), pe = v('<ul class="flex gap-3 text-2xl [&>li]:contents"></ul> <a class="w-fit underline decoration-transparent transition-colors focus:decoration-white hover:decoration-white">Social Media Directory</a>', 1);
|
|
181
|
+
function T(o, e) {
|
|
182
|
+
C(e, !1), F();
|
|
183
|
+
var t = pe(), r = Z(t);
|
|
184
|
+
L(r, 5, () => S.links, z, (f, l) => {
|
|
185
|
+
let u = () => w(l).href, n = () => w(l).text, i = () => w(l).icon, g = () => w(l).classes;
|
|
186
|
+
var d = de(), x = s(d), y = s(x);
|
|
187
|
+
J(y, {
|
|
188
|
+
get icon() {
|
|
189
|
+
return i();
|
|
468
190
|
}
|
|
469
|
-
},
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
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
|
-
};
|
|
191
|
+
}), a(x), a(d), V(() => {
|
|
192
|
+
k(x, "href", u()), k(x, "aria-label", n()), Q(x, `transition-colors ${g()}`);
|
|
193
|
+
}), h(f, d);
|
|
194
|
+
}), a(r);
|
|
195
|
+
var c = p(r, 2);
|
|
196
|
+
V(() => k(c, "href", S.directory)), h(o, t), M();
|
|
510
197
|
}
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
198
|
+
b(T, {}, [], [], !0);
|
|
199
|
+
var ve = v('<a class="w-fit underline decoration-transparent transition-colors focus:decoration-white hover:decoration-white" href="https://www.uoguelph.ca/web/"> </a>');
|
|
200
|
+
function U(o, e) {
|
|
201
|
+
C(e, !1), F();
|
|
202
|
+
var t = ve(), r = s(t);
|
|
203
|
+
V(() => m(r, `© ${(/* @__PURE__ */ new Date()).getFullYear() ?? ""} University of Guelph`)), a(t), h(o, t), M();
|
|
515
204
|
}
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
205
|
+
b(U, {}, [], [], !0);
|
|
206
|
+
var ge = v('<li><a class="w-fit underline decoration-transparent transition-colors focus:decoration-white hover:decoration-white"> </a></li>'), xe = v('<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 = xe(), t = s(e);
|
|
209
|
+
L(t, 5, () => he, z, (r, c) => {
|
|
210
|
+
let f = () => w(c).href, l = () => w(c).title, u = () => w(c).text;
|
|
211
|
+
var n = ge(), i = s(n), g = s(i, !0);
|
|
212
|
+
a(i), a(n), V(() => {
|
|
213
|
+
k(i, "href", f()), k(i, "title", l() ?? ""), m(g, u());
|
|
214
|
+
}), h(r, n);
|
|
215
|
+
}), a(t), a(e), h(o, e);
|
|
520
216
|
}
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
)
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
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
|
-
};
|
|
217
|
+
b(q, {}, [], [], !0);
|
|
218
|
+
var we = v('<address class="flex flex-col justify-between gap-4 not-italic"><strong> </strong> <span> </span> <span> </span> <span> </span> <a class="w-fit underline decoration-transparent transition-colors focus:decoration-blue-400 hover:decoration-blue-400 text-blue-400"> </a></address>');
|
|
219
|
+
function j(o, e) {
|
|
220
|
+
C(e, !1), F();
|
|
221
|
+
var t = we(), r = s(t), c = s(r, !0);
|
|
222
|
+
a(r);
|
|
223
|
+
var f = p(r, 2), l = s(f);
|
|
224
|
+
a(f);
|
|
225
|
+
var u = p(f, 2), n = s(u);
|
|
226
|
+
a(u);
|
|
227
|
+
var i = p(u, 2), g = s(i, !0);
|
|
228
|
+
a(i);
|
|
229
|
+
var d = p(i, 2), x = s(d, !0);
|
|
230
|
+
a(d), a(t), V(() => {
|
|
231
|
+
m(c, _.title), m(l, `${_.street},`), m(n, `${_.city}, Ontario, Canada`), m(g, _.postalCode), k(d, "href", `tel:${_.phoneNumber}`), m(x, _.phoneNumber);
|
|
232
|
+
}), h(o, t), M();
|
|
555
233
|
}
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
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));
|
|
234
|
+
b(j, {}, [], [], !0);
|
|
235
|
+
var me = v('<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>');
|
|
236
|
+
function be(o, e) {
|
|
237
|
+
C(e, !0);
|
|
238
|
+
let t = N(e, "subFooter", 7);
|
|
239
|
+
var r = me(), c = s(r);
|
|
240
|
+
{
|
|
241
|
+
var f = (y) => {
|
|
242
|
+
P(y, {
|
|
243
|
+
get links() {
|
|
244
|
+
return t();
|
|
590
245
|
}
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
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;
|
|
601
|
-
}
|
|
602
|
-
},
|
|
603
|
-
o(s) {
|
|
604
|
-
o = o.filter(Boolean);
|
|
605
|
-
for (let l = 0; l < o.length; l += 1)
|
|
606
|
-
v(o[l]);
|
|
607
|
-
t = !1;
|
|
608
|
-
},
|
|
609
|
-
d(s) {
|
|
610
|
-
s && x(e), G(o, s);
|
|
611
|
-
}
|
|
612
|
-
};
|
|
613
|
-
}
|
|
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 {
|
|
622
|
-
constructor(e) {
|
|
623
|
-
super(), L(this, e, qe, Te, F, {});
|
|
246
|
+
});
|
|
247
|
+
};
|
|
248
|
+
$(c, (y) => {
|
|
249
|
+
Array.isArray(t()) && t().length > 0 && y(f);
|
|
250
|
+
});
|
|
624
251
|
}
|
|
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);
|
|
252
|
+
var l = p(c, 2), u = s(l), n = s(u);
|
|
253
|
+
I(n);
|
|
254
|
+
var i = p(n, 2);
|
|
255
|
+
T(i, {});
|
|
256
|
+
var g = p(i, 2);
|
|
257
|
+
U(g, {}), a(u);
|
|
258
|
+
var d = p(u, 2);
|
|
259
|
+
q(d);
|
|
260
|
+
var x = p(d, 2);
|
|
261
|
+
return j(x, {}), a(l), a(r), h(o, r), M({
|
|
262
|
+
get subFooter() {
|
|
263
|
+
return t();
|
|
264
|
+
},
|
|
265
|
+
set subFooter(y) {
|
|
266
|
+
t(y), A();
|
|
651
267
|
}
|
|
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
|
-
}
|
|
268
|
+
});
|
|
754
269
|
}
|
|
755
|
-
customElements.define("uofg-footer",
|
|
270
|
+
customElements.define("uofg-footer", b(be, { subFooter: {} }, [], [], !0, (o) => class extends o {
|
|
756
271
|
constructor() {
|
|
757
|
-
super(),
|
|
272
|
+
super(), ee(this.shadowRoot);
|
|
758
273
|
}
|
|
759
274
|
connectedCallback() {
|
|
760
275
|
super.connectedCallback(), this.updateSubFooter(), this.observer ?? (this.observer = new MutationObserver(() => {
|
|
@@ -772,5 +287,5 @@ customElements.define("uofg-footer", N(We, { subFooter: {}, variant: { reflect:
|
|
|
772
287
|
}
|
|
773
288
|
}));
|
|
774
289
|
export {
|
|
775
|
-
|
|
290
|
+
be as default
|
|
776
291
|
};
|