@uoguelph/react-components 1.9.1 → 1.10.0-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.
@@ -0,0 +1,6 @@
1
+ function e(t) {
2
+ return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
3
+ }
4
+ export {
5
+ e as g
6
+ };
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsxs as c, jsx as o } from "react/jsx-runtime";
3
- import { f as u, a as l } from "./regular-DFL2CD9m.js";
3
+ import { c as u, d as l } from "./regular-Dfv3Fzq0.js";
4
4
  import { FontAwesomeIcon as a } from "@fortawesome/react-fontawesome";
5
5
  import { DisclosureButton as b } from "@headlessui/react";
6
6
  import { useContext as f } from "react";
@@ -1,5 +1,5 @@
1
1
  import { jsxs as l, jsx as t } from "react/jsx-runtime";
2
- import { e as s } from "./regular-DFL2CD9m.js";
2
+ import { b as s } from "./regular-Dfv3Fzq0.js";
3
3
  import { FontAwesomeIcon as g } from "@fortawesome/react-fontawesome";
4
4
  import { twMerge as m } from "tailwind-merge";
5
5
  import { tv as x } from "tailwind-variants";
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsxs as m, Fragment as p, jsx as o } from "react/jsx-runtime";
3
- import { f as a } from "./solid-DEqheBYf.js";
3
+ import { f as a } from "./solid-CpJcQLq3.js";
4
4
  import { FontAwesomeIcon as c } from "@fortawesome/react-fontawesome";
5
5
  import { ComboboxInput as l } from "@headlessui/react";
6
6
  import { twMerge as f } from "tailwind-merge";
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { jsx as e, jsxs as f } from "react/jsx-runtime";
3
- import { b as u } from "./regular-DFL2CD9m.js";
4
- import { FontAwesomeIcon as b } from "@fortawesome/react-fontawesome";
5
- import { ComboboxOption as g } from "@headlessui/react";
3
+ import { f as u } from "./regular-Dfv3Fzq0.js";
4
+ import { FontAwesomeIcon as g } from "@fortawesome/react-fontawesome";
5
+ import { ComboboxOption as b } from "@headlessui/react";
6
6
  import { twMerge as x } from "tailwind-merge";
7
7
  import { tv as v } from "tailwind-variants";
8
8
  function y({
@@ -28,9 +28,9 @@ function y({
28
28
  }
29
29
  }
30
30
  }), { option: s, icon: c, wrapper: a, content: p } = n();
