@uoguelph/web-components 2.0.0-rc.4 → 2.0.0-rc.5

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,141 +1,141 @@
1
- import { c as N, p as I, a as T, t as $, H as R, e as y, g as L, h as V, i as h, j as S, k as U, r as n, d as v, C as X, m as f, I as C, J as D, K as ce, L as ue, M as fe, N as he, O as de, P as pe, Q as J, R as ve, T as ge, U as A, F as xe, V as te, W as we, X as me, Y as W, s as M, Z as K, _ as j, $ as Z, w as q, a0 as O, v as be, u as Q, q as ke, b as _e } from "./index-wDN19ZEZ.js";
2
- import { o as ye } from "./index-client-LIdjvPBC.js";
3
- import { c as E } from "./index-O5kp37c8.js";
4
- import { h as Me, i as B, s as $e } from "./legacy-r0k35wN9.js";
5
- var ze = $("<li><a> </a></li>"), Ce = $("<ul></ul>");
6
- function se(g, t) {
7
- I(t, !0);
8
- let i = T(t, "links", 7);
9
- const l = E({
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 b1, Y as X, s as M, Z as J, _ as B, $ as K, w as U, a0 as Y, v as x1, u as Q, q as _1, b as k1 } from "./index-wDN19ZEZ.js";
2
+ import { o as y1 } from "./index-client-LIdjvPBC.js";
3
+ import { c as R } from "./index-O5kp37c8.js";
4
+ import { h as M1, i as D, s as V1 } from "./legacy-r0k35wN9.js";
5
+ var L1 = V("<li><a> </a></li>"), z1 = V("<ul></ul>");
6
+ function r1(g, t) {
7
+ F(t, !0);
8
+ let n = I(t, "links", 7);
9
+ const i = R({
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: m, item: c, links: u } = l();
16
- var s = Ce();
17
- return R(s, 21, i, D, (r, e) => {
18
- let p = () => f(e).text, o = () => f(e).href;
19
- var x = ze(), w = v(x), b = v(w, !0);
20
- n(w), n(x), y(
21
- (d, z) => {
22
- V(x, 1, d), V(w, 1, z), X(w, "href", o()), C(b, p());
15
+ }), { base: b, item: c, links: h } = i();
16
+ var r = z1();
17
+ return q(r, 21, n, O, (s, e) => {
18
+ let d = () => u(e).text, o = () => u(e).href;
19
+ var w = L1(), m = p(w), x = p(m, !0);
20
+ l(m), l(w), y(
21
+ (v, L) => {
22
+ C(w, 1, v), C(m, 1, L), j(m, "href", o()), z(x, d());
23
23
  },
24
24
  [
25
- () => L(c()),
26
- () => L(u())
25
+ () => $(c()),
26
+ () => $(h())
27
27
  ]
28
- ), h(r, x);
29
- }), n(s), y((r) => V(s, 1, r), [() => L(m())]), h(g, s), S({
28
+ ), f(s, w);
29
+ }), l(r), y((s) => C(r, 1, s), [() => $(b())]), f(g, r), P({
30
30
  get links() {
31
- return i();
31
+ return n();
32
32
  },
33
- set links(r) {
34
- i(r), U();
33
+ set links(s) {
34
+ n(s), T();
35
35
  }
36
36
  });
37
37
  }
38
- N(se, { links: {} }, [], [], !0);
39
- const Le = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 718.9 79.5"><defs><style>.st0{fill:#fff;font-family:MyriadPro-Regular,&quot;Myriad Pro&quot;,sans-serif;font-size:44.3px;isolation:isolate}</style></defs><path d="M1.5 1.5h715.9V78H1.5z" style="fill:#221f20"/><path d="M715.9 3v73.5H3V3zm3-3H0v79.5h718.9z" style="fill:#e51937"/><g style="isolation:isolate"><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>';
40
- var Ve = $('<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 ae(g) {
42
- var t = Ve(), i = v(t);
43
- Me(i, () => Le), n(t), h(g, t);
38
+ H(r1, { links: {} }, [], [], !0);
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
+ 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 a1(g) {
42
+ var t = C1(), n = p(t);
43
+ M1(n, () => $1), l(t), f(g, t);
44
44
  }
45
- N(ae, {}, [], [], !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)
49
49
  * Copyright 2024 Fonticons, Inc.
50
50
  */
51
- const Ne = {
51
+ const H1 = {
52
52
  prefix: "fab",
53
53
  iconName: "linkedin-in",
54
54
  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
- }, He = {
55
+ }, N1 = {
56
56
  prefix: "fab",
57
57
  iconName: "facebook-f",
58
58
  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"]
59
- }, Ae = {
59
+ }, A1 = {
60
60
  prefix: "fab",
61
61
  iconName: "x-twitter",
62
62
  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"]
63
- }, Pe = {
63
+ }, S1 = {
64
64
  prefix: "fab",
65
65
  iconName: "tiktok",
66
66
  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
- }, Ie = {
67
+ }, F1 = {
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
- }, Se = {
71
+ }, P1 = {
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
- }, re = {
75
+ }, s1 = {
76
76
  directory: "https://www.uoguelph.ca/web/socialmedia/",
77
77
  links: [
78
78
  {
79
79
  text: "X",
80
- icon: Ae,
80
+ icon: A1,
81
81
  href: "https://twitter.com/uofg",
82
82
  classes: "focus:text-black hover:text-black focus:bg-white hover:bg-white"
83
83
  },
84
84
  {
85
85
  text: "Facebook",
86
- icon: He,
86
+ icon: N1,
87
87
  href: "https://www.facebook.com/uofguelph",
88
88
  classes: "focus:text-white hover:text-white focus:bg-[#0866ff] hover:bg-[#0866ff]"
89
89
  },
90
90
  {
91
91
  text: "Instagram",
92
- icon: Ie,
92
+ icon: F1,
93
93
  href: "https://www.instagram.com/uofguelph/",
94
94
  classes: "focus:text-white hover:text-white focus:bg-[#d62976] hover:bg-[#d62976]"
95
95
  },
96
96
  {
97
97
  text: "Youtube",
98
- icon: Se,
98
+ icon: P1,
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
  },
102
102
  {
103
103
  text: "LinkedIn",
104
- icon: Ne,
104
+ icon: H1,
105
105
  href: "https://www.linkedin.com/school/university-of-guelph/",
106
106
  classes: "focus:text-white hover:text-white focus:bg-[#0a66c2] hover:bg-[#0a66c2]"
107
107
  },
108
108
  {
109
109
  text: "TikTok",
110
- icon: Pe,
110
+ icon: S1,
111
111
  href: "https://www.tiktok.com/@uofguelph",
112
112
  classes: "focus:text-black hover:text-black focus:bg-white hover:bg-white"
113
113
  }
114
114
  ]
115
- }, ee = [
115
+ }, e1 = [
116
116
  {
117
117
  text: "Accessibility",
118
- icon: ce,
118
+ icon: c1,
119
119
  href: "https://www.uoguelph.ca/diversity-human-rights/accessibility-u-g"
120
120
  },
121
121
  {
122
122
  text: "Privacy",
123
- icon: ue,
123
+ icon: h1,
124
124
  href: "https://www.uoguelph.ca/web/privacy/"
125
125
  },
126
126
  {
127
127
  text: "Site Map",
128
- icon: fe,
128
+ icon: u1,
129
129
  href: "https://www.uoguelph.ca/sitemap"
130
130
  },
131
131
  {
132
132
  text: "Status Page",
133
- icon: he,
133
+ icon: f1,
134
134
  href: "https://uoguelph.statuspage.io/"
135
135
  },
136
136
  {
137
137
  text: "Land Acknowledgement",
138
- icon: de,
138
+ icon: v1,
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,70 +143,70 @@ const Ne = {
143
143
  },
144
144
  {
145
145
  text: "Careers",
146
- icon: pe,
146
+ icon: d1,
147
147
  href: "https://careers.uoguelph.ca/"
148
148
  },
149
149
  {
150
150
  text: "Undergraduate Calendar",
151
- icon: J,
151
+ icon: E,
152
152
  href: "https://www.uoguelph.ca/registrar/calendars/undergraduate/current/"
153
153
  },
154
154
  {
155
155
  text: "Graduate Calendar",
156
- icon: J,
156
+ icon: E,
157
157
  href: "https://www.uoguelph.ca/registrar/calendars/graduate/current/"
158
158
  },
159
159
  {
160
160
  text: "Admission",
161
- icon: ve,
161
+ icon: p1,
162
162
  href: "https://uoguelph.ca/admission"
163
163
  },
164
164
  {
165
165
  text: "Give to U of G",
166
- icon: ge,
166
+ icon: g1,
167
167
  href: "https://www.alumni.uoguelph.ca/give-to-guelph/how-to-give"
168
168
  }
169
- ], H = {
169
+ ], N = {
170
170
  title: "University of Guelph",
171
171
  street: "50 Stone Road East",
172
172
  city: "Guelph",
173
173
  postalCode: "N1G 2W1",
174
174
  phoneNumber: "519-824-4120"
175
175
  };
176
- var Fe = $("<li><a><!></a></li>"), Ge = $("<ul></ul>");
177
- function oe(g, t) {
178
- I(t, !1);
179
- const i = E({
176
+ var Z1 = V("<li><a><!></a></li>"), G1 = V("<ul></ul>");
177
+ function o1(g, t) {
178
+ F(t, !1);
179
+ const n = R({
180
180
  slots: {
181
181
  base: "flex gap-2 text-lg [&>li]:contents",
182
182
  links: "border border-current p-0.5 transition-colors hover:border-transparent focus:border-transparent [&>*]:aspect-square"
183
183
  }
184
- }), { base: l, links: m } = i();
185
- B();
186
- var c = Ge();
187
- R(c, 5, () => re.links, D, (u, s, r, e) => {
188
- let p = () => f(s).href, o = () => f(s).text, x = () => f(s).icon, w = () => f(s).classes;
189
- var b = Fe(), d = v(b), z = v(d);
190
- xe(z, {
184
+ }), { base: i, links: b } = n();
185
+ D();
186
+ var c = G1();
187
+ q(c, 5, () => s1.links, O, (h, r, s, e) => {
188
+ let d = () => u(r).href, o = () => u(r).text, w = () => u(r).icon, m = () => u(r).classes;
189
+ var x = Z1(), v = p(x), L = p(v);
190
+ w1(L, {
191
191
  get icon() {
192
- return x();
192
+ return w();
193
193
  }
194
- }), n(d), n(b), y(
194
+ }), l(v), l(x), y(
195
195
  (a) => {
196
- X(d, "href", p()), X(d, "aria-label", o()), V(d, 1, a);
196
+ j(v, "href", d()), j(v, "aria-label", o()), C(v, 1, a);
197
197
  },
198
198
  [
199
- () => L(te(m(), w()))
199
+ () => $(t1(b(), m()))
200
200
  ],
201
201
  A
202
- ), h(u, b);
203
- }), n(c), y((u) => V(c, 1, u), [() => L(l())], A), h(g, c), S();
202
+ ), f(h, x);
203
+ }), l(c), y((h) => C(c, 1, h), [() => $(i())], A), f(g, c), P();
204
204
  }
205
- N(oe, {}, [], [], !0);
206
- var Te = $("<a><!></a>");
207
- function P(g, t) {
208
- I(t, !0);
209
- let i = T(t, "href", 7), l = T(t, "label", 7), m = T(t, "children", 7), c = T(t, "class", 7), u = me(t, [
205
+ H(o1, {}, [], [], !0);
206
+ var I1 = V("<a><!></a>");
207
+ function S(g, t) {
208
+ F(t, !0);
209
+ let n = I(t, "href", 7), i = I(t, "label", 7), b = I(t, "children", 7), c = I(t, "class", 7), h = b1(t, [
210
210
  "$$slots",
211
211
  "$$events",
212
212
  "$$legacy",
@@ -216,44 +216,44 @@ function P(g, t) {
216
216
  "children",
217
217
  "class"
218
218
  ]);
219
- const s = te("w-fit underline decoration-transparent transition-colors hover:decoration-black-contrast focus:decoration-black-contrast", c());
220
- var r = Te();
219
+ const r = t1("w-fit underline decoration-transparent transition-colors hover:decoration-black-contrast focus:decoration-black-contrast", c());
220
+ var s = I1();
221
221
  let e;
222
- var p = v(r);
223
- return $e(p, m), n(r), y(() => e = we(r, e, {
224
- ...u,
225
- class: s,
226
- href: i(),
227
- "aria-label": l() ?? void 0
228
- })), h(g, r), S({
222
+ var d = p(s);
223
+ return V1(d, b), l(s), y(() => e = m1(s, e, {
224
+ ...h,
225
+ class: r,
226
+ href: n(),
227
+ "aria-label": i() ?? void 0
228
+ })), f(g, s), P({
229
229
  get href() {
230
- return i();
230
+ return n();
231
231
  },
232
232
  set href(o) {
233
- i(o), U();
233
+ n(o), T();
234
234
  },
235
235
  get label() {
236
- return l();
236
+ return i();
237
237
  },
238
238
  set label(o) {
239
- l(o), U();
239
+ i(o), T();
240
240
  },
241
241
  get children() {
242
- return m();
242
+ return b();
243
243
  },
244
244
  set children(o) {
245
- m(o), U();
245
+ b(o), T();
246
246
  },
247
247
  get class() {
248
248
  return c();
249
249
  },
250
250
  set class(o) {
251
- c(o), U();
251
+ c(o), T();
252
252
  }
253
253
  });
254
254
  }
255
- N(
256
- P,
255
+ H(
256
+ S,
257
257
  {
258
258
  href: {},
259
259
  label: {},
@@ -264,204 +264,204 @@ N(
264
264
  [],
265
265
  !0
266
266
  );
267
- var Ue = $("<li><!></li>"), qe = $("<li><!></li>"), Oe = $("<ul></ul> <ul></ul>", 1);
268
- function ne(g, t) {
269
- I(t, !1);
270
- const i = E({
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 n = R({
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: l, link: m } = i();
276
- B();
277
- var c = Oe(), u = W(c);
278
- R(u, 5, () => ee, D, (r, e, p) => {
279
- let o = () => f(e).href, x = () => f(e).attributes, w = () => f(e).text;
280
- var b = K(), d = W(b);
275
+ }), { list: i, link: b } = n();
276
+ D();
277
+ var c = Y1(), h = X(c);
278
+ q(h, 5, () => e1, O, (s, e, d) => {
279
+ let o = () => u(e).href, w = () => u(e).attributes, m = () => u(e).text;
280
+ var x = J(), v = X(x);
281
281
  {
282
- var z = (a) => {
283
- var k = Ue(), _ = v(k);
284
- const F = A(m);
285
- P(_, Z(
282
+ var L = (a) => {
283
+ var _ = T1(), k = p(_);
284
+ const Z = A(b);
285
+ S(k, K(
286
286
  {
287
287
  get class() {
288
- return f(F);
288
+ return u(Z);
289
289
  },
290
290
  get href() {
291
291
  return o();
292
292
  }
293
293
  },
294
- x,
294
+ w,
295
295
  {
296
- children: (Y, le) => {
297
- q();
298
- var G = O();
299
- y(() => C(G, w())), h(Y, G);
296
+ children: (W, i1) => {
297
+ U();
298
+ var G = Y();
299
+ y(() => z(G, m())), f(W, G);
300
300
  },
301
301
  $$slots: { default: !0 }
302
302
  }
303
- )), n(k), h(a, k);
303
+ )), l(_), f(a, _);
304
304
  };
305
- j(d, (a) => {
306
- p % 2 === 0 && a(z);
305
+ B(v, (a) => {
306
+ d % 2 === 0 && a(L);
307
307
  });
308
308
  }
309
- h(r, b);
310
- }), n(u);
311
- var s = M(u, 2);
312
- R(s, 5, () => ee, D, (r, e, p) => {
313
- let o = () => f(e).href, x = () => f(e).attributes, w = () => f(e).text;
314
- var b = K(), d = W(b);
309
+ f(s, x);
310
+ }), l(h);
311
+ var r = M(h, 2);
312
+ q(r, 5, () => e1, O, (s, e, d) => {
313
+ let o = () => u(e).href, w = () => u(e).attributes, m = () => u(e).text;
314
+ var x = J(), v = X(x);
315
315
  {
316
- var z = (a) => {
317
- var k = qe(), _ = v(k);
318
- const F = A(m);
319
- P(_, Z(
316
+ var L = (a) => {
317
+ var _ = U1(), k = p(_);
318
+ const Z = A(b);
319
+ S(k, K(
320
320
  {
321
321
  get class() {
322
- return f(F);
322
+ return u(Z);
323
323
  },
324
324
  get href() {
325
325
  return o();
326
326
  }
327
327
  },
328
- x,
328
+ w,
329
329
  {
330
- children: (Y, le) => {
331
- q();
332
- var G = O();
333
- y(() => C(G, w())), h(Y, G);
330
+ children: (W, i1) => {
331
+ U();
332
+ var G = Y();
333
+ y(() => z(G, m())), f(W, G);
334
334
  },
335
335
  $$slots: { default: !0 }
336
336
  }
337
- )), n(k), h(a, k);
337
+ )), l(_), f(a, _);
338
338
  };
339
- j(d, (a) => {
340
- p % 2 !== 0 && a(z);
339
+ B(v, (a) => {
340
+ d % 2 !== 0 && a(L);
341
341
  });
342
342
  }
343
- h(r, b);
344
- }), n(s), y(
345
- (r, e) => {
346
- V(u, 1, r), V(s, 1, e);
343
+ f(s, x);
344
+ }), l(r), y(
345
+ (s, e) => {
346
+ C(h, 1, s), C(r, 1, e);
347
347
  },
348
348
  [
349
- () => L(l()),
350
- () => L(l())
349
+ () => $(i()),
350
+ () => $(i())
351
351
  ],
352
352
  A
353
- ), h(g, c), S();
353
+ ), f(g, c), P();
354
354
  }
355
- N(ne, {}, [], [], !0);
356
- var Re = $('<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 ie(g, t) {
358
- I(t, !1), B();
359
- var i = Re(), l = v(i), m = v(l, !0);
360
- n(l);
361
- var c = M(l, 2), u = v(c);
362
- n(c);
363
- var s = M(c, 2), r = v(s);
364
- n(s);
365
- var e = M(s, 2), p = v(e, !0);
366
- n(e);
355
+ H(l1, {}, [], [], !0);
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 n1(g, t) {
358
+ F(t, !1), D();
359
+ var n = q1(), i = p(n), b = p(i, !0);
360
+ l(i);
361
+ var c = M(i, 2), h = p(c);
362
+ l(c);
363
+ var r = M(c, 2), s = p(r);
364
+ l(r);
365
+ var e = M(r, 2), d = p(e, !0);
366
+ l(e);
367
367
  var o = M(e, 2);
368
- const x = A(() => `tel:${H.phoneNumber}`);
369
- P(o, {
368
+ const w = A(() => `tel:${N.phoneNumber}`);
369
+ S(o, {
370
370
  get href() {
371
- return f(x);
371
+ return u(w);
372
372
  },
373
- children: (w, b) => {
374
- q();
375
- var d = O();
376
- y(() => C(d, H.phoneNumber)), h(w, d);
373
+ children: (m, x) => {
374
+ U();
375
+ var v = Y();
376
+ y(() => z(v, N.phoneNumber)), f(m, v);
377
377
  },
378
378
  $$slots: { default: !0 }
379
- }), n(i), y(() => {
380
- C(m, H.title), C(u, `${H.street},`), C(r, `${H.city}, Ontario, Canada`), C(p, H.postalCode);
381
- }), h(g, i), S();
379
+ }), l(n), y(() => {
380
+ z(b, N.title), z(h, `${N.street},`), z(s, `${N.city}, Ontario, Canada`), z(d, N.postalCode);
381
+ }), f(g, n), P();
382
382
  }
383
- N(ie, {}, [], [], !0);
384
- var De = $("<footer><!> <div><div><!> <!> <!> <!></div> <!> <!></div></footer>");
385
- function Ee(g, t) {
386
- I(t, !0);
387
- const i = E({
383
+ H(n1, {}, [], [], !0);
384
+ var O1 = V("<footer><!> <div><div><!> <!> <!> <!></div> <!> <!></div></footer>");
385
+ function R1(g, t) {
386
+ F(t, !0);
387
+ const n = R({
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 l = be(Q([]));
394
- ye(() => {
393
+ let i = x1(Q([]));
394
+ y1(() => {
395
395
  const a = () => {
396
- ke(l, Q(Array.from(t.$$host.children).filter((_) => _.tagName === "A").map((_) => ({
397
- text: _.textContent ?? "",
398
- href: _.getAttribute("href") ?? ""
396
+ _1(i, Q(Array.from(t.$$host.children).filter((k) => k.tagName === "A").map((k) => ({
397
+ text: k.textContent ?? "",
398
+ href: k.getAttribute("href") ?? ""
399
399
  }))));
400
400
  };
401
401
  a();
402
- const k = new MutationObserver(a);
403
- return k.observe(t.$$host, { childList: !0, subtree: !0 }), () => {
404
- k.disconnect();
402
+ const _ = new MutationObserver(a);
403
+ return _.observe(t.$$host, { childList: !0, subtree: !0 }), () => {
404
+ _.disconnect();
405
405
  };
406
406
  });
407
- const { footer: m, wrapper: c } = i();
408
- var u = De(), s = v(u);
407
+ const { footer: b, wrapper: c } = n();
408
+ var h = O1(), r = p(h);
409
409
  {
410
- var r = (a) => {
411
- se(a, {
410
+ var s = (a) => {
411
+ r1(a, {
412
412
  get links() {
413
- return f(l);
413
+ return u(i);
414
414
  }
415
415
  });
416
416
  };
417
- j(s, (a) => {
418
- Array.isArray(f(l)) && f(l).length > 0 && a(r);
417
+ B(r, (a) => {
418
+ Array.isArray(u(i)) && u(i).length > 0 && a(s);
419
419
  });
420
420
  }
421
- var e = M(s, 2), p = v(e), o = v(p);
422
- ae(o);
423
- var x = M(o, 2);
424
- oe(x, {});
425
- var w = M(x, 2);
426
- P(w, {
421
+ var e = M(r, 2), d = p(e), o = p(d);
422
+ a1(o);
423
+ var w = M(o, 2);
424
+ o1(w, {});
425
+ var m = M(w, 2);
426
+ S(m, {
427
427
  get href() {
428
- return re.directory;
428
+ return s1.directory;
429
429
  },
430
- children: (a, k) => {
431
- q();
432
- var _ = O("Social Media Directory");
433
- h(a, _);
430
+ children: (a, _) => {
431
+ U();
432
+ var k = Y("Social Media Directory");
433
+ f(a, k);
434
434
  },
435
435
  $$slots: { default: !0 }
436
436
  });
437
- var b = M(w, 2);
438
- P(b, {
437
+ var x = M(m, 2);
438
+ S(x, {
439
439
  href: "https://www.uoguelph.ca/web/",
440
- children: (a, k) => {
441
- q();
442
- var _ = O();
443
- y((F) => C(_, `© ${F ?? ""} University of Guelph`), [() => (/* @__PURE__ */ new Date()).getFullYear()]), h(a, _);
440
+ children: (a, _) => {
441
+ U();
442
+ var k = Y();
443
+ y((Z) => z(k, `© ${Z ?? ""} University of Guelph`), [() => (/* @__PURE__ */ new Date()).getFullYear()]), f(a, k);
444
444
  },
445
445
  $$slots: { default: !0 }
446
- }), n(p);
447
- var d = M(p, 2);
448
- ne(d, {});
449
- var z = M(d, 2);
450
- ie(z, {}), n(e), n(u), y(
451
- (a, k) => {
452
- V(e, 1, a), V(p, 1, k);
446
+ }), l(d);
447
+ var v = M(d, 2);
448
+ l1(v, {});
449
+ var L = M(v, 2);
450
+ n1(L, {}), l(e), l(h), y(
451
+ (a, _) => {
452
+ C(e, 1, a), C(d, 1, _);
453
453
  },
454
454
  [
455
- () => L(m()),
456
- () => L(c())
455
+ () => $(b()),
456
+ () => $(c())
457
457
  ]
458
- ), h(g, u), S();
458
+ ), f(g, h), P();
459
459
  }
460
- customElements.define("uofg-footer", N(Ee, {}, [], [], !0, (g) => class extends g {
460
+ customElements.define("uofg-footer", H(R1, {}, [], [], !0, (g) => class extends g {
461
461
  constructor() {
462
- super(), _e(this.shadowRoot);
462
+ super(), k1(this.shadowRoot);
463
463
  }
464
464
  }));
465
465
  export {
466
- Ee as default
466
+ R1 as default
467
467
  };