@uoguelph/web-components 2.0.2 → 2.0.3-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.
@@ -1,48 +1,48 @@
1
- import { c as H, p as F, a as I, t as V, H as q, e as y, g as $, h as C, i as f, j as P, k as T, r as l, d as p, C as j, m as u, I as z, J as O, K as c1, L as h1, M as u1, N as f1, O as v1, P as d1, Q as E, R as p1, T as g1, U as A, F as w1, V as t1, W as m1, X as x1, Y as X, s as M, Z as J, _ as B, $ as K, w as U, a0 as Y, v as b1, u as Q, q as _1, b as k1 } from "./index-DRgQEdAt.js";
2
- import { o as y1 } from "./index-client-CgOvkiBi.js";
3
- import { c as R } from "./index-O5kp37c8.js";
4
- import { h as M1, i as D, s as V1 } from "./legacy-Djp4mfzG.js";
1
+ import { c as H, p as F, a as I, f as V, G as q, t as M, g as $, h as C, i as f, j as G, k as T, r as l, e as d, B as X, m as u, H as z, I as B, J as n1, K as c1, L as h1, M as u1, N as f1, O as v1, P as E, Q as d1, R as p1, T as A, F as g1, U as e1, V as w1, W as m1, X as W, s as y, Y as J, Z as j, _ as K, v as U, $ as Y, q as x1, a0 as b1, o as _1, b as k1 } from "./index-BC4Hvd0S.js";
2
+ import { o as y1 } from "./index-client-BZkvD-WT.js";
3
+ import { c as O } from "./index-v9RZCFpF.js";
4
+ import { h as M1, i as D, s as V1 } from "./legacy-FlcPgMaE.js";
5
5
  var L1 = V("<li><a> </a></li>"), z1 = V("<ul></ul>");
