@carbon/charts 1.20.0 → 1.21.4
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/CHANGELOG.md +75 -0
- package/dist/{angle-utils-CkmwGwzz.mjs → angle-utils-CGNI01fr.mjs} +2 -2
- package/dist/{angle-utils-CkmwGwzz.mjs.map → angle-utils-CGNI01fr.mjs.map} +1 -1
- package/dist/{array-CpuOY0Tp.mjs → array-D7iT_STy.mjs} +2 -2
- package/dist/{array-CpuOY0Tp.mjs.map → array-D7iT_STy.mjs.map} +1 -1
- package/dist/{choropleth-DQ5VXBbs.mjs → choropleth-CeqRIFeN.mjs} +178 -181
- package/dist/{choropleth-DQ5VXBbs.mjs.map → choropleth-CeqRIFeN.mjs.map} +1 -1
- package/dist/{color-scale-utils-Be_a2c4x.mjs → color-scale-utils-f3PWy_Op.mjs} +3 -3
- package/dist/{color-scale-utils-Be_a2c4x.mjs.map → color-scale-utils-f3PWy_Op.mjs.map} +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/{index-FK7aFzKz.mjs → index-DFubnvsv.mjs} +3 -3
- package/dist/{index-FK7aFzKz.mjs.map → index-DFubnvsv.mjs.map} +1 -1
- package/dist/index.mjs +7 -7
- package/dist/model/index.mjs +2 -2
- package/dist/services/index.mjs +3 -3
- package/dist/umd/bundle.umd.cjs +12 -12
- package/dist/umd/bundle.umd.cjs.map +1 -1
- package/dist/umd/bundle.umd.js +12 -12
- package/package.json +17 -17
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as go, $ as
|
|
1
|
+
import { t as go, $ as Bl, i as Gl, a0 as mo, a1 as vo, a2 as Hl, a3 as Ul, a4 as zl, a5 as Fl, a6 as Wl, a7 as yo, a8 as zr, a9 as en, g as T, p as qt, a as tn, C as Fr, aa as yt, w as wt, ab as Cn, H as Yt, E as Wr, ac as Eo, ad as ks, c as Xl, ae as ye, I as yi, K as Ei, e as ee, af as mn, ag as fe, f as me, x as ge, ah as jl, h as qe, O as Yl, ai as ke, z as vt, l as jt, aj as $t, ak as ql, M as Zl, al as So, y as _t, q as un, n as Gn, am as Us, an as Kl, ao as Jl, ap as Si, aq as Xr, A as Te, ar as jr, as as xo, at as Ql } from "./color-scale-utils-f3PWy_Op.mjs";
|
|
2
2
|
import { y as st, $ as x, N as xt, r as Se, q as Be, L as tc, A as Jt, m as tt, s as Oe, W as Ze, S as Mt, e as Y, Z as Ge, i as Ft, f as Yr, J as zs, d as ec, F as Hn, n as Fs, H as Ws, C as Xs, p as Un, b as qr, D as js, U as nc, x as we, a0 as zn, O as Ys } from "./axis-scales-CPuwbFQf.mjs";
|
|
3
3
|
import { R as it } from "./a11y-ePqvrObQ.mjs";
|
|
4
|
-
import { t as es, s as R, c as Zr, e as Le, f as oe, h as Kr, g as Gt, i as ns, j as Ke, m as qs, k as Jr, l as kt, n as Qr, o as sc, q as ic, u as lr, D as _, v as rc, w as xi, G as ta, x as cr, y as ac, a as oc, p as bt, r as ea, b as lc } from "./angle-utils-
|
|
5
|
-
import { b as
|
|
4
|
+
import { t as es, s as R, c as Zr, e as Le, f as oe, h as Kr, g as Gt, i as ns, j as Ke, m as qs, k as Jr, l as kt, n as Qr, o as sc, q as ic, u as lr, D as _, v as rc, w as xi, G as ta, x as cr, y as ac, a as oc, p as bt, r as ea, b as lc } from "./angle-utils-CGNI01fr.mjs";
|
|
5
|
+
import { b as bo, c as lt, a as ur, s as cc } from "./array-D7iT_STy.mjs";
|
|
6
6
|
function uc(s, t, e, n) {
|
|
7
7
|
for (var i = -1, r = s == null ? 0 : s.length; ++i < r; )
|
|
8
8
|
e = t(e, s[i], i, s);
|
|
@@ -218,14 +218,14 @@ var Oc = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
|
|
|
218
218
|
function wc(s) {
|
|
219
219
|
return Oc.test(s);
|
|
220
220
|
}
|
|
221
|
-
var
|
|
222
|
-
Xe + "?" +
|
|
221
|
+
var To = "\\ud800-\\udfff", Lc = "\\u0300-\\u036f", Ac = "\\ufe20-\\ufe2f", Mc = "\\u20d0-\\u20ff", _c = Lc + Ac + Mc, Oo = "\\u2700-\\u27bf", wo = "a-z\\xdf-\\xf6\\xf8-\\xff", Cc = "\\xac\\xb1\\xd7\\xf7", kc = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Rc = "\\u2000-\\u206f", Ic = " \\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", Lo = "A-Z\\xc0-\\xd6\\xd8-\\xde", Dc = "\\ufe0e\\ufe0f", Ao = Cc + kc + Rc + Ic, Mo = "['’]", na = "[" + Ao + "]", Pc = "[" + _c + "]", _o = "\\d+", Nc = "[" + Oo + "]", Co = "[" + wo + "]", ko = "[^" + To + Ao + _o + Oo + wo + Lo + "]", $c = "\\ud83c[\\udffb-\\udfff]", Vc = "(?:" + Pc + "|" + $c + ")", Bc = "[^" + To + "]", Ro = "(?:\\ud83c[\\udde6-\\uddff]){2}", Io = "[\\ud800-\\udbff][\\udc00-\\udfff]", Xe = "[" + Lo + "]", Gc = "\\u200d", sa = "(?:" + Co + "|" + ko + ")", Hc = "(?:" + Xe + "|" + ko + ")", ia = "(?:" + Mo + "(?:d|ll|m|re|s|t|ve))?", ra = "(?:" + Mo + "(?:D|LL|M|RE|S|T|VE))?", Do = Vc + "?", Po = "[" + Dc + "]?", Uc = "(?:" + Gc + "(?:" + [Bc, Ro, Io].join("|") + ")" + Po + Do + ")*", zc = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Fc = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Wc = Po + Do + Uc, Xc = "(?:" + [Nc, Ro, Io].join("|") + ")" + Wc, jc = RegExp([
|
|
222
|
+
Xe + "?" + Co + "+" + ia + "(?=" + [na, Xe, "$"].join("|") + ")",
|
|
223
223
|
Hc + "+" + ra + "(?=" + [na, Xe + sa, "$"].join("|") + ")",
|
|
224
224
|
Xe + "?" + sa + "+" + ia,
|
|
225
225
|
Xe + "+" + ra,
|
|
226
226
|
Fc,
|
|
227
227
|
zc,
|
|
228
|
-
|
|
228
|
+
_o,
|
|
229
229
|
Xc
|
|
230
230
|
].join("|"), "g");
|
|
231
231
|
function Yc(s) {
|
|
@@ -243,7 +243,7 @@ function Jc(s) {
|
|
|
243
243
|
function Qc(s, t, e) {
|
|
244
244
|
return s === s && (e !== void 0 && (s = s <= e ? s : e), t !== void 0 && (s = s >= t ? s : t)), s;
|
|
245
245
|
}
|
|
246
|
-
function
|
|
246
|
+
function No(s, t, e) {
|
|
247
247
|
return e === void 0 && (e = t, t = void 0), e !== void 0 && (e = es(e), e = e === e ? e : 0), t !== void 0 && (t = es(t), t = t === t ? t : 0), Qc(es(s), t, e);
|
|
248
248
|
}
|
|
249
249
|
var tu = "Expected a function";
|
|
@@ -254,37 +254,37 @@ function eu(s, t, e) {
|
|
|
254
254
|
s.apply(void 0, e);
|
|
255
255
|
}, t);
|
|
256
256
|
}
|
|
257
|
-
var nu =
|
|
257
|
+
var nu = Bl(function(s, t, e) {
|
|
258
258
|
return eu(s, es(t) || 0, e);
|
|
259
259
|
});
|
|
260
260
|
function su(s, t) {
|
|
261
|
-
var e = -1, n =
|
|
262
|
-
return
|
|
261
|
+
var e = -1, n = Gl(s) ? Array(s.length) : [];
|
|
262
|
+
return bo(s, function(i, r, a) {
|
|
263
263
|
n[++e] = t(i, r, a);
|
|
264
264
|
}), n;
|
|
265
265
|
}
|
|
266
266
|
function iu(s, t) {
|
|
267
|
-
var e = vo(s) ?
|
|
267
|
+
var e = vo(s) ? Hl : su;
|
|
268
268
|
return e(s, mo(t));
|
|
269
269
|
}
|
|
270
270
|
var ru = 1 / 0;
|
|
271
271
|
function au(s, t) {
|
|
272
|
-
return
|
|
272
|
+
return Ul(iu(s, t), ru);
|
|
273
273
|
}
|
|
274
|
-
function
|
|
275
|
-
return
|
|
274
|
+
function $o(s, t) {
|
|
275
|
+
return zl(s, t);
|
|
276
276
|
}
|
|
277
277
|
var He = Jc(function(s, t, e) {
|
|
278
278
|
return s + (e ? "-" : "") + t.toLowerCase();
|
|
279
279
|
});
|
|
280
280
|
function ou(s, t) {
|
|
281
281
|
var e;
|
|
282
|
-
return
|
|
282
|
+
return bo(s, function(n, i, r) {
|
|
283
283
|
return e = t(n, i, r), !e;
|
|
284
284
|
}), !!e;
|
|
285
285
|
}
|
|
286
286
|
function lu(s, t, e) {
|
|
287
|
-
var n = vo(s) ?
|
|
287
|
+
var n = vo(s) ? Fl : ou;
|
|
288
288
|
return n(s, mo(t));
|
|
289
289
|
}
|
|
290
290
|
class Re {
|
|
@@ -315,7 +315,7 @@ function* cu(s) {
|
|
|
315
315
|
for (const t of s)
|
|
316
316
|
yield* t;
|
|
317
317
|
}
|
|
318
|
-
function
|
|
318
|
+
function Vo(s) {
|
|
319
319
|
return Array.from(cu(s));
|
|
320
320
|
}
|
|
321
321
|
function uu(s) {
|
|
@@ -383,7 +383,7 @@ function vu(s) {
|
|
|
383
383
|
function hr(s) {
|
|
384
384
|
return Rs(bi, s);
|
|
385
385
|
}
|
|
386
|
-
function
|
|
386
|
+
function Bo(s) {
|
|
387
387
|
return Rs(vn, s);
|
|
388
388
|
}
|
|
389
389
|
const Ti = { capture: !0, passive: !1 };
|
|
@@ -521,11 +521,11 @@ function ti(s) {
|
|
|
521
521
|
function _u(s) {
|
|
522
522
|
return s[0][0] === s[1][0] || s[0][1] === s[1][1];
|
|
523
523
|
}
|
|
524
|
-
function
|
|
524
|
+
function Go() {
|
|
525
525
|
return Cu(rs);
|
|
526
526
|
}
|
|
527
527
|
function Cu(s) {
|
|
528
|
-
var t = Au, e = Lu, n = Mu, i = !0, r =
|
|
528
|
+
var t = Au, e = Lu, n = Mu, i = !0, r = Wl("start", "brush", "end"), a = 6, o;
|
|
529
529
|
function c(m) {
|
|
530
530
|
var E = m.property("__brush", g).selectAll(".overlay").data([ds("overlay")]);
|
|
531
531
|
E.enter().append("rect").attr("class", "overlay").attr("pointer-events", "all").attr("cursor", pe.overlay).merge(E).each(function() {
|
|
@@ -743,7 +743,7 @@ function Cu(s) {
|
|
|
743
743
|
}, c;
|
|
744
744
|
}
|
|
745
745
|
const wi = Math.PI, Li = 2 * wi, Ae = 1e-6, ku = Li - Ae;
|
|
746
|
-
function
|
|
746
|
+
function Ho(s) {
|
|
747
747
|
this._ += s[0];
|
|
748
748
|
for (let t = 1, e = s.length; t < e; ++t)
|
|
749
749
|
this._ += arguments[t] + s[t];
|
|
@@ -751,7 +751,7 @@ function Uo(s) {
|
|
|
751
751
|
function Ru(s) {
|
|
752
752
|
let t = Math.floor(s);
|
|
753
753
|
if (!(t >= 0)) throw new Error(`invalid digits: ${s}`);
|
|
754
|
-
if (t > 15) return
|
|
754
|
+
if (t > 15) return Ho;
|
|
755
755
|
const e = 10 ** t;
|
|
756
756
|
return function(n) {
|
|
757
757
|
this._ += n[0];
|
|
@@ -762,7 +762,7 @@ function Ru(s) {
|
|
|
762
762
|
let dr = class {
|
|
763
763
|
constructor(t) {
|
|
764
764
|
this._x0 = this._y0 = // start of current subpath
|
|
765
|
-
this._x1 = this._y1 = null, this._ = "", this._append = t == null ?
|
|
765
|
+
this._x1 = this._y1 = null, this._ = "", this._append = t == null ? Ho : Ru(t);
|
|
766
766
|
}
|
|
767
767
|
moveTo(t, e) {
|
|
768
768
|
this._append`M${this._x0 = this._x1 = +t},${this._y0 = this._y1 = +e}`;
|
|
@@ -807,7 +807,7 @@ function Is() {
|
|
|
807
807
|
return new dr();
|
|
808
808
|
}
|
|
809
809
|
Is.prototype = dr.prototype;
|
|
810
|
-
var pt = 1e-6,
|
|
810
|
+
var pt = 1e-6, Uo = 1e-12, at = Math.PI, Ht = at / 2, pa = at / 4, Wt = at * 2, Nt = 180 / at, Tt = at / 180, ft = Math.abs, zo = Math.atan, Ie = Math.atan2, gt = Math.cos, Iu = Math.exp, Du = Math.log, dt = Math.sin, be = Math.sign || function(s) {
|
|
811
811
|
return s > 0 ? 1 : s < 0 ? -1 : 0;
|
|
812
812
|
}, se = Math.sqrt, Pu = Math.tan;
|
|
813
813
|
function Nu(s) {
|
|
@@ -902,7 +902,7 @@ function ki(s, t) {
|
|
|
902
902
|
return ft(s) > at && (s -= Math.round(s / Wt) * Wt), [s, t];
|
|
903
903
|
}
|
|
904
904
|
ki.invert = ki;
|
|
905
|
-
function
|
|
905
|
+
function Fo(s, t, e) {
|
|
906
906
|
return (s %= Wt) ? t || e ? Ci(ya(s), Ea(t, e)) : ya(s) : t || e ? Ea(t, e) : ki;
|
|
907
907
|
}
|
|
908
908
|
function va(s) {
|
|
@@ -932,7 +932,7 @@ function Ea(s, t) {
|
|
|
932
932
|
}, a;
|
|
933
933
|
}
|
|
934
934
|
function $u(s) {
|
|
935
|
-
s =
|
|
935
|
+
s = Fo(s[0] * Tt, s[1] * Tt, s.length > 2 ? s[2] * Tt : 0);
|
|
936
936
|
function t(e) {
|
|
937
937
|
return e = s(e[0] * Tt, e[1] * Tt), e[0] *= Nt, e[1] *= Nt, e;
|
|
938
938
|
}
|
|
@@ -953,7 +953,7 @@ function Sa(s, t) {
|
|
|
953
953
|
var e = Nu(-t[1]);
|
|
954
954
|
return ((-t[2] < 0 ? -e : e) + Wt - pt) % Wt;
|
|
955
955
|
}
|
|
956
|
-
function
|
|
956
|
+
function Wo() {
|
|
957
957
|
var s = [], t;
|
|
958
958
|
return {
|
|
959
959
|
point: function(e, n, i) {
|
|
@@ -978,7 +978,7 @@ function as(s, t) {
|
|
|
978
978
|
function Xn(s, t, e, n) {
|
|
979
979
|
this.x = s, this.z = t, this.o = e, this.e = n, this.v = !1, this.n = this.p = null;
|
|
980
980
|
}
|
|
981
|
-
function
|
|
981
|
+
function Xo(s, t, e, n, i) {
|
|
982
982
|
var r = [], a = [], o, c;
|
|
983
983
|
if (s.forEach(function(f) {
|
|
984
984
|
if (!((g = f.length - 1) <= 0)) {
|
|
@@ -1045,11 +1045,11 @@ function Bu(s, t) {
|
|
|
1045
1045
|
(n > w || n === w && (D[0] || D[1])) && (o += L ^ k >= 0 ? 1 : -1);
|
|
1046
1046
|
}
|
|
1047
1047
|
}
|
|
1048
|
-
return (a < -pt || a < pt && c < -
|
|
1048
|
+
return (a < -pt || a < pt && c < -Uo) ^ o & 1;
|
|
1049
1049
|
}
|
|
1050
|
-
function
|
|
1050
|
+
function jo(s, t, e, n) {
|
|
1051
1051
|
return function(i) {
|
|
1052
|
-
var r = t(i), a =
|
|
1052
|
+
var r = t(i), a = Wo(), o = t(a), c = !1, l, h, d, u = {
|
|
1053
1053
|
point: p,
|
|
1054
1054
|
lineStart: g,
|
|
1055
1055
|
lineEnd: m,
|
|
@@ -1057,9 +1057,9 @@ function Yo(s, t, e, n) {
|
|
|
1057
1057
|
u.point = E, u.lineStart = y, u.lineEnd = v, h = [], l = [];
|
|
1058
1058
|
},
|
|
1059
1059
|
polygonEnd: function() {
|
|
1060
|
-
u.point = p, u.lineStart = g, u.lineEnd = m, h =
|
|
1060
|
+
u.point = p, u.lineStart = g, u.lineEnd = m, h = Vo(h);
|
|
1061
1061
|
var S = Bu(l, n);
|
|
1062
|
-
h.length ? (c || (i.polygonStart(), c = !0),
|
|
1062
|
+
h.length ? (c || (i.polygonStart(), c = !0), Xo(h, Hu, S, e, i)) : S && (c || (i.polygonStart(), c = !0), i.lineStart(), e(null, null, 1, i), i.lineEnd()), c && (i.polygonEnd(), c = !1), h = l = null;
|
|
1063
1063
|
},
|
|
1064
1064
|
sphere: function() {
|
|
1065
1065
|
i.polygonStart(), i.lineStart(), e(null, null, 1, i), i.lineEnd(), i.polygonEnd();
|
|
@@ -1106,7 +1106,7 @@ function Gu(s) {
|
|
|
1106
1106
|
function Hu(s, t) {
|
|
1107
1107
|
return ((s = s.x)[0] < 0 ? s[1] - Ht - pt : Ht - s[1]) - ((t = t.x)[0] < 0 ? t[1] - Ht - pt : Ht - t[1]);
|
|
1108
1108
|
}
|
|
1109
|
-
const ba =
|
|
1109
|
+
const ba = jo(
|
|
1110
1110
|
function() {
|
|
1111
1111
|
return !0;
|
|
1112
1112
|
},
|
|
@@ -1134,7 +1134,7 @@ function Uu(s) {
|
|
|
1134
1134
|
}
|
|
1135
1135
|
function zu(s, t, e, n) {
|
|
1136
1136
|
var i, r, a = dt(s - e);
|
|
1137
|
-
return ft(a) > pt ?
|
|
1137
|
+
return ft(a) > pt ? zo((dt(t) * (r = gt(n)) * dt(e) - dt(n) * (i = gt(t)) * dt(s)) / (i * r * a)) : (t + n) / 2;
|
|
1138
1138
|
}
|
|
1139
1139
|
function Fu(s, t, e, n) {
|
|
1140
1140
|
var i;
|
|
@@ -1202,7 +1202,7 @@ function Wu(s) {
|
|
|
1202
1202
|
var u = n ? s : at - s, p = 0;
|
|
1203
1203
|
return h < -u ? p |= 1 : h > u && (p |= 2), d < -u ? p |= 4 : d > u && (p |= 8), p;
|
|
1204
1204
|
}
|
|
1205
|
-
return
|
|
1205
|
+
return jo(a, o, r, n ? [0, -s] : [-at, s - at]);
|
|
1206
1206
|
}
|
|
1207
1207
|
function Xu(s, t, e, n, i, r) {
|
|
1208
1208
|
var a = s[0], o = s[1], c = t[0], l = t[1], h = 0, d = 1, u = c - a, p = l - o, f;
|
|
@@ -1269,7 +1269,7 @@ function ju(s, t, e, n) {
|
|
|
1269
1269
|
return d !== u ? d - u : d === 0 ? h[1] - l[1] : d === 1 ? l[0] - h[0] : d === 2 ? l[1] - h[1] : h[0] - l[0];
|
|
1270
1270
|
}
|
|
1271
1271
|
return function(l) {
|
|
1272
|
-
var h = l, d =
|
|
1272
|
+
var h = l, d = Wo(), u, p, f, g, m, E, y, v, S, b, O, I = {
|
|
1273
1273
|
point: k,
|
|
1274
1274
|
lineStart: B,
|
|
1275
1275
|
lineEnd: D,
|
|
@@ -1289,8 +1289,8 @@ function ju(s, t, e, n) {
|
|
|
1289
1289
|
h = d, u = [], p = [], O = !0;
|
|
1290
1290
|
}
|
|
1291
1291
|
function L() {
|
|
1292
|
-
var w = G(), V = O && w, N = (u =
|
|
1293
|
-
(V || N) && (l.polygonStart(), V && (l.lineStart(), r(null, null, 1, l), l.lineEnd()), N &&
|
|
1292
|
+
var w = G(), V = O && w, N = (u = Vo(u)).length;
|
|
1293
|
+
(V || N) && (l.polygonStart(), V && (l.lineStart(), r(null, null, 1, l), l.lineEnd()), N && Xo(u, o, w, r, l), l.polygonEnd()), h = l, u = p = f = null;
|
|
1294
1294
|
}
|
|
1295
1295
|
function B() {
|
|
1296
1296
|
I.point = A, p && p.push(f = []), b = !0, S = !1, y = v = NaN;
|
|
@@ -1313,7 +1313,7 @@ function ju(s, t, e, n) {
|
|
|
1313
1313
|
};
|
|
1314
1314
|
}
|
|
1315
1315
|
const Ri = (s) => s;
|
|
1316
|
-
var si = new Re(), Ii = new Re(),
|
|
1316
|
+
var si = new Re(), Ii = new Re(), Yo, qo, Di, Pi, ve = {
|
|
1317
1317
|
point: Kt,
|
|
1318
1318
|
lineStart: Kt,
|
|
1319
1319
|
lineEnd: Kt,
|
|
@@ -1332,13 +1332,13 @@ function Yu() {
|
|
|
1332
1332
|
ve.point = qu;
|
|
1333
1333
|
}
|
|
1334
1334
|
function qu(s, t) {
|
|
1335
|
-
ve.point =
|
|
1335
|
+
ve.point = Zo, Yo = Di = s, qo = Pi = t;
|
|
1336
1336
|
}
|
|
1337
|
-
function
|
|
1337
|
+
function Zo(s, t) {
|
|
1338
1338
|
Ii.add(Pi * s - Di * t), Di = s, Pi = t;
|
|
1339
1339
|
}
|
|
1340
1340
|
function Zu() {
|
|
1341
|
-
|
|
1341
|
+
Zo(Yo, qo);
|
|
1342
1342
|
}
|
|
1343
1343
|
var sn = 1 / 0, gs = sn, kn = -sn, ms = kn, vs = {
|
|
1344
1344
|
point: Ku,
|
|
@@ -1354,7 +1354,7 @@ var sn = 1 / 0, gs = sn, kn = -sn, ms = kn, vs = {
|
|
|
1354
1354
|
function Ku(s, t) {
|
|
1355
1355
|
s < sn && (sn = s), s > kn && (kn = s), t < gs && (gs = t), t > ms && (ms = t);
|
|
1356
1356
|
}
|
|
1357
|
-
var Ni = 0, $i = 0, En = 0, ys = 0, Es = 0, Je = 0, Vi = 0, Bi = 0, Sn = 0,
|
|
1357
|
+
var Ni = 0, $i = 0, En = 0, ys = 0, Es = 0, Je = 0, Vi = 0, Bi = 0, Sn = 0, Ko, Jo, le, ce, Zt = {
|
|
1358
1358
|
point: De,
|
|
1359
1359
|
lineStart: Ta,
|
|
1360
1360
|
lineEnd: Oa,
|
|
@@ -1389,19 +1389,19 @@ function th() {
|
|
|
1389
1389
|
Zt.point = nh;
|
|
1390
1390
|
}
|
|
1391
1391
|
function eh() {
|
|
1392
|
-
|
|
1392
|
+
Qo(Ko, Jo);
|
|
1393
1393
|
}
|
|
1394
1394
|
function nh(s, t) {
|
|
1395
|
-
Zt.point =
|
|
1395
|
+
Zt.point = Qo, De(Ko = le = s, Jo = ce = t);
|
|
1396
1396
|
}
|
|
1397
|
-
function
|
|
1397
|
+
function Qo(s, t) {
|
|
1398
1398
|
var e = s - le, n = t - ce, i = se(e * e + n * n);
|
|
1399
1399
|
ys += i * (le + s) / 2, Es += i * (ce + t) / 2, Je += i, i = ce * s - le * t, Vi += i * (le + s), Bi += i * (ce + t), Sn += i * 3, De(le = s, ce = t);
|
|
1400
1400
|
}
|
|
1401
|
-
function
|
|
1401
|
+
function tl(s) {
|
|
1402
1402
|
this._context = s;
|
|
1403
1403
|
}
|
|
1404
|
-
|
|
1404
|
+
tl.prototype = {
|
|
1405
1405
|
_radius: 4.5,
|
|
1406
1406
|
pointRadius: function(s) {
|
|
1407
1407
|
return this._radius = s, this;
|
|
@@ -1436,13 +1436,13 @@ el.prototype = {
|
|
|
1436
1436
|
},
|
|
1437
1437
|
result: Kt
|
|
1438
1438
|
};
|
|
1439
|
-
var Gi = new Re(), ii,
|
|
1439
|
+
var Gi = new Re(), ii, el, nl, xn, bn, Rn = {
|
|
1440
1440
|
point: Kt,
|
|
1441
1441
|
lineStart: function() {
|
|
1442
1442
|
Rn.point = sh;
|
|
1443
1443
|
},
|
|
1444
1444
|
lineEnd: function() {
|
|
1445
|
-
ii &&
|
|
1445
|
+
ii && sl(el, nl), Rn.point = Kt;
|
|
1446
1446
|
},
|
|
1447
1447
|
polygonStart: function() {
|
|
1448
1448
|
ii = !0;
|
|
@@ -1456,15 +1456,15 @@ var Gi = new Re(), ii, nl, sl, xn, bn, Rn = {
|
|
|
1456
1456
|
}
|
|
1457
1457
|
};
|
|
1458
1458
|
function sh(s, t) {
|
|
1459
|
-
Rn.point =
|
|
1459
|
+
Rn.point = sl, el = xn = s, nl = bn = t;
|
|
1460
1460
|
}
|
|
1461
|
-
function
|
|
1461
|
+
function sl(s, t) {
|
|
1462
1462
|
xn -= s, bn -= t, Gi.add(se(xn * xn + bn * bn)), xn = s, bn = t;
|
|
1463
1463
|
}
|
|
1464
1464
|
let wa, Ss, La, Aa;
|
|
1465
1465
|
class Ma {
|
|
1466
1466
|
constructor(t) {
|
|
1467
|
-
this._append = t == null ?
|
|
1467
|
+
this._append = t == null ? il : ih(t), this._radius = 4.5, this._ = "";
|
|
1468
1468
|
}
|
|
1469
1469
|
pointRadius(t) {
|
|
1470
1470
|
return this._radius = +t, this;
|
|
@@ -1506,7 +1506,7 @@ class Ma {
|
|
|
1506
1506
|
return this._ = "", t.length ? t : null;
|
|
1507
1507
|
}
|
|
1508
1508
|
}
|
|
1509
|
-
function
|
|
1509
|
+
function il(s) {
|
|
1510
1510
|
let t = 1;
|
|
1511
1511
|
this._ += s[0];
|
|
1512
1512
|
for (const e = s.length; t < e; ++t)
|
|
@@ -1515,7 +1515,7 @@ function rl(s) {
|
|
|
1515
1515
|
function ih(s) {
|
|
1516
1516
|
const t = Math.floor(s);
|
|
1517
1517
|
if (!(t >= 0)) throw new RangeError(`invalid digits: ${s}`);
|
|
1518
|
-
if (t > 15) return
|
|
1518
|
+
if (t > 15) return il;
|
|
1519
1519
|
if (t !== wa) {
|
|
1520
1520
|
const e = 10 ** t;
|
|
1521
1521
|
wa = t, Ss = function(i) {
|
|
@@ -1543,7 +1543,7 @@ function rh(s, t) {
|
|
|
1543
1543
|
}, a.projection = function(o) {
|
|
1544
1544
|
return arguments.length ? (i = o == null ? (s = null, Ri) : (s = o).stream, a) : s;
|
|
1545
1545
|
}, a.context = function(o) {
|
|
1546
|
-
return arguments.length ? (r = o == null ? (t = null, new Ma(e)) : new
|
|
1546
|
+
return arguments.length ? (r = o == null ? (t = null, new Ma(e)) : new tl(t = o), typeof n != "function" && r.pointRadius(n), a) : t;
|
|
1547
1547
|
}, a.pointRadius = function(o) {
|
|
1548
1548
|
return arguments.length ? (n = typeof o == "function" ? o : (r.pointRadius(+o), +o), a) : n;
|
|
1549
1549
|
}, a.digits = function(o) {
|
|
@@ -1591,14 +1591,14 @@ function fr(s, t, e) {
|
|
|
1591
1591
|
var n = s.clipExtent && s.clipExtent();
|
|
1592
1592
|
return s.scale(150).translate([0, 0]), n != null && s.clipExtent(null), je(e, s.stream(vs)), t(vs.result()), n != null && s.clipExtent(n), s;
|
|
1593
1593
|
}
|
|
1594
|
-
function
|
|
1594
|
+
function rl(s, t, e) {
|
|
1595
1595
|
return fr(s, function(n) {
|
|
1596
1596
|
var i = t[1][0] - t[0][0], r = t[1][1] - t[0][1], a = Math.min(i / (n[1][0] - n[0][0]), r / (n[1][1] - n[0][1])), o = +t[0][0] + (i - a * (n[1][0] + n[0][0])) / 2, c = +t[0][1] + (r - a * (n[1][1] + n[0][1])) / 2;
|
|
1597
1597
|
s.scale(150 * a).translate([o, c]);
|
|
1598
1598
|
}, e);
|
|
1599
1599
|
}
|
|
1600
1600
|
function ah(s, t, e) {
|
|
1601
|
-
return
|
|
1601
|
+
return rl(s, [[0, 0], t], e);
|
|
1602
1602
|
}
|
|
1603
1603
|
function oh(s, t, e) {
|
|
1604
1604
|
return fr(s, function(n) {
|
|
@@ -1700,11 +1700,11 @@ function ka(s, t, e, n, i, r) {
|
|
|
1700
1700
|
}, f;
|
|
1701
1701
|
}
|
|
1702
1702
|
function Ds(s) {
|
|
1703
|
-
return
|
|
1703
|
+
return al(function() {
|
|
1704
1704
|
return s;
|
|
1705
1705
|
})();
|
|
1706
1706
|
}
|
|
1707
|
-
function
|
|
1707
|
+
function al(s) {
|
|
1708
1708
|
var t, e = 150, n = 480, i = 250, r = 0, a = 0, o = 0, c = 0, l = 0, h, d = 0, u = 1, p = 1, f = null, g = ba, m = null, E, y, v, S = Ri, b = 0.5, O, I, k, G, C;
|
|
1709
1709
|
function L(w) {
|
|
1710
1710
|
return k(w[0] * Tt, w[1] * Tt);
|
|
@@ -1739,7 +1739,7 @@ function ol(s) {
|
|
|
1739
1739
|
}, L.precision = function(w) {
|
|
1740
1740
|
return arguments.length ? (O = Ca(I, b = w * w), A()) : se(b);
|
|
1741
1741
|
}, L.fitExtent = function(w, V) {
|
|
1742
|
-
return
|
|
1742
|
+
return rl(L, w, V);
|
|
1743
1743
|
}, L.fitSize = function(w, V) {
|
|
1744
1744
|
return ah(L, w, V);
|
|
1745
1745
|
}, L.fitWidth = function(w, V) {
|
|
@@ -1749,7 +1749,7 @@ function ol(s) {
|
|
|
1749
1749
|
};
|
|
1750
1750
|
function D() {
|
|
1751
1751
|
var w = ka(e, 0, 0, u, p, d).apply(null, t(r, a)), V = ka(e, n - w[0], i - w[1], u, p, d);
|
|
1752
|
-
return h =
|
|
1752
|
+
return h = Fo(o, c, l), I = Ci(t, V), k = Ci(h, I), O = Ca(I, b), A();
|
|
1753
1753
|
}
|
|
1754
1754
|
function A() {
|
|
1755
1755
|
return G = C = null, L;
|
|
@@ -1758,8 +1758,8 @@ function ol(s) {
|
|
|
1758
1758
|
return t = s.apply(this, arguments), L.invert = t.invert && B, D();
|
|
1759
1759
|
};
|
|
1760
1760
|
}
|
|
1761
|
-
function
|
|
1762
|
-
var t = 0, e = at / 3, n =
|
|
1761
|
+
function ol(s) {
|
|
1762
|
+
var t = 0, e = at / 3, n = al(s), i = n(t, e);
|
|
1763
1763
|
return i.parallels = function(r) {
|
|
1764
1764
|
return arguments.length ? n(t = r[0] * Tt, e = r[1] * Tt) : [t * Nt, e * Nt];
|
|
1765
1765
|
}, i;
|
|
@@ -1786,17 +1786,17 @@ function mh(s, t) {
|
|
|
1786
1786
|
return l * n < 0 && (h -= at * be(o) * be(l)), [h / n, Ee((i - (o * o + l * l) * n * n) / (2 * n))];
|
|
1787
1787
|
}, a;
|
|
1788
1788
|
}
|
|
1789
|
-
function
|
|
1790
|
-
return
|
|
1789
|
+
function ll() {
|
|
1790
|
+
return ol(mh).scale(155.424).center([0, 33.6442]);
|
|
1791
1791
|
}
|
|
1792
1792
|
function vh() {
|
|
1793
|
-
return
|
|
1793
|
+
return ll().parallels([29.5, 45.5]).scale(1070).translate([480, 250]).rotate([96, 0]).center([-0.6, 38.7]);
|
|
1794
1794
|
}
|
|
1795
1795
|
function gr(s, t) {
|
|
1796
1796
|
return [s, Du(Pu((Ht + t) / 2))];
|
|
1797
1797
|
}
|
|
1798
1798
|
gr.invert = function(s, t) {
|
|
1799
|
-
return [s, 2 *
|
|
1799
|
+
return [s, 2 * zo(Iu(t)) - Ht];
|
|
1800
1800
|
};
|
|
1801
1801
|
function yh() {
|
|
1802
1802
|
return Eh(gr).scale(961 / Wt);
|
|
@@ -1838,18 +1838,18 @@ function xh(s, t) {
|
|
|
1838
1838
|
}, r;
|
|
1839
1839
|
}
|
|
1840
1840
|
function bh() {
|
|
1841
|
-
return
|
|
1841
|
+
return ol(xh).scale(131.154).center([0, 13.9389]);
|
|
1842
1842
|
}
|
|
1843
1843
|
var Ln = 1.340264, An = -0.081106, Mn = 893e-6, _n = 3796e-6, bs = se(3) / 2, Th = 12;
|
|
1844
|
-
function
|
|
1844
|
+
function cl(s, t) {
|
|
1845
1845
|
var e = Ee(bs * dt(t)), n = e * e, i = n * n * n;
|
|
1846
1846
|
return [
|
|
1847
1847
|
s * gt(e) / (bs * (Ln + 3 * An * n + i * (7 * Mn + 9 * _n * n))),
|
|
1848
1848
|
e * (Ln + An * n + i * (Mn + _n * n))
|
|
1849
1849
|
];
|
|
1850
1850
|
}
|
|
1851
|
-
|
|
1852
|
-
for (var e = t, n = e * e, i = n * n * n, r = 0, a, o, c; r < Th && (o = e * (Ln + An * n + i * (Mn + _n * n)) - t, c = Ln + 3 * An * n + i * (7 * Mn + 9 * _n * n), e -= a = o / c, n = e * e, i = n * n * n, !(ft(a) <
|
|
1851
|
+
cl.invert = function(s, t) {
|
|
1852
|
+
for (var e = t, n = e * e, i = n * n * n, r = 0, a, o, c; r < Th && (o = e * (Ln + An * n + i * (Mn + _n * n)) - t, c = Ln + 3 * An * n + i * (7 * Mn + 9 * _n * n), e -= a = o / c, n = e * e, i = n * n * n, !(ft(a) < Uo)); ++r)
|
|
1853
1853
|
;
|
|
1854
1854
|
return [
|
|
1855
1855
|
bs * s * (Ln + 3 * An * n + i * (7 * Mn + 9 * _n * n)) / gt(e),
|
|
@@ -1857,16 +1857,16 @@ ul.invert = function(s, t) {
|
|
|
1857
1857
|
];
|
|
1858
1858
|
};
|
|
1859
1859
|
function Oh() {
|
|
1860
|
-
return Ds(
|
|
1860
|
+
return Ds(cl).scale(177.158);
|
|
1861
1861
|
}
|
|
1862
|
-
function
|
|
1862
|
+
function ul(s, t) {
|
|
1863
1863
|
var e = t * t, n = e * e;
|
|
1864
1864
|
return [
|
|
1865
1865
|
s * (0.8707 - 0.131979 * e + n * (-0.013791 + n * (3971e-6 * e - 1529e-6 * n))),
|
|
1866
1866
|
t * (1.007226 + e * (0.015085 + n * (-0.044475 + 0.028874 * e - 5916e-6 * n)))
|
|
1867
1867
|
];
|
|
1868
1868
|
}
|
|
1869
|
-
|
|
1869
|
+
ul.invert = function(s, t) {
|
|
1870
1870
|
var e = t, n = 25, i;
|
|
1871
1871
|
do {
|
|
1872
1872
|
var r = e * e, a = r * r;
|
|
@@ -1878,7 +1878,7 @@ hl.invert = function(s, t) {
|
|
|
1878
1878
|
];
|
|
1879
1879
|
};
|
|
1880
1880
|
function wh() {
|
|
1881
|
-
return Ds(
|
|
1881
|
+
return Ds(ul).scale(175.295);
|
|
1882
1882
|
}
|
|
1883
1883
|
function Lh(s, t) {
|
|
1884
1884
|
return s.parent === t.parent ? 1 : 2;
|
|
@@ -2064,9 +2064,9 @@ In.prototype = Pn.prototype = {
|
|
|
2064
2064
|
[Symbol.iterator]: Yh
|
|
2065
2065
|
};
|
|
2066
2066
|
function td(s) {
|
|
2067
|
-
return s == null ? null :
|
|
2067
|
+
return s == null ? null : hl(s);
|
|
2068
2068
|
}
|
|
2069
|
-
function
|
|
2069
|
+
function hl(s) {
|
|
2070
2070
|
if (typeof s != "function") throw new Error();
|
|
2071
2071
|
return s;
|
|
2072
2072
|
}
|
|
@@ -2094,7 +2094,7 @@ function rd(s, t) {
|
|
|
2094
2094
|
}
|
|
2095
2095
|
function ad(s, t) {
|
|
2096
2096
|
for (var e = 0, n = (s = rd(Array.from(s), t)).length, i = [], r, a; e < n; )
|
|
2097
|
-
r = s[e], a &&
|
|
2097
|
+
r = s[e], a && dl(a, r) ? ++e : (a = ld(i = od(i, r)), e = 0);
|
|
2098
2098
|
return a;
|
|
2099
2099
|
}
|
|
2100
2100
|
function od(s, t) {
|
|
@@ -2105,7 +2105,7 @@ function od(s, t) {
|
|
|
2105
2105
|
return [s[e], t];
|
|
2106
2106
|
for (e = 0; e < s.length - 1; ++e)
|
|
2107
2107
|
for (n = e + 1; n < s.length; ++n)
|
|
2108
|
-
if (Yn(Tn(s[e], s[n]), t) && Yn(Tn(s[e], t), s[n]) && Yn(Tn(s[n], t), s[e]) && ri(
|
|
2108
|
+
if (Yn(Tn(s[e], s[n]), t) && Yn(Tn(s[e], t), s[n]) && Yn(Tn(s[n], t), s[e]) && ri(pl(s[e], s[n], t), s))
|
|
2109
2109
|
return [s[e], s[n], t];
|
|
2110
2110
|
throw new Error();
|
|
2111
2111
|
}
|
|
@@ -2113,13 +2113,13 @@ function Yn(s, t) {
|
|
|
2113
2113
|
var e = s.r - t.r, n = t.x - s.x, i = t.y - s.y;
|
|
2114
2114
|
return e < 0 || e * e < n * n + i * i;
|
|
2115
2115
|
}
|
|
2116
|
-
function
|
|
2116
|
+
function dl(s, t) {
|
|
2117
2117
|
var e = s.r - t.r + Math.max(s.r, t.r, 1) * 1e-9, n = t.x - s.x, i = t.y - s.y;
|
|
2118
2118
|
return e > 0 && e * e > n * n + i * i;
|
|
2119
2119
|
}
|
|
2120
2120
|
function ri(s, t) {
|
|
2121
2121
|
for (var e = 0; e < t.length; ++e)
|
|
2122
|
-
if (!
|
|
2122
|
+
if (!dl(s, t[e]))
|
|
2123
2123
|
return !1;
|
|
2124
2124
|
return !0;
|
|
2125
2125
|
}
|
|
@@ -2130,7 +2130,7 @@ function ld(s) {
|
|
|
2130
2130
|
case 2:
|
|
2131
2131
|
return Tn(s[0], s[1]);
|
|
2132
2132
|
case 3:
|
|
2133
|
-
return
|
|
2133
|
+
return pl(s[0], s[1], s[2]);
|
|
2134
2134
|
}
|
|
2135
2135
|
}
|
|
2136
2136
|
function cd(s) {
|
|
@@ -2148,7 +2148,7 @@ function Tn(s, t) {
|
|
|
2148
2148
|
r: (d + i + o) / 2
|
|
2149
2149
|
};
|
|
2150
2150
|
}
|
|
2151
|
-
function
|
|
2151
|
+
function pl(s, t, e) {
|
|
2152
2152
|
var n = s.x, i = s.y, r = s.r, a = t.x, o = t.y, c = t.r, l = e.x, h = e.y, d = e.r, u = n - a, p = n - l, f = i - o, g = i - h, m = c - r, E = d - r, y = n * n + i * i - r * r, v = y - a * a - o * o + c * c, S = y - l * l - h * h + d * d, b = p * f - u * g, O = (f * S - g * v) / (b * 2) - n, I = (g * m - f * E) / b, k = (p * v - u * S) / (b * 2) - i, G = (u * E - p * m) / b, C = I * I + G * G - 1, L = 2 * (r + O * I + k * G), B = O * O + k * k - r * r, D = -(Math.abs(C) > 1e-6 ? (L + Math.sqrt(L * L - 4 * C * B)) / (2 * C) : B / L);
|
|
2153
2153
|
return {
|
|
2154
2154
|
x: n + O + I * D,
|
|
@@ -2372,7 +2372,7 @@ function wd() {
|
|
|
2372
2372
|
}, h.size = function(u) {
|
|
2373
2373
|
return arguments.length ? (e = +u[0], n = +u[1], h) : [e, n];
|
|
2374
2374
|
}, h.tile = function(u) {
|
|
2375
|
-
return arguments.length ? (s =
|
|
2375
|
+
return arguments.length ? (s = hl(u), h) : s;
|
|
2376
2376
|
}, h.padding = function(u) {
|
|
2377
2377
|
return arguments.length ? h.paddingInner(u).paddingOuter(u) : h.paddingInner();
|
|
2378
2378
|
}, h.paddingInner = function(u) {
|
|
@@ -2597,11 +2597,11 @@ function Dd() {
|
|
|
2597
2597
|
return arguments.length ? (r = typeof o == "function" ? o : lt(+o), a) : r;
|
|
2598
2598
|
}, a;
|
|
2599
2599
|
}
|
|
2600
|
-
var Pd =
|
|
2601
|
-
function
|
|
2600
|
+
var Pd = gl(lr);
|
|
2601
|
+
function fl(s) {
|
|
2602
2602
|
this._curve = s;
|
|
2603
2603
|
}
|
|
2604
|
-
|
|
2604
|
+
fl.prototype = {
|
|
2605
2605
|
areaStart: function() {
|
|
2606
2606
|
this._curve.areaStart();
|
|
2607
2607
|
},
|
|
@@ -2618,16 +2618,16 @@ gl.prototype = {
|
|
|
2618
2618
|
this._curve.point(t * Math.sin(s), t * -Math.cos(s));
|
|
2619
2619
|
}
|
|
2620
2620
|
};
|
|
2621
|
-
function
|
|
2621
|
+
function gl(s) {
|
|
2622
2622
|
function t(e) {
|
|
2623
|
-
return new
|
|
2623
|
+
return new fl(s(e));
|
|
2624
2624
|
}
|
|
2625
2625
|
return t._curve = s, t;
|
|
2626
2626
|
}
|
|
2627
2627
|
function Nd(s) {
|
|
2628
2628
|
var t = s.curve;
|
|
2629
2629
|
return s.angle = s.x, delete s.x, s.radius = s.y, delete s.y, s.curve = function(e) {
|
|
2630
|
-
return arguments.length ? t(
|
|
2630
|
+
return arguments.length ? t(gl(e)) : t()._curve;
|
|
2631
2631
|
}, s;
|
|
2632
2632
|
}
|
|
2633
2633
|
function $d() {
|
|
@@ -2765,7 +2765,7 @@ class ot {
|
|
|
2765
2765
|
}
|
|
2766
2766
|
/*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */
|
|
2767
2767
|
const {
|
|
2768
|
-
entries:
|
|
2768
|
+
entries: ml,
|
|
2769
2769
|
setPrototypeOf: Va,
|
|
2770
2770
|
isFrozen: Fd,
|
|
2771
2771
|
getPrototypeOf: Wd,
|
|
@@ -2774,7 +2774,7 @@ const {
|
|
|
2774
2774
|
let {
|
|
2775
2775
|
freeze: Vt,
|
|
2776
2776
|
seal: Qt,
|
|
2777
|
-
create:
|
|
2777
|
+
create: vl
|
|
2778
2778
|
} = Object, {
|
|
2779
2779
|
apply: Ui,
|
|
2780
2780
|
construct: zi
|
|
@@ -2826,8 +2826,8 @@ function Zd(s) {
|
|
|
2826
2826
|
return s;
|
|
2827
2827
|
}
|
|
2828
2828
|
function Me(s) {
|
|
2829
|
-
const t =
|
|
2830
|
-
for (const [e, n] of
|
|
2829
|
+
const t = vl(null);
|
|
2830
|
+
for (const [e, n] of ml(s))
|
|
2831
2831
|
ne(s, e) && (Array.isArray(n) ? t[e] = Zd(n) : n && typeof n == "object" && n.constructor === Object ? t[e] = Me(n) : t[e] = n);
|
|
2832
2832
|
return t;
|
|
2833
2833
|
}
|
|
@@ -2847,13 +2847,13 @@ function fn(s, t) {
|
|
|
2847
2847
|
}
|
|
2848
2848
|
return e;
|
|
2849
2849
|
}
|
|
2850
|
-
const Ha = Vt(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), ui = Vt(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), hi = Vt(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Kd = Vt(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), di = Vt(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Jd = Vt(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Ua = Vt(["#text"]), za = Vt(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), pi = Vt(["accent-height", "accumulate", "additive", "alignment-baseline", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Fa = Vt(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Jn = Vt(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Qd = Qt(/\{\{[\w\W]*|[\w\W]*\}\}/gm), tp = Qt(/<%[\w\W]*|[\w\W]*%>/gm), ep = Qt(/\${[\w\W]*}/gm), np = Qt(/^data-[\-\w.\u00B7-\uFFFF]/), sp = Qt(/^aria-[\-\w]+$/),
|
|
2850
|
+
const Ha = Vt(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), ui = Vt(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), hi = Vt(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Kd = Vt(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), di = Vt(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Jd = Vt(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Ua = Vt(["#text"]), za = Vt(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), pi = Vt(["accent-height", "accumulate", "additive", "alignment-baseline", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Fa = Vt(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Jn = Vt(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Qd = Qt(/\{\{[\w\W]*|[\w\W]*\}\}/gm), tp = Qt(/<%[\w\W]*|[\w\W]*%>/gm), ep = Qt(/\${[\w\W]*}/gm), np = Qt(/^data-[\-\w.\u00B7-\uFFFF]/), sp = Qt(/^aria-[\-\w]+$/), yl = Qt(
|
|
2851
2851
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
2852
2852
|
// eslint-disable-line no-useless-escape
|
|
2853
2853
|
), ip = Qt(/^(?:\w+script|data):/i), rp = Qt(
|
|
2854
2854
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
2855
2855
|
// eslint-disable-line no-control-regex
|
|
2856
|
-
),
|
|
2856
|
+
), El = Qt(/^html$/i), ap = Qt(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
2857
2857
|
var Wa = /* @__PURE__ */ Object.freeze({
|
|
2858
2858
|
__proto__: null,
|
|
2859
2859
|
MUSTACHE_EXPR: Qd,
|
|
@@ -2861,10 +2861,10 @@ var Wa = /* @__PURE__ */ Object.freeze({
|
|
|
2861
2861
|
TMPLIT_EXPR: ep,
|
|
2862
2862
|
DATA_ATTR: np,
|
|
2863
2863
|
ARIA_ATTR: sp,
|
|
2864
|
-
IS_ALLOWED_URI:
|
|
2864
|
+
IS_ALLOWED_URI: yl,
|
|
2865
2865
|
IS_SCRIPT_OR_DATA: ip,
|
|
2866
2866
|
ATTR_WHITESPACE: rp,
|
|
2867
|
-
DOCTYPE_NAME:
|
|
2867
|
+
DOCTYPE_NAME: El,
|
|
2868
2868
|
CUSTOM_ELEMENT: ap
|
|
2869
2869
|
});
|
|
2870
2870
|
const gn = {
|
|
@@ -2905,9 +2905,9 @@ const gn = {
|
|
|
2905
2905
|
return console.warn("TrustedTypes policy " + r + " could not be created."), null;
|
|
2906
2906
|
}
|
|
2907
2907
|
};
|
|
2908
|
-
function
|
|
2908
|
+
function Sl() {
|
|
2909
2909
|
let s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : op();
|
|
2910
|
-
const t = (K) =>
|
|
2910
|
+
const t = (K) => Sl(K);
|
|
2911
2911
|
if (t.version = "3.1.6", t.removed = [], !s || !s.document || s.document.nodeType !== gn.document)
|
|
2912
2912
|
return t.isSupported = !1, t;
|
|
2913
2913
|
let {
|
|
@@ -2938,7 +2938,7 @@ function xl() {
|
|
|
2938
2938
|
importNode: C
|
|
2939
2939
|
} = n;
|
|
2940
2940
|
let L = {};
|
|
2941
|
-
t.isSupported = typeof
|
|
2941
|
+
t.isSupported = typeof ml == "function" && typeof v == "function" && O && O.createHTMLDocument !== void 0;
|
|
2942
2942
|
const {
|
|
2943
2943
|
MUSTACHE_EXPR: B,
|
|
2944
2944
|
ERB_EXPR: D,
|
|
@@ -2955,7 +2955,7 @@ function xl() {
|
|
|
2955
2955
|
const et = rt({}, [...Ha, ...ui, ...hi, ...di, ...Ua]);
|
|
2956
2956
|
let J = null;
|
|
2957
2957
|
const ct = rt({}, [...za, ...pi, ...Fa, ...Jn]);
|
|
2958
|
-
let Q = Object.seal(
|
|
2958
|
+
let Q = Object.seal(vl(null, {
|
|
2959
2959
|
tagNameCheck: {
|
|
2960
2960
|
writable: !0,
|
|
2961
2961
|
configurable: !1,
|
|
@@ -2975,7 +2975,7 @@ function xl() {
|
|
|
2975
2975
|
value: !1
|
|
2976
2976
|
}
|
|
2977
2977
|
})), j = null, Z = null, ut = !0, ht = !0, Et = !1, Ut = !0, H = !1, U = !0, W = !1, zt = !1, an = !1, nt = !1, St = !1, ie = !1, te = !0, Tr = !1;
|
|
2978
|
-
const
|
|
2978
|
+
const kl = "user-content-";
|
|
2979
2979
|
let $s = !0, on = !1, Pe = {}, Ne = null;
|
|
2980
2980
|
const Or = rt({}, ["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"]);
|
|
2981
2981
|
let wr = null;
|
|
@@ -2983,17 +2983,17 @@ function xl() {
|
|
|
2983
2983
|
let Vs = null;
|
|
2984
2984
|
const Ar = rt({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), $n = "http://www.w3.org/1998/Math/MathML", Vn = "http://www.w3.org/2000/svg", he = "http://www.w3.org/1999/xhtml";
|
|
2985
2985
|
let $e = he, Bs = !1, Gs = null;
|
|
2986
|
-
const
|
|
2986
|
+
const Rl = rt({}, [$n, Vn, he], ci);
|
|
2987
2987
|
let ln = null;
|
|
2988
|
-
const
|
|
2988
|
+
const Il = ["application/xhtml+xml", "text/html"], Dl = "text/html";
|
|
2989
2989
|
let Lt = null, Ve = null;
|
|
2990
|
-
const
|
|
2990
|
+
const Pl = e.createElement("form"), Mr = function(M) {
|
|
2991
2991
|
return M instanceof RegExp || M instanceof Function;
|
|
2992
2992
|
}, Hs = function() {
|
|
2993
2993
|
let M = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
2994
2994
|
if (!(Ve && Ve === M)) {
|
|
2995
2995
|
if ((!M || typeof M != "object") && (M = {}), M = Me(M), ln = // eslint-disable-next-line unicorn/prefer-includes
|
|
2996
|
-
|
|
2996
|
+
Il.indexOf(M.PARSER_MEDIA_TYPE) === -1 ? Dl : M.PARSER_MEDIA_TYPE, Lt = ln === "application/xhtml+xml" ? ci : ls, F = ne(M, "ALLOWED_TAGS") ? rt({}, M.ALLOWED_TAGS, Lt) : et, J = ne(M, "ALLOWED_ATTR") ? rt({}, M.ALLOWED_ATTR, Lt) : ct, Gs = ne(M, "ALLOWED_NAMESPACES") ? rt({}, M.ALLOWED_NAMESPACES, ci) : Rl, Vs = ne(M, "ADD_URI_SAFE_ATTR") ? rt(
|
|
2997
2997
|
Me(Ar),
|
|
2998
2998
|
// eslint-disable-line indent
|
|
2999
2999
|
M.ADD_URI_SAFE_ATTR,
|
|
@@ -3007,7 +3007,7 @@ function xl() {
|
|
|
3007
3007
|
// eslint-disable-line indent
|
|
3008
3008
|
Lt
|
|
3009
3009
|
// eslint-disable-line indent
|
|
3010
|
-
) : Lr, Ne = ne(M, "FORBID_CONTENTS") ? rt({}, M.FORBID_CONTENTS, Lt) : Or, j = ne(M, "FORBID_TAGS") ? rt({}, M.FORBID_TAGS, Lt) : {}, Z = ne(M, "FORBID_ATTR") ? rt({}, M.FORBID_ATTR, Lt) : {}, Pe = ne(M, "USE_PROFILES") ? M.USE_PROFILES : !1, ut = M.ALLOW_ARIA_ATTR !== !1, ht = M.ALLOW_DATA_ATTR !== !1, Et = M.ALLOW_UNKNOWN_PROTOCOLS || !1, Ut = M.ALLOW_SELF_CLOSE_IN_ATTR !== !1, H = M.SAFE_FOR_TEMPLATES || !1, U = M.SAFE_FOR_XML !== !1, W = M.WHOLE_DOCUMENT || !1, nt = M.RETURN_DOM || !1, St = M.RETURN_DOM_FRAGMENT || !1, ie = M.RETURN_TRUSTED_TYPE || !1, an = M.FORCE_BODY || !1, te = M.SANITIZE_DOM !== !1, Tr = M.SANITIZE_NAMED_PROPS || !1, $s = M.KEEP_CONTENT !== !1, on = M.IN_PLACE || !1, X = M.ALLOWED_URI_REGEXP ||
|
|
3010
|
+
) : Lr, Ne = ne(M, "FORBID_CONTENTS") ? rt({}, M.FORBID_CONTENTS, Lt) : Or, j = ne(M, "FORBID_TAGS") ? rt({}, M.FORBID_TAGS, Lt) : {}, Z = ne(M, "FORBID_ATTR") ? rt({}, M.FORBID_ATTR, Lt) : {}, Pe = ne(M, "USE_PROFILES") ? M.USE_PROFILES : !1, ut = M.ALLOW_ARIA_ATTR !== !1, ht = M.ALLOW_DATA_ATTR !== !1, Et = M.ALLOW_UNKNOWN_PROTOCOLS || !1, Ut = M.ALLOW_SELF_CLOSE_IN_ATTR !== !1, H = M.SAFE_FOR_TEMPLATES || !1, U = M.SAFE_FOR_XML !== !1, W = M.WHOLE_DOCUMENT || !1, nt = M.RETURN_DOM || !1, St = M.RETURN_DOM_FRAGMENT || !1, ie = M.RETURN_TRUSTED_TYPE || !1, an = M.FORCE_BODY || !1, te = M.SANITIZE_DOM !== !1, Tr = M.SANITIZE_NAMED_PROPS || !1, $s = M.KEEP_CONTENT !== !1, on = M.IN_PLACE || !1, X = M.ALLOWED_URI_REGEXP || yl, $e = M.NAMESPACE || he, Q = M.CUSTOM_ELEMENT_HANDLING || {}, M.CUSTOM_ELEMENT_HANDLING && Mr(M.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (Q.tagNameCheck = M.CUSTOM_ELEMENT_HANDLING.tagNameCheck), M.CUSTOM_ELEMENT_HANDLING && Mr(M.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (Q.attributeNameCheck = M.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), M.CUSTOM_ELEMENT_HANDLING && typeof M.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (Q.allowCustomizedBuiltInElements = M.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), H && (ht = !1), St && (nt = !0), Pe && (F = rt({}, Ua), J = [], Pe.html === !0 && (rt(F, Ha), rt(J, za)), Pe.svg === !0 && (rt(F, ui), rt(J, pi), rt(J, Jn)), Pe.svgFilters === !0 && (rt(F, hi), rt(J, pi), rt(J, Jn)), Pe.mathMl === !0 && (rt(F, di), rt(J, Fa), rt(J, Jn))), M.ADD_TAGS && (F === et && (F = Me(F)), rt(F, M.ADD_TAGS, Lt)), M.ADD_ATTR && (J === ct && (J = Me(J)), rt(J, M.ADD_ATTR, Lt)), M.ADD_URI_SAFE_ATTR && rt(Vs, M.ADD_URI_SAFE_ATTR, Lt), M.FORBID_CONTENTS && (Ne === Or && (Ne = Me(Ne)), rt(Ne, M.FORBID_CONTENTS, Lt)), $s && (F["#text"] = !0), W && rt(F, ["html", "head", "body"]), F.table && (rt(F, ["tbody"]), delete j.tbody), M.TRUSTED_TYPES_POLICY) {
|
|
3011
3011
|
if (typeof M.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
3012
3012
|
throw pn('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
3013
3013
|
if (typeof M.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -3017,14 +3017,14 @@ function xl() {
|
|
|
3017
3017
|
S === void 0 && (S = lp(p, i)), S !== null && typeof b == "string" && (b = S.createHTML(""));
|
|
3018
3018
|
Vt && Vt(M), Ve = M;
|
|
3019
3019
|
}
|
|
3020
|
-
}, _r = rt({}, ["mi", "mo", "mn", "ms", "mtext"]), Cr = rt({}, ["foreignobject", "annotation-xml"]),
|
|
3020
|
+
}, _r = rt({}, ["mi", "mo", "mn", "ms", "mtext"]), Cr = rt({}, ["foreignobject", "annotation-xml"]), Nl = rt({}, ["title", "style", "font", "a", "script"]), kr = rt({}, [...ui, ...hi, ...Kd]), Rr = rt({}, [...di, ...Jd]), $l = function(M) {
|
|
3021
3021
|
let z = v(M);
|
|
3022
3022
|
(!z || !z.tagName) && (z = {
|
|
3023
3023
|
namespaceURI: $e,
|
|
3024
3024
|
tagName: "template"
|
|
3025
3025
|
});
|
|
3026
3026
|
const q = ls(M.tagName), mt = ls(z.tagName);
|
|
3027
|
-
return Gs[M.namespaceURI] ? M.namespaceURI === Vn ? z.namespaceURI === he ? q === "svg" : z.namespaceURI === $n ? q === "svg" && (mt === "annotation-xml" || _r[mt]) : !!kr[q] : M.namespaceURI === $n ? z.namespaceURI === he ? q === "math" : z.namespaceURI === Vn ? q === "math" && Cr[mt] : !!Rr[q] : M.namespaceURI === he ? z.namespaceURI === Vn && !Cr[mt] || z.namespaceURI === $n && !_r[mt] ? !1 : !Rr[q] && (
|
|
3027
|
+
return Gs[M.namespaceURI] ? M.namespaceURI === Vn ? z.namespaceURI === he ? q === "svg" : z.namespaceURI === $n ? q === "svg" && (mt === "annotation-xml" || _r[mt]) : !!kr[q] : M.namespaceURI === $n ? z.namespaceURI === he ? q === "math" : z.namespaceURI === Vn ? q === "math" && Cr[mt] : !!Rr[q] : M.namespaceURI === he ? z.namespaceURI === Vn && !Cr[mt] || z.namespaceURI === $n && !_r[mt] ? !1 : !Rr[q] && (Nl[q] || !kr[q]) : !!(ln === "application/xhtml+xml" && Gs[M.namespaceURI]) : !1;
|
|
3028
3028
|
}, re = function(M) {
|
|
3029
3029
|
hn(t.removed, {
|
|
3030
3030
|
element: M
|
|
@@ -3122,13 +3122,13 @@ function xl() {
|
|
|
3122
3122
|
}
|
|
3123
3123
|
return re(M), !0;
|
|
3124
3124
|
}
|
|
3125
|
-
return M instanceof c &&
|
|
3125
|
+
return M instanceof c && !$l(M) || (q === "noscript" || q === "noembed" || q === "noframes") && Pt(/<\/no(script|embed|frames)/i, M.innerHTML) ? (re(M), !0) : (H && M.nodeType === gn.text && (z = M.textContent, Kn([B, D, A], (mt) => {
|
|
3126
3126
|
z = dn(z, mt, " ");
|
|
3127
3127
|
}), M.textContent !== z && (hn(t.removed, {
|
|
3128
3128
|
element: M.cloneNode()
|
|
3129
3129
|
}), M.textContent = z)), de("afterSanitizeElements", M, null), !1);
|
|
3130
3130
|
}, Vr = function(M, z, q) {
|
|
3131
|
-
if (te && (z === "id" || z === "name") && (q in e || q in
|
|
3131
|
+
if (te && (z === "id" || z === "name") && (q in e || q in Pl))
|
|
3132
3132
|
return !1;
|
|
3133
3133
|
if (!(ht && !Z[z] && Pt(w, z))) {
|
|
3134
3134
|
if (!(ut && Pt(V, z))) {
|
|
@@ -3192,7 +3192,7 @@ function xl() {
|
|
|
3192
3192
|
});
|
|
3193
3193
|
const Hr = Lt(M.nodeName);
|
|
3194
3194
|
if (Vr(Hr, cn, Dt)) {
|
|
3195
|
-
if (Tr && (cn === "id" || cn === "name") && (Bn(At, M), Dt =
|
|
3195
|
+
if (Tr && (cn === "id" || cn === "name") && (Bn(At, M), Dt = kl + Dt), S && typeof p == "object" && typeof p.getAttributeType == "function" && !Bt)
|
|
3196
3196
|
switch (p.getAttributeType(Hr, cn)) {
|
|
3197
3197
|
case "TrustedHTML": {
|
|
3198
3198
|
Dt = S.createHTML(Dt);
|
|
@@ -3210,7 +3210,7 @@ function xl() {
|
|
|
3210
3210
|
}
|
|
3211
3211
|
}
|
|
3212
3212
|
de("afterSanitizeAttributes", M, null);
|
|
3213
|
-
},
|
|
3213
|
+
}, Vl = function K(M) {
|
|
3214
3214
|
let z = null;
|
|
3215
3215
|
const q = Dr(M);
|
|
3216
3216
|
for (de("beforeSanitizeShadowDOM", M, null); z = q.nextNode(); )
|
|
@@ -3245,7 +3245,7 @@ function xl() {
|
|
|
3245
3245
|
z && an && re(z.firstChild);
|
|
3246
3246
|
const At = Dr(on ? K : z);
|
|
3247
3247
|
for (; mt = At.nextNode(); )
|
|
3248
|
-
$r(mt) || (mt.content instanceof r &&
|
|
3248
|
+
$r(mt) || (mt.content instanceof r && Vl(mt.content), Gr(mt));
|
|
3249
3249
|
if (on)
|
|
3250
3250
|
return K;
|
|
3251
3251
|
if (nt) {
|
|
@@ -3257,7 +3257,7 @@ function xl() {
|
|
|
3257
3257
|
return (J.shadowroot || J.shadowrootmode) && (Ct = C.call(n, Ct, !0)), Ct;
|
|
3258
3258
|
}
|
|
3259
3259
|
let Bt = W ? z.outerHTML : z.innerHTML;
|
|
3260
|
-
return W && F["!doctype"] && z.ownerDocument && z.ownerDocument.doctype && z.ownerDocument.doctype.name && Pt(
|
|
3260
|
+
return W && F["!doctype"] && z.ownerDocument && z.ownerDocument.doctype && z.ownerDocument.doctype.name && Pt(El, z.ownerDocument.doctype.name) && (Bt = "<!DOCTYPE " + z.ownerDocument.doctype.name + `>
|
|
3261
3261
|
` + Bt), H && Kn([B, D, A], (ae) => {
|
|
3262
3262
|
Bt = dn(Bt, ae, " ");
|
|
3263
3263
|
}), S && ie ? S.createHTML(Bt) : Bt;
|
|
@@ -3281,7 +3281,7 @@ function xl() {
|
|
|
3281
3281
|
L = {};
|
|
3282
3282
|
}, t;
|
|
3283
3283
|
}
|
|
3284
|
-
var Er =
|
|
3284
|
+
var Er = Sl();
|
|
3285
3285
|
const Qn = (s) => Er.sanitize(s, {
|
|
3286
3286
|
USE_PROFILES: {
|
|
3287
3287
|
html: !0,
|
|
@@ -3817,15 +3817,15 @@ function Fi(s, t) {
|
|
|
3817
3817
|
n[e] = s[e];
|
|
3818
3818
|
return n;
|
|
3819
3819
|
}
|
|
3820
|
-
function
|
|
3820
|
+
function xl(s) {
|
|
3821
3821
|
return s.reduce(function(t, e) {
|
|
3822
|
-
return Array.isArray(e) ? t.push.apply(t, pp(
|
|
3822
|
+
return Array.isArray(e) ? t.push.apply(t, pp(xl(e))) : t.push(e), t;
|
|
3823
3823
|
}, []);
|
|
3824
3824
|
}
|
|
3825
3825
|
function yp() {
|
|
3826
3826
|
for (var s = arguments.length, t = new Array(s), e = 0; e < s; e++)
|
|
3827
3827
|
t[e] = arguments[e];
|
|
3828
|
-
return
|
|
3828
|
+
return xl(t).reduce(function(n, i) {
|
|
3829
3829
|
return i(n);
|
|
3830
3830
|
}, /* @__PURE__ */ function() {
|
|
3831
3831
|
function n() {
|
|
@@ -3892,9 +3892,9 @@ function Tp(s, t) {
|
|
|
3892
3892
|
return t;
|
|
3893
3893
|
if (t !== void 0)
|
|
3894
3894
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
3895
|
-
return
|
|
3895
|
+
return bl(s);
|
|
3896
3896
|
}
|
|
3897
|
-
function
|
|
3897
|
+
function bl(s) {
|
|
3898
3898
|
if (s === void 0)
|
|
3899
3899
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
3900
3900
|
return s;
|
|
@@ -3922,7 +3922,7 @@ function wp(s) {
|
|
|
3922
3922
|
var a, o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
3923
3923
|
if (Ep(this, i), a = n.call(this, r, o), a.children = [], !r || r.nodeType !== Node.ELEMENT_NODE)
|
|
3924
3924
|
throw new TypeError("DOM element should be given to initialize this widget.");
|
|
3925
|
-
return a.element = r, a.options = Object.assign(Object.create(a.constructor.options), o), a.constructor.components.set(a.element,
|
|
3925
|
+
return a.element = r, a.options = Object.assign(Object.create(a.constructor.options), o), a.constructor.components.set(a.element, bl(a)), a;
|
|
3926
3926
|
}
|
|
3927
3927
|
return Sp(i, [{
|
|
3928
3928
|
key: "release",
|
|
@@ -4428,7 +4428,7 @@ function rf(s) {
|
|
|
4428
4428
|
return t;
|
|
4429
4429
|
}
|
|
4430
4430
|
var af = [qp, rf];
|
|
4431
|
-
function
|
|
4431
|
+
function Tl(s) {
|
|
4432
4432
|
return s && s.__esModule && Object.prototype.hasOwnProperty.call(s, "default") ? s.default : s;
|
|
4433
4433
|
}
|
|
4434
4434
|
function of(s) {
|
|
@@ -4450,9 +4450,9 @@ function of(s) {
|
|
|
4450
4450
|
});
|
|
4451
4451
|
}), e;
|
|
4452
4452
|
}
|
|
4453
|
-
var
|
|
4453
|
+
var Ol = function() {
|
|
4454
4454
|
};
|
|
4455
|
-
process.env.NODE_ENV !== "production" && (
|
|
4455
|
+
process.env.NODE_ENV !== "production" && (Ol = function(s, t, e) {
|
|
4456
4456
|
var n = arguments.length;
|
|
4457
4457
|
e = new Array(n > 2 ? n - 2 : 0);
|
|
4458
4458
|
for (var i = 2; i < n; i++)
|
|
@@ -4476,8 +4476,8 @@ process.env.NODE_ENV !== "production" && (wl = function(s, t, e) {
|
|
|
4476
4476
|
}
|
|
4477
4477
|
}
|
|
4478
4478
|
});
|
|
4479
|
-
var lf =
|
|
4480
|
-
const cf = /* @__PURE__ */
|
|
4479
|
+
var lf = Ol;
|
|
4480
|
+
const cf = /* @__PURE__ */ Tl(lf);
|
|
4481
4481
|
function er(s) {
|
|
4482
4482
|
"@babel/helpers - typeof";
|
|
4483
4483
|
return er = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
@@ -5496,7 +5496,7 @@ const Qe = class Qe extends ot {
|
|
|
5496
5496
|
const O = b.selection;
|
|
5497
5497
|
O !== null && (E(O[0], O[1]), r.call(y.move, null), p.style("display", "none"));
|
|
5498
5498
|
};
|
|
5499
|
-
c != 0 && o != 0 && (y =
|
|
5499
|
+
c != 0 && o != 0 && (y = Go().extent([
|
|
5500
5500
|
[0, 0],
|
|
5501
5501
|
[o - 1, c]
|
|
5502
5502
|
]).on("start brush end", m).on("end.brushed", v), r.call(y));
|
|
@@ -5517,7 +5517,7 @@ Qe.DASH_LENGTH = 4;
|
|
|
5517
5517
|
let Qa = Qe;
|
|
5518
5518
|
class f0 extends ot {
|
|
5519
5519
|
constructor() {
|
|
5520
|
-
super(...arguments), this.type = "zoom-bar", this.renderType = st.SVG, this.MIN_SELECTION_DIFF = 9e-10, this.brushSelector = "g.zoom-bar-brush", this.clipId = "zoomBarClip-" + Math.floor(Math.random() * 99999999999), this.brush =
|
|
5520
|
+
super(...arguments), this.type = "zoom-bar", this.renderType = st.SVG, this.MIN_SELECTION_DIFF = 9e-10, this.brushSelector = "g.zoom-bar-brush", this.clipId = "zoomBarClip-" + Math.floor(Math.random() * 99999999999), this.brush = Go(), this.highlightStrokeWidth = 1;
|
|
5521
5521
|
}
|
|
5522
5522
|
init() {
|
|
5523
5523
|
this.services.events.addEventListener(x.ZoomBar.UPDATE, this.render.bind(this));
|
|
@@ -5675,7 +5675,7 @@ class f0 extends ot {
|
|
|
5675
5675
|
compensateDataForDefaultDomain(t, e) {
|
|
5676
5676
|
if (!t || t.length < 2)
|
|
5677
5677
|
return;
|
|
5678
|
-
const n =
|
|
5678
|
+
const n = Xl(t), i = this.services.cartesianScales.getDomainIdentifier(), r = this.services.cartesianScales.getRangeIdentifier();
|
|
5679
5679
|
if (Number(e[0]) < Number(n[0][i])) {
|
|
5680
5680
|
const a = {};
|
|
5681
5681
|
a[i] = e[0], a[r] = 0, n.unshift(a);
|
|
@@ -6033,7 +6033,7 @@ function Rf(s) {
|
|
|
6033
6033
|
function If(s, t) {
|
|
6034
6034
|
return t - 1 - s.height;
|
|
6035
6035
|
}
|
|
6036
|
-
function
|
|
6036
|
+
function wl(s, t) {
|
|
6037
6037
|
return s.sourceLinks.length ? s.depth : t - 1;
|
|
6038
6038
|
}
|
|
6039
6039
|
function ts(s) {
|
|
@@ -6077,7 +6077,7 @@ function io({ nodes: s }) {
|
|
|
6077
6077
|
}
|
|
6078
6078
|
}
|
|
6079
6079
|
function $f() {
|
|
6080
|
-
let s = 0, t = 0, e = 1, n = 1, i = 24, r = 8, a, o = Df, c =
|
|
6080
|
+
let s = 0, t = 0, e = 1, n = 1, i = 24, r = 8, a, o = Df, c = wl, l, h, d = Pf, u = Nf, p = 6;
|
|
6081
6081
|
function f() {
|
|
6082
6082
|
const w = { nodes: d.apply(null, arguments), links: u.apply(null, arguments) };
|
|
6083
6083
|
return g(w), m(w), E(w), y(w), b(w), io(w), w;
|
|
@@ -6277,10 +6277,10 @@ function or() {
|
|
|
6277
6277
|
this._x0 = this._y0 = // start of current subpath
|
|
6278
6278
|
this._x1 = this._y1 = null, this._ = "";
|
|
6279
6279
|
}
|
|
6280
|
-
function
|
|
6280
|
+
function Ll() {
|
|
6281
6281
|
return new or();
|
|
6282
6282
|
}
|
|
6283
|
-
or.prototype =
|
|
6283
|
+
or.prototype = Ll.prototype = {
|
|
6284
6284
|
constructor: or,
|
|
6285
6285
|
moveTo: function(s, t) {
|
|
6286
6286
|
this._ += "M" + (this._x0 = this._x1 = +s) + "," + (this._y0 = this._y1 = +t);
|
|
@@ -6345,7 +6345,7 @@ function Ff(s) {
|
|
|
6345
6345
|
var t = Uf, e = zf, n = Bf, i = Gf, r = null;
|
|
6346
6346
|
function a() {
|
|
6347
6347
|
var o, c = Hf.call(arguments), l = t.apply(this, c), h = e.apply(this, c);
|
|
6348
|
-
if (r || (r = o =
|
|
6348
|
+
if (r || (r = o = Ll()), s(r, +n.apply(this, (c[0] = l, c)), +i.apply(this, c), +n.apply(this, (c[0] = h, c)), +i.apply(this, c)), o) return r = null, o + "" || null;
|
|
6349
6349
|
}
|
|
6350
6350
|
return a.source = function(o) {
|
|
6351
6351
|
return arguments.length ? (t = o, a) : t;
|
|
@@ -6398,7 +6398,7 @@ class y0 extends ot {
|
|
|
6398
6398
|
let c = ee.minNodePadding;
|
|
6399
6399
|
r.alluvial.nodePadding > ee.minNodePadding && (c = r.alluvial.nodePadding);
|
|
6400
6400
|
const l = T(r, "alluvial", "nodeAlignment");
|
|
6401
|
-
let h =
|
|
6401
|
+
let h = wl;
|
|
6402
6402
|
l === Jt.LEFT ? h = Rf : l === Jt.RIGHT && (h = If);
|
|
6403
6403
|
const d = $f().nodeId((v) => v.name).nodeWidth(ee.nodeWidth).nodePadding(c).nodeAlign(h).extent([
|
|
6404
6404
|
[2, 30],
|
|
@@ -6650,7 +6650,7 @@ class E0 extends ot {
|
|
|
6650
6650
|
).call(r) : o.call(r), this.cleanGrid(o);
|
|
6651
6651
|
}
|
|
6652
6652
|
drawYGrid(t) {
|
|
6653
|
-
const e = this.parent, n = this.backdrop.attr("width"), i = this.services.cartesianScales.getMainYScale(), r =
|
|
6653
|
+
const e = this.parent, n = this.backdrop.attr("width"), i = this.services.cartesianScales.getMainYScale(), r = Bo(i).tickSizeInner(-n).tickSizeOuter(0);
|
|
6654
6654
|
if (T(this.getOptions(), "grid", "y", "alignWithAxisTicks")) {
|
|
6655
6655
|
const c = this.services.cartesianScales.getRangeAxisPosition(), l = T(this.getOptions(), "axes", c, "ticks", "values");
|
|
6656
6656
|
l && r.tickValues(l);
|
|
@@ -6921,7 +6921,7 @@ const ao = 5;
|
|
|
6921
6921
|
function Zf(s, t) {
|
|
6922
6922
|
return s > t - ao && s < t + ao;
|
|
6923
6923
|
}
|
|
6924
|
-
class
|
|
6924
|
+
class Al extends ot {
|
|
6925
6925
|
constructor() {
|
|
6926
6926
|
super(...arguments), this.type = "ruler", this.renderType = st.SVG, this.isXGridEnabled = T(this.getOptions(), "grid", "x", "enabled"), this.isYGridEnabled = T(this.getOptions(), "grid", "y", "enabled"), this.isEventListenerAdded = !1;
|
|
6927
6927
|
}
|
|
@@ -6964,7 +6964,7 @@ class Ml extends ot {
|
|
|
6964
6964
|
const b = this.services.cartesianScales.getDomainValue(S);
|
|
6965
6965
|
return E.includes(b);
|
|
6966
6966
|
});
|
|
6967
|
-
this.elementsToHighlight && this.elementsToHighlight.size() > 0 &&
|
|
6967
|
+
this.elementsToHighlight && this.elementsToHighlight.size() > 0 && !$o(this.elementsToHighlight, y) && this.hideRuler(), y.dispatch("mouseover"), this.elementsToHighlight = y, this.services.events.dispatchEvent(x.Tooltip.SHOW, {
|
|
6968
6968
|
event: t,
|
|
6969
6969
|
mousePosition: [e, n],
|
|
6970
6970
|
hoveredElement: u,
|
|
@@ -6991,7 +6991,7 @@ class Ml extends ot {
|
|
|
6991
6991
|
};
|
|
6992
6992
|
if (n.length > 100) {
|
|
6993
6993
|
const r = n.length % 50 * 12.5;
|
|
6994
|
-
i =
|
|
6994
|
+
i = jl(
|
|
6995
6995
|
function(a) {
|
|
6996
6996
|
const { mousePosition: o } = this;
|
|
6997
6997
|
t.showRuler(a, o);
|
|
@@ -7249,7 +7249,7 @@ class Sr extends ot {
|
|
|
7249
7249
|
), t.removeEventListener(x.Legend.ITEM_MOUSEOUT, this.handleLegendMouseOut), t.removeEventListener(x.Chart.MOUSEOVER, this.handleChartHolderOnHover), t.removeEventListener(x.Chart.MOUSEOUT, this.handleChartHolderOnMouseOut);
|
|
7250
7250
|
}
|
|
7251
7251
|
}
|
|
7252
|
-
class
|
|
7252
|
+
class Ml extends ot {
|
|
7253
7253
|
constructor(t, e, n) {
|
|
7254
7254
|
super(t, e, n), this.type = "axes", this.renderType = st.SVG, this.truncation = {
|
|
7255
7255
|
[Y.LEFT]: !1,
|
|
@@ -7269,7 +7269,7 @@ class _l extends ot {
|
|
|
7269
7269
|
let u;
|
|
7270
7270
|
switch (e) {
|
|
7271
7271
|
case Y.LEFT:
|
|
7272
|
-
u =
|
|
7272
|
+
u = Bo;
|
|
7273
7273
|
break;
|
|
7274
7274
|
case Y.BOTTOM:
|
|
7275
7275
|
u = hr;
|
|
@@ -7405,7 +7405,7 @@ class _l extends ot {
|
|
|
7405
7405
|
name: "axis-update",
|
|
7406
7406
|
animate: t
|
|
7407
7407
|
})
|
|
7408
|
-
)), f = f.call(N), ut.selectAll(".tick").data(N.tickValues(), d).order().select("text").style("font-weight", (Et, Ut) =>
|
|
7408
|
+
)), f = f.call(N), ut.selectAll(".tick").data(N.tickValues(), d).order().select("text").style("font-weight", (Et, Ut) => Yl(Et, Ut, N.tickValues(), j, Z) ? "bold" : "normal");
|
|
7409
7409
|
} else
|
|
7410
7410
|
!t || !p ? f = f.call(N) : f = f.transition().call(
|
|
7411
7411
|
(j) => this.services.transitions.setupTransition({
|
|
@@ -7502,14 +7502,14 @@ class _l extends ot {
|
|
|
7502
7502
|
}
|
|
7503
7503
|
getNumberOfFittingTicks(t, e, n) {
|
|
7504
7504
|
const i = Math.floor(t / (e * n));
|
|
7505
|
-
return
|
|
7505
|
+
return No(i, 2, qe.ticks.number);
|
|
7506
7506
|
}
|
|
7507
7507
|
destroy() {
|
|
7508
7508
|
const t = this.getComponentContainer(), { position: e } = this.configs;
|
|
7509
7509
|
_.appendOrSelect(t, `g.axis.${e}`).selectAll("g.tick text").on("mouseover", null).on("mousemove", null).on("mouseout", null);
|
|
7510
7510
|
}
|
|
7511
7511
|
}
|
|
7512
|
-
class Kf extends
|
|
7512
|
+
class Kf extends Ml {
|
|
7513
7513
|
constructor(t, e, n) {
|
|
7514
7514
|
super(t, e, n);
|
|
7515
7515
|
}
|
|
@@ -7633,7 +7633,7 @@ class b0 extends ot {
|
|
|
7633
7633
|
position: c,
|
|
7634
7634
|
axes: this.configs.axes,
|
|
7635
7635
|
margins: this.margins
|
|
7636
|
-
}, h = this.model.axisFlavor === ec.DEFAULT ? new
|
|
7636
|
+
}, h = this.model.axisFlavor === ec.DEFAULT ? new Ml(this.model, this.services, l) : new Kf(this.model, this.services, l);
|
|
7637
7637
|
h.setModel(this.model), h.setServices(this.services), h.setParent(this.parent), this.children[c] = h;
|
|
7638
7638
|
}
|
|
7639
7639
|
}), Object.keys(this.children).forEach((o) => {
|
|
@@ -8053,7 +8053,7 @@ class O0 extends ot {
|
|
|
8053
8053
|
const [c, l] = this.services.cartesianScales.getDomainScale().range();
|
|
8054
8054
|
let h = +n(0) + 0.5;
|
|
8055
8055
|
h || (h = n.range()[0]);
|
|
8056
|
-
const d =
|
|
8056
|
+
const d = ql(
|
|
8057
8057
|
{
|
|
8058
8058
|
x0: c,
|
|
8059
8059
|
x1: l,
|
|
@@ -8499,7 +8499,7 @@ function ag(s, t) {
|
|
|
8499
8499
|
})
|
|
8500
8500
|
};
|
|
8501
8501
|
}
|
|
8502
|
-
class A0 extends
|
|
8502
|
+
class A0 extends Al {
|
|
8503
8503
|
constructor() {
|
|
8504
8504
|
super(...arguments), this.type = "ruler-binned", this.renderType = st.SVG;
|
|
8505
8505
|
}
|
|
@@ -8511,7 +8511,7 @@ class A0 extends Ml {
|
|
|
8511
8511
|
return !0;
|
|
8512
8512
|
});
|
|
8513
8513
|
if (m.size() > 0) {
|
|
8514
|
-
this.elementsToHighlight && this.elementsToHighlight.size() > 0 &&
|
|
8514
|
+
this.elementsToHighlight && this.elementsToHighlight.size() > 0 && !$o(this.elementsToHighlight, m) && this.hideRuler(), m.dispatch("mouseover"), this.elementsToHighlight = m;
|
|
8515
8515
|
const E = R(m.nodes()[0]).datum(), y = parseFloat(yt(E, "data.x0")), v = parseFloat(yt(E, "data.x1")), S = this.model.getActiveDataGroupNames(), b = S.reverse().map((I) => ({
|
|
8516
8516
|
label: I,
|
|
8517
8517
|
value: yt(E, `data.${I}`),
|
|
@@ -8550,7 +8550,7 @@ class A0 extends Ml {
|
|
|
8550
8550
|
this.hideRuler();
|
|
8551
8551
|
}
|
|
8552
8552
|
}
|
|
8553
|
-
class M0 extends
|
|
8553
|
+
class M0 extends Al {
|
|
8554
8554
|
formatTooltipData(t) {
|
|
8555
8555
|
return t.reverse();
|
|
8556
8556
|
}
|
|
@@ -8630,7 +8630,7 @@ class V0 extends Mf {
|
|
|
8630
8630
|
n.html("");
|
|
8631
8631
|
return;
|
|
8632
8632
|
}
|
|
8633
|
-
const h = !Eo(r), d =
|
|
8633
|
+
const h = !Eo(r), d = Zl(this.model.getDisplayData()), u = !(i <= wt.color.barWidth), p = u ? wt.color.barWidth : i, f = _.appendOrSelect(n, "g.legend"), g = _.appendOrSelect(f, "g.legend-axis");
|
|
8634
8634
|
if (c) {
|
|
8635
8635
|
const C = _.appendOrSelect(n, "g.legend-title");
|
|
8636
8636
|
_.appendOrSelect(C, "text").text(c).attr("dy", "0.7em"), f.attr("transform", "translate(0, 16)");
|
|
@@ -9207,7 +9207,7 @@ class H0 extends lg {
|
|
|
9207
9207
|
n === null && (n = this.model.getDisplayData().reduce((o, c) => o + c[e.pie.valueMapsTo], 0));
|
|
9208
9208
|
const i = parseInt(t.text().replace(/[, ]+/g, ""), 10) || 0;
|
|
9209
9209
|
let r;
|
|
9210
|
-
i % 1 === 0 && n % 1 === 0 ? r =
|
|
9210
|
+
i % 1 === 0 && n % 1 === 0 ? r = Kl : r = So;
|
|
9211
9211
|
const a = r(i, n);
|
|
9212
9212
|
return (o) => {
|
|
9213
9213
|
const { numberFormatter: c } = e.donut.center;
|
|
@@ -9230,7 +9230,7 @@ class U0 extends ot {
|
|
|
9230
9230
|
return ((n = this.model.getData().find((i) => i.group === "value")) == null ? void 0 : n.value) ?? null;
|
|
9231
9231
|
}
|
|
9232
9232
|
getValueRatio() {
|
|
9233
|
-
return
|
|
9233
|
+
return No(this.getValue(), 0, 100) / 100;
|
|
9234
9234
|
}
|
|
9235
9235
|
getDelta() {
|
|
9236
9236
|
var n;
|
|
@@ -9400,7 +9400,7 @@ class z0 extends br {
|
|
|
9400
9400
|
render(t) {
|
|
9401
9401
|
const e = this.model.getDisplayData(this.configs.groups), n = this.getOptions(), { groupMapsTo: i } = n.data;
|
|
9402
9402
|
this.setGroupScale();
|
|
9403
|
-
const r = this.getComponentContainer({ withinChartClip: !0 }), a =
|
|
9403
|
+
const r = this.getComponentContainer({ withinChartClip: !0 }), a = Jl(
|
|
9404
9404
|
e.map((u) => {
|
|
9405
9405
|
const p = this.services.cartesianScales.getDomainIdentifier(u);
|
|
9406
9406
|
return u[p] && typeof u[p].toString == "function" ? u[p].toString() : u[p];
|
|
@@ -10945,16 +10945,14 @@ const Pv = (s) => {
|
|
|
10945
10945
|
return n;
|
|
10946
10946
|
}
|
|
10947
10947
|
return null;
|
|
10948
|
-
}, ho = function() {
|
|
10949
|
-
const
|
|
10950
|
-
|
|
10951
|
-
|
|
10952
|
-
|
|
10953
|
-
|
|
10954
|
-
|
|
10955
|
-
|
|
10956
|
-
}
|
|
10957
|
-
return n > 50 ? "white" : "black";
|
|
10948
|
+
}, ho = function(s) {
|
|
10949
|
+
const t = R(this.parentNode).select("rect.leaf"), e = s.backgroundColor ?? getComputedStyle(t.node(), null).getPropertyValue("fill"), n = xo(e);
|
|
10950
|
+
let i;
|
|
10951
|
+
if (n && (i = Pv(n ? n.hex() : null)), i == null) {
|
|
10952
|
+
const r = Ql(n).l;
|
|
10953
|
+
i = Math.abs(r * 100 - 100);
|
|
10954
|
+
}
|
|
10955
|
+
return i > 50 ? "white" : "black";
|
|
10958
10956
|
};
|
|
10959
10957
|
let Nv = 0;
|
|
10960
10958
|
class ey extends ot {
|
|
@@ -11045,11 +11043,10 @@ class ey extends ot {
|
|
|
11045
11043
|
return [];
|
|
11046
11044
|
let m = g;
|
|
11047
11045
|
for (; m.depth > 1; ) m = m.parent;
|
|
11048
|
-
const E = xo(this.model.getFillColor(m.data.name));
|
|
11049
11046
|
return [
|
|
11050
11047
|
{
|
|
11051
11048
|
text: g.data.name,
|
|
11052
|
-
|
|
11049
|
+
backgroundColor: this.model.getFillColor(m.data.name)
|
|
11053
11050
|
}
|
|
11054
11051
|
];
|
|
11055
11052
|
},
|
|
@@ -11079,7 +11076,7 @@ class ey extends ot {
|
|
|
11079
11076
|
})
|
|
11080
11077
|
).style("fill", (o) => {
|
|
11081
11078
|
const c = t.model.getFillColor(o.parent.data.name, null, o.data);
|
|
11082
|
-
return c && (r = c),
|
|
11079
|
+
return c && (r = c), xo(r).darker(0.7).toString();
|
|
11083
11080
|
}), t.services.events.dispatchEvent(x.Tooltip.SHOW, {
|
|
11084
11081
|
event: e,
|
|
11085
11082
|
hoveredElement: i,
|
|
@@ -11136,7 +11133,7 @@ class ey extends ot {
|
|
|
11136
11133
|
}
|
|
11137
11134
|
var $v = { value: function() {
|
|
11138
11135
|
} };
|
|
11139
|
-
function
|
|
11136
|
+
function _l() {
|
|
11140
11137
|
for (var s = 0, t = arguments.length, e = {}, n; s < t; ++s) {
|
|
11141
11138
|
if (!(n = arguments[s] + "") || n in e || /[\s.]/.test(n)) throw new Error("illegal type: " + n);
|
|
11142
11139
|
e[n] = [];
|
|
@@ -11153,7 +11150,7 @@ function Vv(s, t) {
|
|
|
11153
11150
|
return { type: e, name: n };
|
|
11154
11151
|
});
|
|
11155
11152
|
}
|
|
11156
|
-
us.prototype =
|
|
11153
|
+
us.prototype = _l.prototype = {
|
|
11157
11154
|
constructor: us,
|
|
11158
11155
|
on: function(s, t) {
|
|
11159
11156
|
var e = this._, n = Vv(s + "", e), i, r = -1, a = n.length;
|
|
@@ -11197,13 +11194,13 @@ function po(s, t, e) {
|
|
|
11197
11194
|
}
|
|
11198
11195
|
const Gv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11199
11196
|
__proto__: null,
|
|
11200
|
-
dispatch:
|
|
11197
|
+
dispatch: _l
|
|
11201
11198
|
}, Symbol.toStringTag, { value: "Module" })), Hv = /* @__PURE__ */ of(Gv), Uv = Hv.dispatch, vi = Math.PI / 180, zv = {
|
|
11202
|
-
archimedean:
|
|
11199
|
+
archimedean: Cl,
|
|
11203
11200
|
rectangular: t0
|
|
11204
11201
|
}, wn = 64, hs = 2048;
|
|
11205
11202
|
var Fv = function() {
|
|
11206
|
-
var s = [256, 256], t = Wv, e = Xv, n = jv, i = fo, r = fo, a = Yv, o = qv, c =
|
|
11203
|
+
var s = [256, 256], t = Wv, e = Xv, n = jv, i = fo, r = fo, a = Yv, o = qv, c = Cl, l = [], h = 1 / 0, d = Uv("word", "end"), u = null, p = Math.random, f = {}, g = n0;
|
|
11207
11204
|
f.canvas = function(y) {
|
|
11208
11205
|
return arguments.length ? (g = xe(y), f) : g;
|
|
11209
11206
|
}, f.start = function() {
|
|
@@ -11343,7 +11340,7 @@ function Jv(s, t) {
|
|
|
11343
11340
|
function Qv(s, t) {
|
|
11344
11341
|
return s.x + s.x1 > t[0].x && s.x + s.x0 < t[1].x && s.y + s.y1 > t[0].y && s.y + s.y0 < t[1].y;
|
|
11345
11342
|
}
|
|
11346
|
-
function
|
|
11343
|
+
function Cl(s) {
|
|
11347
11344
|
var t = s[0] / s[1];
|
|
11348
11345
|
return function(e) {
|
|
11349
11346
|
return [t * (e *= 0.1) * Math.cos(e), e * Math.sin(e)];
|
|
@@ -11382,7 +11379,7 @@ function xe(s) {
|
|
|
11382
11379
|
return s;
|
|
11383
11380
|
};
|
|
11384
11381
|
}
|
|
11385
|
-
const s0 = /* @__PURE__ */
|
|
11382
|
+
const s0 = /* @__PURE__ */ Tl(Fv);
|
|
11386
11383
|
class ny extends ot {
|
|
11387
11384
|
constructor() {
|
|
11388
11385
|
super(...arguments), this.type = "wordcloud", this.renderType = st.SVG, this.handleLegendOnHover = (t) => {
|
|
@@ -11572,7 +11569,7 @@ class i0 extends ot {
|
|
|
11572
11569
|
t = vh();
|
|
11573
11570
|
break;
|
|
11574
11571
|
case we.geoConicEqualArea:
|
|
11575
|
-
t =
|
|
11572
|
+
t = ll();
|
|
11576
11573
|
break;
|
|
11577
11574
|
case we.geoConicEquidistant:
|
|
11578
11575
|
t = bh();
|
|
@@ -11671,13 +11668,13 @@ export {
|
|
|
11671
11668
|
j0 as O,
|
|
11672
11669
|
lg as P,
|
|
11673
11670
|
Y0 as Q,
|
|
11674
|
-
|
|
11671
|
+
Al as R,
|
|
11675
11672
|
h0 as S,
|
|
11676
11673
|
Af as T,
|
|
11677
11674
|
ty as U,
|
|
11678
11675
|
ey as V,
|
|
11679
11676
|
ny as W,
|
|
11680
|
-
|
|
11677
|
+
Ml as X,
|
|
11681
11678
|
Kf as Y,
|
|
11682
11679
|
f0 as Z,
|
|
11683
11680
|
R0 as _,
|
|
@@ -11718,4 +11715,4 @@ export {
|
|
|
11718
11715
|
J0 as y,
|
|
11719
11716
|
U0 as z
|
|
11720
11717
|
};
|
|
11721
|
-
//# sourceMappingURL=choropleth-
|
|
11718
|
+
//# sourceMappingURL=choropleth-CeqRIFeN.mjs.map
|