@uoguelph/web-components 1.9.0-rc.11 → 1.9.0-rc.2

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.
@@ -1,355 +1,275 @@
1
- import { c as m, p as z, a as C, J as S, b as _, d as h, K as I, e as N, h as L, f as x, E as F, L as b, l as v, j as l, r as s, M as X, N as Z, O as q, P as B, Q as J, R as K, T as Q, U as T, V as ee, W as te, F as ae, s as re, X as U, n as se, o as oe, Y as A, z as H, k as g, Z as ie, i as ne } from "./bundle-mjs-BDxvNl4x.js";
2
- import { i as $, s as le } from "./legacy-CiXHZGcB.js";
3
- var ce = x('<li class="p-3"><a class="transition-all decoration-transparent text-blue hover:text-blue-focus focus:text-blue-focus hover:underline focus:underline hover:decoration-current focus:decoration-current"> </a></li>'), ue = x('<ul class="flex flex-wrap items-center justify-center bg-white p-3 px-[max(calc((100%-1320px)/2),2rem)]"></ul>');
4
- function E(i, e) {
5
- z(e, !0);
6
- let t = C(e, "links", 7);
7
- var o = ue();
8
- return S(o, 21, t, I, (r, c) => {
9
- let n = () => v(c).text, f = () => v(c).href;
10
- var a = ce(), u = l(a), d = l(u, !0);
11
- s(u), s(a), _(() => {
12
- F(u, "href", f()), b(d, n());
13
- }), h(r, a);
14
- }), s(o), h(i, o), N({
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-DIJ3TSNu.js";
2
+ import { i as F } from "./legacy-CLcTMzH8.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
15
  get links() {
16
16
  return t();
17
17
  },
18
- set links(r) {
19
- t(r), L();
18
+ set links(c) {
19
+ t(c), A();
20
20
  }
21
21
  });
22
22
  }
23
- m(E, { links: {} }, [], [], !0);
24
- var fe = X(`<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 718.9 79.5"><defs><style>.st0 {
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;
26
+ }
27
+
28
+ .cls-2 {
25
29
  fill: #fff;
26
30
  font-family: MyriadPro-Regular, 'Myriad Pro';
27
- font-size: 44.3px;
31
+ font-size: 44.28px;
28
32
  }
29
33
 
30
- .st0, .st1 {
31
- isolation: isolate;
34
+ .cls-3 {
35
+ letter-spacing: 0em;
32
36
  }
33
37
 
34
- .st2 {
35
- fill: #221f20;
36
- }
37
-
38
- .st3 {
38
+ .cls-4 {
39
39
  fill: #e51937;
40
- }</style></defs><g><rect class="st2" x="1.5" y="1.5" width="715.9" height="76.5"></rect><path class="st3" d="M715.9,3v73.5H3V3h712.9M718.9,0H0v79.5h718.9V0h0Z"></path></g><g class="st1"><text class="st0" transform="translate(107.3 54.3)"><tspan x="0" y="0">IMP</tspan></text><text class="st0" transform="translate(177 54.3)"><tspan x="0" y="0">R</tspan></text><text class="st0" transform="translate(201 54.3)"><tspan x="0" y="0">OVE LIFE NO PADDING</tspan></text></g></svg>`);
41
- function O(i) {
42
- var e = fe();
43
- h(i, e);
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);
44
44
  }
