@access-ci/ui 0.19.0-beta1 → 0.19.0-beta4
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-react.d.ts +108 -0
- package/dist/access-ci-ui-react.js +15 -0
- package/dist/access-ci-ui-react.umd.cjs +343 -0
- package/dist/access-ci-ui.bundle.js +77 -176
- package/dist/access-ci-ui.js +13 -22
- package/dist/access-ci-ui.umd.cjs +75 -184
- package/dist/{access-qa-bot-Dssk1h8n.js → access-qa-bot-Df44Trak.js} +107 -134
- package/dist/access-qa-bot-Q26EvzKe.js +14495 -0
- package/dist/{icon-Uz-yb98F.js → icon-Bq3zRcnO.js} +1 -1
- package/dist/icon-CMHOrCGv.js +7 -0
- package/dist/index-2HXoEOSB.js +8248 -0
- package/dist/{resource-group-detail-CF426-zm.js → resource-group-detail-CI_ldjMw.js} +476 -497
- package/dist/resource-group-detail-Dr7EYmvH.js +12555 -0
- package/dist/resource-home-Cf5k64F0.js +275 -0
- package/dist/{resource-home-DA_ihS4S.js → resource-home-dD3bW3v7.js} +2 -2
- package/dist/shadow-CGn1GiHs.js +2644 -0
- package/package.json +12 -5
- package/dist/index-D1YYhxC0.js +0 -10830
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as q, j as v, u as mt, s as To, a as
|
|
2
|
-
import { I as U } from "./icon-
|
|
1
|
+
import { r as q, j as v, u as mt, s as To, a as fi, e as ec, h as Vn, b as Is, c as ic, d as nc, B as sc } from "./index-2HXoEOSB.js";
|
|
2
|
+
import { I as U } from "./icon-Bq3zRcnO.js";
|
|
3
3
|
const Bs = () => {
|
|
4
4
|
const i = new Event("accessci-update-sections");
|
|
5
5
|
document.dispatchEvent(i);
|
|
@@ -48,7 +48,7 @@ function rc({ infoGroupId: i }) {
|
|
|
48
48
|
] });
|
|
49
49
|
}
|
|
50
50
|
function oc({ infoGroupId: i }) {
|
|
51
|
-
const t =
|
|
51
|
+
const t = fi(i), e = mt(
|
|
52
52
|
t && t.infoResourceIds.length ? `https://operations-api.access-ci.org/wh2/cider/v1/info_resourceid/${t.infoResourceIds[0]}/?format=json` : null
|
|
53
53
|
);
|
|
54
54
|
if (!t) return;
|
|
@@ -191,10 +191,10 @@ function lc({ infoGroupId: i }) {
|
|
|
191
191
|
}
|
|
192
192
|
);
|
|
193
193
|
}
|
|
194
|
-
var ut = "top", St = "bottom", kt = "right", ht = "left", hs = "auto",
|
|
195
|
-
return i.concat([t + "-" +
|
|
196
|
-
}, []), Po = /* @__PURE__ */ [].concat(
|
|
197
|
-
return i.concat([t, t + "-" +
|
|
194
|
+
var ut = "top", St = "bottom", kt = "right", ht = "left", hs = "auto", di = [ut, St, kt, ht], De = "start", si = "end", uc = "clippingParents", Eo = "viewport", Ve = "popper", hc = "reference", zs = /* @__PURE__ */ di.reduce(function(i, t) {
|
|
195
|
+
return i.concat([t + "-" + De, t + "-" + si]);
|
|
196
|
+
}, []), Po = /* @__PURE__ */ [].concat(di, [hs]).reduce(function(i, t) {
|
|
197
|
+
return i.concat([t, t + "-" + De, t + "-" + si]);
|
|
198
198
|
}, []), fc = "beforeRead", dc = "read", gc = "afterRead", pc = "beforeMain", mc = "main", bc = "afterMain", vc = "beforeWrite", xc = "write", yc = "afterWrite", _c = [fc, dc, gc, pc, mc, bc, vc, xc, yc];
|
|
199
199
|
function Bt(i) {
|
|
200
200
|
return i ? (i.nodeName || "").toLowerCase() : null;
|
|
@@ -208,7 +208,7 @@ function bt(i) {
|
|
|
208
208
|
}
|
|
209
209
|
return i;
|
|
210
210
|
}
|
|
211
|
-
function
|
|
211
|
+
function me(i) {
|
|
212
212
|
var t = bt(i).Element;
|
|
213
213
|
return i instanceof t || i instanceof Element;
|
|
214
214
|
}
|
|
@@ -267,7 +267,7 @@ const Ro = {
|
|
|
267
267
|
function It(i) {
|
|
268
268
|
return i.split("-")[0];
|
|
269
269
|
}
|
|
270
|
-
var
|
|
270
|
+
var ge = Math.max, Zi = Math.min, Ce = Math.round;
|
|
271
271
|
function $n() {
|
|
272
272
|
var i = navigator.userAgentData;
|
|
273
273
|
return i != null && i.brands && Array.isArray(i.brands) ? i.brands.map(function(t) {
|
|
@@ -277,11 +277,11 @@ function $n() {
|
|
|
277
277
|
function Lo() {
|
|
278
278
|
return !/^((?!chrome|android).)*safari/i.test($n());
|
|
279
279
|
}
|
|
280
|
-
function
|
|
280
|
+
function Te(i, t, e) {
|
|
281
281
|
t === void 0 && (t = !1), e === void 0 && (e = !1);
|
|
282
282
|
var n = i.getBoundingClientRect(), s = 1, r = 1;
|
|
283
|
-
t && wt(i) && (s = i.offsetWidth > 0 &&
|
|
284
|
-
var o =
|
|
283
|
+
t && wt(i) && (s = i.offsetWidth > 0 && Ce(n.width) / i.offsetWidth || 1, r = i.offsetHeight > 0 && Ce(n.height) / i.offsetHeight || 1);
|
|
284
|
+
var o = me(i) ? bt(i) : window, a = o.visualViewport, c = !Lo() && e, l = (n.left + (c && a ? a.offsetLeft : 0)) / s, u = (n.top + (c && a ? a.offsetTop : 0)) / r, h = n.width / s, f = n.height / r;
|
|
285
285
|
return {
|
|
286
286
|
width: h,
|
|
287
287
|
height: f,
|
|
@@ -294,7 +294,7 @@ function Ce(i, t, e) {
|
|
|
294
294
|
};
|
|
295
295
|
}
|
|
296
296
|
function ds(i) {
|
|
297
|
-
var t =
|
|
297
|
+
var t = Te(i), e = i.offsetWidth, n = i.offsetHeight;
|
|
298
298
|
return Math.abs(t.width - e) <= 1 && (e = t.width), Math.abs(t.height - n) <= 1 && (n = t.height), {
|
|
299
299
|
x: i.offsetLeft,
|
|
300
300
|
y: i.offsetTop,
|
|
@@ -322,8 +322,8 @@ function Ut(i) {
|
|
|
322
322
|
function kc(i) {
|
|
323
323
|
return ["table", "td", "th"].indexOf(Bt(i)) >= 0;
|
|
324
324
|
}
|
|
325
|
-
function
|
|
326
|
-
return ((
|
|
325
|
+
function ne(i) {
|
|
326
|
+
return ((me(i) ? i.ownerDocument : (
|
|
327
327
|
// $FlowFixMe[prop-missing]
|
|
328
328
|
i.document
|
|
329
329
|
)) || window.document).documentElement;
|
|
@@ -337,7 +337,7 @@ function dn(i) {
|
|
|
337
337
|
i.parentNode || // DOM Element detected
|
|
338
338
|
(fs(i) ? i.host : null) || // ShadowRoot detected
|
|
339
339
|
// $FlowFixMe[incompatible-call]: HTMLElement is a Node
|
|
340
|
-
|
|
340
|
+
ne(i)
|
|
341
341
|
);
|
|
342
342
|
}
|
|
343
343
|
function Ns(i) {
|
|
@@ -360,7 +360,7 @@ function Ac(i) {
|
|
|
360
360
|
}
|
|
361
361
|
return null;
|
|
362
362
|
}
|
|
363
|
-
function
|
|
363
|
+
function gi(i) {
|
|
364
364
|
for (var t = bt(i), e = Ns(i); e && kc(e) && Ut(e).position === "static"; )
|
|
365
365
|
e = Ns(e);
|
|
366
366
|
return e && (Bt(e) === "html" || Bt(e) === "body" && Ut(e).position === "static") ? t : e || Ac(i) || t;
|
|
@@ -368,11 +368,11 @@ function di(i) {
|
|
|
368
368
|
function gs(i) {
|
|
369
369
|
return ["top", "bottom"].indexOf(i) >= 0 ? "x" : "y";
|
|
370
370
|
}
|
|
371
|
-
function
|
|
372
|
-
return
|
|
371
|
+
function Ze(i, t, e) {
|
|
372
|
+
return ge(i, Zi(t, e));
|
|
373
373
|
}
|
|
374
374
|
function Mc(i, t, e) {
|
|
375
|
-
var n =
|
|
375
|
+
var n = Ze(i, t, e);
|
|
376
376
|
return n > e ? e : n;
|
|
377
377
|
}
|
|
378
378
|
function Fo() {
|
|
@@ -394,12 +394,12 @@ function Bo(i, t) {
|
|
|
394
394
|
var Oc = function(t, e) {
|
|
395
395
|
return t = typeof t == "function" ? t(Object.assign({}, e.rects, {
|
|
396
396
|
placement: e.placement
|
|
397
|
-
})) : t, Io(typeof t != "number" ? t : Bo(t,
|
|
397
|
+
})) : t, Io(typeof t != "number" ? t : Bo(t, di));
|
|
398
398
|
};
|
|
399
399
|
function Dc(i) {
|
|
400
400
|
var t, e = i.state, n = i.name, s = i.options, r = e.elements.arrow, o = e.modifiersData.popperOffsets, a = It(e.placement), c = gs(a), l = [ht, kt].indexOf(a) >= 0, u = l ? "height" : "width";
|
|
401
401
|
if (!(!r || !o)) {
|
|
402
|
-
var h = Oc(s.padding, e), f = ds(r), d = c === "y" ? ut : ht, g = c === "y" ? St : kt, m = e.rects.reference[u] + e.rects.reference[c] - o[c] - e.rects.popper[u], b = o[c] - e.rects.reference[c], x =
|
|
402
|
+
var h = Oc(s.padding, e), f = ds(r), d = c === "y" ? ut : ht, g = c === "y" ? St : kt, m = e.rects.reference[u] + e.rects.reference[c] - o[c] - e.rects.popper[u], b = o[c] - e.rects.reference[c], x = gi(r), y = x ? c === "y" ? x.clientHeight || 0 : x.clientWidth || 0 : 0, S = m / 2 - b / 2, p = h[d], k = y - f[u] - h[g], w = y / 2 - f[u] / 2 + S, A = Ze(p, w, k), M = c;
|
|
403
403
|
e.modifiersData[n] = (t = {}, t[M] = A, t.centerOffset = A - w, t);
|
|
404
404
|
}
|
|
405
405
|
}
|
|
@@ -416,7 +416,7 @@ const Tc = {
|
|
|
416
416
|
requires: ["popperOffsets"],
|
|
417
417
|
requiresIfExists: ["preventOverflow"]
|
|
418
418
|
};
|
|
419
|
-
function
|
|
419
|
+
function Ee(i) {
|
|
420
420
|
return i.split("-")[1];
|
|
421
421
|
}
|
|
422
422
|
var Ec = {
|
|
@@ -428,8 +428,8 @@ var Ec = {
|
|
|
428
428
|
function Pc(i, t) {
|
|
429
429
|
var e = i.x, n = i.y, s = t.devicePixelRatio || 1;
|
|
430
430
|
return {
|
|
431
|
-
x:
|
|
432
|
-
y:
|
|
431
|
+
x: Ce(e * s) / s || 0,
|
|
432
|
+
y: Ce(n * s) / s || 0
|
|
433
433
|
};
|
|
434
434
|
}
|
|
435
435
|
function Hs(i) {
|
|
@@ -443,8 +443,8 @@ function Hs(i) {
|
|
|
443
443
|
d = b.x, m = b.y;
|
|
444
444
|
var x = o.hasOwnProperty("x"), y = o.hasOwnProperty("y"), S = ht, p = ut, k = window;
|
|
445
445
|
if (l) {
|
|
446
|
-
var w =
|
|
447
|
-
if (w === bt(e) && (w =
|
|
446
|
+
var w = gi(e), A = "clientHeight", M = "clientWidth";
|
|
447
|
+
if (w === bt(e) && (w = ne(e), Ut(w).position !== "static" && a === "absolute" && (A = "scrollHeight", M = "scrollWidth")), w = w, s === ut || (s === ht || s === kt) && r === si) {
|
|
448
448
|
p = St;
|
|
449
449
|
var O = h && w === k && k.visualViewport ? k.visualViewport.height : (
|
|
450
450
|
// $FlowFixMe[prop-missing]
|
|
@@ -452,7 +452,7 @@ function Hs(i) {
|
|
|
452
452
|
);
|
|
453
453
|
m -= O - n.height, m *= c ? 1 : -1;
|
|
454
454
|
}
|
|
455
|
-
if (s === ht || (s === ut || s === St) && r ===
|
|
455
|
+
if (s === ht || (s === ut || s === St) && r === si) {
|
|
456
456
|
S = kt;
|
|
457
457
|
var E = h && w === k && k.visualViewport ? k.visualViewport.width : (
|
|
458
458
|
// $FlowFixMe[prop-missing]
|
|
@@ -479,7 +479,7 @@ function Hs(i) {
|
|
|
479
479
|
function Rc(i) {
|
|
480
480
|
var t = i.state, e = i.options, n = e.gpuAcceleration, s = n === void 0 ? !0 : n, r = e.adaptive, o = r === void 0 ? !0 : r, a = e.roundOffsets, c = a === void 0 ? !0 : a, l = {
|
|
481
481
|
placement: It(t.placement),
|
|
482
|
-
variation:
|
|
482
|
+
variation: Ee(t.placement),
|
|
483
483
|
popper: t.elements.popper,
|
|
484
484
|
popperRect: t.rects.popper,
|
|
485
485
|
gpuAcceleration: s,
|
|
@@ -506,17 +506,17 @@ const Lc = {
|
|
|
506
506
|
fn: Rc,
|
|
507
507
|
data: {}
|
|
508
508
|
};
|
|
509
|
-
var
|
|
509
|
+
var Di = {
|
|
510
510
|
passive: !0
|
|
511
511
|
};
|
|
512
512
|
function jc(i) {
|
|
513
513
|
var t = i.state, e = i.instance, n = i.options, s = n.scroll, r = s === void 0 ? !0 : s, o = n.resize, a = o === void 0 ? !0 : o, c = bt(t.elements.popper), l = [].concat(t.scrollParents.reference, t.scrollParents.popper);
|
|
514
514
|
return r && l.forEach(function(u) {
|
|
515
|
-
u.addEventListener("scroll", e.update,
|
|
516
|
-
}), a && c.addEventListener("resize", e.update,
|
|
515
|
+
u.addEventListener("scroll", e.update, Di);
|
|
516
|
+
}), a && c.addEventListener("resize", e.update, Di), function() {
|
|
517
517
|
r && l.forEach(function(u) {
|
|
518
|
-
u.removeEventListener("scroll", e.update,
|
|
519
|
-
}), a && c.removeEventListener("resize", e.update,
|
|
518
|
+
u.removeEventListener("scroll", e.update, Di);
|
|
519
|
+
}), a && c.removeEventListener("resize", e.update, Di);
|
|
520
520
|
};
|
|
521
521
|
}
|
|
522
522
|
const Fc = {
|
|
@@ -556,10 +556,10 @@ function ps(i) {
|
|
|
556
556
|
};
|
|
557
557
|
}
|
|
558
558
|
function ms(i) {
|
|
559
|
-
return
|
|
559
|
+
return Te(ne(i)).left + ps(i).scrollLeft;
|
|
560
560
|
}
|
|
561
561
|
function zc(i, t) {
|
|
562
|
-
var e = bt(i), n =
|
|
562
|
+
var e = bt(i), n = ne(i), s = e.visualViewport, r = n.clientWidth, o = n.clientHeight, a = 0, c = 0;
|
|
563
563
|
if (s) {
|
|
564
564
|
r = s.width, o = s.height;
|
|
565
565
|
var l = Lo();
|
|
@@ -573,8 +573,8 @@ function zc(i, t) {
|
|
|
573
573
|
};
|
|
574
574
|
}
|
|
575
575
|
function Nc(i) {
|
|
576
|
-
var t, e =
|
|
577
|
-
return Ut(s || e).direction === "rtl" && (a +=
|
|
576
|
+
var t, e = ne(i), n = ps(i), s = (t = i.ownerDocument) == null ? void 0 : t.body, r = ge(e.scrollWidth, e.clientWidth, s ? s.scrollWidth : 0, s ? s.clientWidth : 0), o = ge(e.scrollHeight, e.clientHeight, s ? s.scrollHeight : 0, s ? s.clientHeight : 0), a = -n.scrollLeft + ms(i), c = -n.scrollTop;
|
|
577
|
+
return Ut(s || e).direction === "rtl" && (a += ge(e.clientWidth, s ? s.clientWidth : 0) - r), {
|
|
578
578
|
width: r,
|
|
579
579
|
height: o,
|
|
580
580
|
x: a,
|
|
@@ -588,13 +588,13 @@ function bs(i) {
|
|
|
588
588
|
function zo(i) {
|
|
589
589
|
return ["html", "body", "#document"].indexOf(Bt(i)) >= 0 ? i.ownerDocument.body : wt(i) && bs(i) ? i : zo(dn(i));
|
|
590
590
|
}
|
|
591
|
-
function
|
|
591
|
+
function Je(i, t) {
|
|
592
592
|
var e;
|
|
593
593
|
t === void 0 && (t = []);
|
|
594
594
|
var n = zo(i), s = n === ((e = i.ownerDocument) == null ? void 0 : e.body), r = bt(n), o = s ? [r].concat(r.visualViewport || [], bs(n) ? n : []) : n, a = t.concat(o);
|
|
595
595
|
return s ? a : (
|
|
596
596
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
597
|
-
a.concat(
|
|
597
|
+
a.concat(Je(dn(o)))
|
|
598
598
|
);
|
|
599
599
|
}
|
|
600
600
|
function Un(i) {
|
|
@@ -606,27 +606,27 @@ function Un(i) {
|
|
|
606
606
|
});
|
|
607
607
|
}
|
|
608
608
|
function Hc(i, t) {
|
|
609
|
-
var e =
|
|
609
|
+
var e = Te(i, !1, t === "fixed");
|
|
610
610
|
return e.top = e.top + i.clientTop, e.left = e.left + i.clientLeft, e.bottom = e.top + i.clientHeight, e.right = e.left + i.clientWidth, e.width = i.clientWidth, e.height = i.clientHeight, e.x = e.left, e.y = e.top, e;
|
|
611
611
|
}
|
|
612
612
|
function Vs(i, t, e) {
|
|
613
|
-
return t === Eo ? Un(zc(i, e)) :
|
|
613
|
+
return t === Eo ? Un(zc(i, e)) : me(t) ? Hc(t, e) : Un(Nc(ne(i)));
|
|
614
614
|
}
|
|
615
615
|
function Wc(i) {
|
|
616
|
-
var t =
|
|
617
|
-
return
|
|
618
|
-
return
|
|
616
|
+
var t = Je(dn(i)), e = ["absolute", "fixed"].indexOf(Ut(i).position) >= 0, n = e && wt(i) ? gi(i) : i;
|
|
617
|
+
return me(n) ? t.filter(function(s) {
|
|
618
|
+
return me(s) && jo(s, n) && Bt(s) !== "body";
|
|
619
619
|
}) : [];
|
|
620
620
|
}
|
|
621
621
|
function Vc(i, t, e, n) {
|
|
622
622
|
var s = t === "clippingParents" ? Wc(i) : [].concat(t), r = [].concat(s, [e]), o = r[0], a = r.reduce(function(c, l) {
|
|
623
623
|
var u = Vs(i, l, n);
|
|
624
|
-
return c.top =
|
|
624
|
+
return c.top = ge(u.top, c.top), c.right = Zi(u.right, c.right), c.bottom = Zi(u.bottom, c.bottom), c.left = ge(u.left, c.left), c;
|
|
625
625
|
}, Vs(i, o, n));
|
|
626
626
|
return a.width = a.right - a.left, a.height = a.bottom - a.top, a.x = a.left, a.y = a.top, a;
|
|
627
627
|
}
|
|
628
628
|
function No(i) {
|
|
629
|
-
var t = i.reference, e = i.element, n = i.placement, s = n ? It(n) : null, r = n ?
|
|
629
|
+
var t = i.reference, e = i.element, n = i.placement, s = n ? It(n) : null, r = n ? Ee(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
631
|
case ut:
|
|
632
632
|
c = {
|
|
@@ -662,29 +662,29 @@ function No(i) {
|
|
|
662
662
|
if (l != null) {
|
|
663
663
|
var u = l === "y" ? "height" : "width";
|
|
664
664
|
switch (r) {
|
|
665
|
-
case
|
|
665
|
+
case De:
|
|
666
666
|
c[l] = c[l] - (t[u] / 2 - e[u] / 2);
|
|
667
667
|
break;
|
|
668
|
-
case
|
|
668
|
+
case si:
|
|
669
669
|
c[l] = c[l] + (t[u] / 2 - e[u] / 2);
|
|
670
670
|
break;
|
|
671
671
|
}
|
|
672
672
|
}
|
|
673
673
|
return c;
|
|
674
674
|
}
|
|
675
|
-
function
|
|
675
|
+
function ri(i, t) {
|
|
676
676
|
t === void 0 && (t = {});
|
|
677
|
-
var e = t, n = e.placement, s = n === void 0 ? i.placement : n, r = e.strategy, o = r === void 0 ? i.strategy : r, a = e.boundary, c = a === void 0 ? uc : a, l = e.rootBoundary, u = l === void 0 ? Eo : l, h = e.elementContext, f = h === void 0 ?
|
|
677
|
+
var e = t, n = e.placement, s = n === void 0 ? i.placement : n, r = e.strategy, o = r === void 0 ? i.strategy : r, a = e.boundary, c = a === void 0 ? uc : a, l = e.rootBoundary, u = l === void 0 ? Eo : l, h = e.elementContext, f = h === void 0 ? Ve : h, d = e.altBoundary, g = d === void 0 ? !1 : d, m = e.padding, b = m === void 0 ? 0 : m, x = Io(typeof b != "number" ? b : Bo(b, di)), y = f === Ve ? hc : Ve, S = i.rects.popper, p = i.elements[g ? y : f], k = Vc(me(p) ? p : p.contextElement || ne(i.elements.popper), c, u, o), w = Te(i.elements.reference), A = No({
|
|
678
678
|
reference: w,
|
|
679
679
|
element: S,
|
|
680
680
|
placement: s
|
|
681
|
-
}), M = Un(Object.assign({}, S, A)), O = f ===
|
|
681
|
+
}), M = Un(Object.assign({}, S, A)), O = f === Ve ? M : w, E = {
|
|
682
682
|
top: k.top - O.top + x.top,
|
|
683
683
|
bottom: O.bottom - k.bottom + x.bottom,
|
|
684
684
|
left: k.left - O.left + x.left,
|
|
685
685
|
right: O.right - k.right + x.right
|
|
686
686
|
}, T = i.modifiersData.offset;
|
|
687
|
-
if (f ===
|
|
687
|
+
if (f === Ve && T) {
|
|
688
688
|
var D = T[s];
|
|
689
689
|
Object.keys(E).forEach(function(j) {
|
|
690
690
|
var I = [kt, St].indexOf(j) >= 0 ? 1 : -1, L = [ut, St].indexOf(j) >= 0 ? "y" : "x";
|
|
@@ -695,14 +695,14 @@ function si(i, t) {
|
|
|
695
695
|
}
|
|
696
696
|
function $c(i, t) {
|
|
697
697
|
t === void 0 && (t = {});
|
|
698
|
-
var e = t, n = e.placement, s = e.boundary, r = e.rootBoundary, o = e.padding, a = e.flipVariations, c = e.allowedAutoPlacements, l = c === void 0 ? Po : c, u =
|
|
699
|
-
return
|
|
700
|
-
}) :
|
|
698
|
+
var e = t, n = e.placement, s = e.boundary, r = e.rootBoundary, o = e.padding, a = e.flipVariations, c = e.allowedAutoPlacements, l = c === void 0 ? Po : c, u = Ee(n), h = u ? a ? zs : zs.filter(function(g) {
|
|
699
|
+
return Ee(g) === u;
|
|
700
|
+
}) : di, f = h.filter(function(g) {
|
|
701
701
|
return l.indexOf(g) >= 0;
|
|
702
702
|
});
|
|
703
703
|
f.length === 0 && (f = h);
|
|
704
704
|
var d = f.reduce(function(g, m) {
|
|
705
|
-
return g[m] =
|
|
705
|
+
return g[m] = ri(i, {
|
|
706
706
|
placement: m,
|
|
707
707
|
boundary: s,
|
|
708
708
|
rootBoundary: r,
|
|
@@ -732,7 +732,7 @@ function Yc(i) {
|
|
|
732
732
|
allowedAutoPlacements: m
|
|
733
733
|
}) : it);
|
|
734
734
|
}, []), k = t.rects.reference, w = t.rects.popper, A = /* @__PURE__ */ new Map(), M = !0, O = p[0], E = 0; E < p.length; E++) {
|
|
735
|
-
var T = p[E], D = It(T), j =
|
|
735
|
+
var T = p[E], D = It(T), j = Ee(T) === De, I = [ut, St].indexOf(D) >= 0, L = I ? "width" : "height", F = ri(t, {
|
|
736
736
|
placement: T,
|
|
737
737
|
boundary: u,
|
|
738
738
|
rootBoundary: h,
|
|
@@ -751,11 +751,11 @@ function Yc(i) {
|
|
|
751
751
|
}
|
|
752
752
|
if (M)
|
|
753
753
|
for (var J = g ? 3 : 1, vt = function(it) {
|
|
754
|
-
var nt = p.find(function(
|
|
755
|
-
var zt = A.get(
|
|
754
|
+
var nt = p.find(function(ve) {
|
|
755
|
+
var zt = A.get(ve);
|
|
756
756
|
if (zt)
|
|
757
|
-
return zt.slice(0, it).every(function(
|
|
758
|
-
return
|
|
757
|
+
return zt.slice(0, it).every(function(xe) {
|
|
758
|
+
return xe;
|
|
759
759
|
});
|
|
760
760
|
});
|
|
761
761
|
if (nt)
|
|
@@ -794,9 +794,9 @@ function Us(i) {
|
|
|
794
794
|
});
|
|
795
795
|
}
|
|
796
796
|
function Kc(i) {
|
|
797
|
-
var t = i.state, e = i.name, n = t.rects.reference, s = t.rects.popper, r = t.modifiersData.preventOverflow, o =
|
|
797
|
+
var t = i.state, e = i.name, n = t.rects.reference, s = t.rects.popper, r = t.modifiersData.preventOverflow, o = ri(t, {
|
|
798
798
|
elementContext: "reference"
|
|
799
|
-
}), a =
|
|
799
|
+
}), a = ri(t, {
|
|
800
800
|
altBoundary: !0
|
|
801
801
|
}), c = $s(o, n), l = $s(a, s, r), u = Us(c), h = Us(l);
|
|
802
802
|
t.modifiersData[e] = {
|
|
@@ -860,12 +860,12 @@ function el(i) {
|
|
|
860
860
|
return i === "x" ? "y" : "x";
|
|
861
861
|
}
|
|
862
862
|
function il(i) {
|
|
863
|
-
var t = i.state, e = i.options, n = i.name, s = e.mainAxis, r = s === void 0 ? !0 : s, o = e.altAxis, a = o === void 0 ? !1 : o, c = e.boundary, l = e.rootBoundary, u = e.altBoundary, h = e.padding, f = e.tether, d = f === void 0 ? !0 : f, g = e.tetherOffset, m = g === void 0 ? 0 : g, b =
|
|
863
|
+
var t = i.state, e = i.options, n = i.name, s = e.mainAxis, r = s === void 0 ? !0 : s, o = e.altAxis, a = o === void 0 ? !1 : o, c = e.boundary, l = e.rootBoundary, u = e.altBoundary, h = e.padding, f = e.tether, d = f === void 0 ? !0 : f, g = e.tetherOffset, m = g === void 0 ? 0 : g, b = ri(t, {
|
|
864
864
|
boundary: c,
|
|
865
865
|
rootBoundary: l,
|
|
866
866
|
padding: h,
|
|
867
867
|
altBoundary: u
|
|
868
|
-
}), x = It(t.placement), y =
|
|
868
|
+
}), x = It(t.placement), y = Ee(t.placement), S = !y, p = gs(x), k = el(p), w = t.modifiersData.popperOffsets, A = t.rects.reference, M = t.rects.popper, O = typeof m == "function" ? m(Object.assign({}, t.rects, {
|
|
869
869
|
placement: t.placement
|
|
870
870
|
})) : m, E = typeof O == "number" ? {
|
|
871
871
|
mainAxis: O,
|
|
@@ -879,15 +879,15 @@ function il(i) {
|
|
|
879
879
|
};
|
|
880
880
|
if (w) {
|
|
881
881
|
if (r) {
|
|
882
|
-
var j, I = p === "y" ? ut : ht, L = p === "y" ? St : kt, F = p === "y" ? "height" : "width", H = w[p], K = H + b[I], ot = H - b[L], J = d ? -M[F] / 2 : 0, vt = y ===
|
|
882
|
+
var j, I = p === "y" ? ut : ht, L = p === "y" ? St : kt, F = p === "y" ? "height" : "width", H = w[p], K = H + b[I], ot = H - b[L], J = d ? -M[F] / 2 : 0, vt = y === De ? A[F] : M[F], tt = y === De ? -M[F] : -A[F], ft = t.elements.arrow, et = d && ft ? ds(ft) : {
|
|
883
883
|
width: 0,
|
|
884
884
|
height: 0
|
|
885
|
-
}, it = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Fo(), nt = it[I],
|
|
886
|
-
w[p] =
|
|
885
|
+
}, it = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Fo(), nt = it[I], ve = it[L], zt = Ze(0, A[F], et[F]), xe = S ? A[F] / 2 - J - zt - nt - E.mainAxis : vt - zt - nt - E.mainAxis, Xt = S ? -A[F] / 2 + J + zt + ve + E.mainAxis : tt + zt + ve + E.mainAxis, ye = t.elements.arrow && gi(t.elements.arrow), bi = ye ? p === "y" ? ye.clientTop || 0 : ye.clientLeft || 0 : 0, Be = (j = T?.[p]) != null ? j : 0, vi = H + xe - Be - bi, xi = H + Xt - Be, ze = Ze(d ? Zi(K, vi) : K, H, d ? ge(ot, xi) : ot);
|
|
886
|
+
w[p] = ze, D[p] = ze - H;
|
|
887
887
|
}
|
|
888
888
|
if (a) {
|
|
889
|
-
var
|
|
890
|
-
w[k] =
|
|
889
|
+
var Ne, yi = p === "x" ? ut : ht, _i = p === "x" ? St : kt, Nt = w[k], Kt = k === "y" ? "height" : "width", He = Nt + b[yi], re = Nt - b[_i], We = [ut, ht].indexOf(x) !== -1, wi = (Ne = T?.[k]) != null ? Ne : 0, Si = We ? He : Nt - A[Kt] - M[Kt] - wi + E.altAxis, ki = We ? Nt + A[Kt] + M[Kt] - wi - E.altAxis : re, Ai = d && We ? Mc(Si, Nt, ki) : Ze(d ? Si : He, Nt, d ? ki : re);
|
|
890
|
+
w[k] = Ai, D[k] = Ai - Nt;
|
|
891
891
|
}
|
|
892
892
|
t.modifiersData[n] = D;
|
|
893
893
|
}
|
|
@@ -909,12 +909,12 @@ function rl(i) {
|
|
|
909
909
|
return i === bt(i) || !wt(i) ? ps(i) : sl(i);
|
|
910
910
|
}
|
|
911
911
|
function ol(i) {
|
|
912
|
-
var t = i.getBoundingClientRect(), e =
|
|
912
|
+
var t = i.getBoundingClientRect(), e = Ce(t.width) / i.offsetWidth || 1, n = Ce(t.height) / i.offsetHeight || 1;
|
|
913
913
|
return e !== 1 || n !== 1;
|
|
914
914
|
}
|
|
915
915
|
function al(i, t, e) {
|
|
916
916
|
e === void 0 && (e = !1);
|
|
917
|
-
var n = wt(t), s = wt(t) && ol(t), r =
|
|
917
|
+
var n = wt(t), s = wt(t) && ol(t), r = ne(t), o = Te(i, s, e), a = {
|
|
918
918
|
scrollLeft: 0,
|
|
919
919
|
scrollTop: 0
|
|
920
920
|
}, c = {
|
|
@@ -922,7 +922,7 @@ function al(i, t, e) {
|
|
|
922
922
|
y: 0
|
|
923
923
|
};
|
|
924
924
|
return (n || !n && !e) && ((Bt(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
925
|
-
bs(r)) && (a = rl(t)), wt(t) ? (c =
|
|
925
|
+
bs(r)) && (a = rl(t)), wt(t) ? (c = Te(t, !0), c.x += t.clientLeft, c.y += t.clientTop) : r && (c.x = ms(r))), {
|
|
926
926
|
x: o.left + a.scrollLeft - c.x,
|
|
927
927
|
y: o.top + a.scrollTop - c.y,
|
|
928
928
|
width: o.width,
|
|
@@ -1011,8 +1011,8 @@ function fl(i) {
|
|
|
1011
1011
|
setOptions: function(x) {
|
|
1012
1012
|
var y = typeof x == "function" ? x(u.options) : x;
|
|
1013
1013
|
m(), u.options = Object.assign({}, r, u.options, y), u.scrollParents = {
|
|
1014
|
-
reference:
|
|
1015
|
-
popper:
|
|
1014
|
+
reference: me(a) ? Je(a) : a.contextElement ? Je(a.contextElement) : [],
|
|
1015
|
+
popper: Je(c)
|
|
1016
1016
|
};
|
|
1017
1017
|
var S = ll(hl([].concat(n, u.options.modifiers)));
|
|
1018
1018
|
return u.orderedModifiers = S.filter(function(p) {
|
|
@@ -1029,7 +1029,7 @@ function fl(i) {
|
|
|
1029
1029
|
var x = u.elements, y = x.reference, S = x.popper;
|
|
1030
1030
|
if (Xs(y, S)) {
|
|
1031
1031
|
u.rects = {
|
|
1032
|
-
reference: al(y,
|
|
1032
|
+
reference: al(y, gi(S), u.options.strategy === "fixed"),
|
|
1033
1033
|
popper: ds(S)
|
|
1034
1034
|
}, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(E) {
|
|
1035
1035
|
return u.modifiersData[E.name] = Object.assign({}, E.data);
|
|
@@ -1091,7 +1091,7 @@ function fl(i) {
|
|
|
1091
1091
|
}
|
|
1092
1092
|
var dl = [Fc, tl, Lc, Ro, Zc, Xc, nl, Tc, qc], gl = /* @__PURE__ */ fl({
|
|
1093
1093
|
defaultModifiers: dl
|
|
1094
|
-
}), pl = "tippy-box", Ho = "tippy-content", ml = "tippy-backdrop", Wo = "tippy-arrow", Vo = "tippy-svg-arrow",
|
|
1094
|
+
}), pl = "tippy-box", Ho = "tippy-content", ml = "tippy-backdrop", Wo = "tippy-arrow", Vo = "tippy-svg-arrow", he = {
|
|
1095
1095
|
passive: !0,
|
|
1096
1096
|
capture: !0
|
|
1097
1097
|
}, $o = function() {
|
|
@@ -1124,7 +1124,7 @@ function Ks(i, t) {
|
|
|
1124
1124
|
function bl(i) {
|
|
1125
1125
|
return i.split(/\s+/).filter(Boolean);
|
|
1126
1126
|
}
|
|
1127
|
-
function
|
|
1127
|
+
function ke(i) {
|
|
1128
1128
|
return [].concat(i);
|
|
1129
1129
|
}
|
|
1130
1130
|
function qs(i, t) {
|
|
@@ -1146,7 +1146,7 @@ function Gs(i) {
|
|
|
1146
1146
|
return i[e] !== void 0 && (t[e] = i[e]), t;
|
|
1147
1147
|
}, {});
|
|
1148
1148
|
}
|
|
1149
|
-
function
|
|
1149
|
+
function ti() {
|
|
1150
1150
|
return document.createElement("div");
|
|
1151
1151
|
}
|
|
1152
1152
|
function gn(i) {
|
|
@@ -1177,7 +1177,7 @@ function Qs(i, t) {
|
|
|
1177
1177
|
});
|
|
1178
1178
|
}
|
|
1179
1179
|
function kl(i) {
|
|
1180
|
-
var t, e =
|
|
1180
|
+
var t, e = ke(i), n = e[0];
|
|
1181
1181
|
return n != null && (t = n.ownerDocument) != null && t.body ? n.ownerDocument : document;
|
|
1182
1182
|
}
|
|
1183
1183
|
function Al(i, t) {
|
|
@@ -1223,7 +1223,7 @@ function Ol() {
|
|
|
1223
1223
|
}
|
|
1224
1224
|
}
|
|
1225
1225
|
function Dl() {
|
|
1226
|
-
document.addEventListener("touchstart", Ml,
|
|
1226
|
+
document.addEventListener("touchstart", Ml, he), window.addEventListener("blur", Ol);
|
|
1227
1227
|
}
|
|
1228
1228
|
var Cl = typeof window < "u" && typeof document < "u", Tl = Cl ? (
|
|
1229
1229
|
// @ts-ignore
|
|
@@ -1343,7 +1343,7 @@ function Yn(i, t) {
|
|
|
1343
1343
|
i[Fl()] = t;
|
|
1344
1344
|
}
|
|
1345
1345
|
function er(i) {
|
|
1346
|
-
var t =
|
|
1346
|
+
var t = ti();
|
|
1347
1347
|
return i === !0 ? t.className = Wo : (t.className = Vo, gn(i) ? t.appendChild(i) : Yn(t, i)), t;
|
|
1348
1348
|
}
|
|
1349
1349
|
function ir(i, t) {
|
|
@@ -1365,9 +1365,9 @@ function Xn(i) {
|
|
|
1365
1365
|
};
|
|
1366
1366
|
}
|
|
1367
1367
|
function Ko(i) {
|
|
1368
|
-
var t =
|
|
1368
|
+
var t = ti(), e = ti();
|
|
1369
1369
|
e.className = pl, e.setAttribute("data-state", "hidden"), e.setAttribute("tabindex", "-1");
|
|
1370
|
-
var n =
|
|
1370
|
+
var n = ti();
|
|
1371
1371
|
n.className = Ho, n.setAttribute("data-state", "hidden"), ir(n, i.props), t.appendChild(e), e.appendChild(n), s(i.props, i.props);
|
|
1372
1372
|
function s(r, o) {
|
|
1373
1373
|
var a = Xn(t), c = a.box, l = a.content, u = a.arrow;
|
|
@@ -1379,9 +1379,9 @@ function Ko(i) {
|
|
|
1379
1379
|
};
|
|
1380
1380
|
}
|
|
1381
1381
|
Ko.$$tippy = !0;
|
|
1382
|
-
var Il = 1,
|
|
1382
|
+
var Il = 1, Ci = [], On = [];
|
|
1383
1383
|
function Bl(i, t) {
|
|
1384
|
-
var e = tr(i, Object.assign({}, Dt, Xo(Gs(t)))), n, s, r, o = !1, a = !1, c = !1, l = !1, u, h, f, d = [], g = Ks(
|
|
1384
|
+
var e = tr(i, Object.assign({}, Dt, Xo(Gs(t)))), n, s, r, o = !1, a = !1, c = !1, l = !1, u, h, f, d = [], g = Ks(vi, e.interactiveDebounce), m, b = Il++, x = null, y = vl(e.plugins), S = {
|
|
1385
1385
|
// Is the instance currently enabled?
|
|
1386
1386
|
isEnabled: !0,
|
|
1387
1387
|
// Is the tippy currently showing and not transitioning out?
|
|
@@ -1396,20 +1396,20 @@ function Bl(i, t) {
|
|
|
1396
1396
|
// properties
|
|
1397
1397
|
id: b,
|
|
1398
1398
|
reference: i,
|
|
1399
|
-
popper:
|
|
1399
|
+
popper: ti(),
|
|
1400
1400
|
popperInstance: x,
|
|
1401
1401
|
props: e,
|
|
1402
1402
|
state: S,
|
|
1403
1403
|
plugins: y,
|
|
1404
1404
|
// methods
|
|
1405
|
-
clearDelayTimeouts:
|
|
1406
|
-
setProps:
|
|
1407
|
-
setContent:
|
|
1405
|
+
clearDelayTimeouts: Si,
|
|
1406
|
+
setProps: ki,
|
|
1407
|
+
setContent: Ai,
|
|
1408
1408
|
show: qa,
|
|
1409
1409
|
hide: Ga,
|
|
1410
1410
|
hideWithInteractivity: Qa,
|
|
1411
|
-
enable:
|
|
1412
|
-
disable:
|
|
1411
|
+
enable: We,
|
|
1412
|
+
disable: wi,
|
|
1413
1413
|
unmount: Za,
|
|
1414
1414
|
destroy: Ja
|
|
1415
1415
|
};
|
|
@@ -1420,7 +1420,7 @@ function Bl(i, t) {
|
|
|
1420
1420
|
var M = y.map(function(_) {
|
|
1421
1421
|
return _.fn(p);
|
|
1422
1422
|
}), O = i.hasAttribute("aria-expanded");
|
|
1423
|
-
return
|
|
1423
|
+
return ye(), J(), H(), K("onCreate", [p]), e.showOnCreate && He(), w.addEventListener("mouseenter", function() {
|
|
1424
1424
|
p.props.interactive && p.state.isVisible && p.clearDelayTimeouts();
|
|
1425
1425
|
}), w.addEventListener("mouseleave", function() {
|
|
1426
1426
|
p.props.interactive && p.props.trigger.indexOf("mouseenter") >= 0 && I().addEventListener("mousemove", g);
|
|
@@ -1463,7 +1463,7 @@ function Bl(i, t) {
|
|
|
1463
1463
|
function ot() {
|
|
1464
1464
|
var _ = p.props.aria;
|
|
1465
1465
|
if (_.content) {
|
|
1466
|
-
var C = "aria-" + _.content, R = w.id, W =
|
|
1466
|
+
var C = "aria-" + _.content, R = w.id, W = ke(p.props.triggerTarget || i);
|
|
1467
1467
|
W.forEach(function(B) {
|
|
1468
1468
|
var at = B.getAttribute(C);
|
|
1469
1469
|
if (p.state.isVisible)
|
|
@@ -1477,14 +1477,14 @@ function Bl(i, t) {
|
|
|
1477
1477
|
}
|
|
1478
1478
|
function J() {
|
|
1479
1479
|
if (!(O || !p.props.aria.expanded)) {
|
|
1480
|
-
var _ =
|
|
1480
|
+
var _ = ke(p.props.triggerTarget || i);
|
|
1481
1481
|
_.forEach(function(C) {
|
|
1482
1482
|
p.props.interactive ? C.setAttribute("aria-expanded", p.state.isVisible && C === j() ? "true" : "false") : C.removeAttribute("aria-expanded");
|
|
1483
1483
|
});
|
|
1484
1484
|
}
|
|
1485
1485
|
}
|
|
1486
1486
|
function vt() {
|
|
1487
|
-
I().removeEventListener("mousemove", g),
|
|
1487
|
+
I().removeEventListener("mousemove", g), Ci = Ci.filter(function(_) {
|
|
1488
1488
|
return _ !== g;
|
|
1489
1489
|
});
|
|
1490
1490
|
}
|
|
@@ -1492,7 +1492,7 @@ function Bl(i, t) {
|
|
|
1492
1492
|
if (!(Rt.isTouch && (c || _.type === "mousedown"))) {
|
|
1493
1493
|
var C = _.composedPath && _.composedPath()[0] || _.target;
|
|
1494
1494
|
if (!(p.props.interactive && Zs(w, C))) {
|
|
1495
|
-
if (
|
|
1495
|
+
if (ke(p.props.triggerTarget || i).some(function(R) {
|
|
1496
1496
|
return Zs(R, C);
|
|
1497
1497
|
})) {
|
|
1498
1498
|
if (Rt.isTouch || p.state.isVisible && p.props.trigger.indexOf("click") >= 0)
|
|
@@ -1513,21 +1513,21 @@ function Bl(i, t) {
|
|
|
1513
1513
|
}
|
|
1514
1514
|
function it() {
|
|
1515
1515
|
var _ = I();
|
|
1516
|
-
_.addEventListener("mousedown", tt, !0), _.addEventListener("touchend", tt,
|
|
1516
|
+
_.addEventListener("mousedown", tt, !0), _.addEventListener("touchend", tt, he), _.addEventListener("touchstart", et, he), _.addEventListener("touchmove", ft, he);
|
|
1517
1517
|
}
|
|
1518
1518
|
function nt() {
|
|
1519
1519
|
var _ = I();
|
|
1520
|
-
_.removeEventListener("mousedown", tt, !0), _.removeEventListener("touchend", tt,
|
|
1520
|
+
_.removeEventListener("mousedown", tt, !0), _.removeEventListener("touchend", tt, he), _.removeEventListener("touchstart", et, he), _.removeEventListener("touchmove", ft, he);
|
|
1521
1521
|
}
|
|
1522
|
-
function
|
|
1523
|
-
|
|
1522
|
+
function ve(_, C) {
|
|
1523
|
+
xe(_, function() {
|
|
1524
1524
|
!p.state.isVisible && w.parentNode && w.parentNode.contains(w) && C();
|
|
1525
1525
|
});
|
|
1526
1526
|
}
|
|
1527
1527
|
function zt(_, C) {
|
|
1528
|
-
|
|
1528
|
+
xe(_, C);
|
|
1529
1529
|
}
|
|
1530
|
-
function
|
|
1530
|
+
function xe(_, C) {
|
|
1531
1531
|
var R = L().box;
|
|
1532
1532
|
function W(B) {
|
|
1533
1533
|
B.target === R && (Mn(R, "remove", W), C());
|
|
@@ -1538,7 +1538,7 @@ function Bl(i, t) {
|
|
|
1538
1538
|
}
|
|
1539
1539
|
function Xt(_, C, R) {
|
|
1540
1540
|
R === void 0 && (R = !1);
|
|
1541
|
-
var W =
|
|
1541
|
+
var W = ke(p.props.triggerTarget || i);
|
|
1542
1542
|
W.forEach(function(B) {
|
|
1543
1543
|
B.addEventListener(_, C, R), d.push({
|
|
1544
1544
|
node: B,
|
|
@@ -1548,74 +1548,74 @@ function Bl(i, t) {
|
|
|
1548
1548
|
});
|
|
1549
1549
|
});
|
|
1550
1550
|
}
|
|
1551
|
-
function
|
|
1552
|
-
T() && (Xt("touchstart",
|
|
1551
|
+
function ye() {
|
|
1552
|
+
T() && (Xt("touchstart", Be, {
|
|
1553
1553
|
passive: !0
|
|
1554
|
-
}), Xt("touchend",
|
|
1554
|
+
}), Xt("touchend", xi, {
|
|
1555
1555
|
passive: !0
|
|
1556
1556
|
})), bl(p.props.trigger).forEach(function(_) {
|
|
1557
1557
|
if (_ !== "manual")
|
|
1558
|
-
switch (Xt(_,
|
|
1558
|
+
switch (Xt(_, Be), _) {
|
|
1559
1559
|
case "mouseenter":
|
|
1560
|
-
Xt("mouseleave",
|
|
1560
|
+
Xt("mouseleave", xi);
|
|
1561
1561
|
break;
|
|
1562
1562
|
case "focus":
|
|
1563
|
-
Xt(Tl ? "focusout" : "blur",
|
|
1563
|
+
Xt(Tl ? "focusout" : "blur", ze);
|
|
1564
1564
|
break;
|
|
1565
1565
|
case "focusin":
|
|
1566
|
-
Xt("focusout",
|
|
1566
|
+
Xt("focusout", ze);
|
|
1567
1567
|
break;
|
|
1568
1568
|
}
|
|
1569
1569
|
});
|
|
1570
1570
|
}
|
|
1571
|
-
function
|
|
1571
|
+
function bi() {
|
|
1572
1572
|
d.forEach(function(_) {
|
|
1573
1573
|
var C = _.node, R = _.eventType, W = _.handler, B = _.options;
|
|
1574
1574
|
C.removeEventListener(R, W, B);
|
|
1575
1575
|
}), d = [];
|
|
1576
1576
|
}
|
|
1577
|
-
function
|
|
1577
|
+
function Be(_) {
|
|
1578
1578
|
var C, R = !1;
|
|
1579
|
-
if (!(!p.state.isEnabled ||
|
|
1579
|
+
if (!(!p.state.isEnabled || Ne(_) || a)) {
|
|
1580
1580
|
var W = ((C = u) == null ? void 0 : C.type) === "focus";
|
|
1581
|
-
u = _, m = _.currentTarget, J(), !p.state.isVisible && _l(_) &&
|
|
1581
|
+
u = _, m = _.currentTarget, J(), !p.state.isVisible && _l(_) && Ci.forEach(function(B) {
|
|
1582
1582
|
return B(_);
|
|
1583
|
-
}), _.type === "click" && (p.props.trigger.indexOf("mouseenter") < 0 || o) && p.props.hideOnClick !== !1 && p.state.isVisible ? R = !0 :
|
|
1583
|
+
}), _.type === "click" && (p.props.trigger.indexOf("mouseenter") < 0 || o) && p.props.hideOnClick !== !1 && p.state.isVisible ? R = !0 : He(_), _.type === "click" && (o = !R), R && !W && re(_);
|
|
1584
1584
|
}
|
|
1585
1585
|
}
|
|
1586
|
-
function
|
|
1586
|
+
function vi(_) {
|
|
1587
1587
|
var C = _.target, R = j().contains(C) || w.contains(C);
|
|
1588
1588
|
if (!(_.type === "mousemove" && R)) {
|
|
1589
1589
|
var W = Kt().concat(w).map(function(B) {
|
|
1590
|
-
var at, xt = B._tippy,
|
|
1591
|
-
return
|
|
1590
|
+
var at, xt = B._tippy, _e = (at = xt.popperInstance) == null ? void 0 : at.state;
|
|
1591
|
+
return _e ? {
|
|
1592
1592
|
popperRect: B.getBoundingClientRect(),
|
|
1593
|
-
popperState:
|
|
1593
|
+
popperState: _e,
|
|
1594
1594
|
props: e
|
|
1595
1595
|
} : null;
|
|
1596
1596
|
}).filter(Boolean);
|
|
1597
|
-
Al(W, _) && (vt(),
|
|
1597
|
+
Al(W, _) && (vt(), re(_));
|
|
1598
1598
|
}
|
|
1599
1599
|
}
|
|
1600
|
-
function
|
|
1601
|
-
var C =
|
|
1600
|
+
function xi(_) {
|
|
1601
|
+
var C = Ne(_) || p.props.trigger.indexOf("click") >= 0 && o;
|
|
1602
1602
|
if (!C) {
|
|
1603
1603
|
if (p.props.interactive) {
|
|
1604
1604
|
p.hideWithInteractivity(_);
|
|
1605
1605
|
return;
|
|
1606
1606
|
}
|
|
1607
|
-
|
|
1607
|
+
re(_);
|
|
1608
1608
|
}
|
|
1609
1609
|
}
|
|
1610
|
-
function Be(_) {
|
|
1611
|
-
p.props.trigger.indexOf("focusin") < 0 && _.target !== j() || p.props.interactive && _.relatedTarget && w.contains(_.relatedTarget) || se(_);
|
|
1612
|
-
}
|
|
1613
1610
|
function ze(_) {
|
|
1611
|
+
p.props.trigger.indexOf("focusin") < 0 && _.target !== j() || p.props.interactive && _.relatedTarget && w.contains(_.relatedTarget) || re(_);
|
|
1612
|
+
}
|
|
1613
|
+
function Ne(_) {
|
|
1614
1614
|
return Rt.isTouch ? T() !== _.type.indexOf("touch") >= 0 : !1;
|
|
1615
1615
|
}
|
|
1616
|
-
function
|
|
1617
|
-
|
|
1618
|
-
var _ = p.props, C = _.popperOptions, R = _.placement, W = _.offset, B = _.getReferenceClientRect, at = _.moveTransition, xt = D() ? Xn(w).arrow : null,
|
|
1616
|
+
function yi() {
|
|
1617
|
+
_i();
|
|
1618
|
+
var _ = p.props, C = _.popperOptions, R = _.placement, W = _.offset, B = _.getReferenceClientRect, at = _.moveTransition, xt = D() ? Xn(w).arrow : null, _e = B ? {
|
|
1619
1619
|
getBoundingClientRect: B,
|
|
1620
1620
|
contextElement: B.contextElement || j()
|
|
1621
1621
|
} : i, Fs = {
|
|
@@ -1623,16 +1623,16 @@ function Bl(i, t) {
|
|
|
1623
1623
|
enabled: !0,
|
|
1624
1624
|
phase: "beforeWrite",
|
|
1625
1625
|
requires: ["computeStyles"],
|
|
1626
|
-
fn: function(
|
|
1627
|
-
var
|
|
1626
|
+
fn: function(Mi) {
|
|
1627
|
+
var we = Mi.state;
|
|
1628
1628
|
if (D()) {
|
|
1629
1629
|
var tc = L(), Sn = tc.box;
|
|
1630
|
-
["placement", "reference-hidden", "escaped"].forEach(function(
|
|
1631
|
-
|
|
1632
|
-
}),
|
|
1630
|
+
["placement", "reference-hidden", "escaped"].forEach(function(Oi) {
|
|
1631
|
+
Oi === "placement" ? Sn.setAttribute("data-placement", we.placement) : we.attributes.popper["data-popper-" + Oi] ? Sn.setAttribute("data-" + Oi, "") : Sn.removeAttribute("data-" + Oi);
|
|
1632
|
+
}), we.attributes.popper = {};
|
|
1633
1633
|
}
|
|
1634
1634
|
}
|
|
1635
|
-
},
|
|
1635
|
+
}, oe = [{
|
|
1636
1636
|
name: "offset",
|
|
1637
1637
|
options: {
|
|
1638
1638
|
offset: W
|
|
@@ -1658,36 +1658,36 @@ function Bl(i, t) {
|
|
|
1658
1658
|
adaptive: !at
|
|
1659
1659
|
}
|
|
1660
1660
|
}, Fs];
|
|
1661
|
-
D() && xt &&
|
|
1661
|
+
D() && xt && oe.push({
|
|
1662
1662
|
name: "arrow",
|
|
1663
1663
|
options: {
|
|
1664
1664
|
element: xt,
|
|
1665
1665
|
padding: 3
|
|
1666
1666
|
}
|
|
1667
|
-
}),
|
|
1667
|
+
}), oe.push.apply(oe, C?.modifiers || []), p.popperInstance = gl(_e, w, Object.assign({}, C, {
|
|
1668
1668
|
placement: R,
|
|
1669
1669
|
onFirstUpdate: f,
|
|
1670
|
-
modifiers:
|
|
1670
|
+
modifiers: oe
|
|
1671
1671
|
}));
|
|
1672
1672
|
}
|
|
1673
|
-
function
|
|
1673
|
+
function _i() {
|
|
1674
1674
|
p.popperInstance && (p.popperInstance.destroy(), p.popperInstance = null);
|
|
1675
1675
|
}
|
|
1676
1676
|
function Nt() {
|
|
1677
1677
|
var _ = p.props.appendTo, C, R = j();
|
|
1678
|
-
p.props.interactive && _ === $o || _ === "parent" ? C = R.parentNode : C = Uo(_, [R]), C.contains(w) || C.appendChild(w), p.state.isMounted = !0,
|
|
1678
|
+
p.props.interactive && _ === $o || _ === "parent" ? C = R.parentNode : C = Uo(_, [R]), C.contains(w) || C.appendChild(w), p.state.isMounted = !0, yi();
|
|
1679
1679
|
}
|
|
1680
1680
|
function Kt() {
|
|
1681
1681
|
return Ji(w.querySelectorAll("[data-tippy-root]"));
|
|
1682
1682
|
}
|
|
1683
|
-
function
|
|
1683
|
+
function He(_) {
|
|
1684
1684
|
p.clearDelayTimeouts(), _ && K("onTrigger", [p, _]), it();
|
|
1685
1685
|
var C = F(!0), R = E(), W = R[0], B = R[1];
|
|
1686
1686
|
Rt.isTouch && W === "hold" && B && (C = B), C ? n = setTimeout(function() {
|
|
1687
1687
|
p.show();
|
|
1688
1688
|
}, C) : p.show();
|
|
1689
1689
|
}
|
|
1690
|
-
function
|
|
1690
|
+
function re(_) {
|
|
1691
1691
|
if (p.clearDelayTimeouts(), K("onUntrigger", [p, _]), !p.state.isVisible) {
|
|
1692
1692
|
nt();
|
|
1693
1693
|
return;
|
|
@@ -1701,29 +1701,29 @@ function Bl(i, t) {
|
|
|
1701
1701
|
});
|
|
1702
1702
|
}
|
|
1703
1703
|
}
|
|
1704
|
-
function
|
|
1704
|
+
function We() {
|
|
1705
1705
|
p.state.isEnabled = !0;
|
|
1706
1706
|
}
|
|
1707
|
-
function
|
|
1707
|
+
function wi() {
|
|
1708
1708
|
p.hide(), p.state.isEnabled = !1;
|
|
1709
1709
|
}
|
|
1710
|
-
function
|
|
1710
|
+
function Si() {
|
|
1711
1711
|
clearTimeout(n), clearTimeout(s), cancelAnimationFrame(r);
|
|
1712
1712
|
}
|
|
1713
|
-
function
|
|
1713
|
+
function ki(_) {
|
|
1714
1714
|
if (!p.state.isDestroyed) {
|
|
1715
|
-
K("onBeforeUpdate", [p, _]),
|
|
1715
|
+
K("onBeforeUpdate", [p, _]), bi();
|
|
1716
1716
|
var C = p.props, R = tr(i, Object.assign({}, C, Gs(_), {
|
|
1717
1717
|
ignoreAttributes: !0
|
|
1718
1718
|
}));
|
|
1719
|
-
p.props = R,
|
|
1719
|
+
p.props = R, ye(), C.interactiveDebounce !== R.interactiveDebounce && (vt(), g = Ks(vi, R.interactiveDebounce)), C.triggerTarget && !R.triggerTarget ? ke(C.triggerTarget).forEach(function(W) {
|
|
1720
1720
|
W.removeAttribute("aria-expanded");
|
|
1721
|
-
}) : R.triggerTarget && i.removeAttribute("aria-expanded"), J(), H(), A && A(C, R), p.popperInstance && (
|
|
1721
|
+
}) : R.triggerTarget && i.removeAttribute("aria-expanded"), J(), H(), A && A(C, R), p.popperInstance && (yi(), Kt().forEach(function(W) {
|
|
1722
1722
|
requestAnimationFrame(W._tippy.popperInstance.forceUpdate);
|
|
1723
1723
|
})), K("onAfterUpdate", [p, _]);
|
|
1724
1724
|
}
|
|
1725
1725
|
}
|
|
1726
|
-
function
|
|
1726
|
+
function Ai(_) {
|
|
1727
1727
|
p.setProps({
|
|
1728
1728
|
content: _
|
|
1729
1729
|
});
|
|
@@ -1732,17 +1732,17 @@ function Bl(i, t) {
|
|
|
1732
1732
|
var _ = p.state.isVisible, C = p.state.isDestroyed, R = !p.state.isEnabled, W = Rt.isTouch && !p.props.touch, B = kn(p.props.duration, 0, Dt.duration);
|
|
1733
1733
|
if (!(_ || C || R || W) && !j().hasAttribute("disabled") && (K("onShow", [p], !1), p.props.onShow(p) !== !1)) {
|
|
1734
1734
|
if (p.state.isVisible = !0, D() && (w.style.visibility = "visible"), H(), it(), p.state.isMounted || (w.style.transition = "none"), D()) {
|
|
1735
|
-
var at = L(), xt = at.box,
|
|
1736
|
-
An([xt,
|
|
1735
|
+
var at = L(), xt = at.box, _e = at.content;
|
|
1736
|
+
An([xt, _e], 0);
|
|
1737
1737
|
}
|
|
1738
1738
|
f = function() {
|
|
1739
|
-
var
|
|
1739
|
+
var oe;
|
|
1740
1740
|
if (!(!p.state.isVisible || l)) {
|
|
1741
1741
|
if (l = !0, w.offsetHeight, w.style.transition = p.props.moveTransition, D() && p.props.animation) {
|
|
1742
|
-
var wn = L(),
|
|
1743
|
-
An([
|
|
1742
|
+
var wn = L(), Mi = wn.box, we = wn.content;
|
|
1743
|
+
An([Mi, we], B), Qs([Mi, we], "visible");
|
|
1744
1744
|
}
|
|
1745
|
-
ot(), J(), qs(On, p), (
|
|
1745
|
+
ot(), J(), qs(On, p), (oe = p.popperInstance) == null || oe.forceUpdate(), K("onMount", [p]), p.props.animation && D() && zt(B, function() {
|
|
1746
1746
|
p.state.isShown = !0, K("onShown", [p]);
|
|
1747
1747
|
});
|
|
1748
1748
|
}
|
|
@@ -1756,24 +1756,24 @@ function Bl(i, t) {
|
|
|
1756
1756
|
var B = L(), at = B.box, xt = B.content;
|
|
1757
1757
|
p.props.animation && (An([at, xt], W), Qs([at, xt], "hidden"));
|
|
1758
1758
|
}
|
|
1759
|
-
ot(), J(), p.props.animation ? D() &&
|
|
1759
|
+
ot(), J(), p.props.animation ? D() && ve(W, p.unmount) : p.unmount();
|
|
1760
1760
|
}
|
|
1761
1761
|
}
|
|
1762
1762
|
function Qa(_) {
|
|
1763
|
-
I().addEventListener("mousemove", g), qs(
|
|
1763
|
+
I().addEventListener("mousemove", g), qs(Ci, g), g(_);
|
|
1764
1764
|
}
|
|
1765
1765
|
function Za() {
|
|
1766
|
-
p.state.isVisible && p.hide(), p.state.isMounted && (
|
|
1766
|
+
p.state.isVisible && p.hide(), p.state.isMounted && (_i(), Kt().forEach(function(_) {
|
|
1767
1767
|
_._tippy.unmount();
|
|
1768
1768
|
}), w.parentNode && w.parentNode.removeChild(w), On = On.filter(function(_) {
|
|
1769
1769
|
return _ !== p;
|
|
1770
1770
|
}), p.state.isMounted = !1, K("onHidden", [p]));
|
|
1771
1771
|
}
|
|
1772
1772
|
function Ja() {
|
|
1773
|
-
p.state.isDestroyed || (p.clearDelayTimeouts(), p.unmount(),
|
|
1773
|
+
p.state.isDestroyed || (p.clearDelayTimeouts(), p.unmount(), bi(), delete i._tippy, p.state.isDestroyed = !0, K("onDestroy", [p]));
|
|
1774
1774
|
}
|
|
1775
1775
|
}
|
|
1776
|
-
function
|
|
1776
|
+
function pi(i, t) {
|
|
1777
1777
|
t === void 0 && (t = {});
|
|
1778
1778
|
var e = Dt.plugins.concat(t.plugins || []);
|
|
1779
1779
|
Dl();
|
|
@@ -1785,9 +1785,9 @@ function gi(i, t) {
|
|
|
1785
1785
|
}, []);
|
|
1786
1786
|
return gn(i) ? r[0] : r;
|
|
1787
1787
|
}
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1788
|
+
pi.defaultProps = Dt;
|
|
1789
|
+
pi.setDefaultProps = Ll;
|
|
1790
|
+
pi.currentInput = Rt;
|
|
1791
1791
|
Object.assign({}, Ro, {
|
|
1792
1792
|
effect: function(t) {
|
|
1793
1793
|
var e = t.state, n = {
|
|
@@ -1805,7 +1805,7 @@ Object.assign({}, Ro, {
|
|
|
1805
1805
|
Object.assign(e.elements.popper.style, n.popper), e.styles = n, e.elements.arrow && Object.assign(e.elements.arrow.style, n.arrow);
|
|
1806
1806
|
}
|
|
1807
1807
|
});
|
|
1808
|
-
|
|
1808
|
+
pi.setDefaultProps({
|
|
1809
1809
|
render: Ko
|
|
1810
1810
|
});
|
|
1811
1811
|
function zl({
|
|
@@ -1815,7 +1815,7 @@ function zl({
|
|
|
1815
1815
|
}) {
|
|
1816
1816
|
const n = q.useRef(null);
|
|
1817
1817
|
return q.useLayoutEffect(() => {
|
|
1818
|
-
n.current &&
|
|
1818
|
+
n.current && pi(n.current, {
|
|
1819
1819
|
content: e,
|
|
1820
1820
|
theme: "access",
|
|
1821
1821
|
appendTo: n.current.parentElement
|
|
@@ -1880,7 +1880,7 @@ function Vl({
|
|
|
1880
1880
|
] });
|
|
1881
1881
|
}
|
|
1882
1882
|
function $l({ infoGroupId: i }) {
|
|
1883
|
-
const t =
|
|
1883
|
+
const t = fi(i), e = mt(
|
|
1884
1884
|
"https://operations-api.access-ci.org/wh2/news/v1/affiliation/access-ci.org/current_outages/"
|
|
1885
1885
|
), n = mt(
|
|
1886
1886
|
"https://operations-api.access-ci.org/wh2/news/v1/affiliation/access-ci.org/future_outages/"
|
|
@@ -1942,7 +1942,7 @@ function Yl({
|
|
|
1942
1942
|
] });
|
|
1943
1943
|
}
|
|
1944
1944
|
function Xl({ infoGroupId: i }) {
|
|
1945
|
-
const t =
|
|
1945
|
+
const t = fi(i), e = mt(
|
|
1946
1946
|
t ? t.infoResourceIds.map(
|
|
1947
1947
|
(c) => `https://operations-api.access-ci.org/wh2/cider/v1/info_resourceid/${c}/?format=json`
|
|
1948
1948
|
) : null,
|
|
@@ -2022,11 +2022,6 @@ function Xl({ infoGroupId: i }) {
|
|
|
2022
2022
|
a.other.length > 0 ? /* @__PURE__ */ v.jsx(Ft, { title: "Other Resources", icon: "stars", children: a.other }) : null
|
|
2023
2023
|
] });
|
|
2024
2024
|
}
|
|
2025
|
-
/*!
|
|
2026
|
-
* Glide.js v3.7.1
|
|
2027
|
-
* (c) 2013-2024 Jędrzej Chałubek (https://github.com/jedrzejchalubek/)
|
|
2028
|
-
* Released under the MIT License.
|
|
2029
|
-
*/
|
|
2030
2025
|
function nr(i, t) {
|
|
2031
2026
|
var e = Object.keys(i);
|
|
2032
2027
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -2088,10 +2083,10 @@ function Gl(i, t) {
|
|
|
2088
2083
|
}
|
|
2089
2084
|
}), t && Kn(i, t);
|
|
2090
2085
|
}
|
|
2091
|
-
function
|
|
2092
|
-
return
|
|
2086
|
+
function Pe(i) {
|
|
2087
|
+
return Pe = Object.setPrototypeOf ? Object.getPrototypeOf : function(e) {
|
|
2093
2088
|
return e.__proto__ || Object.getPrototypeOf(e);
|
|
2094
|
-
},
|
|
2089
|
+
}, Pe(i);
|
|
2095
2090
|
}
|
|
2096
2091
|
function Kn(i, t) {
|
|
2097
2092
|
return Kn = Object.setPrototypeOf || function(n, s) {
|
|
@@ -2123,9 +2118,9 @@ function Jl(i, t) {
|
|
|
2123
2118
|
function tu(i) {
|
|
2124
2119
|
var t = Ql();
|
|
2125
2120
|
return function() {
|
|
2126
|
-
var n =
|
|
2121
|
+
var n = Pe(i), s;
|
|
2127
2122
|
if (t) {
|
|
2128
|
-
var r =
|
|
2123
|
+
var r = Pe(this).constructor;
|
|
2129
2124
|
s = Reflect.construct(n, arguments, r);
|
|
2130
2125
|
} else
|
|
2131
2126
|
s = n.apply(this, arguments);
|
|
@@ -2133,7 +2128,7 @@ function tu(i) {
|
|
|
2133
2128
|
};
|
|
2134
2129
|
}
|
|
2135
2130
|
function eu(i, t) {
|
|
2136
|
-
for (; !Object.prototype.hasOwnProperty.call(i, t) && (i =
|
|
2131
|
+
for (; !Object.prototype.hasOwnProperty.call(i, t) && (i = Pe(i), i !== null); )
|
|
2137
2132
|
;
|
|
2138
2133
|
return i;
|
|
2139
2134
|
}
|
|
@@ -2350,7 +2345,7 @@ var iu = {
|
|
|
2350
2345
|
}
|
|
2351
2346
|
}
|
|
2352
2347
|
};
|
|
2353
|
-
function
|
|
2348
|
+
function Zt(i) {
|
|
2354
2349
|
console.error("[Glide warn]: ".concat(i));
|
|
2355
2350
|
}
|
|
2356
2351
|
function Ot(i) {
|
|
@@ -2359,7 +2354,7 @@ function Ot(i) {
|
|
|
2359
2354
|
function qn(i) {
|
|
2360
2355
|
return typeof i == "string";
|
|
2361
2356
|
}
|
|
2362
|
-
function
|
|
2357
|
+
function oi(i) {
|
|
2363
2358
|
var t = Xi(i);
|
|
2364
2359
|
return t === "function" || t === "object" && !!i;
|
|
2365
2360
|
}
|
|
@@ -2375,7 +2370,7 @@ function Gn(i) {
|
|
|
2375
2370
|
function su(i, t, e) {
|
|
2376
2371
|
var n = {};
|
|
2377
2372
|
for (var s in t)
|
|
2378
|
-
tn(t[s]) ? n[s] = t[s](i, n, e) :
|
|
2373
|
+
tn(t[s]) ? n[s] = t[s](i, n, e) : Zt("Extension must be a function");
|
|
2379
2374
|
for (var r in n)
|
|
2380
2375
|
tn(n[r].mount) && n[r].mount();
|
|
2381
2376
|
return n;
|
|
@@ -2394,7 +2389,7 @@ function rr(i, t) {
|
|
|
2394
2389
|
}
|
|
2395
2390
|
return t.hasOwnProperty("breakpoints") && (e.breakpoints = Object.assign({}, i.breakpoints, t.breakpoints)), e;
|
|
2396
2391
|
}
|
|
2397
|
-
var ru = /* @__PURE__ */ function() {
|
|
2392
|
+
var ru = /* @__PURE__ */ (function() {
|
|
2398
2393
|
function i() {
|
|
2399
2394
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
2400
2395
|
pn(this, i), this.events = t, this.hop = t.hasOwnProperty;
|
|
@@ -2434,7 +2429,7 @@ var ru = /* @__PURE__ */ function() {
|
|
|
2434
2429
|
});
|
|
2435
2430
|
}
|
|
2436
2431
|
}]), i;
|
|
2437
|
-
}(), ou = /* @__PURE__ */ function() {
|
|
2432
|
+
})(), ou = /* @__PURE__ */ (function() {
|
|
2438
2433
|
function i(t) {
|
|
2439
2434
|
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
2440
2435
|
pn(this, i), this._c = {}, this._t = [], this._e = new ru(), this.disabled = !1, this.selector = t, this.settings = rr(iu, e), this.index = this.settings.startAt;
|
|
@@ -2443,7 +2438,7 @@ var ru = /* @__PURE__ */ function() {
|
|
|
2443
2438
|
key: "mount",
|
|
2444
2439
|
value: function() {
|
|
2445
2440
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
2446
|
-
return this._e.emit("mount.before"),
|
|
2441
|
+
return this._e.emit("mount.before"), oi(e) ? this._c = su(this, e, this._e) : Zt("You need to provide a object on `mount()`"), this._e.emit("mount.after"), this;
|
|
2447
2442
|
}
|
|
2448
2443
|
/**
|
|
2449
2444
|
* Collects an instance `translate` transformers.
|
|
@@ -2455,7 +2450,7 @@ var ru = /* @__PURE__ */ function() {
|
|
|
2455
2450
|
key: "mutate",
|
|
2456
2451
|
value: function() {
|
|
2457
2452
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
|
|
2458
|
-
return Gn(e) ? this._t = e :
|
|
2453
|
+
return Gn(e) ? this._t = e : Zt("You need to provide a array on `mutate()`"), this;
|
|
2459
2454
|
}
|
|
2460
2455
|
/**
|
|
2461
2456
|
* Updates glide with specified settings.
|
|
@@ -2584,7 +2579,7 @@ var ru = /* @__PURE__ */ function() {
|
|
|
2584
2579
|
return this._o;
|
|
2585
2580
|
},
|
|
2586
2581
|
set: function(e) {
|
|
2587
|
-
|
|
2582
|
+
oi(e) ? this._o = e : Zt("Options must be an `object` instance.");
|
|
2588
2583
|
}
|
|
2589
2584
|
/**
|
|
2590
2585
|
* Gets current index of the slider.
|
|
@@ -2623,7 +2618,7 @@ var ru = /* @__PURE__ */ function() {
|
|
|
2623
2618
|
this._d = !!e;
|
|
2624
2619
|
}
|
|
2625
2620
|
}]), i;
|
|
2626
|
-
}();
|
|
2621
|
+
})();
|
|
2627
2622
|
function au(i, t, e) {
|
|
2628
2623
|
var n = {
|
|
2629
2624
|
/**
|
|
@@ -2678,7 +2673,7 @@ function au(i, t, e) {
|
|
|
2678
2673
|
m < 0 && (this._o = !0), i.index = a(m, d);
|
|
2679
2674
|
return;
|
|
2680
2675
|
}
|
|
2681
|
-
|
|
2676
|
+
Zt("Invalid direction pattern [".concat(f).concat(h, "] has been used"));
|
|
2682
2677
|
},
|
|
2683
2678
|
/**
|
|
2684
2679
|
* Checks if we are on the first slide.
|
|
@@ -2793,7 +2788,7 @@ function qo(i, t) {
|
|
|
2793
2788
|
clearTimeout(n), a = 0, n = s = r = null;
|
|
2794
2789
|
}, l;
|
|
2795
2790
|
}
|
|
2796
|
-
var
|
|
2791
|
+
var Ti = {
|
|
2797
2792
|
ltr: ["marginLeft", "marginRight"],
|
|
2798
2793
|
rtl: ["marginRight", "marginLeft"]
|
|
2799
2794
|
};
|
|
@@ -2809,7 +2804,7 @@ function cu(i, t, e) {
|
|
|
2809
2804
|
apply: function(r) {
|
|
2810
2805
|
for (var o = 0, a = r.length; o < a; o++) {
|
|
2811
2806
|
var c = r[o].style, l = t.Direction.value;
|
|
2812
|
-
o !== 0 ? c[
|
|
2807
|
+
o !== 0 ? c[Ti[l][0]] = "".concat(this.value / 2, "px") : c[Ti[l][0]] = "", o !== r.length - 1 ? c[Ti[l][1]] = "".concat(this.value / 2, "px") : c[Ti[l][1]] = "";
|
|
2813
2808
|
}
|
|
2814
2809
|
},
|
|
2815
2810
|
/**
|
|
@@ -2907,7 +2902,7 @@ function uu(i, t, e) {
|
|
|
2907
2902
|
* @return {Object}
|
|
2908
2903
|
*/
|
|
2909
2904
|
set: function(r) {
|
|
2910
|
-
qn(r) && (r = document.querySelector(r)), r !== null ? n._r = r :
|
|
2905
|
+
qn(r) && (r = document.querySelector(r)), r !== null ? n._r = r : Zt("Root element must be a existing Html node");
|
|
2911
2906
|
}
|
|
2912
2907
|
}), G(n, "track", {
|
|
2913
2908
|
/**
|
|
@@ -2966,7 +2961,7 @@ function hu(i, t, e) {
|
|
|
2966
2961
|
* @return {Void}
|
|
2967
2962
|
*/
|
|
2968
2963
|
set: function(r) {
|
|
2969
|
-
|
|
2964
|
+
oi(r) ? (r.before = Ot(r.before), r.after = Ot(r.after)) : r = Ot(r), n._v = r;
|
|
2970
2965
|
}
|
|
2971
2966
|
}), G(n, "reductor", {
|
|
2972
2967
|
/**
|
|
@@ -2976,7 +2971,7 @@ function hu(i, t, e) {
|
|
|
2976
2971
|
*/
|
|
2977
2972
|
get: function() {
|
|
2978
2973
|
var r = n.value, o = i.settings.perView;
|
|
2979
|
-
return
|
|
2974
|
+
return oi(r) ? r.before / o + r.after / o : r * 2 / o;
|
|
2980
2975
|
}
|
|
2981
2976
|
}), e.on(["resize", "update"], function() {
|
|
2982
2977
|
n.mount();
|
|
@@ -3239,7 +3234,7 @@ function pu(i, t, e) {
|
|
|
3239
3234
|
n.remove();
|
|
3240
3235
|
}), n;
|
|
3241
3236
|
}
|
|
3242
|
-
var Qo = /* @__PURE__ */ function() {
|
|
3237
|
+
var Qo = /* @__PURE__ */ (function() {
|
|
3243
3238
|
function i() {
|
|
3244
3239
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
3245
3240
|
pn(this, i), this.listeners = t;
|
|
@@ -3279,7 +3274,7 @@ var Qo = /* @__PURE__ */ function() {
|
|
|
3279
3274
|
delete this.listeners;
|
|
3280
3275
|
}
|
|
3281
3276
|
}]), i;
|
|
3282
|
-
}();
|
|
3277
|
+
})();
|
|
3283
3278
|
function mu(i, t, e) {
|
|
3284
3279
|
var n = new Qo(), s = {
|
|
3285
3280
|
/**
|
|
@@ -3379,7 +3374,7 @@ function xu(i, t, e) {
|
|
|
3379
3374
|
* @return {Void}
|
|
3380
3375
|
*/
|
|
3381
3376
|
set: function(r) {
|
|
3382
|
-
bu.indexOf(r) > -1 ? n._v = r :
|
|
3377
|
+
bu.indexOf(r) > -1 ? n._v = r : Zt("Direction value must be `ltr` or `rtl`");
|
|
3383
3378
|
}
|
|
3384
3379
|
}), e.on(["destroy", "update"], function() {
|
|
3385
3380
|
n.removeClass();
|
|
@@ -3440,7 +3435,7 @@ function Su(i, t) {
|
|
|
3440
3435
|
modify: function(n) {
|
|
3441
3436
|
if (i.settings.focusAt >= 0) {
|
|
3442
3437
|
var s = t.Peek.value;
|
|
3443
|
-
return
|
|
3438
|
+
return oi(s) ? n - s.before : n - s;
|
|
3444
3439
|
}
|
|
3445
3440
|
return n;
|
|
3446
3441
|
}
|
|
@@ -3472,7 +3467,7 @@ function Au(i, t, e) {
|
|
|
3472
3467
|
mutate: function(r) {
|
|
3473
3468
|
for (var o = 0; o < n.length; o++) {
|
|
3474
3469
|
var a = n[o];
|
|
3475
|
-
tn(a) && tn(a().modify) ? r = a(i, t, e).modify(r) :
|
|
3470
|
+
tn(a) && tn(a().modify) ? r = a(i, t, e).modify(r) : Zt("Transformer should be a function that returns an object with `modify()` method");
|
|
3476
3471
|
}
|
|
3477
3472
|
return r;
|
|
3478
3473
|
}
|
|
@@ -3790,7 +3785,7 @@ var Pu = {
|
|
|
3790
3785
|
Resize: mu,
|
|
3791
3786
|
Build: gu,
|
|
3792
3787
|
Run: au
|
|
3793
|
-
}, Ru = /* @__PURE__ */ function(i) {
|
|
3788
|
+
}, Ru = /* @__PURE__ */ (function(i) {
|
|
3794
3789
|
Gl(e, i);
|
|
3795
3790
|
var t = tu(e);
|
|
3796
3791
|
function e() {
|
|
@@ -3800,10 +3795,10 @@ var Pu = {
|
|
|
3800
3795
|
key: "mount",
|
|
3801
3796
|
value: function() {
|
|
3802
3797
|
var s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
3803
|
-
return Ki(
|
|
3798
|
+
return Ki(Pe(e.prototype), "mount", this).call(this, Object.assign({}, Pu, s));
|
|
3804
3799
|
}
|
|
3805
3800
|
}]), e;
|
|
3806
|
-
}(ou);
|
|
3801
|
+
})(ou);
|
|
3807
3802
|
function en({ children: i, cssClass: t = "" }) {
|
|
3808
3803
|
const e = q.useRef(null);
|
|
3809
3804
|
return q.useEffect(() => {
|
|
@@ -3874,7 +3869,7 @@ function ju({ children: i, maxHeight: t = "400px" }) {
|
|
|
3874
3869
|
return /* @__PURE__ */ v.jsx("div", { className: "scroll-text", children: /* @__PURE__ */ v.jsx("div", { className: "scroll-text-inner", style: { maxHeight: t }, children: i }) });
|
|
3875
3870
|
}
|
|
3876
3871
|
const Fu = "https://allocations.access-ci.org/current-projects.json";
|
|
3877
|
-
function
|
|
3872
|
+
function Ei({ icon: i, text: t, title: e }) {
|
|
3878
3873
|
if (t)
|
|
3879
3874
|
return /* @__PURE__ */ v.jsxs("abbr", { className: "project-meta", title: e, children: [
|
|
3880
3875
|
/* @__PURE__ */ v.jsx(U, { name: i }),
|
|
@@ -3882,7 +3877,7 @@ function Ti({ icon: i, text: t, title: e }) {
|
|
|
3882
3877
|
] });
|
|
3883
3878
|
}
|
|
3884
3879
|
function Iu({ infoGroupId: i }) {
|
|
3885
|
-
const t =
|
|
3880
|
+
const t = fi(i), e = mt(
|
|
3886
3881
|
t ? `${Fu}?${t.infoResourceIds.map((s) => `info_resourceids[]=${s}`).join("&")}` : null
|
|
3887
3882
|
);
|
|
3888
3883
|
if (!e || !e.projects || !e.projects.length) return null;
|
|
@@ -3898,7 +3893,7 @@ function Iu({ infoGroupId: i }) {
|
|
|
3898
3893
|
/* @__PURE__ */ v.jsx("h3", { children: s.requestTitle }),
|
|
3899
3894
|
/* @__PURE__ */ v.jsxs("div", { className: "project-metadata", children: [
|
|
3900
3895
|
/* @__PURE__ */ v.jsx(
|
|
3901
|
-
|
|
3896
|
+
Ei,
|
|
3902
3897
|
{
|
|
3903
3898
|
icon: "cash-coin",
|
|
3904
3899
|
text: s.allocationType,
|
|
@@ -3906,7 +3901,7 @@ function Iu({ infoGroupId: i }) {
|
|
|
3906
3901
|
}
|
|
3907
3902
|
),
|
|
3908
3903
|
/* @__PURE__ */ v.jsx(
|
|
3909
|
-
|
|
3904
|
+
Ei,
|
|
3910
3905
|
{
|
|
3911
3906
|
icon: "person-fill",
|
|
3912
3907
|
text: `${s.pi} (${s.piInstitution})`,
|
|
@@ -3914,7 +3909,7 @@ function Iu({ infoGroupId: i }) {
|
|
|
3914
3909
|
}
|
|
3915
3910
|
),
|
|
3916
3911
|
/* @__PURE__ */ v.jsx(
|
|
3917
|
-
|
|
3912
|
+
Ei,
|
|
3918
3913
|
{
|
|
3919
3914
|
icon: "folder",
|
|
3920
3915
|
text: s.fos,
|
|
@@ -3922,7 +3917,7 @@ function Iu({ infoGroupId: i }) {
|
|
|
3922
3917
|
}
|
|
3923
3918
|
),
|
|
3924
3919
|
/* @__PURE__ */ v.jsx(
|
|
3925
|
-
|
|
3920
|
+
Ei,
|
|
3926
3921
|
{
|
|
3927
3922
|
icon: "calendar-range",
|
|
3928
3923
|
text: [s.beginDate, s.endDate].map(
|
|
@@ -3947,29 +3942,23 @@ function Iu({ infoGroupId: i }) {
|
|
|
3947
3942
|
] })
|
|
3948
3943
|
] }, s.requestTitle)) }) });
|
|
3949
3944
|
}
|
|
3950
|
-
|
|
3951
|
-
* @kurkle/color v0.3.4
|
|
3952
|
-
* https://github.com/kurkle/color#readme
|
|
3953
|
-
* (c) 2024 Jukka Kurkela
|
|
3954
|
-
* Released under the MIT License
|
|
3955
|
-
*/
|
|
3956
|
-
function pi(i) {
|
|
3945
|
+
function mi(i) {
|
|
3957
3946
|
return i + 0.5 | 0;
|
|
3958
3947
|
}
|
|
3959
3948
|
const qt = (i, t, e) => Math.max(Math.min(i, e), t);
|
|
3960
|
-
function
|
|
3961
|
-
return qt(
|
|
3949
|
+
function qe(i) {
|
|
3950
|
+
return qt(mi(i * 2.55), 0, 255);
|
|
3962
3951
|
}
|
|
3963
|
-
function
|
|
3964
|
-
return qt(
|
|
3952
|
+
function Jt(i) {
|
|
3953
|
+
return qt(mi(i * 255), 0, 255);
|
|
3965
3954
|
}
|
|
3966
3955
|
function $t(i) {
|
|
3967
|
-
return qt(
|
|
3956
|
+
return qt(mi(i / 2.55) / 100, 0, 1);
|
|
3968
3957
|
}
|
|
3969
3958
|
function lr(i) {
|
|
3970
|
-
return qt(
|
|
3959
|
+
return qt(mi(i * 100), 0, 100);
|
|
3971
3960
|
}
|
|
3972
|
-
const yt = { 0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, A: 10, B: 11, C: 12, D: 13, E: 14, F: 15, a: 10, b: 11, c: 12, d: 13, e: 14, f: 15 }, Zn = [..."0123456789ABCDEF"], Bu = (i) => Zn[i & 15], zu = (i) => Zn[(i & 240) >> 4] + Zn[i & 15],
|
|
3961
|
+
const yt = { 0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, A: 10, B: 11, C: 12, D: 13, E: 14, F: 15, a: 10, b: 11, c: 12, d: 13, e: 14, f: 15 }, Zn = [..."0123456789ABCDEF"], Bu = (i) => Zn[i & 15], zu = (i) => Zn[(i & 240) >> 4] + Zn[i & 15], Pi = (i) => (i & 240) >> 4 === (i & 15), Nu = (i) => Pi(i.r) && Pi(i.g) && Pi(i.b) && Pi(i.a);
|
|
3973
3962
|
function Hu(i) {
|
|
3974
3963
|
var t = i.length, e;
|
|
3975
3964
|
return i[0] === "#" && (t === 4 || t === 5 ? e = {
|
|
@@ -4014,7 +4003,7 @@ function ys(i) {
|
|
|
4014
4003
|
return r !== o && (u = r - o, l = a > 0.5 ? u / (2 - r - o) : u / (r + o), c = Xu(e, n, s, u, r), c = c * 60 + 0.5), [c | 0, l || 0, a];
|
|
4015
4004
|
}
|
|
4016
4005
|
function _s(i, t, e, n) {
|
|
4017
|
-
return (Array.isArray(t) ? i(t[0], t[1], t[2]) : i(t, e, n)).map(
|
|
4006
|
+
return (Array.isArray(t) ? i(t[0], t[1], t[2]) : i(t, e, n)).map(Jt);
|
|
4018
4007
|
}
|
|
4019
4008
|
function ws(i, t, e) {
|
|
4020
4009
|
return _s(ta, i, t, e);
|
|
@@ -4033,7 +4022,7 @@ function Gu(i) {
|
|
|
4033
4022
|
let e = 255, n;
|
|
4034
4023
|
if (!t)
|
|
4035
4024
|
return;
|
|
4036
|
-
t[5] !== n && (e = t[6] ?
|
|
4025
|
+
t[5] !== n && (e = t[6] ? qe(+t[5]) : Jt(+t[5]));
|
|
4037
4026
|
const s = ea(+t[2]), r = +t[3] / 100, o = +t[4] / 100;
|
|
4038
4027
|
return t[1] === "hwb" ? n = Ku(s, r, o) : t[1] === "hsv" ? n = qu(s, r, o) : n = ws(s, r, o), {
|
|
4039
4028
|
r: n[0],
|
|
@@ -4240,10 +4229,10 @@ function Ju() {
|
|
|
4240
4229
|
}
|
|
4241
4230
|
return i;
|
|
4242
4231
|
}
|
|
4243
|
-
let
|
|
4232
|
+
let Ri;
|
|
4244
4233
|
function th(i) {
|
|
4245
|
-
|
|
4246
|
-
const t =
|
|
4234
|
+
Ri || (Ri = Ju(), Ri.transparent = [0, 0, 0, 0]);
|
|
4235
|
+
const t = Ri[i.toLowerCase()];
|
|
4247
4236
|
return t && {
|
|
4248
4237
|
r: t[0],
|
|
4249
4238
|
g: t[1],
|
|
@@ -4258,9 +4247,9 @@ function ih(i) {
|
|
|
4258
4247
|
if (t) {
|
|
4259
4248
|
if (t[7] !== n) {
|
|
4260
4249
|
const o = +t[7];
|
|
4261
|
-
e = t[8] ?
|
|
4250
|
+
e = t[8] ? qe(o) : qt(o * 255, 0, 255);
|
|
4262
4251
|
}
|
|
4263
|
-
return n = +t[1], s = +t[3], r = +t[5], n = 255 & (t[2] ?
|
|
4252
|
+
return n = +t[1], s = +t[3], r = +t[5], n = 255 & (t[2] ? qe(n) : qt(n, 0, 255)), s = 255 & (t[4] ? qe(s) : qt(s, 0, 255)), r = 255 & (t[6] ? qe(r) : qt(r, 0, 255)), {
|
|
4264
4253
|
r: n,
|
|
4265
4254
|
g: s,
|
|
4266
4255
|
b: r,
|
|
@@ -4271,17 +4260,17 @@ function ih(i) {
|
|
|
4271
4260
|
function nh(i) {
|
|
4272
4261
|
return i && (i.a < 255 ? `rgba(${i.r}, ${i.g}, ${i.b}, ${$t(i.a)})` : `rgb(${i.r}, ${i.g}, ${i.b})`);
|
|
4273
4262
|
}
|
|
4274
|
-
const Dn = (i) => i <= 31308e-7 ? i * 12.92 : Math.pow(i, 1 / 2.4) * 1.055 - 0.055,
|
|
4263
|
+
const Dn = (i) => i <= 31308e-7 ? i * 12.92 : Math.pow(i, 1 / 2.4) * 1.055 - 0.055, Se = (i) => i <= 0.04045 ? i / 12.92 : Math.pow((i + 0.055) / 1.055, 2.4);
|
|
4275
4264
|
function sh(i, t, e) {
|
|
4276
|
-
const n =
|
|
4265
|
+
const n = Se($t(i.r)), s = Se($t(i.g)), r = Se($t(i.b));
|
|
4277
4266
|
return {
|
|
4278
|
-
r:
|
|
4279
|
-
g:
|
|
4280
|
-
b:
|
|
4267
|
+
r: Jt(Dn(n + e * (Se($t(t.r)) - n))),
|
|
4268
|
+
g: Jt(Dn(s + e * (Se($t(t.g)) - s))),
|
|
4269
|
+
b: Jt(Dn(r + e * (Se($t(t.b)) - r))),
|
|
4281
4270
|
a: i.a + e * (t.a - i.a)
|
|
4282
4271
|
};
|
|
4283
4272
|
}
|
|
4284
|
-
function
|
|
4273
|
+
function Li(i, t, e) {
|
|
4285
4274
|
if (i) {
|
|
4286
4275
|
let n = ys(i);
|
|
4287
4276
|
n[t] = Math.max(0, Math.min(n[t] + n[t] * e, t === 0 ? 360 : 1)), n = ws(n), i.r = n[0], i.g = n[1], i.b = n[2];
|
|
@@ -4292,14 +4281,14 @@ function ia(i, t) {
|
|
|
4292
4281
|
}
|
|
4293
4282
|
function fr(i) {
|
|
4294
4283
|
var t = { r: 0, g: 0, b: 0, a: 255 };
|
|
4295
|
-
return Array.isArray(i) ? i.length >= 3 && (t = { r: i[0], g: i[1], b: i[2], a: 255 }, i.length > 3 && (t.a =
|
|
4284
|
+
return Array.isArray(i) ? i.length >= 3 && (t = { r: i[0], g: i[1], b: i[2], a: 255 }, i.length > 3 && (t.a = Jt(i[3]))) : (t = ia(i, { r: 0, g: 0, b: 0, a: 1 }), t.a = Jt(t.a)), t;
|
|
4296
4285
|
}
|
|
4297
4286
|
function rh(i) {
|
|
4298
4287
|
return i.charAt(0) === "r" ? ih(i) : Gu(i);
|
|
4299
4288
|
}
|
|
4300
|
-
class
|
|
4289
|
+
class ai {
|
|
4301
4290
|
constructor(t) {
|
|
4302
|
-
if (t instanceof
|
|
4291
|
+
if (t instanceof ai)
|
|
4303
4292
|
return t;
|
|
4304
4293
|
const e = typeof t;
|
|
4305
4294
|
let n;
|
|
@@ -4337,17 +4326,17 @@ class oi {
|
|
|
4337
4326
|
return t && (this._rgb = sh(this._rgb, t._rgb, e)), this;
|
|
4338
4327
|
}
|
|
4339
4328
|
clone() {
|
|
4340
|
-
return new
|
|
4329
|
+
return new ai(this.rgb);
|
|
4341
4330
|
}
|
|
4342
4331
|
alpha(t) {
|
|
4343
|
-
return this._rgb.a =
|
|
4332
|
+
return this._rgb.a = Jt(t), this;
|
|
4344
4333
|
}
|
|
4345
4334
|
clearer(t) {
|
|
4346
4335
|
const e = this._rgb;
|
|
4347
4336
|
return e.a *= 1 - t, this;
|
|
4348
4337
|
}
|
|
4349
4338
|
greyscale() {
|
|
4350
|
-
const t = this._rgb, e =
|
|
4339
|
+
const t = this._rgb, e = mi(t.r * 0.3 + t.g * 0.59 + t.b * 0.11);
|
|
4351
4340
|
return t.r = t.g = t.b = e, this;
|
|
4352
4341
|
}
|
|
4353
4342
|
opaquer(t) {
|
|
@@ -4359,27 +4348,21 @@ class oi {
|
|
|
4359
4348
|
return t.r = 255 - t.r, t.g = 255 - t.g, t.b = 255 - t.b, this;
|
|
4360
4349
|
}
|
|
4361
4350
|
lighten(t) {
|
|
4362
|
-
return
|
|
4351
|
+
return Li(this._rgb, 2, t), this;
|
|
4363
4352
|
}
|
|
4364
4353
|
darken(t) {
|
|
4365
|
-
return
|
|
4354
|
+
return Li(this._rgb, 2, -t), this;
|
|
4366
4355
|
}
|
|
4367
4356
|
saturate(t) {
|
|
4368
|
-
return
|
|
4357
|
+
return Li(this._rgb, 1, t), this;
|
|
4369
4358
|
}
|
|
4370
4359
|
desaturate(t) {
|
|
4371
|
-
return
|
|
4360
|
+
return Li(this._rgb, 1, -t), this;
|
|
4372
4361
|
}
|
|
4373
4362
|
rotate(t) {
|
|
4374
4363
|
return Qu(this._rgb, t), this;
|
|
4375
4364
|
}
|
|
4376
4365
|
}
|
|
4377
|
-
/*!
|
|
4378
|
-
* Chart.js v4.5.0
|
|
4379
|
-
* https://www.chartjs.org
|
|
4380
|
-
* (c) 2025 Chart.js Contributors
|
|
4381
|
-
* Released under the MIT License
|
|
4382
|
-
*/
|
|
4383
4366
|
function Ht() {
|
|
4384
4367
|
}
|
|
4385
4368
|
const oh = /* @__PURE__ */ (() => {
|
|
@@ -4453,9 +4436,9 @@ function ch(i, t, e, n) {
|
|
|
4453
4436
|
if (!sa(i))
|
|
4454
4437
|
return;
|
|
4455
4438
|
const s = t[i], r = e[i];
|
|
4456
|
-
z(s) && z(r) ?
|
|
4439
|
+
z(s) && z(r) ? ci(s, r, n) : t[i] = sn(r);
|
|
4457
4440
|
}
|
|
4458
|
-
function
|
|
4441
|
+
function ci(i, t, e) {
|
|
4459
4442
|
const n = Q(t) ? t : [
|
|
4460
4443
|
t
|
|
4461
4444
|
], s = n.length;
|
|
@@ -4473,8 +4456,8 @@ function ai(i, t, e) {
|
|
|
4473
4456
|
}
|
|
4474
4457
|
return i;
|
|
4475
4458
|
}
|
|
4476
|
-
function
|
|
4477
|
-
return
|
|
4459
|
+
function ei(i, t) {
|
|
4460
|
+
return ci(i, t, {
|
|
4478
4461
|
merger: lh
|
|
4479
4462
|
});
|
|
4480
4463
|
}
|
|
@@ -4482,7 +4465,7 @@ function lh(i, t, e) {
|
|
|
4482
4465
|
if (!sa(i))
|
|
4483
4466
|
return;
|
|
4484
4467
|
const n = t[i], s = e[i];
|
|
4485
|
-
z(n) && z(s) ?
|
|
4468
|
+
z(n) && z(s) ? ei(n, s) : Object.prototype.hasOwnProperty.call(t, i) || (t[i] = sn(s));
|
|
4486
4469
|
}
|
|
4487
4470
|
const dr = {
|
|
4488
4471
|
// Chart.helpers.core resolveObjectKey should resolve empty key to root object
|
|
@@ -4509,13 +4492,13 @@ function hh(i) {
|
|
|
4509
4492
|
return e;
|
|
4510
4493
|
};
|
|
4511
4494
|
}
|
|
4512
|
-
function
|
|
4495
|
+
function ee(i, t) {
|
|
4513
4496
|
return (dr[t] || (dr[t] = hh(t)))(i);
|
|
4514
4497
|
}
|
|
4515
4498
|
function Ss(i) {
|
|
4516
4499
|
return i.charAt(0).toUpperCase() + i.slice(1);
|
|
4517
4500
|
}
|
|
4518
|
-
const
|
|
4501
|
+
const li = (i) => typeof i < "u", ie = (i) => typeof i == "function", gr = (i, t) => {
|
|
4519
4502
|
if (i.size !== t.size)
|
|
4520
4503
|
return !1;
|
|
4521
4504
|
for (const e of i)
|
|
@@ -4526,7 +4509,7 @@ const ci = (i) => typeof i < "u", ee = (i) => typeof i == "function", gr = (i, t
|
|
|
4526
4509
|
function fh(i) {
|
|
4527
4510
|
return i.type === "mouseup" || i.type === "click" || i.type === "contextmenu";
|
|
4528
4511
|
}
|
|
4529
|
-
const Z = Math.PI, gt = 2 * Z, rn = Number.POSITIVE_INFINITY, dh = Z / 180, pt = Z / 2,
|
|
4512
|
+
const Z = Math.PI, gt = 2 * Z, rn = Number.POSITIVE_INFINITY, dh = Z / 180, pt = Z / 2, ae = Z / 4, pr = Z * 2 / 3, ra = Math.log10, te = Math.sign;
|
|
4530
4513
|
function qi(i, t, e) {
|
|
4531
4514
|
return Math.abs(i - t) < e;
|
|
4532
4515
|
}
|
|
@@ -4583,11 +4566,11 @@ function xh(i, t) {
|
|
|
4583
4566
|
function yh(i, t) {
|
|
4584
4567
|
return Math.sqrt(Math.pow(t.x - i.x, 2) + Math.pow(t.y - i.y, 2));
|
|
4585
4568
|
}
|
|
4586
|
-
function
|
|
4569
|
+
function ce(i) {
|
|
4587
4570
|
return (i % gt + gt) % gt;
|
|
4588
4571
|
}
|
|
4589
4572
|
function Jn(i, t, e, n) {
|
|
4590
|
-
const s =
|
|
4573
|
+
const s = ce(i), r = ce(t), o = ce(e), a = ce(r - s), c = ce(o - s), l = ce(s - r), u = ce(s - o);
|
|
4591
4574
|
return s === r || s === o || n && r === o || a > c && l < u;
|
|
4592
4575
|
}
|
|
4593
4576
|
function Ct(i, t, e) {
|
|
@@ -4596,7 +4579,7 @@ function Ct(i, t, e) {
|
|
|
4596
4579
|
function _h(i) {
|
|
4597
4580
|
return Ct(i, -32768, 32767);
|
|
4598
4581
|
}
|
|
4599
|
-
function
|
|
4582
|
+
function Ae(i, t, e, n = 1e-6) {
|
|
4600
4583
|
return i >= Math.min(t, e) - n && i <= Math.max(t, e) + n;
|
|
4601
4584
|
}
|
|
4602
4585
|
function ks(i, t, e) {
|
|
@@ -4668,11 +4651,11 @@ function aa(i) {
|
|
|
4668
4651
|
const t = new Set(i);
|
|
4669
4652
|
return t.size === i.length ? i : Array.from(t);
|
|
4670
4653
|
}
|
|
4671
|
-
const ca = function() {
|
|
4654
|
+
const ca = (function() {
|
|
4672
4655
|
return typeof window > "u" ? function(i) {
|
|
4673
4656
|
return i();
|
|
4674
4657
|
} : window.requestAnimationFrame;
|
|
4675
|
-
}();
|
|
4658
|
+
})();
|
|
4676
4659
|
function la(i, t) {
|
|
4677
4660
|
let e = [], n = !1;
|
|
4678
4661
|
return function(...s) {
|
|
@@ -4687,7 +4670,7 @@ function Ah(i, t) {
|
|
|
4687
4670
|
return t ? (clearTimeout(e), e = setTimeout(i, t, n)) : i.apply(this, n), t;
|
|
4688
4671
|
};
|
|
4689
4672
|
}
|
|
4690
|
-
const As = (i) => i === "start" ? "left" : i === "end" ? "right" : "center", st = (i, t, e) => i === "start" ? t : i === "end" ? e : (t + e) / 2, Mh = (i, t, e, n) => i === (n ? "left" : "right") ? e : i === "center" ? (t + e) / 2 : t,
|
|
4673
|
+
const As = (i) => i === "start" ? "left" : i === "end" ? "right" : "center", st = (i, t, e) => i === "start" ? t : i === "end" ? e : (t + e) / 2, Mh = (i, t, e, n) => i === (n ? "left" : "right") ? e : i === "center" ? (t + e) / 2 : t, ji = (i) => i === 0 || i === 1, xr = (i, t, e) => -(Math.pow(2, 10 * (i -= 1)) * Math.sin((i - t) * gt / e)), yr = (i, t, e) => Math.pow(2, -10 * i) * Math.sin((i - t) * gt / e) + 1, ii = {
|
|
4691
4674
|
linear: (i) => i,
|
|
4692
4675
|
easeInQuad: (i) => i * i,
|
|
4693
4676
|
easeOutQuad: (i) => -i * (i - 2),
|
|
@@ -4706,14 +4689,14 @@ const As = (i) => i === "start" ? "left" : i === "end" ? "right" : "center", st
|
|
|
4706
4689
|
easeInOutSine: (i) => -0.5 * (Math.cos(Z * i) - 1),
|
|
4707
4690
|
easeInExpo: (i) => i === 0 ? 0 : Math.pow(2, 10 * (i - 1)),
|
|
4708
4691
|
easeOutExpo: (i) => i === 1 ? 1 : -Math.pow(2, -10 * i) + 1,
|
|
4709
|
-
easeInOutExpo: (i) =>
|
|
4692
|
+
easeInOutExpo: (i) => ji(i) ? i : i < 0.5 ? 0.5 * Math.pow(2, 10 * (i * 2 - 1)) : 0.5 * (-Math.pow(2, -10 * (i * 2 - 1)) + 2),
|
|
4710
4693
|
easeInCirc: (i) => i >= 1 ? i : -(Math.sqrt(1 - i * i) - 1),
|
|
4711
4694
|
easeOutCirc: (i) => Math.sqrt(1 - (i -= 1) * i),
|
|
4712
4695
|
easeInOutCirc: (i) => (i /= 0.5) < 1 ? -0.5 * (Math.sqrt(1 - i * i) - 1) : 0.5 * (Math.sqrt(1 - (i -= 2) * i) + 1),
|
|
4713
|
-
easeInElastic: (i) =>
|
|
4714
|
-
easeOutElastic: (i) =>
|
|
4696
|
+
easeInElastic: (i) => ji(i) ? i : xr(i, 0.075, 0.3),
|
|
4697
|
+
easeOutElastic: (i) => ji(i) ? i : yr(i, 0.075, 0.3),
|
|
4715
4698
|
easeInOutElastic(i) {
|
|
4716
|
-
return
|
|
4699
|
+
return ji(i) ? i : i < 0.5 ? 0.5 * xr(i * 2, 0.1125, 0.45) : 0.5 + 0.5 * yr(i * 2 - 1, 0.1125, 0.45);
|
|
4717
4700
|
},
|
|
4718
4701
|
easeInBack(i) {
|
|
4719
4702
|
return i * i * ((1.70158 + 1) * i - 1.70158);
|
|
@@ -4725,11 +4708,11 @@ const As = (i) => i === "start" ? "left" : i === "end" ? "right" : "center", st
|
|
|
4725
4708
|
let t = 1.70158;
|
|
4726
4709
|
return (i /= 0.5) < 1 ? 0.5 * (i * i * (((t *= 1.525) + 1) * i - t)) : 0.5 * ((i -= 2) * i * (((t *= 1.525) + 1) * i + t) + 2);
|
|
4727
4710
|
},
|
|
4728
|
-
easeInBounce: (i) => 1 -
|
|
4711
|
+
easeInBounce: (i) => 1 - ii.easeOutBounce(1 - i),
|
|
4729
4712
|
easeOutBounce(i) {
|
|
4730
4713
|
return i < 1 / 2.75 ? 7.5625 * i * i : i < 2 / 2.75 ? 7.5625 * (i -= 1.5 / 2.75) * i + 0.75 : i < 2.5 / 2.75 ? 7.5625 * (i -= 2.25 / 2.75) * i + 0.9375 : 7.5625 * (i -= 2.625 / 2.75) * i + 0.984375;
|
|
4731
4714
|
},
|
|
4732
|
-
easeInOutBounce: (i) => i < 0.5 ?
|
|
4715
|
+
easeInOutBounce: (i) => i < 0.5 ? ii.easeInBounce(i * 2) * 0.5 : ii.easeOutBounce(i * 2 - 1) * 0.5 + 0.5
|
|
4733
4716
|
};
|
|
4734
4717
|
function ua(i) {
|
|
4735
4718
|
if (i && typeof i == "object") {
|
|
@@ -4739,10 +4722,10 @@ function ua(i) {
|
|
|
4739
4722
|
return !1;
|
|
4740
4723
|
}
|
|
4741
4724
|
function _r(i) {
|
|
4742
|
-
return ua(i) ? i : new
|
|
4725
|
+
return ua(i) ? i : new ai(i);
|
|
4743
4726
|
}
|
|
4744
4727
|
function Cn(i) {
|
|
4745
|
-
return ua(i) ? i : new
|
|
4728
|
+
return ua(i) ? i : new ai(i).saturate(0.5).darken(0.1).hexString();
|
|
4746
4729
|
}
|
|
4747
4730
|
const Oh = [
|
|
4748
4731
|
"x",
|
|
@@ -4929,8 +4912,8 @@ function Lh(i) {
|
|
|
4929
4912
|
_indexable: (t) => t !== "backdropPadding"
|
|
4930
4913
|
});
|
|
4931
4914
|
}
|
|
4932
|
-
const
|
|
4933
|
-
function
|
|
4915
|
+
const be = /* @__PURE__ */ Object.create(null), es = /* @__PURE__ */ Object.create(null);
|
|
4916
|
+
function ni(i, t) {
|
|
4934
4917
|
if (!t)
|
|
4935
4918
|
return i;
|
|
4936
4919
|
const e = t.split(".");
|
|
@@ -4941,7 +4924,7 @@ function ii(i, t) {
|
|
|
4941
4924
|
return i;
|
|
4942
4925
|
}
|
|
4943
4926
|
function Tn(i, t, e) {
|
|
4944
|
-
return typeof t == "string" ?
|
|
4927
|
+
return typeof t == "string" ? ci(ni(i, t), e) : ci(ni(i, ""), t);
|
|
4945
4928
|
}
|
|
4946
4929
|
class jh {
|
|
4947
4930
|
constructor(t, e) {
|
|
@@ -4967,16 +4950,16 @@ class jh {
|
|
|
4967
4950
|
return Tn(this, t, e);
|
|
4968
4951
|
}
|
|
4969
4952
|
get(t) {
|
|
4970
|
-
return
|
|
4953
|
+
return ni(this, t);
|
|
4971
4954
|
}
|
|
4972
4955
|
describe(t, e) {
|
|
4973
4956
|
return Tn(es, t, e);
|
|
4974
4957
|
}
|
|
4975
4958
|
override(t, e) {
|
|
4976
|
-
return Tn(
|
|
4959
|
+
return Tn(be, t, e);
|
|
4977
4960
|
}
|
|
4978
4961
|
route(t, e, n, s) {
|
|
4979
|
-
const r =
|
|
4962
|
+
const r = ni(this, t), o = ni(this, n), a = "_" + e;
|
|
4980
4963
|
Object.defineProperties(r, {
|
|
4981
4964
|
[a]: {
|
|
4982
4965
|
value: r[e],
|
|
@@ -5020,7 +5003,7 @@ function Sr(i, t, e, n, s) {
|
|
|
5020
5003
|
let r = t[s];
|
|
5021
5004
|
return r || (r = t[s] = i.measureText(s).width, e.push(s)), r > n && (n = r), n;
|
|
5022
5005
|
}
|
|
5023
|
-
function
|
|
5006
|
+
function le(i, t, e) {
|
|
5024
5007
|
const n = i.currentDevicePixelRatio, s = e !== 0 ? Math.max(e / 2, 0.5) : 0;
|
|
5025
5008
|
return Math.round((t - s) * n) / n + s;
|
|
5026
5009
|
}
|
|
@@ -5048,26 +5031,26 @@ function fa(i, t, e, n, s) {
|
|
|
5048
5031
|
u = s ? s / 2 : m, i.moveTo(e + Math.sin(b) * u, n - Math.cos(b) * m), b += pr, i.lineTo(e + Math.sin(b) * u, n - Math.cos(b) * m), b += pr, i.lineTo(e + Math.sin(b) * u, n - Math.cos(b) * m), i.closePath();
|
|
5049
5032
|
break;
|
|
5050
5033
|
case "rectRounded":
|
|
5051
|
-
l = m * 0.516, c = m - l, o = Math.cos(b +
|
|
5034
|
+
l = m * 0.516, c = m - l, o = Math.cos(b + ae) * c, h = Math.cos(b + ae) * (s ? s / 2 - l : c), a = Math.sin(b + ae) * c, f = Math.sin(b + ae) * (s ? s / 2 - l : c), i.arc(e - h, n - a, l, b - Z, b - pt), i.arc(e + f, n - o, l, b - pt, b), i.arc(e + h, n + a, l, b, b + pt), i.arc(e - f, n + o, l, b + pt, b + Z), i.closePath();
|
|
5052
5035
|
break;
|
|
5053
5036
|
case "rect":
|
|
5054
5037
|
if (!g) {
|
|
5055
5038
|
c = Math.SQRT1_2 * m, u = s ? s / 2 : c, i.rect(e - u, n - c, 2 * u, 2 * c);
|
|
5056
5039
|
break;
|
|
5057
5040
|
}
|
|
5058
|
-
b +=
|
|
5041
|
+
b += ae;
|
|
5059
5042
|
/* falls through */
|
|
5060
5043
|
case "rectRot":
|
|
5061
5044
|
h = Math.cos(b) * (s ? s / 2 : m), o = Math.cos(b) * m, a = Math.sin(b) * m, f = Math.sin(b) * (s ? s / 2 : m), i.moveTo(e - h, n - a), i.lineTo(e + f, n - o), i.lineTo(e + h, n + a), i.lineTo(e - f, n + o), i.closePath();
|
|
5062
5045
|
break;
|
|
5063
5046
|
case "crossRot":
|
|
5064
|
-
b +=
|
|
5047
|
+
b += ae;
|
|
5065
5048
|
/* falls through */
|
|
5066
5049
|
case "cross":
|
|
5067
5050
|
h = Math.cos(b) * (s ? s / 2 : m), o = Math.cos(b) * m, a = Math.sin(b) * m, f = Math.sin(b) * (s ? s / 2 : m), i.moveTo(e - h, n - a), i.lineTo(e + h, n + a), i.moveTo(e + f, n - o), i.lineTo(e - f, n + o);
|
|
5068
5051
|
break;
|
|
5069
5052
|
case "star":
|
|
5070
|
-
h = Math.cos(b) * (s ? s / 2 : m), o = Math.cos(b) * m, a = Math.sin(b) * m, f = Math.sin(b) * (s ? s / 2 : m), i.moveTo(e - h, n - a), i.lineTo(e + h, n + a), i.moveTo(e + f, n - o), i.lineTo(e - f, n + o), b +=
|
|
5053
|
+
h = Math.cos(b) * (s ? s / 2 : m), o = Math.cos(b) * m, a = Math.sin(b) * m, f = Math.sin(b) * (s ? s / 2 : m), i.moveTo(e - h, n - a), i.lineTo(e + h, n + a), i.moveTo(e + f, n - o), i.lineTo(e - f, n + o), b += ae, h = Math.cos(b) * (s ? s / 2 : m), o = Math.cos(b) * m, a = Math.sin(b) * m, f = Math.sin(b) * (s ? s / 2 : m), i.moveTo(e - h, n - a), i.lineTo(e + h, n + a), i.moveTo(e + f, n - o), i.lineTo(e - f, n + o);
|
|
5071
5054
|
break;
|
|
5072
5055
|
case "line":
|
|
5073
5056
|
o = s ? s / 2 : Math.cos(b) * m, a = Math.sin(b) * m, i.moveTo(e - o, n - a), i.lineTo(e + o, n + a);
|
|
@@ -5104,7 +5087,7 @@ function zh(i, t) {
|
|
|
5104
5087
|
const e = i.fillStyle;
|
|
5105
5088
|
i.fillStyle = t.color, i.fillRect(t.left, t.top, t.width, t.height), i.fillStyle = e;
|
|
5106
5089
|
}
|
|
5107
|
-
function
|
|
5090
|
+
function ui(i, t, e, n, s, r = {}) {
|
|
5108
5091
|
const o = Q(t) ? t : [
|
|
5109
5092
|
t
|
|
5110
5093
|
], a = r.strokeWidth > 0 && r.strokeColor !== "";
|
|
@@ -5146,7 +5129,7 @@ function pa(i) {
|
|
|
5146
5129
|
left: "x"
|
|
5147
5130
|
});
|
|
5148
5131
|
}
|
|
5149
|
-
function
|
|
5132
|
+
function Me(i) {
|
|
5150
5133
|
return ga(i, [
|
|
5151
5134
|
"topLeft",
|
|
5152
5135
|
"topRight",
|
|
@@ -5174,7 +5157,7 @@ function rt(i, t) {
|
|
|
5174
5157
|
};
|
|
5175
5158
|
return s.string = Fh(s), s;
|
|
5176
5159
|
}
|
|
5177
|
-
function
|
|
5160
|
+
function Fi(i, t, e, n) {
|
|
5178
5161
|
let s, r, o;
|
|
5179
5162
|
for (s = 0, r = i.length; s < r; ++s)
|
|
5180
5163
|
if (o = i[s], o !== void 0 && o !== void 0)
|
|
@@ -5187,7 +5170,7 @@ function $h(i, t, e) {
|
|
|
5187
5170
|
max: o(s, r)
|
|
5188
5171
|
};
|
|
5189
5172
|
}
|
|
5190
|
-
function
|
|
5173
|
+
function Le(i, t) {
|
|
5191
5174
|
return Object.assign(Object.create(i), t);
|
|
5192
5175
|
}
|
|
5193
5176
|
function Ds(i, t = [
|
|
@@ -5254,7 +5237,7 @@ function Ds(i, t = [
|
|
|
5254
5237
|
}
|
|
5255
5238
|
});
|
|
5256
5239
|
}
|
|
5257
|
-
function
|
|
5240
|
+
function Re(i, t, e, n) {
|
|
5258
5241
|
const s = {
|
|
5259
5242
|
_cacheable: !1,
|
|
5260
5243
|
_proxy: i,
|
|
@@ -5262,8 +5245,8 @@ function Pe(i, t, e, n) {
|
|
|
5262
5245
|
_subProxy: e,
|
|
5263
5246
|
_stack: /* @__PURE__ */ new Set(),
|
|
5264
5247
|
_descriptors: ma(i, n),
|
|
5265
|
-
setContext: (r) =>
|
|
5266
|
-
override: (r) =>
|
|
5248
|
+
setContext: (r) => Re(i, r, e, n),
|
|
5249
|
+
override: (r) => Re(i.override(r), t, e, n)
|
|
5267
5250
|
};
|
|
5268
5251
|
return new Proxy(s, {
|
|
5269
5252
|
/**
|
|
@@ -5323,8 +5306,8 @@ function ma(i, t = {
|
|
|
5323
5306
|
allKeys: s,
|
|
5324
5307
|
scriptable: e,
|
|
5325
5308
|
indexable: n,
|
|
5326
|
-
isScriptable:
|
|
5327
|
-
isIndexable:
|
|
5309
|
+
isScriptable: ie(e) ? e : () => e,
|
|
5310
|
+
isIndexable: ie(n) ? n : () => n
|
|
5328
5311
|
};
|
|
5329
5312
|
}
|
|
5330
5313
|
const Uh = (i, t) => i ? i + Ss(t) : t, Cs = (i, t) => z(t) && i !== "adapters" && (Object.getPrototypeOf(t) === null || t.constructor === Object);
|
|
@@ -5337,7 +5320,7 @@ function ba(i, t, e) {
|
|
|
5337
5320
|
function Yh(i, t, e) {
|
|
5338
5321
|
const { _proxy: n, _context: s, _subProxy: r, _descriptors: o } = i;
|
|
5339
5322
|
let a = n[t];
|
|
5340
|
-
return
|
|
5323
|
+
return ie(a) && o.isScriptable(t) && (a = Xh(t, a, i, e)), Q(a) && a.length && (a = Kh(t, a, i, o.isIndexable)), Cs(t, a) && (a = Re(a, s, r && r[t], o)), a;
|
|
5341
5324
|
}
|
|
5342
5325
|
function Xh(i, t, e, n) {
|
|
5343
5326
|
const { _proxy: s, _context: r, _subProxy: o, _stack: a } = e;
|
|
@@ -5356,15 +5339,15 @@ function Kh(i, t, e, n) {
|
|
|
5356
5339
|
t = [];
|
|
5357
5340
|
for (const u of c) {
|
|
5358
5341
|
const h = Ts(l, s, i, u);
|
|
5359
|
-
t.push(
|
|
5342
|
+
t.push(Re(h, r, o && o[i], a));
|
|
5360
5343
|
}
|
|
5361
5344
|
}
|
|
5362
5345
|
return t;
|
|
5363
5346
|
}
|
|
5364
5347
|
function va(i, t, e) {
|
|
5365
|
-
return
|
|
5348
|
+
return ie(i) ? i(t, e) : i;
|
|
5366
5349
|
}
|
|
5367
|
-
const qh = (i, t) => i === !0 ? t : typeof i == "string" ?
|
|
5350
|
+
const qh = (i, t) => i === !0 ? t : typeof i == "string" ? ee(t, i) : void 0;
|
|
5368
5351
|
function Gh(i, t, e, n, s) {
|
|
5369
5352
|
for (const r of t) {
|
|
5370
5353
|
const o = qh(e, r);
|
|
@@ -5431,7 +5414,7 @@ function tf(i, t, e, n) {
|
|
|
5431
5414
|
let a, c, l, u;
|
|
5432
5415
|
for (a = 0, c = n; a < c; ++a)
|
|
5433
5416
|
l = a + e, u = t[l], o[a] = {
|
|
5434
|
-
r: s.parse(
|
|
5417
|
+
r: s.parse(ee(u, r), l)
|
|
5435
5418
|
};
|
|
5436
5419
|
return o;
|
|
5437
5420
|
}
|
|
@@ -5456,7 +5439,7 @@ const nf = [
|
|
|
5456
5439
|
"bottom",
|
|
5457
5440
|
"left"
|
|
5458
5441
|
];
|
|
5459
|
-
function
|
|
5442
|
+
function pe(i, t, e) {
|
|
5460
5443
|
const n = {};
|
|
5461
5444
|
e = e ? "-" + e : "";
|
|
5462
5445
|
for (let s = 0; s < 4; s++) {
|
|
@@ -5481,10 +5464,10 @@ function rf(i, t) {
|
|
|
5481
5464
|
box: o
|
|
5482
5465
|
};
|
|
5483
5466
|
}
|
|
5484
|
-
function
|
|
5467
|
+
function fe(i, t) {
|
|
5485
5468
|
if ("native" in i)
|
|
5486
5469
|
return i;
|
|
5487
|
-
const { canvas: e, currentDevicePixelRatio: n } = t, s = vn(e), r = s.boxSizing === "border-box", o =
|
|
5470
|
+
const { canvas: e, currentDevicePixelRatio: n } = t, s = vn(e), r = s.boxSizing === "border-box", o = pe(s, "padding"), a = pe(s, "border", "width"), { x: c, y: l, box: u } = rf(i, e), h = o.left + (u && a.left), f = o.top + (u && a.top);
|
|
5488
5471
|
let { width: d, height: g } = t;
|
|
5489
5472
|
return r && (d -= o.width + a.width, g -= o.height + a.height), {
|
|
5490
5473
|
x: Math.round((c - h) / d * e.width / n),
|
|
@@ -5498,7 +5481,7 @@ function of(i, t, e) {
|
|
|
5498
5481
|
if (!r)
|
|
5499
5482
|
t = i.clientWidth, e = i.clientHeight;
|
|
5500
5483
|
else {
|
|
5501
|
-
const o = r.getBoundingClientRect(), a = vn(r), c =
|
|
5484
|
+
const o = r.getBoundingClientRect(), a = vn(r), c = pe(a, "border", "width"), l = pe(a, "padding");
|
|
5502
5485
|
t = o.width - l.width - c.width, e = o.height - l.height - c.height, n = cn(a.maxWidth, r, "clientWidth"), s = cn(a.maxHeight, r, "clientHeight");
|
|
5503
5486
|
}
|
|
5504
5487
|
}
|
|
@@ -5509,26 +5492,26 @@ function of(i, t, e) {
|
|
|
5509
5492
|
maxHeight: s || rn
|
|
5510
5493
|
};
|
|
5511
5494
|
}
|
|
5512
|
-
const
|
|
5495
|
+
const Gt = (i) => Math.round(i * 10) / 10;
|
|
5513
5496
|
function af(i, t, e, n) {
|
|
5514
|
-
const s = vn(i), r =
|
|
5497
|
+
const s = vn(i), r = pe(s, "margin"), o = cn(s.maxWidth, i, "clientWidth") || rn, a = cn(s.maxHeight, i, "clientHeight") || rn, c = of(i, t, e);
|
|
5515
5498
|
let { width: l, height: u } = c;
|
|
5516
5499
|
if (s.boxSizing === "content-box") {
|
|
5517
|
-
const f =
|
|
5500
|
+
const f = pe(s, "border", "width"), d = pe(s, "padding");
|
|
5518
5501
|
l -= d.width + f.width, u -= d.height + f.height;
|
|
5519
5502
|
}
|
|
5520
|
-
return l = Math.max(0, l - r.width), u = Math.max(0, n ? l / n : u - r.height), l =
|
|
5503
|
+
return l = Math.max(0, l - r.width), u = Math.max(0, n ? l / n : u - r.height), l = Gt(Math.min(l, o, c.maxWidth)), u = Gt(Math.min(u, a, c.maxHeight)), l && !u && (u = Gt(l / 2)), (t !== void 0 || e !== void 0) && n && c.height && u > c.height && (u = c.height, l = Gt(Math.floor(u * n))), {
|
|
5521
5504
|
width: l,
|
|
5522
5505
|
height: u
|
|
5523
5506
|
};
|
|
5524
5507
|
}
|
|
5525
5508
|
function Dr(i, t, e) {
|
|
5526
|
-
const n = t || 1, s =
|
|
5527
|
-
i.height =
|
|
5509
|
+
const n = t || 1, s = Gt(i.height * n), r = Gt(i.width * n);
|
|
5510
|
+
i.height = Gt(i.height), i.width = Gt(i.width);
|
|
5528
5511
|
const o = i.canvas;
|
|
5529
5512
|
return o.style && (e || !o.style.height && !o.style.width) && (o.style.height = `${i.height}px`, o.style.width = `${i.width}px`), i.currentDevicePixelRatio !== n || o.height !== s || o.width !== r ? (i.currentDevicePixelRatio = n, o.height = s, o.width = r, i.ctx.setTransform(n, 0, 0, n, 0, 0), !0) : !1;
|
|
5530
5513
|
}
|
|
5531
|
-
const cf = function() {
|
|
5514
|
+
const cf = (function() {
|
|
5532
5515
|
let i = !1;
|
|
5533
5516
|
try {
|
|
5534
5517
|
const t = {
|
|
@@ -5540,7 +5523,7 @@ const cf = function() {
|
|
|
5540
5523
|
} catch {
|
|
5541
5524
|
}
|
|
5542
5525
|
return i;
|
|
5543
|
-
}();
|
|
5526
|
+
})();
|
|
5544
5527
|
function Cr(i, t) {
|
|
5545
5528
|
const e = ef(i, t), n = e && e.match(/^(\d+)(\.\d+)?px$/);
|
|
5546
5529
|
return n ? +n[1] : void 0;
|
|
@@ -5581,7 +5564,7 @@ const lf = function(i, t) {
|
|
|
5581
5564
|
}
|
|
5582
5565
|
};
|
|
5583
5566
|
};
|
|
5584
|
-
function
|
|
5567
|
+
function Oe(i, t, e) {
|
|
5585
5568
|
return i ? lf(t, e) : uf();
|
|
5586
5569
|
}
|
|
5587
5570
|
function ya(i, t) {
|
|
@@ -5618,12 +5601,6 @@ function ff(i, t) {
|
|
|
5618
5601
|
bottom: e.bottom === !1 ? i.height : n.bottom + (e.bottom === !0 ? 0 : e.bottom)
|
|
5619
5602
|
};
|
|
5620
5603
|
}
|
|
5621
|
-
/*!
|
|
5622
|
-
* Chart.js v4.5.0
|
|
5623
|
-
* https://www.chartjs.org
|
|
5624
|
-
* (c) 2025 Chart.js Contributors
|
|
5625
|
-
* Released under the MIT License
|
|
5626
|
-
*/
|
|
5627
5604
|
class df {
|
|
5628
5605
|
constructor() {
|
|
5629
5606
|
this._request = null, this._charts = /* @__PURE__ */ new Map(), this._running = !1, this._lastDate = void 0;
|
|
@@ -5716,18 +5693,18 @@ const Tr = "transparent", gf = {
|
|
|
5716
5693
|
class pf {
|
|
5717
5694
|
constructor(t, e, n, s) {
|
|
5718
5695
|
const r = e[n];
|
|
5719
|
-
s =
|
|
5696
|
+
s = Fi([
|
|
5720
5697
|
t.to,
|
|
5721
5698
|
s,
|
|
5722
5699
|
r,
|
|
5723
5700
|
t.from
|
|
5724
5701
|
]);
|
|
5725
|
-
const o =
|
|
5702
|
+
const o = Fi([
|
|
5726
5703
|
t.from,
|
|
5727
5704
|
r,
|
|
5728
5705
|
s
|
|
5729
5706
|
]);
|
|
5730
|
-
this._active = !0, this._fn = t.fn || gf[t.type || typeof o], this._easing =
|
|
5707
|
+
this._active = !0, this._fn = t.fn || gf[t.type || typeof o], this._easing = ii[t.easing] || ii.linear, this._start = Math.floor(Date.now() + (t.delay || 0)), this._duration = this._total = Math.floor(t.duration), this._loop = !!t.loop, this._target = e, this._prop = n, this._from = o, this._to = s, this._promises = void 0;
|
|
5731
5708
|
}
|
|
5732
5709
|
active() {
|
|
5733
5710
|
return this._active;
|
|
@@ -5736,12 +5713,12 @@ class pf {
|
|
|
5736
5713
|
if (this._active) {
|
|
5737
5714
|
this._notify(!1);
|
|
5738
5715
|
const s = this._target[this._prop], r = n - this._start, o = this._duration - r;
|
|
5739
|
-
this._start = n, this._duration = Math.floor(Math.max(o, t.duration)), this._total += r, this._loop = !!t.loop, this._to =
|
|
5716
|
+
this._start = n, this._duration = Math.floor(Math.max(o, t.duration)), this._total += r, this._loop = !!t.loop, this._to = Fi([
|
|
5740
5717
|
t.to,
|
|
5741
5718
|
e,
|
|
5742
5719
|
s,
|
|
5743
5720
|
t.from
|
|
5744
|
-
]), this._from =
|
|
5721
|
+
]), this._from = Fi([
|
|
5745
5722
|
t.from,
|
|
5746
5723
|
s,
|
|
5747
5724
|
e
|
|
@@ -5917,7 +5894,7 @@ function Pr(i, t, e, n = {}) {
|
|
|
5917
5894
|
continue;
|
|
5918
5895
|
break;
|
|
5919
5896
|
}
|
|
5920
|
-
l = i.values[c], At(l) && (r || t === 0 ||
|
|
5897
|
+
l = i.values[c], At(l) && (r || t === 0 || te(t) === te(l)) && (t += l);
|
|
5921
5898
|
}
|
|
5922
5899
|
return !u && !n.all ? 0 : t;
|
|
5923
5900
|
}
|
|
@@ -5972,7 +5949,7 @@ function Pn(i, t) {
|
|
|
5972
5949
|
return Object.keys(e).filter((n) => e[n].axis === t).shift();
|
|
5973
5950
|
}
|
|
5974
5951
|
function kf(i, t) {
|
|
5975
|
-
return
|
|
5952
|
+
return Le(i, {
|
|
5976
5953
|
active: !1,
|
|
5977
5954
|
dataset: void 0,
|
|
5978
5955
|
datasetIndex: t,
|
|
@@ -5982,7 +5959,7 @@ function kf(i, t) {
|
|
|
5982
5959
|
});
|
|
5983
5960
|
}
|
|
5984
5961
|
function Af(i, t, e) {
|
|
5985
|
-
return
|
|
5962
|
+
return Le(i, {
|
|
5986
5963
|
active: !1,
|
|
5987
5964
|
dataIndex: t,
|
|
5988
5965
|
parsed: void 0,
|
|
@@ -5993,7 +5970,7 @@ function Af(i, t, e) {
|
|
|
5993
5970
|
type: "data"
|
|
5994
5971
|
});
|
|
5995
5972
|
}
|
|
5996
|
-
function
|
|
5973
|
+
function $e(i, t) {
|
|
5997
5974
|
const e = i.controller.index, n = i.vScale && i.vScale.axis;
|
|
5998
5975
|
if (n) {
|
|
5999
5976
|
t = t || i._parsed;
|
|
@@ -6021,7 +5998,7 @@ class xn {
|
|
|
6021
5998
|
this.configure(), this.linkScales(), t._stacked = En(t.vScale, t), this.addElements(), this.options.fill && !this.chart.isPluginEnabled("filler") && console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options");
|
|
6022
5999
|
}
|
|
6023
6000
|
updateIndex(t) {
|
|
6024
|
-
this.index !== t &&
|
|
6001
|
+
this.index !== t && $e(this._cachedMeta), this.index = t;
|
|
6025
6002
|
}
|
|
6026
6003
|
linkScales() {
|
|
6027
6004
|
const t = this.chart, e = this._cachedMeta, n = this.getDataset(), s = (h, f, d, g) => h === "x" ? f : h === "r" ? g : d, r = e.xAxisID = N(n.xAxisID, Pn(t, "x")), o = e.yAxisID = N(n.yAxisID, Pn(t, "y")), a = e.rAxisID = N(n.rAxisID, Pn(t, "r")), c = e.indexAxis, l = e.iAxisID = s(c, r, o, a), u = e.vAxisID = s(c, o, r, a);
|
|
@@ -6045,7 +6022,7 @@ class xn {
|
|
|
6045
6022
|
}
|
|
6046
6023
|
_destroy() {
|
|
6047
6024
|
const t = this._cachedMeta;
|
|
6048
|
-
this._data && vr(this._data, this), t._stacked &&
|
|
6025
|
+
this._data && vr(this._data, this), t._stacked && $e(t);
|
|
6049
6026
|
}
|
|
6050
6027
|
_dataCheck() {
|
|
6051
6028
|
const t = this.getDataset(), e = t.data || (t.data = []), n = this._data;
|
|
@@ -6056,7 +6033,7 @@ class xn {
|
|
|
6056
6033
|
if (n) {
|
|
6057
6034
|
vr(n, this);
|
|
6058
6035
|
const s = this._cachedMeta;
|
|
6059
|
-
|
|
6036
|
+
$e(s), s._parsed = [];
|
|
6060
6037
|
}
|
|
6061
6038
|
e && Object.isExtensible(e) && kh(e, this), this._syncList = [], this._data = e;
|
|
6062
6039
|
}
|
|
@@ -6070,7 +6047,7 @@ class xn {
|
|
|
6070
6047
|
let s = !1;
|
|
6071
6048
|
this._dataCheck();
|
|
6072
6049
|
const r = e._stacked;
|
|
6073
|
-
e._stacked = En(e.vScale, e), e.stack !== n.stack && (s = !0,
|
|
6050
|
+
e._stacked = En(e.vScale, e), e.stack !== n.stack && (s = !0, $e(e), e.stack = n.stack), this._resyncElements(t), (s || r !== e._stacked) && (Lr(this, e._parsed), e._stacked = En(e.vScale, e));
|
|
6074
6051
|
}
|
|
6075
6052
|
configure() {
|
|
6076
6053
|
const t = this.chart.config, e = t.datasetScopeKeys(this._type), n = t.getOptionScopes(this.getDataset(), e, !0);
|
|
@@ -6115,8 +6092,8 @@ class xn {
|
|
|
6115
6092
|
let u, h, f, d;
|
|
6116
6093
|
for (u = 0, h = s; u < h; ++u)
|
|
6117
6094
|
f = u + n, d = e[f], l[u] = {
|
|
6118
|
-
x: r.parse(
|
|
6119
|
-
y: o.parse(
|
|
6095
|
+
x: r.parse(ee(d, a), f),
|
|
6096
|
+
y: o.parse(ee(d, c), f)
|
|
6120
6097
|
};
|
|
6121
6098
|
return l;
|
|
6122
6099
|
}
|
|
@@ -6217,7 +6194,7 @@ class xn {
|
|
|
6217
6194
|
return this._resolveElementOptions(this.dataElementType.id, e, t);
|
|
6218
6195
|
}
|
|
6219
6196
|
_resolveElementOptions(t, e = "default", n) {
|
|
6220
|
-
const s = e === "active", r = this._cachedDataOpts, o = t + "-" + e, a = r[o], c = this.enableOptionSharing &&
|
|
6197
|
+
const s = e === "active", r = this._cachedDataOpts, o = t + "-" + e, a = r[o], c = this.enableOptionSharing && li(n);
|
|
6221
6198
|
if (a)
|
|
6222
6199
|
return jr(a, c);
|
|
6223
6200
|
const l = this.chart.config, u = l.datasetElementScopeKeys(this._type, t), h = s ? [
|
|
@@ -6309,7 +6286,7 @@ class xn {
|
|
|
6309
6286
|
const n = this._cachedMeta;
|
|
6310
6287
|
if (this._parsing) {
|
|
6311
6288
|
const s = n._parsed.splice(t, e);
|
|
6312
|
-
n._stacked &&
|
|
6289
|
+
n._stacked && $e(n, s);
|
|
6313
6290
|
}
|
|
6314
6291
|
n.data.splice(t, e);
|
|
6315
6292
|
}
|
|
@@ -6382,7 +6359,7 @@ function Df(i) {
|
|
|
6382
6359
|
const t = i.iScale, e = Of(t, i.type);
|
|
6383
6360
|
let n = t._length, s, r, o, a;
|
|
6384
6361
|
const c = () => {
|
|
6385
|
-
o === 32767 || o === -32768 || (
|
|
6362
|
+
o === 32767 || o === -32768 || (li(a) && (n = Math.min(n, Math.abs(o - a) || n)), a = o);
|
|
6386
6363
|
};
|
|
6387
6364
|
for (s = 0, r = e.length; s < r; ++s)
|
|
6388
6365
|
o = t.getPixelForValue(e[s]), c();
|
|
@@ -6437,7 +6414,7 @@ function Ln(i) {
|
|
|
6437
6414
|
return i && i.barStart !== void 0 && i.barEnd !== void 0;
|
|
6438
6415
|
}
|
|
6439
6416
|
function Pf(i, t, e) {
|
|
6440
|
-
return i !== 0 ?
|
|
6417
|
+
return i !== 0 ? te(i) : (t.isHorizontal() ? 1 : -1) * (t.min >= e ? 1 : -1);
|
|
6441
6418
|
}
|
|
6442
6419
|
function Rf(i) {
|
|
6443
6420
|
let t, e, n, s, r;
|
|
@@ -6526,7 +6503,7 @@ class If extends xn {
|
|
|
6526
6503
|
const { iScale: r, vScale: o } = t, { xAxisKey: a = "x", yAxisKey: c = "y" } = this._parsing, l = r.axis === "x" ? a : c, u = o.axis === "x" ? a : c, h = [];
|
|
6527
6504
|
let f, d, g, m;
|
|
6528
6505
|
for (f = n, d = n + s; f < d; ++f)
|
|
6529
|
-
m = e[f], g = {}, g[r.axis] = r.parse(
|
|
6506
|
+
m = e[f], g = {}, g[r.axis] = r.parse(ee(m, l), f), h.push(ka(ee(m, u), g, o, f));
|
|
6530
6507
|
return h;
|
|
6531
6508
|
}
|
|
6532
6509
|
updateRangeFromParsed(t, e, n, s) {
|
|
@@ -6624,7 +6601,7 @@ class If extends xn {
|
|
|
6624
6601
|
_calculateBarValuePixels(t) {
|
|
6625
6602
|
const { _cachedMeta: { vScale: e, _stacked: n, index: s }, options: { base: r, minBarLength: o } } = this, a = r || 0, c = this.getParsed(t), l = c._custom, u = Ln(l);
|
|
6626
6603
|
let h = c[e.axis], f = 0, d = n ? this.applyStack(e, c, n) : h, g, m;
|
|
6627
|
-
d !== h && (f = d - h, d = h), u && (h = l.barStart, d = l.barEnd - l.barStart, h !== 0 &&
|
|
6604
|
+
d !== h && (f = d - h, d = h), u && (h = l.barStart, d = l.barEnd - l.barStart, h !== 0 && te(h) !== te(l.barEnd) && (f = 0), f += h);
|
|
6628
6605
|
const b = !$(r) && !u ? r : f;
|
|
6629
6606
|
let x = e.getPixelForValue(b);
|
|
6630
6607
|
if (this.chart.getDataVisibility(t) ? g = e.getPixelForValue(f + d) : g = x, m = g - x, Math.abs(m) < o) {
|
|
@@ -6633,7 +6610,7 @@ class If extends xn {
|
|
|
6633
6610
|
x = Math.max(Math.min(x, k), p), g = x + m, n && !u && (c._stacks[e.axis]._visualValues[s] = e.getValueForPixel(g) - e.getValueForPixel(x));
|
|
6634
6611
|
}
|
|
6635
6612
|
if (x === e.getPixelForValue(a)) {
|
|
6636
|
-
const y =
|
|
6613
|
+
const y = te(m) * e.getLineWidthForValue(a) / 2;
|
|
6637
6614
|
x += y, m -= y;
|
|
6638
6615
|
}
|
|
6639
6616
|
return {
|
|
@@ -6722,24 +6699,25 @@ class zf extends xn {
|
|
|
6722
6699
|
legend: {
|
|
6723
6700
|
labels: {
|
|
6724
6701
|
generateLabels(t) {
|
|
6725
|
-
const e = t.data;
|
|
6726
|
-
|
|
6727
|
-
const
|
|
6728
|
-
return
|
|
6729
|
-
|
|
6730
|
-
|
|
6731
|
-
|
|
6732
|
-
|
|
6733
|
-
|
|
6734
|
-
|
|
6735
|
-
|
|
6736
|
-
|
|
6737
|
-
|
|
6738
|
-
|
|
6739
|
-
|
|
6740
|
-
|
|
6741
|
-
|
|
6742
|
-
|
|
6702
|
+
const e = t.data, { labels: { pointStyle: n, textAlign: s, color: r, useBorderRadius: o, borderRadius: a } } = t.legend.options;
|
|
6703
|
+
return e.labels.length && e.datasets.length ? e.labels.map((c, l) => {
|
|
6704
|
+
const h = t.getDatasetMeta(0).controller.getStyle(l);
|
|
6705
|
+
return {
|
|
6706
|
+
text: c,
|
|
6707
|
+
fillStyle: h.backgroundColor,
|
|
6708
|
+
fontColor: r,
|
|
6709
|
+
hidden: !t.getDataVisibility(l),
|
|
6710
|
+
lineDash: h.borderDash,
|
|
6711
|
+
lineDashOffset: h.borderDashOffset,
|
|
6712
|
+
lineJoin: h.borderJoinStyle,
|
|
6713
|
+
lineWidth: h.borderWidth,
|
|
6714
|
+
strokeStyle: h.borderColor,
|
|
6715
|
+
textAlign: s,
|
|
6716
|
+
pointStyle: n,
|
|
6717
|
+
borderRadius: o && (a || h.borderRadius),
|
|
6718
|
+
index: l
|
|
6719
|
+
};
|
|
6720
|
+
}) : [];
|
|
6743
6721
|
}
|
|
6744
6722
|
},
|
|
6745
6723
|
onClick(t, e, n) {
|
|
@@ -6761,7 +6739,7 @@ class zf extends xn {
|
|
|
6761
6739
|
let r = (c) => +n[c];
|
|
6762
6740
|
if (z(n[t])) {
|
|
6763
6741
|
const { key: c = "value" } = this._parsing;
|
|
6764
|
-
r = (l) => +
|
|
6742
|
+
r = (l) => +ee(n[l], c);
|
|
6765
6743
|
}
|
|
6766
6744
|
let o, a;
|
|
6767
6745
|
for (o = t, a = t + e; o < a; ++o)
|
|
@@ -7006,7 +6984,7 @@ class Nf extends xn {
|
|
|
7006
6984
|
return this.chart.getDataVisibility(t) ? Lt(this.resolveDataElementOptions(t, e).angle || n) : 0;
|
|
7007
6985
|
}
|
|
7008
6986
|
}
|
|
7009
|
-
function
|
|
6987
|
+
function ue() {
|
|
7010
6988
|
throw new Error("This method is not implemented: Check that a complete date adapter is provided.");
|
|
7011
6989
|
}
|
|
7012
6990
|
class Rs {
|
|
@@ -7031,25 +7009,25 @@ class Rs {
|
|
|
7031
7009
|
init() {
|
|
7032
7010
|
}
|
|
7033
7011
|
formats() {
|
|
7034
|
-
return
|
|
7012
|
+
return ue();
|
|
7035
7013
|
}
|
|
7036
7014
|
parse() {
|
|
7037
|
-
return
|
|
7015
|
+
return ue();
|
|
7038
7016
|
}
|
|
7039
7017
|
format() {
|
|
7040
|
-
return
|
|
7018
|
+
return ue();
|
|
7041
7019
|
}
|
|
7042
7020
|
add() {
|
|
7043
|
-
return
|
|
7021
|
+
return ue();
|
|
7044
7022
|
}
|
|
7045
7023
|
diff() {
|
|
7046
|
-
return
|
|
7024
|
+
return ue();
|
|
7047
7025
|
}
|
|
7048
7026
|
startOf() {
|
|
7049
|
-
return
|
|
7027
|
+
return ue();
|
|
7050
7028
|
}
|
|
7051
7029
|
endOf() {
|
|
7052
|
-
return
|
|
7030
|
+
return ue();
|
|
7053
7031
|
}
|
|
7054
7032
|
}
|
|
7055
7033
|
var Hf = {
|
|
@@ -7174,7 +7152,7 @@ function zr(i, t, e, n, s) {
|
|
|
7174
7152
|
var Yf = {
|
|
7175
7153
|
modes: {
|
|
7176
7154
|
index(i, t, e, n) {
|
|
7177
|
-
const s =
|
|
7155
|
+
const s = fe(t, i), r = e.axis || "x", o = e.includeInvisible || !1, a = e.intersect ? jn(i, s, r, n, o) : Fn(i, s, r, !1, n, o), c = [];
|
|
7178
7156
|
return a.length ? (i.getSortedVisibleDatasetMetas().forEach((l) => {
|
|
7179
7157
|
const u = a[0].index, h = l.data[u];
|
|
7180
7158
|
h && !h.skip && c.push({
|
|
@@ -7185,7 +7163,7 @@ var Yf = {
|
|
|
7185
7163
|
}), c) : [];
|
|
7186
7164
|
},
|
|
7187
7165
|
dataset(i, t, e, n) {
|
|
7188
|
-
const s =
|
|
7166
|
+
const s = fe(t, i), r = e.axis || "xy", o = e.includeInvisible || !1;
|
|
7189
7167
|
let a = e.intersect ? jn(i, s, r, n, o) : Fn(i, s, r, !1, n, o);
|
|
7190
7168
|
if (a.length > 0) {
|
|
7191
7169
|
const c = a[0].datasetIndex, l = i.getDatasetMeta(c).data;
|
|
@@ -7200,19 +7178,19 @@ var Yf = {
|
|
|
7200
7178
|
return a;
|
|
7201
7179
|
},
|
|
7202
7180
|
point(i, t, e, n) {
|
|
7203
|
-
const s =
|
|
7181
|
+
const s = fe(t, i), r = e.axis || "xy", o = e.includeInvisible || !1;
|
|
7204
7182
|
return jn(i, s, r, n, o);
|
|
7205
7183
|
},
|
|
7206
7184
|
nearest(i, t, e, n) {
|
|
7207
|
-
const s =
|
|
7185
|
+
const s = fe(t, i), r = e.axis || "xy", o = e.includeInvisible || !1;
|
|
7208
7186
|
return Fn(i, s, r, e.intersect, n, o);
|
|
7209
7187
|
},
|
|
7210
7188
|
x(i, t, e, n) {
|
|
7211
|
-
const s =
|
|
7189
|
+
const s = fe(t, i);
|
|
7212
7190
|
return zr(i, s, "x", e.intersect, n);
|
|
7213
7191
|
},
|
|
7214
7192
|
y(i, t, e, n) {
|
|
7215
|
-
const s =
|
|
7193
|
+
const s = fe(t, i);
|
|
7216
7194
|
return zr(i, s, "y", e.intersect, n);
|
|
7217
7195
|
}
|
|
7218
7196
|
}
|
|
@@ -7223,13 +7201,13 @@ const Aa = [
|
|
|
7223
7201
|
"right",
|
|
7224
7202
|
"bottom"
|
|
7225
7203
|
];
|
|
7226
|
-
function
|
|
7204
|
+
function Ue(i, t) {
|
|
7227
7205
|
return i.filter((e) => e.pos === t);
|
|
7228
7206
|
}
|
|
7229
7207
|
function Nr(i, t) {
|
|
7230
7208
|
return i.filter((e) => Aa.indexOf(e.pos) === -1 && e.box.axis === t);
|
|
7231
7209
|
}
|
|
7232
|
-
function
|
|
7210
|
+
function Ye(i, t) {
|
|
7233
7211
|
return i.sort((e, n) => {
|
|
7234
7212
|
const s = t ? n : e, r = t ? e : n;
|
|
7235
7213
|
return s.weight === r.weight ? s.index - r.index : s.weight - r.weight;
|
|
@@ -7277,12 +7255,12 @@ function qf(i, t) {
|
|
|
7277
7255
|
return e;
|
|
7278
7256
|
}
|
|
7279
7257
|
function Gf(i) {
|
|
7280
|
-
const t = Xf(i), e =
|
|
7258
|
+
const t = Xf(i), e = Ye(t.filter((l) => l.box.fullSize), !0), n = Ye(Ue(t, "left"), !0), s = Ye(Ue(t, "right")), r = Ye(Ue(t, "top"), !0), o = Ye(Ue(t, "bottom")), a = Nr(t, "x"), c = Nr(t, "y");
|
|
7281
7259
|
return {
|
|
7282
7260
|
fullSize: e,
|
|
7283
7261
|
leftAndTop: n.concat(r),
|
|
7284
7262
|
rightAndBottom: s.concat(c).concat(o).concat(a),
|
|
7285
|
-
chartArea:
|
|
7263
|
+
chartArea: Ue(t, "chartArea"),
|
|
7286
7264
|
vertical: n.concat(s).concat(c),
|
|
7287
7265
|
horizontal: r.concat(o).concat(a)
|
|
7288
7266
|
};
|
|
@@ -7342,7 +7320,7 @@ function Jf(i, t) {
|
|
|
7342
7320
|
"bottom"
|
|
7343
7321
|
]);
|
|
7344
7322
|
}
|
|
7345
|
-
function
|
|
7323
|
+
function Ge(i, t, e, n) {
|
|
7346
7324
|
const s = [];
|
|
7347
7325
|
let r, o, a, c, l, u;
|
|
7348
7326
|
for (r = 0, o = i.length, l = 0; r < o; ++r) {
|
|
@@ -7350,7 +7328,7 @@ function qe(i, t, e, n) {
|
|
|
7350
7328
|
const { same: h, other: f } = Qf(t, e, a, n);
|
|
7351
7329
|
l |= h && s.length, u = u || f, c.fullSize || s.push(a);
|
|
7352
7330
|
}
|
|
7353
|
-
return l &&
|
|
7331
|
+
return l && Ge(s, t, e, n) || u;
|
|
7354
7332
|
}
|
|
7355
7333
|
function Bi(i, t, e, n, s) {
|
|
7356
7334
|
i.top = e, i.left = t, i.right = t + n, i.bottom = e + s, i.width = n, i.height = s;
|
|
@@ -7365,10 +7343,10 @@ function Wr(i, t, e, n) {
|
|
|
7365
7343
|
}, u = a.stackWeight / l.weight || 1;
|
|
7366
7344
|
if (a.horizontal) {
|
|
7367
7345
|
const h = t.w * u, f = l.size || c.height;
|
|
7368
|
-
|
|
7346
|
+
li(l.start) && (o = l.start), c.fullSize ? Bi(c, s.left, o, e.outerWidth - s.right - s.left, f) : Bi(c, t.left + l.placed, o, h, f), l.start = o, l.placed += h, o = c.bottom;
|
|
7369
7347
|
} else {
|
|
7370
7348
|
const h = t.h * u, f = l.size || c.width;
|
|
7371
|
-
|
|
7349
|
+
li(l.start) && (r = l.start), c.fullSize ? Bi(c, r, s.top, f, e.outerHeight - s.bottom - s.top) : Bi(c, r, t.top + l.placed, f, h), l.start = r, l.placed += h, r = c.right;
|
|
7372
7350
|
}
|
|
7373
7351
|
}
|
|
7374
7352
|
t.x = r, t.y = o;
|
|
@@ -7417,7 +7395,7 @@ var _t = {
|
|
|
7417
7395
|
x: s.left,
|
|
7418
7396
|
y: s.top
|
|
7419
7397
|
}, s), g = qf(c.concat(l), h);
|
|
7420
|
-
|
|
7398
|
+
Ge(a.fullSize, d, h, g), Ge(c, d, h, g), Ge(l, d, h, g) && Ge(c, d, h, g), Zf(d), Wr(a.leftAndTop, d, h, g), d.x += d.w, d.y += d.h, Wr(a.rightAndBottom, d, h, g), i.chartArea = {
|
|
7421
7399
|
left: d.left,
|
|
7422
7400
|
top: d.top,
|
|
7423
7401
|
right: d.left + d.w,
|
|
@@ -7514,7 +7492,7 @@ function sd(i, t, e) {
|
|
|
7514
7492
|
i && i.canvas && i.canvas.removeEventListener(t, e, Da);
|
|
7515
7493
|
}
|
|
7516
7494
|
function rd(i, t) {
|
|
7517
|
-
const e = ed[i.type] || i.type, { x: n, y: s } =
|
|
7495
|
+
const e = ed[i.type] || i.type, { x: n, y: s } = fe(i, t);
|
|
7518
7496
|
return {
|
|
7519
7497
|
type: e,
|
|
7520
7498
|
chart: t,
|
|
@@ -7552,19 +7530,19 @@ function ad(i, t, e) {
|
|
|
7552
7530
|
subtree: !0
|
|
7553
7531
|
}), s;
|
|
7554
7532
|
}
|
|
7555
|
-
const
|
|
7533
|
+
const hi = /* @__PURE__ */ new Map();
|
|
7556
7534
|
let $r = 0;
|
|
7557
7535
|
function Ca() {
|
|
7558
7536
|
const i = window.devicePixelRatio;
|
|
7559
|
-
i !== $r && ($r = i,
|
|
7537
|
+
i !== $r && ($r = i, hi.forEach((t, e) => {
|
|
7560
7538
|
e.currentDevicePixelRatio !== i && t();
|
|
7561
7539
|
}));
|
|
7562
7540
|
}
|
|
7563
7541
|
function cd(i, t) {
|
|
7564
|
-
|
|
7542
|
+
hi.size || window.addEventListener("resize", Ca), hi.set(i, t);
|
|
7565
7543
|
}
|
|
7566
7544
|
function ld(i) {
|
|
7567
|
-
|
|
7545
|
+
hi.delete(i), hi.size || window.removeEventListener("resize", Ca);
|
|
7568
7546
|
}
|
|
7569
7547
|
function ud(i, t, e) {
|
|
7570
7548
|
const n = i.canvas, s = n && Ps(n);
|
|
@@ -7643,7 +7621,7 @@ class fd extends Oa {
|
|
|
7643
7621
|
function dd(i) {
|
|
7644
7622
|
return !Es() || typeof OffscreenCanvas < "u" && i instanceof OffscreenCanvas ? td : fd;
|
|
7645
7623
|
}
|
|
7646
|
-
let
|
|
7624
|
+
let je = class {
|
|
7647
7625
|
static defaults = {};
|
|
7648
7626
|
static defaultRoutes = void 0;
|
|
7649
7627
|
x;
|
|
@@ -7759,7 +7737,7 @@ function wd(i, t) {
|
|
|
7759
7737
|
}
|
|
7760
7738
|
});
|
|
7761
7739
|
}
|
|
7762
|
-
function
|
|
7740
|
+
function Xe(i) {
|
|
7763
7741
|
return i.drawTicks ? i.tickLength : 0;
|
|
7764
7742
|
}
|
|
7765
7743
|
function Kr(i, t) {
|
|
@@ -7769,13 +7747,13 @@ function Kr(i, t) {
|
|
|
7769
7747
|
return (Q(i.text) ? i.text.length : 1) * e.lineHeight + n.height;
|
|
7770
7748
|
}
|
|
7771
7749
|
function Sd(i, t) {
|
|
7772
|
-
return
|
|
7750
|
+
return Le(i, {
|
|
7773
7751
|
scale: t,
|
|
7774
7752
|
type: "scale"
|
|
7775
7753
|
});
|
|
7776
7754
|
}
|
|
7777
7755
|
function kd(i, t, e) {
|
|
7778
|
-
return
|
|
7756
|
+
return Le(i, {
|
|
7779
7757
|
tick: e,
|
|
7780
7758
|
index: t,
|
|
7781
7759
|
type: "tick"
|
|
@@ -7809,7 +7787,7 @@ function Md(i, t, e, n) {
|
|
|
7809
7787
|
rotation: h
|
|
7810
7788
|
};
|
|
7811
7789
|
}
|
|
7812
|
-
class
|
|
7790
|
+
class Fe extends je {
|
|
7813
7791
|
constructor(t) {
|
|
7814
7792
|
super(), this.id = t.id, this.type = t.type, this.options = void 0, this.ctx = t.ctx, this.chart = t.chart, this.top = void 0, this.bottom = void 0, this.left = void 0, this.right = void 0, this.width = void 0, this.height = void 0, this._margins = {
|
|
7815
7793
|
left: 0,
|
|
@@ -7962,7 +7940,7 @@ class je extends Le {
|
|
|
7962
7940
|
return;
|
|
7963
7941
|
}
|
|
7964
7942
|
const u = this._getLabelSizes(), h = u.widest.width, f = u.highest.height, d = Ct(this.chart.width - h, 0, this.maxWidth);
|
|
7965
|
-
a = t.offset ? this.maxWidth / n : d / (n - 1), h + 6 > a && (a = d / (n - (t.offset ? 0.5 : 1)), c = this.maxHeight -
|
|
7943
|
+
a = t.offset ? this.maxWidth / n : d / (n - 1), h + 6 > a && (a = d / (n - (t.offset ? 0.5 : 1)), c = this.maxHeight - Xe(t.grid) - e.padding - Kr(t.title, this.chart.options.font), l = Math.sqrt(h * h + f * f), o = vh(Math.min(Math.asin(Ct((u.highest.height + 6) / a, -1, 1)), Math.asin(Ct(c / l, -1, 1)) - Math.asin(Ct(f / l, -1, 1)))), o = Math.max(s, Math.min(r, o))), this.labelRotation = o;
|
|
7966
7944
|
}
|
|
7967
7945
|
afterCalculateLabelRotation() {
|
|
7968
7946
|
Y(this.options.afterCalculateLabelRotation, [
|
|
@@ -7983,7 +7961,7 @@ class je extends Le {
|
|
|
7983
7961
|
}, { chart: e, options: { ticks: n, title: s, grid: r } } = this, o = this._isVisible(), a = this.isHorizontal();
|
|
7984
7962
|
if (o) {
|
|
7985
7963
|
const c = Kr(s, e.options.font);
|
|
7986
|
-
if (a ? (t.width = this.maxWidth, t.height =
|
|
7964
|
+
if (a ? (t.width = this.maxWidth, t.height = Xe(r) + c) : (t.height = this.maxHeight, t.width = Xe(r) + c), n.display && this.ticks.length) {
|
|
7987
7965
|
const { first: l, last: u, widest: h, highest: f } = this._getLabelSizes(), d = n.padding * 2, g = Lt(this.labelRotation), m = Math.cos(g), b = Math.sin(g);
|
|
7988
7966
|
if (a) {
|
|
7989
7967
|
const x = n.mirror ? 0 : b * h.width + m * f.height;
|
|
@@ -8082,7 +8060,7 @@ class je extends Le {
|
|
|
8082
8060
|
getPixelForDecimal(t) {
|
|
8083
8061
|
this._reversePixels && (t = 1 - t);
|
|
8084
8062
|
const e = this._startPixel + t * this._length;
|
|
8085
|
-
return _h(this._alignToPixels ?
|
|
8063
|
+
return _h(this._alignToPixels ? le(this.chart, e, 0) : e);
|
|
8086
8064
|
}
|
|
8087
8065
|
getDecimalForPixel(t) {
|
|
8088
8066
|
const e = (t - this._startPixel) / this._length;
|
|
@@ -8112,8 +8090,8 @@ class je extends Le {
|
|
|
8112
8090
|
return t !== "auto" ? !!t : this.getMatchingVisibleMetas().length > 0;
|
|
8113
8091
|
}
|
|
8114
8092
|
_computeGridLineItems(t) {
|
|
8115
|
-
const e = this.axis, n = this.chart, s = this.options, { grid: r, position: o, border: a } = s, c = r.offset, l = this.isHorizontal(), h = this.ticks.length + (c ? 1 : 0), f =
|
|
8116
|
-
return
|
|
8093
|
+
const e = this.axis, n = this.chart, s = this.options, { grid: r, position: o, border: a } = s, c = r.offset, l = this.isHorizontal(), h = this.ticks.length + (c ? 1 : 0), f = Xe(r), d = [], g = a.setContext(this.getContext()), m = g.display ? g.width : 0, b = m / 2, x = function(F) {
|
|
8094
|
+
return le(n, F, m);
|
|
8117
8095
|
};
|
|
8118
8096
|
let y, S, p, k, w, A, M, O, E, T, D, j;
|
|
8119
8097
|
if (o === "top")
|
|
@@ -8144,7 +8122,7 @@ class je extends Le {
|
|
|
8144
8122
|
const I = N(s.ticks.maxTicksLimit, h), L = Math.max(1, Math.ceil(h / I));
|
|
8145
8123
|
for (S = 0; S < h; S += L) {
|
|
8146
8124
|
const F = this.getContext(S), H = r.setContext(F), K = a.setContext(F), ot = H.lineWidth, J = H.color, vt = K.dash || [], tt = K.dashOffset, ft = H.tickWidth, et = H.tickColor, it = H.tickBorderDash || [], nt = H.tickBorderDashOffset;
|
|
8147
|
-
p = _d(this, S, c), p !== void 0 && (k =
|
|
8125
|
+
p = _d(this, S, c), p !== void 0 && (k = le(n, p, ot), l ? w = M = E = D = k : A = O = T = j = k, d.push({
|
|
8148
8126
|
tx1: w,
|
|
8149
8127
|
ty1: A,
|
|
8150
8128
|
tx2: M,
|
|
@@ -8166,7 +8144,7 @@ class je extends Le {
|
|
|
8166
8144
|
return this._ticksLength = h, this._borderValue = y, d;
|
|
8167
8145
|
}
|
|
8168
8146
|
_computeLabelItems(t) {
|
|
8169
|
-
const e = this.axis, n = this.options, { position: s, ticks: r } = n, o = this.isHorizontal(), a = this.ticks, { align: c, crossAlign: l, padding: u, mirror: h } = r, f =
|
|
8147
|
+
const e = this.axis, n = this.options, { position: s, ticks: r } = n, o = this.isHorizontal(), a = this.ticks, { align: c, crossAlign: l, padding: u, mirror: h } = r, f = Xe(n.grid), d = f + u, g = h ? -u : d, m = -Lt(this.labelRotation), b = [];
|
|
8170
8148
|
let x, y, S, p, k, w, A, M, O, E, T, D, j = "middle";
|
|
8171
8149
|
if (s === "top")
|
|
8172
8150
|
w = this.bottom - g, A = this._getXAxisLabelAlignment();
|
|
@@ -8336,7 +8314,7 @@ class je extends Le {
|
|
|
8336
8314
|
return;
|
|
8337
8315
|
const a = s.setContext(this.getContext(0)).lineWidth, c = this._borderValue;
|
|
8338
8316
|
let l, u, h, f;
|
|
8339
|
-
this.isHorizontal() ? (l =
|
|
8317
|
+
this.isHorizontal() ? (l = le(t, this.left, o) - o / 2, u = le(t, this.right, a) + a / 2, h = f = c) : (h = le(t, this.top, o) - o / 2, f = le(t, this.bottom, a) + a / 2, l = u = c), e.save(), e.lineWidth = r.width, e.strokeStyle = r.color, e.beginPath(), e.moveTo(l, h), e.lineTo(u, f), e.stroke(), e.restore();
|
|
8340
8318
|
}
|
|
8341
8319
|
drawLabels(t) {
|
|
8342
8320
|
if (!this.options.ticks.display)
|
|
@@ -8346,7 +8324,7 @@ class je extends Le {
|
|
|
8346
8324
|
const r = this.getLabelItems(t);
|
|
8347
8325
|
for (const o of r) {
|
|
8348
8326
|
const a = o.options, c = o.font, l = o.label, u = o.textOffset;
|
|
8349
|
-
|
|
8327
|
+
ui(n, l, 0, u, c, a);
|
|
8350
8328
|
}
|
|
8351
8329
|
s && Os(n);
|
|
8352
8330
|
}
|
|
@@ -8358,7 +8336,7 @@ class je extends Le {
|
|
|
8358
8336
|
let c = r.lineHeight / 2;
|
|
8359
8337
|
e === "bottom" || e === "center" || z(e) ? (c += o.bottom, Q(n.text) && (c += r.lineHeight * (n.text.length - 1))) : c += o.top;
|
|
8360
8338
|
const { titleX: l, titleY: u, maxWidth: h, rotation: f } = Md(this, c, e, a);
|
|
8361
|
-
|
|
8339
|
+
ui(t, n.text, 0, 0, r, {
|
|
8362
8340
|
color: n.color,
|
|
8363
8341
|
maxWidth: h,
|
|
8364
8342
|
rotation: f,
|
|
@@ -8375,7 +8353,7 @@ class je extends Le {
|
|
|
8375
8353
|
}
|
|
8376
8354
|
_layers() {
|
|
8377
8355
|
const t = this.options, e = t.ticks && t.ticks.z || 0, n = N(t.grid && t.grid.z, -1), s = N(t.border && t.border.z, 0);
|
|
8378
|
-
return !this._isVisible() || this.draw !==
|
|
8356
|
+
return !this._isVisible() || this.draw !== Fe.prototype.draw ? [
|
|
8379
8357
|
{
|
|
8380
8358
|
z: e,
|
|
8381
8359
|
draw: (r) => {
|
|
@@ -8442,11 +8420,11 @@ class Ni {
|
|
|
8442
8420
|
}
|
|
8443
8421
|
unregister(t) {
|
|
8444
8422
|
const e = this.items, n = t.id, s = this.scope;
|
|
8445
|
-
n in e && delete e[n], s && n in X[s] && (delete X[s][n], this.override && delete
|
|
8423
|
+
n in e && delete e[n], s && n in X[s] && (delete X[s][n], this.override && delete be[n]);
|
|
8446
8424
|
}
|
|
8447
8425
|
}
|
|
8448
8426
|
function Od(i, t, e) {
|
|
8449
|
-
const n =
|
|
8427
|
+
const n = ci(/* @__PURE__ */ Object.create(null), [
|
|
8450
8428
|
e ? X.get(e) : {},
|
|
8451
8429
|
X.get(t),
|
|
8452
8430
|
i.defaults
|
|
@@ -8466,7 +8444,7 @@ function Cd(i) {
|
|
|
8466
8444
|
}
|
|
8467
8445
|
class Td {
|
|
8468
8446
|
constructor() {
|
|
8469
|
-
this.controllers = new Ni(xn, "datasets", !0), this.elements = new Ni(
|
|
8447
|
+
this.controllers = new Ni(xn, "datasets", !0), this.elements = new Ni(je, "elements"), this.plugins = new Ni(Object, "plugins"), this.scales = new Ni(Fe, "scales"), this._typedRegistries = [
|
|
8470
8448
|
this.controllers,
|
|
8471
8449
|
this.scales,
|
|
8472
8450
|
this.elements
|
|
@@ -8547,12 +8525,13 @@ class Td {
|
|
|
8547
8525
|
var Pt = /* @__PURE__ */ new Td();
|
|
8548
8526
|
class Ed {
|
|
8549
8527
|
constructor() {
|
|
8550
|
-
this._init =
|
|
8528
|
+
this._init = void 0;
|
|
8551
8529
|
}
|
|
8552
8530
|
notify(t, e, n, s) {
|
|
8553
|
-
e === "beforeInit" && (this._init = this._createDescriptors(t, !0), this._notify(this._init, t, "install"))
|
|
8531
|
+
if (e === "beforeInit" && (this._init = this._createDescriptors(t, !0), this._notify(this._init, t, "install")), this._init === void 0)
|
|
8532
|
+
return;
|
|
8554
8533
|
const r = s ? this._descriptors(t).filter(s) : this._descriptors(t), o = this._notify(r, t, e, n);
|
|
8555
|
-
return e === "afterDestroy" && (this._notify(r, t, "stop"), this._notify(this._init, t, "uninstall")), o;
|
|
8534
|
+
return e === "afterDestroy" && (this._notify(r, t, "stop"), this._notify(this._init, t, "uninstall"), this._init = void 0), o;
|
|
8556
8535
|
}
|
|
8557
8536
|
_notify(t, e, n, s) {
|
|
8558
8537
|
s = s || {};
|
|
@@ -8672,7 +8651,7 @@ function zd(i, t) {
|
|
|
8672
8651
|
return {};
|
|
8673
8652
|
}
|
|
8674
8653
|
function Nd(i, t) {
|
|
8675
|
-
const e =
|
|
8654
|
+
const e = be[i.type] || {
|
|
8676
8655
|
scales: {}
|
|
8677
8656
|
}, n = t.scales || {}, s = is(i.type, t), r = /* @__PURE__ */ Object.create(null);
|
|
8678
8657
|
return Object.keys(n).forEach((o) => {
|
|
@@ -8682,7 +8661,7 @@ function Nd(i, t) {
|
|
|
8682
8661
|
if (a._proxy)
|
|
8683
8662
|
return console.warn(`Ignoring resolver passed as options for scale: ${o}`);
|
|
8684
8663
|
const c = ns(o, a, zd(o, i), X.scales[a.type]), l = Id(c, s), u = e.scales || {};
|
|
8685
|
-
r[o] =
|
|
8664
|
+
r[o] = ei(/* @__PURE__ */ Object.create(null), [
|
|
8686
8665
|
{
|
|
8687
8666
|
axis: c
|
|
8688
8667
|
},
|
|
@@ -8691,10 +8670,10 @@ function Nd(i, t) {
|
|
|
8691
8670
|
u[l]
|
|
8692
8671
|
]);
|
|
8693
8672
|
}), i.data.datasets.forEach((o) => {
|
|
8694
|
-
const a = o.type || i.type, c = o.indexAxis || is(a, t), u = (
|
|
8673
|
+
const a = o.type || i.type, c = o.indexAxis || is(a, t), u = (be[a] || {}).scales || {};
|
|
8695
8674
|
Object.keys(u).forEach((h) => {
|
|
8696
8675
|
const f = Fd(h, c), d = o[f + "AxisID"] || f;
|
|
8697
|
-
r[d] = r[d] || /* @__PURE__ */ Object.create(null),
|
|
8676
|
+
r[d] = r[d] || /* @__PURE__ */ Object.create(null), ei(r[d], [
|
|
8698
8677
|
{
|
|
8699
8678
|
axis: f
|
|
8700
8679
|
},
|
|
@@ -8704,7 +8683,7 @@ function Nd(i, t) {
|
|
|
8704
8683
|
});
|
|
8705
8684
|
}), Object.keys(r).forEach((o) => {
|
|
8706
8685
|
const a = r[o];
|
|
8707
|
-
|
|
8686
|
+
ei(a, [
|
|
8708
8687
|
X.scales[a.type],
|
|
8709
8688
|
X.scale
|
|
8710
8689
|
]);
|
|
@@ -8725,8 +8704,8 @@ function Hi(i, t) {
|
|
|
8725
8704
|
let e = Qr.get(i);
|
|
8726
8705
|
return e || (e = t(), Qr.set(i, e), Pa.add(e)), e;
|
|
8727
8706
|
}
|
|
8728
|
-
const
|
|
8729
|
-
const n =
|
|
8707
|
+
const Ke = (i, t, e) => {
|
|
8708
|
+
const n = ee(t, e);
|
|
8730
8709
|
n !== void 0 && i.add(n);
|
|
8731
8710
|
};
|
|
8732
8711
|
let Wd = class {
|
|
@@ -8814,7 +8793,7 @@ let Wd = class {
|
|
|
8814
8793
|
return a;
|
|
8815
8794
|
const c = /* @__PURE__ */ new Set();
|
|
8816
8795
|
e.forEach((u) => {
|
|
8817
|
-
t && (c.add(t), u.forEach((h) =>
|
|
8796
|
+
t && (c.add(t), u.forEach((h) => Ke(c, t, h))), u.forEach((h) => Ke(c, s, h)), u.forEach((h) => Ke(c, be[r] || {}, h)), u.forEach((h) => Ke(c, X, h)), u.forEach((h) => Ke(c, es, h));
|
|
8818
8797
|
});
|
|
8819
8798
|
const l = Array.from(c);
|
|
8820
8799
|
return l.length === 0 && l.push(/* @__PURE__ */ Object.create(null)), Pa.has(e) && o.set(e, l), l;
|
|
@@ -8823,7 +8802,7 @@ let Wd = class {
|
|
|
8823
8802
|
const { options: t, type: e } = this;
|
|
8824
8803
|
return [
|
|
8825
8804
|
t,
|
|
8826
|
-
|
|
8805
|
+
be[e] || {},
|
|
8827
8806
|
X.datasets[e] || {},
|
|
8828
8807
|
{
|
|
8829
8808
|
type: e
|
|
@@ -8840,9 +8819,9 @@ let Wd = class {
|
|
|
8840
8819
|
}, { resolver: o, subPrefixes: a } = Zr(this._resolverCache, t, s);
|
|
8841
8820
|
let c = o;
|
|
8842
8821
|
if ($d(o, e)) {
|
|
8843
|
-
r.$shared = !1, n =
|
|
8822
|
+
r.$shared = !1, n = ie(n) ? n() : n;
|
|
8844
8823
|
const l = this.createResolver(t, n, a);
|
|
8845
|
-
c =
|
|
8824
|
+
c = Re(o, n, l);
|
|
8846
8825
|
}
|
|
8847
8826
|
for (const l of e)
|
|
8848
8827
|
r[l] = c[l];
|
|
@@ -8852,7 +8831,7 @@ let Wd = class {
|
|
|
8852
8831
|
""
|
|
8853
8832
|
], s) {
|
|
8854
8833
|
const { resolver: r } = Zr(this._resolverCache, t, n);
|
|
8855
|
-
return z(e) ?
|
|
8834
|
+
return z(e) ? Re(r, e, void 0, s) : r;
|
|
8856
8835
|
}
|
|
8857
8836
|
};
|
|
8858
8837
|
function Zr(i, t, e) {
|
|
@@ -8865,17 +8844,17 @@ function Zr(i, t, e) {
|
|
|
8865
8844
|
subPrefixes: e.filter((a) => !a.toLowerCase().includes("hover"))
|
|
8866
8845
|
}, n.set(s, r)), r;
|
|
8867
8846
|
}
|
|
8868
|
-
const Vd = (i) => z(i) && Object.getOwnPropertyNames(i).some((t) =>
|
|
8847
|
+
const Vd = (i) => z(i) && Object.getOwnPropertyNames(i).some((t) => ie(i[t]));
|
|
8869
8848
|
function $d(i, t) {
|
|
8870
8849
|
const { isScriptable: e, isIndexable: n } = ma(i);
|
|
8871
8850
|
for (const s of t) {
|
|
8872
8851
|
const r = e(s), o = n(s), a = (o || r) && i[s];
|
|
8873
|
-
if (r && (
|
|
8852
|
+
if (r && (ie(a) || Vd(a)) || o && Q(a))
|
|
8874
8853
|
return !0;
|
|
8875
8854
|
}
|
|
8876
8855
|
return !1;
|
|
8877
8856
|
}
|
|
8878
|
-
var Ud = "4.5.
|
|
8857
|
+
var Ud = "4.5.1";
|
|
8879
8858
|
const Yd = [
|
|
8880
8859
|
"top",
|
|
8881
8860
|
"bottom",
|
|
@@ -8926,7 +8905,7 @@ function qd(i, t, e, n) {
|
|
|
8926
8905
|
let Ls = class {
|
|
8927
8906
|
static defaults = X;
|
|
8928
8907
|
static instances = Qi;
|
|
8929
|
-
static overrides =
|
|
8908
|
+
static overrides = be;
|
|
8930
8909
|
static registry = Pt;
|
|
8931
8910
|
static version = Ud;
|
|
8932
8911
|
static getChart = io;
|
|
@@ -9148,7 +9127,7 @@ let Ls = class {
|
|
|
9148
9127
|
for (let e = 0, n = this.data.datasets.length; e < n; ++e)
|
|
9149
9128
|
this.getDatasetMeta(e).controller.configure();
|
|
9150
9129
|
for (let e = 0, n = this.data.datasets.length; e < n; ++e)
|
|
9151
|
-
this._updateDataset(e,
|
|
9130
|
+
this._updateDataset(e, ie(t) ? t({
|
|
9152
9131
|
datasetIndex: e
|
|
9153
9132
|
}) : t);
|
|
9154
9133
|
this.notifyPlugins("afterDatasetsUpdate", {
|
|
@@ -9245,7 +9224,7 @@ let Ls = class {
|
|
|
9245
9224
|
}, n.push(s)), s;
|
|
9246
9225
|
}
|
|
9247
9226
|
getContext() {
|
|
9248
|
-
return this.$context || (this.$context =
|
|
9227
|
+
return this.$context || (this.$context = Le(null, {
|
|
9249
9228
|
chart: this,
|
|
9250
9229
|
type: "chart"
|
|
9251
9230
|
}));
|
|
@@ -9272,7 +9251,7 @@ let Ls = class {
|
|
|
9272
9251
|
}
|
|
9273
9252
|
_updateVisibility(t, e, n) {
|
|
9274
9253
|
const s = n ? "show" : "hide", r = this.getDatasetMeta(t), o = r.controller._resolveAnimations(void 0, s);
|
|
9275
|
-
|
|
9254
|
+
li(e) ? (r.data[e].hidden = !n, this.update()) : (this.setDatasetVisibility(t, n), o.update(r, {
|
|
9276
9255
|
visible: n
|
|
9277
9256
|
}), this.update((a) => a.datasetIndex === t ? s : void 0));
|
|
9278
9257
|
}
|
|
@@ -9423,27 +9402,27 @@ function La(i, t) {
|
|
|
9423
9402
|
bottom: u
|
|
9424
9403
|
};
|
|
9425
9404
|
}
|
|
9426
|
-
function
|
|
9405
|
+
function Qt(i, t, e, n) {
|
|
9427
9406
|
return i ? 0 : Ct(t, e, n);
|
|
9428
9407
|
}
|
|
9429
9408
|
function Gd(i, t, e) {
|
|
9430
9409
|
const n = i.options.borderWidth, s = i.borderSkipped, r = pa(n);
|
|
9431
9410
|
return {
|
|
9432
|
-
t:
|
|
9433
|
-
r:
|
|
9434
|
-
b:
|
|
9435
|
-
l:
|
|
9411
|
+
t: Qt(s.top, r.top, 0, e),
|
|
9412
|
+
r: Qt(s.right, r.right, 0, t),
|
|
9413
|
+
b: Qt(s.bottom, r.bottom, 0, e),
|
|
9414
|
+
l: Qt(s.left, r.left, 0, t)
|
|
9436
9415
|
};
|
|
9437
9416
|
}
|
|
9438
9417
|
function Qd(i, t, e) {
|
|
9439
9418
|
const { enableBorderRadius: n } = i.getProps([
|
|
9440
9419
|
"enableBorderRadius"
|
|
9441
|
-
]), s = i.options.borderRadius, r =
|
|
9420
|
+
]), s = i.options.borderRadius, r = Me(s), o = Math.min(t, e), a = i.borderSkipped, c = n || z(s);
|
|
9442
9421
|
return {
|
|
9443
|
-
topLeft:
|
|
9444
|
-
topRight:
|
|
9445
|
-
bottomLeft:
|
|
9446
|
-
bottomRight:
|
|
9422
|
+
topLeft: Qt(!c || a.top || a.left, r.topLeft, 0, o),
|
|
9423
|
+
topRight: Qt(!c || a.top || a.right, r.topRight, 0, o),
|
|
9424
|
+
bottomLeft: Qt(!c || a.bottom || a.left, r.bottomLeft, 0, o),
|
|
9425
|
+
bottomRight: Qt(!c || a.bottom || a.right, r.bottomRight, 0, o)
|
|
9447
9426
|
};
|
|
9448
9427
|
}
|
|
9449
9428
|
function Zd(i) {
|
|
@@ -9472,7 +9451,7 @@ function Zd(i) {
|
|
|
9472
9451
|
}
|
|
9473
9452
|
function Bn(i, t, e, n) {
|
|
9474
9453
|
const s = t === null, r = e === null, a = i && !(s && r) && La(i, n);
|
|
9475
|
-
return a && (s ||
|
|
9454
|
+
return a && (s || Ae(t, a.left, a.right)) && (r || Ae(e, a.top, a.bottom));
|
|
9476
9455
|
}
|
|
9477
9456
|
function Jd(i) {
|
|
9478
9457
|
return i.topLeft || i.topRight || i.bottomLeft || i.bottomRight;
|
|
@@ -9490,7 +9469,7 @@ function zn(i, t, e = {}) {
|
|
|
9490
9469
|
radius: i.radius
|
|
9491
9470
|
};
|
|
9492
9471
|
}
|
|
9493
|
-
class eg extends
|
|
9472
|
+
class eg extends je {
|
|
9494
9473
|
static id = "bar";
|
|
9495
9474
|
static defaults = {
|
|
9496
9475
|
borderSkipped: "start",
|
|
@@ -9604,7 +9583,7 @@ const oo = (i, t) => {
|
|
|
9604
9583
|
itemHeight: Math.max(t, e)
|
|
9605
9584
|
};
|
|
9606
9585
|
}, lg = (i, t) => i !== null && t !== null && i.datasetIndex === t.datasetIndex && i.index === t.index;
|
|
9607
|
-
class ao extends
|
|
9586
|
+
class ao extends je {
|
|
9608
9587
|
constructor(t) {
|
|
9609
9588
|
super(), this._added = !1, this.legendHitBoxes = [], this._hoveredItem = null, this.doughnutMode = !1, this.chart = t.chart, this.options = t.options, this.ctx = t.ctx, this.legendItems = void 0, this.columnSizes = void 0, this.lineWidths = void 0, this.maxHeight = void 0, this.maxWidth = void 0, this.top = void 0, this.bottom = void 0, this.left = void 0, this.right = void 0, this.height = void 0, this.width = void 0, this._margins = void 0, this.position = void 0, this.weight = void 0, this.fullSize = void 0;
|
|
9610
9589
|
}
|
|
@@ -9672,7 +9651,7 @@ class ao extends Le {
|
|
|
9672
9651
|
adjustHitBoxes() {
|
|
9673
9652
|
if (!this.options.display)
|
|
9674
9653
|
return;
|
|
9675
|
-
const t = this._computeTitleHeight(), { legendHitBoxes: e, options: { align: n, labels: { padding: s }, rtl: r } } = this, o =
|
|
9654
|
+
const t = this._computeTitleHeight(), { legendHitBoxes: e, options: { align: n, labels: { padding: s }, rtl: r } } = this, o = Oe(r, this.left, this.width);
|
|
9676
9655
|
if (this.isHorizontal()) {
|
|
9677
9656
|
let a = 0, c = st(n, this.left + s, this.right - this.lineWidths[a]);
|
|
9678
9657
|
for (const l of e)
|
|
@@ -9693,7 +9672,7 @@ class ao extends Le {
|
|
|
9693
9672
|
}
|
|
9694
9673
|
}
|
|
9695
9674
|
_draw() {
|
|
9696
|
-
const { options: t, columnSizes: e, lineWidths: n, ctx: s } = this, { align: r, labels: o } = t, a = X.color, c =
|
|
9675
|
+
const { options: t, columnSizes: e, lineWidths: n, ctx: s } = this, { align: r, labels: o } = t, a = X.color, c = Oe(t.rtl, this.left, this.width), l = rt(o.font), { padding: u } = o, h = l.size, f = h / 2;
|
|
9697
9676
|
let d;
|
|
9698
9677
|
this.drawTitle(), s.textAlign = c.textAlign("left"), s.textBaseline = "middle", s.lineWidth = 0.5, s.font = l.string;
|
|
9699
9678
|
const { boxWidth: g, boxHeight: m, itemHeight: b } = oo(o, h), x = function(w, A, M) {
|
|
@@ -9710,7 +9689,7 @@ class ao extends Le {
|
|
|
9710
9689
|
}, T = c.xPlus(w, g / 2), D = A + f;
|
|
9711
9690
|
fa(s, E, T, D, o.pointStyleWidth && g);
|
|
9712
9691
|
} else {
|
|
9713
|
-
const E = A + Math.max((h - m) / 2, 0), T = c.leftForLtr(w, g), D =
|
|
9692
|
+
const E = A + Math.max((h - m) / 2, 0), T = c.leftForLtr(w, g), D = Me(M.borderRadius);
|
|
9714
9693
|
s.beginPath(), Object.values(D).some((j) => j !== 0) ? an(s, {
|
|
9715
9694
|
x: T,
|
|
9716
9695
|
y: E,
|
|
@@ -9721,7 +9700,7 @@ class ao extends Le {
|
|
|
9721
9700
|
}
|
|
9722
9701
|
s.restore();
|
|
9723
9702
|
}, y = function(w, A, M) {
|
|
9724
|
-
|
|
9703
|
+
ui(s, M.text, w, A + b / 2, l, {
|
|
9725
9704
|
strikethrough: M.hidden,
|
|
9726
9705
|
textAlign: c.textAlign(M.textAlign)
|
|
9727
9706
|
});
|
|
@@ -9755,7 +9734,7 @@ class ao extends Le {
|
|
|
9755
9734
|
const t = this.options, e = t.title, n = rt(e.font), s = Mt(e.padding);
|
|
9756
9735
|
if (!e.display)
|
|
9757
9736
|
return;
|
|
9758
|
-
const r =
|
|
9737
|
+
const r = Oe(t.rtl, this.left, this.width), o = this.ctx, a = e.position, c = n.size / 2, l = s.top + c;
|
|
9759
9738
|
let u, h = this.left, f = this.width;
|
|
9760
9739
|
if (this.isHorizontal())
|
|
9761
9740
|
f = Math.max(...this.lineWidths), u = this.top + l, h = st(t.align, h, this.right - f);
|
|
@@ -9764,7 +9743,7 @@ class ao extends Le {
|
|
|
9764
9743
|
u = l + st(t.align, this.top, this.bottom - g - t.labels.padding - this._computeTitleHeight());
|
|
9765
9744
|
}
|
|
9766
9745
|
const d = st(a, h, h + f);
|
|
9767
|
-
o.textAlign = r.textAlign(As(a)), o.textBaseline = "middle", o.strokeStyle = e.color, o.fillStyle = e.color, o.font = n.string,
|
|
9746
|
+
o.textAlign = r.textAlign(As(a)), o.textBaseline = "middle", o.strokeStyle = e.color, o.fillStyle = e.color, o.font = n.string, ui(o, e.text, d, u, n);
|
|
9768
9747
|
}
|
|
9769
9748
|
_computeTitleHeight() {
|
|
9770
9749
|
const t = this.options.title, e = rt(t.font), n = Mt(t.padding);
|
|
@@ -9772,9 +9751,9 @@ class ao extends Le {
|
|
|
9772
9751
|
}
|
|
9773
9752
|
_getLegendItemAt(t, e) {
|
|
9774
9753
|
let n, s, r;
|
|
9775
|
-
if (
|
|
9754
|
+
if (Ae(t, this.left, this.right) && Ae(e, this.top, this.bottom)) {
|
|
9776
9755
|
for (r = this.legendHitBoxes, n = 0; n < r.length; ++n)
|
|
9777
|
-
if (s = r[n],
|
|
9756
|
+
if (s = r[n], Ae(t, s.left, s.left + s.width) && Ae(e, s.top, s.top + s.height))
|
|
9778
9757
|
return this.legendItems[n];
|
|
9779
9758
|
}
|
|
9780
9759
|
return null;
|
|
@@ -9908,7 +9887,7 @@ var gg = {
|
|
|
9908
9887
|
}
|
|
9909
9888
|
}
|
|
9910
9889
|
};
|
|
9911
|
-
class Ba extends
|
|
9890
|
+
class Ba extends je {
|
|
9912
9891
|
constructor(t) {
|
|
9913
9892
|
super(), this.chart = t.chart, this.options = t.options, this.ctx = t.ctx, this._padding = void 0, this.top = void 0, this.bottom = void 0, this.left = void 0, this.right = void 0, this.width = void 0, this.height = void 0, this.position = void 0, this.weight = void 0, this.fullSize = void 0;
|
|
9914
9893
|
}
|
|
@@ -9943,7 +9922,7 @@ class Ba extends Le {
|
|
|
9943
9922
|
if (!e.display)
|
|
9944
9923
|
return;
|
|
9945
9924
|
const n = rt(e.font), r = n.lineHeight / 2 + this._padding.top, { titleX: o, titleY: a, maxWidth: c, rotation: l } = this._drawArgs(r);
|
|
9946
|
-
|
|
9925
|
+
ui(t, e.text, 0, 0, n, {
|
|
9947
9926
|
color: e.color,
|
|
9948
9927
|
maxWidth: c,
|
|
9949
9928
|
rotation: l,
|
|
@@ -9998,7 +9977,7 @@ var mg = {
|
|
|
9998
9977
|
_indexable: !1
|
|
9999
9978
|
}
|
|
10000
9979
|
};
|
|
10001
|
-
const
|
|
9980
|
+
const Qe = {
|
|
10002
9981
|
average(i) {
|
|
10003
9982
|
if (!i.length)
|
|
10004
9983
|
return !1;
|
|
@@ -10109,7 +10088,7 @@ function wg(i, t, e) {
|
|
|
10109
10088
|
return t === "top" ? n += e : t === "bottom" ? n -= s + e : n -= s / 2, n;
|
|
10110
10089
|
}
|
|
10111
10090
|
function uo(i, t, e, n) {
|
|
10112
|
-
const { caretSize: s, caretPadding: r, cornerRadius: o } = i, { xAlign: a, yAlign: c } = e, l = s + r, { topLeft: u, topRight: h, bottomLeft: f, bottomRight: d } =
|
|
10091
|
+
const { caretSize: s, caretPadding: r, cornerRadius: o } = i, { xAlign: a, yAlign: c } = e, l = s + r, { topLeft: u, topRight: h, bottomLeft: f, bottomRight: d } = Me(o);
|
|
10113
10092
|
let g = _g(t, a);
|
|
10114
10093
|
const m = wg(t, c, l);
|
|
10115
10094
|
return c === "center" ? a === "left" ? g += l : a === "right" && (g -= l) : a === "left" ? g -= Math.max(u, f) + s : a === "right" && (g += Math.max(h, d) + s), {
|
|
@@ -10125,7 +10104,7 @@ function ho(i) {
|
|
|
10125
10104
|
return Et([], Vt(i));
|
|
10126
10105
|
}
|
|
10127
10106
|
function Sg(i, t, e) {
|
|
10128
|
-
return
|
|
10107
|
+
return Le(i, {
|
|
10129
10108
|
tooltip: t,
|
|
10130
10109
|
tooltipItems: e,
|
|
10131
10110
|
type: "tooltip"
|
|
@@ -10191,8 +10170,8 @@ function ct(i, t, e, n) {
|
|
|
10191
10170
|
const s = i[t].call(e, n);
|
|
10192
10171
|
return typeof s > "u" ? za[t].call(e, n) : s;
|
|
10193
10172
|
}
|
|
10194
|
-
class go extends
|
|
10195
|
-
static positioners =
|
|
10173
|
+
class go extends je {
|
|
10174
|
+
static positioners = Qe;
|
|
10196
10175
|
constructor(t) {
|
|
10197
10176
|
super(), this.opacity = 0, this._active = [], this._eventPosition = void 0, this._size = void 0, this._cachedAnimations = void 0, this._tooltipItems = [], this.$animations = void 0, this.$context = void 0, this.chart = t.chart, this.options = t.options, this.dataPoints = void 0, this.title = void 0, this.beforeBody = void 0, this.body = void 0, this.afterBody = void 0, this.footer = void 0, this.xAlign = void 0, this.yAlign = void 0, this.x = void 0, this.y = void 0, this.height = void 0, this.width = void 0, this.caretX = void 0, this.caretY = void 0, this.labelColors = void 0, this.labelPointStyles = void 0, this.labelTextColors = void 0;
|
|
10198
10177
|
}
|
|
@@ -10254,7 +10233,7 @@ class go extends Le {
|
|
|
10254
10233
|
opacity: 0
|
|
10255
10234
|
});
|
|
10256
10235
|
else {
|
|
10257
|
-
const a =
|
|
10236
|
+
const a = Qe[n.position].call(this, s, this._eventPosition);
|
|
10258
10237
|
o = this._createItems(n), this.title = this.getTitle(o, n), this.beforeBody = this.getBeforeBody(o, n), this.body = this.getBody(o, n), this.afterBody = this.getAfterBody(o, n), this.footer = this.getFooter(o, n);
|
|
10259
10238
|
const c = this._size = co(this, n), l = Object.assign({}, a, c), u = lo(this.chart, n, l), h = uo(n, l, u, this.chart);
|
|
10260
10239
|
this.xAlign = u.xAlign, this.yAlign = u.yAlign, r = {
|
|
@@ -10278,7 +10257,7 @@ class go extends Le {
|
|
|
10278
10257
|
e.lineTo(r.x1, r.y1), e.lineTo(r.x2, r.y2), e.lineTo(r.x3, r.y3);
|
|
10279
10258
|
}
|
|
10280
10259
|
getCaretPosition(t, e, n) {
|
|
10281
|
-
const { xAlign: s, yAlign: r } = this, { caretSize: o, cornerRadius: a } = n, { topLeft: c, topRight: l, bottomLeft: u, bottomRight: h } =
|
|
10260
|
+
const { xAlign: s, yAlign: r } = this, { caretSize: o, cornerRadius: a } = n, { topLeft: c, topRight: l, bottomLeft: u, bottomRight: h } = Me(a), { x: f, y: d } = t, { width: g, height: m } = e;
|
|
10282
10261
|
let b, x, y, S, p, k;
|
|
10283
10262
|
return r === "center" ? (p = d + m / 2, s === "left" ? (b = f, x = b - o, S = p + o, k = p - o) : (b = f + g, x = b + o, S = p - o, k = p + o), y = b) : (s === "left" ? x = f + Math.max(c, u) + o : s === "right" ? x = f + g - Math.max(l, h) - o : x = this.caretX, r === "top" ? (S = d, p = S - o, b = x - o, y = x + o) : (S = d + m, p = S + o, b = x + o, y = x - o), k = S), {
|
|
10284
10263
|
x1: b,
|
|
@@ -10293,7 +10272,7 @@ class go extends Le {
|
|
|
10293
10272
|
const s = this.title, r = s.length;
|
|
10294
10273
|
let o, a, c;
|
|
10295
10274
|
if (r) {
|
|
10296
|
-
const l =
|
|
10275
|
+
const l = Oe(n.rtl, this.x, this.width);
|
|
10297
10276
|
for (t.x = Wi(this, n.titleAlign, n), e.textAlign = l.textAlign(n.titleAlign), e.textBaseline = "middle", o = rt(n.titleFont), a = n.titleSpacing, e.fillStyle = n.titleColor, e.font = o.string, c = 0; c < r; ++c)
|
|
10298
10277
|
e.fillText(s[c], l.x(t.x), t.y + o.lineHeight / 2), t.y += o.lineHeight + a, c + 1 === r && (t.y += n.titleMarginBottom - a);
|
|
10299
10278
|
}
|
|
@@ -10310,7 +10289,7 @@ class go extends Le {
|
|
|
10310
10289
|
t.strokeStyle = r.multiKeyBackground, t.fillStyle = r.multiKeyBackground, Ar(t, m, b, x), t.strokeStyle = o.borderColor, t.fillStyle = o.backgroundColor, Ar(t, m, b, x);
|
|
10311
10290
|
} else {
|
|
10312
10291
|
t.lineWidth = z(o.borderWidth) ? Math.max(...Object.values(o.borderWidth)) : o.borderWidth || 1, t.strokeStyle = o.borderColor, t.setLineDash(o.borderDash || []), t.lineDashOffset = o.borderDashOffset || 0;
|
|
10313
|
-
const m = s.leftForLtr(f, l), b = s.leftForLtr(s.xPlus(f, 1), l - 2), x =
|
|
10292
|
+
const m = s.leftForLtr(f, l), b = s.leftForLtr(s.xPlus(f, 1), l - 2), x = Me(o.borderRadius);
|
|
10314
10293
|
Object.values(x).some((y) => y !== 0) ? (t.beginPath(), t.fillStyle = r.multiKeyBackground, an(t, {
|
|
10315
10294
|
x: m,
|
|
10316
10295
|
y: g,
|
|
@@ -10330,7 +10309,7 @@ class go extends Le {
|
|
|
10330
10309
|
drawBody(t, e, n) {
|
|
10331
10310
|
const { body: s } = this, { bodySpacing: r, bodyAlign: o, displayColors: a, boxHeight: c, boxWidth: l, boxPadding: u } = n, h = rt(n.bodyFont);
|
|
10332
10311
|
let f = h.lineHeight, d = 0;
|
|
10333
|
-
const g =
|
|
10312
|
+
const g = Oe(n.rtl, this.x, this.width), m = function(M) {
|
|
10334
10313
|
e.fillText(M, g.x(t.x + d), t.y + f / 2), t.y += f + r;
|
|
10335
10314
|
}, b = g.textAlign(o);
|
|
10336
10315
|
let x, y, S, p, k, w, A;
|
|
@@ -10345,19 +10324,19 @@ class go extends Le {
|
|
|
10345
10324
|
const s = this.footer, r = s.length;
|
|
10346
10325
|
let o, a;
|
|
10347
10326
|
if (r) {
|
|
10348
|
-
const c =
|
|
10327
|
+
const c = Oe(n.rtl, this.x, this.width);
|
|
10349
10328
|
for (t.x = Wi(this, n.footerAlign, n), t.y += n.footerMarginTop, e.textAlign = c.textAlign(n.footerAlign), e.textBaseline = "middle", o = rt(n.footerFont), e.fillStyle = n.footerColor, e.font = o.string, a = 0; a < r; ++a)
|
|
10350
10329
|
e.fillText(s[a], c.x(t.x), t.y + o.lineHeight / 2), t.y += o.lineHeight + n.footerSpacing;
|
|
10351
10330
|
}
|
|
10352
10331
|
}
|
|
10353
10332
|
drawBackground(t, e, n, s) {
|
|
10354
|
-
const { xAlign: r, yAlign: o } = this, { x: a, y: c } = t, { width: l, height: u } = n, { topLeft: h, topRight: f, bottomLeft: d, bottomRight: g } =
|
|
10333
|
+
const { xAlign: r, yAlign: o } = this, { x: a, y: c } = t, { width: l, height: u } = n, { topLeft: h, topRight: f, bottomLeft: d, bottomRight: g } = Me(s.cornerRadius);
|
|
10355
10334
|
e.fillStyle = s.backgroundColor, e.strokeStyle = s.borderColor, e.lineWidth = s.borderWidth, e.beginPath(), e.moveTo(a + h, c), o === "top" && this.drawCaret(t, e, n, s), e.lineTo(a + l - f, c), e.quadraticCurveTo(a + l, c, a + l, c + f), o === "center" && r === "right" && this.drawCaret(t, e, n, s), e.lineTo(a + l, c + u - g), e.quadraticCurveTo(a + l, c + u, a + l - g, c + u), o === "bottom" && this.drawCaret(t, e, n, s), e.lineTo(a + d, c + u), e.quadraticCurveTo(a, c + u, a, c + u - d), o === "center" && r === "left" && this.drawCaret(t, e, n, s), e.lineTo(a, c + h), e.quadraticCurveTo(a, c, a + h, c), e.closePath(), e.fill(), s.borderWidth > 0 && e.stroke();
|
|
10356
10335
|
}
|
|
10357
10336
|
_updateAnimationTarget(t) {
|
|
10358
10337
|
const e = this.chart, n = this.$animations, s = n && n.x, r = n && n.y;
|
|
10359
10338
|
if (s || r) {
|
|
10360
|
-
const o =
|
|
10339
|
+
const o = Qe[t.position].call(this, this._active, this._eventPosition);
|
|
10361
10340
|
if (!o)
|
|
10362
10341
|
return;
|
|
10363
10342
|
const a = this._size = co(this, t), c = Object.assign({}, o, this._size), l = lo(e, t, c), u = uo(t, c, l, e);
|
|
@@ -10420,14 +10399,14 @@ class go extends Le {
|
|
|
10420
10399
|
return r.reverse && o.reverse(), o;
|
|
10421
10400
|
}
|
|
10422
10401
|
_positionChanged(t, e) {
|
|
10423
|
-
const { caretX: n, caretY: s, options: r } = this, o =
|
|
10402
|
+
const { caretX: n, caretY: s, options: r } = this, o = Qe[r.position].call(this, t, e);
|
|
10424
10403
|
return o !== !1 && (n !== o.x || s !== o.y);
|
|
10425
10404
|
}
|
|
10426
10405
|
}
|
|
10427
10406
|
var kg = {
|
|
10428
10407
|
id: "tooltip",
|
|
10429
10408
|
_element: go,
|
|
10430
|
-
positioners:
|
|
10409
|
+
positioners: Qe,
|
|
10431
10410
|
afterInit(i, t, e) {
|
|
10432
10411
|
e && (i.tooltip = new go({
|
|
10433
10412
|
chart: i,
|
|
@@ -10556,7 +10535,7 @@ function po(i) {
|
|
|
10556
10535
|
const t = this.getLabels();
|
|
10557
10536
|
return i >= 0 && i < t.length ? t[i] : i;
|
|
10558
10537
|
}
|
|
10559
|
-
class Dg extends
|
|
10538
|
+
class Dg extends Fe {
|
|
10560
10539
|
static id = "category";
|
|
10561
10540
|
static defaults = {
|
|
10562
10541
|
ticks: {
|
|
@@ -10653,7 +10632,7 @@ function mo(i, t, { horizontal: e, minRotation: n }) {
|
|
|
10653
10632
|
const s = Lt(n), r = (e ? Math.sin(s) : Math.cos(s)) || 1e-3, o = 0.75 * t * ("" + i).length;
|
|
10654
10633
|
return Math.min(t / r, o);
|
|
10655
10634
|
}
|
|
10656
|
-
class Tg extends
|
|
10635
|
+
class Tg extends Fe {
|
|
10657
10636
|
constructor(t) {
|
|
10658
10637
|
super(t), this.start = void 0, this.end = void 0, this._startValue = void 0, this._endValue = void 0, this._valueRange = 0;
|
|
10659
10638
|
}
|
|
@@ -10665,7 +10644,7 @@ class Tg extends je {
|
|
|
10665
10644
|
let { min: s, max: r } = this;
|
|
10666
10645
|
const o = (c) => s = e ? s : c, a = (c) => r = n ? r : c;
|
|
10667
10646
|
if (t) {
|
|
10668
|
-
const c =
|
|
10647
|
+
const c = te(s), l = te(r);
|
|
10669
10648
|
c < 0 && l < 0 ? a(0) : c > 0 && l > 0 && o(0);
|
|
10670
10649
|
}
|
|
10671
10650
|
if (s === r) {
|
|
@@ -10839,7 +10818,7 @@ function _o(i, t, e) {
|
|
|
10839
10818
|
});
|
|
10840
10819
|
return r === 0 || !e ? n : Lg(i, n, s, e);
|
|
10841
10820
|
}
|
|
10842
|
-
class wo extends
|
|
10821
|
+
class wo extends Fe {
|
|
10843
10822
|
static id = "time";
|
|
10844
10823
|
static defaults = {
|
|
10845
10824
|
bounds: "data",
|
|
@@ -10869,7 +10848,7 @@ class wo extends je {
|
|
|
10869
10848
|
}
|
|
10870
10849
|
init(t, e = {}) {
|
|
10871
10850
|
const n = t.time || (t.time = {}), s = this._adapter = new Hf._date(t.adapters.date);
|
|
10872
|
-
s.init(e),
|
|
10851
|
+
s.init(e), ei(n.displayFormats, s.formats()), this._parseOpts = {
|
|
10873
10852
|
parser: n.parser,
|
|
10874
10853
|
round: n.round,
|
|
10875
10854
|
isoWeekday: n.isoWeekday
|
|
@@ -11558,7 +11537,7 @@ function ep(i = [], t = P.minMatchCharLength) {
|
|
|
11558
11537
|
}
|
|
11559
11538
|
return i[r - 1] && r - n >= t && e.push([n, r - 1]), e;
|
|
11560
11539
|
}
|
|
11561
|
-
const
|
|
11540
|
+
const de = 32;
|
|
11562
11541
|
function ip(i, t, e, {
|
|
11563
11542
|
location: n = P.location,
|
|
11564
11543
|
distance: s = P.distance,
|
|
@@ -11568,8 +11547,8 @@ function ip(i, t, e, {
|
|
|
11568
11547
|
includeMatches: c = P.includeMatches,
|
|
11569
11548
|
ignoreLocation: l = P.ignoreLocation
|
|
11570
11549
|
} = {}) {
|
|
11571
|
-
if (t.length >
|
|
11572
|
-
throw new Error(Vg(
|
|
11550
|
+
if (t.length > de)
|
|
11551
|
+
throw new Error(Vg(de));
|
|
11573
11552
|
const u = t.length, h = i.length, f = Math.max(0, Math.min(n, h));
|
|
11574
11553
|
let d = r, g = f;
|
|
11575
11554
|
const m = a > 1 || c, b = m ? Array(h) : [];
|
|
@@ -11646,7 +11625,7 @@ function np(i) {
|
|
|
11646
11625
|
}
|
|
11647
11626
|
return t;
|
|
11648
11627
|
}
|
|
11649
|
-
const un = String.prototype.normalize ? (i) => i.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g, "") : (i) => i;
|
|
11628
|
+
const un = String.prototype.normalize ? ((i) => i.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g, "")) : ((i) => i);
|
|
11650
11629
|
class Ua {
|
|
11651
11630
|
constructor(t, {
|
|
11652
11631
|
location: e = P.location,
|
|
@@ -11678,13 +11657,13 @@ class Ua {
|
|
|
11678
11657
|
startIndex: g
|
|
11679
11658
|
});
|
|
11680
11659
|
}, f = this.pattern.length;
|
|
11681
|
-
if (f >
|
|
11660
|
+
if (f > de) {
|
|
11682
11661
|
let d = 0;
|
|
11683
|
-
const g = f %
|
|
11662
|
+
const g = f % de, m = f - g;
|
|
11684
11663
|
for (; d < m; )
|
|
11685
|
-
h(this.pattern.substr(d,
|
|
11664
|
+
h(this.pattern.substr(d, de), d), d += de;
|
|
11686
11665
|
if (g) {
|
|
11687
|
-
const b = f -
|
|
11666
|
+
const b = f - de;
|
|
11688
11667
|
h(this.pattern.substr(b), b);
|
|
11689
11668
|
}
|
|
11690
11669
|
} else
|
|
@@ -11727,7 +11706,7 @@ class Ua {
|
|
|
11727
11706
|
return d && s && (g.indices = h), g;
|
|
11728
11707
|
}
|
|
11729
11708
|
}
|
|
11730
|
-
class
|
|
11709
|
+
class se {
|
|
11731
11710
|
constructor(t) {
|
|
11732
11711
|
this.pattern = t;
|
|
11733
11712
|
}
|
|
@@ -11744,7 +11723,7 @@ function Oo(i, t) {
|
|
|
11744
11723
|
const e = i.match(t);
|
|
11745
11724
|
return e ? e[1] : null;
|
|
11746
11725
|
}
|
|
11747
|
-
class sp extends
|
|
11726
|
+
class sp extends se {
|
|
11748
11727
|
constructor(t) {
|
|
11749
11728
|
super(t);
|
|
11750
11729
|
}
|
|
@@ -11766,7 +11745,7 @@ class sp extends ne {
|
|
|
11766
11745
|
};
|
|
11767
11746
|
}
|
|
11768
11747
|
}
|
|
11769
|
-
class rp extends
|
|
11748
|
+
class rp extends se {
|
|
11770
11749
|
constructor(t) {
|
|
11771
11750
|
super(t);
|
|
11772
11751
|
}
|
|
@@ -11788,7 +11767,7 @@ class rp extends ne {
|
|
|
11788
11767
|
};
|
|
11789
11768
|
}
|
|
11790
11769
|
}
|
|
11791
|
-
class op extends
|
|
11770
|
+
class op extends se {
|
|
11792
11771
|
constructor(t) {
|
|
11793
11772
|
super(t);
|
|
11794
11773
|
}
|
|
@@ -11810,7 +11789,7 @@ class op extends ne {
|
|
|
11810
11789
|
};
|
|
11811
11790
|
}
|
|
11812
11791
|
}
|
|
11813
|
-
class ap extends
|
|
11792
|
+
class ap extends se {
|
|
11814
11793
|
constructor(t) {
|
|
11815
11794
|
super(t);
|
|
11816
11795
|
}
|
|
@@ -11832,7 +11811,7 @@ class ap extends ne {
|
|
|
11832
11811
|
};
|
|
11833
11812
|
}
|
|
11834
11813
|
}
|
|
11835
|
-
class cp extends
|
|
11814
|
+
class cp extends se {
|
|
11836
11815
|
constructor(t) {
|
|
11837
11816
|
super(t);
|
|
11838
11817
|
}
|
|
@@ -11854,7 +11833,7 @@ class cp extends ne {
|
|
|
11854
11833
|
};
|
|
11855
11834
|
}
|
|
11856
11835
|
}
|
|
11857
|
-
class lp extends
|
|
11836
|
+
class lp extends se {
|
|
11858
11837
|
constructor(t) {
|
|
11859
11838
|
super(t);
|
|
11860
11839
|
}
|
|
@@ -11876,7 +11855,7 @@ class lp extends ne {
|
|
|
11876
11855
|
};
|
|
11877
11856
|
}
|
|
11878
11857
|
}
|
|
11879
|
-
class Ya extends
|
|
11858
|
+
class Ya extends se {
|
|
11880
11859
|
constructor(t, {
|
|
11881
11860
|
location: e = P.location,
|
|
11882
11861
|
threshold: n = P.threshold,
|
|
@@ -11913,7 +11892,7 @@ class Ya extends ne {
|
|
|
11913
11892
|
return this._bitapSearch.searchIn(t);
|
|
11914
11893
|
}
|
|
11915
11894
|
}
|
|
11916
|
-
class Xa extends
|
|
11895
|
+
class Xa extends se {
|
|
11917
11896
|
constructor(t) {
|
|
11918
11897
|
super(t);
|
|
11919
11898
|
}
|
|
@@ -12135,7 +12114,7 @@ function _p(i, t, {
|
|
|
12135
12114
|
}), a;
|
|
12136
12115
|
});
|
|
12137
12116
|
}
|
|
12138
|
-
class
|
|
12117
|
+
class Ie {
|
|
12139
12118
|
constructor(t, e = {}, n) {
|
|
12140
12119
|
this.options = { ...P, ...e }, this.options.useExtendedSearch, this._keyStore = new Yg(this.options.keys), this.setCollection(t, n);
|
|
12141
12120
|
}
|
|
@@ -12272,11 +12251,11 @@ class Fe {
|
|
|
12272
12251
|
return s;
|
|
12273
12252
|
}
|
|
12274
12253
|
}
|
|
12275
|
-
|
|
12276
|
-
|
|
12277
|
-
|
|
12278
|
-
|
|
12279
|
-
|
|
12254
|
+
Ie.version = "7.1.0";
|
|
12255
|
+
Ie.createIndex = $a;
|
|
12256
|
+
Ie.parseIndex = tp;
|
|
12257
|
+
Ie.config = P;
|
|
12258
|
+
Ie.parseQuery = Ka;
|
|
12280
12259
|
pp(gp);
|
|
12281
12260
|
function wp({ highlight: i, text: t }) {
|
|
12282
12261
|
if (!i || !i.length) return t;
|
|
@@ -12339,7 +12318,7 @@ function Ap({ infoGroupId: i }) {
|
|
|
12339
12318
|
},
|
|
12340
12319
|
method: "POST"
|
|
12341
12320
|
}), [e, n] = q.useState(""), s = q.useMemo(
|
|
12342
|
-
() => t?.data && t.data.length ? new
|
|
12321
|
+
() => t?.data && t.data.length ? new Ie(t.data, {
|
|
12343
12322
|
keys: [
|
|
12344
12323
|
{ name: "software_name", weight: 0.6 },
|
|
12345
12324
|
{ name: "software_description", weight: 0.4 }
|
|
@@ -12457,7 +12436,7 @@ function Rp({
|
|
|
12457
12436
|
baseUri: i,
|
|
12458
12437
|
showBreadcrumbs: t = !0
|
|
12459
12438
|
}) {
|
|
12460
|
-
const { infoGroupId: e } = nc(), n =
|
|
12439
|
+
const { infoGroupId: e } = nc(), n = fi(e), s = [{ name: "Resources", href: i }];
|
|
12461
12440
|
return n && s.push({ name: n.name }), /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
|
|
12462
12441
|
t && /* @__PURE__ */ v.jsx(
|
|
12463
12442
|
sc,
|