@carbon/charts 1.23.15 → 1.23.16

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.
Files changed (30) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/a11y-ePqvrObQ.mjs.map +1 -1
  3. package/dist/{angle-utils-Re7uVv7K.mjs → angle-utils-BWFhuTnR.mjs} +49 -54
  4. package/dist/{angle-utils-Re7uVv7K.mjs.map → angle-utils-BWFhuTnR.mjs.map} +1 -1
  5. package/dist/{array-CLq6Q40W.mjs → array-4CiuhqlQ.mjs} +2 -2
  6. package/dist/{array-CLq6Q40W.mjs.map → array-4CiuhqlQ.mjs.map} +1 -1
  7. package/dist/axis-scales-CPuwbFQf.mjs.map +1 -1
  8. package/dist/{choropleth-DvuP75LI.mjs → choropleth-Bst0hbTL.mjs} +482 -505
  9. package/dist/{choropleth-DvuP75LI.mjs.map → choropleth-Bst0hbTL.mjs.map} +1 -1
  10. package/dist/{color-scale-utils-BPsvYA85.mjs → color-scale-utils-DCBFJmbg.mjs} +1152 -1161
  11. package/dist/{color-scale-utils-BPsvYA85.mjs.map → color-scale-utils-DCBFJmbg.mjs.map} +1 -1
  12. package/dist/components/index.mjs +1 -1
  13. package/dist/{index-Ciju2yyn.mjs → index-BILVb6NZ.mjs} +442 -447
  14. package/dist/{index-Ciju2yyn.mjs.map → index-BILVb6NZ.mjs.map} +1 -1
  15. package/dist/index.d.cts +21 -0
  16. package/dist/index.mjs +62 -63
  17. package/dist/index.mjs.map +1 -1
  18. package/dist/model/index.mjs +22 -22
  19. package/dist/model/index.mjs.map +1 -1
  20. package/dist/services/index.mjs +3 -3
  21. package/dist/styles.css +96 -0
  22. package/dist/styles.css.map +1 -1
  23. package/dist/styles.min.css +1 -1
  24. package/dist/styles.min.css.map +1 -1
  25. package/dist/umd/bundle.umd.cjs +14 -14
  26. package/dist/umd/bundle.umd.cjs.map +1 -1
  27. package/dist/umd/bundle.umd.js +14 -14
  28. package/package.json +24 -25
  29. package/styles.css +96 -0
  30. package/styles.min.css +1 -1
@@ -1,19 +1,19 @@
1
- import { t as Br, $ as al, i as rl, a0 as ol, a1 as zr, a2 as Ur, a3 as ll, a4 as cl, a5 as ul, a6 as hl, a7 as Fr, a8 as ya, a9 as sn, g as O, p as Kt, a as nn, C as Ea, aa as xt, w as Mt, ab as Cn, E as xa, H as jt, ac as Wr, ad as Os, c as dl, ae as xe, I as hi, K as di, e as se, af as yn, ag as ge, f as ye, x as ve, ah as pl, h as Ke, O as fl, ai as Re, z as Et, l as qt, aj as Gt, ak as gl, M as ml, al as Xr, y as _t, q as hn, n as Hn, am as Ps, an as vl, ao as yl, ap as pi, aq as Sa, A as Ae, ar as ba, as as Yr, at as El } from "./color-scale-utils-BPsvYA85.mjs";
2
- import { y as at, $ as T, N as bt, r as Te, q as ze, L as xl, A as te, m as nt, s as Me, W as Je, S as kt, e as J, Z as Ue, i as Xt, f as Ta, J as $s, d as Sl, F as Bn, n as Vs, H as Gs, C as Hs, p as zn, b as Oa, D as Bs, U as bl, x as we, a0 as Un, O as zs } from "./axis-scales-CPuwbFQf.mjs";
1
+ import { t as Br, $ as rl, i as ol, a0 as ll, a1 as zr, a2 as Ur, a3 as cl, a4 as ul, a5 as hl, a6 as dl, a7 as Fr, a8 as ya, a9 as an, g as O, p as Kt, a as sn, C as Ea, aa as xt, w as Mt, ab as kn, E as xa, H as jt, ac as Wr, ad as Os, c as pl, ae as xe, I as hi, K as di, e as se, af as yn, ag as ge, f as ye, x as ve, ah as fl, h as Je, O as gl, ai as Re, z as Et, l as qt, aj as Gt, ak as ml, M as vl, al as Xr, y as _t, q as dn, n as Bn, am as Ps, an as yl, ao as El, ap as pi, aq as Sa, A as Ae, ar as ba, as as Yr, at as xl } from "./color-scale-utils-DCBFJmbg.mjs";
2
+ import { y as at, $ as T, N as bt, r as Te, q as ze, L as Sl, A as te, m as nt, s as Me, W as Qe, S as kt, e as J, Z as Ue, i as Xt, f as Ta, J as $s, d as bl, F as zn, n as Vs, H as Gs, C as Hs, p as Un, b as Oa, D as Bs, U as Tl, x as we, a0 as Fn, O as zs } from "./axis-scales-CPuwbFQf.mjs";
3
3
  import { R as lt } from "./a11y-ePqvrObQ.mjs";
