@uoguelph/react-components 1.2.1 → 1.2.3

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.
Files changed (64) hide show
  1. package/dist/accordion-button.js +1 -1
  2. package/dist/alert-title.js +4 -4
  3. package/dist/blockquote-content.js +1 -1
  4. package/dist/breadcrumb-home.js +6 -6
  5. package/dist/breadcrumb.js +5 -5
  6. package/dist/carousel.js +1 -1
  7. package/dist/checkbox.js +7 -7
  8. package/dist/components/dismissible-alert/dismissible-alert.d.ts +10 -0
  9. package/dist/components/footer/footer-link.d.ts +6 -0
  10. package/dist/components/footer/footer.d.ts +15 -0
  11. package/dist/components/header/header-link.d.ts +6 -0
  12. package/dist/components/header/header-menu-item.d.ts +3 -0
  13. package/dist/components/header/header-menu.d.ts +6 -0
  14. package/dist/components/header/header.d.ts +28 -0
  15. package/dist/components/layout/layout-content.d.ts +12 -0
  16. package/dist/components/layout/layout.d.ts +13 -0
  17. package/dist/components/loading-indicator/loading-indicator.d.ts +4 -3
  18. package/dist/components/select/select-button.d.ts +10 -0
  19. package/dist/components/select/select-option.d.ts +10 -0
  20. package/dist/components/select/select-options.d.ts +10 -0
  21. package/dist/components/select/select.d.ts +7 -0
  22. package/dist/contact-email.js +1 -1
  23. package/dist/contact-phone.js +1 -1
  24. package/dist/dismissible-alert.d.ts +2 -0
  25. package/dist/dismissible-alert.js +827 -0
  26. package/dist/embedded-video-modal-button.js +8 -8
  27. package/dist/footer-link.d.ts +2 -0
  28. package/dist/footer-link.js +7 -0
  29. package/dist/footer.d.ts +2 -0
  30. package/dist/footer.js +9 -0
  31. package/dist/header-link.d.ts +2 -0
  32. package/dist/header-link.js +7 -0
  33. package/dist/header-menu-item.d.ts +2 -0
  34. package/dist/header-menu-item.js +7 -0
  35. package/dist/header-menu.d.ts +2 -0
  36. package/dist/header-menu.js +7 -0
  37. package/dist/header.d.ts +2 -0
  38. package/dist/header.js +13 -0
  39. package/dist/hero-video.js +1 -1
  40. package/dist/index.css +1 -1
  41. package/dist/index.d.ts +4 -1
  42. package/dist/index.js +25 -11
  43. package/dist/layout-content.d.ts +2 -0
  44. package/dist/layout-content.js +10 -0
  45. package/dist/layout.d.ts +2 -0
  46. package/dist/layout.js +55 -0
  47. package/dist/loading-indicator.js +28 -39
  48. package/dist/modal.js +1 -1
  49. package/dist/{regular-BRNZck7j.js → regular-23gOebKJ.js} +5 -5
  50. package/dist/select-button.d.ts +2 -0
  51. package/dist/select-button.js +40 -0
  52. package/dist/select-option.d.ts +2 -0
  53. package/dist/select-option.js +48 -0
  54. package/dist/select-options.d.ts +2 -0
  55. package/dist/select-options.js +31 -0
  56. package/dist/select.d.ts +2 -0
  57. package/dist/select.js +9 -0
  58. package/dist/{solid-DM6GVhkF.js → solid-D4xgBves.js} +16 -5
  59. package/dist/statistics.js +27 -37
  60. package/dist/text-input.js +1 -1
  61. package/dist/use-dismissible-CWEoUQGp.js +26 -0
  62. package/dist/use-resize-observer-DmddO4OQ.js +15 -0
  63. package/dist/utils/use-dismissible.d.ts +5 -0
  64. package/package.json +4 -2
