@carbon/charts 1.19.3 → 1.21.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
- import { t as go, $ as Gl, i as Hl, a0 as mo, a1 as vo, a2 as Ul, a3 as zl, a4 as Fl, a5 as Wl, a6 as Xl, 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 jl, 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 Yl, h as qe, O as ql, ai as ke, z as vt, l as jt, aj as $t, ak as Zl, M as Kl, al as So, y as _t, q as un, n as Gn, am as Us, an as Jl, ao as Ql, ap as Si, aq as Xr, A as Te, ar as jr, as as xo, at as bo } from "./color-scale-utils-Be_a2c4x.mjs";
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 I, 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-CkmwGwzz.mjs";
5
- import { b as To, c as lt, a as ur, s as cc } from "./array-CpuOY0Tp.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-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 Oo = "\\ud800-\\udfff", Lc = "\\u0300-\\u036f", Ac = "\\ufe20-\\ufe2f", Mc = "\\u20d0-\\u20ff", _c = Lc + Ac + Mc, wo = "\\u2700-\\u27bf", Lo = "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", Ao = "A-Z\\xc0-\\xd6\\xd8-\\xde", Dc = "\\ufe0e\\ufe0f", Mo = Cc + kc + Rc + Ic, _o = "['’]", na = "[" + Mo + "]", Pc = "[" + _c + "]", Co = "\\d+", Nc = "[" + wo + "]", ko = "[" + Lo + "]", Ro = "[^" + Oo + Mo + Co + wo + Lo + Ao + "]", $c = "\\ud83c[\\udffb-\\udfff]", Vc = "(?:" + Pc + "|" + $c + ")", Bc = "[^" + Oo + "]", Io = "(?:\\ud83c[\\udde6-\\uddff]){2}", Do = "[\\ud800-\\udbff][\\udc00-\\udfff]", Xe = "[" + Ao + "]", Gc = "\\u200d", sa = "(?:" + ko + "|" + Ro + ")", Hc = "(?:" + Xe + "|" + Ro + ")", ia = "(?:" + _o + "(?:d|ll|m|re|s|t|ve))?", ra = "(?:" + _o + "(?:D|LL|M|RE|S|T|VE))?", Po = Vc + "?", No = "[" + Dc + "]?", Uc = "(?:" + Gc + "(?:" + [Bc, Io, Do].join("|") + ")" + No + Po + ")*", zc = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Fc = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Wc = No + Po + Uc, Xc = "(?:" + [Nc, Io, Do].join("|") + ")" + Wc, jc = RegExp([
222
- Xe + "?" + ko + "+" + ia + "(?=" + [na, Xe, "$"].join("|") + ")",
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
- Co,
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 $o(s, t, e) {
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 = Gl(function(s, t, e) {
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 = Hl(s) ? Array(s.length) : [];
262
- return To(s, function(i, r, a) {
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) ? Ul : su;
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 zl(iu(s, t), ru);
272
+ return Ul(iu(s, t), ru);
273
273
  }
274
- function Vo(s, t) {
275
- return Fl(s, t);
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 To(s, function(n, i, r) {
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) ? Wl : ou;
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 Bo(s) {
318
+ function Vo(s) {
319
319
  return Array.from(cu(s));
320
320
  }
321
321
  function uu(s) {
@@ -340,13 +340,13 @@ function gu() {
340
340
  function Rs(s, t) {
341
341
  var e = [], n = null, i = null, r = 6, a = 6, o = 3, c = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : 0.5, l = s === ss || s === vn ? -1 : 1, h = s === vn || s === is ? "x" : "y", d = s === ss || s === bi ? hu : du;
342
342
  function u(p) {
343
- var f = n ?? (t.ticks ? t.ticks.apply(t, e) : t.domain()), g = i ?? (t.tickFormat ? t.tickFormat.apply(t, e) : uu), m = Math.max(r, 0) + o, E = t.range(), y = +E[0] + c, v = +E[E.length - 1] + c, S = (t.bandwidth ? fu : pu)(t.copy(), c), b = p.selection ? p.selection() : p, O = b.selectAll(".domain").data([null]), R = b.selectAll(".tick").data(f, t).order(), k = R.exit(), G = R.enter().append("g").attr("class", "tick"), C = R.select("line"), L = R.select("text");
344
- O = O.merge(O.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), R = R.merge(G), C = C.merge(G.append("line").attr("stroke", "currentColor").attr(h + "2", l * r)), L = L.merge(G.append("text").attr("fill", "currentColor").attr(h, l * m).attr("dy", s === ss ? "0em" : s === bi ? "0.71em" : "0.32em")), p !== b && (O = O.transition(p), R = R.transition(p), C = C.transition(p), L = L.transition(p), k = k.transition(p).attr("opacity", aa).attr("transform", function(B) {
343
+ var f = n ?? (t.ticks ? t.ticks.apply(t, e) : t.domain()), g = i ?? (t.tickFormat ? t.tickFormat.apply(t, e) : uu), m = Math.max(r, 0) + o, E = t.range(), y = +E[0] + c, v = +E[E.length - 1] + c, S = (t.bandwidth ? fu : pu)(t.copy(), c), b = p.selection ? p.selection() : p, O = b.selectAll(".domain").data([null]), I = b.selectAll(".tick").data(f, t).order(), k = I.exit(), G = I.enter().append("g").attr("class", "tick"), C = I.select("line"), L = I.select("text");
344
+ O = O.merge(O.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), I = I.merge(G), C = C.merge(G.append("line").attr("stroke", "currentColor").attr(h + "2", l * r)), L = L.merge(G.append("text").attr("fill", "currentColor").attr(h, l * m).attr("dy", s === ss ? "0em" : s === bi ? "0.71em" : "0.32em")), p !== b && (O = O.transition(p), I = I.transition(p), C = C.transition(p), L = L.transition(p), k = k.transition(p).attr("opacity", aa).attr("transform", function(B) {
345
345
  return isFinite(B = S(B)) ? d(B + c) : this.getAttribute("transform");
346
346
  }), G.attr("opacity", aa).attr("transform", function(B) {
347
347
  var D = this.parentNode.__axis;
348
348
  return d((D && isFinite(D = D(B)) ? D : S(B)) + c);
349
- })), k.remove(), O.attr("d", s === vn || s === is ? a ? "M" + l * a + "," + y + "H" + c + "V" + v + "H" + l * a : "M" + c + "," + y + "V" + v : a ? "M" + y + "," + l * a + "V" + c + "H" + v + "V" + l * a : "M" + y + "," + c + "H" + v), R.attr("opacity", 1).attr("transform", function(B) {
349
+ })), k.remove(), O.attr("d", s === vn || s === is ? a ? "M" + l * a + "," + y + "H" + c + "V" + v + "H" + l * a : "M" + c + "," + y + "V" + v : a ? "M" + y + "," + l * a + "V" + c + "H" + v + "V" + l * a : "M" + y + "," + c + "H" + v), I.attr("opacity", 1).attr("transform", function(B) {
350
350
  return d(S(B) + c);
351
351
  }), C.attr(h + "2", l * r), L.attr(h, l * m).text(g), b.filter(gu).attr("fill", "none").attr("font-size", 10).attr("font-family", "sans-serif").attr("text-anchor", s === is ? "start" : s === vn ? "end" : "middle"), b.each(function() {
352
352
  this.__axis = S;
@@ -383,7 +383,7 @@ function vu(s) {
383
383
  function hr(s) {
384
384
  return Rs(bi, s);
385
385
  }
386
- function Go(s) {
386
+ function Bo(s) {
387
387
  return Rs(vn, s);
388
388
  }
389
389
  const Ti = { capture: !0, passive: !1 };
@@ -391,11 +391,11 @@ function Oi(s) {
391
391
  s.preventDefault(), s.stopImmediatePropagation();
392
392
  }
393
393
  function yu(s) {
394
- var t = s.document.documentElement, e = I(s).on("dragstart.drag", Oi, Ti);
394
+ var t = s.document.documentElement, e = R(s).on("dragstart.drag", Oi, Ti);
395
395
  "onselectstart" in t ? e.on("selectstart.drag", Oi, Ti) : (t.__noselect = t.style.MozUserSelect, t.style.MozUserSelect = "none");
396
396
  }
397
397
  function Eu(s, t) {
398
- var e = s.document.documentElement, n = I(s).on("dragstart.drag", null);
398
+ var e = s.document.documentElement, n = R(s).on("dragstart.drag", null);
399
399
  t && (n.on("click.drag", Oi, Ti), setTimeout(function() {
400
400
  n.on("click.drag", null);
401
401
  }, 0)), "onselectstart" in e ? n.on("selectstart.drag", null) : (e.style.MozUserSelect = e.__noselect, delete e.__noselect);
@@ -521,16 +521,16 @@ 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 Ho() {
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 = Xl("start", "brush", "end"), a = 6, o;
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() {
532
532
  var v = ti(this).extent;
533
- I(this).attr("x", v[0][0]).attr("y", v[0][1]).attr("width", v[1][0] - v[0][0]).attr("height", v[1][1] - v[0][1]);
533
+ R(this).attr("x", v[0][0]).attr("y", v[0][1]).attr("width", v[1][0] - v[0][0]).attr("height", v[1][1] - v[0][1]);
534
534
  }), m.selectAll(".selection").data([ds("selection")]).enter().append("rect").attr("class", "selection").attr("cursor", pe.selection).attr("fill", "#777").attr("fill-opacity", 0.3).attr("stroke", "#fff").attr("shape-rendering", "crispEdges");
535
535
  var y = m.selectAll(".handle").data(s.handles, function(v) {
536
536
  return v.type;
@@ -547,20 +547,20 @@ function Cu(s) {
547
547
  }).on("interrupt.brush end.brush", function(v) {
548
548
  h(this, arguments).end(v);
549
549
  }).tween("brush", function() {
550
- var v = this, S = v.__brush, b = h(v, arguments), O = S.selection, R = s.input(typeof E == "function" ? E.apply(this, arguments) : E, S.extent), k = yo(O, R);
550
+ var v = this, S = v.__brush, b = h(v, arguments), O = S.selection, I = s.input(typeof E == "function" ? E.apply(this, arguments) : E, S.extent), k = yo(O, I);
551
551
  function G(C) {
552
- S.selection = C === 1 && R === null ? null : k(C), l.call(v), b.brush();
552
+ S.selection = C === 1 && I === null ? null : k(C), l.call(v), b.brush();
553
553
  }
554
- return O !== null && R !== null ? G : G(1);
554
+ return O !== null && I !== null ? G : G(1);
555
555
  }) : m.each(function() {
556
- var v = this, S = arguments, b = v.__brush, O = s.input(typeof E == "function" ? E.apply(v, S) : E, b.extent), R = h(v, S).beforestart();
557
- zr(v), b.selection = O === null ? null : O, l.call(v), R.start(y).brush(y).end(y);
556
+ var v = this, S = arguments, b = v.__brush, O = s.input(typeof E == "function" ? E.apply(v, S) : E, b.extent), I = h(v, S).beforestart();
557
+ zr(v), b.selection = O === null ? null : O, l.call(v), I.start(y).brush(y).end(y);
558
558
  });
559
559
  }, c.clear = function(m, E) {
560
560
  c.move(m, null, E);
561
561
  };
562
562
  function l() {
563
- var m = I(this), E = ti(this).selection;
563
+ var m = R(this), E = ti(this).selection;
564
564
  E ? (m.selectAll(".selection").style("display", null).attr("x", E[0][0]).attr("y", E[0][1]).attr("width", E[1][0] - E[0][0]).attr("height", E[1][1] - E[0][1]), m.selectAll(".handle").style("display", null).attr("x", function(y) {
565
565
  return y.type[y.type.length - 1] === "e" ? E[1][0] - a / 2 : E[0][0] - a / 2;
566
566
  }).attr("y", function(y) {
@@ -592,7 +592,7 @@ function Cu(s) {
592
592
  return --this.active === 0 && (delete this.state.emitter, this.emit("end", m, E)), this;
593
593
  },
594
594
  emit: function(m, E, y) {
595
- var v = I(this.that).datum();
595
+ var v = R(this.that).datum();
596
596
  r.call(
597
597
  m,
598
598
  this.that,
@@ -609,7 +609,7 @@ function Cu(s) {
609
609
  };
610
610
  function u(m) {
611
611
  if (o && !m.touches || !e.apply(this, arguments)) return;
612
- var E = this, y = m.target.__data__.type, v = (i && m.metaKey ? y = "overlay" : y) === "selection" ? oa : i && m.altKey ? ze : Ue, S = s === Qs ? null : Ou[y], b = s === rs ? null : wu[y], O = ti(E), R = O.extent, k = O.selection, G = R[0][0], C, L, B = R[0][1], D, A, w = R[1][0], V, N, P = R[1][1], $, X, F = 0, et = 0, J, ct = S && b && i && m.shiftKey, Q, j, Z = Array.from(m.touches || [m], (nt) => {
612
+ var E = this, y = m.target.__data__.type, v = (i && m.metaKey ? y = "overlay" : y) === "selection" ? oa : i && m.altKey ? ze : Ue, S = s === Qs ? null : Ou[y], b = s === rs ? null : wu[y], O = ti(E), I = O.extent, k = O.selection, G = I[0][0], C, L, B = I[0][1], D, A, w = I[1][0], V, N, P = I[1][1], $, X, F = 0, et = 0, J, ct = S && b && i && m.shiftKey, Q, j, Z = Array.from(m.touches || [m], (nt) => {
613
613
  const St = nt.identifier;
614
614
  return nt = en(nt, E), nt.point0 = nt.slice(), nt.identifier = St, nt;
615
615
  });
@@ -628,11 +628,11 @@ function Cu(s) {
628
628
  } else
629
629
  C = k[0][0], D = k[0][1], V = k[1][0], $ = k[1][1];
630
630
  L = C, A = D, N = V, X = $;
631
- var ht = I(E).attr("pointer-events", "none"), Et = ht.selectAll(".overlay").attr("cursor", pe[y]);
631
+ var ht = R(E).attr("pointer-events", "none"), Et = ht.selectAll(".overlay").attr("cursor", pe[y]);
632
632
  if (m.touches)
633
633
  ut.moved = H, ut.ended = W;
634
634
  else {
635
- var Ut = I(m.view).on("mousemove.brush", H, !0).on("mouseup.brush", W, !0);
635
+ var Ut = R(m.view).on("mousemove.brush", H, !0).on("mouseup.brush", W, !0);
636
636
  i && Ut.on("keydown.brush", zt, !0).on("keyup.brush", an, !0), yu(m.view);
637
637
  }
638
638
  l.call(E), ut.start(m, v.name);
@@ -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 Uo(s) {
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 Uo;
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 ? Uo : Ru(t);
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, zo = 1e-12, at = Math.PI, Ht = at / 2, pa = at / 4, Wt = at * 2, Nt = 180 / at, Tt = at / 180, ft = Math.abs, Fo = Math.atan, Ie = Math.atan2, gt = Math.cos, Iu = Math.exp, Du = Math.log, dt = Math.sin, be = Math.sign || function(s) {
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 Wo(s, t, e) {
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 = Wo(s[0] * Tt, s[1] * Tt, s.length > 2 ? s[2] * Tt : 0);
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 Xo() {
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 jo(s, t, e, n, i) {
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)) {
@@ -1034,9 +1034,9 @@ function Bu(s, t) {
1034
1034
  i === 1 ? n = Ht + pt : i === -1 && (n = -Ht - pt);
1035
1035
  for (var l = 0, h = s.length; l < h; ++l)
1036
1036
  if (u = (d = s[l]).length)
1037
- for (var d, u, p = d[u - 1], f = ni(p), g = p[1] / 2 + pa, m = dt(g), E = gt(g), y = 0; y < u; ++y, f = S, m = O, E = R, p = v) {
1038
- var v = d[y], S = ni(v), b = v[1] / 2 + pa, O = dt(b), R = gt(b), k = S - f, G = k >= 0 ? 1 : -1, C = G * k, L = C > at, B = m * O;
1039
- if (c.add(Ie(B * G * dt(C), E * R + B * gt(C))), a += L ? k + G * Wt : k, L ^ f >= e ^ S >= e) {
1037
+ for (var d, u, p = d[u - 1], f = ni(p), g = p[1] / 2 + pa, m = dt(g), E = gt(g), y = 0; y < u; ++y, f = S, m = O, E = I, p = v) {
1038
+ var v = d[y], S = ni(v), b = v[1] / 2 + pa, O = dt(b), I = gt(b), k = S - f, G = k >= 0 ? 1 : -1, C = G * k, L = C > at, B = m * O;
1039
+ if (c.add(Ie(B * G * dt(C), E * I + B * gt(C))), a += L ? k + G * Wt : k, L ^ f >= e ^ S >= e) {
1040
1040
  var D = fs(nn(p), nn(v));
1041
1041
  _i(D);
1042
1042
  var A = fs(r, D);
@@ -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 < -zo) ^ o & 1;
1048
+ return (a < -pt || a < pt && c < -Uo) ^ o & 1;
1049
1049
  }
1050
- function Yo(s, t, e, n) {
1050
+ function jo(s, t, e, n) {
1051
1051
  return function(i) {
1052
- var r = t(i), a = Xo(), o = t(a), c = !1, l, h, d, u = {
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 = Bo(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), jo(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;
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();
@@ -1085,8 +1085,8 @@ function Yo(s, t, e, n) {
1085
1085
  }
1086
1086
  function v() {
1087
1087
  E(d[0][0], d[0][1]), o.lineEnd();
1088
- var S = o.clean(), b = a.result(), O, R = b.length, k, G, C;
1089
- if (d.pop(), l.push(d), d = null, !!R) {
1088
+ var S = o.clean(), b = a.result(), O, I = b.length, k, G, C;
1089
+ if (d.pop(), l.push(d), d = null, !!I) {
1090
1090
  if (S & 1) {
1091
1091
  if (G = b[0], (k = G.length - 1) > 0) {
1092
1092
  for (c || (i.polygonStart(), c = !0), i.lineStart(), O = 0; O < k; ++O) i.point((C = G[O])[0], C[1]);
@@ -1094,7 +1094,7 @@ function Yo(s, t, e, n) {
1094
1094
  }
1095
1095
  return;
1096
1096
  }
1097
- R > 1 && S & 2 && b.push(b.pop().concat(b.shift())), h.push(b.filter(Gu));
1097
+ I > 1 && S & 2 && b.push(b.pop().concat(b.shift())), h.push(b.filter(Gu));
1098
1098
  }
1099
1099
  }
1100
1100
  return u;
@@ -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 = Yo(
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 ? Fo((dt(t) * (r = gt(n)) * dt(e) - dt(n) * (i = gt(t)) * dt(s)) / (i * r * a)) : (t + n) / 2;
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;
@@ -1183,18 +1183,18 @@ function Wu(s) {
1183
1183
  function c(h, d, u) {
1184
1184
  var p = nn(h), f = nn(d), g = [1, 0, 0], m = fs(p, f), E = Fn(m, m), y = m[0], v = E - y * y;
1185
1185
  if (!v) return !u && h;
1186
- var S = t * E / v, b = -t * y / v, O = fs(g, m), R = Wn(g, S), k = Wn(m, b);
1187
- ei(R, k);
1188
- var G = O, C = Fn(R, G), L = Fn(G, G), B = C * C - L * (Fn(R, R) - 1);
1186
+ var S = t * E / v, b = -t * y / v, O = fs(g, m), I = Wn(g, S), k = Wn(m, b);
1187
+ ei(I, k);
1188
+ var G = O, C = Fn(I, G), L = Fn(G, G), B = C * C - L * (Fn(I, I) - 1);
1189
1189
  if (!(B < 0)) {
1190
1190
  var D = se(B), A = Wn(G, (-C - D) / L);
1191
- if (ei(A, R), A = Mi(A), !u) return A;
1191
+ if (ei(A, I), A = Mi(A), !u) return A;
1192
1192
  var w = h[0], V = d[0], N = h[1], P = d[1], $;
1193
1193
  V < w && ($ = w, w = V, V = $);
1194
1194
  var X = V - w, F = ft(X - at) < pt, et = F || X < pt;
1195
1195
  if (!F && P < N && ($ = N, N = P, P = $), et ? F ? N + P > 0 ^ A[1] < (ft(A[0] - w) < pt ? N : P) : N <= A[1] && A[1] <= P : X > at ^ (w <= A[0] && A[0] <= V)) {
1196
1196
  var J = Wn(G, (-C + D) / L);
1197
- return ei(J, R), [A, Mi(J)];
1197
+ return ei(J, I), [A, Mi(J)];
1198
1198
  }
1199
1199
  }
1200
1200
  }
@@ -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 Yo(a, o, r, n ? [0, -s] : [-at, s - at]);
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 = Xo(), u, p, f, g, m, E, y, v, S, b, O, R = {
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,14 +1289,14 @@ 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 = Bo(u)).length;
1293
- (V || N) && (l.polygonStart(), V && (l.lineStart(), r(null, null, 1, l), l.lineEnd()), N && jo(u, o, w, r, l), l.polygonEnd()), h = l, u = p = f = null;
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
- R.point = A, p && p.push(f = []), b = !0, S = !1, y = v = NaN;
1296
+ I.point = A, p && p.push(f = []), b = !0, S = !1, y = v = NaN;
1297
1297
  }
1298
1298
  function D() {
1299
- u && (A(g, m), E && S && d.rejoin(), u.push(d.result())), R.point = k, S && h.lineEnd();
1299
+ u && (A(g, m), E && S && d.rejoin(), u.push(d.result())), I.point = k, S && h.lineEnd();
1300
1300
  }
1301
1301
  function A(w, V) {
1302
1302
  var N = i(w, V);
@@ -1309,11 +1309,11 @@ function ju(s, t, e, n) {
1309
1309
  }
1310
1310
  y = w, v = V, S = N;
1311
1311
  }
1312
- return R;
1312
+ return I;
1313
1313
  };
1314
1314
  }
1315
1315
  const Ri = (s) => s;
1316
- var si = new Re(), Ii = new Re(), qo, Zo, Di, Pi, ve = {
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 = Ko, qo = Di = s, Zo = Pi = t;
1335
+ ve.point = Zo, Yo = Di = s, qo = Pi = t;
1336
1336
  }
1337
- function Ko(s, t) {
1337
+ function Zo(s, t) {
1338
1338
  Ii.add(Pi * s - Di * t), Di = s, Pi = t;
1339
1339
  }
1340
1340
  function Zu() {
1341
- Ko(qo, Zo);
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, Jo, Qo, le, ce, Zt = {
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
- tl(Jo, Qo);
1392
+ Qo(Ko, Jo);
1393
1393
  }
1394
1394
  function nh(s, t) {
1395
- Zt.point = tl, De(Jo = le = s, Qo = ce = t);
1395
+ Zt.point = Qo, De(Ko = le = s, Jo = ce = t);
1396
1396
  }
1397
- function tl(s, t) {
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 el(s) {
1401
+ function tl(s) {
1402
1402
  this._context = s;
1403
1403
  }
1404
- el.prototype = {
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, nl, sl, xn, bn, Rn = {
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 && il(nl, sl), Rn.point = Kt;
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 = il, nl = xn = s, sl = bn = t;
1459
+ Rn.point = sl, el = xn = s, nl = bn = t;
1460
1460
  }
1461
- function il(s, t) {
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 ? rl : ih(t), this._radius = 4.5, this._ = "";
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 rl(s) {
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 rl;
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 el(t = o), typeof n != "function" && r.pointRadius(n), a) : t;
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 al(s, t, e) {
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 al(s, [[0, 0], t], e);
1601
+ return rl(s, [[0, 0], t], e);
1602
1602
  }
1603
1603
  function oh(s, t, e) {
1604
1604
  return fr(s, function(n) {
@@ -1627,8 +1627,8 @@ function hh(s, t) {
1627
1627
  function e(n, i, r, a, o, c, l, h, d, u, p, f, g, m) {
1628
1628
  var E = l - n, y = h - i, v = E * E + y * y;
1629
1629
  if (v > 4 * t && g--) {
1630
- var S = a + u, b = o + p, O = c + f, R = se(S * S + b * b + O * O), k = Ee(O /= R), G = ft(ft(O) - 1) < pt || ft(r - d) < pt ? (r + d) / 2 : Ie(b, S), C = s(G, k), L = C[0], B = C[1], D = L - n, A = B - i, w = y * D - E * A;
1631
- (w * w / v > t || ft((E * D + y * A) / v - 0.5) > 0.3 || a * u + o * p + c * f < ch) && (e(n, i, r, a, o, c, L, B, G, S /= R, b /= R, O, g, m), m.point(L, B), e(L, B, G, S, b, O, l, h, d, u, p, f, g, m));
1630
+ var S = a + u, b = o + p, O = c + f, I = se(S * S + b * b + O * O), k = Ee(O /= I), G = ft(ft(O) - 1) < pt || ft(r - d) < pt ? (r + d) / 2 : Ie(b, S), C = s(G, k), L = C[0], B = C[1], D = L - n, A = B - i, w = y * D - E * A;
1631
+ (w * w / v > t || ft((E * D + y * A) / v - 0.5) > 0.3 || a * u + o * p + c * f < ch) && (e(n, i, r, a, o, c, L, B, G, S /= I, b /= I, O, g, m), m.point(L, B), e(L, B, G, S, b, O, l, h, d, u, p, f, g, m));
1632
1632
  }
1633
1633
  }
1634
1634
  return function(n) {
@@ -1657,12 +1657,12 @@ function hh(s, t) {
1657
1657
  m.point = E, n.lineEnd();
1658
1658
  }
1659
1659
  function b() {
1660
- y(), m.point = O, m.lineEnd = R;
1660
+ y(), m.point = O, m.lineEnd = I;
1661
1661
  }
1662
1662
  function O(k, G) {
1663
1663
  v(i = k, G), r = d, a = u, o = p, c = f, l = g, m.point = v;
1664
1664
  }
1665
- function R() {
1665
+ function I() {
1666
1666
  e(d, u, h, p, f, g, r, a, i, o, c, l, _a, n), m.lineEnd = S, S();
1667
1667
  }
1668
1668
  return m;
@@ -1700,12 +1700,12 @@ function ka(s, t, e, n, i, r) {
1700
1700
  }, f;
1701
1701
  }
1702
1702
  function Ds(s) {
1703
- return ol(function() {
1703
+ return al(function() {
1704
1704
  return s;
1705
1705
  })();
1706
1706
  }
1707
- function ol(s) {
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, R, k, G, C;
1707
+ function al(s) {
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);
1711
1711
  }
@@ -1737,9 +1737,9 @@ function ol(s) {
1737
1737
  }, L.reflectY = function(w) {
1738
1738
  return arguments.length ? (p = w ? -1 : 1, D()) : p < 0;
1739
1739
  }, L.precision = function(w) {
1740
- return arguments.length ? (O = Ca(R, b = w * w), A()) : se(b);
1740
+ return arguments.length ? (O = Ca(I, b = w * w), A()) : se(b);
1741
1741
  }, L.fitExtent = function(w, V) {
1742
- return al(L, w, V);
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 = Wo(o, c, l), R = Ci(t, V), k = Ci(h, R), O = Ca(R, b), A();
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 ll(s) {
1762
- var t = 0, e = at / 3, n = ol(s), i = n(t, e);
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 cl() {
1790
- return ll(mh).scale(155.424).center([0, 33.6442]);
1789
+ function ll() {
1790
+ return ol(mh).scale(155.424).center([0, 33.6442]);
1791
1791
  }
1792
1792
  function vh() {
1793
- return cl().parallels([29.5, 45.5]).scale(1070).translate([480, 250]).rotate([96, 0]).center([-0.6, 38.7]);
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 * Fo(Iu(t)) - Ht];
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 ll(xh).scale(131.154).center([0, 13.9389]);
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 ul(s, t) {
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
- ul.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) < zo)); ++r)
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(ul).scale(177.158);
1860
+ return Ds(cl).scale(177.158);
1861
1861
  }
1862
- function hl(s, t) {
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
- hl.invert = function(s, t) {
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(hl).scale(175.295);
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 : dl(s);
2067
+ return s == null ? null : hl(s);
2068
2068
  }
2069
- function dl(s) {
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 && pl(a, r) ? ++e : (a = ld(i = od(i, r)), e = 0);
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(fl(s[e], s[n], t), s))
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 pl(s, t) {
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 (!pl(s, t[e]))
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 fl(s[0], s[1], s[2]);
2133
+ return pl(s[0], s[1], s[2]);
2134
2134
  }
2135
2135
  }
2136
2136
  function cd(s) {
@@ -2148,10 +2148,10 @@ function Tn(s, t) {
2148
2148
  r: (d + i + o) / 2
2149
2149
  };
2150
2150
  }
2151
- function fl(s, t, e) {
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, R = (g * m - f * E) / b, k = (p * v - u * S) / (b * 2) - i, G = (u * E - p * m) / b, C = R * R + G * G - 1, L = 2 * (r + O * R + 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);
2151
+ function pl(s, t, e) {
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
- x: n + O + R * D,
2154
+ x: n + O + I * D,
2155
2155
  y: i + k + G * D,
2156
2156
  r: D
2157
2157
  };
@@ -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 = dl(u), h) : 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) {
@@ -2424,7 +2424,7 @@ function kd(s, t, e, n, i, r, a, o) {
2424
2424
  return u = (h * (t - r) - d * (s - i)) / u, [s + u * c, t + u * l];
2425
2425
  }
2426
2426
  function Zn(s, t, e, n, i, r, a) {
2427
- var o = s - e, c = t - n, l = (a ? r : -r) / Ke(o * o + c * c), h = l * c, d = -l * o, u = s + h, p = t + d, f = e + h, g = n + d, m = (u + f) / 2, E = (p + g) / 2, y = f - u, v = g - p, S = y * y + v * v, b = i - r, O = u * g - f * p, R = (v < 0 ? -1 : 1) * Ke(ic(0, b * b * S - O * O)), k = (O * v - y * R) / S, G = (-O * y - v * R) / S, C = (O * v + y * R) / S, L = (-O * y + v * R) / S, B = k - m, D = G - E, A = C - m, w = L - E;
2427
+ var o = s - e, c = t - n, l = (a ? r : -r) / Ke(o * o + c * c), h = l * c, d = -l * o, u = s + h, p = t + d, f = e + h, g = n + d, m = (u + f) / 2, E = (p + g) / 2, y = f - u, v = g - p, S = y * y + v * v, b = i - r, O = u * g - f * p, I = (v < 0 ? -1 : 1) * Ke(ic(0, b * b * S - O * O)), k = (O * v - y * I) / S, G = (-O * y - v * I) / S, C = (O * v + y * I) / S, L = (-O * y + v * I) / S, B = k - m, D = G - E, A = C - m, w = L - E;
2428
2428
  return B * B + D * D > A * A + w * w && (k = C, G = L), {
2429
2429
  cx: k,
2430
2430
  cy: G,
@@ -2442,10 +2442,10 @@ function Dn() {
2442
2442
  else if (m > ns - Gt)
2443
2443
  o.moveTo(p * Le(f), p * oe(f)), o.arc(0, 0, p, f, g, !E), u > Gt && (o.moveTo(u * Le(g), u * oe(g)), o.arc(0, 0, u, g, f, E));
2444
2444
  else {
2445
- var y = f, v = g, S = f, b = g, O = m, R = m, k = a.apply(this, arguments) / 2, G = k > Gt && (n ? +n.apply(this, arguments) : Ke(u * u + p * p)), C = qs(Jr(p - u) / 2, +e.apply(this, arguments)), L = C, B = C, D, A;
2445
+ var y = f, v = g, S = f, b = g, O = m, I = m, k = a.apply(this, arguments) / 2, G = k > Gt && (n ? +n.apply(this, arguments) : Ke(u * u + p * p)), C = qs(Jr(p - u) / 2, +e.apply(this, arguments)), L = C, B = C, D, A;
2446
2446
  if (G > Gt) {
2447
2447
  var w = Qr(G / u * oe(k)), V = Qr(G / p * oe(k));
2448
- (O -= w * 2) > Gt ? (w *= E ? 1 : -1, S += w, b -= w) : (O = 0, S = b = (f + g) / 2), (R -= V * 2) > Gt ? (V *= E ? 1 : -1, y += V, v -= V) : (R = 0, y = v = (f + g) / 2);
2448
+ (O -= w * 2) > Gt ? (w *= E ? 1 : -1, S += w, b -= w) : (O = 0, S = b = (f + g) / 2), (I -= V * 2) > Gt ? (V *= E ? 1 : -1, y += V, v -= V) : (I = 0, y = v = (f + g) / 2);
2449
2449
  }
2450
2450
  var N = p * Le(y), P = p * oe(y), $ = u * Le(b), X = u * oe(b);
2451
2451
  if (C > Gt) {
@@ -2457,7 +2457,7 @@ function Dn() {
2457
2457
  } else
2458
2458
  L = B = 0;
2459
2459
  }
2460
- R > Gt ? B > Gt ? (D = Zn(J, ct, N, P, p, B, E), A = Zn(F, et, $, X, p, B, E), o.moveTo(D.cx + D.x01, D.cy + D.y01), B < C ? o.arc(D.cx, D.cy, B, kt(D.y01, D.x01), kt(A.y01, A.x01), !E) : (o.arc(D.cx, D.cy, B, kt(D.y01, D.x01), kt(D.y11, D.x11), !E), o.arc(0, 0, p, kt(D.cy + D.y11, D.cx + D.x11), kt(A.cy + A.y11, A.cx + A.x11), !E), o.arc(A.cx, A.cy, B, kt(A.y11, A.x11), kt(A.y01, A.x01), !E))) : (o.moveTo(N, P), o.arc(0, 0, p, y, v, !E)) : o.moveTo(N, P), !(u > Gt) || !(O > Gt) ? o.lineTo($, X) : L > Gt ? (D = Zn($, X, F, et, u, -L, E), A = Zn(N, P, J, ct, u, -L, E), o.lineTo(D.cx + D.x01, D.cy + D.y01), L < C ? o.arc(D.cx, D.cy, L, kt(D.y01, D.x01), kt(A.y01, A.x01), !E) : (o.arc(D.cx, D.cy, L, kt(D.y01, D.x01), kt(D.y11, D.x11), !E), o.arc(0, 0, u, kt(D.cy + D.y11, D.cx + D.x11), kt(A.cy + A.y11, A.cx + A.x11), E), o.arc(A.cx, A.cy, L, kt(A.y11, A.x11), kt(A.y01, A.x01), !E))) : o.arc(0, 0, u, b, S, E);
2460
+ I > Gt ? B > Gt ? (D = Zn(J, ct, N, P, p, B, E), A = Zn(F, et, $, X, p, B, E), o.moveTo(D.cx + D.x01, D.cy + D.y01), B < C ? o.arc(D.cx, D.cy, B, kt(D.y01, D.x01), kt(A.y01, A.x01), !E) : (o.arc(D.cx, D.cy, B, kt(D.y01, D.x01), kt(D.y11, D.x11), !E), o.arc(0, 0, p, kt(D.cy + D.y11, D.cx + D.x11), kt(A.cy + A.y11, A.cx + A.x11), !E), o.arc(A.cx, A.cy, B, kt(A.y11, A.x11), kt(A.y01, A.x01), !E))) : (o.moveTo(N, P), o.arc(0, 0, p, y, v, !E)) : o.moveTo(N, P), !(u > Gt) || !(O > Gt) ? o.lineTo($, X) : L > Gt ? (D = Zn($, X, F, et, u, -L, E), A = Zn(N, P, J, ct, u, -L, E), o.lineTo(D.cx + D.x01, D.cy + D.y01), L < C ? o.arc(D.cx, D.cy, L, kt(D.y01, D.x01), kt(A.y01, A.x01), !E) : (o.arc(D.cx, D.cy, L, kt(D.y01, D.x01), kt(D.y11, D.x11), !E), o.arc(0, 0, u, kt(D.cy + D.y11, D.cx + D.x11), kt(A.cy + A.y11, A.cx + A.x11), E), o.arc(A.cx, A.cy, L, kt(A.y11, A.x11), kt(A.y01, A.x01), !E))) : o.arc(0, 0, u, b, S, E);
2461
2461
  }
2462
2462
  if (o.closePath(), h) return o = null, h + "" || null;
2463
2463
  }
@@ -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 = ml(lr);
2601
- function gl(s) {
2600
+ var Pd = gl(lr);
2601
+ function fl(s) {
2602
2602
  this._curve = s;
2603
2603
  }
2604
- gl.prototype = {
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 ml(s) {
2621
+ function gl(s) {
2622
2622
  function t(e) {
2623
- return new gl(s(e));
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(ml(e)) : t()._curve;
2630
+ return arguments.length ? t(gl(e)) : t()._curve;
2631
2631
  }, s;
2632
2632
  }
2633
2633
  function $d() {
@@ -2703,7 +2703,7 @@ class ot {
2703
2703
  this.id = `${i}--${this.configs.id}`;
2704
2704
  }
2705
2705
  this.parent || this.setParent(
2706
- I(
2706
+ R(
2707
2707
  this.services.domUtils.getMainContainer()
2708
2708
  )
2709
2709
  );
@@ -2746,7 +2746,7 @@ class ot {
2746
2746
  if (t.withinChartClip) {
2747
2747
  const r = this.model.get("chartClipId");
2748
2748
  if (r) {
2749
- const o = I(`#${r}`).select("rect");
2749
+ const o = R(`#${r}`).select("rect");
2750
2750
  o.size() !== 0 && parseFloat(o.attr("height")) > 0 && i.attr("clip-path", `url(#${r})`);
2751
2751
  }
2752
2752
  }
@@ -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: vl,
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: yl
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 = yl(null);
2830
- for (const [e, n] of vl(s))
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]+$/), El = Qt(
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
- ), Sl = Qt(/^html$/i), ap = Qt(/^[a-z][.\w]*(-[.\w]+)+$/i);
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: El,
2864
+ IS_ALLOWED_URI: yl,
2865
2865
  IS_SCRIPT_OR_DATA: ip,
2866
2866
  ATTR_WHITESPACE: rp,
2867
- DOCTYPE_NAME: Sl,
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 xl() {
2908
+ function Sl() {
2909
2909
  let s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : op();
2910
- const t = (K) => xl(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 {
@@ -2931,14 +2931,14 @@ function xl() {
2931
2931
  let S, b = "";
2932
2932
  const {
2933
2933
  implementation: O,
2934
- createNodeIterator: R,
2934
+ createNodeIterator: I,
2935
2935
  createDocumentFragment: k,
2936
2936
  getElementsByTagName: G
2937
2937
  } = e, {
2938
2938
  importNode: C
2939
2939
  } = n;
2940
2940
  let L = {};
2941
- t.isSupported = typeof vl == "function" && typeof v == "function" && O && O.createHTMLDocument !== void 0;
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(yl(null, {
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 Rl = "user-content-";
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 Il = rt({}, [$n, Vn, he], ci);
2986
+ const Rl = rt({}, [$n, Vn, he], ci);
2987
2987
  let ln = null;
2988
- const Dl = ["application/xhtml+xml", "text/html"], Pl = "text/html";
2988
+ const Il = ["application/xhtml+xml", "text/html"], Dl = "text/html";
2989
2989
  let Lt = null, Ve = null;
2990
- const Nl = e.createElement("form"), Mr = function(M) {
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
- Dl.indexOf(M.PARSER_MEDIA_TYPE) === -1 ? Pl : 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) : Il, Vs = ne(M, "ADD_URI_SAFE_ATTR") ? rt(
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 || El, $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) {
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"]), $l = rt({}, ["title", "style", "font", "a", "script"]), kr = rt({}, [...ui, ...hi, ...Kd]), Rr = rt({}, [...di, ...Jd]), Vl = function(M) {
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] && ($l[q] || !kr[q]) : !!(ln === "application/xhtml+xml" && Gs[M.namespaceURI]) : !1;
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
@@ -3082,7 +3082,7 @@ function xl() {
3082
3082
  const Ct = z.body || z.documentElement;
3083
3083
  return M && q && Ct.insertBefore(e.createTextNode(q), Ct.childNodes[0] || null), $e === he ? G.call(z, W ? "html" : "body")[0] : W ? z.documentElement : Ct;
3084
3084
  }, Dr = function(M) {
3085
- return R.call(
3085
+ return I.call(
3086
3086
  M.ownerDocument || M,
3087
3087
  M,
3088
3088
  // eslint-disable-next-line no-bitwise
@@ -3122,13 +3122,13 @@ function xl() {
3122
3122
  }
3123
3123
  return re(M), !0;
3124
3124
  }
3125
- return M instanceof c && !Vl(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) => {
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 Nl))
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 = Rl + Dt), S && typeof p == "object" && typeof p.getAttributeType == "function" && !Bt)
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
- }, Bl = function K(M) {
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 && Bl(mt.content), Gr(mt));
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(Sl, z.ownerDocument.doctype.name) && (Bt = "<!DOCTYPE " + z.ownerDocument.doctype.name + `>
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 = xl();
3284
+ var Er = Sl();
3285
3285
  const Qn = (s) => Er.sanitize(s, {
3286
3286
  USE_PROFILES: {
3287
3287
  html: !0,
@@ -3334,8 +3334,8 @@ const Qn = (s) => Er.sanitize(s, {
3334
3334
  ${cp(l.iconSVG.content)}
3335
3335
  </svg>
3336
3336
  </button>`).each(function(l, h) {
3337
- I(this).select("svg").style("pointer-events", "none").style("will-change", "transform").style("width", l.iconSVG.width !== void 0 ? l.iconSVG.width : "20px").style("height", l.iconSVG.height !== void 0 ? l.iconSVG.height : "20px"), I(this).select("button").on("mouseover focus", function(d) {
3338
- const u = I(this);
3337
+ R(this).select("svg").style("pointer-events", "none").style("will-change", "transform").style("width", l.iconSVG.width !== void 0 ? l.iconSVG.width : "20px").style("height", l.iconSVG.height !== void 0 ? l.iconSVG.height : "20px"), R(this).select("button").on("mouseover focus", function(d) {
3338
+ const u = R(this);
3339
3339
  u.classed("hovered", !0), c.services.events.dispatchEvent(x.Toolbar.SHOW_TOOLTIP, {
3340
3340
  event: d,
3341
3341
  hoveredElement: u,
@@ -3368,7 +3368,7 @@ const Qn = (s) => Er.sanitize(s, {
3368
3368
  }
3369
3369
  // show/hide overflow menu
3370
3370
  updateOverflowMenu(t) {
3371
- this.overflowMenu && (this.overflowMenu.classed("is-open", t), this.overflowButton && (this.overflowButton.attr("aria-expanded", t), I(this.overflowButton.node().parentNode).classed("cds--overflow-menu--open", t).classed("cds--overflow-menu--open", t)), t ? this.services.events.dispatchEvent(x.Toolbar.SHOW_OVERFLOW_MENU) : this.services.events.dispatchEvent(x.Toolbar.HIDE_OVERFLOW_MENU));
3371
+ this.overflowMenu && (this.overflowMenu.classed("is-open", t), this.overflowButton && (this.overflowButton.attr("aria-expanded", t), R(this.overflowButton.node().parentNode).classed("cds--overflow-menu--open", t).classed("cds--overflow-menu--open", t)), t ? this.services.events.dispatchEvent(x.Toolbar.SHOW_OVERFLOW_MENU) : this.services.events.dispatchEvent(x.Toolbar.HIDE_OVERFLOW_MENU));
3372
3372
  }
3373
3373
  // Toolbar controllers
3374
3374
  focusOnPreviousEnabledToolbarItem(t) {
@@ -3380,7 +3380,7 @@ const Qn = (s) => Er.sanitize(s, {
3380
3380
  break;
3381
3381
  }
3382
3382
  if (n < e.length) {
3383
- const i = I(
3383
+ const i = R(
3384
3384
  `button#${this.services.domUtils.generateElementIDString(
3385
3385
  `control-${e[n].id}`
3386
3386
  )}`
@@ -3397,7 +3397,7 @@ const Qn = (s) => Er.sanitize(s, {
3397
3397
  break;
3398
3398
  }
3399
3399
  if (n > -1) {
3400
- const i = I(
3400
+ const i = R(
3401
3401
  `button#${this.services.domUtils.generateElementIDString(
3402
3402
  `control-${e[n].id}`
3403
3403
  )}`
@@ -3414,7 +3414,7 @@ const Qn = (s) => Er.sanitize(s, {
3414
3414
  break;
3415
3415
  }
3416
3416
  if (n < e.length) {
3417
- const i = I(
3417
+ const i = R(
3418
3418
  `#${this.services.domUtils.generateElementIDString(
3419
3419
  `control-${e[n].id}`
3420
3420
  )} button`
@@ -3431,7 +3431,7 @@ const Qn = (s) => Er.sanitize(s, {
3431
3431
  break;
3432
3432
  }
3433
3433
  if (n > -1) {
3434
- const i = I(
3434
+ const i = R(
3435
3435
  `#${this.services.domUtils.generateElementIDString(
3436
3436
  `control-${e[n].id}`
3437
3437
  )} button`
@@ -3446,7 +3446,7 @@ const Qn = (s) => Er.sanitize(s, {
3446
3446
  this.updateOverflowMenu(!0);
3447
3447
  const e = this;
3448
3448
  this.getOverflowMenuItems().forEach((i, r) => {
3449
- const a = I(
3449
+ const a = R(
3450
3450
  `#${this.services.domUtils.generateElementIDString(`control-${i.id}`)}`
3451
3451
  );
3452
3452
  a !== null && (a.on("click", () => {
@@ -3710,7 +3710,7 @@ const Cs = class Cs extends ot {
3710
3710
  ).selectAll(`div.layout-child-${this._instanceID}`).data(this.children, (h) => h.id);
3711
3711
  o.enter().append("div").merge(e.selectAll(`div.layout-child-${this._instanceID}`)).attr("class", (h) => `layout-child layout-child-${this._instanceID} ${h.id}`).each(function(h) {
3712
3712
  h.components.forEach((d) => {
3713
- const u = I(this), f = T(h, "renderType") === st.SVG;
3713
+ const u = R(this), f = T(h, "renderType") === st.SVG;
3714
3714
  d.setParent(
3715
3715
  f ? _.appendOrSelect(u, "svg.layout-svg-wrapper").attr("width", "100%").attr("height", "100%") : u
3716
3716
  );
@@ -3718,7 +3718,7 @@ const Cs = class Cs extends ot {
3718
3718
  (g === Se.PREFERRED || g === Se.FIXED) && d.render(t);
3719
3719
  });
3720
3720
  }), e.selectAll(`div.layout-child-${this._instanceID}`).style("height", null).style("width", null).each(function(h) {
3721
- const d = T(h, "growth"), p = T(h, "renderType") === st.SVG ? _.getSVGElementSize(I(this).select("svg.layout-svg-wrapper"), {
3721
+ const d = T(h, "growth"), p = T(h, "renderType") === st.SVG ? _.getSVGElementSize(R(this).select("svg.layout-svg-wrapper"), {
3722
3722
  useBBox: !0
3723
3723
  }) : _.getHTMLElementSize(this);
3724
3724
  if (d === Se.PREFERRED) {
@@ -3817,15 +3817,15 @@ function Fi(s, t) {
3817
3817
  n[e] = s[e];
3818
3818
  return n;
3819
3819
  }
3820
- function bl(s) {
3820
+ function xl(s) {
3821
3821
  return s.reduce(function(t, e) {
3822
- return Array.isArray(e) ? t.push.apply(t, pp(bl(e))) : t.push(e), t;
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 bl(t).reduce(function(n, i) {
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 Tl(s);
3895
+ return bl(s);
3896
3896
  }
3897
- function Tl(s) {
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, Tl(a)), a;
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 Ol(s) {
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 wl = function() {
4453
+ var Ol = function() {
4454
4454
  };
4455
- process.env.NODE_ENV !== "production" && (wl = function(s, t, e) {
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 = wl;
4480
- const cf = /* @__PURE__ */ Ol(lf);
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) {
@@ -4897,7 +4897,7 @@ class d0 extends ot {
4897
4897
  render(t = !1) {
4898
4898
  const e = this.model.getOptions();
4899
4899
  if (!this.isEventListenerAdded) {
4900
- const n = I(this.services.domUtils.getHolder()), i = T(e, "style", "prefix");
4900
+ const n = R(this.services.domUtils.getHolder()), i = T(e, "style", "prefix");
4901
4901
  this.modal = _.appendOrSelect(n, `div.${qt}--${i}--modal`), this.addEventListeners(), this.isEventListenerAdded = !0;
4902
4902
  }
4903
4903
  }
@@ -5023,15 +5023,15 @@ class Mf extends ot {
5023
5023
  v.exit().remove();
5024
5024
  const S = v.enter().append("div").merge(v).classed("legend-item", !0).classed("additional", !0).attr(
5025
5025
  "aria-labelledby",
5026
- (R, k) => this.services.domUtils.generateElementIDString(
5026
+ (I, k) => this.services.domUtils.generateElementIDString(
5027
5027
  `legend-datagroup-${m.size() + k}-title`
5028
5028
  )
5029
5029
  );
5030
5030
  S.selectAll("*").remove();
5031
5031
  let b, O = 1;
5032
- S.append("svg").classed("icon", !0).each(function(R) {
5033
- const k = I(this);
5034
- !b || b != R.type ? (b = R.type, O = 1) : O++, y.addAdditionalItem(k, R, O);
5032
+ S.append("svg").classed("icon", !0).each(function(I) {
5033
+ const k = R(this);
5034
+ !b || b != I.type ? (b = I.type, O = 1) : O++, y.addAdditionalItem(k, I, O);
5035
5035
  }), S.append("p").merge(S.select("p")), this.truncateLegendText();
5036
5036
  }
5037
5037
  d.exit().on("mouseover", null).on("click", null).on("mouseout", null).remove(), p && u.size() > 1 && this.addEventListeners();
@@ -5088,9 +5088,9 @@ class Mf extends ot {
5088
5088
  const t = this, e = this.getComponentContainer(), n = this.getOptions(), i = T(n, "legend"), r = T(i, "truncation");
5089
5089
  e.selectAll("div.legend-item").on("mouseover", function(a) {
5090
5090
  t.services.events.dispatchEvent(x.Legend.ITEM_HOVER, {
5091
- hoveredElement: I(this)
5091
+ hoveredElement: R(this)
5092
5092
  });
5093
- const o = I(this);
5093
+ const o = R(this);
5094
5094
  o.select("div.checkbox").classed("hovered", !0);
5095
5095
  const c = o.datum();
5096
5096
  c.name.length > r.threshold && r.numCharacter < c.name.length && r.type !== Ze.NONE && t.services.events.dispatchEvent(x.Tooltip.SHOW, {
@@ -5099,30 +5099,30 @@ class Mf extends ot {
5099
5099
  content: c.name
5100
5100
  });
5101
5101
  }).on("mousemove", function(a) {
5102
- I(this).datum().name.length > r.threshold && r.type !== Ze.NONE && t.services.events.dispatchEvent(x.Tooltip.MOVE, {
5102
+ R(this).datum().name.length > r.threshold && r.type !== Ze.NONE && t.services.events.dispatchEvent(x.Tooltip.MOVE, {
5103
5103
  event: a
5104
5104
  });
5105
5105
  }).on("click", function() {
5106
5106
  t.services.events.dispatchEvent(x.Legend.ITEM_CLICK, {
5107
- clickedElement: I(this)
5107
+ clickedElement: R(this)
5108
5108
  });
5109
- const o = I(this).datum();
5109
+ const o = R(this).datum();
5110
5110
  t.model.toggleDataLabel(o.name);
5111
5111
  }).on("mouseout", function() {
5112
- const a = I(this);
5112
+ const a = R(this);
5113
5113
  a.select("div.checkbox").classed("hovered", !1), a.datum().name.length > r.threshold && r.type !== Ze.NONE && t.services.events.dispatchEvent(x.Tooltip.HIDE), t.services.events.dispatchEvent(x.Legend.ITEM_MOUSEOUT, {
5114
5114
  hoveredElement: a
5115
5115
  });
5116
5116
  }), e.selectAll("div.legend-item div.checkbox").on("keyup", function(a) {
5117
5117
  a.key && a.key === "Tab" && t.services.events.dispatchEvent(x.Legend.ITEM_HOVER, {
5118
- hoveredElement: I(this)
5118
+ hoveredElement: R(this)
5119
5119
  });
5120
5120
  }), e.selectAll("div.legend-item div.checkbox").on("keydown", function(a, o) {
5121
5121
  a.key && a.key === " " ? (a.preventDefault(), t.model.toggleDataLabel(o.name)) : a.key && a.key === "Tab" && t.services.events.dispatchEvent(x.Legend.ITEM_MOUSEOUT, {
5122
- hoveredElement: I(this)
5122
+ hoveredElement: R(this)
5123
5123
  });
5124
5124
  }), e.selectAll("g.additional-item").on("mouseover", function(a) {
5125
- const o = I(this), c = o.datum();
5125
+ const o = R(this), c = o.datum();
5126
5126
  c.name.length > r.threshold && t.services.events.dispatchEvent(x.Tooltip.SHOW, {
5127
5127
  event: a,
5128
5128
  hoveredElement: o,
@@ -5295,28 +5295,28 @@ new Ns();
5295
5295
  class Cf extends ot {
5296
5296
  constructor(t, e, n) {
5297
5297
  super(t, e, n), this.type = "tooltip", this.renderType = st.HTML, this.isEventListenerAdded = !1, this.lastTriggeredEventType = "", this.positionService = new Ns(), this.handleShowTooltip = (i) => {
5298
- const r = i.detail.data || i.detail.items;
5299
- let a;
5300
- const o = this.formatItems(this.getItems(i));
5301
- i.detail.content ? a = `<div class="title-tooltip"><p>${Qn(i.detail.content)}</p></div>` : a = Qn(this.getTooltipHTML(o));
5302
- const c = _.appendOrSelect(this.tooltip, "div.content-box");
5298
+ const r = i.detail.data || i.detail.items, a = R(i.detail.event.target).datum();
5299
+ let o;
5300
+ const c = this.formatItems(this.getItems(i));
5301
+ i.detail.content ? o = `<div class="title-tooltip"><p>${Qn(i.detail.content)}</p></div>` : o = Qn(this.getTooltipHTML(c));
5302
+ const l = _.appendOrSelect(this.tooltip, "div.content-box");
5303
5303
  if (T(this.getOptions(), "tooltip", "customHTML"))
5304
5304
  if (i.detail.content) {
5305
- const l = `<div class="title-tooltip"><p>${Qn(
5305
+ const h = `<div class="title-tooltip"><p>${Qn(
5306
5306
  i.detail.content
5307
5307
  )}</p></div>`;
5308
- c.html(l);
5308
+ l.html(h);
5309
5309
  } else
5310
- c.html(
5310
+ l.html(
5311
5311
  `<div class="title-tooltip"><p>${Qn(
5312
- this.model.getOptions().tooltip.customHTML(r, a)
5312
+ this.model.getOptions().tooltip.customHTML(r, o, a)
5313
5313
  )}</p></div>`
5314
5314
  );
5315
5315
  else
5316
- c.html(a);
5317
- c.selectAll(".datapoint-tooltip").each(function(l, h) {
5318
- const d = o[h];
5319
- o[h] && o[h].color && I(this).select(".tooltip-color").attr("class", "tooltip-color").style("background-color", d.color);
5316
+ l.html(o);
5317
+ l.selectAll(".datapoint-tooltip").each(function(h, d) {
5318
+ const u = c[d];
5319
+ c[d] && c[d].color && R(this).select(".tooltip-color").attr("class", "tooltip-color").style("background-color", u.color);
5320
5320
  }), this.positionTooltip(i), this.tooltip.classed("hidden", !1).attr("aria-hidden", !1), this.lastTriggeredEventType = i.type;
5321
5321
  }, this.handleHideTooltip = () => {
5322
5322
  this.tooltip.classed("hidden", !0).attr("aria-hidden", !0);
@@ -5386,7 +5386,7 @@ class Cf extends ot {
5386
5386
  render(t = !1) {
5387
5387
  const e = this.getOptions(), n = T(e, "tooltip", "enabled");
5388
5388
  if (n) {
5389
- const i = I(this.services.domUtils.getHolder()), r = T(e, "style", "prefix");
5389
+ const i = R(this.services.domUtils.getHolder()), r = T(e, "style", "prefix");
5390
5390
  this.tooltip = _.appendOrSelect(i, `div.${qt}--${r}--tooltip`), this.tooltip.style("max-width", null).attr("role", "tooltip"), this.isEventListenerAdded || (this.addTooltipEventListener(), this.isEventListenerAdded = !0), this.tooltip.classed("hidden", !0);
5391
5391
  } else !n && this.isEventListenerAdded && (this.removeTooltipEventListener(), this.isEventListenerAdded = !1);
5392
5392
  }
@@ -5478,17 +5478,17 @@ const Qe = class Qe extends ot {
5478
5478
  f === void 0 && (f = this.services.zoom.getDefaultZoomBarDomain(), f && this.model.set({ zoomDomain: f }, { animate: !1 }));
5479
5479
  const g = (b) => {
5480
5480
  const O = b[1] - b[0];
5481
- let R = "0," + O.toString();
5481
+ let I = "0," + O.toString();
5482
5482
  const k = Math.floor(c / Qe.DASH_LENGTH), G = k * Qe.DASH_LENGTH;
5483
5483
  for (let C = 0; C < k; C++)
5484
- R += "," + Qe.DASH_LENGTH;
5485
- R += "," + (c - G), k % 2 === 1 && (R += ",0"), R += "," + O.toString(), R += "," + c.toString(), p.attr("stroke-dasharray", R);
5484
+ I += "," + Qe.DASH_LENGTH;
5485
+ I += "," + (c - G), k % 2 === 1 && (I += ",0"), I += "," + O.toString(), I += "," + c.toString(), p.attr("stroke-dasharray", I);
5486
5486
  }, m = (b) => {
5487
5487
  const O = b.selection;
5488
5488
  O === null || O[0] === O[1] || (p.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), g(O));
5489
5489
  }, E = (b, O) => {
5490
- const R = rc().range([0, o]).domain(f);
5491
- let k = [R.invert(b), R.invert(O)];
5490
+ const I = rc().range([0, o]).domain(f);
5491
+ let k = [I.invert(b), I.invert(O)];
5492
5492
  k[0].valueOf() === k[1].valueOf() && (k = this.services.zoom.getDefaultZoomBarDomain()), (f[0].valueOf() !== k[0].valueOf() || f[1].valueOf() !== k[1].valueOf()) && this.services.zoom.handleDomainChange(k);
5493
5493
  };
5494
5494
  let y;
@@ -5496,17 +5496,17 @@ 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 = Ho().extent([
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));
5503
5503
  const S = this.services.zoom.getZoomRatio();
5504
5504
  i.on("click", function(b) {
5505
5505
  if (b.shiftKey) {
5506
- const O = this.services.domUtils.getHolder(), R = en(r.node(), O)[0];
5507
- let k = R - o * S / 2;
5506
+ const O = this.services.domUtils.getHolder(), I = en(r.node(), O)[0];
5507
+ let k = I - o * S / 2;
5508
5508
  k < 0 && (k = 0);
5509
- let G = R + o * S / 2;
5509
+ let G = I + o * S / 2;
5510
5510
  G > o && (G = o), E(k, G);
5511
5511
  }
5512
5512
  });
@@ -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 = Ho(), this.highlightStrokeWidth = 1;
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));
@@ -5577,11 +5577,11 @@ class f0 extends ot {
5577
5577
  ), this.xScale.range([l, c]).domain(E), this.maxSelectionRange = this.xScale.range(), this.yScale.range([0, o - 6]).domain(ks(m, (O) => O.value));
5578
5578
  const S = this.model.get("zoomDomain");
5579
5579
  if (r === Ge.GRAPH_VIEW && (this.renderZoomBarArea(d, "path.zoom-graph-area-unselected", m, null), this.updateClipPath(e, this.clipId, 0, 0, 0, 0), this.renderZoomBarArea(d, "path.zoom-graph-area", m, this.clipId), this.renderZoomBarBaseline(d, l, c), a)) {
5580
- const O = a.highlightStartMapsTo, R = a.highlightEndMapsTo, k = a.color, G = a.labelMapsTo;
5580
+ const O = a.highlightStartMapsTo, I = a.highlightEndMapsTo, k = a.color, G = a.labelMapsTo;
5581
5581
  a.data.forEach((C, L) => {
5582
5582
  _.appendOrSelect(d, `rect.highlight-${L}`).attr("height", o - 2 * this.highlightStrokeWidth).attr("y", this.highlightStrokeWidth).attr("x", this.xScale(C[O])).attr(
5583
5583
  "width",
5584
- this.xScale(C[R]) - this.xScale(C[O])
5584
+ this.xScale(C[I]) - this.xScale(C[O])
5585
5585
  ).style(
5586
5586
  "fill",
5587
5587
  k && k.scale[C[G]] ? k.scale[C[G]] : null
@@ -5596,7 +5596,7 @@ class f0 extends ot {
5596
5596
  if (S !== void 0) if (S[0].valueOf() === S[1].valueOf())
5597
5597
  b.call(this.brush.move, this.xScale.range()), this.updateBrushHandle(this.getComponentContainer(), this.xScale.range());
5598
5598
  else {
5599
- const O = S.map((R) => this.xScale(R));
5599
+ const O = S.map((I) => this.xScale(I));
5600
5600
  O[1] - O[0] < this.MIN_SELECTION_DIFF || (b.call(this.brush.move, O), this.updateBrushHandle(this.getComponentContainer(), O));
5601
5601
  }
5602
5602
  i && (this.brush.filter(() => !1), b.selectAll("rect").attr("cursor", "auto"));
@@ -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 = jl(t), i = this.services.cartesianScales.getDomainIdentifier(), r = this.services.cartesianScales.getRangeIdentifier();
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);
@@ -5742,11 +5742,11 @@ class g0 extends ot {
5742
5742
  ), f = d.services.cartesianScales.getScaleTypeByPosition(u);
5743
5743
  let g = null, m = null;
5744
5744
  u === Y.LEFT || u === Y.RIGHT ? (m = p, g = d.services.cartesianScales.getMainXScale()) : (g = p, m = d.services.cartesianScales.getMainYScale());
5745
- const E = f === Mt.LABELS, [y, v] = g.range(), [S, b] = m.range(), { cartesianScales: O } = d.services, R = O.getOrientation(), k = (D) => O.getDomainValue(D), G = (D) => O.getRangeValue(D), [C, L] = ye(
5745
+ const E = f === Mt.LABELS, [y, v] = g.range(), [S, b] = m.range(), { cartesianScales: O } = d.services, I = O.getOrientation(), k = (D) => O.getDomainValue(D), G = (D) => O.getRangeValue(D), [C, L] = ye(
5746
5746
  k,
5747
5747
  G,
5748
- R
5749
- ), B = I(this);
5748
+ I
5749
+ ), B = R(this);
5750
5750
  u === Y.TOP || u === Y.BOTTOM ? (B.selectAll("line.threshold-line").transition().call(
5751
5751
  (D) => d.services.transitions.setupTransition({
5752
5752
  transition: D,
@@ -5790,7 +5790,7 @@ class g0 extends ot {
5790
5790
  return o(e, a);
5791
5791
  }
5792
5792
  appendThresholdLabel() {
5793
- const t = I(this.services.domUtils.getHolder()), e = T(this.getOptions(), "style", "prefix");
5793
+ const t = R(this.services.domUtils.getHolder()), e = T(this.getOptions(), "style", "prefix");
5794
5794
  this.label = _.appendOrSelect(
5795
5795
  t,
5796
5796
  `div.${qt}--${e}--threshold--label`
@@ -5832,16 +5832,16 @@ class g0 extends ot {
5832
5832
  addEventListeners() {
5833
5833
  const t = this;
5834
5834
  this.getComponentContainer({ withinChartClip: !0 }).selectAll("rect.threshold-hoverable-area").on("mouseover mousemove", function(n) {
5835
- I(this.parentNode).select("line.threshold-line").classed("active", !0), t.services.events.dispatchEvent(x.Threshold.SHOW, {
5835
+ R(this.parentNode).select("line.threshold-line").classed("active", !0), t.services.events.dispatchEvent(x.Threshold.SHOW, {
5836
5836
  event: n,
5837
- hoveredElement: I(this),
5838
- datum: I(this).datum()
5837
+ hoveredElement: R(this),
5838
+ datum: R(this).datum()
5839
5839
  });
5840
5840
  }).on("mouseout", function(n) {
5841
- I(this.parentNode).select("line.threshold-line").classed("active", !1), t.services.events.dispatchEvent(x.Threshold.HIDE, {
5841
+ R(this.parentNode).select("line.threshold-line").classed("active", !1), t.services.events.dispatchEvent(x.Threshold.HIDE, {
5842
5842
  event: n,
5843
- hoveredElement: I(this),
5844
- datum: I(this).datum()
5843
+ hoveredElement: R(this),
5844
+ datum: R(this).datum()
5845
5845
  });
5846
5846
  });
5847
5847
  }
@@ -5877,20 +5877,20 @@ class m0 extends ot {
5877
5877
  l.append("rect").attr("class", "highlight-bar"), l.append("line").attr("class", "highlight-line"), l.merge(c).attr("class", "highlight-group");
5878
5878
  const d = this;
5879
5879
  o.each(function({ axisPosition: u }) {
5880
- const p = d.services.cartesianScales.getMainXScale(), f = d.services.cartesianScales.getMainYScale(), [g, m] = p.range(), [E, y] = f.range(), { cartesianScales: v } = d.services, S = v.getOrientation(), b = (C) => v.getDomainValue(C), O = (C) => v.getRangeValue(C), [R, k] = ye(
5880
+ const p = d.services.cartesianScales.getMainXScale(), f = d.services.cartesianScales.getMainYScale(), [g, m] = p.range(), [E, y] = f.range(), { cartesianScales: v } = d.services, S = v.getOrientation(), b = (C) => v.getDomainValue(C), O = (C) => v.getRangeValue(C), [I, k] = ye(
5881
5881
  b,
5882
5882
  O,
5883
5883
  S
5884
- ), G = I(this);
5884
+ ), G = R(this);
5885
5885
  u === Y.TOP || u === Y.BOTTOM ? G.selectAll("rect.highlight-bar").transition().call(
5886
5886
  (C) => d.services.transitions.setupTransition({
5887
5887
  transition: C,
5888
5888
  name: "highlight-bar-update",
5889
5889
  animate: t
5890
5890
  })
5891
- ).attr("y", Math.max(y + d.highlightStrokeWidth, 0)).attr("height", Math.max(E - 2 * d.highlightStrokeWidth, 0)).attr("x", ({ highlightStartMapsTo: C, ...L }) => R(L[C])).attr(
5891
+ ).attr("y", Math.max(y + d.highlightStrokeWidth, 0)).attr("height", Math.max(E - 2 * d.highlightStrokeWidth, 0)).attr("x", ({ highlightStartMapsTo: C, ...L }) => I(L[C])).attr(
5892
5892
  "width",
5893
- ({ highlightStartMapsTo: C, highlightEndMapsTo: L, ...B }) => Math.max(R(B[L]) - R(B[C]), 0)
5893
+ ({ highlightStartMapsTo: C, highlightEndMapsTo: L, ...B }) => Math.max(I(B[L]) - I(B[C]), 0)
5894
5894
  ).style("stroke", ({ color: C, labelMapsTo: L, ...B }) => C && C.scale[B[L]] ? C.scale[B[L]] : null).style("stroke-dasharray", "2, 2").attr("stroke-width", d.highlightStrokeWidth + "px").style("fill-opacity", 0.1).style("fill", ({ color: C, labelMapsTo: L, ...B }) => C && C.scale[B[L]] ? C.scale[B[L]] : null) : G.selectAll("rect.highlight-bar").transition().call(
5895
5895
  (C) => d.services.transitions.setupTransition({
5896
5896
  transition: C,
@@ -6033,7 +6033,7 @@ function Rf(s) {
6033
6033
  function If(s, t) {
6034
6034
  return t - 1 - s.height;
6035
6035
  }
6036
- function Ll(s, t) {
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 = Ll, l, h, d = Pf, u = Nf, p = 6;
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;
@@ -6182,7 +6182,7 @@ function $f() {
6182
6182
  a = Math.min(r, (n - t) / (to(V, (N) => N.length) - 1)), S(V);
6183
6183
  for (let N = 0; N < p; ++N) {
6184
6184
  const P = Math.pow(0.99, N), $ = Math.max(1 - P, (N + 1) / p);
6185
- R(V, P, $), O(V, P, $);
6185
+ I(V, P, $), O(V, P, $);
6186
6186
  }
6187
6187
  }
6188
6188
  function O(w, V, N) {
@@ -6201,7 +6201,7 @@ function $f() {
6201
6201
  l === void 0 && X.sort(Ms), k(X, N);
6202
6202
  }
6203
6203
  }
6204
- function R(w, V, N) {
6204
+ function I(w, V, N) {
6205
6205
  for (let P = w.length, $ = P - 2; $ >= 0; --$) {
6206
6206
  const X = w[$];
6207
6207
  for (const F of X) {
@@ -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 Al() {
6280
+ function Ll() {
6281
6281
  return new or();
6282
6282
  }
6283
- or.prototype = Al.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 = Al()), 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;
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 = Ll;
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],
@@ -6418,11 +6418,11 @@ class y0 extends ot {
6418
6418
  ).style("font-size", "14px").text((v) => u[v] ? u[v] : "").attr("y", 20).attr("x", (v, S) => {
6419
6419
  const b = this.services.domUtils.generateElementIDString(
6420
6420
  `alluvial-category-${S}`
6421
- ), { width: O } = _.getSVGElementSize(I(`text#${b}`), {
6421
+ ), { width: O } = _.getSVGElementSize(R(`text#${b}`), {
6422
6422
  useBBox: !0
6423
6423
  });
6424
- let R = 0;
6425
- return v + R >= O && (R = -O + 4), R;
6424
+ let I = 0;
6425
+ return v + I >= O && (I = -O + 4), I;
6426
6426
  });
6427
6427
  const f = e.append("g").attr("fill", "none").selectAll("g").data(this.graph.links);
6428
6428
  if (f.exit().remove(), o) {
@@ -6467,18 +6467,18 @@ class y0 extends ot {
6467
6467
  ).attr("class", "node-text").style("font-size", "12px").attr("text-anchor", "start").attr("fill", "white").attr("x", 4).attr("dy", 13).text((v) => `${v.name} (${y(v.value, E)})`).attr("aria-label", (v) => `${v.name} (${v.value})`), m.append("rect").classed("node-text-bg", !0).attr("width", (v, S) => {
6468
6468
  const b = this.services.domUtils.generateElementIDString(
6469
6469
  `alluvial-node-text-${S}`
6470
- ), { width: O } = _.getSVGElementSize(I(`text#${b}`), {
6470
+ ), { width: O } = _.getSVGElementSize(R(`text#${b}`), {
6471
6471
  useBBox: !0
6472
6472
  });
6473
6473
  return O + 8;
6474
6474
  }).attr("height", 18).attr("stroke-width", 2).lower(), m.attr("transform", (v, S) => {
6475
6475
  const b = this.services.domUtils.generateElementIDString(
6476
6476
  `alluvial-node-text-${S}`
6477
- ), { width: O } = _.getSVGElementSize(I(`text#${b}`), {
6477
+ ), { width: O } = _.getSVGElementSize(R(`text#${b}`), {
6478
6478
  useBBox: !0
6479
- }), R = (v.y1 - v.y0) / 2 - 9;
6479
+ }), I = (v.y1 - v.y0) / 2 - 9;
6480
6480
  let k = v.x1 - v.x0;
6481
- return v.x1 >= O ? k = k - (O + 16) : k += 4, `translate(${k}, ${R})`;
6481
+ return v.x1 >= O ? k = k - (O + 16) : k += 4, `translate(${k}, ${I})`;
6482
6482
  }), this.addLineEventListener(), this.addNodeEventListener();
6483
6483
  }
6484
6484
  addLineEventListener() {
@@ -6489,12 +6489,12 @@ class y0 extends ot {
6489
6489
  name: "alluvial-links-mouse-highlight"
6490
6490
  })
6491
6491
  );
6492
- o === "mouseout" ? (I(a).lower(), c.style("stroke-opacity", ee.opacity.default)) : c.style("stroke-opacity", function() {
6493
- return a === this ? (I(this).raise(), ee.opacity.selected) : ee.opacity.unfocus;
6492
+ o === "mouseout" ? (R(a).lower(), c.style("stroke-opacity", ee.opacity.default)) : c.style("stroke-opacity", function() {
6493
+ return a === this ? (R(this).raise(), ee.opacity.selected) : ee.opacity.unfocus;
6494
6494
  });
6495
6495
  }, 33);
6496
6496
  this.parent.selectAll("path.link").on("mouseover", function(a, o) {
6497
- const c = I(this);
6497
+ const c = R(this);
6498
6498
  r(this, "mouseover"), c.classed("link-hovered", !0);
6499
6499
  const l = getComputedStyle(this).getPropertyValue("stroke");
6500
6500
  e.services.events.dispatchEvent(x.Alluvial.LINE_MOUSEOVER, {
@@ -6516,7 +6516,7 @@ class y0 extends ot {
6516
6516
  }).on("mousemove", function(a, o) {
6517
6517
  e.services.events.dispatchEvent(x.Alluvial.LINE_MOUSEMOVE, {
6518
6518
  event: a,
6519
- element: I(this),
6519
+ element: R(this),
6520
6520
  datum: o
6521
6521
  }), e.services.events.dispatchEvent(x.Tooltip.MOVE, {
6522
6522
  event: a
@@ -6524,11 +6524,11 @@ class y0 extends ot {
6524
6524
  }).on("click", function(a, o) {
6525
6525
  e.services.events.dispatchEvent(x.Alluvial.LINE_CLICK, {
6526
6526
  event: a,
6527
- element: I(this),
6527
+ element: R(this),
6528
6528
  datum: o
6529
6529
  });
6530
6530
  }).on("mouseout", function(a, o) {
6531
- const c = I(this);
6531
+ const c = R(this);
6532
6532
  r(this, "mouseout"), c.classed("link-hovered", !1), e.services.events.dispatchEvent(x.Alluvial.LINE_MOUSEOUT, {
6533
6533
  event: a,
6534
6534
  element: c,
@@ -6551,11 +6551,11 @@ class y0 extends ot {
6551
6551
  name: "alluvial-link-mouse-highlight"
6552
6552
  })
6553
6553
  ).style("stroke-opacity", function(a) {
6554
- return n.some((o) => o === a.index) ? (I(this).classed("link-hovered", !0).raise(), ee.opacity.selected) : ee.opacity.unfocus;
6554
+ return n.some((o) => o === a.index) ? (R(this).classed("link-hovered", !0).raise(), ee.opacity.selected) : ee.opacity.unfocus;
6555
6555
  });
6556
6556
  }, 66);
6557
6557
  t.parent.selectAll(".node-group").on("mouseover", function(n, i) {
6558
- const r = I(this), a = [];
6558
+ const r = R(this), a = [];
6559
6559
  if (t.traverse({ link: "sourceLinks", node: "target" }, i, a), t.traverse({ link: "targetLinks", node: "source" }, i, a), a.length) {
6560
6560
  const o = mn(r.attr("transform"));
6561
6561
  if (r.attr("transform", `translate(${o.x - 2}, ${o.y})`), r.classed("node-hovered", !0).selectAll("rect.node").attr("width", 8), i.x0 - 2 === 0) {
@@ -6576,7 +6576,7 @@ class y0 extends ot {
6576
6576
  }).on("mousemove", function(n, i) {
6577
6577
  t.services.events.dispatchEvent(x.Alluvial.NODE_MOUSEMOVE, {
6578
6578
  event: n,
6579
- element: I(this),
6579
+ element: R(this),
6580
6580
  datum: i
6581
6581
  }), t.services.events.dispatchEvent(x.Tooltip.MOVE, {
6582
6582
  event: n
@@ -6584,11 +6584,11 @@ class y0 extends ot {
6584
6584
  }).on("click", function(n, i) {
6585
6585
  t.services.events.dispatchEvent(x.Alluvial.NODE_CLICK, {
6586
6586
  event: n,
6587
- element: I(this),
6587
+ element: R(this),
6588
6588
  datum: i
6589
6589
  });
6590
6590
  }).on("mouseout", function(n, i) {
6591
- const r = I(this), a = mn(r.attr("transform"));
6591
+ const r = R(this), a = mn(r.attr("transform"));
6592
6592
  if (r.classed("node-hovered", !1).attr("transform", `translate(${a.x + 2}, ${a.y})`).select("rect.node").attr("width", ee.nodeWidth), i.x0 - 2 === 0) {
6593
6593
  const c = t.services.domUtils.generateElementIDString(
6594
6594
  `alluvial-node-title-${i.index}`
@@ -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 = Go(i).tickSizeInner(-n).tickSizeOuter(0);
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);
@@ -6746,8 +6746,8 @@ class S0 extends ot {
6746
6746
  const e = this.getComponentContainer({ withinChartClip: !0 }), n = this.getOptions();
6747
6747
  let i = [0, 0];
6748
6748
  const { cartesianScales: r } = this.services, a = r.getOrientation(), o = yr().curve(this.services.curves.getD3Curve()).defined((b) => {
6749
- const O = r.getRangeIdentifier(), R = b[O];
6750
- return R != null;
6749
+ const O = r.getRangeIdentifier(), I = b[O];
6750
+ return I != null;
6751
6751
  }), c = this.model.getGroupedData(this.configs.groups), l = T(n, "bounds"), h = l && c && c.length === 1;
6752
6752
  !h && l && console.warn(
6753
6753
  `Bounds can only be shown when having 1 single datagroup, you've supplied ${c.length}`
@@ -6759,7 +6759,7 @@ class S0 extends ot {
6759
6759
  a === Ft.VERTICAL ? (i = r.getMainYScale().domain(), u(r.getMainYAxisPosition(), i), o.x((b) => r.getDomainValue(b)).y0((b) => p(b)).y1((b) => f(b))) : (i = r.getMainXScale().domain(), u(r.getMainXAxisPosition(), i), o.x0((b) => p(b)).x1((b) => f(b)).y((b) => r.getDomainValue(b)));
6760
6760
  const g = T(n, "color", "gradient", "enabled"), m = c && c.length === 1 && g;
6761
6761
  c.length > 1 && g && console.error("Gradients can only be enabled when having 1 single dataset");
6762
- const E = e.selectAll("path.area").data(c, (b) => b.name), y = I(this.services.domUtils.getMainContainer());
6762
+ const E = e.selectAll("path.area").data(c, (b) => b.name), y = R(this.services.domUtils.getMainContainer());
6763
6763
  if (E.exit().attr("opacity", 0).remove(), !c.length)
6764
6764
  return;
6765
6765
  if (m) {
@@ -6775,10 +6775,10 @@ class S0 extends ot {
6775
6775
  "stroke"
6776
6776
  );
6777
6777
  else {
6778
- const R = T(this.model.getOptions(), "color", "scale");
6779
- if (R !== null) {
6780
- const k = Object.keys(R);
6781
- O = R[k[0]];
6778
+ const I = T(this.model.getOptions(), "color", "scale");
6779
+ if (I !== null) {
6780
+ const k = Object.keys(I);
6781
+ O = I[k[0]];
6782
6782
  }
6783
6783
  }
6784
6784
  ta.appendOrUpdateLinearGradient({
@@ -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 Ml extends ot {
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,8 @@ 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 && !Vo(this.elementsToHighlight, y) && this.hideRuler(), y.dispatch("mouseover"), this.elementsToHighlight = y, this.services.events.dispatchEvent(x.Tooltip.SHOW, {
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
+ event: t,
6968
6969
  mousePosition: [e, n],
6969
6970
  hoveredElement: u,
6970
6971
  data: this.formatTooltipData(m)
@@ -6990,7 +6991,7 @@ class Ml extends ot {
6990
6991
  };
6991
6992
  if (n.length > 100) {
6992
6993
  const r = n.length % 50 * 12.5;
6993
- i = Yl(
6994
+ i = jl(
6994
6995
  function(a) {
6995
6996
  const { mousePosition: o } = this;
6996
6997
  t.showRuler(a, o);
@@ -7177,7 +7178,7 @@ class Sr extends ot {
7177
7178
  if (!this.parent) throw new Error("Parent not defined");
7178
7179
  this.parent.selectAll("circle").on("mouseover", function(n, i) {
7179
7180
  var a, o;
7180
- const r = I(this);
7181
+ const r = R(this);
7181
7182
  r.classed("hovered", !0).attr(
7182
7183
  "class",
7183
7184
  (c) => t.model.getColorClassName({
@@ -7201,7 +7202,7 @@ class Sr extends ot {
7201
7202
  });
7202
7203
  }).on("mousemove", function(n, i) {
7203
7204
  var a, o;
7204
- const r = I(this);
7205
+ const r = R(this);
7205
7206
  (a = t.services.events) == null || a.dispatchEvent(x.Scatter.SCATTER_MOUSEMOVE, {
7206
7207
  event: n,
7207
7208
  element: r,
@@ -7213,12 +7214,12 @@ class Sr extends ot {
7213
7214
  var r;
7214
7215
  (r = t.services.events) == null || r.dispatchEvent(x.Scatter.SCATTER_CLICK, {
7215
7216
  event: n,
7216
- element: I(this),
7217
+ element: R(this),
7217
7218
  datum: i
7218
7219
  });
7219
7220
  }).on("mouseout", function(n, i) {
7220
7221
  var a, o, c;
7221
- const r = I(this);
7222
+ const r = R(this);
7222
7223
  if (r.classed("hovered", !1), !t.configs.filled) {
7223
7224
  const { filled: l } = t.getOptions().points, h = (a = t.services.cartesianScales) == null ? void 0 : a.getDomainIdentifier(i), d = t.model.getIsFilled(
7224
7225
  i[e],
@@ -7248,7 +7249,7 @@ class Sr extends ot {
7248
7249
  ), t.removeEventListener(x.Legend.ITEM_MOUSEOUT, this.handleLegendMouseOut), t.removeEventListener(x.Chart.MOUSEOVER, this.handleChartHolderOnHover), t.removeEventListener(x.Chart.MOUSEOUT, this.handleChartHolderOnMouseOut);
7249
7250
  }
7250
7251
  }
7251
- class _l extends ot {
7252
+ class Ml extends ot {
7252
7253
  constructor(t, e, n) {
7253
7254
  super(t, e, n), this.type = "axes", this.renderType = st.SVG, this.truncation = {
7254
7255
  [Y.LEFT]: !1,
@@ -7268,7 +7269,7 @@ class _l extends ot {
7268
7269
  let u;
7269
7270
  switch (e) {
7270
7271
  case Y.LEFT:
7271
- u = Go;
7272
+ u = Bo;
7272
7273
  break;
7273
7274
  case Y.BOTTOM:
7274
7275
  u = hr;
@@ -7289,7 +7290,7 @@ class _l extends ot {
7289
7290
  f.attr("aria-hidden", !0);
7290
7291
  return;
7291
7292
  }
7292
- const S = T(m, "scaleType"), b = T(n, "data", "loading"), O = T(m, "ticks", "number"), R = T(m, "ticks", "values"), k = T(m, "truncation", "type"), G = T(m, "truncation", "threshold"), C = T(m, "truncation", "numCharacter"), L = O !== null, B = T(n, "timeScale"), D = _.appendOrSelect(g, "g.tick"), A = _.appendOrSelect(D, "text").text("0"), w = _.getSVGElementSize(A.node(), {
7293
+ const S = T(m, "scaleType"), b = T(n, "data", "loading"), O = T(m, "ticks", "number"), I = T(m, "ticks", "values"), k = T(m, "truncation", "type"), G = T(m, "truncation", "threshold"), C = T(m, "truncation", "numCharacter"), L = O !== null, B = T(n, "timeScale"), D = _.appendOrSelect(g, "g.tick"), A = _.appendOrSelect(D, "text").text("0"), w = _.getSVGElementSize(A.node(), {
7293
7294
  useBBox: !0
7294
7295
  }).height;
7295
7296
  D.remove();
@@ -7333,19 +7334,19 @@ class _l extends ot {
7333
7334
  N.tickFormat(P);
7334
7335
  const [et, J] = this.services.cartesianScales.getScaleByPosition(e).domain();
7335
7336
  let ct;
7336
- if (R) {
7337
+ if (I) {
7337
7338
  if (E)
7338
- R.forEach((j, Z) => {
7339
- j.getTime === void 0 && (R[Z] = new Date(j));
7340
- }), ct = R.filter((j) => {
7339
+ I.forEach((j, Z) => {
7340
+ j.getTime === void 0 && (I[Z] = new Date(j));
7341
+ }), ct = I.filter((j) => {
7341
7342
  const Z = j.getTime();
7342
7343
  return Z >= new Date(et).getTime() && Z <= new Date(J).getTime();
7343
7344
  });
7344
7345
  else if (S === Mt.LABELS) {
7345
7346
  const j = this.services.cartesianScales.getScaleByPosition(e).domain();
7346
- ct = R.filter((Z) => j.includes(Z));
7347
+ ct = I.filter((Z) => j.includes(Z));
7347
7348
  } else
7348
- ct = R.filter(
7349
+ ct = I.filter(
7349
7350
  (j) => j >= et && j <= J
7350
7351
  );
7351
7352
  N.tickValues(ct);
@@ -7404,7 +7405,7 @@ class _l extends ot {
7404
7405
  name: "axis-update",
7405
7406
  animate: t
7406
7407
  })
7407
- )), f = f.call(N), ut.selectAll(".tick").data(N.tickValues(), d).order().select("text").style("font-weight", (Et, Ut) => ql(Et, Ut, N.tickValues(), j, Z) ? "bold" : "normal");
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");
7408
7409
  } else
7409
7410
  !t || !p ? f = f.call(N) : f = f.transition().call(
7410
7411
  (j) => this.services.transitions.setupTransition({
@@ -7434,7 +7435,7 @@ class _l extends ot {
7434
7435
  }).width;
7435
7436
  let Et;
7436
7437
  g.selectAll("g.tick").each(function() {
7437
- const Ut = I(this), H = parseFloat(T(fe(this), "tx"));
7438
+ const Ut = R(this), H = parseFloat(T(fe(this), "tx"));
7438
7439
  H !== null && Et + Ut.text().length * ht * 0.8 >= H && (j = !0), Et = H;
7439
7440
  }), ut.remove();
7440
7441
  }
@@ -7442,7 +7443,7 @@ class _l extends ot {
7442
7443
  this.getNumberOfFittingTicks(a, w, qe.ticks.horizontalSpaceRatio)
7443
7444
  ), g.call(N), f.call(N)), c.selectAll("g.ticks g.tick text").attr("transform", "rotate(-45)").attr("text-anchor", e === Y.TOP ? "start" : "end")) : c.selectAll("g.ticks g.tick text").attr("transform", null).attr("text-anchor", null);
7444
7445
  }
7445
- if (b ? c.attr("opacity", 0) : c.attr("opacity", 1), f.selectAll("g.tick").attr("aria-label", (j) => j), g.selectAll("g.tick").attr("aria-label", (j) => j), k !== Ze.NONE && S === Mt.LABELS && !R) {
7446
+ if (b ? c.attr("opacity", 0) : c.attr("opacity", 1), f.selectAll("g.tick").attr("aria-label", (j) => j), g.selectAll("g.tick").attr("aria-label", (j) => j), k !== Ze.NONE && S === Mt.LABELS && !I) {
7446
7447
  const j = this.services.cartesianScales.getScaleDomain(e);
7447
7448
  if (j.length > 0) {
7448
7449
  const Z = r.select(`g.axis.${e} g.ticks g.tick`).html();
@@ -7462,17 +7463,17 @@ class _l extends ot {
7462
7463
  n.selectAll("g.tick text").on("mouseover", function(l, h) {
7463
7464
  c.services.events.dispatchEvent(x.Axis.LABEL_MOUSEOVER, {
7464
7465
  event: l,
7465
- element: I(this),
7466
+ element: R(this),
7466
7467
  datum: h
7467
7468
  }), a === Mt.LABELS && h.length > o && c.services.events.dispatchEvent(x.Tooltip.SHOW, {
7468
7469
  event: l,
7469
- hoveredElement: I(this),
7470
+ hoveredElement: R(this),
7470
7471
  content: h
7471
7472
  });
7472
7473
  }).on("mousemove", function(l, h) {
7473
7474
  c.services.events.dispatchEvent(x.Axis.LABEL_MOUSEMOVE, {
7474
7475
  event: l,
7475
- element: I(this),
7476
+ element: R(this),
7476
7477
  datum: h
7477
7478
  }), a === Mt.LABELS && h.length > o && c.services.events.dispatchEvent(x.Tooltip.MOVE, {
7478
7479
  event: l
@@ -7480,13 +7481,13 @@ class _l extends ot {
7480
7481
  }).on("click", function(l, h) {
7481
7482
  c.services.events.dispatchEvent(x.Axis.LABEL_CLICK, {
7482
7483
  event: l,
7483
- element: I(this),
7484
+ element: R(this),
7484
7485
  datum: h
7485
7486
  });
7486
7487
  }).on("mouseout", function(l, h) {
7487
7488
  c.services.events.dispatchEvent(x.Axis.LABEL_MOUSEOUT, {
7488
7489
  event: l,
7489
- element: I(this),
7490
+ element: R(this),
7490
7491
  datum: h
7491
7492
  }), a === Mt.LABELS && c.services.events.dispatchEvent(x.Tooltip.HIDE);
7492
7493
  });
@@ -7501,14 +7502,14 @@ class _l extends ot {
7501
7502
  }
7502
7503
  getNumberOfFittingTicks(t, e, n) {
7503
7504
  const i = Math.floor(t / (e * n));
7504
- return $o(i, 2, qe.ticks.number);
7505
+ return No(i, 2, qe.ticks.number);
7505
7506
  }
7506
7507
  destroy() {
7507
7508
  const t = this.getComponentContainer(), { position: e } = this.configs;
7508
7509
  _.appendOrSelect(t, `g.axis.${e}`).selectAll("g.tick text").on("mouseover", null).on("mousemove", null).on("mouseout", null);
7509
7510
  }
7510
7511
  }
7511
- class Kf extends _l {
7512
+ class Kf extends Ml {
7512
7513
  constructor(t, e, n) {
7513
7514
  super(t, e, n);
7514
7515
  }
@@ -7516,7 +7517,7 @@ class Kf extends _l {
7516
7517
  super.render(t), super.destroy();
7517
7518
  const e = this.configs.position, n = this.getComponentContainer(), i = _.appendOrSelect(n, `g.axis.${e}`), r = this;
7518
7519
  i.selectAll("g.tick").each(function(a, o) {
7519
- const c = I(this);
7520
+ const c = R(this);
7520
7521
  c.classed("tick-hover", !0).attr("tabindex", o === 0 ? 0 : -1);
7521
7522
  const l = c.select("text"), { width: h, height: d } = _.getSVGElementSize(l, {
7522
7523
  useBBox: !0
@@ -7542,7 +7543,7 @@ class Kf extends _l {
7542
7543
  addEventListeners() {
7543
7544
  const t = this.getComponentContainer(), { position: e } = this.configs, n = _.appendOrSelect(t, `g.axis.${e}`), i = this.getOptions(), r = T(i, "axes", e), a = T(r, "scaleType"), o = T(r, "truncation", "threshold"), c = this;
7544
7545
  n.selectAll("g.tick.tick-hover").on("mouseover", function(l) {
7545
- const h = I(this).select("text"), d = h.datum();
7546
+ const h = R(this).select("text"), d = h.datum();
7546
7547
  c.services.events.dispatchEvent(x.Axis.LABEL_MOUSEOVER, {
7547
7548
  event: l,
7548
7549
  element: h,
@@ -7553,7 +7554,7 @@ class Kf extends _l {
7553
7554
  datum: d
7554
7555
  });
7555
7556
  }).on("mousemove", function(l) {
7556
- const h = I(this).select("text"), d = h.datum();
7557
+ const h = R(this).select("text"), d = h.datum();
7557
7558
  c.services.events.dispatchEvent(x.Axis.LABEL_MOUSEMOVE, {
7558
7559
  event: l,
7559
7560
  element: h,
@@ -7564,14 +7565,14 @@ class Kf extends _l {
7564
7565
  }).on("click", function(l) {
7565
7566
  c.services.events.dispatchEvent(x.Axis.LABEL_CLICK, {
7566
7567
  event: l,
7567
- element: I(this).select("text"),
7568
- datum: I(this).select("text").datum()
7568
+ element: R(this).select("text"),
7569
+ datum: R(this).select("text").datum()
7569
7570
  });
7570
7571
  }).on("mouseout", function(l) {
7571
7572
  c.services.events.dispatchEvent(x.Axis.LABEL_MOUSEOUT, {
7572
7573
  event: l,
7573
- element: I(this).select("text"),
7574
- datum: I(this).select("text").datum()
7574
+ element: R(this).select("text"),
7575
+ datum: R(this).select("text").datum()
7575
7576
  }), a === Mt.LABELS && c.services.events.dispatchEvent(x.Tooltip.HIDE);
7576
7577
  }).on("focus", function(l) {
7577
7578
  const h = { clientX: 0, clientY: 0 };
@@ -7582,20 +7583,20 @@ class Kf extends _l {
7582
7583
  }
7583
7584
  c.services.events.dispatchEvent(x.Axis.LABEL_FOCUS, {
7584
7585
  event: { ...l, ...h },
7585
- element: I(this),
7586
- datum: I(this).select("text").datum()
7586
+ element: R(this),
7587
+ datum: R(this).select("text").datum()
7587
7588
  });
7588
7589
  }).on("blur", function(l) {
7589
7590
  c.services.events.dispatchEvent(x.Axis.LABEL_BLUR, {
7590
7591
  event: l,
7591
- element: I(this),
7592
- datum: I(this).select("text").datum()
7592
+ element: R(this),
7593
+ datum: R(this).select("text").datum()
7593
7594
  });
7594
7595
  }).on("keydown", function(l) {
7595
7596
  l.key && l.key === "Escape" && (c.services.events.dispatchEvent(x.Tooltip.HIDE), c.services.events.dispatchEvent(x.Axis.LABEL_BLUR, {
7596
7597
  event: l,
7597
- element: I(this),
7598
- datum: I(this).select("text").datum()
7598
+ element: R(this),
7599
+ datum: R(this).select("text").datum()
7599
7600
  })), e === Y.LEFT || e === Y.RIGHT ? l.key && l.key === "ArrowUp" ? c.goNext(this, l) : l.key && l.key === "ArrowDown" && c.goPrevious(this, l) : l.key && l.key === "ArrowLeft" ? c.goPrevious(this, l) : l.key && l.key === "ArrowRight" && c.goNext(this, l);
7600
7601
  });
7601
7602
  }
@@ -7632,7 +7633,7 @@ class b0 extends ot {
7632
7633
  position: c,
7633
7634
  axes: this.configs.axes,
7634
7635
  margins: this.margins
7635
- }, h = this.model.axisFlavor === ec.DEFAULT ? new _l(this.model, this.services, l) : new Kf(this.model, this.services, l);
7636
+ }, h = this.model.axisFlavor === ec.DEFAULT ? new Ml(this.model, this.services, l) : new Kf(this.model, this.services, l);
7636
7637
  h.setModel(this.model), h.setServices(this.services), h.setParent(this.parent), this.children[c] = h;
7637
7638
  }
7638
7639
  }), Object.keys(this.children).forEach((o) => {
@@ -7791,8 +7792,8 @@ class T0 extends ot {
7791
7792
  g
7792
7793
  ), v = Math.floor((m ? u : p) / r.length), S = Math.min(v / 2, 16), b = this.model.getBoxplotData(), O = e.selectAll(".box-group").data(b);
7793
7794
  O.exit().remove();
7794
- const R = O.enter().append("g").attr("class", "box-group"), k = O.merge(R);
7795
- R.append("path").merge(O.select("path.vertical-line.start")).attr(
7795
+ const I = O.enter().append("g").attr("class", "box-group"), k = O.merge(I);
7796
+ I.append("path").merge(O.select("path.vertical-line.start")).attr(
7796
7797
  "class",
7797
7798
  () => this.model.getColorClassName({
7798
7799
  classNameTypes: [tt.STROKE],
@@ -7807,7 +7808,7 @@ class T0 extends ot {
7807
7808
  ).attr("d", (L) => {
7808
7809
  const B = f.getDomainValue(L[i]), D = B, A = f.getRangeValue(L.whiskers.min), w = f.getRangeValue(L.quartiles.q_25);
7809
7810
  return $t({ x0: B, x1: D, y0: A, y1: w }, g);
7810
- }), R.append("path").merge(O.select("path.vertical-line.end")).attr(
7811
+ }), I.append("path").merge(O.select("path.vertical-line.end")).attr(
7811
7812
  "class",
7812
7813
  () => this.model.getColorClassName({
7813
7814
  classNameTypes: [tt.STROKE],
@@ -7822,7 +7823,7 @@ class T0 extends ot {
7822
7823
  ).attr("d", (L) => {
7823
7824
  const B = f.getDomainValue(L[i]), D = B, A = f.getRangeValue(L.whiskers.max), w = f.getRangeValue(L.quartiles.q_75);
7824
7825
  return $t({ x0: B, x1: D, y0: A, y1: w }, g);
7825
- }), R.append("path").merge(O.select("path.box")).attr(
7826
+ }), I.append("path").merge(O.select("path.box")).attr(
7826
7827
  "class",
7827
7828
  () => this.model.getColorClassName({
7828
7829
  classNameTypes: [tt.FILL, tt.STROKE],
@@ -7841,10 +7842,10 @@ class T0 extends ot {
7841
7842
  f.getRangeValue(L.quartiles.q_75) - f.getRangeValue(L.quartiles.q_25)
7842
7843
  );
7843
7844
  return $t({ x0: B, x1: D, y0: A, y1: w }, g);
7844
- }), R.append("path").merge(O.select("path.highlight-area")).attr("class", "highlight-area").attr("opacity", 0).attr("d", (L) => {
7845
+ }), I.append("path").merge(O.select("path.highlight-area")).attr("class", "highlight-area").attr("opacity", 0).attr("d", (L) => {
7845
7846
  const B = f.getDomainValue(L[i]) - S / 2, D = B + S, A = f.getRangeValue(L.whiskers.min), w = f.getRangeValue(L.whiskers.max);
7846
7847
  return $t({ x0: B, x1: D, y0: A, y1: w }, g);
7847
- }), R.append("path").merge(O.select("path.whisker.start")).attr(
7848
+ }), I.append("path").merge(O.select("path.whisker.start")).attr(
7848
7849
  "class",
7849
7850
  () => this.model.getColorClassName({
7850
7851
  classNameTypes: [tt.STROKE],
@@ -7859,7 +7860,7 @@ class T0 extends ot {
7859
7860
  ).attr("d", (L) => {
7860
7861
  const B = f.getDomainValue(L[i]) - S / 4, D = B + S / 2, A = f.getRangeValue(L.whiskers.min), w = f.getRangeValue(L.whiskers.min);
7861
7862
  return $t({ x0: B, x1: D, y0: A, y1: w }, g);
7862
- }), R.append("path").merge(O.select("path.median")).attr("fill", "none").attr(
7863
+ }), I.append("path").merge(O.select("path.median")).attr("fill", "none").attr(
7863
7864
  "class",
7864
7865
  () => this.model.getColorClassName({
7865
7866
  classNameTypes: [tt.STROKE],
@@ -7874,7 +7875,7 @@ class T0 extends ot {
7874
7875
  ).attr("d", (L) => {
7875
7876
  const B = f.getDomainValue(L[i]) - S / 2, D = B + S, A = f.getRangeValue(L.quartiles.q_50);
7876
7877
  return $t({ x0: B, x1: D, y0: A, y1: A }, g);
7877
- }), R.append("path").merge(O.select("path.whisker.end")).attr(
7878
+ }), I.append("path").merge(O.select("path.whisker.end")).attr(
7878
7879
  "class",
7879
7880
  () => this.model.getColorClassName({
7880
7881
  classNameTypes: [tt.STROKE],
@@ -7917,8 +7918,8 @@ class T0 extends ot {
7917
7918
  addBoxEventListeners() {
7918
7919
  const t = this, e = this.getOptions(), { groupMapsTo: n } = e.data;
7919
7920
  this.parent.selectAll("path.highlight-area").on("mouseover", function(i, r) {
7920
- const a = I(this);
7921
- I(this.parentNode).select("path.box").classed("hovered", !0).attr("fill-opacity", jt.box.opacity.hovered), t.services.events.dispatchEvent(x.Tooltip.SHOW, {
7921
+ const a = R(this);
7922
+ R(this.parentNode).select("path.box").classed("hovered", !0).attr("fill-opacity", jt.box.opacity.hovered), t.services.events.dispatchEvent(x.Tooltip.SHOW, {
7922
7923
  event: i,
7923
7924
  hoveredElement: a,
7924
7925
  items: [
@@ -7960,7 +7961,7 @@ class T0 extends ot {
7960
7961
  datum: r
7961
7962
  });
7962
7963
  }).on("mousemove", function(i, r) {
7963
- const a = I(this);
7964
+ const a = R(this);
7964
7965
  t.services.events.dispatchEvent(x.Boxplot.BOX_MOUSEMOVE, {
7965
7966
  event: i,
7966
7967
  element: a,
@@ -7971,12 +7972,12 @@ class T0 extends ot {
7971
7972
  }).on("click", function(i, r) {
7972
7973
  t.services.events.dispatchEvent(x.Boxplot.BOX_CLICK, {
7973
7974
  event: i,
7974
- element: I(this),
7975
+ element: R(this),
7975
7976
  datum: r
7976
7977
  });
7977
7978
  }).on("mouseout", function(i, r) {
7978
- const a = I(this);
7979
- I(this.parentNode).select("path.box").classed("hovered", !1).attr("fill-opacity", jt.box.opacity.default), t.services.events.dispatchEvent(x.Boxplot.BOX_MOUSEOUT, {
7979
+ const a = R(this);
7980
+ R(this.parentNode).select("path.box").classed("hovered", !1).attr("fill-opacity", jt.box.opacity.default), t.services.events.dispatchEvent(x.Boxplot.BOX_MOUSEOUT, {
7980
7981
  event: i,
7981
7982
  element: a,
7982
7983
  datum: r
@@ -7988,7 +7989,7 @@ class T0 extends ot {
7988
7989
  addCircleEventListeners() {
7989
7990
  const t = this, e = this.getOptions(), { groupMapsTo: n } = e.data, i = this.services.cartesianScales.getRangeIdentifier();
7990
7991
  this.parent.selectAll("circle").on("mouseover", function(r, a) {
7991
- const o = I(this);
7992
+ const o = R(this);
7992
7993
  o.classed("hovered", !0).attr("fill-opacity", jt.circle.opacity.hovered).classed("unfilled", !1), t.services.events.dispatchEvent(x.Tooltip.SHOW, {
7993
7994
  event: r,
7994
7995
  hoveredElement: o,
@@ -8011,7 +8012,7 @@ class T0 extends ot {
8011
8012
  datum: a
8012
8013
  });
8013
8014
  }).on("mousemove", function(r, a) {
8014
- const o = I(this);
8015
+ const o = R(this);
8015
8016
  t.services.events.dispatchEvent(x.Boxplot.OUTLIER_MOUSEMOVE, {
8016
8017
  event: r,
8017
8018
  element: o,
@@ -8022,11 +8023,11 @@ class T0 extends ot {
8022
8023
  }).on("click", function(r, a) {
8023
8024
  t.services.events.dispatchEvent(x.Boxplot.OUTLIER_CLICK, {
8024
8025
  event: r,
8025
- element: I(this),
8026
+ element: R(this),
8026
8027
  datum: a
8027
8028
  });
8028
8029
  }).on("mouseout", function(r, a) {
8029
- const o = I(this);
8030
+ const o = R(this);
8030
8031
  o.classed("hovered", !1).attr("fill-opacity", jt.circle.opacity.default), t.services.events.dispatchEvent(x.Boxplot.OUTLIER_MOUSEOUT, {
8031
8032
  event: r,
8032
8033
  element: o,
@@ -8052,7 +8053,7 @@ class O0 extends ot {
8052
8053
  const [c, l] = this.services.cartesianScales.getDomainScale().range();
8053
8054
  let h = +n(0) + 0.5;
8054
8055
  h || (h = n.range()[0]);
8055
- const d = Zl(
8056
+ const d = ql(
8056
8057
  {
8057
8058
  x0: c,
8058
8059
  x1: l,
@@ -8164,9 +8165,9 @@ class L0 extends ot {
8164
8165
  animate: t
8165
8166
  })
8166
8167
  ).attr("d", (y) => {
8167
- let S, b, O, R;
8168
- return y.order === 1 ? (S = this.services.cartesianScales.getDomainValue(y.datum) - 16 / 2, b = S + 16, O = l - 2, R = c + 1) : (S = this.services.cartesianScales.getDomainValue(y.datum) - 16 / 2, b = S + 16, O = this.services.cartesianScales.getRangeValue(y.value), R = l), $t(
8169
- { x0: S, x1: b, y0: O, y1: R },
8168
+ let S, b, O, I;
8169
+ return y.order === 1 ? (S = this.services.cartesianScales.getDomainValue(y.datum) - 16 / 2, b = S + 16, O = l - 2, I = c + 1) : (S = this.services.cartesianScales.getDomainValue(y.datum) - 16 / 2, b = S + 16, O = this.services.cartesianScales.getRangeValue(y.value), I = l), $t(
8170
+ { x0: S, x1: b, y0: O, y1: I },
8170
8171
  this.services.cartesianScales.getOrientation()
8171
8172
  );
8172
8173
  }).attr("opacity", 1);
@@ -8233,9 +8234,9 @@ class L0 extends ot {
8233
8234
  ).attr("d", ({ datum: y, value: v }) => {
8234
8235
  let S = 4;
8235
8236
  y.ranges && y.ranges.indexOf(v) !== -1 && (S = 8);
8236
- const b = this.services.cartesianScales.getDomainValue(y) - S / 2, O = b + S, R = this.services.cartesianScales.getRangeValue(v);
8237
+ const b = this.services.cartesianScales.getDomainValue(y) - S / 2, O = b + S, I = this.services.cartesianScales.getRangeValue(v);
8237
8238
  return $t(
8238
- { x0: b, x1: O, y0: R, y1: R },
8239
+ { x0: b, x1: O, y0: I, y1: I },
8239
8240
  this.services.cartesianScales.getOrientation()
8240
8241
  );
8241
8242
  }).attr("opacity", 1);
@@ -8245,7 +8246,7 @@ class L0 extends ot {
8245
8246
  addEventListeners() {
8246
8247
  const t = this, e = this.getOptions(), { groupMapsTo: n } = e.data, i = this.services.cartesianScales.getRangeIdentifier(), { code: r, number: a } = T(e, "locale");
8247
8248
  this.parent.selectAll("path.bar").on("mouseover", function(o, c) {
8248
- const l = I(this);
8249
+ const l = R(this);
8249
8250
  l.classed("hovered", !0), t.services.events.dispatchEvent(x.Bar.BAR_MOUSEOVER, {
8250
8251
  event: o,
8251
8252
  element: l,
@@ -8285,7 +8286,7 @@ class L0 extends ot {
8285
8286
  }).on("mousemove", function(o, c) {
8286
8287
  t.services.events.dispatchEvent(x.Bar.BAR_MOUSEMOVE, {
8287
8288
  event: o,
8288
- element: I(this),
8289
+ element: R(this),
8289
8290
  datum: c
8290
8291
  }), t.services.events.dispatchEvent(x.Tooltip.MOVE, {
8291
8292
  event: o
@@ -8293,11 +8294,11 @@ class L0 extends ot {
8293
8294
  }).on("click", function(o, c) {
8294
8295
  t.services.events.dispatchEvent(x.Bar.BAR_CLICK, {
8295
8296
  event: o,
8296
- element: I(this),
8297
+ element: R(this),
8297
8298
  datum: c
8298
8299
  });
8299
8300
  }).on("mouseout", function(o, c) {
8300
- const l = I(this);
8301
+ const l = R(this);
8301
8302
  l.classed("hovered", !1), t.services.events.dispatchEvent(x.Bar.BAR_MOUSEOUT, {
8302
8303
  event: o,
8303
8304
  element: l,
@@ -8498,7 +8499,7 @@ function ag(s, t) {
8498
8499
  })
8499
8500
  };
8500
8501
  }
8501
- class A0 extends Ml {
8502
+ class A0 extends Al {
8502
8503
  constructor() {
8503
8504
  super(...arguments), this.type = "ruler-binned", this.renderType = st.SVG;
8504
8505
  }
@@ -8510,17 +8511,18 @@ class A0 extends Ml {
8510
8511
  return !0;
8511
8512
  });
8512
8513
  if (m.size() > 0) {
8513
- this.elementsToHighlight && this.elementsToHighlight.size() > 0 && !Vo(this.elementsToHighlight, m) && this.hideRuler(), m.dispatch("mouseover"), this.elementsToHighlight = m;
8514
- const E = I(m.nodes()[0]).datum(), y = parseFloat(yt(E, "data.x0")), v = parseFloat(yt(E, "data.x1")), S = this.model.getActiveDataGroupNames(), b = S.reverse().map((R) => ({
8515
- label: R,
8516
- value: yt(E, `data.${R}`),
8514
+ this.elementsToHighlight && this.elementsToHighlight.size() > 0 && !$o(this.elementsToHighlight, m) && this.hideRuler(), m.dispatch("mouseover"), this.elementsToHighlight = m;
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
+ label: I,
8517
+ value: yt(E, `data.${I}`),
8517
8518
  class: this.model.getColorClassName({
8518
8519
  classNameTypes: [tt.TOOLTIP],
8519
- dataGroupName: R
8520
+ dataGroupName: I
8520
8521
  })
8521
- })).filter((R) => R.value !== 0);
8522
+ })).filter((I) => I.value !== 0);
8522
8523
  if (b.length > 0) {
8523
8524
  this.services.events.dispatchEvent(x.Tooltip.SHOW, {
8525
+ event: t,
8524
8526
  mousePosition: [e, n],
8525
8527
  hoveredElement: f,
8526
8528
  items: [
@@ -8540,15 +8542,15 @@ class A0 extends Ml {
8540
8542
  ] : []
8541
8543
  ]
8542
8544
  }), p.attr("opacity", 1);
8543
- const R = d((y + v) / 2);
8544
- o === "horizontal" ? f.attr("x1", h).attr("x2", l).attr("y1", R).attr("y2", R) : f.attr("y1", h).attr("y2", l).attr("x1", R).attr("x2", R);
8545
+ const I = d((y + v) / 2);
8546
+ o === "horizontal" ? f.attr("x1", h).attr("x2", l).attr("y1", I).attr("y2", I) : f.attr("y1", h).attr("y2", l).attr("x1", I).attr("x2", I);
8545
8547
  } else
8546
8548
  this.hideRuler();
8547
8549
  } else
8548
8550
  this.hideRuler();
8549
8551
  }
8550
8552
  }
8551
- class M0 extends Ml {
8553
+ class M0 extends Al {
8552
8554
  formatTooltipData(t) {
8553
8555
  return t.reverse();
8554
8556
  }
@@ -8628,7 +8630,7 @@ class V0 extends Mf {
8628
8630
  n.html("");
8629
8631
  return;
8630
8632
  }
8631
- const h = !Eo(r), d = Kl(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");
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");
8632
8634
  if (c) {
8633
8635
  const C = _.appendOrSelect(n, "g.legend-title");
8634
8636
  _.appendOrSelect(C, "text").text(c).attr("dy", "0.7em"), f.attr("transform", "translate(0, 16)");
@@ -8644,8 +8646,8 @@ class V0 extends Mf {
8644
8646
  E.push(
8645
8647
  a === Fs.LINEAR ? `stop-color-${m}-${o}-${C}` : `fill-${m}-${o}-${C}`
8646
8648
  );
8647
- const v = So(d[0], d[1]), S = Su(v, 3), b = ke().domain(d).range([0, p]), O = hr(b).tickSize(0).tickValues(S), { code: R, number: k } = T(e, "locale");
8648
- O.tickFormat((C) => k(C, R));
8649
+ const v = So(d[0], d[1]), S = Su(v, 3), b = ke().domain(d).range([0, p]), O = hr(b).tickSize(0).tickValues(S), { code: I, number: k } = T(e, "locale");
8650
+ O.tickFormat((C) => k(C, I));
8649
8651
  let G;
8650
8652
  switch (a) {
8651
8653
  case Fs.LINEAR:
@@ -8881,10 +8883,10 @@ class G0 extends ot {
8881
8883
  t.addEventListener(x.Legend.ITEM_HOVER, this.handleLegendOnHover), t.addEventListener(x.Legend.ITEM_MOUSEOUT, this.handleLegendMouseOut);
8882
8884
  }
8883
8885
  removeBackgroundListeners() {
8884
- I(this.services.domUtils.getMainContainer()).on("click", () => null);
8886
+ R(this.services.domUtils.getMainContainer()).on("click", () => null);
8885
8887
  }
8886
8888
  setBackgroundListeners() {
8887
- const t = I(this.services.domUtils.getMainContainer()), e = this, n = this.parent.selectAll("circle.node");
8889
+ const t = R(this.services.domUtils.getMainContainer()), e = this, n = this.parent.selectAll("circle.node");
8888
8890
  t.on("click", () => {
8889
8891
  e.focal = null, e.model.updateHierarchyLevel(2), t.classed("zoomed-in", !1), e.services.canvasZoom.zoomOut(n, Gn);
8890
8892
  });
@@ -8901,7 +8903,7 @@ class G0 extends ot {
8901
8903
  addEventListeners() {
8902
8904
  const t = this;
8903
8905
  this.parent.selectAll("circle.node").on("mouseover", function(e, n) {
8904
- const i = I(this);
8906
+ const i = R(this);
8905
8907
  i.classed("hovered", !0);
8906
8908
  const r = t.model.getHierarchyLevel(), a = r > 2 && !i.classed("focal"), o = T(t.model.getOptions(), "canvasZoom", "enabled");
8907
8909
  let c = !1;
@@ -8951,7 +8953,7 @@ class G0 extends ot {
8951
8953
  datum: n
8952
8954
  });
8953
8955
  }).on("mousemove", function(e, n) {
8954
- const i = I(this);
8956
+ const i = R(this);
8955
8957
  t.services.events.dispatchEvent(x.CirclePack.CIRCLE_MOUSEMOVE, {
8956
8958
  event: e,
8957
8959
  element: i,
@@ -8960,7 +8962,7 @@ class G0 extends ot {
8960
8962
  event: e
8961
8963
  });
8962
8964
  }).on("mouseout", function(e, n) {
8963
- const i = I(this);
8965
+ const i = R(this);
8964
8966
  i.classed("hovered", !1), n.children && t.unhighlightChildren(n.children), t.services.events.dispatchEvent(x.CirclePack.CIRCLE_MOUSEOUT, {
8965
8967
  event: e,
8966
8968
  element: i,
@@ -8969,13 +8971,13 @@ class G0 extends ot {
8969
8971
  hoveredElement: i
8970
8972
  });
8971
8973
  }).on("click", function(e, n) {
8972
- const i = I(this), r = i.classed("non-focal"), a = T(t.model.getOptions(), "canvasZoom", "enabled");
8974
+ const i = R(this), r = i.classed("non-focal"), a = T(t.model.getOptions(), "canvasZoom", "enabled");
8973
8975
  if (a && t.model.getHierarchyLevel() > 2) {
8974
8976
  const o = t.parent.selectAll("circle.node");
8975
- I(t.services.domUtils.getMainContainer()).classed("zoomed-in", !1), t.focal = null, t.model.updateHierarchyLevel(2), t.services.canvasZoom.zoomOut(o, Gn);
8977
+ R(t.services.domUtils.getMainContainer()).classed("zoomed-in", !1), t.focal = null, t.model.updateHierarchyLevel(2), t.services.canvasZoom.zoomOut(o, Gn);
8976
8978
  } else if (n.depth === 2 && n.children && !r && a) {
8977
8979
  const o = t.parent.selectAll("circle.node");
8978
- I(t.services.domUtils.getMainContainer()).classed("zoomed-in", !0), t.focal = n, t.model.updateHierarchyLevel(3), t.services.canvasZoom.zoomIn(n, o, Gn), e.stopPropagation();
8980
+ R(t.services.domUtils.getMainContainer()).classed("zoomed-in", !0), t.focal = n, t.model.updateHierarchyLevel(3), t.services.canvasZoom.zoomIn(n, o, Gn), e.stopPropagation();
8979
8981
  }
8980
8982
  t.services.events.dispatchEvent(x.CirclePack.CIRCLE_CLICK, {
8981
8983
  event: e,
@@ -9075,7 +9077,7 @@ class lg extends ot {
9075
9077
  }
9076
9078
  return `translate(${A.xPosition}, ${A.yPosition})`;
9077
9079
  }), this.renderCallouts(O);
9078
- const R = T(i, "donut") ? "donut" : "pie", k = T(i, R, "alignment"), { width: G } = _.getSVGElementSize(this.getParent(), {
9080
+ const I = T(i, "donut") ? "donut" : "pie", k = T(i, I, "alignment"), { width: G } = _.getSVGElementSize(this.getParent(), {
9079
9081
  useAttrs: !0
9080
9082
  }), C = E ? vt.xOffset : 0, L = E ? vt.yOffset : 0;
9081
9083
  let B = c + C;
@@ -9103,15 +9105,15 @@ class lg extends ot {
9103
9105
  y: l - vt.callout.offsetY + o.textOffsetY
9104
9106
  }, o.intersectPointX = o.endPos.x + vt.callout.horizontalLineLength), o;
9105
9107
  }), i.append("line").classed("vertical-line", !0).merge(e.selectAll("line.vertical-line")).datum(function() {
9106
- return I(this.parentNode).datum();
9108
+ return R(this.parentNode).datum();
9107
9109
  }).style("stroke-width", "1px").attr("x1", (o) => o.startPos.x).attr("y1", (o) => o.startPos.y).attr("x2", (o) => o.intersectPointX).attr("y2", (o) => o.endPos.y), i.append("line").classed("horizontal-line", !0).merge(e.selectAll("line.horizontal-line")).datum(function() {
9108
- return I(this.parentNode).datum();
9110
+ return R(this.parentNode).datum();
9109
9111
  }).style("stroke-width", "1px").attr("x1", (o) => o.intersectPointX).attr("y1", (o) => o.endPos.y).attr("x2", (o) => o.endPos.x).attr("y2", (o) => o.endPos.y);
9110
9112
  }
9111
9113
  addEventListeners() {
9112
9114
  const t = this;
9113
9115
  this.parent.selectAll("path.slice").on("mouseover", function(e, n) {
9114
- const i = I(this);
9116
+ const i = R(this);
9115
9117
  t.isRendering || i.classed("hovered", !0).transition("pie_slice_mouseover").call(
9116
9118
  (o) => t.services.transitions.setupTransition({
9117
9119
  transition: o,
@@ -9119,7 +9121,7 @@ class lg extends ot {
9119
9121
  })
9120
9122
  ).attr("d", t.hoverArc), t.services.events.dispatchEvent(x.Pie.SLICE_MOUSEOVER, {
9121
9123
  event: e,
9122
- element: I(this),
9124
+ element: R(this),
9123
9125
  datum: n
9124
9126
  });
9125
9127
  const { groupMapsTo: r } = t.getOptions().data, { valueMapsTo: a } = t.getOptions().pie;
@@ -9134,7 +9136,7 @@ class lg extends ot {
9134
9136
  ]
9135
9137
  });
9136
9138
  }).on("mousemove", function(e, n) {
9137
- const i = I(this);
9139
+ const i = R(this);
9138
9140
  t.services.events.dispatchEvent(x.Pie.SLICE_MOUSEMOVE, {
9139
9141
  event: e,
9140
9142
  element: i,
@@ -9145,11 +9147,11 @@ class lg extends ot {
9145
9147
  }).on("click", function(e, n) {
9146
9148
  t.services.events.dispatchEvent(x.Pie.SLICE_CLICK, {
9147
9149
  event: e,
9148
- element: I(this),
9150
+ element: R(this),
9149
9151
  datum: n
9150
9152
  });
9151
9153
  }).on("mouseout", function(e, n) {
9152
- const i = I(this);
9154
+ const i = R(this);
9153
9155
  nu(() => {
9154
9156
  t.isRendering || i.classed("hovered", !1).transition("pie_slice_mouseout").call(
9155
9157
  (r) => t.services.transitions.setupTransition({
@@ -9193,7 +9195,7 @@ class H0 extends lg {
9193
9195
  animate: t
9194
9196
  })
9195
9197
  ).tween("text", function() {
9196
- return e.centerNumberTween(I(this));
9198
+ return e.centerNumberTween(R(this));
9197
9199
  }), a !== null && a !== "" && _.appendOrSelect(n, "text.donut-title").attr("text-anchor", "middle").style("font-size", () => i.donut.center.titleFontSize(r)).attr("y", i.donut.center.titleYPosition(r)).text(a);
9198
9200
  }
9199
9201
  getInnerRadius() {
@@ -9205,7 +9207,7 @@ class H0 extends lg {
9205
9207
  n === null && (n = this.model.getDisplayData().reduce((o, c) => o + c[e.pie.valueMapsTo], 0));
9206
9208
  const i = parseInt(t.text().replace(/[, ]+/g, ""), 10) || 0;
9207
9209
  let r;
9208
- i % 1 === 0 && n % 1 === 0 ? r = Jl : r = So;
9210
+ i % 1 === 0 && n % 1 === 0 ? r = Kl : r = So;
9209
9211
  const a = r(i, n);
9210
9212
  return (o) => {
9211
9213
  const { numberFormatter: c } = e.donut.center;
@@ -9228,7 +9230,7 @@ class U0 extends ot {
9228
9230
  return ((n = this.model.getData().find((i) => i.group === "value")) == null ? void 0 : n.value) ?? null;
9229
9231
  }
9230
9232
  getValueRatio() {
9231
- return $o(this.getValue(), 0, 100) / 100;
9233
+ return No(this.getValue(), 0, 100) / 100;
9232
9234
  }
9233
9235
  getDelta() {
9234
9236
  var n;
@@ -9296,10 +9298,10 @@ class U0 extends ot {
9296
9298
  const { width: v } = _.getSVGElementSize(
9297
9299
  _.appendOrSelect(t, "text.gauge-value-number"),
9298
9300
  { useBBox: !0 }
9299
- ), S = p / 2, b = h ? "%" : "", O = _.appendOrSelect(f, "text.gauge-value-symbol").style("font-size", `${S}px`).attr("x", v / 2).text(b), { width: R, height: k } = _.getSVGElementSize(O, {
9301
+ ), S = p / 2, b = h ? "%" : "", O = _.appendOrSelect(f, "text.gauge-value-symbol").style("font-size", `${S}px`).attr("x", v / 2).text(b), { width: I, height: k } = _.getSVGElementSize(O, {
9300
9302
  useBBox: !0
9301
9303
  });
9302
- O.attr("y", `-${k / 2}px`), f.attr("transform", `translate(-${R / 2}, 0)`);
9304
+ O.attr("y", `-${k / 2}px`), f.attr("transform", `translate(-${I / 2}, 0)`);
9303
9305
  }
9304
9306
  /**
9305
9307
  * adds the delta number for the gauge
@@ -9320,7 +9322,7 @@ class U0 extends ot {
9320
9322
  { useBBox: !0 }
9321
9323
  ), y = T(n, "gauge", "deltaArrow", "enabled"), v = f.selectAll("svg.gauge-delta-arrow").data(i !== null && y ? [i] : []);
9322
9324
  v.enter().append("svg").merge(v).attr("class", "gauge-delta-arrow").attr("x", -h(o) - E / 2).attr("y", -h(o) / 2 - c(o) * 0.35).attr("width", h(o)).attr("height", h(o)).attr("viewBox", "0 0 16 16").each(function() {
9323
- const S = I(this);
9325
+ const S = R(this);
9324
9326
  _.appendOrSelect(S, "rect.gauge-delta-arrow-backdrop").attr("width", "16").attr("height", "16").attr("fill", "none");
9325
9327
  const b = T(n, "gauge", "status");
9326
9328
  _.appendOrSelect(S, "polygon.gauge-delta-arrow").attr("class", b !== null ? `gauge-delta-arrow status--${b}` : "").attr("points", t.getArrow(i));
@@ -9339,11 +9341,11 @@ class U0 extends ot {
9339
9341
  this.parent.selectAll("path.arc-foreground").on("mouseover", function(e, n) {
9340
9342
  t.services.events.dispatchEvent(x.Gauge.ARC_MOUSEOVER, {
9341
9343
  event: e,
9342
- element: I(this),
9344
+ element: R(this),
9343
9345
  datum: n
9344
9346
  });
9345
9347
  }).on("mousemove", function(e, n) {
9346
- const i = I(this);
9348
+ const i = R(this);
9347
9349
  t.services.events.dispatchEvent(x.Gauge.ARC_MOUSEMOVE, {
9348
9350
  event: e,
9349
9351
  element: i,
@@ -9352,11 +9354,11 @@ class U0 extends ot {
9352
9354
  }).on("click", function(e, n) {
9353
9355
  t.services.events.dispatchEvent(x.Gauge.ARC_CLICK, {
9354
9356
  event: e,
9355
- element: I(this),
9357
+ element: R(this),
9356
9358
  datum: n
9357
9359
  });
9358
9360
  }).on("mouseout", function(e, n) {
9359
- const i = I(this);
9361
+ const i = R(this);
9360
9362
  t.services.events.dispatchEvent(x.Gauge.ARC_MOUSEOUT, {
9361
9363
  event: e,
9362
9364
  element: i,
@@ -9398,7 +9400,7 @@ class z0 extends br {
9398
9400
  render(t) {
9399
9401
  const e = this.model.getDisplayData(this.configs.groups), n = this.getOptions(), { groupMapsTo: i } = n.data;
9400
9402
  this.setGroupScale();
9401
- const r = this.getComponentContainer({ withinChartClip: !0 }), a = Ql(
9403
+ const r = this.getComponentContainer({ withinChartClip: !0 }), a = Jl(
9402
9404
  e.map((u) => {
9403
9405
  const p = this.services.cartesianScales.getDomainIdentifier(u);
9404
9406
  return u[p] && typeof u[p].toString == "function" ? u[p].toString() : u[p];
@@ -9448,7 +9450,7 @@ class z0 extends br {
9448
9450
  addEventListeners() {
9449
9451
  const t = this;
9450
9452
  this.parent.selectAll("path.bar").on("mouseover", function(e, n) {
9451
- const i = I(this);
9453
+ const i = R(this);
9452
9454
  i.classed("hovered", !0), t.services.events.dispatchEvent(x.Bar.BAR_MOUSEOVER, {
9453
9455
  event: e,
9454
9456
  element: i,
@@ -9459,7 +9461,7 @@ class z0 extends br {
9459
9461
  data: [n]
9460
9462
  });
9461
9463
  }).on("mousemove", function(e, n) {
9462
- const i = I(this);
9464
+ const i = R(this);
9463
9465
  t.services.events.dispatchEvent(x.Bar.BAR_MOUSEMOVE, {
9464
9466
  event: e,
9465
9467
  element: i,
@@ -9470,11 +9472,11 @@ class z0 extends br {
9470
9472
  }).on("click", function(e, n) {
9471
9473
  t.services.events.dispatchEvent(x.Bar.BAR_CLICK, {
9472
9474
  event: e,
9473
- element: I(this),
9475
+ element: R(this),
9474
9476
  datum: n
9475
9477
  });
9476
9478
  }).on("mouseout", function(e, n) {
9477
- const i = I(this);
9479
+ const i = R(this);
9478
9480
  i.classed("hovered", !1), t.services.events.dispatchEvent(x.Bar.BAR_MOUSEOUT, {
9479
9481
  event: e,
9480
9482
  element: i,
@@ -9566,7 +9568,7 @@ class F0 extends ot {
9566
9568
  }
9567
9569
  })), c(n) !== void 0 ? this.parent.select("g.multi-cell.column-highlight").classed("highlighter-hidden", !1).attr("transform", `translate(${c(n)}, ${Si(l.range())})`) : l(n) !== void 0 && this.parent.select("g.multi-cell.row-highlight").classed("highlighter-hidden", !1).attr("transform", `translate(${Si(c.range())},${l(n)})`), this.services.events.dispatchEvent(x.Tooltip.SHOW, {
9568
9570
  event: e.event,
9569
- hoveredElement: I(t.detail.element),
9571
+ hoveredElement: R(t.detail.element),
9570
9572
  items: [
9571
9573
  {
9572
9574
  label: h,
@@ -9651,7 +9653,7 @@ class F0 extends ot {
9651
9653
  addEventListener() {
9652
9654
  const t = this, { cartesianScales: e } = this.services, n = this.getOptions(), i = yt(n, "locale.translations.total") || yt(n, "tooltip.totalLabel") || "Total", r = e.getDomainIdentifier(), a = e.getRangeIdentifier(), o = e.getDomainLabel(), c = e.getRangeLabel();
9653
9655
  this.parent.selectAll("g.cell").on("mouseover", function(l, h) {
9654
- const d = I(this), u = d.select("rect.heat");
9656
+ const d = R(this), u = d.select("rect.heat");
9655
9657
  if (!u.classed("null-state")) {
9656
9658
  const f = mn(d.attr("transform"));
9657
9659
  t.parent.select("g.cell-highlight").attr(
@@ -9683,7 +9685,7 @@ class F0 extends ot {
9683
9685
  }).on("mousemove", function(l, h) {
9684
9686
  t.services.events.dispatchEvent(x.Heatmap.HEATMAP_MOUSEMOVE, {
9685
9687
  event: l,
9686
- element: I(this),
9688
+ element: R(this),
9687
9689
  datum: h
9688
9690
  }), t.services.events.dispatchEvent(x.Tooltip.MOVE, {
9689
9691
  event: l
@@ -9691,11 +9693,11 @@ class F0 extends ot {
9691
9693
  }).on("click", function(l, h) {
9692
9694
  t.services.events.dispatchEvent(x.Heatmap.HEATMAP_CLICK, {
9693
9695
  event: l,
9694
- element: I(this),
9696
+ element: R(this),
9695
9697
  datum: h
9696
9698
  });
9697
9699
  }).on("mouseout", function(l, h) {
9698
- const u = I(this).select("rect.heat"), p = u.classed("null-state");
9700
+ const u = R(this).select("rect.heat"), p = u.classed("null-state");
9699
9701
  t.parent.select("g.cell-highlight").classed("highlighter-hidden", !0), p || (t.services.events.dispatchEvent(x.Heatmap.HEATMAP_MOUSEOUT, {
9700
9702
  event: l,
9701
9703
  element: u,
@@ -9768,7 +9770,7 @@ class W0 extends ot {
9768
9770
  addEventListeners() {
9769
9771
  const t = this.model.getOptions(), { groupMapsTo: e } = t.data, { code: n, number: i } = T(t, "locale"), r = this;
9770
9772
  this.parent.selectAll("path.bar").on("mouseover", function(a, o) {
9771
- const c = I(this);
9773
+ const c = R(this);
9772
9774
  c.classed("hovered", !0);
9773
9775
  const l = i(parseFloat(yt(o, "data.x0")), n), h = i(parseFloat(yt(o, "data.x1")), n), d = r.services.cartesianScales.getRangeAxisPosition(), u = r.services.cartesianScales.getScaleLabel(d);
9774
9776
  r.services.events.dispatchEvent(x.Tooltip.SHOW, {
@@ -9798,7 +9800,7 @@ class W0 extends ot {
9798
9800
  event: a
9799
9801
  });
9800
9802
  }).on("mouseout", function() {
9801
- I(this).classed("hovered", !1), r.services.events.dispatchEvent(x.Tooltip.HIDE);
9803
+ R(this).classed("hovered", !1), r.services.events.dispatchEvent(x.Tooltip.HIDE);
9802
9804
  });
9803
9805
  }
9804
9806
  destroy() {
@@ -9945,7 +9947,7 @@ class j0 extends ot {
9945
9947
  addEventListeners() {
9946
9948
  const t = this.getOptions(), { groupMapsTo: e } = t.data, n = this, i = T(t, "meter", "proportional");
9947
9949
  this.parent.selectAll("rect.value").on("mouseover", function(r, a) {
9948
- const o = I(this);
9950
+ const o = R(this);
9949
9951
  n.services.events.dispatchEvent(x.Meter.METER_MOUSEOVER, {
9950
9952
  event: r,
9951
9953
  element: o,
@@ -9961,7 +9963,7 @@ class j0 extends ot {
9961
9963
  ]
9962
9964
  }));
9963
9965
  }).on("mousemove", function(r, a) {
9964
- const o = I(this);
9966
+ const o = R(this);
9965
9967
  n.services.events.dispatchEvent(x.Meter.METER_MOUSEMOVE, {
9966
9968
  event: r,
9967
9969
  element: o,
@@ -9972,11 +9974,11 @@ class j0 extends ot {
9972
9974
  }).on("click", function(r, a) {
9973
9975
  n.services.events.dispatchEvent(x.Meter.METER_CLICK, {
9974
9976
  event: r,
9975
- element: I(this),
9977
+ element: R(this),
9976
9978
  datum: a
9977
9979
  });
9978
9980
  }).on("mouseout", function(r, a) {
9979
- const o = I(this);
9981
+ const o = R(this);
9980
9982
  n.services.events.dispatchEvent(x.Meter.METER_MOUSEOUT, {
9981
9983
  event: r,
9982
9984
  element: o,
@@ -10043,8 +10045,8 @@ class Y0 extends ot {
10043
10045
  const y = 2 * (this.getLabelDimensions(this.uniqueKeys[0]).height + p), b = (Math.min(n, i) - y) / 2;
10044
10046
  if (b <= 0)
10045
10047
  return;
10046
- const O = cr().domain(this.fullDataNormalized.map((H) => H[h])).range([0, 2 * Math.PI].map((H) => H - Math.PI / 2)), R = Si(this.fullDataNormalized.map((H) => H[d])), k = ke().domain([
10047
- R >= 0 ? 0 : R,
10048
+ const O = cr().domain(this.fullDataNormalized.map((H) => H[h])).range([0, 2 * Math.PI].map((H) => H - Math.PI / 2)), I = Si(this.fullDataNormalized.map((H) => H[d])), k = ke().domain([
10049
+ I >= 0 ? 0 : I,
10048
10050
  jr(this.fullDataNormalized.map((H) => H[d]))
10049
10051
  ]).range([g, b]).nice(f), G = k.ticks(f), C = (H, U, W) => this.model.getFillColor(H, U, W), L = $d().angle((H) => O(H[h]) + Math.PI / 2).radius((H) => k(H[d])).curve(ac), B = this.uniqueKeys.map((H) => {
10050
10052
  const U = this.getLabelDimensions(H).width, W = oc(
@@ -10280,7 +10282,7 @@ class Y0 extends ot {
10280
10282
  axes: { angle: e }
10281
10283
  } = T(this.getOptions(), "radar");
10282
10284
  this.parent.selectAll(".x-axes-rect > rect").on("mouseover", function(n, i) {
10283
- const r = I(this);
10285
+ const r = R(this);
10284
10286
  t.services.events.dispatchEvent(x.Radar.X_AXIS_MOUSEOVER, {
10285
10287
  event: n,
10286
10288
  element: r,
@@ -10308,7 +10310,7 @@ class Y0 extends ot {
10308
10310
  }))
10309
10311
  });
10310
10312
  }).on("mousemove", function(n, i) {
10311
- const r = I(this);
10313
+ const r = R(this);
10312
10314
  t.services.events.dispatchEvent(x.Radar.X_AXIS_MOUSEMOVE, {
10313
10315
  event: n,
10314
10316
  element: r,
@@ -10319,11 +10321,11 @@ class Y0 extends ot {
10319
10321
  }).on("click", function(n, i) {
10320
10322
  t.services.events.dispatchEvent(x.Radar.X_AXIS_CLICK, {
10321
10323
  event: n,
10322
- element: I(this),
10324
+ element: R(this),
10323
10325
  datum: i
10324
10326
  });
10325
10327
  }).on("mouseout", function(n, i) {
10326
- const r = I(this), a = t.parent.select(`.x-axes .x-axis-${He(i)}`), o = t.parent.selectAll(`.dots circle.${He(i)}`);
10328
+ const r = R(this), a = t.parent.select(`.x-axes .x-axis-${He(i)}`), o = t.parent.selectAll(`.dots circle.${He(i)}`);
10327
10329
  a.classed("hovered", !1).attr("stroke-dasharray", "0"), o.classed("hovered", !1).attr("opacity", 0).attr("r", 0), t.services.events.dispatchEvent(x.Radar.X_AXIS_MOUSEOUT, {
10328
10330
  event: n,
10329
10331
  element: r,
@@ -10390,7 +10392,7 @@ class q0 extends br {
10390
10392
  addEventListeners() {
10391
10393
  const t = this;
10392
10394
  this.parent.selectAll("path.bar").on("mouseover", function(e, n) {
10393
- const i = I(this);
10395
+ const i = R(this);
10394
10396
  i.classed("hovered", !0), t.services.events.dispatchEvent(x.Bar.BAR_MOUSEOVER, {
10395
10397
  event: e,
10396
10398
  element: i,
@@ -10403,7 +10405,7 @@ class q0 extends br {
10403
10405
  }).on("mousemove", function(e, n) {
10404
10406
  t.services.events.dispatchEvent(x.Bar.BAR_MOUSEMOVE, {
10405
10407
  event: e,
10406
- element: I(this),
10408
+ element: R(this),
10407
10409
  datum: n
10408
10410
  }), t.services.events.dispatchEvent(x.Tooltip.MOVE, {
10409
10411
  event: e
@@ -10411,11 +10413,11 @@ class q0 extends br {
10411
10413
  }).on("click", function(e, n) {
10412
10414
  t.services.events.dispatchEvent(x.Bar.BAR_CLICK, {
10413
10415
  event: e,
10414
- element: I(this),
10416
+ element: R(this),
10415
10417
  datum: n
10416
10418
  });
10417
10419
  }).on("mouseout", function(e, n) {
10418
- const i = I(this);
10420
+ const i = R(this);
10419
10421
  i.classed("hovered", !1), t.services.events.dispatchEvent(x.Bar.BAR_MOUSEOUT, {
10420
10422
  event: e,
10421
10423
  element: i,
@@ -10573,7 +10575,7 @@ class J0 extends br {
10573
10575
  addEventListeners() {
10574
10576
  const t = this.getOptions(), { groupMapsTo: e } = t.data, n = this;
10575
10577
  this.parent.selectAll("path.bar").on("mouseover", function(i, r) {
10576
- const a = I(this);
10578
+ const a = R(this);
10577
10579
  a.classed("hovered", !0), n.services.events.dispatchEvent(x.Bar.BAR_MOUSEOVER, {
10578
10580
  event: i,
10579
10581
  element: a,
@@ -10597,7 +10599,7 @@ class J0 extends br {
10597
10599
  data: [c]
10598
10600
  });
10599
10601
  }).on("mousemove", function(i, r) {
10600
- const a = I(this);
10602
+ const a = R(this);
10601
10603
  n.services.events.dispatchEvent(x.Bar.BAR_MOUSEMOVE, {
10602
10604
  event: i,
10603
10605
  element: a,
@@ -10608,11 +10610,11 @@ class J0 extends br {
10608
10610
  }).on("click", function(i, r) {
10609
10611
  n.services.events.dispatchEvent(x.Bar.BAR_CLICK, {
10610
10612
  event: i,
10611
- element: I(this),
10613
+ element: R(this),
10612
10614
  datum: r
10613
10615
  });
10614
10616
  }).on("mouseout", function(i, r) {
10615
- const a = I(this);
10617
+ const a = R(this);
10616
10618
  a.classed("hovered", !1), n.services.events.dispatchEvent(x.Bar.BAR_MOUSEOUT, {
10617
10619
  event: i,
10618
10620
  element: a,
@@ -10723,7 +10725,7 @@ class ty extends ot {
10723
10725
  name: o,
10724
10726
  children: a
10725
10727
  }), p = 10, f = n / 6, g = (O) => {
10726
- const R = u.descendants().reverse(), k = u.links();
10728
+ const I = u.descendants().reverse(), k = u.links();
10727
10729
  let G = u, C = u;
10728
10730
  u.eachBefore((P) => {
10729
10731
  P.x < G.x && (G = P), P.x > C.x && (C = P);
@@ -10734,25 +10736,25 @@ class ty extends ot {
10734
10736
  name: "tree-update-viewbox",
10735
10737
  animate: !0
10736
10738
  })
10737
- ).attr("viewBox", [-d.left, G.x, n, L].join(" ")), D = b.selectAll("g").data(R, (P) => P.id), A = this, w = D.enter().append("g").attr("transform", () => `translate(${O.y0},${O.x0})`).attr(
10739
+ ).attr("viewBox", [-d.left, G.x, n, L].join(" ")), D = b.selectAll("g").data(I, (P) => P.id), A = this, w = D.enter().append("g").attr("transform", () => `translate(${O.y0},${O.x0})`).attr(
10738
10740
  "class",
10739
10741
  (P) => P.depth !== 0 && P.children && P.children.length > 0 ? "clickable" : null
10740
10742
  ).on("mouseover", function(P, $) {
10741
10743
  A.services.events.dispatchEvent(x.Tree.NODE_MOUSEOVER, {
10742
10744
  event: P,
10743
- element: I(this),
10745
+ element: R(this),
10744
10746
  datum: $
10745
10747
  });
10746
10748
  }).on("click", function(P, $) {
10747
10749
  $.depth !== 0 && ($.children = $.children ? null : $._children, g($)), A.services.events.dispatchEvent(x.Tree.NODE_CLICK, {
10748
10750
  event: P,
10749
- element: I(this),
10751
+ element: R(this),
10750
10752
  datum: $
10751
10753
  });
10752
10754
  }).on("mouseout", function(P, $) {
10753
10755
  A.services.events.dispatchEvent(x.Tree.NODE_MOUSEOUT, {
10754
10756
  event: P,
10755
- element: I(this),
10757
+ element: R(this),
10756
10758
  datum: $
10757
10759
  });
10758
10760
  });
@@ -10774,8 +10776,8 @@ class ty extends ot {
10774
10776
  i,
10775
10777
  n - h - E * We - c
10776
10778
  ]), v = zd().x((O) => O.y).y((O) => O.x);
10777
- u.x0 = f / 2, u.y0 = 0, u.descendants().forEach((O, R) => {
10778
- O.id = R, O._children = O.children;
10779
+ u.x0 = f / 2, u.y0 = 0, u.descendants().forEach((O, I) => {
10780
+ O.id = I, O._children = O.children;
10779
10781
  }), y(u), e.attr("viewBox", [-d.left, -d.top, n, p]).style("user-select", "none");
10780
10782
  const S = e.append("g").attr("class", "links"), b = e.append("g").attr("class", "nodes");
10781
10783
  g(u);
@@ -10943,16 +10945,14 @@ const Pv = (s) => {
10943
10945
  return n;
10944
10946
  }
10945
10947
  return null;
10946
- }, ho = function() {
10947
- const s = I(this.parentNode).select("rect.leaf"), t = getComputedStyle(s.node(), null).getPropertyValue(
10948
- "fill"
10949
- ), e = bo(t);
10950
- let n;
10951
- if (e && (n = Pv(e ? e.hex() : null)), n == null) {
10952
- const i = xo(e).l;
10953
- n = Math.abs(i * 100 - 100);
10954
- }
10955
- 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";
10956
10956
  };
10957
10957
  let Nv = 0;
10958
10958
  class ey extends ot {
@@ -11003,7 +11003,7 @@ class ey extends ot {
11003
11003
  ).attr("transform", (g) => `translate(${g.x0},${g.y0})`);
11004
11004
  const p = u.selectAll("rect.leaf").data((g) => [g]);
11005
11005
  p.exit().attr("width", 0).attr("height", 0).remove(), p.enter().append("rect").classed("leaf", !0).merge(p).attr("width", 0).attr("height", 0).attr("id", function() {
11006
- const g = I(this.parentNode).attr("data-uid");
11006
+ const g = R(this.parentNode).attr("data-uid");
11007
11007
  return `${i.style.prefix}-leaf-${g}`;
11008
11008
  }).attr("class", (g) => {
11009
11009
  for (; g.depth > 1; ) g = g.parent;
@@ -11026,10 +11026,10 @@ class ey extends ot {
11026
11026
  (g) => g
11027
11027
  ).join(
11028
11028
  (g) => g.append("clipPath").attr("id", function() {
11029
- const m = I(this.parentNode).attr("data-uid");
11029
+ const m = R(this.parentNode).attr("data-uid");
11030
11030
  return `${i.style.prefix}-clip-${m}`;
11031
11031
  }).append("use").attr("xlink:href", function() {
11032
- const m = I(this.parentNode.parentNode).attr("data-uid"), E = `${i.style.prefix}-leaf-${m}`;
11032
+ const m = R(this.parentNode.parentNode).attr("data-uid"), E = `${i.style.prefix}-leaf-${m}`;
11033
11033
  return new URL(`#${E}`, r) + "";
11034
11034
  }),
11035
11035
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -11043,11 +11043,10 @@ class ey extends ot {
11043
11043
  return [];
11044
11044
  let m = g;
11045
11045
  for (; m.depth > 1; ) m = m.parent;
11046
- const E = xo(this.model.getFillColor(m.data.name));
11047
11046
  return [
11048
11047
  {
11049
11048
  text: g.data.name,
11050
- color: E.l < 0.5 ? "white" : "black"
11049
+ backgroundColor: this.model.getFillColor(m.data.name)
11051
11050
  }
11052
11051
  ];
11053
11052
  },
@@ -11056,7 +11055,7 @@ class ey extends ot {
11056
11055
  (g) => {
11057
11056
  const m = g.append("text").text((E) => E.text).style("fill", ho).attr("x", 7).attr("y", 18);
11058
11057
  return r && m.attr("clip-path", function() {
11059
- const E = I(this.parentNode).attr("data-uid"), y = `${i.style.prefix}-clip-${E}`;
11058
+ const E = R(this.parentNode).attr("data-uid"), y = `${i.style.prefix}-clip-${E}`;
11060
11059
  return `url(${new URL(`#${y}`, r) + ""})`;
11061
11060
  }), m;
11062
11061
  },
@@ -11067,7 +11066,7 @@ class ey extends ot {
11067
11066
  addEventListeners() {
11068
11067
  const t = this;
11069
11068
  this.parent.selectAll("rect.leaf").on("mouseover", function(e, n) {
11070
- const i = I(this);
11069
+ const i = R(this);
11071
11070
  let r = getComputedStyle(this, null).getPropertyValue("fill"), a = n;
11072
11071
  for (; a.depth > 1; ) a = a.parent;
11073
11072
  i.transition("graph_element_mouseover_fill_update").call(
@@ -11077,7 +11076,7 @@ class ey extends ot {
11077
11076
  })
11078
11077
  ).style("fill", (o) => {
11079
11078
  const c = t.model.getFillColor(o.parent.data.name, null, o.data);
11080
- return c && (r = c), bo(r).darker(0.7).toString();
11079
+ return c && (r = c), xo(r).darker(0.7).toString();
11081
11080
  }), t.services.events.dispatchEvent(x.Tooltip.SHOW, {
11082
11081
  event: e,
11083
11082
  hoveredElement: i,
@@ -11098,7 +11097,7 @@ class ey extends ot {
11098
11097
  datum: n
11099
11098
  });
11100
11099
  }).on("mousemove", function(e, n) {
11101
- const i = I(this);
11100
+ const i = R(this);
11102
11101
  t.services.events.dispatchEvent(x.Treemap.LEAF_MOUSEMOVE, {
11103
11102
  event: e,
11104
11103
  element: i,
@@ -11109,11 +11108,11 @@ class ey extends ot {
11109
11108
  }).on("click", function(e, n) {
11110
11109
  t.services.events.dispatchEvent(x.Treemap.LEAF_CLICK, {
11111
11110
  event: e,
11112
- element: I(this),
11111
+ element: R(this),
11113
11112
  datum: n
11114
11113
  });
11115
11114
  }).on("mouseout", function(e, n) {
11116
- const i = I(this);
11115
+ const i = R(this);
11117
11116
  i.classed("hovered", !1);
11118
11117
  let r = n;
11119
11118
  for (; r.depth > 1; ) r = r.parent;
@@ -11134,7 +11133,7 @@ class ey extends ot {
11134
11133
  }
11135
11134
  var $v = { value: function() {
11136
11135
  } };
11137
- function Cl() {
11136
+ function _l() {
11138
11137
  for (var s = 0, t = arguments.length, e = {}, n; s < t; ++s) {
11139
11138
  if (!(n = arguments[s] + "") || n in e || /[\s.]/.test(n)) throw new Error("illegal type: " + n);
11140
11139
  e[n] = [];
@@ -11151,7 +11150,7 @@ function Vv(s, t) {
11151
11150
  return { type: e, name: n };
11152
11151
  });
11153
11152
  }
11154
- us.prototype = Cl.prototype = {
11153
+ us.prototype = _l.prototype = {
11155
11154
  constructor: us,
11156
11155
  on: function(s, t) {
11157
11156
  var e = this._, n = Vv(s + "", e), i, r = -1, a = n.length;
@@ -11195,17 +11194,17 @@ function po(s, t, e) {
11195
11194
  }
11196
11195
  const Gv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11197
11196
  __proto__: null,
11198
- dispatch: Cl
11197
+ dispatch: _l
11199
11198
  }, Symbol.toStringTag, { value: "Module" })), Hv = /* @__PURE__ */ of(Gv), Uv = Hv.dispatch, vi = Math.PI / 180, zv = {
11200
- archimedean: kl,
11199
+ archimedean: Cl,
11201
11200
  rectangular: t0
11202
11201
  }, wn = 64, hs = 2048;
11203
11202
  var Fv = function() {
11204
- var s = [256, 256], t = Wv, e = Xv, n = jv, i = fo, r = fo, a = Yv, o = qv, c = kl, l = [], h = 1 / 0, d = Uv("word", "end"), u = null, p = Math.random, f = {}, g = n0;
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;
11205
11204
  f.canvas = function(y) {
11206
11205
  return arguments.length ? (g = xe(y), f) : g;
11207
11206
  }, f.start = function() {
11208
- var y = m(g()), v = e0((s[0] >> 5) * s[1]), S = null, b = l.length, O = -1, R = [], k = l.map(function(C, L) {
11207
+ var y = m(g()), v = e0((s[0] >> 5) * s[1]), S = null, b = l.length, O = -1, I = [], k = l.map(function(C, L) {
11209
11208
  return C.text = t.call(this, C, L), C.font = e.call(this, C, L), C.style = i.call(this, C, L), C.weight = r.call(this, C, L), C.rotate = a.call(this, C, L), C.size = ~~n.call(this, C, L), C.padding = o.call(this, C, L), C;
11210
11209
  }).sort(function(C, L) {
11211
11210
  return L.size - C.size;
@@ -11214,9 +11213,9 @@ var Fv = function() {
11214
11213
  function G() {
11215
11214
  for (var C = Date.now(); Date.now() - C < h && ++O < b && u; ) {
11216
11215
  var L = k[O];
11217
- L.x = s[0] * (p() + 0.5) >> 1, L.y = s[1] * (p() + 0.5) >> 1, Zv(y, L, k, O), L.hasText && E(v, L, S) && (R.push(L), d.call("word", f, L), S ? Jv(S, L) : S = [{ x: L.x + L.x0, y: L.y + L.y0 }, { x: L.x + L.x1, y: L.y + L.y1 }], L.x -= s[0] >> 1, L.y -= s[1] >> 1);
11216
+ L.x = s[0] * (p() + 0.5) >> 1, L.y = s[1] * (p() + 0.5) >> 1, Zv(y, L, k, O), L.hasText && E(v, L, S) && (I.push(L), d.call("word", f, L), S ? Jv(S, L) : S = [{ x: L.x + L.x0, y: L.y + L.y0 }, { x: L.x + L.x1, y: L.y + L.y1 }], L.x -= s[0] >> 1, L.y -= s[1] >> 1);
11218
11217
  }
11219
- O >= b && (f.stop(), d.call("end", f, R, S));
11218
+ O >= b && (f.stop(), d.call("end", f, I, S));
11220
11219
  }
11221
11220
  }, f.stop = function() {
11222
11221
  u && (clearInterval(u), u = null);
@@ -11232,7 +11231,7 @@ var Fv = function() {
11232
11231
  }
11233
11232
  function E(y, v, S) {
11234
11233
  s[0], s[1];
11235
- for (var b = v.x, O = v.y, R = Math.sqrt(s[0] * s[0] + s[1] * s[1]), k = c(s), G = p() < 0.5 ? 1 : -1, C = -G, L, B, D; (L = k(C += G)) && (B = ~~L[0], D = ~~L[1], !(Math.min(Math.abs(B), Math.abs(D)) >= R)); )
11234
+ for (var b = v.x, O = v.y, I = Math.sqrt(s[0] * s[0] + s[1] * s[1]), k = c(s), G = p() < 0.5 ? 1 : -1, C = -G, L, B, D; (L = k(C += G)) && (B = ~~L[0], D = ~~L[1], !(Math.min(Math.abs(B), Math.abs(D)) >= I)); )
11236
11235
  if (v.x = b + B, v.y = O + D, !(v.x + v.x0 < 0 || v.y + v.y0 < 0 || v.x + v.x1 > s[0] || v.y + v.y1 > s[1]) && (!S || Qv(v, S)) && !Kv(v, y, s[0])) {
11237
11236
  for (var A = v.sprite, w = v.width >> 5, V = s[0] >> 5, N = v.x - (w << 4), P = N & 127, $ = 32 - P, X = v.y1 - v.y0, F = (v.y + v.y0) * V + (N >> 5), et, J = 0; J < X; J++) {
11238
11237
  et = 0;
@@ -11313,14 +11312,14 @@ function Zv(s, t, e, n) {
11313
11312
  for (var y = t.width, v = y >> 5, S = t.y1 - t.y0, b = 0; b < S * v; b++) E[b] = 0;
11314
11313
  if (a = t.xoff, a == null) return;
11315
11314
  o = t.yoff;
11316
- for (var O = 0, R = -1, k = 0; k < S; k++) {
11315
+ for (var O = 0, I = -1, k = 0; k < S; k++) {
11317
11316
  for (var b = 0; b < y; b++) {
11318
11317
  var G = v * k + (b >> 5), C = m[(o + k) * (wn << 5) + (a + b) << 2] ? 1 << 31 - b % 32 : 0;
11319
11318
  E[G] |= C, O |= C;
11320
11319
  }
11321
- O ? R = k : (t.y0++, S--, k--, o++);
11320
+ O ? I = k : (t.y0++, S--, k--, o++);
11322
11321
  }
11323
- t.y1 = t.y0 + R, t.sprite = E.slice(0, (t.y1 - t.y0) * v);
11322
+ t.y1 = t.y0 + I, t.sprite = E.slice(0, (t.y1 - t.y0) * v);
11324
11323
  }
11325
11324
  }
11326
11325
  }
@@ -11341,7 +11340,7 @@ function Jv(s, t) {
11341
11340
  function Qv(s, t) {
11342
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;
11343
11342
  }
11344
- function kl(s) {
11343
+ function Cl(s) {
11345
11344
  var t = s[0] / s[1];
11346
11345
  return function(e) {
11347
11346
  return [t * (e *= 0.1) * Math.cos(e), e * Math.sin(e)];
@@ -11380,7 +11379,7 @@ function xe(s) {
11380
11379
  return s;
11381
11380
  };
11382
11381
  }
11383
- const s0 = /* @__PURE__ */ Ol(Fv);
11382
+ const s0 = /* @__PURE__ */ Tl(Fv);
11384
11383
  class ny extends ot {
11385
11384
  constructor() {
11386
11385
  super(...arguments), this.type = "wordcloud", this.renderType = st.SVG, this.handleLegendOnHover = (t) => {
@@ -11469,7 +11468,7 @@ class ny extends ot {
11469
11468
  const o = this;
11470
11469
  i(o), n.services.events.dispatchEvent(x.WordCloud.WORD_MOUSEOVER, {
11471
11470
  event: r,
11472
- element: I(this),
11471
+ element: R(this),
11473
11472
  datum: a
11474
11473
  }), n.services.events.dispatchEvent(x.Tooltip.SHOW, {
11475
11474
  event: r,
@@ -11494,7 +11493,7 @@ class ny extends ot {
11494
11493
  ]
11495
11494
  });
11496
11495
  }).on("mousemove", function(r, a) {
11497
- const o = I(this);
11496
+ const o = R(this);
11498
11497
  n.services.events.dispatchEvent(x.WordCloud.WORD_MOUSEMOVE, {
11499
11498
  element: o,
11500
11499
  datum: a
@@ -11504,11 +11503,11 @@ class ny extends ot {
11504
11503
  }).on("click", function(r, a) {
11505
11504
  n.services.events.dispatchEvent(x.WordCloud.WORD_CLICK, {
11506
11505
  event: r,
11507
- element: I(this),
11506
+ element: R(this),
11508
11507
  datum: a
11509
11508
  });
11510
11509
  }).on("mouseout", function(r, a) {
11511
- const o = I(this);
11510
+ const o = R(this);
11512
11511
  i(null), n.services.events.dispatchEvent(x.WordCloud.WORD_MOUSEOUT, {
11513
11512
  event: r,
11514
11513
  element: o,
@@ -11570,7 +11569,7 @@ class i0 extends ot {
11570
11569
  t = vh();
11571
11570
  break;
11572
11571
  case we.geoConicEqualArea:
11573
- t = cl();
11572
+ t = ll();
11574
11573
  break;
11575
11574
  case we.geoConicEquidistant:
11576
11575
  t = bh();
@@ -11608,7 +11607,7 @@ class sy extends i0 {
11608
11607
  addCountryAreaEventListener() {
11609
11608
  const t = this, e = this.model.getCombinedData();
11610
11609
  this.parent.selectAll("path.border").on("mouseover", function(n, i) {
11611
- const r = I(this);
11610
+ const r = R(this);
11612
11611
  t.services.events.dispatchEvent(zn.CHOROPLETH_MOUSEOVER, {
11613
11612
  event: n,
11614
11613
  element: r,
@@ -11626,7 +11625,7 @@ class sy extends i0 {
11626
11625
  }).on("mousemove", function(n, i) {
11627
11626
  t.services.events.dispatchEvent(zn.CHOROPLETH_MOUSEMOVE, {
11628
11627
  event: n,
11629
- element: I(this),
11628
+ element: R(this),
11630
11629
  datum: e[i.properties.NAME]
11631
11630
  }), t.services.events.dispatchEvent(Ys.MOVE, {
11632
11631
  event: n
@@ -11634,11 +11633,11 @@ class sy extends i0 {
11634
11633
  }).on("click", function(n, i) {
11635
11634
  t.services.events.dispatchEvent(zn.CHOROPLETH_CLICK, {
11636
11635
  event: n,
11637
- element: I(this),
11636
+ element: R(this),
11638
11637
  datum: e[i.properties.NAME]
11639
11638
  });
11640
11639
  }).on("mouseout", function(n, i) {
11641
- const r = I(this);
11640
+ const r = R(this);
11642
11641
  t.services.events.dispatchEvent(zn.CHOROPLETH_MOUSEOUT, {
11643
11642
  event: n,
11644
11643
  element: r,
@@ -11669,13 +11668,13 @@ export {
11669
11668
  j0 as O,
11670
11669
  lg as P,
11671
11670
  Y0 as Q,
11672
- Ml as R,
11671
+ Al as R,
11673
11672
  h0 as S,
11674
11673
  Af as T,
11675
11674
  ty as U,
11676
11675
  ey as V,
11677
11676
  ny as W,
11678
- _l as X,
11677
+ Ml as X,
11679
11678
  Kf as Y,
11680
11679
  f0 as Z,
11681
11680
  R0 as _,
@@ -11716,4 +11715,4 @@ export {
11716
11715
  J0 as y,
11717
11716
  U0 as z
11718
11717
  };
11719
- //# sourceMappingURL=choropleth-CNsiu_Wj.mjs.map
11718
+ //# sourceMappingURL=choropleth-CeqRIFeN.mjs.map