6
- function a1(g, t) {
7
- F(t, !0);
8
- let i = I(t, "links", 7);
9
- const n = R({
6
+ function t1(p, e) {
7
+ F(e, !0);
8
+ let i = I(e, "links", 7);
9
+ const n = O({
10
10
  slots: {
11
11
  base: "flex flex-wrap items-center justify-center bg-white p-3 px-[max(calc((100%-1320px)/2),2rem)]",
12
12
  item: "p-3",
13
13
  links: "text-blue decoration-transparent transition-all hover:text-blue-focus hover:underline hover:decoration-current focus:text-blue-focus focus:underline focus:decoration-current"
14
14
  }
15
- }), { base: x, item: c, links: h } = n();
15
+ }), { base: m, item: c, links: h } = n();
16
16
  var a = z1();
17
- return q(a, 21, i, O, (r, e) => {
18
- let d = () => u(e).text, o = () => u(e).href;
19
- var w = L1(), m = p(w), b = p(m, !0);
20
- l(m), l(w), y(
17
+ return q(a, 21, i, B, (o, t) => {
18
+ let s = () => u(t).text, k = () => u(t).href;
19
+ var g = L1(), w = d(g), x = d(w, !0);
20
+ l(w), l(g), M(
21
21
  (v, L) => {
22
- C(w, 1, v), C(m, 1, L), j(m, "href", o()), z(b, d());
22
+ C(g, 1, v), C(w, 1, L), X(w, "href", k()), z(x, s());
23
23
  },
24
24
  [
25
25
  () => $(c()),
26
26
  () => $(h())
27
27
  ]
28
- ), f(r, w);
29
- }), l(a), y((r) => C(a, 1, r), [() => $(x())]), f(g, a), P({
28
+ ), f(o, g);
29
+ }), l(a), M((o) => C(a, 1, o), [() => $(m())]), f(p, a), G({
30
30
  get links() {
31
31
  return i();
32
32
  },
33
- set links(r) {
34
- i(r), T();
33
+ set links(o) {
34
+ i(o), T();
35
35
  }
36
36
  });
37
37
  }
38
- H(a1, { links: {} }, [], [], !0);
38
+ H(t1, { links: {} }, [], [], !0);
39
39
  const $1 = '<svg xmlns="http://www.w3.org/2000/svg" id="Layer_1" data-name="Layer 1" viewBox="0 0 718 78.64"><defs><style>.cls-1{fill:#fff}</style></defs><path d="M0 77.58v-5.21l7.52-1.99V7.5L0 5.68V.47L26.03 0v5.22l-7.52 2.29V70.4l7.52 1.97v5.21zM90.52 77.58v-5.21l7.52-1.98V26.56l-.82-.2-17.14 33.59-7.08.45-16.46-34.03-.82.19v43.87l7.52 1.94v5.21H39.43v-5.21l7.52-1.96V18.26l-7.52-1.81v-5.21l21.36-.47L77.9 48.56l17.86-37.31 19.83-.47v5.21l-7.52 2.3v52.1l7.52 1.98v5.21zM128.98 77.58v-5.21l7.52-2V18.24l-7.52-1.79v-5.21l19.24-.47h9.44c5.11 0 9.35.88 12.62 2.6 3.25 1.72 5.7 4.11 7.29 7.1 1.6 3.01 2.41 6.51 2.41 10.4 0 4.21-.97 8.05-2.88 11.4-1.91 3.35-4.83 6-8.68 7.88-3.87 1.89-8.89 2.85-14.9 2.85h-6.02v17.43l9.64 1.96v5.19h-28.15Zm18.52-32.3h6.12c4.85 0 8.62-1.29 11.2-3.84 2.58-2.54 3.89-6.01 3.89-10.29 0-3.95-1.09-7.1-3.25-9.36s-5.4-3.41-9.62-3.41h-8.34v26.89ZM234 77.58l-8.66-18.45c-1.15-2.56-2.22-4.58-3.16-5.99-.98-1.45-2.21-2.47-3.67-3.05-1.29-.51-3.04-.76-5.22-.76-.25 0-.52 0-.78.01h-3.99v21.02l8.58 2.02v5.2h-27.09v-5.21l7.52-1.98V18.32l-7.52-1.86v-5.22l19.44-.47h10.02c7.38 0 13.03 1.56 16.79 4.63 3.73 3.05 5.63 7.51 5.63 13.25 0 5.26-1.63 9.63-4.85 13.01-2.5 2.62-6.15 4.46-10.86 5.46l-.03.84c.75.21 1.32.42 1.81.65 1.54.74 2.84 1.76 3.85 3.02 1.03 1.28 2.04 2.86 2.99 4.7l7.25 14.22 5.72 1.8v5.23h-13.75Zm-25.48-35.67h6.79c4.96 0 8.8-1.05 11.4-3.13 2.63-2.1 3.97-5.21 3.97-9.25 0-3.52-1.07-6.28-3.18-8.22-2.09-1.93-5.32-2.91-9.59-2.91h-9.4v23.52ZM287.04 78.64c-5.81 0-10.96-1.28-15.3-3.79-4.34-2.52-7.77-6.31-10.19-11.29-2.43-4.99-3.67-11.26-3.67-18.61 0-5.84.77-11.03 2.29-15.43 1.52-4.39 3.69-8.1 6.46-11.03 2.77-2.93 6.07-5.15 9.82-6.59 3.75-1.45 7.96-2.19 12.52-2.19s8.51.72 12.13 2.14c3.62 1.42 6.78 3.54 9.39 6.31 2.61 2.77 4.69 6.26 6.17 10.36 1.49 4.11 2.24 8.96 2.24 14.41 0 7.48-1.36 13.95-4.05 19.23-2.68 5.27-6.44 9.38-11.16 12.21-4.73 2.84-10.33 4.28-16.65 4.28ZM288.39 18c-3.47 0-6.67.86-9.52 2.57-2.87 1.71-5.13 4.56-6.73 8.45-1.59 3.85-2.4 9.08-2.4 15.54 0 6 .76 10.96 2.25 14.72 1.5 3.79 3.65 6.62 6.38 8.4 2.72 1.77 5.93 2.67 9.54 2.67s6.78-.9 9.63-2.67c2.86-1.77 5.18-4.66 6.92-8.58 1.72-3.9 2.59-9.15 2.59-15.6 0-6.01-.81-10.94-2.4-14.68-1.6-3.76-3.82-6.54-6.58-8.25-2.76-1.71-6.01-2.57-9.67-2.57ZM351.84 77.67l-20.08-59.58-6.6-1.63v-5.22l26.71-.46v5.2l-7.79 1.98 14.7 48.44 16.09-48.17-7.77-1.78v-5.21l24.29-.46v5.2l-6.5 1.77-21.13 59.92zM399.59 77.58v-5.21l7.51-1.98V18.28l-7.51-1.82v-5.22l18.76-.47h29.05v15.81h-6.34l-1.51-8.1H418.1v21.31h15.64l1.38-5.2h4.91v17.83h-4.91l-1.37-5.21H418.1v22.65h22.64l1.58-8.77h6.24l-.09 16.49zM482.44 77.58v-5.21l7.52-1.94V7.46l-7.52-1.78V.47L509.25 0v5.21l-8.29 2.23v62.42h24.01l1.8-10.8h6.24v18.52zM544.77 77.58v-5.21l7.51-1.99v-52.1l-7.51-1.83v-5.21l26.03-.46v5.21l-7.52 2.29v52.13l7.52 1.96v5.21zM584.19 77.58v-5.21l7.52-1.96V18.34l-7.52-1.88v-5.22l18.77-.47h28.38l.09 15.91h-6.34l-1.49-8.2h-20.89v21.79h15.13l1.35-5.06h4.9v17.82h-4.9l-1.33-5.05h-15.15V70.4l9.35 1.98v5.2zM641.17 77.58v-5.21l7.52-1.98V18.28l-7.52-1.82v-5.22l18.76-.47h29.06v15.81h-6.35l-1.51-8.1h-21.45v21.31h15.68l1.38-5.2h4.91v17.83h-4.91l-1.37-5.21h-15.69v22.65h22.64l1.58-8.77h6.24l-.09 16.49zM711.68 78.35c-1.93 0-3.5-.57-4.66-1.71-1.18-1.15-1.75-2.62-1.75-4.51s.63-3.35 1.93-4.5c1.31-1.16 2.78-1.72 4.49-1.72 1.93 0 3.48.57 4.61 1.7 1.13 1.13 1.71 2.65 1.71 4.52s-.62 3.35-1.88 4.5c-1.26 1.14-2.75 1.72-4.43 1.72Z" class="cls-1"/></svg>';
40
40
  var C1 = V('<a href="https://www.uoguelph.ca/improve-life" aria-label="Improve Life" class="row-span-2 flex h-[4.8rem] w-full overflow-hidden transition-opacity hover:opacity-75 focus:opacity-75 md:h-[3.5em] [&amp;>svg]:block [&amp;>svg]:h-full [&amp;>svg]:w-full [&amp;>svg]:max-w-[25rem]"><!></a>');
41
- function s1(g) {
42
- var t = C1(), i = p(t);
43
- M1(i, () => $1), l(t), f(g, t);
41
+ function a1(p) {
42
+ var e = C1(), i = d(e);
43
+ M1(i, () => $1), l(e), f(p, e);
44
44
  }
45
- H(s1, {}, [], [], !0);
45
+ H(a1, {}, [], [], !0);
46
46
  /*!
47
47
  * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
48
48
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
@@ -68,11 +68,11 @@ const H1 = {
68
68
  prefix: "fab",
69
69
  iconName: "instagram",
70
70
  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"]
71
- }, P1 = {
71
+ }, G1 = {
72
72
  prefix: "fab",
73
73
  iconName: "youtube",
74
74
  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"]
75
- }, r1 = {
75
+ }, s1 = {
76
76
  directory: "https://www.uoguelph.ca/web/socialmedia/",
77
77
  links: [
78
78
  {
@@ -95,7 +95,7 @@ const H1 = {
95
95
  },
96
96
  {
97
97
  text: "Youtube",
98
- icon: P1,
98
+ icon: G1,
99
99
  href: "https://www.youtube.com/user/uofguelph",
100
100
  classes: "focus:text-white hover:text-white focus:bg-[#ff0000] hover:bg-[#ff0000]"
101
101
  },
@@ -112,30 +112,30 @@ const H1 = {
112
112
  classes: "focus:text-black hover:text-black focus:bg-white hover:bg-white"
113
113
  }
114
114
  ]
115
- }, e1 = [
115
+ }, Q = [
116
116
  {
117
117
  text: "Accessibility",
118
- icon: c1,
118
+ icon: n1,
119
119
  href: "https://www.uoguelph.ca/diversity-human-rights/accessibility-u-g"
120
120
  },
121
121
  {
122
122
  text: "Privacy",
123
- icon: h1,
123
+ icon: c1,
124
124
  href: "https://www.uoguelph.ca/web/privacy/"
125
125
  },
126
126
  {
127
127
  text: "Site Map",
128
- icon: u1,
128
+ icon: h1,
129
129
  href: "https://www.uoguelph.ca/sitemap"
130
130
  },
131
131
  {
132
132
  text: "Status Page",
133
- icon: f1,
133
+ icon: u1,
134
134
  href: "https://uoguelph.statuspage.io/"
135
135
  },
136
136
  {
137
137
  text: "Land Acknowledgement",
138
- icon: v1,
138
+ icon: f1,
139
139
  href: "https://www.uoguelph.ca/land-acknowledgement/",
140
140
  attributes: {
141
141
  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."
@@ -143,7 +143,7 @@ const H1 = {
143
143
  },
144
144
  {
145
145
  text: "Careers",
146
- icon: d1,
146
+ icon: v1,
147
147
  href: "https://careers.uoguelph.ca/"
148
148
  },
149
149
  {
@@ -158,12 +158,12 @@ const H1 = {
158
158
  },
159
159
  {
160
160
  text: "Admission",
161
- icon: p1,
161
+ icon: d1,
162
162
  href: "https://uoguelph.ca/admission"
163
163
  },
164
164
  {
165
165
  text: "Give to U of G",
166
- icon: g1,
166
+ icon: p1,
167
167
  href: "https://www.alumni.uoguelph.ca/give-to-guelph/how-to-give"
168
168
  }
169
169
  ], N = {
@@ -173,40 +173,40 @@ const H1 = {
173
173
  postalCode: "N1G 2W1",
174
174
  phoneNumber: "519-824-4120"
175
175
  };
176
- var Z1 = V("<li><a><!></a></li>"), G1 = V("<ul></ul>");
177
- function o1(g, t) {
178
- F(t, !1);
179
- const i = R({
176
+ var P1 = V("<li><a><!></a></li>"), Z1 = V("<ul></ul>");
177
+ function r1(p, e) {
178
+ F(e, !1);
179
+ const i = O({
180
180
  slots: {
181
181
  base: "flex gap-2 text-lg [&>li]:contents",
182
182
  links: "p-0.5 transition-colors [&>*]:aspect-square"
183
183
  }
184
- }), { base: n, links: x } = i();
184
+ }), { base: n, links: m } = i();
185
185
  D();
186
- var c = G1();
187
- q(c, 5, () => r1.links, O, (h, a, r, e) => {
188
- let d = () => u(a).href, o = () => u(a).text, w = () => u(a).icon, m = () => u(a).classes;
189
- var b = Z1(), v = p(b), L = p(v);
190
- w1(L, {
186
+ var c = Z1();
187
+ q(c, 5, () => s1.links, B, (h, a, o, t) => {
188
+ let s = () => u(a).href, k = () => u(a).text, g = () => u(a).icon, w = () => u(a).classes;
189
+ var x = P1(), v = d(x), L = d(v);
190
+ g1(L, {
191
191
  get icon() {
192
- return w();
192
+ return g();
193
193
  }
194
- }), l(v), l(b), y(
195
- (s) => {
196
- j(v, "href", d()), j(v, "aria-label", o()), C(v, 1, s);
194
+ }), l(v), l(x), M(
195
+ (r) => {
196
+ X(v, "href", s()), X(v, "aria-label", k()), C(v, 1, r);
197
197
  },
198
198
  [
199
- () => $(t1(x(), m()))
199
+ () => $(e1(m(), w()))
200
200
  ],
201
201
  A
202
- ), f(h, b);
203
- }), l(c), y((h) => C(c, 1, h), [() => $(n())], A), f(g, c), P();
202
+ ), f(h, x);
203
+ }), l(c), M((h) => C(c, 1, h), [() => $(n())], A), f(p, c), G();
204
204
  }
205
- H(o1, {}, [], [], !0);
205
+ H(r1, {}, [], [], !0);
206
206
  var I1 = V("<a><!></a>");
207
- function S(g, t) {
208
- F(t, !0);
209
- let i = I(t, "href", 7), n = I(t, "label", 7), x = I(t, "children", 7), c = I(t, "class", 7), h = x1(t, [
207
+ function S(p, e) {
208
+ F(e, !0);
209
+ let i = I(e, "href", 7), n = I(e, "label", 7), m = I(e, "children", 7), c = I(e, "class", 7), h = m1(e, [
210
210
  "$$slots",
211
211
  "$$events",
212
212
  "$$legacy",
@@ -216,39 +216,39 @@ function S(g, t) {
216
216
  "children",
217
217
  "class"
218
218
  ]);
219
- const a = t1("w-fit underline decoration-transparent transition-colors hover:decoration-black-contrast focus:decoration-black-contrast", c());
220
- var r = I1();
221
- let e;
222
- var d = p(r);
223
- return V1(d, x), l(r), y(() => e = m1(r, e, {
219
+ const a = e1("w-fit underline decoration-transparent transition-colors hover:decoration-black-contrast focus:decoration-black-contrast", c());
220
+ var o = I1();
221
+ w1(o, () => ({
224
222
  ...h,
225
223
  class: a,
226
224
  href: i(),
227
225
  "aria-label": n() ?? void 0
228
- })), f(g, r), P({
226
+ }));
227
+ var t = d(o);
228
+ return V1(t, m), l(o), f(p, o), G({
229
229
  get href() {
230
230
  return i();
231
231
  },
232
- set href(o) {
233
- i(o), T();
232
+ set href(s) {
233
+ i(s), T();
234
234
  },
235
235
  get label() {
236
236
  return n();
237
237
  },
238
- set label(o) {
239
- n(o), T();
238
+ set label(s) {
239
+ n(s), T();
240
240
  },
241
241
  get children() {
242
- return x();
242
+ return m();
243
243
  },
244
- set children(o) {
245
- x(o), T();
244
+ set children(s) {
245
+ m(s), T();
246
246
  },
247
247
  get class() {
248
248
  return c();
249
249
  },
250
- set class(o) {
251
- c(o), T();
250
+ set class(s) {
251
+ c(s), T();
252
252
  }
253
253
  });
254
254
  }
@@ -265,203 +265,207 @@ H(
265
265
  !0
266
266
  );
267
267
  var T1 = V("<li><!></li>"), U1 = V("<li><!></li>"), Y1 = V("<ul></ul> <ul></ul>", 1);
268
- function l1(g, t) {
269
- F(t, !1);
270
- const i = R({
268
+ function o1(p, e) {
269
+ F(e, !1);
270
+ const i = O({
271
271
  slots: {
272
272
  list: "grid grid-rows-5 items-center gap-0 not-italic",
273
273
  link: "flex h-full items-center"
274
274
  }
275
- }), { list: n, link: x } = i();
275
+ }), { list: n, link: m } = i();
276
276
  D();
277
- var c = Y1(), h = X(c);
278
- q(h, 5, () => e1, O, (r, e, d) => {
279
- let o = () => u(e).href, w = () => u(e).attributes, m = () => u(e).text;
280
- var b = J(), v = X(b);
277
+ var c = Y1(), h = W(c);
278
+ q(h, 5, () => Q, B, (o, t, s) => {
279
+ let k = () => u(t).href, g = () => u(t).attributes, w = () => u(t).text;
280
+ var x = J(), v = W(x);
281
281
  {
282
- var L = (s) => {
283
- var _ = T1(), k = p(_);
284
- const Z = A(x);
285
- S(k, K(
282
+ var L = (r) => {
283
+ var b = T1(), _ = d(b);
284
+ const P = A(m);
285
+ S(_, K(
286
286
  {
287
287
  get class() {
288
- return u(Z);
288
+ return u(P);
289
289
  },
290
290
  get href() {
291
- return o();
291
+ return k();
292
292
  }
293
293
  },
294
- w,
294
+ g,
295
295
  {
296
- children: (W, n1) => {
296
+ children: (R, i1) => {
297
297
  U();
298
- var G = Y();
299
- y(() => z(G, m())), f(W, G);
298
+ var Z = Y();
299
+ M(() => z(Z, w())), f(R, Z);
300
300
  },
301
301
  $$slots: { default: !0 }
302
302
  }
303
- )), l(_), f(s, _);
303
+ )), l(b), f(r, b);
304
304
  };
305
- B(v, (s) => {
306
- d % 2 === 0 && s(L);
305
+ j(v, (r) => {
306
+ s % 2 === 0 && r(L);
307
307
  });
308
308
  }
309
- f(r, b);
309
+ f(o, x);
310
310
  }), l(h);
311
- var a = M(h, 2);
312
- q(a, 5, () => e1, O, (r, e, d) => {
313
- let o = () => u(e).href, w = () => u(e).attributes, m = () => u(e).text;
314
- var b = J(), v = X(b);
311
+ var a = y(h, 2);
312
+ q(a, 5, () => Q, B, (o, t, s) => {
313
+ let k = () => u(t).href, g = () => u(t).attributes, w = () => u(t).text;
314
+ var x = J(), v = W(x);
315
315
  {
316
- var L = (s) => {
317
- var _ = U1(), k = p(_);
318
- const Z = A(x);
319
- S(k, K(
316
+ var L = (r) => {
317
+ var b = U1(), _ = d(b);
318
+ const P = A(m);
319
+ S(_, K(
320
320
  {
321
321
  get class() {
322
- return u(Z);
322
+ return u(P);
323
323
  },
324
324
  get href() {
325
- return o();
325
+ return k();
326
326
  }
327
327
  },
328
- w,
328
+ g,
329
329
  {
330
- children: (W, n1) => {
330
+ children: (R, i1) => {
331
331
  U();
332
- var G = Y();
333
- y(() => z(G, m())), f(W, G);
332
+ var Z = Y();
333
+ M(() => z(Z, w())), f(R, Z);
334
334
  },
335
335
  $$slots: { default: !0 }
336
336
  }
337
- )), l(_), f(s, _);
337
+ )), l(b), f(r, b);
338
338
  };
339
- B(v, (s) => {
340
- d % 2 !== 0 && s(L);
339
+ j(v, (r) => {
340
+ s % 2 !== 0 && r(L);
341
341
  });
342
342
  }
343
- f(r, b);
344
- }), l(a), y(
345
- (r, e) => {
346
- C(h, 1, r), C(a, 1, e);
343
+ f(o, x);
344
+ }), l(a), M(
345
+ (o, t) => {
346
+ C(h, 1, o), C(a, 1, t);
347
347
  },
348
348
  [
349
349
  () => $(n()),
350
350
  () => $(n())
351
351
  ],
352
352
  A
353
- ), f(g, c), P();
353
+ ), f(p, c), G();
354
354
  }
355
- H(l1, {}, [], [], !0);
355
+ H(o1, {}, [], [], !0);
356
356
  var q1 = V('<address class="mt-6 grid grid-rows-5 items-center gap-0 not-italic md:col-[2] md:row-[1] md:mt-0 lg:col-[4] lg:row-[1]"><strong> </strong> <span> </span> <span> </span> <span> </span> <!></address>');
357
- function i1(g, t) {
358
- F(t, !1), D();
359
- var i = q1(), n = p(i), x = p(n, !0);
357
+ function l1(p, e) {
358
+ F(e, !1), D();
359
+ var i = q1(), n = d(i), m = d(n, !0);
360
360
  l(n);
361
- var c = M(n, 2), h = p(c);
361
+ var c = y(n, 2), h = d(c);
362
362
  l(c);
363
- var a = M(c, 2), r = p(a);
363
+ var a = y(c, 2), o = d(a);
364
364
  l(a);
365
- var e = M(a, 2), d = p(e, !0);
366
- l(e);
367
- var o = M(e, 2);
368
- const w = A(() => `tel:${N.phoneNumber}`);
369
- S(o, {
365
+ var t = y(a, 2), s = d(t, !0);
366
+ l(t);
367
+ var k = y(t, 2);
368
+ const g = A(() => `tel:${N.phoneNumber}`);
369
+ S(k, {
370
370
  get href() {
371
- return u(w);
371
+ return u(g);
372
372
  },
373
- children: (m, b) => {
373
+ children: (w, x) => {
374
374
  U();
375
375
  var v = Y();
376
- y(() => z(v, N.phoneNumber)), f(m, v);
376
+ M(() => z(v, N.phoneNumber)), f(w, v);
377
377
  },
378
378
  $$slots: { default: !0 }
379
- }), l(i), y(() => {
380
- z(x, N.title), z(h, `${N.street},`), z(r, `${N.city}, Ontario, Canada`), z(d, N.postalCode);
381
- }), f(g, i), P();
379
+ }), l(i), M(() => {
380
+ z(m, N.title), z(h, `${N.street},`), z(o, `${N.city}, Ontario, Canada`), z(s, N.postalCode);
381
+ }), f(p, i), G();
382
382
  }
383
- H(i1, {}, [], [], !0);
384
- var O1 = V("<footer><!> <div><div><!> <!> <!> <!></div> <!> <!></div></footer>");
385
- function R1(g, t) {
386
- F(t, !0);
387
- const i = R({
383
+ H(l1, {}, [], [], !0);
384
+ var B1 = V("<footer><!> <div><div><!> <!> <!> <!></div> <!> <!></div></footer>");
385
+ function O1(p, e) {
386
+ F(e, !0);
387
+ const i = O({
388
388
  slots: {
389
389
  footer: "flex flex-col content-center gap-0 bg-black px-[max(calc((100%-1320px)/2),2rem)] py-12 text-black-contrast md:grid md:grid-cols-2 md:gap-6 lg:grid-cols-4",
390
390
  wrapper: "mb-6 grid grid-rows-5 items-center gap-0 not-italic md:mb-0"
391
391
  }
392
392
  });
393
- let n = b1(Q([]));
393
+ let n = x1(b1([]));
394
394
  y1(() => {
395
- const s = () => {
396
- _1(n, Q(Array.from(t.$$host.children).filter((k) => k.tagName === "A").map((k) => ({
397
- text: k.textContent ?? "",
398
- href: k.getAttribute("href") ?? ""
399
- }))));
395
+ const r = () => {
396
+ _1(
397
+ n,
398
+ Array.from(e.$$host.children).filter((_) => _.tagName === "A").map((_) => ({
399
+ text: _.textContent ?? "",
400
+ href: _.getAttribute("href") ?? ""
401
+ })),
402
+ !0
403
+ );
400
404
  };
401
- s();
402
- const _ = new MutationObserver(s);
403
- return _.observe(t.$$host, { childList: !0, subtree: !0 }), () => {
404
- _.disconnect();
405
+ r();
406
+ const b = new MutationObserver(r);
407
+ return b.observe(e.$$host, { childList: !0, subtree: !0 }), () => {
408
+ b.disconnect();
405
409
  };
406
410
  });
407
- const { footer: x, wrapper: c } = i();
408
- var h = O1(), a = p(h);
411
+ const { footer: m, wrapper: c } = i();
412
+ var h = B1(), a = d(h);
409
413
  {
410
- var r = (s) => {
411
- a1(s, {
414
+ var o = (r) => {
415
+ t1(r, {
412
416
  get links() {
413
417
  return u(n);
414
418
  }
415
419
  });
416
420
  };
417
- B(a, (s) => {
418
- Array.isArray(u(n)) && u(n).length > 0 && s(r);
421
+ j(a, (r) => {
422
+ Array.isArray(u(n)) && u(n).length > 0 && r(o);
419
423
  });
420
424
  }
421
- var e = M(a, 2), d = p(e), o = p(d);
422
- s1(o);
423
- var w = M(o, 2);
424
- o1(w, {});
425
- var m = M(w, 2);
426
- S(m, {
425
+ var t = y(a, 2), s = d(t), k = d(s);
426
+ a1(k);
427
+ var g = y(k, 2);
428
+ r1(g, {});
429
+ var w = y(g, 2);
430
+ S(w, {
427
431
  get href() {
428
- return r1.directory;
432
+ return s1.directory;
429
433
  },
430
- children: (s, _) => {
434
+ children: (r, b) => {
431
435
  U();
432
- var k = Y("Social Media Directory");
433
- f(s, k);
436
+ var _ = Y("Social Media Directory");
437
+ f(r, _);
434
438
  },
435
439
  $$slots: { default: !0 }
436
440
  });
437
- var b = M(m, 2);
438
- S(b, {
441
+ var x = y(w, 2);
442
+ S(x, {
439
443
  href: "https://www.uoguelph.ca/web/",
440
- children: (s, _) => {
444
+ children: (r, b) => {
441
445
  U();
442
- var k = Y();
443
- y((Z) => z(k, `© ${Z ?? ""} University of Guelph`), [() => (/* @__PURE__ */ new Date()).getFullYear()]), f(s, k);
446
+ var _ = Y();
447
+ M((P) => z(_, `© ${P ?? ""} University of Guelph`), [() => (/* @__PURE__ */ new Date()).getFullYear()]), f(r, _);
444
448
  },
445
449
  $$slots: { default: !0 }
446
- }), l(d);
447
- var v = M(d, 2);
448
- l1(v, {});
449
- var L = M(v, 2);
450
- i1(L, {}), l(e), l(h), y(
451
- (s, _) => {
452
- C(e, 1, s), C(d, 1, _);
450
+ }), l(s);
451
+ var v = y(s, 2);
452
+ o1(v, {});
453
+ var L = y(v, 2);
454
+ l1(L, {}), l(t), l(h), M(
455
+ (r, b) => {
456
+ C(t, 1, r), C(s, 1, b);
453
457
  },
454
458
  [
455
- () => $(x()),
459
+ () => $(m()),
456
460
  () => $(c())
457
461
  ]
458
- ), f(g, h), P();
462
+ ), f(p, h), G();
459
463
  }
460
- customElements.define("uofg-footer", H(R1, {}, [], [], !0, (g) => class extends g {
464
+ customElements.define("uofg-footer", H(O1, {}, [], [], !0, (p) => class extends p {
461
465
  constructor() {
462
466
  super(), k1(this.shadowRoot);
463
467
  }
464
468
  }));
465
469
  export {
466
- R1 as default
470
+ O1 as default
467
471
  };