@uoguelph/web-components 1.7.6 → 1.9.0-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.
@@ -0,0 +1,43 @@
1
+ import { aG as d, D as c, B as g, aH as i, u as p, an as m, aI as b, aJ as v, w as h, aK as k } from "./font-awesome-icon-AppLwNgo.js";
2
+ function x(n = !1) {
3
+ const s = (
4
+ /** @type {ComponentContextLegacy} */
5
+ m
6
+ ), e = s.l.u;
7
+ if (!e) return;
8
+ let f = () => v(s.s);
9
+ if (n) {
10
+ let t = 0, a = (
11
+ /** @type {Record<string, any>} */
12
+ {}
13
+ );
14
+ const _ = h(() => {
15
+ let l = !1;
16
+ const r = s.s;
17
+ for (const o in r)
18
+ r[o] !== a[o] && (a[o] = r[o], l = !0);
19
+ return l && t++, t;
20
+ });
21
+ f = () => p(_);
22
+ }
23
+ e.b.length && d(() => {
24
+ u(s, f), i(e.b);
25
+ }), c(() => {
26
+ const t = g(() => e.m.map(b));
27
+ return () => {
28
+ for (const a of t)
29
+ typeof a == "function" && a();
30
+ };
31
+ }), e.a.length && c(() => {
32
+ u(s, f), i(e.a);
33
+ });
34
+ }
35
+ function u(n, s) {
36
+ if (n.l.s)
37
+ for (const e of n.l.s) p(e);
38
+ s();
39
+ }
40
+ k();
41
+ export {
42
+ x as i
43
+ };
@@ -0,0 +1,18 @@
1
+ import { H as r, I as l } from "./font-awesome-icon-AppLwNgo.js";
2
+ function d(i, t, e, s, o) {
3
+ var a;
4
+ r && l();
5
+ var n = (a = t.$$slots) == null ? void 0 : a[e], f = !1;
6
+ n === !0 && (n = t[e === "default" ? "children" : e], f = !0), n === void 0 || n(i, f ? () => s : s);
7
+ }
8
+ function c(i) {
9
+ const t = {};
10
+ i.children && (t.default = !0);
11
+ for (const e in i.$$slots)
12
+ t[e] = !0;
13
+ return t;
14
+ }
15
+ export {
16
+ d as a,
17
+ c as s
18
+ };
@@ -1,26 +1,52 @@
1
- import { c as g, F as u, s as b, a as _, t as p, f as h, b as w, d as s, e as a, r as l } from "./font-awesome-icon-D_uThmUr.js";
2
- import "./legacy-D2Q6IFRf.js";
3
- import { s as o } from "./slot-BQDpwPCx.js";
4
- var y = p('<div class="flex flex-col"><div class="flex items-center bg-red p-4 text-lg text-white [&amp;>svg]:mr-4 [&amp;>svg]:h-[1.5em] [&amp;>svg]:fill-current"><!> <!></div> <div><!> <!></div> <div class="flex bg-light-grey px-4 py-2 text-lg"><!></div></div>');
5
- function E(i, e) {
6
- var r = y(), d = s(r), n = s(d);
7
- u(n, { icon: h });
8
- var c = a(n, 2);
9
- o(c, e, "title", {}), l(d);
10
- var t = a(d, 2);
11
- b(t, 'flex flex-col bg-white px-6 py-3 [&>slot[name="message"]::slotted(*)]:text-base [&>slot[name="subtitle"]::slotted(*)]:mb-4 [&>slot[name="subtitle"]::slotted(*)]:text-xl [&>slot[name="subtitle"]::slotted(*)]:font-bold');
12
- var m = s(t);
13
- o(m, e, "subtitle", {});
14
- var f = a(m, 2);
15
- o(f, e, "message", {}), l(t);
16
- var v = a(t, 2), x = s(v);
17
- o(x, e, "footer", {}), l(v), l(r), _(i, r);
1
+ import { c as h, p, a as y, F as w, s as E, t as r, b as F, d as j, e as k, f as z, g as C, h as R, i as S, j as i, k as d, r as n } from "./font-awesome-icon-AppLwNgo.js";
2
+ import { s as T, a as c } from "./slot-CexNersB.js";
3
+ var U = z('<div class="flex flex-col"><div class="flex items-center p-4 text-lg [&amp;>svg]:mr-4 [&amp;>svg]:h-[1.5em] [&amp;>svg]:fill-current"><!> <!></div> <div><!> <!></div> <div class="flex bg-light-grey text-lg"><!></div></div>');
4
+ function q(g, l) {
5
+ const e = T(l);
6
+ p(l, !0);
7
+ let t = y(l, "color", 7, "red");
8
+ var f = U(), a = i(f), m = i(a);
9
+ w(m, { icon: C });
10
+ var u = d(m, 2);
11
+ c(u, l, "title", {}), n(a);
12
+ var o = d(a, 2);
13
+ E(o, 'flex flex-col bg-white px-6 py-3 [&>slot[name="message"]::slotted(*)]:text-base [&>slot[name="subtitle"]::slotted(*)]:mb-4 [&>slot[name="subtitle"]::slotted(*)]:text-xl [&>slot[name="subtitle"]::slotted(*)]:font-bold border-light-grey border-t-0 border'), r(o, "border-b", !(e != null && e.footer));
14
+ var b = i(o);
15
+ c(b, l, "subtitle", {});
16
+ var v = d(b, 2);
17
+ c(v, l, "message", {}), n(o);
18
+ var s = d(o, 2);
19
+ r(s, "px-4", e == null ? void 0 : e.footer), r(s, "py-2", e == null ? void 0 : e.footer);
20
+ var x = i(s);
21
+ return c(x, l, "footer", {}), n(s), n(f), F(() => {
22
+ r(a, "bg-red", t() === "red"), r(a, "bg-yellow", t() === "yellow"), r(a, "bg-green", t() === "green"), r(a, "bg-blue", t() === "blue"), r(a, "text-white", t() === "red" || t() === "blue" || t() === "green");
23
+ }), j(g, f), k({
24
+ get color() {
25
+ return t();
26
+ },
27
+ set color(_ = "red") {
28
+ t(_), R();
29
+ }
30
+ });
18
31
  }
19
- customElements.define("uofg-alert", g(E, {}, ["title", "subtitle", "message", "footer"], [], !0, (i) => class extends i {
20
- constructor() {
21
- super(), w(this.shadowRoot);
32
+ customElements.define("uofg-alert", h(
33
+ q,
34
+ {
35
+ color: {
36
+ attribute: "color",
37
+ reflect: !0,
38
+ type: "String"
39
+ }
40
+ },
41
+ ["title", "subtitle", "message", "footer"],
42
+ [],
43
+ !0,
44
+ (g) => class extends g {
45
+ constructor() {
46
+ super(), S(this.shadowRoot);
47
+ }
22
48
  }
23
- }));
49
+ ));
24
50
  export {
25
- E as default
51
+ q as default
26
52
  };
@@ -1,21 +1,21 @@
1
- import { g as b, c as m, p as h, h as _, F as g, i as v, a as w, j as x, t as k, k as y, l as n, m as T, n as e, b as j, o as c, d as i, s as F, q as U, u as q, r as l, v as z } from "./font-awesome-icon-D_uThmUr.js";
2
- import { b as B } from "./window-B7CZwhaD.js";
1
+ import { l as b, c as m, p as h, m as _, F as w, b as v, d as g, e as x, f as y, n as k, o as n, q as T, u as e, i as j, v as c, j as i, s as F, w as U, x as q, r as l, y as z } from "./font-awesome-icon-AppLwNgo.js";
2
+ import { b as B } from "./window-CPkdhWRF.js";
3
3
  import { t as C } from "./bundle-mjs-BpzLJ4dA.js";
4
4
  const E = () => {
5
5
  window.scroll({ top: 0, left: 0, behavior: "smooth" });
6
6
  };
7
- var J = k('<button><span aria-hidden="true"><!></span> <span class="sr-only">Back to top of page</span></button>');
7
+ var J = y('<button><span aria-hidden="true"><!></span> <span class="sr-only">Back to top of page</span></button>');
8
8
  function R(s, p) {
9
9
  h(p, !0);
10
- let o = c(!1), a = c(0);
10
+ let a = c(!1), o = c(0);
11
11
  _(() => {
12
- n(o, e(a) > 50);
12
+ n(a, e(o) > 50);
13
13
  });
14
14
  var t = J();
15
15
  t.__click = [E];
16
- const d = U(() => q(C("flex z-10 justify-center items-center text-lg w-10 h-10 border border-white bg-black fixed bottom-8 right-8 text-white hover:bg-red focus:bg-red transition", e(o) ? "opacity-100" : "opacity-0")));
17
- var r = i(t), u = i(r);
18
- g(u, { icon: y }), l(r), z(2), l(t), v(() => F(t, e(d))), B("y", () => e(a), (f) => n(a, T(f))), w(s, t), x();
16
+ const d = U(() => q(C("flex z-10 justify-center items-center text-lg w-10 h-10 border border-white bg-black fixed bottom-8 right-8 text-white hover:bg-red focus:bg-red transition", e(a) ? "opacity-100" : "opacity-0")));
17
+ var r = i(t), f = i(r);
18
+ w(f, { icon: k }), l(r), z(2), l(t), v(() => F(t, e(d))), B("y", () => e(o), (u) => n(o, T(u))), g(s, t), x();
19
19
  }
20
20
  b(["click"]);
21
21
  customElements.define("uofg-back-to-top", m(R, {}, [], [], !0, (s) => class extends s {
@@ -1,127 +1,142 @@
1
- import { c as k, p as M, A as N, J as H, i as V, a as g, K as F, j as C, E as A, t as x, C as y, L as m, n as w, d as a, r, M as E, N as O, O as R, P as W, Q as X, R as B, T as D, U as Z, V as K, W as J, X as Q, F as L, s as $, e as b, Y as e1, Z as t1, b as r1 } from "./font-awesome-icon-D_uThmUr.js";
2
- import "./legacy-D2Q6IFRf.js";
3
- import { i as S } from "./lifecycle-C9pWbZWQ.js";
4
- var a1 = x('<li class="p-3"><a class="transition-all decoration-transparent text-blue hover:text-blue-800 focus:text-blue-800 hover:underline focus:underline hover:decoration-current focus:decoration-current"> </a></li>'), o1 = x('<ul class="flex flex-wrap items-center justify-center bg-white p-3 px-[max(calc((100%-1320px)/2),2rem)]"></ul>');
5
- function G(s, e) {
6
- M(e, !0);
7
- let t = N(e, "links", 7);
8
- var o = o1();
9
- return H(o, 21, t, F, (i, f) => {
10
- let n = () => w(f).text, l = () => w(f).href;
11
- var v = a1(), c = a(v), d = a(c, !0);
12
- r(c), r(v), V(() => {
13
- y(c, "href", l()), m(d, n());
14
- }), g(i, v);
15
- }), r(o), g(s, o), C({
1
+ import { c as y, p as C, a as A, J as F, b as V, d as g, K as L, e as M, h as P, f as w, E as k, L as m, u as x, j as a, r, M as O, N as Y, O as W, P as X, Q as Z, R as B, T as D, U as S, V as K, W as J, X as Q, F as z, s as $, k as b, Y as ee, Z as te, i as re } from "./font-awesome-icon-AppLwNgo.js";
2
+ import { i as H } from "./legacy-CNO5GCyF.js";
3
+ var ae = w('<li class="p-3"><a class="transition-all decoration-transparent text-blue hover:text-blue-800 focus:text-blue-800 hover:underline focus:underline hover:decoration-current focus:decoration-current"> </a></li>'), se = w('<ul class="flex flex-wrap items-center justify-center bg-white p-3 px-[max(calc((100%-1320px)/2),2rem)]"></ul>');
4
+ function G(o, e) {
5
+ C(e, !0);
6
+ let t = A(e, "links", 7);
7
+ var s = se();
8
+ return F(s, 21, t, L, (n, h) => {
9
+ let c = () => x(h).text, l = () => x(h).href;
10
+ var d = ae(), i = a(d), p = a(i, !0);
11
+ r(i), r(d), V(() => {
12
+ k(i, "href", l()), m(p, c());
13
+ }), g(n, d);
14
+ }), r(s), g(o, s), M({
16
15
  get links() {
17
16
  return t();
18
17
  },
19
- set links(i) {
20
- t(i), A();
18
+ set links(n) {
19
+ t(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.1h-.4l-.1-.3c-.3-1.1-.5-1.2-1.4-1.2h-2.5V7h2.2c.8 0 1-.1 1-1.1h.4v2.8h-.4c-.1-1-.3-1.1-1-1.1h-2.2v2.5c0 .9.1 1 .8 1h1.5c1.4 0 1.7-.2 2.1-1.6h.4l-.2 2.2h-7.4ZM107.4 10.9c0 .7-.5 1.1-1.3 1.1s-1.3-.4-1.3-1.1a1.2 1.2 0 0 1 1.3-1.2 1.2 1.2 0 0 1 1.3 1.2Z"></path></svg>');
26
- function T(s) {
27
- var e = s1();
28
- g(s, e);
23
+ y(G, { links: {} }, [], [], !0);
24
+ var oe = O(`<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 819.54 168.95"><defs><style>.cls-1 {
25
+ fill: #221f20;
26
+ }
27
+
28
+ .cls-2 {
29
+ fill: #fff;
30
+ font-family: MyriadPro-Regular, 'Myriad Pro';
31
+ font-size: 44.28px;
32
+ }
33
+
34
+ .cls-3 {
35
+ letter-spacing: 0em;
36
+ }
37
+
38
+ .cls-4 {
39
+ fill: #e51937;
40
+ }</style></defs><g><rect class="cls-1" x="52.23" y="41.77" width="715.86" height="75.98"></rect><path class="cls-4" d="M766.59,43.27v72.98H53.73V43.27h712.86M769.59,40.27H50.73v78.98h718.86V40.27h0Z"></path></g><text class="cls-2" transform="translate(274.94 93.06)"><tspan x="0" y="0">IMP</tspan><tspan class="cls-3" x="69.75" y="0">R</tspan><tspan x="93.71" y="0">OVE LIFE</tspan></text></svg>`);
41
+ function I(o) {
42
+ var e = oe();
43
+ g(o, e);
29
44
  }
30
- k(T, {}, [], [], !0);
31
- var c1 = x('<a href="https://www.uoguelph.ca/improve-life" aria-label="Improve Life" class="flex transition-opacity focus:opacity-75 hover:opacity-75 [&amp;>svg]:block [&amp;>svg]:h-[1.6em] [&amp;>svg]:mb-4"><!></a>');
32
- function U(s) {
33
- var e = c1(), t = a(e);
34
- T(t), r(e), g(s, e);
45
+ y(I, {}, [], [], !0);
46
+ var ie = w('<a href="https://www.uoguelph.ca/improve-life" aria-label="Improve Life" class="flex transition-opacity focus:opacity-75 hover:opacity-75 [&amp;>svg]:block [&amp;>svg]:w-full"><!></a>');
47
+ function T(o) {
48
+ var e = ie(), t = a(e);
49
+ I(t), r(e), g(o, e);
35
50
  }
36
- k(U, {}, [], [], !0);
51
+ y(T, {}, [], [], !0);
37
52
  /*!
38
53
  * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
39
54
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
40
55
  * Copyright 2024 Fonticons, Inc.
41
56
  */
42
- const i1 = {
57
+ const ne = {
43
58
  prefix: "fab",
44
59
  iconName: "tiktok",
45
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"]
46
- }, n1 = {
61
+ }, ce = {
47
62
  prefix: "fab",
48
63
  iconName: "square-facebook",
49
64
  icon: [448, 512, ["facebook-square"], "f082", "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64h98.2V334.2H109.4V256h52.8V222.3c0-87.1 39.4-127.5 125-127.5c16.2 0 44.2 3.2 55.7 6.4V172c-6-.6-16.5-1-29.6-1c-42 0-58.2 15.9-58.2 57.2V256h83.6l-14.4 78.2H255V480H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64z"]
50
- }, l1 = n1, h1 = {
65
+ }, le = ce, ue = {
51
66
  prefix: "fab",
52
67
  iconName: "linkedin",
53
68
  icon: [448, 512, [], "f08c", "M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"]
54
- }, u1 = {
69
+ }, fe = {
55
70
  prefix: "fab",
56
71
  iconName: "instagram",
57
72
  icon: [448, 512, [], "f16d", "M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"]
58
- }, f1 = {
73
+ }, he = {
59
74
  prefix: "fab",
60
75
  iconName: "youtube",
61
76
  icon: [576, 512, [61802], "f167", "M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"]
62
- }, v1 = {
77
+ }, de = {
63
78
  prefix: "fab",
64
79
  iconName: "square-x-twitter",
65
80
  icon: [448, 512, [], "e61a", "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm297.1 84L257.3 234.6 379.4 396H283.8L209 298.1 123.3 396H75.8l111-126.9L69.7 116h98l67.7 89.5L313.6 116h47.5zM323.3 367.6L153.4 142.9H125.1L296.9 367.6h26.3z"]
66
- }, z = {
81
+ }, N = {
67
82
  directory: "https://www.uoguelph.ca/web/socialmedia/",
68
83
  links: [
69
84
  {
70
85
  text: "X",
71
- icon: v1,
86
+ icon: de,
72
87
  href: "https://twitter.com/uofg",
73
88
  classes: "focus:text-[#1da1f2] hover:text-[#1da1f2]"
74
89
  },
75
90
  {
76
91
  text: "Facebook",
77
- icon: l1,
92
+ icon: le,
78
93
  href: "https://www.facebook.com/uofguelph",
79
94
  classes: "focus:text-[#4267b2] hover:text-[#4267b2]"
80
95
  },
81
96
  {
82
97
  text: "Instagram",
83
- icon: u1,
98
+ icon: fe,
84
99
  href: "https://www.instagram.com/uofguelph/",
85
100
  classes: "focus:text-[#e1306c] hover:text-[#e1306c]"
86
101
  },
87
102
  {
88
103
  text: "Youtube",
89
- icon: f1,
104
+ icon: he,
90
105
  href: "https://www.youtube.com/user/uofguelph",
91
106
  classes: "focus:text-[#f00] hover:text-[#f00]"
92
107
  },
93
108
  {
94
109
  text: "LinkedIn",
95
- icon: h1,
110
+ icon: ue,
96
111
  href: "https://www.linkedin.com/school/university-of-guelph/",
97
112
  classes: "focus:text-[#0077b5] hover:text-[#0077b5]"
98
113
  },
99
114
  {
100
115
  text: "TikTok",
101
- icon: i1,
116
+ icon: ne,
102
117
  href: "https://www.tiktok.com/@uofguelph",
103
118
  classes: "focus:text-[#f00] hover:text-[#f00]"
104
119
  }
105
120
  ]
106
- }, d1 = [
121
+ }, pe = [
107
122
  {
108
123
  text: "Accessibility",
109
- icon: O,
124
+ icon: Y,
110
125
  href: "https://www.uoguelph.ca/diversity-human-rights/accessibility-u-g"
111
126
  },
112
127
  {
113
128
  text: "Privacy",
114
- icon: R,
129
+ icon: W,
115
130
  href: "https://www.uoguelph.ca/web/privacy/"
116
131
  },
117
132
  {
118
133
  text: "Site Map",
119
- icon: W,
134
+ icon: X,
120
135
  href: "https://www.uoguelph.ca/sitemap"
121
136
  },
122
137
  {
123
138
  text: "Status Page",
124
- icon: X,
139
+ icon: Z,
125
140
  href: "https://uoguelph.statuspage.io/"
126
141
  },
127
142
  {
@@ -137,12 +152,12 @@ const i1 = {
137
152
  },
138
153
  {
139
154
  text: "Undergraduate Calendar",
140
- icon: Z,
155
+ icon: S,
141
156
  href: "https://www.uoguelph.ca/registrar/calendars/undergraduate/current/"
142
157
  },
143
158
  {
144
159
  text: "Graduate Calendar",
145
- icon: Z,
160
+ icon: S,
146
161
  href: "https://www.uoguelph.ca/registrar/calendars/graduate/current/"
147
162
  },
148
163
  {
@@ -162,107 +177,107 @@ const i1 = {
162
177
  postalCode: "N1G 2W1",
163
178
  phoneNumber: "519-824-4120"
164
179
  };
165
- var p1 = x("<li><a><!></a></li>"), b1 = x('<ul class="flex gap-3 text-2xl [&amp;>li]:contents"></ul> <a class="w-fit border-0 border-b-2 border-dotted border-transparent transition-colors focus:border-white hover:border-white">Social Media Directory</a>', 1);
166
- function j(s, e) {
167
- M(e, !1), S();
168
- var t = b1(), o = Q(t);
169
- H(o, 5, () => z.links, F, (f, n) => {
170
- let l = () => w(n).href, v = () => w(n).text, c = () => w(n).icon, d = () => w(n).classes;
171
- var h = p1(), u = a(h), p = a(u);
172
- L(p, {
180
+ var ve = w("<li><a><!></a></li>"), be = w('<ul class="flex gap-3 text-2xl [&amp;>li]:contents"></ul> <a class="w-fit border-0 border-b-2 border-dotted border-transparent transition-colors focus:border-white hover:border-white">Social Media Directory</a>', 1);
181
+ function U(o, e) {
182
+ C(e, !1), H();
183
+ var t = be(), s = Q(t);
184
+ F(s, 5, () => N.links, L, (h, c) => {
185
+ let l = () => x(c).href, d = () => x(c).text, i = () => x(c).icon, p = () => x(c).classes;
186
+ var u = ve(), f = a(u), v = a(f);
187
+ z(v, {
173
188
  get icon() {
174
- return c();
189
+ return i();
175
190
  }
176
- }), r(u), r(h), V(() => {
177
- y(u, "href", l()), y(u, "aria-label", v()), $(u, `transition-colors ${d()}`);
178
- }), g(f, h);
179
- }), r(o);
180
- var i = b(o, 2);
181
- V(() => y(i, "href", z.directory)), g(s, t), C();
191
+ }), r(f), r(u), V(() => {
192
+ k(f, "href", l()), k(f, "aria-label", d()), $(f, `transition-colors ${p()}`);
193
+ }), g(h, u);
194
+ }), r(s);
195
+ var n = b(s, 2);
196
+ V(() => k(n, "href", N.directory)), g(o, t), M();
182
197
  }
183
- k(j, {}, [], [], !0);
184
- var g1 = x('<a class="w-fit border-0 border-b-2 border-dotted border-transparent transition-colors focus:border-white hover:border-white" href="https://www.uoguelph.ca/web/"> </a>');
185
- function P(s, e) {
186
- M(e, !1), S();
187
- var t = g1(), o = a(t);
188
- V(() => m(o, `© ${(/* @__PURE__ */ new Date()).getFullYear() ?? ""} University of Guelph`)), r(t), g(s, t), C();
198
+ y(U, {}, [], [], !0);
199
+ var ge = w('<a class="w-fit border-0 border-b-2 border-dotted border-transparent transition-colors focus:border-white hover:border-white" href="https://www.uoguelph.ca/web/"> </a>');
200
+ function j(o, e) {
201
+ C(e, !1), H();
202
+ var t = ge(), s = a(t);
203
+ V(() => m(s, `© ${(/* @__PURE__ */ new Date()).getFullYear() ?? ""} University of Guelph`)), r(t), g(o, t), M();
189
204
  }
190
- k(P, {}, [], [], !0);
191
- var w1 = x('<li><a class="flex justify-center items-center w-fit gap-2 border-0 border-b-2 border-dotted border-transparent transition-colors focus:border-white hover:border-white [&amp;>svg]:fill-yellow"><!> <span> </span></a></li>'), x1 = x('<div class="flex justify-center md:col-span-2 md:row-start-2 lg:row-auto"><ul class="w-full flex flex-col gap-2 md:grid md:grid-cols-2 [&amp;>li]:contents"></ul></div>');
192
- function q(s) {
193
- var e = x1(), t = a(e);
194
- H(t, 5, () => d1, F, (o, i) => {
195
- let f = () => w(i).href, n = () => w(i).title, l = () => w(i).icon, v = () => w(i).text;
196
- var c = w1(), d = a(c), h = a(d);
197
- L(h, {
205
+ y(j, {}, [], [], !0);
206
+ var xe = w('<li><a class="flex justify-center items-center w-fit gap-2 border-0 border-b-2 border-dotted border-transparent transition-colors focus:border-white hover:border-white [&amp;>svg]:fill-yellow"><!> <span> </span></a></li>'), we = w('<div class="flex justify-center md:col-span-2 md:row-start-2 lg:row-auto"><ul class="w-full flex flex-col gap-2 md:grid md:grid-cols-2 [&amp;>li]:contents"></ul></div>');
207
+ function q(o) {
208
+ var e = we(), t = a(e);
209
+ F(t, 5, () => pe, L, (s, n) => {
210
+ let h = () => x(n).href, c = () => x(n).title, l = () => x(n).icon, d = () => x(n).text;
211
+ var i = xe(), p = a(i), u = a(p);
212
+ z(u, {
198
213
  get icon() {
199
214
  return l();
200
215
  }
201
216
  });
202
- var u = b(h, 2), p = a(u, !0);
203
- r(u), r(d), r(c), V(() => {
204
- y(d, "href", f()), y(d, "title", n() ?? ""), m(p, v());
205
- }), g(o, c);
206
- }), r(t), r(e), g(s, e);
217
+ var f = b(u, 2), v = a(f, !0);
218
+ r(f), r(p), r(i), V(() => {
219
+ k(p, "href", h()), k(p, "title", c() ?? ""), m(v, d());
220
+ }), g(s, i);
221
+ }), r(t), r(e), g(o, e);
207
222
  }
208
- k(q, {}, [], [], !0);
209
- var m1 = x('<address class="flex flex-col justify-between gap-4 not-italic"><strong> </strong> <span> </span> <span> </span> <span> </span> <a class="flex justify-center items-center w-fit gap-2 border-0 border-b-2 border-dotted border-transparent text-blue-400 transition-colors focus:border-current hover:border-current"><!> <span> </span></a></address>');
210
- function I(s, e) {
211
- M(e, !1), S();
212
- var t = m1(), o = a(t), i = a(o, !0);
213
- r(o);
214
- var f = b(o, 2), n = a(f);
215
- r(f);
216
- var l = b(f, 2), v = a(l);
223
+ y(q, {}, [], [], !0);
224
+ var me = w('<address class="flex flex-col justify-between gap-4 not-italic"><strong> </strong> <span> </span> <span> </span> <span> </span> <a class="flex justify-center items-center w-fit gap-2 border-0 border-b-2 border-dotted border-transparent text-blue-400 transition-colors focus:border-current hover:border-current"><!> <span> </span></a></address>');
225
+ function E(o, e) {
226
+ C(e, !1), H();
227
+ var t = me(), s = a(t), n = a(s, !0);
228
+ r(s);
229
+ var h = b(s, 2), c = a(h);
230
+ r(h);
231
+ var l = b(h, 2), d = a(l);
217
232
  r(l);
218
- var c = b(l, 2), d = a(c, !0);
219
- r(c);
220
- var h = b(c, 2), u = a(h);
221
- L(u, { icon: e1 });
222
- var p = b(u, 2), Y = a(p, !0);
223
- r(p), r(h), r(t), V(() => {
224
- m(i, _.title), m(n, `${_.street},`), m(v, `${_.city}, Ontario, Canada`), m(d, _.postalCode), y(h, "href", `tel:${_.phoneNumber}`), m(Y, _.phoneNumber);
225
- }), g(s, t), C();
233
+ var i = b(l, 2), p = a(i, !0);
234
+ r(i);
235
+ var u = b(i, 2), f = a(u);
236
+ z(f, { icon: ee });
237
+ var v = b(f, 2), R = a(v, !0);
238
+ r(v), r(u), r(t), V(() => {
239
+ m(n, _.title), m(c, `${_.street},`), m(d, `${_.city}, Ontario, Canada`), m(p, _.postalCode), k(u, "href", `tel:${_.phoneNumber}`), m(R, _.phoneNumber);
240
+ }), g(o, t), M();
226
241
  }
227
- k(I, {}, [], [], !0);
228
- var k1 = x('<footer><!> <div class="flex flex-col content-center gap-6 bg-black px-[max(calc((100%-1320px)/2),2rem)] py-6 text-white md:grid md:grid-cols-2 lg:grid-cols-4"><div class="flex flex-col justify-between gap-2"><!> <!> <!></div> <!> <!></div></footer>');
229
- function y1(s, e) {
230
- M(e, !0);
231
- let t = N(e, "subFooter", 7);
232
- var o = k1(), i = a(o);
242
+ y(E, {}, [], [], !0);
243
+ var ye = w('<footer><!> <div class="flex flex-col content-center gap-6 bg-black px-[max(calc((100%-1320px)/2),2rem)] py-6 text-white md:grid md:grid-cols-2 lg:grid-cols-4"><div class="flex flex-col justify-between gap-2"><!> <!> <!></div> <!> <!></div></footer>');
244
+ function ke(o, e) {
245
+ C(e, !0);
246
+ let t = A(e, "subFooter", 7);
247
+ var s = ye(), n = a(s);
233
248
  {
234
- var f = (p) => {
235
- G(p, {
249
+ var h = (v) => {
250
+ G(v, {
236
251
  get links() {
237
252
  return t();
238
253
  }
239
254
  });
240
255
  };
241
- t1(i, (p) => {
242
- Array.isArray(t()) && t().length > 0 && p(f);
256
+ te(n, (v) => {
257
+ Array.isArray(t()) && t().length > 0 && v(h);
243
258
  });
244
259
  }
245
- var n = b(i, 2), l = a(n), v = a(l);
246
- U(v);
247
- var c = b(v, 2);
248
- j(c, {});
249
- var d = b(c, 2);
250
- P(d, {}), r(l);
251
- var h = b(l, 2);
252
- q(h);
253
- var u = b(h, 2);
254
- return I(u, {}), r(n), r(o), g(s, o), C({
260
+ var c = b(n, 2), l = a(c), d = a(l);
261
+ T(d);
262
+ var i = b(d, 2);
263
+ U(i, {});
264
+ var p = b(i, 2);
265
+ j(p, {}), r(l);
266
+ var u = b(l, 2);
267
+ q(u);
268
+ var f = b(u, 2);
269
+ return E(f, {}), r(c), r(s), g(o, s), M({
255
270
  get subFooter() {
256
271
  return t();
257
272
  },
258
- set subFooter(p) {
259
- t(p), A();
273
+ set subFooter(v) {
274
+ t(v), P();
260
275
  }
261
276
  });
262
277
  }
263
- customElements.define("uofg-footer", k(y1, { subFooter: {} }, [], [], !0, (s) => class extends s {
278
+ customElements.define("uofg-footer", y(ke, { subFooter: {} }, [], [], !0, (o) => class extends o {
264
279
  constructor() {
265
- super(), r1(this.shadowRoot);
280
+ super(), re(this.shadowRoot);
266
281
  }
267
282
  connectedCallback() {
268
283
  super.connectedCallback(), this.updateSubFooter(), this.observer ?? (this.observer = new MutationObserver(() => {
@@ -280,5 +295,5 @@ customElements.define("uofg-footer", k(y1, { subFooter: {} }, [], [], !0, (s) =>
280
295
  }
281
296
  }));
282
297
  export {
283
- y1 as default
298
+ ke as default
284
299
  };