4
- import { t as ns, s as D, h as La, e as Ut, c as ss, f as Ce, g as oe, m as Us, i as Aa, j as Ma, k as Qe, l as Dt, n as wa, o as Tl, q as Ol, u as Bi, D as I, v as Ll, w as fi, G as Ca, x as zi, y as Al, a as Ml, p as Tt, r as ka, b as wl } from "./angle-utils-Re7uVv7K.mjs";
5
- import { b as Zr, c as pt, a as Ui, s as Cl } from "./array-CLq6Q40W.mjs";
6
- function kl(i, t, e, n) {
4
+ import { t as ns, s as D, h as La, e as Ut, c as ss, f as Ce, g as oe, m as Us, i as Aa, j as Ma, k as tn, l as Dt, n as wa, o as Ol, q as Ll, u as Bi, D as I, v as Al, w as fi, G as Ca, x as zi, y as Ml, a as wl, p as Tt, r as ka, b as Cl } from "./angle-utils-BWFhuTnR.mjs";
5
+ import { b as Zr, c as pt, a as Ui, s as kl } from "./array-4CiuhqlQ.mjs";
6
+ function _l(i, t, e, n) {
7
7
  for (var s = -1, a = i == null ? 0 : i.length; ++s < a; )
8
8
  e = t(e, i[s], s, i);
9
9
  return e;
10
10
  }
11
- function _l(i) {
11
+ function Il(i) {
12
12
  return function(t) {
13
- return i == null ? void 0 : i[t];
13
+ return i?.[t];
14
14
  };
15
15
  }
16
- var Il = {
16
+ var Rl = {
17
17
  // Latin-1 Supplement block.
18
18
  À: "A",
19
19
  Á: "A",
@@ -206,85 +206,85 @@ var Il = {
206
206
  œ: "oe",
207
207
  ʼn: "'n",
208
208
  ſ: "s"
209
- }, Rl = _l(Il), Dl = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Nl = "\\u0300-\\u036f", Pl = "\\ufe20-\\ufe2f", $l = "\\u20d0-\\u20ff", Vl = Nl + Pl + $l, Gl = "[" + Vl + "]", Hl = RegExp(Gl, "g");
210
- function Bl(i) {
211
- return i = Br(i), i && i.replace(Dl, Rl).replace(Hl, "");
212
- }
213
- var zl = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
214
- function Ul(i) {
215
- return i.match(zl) || [];
216
- }
217
- var Fl = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
218
- function Wl(i) {
219
- return Fl.test(i);
220
- }
221
- var qr = "\\ud800-\\udfff", Xl = "\\u0300-\\u036f", Yl = "\\ufe20-\\ufe2f", Zl = "\\u20d0-\\u20ff", ql = Xl + Yl + Zl, jr = "\\u2700-\\u27bf", Kr = "a-z\\xdf-\\xf6\\xf8-\\xff", jl = "\\xac\\xb1\\xd7\\xf7", Kl = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Jl = "\\u2000-\\u206f", Ql = " \\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", Jr = "A-Z\\xc0-\\xd6\\xd8-\\xde", tc = "\\ufe0e\\ufe0f", Qr = jl + Kl + Jl + Ql, to = "['’]", _a = "[" + Qr + "]", ec = "[" + ql + "]", eo = "\\d+", nc = "[" + jr + "]", no = "[" + Kr + "]", so = "[^" + qr + Qr + eo + jr + Kr + Jr + "]", sc = "\\ud83c[\\udffb-\\udfff]", ic = "(?:" + ec + "|" + sc + ")", ac = "[^" + qr + "]", io = "(?:\\ud83c[\\udde6-\\uddff]){2}", ao = "[\\ud800-\\udbff][\\udc00-\\udfff]", Ze = "[" + Jr + "]", rc = "\\u200d", Ia = "(?:" + no + "|" + so + ")", oc = "(?:" + Ze + "|" + so + ")", Ra = "(?:" + to + "(?:d|ll|m|re|s|t|ve))?", Da = "(?:" + to + "(?:D|LL|M|RE|S|T|VE))?", ro = ic + "?", oo = "[" + tc + "]?", lc = "(?:" + rc + "(?:" + [ac, io, ao].join("|") + ")" + oo + ro + ")*", cc = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", uc = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", hc = oo + ro + lc, dc = "(?:" + [nc, io, ao].join("|") + ")" + hc, pc = RegExp([
222
- Ze + "?" + no + "+" + Ra + "(?=" + [_a, Ze, "$"].join("|") + ")",
223
- oc + "+" + Da + "(?=" + [_a, Ze + Ia, "$"].join("|") + ")",
224
- Ze + "?" + Ia + "+" + Ra,
225
- Ze + "+" + Da,
209
+ }, Dl = Il(Rl), Nl = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Pl = "\\u0300-\\u036f", $l = "\\ufe20-\\ufe2f", Vl = "\\u20d0-\\u20ff", Gl = Pl + $l + Vl, Hl = "[" + Gl + "]", Bl = RegExp(Hl, "g");
210
+ function zl(i) {
211
+ return i = Br(i), i && i.replace(Nl, Dl).replace(Bl, "");
212
+ }
213
+ var Ul = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
214
+ function Fl(i) {
215
+ return i.match(Ul) || [];
216
+ }
217
+ var Wl = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
218
+ function Xl(i) {
219
+ return Wl.test(i);
220
+ }
221
+ var qr = "\\ud800-\\udfff", Yl = "\\u0300-\\u036f", Zl = "\\ufe20-\\ufe2f", ql = "\\u20d0-\\u20ff", jl = Yl + Zl + ql, jr = "\\u2700-\\u27bf", Kr = "a-z\\xdf-\\xf6\\xf8-\\xff", Kl = "\\xac\\xb1\\xd7\\xf7", Jl = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Ql = "\\u2000-\\u206f", tc = " \\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", Jr = "A-Z\\xc0-\\xd6\\xd8-\\xde", ec = "\\ufe0e\\ufe0f", Qr = Kl + Jl + Ql + tc, to = "['’]", _a = "[" + Qr + "]", nc = "[" + jl + "]", eo = "\\d+", sc = "[" + jr + "]", no = "[" + Kr + "]", so = "[^" + qr + Qr + eo + jr + Kr + Jr + "]", ic = "\\ud83c[\\udffb-\\udfff]", ac = "(?:" + nc + "|" + ic + ")", rc = "[^" + qr + "]", io = "(?:\\ud83c[\\udde6-\\uddff]){2}", ao = "[\\ud800-\\udbff][\\udc00-\\udfff]", qe = "[" + Jr + "]", oc = "\\u200d", Ia = "(?:" + no + "|" + so + ")", lc = "(?:" + qe + "|" + so + ")", Ra = "(?:" + to + "(?:d|ll|m|re|s|t|ve))?", Da = "(?:" + to + "(?:D|LL|M|RE|S|T|VE))?", ro = ac + "?", oo = "[" + ec + "]?", cc = "(?:" + oc + "(?:" + [rc, io, ao].join("|") + ")" + oo + ro + ")*", uc = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", hc = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", dc = oo + ro + cc, pc = "(?:" + [sc, io, ao].join("|") + ")" + dc, fc = RegExp([
222
+ qe + "?" + no + "+" + Ra + "(?=" + [_a, qe, "$"].join("|") + ")",
223
+ lc + "+" + Da + "(?=" + [_a, qe + Ia, "$"].join("|") + ")",
224
+ qe + "?" + Ia + "+" + Ra,
225
+ qe + "+" + Da,
226
+ hc,
226
227
  uc,
227
- cc,
228
228
  eo,
229
- dc
229
+ pc
230
230
  ].join("|"), "g");
231
- function fc(i) {
232
- return i.match(pc) || [];
231
+ function gc(i) {
232
+ return i.match(fc) || [];
233
233
  }
234
- function gc(i, t, e) {
235
- return i = Br(i), t = t, t === void 0 ? Wl(i) ? fc(i) : Ul(i) : i.match(t) || [];
234
+ function mc(i, t, e) {
235
+ return i = Br(i), t = t, t === void 0 ? Xl(i) ? gc(i) : Fl(i) : i.match(t) || [];
236
236
  }
237
- var mc = "['’]", vc = RegExp(mc, "g");
238
- function yc(i) {
237
+ var vc = "['’]", yc = RegExp(vc, "g");
238
+ function Ec(i) {
239
239
  return function(t) {
240
- return kl(gc(Bl(t).replace(vc, "")), i, "");
240
+ return _l(mc(zl(t).replace(yc, "")), i, "");
241
241
  };
242
242
  }
243
- function Ec(i, t, e) {
243
+ function xc(i, t, e) {
244
244
  return i === i && (e !== void 0 && (i = i <= e ? i : e), t !== void 0 && (i = i >= t ? i : t)), i;
245
245
  }
246
246
  function lo(i, t, e) {
247
- return e === void 0 && (e = t, t = void 0), e !== void 0 && (e = ns(e), e = e === e ? e : 0), t !== void 0 && (t = ns(t), t = t === t ? t : 0), Ec(ns(i), t, e);
247
+ return e === void 0 && (e = t, t = void 0), e !== void 0 && (e = ns(e), e = e === e ? e : 0), t !== void 0 && (t = ns(t), t = t === t ? t : 0), xc(ns(i), t, e);
248
248
  }
249
- var xc = "Expected a function";
250
- function Sc(i, t, e) {
249
+ var Sc = "Expected a function";
250
+ function bc(i, t, e) {
251
251
  if (typeof i != "function")
252
- throw new TypeError(xc);
252
+ throw new TypeError(Sc);
253
253
  return setTimeout(function() {
254
254
  i.apply(void 0, e);
255
255
  }, t);
256
256
  }
257
- var bc = al(function(i, t, e) {
258
- return Sc(i, ns(t) || 0, e);
257
+ var Tc = rl(function(i, t, e) {
258
+ return bc(i, ns(t) || 0, e);
259
259
  });
260
- function Tc(i, t) {
261
- var e = -1, n = rl(i) ? Array(i.length) : [];
260
+ function Oc(i, t) {
261
+ var e = -1, n = ol(i) ? Array(i.length) : [];
262
262
  return Zr(i, function(s, a, r) {
263
263
  n[++e] = t(s, a, r);
264
264
  }), n;
265
265
  }
266
- function Oc(i, t) {
267
- var e = Ur(i) ? ol : Tc;
266
+ function Lc(i, t) {
267
+ var e = Ur(i) ? ll : Oc;
268
268
  return e(i, zr(t));
269
269
  }
270
- var Lc = 1 / 0;
271
- function Ac(i, t) {
272
- return ll(Oc(i, t), Lc);
270
+ var Ac = 1 / 0;
271
+ function Mc(i, t) {
272
+ return cl(Lc(i, t), Ac);
273
273
  }
274
274
  function co(i, t) {
275
- return cl(i, t);
275
+ return ul(i, t);
276
276
  }
277
- var Fe = yc(function(i, t, e) {
277
+ var Fe = Ec(function(i, t, e) {
278
278
  return i + (e ? "-" : "") + t.toLowerCase();
279
279
  });
280
- function Mc(i, t) {
280
+ function wc(i, t) {
281
281
  var e;
282
282
  return Zr(i, function(n, s, a) {
283
283
  return e = t(n, s, a), !e;
284
284
  }), !!e;
285
285
  }
286
- function wc(i, t, e) {
287
- var n = Ur(i) ? ul : Mc;
286
+ function Cc(i, t, e) {
287
+ var n = Ur(i) ? hl : wc;
288
288
  return n(i, zr(t));
289
289
  }
290
290
  class De {
@@ -311,36 +311,36 @@ class De {
311
311
  return r;
312
312
  }
313
313
  }
314
- function* Cc(i) {
314
+ function* kc(i) {
315
315
  for (const t of i)
316
316
  yield* t;
317
317
  }
318
318
  function uo(i) {
319
- return Array.from(Cc(i));
319
+ return Array.from(kc(i));
320
320
  }
321
- function kc(i) {
321
+ function _c(i) {
322
322
  return i;
323
323
  }
324
324
  var is = 1, as = 2, gi = 3, En = 4, Na = 1e-6;
325
- function _c(i) {
325
+ function Ic(i) {
326
326
  return "translate(" + i + ",0)";
327
327
  }
328
- function Ic(i) {
328
+ function Rc(i) {
329
329
  return "translate(0," + i + ")";
330
330
  }
331
- function Rc(i) {
331
+ function Dc(i) {
332
332
  return (t) => +i(t);
333
333
  }
334
- function Dc(i, t) {
334
+ function Nc(i, t) {
335
335
  return t = Math.max(0, i.bandwidth() - t * 2) / 2, i.round() && (t = Math.round(t)), (e) => +i(e) + t;
336
336
  }
337
- function Nc() {
337
+ function Pc() {
338
338
  return !this.__axis;
339
339
  }
340
340
  function Ls(i, t) {
341
- var e = [], n = null, s = null, a = 6, r = 6, o = 3, c = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : 0.5, l = i === is || i === En ? -1 : 1, h = i === En || i === as ? "x" : "y", d = i === is || i === gi ? _c : Ic;
341
+ var e = [], n = null, s = null, a = 6, r = 6, o = 3, c = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : 0.5, l = i === is || i === En ? -1 : 1, h = i === En || i === as ? "x" : "y", d = i === is || i === gi ? Ic : Rc;
342
342
  function u(p) {
343
- var f = n ?? (t.ticks ? t.ticks.apply(t, e) : t.domain()), g = s ?? (t.tickFormat ? t.tickFormat.apply(t, e) : kc), m = Math.max(a, 0) + o, v = t.range(), S = +v[0] + c, y = +v[v.length - 1] + c, E = (t.bandwidth ? Dc : Rc)(t.copy(), c), x = p.selection ? p.selection() : p, b = x.selectAll(".domain").data([null]), k = x.selectAll(".tick").data(f, t).order(), _ = k.exit(), G = k.enter().append("g").attr("class", "tick"), R = k.select("line"), A = k.select("text");
343
+ var f = n ?? (t.ticks ? t.ticks.apply(t, e) : t.domain()), g = s ?? (t.tickFormat ? t.tickFormat.apply(t, e) : _c), m = Math.max(a, 0) + o, v = t.range(), S = +v[0] + c, y = +v[v.length - 1] + c, E = (t.bandwidth ? Nc : Dc)(t.copy(), c), x = p.selection ? p.selection() : p, b = x.selectAll(".domain").data([null]), k = x.selectAll(".tick").data(f, t).order(), _ = k.exit(), G = k.enter().append("g").attr("class", "tick"), R = k.select("line"), A = k.select("text");
344
344
  b = b.merge(b.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), k = k.merge(G), R = R.merge(G.append("line").attr("stroke", "currentColor").attr(h + "2", l * a)), A = A.merge(G.append("text").attr("fill", "currentColor").attr(h, l * m).attr("dy", i === is ? "0em" : i === gi ? "0.71em" : "0.32em")), p !== x && (b = b.transition(p), k = k.transition(p), R = R.transition(p), A = A.transition(p), _ = _.transition(p).attr("opacity", Na).attr("transform", function(H) {
345
345
  return isFinite(H = E(H)) ? d(H + c) : this.getAttribute("transform");
346
346
  }), G.attr("opacity", Na).attr("transform", function(H) {
@@ -348,7 +348,7 @@ function Ls(i, t) {
348
348
  return d((N && isFinite(N = N(H)) ? N : E(H)) + c);
349
349
  })), _.remove(), b.attr("d", i === En || i === as ? r ? "M" + l * r + "," + S + "H" + c + "V" + y + "H" + l * r : "M" + c + "," + S + "V" + y : r ? "M" + S + "," + l * r + "V" + c + "H" + y + "V" + l * r : "M" + S + "," + c + "H" + y), k.attr("opacity", 1).attr("transform", function(H) {
350
350
  return d(E(H) + c);
351
- }), R.attr(h + "2", l * a), A.attr(h, l * m).text(g), x.filter(Nc).attr("fill", "none").attr("font-size", 10).attr("font-family", "sans-serif").attr("text-anchor", i === as ? "start" : i === En ? "end" : "middle"), x.each(function() {
351
+ }), R.attr(h + "2", l * a), A.attr(h, l * m).text(g), x.filter(Pc).attr("fill", "none").attr("font-size", 10).attr("font-family", "sans-serif").attr("text-anchor", i === as ? "start" : i === En ? "end" : "middle"), x.each(function() {
352
352
  this.__axis = E;
353
353
  });
354
354
  }
@@ -374,10 +374,10 @@ function Ls(i, t) {
374
374
  return arguments.length ? (c = +p, u) : c;
375
375
  }, u;
376
376
  }
377
- function Pc(i) {
377
+ function $c(i) {
378
378
  return Ls(is, i);
379
379
  }
380
- function $c(i) {
380
+ function Vc(i) {
381
381
  return Ls(as, i);
382
382
  }
383
383
  function Fi(i) {
@@ -390,22 +390,22 @@ const mi = { capture: !0, passive: !1 };
390
390
  function vi(i) {
391
391
  i.preventDefault(), i.stopImmediatePropagation();
392
392
  }
393
- function Vc(i) {
393
+ function Gc(i) {
394
394
  var t = i.document.documentElement, e = D(i).on("dragstart.drag", vi, mi);
395
395
  "onselectstart" in t ? e.on("selectstart.drag", vi, mi) : (t.__noselect = t.style.MozUserSelect, t.style.MozUserSelect = "none");
396
396
  }
397
- function Gc(i, t) {
397
+ function Hc(i, t) {
398
398
  var e = i.document.documentElement, n = D(i).on("dragstart.drag", null);
399
399
  t && (n.on("click.drag", vi, mi), 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);
402
402
  }
403
- function Hc(i, t) {
403
+ function Bc(i, t) {
404
404
  for (var e = new Array(t), n = 0; n < t; ++n) e[n] = i(n / (t - 1));
405
405
  return e;
406
406
  }
407
- const Bc = (i) => +i, Fs = (i) => () => i;
408
- function zc(i, {
407
+ const zc = (i) => +i, Fs = (i) => () => i;
408
+ function Uc(i, {
409
409
  sourceEvent: t,
410
410
  target: e,
411
411
  selection: n,
@@ -421,7 +421,7 @@ function zc(i, {
421
421
  _: { value: a }
422
422
  });
423
423
  }
424
- function Uc(i) {
424
+ function Fc(i) {
425
425
  i.stopImmediatePropagation();
426
426
  }
427
427
  function Ws(i) {
@@ -469,7 +469,7 @@ var rs = {
469
469
  ne: "se",
470
470
  se: "ne",
471
471
  sw: "nw"
472
- }, Fc = {
472
+ }, Wc = {
473
473
  overlay: 1,
474
474
  selection: 1,
475
475
  n: null,
@@ -480,7 +480,7 @@ var rs = {
480
480
  ne: 1,
481
481
  se: 1,
482
482
  sw: -1
483
- }, Wc = {
483
+ }, Xc = {
484
484
  overlay: 1,
485
485
  selection: 1,
486
486
  n: -1,
@@ -495,28 +495,28 @@ var rs = {
495
495
  function yi(i) {
496
496
  return { type: i };
497
497
  }
498
- function Xc(i) {
498
+ function Yc(i) {
499
499
  return !i.ctrlKey && !i.button;
500
500
  }
501
- function Yc() {
501
+ function Zc() {
502
502
  var i = this.ownerSVGElement || this;
503
503
  return i.hasAttribute("viewBox") ? (i = i.viewBox.baseVal, [[i.x, i.y], [i.x + i.width, i.y + i.height]]) : [[0, 0], [i.width.baseVal.value, i.height.baseVal.value]];
504
504
  }
505
- function Zc() {
505
+ function qc() {
506
506
  return navigator.maxTouchPoints || "ontouchstart" in this;
507
507
  }
508
508
  function Zs(i) {
509
509
  for (; !i.__brush; ) if (!(i = i.parentNode)) return;
510
510
  return i.__brush;
511
511
  }
512
- function qc(i) {
512
+ function jc(i) {
513
513
  return i[0][0] === i[1][0] || i[0][1] === i[1][1];
514
514
  }
515
515
  function po() {
516
- return jc(rs);
516
+ return Kc(rs);
517
517
  }
518
- function jc(i) {
519
- var t = Yc, e = Xc, n = Zc, s = !0, a = hl("start", "brush", "end"), r = 6, o;
518
+ function Kc(i) {
519
+ var t = Zc, e = Yc, n = qc, s = !0, a = dl("start", "brush", "end"), r = 6, o;
520
520
  function c(m) {
521
521
  var v = m.property("__brush", g).selectAll(".overlay").data([yi("overlay")]);
522
522
  v.enter().append("rect").attr("class", "overlay").attr("pointer-events", "all").attr("cursor", fe.overlay).merge(v).each(function() {
@@ -587,7 +587,7 @@ function jc(i) {
587
587
  a.call(
588
588
  m,
589
589
  this.that,
590
- new zc(m, {
590
+ new Uc(m, {
591
591
  sourceEvent: v,
592
592
  target: c,
593
593
  selection: i.output(this.state.selection),
@@ -600,9 +600,9 @@ function jc(i) {
600
600
  };
601
601
  function u(m) {
602
602
  if (o && !m.touches || !e.apply(this, arguments)) return;
603
- var v = this, S = m.target.__data__.type, y = (s && m.metaKey ? S = "overlay" : S) === "selection" ? Pa : s && m.altKey ? Xe : We, E = i === Ys ? null : Fc[S], x = i === rs ? null : Wc[S], b = Zs(v), k = b.extent, _ = b.selection, G = k[0][0], R, A, H = k[0][1], N, M, L = k[1][0], P, $, C = k[1][1], V, q, X = 0, F = 0, Z, rt = E && x && s && m.shiftKey, j, Y, K = Array.from(m.touches || [m], (et) => {
603
+ var v = this, S = m.target.__data__.type, y = (s && m.metaKey ? S = "overlay" : S) === "selection" ? Pa : s && m.altKey ? Xe : We, E = i === Ys ? null : Wc[S], x = i === rs ? null : Xc[S], b = Zs(v), k = b.extent, _ = b.selection, G = k[0][0], R, A, H = k[0][1], N, M, L = k[1][0], P, $, C = k[1][1], V, q, X = 0, F = 0, Z, rt = E && x && s && m.shiftKey, j, Y, K = Array.from(m.touches || [m], (et) => {
604
604
  const yt = et.identifier;
605
- return et = sn(et, v), et.point0 = et.slice(), et.identifier = yt, et;
605
+ return et = an(et, v), et.point0 = et.slice(), et.identifier = yt, et;
606
606
  });
607
607
  ya(v);
608
608
  var ot = h(v, arguments, !0).beforestart();
@@ -624,13 +624,13 @@ function jc(i) {
624
624
  ot.moved = z, ot.ended = U;
625
625
  else {
626
626
  var it = D(m.view).on("mousemove.brush", z, !0).on("mouseup.brush", U, !0);
627
- s && it.on("keydown.brush", wt, !0).on("keyup.brush", be, !0), Vc(m.view);
627
+ s && it.on("keydown.brush", wt, !0).on("keyup.brush", be, !0), Gc(m.view);
628
628
  }
629
629
  l.call(v), ot.start(m, y.name);
630
630
  function z(et) {
631
631
  for (const yt of et.changedTouches || [et])
632
632
  for (const Zt of K)
633
- Zt.identifier === yt.identifier && (Zt.cur = sn(yt, v));
633
+ Zt.identifier === yt.identifier && (Zt.cur = an(yt, v));
634
634
  if (rt && !j && !Y && K.length === 1) {
635
635
  const yt = K[0];
636
636
  $a(yt.cur[0] - yt[0]) > $a(yt.cur[1] - yt[1]) ? Y = !0 : j = !0;
@@ -660,14 +660,14 @@ function jc(i) {
660
660
  $ < A && (E *= -1, Wt = R, R = P, P = Wt, Wt = A, A = $, $ = Wt, S in Ha && st.attr("cursor", fe[S = Ha[S]])), q < M && (x *= -1, Wt = N, N = V, V = Wt, Wt = M, M = q, q = Wt, S in Ba && st.attr("cursor", fe[S = Ba[S]])), b.selection && (_ = b.selection), j && (A = _[0][0], $ = _[1][0]), Y && (M = _[0][1], q = _[1][1]), (_[0][0] !== A || _[0][1] !== M || _[1][0] !== $ || _[1][1] !== q) && (b.selection = [[A, M], [$, q]], l.call(v), ot.brush(et, y.name));
661
661
  }
662
662
  function U(et) {
663
- if (Uc(et), et.touches) {
663
+ if (Fc(et), et.touches) {
664
664
  if (et.touches.length) return;
665
665
  o && clearTimeout(o), o = setTimeout(function() {
666
666
  o = null;
667
667
  }, 500);
668
668
  } else
669
- Gc(et.view, Z), it.on("keydown.brush keyup.brush mousemove.brush mouseup.brush", null);
670
- ct.attr("pointer-events", "all"), st.attr("cursor", fe.overlay), b.selection && (_ = b.selection), qc(_) && (b.selection = null, l.call(v)), ot.end(et, y.name);
669
+ Hc(et.view, Z), it.on("keydown.brush keyup.brush mousemove.brush mouseup.brush", null);
670
+ ct.attr("pointer-events", "all"), st.attr("cursor", fe.overlay), b.selection && (_ = b.selection), jc(_) && (b.selection = null, l.call(v)), ot.end(et, y.name);
671
671
  }
672
672
  function wt(et) {
673
673
  switch (et.keyCode) {
@@ -733,13 +733,13 @@ function jc(i) {
733
733
  return m === a ? c : m;
734
734
  }, c;
735
735
  }
736
- const Ei = Math.PI, xi = 2 * Ei, ke = 1e-6, Kc = xi - ke;
736
+ const Ei = Math.PI, xi = 2 * Ei, ke = 1e-6, Jc = xi - ke;
737
737
  function fo(i) {
738
738
  this._ += i[0];
739
739
  for (let t = 1, e = i.length; t < e; ++t)
740
740
  this._ += arguments[t] + i[t];
741
741
  }
742
- function Jc(i) {
742
+ function Qc(i) {
743
743
  let t = Math.floor(i);
744
744
  if (!(t >= 0)) throw new Error(`invalid digits: ${i}`);
745
745
  if (t > 15) return fo;
@@ -753,7 +753,7 @@ function Jc(i) {
753
753
  let Wi = class {
754
754
  constructor(t) {
755
755
  this._x0 = this._y0 = // start of current subpath
756
- this._x1 = this._y1 = null, this._ = "", this._append = t == null ? fo : Jc(t);
756
+ this._x1 = this._y1 = null, this._ = "", this._append = t == null ? fo : Qc(t);
757
757
  }
758
758
  moveTo(t, e) {
759
759
  this._append`M${this._x0 = this._x1 = +t},${this._y0 = this._y1 = +e}`;
@@ -785,7 +785,7 @@ let Wi = class {
785
785
  arc(t, e, n, s, a, r) {
786
786
  if (t = +t, e = +e, n = +n, r = !!r, n < 0) throw new Error(`negative radius: ${n}`);
787
787
  let o = n * Math.cos(s), c = n * Math.sin(s), l = t + o, h = e + c, d = 1 ^ r, u = r ? s - a : a - s;
788
- this._x1 === null ? this._append`M${l},${h}` : (Math.abs(this._x1 - l) > ke || Math.abs(this._y1 - h) > ke) && this._append`L${l},${h}`, n && (u < 0 && (u = u % xi + xi), u > Kc ? this._append`A${n},${n},0,1,${d},${t - o},${e - c}A${n},${n},0,1,${d},${this._x1 = l},${this._y1 = h}` : u > ke && this._append`A${n},${n},0,${+(u >= Ei)},${d},${this._x1 = t + n * Math.cos(a)},${this._y1 = e + n * Math.sin(a)}`);
788
+ this._x1 === null ? this._append`M${l},${h}` : (Math.abs(this._x1 - l) > ke || Math.abs(this._y1 - h) > ke) && this._append`L${l},${h}`, n && (u < 0 && (u = u % xi + xi), u > Jc ? this._append`A${n},${n},0,1,${d},${t - o},${e - c}A${n},${n},0,1,${d},${this._x1 = l},${this._y1 = h}` : u > ke && this._append`A${n},${n},0,${+(u >= Ei)},${d},${this._x1 = t + n * Math.cos(a)},${this._y1 = e + n * Math.sin(a)}`);
789
789
  }
790
790
  rect(t, e, n, s) {
791
791
  this._append`M${this._x0 = this._x1 = +t},${this._y0 = this._y1 = +e}h${n = +n}v${+s}h${-n}Z`;
@@ -798,7 +798,7 @@ function As() {
798
798
  return new Wi();
799
799
  }
800
800
  As.prototype = Wi.prototype;
801
- var vt = 1e-6, Qc = 1e-12, ht = Math.PI, Ft = ht / 2, za = ht / 4, Yt = ht * 2, Vt = 180 / ht, Ot = ht / 180, gt = Math.abs, go = Math.atan, Ne = Math.atan2, mt = Math.cos, tu = Math.exp, eu = Math.log, ft = Math.sin, Oe = Math.sign || function(i) {
801
+ var gt = 1e-6, go = 1e-12, ht = Math.PI, Ft = ht / 2, za = ht / 4, Yt = ht * 2, Vt = 180 / ht, Ot = ht / 180, mt = Math.abs, mo = Math.atan, Ne = Math.atan2, vt = Math.cos, tu = Math.exp, eu = Math.log, ft = Math.sin, Oe = Math.sign || function(i) {
802
802
  return i > 0 ? 1 : i < 0 ? -1 : 0;
803
803
  }, ae = Math.sqrt, nu = Math.tan;
804
804
  function su(i) {
@@ -855,17 +855,17 @@ function Wa(i, t) {
855
855
  for (t.polygonStart(); ++e < n; ) Si(i[e], t, 1);
856
856
  t.polygonEnd();
857
857
  }
858
- function qe(i, t) {
858
+ function je(i, t) {
859
859
  i && Ua.hasOwnProperty(i.type) ? Ua[i.type](i, t) : hs(i, t);
860
860
  }
861
861
  function bi(i) {
862
862
  return [Ne(i[1], i[0]), Se(i[2])];
863
863
  }
864
- function an(i) {
865
- var t = i[0], e = i[1], n = mt(e);
866
- return [n * mt(t), n * ft(t), ft(e)];
864
+ function rn(i) {
865
+ var t = i[0], e = i[1], n = vt(e);
866
+ return [n * vt(t), n * ft(t), ft(e)];
867
867
  }
868
- function Fn(i, t) {
868
+ function Wn(i, t) {
869
869
  return i[0] * t[0] + i[1] * t[1] + i[2] * t[2];
870
870
  }
871
871
  function ds(i, t) {
@@ -874,7 +874,7 @@ function ds(i, t) {
874
874
  function qs(i, t) {
875
875
  i[0] += t[0], i[1] += t[1], i[2] += t[2];
876
876
  }
877
- function Wn(i, t) {
877
+ function Xn(i, t) {
878
878
  return [i[0] * t, i[1] * t, i[2] * t];
879
879
  }
880
880
  function Ti(i) {
@@ -890,15 +890,15 @@ function Oi(i, t) {
890
890
  }), e;
891
891
  }
892
892
  function Li(i, t) {
893
- return gt(i) > ht && (i -= Math.round(i / Yt) * Yt), [i, t];
893
+ return mt(i) > ht && (i -= Math.round(i / Yt) * Yt), [i, t];
894
894
  }
895
895
  Li.invert = Li;
896
- function mo(i, t, e) {
896
+ function vo(i, t, e) {
897
897
  return (i %= Yt) ? t || e ? Oi(Ya(i), Za(t, e)) : Ya(i) : t || e ? Za(t, e) : Li;
898
898
  }
899
899
  function Xa(i) {
900
900
  return function(t, e) {
901
- return t += i, gt(t) > ht && (t -= Math.round(t / Yt) * Yt), [t, e];
901
+ return t += i, mt(t) > ht && (t -= Math.round(t / Yt) * Yt), [t, e];
902
902
  };
903
903
  }
904
904
  function Ya(i) {
@@ -906,16 +906,16 @@ function Ya(i) {
906
906
  return t.invert = Xa(-i), t;
907
907
  }
908
908
  function Za(i, t) {
909
- var e = mt(i), n = ft(i), s = mt(t), a = ft(t);
909
+ var e = vt(i), n = ft(i), s = vt(t), a = ft(t);
910
910
  function r(o, c) {
911
- var l = mt(c), h = mt(o) * l, d = ft(o) * l, u = ft(c), p = u * e + h * n;
911
+ var l = vt(c), h = vt(o) * l, d = ft(o) * l, u = ft(c), p = u * e + h * n;
912
912
  return [
913
913
  Ne(d * s - p * a, h * e - u * n),
914
914
  Se(p * s + d * a)
915
915
  ];
916
916
  }
917
917
  return r.invert = function(o, c) {
918
- var l = mt(c), h = mt(o) * l, d = ft(o) * l, u = ft(c), p = u * s - d * a;
918
+ var l = vt(c), h = vt(o) * l, d = ft(o) * l, u = ft(c), p = u * s - d * a;
919
919
  return [
920
920
  Ne(d * s + u * a, h * e + p * n),
921
921
  Se(p * e - h * n)
@@ -923,7 +923,7 @@ function Za(i, t) {
923
923
  }, r;
924
924
  }
925
925
  function iu(i) {
926
- i = mo(i[0] * Ot, i[1] * Ot, i.length > 2 ? i[2] * Ot : 0);
926
+ i = vo(i[0] * Ot, i[1] * Ot, i.length > 2 ? i[2] * Ot : 0);
927
927
  function t(e) {
928
928
  return e = i(e[0] * Ot, e[1] * Ot), e[0] *= Vt, e[1] *= Vt, e;
929
929
  }
@@ -933,18 +933,18 @@ function iu(i) {
933
933
  }
934
934
  function au(i, t, e, n, s, a) {
935
935
  if (e) {
936
- var r = mt(t), o = ft(t), c = n * e;
936
+ var r = vt(t), o = ft(t), c = n * e;
937
937
  s == null ? (s = t + n * Yt, a = t - c / 2) : (s = qa(r, s), a = qa(r, a), (n > 0 ? s < a : s > a) && (s += n * Yt));
938
938
  for (var l, h = s; n > 0 ? h > a : h < a; h -= c)
939
- l = bi([r, -o * mt(h), -o * ft(h)]), i.point(l[0], l[1]);
939
+ l = bi([r, -o * vt(h), -o * ft(h)]), i.point(l[0], l[1]);
940
940
  }
941
941
  }
942
942
  function qa(i, t) {
943
- t = an(t), t[0] -= i, Ti(t);
943
+ t = rn(t), t[0] -= i, Ti(t);
944
944
  var e = su(-t[1]);
945
- return ((-t[2] < 0 ? -e : e) + Yt - vt) % Yt;
945
+ return ((-t[2] < 0 ? -e : e) + Yt - gt) % Yt;
946
946
  }
947
- function vo() {
947
+ function yo() {
948
948
  var i = [], t;
949
949
  return {
950
950
  point: function(e, n, s) {
@@ -964,12 +964,12 @@ function vo() {
964
964
  };
965
965
  }
966
966
  function os(i, t) {
967
- return gt(i[0] - t[0]) < vt && gt(i[1] - t[1]) < vt;
967
+ return mt(i[0] - t[0]) < gt && mt(i[1] - t[1]) < gt;
968
968
  }
969
- function Xn(i, t, e, n) {
969
+ function Yn(i, t, e, n) {
970
970
  this.x = i, this.z = t, this.o = e, this.e = n, this.v = !1, this.n = this.p = null;
971
971
  }
972
- function yo(i, t, e, n, s) {
972
+ function Eo(i, t, e, n, s) {
973
973
  var a = [], r = [], o, c;
974
974
  if (i.forEach(function(f) {
975
975
  if (!((g = f.length - 1) <= 0)) {
@@ -980,9 +980,9 @@ function yo(i, t, e, n, s) {
980
980
  s.lineEnd();
981
981
  return;
982
982
  }
983
- v[0] += 2 * vt;
983
+ v[0] += 2 * gt;
984
984
  }
985
- a.push(S = new Xn(m, f, null, !0)), r.push(S.o = new Xn(m, null, S, !1)), a.push(S = new Xn(v, f, null, !1)), r.push(S.o = new Xn(v, null, S, !0));
985
+ a.push(S = new Yn(m, f, null, !0)), r.push(S.o = new Yn(m, null, S, !1)), a.push(S = new Yn(v, f, null, !1)), r.push(S.o = new Yn(v, null, S, !0));
986
986
  }
987
987
  }), !!a.length) {
988
988
  for (r.sort(t), ja(a), ja(r), o = 0, c = r.length; o < c; ++o)
@@ -1018,17 +1018,17 @@ function ja(i) {
1018
1018
  }
1019
1019
  }
1020
1020
  function js(i) {
1021
- return gt(i[0]) <= ht ? i[0] : Oe(i[0]) * ((gt(i[0]) + ht) % Yt - ht);
1021
+ return mt(i[0]) <= ht ? i[0] : Oe(i[0]) * ((mt(i[0]) + ht) % Yt - ht);
1022
1022
  }
1023
1023
  function ru(i, t) {
1024
- var e = js(t), n = t[1], s = ft(n), a = [ft(e), -mt(e), 0], r = 0, o = 0, c = new De();
1025
- s === 1 ? n = Ft + vt : s === -1 && (n = -Ft - vt);
1024
+ var e = js(t), n = t[1], s = ft(n), a = [ft(e), -vt(e), 0], r = 0, o = 0, c = new De();
1025
+ s === 1 ? n = Ft + gt : s === -1 && (n = -Ft - gt);
1026
1026
  for (var l = 0, h = i.length; l < h; ++l)
1027
1027
  if (u = (d = i[l]).length)
1028
- for (var d, u, p = d[u - 1], f = js(p), g = p[1] / 2 + za, m = ft(g), v = mt(g), S = 0; S < u; ++S, f = E, m = b, v = k, p = y) {
1029
- var y = d[S], E = js(y), x = y[1] / 2 + za, b = ft(x), k = mt(x), _ = E - f, G = _ >= 0 ? 1 : -1, R = G * _, A = R > ht, H = m * b;
1030
- if (c.add(Ne(H * G * ft(R), v * k + H * mt(R))), r += A ? _ + G * Yt : _, A ^ f >= e ^ E >= e) {
1031
- var N = ds(an(p), an(y));
1028
+ for (var d, u, p = d[u - 1], f = js(p), g = p[1] / 2 + za, m = ft(g), v = vt(g), S = 0; S < u; ++S, f = E, m = b, v = k, p = y) {
1029
+ var y = d[S], E = js(y), x = y[1] / 2 + za, b = ft(x), k = vt(x), _ = E - f, G = _ >= 0 ? 1 : -1, R = G * _, A = R > ht, H = m * b;
1030
+ if (c.add(Ne(H * G * ft(R), v * k + H * vt(R))), r += A ? _ + G * Yt : _, A ^ f >= e ^ E >= e) {
1031
+ var N = ds(rn(p), rn(y));
1032
1032
  Ti(N);
1033
1033
  var M = ds(a, N);
1034
1034
  Ti(M);
@@ -1036,11 +1036,11 @@ function ru(i, t) {
1036
1036
  (n > L || n === L && (N[0] || N[1])) && (o += A ^ _ >= 0 ? 1 : -1);
1037
1037
  }
1038
1038
  }
1039
- return (r < -1e-6 || r < vt && c < -1e-12) ^ o & 1;
1039
+ return (r < -gt || r < gt && c < -go) ^ o & 1;
1040
1040
  }
1041
- function Eo(i, t, e, n) {
1041
+ function xo(i, t, e, n) {
1042
1042
  return function(s) {
1043
- var a = t(s), r = vo(), o = t(r), c = !1, l, h, d, u = {
1043
+ var a = t(s), r = yo(), o = t(r), c = !1, l, h, d, u = {
1044
1044
  point: p,
1045
1045
  lineStart: g,
1046
1046
  lineEnd: m,
@@ -1050,7 +1050,7 @@ function Eo(i, t, e, n) {
1050
1050
  polygonEnd: function() {
1051
1051
  u.point = p, u.lineStart = g, u.lineEnd = m, h = uo(h);
1052
1052
  var E = ru(l, n);
1053
- h.length ? (c || (s.polygonStart(), c = !0), yo(h, lu, E, e, s)) : E && (c || (s.polygonStart(), c = !0), s.lineStart(), e(null, null, 1, s), s.lineEnd()), c && (s.polygonEnd(), c = !1), h = l = null;
1053
+ h.length ? (c || (s.polygonStart(), c = !0), Eo(h, lu, E, e, s)) : E && (c || (s.polygonStart(), c = !0), s.lineStart(), e(null, null, 1, s), s.lineEnd()), c && (s.polygonEnd(), c = !1), h = l = null;
1054
1054
  },
1055
1055
  sphere: function() {
1056
1056
  s.polygonStart(), s.lineStart(), e(null, null, 1, s), s.lineEnd(), s.polygonEnd();
@@ -1095,9 +1095,9 @@ function ou(i) {
1095
1095
  return i.length > 1;
1096
1096
  }
1097
1097
  function lu(i, t) {
1098
- return ((i = i.x)[0] < 0 ? i[1] - Ft - vt : Ft - i[1]) - ((t = t.x)[0] < 0 ? t[1] - Ft - vt : Ft - t[1]);
1098
+ return ((i = i.x)[0] < 0 ? i[1] - Ft - gt : Ft - i[1]) - ((t = t.x)[0] < 0 ? t[1] - Ft - gt : Ft - t[1]);
1099
1099
  }
1100
- const Ka = Eo(
1100
+ const Ka = xo(
1101
1101
  function() {
1102
1102
  return !0;
1103
1103
  },
@@ -1112,8 +1112,8 @@ function cu(i) {
1112
1112
  i.lineStart(), s = 1;
1113
1113
  },
1114
1114
  point: function(a, r) {
1115
- var o = a > 0 ? ht : -ht, c = gt(a - t);
1116
- gt(c - ht) < vt ? (i.point(t, e = (e + r) / 2 > 0 ? Ft : -Ft), i.point(n, e), i.lineEnd(), i.lineStart(), i.point(o, e), i.point(a, e), s = 0) : n !== o && c >= ht && (gt(t - n) < vt && (t -= n * vt), gt(a - o) < vt && (a -= o * vt), e = uu(t, e, a, r), i.point(n, e), i.lineEnd(), i.lineStart(), i.point(o, e), s = 0), i.point(t = a, e = r), n = o;
1115
+ var o = a > 0 ? ht : -ht, c = mt(a - t);
1116
+ mt(c - ht) < gt ? (i.point(t, e = (e + r) / 2 > 0 ? Ft : -Ft), i.point(n, e), i.lineEnd(), i.lineStart(), i.point(o, e), i.point(a, e), s = 0) : n !== o && c >= ht && (mt(t - n) < gt && (t -= n * gt), mt(a - o) < gt && (a -= o * gt), e = uu(t, e, a, r), i.point(n, e), i.lineEnd(), i.lineStart(), i.point(o, e), s = 0), i.point(t = a, e = r), n = o;
1117
1117
  },
1118
1118
  lineEnd: function() {
1119
1119
  i.lineEnd(), t = e = NaN;
@@ -1125,25 +1125,25 @@ function cu(i) {
1125
1125
  }
1126
1126
  function uu(i, t, e, n) {
1127
1127
  var s, a, r = ft(i - e);
1128
- return gt(r) > vt ? go((ft(t) * (a = mt(n)) * ft(e) - ft(n) * (s = mt(t)) * ft(i)) / (s * a * r)) : (t + n) / 2;
1128
+ return mt(r) > gt ? mo((ft(t) * (a = vt(n)) * ft(e) - ft(n) * (s = vt(t)) * ft(i)) / (s * a * r)) : (t + n) / 2;
1129
1129
  }
1130
1130
  function hu(i, t, e, n) {
1131
1131
  var s;
1132
1132
  if (i == null)
1133
1133
  s = e * Ft, n.point(-ht, s), n.point(0, s), n.point(ht, s), n.point(ht, 0), n.point(ht, -s), n.point(0, -s), n.point(-ht, -s), n.point(-ht, 0), n.point(-ht, s);
1134
- else if (gt(i[0] - t[0]) > vt) {
1134
+ else if (mt(i[0] - t[0]) > gt) {
1135
1135
  var a = i[0] < t[0] ? ht : -ht;
1136
1136
  s = e * a / 2, n.point(-a, s), n.point(0, s), n.point(a, s);
1137
1137
  } else
1138
1138
  n.point(t[0], t[1]);
1139
1139
  }
1140
1140
  function du(i) {
1141
- var t = mt(i), e = 2 * Ot, n = t > 0, s = gt(t) > vt;
1141
+ var t = vt(i), e = 2 * Ot, n = t > 0, s = mt(t) > gt;
1142
1142
  function a(h, d, u, p) {
1143
1143
  au(p, i, e, u, h, d);
1144
1144
  }
1145
1145
  function r(h, d) {
1146
- return mt(h) * mt(d) > t;
1146
+ return vt(h) * vt(d) > t;
1147
1147
  }
1148
1148
  function o(h) {
1149
1149
  var d, u, p, f, g;
@@ -1172,19 +1172,19 @@ function du(i) {
1172
1172
  };
1173
1173
  }
1174
1174
  function c(h, d, u) {
1175
- var p = an(h), f = an(d), g = [1, 0, 0], m = ds(p, f), v = Fn(m, m), S = m[0], y = v - S * S;
1175
+ var p = rn(h), f = rn(d), g = [1, 0, 0], m = ds(p, f), v = Wn(m, m), S = m[0], y = v - S * S;
1176
1176
  if (!y) return !u && h;
1177
- var E = t * v / y, x = -t * S / y, b = ds(g, m), k = Wn(g, E), _ = Wn(m, x);
1177
+ var E = t * v / y, x = -t * S / y, b = ds(g, m), k = Xn(g, E), _ = Xn(m, x);
1178
1178
  qs(k, _);
1179
- var G = b, R = Fn(k, G), A = Fn(G, G), H = R * R - A * (Fn(k, k) - 1);
1179
+ var G = b, R = Wn(k, G), A = Wn(G, G), H = R * R - A * (Wn(k, k) - 1);
1180
1180
  if (!(H < 0)) {
1181
- var N = ae(H), M = Wn(G, (-R - N) / A);
1181
+ var N = ae(H), M = Xn(G, (-R - N) / A);
1182
1182
  if (qs(M, k), M = bi(M), !u) return M;
1183
1183
  var L = h[0], P = d[0], $ = h[1], C = d[1], V;
1184
1184
  P < L && (V = L, L = P, P = V);
1185
- var q = P - L, X = gt(q - ht) < vt, F = X || q < vt;
1186
- if (!X && C < $ && (V = $, $ = C, C = V), F ? X ? $ + C > 0 ^ M[1] < (gt(M[0] - L) < vt ? $ : C) : $ <= M[1] && M[1] <= C : q > ht ^ (L <= M[0] && M[0] <= P)) {
1187
- var Z = Wn(G, (-R + N) / A);
1185
+ var q = P - L, X = mt(q - ht) < gt, F = X || q < gt;
1186
+ if (!X && C < $ && (V = $, $ = C, C = V), F ? X ? $ + C > 0 ^ M[1] < (mt(M[0] - L) < gt ? $ : C) : $ <= M[1] && M[1] <= C : q > ht ^ (L <= M[0] && M[0] <= P)) {
1187
+ var Z = Xn(G, (-R + N) / A);
1188
1188
  return qs(Z, k), [M, bi(Z)];
1189
1189
  }
1190
1190
  }
@@ -1193,7 +1193,7 @@ function du(i) {
1193
1193
  var u = n ? i : ht - i, p = 0;
1194
1194
  return h < -u ? p |= 1 : h > u && (p |= 2), d < -u ? p |= 4 : d > u && (p |= 8), p;
1195
1195
  }
1196
- return Eo(r, o, a, n ? [0, -i] : [-ht, i - ht]);
1196
+ return xo(r, o, a, n ? [0, -i] : [-ht, i - ht]);
1197
1197
  }
1198
1198
  function pu(i, t, e, n, s, a) {
1199
1199
  var r = i[0], o = i[1], c = t[0], l = t[1], h = 0, d = 1, u = c - r, p = l - o, f;
@@ -1235,7 +1235,7 @@ function pu(i, t, e, n, s, a) {
1235
1235
  }
1236
1236
  }
1237
1237
  }
1238
- var Yn = 1e9, Zn = -1e9;
1238
+ var xn = 1e9, Zn = -xn;
1239
1239
  function fu(i, t, e, n) {
1240
1240
  function s(l, h) {
1241
1241
  return i <= l && l <= e && t <= h && h <= n;
@@ -1250,7 +1250,7 @@ function fu(i, t, e, n) {
1250
1250
  u.point(h[0], h[1]);
1251
1251
  }
1252
1252
  function r(l, h) {
1253
- return gt(l[0] - i) < vt ? h > 0 ? 0 : 3 : gt(l[0] - e) < vt ? h > 0 ? 2 : 1 : gt(l[1] - t) < vt ? h > 0 ? 1 : 0 : h > 0 ? 3 : 2;
1253
+ return mt(l[0] - i) < gt ? h > 0 ? 0 : 3 : mt(l[0] - e) < gt ? h > 0 ? 2 : 1 : mt(l[1] - t) < gt ? h > 0 ? 1 : 0 : h > 0 ? 3 : 2;
1254
1254
  }
1255
1255
  function o(l, h) {
1256
1256
  return c(l.x, h.x);
@@ -1260,7 +1260,7 @@ function fu(i, t, e, n) {
1260
1260
  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];
1261
1261
  }
1262
1262
  return function(l) {
1263
- var h = l, d = vo(), u, p, f, g, m, v, S, y, E, x, b, k = {
1263
+ var h = l, d = yo(), u, p, f, g, m, v, S, y, E, x, b, k = {
1264
1264
  point: _,
1265
1265
  lineStart: H,
1266
1266
  lineEnd: N,
@@ -1281,7 +1281,7 @@ function fu(i, t, e, n) {
1281
1281
  }
1282
1282
  function A() {
1283
1283
  var L = G(), P = b && L, $ = (u = uo(u)).length;
1284
- (P || $) && (l.polygonStart(), P && (l.lineStart(), a(null, null, 1, l), l.lineEnd()), $ && yo(u, o, L, a, l), l.polygonEnd()), h = l, u = p = f = null;
1284
+ (P || $) && (l.polygonStart(), P && (l.lineStart(), a(null, null, 1, l), l.lineEnd()), $ && Eo(u, o, L, a, l), l.polygonEnd()), h = l, u = p = f = null;
1285
1285
  }
1286
1286
  function H() {
1287
1287
  k.point = M, p && p.push(f = []), x = !0, E = !1, S = y = NaN;
@@ -1295,7 +1295,7 @@ function fu(i, t, e, n) {
1295
1295
  g = L, m = P, v = $, x = !1, $ && (h.lineStart(), h.point(L, P));
1296
1296
  else if ($ && E) h.point(L, P);
1297
1297
  else {
1298
- var C = [S = Math.max(Zn, Math.min(Yn, S)), y = Math.max(Zn, Math.min(Yn, y))], V = [L = Math.max(Zn, Math.min(Yn, L)), P = Math.max(Zn, Math.min(Yn, P))];
1298
+ var C = [S = Math.max(Zn, Math.min(xn, S)), y = Math.max(Zn, Math.min(xn, y))], V = [L = Math.max(Zn, Math.min(xn, L)), P = Math.max(Zn, Math.min(xn, P))];
1299
1299
  pu(C, V, i, t, e, n) ? (E || (h.lineStart(), h.point(C[0], C[1])), h.point(V[0], V[1]), $ || h.lineEnd(), b = !1) : $ && (h.lineStart(), h.point(L, P), b = !1);
1300
1300
  }
1301
1301
  S = L, y = P, E = $;
@@ -1304,7 +1304,7 @@ function fu(i, t, e, n) {
1304
1304
  };
1305
1305
  }
1306
1306
  const Ai = (i) => i;
1307
- var Ks = new De(), Mi = new De(), xo, So, wi, Ci, Ee = {
1307
+ var Ks = new De(), Mi = new De(), So, bo, wi, Ci, Ee = {
1308
1308
  point: Qt,
1309
1309
  lineStart: Qt,
1310
1310
  lineEnd: Qt,
@@ -1312,7 +1312,7 @@ var Ks = new De(), Mi = new De(), xo, So, wi, Ci, Ee = {
1312
1312
  Ee.lineStart = gu, Ee.lineEnd = vu;
1313
1313
  },
1314
1314
  polygonEnd: function() {
1315
- Ee.lineStart = Ee.lineEnd = Ee.point = Qt, Ks.add(gt(Mi)), Mi = new De();
1315
+ Ee.lineStart = Ee.lineEnd = Ee.point = Qt, Ks.add(mt(Mi)), Mi = new De();
1316
1316
  },
1317
1317
  result: function() {
1318
1318
  var i = Ks / 2;
@@ -1323,29 +1323,29 @@ function gu() {
1323
1323
  Ee.point = mu;
1324
1324
  }
1325
1325
  function mu(i, t) {
1326
- Ee.point = bo, xo = wi = i, So = Ci = t;
1326
+ Ee.point = To, So = wi = i, bo = Ci = t;
1327
1327
  }
1328
- function bo(i, t) {
1328
+ function To(i, t) {
1329
1329
  Mi.add(Ci * i - wi * t), wi = i, Ci = t;
1330
1330
  }
1331
1331
  function vu() {
1332
- bo(xo, So);
1332
+ To(So, bo);
1333
1333
  }
1334
- var rn = 1 / 0, ps = rn, kn = -rn, fs = kn, gs = {
1334
+ var on = 1 / 0, ps = on, _n = -on, fs = _n, gs = {
1335
1335
  point: yu,
1336
1336
  lineStart: Qt,
1337
1337
  lineEnd: Qt,
1338
1338
  polygonStart: Qt,
1339
1339
  polygonEnd: Qt,
1340
1340
  result: function() {
1341
- var i = [[rn, ps], [kn, fs]];
1342
- return kn = fs = -(ps = rn = 1 / 0), i;
1341
+ var i = [[on, ps], [_n, fs]];
1342
+ return _n = fs = -(ps = on = 1 / 0), i;
1343
1343
  }
1344
1344
  };
1345
1345
  function yu(i, t) {
1346
- i < rn && (rn = i), i > kn && (kn = i), t < ps && (ps = t), t > fs && (fs = t);
1346
+ i < on && (on = i), i > _n && (_n = i), t < ps && (ps = t), t > fs && (fs = t);
1347
1347
  }
1348
- var ki = 0, _i = 0, xn = 0, ms = 0, vs = 0, tn = 0, Ii = 0, Ri = 0, Sn = 0, To, Oo, le, ce, Jt = {
1348
+ var ki = 0, _i = 0, Sn = 0, ms = 0, vs = 0, en = 0, Ii = 0, Ri = 0, bn = 0, Oo, Lo, le, ce, Jt = {
1349
1349
  point: Pe,
1350
1350
  lineStart: Ja,
1351
1351
  lineEnd: Qa,
@@ -1356,12 +1356,12 @@ var ki = 0, _i = 0, xn = 0, ms = 0, vs = 0, tn = 0, Ii = 0, Ri = 0, Sn = 0, To,
1356
1356
  Jt.point = Pe, Jt.lineStart = Ja, Jt.lineEnd = Qa;
1357
1357
  },
1358
1358
  result: function() {
1359
- var i = Sn ? [Ii / Sn, Ri / Sn] : tn ? [ms / tn, vs / tn] : xn ? [ki / xn, _i / xn] : [NaN, NaN];
1360
- return ki = _i = xn = ms = vs = tn = Ii = Ri = Sn = 0, i;
1359
+ var i = bn ? [Ii / bn, Ri / bn] : en ? [ms / en, vs / en] : Sn ? [ki / Sn, _i / Sn] : [NaN, NaN];
1360
+ return ki = _i = Sn = ms = vs = en = Ii = Ri = bn = 0, i;
1361
1361
  }
1362
1362
  };
1363
1363
  function Pe(i, t) {
1364
- ki += i, _i += t, ++xn;
1364
+ ki += i, _i += t, ++Sn;
1365
1365
  }
1366
1366
  function Ja() {
1367
1367
  Jt.point = Eu;
@@ -1371,7 +1371,7 @@ function Eu(i, t) {
1371
1371
  }
1372
1372
  function xu(i, t) {
1373
1373
  var e = i - le, n = t - ce, s = ae(e * e + n * n);
1374
- ms += s * (le + i) / 2, vs += s * (ce + t) / 2, tn += s, Pe(le = i, ce = t);
1374
+ ms += s * (le + i) / 2, vs += s * (ce + t) / 2, en += s, Pe(le = i, ce = t);
1375
1375
  }
1376
1376
  function Qa() {
1377
1377
  Jt.point = Pe;
@@ -1380,19 +1380,19 @@ function Su() {
1380
1380
  Jt.point = Tu;
1381
1381
  }
1382
1382
  function bu() {
1383
- Lo(To, Oo);
1383
+ Ao(Oo, Lo);
1384
1384
  }
1385
1385
  function Tu(i, t) {
1386
- Jt.point = Lo, Pe(To = le = i, Oo = ce = t);
1386
+ Jt.point = Ao, Pe(Oo = le = i, Lo = ce = t);
1387
1387
  }
1388
- function Lo(i, t) {
1388
+ function Ao(i, t) {
1389
1389
  var e = i - le, n = t - ce, s = ae(e * e + n * n);
1390
- ms += s * (le + i) / 2, vs += s * (ce + t) / 2, tn += s, s = ce * i - le * t, Ii += s * (le + i), Ri += s * (ce + t), Sn += s * 3, Pe(le = i, ce = t);
1390
+ ms += s * (le + i) / 2, vs += s * (ce + t) / 2, en += s, s = ce * i - le * t, Ii += s * (le + i), Ri += s * (ce + t), bn += s * 3, Pe(le = i, ce = t);
1391
1391
  }
1392
- function Ao(i) {
1392
+ function Mo(i) {
1393
1393
  this._context = i;
1394
1394
  }
1395
- Ao.prototype = {
1395
+ Mo.prototype = {
1396
1396
  _radius: 4.5,
1397
1397
  pointRadius: function(i) {
1398
1398
  return this._radius = i, this;
@@ -1427,13 +1427,13 @@ Ao.prototype = {
1427
1427
  },
1428
1428
  result: Qt
1429
1429
  };
1430
- var Di = new De(), Js, Mo, wo, bn, Tn, _n = {
1430
+ var Di = new De(), Js, wo, Co, Tn, On, In = {
1431
1431
  point: Qt,
1432
1432
  lineStart: function() {
1433
- _n.point = Ou;
1433
+ In.point = Ou;
1434
1434
  },
1435
1435
  lineEnd: function() {
1436
- Js && Co(Mo, wo), _n.point = Qt;
1436
+ Js && ko(wo, Co), In.point = Qt;
1437
1437
  },
1438
1438
  polygonStart: function() {
1439
1439
  Js = !0;
@@ -1447,15 +1447,15 @@ var Di = new De(), Js, Mo, wo, bn, Tn, _n = {
1447
1447
  }
1448
1448
  };
1449
1449
  function Ou(i, t) {
1450
- _n.point = Co, Mo = bn = i, wo = Tn = t;
1450
+ In.point = ko, wo = Tn = i, Co = On = t;
1451
1451
  }
1452
- function Co(i, t) {
1453
- bn -= i, Tn -= t, Di.add(ae(bn * bn + Tn * Tn)), bn = i, Tn = t;
1452
+ function ko(i, t) {
1453
+ Tn -= i, On -= t, Di.add(ae(Tn * Tn + On * On)), Tn = i, On = t;
1454
1454
  }
1455
1455
  let tr, ys, er, nr;
1456
1456
  class sr {
1457
1457
  constructor(t) {
1458
- this._append = t == null ? ko : Lu(t), this._radius = 4.5, this._ = "";
1458
+ this._append = t == null ? _o : Lu(t), this._radius = 4.5, this._ = "";
1459
1459
  }
1460
1460
  pointRadius(t) {
1461
1461
  return this._radius = +t, this;
@@ -1497,7 +1497,7 @@ class sr {
1497
1497
  return this._ = "", t.length ? t : null;
1498
1498
  }
1499
1499
  }
1500
- function ko(i) {
1500
+ function _o(i) {
1501
1501
  let t = 1;
1502
1502
  this._ += i[0];
1503
1503
  for (const e = i.length; t < e; ++t)
@@ -1506,7 +1506,7 @@ function ko(i) {
1506
1506
  function Lu(i) {
1507
1507
  const t = Math.floor(i);
1508
1508
  if (!(t >= 0)) throw new RangeError(`invalid digits: ${i}`);
1509
- if (t > 15) return ko;
1509
+ if (t > 15) return _o;
1510
1510
  if (t !== tr) {
1511
1511
  const e = 10 ** t;
1512
1512
  tr = t, ys = function(s) {
@@ -1521,20 +1521,20 @@ function Lu(i) {
1521
1521
  function Au(i, t) {
1522
1522
  let e = 3, n = 4.5, s, a;
1523
1523
  function r(o) {
1524
- return o && (typeof n == "function" && a.pointRadius(+n.apply(this, arguments)), qe(o, s(a))), a.result();
1524
+ return o && (typeof n == "function" && a.pointRadius(+n.apply(this, arguments)), je(o, s(a))), a.result();
1525
1525
  }
1526
1526
  return r.area = function(o) {
1527
- return qe(o, s(Ee)), Ee.result();
1527
+ return je(o, s(Ee)), Ee.result();
1528
1528
  }, r.measure = function(o) {
1529
- return qe(o, s(_n)), _n.result();
1529
+ return je(o, s(In)), In.result();
1530
1530
  }, r.bounds = function(o) {
1531
- return qe(o, s(gs)), gs.result();
1531
+ return je(o, s(gs)), gs.result();
1532
1532
  }, r.centroid = function(o) {
1533
- return qe(o, s(Jt)), Jt.result();
1533
+ return je(o, s(Jt)), Jt.result();
1534
1534
  }, r.projection = function(o) {
1535
1535
  return arguments.length ? (s = o == null ? (i = null, Ai) : (i = o).stream, r) : i;
1536
1536
  }, r.context = function(o) {
1537
- return arguments.length ? (a = o == null ? (t = null, new sr(e)) : new Ao(t = o), typeof n != "function" && a.pointRadius(n), r) : t;
1537
+ return arguments.length ? (a = o == null ? (t = null, new sr(e)) : new Mo(t = o), typeof n != "function" && a.pointRadius(n), r) : t;
1538
1538
  }, r.pointRadius = function(o) {
1539
1539
  return arguments.length ? (n = typeof o == "function" ? o : (a.pointRadius(+o), +o), r) : n;
1540
1540
  }, r.digits = function(o) {
@@ -1580,16 +1580,16 @@ Ni.prototype = {
1580
1580
  };
1581
1581
  function Yi(i, t, e) {
1582
1582
  var n = i.clipExtent && i.clipExtent();
1583
- return i.scale(150).translate([0, 0]), n != null && i.clipExtent(null), qe(e, i.stream(gs)), t(gs.result()), n != null && i.clipExtent(n), i;
1583
+ return i.scale(150).translate([0, 0]), n != null && i.clipExtent(null), je(e, i.stream(gs)), t(gs.result()), n != null && i.clipExtent(n), i;
1584
1584
  }
1585
- function _o(i, t, e) {
1585
+ function Io(i, t, e) {
1586
1586
  return Yi(i, function(n) {
1587
1587
  var s = t[1][0] - t[0][0], a = t[1][1] - t[0][1], r = Math.min(s / (n[1][0] - n[0][0]), a / (n[1][1] - n[0][1])), o = +t[0][0] + (s - r * (n[1][0] + n[0][0])) / 2, c = +t[0][1] + (a - r * (n[1][1] + n[0][1])) / 2;
1588
1588
  i.scale(150 * r).translate([o, c]);
1589
1589
  }, e);
1590
1590
  }
1591
1591
  function Mu(i, t, e) {
1592
- return _o(i, [[0, 0], t], e);
1592
+ return Io(i, [[0, 0], t], e);
1593
1593
  }
1594
1594
  function wu(i, t, e) {
1595
1595
  return Yi(i, function(n) {
@@ -1603,7 +1603,7 @@ function Cu(i, t, e) {
1603
1603
  i.scale(150 * a).translate([r, o]);
1604
1604
  }, e);
1605
1605
  }
1606
- var ir = 16, ku = mt(30 * Ot);
1606
+ var ir = 16, ku = vt(30 * Ot);
1607
1607
  function ar(i, t) {
1608
1608
  return +t ? Iu(i, t) : _u(i);
1609
1609
  }
@@ -1618,8 +1618,8 @@ function Iu(i, t) {
1618
1618
  function e(n, s, a, r, o, c, l, h, d, u, p, f, g, m) {
1619
1619
  var v = l - n, S = h - s, y = v * v + S * S;
1620
1620
  if (y > 4 * t && g--) {
1621
- var E = r + u, x = o + p, b = c + f, k = ae(E * E + x * x + b * b), _ = Se(b /= k), G = gt(gt(b) - 1) < vt || gt(a - d) < vt ? (a + d) / 2 : Ne(x, E), R = i(G, _), A = R[0], H = R[1], N = A - n, M = H - s, L = S * N - v * M;
1622
- (L * L / y > t || gt((v * N + S * M) / y - 0.5) > 0.3 || r * u + o * p + c * f < ku) && (e(n, s, a, r, o, c, A, H, G, E /= k, x /= k, b, g, m), m.point(A, H), e(A, H, G, E, x, b, l, h, d, u, p, f, g, m));
1621
+ var E = r + u, x = o + p, b = c + f, k = ae(E * E + x * x + b * b), _ = Se(b /= k), G = mt(mt(b) - 1) < gt || mt(a - d) < gt ? (a + d) / 2 : Ne(x, E), R = i(G, _), A = R[0], H = R[1], N = A - n, M = H - s, L = S * N - v * M;
1622
+ (L * L / y > t || mt((v * N + S * M) / y - 0.5) > 0.3 || r * u + o * p + c * f < ku) && (e(n, s, a, r, o, c, A, H, G, E /= k, x /= k, b, g, m), m.point(A, H), e(A, H, G, E, x, b, l, h, d, u, p, f, g, m));
1623
1623
  }
1624
1624
  }
1625
1625
  return function(n) {
@@ -1641,7 +1641,7 @@ function Iu(i, t) {
1641
1641
  d = NaN, m.point = y, n.lineStart();
1642
1642
  }
1643
1643
  function y(_, G) {
1644
- var R = an([_, G]), A = i(_, G);
1644
+ var R = rn([_, G]), A = i(_, G);
1645
1645
  e(d, u, h, p, f, g, d = A[0], u = A[1], h = _, p = R[0], f = R[1], g = R[2], ir, n), n.point(d, u);
1646
1646
  }
1647
1647
  function E() {
@@ -1682,7 +1682,7 @@ function Nu(i, t, e, n, s) {
1682
1682
  }
1683
1683
  function rr(i, t, e, n, s, a) {
1684
1684
  if (!a) return Nu(i, t, e, n, s);
1685
- var r = mt(a), o = ft(a), c = r * i, l = o * i, h = r / i, d = o / i, u = (o * e - r * t) / i, p = (o * t + r * e) / i;
1685
+ var r = vt(a), o = ft(a), c = r * i, l = o * i, h = r / i, d = o / i, u = (o * e - r * t) / i, p = (o * t + r * e) / i;
1686
1686
  function f(g, m) {
1687
1687
  return g *= n, m *= s, [c * g - l * m + t, e - l * g - c * m];
1688
1688
  }
@@ -1691,11 +1691,11 @@ function rr(i, t, e, n, s, a) {
1691
1691
  }, f;
1692
1692
  }
1693
1693
  function Ms(i) {
1694
- return Io(function() {
1694
+ return Ro(function() {
1695
1695
  return i;
1696
1696
  })();
1697
1697
  }
1698
- function Io(i) {
1698
+ function Ro(i) {
1699
1699
  var t, e = 150, n = 480, s = 250, a = 0, r = 0, o = 0, c = 0, l = 0, h, d = 0, u = 1, p = 1, f = null, g = Ka, m = null, v, S, y, E = Ai, x = 0.5, b, k, _, G, R;
1700
1700
  function A(L) {
1701
1701
  return _(L[0] * Ot, L[1] * Ot);
@@ -1730,7 +1730,7 @@ function Io(i) {
1730
1730
  }, A.precision = function(L) {
1731
1731
  return arguments.length ? (b = ar(k, x = L * L), M()) : ae(x);
1732
1732
  }, A.fitExtent = function(L, P) {
1733
- return _o(A, L, P);
1733
+ return Io(A, L, P);
1734
1734
  }, A.fitSize = function(L, P) {
1735
1735
  return Mu(A, L, P);
1736
1736
  }, A.fitWidth = function(L, P) {
@@ -1740,7 +1740,7 @@ function Io(i) {
1740
1740
  };
1741
1741
  function N() {
1742
1742
  var L = rr(e, 0, 0, u, p, d).apply(null, t(a, r)), P = rr(e, n - L[0], s - L[1], u, p, d);
1743
- return h = mo(o, c, l), k = Oi(t, P), _ = Oi(h, k), b = ar(k, x), M();
1743
+ return h = vo(o, c, l), k = Oi(t, P), _ = Oi(h, k), b = ar(k, x), M();
1744
1744
  }
1745
1745
  function M() {
1746
1746
  return G = R = null, A;
@@ -1749,14 +1749,14 @@ function Io(i) {
1749
1749
  return t = i.apply(this, arguments), A.invert = t.invert && H, N();
1750
1750
  };
1751
1751
  }
1752
- function Ro(i) {
1753
- var t = 0, e = ht / 3, n = Io(i), s = n(t, e);
1752
+ function Do(i) {
1753
+ var t = 0, e = ht / 3, n = Ro(i), s = n(t, e);
1754
1754
  return s.parallels = function(a) {
1755
1755
  return arguments.length ? n(t = a[0] * Ot, e = a[1] * Ot) : [t * Vt, e * Vt];
1756
1756
  }, s;
1757
1757
  }
1758
1758
  function Pu(i) {
1759
- var t = mt(i);
1759
+ var t = vt(i);
1760
1760
  function e(n, s) {
1761
1761
  return [n * t, ft(s) / t];
1762
1762
  }
@@ -1766,28 +1766,28 @@ function Pu(i) {
1766
1766
  }
1767
1767
  function $u(i, t) {
1768
1768
  var e = ft(i), n = (e + ft(t)) / 2;
1769
- if (gt(n) < vt) return Pu(i);
1769
+ if (mt(n) < gt) return Pu(i);
1770
1770
  var s = 1 + e * (2 * n - e), a = ae(s) / n;
1771
1771
  function r(o, c) {
1772
1772
  var l = ae(s - 2 * n * ft(c)) / n;
1773
- return [l * ft(o *= n), a - l * mt(o)];
1773
+ return [l * ft(o *= n), a - l * vt(o)];
1774
1774
  }
1775
1775
  return r.invert = function(o, c) {
1776
- var l = a - c, h = Ne(o, gt(l)) * Oe(l);
1776
+ var l = a - c, h = Ne(o, mt(l)) * Oe(l);
1777
1777
  return l * n < 0 && (h -= ht * Oe(o) * Oe(l)), [h / n, Se((s - (o * o + l * l) * n * n) / (2 * n))];
1778
1778
  }, r;
1779
1779
  }
1780
- function Do() {
1781
- return Ro($u).scale(155.424).center([0, 33.6442]);
1780
+ function No() {
1781
+ return Do($u).scale(155.424).center([0, 33.6442]);
1782
1782
  }
1783
1783
  function Vu() {
1784
- return Do().parallels([29.5, 45.5]).scale(1070).translate([480, 250]).rotate([96, 0]).center([-0.6, 38.7]);
1784
+ return No().parallels([29.5, 45.5]).scale(1070).translate([480, 250]).rotate([96, 0]).center([-0.6, 38.7]);
1785
1785
  }
1786
1786
  function Zi(i, t) {
1787
1787
  return [i, eu(nu((Ft + t) / 2))];
1788
1788
  }
1789
1789
  Zi.invert = function(i, t) {
1790
- return [i, 2 * go(tu(t)) - Ft];
1790
+ return [i, 2 * mo(tu(t)) - Ft];
1791
1791
  };
1792
1792
  function Gu() {
1793
1793
  return Hu(Zi).scale(961 / Yt);
@@ -1817,59 +1817,59 @@ function Bu() {
1817
1817
  return Ms(Es).scale(152.63);
1818
1818
  }
1819
1819
  function zu(i, t) {
1820
- var e = mt(i), n = i === t ? ft(i) : (e - mt(t)) / (t - i), s = e / n + i;
1821
- if (gt(n) < vt) return Es;
1820
+ var e = vt(i), n = i === t ? ft(i) : (e - vt(t)) / (t - i), s = e / n + i;
1821
+ if (mt(n) < gt) return Es;
1822
1822
  function a(r, o) {
1823
1823
  var c = s - o, l = n * r;
1824
- return [c * ft(l), s - c * mt(l)];
1824
+ return [c * ft(l), s - c * vt(l)];
1825
1825
  }
1826
1826
  return a.invert = function(r, o) {
1827
- var c = s - o, l = Ne(r, gt(c)) * Oe(c);
1827
+ var c = s - o, l = Ne(r, mt(c)) * Oe(c);
1828
1828
  return c * n < 0 && (l -= ht * Oe(r) * Oe(c)), [l / n, s - Oe(n) * ae(r * r + c * c)];
1829
1829
  }, a;
1830
1830
  }
1831
1831
  function Uu() {
1832
- return Ro(zu).scale(131.154).center([0, 13.9389]);
1832
+ return Do(zu).scale(131.154).center([0, 13.9389]);
1833
1833
  }
1834
- var Ln = 1.340264, An = -0.081106, Mn = 893e-6, wn = 3796e-6, xs = ae(3) / 2, Fu = 12;
1835
- function No(i, t) {
1834
+ var An = 1.340264, Mn = -0.081106, wn = 893e-6, Cn = 3796e-6, xs = ae(3) / 2, Fu = 12;
1835
+ function Po(i, t) {
1836
1836
  var e = Se(xs * ft(t)), n = e * e, s = n * n * n;
1837
1837
  return [
1838
- i * mt(e) / (xs * (Ln + 3 * An * n + s * (7 * Mn + 9 * wn * n))),
1839
- e * (Ln + An * n + s * (Mn + wn * n))
1838
+ i * vt(e) / (xs * (An + 3 * Mn * n + s * (7 * wn + 9 * Cn * n))),
1839
+ e * (An + Mn * n + s * (wn + Cn * n))
1840
1840
  ];
1841
1841
  }
1842
- No.invert = function(i, t) {
1843
- for (var e = t, n = e * e, s = n * n * n, a = 0, r, o, c; a < Fu && (o = e * (Ln + An * n + s * (Mn + wn * n)) - t, c = Ln + 3 * An * n + s * (7 * Mn + 9 * wn * n), e -= r = o / c, n = e * e, s = n * n * n, !(gt(r) < Qc)); ++a)
1842
+ Po.invert = function(i, t) {
1843
+ for (var e = t, n = e * e, s = n * n * n, a = 0, r, o, c; a < Fu && (o = e * (An + Mn * n + s * (wn + Cn * n)) - t, c = An + 3 * Mn * n + s * (7 * wn + 9 * Cn * n), e -= r = o / c, n = e * e, s = n * n * n, !(mt(r) < go)); ++a)
1844
1844
  ;
1845
1845
  return [
1846
- xs * i * (Ln + 3 * An * n + s * (7 * Mn + 9 * wn * n)) / mt(e),
1846
+ xs * i * (An + 3 * Mn * n + s * (7 * wn + 9 * Cn * n)) / vt(e),
1847
1847
  Se(ft(e) / xs)
1848
1848
  ];
1849
1849
  };
1850
1850
  function Wu() {
1851
- return Ms(No).scale(177.158);
1851
+ return Ms(Po).scale(177.158);
1852
1852
  }
1853
- function Po(i, t) {
1853
+ function $o(i, t) {
1854
1854
  var e = t * t, n = e * e;
1855
1855
  return [
1856
1856
  i * (0.8707 - 0.131979 * e + n * (-0.013791 + n * (3971e-6 * e - 1529e-6 * n))),
1857
1857
  t * (1.007226 + e * (0.015085 + n * (-0.044475 + 0.028874 * e - 5916e-6 * n)))
1858
1858
  ];
1859
1859
  }
1860
- Po.invert = function(i, t) {
1860
+ $o.invert = function(i, t) {
1861
1861
  var e = t, n = 25, s;
1862
1862
  do {
1863
1863
  var a = e * e, r = a * a;
1864
1864
  e -= s = (e * (1.007226 + a * (0.015085 + r * (-0.044475 + 0.028874 * a - 5916e-6 * r))) - t) / (1.007226 + a * (0.015085 * 3 + r * (-0.044475 * 7 + 0.028874 * 9 * a - 5916e-6 * 11 * r)));
1865
- } while (gt(s) > vt && --n > 0);
1865
+ } while (mt(s) > gt && --n > 0);
1866
1866
  return [
1867
1867
  i / (0.8707 + (a = e * e) * (-0.131979 + a * (-0.013791 + a * a * a * (3971e-6 - 1529e-6 * a)))),
1868
1868
  e
1869
1869
  ];
1870
1870
  };
1871
1871
  function Xu() {
1872
- return Ms(Po).scale(175.295);
1872
+ return Ms($o).scale(175.295);
1873
1873
  }
1874
1874
  function Yu(i, t) {
1875
1875
  return i.parent === t.parent ? 1 : 2;
@@ -2008,16 +2008,16 @@ function* gh() {
2008
2008
  e.push(n[s]);
2009
2009
  while (e.length);
2010
2010
  }
2011
- function Dn(i, t) {
2011
+ function Nn(i, t) {
2012
2012
  i instanceof Map ? (i = [void 0, i], t === void 0 && (t = yh)) : t === void 0 && (t = vh);
2013
- for (var e = new In(i), n, s = [e], a, r, o, c; n = s.pop(); )
2013
+ for (var e = new Rn(i), n, s = [e], a, r, o, c; n = s.pop(); )
2014
2014
  if ((r = t(n.data)) && (c = (r = Array.from(r)).length))
2015
2015
  for (n.children = r, o = c - 1; o >= 0; --o)
2016
- s.push(a = r[o] = new In(r[o])), a.parent = n, a.depth = n.depth + 1;
2016
+ s.push(a = r[o] = new Rn(r[o])), a.parent = n, a.depth = n.depth + 1;
2017
2017
  return e.eachBefore(xh);
2018
2018
  }
2019
2019
  function mh() {
2020
- return Dn(this).eachBefore(Eh);
2020
+ return Nn(this).eachBefore(Eh);
2021
2021
  }
2022
2022
  function vh(i) {
2023
2023
  return i.children;
@@ -2034,11 +2034,11 @@ function xh(i) {
2034
2034
  i.height = t;
2035
2035
  while ((i = i.parent) && i.height < ++t);
2036
2036
  }
2037
- function In(i) {
2037
+ function Rn(i) {
2038
2038
  this.data = i, this.depth = this.height = 0, this.parent = null;
2039
2039
  }
2040
- In.prototype = Dn.prototype = {
2041
- constructor: In,
2040
+ Rn.prototype = Nn.prototype = {
2041
+ constructor: Rn,
2042
2042
  count: nh,
2043
2043
  each: sh,
2044
2044
  eachAfter: ah,
@@ -2055,16 +2055,16 @@ In.prototype = Dn.prototype = {
2055
2055
  [Symbol.iterator]: gh
2056
2056
  };
2057
2057
  function Sh(i) {
2058
- return i == null ? null : $o(i);
2058
+ return i == null ? null : Vo(i);
2059
2059
  }
2060
- function $o(i) {
2060
+ function Vo(i) {
2061
2061
  if (typeof i != "function") throw new Error();
2062
2062
  return i;
2063
2063
  }
2064
2064
  function Ie() {
2065
2065
  return 0;
2066
2066
  }
2067
- function je(i) {
2067
+ function Ke(i) {
2068
2068
  return function() {
2069
2069
  return i;
2070
2070
  };
@@ -2085,18 +2085,18 @@ function Ah(i, t) {
2085
2085
  }
2086
2086
  function Mh(i, t) {
2087
2087
  for (var e = 0, n = (i = Ah(Array.from(i), t)).length, s = [], a, r; e < n; )
2088
- a = i[e], r && Vo(r, a) ? ++e : (r = Ch(s = wh(s, a)), e = 0);
2088
+ a = i[e], r && Go(r, a) ? ++e : (r = Ch(s = wh(s, a)), e = 0);
2089
2089
  return r;
2090
2090
  }
2091
2091
  function wh(i, t) {
2092
2092
  var e, n;
2093
2093
  if (Qs(t, i)) return [t];
2094
2094
  for (e = 0; e < i.length; ++e)
2095
- if (qn(t, i[e]) && Qs(On(i[e], t), i))
2095
+ if (qn(t, i[e]) && Qs(Ln(i[e], t), i))
2096
2096
  return [i[e], t];
2097
2097
  for (e = 0; e < i.length - 1; ++e)
2098
2098
  for (n = e + 1; n < i.length; ++n)
2099
- if (qn(On(i[e], i[n]), t) && qn(On(i[e], t), i[n]) && qn(On(i[n], t), i[e]) && Qs(Go(i[e], i[n], t), i))
2099
+ if (qn(Ln(i[e], i[n]), t) && qn(Ln(i[e], t), i[n]) && qn(Ln(i[n], t), i[e]) && Qs(Ho(i[e], i[n], t), i))
2100
2100
  return [i[e], i[n], t];
2101
2101
  throw new Error();
2102
2102
  }
@@ -2104,13 +2104,13 @@ function qn(i, t) {
2104
2104
  var e = i.r - t.r, n = t.x - i.x, s = t.y - i.y;
2105
2105
  return e < 0 || e * e < n * n + s * s;
2106
2106
  }
2107
- function Vo(i, t) {
2107
+ function Go(i, t) {
2108
2108
  var e = i.r - t.r + Math.max(i.r, t.r, 1) * 1e-9, n = t.x - i.x, s = t.y - i.y;
2109
2109
  return e > 0 && e * e > n * n + s * s;
2110
2110
  }
2111
2111
  function Qs(i, t) {
2112
2112
  for (var e = 0; e < t.length; ++e)
2113
- if (!Vo(i, t[e]))
2113
+ if (!Go(i, t[e]))
2114
2114
  return !1;
2115
2115
  return !0;
2116
2116
  }
@@ -2119,9 +2119,9 @@ function Ch(i) {
2119
2119
  case 1:
2120
2120
  return kh(i[0]);
2121
2121
  case 2:
2122
- return On(i[0], i[1]);
2122
+ return Ln(i[0], i[1]);
2123
2123
  case 3:
2124
- return Go(i[0], i[1], i[2]);
2124
+ return Ho(i[0], i[1], i[2]);
2125
2125
  }
2126
2126
  }
2127
2127
  function kh(i) {
@@ -2131,7 +2131,7 @@ function kh(i) {
2131
2131
  r: i.r
2132
2132
  };
2133
2133
  }
2134
- function On(i, t) {
2134
+ function Ln(i, t) {
2135
2135
  var e = i.x, n = i.y, s = i.r, a = t.x, r = t.y, o = t.r, c = a - e, l = r - n, h = o - s, d = Math.sqrt(c * c + l * l);
2136
2136
  return {
2137
2137
  x: (e + a + c / d * h) / 2,
@@ -2139,7 +2139,7 @@ function On(i, t) {
2139
2139
  r: (d + s + o) / 2
2140
2140
  };
2141
2141
  }
2142
- function Go(i, t, e) {
2142
+ function Ho(i, t, e) {
2143
2143
  var n = i.x, s = i.y, a = i.r, r = t.x, o = t.y, c = t.r, l = e.x, h = e.y, d = e.r, u = n - r, p = n - l, f = s - o, g = s - h, m = c - a, v = d - a, S = n * n + s * s - a * a, y = S - r * r - o * o + c * c, E = S - l * l - h * h + d * d, x = p * f - u * g, b = (f * E - g * y) / (x * 2) - n, k = (g * m - f * v) / x, _ = (p * y - u * E) / (x * 2) - s, G = (u * v - p * m) / x, R = k * k + G * G - 1, A = 2 * (a + b * k + _ * G), H = b * b + _ * _ - a * a, N = -(Math.abs(R) > 1e-6 ? (A + Math.sqrt(A * A - 4 * R * H)) / (2 * R) : H / A);
2144
2144
  return {
2145
2145
  x: n + b + k * N,
@@ -2207,7 +2207,7 @@ function Rh() {
2207
2207
  }, s.size = function(a) {
2208
2208
  return arguments.length ? (t = +a[0], e = +a[1], s) : [t, e];
2209
2209
  }, s.padding = function(a) {
2210
- return arguments.length ? (n = typeof a == "function" ? a : je(+a), s) : n;
2210
+ return arguments.length ? (n = typeof a == "function" ? a : Ke(+a), s) : n;
2211
2211
  }, s;
2212
2212
  }
2213
2213
  function hr(i) {
@@ -2263,7 +2263,7 @@ function Gh(i, t, e) {
2263
2263
  function ls(i, t) {
2264
2264
  this._ = i, this.parent = null, this.children = null, this.A = null, this.a = this, this.z = 0, this.m = 0, this.c = 0, this.s = 0, this.t = null, this.i = t;
2265
2265
  }
2266
- ls.prototype = Object.create(In.prototype);
2266
+ ls.prototype = Object.create(Rn.prototype);
2267
2267
  function Hh(i) {
2268
2268
  for (var t = new ls(i, 0), e, n = [t], s, a, r, o; e = n.pop(); )
2269
2269
  if (a = e._.children)
@@ -2363,21 +2363,21 @@ function Xh() {
2363
2363
  }, h.size = function(u) {
2364
2364
  return arguments.length ? (e = +u[0], n = +u[1], h) : [e, n];
2365
2365
  }, h.tile = function(u) {
2366
- return arguments.length ? (i = $o(u), h) : i;
2366
+ return arguments.length ? (i = Vo(u), h) : i;
2367
2367
  }, h.padding = function(u) {
2368
2368
  return arguments.length ? h.paddingInner(u).paddingOuter(u) : h.paddingInner();
2369
2369
  }, h.paddingInner = function(u) {
2370
- return arguments.length ? (a = typeof u == "function" ? u : je(+u), h) : a;
2370
+ return arguments.length ? (a = typeof u == "function" ? u : Ke(+u), h) : a;
2371
2371
  }, h.paddingOuter = function(u) {
2372
2372
  return arguments.length ? h.paddingTop(u).paddingRight(u).paddingBottom(u).paddingLeft(u) : h.paddingTop();
2373
2373
  }, h.paddingTop = function(u) {
2374
- return arguments.length ? (r = typeof u == "function" ? u : je(+u), h) : r;
2374
+ return arguments.length ? (r = typeof u == "function" ? u : Ke(+u), h) : r;
2375
2375
  }, h.paddingRight = function(u) {
2376
- return arguments.length ? (o = typeof u == "function" ? u : je(+u), h) : o;
2376
+ return arguments.length ? (o = typeof u == "function" ? u : Ke(+u), h) : o;
2377
2377
  }, h.paddingBottom = function(u) {
2378
- return arguments.length ? (c = typeof u == "function" ? u : je(+u), h) : c;
2378
+ return arguments.length ? (c = typeof u == "function" ? u : Ke(+u), h) : c;
2379
2379
  }, h.paddingLeft = function(u) {
2380
- return arguments.length ? (l = typeof u == "function" ? u : je(+u), h) : l;
2380
+ return arguments.length ? (l = typeof u == "function" ? u : Ke(+u), h) : l;
2381
2381
  }, h;
2382
2382
  }
2383
2383
  function ws(i) {
@@ -2415,7 +2415,7 @@ function Jh(i, t, e, n, s, a, r, o) {
2415
2415
  return u = (h * (t - a) - d * (i - s)) / u, [i + u * c, t + u * l];
2416
2416
  }
2417
2417
  function Kn(i, t, e, n, s, a, r) {
2418
- var o = i - e, c = t - n, l = (r ? a : -a) / Qe(o * o + c * c), h = l * c, d = -l * o, u = i + h, p = t + d, f = e + h, g = n + d, m = (u + f) / 2, v = (p + g) / 2, S = f - u, y = g - p, E = S * S + y * y, x = s - a, b = u * g - f * p, k = (y < 0 ? -1 : 1) * Qe(Ol(0, x * x * E - b * b)), _ = (b * y - S * k) / E, G = (-b * S - y * k) / E, R = (b * y + S * k) / E, A = (-b * S + y * k) / E, H = _ - m, N = G - v, M = R - m, L = A - v;
2418
+ var o = i - e, c = t - n, l = (r ? a : -a) / tn(o * o + c * c), h = l * c, d = -l * o, u = i + h, p = t + d, f = e + h, g = n + d, m = (u + f) / 2, v = (p + g) / 2, S = f - u, y = g - p, E = S * S + y * y, x = s - a, b = u * g - f * p, k = (y < 0 ? -1 : 1) * tn(Ll(0, x * x * E - b * b)), _ = (b * y - S * k) / E, G = (-b * S - y * k) / E, R = (b * y + S * k) / E, A = (-b * S + y * k) / E, H = _ - m, N = G - v, M = R - m, L = A - v;
2419
2419
  return H * H + N * N > M * M + L * L && (_ = R, G = A), {
2420
2420
  cx: _,
2421
2421
  cy: G,
@@ -2425,7 +2425,7 @@ function Kn(i, t, e, n, s, a, r) {
2425
2425
  y11: G * (s / x - 1)
2426
2426
  };
2427
2427
  }
2428
- function Rn() {
2428
+ function Dn() {
2429
2429
  var i = Yh, t = Zh, e = pt(0), n = null, s = qh, a = jh, r = Kh, o = null, c = ws(l);
2430
2430
  function l() {
2431
2431
  var h, d, u = +i.apply(this, arguments), p = +t.apply(this, arguments), f = s.apply(this, arguments) - La, g = a.apply(this, arguments) - La, m = Aa(g - f), v = g > f;
@@ -2433,7 +2433,7 @@ function Rn() {
2433
2433
  else if (m > ss - Ut)
2434
2434
  o.moveTo(p * Ce(f), p * oe(f)), o.arc(0, 0, p, f, g, !v), u > Ut && (o.moveTo(u * Ce(g), u * oe(g)), o.arc(0, 0, u, g, f, v));
2435
2435
  else {
2436
- var S = f, y = g, E = f, x = g, b = m, k = m, _ = r.apply(this, arguments) / 2, G = _ > Ut && (n ? +n.apply(this, arguments) : Qe(u * u + p * p)), R = Us(Aa(p - u) / 2, +e.apply(this, arguments)), A = R, H = R, N, M;
2436
+ var S = f, y = g, E = f, x = g, b = m, k = m, _ = r.apply(this, arguments) / 2, G = _ > Ut && (n ? +n.apply(this, arguments) : tn(u * u + p * p)), R = Us(Aa(p - u) / 2, +e.apply(this, arguments)), A = R, H = R, N, M;
2437
2437
  if (G > Ut) {
2438
2438
  var L = wa(G / u * oe(_)), P = wa(G / p * oe(_));
2439
2439
  (b -= L * 2) > Ut ? (L *= v ? 1 : -1, E += L, x -= L) : (b = 0, E = x = (f + g) / 2), (k -= P * 2) > Ut ? (P *= v ? 1 : -1, S += P, y -= P) : (k = 0, S = y = (f + g) / 2);
@@ -2443,7 +2443,7 @@ function Rn() {
2443
2443
  var X = p * Ce(y), F = p * oe(y), Z = u * Ce(E), rt = u * oe(E), j;
2444
2444
  if (m < Ma)
2445
2445
  if (j = Jh($, C, Z, rt, X, F, V, q)) {
2446
- var Y = $ - j[0], K = C - j[1], ot = X - j[0], ct = F - j[1], st = 1 / oe(Tl((Y * ot + K * ct) / (Qe(Y * Y + K * K) * Qe(ot * ot + ct * ct))) / 2), it = Qe(j[0] * j[0] + j[1] * j[1]);
2446
+ var Y = $ - j[0], K = C - j[1], ot = X - j[0], ct = F - j[1], st = 1 / oe(Ol((Y * ot + K * ct) / (tn(Y * Y + K * K) * tn(ot * ot + ct * ct))) / 2), it = tn(j[0] * j[0] + j[1] * j[1]);
2447
2447
  A = Us(R, (u - it) / (st - 1)), H = Us(R, (p - it) / (st + 1));
2448
2448
  } else
2449
2449
  A = H = 0;
@@ -2479,7 +2479,7 @@ function qi(i) {
2479
2479
  function ji(i) {
2480
2480
  return i[1];
2481
2481
  }
2482
- function Nn(i, t) {
2482
+ function Pn(i, t) {
2483
2483
  var e = pt(!0), n = null, s = Bi, a = null, r = ws(o);
2484
2484
  i = typeof i == "function" ? i : i === void 0 ? qi : pt(i), t = typeof t == "function" ? t : t === void 0 ? ji : pt(t);
2485
2485
  function o(c) {
@@ -2519,7 +2519,7 @@ function Ki(i, t, e) {
2519
2519
  if (S) return o = null, S + "" || null;
2520
2520
  }
2521
2521
  function h() {
2522
- return Nn().defined(s).curve(r).context(a);
2522
+ return Pn().defined(s).curve(r).context(a);
2523
2523
  }
2524
2524
  return l.x = function(d) {
2525
2525
  return arguments.length ? (i = typeof d == "function" ? d : pt(+d), n = null, l) : i;
@@ -2588,11 +2588,11 @@ function ed() {
2588
2588
  return arguments.length ? (a = typeof o == "function" ? o : pt(+o), r) : a;
2589
2589
  }, r;
2590
2590
  }
2591
- var nd = Bo(Bi);
2592
- function Ho(i) {
2591
+ var nd = zo(Bi);
2592
+ function Bo(i) {
2593
2593
  this._curve = i;
2594
2594
  }
2595
- Ho.prototype = {
2595
+ Bo.prototype = {
2596
2596
  areaStart: function() {
2597
2597
  this._curve.areaStart();
2598
2598
  },
@@ -2609,20 +2609,20 @@ Ho.prototype = {
2609
2609
  this._curve.point(t * Math.sin(i), t * -Math.cos(i));
2610
2610
  }
2611
2611
  };
2612
- function Bo(i) {
2612
+ function zo(i) {
2613
2613
  function t(e) {
2614
- return new Ho(i(e));
2614
+ return new Bo(i(e));
2615
2615
  }
2616
2616
  return t._curve = i, t;
2617
2617
  }
2618
2618
  function sd(i) {
2619
2619
  var t = i.curve;
2620
2620
  return i.angle = i.x, delete i.x, i.radius = i.y, delete i.y, i.curve = function(e) {
2621
- return arguments.length ? t(Bo(e)) : t()._curve;
2621
+ return arguments.length ? t(zo(e)) : t()._curve;
2622
2622
  }, i;
2623
2623
  }
2624
2624
  function id() {
2625
- return sd(Nn().curve(nd));
2625
+ return sd(Pn().curve(nd));
2626
2626
  }
2627
2627
  class ad {
2628
2628
  constructor(t, e) {
@@ -2670,7 +2670,7 @@ function cd(i) {
2670
2670
  let t = od, e = ld, n = qi, s = ji, a = null, r = null, o = ws(c);
2671
2671
  function c() {
2672
2672
  let l;
2673
- const h = Cl.call(arguments), d = t.apply(this, h), u = e.apply(this, h);
2673
+ const h = kl.call(arguments), d = t.apply(this, h), u = e.apply(this, h);
2674
2674
  if (a == null && (r = i(l = o())), r.lineStart(), h[0] = d, r.point(+n.apply(this, h), +s.apply(this, h)), h[0] = u, r.point(+n.apply(this, h), +s.apply(this, h)), r.lineEnd(), l) return r = null, l + "" || null;
2675
2675
  }
2676
2676
  return c.source = function(l) {
@@ -2719,11 +2719,10 @@ class dt {
2719
2719
  this.services = t;
2720
2720
  }
2721
2721
  setParent(t) {
2722
- var n;
2723
2722
  const e = this.parent;
2724
2723
  if (this.parent = t, !(e && e.node() === t.node()) && this.type) {
2725
- const s = O(this.model.getOptions(), "style", "prefix");
2726
- (n = this.parent) == null || n.classed(`${Kt}--${s}--${this.type}`, !0), e && e.classed(`${Kt}--${s}--${this.type}`, !1);
2724
+ const n = O(this.model.getOptions(), "style", "prefix");
2725
+ this.parent?.classed(`${Kt}--${n}--${this.type}`, !0), e && e.classed(`${Kt}--${n}--${this.type}`, !1);
2727
2726
  }
2728
2727
  }
2729
2728
  getParent() {
@@ -2755,12 +2754,12 @@ class dt {
2755
2754
  * component's config.options object.
2756
2755
  */
2757
2756
  getOptions() {
2758
- return this.configs.options ? nn({}, this.model.getOptions(), this.configs.options) : this.model.getOptions();
2757
+ return this.configs.options ? sn({}, this.model.getOptions(), this.configs.options) : this.model.getOptions();
2759
2758
  }
2760
2759
  }
2761
2760
  /*! @license DOMPurify 3.2.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.2.6/LICENSE */
2762
2761
  const {
2763
- entries: zo,
2762
+ entries: Uo,
2764
2763
  setPrototypeOf: pr,
2765
2764
  isFrozen: hd,
2766
2765
  getPrototypeOf: dd,
@@ -2769,7 +2768,7 @@ const {
2769
2768
  let {
2770
2769
  freeze: Ht,
2771
2770
  seal: ee,
2772
- create: Uo
2771
+ create: Fo
2773
2772
  } = Object, {
2774
2773
  apply: Pi,
2775
2774
  construct: $i
@@ -2786,7 +2785,7 @@ Pi || (Pi = function(t, e, n) {
2786
2785
  $i || ($i = function(t, e) {
2787
2786
  return new t(...e);
2788
2787
  });
2789
- const Jn = Bt(Array.prototype.forEach), fd = Bt(Array.prototype.lastIndexOf), fr = Bt(Array.prototype.pop), dn = Bt(Array.prototype.push), gd = Bt(Array.prototype.splice), cs = Bt(String.prototype.toLowerCase), si = Bt(String.prototype.toString), gr = Bt(String.prototype.match), pn = Bt(String.prototype.replace), md = Bt(String.prototype.indexOf), vd = Bt(String.prototype.trim), ie = Bt(Object.prototype.hasOwnProperty), $t = Bt(RegExp.prototype.test), fn = yd(TypeError);
2788
+ const Jn = Bt(Array.prototype.forEach), fd = Bt(Array.prototype.lastIndexOf), fr = Bt(Array.prototype.pop), pn = Bt(Array.prototype.push), gd = Bt(Array.prototype.splice), cs = Bt(String.prototype.toLowerCase), si = Bt(String.prototype.toString), gr = Bt(String.prototype.match), fn = Bt(String.prototype.replace), md = Bt(String.prototype.indexOf), vd = Bt(String.prototype.trim), ie = Bt(Object.prototype.hasOwnProperty), $t = Bt(RegExp.prototype.test), gn = yd(TypeError);
2790
2789
  function Bt(i) {
2791
2790
  return function(t) {
2792
2791
  t instanceof RegExp && (t.lastIndex = 0);
@@ -2822,12 +2821,12 @@ function Ed(i) {
2822
2821
  return i;
2823
2822
  }
2824
2823
  function me(i) {
2825
- const t = Uo(null);
2826
- for (const [e, n] of zo(i))
2824
+ const t = Fo(null);
2825
+ for (const [e, n] of Uo(i))
2827
2826
  ie(i, e) && (Array.isArray(n) ? t[e] = Ed(n) : n && typeof n == "object" && n.constructor === Object ? t[e] = me(n) : t[e] = n);
2828
2827
  return t;
2829
2828
  }
2830
- function gn(i, t) {
2829
+ function mn(i, t) {
2831
2830
  for (; i !== null; ) {
2832
2831
  const n = pd(i, t);
2833
2832
  if (n) {
@@ -2843,27 +2842,27 @@ function gn(i, t) {
2843
2842
  }
2844
2843
  return e;
2845
2844
  }
2846
- const mr = Ht(["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"]), ii = Ht(["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"]), ai = Ht(["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"]), xd = Ht(["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"]), ri = Ht(["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"]), Sd = Ht(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), vr = Ht(["#text"]), yr = Ht(["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"]), oi = Ht(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "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", "exponent", "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", "intercept", "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", "slope", "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", "tablevalues", "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"]), Er = Ht(["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"]), Qn = Ht(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), bd = ee(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Td = ee(/<%[\w\W]*|[\w\W]*%>/gm), Od = ee(/\$\{[\w\W]*/gm), Ld = ee(/^data-[\-\w.\u00B7-\uFFFF]+$/), Ad = ee(/^aria-[\-\w]+$/), Fo = ee(
2845
+ const mr = Ht(["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"]), ii = Ht(["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"]), ai = Ht(["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"]), xd = Ht(["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"]), ri = Ht(["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"]), Sd = Ht(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), vr = Ht(["#text"]), yr = Ht(["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"]), oi = Ht(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "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", "exponent", "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", "intercept", "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", "slope", "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", "tablevalues", "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"]), Er = Ht(["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"]), Qn = Ht(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), bd = ee(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Td = ee(/<%[\w\W]*|[\w\W]*%>/gm), Od = ee(/\$\{[\w\W]*/gm), Ld = ee(/^data-[\-\w.\u00B7-\uFFFF]+$/), Ad = ee(/^aria-[\-\w]+$/), Wo = ee(
2847
2846
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
2848
2847
  // eslint-disable-line no-useless-escape
2849
2848
  ), Md = ee(/^(?:\w+script|data):/i), wd = ee(
2850
2849
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
2851
2850
  // eslint-disable-line no-control-regex
2852
- ), Wo = ee(/^html$/i), Cd = ee(/^[a-z][.\w]*(-[.\w]+)+$/i);
2851
+ ), Xo = ee(/^html$/i), Cd = ee(/^[a-z][.\w]*(-[.\w]+)+$/i);
2853
2852
  var xr = /* @__PURE__ */ Object.freeze({
2854
2853
  __proto__: null,
2855
2854
  ARIA_ATTR: Ad,
2856
2855
  ATTR_WHITESPACE: wd,
2857
2856
  CUSTOM_ELEMENT: Cd,
2858
2857
  DATA_ATTR: Ld,
2859
- DOCTYPE_NAME: Wo,
2858
+ DOCTYPE_NAME: Xo,
2860
2859
  ERB_EXPR: Td,
2861
- IS_ALLOWED_URI: Fo,
2860
+ IS_ALLOWED_URI: Wo,
2862
2861
  IS_SCRIPT_OR_DATA: Md,
2863
2862
  MUSTACHE_EXPR: bd,
2864
2863
  TMPLIT_EXPR: Od
2865
2864
  });
2866
- const mn = {
2865
+ const vn = {
2867
2866
  element: 1,
2868
2867
  text: 3,
2869
2868
  // Deprecated
@@ -2904,10 +2903,10 @@ const mn = {
2904
2903
  uponSanitizeShadowNode: []
2905
2904
  };
2906
2905
  };
2907
- function Xo() {
2906
+ function Yo() {
2908
2907
  let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : kd();
2909
- const t = (tt) => Xo(tt);
2910
- if (t.version = "3.2.6", t.removed = [], !i || !i.document || i.document.nodeType !== mn.document || !i.Element)
2908
+ const t = (tt) => Yo(tt);
2909
+ if (t.version = "3.2.6", t.removed = [], !i || !i.document || i.document.nodeType !== vn.document || !i.Element)
2911
2910
  return t.isSupported = !1, t;
2912
2911
  let {
2913
2912
  document: e
@@ -2922,7 +2921,7 @@ function Xo() {
2922
2921
  HTMLFormElement: d,
2923
2922
  DOMParser: u,
2924
2923
  trustedTypes: p
2925
- } = i, f = c.prototype, g = gn(f, "cloneNode"), m = gn(f, "remove"), v = gn(f, "nextSibling"), S = gn(f, "childNodes"), y = gn(f, "parentNode");
2924
+ } = i, f = c.prototype, g = mn(f, "cloneNode"), m = mn(f, "remove"), v = mn(f, "nextSibling"), S = mn(f, "childNodes"), y = mn(f, "parentNode");
2926
2925
  if (typeof r == "function") {
2927
2926
  const tt = e.createElement("template");
2928
2927
  tt.content && tt.content.ownerDocument && (e = tt.content.ownerDocument);
@@ -2937,7 +2936,7 @@ function Xo() {
2937
2936
  importNode: R
2938
2937
  } = n;
2939
2938
  let A = Sr();
2940
- t.isSupported = typeof zo == "function" && typeof y == "function" && b && b.createHTMLDocument !== void 0;
2939
+ t.isSupported = typeof Uo == "function" && typeof y == "function" && b && b.createHTMLDocument !== void 0;
2941
2940
  const {
2942
2941
  MUSTACHE_EXPR: H,
2943
2942
  ERB_EXPR: N,
@@ -2954,7 +2953,7 @@ function Xo() {
2954
2953
  const F = ut({}, [...mr, ...ii, ...ai, ...ri, ...vr]);
2955
2954
  let Z = null;
2956
2955
  const rt = ut({}, [...yr, ...oi, ...Er, ...Qn]);
2957
- let j = Object.seal(Uo(null, {
2956
+ let j = Object.seal(Fo(null, {
2958
2957
  tagNameCheck: {
2959
2958
  writable: !0,
2960
2959
  configurable: !1,
@@ -2973,47 +2972,47 @@ function Xo() {
2973
2972
  enumerable: !0,
2974
2973
  value: !1
2975
2974
  }
2976
- })), Y = null, K = null, ot = !0, ct = !0, st = !1, it = !0, z = !1, B = !0, U = !1, wt = !1, be = !1, et = !1, yt = !1, Zt = !1, Wt = !0, on = !1;
2977
- const ln = "user-content-";
2975
+ })), Y = null, K = null, ot = !0, ct = !0, st = !1, it = !0, z = !1, B = !0, U = !1, wt = !1, be = !1, et = !1, yt = !1, Zt = !1, Wt = !0, ln = !1;
2976
+ const cn = "user-content-";
2978
2977
  let Le = !0, ne = !1, $e = {}, Ve = null;
2979
2978
  const na = ut({}, ["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"]);
2980
2979
  let sa = null;
2981
2980
  const ia = ut({}, ["audio", "video", "img", "source", "image", "track"]);
2982
2981
  let ks = null;
2983
- const aa = ut({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Pn = "http://www.w3.org/1998/Math/MathML", $n = "http://www.w3.org/2000/svg", he = "http://www.w3.org/1999/xhtml";
2982
+ const aa = ut({}, ["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";
2984
2983
  let Ge = he, _s = !1, Is = null;
2985
- const Jo = ut({}, [Pn, $n, he], si);
2986
- let Vn = ut({}, ["mi", "mo", "mn", "ms", "mtext"]), Gn = ut({}, ["annotation-xml"]);
2987
- const Qo = ut({}, ["title", "style", "font", "a", "script"]);
2988
- let cn = null;
2989
- const tl = ["application/xhtml+xml", "text/html"], el = "text/html";
2984
+ const Qo = ut({}, [$n, Vn, he], si);
2985
+ let Gn = ut({}, ["mi", "mo", "mn", "ms", "mtext"]), Hn = ut({}, ["annotation-xml"]);
2986
+ const tl = ut({}, ["title", "style", "font", "a", "script"]);
2987
+ let un = null;
2988
+ const el = ["application/xhtml+xml", "text/html"], nl = "text/html";
2990
2989
  let Ct = null, He = null;
2991
- const nl = e.createElement("form"), ra = function(w) {
2990
+ const sl = e.createElement("form"), ra = function(w) {
2992
2991
  return w instanceof RegExp || w instanceof Function;
2993
2992
  }, Rs = function() {
2994
2993
  let w = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2995
2994
  if (!(He && He === w)) {
2996
- if ((!w || typeof w != "object") && (w = {}), w = me(w), cn = // eslint-disable-next-line unicorn/prefer-includes
2997
- tl.indexOf(w.PARSER_MEDIA_TYPE) === -1 ? el : w.PARSER_MEDIA_TYPE, Ct = cn === "application/xhtml+xml" ? si : cs, X = ie(w, "ALLOWED_TAGS") ? ut({}, w.ALLOWED_TAGS, Ct) : F, Z = ie(w, "ALLOWED_ATTR") ? ut({}, w.ALLOWED_ATTR, Ct) : rt, Is = ie(w, "ALLOWED_NAMESPACES") ? ut({}, w.ALLOWED_NAMESPACES, si) : Jo, ks = ie(w, "ADD_URI_SAFE_ATTR") ? ut(me(aa), w.ADD_URI_SAFE_ATTR, Ct) : aa, sa = ie(w, "ADD_DATA_URI_TAGS") ? ut(me(ia), w.ADD_DATA_URI_TAGS, Ct) : ia, Ve = ie(w, "FORBID_CONTENTS") ? ut({}, w.FORBID_CONTENTS, Ct) : na, Y = ie(w, "FORBID_TAGS") ? ut({}, w.FORBID_TAGS, Ct) : me({}), K = ie(w, "FORBID_ATTR") ? ut({}, w.FORBID_ATTR, Ct) : me({}), $e = ie(w, "USE_PROFILES") ? w.USE_PROFILES : !1, ot = w.ALLOW_ARIA_ATTR !== !1, ct = w.ALLOW_DATA_ATTR !== !1, st = w.ALLOW_UNKNOWN_PROTOCOLS || !1, it = w.ALLOW_SELF_CLOSE_IN_ATTR !== !1, z = w.SAFE_FOR_TEMPLATES || !1, B = w.SAFE_FOR_XML !== !1, U = w.WHOLE_DOCUMENT || !1, et = w.RETURN_DOM || !1, yt = w.RETURN_DOM_FRAGMENT || !1, Zt = w.RETURN_TRUSTED_TYPE || !1, be = w.FORCE_BODY || !1, Wt = w.SANITIZE_DOM !== !1, on = w.SANITIZE_NAMED_PROPS || !1, Le = w.KEEP_CONTENT !== !1, ne = w.IN_PLACE || !1, q = w.ALLOWED_URI_REGEXP || Fo, Ge = w.NAMESPACE || he, Vn = w.MATHML_TEXT_INTEGRATION_POINTS || Vn, Gn = w.HTML_INTEGRATION_POINTS || Gn, j = w.CUSTOM_ELEMENT_HANDLING || {}, w.CUSTOM_ELEMENT_HANDLING && ra(w.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (j.tagNameCheck = w.CUSTOM_ELEMENT_HANDLING.tagNameCheck), w.CUSTOM_ELEMENT_HANDLING && ra(w.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (j.attributeNameCheck = w.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), w.CUSTOM_ELEMENT_HANDLING && typeof w.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (j.allowCustomizedBuiltInElements = w.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), z && (ct = !1), yt && (et = !0), $e && (X = ut({}, vr), Z = [], $e.html === !0 && (ut(X, mr), ut(Z, yr)), $e.svg === !0 && (ut(X, ii), ut(Z, oi), ut(Z, Qn)), $e.svgFilters === !0 && (ut(X, ai), ut(Z, oi), ut(Z, Qn)), $e.mathMl === !0 && (ut(X, ri), ut(Z, Er), ut(Z, Qn))), w.ADD_TAGS && (X === F && (X = me(X)), ut(X, w.ADD_TAGS, Ct)), w.ADD_ATTR && (Z === rt && (Z = me(Z)), ut(Z, w.ADD_ATTR, Ct)), w.ADD_URI_SAFE_ATTR && ut(ks, w.ADD_URI_SAFE_ATTR, Ct), w.FORBID_CONTENTS && (Ve === na && (Ve = me(Ve)), ut(Ve, w.FORBID_CONTENTS, Ct)), Le && (X["#text"] = !0), U && ut(X, ["html", "head", "body"]), X.table && (ut(X, ["tbody"]), delete Y.tbody), w.TRUSTED_TYPES_POLICY) {
2995
+ if ((!w || typeof w != "object") && (w = {}), w = me(w), un = // eslint-disable-next-line unicorn/prefer-includes
2996
+ el.indexOf(w.PARSER_MEDIA_TYPE) === -1 ? nl : w.PARSER_MEDIA_TYPE, Ct = un === "application/xhtml+xml" ? si : cs, X = ie(w, "ALLOWED_TAGS") ? ut({}, w.ALLOWED_TAGS, Ct) : F, Z = ie(w, "ALLOWED_ATTR") ? ut({}, w.ALLOWED_ATTR, Ct) : rt, Is = ie(w, "ALLOWED_NAMESPACES") ? ut({}, w.ALLOWED_NAMESPACES, si) : Qo, ks = ie(w, "ADD_URI_SAFE_ATTR") ? ut(me(aa), w.ADD_URI_SAFE_ATTR, Ct) : aa, sa = ie(w, "ADD_DATA_URI_TAGS") ? ut(me(ia), w.ADD_DATA_URI_TAGS, Ct) : ia, Ve = ie(w, "FORBID_CONTENTS") ? ut({}, w.FORBID_CONTENTS, Ct) : na, Y = ie(w, "FORBID_TAGS") ? ut({}, w.FORBID_TAGS, Ct) : me({}), K = ie(w, "FORBID_ATTR") ? ut({}, w.FORBID_ATTR, Ct) : me({}), $e = ie(w, "USE_PROFILES") ? w.USE_PROFILES : !1, ot = w.ALLOW_ARIA_ATTR !== !1, ct = w.ALLOW_DATA_ATTR !== !1, st = w.ALLOW_UNKNOWN_PROTOCOLS || !1, it = w.ALLOW_SELF_CLOSE_IN_ATTR !== !1, z = w.SAFE_FOR_TEMPLATES || !1, B = w.SAFE_FOR_XML !== !1, U = w.WHOLE_DOCUMENT || !1, et = w.RETURN_DOM || !1, yt = w.RETURN_DOM_FRAGMENT || !1, Zt = w.RETURN_TRUSTED_TYPE || !1, be = w.FORCE_BODY || !1, Wt = w.SANITIZE_DOM !== !1, ln = w.SANITIZE_NAMED_PROPS || !1, Le = w.KEEP_CONTENT !== !1, ne = w.IN_PLACE || !1, q = w.ALLOWED_URI_REGEXP || Wo, Ge = w.NAMESPACE || he, Gn = w.MATHML_TEXT_INTEGRATION_POINTS || Gn, Hn = w.HTML_INTEGRATION_POINTS || Hn, j = w.CUSTOM_ELEMENT_HANDLING || {}, w.CUSTOM_ELEMENT_HANDLING && ra(w.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (j.tagNameCheck = w.CUSTOM_ELEMENT_HANDLING.tagNameCheck), w.CUSTOM_ELEMENT_HANDLING && ra(w.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (j.attributeNameCheck = w.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), w.CUSTOM_ELEMENT_HANDLING && typeof w.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (j.allowCustomizedBuiltInElements = w.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), z && (ct = !1), yt && (et = !0), $e && (X = ut({}, vr), Z = [], $e.html === !0 && (ut(X, mr), ut(Z, yr)), $e.svg === !0 && (ut(X, ii), ut(Z, oi), ut(Z, Qn)), $e.svgFilters === !0 && (ut(X, ai), ut(Z, oi), ut(Z, Qn)), $e.mathMl === !0 && (ut(X, ri), ut(Z, Er), ut(Z, Qn))), w.ADD_TAGS && (X === F && (X = me(X)), ut(X, w.ADD_TAGS, Ct)), w.ADD_ATTR && (Z === rt && (Z = me(Z)), ut(Z, w.ADD_ATTR, Ct)), w.ADD_URI_SAFE_ATTR && ut(ks, w.ADD_URI_SAFE_ATTR, Ct), w.FORBID_CONTENTS && (Ve === na && (Ve = me(Ve)), ut(Ve, w.FORBID_CONTENTS, Ct)), Le && (X["#text"] = !0), U && ut(X, ["html", "head", "body"]), X.table && (ut(X, ["tbody"]), delete Y.tbody), w.TRUSTED_TYPES_POLICY) {
2998
2997
  if (typeof w.TRUSTED_TYPES_POLICY.createHTML != "function")
2999
- throw fn('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
2998
+ throw gn('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
3000
2999
  if (typeof w.TRUSTED_TYPES_POLICY.createScriptURL != "function")
3001
- throw fn('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
3000
+ throw gn('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
3002
3001
  E = w.TRUSTED_TYPES_POLICY, x = E.createHTML("");
3003
3002
  } else
3004
3003
  E === void 0 && (E = _d(p, s)), E !== null && typeof x == "string" && (x = E.createHTML(""));
3005
3004
  Ht && Ht(w), He = w;
3006
3005
  }
3007
- }, oa = ut({}, [...ii, ...ai, ...xd]), la = ut({}, [...ri, ...Sd]), sl = function(w) {
3006
+ }, oa = ut({}, [...ii, ...ai, ...xd]), la = ut({}, [...ri, ...Sd]), il = function(w) {
3008
3007
  let W = y(w);
3009
3008
  (!W || !W.tagName) && (W = {
3010
3009
  namespaceURI: Ge,
3011
3010
  tagName: "template"
3012
3011
  });
3013
3012
  const Q = cs(w.tagName), St = cs(W.tagName);
3014
- return Is[w.namespaceURI] ? w.namespaceURI === $n ? W.namespaceURI === he ? Q === "svg" : W.namespaceURI === Pn ? Q === "svg" && (St === "annotation-xml" || Vn[St]) : !!oa[Q] : w.namespaceURI === Pn ? W.namespaceURI === he ? Q === "math" : W.namespaceURI === $n ? Q === "math" && Gn[St] : !!la[Q] : w.namespaceURI === he ? W.namespaceURI === $n && !Gn[St] || W.namespaceURI === Pn && !Vn[St] ? !1 : !la[Q] && (Qo[Q] || !oa[Q]) : !!(cn === "application/xhtml+xml" && Is[w.namespaceURI]) : !1;
3013
+ return Is[w.namespaceURI] ? w.namespaceURI === Vn ? W.namespaceURI === he ? Q === "svg" : W.namespaceURI === $n ? Q === "svg" && (St === "annotation-xml" || Gn[St]) : !!oa[Q] : w.namespaceURI === $n ? W.namespaceURI === he ? Q === "math" : W.namespaceURI === Vn ? Q === "math" && Hn[St] : !!la[Q] : w.namespaceURI === he ? W.namespaceURI === Vn && !Hn[St] || W.namespaceURI === $n && !Gn[St] ? !1 : !la[Q] && (tl[Q] || !oa[Q]) : !!(un === "application/xhtml+xml" && Is[w.namespaceURI]) : !1;
3015
3014
  }, re = function(w) {
3016
- dn(t.removed, {
3015
+ pn(t.removed, {
3017
3016
  element: w
3018
3017
  });
3019
3018
  try {
@@ -3023,12 +3022,12 @@ function Xo() {
3023
3022
  }
3024
3023
  }, Be = function(w, W) {
3025
3024
  try {
3026
- dn(t.removed, {
3025
+ pn(t.removed, {
3027
3026
  attribute: W.getAttributeNode(w),
3028
3027
  from: W
3029
3028
  });
3030
3029
  } catch {
3031
- dn(t.removed, {
3030
+ pn(t.removed, {
3032
3031
  attribute: null,
3033
3032
  from: W
3034
3033
  });
@@ -3052,11 +3051,11 @@ function Xo() {
3052
3051
  const At = gr(w, /^[\r\n\t ]+/);
3053
3052
  Q = At && At[0];
3054
3053
  }
3055
- cn === "application/xhtml+xml" && Ge === he && (w = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + w + "</body></html>");
3054
+ un === "application/xhtml+xml" && Ge === he && (w = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + w + "</body></html>");
3056
3055
  const St = E ? E.createHTML(w) : w;
3057
3056
  if (Ge === he)
3058
3057
  try {
3059
- W = new u().parseFromString(St, cn);
3058
+ W = new u().parseFromString(St, un);
3060
3059
  } catch {
3061
3060
  }
3062
3061
  if (!W || !W.documentElement) {
@@ -3094,7 +3093,7 @@ function Xo() {
3094
3093
  if (de(A.uponSanitizeElement, w, {
3095
3094
  tagName: Q,
3096
3095
  allowedTags: X
3097
- }), B && w.hasChildNodes() && !ha(w.firstElementChild) && $t(/<[/\w!]/g, w.innerHTML) && $t(/<[/\w!]/g, w.textContent) || w.nodeType === mn.progressingInstruction || B && w.nodeType === mn.comment && $t(/<[/\w]/g, w.data))
3096
+ }), B && w.hasChildNodes() && !ha(w.firstElementChild) && $t(/<[/\w!]/g, w.innerHTML) && $t(/<[/\w!]/g, w.textContent) || w.nodeType === vn.progressingInstruction || B && w.nodeType === vn.comment && $t(/<[/\w]/g, w.data))
3098
3097
  return re(w), !0;
3099
3098
  if (!X[Q] || Y[Q]) {
3100
3099
  if (!Y[Q] && fa(Q) && (j.tagNameCheck instanceof RegExp && $t(j.tagNameCheck, Q) || j.tagNameCheck instanceof Function && j.tagNameCheck(Q)))
@@ -3111,13 +3110,13 @@ function Xo() {
3111
3110
  }
3112
3111
  return re(w), !0;
3113
3112
  }
3114
- return w instanceof c && !sl(w) || (Q === "noscript" || Q === "noembed" || Q === "noframes") && $t(/<\/no(script|embed|frames)/i, w.innerHTML) ? (re(w), !0) : (z && w.nodeType === mn.text && (W = w.textContent, Jn([H, N, M], (St) => {
3115
- W = pn(W, St, " ");
3116
- }), w.textContent !== W && (dn(t.removed, {
3113
+ return w instanceof c && !il(w) || (Q === "noscript" || Q === "noembed" || Q === "noframes") && $t(/<\/no(script|embed|frames)/i, w.innerHTML) ? (re(w), !0) : (z && w.nodeType === vn.text && (W = w.textContent, Jn([H, N, M], (St) => {
3114
+ W = fn(W, St, " ");
3115
+ }), w.textContent !== W && (pn(t.removed, {
3117
3116
  element: w.cloneNode()
3118
3117
  }), w.textContent = W)), de(A.afterSanitizeElements, w, null), !1);
3119
3118
  }, pa = function(w, W, Q) {
3120
- if (Wt && (W === "id" || W === "name") && (Q in e || Q in nl))
3119
+ if (Wt && (W === "id" || W === "name") && (Q in e || Q in sl))
3121
3120
  return !1;
3122
3121
  if (!(ct && !K[W] && $t(L, W))) {
3123
3122
  if (!(ot && $t(P, W))) {
@@ -3131,9 +3130,9 @@ function Xo() {
3131
3130
  W === "is" && j.allowCustomizedBuiltInElements && (j.tagNameCheck instanceof RegExp && $t(j.tagNameCheck, Q) || j.tagNameCheck instanceof Function && j.tagNameCheck(Q)))
3132
3131
  ) return !1;
3133
3132
  } else if (!ks[W]) {
3134
- if (!$t(q, pn(Q, C, ""))) {
3133
+ if (!$t(q, fn(Q, C, ""))) {
3135
3134
  if (!((W === "src" || W === "xlink:href" || W === "href") && w !== "script" && md(Q, "data:") === 0 && sa[w])) {
3136
- if (!(st && !$t($, pn(Q, C, "")))) {
3135
+ if (!(st && !$t($, fn(Q, C, "")))) {
3137
3136
  if (Q)
3138
3137
  return !1;
3139
3138
  }
@@ -3165,9 +3164,9 @@ function Xo() {
3165
3164
  name: At,
3166
3165
  namespaceURI: zt,
3167
3166
  value: pe
3168
- } = It, un = Ct(At), Ns = pe;
3167
+ } = It, hn = Ct(At), Ns = pe;
3169
3168
  let Rt = At === "value" ? Ns : vd(Ns);
3170
- if (Q.attrName = un, Q.attrValue = Rt, Q.keepAttr = !0, Q.forceKeepAttr = void 0, de(A.uponSanitizeAttribute, w, Q), Rt = Q.attrValue, on && (un === "id" || un === "name") && (Be(At, w), Rt = ln + Rt), B && $t(/((--!?|])>)|<\/(style|title)/i, Rt)) {
3169
+ if (Q.attrName = hn, Q.attrValue = Rt, Q.keepAttr = !0, Q.forceKeepAttr = void 0, de(A.uponSanitizeAttribute, w, Q), Rt = Q.attrValue, ln && (hn === "id" || hn === "name") && (Be(At, w), Rt = cn + Rt), B && $t(/((--!?|])>)|<\/(style|title)/i, Rt)) {
3171
3170
  Be(At, w);
3172
3171
  continue;
3173
3172
  }
@@ -3182,15 +3181,15 @@ function Xo() {
3182
3181
  continue;
3183
3182
  }
3184
3183
  z && Jn([H, N, M], (va) => {
3185
- Rt = pn(Rt, va, " ");
3184
+ Rt = fn(Rt, va, " ");
3186
3185
  });
3187
3186
  const ma = Ct(w.nodeName);
3188
- if (!pa(ma, un, Rt)) {
3187
+ if (!pa(ma, hn, Rt)) {
3189
3188
  Be(At, w);
3190
3189
  continue;
3191
3190
  }
3192
3191
  if (E && typeof p == "object" && typeof p.getAttributeType == "function" && !zt)
3193
- switch (p.getAttributeType(ma, un)) {
3192
+ switch (p.getAttributeType(ma, hn)) {
3194
3193
  case "TrustedHTML": {
3195
3194
  Rt = E.createHTML(Rt);
3196
3195
  break;
@@ -3208,7 +3207,7 @@ function Xo() {
3208
3207
  }
3209
3208
  }
3210
3209
  de(A.afterSanitizeAttributes, w, null);
3211
- }, il = function tt(w) {
3210
+ }, al = function tt(w) {
3212
3211
  let W = null;
3213
3212
  const Q = ua(w);
3214
3213
  for (de(A.beforeSanitizeShadowDOM, w, null); W = Q.nextNode(); )
@@ -3220,19 +3219,19 @@ function Xo() {
3220
3219
  if (_s = !tt, _s && (tt = "<!-->"), typeof tt != "string" && !ha(tt))
3221
3220
  if (typeof tt.toString == "function") {
3222
3221
  if (tt = tt.toString(), typeof tt != "string")
3223
- throw fn("dirty is not a string, aborting");
3222
+ throw gn("dirty is not a string, aborting");
3224
3223
  } else
3225
- throw fn("toString is not a function");
3224
+ throw gn("toString is not a function");
3226
3225
  if (!t.isSupported)
3227
3226
  return tt;
3228
3227
  if (wt || Rs(w), t.removed = [], typeof tt == "string" && (ne = !1), ne) {
3229
3228
  if (tt.nodeName) {
3230
3229
  const pe = Ct(tt.nodeName);
3231
3230
  if (!X[pe] || Y[pe])
3232
- throw fn("root node is forbidden and cannot be sanitized in-place");
3231
+ throw gn("root node is forbidden and cannot be sanitized in-place");
3233
3232
  }
3234
3233
  } else if (tt instanceof o)
3235
- W = ca("<!---->"), Q = W.ownerDocument.importNode(tt, !0), Q.nodeType === mn.element && Q.nodeName === "BODY" || Q.nodeName === "HTML" ? W = Q : W.appendChild(Q);
3234
+ W = ca("<!---->"), Q = W.ownerDocument.importNode(tt, !0), Q.nodeType === vn.element && Q.nodeName === "BODY" || Q.nodeName === "HTML" ? W = Q : W.appendChild(Q);
3236
3235
  else {
3237
3236
  if (!et && !z && !U && // eslint-disable-next-line unicorn/prefer-includes
3238
3237
  tt.indexOf("<") === -1)
@@ -3243,7 +3242,7 @@ function Xo() {
3243
3242
  W && be && re(W.firstChild);
3244
3243
  const At = ua(ne ? tt : W);
3245
3244
  for (; St = At.nextNode(); )
3246
- da(St), ga(St), St.content instanceof a && il(St.content);
3245
+ da(St), ga(St), St.content instanceof a && al(St.content);
3247
3246
  if (ne)
3248
3247
  return tt;
3249
3248
  if (et) {
@@ -3255,9 +3254,9 @@ function Xo() {
3255
3254
  return (Z.shadowroot || Z.shadowrootmode) && (It = R.call(n, It, !0)), It;
3256
3255
  }
3257
3256
  let zt = U ? W.outerHTML : W.innerHTML;
3258
- return U && X["!doctype"] && W.ownerDocument && W.ownerDocument.doctype && W.ownerDocument.doctype.name && $t(Wo, W.ownerDocument.doctype.name) && (zt = "<!DOCTYPE " + W.ownerDocument.doctype.name + `>
3257
+ return U && X["!doctype"] && W.ownerDocument && W.ownerDocument.doctype && W.ownerDocument.doctype.name && $t(Xo, W.ownerDocument.doctype.name) && (zt = "<!DOCTYPE " + W.ownerDocument.doctype.name + `>
3259
3258
  ` + zt), z && Jn([H, N, M], (pe) => {
3260
- zt = pn(zt, pe, " ");
3259
+ zt = fn(zt, pe, " ");
3261
3260
  }), E && Zt ? E.createHTML(zt) : zt;
3262
3261
  }, t.setConfig = function() {
3263
3262
  let tt = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
@@ -3269,7 +3268,7 @@ function Xo() {
3269
3268
  const Q = Ct(tt), St = Ct(w);
3270
3269
  return pa(Q, St, W);
3271
3270
  }, t.addHook = function(tt, w) {
3272
- typeof w == "function" && dn(A[tt], w);
3271
+ typeof w == "function" && pn(A[tt], w);
3273
3272
  }, t.removeHook = function(tt, w) {
3274
3273
  if (w !== void 0) {
3275
3274
  const W = fd(A[tt], w);
@@ -3282,7 +3281,7 @@ function Xo() {
3282
3281
  A = Sr();
3283
3282
  }, t;
3284
3283
  }
3285
- var Ji = Xo();
3284
+ var Ji = Yo();
3286
3285
  const ts = (i) => Ji.sanitize(i, {
3287
3286
  USE_PROFILES: {
3288
3287
  html: !0,
@@ -3713,15 +3712,14 @@ const Ts = class Ts extends dt {
3713
3712
  this.configs.direction === ze.COLUMN_REVERSE
3714
3713
  ).classed(
3715
3714
  `${Kt}--${o}--layout-alignitems-center`,
3716
- this.configs.alignItems === xl.CENTER
3715
+ this.configs.alignItems === Sl.CENTER
3717
3716
  ).selectAll(`div.layout-child-${this._instanceID}`).data(this.children, (d) => d.id);
3718
3717
  c.enter().append("div").merge(n.selectAll(`div.layout-child-${this._instanceID}`)).attr("class", (d) => `layout-child layout-child-${this._instanceID} ${d.id}`).each(function(d) {
3719
3718
  d.components.forEach((u) => {
3720
- var v;
3721
3719
  const p = D(this), g = O(d, "renderType") === at.SVG;
3722
3720
  u.setParent(
3723
3721
  g ? I.appendOrSelect(p, "svg.layout-svg-wrapper").attr("width", "100%").attr("height", "100%") : p
3724
- ), g && !p.select("svg.layout-svg-wrapper").attr("aria-label") && p.select("svg.layout-svg-wrapper").attr("aria-label", ((v = e == null ? void 0 : e.accessibility) == null ? void 0 : v.svgAriaLabel) || (e == null ? void 0 : e.title));
3722
+ ), g && !p.select("svg.layout-svg-wrapper").attr("aria-label") && p.select("svg.layout-svg-wrapper").attr("aria-label", e?.accessibility?.svgAriaLabel || e?.title);
3725
3723
  const m = O(d, "growth");
3726
3724
  (m === Te.PREFERRED || m === Te.FIXED) && u.render(t);
3727
3725
  });
@@ -4030,9 +4028,9 @@ class Dd extends dt {
4030
4028
  const t = this.getComponentContainer(), e = O(this.getOptions(), "legend", "truncation"), n = O(e, "type"), s = O(e, "threshold"), a = O(e, "numCharacter"), r = t.selectAll("div.legend-item p");
4031
4029
  r.attr("id", function() {
4032
4030
  return (this.parentNode.querySelector("div.checkbox") || this.parentNode).getAttribute("aria-labelledby");
4033
- }), n !== Je.NONE ? r.html(function(o) {
4031
+ }), n !== Qe.NONE ? r.html(function(o) {
4034
4032
  const c = ue(o.name);
4035
- return c.length > s && c.length !== a ? Cn(c, n, a) : c;
4033
+ return c.length > s && c.length !== a ? kn(c, n, a) : c;
4036
4034
  }) : r.html((o) => ue(o.name));
4037
4035
  }
4038
4036
  addEventListeners() {
@@ -4044,13 +4042,13 @@ class Dd extends dt {
4044
4042
  const o = D(this);
4045
4043
  o.select("div.checkbox").classed("hovered", !0);
4046
4044
  const c = o.datum();
4047
- c.name.length > a.threshold && a.numCharacter < c.name.length && a.type !== Je.NONE && t.services.events.dispatchEvent(T.Tooltip.SHOW, {
4045
+ c.name.length > a.threshold && a.numCharacter < c.name.length && a.type !== Qe.NONE && t.services.events.dispatchEvent(T.Tooltip.SHOW, {
4048
4046
  event: r,
4049
4047
  hoveredElement: o,
4050
4048
  content: c.name
4051
4049
  });
4052
4050
  }).on("mousemove", function(r) {
4053
- D(this).datum().name.length > a.threshold && a.type !== Je.NONE && t.services.events.dispatchEvent(T.Tooltip.MOVE, {
4051
+ D(this).datum().name.length > a.threshold && a.type !== Qe.NONE && t.services.events.dispatchEvent(T.Tooltip.MOVE, {
4054
4052
  event: r
4055
4053
  });
4056
4054
  }).on("click", function() {
@@ -4061,7 +4059,7 @@ class Dd extends dt {
4061
4059
  t.model.toggleDataLabel(o.name);
4062
4060
  }).on("mouseout", function() {
4063
4061
  const r = D(this);
4064
- r.select("div.checkbox").classed("hovered", !1), r.datum().name.length > a.threshold && a.type !== Je.NONE && t.services.events.dispatchEvent(T.Tooltip.HIDE), t.services.events.dispatchEvent(T.Legend.ITEM_MOUSEOUT, {
4062
+ r.select("div.checkbox").classed("hovered", !1), r.datum().name.length > a.threshold && a.type !== Qe.NONE && t.services.events.dispatchEvent(T.Tooltip.HIDE), t.services.events.dispatchEvent(T.Legend.ITEM_MOUSEOUT, {
4065
4063
  hoveredElement: r
4066
4064
  });
4067
4065
  }), e.selectAll("div.legend-item div.checkbox").on("keyup", function(r) {
@@ -4284,9 +4282,9 @@ class Pd extends dt {
4284
4282
  }
4285
4283
  formatItems(t) {
4286
4284
  const e = this.getOptions(), n = O(e, "tooltip", "truncation", "type"), s = O(e, "tooltip", "truncation", "threshold"), a = O(e, "tooltip", "truncation", "numCharacter");
4287
- return n !== Je.NONE ? t.map((r) => {
4285
+ return n !== Qe.NONE ? t.map((r) => {
4288
4286
  const o = r.labelIcon ? 12 : 0;
4289
- return r.value = this.valueFormatter(r.value, r.label), r.label && r.label.length + o > s && (r.label = Cn(r.label, n, a)), r.value && r.value.length > s && (r.value = Cn(r.value, n, a)), r;
4287
+ return r.value = this.valueFormatter(r.value, r.label), r.label && r.label.length + o > s && (r.label = kn(r.label, n, a)), r.value && r.value.length > s && (r.value = kn(r.value, n, a)), r;
4290
4288
  }) : t.map((r) => (r.value = this.valueFormatter(r.value, r.label), r));
4291
4289
  }
4292
4290
  getTooltipHTML(t) {
@@ -4371,7 +4369,7 @@ class Pd extends dt {
4371
4369
  }
4372
4370
  let f = O(t, "detail", "mousePosition");
4373
4371
  if (!f)
4374
- f = sn(O(t, "detail", "event"), e);
4372
+ f = an(O(t, "detail", "event"), e);
4375
4373
  else {
4376
4374
  const m = O(r, "zoomBar", "top", "type"), v = jt.height[m];
4377
4375
  o && (f[1] += v + jt.spacerHeight);
@@ -4403,7 +4401,7 @@ class Pd extends dt {
4403
4401
  this.positionService.setElement(a, g);
4404
4402
  }
4405
4403
  }
4406
- const en = class en extends dt {
4404
+ const nn = class nn extends dt {
4407
4405
  constructor() {
4408
4406
  super(...arguments), this.type = "grid-brush", this.renderType = at.SVG, this.selectionSelector = "rect.selection", this.frontSelectionSelector = "rect.frontSelection";
4409
4407
  }
@@ -4430,15 +4428,15 @@ const en = class en extends dt {
4430
4428
  const g = (x) => {
4431
4429
  const b = x[1] - x[0];
4432
4430
  let k = "0," + b.toString();
4433
- const _ = Math.floor(c / en.DASH_LENGTH), G = _ * en.DASH_LENGTH;
4431
+ const _ = Math.floor(c / nn.DASH_LENGTH), G = _ * nn.DASH_LENGTH;
4434
4432
  for (let R = 0; R < _; R++)
4435
- k += "," + en.DASH_LENGTH;
4433
+ k += "," + nn.DASH_LENGTH;
4436
4434
  k += "," + (c - G), _ % 2 === 1 && (k += ",0"), k += "," + b.toString(), k += "," + c.toString(), p.attr("stroke-dasharray", k);
4437
4435
  }, m = (x) => {
4438
4436
  const b = x.selection;
4439
4437
  b === null || b[0] === b[1] || (p.attr("x", parseFloat(r.attr("x")) + parseFloat(s.attr("x"))).attr("y", r.attr("y")).attr("width", r.attr("width")).attr("height", r.attr("height")).style("cursor", "pointer").style("display", null), g(b));
4440
4438
  }, v = (x, b) => {
4441
- const k = Ll().range([0, o]).domain(f);
4439
+ const k = Al().range([0, o]).domain(f);
4442
4440
  let _ = [k.invert(x), k.invert(b)];
4443
4441
  _[0].valueOf() === _[1].valueOf() && (_ = this.services.zoom.getDefaultZoomBarDomain()), (f[0].valueOf() !== _[0].valueOf() || f[1].valueOf() !== _[1].valueOf()) && this.services.zoom.handleDomainChange(_);
4444
4442
  };
@@ -4454,7 +4452,7 @@ const en = class en extends dt {
4454
4452
  const E = this.services.zoom.getZoomRatio();
4455
4453
  s.on("click", function(x) {
4456
4454
  if (x.shiftKey) {
4457
- const b = this.services.domUtils.getHolder(), k = sn(a.node(), b)[0];
4455
+ const b = this.services.domUtils.getHolder(), k = an(a.node(), b)[0];
4458
4456
  let _ = k - o * E / 2;
4459
4457
  _ < 0 && (_ = 0);
4460
4458
  let G = k + o * E / 2;
@@ -4464,8 +4462,8 @@ const en = class en extends dt {
4464
4462
  }
4465
4463
  }
4466
4464
  };
4467
- en.DASH_LENGTH = 4;
4468
- let Ar = en;
4465
+ nn.DASH_LENGTH = 4;
4466
+ let Ar = nn;
4469
4467
  class um extends dt {
4470
4468
  constructor() {
4471
4469
  super(...arguments), this.type = "zoom-bar", this.renderType = at.SVG, this.MIN_SELECTION_DIFF = 9e-10, this.brushSelector = "g.zoom-bar-brush", this.clipId = "zoomBarClip-" + Math.floor(Math.random() * 99999999999), this.brush = po(), this.highlightStrokeWidth = 1;
@@ -4517,14 +4515,14 @@ class um extends dt {
4517
4515
  y && y[0] && y[1] && (y[0] = new Date(y[0]), y[1] = new Date(y[1])), y && !(S && S[0].valueOf() === y[0].valueOf() && S[1].valueOf() === y[1].valueOf()) ? this.model.set(
4518
4516
  {
4519
4517
  // use a new object instead of newInitialZoomDomain
4520
- initialZoomDomain: nn([], y),
4521
- zoomDomain: y ? nn([], y) : v
4518
+ initialZoomDomain: sn([], y),
4519
+ zoomDomain: y ? sn([], y) : v
4522
4520
  },
4523
4521
  { skipUpdate: !0 }
4524
4522
  ) : y === null && S !== null && this.model.set(
4525
4523
  {
4526
4524
  initialZoomDomain: null,
4527
- zoomDomain: nn([], v)
4525
+ zoomDomain: sn([], v)
4528
4526
  },
4529
4527
  { skipUpdate: !0 }
4530
4528
  ), this.xScale.range([l, c]).domain(v), this.maxSelectionRange = this.xScale.range(), this.yScale.range([0, o - 6]).domain(Os(m, (b) => b.value));
@@ -4628,7 +4626,7 @@ class um extends dt {
4628
4626
  compensateDataForDefaultDomain(t, e) {
4629
4627
  if (!t || t.length < 2)
4630
4628
  return;
4631
- const n = dl(t), s = this.services.cartesianScales.getDomainIdentifier(), a = this.services.cartesianScales.getRangeIdentifier();
4629
+ const n = pl(t), s = this.services.cartesianScales.getDomainIdentifier(), a = this.services.cartesianScales.getRangeIdentifier();
4632
4630
  if (Number(e[0]) < Number(n[0][s])) {
4633
4631
  const r = {};
4634
4632
  r[s] = e[0], r[a] = 0, n.unshift(r);
@@ -4645,7 +4643,7 @@ class um extends dt {
4645
4643
  "zoomBar",
4646
4644
  J.TOP,
4647
4645
  "type"
4648
- ), r = jt.height[a], o = Nn()([
4646
+ ), r = jt.height[a], o = Pn()([
4649
4647
  [e, r],
4650
4648
  [n, r]
4651
4649
  ]);
@@ -4673,8 +4671,8 @@ class hm extends dt {
4673
4671
  p.thresholds && p.thresholds.length > 0 && n.push({
4674
4672
  axisPosition: u,
4675
4673
  thresholds: p.thresholds,
4676
- correspondingDatasets: p == null ? void 0 : p.correspondingDatasets,
4677
- mapsTo: p == null ? void 0 : p.mapsTo
4674
+ correspondingDatasets: p?.correspondingDatasets,
4675
+ mapsTo: p?.mapsTo
4678
4676
  });
4679
4677
  }
4680
4678
  });
@@ -4753,7 +4751,7 @@ class hm extends dt {
4753
4751
  ).classed("hidden", !0);
4754
4752
  }
4755
4753
  setThresholdLabelPosition({ event: t, datum: e }) {
4756
- const n = this.services.domUtils.getHolder(), s = sn(t, n), a = e.valueFormatter ? e.valueFormatter(e.value) : this.getFormattedValue(e);
4754
+ const n = this.services.domUtils.getHolder(), s = an(t, n), a = e.valueFormatter ? e.valueFormatter(e.value) : this.getFormattedValue(e);
4757
4755
  this.label.html(ue(`${e.label || "Threshold"}: ${a}`)).style("background-color", e.fillColor);
4758
4756
  const r = this.label.node(), o = this.positionService.findBestPlacementAt(
4759
4757
  {
@@ -4992,7 +4990,7 @@ function Vd(i) {
4992
4990
  function Gd(i, t) {
4993
4991
  return t - 1 - i.height;
4994
4992
  }
4995
- function Yo(i, t) {
4993
+ function Zo(i, t) {
4996
4994
  return i.sourceLinks.length ? i.depth : t - 1;
4997
4995
  }
4998
4996
  function es(i) {
@@ -5036,7 +5034,7 @@ function _r({ nodes: i }) {
5036
5034
  }
5037
5035
  }
5038
5036
  function Ud() {
5039
- let i = 0, t = 0, e = 1, n = 1, s = 24, a = 8, r, o = Hd, c = Yo, l, h, d = Bd, u = zd, p = 6;
5037
+ let i = 0, t = 0, e = 1, n = 1, s = 24, a = 8, r, o = Hd, c = Zo, l, h, d = Bd, u = zd, p = 6;
5040
5038
  function f() {
5041
5039
  const L = { nodes: d.apply(null, arguments), links: u.apply(null, arguments) };
5042
5040
  return g(L), m(L), v(L), S(L), x(L), _r(L), L;
@@ -5236,10 +5234,10 @@ function Hi() {
5236
5234
  this._x0 = this._y0 = // start of current subpath
5237
5235
  this._x1 = this._y1 = null, this._ = "";
5238
5236
  }
5239
- function Zo() {
5237
+ function qo() {
5240
5238
  return new Hi();
5241
5239
  }
5242
- Hi.prototype = Zo.prototype = {
5240
+ Hi.prototype = qo.prototype = {
5243
5241
  constructor: Hi,
5244
5242
  moveTo: function(i, t) {
5245
5243
  this._ += "M" + (this._x0 = this._x1 = +i) + "," + (this._y0 = this._y1 = +t);
@@ -5304,7 +5302,7 @@ function jd(i) {
5304
5302
  var t = Zd, e = qd, n = Wd, s = Xd, a = null;
5305
5303
  function r() {
5306
5304
  var o, c = Yd.call(arguments), l = t.apply(this, c), h = e.apply(this, c);
5307
- if (a || (a = o = Zo()), i(a, +n.apply(this, (c[0] = l, c)), +s.apply(this, c), +n.apply(this, (c[0] = h, c)), +s.apply(this, c)), o) return a = null, o + "" || null;
5305
+ if (a || (a = o = qo()), i(a, +n.apply(this, (c[0] = l, c)), +s.apply(this, c), +n.apply(this, (c[0] = h, c)), +s.apply(this, c)), o) return a = null, o + "" || null;
5308
5306
  }
5309
5307
  return r.source = function(o) {
5310
5308
  return arguments.length ? (t = o, r) : t;
@@ -5357,7 +5355,7 @@ class fm extends dt {
5357
5355
  let c = se.minNodePadding;
5358
5356
  a.alluvial.nodePadding > se.minNodePadding && (c = a.alluvial.nodePadding);
5359
5357
  const l = O(a, "alluvial", "nodeAlignment");
5360
- let h = Yo;
5358
+ let h = Zo;
5361
5359
  l === te.LEFT ? h = Vd : l === te.RIGHT && (h = Gd);
5362
5360
  const d = Ud().nodeId((y) => y.name).nodeWidth(se.nodeWidth).nodePadding(c).nodeAlign(h).extent([
5363
5361
  [2, 30],
@@ -5370,7 +5368,7 @@ class fm extends dt {
5370
5368
  const u = {};
5371
5369
  this.graph.nodes.forEach((y) => {
5372
5370
  const E = y.x0;
5373
- y.category && (u[E] = y == null ? void 0 : y.category);
5371
+ y.category && (u[E] = y?.category);
5374
5372
  }), e.append("g").classed("header-arrows", !0).selectAll("g").data(Object.keys(u)).join("g").attr("transform", (y) => `translate(${y}, 0)`).append("text").attr(
5375
5373
  "id",
5376
5374
  (y, E) => this.services.domUtils.generateElementIDString(`alluvial-category-${E}`)
@@ -5825,7 +5823,7 @@ class vm extends dt {
5825
5823
  o,
5826
5824
  c,
5827
5825
  a.getOrientation()
5828
- ), d = this.getOptions(), u = Nn().x(l).y(h).curve(r.getD3Curve()).defined((v) => {
5826
+ ), d = this.getOptions(), u = Pn().x(l).y(h).curve(r.getD3Curve()).defined((v) => {
5829
5827
  const S = a.getRangeIdentifier(v), y = v[S];
5830
5828
  return y != null;
5831
5829
  });
@@ -5844,7 +5842,7 @@ class vm extends dt {
5844
5842
  [S]: k[S],
5845
5843
  [b]: k[1]
5846
5844
  })),
5847
- hidden: !wc(E, (k) => k[0] !== k[1])
5845
+ hidden: !Cc(E, (k) => k[0] !== k[1])
5848
5846
  };
5849
5847
  });
5850
5848
  } else
@@ -5892,7 +5890,7 @@ const Rr = 5;
5892
5890
  function np(i, t) {
5893
5891
  return i > t - Rr && i < t + Rr;
5894
5892
  }
5895
- class qo extends dt {
5893
+ class jo extends dt {
5896
5894
  constructor() {
5897
5895
  super(...arguments), this.type = "ruler", this.renderType = at.SVG, this.isXGridEnabled = O(this.getOptions(), "grid", "x", "enabled"), this.isYGridEnabled = O(this.getOptions(), "grid", "y", "enabled"), this.isEventListenerAdded = !1;
5898
5896
  }
@@ -5957,12 +5955,12 @@ class qo extends dt {
5957
5955
  this.isEventListenerAdded = !0;
5958
5956
  const t = this, e = this.services.domUtils.getHolder(), n = this.model.getDisplayData();
5959
5957
  let s = function(a) {
5960
- const r = sn(a, t.parent.node());
5958
+ const r = an(a, t.parent.node());
5961
5959
  t.showRuler(a, r);
5962
5960
  };
5963
5961
  if (n.length > 100) {
5964
5962
  const a = n.length % 50 * 12.5;
5965
- s = pl(
5963
+ s = fl(
5966
5964
  function(r) {
5967
5965
  const { mousePosition: o } = this;
5968
5966
  t.showRuler(r, o);
@@ -5983,47 +5981,35 @@ class Qi extends dt {
5983
5981
  super(...arguments), this.type = "scatter", this.renderType = at.SVG, this.handleChartHolderOnHover = () => {
5984
5982
  if (!this.parent) throw new Error("Parent not defined");
5985
5983
  this.parent.selectAll("circle.dot").transition("chart-holder-hover-scatter").call(
5986
- (t) => {
5987
- var e;
5988
- return (e = this.services.transitions) == null ? void 0 : e.setupTransition({
5989
- transition: t,
5990
- name: "chart-holder-hover-scatter"
5991
- });
5992
- }
5984
+ (t) => this.services.transitions?.setupTransition({
5985
+ transition: t,
5986
+ name: "chart-holder-hover-scatter"
5987
+ })
5993
5988
  ).attr("opacity", 1);
5994
5989
  }, this.handleChartHolderOnMouseOut = () => {
5995
5990
  if (!this.parent) throw new Error("Parent not defined");
5996
5991
  this.parent.selectAll("circle.dot").transition("chart-holder-mouseout-scatter").call(
5997
- (t) => {
5998
- var e;
5999
- return (e = this.services.transitions) == null ? void 0 : e.setupTransition({
6000
- transition: t,
6001
- name: "chart-holder-mouseout-scatter"
6002
- });
6003
- }
5992
+ (t) => this.services.transitions?.setupTransition({
5993
+ transition: t,
5994
+ name: "chart-holder-mouseout-scatter"
5995
+ })
6004
5996
  ).attr("opacity", 0);
6005
5997
  }, this.handleLegendOnHover = (t) => {
6006
5998
  const { hoveredElement: e } = t.detail, { groupMapsTo: n } = this.getOptions().data;
6007
5999
  if (!this.parent) throw new Error("Parent not defined");
6008
6000
  this.parent.selectAll("circle.dot").transition("legend-hover-scatter").call(
6009
- (s) => {
6010
- var a;
6011
- return (a = this.services.transitions) == null ? void 0 : a.setupTransition({
6012
- transition: s,
6013
- name: "legend-hover-scatter"
6014
- });
6015
- }
6001
+ (s) => this.services.transitions?.setupTransition({
6002
+ transition: s,
6003
+ name: "legend-hover-scatter"
6004
+ })
6016
6005
  ).attr("opacity", (s) => s[n] !== e.datum().name ? 0.3 : 1);
6017
6006
  }, this.handleLegendMouseOut = () => {
6018
6007
  if (!this.parent) throw new Error("Parent not defined");
6019
6008
  this.parent.selectAll("circle.dot").transition("legend-mouseout-scatter").call(
6020
- (t) => {
6021
- var e;
6022
- return (e = this.services.transitions) == null ? void 0 : e.setupTransition({
6023
- transition: t,
6024
- name: "legend-mouseout-scatter"
6025
- });
6026
- }
6009
+ (t) => this.services.transitions?.setupTransition({
6010
+ transition: t,
6011
+ name: "legend-mouseout-scatter"
6012
+ })
6027
6013
  ).attr("opacity", 1);
6028
6014
  };
6029
6015
  }
@@ -6117,14 +6103,11 @@ class Qi extends dt {
6117
6103
  const f = r.getDomainIdentifier(p);
6118
6104
  return !this.model.getIsFilled(p[o], p[f], p, s);
6119
6105
  }).transition().call(
6120
- (p) => {
6121
- var f;
6122
- return (f = this.services.transitions) == null ? void 0 : f.setupTransition({
6123
- transition: p,
6124
- name: "scatter-update-enter",
6125
- animate: e
6126
- });
6127
- }
6106
+ (p) => this.services.transitions?.setupTransition({
6107
+ transition: p,
6108
+ name: "scatter-update-enter",
6109
+ animate: e
6110
+ })
6128
6111
  ).attr("cx", h).attr("cy", d).attr("r", n.points.radius).style("fill", (p) => {
6129
6112
  const f = r.getDomainIdentifier(p);
6130
6113
  if (this.model.getIsFilled(p[o], p[f], p, s))
@@ -6148,70 +6131,64 @@ class Qi extends dt {
6148
6131
  const t = this, { groupMapsTo: e } = t.getOptions().data;
6149
6132
  if (!this.parent) throw new Error("Parent not defined");
6150
6133
  this.parent.selectAll("circle").on("mouseover", function(n, s) {
6151
- var r, o;
6152
6134
  const a = D(this);
6153
6135
  a.classed("hovered", !0).attr(
6154
6136
  "class",
6155
- (c) => t.model.getColorClassName({
6137
+ (r) => t.model.getColorClassName({
6156
6138
  classNameTypes: [nt.FILL],
6157
- dataGroupName: c[e],
6139
+ dataGroupName: r[e],
6158
6140
  originalClassName: a.attr("class")
6159
6141
  })
6160
- ).style("fill", (c) => {
6161
- var h;
6162
- const l = (h = t.services.cartesianScales) == null ? void 0 : h.getDomainIdentifier(c);
6163
- return t.model.getFillColor(c[e], c[l], c);
6164
- }).classed("unfilled", !1), (r = t.services.events) == null || r.dispatchEvent(T.Tooltip.SHOW, {
6142
+ ).style("fill", (r) => {
6143
+ const o = t.services.cartesianScales?.getDomainIdentifier(r);
6144
+ return t.model.getFillColor(r[e], r[o], r);
6145
+ }).classed("unfilled", !1), t.services.events?.dispatchEvent(T.Tooltip.SHOW, {
6165
6146
  event: n,
6166
6147
  hoveredElement: a,
6167
6148
  data: [s],
6168
6149
  additionalItems: t.getTooltipAdditionalItems(s)
6169
- }), (o = t.services.events) == null || o.dispatchEvent(T.Scatter.SCATTER_MOUSEOVER, {
6150
+ }), t.services.events?.dispatchEvent(T.Scatter.SCATTER_MOUSEOVER, {
6170
6151
  event: n,
6171
6152
  element: a,
6172
6153
  datum: s
6173
6154
  });
6174
6155
  }).on("mousemove", function(n, s) {
6175
- var r, o;
6176
6156
  const a = D(this);
6177
- (r = t.services.events) == null || r.dispatchEvent(T.Scatter.SCATTER_MOUSEMOVE, {
6157
+ t.services.events?.dispatchEvent(T.Scatter.SCATTER_MOUSEMOVE, {
6178
6158
  event: n,
6179
6159
  element: a,
6180
6160
  datum: s
6181
- }), (o = t.services.events) == null || o.dispatchEvent(T.Tooltip.MOVE, {
6161
+ }), t.services.events?.dispatchEvent(T.Tooltip.MOVE, {
6182
6162
  event: n
6183
6163
  });
6184
6164
  }).on("click", function(n, s) {
6185
- var a;
6186
- (a = t.services.events) == null || a.dispatchEvent(T.Scatter.SCATTER_CLICK, {
6165
+ t.services.events?.dispatchEvent(T.Scatter.SCATTER_CLICK, {
6187
6166
  event: n,
6188
6167
  element: D(this),
6189
6168
  datum: s
6190
6169
  });
6191
6170
  }).on("mouseout", function(n, s) {
6192
- var r, o, c;
6193
6171
  const a = D(this);
6194
6172
  if (a.classed("hovered", !1), !t.configs.filled) {
6195
- const { filled: l } = t.getOptions().points, h = (r = t.services.cartesianScales) == null ? void 0 : r.getDomainIdentifier(s), d = t.model.getIsFilled(
6173
+ const { filled: r } = t.getOptions().points, o = t.services.cartesianScales?.getDomainIdentifier(s), c = t.model.getIsFilled(
6196
6174
  s[e],
6197
- s[h],
6175
+ s[o],
6198
6176
  s,
6199
- l
6177
+ r
6200
6178
  );
6201
- a.classed("unfilled", !d).style("fill", (u) => d || l ? t.model.getFillColor(u[e], u[h], u) : null);
6179
+ a.classed("unfilled", !c).style("fill", (l) => c || r ? t.model.getFillColor(l[e], l[o], l) : null);
6202
6180
  }
6203
- (o = t.services.events) == null || o.dispatchEvent(T.Scatter.SCATTER_MOUSEOUT, {
6181
+ t.services.events?.dispatchEvent(T.Scatter.SCATTER_MOUSEOUT, {
6204
6182
  event: n,
6205
6183
  element: a,
6206
6184
  datum: s
6207
- }), (c = t.services.events) == null || c.dispatchEvent(T.Tooltip.HIDE, {
6185
+ }), t.services.events?.dispatchEvent(T.Tooltip.HIDE, {
6208
6186
  hoveredElement: a
6209
6187
  });
6210
6188
  });
6211
6189
  }
6212
6190
  destroy() {
6213
- var e;
6214
- (e = this.parent) == null || e.selectAll("circle").on("mousemove", null).on("mouseout", null);
6191
+ this.parent?.selectAll("circle").on("mousemove", null).on("mouseout", null);
6215
6192
  const { events: t } = this.services;
6216
6193
  if (!t) throw new Error("Services events undefined");
6217
6194
  t.removeEventListener(
@@ -6220,7 +6197,7 @@ class Qi extends dt {
6220
6197
  ), t.removeEventListener(T.Legend.ITEM_MOUSEOUT, this.handleLegendMouseOut), t.removeEventListener(T.Chart.MOUSEOVER, this.handleChartHolderOnHover), t.removeEventListener(T.Chart.MOUSEOUT, this.handleChartHolderOnMouseOut);
6221
6198
  }
6222
6199
  }
6223
- class jo extends dt {
6200
+ class Ko extends dt {
6224
6201
  constructor(t, e, n) {
6225
6202
  super(t, e, n), this.type = "axes", this.renderType = at.SVG, this.truncation = {
6226
6203
  [J.LEFT]: !1,
@@ -6248,10 +6225,10 @@ class jo extends dt {
6248
6225
  u = Fi;
6249
6226
  break;
6250
6227
  case J.RIGHT:
6251
- u = $c;
6228
+ u = Vc;
6252
6229
  break;
6253
6230
  case J.TOP:
6254
- u = Pc;
6231
+ u = $c;
6255
6232
  break;
6256
6233
  }
6257
6234
  c.attr("aria-label", `${e} axis`);
@@ -6270,10 +6247,10 @@ class jo extends dt {
6270
6247
  const P = this.scaleType || m.scaleType || kt.LINEAR, $ = u(d).tickSizeOuter(0);
6271
6248
  if (d.ticks) {
6272
6249
  let Y;
6273
- if (A ? Y = b : (Y = Ke.ticks.number, S && (Y = this.getNumberOfFittingTicks(
6250
+ if (A ? Y = b : (Y = Je.ticks.number, S && (Y = this.getNumberOfFittingTicks(
6274
6251
  o,
6275
6252
  L,
6276
- Ke.ticks.verticalSpaceRatio
6253
+ Je.ticks.verticalSpaceRatio
6277
6254
  ))), d.ticks().length === 1 && d.ticks()[0] === 0 && (Y = 0), $.ticks(Y), v)
6278
6255
  if (!d.ticks(Y).length)
6279
6256
  $.tickValues([]);
@@ -6380,7 +6357,7 @@ class jo extends dt {
6380
6357
  })
6381
6358
  )), f = f.call($), ot.selectAll(".tick").data($.tickValues(), d).order().select("text").attr(
6382
6359
  "class",
6383
- (st, it) => fl(st, it, $.tickValues(), Y, K) ? "tick-label--primary" : "tick-label"
6360
+ (st, it) => gl(st, it, $.tickValues(), Y, K) ? "tick-label--primary" : "tick-label"
6384
6361
  );
6385
6362
  } else
6386
6363
  !t || !p ? f = f.call($) : f = f.transition().call(
@@ -6416,19 +6393,19 @@ class jo extends dt {
6416
6393
  }), ot.remove();
6417
6394
  }
6418
6395
  Y ? (A || ($.ticks(
6419
- this.getNumberOfFittingTicks(r, L, Ke.ticks.horizontalSpaceRatio)
6396
+ this.getNumberOfFittingTicks(r, L, Je.ticks.horizontalSpaceRatio)
6420
6397
  ), g.call($), f.call($)), c.selectAll("g.ticks g.tick text").attr("transform", "rotate(-45)").attr("text-anchor", e === J.TOP ? "start" : "end")) : c.selectAll("g.ticks g.tick text").attr("transform", null).attr("text-anchor", null);
6421
6398
  }
6422
- if (x ? c.attr("opacity", 0) : c.attr("opacity", 1), f.selectAll("g.tick").attr("aria-label", (Y) => Y), g.selectAll("g.tick").attr("aria-label", (Y) => Y), _ !== Je.NONE && E === kt.LABELS && !k) {
6399
+ if (x ? c.attr("opacity", 0) : c.attr("opacity", 1), f.selectAll("g.tick").attr("aria-label", (Y) => Y), g.selectAll("g.tick").attr("aria-label", (Y) => Y), _ !== Qe.NONE && E === kt.LABELS && !k) {
6423
6400
  const Y = this.services.cartesianScales.getScaleDomain(e);
6424
6401
  if (Y.length > 0) {
6425
6402
  const K = a.select(`g.axis.${e} g.ticks g.tick`).html();
6426
6403
  c.selectAll("g.ticks g.tick").html(K);
6427
6404
  const ot = this;
6428
6405
  c.selectAll("g.tick text").data(Y).text(function(ct) {
6429
- return ct.length > G ? (ot.truncation[e] = !0, Cn(ct, _, R)) : ct;
6406
+ return ct.length > G ? (ot.truncation[e] = !0, kn(ct, _, R)) : ct;
6430
6407
  }), this.getInvisibleAxisRef().selectAll("g.tick text").data(Y).text(function(ct) {
6431
- return ct.length > G ? Cn(ct, _, R) : ct;
6408
+ return ct.length > G ? kn(ct, _, R) : ct;
6432
6409
  }), c.selectAll("g.ticks").html(this.getInvisibleAxisRef().html()), c.selectAll("g.tick text").data(Y);
6433
6410
  }
6434
6411
  }
@@ -6478,14 +6455,14 @@ class jo extends dt {
6478
6455
  }
6479
6456
  getNumberOfFittingTicks(t, e, n) {
6480
6457
  const s = Math.floor(t / (e * n));
6481
- return lo(s, 2, Ke.ticks.number);
6458
+ return lo(s, 2, Je.ticks.number);
6482
6459
  }
6483
6460
  destroy() {
6484
6461
  const t = this.getComponentContainer(), { position: e } = this.configs;
6485
6462
  I.appendOrSelect(t, `g.axis.${e}`).selectAll("g.tick text").on("mouseover", null).on("mousemove", null).on("mouseout", null);
6486
6463
  }
6487
6464
  }
6488
- class sp extends jo {
6465
+ class sp extends Ko {
6489
6466
  constructor(t, e, n) {
6490
6467
  super(t, e, n);
6491
6468
  }
@@ -6515,7 +6492,7 @@ class sp extends jo {
6515
6492
  p = -(h / 2), f = d / 2 - 2, a.truncation[e] && (p = -h, u.attr("transform", "rotate(-45)"));
6516
6493
  break;
6517
6494
  }
6518
- u.attr("x", p - Ke.hover.rectanglePadding).attr("y", f).attr("width", h + Ke.hover.rectanglePadding * 2).attr("height", d).lower();
6495
+ u.attr("x", p - Je.hover.rectanglePadding).attr("y", f).attr("width", h + Je.hover.rectanglePadding * 2).attr("height", d).lower();
6519
6496
  }), this.addEventListeners();
6520
6497
  }
6521
6498
  addEventListeners() {
@@ -6611,7 +6588,7 @@ class ym extends dt {
6611
6588
  position: c,
6612
6589
  axes: this.configs.axes,
6613
6590
  margins: this.margins
6614
- }, h = this.model.axisFlavor === Sl.DEFAULT ? new jo(this.model, this.services, l) : new sp(this.model, this.services, l);
6591
+ }, h = this.model.axisFlavor === bl.DEFAULT ? new Ko(this.model, this.services, l) : new sp(this.model, this.services, l);
6615
6592
  h.setModel(this.model), h.setServices(this.services), h.setParent(this.parent), this.children[c] = h;
6616
6593
  }
6617
6594
  }), Object.keys(this.children).forEach((o) => {
@@ -6657,13 +6634,13 @@ class ip extends dt {
6657
6634
  e ? this.renderSkeleton(e) : this.removeSkeleton();
6658
6635
  }
6659
6636
  renderSkeleton(t) {
6660
- if (this.configs.skeleton === Bn.GRID)
6637
+ if (this.configs.skeleton === zn.GRID)
6661
6638
  this.renderGridSkeleton(t);
6662
- else if (this.configs.skeleton === Bn.VERT_OR_HORIZ)
6639
+ else if (this.configs.skeleton === zn.VERT_OR_HORIZ)
6663
6640
  this.renderVertOrHorizSkeleton(t);
6664
- else if (this.configs.skeleton === Bn.PIE)
6641
+ else if (this.configs.skeleton === zn.PIE)
6665
6642
  this.renderPieSkeleton(t);
6666
- else if (this.configs.skeleton === Bn.DONUT)
6643
+ else if (this.configs.skeleton === zn.DONUT)
6667
6644
  this.renderDonutSkeleton(t);
6668
6645
  else
6669
6646
  throw new Error(`"${this.configs.skeleton}" is not a valid Skeleton type.`);
@@ -6719,7 +6696,7 @@ class ip extends dt {
6719
6696
  useAttrs: !0
6720
6697
  }), o = I.appendOrSelect(s, "svg.chart-skeleton").attr("width", a).attr("height", r).attr("role", "presentation"), c = e === 0 ? "pie" : "donut", l = O(this.getOptions(), c, "alignment");
6721
6698
  I.appendOrSelect(o, "rect.chart-skeleton-area-container").attr("width", a).attr("height", r).attr("fill", "none");
6722
- const h = Rn().innerRadius(e).outerRadius(t).startAngle(0).endAngle(Math.PI * 2), d = t + Math.abs(Et.radiusOffset), u = t + (Math.min(a, r) - t * 2) / 2, p = I.appendOrSelect(o, "path").attr("class", "skeleton-area-shape").attr("transform", `translate(${d}, ${u})`).attr("d", h).classed("shimmer-effect-areas", n).classed("empty-state-areas", !n).style(
6699
+ const h = Dn().innerRadius(e).outerRadius(t).startAngle(0).endAngle(Math.PI * 2), d = t + Math.abs(Et.radiusOffset), u = t + (Math.min(a, r) - t * 2) / 2, p = I.appendOrSelect(o, "path").attr("class", "skeleton-area-shape").attr("transform", `translate(${d}, ${u})`).attr("d", h).classed("shimmer-effect-areas", n).classed("empty-state-areas", !n).style(
6723
6700
  "fill",
6724
6701
  n ? `url(#${this.services.domUtils.generateElementIDString("shimmer-areas")})` : null
6725
6702
  );
@@ -6749,7 +6726,7 @@ class ip extends dt {
6749
6726
  `;
6750
6727
  u.html(p), f();
6751
6728
  function f() {
6752
- u.attr("gradientTransform", `translate(${l - 3 * 0.2 * c}, 0)`).transition().duration(2e3).delay(1e3).ease(Bc).attr("gradientTransform", `translate(${h + 3 * 0.2 * c}, 0)`).on("end", f);
6729
+ u.attr("gradientTransform", `translate(${l - 3 * 0.2 * c}, 0)`).transition().duration(2e3).delay(1e3).ease(zc).attr("gradientTransform", `translate(${h + 3 * 0.2 * c}, 0)`).on("end", f);
6753
6730
  }
6754
6731
  }
6755
6732
  removeSkeleton() {
@@ -7033,7 +7010,7 @@ class xm extends dt {
7033
7010
  const [c, l] = this.services.cartesianScales.getDomainScale().range();
7034
7011
  let h = +n(0) + 0.5;
7035
7012
  h || (h = n.range()[0]);
7036
- const d = gl(
7013
+ const d = ml(
7037
7014
  {
7038
7015
  x0: c,
7039
7016
  x1: l,
@@ -7479,7 +7456,7 @@ function dp(i, t) {
7479
7456
  })
7480
7457
  };
7481
7458
  }
7482
- class Tm extends qo {
7459
+ class Tm extends jo {
7483
7460
  constructor() {
7484
7461
  super(...arguments), this.type = "ruler-binned", this.renderType = at.SVG;
7485
7462
  }
@@ -7530,7 +7507,7 @@ class Tm extends qo {
7530
7507
  this.hideRuler();
7531
7508
  }
7532
7509
  }
7533
- class Om extends qo {
7510
+ class Om extends jo {
7534
7511
  formatTooltipData(t) {
7535
7512
  return t.reverse();
7536
7513
  }
@@ -7612,7 +7589,7 @@ class Dm extends Dd {
7612
7589
  n.html("");
7613
7590
  return;
7614
7591
  }
7615
- const h = !Wr(a), d = ml(this.model.getDisplayData()), u = !(s <= Mt.color.barWidth), p = u ? Mt.color.barWidth : s, f = I.appendOrSelect(n, "g.legend"), g = I.appendOrSelect(f, "g.legend-axis");
7592
+ const h = !Wr(a), d = vl(this.model.getDisplayData()), u = !(s <= Mt.color.barWidth), p = u ? Mt.color.barWidth : s, f = I.appendOrSelect(n, "g.legend"), g = I.appendOrSelect(f, "g.legend-axis");
7616
7593
  if (c) {
7617
7594
  const R = I.appendOrSelect(n, "g.legend-title");
7618
7595
  I.appendOrSelect(R, "text").text(c).attr("dy", "0.7em"), f.attr("transform", "translate(0, 16)");
@@ -7628,7 +7605,7 @@ class Dm extends Dd {
7628
7605
  v.push(
7629
7606
  r === Vs.LINEAR ? `stop-color-${m}-${o}-${R}` : `fill-${m}-${o}-${R}`
7630
7607
  );
7631
- const y = Xr(d[0], d[1]), E = Hc(y, 3), x = Re().domain(d).range([0, p]), b = Fi(x).tickSize(0).tickValues(E), { code: k, number: _ } = O(e, "locale");
7608
+ const y = Xr(d[0], d[1]), E = Bc(y, 3), x = Re().domain(d).range([0, p]), b = Fi(x).tickSize(0).tickValues(E), { code: k, number: _ } = O(e, "locale");
7632
7609
  b.tickFormat((R) => _(R, k));
7633
7610
  let G;
7634
7611
  switch (r) {
@@ -7810,7 +7787,7 @@ class Pm extends dt {
7810
7787
  transition: n,
7811
7788
  name: "legend-hover-circlepack"
7812
7789
  })
7813
- ).attr("opacity", (n) => n.data.dataGroupName === e.datum().name ? 1 : hn.circles.fillOpacity);
7790
+ ).attr("opacity", (n) => n.data.dataGroupName === e.datum().name ? 1 : dn.circles.fillOpacity);
7814
7791
  }, this.handleLegendMouseOut = () => {
7815
7792
  this.parent.selectAll("circle.node").transition("legend-mouseout-circlepack").call(
7816
7793
  (t) => this.services.transitions.setupTransition({
@@ -7835,7 +7812,7 @@ class Pm extends dt {
7835
7812
  let a = this.model.getDisplayData();
7836
7813
  const r = this.model.hasParentNode(), o = this.model.getHierarchyLevel(), c = this.getOptions(), l = O(c, "canvasZoom", "enabled");
7837
7814
  r && O(a, 0, "children") && (a = O(a, 0, "children"));
7838
- const h = Dn({ children: a }).sum((g) => g.value).sort((g, m) => m.value - g.value), u = Rh().size([n, s]).padding((g) => g.depth >= 1 ? hn.padding.children + 3 : hn.padding.mainGroup + 3)(h).descendants().splice(1).filter((g) => g.depth <= o), p = e.selectAll("circle.node").data(u);
7815
+ const h = Nn({ children: a }).sum((g) => g.value).sort((g, m) => m.value - g.value), u = Rh().size([n, s]).padding((g) => g.depth >= 1 ? dn.padding.children + 3 : dn.padding.mainGroup + 3)(h).descendants().splice(1).filter((g) => g.depth <= o), p = e.selectAll("circle.node").data(u);
7839
7816
  p.exit().attr("width", 0).attr("height", 0).remove();
7840
7817
  const f = p.enter().append("circle").classed("node", !0);
7841
7818
  f.merge(p).attr("class", (g) => {
@@ -7850,7 +7827,7 @@ class Pm extends dt {
7850
7827
  transition: g,
7851
7828
  name: "circlepack-leaf-update-enter"
7852
7829
  })
7853
- ).attr("r", (g) => g.r).attr("opacity", 1).attr("fill-opacity", hn.circles.fillOpacity), l === !0 && this.focal && (this.services.canvasZoom.zoomIn(this.focal, f, Hn), this.setBackgroundListeners()), r || this.addLegendListeners(), this.addEventListeners();
7830
+ ).attr("r", (g) => g.r).attr("opacity", 1).attr("fill-opacity", dn.circles.fillOpacity), l === !0 && this.focal && (this.services.canvasZoom.zoomIn(this.focal, f, Bn), this.setBackgroundListeners()), r || this.addLegendListeners(), this.addEventListeners();
7854
7831
  }
7855
7832
  // turn off the highlight class on children circles
7856
7833
  unhighlightChildren(t) {
@@ -7860,7 +7837,7 @@ class Pm extends dt {
7860
7837
  // highlight the children circles with a stroke
7861
7838
  highlightChildren(t) {
7862
7839
  const e = t.map((n) => n.data);
7863
- this.parent.selectAll("circle.node").filter((n) => e.some((s) => s === n.data) && n.depth > 1).style("stroke", hn.circles.hover.stroke);
7840
+ this.parent.selectAll("circle.node").filter((n) => e.some((s) => s === n.data) && n.depth > 1).style("stroke", dn.circles.hover.stroke);
7864
7841
  }
7865
7842
  getZoomClass(t) {
7866
7843
  return this.model.getHierarchyLevel() === 3 && this.focal && (t.data === this.focal.data || this.focal.children.some((e) => e.data === t.data)) ? "focal" : "non-focal";
@@ -7875,7 +7852,7 @@ class Pm extends dt {
7875
7852
  setBackgroundListeners() {
7876
7853
  const t = D(this.services.domUtils.getMainContainer()), e = this, n = this.parent.selectAll("circle.node");
7877
7854
  t.on("click", () => {
7878
- e.focal = null, e.model.updateHierarchyLevel(2), t.classed("zoomed-in", !1), e.services.canvasZoom.zoomOut(n, Hn);
7855
+ e.focal = null, e.model.updateHierarchyLevel(2), t.classed("zoomed-in", !1), e.services.canvasZoom.zoomOut(n, Bn);
7879
7856
  });
7880
7857
  }
7881
7858
  // Zoom icon to be appended to the label in the tooltip
@@ -7961,10 +7938,10 @@ class Pm extends dt {
7961
7938
  const s = D(this), a = s.classed("non-focal"), r = O(t.model.getOptions(), "canvasZoom", "enabled");
7962
7939
  if (r && t.model.getHierarchyLevel() > 2) {
7963
7940
  const o = t.parent.selectAll("circle.node");
7964
- D(t.services.domUtils.getMainContainer()).classed("zoomed-in", !1), t.focal = null, t.model.updateHierarchyLevel(2), t.services.canvasZoom.zoomOut(o, Hn);
7941
+ D(t.services.domUtils.getMainContainer()).classed("zoomed-in", !1), t.focal = null, t.model.updateHierarchyLevel(2), t.services.canvasZoom.zoomOut(o, Bn);
7965
7942
  } else if (n.depth === 2 && n.children && !a && r) {
7966
7943
  const o = t.parent.selectAll("circle.node");
7967
- D(t.services.domUtils.getMainContainer()).classed("zoomed-in", !0), t.focal = n, t.model.updateHierarchyLevel(3), t.services.canvasZoom.zoomIn(n, o, Hn), e.stopPropagation();
7944
+ D(t.services.domUtils.getMainContainer()).classed("zoomed-in", !0), t.focal = n, t.model.updateHierarchyLevel(3), t.services.canvasZoom.zoomIn(n, o, Bn), e.stopPropagation();
7968
7945
  }
7969
7946
  t.services.events.dispatchEvent(T.CirclePack.CIRCLE_CLICK, {
7970
7947
  event: e,
@@ -8018,7 +7995,7 @@ class fp extends dt {
8018
7995
  }), s = this.getOptions(), { groupMapsTo: a } = s.data, { valueMapsTo: r } = s.pie;
8019
7996
  this.isRendering = !0;
8020
7997
  const o = this.model.getDisplayData().filter((M) => M[r] > 0), c = this.computeRadius();
8021
- this.arc = Rn().innerRadius(this.getInnerRadius()).outerRadius(c), this.hoverArc = Rn().innerRadius(this.getInnerRadius()).outerRadius(c + Et.hoverArc.outerRadiusOffset);
7998
+ this.arc = Dn().innerRadius(this.getInnerRadius()).outerRadius(c), this.hoverArc = Dn().innerRadius(this.getInnerRadius()).outerRadius(c + Et.hoverArc.outerRadiusOffset);
8022
7999
  const h = ed().value((M) => M[r]).sort(O(s, "pie", "sortFunction")).padAngle(Et.padAngle)(o), u = I.appendOrSelect(n, "g.slices").attr("role", lt.GROUP).attr("data-name", "slices").selectAll("path.slice").data(h, (M) => M.data[a]);
8023
8000
  u.exit().attr("opacity", 0).remove(), u.enter().append("path").classed("slice", !0).attr("opacity", 0).merge(u).attr(
8024
8001
  "class",
@@ -8142,7 +8119,7 @@ class fp extends dt {
8142
8119
  });
8143
8120
  }).on("mouseout", function(e, n) {
8144
8121
  const s = D(this);
8145
- bc(() => {
8122
+ Tc(() => {
8146
8123
  t.isRendering || s.classed("hovered", !1).transition("pie_slice_mouseout").call(
8147
8124
  (a) => t.services.transitions.setupTransition({
8148
8125
  transition: a,
@@ -8204,7 +8181,7 @@ class $m extends fp {
8204
8181
  n === null && (n = this.model.getDisplayData().reduce((o, c) => o + c[e.pie.valueMapsTo], 0));
8205
8182
  const s = parseInt(t.text().replace(/[, ]+/g, ""), 10) || 0;
8206
8183
  let a;
8207
- s % 1 === 0 && n % 1 === 0 ? a = vl : a = Xr;
8184
+ s % 1 === 0 && n % 1 === 0 ? a = yl : a = Xr;
8208
8185
  const r = a(s, n);
8209
8186
  return (o) => {
8210
8187
  const { numberFormatter: c } = e.donut.center;
@@ -8223,19 +8200,17 @@ class Vm extends dt {
8223
8200
  super(...arguments), this.type = "gauge", this.renderType = at.SVG;
8224
8201
  }
8225
8202
  getValue() {
8226
- var n;
8227
- return ((n = this.model.getData().find((s) => s.group === "value")) == null ? void 0 : n.value) ?? null;
8203
+ return this.model.getData().find((n) => n.group === "value")?.value ?? null;
8228
8204
  }
8229
8205
  getValueRatio() {
8230
8206
  return lo(this.getValue(), 0, 100) / 100;
8231
8207
  }
8232
8208
  getDelta() {
8233
- var n;
8234
- return ((n = this.model.getData().find((s) => s.group === "delta")) == null ? void 0 : n.value) ?? null;
8209
+ return this.model.getData().find((n) => n.group === "delta")?.value ?? null;
8235
8210
  }
8236
8211
  getArcRatio() {
8237
8212
  const t = this.getOptions();
8238
- return O(t, "gauge", "type") === zn.FULL ? 1 : 0.5;
8213
+ return O(t, "gauge", "type") === Un.FULL ? 1 : 0.5;
8239
8214
  }
8240
8215
  getArcSize() {
8241
8216
  return this.getArcRatio() * Math.PI * 2;
@@ -8263,7 +8238,7 @@ class Vm extends dt {
8263
8238
  const e = this.getComponentContainer({
8264
8239
  ariaLabel: "gauge graph"
8265
8240
  }).attr("width", "100%").attr("height", "100%"), n = this.getOptions(), s = this.getValue(), a = this.getValueRatio(), r = this.getArcSize(), o = this.getStartAngle(), c = a * r, l = o + c, h = o + r, d = this.computeRadius(), u = this.getInnerRadius();
8266
- this.backgroundArc = Rn().innerRadius(u).outerRadius(d).startAngle(l).endAngle(h), this.arc = Rn().innerRadius(u).outerRadius(d).startAngle(o).endAngle(l), I.appendOrSelect(e, "path.arc-background").attr("d", this.backgroundArc);
8241
+ this.backgroundArc = Dn().innerRadius(u).outerRadius(d).startAngle(l).endAngle(h), this.arc = Dn().innerRadius(u).outerRadius(d).startAngle(o).endAngle(l), I.appendOrSelect(e, "path.arc-background").attr("d", this.backgroundArc);
8267
8242
  const p = e.selectAll("path.arc-foreground").data([s]);
8268
8243
  p.enter().append("path").merge(p).attr(
8269
8244
  "class",
@@ -8285,7 +8260,7 @@ class Vm extends dt {
8285
8260
  drawValueNumber() {
8286
8261
  const t = this.getComponentContainer(), e = this.getOptions(), n = O(e, "gauge", "type"), s = this.getValue(), a = this.getDelta(), r = this.computeRadius(), o = O(e, "gauge", "valueFontSize"), c = O(e, "gauge", "deltaFontSize"), l = O(e, "gauge", "numberSpacing"), h = O(e, "gauge", "showPercentageSymbol");
8287
8262
  let d = 0;
8288
- n === zn.FULL && !a ? d = c(r) : n === zn.SEMI && a && (d = -(c(r) + l));
8263
+ n === Un.FULL && !a ? d = c(r) : n === Un.SEMI && a && (d = -(c(r) + l));
8289
8264
  const u = I.appendOrSelect(t, "g.gauge-numbers").attr(
8290
8265
  "transform",
8291
8266
  `translate(0, ${d})`
@@ -8370,7 +8345,7 @@ class Vm extends dt {
8370
8345
  const t = this.getOptions(), e = O(t, "gauge", "type"), { width: n, height: s } = I.getSVGElementSize(this.parent, {
8371
8346
  useAttrs: !0
8372
8347
  });
8373
- return e === zn.SEMI ? Math.min(n / 2, s) : Math.min(n / 2, s / 2);
8348
+ return e === Un.SEMI ? Math.min(n / 2, s) : Math.min(n / 2, s / 2);
8374
8349
  }
8375
8350
  }
8376
8351
  class Gm extends ea {
@@ -8399,7 +8374,7 @@ class Gm extends ea {
8399
8374
  render(t) {
8400
8375
  const e = this.model.getDisplayData(this.configs.groups), n = this.getOptions(), { groupMapsTo: s } = n.data;
8401
8376
  this.setGroupScale();
8402
- const a = this.getComponentContainer({ ariaLabel: "grouped bar graphs", withinChartClip: !0 }), r = yl(
8377
+ const a = this.getComponentContainer({ ariaLabel: "grouped bar graphs", withinChartClip: !0 }), r = El(
8403
8378
  e.map((u) => {
8404
8379
  const p = this.services.cartesianScales.getDomainIdentifier(u);
8405
8380
  return u[p] && typeof u[p].toString == "function" ? u[p].toString() : u[p];
@@ -8506,10 +8481,7 @@ class Gm extends ea {
8506
8481
  if (typeof t.step == "function")
8507
8482
  n = t.step();
8508
8483
  else if (e.length > 0) {
8509
- const s = e.find((a) => {
8510
- var r;
8511
- return ((r = a.data) == null ? void 0 : r.length) > 1;
8512
- });
8484
+ const s = e.find((a) => a.data?.length > 1);
8513
8485
  if (s) {
8514
8486
  const a = this.services.cartesianScales.getDomainIdentifier(s.data[0]);
8515
8487
  n = Math.abs(
@@ -9001,14 +8973,14 @@ class Fm extends dt {
9001
8973
  const e = I.appendOrSelect(this.getComponentContainer(), "g.tmp-tick"), n = I.appendOrSelect(e, "text").text(t), { width: s, height: a } = I.getSVGElementSize(n.node(), { useBBox: !0 });
9002
8974
  return e.remove(), { width: s, height: a };
9003
8975
  }, this.normalizeFlatData = (t) => {
9004
- const e = this.getOptions(), { angle: n, value: s } = O(e, "radar", "axes"), a = O(e, "data", "groupMapsTo"), r = Ac(
8976
+ const e = this.getOptions(), { angle: n, value: s } = O(e, "radar", "axes"), a = O(e, "data", "groupMapsTo"), r = Mc(
9005
8977
  this.uniqueKeys.map((o) => this.uniqueGroups.map((c) => ({
9006
8978
  [n]: o,
9007
8979
  [a]: c,
9008
8980
  [s]: null
9009
8981
  })))
9010
8982
  );
9011
- return nn(r, t);
8983
+ return sn(r, t);
9012
8984
  }, this.normalizeGroupedData = (t) => {
9013
8985
  const e = this.getOptions(), { angle: n, value: s } = O(e, "radar", "axes"), a = O(e, "data", "groupMapsTo");
9014
8986
  return t.map(({ name: r, data: o }) => {
@@ -9017,7 +8989,7 @@ class Fm extends dt {
9017
8989
  [n]: l,
9018
8990
  [s]: null
9019
8991
  }));
9020
- return { name: r, data: nn(c, o) };
8992
+ return { name: r, data: sn(c, o) };
9021
8993
  });
9022
8994
  }, this.handleLegendOnHover = (t) => {
9023
8995
  const { hoveredElement: e } = t.detail;
@@ -9053,8 +9025,8 @@ class Fm extends dt {
9053
9025
  const b = zi().domain(this.fullDataNormalized.map((z) => z[h])).range([0, 2 * Math.PI].map((z) => z - Math.PI / 2)), k = pi(this.fullDataNormalized.map((z) => z[d])), _ = Re().domain([
9054
9026
  k >= 0 ? 0 : k,
9055
9027
  ba(this.fullDataNormalized.map((z) => z[d]))
9056
- ]).range([g, x]).nice(f), G = _.ticks(f), R = (z, B, U) => this.model.getFillColor(z, B, U), A = id().angle((z) => b(z[h]) + Math.PI / 2).radius((z) => _(z[d])).curve(Al), H = this.uniqueKeys.map((z) => {
9057
- const B = this.getLabelDimensions(z).width, U = Ml(
9028
+ ]).range([g, x]).nice(f), G = _.ticks(f), R = (z, B, U) => this.model.getFillColor(z, B, U), A = id().angle((z) => b(z[h]) + Math.PI / 2).radius((z) => _(z[d])).curve(Ml), H = this.uniqueKeys.map((z) => {
9029
+ const B = this.getLabelDimensions(z).width, U = wl(
9058
9030
  b(z),
9059
9031
  x
9060
9032
  );
@@ -9230,7 +9202,7 @@ class Fm extends dt {
9230
9202
  (z) => z.append("rect"),
9231
9203
  (z) => z,
9232
9204
  (z) => z.remove()
9233
- ).attr("x", M.x).attr("y", M.y - m / 2).attr("width", _.range()[1]).attr("height", m).style("fill", "red").style("fill-opacity", 0).attr("transform", (z) => `rotate(${wl(b(z))}, ${M.x}, ${M.y})`);
9205
+ ).attr("x", M.x).attr("y", M.y - m / 2).attr("width", _.range()[1]).attr("height", m).style("fill", "red").style("fill-opacity", 0).attr("transform", (z) => `rotate(${Cl(b(z))}, ${M.x}, ${M.y})`);
9234
9206
  const { code: ot, number: ct } = O(o, "locale");
9235
9207
  I.appendOrSelect(e, "g.y-labels").attr("role", lt.GROUP).selectAll("text").data(Os(G)).join(
9236
9208
  (z) => z.append("text").attr("opacity", 0).text((B) => ct(B, ot)).attr(
@@ -9701,7 +9673,7 @@ class qm extends Qi {
9701
9673
  });
9702
9674
  }
9703
9675
  }
9704
- const vn = 6;
9676
+ const Ze = 6;
9705
9677
  class jm extends dt {
9706
9678
  constructor() {
9707
9679
  super(...arguments), this.type = "tree", this.renderType = at.SVG;
@@ -9733,8 +9705,8 @@ class jm extends dt {
9733
9705
  if (n < 1 || s < 1)
9734
9706
  return;
9735
9707
  const a = this.model.getOptions(), r = this.model.getDisplayData(), o = O(a, "tree", "rootTitle") || "Tree", c = this.getMockLabelWidth(e, o), l = this.getLongestLabel(r), h = this.getMockLabelWidth(e, l), d = {
9736
- left: c > 0 ? c + vn : 30 - vn
9737
- }, u = Dn({
9708
+ left: c > 0 ? c + Ze : 30 - Ze
9709
+ }, u = Nn({
9738
9710
  name: o,
9739
9711
  children: r
9740
9712
  }), p = 10, f = n / 6, g = (b) => {
@@ -9771,7 +9743,7 @@ class jm extends dt {
9771
9743
  datum: V
9772
9744
  });
9773
9745
  });
9774
- L.append("circle").attr("r", 2.5).attr("class", (C) => C._children ? "parent" : "child").attr("stroke-width", 10), L.append("text").attr("dy", "0.31em").attr("x", (C) => C._children ? -6 : vn).attr("text-anchor", (C) => C._children ? "end" : "start").text((C) => C.data.name).clone(!0).attr("class", "text-stroke").lower(), N.merge(L).transition(H).attr("transform", (C) => `translate(${C.y},${C.x})`).attr("fill-opacity", 1).attr("stroke-opacity", 1), N.exit().transition(H).remove().attr("transform", () => `translate(${b.y},${b.x})`).attr("fill-opacity", 0).attr("stroke-opacity", 0);
9746
+ L.append("circle").attr("r", 2.5).attr("class", (C) => C._children ? "parent" : "child").attr("stroke-width", 10), L.append("text").attr("dy", "0.31em").attr("x", (C) => C._children ? -Ze : Ze).attr("text-anchor", (C) => C._children ? "end" : "start").text((C) => C.data.name).clone(!0).attr("class", "text-stroke").lower(), N.merge(L).transition(H).attr("transform", (C) => `translate(${C.y},${C.x})`).attr("fill-opacity", 1).attr("stroke-opacity", 1), N.exit().transition(H).remove().attr("transform", () => `translate(${b.y},${b.x})`).attr("fill-opacity", 0).attr("stroke-opacity", 0);
9775
9747
  const P = E.selectAll("path").data(_, (C) => C.target.id), $ = P.enter().append("path").attr("d", () => {
9776
9748
  const C = { x: b.x0, y: b.y0 };
9777
9749
  return y({ source: C, target: C });
@@ -9782,12 +9754,12 @@ class jm extends dt {
9782
9754
  }), u.eachBefore((C) => {
9783
9755
  C.x0 = C.x, C.y0 = C.y;
9784
9756
  });
9785
- }, m = u.descendants(), v = m[m.length - 1].depth, S = O(a, "tree", "type") === bl.DENDROGRAM ? th().size([
9757
+ }, m = u.descendants(), v = m[m.length - 1].depth, S = O(a, "tree", "type") === Tl.DENDROGRAM ? th().size([
9786
9758
  s,
9787
- n - h - v * vn - c
9759
+ n - h - v * Ze - c
9788
9760
  ]) : Bh().nodeSize([p, f]).size([
9789
9761
  s,
9790
- n - h - v * vn - c
9762
+ n - h - v * Ze - c
9791
9763
  ]), y = ud().x((b) => b.y).y((b) => b.x);
9792
9764
  u.x0 = f / 2, u.y0 = 0, u.descendants().forEach((b, k) => {
9793
9765
  b.id = k, b._children = b.children;
@@ -9962,7 +9934,7 @@ const zg = (i) => {
9962
9934
  const t = D(this.parentNode).select("rect.leaf"), e = i.backgroundColor ?? getComputedStyle(t.node(), null).getPropertyValue("fill"), n = Yr(e);
9963
9935
  let s;
9964
9936
  if (n && (s = zg(n ? n.hex() : null)), s == null) {
9965
- const a = El(n).l;
9937
+ const a = xl(n).l;
9966
9938
  s = Math.abs(a * 100 - 100);
9967
9939
  }
9968
9940
  return s > 50 ? "white" : "black";
@@ -10001,7 +9973,7 @@ class Km extends dt {
10001
9973
  this.model.getData();
10002
9974
  const n = this.model.getDisplayData(), s = this.model.getOptions(), a = O(window, "location"), { width: r, height: o } = I.getSVGElementSize(e, {
10003
9975
  useAttrs: !0
10004
- }), c = Dn({
9976
+ }), c = Nn({
10005
9977
  name: s.title || "Treemap",
10006
9978
  children: n
10007
9979
  }).sum((g) => g.value).sort((g, m) => m.value - g.value), l = Xh().size([r, o]).paddingInner(1).paddingOuter(0).round(!0)(
@@ -10154,7 +10126,12 @@ function Wg(i) {
10154
10126
  var t = i.default;
10155
10127
  if (typeof t == "function") {
10156
10128
  var e = function n() {
10157
- return this instanceof n ? Reflect.construct(t, arguments, this.constructor) : t.apply(this, arguments);
10129
+ var s = !1;
10130
+ try {
10131
+ s = this instanceof n;
10132
+ } catch {
10133
+ }
10134
+ return s ? Reflect.construct(t, arguments, this.constructor) : t.apply(this, arguments);
10158
10135
  };
10159
10136
  e.prototype = t.prototype;
10160
10137
  } else e = {};
@@ -10170,7 +10147,7 @@ function Wg(i) {
10170
10147
  }
10171
10148
  var Xg = { value: function() {
10172
10149
  } };
10173
- function Ko() {
10150
+ function Jo() {
10174
10151
  for (var i = 0, t = arguments.length, e = {}, n; i < t; ++i) {
10175
10152
  if (!(n = arguments[i] + "") || n in e || /[\s.]/.test(n)) throw new Error("illegal type: " + n);
10176
10153
  e[n] = [];
@@ -10187,7 +10164,7 @@ function Yg(i, t) {
10187
10164
  return { type: e, name: n };
10188
10165
  });
10189
10166
  }
10190
- us.prototype = Ko.prototype = {
10167
+ us.prototype = Jo.prototype = {
10191
10168
  constructor: us,
10192
10169
  on: function(i, t) {
10193
10170
  var e = this._, n = Yg(i + "", e), s, a = -1, r = n.length;
@@ -10231,7 +10208,7 @@ function Gr(i, t, e) {
10231
10208
  }
10232
10209
  const qg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10233
10210
  __proto__: null,
10234
- dispatch: Ko
10211
+ dispatch: Jo
10235
10212
  }, Symbol.toStringTag, { value: "Module" })), jg = /* @__PURE__ */ Wg(qg);
10236
10213
  var ui, Hr;
10237
10214
  function Kg() {
@@ -10275,11 +10252,11 @@ function Kg() {
10275
10252
  E[0], E[1];
10276
10253
  for (var j = Z.x, Y = Z.y, K = Math.sqrt(E[0] * E[0] + E[1] * E[1]), ot = H(E), ct = $() < 0.5 ? 1 : -1, st = -ct, it, z, B; (it = ot(st += ct)) && (z = ~~it[0], B = ~~it[1], !(Math.min(Math.abs(z), Math.abs(B)) >= K)); )
10277
10254
  if (Z.x = j + z, Z.y = Y + B, !(Z.x + Z.x0 < 0 || Z.y + Z.y0 < 0 || Z.x + Z.x1 > E[0] || Z.y + Z.y1 > E[1]) && (!rt || f(Z, rt)) && !u(Z, F, E[0])) {
10278
- for (var U = Z.sprite, wt = Z.width >> 5, be = E[0] >> 5, et = Z.x - (wt << 4), yt = et & 127, Zt = 32 - yt, Wt = Z.y1 - Z.y0, on = (Z.y + Z.y0) * be + (et >> 5), ln, Le = 0; Le < Wt; Le++) {
10279
- ln = 0;
10255
+ for (var U = Z.sprite, wt = Z.width >> 5, be = E[0] >> 5, et = Z.x - (wt << 4), yt = et & 127, Zt = 32 - yt, Wt = Z.y1 - Z.y0, ln = (Z.y + Z.y0) * be + (et >> 5), cn, Le = 0; Le < Wt; Le++) {
10256
+ cn = 0;
10280
10257
  for (var ne = 0; ne <= wt; ne++)
10281
- F[on + ne] |= ln << Zt | (ne < wt ? (ln = U[Le * wt + ne]) >>> yt : 0);
10282
- on += be;
10258
+ F[ln + ne] |= cn << Zt | (ne < wt ? (cn = U[Le * wt + ne]) >>> yt : 0);
10259
+ ln += be;
10283
10260
  }
10284
10261
  return !0;
10285
10262
  }
@@ -10588,7 +10565,7 @@ class tm extends dt {
10588
10565
  const f = this.services.domUtils.generateElementIDString("geo-pattern-stripes"), g = I.appendOrSelect(t, "defs");
10589
10566
  I.appendOrSelect(g, "pattern").attr("id", f).attr("width", 5).attr("height", 10).attr("patternUnits", "userSpaceOnUse").attr("patternTransform", "rotate(45)").append("path").classed("pattern-fill", !0).attr(
10590
10567
  "d",
10591
- Nn()([
10568
+ Pn()([
10592
10569
  [0, 0],
10593
10570
  [0, 10]
10594
10571
  ])
@@ -10618,7 +10595,7 @@ class tm extends dt {
10618
10595
  t = Vu();
10619
10596
  break;
10620
10597
  case we.geoConicEqualArea:
10621
- t = Do();
10598
+ t = No();
10622
10599
  break;
10623
10600
  case we.geoConicEquidistant:
10624
10601
  t = Uu();
@@ -10660,7 +10637,7 @@ class Qm extends tm {
10660
10637
  const t = this, e = this.model.getCombinedData();
10661
10638
  this.parent.selectAll("path.border").on("mouseover", function(n, s) {
10662
10639
  const a = D(this);
10663
- t.services.events.dispatchEvent(Un.CHOROPLETH_MOUSEOVER, {
10640
+ t.services.events.dispatchEvent(Fn.CHOROPLETH_MOUSEOVER, {
10664
10641
  event: n,
10665
10642
  element: a,
10666
10643
  datum: e[s.properties.NAME]
@@ -10675,7 +10652,7 @@ class Qm extends tm {
10675
10652
  ]
10676
10653
  });
10677
10654
  }).on("mousemove", function(n, s) {
10678
- t.services.events.dispatchEvent(Un.CHOROPLETH_MOUSEMOVE, {
10655
+ t.services.events.dispatchEvent(Fn.CHOROPLETH_MOUSEMOVE, {
10679
10656
  event: n,
10680
10657
  element: D(this),
10681
10658
  datum: e[s.properties.NAME]
@@ -10683,14 +10660,14 @@ class Qm extends tm {
10683
10660
  event: n
10684
10661
  });
10685
10662
  }).on("click", function(n, s) {
10686
- t.services.events.dispatchEvent(Un.CHOROPLETH_CLICK, {
10663
+ t.services.events.dispatchEvent(Fn.CHOROPLETH_CLICK, {
10687
10664
  event: n,
10688
10665
  element: D(this),
10689
10666
  datum: e[s.properties.NAME]
10690
10667
  });
10691
10668
  }).on("mouseout", function(n, s) {
10692
10669
  const a = D(this);
10693
- t.services.events.dispatchEvent(Un.CHOROPLETH_MOUSEOUT, {
10670
+ t.services.events.dispatchEvent(Fn.CHOROPLETH_MOUSEOUT, {
10694
10671
  event: n,
10695
10672
  element: a,
10696
10673
  datum: e[s.properties.NAME]
@@ -10720,13 +10697,13 @@ export {
10720
10697
  Um as O,
10721
10698
  fp as P,
10722
10699
  Fm as Q,
10723
- qo as R,
10700
+ jo as R,
10724
10701
  om as S,
10725
10702
  Rd as T,
10726
10703
  jm as U,
10727
10704
  Km as V,
10728
10705
  Jm as W,
10729
- jo as X,
10706
+ Ko as X,
10730
10707
  sp as Y,
10731
10708
  um as Z,
10732
10709
  wm as _,
@@ -10742,7 +10719,7 @@ export {
10742
10719
  ea as a8,
10743
10720
  dt as a9,
10744
10721
  Tr as b,
10745
- yc as c,
10722
+ Ec as c,
10746
10723
  Pd as d,
10747
10724
  Nd as e,
10748
10725
  Ar as f,
@@ -10767,4 +10744,4 @@ export {
10767
10744
  qm as y,
10768
10745
  Vm as z
10769
10746
  };
10770
- //# sourceMappingURL=choropleth-DvuP75LI.mjs.map
10747
+ //# sourceMappingURL=choropleth-Bst0hbTL.mjs.map