@uoguelph/web-components 2.0.2 → 2.0.3-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,141 +1,141 @@
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";
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({
1
+ import { c as N, p as F, a as I, f as V, G as B, t as y, g as L, h as z, i as u, j as G, k as T, r as s, e as v, B as U, m as h, H, I as O, 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 X, s as M, W as J, X as j, Y as K, v as Y, Z as q, q as w1, _ as m1, o as x1, b as b1 } from "./index-CImj5JYZ.js";
2
+ import { o as k1 } from "./index-client-Ba3GAaep.js";
3
+ import { c as R } from "./index-v9RZCFpF.js";
4
+ import { h as _1, i as D, s as y1 } from "./legacy-DjLlVgvW.js";
5
+ var M1 = V("<li><a> </a></li>"), V1 = V("<ul></ul>");
6
+ function t1(d, r) {
7
+ F(r, !0);
8
+ let o = I(r, "links", 7);
9
+ const l = 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: x, item: c, links: h } = n();
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(
21
- (v, L) => {
22
- C(w, 1, v), C(m, 1, L), j(m, "href", o()), z(b, d());
15
+ }), { base: w, item: i, links: n } = l();
16
+ var t = V1();
17
+ return B(t, 21, o, O, (c, e) => {
18
+ let m = () => h(e).text, _ = () => h(e).href;
19
+ var p = M1(), g = v(p), x = v(g, !0);
20
+ s(g), s(p), y(
21
+ (f, C) => {
22
+ z(p, 1, f), z(g, 1, C), U(g, "href", _()), H(x, m());
23
23
  },
24
24
  [
25
- () => $(c()),
26
- () => $(h())
25
+ () => L(i()),
26
+ () => L(n())
27
27
  ]
28
- ), f(r, w);
29
- }), l(a), y((r) => C(a, 1, r), [() => $(x())]), f(g, a), P({
28
+ ), u(c, p);
29
+ }), s(t), y((c) => z(t, 1, c), [() => L(w())]), u(d, t), G({
30
30
  get links() {
31
- return i();
31
+ return o();
32
32
  },
33
- set links(r) {
34
- i(r), T();
33
+ set links(c) {
34
+ o(c), T();
35
35
  }
36
36
  });
37
37
  }
38
- H(a1, { 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 s1(g) {
42
- var t = C1(), i = p(t);
43
- M1(i, () => $1), l(t), f(g, t);
38
+ N(t1, { links: {} }, [], [], !0);
39
+ const L1 = '<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 z1 = 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 r1(d) {
42
+ var r = z1(), o = v(r);
43
+ _1(o, () => L1), s(r), u(d, r);
44
44
  }
45
- H(s1, {}, [], [], !0);
45
+ N(r1, {}, [], [], !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 H1 = {
51
+ const C1 = {
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
- }, N1 = {
55
+ }, H1 = {
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
- }, A1 = {
59
+ }, N1 = {
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
- }, S1 = {
63
+ }, $1 = {
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
- }, F1 = {
67
+ }, A1 = {
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
+ }, S1 = {
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
+ }, a1 = {
76
76
  directory: "https://www.uoguelph.ca/web/socialmedia/",
77
77
  links: [
78
78
  {
79
79
  text: "X",
80
- icon: A1,
80
+ icon: N1,
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: N1,
86
+ icon: H1,
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: F1,
92
+ icon: A1,
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: P1,
98
+ icon: S1,
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: H1,
104
+ icon: C1,
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: S1,
110
+ icon: $1,
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
- }, 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,101 +158,87 @@ 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
- ], N = {
169
+ ], $ = {
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 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 F1 = V("<li><a><!></a></li>"), G1 = V("<ul></ul>");
177
+ function s1(d, r) {
178
+ F(r, !1);
179
+ const o = R({
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: l, links: w } = o();
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 i = G1();
187
+ B(i, 5, () => a1.links, O, (n, t, c, e) => {
188
+ let m = () => h(t).href, _ = () => h(t).text, p = () => h(t).icon, g = () => h(t).classes;
189
+ var x = F1(), f = v(x), C = v(f);
190
+ g1(C, {
191
191
  get icon() {
192
- return w();
192
+ return p();
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
+ }), s(f), s(x), y(
195
+ (a) => {
196
+ U(f, "href", m()), U(f, "aria-label", _()), z(f, 1, a);
197
197
  },
198
198
  [
199
- () => $(t1(x(), m()))
199
+ () => L(e1(w(), g()))
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
+ ), u(n, x);
203
+ }), s(i), y((n) => z(i, 1, n), [() => L(l())], A), u(d, i), G();
204
204
  }
205
- H(o1, {}, [], [], !0);
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, [
210
- "$$slots",
211
- "$$events",
212
- "$$legacy",
213
- "$$host",
214
- "href",
215
- "label",
216
- "children",
217
- "class"
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, {
224
- ...h,
225
- class: a,
226
- href: i(),
227
- "aria-label": n() ?? void 0
228
- })), f(g, r), P({
205
+ N(s1, {}, [], [], !0);
206
+ var P1 = V("<a><!></a>");
207
+ function S(d, r) {
208
+ F(r, !0);
209
+ let o = I(r, "href", 7), l = I(r, "label", 7), w = I(r, "children", 7), i = I(r, "class", 7);
210
+ const n = e1("w-fit underline decoration-transparent transition-colors hover:decoration-black-contrast focus:decoration-black-contrast", i());
211
+ var t = P1(), c = v(t);
212
+ return y1(c, w), s(t), y(() => {
213
+ z(t, 1, L(n)), U(t, "href", o()), U(t, "aria-label", l() ?? void 0);
214
+ }), u(d, t), G({
229
215
  get href() {
230
- return i();
216
+ return o();
231
217
  },
232
- set href(o) {
233
- i(o), T();
218
+ set href(e) {
219
+ o(e), T();
234
220
  },
235
221
  get label() {
236
- return n();
222
+ return l();
237
223
  },
238
- set label(o) {
239
- n(o), T();
224
+ set label(e) {
225
+ l(e), T();
240
226
  },
241
227
  get children() {
242
- return x();
228
+ return w();
243
229
  },
244
- set children(o) {
245
- x(o), T();
230
+ set children(e) {
231
+ w(e), T();
246
232
  },
247
233
  get class() {
248
- return c();
234
+ return i();
249
235
  },
250
- set class(o) {
251
- c(o), T();
236
+ set class(e) {
237
+ i(e), T();
252
238
  }
253
239
  });
254
240
  }
255
- H(
241
+ N(
256
242
  S,
257
243
  {
258
244
  href: {},
@@ -264,204 +250,208 @@ H(
264
250
  [],
265
251
  !0
266
252
  );
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({
253
+ var Z1 = V("<li><!></li>"), I1 = V("<li><!></li>"), T1 = V("<ul></ul> <ul></ul>", 1);
254
+ function o1(d, r) {
255
+ F(r, !1);
256
+ const o = R({
271
257
  slots: {
272
258
  list: "grid grid-rows-5 items-center gap-0 not-italic",
273
259
  link: "flex h-full items-center"
274
260
  }
275
- }), { list: n, link: x } = i();
261
+ }), { list: l, link: w } = o();
276
262
  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);
263
+ var i = T1(), n = X(i);
264
+ B(n, 5, () => Q, O, (c, e, m) => {
265
+ let _ = () => h(e).href, p = () => h(e).attributes, g = () => h(e).text;
266
+ var x = J(), f = X(x);
281
267
  {
282
- var L = (s) => {
283
- var _ = T1(), k = p(_);
284
- const Z = A(x);
268
+ var C = (a) => {
269
+ var b = Z1(), k = v(b);
270
+ const P = A(w);
285
271
  S(k, K(
286
272
  {
287
273
  get class() {
288
- return u(Z);
274
+ return h(P);
289
275
  },
290
276
  get href() {
291
- return o();
277
+ return _();
292
278
  }
293
279
  },
294
- w,
280
+ p,
295
281
  {
296
- children: (W, n1) => {
297
- U();
298
- var G = Y();
299
- y(() => z(G, m())), f(W, G);
282
+ children: (W, i1) => {
283
+ Y();
284
+ var Z = q();
285
+ y(() => H(Z, g())), u(W, Z);
300
286
  },
301
287
  $$slots: { default: !0 }
302
288
  }
303
- )), l(_), f(s, _);
289
+ )), s(b), u(a, b);
304
290
  };
305
- B(v, (s) => {
306
- d % 2 === 0 && s(L);
291
+ j(f, (a) => {
292
+ m % 2 === 0 && a(C);
307
293
  });
308
294
  }
309
- f(r, b);
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);
295
+ u(c, x);
296
+ }), s(n);
297
+ var t = M(n, 2);
298
+ B(t, 5, () => Q, O, (c, e, m) => {
299
+ let _ = () => h(e).href, p = () => h(e).attributes, g = () => h(e).text;
300
+ var x = J(), f = X(x);
315
301
  {
316
- var L = (s) => {
317
- var _ = U1(), k = p(_);
318
- const Z = A(x);
302
+ var C = (a) => {
303
+ var b = I1(), k = v(b);
304
+ const P = A(w);
319
305
  S(k, K(
320
306
  {
321
307
  get class() {
322
- return u(Z);
308
+ return h(P);
323
309
  },
324
310
  get href() {
325
- return o();
311
+ return _();
326
312
  }
327
313
  },
328
- w,
314
+ p,
329
315
  {
330
- children: (W, n1) => {
331
- U();
332
- var G = Y();
333
- y(() => z(G, m())), f(W, G);
316
+ children: (W, i1) => {
317
+ Y();
318
+ var Z = q();
319
+ y(() => H(Z, g())), u(W, Z);
334
320
  },
335
321
  $$slots: { default: !0 }
336
322
  }
337
- )), l(_), f(s, _);
323
+ )), s(b), u(a, b);
338
324
  };
339
- B(v, (s) => {
340
- d % 2 !== 0 && s(L);
325
+ j(f, (a) => {
326
+ m % 2 !== 0 && a(C);
341
327
  });
342
328
  }
343
- f(r, b);
344
- }), l(a), y(
345
- (r, e) => {
346
- C(h, 1, r), C(a, 1, e);
329
+ u(c, x);
330
+ }), s(t), y(
331
+ (c, e) => {
332
+ z(n, 1, c), z(t, 1, e);
347
333
  },
348
334
  [
349
- () => $(n()),
350
- () => $(n())
335
+ () => L(l()),
336
+ () => L(l())
351
337
  ],
352
338
  A
353
- ), f(g, c), P();
339
+ ), u(d, i), G();
354
340
  }
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 i1(g, t) {
358
- F(t, !1), D();
359
- var i = q1(), n = p(i), x = p(n, !0);
360
- l(n);
361
- var c = M(n, 2), h = p(c);
362
- l(c);
363
- var a = M(c, 2), r = p(a);
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, {
341
+ N(o1, {}, [], [], !0);
342
+ var U1 = 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>');
343
+ function l1(d, r) {
344
+ F(r, !1), D();
345
+ var o = U1(), l = v(o), w = v(l, !0);
346
+ s(l);
347
+ var i = M(l, 2), n = v(i);
348
+ s(i);
349
+ var t = M(i, 2), c = v(t);
350
+ s(t);
351
+ var e = M(t, 2), m = v(e, !0);
352
+ s(e);
353
+ var _ = M(e, 2);
354
+ const p = A(() => `tel:${$.phoneNumber}`);
355
+ S(_, {
370
356
  get href() {
371
- return u(w);
357
+ return h(p);
372
358
  },
373
- children: (m, b) => {
374
- U();
375
- var v = Y();
376
- y(() => z(v, N.phoneNumber)), f(m, v);
359
+ children: (g, x) => {
360
+ Y();
361
+ var f = q();
362
+ y(() => H(f, $.phoneNumber)), u(g, f);
377
363
  },
378
364
  $$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();
365
+ }), s(o), y(() => {
366
+ H(w, $.title), H(n, `${$.street},`), H(c, `${$.city}, Ontario, Canada`), H(m, $.postalCode);
367
+ }), u(d, o), G();
382
368
  }
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({
369
+ N(l1, {}, [], [], !0);
370
+ var Y1 = V("<footer><!> <div><div><!> <!> <!> <!></div> <!> <!></div></footer>");
371
+ function q1(d, r) {
372
+ F(r, !0);
373
+ const o = R({
388
374
  slots: {
389
375
  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
376
  wrapper: "mb-6 grid grid-rows-5 items-center gap-0 not-italic md:mb-0"
391
377
  }
392
378
  });
393
- let n = b1(Q([]));
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
- }))));
379
+ let l = w1(m1([]));
380
+ k1(() => {
381
+ const a = () => {
382
+ x1(
383
+ l,
384
+ Array.from(r.$$host.children).filter((k) => k.tagName === "A").map((k) => ({
385
+ text: k.textContent ?? "",
386
+ href: k.getAttribute("href") ?? ""
387
+ })),
388
+ !0
389
+ );
400
390
  };
401
- s();
402
- const _ = new MutationObserver(s);
403
- return _.observe(t.$$host, { childList: !0, subtree: !0 }), () => {
404
- _.disconnect();
391
+ a();
392
+ const b = new MutationObserver(a);
393
+ return b.observe(r.$$host, { childList: !0, subtree: !0 }), () => {
394
+ b.disconnect();
405
395
  };
406
396
  });
407
- const { footer: x, wrapper: c } = i();
408
- var h = O1(), a = p(h);
397
+ const { footer: w, wrapper: i } = o();
398
+ var n = Y1(), t = v(n);
409
399
  {
410
- var r = (s) => {
411
- a1(s, {
400
+ var c = (a) => {
401
+ t1(a, {
412
402
  get links() {
413
- return u(n);
403
+ return h(l);
414
404
  }
415
405
  });
416
406
  };
417
- B(a, (s) => {
418
- Array.isArray(u(n)) && u(n).length > 0 && s(r);
407
+ j(t, (a) => {
408
+ Array.isArray(h(l)) && h(l).length > 0 && a(c);
419
409
  });
420
410
  }
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, {
411
+ var e = M(t, 2), m = v(e), _ = v(m);
412
+ r1(_);
413
+ var p = M(_, 2);
414
+ s1(p, {});
415
+ var g = M(p, 2);
416
+ S(g, {
427
417
  get href() {
428
- return r1.directory;
418
+ return a1.directory;
429
419
  },
430
- children: (s, _) => {
431
- U();
432
- var k = Y("Social Media Directory");
433
- f(s, k);
420
+ children: (a, b) => {
421
+ Y();
422
+ var k = q("Social Media Directory");
423
+ u(a, k);
434
424
  },
435
425
  $$slots: { default: !0 }
436
426
  });
437
- var b = M(m, 2);
438
- S(b, {
427
+ var x = M(g, 2);
428
+ S(x, {
439
429
  href: "https://www.uoguelph.ca/web/",
440
- children: (s, _) => {
441
- U();
442
- var k = Y();
443
- y((Z) => z(k, `© ${Z ?? ""} University of Guelph`), [() => (/* @__PURE__ */ new Date()).getFullYear()]), f(s, k);
430
+ children: (a, b) => {
431
+ Y();
432
+ var k = q();
433
+ y((P) => H(k, `© ${P ?? ""} University of Guelph`), [() => (/* @__PURE__ */ new Date()).getFullYear()]), u(a, k);
444
434
  },
445
435
  $$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, _);
436
+ }), s(m);
437
+ var f = M(m, 2);
438
+ o1(f, {});
439
+ var C = M(f, 2);
440
+ l1(C, {}), s(e), s(n), y(
441
+ (a, b) => {
442
+ z(e, 1, a), z(m, 1, b);
453
443
  },
454
444
  [
455
- () => $(x()),
456
- () => $(c())
445
+ () => L(w()),
446
+ () => L(i())
457
447
  ]
458
- ), f(g, h), P();
448
+ ), u(d, n), G();
459
449
  }
460
- customElements.define("uofg-footer", H(R1, {}, [], [], !0, (g) => class extends g {
450
+ customElements.define("uofg-footer", N(q1, {}, [], [], !0, (d) => class extends d {
461
451
  constructor() {
462
- super(), k1(this.shadowRoot);
452
+ super(), b1(this.shadowRoot);
463
453
  }
464
454
  }));
465
455
  export {
466
- R1 as default
456
+ q1 as default
467
457
  };