31
- return /* @__PURE__ */ e(g, { ...i, className: x(s(), r), children: ({ focus: l, selected: t, ...m }) => /* @__PURE__ */ f("div", { className: a(), children: [
31
+ return /* @__PURE__ */ e(b, { ...i, className: x(s(), r), children: ({ focus: l, selected: t, ...m }) => /* @__PURE__ */ f("div", { className: a(), children: [
32
32
  /* @__PURE__ */ e("span", { className: p(), children: typeof o == "function" ? o({ focus: l, selected: t, ...m }) : o }),
33
- /* @__PURE__ */ e(b, { icon: u, className: c({ selected: t }) })
33
+ /* @__PURE__ */ e(g, { icon: u, className: c({ selected: t }) })
34
34
  ] }) });
35
35
  }
36
36
  y.displayName = "AutocompleteOption";
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsxs as l, jsx as r } from "react/jsx-runtime";
3
- import { a } from "./solid-DEqheBYf.js";
3
+ import { c as a } from "./solid-CpJcQLq3.js";
4
4
  import { FontAwesomeIcon as m } from "@fortawesome/react-fontawesome";
5
5
  import { useState as d, useEffect as p } from "react";
6
6
  import { twMerge as f } from "tailwind-merge";
@@ -1,13 +1,13 @@
1
1
  "use client";
2
- import { jsxs as t, jsx as e, Fragment as c } from "react/jsx-runtime";
3
- import { b as u, c as m } from "./solid-DEqheBYf.js";
2
+ import { jsxs as t, Fragment as c, jsx as e } from "react/jsx-runtime";
3
+ import { l as u, m } from "./solid-CpJcQLq3.js";
4
4
  import { FontAwesomeIcon as l } from "@fortawesome/react-fontawesome";
5
5
  import { useContext as f } from "react";
6
- import { twMerge as b } from "tailwind-merge";
7
- import { tv as k } from "tailwind-variants";
8
- import { BlockquoteContext as x } from "./blockquote-context.js";
6
+ import { twMerge as k } from "tailwind-merge";
7
+ import { tv as x } from "tailwind-variants";
8
+ import { BlockquoteContext as b } from "./blockquote-context.js";
9
9
  function p({ className: s, children: i }) {
10
- const o = f(x), r = k({
10
+ const o = f(b), r = x({
11
11
  slots: {
12
12
  base: "block w-full text-center text-3xl font-light italic",
13
13
  icons: "inline-block h-[1em]"
@@ -23,7 +23,7 @@ function p({ className: s, children: i }) {
23
23
  }
24
24
  }
25
25
  }), { base: a, icons: n } = r({ color: o?.color ?? "yellow" });
26
- return /* @__PURE__ */ t("blockquote", { className: `uofg-blockquote-content ${b(a(), s)}`, children: [
26
+ return /* @__PURE__ */ t("blockquote", { className: `uofg-blockquote-content ${k(a(), s)}`, children: [
27
27
  !o?.hideQuotationMarks && /* @__PURE__ */ t(c, { children: [
28
28
  /* @__PURE__ */ e(l, { icon: u, className: `uofg-blockquote-content-left-quote ${n()}` }),
29
29
  " "
@@ -1,5 +1,5 @@
1
1
  import { jsx as o, jsxs as c } from "react/jsx-runtime";
2
- import { c as s } from "./regular-DFL2CD9m.js";
2
+ import { g as s } from "./regular-Dfv3Fzq0.js";
3
3
  import { FontAwesomeIcon as i } from "@fortawesome/react-fontawesome";
4
4
  import { twJoin as l } from "tailwind-merge";
5
5
  function n({
@@ -1,5 +1,5 @@
1
- import { jsxs as d, jsx as o } from "react/jsx-runtime";
2
- import { d as u } from "./regular-DFL2CD9m.js";
1
+ import { jsxs as u, jsx as o } from "react/jsx-runtime";
2
+ import { a as d } from "./regular-Dfv3Fzq0.js";
3
3
  import { FontAwesomeIcon as b } from "@fortawesome/react-fontawesome";
4
4
  import { twMerge as p } from "tailwind-merge";
5
5
  import { tv as f } from "tailwind-variants";
@@ -18,8 +18,8 @@ function x({
18
18
  link: "underline decoration-transparent decoration-1 transition-colors hocus-visible:decoration-black"
19
19
  }
20
20
  }), { container: m, icon: s, link: l } = i();
21
- return /* @__PURE__ */ d("li", { className: `uofg-breadcrumb-list-item ${m()}`, children: [
22
- /* @__PURE__ */ o(b, { icon: u, className: s() }),
21
+ return /* @__PURE__ */ u("li", { className: `uofg-breadcrumb-list-item ${m()}`, children: [
22
+ /* @__PURE__ */ o(b, { icon: d, className: s() }),
23
23
  e ? /* @__PURE__ */ o(c, { ...a, className: `uofg-breadcrumb ${p(l(), t)}`, href: e, children: r }) : /* @__PURE__ */ o("span", { children: r })
24
24
  ] });
25
25
  }
package/dist/carousel.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsxs as m, jsx as c } from "react/jsx-runtime";
3
- import { d as I, e as $ } from "./solid-DEqheBYf.js";
3
+ import { a as I, b as $ } from "./solid-CpJcQLq3.js";
4
4
  import { FontAwesomeIcon as w } from "@fortawesome/react-fontawesome";
5
5
  import { Children as A, useRef as b, useState as F, useEffect as L } from "react";
6
6
  import { tv as S } from "tailwind-variants";
package/dist/checkbox.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsxs as s, jsx as e } from "react/jsx-runtime";
3
- import { b as p } from "./regular-DFL2CD9m.js";
3
+ import { f as p } from "./regular-Dfv3Fzq0.js";
4
4
  import { FontAwesomeIcon as y } from "@fortawesome/react-fontawesome";
5
5
  import { Field as w, Checkbox as v, Label as C, Description as N } from "@headlessui/react";
6
6
  import { useState as $ } from "react";
@@ -55,15 +55,15 @@ function F({
55
55
  }
56
56
  }
57
57
  }), {
58
- base: x,
59
- container: f,
58
+ base: f,
59
+ container: x,
60
60
  box: k,
61
61
  check: g,
62
62
  label: d,
63
63
  description: m
64
64
  } = u({ color: r, disabled: i });
65
- return /* @__PURE__ */ s(w, { className: `uofg-checkbox-field ${x()}`, children: [
66
- /* @__PURE__ */ s("div", { className: `uofg-checkbox-container ${f()}`, children: [
65
+ return /* @__PURE__ */ s(w, { className: `uofg-checkbox-field ${f()}`, children: [
66
+ /* @__PURE__ */ s("div", { className: `uofg-checkbox-container ${x()}`, children: [
67
67
  /* @__PURE__ */ e(
68
68
  v,
69
69
  {
@@ -0,0 +1,10 @@
1
+ export type Toast = {
2
+ message: string;
3
+ type: 'error' | 'success' | 'info' | 'warning';
4
+ id: string;
5
+ timeout: number;
6
+ };
7
+ export type ToastContextValue = {
8
+ addToast: (message: Toast['message'], type?: Toast['type'], timeout?: number) => void;
9
+ };
10
+ export declare const ToastContext: import('react').Context<ToastContextValue | null>;
@@ -0,0 +1,5 @@
1
+ import { ReactNode } from 'react';
2
+ export declare const useToaster: () => import('./toaster-context').ToastContextValue;
3
+ export declare function ToasterProvider({ children }: {
4
+ children: ReactNode;
5
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { jsxs as a, jsx as t } from "react/jsx-runtime";
2
- import { g as r } from "./regular-DFL2CD9m.js";
2
+ import { e as r } from "./regular-Dfv3Fzq0.js";
3
3
  import { FontAwesomeIcon as s } from "@fortawesome/react-fontawesome";
4
4
  import { twMerge as l } from "tailwind-merge";
5
5
  import { tv as m } from "tailwind-variants";
@@ -1,5 +1,5 @@
1
1
  import { jsxs as n, jsx as f } from "react/jsx-runtime";
2
- import { h as m } from "./regular-DFL2CD9m.js";
2
+ import { h as m } from "./regular-Dfv3Fzq0.js";
3
3
  import { FontAwesomeIcon as u } from "@fortawesome/react-fontawesome";
4
4
  import { twMerge as h } from "tailwind-merge";
5
5
  import { tv as p } from "tailwind-variants";
@@ -1,32 +1,30 @@
1
1
  "use client";
2
2
  import { jsx as Q, jsxs as tr } from "react/jsx-runtime";
3
- import { e as hr } from "./regular-DFL2CD9m.js";
3
+ import { b as hr } from "./regular-Dfv3Fzq0.js";
4
4
  import { FontAwesomeIcon as pr } from "@fortawesome/react-fontawesome";
5
5
  import gr, { attributesToProps as yr, domToReact as mr } from "html-react-parser";
6
- import { useState as wr, useMemo as br } from "react";
7
- import { u as vr } from "./use-dismissible-fJ_gWdkv.js";
8
- import { Alert as _r } from "./alert.js";
9
- import { Container as Er } from "./container.js";
10
- import { Link as Ir } from "./link.js";
11
- import { Modal as Ar } from "./modal.js";
12
- import { AlertTitle as Br } from "./alert-title.js";
13
- import { AlertMessage as xr } from "./alert-message.js";
14
- import { AlertSubtitle as Lr } from "./alert-subtitle.js";
15
- import { AlertFooter as Ur } from "./alert-footer.js";
16
- function Sr(F) {
17
- return F && F.__esModule && Object.prototype.hasOwnProperty.call(F, "default") ? F.default : F;
18
- }
19
- function er(F) {
20
- throw new Error('Could not dynamically require "' + F + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
6
+ import { g as wr } from "./_commonjsHelpers-C6fGbg64.js";
7
+ import { useState as br, useMemo as vr } from "react";
8
+ import { u as _r } from "./use-dismissible-fJ_gWdkv.js";
9
+ import { Alert as Er } from "./alert.js";
10
+ import { Container as Ir } from "./container.js";
11
+ import { Link as Ar } from "./link.js";
12
+ import { Modal as Br } from "./modal.js";
13
+ import { AlertTitle as xr } from "./alert-title.js";
14
+ import { AlertMessage as Lr } from "./alert-message.js";
15
+ import { AlertSubtitle as Ur } from "./alert-subtitle.js";
16
+ import { AlertFooter as Sr } from "./alert-footer.js";
17
+ function er(V) {
18
+ throw new Error('Could not dynamically require "' + V + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
21
19
  }
22
20
  var sr = { exports: {} }, cr;
23
21
  function jr() {
24
- return cr || (cr = 1, (function(F, rr) {
22
+ return cr || (cr = 1, (function(V, rr) {
25
23
  (function(_) {
26
- F.exports = _();
24
+ V.exports = _();
27
25
  })(function() {
28
26
  return (function _(j, L, S) {
29
- function q(T, R) {
27
+ function O(T, R) {
30
28
  if (!L[T]) {
31
29
  if (!j[T]) {
32
30
  var J = typeof er == "function" && er;
@@ -36,15 +34,15 @@ function jr() {
36
34
  }
37
35
  R = L[T] = { exports: {} }, j[T][0].call(R.exports, function(K) {
38
36
  var X = j[T][1][K];
39
- return q(X || K);
37
+ return O(X || K);
40
38
  }, R, R.exports, _, j, L, S);
41
39
  }
42
40
  return L[T].exports;
43
41
  }
44
- for (var z = typeof er == "function" && er, P = 0; P < S.length; P++) q(S[P]);
45
- return q;
42
+ for (var z = typeof er == "function" && er, q = 0; q < S.length; q++) O(S[q]);
43
+ return O;
46
44
  })({ 1: [function(_, j, L) {
47
- (function(S, q, z, P, T, R, J, K, X) {
45
+ (function(S, O, z, q, T, R, J, K, X) {
48
46
  var y = _("crypto");
49
47
  function E(s, f) {
50
48
  f = b(s, f);
@@ -214,7 +212,7 @@ Use "options.replacer" or "options.ignoreUnknown"
214
212
  };
215
213
  }).call(this, _("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, _("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/fake_9a5aa49d.js", "/");
216
214
  }, { buffer: 3, crypto: 5, lYpoI2: 11 }], 2: [function(_, j, L) {
217
- (function(S, q, z, P, T, R, J, K, X) {
215
+ (function(S, O, z, q, T, R, J, K, X) {
218
216
  (function(y) {
219
217
  var E = typeof Uint8Array < "u" ? Uint8Array : Array, l = 43, p = 47, b = 48, g = 97, h = 65, I = 45, s = 95;
220
218
  function f(n) {
@@ -247,17 +245,17 @@ Use "options.replacer" or "options.ignoreUnknown"
247
245
  })(L === void 0 ? this.base64js = {} : L);
248
246
  }).call(this, _("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, _("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/base64-js/lib/b64.js", "/node_modules/gulp-browserify/node_modules/base64-js/lib");
249
247
  }, { buffer: 3, lYpoI2: 11 }], 3: [function(_, j, L) {
250
- (function(S, q, l, P, T, R, J, K, X) {
248
+ (function(S, O, l, q, T, R, J, K, X) {
251
249
  var y = _("base64-js"), E = _("ieee754");
252
250
  function l(r, e, i) {
253
251
  if (!(this instanceof l)) return new l(r, e, i);
254
252
  var d, c, w, U, M = typeof r;
255
253
  if (e === "base64" && M == "string") for (r = (U = r).trim ? U.trim() : U.replace(/^\s+|\s+$/g, ""); r.length % 4 != 0; ) r += "=";
256
- if (M == "number") d = V(r);
254
+ if (M == "number") d = P(r);
257
255
  else if (M == "string") d = l.byteLength(r, e);
258
256
  else {
259
257
  if (M != "object") throw new Error("First argument needs to be a number, array or string.");
260
- d = V(r.length);
258
+ d = P(r.length);
261
259
  }
262
260
  if (l._useTypedArrays ? c = l._augment(new Uint8Array(d)) : ((c = this).length = d, c._isBuffer = !0), l._useTypedArrays && typeof r.byteLength == "number") c._set(r);
263
261
  else if (N(U = r) || l.isBuffer(U) || U && typeof U == "object" && typeof U.length == "number") for (w = 0; w < d; w++) l.isBuffer(r) ? c[w] = r.readUInt8(w) : c[w] = r[w];
@@ -273,7 +271,7 @@ Use "options.replacer" or "options.ignoreUnknown"
273
271
  }
274
272
  function b(r, e, i, d) {
275
273
  return l._charsWritten = nr((function(c) {
276
- for (var w, U, M = [], D = 0; D < c.length; D++) U = c.charCodeAt(D), w = U >> 8, U = U % 256, M.push(U), M.push(w);
274
+ for (var w, U, M = [], Y = 0; Y < c.length; Y++) U = c.charCodeAt(Y), w = U >> 8, U = U % 256, M.push(U), M.push(w);
277
275
  return M;
278
276
  })(e), r, i, d);
279
277
  }
@@ -359,7 +357,7 @@ Use "options.replacer" or "options.ignoreUnknown"
359
357
  break;
360
358
  case "utf8":
361
359
  case "utf-8":
362
- i = G(r).length;
360
+ i = $(r).length;
363
361
  break;
364
362
  case "ascii":
365
363
  case "binary":
@@ -390,24 +388,24 @@ list should be an Array.`), r.length === 0) return new l(0);
390
388
  }
391
389
  return i;
392
390
  }, l.prototype.write = function(r, e, i, d) {
393
- isFinite(e) ? isFinite(i) || (d = i, i = void 0) : (D = d, d = e, e = i, i = D), e = Number(e) || 0;
394
- var c, w, U, M, D = this.length - e;
395
- switch ((!i || D < (i = Number(i))) && (i = D), d = String(d || "utf8").toLowerCase()) {
391
+ isFinite(e) ? isFinite(i) || (d = i, i = void 0) : (Y = d, d = e, e = i, i = Y), e = Number(e) || 0;
392
+ var c, w, U, M, Y = this.length - e;
393
+ switch ((!i || Y < (i = Number(i))) && (i = Y), d = String(d || "utf8").toLowerCase()) {
396
394
  case "hex":
397
- c = (function($, H, W, O) {
395
+ c = (function(G, H, W, D) {
398
396
  W = Number(W) || 0;
399
- var Y = $.length - W;
400
- (!O || Y < (O = Number(O))) && (O = Y), m((Y = H.length) % 2 == 0, "Invalid hex string"), Y / 2 < O && (O = Y / 2);
401
- for (var Z = 0; Z < O; Z++) {
397
+ var F = G.length - W;
398
+ (!D || F < (D = Number(D))) && (D = F), m((F = H.length) % 2 == 0, "Invalid hex string"), F / 2 < D && (D = F / 2);
399
+ for (var Z = 0; Z < D; Z++) {
402
400
  var lr = parseInt(H.substr(2 * Z, 2), 16);
403
- m(!isNaN(lr), "Invalid hex string"), $[W + Z] = lr;
401
+ m(!isNaN(lr), "Invalid hex string"), G[W + Z] = lr;
404
402
  }
405
403
  return l._charsWritten = 2 * Z, Z;
406
404
  })(this, r, e, i);
407
405
  break;
408
406
  case "utf8":
409
407
  case "utf-8":
410
- w = this, U = e, M = i, c = l._charsWritten = nr(G(r), w, U, M);
408
+ w = this, U = e, M = i, c = l._charsWritten = nr($(r), w, U, M);
411
409
  break;
412
410
  case "ascii":
413
411
  case "binary":
@@ -431,20 +429,20 @@ list should be an Array.`), r.length === 0) return new l(0);
431
429
  if (r = String(r || "utf8").toLowerCase(), e = Number(e) || 0, (i = i !== void 0 ? Number(i) : M.length) === e) return "";
432
430
  switch (r) {
433
431
  case "hex":
434
- d = (function(D, $, H) {
435
- var W = D.length;
436
- (!$ || $ < 0) && ($ = 0), (!H || H < 0 || W < H) && (H = W);
437
- for (var O = "", Y = $; Y < H; Y++) O += C(D[Y]);
438
- return O;
432
+ d = (function(Y, G, H) {
433
+ var W = Y.length;
434
+ (!G || G < 0) && (G = 0), (!H || H < 0 || W < H) && (H = W);
435
+ for (var D = "", F = G; F < H; F++) D += C(Y[F]);
436
+ return D;
439
437
  })(M, e, i);
440
438
  break;
441
439
  case "utf8":
442
440
  case "utf-8":
443
- d = (function(D, $, H) {
444
- var W = "", O = "";
445
- H = Math.min(D.length, H);
446
- for (var Y = $; Y < H; Y++) D[Y] <= 127 ? (W += ur(O) + String.fromCharCode(D[Y]), O = "") : O += "%" + D[Y].toString(16);
447
- return W + ur(O);
441
+ d = (function(Y, G, H) {
442
+ var W = "", D = "";
443
+ H = Math.min(Y.length, H);
444
+ for (var F = G; F < H; F++) Y[F] <= 127 ? (W += ur(D) + String.fromCharCode(Y[F]), D = "") : D += "%" + Y[F].toString(16);
445
+ return W + ur(D);
448
446
  })(M, e, i);
449
447
  break;
450
448
  case "ascii":
@@ -458,9 +456,9 @@ list should be an Array.`), r.length === 0) return new l(0);
458
456
  case "ucs-2":
459
457
  case "utf16le":
460
458
  case "utf-16le":
461
- d = (function(D, $, H) {
462
- for (var W = D.slice($, H), O = "", Y = 0; Y < W.length; Y += 2) O += String.fromCharCode(W[Y] + 256 * W[Y + 1]);
463
- return O;
459
+ d = (function(Y, G, H) {
460
+ for (var W = Y.slice(G, H), D = "", F = 0; F < W.length; F += 2) D += String.fromCharCode(W[F] + 256 * W[F + 1]);
461
+ return D;
464
462
  })(M, e, i);
465
463
  break;
466
464
  default:
@@ -562,7 +560,7 @@ list should be an Array.`), r.length === 0) return new l(0);
562
560
  function k(r, e, i) {
563
561
  return typeof r != "number" ? i : e <= (r = ~~r) ? e : 0 <= r || 0 <= (r += e) ? r : 0;
564
562
  }
565
- function V(r) {
563
+ function P(r) {
566
564
  return (r = ~~Math.ceil(+r)) < 0 ? 0 : r;
567
565
  }
568
566
  function N(r) {
@@ -573,7 +571,7 @@ list should be an Array.`), r.length === 0) return new l(0);
573
571
  function C(r) {
574
572
  return r < 16 ? "0" + r.toString(16) : r.toString(16);
575
573
  }
576
- function G(r) {
574
+ function $(r) {
577
575
  for (var e = [], i = 0; i < r.length; i++) {
578
576
  var d = r.charCodeAt(i);
579
577
  if (d <= 127) e.push(r.charCodeAt(i));
@@ -612,7 +610,7 @@ list should be an Array.`), r.length === 0) return new l(0);
612
610
  };
613
611
  }).call(this, _("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, _("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/buffer/index.js", "/node_modules/gulp-browserify/node_modules/buffer");
614
612
  }, { "base64-js": 2, buffer: 3, ieee754: 10, lYpoI2: 11 }], 4: [function(_, j, L) {
615
- (function(S, q, y, P, T, R, J, K, X) {
613
+ (function(S, O, y, q, T, R, J, K, X) {
616
614
  var y = _("buffer").Buffer, E = 4, l = new y(E);
617
615
  l.fill(0), j.exports = { hash: function(p, b, g, h) {
618
616
  for (var I = b((function(t, a) {
@@ -624,17 +622,17 @@ list should be an Array.`), r.length === 0) return new l(0);
624
622
  } };
625
623
  }).call(this, _("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, _("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/helpers.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
626
624
  }, { buffer: 3, lYpoI2: 11 }], 5: [function(_, j, L) {
627
- (function(S, q, y, P, T, R, J, K, X) {
625
+ (function(S, O, y, q, T, R, J, K, X) {
628
626
  var y = _("buffer").Buffer, E = _("./sha"), l = _("./sha256"), p = _("./rng"), b = { sha1: E, sha256: l, md5: _("./md5") }, g = 64, h = new y(g);
629
627
  function I(t, a) {
630
628
  var u = b[t = t || "sha1"], B = [];
631
629
  return u || s("algorithm:", t, "is not yet supported"), { update: function(A) {
632
630
  return y.isBuffer(A) || (A = new y(A)), B.push(A), A.length, this;
633
631
  }, digest: function(A) {
634
- var x = y.concat(B), x = a ? (function(v, k, V) {
635
- y.isBuffer(k) || (k = new y(k)), y.isBuffer(V) || (V = new y(V)), k.length > g ? k = v(k) : k.length < g && (k = y.concat([k, h], g));
636
- for (var N = new y(g), C = new y(g), G = 0; G < g; G++) N[G] = 54 ^ k[G], C[G] = 92 ^ k[G];
637
- return V = v(y.concat([N, V])), v(y.concat([C, V]));
632
+ var x = y.concat(B), x = a ? (function(v, k, P) {
633
+ y.isBuffer(k) || (k = new y(k)), y.isBuffer(P) || (P = new y(P)), k.length > g ? k = v(k) : k.length < g && (k = y.concat([k, h], g));
634
+ for (var N = new y(g), C = new y(g), $ = 0; $ < g; $++) N[$] = 54 ^ k[$], C[$] = 92 ^ k[$];
635
+ return P = v(y.concat([N, P])), v(y.concat([C, P]));
638
636
  })(u, a, x) : u(x);
639
637
  return B = null, A ? x.toString(A) : x;
640
638
  } };
@@ -662,7 +660,7 @@ list should be an Array.`), r.length === 0) return new l(0);
662
660
  for (f in n) o(n[f]);
663
661
  }).call(this, _("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, _("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/index.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
664
662
  }, { "./md5": 6, "./rng": 7, "./sha": 8, "./sha256": 9, buffer: 3, lYpoI2: 11 }], 6: [function(_, j, L) {
665
- (function(S, q, z, P, T, R, J, K, X) {
663
+ (function(S, O, z, q, T, R, J, K, X) {
666
664
  var y = _("./helpers");
667
665
  function E(s, f) {
668
666
  s[f >> 5] |= 128 << f % 32, s[14 + (f + 64 >>> 9 << 4)] = f;
@@ -696,23 +694,23 @@ list should be an Array.`), r.length === 0) return new l(0);
696
694
  };
697
695
  }).call(this, _("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, _("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
698
696
  }, { "./helpers": 4, buffer: 3, lYpoI2: 11 }], 7: [function(_, j, L) {
699
- (function(S, q, z, P, T, R, J, K, X) {
697
+ (function(S, O, z, q, T, R, J, K, X) {
700
698
  j.exports = function(y) {
701
699
  for (var E, l = new Array(y), p = 0; p < y; p++) (3 & p) == 0 && (E = 4294967296 * Math.random()), l[p] = E >>> ((3 & p) << 3) & 255;
702
700
  return l;
703
701
  };
704
702
  }).call(this, _("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, _("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
705
703
  }, { buffer: 3, lYpoI2: 11 }], 8: [function(_, j, L) {
706
- (function(S, q, z, P, T, R, J, K, X) {
704
+ (function(S, O, z, q, T, R, J, K, X) {
707
705
  var y = _("./helpers");
708
706
  function E(b, g) {
709
707
  b[g >> 5] |= 128 << 24 - g % 32, b[15 + (g + 64 >> 9 << 4)] = g;
710
708
  for (var h, I, s, f = Array(80), n = 1732584193, o = -271733879, t = -1732584194, a = 271733878, u = -1009589776, B = 0; B < b.length; B += 16) {
711
- for (var A = n, x = o, v = t, k = a, V = u, N = 0; N < 80; N++) {
709
+ for (var A = n, x = o, v = t, k = a, P = u, N = 0; N < 80; N++) {
712
710
  f[N] = N < 16 ? b[B + N] : p(f[N - 3] ^ f[N - 8] ^ f[N - 14] ^ f[N - 16], 1);
713
711
  var C = l(l(p(n, 5), (C = o, I = t, s = a, (h = N) < 20 ? C & I | ~C & s : !(h < 40) && h < 60 ? C & I | C & s | I & s : C ^ I ^ s)), l(l(u, f[N]), (h = N) < 20 ? 1518500249 : h < 40 ? 1859775393 : h < 60 ? -1894007588 : -899497514)), u = a, a = t, t = p(o, 30), o = n, n = C;
714
712
  }
715
- n = l(n, A), o = l(o, x), t = l(t, v), a = l(a, k), u = l(u, V);
713
+ n = l(n, A), o = l(o, x), t = l(t, v), a = l(a, k), u = l(u, P);
716
714
  }
717
715
  return Array(n, o, t, a, u);
718
716
  }
@@ -728,7 +726,7 @@ list should be an Array.`), r.length === 0) return new l(0);
728
726
  };
729
727
  }).call(this, _("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, _("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
730
728
  }, { "./helpers": 4, buffer: 3, lYpoI2: 11 }], 9: [function(_, j, L) {
731
- (function(S, q, z, P, T, R, J, K, X) {
729
+ (function(S, O, z, q, T, R, J, K, X) {
732
730
  function y(g, h) {
733
731
  var I = (65535 & g) + (65535 & h);
734
732
  return (g >> 16) + (h >> 16) + (I >> 16) << 16 | 65535 & I;
@@ -737,8 +735,8 @@ list should be an Array.`), r.length === 0) return new l(0);
737
735
  var I, s = new Array(1116352408, 1899447441, 3049323471, 3921009573, 961987163, 1508970993, 2453635748, 2870763221, 3624381080, 310598401, 607225278, 1426881987, 1925078388, 2162078206, 2614888103, 3248222580, 3835390401, 4022224774, 264347078, 604807628, 770255983, 1249150122, 1555081692, 1996064986, 2554220882, 2821834349, 2952996808, 3210313671, 3336571891, 3584528711, 113926993, 338241895, 666307205, 773529912, 1294757372, 1396182291, 1695183700, 1986661051, 2177026350, 2456956037, 2730485921, 2820302411, 3259730800, 3345764771, 3516065817, 3600352804, 4094571909, 275423344, 430227734, 506948616, 659060556, 883997877, 958139571, 1322822218, 1537002063, 1747873779, 1955562222, 2024104815, 2227730452, 2361852424, 2428436474, 2756734187, 3204031479, 3329325298), f = new Array(1779033703, 3144134277, 1013904242, 2773480762, 1359893119, 2600822924, 528734635, 1541459225), n = new Array(64);
738
736
  g[h >> 5] |= 128 << 24 - h % 32, g[15 + (h + 64 >> 9 << 4)] = h;
739
737
  for (var o, t, a = 0; a < g.length; a += 16) {
740
- for (var u = f[0], B = f[1], A = f[2], x = f[3], v = f[4], k = f[5], V = f[6], N = f[7], C = 0; C < 64; C++) n[C] = C < 16 ? g[C + a] : y(y(y((t = n[C - 2], p(t, 17) ^ p(t, 19) ^ b(t, 10)), n[C - 7]), (t = n[C - 15], p(t, 7) ^ p(t, 18) ^ b(t, 3))), n[C - 16]), I = y(y(y(y(N, p(t = v, 6) ^ p(t, 11) ^ p(t, 25)), v & k ^ ~v & V), s[C]), n[C]), o = y(p(o = u, 2) ^ p(o, 13) ^ p(o, 22), u & B ^ u & A ^ B & A), N = V, V = k, k = v, v = y(x, I), x = A, A = B, B = u, u = y(I, o);
741
- f[0] = y(u, f[0]), f[1] = y(B, f[1]), f[2] = y(A, f[2]), f[3] = y(x, f[3]), f[4] = y(v, f[4]), f[5] = y(k, f[5]), f[6] = y(V, f[6]), f[7] = y(N, f[7]);
738
+ for (var u = f[0], B = f[1], A = f[2], x = f[3], v = f[4], k = f[5], P = f[6], N = f[7], C = 0; C < 64; C++) n[C] = C < 16 ? g[C + a] : y(y(y((t = n[C - 2], p(t, 17) ^ p(t, 19) ^ b(t, 10)), n[C - 7]), (t = n[C - 15], p(t, 7) ^ p(t, 18) ^ b(t, 3))), n[C - 16]), I = y(y(y(y(N, p(t = v, 6) ^ p(t, 11) ^ p(t, 25)), v & k ^ ~v & P), s[C]), n[C]), o = y(p(o = u, 2) ^ p(o, 13) ^ p(o, 22), u & B ^ u & A ^ B & A), N = P, P = k, k = v, v = y(x, I), x = A, A = B, B = u, u = y(I, o);
739
+ f[0] = y(u, f[0]), f[1] = y(B, f[1]), f[2] = y(A, f[2]), f[3] = y(x, f[3]), f[4] = y(v, f[4]), f[5] = y(k, f[5]), f[6] = y(P, f[6]), f[7] = y(N, f[7]);
742
740
  }
743
741
  return f;
744
742
  }
@@ -752,7 +750,7 @@ list should be an Array.`), r.length === 0) return new l(0);
752
750
  };
753
751
  }).call(this, _("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, _("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/sha256.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
754
752
  }, { "./helpers": 4, buffer: 3, lYpoI2: 11 }], 10: [function(_, j, L) {
755
- (function(S, q, z, P, T, R, J, K, X) {
753
+ (function(S, O, z, q, T, R, J, K, X) {
756
754
  L.read = function(y, E, l, p, a) {
757
755
  var g, h, I = 8 * a - p - 1, s = (1 << I) - 1, f = s >> 1, n = -7, o = l ? a - 1 : 0, t = l ? -1 : 1, a = y[E + o];
758
756
  for (o += t, g = a & (1 << -n) - 1, a >>= -n, n += I; 0 < n; g = 256 * g + y[E + o], o += t, n -= 8) ;
@@ -771,7 +769,7 @@ list should be an Array.`), r.length === 0) return new l(0);
771
769
  };
772
770
  }).call(this, _("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, _("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/ieee754/index.js", "/node_modules/gulp-browserify/node_modules/ieee754");
773
771
  }, { buffer: 3, lYpoI2: 11 }], 11: [function(_, j, L) {
774
- (function(S, q, z, P, T, R, J, K, X) {
772
+ (function(S, O, z, q, T, R, J, K, X) {
775
773
  var y, E, l;
776
774
  function p() {
777
775
  }
@@ -797,16 +795,16 @@ list should be an Array.`), r.length === 0) return new l(0);
797
795
  })(sr)), sr.exports;
798
796
  }
799
797
  var Cr = jr();
800
- const kr = /* @__PURE__ */ Sr(Cr), dr = {
801
- replace: (F, rr) => {
802
- if (F.type === "text")
803
- return F.data;
804
- if (F.type !== "tag")
798
+ const kr = /* @__PURE__ */ wr(Cr), dr = {
799
+ replace: (V, rr) => {
800
+ if (V.type === "text")
801
+ return V.data;
802
+ if (V.type !== "tag")
805
803
  return null;
806
- const _ = yr(F.attribs), j = mr(F.children, dr);
807
- switch (F.tagName) {
804
+ const _ = yr(V.attribs), j = mr(V.children, dr);
805
+ switch (V.tagName) {
808
806
  case "a":
809
- return /* @__PURE__ */ Q(Ir, { href: String(_.href), children: j });
807
+ return /* @__PURE__ */ Q(Ar, { href: String(_.href), children: j });
810
808
  case "br":
811
809
  return /* @__PURE__ */ Q("br", {});
812
810
  default:
@@ -814,34 +812,34 @@ const kr = /* @__PURE__ */ Sr(Cr), dr = {
814
812
  }
815
813
  }
816
814
  };
817
- function Jr({ title: F, description: rr, timestamp: _ }) {
818
- const [j, L] = wr(!0), S = br(() => kr({ title: F, description: rr, timestamp: _ }), [F, rr, _]), { dismissed: q, dismiss: z, clear: P } = vr("app-armor-alert", S, "session"), T = gr(rr ?? "", dr);
819
- return q ? /* @__PURE__ */ tr(
815
+ function Kr({ title: V, description: rr, timestamp: _ }) {
816
+ const [j, L] = br(!0), S = vr(() => kr({ title: V, description: rr, timestamp: _ }), [V, rr, _]), { dismissed: O, dismiss: z, clear: q } = _r("app-armor-alert", S, "session"), T = gr(rr ?? "", dr);
817
+ return O ? /* @__PURE__ */ tr(
820
818
  "button",
821
819
  {
822
820
  onClick: () => {
823
- P(), L(!0);
821
+ q(), L(!0);
824
822
  },
825
823
  className: "uofg-dismissable-alert-bar sticky top-0 left-0 z-10000 flex w-dvw cursor-pointer items-center justify-center gap-[0.25em] bg-red p-2 text-red-contrast shadow-md transition hover:bg-black hover:text-white focus:bg-black focus:text-white",
826
824
  children: [
827
825
  /* @__PURE__ */ Q(pr, { className: "uofg-dismissable-alert-bar-icon", icon: hr }),
828
- /* @__PURE__ */ Q("span", { className: "uofg-dismissable-alert-bar-text overflow-hidden text-sm text-ellipsis whitespace-nowrap", children: F })
826
+ /* @__PURE__ */ Q("span", { className: "uofg-dismissable-alert-bar-text overflow-hidden text-sm text-ellipsis whitespace-nowrap", children: V })
829
827
  ]
830
828
  }
831
829
  ) : /* @__PURE__ */ Q(
832
- Ar,
830
+ Br,
833
831
  {
834
832
  open: j,
835
833
  onClose: () => {
836
834
  L(!1), z();
837
835
  },
838
- children: /* @__PURE__ */ Q(Er, { className: "uofg-dismissable-alert-popup-container max-w-[80rem]! p-0", children: /* @__PURE__ */ tr(_r, { children: [
839
- /* @__PURE__ */ Q(Br, { children: "University of Guelph Alert" }),
840
- /* @__PURE__ */ tr(xr, { children: [
841
- /* @__PURE__ */ Q(Lr, { children: F }),
836
+ children: /* @__PURE__ */ Q(Ir, { className: "uofg-dismissable-alert-popup-container max-w-[80rem]! p-0", children: /* @__PURE__ */ tr(Er, { children: [
837
+ /* @__PURE__ */ Q(xr, { children: "University of Guelph Alert" }),
838
+ /* @__PURE__ */ tr(Lr, { children: [
839
+ /* @__PURE__ */ Q(Ur, { children: V }),
842
840
  T
843
841
  ] }),
844
- /* @__PURE__ */ tr(Ur, { className: "flex flex-col gap-4", children: [
842
+ /* @__PURE__ */ tr(Sr, { className: "flex flex-col gap-4", children: [
845
843
  /* @__PURE__ */ tr("span", { children: [
846
844
  "Last Updated: ",
847
845
  _
@@ -853,5 +851,5 @@ function Jr({ title: F, description: rr, timestamp: _ }) {
853
851
  );
854
852
  }
855
853
  export {
856
- Jr as DismissibleAlert
854
+ Kr as DismissibleAlert
857
855
  };
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsxs as i, jsx as o } from "react/jsx-runtime";
3
- import { h as s } from "./solid-DEqheBYf.js";
3
+ import { j as s } from "./solid-CpJcQLq3.js";
4
4
  import { FontAwesomeIcon as u } from "@fortawesome/react-fontawesome";
5
5
  import { useContext as m } from "react";
6
6
  import { twMerge as l } from "tailwind-merge";