45
- m(O, {}, [], [], !0);
46
- var he = x('<a href="https://www.uoguelph.ca/improve-life" aria-label="Improve Life" class="flex transition-opacity md:h-[3.5em] focus:opacity-75 hover:opacity-75 [&amp;>svg]:block [&amp;>svg]:w-full"><!></a>');
47
- function R(i) {
48
- var e = he(), t = l(e);
49
- O(t), s(e), h(i, e);
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 [&amp;>svg]:block [&amp;>svg]:w-full"><!></a>');
47
+ function I(o) {
48
+ var e = se(), t = s(e);
49
+ G(t), a(e), h(o, e);
50
50
  }
51
- m(R, {}, [], [], !0);
51
+ b(I, {}, [], [], !0);
52
52
  /*!
53
53
  * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
54
54
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
55
55
  * Copyright 2024 Fonticons, Inc.
56
56
  */
57
- const de = {
58
- prefix: "fab",
59
- iconName: "linkedin-in",
60
- icon: [448, 512, [], "f0e1", "M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"]
61
- }, pe = {
62
- prefix: "fab",
63
- iconName: "facebook-f",
64
- icon: [320, 512, [], "f39e", "M80 299.3V512H196V299.3h86.5l18-97.8H196V166.9c0-51.7 20.3-71.5 72.7-71.5c16.3 0 29.4 .4 37 1.2V7.9C291.4 4 256.4 0 236.2 0C129.3 0 80 50.5 80 159.4v42.1H14v97.8H80z"]
65
- }, ve = {
66
- prefix: "fab",
67
- iconName: "x-twitter",
68
- icon: [512, 512, [], "e61b", "M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"]
69
- }, ge = {
57
+ const oe = {
70
58
  prefix: "fab",
71
59
  iconName: "tiktok",
72
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"]
73
- }, xe = {
61
+ }, ie = {
62
+ prefix: "fab",
63
+ iconName: "square-facebook",
64
+ icon: [448, 512, ["facebook-square"], "f082", "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64h98.2V334.2H109.4V256h52.8V222.3c0-87.1 39.4-127.5 125-127.5c16.2 0 44.2 3.2 55.7 6.4V172c-6-.6-16.5-1-29.6-1c-42 0-58.2 15.9-58.2 57.2V256h83.6l-14.4 78.2H255V480H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64z"]
65
+ }, ce = ie, ne = {
66
+ prefix: "fab",
67
+ iconName: "linkedin",
68
+ icon: [448, 512, [], "f08c", "M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"]
69
+ }, le = {
74
70
  prefix: "fab",
75
71
  iconName: "instagram",
76
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"]
77
- }, we = {
73
+ }, ue = {
78
74
  prefix: "fab",
79
75
  iconName: "youtube",
80
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"]
81
- }, D = {
77
+ }, fe = {
78
+ prefix: "fab",
79
+ iconName: "square-x-twitter",
80
+ icon: [448, 512, [], "e61a", "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm297.1 84L257.3 234.6 379.4 396H283.8L209 298.1 123.3 396H75.8l111-126.9L69.7 116h98l67.7 89.5L313.6 116h47.5zM323.3 367.6L153.4 142.9H125.1L296.9 367.6h26.3z"]
81
+ }, S = {
82
82
  directory: "https://www.uoguelph.ca/web/socialmedia/",
83
83
  links: [
84
84
  {
85
85
  text: "X",
86
- icon: ve,
86
+ icon: fe,
87
87
  href: "https://twitter.com/uofg",
88
- classes: "focus:text-black hover:text-black focus:bg-white hover:bg-white"
88
+ classes: "focus:text-[#1da1f2] hover:text-[#1da1f2]"
89
89
  },
90
90
  {
91
91
  text: "Facebook",
92
- icon: pe,
92
+ icon: ce,
93
93
  href: "https://www.facebook.com/uofguelph",
94
- classes: "focus:text-white hover:text-white focus:bg-[#0866ff] hover:bg-[#0866ff]"
94
+ classes: "focus:text-[#4267b2] hover:text-[#4267b2]"
95
95
  },
96
96
  {
97
97
  text: "Instagram",
98
- icon: xe,
98
+ icon: le,
99
99
  href: "https://www.instagram.com/uofguelph/",
100
- classes: "focus:text-white hover:text-white focus:bg-[#d62976] hover:bg-[#d62976]"
100
+ classes: "focus:text-[#e1306c] hover:text-[#e1306c]"
101
101
  },
102
102
  {
103
103
  text: "Youtube",
104
- icon: we,
104
+ icon: ue,
105
105
  href: "https://www.youtube.com/user/uofguelph",
106
- classes: "focus:text-white hover:text-white focus:bg-[#ff0000] hover:bg-[#ff0000]"
106
+ classes: "focus:text-[#f00] hover:text-[#f00]"
107
107
  },
108
108
  {
109
109
  text: "LinkedIn",
110
- icon: de,
110
+ icon: ne,
111
111
  href: "https://www.linkedin.com/school/university-of-guelph/",
112
- classes: "focus:text-white hover:text-white focus:bg-[#0a66c2] hover:bg-[#0a66c2]"
112
+ classes: "focus:text-[#0077b5] hover:text-[#0077b5]"
113
113
  },
114
114
  {
115
115
  text: "TikTok",
116
- icon: ge,
116
+ icon: oe,
117
117
  href: "https://www.tiktok.com/@uofguelph",
118
- classes: "focus:text-black hover:text-black focus:bg-white hover:bg-white"
118
+ classes: "focus:text-[#f00] hover:text-[#f00]"
119
119
  }
120
120
  ]
121
- }, be = [
121
+ }, he = [
122
122
  {
123
123
  text: "Accessibility",
124
- icon: Z,
124
+ icon: R,
125
125
  href: "https://www.uoguelph.ca/diversity-human-rights/accessibility-u-g"
126
126
  },
127
127
  {
128
128
  text: "Privacy",
129
- icon: q,
129
+ icon: O,
130
130
  href: "https://www.uoguelph.ca/web/privacy/"
131
131
  },
132
132
  {
133
133
  text: "Site Map",
134
- icon: B,
134
+ icon: Y,
135
135
  href: "https://www.uoguelph.ca/sitemap"
136
136
  },
137
137
  {
138
138
  text: "Status Page",
139
- icon: J,
139
+ icon: W,
140
140
  href: "https://uoguelph.statuspage.io/"
141
141
  },
142
142
  {
143
143
  text: "Land Acknowledgement",
144
- icon: K,
144
+ icon: X,
145
145
  href: "https://www.uoguelph.ca/land-acknowledgement/",
146
146
  title: "The University of Guelph resides on the treaty lands and territory of the Mississaugas of the Credit. We recognize that today this gathering place is home to many First Nations, Inuit and Métis peoples and acknowledging them reminds us of our collective responsibility to the land where we learn and work."
147
147
  },
148
148
  {
149
149
  text: "Careers",
150
- icon: Q,
150
+ icon: B,
151
151
  href: "https://careers.uoguelph.ca/"
152
152
  },
153
153
  {
154
154
  text: "Undergraduate Calendar",
155
- icon: T,
155
+ icon: H,
156
156
  href: "https://www.uoguelph.ca/registrar/calendars/undergraduate/current/"
157
157
  },
158
158
  {
159
159
  text: "Graduate Calendar",
160
- icon: T,
160
+ icon: H,
161
161
  href: "https://www.uoguelph.ca/registrar/calendars/graduate/current/"
162
162
  },
163
163
  {
164
- text: "Admission",
165
- icon: ee,
166
- href: "https://uoguelph.ca/admission"
164
+ text: "Program Plans",
165
+ icon: D,
166
+ href: "https://admission.uoguelph.ca/programs"
167
167
  },
168
168
  {
169
169
  text: "Give to U of G",
170
- icon: te,
170
+ icon: K,
171
171
  href: "https://www.alumni.uoguelph.ca/give-to-guelph/how-to-give"
172
172
  }
173
- ], M = {
173
+ ], _ = {
174
174
  title: "University of Guelph",
175
175
  street: "50 Stone Road East",
176
176
  city: "Guelph",
177
177
  postalCode: "N1G 2W1",
178
178
  phoneNumber: "519-824-4120"
179
179
  };
180
- var me = x("<li><a><!></a></li>"), ke = x('<ul class="flex gap-2 text-xl [&amp;>li]:contents"></ul>');
181
- function Y(i, e) {
182
- z(e, !1), $();
183
- var t = ke();
184
- S(t, 5, () => D.links, I, (o, r) => {
185
- let c = () => v(r).href, n = () => v(r).text, f = () => v(r).icon, a = () => v(r).classes;
186
- var u = me(), d = l(u);
187
- const k = U(() => se(oe("border border-current transition-colors focus:border-transparent hover:border-transparent p-1 [&>*]:aspect-square", a())));
188
- var w = l(d);
189
- ae(w, {
180
+ var de = v("<li><a><!></a></li>"), pe = v('<ul class="flex gap-3 text-2xl [&amp;>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, {
190
188
  get icon() {
191
- return f();
189
+ return i();
192
190
  }
193
- }), s(d), s(u), _(() => {
194
- F(d, "href", c()), F(d, "aria-label", n()), re(d, v(k));
195
- }), h(o, u);
196
- }), s(t), h(i, t), N();
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();
197
197
  }
198
- m(Y, {}, [], [], !0);
199
- var ye = x('<a class="w-fit underline decoration-transparent transition-colors focus:decoration-black-contrast hover:decoration-black-contrast"><!></a>');
200
- function V(i, e) {
201
- z(e, !0);
202
- let t = C(e, "href", 7), o = C(e, "label", 7), r = C(e, "title", 7), c = C(e, "children", 7);
203
- var n = ye(), f = l(n);
204
- return le(f, c), s(n), _(() => {
205
- F(n, "href", t()), F(n, "title", r() ?? void 0), F(n, "aria-label", o() ?? void 0);
206
- }), h(i, n), N({
207
- get href() {
208
- return t();
209
- },
210
- set href(a) {
211
- t(a), L();
212
- },
213
- get label() {
214
- return o();
215
- },
216
- set label(a) {
217
- o(a), L();
218
- },
219
- get title() {
220
- return r();
221
- },
222
- set title(a) {
223
- r(a), L();
224
- },
225
- get children() {
226
- return c();
227
- },
228
- set children(a) {
229
- c(a), L();
230
- }
231
- });
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();
232
204
  }
233
- m(
234
- V,
235
- {
236
- href: {},
237
- label: {},
238
- title: {},
239
- children: {}
240
- },
241
- [],
242
- [],
243
- !0
244
- );
245
- var _e = x("<li><!></li>"), Me = x('<div class="flex justify-center md:col-span-2 md:row-start-2 lg:row-auto"><ul class="w-full flex flex-col gap-y-1 gap-x-6 md:grid md:grid-cols-2 [&amp;>li]:contents"></ul></div>');
246
- function j(i) {
247
- var e = Me(), t = l(e);
248
- S(t, 5, () => be, I, (o, r) => {
249
- let c = () => v(r).href, n = () => v(r).title, f = () => v(r).text;
250
- var a = _e(), u = l(a);
251
- V(u, {
252
- get href() {
253
- return c();
254
- },
255
- get title() {
256
- return n();
257
- },
258
- children: (d, k) => {
259
- H();
260
- var w = A();
261
- _(() => b(w, f())), h(d, w);
262
- },
263
- $$slots: { default: !0 }
264
- }), s(a), h(o, a);
265
- }), s(t), s(e), h(i, e);
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 [&amp;>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);
266
216
  }
267
- m(j, {}, [], [], !0);
268
- var Ce = x('<address class="flex flex-col gap-1 not-italic"><strong> </strong> <span> </span> <span> </span> <span> </span> <div class="flex items-center h-full"><!></div></address>');
269
- function W(i, e) {
270
- z(e, !1), $();
271
- var t = Ce(), o = l(t), r = l(o, !0);
272
- s(o);
273
- var c = g(o, 2), n = l(c);
274
- s(c);
275
- var f = g(c, 2), a = l(f);
276
- s(f);
277
- var u = g(f, 2), d = l(u, !0);
278
- s(u);
279
- var k = g(u, 2), w = l(k), P = U(() => `tel:${M.phoneNumber}`);
280
- V(w, {
281
- get href() {
282
- return v(P);
283
- },
284
- children: (p, G) => {
285
- H();
286
- var y = A();
287
- _(() => b(y, M.phoneNumber)), h(p, y);
288
- },
289
- $$slots: { default: !0 }
290
- }), s(k), s(t), _(() => {
291
- b(r, M.title), b(n, `${M.street},`), b(a, `${M.city}, Ontario, Canada`), b(d, M.postalCode);
292
- }), h(i, t), N();
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();
293
233
  }
294
- m(W, {}, [], [], !0);
295
- var Le = x('<footer><!> <div class="flex flex-col content-center gap-6 bg-black px-[max(calc((100%-1320px)/2),2rem)] py-12 text-black-contrast md:grid md:grid-cols-2 lg:grid-cols-4"><div class="flex flex-col gap-1"><!> <!> <!> <!></div> <!> <!></div></footer>');
296
- function Fe(i, e) {
297
- z(e, !0);
298
- let t = C(e, "subFooter", 7);
299
- var o = Le(), r = l(o);
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);
300
240
  {
301
- var c = (p) => {
302
- E(p, {
241
+ var f = (y) => {
242
+ P(y, {
303
243
  get links() {
304
244
  return t();
305
245
  }
306
246
  });
307
247
  };
308
- ie(r, (p) => {
309
- Array.isArray(t()) && t().length > 0 && p(c);
248
+ $(c, (y) => {
249
+ Array.isArray(t()) && t().length > 0 && y(f);
310
250
  });
311
251
  }
312
- var n = g(r, 2), f = l(n), a = l(f);
313
- R(a);
314
- var u = g(a, 2);
315
- Y(u, {});
316
- var d = g(u, 2);
317
- V(d, {
318
- get href() {
319
- return D.directory;
320
- },
321
- children: (p, G) => {
322
- H();
323
- var y = A("Social Media Directory");
324
- h(p, y);
325
- },
326
- $$slots: { default: !0 }
327
- });
328
- var k = g(d, 2);
329
- V(k, {
330
- href: "https://www.uoguelph.ca/web/",
331
- children: (p, G) => {
332
- H();
333
- var y = A();
334
- _(() => b(y, `© ${(/* @__PURE__ */ new Date()).getFullYear() ?? ""} University of Guelph`)), h(p, y);
335
- },
336
- $$slots: { default: !0 }
337
- }), s(f);
338
- var w = g(f, 2);
339
- j(w);
340
- var P = g(w, 2);
341
- return W(P, {}), s(n), s(o), h(i, o), N({
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({
342
262
  get subFooter() {
343
263
  return t();
344
264
  },
345
- set subFooter(p) {
346
- t(p), L();
265
+ set subFooter(y) {
266
+ t(y), A();
347
267
  }
348
268
  });
349
269
  }
350
- customElements.define("uofg-footer", m(Fe, { subFooter: {} }, [], [], !0, (i) => class extends i {
270
+ customElements.define("uofg-footer", b(be, { subFooter: {} }, [], [], !0, (o) => class extends o {
351
271
  constructor() {
352
- super(), ne(this.shadowRoot);
272
+ super(), ee(this.shadowRoot);
353
273
  }
354
274
  connectedCallback() {
355
275
  super.connectedCallback(), this.updateSubFooter(), this.observer ?? (this.observer = new MutationObserver(() => {
@@ -367,5 +287,5 @@ customElements.define("uofg-footer", m(Fe, { subFooter: {} }, [], [], !0, (i) =>
367
287
  }
368
288
  }));
369
289
  export {
370
- Fe as default
290
+ be as default
371
291
  };