@@ -0,0 +1,827 @@
1
+ import { jsx as Z, jsxs as tr, Fragment as dr } from "react/jsx-runtime";
2
+ import { useState as hr, useMemo as pr } from "react";
3
+ import { u as gr } from "./use-dismissible-CWEoUQGp.js";
4
+ import { Alert as yr } from "./alert.js";
5
+ import { Button as mr } from "./button.js";
6
+ import { Container as wr } from "./container.js";
7
+ import { Modal as br } from "./modal.js";
8
+ import { AlertTitle as vr } from "./alert-title.js";
9
+ import { AlertMessage as _r } from "./alert-message.js";
10
+ import { AlertSubtitle as Er } from "./alert-subtitle.js";
11
+ import { AlertFooter as Ir } from "./alert-footer.js";
12
+ function Ar(O) {
13
+ return O && O.__esModule && Object.prototype.hasOwnProperty.call(O, "default") ? O.default : O;
14
+ }
15
+ function nr(O) {
16
+ throw new Error('Could not dynamically require "' + O + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
17
+ }
18
+ var ir = { exports: {} }, cr;
19
+ function Br() {
20
+ return cr || (cr = 1, function(O, sr) {
21
+ (function(_) {
22
+ O.exports = _();
23
+ })(function() {
24
+ return function _(C, U, S) {
25
+ function R(N, q) {
26
+ if (!U[N]) {
27
+ if (!C[N]) {
28
+ var J = typeof nr == "function" && nr;
29
+ if (!q && J) return J(N, !0);
30
+ if (z) return z(N, !0);
31
+ throw new Error("Cannot find module '" + N + "'");
32
+ }
33
+ q = U[N] = { exports: {} }, C[N][0].call(q.exports, function(K) {
34
+ var X = C[N][1][K];
35
+ return R(X || K);
36
+ }, q, q.exports, _, C, U, S);
37
+ }
38
+ return U[N].exports;
39
+ }
40
+ for (var z = typeof nr == "function" && nr, V = 0; V < S.length; V++) R(S[V]);
41
+ return R;
42
+ }({ 1: [function(_, C, U) {
43
+ (function(S, R, z, V, N, q, J, K, X) {
44
+ var y = _("crypto");
45
+ function E(s, f) {
46
+ f = b(s, f);
47
+ var n;
48
+ return (n = f.algorithm !== "passthrough" ? y.createHash(f.algorithm) : new I()).write === void 0 && (n.write = n.update, n.end = n.update), h(f, n).dispatch(s), n.update || n.end(""), n.digest ? n.digest(f.encoding === "buffer" ? void 0 : f.encoding) : (s = n.read(), f.encoding !== "buffer" ? s.toString(f.encoding) : s);
49
+ }
50
+ (U = C.exports = E).sha1 = function(s) {
51
+ return E(s);
52
+ }, U.keys = function(s) {
53
+ return E(s, { excludeValues: !0, algorithm: "sha1", encoding: "hex" });
54
+ }, U.MD5 = function(s) {
55
+ return E(s, { algorithm: "md5", encoding: "hex" });
56
+ }, U.keysMD5 = function(s) {
57
+ return E(s, { algorithm: "md5", encoding: "hex", excludeValues: !0 });
58
+ };
59
+ var l = y.getHashes ? y.getHashes().slice() : ["sha1", "md5"], p = (l.push("passthrough"), ["buffer", "hex", "binary", "base64"]);
60
+ function b(s, f) {
61
+ var n = {};
62
+ if (n.algorithm = (f = f || {}).algorithm || "sha1", n.encoding = f.encoding || "hex", n.excludeValues = !!f.excludeValues, n.algorithm = n.algorithm.toLowerCase(), n.encoding = n.encoding.toLowerCase(), n.ignoreUnknown = f.ignoreUnknown === !0, n.respectType = f.respectType !== !1, n.respectFunctionNames = f.respectFunctionNames !== !1, n.respectFunctionProperties = f.respectFunctionProperties !== !1, n.unorderedArrays = f.unorderedArrays === !0, n.unorderedSets = f.unorderedSets !== !1, n.unorderedObjects = f.unorderedObjects !== !1, n.replacer = f.replacer || void 0, n.excludeKeys = f.excludeKeys || void 0, s === void 0) throw new Error("Object argument required.");
63
+ for (var o = 0; o < l.length; ++o) l[o].toLowerCase() === n.algorithm.toLowerCase() && (n.algorithm = l[o]);
64
+ if (l.indexOf(n.algorithm) === -1) throw new Error('Algorithm "' + n.algorithm + '" not supported. supported values: ' + l.join(", "));
65
+ if (p.indexOf(n.encoding) === -1 && n.algorithm !== "passthrough") throw new Error('Encoding "' + n.encoding + '" not supported. supported values: ' + p.join(", "));
66
+ return n;
67
+ }
68
+ function g(s) {
69
+ if (typeof s == "function") return /^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(s)) != null;
70
+ }
71
+ function h(s, f, n) {
72
+ n = n || [];
73
+ function o(t) {
74
+ return f.update ? f.update(t, "utf8") : f.write(t, "utf8");
75
+ }
76
+ return { dispatch: function(t) {
77
+ return this["_" + ((t = s.replacer ? s.replacer(t) : t) === null ? "null" : typeof t)](t);
78
+ }, _object: function(t) {
79
+ var u, a = Object.prototype.toString.call(t), B = /\[object (.*)\]/i.exec(a);
80
+ if (B = (B = B ? B[1] : "unknown:[" + a + "]").toLowerCase(), 0 <= (a = n.indexOf(t))) return this.dispatch("[CIRCULAR:" + a + "]");
81
+ if (n.push(t), z !== void 0 && z.isBuffer && z.isBuffer(t)) return o("buffer:"), o(t);
82
+ if (B === "object" || B === "function" || B === "asyncfunction") return a = Object.keys(t), s.unorderedObjects && (a = a.sort()), s.respectType === !1 || g(t) || a.splice(0, 0, "prototype", "__proto__", "constructor"), s.excludeKeys && (a = a.filter(function(A) {
83
+ return !s.excludeKeys(A);
84
+ })), o("object:" + a.length + ":"), u = this, a.forEach(function(A) {
85
+ u.dispatch(A), o(":"), s.excludeValues || u.dispatch(t[A]), o(",");
86
+ });
87
+ if (!this["_" + B]) {
88
+ if (s.ignoreUnknown) return o("[" + B + "]");
89
+ throw new Error('Unknown object type "' + B + '"');
90
+ }
91
+ this["_" + B](t);
92
+ }, _array: function(t, A) {
93
+ A = A !== void 0 ? A : s.unorderedArrays !== !1;
94
+ var a = this;
95
+ if (o("array:" + t.length + ":"), !A || t.length <= 1) return t.forEach(function(x) {
96
+ return a.dispatch(x);
97
+ });
98
+ var B = [], A = t.map(function(x) {
99
+ var v = new I(), k = n.slice();
100
+ return h(s, v, k).dispatch(x), B = B.concat(k.slice(n.length)), v.read().toString();
101
+ });
102
+ return n = n.concat(B), A.sort(), this._array(A, !1);
103
+ }, _date: function(t) {
104
+ return o("date:" + t.toJSON());
105
+ }, _symbol: function(t) {
106
+ return o("symbol:" + t.toString());
107
+ }, _error: function(t) {
108
+ return o("error:" + t.toString());
109
+ }, _boolean: function(t) {
110
+ return o("bool:" + t.toString());
111
+ }, _string: function(t) {
112
+ o("string:" + t.length + ":"), o(t.toString());
113
+ }, _function: function(t) {
114
+ o("fn:"), g(t) ? this.dispatch("[native]") : this.dispatch(t.toString()), s.respectFunctionNames !== !1 && this.dispatch("function-name:" + String(t.name)), s.respectFunctionProperties && this._object(t);
115
+ }, _number: function(t) {
116
+ return o("number:" + t.toString());
117
+ }, _xml: function(t) {
118
+ return o("xml:" + t.toString());
119
+ }, _null: function() {
120
+ return o("Null");
121
+ }, _undefined: function() {
122
+ return o("Undefined");
123
+ }, _regexp: function(t) {
124
+ return o("regex:" + t.toString());
125
+ }, _uint8array: function(t) {
126
+ return o("uint8array:"), this.dispatch(Array.prototype.slice.call(t));
127
+ }, _uint8clampedarray: function(t) {
128
+ return o("uint8clampedarray:"), this.dispatch(Array.prototype.slice.call(t));
129
+ }, _int8array: function(t) {
130
+ return o("int8array:"), this.dispatch(Array.prototype.slice.call(t));
131
+ }, _uint16array: function(t) {
132
+ return o("uint16array:"), this.dispatch(Array.prototype.slice.call(t));
133
+ }, _int16array: function(t) {
134
+ return o("int16array:"), this.dispatch(Array.prototype.slice.call(t));
135
+ }, _uint32array: function(t) {
136
+ return o("uint32array:"), this.dispatch(Array.prototype.slice.call(t));
137
+ }, _int32array: function(t) {
138
+ return o("int32array:"), this.dispatch(Array.prototype.slice.call(t));
139
+ }, _float32array: function(t) {
140
+ return o("float32array:"), this.dispatch(Array.prototype.slice.call(t));
141
+ }, _float64array: function(t) {
142
+ return o("float64array:"), this.dispatch(Array.prototype.slice.call(t));
143
+ }, _arraybuffer: function(t) {
144
+ return o("arraybuffer:"), this.dispatch(new Uint8Array(t));
145
+ }, _url: function(t) {
146
+ return o("url:" + t.toString());
147
+ }, _map: function(t) {
148
+ return o("map:"), t = Array.from(t), this._array(t, s.unorderedSets !== !1);
149
+ }, _set: function(t) {
150
+ return o("set:"), t = Array.from(t), this._array(t, s.unorderedSets !== !1);
151
+ }, _file: function(t) {
152
+ return o("file:"), this.dispatch([t.name, t.size, t.type, t.lastModfied]);
153
+ }, _blob: function() {
154
+ if (s.ignoreUnknown) return o("[blob]");
155
+ throw Error(`Hashing Blob objects is currently not supported
156
+ (see https://github.com/puleos/object-hash/issues/26)
157
+ Use "options.replacer" or "options.ignoreUnknown"
158
+ `);
159
+ }, _domwindow: function() {
160
+ return o("domwindow");
161
+ }, _bigint: function(t) {
162
+ return o("bigint:" + t.toString());
163
+ }, _process: function() {
164
+ return o("process");
165
+ }, _timer: function() {
166
+ return o("timer");
167
+ }, _pipe: function() {
168
+ return o("pipe");
169
+ }, _tcp: function() {
170
+ return o("tcp");
171
+ }, _udp: function() {
172
+ return o("udp");
173
+ }, _tty: function() {
174
+ return o("tty");
175
+ }, _statwatcher: function() {
176
+ return o("statwatcher");
177
+ }, _securecontext: function() {
178
+ return o("securecontext");
179
+ }, _connection: function() {
180
+ return o("connection");
181
+ }, _zlib: function() {
182
+ return o("zlib");
183
+ }, _context: function() {
184
+ return o("context");
185
+ }, _nodescript: function() {
186
+ return o("nodescript");
187
+ }, _httpparser: function() {
188
+ return o("httpparser");
189
+ }, _dataview: function() {
190
+ return o("dataview");
191
+ }, _signal: function() {
192
+ return o("signal");
193
+ }, _fsevent: function() {
194
+ return o("fsevent");
195
+ }, _tlswrap: function() {
196
+ return o("tlswrap");
197
+ } };
198
+ }
199
+ function I() {
200
+ return { buf: "", write: function(s) {
201
+ this.buf += s;
202
+ }, end: function(s) {
203
+ this.buf += s;
204
+ }, read: function() {
205
+ return this.buf;
206
+ } };
207
+ }
208
+ U.writeToStream = function(s, f, n) {
209
+ return n === void 0 && (n = f, f = {}), h(f = b(s, f), n).dispatch(s);
210
+ };
211
+ }).call(this, _("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, _("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/fake_9a5aa49d.js", "/");
212
+ }, { buffer: 3, crypto: 5, lYpoI2: 11 }], 2: [function(_, C, U) {
213
+ (function(S, R, z, V, N, q, J, K, X) {
214
+ (function(y) {
215
+ var E = typeof Uint8Array < "u" ? Uint8Array : Array, l = 43, p = 47, b = 48, g = 97, h = 65, I = 45, s = 95;
216
+ function f(n) {
217
+ return n = n.charCodeAt(0), n === l || n === I ? 62 : n === p || n === s ? 63 : n < b ? -1 : n < b + 10 ? n - b + 26 + 26 : n < h + 26 ? n - h : n < g + 26 ? n - g + 26 : void 0;
218
+ }
219
+ y.toByteArray = function(n) {
220
+ var o, t;
221
+ if (0 < n.length % 4) throw new Error("Invalid string. Length must be a multiple of 4");
222
+ var u = n.length, u = n.charAt(u - 2) === "=" ? 2 : n.charAt(u - 1) === "=" ? 1 : 0, a = new E(3 * n.length / 4 - u), B = 0 < u ? n.length - 4 : n.length, A = 0;
223
+ function x(v) {
224
+ a[A++] = v;
225
+ }
226
+ for (o = 0; o < B; o += 4, 0) x((16711680 & (t = f(n.charAt(o)) << 18 | f(n.charAt(o + 1)) << 12 | f(n.charAt(o + 2)) << 6 | f(n.charAt(o + 3)))) >> 16), x((65280 & t) >> 8), x(255 & t);
227
+ return u == 2 ? x(255 & (t = f(n.charAt(o)) << 2 | f(n.charAt(o + 1)) >> 4)) : u == 1 && (x((t = f(n.charAt(o)) << 10 | f(n.charAt(o + 1)) << 4 | f(n.charAt(o + 2)) >> 2) >> 8 & 255), x(255 & t)), a;
228
+ }, y.fromByteArray = function(n) {
229
+ var o, t, u, a, B = n.length % 3, A = "";
230
+ function x(v) {
231
+ return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(v);
232
+ }
233
+ for (o = 0, u = n.length - B; o < u; o += 3) t = (n[o] << 16) + (n[o + 1] << 8) + n[o + 2], A += x((a = t) >> 18 & 63) + x(a >> 12 & 63) + x(a >> 6 & 63) + x(63 & a);
234
+ switch (B) {
235
+ case 1:
236
+ A = (A += x((t = n[n.length - 1]) >> 2)) + x(t << 4 & 63) + "==";
237
+ break;
238
+ case 2:
239
+ A = (A = (A += x((t = (n[n.length - 2] << 8) + n[n.length - 1]) >> 10)) + x(t >> 4 & 63)) + x(t << 2 & 63) + "=";
240
+ }
241
+ return A;
242
+ };
243
+ })(U === void 0 ? this.base64js = {} : U);
244
+ }).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");
245
+ }, { buffer: 3, lYpoI2: 11 }], 3: [function(_, C, U) {
246
+ (function(S, R, l, V, N, q, J, K, X) {
247
+ var y = _("base64-js"), E = _("ieee754");
248
+ function l(r, e, i) {
249
+ if (!(this instanceof l)) return new l(r, e, i);
250
+ var d, c, w, L, T = typeof r;
251
+ if (e === "base64" && T == "string") for (r = (L = r).trim ? L.trim() : L.replace(/^\s+|\s+$/g, ""); r.length % 4 != 0; ) r += "=";
252
+ if (T == "number") d = P(r);
253
+ else if (T == "string") d = l.byteLength(r, e);
254
+ else {
255
+ if (T != "object") throw new Error("First argument needs to be a number, array or string.");
256
+ d = P(r.length);
257
+ }
258
+ 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);
259
+ else if (M(L = r) || l.isBuffer(L) || L && typeof L == "object" && typeof L.length == "number") for (w = 0; w < d; w++) l.isBuffer(r) ? c[w] = r.readUInt8(w) : c[w] = r[w];
260
+ else if (T == "string") c.write(r, 0, e);
261
+ else if (T == "number" && !l._useTypedArrays && !i) for (w = 0; w < d; w++) c[w] = 0;
262
+ return c;
263
+ }
264
+ function p(r, e, i, d) {
265
+ return l._charsWritten = rr(function(c) {
266
+ for (var w = [], L = 0; L < c.length; L++) w.push(255 & c.charCodeAt(L));
267
+ return w;
268
+ }(e), r, i, d);
269
+ }
270
+ function b(r, e, i, d) {
271
+ return l._charsWritten = rr(function(c) {
272
+ for (var w, L, T = [], Y = 0; Y < c.length; Y++) L = c.charCodeAt(Y), w = L >> 8, L = L % 256, T.push(L), T.push(w);
273
+ return T;
274
+ }(e), r, i, d);
275
+ }
276
+ function g(r, e, i) {
277
+ var d = "";
278
+ i = Math.min(r.length, i);
279
+ for (var c = e; c < i; c++) d += String.fromCharCode(r[c]);
280
+ return d;
281
+ }
282
+ function h(r, e, i, w) {
283
+ w || (m(typeof i == "boolean", "missing or invalid endian"), m(e != null, "missing offset"), m(e + 1 < r.length, "Trying to read beyond buffer length"));
284
+ var c, w = r.length;
285
+ if (!(w <= e)) return i ? (c = r[e], e + 1 < w && (c |= r[e + 1] << 8)) : (c = r[e] << 8, e + 1 < w && (c |= r[e + 1])), c;
286
+ }
287
+ function I(r, e, i, w) {
288
+ w || (m(typeof i == "boolean", "missing or invalid endian"), m(e != null, "missing offset"), m(e + 3 < r.length, "Trying to read beyond buffer length"));
289
+ var c, w = r.length;
290
+ if (!(w <= e)) return i ? (e + 2 < w && (c = r[e + 2] << 16), e + 1 < w && (c |= r[e + 1] << 8), c |= r[e], e + 3 < w && (c += r[e + 3] << 24 >>> 0)) : (e + 1 < w && (c = r[e + 1] << 16), e + 2 < w && (c |= r[e + 2] << 8), e + 3 < w && (c |= r[e + 3]), c += r[e] << 24 >>> 0), c;
291
+ }
292
+ function s(r, e, i, d) {
293
+ if (d || (m(typeof i == "boolean", "missing or invalid endian"), m(e != null, "missing offset"), m(e + 1 < r.length, "Trying to read beyond buffer length")), !(r.length <= e)) return d = h(r, e, i, !0), 32768 & d ? -1 * (65535 - d + 1) : d;
294
+ }
295
+ function f(r, e, i, d) {
296
+ if (d || (m(typeof i == "boolean", "missing or invalid endian"), m(e != null, "missing offset"), m(e + 3 < r.length, "Trying to read beyond buffer length")), !(r.length <= e)) return d = I(r, e, i, !0), 2147483648 & d ? -1 * (4294967295 - d + 1) : d;
297
+ }
298
+ function n(r, e, i, d) {
299
+ return d || (m(typeof i == "boolean", "missing or invalid endian"), m(e + 3 < r.length, "Trying to read beyond buffer length")), E.read(r, e, i, 23, 4);
300
+ }
301
+ function o(r, e, i, d) {
302
+ return d || (m(typeof i == "boolean", "missing or invalid endian"), m(e + 7 < r.length, "Trying to read beyond buffer length")), E.read(r, e, i, 52, 8);
303
+ }
304
+ function t(r, e, i, d, c) {
305
+ if (c || (m(e != null, "missing value"), m(typeof d == "boolean", "missing or invalid endian"), m(i != null, "missing offset"), m(i + 1 < r.length, "trying to write beyond buffer length"), er(e, 65535)), c = r.length, !(c <= i)) for (var w = 0, L = Math.min(c - i, 2); w < L; w++) r[i + w] = (e & 255 << 8 * (d ? w : 1 - w)) >>> 8 * (d ? w : 1 - w);
306
+ }
307
+ function u(r, e, i, d, c) {
308
+ if (c || (m(e != null, "missing value"), m(typeof d == "boolean", "missing or invalid endian"), m(i != null, "missing offset"), m(i + 3 < r.length, "trying to write beyond buffer length"), er(e, 4294967295)), c = r.length, !(c <= i)) for (var w = 0, L = Math.min(c - i, 4); w < L; w++) r[i + w] = e >>> 8 * (d ? w : 3 - w) & 255;
309
+ }
310
+ function a(r, e, i, d, c) {
311
+ c || (m(e != null, "missing value"), m(typeof d == "boolean", "missing or invalid endian"), m(i != null, "missing offset"), m(i + 1 < r.length, "Trying to write beyond buffer length"), or(e, 32767, -32768)), r.length <= i || t(r, 0 <= e ? e : 65535 + e + 1, i, d, c);
312
+ }
313
+ function B(r, e, i, d, c) {
314
+ c || (m(e != null, "missing value"), m(typeof d == "boolean", "missing or invalid endian"), m(i != null, "missing offset"), m(i + 3 < r.length, "Trying to write beyond buffer length"), or(e, 2147483647, -2147483648)), r.length <= i || u(r, 0 <= e ? e : 4294967295 + e + 1, i, d, c);
315
+ }
316
+ function A(r, e, i, d, c) {
317
+ c || (m(e != null, "missing value"), m(typeof d == "boolean", "missing or invalid endian"), m(i != null, "missing offset"), m(i + 3 < r.length, "Trying to write beyond buffer length"), fr(e, 34028234663852886e22, -34028234663852886e22)), r.length <= i || E.write(r, e, i, d, 23, 4);
318
+ }
319
+ function x(r, e, i, d, c) {
320
+ c || (m(e != null, "missing value"), m(typeof d == "boolean", "missing or invalid endian"), m(i != null, "missing offset"), m(i + 7 < r.length, "Trying to write beyond buffer length"), fr(e, 17976931348623157e292, -17976931348623157e292)), r.length <= i || E.write(r, e, i, d, 52, 8);
321
+ }
322
+ U.Buffer = l, U.SlowBuffer = l, U.INSPECT_MAX_BYTES = 50, l.poolSize = 8192, l._useTypedArrays = function() {
323
+ try {
324
+ var r = new ArrayBuffer(0), e = new Uint8Array(r);
325
+ return e.foo = function() {
326
+ return 42;
327
+ }, e.foo() === 42 && typeof e.subarray == "function";
328
+ } catch {
329
+ return !1;
330
+ }
331
+ }(), l.isEncoding = function(r) {
332
+ switch (String(r).toLowerCase()) {
333
+ case "hex":
334
+ case "utf8":
335
+ case "utf-8":
336
+ case "ascii":
337
+ case "binary":
338
+ case "base64":
339
+ case "raw":
340
+ case "ucs2":
341
+ case "ucs-2":
342
+ case "utf16le":
343
+ case "utf-16le":
344
+ return !0;
345
+ default:
346
+ return !1;
347
+ }
348
+ }, l.isBuffer = function(r) {
349
+ return !(r == null || !r._isBuffer);
350
+ }, l.byteLength = function(r, e) {
351
+ var i;
352
+ switch (r += "", e || "utf8") {
353
+ case "hex":
354
+ i = r.length / 2;
355
+ break;
356
+ case "utf8":
357
+ case "utf-8":
358
+ i = $(r).length;
359
+ break;
360
+ case "ascii":
361
+ case "binary":
362
+ case "raw":
363
+ i = r.length;
364
+ break;
365
+ case "base64":
366
+ i = ur(r).length;
367
+ break;
368
+ case "ucs2":
369
+ case "ucs-2":
370
+ case "utf16le":
371
+ case "utf-16le":
372
+ i = 2 * r.length;
373
+ break;
374
+ default:
375
+ throw new Error("Unknown encoding");
376
+ }
377
+ return i;
378
+ }, l.concat = function(r, e) {
379
+ if (m(M(r), `Usage: Buffer.concat(list, [totalLength])
380
+ list should be an Array.`), r.length === 0) return new l(0);
381
+ if (r.length === 1) return r[0];
382
+ if (typeof e != "number") for (c = e = 0; c < r.length; c++) e += r[c].length;
383
+ for (var i = new l(e), d = 0, c = 0; c < r.length; c++) {
384
+ var w = r[c];
385
+ w.copy(i, d), d += w.length;
386
+ }
387
+ return i;
388
+ }, l.prototype.write = function(r, e, i, d) {
389
+ isFinite(e) ? isFinite(i) || (d = i, i = void 0) : (Y = d, d = e, e = i, i = Y), e = Number(e) || 0;
390
+ var c, w, L, T, Y = this.length - e;
391
+ switch ((!i || Y < (i = Number(i))) && (i = Y), d = String(d || "utf8").toLowerCase()) {
392
+ case "hex":
393
+ c = function(G, H, W, D) {
394
+ W = Number(W) || 0;
395
+ var F = G.length - W;
396
+ (!D || F < (D = Number(D))) && (D = F), m((F = H.length) % 2 == 0, "Invalid hex string"), F / 2 < D && (D = F / 2);
397
+ for (var Q = 0; Q < D; Q++) {
398
+ var lr = parseInt(H.substr(2 * Q, 2), 16);
399
+ m(!isNaN(lr), "Invalid hex string"), G[W + Q] = lr;
400
+ }
401
+ return l._charsWritten = 2 * Q, Q;
402
+ }(this, r, e, i);
403
+ break;
404
+ case "utf8":
405
+ case "utf-8":
406
+ w = this, L = e, T = i, c = l._charsWritten = rr($(r), w, L, T);
407
+ break;
408
+ case "ascii":
409
+ case "binary":
410
+ c = p(this, r, e, i);
411
+ break;
412
+ case "base64":
413
+ w = this, L = e, T = i, c = l._charsWritten = rr(ur(r), w, L, T);
414
+ break;
415
+ case "ucs2":
416
+ case "ucs-2":
417
+ case "utf16le":
418
+ case "utf-16le":
419
+ c = b(this, r, e, i);
420
+ break;
421
+ default:
422
+ throw new Error("Unknown encoding");
423
+ }
424
+ return c;
425
+ }, l.prototype.toString = function(r, e, i) {
426
+ var d, c, w, L, T = this;
427
+ if (r = String(r || "utf8").toLowerCase(), e = Number(e) || 0, (i = i !== void 0 ? Number(i) : T.length) === e) return "";
428
+ switch (r) {
429
+ case "hex":
430
+ d = function(Y, G, H) {
431
+ var W = Y.length;
432
+ (!G || G < 0) && (G = 0), (!H || H < 0 || W < H) && (H = W);
433
+ for (var D = "", F = G; F < H; F++) D += j(Y[F]);
434
+ return D;
435
+ }(T, e, i);
436
+ break;
437
+ case "utf8":
438
+ case "utf-8":
439
+ d = function(Y, G, H) {
440
+ var W = "", D = "";
441
+ H = Math.min(Y.length, H);
442
+ for (var F = G; F < H; F++) Y[F] <= 127 ? (W += ar(D) + String.fromCharCode(Y[F]), D = "") : D += "%" + Y[F].toString(16);
443
+ return W + ar(D);
444
+ }(T, e, i);
445
+ break;
446
+ case "ascii":
447
+ case "binary":
448
+ d = g(T, e, i);
449
+ break;
450
+ case "base64":
451
+ c = T, L = i, d = (w = e) === 0 && L === c.length ? y.fromByteArray(c) : y.fromByteArray(c.slice(w, L));
452
+ break;
453
+ case "ucs2":
454
+ case "ucs-2":
455
+ case "utf16le":
456
+ case "utf-16le":
457
+ d = function(Y, G, H) {
458
+ for (var W = Y.slice(G, H), D = "", F = 0; F < W.length; F += 2) D += String.fromCharCode(W[F] + 256 * W[F + 1]);
459
+ return D;
460
+ }(T, e, i);
461
+ break;
462
+ default:
463
+ throw new Error("Unknown encoding");
464
+ }
465
+ return d;
466
+ }, l.prototype.toJSON = function() {
467
+ return { type: "Buffer", data: Array.prototype.slice.call(this._arr || this, 0) };
468
+ }, l.prototype.copy = function(r, e, i, d) {
469
+ if (e = e || 0, (d = d || d === 0 ? d : this.length) !== (i = i || 0) && r.length !== 0 && this.length !== 0) {
470
+ m(i <= d, "sourceEnd < sourceStart"), m(0 <= e && e < r.length, "targetStart out of bounds"), m(0 <= i && i < this.length, "sourceStart out of bounds"), m(0 <= d && d <= this.length, "sourceEnd out of bounds"), d > this.length && (d = this.length);
471
+ var c = (d = r.length - e < d - i ? r.length - e + i : d) - i;
472
+ if (c < 100 || !l._useTypedArrays) for (var w = 0; w < c; w++) r[w + e] = this[w + i];
473
+ else r._set(this.subarray(i, i + c), e);
474
+ }
475
+ }, l.prototype.slice = function(r, e) {
476
+ var i = this.length;
477
+ if (r = k(r, i, 0), e = k(e, i, i), l._useTypedArrays) return l._augment(this.subarray(r, e));
478
+ for (var d = e - r, c = new l(d, void 0, !0), w = 0; w < d; w++) c[w] = this[w + r];
479
+ return c;
480
+ }, l.prototype.get = function(r) {
481
+ return console.log(".get() is deprecated. Access using array indexes instead."), this.readUInt8(r);
482
+ }, l.prototype.set = function(r, e) {
483
+ return console.log(".set() is deprecated. Access using array indexes instead."), this.writeUInt8(r, e);
484
+ }, l.prototype.readUInt8 = function(r, e) {
485
+ if (e || (m(r != null, "missing offset"), m(r < this.length, "Trying to read beyond buffer length")), !(r >= this.length)) return this[r];
486
+ }, l.prototype.readUInt16LE = function(r, e) {
487
+ return h(this, r, !0, e);
488
+ }, l.prototype.readUInt16BE = function(r, e) {
489
+ return h(this, r, !1, e);
490
+ }, l.prototype.readUInt32LE = function(r, e) {
491
+ return I(this, r, !0, e);
492
+ }, l.prototype.readUInt32BE = function(r, e) {
493
+ return I(this, r, !1, e);
494
+ }, l.prototype.readInt8 = function(r, e) {
495
+ if (e || (m(r != null, "missing offset"), m(r < this.length, "Trying to read beyond buffer length")), !(r >= this.length)) return 128 & this[r] ? -1 * (255 - this[r] + 1) : this[r];
496
+ }, l.prototype.readInt16LE = function(r, e) {
497
+ return s(this, r, !0, e);
498
+ }, l.prototype.readInt16BE = function(r, e) {
499
+ return s(this, r, !1, e);
500
+ }, l.prototype.readInt32LE = function(r, e) {
501
+ return f(this, r, !0, e);
502
+ }, l.prototype.readInt32BE = function(r, e) {
503
+ return f(this, r, !1, e);
504
+ }, l.prototype.readFloatLE = function(r, e) {
505
+ return n(this, r, !0, e);
506
+ }, l.prototype.readFloatBE = function(r, e) {
507
+ return n(this, r, !1, e);
508
+ }, l.prototype.readDoubleLE = function(r, e) {
509
+ return o(this, r, !0, e);
510
+ }, l.prototype.readDoubleBE = function(r, e) {
511
+ return o(this, r, !1, e);
512
+ }, l.prototype.writeUInt8 = function(r, e, i) {
513
+ i || (m(r != null, "missing value"), m(e != null, "missing offset"), m(e < this.length, "trying to write beyond buffer length"), er(r, 255)), e >= this.length || (this[e] = r);
514
+ }, l.prototype.writeUInt16LE = function(r, e, i) {
515
+ t(this, r, e, !0, i);
516
+ }, l.prototype.writeUInt16BE = function(r, e, i) {
517
+ t(this, r, e, !1, i);
518
+ }, l.prototype.writeUInt32LE = function(r, e, i) {
519
+ u(this, r, e, !0, i);
520
+ }, l.prototype.writeUInt32BE = function(r, e, i) {
521
+ u(this, r, e, !1, i);
522
+ }, l.prototype.writeInt8 = function(r, e, i) {
523
+ i || (m(r != null, "missing value"), m(e != null, "missing offset"), m(e < this.length, "Trying to write beyond buffer length"), or(r, 127, -128)), e >= this.length || (0 <= r ? this.writeUInt8(r, e, i) : this.writeUInt8(255 + r + 1, e, i));
524
+ }, l.prototype.writeInt16LE = function(r, e, i) {
525
+ a(this, r, e, !0, i);
526
+ }, l.prototype.writeInt16BE = function(r, e, i) {
527
+ a(this, r, e, !1, i);
528
+ }, l.prototype.writeInt32LE = function(r, e, i) {
529
+ B(this, r, e, !0, i);
530
+ }, l.prototype.writeInt32BE = function(r, e, i) {
531
+ B(this, r, e, !1, i);
532
+ }, l.prototype.writeFloatLE = function(r, e, i) {
533
+ A(this, r, e, !0, i);
534
+ }, l.prototype.writeFloatBE = function(r, e, i) {
535
+ A(this, r, e, !1, i);
536
+ }, l.prototype.writeDoubleLE = function(r, e, i) {
537
+ x(this, r, e, !0, i);
538
+ }, l.prototype.writeDoubleBE = function(r, e, i) {
539
+ x(this, r, e, !1, i);
540
+ }, l.prototype.fill = function(r, e, i) {
541
+ if (e = e || 0, i = i || this.length, m(typeof (r = typeof (r = r || 0) == "string" ? r.charCodeAt(0) : r) == "number" && !isNaN(r), "value is not a number"), m(e <= i, "end < start"), i !== e && this.length !== 0) {
542
+ m(0 <= e && e < this.length, "start out of bounds"), m(0 <= i && i <= this.length, "end out of bounds");
543
+ for (var d = e; d < i; d++) this[d] = r;
544
+ }
545
+ }, l.prototype.inspect = function() {
546
+ for (var r = [], e = this.length, i = 0; i < e; i++) if (r[i] = j(this[i]), i === U.INSPECT_MAX_BYTES) {
547
+ r[i + 1] = "...";
548
+ break;
549
+ }
550
+ return "<Buffer " + r.join(" ") + ">";
551
+ }, l.prototype.toArrayBuffer = function() {
552
+ if (typeof Uint8Array > "u") throw new Error("Buffer.toArrayBuffer not supported in this browser");
553
+ if (l._useTypedArrays) return new l(this).buffer;
554
+ for (var r = new Uint8Array(this.length), e = 0, i = r.length; e < i; e += 1) r[e] = this[e];
555
+ return r.buffer;
556
+ };
557
+ var v = l.prototype;
558
+ function k(r, e, i) {
559
+ return typeof r != "number" ? i : e <= (r = ~~r) ? e : 0 <= r || 0 <= (r += e) ? r : 0;
560
+ }
561
+ function P(r) {
562
+ return (r = ~~Math.ceil(+r)) < 0 ? 0 : r;
563
+ }
564
+ function M(r) {
565
+ return (Array.isArray || function(e) {
566
+ return Object.prototype.toString.call(e) === "[object Array]";
567
+ })(r);
568
+ }
569
+ function j(r) {
570
+ return r < 16 ? "0" + r.toString(16) : r.toString(16);
571
+ }
572
+ function $(r) {
573
+ for (var e = [], i = 0; i < r.length; i++) {
574
+ var d = r.charCodeAt(i);
575
+ if (d <= 127) e.push(r.charCodeAt(i));
576
+ else for (var c = i, w = (55296 <= d && d <= 57343 && i++, encodeURIComponent(r.slice(c, i + 1)).substr(1).split("%")), L = 0; L < w.length; L++) e.push(parseInt(w[L], 16));
577
+ }
578
+ return e;
579
+ }
580
+ function ur(r) {
581
+ return y.toByteArray(r);
582
+ }
583
+ function rr(r, e, i, d) {
584
+ for (var c = 0; c < d && !(c + i >= e.length || c >= r.length); c++) e[c + i] = r[c];
585
+ return c;
586
+ }
587
+ function ar(r) {
588
+ try {
589
+ return decodeURIComponent(r);
590
+ } catch {
591
+ return "�";
592
+ }
593
+ }
594
+ function er(r, e) {
595
+ m(typeof r == "number", "cannot write a non-number as a number"), m(0 <= r, "specified a negative value for writing an unsigned value"), m(r <= e, "value is larger than maximum value for type"), m(Math.floor(r) === r, "value has a fractional component");
596
+ }
597
+ function or(r, e, i) {
598
+ m(typeof r == "number", "cannot write a non-number as a number"), m(r <= e, "value larger than maximum allowed value"), m(i <= r, "value smaller than minimum allowed value"), m(Math.floor(r) === r, "value has a fractional component");
599
+ }
600
+ function fr(r, e, i) {
601
+ m(typeof r == "number", "cannot write a non-number as a number"), m(r <= e, "value larger than maximum allowed value"), m(i <= r, "value smaller than minimum allowed value");
602
+ }
603
+ function m(r, e) {
604
+ if (!r) throw new Error(e || "Failed assertion");
605
+ }
606
+ l._augment = function(r) {
607
+ return r._isBuffer = !0, r._get = r.get, r._set = r.set, r.get = v.get, r.set = v.set, r.write = v.write, r.toString = v.toString, r.toLocaleString = v.toString, r.toJSON = v.toJSON, r.copy = v.copy, r.slice = v.slice, r.readUInt8 = v.readUInt8, r.readUInt16LE = v.readUInt16LE, r.readUInt16BE = v.readUInt16BE, r.readUInt32LE = v.readUInt32LE, r.readUInt32BE = v.readUInt32BE, r.readInt8 = v.readInt8, r.readInt16LE = v.readInt16LE, r.readInt16BE = v.readInt16BE, r.readInt32LE = v.readInt32LE, r.readInt32BE = v.readInt32BE, r.readFloatLE = v.readFloatLE, r.readFloatBE = v.readFloatBE, r.readDoubleLE = v.readDoubleLE, r.readDoubleBE = v.readDoubleBE, r.writeUInt8 = v.writeUInt8, r.writeUInt16LE = v.writeUInt16LE, r.writeUInt16BE = v.writeUInt16BE, r.writeUInt32LE = v.writeUInt32LE, r.writeUInt32BE = v.writeUInt32BE, r.writeInt8 = v.writeInt8, r.writeInt16LE = v.writeInt16LE, r.writeInt16BE = v.writeInt16BE, r.writeInt32LE = v.writeInt32LE, r.writeInt32BE = v.writeInt32BE, r.writeFloatLE = v.writeFloatLE, r.writeFloatBE = v.writeFloatBE, r.writeDoubleLE = v.writeDoubleLE, r.writeDoubleBE = v.writeDoubleBE, r.fill = v.fill, r.inspect = v.inspect, r.toArrayBuffer = v.toArrayBuffer, r;
608
+ };
609
+ }).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");
610
+ }, { "base64-js": 2, buffer: 3, ieee754: 10, lYpoI2: 11 }], 4: [function(_, C, U) {
611
+ (function(S, R, y, V, N, q, J, K, X) {
612
+ var y = _("buffer").Buffer, E = 4, l = new y(E);
613
+ l.fill(0), C.exports = { hash: function(p, b, g, h) {
614
+ for (var I = b(function(t, u) {
615
+ t.length % E != 0 && (a = t.length + (E - t.length % E), t = y.concat([t, l], a));
616
+ for (var a, B = [], A = u ? t.readInt32BE : t.readInt32LE, x = 0; x < t.length; x += E) B.push(A.call(t, x));
617
+ return B;
618
+ }(p = y.isBuffer(p) ? p : new y(p), h), 8 * p.length), b = h, s = new y(g), f = b ? s.writeInt32BE : s.writeInt32LE, n = 0; n < I.length; n++) f.call(s, I[n], 4 * n, !0);
619
+ return s;
620
+ } };
621
+ }).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");
622
+ }, { buffer: 3, lYpoI2: 11 }], 5: [function(_, C, U) {
623
+ (function(S, R, y, V, N, q, J, K, X) {
624
+ var y = _("buffer").Buffer, E = _("./sha"), l = _("./sha256"), p = _("./rng"), b = { sha1: E, sha256: l, md5: _("./md5") }, g = 64, h = new y(g);
625
+ function I(t, u) {
626
+ var a = b[t = t || "sha1"], B = [];
627
+ return a || s("algorithm:", t, "is not yet supported"), { update: function(A) {
628
+ return y.isBuffer(A) || (A = new y(A)), B.push(A), A.length, this;
629
+ }, digest: function(A) {
630
+ var x = y.concat(B), x = u ? function(v, k, P) {
631
+ 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));
632
+ for (var M = new y(g), j = new y(g), $ = 0; $ < g; $++) M[$] = 54 ^ k[$], j[$] = 92 ^ k[$];
633
+ return P = v(y.concat([M, P])), v(y.concat([j, P]));
634
+ }(a, u, x) : a(x);
635
+ return B = null, A ? x.toString(A) : x;
636
+ } };
637
+ }
638
+ function s() {
639
+ var t = [].slice.call(arguments).join(" ");
640
+ throw new Error([t, "we accept pull requests", "http://github.com/dominictarr/crypto-browserify"].join(`
641
+ `));
642
+ }
643
+ h.fill(0), U.createHash = function(t) {
644
+ return I(t);
645
+ }, U.createHmac = I, U.randomBytes = function(t, u) {
646
+ if (!u || !u.call) return new y(p(t));
647
+ try {
648
+ u.call(this, void 0, new y(p(t)));
649
+ } catch (a) {
650
+ u(a);
651
+ }
652
+ };
653
+ var f, n = ["createCredentials", "createCipher", "createCipheriv", "createDecipher", "createDecipheriv", "createSign", "createVerify", "createDiffieHellman", "pbkdf2"], o = function(t) {
654
+ U[t] = function() {
655
+ s("sorry,", t, "is not implemented yet");
656
+ };
657
+ };
658
+ for (f in n) o(n[f]);
659
+ }).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");
660
+ }, { "./md5": 6, "./rng": 7, "./sha": 8, "./sha256": 9, buffer: 3, lYpoI2: 11 }], 6: [function(_, C, U) {
661
+ (function(S, R, z, V, N, q, J, K, X) {
662
+ var y = _("./helpers");
663
+ function E(s, f) {
664
+ s[f >> 5] |= 128 << f % 32, s[14 + (f + 64 >>> 9 << 4)] = f;
665
+ for (var n = 1732584193, o = -271733879, t = -1732584194, u = 271733878, a = 0; a < s.length; a += 16) {
666
+ var B = n, A = o, x = t, v = u, n = p(n, o, t, u, s[a + 0], 7, -680876936), u = p(u, n, o, t, s[a + 1], 12, -389564586), t = p(t, u, n, o, s[a + 2], 17, 606105819), o = p(o, t, u, n, s[a + 3], 22, -1044525330);
667
+ n = p(n, o, t, u, s[a + 4], 7, -176418897), u = p(u, n, o, t, s[a + 5], 12, 1200080426), t = p(t, u, n, o, s[a + 6], 17, -1473231341), o = p(o, t, u, n, s[a + 7], 22, -45705983), n = p(n, o, t, u, s[a + 8], 7, 1770035416), u = p(u, n, o, t, s[a + 9], 12, -1958414417), t = p(t, u, n, o, s[a + 10], 17, -42063), o = p(o, t, u, n, s[a + 11], 22, -1990404162), n = p(n, o, t, u, s[a + 12], 7, 1804603682), u = p(u, n, o, t, s[a + 13], 12, -40341101), t = p(t, u, n, o, s[a + 14], 17, -1502002290), n = b(n, o = p(o, t, u, n, s[a + 15], 22, 1236535329), t, u, s[a + 1], 5, -165796510), u = b(u, n, o, t, s[a + 6], 9, -1069501632), t = b(t, u, n, o, s[a + 11], 14, 643717713), o = b(o, t, u, n, s[a + 0], 20, -373897302), n = b(n, o, t, u, s[a + 5], 5, -701558691), u = b(u, n, o, t, s[a + 10], 9, 38016083), t = b(t, u, n, o, s[a + 15], 14, -660478335), o = b(o, t, u, n, s[a + 4], 20, -405537848), n = b(n, o, t, u, s[a + 9], 5, 568446438), u = b(u, n, o, t, s[a + 14], 9, -1019803690), t = b(t, u, n, o, s[a + 3], 14, -187363961), o = b(o, t, u, n, s[a + 8], 20, 1163531501), n = b(n, o, t, u, s[a + 13], 5, -1444681467), u = b(u, n, o, t, s[a + 2], 9, -51403784), t = b(t, u, n, o, s[a + 7], 14, 1735328473), n = g(n, o = b(o, t, u, n, s[a + 12], 20, -1926607734), t, u, s[a + 5], 4, -378558), u = g(u, n, o, t, s[a + 8], 11, -2022574463), t = g(t, u, n, o, s[a + 11], 16, 1839030562), o = g(o, t, u, n, s[a + 14], 23, -35309556), n = g(n, o, t, u, s[a + 1], 4, -1530992060), u = g(u, n, o, t, s[a + 4], 11, 1272893353), t = g(t, u, n, o, s[a + 7], 16, -155497632), o = g(o, t, u, n, s[a + 10], 23, -1094730640), n = g(n, o, t, u, s[a + 13], 4, 681279174), u = g(u, n, o, t, s[a + 0], 11, -358537222), t = g(t, u, n, o, s[a + 3], 16, -722521979), o = g(o, t, u, n, s[a + 6], 23, 76029189), n = g(n, o, t, u, s[a + 9], 4, -640364487), u = g(u, n, o, t, s[a + 12], 11, -421815835), t = g(t, u, n, o, s[a + 15], 16, 530742520), n = h(n, o = g(o, t, u, n, s[a + 2], 23, -995338651), t, u, s[a + 0], 6, -198630844), u = h(u, n, o, t, s[a + 7], 10, 1126891415), t = h(t, u, n, o, s[a + 14], 15, -1416354905), o = h(o, t, u, n, s[a + 5], 21, -57434055), n = h(n, o, t, u, s[a + 12], 6, 1700485571), u = h(u, n, o, t, s[a + 3], 10, -1894986606), t = h(t, u, n, o, s[a + 10], 15, -1051523), o = h(o, t, u, n, s[a + 1], 21, -2054922799), n = h(n, o, t, u, s[a + 8], 6, 1873313359), u = h(u, n, o, t, s[a + 15], 10, -30611744), t = h(t, u, n, o, s[a + 6], 15, -1560198380), o = h(o, t, u, n, s[a + 13], 21, 1309151649), n = h(n, o, t, u, s[a + 4], 6, -145523070), u = h(u, n, o, t, s[a + 11], 10, -1120210379), t = h(t, u, n, o, s[a + 2], 15, 718787259), o = h(o, t, u, n, s[a + 9], 21, -343485551), n = I(n, B), o = I(o, A), t = I(t, x), u = I(u, v);
668
+ }
669
+ return Array(n, o, t, u);
670
+ }
671
+ function l(s, f, n, o, t, u) {
672
+ return I((f = I(I(f, s), I(o, u))) << t | f >>> 32 - t, n);
673
+ }
674
+ function p(s, f, n, o, t, u, a) {
675
+ return l(f & n | ~f & o, s, f, t, u, a);
676
+ }
677
+ function b(s, f, n, o, t, u, a) {
678
+ return l(f & o | n & ~o, s, f, t, u, a);
679
+ }
680
+ function g(s, f, n, o, t, u, a) {
681
+ return l(f ^ n ^ o, s, f, t, u, a);
682
+ }
683
+ function h(s, f, n, o, t, u, a) {
684
+ return l(n ^ (f | ~o), s, f, t, u, a);
685
+ }
686
+ function I(s, f) {
687
+ var n = (65535 & s) + (65535 & f);
688
+ return (s >> 16) + (f >> 16) + (n >> 16) << 16 | 65535 & n;
689
+ }
690
+ C.exports = function(s) {
691
+ return y.hash(s, E, 16);
692
+ };
693
+ }).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");
694
+ }, { "./helpers": 4, buffer: 3, lYpoI2: 11 }], 7: [function(_, C, U) {
695
+ (function(S, R, z, V, N, q, J, K, X) {
696
+ C.exports = function(y) {
697
+ 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;
698
+ return l;
699
+ };
700
+ }).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");
701
+ }, { buffer: 3, lYpoI2: 11 }], 8: [function(_, C, U) {
702
+ (function(S, R, z, V, N, q, J, K, X) {
703
+ var y = _("./helpers");
704
+ function E(b, g) {
705
+ b[g >> 5] |= 128 << 24 - g % 32, b[15 + (g + 64 >> 9 << 4)] = g;
706
+ for (var h, I, s, f = Array(80), n = 1732584193, o = -271733879, t = -1732584194, u = 271733878, a = -1009589776, B = 0; B < b.length; B += 16) {
707
+ for (var A = n, x = o, v = t, k = u, P = a, M = 0; M < 80; M++) {
708
+ f[M] = M < 16 ? b[B + M] : p(f[M - 3] ^ f[M - 8] ^ f[M - 14] ^ f[M - 16], 1);
709
+ var j = l(l(p(n, 5), (j = o, I = t, s = u, (h = M) < 20 ? j & I | ~j & s : !(h < 40) && h < 60 ? j & I | j & s | I & s : j ^ I ^ s)), l(l(a, f[M]), (h = M) < 20 ? 1518500249 : h < 40 ? 1859775393 : h < 60 ? -1894007588 : -899497514)), a = u, u = t, t = p(o, 30), o = n, n = j;
710
+ }
711
+ n = l(n, A), o = l(o, x), t = l(t, v), u = l(u, k), a = l(a, P);
712
+ }
713
+ return Array(n, o, t, u, a);
714
+ }
715
+ function l(b, g) {
716
+ var h = (65535 & b) + (65535 & g);
717
+ return (b >> 16) + (g >> 16) + (h >> 16) << 16 | 65535 & h;
718
+ }
719
+ function p(b, g) {
720
+ return b << g | b >>> 32 - g;
721
+ }
722
+ C.exports = function(b) {
723
+ return y.hash(b, E, 20, !0);
724
+ };
725
+ }).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");
726
+ }, { "./helpers": 4, buffer: 3, lYpoI2: 11 }], 9: [function(_, C, U) {
727
+ (function(S, R, z, V, N, q, J, K, X) {
728
+ function y(g, h) {
729
+ var I = (65535 & g) + (65535 & h);
730
+ return (g >> 16) + (h >> 16) + (I >> 16) << 16 | 65535 & I;
731
+ }
732
+ function E(g, h) {
733
+ 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);
734
+ g[h >> 5] |= 128 << 24 - h % 32, g[15 + (h + 64 >> 9 << 4)] = h;
735
+ for (var o, t, u = 0; u < g.length; u += 16) {
736
+ for (var a = f[0], B = f[1], A = f[2], x = f[3], v = f[4], k = f[5], P = f[6], M = f[7], j = 0; j < 64; j++) n[j] = j < 16 ? g[j + u] : y(y(y((t = n[j - 2], p(t, 17) ^ p(t, 19) ^ b(t, 10)), n[j - 7]), (t = n[j - 15], p(t, 7) ^ p(t, 18) ^ b(t, 3))), n[j - 16]), I = y(y(y(y(M, p(t = v, 6) ^ p(t, 11) ^ p(t, 25)), v & k ^ ~v & P), s[j]), n[j]), o = y(p(o = a, 2) ^ p(o, 13) ^ p(o, 22), a & B ^ a & A ^ B & A), M = P, P = k, k = v, v = y(x, I), x = A, A = B, B = a, a = y(I, o);
737
+ f[0] = y(a, 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(M, f[7]);
738
+ }
739
+ return f;
740
+ }
741
+ var l = _("./helpers"), p = function(g, h) {
742
+ return g >>> h | g << 32 - h;
743
+ }, b = function(g, h) {
744
+ return g >>> h;
745
+ };
746
+ C.exports = function(g) {
747
+ return l.hash(g, E, 32, !0);
748
+ };
749
+ }).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");
750
+ }, { "./helpers": 4, buffer: 3, lYpoI2: 11 }], 10: [function(_, C, U) {
751
+ (function(S, R, z, V, N, q, J, K, X) {
752
+ U.read = function(y, E, l, p, u) {
753
+ var g, h, I = 8 * u - p - 1, s = (1 << I) - 1, f = s >> 1, n = -7, o = l ? u - 1 : 0, t = l ? -1 : 1, u = y[E + o];
754
+ for (o += t, g = u & (1 << -n) - 1, u >>= -n, n += I; 0 < n; g = 256 * g + y[E + o], o += t, n -= 8) ;
755
+ for (h = g & (1 << -n) - 1, g >>= -n, n += p; 0 < n; h = 256 * h + y[E + o], o += t, n -= 8) ;
756
+ if (g === 0) g = 1 - f;
757
+ else {
758
+ if (g === s) return h ? NaN : 1 / 0 * (u ? -1 : 1);
759
+ h += Math.pow(2, p), g -= f;
760
+ }
761
+ return (u ? -1 : 1) * h * Math.pow(2, g - p);
762
+ }, U.write = function(y, E, l, p, b, a) {
763
+ var h, I, s = 8 * a - b - 1, f = (1 << s) - 1, n = f >> 1, o = b === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, t = p ? 0 : a - 1, u = p ? 1 : -1, a = E < 0 || E === 0 && 1 / E < 0 ? 1 : 0;
764
+ for (E = Math.abs(E), isNaN(E) || E === 1 / 0 ? (I = isNaN(E) ? 1 : 0, h = f) : (h = Math.floor(Math.log(E) / Math.LN2), E * (p = Math.pow(2, -h)) < 1 && (h--, p *= 2), 2 <= (E += 1 <= h + n ? o / p : o * Math.pow(2, 1 - n)) * p && (h++, p /= 2), f <= h + n ? (I = 0, h = f) : 1 <= h + n ? (I = (E * p - 1) * Math.pow(2, b), h += n) : (I = E * Math.pow(2, n - 1) * Math.pow(2, b), h = 0)); 8 <= b; y[l + t] = 255 & I, t += u, I /= 256, b -= 8) ;
765
+ for (h = h << b | I, s += b; 0 < s; y[l + t] = 255 & h, t += u, h /= 256, s -= 8) ;
766
+ y[l + t - u] |= 128 * a;
767
+ };
768
+ }).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");
769
+ }, { buffer: 3, lYpoI2: 11 }], 11: [function(_, C, U) {
770
+ (function(S, R, z, V, N, q, J, K, X) {
771
+ var y, E, l;
772
+ function p() {
773
+ }
774
+ (S = C.exports = {}).nextTick = (E = typeof window < "u" && window.setImmediate, l = typeof window < "u" && window.postMessage && window.addEventListener, E ? function(b) {
775
+ return window.setImmediate(b);
776
+ } : l ? (y = [], window.addEventListener("message", function(b) {
777
+ var g = b.source;
778
+ g !== window && g !== null || b.data !== "process-tick" || (b.stopPropagation(), 0 < y.length && y.shift()());
779
+ }, !0), function(b) {
780
+ y.push(b), window.postMessage("process-tick", "*");
781
+ }) : function(b) {
782
+ setTimeout(b, 0);
783
+ }), S.title = "browser", S.browser = !0, S.env = {}, S.argv = [], S.on = p, S.addListener = p, S.once = p, S.off = p, S.removeListener = p, S.removeAllListeners = p, S.emit = p, S.binding = function(b) {
784
+ throw new Error("process.binding is not supported");
785
+ }, S.cwd = function() {
786
+ return "/";
787
+ }, S.chdir = function(b) {
788
+ throw new Error("process.chdir is not supported");
789
+ };
790
+ }).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/process/browser.js", "/node_modules/gulp-browserify/node_modules/process");
791
+ }, { buffer: 3, lYpoI2: 11 }] }, {}, [1])(1);
792
+ });
793
+ }(ir)), ir.exports;
794
+ }
795
+ var xr = Br();
796
+ const Lr = /* @__PURE__ */ Ar(xr);
797
+ function Or({ alert: O }) {
798
+ const [sr, _] = hr(!0), C = pr(() => O ? Lr(O) : void 0, [O]), { dismissed: U, dismiss: S } = gr("app-armor-alert", C, "session");
799
+ return O && !U ? /* @__PURE__ */ Z(br, { open: sr, onClose: () => _(!1), children: /* @__PURE__ */ Z(wr, { className: "uog:max-w-[80rem]! uog:p-0", children: /* @__PURE__ */ tr(yr, { children: [
800
+ /* @__PURE__ */ Z(vr, { children: "University of Guelph Alert" }),
801
+ /* @__PURE__ */ tr(_r, { children: [
802
+ /* @__PURE__ */ Z(Er, { children: O.title }),
803
+ O.description
804
+ ] }),
805
+ /* @__PURE__ */ tr(Ir, { className: "uog:flex uog:flex-col uog:gap-4", children: [
806
+ /* @__PURE__ */ tr("span", { children: [
807
+ "Last Updated: ",
808
+ O.timestamp
809
+ ] }),
810
+ " ",
811
+ /* @__PURE__ */ Z(
812
+ mr,
813
+ {
814
+ color: "red",
815
+ className: "py-2",
816
+ onClick: () => {
817
+ _(!1), S();
818
+ },
819
+ children: "Don't show me this again"
820
+ }
821
+ )
822
+ ] })
823
+ ] }) }) }) : /* @__PURE__ */ Z(dr, {});
824
+ }
825
+ export {
826
+ Or as DismissibleAlert
827
+ };