@access-ci/ui 0.6.0 → 0.7.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.
- package/dist/access-ci-ui.bundle.js +3 -3
- package/dist/access-ci-ui.js +1 -1
- package/dist/access-ci-ui.umd.cjs +9 -9
- package/dist/{icon-DzCw9ZDX.js → icon-DbS0rShT.js} +1 -1
- package/dist/{index-DTe8MxCu.js → index-C4qTWzBx.js} +317 -308
- package/dist/{resource-group-detail-CA-q3hzl.js → resource-group-detail-DfQXKMVB.js} +112 -115
- package/dist/{resource-home-DTKYSM1N.js → resource-home-BcgtRZjY.js} +2 -2
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var Sc = Object.defineProperty;
|
|
2
2
|
var kc = (i, t, e) => t in i ? Sc(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
|
|
3
3
|
var I = (i, t, e) => kc(i, typeof t != "symbol" ? t + "" : t, e);
|
|
4
|
-
import { _ as _i, u as v, a as
|
|
5
|
-
import { I as U } from "./icon-
|
|
4
|
+
import { _ as _i, u as v, a as bt, s as Ko, b as wi, A as ne, c as St, e as Mc, h as He, d as is, f as er, y as qo, g as Oc, T as Ac, B as Tc } from "./index-C4qTWzBx.js";
|
|
5
|
+
import { I as U } from "./icon-DbS0rShT.js";
|
|
6
6
|
const ir = () => {
|
|
7
7
|
const i = new Event("accessci-update-sections");
|
|
8
8
|
document.dispatchEvent(i);
|
|
@@ -27,7 +27,7 @@ function zt({
|
|
|
27
27
|
] });
|
|
28
28
|
}
|
|
29
29
|
function Dc({ infoGroupId: i }) {
|
|
30
|
-
const t =
|
|
30
|
+
const t = bt(
|
|
31
31
|
`https://support.access-ci.org/api/1.0/affinity_groups/${i}`
|
|
32
32
|
);
|
|
33
33
|
if (!t || t.error || !t.length) return;
|
|
@@ -51,7 +51,7 @@ function Dc({ infoGroupId: i }) {
|
|
|
51
51
|
] });
|
|
52
52
|
}
|
|
53
53
|
function Ec({ infoGroupId: i }) {
|
|
54
|
-
const t = wi(i), e =
|
|
54
|
+
const t = wi(i), e = bt(
|
|
55
55
|
t && t.infoResourceIds.length ? `https://operations-api.access-ci.org/wh2/cider/v1/info_resourceid/${t.infoResourceIds[0]}/?format=json` : null
|
|
56
56
|
);
|
|
57
57
|
if (!t) return;
|
|
@@ -144,9 +144,9 @@ function Tn({
|
|
|
144
144
|
);
|
|
145
145
|
}
|
|
146
146
|
function Rc({ infoGroupId: i }) {
|
|
147
|
-
const t =
|
|
147
|
+
const t = bt(
|
|
148
148
|
`https://support.access-ci.org/api/1.0/affinity_groups/${i}`
|
|
149
|
-
), e = t && !t.error && t.length ? t[0].field_ask_ci_locale : null, n = e ? `${e}.json` : null, s =
|
|
149
|
+
), e = t && !t.error && t.length ? t[0].field_ask_ci_locale : null, n = e ? `${e}.json` : null, s = bt(n);
|
|
150
150
|
return !s || s.error || !s.topic_list || !s.topic_list.topics || !s.topic_list.topics.length ? void 0 : /* @__PURE__ */ v(
|
|
151
151
|
zt,
|
|
152
152
|
{
|
|
@@ -191,7 +191,7 @@ function Rc({ infoGroupId: i }) {
|
|
|
191
191
|
}
|
|
192
192
|
);
|
|
193
193
|
}
|
|
194
|
-
var
|
|
194
|
+
var ht = "top", Mt = "bottom", Ot = "right", ut = "left", Ds = "auto", Si = [ht, Mt, Ot, ut], Re = "start", ui = "end", Lc = "clippingParents", Qo = "viewport", qe = "popper", Ic = "reference", nr = /* @__PURE__ */ Si.reduce(function(i, t) {
|
|
195
195
|
return i.concat([t + "-" + Re, t + "-" + ui]);
|
|
196
196
|
}, []), Zo = /* @__PURE__ */ [].concat(Si, [Ds]).reduce(function(i, t) {
|
|
197
197
|
return i.concat([t, t + "-" + Re, t + "-" + ui]);
|
|
@@ -397,9 +397,9 @@ var Zc = function(t, e) {
|
|
|
397
397
|
})) : t, ia(typeof t != "number" ? t : na(t, Si));
|
|
398
398
|
};
|
|
399
399
|
function Gc(i) {
|
|
400
|
-
var t, e = i.state, n = i.name, s = i.options, r = e.elements.arrow, o = e.modifiersData.popperOffsets, a = Bt(e.placement), c = Cs(a), l = [
|
|
400
|
+
var t, e = i.state, n = i.name, s = i.options, r = e.elements.arrow, o = e.modifiersData.popperOffsets, a = Bt(e.placement), c = Cs(a), l = [ut, Ot].indexOf(a) >= 0, h = l ? "height" : "width";
|
|
401
401
|
if (!(!r || !o)) {
|
|
402
|
-
var u = Zc(s.padding, e), f = Ps(r), d = c === "y" ?
|
|
402
|
+
var u = Zc(s.padding, e), f = Ps(r), d = c === "y" ? ht : ut, p = c === "y" ? Mt : Ot, m = e.rects.reference[h] + e.rects.reference[c] - o[c] - e.rects.popper[h], b = o[c] - e.rects.reference[c], y = ki(r), x = y ? c === "y" ? y.clientHeight || 0 : y.clientWidth || 0 : 0, S = m / 2 - b / 2, g = u[d], k = x - f[h] - u[p], w = x / 2 - f[h] / 2 + S, M = ri(g, w, k), O = c;
|
|
403
403
|
e.modifiersData[n] = (t = {}, t[O] = M, t.centerOffset = M - w, t);
|
|
404
404
|
}
|
|
405
405
|
}
|
|
@@ -441,10 +441,10 @@ function rr(i) {
|
|
|
441
441
|
y: m
|
|
442
442
|
};
|
|
443
443
|
d = b.x, m = b.y;
|
|
444
|
-
var y = o.hasOwnProperty("x"), x = o.hasOwnProperty("y"), S =
|
|
444
|
+
var y = o.hasOwnProperty("x"), x = o.hasOwnProperty("y"), S = ut, g = ht, k = window;
|
|
445
445
|
if (l) {
|
|
446
446
|
var w = ki(e), M = "clientHeight", O = "clientWidth";
|
|
447
|
-
if (w === vt(e) && (w = oe(e), Xt(w).position !== "static" && a === "absolute" && (M = "scrollHeight", O = "scrollWidth")), w = w, s ===
|
|
447
|
+
if (w === vt(e) && (w = oe(e), Xt(w).position !== "static" && a === "absolute" && (M = "scrollHeight", O = "scrollWidth")), w = w, s === ht || (s === ut || s === Ot) && r === ui) {
|
|
448
448
|
g = Mt;
|
|
449
449
|
var A = u && w === k && k.visualViewport ? k.visualViewport.height : (
|
|
450
450
|
// $FlowFixMe[prop-missing]
|
|
@@ -452,7 +452,7 @@ function rr(i) {
|
|
|
452
452
|
);
|
|
453
453
|
m -= A - n.height, m *= c ? 1 : -1;
|
|
454
454
|
}
|
|
455
|
-
if (s ===
|
|
455
|
+
if (s === ut || (s === ht || s === Mt) && r === ui) {
|
|
456
456
|
S = Ot;
|
|
457
457
|
var P = u && w === k && k.visualViewport ? k.visualViewport.width : (
|
|
458
458
|
// $FlowFixMe[prop-missing]
|
|
@@ -628,7 +628,7 @@ function dl(i, t, e, n) {
|
|
|
628
628
|
function ra(i) {
|
|
629
629
|
var t = i.reference, e = i.element, n = i.placement, s = n ? Bt(n) : null, r = n ? Fe(n) : null, o = t.x + t.width / 2 - e.width / 2, a = t.y + t.height / 2 - e.height / 2, c;
|
|
630
630
|
switch (s) {
|
|
631
|
-
case
|
|
631
|
+
case ht:
|
|
632
632
|
c = {
|
|
633
633
|
x: o,
|
|
634
634
|
y: t.y - e.height
|
|
@@ -646,7 +646,7 @@ function ra(i) {
|
|
|
646
646
|
y: a
|
|
647
647
|
};
|
|
648
648
|
break;
|
|
649
|
-
case
|
|
649
|
+
case ut:
|
|
650
650
|
c = {
|
|
651
651
|
x: t.x - e.width,
|
|
652
652
|
y: a
|
|
@@ -688,7 +688,7 @@ function fi(i, t) {
|
|
|
688
688
|
if (f === qe && E) {
|
|
689
689
|
var T = E[s];
|
|
690
690
|
Object.keys(P).forEach(function(F) {
|
|
691
|
-
var B = [Ot, Mt].indexOf(F) >= 0 ? 1 : -1, L = [
|
|
691
|
+
var B = [Ot, Mt].indexOf(F) >= 0 ? 1 : -1, L = [ht, Mt].indexOf(F) >= 0 ? "y" : "x";
|
|
692
692
|
P[F] += T[L] * B;
|
|
693
693
|
});
|
|
694
694
|
}
|
|
@@ -733,13 +733,13 @@ function ml(i) {
|
|
|
733
733
|
allowedAutoPlacements: m
|
|
734
734
|
}) : it);
|
|
735
735
|
}, []), k = t.rects.reference, w = t.rects.popper, M = /* @__PURE__ */ new Map(), O = !0, A = g[0], P = 0; P < g.length; P++) {
|
|
736
|
-
var E = g[P], T = Bt(E), F = Fe(E) === Re, B = [
|
|
736
|
+
var E = g[P], T = Bt(E), F = Fe(E) === Re, B = [ht, Mt].indexOf(T) >= 0, L = B ? "width" : "height", z = fi(t, {
|
|
737
737
|
placement: E,
|
|
738
738
|
boundary: h,
|
|
739
739
|
rootBoundary: u,
|
|
740
740
|
altBoundary: f,
|
|
741
741
|
padding: l
|
|
742
|
-
}), W = B ? F ? Ot :
|
|
742
|
+
}), W = B ? F ? Ot : ut : F ? Mt : ht;
|
|
743
743
|
k[L] > w[L] && (W = on(W));
|
|
744
744
|
var q = on(W), ot = [];
|
|
745
745
|
if (r && ot.push(z[T] <= 0), a && ot.push(z[W] <= 0, z[q] <= 0), ot.every(function(et) {
|
|
@@ -762,8 +762,8 @@ function ml(i) {
|
|
|
762
762
|
if (nt)
|
|
763
763
|
return A = nt, "break";
|
|
764
764
|
}, tt = J; tt > 0; tt--) {
|
|
765
|
-
var
|
|
766
|
-
if (
|
|
765
|
+
var ft = yt(tt);
|
|
766
|
+
if (ft === "break") break;
|
|
767
767
|
}
|
|
768
768
|
t.placement !== A && (t.modifiersData[n]._skip = !0, t.placement = A, t.reset = !0);
|
|
769
769
|
}
|
|
@@ -790,7 +790,7 @@ function cr(i, t, e) {
|
|
|
790
790
|
};
|
|
791
791
|
}
|
|
792
792
|
function lr(i) {
|
|
793
|
-
return [
|
|
793
|
+
return [ht, Ot, Mt, ut].some(function(t) {
|
|
794
794
|
return i[t] >= 0;
|
|
795
795
|
});
|
|
796
796
|
}
|
|
@@ -818,10 +818,10 @@ const yl = {
|
|
|
818
818
|
fn: vl
|
|
819
819
|
};
|
|
820
820
|
function xl(i, t, e) {
|
|
821
|
-
var n = Bt(i), s = [
|
|
821
|
+
var n = Bt(i), s = [ut, ht].indexOf(n) >= 0 ? -1 : 1, r = typeof e == "function" ? e(Object.assign({}, t, {
|
|
822
822
|
placement: i
|
|
823
823
|
})) : e, o = r[0], a = r[1];
|
|
824
|
-
return o = o || 0, a = (a || 0) * s, [
|
|
824
|
+
return o = o || 0, a = (a || 0) * s, [ut, Ot].indexOf(n) >= 0 ? {
|
|
825
825
|
x: a,
|
|
826
826
|
y: o
|
|
827
827
|
} : {
|
|
@@ -881,14 +881,14 @@ function Ol(i) {
|
|
|
881
881
|
};
|
|
882
882
|
if (w) {
|
|
883
883
|
if (r) {
|
|
884
|
-
var F, B = g === "y" ?
|
|
884
|
+
var F, B = g === "y" ? ht : ut, L = g === "y" ? Mt : Ot, z = g === "y" ? "height" : "width", W = w[g], q = W + b[B], ot = W - b[L], J = d ? -O[z] / 2 : 0, yt = x === Re ? M[z] : O[z], tt = x === Re ? -O[z] : -M[z], ft = t.elements.arrow, et = d && ft ? Ps(ft) : {
|
|
885
885
|
width: 0,
|
|
886
886
|
height: 0
|
|
887
887
|
}, it = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : ea(), nt = it[B], we = it[L], Nt = ri(0, M[z], et[z]), Se = S ? M[z] / 2 - J - Nt - nt - P.mainAxis : yt - Nt - nt - P.mainAxis, qt = S ? -M[z] / 2 + J + Nt + we + P.mainAxis : tt + Nt + we + P.mainAxis, ke = t.elements.arrow && ki(t.elements.arrow), Ti = ke ? g === "y" ? ke.clientTop || 0 : ke.clientLeft || 0 : 0, $e = (F = E == null ? void 0 : E[g]) != null ? F : 0, Di = W + Se - $e - Ti, Ei = W + qt - $e, Ue = ri(d ? gn(q, Di) : q, W, d ? be(ot, Ei) : ot);
|
|
888
888
|
w[g] = Ue, T[g] = Ue - W;
|
|
889
889
|
}
|
|
890
890
|
if (a) {
|
|
891
|
-
var Ye, Pi = g === "x" ?
|
|
891
|
+
var Ye, Pi = g === "x" ? ht : ut, Ci = g === "x" ? Mt : Ot, jt = w[k], Qt = k === "y" ? "height" : "width", Xe = jt + b[Pi], ce = jt - b[Ci], Ke = [ht, ut].indexOf(y) !== -1, Ri = (Ye = E == null ? void 0 : E[k]) != null ? Ye : 0, Li = Ke ? Xe : jt - M[Qt] - O[Qt] - Ri + P.altAxis, Ii = Ke ? jt + M[Qt] + O[Qt] - Ri - P.altAxis : ce, Fi = d && Ke ? Qc(Li, jt, Ii) : ri(d ? Li : Xe, jt, d ? Ii : ce);
|
|
892
892
|
w[k] = Fi, T[k] = Fi - jt;
|
|
893
893
|
}
|
|
894
894
|
t.modifiersData[n] = T;
|
|
@@ -1304,7 +1304,7 @@ var da = {
|
|
|
1304
1304
|
role: "tooltip",
|
|
1305
1305
|
theme: "",
|
|
1306
1306
|
zIndex: 9999
|
|
1307
|
-
},
|
|
1307
|
+
}, pt = Object.assign({
|
|
1308
1308
|
appendTo: la,
|
|
1309
1309
|
aria: {
|
|
1310
1310
|
content: "auto",
|
|
@@ -1352,11 +1352,11 @@ var da = {
|
|
|
1352
1352
|
touch: !0,
|
|
1353
1353
|
trigger: "mouseenter focus",
|
|
1354
1354
|
triggerTarget: null
|
|
1355
|
-
}, da, oh), ah = Object.keys(
|
|
1355
|
+
}, da, oh), ah = Object.keys(pt), ch = function(t) {
|
|
1356
1356
|
process.env.NODE_ENV !== "production" && ga(t, []);
|
|
1357
1357
|
var e = Object.keys(t);
|
|
1358
1358
|
e.forEach(function(n) {
|
|
1359
|
-
|
|
1359
|
+
pt[n] = t[n];
|
|
1360
1360
|
});
|
|
1361
1361
|
};
|
|
1362
1362
|
function pa(i) {
|
|
@@ -1364,14 +1364,14 @@ function pa(i) {
|
|
|
1364
1364
|
var r = s.name, o = s.defaultValue;
|
|
1365
1365
|
if (r) {
|
|
1366
1366
|
var a;
|
|
1367
|
-
n[r] = i[r] !== void 0 ? i[r] : (a =
|
|
1367
|
+
n[r] = i[r] !== void 0 ? i[r] : (a = pt[r]) != null ? a : o;
|
|
1368
1368
|
}
|
|
1369
1369
|
return n;
|
|
1370
1370
|
}, {});
|
|
1371
1371
|
return Object.assign({}, i, e);
|
|
1372
1372
|
}
|
|
1373
1373
|
function lh(i, t) {
|
|
1374
|
-
var e = t ? Object.keys(pa(Object.assign({},
|
|
1374
|
+
var e = t ? Object.keys(pa(Object.assign({}, pt, {
|
|
1375
1375
|
plugins: t
|
|
1376
1376
|
}))) : ah, n = e.reduce(function(s, r) {
|
|
1377
1377
|
var o = (i.getAttribute("data-tippy-" + r) || "").trim();
|
|
@@ -1393,7 +1393,7 @@ function yr(i, t) {
|
|
|
1393
1393
|
var e = Object.assign({}, t, {
|
|
1394
1394
|
content: ha(t.content, [i])
|
|
1395
1395
|
}, t.ignoreAttributes ? {} : lh(i, t.plugins));
|
|
1396
|
-
return e.aria = Object.assign({},
|
|
1396
|
+
return e.aria = Object.assign({}, pt.aria, e.aria), e.aria = {
|
|
1397
1397
|
expanded: e.aria.expanded === "auto" ? t.interactive : e.aria.expanded,
|
|
1398
1398
|
content: e.aria.content === "auto" ? t.interactive ? null : "describedby" : e.aria.content
|
|
1399
1399
|
}, e;
|
|
@@ -1402,7 +1402,7 @@ function ga(i, t) {
|
|
|
1402
1402
|
i === void 0 && (i = {}), t === void 0 && (t = []);
|
|
1403
1403
|
var e = Object.keys(i);
|
|
1404
1404
|
e.forEach(function(n) {
|
|
1405
|
-
var s = Wl(
|
|
1405
|
+
var s = Wl(pt, Object.keys(da)), r = !jl(s, n);
|
|
1406
1406
|
r && (r = t.filter(function(o) {
|
|
1407
1407
|
return o.name === n;
|
|
1408
1408
|
}).length === 0), Ut(r, ["`" + n + "`", "is not a valid prop. You may have spelled it incorrectly, or if it's", "a plugin, forgot to pass it in an array as props.plugins.", `
|
|
@@ -1456,7 +1456,7 @@ function ma(i) {
|
|
|
1456
1456
|
ma.$$tippy = !0;
|
|
1457
1457
|
var uh = 1, Ni = [], Nn = [];
|
|
1458
1458
|
function fh(i, t) {
|
|
1459
|
-
var e = yr(i, Object.assign({},
|
|
1459
|
+
var e = yr(i, Object.assign({}, pt, pa(pr(t)))), n, s, r, o = !1, a = !1, c = !1, l = !1, h, u, f, d = [], p = fr(Di, e.interactiveDebounce), m, b = uh++, y = null, x = $l(e.plugins), S = {
|
|
1460
1460
|
// Is the instance currently enabled?
|
|
1461
1461
|
isEnabled: !0,
|
|
1462
1462
|
// Is the tippy currently showing and not transitioning out?
|
|
@@ -1522,7 +1522,7 @@ function fh(i, t) {
|
|
|
1522
1522
|
return as(w);
|
|
1523
1523
|
}
|
|
1524
1524
|
function z(_) {
|
|
1525
|
-
return g.state.isMounted && !g.state.isVisible || Lt.isTouch || h && h.type === "focus" ? 0 : zn(g.props.delay, _ ? 0 : 1,
|
|
1525
|
+
return g.state.isMounted && !g.state.isVisible || Lt.isTouch || h && h.type === "focus" ? 0 : zn(g.props.delay, _ ? 0 : 1, pt.delay);
|
|
1526
1526
|
}
|
|
1527
1527
|
function W(_) {
|
|
1528
1528
|
_ === void 0 && (_ = !1), w.style.pointerEvents = g.props.interactive && !_ ? "" : "none", w.style.zIndex = "" + g.props.zIndex;
|
|
@@ -1580,7 +1580,7 @@ function fh(i, t) {
|
|
|
1580
1580
|
}
|
|
1581
1581
|
}
|
|
1582
1582
|
}
|
|
1583
|
-
function
|
|
1583
|
+
function ft() {
|
|
1584
1584
|
c = !0;
|
|
1585
1585
|
}
|
|
1586
1586
|
function et() {
|
|
@@ -1588,11 +1588,11 @@ function fh(i, t) {
|
|
|
1588
1588
|
}
|
|
1589
1589
|
function it() {
|
|
1590
1590
|
var _ = B();
|
|
1591
|
-
_.addEventListener("mousedown", tt, !0), _.addEventListener("touchend", tt, pe), _.addEventListener("touchstart", et, pe), _.addEventListener("touchmove",
|
|
1591
|
+
_.addEventListener("mousedown", tt, !0), _.addEventListener("touchend", tt, pe), _.addEventListener("touchstart", et, pe), _.addEventListener("touchmove", ft, pe);
|
|
1592
1592
|
}
|
|
1593
1593
|
function nt() {
|
|
1594
1594
|
var _ = B();
|
|
1595
|
-
_.removeEventListener("mousedown", tt, !0), _.removeEventListener("touchend", tt, pe), _.removeEventListener("touchstart", et, pe), _.removeEventListener("touchmove",
|
|
1595
|
+
_.removeEventListener("mousedown", tt, !0), _.removeEventListener("touchend", tt, pe), _.removeEventListener("touchstart", et, pe), _.removeEventListener("touchmove", ft, pe);
|
|
1596
1596
|
}
|
|
1597
1597
|
function we(_, D) {
|
|
1598
1598
|
Se(_, function() {
|
|
@@ -1750,7 +1750,7 @@ function fh(i, t) {
|
|
|
1750
1750
|
}
|
|
1751
1751
|
function jt() {
|
|
1752
1752
|
var _ = g.props.appendTo, D, C = F();
|
|
1753
|
-
g.props.interactive && _ === la || _ === "parent" ? D = C.parentNode : D = ha(_, [C]), D.contains(w) || D.appendChild(w), g.state.isMounted = !0, Pi(), process.env.NODE_ENV !== "production" && Ut(g.props.interactive && _ ===
|
|
1753
|
+
g.props.interactive && _ === la || _ === "parent" ? D = C.parentNode : D = ha(_, [C]), D.contains(w) || D.appendChild(w), g.state.isMounted = !0, Pi(), process.env.NODE_ENV !== "production" && Ut(g.props.interactive && _ === pt.appendTo && C.nextElementSibling !== w, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
|
|
1754
1754
|
|
|
1755
1755
|
`, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
|
|
1756
1756
|
|
|
@@ -1811,7 +1811,7 @@ function fh(i, t) {
|
|
|
1811
1811
|
}
|
|
1812
1812
|
function bc() {
|
|
1813
1813
|
process.env.NODE_ENV !== "production" && Ut(g.state.isDestroyed, Ae("show"));
|
|
1814
|
-
var _ = g.state.isVisible, D = g.state.isDestroyed, C = !g.state.isEnabled, V = Lt.isTouch && !g.props.touch, H = zn(g.props.duration, 0,
|
|
1814
|
+
var _ = g.state.isVisible, D = g.state.isDestroyed, C = !g.state.isEnabled, V = Lt.isTouch && !g.props.touch, H = zn(g.props.duration, 0, pt.duration);
|
|
1815
1815
|
if (!(_ || D || C || V) && !F().hasAttribute("disabled") && (q("onShow", [g], !1), g.props.onShow(g) !== !1)) {
|
|
1816
1816
|
if (g.state.isVisible = !0, T() && (w.style.visibility = "visible"), W(), it(), g.state.isMounted || (w.style.transition = "none"), T()) {
|
|
1817
1817
|
var at = L(), xt = at.box, Me = at.content;
|
|
@@ -1833,7 +1833,7 @@ function fh(i, t) {
|
|
|
1833
1833
|
}
|
|
1834
1834
|
function vc() {
|
|
1835
1835
|
process.env.NODE_ENV !== "production" && Ut(g.state.isDestroyed, Ae("hide"));
|
|
1836
|
-
var _ = !g.state.isVisible, D = g.state.isDestroyed, C = !g.state.isEnabled, V = zn(g.props.duration, 1,
|
|
1836
|
+
var _ = !g.state.isVisible, D = g.state.isDestroyed, C = !g.state.isEnabled, V = zn(g.props.duration, 1, pt.duration);
|
|
1837
1837
|
if (!(_ || D || C) && (q("onHide", [g], !1), g.props.onHide(g) !== !1)) {
|
|
1838
1838
|
if (g.state.isVisible = !1, g.state.isShown = !1, l = !1, o = !1, T() && (w.style.visibility = "hidden"), yt(), nt(), W(!0), T()) {
|
|
1839
1839
|
var H = L(), at = H.box, xt = H.content;
|
|
@@ -1858,7 +1858,7 @@ function fh(i, t) {
|
|
|
1858
1858
|
}
|
|
1859
1859
|
function Mi(i, t) {
|
|
1860
1860
|
t === void 0 && (t = {});
|
|
1861
|
-
var e =
|
|
1861
|
+
var e = pt.plugins.concat(t.plugins || []);
|
|
1862
1862
|
process.env.NODE_ENV !== "production" && (rh(i), ga(t, e)), th();
|
|
1863
1863
|
var n = Object.assign({}, t, {
|
|
1864
1864
|
plugins: e
|
|
@@ -1878,7 +1878,7 @@ function Mi(i, t) {
|
|
|
1878
1878
|
}, []);
|
|
1879
1879
|
return di(i) ? a[0] : a;
|
|
1880
1880
|
}
|
|
1881
|
-
Mi.defaultProps =
|
|
1881
|
+
Mi.defaultProps = pt;
|
|
1882
1882
|
Mi.setDefaultProps = ch;
|
|
1883
1883
|
Mi.currentInput = Lt;
|
|
1884
1884
|
Object.assign({}, Go, {
|
|
@@ -1916,7 +1916,7 @@ function dh({
|
|
|
1916
1916
|
}, [n.current]), /* @__PURE__ */ v("button", { class: "info-tip", style: { color: i }, ref: n, children: /* @__PURE__ */ v(U, { name: t }) });
|
|
1917
1917
|
}
|
|
1918
1918
|
function ph({ infoGroupId: i }) {
|
|
1919
|
-
const t =
|
|
1919
|
+
const t = bt(
|
|
1920
1920
|
`https://support.access-ci.org/api/1.0/kb/${i}`
|
|
1921
1921
|
);
|
|
1922
1922
|
if (!(!t || t.error || !t.length))
|
|
@@ -1973,11 +1973,11 @@ function bh({
|
|
|
1973
1973
|
] });
|
|
1974
1974
|
}
|
|
1975
1975
|
function vh({ infoGroupId: i }) {
|
|
1976
|
-
const t = wi(i), e =
|
|
1976
|
+
const t = wi(i), e = bt(
|
|
1977
1977
|
"https://operations-api.access-ci.org/wh2/news/v1/affiliation/access-ci.org/current_outages/"
|
|
1978
|
-
), n =
|
|
1978
|
+
), n = bt(
|
|
1979
1979
|
"https://operations-api.access-ci.org/wh2/news/v1/affiliation/access-ci.org/future_outages/"
|
|
1980
|
-
), s =
|
|
1980
|
+
), s = bt(
|
|
1981
1981
|
`https://support.access-ci.org/api/1.1/events/ag/${i}`
|
|
1982
1982
|
), r = er(
|
|
1983
1983
|
[t, e, n],
|
|
@@ -2035,36 +2035,36 @@ function xh({
|
|
|
2035
2035
|
] });
|
|
2036
2036
|
}
|
|
2037
2037
|
function _h({ infoGroupId: i }) {
|
|
2038
|
-
const t = wi(i), e =
|
|
2038
|
+
const t = wi(i), e = bt(
|
|
2039
2039
|
t ? t.infoResourceIds.map(
|
|
2040
|
-
(
|
|
2040
|
+
(c) => `https://operations-api.access-ci.org/wh2/cider/v1/info_resourceid/${c}/?format=json`
|
|
2041
2041
|
) : null,
|
|
2042
2042
|
{ defaultValue: [] }
|
|
2043
|
-
), n =
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
}))
|
|
2043
|
+
), n = e.filter((c) => c.results && c.results.cider_type == "Compute").map((c) => ({
|
|
2044
|
+
...c.results.compute,
|
|
2045
|
+
key: c.results.info_resourceid,
|
|
2046
|
+
name: c.results.resource_descriptive_name,
|
|
2047
|
+
format: (l, h) => {
|
|
2048
|
+
const u = c.results.compute[h.attr];
|
|
2049
|
+
return h.format && u ? h.format(u, h) : u || /* @__PURE__ */ v(St, { children: "—" });
|
|
2050
|
+
}
|
|
2051
|
+
})), s = e.length ? [
|
|
2052
2052
|
{
|
|
2053
2053
|
name: "Nodes",
|
|
2054
2054
|
attr: "node_count",
|
|
2055
|
-
format: (
|
|
2055
|
+
format: (c) => c.toLocaleString("en-us")
|
|
2056
2056
|
},
|
|
2057
2057
|
{ name: "CPU Type", attr: "cpu_type" },
|
|
2058
2058
|
{
|
|
2059
2059
|
name: "CPU Speed",
|
|
2060
2060
|
attr: "cpu_speed_ghz",
|
|
2061
|
-
format: (
|
|
2061
|
+
format: (c) => `${c} Ghz`
|
|
2062
2062
|
},
|
|
2063
2063
|
{ name: "CPU Cores per Node", attr: "cpu_count_per_node" },
|
|
2064
2064
|
{
|
|
2065
2065
|
name: "RAM per CPU Core",
|
|
2066
2066
|
attr: "memory_per_cpu_gb",
|
|
2067
|
-
format: (
|
|
2067
|
+
format: (c) => `${c.toLocaleString("en-us")} GB`
|
|
2068
2068
|
},
|
|
2069
2069
|
{
|
|
2070
2070
|
name: "GPU",
|
|
@@ -2073,7 +2073,7 @@ function _h({ infoGroupId: i }) {
|
|
|
2073
2073
|
{
|
|
2074
2074
|
name: "Local Storage per Node",
|
|
2075
2075
|
attr: "local_storage_per_node_gb",
|
|
2076
|
-
format: (
|
|
2076
|
+
format: (c) => `${c.toLocaleString("en-us")} GB`
|
|
2077
2077
|
},
|
|
2078
2078
|
{
|
|
2079
2079
|
name: "Network Interconnect",
|
|
@@ -2087,35 +2087,32 @@ function _h({ infoGroupId: i }) {
|
|
|
2087
2087
|
name: "Batch System",
|
|
2088
2088
|
attr: "batch_system"
|
|
2089
2089
|
}
|
|
2090
|
-
].
|
|
2091
|
-
...h,
|
|
2092
|
-
...n.results.attributes[h.attr]
|
|
2093
|
-
})).filter((h) => r.some((u) => h[u.key])) : [], a = {
|
|
2090
|
+
].filter((c) => n.some((l) => l[c.attr])) : [], r = {
|
|
2094
2091
|
key: "name",
|
|
2095
2092
|
name: "Attribute",
|
|
2096
|
-
format: (
|
|
2097
|
-
},
|
|
2098
|
-
for (let { results:
|
|
2099
|
-
(
|
|
2100
|
-
/* @__PURE__ */ v(xh, { ...
|
|
2093
|
+
format: (c) => /* @__PURE__ */ v("strong", { children: c })
|
|
2094
|
+
}, o = n.length > 0 && s.length > 0, a = { compute: [], storage: [], other: [] };
|
|
2095
|
+
for (let { results: c } of e)
|
|
2096
|
+
(a[c.cider_type.toLowerCase()] || a.other).push(
|
|
2097
|
+
/* @__PURE__ */ v(xh, { ...c })
|
|
2101
2098
|
);
|
|
2102
2099
|
return /* @__PURE__ */ v(St, { children: [
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2100
|
+
o || a.compute.length > 0 ? /* @__PURE__ */ v(zt, { title: "Compute Resources", icon: "cpu-fill", children: [
|
|
2101
|
+
a.compute,
|
|
2102
|
+
o && /* @__PURE__ */ v(St, { children: [
|
|
2106
2103
|
/* @__PURE__ */ v("h3", { children: "Specifications" }),
|
|
2107
2104
|
/* @__PURE__ */ v(
|
|
2108
2105
|
Tn,
|
|
2109
2106
|
{
|
|
2110
|
-
columns: [
|
|
2111
|
-
rows:
|
|
2107
|
+
columns: [r, ...n],
|
|
2108
|
+
rows: s,
|
|
2112
2109
|
maxHeight: null
|
|
2113
2110
|
}
|
|
2114
2111
|
)
|
|
2115
2112
|
] })
|
|
2116
2113
|
] }) : null,
|
|
2117
|
-
|
|
2118
|
-
|
|
2114
|
+
a.storage.length > 0 ? /* @__PURE__ */ v(zt, { title: "Storage Resources", icon: "hdd-fill", children: a.storage }) : null,
|
|
2115
|
+
a.other.length > 0 ? /* @__PURE__ */ v(zt, { title: "Other Resources", icon: "stars", children: a.other }) : null
|
|
2119
2116
|
] });
|
|
2120
2117
|
}
|
|
2121
2118
|
/*!
|
|
@@ -3964,7 +3961,7 @@ function Wi({ icon: i, text: t, title: e }) {
|
|
|
3964
3961
|
] });
|
|
3965
3962
|
}
|
|
3966
3963
|
function uu({ infoGroupId: i }) {
|
|
3967
|
-
const t = wi(i), e =
|
|
3964
|
+
const t = wi(i), e = bt(
|
|
3968
3965
|
t ? `${hu}?${t.infoResourceIds.map((s) => `info_resourceids[]=${s}`).join("&")}` : null
|
|
3969
3966
|
);
|
|
3970
3967
|
if (!e || !e.projects || !e.projects.length) return null;
|
|
@@ -4608,7 +4605,7 @@ const vi = (i) => typeof i < "u", re = (i) => typeof i == "function", Rr = (i, t
|
|
|
4608
4605
|
function Nu(i) {
|
|
4609
4606
|
return i.type === "mouseup" || i.type === "click" || i.type === "contextmenu";
|
|
4610
4607
|
}
|
|
4611
|
-
const G = Math.PI,
|
|
4608
|
+
const G = Math.PI, gt = 2 * G, _n = Number.POSITIVE_INFINITY, ju = G / 180, mt = G / 2, he = G / 4, Lr = G * 2 / 3, ds = Math.log10, ie = Math.sign;
|
|
4612
4609
|
function ln(i, t, e) {
|
|
4613
4610
|
return Math.abs(i - t) < e;
|
|
4614
4611
|
}
|
|
@@ -4654,7 +4651,7 @@ function Fr(i) {
|
|
|
4654
4651
|
function Yu(i, t) {
|
|
4655
4652
|
const e = t.x - i.x, n = t.y - i.y, s = Math.sqrt(e * e + n * n);
|
|
4656
4653
|
let r = Math.atan2(n, e);
|
|
4657
|
-
return r < -0.5 * G && (r +=
|
|
4654
|
+
return r < -0.5 * G && (r += gt), {
|
|
4658
4655
|
angle: r,
|
|
4659
4656
|
distance: s
|
|
4660
4657
|
};
|
|
@@ -4663,7 +4660,7 @@ function Xu(i, t) {
|
|
|
4663
4660
|
return Math.sqrt(Math.pow(t.x - i.x, 2) + Math.pow(t.y - i.y, 2));
|
|
4664
4661
|
}
|
|
4665
4662
|
function ue(i) {
|
|
4666
|
-
return (i %
|
|
4663
|
+
return (i % gt + gt) % gt;
|
|
4667
4664
|
}
|
|
4668
4665
|
function ps(i, t, e, n) {
|
|
4669
4666
|
const s = ue(i), r = ue(t), o = ue(e), a = ue(r - s), c = ue(o - s), l = ue(s - r), h = ue(s - o);
|
|
@@ -4766,7 +4763,7 @@ function Gu(i, t) {
|
|
|
4766
4763
|
return t ? (clearTimeout(e), e = setTimeout(i, t, n)) : i.apply(this, n), t;
|
|
4767
4764
|
};
|
|
4768
4765
|
}
|
|
4769
|
-
const Vs = (i) => i === "start" ? "left" : i === "end" ? "right" : "center", st = (i, t, e) => i === "start" ? t : i === "end" ? e : (t + e) / 2, Ju = (i, t, e, n) => i === (n ? "left" : "right") ? e : i === "center" ? (t + e) / 2 : t, Yi = (i) => i === 0 || i === 1, Br = (i, t, e) => -(Math.pow(2, 10 * (i -= 1)) * Math.sin((i - t) *
|
|
4766
|
+
const Vs = (i) => i === "start" ? "left" : i === "end" ? "right" : "center", st = (i, t, e) => i === "start" ? t : i === "end" ? e : (t + e) / 2, Ju = (i, t, e, n) => i === (n ? "left" : "right") ? e : i === "center" ? (t + e) / 2 : t, Yi = (i) => i === 0 || i === 1, Br = (i, t, e) => -(Math.pow(2, 10 * (i -= 1)) * Math.sin((i - t) * gt / e)), Hr = (i, t, e) => Math.pow(2, -10 * i) * Math.sin((i - t) * gt / e) + 1, li = {
|
|
4770
4767
|
linear: (i) => i,
|
|
4771
4768
|
easeInQuad: (i) => i * i,
|
|
4772
4769
|
easeOutQuad: (i) => -i * (i - 2),
|
|
@@ -4780,8 +4777,8 @@ const Vs = (i) => i === "start" ? "left" : i === "end" ? "right" : "center", st
|
|
|
4780
4777
|
easeInQuint: (i) => i * i * i * i * i,
|
|
4781
4778
|
easeOutQuint: (i) => (i -= 1) * i * i * i * i + 1,
|
|
4782
4779
|
easeInOutQuint: (i) => (i /= 0.5) < 1 ? 0.5 * i * i * i * i * i : 0.5 * ((i -= 2) * i * i * i * i + 2),
|
|
4783
|
-
easeInSine: (i) => -Math.cos(i *
|
|
4784
|
-
easeOutSine: (i) => Math.sin(i *
|
|
4780
|
+
easeInSine: (i) => -Math.cos(i * mt) + 1,
|
|
4781
|
+
easeOutSine: (i) => Math.sin(i * mt),
|
|
4785
4782
|
easeInOutSine: (i) => -0.5 * (Math.cos(G * i) - 1),
|
|
4786
4783
|
easeInExpo: (i) => i === 0 ? 0 : Math.pow(2, 10 * (i - 1)),
|
|
4787
4784
|
easeOutExpo: (i) => i === 1 ? 1 : -Math.pow(2, -10 * i) + 1,
|
|
@@ -5133,13 +5130,13 @@ function La(i, t, e, n, s) {
|
|
|
5133
5130
|
if (!(isNaN(m) || m <= 0)) {
|
|
5134
5131
|
switch (i.beginPath(), d) {
|
|
5135
5132
|
default:
|
|
5136
|
-
s ? i.ellipse(e, n, s / 2, m, 0, 0,
|
|
5133
|
+
s ? i.ellipse(e, n, s / 2, m, 0, 0, gt) : i.arc(e, n, m, 0, gt), i.closePath();
|
|
5137
5134
|
break;
|
|
5138
5135
|
case "triangle":
|
|
5139
5136
|
h = s ? s / 2 : m, i.moveTo(e + Math.sin(b) * h, n - Math.cos(b) * m), b += Lr, i.lineTo(e + Math.sin(b) * h, n - Math.cos(b) * m), b += Lr, i.lineTo(e + Math.sin(b) * h, n - Math.cos(b) * m), i.closePath();
|
|
5140
5137
|
break;
|
|
5141
5138
|
case "rectRounded":
|
|
5142
|
-
l = m * 0.516, c = m - l, o = Math.cos(b + he) * c, u = Math.cos(b + he) * (s ? s / 2 - l : c), a = Math.sin(b + he) * c, f = Math.sin(b + he) * (s ? s / 2 - l : c), i.arc(e - u, n - a, l, b - G, b -
|
|
5139
|
+
l = m * 0.516, c = m - l, o = Math.cos(b + he) * c, u = Math.cos(b + he) * (s ? s / 2 - l : c), a = Math.sin(b + he) * c, f = Math.sin(b + he) * (s ? s / 2 - l : c), i.arc(e - u, n - a, l, b - G, b - mt), i.arc(e + f, n - o, l, b - mt, b), i.arc(e + u, n + a, l, b, b + mt), i.arc(e - f, n + o, l, b + mt, b + G), i.closePath();
|
|
5143
5140
|
break;
|
|
5144
5141
|
case "rect":
|
|
5145
5142
|
if (!p) {
|
|
@@ -5204,7 +5201,7 @@ function yi(i, t, e, n, s, r = {}) {
|
|
|
5204
5201
|
}
|
|
5205
5202
|
function Sn(i, t) {
|
|
5206
5203
|
const { x: e, y: n, w: s, h: r, radius: o } = t;
|
|
5207
|
-
i.arc(e + o.topLeft, n + o.topLeft, o.topLeft, 1.5 * G, G, !0), i.lineTo(e, n + r - o.bottomLeft), i.arc(e + o.bottomLeft, n + r - o.bottomLeft, o.bottomLeft, G,
|
|
5204
|
+
i.arc(e + o.topLeft, n + o.topLeft, o.topLeft, 1.5 * G, G, !0), i.lineTo(e, n + r - o.bottomLeft), i.arc(e + o.bottomLeft, n + r - o.bottomLeft, o.bottomLeft, G, mt, !0), i.lineTo(e + s - o.bottomRight, n + r), i.arc(e + s - o.bottomRight, n + r - o.bottomRight, o.bottomRight, mt, 0, !0), i.lineTo(e + s, n + o.topRight), i.arc(e + s - o.topRight, n + o.topRight, o.topRight, 0, -mt, !0), i.lineTo(e + o.topLeft, n);
|
|
5208
5205
|
}
|
|
5209
5206
|
const df = /^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/, pf = /^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;
|
|
5210
5207
|
function gf(i, t) {
|
|
@@ -6715,8 +6712,8 @@ I(hn, "id", "bar"), I(hn, "defaults", {
|
|
|
6715
6712
|
});
|
|
6716
6713
|
function ad(i, t, e) {
|
|
6717
6714
|
let n = 1, s = 1, r = 0, o = 0;
|
|
6718
|
-
if (t <
|
|
6719
|
-
const a = i, c = a + t, l = Math.cos(a), h = Math.sin(a), u = Math.cos(c), f = Math.sin(c), d = (S, g, k) => ps(S, a, c, !0) ? 1 : Math.max(g, g * e, k, k * e), p = (S, g, k) => ps(S, a, c, !0) ? -1 : Math.min(g, g * e, k, k * e), m = d(0, l, u), b = d(
|
|
6715
|
+
if (t < gt) {
|
|
6716
|
+
const a = i, c = a + t, l = Math.cos(a), h = Math.sin(a), u = Math.cos(c), f = Math.sin(c), d = (S, g, k) => ps(S, a, c, !0) ? 1 : Math.max(g, g * e, k, k * e), p = (S, g, k) => ps(S, a, c, !0) ? -1 : Math.min(g, g * e, k, k * e), m = d(0, l, u), b = d(mt, h, f), y = p(G, l, u), x = p(G + mt, h, f);
|
|
6720
6717
|
n = (m - y) / 2, s = (b - x) / 2, r = -(m + y) / 2, o = -(b + x) / 2;
|
|
6721
6718
|
}
|
|
6722
6719
|
return {
|
|
@@ -6754,7 +6751,7 @@ class ii extends ye {
|
|
|
6754
6751
|
return It(this.options.circumference);
|
|
6755
6752
|
}
|
|
6756
6753
|
_getRotationExtents() {
|
|
6757
|
-
let t =
|
|
6754
|
+
let t = gt, e = -gt;
|
|
6758
6755
|
for (let n = 0; n < this.chart.data.datasets.length; ++n)
|
|
6759
6756
|
if (this.chart.isDatasetVisible(n) && this.chart.getDatasetMeta(n).type === this._type) {
|
|
6760
6757
|
const s = this.chart.getDatasetMeta(n).controller, r = s._getRotation(), o = s._getCircumference();
|
|
@@ -6771,7 +6768,7 @@ class ii extends ye {
|
|
|
6771
6768
|
}
|
|
6772
6769
|
_circumference(t, e) {
|
|
6773
6770
|
const n = this.options, s = this._cachedMeta, r = this._getCircumference();
|
|
6774
|
-
return e && n.animation.animateRotate || !this.chart.getDataVisibility(t) || s._parsed[t] === null || s.data[t].hidden ? 0 : this.calculateCircumference(s._parsed[t] * r /
|
|
6771
|
+
return e && n.animation.animateRotate || !this.chart.getDataVisibility(t) || s._parsed[t] === null || s.data[t].hidden ? 0 : this.calculateCircumference(s._parsed[t] * r / gt);
|
|
6775
6772
|
}
|
|
6776
6773
|
updateElements(t, e, n, s) {
|
|
6777
6774
|
const r = s === "reset", o = this.chart, a = o.chartArea, l = o.options.animation, h = (a.left + a.right) / 2, u = (a.top + a.bottom) / 2, f = r && l.animateScale, d = f ? 0 : this.innerRadius, p = f ? 0 : this.outerRadius, { sharedOptions: m, includeOptions: b } = this._getSharedOptions(e, s);
|
|
@@ -6802,7 +6799,7 @@ class ii extends ye {
|
|
|
6802
6799
|
}
|
|
6803
6800
|
calculateCircumference(t) {
|
|
6804
6801
|
const e = this._cachedMeta.total;
|
|
6805
|
-
return e > 0 && !isNaN(t) ?
|
|
6802
|
+
return e > 0 && !isNaN(t) ? gt * (Math.abs(t) / e) : 0;
|
|
6806
6803
|
}
|
|
6807
6804
|
getLabelAndValue(t) {
|
|
6808
6805
|
const e = this._cachedMeta, n = this.chart, s = n.data.labels || [], r = Cn(e._parsed[t], n.options.locale);
|
|
@@ -7836,7 +7833,7 @@ function Xd(i, t, e, n) {
|
|
|
7836
7833
|
const y = Object.keys(e)[0], x = e[y];
|
|
7837
7834
|
d = h[y].getPixelForValue(x) - b + t;
|
|
7838
7835
|
} else e === "center" ? d = (l.left + l.right) / 2 - b + t : d = ho(i, e, t);
|
|
7839
|
-
p = st(n, o, s), u = e === "left" ? -
|
|
7836
|
+
p = st(n, o, s), u = e === "left" ? -mt : mt;
|
|
7840
7837
|
}
|
|
7841
7838
|
return {
|
|
7842
7839
|
titleX: d,
|
|
@@ -8179,7 +8176,7 @@ class We extends je {
|
|
|
8179
8176
|
}
|
|
8180
8177
|
const B = j(s.ticks.maxTicksLimit, u), L = Math.max(1, Math.ceil(u / B));
|
|
8181
8178
|
for (S = 0; S < u; S += L) {
|
|
8182
|
-
const z = this.getContext(S), W = r.setContext(z), q = a.setContext(z), ot = W.lineWidth, J = W.color, yt = q.dash || [], tt = q.dashOffset,
|
|
8179
|
+
const z = this.getContext(S), W = r.setContext(z), q = a.setContext(z), ot = W.lineWidth, J = W.color, yt = q.dash || [], tt = q.dashOffset, ft = W.tickWidth, et = W.tickColor, it = W.tickBorderDash || [], nt = W.tickBorderDashOffset;
|
|
8183
8180
|
g = Wd(this, S, c), g !== void 0 && (k = fe(n, g, ot), l ? w = O = P = T = k : M = A = E = F = k, d.push({
|
|
8184
8181
|
tx1: w,
|
|
8185
8182
|
ty1: M,
|
|
@@ -8193,7 +8190,7 @@ class We extends je {
|
|
|
8193
8190
|
color: J,
|
|
8194
8191
|
borderDash: yt,
|
|
8195
8192
|
borderDashOffset: tt,
|
|
8196
|
-
tickWidth:
|
|
8193
|
+
tickWidth: ft,
|
|
8197
8194
|
tickColor: et,
|
|
8198
8195
|
tickBorderDash: it,
|
|
8199
8196
|
tickBorderDashOffset: nt
|
|
@@ -8242,14 +8239,14 @@ class We extends je {
|
|
|
8242
8239
|
o ? (k = O, M === "inner" && (y === x - 1 ? J = this.options.reverse ? "left" : "right" : y === 0 ? J = this.options.reverse ? "right" : "left" : J = "center"), s === "top" ? l === "near" || m !== 0 ? T = -E * P + P / 2 : l === "center" ? T = -B.highest.height / 2 - z * P + P : T = -B.highest.height + P / 2 : l === "near" || m !== 0 ? T = P / 2 : l === "center" ? T = B.highest.height / 2 - z * P : T = B.highest.height - E * P, u && (T *= -1), m !== 0 && !L.showLabelBackdrop && (k += P / 2 * Math.sin(m))) : (w = O, T = (1 - E) * P / 2);
|
|
8243
8240
|
let yt;
|
|
8244
8241
|
if (L.showLabelBackdrop) {
|
|
8245
|
-
const tt = Tt(L.backdropPadding),
|
|
8242
|
+
const tt = Tt(L.backdropPadding), ft = B.heights[y], et = B.widths[y];
|
|
8246
8243
|
let it = T - tt.top, nt = 0 - tt.left;
|
|
8247
8244
|
switch (F) {
|
|
8248
8245
|
case "middle":
|
|
8249
|
-
it -=
|
|
8246
|
+
it -= ft / 2;
|
|
8250
8247
|
break;
|
|
8251
8248
|
case "bottom":
|
|
8252
|
-
it -=
|
|
8249
|
+
it -= ft;
|
|
8253
8250
|
break;
|
|
8254
8251
|
}
|
|
8255
8252
|
switch (M) {
|
|
@@ -8267,7 +8264,7 @@ class We extends je {
|
|
|
8267
8264
|
left: nt,
|
|
8268
8265
|
top: it,
|
|
8269
8266
|
width: et + tt.width,
|
|
8270
|
-
height:
|
|
8267
|
+
height: ft + tt.height,
|
|
8271
8268
|
color: L.backdropColor
|
|
8272
8269
|
};
|
|
8273
8270
|
}
|
|
@@ -11149,12 +11146,12 @@ const jo = [
|
|
|
11149
11146
|
function eg({ infoGroupId: i }) {
|
|
11150
11147
|
const [t, e] = He("overview"), n = Oc(i).filter(
|
|
11151
11148
|
(l) => l.cider_type == "Compute"
|
|
11152
|
-
), s =
|
|
11149
|
+
), s = bt(
|
|
11153
11150
|
n.length ? n.map(
|
|
11154
11151
|
(l) => `https://rest-test.ccr.xdmod.org/rest/v0.1/custom_queries/wait_times/${l.info_resourceid}/`
|
|
11155
11152
|
) : null,
|
|
11156
11153
|
{ defaultValue: [] }
|
|
11157
|
-
), r =
|
|
11154
|
+
), r = bt(
|
|
11158
11155
|
t !== "overview" ? `https://rest-test.ccr.xdmod.org/rest/v0.1/custom_queries/wait_times/${t}/queue/job_walltime` : null
|
|
11159
11156
|
);
|
|
11160
11157
|
if (!s.length || !n.length) return;
|
|
@@ -11329,7 +11326,7 @@ function lc(i) {
|
|
|
11329
11326
|
function og(i) {
|
|
11330
11327
|
return lc(i) && i !== null;
|
|
11331
11328
|
}
|
|
11332
|
-
function
|
|
11329
|
+
function dt(i) {
|
|
11333
11330
|
return i != null;
|
|
11334
11331
|
}
|
|
11335
11332
|
function es(i) {
|
|
@@ -11383,13 +11380,13 @@ function Ss(i) {
|
|
|
11383
11380
|
function dg(i, t) {
|
|
11384
11381
|
let e = [], n = !1;
|
|
11385
11382
|
const s = (r, o, a) => {
|
|
11386
|
-
if (
|
|
11383
|
+
if (dt(r))
|
|
11387
11384
|
if (!o[a])
|
|
11388
11385
|
e.push(r);
|
|
11389
11386
|
else {
|
|
11390
11387
|
let c = o[a];
|
|
11391
11388
|
const l = r[c];
|
|
11392
|
-
if (!
|
|
11389
|
+
if (!dt(l))
|
|
11393
11390
|
return;
|
|
11394
11391
|
if (a === o.length - 1 && (Ft(l) || cc(l) || rg(l)))
|
|
11395
11392
|
e.push(sg(l));
|
|
@@ -11518,7 +11515,7 @@ class Js {
|
|
|
11518
11515
|
return this.records.length;
|
|
11519
11516
|
}
|
|
11520
11517
|
_addString(t, e) {
|
|
11521
|
-
if (!
|
|
11518
|
+
if (!dt(t) || es(t))
|
|
11522
11519
|
return;
|
|
11523
11520
|
let n = {
|
|
11524
11521
|
v: t,
|
|
@@ -11531,13 +11528,13 @@ class Js {
|
|
|
11531
11528
|
let n = { i: e, $: {} };
|
|
11532
11529
|
this.keys.forEach((s, r) => {
|
|
11533
11530
|
let o = s.getFn ? s.getFn(t) : this.getFn(t, s.path);
|
|
11534
|
-
if (
|
|
11531
|
+
if (dt(o)) {
|
|
11535
11532
|
if (Kt(o)) {
|
|
11536
11533
|
let a = [];
|
|
11537
11534
|
const c = [{ nestedArrIndex: -1, value: o }];
|
|
11538
11535
|
for (; c.length; ) {
|
|
11539
11536
|
const { nestedArrIndex: l, value: h } = c.pop();
|
|
11540
|
-
if (
|
|
11537
|
+
if (dt(h))
|
|
11541
11538
|
if (Ft(h) && !es(h)) {
|
|
11542
11539
|
let u = {
|
|
11543
11540
|
v: h,
|
|
@@ -12140,8 +12137,8 @@ function Bg(i, { ignoreFieldNorm: t = R.ignoreFieldNorm }) {
|
|
|
12140
12137
|
}
|
|
12141
12138
|
function Hg(i, t) {
|
|
12142
12139
|
const e = i.matches;
|
|
12143
|
-
t.matches = [],
|
|
12144
|
-
if (!
|
|
12140
|
+
t.matches = [], dt(e) && e.forEach((n) => {
|
|
12141
|
+
if (!dt(n.indices) || !n.indices.length)
|
|
12145
12142
|
return;
|
|
12146
12143
|
const { indices: s, value: r } = n;
|
|
12147
12144
|
let o = {
|
|
@@ -12182,7 +12179,7 @@ class Ve {
|
|
|
12182
12179
|
});
|
|
12183
12180
|
}
|
|
12184
12181
|
add(t) {
|
|
12185
|
-
|
|
12182
|
+
dt(t) && (this._docs.push(t), this._myIndex.add(t));
|
|
12186
12183
|
}
|
|
12187
12184
|
remove(t = () => !1) {
|
|
12188
12185
|
const e = [];
|
|
@@ -12215,7 +12212,7 @@ class Ve {
|
|
|
12215
12212
|
_searchStringList(t) {
|
|
12216
12213
|
const e = Os(t, this.options), { records: n } = this._myIndex, s = [];
|
|
12217
12214
|
return n.forEach(({ v: r, i: o, n: a }) => {
|
|
12218
|
-
if (!
|
|
12215
|
+
if (!dt(r))
|
|
12219
12216
|
return;
|
|
12220
12217
|
const { isMatch: c, score: l, indices: h } = e.searchIn(r);
|
|
12221
12218
|
c && s.push({
|
|
@@ -12252,7 +12249,7 @@ class Ve {
|
|
|
12252
12249
|
return h;
|
|
12253
12250
|
}, s = this._myIndex.records, r = {}, o = [];
|
|
12254
12251
|
return s.forEach(({ $: a, i: c }) => {
|
|
12255
|
-
if (
|
|
12252
|
+
if (dt(a)) {
|
|
12256
12253
|
let l = n(e, a, c);
|
|
12257
12254
|
l.length && (r[c] || (r[c] = { idx: c, item: a, matches: [] }, o.push(r[c])), l.forEach(({ matches: h }) => {
|
|
12258
12255
|
r[c].matches.push(...h);
|
|
@@ -12263,7 +12260,7 @@ class Ve {
|
|
|
12263
12260
|
_searchObjectList(t) {
|
|
12264
12261
|
const e = Os(t, this.options), { keys: n, records: s } = this._myIndex, r = [];
|
|
12265
12262
|
return s.forEach(({ $: o, i: a }) => {
|
|
12266
|
-
if (!
|
|
12263
|
+
if (!dt(o))
|
|
12267
12264
|
return;
|
|
12268
12265
|
let c = [];
|
|
12269
12266
|
n.forEach((l, h) => {
|
|
@@ -12282,12 +12279,12 @@ class Ve {
|
|
|
12282
12279
|
}), r;
|
|
12283
12280
|
}
|
|
12284
12281
|
_findMatches({ key: t, value: e, searcher: n }) {
|
|
12285
|
-
if (!
|
|
12282
|
+
if (!dt(e))
|
|
12286
12283
|
return [];
|
|
12287
12284
|
let s = [];
|
|
12288
12285
|
if (Kt(e))
|
|
12289
12286
|
e.forEach(({ v: r, i: o, n: a }) => {
|
|
12290
|
-
if (!
|
|
12287
|
+
if (!dt(r))
|
|
12291
12288
|
return;
|
|
12292
12289
|
const { isMatch: c, score: l, indices: h } = n.searchIn(r);
|
|
12293
12290
|
c && s.push({
|
|
@@ -12361,7 +12358,7 @@ const $g = [
|
|
|
12361
12358
|
"software_use_link"
|
|
12362
12359
|
];
|
|
12363
12360
|
function Ug({ infoGroupId: i }) {
|
|
12364
|
-
const t =
|
|
12361
|
+
const t = bt(
|
|
12365
12362
|
`https://ara-db.ccs.uky.edu/api=API_0/z0CiQbts8t4pnv6fJQD4g9nskbCOl6UD-67akYK68wk/rp=${i}?include=${$g.join(",")}`
|
|
12366
12363
|
), [e, n] = He(""), s = Ac(
|
|
12367
12364
|
() => t && t.length ? new Ve(t, {
|