@carbon/charts-react 1.14.3 → 1.14.5
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/index.js +15 -15
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +613 -609
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -2,19 +2,19 @@ var W0 = Object.defineProperty;
|
|
|
2
2
|
var q0 = (e, t, n) => t in e ? W0(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var Jo = (e, t, n) => (q0(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
4
4
|
import Aa from "react";
|
|
5
|
-
var Ep = /* @__PURE__ */ ((e) => (e.RENDER_FINISHED = "render-finished", e.RESIZE = "chart-resize", e.MOUSEOVER = "chart-mouseover", e.MOUSEOUT = "chart-mouseout", e))(Ep || {}), _p = /* @__PURE__ */ ((e) => (e.SHOW = "show-modal", e.HIDE = "hide-modal", e))(_p || {}), wp = /* @__PURE__ */ ((e) => (e.UPDATE = "model-update", e))(wp || {}), Sp = /* @__PURE__ */ ((e) => (e.SHOW_OVERFLOW_MENU = "show-toolbar-overflow-menu", e.HIDE_OVERFLOW_MENU = "hide-toolbar-overflow-menu", e.BUTTON_CLICK = "toolbar-button-click", e))(Sp || {}), Op = /* @__PURE__ */ ((e) => (e.UPDATE = "zoom-bar-update", e.SELECTION_START = "zoom-bar-selection-start", e.SELECTION_IN_PROGRESS = "zoom-bar-selection-in-progress", e.SELECTION_END = "zoom-bar-selection-end", e))(Op || {}), Tp = /* @__PURE__ */ ((e) => (e.CHANGE = "zoom-domain-change", e))(Tp || {}), Mp = /* @__PURE__ */ ((e) => (e.CANVAS_ZOOM_IN = "canvas-zoom-in", e.CANVAS_ZOOM_OUT = "canvas-zoom-out", e))(Mp || {}), Cp = /* @__PURE__ */ ((e) => (e.LABEL_MOUSEOVER = "axis-label-mouseover", e.LABEL_MOUSEMOVE = "axis-label-mousemove", e.LABEL_CLICK = "axis-label-click", e.LABEL_MOUSEOUT = "axis-label-mouseout", e.LABEL_FOCUS = "axis-label-focus", e.LABEL_BLUR = "axis-label-blur", e.RENDER_COMPLETE = "axis-render-complete", e))(Cp || {}), Ap = /* @__PURE__ */ ((e) => (e.POINT_MOUSEOVER = "scatter-mouseover", e.POINT_MOUSEMOVE = "scatter-mousemove", e.POINT_CLICK = "scatter-click", e.POINT_MOUSEOUT = "scatter-mouseout", e))(Ap || {}), $p = /* @__PURE__ */ ((e) => (e.WORD_MOUSEOVER = "wordcloud-word-mouseover", e.WORD_MOUSEMOVE = "wordcloud-word-mousemove", e.WORD_CLICK = "wordcloud-word-click", e.WORD_MOUSEOUT = "wordcloud-word-mouseout", e))($p || {}), Lp = /* @__PURE__ */ ((e) => (e.SLICE_MOUSEOVER = "pie-slice-mouseover", e.SLICE_MOUSEMOVE = "pie-slice-mousemove", e.SLICE_CLICK = "pie-slice-click", e.SLICE_MOUSEOUT = "pie-slice-mouseout", e))(Lp || {}),
|
|
5
|
+
var Ep = /* @__PURE__ */ ((e) => (e.RENDER_FINISHED = "render-finished", e.RESIZE = "chart-resize", e.MOUSEOVER = "chart-mouseover", e.MOUSEOUT = "chart-mouseout", e))(Ep || {}), _p = /* @__PURE__ */ ((e) => (e.SHOW = "show-modal", e.HIDE = "hide-modal", e))(_p || {}), wp = /* @__PURE__ */ ((e) => (e.UPDATE = "model-update", e))(wp || {}), Sp = /* @__PURE__ */ ((e) => (e.SHOW_OVERFLOW_MENU = "show-toolbar-overflow-menu", e.HIDE_OVERFLOW_MENU = "hide-toolbar-overflow-menu", e.BUTTON_CLICK = "toolbar-button-click", e))(Sp || {}), Op = /* @__PURE__ */ ((e) => (e.UPDATE = "zoom-bar-update", e.SELECTION_START = "zoom-bar-selection-start", e.SELECTION_IN_PROGRESS = "zoom-bar-selection-in-progress", e.SELECTION_END = "zoom-bar-selection-end", e))(Op || {}), Tp = /* @__PURE__ */ ((e) => (e.CHANGE = "zoom-domain-change", e))(Tp || {}), Mp = /* @__PURE__ */ ((e) => (e.CANVAS_ZOOM_IN = "canvas-zoom-in", e.CANVAS_ZOOM_OUT = "canvas-zoom-out", e))(Mp || {}), Cp = /* @__PURE__ */ ((e) => (e.LABEL_MOUSEOVER = "axis-label-mouseover", e.LABEL_MOUSEMOVE = "axis-label-mousemove", e.LABEL_CLICK = "axis-label-click", e.LABEL_MOUSEOUT = "axis-label-mouseout", e.LABEL_FOCUS = "axis-label-focus", e.LABEL_BLUR = "axis-label-blur", e.RENDER_COMPLETE = "axis-render-complete", e))(Cp || {}), Ap = /* @__PURE__ */ ((e) => (e.POINT_MOUSEOVER = "scatter-mouseover", e.POINT_MOUSEMOVE = "scatter-mousemove", e.POINT_CLICK = "scatter-click", e.POINT_MOUSEOUT = "scatter-mouseout", e))(Ap || {}), $p = /* @__PURE__ */ ((e) => (e.WORD_MOUSEOVER = "wordcloud-word-mouseover", e.WORD_MOUSEMOVE = "wordcloud-word-mousemove", e.WORD_CLICK = "wordcloud-word-click", e.WORD_MOUSEOUT = "wordcloud-word-mouseout", e))($p || {}), Lp = /* @__PURE__ */ ((e) => (e.SLICE_MOUSEOVER = "pie-slice-mouseover", e.SLICE_MOUSEMOVE = "pie-slice-mousemove", e.SLICE_CLICK = "pie-slice-click", e.SLICE_MOUSEOUT = "pie-slice-mouseout", e))(Lp || {}), Dp = /* @__PURE__ */ ((e) => (e.ARC_MOUSEOVER = "gauge-arc-mouseover", e.ARC_MOUSEMOVE = "gauge-arc-mousemove", e.ARC_CLICK = "gauge-arc-click", e.ARC_MOUSEOUT = "gauge-arc-mouseout", e))(Dp || {}), Rp = /* @__PURE__ */ ((e) => (e.BAR_MOUSEOVER = "bar-mouseover", e.BAR_MOUSEMOVE = "bar-mousemove", e.BAR_CLICK = "bar-click", e.BAR_MOUSEOUT = "bar-mouseout", e))(Rp || {}), kp = /* @__PURE__ */ ((e) => (e.BOX_MOUSEOVER = "box-mouseover", e.BOX_MOUSEMOVE = "box-mousemove", e.BOX_CLICK = "box-click", e.BOX_MOUSEOUT = "box-mouseout", e.OUTLIER_MOUSEOVER = "outlier-mouseover", e.OUTLIER_MOUSEMOVE = "outlier-mousemove", e.OUTLIER_CLICK = "outlier-click", e.OUTLIER_MOUSEOUT = "outlier-mouseout", e))(kp || {}), Ip = /* @__PURE__ */ ((e) => (e.SCATTER_MOUSEOVER = "scatter-mouseover", e.SCATTER_MOUSEMOVE = "scatter-mousemove", e.SCATTER_CLICK = "scatter-click", e.SCATTER_MOUSEOUT = "scatter-mouseout", e))(Ip || {}), Np = /* @__PURE__ */ ((e) => (e.POINT_MOUSEOVER = "scatter-mouseover", e.POINT_MOUSEMOVE = "scatter-mousemove", e.POINT_CLICK = "scatter-click", e.POINT_MOUSEOUT = "scatter-mouseout", e))(Np || {}), Pp = /* @__PURE__ */ ((e) => (e.X_AXIS_MOUSEOVER = "radar-x-axis-mouseover", e.X_AXIS_MOUSEMOVE = "radar-x-axis-mousemove", e.X_AXIS_CLICK = "radar-x-axis-click", e.X_AXIS_MOUSEOUT = "radar-x-axis-mouseout", e))(Pp || {}), Up = /* @__PURE__ */ ((e) => (e.NODE_MOUSEOVER = "tree-node-mouseover", e.NODE_CLICK = "tree-node-click", e.NODE_MOUSEOUT = "tree-node-mouseout", e))(Up || {}), Bp = /* @__PURE__ */ ((e) => (e.LEAF_MOUSEOVER = "leaf-mouseover", e.LEAF_MOUSEMOVE = "leaf-mousemove", e.LEAF_CLICK = "leaf-click", e.LEAF_MOUSEOUT = "leaf-mouseout", e))(Bp || {}), Qi = /* @__PURE__ */ ((e) => (e.SHOW = "show-tooltip", e.MOVE = "move-tooltip", e.HIDE = "hide-tooltip", e))(Qi || {}), Vp = /* @__PURE__ */ ((e) => (e.SHOW = "show-threshold", e.HIDE = "hide-threshold", e))(Vp || {}), Hp = /* @__PURE__ */ ((e) => (e.ITEM_HOVER = "legend-item-onhover", e.ITEM_CLICK = "legend-item-onclick", e.ITEM_MOUSEOUT = "legend-item-onmouseout", e.ITEMS_UPDATE = "legend-items-update", e))(Hp || {}), Fp = /* @__PURE__ */ ((e) => (e.CIRCLE_MOUSEOVER = "circle-leaf-mouseover", e.CIRCLE_CLICK = "circle-leaf-click", e.CIRCLE_MOUSEOUT = "circle-leaf-mouseout", e.CIRCLE_MOUSEMOVE = "circle-leaf-mousemove", e))(Fp || {}), zp = /* @__PURE__ */ ((e) => (e.NODE_MOUSEOVER = "alluvial-node-mouseover", e.NODE_CLICK = "alluvial-node-click", e.NODE_MOUSEOUT = "alluvial-node-mouseout", e.NODE_MOUSEMOVE = "alluvial-node-mousemove", e.LINE_MOUSEOVER = "alluvial-line-mouseover", e.LINE_CLICK = "alluvial-line-click", e.LINE_MOUSEOUT = "alluvial-line-mouseout", e.LINE_MOUSEMOVE = "alluvial-line-mousemove", e))(zp || {}), Gp = /* @__PURE__ */ ((e) => (e.METER_MOUSEOVER = "meter-mouseover", e.METER_CLICK = "meter-click", e.METER_MOUSEOUT = "meter-mouseout", e.METER_MOUSEMOVE = "meter-mousemove", e))(Gp || {}), jp = /* @__PURE__ */ ((e) => (e.HEATMAP_MOUSEOVER = "heatmap-mouseover", e.HEATMAP_CLICK = "heatmap-click", e.HEATMAP_MOUSEOUT = "heatmap-mouseout", e.HEATMAP_MOUSEMOVE = "hetmap-mousemove", e))(jp || {}), zr = /* @__PURE__ */ ((e) => (e.CHOROPLETH_MOUSEOVER = "choropleth-mouseover", e.CHOROPLETH_CLICK = "choropleth-click", e.CHOROPLETH_MOUSEOUT = "choropleth-mouseout", e.CHOROPLETH_MOUSEMOVE = "choropleth-mousemove", e))(zr || {});
|
|
6
6
|
const Y0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7
7
|
__proto__: null,
|
|
8
8
|
Alluvial: zp,
|
|
9
9
|
Area: Ap,
|
|
10
10
|
Axis: Cp,
|
|
11
|
-
Bar:
|
|
11
|
+
Bar: Rp,
|
|
12
12
|
Boxplot: kp,
|
|
13
13
|
CanvasZoom: Mp,
|
|
14
14
|
Chart: Ep,
|
|
15
15
|
Choropleth: zr,
|
|
16
16
|
CirclePack: Fp,
|
|
17
|
-
Gauge:
|
|
17
|
+
Gauge: Dp,
|
|
18
18
|
Heatmap: jp,
|
|
19
19
|
Legend: Hp,
|
|
20
20
|
Line: Np,
|
|
@@ -384,15 +384,15 @@ function _y() {
|
|
|
384
384
|
function Eo(e, t) {
|
|
385
385
|
var n = [], r = null, i = null, s = 6, a = 6, o = 3, l = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : 0.5, c = e === pa || e === Bi ? -1 : 1, u = e === Bi || e === ma ? "x" : "y", d = e === pa || e === jl ? yy : xy;
|
|
386
386
|
function h(f) {
|
|
387
|
-
var p = r ?? (t.ticks ? t.ticks.apply(t, n) : t.domain()), v = i ?? (t.tickFormat ? t.tickFormat.apply(t, n) : vy), m = Math.max(s, 0) + o, y = t.range(), g = +y[0] + l, x = +y[y.length - 1] + l, w = (t.bandwidth ? Ey : by)(t.copy(), l), _ = f.selection ? f.selection() : f, S = _.selectAll(".domain").data([null]), A = _.selectAll(".tick").data(p, t).order(), k = A.exit(),
|
|
388
|
-
S = S.merge(S.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), A = A.merge(
|
|
387
|
+
var p = r ?? (t.ticks ? t.ticks.apply(t, n) : t.domain()), v = i ?? (t.tickFormat ? t.tickFormat.apply(t, n) : vy), m = Math.max(s, 0) + o, y = t.range(), g = +y[0] + l, x = +y[y.length - 1] + l, w = (t.bandwidth ? Ey : by)(t.copy(), l), _ = f.selection ? f.selection() : f, S = _.selectAll(".domain").data([null]), A = _.selectAll(".tick").data(p, t).order(), k = A.exit(), R = A.enter().append("g").attr("class", "tick"), D = A.select("line"), T = A.select("text");
|
|
388
|
+
S = S.merge(S.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), A = A.merge(R), D = D.merge(R.append("line").attr("stroke", "currentColor").attr(u + "2", c * s)), T = T.merge(R.append("text").attr("fill", "currentColor").attr(u, c * m).attr("dy", e === pa ? "0em" : e === jl ? "0.71em" : "0.32em")), f !== _ && (S = S.transition(f), A = A.transition(f), D = D.transition(f), T = T.transition(f), k = k.transition(f).attr("opacity", fh).attr("transform", function(H) {
|
|
389
389
|
return isFinite(H = w(H)) ? d(H + l) : this.getAttribute("transform");
|
|
390
|
-
}),
|
|
390
|
+
}), R.attr("opacity", fh).attr("transform", function(H) {
|
|
391
391
|
var P = this.parentNode.__axis;
|
|
392
392
|
return d((P && isFinite(P = P(H)) ? P : w(H)) + l);
|
|
393
393
|
})), k.remove(), S.attr("d", e === Bi || e === ma ? a ? "M" + c * a + "," + g + "H" + l + "V" + x + "H" + c * a : "M" + l + "," + g + "V" + x : a ? "M" + g + "," + c * a + "V" + l + "H" + x + "V" + c * a : "M" + g + "," + l + "H" + x), A.attr("opacity", 1).attr("transform", function(H) {
|
|
394
394
|
return d(w(H) + l);
|
|
395
|
-
}),
|
|
395
|
+
}), D.attr(u + "2", c * s), T.attr(u, c * m).text(v), _.filter(_y).attr("fill", "none").attr("font-size", 10).attr("font-family", "sans-serif").attr("text-anchor", e === ma ? "start" : e === Bi ? "end" : "middle"), _.each(function() {
|
|
396
396
|
this.__axis = w;
|
|
397
397
|
});
|
|
398
398
|
}
|
|
@@ -547,20 +547,20 @@ function Ly(e) {
|
|
|
547
547
|
(l = s[u]) && (c = e.call(l, l.__data__, u, s)) && ("__data__" in l && (c.__data__ = l.__data__), o[u] = c);
|
|
548
548
|
return new Ae(r, this._parents);
|
|
549
549
|
}
|
|
550
|
-
function
|
|
550
|
+
function Dy(e) {
|
|
551
551
|
return e == null ? [] : Array.isArray(e) ? e : Array.from(e);
|
|
552
552
|
}
|
|
553
|
-
function
|
|
553
|
+
function Ry() {
|
|
554
554
|
return [];
|
|
555
555
|
}
|
|
556
556
|
function Qp(e) {
|
|
557
|
-
return e == null ?
|
|
557
|
+
return e == null ? Ry : function() {
|
|
558
558
|
return this.querySelectorAll(e);
|
|
559
559
|
};
|
|
560
560
|
}
|
|
561
561
|
function ky(e) {
|
|
562
562
|
return function() {
|
|
563
|
-
return
|
|
563
|
+
return Dy(e.apply(this, arguments));
|
|
564
564
|
};
|
|
565
565
|
}
|
|
566
566
|
function Iy(e) {
|
|
@@ -617,11 +617,11 @@ function em(e) {
|
|
|
617
617
|
function jy() {
|
|
618
618
|
return new Ae(this._enter || this._groups.map(em), this._parents);
|
|
619
619
|
}
|
|
620
|
-
function
|
|
620
|
+
function Da(e, t) {
|
|
621
621
|
this.ownerDocument = e.ownerDocument, this.namespaceURI = e.namespaceURI, this._next = null, this._parent = e, this.__data__ = t;
|
|
622
622
|
}
|
|
623
|
-
|
|
624
|
-
constructor:
|
|
623
|
+
Da.prototype = {
|
|
624
|
+
constructor: Da,
|
|
625
625
|
appendChild: function(e) {
|
|
626
626
|
return this._parent.insertBefore(e, this._next);
|
|
627
627
|
},
|
|
@@ -642,7 +642,7 @@ function Wy(e) {
|
|
|
642
642
|
}
|
|
643
643
|
function qy(e, t, n, r, i, s) {
|
|
644
644
|
for (var a = 0, o, l = t.length, c = s.length; a < c; ++a)
|
|
645
|
-
(o = t[a]) ? (o.__data__ = s[a], r[a] = o) : n[a] = new
|
|
645
|
+
(o = t[a]) ? (o.__data__ = s[a], r[a] = o) : n[a] = new Da(e, s[a]);
|
|
646
646
|
for (; a < l; ++a)
|
|
647
647
|
(o = t[a]) && (i[a] = o);
|
|
648
648
|
}
|
|
@@ -651,7 +651,7 @@ function Yy(e, t, n, r, i, s, a) {
|
|
|
651
651
|
for (o = 0; o < u; ++o)
|
|
652
652
|
(l = t[o]) && (h[o] = f = a.call(l, l.__data__, o, t) + "", c.has(f) ? i[o] = l : c.set(f, l));
|
|
653
653
|
for (o = 0; o < d; ++o)
|
|
654
|
-
f = a.call(e, s[o], o, s) + "", (l = c.get(f)) ? (r[o] = l, l.__data__ = s[o], c.delete(f)) : n[o] = new
|
|
654
|
+
f = a.call(e, s[o], o, s) + "", (l = c.get(f)) ? (r[o] = l, l.__data__ = s[o], c.delete(f)) : n[o] = new Da(e, s[o]);
|
|
655
655
|
for (o = 0; o < u; ++o)
|
|
656
656
|
(l = t[o]) && c.get(h[o]) === l && (i[o] = l);
|
|
657
657
|
}
|
|
@@ -898,10 +898,10 @@ function L1(e) {
|
|
|
898
898
|
this.textContent = t ?? "";
|
|
899
899
|
};
|
|
900
900
|
}
|
|
901
|
-
function
|
|
901
|
+
function D1(e) {
|
|
902
902
|
return arguments.length ? this.each(e == null ? A1 : (typeof e == "function" ? L1 : $1)(e)) : this.node().textContent;
|
|
903
903
|
}
|
|
904
|
-
function
|
|
904
|
+
function R1() {
|
|
905
905
|
this.innerHTML = "";
|
|
906
906
|
}
|
|
907
907
|
function k1(e) {
|
|
@@ -916,7 +916,7 @@ function I1(e) {
|
|
|
916
916
|
};
|
|
917
917
|
}
|
|
918
918
|
function N1(e) {
|
|
919
|
-
return arguments.length ? this.each(e == null ?
|
|
919
|
+
return arguments.length ? this.each(e == null ? R1 : (typeof e == "function" ? I1 : k1)(e)) : this.node().innerHTML;
|
|
920
920
|
}
|
|
921
921
|
function P1() {
|
|
922
922
|
this.nextSibling && this.parentNode.appendChild(this);
|
|
@@ -1073,7 +1073,7 @@ Ae.prototype = ws.prototype = {
|
|
|
1073
1073
|
style: b1,
|
|
1074
1074
|
property: S1,
|
|
1075
1075
|
classed: C1,
|
|
1076
|
-
text:
|
|
1076
|
+
text: D1,
|
|
1077
1077
|
html: N1,
|
|
1078
1078
|
raise: U1,
|
|
1079
1079
|
lower: V1,
|
|
@@ -1134,7 +1134,7 @@ function cm(e, t) {
|
|
|
1134
1134
|
}
|
|
1135
1135
|
function Ss() {
|
|
1136
1136
|
}
|
|
1137
|
-
var cs = 0.7,
|
|
1137
|
+
var cs = 0.7, Ra = 1 / cs, Kr = "\\s*([+-]?\\d+)\\s*", us = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", on = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", cx = /^#([0-9a-f]{3,8})$/, ux = new RegExp(`^rgb\\(${Kr},${Kr},${Kr}\\)$`), hx = new RegExp(`^rgb\\(${on},${on},${on}\\)$`), dx = new RegExp(`^rgba\\(${Kr},${Kr},${Kr},${us}\\)$`), fx = new RegExp(`^rgba\\(${on},${on},${on},${us}\\)$`), px = new RegExp(`^hsl\\(${us},${on},${on}\\)$`), mx = new RegExp(`^hsla\\(${us},${on},${on},${us}\\)$`), gh = {
|
|
1138
1138
|
aliceblue: 15792383,
|
|
1139
1139
|
antiquewhite: 16444375,
|
|
1140
1140
|
aqua: 65535,
|
|
@@ -1332,7 +1332,7 @@ function ve(e, t, n, r) {
|
|
|
1332
1332
|
}
|
|
1333
1333
|
hu(ve, Xl, cm(Ss, {
|
|
1334
1334
|
brighter(e) {
|
|
1335
|
-
return e = e == null ?
|
|
1335
|
+
return e = e == null ? Ra : Math.pow(Ra, e), new ve(this.r * e, this.g * e, this.b * e, this.opacity);
|
|
1336
1336
|
},
|
|
1337
1337
|
darker(e) {
|
|
1338
1338
|
return e = e == null ? cs : Math.pow(cs, e), new ve(this.r * e, this.g * e, this.b * e, this.opacity);
|
|
@@ -1394,7 +1394,7 @@ function Fe(e, t, n, r) {
|
|
|
1394
1394
|
}
|
|
1395
1395
|
hu(Fe, du, cm(Ss, {
|
|
1396
1396
|
brighter(e) {
|
|
1397
|
-
return e = e == null ?
|
|
1397
|
+
return e = e == null ? Ra : Math.pow(Ra, e), new Fe(this.h, this.s, this.l * e, this.opacity);
|
|
1398
1398
|
},
|
|
1399
1399
|
darker(e) {
|
|
1400
1400
|
return e = e == null ? cs : Math.pow(cs, e), new Fe(this.h, this.s, this.l * e, this.opacity);
|
|
@@ -1594,7 +1594,7 @@ function mm(e, t, n, r) {
|
|
|
1594
1594
|
};
|
|
1595
1595
|
};
|
|
1596
1596
|
}
|
|
1597
|
-
var
|
|
1597
|
+
var Dx = mm($x, "px, ", "px)", "deg)"), Rx = mm(Lx, ", ", ")", ")");
|
|
1598
1598
|
function kx(e, t) {
|
|
1599
1599
|
for (var n = new Array(t), r = 0; r < t; ++r)
|
|
1600
1600
|
n[r] = e(r / (t - 1));
|
|
@@ -1854,7 +1854,7 @@ function Kx(e, t, n) {
|
|
|
1854
1854
|
};
|
|
1855
1855
|
}
|
|
1856
1856
|
function Qx(e, t) {
|
|
1857
|
-
var n = _o(e), r = n === "transform" ?
|
|
1857
|
+
var n = _o(e), r = n === "transform" ? Rx : bm;
|
|
1858
1858
|
return this.attrTween(e, typeof t == "function" ? (n.local ? Kx : Zx)(n, r, gu(this, "attr." + e, t)) : t == null ? (n.local ? qx : Wx)(n) : (n.local ? Xx : Yx)(n, r, t));
|
|
1859
1859
|
}
|
|
1860
1860
|
function Jx(e, t) {
|
|
@@ -2050,7 +2050,7 @@ function Cb(e, t) {
|
|
|
2050
2050
|
};
|
|
2051
2051
|
}
|
|
2052
2052
|
function Ab(e, t, n) {
|
|
2053
|
-
var r = (e += "") == "transform" ?
|
|
2053
|
+
var r = (e += "") == "transform" ? Dx : bm;
|
|
2054
2054
|
return t == null ? this.styleTween(e, Ob(e, r)).on("end.style." + e, Em(e)) : typeof t == "function" ? this.styleTween(e, Mb(e, r, gu(this, "style." + e, t))).each(Cb(this._id, e)) : this.styleTween(e, Tb(e, r, t), n).on("end.style." + e, null);
|
|
2055
2055
|
}
|
|
2056
2056
|
function $b(e, t, n) {
|
|
@@ -2066,7 +2066,7 @@ function Lb(e, t, n) {
|
|
|
2066
2066
|
}
|
|
2067
2067
|
return s._value = t, s;
|
|
2068
2068
|
}
|
|
2069
|
-
function
|
|
2069
|
+
function Db(e, t, n) {
|
|
2070
2070
|
var r = "style." + (e += "");
|
|
2071
2071
|
if (arguments.length < 2)
|
|
2072
2072
|
return (r = this.tween(r)) && r._value;
|
|
@@ -2076,7 +2076,7 @@ function Rb(e, t, n) {
|
|
|
2076
2076
|
throw new Error();
|
|
2077
2077
|
return this.tween(r, Lb(e, t, n ?? ""));
|
|
2078
2078
|
}
|
|
2079
|
-
function
|
|
2079
|
+
function Rb(e) {
|
|
2080
2080
|
return function() {
|
|
2081
2081
|
this.textContent = e;
|
|
2082
2082
|
};
|
|
@@ -2088,7 +2088,7 @@ function kb(e) {
|
|
|
2088
2088
|
};
|
|
2089
2089
|
}
|
|
2090
2090
|
function Ib(e) {
|
|
2091
|
-
return this.tween("text", typeof e == "function" ? kb(gu(this, "text", e)) :
|
|
2091
|
+
return this.tween("text", typeof e == "function" ? kb(gu(this, "text", e)) : Rb(e == null ? "" : e + ""));
|
|
2092
2092
|
}
|
|
2093
2093
|
function Nb(e) {
|
|
2094
2094
|
return function(t) {
|
|
@@ -2167,7 +2167,7 @@ Cn.prototype = {
|
|
|
2167
2167
|
attr: Qx,
|
|
2168
2168
|
attrTween: rb,
|
|
2169
2169
|
style: Ab,
|
|
2170
|
-
styleTween:
|
|
2170
|
+
styleTween: Db,
|
|
2171
2171
|
text: Ib,
|
|
2172
2172
|
textTween: Ub,
|
|
2173
2173
|
remove: bb,
|
|
@@ -2229,12 +2229,12 @@ function qb(e) {
|
|
|
2229
2229
|
function sl(e) {
|
|
2230
2230
|
e.preventDefault(), e.stopImmediatePropagation();
|
|
2231
2231
|
}
|
|
2232
|
-
var Ah = { name: "drag" }, al = { name: "space" },
|
|
2232
|
+
var Ah = { name: "drag" }, al = { name: "space" }, Dr = { name: "handle" }, Rr = { name: "center" };
|
|
2233
2233
|
const { abs: $h, max: ae, min: oe } = Math;
|
|
2234
2234
|
function Lh(e) {
|
|
2235
2235
|
return [+e[0], +e[1]];
|
|
2236
2236
|
}
|
|
2237
|
-
function
|
|
2237
|
+
function Dh(e) {
|
|
2238
2238
|
return [Lh(e[0]), Lh(e[1])];
|
|
2239
2239
|
}
|
|
2240
2240
|
var xa = {
|
|
@@ -2266,7 +2266,7 @@ var xa = {
|
|
|
2266
2266
|
ne: "nesw-resize",
|
|
2267
2267
|
se: "nwse-resize",
|
|
2268
2268
|
sw: "nesw-resize"
|
|
2269
|
-
},
|
|
2269
|
+
}, Rh = {
|
|
2270
2270
|
e: "w",
|
|
2271
2271
|
w: "e",
|
|
2272
2272
|
nw: "ne",
|
|
@@ -2352,10 +2352,10 @@ function tE(e) {
|
|
|
2352
2352
|
u(this, arguments).end(x);
|
|
2353
2353
|
}).tween("brush", function() {
|
|
2354
2354
|
var x = this, w = x.__brush, _ = u(x, arguments), S = w.selection, A = e.input(typeof y == "function" ? y.apply(this, arguments) : y, w.extent), k = Os(S, A);
|
|
2355
|
-
function D
|
|
2356
|
-
w.selection =
|
|
2355
|
+
function R(D) {
|
|
2356
|
+
w.selection = D === 1 && A === null ? null : k(D), c.call(x), _.brush();
|
|
2357
2357
|
}
|
|
2358
|
-
return S !== null && A !== null ?
|
|
2358
|
+
return S !== null && A !== null ? R : R(1);
|
|
2359
2359
|
}) : m.each(function() {
|
|
2360
2360
|
var x = this, w = arguments, _ = x.__brush, S = e.input(typeof y == "function" ? y.apply(x, w) : y, _.extent), A = u(x, w).beforestart();
|
|
2361
2361
|
ec(x), _.selection = S === null ? null : S, c.call(x), A.start(g).brush(g).end(g);
|
|
@@ -2414,9 +2414,9 @@ function tE(e) {
|
|
|
2414
2414
|
function h(m) {
|
|
2415
2415
|
if (o && !m.touches || !n.apply(this, arguments))
|
|
2416
2416
|
return;
|
|
2417
|
-
var y = this, g = m.target.__data__.type, x = (i && m.metaKey ? g = "overlay" : g) === "selection" ? Ah : i && m.altKey ?
|
|
2418
|
-
const
|
|
2419
|
-
return rt = vr(rt, y), rt.point0 = rt.slice(), rt.identifier =
|
|
2417
|
+
var y = this, g = m.target.__data__.type, x = (i && m.metaKey ? g = "overlay" : g) === "selection" ? Ah : i && m.altKey ? Rr : Dr, w = e === ol ? null : Yb[g], _ = e === xa ? null : Xb[g], S = ll(y), A = S.extent, k = S.selection, R = A[0][0], D, T, H = A[0][1], P, V, E = A[1][0], L, $, U = A[1][1], B, X, Y = 0, it = 0, et, dt = w && _ && i && m.shiftKey, yt, K, J = Array.from(m.touches || [m], (rt) => {
|
|
2418
|
+
const Dt = rt.identifier;
|
|
2419
|
+
return rt = vr(rt, y), rt.point0 = rt.slice(), rt.identifier = Dt, rt;
|
|
2420
2420
|
});
|
|
2421
2421
|
ec(y);
|
|
2422
2422
|
var pt = u(y, arguments, !0).beforestart();
|
|
@@ -2424,15 +2424,15 @@ function tE(e) {
|
|
|
2424
2424
|
k && (et = !0);
|
|
2425
2425
|
const rt = [J[0], J[1] || J[0]];
|
|
2426
2426
|
S.selection = k = [[
|
|
2427
|
-
|
|
2427
|
+
D = e === ol ? R : oe(rt[0][0], rt[1][0]),
|
|
2428
2428
|
P = e === xa ? H : oe(rt[0][1], rt[1][1])
|
|
2429
2429
|
], [
|
|
2430
2430
|
L = e === ol ? E : ae(rt[0][0], rt[1][0]),
|
|
2431
2431
|
B = e === xa ? U : ae(rt[0][1], rt[1][1])
|
|
2432
2432
|
]], J.length > 1 && Lt(m);
|
|
2433
2433
|
} else
|
|
2434
|
-
|
|
2435
|
-
T =
|
|
2434
|
+
D = k[0][0], P = k[0][1], L = k[1][0], B = k[1][1];
|
|
2435
|
+
T = D, V = P, $ = L, X = B;
|
|
2436
2436
|
var q = I(y).attr("pointer-events", "none"), Q = q.selectAll(".overlay").attr("cursor", gn[g]);
|
|
2437
2437
|
if (m.touches)
|
|
2438
2438
|
pt.moved = G, pt.ended = vt;
|
|
@@ -2442,36 +2442,36 @@ function tE(e) {
|
|
|
2442
2442
|
}
|
|
2443
2443
|
c.call(y), pt.start(m, x.name);
|
|
2444
2444
|
function G(rt) {
|
|
2445
|
-
for (const
|
|
2446
|
-
for (const
|
|
2447
|
-
|
|
2445
|
+
for (const Dt of rt.changedTouches || [rt])
|
|
2446
|
+
for (const De of J)
|
|
2447
|
+
De.identifier === Dt.identifier && (De.cur = vr(Dt, y));
|
|
2448
2448
|
if (dt && !yt && !K && J.length === 1) {
|
|
2449
|
-
const
|
|
2450
|
-
$h(
|
|
2449
|
+
const Dt = J[0];
|
|
2450
|
+
$h(Dt.cur[0] - Dt[0]) > $h(Dt.cur[1] - Dt[1]) ? K = !0 : yt = !0;
|
|
2451
2451
|
}
|
|
2452
|
-
for (const
|
|
2453
|
-
|
|
2452
|
+
for (const Dt of J)
|
|
2453
|
+
Dt.cur && (Dt[0] = Dt.cur[0], Dt[1] = Dt.cur[1]);
|
|
2454
2454
|
et = !0, sl(rt), Lt(rt);
|
|
2455
2455
|
}
|
|
2456
2456
|
function Lt(rt) {
|
|
2457
|
-
const
|
|
2457
|
+
const Dt = J[0], De = Dt.point0;
|
|
2458
2458
|
var me;
|
|
2459
|
-
switch (Y =
|
|
2459
|
+
switch (Y = Dt[0] - De[0], it = Dt[1] - De[1], x) {
|
|
2460
2460
|
case al:
|
|
2461
2461
|
case Ah: {
|
|
2462
|
-
w && (Y = ae(
|
|
2462
|
+
w && (Y = ae(R - D, oe(E - L, Y)), T = D + Y, $ = L + Y), _ && (it = ae(H - P, oe(U - B, it)), V = P + it, X = B + it);
|
|
2463
2463
|
break;
|
|
2464
2464
|
}
|
|
2465
|
-
case
|
|
2466
|
-
J[1] ? (w && (T = ae(
|
|
2465
|
+
case Dr: {
|
|
2466
|
+
J[1] ? (w && (T = ae(R, oe(E, J[0][0])), $ = ae(R, oe(E, J[1][0])), w = 1), _ && (V = ae(H, oe(U, J[0][1])), X = ae(H, oe(U, J[1][1])), _ = 1)) : (w < 0 ? (Y = ae(R - D, oe(E - D, Y)), T = D + Y, $ = L) : w > 0 && (Y = ae(R - L, oe(E - L, Y)), T = D, $ = L + Y), _ < 0 ? (it = ae(H - P, oe(U - P, it)), V = P + it, X = B) : _ > 0 && (it = ae(H - B, oe(U - B, it)), V = P, X = B + it));
|
|
2467
2467
|
break;
|
|
2468
2468
|
}
|
|
2469
|
-
case
|
|
2470
|
-
w && (T = ae(
|
|
2469
|
+
case Rr: {
|
|
2470
|
+
w && (T = ae(R, oe(E, D - Y * w)), $ = ae(R, oe(E, L + Y * w))), _ && (V = ae(H, oe(U, P - it * _)), X = ae(H, oe(U, B + it * _)));
|
|
2471
2471
|
break;
|
|
2472
2472
|
}
|
|
2473
2473
|
}
|
|
2474
|
-
$ < T && (w *= -1, me =
|
|
2474
|
+
$ < T && (w *= -1, me = D, D = L, L = me, me = T, T = $, $ = me, g in Rh && Q.attr("cursor", gn[g = Rh[g]])), X < V && (_ *= -1, me = P, P = B, B = me, me = V, V = X, X = me, g in kh && Q.attr("cursor", gn[g = kh[g]])), S.selection && (k = S.selection), yt && (T = k[0][0], $ = k[1][0]), K && (V = k[0][1], X = k[1][1]), (k[0][0] !== T || k[0][1] !== V || k[1][0] !== $ || k[1][1] !== X) && (S.selection = [[T, V], [$, X]], c.call(y), pt.brush(rt, x.name));
|
|
2475
2475
|
}
|
|
2476
2476
|
function vt(rt) {
|
|
2477
2477
|
if (qb(rt), rt.touches) {
|
|
@@ -2491,11 +2491,11 @@ function tE(e) {
|
|
|
2491
2491
|
break;
|
|
2492
2492
|
}
|
|
2493
2493
|
case 18: {
|
|
2494
|
-
x ===
|
|
2494
|
+
x === Dr && (w && (L = $ - Y * w, D = T + Y * w), _ && (B = X - it * _, P = V + it * _), x = Rr, Lt(rt));
|
|
2495
2495
|
break;
|
|
2496
2496
|
}
|
|
2497
2497
|
case 32: {
|
|
2498
|
-
(x ===
|
|
2498
|
+
(x === Dr || x === Rr) && (w < 0 ? L = $ - Y : w > 0 && (D = T - Y), _ < 0 ? B = X - it : _ > 0 && (P = V - it), x = al, Q.attr("cursor", gn.selection), Lt(rt));
|
|
2499
2499
|
break;
|
|
2500
2500
|
}
|
|
2501
2501
|
default:
|
|
@@ -2510,11 +2510,11 @@ function tE(e) {
|
|
|
2510
2510
|
break;
|
|
2511
2511
|
}
|
|
2512
2512
|
case 18: {
|
|
2513
|
-
x ===
|
|
2513
|
+
x === Rr && (w < 0 ? L = $ : w > 0 && (D = T), _ < 0 ? B = X : _ > 0 && (P = V), x = Dr, Lt(rt));
|
|
2514
2514
|
break;
|
|
2515
2515
|
}
|
|
2516
2516
|
case 32: {
|
|
2517
|
-
x === al && (rt.altKey ? (w && (L = $ - Y * w,
|
|
2517
|
+
x === al && (rt.altKey ? (w && (L = $ - Y * w, D = T + Y * w), _ && (B = X - it * _, P = V + it * _), x = Rr) : (w < 0 ? L = $ : w > 0 && (D = T), _ < 0 ? B = X : _ > 0 && (P = V), x = Dr), Q.attr("cursor", gn[g]), Lt(rt));
|
|
2518
2518
|
break;
|
|
2519
2519
|
}
|
|
2520
2520
|
default:
|
|
@@ -2531,10 +2531,10 @@ function tE(e) {
|
|
|
2531
2531
|
}
|
|
2532
2532
|
function v() {
|
|
2533
2533
|
var m = this.__brush || { selection: null };
|
|
2534
|
-
return m.extent =
|
|
2534
|
+
return m.extent = Dh(t.apply(this, arguments)), m.dim = e, m;
|
|
2535
2535
|
}
|
|
2536
2536
|
return l.extent = function(m) {
|
|
2537
|
-
return arguments.length ? (t = typeof m == "function" ? m : il(
|
|
2537
|
+
return arguments.length ? (t = typeof m == "function" ? m : il(Dh(m)), l) : t;
|
|
2538
2538
|
}, l.filter = function(m) {
|
|
2539
2539
|
return arguments.length ? (n = typeof m == "function" ? m : il(!!m), l) : n;
|
|
2540
2540
|
}, l.touchable = function(m) {
|
|
@@ -2730,16 +2730,16 @@ function cE(e) {
|
|
|
2730
2730
|
d = ds(d);
|
|
2731
2731
|
var h = d.fill, f = d.align, p = d.sign, v = d.symbol, m = d.zero, y = d.width, g = d.comma, x = d.precision, w = d.trim, _ = d.type;
|
|
2732
2732
|
_ === "n" ? (g = !0, _ = "g") : Nh[_] || (x === void 0 && (x = 12), w = !0, _ = "g"), (m || h === "0" && f === "=") && (m = !0, h = "0", f = "=");
|
|
2733
|
-
var S = v === "$" ? n : v === "#" && /[boxX]/.test(_) ? "0" + _.toLowerCase() : "", A = v === "$" ? r : /[%p]/.test(_) ? a : "", k = Nh[_],
|
|
2733
|
+
var S = v === "$" ? n : v === "#" && /[boxX]/.test(_) ? "0" + _.toLowerCase() : "", A = v === "$" ? r : /[%p]/.test(_) ? a : "", k = Nh[_], R = /[defgprs%]/.test(_);
|
|
2734
2734
|
x = x === void 0 ? 6 : /[gprs]/.test(_) ? Math.max(1, Math.min(21, x)) : Math.max(0, Math.min(20, x));
|
|
2735
|
-
function
|
|
2735
|
+
function D(T) {
|
|
2736
2736
|
var H = S, P = A, V, E, L;
|
|
2737
2737
|
if (_ === "c")
|
|
2738
2738
|
P = k(T) + P, T = "";
|
|
2739
2739
|
else {
|
|
2740
2740
|
T = +T;
|
|
2741
2741
|
var $ = T < 0 || 1 / T < 0;
|
|
2742
|
-
if (T = isNaN(T) ? l : k(Math.abs(T), x), w && (T = oE(T)), $ && +T == 0 && p !== "+" && ($ = !1), H = ($ ? p === "(" ? p : o : p === "-" || p === "(" ? "" : p) + H, P = (_ === "s" ? Bh[8 + Mm / 3] : "") + P + ($ && p === "(" ? ")" : ""),
|
|
2742
|
+
if (T = isNaN(T) ? l : k(Math.abs(T), x), w && (T = oE(T)), $ && +T == 0 && p !== "+" && ($ = !1), H = ($ ? p === "(" ? p : o : p === "-" || p === "(" ? "" : p) + H, P = (_ === "s" ? Bh[8 + Mm / 3] : "") + P + ($ && p === "(" ? ")" : ""), R) {
|
|
2743
2743
|
for (V = -1, E = T.length; ++V < E; )
|
|
2744
2744
|
if (L = T.charCodeAt(V), 48 > L || L > 57) {
|
|
2745
2745
|
P = (L === 46 ? i + T.slice(V + 1) : T.slice(V)) + P, T = T.slice(0, V);
|
|
@@ -2765,9 +2765,9 @@ function cE(e) {
|
|
|
2765
2765
|
}
|
|
2766
2766
|
return s(T);
|
|
2767
2767
|
}
|
|
2768
|
-
return
|
|
2768
|
+
return D.toString = function() {
|
|
2769
2769
|
return d + "";
|
|
2770
|
-
},
|
|
2770
|
+
}, D;
|
|
2771
2771
|
}
|
|
2772
2772
|
function u(d, h) {
|
|
2773
2773
|
var f = c((d = ds(d), d.type = "f", d)), p = Math.max(-8, Math.min(8, Math.floor(ri(h) / 3))) * 3, v = Math.pow(10, -p), m = Bh[8 + p / 3];
|
|
@@ -2798,7 +2798,7 @@ function dE(e, t) {
|
|
|
2798
2798
|
function fE(e, t) {
|
|
2799
2799
|
return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, ri(t) - ri(e)) + 1;
|
|
2800
2800
|
}
|
|
2801
|
-
var At = 1e-6, Am = 1e-12, bt = Math.PI, ye = bt / 2, Vh = bt / 4, $e = bt * 2, he = 180 / bt, Xt = bt / 180, $t = Math.abs, $m = Math.atan, xr = Math.atan2,
|
|
2801
|
+
var At = 1e-6, Am = 1e-12, bt = Math.PI, ye = bt / 2, Vh = bt / 4, $e = bt * 2, he = 180 / bt, Xt = bt / 180, $t = Math.abs, $m = Math.atan, xr = Math.atan2, Rt = Math.cos, pE = Math.exp, mE = Math.log, Tt = Math.sin, Wn = Math.sign || function(e) {
|
|
2802
2802
|
return e > 0 ? 1 : e < 0 ? -1 : 0;
|
|
2803
2803
|
}, Ye = Math.sqrt, gE = Math.tan;
|
|
2804
2804
|
function vE(e) {
|
|
@@ -2869,8 +2869,8 @@ function sc(e) {
|
|
|
2869
2869
|
return [xr(e[1], e[0]), An(e[2])];
|
|
2870
2870
|
}
|
|
2871
2871
|
function ii(e) {
|
|
2872
|
-
var t = e[0], n = e[1], r =
|
|
2873
|
-
return [r *
|
|
2872
|
+
var t = e[0], n = e[1], r = Rt(n);
|
|
2873
|
+
return [r * Rt(t), r * Tt(t), Tt(n)];
|
|
2874
2874
|
}
|
|
2875
2875
|
function Xs(e, t) {
|
|
2876
2876
|
return e[0] * t[0] + e[1] * t[1] + e[2] * t[2];
|
|
@@ -2913,16 +2913,16 @@ function jh(e) {
|
|
|
2913
2913
|
return t.invert = Gh(-e), t;
|
|
2914
2914
|
}
|
|
2915
2915
|
function Wh(e, t) {
|
|
2916
|
-
var n =
|
|
2916
|
+
var n = Rt(e), r = Tt(e), i = Rt(t), s = Tt(t);
|
|
2917
2917
|
function a(o, l) {
|
|
2918
|
-
var c =
|
|
2918
|
+
var c = Rt(l), u = Rt(o) * c, d = Tt(o) * c, h = Tt(l), f = h * n + u * r;
|
|
2919
2919
|
return [
|
|
2920
2920
|
xr(d * i - f * s, u * n - h * r),
|
|
2921
2921
|
An(f * i + d * s)
|
|
2922
2922
|
];
|
|
2923
2923
|
}
|
|
2924
2924
|
return a.invert = function(o, l) {
|
|
2925
|
-
var c =
|
|
2925
|
+
var c = Rt(l), u = Rt(o) * c, d = Tt(o) * c, h = Tt(l), f = h * i - d * s;
|
|
2926
2926
|
return [
|
|
2927
2927
|
xr(d * i + h * s, u * n + f * r),
|
|
2928
2928
|
An(f * n - u * r)
|
|
@@ -2940,10 +2940,10 @@ function yE(e) {
|
|
|
2940
2940
|
}
|
|
2941
2941
|
function xE(e, t, n, r, i, s) {
|
|
2942
2942
|
if (n) {
|
|
2943
|
-
var a =
|
|
2943
|
+
var a = Rt(t), o = Tt(t), l = r * n;
|
|
2944
2944
|
i == null ? (i = t + r * $e, s = t - l / 2) : (i = qh(a, i), s = qh(a, s), (r > 0 ? i < s : i > s) && (i += r * $e));
|
|
2945
2945
|
for (var c, u = i; r > 0 ? u > s : u < s; u -= l)
|
|
2946
|
-
c = sc([a, -o *
|
|
2946
|
+
c = sc([a, -o * Rt(u), -o * Tt(u)]), e.point(c[0], c[1]);
|
|
2947
2947
|
}
|
|
2948
2948
|
}
|
|
2949
2949
|
function qh(e, t) {
|
|
@@ -2951,7 +2951,7 @@ function qh(e, t) {
|
|
|
2951
2951
|
var n = vE(-t[1]);
|
|
2952
2952
|
return ((-t[2] < 0 ? -n : n) + $e - At) % $e;
|
|
2953
2953
|
}
|
|
2954
|
-
function
|
|
2954
|
+
function Dm() {
|
|
2955
2955
|
var e = [], t;
|
|
2956
2956
|
return {
|
|
2957
2957
|
point: function(n, r, i) {
|
|
@@ -2976,7 +2976,7 @@ function ba(e, t) {
|
|
|
2976
2976
|
function Ks(e, t, n, r) {
|
|
2977
2977
|
this.x = e, this.z = t, this.o = n, this.e = r, this.v = !1, this.n = this.p = null;
|
|
2978
2978
|
}
|
|
2979
|
-
function
|
|
2979
|
+
function Rm(e, t, n, r, i) {
|
|
2980
2980
|
var s = [], a = [], o, l;
|
|
2981
2981
|
if (e.forEach(function(p) {
|
|
2982
2982
|
if (!((v = p.length - 1) <= 0)) {
|
|
@@ -3033,13 +3033,13 @@ function ul(e) {
|
|
|
3033
3033
|
return $t(e[0]) <= bt ? e[0] : Wn(e[0]) * (($t(e[0]) + bt) % $e - bt);
|
|
3034
3034
|
}
|
|
3035
3035
|
function bE(e, t) {
|
|
3036
|
-
var n = ul(t), r = t[1], i = Tt(r), s = [Tt(n), -
|
|
3036
|
+
var n = ul(t), r = t[1], i = Tt(r), s = [Tt(n), -Rt(n), 0], a = 0, o = 0, l = new mr();
|
|
3037
3037
|
i === 1 ? r = ye + At : i === -1 && (r = -ye - At);
|
|
3038
3038
|
for (var c = 0, u = e.length; c < u; ++c)
|
|
3039
3039
|
if (h = (d = e[c]).length)
|
|
3040
|
-
for (var d, h, f = d[h - 1], p = ul(f), v = f[1] / 2 + Vh, m = Tt(v), y =
|
|
3041
|
-
var x = d[g], w = ul(x), _ = x[1] / 2 + Vh, S = Tt(_), A =
|
|
3042
|
-
if (l.add(xr(H *
|
|
3040
|
+
for (var d, h, f = d[h - 1], p = ul(f), v = f[1] / 2 + Vh, m = Tt(v), y = Rt(v), g = 0; g < h; ++g, p = w, m = S, y = A, f = x) {
|
|
3041
|
+
var x = d[g], w = ul(x), _ = x[1] / 2 + Vh, S = Tt(_), A = Rt(_), k = w - p, R = k >= 0 ? 1 : -1, D = R * k, T = D > bt, H = m * S;
|
|
3042
|
+
if (l.add(xr(H * R * Tt(D), y * A + H * Rt(D))), a += T ? k + R * $e : k, T ^ p >= n ^ w >= n) {
|
|
3043
3043
|
var P = Fa(ii(f), ii(x));
|
|
3044
3044
|
ac(P);
|
|
3045
3045
|
var V = Fa(s, P);
|
|
@@ -3052,7 +3052,7 @@ function bE(e, t) {
|
|
|
3052
3052
|
}
|
|
3053
3053
|
function km(e, t, n, r) {
|
|
3054
3054
|
return function(i) {
|
|
3055
|
-
var s = t(i), a =
|
|
3055
|
+
var s = t(i), a = Dm(), o = t(a), l = !1, c, u, d, h = {
|
|
3056
3056
|
point: f,
|
|
3057
3057
|
lineStart: v,
|
|
3058
3058
|
lineEnd: m,
|
|
@@ -3062,7 +3062,7 @@ function km(e, t, n, r) {
|
|
|
3062
3062
|
polygonEnd: function() {
|
|
3063
3063
|
h.point = f, h.lineStart = v, h.lineEnd = m, u = Xp(u);
|
|
3064
3064
|
var w = bE(c, r);
|
|
3065
|
-
u.length ? (l || (i.polygonStart(), l = !0),
|
|
3065
|
+
u.length ? (l || (i.polygonStart(), l = !0), Rm(u, _E, w, n, i)) : w && (l || (i.polygonStart(), l = !0), i.lineStart(), n(null, null, 1, i), i.lineEnd()), l && (i.polygonEnd(), l = !1), u = c = null;
|
|
3066
3066
|
},
|
|
3067
3067
|
sphere: function() {
|
|
3068
3068
|
i.polygonStart(), i.lineStart(), n(null, null, 1, i), i.lineEnd(), i.polygonEnd();
|
|
@@ -3088,12 +3088,12 @@ function km(e, t, n, r) {
|
|
|
3088
3088
|
}
|
|
3089
3089
|
function x() {
|
|
3090
3090
|
y(d[0][0], d[0][1]), o.lineEnd();
|
|
3091
|
-
var w = o.clean(), _ = a.result(), S, A = _.length, k,
|
|
3091
|
+
var w = o.clean(), _ = a.result(), S, A = _.length, k, R, D;
|
|
3092
3092
|
if (d.pop(), c.push(d), d = null, !!A) {
|
|
3093
3093
|
if (w & 1) {
|
|
3094
|
-
if (
|
|
3094
|
+
if (R = _[0], (k = R.length - 1) > 0) {
|
|
3095
3095
|
for (l || (i.polygonStart(), l = !0), i.lineStart(), S = 0; S < k; ++S)
|
|
3096
|
-
i.point((
|
|
3096
|
+
i.point((D = R[S])[0], D[1]);
|
|
3097
3097
|
i.lineEnd();
|
|
3098
3098
|
}
|
|
3099
3099
|
return;
|
|
@@ -3138,7 +3138,7 @@ function wE(e) {
|
|
|
3138
3138
|
}
|
|
3139
3139
|
function SE(e, t, n, r) {
|
|
3140
3140
|
var i, s, a = Tt(e - n);
|
|
3141
|
-
return $t(a) > At ? $m((Tt(t) * (s =
|
|
3141
|
+
return $t(a) > At ? $m((Tt(t) * (s = Rt(r)) * Tt(n) - Tt(r) * (i = Rt(t)) * Tt(e)) / (i * s * a)) : (t + r) / 2;
|
|
3142
3142
|
}
|
|
3143
3143
|
function OE(e, t, n, r) {
|
|
3144
3144
|
var i;
|
|
@@ -3151,12 +3151,12 @@ function OE(e, t, n, r) {
|
|
|
3151
3151
|
r.point(t[0], t[1]);
|
|
3152
3152
|
}
|
|
3153
3153
|
function TE(e) {
|
|
3154
|
-
var t =
|
|
3154
|
+
var t = Rt(e), n = 6 * Xt, r = t > 0, i = $t(t) > At;
|
|
3155
3155
|
function s(u, d, h, f) {
|
|
3156
3156
|
xE(f, e, n, h, u, d);
|
|
3157
3157
|
}
|
|
3158
3158
|
function a(u, d) {
|
|
3159
|
-
return
|
|
3159
|
+
return Rt(u) * Rt(d) > t;
|
|
3160
3160
|
}
|
|
3161
3161
|
function o(u) {
|
|
3162
3162
|
var d, h, f, p, v;
|
|
@@ -3190,16 +3190,16 @@ function TE(e) {
|
|
|
3190
3190
|
return !h && u;
|
|
3191
3191
|
var w = t * y / x, _ = -t * g / x, S = Fa(v, m), A = Zs(v, w), k = Zs(m, _);
|
|
3192
3192
|
cl(A, k);
|
|
3193
|
-
var
|
|
3193
|
+
var R = S, D = Xs(A, R), T = Xs(R, R), H = D * D - T * (Xs(A, A) - 1);
|
|
3194
3194
|
if (!(H < 0)) {
|
|
3195
|
-
var P = Ye(H), V = Zs(
|
|
3195
|
+
var P = Ye(H), V = Zs(R, (-D - P) / T);
|
|
3196
3196
|
if (cl(V, A), V = sc(V), !h)
|
|
3197
3197
|
return V;
|
|
3198
3198
|
var E = u[0], L = d[0], $ = u[1], U = d[1], B;
|
|
3199
3199
|
L < E && (B = E, E = L, L = B);
|
|
3200
3200
|
var X = L - E, Y = $t(X - bt) < At, it = Y || X < At;
|
|
3201
3201
|
if (!Y && U < $ && (B = $, $ = U, U = B), it ? Y ? $ + U > 0 ^ V[1] < ($t(V[0] - E) < At ? $ : U) : $ <= V[1] && V[1] <= U : X > bt ^ (E <= V[0] && V[0] <= L)) {
|
|
3202
|
-
var et = Zs(
|
|
3202
|
+
var et = Zs(R, (-D + P) / T);
|
|
3203
3203
|
return cl(et, A), [V, sc(et)];
|
|
3204
3204
|
}
|
|
3205
3205
|
}
|
|
@@ -3283,28 +3283,28 @@ function CE(e, t, n, r) {
|
|
|
3283
3283
|
return d !== h ? d - h : d === 0 ? u[1] - c[1] : d === 1 ? c[0] - u[0] : d === 2 ? c[1] - u[1] : u[0] - c[0];
|
|
3284
3284
|
}
|
|
3285
3285
|
return function(c) {
|
|
3286
|
-
var u = c, d =
|
|
3286
|
+
var u = c, d = Dm(), h, f, p, v, m, y, g, x, w, _, S, A = {
|
|
3287
3287
|
point: k,
|
|
3288
3288
|
lineStart: H,
|
|
3289
3289
|
lineEnd: P,
|
|
3290
|
-
polygonStart:
|
|
3290
|
+
polygonStart: D,
|
|
3291
3291
|
polygonEnd: T
|
|
3292
3292
|
};
|
|
3293
3293
|
function k(E, L) {
|
|
3294
3294
|
i(E, L) && u.point(E, L);
|
|
3295
3295
|
}
|
|
3296
|
-
function
|
|
3296
|
+
function R() {
|
|
3297
3297
|
for (var E = 0, L = 0, $ = f.length; L < $; ++L)
|
|
3298
3298
|
for (var U = f[L], B = 1, X = U.length, Y = U[0], it, et, dt = Y[0], yt = Y[1]; B < X; ++B)
|
|
3299
3299
|
it = dt, et = yt, Y = U[B], dt = Y[0], yt = Y[1], et <= r ? yt > r && (dt - it) * (r - et) > (yt - et) * (e - it) && ++E : yt <= r && (dt - it) * (r - et) < (yt - et) * (e - it) && --E;
|
|
3300
3300
|
return E;
|
|
3301
3301
|
}
|
|
3302
|
-
function
|
|
3302
|
+
function D() {
|
|
3303
3303
|
u = d, h = [], f = [], S = !0;
|
|
3304
3304
|
}
|
|
3305
3305
|
function T() {
|
|
3306
|
-
var E =
|
|
3307
|
-
(L || $) && (c.polygonStart(), L && (c.lineStart(), s(null, null, 1, c), c.lineEnd()), $ &&
|
|
3306
|
+
var E = R(), L = S && E, $ = (h = Xp(h)).length;
|
|
3307
|
+
(L || $) && (c.polygonStart(), L && (c.lineStart(), s(null, null, 1, c), c.lineEnd()), $ && Rm(h, o, E, s, c), c.polygonEnd()), u = c, h = f = p = null;
|
|
3308
3308
|
}
|
|
3309
3309
|
function H() {
|
|
3310
3310
|
A.point = V, f && f.push(p = []), _ = !0, w = !1, g = x = NaN;
|
|
@@ -3356,8 +3356,8 @@ function LE() {
|
|
|
3356
3356
|
Pm(Im, Nm);
|
|
3357
3357
|
}
|
|
3358
3358
|
const Zh = jn;
|
|
3359
|
-
var si = 1 / 0, za = si, fs = -si, Ga = fs,
|
|
3360
|
-
point:
|
|
3359
|
+
var si = 1 / 0, za = si, fs = -si, Ga = fs, DE = {
|
|
3360
|
+
point: RE,
|
|
3361
3361
|
lineStart: Ie,
|
|
3362
3362
|
lineEnd: Ie,
|
|
3363
3363
|
polygonStart: Ie,
|
|
@@ -3367,10 +3367,10 @@ var si = 1 / 0, za = si, fs = -si, Ga = fs, RE = {
|
|
|
3367
3367
|
return fs = Ga = -(za = si = 1 / 0), e;
|
|
3368
3368
|
}
|
|
3369
3369
|
};
|
|
3370
|
-
function
|
|
3370
|
+
function RE(e, t) {
|
|
3371
3371
|
e < si && (si = e), e > fs && (fs = e), t < za && (za = t), t > Ga && (Ga = t);
|
|
3372
3372
|
}
|
|
3373
|
-
const ja =
|
|
3373
|
+
const ja = DE;
|
|
3374
3374
|
var fc = 0, pc = 0, zi = 0, Wa = 0, qa = 0, jr = 0, mc = 0, gc = 0, Gi = 0, Um, Bm, sn, an, ze = {
|
|
3375
3375
|
point: br,
|
|
3376
3376
|
lineStart: Kh,
|
|
@@ -3637,7 +3637,7 @@ function GE(e, t, n) {
|
|
|
3637
3637
|
e.scale(150 * s).translate([a, o]);
|
|
3638
3638
|
}, n);
|
|
3639
3639
|
}
|
|
3640
|
-
var sd = 16, jE =
|
|
3640
|
+
var sd = 16, jE = Rt(30 * Xt);
|
|
3641
3641
|
function ad(e, t) {
|
|
3642
3642
|
return +t ? qE(e, t) : WE(e);
|
|
3643
3643
|
}
|
|
@@ -3652,8 +3652,8 @@ function qE(e, t) {
|
|
|
3652
3652
|
function n(r, i, s, a, o, l, c, u, d, h, f, p, v, m) {
|
|
3653
3653
|
var y = c - r, g = u - i, x = y * y + g * g;
|
|
3654
3654
|
if (x > 4 * t && v--) {
|
|
3655
|
-
var w = a + h, _ = o + f, S = l + p, A = Ye(w * w + _ * _ + S * S), k = An(S /= A),
|
|
3656
|
-
(E * E / x > t || $t((y * P + g * V) / x - 0.5) > 0.3 || a * h + o * f + l * p < jE) && (n(r, i, s, a, o, l, T, H,
|
|
3655
|
+
var w = a + h, _ = o + f, S = l + p, A = Ye(w * w + _ * _ + S * S), k = An(S /= A), R = $t($t(S) - 1) < At || $t(s - d) < At ? (s + d) / 2 : xr(_, w), D = e(R, k), T = D[0], H = D[1], P = T - r, V = H - i, E = g * P - y * V;
|
|
3656
|
+
(E * E / x > t || $t((y * P + g * V) / x - 0.5) > 0.3 || a * h + o * f + l * p < jE) && (n(r, i, s, a, o, l, T, H, R, w /= A, _ /= A, S, v, m), m.point(T, H), n(T, H, R, w, _, S, c, u, d, h, f, p, v, m));
|
|
3657
3657
|
}
|
|
3658
3658
|
}
|
|
3659
3659
|
return function(r) {
|
|
@@ -3668,15 +3668,15 @@ function qE(e, t) {
|
|
|
3668
3668
|
r.polygonEnd(), m.lineStart = g;
|
|
3669
3669
|
}
|
|
3670
3670
|
};
|
|
3671
|
-
function y(k,
|
|
3672
|
-
k = e(k,
|
|
3671
|
+
function y(k, R) {
|
|
3672
|
+
k = e(k, R), r.point(k[0], k[1]);
|
|
3673
3673
|
}
|
|
3674
3674
|
function g() {
|
|
3675
3675
|
d = NaN, m.point = x, r.lineStart();
|
|
3676
3676
|
}
|
|
3677
|
-
function x(k,
|
|
3678
|
-
var
|
|
3679
|
-
n(d, h, u, f, p, v, d = T[0], h = T[1], u = k, f =
|
|
3677
|
+
function x(k, R) {
|
|
3678
|
+
var D = ii([k, R]), T = e(k, R);
|
|
3679
|
+
n(d, h, u, f, p, v, d = T[0], h = T[1], u = k, f = D[0], p = D[1], v = D[2], sd, r), r.point(d, h);
|
|
3680
3680
|
}
|
|
3681
3681
|
function w() {
|
|
3682
3682
|
m.point = y, r.lineEnd();
|
|
@@ -3684,8 +3684,8 @@ function qE(e, t) {
|
|
|
3684
3684
|
function _() {
|
|
3685
3685
|
g(), m.point = S, m.lineEnd = A;
|
|
3686
3686
|
}
|
|
3687
|
-
function S(k,
|
|
3688
|
-
x(i = k,
|
|
3687
|
+
function S(k, R) {
|
|
3688
|
+
x(i = k, R), s = d, a = h, o = f, l = p, c = v, m.point = x;
|
|
3689
3689
|
}
|
|
3690
3690
|
function A() {
|
|
3691
3691
|
n(d, h, u, f, p, v, s, a, i, o, l, c, sd, r), m.lineEnd = w, w();
|
|
@@ -3717,7 +3717,7 @@ function ZE(e, t, n, r, i) {
|
|
|
3717
3717
|
function od(e, t, n, r, i, s) {
|
|
3718
3718
|
if (!s)
|
|
3719
3719
|
return ZE(e, t, n, r, i);
|
|
3720
|
-
var a =
|
|
3720
|
+
var a = Rt(s), o = Tt(s), l = a * e, c = o * e, u = a / e, d = o / e, h = (o * n - a * t) / e, f = (o * t + a * n) / e;
|
|
3721
3721
|
function p(v, m) {
|
|
3722
3722
|
return v *= r, m *= i, [l * v - c * m + t, n - c * v - l * m];
|
|
3723
3723
|
}
|
|
@@ -3731,7 +3731,7 @@ function Oo(e) {
|
|
|
3731
3731
|
})();
|
|
3732
3732
|
}
|
|
3733
3733
|
function qm(e) {
|
|
3734
|
-
var t, n = 150, r = 480, i = 250, s = 0, a = 0, o = 0, l = 0, c = 0, u, d = 0, h = 1, f = 1, p = null, v = Xh, m = null, y, g, x, w = cc, _ = 0.5, S, A, k,
|
|
3734
|
+
var t, n = 150, r = 480, i = 250, s = 0, a = 0, o = 0, l = 0, c = 0, u, d = 0, h = 1, f = 1, p = null, v = Xh, m = null, y, g, x, w = cc, _ = 0.5, S, A, k, R, D;
|
|
3735
3735
|
function T(E) {
|
|
3736
3736
|
return k(E[0] * Xt, E[1] * Xt);
|
|
3737
3737
|
}
|
|
@@ -3739,7 +3739,7 @@ function qm(e) {
|
|
|
3739
3739
|
return E = k.invert(E[0], E[1]), E && [E[0] * he, E[1] * he];
|
|
3740
3740
|
}
|
|
3741
3741
|
T.stream = function(E) {
|
|
3742
|
-
return
|
|
3742
|
+
return R && D === E ? R : R = YE(XE(u)(v(S(w(D = E)))));
|
|
3743
3743
|
}, T.preclip = function(E) {
|
|
3744
3744
|
return arguments.length ? (v = E, p = void 0, V()) : v;
|
|
3745
3745
|
}, T.postclip = function(E) {
|
|
@@ -3778,7 +3778,7 @@ function qm(e) {
|
|
|
3778
3778
|
return u = Lm(o, l, c), A = oc(t, L), k = oc(u, A), S = ad(A, _), V();
|
|
3779
3779
|
}
|
|
3780
3780
|
function V() {
|
|
3781
|
-
return
|
|
3781
|
+
return R = D = null, T;
|
|
3782
3782
|
}
|
|
3783
3783
|
return function() {
|
|
3784
3784
|
return t = e.apply(this, arguments), T.invert = t.invert && H, P();
|
|
@@ -3791,7 +3791,7 @@ function Ym(e) {
|
|
|
3791
3791
|
}, i;
|
|
3792
3792
|
}
|
|
3793
3793
|
function KE(e) {
|
|
3794
|
-
var t =
|
|
3794
|
+
var t = Rt(e);
|
|
3795
3795
|
function n(r, i) {
|
|
3796
3796
|
return [r * t, Tt(i) / t];
|
|
3797
3797
|
}
|
|
@@ -3806,7 +3806,7 @@ function QE(e, t) {
|
|
|
3806
3806
|
var i = 1 + n * (2 * r - n), s = Ye(i) / r;
|
|
3807
3807
|
function a(o, l) {
|
|
3808
3808
|
var c = Ye(i - 2 * r * Tt(l)) / r;
|
|
3809
|
-
return [c * Tt(o *= r), s - c *
|
|
3809
|
+
return [c * Tt(o *= r), s - c * Rt(o)];
|
|
3810
3810
|
}
|
|
3811
3811
|
return a.invert = function(o, l) {
|
|
3812
3812
|
var c = s - l, u = xr(o, $t(c)) * Wn(c);
|
|
@@ -3853,12 +3853,12 @@ function n_() {
|
|
|
3853
3853
|
return Oo(Za).scale(152.63);
|
|
3854
3854
|
}
|
|
3855
3855
|
function r_(e, t) {
|
|
3856
|
-
var n =
|
|
3856
|
+
var n = Rt(e), r = e === t ? Tt(e) : (n - Rt(t)) / (t - e), i = n / r + e;
|
|
3857
3857
|
if ($t(r) < At)
|
|
3858
3858
|
return Za;
|
|
3859
3859
|
function s(a, o) {
|
|
3860
3860
|
var l = i - o, c = r * a;
|
|
3861
|
-
return [l * Tt(c), i - l *
|
|
3861
|
+
return [l * Tt(c), i - l * Rt(c)];
|
|
3862
3862
|
}
|
|
3863
3863
|
return s.invert = function(a, o) {
|
|
3864
3864
|
var l = i - o, c = xr(a, $t(l)) * Wn(l);
|
|
@@ -3872,7 +3872,7 @@ var es = 1.340264, ns = -0.081106, rs = 893e-6, is = 3796e-6, Ka = Ye(3) / 2, s_
|
|
|
3872
3872
|
function Zm(e, t) {
|
|
3873
3873
|
var n = An(Ka * Tt(t)), r = n * n, i = r * r * r;
|
|
3874
3874
|
return [
|
|
3875
|
-
e *
|
|
3875
|
+
e * Rt(n) / (Ka * (es + 3 * ns * r + i * (7 * rs + 9 * is * r))),
|
|
3876
3876
|
n * (es + ns * r + i * (rs + is * r))
|
|
3877
3877
|
];
|
|
3878
3878
|
}
|
|
@@ -3880,7 +3880,7 @@ Zm.invert = function(e, t) {
|
|
|
3880
3880
|
for (var n = t, r = n * n, i = r * r * r, s = 0, a, o, l; s < s_ && (o = n * (es + ns * r + i * (rs + is * r)) - t, l = es + 3 * ns * r + i * (7 * rs + 9 * is * r), n -= a = o / l, r = n * n, i = r * r * r, !($t(a) < Am)); ++s)
|
|
3881
3881
|
;
|
|
3882
3882
|
return [
|
|
3883
|
-
Ka * e * (es + 3 * ns * r + i * (7 * rs + 9 * is * r)) /
|
|
3883
|
+
Ka * e * (es + 3 * ns * r + i * (7 * rs + 9 * is * r)) / Rt(n),
|
|
3884
3884
|
An(Tt(n) / Ka)
|
|
3885
3885
|
];
|
|
3886
3886
|
};
|
|
@@ -4053,7 +4053,7 @@ function* $_() {
|
|
|
4053
4053
|
while (n.length);
|
|
4054
4054
|
}
|
|
4055
4055
|
function Ts(e, t) {
|
|
4056
|
-
e instanceof Map ? (e = [void 0, e], t === void 0 && (t =
|
|
4056
|
+
e instanceof Map ? (e = [void 0, e], t === void 0 && (t = R_)) : t === void 0 && (t = D_);
|
|
4057
4057
|
for (var n = new ps(e), r, i = [n], s, a, o, l; r = i.pop(); )
|
|
4058
4058
|
if ((a = t(r.data)) && (l = (a = Array.from(a)).length))
|
|
4059
4059
|
for (r.children = a, o = l - 1; o >= 0; --o)
|
|
@@ -4063,10 +4063,10 @@ function Ts(e, t) {
|
|
|
4063
4063
|
function L_() {
|
|
4064
4064
|
return Ts(this).eachBefore(k_);
|
|
4065
4065
|
}
|
|
4066
|
-
function
|
|
4066
|
+
function D_(e) {
|
|
4067
4067
|
return e.children;
|
|
4068
4068
|
}
|
|
4069
|
-
function
|
|
4069
|
+
function R_(e) {
|
|
4070
4070
|
return Array.isArray(e) ? e[1] : null;
|
|
4071
4071
|
}
|
|
4072
4072
|
function k_(e) {
|
|
@@ -4186,10 +4186,10 @@ function qi(e, t) {
|
|
|
4186
4186
|
};
|
|
4187
4187
|
}
|
|
4188
4188
|
function tg(e, t, n) {
|
|
4189
|
-
var r = e.x, i = e.y, s = e.r, a = t.x, o = t.y, l = t.r, c = n.x, u = n.y, d = n.r, h = r - a, f = r - c, p = i - o, v = i - u, m = l - s, y = d - s, g = r * r + i * i - s * s, x = g - a * a - o * o + l * l, w = g - c * c - u * u + d * d, _ = f * p - h * v, S = (p * w - v * x) / (_ * 2) - r, A = (v * m - p * y) / _, k = (f * x - h * w) / (_ * 2) - i,
|
|
4189
|
+
var r = e.x, i = e.y, s = e.r, a = t.x, o = t.y, l = t.r, c = n.x, u = n.y, d = n.r, h = r - a, f = r - c, p = i - o, v = i - u, m = l - s, y = d - s, g = r * r + i * i - s * s, x = g - a * a - o * o + l * l, w = g - c * c - u * u + d * d, _ = f * p - h * v, S = (p * w - v * x) / (_ * 2) - r, A = (v * m - p * y) / _, k = (f * x - h * w) / (_ * 2) - i, R = (h * y - f * m) / _, D = A * A + R * R - 1, T = 2 * (s + S * A + k * R), H = S * S + k * k - s * s, P = -(Math.abs(D) > 1e-6 ? (T + Math.sqrt(T * T - 4 * D * H)) / (2 * D) : H / T);
|
|
4190
4190
|
return {
|
|
4191
4191
|
x: r + S + A * P,
|
|
4192
|
-
y: i + k +
|
|
4192
|
+
y: i + k + R * P,
|
|
4193
4193
|
r: P
|
|
4194
4194
|
};
|
|
4195
4195
|
}
|
|
@@ -4905,7 +4905,7 @@ Er.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : Jt((t) => {
|
|
|
4905
4905
|
t.setUTCFullYear(t.getUTCFullYear() + n * e);
|
|
4906
4906
|
});
|
|
4907
4907
|
Er.range;
|
|
4908
|
-
function
|
|
4908
|
+
function Dw(e, t, n, r, i, s) {
|
|
4909
4909
|
const a = [
|
|
4910
4910
|
[qr, 1, wn],
|
|
4911
4911
|
[qr, 5, 5 * wn],
|
|
@@ -4943,7 +4943,7 @@ function Rw(e, t, n, r, i, s) {
|
|
|
4943
4943
|
}
|
|
4944
4944
|
return [o, l];
|
|
4945
4945
|
}
|
|
4946
|
-
const [
|
|
4946
|
+
const [Rw, kw] = Dw(Ln, Au, Mo, Cs, Mu, Tu);
|
|
4947
4947
|
function bl(e) {
|
|
4948
4948
|
if (0 <= e.y && e.y < 100) {
|
|
4949
4949
|
var t = new Date(-1, e.m, e.d, e.H, e.M, e.S, e.L);
|
|
@@ -5005,7 +5005,7 @@ function Iw(e) {
|
|
|
5005
5005
|
e: Td,
|
|
5006
5006
|
f: ES,
|
|
5007
5007
|
g: LS,
|
|
5008
|
-
G:
|
|
5008
|
+
G: RS,
|
|
5009
5009
|
H: yS,
|
|
5010
5010
|
I: xS,
|
|
5011
5011
|
j: bS,
|
|
@@ -5025,11 +5025,11 @@ function Iw(e) {
|
|
|
5025
5025
|
x: null,
|
|
5026
5026
|
X: null,
|
|
5027
5027
|
y: $S,
|
|
5028
|
-
Y:
|
|
5028
|
+
Y: DS,
|
|
5029
5029
|
Z: kS,
|
|
5030
5030
|
"%": Md
|
|
5031
5031
|
}, _ = {
|
|
5032
|
-
a:
|
|
5032
|
+
a: D,
|
|
5033
5033
|
A: T,
|
|
5034
5034
|
b: H,
|
|
5035
5035
|
B: P,
|
|
@@ -5045,7 +5045,7 @@ function Iw(e) {
|
|
|
5045
5045
|
L: Zw,
|
|
5046
5046
|
m: Ww,
|
|
5047
5047
|
M: Yw,
|
|
5048
|
-
p:
|
|
5048
|
+
p: R,
|
|
5049
5049
|
q: jw,
|
|
5050
5050
|
Q: Jw,
|
|
5051
5051
|
s: tS,
|
|
@@ -5065,9 +5065,9 @@ function Iw(e) {
|
|
|
5065
5065
|
x.x = S(n, x), x.X = S(r, x), x.c = S(t, x), w.x = S(n, w), w.X = S(r, w), w.c = S(t, w);
|
|
5066
5066
|
function S(q, Q) {
|
|
5067
5067
|
return function(at) {
|
|
5068
|
-
var G = [], Lt = -1, vt = 0, Ut = q.length, Bt, rt,
|
|
5068
|
+
var G = [], Lt = -1, vt = 0, Ut = q.length, Bt, rt, Dt;
|
|
5069
5069
|
for (at instanceof Date || (at = /* @__PURE__ */ new Date(+at)); ++Lt < Ut; )
|
|
5070
|
-
q.charCodeAt(Lt) === 37 && (G.push(q.slice(vt, Lt)), (rt = bd[Bt = q.charAt(++Lt)]) != null ? Bt = q.charAt(++Lt) : rt = Bt === "e" ? " " : "0", (
|
|
5070
|
+
q.charCodeAt(Lt) === 37 && (G.push(q.slice(vt, Lt)), (rt = bd[Bt = q.charAt(++Lt)]) != null ? Bt = q.charAt(++Lt) : rt = Bt === "e" ? " " : "0", (Dt = Q[Bt]) && (Bt = Dt(at, rt)), G.push(Bt), vt = Lt + 1);
|
|
5071
5071
|
return G.push(q.slice(vt, Lt)), G.join("");
|
|
5072
5072
|
};
|
|
5073
5073
|
}
|
|
@@ -5101,11 +5101,11 @@ function Iw(e) {
|
|
|
5101
5101
|
}
|
|
5102
5102
|
return G;
|
|
5103
5103
|
}
|
|
5104
|
-
function
|
|
5104
|
+
function R(q, Q, at) {
|
|
5105
5105
|
var G = c.exec(Q.slice(at));
|
|
5106
5106
|
return G ? (q.p = u.get(G[0].toLowerCase()), at + G[0].length) : -1;
|
|
5107
5107
|
}
|
|
5108
|
-
function
|
|
5108
|
+
function D(q, Q, at) {
|
|
5109
5109
|
var G = f.exec(Q.slice(at));
|
|
5110
5110
|
return G ? (q.w = p.get(G[0].toLowerCase()), at + G[0].length) : -1;
|
|
5111
5111
|
}
|
|
@@ -5404,10 +5404,10 @@ function $S(e, t) {
|
|
|
5404
5404
|
function LS(e, t) {
|
|
5405
5405
|
return e = ug(e), Ot(e.getUTCFullYear() % 100, t, 2);
|
|
5406
5406
|
}
|
|
5407
|
-
function
|
|
5407
|
+
function DS(e, t) {
|
|
5408
5408
|
return Ot(e.getUTCFullYear() % 1e4, t, 4);
|
|
5409
5409
|
}
|
|
5410
|
-
function
|
|
5410
|
+
function RS(e, t) {
|
|
5411
5411
|
var n = e.getUTCDay();
|
|
5412
5412
|
return e = n >= 4 || n === 0 ? oi(e) : oi.ceil(e), Ot(e.getUTCFullYear() % 1e4, t, 4);
|
|
5413
5413
|
}
|
|
@@ -5465,7 +5465,7 @@ function dg(e, t, n, r, i, s, a, o, l, c) {
|
|
|
5465
5465
|
}, u;
|
|
5466
5466
|
}
|
|
5467
5467
|
function fg() {
|
|
5468
|
-
return pi.apply(dg(
|
|
5468
|
+
return pi.apply(dg(Rw, kw, Ln, Au, Mo, Cs, Mu, Tu, qr, hg).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
|
|
5469
5469
|
}
|
|
5470
5470
|
function gt(e) {
|
|
5471
5471
|
return function() {
|
|
@@ -5516,14 +5516,14 @@ function jS(e, t, n, r, i, s, a, o) {
|
|
|
5516
5516
|
return h = (u * (t - s) - d * (e - i)) / h, [e + h * l, t + h * c];
|
|
5517
5517
|
}
|
|
5518
5518
|
function ea(e, t, n, r, i, s, a) {
|
|
5519
|
-
var o = e - n, l = t - r, c = (a ? s : -s) / Yr(o * o + l * l), u = c * l, d = -c * o, h = e + u, f = t + d, p = n + u, v = r + d, m = (h + p) / 2, y = (f + v) / 2, g = p - h, x = v - f, w = g * g + x * x, _ = i - s, S = h * v - p * f, A = (x < 0 ? -1 : 1) * Yr(US(0, _ * _ * w - S * S)), k = (S * x - g * A) / w,
|
|
5520
|
-
return H * H + P * P > V * V + E * E && (k =
|
|
5519
|
+
var o = e - n, l = t - r, c = (a ? s : -s) / Yr(o * o + l * l), u = c * l, d = -c * o, h = e + u, f = t + d, p = n + u, v = r + d, m = (h + p) / 2, y = (f + v) / 2, g = p - h, x = v - f, w = g * g + x * x, _ = i - s, S = h * v - p * f, A = (x < 0 ? -1 : 1) * Yr(US(0, _ * _ * w - S * S)), k = (S * x - g * A) / w, R = (-S * g - x * A) / w, D = (S * x + g * A) / w, T = (-S * g + x * A) / w, H = k - m, P = R - y, V = D - m, E = T - y;
|
|
5520
|
+
return H * H + P * P > V * V + E * E && (k = D, R = T), {
|
|
5521
5521
|
cx: k,
|
|
5522
|
-
cy:
|
|
5522
|
+
cy: R,
|
|
5523
5523
|
x01: -u,
|
|
5524
5524
|
y01: -d,
|
|
5525
5525
|
x11: k * (i / _ - 1),
|
|
5526
|
-
y11:
|
|
5526
|
+
y11: R * (i / _ - 1)
|
|
5527
5527
|
};
|
|
5528
5528
|
}
|
|
5529
5529
|
function gs() {
|
|
@@ -5535,22 +5535,22 @@ function gs() {
|
|
|
5535
5535
|
else if (m > _a - ce)
|
|
5536
5536
|
o.moveTo(f * ir(p), f * nn(p)), o.arc(0, 0, f, p, v, !y), h > ce && (o.moveTo(h * ir(v), h * nn(v)), o.arc(0, 0, h, v, p, y));
|
|
5537
5537
|
else {
|
|
5538
|
-
var g = p, x = v, w = p, _ = v, S = m, A = m, k = a.apply(this, arguments) / 2,
|
|
5539
|
-
if (
|
|
5540
|
-
var E = Ld(
|
|
5538
|
+
var g = p, x = v, w = p, _ = v, S = m, A = m, k = a.apply(this, arguments) / 2, R = k > ce && (r ? +r.apply(this, arguments) : Yr(h * h + f * f)), D = _l($d(f - h) / 2, +n.apply(this, arguments)), T = D, H = D, P, V;
|
|
5539
|
+
if (R > ce) {
|
|
5540
|
+
var E = Ld(R / h * nn(k)), L = Ld(R / f * nn(k));
|
|
5541
5541
|
(S -= E * 2) > ce ? (E *= y ? 1 : -1, w += E, _ -= E) : (S = 0, w = _ = (p + v) / 2), (A -= L * 2) > ce ? (L *= y ? 1 : -1, g += L, x -= L) : (A = 0, g = x = (p + v) / 2);
|
|
5542
5542
|
}
|
|
5543
5543
|
var $ = f * ir(g), U = f * nn(g), B = h * ir(_), X = h * nn(_);
|
|
5544
|
-
if (
|
|
5544
|
+
if (D > ce) {
|
|
5545
5545
|
var Y = f * ir(x), it = f * nn(x), et = h * ir(w), dt = h * nn(w), yt;
|
|
5546
5546
|
if (m < ms)
|
|
5547
5547
|
if (yt = jS($, U, et, dt, Y, it, B, X)) {
|
|
5548
5548
|
var K = $ - yt[0], J = U - yt[1], pt = Y - yt[0], q = it - yt[1], Q = 1 / nn(BS((K * pt + J * q) / (Yr(K * K + J * J) * Yr(pt * pt + q * q))) / 2), at = Yr(yt[0] * yt[0] + yt[1] * yt[1]);
|
|
5549
|
-
T = _l(
|
|
5549
|
+
T = _l(D, (h - at) / (Q - 1)), H = _l(D, (f - at) / (Q + 1));
|
|
5550
5550
|
} else
|
|
5551
5551
|
T = H = 0;
|
|
5552
5552
|
}
|
|
5553
|
-
A > ce ? H > ce ? (P = ea(et, dt, $, U, f, H, y), V = ea(Y, it, B, X, f, H, y), o.moveTo(P.cx + P.x01, P.cy + P.y01), H <
|
|
5553
|
+
A > ce ? H > ce ? (P = ea(et, dt, $, U, f, H, y), V = ea(Y, it, B, X, f, H, y), o.moveTo(P.cx + P.x01, P.cy + P.y01), H < D ? o.arc(P.cx, P.cy, H, le(P.y01, P.x01), le(V.y01, V.x01), !y) : (o.arc(P.cx, P.cy, H, le(P.y01, P.x01), le(P.y11, P.x11), !y), o.arc(0, 0, f, le(P.cy + P.y11, P.cx + P.x11), le(V.cy + V.y11, V.cx + V.x11), !y), o.arc(V.cx, V.cy, H, le(V.y11, V.x11), le(V.y01, V.x01), !y))) : (o.moveTo($, U), o.arc(0, 0, f, g, x, !y)) : o.moveTo($, U), !(h > ce) || !(S > ce) ? o.lineTo(B, X) : T > ce ? (P = ea(B, X, Y, it, h, -T, y), V = ea($, U, et, dt, h, -T, y), o.lineTo(P.cx + P.x01, P.cy + P.y01), T < D ? o.arc(P.cx, P.cy, T, le(P.y01, P.x01), le(V.y01, V.x01), !y) : (o.arc(P.cx, P.cy, T, le(P.y01, P.x01), le(P.y11, P.x11), !y), o.arc(0, 0, h, le(P.cy + P.y11, P.cx + P.x11), le(V.cy + V.y11, V.cx + V.x11), y), o.arc(V.cx, V.cy, T, le(V.y11, V.x11), le(V.y01, V.x01), !y))) : o.arc(0, 0, h, _, w, y);
|
|
5554
5554
|
}
|
|
5555
5555
|
if (o.closePath(), u)
|
|
5556
5556
|
return o = null, u + "" || null;
|
|
@@ -5640,7 +5640,7 @@ function As(e, t) {
|
|
|
5640
5640
|
return arguments.length ? (l == null ? r = s = null : s = i(r = l), o) : r;
|
|
5641
5641
|
}, o;
|
|
5642
5642
|
}
|
|
5643
|
-
function
|
|
5643
|
+
function Du(e, t, n) {
|
|
5644
5644
|
var r = null, i = gt(!0), s = null, a = $o, o = null, l = Co(c);
|
|
5645
5645
|
e = typeof e == "function" ? e : e === void 0 ? $u : gt(+e), t = typeof t == "function" ? t : gt(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? Lu : gt(+n);
|
|
5646
5646
|
function c(d) {
|
|
@@ -6010,10 +6010,10 @@ function ro(e, t, n) {
|
|
|
6010
6010
|
e._y2
|
|
6011
6011
|
);
|
|
6012
6012
|
}
|
|
6013
|
-
function
|
|
6013
|
+
function Ru(e, t) {
|
|
6014
6014
|
this._context = e, this._k = (1 - t) / 6;
|
|
6015
6015
|
}
|
|
6016
|
-
|
|
6016
|
+
Ru.prototype = {
|
|
6017
6017
|
areaStart: function() {
|
|
6018
6018
|
this._line = 0;
|
|
6019
6019
|
},
|
|
@@ -6053,7 +6053,7 @@ Du.prototype = {
|
|
|
6053
6053
|
};
|
|
6054
6054
|
const cO = function e(t) {
|
|
6055
6055
|
function n(r) {
|
|
6056
|
-
return new
|
|
6056
|
+
return new Ru(r, t);
|
|
6057
6057
|
}
|
|
6058
6058
|
return n.tension = function(r) {
|
|
6059
6059
|
return e(+r);
|
|
@@ -6213,7 +6213,7 @@ bg.prototype = {
|
|
|
6213
6213
|
};
|
|
6214
6214
|
const dO = function e(t) {
|
|
6215
6215
|
function n(r) {
|
|
6216
|
-
return t ? new bg(r, t) : new
|
|
6216
|
+
return t ? new bg(r, t) : new Ru(r, 0);
|
|
6217
6217
|
}
|
|
6218
6218
|
return n.alpha = function(r) {
|
|
6219
6219
|
return e(+r);
|
|
@@ -6341,12 +6341,12 @@ wg.prototype = {
|
|
|
6341
6341
|
function Sg(e) {
|
|
6342
6342
|
return new wg(e);
|
|
6343
6343
|
}
|
|
6344
|
-
function
|
|
6344
|
+
function Dd(e) {
|
|
6345
6345
|
return e < 0 ? -1 : 1;
|
|
6346
6346
|
}
|
|
6347
|
-
function
|
|
6347
|
+
function Rd(e, t, n) {
|
|
6348
6348
|
var r = e._x1 - e._x0, i = t - e._x1, s = (e._y1 - e._y0) / (r || i < 0 && -0), a = (n - e._y1) / (i || r < 0 && -0), o = (s * i + a * r) / (r + i);
|
|
6349
|
-
return (
|
|
6349
|
+
return (Dd(s) + Dd(a)) * Math.min(Math.abs(s), Math.abs(a), 0.5 * Math.abs(o)) || 0;
|
|
6350
6350
|
}
|
|
6351
6351
|
function kd(e, t) {
|
|
6352
6352
|
var n = e._x1 - e._x0;
|
|
@@ -6391,10 +6391,10 @@ io.prototype = {
|
|
|
6391
6391
|
this._point = 2;
|
|
6392
6392
|
break;
|
|
6393
6393
|
case 2:
|
|
6394
|
-
this._point = 3, wl(this, kd(this, n =
|
|
6394
|
+
this._point = 3, wl(this, kd(this, n = Rd(this, e, t)), n);
|
|
6395
6395
|
break;
|
|
6396
6396
|
default:
|
|
6397
|
-
wl(this, this._t0, n =
|
|
6397
|
+
wl(this, this._t0, n = Rd(this, e, t));
|
|
6398
6398
|
break;
|
|
6399
6399
|
}
|
|
6400
6400
|
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;
|
|
@@ -6472,10 +6472,10 @@ function Id(e) {
|
|
|
6472
6472
|
function vO(e) {
|
|
6473
6473
|
return new Mg(e);
|
|
6474
6474
|
}
|
|
6475
|
-
function
|
|
6475
|
+
function Do(e, t) {
|
|
6476
6476
|
this._context = e, this._t = t;
|
|
6477
6477
|
}
|
|
6478
|
-
|
|
6478
|
+
Do.prototype = {
|
|
6479
6479
|
areaStart: function() {
|
|
6480
6480
|
this._line = 0;
|
|
6481
6481
|
},
|
|
@@ -6509,13 +6509,13 @@ Ro.prototype = {
|
|
|
6509
6509
|
}
|
|
6510
6510
|
};
|
|
6511
6511
|
function yO(e) {
|
|
6512
|
-
return new
|
|
6512
|
+
return new Do(e, 0.5);
|
|
6513
6513
|
}
|
|
6514
6514
|
function xO(e) {
|
|
6515
|
-
return new
|
|
6515
|
+
return new Do(e, 0);
|
|
6516
6516
|
}
|
|
6517
6517
|
function bO(e) {
|
|
6518
|
-
return new
|
|
6518
|
+
return new Do(e, 1);
|
|
6519
6519
|
}
|
|
6520
6520
|
function Nd(e, t) {
|
|
6521
6521
|
if ((a = e.length) > 1)
|
|
@@ -6670,12 +6670,12 @@ function St(e) {
|
|
|
6670
6670
|
return e instanceof Date || typeof e == "object" && t === "[object Date]" ? new e.constructor(+e) : typeof e == "number" || t === "[object Number]" || typeof e == "string" || t === "[object String]" ? new Date(e) : /* @__PURE__ */ new Date(NaN);
|
|
6671
6671
|
}
|
|
6672
6672
|
let MO = {};
|
|
6673
|
-
function
|
|
6673
|
+
function Ro() {
|
|
6674
6674
|
return MO;
|
|
6675
6675
|
}
|
|
6676
6676
|
function vs(e, t) {
|
|
6677
6677
|
var n, r, i, s;
|
|
6678
|
-
const a =
|
|
6678
|
+
const a = Ro(), o = (t == null ? void 0 : t.weekStartsOn) ?? ((r = (n = t == null ? void 0 : t.locale) == null ? void 0 : n.options) == null ? void 0 : r.weekStartsOn) ?? a.weekStartsOn ?? ((s = (i = a.locale) == null ? void 0 : i.options) == null ? void 0 : s.weekStartsOn) ?? 0, l = St(e), c = l.getDay(), u = (c < o ? 7 : 0) + c - o;
|
|
6679
6679
|
return l.setDate(l.getDate() - u), l.setHours(0, 0, 0, 0), l;
|
|
6680
6680
|
}
|
|
6681
6681
|
const CO = {
|
|
@@ -6751,11 +6751,11 @@ const CO = {
|
|
|
6751
6751
|
tomorrow: "'tomorrow at' p",
|
|
6752
6752
|
nextWeek: "eeee 'at' p",
|
|
6753
6753
|
other: "P"
|
|
6754
|
-
}, LO = (e, t, n, r) => $O[e],
|
|
6754
|
+
}, LO = (e, t, n, r) => $O[e], DO = {
|
|
6755
6755
|
narrow: ["B", "A"],
|
|
6756
6756
|
abbreviated: ["BC", "AD"],
|
|
6757
6757
|
wide: ["Before Christ", "Anno Domini"]
|
|
6758
|
-
},
|
|
6758
|
+
}, RO = {
|
|
6759
6759
|
narrow: ["1", "2", "3", "4"],
|
|
6760
6760
|
abbreviated: ["Q1", "Q2", "Q3", "Q4"],
|
|
6761
6761
|
wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
|
|
@@ -6879,11 +6879,11 @@ const CO = {
|
|
|
6879
6879
|
}, BO = {
|
|
6880
6880
|
ordinalNumber: UO,
|
|
6881
6881
|
era: $i({
|
|
6882
|
-
values:
|
|
6882
|
+
values: DO,
|
|
6883
6883
|
defaultWidth: "wide"
|
|
6884
6884
|
}),
|
|
6885
6885
|
quarter: $i({
|
|
6886
|
-
values:
|
|
6886
|
+
values: RO,
|
|
6887
6887
|
defaultWidth: "wide",
|
|
6888
6888
|
argumentCallback: (e) => e - 1
|
|
6889
6889
|
}),
|
|
@@ -7051,16 +7051,16 @@ var iT = typeof self == "object" && self && self.Object === Object && self, sT =
|
|
|
7051
7051
|
const Je = sT;
|
|
7052
7052
|
var aT = Je.Symbol;
|
|
7053
7053
|
const Pe = aT;
|
|
7054
|
-
var $g = Object.prototype, oT = $g.hasOwnProperty, lT = $g.toString,
|
|
7054
|
+
var $g = Object.prototype, oT = $g.hasOwnProperty, lT = $g.toString, Di = Pe ? Pe.toStringTag : void 0;
|
|
7055
7055
|
function cT(e) {
|
|
7056
|
-
var t = oT.call(e,
|
|
7056
|
+
var t = oT.call(e, Di), n = e[Di];
|
|
7057
7057
|
try {
|
|
7058
|
-
e[
|
|
7058
|
+
e[Di] = void 0;
|
|
7059
7059
|
var r = !0;
|
|
7060
7060
|
} catch {
|
|
7061
7061
|
}
|
|
7062
7062
|
var i = lT.call(e);
|
|
7063
|
-
return r && (t ? e[
|
|
7063
|
+
return r && (t ? e[Di] = n : delete e[Di]), i;
|
|
7064
7064
|
}
|
|
7065
7065
|
var uT = Object.prototype, hT = uT.toString;
|
|
7066
7066
|
function dT(e) {
|
|
@@ -7085,11 +7085,11 @@ function Lg(e, t) {
|
|
|
7085
7085
|
var gT = Array.isArray;
|
|
7086
7086
|
const ie = gT;
|
|
7087
7087
|
var vT = 1 / 0, Bd = Pe ? Pe.prototype : void 0, Vd = Bd ? Bd.toString : void 0;
|
|
7088
|
-
function
|
|
7088
|
+
function Dg(e) {
|
|
7089
7089
|
if (typeof e == "string")
|
|
7090
7090
|
return e;
|
|
7091
7091
|
if (ie(e))
|
|
7092
|
-
return Lg(e,
|
|
7092
|
+
return Lg(e, Dg) + "";
|
|
7093
7093
|
if (ko(e))
|
|
7094
7094
|
return Vd ? Vd.call(e) : "";
|
|
7095
7095
|
var t = e + "";
|
|
@@ -7132,13 +7132,13 @@ function Mr(e) {
|
|
|
7132
7132
|
}
|
|
7133
7133
|
return "";
|
|
7134
7134
|
}
|
|
7135
|
-
var TT = /[\\^$.*+?()[\]{}|]/g, MT = /^\[object .+?Constructor\]$/, CT = Function.prototype, AT = Object.prototype, $T = CT.toString, LT = AT.hasOwnProperty,
|
|
7135
|
+
var TT = /[\\^$.*+?()[\]{}|]/g, MT = /^\[object .+?Constructor\]$/, CT = Function.prototype, AT = Object.prototype, $T = CT.toString, LT = AT.hasOwnProperty, DT = RegExp(
|
|
7136
7136
|
"^" + $T.call(LT).replace(TT, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
7137
7137
|
);
|
|
7138
|
-
function
|
|
7138
|
+
function RT(e) {
|
|
7139
7139
|
if (!Ue(e) || wT(e))
|
|
7140
7140
|
return !1;
|
|
7141
|
-
var t = Uu(e) ?
|
|
7141
|
+
var t = Uu(e) ? DT : MT;
|
|
7142
7142
|
return t.test(Mr(e));
|
|
7143
7143
|
}
|
|
7144
7144
|
function kT(e, t) {
|
|
@@ -7146,7 +7146,7 @@ function kT(e, t) {
|
|
|
7146
7146
|
}
|
|
7147
7147
|
function Cr(e, t) {
|
|
7148
7148
|
var n = kT(e, t);
|
|
7149
|
-
return
|
|
7149
|
+
return RT(n) ? n : void 0;
|
|
7150
7150
|
}
|
|
7151
7151
|
var IT = Cr(Je, "WeakMap");
|
|
7152
7152
|
const bc = IT;
|
|
@@ -7179,7 +7179,7 @@ function UT(e, t, n) {
|
|
|
7179
7179
|
}
|
|
7180
7180
|
function BT() {
|
|
7181
7181
|
}
|
|
7182
|
-
function
|
|
7182
|
+
function Rg(e, t) {
|
|
7183
7183
|
var n = -1, r = e.length;
|
|
7184
7184
|
for (t || (t = Array(r)); ++n < r; )
|
|
7185
7185
|
t[n] = e[n];
|
|
@@ -7341,9 +7341,9 @@ function mM() {
|
|
|
7341
7341
|
}
|
|
7342
7342
|
var Ug = typeof exports == "object" && exports && !exports.nodeType && exports, jd = Ug && typeof module == "object" && module && !module.nodeType && module, gM = jd && jd.exports === Ug, Wd = gM ? Je.Buffer : void 0, vM = Wd ? Wd.isBuffer : void 0, yM = vM || mM;
|
|
7343
7343
|
const ci = yM;
|
|
7344
|
-
var xM = "[object Arguments]", bM = "[object Array]", EM = "[object Boolean]", _M = "[object Date]", wM = "[object Error]", SM = "[object Function]", OM = "[object Map]", TM = "[object Number]", MM = "[object Object]", CM = "[object RegExp]", AM = "[object Set]", $M = "[object String]", LM = "[object WeakMap]",
|
|
7344
|
+
var xM = "[object Arguments]", bM = "[object Array]", EM = "[object Boolean]", _M = "[object Date]", wM = "[object Error]", SM = "[object Function]", OM = "[object Map]", TM = "[object Number]", MM = "[object Object]", CM = "[object RegExp]", AM = "[object Set]", $M = "[object String]", LM = "[object WeakMap]", DM = "[object ArrayBuffer]", RM = "[object DataView]", kM = "[object Float32Array]", IM = "[object Float64Array]", NM = "[object Int8Array]", PM = "[object Int16Array]", UM = "[object Int32Array]", BM = "[object Uint8Array]", VM = "[object Uint8ClampedArray]", HM = "[object Uint16Array]", FM = "[object Uint32Array]", Vt = {};
|
|
7345
7345
|
Vt[kM] = Vt[IM] = Vt[NM] = Vt[PM] = Vt[UM] = Vt[BM] = Vt[VM] = Vt[HM] = Vt[FM] = !0;
|
|
7346
|
-
Vt[xM] = Vt[bM] = Vt[
|
|
7346
|
+
Vt[xM] = Vt[bM] = Vt[DM] = Vt[EM] = Vt[RM] = Vt[_M] = Vt[wM] = Vt[SM] = Vt[OM] = Vt[TM] = Vt[MM] = Vt[CM] = Vt[AM] = Vt[$M] = Vt[LM] = !1;
|
|
7347
7347
|
function zM(e) {
|
|
7348
7348
|
return un(e) && Vu(e.length) && !!Vt[Tr(e)];
|
|
7349
7349
|
}
|
|
@@ -7389,7 +7389,7 @@ function Fg(e) {
|
|
|
7389
7389
|
QM.call(e, n) && n != "constructor" && t.push(n);
|
|
7390
7390
|
return t;
|
|
7391
7391
|
}
|
|
7392
|
-
function
|
|
7392
|
+
function Ds(e) {
|
|
7393
7393
|
return Ar(e) ? Vg(e) : Fg(e);
|
|
7394
7394
|
}
|
|
7395
7395
|
function JM(e) {
|
|
@@ -7408,7 +7408,7 @@ function nC(e) {
|
|
|
7408
7408
|
r == "constructor" && (t || !eC.call(e, r)) || n.push(r);
|
|
7409
7409
|
return n;
|
|
7410
7410
|
}
|
|
7411
|
-
function
|
|
7411
|
+
function Rs(e) {
|
|
7412
7412
|
return Ar(e) ? Vg(e, !0) : nC(e);
|
|
7413
7413
|
}
|
|
7414
7414
|
var rC = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, iC = /^\w*$/;
|
|
@@ -7555,14 +7555,14 @@ function zu(e, t) {
|
|
|
7555
7555
|
return n.cache = new (zu.Cache || In)(), n;
|
|
7556
7556
|
}
|
|
7557
7557
|
zu.Cache = In;
|
|
7558
|
-
var
|
|
7559
|
-
function
|
|
7558
|
+
var DC = 500;
|
|
7559
|
+
function RC(e) {
|
|
7560
7560
|
var t = zu(e, function(r) {
|
|
7561
|
-
return n.size ===
|
|
7561
|
+
return n.size === DC && n.clear(), r;
|
|
7562
7562
|
}), n = t.cache;
|
|
7563
7563
|
return t;
|
|
7564
7564
|
}
|
|
7565
|
-
var kC = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, IC = /\\(\\)?/g, NC =
|
|
7565
|
+
var kC = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, IC = /\\(\\)?/g, NC = RC(function(e) {
|
|
7566
7566
|
var t = [];
|
|
7567
7567
|
return e.charCodeAt(0) === 46 && t.push(""), e.replace(kC, function(n, r, i, s) {
|
|
7568
7568
|
t.push(i ? s.replace(IC, "$1") : r || n);
|
|
@@ -7570,7 +7570,7 @@ var kC = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=
|
|
|
7570
7570
|
});
|
|
7571
7571
|
const PC = NC;
|
|
7572
7572
|
function ks(e) {
|
|
7573
|
-
return e == null ? "" :
|
|
7573
|
+
return e == null ? "" : Dg(e);
|
|
7574
7574
|
}
|
|
7575
7575
|
function zg(e, t) {
|
|
7576
7576
|
return ie(e) ? e : Fu(e, t) ? [e] : PC(ks(e));
|
|
@@ -7655,10 +7655,10 @@ qe.prototype.get = XC;
|
|
|
7655
7655
|
qe.prototype.has = ZC;
|
|
7656
7656
|
qe.prototype.set = QC;
|
|
7657
7657
|
function JC(e, t) {
|
|
7658
|
-
return e && Ls(t,
|
|
7658
|
+
return e && Ls(t, Ds(t), e);
|
|
7659
7659
|
}
|
|
7660
7660
|
function tA(e, t) {
|
|
7661
|
-
return e && Ls(t,
|
|
7661
|
+
return e && Ls(t, Rs(t), e);
|
|
7662
7662
|
}
|
|
7663
7663
|
var Wg = typeof exports == "object" && exports && !exports.nodeType && exports, Xd = Wg && typeof module == "object" && module && !module.nodeType && module, eA = Xd && Xd.exports === Wg, Zd = eA ? Je.Buffer : void 0, Kd = Zd ? Zd.allocUnsafe : void 0;
|
|
7664
7664
|
function qg(e, t) {
|
|
@@ -7700,10 +7700,10 @@ function Zg(e, t, n) {
|
|
|
7700
7700
|
return ie(e) ? r : Gu(r, n(e));
|
|
7701
7701
|
}
|
|
7702
7702
|
function Ec(e) {
|
|
7703
|
-
return Zg(e,
|
|
7703
|
+
return Zg(e, Ds, Wu);
|
|
7704
7704
|
}
|
|
7705
7705
|
function uA(e) {
|
|
7706
|
-
return Zg(e,
|
|
7706
|
+
return Zg(e, Rs, Xg);
|
|
7707
7707
|
}
|
|
7708
7708
|
var hA = Cr(Je, "DataView");
|
|
7709
7709
|
const _c = hA;
|
|
@@ -7758,7 +7758,7 @@ function Kg(e, t) {
|
|
|
7758
7758
|
var n = t ? qu(e.buffer) : e.buffer;
|
|
7759
7759
|
return new e.constructor(n, e.byteOffset, e.length);
|
|
7760
7760
|
}
|
|
7761
|
-
var CA = "[object Boolean]", AA = "[object Date]", $A = "[object Map]", LA = "[object Number]",
|
|
7761
|
+
var CA = "[object Boolean]", AA = "[object Date]", $A = "[object Map]", LA = "[object Number]", DA = "[object RegExp]", RA = "[object Set]", kA = "[object String]", IA = "[object Symbol]", NA = "[object ArrayBuffer]", PA = "[object DataView]", UA = "[object Float32Array]", BA = "[object Float64Array]", VA = "[object Int8Array]", HA = "[object Int16Array]", FA = "[object Int32Array]", zA = "[object Uint8Array]", GA = "[object Uint8ClampedArray]", jA = "[object Uint16Array]", WA = "[object Uint32Array]";
|
|
7762
7762
|
function qA(e, t, n) {
|
|
7763
7763
|
var r = e.constructor;
|
|
7764
7764
|
switch (t) {
|
|
@@ -7784,9 +7784,9 @@ function qA(e, t, n) {
|
|
|
7784
7784
|
case LA:
|
|
7785
7785
|
case kA:
|
|
7786
7786
|
return new r(e);
|
|
7787
|
-
case RA:
|
|
7788
|
-
return TA(e);
|
|
7789
7787
|
case DA:
|
|
7788
|
+
return TA(e);
|
|
7789
|
+
case RA:
|
|
7790
7790
|
return new r();
|
|
7791
7791
|
case IA:
|
|
7792
7792
|
return MA(e);
|
|
@@ -7819,7 +7819,7 @@ function wa(e, t, n, r, i, s) {
|
|
|
7819
7819
|
var u = ie(e);
|
|
7820
7820
|
if (u) {
|
|
7821
7821
|
if (a = _A(e), !o)
|
|
7822
|
-
return
|
|
7822
|
+
return Rg(e, a);
|
|
7823
7823
|
} else {
|
|
7824
7824
|
var d = hi(e), h = d == tv || d == c2;
|
|
7825
7825
|
if (ci(e))
|
|
@@ -7842,20 +7842,20 @@ function wa(e, t, n, r, i, s) {
|
|
|
7842
7842
|
}) : KA(e) && e.forEach(function(m, y) {
|
|
7843
7843
|
a.set(y, wa(m, t, n, y, e, s));
|
|
7844
7844
|
});
|
|
7845
|
-
var p = c ? l ? uA : Ec : l ?
|
|
7845
|
+
var p = c ? l ? uA : Ec : l ? Rs : Ds, v = u ? void 0 : p(e);
|
|
7846
7846
|
return ZT(v || e, function(m, y) {
|
|
7847
7847
|
v && (y = m, m = e[y]), kg(a, y, wa(m, t, n, y, e, s));
|
|
7848
7848
|
}), a;
|
|
7849
7849
|
}
|
|
7850
7850
|
var C2 = 1, A2 = 4;
|
|
7851
|
-
function
|
|
7851
|
+
function Dn(e) {
|
|
7852
7852
|
return wa(e, C2 | A2);
|
|
7853
7853
|
}
|
|
7854
7854
|
var $2 = "__lodash_hash_undefined__";
|
|
7855
7855
|
function L2(e) {
|
|
7856
7856
|
return this.__data__.set(e, $2), this;
|
|
7857
7857
|
}
|
|
7858
|
-
function
|
|
7858
|
+
function D2(e) {
|
|
7859
7859
|
return this.__data__.has(e);
|
|
7860
7860
|
}
|
|
7861
7861
|
function bs(e) {
|
|
@@ -7864,7 +7864,7 @@ function bs(e) {
|
|
|
7864
7864
|
this.add(e[t]);
|
|
7865
7865
|
}
|
|
7866
7866
|
bs.prototype.add = bs.prototype.push = L2;
|
|
7867
|
-
bs.prototype.has =
|
|
7867
|
+
bs.prototype.has = D2;
|
|
7868
7868
|
function nv(e, t) {
|
|
7869
7869
|
for (var n = -1, r = e == null ? 0 : e.length; ++n < r; )
|
|
7870
7870
|
if (t(e[n], n, e))
|
|
@@ -7874,9 +7874,9 @@ function nv(e, t) {
|
|
|
7874
7874
|
function rv(e, t) {
|
|
7875
7875
|
return e.has(t);
|
|
7876
7876
|
}
|
|
7877
|
-
var
|
|
7877
|
+
var R2 = 1, k2 = 2;
|
|
7878
7878
|
function iv(e, t, n, r, i, s) {
|
|
7879
|
-
var a = n &
|
|
7879
|
+
var a = n & R2, o = e.length, l = t.length;
|
|
7880
7880
|
if (o != l && !(a && l > o))
|
|
7881
7881
|
return !1;
|
|
7882
7882
|
var c = s.get(e), u = s.get(t);
|
|
@@ -8042,7 +8042,7 @@ function sv(e) {
|
|
|
8042
8042
|
return e === e && !Ue(e);
|
|
8043
8043
|
}
|
|
8044
8044
|
function a$(e) {
|
|
8045
|
-
for (var t =
|
|
8045
|
+
for (var t = Ds(e), n = t.length; n--; ) {
|
|
8046
8046
|
var r = t[n], i = e[r];
|
|
8047
8047
|
t[n] = [r, i, sv(i)];
|
|
8048
8048
|
}
|
|
@@ -8121,7 +8121,7 @@ function Tc(e, t) {
|
|
|
8121
8121
|
return e[t];
|
|
8122
8122
|
}
|
|
8123
8123
|
function x$(e) {
|
|
8124
|
-
return Ls(e,
|
|
8124
|
+
return Ls(e, Rs(e));
|
|
8125
8125
|
}
|
|
8126
8126
|
function b$(e, t, n, r, i, s, a) {
|
|
8127
8127
|
var o = Tc(e, n), l = Tc(t, n), c = a.get(l);
|
|
@@ -8132,7 +8132,7 @@ function b$(e, t, n, r, i, s, a) {
|
|
|
8132
8132
|
var u = s ? s(o, l, n + "", e, t, a) : void 0, d = u === void 0;
|
|
8133
8133
|
if (d) {
|
|
8134
8134
|
var h = ie(l), f = !h && ci(l), p = !h && !f && Po(l);
|
|
8135
|
-
u = l, h || f || p ? ie(o) ? u = o : Oc(o) ? u =
|
|
8135
|
+
u = l, h || f || p ? ie(o) ? u = o : Oc(o) ? u = Rg(o) : f ? (d = !1, u = qg(l, !0)) : p ? (d = !1, u = Kg(l, !0)) : u = [] : WC(l) || li(l) ? (u = o, li(o) ? u = x$(o) : (!Ue(o) || Uu(o)) && (u = Qg(l))) : d = !1;
|
|
8136
8136
|
}
|
|
8137
8137
|
d && (a.set(l, u), i(u, l, r, s, a), a.delete(l)), Sc(e, n, u);
|
|
8138
8138
|
}
|
|
@@ -8144,7 +8144,7 @@ function lv(e, t, n, r, i) {
|
|
|
8144
8144
|
var o = r ? r(Tc(e, a), s, a + "", e, t, i) : void 0;
|
|
8145
8145
|
o === void 0 && (o = s), Sc(e, a, o);
|
|
8146
8146
|
}
|
|
8147
|
-
},
|
|
8147
|
+
}, Rs);
|
|
8148
8148
|
}
|
|
8149
8149
|
function E$(e, t, n) {
|
|
8150
8150
|
for (var r = -1, i = e == null ? 0 : e.length; ++r < i; )
|
|
@@ -8205,11 +8205,11 @@ function cv(e, t, n) {
|
|
|
8205
8205
|
}
|
|
8206
8206
|
return o;
|
|
8207
8207
|
}
|
|
8208
|
-
var
|
|
8208
|
+
var D$ = Ig(function(e) {
|
|
8209
8209
|
var t = _$(e);
|
|
8210
8210
|
return Oc(t) && (t = void 0), cv(Ho(e, 1, Oc, !0), zo(t));
|
|
8211
8211
|
});
|
|
8212
|
-
const
|
|
8212
|
+
const R$ = D$;
|
|
8213
8213
|
function Es(e) {
|
|
8214
8214
|
return e && e.length ? cv(e) : [];
|
|
8215
8215
|
}
|
|
@@ -8258,7 +8258,7 @@ const ge = "cds", _n = {
|
|
|
8258
8258
|
"5-color": 2,
|
|
8259
8259
|
"14-color": 1
|
|
8260
8260
|
}
|
|
8261
|
-
},
|
|
8261
|
+
}, Re = {
|
|
8262
8262
|
circle: {
|
|
8263
8263
|
radius: 4,
|
|
8264
8264
|
opacity: {
|
|
@@ -8915,8 +8915,7 @@ const ue = {
|
|
|
8915
8915
|
center: {
|
|
8916
8916
|
numberFontSize: (e) => `${Math.min(e / 100 * 24, 24)}px`,
|
|
8917
8917
|
titleFontSize: (e) => `${Math.min(e / 100 * 15, 15)}px`,
|
|
8918
|
-
titleYPosition: (e) => Math.min(e / 80 * 20, 20)
|
|
8919
|
-
numberFormatter: (e) => Math.floor(e).toLocaleString()
|
|
8918
|
+
titleYPosition: (e) => Math.min(e / 80 * 20, 20)
|
|
8920
8919
|
},
|
|
8921
8920
|
alignment: Qt.LEFT
|
|
8922
8921
|
}
|
|
@@ -9037,7 +9036,7 @@ function lL(e, t, n) {
|
|
|
9037
9036
|
}
|
|
9038
9037
|
function Gt(e, t) {
|
|
9039
9038
|
var n;
|
|
9040
|
-
const r =
|
|
9039
|
+
const r = Dn(e), i = Object.keys(t.axes || {});
|
|
9041
9040
|
(n = t == null ? void 0 : t.toolbar) != null && n.controls && delete r.toolbar.controls, i.length === 0 && delete r.axes;
|
|
9042
9041
|
for (const s in r.axes)
|
|
9043
9042
|
if (i.includes(s)) {
|
|
@@ -9099,7 +9098,7 @@ function Zu(e, t) {
|
|
|
9099
9098
|
const i = r.map((o) => o.type), s = n.map((o) => o.type), a = N$.filter(
|
|
9100
9099
|
(o) => s.includes(o.type) && !i.includes(o.type)
|
|
9101
9100
|
);
|
|
9102
|
-
e.legend.additionalItems = a, t.legend.additionalItems =
|
|
9101
|
+
e.legend.additionalItems = a, t.legend.additionalItems = R$(
|
|
9103
9102
|
a,
|
|
9104
9103
|
r,
|
|
9105
9104
|
"name"
|
|
@@ -9184,7 +9183,7 @@ function fL(e) {
|
|
|
9184
9183
|
}
|
|
9185
9184
|
function Ov(e, t) {
|
|
9186
9185
|
var n, r, i, s;
|
|
9187
|
-
const a = St(e), o = a.getFullYear(), l =
|
|
9186
|
+
const a = St(e), o = a.getFullYear(), l = Ro(), c = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((r = (n = t == null ? void 0 : t.locale) == null ? void 0 : n.options) == null ? void 0 : r.firstWeekContainsDate) ?? l.firstWeekContainsDate ?? ((s = (i = l.locale) == null ? void 0 : i.options) == null ? void 0 : s.firstWeekContainsDate) ?? 1, u = Ze(e, 0);
|
|
9188
9187
|
u.setFullYear(o + 1, 0, c), u.setHours(0, 0, 0, 0);
|
|
9189
9188
|
const d = vs(u, t), h = Ze(e, 0);
|
|
9190
9189
|
h.setFullYear(o, 0, c), h.setHours(0, 0, 0, 0);
|
|
@@ -9193,7 +9192,7 @@ function Ov(e, t) {
|
|
|
9193
9192
|
}
|
|
9194
9193
|
function pL(e, t) {
|
|
9195
9194
|
var n, r, i, s;
|
|
9196
|
-
const a =
|
|
9195
|
+
const a = Ro(), o = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((r = (n = t == null ? void 0 : t.locale) == null ? void 0 : n.options) == null ? void 0 : r.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((s = (i = a.locale) == null ? void 0 : i.options) == null ? void 0 : s.firstWeekContainsDate) ?? 1, l = Ov(e, t), c = Ze(e, 0);
|
|
9197
9196
|
return c.setFullYear(l, 0, o), c.setHours(0, 0, 0, 0), vs(c, t);
|
|
9198
9197
|
}
|
|
9199
9198
|
function mL(e, t) {
|
|
@@ -9842,7 +9841,7 @@ function TL(e) {
|
|
|
9842
9841
|
const ML = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, CL = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, AL = /^'([^]*?)'?$/, $L = /''/g, LL = /[a-zA-Z]/;
|
|
9843
9842
|
function Mc(e, t, n) {
|
|
9844
9843
|
var r, i, s, a, o, l, c, u;
|
|
9845
|
-
const d =
|
|
9844
|
+
const d = Ro(), h = (n == null ? void 0 : n.locale) ?? d.locale ?? Cg, f = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((i = (r = n == null ? void 0 : n.locale) == null ? void 0 : r.options) == null ? void 0 : i.firstWeekContainsDate) ?? d.firstWeekContainsDate ?? ((a = (s = d.locale) == null ? void 0 : s.options) == null ? void 0 : a.firstWeekContainsDate) ?? 1, p = (n == null ? void 0 : n.weekStartsOn) ?? ((l = (o = n == null ? void 0 : n.locale) == null ? void 0 : o.options) == null ? void 0 : l.weekStartsOn) ?? d.weekStartsOn ?? ((u = (c = d.locale) == null ? void 0 : c.options) == null ? void 0 : u.weekStartsOn) ?? 0, v = St(e);
|
|
9846
9845
|
if (!TL(v))
|
|
9847
9846
|
throw new RangeError("Invalid time value");
|
|
9848
9847
|
let m = t.match(CL).map((g) => {
|
|
@@ -9857,7 +9856,7 @@ function Mc(e, t, n) {
|
|
|
9857
9856
|
return { isToken: !1, value: "'" };
|
|
9858
9857
|
const x = g[0];
|
|
9859
9858
|
if (x === "'")
|
|
9860
|
-
return { isToken: !1, value:
|
|
9859
|
+
return { isToken: !1, value: DL(g) };
|
|
9861
9860
|
if (yf[x])
|
|
9862
9861
|
return { isToken: !0, value: g };
|
|
9863
9862
|
if (x.match(LL))
|
|
@@ -9881,7 +9880,7 @@ function Mc(e, t, n) {
|
|
|
9881
9880
|
return w(v, x, h.localize, y);
|
|
9882
9881
|
}).join("");
|
|
9883
9882
|
}
|
|
9884
|
-
function
|
|
9883
|
+
function DL(e) {
|
|
9885
9884
|
const t = e.match(AL);
|
|
9886
9885
|
return t ? t[1].replace($L, "'") : e;
|
|
9887
9886
|
}
|
|
@@ -9900,15 +9899,15 @@ function Cv(e, t, n, r, i) {
|
|
|
9900
9899
|
const s = t === 0, a = Number(Mc(new Date(e), "c")) === 2, o = Number(Mc(new Date(e), "q")) === 1, l = t !== 0 ? n[t - 1] : null;
|
|
9901
9900
|
switch (r) {
|
|
9902
9901
|
case "15seconds":
|
|
9903
|
-
return s || ra(e) ||
|
|
9902
|
+
return s || ra(e) || Ri(e, l) || Fn(e);
|
|
9904
9903
|
case "minute":
|
|
9905
|
-
return s || ra(e) ||
|
|
9904
|
+
return s || ra(e) || Ri(e, l) || Fn(e);
|
|
9906
9905
|
case "30minutes":
|
|
9907
|
-
return s || ra(e) ||
|
|
9906
|
+
return s || ra(e) || Ri(e, l) || Fn(e);
|
|
9908
9907
|
case "hourly":
|
|
9909
|
-
return s || ra(e) ||
|
|
9908
|
+
return s || ra(e) || Ri(e, l) || Fn(e);
|
|
9910
9909
|
case "daily":
|
|
9911
|
-
return i ? s || a || Fn(e) : s ||
|
|
9910
|
+
return i ? s || a || Fn(e) : s || Ri(e, l) || Fn(e);
|
|
9912
9911
|
case "weekly":
|
|
9913
9912
|
return s || a || Fn(e);
|
|
9914
9913
|
case "monthly":
|
|
@@ -9950,7 +9949,7 @@ function lo(e) {
|
|
|
9950
9949
|
// seconds: 0-59
|
|
9951
9950
|
};
|
|
9952
9951
|
}
|
|
9953
|
-
function
|
|
9952
|
+
function RL(e) {
|
|
9954
9953
|
if (e)
|
|
9955
9954
|
return e.slice(1).map((t, n) => t - e[n]);
|
|
9956
9955
|
}
|
|
@@ -9966,14 +9965,14 @@ function Ac(e, t) {
|
|
|
9966
9965
|
return t;
|
|
9967
9966
|
if (e.length === 1)
|
|
9968
9967
|
return "15seconds";
|
|
9969
|
-
const n =
|
|
9968
|
+
const n = RL(e), r = Yn(n);
|
|
9970
9969
|
return kL(r);
|
|
9971
9970
|
}
|
|
9972
9971
|
function ra(e) {
|
|
9973
9972
|
const { s: t, m: n, H: r } = lo(e);
|
|
9974
9973
|
return r === 0 && n === 0 && t === 0;
|
|
9975
9974
|
}
|
|
9976
|
-
function
|
|
9975
|
+
function Ri(e, t) {
|
|
9977
9976
|
const n = lo(e).M, r = lo(t).M;
|
|
9978
9977
|
return n !== r;
|
|
9979
9978
|
}
|
|
@@ -10007,7 +10006,7 @@ function $v(e, t) {
|
|
|
10007
10006
|
}
|
|
10008
10007
|
var ht = /* @__PURE__ */ ((e) => (e.GRAPHICS_DOCUMENT = "graphics-document", e.GRAPHICS_OBJECT = "graphics-object", e.GRAPHICS_SYMBOL = "graphics-symbol", e.GROUP = "group", e.DOCUMENT = "document", e.CHECKBOX = "checkbox", e.BUTTON = "button", e.MENU = "menu", e.MENU_ITEM = "menuitem", e.IMG = "img", e))(ht || {});
|
|
10009
10008
|
function IL(e, t) {
|
|
10010
|
-
return e && ov(e, t,
|
|
10009
|
+
return e && ov(e, t, Ds);
|
|
10011
10010
|
}
|
|
10012
10011
|
function NL(e, t) {
|
|
10013
10012
|
return function(n, r) {
|
|
@@ -10127,7 +10126,7 @@ let dn = class {
|
|
|
10127
10126
|
* @param newData The new raw data to be set
|
|
10128
10127
|
*/
|
|
10129
10128
|
setData(t) {
|
|
10130
|
-
const n = this.sanitize(
|
|
10129
|
+
const n = this.sanitize(Dn(t)), r = this.generateDataGroups(n);
|
|
10131
10130
|
return this.set({
|
|
10132
10131
|
data: n,
|
|
10133
10132
|
dataGroups: r
|
|
@@ -10504,7 +10503,7 @@ let dn = class {
|
|
|
10504
10503
|
* @param zoomBarData any special zoom bar data to use instead of the model data
|
|
10505
10504
|
*/
|
|
10506
10505
|
setZoomBarData(t) {
|
|
10507
|
-
const n = t ? this.sanitize(
|
|
10506
|
+
const n = t ? this.sanitize(Dn(t)) : this.getDisplayData();
|
|
10508
10507
|
let r = n;
|
|
10509
10508
|
const { cartesianScales: i } = this.services;
|
|
10510
10509
|
if (n && i.domainAxisPosition && i.rangeAxisPosition) {
|
|
@@ -10833,7 +10832,7 @@ let dn = class {
|
|
|
10833
10832
|
];
|
|
10834
10833
|
return super.formatTable({ headers: a, cells: o });
|
|
10835
10834
|
}
|
|
10836
|
-
},
|
|
10835
|
+
}, tD = class extends $r {
|
|
10837
10836
|
constructor(t) {
|
|
10838
10837
|
super(t), this.axisFlavor = bo.HOVERABLE, this._colorScale = void 0, this._domains = [], this._ranges = [], this._matrix = {};
|
|
10839
10838
|
const n = b(this.getOptions(), "axes");
|
|
@@ -10907,7 +10906,7 @@ let dn = class {
|
|
|
10907
10906
|
index: -1
|
|
10908
10907
|
};
|
|
10909
10908
|
}), t.forEach((a) => {
|
|
10910
|
-
this._matrix[a] =
|
|
10909
|
+
this._matrix[a] = Dn(s);
|
|
10911
10910
|
}), this.getDisplayData().forEach((a, o) => {
|
|
10912
10911
|
this._matrix[a[r]][a[i]] = {
|
|
10913
10912
|
value: a.value,
|
|
@@ -10922,7 +10921,7 @@ let dn = class {
|
|
|
10922
10921
|
* @param newData The new raw data to be set
|
|
10923
10922
|
*/
|
|
10924
10923
|
setData(t) {
|
|
10925
|
-
const n = this.sanitize(
|
|
10924
|
+
const n = this.sanitize(Dn(t)), r = this.generateDataGroups(n);
|
|
10926
10925
|
return this.set({
|
|
10927
10926
|
data: n,
|
|
10928
10927
|
dataGroups: r
|
|
@@ -10978,7 +10977,7 @@ let dn = class {
|
|
|
10978
10977
|
const l = b(this.getOptions(), "color");
|
|
10979
10978
|
this._colorScale = $v(this.getDisplayData(), l);
|
|
10980
10979
|
}
|
|
10981
|
-
},
|
|
10980
|
+
}, eD = class extends $r {
|
|
10982
10981
|
getTabularDataArray() {
|
|
10983
10982
|
const t = this.getOptions(), { groupMapsTo: n } = t.data, { number: r, code: i } = b(this.getOptions(), "locale"), s = this.getBinnedStackedData(), a = [
|
|
10984
10983
|
_t(t, "bins.rangeLabel") || "Range",
|
|
@@ -10996,7 +10995,7 @@ let dn = class {
|
|
|
10996
10995
|
];
|
|
10997
10996
|
return super.formatTable({ headers: a, cells: o });
|
|
10998
10997
|
}
|
|
10999
|
-
},
|
|
10998
|
+
}, nD = class extends dn {
|
|
11000
10999
|
constructor(t) {
|
|
11001
11000
|
super(t);
|
|
11002
11001
|
}
|
|
@@ -11052,7 +11051,7 @@ let dn = class {
|
|
|
11052
11051
|
];
|
|
11053
11052
|
return super.formatTable({ headers: l, cells: c });
|
|
11054
11053
|
}
|
|
11055
|
-
},
|
|
11054
|
+
}, rD = class extends $r {
|
|
11056
11055
|
constructor(t) {
|
|
11057
11056
|
super(t);
|
|
11058
11057
|
}
|
|
@@ -11067,7 +11066,7 @@ let dn = class {
|
|
|
11067
11066
|
];
|
|
11068
11067
|
return super.formatTable({ headers: l, cells: c });
|
|
11069
11068
|
}
|
|
11070
|
-
},
|
|
11069
|
+
}, iD = class extends dn {
|
|
11071
11070
|
constructor(t) {
|
|
11072
11071
|
super(t);
|
|
11073
11072
|
}
|
|
@@ -11087,7 +11086,7 @@ let dn = class {
|
|
|
11087
11086
|
this.getChildrenDatums(r, n), n.push([r.name, t.name]);
|
|
11088
11087
|
});
|
|
11089
11088
|
}
|
|
11090
|
-
},
|
|
11089
|
+
}, sD = class extends dn {
|
|
11091
11090
|
constructor(t) {
|
|
11092
11091
|
super(t);
|
|
11093
11092
|
}
|
|
@@ -11099,7 +11098,7 @@ let dn = class {
|
|
|
11099
11098
|
}) : b(a.name) !== null && b(a.value) && s.push(["–", a.name, n(a.value, r)]);
|
|
11100
11099
|
}), super.formatTable({ headers: i, cells: s });
|
|
11101
11100
|
}
|
|
11102
|
-
},
|
|
11101
|
+
}, aD = class extends dn {
|
|
11103
11102
|
constructor(t) {
|
|
11104
11103
|
super(t);
|
|
11105
11104
|
}
|
|
@@ -11114,17 +11113,17 @@ let dn = class {
|
|
|
11114
11113
|
return super.formatTable({ headers: l, cells: c });
|
|
11115
11114
|
}
|
|
11116
11115
|
};
|
|
11117
|
-
var
|
|
11118
|
-
function
|
|
11119
|
-
for (var t = e.length; t-- &&
|
|
11116
|
+
var oD = /\s/;
|
|
11117
|
+
function lD(e) {
|
|
11118
|
+
for (var t = e.length; t-- && oD.test(e.charAt(t)); )
|
|
11120
11119
|
;
|
|
11121
11120
|
return t;
|
|
11122
11121
|
}
|
|
11123
|
-
var
|
|
11124
|
-
function
|
|
11125
|
-
return e && e.slice(0,
|
|
11122
|
+
var cD = /^\s+/;
|
|
11123
|
+
function uD(e) {
|
|
11124
|
+
return e && e.slice(0, lD(e) + 1).replace(cD, "");
|
|
11126
11125
|
}
|
|
11127
|
-
var wf = NaN,
|
|
11126
|
+
var wf = NaN, hD = /^[-+]0x[0-9a-f]+$/i, dD = /^0b[01]+$/i, fD = /^0o[0-7]+$/i, pD = parseInt;
|
|
11128
11127
|
function as(e) {
|
|
11129
11128
|
if (typeof e == "number")
|
|
11130
11129
|
return e;
|
|
@@ -11136,20 +11135,20 @@ function as(e) {
|
|
|
11136
11135
|
}
|
|
11137
11136
|
if (typeof e != "string")
|
|
11138
11137
|
return e === 0 ? e : +e;
|
|
11139
|
-
e =
|
|
11140
|
-
var n =
|
|
11141
|
-
return n ||
|
|
11138
|
+
e = uD(e);
|
|
11139
|
+
var n = dD.test(e);
|
|
11140
|
+
return n || fD.test(e) ? pD(e.slice(2), n ? 2 : 8) : hD.test(e) ? wf : +e;
|
|
11142
11141
|
}
|
|
11143
|
-
var
|
|
11142
|
+
var mD = function() {
|
|
11144
11143
|
return Je.Date.now();
|
|
11145
11144
|
};
|
|
11146
|
-
const Ll =
|
|
11147
|
-
var
|
|
11145
|
+
const Ll = mD;
|
|
11146
|
+
var gD = "Expected a function", vD = Math.max, yD = Math.min;
|
|
11148
11147
|
function co(e, t, n) {
|
|
11149
11148
|
var r, i, s, a, o, l, c = 0, u = !1, d = !1, h = !0;
|
|
11150
11149
|
if (typeof e != "function")
|
|
11151
|
-
throw new TypeError(
|
|
11152
|
-
t = as(t) || 0, Ue(n) && (u = !!n.leading, d = "maxWait" in n, s = d ?
|
|
11150
|
+
throw new TypeError(gD);
|
|
11151
|
+
t = as(t) || 0, Ue(n) && (u = !!n.leading, d = "maxWait" in n, s = d ? vD(as(n.maxWait) || 0, t) : s, h = "trailing" in n ? !!n.trailing : h);
|
|
11153
11152
|
function f(S) {
|
|
11154
11153
|
var A = r, k = i;
|
|
11155
11154
|
return r = i = void 0, c = S, a = e.apply(k, A), a;
|
|
@@ -11158,8 +11157,8 @@ function co(e, t, n) {
|
|
|
11158
11157
|
return c = S, o = setTimeout(y, t), u ? f(S) : a;
|
|
11159
11158
|
}
|
|
11160
11159
|
function v(S) {
|
|
11161
|
-
var A = S - l, k = S - c,
|
|
11162
|
-
return d ?
|
|
11160
|
+
var A = S - l, k = S - c, R = t - A;
|
|
11161
|
+
return d ? yD(R, s - k) : R;
|
|
11163
11162
|
}
|
|
11164
11163
|
function m(S) {
|
|
11165
11164
|
var A = S - l, k = S - c;
|
|
@@ -11192,7 +11191,7 @@ function co(e, t, n) {
|
|
|
11192
11191
|
}
|
|
11193
11192
|
return _.cancel = x, _.flush = w, _;
|
|
11194
11193
|
}
|
|
11195
|
-
function
|
|
11194
|
+
function xD(e, t) {
|
|
11196
11195
|
if (e.match(/^[a-z]+:\/\//i))
|
|
11197
11196
|
return e;
|
|
11198
11197
|
if (e.match(/^\/\//))
|
|
@@ -11202,7 +11201,7 @@ function xR(e, t) {
|
|
|
11202
11201
|
const n = document.implementation.createHTMLDocument(), r = n.createElement("base"), i = n.createElement("a");
|
|
11203
11202
|
return n.head.appendChild(r), n.body.appendChild(i), t && (r.href = t), i.href = e, i.href;
|
|
11204
11203
|
}
|
|
11205
|
-
const
|
|
11204
|
+
const bD = /* @__PURE__ */ (() => {
|
|
11206
11205
|
let e = 0;
|
|
11207
11206
|
const t = () => (
|
|
11208
11207
|
// eslint-disable-next-line no-bitwise
|
|
@@ -11220,19 +11219,19 @@ function uo(e, t) {
|
|
|
11220
11219
|
const n = (e.ownerDocument.defaultView || window).getComputedStyle(e).getPropertyValue(t);
|
|
11221
11220
|
return n ? parseFloat(n.replace("px", "")) : 0;
|
|
11222
11221
|
}
|
|
11223
|
-
function
|
|
11222
|
+
function ED(e) {
|
|
11224
11223
|
const t = uo(e, "border-left-width"), n = uo(e, "border-right-width");
|
|
11225
11224
|
return e.clientWidth + t + n;
|
|
11226
11225
|
}
|
|
11227
|
-
function
|
|
11226
|
+
function _D(e) {
|
|
11228
11227
|
const t = uo(e, "border-top-width"), n = uo(e, "border-bottom-width");
|
|
11229
11228
|
return e.clientHeight + t + n;
|
|
11230
11229
|
}
|
|
11231
11230
|
function Lv(e, t = {}) {
|
|
11232
|
-
const n = t.width ||
|
|
11231
|
+
const n = t.width || ED(e), r = t.height || _D(e);
|
|
11233
11232
|
return { width: n, height: r };
|
|
11234
11233
|
}
|
|
11235
|
-
function
|
|
11234
|
+
function wD() {
|
|
11236
11235
|
let e, t;
|
|
11237
11236
|
try {
|
|
11238
11237
|
t = process;
|
|
@@ -11242,7 +11241,7 @@ function wR() {
|
|
|
11242
11241
|
return n && (e = parseInt(n, 10), Number.isNaN(e) && (e = 1)), e || window.devicePixelRatio || 1;
|
|
11243
11242
|
}
|
|
11244
11243
|
const Se = 16384;
|
|
11245
|
-
function
|
|
11244
|
+
function SD(e) {
|
|
11246
11245
|
(e.width > Se || e.height > Se) && (e.width > Se && e.height > Se ? e.width > e.height ? (e.height *= Se / e.width, e.width = Se) : (e.width *= Se / e.height, e.height = Se) : e.width > Se ? (e.height *= Se / e.width, e.width = Se) : (e.width *= Se / e.height, e.height = Se));
|
|
11247
11246
|
}
|
|
11248
11247
|
function ho(e) {
|
|
@@ -11251,12 +11250,12 @@ function ho(e) {
|
|
|
11251
11250
|
r.decode = () => t(r), r.onload = () => t(r), r.onerror = n, r.crossOrigin = "anonymous", r.decoding = "async", r.src = e;
|
|
11252
11251
|
});
|
|
11253
11252
|
}
|
|
11254
|
-
async function
|
|
11253
|
+
async function OD(e) {
|
|
11255
11254
|
return Promise.resolve().then(() => new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then((t) => `data:image/svg+xml;charset=utf-8,${t}`);
|
|
11256
11255
|
}
|
|
11257
|
-
async function
|
|
11256
|
+
async function TD(e, t, n) {
|
|
11258
11257
|
const r = "http://www.w3.org/2000/svg", i = document.createElementNS(r, "svg"), s = document.createElementNS(r, "foreignObject");
|
|
11259
|
-
return i.setAttribute("width", `${t}`), i.setAttribute("height", `${n}`), i.setAttribute("viewBox", `0 0 ${t} ${n}`), s.setAttribute("width", "100%"), s.setAttribute("height", "100%"), s.setAttribute("x", "0"), s.setAttribute("y", "0"), s.setAttribute("externalResourcesRequired", "true"), i.appendChild(s), s.appendChild(e),
|
|
11258
|
+
return i.setAttribute("width", `${t}`), i.setAttribute("height", `${n}`), i.setAttribute("viewBox", `0 0 ${t} ${n}`), s.setAttribute("width", "100%"), s.setAttribute("height", "100%"), s.setAttribute("x", "0"), s.setAttribute("y", "0"), s.setAttribute("externalResourcesRequired", "true"), i.appendChild(s), s.appendChild(e), OD(i);
|
|
11260
11259
|
}
|
|
11261
11260
|
const xe = (e, t) => {
|
|
11262
11261
|
if (e instanceof t)
|
|
@@ -11264,37 +11263,37 @@ const xe = (e, t) => {
|
|
|
11264
11263
|
const n = Object.getPrototypeOf(e);
|
|
11265
11264
|
return n === null ? !1 : n.constructor.name === t.name || xe(n, t);
|
|
11266
11265
|
};
|
|
11267
|
-
function
|
|
11266
|
+
function MD(e) {
|
|
11268
11267
|
const t = e.getPropertyValue("content");
|
|
11269
11268
|
return `${e.cssText} content: '${t.replace(/'|"/g, "")}';`;
|
|
11270
11269
|
}
|
|
11271
|
-
function
|
|
11270
|
+
function CD(e) {
|
|
11272
11271
|
return Tn(e).map((t) => {
|
|
11273
11272
|
const n = e.getPropertyValue(t), r = e.getPropertyPriority(t);
|
|
11274
11273
|
return `${t}: ${n}${r ? " !important" : ""};`;
|
|
11275
11274
|
}).join(" ");
|
|
11276
11275
|
}
|
|
11277
|
-
function
|
|
11278
|
-
const r = `.${e}:${t}`, i = n.cssText ?
|
|
11276
|
+
function AD(e, t, n) {
|
|
11277
|
+
const r = `.${e}:${t}`, i = n.cssText ? MD(n) : CD(n);
|
|
11279
11278
|
return document.createTextNode(`${r}{${i}}`);
|
|
11280
11279
|
}
|
|
11281
11280
|
function Sf(e, t, n) {
|
|
11282
11281
|
const r = window.getComputedStyle(e, n), i = r.getPropertyValue("content");
|
|
11283
11282
|
if (i === "" || i === "none")
|
|
11284
11283
|
return;
|
|
11285
|
-
const s =
|
|
11284
|
+
const s = bD();
|
|
11286
11285
|
try {
|
|
11287
11286
|
t.className = `${t.className} ${s}`;
|
|
11288
11287
|
} catch {
|
|
11289
11288
|
return;
|
|
11290
11289
|
}
|
|
11291
11290
|
const a = document.createElement("style");
|
|
11292
|
-
a.appendChild(
|
|
11291
|
+
a.appendChild(AD(s, n, r)), t.appendChild(a);
|
|
11293
11292
|
}
|
|
11294
|
-
function $
|
|
11293
|
+
function $D(e, t) {
|
|
11295
11294
|
Sf(e, t, ":before"), Sf(e, t, ":after");
|
|
11296
11295
|
}
|
|
11297
|
-
const Of = "application/font-woff", Tf = "image/jpeg",
|
|
11296
|
+
const Of = "application/font-woff", Tf = "image/jpeg", LD = {
|
|
11298
11297
|
woff: Of,
|
|
11299
11298
|
woff2: Of,
|
|
11300
11299
|
ttf: "application/font-truetype",
|
|
@@ -11307,24 +11306,24 @@ const Of = "application/font-woff", Tf = "image/jpeg", LR = {
|
|
|
11307
11306
|
svg: "image/svg+xml",
|
|
11308
11307
|
webp: "image/webp"
|
|
11309
11308
|
};
|
|
11310
|
-
function
|
|
11309
|
+
function DD(e) {
|
|
11311
11310
|
const t = /\.([^./]*?)$/g.exec(e);
|
|
11312
11311
|
return t ? t[1] : "";
|
|
11313
11312
|
}
|
|
11314
11313
|
function Qu(e) {
|
|
11315
|
-
const t =
|
|
11316
|
-
return
|
|
11314
|
+
const t = DD(e).toLowerCase();
|
|
11315
|
+
return LD[t] || "";
|
|
11317
11316
|
}
|
|
11318
|
-
function
|
|
11317
|
+
function RD(e) {
|
|
11319
11318
|
return e.split(/,/)[1];
|
|
11320
11319
|
}
|
|
11321
11320
|
function $c(e) {
|
|
11322
11321
|
return e.search(/^(data:)/) !== -1;
|
|
11323
11322
|
}
|
|
11324
|
-
function
|
|
11323
|
+
function Dv(e, t) {
|
|
11325
11324
|
return `data:${t};base64,${e}`;
|
|
11326
11325
|
}
|
|
11327
|
-
async function
|
|
11326
|
+
async function Rv(e, t, n) {
|
|
11328
11327
|
const r = await fetch(e, t);
|
|
11329
11328
|
if (r.status === 404)
|
|
11330
11329
|
throw new Error(`Resource "${r.url}" not found`);
|
|
@@ -11340,32 +11339,32 @@ async function Dv(e, t, n) {
|
|
|
11340
11339
|
}, o.readAsDataURL(i);
|
|
11341
11340
|
});
|
|
11342
11341
|
}
|
|
11343
|
-
const
|
|
11344
|
-
function
|
|
11342
|
+
const Dl = {};
|
|
11343
|
+
function kD(e, t, n) {
|
|
11345
11344
|
let r = e.replace(/\?.*/, "");
|
|
11346
11345
|
return n && (r = e), /ttf|otf|eot|woff2?/i.test(r) && (r = r.replace(/.*\//, "")), t ? `[${t}]${r}` : r;
|
|
11347
11346
|
}
|
|
11348
11347
|
async function Ju(e, t, n) {
|
|
11349
|
-
const r =
|
|
11350
|
-
if (
|
|
11351
|
-
return
|
|
11348
|
+
const r = kD(e, t, n.includeQueryParams);
|
|
11349
|
+
if (Dl[r] != null)
|
|
11350
|
+
return Dl[r];
|
|
11352
11351
|
n.cacheBust && (e += (/\?/.test(e) ? "&" : "?") + (/* @__PURE__ */ new Date()).getTime());
|
|
11353
11352
|
let i;
|
|
11354
11353
|
try {
|
|
11355
|
-
const s = await
|
|
11356
|
-
i =
|
|
11354
|
+
const s = await Rv(e, n.fetchRequestInit, ({ res: a, result: o }) => (t || (t = a.headers.get("Content-Type") || ""), RD(o)));
|
|
11355
|
+
i = Dv(s, t);
|
|
11357
11356
|
} catch (s) {
|
|
11358
11357
|
i = n.imagePlaceholder || "";
|
|
11359
11358
|
let a = `Failed to fetch resource: ${e}`;
|
|
11360
11359
|
s && (a = typeof s == "string" ? s : s.message), a && console.warn(a);
|
|
11361
11360
|
}
|
|
11362
|
-
return
|
|
11361
|
+
return Dl[r] = i, i;
|
|
11363
11362
|
}
|
|
11364
|
-
async function
|
|
11363
|
+
async function ID(e) {
|
|
11365
11364
|
const t = e.toDataURL();
|
|
11366
11365
|
return t === "data:," ? e.cloneNode(!1) : ho(t);
|
|
11367
11366
|
}
|
|
11368
|
-
async function
|
|
11367
|
+
async function ND(e, t) {
|
|
11369
11368
|
if (e.currentSrc) {
|
|
11370
11369
|
const s = document.createElement("canvas"), a = s.getContext("2d");
|
|
11371
11370
|
s.width = e.clientWidth, s.height = e.clientHeight, a == null || a.drawImage(e, 0, 0, s.width, s.height);
|
|
@@ -11375,7 +11374,7 @@ async function NR(e, t) {
|
|
|
11375
11374
|
const n = e.poster, r = Qu(n), i = await Ju(n, r, t);
|
|
11376
11375
|
return ho(i);
|
|
11377
11376
|
}
|
|
11378
|
-
async function
|
|
11377
|
+
async function PD(e) {
|
|
11379
11378
|
var t;
|
|
11380
11379
|
try {
|
|
11381
11380
|
if (!((t = e == null ? void 0 : e.contentDocument) === null || t === void 0) && t.body)
|
|
@@ -11384,18 +11383,18 @@ async function PR(e) {
|
|
|
11384
11383
|
}
|
|
11385
11384
|
return e.cloneNode(!1);
|
|
11386
11385
|
}
|
|
11387
|
-
async function
|
|
11388
|
-
return xe(e, HTMLCanvasElement) ?
|
|
11386
|
+
async function UD(e, t) {
|
|
11387
|
+
return xe(e, HTMLCanvasElement) ? ID(e) : xe(e, HTMLVideoElement) ? ND(e, t) : xe(e, HTMLIFrameElement) ? PD(e) : e.cloneNode(!1);
|
|
11389
11388
|
}
|
|
11390
|
-
const
|
|
11391
|
-
async function
|
|
11389
|
+
const BD = (e) => e.tagName != null && e.tagName.toUpperCase() === "SLOT";
|
|
11390
|
+
async function VD(e, t, n) {
|
|
11392
11391
|
var r, i;
|
|
11393
11392
|
let s = [];
|
|
11394
|
-
return
|
|
11393
|
+
return BD(e) && e.assignedNodes ? s = Tn(e.assignedNodes()) : xe(e, HTMLIFrameElement) && !((r = e.contentDocument) === null || r === void 0) && r.body ? s = Tn(e.contentDocument.body.childNodes) : s = Tn(((i = e.shadowRoot) !== null && i !== void 0 ? i : e).childNodes), s.length === 0 || xe(e, HTMLVideoElement) || await s.reduce((a, o) => a.then(() => jo(o, n)).then((l) => {
|
|
11395
11394
|
l && t.appendChild(l);
|
|
11396
11395
|
}), Promise.resolve()), t;
|
|
11397
11396
|
}
|
|
11398
|
-
function
|
|
11397
|
+
function HD(e, t) {
|
|
11399
11398
|
const n = t.style;
|
|
11400
11399
|
if (!n)
|
|
11401
11400
|
return;
|
|
@@ -11405,19 +11404,19 @@ function HR(e, t) {
|
|
|
11405
11404
|
i === "font-size" && s.endsWith("px") && (s = `${Math.floor(parseFloat(s.substring(0, s.length - 2))) - 0.1}px`), xe(e, HTMLIFrameElement) && i === "display" && s === "inline" && (s = "block"), i === "d" && t.getAttribute("d") && (s = `path(${t.getAttribute("d")})`), n.setProperty(i, s, r.getPropertyPriority(i));
|
|
11406
11405
|
});
|
|
11407
11406
|
}
|
|
11408
|
-
function
|
|
11407
|
+
function FD(e, t) {
|
|
11409
11408
|
xe(e, HTMLTextAreaElement) && (t.innerHTML = e.value), xe(e, HTMLInputElement) && t.setAttribute("value", e.value);
|
|
11410
11409
|
}
|
|
11411
|
-
function
|
|
11410
|
+
function zD(e, t) {
|
|
11412
11411
|
if (xe(e, HTMLSelectElement)) {
|
|
11413
11412
|
const n = t, r = Array.from(n.children).find((i) => e.value === i.getAttribute("value"));
|
|
11414
11413
|
r && r.setAttribute("selected", "");
|
|
11415
11414
|
}
|
|
11416
11415
|
}
|
|
11417
|
-
function
|
|
11418
|
-
return xe(t, Element) && (
|
|
11416
|
+
function GD(e, t) {
|
|
11417
|
+
return xe(t, Element) && (HD(e, t), $D(e, t), FD(e, t), zD(e, t)), t;
|
|
11419
11418
|
}
|
|
11420
|
-
async function
|
|
11419
|
+
async function jD(e, t) {
|
|
11421
11420
|
const n = e.querySelectorAll ? e.querySelectorAll("use") : [];
|
|
11422
11421
|
if (n.length === 0)
|
|
11423
11422
|
return e;
|
|
@@ -11442,35 +11441,35 @@ async function jR(e, t) {
|
|
|
11442
11441
|
return e;
|
|
11443
11442
|
}
|
|
11444
11443
|
async function jo(e, t, n) {
|
|
11445
|
-
return !n && t.filter && !t.filter(e) ? null : Promise.resolve(e).then((r) =>
|
|
11444
|
+
return !n && t.filter && !t.filter(e) ? null : Promise.resolve(e).then((r) => UD(r, t)).then((r) => VD(e, r, t)).then((r) => GD(e, r)).then((r) => jD(r, t));
|
|
11446
11445
|
}
|
|
11447
|
-
const kv = /url\((['"]?)([^'"]+?)\1\)/g,
|
|
11448
|
-
function
|
|
11446
|
+
const kv = /url\((['"]?)([^'"]+?)\1\)/g, WD = /url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g, qD = /src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;
|
|
11447
|
+
function YD(e) {
|
|
11449
11448
|
const t = e.replace(/([.*+?^${}()|\[\]\/\\])/g, "\\$1");
|
|
11450
11449
|
return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`, "g");
|
|
11451
11450
|
}
|
|
11452
|
-
function
|
|
11451
|
+
function XD(e) {
|
|
11453
11452
|
const t = [];
|
|
11454
11453
|
return e.replace(kv, (n, r, i) => (t.push(i), n)), t.filter((n) => !$c(n));
|
|
11455
11454
|
}
|
|
11456
|
-
async function
|
|
11455
|
+
async function ZD(e, t, n, r, i) {
|
|
11457
11456
|
try {
|
|
11458
|
-
const s = n ?
|
|
11457
|
+
const s = n ? xD(t, n) : t, a = Qu(t);
|
|
11459
11458
|
let o;
|
|
11460
11459
|
if (i) {
|
|
11461
11460
|
const l = await i(s);
|
|
11462
|
-
o =
|
|
11461
|
+
o = Dv(l, a);
|
|
11463
11462
|
} else
|
|
11464
11463
|
o = await Ju(s, a, r);
|
|
11465
|
-
return e.replace(
|
|
11464
|
+
return e.replace(YD(t), `$1${o}$3`);
|
|
11466
11465
|
} catch {
|
|
11467
11466
|
}
|
|
11468
11467
|
return e;
|
|
11469
11468
|
}
|
|
11470
|
-
function
|
|
11471
|
-
return t ? e.replace(
|
|
11469
|
+
function KD(e, { preferredFontFormat: t }) {
|
|
11470
|
+
return t ? e.replace(qD, (n) => {
|
|
11472
11471
|
for (; ; ) {
|
|
11473
|
-
const [r, , i] =
|
|
11472
|
+
const [r, , i] = WD.exec(n) || [];
|
|
11474
11473
|
if (!i)
|
|
11475
11474
|
return "";
|
|
11476
11475
|
if (i === t)
|
|
@@ -11484,8 +11483,8 @@ function Iv(e) {
|
|
|
11484
11483
|
async function Nv(e, t, n) {
|
|
11485
11484
|
if (!Iv(e))
|
|
11486
11485
|
return e;
|
|
11487
|
-
const r =
|
|
11488
|
-
return
|
|
11486
|
+
const r = KD(e, n);
|
|
11487
|
+
return XD(r).reduce((i, s) => i.then((a) => ZD(a, s, t, n)), Promise.resolve(r));
|
|
11489
11488
|
}
|
|
11490
11489
|
async function ia(e, t, n) {
|
|
11491
11490
|
var r;
|
|
@@ -11496,10 +11495,10 @@ async function ia(e, t, n) {
|
|
|
11496
11495
|
}
|
|
11497
11496
|
return !1;
|
|
11498
11497
|
}
|
|
11499
|
-
async function
|
|
11498
|
+
async function QD(e, t) {
|
|
11500
11499
|
await ia("background", e, t) || await ia("background-image", e, t), await ia("mask", e, t) || await ia("mask-image", e, t);
|
|
11501
11500
|
}
|
|
11502
|
-
async function
|
|
11501
|
+
async function JD(e, t) {
|
|
11503
11502
|
const n = xe(e, HTMLImageElement);
|
|
11504
11503
|
if (!(n && !$c(e.src)) && !(xe(e, SVGImageElement) && !$c(e.href.baseVal)))
|
|
11505
11504
|
return;
|
|
@@ -11510,14 +11509,14 @@ async function JR(e, t) {
|
|
|
11510
11509
|
o.decode && (o.decode = s), o.loading === "lazy" && (o.loading = "eager"), n ? (e.srcset = "", e.src = i) : e.href.baseVal = i;
|
|
11511
11510
|
});
|
|
11512
11511
|
}
|
|
11513
|
-
async function
|
|
11512
|
+
async function tR(e, t) {
|
|
11514
11513
|
const n = Tn(e.childNodes).map((r) => Pv(r, t));
|
|
11515
11514
|
await Promise.all(n).then(() => e);
|
|
11516
11515
|
}
|
|
11517
11516
|
async function Pv(e, t) {
|
|
11518
|
-
xe(e, Element) && (await
|
|
11517
|
+
xe(e, Element) && (await QD(e, t), await JD(e, t), await tR(e, t));
|
|
11519
11518
|
}
|
|
11520
|
-
function
|
|
11519
|
+
function eR(e, t) {
|
|
11521
11520
|
const { style: n } = e;
|
|
11522
11521
|
t.backgroundColor && (n.backgroundColor = t.backgroundColor), t.width && (n.width = `${t.width}px`), t.height && (n.height = `${t.height}px`);
|
|
11523
11522
|
const r = t.style;
|
|
@@ -11537,7 +11536,7 @@ async function Af(e, t) {
|
|
|
11537
11536
|
let n = e.cssText;
|
|
11538
11537
|
const r = /url\(["']?([^"')]+)["']?\)/g, i = (n.match(/url\([^)]+\)/g) || []).map(async (s) => {
|
|
11539
11538
|
let a = s.replace(r, "$1");
|
|
11540
|
-
return a.startsWith("https://") || (a = new URL(a, e.url).href),
|
|
11539
|
+
return a.startsWith("https://") || (a = new URL(a, e.url).href), Rv(a, t.fetchRequestInit, ({ result: o }) => (n = n.replace(s, `url(${o})`), [s, o]));
|
|
11541
11540
|
});
|
|
11542
11541
|
return Promise.all(i).then(() => n);
|
|
11543
11542
|
}
|
|
@@ -11567,7 +11566,7 @@ function $f(e) {
|
|
|
11567
11566
|
}
|
|
11568
11567
|
return t;
|
|
11569
11568
|
}
|
|
11570
|
-
async function
|
|
11569
|
+
async function nR(e, t) {
|
|
11571
11570
|
const n = [], r = [];
|
|
11572
11571
|
return e.forEach((i) => {
|
|
11573
11572
|
if ("cssRules" in i)
|
|
@@ -11609,42 +11608,42 @@ async function nD(e, t) {
|
|
|
11609
11608
|
}
|
|
11610
11609
|
}), n));
|
|
11611
11610
|
}
|
|
11612
|
-
function
|
|
11611
|
+
function rR(e) {
|
|
11613
11612
|
return e.filter((t) => t.type === CSSRule.FONT_FACE_RULE).filter((t) => Iv(t.style.getPropertyValue("src")));
|
|
11614
11613
|
}
|
|
11615
|
-
async function
|
|
11614
|
+
async function iR(e, t) {
|
|
11616
11615
|
if (e.ownerDocument == null)
|
|
11617
11616
|
throw new Error("Provided element is not within a Document");
|
|
11618
|
-
const n = Tn(e.ownerDocument.styleSheets), r = await
|
|
11619
|
-
return
|
|
11617
|
+
const n = Tn(e.ownerDocument.styleSheets), r = await nR(n, t);
|
|
11618
|
+
return rR(r);
|
|
11620
11619
|
}
|
|
11621
|
-
async function
|
|
11622
|
-
const n = await
|
|
11620
|
+
async function sR(e, t) {
|
|
11621
|
+
const n = await iR(e, t);
|
|
11623
11622
|
return (await Promise.all(n.map((r) => {
|
|
11624
11623
|
const i = r.parentStyleSheet ? r.parentStyleSheet.href : null;
|
|
11625
11624
|
return Nv(r.cssText, i, t);
|
|
11626
11625
|
}))).join(`
|
|
11627
11626
|
`);
|
|
11628
11627
|
}
|
|
11629
|
-
async function
|
|
11630
|
-
const n = t.fontEmbedCSS != null ? t.fontEmbedCSS : t.skipFonts ? null : await
|
|
11628
|
+
async function aR(e, t) {
|
|
11629
|
+
const n = t.fontEmbedCSS != null ? t.fontEmbedCSS : t.skipFonts ? null : await sR(e, t);
|
|
11631
11630
|
if (n) {
|
|
11632
11631
|
const r = document.createElement("style"), i = document.createTextNode(n);
|
|
11633
11632
|
r.appendChild(i), e.firstChild ? e.insertBefore(r, e.firstChild) : e.appendChild(r);
|
|
11634
11633
|
}
|
|
11635
11634
|
}
|
|
11636
|
-
async function
|
|
11635
|
+
async function oR(e, t = {}) {
|
|
11637
11636
|
const { width: n, height: r } = Lv(e, t), i = await jo(e, t, !0);
|
|
11638
|
-
return await
|
|
11637
|
+
return await aR(i, t), await Pv(i, t), eR(i, t), await TD(i, n, r);
|
|
11639
11638
|
}
|
|
11640
11639
|
async function Uv(e, t = {}) {
|
|
11641
|
-
const { width: n, height: r } = Lv(e, t), i = await
|
|
11642
|
-
return a.width = c * l, a.height = u * l, t.skipAutoScale ||
|
|
11640
|
+
const { width: n, height: r } = Lv(e, t), i = await oR(e, t), s = await ho(i), a = document.createElement("canvas"), o = a.getContext("2d"), l = t.pixelRatio || wD(), c = t.canvasWidth || n, u = t.canvasHeight || r;
|
|
11641
|
+
return a.width = c * l, a.height = u * l, t.skipAutoScale || SD(a), a.style.width = `${c}`, a.style.height = `${u}`, t.backgroundColor && (o.fillStyle = t.backgroundColor, o.fillRect(0, 0, a.width, a.height)), o.drawImage(s, 0, 0, a.width, a.height), a;
|
|
11643
11642
|
}
|
|
11644
|
-
async function
|
|
11643
|
+
async function lR(e, t = {}) {
|
|
11645
11644
|
return (await Uv(e, t)).toDataURL();
|
|
11646
11645
|
}
|
|
11647
|
-
async function
|
|
11646
|
+
async function cR(e, t = {}) {
|
|
11648
11647
|
return (await Uv(e, t)).toDataURL("image/jpeg", t.quality || 1);
|
|
11649
11648
|
}
|
|
11650
11649
|
class Nn {
|
|
@@ -11664,7 +11663,7 @@ class Nn {
|
|
|
11664
11663
|
this.services = t;
|
|
11665
11664
|
}
|
|
11666
11665
|
}
|
|
11667
|
-
const
|
|
11666
|
+
const uR = "DONT_STYLE_ME_css_styles_verifier";
|
|
11668
11667
|
let N = class Lc extends Nn {
|
|
11669
11668
|
// initialized in initializeID() called by init()
|
|
11670
11669
|
constructor(t, n) {
|
|
@@ -11761,7 +11760,7 @@ let N = class Lc extends Nn {
|
|
|
11761
11760
|
}
|
|
11762
11761
|
addMainContainer() {
|
|
11763
11762
|
const t = this.model.getOptions(), n = b(t, "style", "prefix"), r = I(this.getHolder()).append("div").classed(`${ge}--${n}--chart-wrapper`, !0).attr("id", `chart-${this.getChartID()}`).style("height", "100%").style("width", "100%");
|
|
11764
|
-
r.append("g").attr("class",
|
|
11763
|
+
r.append("g").attr("class", uR), this.mainContainer = r.node();
|
|
11765
11764
|
}
|
|
11766
11765
|
update() {
|
|
11767
11766
|
this.styleHolderElement();
|
|
@@ -11775,7 +11774,7 @@ let N = class Lc extends Nn {
|
|
|
11775
11774
|
}
|
|
11776
11775
|
exportToJPG() {
|
|
11777
11776
|
const t = this, n = this.model.getOptions(), r = this.getHolder(), i = I(r);
|
|
11778
|
-
i.classed("filled", !0),
|
|
11777
|
+
i.classed("filled", !0), cR(this.getMainContainer(), {
|
|
11779
11778
|
quality: 1,
|
|
11780
11779
|
// Remove toolbar
|
|
11781
11780
|
filter: (s) => !(s.classList && s.classList.contains("cds--cc--toolbar"))
|
|
@@ -11788,7 +11787,7 @@ let N = class Lc extends Nn {
|
|
|
11788
11787
|
}
|
|
11789
11788
|
exportToPNG() {
|
|
11790
11789
|
const t = this, n = this.model.getOptions(), r = this.getHolder(), i = I(r);
|
|
11791
|
-
i.classed("filled", !0),
|
|
11790
|
+
i.classed("filled", !0), lR(this.getMainContainer(), {
|
|
11792
11791
|
quality: 1,
|
|
11793
11792
|
// Remove toolbar
|
|
11794
11793
|
filter: (s) => !(s.classList && s.classList.contains("cds--cc--toolbar"))
|
|
@@ -11856,7 +11855,7 @@ let N = class Lc extends Nn {
|
|
|
11856
11855
|
}, 12.5);
|
|
11857
11856
|
new ResizeObserver(i).observe(t);
|
|
11858
11857
|
}
|
|
11859
|
-
},
|
|
11858
|
+
}, Dc = class Bv extends Nn {
|
|
11860
11859
|
static appendOrUpdateLinearGradient(t) {
|
|
11861
11860
|
let n = t.svg.select(`defs linearGradient#${t.id}`);
|
|
11862
11861
|
n.empty() && (n = t.svg.append("defs").append("linearGradient").attr("id", t.id).attr("x1", t.x1).attr("x2", t.x2).attr("y1", t.y1).attr("y2", t.y2)), n.selectAll("stop").remove(), n.selectAll("stop").data(t.stops).enter().append("stop").attr("offset", (r) => r.offset).style("stop-color", (r) => r.color).style("stop-opacity", (r) => r.opacity);
|
|
@@ -11898,7 +11897,7 @@ let N = class Lc extends Nn {
|
|
|
11898
11897
|
}
|
|
11899
11898
|
};
|
|
11900
11899
|
function Lf(e) {
|
|
11901
|
-
const t =
|
|
11900
|
+
const t = hR(Vv(e), 360);
|
|
11902
11901
|
return zn(t, [0, 10]) || zn(t, [350, 0]) ? {
|
|
11903
11902
|
textAnchor: vn.START,
|
|
11904
11903
|
dominantBaseline: yn.MIDDLE
|
|
@@ -11925,7 +11924,7 @@ function Lf(e) {
|
|
|
11925
11924
|
dominantBaseline: yn.BASELINE
|
|
11926
11925
|
};
|
|
11927
11926
|
}
|
|
11928
|
-
function
|
|
11927
|
+
function hR(e, t) {
|
|
11929
11928
|
return (e % t + t) % t;
|
|
11930
11929
|
}
|
|
11931
11930
|
function zn(e, [t, n]) {
|
|
@@ -11938,10 +11937,10 @@ function Yt(e, t, n = { x: 0, y: 0 }) {
|
|
|
11938
11937
|
const r = t * Math.cos(e) + n.x, i = t * Math.sin(e) + n.y;
|
|
11939
11938
|
return { x: isNaN(r) ? 0 : r, y: isNaN(i) ? 0 : i };
|
|
11940
11939
|
}
|
|
11941
|
-
function
|
|
11940
|
+
function dR(e, t) {
|
|
11942
11941
|
return t * Math.sin(e - Math.PI / 2);
|
|
11943
11942
|
}
|
|
11944
|
-
function
|
|
11943
|
+
function Df(e, t) {
|
|
11945
11944
|
let n;
|
|
11946
11945
|
if (t === void 0)
|
|
11947
11946
|
for (const r of e)
|
|
@@ -11953,7 +11952,7 @@ function Rf(e, t) {
|
|
|
11953
11952
|
}
|
|
11954
11953
|
return n;
|
|
11955
11954
|
}
|
|
11956
|
-
function
|
|
11955
|
+
function fR(e, t) {
|
|
11957
11956
|
let n;
|
|
11958
11957
|
if (t === void 0)
|
|
11959
11958
|
for (const r of e)
|
|
@@ -11965,7 +11964,7 @@ function fD(e, t) {
|
|
|
11965
11964
|
}
|
|
11966
11965
|
return n;
|
|
11967
11966
|
}
|
|
11968
|
-
function
|
|
11967
|
+
function Rl(e, t) {
|
|
11969
11968
|
let n = 0;
|
|
11970
11969
|
if (t === void 0)
|
|
11971
11970
|
for (let r of e)
|
|
@@ -11977,10 +11976,10 @@ function Dl(e, t) {
|
|
|
11977
11976
|
}
|
|
11978
11977
|
return n;
|
|
11979
11978
|
}
|
|
11980
|
-
function
|
|
11979
|
+
function pR(e) {
|
|
11981
11980
|
return e.depth;
|
|
11982
11981
|
}
|
|
11983
|
-
function
|
|
11982
|
+
function mR(e, t) {
|
|
11984
11983
|
return t - 1 - e.height;
|
|
11985
11984
|
}
|
|
11986
11985
|
function Hv(e, t) {
|
|
@@ -11991,7 +11990,7 @@ function sa(e) {
|
|
|
11991
11990
|
return e;
|
|
11992
11991
|
};
|
|
11993
11992
|
}
|
|
11994
|
-
function
|
|
11993
|
+
function Rf(e, t) {
|
|
11995
11994
|
return fo(e.source, t.source) || e.index - t.index;
|
|
11996
11995
|
}
|
|
11997
11996
|
function kf(e, t) {
|
|
@@ -12003,13 +12002,13 @@ function fo(e, t) {
|
|
|
12003
12002
|
function kl(e) {
|
|
12004
12003
|
return e.value;
|
|
12005
12004
|
}
|
|
12006
|
-
function
|
|
12005
|
+
function gR(e) {
|
|
12007
12006
|
return e.index;
|
|
12008
12007
|
}
|
|
12009
|
-
function
|
|
12008
|
+
function vR(e) {
|
|
12010
12009
|
return e.nodes;
|
|
12011
12010
|
}
|
|
12012
|
-
function
|
|
12011
|
+
function yR(e) {
|
|
12013
12012
|
return e.links;
|
|
12014
12013
|
}
|
|
12015
12014
|
function If(e, t) {
|
|
@@ -12027,8 +12026,8 @@ function Nf({ nodes: e }) {
|
|
|
12027
12026
|
i.y1 = r + i.width / 2, r += i.width;
|
|
12028
12027
|
}
|
|
12029
12028
|
}
|
|
12030
|
-
function
|
|
12031
|
-
let e = 0, t = 0, n = 1, r = 1, i = 24, s = 8, a, o =
|
|
12029
|
+
function xR() {
|
|
12030
|
+
let e = 0, t = 0, n = 1, r = 1, i = 24, s = 8, a, o = gR, l = Hv, c, u, d = vR, h = yR, f = 6;
|
|
12032
12031
|
function p() {
|
|
12033
12032
|
const E = { nodes: d.apply(null, arguments), links: h.apply(null, arguments) };
|
|
12034
12033
|
return v(E), m(E), y(E), g(E), _(E), Nf(E), E;
|
|
@@ -12073,7 +12072,7 @@ function xD() {
|
|
|
12073
12072
|
}
|
|
12074
12073
|
function m({ nodes: E }) {
|
|
12075
12074
|
for (const L of E)
|
|
12076
|
-
L.value = L.fixedValue === void 0 ? Math.max(
|
|
12075
|
+
L.value = L.fixedValue === void 0 ? Math.max(Rl(L.sourceLinks, kl), Rl(L.targetLinks, kl)) : L.fixedValue;
|
|
12077
12076
|
}
|
|
12078
12077
|
function y({ nodes: E }) {
|
|
12079
12078
|
const L = E.length;
|
|
@@ -12104,7 +12103,7 @@ function xD() {
|
|
|
12104
12103
|
}
|
|
12105
12104
|
}
|
|
12106
12105
|
function x({ nodes: E }) {
|
|
12107
|
-
const L =
|
|
12106
|
+
const L = Df(E, (B) => B.depth) + 1, $ = (n - e - i) / (L - 1), U = new Array(L);
|
|
12108
12107
|
for (const B of E) {
|
|
12109
12108
|
const X = Math.max(0, Math.min(L - 1, Math.floor(l.call(null, B, L))));
|
|
12110
12109
|
B.layer = X, B.x0 = e + X * $, B.x1 = B.x0 + i, U[X] ? U[X].push(B) : U[X] = [B];
|
|
@@ -12115,7 +12114,7 @@ function xD() {
|
|
|
12115
12114
|
return U;
|
|
12116
12115
|
}
|
|
12117
12116
|
function w(E) {
|
|
12118
|
-
const L =
|
|
12117
|
+
const L = fR(E, ($) => (r - t - ($.length - 1) * a) / Rl($, kl));
|
|
12119
12118
|
for (const $ of E) {
|
|
12120
12119
|
let U = t;
|
|
12121
12120
|
for (const B of $) {
|
|
@@ -12133,7 +12132,7 @@ function xD() {
|
|
|
12133
12132
|
}
|
|
12134
12133
|
function _(E) {
|
|
12135
12134
|
const L = x(E);
|
|
12136
|
-
a = Math.min(s, (r - t) / (
|
|
12135
|
+
a = Math.min(s, (r - t) / (Df(L, ($) => $.length) - 1)), w(L);
|
|
12137
12136
|
for (let $ = 0; $ < f; ++$) {
|
|
12138
12137
|
const U = Math.pow(0.99, $), B = Math.max(1 - U, ($ + 1) / f);
|
|
12139
12138
|
A(L, U, B), S(L, U, B);
|
|
@@ -12175,15 +12174,15 @@ function xD() {
|
|
|
12175
12174
|
}
|
|
12176
12175
|
function k(E, L) {
|
|
12177
12176
|
const $ = E.length >> 1, U = E[$];
|
|
12178
|
-
|
|
12177
|
+
D(E, U.y0 - a, $ - 1, L), R(E, U.y1 + a, $ + 1, L), D(E, r, E.length - 1, L), R(E, t, 0, L);
|
|
12179
12178
|
}
|
|
12180
|
-
function
|
|
12179
|
+
function R(E, L, $, U) {
|
|
12181
12180
|
for (; $ < E.length; ++$) {
|
|
12182
12181
|
const B = E[$], X = (L - B.y0) * U;
|
|
12183
12182
|
X > 1e-6 && (B.y0 += X, B.y1 += X), L = B.y1 + a;
|
|
12184
12183
|
}
|
|
12185
12184
|
}
|
|
12186
|
-
function
|
|
12185
|
+
function D(E, L, $, U) {
|
|
12187
12186
|
for (; $ >= 0; --$) {
|
|
12188
12187
|
const B = E[$], X = (B.y1 - L) * U;
|
|
12189
12188
|
X > 1e-6 && (B.y0 -= X, B.y1 -= X), L = B.y0 - a;
|
|
@@ -12194,13 +12193,13 @@ function xD() {
|
|
|
12194
12193
|
for (const { source: { sourceLinks: $ } } of L)
|
|
12195
12194
|
$.sort(kf);
|
|
12196
12195
|
for (const { target: { targetLinks: $ } } of E)
|
|
12197
|
-
$.sort(
|
|
12196
|
+
$.sort(Rf);
|
|
12198
12197
|
}
|
|
12199
12198
|
}
|
|
12200
12199
|
function H(E) {
|
|
12201
12200
|
if (u === void 0)
|
|
12202
12201
|
for (const { sourceLinks: L, targetLinks: $ } of E)
|
|
12203
|
-
L.sort(kf), $.sort(
|
|
12202
|
+
L.sort(kf), $.sort(Rf);
|
|
12204
12203
|
}
|
|
12205
12204
|
function P(E, L) {
|
|
12206
12205
|
let $ = E.y0 - (E.sourceLinks.length - 1) * a / 2;
|
|
@@ -12232,7 +12231,7 @@ function xD() {
|
|
|
12232
12231
|
}
|
|
12233
12232
|
return p;
|
|
12234
12233
|
}
|
|
12235
|
-
var
|
|
12234
|
+
var Rc = Math.PI, kc = 2 * Rc, cr = 1e-6, bR = kc - cr;
|
|
12236
12235
|
function Ic() {
|
|
12237
12236
|
this._x0 = this._y0 = // start of current subpath
|
|
12238
12237
|
this._x1 = this._y1 = null, this._ = "";
|
|
@@ -12268,7 +12267,7 @@ Ic.prototype = Fv.prototype = {
|
|
|
12268
12267
|
if (!(Math.abs(u * o - l * c) > cr) || !i)
|
|
12269
12268
|
this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);
|
|
12270
12269
|
else {
|
|
12271
|
-
var h = n - s, f = r - a, p = o * o + l * l, v = h * h + f * f, m = Math.sqrt(p), y = Math.sqrt(d), g = i * Math.tan((
|
|
12270
|
+
var h = n - s, f = r - a, p = o * o + l * l, v = h * h + f * f, m = Math.sqrt(p), y = Math.sqrt(d), g = i * Math.tan((Rc - Math.acos((p + d - v) / (2 * m * y))) / 2), x = g / y, w = g / m;
|
|
12272
12271
|
Math.abs(x - 1) > cr && (this._ += "L" + (e + x * c) + "," + (t + x * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * h > c * f) + "," + (this._x1 = e + w * o) + "," + (this._y1 = t + w * l);
|
|
12273
12272
|
}
|
|
12274
12273
|
},
|
|
@@ -12277,7 +12276,7 @@ Ic.prototype = Fv.prototype = {
|
|
|
12277
12276
|
var a = n * Math.cos(r), o = n * Math.sin(r), l = e + a, c = t + o, u = 1 ^ s, d = s ? r - i : i - r;
|
|
12278
12277
|
if (n < 0)
|
|
12279
12278
|
throw new Error("negative radius: " + n);
|
|
12280
|
-
this._x1 === null ? this._ += "M" + l + "," + c : (Math.abs(this._x1 - l) > cr || Math.abs(this._y1 - c) > cr) && (this._ += "L" + l + "," + c), n && (d < 0 && (d = d % kc + kc), d >
|
|
12279
|
+
this._x1 === null ? this._ += "M" + l + "," + c : (Math.abs(this._x1 - l) > cr || Math.abs(this._y1 - c) > cr) && (this._ += "L" + l + "," + c), n && (d < 0 && (d = d % kc + kc), d > bR ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - a) + "," + (t - o) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = l) + "," + (this._y1 = c) : d > cr && (this._ += "A" + n + "," + n + ",0," + +(d >= Rc) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));
|
|
12281
12280
|
},
|
|
12282
12281
|
rect: function(e, t, n, r) {
|
|
12283
12282
|
this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t) + "h" + +n + "v" + +r + "h" + -n + "Z";
|
|
@@ -12291,23 +12290,23 @@ function Pf(e) {
|
|
|
12291
12290
|
return e;
|
|
12292
12291
|
};
|
|
12293
12292
|
}
|
|
12294
|
-
function
|
|
12293
|
+
function ER(e) {
|
|
12295
12294
|
return e[0];
|
|
12296
12295
|
}
|
|
12297
|
-
function
|
|
12296
|
+
function _R(e) {
|
|
12298
12297
|
return e[1];
|
|
12299
12298
|
}
|
|
12300
|
-
var
|
|
12301
|
-
function
|
|
12299
|
+
var wR = Array.prototype.slice;
|
|
12300
|
+
function SR(e) {
|
|
12302
12301
|
return e.source;
|
|
12303
12302
|
}
|
|
12304
|
-
function
|
|
12303
|
+
function OR(e) {
|
|
12305
12304
|
return e.target;
|
|
12306
12305
|
}
|
|
12307
|
-
function
|
|
12308
|
-
var t =
|
|
12306
|
+
function TR(e) {
|
|
12307
|
+
var t = SR, n = OR, r = ER, i = _R, s = null;
|
|
12309
12308
|
function a() {
|
|
12310
|
-
var o, l =
|
|
12309
|
+
var o, l = wR.call(arguments), c = t.apply(this, l), u = n.apply(this, l);
|
|
12311
12310
|
if (s || (s = o = Fv()), e(s, +r.apply(this, (l[0] = c, l)), +i.apply(this, l), +r.apply(this, (l[0] = u, l)), +i.apply(this, l)), o)
|
|
12312
12311
|
return s = null, o + "" || null;
|
|
12313
12312
|
}
|
|
@@ -12323,25 +12322,25 @@ function TD(e) {
|
|
|
12323
12322
|
return arguments.length ? (s = o ?? null, a) : s;
|
|
12324
12323
|
}, a;
|
|
12325
12324
|
}
|
|
12326
|
-
function
|
|
12325
|
+
function MR(e, t, n, r, i) {
|
|
12327
12326
|
e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);
|
|
12328
12327
|
}
|
|
12329
|
-
function
|
|
12330
|
-
return
|
|
12328
|
+
function CR() {
|
|
12329
|
+
return TR(MR);
|
|
12331
12330
|
}
|
|
12332
|
-
function
|
|
12331
|
+
function AR(e) {
|
|
12333
12332
|
return [e.source.x1, e.y0];
|
|
12334
12333
|
}
|
|
12335
|
-
function $
|
|
12334
|
+
function $R(e) {
|
|
12336
12335
|
return [e.target.x0, e.y1];
|
|
12337
12336
|
}
|
|
12338
|
-
function
|
|
12339
|
-
return
|
|
12337
|
+
function LR() {
|
|
12338
|
+
return CR().source(AR).target($R);
|
|
12340
12339
|
}
|
|
12341
12340
|
function zv(e) {
|
|
12342
12341
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
12343
12342
|
}
|
|
12344
|
-
function
|
|
12343
|
+
function DR(e) {
|
|
12345
12344
|
if (e.__esModule)
|
|
12346
12345
|
return e;
|
|
12347
12346
|
var t = e.default;
|
|
@@ -12362,7 +12361,7 @@ function RD(e) {
|
|
|
12362
12361
|
});
|
|
12363
12362
|
}), n;
|
|
12364
12363
|
}
|
|
12365
|
-
var
|
|
12364
|
+
var RR = { value: function() {
|
|
12366
12365
|
} };
|
|
12367
12366
|
function Gv() {
|
|
12368
12367
|
for (var e = 0, t = arguments.length, n = {}, r; e < t; ++e) {
|
|
@@ -12375,7 +12374,7 @@ function Gv() {
|
|
|
12375
12374
|
function Sa(e) {
|
|
12376
12375
|
this._ = e;
|
|
12377
12376
|
}
|
|
12378
|
-
function
|
|
12377
|
+
function kR(e, t) {
|
|
12379
12378
|
return e.trim().split(/^|\s+/).map(function(n) {
|
|
12380
12379
|
var r = "", i = n.indexOf(".");
|
|
12381
12380
|
if (i >= 0 && (r = n.slice(i + 1), n = n.slice(0, i)), n && !t.hasOwnProperty(n))
|
|
@@ -12386,10 +12385,10 @@ function kD(e, t) {
|
|
|
12386
12385
|
Sa.prototype = Gv.prototype = {
|
|
12387
12386
|
constructor: Sa,
|
|
12388
12387
|
on: function(e, t) {
|
|
12389
|
-
var n = this._, r =
|
|
12388
|
+
var n = this._, r = kR(e + "", n), i, s = -1, a = r.length;
|
|
12390
12389
|
if (arguments.length < 2) {
|
|
12391
12390
|
for (; ++s < a; )
|
|
12392
|
-
if ((i = (e = r[s]).type) && (i =
|
|
12391
|
+
if ((i = (e = r[s]).type) && (i = IR(n[i], e.name)))
|
|
12393
12392
|
return i;
|
|
12394
12393
|
return;
|
|
12395
12394
|
}
|
|
@@ -12425,7 +12424,7 @@ Sa.prototype = Gv.prototype = {
|
|
|
12425
12424
|
r[i].value.apply(t, n);
|
|
12426
12425
|
}
|
|
12427
12426
|
};
|
|
12428
|
-
function
|
|
12427
|
+
function IR(e, t) {
|
|
12429
12428
|
for (var n = 0, r = e.length, i; n < r; ++n)
|
|
12430
12429
|
if ((i = e[n]).name === t)
|
|
12431
12430
|
return i.value;
|
|
@@ -12433,33 +12432,33 @@ function ID(e, t) {
|
|
|
12433
12432
|
function Uf(e, t, n) {
|
|
12434
12433
|
for (var r = 0, i = e.length; r < i; ++r)
|
|
12435
12434
|
if (e[r].name === t) {
|
|
12436
|
-
e[r] =
|
|
12435
|
+
e[r] = RR, e = e.slice(0, r).concat(e.slice(r + 1));
|
|
12437
12436
|
break;
|
|
12438
12437
|
}
|
|
12439
12438
|
return n != null && e.push({ name: t, value: n }), e;
|
|
12440
12439
|
}
|
|
12441
|
-
const
|
|
12440
|
+
const NR = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12442
12441
|
__proto__: null,
|
|
12443
12442
|
dispatch: Gv
|
|
12444
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
12443
|
+
}, Symbol.toStringTag, { value: "Module" })), PR = /* @__PURE__ */ DR(NR), UR = PR.dispatch, Il = Math.PI / 180, BR = {
|
|
12445
12444
|
archimedean: jv,
|
|
12446
|
-
rectangular:
|
|
12445
|
+
rectangular: ZR
|
|
12447
12446
|
}, Zi = 64, Oa = 2048;
|
|
12448
|
-
var
|
|
12449
|
-
var e = [256, 256], t =
|
|
12447
|
+
var VR = function() {
|
|
12448
|
+
var e = [256, 256], t = HR, n = FR, r = zR, i = Bf, s = Bf, a = GR, o = jR, l = jv, c = [], u = 1 / 0, d = UR("word", "end"), h = null, f = Math.random, p = {}, v = QR;
|
|
12450
12449
|
p.canvas = function(g) {
|
|
12451
12450
|
return arguments.length ? (v = Gn(g), p) : v;
|
|
12452
12451
|
}, p.start = function() {
|
|
12453
|
-
var g = m(v()), x =
|
|
12454
|
-
return
|
|
12455
|
-
}).sort(function(
|
|
12456
|
-
return T.size -
|
|
12452
|
+
var g = m(v()), x = KR((e[0] >> 5) * e[1]), w = null, _ = c.length, S = -1, A = [], k = c.map(function(D, T) {
|
|
12453
|
+
return D.text = t.call(this, D, T), D.font = n.call(this, D, T), D.style = i.call(this, D, T), D.weight = s.call(this, D, T), D.rotate = a.call(this, D, T), D.size = ~~r.call(this, D, T), D.padding = o.call(this, D, T), D;
|
|
12454
|
+
}).sort(function(D, T) {
|
|
12455
|
+
return T.size - D.size;
|
|
12457
12456
|
});
|
|
12458
|
-
return h && clearInterval(h), h = setInterval(
|
|
12459
|
-
function
|
|
12460
|
-
for (var
|
|
12457
|
+
return h && clearInterval(h), h = setInterval(R, 0), R(), p;
|
|
12458
|
+
function R() {
|
|
12459
|
+
for (var D = Date.now(); Date.now() - D < u && ++S < _ && h; ) {
|
|
12461
12460
|
var T = k[S];
|
|
12462
|
-
T.x = e[0] * (f() + 0.5) >> 1, T.y = e[1] * (f() + 0.5) >> 1,
|
|
12461
|
+
T.x = e[0] * (f() + 0.5) >> 1, T.y = e[1] * (f() + 0.5) >> 1, WR(g, T, k, S), T.hasText && y(x, T, w) && (A.push(T), d.call("word", p, T), w ? YR(w, T) : w = [{ x: T.x + T.x0, y: T.y + T.y0 }, { x: T.x + T.x1, y: T.y + T.y1 }], T.x -= e[0] >> 1, T.y -= e[1] >> 1);
|
|
12463
12462
|
}
|
|
12464
12463
|
S >= _ && (p.stop(), d.call("end", p, A, w));
|
|
12465
12464
|
}
|
|
@@ -12477,8 +12476,8 @@ var VD = function() {
|
|
|
12477
12476
|
}
|
|
12478
12477
|
function y(g, x, w) {
|
|
12479
12478
|
e[0], e[1];
|
|
12480
|
-
for (var _ = x.x, S = x.y, A = Math.sqrt(e[0] * e[0] + e[1] * e[1]), k = l(e),
|
|
12481
|
-
if (x.x = _ + H, x.y = S + P, !(x.x + x.x0 < 0 || x.y + x.y0 < 0 || x.x + x.x1 > e[0] || x.y + x.y1 > e[1]) && (!w ||
|
|
12479
|
+
for (var _ = x.x, S = x.y, A = Math.sqrt(e[0] * e[0] + e[1] * e[1]), k = l(e), R = f() < 0.5 ? 1 : -1, D = -R, T, H, P; (T = k(D += R)) && (H = ~~T[0], P = ~~T[1], !(Math.min(Math.abs(H), Math.abs(P)) >= A)); )
|
|
12480
|
+
if (x.x = _ + H, x.y = S + P, !(x.x + x.x0 < 0 || x.y + x.y0 < 0 || x.x + x.x1 > e[0] || x.y + x.y1 > e[1]) && (!w || XR(x, w)) && !qR(x, g, e[0])) {
|
|
12482
12481
|
for (var V = x.sprite, E = x.width >> 5, L = e[0] >> 5, $ = x.x - (E << 4), U = $ & 127, B = 32 - U, X = x.y1 - x.y0, Y = (x.y + x.y0) * L + ($ >> 5), it, et = 0; et < X; et++) {
|
|
12483
12482
|
it = 0;
|
|
12484
12483
|
for (var dt = 0; dt <= E; dt++)
|
|
@@ -12506,7 +12505,7 @@ var VD = function() {
|
|
|
12506
12505
|
}, p.text = function(g) {
|
|
12507
12506
|
return arguments.length ? (t = Gn(g), p) : t;
|
|
12508
12507
|
}, p.spiral = function(g) {
|
|
12509
|
-
return arguments.length ? (l =
|
|
12508
|
+
return arguments.length ? (l = BR[g] || g, p) : l;
|
|
12510
12509
|
}, p.fontSize = function(g) {
|
|
12511
12510
|
return arguments.length ? (r = Gn(g), p) : r;
|
|
12512
12511
|
}, p.padding = function(g) {
|
|
@@ -12518,25 +12517,25 @@ var VD = function() {
|
|
|
12518
12517
|
return g === d ? p : g;
|
|
12519
12518
|
}, p;
|
|
12520
12519
|
};
|
|
12521
|
-
function
|
|
12520
|
+
function HR(e) {
|
|
12522
12521
|
return e.text;
|
|
12523
12522
|
}
|
|
12524
|
-
function
|
|
12523
|
+
function FR() {
|
|
12525
12524
|
return "serif";
|
|
12526
12525
|
}
|
|
12527
12526
|
function Bf() {
|
|
12528
12527
|
return "normal";
|
|
12529
12528
|
}
|
|
12530
|
-
function
|
|
12529
|
+
function zR(e) {
|
|
12531
12530
|
return Math.sqrt(e.value);
|
|
12532
12531
|
}
|
|
12533
|
-
function
|
|
12532
|
+
function GR() {
|
|
12534
12533
|
return (~~(random() * 6) - 3) * 30;
|
|
12535
12534
|
}
|
|
12536
|
-
function
|
|
12535
|
+
function jR() {
|
|
12537
12536
|
return 1;
|
|
12538
12537
|
}
|
|
12539
|
-
function
|
|
12538
|
+
function WR(e, t, n, r) {
|
|
12540
12539
|
if (!t.sprite) {
|
|
12541
12540
|
var i = e.context, s = e.ratio;
|
|
12542
12541
|
i.clearRect(0, 0, (Zi << 5) / s, Oa / s);
|
|
@@ -12563,8 +12562,8 @@ function WD(e, t, n, r) {
|
|
|
12563
12562
|
o = t.yoff;
|
|
12564
12563
|
for (var S = 0, A = -1, k = 0; k < w; k++) {
|
|
12565
12564
|
for (var _ = 0; _ < g; _++) {
|
|
12566
|
-
var
|
|
12567
|
-
y[
|
|
12565
|
+
var R = x * k + (_ >> 5), D = m[(o + k) * (Zi << 5) + (a + _) << 2] ? 1 << 31 - _ % 32 : 0;
|
|
12566
|
+
y[R] |= D, S |= D;
|
|
12568
12567
|
}
|
|
12569
12568
|
S ? A = k : (t.y0++, w--, k--, o++);
|
|
12570
12569
|
}
|
|
@@ -12572,7 +12571,7 @@ function WD(e, t, n, r) {
|
|
|
12572
12571
|
}
|
|
12573
12572
|
}
|
|
12574
12573
|
}
|
|
12575
|
-
function
|
|
12574
|
+
function qR(e, t, n) {
|
|
12576
12575
|
n >>= 5;
|
|
12577
12576
|
for (var r = e.sprite, i = e.width >> 5, s = e.x - (i << 4), a = s & 127, o = 32 - a, l = e.y1 - e.y0, c = (e.y + e.y0) * n + (s >> 5), u, d = 0; d < l; d++) {
|
|
12578
12577
|
u = 0;
|
|
@@ -12583,11 +12582,11 @@ function qD(e, t, n) {
|
|
|
12583
12582
|
}
|
|
12584
12583
|
return !1;
|
|
12585
12584
|
}
|
|
12586
|
-
function
|
|
12585
|
+
function YR(e, t) {
|
|
12587
12586
|
var n = e[0], r = e[1];
|
|
12588
12587
|
t.x + t.x0 < n.x && (n.x = t.x + t.x0), t.y + t.y0 < n.y && (n.y = t.y + t.y0), t.x + t.x1 > r.x && (r.x = t.x + t.x1), t.y + t.y1 > r.y && (r.y = t.y + t.y1);
|
|
12589
12588
|
}
|
|
12590
|
-
function
|
|
12589
|
+
function XR(e, t) {
|
|
12591
12590
|
return e.x + e.x1 > t[0].x && e.x + e.x0 < t[1].x && e.y + e.y1 > t[0].y && e.y + e.y0 < t[1].y;
|
|
12592
12591
|
}
|
|
12593
12592
|
function jv(e) {
|
|
@@ -12596,7 +12595,7 @@ function jv(e) {
|
|
|
12596
12595
|
return [t * (n *= 0.1) * Math.cos(n), n * Math.sin(n)];
|
|
12597
12596
|
};
|
|
12598
12597
|
}
|
|
12599
|
-
function
|
|
12598
|
+
function ZR(e) {
|
|
12600
12599
|
var t = 4, n = t * e[0] / e[1], r = 0, i = 0;
|
|
12601
12600
|
return function(s) {
|
|
12602
12601
|
var a = s < 0 ? -1 : 1;
|
|
@@ -12617,12 +12616,12 @@ function ZD(e) {
|
|
|
12617
12616
|
return [r, i];
|
|
12618
12617
|
};
|
|
12619
12618
|
}
|
|
12620
|
-
function
|
|
12619
|
+
function KR(e) {
|
|
12621
12620
|
for (var t = [], n = -1; ++n < e; )
|
|
12622
12621
|
t[n] = 0;
|
|
12623
12622
|
return t;
|
|
12624
12623
|
}
|
|
12625
|
-
function
|
|
12624
|
+
function QR() {
|
|
12626
12625
|
return document.createElement("canvas");
|
|
12627
12626
|
}
|
|
12628
12627
|
function Gn(e) {
|
|
@@ -12630,7 +12629,7 @@ function Gn(e) {
|
|
|
12630
12629
|
return e;
|
|
12631
12630
|
};
|
|
12632
12631
|
}
|
|
12633
|
-
const
|
|
12632
|
+
const JR = /* @__PURE__ */ zv(VR);
|
|
12634
12633
|
function tk(e, t, n, r) {
|
|
12635
12634
|
var i = -1, s = e == null ? 0 : e.length;
|
|
12636
12635
|
for (r && s && (n = e[++i]); ++i < s; )
|
|
@@ -12849,9 +12848,9 @@ var mk = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
|
|
|
12849
12848
|
function gk(e) {
|
|
12850
12849
|
return mk.test(e);
|
|
12851
12850
|
}
|
|
12852
|
-
var Wv = "\\ud800-\\udfff", vk = "\\u0300-\\u036f", yk = "\\ufe20-\\ufe2f", xk = "\\u20d0-\\u20ff", bk = vk + yk + xk, qv = "\\u2700-\\u27bf", Yv = "a-z\\xdf-\\xf6\\xf8-\\xff", Ek = "\\xac\\xb1\\xd7\\xf7", _k = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", wk = "\\u2000-\\u206f", Sk = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Xv = "A-Z\\xc0-\\xd6\\xd8-\\xde", Ok = "\\ufe0e\\ufe0f", Zv = Ek + _k + wk + Sk, Kv = "['’]", Vf = "[" + Zv + "]", Tk = "[" + bk + "]", Qv = "\\d+", Mk = "[" + qv + "]", Jv = "[" + Yv + "]", t0 = "[^" + Wv + Zv + Qv + qv + Yv + Xv + "]", Ck = "\\ud83c[\\udffb-\\udfff]", Ak = "(?:" + Tk + "|" + Ck + ")", $k = "[^" + Wv + "]", e0 = "(?:\\ud83c[\\udde6-\\uddff]){2}", n0 = "[\\ud800-\\udbff][\\udc00-\\udfff]", Fr = "[" + Xv + "]", Lk = "\\u200d", Hf = "(?:" + Jv + "|" + t0 + ")",
|
|
12851
|
+
var Wv = "\\ud800-\\udfff", vk = "\\u0300-\\u036f", yk = "\\ufe20-\\ufe2f", xk = "\\u20d0-\\u20ff", bk = vk + yk + xk, qv = "\\u2700-\\u27bf", Yv = "a-z\\xdf-\\xf6\\xf8-\\xff", Ek = "\\xac\\xb1\\xd7\\xf7", _k = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", wk = "\\u2000-\\u206f", Sk = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Xv = "A-Z\\xc0-\\xd6\\xd8-\\xde", Ok = "\\ufe0e\\ufe0f", Zv = Ek + _k + wk + Sk, Kv = "['’]", Vf = "[" + Zv + "]", Tk = "[" + bk + "]", Qv = "\\d+", Mk = "[" + qv + "]", Jv = "[" + Yv + "]", t0 = "[^" + Wv + Zv + Qv + qv + Yv + Xv + "]", Ck = "\\ud83c[\\udffb-\\udfff]", Ak = "(?:" + Tk + "|" + Ck + ")", $k = "[^" + Wv + "]", e0 = "(?:\\ud83c[\\udde6-\\uddff]){2}", n0 = "[\\ud800-\\udbff][\\udc00-\\udfff]", Fr = "[" + Xv + "]", Lk = "\\u200d", Hf = "(?:" + Jv + "|" + t0 + ")", Dk = "(?:" + Fr + "|" + t0 + ")", Ff = "(?:" + Kv + "(?:d|ll|m|re|s|t|ve))?", zf = "(?:" + Kv + "(?:D|LL|M|RE|S|T|VE))?", r0 = Ak + "?", i0 = "[" + Ok + "]?", Rk = "(?:" + Lk + "(?:" + [$k, e0, n0].join("|") + ")" + i0 + r0 + ")*", kk = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Ik = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Nk = i0 + r0 + Rk, Pk = "(?:" + [Mk, e0, n0].join("|") + ")" + Nk, Uk = RegExp([
|
|
12853
12852
|
Fr + "?" + Jv + "+" + Ff + "(?=" + [Vf, Fr, "$"].join("|") + ")",
|
|
12854
|
-
|
|
12853
|
+
Dk + "+" + zf + "(?=" + [Vf, Fr + Hf, "$"].join("|") + ")",
|
|
12855
12854
|
Fr + "?" + Hf + "+" + Ff,
|
|
12856
12855
|
Fr + "+" + zf,
|
|
12857
12856
|
Ik,
|
|
@@ -13130,9 +13129,9 @@ function d0() {
|
|
|
13130
13129
|
createDocumentFragment: A,
|
|
13131
13130
|
getElementsByTagName: k
|
|
13132
13131
|
} = n, {
|
|
13133
|
-
importNode:
|
|
13132
|
+
importNode: R
|
|
13134
13133
|
} = r;
|
|
13135
|
-
let
|
|
13134
|
+
let D = {};
|
|
13136
13135
|
t.isSupported = typeof l0 == "function" && typeof g == "function" && _ && _.createHTMLDocument !== void 0;
|
|
13137
13136
|
const {
|
|
13138
13137
|
MUSTACHE_EXPR: T,
|
|
@@ -13168,8 +13167,8 @@ function d0() {
|
|
|
13168
13167
|
enumerable: !0,
|
|
13169
13168
|
value: !1
|
|
13170
13169
|
}
|
|
13171
|
-
})), dt = null, yt = null, K = !0, J = !0, pt = !1, q = !0, Q = !1, at = !1, G = !1, Lt = !1, vt = !1, Ut = !1, Bt = !1, rt = !0,
|
|
13172
|
-
const
|
|
13170
|
+
})), dt = null, yt = null, K = !0, J = !0, pt = !1, q = !0, Q = !1, at = !1, G = !1, Lt = !1, vt = !1, Ut = !1, Bt = !1, rt = !0, Dt = !1;
|
|
13171
|
+
const De = "user-content-";
|
|
13173
13172
|
let me = !0, Jn = !1, en = {}, Pn = null;
|
|
13174
13173
|
const Ps = xt({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
13175
13174
|
let vi = null;
|
|
@@ -13201,7 +13200,7 @@ function d0() {
|
|
|
13201
13200
|
// eslint-disable-line indent
|
|
13202
13201
|
Wt
|
|
13203
13202
|
// eslint-disable-line indent
|
|
13204
|
-
) : yi, Pn = "FORBID_CONTENTS" in M ? xt({}, M.FORBID_CONTENTS, Wt) : Ps, dt = "FORBID_TAGS" in M ? xt({}, M.FORBID_TAGS, Wt) : {}, yt = "FORBID_ATTR" in M ? xt({}, M.FORBID_ATTR, Wt) : {}, en = "USE_PROFILES" in M ? M.USE_PROFILES : !1, K = M.ALLOW_ARIA_ATTR !== !1, J = M.ALLOW_DATA_ATTR !== !1, pt = M.ALLOW_UNKNOWN_PROTOCOLS || !1, q = M.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Q = M.SAFE_FOR_TEMPLATES || !1, at = M.WHOLE_DOCUMENT || !1, vt = M.RETURN_DOM || !1, Ut = M.RETURN_DOM_FRAGMENT || !1, Bt = M.RETURN_TRUSTED_TYPE || !1, Lt = M.FORCE_BODY || !1, rt = M.SANITIZE_DOM !== !1,
|
|
13203
|
+
) : yi, Pn = "FORBID_CONTENTS" in M ? xt({}, M.FORBID_CONTENTS, Wt) : Ps, dt = "FORBID_TAGS" in M ? xt({}, M.FORBID_TAGS, Wt) : {}, yt = "FORBID_ATTR" in M ? xt({}, M.FORBID_ATTR, Wt) : {}, en = "USE_PROFILES" in M ? M.USE_PROFILES : !1, K = M.ALLOW_ARIA_ATTR !== !1, J = M.ALLOW_DATA_ATTR !== !1, pt = M.ALLOW_UNKNOWN_PROTOCOLS || !1, q = M.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Q = M.SAFE_FOR_TEMPLATES || !1, at = M.WHOLE_DOCUMENT || !1, vt = M.RETURN_DOM || !1, Ut = M.RETURN_DOM_FRAGMENT || !1, Bt = M.RETURN_TRUSTED_TYPE || !1, Lt = M.FORCE_BODY || !1, rt = M.SANITIZE_DOM !== !1, Dt = M.SANITIZE_NAMED_PROPS || !1, me = M.KEEP_CONTENT !== !1, Jn = M.IN_PLACE || !1, U = M.ALLOWED_URI_REGEXP || u0, Un = M.NAMESPACE || _e, et = M.CUSTOM_ELEMENT_HANDLING || {}, M.CUSTOM_ELEMENT_HANDLING && Lr(M.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (et.tagNameCheck = M.CUSTOM_ELEMENT_HANDLING.tagNameCheck), M.CUSTOM_ELEMENT_HANDLING && Lr(M.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (et.attributeNameCheck = M.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), M.CUSTOM_ELEMENT_HANDLING && typeof M.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (et.allowCustomizedBuiltInElements = M.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Q && (J = !1), Ut && (vt = !0), en && (B = xt({}, qf), Y = [], en.html === !0 && (xt(B, Wf), xt(Y, Yf)), en.svg === !0 && (xt(B, Pl), xt(Y, Vl), xt(Y, la)), en.svgFilters === !0 && (xt(B, Ul), xt(Y, Vl), xt(Y, la)), en.mathMl === !0 && (xt(B, Bl), xt(Y, Xf), xt(Y, la))), M.ADD_TAGS && (B === X && (B = ur(B)), xt(B, M.ADD_TAGS, Wt)), M.ADD_ATTR && (Y === it && (Y = ur(Y)), xt(Y, M.ADD_ATTR, Wt)), M.ADD_URI_SAFE_ATTR && xt(fn, M.ADD_URI_SAFE_ATTR, Wt), M.FORBID_CONTENTS && (Pn === Ps && (Pn = ur(Pn)), xt(Pn, M.FORBID_CONTENTS, Wt)), me && (B["#text"] = !0), at && xt(B, ["html", "head", "body"]), B.table && (xt(B, ["tbody"]), delete dt.tbody), M.TRUSTED_TYPES_POLICY) {
|
|
13205
13204
|
if (typeof M.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
13206
13205
|
throw Ni('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
13207
13206
|
if (typeof M.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -13288,7 +13287,7 @@ function d0() {
|
|
|
13288
13287
|
}, Gs = function(M) {
|
|
13289
13288
|
return typeof o == "function" && M instanceof o;
|
|
13290
13289
|
}, Ve = function(M, j, F) {
|
|
13291
|
-
|
|
13290
|
+
D[M] && aa(D[M], (ct) => {
|
|
13292
13291
|
ct.call(t, j, F, pn);
|
|
13293
13292
|
});
|
|
13294
13293
|
}, C = function(M) {
|
|
@@ -13371,7 +13370,7 @@ function d0() {
|
|
|
13371
13370
|
});
|
|
13372
13371
|
const uh = Wt(M.nodeName);
|
|
13373
13372
|
if (W(uh, we, Ft)) {
|
|
13374
|
-
if (
|
|
13373
|
+
if (Dt && (we === "id" || we === "name") && (wi(ft, M), Ft = De + Ft), x && typeof f == "object" && typeof f.getAttributeType == "function" && !qt)
|
|
13375
13374
|
switch (f.getAttributeType(uh, we)) {
|
|
13376
13375
|
case "TrustedHTML": {
|
|
13377
13376
|
Ft = x.createHTML(Ft);
|
|
@@ -13433,7 +13432,7 @@ function d0() {
|
|
|
13433
13432
|
ft.appendChild(F.firstChild);
|
|
13434
13433
|
else
|
|
13435
13434
|
ft = F;
|
|
13436
|
-
return (Y.shadowroot || Y.shadowrootmode) && (ft =
|
|
13435
|
+
return (Y.shadowroot || Y.shadowrootmode) && (ft = R.call(r, ft, !0)), ft;
|
|
13437
13436
|
}
|
|
13438
13437
|
let se = at ? F.outerHTML : F.innerHTML;
|
|
13439
13438
|
return at && B["!doctype"] && F.ownerDocument && F.ownerDocument.doctype && F.ownerDocument.doctype.name && Oe(h0, F.ownerDocument.doctype.name) && (se = "<!DOCTYPE " + F.ownerDocument.doctype.name + `>
|
|
@@ -13450,14 +13449,14 @@ function d0() {
|
|
|
13450
13449
|
const ct = Wt(M), mt = Wt(j);
|
|
13451
13450
|
return W(ct, mt, F);
|
|
13452
13451
|
}, t.addHook = function(M, j) {
|
|
13453
|
-
typeof j == "function" && (
|
|
13452
|
+
typeof j == "function" && (D[M] = D[M] || [], ki(D[M], j));
|
|
13454
13453
|
}, t.removeHook = function(M) {
|
|
13455
|
-
if (
|
|
13456
|
-
return jf(
|
|
13454
|
+
if (D[M])
|
|
13455
|
+
return jf(D[M]);
|
|
13457
13456
|
}, t.removeHooks = function(M) {
|
|
13458
|
-
|
|
13457
|
+
D[M] && (D[M] = []);
|
|
13459
13458
|
}, t.removeAllHooks = function() {
|
|
13460
|
-
|
|
13459
|
+
D = {};
|
|
13461
13460
|
}, t;
|
|
13462
13461
|
}
|
|
13463
13462
|
var eh = d0();
|
|
@@ -13912,7 +13911,7 @@ const m0 = class g0 extends Et {
|
|
|
13912
13911
|
};
|
|
13913
13912
|
m0.instanceID = Math.floor(Math.random() * 99999999999);
|
|
13914
13913
|
let Ce = m0;
|
|
13915
|
-
class
|
|
13914
|
+
class Rn extends Et {
|
|
13916
13915
|
constructor() {
|
|
13917
13916
|
super(...arguments), this.type = "spacer";
|
|
13918
13917
|
}
|
|
@@ -14123,7 +14122,7 @@ function Hc(e) {
|
|
|
14123
14122
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
14124
14123
|
}, Hc(e);
|
|
14125
14124
|
}
|
|
14126
|
-
function
|
|
14125
|
+
function DI(e, t) {
|
|
14127
14126
|
if (!(e instanceof t))
|
|
14128
14127
|
throw new TypeError("Cannot call a class as a function");
|
|
14129
14128
|
}
|
|
@@ -14133,7 +14132,7 @@ function Jf(e, t) {
|
|
|
14133
14132
|
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
|
|
14134
14133
|
}
|
|
14135
14134
|
}
|
|
14136
|
-
function
|
|
14135
|
+
function RI(e, t, n) {
|
|
14137
14136
|
return t && Jf(e.prototype, t), n && Jf(e, n), Object.defineProperty(e, "prototype", {
|
|
14138
14137
|
writable: !1
|
|
14139
14138
|
}), e;
|
|
@@ -14217,12 +14216,12 @@ function VI(e) {
|
|
|
14217
14216
|
var r = NI(i);
|
|
14218
14217
|
function i() {
|
|
14219
14218
|
var s;
|
|
14220
|
-
|
|
14219
|
+
DI(this, i);
|
|
14221
14220
|
for (var a = arguments.length, o = new Array(a), l = 0; l < a; l++)
|
|
14222
14221
|
o[l] = arguments[l];
|
|
14223
14222
|
return s = r.call.apply(r, [this].concat(o)), s.handles = /* @__PURE__ */ new Set(), s;
|
|
14224
14223
|
}
|
|
14225
|
-
return
|
|
14224
|
+
return RI(i, [{
|
|
14226
14225
|
key: "manage",
|
|
14227
14226
|
value: (
|
|
14228
14227
|
/**
|
|
@@ -15623,10 +15622,10 @@ const E0 = class Ca extends Et {
|
|
|
15623
15622
|
const v = (_) => {
|
|
15624
15623
|
const S = _[1] - _[0];
|
|
15625
15624
|
let A = "0," + S.toString();
|
|
15626
|
-
const k = Math.floor(l / Ca.DASH_LENGTH),
|
|
15627
|
-
for (let
|
|
15625
|
+
const k = Math.floor(l / Ca.DASH_LENGTH), R = k * Ca.DASH_LENGTH;
|
|
15626
|
+
for (let D = 0; D < k; D++)
|
|
15628
15627
|
A += "," + Ca.DASH_LENGTH;
|
|
15629
|
-
A += "," + (l -
|
|
15628
|
+
A += "," + (l - R), k % 2 === 1 && (A += ",0"), A += "," + S.toString(), A += "," + l.toString(), f.attr("stroke-dasharray", A);
|
|
15630
15629
|
}, m = (_) => {
|
|
15631
15630
|
const S = _.selection;
|
|
15632
15631
|
S === null || S[0] === S[1] || (f.attr("x", parseFloat(a.attr("x")) + parseFloat(i.attr("x"))).attr("y", a.attr("y")).attr("width", a.attr("width")).attr("height", a.attr("height")).style("cursor", "pointer").style("display", null), v(S));
|
|
@@ -15650,8 +15649,8 @@ const E0 = class Ca extends Et {
|
|
|
15650
15649
|
const S = this.services.domUtils.getHolder(), A = vr(s.node(), S)[0];
|
|
15651
15650
|
let k = A - o * w / 2;
|
|
15652
15651
|
k < 0 && (k = 0);
|
|
15653
|
-
let
|
|
15654
|
-
|
|
15652
|
+
let R = A + o * w / 2;
|
|
15653
|
+
R > o && (R = o), y(k, R);
|
|
15655
15654
|
}
|
|
15656
15655
|
});
|
|
15657
15656
|
}
|
|
@@ -15659,7 +15658,7 @@ const E0 = class Ca extends Et {
|
|
|
15659
15658
|
};
|
|
15660
15659
|
E0.DASH_LENGTH = 4;
|
|
15661
15660
|
let LN = E0;
|
|
15662
|
-
class
|
|
15661
|
+
class DN extends Et {
|
|
15663
15662
|
constructor() {
|
|
15664
15663
|
super(...arguments), this.type = "zoom-bar", this.renderType = nt.SVG, this.MIN_SELECTION_DIFF = 9e-10, this.brushSelector = "g.zoom-bar-brush", this.clipId = "zoomBarClip-" + Math.floor(Math.random() * 99999999999), this.brush = Sm(), this.highlightStrokeWidth = 1;
|
|
15665
15664
|
}
|
|
@@ -15721,17 +15720,17 @@ class RN extends Et {
|
|
|
15721
15720
|
), this.xScale.range([c, l]).domain(y), this.maxSelectionRange = this.xScale.range(), this.yScale.range([0, o - 6]).domain(We(m, (S) => S.value));
|
|
15722
15721
|
const w = this.model.get("zoomDomain");
|
|
15723
15722
|
if (s === rn.GRAPH_VIEW && (this.renderZoomBarArea(d, "path.zoom-graph-area-unselected", m, null), this.updateClipPath(n, this.clipId, 0, 0, 0, 0), this.renderZoomBarArea(d, "path.zoom-graph-area", m, this.clipId), this.renderZoomBarBaseline(d, c, l), a)) {
|
|
15724
|
-
const S = a.highlightStartMapsTo, A = a.highlightEndMapsTo, k = a.color,
|
|
15725
|
-
a.data.forEach((
|
|
15726
|
-
N.appendOrSelect(d, `rect.highlight-${T}`).attr("height", o - 2 * this.highlightStrokeWidth).attr("y", this.highlightStrokeWidth).attr("x", this.xScale(
|
|
15723
|
+
const S = a.highlightStartMapsTo, A = a.highlightEndMapsTo, k = a.color, R = a.labelMapsTo;
|
|
15724
|
+
a.data.forEach((D, T) => {
|
|
15725
|
+
N.appendOrSelect(d, `rect.highlight-${T}`).attr("height", o - 2 * this.highlightStrokeWidth).attr("y", this.highlightStrokeWidth).attr("x", this.xScale(D[S])).attr(
|
|
15727
15726
|
"width",
|
|
15728
|
-
this.xScale(
|
|
15727
|
+
this.xScale(D[A]) - this.xScale(D[S])
|
|
15729
15728
|
).style(
|
|
15730
15729
|
"fill",
|
|
15731
|
-
k && k.scale[R
|
|
15730
|
+
k && k.scale[D[R]] ? k.scale[D[R]] : null
|
|
15732
15731
|
).style("fill-opacity", 0.1).style(
|
|
15733
15732
|
"stroke",
|
|
15734
|
-
k && k.scale[R
|
|
15733
|
+
k && k.scale[D[R]] ? k.scale[D[R]] : null
|
|
15735
15734
|
).style("stroke-dasharray", "2, 2").attr("stroke-width", "1px");
|
|
15736
15735
|
});
|
|
15737
15736
|
}
|
|
@@ -15809,7 +15808,7 @@ class RN extends Et {
|
|
|
15809
15808
|
N.appendOrSelect(i, "rect.zoom-slider-selected-area").attr("x", t[0]).attr("y", r / 2 - 1).attr("width", t[1] - t[0]).attr("height", 2);
|
|
15810
15809
|
}
|
|
15811
15810
|
renderZoomBarArea(t, n, r, i) {
|
|
15812
|
-
const { cartesianScales: s } = this.services, a = s.getMainXAxisPosition(), o = s.getMainYAxisPosition(), l = s.getMainXScaleType(), c = s.getMainYScaleType(), u = (y, g, x) => (w) => s.getValueFromScale(y, g, x, w), d = u(this.xScale, l, a), h = u(this.yScale, c, o), f = b(this.getOptions(), "zoomBar", z.TOP, "type"), p = Te.height[f], v =
|
|
15811
|
+
const { cartesianScales: s } = this.services, a = s.getMainXAxisPosition(), o = s.getMainYAxisPosition(), l = s.getMainXScaleType(), c = s.getMainYScaleType(), u = (y, g, x) => (w) => s.getValueFromScale(y, g, x, w), d = u(this.xScale, l, a), h = u(this.yScale, c, o), f = b(this.getOptions(), "zoomBar", z.TOP, "type"), p = Te.height[f], v = Du().x((y) => d(y)).y0(p).y1((y) => p - h(y)), m = N.appendOrSelect(t, n).datum(r).attr("d", v);
|
|
15813
15812
|
i && m.attr("clip-path", `url(#${i})`);
|
|
15814
15813
|
}
|
|
15815
15814
|
updateClipPath(t, n, r, i, s, a) {
|
|
@@ -15820,7 +15819,7 @@ class RN extends Et {
|
|
|
15820
15819
|
compensateDataForDefaultDomain(t, n) {
|
|
15821
15820
|
if (!t || t.length < 2)
|
|
15822
15821
|
return;
|
|
15823
|
-
const r =
|
|
15822
|
+
const r = Dn(t), i = this.services.cartesianScales.getDomainIdentifier(), s = this.services.cartesianScales.getRangeIdentifier();
|
|
15824
15823
|
if (Number(n[0]) < Number(r[0][i])) {
|
|
15825
15824
|
const a = {};
|
|
15826
15825
|
a[i] = n[0], a[s] = 0, r.unshift(a);
|
|
@@ -15853,7 +15852,7 @@ class RN extends Et {
|
|
|
15853
15852
|
this.brush.on("start brush end", null), this.services.events.removeEventListener(O.ZoomBar.UPDATE, this.render.bind(this));
|
|
15854
15853
|
}
|
|
15855
15854
|
}
|
|
15856
|
-
class
|
|
15855
|
+
class RN extends Et {
|
|
15857
15856
|
constructor(t, n) {
|
|
15858
15857
|
super(t, n), this.type = "threshold", this.renderType = nt.SVG, this.positionService = new Yo();
|
|
15859
15858
|
}
|
|
@@ -15887,36 +15886,36 @@ class DN extends Et {
|
|
|
15887
15886
|
), d = l.services.cartesianScales.getScaleTypeByPosition(c);
|
|
15888
15887
|
let h = null, f = null;
|
|
15889
15888
|
c === z.LEFT || c === z.RIGHT ? (f = u, h = l.services.cartesianScales.getMainXScale()) : (h = u, f = l.services.cartesianScales.getMainYScale());
|
|
15890
|
-
const p = d === tt.LABELS, [v, m] = h.range(), [y, g] = f.range(), { cartesianScales: x } = l.services, w = x.getOrientation(), _ = (
|
|
15889
|
+
const p = d === tt.LABELS, [v, m] = h.range(), [y, g] = f.range(), { cartesianScales: x } = l.services, w = x.getOrientation(), _ = (D) => x.getDomainValue(D), S = (D) => x.getRangeValue(D), [A, k] = On(
|
|
15891
15890
|
_,
|
|
15892
15891
|
S,
|
|
15893
15892
|
w
|
|
15894
|
-
),
|
|
15895
|
-
c === z.TOP || c === z.BOTTOM ? (
|
|
15896
|
-
(
|
|
15897
|
-
transition:
|
|
15893
|
+
), R = I(this);
|
|
15894
|
+
c === z.TOP || c === z.BOTTOM ? (R.selectAll("line.threshold-line").transition().call(
|
|
15895
|
+
(D) => l.services.transitions.setupTransition({
|
|
15896
|
+
transition: D,
|
|
15898
15897
|
name: "threshold-line-update",
|
|
15899
15898
|
animate: t
|
|
15900
15899
|
})
|
|
15901
15900
|
).attr("y1", g).attr("y2", y).attr(
|
|
15902
15901
|
"x1",
|
|
15903
|
-
({ datum:
|
|
15902
|
+
({ datum: D }) => A(D) + (p ? u.step() / 2 : 0)
|
|
15904
15903
|
).attr(
|
|
15905
15904
|
"x2",
|
|
15906
|
-
({ datum:
|
|
15907
|
-
).style("stroke", ({ fillColor:
|
|
15908
|
-
(
|
|
15909
|
-
transition:
|
|
15905
|
+
({ datum: D }) => A(D) + (p ? u.step() / 2 : 0)
|
|
15906
|
+
).style("stroke", ({ fillColor: D }) => D), R.selectAll("rect.threshold-hoverable-area").attr("x", 0).attr("y", ({ datum: D }) => -A(D)).attr("width", Math.abs(y - g)).classed("rotate", !0)) : (R.selectAll("line.threshold-line").transition().call(
|
|
15907
|
+
(D) => l.services.transitions.setupTransition({
|
|
15908
|
+
transition: D,
|
|
15910
15909
|
name: "threshold-line-update",
|
|
15911
15910
|
animate: t
|
|
15912
15911
|
})
|
|
15913
15912
|
).attr("x1", v).attr("x2", m).attr(
|
|
15914
15913
|
"y1",
|
|
15915
|
-
({ datum:
|
|
15914
|
+
({ datum: D }) => k(D) + (p ? u.step() / 2 : 0)
|
|
15916
15915
|
).attr(
|
|
15917
15916
|
"y2",
|
|
15918
|
-
({ datum:
|
|
15919
|
-
).style("stroke", ({ fillColor:
|
|
15917
|
+
({ datum: D }) => k(D) + (p ? u.step() / 2 : 0)
|
|
15918
|
+
).style("stroke", ({ fillColor: D }) => D), R.selectAll("rect.threshold-hoverable-area").attr("x", v).attr("y", ({ datum: D }) => k(D)).attr("width", Math.abs(m - v)).classed("rotate", !1));
|
|
15920
15919
|
}), this.services.events.addEventListener(O.Threshold.SHOW, (c) => {
|
|
15921
15920
|
this.setThresholdLabelPosition(c.detail), this.label.classed("hidden", !1);
|
|
15922
15921
|
}), this.services.events.addEventListener(O.Threshold.HIDE, () => {
|
|
@@ -16035,8 +16034,8 @@ class kN extends Et {
|
|
|
16035
16034
|
})
|
|
16036
16035
|
).attr("y", Math.max(v + l.highlightStrokeWidth, 0)).attr("height", Math.max(p - 2 * l.highlightStrokeWidth, 0)).attr("x", ({ highlightStartMapsTo: A, ...k }) => w(k[A])).attr(
|
|
16037
16036
|
"width",
|
|
16038
|
-
({ highlightStartMapsTo: A, highlightEndMapsTo: k, ...
|
|
16039
|
-
).style("stroke", ({ color: A, labelMapsTo: k, ...
|
|
16037
|
+
({ highlightStartMapsTo: A, highlightEndMapsTo: k, ...R }) => Math.max(w(R[k]) - w(R[A]), 0)
|
|
16038
|
+
).style("stroke", ({ color: A, labelMapsTo: k, ...R }) => A && A.scale[R[k]] ? A.scale[R[k]] : null).style("stroke-dasharray", "2, 2").attr("stroke-width", l.highlightStrokeWidth + "px").style("fill-opacity", 0.1).style("fill", ({ color: A, labelMapsTo: k, ...R }) => A && A.scale[R[k]] ? A.scale[R[k]] : null) : S.selectAll("rect.highlight-bar").transition().call(
|
|
16040
16039
|
(A) => l.services.transitions.setupTransition({
|
|
16041
16040
|
transition: A,
|
|
16042
16041
|
name: "highlight-bar-update",
|
|
@@ -16044,8 +16043,8 @@ class kN extends Et {
|
|
|
16044
16043
|
})
|
|
16045
16044
|
).attr("x", h).attr("width", Math.max(f - h, 0)).attr("y", ({ highlightEndMapsTo: A, ...k }) => _(k[A])).attr(
|
|
16046
16045
|
"height",
|
|
16047
|
-
({ highlightStartMapsTo: A, highlightEndMapsTo: k, ...
|
|
16048
|
-
).style("stroke", ({ color: A, labelMapsTo: k, ...
|
|
16046
|
+
({ highlightStartMapsTo: A, highlightEndMapsTo: k, ...R }) => Math.max(_(R[A]) - _(R[k]), 0)
|
|
16047
|
+
).style("stroke", ({ color: A, labelMapsTo: k, ...R }) => A && A.scale[R[k]] ? A.scale[R[k]] : null).style("stroke-dasharray", "2, 2").attr("stroke-width", l.highlightStrokeWidth + "px").style("fill-opacity", 0.1).style("fill", ({ color: A, labelMapsTo: k, ...R }) => A && A.scale[R[k]] ? A.scale[R[k]] : null);
|
|
16049
16048
|
});
|
|
16050
16049
|
}
|
|
16051
16050
|
}
|
|
@@ -16161,8 +16160,8 @@ class IN extends Et {
|
|
|
16161
16160
|
s.alluvial.nodePadding > He.minNodePadding && (l = s.alluvial.nodePadding);
|
|
16162
16161
|
const c = b(s, "alluvial", "nodeAlignment");
|
|
16163
16162
|
let u = Hv;
|
|
16164
|
-
c === Qt.LEFT ? u =
|
|
16165
|
-
const d =
|
|
16163
|
+
c === Qt.LEFT ? u = pR : c === Qt.RIGHT && (u = mR);
|
|
16164
|
+
const d = xR().nodeId((g) => g.name).nodeWidth(He.nodeWidth).nodePadding(l).nodeAlign(u).extent([
|
|
16166
16165
|
[2, 30],
|
|
16167
16166
|
[r - 2, i]
|
|
16168
16167
|
]);
|
|
@@ -16195,7 +16194,7 @@ class IN extends Et {
|
|
|
16195
16194
|
(x) => x.append("stop").attr("offset", "100%").attr("stop-color", (w) => g[w.target.name])
|
|
16196
16195
|
), f.exit().remove();
|
|
16197
16196
|
}
|
|
16198
|
-
f.enter().append("path").classed("link", !0).attr("d",
|
|
16197
|
+
f.enter().append("path").classed("link", !0).attr("d", LR()).attr(
|
|
16199
16198
|
"id",
|
|
16200
16199
|
(g) => this.services.domUtils.generateElementIDString(`alluvial-line-${g.index}`)
|
|
16201
16200
|
).attr("class", (g) => s.alluvial.monochrome ? this.model.getColorClassName({
|
|
@@ -16503,7 +16502,7 @@ class w0 extends Et {
|
|
|
16503
16502
|
render(t = !0) {
|
|
16504
16503
|
const n = this.getComponentContainer({ withinChartClip: !0 }), r = this.getOptions();
|
|
16505
16504
|
let i = [0, 0];
|
|
16506
|
-
const { cartesianScales: s } = this.services, a = s.getOrientation(), o =
|
|
16505
|
+
const { cartesianScales: s } = this.services, a = s.getOrientation(), o = Du().curve(this.services.curves.getD3Curve()).defined((_) => {
|
|
16507
16506
|
const S = s.getRangeIdentifier();
|
|
16508
16507
|
return _[S] != null;
|
|
16509
16508
|
}), l = this.model.getGroupedData(this.configs.groups), c = b(r, "bounds"), u = c && l && l.length === 1;
|
|
@@ -16539,7 +16538,7 @@ class w0 extends Et {
|
|
|
16539
16538
|
S = A[k[0]];
|
|
16540
16539
|
}
|
|
16541
16540
|
}
|
|
16542
|
-
|
|
16541
|
+
Dc.appendOrUpdateLinearGradient({
|
|
16543
16542
|
svg: this.parent,
|
|
16544
16543
|
id: this.services.domUtils.generateElementIDString(
|
|
16545
16544
|
`${l[0].name.replace(" ", "")}_${this.gradient_id}`
|
|
@@ -16548,7 +16547,7 @@ class w0 extends Et {
|
|
|
16548
16547
|
x2: "0%",
|
|
16549
16548
|
y1: "0%",
|
|
16550
16549
|
y2: "100%",
|
|
16551
|
-
stops:
|
|
16550
|
+
stops: Dc.getStops(i, S)
|
|
16552
16551
|
});
|
|
16553
16552
|
} else
|
|
16554
16553
|
this.parent.selectAll("defs linearGradient").empty() || this.parent.selectAll("defs linearGradient").each(function() {
|
|
@@ -17063,7 +17062,7 @@ class S0 extends Et {
|
|
|
17063
17062
|
p.attr("aria-hidden", !0);
|
|
17064
17063
|
return;
|
|
17065
17064
|
}
|
|
17066
|
-
const w = b(m, "scaleType"), _ = b(r, "data", "loading"), S = b(m, "ticks", "number"), A = b(m, "ticks", "values"), k = b(m, "truncation", "type"),
|
|
17065
|
+
const w = b(m, "scaleType"), _ = b(r, "data", "loading"), S = b(m, "ticks", "number"), A = b(m, "ticks", "values"), k = b(m, "truncation", "type"), R = b(m, "truncation", "threshold"), D = b(m, "truncation", "numCharacter"), T = S !== null, H = b(r, "timeScale"), P = N.appendOrSelect(v, "g.tick"), V = N.appendOrSelect(P, "text").text("0"), E = N.getSVGElementSize(V.node(), {
|
|
17067
17066
|
useBBox: !0
|
|
17068
17067
|
}).height;
|
|
17069
17068
|
P.remove();
|
|
@@ -17223,9 +17222,9 @@ class S0 extends Et {
|
|
|
17223
17222
|
l.selectAll("g.ticks g.tick").html(J);
|
|
17224
17223
|
const pt = this;
|
|
17225
17224
|
l.selectAll("g.tick text").data(K).text(function(q) {
|
|
17226
|
-
return q.length >
|
|
17225
|
+
return q.length > R ? (pt.truncation[n] = !0, _s(q, k, D)) : q;
|
|
17227
17226
|
}), this.getInvisibleAxisRef().selectAll("g.tick text").data(K).text(function(q) {
|
|
17228
|
-
return q.length >
|
|
17227
|
+
return q.length > R ? _s(q, k, D) : q;
|
|
17229
17228
|
}), l.selectAll("g.ticks").html(this.getInvisibleAxisRef().html()), l.selectAll("g.tick text").data(K);
|
|
17230
17229
|
}
|
|
17231
17230
|
}
|
|
@@ -17572,7 +17571,7 @@ class UN extends Et {
|
|
|
17572
17571
|
classNameTypes: [st.STROKE],
|
|
17573
17572
|
originalClassName: "vertical-line start"
|
|
17574
17573
|
})
|
|
17575
|
-
).attr("stroke-width",
|
|
17574
|
+
).attr("stroke-width", Re.strokeWidth.default).attr("fill", "none").transition().call(
|
|
17576
17575
|
(T) => this.services.transitions.setupTransition({
|
|
17577
17576
|
transition: T,
|
|
17578
17577
|
name: "boxplot-update-verticalstartline",
|
|
@@ -17587,7 +17586,7 @@ class UN extends Et {
|
|
|
17587
17586
|
classNameTypes: [st.STROKE],
|
|
17588
17587
|
originalClassName: "vertical-line end"
|
|
17589
17588
|
})
|
|
17590
|
-
).attr("stroke-width",
|
|
17589
|
+
).attr("stroke-width", Re.strokeWidth.default).attr("fill", "none").transition().call(
|
|
17591
17590
|
(T) => this.services.transitions.setupTransition({
|
|
17592
17591
|
transition: T,
|
|
17593
17592
|
name: "boxplot-update-verticalendline",
|
|
@@ -17602,7 +17601,7 @@ class UN extends Et {
|
|
|
17602
17601
|
classNameTypes: [st.FILL, st.STROKE],
|
|
17603
17602
|
originalClassName: "box"
|
|
17604
17603
|
})
|
|
17605
|
-
).attr("fill-opacity",
|
|
17604
|
+
).attr("fill-opacity", Re.box.opacity.default).attr("stroke-width", Re.strokeWidth.default).attr("role", ht.GRAPHICS_SYMBOL).attr("aria-roledescription", "box").attr("aria-label", (T) => T[i]).transition().call(
|
|
17606
17605
|
(T) => this.services.transitions.setupTransition({
|
|
17607
17606
|
transition: T,
|
|
17608
17607
|
name: "boxplot-update-quartiles",
|
|
@@ -17624,7 +17623,7 @@ class UN extends Et {
|
|
|
17624
17623
|
classNameTypes: [st.STROKE],
|
|
17625
17624
|
originalClassName: "whisker start"
|
|
17626
17625
|
})
|
|
17627
|
-
).attr("stroke-width",
|
|
17626
|
+
).attr("stroke-width", Re.strokeWidth.thicker).attr("fill", "none").transition().call(
|
|
17628
17627
|
(T) => this.services.transitions.setupTransition({
|
|
17629
17628
|
transition: T,
|
|
17630
17629
|
name: "boxplot-update-startingwhisker",
|
|
@@ -17654,7 +17653,7 @@ class UN extends Et {
|
|
|
17654
17653
|
classNameTypes: [st.STROKE],
|
|
17655
17654
|
originalClassName: "whisker end"
|
|
17656
17655
|
})
|
|
17657
|
-
).attr("stroke-width",
|
|
17656
|
+
).attr("stroke-width", Re.strokeWidth.thicker).attr("fill", "none").transition().call(
|
|
17658
17657
|
(T) => this.services.transitions.setupTransition({
|
|
17659
17658
|
transition: T,
|
|
17660
17659
|
name: "boxplot-update-endingwhisker",
|
|
@@ -17664,7 +17663,7 @@ class UN extends Et {
|
|
|
17664
17663
|
const H = p.getDomainValue(T[i]) - w / 4, P = H + w / 2, V = p.getRangeValue(T.whiskers.max), E = p.getRangeValue(T.whiskers.max);
|
|
17665
17664
|
return de({ x0: H, x1: P, y0: V, y1: E }, v);
|
|
17666
17665
|
});
|
|
17667
|
-
const
|
|
17666
|
+
const R = k.selectAll("circle.outlier").data(
|
|
17668
17667
|
(T) => T.outliers.map((H) => ({
|
|
17669
17668
|
min: T.whiskers.min,
|
|
17670
17669
|
max: T.whiskers.max,
|
|
@@ -17672,15 +17671,15 @@ class UN extends Et {
|
|
|
17672
17671
|
value: H
|
|
17673
17672
|
}))
|
|
17674
17673
|
);
|
|
17675
|
-
|
|
17676
|
-
const
|
|
17677
|
-
|
|
17674
|
+
R.exit().remove();
|
|
17675
|
+
const D = R.enter().append("circle");
|
|
17676
|
+
R.merge(D).attr("r", Re.circle.radius).attr(
|
|
17678
17677
|
"class",
|
|
17679
17678
|
() => this.model.getColorClassName({
|
|
17680
17679
|
classNameTypes: [st.FILL, st.STROKE],
|
|
17681
17680
|
originalClassName: "outlier"
|
|
17682
17681
|
})
|
|
17683
|
-
).attr("fill-opacity",
|
|
17682
|
+
).attr("fill-opacity", Re.circle.opacity.default).attr("cx", y).transition().call(
|
|
17684
17683
|
(T) => this.services.transitions.setupTransition({
|
|
17685
17684
|
transition: T,
|
|
17686
17685
|
name: "boxplot-update-circles",
|
|
@@ -17692,7 +17691,7 @@ class UN extends Et {
|
|
|
17692
17691
|
const t = this, n = this.getOptions(), { groupMapsTo: r } = n.data;
|
|
17693
17692
|
this.parent.selectAll("path.highlight-area").on("mouseover", function(i, s) {
|
|
17694
17693
|
const a = I(this);
|
|
17695
|
-
I(this.parentNode).select("path.box").classed("hovered", !0).attr("fill-opacity",
|
|
17694
|
+
I(this.parentNode).select("path.box").classed("hovered", !0).attr("fill-opacity", Re.box.opacity.hovered), t.services.events.dispatchEvent(O.Tooltip.SHOW, {
|
|
17696
17695
|
event: i,
|
|
17697
17696
|
hoveredElement: a,
|
|
17698
17697
|
items: [
|
|
@@ -17750,7 +17749,7 @@ class UN extends Et {
|
|
|
17750
17749
|
});
|
|
17751
17750
|
}).on("mouseout", function(i, s) {
|
|
17752
17751
|
const a = I(this);
|
|
17753
|
-
I(this.parentNode).select("path.box").classed("hovered", !1).attr("fill-opacity",
|
|
17752
|
+
I(this.parentNode).select("path.box").classed("hovered", !1).attr("fill-opacity", Re.box.opacity.default), t.services.events.dispatchEvent(O.Boxplot.BOX_MOUSEOUT, {
|
|
17754
17753
|
event: i,
|
|
17755
17754
|
element: a,
|
|
17756
17755
|
datum: s
|
|
@@ -17763,7 +17762,7 @@ class UN extends Et {
|
|
|
17763
17762
|
const t = this, n = this.getOptions(), { groupMapsTo: r } = n.data, i = this.services.cartesianScales.getRangeIdentifier();
|
|
17764
17763
|
this.parent.selectAll("circle").on("mouseover", function(s, a) {
|
|
17765
17764
|
const o = I(this);
|
|
17766
|
-
o.classed("hovered", !0).attr("fill-opacity",
|
|
17765
|
+
o.classed("hovered", !0).attr("fill-opacity", Re.circle.opacity.hovered).classed("unfilled", !1), t.services.events.dispatchEvent(O.Tooltip.SHOW, {
|
|
17767
17766
|
event: s,
|
|
17768
17767
|
hoveredElement: o,
|
|
17769
17768
|
items: [
|
|
@@ -17801,7 +17800,7 @@ class UN extends Et {
|
|
|
17801
17800
|
});
|
|
17802
17801
|
}).on("mouseout", function(s, a) {
|
|
17803
17802
|
const o = I(this);
|
|
17804
|
-
o.classed("hovered", !1).attr("fill-opacity",
|
|
17803
|
+
o.classed("hovered", !1).attr("fill-opacity", Re.circle.opacity.default), t.services.events.dispatchEvent(O.Boxplot.OUTLIER_MOUSEOUT, {
|
|
17805
17804
|
event: s,
|
|
17806
17805
|
element: o,
|
|
17807
17806
|
datum: a
|
|
@@ -18404,8 +18403,8 @@ class O0 extends nh {
|
|
|
18404
18403
|
}
|
|
18405
18404
|
const c = !Ge(s), u = Av(this.model.getDisplayData()), d = !(i <= jt.color.barWidth), h = d ? jt.color.barWidth : i, f = N.appendOrSelect(r, "g.legend"), p = N.appendOrSelect(f, "g.legend-axis");
|
|
18406
18405
|
if (l) {
|
|
18407
|
-
const
|
|
18408
|
-
N.appendOrSelect(
|
|
18406
|
+
const R = N.appendOrSelect(r, "g.legend-title");
|
|
18407
|
+
N.appendOrSelect(R, "text").text(l).attr("dy", "0.7em"), f.attr("transform", "translate(0, 16)");
|
|
18409
18408
|
}
|
|
18410
18409
|
const v = u[0] < 0 && u[1] > 0 ? "diverge" : "mono";
|
|
18411
18410
|
(o < 1 && o > 4 && v === "mono" || o < 1 && o > 2 && v === "diverge") && (o = 1);
|
|
@@ -18414,12 +18413,12 @@ class O0 extends nh {
|
|
|
18414
18413
|
if (c)
|
|
18415
18414
|
m = s;
|
|
18416
18415
|
else
|
|
18417
|
-
for (let
|
|
18416
|
+
for (let R = 1; R < y + 1; R++)
|
|
18418
18417
|
m.push(
|
|
18419
|
-
a === fa.LINEAR ? `stop-color-${v}-${o}-${
|
|
18418
|
+
a === fa.LINEAR ? `stop-color-${v}-${o}-${R}` : `fill-${v}-${o}-${R}`
|
|
18420
18419
|
);
|
|
18421
18420
|
const g = Me(u[0], u[1]), x = kx(g, 3), w = Xe().domain(u).range([0, h]), _ = ou(w).tickSize(0).tickValues(x), { code: S, number: A } = b(n, "locale");
|
|
18422
|
-
_.tickFormat((
|
|
18421
|
+
_.tickFormat((R) => A(R, S));
|
|
18423
18422
|
let k;
|
|
18424
18423
|
switch (a) {
|
|
18425
18424
|
case fa.LINEAR:
|
|
@@ -18799,52 +18798,52 @@ class T0 extends Et {
|
|
|
18799
18798
|
return Nt.innerRadius;
|
|
18800
18799
|
}
|
|
18801
18800
|
render(t = !0) {
|
|
18802
|
-
const n = this, r = this.getComponentContainer(), i = this.getOptions(), { groupMapsTo: s } = i.data, { valueMapsTo: a } = i.pie, o = this.model.getDisplayData().filter((
|
|
18801
|
+
const n = this, r = this.getComponentContainer(), i = this.getOptions(), { groupMapsTo: s } = i.data, { valueMapsTo: a } = i.pie, o = this.model.getDisplayData().filter((R) => R[a] > 0), l = this.computeRadius();
|
|
18803
18802
|
this.arc = gs().innerRadius(this.getInnerRadius()).outerRadius(l), this.hoverArc = gs().innerRadius(this.getInnerRadius()).outerRadius(l + Nt.hoverArc.outerRadiusOffset);
|
|
18804
|
-
const c = XS().value((
|
|
18803
|
+
const c = XS().value((R) => R[a]).sort(b(i, "pie", "sortFunction")).padAngle(Nt.padAngle)(o), u = N.appendOrSelect(r, "g.slices").attr("role", ht.GROUP).attr("data-name", "slices").selectAll("path.slice").data(c, (R) => R.data[s]);
|
|
18805
18804
|
u.exit().attr("opacity", 0).remove(), u.enter().append("path").classed("slice", !0).attr("opacity", 0).merge(u).attr(
|
|
18806
18805
|
"class",
|
|
18807
|
-
(
|
|
18806
|
+
(R) => this.model.getColorClassName({
|
|
18808
18807
|
classNameTypes: [st.FILL],
|
|
18809
|
-
dataGroupName:
|
|
18808
|
+
dataGroupName: R.data[s],
|
|
18810
18809
|
originalClassName: "slice"
|
|
18811
18810
|
})
|
|
18812
|
-
).style("fill", (
|
|
18813
|
-
(
|
|
18814
|
-
transition:
|
|
18811
|
+
).style("fill", (R) => n.model.getFillColor(R.data[s])).attr("d", this.arc).transition().call(
|
|
18812
|
+
(R) => this.services.transitions.setupTransition({
|
|
18813
|
+
transition: R,
|
|
18815
18814
|
name: "pie_slice_enter_update",
|
|
18816
18815
|
animate: t
|
|
18817
18816
|
})
|
|
18818
18817
|
).attr("opacity", 1).attr("role", ht.GRAPHICS_SYMBOL).attr("aria-roledescription", "slice").attr(
|
|
18819
18818
|
"aria-label",
|
|
18820
|
-
(
|
|
18821
|
-
).attrTween("d", function(
|
|
18822
|
-
return sP.bind(this)(
|
|
18819
|
+
(R) => `${R[a]}, ${Al(R.data[a], o, a) + "%"}`
|
|
18820
|
+
).attrTween("d", function(R) {
|
|
18821
|
+
return sP.bind(this)(R, n.arc);
|
|
18823
18822
|
});
|
|
18824
|
-
const { code: d, number: h } = b(i, "locale"), f = i.pie.labels.enabled, p = f ? c.filter((
|
|
18823
|
+
const { code: d, number: h } = b(i, "locale"), f = i.pie.labels.enabled, p = f ? c.filter((R) => R.data[a] > 0) : [], v = N.appendOrSelect(r, "g.labels").attr("role", ht.GROUP).attr("data-name", "labels").selectAll("text.pie-label").data(p, (R) => R.data[s]);
|
|
18825
18824
|
v.exit().attr("opacity", 0).remove();
|
|
18826
18825
|
const m = v.enter().append("text").classed("pie-label", !0), y = [];
|
|
18827
|
-
m.merge(v).style("text-anchor", "middle").text((
|
|
18828
|
-
...
|
|
18826
|
+
m.merge(v).style("text-anchor", "middle").text((R) => i.pie.labels.formatter ? i.pie.labels.formatter({
|
|
18827
|
+
...R,
|
|
18829
18828
|
percentageValue: Al(
|
|
18830
|
-
|
|
18829
|
+
R.data[a],
|
|
18831
18830
|
o,
|
|
18832
18831
|
a,
|
|
18833
18832
|
!0
|
|
18834
18833
|
)
|
|
18835
18834
|
}) : h(
|
|
18836
|
-
Al(
|
|
18835
|
+
Al(R.data[a], o, a),
|
|
18837
18836
|
d
|
|
18838
|
-
) + "%").datum(function(
|
|
18839
|
-
const
|
|
18840
|
-
return
|
|
18841
|
-
}).attr("transform", function(
|
|
18842
|
-
const T = p.length, H = (
|
|
18843
|
-
if (
|
|
18837
|
+
) + "%").datum(function(R) {
|
|
18838
|
+
const D = l + 7, T = (R.endAngle - R.startAngle) / 2 + R.startAngle, H = T / Math.PI * 180, P = this.getComputedTextLength();
|
|
18839
|
+
return R.textOffsetX = P / 2, R.textOffsetY = H > 90 && H < 270 ? 10 : 0, R.xPosition = (R.textOffsetX + D) * Math.sin(T), R.yPosition = (R.textOffsetY + D) * -Math.cos(T), R;
|
|
18840
|
+
}).attr("transform", function(R, D) {
|
|
18841
|
+
const T = p.length, H = (R.endAngle - R.startAngle) * (180 / Math.PI);
|
|
18842
|
+
if (D >= T - 2 && H < Nt.callout.minSliceDegree) {
|
|
18844
18843
|
let P, V;
|
|
18845
|
-
return
|
|
18844
|
+
return R.index === T - 1 ? (P = R.xPosition + Nt.callout.offsetX + Nt.callout.textMargin + R.textOffsetX, V = R.yPosition - Nt.callout.offsetY, R.direction = ua.RIGHT, y.push(R)) : (P = R.xPosition - Nt.callout.offsetX - R.textOffsetX - Nt.callout.textMargin, V = R.yPosition - Nt.callout.offsetY, R.direction = ua.LEFT, y.push(R)), `translate(${P}, ${V})`;
|
|
18846
18845
|
}
|
|
18847
|
-
return `translate(${
|
|
18846
|
+
return `translate(${R.xPosition}, ${R.yPosition})`;
|
|
18848
18847
|
}), this.renderCallouts(y);
|
|
18849
18848
|
const g = b(i, "donut") ? "donut" : "pie", x = b(i, g, "alignment"), { width: w } = N.getSVGElementSize(this.getParent(), {
|
|
18850
18849
|
useAttrs: !0
|
|
@@ -18977,8 +18976,13 @@ class aP extends T0 {
|
|
|
18977
18976
|
i % 1 === 0 && r % 1 === 0 ? s = fm : s = Me;
|
|
18978
18977
|
const a = s(i, r);
|
|
18979
18978
|
return (o) => {
|
|
18980
|
-
const {
|
|
18981
|
-
|
|
18979
|
+
const { numberFormatter: l } = n.donut.center;
|
|
18980
|
+
if (l)
|
|
18981
|
+
t.text(l(a(o)));
|
|
18982
|
+
else {
|
|
18983
|
+
const { code: c, number: u } = b(n, "locale");
|
|
18984
|
+
t.text(u(Math.floor(a(o)), c));
|
|
18985
|
+
}
|
|
18982
18986
|
};
|
|
18983
18987
|
}
|
|
18984
18988
|
}
|
|
@@ -19053,7 +19057,7 @@ class oP extends Et {
|
|
|
19053
19057
|
"transform",
|
|
19054
19058
|
`translate(0, ${d})`
|
|
19055
19059
|
), f = o(a), p = N.appendOrSelect(h, "g.gauge-value-number"), { code: v, number: m } = b(n, "locale"), y = b(n, "gauge", "numberFormatter"), g = p.selectAll("text.gauge-value-number").data([i]);
|
|
19056
|
-
g.enter().append("text").attr("class", "gauge-value-number").merge(g).style("font-size", `${f}px`).attr("text-anchor", "middle").text((
|
|
19060
|
+
g.enter().append("text").attr("class", "gauge-value-number").merge(g).style("font-size", `${f}px`).attr("text-anchor", "middle").text((R) => m(Number(y(R)), v));
|
|
19057
19061
|
const { width: x } = N.getSVGElementSize(
|
|
19058
19062
|
N.appendOrSelect(t, "text.gauge-value-number"),
|
|
19059
19063
|
{ useBBox: !0 }
|
|
@@ -19795,18 +19799,18 @@ class dP extends Et {
|
|
|
19795
19799
|
const x = Ms().domain(this.fullDataNormalized.map((E) => E[u])).range([0, 2 * Math.PI].map((E) => E - Math.PI / 2)), w = Yn(this.fullDataNormalized.map((E) => E[d])), _ = Xe().domain([
|
|
19796
19800
|
w >= 0 ? 0 : w,
|
|
19797
19801
|
gr(this.fullDataNormalized.map((E) => E[d]))
|
|
19798
|
-
]).range([v, g]).nice(p), S = _.ticks(p), A = (E) => this.model.getFillColor(E), k = QS().angle((E) => x(E[u]) + Math.PI / 2).radius((E) => _(E[d])).curve(Sg),
|
|
19799
|
-
const L = this.getLabelDimensions(E).width, $ =
|
|
19802
|
+
]).range([v, g]).nice(p), S = _.ticks(p), A = (E) => this.model.getFillColor(E), k = QS().angle((E) => x(E[u]) + Math.PI / 2).radius((E) => _(E[d])).curve(Sg), R = this.uniqueKeys.map((E) => {
|
|
19803
|
+
const L = this.getLabelDimensions(E).width, $ = dR(
|
|
19800
19804
|
x(E),
|
|
19801
19805
|
g
|
|
19802
19806
|
);
|
|
19803
19807
|
return L + $;
|
|
19804
|
-
}),
|
|
19805
|
-
x: gr(
|
|
19808
|
+
}), D = {
|
|
19809
|
+
x: gr(R) + h,
|
|
19806
19810
|
y: i / 2
|
|
19807
19811
|
}, T = N.appendOrSelect(n, "g.y-axes").attr("role", ht.GROUP).selectAll("path").data(S, (E) => E), H = (E) => this.uniqueKeys.map((L) => ({ [u]: L, [d]: E }));
|
|
19808
19812
|
T.join(
|
|
19809
|
-
(E) => E.append("path").attr("opacity", 0).attr("transform", `translate(${
|
|
19813
|
+
(E) => E.append("path").attr("opacity", 0).attr("transform", `translate(${D.x}, ${D.y})`).attr("fill", "none").call(
|
|
19810
19814
|
(L) => L.transition().call(
|
|
19811
19815
|
($) => this.services.transitions.setupTransition({
|
|
19812
19816
|
transition: $,
|
|
@@ -19822,7 +19826,7 @@ class dP extends Et {
|
|
|
19822
19826
|
name: "radar_y_axes_update",
|
|
19823
19827
|
animate: t
|
|
19824
19828
|
})
|
|
19825
|
-
).attr("opacity", 1).attr("transform", `translate(${
|
|
19829
|
+
).attr("opacity", 1).attr("transform", `translate(${D.x}, ${D.y})`).attr("d", ($) => k(H($)))
|
|
19826
19830
|
),
|
|
19827
19831
|
(E) => E.call(
|
|
19828
19832
|
(L) => L.transition().call(
|
|
@@ -19834,14 +19838,14 @@ class dP extends Et {
|
|
|
19834
19838
|
).attr("d", ($) => k(H($))).attr("opacity", 0).remove()
|
|
19835
19839
|
)
|
|
19836
19840
|
), N.appendOrSelect(n, "g.x-axes").attr("role", ht.GROUP).selectAll("line").data(this.uniqueKeys, (E) => E).join(
|
|
19837
|
-
(E) => E.append("line").attr("opacity", 0).attr("class", (L) => `x-axis-${Nr(L)}`).attr("stroke-dasharray", "0").attr("x1", (L) => Yt(x(L), 0,
|
|
19841
|
+
(E) => E.append("line").attr("opacity", 0).attr("class", (L) => `x-axis-${Nr(L)}`).attr("stroke-dasharray", "0").attr("x1", (L) => Yt(x(L), 0, D).x).attr("y1", (L) => Yt(x(L), 0, D).y).attr("x2", (L) => Yt(x(L), 0, D).x).attr("y2", (L) => Yt(x(L), 0, D).y).call(
|
|
19838
19842
|
(L) => L.transition().call(
|
|
19839
19843
|
($) => this.services.transitions.setupTransition({
|
|
19840
19844
|
transition: $,
|
|
19841
19845
|
name: "radar_x_axes_enter",
|
|
19842
19846
|
animate: t
|
|
19843
19847
|
})
|
|
19844
|
-
).attr("opacity", 1).attr("x1", ($) => Yt(x($), _.range()[0],
|
|
19848
|
+
).attr("opacity", 1).attr("x1", ($) => Yt(x($), _.range()[0], D).x).attr("y1", ($) => Yt(x($), _.range()[0], D).y).attr("x2", ($) => Yt(x($), _.range()[1], D).x).attr("y2", ($) => Yt(x($), _.range()[1], D).y)
|
|
19845
19849
|
),
|
|
19846
19850
|
(E) => E.call(
|
|
19847
19851
|
(L) => L.transition().call(
|
|
@@ -19850,7 +19854,7 @@ class dP extends Et {
|
|
|
19850
19854
|
name: "radar_x_axes_update",
|
|
19851
19855
|
animate: t
|
|
19852
19856
|
})
|
|
19853
|
-
).attr("opacity", 1).attr("x1", ($) => Yt(x($), _.range()[0],
|
|
19857
|
+
).attr("opacity", 1).attr("x1", ($) => Yt(x($), _.range()[0], D).x).attr("y1", ($) => Yt(x($), _.range()[0], D).y).attr("x2", ($) => Yt(x($), _.range()[1], D).x).attr("y2", ($) => Yt(x($), _.range()[1], D).y)
|
|
19854
19858
|
),
|
|
19855
19859
|
(E) => E.call(
|
|
19856
19860
|
(L) => L.transition().call(
|
|
@@ -19864,10 +19868,10 @@ class dP extends Et {
|
|
|
19864
19868
|
), N.appendOrSelect(n, "g.x-labels").attr("role", ht.GROUP).selectAll("text").data(this.uniqueKeys).join(
|
|
19865
19869
|
(E) => E.append("text").text((L) => L).attr("opacity", 0).attr(
|
|
19866
19870
|
"x",
|
|
19867
|
-
(L) => Yt(x(L), _.range()[1] + h,
|
|
19871
|
+
(L) => Yt(x(L), _.range()[1] + h, D).x
|
|
19868
19872
|
).attr(
|
|
19869
19873
|
"y",
|
|
19870
|
-
(L) => Yt(x(L), _.range()[1] + h,
|
|
19874
|
+
(L) => Yt(x(L), _.range()[1] + h, D).y
|
|
19871
19875
|
).style("text-anchor", (L) => Lf(x(L)).textAnchor).style(
|
|
19872
19876
|
"dominant-baseline",
|
|
19873
19877
|
(L) => Lf(x(L)).dominantBaseline
|
|
@@ -19889,10 +19893,10 @@ class dP extends Et {
|
|
|
19889
19893
|
})
|
|
19890
19894
|
).attr("opacity", 1).attr(
|
|
19891
19895
|
"x",
|
|
19892
|
-
($) => Yt(x($), _.range()[1] + h,
|
|
19896
|
+
($) => Yt(x($), _.range()[1] + h, D).x
|
|
19893
19897
|
).attr(
|
|
19894
19898
|
"y",
|
|
19895
|
-
($) => Yt(x($), _.range()[1] + h,
|
|
19899
|
+
($) => Yt(x($), _.range()[1] + h, D).y
|
|
19896
19900
|
).end().finally(() => {
|
|
19897
19901
|
const $ = b(o, "radar", "alignment"), U = this.getAlignmentXOffset($, n, this.getParent());
|
|
19898
19902
|
n.attr("x", U);
|
|
@@ -19917,7 +19921,7 @@ class dP extends Et {
|
|
|
19917
19921
|
})
|
|
19918
19922
|
).attr("role", ht.GRAPHICS_SYMBOL).attr("aria-label", (L) => L.name).attr("opacity", 0).attr(
|
|
19919
19923
|
"transform",
|
|
19920
|
-
t ? () => `translate(${
|
|
19924
|
+
t ? () => `translate(${D.x}, ${D.y}) scale(${1 + Math.random() * 0.35})` : `translate(${D.x}, ${D.y})`
|
|
19921
19925
|
).style("fill", (L) => A(L.name)).style("fill-opacity", sr.opacity.selected).style("stroke", (L) => A(L.name)).call((L) => {
|
|
19922
19926
|
const $ = L.transition().call(
|
|
19923
19927
|
(U) => this.services.transitions.setupTransition({
|
|
@@ -19926,7 +19930,7 @@ class dP extends Et {
|
|
|
19926
19930
|
animate: t
|
|
19927
19931
|
})
|
|
19928
19932
|
);
|
|
19929
|
-
t && $.delay(() => Math.random() * 30).attr("transform", `translate(${
|
|
19933
|
+
t && $.delay(() => Math.random() * 30).attr("transform", `translate(${D.x}, ${D.y})`), $.attr("opacity", 1).attr("d", (U) => k(U.data));
|
|
19930
19934
|
}),
|
|
19931
19935
|
(E) => (E.attr(
|
|
19932
19936
|
"class",
|
|
@@ -19942,7 +19946,7 @@ class dP extends Et {
|
|
|
19942
19946
|
name: "radar_blobs_update",
|
|
19943
19947
|
animate: t
|
|
19944
19948
|
})
|
|
19945
|
-
).attr("opacity", 1).attr("transform", `translate(${
|
|
19949
|
+
).attr("opacity", 1).attr("transform", `translate(${D.x}, ${D.y})`).attr("d", ($) => k($.data))
|
|
19946
19950
|
), E),
|
|
19947
19951
|
(E) => E.call((L) => {
|
|
19948
19952
|
const $ = L.transition().call(
|
|
@@ -19954,7 +19958,7 @@ class dP extends Et {
|
|
|
19954
19958
|
);
|
|
19955
19959
|
t && $.delay(() => Math.random() * 30).attr(
|
|
19956
19960
|
"transform",
|
|
19957
|
-
() => `translate(${
|
|
19961
|
+
() => `translate(${D.x}, ${D.y}) scale(${1 + Math.random() * 0.35})`
|
|
19958
19962
|
), $.attr("opacity", 0).remove();
|
|
19959
19963
|
})
|
|
19960
19964
|
), N.appendOrSelect(n, "g.dots").attr("role", ht.GROUP).selectAll("circle").data(this.fullDataNormalized.filter((E) => b(E, d) !== null)).join(
|
|
@@ -19968,17 +19972,17 @@ class dP extends Et {
|
|
|
19968
19972
|
dataGroupName: E[l],
|
|
19969
19973
|
originalClassName: Nr(E[u])
|
|
19970
19974
|
})
|
|
19971
|
-
).attr("cx", (E) => Yt(x(E[u]), _(E[d]),
|
|
19975
|
+
).attr("cx", (E) => Yt(x(E[u]), _(E[d]), D).x).attr("cy", (E) => Yt(x(E[u]), _(E[d]), D).y).attr("r", 0).attr("opacity", 0).style("fill", (E) => A(E[l])), N.appendOrSelect(n, "g.x-axes-rect").attr("role", ht.GROUP).selectAll("rect").data(this.uniqueKeys).join(
|
|
19972
19976
|
(E) => E.append("rect"),
|
|
19973
19977
|
(E) => E,
|
|
19974
19978
|
(E) => E.remove()
|
|
19975
|
-
).attr("x",
|
|
19979
|
+
).attr("x", D.x).attr("y", D.y - m / 2).attr("width", _.range()[1]).attr("height", m).style("fill", "red").style("fill-opacity", 0).attr("transform", (E) => `rotate(${Vv(x(E))}, ${D.x}, ${D.y})`);
|
|
19976
19980
|
const { code: P, number: V } = b(o, "locale");
|
|
19977
19981
|
N.appendOrSelect(n, "g.y-labels").attr("role", ht.GROUP).selectAll("text").data(We(S)).join(
|
|
19978
19982
|
(E) => E.append("text").attr("opacity", 0).text((L) => V(L, P)).attr(
|
|
19979
19983
|
"x",
|
|
19980
|
-
(L) => Yt(-Math.PI / 2, _(L),
|
|
19981
|
-
).attr("y", (L) => Yt(-Math.PI / 2, _(L),
|
|
19984
|
+
(L) => Yt(-Math.PI / 2, _(L), D).x + f
|
|
19985
|
+
).attr("y", (L) => Yt(-Math.PI / 2, _(L), D).y).style("text-anchor", "start").style("dominant-baseline", "middle").call(
|
|
19982
19986
|
(L) => L.transition().call(
|
|
19983
19987
|
($) => this.services.transitions.setupTransition({
|
|
19984
19988
|
transition: $,
|
|
@@ -19996,8 +20000,8 @@ class dP extends Et {
|
|
|
19996
20000
|
})
|
|
19997
20001
|
).text(($) => $).attr("opacity", 1).attr(
|
|
19998
20002
|
"x",
|
|
19999
|
-
($) => Yt(-Math.PI / 2, _($),
|
|
20000
|
-
).attr("y", ($) => Yt(-Math.PI / 2, _($),
|
|
20003
|
+
($) => Yt(-Math.PI / 2, _($), D).x + f
|
|
20004
|
+
).attr("y", ($) => Yt(-Math.PI / 2, _($), D).y)
|
|
20001
20005
|
),
|
|
20002
20006
|
(E) => E.call(
|
|
20003
20007
|
(L) => L.transition().call(
|
|
@@ -20231,7 +20235,7 @@ class A0 extends Et {
|
|
|
20231
20235
|
percentage: a,
|
|
20232
20236
|
groups: this.configs.groups
|
|
20233
20237
|
}), l = b(o, 0, 0), c = this.services.cartesianScales.getDomainAxisPosition({ datum: l }), u = this.services.cartesianScales.getRangeAxisPosition({ datum: l }), d = this.services.cartesianScales.getScaleByPosition(u), h = n.selectAll("path.area").data(o, (f) => b(f, 0, s));
|
|
20234
|
-
this.areaGenerator =
|
|
20238
|
+
this.areaGenerator = Du().x(
|
|
20235
20239
|
(f) => this.services.cartesianScales.getValueThroughAxisPosition(
|
|
20236
20240
|
c,
|
|
20237
20241
|
f.data.sharedStackKey
|
|
@@ -20467,17 +20471,17 @@ class pP extends Et {
|
|
|
20467
20471
|
children: a
|
|
20468
20472
|
}), f = 10, p = r / 6, v = (S) => {
|
|
20469
20473
|
const A = h.descendants().reverse(), k = h.links();
|
|
20470
|
-
let
|
|
20474
|
+
let R = h, D = h;
|
|
20471
20475
|
h.eachBefore((U) => {
|
|
20472
|
-
U.x <
|
|
20476
|
+
U.x < R.x && (R = U), U.x > D.x && (D = U);
|
|
20473
20477
|
});
|
|
20474
|
-
const T =
|
|
20478
|
+
const T = D.x - R.x, H = n.transition().call(
|
|
20475
20479
|
(U) => this.services.transitions.setupTransition({
|
|
20476
20480
|
transition: U,
|
|
20477
20481
|
name: "tree-update-viewbox",
|
|
20478
20482
|
animate: !0
|
|
20479
20483
|
})
|
|
20480
|
-
).attr("viewBox", [-d.left,
|
|
20484
|
+
).attr("viewBox", [-d.left, R.x, r, T].join(" ")), P = _.selectAll("g").data(A, (U) => U.id), V = this, E = P.enter().append("g").attr("transform", () => `translate(${S.y0},${S.x0})`).attr(
|
|
20481
20485
|
"class",
|
|
20482
20486
|
(U) => U.depth !== 0 && U.children && U.children.length > 0 ? "clickable" : null
|
|
20483
20487
|
).on("mouseover", function(U, B) {
|
|
@@ -20535,13 +20539,13 @@ var mP = "#000000", gP = "#ffffff", vP = "#fcf4d6", yP = "#fddc69", xP = "#f1c21
|
|
|
20535
20539
|
80: SP,
|
|
20536
20540
|
90: OP,
|
|
20537
20541
|
100: TP
|
|
20538
|
-
}, CP = "#fff2e8", AP = "#ffd9be", $P = "#ffb784", LP = "#ff832b",
|
|
20542
|
+
}, CP = "#fff2e8", AP = "#ffd9be", $P = "#ffb784", LP = "#ff832b", DP = "#eb6200", RP = "#ba4e00", kP = "#8a3800", IP = "#5e2900", NP = "#3e1a00", PP = "#231000", UP = {
|
|
20539
20543
|
10: CP,
|
|
20540
20544
|
20: AP,
|
|
20541
20545
|
30: $P,
|
|
20542
20546
|
40: LP,
|
|
20543
|
-
50:
|
|
20544
|
-
60:
|
|
20547
|
+
50: DP,
|
|
20548
|
+
60: RP,
|
|
20545
20549
|
70: kP,
|
|
20546
20550
|
80: IP,
|
|
20547
20551
|
90: NP,
|
|
@@ -20590,12 +20594,12 @@ var mP = "#000000", gP = "#ffffff", vP = "#fcf4d6", yP = "#fddc69", xP = "#f1c21
|
|
|
20590
20594
|
80: OU,
|
|
20591
20595
|
90: TU,
|
|
20592
20596
|
100: MU
|
|
20593
|
-
}, AU = "#e5f6ff", $U = "#bae6ff", LU = "#82cfff",
|
|
20597
|
+
}, AU = "#e5f6ff", $U = "#bae6ff", LU = "#82cfff", DU = "#33b1ff", RU = "#1192e8", kU = "#0072c3", IU = "#00539a", NU = "#003a6d", PU = "#012749", UU = "#061727", BU = {
|
|
20594
20598
|
10: AU,
|
|
20595
20599
|
20: $U,
|
|
20596
20600
|
30: LU,
|
|
20597
|
-
40:
|
|
20598
|
-
50:
|
|
20601
|
+
40: DU,
|
|
20602
|
+
50: RU,
|
|
20599
20603
|
60: kU,
|
|
20600
20604
|
70: IU,
|
|
20601
20605
|
80: NU,
|
|
@@ -20645,11 +20649,11 @@ var mP = "#000000", gP = "#ffffff", vP = "#fcf4d6", yP = "#fddc69", xP = "#f1c21
|
|
|
20645
20649
|
80: TB,
|
|
20646
20650
|
90: MB,
|
|
20647
20651
|
100: CB
|
|
20648
|
-
}, $B = "#f7f3f2", LB = "#e5e0df",
|
|
20652
|
+
}, $B = "#f7f3f2", LB = "#e5e0df", DB = "#cac5c4", RB = "#ada8a8", kB = "#8f8b8b", IB = "#726e6e", NB = "#565151", PB = "#3c3838", UB = "#272525", BB = "#171414", VB = {
|
|
20649
20653
|
10: $B,
|
|
20650
20654
|
20: LB,
|
|
20651
|
-
30:
|
|
20652
|
-
40:
|
|
20655
|
+
30: DB,
|
|
20656
|
+
40: RB,
|
|
20653
20657
|
50: kB,
|
|
20654
20658
|
60: IB,
|
|
20655
20659
|
70: NB,
|
|
@@ -20909,7 +20913,7 @@ class GB extends Et {
|
|
|
20909
20913
|
});
|
|
20910
20914
|
if (u === 0 || d === 0)
|
|
20911
20915
|
return;
|
|
20912
|
-
const h =
|
|
20916
|
+
const h = JR().size([u, d]).words(
|
|
20913
20917
|
i.map(function(p) {
|
|
20914
20918
|
const v = p[o];
|
|
20915
20919
|
if (typeof p[o] != "number")
|
|
@@ -21147,7 +21151,7 @@ class WB extends jB {
|
|
|
21147
21151
|
});
|
|
21148
21152
|
}
|
|
21149
21153
|
}
|
|
21150
|
-
function
|
|
21154
|
+
function D0(e) {
|
|
21151
21155
|
var t = e == null ? 0 : e.length;
|
|
21152
21156
|
return t ? Ho(e, 1) : [];
|
|
21153
21157
|
}
|
|
@@ -21271,11 +21275,11 @@ function ah(e, t) {
|
|
|
21271
21275
|
r
|
|
21272
21276
|
), n);
|
|
21273
21277
|
}
|
|
21274
|
-
function
|
|
21278
|
+
function R0(e, t) {
|
|
21275
21279
|
return ah(e, t * 12);
|
|
21276
21280
|
}
|
|
21277
21281
|
function JB(e, t) {
|
|
21278
|
-
return
|
|
21282
|
+
return R0(e, -t);
|
|
21279
21283
|
}
|
|
21280
21284
|
function t3(e, t) {
|
|
21281
21285
|
const n = St(e), r = St(t), i = n.getFullYear() - r.getFullYear(), s = n.getMonth() - r.getMonth();
|
|
@@ -21624,11 +21628,11 @@ class u3 extends Nn {
|
|
|
21624
21628
|
g.forEach((_) => {
|
|
21625
21629
|
const { ...S } = _;
|
|
21626
21630
|
let A = 0, k = 0;
|
|
21627
|
-
Object.values(S).forEach((
|
|
21628
|
-
isNaN(
|
|
21631
|
+
Object.values(S).forEach((R) => {
|
|
21632
|
+
isNaN(R) || (R < 0 ? k += R : A += R);
|
|
21629
21633
|
}), w.push([k, A]);
|
|
21630
21634
|
}), v = [
|
|
21631
|
-
...
|
|
21635
|
+
...D0(w),
|
|
21632
21636
|
...x.map((_) => _[c])
|
|
21633
21637
|
];
|
|
21634
21638
|
} else
|
|
@@ -21673,7 +21677,7 @@ class u3 extends Nn {
|
|
|
21673
21677
|
}
|
|
21674
21678
|
function h3(e, t) {
|
|
21675
21679
|
const n = new Date(e[0]), r = new Date(e[1]);
|
|
21676
|
-
return QB(r, n) > 1 ? [JB(n, t),
|
|
21680
|
+
return QB(r, n) > 1 ? [JB(n, t), R0(r, t)] : i3(r, n) > 1 ? [s3(n, t), ah(r, t)] : a3(r, n) > 1 ? [o3(n, t), k0(r, t)] : l3(r, n) > 1 ? [c3(n, t), I0(r, t)] : pp(r, n) > 30 ? [
|
|
21677
21681
|
mp(n, t * 30),
|
|
21678
21682
|
Jc(r, t * 30)
|
|
21679
21683
|
] : pp(r, n) > 1 ? [mp(n, t), Jc(r, t)] : gp(r, n) > 15 ? [
|
|
@@ -21857,7 +21861,7 @@ function N0(e) {
|
|
|
21857
21861
|
function O3(e) {
|
|
21858
21862
|
return e.split("");
|
|
21859
21863
|
}
|
|
21860
|
-
var P0 = "\\ud800-\\udfff", T3 = "\\u0300-\\u036f", M3 = "\\ufe20-\\ufe2f", C3 = "\\u20d0-\\u20ff", A3 = T3 + M3 + C3, $3 = "\\ufe0e\\ufe0f", L3 = "[" + P0 + "]", eu = "[" + A3 + "]", nu = "\\ud83c[\\udffb-\\udfff]",
|
|
21864
|
+
var P0 = "\\ud800-\\udfff", T3 = "\\u0300-\\u036f", M3 = "\\ufe20-\\ufe2f", C3 = "\\u20d0-\\u20ff", A3 = T3 + M3 + C3, $3 = "\\ufe0e\\ufe0f", L3 = "[" + P0 + "]", eu = "[" + A3 + "]", nu = "\\ud83c[\\udffb-\\udfff]", D3 = "(?:" + eu + "|" + nu + ")", U0 = "[^" + P0 + "]", B0 = "(?:\\ud83c[\\udde6-\\uddff]){2}", V0 = "[\\ud800-\\udbff][\\udc00-\\udfff]", R3 = "\\u200d", H0 = D3 + "?", F0 = "[" + $3 + "]?", k3 = "(?:" + R3 + "(?:" + [U0, B0, V0].join("|") + ")" + F0 + H0 + ")*", I3 = F0 + H0 + k3, N3 = "(?:" + [U0 + eu + "?", eu, B0, V0, L3].join("|") + ")", P3 = RegExp(nu + "(?=" + nu + ")|" + N3 + I3, "g");
|
|
21861
21865
|
function U3(e) {
|
|
21862
21866
|
return e.match(P3) || [];
|
|
21863
21867
|
}
|
|
@@ -21890,7 +21894,7 @@ class tn {
|
|
|
21890
21894
|
domUtils: N,
|
|
21891
21895
|
events: YB,
|
|
21892
21896
|
files: XB,
|
|
21893
|
-
gradientUtils:
|
|
21897
|
+
gradientUtils: Dc,
|
|
21894
21898
|
transitions: ZB
|
|
21895
21899
|
}, this.model = new dn(this.services);
|
|
21896
21900
|
}
|
|
@@ -21969,7 +21973,7 @@ class tn {
|
|
|
21969
21973
|
}
|
|
21970
21974
|
const p = {
|
|
21971
21975
|
id: "spacer",
|
|
21972
|
-
components: [new
|
|
21976
|
+
components: [new Rn(this.model, this.services)],
|
|
21973
21977
|
growth: ut.PREFERRED
|
|
21974
21978
|
}, v = {
|
|
21975
21979
|
id: "full-frame",
|
|
@@ -21994,7 +21998,7 @@ class tn {
|
|
|
21994
21998
|
const y = {
|
|
21995
21999
|
id: "spacer",
|
|
21996
22000
|
components: [
|
|
21997
|
-
new
|
|
22001
|
+
new Rn(this.model, this.services, i ? { size: 15 } : void 0)
|
|
21998
22002
|
],
|
|
21999
22003
|
growth: ut.PREFERRED
|
|
22000
22004
|
};
|
|
@@ -22054,7 +22058,7 @@ class Ee extends tn {
|
|
|
22054
22058
|
l && !c && t.push(
|
|
22055
22059
|
new b0(this.model, this.services),
|
|
22056
22060
|
new LN(this.model, this.services)
|
|
22057
|
-
), t.push(new
|
|
22061
|
+
), t.push(new RN(this.model, this.services)), t.push(new kN(this.model, this.services));
|
|
22058
22062
|
const v = {
|
|
22059
22063
|
id: "graph-frame",
|
|
22060
22064
|
components: t,
|
|
@@ -22068,7 +22072,7 @@ class Ee extends tn {
|
|
|
22068
22072
|
}
|
|
22069
22073
|
const g = {
|
|
22070
22074
|
id: "spacer",
|
|
22071
|
-
components: [new
|
|
22075
|
+
components: [new Rn(this.model, this.services)],
|
|
22072
22076
|
growth: ut.PREFERRED
|
|
22073
22077
|
}, x = {
|
|
22074
22078
|
id: "full-frame",
|
|
@@ -22089,7 +22093,7 @@ class Ee extends tn {
|
|
|
22089
22093
|
growth: ut.STRETCH
|
|
22090
22094
|
}, w = {
|
|
22091
22095
|
id: "zoom-bar",
|
|
22092
|
-
components: [new
|
|
22096
|
+
components: [new DN(this.model, this.services)],
|
|
22093
22097
|
growth: ut.PREFERRED,
|
|
22094
22098
|
renderType: nt.SVG
|
|
22095
22099
|
}, _ = [];
|
|
@@ -22098,7 +22102,7 @@ class Ee extends tn {
|
|
|
22098
22102
|
const S = {
|
|
22099
22103
|
id: "spacer",
|
|
22100
22104
|
components: [
|
|
22101
|
-
new
|
|
22105
|
+
new Rn(this.model, this.services, s ? { size: 15 } : void 0)
|
|
22102
22106
|
],
|
|
22103
22107
|
growth: ut.PREFERRED
|
|
22104
22108
|
};
|
|
@@ -22127,7 +22131,7 @@ class W3 extends tn {
|
|
|
22127
22131
|
class q3 extends Ee {
|
|
22128
22132
|
constructor(t, n) {
|
|
22129
22133
|
super(t, n), this.model.setOptions(
|
|
22130
|
-
Gt(
|
|
22134
|
+
Gt(Dn(kt.areaChart), n.options)
|
|
22131
22135
|
), this.init(t, n);
|
|
22132
22136
|
}
|
|
22133
22137
|
getComponents() {
|
|
@@ -22251,9 +22255,9 @@ class K3 extends tn {
|
|
|
22251
22255
|
components: t,
|
|
22252
22256
|
growth: ut.STRETCH,
|
|
22253
22257
|
renderType: nt.SVG
|
|
22254
|
-
}, d = b(n, "legend", "enabled") !== !1 && this.model.getOptions().legend.enabled !== !1, h = Pt.COLUMN_REVERSE, f = {
|
|
22258
|
+
}, d = b(n, "legend", "enabled") !== !1 && this.model.getOptions().legend.enabled !== !1 && this.model.getData().length > 0, h = Pt.COLUMN_REVERSE, f = {
|
|
22255
22259
|
id: "spacer",
|
|
22256
|
-
components: [new
|
|
22260
|
+
components: [new Rn(this.model, this.services, { size: 15 })],
|
|
22257
22261
|
growth: ut.PREFERRED
|
|
22258
22262
|
}, p = {
|
|
22259
22263
|
id: "full-frame",
|
|
@@ -22278,7 +22282,7 @@ class K3 extends tn {
|
|
|
22278
22282
|
const m = {
|
|
22279
22283
|
id: "spacer",
|
|
22280
22284
|
components: [
|
|
22281
|
-
new
|
|
22285
|
+
new Rn(this.model, this.services, i ? { size: 15 } : void 0)
|
|
22282
22286
|
],
|
|
22283
22287
|
growth: ut.PREFERRED
|
|
22284
22288
|
};
|
|
@@ -22349,7 +22353,7 @@ class J3 extends Ee {
|
|
|
22349
22353
|
options: a
|
|
22350
22354
|
});
|
|
22351
22355
|
}).filter((i) => i !== null);
|
|
22352
|
-
return
|
|
22356
|
+
return D0(r);
|
|
22353
22357
|
}
|
|
22354
22358
|
getComponents() {
|
|
22355
22359
|
const { comboChartTypes: t } = this.model.getOptions(), n = t.some(
|
|
@@ -22423,7 +22427,7 @@ class nV extends Ee {
|
|
|
22423
22427
|
}
|
|
22424
22428
|
class rV extends Ee {
|
|
22425
22429
|
constructor(t, n) {
|
|
22426
|
-
super(t, n), this.model = new
|
|
22430
|
+
super(t, n), this.model = new tD(this.services), this.model.setOptions(
|
|
22427
22431
|
Gt(kt.heatmapChart, n.options)
|
|
22428
22432
|
), this.init(t, n);
|
|
22429
22433
|
}
|
|
@@ -22472,9 +22476,9 @@ class rV extends Ee {
|
|
|
22472
22476
|
components: t,
|
|
22473
22477
|
growth: ut.STRETCH,
|
|
22474
22478
|
renderType: nt.SVG
|
|
22475
|
-
}, d = b(n, "legend", "enabled") !== !1 && this.model.getOptions().legend.enabled !== !1, h = Pt.COLUMN_REVERSE, f = {
|
|
22479
|
+
}, d = b(n, "legend", "enabled") !== !1 && this.model.getOptions().legend.enabled !== !1 && this.model.getData().length > 0, h = Pt.COLUMN_REVERSE, f = {
|
|
22476
22480
|
id: "spacer",
|
|
22477
|
-
components: [new
|
|
22481
|
+
components: [new Rn(this.model, this.services, { size: 15 })],
|
|
22478
22482
|
growth: ut.PREFERRED
|
|
22479
22483
|
}, p = {
|
|
22480
22484
|
id: "full-frame",
|
|
@@ -22499,7 +22503,7 @@ class rV extends Ee {
|
|
|
22499
22503
|
const m = {
|
|
22500
22504
|
id: "spacer",
|
|
22501
22505
|
components: [
|
|
22502
|
-
new
|
|
22506
|
+
new Rn(this.model, this.services, i ? { size: 15 } : void 0)
|
|
22503
22507
|
],
|
|
22504
22508
|
growth: ut.PREFERRED
|
|
22505
22509
|
};
|
|
@@ -22523,7 +22527,7 @@ class rV extends Ee {
|
|
|
22523
22527
|
}
|
|
22524
22528
|
class iV extends Ee {
|
|
22525
22529
|
constructor(t, n) {
|
|
22526
|
-
super(t, n), this.model = new
|
|
22530
|
+
super(t, n), this.model = new eD(this.services), this.model.setOptions(Gt(kt.histogramChart, n.options)), this.init(t, n), this.update();
|
|
22527
22531
|
}
|
|
22528
22532
|
getComponents() {
|
|
22529
22533
|
const t = [
|
|
@@ -22573,8 +22577,8 @@ class aV extends Ee {
|
|
|
22573
22577
|
class oV extends tn {
|
|
22574
22578
|
constructor(t, n) {
|
|
22575
22579
|
var r;
|
|
22576
|
-
super(t, n), this.model = new
|
|
22577
|
-
const i = (r = n.options.meter) != null && r.proportional ? lt(
|
|
22580
|
+
super(t, n), this.model = new nD(this.services);
|
|
22581
|
+
const i = (r = n.options.meter) != null && r.proportional ? lt(Dn(kt.proportionalMeterChart), n.options) : lt(Dn(kt.meterChart), n.options);
|
|
22578
22582
|
this.model.setOptions(i), this.init(t, n);
|
|
22579
22583
|
}
|
|
22580
22584
|
getComponents() {
|
|
@@ -22591,7 +22595,7 @@ class oV extends tn {
|
|
|
22591
22595
|
{
|
|
22592
22596
|
id: "spacer",
|
|
22593
22597
|
components: [
|
|
22594
|
-
new
|
|
22598
|
+
new Rn(this.model, this.services, {
|
|
22595
22599
|
size: 8
|
|
22596
22600
|
})
|
|
22597
22601
|
],
|
|
@@ -22617,7 +22621,7 @@ class oV extends tn {
|
|
|
22617
22621
|
}
|
|
22618
22622
|
class lV extends tn {
|
|
22619
22623
|
constructor(t, n) {
|
|
22620
|
-
super(t, n), this.model = new
|
|
22624
|
+
super(t, n), this.model = new rD(this.services), this.model.setOptions(Gt(kt.radarChart, n.options)), this.init(t, n);
|
|
22621
22625
|
}
|
|
22622
22626
|
getComponents() {
|
|
22623
22627
|
const t = [new dP(this.model, this.services)];
|
|
@@ -22643,7 +22647,7 @@ class cV extends Ee {
|
|
|
22643
22647
|
}
|
|
22644
22648
|
class uV extends tn {
|
|
22645
22649
|
constructor(t, n) {
|
|
22646
|
-
super(t, n), this.model = new
|
|
22650
|
+
super(t, n), this.model = new iD(this.services), this.model.setOptions(Gt(kt.treeChart, n.options)), this.init(t, n);
|
|
22647
22651
|
}
|
|
22648
22652
|
getComponents() {
|
|
22649
22653
|
const t = [new pP(this.model, this.services)];
|
|
@@ -22654,7 +22658,7 @@ class uV extends tn {
|
|
|
22654
22658
|
}
|
|
22655
22659
|
class hV extends tn {
|
|
22656
22660
|
constructor(t, n) {
|
|
22657
|
-
super(t, n), this.model = new
|
|
22661
|
+
super(t, n), this.model = new sD(this.services), this.model.setOptions(Gt(kt.treemapChart, n.options)), this.init(t, n);
|
|
22658
22662
|
}
|
|
22659
22663
|
getComponents() {
|
|
22660
22664
|
const t = [new zB(this.model, this.services)];
|
|
@@ -22721,7 +22725,7 @@ class pV extends Ee {
|
|
|
22721
22725
|
}
|
|
22722
22726
|
class mV extends tn {
|
|
22723
22727
|
constructor(t, n) {
|
|
22724
|
-
super(t, n), this.model = new
|
|
22728
|
+
super(t, n), this.model = new aD(this.services), this.model.setOptions(Gt(kt.wordCloudChart, n.options)), this.init(t, n);
|
|
22725
22729
|
}
|
|
22726
22730
|
getComponents() {
|
|
22727
22731
|
const t = [
|
|
@@ -22771,14 +22775,14 @@ function gV() {
|
|
|
22771
22775
|
M.unshift("Warning: " + W), Function.prototype.apply.call(console[C], console, M);
|
|
22772
22776
|
}
|
|
22773
22777
|
}
|
|
22774
|
-
var w = !1, _ = !1, S = !1, A = !1, k = !1,
|
|
22775
|
-
|
|
22776
|
-
function
|
|
22778
|
+
var w = !1, _ = !1, S = !1, A = !1, k = !1, R;
|
|
22779
|
+
R = Symbol.for("react.module.reference");
|
|
22780
|
+
function D(C) {
|
|
22777
22781
|
return !!(typeof C == "string" || typeof C == "function" || C === r || C === s || k || C === i || C === c || C === u || A || C === f || w || _ || S || typeof C == "object" && C !== null && (C.$$typeof === h || C.$$typeof === d || C.$$typeof === a || C.$$typeof === o || C.$$typeof === l || // This needs to include all possible module reference object
|
|
22778
22782
|
// types supported by any Flight configuration anywhere since
|
|
22779
22783
|
// we don't know which Flight build this will end up being used
|
|
22780
22784
|
// with.
|
|
22781
|
-
C.$$typeof ===
|
|
22785
|
+
C.$$typeof === R || C.getModuleId !== void 0));
|
|
22782
22786
|
}
|
|
22783
22787
|
function T(C, W, Z) {
|
|
22784
22788
|
var ot = C.displayName;
|
|
@@ -23023,13 +23027,13 @@ function gV() {
|
|
|
23023
23027
|
}
|
|
23024
23028
|
return "";
|
|
23025
23029
|
}
|
|
23026
|
-
var Bt = Object.prototype.hasOwnProperty, rt = {},
|
|
23027
|
-
function
|
|
23030
|
+
var Bt = Object.prototype.hasOwnProperty, rt = {}, Dt = y.ReactDebugCurrentFrame;
|
|
23031
|
+
function De(C) {
|
|
23028
23032
|
if (C) {
|
|
23029
23033
|
var W = C._owner, Z = Ut(C.type, C._source, W ? W.type : null);
|
|
23030
|
-
|
|
23034
|
+
Dt.setExtraStackFrame(Z);
|
|
23031
23035
|
} else
|
|
23032
|
-
|
|
23036
|
+
Dt.setExtraStackFrame(null);
|
|
23033
23037
|
}
|
|
23034
23038
|
function me(C, W, Z, ot, wt) {
|
|
23035
23039
|
{
|
|
@@ -23046,7 +23050,7 @@ function gV() {
|
|
|
23046
23050
|
} catch (mt) {
|
|
23047
23051
|
F = mt;
|
|
23048
23052
|
}
|
|
23049
|
-
F && !(F instanceof Error) && (
|
|
23053
|
+
F && !(F instanceof Error) && (De(wt), g("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", ot || "React class", Z, j, typeof F), De(null)), F instanceof Error && !(F.message in rt) && (rt[F.message] = !0, De(wt), g("Failed %s type: %s", Z, F.message), De(null));
|
|
23050
23054
|
}
|
|
23051
23055
|
}
|
|
23052
23056
|
}
|
|
@@ -23292,7 +23296,7 @@ Check the top-level render call using <` + Z + ">.");
|
|
|
23292
23296
|
}
|
|
23293
23297
|
function Si(C, W, Z, ot, wt, M) {
|
|
23294
23298
|
{
|
|
23295
|
-
var j =
|
|
23299
|
+
var j = D(C);
|
|
23296
23300
|
if (!j) {
|
|
23297
23301
|
var F = "";
|
|
23298
23302
|
(C === void 0 || typeof C == "object" && C !== null && Object.keys(C).length === 0) && (F += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|