@uoguelph/web-components 2.1.0-rc.3 → 2.1.1-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { T as I1, U as e2, V as t2, W as r2, X as z1, Y as $1, Z as a2, _ as L1, $ as l2, a0 as s2, a1 as q, a2 as o2, a3 as n2, a4 as c2, a5 as i2, a6 as u2, a7 as v2, i as t, R as t1, a8 as A1, a9 as h2, c as K, p as Q, a as R, aa as P1, f as $, E as M1, b as m, H as B, J as P, d as E, ab as f2, k as p, m as X, n as O, r as f, s as T, g as U, h as G, I as D, G as H, ac as d2, ad as h1, j as F, t as C1, C as m1, e as J, N as j1, ae as n1, F as I, af as k1, o as b1, D as x1, l as p1, M as p2, ag as T1, ah as S1, O as d1, Q as F1, P as g2, S as b2 } from "./index-BdfvOw43.js";
1
+ import { T as I1, U as e2, V as t2, W as r2, X as V1, Y as $1, Z as a2, _ as z1, $ as l2, a0 as s2, a1 as q, a2 as o2, a3 as n2, a4 as c2, a5 as i2, a6 as u2, a7 as v2, i as t, R as t1, a8 as E1, a9 as h2, c as K, p as Q, a as R, aa as A1, f as $, E as M1, b as m, H as B, J as P, d as E, ab as f2, k as p, m as X, n as O, r as f, s as T, g as U, h as G, I as D, G as H, ac as d2, ad as h1, j as F, t as L1, C as m1, e as J, N as N1, ae as n1, F as I, af as k1, o as b1, D as x1, l as p1, M as p2, ag as P1, ah as T1, O as d1, Q as F1, P as g2, S as b2 } from "./index-BdfvOw43.js";
2
2
  const x2 = () => performance.now(), r1 = {
3
3
  // don't access requestAnimationFrame eagerly outside method
4
4
  // this allows basic testing of user code without JSDOM
@@ -28,7 +28,7 @@ function m2(r) {
28
28
  };
29
29
  }
