@uoguelph/web-components 2.0.8 → 2.0.9-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.
@@ -1,46 +1,40 @@
1
- import { c as H, p as S, a as G, f as V, G as q, t as y, g as z, h as L, i as f, j as I, k as P, r, e as v, B as U, m as h, H as A, I as O, J as c1, K as n1, L as h1, M as f1, N as u1, O as v1, P as E, Q as d1, R as p1, T as F, F as g1, U as e1, V as X, s as M, W as J, X as j, Y as K, v as B, Z as Y, q as m1, _ as w1, o as x1, b as b1 } from "./index-CEFM1xyC.js";
2
- import { o as k1 } from "./index-client-Cf3Y5mtB.js";
3
- import { c as R } from "./index-C6ZIYhZ_.js";
4
- import { h as _1, i as D, s as y1 } from "./legacy-eE7eSuBp.js";
1
+ import { c as H, p as S, a as P, b as E, f as V, e as q, d as p, r as o, t as y, g as z, s as L, h as Z, i as f, j as $, k as u, l as D, m as F, n as T, o as i1, q as n1, u as h1, v as f1, w as u1, x as v1, y as d1, z as K, A as p1, B as g1, C as J, F as w1, D as e1, E as m1, G as R, H as M, I as W, J as Y, K as X, L as U, M as B, N as j, O as x1, P as b1, Q as k1, R as _1, S as y1 } from "./index-vFAkOjrl.js";
5
2
  var M1 = V("<li><a> </a></li>"), V1 = V("<ul></ul>");
