@access-ci/ui 0.1.1 → 0.2.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,532 +1,760 @@
1
- var I, u, le, P, X, ue, R, L = {}, me = [], Me = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, G = Array.isArray;
2
- function C(t, e) {
3
- for (var n in e)
4
- t[n] = e[n];
5
- return t;
1
+ const V = `:host,:root{--contrast: #232323;--contrast-2: #3f3f3f;--contrast-3: #707070;--orange-400: #f07537;--teal-100: #cee8e9;--teal-400: #48c0b9;--teal-600: #107180;--teal-700: #1a5b6e;--yellow-400: #ffc42d;--color: white;--padding: 30px;--offset: 0px;--outline: white;color:var(--contrast)}:host,:host button,:root,:root button{font-family:Archivo,sans-serif}.container{margin:0 auto;padding:0 var(--padding);width:var(--width)}@media (min-width: 600px){:host,:root{--padding: calc((100% - var(--width)) / 2);--offset: 7px;--width: 540px}}@media (min-width: 768px){:host,:root{--width: 712px}}@media (min-width: 900px){:host,:root{--padding: 10px;--offset: 0px;--width: 840px}}@media (min-width: 1024px){:host,:root{--width: 940px}}@media (min-width: 1280px){:host,:root{--width: 1180px}}
2
+ `, Te = `:host{background-color:#fbfbfb;color:var(--contrast)}a{color:var(--teal-600);font-weight:800;text-decoration:none}a:active,a:focus,a:hover{text-decoration:underline}.about{padding-top:25px}.awards{font-size:15px;line-height:21px;margin:0 0 20px}.disclaimer{font-size:12px;line-height:18px;margin:0 0 15px}.contact{font-size:14px;font-stretch:70%;text-transform:uppercase}.social{align-items:center;display:flex;flex-direction:row;justify-content:center;list-style-type:none;margin:0;padding:50px 0}.social li{margin:0 25px 0 0;padding:0}.social li:last-child{margin:-10px}.social a{background-size:contain;background-repeat:no-repeat;display:block;height:36px;text-indent:-999999px;width:36px}.x{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'><path d='M12.6.75h2.454l-5.36 6.142L16 15.25h-4.937l-3.867-5.07-4.425 5.07H.316l5.733-6.57L0 .75h5.063l3.495 4.633L12.601.75Zm-.86 13.028h1.36L4.323 2.145H2.865z'/></svg>")}.youtube{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'><path d='M8.051 1.999h.089c.822.003 4.987.033 6.11.335a2.01 2.01 0 0 1 1.415 1.42c.101.38.172.883.22 1.402l.01.104.022.26.008.104c.065.914.073 1.77.074 1.957v.075c-.001.194-.01 1.108-.082 2.06l-.008.105-.009.104c-.05.572-.124 1.14-.235 1.558a2.01 2.01 0 0 1-1.415 1.42c-1.16.312-5.569.334-6.18.335h-.142c-.309 0-1.587-.006-2.927-.052l-.17-.006-.087-.004-.171-.007-.171-.007c-1.11-.049-2.167-.128-2.654-.26a2.01 2.01 0 0 1-1.415-1.419c-.111-.417-.185-.986-.235-1.558L.09 9.82l-.008-.104A31 31 0 0 1 0 7.68v-.123c.002-.215.01-.958.064-1.778l.007-.103.003-.052.008-.104.022-.26.01-.104c.048-.519.119-1.023.22-1.402a2.01 2.01 0 0 1 1.415-1.42c.487-.13 1.544-.21 2.654-.26l.17-.007.172-.006.086-.003.171-.007A100 100 0 0 1 7.858 2zM6.4 5.209v4.818l4.157-2.408z'/></svg>")}.facebook{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='19.519' height='37.377' fill='currentColor' viewBox='0 0 19.519 37.377'><path d='M92.667,37.378V20.35h5.814l.831-6.645H92.667V9.552c0-1.869.623-3.322,3.322-3.322h3.53V.208C98.689.208,96.612,0,94.328,0c-4.984,0-8.514,3.115-8.514,8.721v4.984H80V20.35h5.814V37.378Z' transform='translate(-80)' fill-rule='evenodd'/></svg>")}a.linkedin{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-linkedin' viewBox='0 0 16 16'><path d='M0 1.146C0 .513.526 0 1.175 0h13.65C15.474 0 16 .513 16 1.146v13.708c0 .633-.526 1.146-1.175 1.146H1.175C.526 16 0 15.487 0 14.854zm4.943 12.248V6.169H2.542v7.225zm-1.2-8.212c.837 0 1.358-.554 1.358-1.248-.015-.709-.52-1.248-1.342-1.248S2.4 3.226 2.4 3.934c0 .694.521 1.248 1.327 1.248zm4.908 8.212V9.359c0-.216.016-.432.08-.586.173-.431.568-.878 1.232-.878.869 0 1.216.662 1.216 1.634v3.865h2.401V9.25c0-2.22-1.184-3.252-2.764-3.252-1.274 0-1.845.7-2.165 1.193v.025h-.016l.016-.025V6.169h-2.4c.03.678 0 7.225 0 7.225z'/></svg>");height:30px;width:30px}.lower{border-top:1px solid var(--contrast-3);padding:10px 0 60px}.links{display:flex;flex-direction:row;flex-wrap:wrap;list-style-type:none;margin:20px 0 0;padding:0}.links li{padding:0 20px 10px 0}.links li:last-child{padding-right:0}.links a{font-size:12px;font-weight:600}.scroll-to-top{background-color:#00000080;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' stroke='white' stroke-width='1' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708z'/></svg>");background-position:center;background-repeat:no-repeat;background-size:13px;border:0 none transparent;bottom:30px;cursor:pointer;display:block;height:40px;opacity:0;position:fixed;right:30px;text-indent:-999999px;transition:opacity .25s ease-out;width:40px}.scroll-to-top.visible{opacity:1}@media (min-width: 900px){.upper{display:flex;flex-direction:row;justify-content:space-between}.upper>*{width:calc((var(--width) - 20px) / 2)}.about{padding:42px 0 76px}.awards{font-size:18px;line-height:24px}.lower{align-items:start;display:flex;flex-direction:row;justify-content:space-between}.links{margin-top:0}}
3
+ `;
4
+ var j, p, fe, $, ne, ge, Z, L = {}, me = [], Pe = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, K = Array.isArray;
5
+ function H(e, t) {
6
+ for (var o in t)
7
+ e[o] = t[o];
8
+ return e;
6
9
  }
7
- function pe(t) {
8
- var e = t.parentNode;
9
- e && e.removeChild(t);
10
- }
11
- function He(t, e, n) {
12
- var c, a, o, r = {};
13
- for (o in e)
14
- o == "key" ? c = e[o] : o == "ref" ? a = e[o] : r[o] = e[o];
15
- if (arguments.length > 2 && (r.children = arguments.length > 3 ? I.call(arguments, 2) : n), typeof t == "function" && t.defaultProps != null)
16
- for (o in t.defaultProps)
17
- r[o] === void 0 && (r[o] = t.defaultProps[o]);
18
- return T(t, r, c, a, null);
19
- }
20
- function T(t, e, n, c, a) {
21
- var o = { type: t, props: e, key: n, ref: c, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: a ?? ++le };
22
- return a == null && u.vnode != null && u.vnode(o), o;
23
- }
24
- function N(t) {
25
- return t.children;
26
- }
27
- function U(t, e) {
28
- this.props = t, this.context = e;
29
- }
30
- function V(t, e) {
31
- if (e == null)
32
- return t.__ ? V(t.__, t.__.__k.indexOf(t) + 1) : null;
33
- for (var n; e < t.__k.length; e++)
34
- if ((n = t.__k[e]) != null && n.__e != null)
35
- return n.__e;
36
- return typeof t.type == "function" ? V(t) : null;
37
- }
38
- function de(t) {
39
- var e, n;
40
- if ((t = t.__) != null && t.__c != null) {
41
- for (t.__e = t.__c.base = null, e = 0; e < t.__k.length; e++)
42
- if ((n = t.__k[e]) != null && n.__e != null) {
43
- t.__e = t.__c.base = n.__e;
10
+ function ve(e) {
11
+ var t = e.parentNode;
12
+ t && t.removeChild(e);
13
+ }
14
+ function Ne(e, t, o) {
15
+ var r, l, i, s = {};
16
+ for (i in t)
17
+ i == "key" ? r = t[i] : i == "ref" ? l = t[i] : s[i] = t[i];
18
+ if (arguments.length > 2 && (s.children = arguments.length > 3 ? j.call(arguments, 2) : o), typeof e == "function" && e.defaultProps != null)
19
+ for (i in e.defaultProps)
20
+ s[i] === void 0 && (s[i] = e.defaultProps[i]);
21
+ return F(e, s, r, l, null);
22
+ }
23
+ function F(e, t, o, r, l) {
24
+ var i = { type: e, props: t, key: o, ref: r, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: l ?? ++fe };
25
+ return l == null && p.vnode != null && p.vnode(i), i;
26
+ }
27
+ function z(e) {
28
+ return e.children;
29
+ }
30
+ function O(e, t) {
31
+ this.props = e, this.context = t;
32
+ }
33
+ function D(e, t) {
34
+ if (t == null)
35
+ return e.__ ? D(e.__, e.__.__k.indexOf(e) + 1) : null;
36
+ for (var o; t < e.__k.length; t++)
37
+ if ((o = e.__k[t]) != null && o.__e != null)
38
+ return o.__e;
39
+ return typeof e.type == "function" ? D(e) : null;
40
+ }
41
+ function xe(e) {
42
+ var t, o;
43
+ if ((e = e.__) != null && e.__c != null) {
44
+ for (e.__e = e.__c.base = null, t = 0; t < e.__k.length; t++)
45
+ if ((o = e.__k[t]) != null && o.__e != null) {
46
+ e.__e = e.__c.base = o.__e;
44
47
  break;
45
48
  }
46
- return de(t);
49
+ return xe(e);
47
50
  }
48
51
  }
49
- function Y(t) {
50
- (!t.__d && (t.__d = !0) && P.push(t) && !B.__r++ || X !== u.debounceRendering) && ((X = u.debounceRendering) || ue)(B);
51
- }
52
- function B() {
53
- var t, e, n, c, a, o, r, _, s;
54
- for (P.sort(R); t = P.shift(); )
55
- t.__d && (e = P.length, c = void 0, a = void 0, o = void 0, _ = (r = (n = t).__v).__e, (s = n.__P) && (c = [], a = [], (o = C({}, r)).__v = r.__v + 1, Q(s, r, o, n.__n, s.ownerSVGElement !== void 0, r.__h != null ? [_] : null, c, _ ?? V(r), r.__h, a), ge(c, r, a), r.__e != _ && de(r)), P.length > e && P.sort(R));
56
- B.__r = 0;
57
- }
58
- function fe(t, e, n, c, a, o, r, _, s, h, p) {
59
- var i, d, f, l, m, H, v, g, x, M, k = 0, w = c && c.__k || me, E = w.length, $ = E, y = e.length;
60
- for (n.__k = [], i = 0; i < y; i++)
61
- (l = n.__k[i] = (l = e[i]) == null || typeof l == "boolean" || typeof l == "function" ? null : typeof l == "string" || typeof l == "number" || typeof l == "bigint" ? T(null, l, null, null, l) : G(l) ? T(N, { children: l }, null, null, null) : l.__b > 0 ? T(l.type, l.props, l.key, l.ref ? l.ref : null, l.__v) : l) != null && (l.__ = n, l.__b = n.__b + 1, (g = Ce(l, w, v = i + k, $)) === -1 ? f = L : (f = w[g] || L, w[g] = void 0, $--), Q(t, l, f, a, o, r, _, s, h, p), m = l.__e, (d = l.ref) && f.ref != d && (f.ref && J(f.ref, null, l), p.push(d, l.__c || m, l)), m != null && (H == null && (H = m), M = !(x = f === L || f.__v === null) && g === v, x ? g == -1 && k-- : g !== v && (g === v + 1 ? (k++, M = !0) : g > v ? $ > y - v ? (k += g - v, M = !0) : k-- : k = g < v && g == v - 1 ? g - v : 0), v = i + k, M = M || g == i && !x, typeof l.type != "function" || g === v && f.__k !== l.__k ? typeof l.type == "function" || M ? l.__d !== void 0 ? (s = l.__d, l.__d = void 0) : s = m.nextSibling : s = ve(t, m, s) : s = he(l, s, t), typeof n.type == "function" && (n.__d = s)));
62
- for (n.__e = H, i = E; i--; )
63
- w[i] != null && (typeof n.type == "function" && w[i].__e != null && w[i].__e == n.__d && (n.__d = w[i].__e.nextSibling), be(w[i], w[i]));
64
- }
65
- function he(t, e, n) {
66
- for (var c, a = t.__k, o = 0; a && o < a.length; o++)
67
- (c = a[o]) && (c.__ = t, e = typeof c.type == "function" ? he(c, e, n) : ve(n, c.__e, e));
68
- return e;
52
+ function ie(e) {
53
+ (!e.__d && (e.__d = !0) && $.push(e) && !W.__r++ || ne !== p.debounceRendering) && ((ne = p.debounceRendering) || ge)(W);
54
+ }
55
+ function W() {
56
+ var e, t, o, r, l, i, s, c, d;
57
+ for ($.sort(Z); e = $.shift(); )
58
+ e.__d && (t = $.length, r = void 0, l = void 0, i = void 0, c = (s = (o = e).__v).__e, (d = o.__P) && (r = [], l = [], (i = H({}, s)).__v = s.__v + 1, ee(d, s, i, o.__n, d.ownerSVGElement !== void 0, s.__h != null ? [c] : null, r, c ?? D(s), s.__h, l), ke(r, s, l), s.__e != c && xe(s)), $.length > t && $.sort(Z));
59
+ W.__r = 0;
60
+ }
61
+ function we(e, t, o, r, l, i, s, c, d, m, h) {
62
+ var n, f, g, _, u, M, v, x, y, C, k = 0, S = r && r.__k || me, E = S.length, A = E, b = t.length;
63
+ for (o.__k = [], n = 0; n < b; n++)
64
+ (_ = o.__k[n] = (_ = t[n]) == null || typeof _ == "boolean" || typeof _ == "function" ? null : typeof _ == "string" || typeof _ == "number" || typeof _ == "bigint" ? F(null, _, null, null, _) : K(_) ? F(z, { children: _ }, null, null, null) : _.__b > 0 ? F(_.type, _.props, _.key, _.ref ? _.ref : null, _.__v) : _) != null && (_.__ = o, _.__b = o.__b + 1, (x = Ve(_, S, v = n + k, A)) === -1 ? g = L : (g = S[x] || L, S[x] = void 0, A--), ee(e, _, g, l, i, s, c, d, m, h), u = _.__e, (f = _.ref) && g.ref != f && (g.ref && te(g.ref, null, _), h.push(f, _.__c || u, _)), u != null && (M == null && (M = u), C = !(y = g === L || g.__v === null) && x === v, y ? x == -1 && k-- : x !== v && (x === v + 1 ? (k++, C = !0) : x > v ? A > b - v ? (k += x - v, C = !0) : k-- : k = x < v && x == v - 1 ? x - v : 0), v = n + k, C = C || x == n && !y, typeof _.type != "function" || x === v && g.__k !== _.__k ? typeof _.type == "function" || C ? _.__d !== void 0 ? (d = _.__d, _.__d = void 0) : d = u.nextSibling : d = ye(e, u, d) : d = be(_, d, e), typeof o.type == "function" && (o.__d = d)));
65
+ for (o.__e = M, n = E; n--; )
66
+ S[n] != null && (typeof o.type == "function" && S[n].__e != null && S[n].__e == o.__d && (o.__d = S[n].__e.nextSibling), Se(S[n], S[n]));
67
+ }
68
+ function be(e, t, o) {
69
+ for (var r, l = e.__k, i = 0; l && i < l.length; i++)
70
+ (r = l[i]) && (r.__ = e, t = typeof r.type == "function" ? be(r, t, o) : ye(o, r.__e, t));
71
+ return t;
69
72
  }
70
- function ve(t, e, n) {
71
- return n == null || n.parentNode !== t ? t.insertBefore(e, null) : e == n && e.parentNode != null || t.insertBefore(e, n), e.nextSibling;
72
- }
73
- function Ce(t, e, n, c) {
74
- var a = t.key, o = t.type, r = n - 1, _ = n + 1, s = e[n];
75
- if (s === null || s && a == s.key && o === s.type)
76
- return n;
77
- if (c > (s != null ? 1 : 0))
78
- for (; r >= 0 || _ < e.length; ) {
79
- if (r >= 0) {
80
- if ((s = e[r]) && a == s.key && o === s.type)
81
- return r;
82
- r--;
73
+ function ye(e, t, o) {
74
+ return o == null || o.parentNode !== e ? e.insertBefore(t, null) : t == o && t.parentNode != null || e.insertBefore(t, o), t.nextSibling;
75
+ }
76
+ function Ve(e, t, o, r) {
77
+ var l = e.key, i = e.type, s = o - 1, c = o + 1, d = t[o];
78
+ if (d === null || d && l == d.key && i === d.type)
79
+ return o;
80
+ if (r > (d != null ? 1 : 0))
81
+ for (; s >= 0 || c < t.length; ) {
82
+ if (s >= 0) {
83
+ if ((d = t[s]) && l == d.key && i === d.type)
84
+ return s;
85
+ s--;
83
86
  }
84
- if (_ < e.length) {
85
- if ((s = e[_]) && a == s.key && o === s.type)
86
- return _;
87
- _++;
87
+ if (c < t.length) {
88
+ if ((d = t[c]) && l == d.key && i === d.type)
89
+ return c;
90
+ c++;
88
91
  }
89
92
  }
90
93
  return -1;
91
94
  }
92
- function Ee(t, e, n, c, a) {
93
- var o;
94
- for (o in n)
95
- o === "children" || o === "key" || o in e || F(t, o, null, n[o], c);
96
- for (o in e)
97
- a && typeof e[o] != "function" || o === "children" || o === "key" || o === "value" || o === "checked" || n[o] === e[o] || F(t, o, e[o], n[o], c);
95
+ function Ie(e, t, o, r, l) {
96
+ var i;
97
+ for (i in o)
98
+ i === "children" || i === "key" || i in t || R(e, i, null, o[i], r);
99
+ for (i in t)
100
+ l && typeof t[i] != "function" || i === "children" || i === "key" || i === "value" || i === "checked" || o[i] === t[i] || R(e, i, t[i], o[i], r);
98
101
  }
99
- function Z(t, e, n) {
100
- e[0] === "-" ? t.setProperty(e, n ?? "") : t[e] = n == null ? "" : typeof n != "number" || Me.test(e) ? n : n + "px";
102
+ function re(e, t, o) {
103
+ t[0] === "-" ? e.setProperty(t, o ?? "") : e[t] = o == null ? "" : typeof o != "number" || Pe.test(t) ? o : o + "px";
101
104
  }
102
- function F(t, e, n, c, a) {
103
- var o;
105
+ function R(e, t, o, r, l) {
106
+ var i;
104
107
  e:
105
- if (e === "style")
106
- if (typeof n == "string")
107
- t.style.cssText = n;
108
+ if (t === "style")
109
+ if (typeof o == "string")
110
+ e.style.cssText = o;
108
111
  else {
109
- if (typeof c == "string" && (t.style.cssText = c = ""), c)
110
- for (e in c)
111
- n && e in n || Z(t.style, e, "");
112
- if (n)
113
- for (e in n)
114
- c && n[e] === c[e] || Z(t.style, e, n[e]);
112
+ if (typeof r == "string" && (e.style.cssText = r = ""), r)
113
+ for (t in r)
114
+ o && t in o || re(e.style, t, "");
115
+ if (o)
116
+ for (t in o)
117
+ r && o[t] === r[t] || re(e.style, t, o[t]);
115
118
  }
116
- else if (e[0] === "o" && e[1] === "n")
117
- o = e !== (e = e.replace(/Capture$/, "")), e = e.toLowerCase() in t ? e.toLowerCase().slice(2) : e.slice(2), t.l || (t.l = {}), t.l[e + o] = n, n ? c || t.addEventListener(e, o ? te : ee, o) : t.removeEventListener(e, o ? te : ee, o);
118
- else if (e !== "dangerouslySetInnerHTML") {
119
- if (a)
120
- e = e.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
121
- else if (e !== "width" && e !== "height" && e !== "href" && e !== "list" && e !== "form" && e !== "tabIndex" && e !== "download" && e !== "rowSpan" && e !== "colSpan" && e in t)
119
+ else if (t[0] === "o" && t[1] === "n")
120
+ i = t !== (t = t.replace(/Capture$/, "")), t = t.toLowerCase() in e ? t.toLowerCase().slice(2) : t.slice(2), e.l || (e.l = {}), e.l[t + i] = o, o ? r || e.addEventListener(t, i ? le : ae, i) : e.removeEventListener(t, i ? le : ae, i);
121
+ else if (t !== "dangerouslySetInnerHTML") {
122
+ if (l)
123
+ t = t.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
124
+ else if (t !== "width" && t !== "height" && t !== "href" && t !== "list" && t !== "form" && t !== "tabIndex" && t !== "download" && t !== "rowSpan" && t !== "colSpan" && t in e)
122
125
  try {
123
- t[e] = n ?? "";
126
+ e[t] = o ?? "";
124
127
  break e;
125
128
  } catch {
126
129
  }
127
- typeof n == "function" || (n == null || n === !1 && e[4] !== "-" ? t.removeAttribute(e) : t.setAttribute(e, n));
130
+ typeof o == "function" || (o == null || o === !1 && t[4] !== "-" ? e.removeAttribute(t) : e.setAttribute(t, o));
128
131
  }
129
132
  }
130
- function ee(t) {
131
- return this.l[t.type + !1](u.event ? u.event(t) : t);
133
+ function ae(e) {
134
+ return this.l[e.type + !1](p.event ? p.event(e) : e);
132
135
  }
133
- function te(t) {
134
- return this.l[t.type + !0](u.event ? u.event(t) : t);
136
+ function le(e) {
137
+ return this.l[e.type + !0](p.event ? p.event(e) : e);
135
138
  }
136
- function Q(t, e, n, c, a, o, r, _, s, h) {
137
- var p, i, d, f, l, m, H, v, g, x, M, k, w, E, $, y = e.type;
138
- if (e.constructor !== void 0)
139
+ function ee(e, t, o, r, l, i, s, c, d, m) {
140
+ var h, n, f, g, _, u, M, v, x, y, C, k, S, E, A, b = t.type;
141
+ if (t.constructor !== void 0)
139
142
  return null;
140
- n.__h != null && (s = n.__h, _ = e.__e = n.__e, e.__h = null, o = [_]), (p = u.__b) && p(e);
143
+ o.__h != null && (d = o.__h, c = t.__e = o.__e, t.__h = null, i = [c]), (h = p.__b) && h(t);
141
144
  try {
142
145
  e:
143
- if (typeof y == "function") {
144
- if (v = e.props, g = (p = y.contextType) && c[p.__c], x = p ? g ? g.props.value : p.__ : c, n.__c ? H = (i = e.__c = n.__c).__ = i.__E : ("prototype" in y && y.prototype.render ? e.__c = i = new y(v, x) : (e.__c = i = new U(v, x), i.constructor = y, i.render = Pe), g && g.sub(i), i.props = v, i.state || (i.state = {}), i.context = x, i.__n = c, d = i.__d = !0, i.__h = [], i._sb = []), i.__s == null && (i.__s = i.state), y.getDerivedStateFromProps != null && (i.__s == i.state && (i.__s = C({}, i.__s)), C(i.__s, y.getDerivedStateFromProps(v, i.__s))), f = i.props, l = i.state, i.__v = e, d)
145
- y.getDerivedStateFromProps == null && i.componentWillMount != null && i.componentWillMount(), i.componentDidMount != null && i.__h.push(i.componentDidMount);
146
+ if (typeof b == "function") {
147
+ if (v = t.props, x = (h = b.contextType) && r[h.__c], y = h ? x ? x.props.value : h.__ : r, o.__c ? M = (n = t.__c = o.__c).__ = n.__E : ("prototype" in b && b.prototype.render ? t.__c = n = new b(v, y) : (t.__c = n = new O(v, y), n.constructor = b, n.render = Oe), x && x.sub(n), n.props = v, n.state || (n.state = {}), n.context = y, n.__n = r, f = n.__d = !0, n.__h = [], n._sb = []), n.__s == null && (n.__s = n.state), b.getDerivedStateFromProps != null && (n.__s == n.state && (n.__s = H({}, n.__s)), H(n.__s, b.getDerivedStateFromProps(v, n.__s))), g = n.props, _ = n.state, n.__v = t, f)
148
+ b.getDerivedStateFromProps == null && n.componentWillMount != null && n.componentWillMount(), n.componentDidMount != null && n.__h.push(n.componentDidMount);
146
149
  else {
147
- if (y.getDerivedStateFromProps == null && v !== f && i.componentWillReceiveProps != null && i.componentWillReceiveProps(v, x), !i.__e && (i.shouldComponentUpdate != null && i.shouldComponentUpdate(v, i.__s, x) === !1 || e.__v === n.__v)) {
148
- for (e.__v !== n.__v && (i.props = v, i.state = i.__s, i.__d = !1), e.__e = n.__e, e.__k = n.__k, e.__k.forEach(function(A) {
149
- A && (A.__ = e);
150
- }), M = 0; M < i._sb.length; M++)
151
- i.__h.push(i._sb[M]);
152
- i._sb = [], i.__h.length && r.push(i);
150
+ if (b.getDerivedStateFromProps == null && v !== g && n.componentWillReceiveProps != null && n.componentWillReceiveProps(v, y), !n.__e && (n.shouldComponentUpdate != null && n.shouldComponentUpdate(v, n.__s, y) === !1 || t.__v === o.__v)) {
151
+ for (t.__v !== o.__v && (n.props = v, n.state = n.__s, n.__d = !1), t.__e = o.__e, t.__k = o.__k, t.__k.forEach(function(I) {
152
+ I && (I.__ = t);
153
+ }), C = 0; C < n._sb.length; C++)
154
+ n.__h.push(n._sb[C]);
155
+ n._sb = [], n.__h.length && s.push(n);
153
156
  break e;
154
157
  }
155
- i.componentWillUpdate != null && i.componentWillUpdate(v, i.__s, x), i.componentDidUpdate != null && i.__h.push(function() {
156
- i.componentDidUpdate(f, l, m);
158
+ n.componentWillUpdate != null && n.componentWillUpdate(v, n.__s, y), n.componentDidUpdate != null && n.__h.push(function() {
159
+ n.componentDidUpdate(g, _, u);
157
160
  });
158
161
  }
159
- if (i.context = x, i.props = v, i.__P = t, i.__e = !1, k = u.__r, w = 0, "prototype" in y && y.prototype.render) {
160
- for (i.state = i.__s, i.__d = !1, k && k(e), p = i.render(i.props, i.state, i.context), E = 0; E < i._sb.length; E++)
161
- i.__h.push(i._sb[E]);
162
- i._sb = [];
162
+ if (n.context = y, n.props = v, n.__P = e, n.__e = !1, k = p.__r, S = 0, "prototype" in b && b.prototype.render) {
163
+ for (n.state = n.__s, n.__d = !1, k && k(t), h = n.render(n.props, n.state, n.context), E = 0; E < n._sb.length; E++)
164
+ n.__h.push(n._sb[E]);
165
+ n._sb = [];
163
166
  } else
164
167
  do
165
- i.__d = !1, k && k(e), p = i.render(i.props, i.state, i.context), i.state = i.__s;
166
- while (i.__d && ++w < 25);
167
- i.state = i.__s, i.getChildContext != null && (c = C(C({}, c), i.getChildContext())), d || i.getSnapshotBeforeUpdate == null || (m = i.getSnapshotBeforeUpdate(f, l)), fe(t, G($ = p != null && p.type === N && p.key == null ? p.props.children : p) ? $ : [$], e, n, c, a, o, r, _, s, h), i.base = e.__e, e.__h = null, i.__h.length && r.push(i), H && (i.__E = i.__ = null);
168
+ n.__d = !1, k && k(t), h = n.render(n.props, n.state, n.context), n.state = n.__s;
169
+ while (n.__d && ++S < 25);
170
+ n.state = n.__s, n.getChildContext != null && (r = H(H({}, r), n.getChildContext())), f || n.getSnapshotBeforeUpdate == null || (u = n.getSnapshotBeforeUpdate(g, _)), we(e, K(A = h != null && h.type === z && h.key == null ? h.props.children : h) ? A : [A], t, o, r, l, i, s, c, d, m), n.base = t.__e, t.__h = null, n.__h.length && s.push(n), M && (n.__E = n.__ = null);
168
171
  } else
169
- o == null && e.__v === n.__v ? (e.__k = n.__k, e.__e = n.__e) : e.__e = $e(n.__e, e, n, c, a, o, r, s, h);
170
- (p = u.diffed) && p(e);
171
- } catch (A) {
172
- e.__v = null, (s || o != null) && (e.__e = _, e.__h = !!s, o[o.indexOf(_)] = null), u.__e(A, e, n);
172
+ i == null && t.__v === o.__v ? (t.__k = o.__k, t.__e = o.__e) : t.__e = Fe(o.__e, t, o, r, l, i, s, d, m);
173
+ (h = p.diffed) && h(t);
174
+ } catch (I) {
175
+ t.__v = null, (d || i != null) && (t.__e = c, t.__h = !!d, i[i.indexOf(c)] = null), p.__e(I, t, o);
173
176
  }
174
177
  }
175
- function ge(t, e, n) {
176
- for (var c = 0; c < n.length; c++)
177
- J(n[c], n[++c], n[++c]);
178
- u.__c && u.__c(e, t), t.some(function(a) {
178
+ function ke(e, t, o) {
179
+ for (var r = 0; r < o.length; r++)
180
+ te(o[r], o[++r], o[++r]);
181
+ p.__c && p.__c(t, e), e.some(function(l) {
179
182
  try {
180
- t = a.__h, a.__h = [], t.some(function(o) {
181
- o.call(a);
183
+ e = l.__h, l.__h = [], e.some(function(i) {
184
+ i.call(l);
182
185
  });
183
- } catch (o) {
184
- u.__e(o, a.__v);
186
+ } catch (i) {
187
+ p.__e(i, l.__v);
185
188
  }
186
189
  });
187
190
  }
188
- function $e(t, e, n, c, a, o, r, _, s) {
189
- var h, p, i, d = n.props, f = e.props, l = e.type, m = 0;
190
- if (l === "svg" && (a = !0), o != null) {
191
- for (; m < o.length; m++)
192
- if ((h = o[m]) && "setAttribute" in h == !!l && (l ? h.localName === l : h.nodeType === 3)) {
193
- t = h, o[m] = null;
191
+ function Fe(e, t, o, r, l, i, s, c, d) {
192
+ var m, h, n, f = o.props, g = t.props, _ = t.type, u = 0;
193
+ if (_ === "svg" && (l = !0), i != null) {
194
+ for (; u < i.length; u++)
195
+ if ((m = i[u]) && "setAttribute" in m == !!_ && (_ ? m.localName === _ : m.nodeType === 3)) {
196
+ e = m, i[u] = null;
194
197
  break;
195
198
  }
196
199
  }
197
- if (t == null) {
198
- if (l === null)
199
- return document.createTextNode(f);
200
- t = a ? document.createElementNS("http://www.w3.org/2000/svg", l) : document.createElement(l, f.is && f), o = null, _ = !1;
200
+ if (e == null) {
201
+ if (_ === null)
202
+ return document.createTextNode(g);
203
+ e = l ? document.createElementNS("http://www.w3.org/2000/svg", _) : document.createElement(_, g.is && g), i = null, c = !1;
201
204
  }
202
- if (l === null)
203
- d === f || _ && t.data === f || (t.data = f);
205
+ if (_ === null)
206
+ f === g || c && e.data === g || (e.data = g);
204
207
  else {
205
- if (o = o && I.call(t.childNodes), p = (d = n.props || L).dangerouslySetInnerHTML, i = f.dangerouslySetInnerHTML, !_) {
206
- if (o != null)
207
- for (d = {}, m = 0; m < t.attributes.length; m++)
208
- d[t.attributes[m].name] = t.attributes[m].value;
209
- (i || p) && (i && (p && i.__html == p.__html || i.__html === t.innerHTML) || (t.innerHTML = i && i.__html || ""));
208
+ if (i = i && j.call(e.childNodes), h = (f = o.props || L).dangerouslySetInnerHTML, n = g.dangerouslySetInnerHTML, !c) {
209
+ if (i != null)
210
+ for (f = {}, u = 0; u < e.attributes.length; u++)
211
+ f[e.attributes[u].name] = e.attributes[u].value;
212
+ (n || h) && (n && (h && n.__html == h.__html || n.__html === e.innerHTML) || (e.innerHTML = n && n.__html || ""));
210
213
  }
211
- if (Ee(t, f, d, a, _), i)
212
- e.__k = [];
213
- else if (fe(t, G(m = e.props.children) ? m : [m], e, n, c, a && l !== "foreignObject", o, r, o ? o[0] : n.__k && V(n, 0), _, s), o != null)
214
- for (m = o.length; m--; )
215
- o[m] != null && pe(o[m]);
216
- _ || ("value" in f && (m = f.value) !== void 0 && (m !== t.value || l === "progress" && !m || l === "option" && m !== d.value) && F(t, "value", m, d.value, !1), "checked" in f && (m = f.checked) !== void 0 && m !== t.checked && F(t, "checked", m, d.checked, !1));
214
+ if (Ie(e, g, f, l, c), n)
215
+ t.__k = [];
216
+ else if (we(e, K(u = t.props.children) ? u : [u], t, o, r, l && _ !== "foreignObject", i, s, i ? i[0] : o.__k && D(o, 0), c, d), i != null)
217
+ for (u = i.length; u--; )
218
+ i[u] != null && ve(i[u]);
219
+ c || ("value" in g && (u = g.value) !== void 0 && (u !== e.value || _ === "progress" && !u || _ === "option" && u !== f.value) && R(e, "value", u, f.value, !1), "checked" in g && (u = g.checked) !== void 0 && u !== e.checked && R(e, "checked", u, f.checked, !1));
217
220
  }
218
- return t;
221
+ return e;
219
222
  }
220
- function J(t, e, n) {
223
+ function te(e, t, o) {
221
224
  try {
222
- typeof t == "function" ? t(e) : t.current = e;
223
- } catch (c) {
224
- u.__e(c, n);
225
+ typeof e == "function" ? e(t) : e.current = t;
226
+ } catch (r) {
227
+ p.__e(r, o);
225
228
  }
226
229
  }
227
- function be(t, e, n) {
228
- var c, a;
229
- if (u.unmount && u.unmount(t), (c = t.ref) && (c.current && c.current !== t.__e || J(c, null, e)), (c = t.__c) != null) {
230
- if (c.componentWillUnmount)
230
+ function Se(e, t, o) {
231
+ var r, l;
232
+ if (p.unmount && p.unmount(e), (r = e.ref) && (r.current && r.current !== e.__e || te(r, null, t)), (r = e.__c) != null) {
233
+ if (r.componentWillUnmount)
231
234
  try {
232
- c.componentWillUnmount();
233
- } catch (o) {
234
- u.__e(o, e);
235
+ r.componentWillUnmount();
236
+ } catch (i) {
237
+ p.__e(i, t);
235
238
  }
236
- c.base = c.__P = null, t.__c = void 0;
239
+ r.base = r.__P = null, e.__c = void 0;
237
240
  }
238
- if (c = t.__k)
239
- for (a = 0; a < c.length; a++)
240
- c[a] && be(c[a], e, n || typeof t.type != "function");
241
- n || t.__e == null || pe(t.__e), t.__ = t.__e = t.__d = void 0;
241
+ if (r = e.__k)
242
+ for (l = 0; l < r.length; l++)
243
+ r[l] && Se(r[l], t, o || typeof e.type != "function");
244
+ o || e.__e == null || ve(e.__e), e.__ = e.__e = e.__d = void 0;
242
245
  }
243
- function Pe(t, e, n) {
244
- return this.constructor(t, n);
246
+ function Oe(e, t, o) {
247
+ return this.constructor(e, o);
245
248
  }
246
- function Le(t, e, n) {
247
- var c, a, o, r;
248
- u.__ && u.__(t, e), a = (c = typeof n == "function") ? null : n && n.__k || e.__k, o = [], r = [], Q(e, t = (!c && n || e).__k = He(N, null, [t]), a || L, L, e.ownerSVGElement !== void 0, !c && n ? [n] : a ? null : e.firstChild ? I.call(e.childNodes) : null, o, !c && n ? n : a ? a.__e : e.firstChild, c, r), ge(o, t, r);
249
+ function Ue(e, t, o) {
250
+ var r, l, i, s;
251
+ p.__ && p.__(e, t), l = (r = typeof o == "function") ? null : o && o.__k || t.__k, i = [], s = [], ee(t, e = (!r && o || t).__k = Ne(z, null, [e]), l || L, L, t.ownerSVGElement !== void 0, !r && o ? [o] : l ? null : t.firstChild ? j.call(t.childNodes) : null, i, !r && o ? o : l ? l.__e : t.firstChild, r, s), ke(i, e, s);
249
252
  }
250
- I = me.slice, u = { __e: function(t, e, n, c) {
251
- for (var a, o, r; e = e.__; )
252
- if ((a = e.__c) && !a.__)
253
+ j = me.slice, p = { __e: function(e, t, o, r) {
254
+ for (var l, i, s; t = t.__; )
255
+ if ((l = t.__c) && !l.__)
253
256
  try {
254
- if ((o = a.constructor) && o.getDerivedStateFromError != null && (a.setState(o.getDerivedStateFromError(t)), r = a.__d), a.componentDidCatch != null && (a.componentDidCatch(t, c || {}), r = a.__d), r)
255
- return a.__E = a;
256
- } catch (_) {
257
- t = _;
257
+ if ((i = l.constructor) && i.getDerivedStateFromError != null && (l.setState(i.getDerivedStateFromError(e)), s = l.__d), l.componentDidCatch != null && (l.componentDidCatch(e, r || {}), s = l.__d), s)
258
+ return l.__E = l;
259
+ } catch (c) {
260
+ e = c;
258
261
  }
259
- throw t;
260
- } }, le = 0, U.prototype.setState = function(t, e) {
261
- var n;
262
- n = this.__s != null && this.__s !== this.state ? this.__s : this.__s = C({}, this.state), typeof t == "function" && (t = t(C({}, n), this.props)), t && C(n, t), t != null && this.__v && (e && this._sb.push(e), Y(this));
263
- }, U.prototype.forceUpdate = function(t) {
264
- this.__v && (this.__e = !0, t && this.__h.push(t), Y(this));
265
- }, U.prototype.render = N, P = [], ue = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, R = function(t, e) {
266
- return t.__v.__b - e.__v.__b;
267
- }, B.__r = 0;
268
- var z, b, W, ne, j = 0, ye = [], D = [], ie = u.__b, oe = u.__r, ce = u.diffed, ae = u.__c, re = u.unmount;
269
- function K(t, e) {
270
- u.__h && u.__h(b, t, j || e), j = 0;
271
- var n = b.__H || (b.__H = { __: [], __h: [] });
272
- return t >= n.__.length && n.__.push({ __V: D }), n.__[t];
273
- }
274
- function _e(t) {
275
- return j = 1, Ne(xe, t);
276
- }
277
- function Ne(t, e, n) {
278
- var c = K(z++, 2);
279
- if (c.t = t, !c.__c && (c.__ = [n ? n(e) : xe(void 0, e), function(_) {
280
- var s = c.__N ? c.__N[0] : c.__[0], h = c.t(s, _);
281
- s !== h && (c.__N = [h, c.__[1]], c.__c.setState({}));
282
- }], c.__c = b, !b.u)) {
283
- var a = function(_, s, h) {
284
- if (!c.__c.__H)
262
+ throw e;
263
+ } }, fe = 0, O.prototype.setState = function(e, t) {
264
+ var o;
265
+ o = this.__s != null && this.__s !== this.state ? this.__s : this.__s = H({}, this.state), typeof e == "function" && (e = e(H({}, o), this.props)), e && H(o, e), e != null && this.__v && (t && this._sb.push(t), ie(this));
266
+ }, O.prototype.forceUpdate = function(e) {
267
+ this.__v && (this.__e = !0, e && this.__h.push(e), ie(this));
268
+ }, O.prototype.render = z, $ = [], ge = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, Z = function(e, t) {
269
+ return e.__v.__b - t.__v.__b;
270
+ }, W.__r = 0;
271
+ var Be = 0;
272
+ function a(e, t, o, r, l, i) {
273
+ var s, c, d = {};
274
+ for (c in t)
275
+ c == "ref" ? s = t[c] : d[c] = t[c];
276
+ var m = { type: e, props: d, key: o, ref: s, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: --Be, __source: l, __self: i };
277
+ if (typeof e == "function" && (s = e.defaultProps))
278
+ for (c in s)
279
+ d[c] === void 0 && (d[c] = s[c]);
280
+ return p.vnode && p.vnode(m), m;
281
+ }
282
+ const De = "https://www.nsf.gov/awardsearch/showAward", P = ({
283
+ number: e
284
+ }) => a("a", {
285
+ href: `${De}?AWD_ID=${e}&HistoricalAwards=false`,
286
+ children: ["#", e]
287
+ }), We = `.logo{align-items:start;display:flex;flex-direction:row}.nsf-logo{height:49px}.access-logo{height:23px;margin-top:12px}.access,.nsf{display:block;text-decoration:none}.divider{border-right:1px solid #bbbbbb;height:40px;margin:4px 15px 0 12px;width:0}.name{color:var(--teal-700);display:block;font-size:17.5px;font-stretch:80%;font-weight:200;line-height:1;margin:3px 0 0;text-align:right}.name:before{content:"";display:inline-block;height:0;margin:0 5px 0 0;width:0}.name-allocations:before{border-bottom:12px solid var(--orange-400);border-left:12px solid transparent}.name-coordination-office:before{background-color:var(--teal-400);border-radius:6px;height:12px;margin:0 6px 0 0;width:12px}.name-metrics:before{background-image:url("data:image/svg+xml;utf8,<svg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg' width='12'><circle cx='12' cy='0' r='12' fill='%23008496' /></svg>");background-size:cover;height:12px;margin:0 2px 0 0;width:12px}.name-operations:before{border-top:12px solid var(--yellow-400);border-right:12px solid transparent}.name-support:before{background-color:var(--teal-700);height:12px;margin:0 6px 0 0;width:12px}@media (min-width: 900px){.nsf-logo{height:82px}.divider{height:68px;margin:6px 23px 0 20px}.access-logo{height:39px;margin-top:21px}.name{font-size:30px}.name-allocations:before{border-bottom:20px solid var(--orange-400);border-left:20px solid transparent}.name-metrics:before{height:20px;margin:0 4px 0 0;width:20px}.name-operations:before{border-top:20px solid var(--yellow-400);border-right:20px solid transparent}.name-coordination-office:before{border-radius:9.5px;height:19px;width:19px}.name-support:before{height:19px;margin:0 7px 0 0;width:19px}}@media (min-width: 600px){.logo-footer .nsf-logo{height:36px}.logo-footer .divider{height:30px;margin:3px 11px 0 9px}.logo-footer .access-logo{margin-top:10px;height:17px}}
288
+ `, Ce = ({
289
+ nsfUrl: e = "https://www.nsf.gov",
290
+ placement: t = "header",
291
+ siteName: o = "",
292
+ siteUrl: r = "/"
293
+ }) => a(z, {
294
+ children: [a("div", {
295
+ class: `logo logo-${t}`,
296
+ children: [a("a", {
297
+ class: "nsf",
298
+ href: e,
299
+ children: a("img", {
300
+ class: "nsf-logo",
301
+ src: "/images/nsf-logo.png",
302
+ alt: "National Science Foundation"
303
+ })
304
+ }), a("div", {
305
+ class: "divider"
306
+ }), a("a", {
307
+ class: "access",
308
+ href: r,
309
+ children: [a("img", {
310
+ class: "access-logo",
311
+ src: "/images/access-logo.svg",
312
+ alt: "ACCESS"
313
+ }), o && t == "header" ? a("span", {
314
+ class: `name name-${o.toLocaleLowerCase().replace(" ", "-")}`,
315
+ children: o
316
+ }) : null]
317
+ })]
318
+ }), a("style", {
319
+ children: We
320
+ })]
321
+ });
322
+ var N, w, Y, ce, Q = 0, ze = [], U = [], se = p.__b, de = p.__r, _e = p.diffed, pe = p.__c, he = p.unmount;
323
+ function oe(e, t) {
324
+ p.__h && p.__h(w, e, Q || t), Q = 0;
325
+ var o = w.__H || (w.__H = { __: [], __h: [] });
326
+ return e >= o.__.length && o.__.push({ __V: U }), o.__[e];
327
+ }
328
+ function q(e) {
329
+ return Q = 1, Re(Me, e);
330
+ }
331
+ function Re(e, t, o) {
332
+ var r = oe(N++, 2);
333
+ if (r.t = e, !r.__c && (r.__ = [o ? o(t) : Me(void 0, t), function(c) {
334
+ var d = r.__N ? r.__N[0] : r.__[0], m = r.t(d, c);
335
+ d !== m && (r.__N = [m, r.__[1]], r.__c.setState({}));
336
+ }], r.__c = w, !w.u)) {
337
+ var l = function(c, d, m) {
338
+ if (!r.__c.__H)
285
339
  return !0;
286
- var p = c.__c.__H.__.filter(function(d) {
287
- return d.__c;
340
+ var h = r.__c.__H.__.filter(function(f) {
341
+ return f.__c;
288
342
  });
289
- if (p.every(function(d) {
290
- return !d.__N;
343
+ if (h.every(function(f) {
344
+ return !f.__N;
291
345
  }))
292
- return !o || o.call(this, _, s, h);
293
- var i = !1;
294
- return p.forEach(function(d) {
295
- if (d.__N) {
296
- var f = d.__[0];
297
- d.__ = d.__N, d.__N = void 0, f !== d.__[0] && (i = !0);
346
+ return !i || i.call(this, c, d, m);
347
+ var n = !1;
348
+ return h.forEach(function(f) {
349
+ if (f.__N) {
350
+ var g = f.__[0];
351
+ f.__ = f.__N, f.__N = void 0, g !== f.__[0] && (n = !0);
298
352
  }
299
- }), !(!i && c.__c.props === _) && (!o || o.call(this, _, s, h));
353
+ }), !(!n && r.__c.props === c) && (!i || i.call(this, c, d, m));
300
354
  };
301
- b.u = !0;
302
- var o = b.shouldComponentUpdate, r = b.componentWillUpdate;
303
- b.componentWillUpdate = function(_, s, h) {
355
+ w.u = !0;
356
+ var i = w.shouldComponentUpdate, s = w.componentWillUpdate;
357
+ w.componentWillUpdate = function(c, d, m) {
304
358
  if (this.__e) {
305
- var p = o;
306
- o = void 0, a(_, s, h), o = p;
359
+ var h = i;
360
+ i = void 0, l(c, d, m), i = h;
307
361
  }
308
- r && r.call(this, _, s, h);
309
- }, b.shouldComponentUpdate = a;
362
+ s && s.call(this, c, d, m);
363
+ }, w.shouldComponentUpdate = l;
310
364
  }
311
- return c.__N || c.__;
312
- }
313
- function ze(t, e) {
314
- var n = K(z++, 3);
315
- !u.__s && De(n.__H, e) && (n.__ = t, n.i = e, b.__H.__h.push(n));
316
- }
317
- function Ae() {
318
- var t = K(z++, 11);
319
- if (!t.__) {
320
- for (var e = b.__v; e !== null && !e.__m && e.__ !== null; )
321
- e = e.__;
322
- var n = e.__m || (e.__m = [0, 0]);
323
- t.__ = "P" + n[0] + "-" + n[1]++;
365
+ return r.__N || r.__;
366
+ }
367
+ function G(e, t) {
368
+ var o = oe(N++, 3);
369
+ !p.__s && Ye(o.__H, t) && (o.__ = e, o.i = t, w.__H.__h.push(o));
370
+ }
371
+ function je() {
372
+ var e = oe(N++, 11);
373
+ if (!e.__) {
374
+ for (var t = w.__v; t !== null && !t.__m && t.__ !== null; )
375
+ t = t.__;
376
+ var o = t.__m || (t.__m = [0, 0]);
377
+ e.__ = "P" + o[0] + "-" + o[1]++;
324
378
  }
325
- return t.__;
379
+ return e.__;
326
380
  }
327
- function Te() {
328
- for (var t; t = ye.shift(); )
329
- if (t.__P && t.__H)
381
+ function qe() {
382
+ for (var e; e = ze.shift(); )
383
+ if (e.__P && e.__H)
330
384
  try {
331
- t.__H.__h.forEach(O), t.__H.__h.forEach(q), t.__H.__h = [];
332
- } catch (e) {
333
- t.__H.__h = [], u.__e(e, t.__v);
385
+ e.__H.__h.forEach(B), e.__H.__h.forEach(X), e.__H.__h = [];
386
+ } catch (t) {
387
+ e.__H.__h = [], p.__e(t, e.__v);
334
388
  }
335
389
  }
336
- u.__b = function(t) {
337
- b = null, ie && ie(t);
338
- }, u.__r = function(t) {
339
- oe && oe(t), z = 0;
340
- var e = (b = t.__c).__H;
341
- e && (W === b ? (e.__h = [], b.__h = [], e.__.forEach(function(n) {
342
- n.__N && (n.__ = n.__N), n.__V = D, n.__N = n.i = void 0;
343
- })) : (e.__h.forEach(O), e.__h.forEach(q), e.__h = [], z = 0)), W = b;
344
- }, u.diffed = function(t) {
345
- ce && ce(t);
346
- var e = t.__c;
347
- e && e.__H && (e.__H.__h.length && (ye.push(e) !== 1 && ne === u.requestAnimationFrame || ((ne = u.requestAnimationFrame) || Ue)(Te)), e.__H.__.forEach(function(n) {
348
- n.i && (n.__H = n.i), n.__V !== D && (n.__ = n.__V), n.i = void 0, n.__V = D;
349
- })), W = b = null;
350
- }, u.__c = function(t, e) {
351
- e.some(function(n) {
390
+ p.__b = function(e) {
391
+ w = null, se && se(e);
392
+ }, p.__r = function(e) {
393
+ de && de(e), N = 0;
394
+ var t = (w = e.__c).__H;
395
+ t && (Y === w ? (t.__h = [], w.__h = [], t.__.forEach(function(o) {
396
+ o.__N && (o.__ = o.__N), o.__V = U, o.__N = o.i = void 0;
397
+ })) : (t.__h.forEach(B), t.__h.forEach(X), t.__h = [], N = 0)), Y = w;
398
+ }, p.diffed = function(e) {
399
+ _e && _e(e);
400
+ var t = e.__c;
401
+ t && t.__H && (t.__H.__h.length && (ze.push(t) !== 1 && ce === p.requestAnimationFrame || ((ce = p.requestAnimationFrame) || Ge)(qe)), t.__H.__.forEach(function(o) {
402
+ o.i && (o.__H = o.i), o.__V !== U && (o.__ = o.__V), o.i = void 0, o.__V = U;
403
+ })), Y = w = null;
404
+ }, p.__c = function(e, t) {
405
+ t.some(function(o) {
352
406
  try {
353
- n.__h.forEach(O), n.__h = n.__h.filter(function(c) {
354
- return !c.__ || q(c);
407
+ o.__h.forEach(B), o.__h = o.__h.filter(function(r) {
408
+ return !r.__ || X(r);
355
409
  });
356
- } catch (c) {
357
- e.some(function(a) {
358
- a.__h && (a.__h = []);
359
- }), e = [], u.__e(c, n.__v);
410
+ } catch (r) {
411
+ t.some(function(l) {
412
+ l.__h && (l.__h = []);
413
+ }), t = [], p.__e(r, o.__v);
360
414
  }
361
- }), ae && ae(t, e);
362
- }, u.unmount = function(t) {
363
- re && re(t);
364
- var e, n = t.__c;
365
- n && n.__H && (n.__H.__.forEach(function(c) {
415
+ }), pe && pe(e, t);
416
+ }, p.unmount = function(e) {
417
+ he && he(e);
418
+ var t, o = e.__c;
419
+ o && o.__H && (o.__H.__.forEach(function(r) {
366
420
  try {
367
- O(c);
368
- } catch (a) {
369
- e = a;
421
+ B(r);
422
+ } catch (l) {
423
+ t = l;
370
424
  }
371
- }), n.__H = void 0, e && u.__e(e, n.__v));
425
+ }), o.__H = void 0, t && p.__e(t, o.__v));
372
426
  };
373
- var se = typeof requestAnimationFrame == "function";
374
- function Ue(t) {
375
- var e, n = function() {
376
- clearTimeout(c), se && cancelAnimationFrame(e), setTimeout(t);
377
- }, c = setTimeout(n, 100);
378
- se && (e = requestAnimationFrame(n));
379
- }
380
- function O(t) {
381
- var e = b, n = t.__c;
382
- typeof n == "function" && (t.__c = void 0, n()), b = e;
383
- }
384
- function q(t) {
385
- var e = b;
386
- t.__c = t.__(), b = e;
387
- }
388
- function De(t, e) {
389
- return !t || t.length !== e.length || e.some(function(n, c) {
390
- return n !== t[c];
427
+ var ue = typeof requestAnimationFrame == "function";
428
+ function Ge(e) {
429
+ var t, o = function() {
430
+ clearTimeout(r), ue && cancelAnimationFrame(t), setTimeout(e);
431
+ }, r = setTimeout(o, 100);
432
+ ue && (t = requestAnimationFrame(o));
433
+ }
434
+ function B(e) {
435
+ var t = w, o = e.__c;
436
+ typeof o == "function" && (e.__c = void 0, o()), w = t;
437
+ }
438
+ function X(e) {
439
+ var t = w;
440
+ e.__c = e.__(), w = t;
441
+ }
442
+ function Ye(e, t) {
443
+ return !e || e.length !== t.length || t.some(function(o, r) {
444
+ return o !== e[r];
391
445
  });
392
446
  }
393
- function xe(t, e) {
394
- return typeof e == "function" ? e(t) : e;
447
+ function Me(e, t) {
448
+ return typeof t == "function" ? t(e) : t;
395
449
  }
396
- const Oe = `.acim-menu{--acim-teal-600: #107180;--acim-teal-700: #1a5b6e;--acim-color: white;--acim-padding: 30px;--acim-offset: 0px;--acim-outline: white}.acim-universal{--acim-background: var(--acim-teal-700);--acim-border: rgba(19, 133, 151, .35)}.acim-site{--acim-background: var(--acim-teal-600);--acim-border: #157688}.acim-site ul ul{--acim-border: rgba(19, 133, 151, .35)}.acim-menu,.acim-menu button{font-family:Archivo,sans-serif}.acim-menu ul,.acim-menu li{list-style-type:none;margin:0;padding:0}.acim-menu a{text-decoration:none}.acim-item{background:transparent;border:0 none transparent;border-radius:0;box-sizing:border-box;cursor:pointer;display:block;text-align:left;width:100%}.acim-item{font-size:14px;font-weight:600;line-height:21px;padding:13.5px var(--acim-padding) 13.5px}.acim-menu>ul>li>.acim-item{font-weight:800}.acim-item,.acim-menu>.acim-expanded{border-bottom:1px solid var(--acim-border)}.acim-expanded,.acim-icon-search .acim-item,.acim-menu li:last-child>.acim-item,.acim-menu>.acim-collapsed{border-bottom:0 none transparent}.acim-menu>button{text-transform:uppercase}.acim-menu button{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'><path fill='white' d='M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z'/></svg>");background-position:calc(100% - var(--acim-padding) - var(--acim-offset)) center;background-repeat:no-repeat;background-size:14px 24px}.acim-menu button.acim-expanded{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'><path fill='white' d='m 182.62211,201.27501 c -12.5,-12.5 -32.8,-12.5 -45.3,0 L 9.322106,329.275 c -9.19999996,9.2 -11.9,22.9 -6.9,34.9 5,12 16.6,19.8 29.6,19.8 l 256.000004,-0.1 c 12.9,0 24.6,-7.8 29.6,-19.8 5,-12 2.2,-25.7 -6.9,-34.9 l -128,-127.99999 z'/></svg>")}.acim-menu button,.acim-menu ul li{background-color:var(--acim-background)}.acim-menu button,.acim-menu ul li a{color:var(--acim-color)}.acim-menu ul li li{background-color:#fff}.acim-menu ul li li a{color:#138597}.acim-icon>.acim-item{background-position:calc(var(--acim-padding) + var(--acim-offset)) center;background-repeat:no-repeat;background-size:14px 14px;text-indent:-99999px}.acim-icon-home>.acim-item{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512' fill='white'><path d='M543.8 287.6c17 0 32-14 32-32.1c1-9-3-17-11-24L512 185V64c0-17.7-14.3-32-32-32H448c-17.7 0-32 14.3-32 32v36.7L309.5 7c-6-5-14-7-21-7s-15 1-22 8L10 231.5c-7 7-10 15-10 24c0 18 14 32.1 32 32.1h32v69.7c-.1 .9-.1 1.8-.1 2.8V472c0 22.1 17.9 40 40 40h16c1.2 0 2.4-.1 3.6-.2c1.5 .1 3 .2 4.5 .2H160h24c22.1 0 40-17.9 40-40V448 384c0-17.7 14.3-32 32-32h64c17.7 0 32 14.3 32 32v64 24c0 22.1 17.9 40 40 40h24 32.5c1.4 0 2.8 0 4.2-.1c1.1 .1 2.2 .1 3.3 .1h16c22.1 0 40-17.9 40-40V455.8c.3-2.6 .5-5.3 .5-8.1l-.7-160.2h32z'/></svg>")}.acim-icon-search>.acim-item{background-image:url("data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='18' height='18' viewBox='0 0 100 100'><path fill='white' class='st0' d='M98.22,92.72l-5.48,5.47c-1.8,1.82-4.74,1.82-6.55,0L66.9,78.9c-0.87-0.87-1.35-2.05-1.35-3.29v-3.15 c-6.83,5.34-15.42,8.51-24.76,8.51c-22.23,0-40.24-18.01-40.24-40.24S18.55,0.49,40.78,0.49S81.02,18.5,81.02,40.73 c0,9.34-3.18,17.94-8.51,24.76h3.15c1.24,0,2.42,0.48,3.29,1.35l19.29,19.29C100.03,87.95,100.03,90.89,98.22,92.72z M65.54,40.73 c0-13.7-11.08-24.76-24.76-24.76c-13.7,0-24.76,11.08-24.76,24.76c0,13.7,11.08,24.76,24.76,24.76 C54.47,65.49,65.54,54.41,65.54,40.73z'></path></svg>")}.acim-icon-hamburger>.acim-item,.acim-icon-hamburger>.acim-item.acim-expanded{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='white'><path d='M24 6h-24v-4h24v4zm0 4h-24v4h24v-4zm0 8h-24v4h24v-4z'/></svg>")}.acim-track .acim-item{text-transform:uppercase;padding-top:5px;padding-bottom:5px}.acim-track:not(.acim-grow) .acim-item{border-bottom:0 none transparent}.acim-track.acim-grow .acim-item{padding-bottom:10px}.acim-hamburger>button{display:none}@media (min-width: 600px){.acim-menu{--acim-padding:calc((100% - 540px)/2);--acim-offset: 7px}}@media (min-width: 768px){.acim-menu{--acim-padding:calc((100% - 712px)/2)}}@media (min-width: 900px){.acim-menu{--acim-padding: 10px;--acim-offset: 0px}.acim-site{--acim-background: white;--acim-color: var(--acim-teal-600);--acim-outline: var(--acim-teal-700);--acim-padding: 20px;border-bottom:1px solid #d9d9d9;border-top:3px solid var(--acim-teal-700)}.acim-site>ul{justify-content:end}.acim-menu>button{display:none}.acim-menu>ul{display:flex;flex-direction:row;margin:0 auto;width:calc(840px + (2 * var(--acim-padding)))}.acim-item,.acim-track .acim-item{border-bottom:0 none transparent;padding-top:12px;padding-bottom:12px}.acim-site .acim-item{font-size:16px}.acim-grow{flex:1 0 auto}.acim-universal{background-color:var(--acim-teal-700)}.acim-icon>.acim-item{background-position:center center;width:56px}.acim-menu button,.acim-menu button.acim-expanded{background-image:none}.acim-hamburger>button{display:block}.acim-menu>ul>li{display:flex;flex-direction:row;justify-content:start;position:relative}.acim-menu>ul>li.acim-grow>.acim-item{flex:0 1 0}.acim-menu>ul>li>.acim-expanded,.acim-menu>ul>li>.acim-item:active,.acim-menu>ul>li>.acim-item:focus,.acim-menu>ul>li>.acim-item:hover{background-color:var(--acim-teal-600);color:#fff;outline:0 none transparent}.acim-menu>ul>li>.acim-item:focus-visible{outline:3px solid var(--acim-outline);outline-offset:-3px;z-index:1000}.acim-menu>ul ul{background-color:var(--acim-teal-600);padding:10px 0;position:absolute;right:0;top:48px;z-index:9999}.acim-menu>ul ul li{background-color:var(--acim-teal-600)}.acim-menu>ul ul .acim-item{color:#fff;white-space:nowrap;padding:5px 20px}.acim-menu>ul ul .acim-item:active,.acim-menu>ul ul .acim-item:focus,.acim-menu>ul ul .acim-item:hover{color:#cee8e9;outline:0 none transparent;text-decoration:underline}.acim-menu>ul ul .acim-item:focus-visible{outline:3px solid white;outline-offset:-3px;z-index:1000}.acim-menu>ul>li>.acim-item{line-height:24px}}@media (min-width: 1024px){.acim-menu>ul{width:calc(940px + (2 * var(--acim-padding)))}}@media (min-width: 1280px){.acim-menu>ul{width:calc(1180px + (2 * var(--acim-padding)))}}
397
- `;
398
- var Ve = 0;
399
- function S(t, e, n, c, a, o) {
400
- var r, _, s = {};
401
- for (_ in e)
402
- _ == "ref" ? r = e[_] : s[_] = e[_];
403
- var h = { type: t, props: s, key: n, ref: r, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: --Ve, __source: a, __self: o };
404
- if (typeof t == "function" && (r = t.defaultProps))
405
- for (_ in r)
406
- s[_] === void 0 && (s[_] = r[_]);
407
- return u.vnode && u.vnode(h), h;
408
- }
409
- const ke = ({
410
- autoOpenMode: t,
411
- classes: e = "",
412
- href: n = "",
413
- html: c = "",
414
- items: a,
415
- mode: o,
416
- name: r,
417
- open: _,
418
- parentId: s = "root",
419
- setOpen: h
450
+ const J = (e = 900) => document.body.clientWidth >= e ? "desktop" : "mobile", He = (e = 900) => {
451
+ const [t, o] = q(J(e));
452
+ return G(() => {
453
+ window.addEventListener("resize", () => o(J(e)));
454
+ }, []), t;
455
+ }, T = (e, t) => {
456
+ const o = t.attachShadow({
457
+ mode: "open"
458
+ });
459
+ Ue(e, o);
460
+ }, Ee = () => window.pageYOffset !== void 0 ? window.pageYOffset : (document.documentElement || document.body.parentNode || document.body).scrollTop, Ze = ({
461
+ showAfterScroll: e = 300
462
+ }) => {
463
+ const [t, o] = q(!1);
464
+ return G(() => {
465
+ window.addEventListener("scroll", () => o(Ee() >= e));
466
+ }, []), a("button", {
467
+ class: `scroll-to-top ${t ? "visible" : ""}`,
468
+ title: "Return to Top",
469
+ onClick: () => window.scrollTo({
470
+ top: 0,
471
+ behavior: "smooth"
472
+ }),
473
+ children: "Return to Top"
474
+ });
475
+ }, Qe = (e = {}) => a(z, {
476
+ children: [a("div", {
477
+ class: "container",
478
+ children: [a("div", {
479
+ class: "upper",
480
+ children: [a("div", {
481
+ class: "about",
482
+ children: [a("p", {
483
+ class: "awards",
484
+ children: ["ACCESS is an advanced computing and data resource program supported by the U.S. National Science Foundation (NSF) under the Office of Advanced Cyberinfrastructure awards", " ", a(P, {
485
+ number: 2138259
486
+ }), ", ", a(P, {
487
+ number: 2138286
488
+ }), ",", " ", a(P, {
489
+ number: 2138307
490
+ }), ", ", a(P, {
491
+ number: 2137603
492
+ }), " and", " ", a(P, {
493
+ number: 2138296
494
+ }), "."]
495
+ }), a("p", {
496
+ class: "disclaimer",
497
+ children: "Any opinions, findings, conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the National Science Foundation."
498
+ }), a("a", {
499
+ class: "contact",
500
+ href: "https://access-ci.org/contact/",
501
+ children: "Contact ACCESS"
502
+ })]
503
+ }), a("ul", {
504
+ class: "social",
505
+ children: [a("li", {
506
+ children: a("a", {
507
+ class: "x",
508
+ href: "https://twitter.com/ACCESSforCI",
509
+ children: "X"
510
+ })
511
+ }), a("li", {
512
+ children: a("a", {
513
+ class: "youtube",
514
+ href: "https://www.youtube.com/c/ACCESSforCI",
515
+ children: "YouTube"
516
+ })
517
+ }), a("li", {
518
+ children: a("a", {
519
+ class: "facebook",
520
+ href: "https://www.facebook.com/ACCESSforCI",
521
+ children: "Facebook"
522
+ })
523
+ }), a("li", {
524
+ children: a("a", {
525
+ class: "linkedin",
526
+ href: "https://www.linkedin.com/company/accessforci/",
527
+ children: "LinkedIn"
528
+ })
529
+ })]
530
+ })]
531
+ }), a("div", {
532
+ class: "lower",
533
+ children: [a(Ce, {
534
+ ...e,
535
+ placement: "footer"
536
+ }), a("ul", {
537
+ class: "links",
538
+ children: [a("li", {
539
+ children: a("a", {
540
+ href: "https://access-ci.org/acceptable-use/",
541
+ children: "Acceptable Use"
542
+ })
543
+ }), a("li", {
544
+ children: a("a", {
545
+ href: "https://access-ci.org/code-of-conduct/",
546
+ children: "Code of Conduct"
547
+ })
548
+ }), a("li", {
549
+ children: a("a", {
550
+ href: "https://access-ci.org/privacy-policy/",
551
+ children: "Privacy Policy"
552
+ })
553
+ }), a("li", {
554
+ children: a("a", {
555
+ href: "https://access-ci.org/glossary/",
556
+ children: "Glossary"
557
+ })
558
+ }), a("li", {
559
+ children: a("a", {
560
+ href: "https://access-ci.org/site-map/",
561
+ children: "Site Map"
562
+ })
563
+ })]
564
+ })]
565
+ })]
566
+ }), a(Ze, {
567
+ ...e
568
+ }), a("style", {
569
+ children: V
570
+ }), a("style", {
571
+ children: Te
572
+ })]
573
+ }), Xe = `:host{height:84px;padding:20px 0 0}@media (min-width: 900px){:host{height:146px;padding:50px 0 0}}
574
+ `, Je = (e = {}) => a(z, {
575
+ children: [a("div", {
576
+ class: "container",
577
+ children: a(Ce, {
578
+ ...e
579
+ })
580
+ }), a("style", {
581
+ children: V
582
+ }), a("style", {
583
+ children: Xe
584
+ })]
585
+ }), Ae = `.universal{--background: var(--teal-700);--border: rgba(19, 133, 151, .35)}.site{--background: var(--teal-600);--border: #157688}.site ul ul{--border: rgba(19, 133, 151, .35)}.menu ul,.menu li{list-style-type:none;margin:0;padding:0}.menu a{text-decoration:none}.item{background:transparent;border:0 none transparent;border-radius:0;box-sizing:border-box;cursor:pointer;display:block;text-align:left;width:100%}.item{font-size:14px;font-weight:600;line-height:21px;padding:13.5px var(--padding) 13.5px}.menu>ul>li>.item{font-weight:800}.item,.menu>.expanded{border-bottom:1px solid var(--border)}.expanded,.icon-search .item,.menu li:last-child>.item,.menu>.collapsed{border-bottom:0 none transparent}.menu>button{text-transform:uppercase}.menu button{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'><path fill='white' d='M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z'/></svg>");background-position:calc(100% - var(--padding) - var(--offset)) center;background-repeat:no-repeat;background-size:14px 24px}.menu button.expanded{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'><path fill='white' d='m 182.62211,201.27501 c -12.5,-12.5 -32.8,-12.5 -45.3,0 L 9.322106,329.275 c -9.19999996,9.2 -11.9,22.9 -6.9,34.9 5,12 16.6,19.8 29.6,19.8 l 256.000004,-0.1 c 12.9,0 24.6,-7.8 29.6,-19.8 5,-12 2.2,-25.7 -6.9,-34.9 l -128,-127.99999 z'/></svg>")}.menu button,.menu ul li{background-color:var(--background)}.menu button,.menu ul li a{color:var(--color)}.menu ul li li{background-color:#fff}.menu ul li li a{color:#138597}.icon>.item{background-position:calc(var(--padding) + var(--offset)) center;background-repeat:no-repeat;background-size:14px 14px;text-indent:-99999px}.icon-home>.item{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512' fill='white'><path d='M543.8 287.6c17 0 32-14 32-32.1c1-9-3-17-11-24L512 185V64c0-17.7-14.3-32-32-32H448c-17.7 0-32 14.3-32 32v36.7L309.5 7c-6-5-14-7-21-7s-15 1-22 8L10 231.5c-7 7-10 15-10 24c0 18 14 32.1 32 32.1h32v69.7c-.1 .9-.1 1.8-.1 2.8V472c0 22.1 17.9 40 40 40h16c1.2 0 2.4-.1 3.6-.2c1.5 .1 3 .2 4.5 .2H160h24c22.1 0 40-17.9 40-40V448 384c0-17.7 14.3-32 32-32h64c17.7 0 32 14.3 32 32v64 24c0 22.1 17.9 40 40 40h24 32.5c1.4 0 2.8 0 4.2-.1c1.1 .1 2.2 .1 3.3 .1h16c22.1 0 40-17.9 40-40V455.8c.3-2.6 .5-5.3 .5-8.1l-.7-160.2h32z'/></svg>")}.icon-search>.item{background-image:url("data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='18' height='18' viewBox='0 0 100 100'><path fill='white' class='st0' d='M98.22,92.72l-5.48,5.47c-1.8,1.82-4.74,1.82-6.55,0L66.9,78.9c-0.87-0.87-1.35-2.05-1.35-3.29v-3.15 c-6.83,5.34-15.42,8.51-24.76,8.51c-22.23,0-40.24-18.01-40.24-40.24S18.55,0.49,40.78,0.49S81.02,18.5,81.02,40.73 c0,9.34-3.18,17.94-8.51,24.76h3.15c1.24,0,2.42,0.48,3.29,1.35l19.29,19.29C100.03,87.95,100.03,90.89,98.22,92.72z M65.54,40.73 c0-13.7-11.08-24.76-24.76-24.76c-13.7,0-24.76,11.08-24.76,24.76c0,13.7,11.08,24.76,24.76,24.76 C54.47,65.49,65.54,54.41,65.54,40.73z'></path></svg>")}.icon-hamburger>.item,.icon-hamburger>.item.expanded{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='white'><path d='M24 6h-24v-4h24v4zm0 4h-24v4h24v-4zm0 8h-24v4h24v-4z'/></svg>")}.track .item{text-transform:uppercase;padding-top:5px;padding-bottom:5px}.track:not(.grow) .item{border-bottom:0 none transparent}.track.grow .item{padding-bottom:10px}.hamburger>button{display:none}.footer{background-color:var(--teal-700);color:#fff}.columns{margin:0 auto;padding:50px var(--padding) 36px;width:var(--width)}.column{padding-bottom:14px}.footer a,.footer a:visited{color:#fff;text-decoration:none}.footer a:active,.footer a:focus,.footer a:hover{color:var(--teal-100);text-decoration:underline}.footer h2{font-size:14px;font-weight:800;margin:0}.footer ul{margin:0;padding:0}.footer li{font-size:14px;font-weight:600;list-style-type:none;padding:14px 0 0}@media (min-width: 768px){.columns{display:flex;flex-direction:row;flex-wrap:wrap;padding:50px 0 10px}.column{padding-bottom:40px;padding-right:20px;width:calc((var(--width) - 60px) / 4)}.column:nth-child(4),.column:last-child{padding-right:0}}@media (min-width: 900px){.site{--background: white;--color: var(--teal-600);--outline: var(--teal-700);--padding: 20px;border-bottom:1px solid #d9d9d9;border-top:3px solid var(--teal-700)}.site>ul{justify-content:end}.menu>button{display:none}.menu>ul{display:flex;flex-direction:row;margin:0 auto;width:calc(var(--width) + (2 * var(--padding)))}.item,.track .item{border-bottom:0 none transparent;padding-top:12px;padding-bottom:12px}.site .item{font-size:16px}.grow{flex:1 0 auto}.universal{background-color:var(--teal-700)}.icon>.item{background-position:center center;width:56px}.menu button,.menu button.expanded{background-image:none}.hamburger>button{display:block}.menu>ul>li{display:flex;flex-direction:row;justify-content:start;position:relative}.menu>ul>li.grow>.item{flex:0 1 0}.menu>ul>li>.expanded,.menu>ul>li>.item:active,.menu>ul>li>.item:focus,.menu>ul>li>.item:hover{background-color:var(--teal-600);color:#fff;outline:0 none transparent}.menu>ul>li>.item:focus-visible{outline:3px solid var(--outline);outline-offset:-3px;z-index:1000}.menu>ul ul{background-color:var(--teal-600);padding:10px 0;position:absolute;right:0;top:48px;z-index:9999}.menu>ul ul li{background-color:var(--teal-600)}.menu>ul ul .item{color:#fff;white-space:nowrap;padding:5px 20px}.menu>ul ul .item:active,.menu>ul ul .item:focus,.menu>ul ul .item:hover{color:#cee8e9;outline:0 none transparent;text-decoration:underline}.menu>ul ul .item:focus-visible{outline:3px solid white;outline-offset:-3px;z-index:1000}.menu>ul>li>.item{line-height:24px}}@media (min-width: 1280px){.columns{flex-wrap:nowrap;padding:72px 0 0}.column{padding-bottom:72px;width:calc((var(--width) - 120px) / 7)}.column:nth-child(4){padding-right:20px}}
586
+ `, $e = ({
587
+ autoOpenMode: e,
588
+ classes: t = "",
589
+ href: o = "",
590
+ html: r = "",
591
+ items: l,
592
+ mode: i,
593
+ name: s,
594
+ open: c,
595
+ parentId: d = "root",
596
+ setOpen: m
420
597
  }) => {
421
- const p = Ae(), i = _[s] == p, d = i || t == o, f = () => h({
422
- ..._,
423
- [s]: i ? null : p
598
+ const h = je(), n = c[d] == h, f = n || e == i, g = () => m({
599
+ ...c,
600
+ [d]: n ? null : h
424
601
  });
425
- if (c)
426
- return S("div", {
602
+ if (r)
603
+ return a("div", {
427
604
  dangerouslySetInnerHTML: {
428
- __html: c
605
+ __html: r
429
606
  }
430
607
  });
431
- if (n)
432
- return S("a", {
433
- href: n,
434
- class: `acim-item ${e || ""}`,
435
- children: r
608
+ if (o)
609
+ return a("a", {
610
+ href: o,
611
+ class: `item ${t || ""}`,
612
+ children: s
436
613
  });
437
- if (a)
438
- return S(N, {
439
- children: [r && S("button", {
440
- "aria-expanded": d,
441
- "aria-controls": p,
442
- class: `acim-item ${d ? "acim-expanded" : "acim-collapsed"}`,
443
- onClick: f,
444
- children: r
445
- }), S("ul", {
446
- class: e,
447
- id: p,
448
- hidden: !d,
449
- "aria-hidden": !d,
450
- children: a.map(({
451
- autoOpenMode: l,
452
- classes: m,
453
- href: H,
614
+ if (l)
615
+ return a(z, {
616
+ children: [s && a("button", {
617
+ "aria-expanded": f,
618
+ "aria-controls": h,
619
+ class: `item ${f ? "expanded" : "collapsed"}`,
620
+ onClick: g,
621
+ children: s
622
+ }), a("ul", {
623
+ class: t,
624
+ id: h,
625
+ hidden: !f,
626
+ "aria-hidden": !f,
627
+ children: l.map(({
628
+ autoOpenMode: _,
629
+ classes: u,
630
+ href: M,
454
631
  html: v,
455
- items: g,
456
- name: x
457
- }) => S("li", {
458
- class: m || "",
459
- children: S(ke, {
460
- autoOpenMode: l,
461
- href: H,
632
+ items: x,
633
+ name: y
634
+ }) => a("li", {
635
+ class: u || "",
636
+ children: a($e, {
637
+ autoOpenMode: _,
638
+ href: M,
462
639
  html: v,
463
- items: g,
464
- mode: o,
465
- name: x,
466
- open: _,
467
- parentId: p,
468
- setOpen: h
640
+ items: x,
641
+ mode: i,
642
+ name: y,
643
+ open: c,
644
+ parentId: h,
645
+ setOpen: m
469
646
  })
470
647
  }))
471
648
  })]
472
649
  });
473
- }, we = ({
474
- classes: t,
475
- items: e,
476
- name: n,
477
- target: c
650
+ }, Le = ({
651
+ classes: e,
652
+ items: t,
653
+ name: o,
654
+ target: r
478
655
  }) => {
479
- const a = () => document.body.clientWidth >= 900 ? "desktop" : "mobile", [o, r] = _e(a()), [_, s] = _e({});
480
- return ze(() => {
481
- window.addEventListener("resize", () => r(a())), document.body.addEventListener("click", (h) => {
482
- h.target != c && a() == "desktop" && s({});
483
- }), c.addEventListener("keydown", ({
484
- key: h
656
+ const l = He(), [i, s] = q({});
657
+ return G(() => {
658
+ document.body.addEventListener("click", (c) => {
659
+ c.target != r && J() == "desktop" && s({});
660
+ }), r.addEventListener("keydown", ({
661
+ key: c
485
662
  }) => {
486
- h == "Escape" && s({});
663
+ c == "Escape" && s({});
487
664
  });
488
- }, []), S(N, {
489
- children: [S("nav", {
490
- class: `acim-menu ${t || ""}`,
491
- children: S(ke, {
665
+ }, []), a(z, {
666
+ children: [a("nav", {
667
+ class: `menu ${e || ""}`,
668
+ children: a($e, {
492
669
  autoOpenMode: "desktop",
493
- items: e,
494
- mode: o,
495
- name: n,
496
- open: _,
670
+ items: t,
671
+ mode: l,
672
+ name: o,
673
+ open: i,
497
674
  setOpen: s
498
675
  })
499
- }), S("style", {
500
- children: Oe
676
+ }), a("style", {
677
+ children: V
678
+ }), a("style", {
679
+ children: Ae
680
+ })]
681
+ });
682
+ }, Ke = ({
683
+ items: e
684
+ }) => {
685
+ const t = He(768), o = e.map(({
686
+ name: r,
687
+ href: l,
688
+ items: i
689
+ }) => {
690
+ if (t == "mobile")
691
+ for (; !l; )
692
+ l = i[0].href, i = i[0];
693
+ return l ? a("div", {
694
+ class: "column",
695
+ children: a("h2", {
696
+ children: a("a", {
697
+ href: l,
698
+ children: r
699
+ })
700
+ })
701
+ }) : a("div", {
702
+ class: "column",
703
+ children: [a("h2", {
704
+ children: r
705
+ }), a("ul", {
706
+ children: i.map(({
707
+ name: s,
708
+ href: c
709
+ }) => a("li", {
710
+ children: a("a", {
711
+ href: c,
712
+ children: s
713
+ })
714
+ }))
715
+ })]
716
+ });
717
+ });
718
+ return a(z, {
719
+ children: [a("nav", {
720
+ class: "footer",
721
+ children: a("div", {
722
+ class: "columns",
723
+ children: o
724
+ })
725
+ }), a("style", {
726
+ children: V
727
+ }), a("style", {
728
+ children: Ae
501
729
  })]
502
730
  });
503
- }, Be = [{
731
+ }, et = [{
504
732
  name: "Allocations",
505
733
  href: "https://allocations.access-ci.org/",
506
- classes: "acim-track"
734
+ classes: "track"
507
735
  }, {
508
736
  name: "Support",
509
737
  href: "https://support.access-ci.org/",
510
- classes: "acim-track"
738
+ classes: "track"
511
739
  }, {
512
740
  name: "Operations",
513
741
  href: "https://operations.access-ci.org/",
514
- classes: "acim-track"
742
+ classes: "track"
515
743
  }, {
516
744
  name: "Metrics",
517
745
  href: "https://metrics.access-ci.org/",
518
- classes: "acim-track acim-grow"
746
+ classes: "track grow"
519
747
  }, {
520
748
  name: "ACCESS Home",
521
749
  href: "https://access-ci.org/",
522
- classes: "acim-icon acim-icon-home"
750
+ classes: "icon icon-home"
523
751
  }, {
524
752
  name: "Search",
525
753
  href: "https://support.access-ci.org/knowledge-base",
526
- classes: "acim-icon acim-icon-search"
754
+ classes: "icon icon-search"
527
755
  }, {
528
756
  name: "Menu",
529
- classes: "acim-icon acim-icon-hamburger acim-hamburger",
757
+ classes: "icon icon-hamburger hamburger",
530
758
  autoOpenMode: "mobile",
531
759
  items: [{
532
760
  name: "About",
@@ -550,7 +778,7 @@ const ke = ({
550
778
  name: "Resource Providers",
551
779
  href: "https://access-ci.org/resource-providers/"
552
780
  }]
553
- }], Fe = {
781
+ }], tt = {
554
782
  name: "My ACCESS",
555
783
  items: [{
556
784
  name: "Allocations",
@@ -571,7 +799,7 @@ const ke = ({
571
799
  name: "Log out",
572
800
  href: "https://cilogon.org/logout/?skin=access"
573
801
  }]
574
- }, Ie = {
802
+ }, ot = {
575
803
  name: "Login",
576
804
  items: [{
577
805
  name: "Login",
@@ -586,49 +814,111 @@ const ke = ({
586
814
  name: "Reset Password",
587
815
  href: "https://identity.access-ci.orgg/password-reset"
588
816
  }]
589
- }, Se = (t, e) => {
590
- const n = e.attachShadow({
591
- mode: "open"
592
- });
593
- Le(t, n);
594
- }, We = ({
595
- items: t,
596
- isLoggedIn: e,
597
- loginUrl: n,
598
- logoutUrl: c,
599
- target: a
817
+ }, nt = `.toc{background-color:var(--teal-600);color:#fff;padding:20px;position:sticky;top:50px}h2{font-size:16px;font-weight:800;margin:0 0 16px}ul{margin:0;padding:0 0 0 20px}li{line-height:1.125;list-style-type:none;margin:0;padding:9px 0}a{color:#fff;font-size:16px;font-weight:600;text-decoration:underline;text-decoration-color:transparent}a :active,a:focus,a:hover{color:var(--teal-100);text-decoration-color:var(--teal-100)}@media (min-width: 768px){a.active{color:var(--teal-100)}}@media (min-width: 900px){.toc{padding:32px}}
818
+ `, it = ({
819
+ headings: e = [],
820
+ idPrefix: t = "",
821
+ smoothScroll: o = !0
822
+ }) => {
823
+ const [r, l] = q(-1);
824
+ let i;
825
+ const s = [];
826
+ if (e.forEach((c) => {
827
+ c.tagName == "H1" ? i = c : c.tagName == "H2" && (s.push(c), c.id || (c.id = t + c.textContent.replace(/[^A-Za-z0-9]+/g, "-").toLowerCase()));
828
+ }), G(() => {
829
+ s.length && window.addEventListener("scroll", function() {
830
+ const c = Ee() + window.innerHeight * 0.1;
831
+ let d = -1;
832
+ s.forEach((m, h) => {
833
+ if (m.offsetTop < c)
834
+ return d = h, !1;
835
+ }), l(d);
836
+ });
837
+ }, []), !!s.length)
838
+ return a(z, {
839
+ children: [a("div", {
840
+ class: "toc",
841
+ children: [i && a("h2", {
842
+ children: i.textContent
843
+ }), s.length > 0 && a("ul", {
844
+ children: s.map((c, d) => a("li", {
845
+ children: a("a", {
846
+ href: `#${c.id}`,
847
+ class: d == r ? "active" : "",
848
+ onClick: (m) => {
849
+ o && (m.preventDefault(), window.scrollTo({
850
+ top: c.offsetTop,
851
+ behavior: "smooth"
852
+ }), history.pushState(null, null, `#${c.id}`));
853
+ },
854
+ children: c.textContent
855
+ })
856
+ }))
857
+ })]
858
+ }), a("style", {
859
+ children: V
860
+ }), a("style", {
861
+ children: nt
862
+ })]
863
+ });
864
+ }, rt = (e = {}) => {
865
+ T(a(Qe, {
866
+ ...e
867
+ }), e.target);
868
+ }, at = (e = {}) => {
869
+ T(a(Je, {
870
+ ...e
871
+ }), e.target);
872
+ }, lt = ({
873
+ items: e,
874
+ isLoggedIn: t,
875
+ loginUrl: o,
876
+ logoutUrl: r,
877
+ target: l
600
878
  } = {}) => {
601
- if (e === void 0 && (e = document.cookie.split("; ").includes("SESSaccesscisso=1")), t === void 0) {
602
- const o = {
603
- ...e ? Fe : Ie
879
+ if (t === void 0 && (t = document.cookie.split("; ").includes("SESSaccesscisso=1")), e === void 0) {
880
+ const i = {
881
+ ...t ? tt : ot
604
882
  };
605
- o.items = o.items.map((r) => ({
606
- ...r,
607
- href: r.name == "Login" && n || r.name == "Log out" && c || r.href
608
- })), t = [...Be, o];
883
+ i.items = i.items.map((s) => ({
884
+ ...s,
885
+ href: s.name == "Login" && o || s.name == "Log out" && r || s.href
886
+ })), e = [...et, i];
609
887
  }
610
- Se(S(we, {
611
- classes: "acim-universal",
612
- items: t,
888
+ T(a(Le, {
889
+ classes: "universal",
890
+ items: e,
613
891
  name: "ACCESS Menu",
614
- target: a
615
- }), a);
616
- }, Re = ({
617
- items: t,
618
- siteName: e,
619
- target: n
620
- }) => {
621
- Se(S(we, {
622
- classes: "acim-site",
623
- items: t,
624
- name: `${e} Menu`,
625
- target: n
626
- }), n);
627
- };
892
+ target: l
893
+ }), l);
894
+ }, ct = ({
895
+ items: e,
896
+ siteName: t,
897
+ target: o
898
+ }) => T(a(Le, {
899
+ classes: "site",
900
+ items: e,
901
+ name: `${t} Menu`,
902
+ target: o
903
+ }), o), st = ({
904
+ items: e,
905
+ target: t
906
+ }) => T(a(Ke, {
907
+ items: e
908
+ }), t), dt = ({
909
+ headings: e = [],
910
+ target: t
911
+ }) => T(a(it, {
912
+ headings: e
913
+ }), t);
628
914
  export {
629
- Ie as loginMenuItem,
630
- Fe as myAccessMenuItem,
631
- Re as siteMenus,
632
- Be as universalMenuItems,
633
- We as universalMenus
915
+ rt as footer,
916
+ st as footerMenus,
917
+ at as header,
918
+ ot as loginMenuItem,
919
+ tt as myAccessMenuItem,
920
+ ct as siteMenus,
921
+ dt as tableOfContents,
922
+ et as universalMenuItems,
923
+ lt as universalMenus
634
924
  };