30
30
  function _1(r, e) {
31
- L1(() => {
31
+ z1(() => {
32
32
  r.dispatchEvent(new CustomEvent(e));
33
33
  });
34
34
  }
@@ -42,7 +42,7 @@ function _2(r) {
42
42
  (a) => a[0].toUpperCase() + a.slice(1)
43
43
  ).join("");
44
44
  }
45
- function E1(r) {
45
+ function j1(r) {
46
46
  const e = {}, a = r.split(";");
47
47
  for (const o of a) {
48
48
  const [k, w] = o.split(":");
@@ -54,9 +54,9 @@ function E1(r) {
54
54
  }
55
55
  const w2 = (r) => r;
56
56
  function i1(r, e, a, o) {
57
- var k = (r & a2) !== 0, w = "both", u, c = e.inert, S = e.style.overflow, s, g;
58
- function Z() {
59
- return L1(() => u ??= a()(e, o?.() ?? /** @type {P} */
57
+ var k = (r & a2) !== 0, w = "both", u, c = e.inert, Z = e.style.overflow, s, g;
58
+ function S() {
59
+ return z1(() => u ??= a()(e, o?.() ?? /** @type {P} */
60
60
  {}, {
61
61
  direction: w
62
62
  }));
@@ -64,12 +64,12 @@ function i1(r, e, a, o) {
64
64
  var i = {
65
65
  is_global: k,
66
66
  in() {
67
- e.inert = c, _1(e, "introstart"), s = Z1(e, Z(), g, 1, () => {
68
- _1(e, "introend"), s?.abort(), s = u = void 0, e.style.overflow = S;
67
+ e.inert = c, _1(e, "introstart"), s = Z1(e, S(), g, 1, () => {
68
+ _1(e, "introend"), s?.abort(), s = u = void 0, e.style.overflow = Z;
69
69
  });
70
70
  },
71
71
  out(v) {
72
- e.inert = !0, _1(e, "outrostart"), g = Z1(e, Z(), s, 0, () => {
72
+ e.inert = !0, _1(e, "outrostart"), g = Z1(e, S(), s, 0, () => {
73
73
  _1(e, "outroend"), v?.();
74
74
  });
75
75
  },
@@ -91,7 +91,7 @@ function i1(r, e, a, o) {
91
91
  ;
92
92
  V = !x || (x.f & r2) !== 0;
93
93
  }
94
- V && z1(() => {
94
+ V && V1(() => {
95
95
  $1(() => i.in());
96
96
  });
97
97
  }
@@ -121,13 +121,13 @@ function Z1(r, e, a, o, k) {
121
121
  reset: q,
122
122
  t: () => o
123
123
  };
124
- const { delay: S = 0, css: s, tick: g, easing: Z = w2 } = e;
124
+ const { delay: Z = 0, css: s, tick: g, easing: S = w2 } = e;
125
125
  var i = [];
126
126
  if (w && a === void 0 && (g && g(0, 1), s)) {
127
- var d = E1(s(0, 1));
127
+ var d = j1(s(0, 1));
128
128
  i.push(d, d);
129
129
  }
130
- var V = () => 1 - o, x = r.animate(i, { duration: S, fill: "forwards" });
130
+ var V = () => 1 - o, x = r.animate(i, { duration: Z, fill: "forwards" });
131
131
  return x.onfinish = () => {
132
132
  x.cancel();
133
133
  var v = a?.t() ?? 1 - o;
@@ -140,7 +140,7 @@ function Z1(r, e, a, o, k) {
140
140
  var l = !1;
141
141
  if (s)
142
142
  for (var L = Math.ceil(_ / 16.666666666666668), y = 0; y <= L; y += 1) {
143
- var M = v + h * Z(y / L), n = E1(s(M, 1 - M));
143
+ var M = v + h * S(y / L), n = j1(s(M, 1 - M));
144
144
  C.push(n), l ||= n.overflow === "hidden";
145
145
  }
146
146
  l && (r.style.overflow = "hidden"), V = () => {
@@ -149,7 +149,7 @@ function Z1(r, e, a, o, k) {
149
149
  /** @type {globalThis.Animation} */
150
150
  x.currentTime
151
151
  );
152
- return v + h * Z(b / _);
152
+ return v + h * S(b / _);
153
153
  }, g && m2(() => {
154
154
  if (x.playState !== "running") return !1;
155
155
  var b = V();
@@ -173,7 +173,7 @@ function Z1(r, e, a, o, k) {
173
173
  };
174
174
  }
175
175
  function y2(r, e, a) {
176
- z1(() => {
176
+ V1(() => {
177
177
  var o = $1(() => e(r, a?.()) || {});
178
178
  if (o?.destroy)
179
179
  return () => (
@@ -182,7 +182,7 @@ function y2(r, e, a) {
182
182
  );
183
183
  });
184
184
  }
185
- class N1 {
185
+ class C1 {
186
186
  /** */
187
187
  #e = /* @__PURE__ */ new WeakMap();
188
188
  /** @type {ResizeObserver | undefined} */
@@ -211,7 +211,7 @@ class N1 {
211
211
  /** @param {any} entries */
212
212
  (e) => {
213
213
  for (var a of e) {
214
- N1.entries.set(a.target, a);
214
+ C1.entries.set(a.target, a);
215
215
  for (var o of this.#e.get(a.target) || [])
216
216
  o(a);
217
217
  }
@@ -219,15 +219,15 @@ class N1 {
219
219
  ));
220
220
  }
221
221
  }
222
- var $2 = /* @__PURE__ */ new N1({
222
+ var $2 = /* @__PURE__ */ new C1({
223
223
  box: "border-box"
224
224
  });
225
225
  function w1(r, e, a) {
226
226
  var o = $2.observe(r, () => a(r[e]));
227
- z1(() => ($1(() => a(r[e])), o));
227
+ V1(() => ($1(() => a(r[e])), o));
228
228
  }
229
229
  function k2(r, e) {
230
- n2(window, ["resize"], () => L1(() => e(window[r])));
230
+ n2(window, ["resize"], () => z1(() => e(window[r])));
231
231
  }
232
232
  function W1(r, e, a) {
233
233
  if (r == null)
@@ -247,10 +247,10 @@ function B1(r, e = q) {
247
247
  const o = /* @__PURE__ */ new Set();
248
248
  function k(c) {
249
249
  if (c2(r, c) && (r = c, a)) {
250
- const S = !f1.length;
250
+ const Z = !f1.length;
251
251
  for (const s of o)
252
252
  s[1](), f1.push(s, r);
253
- if (S) {
253
+ if (Z) {
254
254
  for (let s = 0; s < f1.length; s += 2)
255
255
  f1[s][0](f1[s + 1]);
256
256
  f1.length = 0;
@@ -263,8 +263,8 @@ function B1(r, e = q) {
263
263
  r
264
264
  ));
265
265
  }
266
- function u(c, S = q) {
267
- const s = [c, S];
266
+ function u(c, Z = q) {
267
+ const s = [c, Z];
268
268
  return o.add(s), o.size === 1 && (a = e(k, w) || q), c(
269
269
  /** @type {T} */
270
270
  r
@@ -278,14 +278,14 @@ function M2(r) {
278
278
  let e;
279
279
  return W1(r, (a) => e = a)(), e;
280
280
  }
281
- let V1 = /* @__PURE__ */ Symbol();
281
+ let S1 = /* @__PURE__ */ Symbol();
282
282
  function a1(r, e, a) {
283
283
  const o = a[e] ??= {
284
284
  store: null,
285
285
  source: v2(void 0),
286
286
  unsubscribe: q
287
287
  };
288
- if (o.store !== r && !(V1 in a))
288
+ if (o.store !== r && !(S1 in a))
289
289
  if (o.unsubscribe(), o.store = r ?? null, r == null)
290
290
  o.source.v = void 0, o.unsubscribe = q;
291
291
  else {
@@ -294,7 +294,7 @@ function a1(r, e, a) {
294
294
  k ? o.source.v = w : t1(o.source, w);
295
295
  }), k = !1;
296
296
  }
297
- return r && V1 in a ? M2(r) : t(o.source);
297
+ return r && S1 in a ? M2(r) : t(o.source);
298
298
  }
299
299
  function R1(r, e) {
300
300
  return r.set(e), e;
@@ -305,7 +305,7 @@ function l1() {
305
305
  i2(() => {
306
306
  for (var a in r)
307
307
  r[a].unsubscribe();
308
- u2(r, V1, {
308
+ u2(r, S1, {
309
309
  enumerable: !1,
310
310
  value: !0
311
311
  });
@@ -313,13 +313,13 @@ function l1() {
313
313
  }
314
314
  return [r, e];
315
315
  }
316
- const S2 = '<svg xmlns="http://www.w3.org/2000/svg" style="height:100%" viewBox="0 0 266.13 110.89"><defs><style>.cls-1{fill:#fff}</style></defs><path d="M45.96.24v7.91c0 2.7.79 4.18 3 4.18s3-1.8 3-4V.26h2.48v8.56c0 3.49-2.25 5.46-5.52 5.46-3.74 0-5.69-1.84-5.69-5.6V.26ZM70.04 14h-2c-2.64-3.17-5.27-6.32-7.87-9.89V14h-2.23V.24h2c2.64 3.15 5.26 6.28 7.86 9.82V.24h2.22V14ZM73.7 14.02V.24h2.78v13.78zM83.67 14 78.55.41 81.5.02c1.22 3.5 2.42 7 3.62 11 1.26-4 2.54-7.49 3.82-11l2.39.39L85.93 14ZM100.87 2.09h-4.62v3.78h4.53v1.85h-4.53v4.45h5.47v1.85h-8.25V.24h7.4zM107.31 2.09h1.44a2 2 0 0 1 2.21 2.08 2.39 2.39 0 0 1-2.52 2.49h-1.13zM104.54 14h2.77V8.49h1.66l2.8 5.75 2.91-.54-3.27-5.88a4.35 4.35 0 0 0 2.32-4c0-2.34-1.77-3.6-4.41-3.6h-4.78zM123.82 2.64a4.1 4.1 0 0 0-2.23-.79c-1.16 0-1.79.65-1.79 1.46s1 1.59 2.58 2.87c1.85 1.48 2.83 2.64 2.83 4.33s-1.65 3.75-4.76 3.75a6.2 6.2 0 0 1-4.06-1.38l1-1.58a4.57 4.57 0 0 0 2.81 1.1 1.92 1.92 0 0 0 2.15-1.91c0-1.51-1.85-2.52-3-3.38-1.33-1.08-2.46-1.93-2.46-3.76S118.76 0 121.26 0a5.13 5.13 0 0 1 3.49 1.2l-1 1.44ZM128.3 14.02V.24h2.78v13.78zM137.56 14.02V2.09h-4.26V.24h11.29v1.85h-4.26v11.93zM149.85 14V8.23L145.61.41l3.11-.39c1 2 1.91 4 2.88 6.36 1.06-2.38 2.14-4.37 3.21-6.36l2.28.39-4.47 7.82V14ZM171.78 12.29c-2.89 0-3.92-2.72-3.92-5.36s1.16-5 3.92-5 3.92 2.42 3.92 5-1 5.36-3.92 5.36m0 2c4.23 0 6.87-3.21 6.87-7.33a6.87 6.87 0 1 0-13.74 0c0 4.12 2.64 7.33 6.87 7.33M188.95 2.09h-4.61v4.53h4.53v1.85h-4.53v5.55h-2.78V.24h7.39zM85.26 109.31c-3-.43-3-1.21-3-7.24v-21.9c0-6 0-6.81 3-7.24l1.31-.17v-1.41h-16.2v1.41l1.38.17c2.89.43 2.89 1.21 2.89 7.24V89h-18.3v-8.87c0-6 0-6.75 2.9-7.18l1.37-.17v-1.41h-16.2v1.41l1.38.17c2.89.43 2.89 1.21 2.89 7.24v22c0 6 0 6.75-2.9 7.18l-1.37.17v1.41h16.2v-1.41l-1.37-.17c-2.9-.43-2.9-1.2-2.9-7.18V91.52h18.33v10.55c0 6 0 6.81-2.89 7.24l-1.38.17v1.41h16.2v-1.41l-1.31-.17ZM128.5 102.13l1.26-.24c1.41-.29 2.09-.63 2.33-3.93l1.65-26.61a10.6 10.6 0 0 1 2.43-.29l13 24.28 12.13-24a8.4 8.4 0 0 1 2.43-.29l1.46 26.46c.19 3.69.82 4.13 2.33 4.37l1.45.24v1.27h-13.71v-1.27l1.6-.24c2.19-.39 2.58-.58 2.48-3.79l-.63-16.7h-.1l-10.14 21.51a9 9 0 0 1-1.85.49l-11-22h-.1l-.58 16.7c-.14 3.21.3 3.36 2.47 3.79l1.61.24v1.27H128.5v-1.27ZM183.82 73.54a8.4 8.4 0 0 1 2.47-.34c3.74 0 6.31 2.28 6.31 6 0 5.24-3.29 6.26-7 6.26h-1.8V73.54Zm-9.76 29.86h12.62c7.24 0 13.79-2 13.79-9.13 0-6-5.19-7.91-8.2-8.35v-.1c2.57-.78 6.65-2.57 6.65-7.76 0-6.71-8.06-6.71-10.39-6.71h-14.47v1.27l1.16.14c2.29.44 2.29.3 2.29 5.69v17.76c0 5.49 0 5.29-2.29 5.78l-1.16.14zm9.76-16.07h2.09c5.87 0 8.25 3.79 8.25 7.62s-1.94 6.6-6.41 6.6a11 11 0 0 1-3.93-.78zM205.26 102.13l1.16-.14c2.29-.44 2.29-.29 2.29-5.78V78.54c0-5.48 0-5.25-2.29-5.78l-1.16-.14v-1.27h22.38a36 36 0 0 1 .58 7.87l-1.75.24c-1.26-6.17-2.86-6.26-8-6.26h-3.5v12.48h3.3c4.32 0 5-.05 5.29-2.09l.25-1.7h1.25v9.66h-1.25l-.25-1.55c-.34-2.14-1.06-2.14-5.09-2.14h-3.5v13a21 21 0 0 0 4.9.73c7.28 0 7.82-3.74 8.79-7.38l1.74.34a34.3 34.3 0 0 1-1.6 8.89h-23.54v-1.27ZM245.78 73.54a8.6 8.6 0 0 1 2.53-.34c3.89 0 6.85 2.53 6.85 7 0 2.09-.15 7.47-7 7.47h-2.38zm0 16h1.56c3 0 3.15 1.8 4.86 5.05l1.84 3.59c1.07 2.14 3 5.25 7.86 5.25h4.23v-1.27a4.15 4.15 0 0 1-3.11-1.31 78 78 0 0 1-7.76-13.09c2.77-1.26 6.22-4 6.22-8.3 0-7.62-7-8.11-11.46-8.11h-14v1.27l1.11.14c2.33.34 2.33.83 2.33 5.73v17.72c0 4.86 0 5.44-2.28 5.78l-1.16.14v1.27h13.24v-1.27l-1.2-.13c-2.28-.34-2.28-.92-2.28-5.73v-6.75ZM114.97 71.43v1.44l.92.11.42.05c2.13.29 2.51.34 2.55 3.48l.2 12.44a40 40 0 0 1-.26 5c-.72 5.67-4.68 7.68-8.15 7.68-5.34 0-8.93-3.48-8.93-8.67V78.59c0-4.73 0-5.23 2.16-5.55l1.24-.16v-1.45H91.86v1.45l1.25.17c2.15.31 2.15.81 2.15 5.54v11.83c0 9.17 4.78 13.63 14.62 13.63 7.88 0 12.11-4.35 12.56-12.93l.07-2.24.29-11.76c0-3.25.69-3.56 2-3.92l1-.29v-1.48Z" class="cls-1"/><path d="M.75 61.79h264.22" style="fill:#fff;stroke:#fff;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px"/><path d="M23.67 39.89v1.42l2.88.41c1.56.28 2.34.47 2.75 1.15s.39 1.73.39 3.86v5.85h-.07a29 29 0 0 1-4.58.43 14.12 14.12 0 0 1-11.22-5c-2.83-3.36-4.33-8.26-4.33-14.16 0-5.29 1.09-9.7 3.14-12.75 2.34-3.45 5.84-5.2 10.42-5.2 4.17 0 7.32 1.26 9.34 3.75a15.9 15.9 0 0 1 2.81 6.56l.07.27 2.2-.29a38.2 38.2 0 0 0-1.31-10.1c-2.42-1.15-5.78-2.32-12.33-2.32-6.2 0-11.81 1.66-15.78 4.69a17.3 17.3 0 0 0-5.2 6.36 21.9 21.9 0 0 0-2 9.51c0 7.09 2.34 12.5 7 16.08 4 3.08 9.67 4.71 16.42 4.71a46.7 46.7 0 0 0 14.8-2.88l.28-.1-.17-1.25h-.07c-.71 0-1.19-.09-1.44-.69a12.2 12.2 0 0 1-.3-3.83c0-3.71.07-4.51 2.17-4.9l1.14-.16v-1.42ZM84.71 53.29l1.17-.14c2.28-.44 2.28-.3 2.28-5.78V29.7c0-5.49 0-5.24-2.28-5.78l-1.17-.14v-1.27h22.38a36 36 0 0 1 .58 7.87l-1.74.24c-1.27-6.16-2.87-6.26-8-6.26h-3.5v12.48h3.3c4.32 0 5-.05 5.29-2.09l.24-1.7h1.27v9.66h-1.27l-.24-1.55c-.34-2.14-1.06-2.14-5.09-2.14h-3.5v13a21 21 0 0 0 4.91.73c7.27 0 7.81-3.74 8.78-7.38l1.75.34a34.8 34.8 0 0 1-1.6 8.89h-23.6v-1.27ZM115.52 53.29l1.17-.14c2.28-.44 2.28-.25 2.28-5.78V29.55c0-4.71 0-5.29-2.28-5.63l-1.17-.14v-1.27h13.2v1.27l-1.17.14c-2.27.34-2.27.92-2.27 5.63V52a19.7 19.7 0 0 0 4.46.68c6.84 0 6.89-3.3 8.29-7.34l1.76.35a35 35 0 0 1-1.71 8.84h-22.56v-1.27ZM144.17 53.29l1.17-.14c2.28-.25 2.28-.93 2.28-5.73V29.7c0-4.76 0-5.49-2.28-5.78l-1.17-.14v-1.27h12.91c6 0 13 1.07 13 8.6 0 8.2-8 10.29-13.06 10.43V39.7c3.6-.49 6.75-2 6.75-7.91 0-5.1-3.35-7.43-7.42-7.43a9.5 9.5 0 0 0-2.39.34v22.72c0 4.8.06 5.48 2.34 5.73l1.84.14v1.27h-13.97zM177.83 29.7c0-4.86 0-5.44-2.28-5.78l-1.16-.14v-1.27h13.2v1.27l-1.16.14c-2.29.34-2.29.92-2.29 5.73v7.09h14.66v-7c0-4.86 0-5.44-2.28-5.78l-1.16-.14v-1.27h13.21v1.27l-1.12.14c-2.34.34-2.34.92-2.34 5.78v17.67c0 4.85 0 5.43 2.34 5.78l1.12.14v1.27h-13.21v-1.27l1.16-.14c2.28-.35 2.28-.93 2.28-5.78v-8.45h-14.66v8.5c0 4.8 0 5.38 2.29 5.73l1.16.14v1.27h-13.2v-1.27l1.16-.14c2.28-.35 2.28-.93 2.28-5.73zM68.39 22.52V24l1.11.12h.23c2.12.29 2.5.35 2.55 3.48l.19 12.44a38 38 0 0 1-.26 5c-.72 5.67-4.68 7.69-8.15 7.69-5.34 0-8.93-3.49-8.93-8.68V29.69c0-4.74 0-5.23 2.17-5.55l1.24-.16v-1.46H45.26V24l1.25.16c2.15.32 2.15.81 2.15 5.55v11.83c0 9.16 4.79 13.62 14.63 13.62 7.88 0 12.1-4.35 12.55-12.92l.07-2.25.3-11.76c0-3.25.68-3.56 2-3.92l1-.28v-1.49Z" class="cls-1"/></svg>', Z2 = {
316
+ const Z2 = '<svg xmlns="http://www.w3.org/2000/svg" style="height:100%" viewBox="0 0 266.13 110.89"><defs><style>.cls-1{fill:#fff}</style></defs><path d="M45.96.24v7.91c0 2.7.79 4.18 3 4.18s3-1.8 3-4V.26h2.48v8.56c0 3.49-2.25 5.46-5.52 5.46-3.74 0-5.69-1.84-5.69-5.6V.26ZM70.04 14h-2c-2.64-3.17-5.27-6.32-7.87-9.89V14h-2.23V.24h2c2.64 3.15 5.26 6.28 7.86 9.82V.24h2.22V14ZM73.7 14.02V.24h2.78v13.78zM83.67 14 78.55.41 81.5.02c1.22 3.5 2.42 7 3.62 11 1.26-4 2.54-7.49 3.82-11l2.39.39L85.93 14ZM100.87 2.09h-4.62v3.78h4.53v1.85h-4.53v4.45h5.47v1.85h-8.25V.24h7.4zM107.31 2.09h1.44a2 2 0 0 1 2.21 2.08 2.39 2.39 0 0 1-2.52 2.49h-1.13zM104.54 14h2.77V8.49h1.66l2.8 5.75 2.91-.54-3.27-5.88a4.35 4.35 0 0 0 2.32-4c0-2.34-1.77-3.6-4.41-3.6h-4.78zM123.82 2.64a4.1 4.1 0 0 0-2.23-.79c-1.16 0-1.79.65-1.79 1.46s1 1.59 2.58 2.87c1.85 1.48 2.83 2.64 2.83 4.33s-1.65 3.75-4.76 3.75a6.2 6.2 0 0 1-4.06-1.38l1-1.58a4.57 4.57 0 0 0 2.81 1.1 1.92 1.92 0 0 0 2.15-1.91c0-1.51-1.85-2.52-3-3.38-1.33-1.08-2.46-1.93-2.46-3.76S118.76 0 121.26 0a5.13 5.13 0 0 1 3.49 1.2l-1 1.44ZM128.3 14.02V.24h2.78v13.78zM137.56 14.02V2.09h-4.26V.24h11.29v1.85h-4.26v11.93zM149.85 14V8.23L145.61.41l3.11-.39c1 2 1.91 4 2.88 6.36 1.06-2.38 2.14-4.37 3.21-6.36l2.28.39-4.47 7.82V14ZM171.78 12.29c-2.89 0-3.92-2.72-3.92-5.36s1.16-5 3.92-5 3.92 2.42 3.92 5-1 5.36-3.92 5.36m0 2c4.23 0 6.87-3.21 6.87-7.33a6.87 6.87 0 1 0-13.74 0c0 4.12 2.64 7.33 6.87 7.33M188.95 2.09h-4.61v4.53h4.53v1.85h-4.53v5.55h-2.78V.24h7.39zM85.26 109.31c-3-.43-3-1.21-3-7.24v-21.9c0-6 0-6.81 3-7.24l1.31-.17v-1.41h-16.2v1.41l1.38.17c2.89.43 2.89 1.21 2.89 7.24V89h-18.3v-8.87c0-6 0-6.75 2.9-7.18l1.37-.17v-1.41h-16.2v1.41l1.38.17c2.89.43 2.89 1.21 2.89 7.24v22c0 6 0 6.75-2.9 7.18l-1.37.17v1.41h16.2v-1.41l-1.37-.17c-2.9-.43-2.9-1.2-2.9-7.18V91.52h18.33v10.55c0 6 0 6.81-2.89 7.24l-1.38.17v1.41h16.2v-1.41l-1.31-.17ZM128.5 102.13l1.26-.24c1.41-.29 2.09-.63 2.33-3.93l1.65-26.61a10.6 10.6 0 0 1 2.43-.29l13 24.28 12.13-24a8.4 8.4 0 0 1 2.43-.29l1.46 26.46c.19 3.69.82 4.13 2.33 4.37l1.45.24v1.27h-13.71v-1.27l1.6-.24c2.19-.39 2.58-.58 2.48-3.79l-.63-16.7h-.1l-10.14 21.51a9 9 0 0 1-1.85.49l-11-22h-.1l-.58 16.7c-.14 3.21.3 3.36 2.47 3.79l1.61.24v1.27H128.5v-1.27ZM183.82 73.54a8.4 8.4 0 0 1 2.47-.34c3.74 0 6.31 2.28 6.31 6 0 5.24-3.29 6.26-7 6.26h-1.8V73.54Zm-9.76 29.86h12.62c7.24 0 13.79-2 13.79-9.13 0-6-5.19-7.91-8.2-8.35v-.1c2.57-.78 6.65-2.57 6.65-7.76 0-6.71-8.06-6.71-10.39-6.71h-14.47v1.27l1.16.14c2.29.44 2.29.3 2.29 5.69v17.76c0 5.49 0 5.29-2.29 5.78l-1.16.14zm9.76-16.07h2.09c5.87 0 8.25 3.79 8.25 7.62s-1.94 6.6-6.41 6.6a11 11 0 0 1-3.93-.78zM205.26 102.13l1.16-.14c2.29-.44 2.29-.29 2.29-5.78V78.54c0-5.48 0-5.25-2.29-5.78l-1.16-.14v-1.27h22.38a36 36 0 0 1 .58 7.87l-1.75.24c-1.26-6.17-2.86-6.26-8-6.26h-3.5v12.48h3.3c4.32 0 5-.05 5.29-2.09l.25-1.7h1.25v9.66h-1.25l-.25-1.55c-.34-2.14-1.06-2.14-5.09-2.14h-3.5v13a21 21 0 0 0 4.9.73c7.28 0 7.82-3.74 8.79-7.38l1.74.34a34.3 34.3 0 0 1-1.6 8.89h-23.54v-1.27ZM245.78 73.54a8.6 8.6 0 0 1 2.53-.34c3.89 0 6.85 2.53 6.85 7 0 2.09-.15 7.47-7 7.47h-2.38zm0 16h1.56c3 0 3.15 1.8 4.86 5.05l1.84 3.59c1.07 2.14 3 5.25 7.86 5.25h4.23v-1.27a4.15 4.15 0 0 1-3.11-1.31 78 78 0 0 1-7.76-13.09c2.77-1.26 6.22-4 6.22-8.3 0-7.62-7-8.11-11.46-8.11h-14v1.27l1.11.14c2.33.34 2.33.83 2.33 5.73v17.72c0 4.86 0 5.44-2.28 5.78l-1.16.14v1.27h13.24v-1.27l-1.2-.13c-2.28-.34-2.28-.92-2.28-5.73v-6.75ZM114.97 71.43v1.44l.92.11.42.05c2.13.29 2.51.34 2.55 3.48l.2 12.44a40 40 0 0 1-.26 5c-.72 5.67-4.68 7.68-8.15 7.68-5.34 0-8.93-3.48-8.93-8.67V78.59c0-4.73 0-5.23 2.16-5.55l1.24-.16v-1.45H91.86v1.45l1.25.17c2.15.31 2.15.81 2.15 5.54v11.83c0 9.17 4.78 13.63 14.62 13.63 7.88 0 12.11-4.35 12.56-12.93l.07-2.24.29-11.76c0-3.25.69-3.56 2-3.92l1-.29v-1.48Z" class="cls-1"/><path d="M.75 61.79h264.22" style="fill:#fff;stroke:#fff;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px"/><path d="M23.67 39.89v1.42l2.88.41c1.56.28 2.34.47 2.75 1.15s.39 1.73.39 3.86v5.85h-.07a29 29 0 0 1-4.58.43 14.12 14.12 0 0 1-11.22-5c-2.83-3.36-4.33-8.26-4.33-14.16 0-5.29 1.09-9.7 3.14-12.75 2.34-3.45 5.84-5.2 10.42-5.2 4.17 0 7.32 1.26 9.34 3.75a15.9 15.9 0 0 1 2.81 6.56l.07.27 2.2-.29a38.2 38.2 0 0 0-1.31-10.1c-2.42-1.15-5.78-2.32-12.33-2.32-6.2 0-11.81 1.66-15.78 4.69a17.3 17.3 0 0 0-5.2 6.36 21.9 21.9 0 0 0-2 9.51c0 7.09 2.34 12.5 7 16.08 4 3.08 9.67 4.71 16.42 4.71a46.7 46.7 0 0 0 14.8-2.88l.28-.1-.17-1.25h-.07c-.71 0-1.19-.09-1.44-.69a12.2 12.2 0 0 1-.3-3.83c0-3.71.07-4.51 2.17-4.9l1.14-.16v-1.42ZM84.71 53.29l1.17-.14c2.28-.44 2.28-.3 2.28-5.78V29.7c0-5.49 0-5.24-2.28-5.78l-1.17-.14v-1.27h22.38a36 36 0 0 1 .58 7.87l-1.74.24c-1.27-6.16-2.87-6.26-8-6.26h-3.5v12.48h3.3c4.32 0 5-.05 5.29-2.09l.24-1.7h1.27v9.66h-1.27l-.24-1.55c-.34-2.14-1.06-2.14-5.09-2.14h-3.5v13a21 21 0 0 0 4.91.73c7.27 0 7.81-3.74 8.78-7.38l1.75.34a34.8 34.8 0 0 1-1.6 8.89h-23.6v-1.27ZM115.52 53.29l1.17-.14c2.28-.44 2.28-.25 2.28-5.78V29.55c0-4.71 0-5.29-2.28-5.63l-1.17-.14v-1.27h13.2v1.27l-1.17.14c-2.27.34-2.27.92-2.27 5.63V52a19.7 19.7 0 0 0 4.46.68c6.84 0 6.89-3.3 8.29-7.34l1.76.35a35 35 0 0 1-1.71 8.84h-22.56v-1.27ZM144.17 53.29l1.17-.14c2.28-.25 2.28-.93 2.28-5.73V29.7c0-4.76 0-5.49-2.28-5.78l-1.17-.14v-1.27h12.91c6 0 13 1.07 13 8.6 0 8.2-8 10.29-13.06 10.43V39.7c3.6-.49 6.75-2 6.75-7.91 0-5.1-3.35-7.43-7.42-7.43a9.5 9.5 0 0 0-2.39.34v22.72c0 4.8.06 5.48 2.34 5.73l1.84.14v1.27h-13.97zM177.83 29.7c0-4.86 0-5.44-2.28-5.78l-1.16-.14v-1.27h13.2v1.27l-1.16.14c-2.29.34-2.29.92-2.29 5.73v7.09h14.66v-7c0-4.86 0-5.44-2.28-5.78l-1.16-.14v-1.27h13.21v1.27l-1.12.14c-2.34.34-2.34.92-2.34 5.78v17.67c0 4.85 0 5.43 2.34 5.78l1.12.14v1.27h-13.21v-1.27l1.16-.14c2.28-.35 2.28-.93 2.28-5.78v-8.45h-14.66v8.5c0 4.8 0 5.38 2.29 5.73l1.16.14v1.27h-13.2v-1.27l1.16-.14c2.28-.35 2.28-.93 2.28-5.73zM68.39 22.52V24l1.11.12h.23c2.12.29 2.5.35 2.55 3.48l.19 12.44a38 38 0 0 1-.26 5c-.72 5.67-4.68 7.69-8.15 7.69-5.34 0-8.93-3.49-8.93-8.68V29.69c0-4.74 0-5.23 2.17-5.55l1.24-.16v-1.46H45.26V24l1.25.16c2.15.32 2.15.81 2.15 5.55v11.83c0 9.16 4.79 13.62 14.63 13.62 7.88 0 12.1-4.35 12.55-12.92l.07-2.25.3-11.76c0-3.25.68-3.56 2-3.92l1-.28v-1.49Z" class="cls-1"/></svg>', S2 = {
317
317
  id: "dual-brand",
318
318
  primary: [
319
319
  {
320
320
  text: "University of Guelph-Humber",
321
321
  href: "https://www.guelphhumber.ca/",
322
- img: S2,
322
+ img: Z2,
323
323
  standalone: !0
324
324
  }
325
325
  ]
@@ -417,7 +417,7 @@ const S2 = '<svg xmlns="http://www.w3.org/2000/svg" style="height:100%" viewBox=
417
417
  text: "Search the University of Guelph",
418
418
  href: "https://uoguelph.ca/search",
419
419
  standalone: !0,
420
- icon: A1
420
+ icon: E1
421
421
  }
422
422
  ]
423
423
  }, z2 = {
@@ -439,18 +439,14 @@ const S2 = '<svg xmlns="http://www.w3.org/2000/svg" style="height:100%" viewBox=
439
439
  text: "Events",
440
440
  href: "https://news.uoguelph.ca/events/"
441
441
  },
442
- {
443
- text: "Contact Us",
444
- href: "https://news.uoguelph.ca/media-services/"
445
- },
446
442
  {
447
443
  text: "News Directory",
448
444
  href: "https://www.uoguelph.ca/news/directory",
449
445
  standalone: !0,
450
- icon: A1
446
+ icon: E1
451
447
  }
452
448
  ]
453
- }, y1 = [V2, z2, Z2], L2 = (r) => {
449
+ }, y1 = [V2, z2, S2], L2 = (r) => {
454
450
  const e = function(o) {
455
451
  r.contains(o.relatedTarget) || r.dispatchEvent(new CustomEvent("focusoutside", { bubbles: !1, detail: o }));
456
452
  }, a = function(o) {
@@ -466,13 +462,13 @@ var C2 = $('<div tabindex="-1"><!> <!></div>');
466
462
  function s1(r, e) {
467
463
  Q(e, !0);
468
464
  const a = () => a1(s, "$open", o), [o, k] = l1();
469
- let w = R(e, "class"), u = R(e, "autoCollapse", 7, !0), c = R(e, "button"), S = R(e, "children");
465
+ let w = R(e, "class"), u = R(e, "autoCollapse", 7, !0), c = R(e, "button"), Z = R(e, "children");
470
466
  const s = B1(!1);
471
- P1("menu", s);
467
+ A1("menu", s);
472
468
  const g = () => {
473
469
  u() && R1(s, !1);
474
470
  };
475
- var Z = {
471
+ var S = {
476
472
  get class() {
477
473
  return w();
478
474
  },
@@ -492,10 +488,10 @@ function s1(r, e) {
492
488
  c(h), O();
493
489
  },
494
490
  get children() {
495
- return S();
491
+ return Z();
496
492
  },
497
493
  set children(h) {
498
- S(h), O();
494
+ Z(h), O();
499
495
  }
500
496
  }, i = C2(), d = m(i);
501
497
  M1(d, () => c() ?? q);
@@ -503,7 +499,7 @@ function s1(r, e) {
503
499
  {
504
500
  var x = (h) => {
505
501
  var _ = D(), C = H(_);
506
- M1(C, () => S() ?? q), p(h, _);
502
+ M1(C, () => Z() ?? q), p(h, _);
507
503
  };
508
504
  P(V, (h) => {
509
505
  a() && h(x);
@@ -512,17 +508,17 @@ function s1(r, e) {
512
508
  f(i), y2(i, (h) => L2?.(h)), E(() => {
513
509
  T(i, 1, U(w())), G(i, "data-expanded", a());
514
510
  }), f2("focusoutside", i, g), p(r, i);
515
- var v = X(Z);
511
+ var v = X(S);
516
512
  return k(), v;
517
513
  }
518
514
  K(s1, { class: {}, autoCollapse: {}, button: {}, children: {} }, [], [], !0);
519
515
  var N2 = $('<span class="sr-only"> </span>'), j2 = $('<button aria-haspopup="true"><!> <!></button>');
520
516
  function o1(r, e) {
521
517
  Q(e, !0);
522
- const a = () => a1(S, "$open", o), [o, k] = l1();
518
+ const a = () => a1(Z, "$open", o), [o, k] = l1();
523
519
  let w = R(e, "class"), u = R(e, "label"), c = R(e, "children");
524
- const S = h1("menu"), s = (v) => {
525
- R1(S, !a()), v.target?.focus();
520
+ const Z = h1("menu"), s = (v) => {
521
+ R1(Z, !a()), v.target?.focus();
526
522
  };
527
523
  var g = {
528
524
  get class() {
@@ -543,9 +539,9 @@ function o1(r, e) {
543
539
  set children(v) {
544
540
  c(v), O();
545
541
  }
546
- }, Z = j2();
547
- Z.__click = s;
548
- var i = m(Z);
542
+ }, S = j2();
543
+ S.__click = s;
544
+ var i = m(S);
549
545
  M1(i, () => c() ?? q);
550
546
  var d = B(i, 2);
551
547
  {
@@ -557,9 +553,9 @@ function o1(r, e) {
557
553
  u() && v(V);
558
554
  });
559
555
  }
560
- f(Z), E(() => {
561
- T(Z, 1, U(w())), G(Z, "aria-expanded", a());
562
- }), p(r, Z);
556
+ f(S), E(() => {
557
+ T(S, 1, U(w())), G(S, "aria-expanded", a());
558
+ }), p(r, S);
563
559
  var x = X(g);
564
560
  return k(), x;
565
561
  }
@@ -570,12 +566,12 @@ function E2(r) {
570
566
  return e * e * e + 1;
571
567
  }
572
568
  function u1(r, { delay: e = 0, duration: a = 400, easing: o = E2, axis: k = "y" } = {}) {
573
- const w = getComputedStyle(r), u = +w.opacity, c = k === "y" ? "height" : "width", S = parseFloat(w[c]), s = k === "y" ? ["top", "bottom"] : ["left", "right"], g = s.map(
569
+ const w = getComputedStyle(r), u = +w.opacity, c = k === "y" ? "height" : "width", Z = parseFloat(w[c]), s = k === "y" ? ["top", "bottom"] : ["left", "right"], g = s.map(
574
570
  (h) => (
575
571
  /** @type {'Left' | 'Right' | 'Top' | 'Bottom'} */
576
572
  `${h[0].toUpperCase()}${h.slice(1)}`
577
573
  )
578
- ), Z = parseFloat(w[`padding${g[0]}`]), i = parseFloat(w[`padding${g[1]}`]), d = parseFloat(w[`margin${g[0]}`]), V = parseFloat(w[`margin${g[1]}`]), x = parseFloat(
574
+ ), S = parseFloat(w[`padding${g[0]}`]), i = parseFloat(w[`padding${g[1]}`]), d = parseFloat(w[`margin${g[0]}`]), V = parseFloat(w[`margin${g[1]}`]), x = parseFloat(
579
575
  w[`border${g[0]}Width`]
580
576
  ), v = parseFloat(
581
577
  w[`border${g[1]}Width`]
@@ -584,7 +580,7 @@ function u1(r, { delay: e = 0, duration: a = 400, easing: o = E2, axis: k = "y"
584
580
  delay: e,
585
581
  duration: a,
586
582
  easing: o,
587
- css: (h) => `overflow: hidden;opacity: ${Math.min(h * 20, 1) * u};${c}: ${h * S}px;padding-${s[0]}: ${h * Z}px;padding-${s[1]}: ${h * i}px;margin-${s[0]}: ${h * d}px;margin-${s[1]}: ${h * V}px;border-${s[0]}-width: ${h * x}px;border-${s[1]}-width: ${h * v}px;min-${c}: 0`
583
+ css: (h) => `overflow: hidden;opacity: ${Math.min(h * 20, 1) * u};${c}: ${h * Z}px;padding-${s[0]}: ${h * S}px;padding-${s[1]}: ${h * i}px;margin-${s[0]}: ${h * d}px;margin-${s[1]}: ${h * V}px;border-${s[0]}-width: ${h * x}px;border-${s[1]}-width: ${h * v}px;min-${c}: 0`
588
584
  };
589
585
  }
590
586
  function v1(r) {
@@ -593,7 +589,7 @@ function v1(r) {
593
589
  var A2 = $("<span> </span> <!>", 1), P2 = $("<a> </a>"), T2 = $("<li><!></li>"), F2 = $("<ul></ul>"), U2 = $("<a> </a>"), W2 = $("<li><!></li>"), B2 = $('<nav aria-label="Secondary"><ul></ul></nav>');
594
590
  function O1(r, e) {
595
591
  Q(e, !1);
596
- const a = () => a1(w, "$headerState", o), [o, k] = l1(), w = h1("header-state"), u = C1({
592
+ const a = () => a1(w, "$headerState", o), [o, k] = l1(), w = h1("header-state"), u = L1({
597
593
  slots: {
598
594
  base: "flex h-10 justify-end bg-white px-[calc((100%-1320px)/2)] text-lg",
599
595
  wrapper: "flex h-full items-center justify-end [&>li]:contents",
@@ -609,15 +605,15 @@ function O1(r, e) {
609
605
  }
610
606
  })();
611
607
  m1();
612
- var c = B2(), S = m(c);
613
- J(S, 5, () => a().data.top, (s) => s.text, (s, g) => {
614
- var Z = W2(), i = m(Z);
608
+ var c = B2(), Z = m(c);
609
+ J(Z, 5, () => a().data.top, (s) => s.text, (s, g) => {
610
+ var S = W2(), i = m(S);
615
611
  {
616
612
  var d = (x) => {
617
613
  {
618
614
  const v = (_) => {
619
615
  {
620
- let C = j1(() => u.menuButton({ hasIcon: !!t(g).icon }));
616
+ let C = N1(() => u.menuButton({ hasIcon: !!t(g).icon }));
621
617
  o1(_, {
622
618
  get class() {
623
619
  return t(C);
@@ -654,7 +650,7 @@ function O1(r, e) {
654
650
  });
655
651
  }
656
652
  };
657
- let h = j1(() => u.menu());
653
+ let h = N1(() => u.menu());
658
654
  s1(x, {
659
655
  get class() {
660
656
  return t(h);
@@ -699,10 +695,10 @@ function O1(r, e) {
699
695
  "items" in t(g) ? x(d) : x(V, !1);
700
696
  });
701
697
  }
702
- f(Z), p(s, Z);
703
- }), f(S), f(c), E(
698
+ f(S), p(s, S);
699
+ }), f(Z), f(c), E(
704
700
  (s, g) => {
705
- T(c, 1, s), T(S, 1, g);
701
+ T(c, 1, s), T(Z, 1, g);
706
702
  },
707
703
  [
708
704
  () => U(u.base()),
@@ -715,7 +711,7 @@ const R2 = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 68 90"><path fi
715
711
  var H2 = $('<div aria-hidden="true"><!></div>'), G2 = $("<div><div></div> <div></div> <div></div></div> <a> </a>", 1), D2 = $('<div><!> <div><a href="https://www.uoguelph.ca" aria-label="University of Guelph Home Page"><!></a> <!></div></div>');
716
712
  function q1(r, e) {
717
713
  Q(e, !1);
718
- const a = () => a1(w, "$headerState", o), [o, k] = l1(), w = h1("header-state"), u = C1({
714
+ const a = () => a1(w, "$headerState", o), [o, k] = l1(), w = h1("header-state"), u = L1({
719
715
  slots: {
720
716
  base: "flex w-fit",
721
717
  decoration: "left-0 h-full w-[7.5rem] min-[1320px]:absolute [&>svg]:block [&>svg]:h-full [&>svg]:w-auto",
@@ -728,10 +724,10 @@ function q1(r, e) {
728
724
  variants: { mode: { desktop: { logo: "py-2" }, mobile: { logo: "p-3" } } }
729
725
  }), {
730
726
  base: c,
731
- decoration: S,
727
+ decoration: Z,
732
728
  logo: s,
733
729
  link: g,
734
- line: Z,
730
+ line: S,
735
731
  lineSegment: i,
736
732
  secondaryLink: d
737
733
  } = u();
@@ -740,7 +736,7 @@ function q1(r, e) {
740
736
  {
741
737
  var v = (n) => {
742
738
  var b = H2(), z = m(b);
743
- b1(z, () => R2), f(b), E((N) => T(b, 1, N), [() => U(S())]), p(n, b);
739
+ b1(z, () => R2), f(b), E((N) => T(b, 1, N), [() => U(Z())]), p(n, b);
744
740
  };
745
741
  P(x, (n) => {
746
742
  a()?.mode === "desktop" && n(v);
@@ -771,7 +767,7 @@ function q1(r, e) {
771
767
  T(z, 1, e1), T(N, 1, c1), T(A, 1, g1), T(j, 1, X1), G(W, "href", a().data.homepage.url), T(W, 1, Y1), F(Y, a().data.homepage.text);
772
768
  },
773
769
  [
774
- () => U(Z()),
770
+ () => U(S()),
775
771
  () => U(x1(i(), "bg-red")),
776
772
  () => U(x1(i(), "bg-red lg:bg-yellow")),
777
773
  () => U(x1(i(), "bg-red lg:bg-grey-dark")),
@@ -798,7 +794,7 @@ K(q1, {}, [], [], !0);
798
794
  var J2 = $('<a><span class="sr-only"> </span> <!></a>'), K2 = $("<a><!></a>"), Q2 = $("<a> </a>"), X2 = $("<li><!></li>"), Y2 = $("<ul></ul>");
799
795
  function H1(r, e) {
800
796
  Q(e, !1);
801
- const a = () => a1(w, "$headerState", o), [o, k] = l1(), w = h1("header-state"), u = C1({
797
+ const a = () => a1(w, "$headerState", o), [o, k] = l1(), w = h1("header-state"), u = L1({
802
798
  slots: {
803
799
  base: "ml-auto flex text-xl [&>li]:contents",
804
800
  link: "flex h-full items-center justify-center border-0 border-b-8 border-solid border-transparent p-4 transition-colors hover:border-yellow hover:text-yellow"
@@ -817,8 +813,8 @@ function H1(r, e) {
817
813
  })();
818
814
  m1();
819
815
  var c = Y2();
820
- J(c, 5, () => a().data.primary, p1, (S, s) => {
821
- var g = X2(), Z = m(g);
816
+ J(c, 5, () => a().data.primary, p1, (Z, s) => {
817
+ var g = X2(), S = m(g);
822
818
  {
823
819
  var i = (V) => {
824
820
  var x = J2(), v = m(x), h = m(v, !0);
@@ -864,12 +860,12 @@ function H1(r, e) {
864
860
  }
865
861
  p(V, x);
866
862
  };
867
- P(Z, (V) => {
863
+ P(S, (V) => {
868
864
  t(s).icon ? V(i) : V(d, !1);
869
865
  });
870
866
  }
871
- f(g), p(S, g);
872
- }), f(c), E((S) => T(c, 1, S), [() => U(u.base())]), p(r, c), X(), k();
867
+ f(g), p(Z, g);
868
+ }), f(c), E((Z) => T(c, 1, Z), [() => U(u.base())]), p(r, c), X(), k();
873
869
  }
874
870
  K(H1, {}, [], [], !0);
875
871
  var I2 = $('<li class="contents first:*:mt-4 last:*:mb-4"><a> </a></li>'), ee = $('<ul class="absolute top-full right-0 z-50 flex w-full flex-col bg-white px-4 text-black shadow-md lg:w-[30rem]"></ul>'), te = $('<a class="flex aspect-square h-full items-center justify-center gap-2 px-4 transition-colors hover:bg-white hover:text-black focus:bg-white focus:text-black aria-expanded:bg-white aria-expanded:text-black"><!></a>'), re = $('<a class="flex h-12.5 w-fit items-center justify-center border-0 p-2 transition-opacity hover:opacity-75 focus:opacity-75 [&amp;>svg]:block [&amp;>svg]:h-full [&amp;>svg]:w-auto"><!></a>'), ae = $("<a> </a>"), le = $("<li><!></li>"), se = $('<span><span class="mr-auto"> </span> <!></span>'), oe = $("<li><a> </a></li>"), ne = $('<ul class="flex w-full flex-col bg-white text-black [&amp;>li]:contents"></ul>'), ce = $("<a> </a>"), ie = $("<li><!></li>"), ue = $('<ul class="absolute top-full right-0 z-50 flex max-h-[calc(100vh-5rem)] w-full flex-col overflow-y-auto bg-white px-4 py-3 text-black shadow-md lg:w-[30rem] [&amp;>li]:contents"></ul>'), ve = $("<li><!></li>"), he = $('<ul class="flex h-full [&amp;>li]:contents"><!> <!></ul>');
@@ -881,7 +877,7 @@ function G1(r, e) {
881
877
  for (const i of a().data.top ?? [])
882
878
  i.standalone ? c.push(i) : u.push(i);
883
879
  m1();
884
- var S = he(), s = m(S);
880
+ var Z = he(), s = m(Z);
885
881
  J(s, 1, () => c, (i) => i.text, (i, d) => {
886
882
  var V = le(), x = m(V);
887
883
  {
@@ -985,7 +981,7 @@ function G1(r, e) {
985
981
  });
986
982
  var g = B(s, 2);
987
983
  {
988
- var Z = (i) => {
984
+ var S = (i) => {
989
985
  var d = ve(), V = m(d);
990
986
  s1(V, {
991
987
  class: "h-full w-fit",
@@ -996,7 +992,7 @@ function G1(r, e) {
996
992
  children: (h, _) => {
997
993
  I(h, {
998
994
  get icon() {
999
- return T1;
995
+ return P1;
1000
996
  }
1001
997
  });
1002
998
  },
@@ -1066,10 +1062,10 @@ function G1(r, e) {
1066
1062
  }), f(d), p(i, d);
1067
1063
  };
1068
1064
  P(g, (i) => {
1069
- u.length > 0 && i(Z);
1065
+ u.length > 0 && i(S);
1070
1066
  });
1071
1067
  }
1072
- f(S), p(r, S), X(), k();
1068
+ f(Z), p(r, Z), X(), k();
1073
1069
  }
1074
1070
  K(G1, {}, [], [], !0);
1075
1071
  var fe = $('<nav aria-label="Primary"><!> <!></nav>');
@@ -1077,17 +1073,17 @@ function D1(r, e) {
1077
1073
  Q(e, !1);
1078
1074
  const a = () => a1(w, "$headerState", o), [o, k] = l1(), w = h1("header-state"), u = x1("relative", "flex", "w-full", "justify-between", "bg-black", "px-[calc((100%-1320px)/2)]", "text-lg", "text-black-contrast", "lg:h-25");
1079
1075
  m1();
1080
- var c = fe(), S = m(c);
1081
- q1(S, {});
1082
- var s = B(S, 2);
1076
+ var c = fe(), Z = m(c);
1077
+ q1(Z, {});
1078
+ var s = B(Z, 2);
1083
1079
  {
1084
1080
  var g = (i) => {
1085
1081
  H1(i, {});
1086
- }, Z = (i) => {
1082
+ }, S = (i) => {
1087
1083
  G1(i, {});
1088
1084
  };
1089
1085
  P(s, (i) => {
1090
- a()?.mode === "desktop" ? i(g) : i(Z, !1);
1086
+ a()?.mode === "desktop" ? i(g) : i(S, !1);
1091
1087
  });
1092
1088
  }
1093
1089
  f(c), E(() => T(c, 1, U(u))), p(r, c), X(), k();
@@ -1106,7 +1102,7 @@ function J1(r, e) {
1106
1102
  }
1107
1103
  }, k = D(), w = H(k);
1108
1104
  return J(w, 17, a, (u) => u.text, (u, c) => {
1109
- var S = D(), s = H(S);
1105
+ var Z = D(), s = H(Z);
1110
1106
  {
1111
1107
  var g = (i) => {
1112
1108
  var d = be(), V = m(d);
@@ -1149,7 +1145,7 @@ function J1(r, e) {
1149
1145
  },
1150
1146
  $$slots: { button: !0, default: !0 }
1151
1147
  }), f(d), p(i, d);
1152
- }, Z = (i) => {
1148
+ }, S = (i) => {
1153
1149
  var d = xe(), V = m(d);
1154
1150
  n1(V, (v) => ({ ...t(c).attributes, class: v, href: t(c).href }), [
1155
1151
  () => `flex h-full items-center justify-center gap-2 px-2 transition-colors hover:bg-yellow hover:text-yellow-contrast focus:bg-yellow focus:text-yellow-contrast ${t(c).attributes?.class ?? ""} uofg-header-sub-nav-item-${t(c).text.toLowerCase().replace(/ /g, "-")}`
@@ -1158,10 +1154,10 @@ function J1(r, e) {
1158
1154
  f(V), f(d), E(() => F(x, t(c).text)), p(i, d);
1159
1155
  };
1160
1156
  P(s, (i) => {
1161
- "items" in t(c) ? i(g) : i(Z, !1);
1157
+ "items" in t(c) ? i(g) : i(S, !1);
1162
1158
  });
1163
1159
  }
1164
- p(u, S);
1160
+ p(u, Z);
1165
1161
  }), p(r, k), X(o);
1166
1162
  }
1167
1163
  K(J1, { items: {} }, [], [], !0);
@@ -1184,19 +1180,19 @@ function K1(r, e) {
1184
1180
  o1(c, {
1185
1181
  class: "flex h-full items-center justify-center gap-2 px-4 transition-colors hover:bg-yellow hover:text-yellow-contrast focus:bg-yellow focus:text-yellow-contrast aria-expanded:bg-yellow aria-expanded:text-yellow-contrast",
1186
1182
  label: "Sub Navigation Menu",
1187
- children: (S, s) => {
1188
- I(S, {
1183
+ children: (Z, s) => {
1184
+ I(Z, {
1189
1185
  get icon() {
1190
- return T1;
1186
+ return P1;
1191
1187
  }
1192
1188
  });
1193
1189
  },
1194
1190
  $$slots: { default: !0 }
1195
1191
  });
1196
1192
  },
1197
- children: (c, S) => {
1193
+ children: (c, Z) => {
1198
1194
  var s = ke();
1199
- J(s, 21, a, (g) => g.text, (g, Z) => {
1195
+ J(s, 21, a, (g) => g.text, (g, S) => {
1200
1196
  var i = $e(), d = m(i);
1201
1197
  {
1202
1198
  var V = (v) => {
@@ -1215,14 +1211,14 @@ function K1(r, e) {
1215
1211
  return k1;
1216
1212
  },
1217
1213
  class: "transition-transform group-aria-expanded:rotate-180"
1218
- }), f(L), E(() => F(M, t(Z).text)), p(C, L);
1214
+ }), f(L), E(() => F(M, t(S).text)), p(C, L);
1219
1215
  },
1220
1216
  $$slots: { default: !0 }
1221
1217
  });
1222
1218
  },
1223
1219
  children: (_, C) => {
1224
1220
  var l = we();
1225
- J(l, 21, () => t(Z).items, p1, (L, y) => {
1221
+ J(l, 21, () => t(S).items, p1, (L, y) => {
1226
1222
  var M = _e(), n = m(M);
1227
1223
  n1(
1228
1224
  n,
@@ -1243,14 +1239,14 @@ function K1(r, e) {
1243
1239
  });
1244
1240
  }, x = (v) => {
1245
1241
  var h = ye();
1246
- n1(h, (C) => ({ ...t(Z).attributes, class: C, href: t(Z).href }), [
1247
- () => `border-grey/50 hover:bg-grey-muted border-0 border-b border-solid p-2 transition-colors ${t(Z).attributes?.class ?? ""} uofg-header-sub-nav-item-${t(Z).text.toLowerCase().replace(/ /g, "-")}`
1242
+ n1(h, (C) => ({ ...t(S).attributes, class: C, href: t(S).href }), [
1243
+ () => `border-grey/50 hover:bg-grey-muted border-0 border-b border-solid p-2 transition-colors ${t(S).attributes?.class ?? ""} uofg-header-sub-nav-item-${t(S).text.toLowerCase().replace(/ /g, "-")}`
1248
1244
  ]);
1249
1245
  var _ = m(h, !0);
1250
- f(h), E(() => F(_, t(Z).text)), p(v, h);
1246
+ f(h), E(() => F(_, t(S).text)), p(v, h);
1251
1247
  };
1252
1248
  P(d, (v) => {
1253
- "items" in t(Z) ? v(V) : v(x, !1);
1249
+ "items" in t(S) ? v(V) : v(x, !1);
1254
1250
  });
1255
1251
  }
1256
1252
  f(i), p(g, i);
@@ -1260,13 +1256,13 @@ function K1(r, e) {
1260
1256
  }), f(k), p(r, k), X(o);
1261
1257
  }
1262
1258
  K(K1, { items: {} }, [], [], !0);
1263
- var Se = $('<a class="mr-auto flex h-full min-h-[5rem] items-center justify-center px-3 font-bold transition-colors hover:bg-yellow hover:text-yellow-contrast lg:min-h-10"> </a>'), Ze = $('<span class="mr-auto flex h-full min-h-[5rem] items-center justify-center px-3 font-bold lg:min-h-10"> </span>'), Ve = $('<nav aria-label="Page Specific"><div class="relative grid h-full min-w-full grid-cols-[10fr_1fr] items-center justify-end overflow-y-visible lg:flex [&amp;>li]:contents"><!> <ul class="!static flex h-full min-h-[5rem] w-fit justify-self-end lg:static lg:min-h-10 [&amp;>li]:contents"><!></ul></div></nav>');
1259
+ var Ze = $('<a class="mr-auto flex h-full min-h-[5rem] items-center justify-center px-3 font-bold transition-colors hover:bg-yellow hover:text-yellow-contrast lg:min-h-10"> </a>'), Se = $('<span class="mr-auto flex h-full min-h-[5rem] items-center justify-center px-3 font-bold lg:min-h-10"> </span>'), Ve = $('<nav aria-label="Page Specific"><div class="relative grid h-full min-w-full grid-cols-[10fr_1fr] items-center justify-end overflow-y-visible lg:flex [&amp;>li]:contents"><!> <ul class="!static flex h-full min-h-[5rem] w-fit justify-self-end lg:static lg:min-h-10 [&amp;>li]:contents"><!></ul></div></nav>');
1264
1260
  function Q1(r, e) {
1265
1261
  Q(e, !0);
1266
1262
  const a = () => a1(w, "$headerState", o), [o, k] = l1(), w = h1("header-state");
1267
- let u = R(e, "items"), c = R(e, "title"), S = R(e, "url"), s = d1(void 0), g = d1(void 0), Z = d1(void 0), i, d = d1(void 0);
1268
- S1(() => {
1269
- clearTimeout(i), a()?.mode === "desktop" && t(s) - t(g) < t(Z) && (i = setTimeout(
1263
+ let u = R(e, "items"), c = R(e, "title"), Z = R(e, "url"), s = d1(void 0), g = d1(void 0), S = d1(void 0), i, d = d1(void 0);
1264
+ T1(() => {
1265
+ clearTimeout(i), a()?.mode === "desktop" && t(s) - t(g) < t(S) && (i = setTimeout(
1270
1266
  () => {
1271
1267
  t1(
1272
1268
  d,
@@ -1277,7 +1273,7 @@ function Q1(r, e) {
1277
1273
  50
1278
1274
  ));
1279
1275
  }), F1(() => {
1280
- a()?.mode === "desktop" && t(s) - t(g) < t(Z) && t1(
1276
+ a()?.mode === "desktop" && t(s) - t(g) < t(S) && t1(
1281
1277
  d,
1282
1278
  isNaN(t(d)) ? t(s) : Math.max(t(s), t(d)),
1283
1279
  !0
@@ -1297,23 +1293,23 @@ function Q1(r, e) {
1297
1293
  c(n), O();
1298
1294
  },
1299
1295
  get url() {
1300
- return S();
1296
+ return Z();
1301
1297
  },
1302
1298
  set url(n) {
1303
- S(n), O();
1299
+ Z(n), O();
1304
1300
  }
1305
1301
  }, x = Ve(), v = m(x), h = m(v);
1306
1302
  {
1307
1303
  var _ = (n) => {
1308
- var b = Se(), z = m(b, !0);
1304
+ var b = Ze(), z = m(b, !0);
1309
1305
  f(b), E(() => {
1310
- G(b, "href", S()), F(z, c());
1306
+ G(b, "href", Z()), F(z, c());
1311
1307
  }), w1(b, "clientWidth", (N) => t1(g, N)), p(n, b);
1312
1308
  }, C = (n) => {
1313
1309
  var b = D(), z = H(b);
1314
1310
  {
1315
1311
  var N = (A) => {
1316
- var j = Ze(), W = m(j, !0);
1312
+ var j = Se(), W = m(j, !0);
1317
1313
  f(j), E(() => F(W, c())), w1(j, "clientWidth", (Y) => t1(g, Y)), p(A, j);
1318
1314
  };
1319
1315
  P(
@@ -1327,7 +1323,7 @@ function Q1(r, e) {
1327
1323
  p(n, b);
1328
1324
  };
1329
1325
  P(h, (n) => {
1330
- c() && S() ? n(_) : n(C, !1);
1326
+ c() && Z() ? n(_) : n(C, !1);
1331
1327
  });
1332
1328
  }
1333
1329
  var l = B(h, 2), L = m(l);
@@ -1360,7 +1356,7 @@ function Q1(r, e) {
1360
1356
  }
1361
1357
  f(l), f(v), f(x), E((n) => T(x, 1, n), [
1362
1358
  () => U(x1("align-items bg-grey-muted text-grey-muted-contrast relative block h-fit justify-end px-[calc((100%-1320px)/2)] text-lg lg:h-10 lg:whitespace-nowrap"))
1363
- ]), w1(l, "clientWidth", (n) => t1(Z, n)), w1(v, "clientWidth", (n) => t1(s, n)), p(r, x);
1359
+ ]), w1(l, "clientWidth", (n) => t1(S, n)), w1(v, "clientWidth", (n) => t1(s, n)), p(r, x);
1364
1360
  var M = X(V);
1365
1361
  return k(), M;
1366
1362
  }
@@ -1369,18 +1365,16 @@ var ze = $('<header class="relative z-10 w-full font-sans text-black"><!> <!> <!
1369
1365
  function Le(r, e) {
1370
1366
  Q(e, !0);
1371
1367
  const a = () => a1(g, "$headerState", o), [o, k] = l1();
1372
- let w = R(e, "pageTitle"), u = R(e, "pageURL"), c = R(e, "variant"), S = d1(0);
1368
+ let w = R(e, "pageTitle"), u = R(e, "pageURL"), c = R(e, "variant"), Z = d1(0);
1373
1369
  const s = 1024, g = B1({
1374
1370
  mode: "mobile",
1375
1371
  data: y1.find((l) => l.id === c()) ?? y1[0]
1376
1372
  });
1377
- P1("header-state", g), S1(() => {
1378
- const l = t(S) >= s ? "desktop" : "mobile", L = y1.find((y) => y.id === c()) ?? y1[0];
1373
+ A1("header-state", g), T1(() => {
1374
+ const l = t(Z) >= s ? "desktop" : "mobile", L = y1.find((y) => y.id === c()) ?? y1[0];
1379
1375
  (l !== a().mode || L !== a().data) && g.set({ mode: l, data: L });
1380
- }), S1(() => {
1381
- console.log("headerState", a());
1382
1376
  });
1383
- let Z = d1(g2([]));
1377
+ let S = d1(g2([]));
1384
1378
  F1(() => {
1385
1379
  const l = () => {
1386
1380
  const y = (M) => {
@@ -1394,7 +1388,7 @@ function Le(r, e) {
1394
1388
  };
1395
1389
  };
1396
1390
  t1(
1397
- Z,
1391
+ S,
1398
1392
  Array.from(e.$$host.children).filter((M) => M.tagName === "A" || M.tagName === "UL").map((M) => {
1399
1393
  switch (M.tagName) {
1400
1394
  case "A":
@@ -1456,15 +1450,15 @@ function Le(r, e) {
1456
1450
  return u();
1457
1451
  },
1458
1452
  get items() {
1459
- return t(Z);
1453
+ return t(S);
1460
1454
  }
1461
1455
  });
1462
1456
  };
1463
1457
  P(h, (l) => {
1464
- (t(Z)?.length > 0 || w()) && l(_);
1458
+ (t(S)?.length > 0 || w()) && l(_);
1465
1459
  });
1466
1460
  }
1467
- f(d), k2("innerWidth", (l) => t1(S, l, !0)), p(r, d);
1461
+ f(d), k2("innerWidth", (l) => t1(Z, l, !0)), p(r, d);
1468
1462
  var C = X(i);
1469
1463
  return k(), C;
1470
1464
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uoguelph/web-components",
3
- "version": "2.1.0-rc.3",
3
+ "version": "2.1.1-rc.0",
4
4
  "description": "University of Guelph Web Components Library",
5
5
  "type": "module",
6
6
  "files": [