6
- function t1(d, s) {
7
- S(s, !0);
8
- let o = G(s, "links", 7);
9
- const l = R({
3
+ function t1(g, a) {
4
+ S(a, !0);
5
+ let l = P(a, "links");
6
+ const c = E({
10
7
  slots: {
11
8
  base: "flex flex-wrap items-center justify-center bg-white p-3 px-[max(calc((100%-1320px)/2),2rem)]",
12
9
  item: "p-3",
13
10
  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
11
  }
15
- }), { base: m, item: i, links: c } = l();
16
- var t = V1();
17
- return q(t, 21, o, O, (n, e) => {
18
- let w = () => h(e).text, _ = () => h(e).href;
19
- var p = M1(), g = v(p), x = v(g, !0);
20
- r(g), r(p), y(
21
- (u, C) => {
22
- L(p, 1, u), L(g, 1, C), U(g, "href", _()), A(x, w());
23
- },
24
- [
25
- () => z(i()),
26
- () => z(c())
27
- ]
28
- ), f(n, p);
29
- }), r(t), y((n) => L(t, 1, n), [() => z(m())]), f(d, t), I({
12
+ }), { base: m, item: i, links: h } = c();
13
+ var n = {
30
14
  get links() {
31
- return o();
15
+ return l();
32
16
  },
33
- set links(n) {
34
- o(n), P();
17
+ set links(e) {
18
+ l(e), T();
35
19
  }
36
- });
20
+ }, r = V1();
21
+ return q(r, 21, l, D, (e, s) => {
22
+ let k = () => f(s).text, _ = () => f(s).href;
23
+ var w = M1(), v = p(w), d = p(v, !0);
24
+ o(v), o(w), y(
25
+ (C, t) => {
26
+ L(w, 1, C), L(v, 1, t), Z(v, "href", _()), $(d, k());
27
+ },
28
+ [() => z(i()), () => z(h())]
29
+ ), u(e, w);
30
+ }), o(r), y((e) => L(r, 1, e), [() => z(m())]), u(g, r), F(n);
37
31
  }
38
32
  H(t1, { links: {} }, [], [], !0);
39
33
  const z1 = '<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
34
  var L1 = 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(d) {
42
- var s = L1(), o = v(s);
43
- _1(o, () => z1), r(s), f(d, s);
35
+ function s1(g) {
36
+ var a = L1(), l = p(a);
37
+ i1(l, () => z1), o(a), u(g, a);
44
38
  }
45
39
  H(s1, {}, [], [], !0);
46
40
  /*!
@@ -52,7 +46,7 @@ const C1 = {
52
46
  prefix: "fab",
53
47
  iconName: "linkedin-in",
54
48
  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"]
55
- }, A1 = {
49
+ }, $1 = {
56
50
  prefix: "fab",
57
51
  iconName: "facebook-f",
58
52
  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"]
@@ -64,15 +58,15 @@ const C1 = {
64
58
  prefix: "fab",
65
59
  iconName: "tiktok",
66
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"]
67
- }, F1 = {
61
+ }, A1 = {
68
62
  prefix: "fab",
69
63
  iconName: "instagram",
70
64
  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
- }, $1 = {
65
+ }, S1 = {
72
66
  prefix: "fab",
73
67
  iconName: "bluesky",
74
68
  icon: [512, 512, [], "e671", "M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2C478.2 298 412 314.6 353.1 304.5c102.9 17.5 129.1 75.5 72.5 133.5c-107.4 110.2-154.3-27.6-166.3-62.9l0 0c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8l0 0c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z"]
75
- }, S1 = {
69
+ }, F1 = {
76
70
  prefix: "fab",
77
71
  iconName: "youtube",
78
72
  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"]
@@ -87,19 +81,19 @@ const C1 = {
87
81
  },
88
82
  {
89
83
  text: "Facebook",
90
- icon: A1,
84
+ icon: $1,
91
85
  href: "https://www.facebook.com/uofguelph",
92
86
  classes: "focus:text-white hover:text-white focus:bg-[#0866ff] hover:bg-[#0866ff]"
93
87
  },
94
88
  {
95
89
  text: "Instagram",
96
- icon: F1,
90
+ icon: A1,
97
91
  href: "https://www.instagram.com/uofguelph/",
98
92
  classes: "focus:text-white hover:text-white focus:bg-[#d62976] hover:bg-[#d62976]"
99
93
  },
100
94
  {
101
95
  text: "Youtube",
102
- icon: S1,
96
+ icon: F1,
103
97
  href: "https://www.youtube.com/user/uofguelph",
104
98
  classes: "focus:text-white hover:text-white focus:bg-[#ff0000] hover:bg-[#ff0000]"
105
99
  },
@@ -107,7 +101,7 @@ const C1 = {
107
101
  text: "LinkedIn",
108
102
  icon: C1,
109
103
  href: "https://www.linkedin.com/school/university-of-guelph/",
110
- classes: "focus:text-white hover:text-white focus:bg-[#006AFF] hover:bg-[#006AFF]"
104
+ classes: "focus:text-white hover:text-white focus:bg-[#006aff] hover:bg-[#006aff]"
111
105
  },
112
106
  {
113
107
  text: "TikTok",
@@ -117,7 +111,7 @@ const C1 = {
117
111
  },
118
112
  {
119
113
  text: "Bluesky",
120
- icon: $1,
114
+ icon: S1,
121
115
  href: "https://bsky.app/profile/uofguelph.bsky.social",
122
116
  classes: "focus:text-white hover:text-white focus:bg-[#0a66c2] hover:bg-[#0a66c2]"
123
117
  }
@@ -125,27 +119,27 @@ const C1 = {
125
119
  }, Q = [
126
120
  {
127
121
  text: "Accessibility",
128
- icon: c1,
122
+ icon: n1,
129
123
  href: "https://www.uoguelph.ca/diversity-human-rights/accessibility-u-g"
130
124
  },
131
125
  {
132
126
  text: "Privacy",
133
- icon: n1,
127
+ icon: h1,
134
128
  href: "https://www.uoguelph.ca/web/privacy/"
135
129
  },
136
130
  {
137
131
  text: "Site Map",
138
- icon: h1,
132
+ icon: f1,
139
133
  href: "https://www.uoguelph.ca/sitemap"
140
134
  },
141
135
  {
142
136
  text: "IT Status",
143
- icon: f1,
137
+ icon: u1,
144
138
  href: "https://uoguelph.statuspage.io/"
145
139
  },
146
140
  {
147
141
  text: "Land Acknowledgement",
148
- icon: u1,
142
+ icon: v1,
149
143
  href: "https://www.uoguelph.ca/land-acknowledgement/",
150
144
  attributes: {
151
145
  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."
@@ -153,27 +147,27 @@ const C1 = {
153
147
  },
154
148
  {
155
149
  text: "Careers",
156
- icon: v1,
150
+ icon: d1,
157
151
  href: "https://careers.uoguelph.ca/"
158
152
  },
159
153
  {
160
154
  text: "Academic Calendar",
161
- icon: E,
155
+ icon: K,
162
156
  href: "https://calendar.uoguelph.ca/"
163
157
  },
164
158
  {
165
159
  text: "Campus Status",
166
- icon: E,
160
+ icon: K,
167
161
  href: "https://www.uoguelph.ca/campus-status/"
168
162
  },
169
163
  {
170
164
  text: "Admission",
171
- icon: d1,
165
+ icon: p1,
172
166
  href: "https://uoguelph.ca/admission"
173
167
  },
174
168
  {
175
169
  text: "Give to U of G",
176
- icon: p1,
170
+ icon: g1,
177
171
  href: "https://www.alumni.uoguelph.ca/give-to-guelph/how-to-give"
178
172
  }
179
173
  ], N = {
@@ -183,285 +177,273 @@ const C1 = {
183
177
  postalCode: "N1G 2W1",
184
178
  phoneNumber: "519-824-4120"
185
179
  };
186
- var I1 = V("<li><a><!></a></li>"), T1 = V("<ul></ul>");
187
- function r1(d, s) {
188
- S(s, !1);
189
- const o = R({
180
+ var I1 = V("<li><a><!></a></li>"), G1 = V("<ul></ul>");
181
+ function r1(g, a) {
182
+ S(a, !1);
183
+ const l = E({
190
184
  slots: {
191
185
  base: "flex gap-2 text-lg [&>li]:contents",
192
186
  links: "p-0.5 transition-colors [&>*]:aspect-square"
193
187
  }
194
- }), { base: l, links: m } = o();
195
- D();
196
- var i = T1();
197
- q(i, 5, () => a1.links, O, (c, t, n, e) => {
198
- let w = () => h(t).href, _ = () => h(t).text, p = () => h(t).icon, g = () => h(t).classes;
199
- var x = I1(), u = v(x), C = v(u);
200
- g1(C, {
188
+ }), { base: c, links: m } = l();
189
+ J();
190
+ var i = G1();
191
+ q(i, 5, () => a1.links, D, (h, n, r, e) => {
192
+ let s = () => f(n).href, k = () => f(n).text, _ = () => f(n).icon, w = () => f(n).classes;
193
+ var v = I1(), d = p(v), C = p(d);
194
+ w1(C, {
201
195
  get icon() {
202
- return p();
196
+ return _();
203
197
  }
204
- }), r(u), r(x), y(
205
- (a) => {
206
- U(u, "href", w()), U(u, "aria-label", _()), L(u, 1, a);
198
+ }), o(d), o(v), y(
199
+ (t) => {
200
+ Z(d, "href", s()), Z(d, "aria-label", k()), L(d, 1, t);
207
201
  },
208
- [
209
- () => z(e1(m(), g()))
210
- ],
211
- F
212
- ), f(c, x);
213
- }), r(i), y((c) => L(i, 1, c), [() => z(l())], F), f(d, i), I();
202
+ [() => z(e1(m(), w()))]
203
+ ), u(h, v);
204
+ }), o(i), y((h) => L(i, 1, h), [() => z(c())]), u(g, i), F();
214
205
  }
215
206
  H(r1, {}, [], [], !0);
216
- var Z1 = V("<a><!></a>");
217
- function $(d, s) {
218
- S(s, !0);
219
- let o = G(s, "href", 7), l = G(s, "label", 7), m = G(s, "children", 7), i = G(s, "class", 7);
220
- const c = e1("w-fit underline decoration-transparent transition-colors hover:decoration-black-contrast focus:decoration-black-contrast", i());
221
- var t = Z1(), n = v(t);
222
- return y1(n, m), r(t), y(() => {
223
- L(t, 1, z(c)), U(t, "href", o()), U(t, "aria-label", l() ?? void 0);
224
- }), f(d, t), I({
207
+ var P1 = V("<a><!></a>");
208
+ function A(g, a) {
209
+ S(a, !0);
210
+ let l = P(a, "href"), c = P(a, "label"), m = P(a, "children"), i = P(a, "class");
211
+ const h = e1("w-fit underline decoration-transparent transition-colors hover:decoration-black-contrast focus:decoration-black-contrast", i());
212
+ var n = {
225
213
  get href() {
226
- return o();
214
+ return l();
227
215
  },
228
- set href(e) {
229
- o(e), P();
216
+ set href(s) {
217
+ l(s), T();
230
218
  },
231
219
  get label() {
232
- return l();
220
+ return c();
233
221
  },
234
- set label(e) {
235
- l(e), P();
222
+ set label(s) {
223
+ c(s), T();
236
224
  },
237
225
  get children() {
238
226
  return m();
239
227
  },
240
- set children(e) {
241
- m(e), P();
228
+ set children(s) {
229
+ m(s), T();
242
230
  },
243
231
  get class() {
244
232
  return i();
245
233
  },
246
- set class(e) {
247
- i(e), P();
234
+ set class(s) {
235
+ i(s), T();
248
236
  }
249
- });
237
+ }, r = P1(), e = p(r);
238
+ return m1(e, m), o(r), y(() => {
239
+ L(r, 1, z(h)), Z(r, "href", l()), Z(r, "aria-label", c() ?? void 0);
240
+ }), u(g, r), F(n);
250
241
  }
251
- H(
252
- $,
253
- {
254
- href: {},
255
- label: {},
256
- children: {},
257
- class: {}
258
- },
259
- [],
260
- [],
261
- !0
262
- );
263
- var G1 = V("<li><!></li>"), P1 = V("<li><!></li>"), U1 = V("<ul></ul> <ul></ul>", 1);
264
- function o1(d, s) {
265
- S(s, !1);
266
- const o = R({
242
+ H(A, { href: {}, label: {}, children: {}, class: {} }, [], [], !0);
243
+ var T1 = V("<li><!></li>"), Z1 = V("<li><!></li>"), U1 = V("<ul></ul> <ul></ul>", 1);
244
+ function o1(g, a) {
245
+ S(a, !1);
246
+ const l = E({
267
247
  slots: {
268
248
  list: "grid grid-rows-5 items-center gap-0 not-italic",
269
249
  link: "flex h-full items-center"
270
250
  }
271
- }), { list: l, link: m } = o();
272
- D();
273
- var i = U1(), c = X(i);
274
- q(c, 5, () => Q, O, (n, e, w) => {
275
- let _ = () => h(e).href, p = () => h(e).attributes, g = () => h(e).text;
276
- var x = J(), u = X(x);
251
+ }), { list: c, link: m } = l();
252
+ J();
253
+ var i = U1(), h = R(i);
254
+ q(h, 5, () => Q, D, (r, e, s) => {
255
+ let k = () => f(e).href, _ = () => f(e).attributes, w = () => f(e).text;
256
+ var v = W(), d = R(v);
277
257
  {
278
- var C = (a) => {
279
- var b = G1(), k = v(b);
280
- const T = F(m);
281
- $(k, K(
282
- {
283
- get class() {
284
- return h(T);
258
+ var C = (t) => {
259
+ var x = T1(), b = p(x);
260
+ {
261
+ let I = j(m);
262
+ A(b, X(
263
+ {
264
+ get class() {
265
+ return f(I);
266
+ },
267
+ get href() {
268
+ return k();
269
+ }
285
270
  },
286
- get href() {
287
- return _();
271
+ _,
272
+ {
273
+ children: (O, c1) => {
274
+ U();
275
+ var G = B();
276
+ y(() => $(G, w())), u(O, G);
277
+ },
278
+ $$slots: { default: !0 }
288
279
  }
289
- },
290
- p,
291
- {
292
- children: (W, i1) => {
293
- B();
294
- var Z = Y();
295
- y(() => A(Z, g())), f(W, Z);
296
- },
297
- $$slots: { default: !0 }
298
- }
299
- )), r(b), f(a, b);
280
+ ));
281
+ }
282
+ o(x), u(t, x);
300
283
  };
301
- j(u, (a) => {
302
- w % 2 === 0 && a(C);
284
+ Y(d, (t) => {
285
+ s % 2 === 0 && t(C);
303
286
  });
304
287
  }
305
- f(n, x);
306
- }), r(c);
307
- var t = M(c, 2);
308
- q(t, 5, () => Q, O, (n, e, w) => {
309
- let _ = () => h(e).href, p = () => h(e).attributes, g = () => h(e).text;
310
- var x = J(), u = X(x);
288
+ u(r, v);
289
+ }), o(h);
290
+ var n = M(h, 2);
291
+ q(n, 5, () => Q, D, (r, e, s) => {
292
+ let k = () => f(e).href, _ = () => f(e).attributes, w = () => f(e).text;
293
+ var v = W(), d = R(v);
311
294
  {
312
- var C = (a) => {
313
- var b = P1(), k = v(b);
314
- const T = F(m);
315
- $(k, K(
316
- {
317
- get class() {
318
- return h(T);
295
+ var C = (t) => {
296
+ var x = Z1(), b = p(x);
297
+ {
298
+ let I = j(m);
299
+ A(b, X(
300
+ {
301
+ get class() {
302
+ return f(I);
303
+ },
304
+ get href() {
305
+ return k();
306
+ }
319
307
  },
320
- get href() {
321
- return _();
308
+ _,
309
+ {
310
+ children: (O, c1) => {
311
+ U();
312
+ var G = B();
313
+ y(() => $(G, w())), u(O, G);
314
+ },
315
+ $$slots: { default: !0 }
322
316
  }
323
- },
324
- p,
325
- {
326
- children: (W, i1) => {
327
- B();
328
- var Z = Y();
329
- y(() => A(Z, g())), f(W, Z);
330
- },
331
- $$slots: { default: !0 }
332
- }
333
- )), r(b), f(a, b);
317
+ ));
318
+ }
319
+ o(x), u(t, x);
334
320
  };
335
- j(u, (a) => {
336
- w % 2 !== 0 && a(C);
321
+ Y(d, (t) => {
322
+ s % 2 !== 0 && t(C);
337
323
  });
338
324
  }
339
- f(n, x);
340
- }), r(t), y(
341
- (n, e) => {
342
- L(c, 1, n), L(t, 1, e);
325
+ u(r, v);
326
+ }), o(n), y(
327
+ (r, e) => {
328
+ L(h, 1, r), L(n, 1, e);
343
329
  },
344
- [
345
- () => z(l()),
346
- () => z(l())
347
- ],
348
- F
349
- ), f(d, i), I();
330
+ [() => z(c()), () => z(c())]
331
+ ), u(g, i), F();
350
332
  }
351
333
  H(o1, {}, [], [], !0);
352
334
  var B1 = 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>');
353
- function l1(d, s) {
354
- S(s, !1), D();
355
- var o = B1(), l = v(o), m = v(l, !0);
356
- r(l);
357
- var i = M(l, 2), c = v(i);
358
- r(i);
359
- var t = M(i, 2), n = v(t);
360
- r(t);
361
- var e = M(t, 2), w = v(e, !0);
362
- r(e);
363
- var _ = M(e, 2);
364
- const p = F(() => `tel:${N.phoneNumber}`);
365
- $(_, {
366
- get href() {
367
- return h(p);
368
- },
369
- children: (g, x) => {
370
- B();
371
- var u = Y();
372
- y(() => A(u, N.phoneNumber)), f(g, u);
373
- },
374
- $$slots: { default: !0 }
375
- }), r(o), y(() => {
376
- A(m, N.title), A(c, `${N.street},`), A(n, `${N.city}, Ontario, Canada`), A(w, N.postalCode);
377
- }), f(d, o), I();
335
+ function l1(g, a) {
336
+ S(a, !1), J();
337
+ var l = B1(), c = p(l), m = p(c, !0);
338
+ o(c);
339
+ var i = M(c, 2), h = p(i);
340
+ o(i);
341
+ var n = M(i, 2), r = p(n);
342
+ o(n);
343
+ var e = M(n, 2), s = p(e, !0);
344
+ o(e);
345
+ var k = M(e, 2);
346
+ {
347
+ let _ = j(() => `tel:${N.phoneNumber}`);
348
+ A(k, {
349
+ get href() {
350
+ return f(_);
351
+ },
352
+ children: (w, v) => {
353
+ U();
354
+ var d = B();
355
+ y(() => $(d, N.phoneNumber)), u(w, d);
356
+ },
357
+ $$slots: { default: !0 }
358
+ });
359
+ }
360
+ o(l), y(() => {
361
+ $(m, N.title), $(h, `${N.street},`), $(r, `${N.city}, Ontario, Canada`), $(s, N.postalCode);
362
+ }), u(g, l), F();
378
363
  }
379
364
  H(l1, {}, [], [], !0);
380
- var Y1 = V("<footer><!> <div><div><!> <!> <!> <!></div> <!> <!></div></footer>");
381
- function q1(d, s) {
382
- S(s, !0);
383
- const o = R({
365
+ var q1 = V("<footer><!> <div><div><!> <!> <!> <!></div> <!> <!></div></footer>");
366
+ function D1(g, a) {
367
+ S(a, !0);
368
+ const l = E({
384
369
  slots: {
385
370
  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",
386
371
  wrapper: "mb-6 grid grid-rows-5 items-center gap-0 not-italic md:mb-0"
387
372
  }
388
373
  });
389
- let l = m1(w1([]));
374
+ let c = x1(b1([]));
390
375
  k1(() => {
391
- const a = () => {
392
- x1(
393
- l,
394
- Array.from(s.$$host.children).filter((k) => k.tagName === "A").map((k) => ({
395
- text: k.textContent ?? "",
396
- href: k.getAttribute("href") ?? ""
376
+ const t = () => {
377
+ _1(
378
+ c,
379
+ Array.from(a.$$host.children).filter((b) => b.tagName === "A").map((b) => ({
380
+ text: b.textContent ?? "",
381
+ href: b.getAttribute("href") ?? ""
397
382
  })),
398
383
  !0
399
384
  );
400
385
  };
401
- a();
402
- const b = new MutationObserver(a);
403
- return b.observe(s.$$host, { childList: !0, subtree: !0 }), () => {
404
- b.disconnect();
386
+ t();
387
+ const x = new MutationObserver(t);
388
+ return x.observe(a.$$host, { childList: !0, subtree: !0 }), () => {
389
+ x.disconnect();
405
390
  };
406
391
  });
407
- const { footer: m, wrapper: i } = o();
408
- var c = Y1(), t = v(c);
392
+ const { footer: m, wrapper: i } = l();
393
+ var h = q1(), n = p(h);
409
394
  {
410
- var n = (a) => {
411
- t1(a, {
395
+ var r = (t) => {
396
+ t1(t, {
412
397
  get links() {
413
- return h(l);
398
+ return f(c);
414
399
  }
415
400
  });
416
401
  };
417
- j(t, (a) => {
418
- Array.isArray(h(l)) && h(l).length > 0 && a(n);
402
+ Y(n, (t) => {
403
+ Array.isArray(f(c)) && f(c).length > 0 && t(r);
419
404
  });
420
405
  }
421
- var e = M(t, 2), w = v(e), _ = v(w);
422
- s1(_);
423
- var p = M(_, 2);
424
- r1(p, {});
425
- var g = M(p, 2);
426
- $(g, {
406
+ var e = M(n, 2), s = p(e), k = p(s);
407
+ s1(k);
408
+ var _ = M(k, 2);
409
+ r1(_, {});
410
+ var w = M(_, 2);
411
+ A(w, {
427
412
  get href() {
428
413
  return a1.directory;
429
414
  },
430
- children: (a, b) => {
431
- B();
432
- var k = Y("Social Media Directory");
433
- f(a, k);
415
+ children: (t, x) => {
416
+ U();
417
+ var b = B("Social Media Directory");
418
+ u(t, b);
434
419
  },
435
420
  $$slots: { default: !0 }
436
421
  });
437
- var x = M(g, 2);
438
- $(x, {
422
+ var v = M(w, 2);
423
+ A(v, {
439
424
  href: "https://www.uoguelph.ca/web/",
440
- children: (a, b) => {
441
- B();
442
- var k = Y();
443
- y((T) => A(k, `© ${T ?? ""} University of Guelph`), [() => (/* @__PURE__ */ new Date()).getFullYear()]), f(a, k);
425
+ children: (t, x) => {
426
+ U();
427
+ var b = B();
428
+ y((I) => $(b, `© ${I ?? ""} University of Guelph`), [() => (/* @__PURE__ */ new Date()).getFullYear()]), u(t, b);
444
429
  },
445
430
  $$slots: { default: !0 }
446
- }), r(w);
447
- var u = M(w, 2);
448
- o1(u, {});
449
- var C = M(u, 2);
450
- l1(C, {}), r(e), r(c), y(
451
- (a, b) => {
452
- L(e, 1, a), L(w, 1, b);
431
+ }), o(s);
432
+ var d = M(s, 2);
433
+ o1(d, {});
434
+ var C = M(d, 2);
435
+ l1(C, {}), o(e), o(h), y(
436
+ (t, x) => {
437
+ L(e, 1, t), L(s, 1, x);
453
438
  },
454
- [
455
- () => z(m()),
456
- () => z(i())
457
- ]
458
- ), f(d, c), I();
439
+ [() => z(m()), () => z(i())]
440
+ ), u(g, h), F();
459
441
  }
460
- customElements.define("uofg-footer", H(q1, {}, [], [], !0, (d) => class extends d {
442
+ customElements.define("uofg-footer", H(D1, {}, [], [], !0, (g) => class extends g {
461
443
  constructor() {
462
- super(), b1(this.shadowRoot);
444
+ super(), y1(this.shadowRoot);
463
445
  }
464
446
  }));
465
447
  export {
466
- q1 as default
448
+ D1 as default
467
449
  };