@carbon/charts 1.14.7 → 1.14.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,23 +1,23 @@
1
- import { L as Ys, h as Ba, o as qs, a4 as Ha, p as Ks, B as $a, a5 as Ua, a6 as Fa, a7 as za, m as v, n as we, x as dt, a0 as us, A as ne, s as de, a8 as Ot, K as Me, a2 as Wa, z as Js, t as ja, a9 as He, c as gn, b as mn, P as ke, aa as bt, ab as Ve, Q as Be, X as Ge, ac as Xa, J as ot, i as Za, Z as te, S as Ae, ad as ye, ae as Ya, a as qa, Y as pe, U as ft, C as Mt, af as Qt, v as Ka, ag as ps, _ as ze } from "./color-scale-utils-JIM28DuF.mjs";
2
- import { select as x, pointer as zt, brushX as Qs, scaleTime as Ja, extent as Wt, area as Nn, line as Pn, axisBottom as Vn, axisLeft as ea, axisTop as Qa, axisRight as ei, scaleLinear as Ze, arc as xt, easeLinear as ti, path as Gn, interpolateNumber as ta, quantize as ni, scaleBand as Bn, hierarchy as Hn, pack as si, pie as ai, interpolate as ii, interpolateRound as ri, min as fn, max as gs, lineRadial as oi, curveLinearClosed as li, cluster as ci, tree as di, linkHorizontal as hi, treemap as ui, hsl as na, color as sa, geoPath as pi, geoNaturalEarth1 as gi, geoMercator as mi, geoEquirectangular as fi, geoConicEquidistant as vi, geoConicEqualArea as yi, geoAlbers as Ei, geoEqualEarth as bi } from "d3";
3
- import { t as en, D as S, c as vn, G as ms, a as Si, p as oe, r as fs, b as Oi } from "./angle-utils-OmWRg48c.mjs";
4
- import { y as j, _ as f, K as ie, r as $e, q as tt, L as xi, A as Ce, m as z, s as We, V as lt, S as ue, e as G, Z as nt, i as xe, f as vs, J as tn, d as Ti, F as wt, n as nn, H as sn, C as an, p as Ct, b as ys, D as rn, Q as Li, x as je, $ as _t, N as on } from "./enums-lWSDG4ik.mjs";
5
- import { sankey as Ai, sankeyLinkHorizontal as Mi, sankeyJustify as wi, sankeyLeft as Ci, sankeyRight as _i } from "d3-sankey";
1
+ import { L as Ys, a4 as Ba, h as Ha, o as qs, a5 as $a, p as Ks, B as Ua, a6 as Fa, a7 as za, a8 as Wa, m as v, n as Me, x as dt, a0 as us, A as ne, s as de, a9 as Ot, K as we, a2 as ja, z as Js, t as Xa, aa as He, c as gn, b as mn, P as Re, ab as bt, ac as Ve, Q as Be, X as Ge, ad as Za, J as ot, i as Ya, Z as te, S as Ae, ae as ye, af as qa, a as Ka, Y as pe, U as ft, C as wt, ag as en, v as Ja, ah as ps, _ as ze } from "./color-scale-utils-C7DPeUvd.mjs";
2
+ import { select as x, pointer as Wt, brushX as Qs, scaleTime as Qa, extent as jt, area as Nn, line as Pn, axisBottom as Vn, axisLeft as ea, axisTop as ei, axisRight as ti, scaleLinear as Ze, arc as xt, easeLinear as ni, path as Gn, interpolateNumber as ta, quantize as si, scaleBand as Bn, hierarchy as Hn, pack as ai, pie as ii, interpolate as ri, interpolateRound as oi, min as fn, max as gs, lineRadial as li, curveLinearClosed as ci, cluster as di, tree as hi, linkHorizontal as ui, treemap as pi, hsl as na, color as sa, geoPath as gi, geoNaturalEarth1 as mi, geoMercator as fi, geoEquirectangular as vi, geoConicEquidistant as yi, geoConicEqualArea as Ei, geoAlbers as bi, geoEqualEarth as Si } from "d3";
3
+ import { t as Nt, D as S, c as vn, G as ms, a as Oi, p as oe, r as fs, b as xi } from "./angle-utils-_Np6gcs-.mjs";
4
+ import { y as j, _ as f, K as ie, r as $e, q as tt, L as Ti, A as Ce, m as z, s as We, V as lt, S as ue, e as G, Z as nt, i as xe, f as vs, J as tn, d as Li, F as Mt, n as nn, H as sn, C as an, p as Ct, b as ys, D as rn, Q as Ai, x as je, $ as _t, N as on } from "./enums-lWSDG4ik.mjs";
5
+ import { sankey as wi, sankeyLinkHorizontal as Mi, sankeyJustify as Ci, sankeyLeft as _i, sankeyRight as Ii } from "d3-sankey";
6
6
  import { R as X } from "./a11y-SOU26cr5.mjs";
7
- import { b as aa } from "./_baseEach-HYEdUZwo.mjs";
8
- import Ii from "d3-cloud";
7
+ import { b as aa } from "./_baseEach-1m2Q78kz.mjs";
8
+ import Ri from "d3-cloud";
9
9
  function ki(o, e, t, n) {
10
10
  var s = -1, a = o == null ? 0 : o.length;
11
11
  for (n && a && (t = o[++s]); ++s < a; )
12
12
  t = e(t, o[s], s, o);
13
13
  return t;
14
14
  }
15
- function Ri(o) {
15
+ function Di(o) {
16
16
  return function(e) {
17
17
  return o == null ? void 0 : o[e];
18
18
  };
19
19
  }
20
- var Di = {
20
+ var Ni = {
21
21
  // Latin-1 Supplement block.
22
22
  À: "A",
23
23
  Á: "A",
@@ -210,78 +210,90 @@ var Di = {
210
210
  œ: "oe",
211
211
  ʼn: "'n",
212
212
  ſ: "s"
213
- }, Ni = Ri(Di);
214
- const Pi = Ni;
215
- var Vi = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Gi = "\\u0300-\\u036f", Bi = "\\ufe20-\\ufe2f", Hi = "\\u20d0-\\u20ff", $i = Gi + Bi + Hi, Ui = "[" + $i + "]", Fi = RegExp(Ui, "g");
216
- function zi(o) {
217
- return o = Ys(o), o && o.replace(Vi, Pi).replace(Fi, "");
213
+ }, Pi = Di(Ni);
214
+ const Vi = Pi;
215
+ var Gi = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Bi = "\\u0300-\\u036f", Hi = "\\ufe20-\\ufe2f", $i = "\\u20d0-\\u20ff", Ui = Bi + Hi + $i, Fi = "[" + Ui + "]", zi = RegExp(Fi, "g");
216
+ function Wi(o) {
217
+ return o = Ys(o), o && o.replace(Gi, Vi).replace(zi, "");
218
218
  }
219
- var Wi = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
220
- function ji(o) {
221
- return o.match(Wi) || [];
219
+ var ji = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
220
+ function Xi(o) {
221
+ return o.match(ji) || [];
222
222
  }
223
- var Xi = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
224
- function Zi(o) {
225
- return Xi.test(o);
223
+ var Zi = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
224
+ function Yi(o) {
225
+ return Zi.test(o);
226
226
  }
227
- var ia = "\\ud800-\\udfff", Yi = "\\u0300-\\u036f", qi = "\\ufe20-\\ufe2f", Ki = "\\u20d0-\\u20ff", Ji = Yi + qi + Ki, ra = "\\u2700-\\u27bf", oa = "a-z\\xdf-\\xf6\\xf8-\\xff", Qi = "\\xac\\xb1\\xd7\\xf7", er = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", tr = "\\u2000-\\u206f", nr = " \\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", la = "A-Z\\xc0-\\xd6\\xd8-\\xde", sr = "\\ufe0e\\ufe0f", ca = Qi + er + tr + nr, da = "['’]", Es = "[" + ca + "]", ar = "[" + Ji + "]", ha = "\\d+", ir = "[" + ra + "]", ua = "[" + oa + "]", pa = "[^" + ia + ca + ha + ra + oa + la + "]", rr = "\\ud83c[\\udffb-\\udfff]", or = "(?:" + ar + "|" + rr + ")", lr = "[^" + ia + "]", ga = "(?:\\ud83c[\\udde6-\\uddff]){2}", ma = "[\\ud800-\\udbff][\\udc00-\\udfff]", rt = "[" + la + "]", cr = "\\u200d", bs = "(?:" + ua + "|" + pa + ")", dr = "(?:" + rt + "|" + pa + ")", Ss = "(?:" + da + "(?:d|ll|m|re|s|t|ve))?", Os = "(?:" + da + "(?:D|LL|M|RE|S|T|VE))?", fa = or + "?", va = "[" + sr + "]?", hr = "(?:" + cr + "(?:" + [lr, ga, ma].join("|") + ")" + va + fa + ")*", ur = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", pr = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", gr = va + fa + hr, mr = "(?:" + [ir, ga, ma].join("|") + ")" + gr, fr = RegExp([
227
+ var ia = "\\ud800-\\udfff", qi = "\\u0300-\\u036f", Ki = "\\ufe20-\\ufe2f", Ji = "\\u20d0-\\u20ff", Qi = qi + Ki + Ji, ra = "\\u2700-\\u27bf", oa = "a-z\\xdf-\\xf6\\xf8-\\xff", er = "\\xac\\xb1\\xd7\\xf7", tr = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", nr = "\\u2000-\\u206f", sr = " \\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", la = "A-Z\\xc0-\\xd6\\xd8-\\xde", ar = "\\ufe0e\\ufe0f", ca = er + tr + nr + sr, da = "['’]", Es = "[" + ca + "]", ir = "[" + Qi + "]", ha = "\\d+", rr = "[" + ra + "]", ua = "[" + oa + "]", pa = "[^" + ia + ca + ha + ra + oa + la + "]", or = "\\ud83c[\\udffb-\\udfff]", lr = "(?:" + ir + "|" + or + ")", cr = "[^" + ia + "]", ga = "(?:\\ud83c[\\udde6-\\uddff]){2}", ma = "[\\ud800-\\udbff][\\udc00-\\udfff]", rt = "[" + la + "]", dr = "\\u200d", bs = "(?:" + ua + "|" + pa + ")", hr = "(?:" + rt + "|" + pa + ")", Ss = "(?:" + da + "(?:d|ll|m|re|s|t|ve))?", Os = "(?:" + da + "(?:D|LL|M|RE|S|T|VE))?", fa = lr + "?", va = "[" + ar + "]?", ur = "(?:" + dr + "(?:" + [cr, ga, ma].join("|") + ")" + va + fa + ")*", pr = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", gr = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", mr = va + fa + ur, fr = "(?:" + [rr, ga, ma].join("|") + ")" + mr, vr = RegExp([
228
228
  rt + "?" + ua + "+" + Ss + "(?=" + [Es, rt, "$"].join("|") + ")",
229
- dr + "+" + Os + "(?=" + [Es, rt + bs, "$"].join("|") + ")",
229
+ hr + "+" + Os + "(?=" + [Es, rt + bs, "$"].join("|") + ")",
230
230
  rt + "?" + bs + "+" + Ss,
231
231
  rt + "+" + Os,
232
+ gr,
232
233
  pr,
233
- ur,
234
234
  ha,
235
- mr
235
+ fr
236
236
  ].join("|"), "g");
237
- function vr(o) {
238
- return o.match(fr) || [];
237
+ function yr(o) {
238
+ return o.match(vr) || [];
239
239
  }
240
- function yr(o, e, t) {
241
- return o = Ys(o), e = t ? void 0 : e, e === void 0 ? Zi(o) ? vr(o) : ji(o) : o.match(e) || [];
240
+ function Er(o, e, t) {
241
+ return o = Ys(o), e = t ? void 0 : e, e === void 0 ? Yi(o) ? yr(o) : Xi(o) : o.match(e) || [];
242
242
  }
243
- var Er = "['’]", br = RegExp(Er, "g");
244
- function Sr(o) {
243
+ var br = "['’]", Sr = RegExp(br, "g");
244
+ function Or(o) {
245
245
  return function(e) {
246
- return ki(yr(zi(e).replace(br, "")), o, "");
246
+ return ki(Er(Wi(e).replace(Sr, "")), o, "");
247
247
  };
248
248
  }
249
- function Or(o, e, t) {
249
+ function xr(o, e, t) {
250
250
  return o === o && (t !== void 0 && (o = o <= t ? o : t), e !== void 0 && (o = o >= e ? o : e)), o;
251
251
  }
252
252
  function ya(o, e, t) {
253
- return t === void 0 && (t = e, e = void 0), t !== void 0 && (t = en(t), t = t === t ? t : 0), e !== void 0 && (e = en(e), e = e === e ? e : 0), Or(en(o), e, t);
254
- }
255
- function xr(o, e) {
256
- var t = -1, n = Ba(o) ? Array(o.length) : [];
253
+ return t === void 0 && (t = e, e = void 0), t !== void 0 && (t = Nt(t), t = t === t ? t : 0), e !== void 0 && (e = Nt(e), e = e === e ? e : 0), xr(Nt(o), e, t);
254
+ }
255
+ var Tr = "Expected a function";
256
+ function Lr(o, e, t) {
257
+ if (typeof o != "function")
258
+ throw new TypeError(Tr);
259
+ return setTimeout(function() {
260
+ o.apply(void 0, t);
261
+ }, e);
262
+ }
263
+ var Ar = Ba(function(o, e, t) {
264
+ return Lr(o, Nt(e) || 0, t);
265
+ });
266
+ const wr = Ar;
267
+ function Mr(o, e) {
268
+ var t = -1, n = Ha(o) ? Array(o.length) : [];
257
269
  return aa(o, function(s, a, i) {
258
270
  n[++t] = e(s, a, i);
259
271
  }), n;
260
272
  }
261
- function Tr(o, e) {
262
- var t = qs(o) ? Ha : xr;
273
+ function Cr(o, e) {
274
+ var t = qs(o) ? $a : Mr;
263
275
  return t(o, Ks(e));
264
276
  }
265
- var Lr = 1 / 0;
266
- function Ar(o, e) {
267
- return $a(Tr(o, e), Lr);
277
+ var _r = 1 / 0;
278
+ function Ir(o, e) {
279
+ return Ua(Cr(o, e), _r);
268
280
  }
269
281
  function Ea(o, e) {
270
- return Ua(o, e);
282
+ return Fa(o, e);
271
283
  }
272
- var Mr = Sr(function(o, e, t) {
284
+ var Rr = Or(function(o, e, t) {
273
285
  return o + (t ? "-" : "") + e.toLowerCase();
274
286
  });
275
- const st = Mr;
276
- function wr(o, e) {
287
+ const st = Rr;
288
+ function kr(o, e) {
277
289
  var t;
278
290
  return aa(o, function(n, s, a) {
279
291
  return t = e(n, s, a), !t;
280
292
  }), !!t;
281
293
  }
282
- function Cr(o, e, t) {
283
- var n = qs(o) ? Fa : wr;
284
- return t && za(o, e, t) && (e = void 0), n(o, Ks(e));
294
+ function Dr(o, e, t) {
295
+ var n = qs(o) ? za : kr;
296
+ return t && Wa(o, e, t) && (e = void 0), n(o, Ks(e));
285
297
  }
286
298
  class q {
287
299
  constructor(e, t, n) {
@@ -318,7 +330,7 @@ class q {
318
330
  const t = this.parent;
319
331
  if (this.parent = e, !(t && t.node() === e.node()) && this.type) {
320
332
  const s = v(this.model.getOptions(), "style", "prefix");
321
- (n = this.parent) == null || n.classed(`${we}--${s}--${this.type}`, !0), t && t.classed(`${we}--${s}--${this.type}`, !1);
333
+ (n = this.parent) == null || n.classed(`${Me}--${s}--${this.type}`, !0), t && t.classed(`${Me}--${s}--${this.type}`, !1);
322
334
  }
323
335
  }
324
336
  getParent() {
@@ -328,7 +340,7 @@ class q {
328
340
  if (this.type) {
329
341
  const t = v(this.model.getOptions(), "style", "prefix"), n = this.id ? `#${this.id}` : "", s = S.appendOrSelect(
330
342
  this.parent,
331
- `${this.renderType === j.SVG ? "svg" : "div"}${n}.${we}--${t}--${this.type}`
343
+ `${this.renderType === j.SVG ? "svg" : "div"}${n}.${Me}--${t}--${this.type}`
332
344
  );
333
345
  if (e.withinChartClip) {
334
346
  const a = this.model.get("chartClipId");
@@ -354,13 +366,13 @@ class q {
354
366
  const {
355
367
  entries: ba,
356
368
  setPrototypeOf: xs,
357
- isFrozen: _r,
358
- getPrototypeOf: Ir,
369
+ isFrozen: Nr,
370
+ getPrototypeOf: Pr,
359
371
  getOwnPropertyDescriptor: $n
360
372
  } = Object;
361
373
  let {
362
374
  freeze: Ee,
363
- seal: Re,
375
+ seal: ke,
364
376
  create: Sa
365
377
  } = Object, {
366
378
  apply: yn,
@@ -369,7 +381,7 @@ let {
369
381
  Ee || (Ee = function(e) {
370
382
  return e;
371
383
  });
372
- Re || (Re = function(e) {
384
+ ke || (ke = function(e) {
373
385
  return e;
374
386
  });
375
387
  yn || (yn = function(e, t, n) {
@@ -378,7 +390,7 @@ yn || (yn = function(e, t, n) {
378
390
  En || (En = function(e, t) {
379
391
  return new e(...t);
380
392
  });
381
- const It = _e(Array.prototype.forEach), Ts = _e(Array.prototype.pop), vt = _e(Array.prototype.push), Nt = _e(String.prototype.toLowerCase), ln = _e(String.prototype.toString), kr = _e(String.prototype.match), yt = _e(String.prototype.replace), Rr = _e(String.prototype.indexOf), Dr = _e(String.prototype.trim), Oe = _e(RegExp.prototype.test), Et = Nr(TypeError);
393
+ const It = _e(Array.prototype.forEach), Ts = _e(Array.prototype.pop), vt = _e(Array.prototype.push), Pt = _e(String.prototype.toLowerCase), ln = _e(String.prototype.toString), Vr = _e(String.prototype.match), yt = _e(String.prototype.replace), Gr = _e(String.prototype.indexOf), Br = _e(String.prototype.trim), Oe = _e(RegExp.prototype.test), Et = Hr(TypeError);
382
394
  function _e(o) {
383
395
  return function(e) {
384
396
  for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), s = 1; s < t; s++)
@@ -386,7 +398,7 @@ function _e(o) {
386
398
  return yn(o, e, n);
387
399
  };
388
400
  }
389
- function Nr(o) {
401
+ function Hr(o) {
390
402
  return function() {
391
403
  for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
392
404
  t[n] = arguments[n];
@@ -394,20 +406,20 @@ function Nr(o) {
394
406
  };
395
407
  }
396
408
  function Y(o, e) {
397
- let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Nt;
409
+ let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Pt;
398
410
  xs && xs(o, null);
399
411
  let n = e.length;
400
412
  for (; n--; ) {
401
413
  let s = e[n];
402
414
  if (typeof s == "string") {
403
415
  const a = t(s);
404
- a !== s && (_r(e) || (e[n] = a), s = a);
416
+ a !== s && (Nr(e) || (e[n] = a), s = a);
405
417
  }
406
418
  o[s] = !0;
407
419
  }
408
420
  return o;
409
421
  }
410
- function Pr(o) {
422
+ function $r(o) {
411
423
  for (let e = 0; e < o.length; e++)
412
424
  $n(o, e) === void 0 && (o[e] = null);
413
425
  return o;
@@ -415,10 +427,10 @@ function Pr(o) {
415
427
  function Xe(o) {
416
428
  const e = Sa(null);
417
429
  for (const [t, n] of ba(o))
418
- $n(o, t) !== void 0 && (Array.isArray(n) ? e[t] = Pr(n) : n && typeof n == "object" && n.constructor === Object ? e[t] = Xe(n) : e[t] = n);
430
+ $n(o, t) !== void 0 && (Array.isArray(n) ? e[t] = $r(n) : n && typeof n == "object" && n.constructor === Object ? e[t] = Xe(n) : e[t] = n);
419
431
  return e;
420
432
  }
421
- function kt(o, e) {
433
+ function Rt(o, e) {
422
434
  for (; o !== null; ) {
423
435
  const n = $n(o, e);
424
436
  if (n) {
@@ -427,35 +439,35 @@ function kt(o, e) {
427
439
  if (typeof n.value == "function")
428
440
  return _e(n.value);
429
441
  }
430
- o = Ir(o);
442
+ o = Pr(o);
431
443
  }
432
444
  function t(n) {
433
445
  return console.warn("fallback value for", n), null;
434
446
  }
435
447
  return t;
436
448
  }
437
- const Ls = Ee(["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"]), cn = Ee(["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"]), dn = Ee(["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"]), Vr = Ee(["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"]), hn = Ee(["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"]), Gr = Ee(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), As = Ee(["#text"]), Ms = Ee(["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", "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", "xmlns", "slot"]), un = Ee(["accent-height", "accumulate", "additive", "alignment-baseline", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), ws = Ee(["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"]), Rt = Ee(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Br = Re(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Hr = Re(/<%[\w\W]*|[\w\W]*%>/gm), $r = Re(/\${[\w\W]*}/gm), Ur = Re(/^data-[\-\w.\u00B7-\uFFFF]/), Fr = Re(/^aria-[\-\w]+$/), Oa = Re(
449
+ const Ls = Ee(["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"]), cn = Ee(["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"]), dn = Ee(["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"]), Ur = Ee(["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"]), hn = Ee(["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"]), Fr = Ee(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), As = Ee(["#text"]), ws = Ee(["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", "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", "xmlns", "slot"]), un = Ee(["accent-height", "accumulate", "additive", "alignment-baseline", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Ms = Ee(["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"]), kt = Ee(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), zr = ke(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Wr = ke(/<%[\w\W]*|[\w\W]*%>/gm), jr = ke(/\${[\w\W]*}/gm), Xr = ke(/^data-[\-\w.\u00B7-\uFFFF]/), Zr = ke(/^aria-[\-\w]+$/), Oa = ke(
438
450
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
439
451
  // eslint-disable-line no-useless-escape
440
- ), zr = Re(/^(?:\w+script|data):/i), Wr = Re(
452
+ ), Yr = ke(/^(?:\w+script|data):/i), qr = ke(
441
453
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
442
454
  // eslint-disable-line no-control-regex
443
- ), xa = Re(/^html$/i);
455
+ ), xa = ke(/^html$/i);
444
456
  var Cs = /* @__PURE__ */ Object.freeze({
445
457
  __proto__: null,
446
- MUSTACHE_EXPR: Br,
447
- ERB_EXPR: Hr,
448
- TMPLIT_EXPR: $r,
449
- DATA_ATTR: Ur,
450
- ARIA_ATTR: Fr,
458
+ MUSTACHE_EXPR: zr,
459
+ ERB_EXPR: Wr,
460
+ TMPLIT_EXPR: jr,
461
+ DATA_ATTR: Xr,
462
+ ARIA_ATTR: Zr,
451
463
  IS_ALLOWED_URI: Oa,
452
- IS_SCRIPT_OR_DATA: zr,
453
- ATTR_WHITESPACE: Wr,
464
+ IS_SCRIPT_OR_DATA: Yr,
465
+ ATTR_WHITESPACE: qr,
454
466
  DOCTYPE_NAME: xa
455
467
  });
456
- const jr = function() {
468
+ const Kr = function() {
457
469
  return typeof window > "u" ? null : window;
458
- }, Xr = function(e, t) {
470
+ }, Jr = function(e, t) {
459
471
  if (typeof e != "object" || typeof e.createPolicy != "function")
460
472
  return null;
461
473
  let n = null;
@@ -476,7 +488,7 @@ const jr = function() {
476
488
  }
477
489
  };
478
490
  function Ta() {
479
- let o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : jr();
491
+ let o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Kr();
480
492
  const e = ($) => Ta($);
481
493
  if (e.version = "3.0.8", e.removed = [], !o || !o.document || o.document.nodeType !== 9)
482
494
  return e.isSupported = !1, e;
@@ -493,27 +505,27 @@ function Ta() {
493
505
  HTMLFormElement: p,
494
506
  DOMParser: h,
495
507
  trustedTypes: u
496
- } = o, g = l.prototype, m = kt(g, "cloneNode"), E = kt(g, "nextSibling"), O = kt(g, "childNodes"), T = kt(g, "parentNode");
508
+ } = o, g = l.prototype, m = Rt(g, "cloneNode"), E = Rt(g, "nextSibling"), O = Rt(g, "childNodes"), T = Rt(g, "parentNode");
497
509
  if (typeof i == "function") {
498
510
  const $ = t.createElement("template");
499
511
  $.content && $.content.ownerDocument && (t = $.content.ownerDocument);
500
512
  }
501
513
  let y, A = "";
502
514
  const {
503
- implementation: M,
515
+ implementation: w,
504
516
  createNodeIterator: L,
505
517
  createDocumentFragment: I,
506
518
  getElementsByTagName: N
507
519
  } = t, {
508
520
  importNode: W
509
521
  } = n;
510
- let k = {};
511
- e.isSupported = typeof ba == "function" && typeof T == "function" && M && M.createHTMLDocument !== void 0;
522
+ let R = {};
523
+ e.isSupported = typeof ba == "function" && typeof T == "function" && w && w.createHTMLDocument !== void 0;
512
524
  const {
513
525
  MUSTACHE_EXPR: C,
514
526
  ERB_EXPR: V,
515
527
  TMPLIT_EXPR: F,
516
- DATA_ATTR: w,
528
+ DATA_ATTR: M,
517
529
  ARIA_ATTR: Q,
518
530
  IS_SCRIPT_OR_DATA: me,
519
531
  ATTR_WHITESPACE: K
@@ -523,7 +535,7 @@ function Ta() {
523
535
  } = Cs, Z = null;
524
536
  const ut = Y({}, [...Ls, ...cn, ...dn, ...hn, ...As]);
525
537
  let le = null;
526
- const Ye = Y({}, [...Ms, ...un, ...ws, ...Rt]);
538
+ const Ye = Y({}, [...ws, ...un, ...Ms, ...kt]);
527
539
  let se = Object.seal(Sa(null, {
528
540
  tagNameCheck: {
529
541
  writable: !0,
@@ -545,24 +557,24 @@ function Ta() {
545
557
  }
546
558
  })), Ie = null, qe = null, U = !0, J = !0, ae = !1, re = !0, ce = !1, Te = !1, _ = !1, D = !1, P = !1, Le = !1, Tt = !1, jn = !0, Xn = !1;
547
559
  const _a = "user-content-";
548
- let Xt = !0, pt = !1, Ke = {}, Je = null;
560
+ let Zt = !0, pt = !1, Ke = {}, Je = null;
549
561
  const Zn = Y({}, ["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"]);
550
562
  let Yn = null;
551
563
  const qn = Y({}, ["audio", "video", "img", "source", "image", "track"]);
552
- let Zt = null;
564
+ let Yt = null;
553
565
  const Kn = Y({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Lt = "http://www.w3.org/1998/Math/MathML", At = "http://www.w3.org/2000/svg", Ne = "http://www.w3.org/1999/xhtml";
554
- let Qe = Ne, Yt = !1, qt = null;
566
+ let Qe = Ne, qt = !1, Kt = null;
555
567
  const Ia = Y({}, [Lt, At, Ne], ln);
556
568
  let gt = null;
557
- const ka = ["application/xhtml+xml", "text/html"], Ra = "text/html";
569
+ const Ra = ["application/xhtml+xml", "text/html"], ka = "text/html";
558
570
  let he = null, et = null;
559
571
  const Da = t.createElement("form"), Jn = function(b) {
560
572
  return b instanceof RegExp || b instanceof Function;
561
- }, Kt = function() {
573
+ }, Jt = function() {
562
574
  let b = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
563
575
  if (!(et && et === b)) {
564
576
  if ((!b || typeof b != "object") && (b = {}), b = Xe(b), gt = // eslint-disable-next-line unicorn/prefer-includes
565
- ka.indexOf(b.PARSER_MEDIA_TYPE) === -1 ? Ra : b.PARSER_MEDIA_TYPE, he = gt === "application/xhtml+xml" ? ln : Nt, Z = "ALLOWED_TAGS" in b ? Y({}, b.ALLOWED_TAGS, he) : ut, le = "ALLOWED_ATTR" in b ? Y({}, b.ALLOWED_ATTR, he) : Ye, qt = "ALLOWED_NAMESPACES" in b ? Y({}, b.ALLOWED_NAMESPACES, ln) : Ia, Zt = "ADD_URI_SAFE_ATTR" in b ? Y(
577
+ Ra.indexOf(b.PARSER_MEDIA_TYPE) === -1 ? ka : b.PARSER_MEDIA_TYPE, he = gt === "application/xhtml+xml" ? ln : Pt, Z = "ALLOWED_TAGS" in b ? Y({}, b.ALLOWED_TAGS, he) : ut, le = "ALLOWED_ATTR" in b ? Y({}, b.ALLOWED_ATTR, he) : Ye, Kt = "ALLOWED_NAMESPACES" in b ? Y({}, b.ALLOWED_NAMESPACES, ln) : Ia, Yt = "ADD_URI_SAFE_ATTR" in b ? Y(
566
578
  Xe(Kn),
567
579
  // eslint-disable-line indent
568
580
  b.ADD_URI_SAFE_ATTR,
@@ -576,24 +588,24 @@ function Ta() {
576
588
  // eslint-disable-line indent
577
589
  he
578
590
  // eslint-disable-line indent
579
- ) : qn, Je = "FORBID_CONTENTS" in b ? Y({}, b.FORBID_CONTENTS, he) : Zn, Ie = "FORBID_TAGS" in b ? Y({}, b.FORBID_TAGS, he) : {}, qe = "FORBID_ATTR" in b ? Y({}, b.FORBID_ATTR, he) : {}, Ke = "USE_PROFILES" in b ? b.USE_PROFILES : !1, U = b.ALLOW_ARIA_ATTR !== !1, J = b.ALLOW_DATA_ATTR !== !1, ae = b.ALLOW_UNKNOWN_PROTOCOLS || !1, re = b.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ce = b.SAFE_FOR_TEMPLATES || !1, Te = b.WHOLE_DOCUMENT || !1, P = b.RETURN_DOM || !1, Le = b.RETURN_DOM_FRAGMENT || !1, Tt = b.RETURN_TRUSTED_TYPE || !1, D = b.FORCE_BODY || !1, jn = b.SANITIZE_DOM !== !1, Xn = b.SANITIZE_NAMED_PROPS || !1, Xt = b.KEEP_CONTENT !== !1, pt = b.IN_PLACE || !1, H = b.ALLOWED_URI_REGEXP || Oa, Qe = b.NAMESPACE || Ne, se = b.CUSTOM_ELEMENT_HANDLING || {}, b.CUSTOM_ELEMENT_HANDLING && Jn(b.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (se.tagNameCheck = b.CUSTOM_ELEMENT_HANDLING.tagNameCheck), b.CUSTOM_ELEMENT_HANDLING && Jn(b.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (se.attributeNameCheck = b.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), b.CUSTOM_ELEMENT_HANDLING && typeof b.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (se.allowCustomizedBuiltInElements = b.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ce && (J = !1), Le && (P = !0), Ke && (Z = Y({}, As), le = [], Ke.html === !0 && (Y(Z, Ls), Y(le, Ms)), Ke.svg === !0 && (Y(Z, cn), Y(le, un), Y(le, Rt)), Ke.svgFilters === !0 && (Y(Z, dn), Y(le, un), Y(le, Rt)), Ke.mathMl === !0 && (Y(Z, hn), Y(le, ws), Y(le, Rt))), b.ADD_TAGS && (Z === ut && (Z = Xe(Z)), Y(Z, b.ADD_TAGS, he)), b.ADD_ATTR && (le === Ye && (le = Xe(le)), Y(le, b.ADD_ATTR, he)), b.ADD_URI_SAFE_ATTR && Y(Zt, b.ADD_URI_SAFE_ATTR, he), b.FORBID_CONTENTS && (Je === Zn && (Je = Xe(Je)), Y(Je, b.FORBID_CONTENTS, he)), Xt && (Z["#text"] = !0), Te && Y(Z, ["html", "head", "body"]), Z.table && (Y(Z, ["tbody"]), delete Ie.tbody), b.TRUSTED_TYPES_POLICY) {
591
+ ) : qn, Je = "FORBID_CONTENTS" in b ? Y({}, b.FORBID_CONTENTS, he) : Zn, Ie = "FORBID_TAGS" in b ? Y({}, b.FORBID_TAGS, he) : {}, qe = "FORBID_ATTR" in b ? Y({}, b.FORBID_ATTR, he) : {}, Ke = "USE_PROFILES" in b ? b.USE_PROFILES : !1, U = b.ALLOW_ARIA_ATTR !== !1, J = b.ALLOW_DATA_ATTR !== !1, ae = b.ALLOW_UNKNOWN_PROTOCOLS || !1, re = b.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ce = b.SAFE_FOR_TEMPLATES || !1, Te = b.WHOLE_DOCUMENT || !1, P = b.RETURN_DOM || !1, Le = b.RETURN_DOM_FRAGMENT || !1, Tt = b.RETURN_TRUSTED_TYPE || !1, D = b.FORCE_BODY || !1, jn = b.SANITIZE_DOM !== !1, Xn = b.SANITIZE_NAMED_PROPS || !1, Zt = b.KEEP_CONTENT !== !1, pt = b.IN_PLACE || !1, H = b.ALLOWED_URI_REGEXP || Oa, Qe = b.NAMESPACE || Ne, se = b.CUSTOM_ELEMENT_HANDLING || {}, b.CUSTOM_ELEMENT_HANDLING && Jn(b.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (se.tagNameCheck = b.CUSTOM_ELEMENT_HANDLING.tagNameCheck), b.CUSTOM_ELEMENT_HANDLING && Jn(b.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (se.attributeNameCheck = b.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), b.CUSTOM_ELEMENT_HANDLING && typeof b.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (se.allowCustomizedBuiltInElements = b.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ce && (J = !1), Le && (P = !0), Ke && (Z = Y({}, As), le = [], Ke.html === !0 && (Y(Z, Ls), Y(le, ws)), Ke.svg === !0 && (Y(Z, cn), Y(le, un), Y(le, kt)), Ke.svgFilters === !0 && (Y(Z, dn), Y(le, un), Y(le, kt)), Ke.mathMl === !0 && (Y(Z, hn), Y(le, Ms), Y(le, kt))), b.ADD_TAGS && (Z === ut && (Z = Xe(Z)), Y(Z, b.ADD_TAGS, he)), b.ADD_ATTR && (le === Ye && (le = Xe(le)), Y(le, b.ADD_ATTR, he)), b.ADD_URI_SAFE_ATTR && Y(Yt, b.ADD_URI_SAFE_ATTR, he), b.FORBID_CONTENTS && (Je === Zn && (Je = Xe(Je)), Y(Je, b.FORBID_CONTENTS, he)), Zt && (Z["#text"] = !0), Te && Y(Z, ["html", "head", "body"]), Z.table && (Y(Z, ["tbody"]), delete Ie.tbody), b.TRUSTED_TYPES_POLICY) {
580
592
  if (typeof b.TRUSTED_TYPES_POLICY.createHTML != "function")
581
593
  throw Et('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
582
594
  if (typeof b.TRUSTED_TYPES_POLICY.createScriptURL != "function")
583
595
  throw Et('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
584
596
  y = b.TRUSTED_TYPES_POLICY, A = y.createHTML("");
585
597
  } else
586
- y === void 0 && (y = Xr(u, s)), y !== null && typeof A == "string" && (A = y.createHTML(""));
598
+ y === void 0 && (y = Jr(u, s)), y !== null && typeof A == "string" && (A = y.createHTML(""));
587
599
  Ee && Ee(b), et = b;
588
600
  }
589
- }, Qn = Y({}, ["mi", "mo", "mn", "ms", "mtext"]), es = Y({}, ["foreignobject", "desc", "title", "annotation-xml"]), Na = Y({}, ["title", "style", "font", "a", "script"]), ts = Y({}, [...cn, ...dn, ...Vr]), ns = Y({}, [...hn, ...Gr]), Pa = function(b) {
590
- let R = T(b);
591
- (!R || !R.tagName) && (R = {
601
+ }, Qn = Y({}, ["mi", "mo", "mn", "ms", "mtext"]), es = Y({}, ["foreignobject", "desc", "title", "annotation-xml"]), Na = Y({}, ["title", "style", "font", "a", "script"]), ts = Y({}, [...cn, ...dn, ...Ur]), ns = Y({}, [...hn, ...Fr]), Pa = function(b) {
602
+ let k = T(b);
603
+ (!k || !k.tagName) && (k = {
592
604
  namespaceURI: Qe,
593
605
  tagName: "template"
594
606
  });
595
- const B = Nt(b.tagName), ee = Nt(R.tagName);
596
- return qt[b.namespaceURI] ? b.namespaceURI === At ? R.namespaceURI === Ne ? B === "svg" : R.namespaceURI === Lt ? B === "svg" && (ee === "annotation-xml" || Qn[ee]) : !!ts[B] : b.namespaceURI === Lt ? R.namespaceURI === Ne ? B === "math" : R.namespaceURI === At ? B === "math" && es[ee] : !!ns[B] : b.namespaceURI === Ne ? R.namespaceURI === At && !es[ee] || R.namespaceURI === Lt && !Qn[ee] ? !1 : !ns[B] && (Na[B] || !ts[B]) : !!(gt === "application/xhtml+xml" && qt[b.namespaceURI]) : !1;
607
+ const B = Pt(b.tagName), ee = Pt(k.tagName);
608
+ return Kt[b.namespaceURI] ? b.namespaceURI === At ? k.namespaceURI === Ne ? B === "svg" : k.namespaceURI === Lt ? B === "svg" && (ee === "annotation-xml" || Qn[ee]) : !!ts[B] : b.namespaceURI === Lt ? k.namespaceURI === Ne ? B === "math" : k.namespaceURI === At ? B === "math" && es[ee] : !!ns[B] : b.namespaceURI === Ne ? k.namespaceURI === At && !es[ee] || k.namespaceURI === Lt && !Qn[ee] ? !1 : !ns[B] && (Na[B] || !ts[B]) : !!(gt === "application/xhtml+xml" && Kt[b.namespaceURI]) : !1;
597
609
  }, Ue = function(b) {
598
610
  vt(e.removed, {
599
611
  element: b
@@ -603,53 +615,53 @@ function Ta() {
603
615
  } catch {
604
616
  b.remove();
605
617
  }
606
- }, Jt = function(b, R) {
618
+ }, Qt = function(b, k) {
607
619
  try {
608
620
  vt(e.removed, {
609
- attribute: R.getAttributeNode(b),
610
- from: R
621
+ attribute: k.getAttributeNode(b),
622
+ from: k
611
623
  });
612
624
  } catch {
613
625
  vt(e.removed, {
614
626
  attribute: null,
615
- from: R
627
+ from: k
616
628
  });
617
629
  }
618
- if (R.removeAttribute(b), b === "is" && !le[b])
630
+ if (k.removeAttribute(b), b === "is" && !le[b])
619
631
  if (P || Le)
620
632
  try {
621
- Ue(R);
633
+ Ue(k);
622
634
  } catch {
623
635
  }
624
636
  else
625
637
  try {
626
- R.setAttribute(b, "");
638
+ k.setAttribute(b, "");
627
639
  } catch {
628
640
  }
629
641
  }, ss = function(b) {
630
- let R = null, B = null;
642
+ let k = null, B = null;
631
643
  if (D)
632
644
  b = "<remove></remove>" + b;
633
645
  else {
634
- const ve = kr(b, /^[\r\n\t ]+/);
646
+ const ve = Vr(b, /^[\r\n\t ]+/);
635
647
  B = ve && ve[0];
636
648
  }
637
649
  gt === "application/xhtml+xml" && Qe === Ne && (b = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + b + "</body></html>");
638
650
  const ee = y ? y.createHTML(b) : b;
639
651
  if (Qe === Ne)
640
652
  try {
641
- R = new h().parseFromString(ee, gt);
653
+ k = new h().parseFromString(ee, gt);
642
654
  } catch {
643
655
  }
644
- if (!R || !R.documentElement) {
645
- R = M.createDocument(Qe, "template", null);
656
+ if (!k || !k.documentElement) {
657
+ k = w.createDocument(Qe, "template", null);
646
658
  try {
647
- R.documentElement.innerHTML = Yt ? A : ee;
659
+ k.documentElement.innerHTML = qt ? A : ee;
648
660
  } catch {
649
661
  }
650
662
  }
651
- const fe = R.body || R.documentElement;
652
- return b && B && fe.insertBefore(t.createTextNode(B), fe.childNodes[0] || null), Qe === Ne ? N.call(R, Te ? "html" : "body")[0] : Te ? R.documentElement : fe;
663
+ const fe = k.body || k.documentElement;
664
+ return b && B && fe.insertBefore(t.createTextNode(B), fe.childNodes[0] || null), Qe === Ne ? N.call(k, Te ? "html" : "body")[0] : Te ? k.documentElement : fe;
653
665
  }, as = function(b) {
654
666
  return L.call(
655
667
  b.ownerDocument || b,
@@ -662,12 +674,12 @@ function Ta() {
662
674
  return b instanceof p && (typeof b.nodeName != "string" || typeof b.textContent != "string" || typeof b.removeChild != "function" || !(b.attributes instanceof d) || typeof b.removeAttribute != "function" || typeof b.setAttribute != "function" || typeof b.namespaceURI != "string" || typeof b.insertBefore != "function" || typeof b.hasChildNodes != "function");
663
675
  }, is = function(b) {
664
676
  return typeof r == "function" && b instanceof r;
665
- }, Pe = function(b, R, B) {
666
- k[b] && It(k[b], (ee) => {
667
- ee.call(e, R, B, et);
677
+ }, Pe = function(b, k, B) {
678
+ R[b] && It(R[b], (ee) => {
679
+ ee.call(e, k, B, et);
668
680
  });
669
681
  }, rs = function(b) {
670
- let R = null;
682
+ let k = null;
671
683
  if (Pe("beforeSanitizeElements", b, null), Va(b))
672
684
  return Ue(b), !0;
673
685
  const B = he(b.nodeName);
@@ -679,7 +691,7 @@ function Ta() {
679
691
  if (!Z[B] || Ie[B]) {
680
692
  if (!Ie[B] && ls(B) && (se.tagNameCheck instanceof RegExp && Oe(se.tagNameCheck, B) || se.tagNameCheck instanceof Function && se.tagNameCheck(B)))
681
693
  return !1;
682
- if (Xt && !Je[B]) {
694
+ if (Zt && !Je[B]) {
683
695
  const ee = T(b) || b.parentNode, fe = O(b) || b.childNodes;
684
696
  if (fe && ee) {
685
697
  const ve = fe.length;
@@ -689,29 +701,29 @@ function Ta() {
689
701
  }
690
702
  return Ue(b), !0;
691
703
  }
692
- return b instanceof l && !Pa(b) || (B === "noscript" || B === "noembed" || B === "noframes") && Oe(/<\/no(script|embed|frames)/i, b.innerHTML) ? (Ue(b), !0) : (ce && b.nodeType === 3 && (R = b.textContent, It([C, V, F], (ee) => {
693
- R = yt(R, ee, " ");
694
- }), b.textContent !== R && (vt(e.removed, {
704
+ return b instanceof l && !Pa(b) || (B === "noscript" || B === "noembed" || B === "noframes") && Oe(/<\/no(script|embed|frames)/i, b.innerHTML) ? (Ue(b), !0) : (ce && b.nodeType === 3 && (k = b.textContent, It([C, V, F], (ee) => {
705
+ k = yt(k, ee, " ");
706
+ }), b.textContent !== k && (vt(e.removed, {
695
707
  element: b.cloneNode()
696
- }), b.textContent = R)), Pe("afterSanitizeElements", b, null), !1);
697
- }, os = function(b, R, B) {
698
- if (jn && (R === "id" || R === "name") && (B in t || B in Da))
708
+ }), b.textContent = k)), Pe("afterSanitizeElements", b, null), !1);
709
+ }, os = function(b, k, B) {
710
+ if (jn && (k === "id" || k === "name") && (B in t || B in Da))
699
711
  return !1;
700
- if (!(J && !qe[R] && Oe(w, R))) {
701
- if (!(U && Oe(Q, R))) {
702
- if (!le[R] || qe[R]) {
712
+ if (!(J && !qe[k] && Oe(M, k))) {
713
+ if (!(U && Oe(Q, k))) {
714
+ if (!le[k] || qe[k]) {
703
715
  if (
704
716
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
705
717
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
706
718
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
707
- !(ls(b) && (se.tagNameCheck instanceof RegExp && Oe(se.tagNameCheck, b) || se.tagNameCheck instanceof Function && se.tagNameCheck(b)) && (se.attributeNameCheck instanceof RegExp && Oe(se.attributeNameCheck, R) || se.attributeNameCheck instanceof Function && se.attributeNameCheck(R)) || // Alternative, second condition checks if it's an `is`-attribute, AND
719
+ !(ls(b) && (se.tagNameCheck instanceof RegExp && Oe(se.tagNameCheck, b) || se.tagNameCheck instanceof Function && se.tagNameCheck(b)) && (se.attributeNameCheck instanceof RegExp && Oe(se.attributeNameCheck, k) || se.attributeNameCheck instanceof Function && se.attributeNameCheck(k)) || // Alternative, second condition checks if it's an `is`-attribute, AND
708
720
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
709
- R === "is" && se.allowCustomizedBuiltInElements && (se.tagNameCheck instanceof RegExp && Oe(se.tagNameCheck, B) || se.tagNameCheck instanceof Function && se.tagNameCheck(B)))
721
+ k === "is" && se.allowCustomizedBuiltInElements && (se.tagNameCheck instanceof RegExp && Oe(se.tagNameCheck, B) || se.tagNameCheck instanceof Function && se.tagNameCheck(B)))
710
722
  )
711
723
  return !1;
712
- } else if (!Zt[R]) {
724
+ } else if (!Yt[k]) {
713
725
  if (!Oe(H, yt(B, K, ""))) {
714
- if (!((R === "src" || R === "xlink:href" || R === "href") && b !== "script" && Rr(B, "data:") === 0 && Yn[b])) {
726
+ if (!((k === "src" || k === "xlink:href" || k === "href") && b !== "script" && Gr(B, "data:") === 0 && Yn[b])) {
715
727
  if (!(ae && !Oe(me, yt(B, K, "")))) {
716
728
  if (B)
717
729
  return !1;
@@ -727,9 +739,9 @@ function Ta() {
727
739
  }, cs = function(b) {
728
740
  Pe("beforeSanitizeAttributes", b, null);
729
741
  const {
730
- attributes: R
742
+ attributes: k
731
743
  } = b;
732
- if (!R)
744
+ if (!k)
733
745
  return;
734
746
  const B = {
735
747
  attrName: "",
@@ -737,18 +749,18 @@ function Ta() {
737
749
  keepAttr: !0,
738
750
  allowedAttributes: le
739
751
  };
740
- let ee = R.length;
752
+ let ee = k.length;
741
753
  for (; ee--; ) {
742
- const fe = R[ee], {
754
+ const fe = k[ee], {
743
755
  name: ve,
744
756
  namespaceURI: be,
745
757
  value: Fe
746
758
  } = fe, mt = he(ve);
747
- let Se = ve === "value" ? Fe : Dr(Fe);
748
- if (B.attrName = mt, B.attrValue = Se, B.keepAttr = !0, B.forceKeepAttr = void 0, Pe("uponSanitizeAttribute", b, B), Se = B.attrValue, B.forceKeepAttr || (Jt(ve, b), !B.keepAttr))
759
+ let Se = ve === "value" ? Fe : Br(Fe);
760
+ if (B.attrName = mt, B.attrValue = Se, B.keepAttr = !0, B.forceKeepAttr = void 0, Pe("uponSanitizeAttribute", b, B), Se = B.attrValue, B.forceKeepAttr || (Qt(ve, b), !B.keepAttr))
749
761
  continue;
750
762
  if (!re && Oe(/\/>/i, Se)) {
751
- Jt(ve, b);
763
+ Qt(ve, b);
752
764
  continue;
753
765
  }
754
766
  ce && It([C, V, F], (hs) => {
@@ -756,7 +768,7 @@ function Ta() {
756
768
  });
757
769
  const ds = he(b.nodeName);
758
770
  if (os(ds, mt, Se)) {
759
- if (Xn && (mt === "id" || mt === "name") && (Jt(ve, b), Se = _a + Se), y && typeof u == "object" && typeof u.getAttributeType == "function" && !be)
771
+ if (Xn && (mt === "id" || mt === "name") && (Qt(ve, b), Se = _a + Se), y && typeof u == "object" && typeof u.getAttributeType == "function" && !be)
760
772
  switch (u.getAttributeType(ds, mt)) {
761
773
  case "TrustedHTML": {
762
774
  Se = y.createHTML(Se);
@@ -775,15 +787,15 @@ function Ta() {
775
787
  }
776
788
  Pe("afterSanitizeAttributes", b, null);
777
789
  }, Ga = function $(b) {
778
- let R = null;
790
+ let k = null;
779
791
  const B = as(b);
780
- for (Pe("beforeSanitizeShadowDOM", b, null); R = B.nextNode(); )
781
- Pe("uponSanitizeShadowNode", R, null), !rs(R) && (R.content instanceof a && $(R.content), cs(R));
792
+ for (Pe("beforeSanitizeShadowDOM", b, null); k = B.nextNode(); )
793
+ Pe("uponSanitizeShadowNode", k, null), !rs(k) && (k.content instanceof a && $(k.content), cs(k));
782
794
  Pe("afterSanitizeShadowDOM", b, null);
783
795
  };
784
796
  return e.sanitize = function($) {
785
- let b = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, R = null, B = null, ee = null, fe = null;
786
- if (Yt = !$, Yt && ($ = "<!-->"), typeof $ != "string" && !is($))
797
+ let b = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, k = null, B = null, ee = null, fe = null;
798
+ if (qt = !$, qt && ($ = "<!-->"), typeof $ != "string" && !is($))
787
799
  if (typeof $.toString == "function") {
788
800
  if ($ = $.toString(), typeof $ != "string")
789
801
  throw Et("dirty is not a string, aborting");
@@ -791,58 +803,58 @@ function Ta() {
791
803
  throw Et("toString is not a function");
792
804
  if (!e.isSupported)
793
805
  return $;
794
- if (_ || Kt(b), e.removed = [], typeof $ == "string" && (pt = !1), pt) {
806
+ if (_ || Jt(b), e.removed = [], typeof $ == "string" && (pt = !1), pt) {
795
807
  if ($.nodeName) {
796
808
  const Fe = he($.nodeName);
797
809
  if (!Z[Fe] || Ie[Fe])
798
810
  throw Et("root node is forbidden and cannot be sanitized in-place");
799
811
  }
800
812
  } else if ($ instanceof r)
801
- R = ss("<!---->"), B = R.ownerDocument.importNode($, !0), B.nodeType === 1 && B.nodeName === "BODY" || B.nodeName === "HTML" ? R = B : R.appendChild(B);
813
+ k = ss("<!---->"), B = k.ownerDocument.importNode($, !0), B.nodeType === 1 && B.nodeName === "BODY" || B.nodeName === "HTML" ? k = B : k.appendChild(B);
802
814
  else {
803
815
  if (!P && !ce && !Te && // eslint-disable-next-line unicorn/prefer-includes
804
816
  $.indexOf("<") === -1)
805
817
  return y && Tt ? y.createHTML($) : $;
806
- if (R = ss($), !R)
818
+ if (k = ss($), !k)
807
819
  return P ? null : Tt ? A : "";
808
820
  }
809
- R && D && Ue(R.firstChild);
810
- const ve = as(pt ? $ : R);
821
+ k && D && Ue(k.firstChild);
822
+ const ve = as(pt ? $ : k);
811
823
  for (; ee = ve.nextNode(); )
812
824
  rs(ee) || (ee.content instanceof a && Ga(ee.content), cs(ee));
813
825
  if (pt)
814
826
  return $;
815
827
  if (P) {
816
828
  if (Le)
817
- for (fe = I.call(R.ownerDocument); R.firstChild; )
818
- fe.appendChild(R.firstChild);
829
+ for (fe = I.call(k.ownerDocument); k.firstChild; )
830
+ fe.appendChild(k.firstChild);
819
831
  else
820
- fe = R;
832
+ fe = k;
821
833
  return (le.shadowroot || le.shadowrootmode) && (fe = W.call(n, fe, !0)), fe;
822
834
  }
823
- let be = Te ? R.outerHTML : R.innerHTML;
824
- return Te && Z["!doctype"] && R.ownerDocument && R.ownerDocument.doctype && R.ownerDocument.doctype.name && Oe(xa, R.ownerDocument.doctype.name) && (be = "<!DOCTYPE " + R.ownerDocument.doctype.name + `>
835
+ let be = Te ? k.outerHTML : k.innerHTML;
836
+ return Te && Z["!doctype"] && k.ownerDocument && k.ownerDocument.doctype && k.ownerDocument.doctype.name && Oe(xa, k.ownerDocument.doctype.name) && (be = "<!DOCTYPE " + k.ownerDocument.doctype.name + `>
825
837
  ` + be), ce && It([C, V, F], (Fe) => {
826
838
  be = yt(be, Fe, " ");
827
839
  }), y && Tt ? y.createHTML(be) : be;
828
840
  }, e.setConfig = function() {
829
841
  let $ = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
830
- Kt($), _ = !0;
842
+ Jt($), _ = !0;
831
843
  }, e.clearConfig = function() {
832
844
  et = null, _ = !1;
833
- }, e.isValidAttribute = function($, b, R) {
834
- et || Kt({});
845
+ }, e.isValidAttribute = function($, b, k) {
846
+ et || Jt({});
835
847
  const B = he($), ee = he(b);
836
- return os(B, ee, R);
848
+ return os(B, ee, k);
837
849
  }, e.addHook = function($, b) {
838
- typeof b == "function" && (k[$] = k[$] || [], vt(k[$], b));
850
+ typeof b == "function" && (R[$] = R[$] || [], vt(R[$], b));
839
851
  }, e.removeHook = function($) {
840
- if (k[$])
841
- return Ts(k[$]);
852
+ if (R[$])
853
+ return Ts(R[$]);
842
854
  }, e.removeHooks = function($) {
843
- k[$] && (k[$] = []);
855
+ R[$] && (R[$] = []);
844
856
  }, e.removeAllHooks = function() {
845
- k = {};
857
+ R = {};
846
858
  }, e;
847
859
  }
848
860
  var Un = Ta();
@@ -852,14 +864,14 @@ const Dt = (o) => Un.sanitize(o, {
852
864
  svg: !0,
853
865
  svgFilters: !0
854
866
  }
855
- }), Zr = (o) => Un.sanitize(o, {
867
+ }), Qr = (o) => Un.sanitize(o, {
856
868
  NAMESPACE: "http://www.w3.org/2000/svg",
857
869
  USE_PROFILES: {
858
870
  html: !0,
859
871
  svg: !0,
860
872
  svgFilters: !0
861
873
  }
862
- }), De = (o) => Un.sanitize(o, { ALLOWED_TAGS: [] }), Ut = class Ut extends q {
874
+ }), De = (o) => Un.sanitize(o, { ALLOWED_TAGS: [] }), Ft = class Ft extends q {
863
875
  constructor() {
864
876
  super(...arguments), this.type = "toolbar", this.renderType = j.HTML;
865
877
  }
@@ -895,7 +907,7 @@ const Dt = (o) => Un.sanitize(o, {
895
907
  `control-${De(c.id)}`
896
908
  )}" aria-label="${De(c.title)}">
897
909
  <svg focusable="false" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg" class="cds--overflow-menu__icon cds--overflow-menu__icon" viewBox="0 0 32 32" aria-hidden="true">
898
- ${Zr(c.iconSVG.content)}
910
+ ${Qr(c.iconSVG.content)}
899
911
  </svg>
900
912
  </button>`).each(function(c, d) {
901
913
  x(this).select("svg").style("will-change", "transform").style("width", c.iconSVG.width !== void 0 ? c.iconSVG.width : "20px").style("height", c.iconSVG.height !== void 0 ? c.iconSVG.height : "20px"), x(this).select("button").on("click", (p) => {
@@ -1024,7 +1036,7 @@ const Dt = (o) => Un.sanitize(o, {
1024
1036
  return t.forEach((i) => {
1025
1037
  let r = null;
1026
1038
  if (i.type === ie.CUSTOM)
1027
- v(i, "id") === null && (i.id = `toolbar-button-${Ut.buttonID++}`), v(i, "shouldBeDisabled") === null && (i.shouldBeDisabled = () => !1), r = i;
1039
+ v(i, "id") === null && (i.id = `toolbar-button-${Ft.buttonID++}`), v(i, "shouldBeDisabled") === null && (i.shouldBeDisabled = () => !1), r = i;
1028
1040
  else {
1029
1041
  const l = this.services.domUtils.isFullScreenMode();
1030
1042
  i.type === ie.MAKE_FULLSCREEN && l ? i.type = ie.EXIT_FULLSCREEN : i.type === ie.EXIT_FULLSCREEN && !l && (i.type = ie.MAKE_FULLSCREEN), r = this.getControlConfigByType(i.type);
@@ -1207,11 +1219,11 @@ const Dt = (o) => Un.sanitize(o, {
1207
1219
  }
1208
1220
  }
1209
1221
  };
1210
- Ut.buttonID = 0;
1211
- let _s = Ut;
1212
- const Ft = class Ft extends q {
1222
+ Ft.buttonID = 0;
1223
+ let _s = Ft;
1224
+ const zt = class zt extends q {
1213
1225
  constructor(e, t, n, s) {
1214
- super(e, t, s), this.type = "layout", this.configs = s, this.children = n, this._instanceID = Ft.instanceID++, this.init();
1226
+ super(e, t, s), this.type = "layout", this.configs = s, this.children = n, this._instanceID = zt.instanceID++, this.init();
1215
1227
  }
1216
1228
  init() {
1217
1229
  this.children.forEach((e) => {
@@ -1235,20 +1247,20 @@ const Ft = class Ft extends q {
1235
1247
  }
1236
1248
  render(e = !0) {
1237
1249
  const t = this.parent, { width: n, height: s } = S.getHTMLElementSize(t.node()), a = this.configs.direction === tt.ROW || this.configs.direction === tt.ROW_REVERSE, i = v(this.model.getOptions(), "style", "prefix"), r = t.classed(
1238
- `${we}--${i}--layout-row`,
1250
+ `${Me}--${i}--layout-row`,
1239
1251
  this.configs.direction === tt.ROW
1240
1252
  ).classed(
1241
- `${we}--${i}--layout-row-reverse`,
1253
+ `${Me}--${i}--layout-row-reverse`,
1242
1254
  this.configs.direction === tt.ROW_REVERSE
1243
1255
  ).classed(
1244
- `${we}--${i}--layout-column`,
1256
+ `${Me}--${i}--layout-column`,
1245
1257
  this.configs.direction === tt.COLUMN
1246
1258
  ).classed(
1247
- `${we}--${i}--layout-column-reverse`,
1259
+ `${Me}--${i}--layout-column-reverse`,
1248
1260
  this.configs.direction === tt.COLUMN_REVERSE
1249
1261
  ).classed(
1250
- `${we}--${i}--layout-alignitems-center`,
1251
- this.configs.alignItems === xi.CENTER
1262
+ `${Me}--${i}--layout-alignitems-center`,
1263
+ this.configs.alignItems === Ti.CENTER
1252
1264
  ).selectAll(`div.layout-child-${this._instanceID}`).data(this.children, (d) => d.id);
1253
1265
  r.enter().append("div").merge(t.selectAll(`div.layout-child-${this._instanceID}`)).attr("class", (d) => `layout-child layout-child-${this._instanceID} ${d.id}`).each(function(d) {
1254
1266
  d.components.forEach((p) => {
@@ -1295,9 +1307,9 @@ const Ft = class Ft extends q {
1295
1307
  });
1296
1308
  }
1297
1309
  };
1298
- Ft.instanceID = Math.floor(Math.random() * 99999999999);
1299
- let Is = Ft;
1300
- class dh extends q {
1310
+ zt.instanceID = Math.floor(Math.random() * 99999999999);
1311
+ let Is = zt;
1312
+ class mh extends q {
1301
1313
  constructor() {
1302
1314
  super(...arguments), this.type = "spacer";
1303
1315
  }
@@ -1308,7 +1320,7 @@ class dh extends q {
1308
1320
  this.getComponentContainer().style("width", `${this.configs.size || us.default.size}px`).style("height", `${this.configs.size || us.default.size}px`).attr("opacity", 0);
1309
1321
  }
1310
1322
  }
1311
- var Yr = {
1323
+ var eo = {
1312
1324
  prefix: "bx",
1313
1325
  selectorTabbable: `
1314
1326
  a[href], area[href], input:not([disabled]):not([tabindex='-1']),
@@ -1322,30 +1334,30 @@ var Yr = {
1322
1334
  textarea:not([disabled]),
1323
1335
  iframe, object, embed, *[tabindex], *[contenteditable=true]
1324
1336
  `
1325
- }, pn = Yr;
1326
- function ks(o, e) {
1337
+ }, pn = eo;
1338
+ function Rs(o, e) {
1327
1339
  for (var t = 0; t < e.length; t++) {
1328
1340
  var n = e[t];
1329
1341
  n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(o, n.key, n);
1330
1342
  }
1331
1343
  }
1332
- function qr(o, e, t) {
1333
- return e && ks(o.prototype, e), t && ks(o, t), Object.defineProperty(o, "prototype", {
1344
+ function to(o, e, t) {
1345
+ return e && Rs(o.prototype, e), t && Rs(o, t), Object.defineProperty(o, "prototype", {
1334
1346
  writable: !1
1335
1347
  }), o;
1336
1348
  }
1337
- function Kr(o, e) {
1349
+ function no(o, e) {
1338
1350
  if (!(o instanceof e))
1339
1351
  throw new TypeError("Cannot call a class as a function");
1340
1352
  }
1341
- function Jr(o) {
1342
- return no(o) || to(o) || eo(o) || Qr();
1353
+ function so(o) {
1354
+ return oo(o) || ro(o) || io(o) || ao();
1343
1355
  }
1344
- function Qr() {
1356
+ function ao() {
1345
1357
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
1346
1358
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1347
1359
  }
1348
- function eo(o, e) {
1360
+ function io(o, e) {
1349
1361
  if (o) {
1350
1362
  if (typeof o == "string")
1351
1363
  return bn(o, e);
@@ -1356,11 +1368,11 @@ function eo(o, e) {
1356
1368
  return bn(o, e);
1357
1369
  }
1358
1370
  }
1359
- function to(o) {
1371
+ function ro(o) {
1360
1372
  if (typeof Symbol < "u" && o[Symbol.iterator] != null || o["@@iterator"] != null)
1361
1373
  return Array.from(o);
1362
1374
  }
1363
- function no(o) {
1375
+ function oo(o) {
1364
1376
  if (Array.isArray(o))
1365
1377
  return bn(o);
1366
1378
  }
@@ -1372,19 +1384,19 @@ function bn(o, e) {
1372
1384
  }
1373
1385
  function La(o) {
1374
1386
  return o.reduce(function(e, t) {
1375
- return Array.isArray(t) ? e.push.apply(e, Jr(La(t))) : e.push(t), e;
1387
+ return Array.isArray(t) ? e.push.apply(e, so(La(t))) : e.push(t), e;
1376
1388
  }, []);
1377
1389
  }
1378
- function so() {
1390
+ function lo() {
1379
1391
  for (var o = arguments.length, e = new Array(o), t = 0; t < o; t++)
1380
1392
  e[t] = arguments[t];
1381
1393
  return La(e).reduce(function(n, s) {
1382
1394
  return s(n);
1383
1395
  }, /* @__PURE__ */ function() {
1384
1396
  function n() {
1385
- Kr(this, n);
1397
+ no(this, n);
1386
1398
  }
1387
- return qr(n);
1399
+ return to(n);
1388
1400
  }());
1389
1401
  }
1390
1402
  function Sn(o) {
@@ -1395,22 +1407,22 @@ function Sn(o) {
1395
1407
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
1396
1408
  }, Sn(o);
1397
1409
  }
1398
- function ao(o, e) {
1410
+ function co(o, e) {
1399
1411
  if (!(o instanceof e))
1400
1412
  throw new TypeError("Cannot call a class as a function");
1401
1413
  }
1402
- function Rs(o, e) {
1414
+ function ks(o, e) {
1403
1415
  for (var t = 0; t < e.length; t++) {
1404
1416
  var n = e[t];
1405
1417
  n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(o, n.key, n);
1406
1418
  }
1407
1419
  }
1408
- function io(o, e, t) {
1409
- return e && Rs(o.prototype, e), t && Rs(o, t), Object.defineProperty(o, "prototype", {
1420
+ function ho(o, e, t) {
1421
+ return e && ks(o.prototype, e), t && ks(o, t), Object.defineProperty(o, "prototype", {
1410
1422
  writable: !1
1411
1423
  }), o;
1412
1424
  }
1413
- function ro(o, e) {
1425
+ function uo(o, e) {
1414
1426
  if (typeof e != "function" && e !== null)
1415
1427
  throw new TypeError("Super expression must either be null or a function");
1416
1428
  o.prototype = Object.create(e && e.prototype, {
@@ -1428,19 +1440,19 @@ function On(o, e) {
1428
1440
  return n.__proto__ = s, n;
1429
1441
  }, On(o, e);
1430
1442
  }
1431
- function oo(o) {
1432
- var e = co();
1443
+ function po(o) {
1444
+ var e = mo();
1433
1445
  return function() {
1434
- var n = Vt(o), s;
1446
+ var n = Gt(o), s;
1435
1447
  if (e) {
1436
- var a = Vt(this).constructor;
1448
+ var a = Gt(this).constructor;
1437
1449
  s = Reflect.construct(n, arguments, a);
1438
1450
  } else
1439
1451
  s = n.apply(this, arguments);
1440
- return lo(this, s);
1452
+ return go(this, s);
1441
1453
  };
1442
1454
  }
1443
- function lo(o, e) {
1455
+ function go(o, e) {
1444
1456
  if (e && (Sn(e) === "object" || typeof e == "function"))
1445
1457
  return e;
1446
1458
  if (e !== void 0)
@@ -1452,7 +1464,7 @@ function Aa(o) {
1452
1464
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1453
1465
  return o;
1454
1466
  }
1455
- function co() {
1467
+ function mo() {
1456
1468
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
1457
1469
  return !1;
1458
1470
  if (typeof Proxy == "function")
@@ -1464,22 +1476,22 @@ function co() {
1464
1476
  return !1;
1465
1477
  }
1466
1478
  }
1467
- function Vt(o) {
1468
- return Vt = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) {
1479
+ function Gt(o) {
1480
+ return Gt = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) {
1469
1481
  return t.__proto__ || Object.getPrototypeOf(t);
1470
- }, Vt(o);
1482
+ }, Gt(o);
1471
1483
  }
1472
- function ho(o) {
1484
+ function fo(o) {
1473
1485
  var e = /* @__PURE__ */ function(t) {
1474
- ro(s, t);
1475
- var n = oo(s);
1486
+ uo(s, t);
1487
+ var n = po(s);
1476
1488
  function s(a) {
1477
1489
  var i, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1478
- if (ao(this, s), i = n.call(this, a, r), i.children = [], !a || a.nodeType !== Node.ELEMENT_NODE)
1490
+ if (co(this, s), i = n.call(this, a, r), i.children = [], !a || a.nodeType !== Node.ELEMENT_NODE)
1479
1491
  throw new TypeError("DOM element should be given to initialize this widget.");
1480
1492
  return i.element = a, i.options = Object.assign(Object.create(i.constructor.options), r), i.constructor.components.set(i.element, Aa(i)), i;
1481
1493
  }
1482
- return io(s, [{
1494
+ return ho(s, [{
1483
1495
  key: "release",
1484
1496
  value: (
1485
1497
  /**
@@ -1508,7 +1520,7 @@ function xn(o) {
1508
1520
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
1509
1521
  }, xn(o);
1510
1522
  }
1511
- function uo(o, e) {
1523
+ function vo(o, e) {
1512
1524
  if (!(o instanceof e))
1513
1525
  throw new TypeError("Cannot call a class as a function");
1514
1526
  }
@@ -1518,26 +1530,26 @@ function Ds(o, e) {
1518
1530
  n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(o, n.key, n);
1519
1531
  }
1520
1532
  }
1521
- function po(o, e, t) {
1533
+ function yo(o, e, t) {
1522
1534
  return e && Ds(o.prototype, e), t && Ds(o, t), Object.defineProperty(o, "prototype", {
1523
1535
  writable: !1
1524
1536
  }), o;
1525
1537
  }
1526
- function Pt() {
1527
- return typeof Reflect < "u" && Reflect.get ? Pt = Reflect.get : Pt = function(e, t, n) {
1528
- var s = go(e, t);
1538
+ function Vt() {
1539
+ return typeof Reflect < "u" && Reflect.get ? Vt = Reflect.get : Vt = function(e, t, n) {
1540
+ var s = Eo(e, t);
1529
1541
  if (s) {
1530
1542
  var a = Object.getOwnPropertyDescriptor(s, t);
1531
1543
  return a.get ? a.get.call(arguments.length < 3 ? e : n) : a.value;
1532
1544
  }
1533
- }, Pt.apply(this, arguments);
1545
+ }, Vt.apply(this, arguments);
1534
1546
  }
1535
- function go(o, e) {
1547
+ function Eo(o, e) {
1536
1548
  for (; !Object.prototype.hasOwnProperty.call(o, e) && (o = ht(o), o !== null); )
1537
1549
  ;
1538
1550
  return o;
1539
1551
  }
1540
- function mo(o, e) {
1552
+ function bo(o, e) {
1541
1553
  if (typeof e != "function" && e !== null)
1542
1554
  throw new TypeError("Super expression must either be null or a function");
1543
1555
  o.prototype = Object.create(e && e.prototype, {
@@ -1555,8 +1567,8 @@ function Tn(o, e) {
1555
1567
  return n.__proto__ = s, n;
1556
1568
  }, Tn(o, e);
1557
1569
  }
1558
- function fo(o) {
1559
- var e = Eo();
1570
+ function So(o) {
1571
+ var e = To();
1560
1572
  return function() {
1561
1573
  var n = ht(o), s;
1562
1574
  if (e) {
@@ -1564,22 +1576,22 @@ function fo(o) {
1564
1576
  s = Reflect.construct(n, arguments, a);
1565
1577
  } else
1566
1578
  s = n.apply(this, arguments);
1567
- return vo(this, s);
1579
+ return Oo(this, s);
1568
1580
  };
1569
1581
  }
1570
- function vo(o, e) {
1582
+ function Oo(o, e) {
1571
1583
  if (e && (xn(e) === "object" || typeof e == "function"))
1572
1584
  return e;
1573
1585
  if (e !== void 0)
1574
1586
  throw new TypeError("Derived constructors may only return object or undefined");
1575
- return yo(o);
1587
+ return xo(o);
1576
1588
  }
1577
- function yo(o) {
1589
+ function xo(o) {
1578
1590
  if (o === void 0)
1579
1591
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1580
1592
  return o;
1581
1593
  }
1582
- function Eo() {
1594
+ function To() {
1583
1595
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
1584
1596
  return !1;
1585
1597
  if (typeof Proxy == "function")
@@ -1596,18 +1608,18 @@ function ht(o) {
1596
1608
  return t.__proto__ || Object.getPrototypeOf(t);
1597
1609
  }, ht(o);
1598
1610
  }
1599
- function bo(o) {
1611
+ function Lo(o) {
1600
1612
  var e = /* @__PURE__ */ function(t) {
1601
- mo(s, t);
1602
- var n = fo(s);
1613
+ bo(s, t);
1614
+ var n = So(s);
1603
1615
  function s() {
1604
1616
  var a;
1605
- uo(this, s);
1617
+ vo(this, s);
1606
1618
  for (var i = arguments.length, r = new Array(i), l = 0; l < i; l++)
1607
1619
  r[l] = arguments[l];
1608
1620
  return a = n.call.apply(n, [this].concat(r)), a.handles = /* @__PURE__ */ new Set(), a;
1609
1621
  }
1610
- return po(s, [{
1622
+ return yo(s, [{
1611
1623
  key: "manage",
1612
1624
  value: (
1613
1625
  /**
@@ -1635,7 +1647,7 @@ function bo(o) {
1635
1647
  var i = this;
1636
1648
  return this.handles.forEach(function(r) {
1637
1649
  r.release(), i.handles.delete(r);
1638
- }), Pt(ht(s.prototype), "release", this).call(this);
1650
+ }), Vt(ht(s.prototype), "release", this).call(this);
1639
1651
  }
1640
1652
  }]), s;
1641
1653
  }(o);
@@ -1658,14 +1670,14 @@ function Ln(o) {
1658
1670
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
1659
1671
  }, Ln(o);
1660
1672
  }
1661
- function So(o) {
1662
- return Lo(o) || To(o) || xo(o) || Oo();
1673
+ function Ao(o) {
1674
+ return _o(o) || Co(o) || Mo(o) || wo();
1663
1675
  }
1664
- function Oo() {
1676
+ function wo() {
1665
1677
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
1666
1678
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1667
1679
  }
1668
- function xo(o, e) {
1680
+ function Mo(o, e) {
1669
1681
  if (o) {
1670
1682
  if (typeof o == "string")
1671
1683
  return An(o, e);
@@ -1676,11 +1688,11 @@ function xo(o, e) {
1676
1688
  return An(o, e);
1677
1689
  }
1678
1690
  }
1679
- function To(o) {
1691
+ function Co(o) {
1680
1692
  if (typeof Symbol < "u" && o[Symbol.iterator] != null || o["@@iterator"] != null)
1681
1693
  return Array.from(o);
1682
1694
  }
1683
- function Lo(o) {
1695
+ function _o(o) {
1684
1696
  if (Array.isArray(o))
1685
1697
  return An(o);
1686
1698
  }
@@ -1690,7 +1702,7 @@ function An(o, e) {
1690
1702
  n[t] = o[t];
1691
1703
  return n;
1692
1704
  }
1693
- function Ao(o, e) {
1705
+ function Io(o, e) {
1694
1706
  if (!(o instanceof e))
1695
1707
  throw new TypeError("Cannot call a class as a function");
1696
1708
  }
@@ -1700,12 +1712,12 @@ function Ns(o, e) {
1700
1712
  n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(o, n.key, n);
1701
1713
  }
1702
1714
  }
1703
- function Mo(o, e, t) {
1715
+ function Ro(o, e, t) {
1704
1716
  return e && Ns(o.prototype, e), t && Ns(o, t), Object.defineProperty(o, "prototype", {
1705
1717
  writable: !1
1706
1718
  }), o;
1707
1719
  }
1708
- function wo(o, e) {
1720
+ function ko(o, e) {
1709
1721
  if (typeof e != "function" && e !== null)
1710
1722
  throw new TypeError("Super expression must either be null or a function");
1711
1723
  o.prototype = Object.create(e && e.prototype, {
@@ -1716,38 +1728,38 @@ function wo(o, e) {
1716
1728
  }
1717
1729
  }), Object.defineProperty(o, "prototype", {
1718
1730
  writable: !1
1719
- }), e && Mn(o, e);
1731
+ }), e && wn(o, e);
1720
1732
  }
1721
- function Mn(o, e) {
1722
- return Mn = Object.setPrototypeOf || function(n, s) {
1733
+ function wn(o, e) {
1734
+ return wn = Object.setPrototypeOf || function(n, s) {
1723
1735
  return n.__proto__ = s, n;
1724
- }, Mn(o, e);
1736
+ }, wn(o, e);
1725
1737
  }
1726
- function Co(o) {
1727
- var e = ko();
1738
+ function Do(o) {
1739
+ var e = Vo();
1728
1740
  return function() {
1729
- var n = Gt(o), s;
1741
+ var n = Bt(o), s;
1730
1742
  if (e) {
1731
- var a = Gt(this).constructor;
1743
+ var a = Bt(this).constructor;
1732
1744
  s = Reflect.construct(n, arguments, a);
1733
1745
  } else
1734
1746
  s = n.apply(this, arguments);
1735
- return _o(this, s);
1747
+ return No(this, s);
1736
1748
  };
1737
1749
  }
1738
- function _o(o, e) {
1750
+ function No(o, e) {
1739
1751
  if (e && (Ln(e) === "object" || typeof e == "function"))
1740
1752
  return e;
1741
1753
  if (e !== void 0)
1742
1754
  throw new TypeError("Derived constructors may only return object or undefined");
1743
- return Io(o);
1755
+ return Po(o);
1744
1756
  }
1745
- function Io(o) {
1757
+ function Po(o) {
1746
1758
  if (o === void 0)
1747
1759
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1748
1760
  return o;
1749
1761
  }
1750
- function ko() {
1762
+ function Vo() {
1751
1763
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
1752
1764
  return !1;
1753
1765
  if (typeof Proxy == "function")
@@ -1759,19 +1771,19 @@ function ko() {
1759
1771
  return !1;
1760
1772
  }
1761
1773
  }
1762
- function Gt(o) {
1763
- return Gt = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) {
1774
+ function Bt(o) {
1775
+ return Bt = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) {
1764
1776
  return t.__proto__ || Object.getPrototypeOf(t);
1765
- }, Gt(o);
1777
+ }, Bt(o);
1766
1778
  }
1767
- function Ro(o) {
1779
+ function Go(o) {
1768
1780
  var e = /* @__PURE__ */ function(t) {
1769
- wo(s, t);
1770
- var n = Co(s);
1781
+ ko(s, t);
1782
+ var n = Do(s);
1771
1783
  function s() {
1772
- return Ao(this, s), n.apply(this, arguments);
1784
+ return Io(this, s), n.apply(this, arguments);
1773
1785
  }
1774
- return Mo(s, [{
1786
+ return Ro(s, [{
1775
1787
  key: "_changeState",
1776
1788
  value: (
1777
1789
  /* eslint-disable jsdoc/check-param-names */
@@ -1823,7 +1835,7 @@ function Ro(o) {
1823
1835
  }
1824
1836
  } else {
1825
1837
  var y = [d, p].filter(Boolean);
1826
- this._changeState.apply(this, So(y).concat([function() {
1838
+ this._changeState.apply(this, Ao(y).concat([function() {
1827
1839
  E.dispatchEvent(new CustomEvent(i.options["eventAfter".concat(g)], {
1828
1840
  bubbles: !0,
1829
1841
  cancelable: !0,
@@ -1848,7 +1860,7 @@ function Ro(o) {
1848
1860
  }(o);
1849
1861
  return e;
1850
1862
  }
1851
- function wn(o, e) {
1863
+ function Mn(o, e) {
1852
1864
  var t = o.target, n = o.currentTarget;
1853
1865
  if (typeof t.matches == "function") {
1854
1866
  if (t.matches(e))
@@ -1884,7 +1896,7 @@ function Cn(o) {
1884
1896
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
1885
1897
  }, Cn(o);
1886
1898
  }
1887
- function Do(o, e) {
1899
+ function Bo(o, e) {
1888
1900
  if (!(o instanceof e))
1889
1901
  throw new TypeError("Cannot call a class as a function");
1890
1902
  }
@@ -1894,12 +1906,12 @@ function Vs(o, e) {
1894
1906
  n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(o, n.key, n);
1895
1907
  }
1896
1908
  }
1897
- function No(o, e, t) {
1909
+ function Ho(o, e, t) {
1898
1910
  return e && Vs(o.prototype, e), t && Vs(o, t), Object.defineProperty(o, "prototype", {
1899
1911
  writable: !1
1900
1912
  }), o;
1901
1913
  }
1902
- function Po(o, e) {
1914
+ function $o(o, e) {
1903
1915
  if (typeof e != "function" && e !== null)
1904
1916
  throw new TypeError("Super expression must either be null or a function");
1905
1917
  o.prototype = Object.create(e && e.prototype, {
@@ -1917,31 +1929,31 @@ function _n(o, e) {
1917
1929
  return n.__proto__ = s, n;
1918
1930
  }, _n(o, e);
1919
1931
  }
1920
- function Vo(o) {
1921
- var e = Ho();
1932
+ function Uo(o) {
1933
+ var e = Wo();
1922
1934
  return function() {
1923
- var n = Bt(o), s;
1935
+ var n = Ht(o), s;
1924
1936
  if (e) {
1925
- var a = Bt(this).constructor;
1937
+ var a = Ht(this).constructor;
1926
1938
  s = Reflect.construct(n, arguments, a);
1927
1939
  } else
1928
1940
  s = n.apply(this, arguments);
1929
- return Go(this, s);
1941
+ return Fo(this, s);
1930
1942
  };
1931
1943
  }
1932
- function Go(o, e) {
1944
+ function Fo(o, e) {
1933
1945
  if (e && (Cn(e) === "object" || typeof e == "function"))
1934
1946
  return e;
1935
1947
  if (e !== void 0)
1936
1948
  throw new TypeError("Derived constructors may only return object or undefined");
1937
- return Bo(o);
1949
+ return zo(o);
1938
1950
  }
1939
- function Bo(o) {
1951
+ function zo(o) {
1940
1952
  if (o === void 0)
1941
1953
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1942
1954
  return o;
1943
1955
  }
1944
- function Ho() {
1956
+ function Wo() {
1945
1957
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
1946
1958
  return !1;
1947
1959
  if (typeof Proxy == "function")
@@ -1953,19 +1965,19 @@ function Ho() {
1953
1965
  return !1;
1954
1966
  }
1955
1967
  }
1956
- function Bt(o) {
1957
- return Bt = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) {
1968
+ function Ht(o) {
1969
+ return Ht = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) {
1958
1970
  return t.__proto__ || Object.getPrototypeOf(t);
1959
- }, Bt(o);
1971
+ }, Ht(o);
1960
1972
  }
1961
- function $o(o) {
1973
+ function jo(o) {
1962
1974
  var e = /* @__PURE__ */ function(t) {
1963
- Po(s, t);
1964
- var n = Vo(s);
1975
+ $o(s, t);
1976
+ var n = Uo(s);
1965
1977
  function s() {
1966
- return Do(this, s), n.apply(this, arguments);
1978
+ return Bo(this, s), n.apply(this, arguments);
1967
1979
  }
1968
- return No(s, [{
1980
+ return Ho(s, [{
1969
1981
  key: "show",
1970
1982
  value: (
1971
1983
  /**
@@ -1993,14 +2005,14 @@ function $o(o) {
1993
2005
  }(o);
1994
2006
  return e;
1995
2007
  }
1996
- var Uo = [Ro, $o];
1997
- const Fo = Uo;
1998
- function zo(o) {
2008
+ var Xo = [Go, jo];
2009
+ const Zo = Xo;
2010
+ function Yo(o) {
1999
2011
  return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
2000
2012
  }
2001
- var Ma = function() {
2013
+ var wa = function() {
2002
2014
  };
2003
- process.env.NODE_ENV !== "production" && (Ma = function(o, e, t) {
2015
+ process.env.NODE_ENV !== "production" && (wa = function(o, e, t) {
2004
2016
  var n = arguments.length;
2005
2017
  t = new Array(n > 2 ? n - 2 : 0);
2006
2018
  for (var s = 2; s < n; s++)
@@ -2024,8 +2036,8 @@ process.env.NODE_ENV !== "production" && (Ma = function(o, e, t) {
2024
2036
  }
2025
2037
  }
2026
2038
  });
2027
- var Wo = Ma;
2028
- const jo = /* @__PURE__ */ zo(Wo);
2039
+ var qo = wa;
2040
+ const Ko = /* @__PURE__ */ Yo(qo);
2029
2041
  function In(o) {
2030
2042
  "@babel/helpers - typeof";
2031
2043
  return In = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
@@ -2034,7 +2046,7 @@ function In(o) {
2034
2046
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
2035
2047
  }, In(o);
2036
2048
  }
2037
- function Xo(o, e) {
2049
+ function Jo(o, e) {
2038
2050
  if (!(o instanceof e))
2039
2051
  throw new TypeError("Cannot call a class as a function");
2040
2052
  }
@@ -2044,12 +2056,12 @@ function Gs(o, e) {
2044
2056
  n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(o, n.key, n);
2045
2057
  }
2046
2058
  }
2047
- function Zo(o, e, t) {
2059
+ function Qo(o, e, t) {
2048
2060
  return e && Gs(o.prototype, e), t && Gs(o, t), Object.defineProperty(o, "prototype", {
2049
2061
  writable: !1
2050
2062
  }), o;
2051
2063
  }
2052
- function Yo(o, e) {
2064
+ function el(o, e) {
2053
2065
  if (typeof e != "function" && e !== null)
2054
2066
  throw new TypeError("Super expression must either be null or a function");
2055
2067
  o.prototype = Object.create(e && e.prototype, {
@@ -2060,38 +2072,38 @@ function Yo(o, e) {
2060
2072
  }
2061
2073
  }), Object.defineProperty(o, "prototype", {
2062
2074
  writable: !1
2063
- }), e && kn(o, e);
2075
+ }), e && Rn(o, e);
2064
2076
  }
2065
- function kn(o, e) {
2066
- return kn = Object.setPrototypeOf || function(n, s) {
2077
+ function Rn(o, e) {
2078
+ return Rn = Object.setPrototypeOf || function(n, s) {
2067
2079
  return n.__proto__ = s, n;
2068
- }, kn(o, e);
2080
+ }, Rn(o, e);
2069
2081
  }
2070
- function qo(o) {
2071
- var e = Qo();
2082
+ function tl(o) {
2083
+ var e = al();
2072
2084
  return function() {
2073
- var n = Ht(o), s;
2085
+ var n = $t(o), s;
2074
2086
  if (e) {
2075
- var a = Ht(this).constructor;
2087
+ var a = $t(this).constructor;
2076
2088
  s = Reflect.construct(n, arguments, a);
2077
2089
  } else
2078
2090
  s = n.apply(this, arguments);
2079
- return Ko(this, s);
2091
+ return nl(this, s);
2080
2092
  };
2081
2093
  }
2082
- function Ko(o, e) {
2094
+ function nl(o, e) {
2083
2095
  if (e && (In(e) === "object" || typeof e == "function"))
2084
2096
  return e;
2085
2097
  if (e !== void 0)
2086
2098
  throw new TypeError("Derived constructors may only return object or undefined");
2087
- return Jo(o);
2099
+ return sl(o);
2088
2100
  }
2089
- function Jo(o) {
2101
+ function sl(o) {
2090
2102
  if (o === void 0)
2091
2103
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2092
2104
  return o;
2093
2105
  }
2094
- function Qo() {
2106
+ function al() {
2095
2107
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
2096
2108
  return !1;
2097
2109
  if (typeof Proxy == "function")
@@ -2103,19 +2115,19 @@ function Qo() {
2103
2115
  return !1;
2104
2116
  }
2105
2117
  }
2106
- function Ht(o) {
2107
- return Ht = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) {
2118
+ function $t(o) {
2119
+ return $t = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) {
2108
2120
  return t.__proto__ || Object.getPrototypeOf(t);
2109
- }, Ht(o);
2121
+ }, $t(o);
2110
2122
  }
2111
- function el(o) {
2123
+ function il(o) {
2112
2124
  var e = /* @__PURE__ */ function(t) {
2113
- Yo(s, t);
2114
- var n = qo(s);
2125
+ el(s, t);
2126
+ var n = tl(s);
2115
2127
  function s() {
2116
- return Xo(this, s), n.apply(this, arguments);
2128
+ return Jo(this, s), n.apply(this, arguments);
2117
2129
  }
2118
- return Zo(s, null, [{
2130
+ return Qo(s, null, [{
2119
2131
  key: "init",
2120
2132
  value: (
2121
2133
  /**
@@ -2142,7 +2154,7 @@ function el(o) {
2142
2154
  else {
2143
2155
  var d = c.initEventNames.map(function(p) {
2144
2156
  return St(r, p, function(h) {
2145
- var u = wn(h, "[".concat(c.attribInitTarget, "]"));
2157
+ var u = Mn(h, "[".concat(c.attribInitTarget, "]"));
2146
2158
  if (u) {
2147
2159
  h.delegateTarget = u;
2148
2160
  var g = u.ownerDocument.querySelectorAll(u.getAttribute(c.attribInitTarget));
@@ -2170,15 +2182,15 @@ function el(o) {
2170
2182
  }(o);
2171
2183
  return e;
2172
2184
  }
2173
- function Rn(o) {
2185
+ function kn(o) {
2174
2186
  "@babel/helpers - typeof";
2175
- return Rn = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
2187
+ return kn = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
2176
2188
  return typeof e;
2177
2189
  } : function(e) {
2178
2190
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
2179
- }, Rn(o);
2191
+ }, kn(o);
2180
2192
  }
2181
- function tl(o, e) {
2193
+ function rl(o, e) {
2182
2194
  if (!(o instanceof e))
2183
2195
  throw new TypeError("Cannot call a class as a function");
2184
2196
  }
@@ -2188,12 +2200,12 @@ function Bs(o, e) {
2188
2200
  n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(o, n.key, n);
2189
2201
  }
2190
2202
  }
2191
- function nl(o, e, t) {
2203
+ function ol(o, e, t) {
2192
2204
  return e && Bs(o.prototype, e), t && Bs(o, t), Object.defineProperty(o, "prototype", {
2193
2205
  writable: !1
2194
2206
  }), o;
2195
2207
  }
2196
- function sl(o, e) {
2208
+ function ll(o, e) {
2197
2209
  if (typeof e != "function" && e !== null)
2198
2210
  throw new TypeError("Super expression must either be null or a function");
2199
2211
  o.prototype = Object.create(e && e.prototype, {
@@ -2211,31 +2223,31 @@ function Dn(o, e) {
2211
2223
  return n.__proto__ = s, n;
2212
2224
  }, Dn(o, e);
2213
2225
  }
2214
- function al(o) {
2215
- var e = ol();
2226
+ function cl(o) {
2227
+ var e = ul();
2216
2228
  return function() {
2217
- var n = $t(o), s;
2229
+ var n = Ut(o), s;
2218
2230
  if (e) {
2219
- var a = $t(this).constructor;
2231
+ var a = Ut(this).constructor;
2220
2232
  s = Reflect.construct(n, arguments, a);
2221
2233
  } else
2222
2234
  s = n.apply(this, arguments);
2223
- return il(this, s);
2235
+ return dl(this, s);
2224
2236
  };
2225
2237
  }
2226
- function il(o, e) {
2227
- if (e && (Rn(e) === "object" || typeof e == "function"))
2238
+ function dl(o, e) {
2239
+ if (e && (kn(e) === "object" || typeof e == "function"))
2228
2240
  return e;
2229
2241
  if (e !== void 0)
2230
2242
  throw new TypeError("Derived constructors may only return object or undefined");
2231
- return rl(o);
2243
+ return hl(o);
2232
2244
  }
2233
- function rl(o) {
2245
+ function hl(o) {
2234
2246
  if (o === void 0)
2235
2247
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2236
2248
  return o;
2237
2249
  }
2238
- function ol() {
2250
+ function ul() {
2239
2251
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
2240
2252
  return !1;
2241
2253
  if (typeof Proxy == "function")
@@ -2247,24 +2259,24 @@ function ol() {
2247
2259
  return !1;
2248
2260
  }
2249
2261
  }
2250
- function $t(o) {
2251
- return $t = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) {
2262
+ function Ut(o) {
2263
+ return Ut = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) {
2252
2264
  return t.__proto__ || Object.getPrototypeOf(t);
2253
- }, $t(o);
2265
+ }, Ut(o);
2254
2266
  }
2255
- var ll = /* @__PURE__ */ function(o) {
2256
- sl(t, o);
2257
- var e = al(t);
2267
+ var pl = /* @__PURE__ */ function(o) {
2268
+ ll(t, o);
2269
+ var e = cl(t);
2258
2270
  function t(n, s) {
2259
2271
  var a;
2260
- return tl(this, t), a = e.call(this, n, s), a._handleFocusinListener = void 0, a._handleKeydownListener = void 0, a._handleFocusin = function(i) {
2272
+ return rl(this, t), a = e.call(this, n, s), a._handleFocusinListener = void 0, a._handleKeydownListener = void 0, a._handleFocusin = function(i) {
2261
2273
  var r = a.element.querySelector(a.options.selectorModalContainer) || a.element;
2262
2274
  a.element.classList.contains(a.options.classVisible) && !r.contains(i.target) && a.options.selectorsFloatingMenus.every(function(l) {
2263
- return !wn(i, l);
2275
+ return !Mn(i, l);
2264
2276
  }) && a.element.querySelector(pn.selectorTabbable).focus();
2265
2277
  }, a._hookCloseActions(), a;
2266
2278
  }
2267
- return nl(t, [{
2279
+ return ol(t, [{
2268
2280
  key: "createdByLauncher",
2269
2281
  value: (
2270
2282
  /**
@@ -2299,7 +2311,7 @@ var ll = /* @__PURE__ */ function(o) {
2299
2311
  if (l && (l = r.unmanage(l).release()), s === "shown" && r.element.offsetWidth > 0 && r.element.offsetHeight > 0) {
2300
2312
  r.previouslyFocusedNode = r.element.ownerDocument.activeElement;
2301
2313
  var u = r.element.querySelector(r.options.selectorPrimaryFocus) || r.element.querySelector(pn.selectorTabbable);
2302
- u.focus(), process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "production" && jo(u, "Modals need to contain a focusable element by either using " + "`".concat(r.options.selectorPrimaryFocus, "` or settings.selectorTabbable."));
2314
+ u.focus(), process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "production" && Ko(u, "Modals need to contain a focusable element by either using " + "`".concat(r.options.selectorPrimaryFocus, "` or settings.selectorTabbable."));
2303
2315
  }
2304
2316
  i();
2305
2317
  };
@@ -2314,7 +2326,7 @@ var ll = /* @__PURE__ */ function(o) {
2314
2326
  value: function() {
2315
2327
  var s = this;
2316
2328
  this.manage(St(this.element, "click", function(a) {
2317
- var i = wn(a, s.options.selectorModalClose);
2329
+ var i = Mn(a, s.options.selectorModalClose);
2318
2330
  i && (a.delegateTarget = i), (i || a.target === s.element) && s.hide(a);
2319
2331
  })), this._handleKeydownListener && (this._handleKeydownListener = this.unmanage(this._handleKeydownListener).release()), this._handleKeydownListener = this.manage(St(this.element.ownerDocument.body, "keydown", function(a) {
2320
2332
  a.which === 27 && s.shouldStateBeChanged("hidden") && (a.stopPropagation(), s.hide(a));
@@ -2380,13 +2392,13 @@ var ll = /* @__PURE__ */ function(o) {
2380
2392
  }
2381
2393
  )
2382
2394
  }]), t.components = /* @__PURE__ */ new WeakMap(), t;
2383
- }(so(ho, el, Fo, bo));
2384
- const cl = ll;
2385
- class hh extends q {
2395
+ }(lo(fo, il, Zo, Lo));
2396
+ const gl = pl;
2397
+ class fh extends q {
2386
2398
  constructor(e, t, n) {
2387
2399
  super(e, t, n), this.type = "modal", this.isEventListenerAdded = !1, this.handleShowModal = () => {
2388
2400
  const s = this.services.domUtils.getChartID();
2389
- this.modal.attr("data-modal", !0).attr("class", "cds--modal").attr("role", "dialog").attr("aria-modal", !0).attr("aria-labelledby", `${s}__modal-title`).attr("aria-describedby", `${s}__modal-description`).attr("tabindex", -1), this.modal.html(this.getModalHTML()), this.modal.select("div.cds--modal-footer button.cds--btn").on("click", () => this.model.exportToCSV()), cl.create(this.modal.node()).show(), document.addEventListener("modal-hidden", this.handleHideModal);
2401
+ this.modal.attr("data-modal", !0).attr("class", "cds--modal").attr("role", "dialog").attr("aria-modal", !0).attr("aria-labelledby", `${s}__modal-title`).attr("aria-describedby", `${s}__modal-description`).attr("tabindex", -1), this.modal.html(this.getModalHTML()), this.modal.select("div.cds--modal-footer button.cds--btn").on("click", () => this.model.exportToCSV()), gl.create(this.modal.node()).show(), document.addEventListener("modal-hidden", this.handleHideModal);
2390
2402
  }, this.handleHideModal = () => {
2391
2403
  this.modal.attr("role", null).attr("aria-modal", null).attr("aria-labelledby", null).attr("aria-describedby", null).attr("tabindex", null), document.removeEventListener("modal-hidden", this.handleHideModal);
2392
2404
  }, this.init();
@@ -2439,7 +2451,7 @@ class hh extends q {
2439
2451
  </div>
2440
2452
 
2441
2453
  <div class="cds--modal-footer">
2442
- <div class="${we}--${a}-modal-footer-spacer"></div>
2454
+ <div class="${Me}--${a}-modal-footer-spacer"></div>
2443
2455
  <button class="cds--btn cds--btn--primary" type="button" data-modal-primary-focus>${s}</button>
2444
2456
  </div>
2445
2457
  </div>`;
@@ -2451,14 +2463,14 @@ class hh extends q {
2451
2463
  const t = this.model.getOptions();
2452
2464
  if (!this.isEventListenerAdded) {
2453
2465
  const n = x(this.services.domUtils.getHolder()), s = v(t, "style", "prefix");
2454
- this.modal = S.appendOrSelect(n, `div.${we}--${s}--modal`), this.addEventListeners(), this.isEventListenerAdded = !0;
2466
+ this.modal = S.appendOrSelect(n, `div.${Me}--${s}--modal`), this.addEventListeners(), this.isEventListenerAdded = !0;
2455
2467
  }
2456
2468
  }
2457
2469
  destroy() {
2458
2470
  this.removeEventListeners(), this.isEventListenerAdded = !1;
2459
2471
  }
2460
2472
  }
2461
- class dl extends q {
2473
+ class ml extends q {
2462
2474
  constructor() {
2463
2475
  super(...arguments), this.type = "title", this.renderType = j.HTML;
2464
2476
  }
@@ -2535,7 +2547,7 @@ class dl extends q {
2535
2547
  return e.getSubStringLength(0, a) > s ? this.getSubstringIndex(e, t, a, s) : e.getSubStringLength(0, a) < s ? e.getSubStringLength(0, a + 1) > s ? a : this.getSubstringIndex(e, a, n, s) : a;
2536
2548
  }
2537
2549
  }
2538
- class hl extends q {
2550
+ class fl extends q {
2539
2551
  constructor() {
2540
2552
  super(...arguments), this.type = "legend", this.renderType = j.HTML;
2541
2553
  }
@@ -2581,10 +2593,10 @@ class hl extends q {
2581
2593
  )
2582
2594
  );
2583
2595
  A.selectAll("*").remove();
2584
- let M, L = 1;
2596
+ let w, L = 1;
2585
2597
  A.append("svg").classed("icon", !0).each(function(I) {
2586
2598
  const N = x(this);
2587
- !M || M != I.type ? (M = I.type, L = 1) : L++, T.addAdditionalItem(N, I, L);
2599
+ !w || w != I.type ? (w = I.type, L = 1) : L++, T.addAdditionalItem(N, I, L);
2588
2600
  }), A.append("p").merge(A.select("p")), this.truncateLegendText();
2589
2601
  }
2590
2602
  p.exit().on("mouseover", null).on("click", null).on("mouseout", null).remove(), u && h.size() > 1 && this.addEventListeners();
@@ -2684,7 +2696,7 @@ class hl extends q {
2684
2696
  });
2685
2697
  }
2686
2698
  }
2687
- class ul extends q {
2699
+ class vl extends q {
2688
2700
  constructor(e, t, n) {
2689
2701
  super(e, t, n), this.type = "chart-clip", this.renderType = j.SVG, this.chartClipId = "chart-clip-id-" + Math.floor(Math.random() * 99999999999), this.init();
2690
2702
  }
@@ -2712,7 +2724,7 @@ class ul extends q {
2712
2724
  i - a > 0 && c.attr("x", a).attr("y", l).attr("width", i - a).attr("height", r - l), this.chartClipPath.merge(c).lower();
2713
2725
  }
2714
2726
  }
2715
- class uh extends ul {
2727
+ class vh extends vl {
2716
2728
  constructor() {
2717
2729
  super(...arguments), this.type = "canvas-chart-clip", this.chartClipId = "canvas-chart-clip-id-" + Math.floor(Math.random() * 99999999999);
2718
2730
  }
@@ -2757,7 +2769,7 @@ var Hs = (at = {}, at[ge.LEFT] = function(o, e, t) {
2757
2769
  scrollY: 0,
2758
2770
  innerWidth: 0,
2759
2771
  scrollX: 0
2760
- }, jt = (
2772
+ }, Xt = (
2761
2773
  /** @class */
2762
2774
  function() {
2763
2775
  function o(e) {
@@ -2845,10 +2857,10 @@ var Hs = (at = {}, at[ge.LEFT] = function(o, e, t) {
2845
2857
  }, o;
2846
2858
  }()
2847
2859
  );
2848
- new jt();
2849
- class pl extends q {
2860
+ new Xt();
2861
+ class yl extends q {
2850
2862
  constructor(e, t, n) {
2851
- super(e, t, n), this.type = "tooltip", this.renderType = j.HTML, this.isEventListenerAdded = !1, this.positionService = new jt(), this.handleShowTooltip = (s) => {
2863
+ super(e, t, n), this.type = "tooltip", this.renderType = j.HTML, this.isEventListenerAdded = !1, this.positionService = new Xt(), this.handleShowTooltip = (s) => {
2852
2864
  const a = s.detail.data || s.detail.items;
2853
2865
  let i;
2854
2866
  const r = this.formatItems(this.getItems(s));
@@ -2938,7 +2950,7 @@ class pl extends q {
2938
2950
  const t = this.getOptions(), n = v(t, "tooltip", "enabled");
2939
2951
  if (n) {
2940
2952
  const s = x(this.services.domUtils.getHolder()), a = v(t, "style", "prefix");
2941
- this.tooltip = S.appendOrSelect(s, `div.${we}--${a}--tooltip`), this.tooltip.style("max-width", null).attr("role", "tooltip"), this.isEventListenerAdded || (this.addTooltipEventListener(), this.isEventListenerAdded = !0), this.tooltip.classed("hidden", !0);
2953
+ this.tooltip = S.appendOrSelect(s, `div.${Me}--${a}--tooltip`), this.tooltip.style("max-width", null).attr("role", "tooltip"), this.isEventListenerAdded || (this.addTooltipEventListener(), this.isEventListenerAdded = !0), this.tooltip.classed("hidden", !0);
2942
2954
  } else
2943
2955
  !n && this.isEventListenerAdded && (this.removeTooltipEventListener(), this.isEventListenerAdded = !1);
2944
2956
  }
@@ -2946,10 +2958,10 @@ class pl extends q {
2946
2958
  const t = this.services.domUtils.getHolder(), n = this.tooltip.node(), s = this.getOptions(), a = v(s, "zoomBar", "top", "enabled");
2947
2959
  let i = v(e, "detail", "mousePosition");
2948
2960
  if (!i)
2949
- i = zt(v(e, "detail", "event"), t);
2961
+ i = Wt(v(e, "detail", "event"), t);
2950
2962
  else {
2951
- const h = v(s, "zoomBar", "top", "type"), u = Me.height[h];
2952
- a && (i[1] += u + Me.spacerHeight);
2963
+ const h = v(s, "zoomBar", "top", "type"), u = we.height[h];
2964
+ a && (i[1] += u + we.spacerHeight);
2953
2965
  }
2954
2966
  const r = t.offsetWidth, l = t.offsetHeight;
2955
2967
  let c;
@@ -2969,7 +2981,7 @@ class pl extends q {
2969
2981
  height: l
2970
2982
  })
2971
2983
  );
2972
- let { horizontalOffset: d } = Wa;
2984
+ let { horizontalOffset: d } = ja;
2973
2985
  c === ge.LEFT && (d *= -1);
2974
2986
  const p = this.positionService.findPositionAt(
2975
2987
  {
@@ -3005,24 +3017,24 @@ const ct = class ct extends q {
3005
3017
  if (p && d === ue.TIME) {
3006
3018
  let g = this.model.get("zoomDomain");
3007
3019
  g === void 0 && (g = this.services.zoom.getDefaultZoomBarDomain(), g && this.model.set({ zoomDomain: g }, { animate: !1 }));
3008
- const m = (M) => {
3009
- const L = M[1] - M[0];
3020
+ const m = (w) => {
3021
+ const L = w[1] - w[0];
3010
3022
  let I = "0," + L.toString();
3011
3023
  const N = Math.floor(l / ct.DASH_LENGTH), W = N * ct.DASH_LENGTH;
3012
- for (let k = 0; k < N; k++)
3024
+ for (let R = 0; R < N; R++)
3013
3025
  I += "," + ct.DASH_LENGTH;
3014
3026
  I += "," + (l - W), N % 2 === 1 && (I += ",0"), I += "," + L.toString(), I += "," + l.toString(), u.attr("stroke-dasharray", I);
3015
- }, E = (M) => {
3016
- const L = M.selection;
3027
+ }, E = (w) => {
3028
+ const L = w.selection;
3017
3029
  L === null || L[0] === L[1] || (u.attr("x", parseFloat(i.attr("x")) + parseFloat(s.attr("x"))).attr("y", i.attr("y")).attr("width", i.attr("width")).attr("height", i.attr("height")).style("cursor", "pointer").style("display", null), m(L));
3018
- }, O = (M, L) => {
3019
- const I = Ja().range([0, r]).domain(g);
3020
- let N = [I.invert(M), I.invert(L)];
3030
+ }, O = (w, L) => {
3031
+ const I = Qa().range([0, r]).domain(g);
3032
+ let N = [I.invert(w), I.invert(L)];
3021
3033
  N[0].valueOf() === N[1].valueOf() && (N = this.services.zoom.getDefaultZoomBarDomain()), (g[0].valueOf() !== N[0].valueOf() || g[1].valueOf() !== N[1].valueOf()) && this.services.zoom.handleDomainChange(N);
3022
3034
  };
3023
3035
  let T;
3024
- const y = (M) => {
3025
- const L = M.selection;
3036
+ const y = (w) => {
3037
+ const L = w.selection;
3026
3038
  L !== null && (O(L[0], L[1]), a.call(T.move, null), u.style("display", "none"));
3027
3039
  };
3028
3040
  l != 0 && r != 0 && (T = Qs().extent([
@@ -3030,9 +3042,9 @@ const ct = class ct extends q {
3030
3042
  [r - 1, l]
3031
3043
  ]).on("start brush end", E).on("end.brushed", y), a.call(T));
3032
3044
  const A = this.services.zoom.getZoomRatio();
3033
- s.on("click", function(M) {
3034
- if (M.shiftKey) {
3035
- const L = this.services.domUtils.getHolder(), I = zt(a.node(), L)[0];
3045
+ s.on("click", function(w) {
3046
+ if (w.shiftKey) {
3047
+ const L = this.services.domUtils.getHolder(), I = Wt(a.node(), L)[0];
3036
3048
  let N = I - r * A / 2;
3037
3049
  N < 0 && (N = 0);
3038
3050
  let W = I + r * A / 2;
@@ -3044,7 +3056,7 @@ const ct = class ct extends q {
3044
3056
  };
3045
3057
  ct.DASH_LENGTH = 4;
3046
3058
  let Us = ct;
3047
- class ph extends q {
3059
+ class yh extends q {
3048
3060
  constructor() {
3049
3061
  super(...arguments), this.type = "zoom-bar", this.renderType = j.SVG, this.MIN_SELECTION_DIFF = 9e-10, this.brushSelector = "g.zoom-bar-brush", this.clipId = "zoomBarClip-" + Math.floor(Math.random() * 99999999999), this.brush = Qs(), this.highlightStrokeWidth = 1;
3050
3062
  }
@@ -3057,7 +3069,7 @@ class ph extends q {
3057
3069
  // @ts-ignore
3058
3070
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
3059
3071
  render(e = !0) {
3060
- const t = this.getComponentContainer(), n = this.services.zoom.isZoomBarLoading(G.TOP), s = this.services.zoom.isZoomBarLocked(G.TOP), a = v(this.getOptions(), "zoomBar", G.TOP, "type"), i = v(this.getOptions(), "axes", G.BOTTOM, "highlights"), r = Me.height[a], { width: l } = S.getSVGElementSize(this.parent, {
3072
+ const t = this.getComponentContainer(), n = this.services.zoom.isZoomBarLoading(G.TOP), s = this.services.zoom.isZoomBarLocked(G.TOP), a = v(this.getOptions(), "zoomBar", G.TOP, "type"), i = v(this.getOptions(), "axes", G.BOTTOM, "highlights"), r = we.height[a], { width: l } = S.getSVGElementSize(this.parent, {
3061
3073
  useAttrs: !0
3062
3074
  });
3063
3075
  if (l === 0)
@@ -3066,7 +3078,7 @@ class ph extends q {
3066
3078
  const d = this.model.get("axesMargins");
3067
3079
  d && d.left && (c = d.left);
3068
3080
  const p = S.appendOrSelect(t, "svg.zoom-container").attr("width", "100%").attr("height", r).attr("opacity", 1);
3069
- if (S.appendOrSelect(t, "rect.zoom-spacer").attr("x", 0).attr("y", r).attr("width", "100%").attr("height", Me.spacerHeight).attr("opacity", 1).attr("fill", "none"), a === nt.GRAPH_VIEW ? S.appendOrSelect(p, "rect.zoom-bg").attr("x", c).attr("y", 0).attr("width", l - c).attr("height", "100%").classed("zoom-bg-skeleton", n).style(
3081
+ if (S.appendOrSelect(t, "rect.zoom-spacer").attr("x", 0).attr("y", r).attr("width", "100%").attr("height", we.spacerHeight).attr("opacity", 1).attr("fill", "none"), a === nt.GRAPH_VIEW ? S.appendOrSelect(p, "rect.zoom-bg").attr("x", c).attr("y", 0).attr("width", l - c).attr("height", "100%").classed("zoom-bg-skeleton", n).style(
3070
3082
  "stroke",
3071
3083
  n ? `url(#${this.services.domUtils.generateElementIDString("shimmer-lines")})` : null
3072
3084
  ) : a === nt.SLIDER_VIEW && S.appendOrSelect(p, "rect.zoom-slider-bg").attr("x", c).attr("y", r / 2 - 1).attr("width", l - c).attr("height", 2).classed("zoom-slider-bg-skeleton", n).style(
@@ -3103,40 +3115,40 @@ class ph extends q {
3103
3115
  zoomDomain: dt([], O)
3104
3116
  },
3105
3117
  { skipUpdate: !0 }
3106
- ), this.xScale.range([c, l]).domain(O), this.maxSelectionRange = this.xScale.range(), this.yScale.range([0, r - 6]).domain(Wt(E, (L) => L.value));
3118
+ ), this.xScale.range([c, l]).domain(O), this.maxSelectionRange = this.xScale.range(), this.yScale.range([0, r - 6]).domain(jt(E, (L) => L.value));
3107
3119
  const A = this.model.get("zoomDomain");
3108
3120
  if (a === nt.GRAPH_VIEW && (this.renderZoomBarArea(p, "path.zoom-graph-area-unselected", E, null), this.updateClipPath(t, this.clipId, 0, 0, 0, 0), this.renderZoomBarArea(p, "path.zoom-graph-area", E, this.clipId), this.renderZoomBarBaseline(p, c, l), i)) {
3109
3121
  const L = i.highlightStartMapsTo, I = i.highlightEndMapsTo, N = i.color, W = i.labelMapsTo;
3110
- i.data.forEach((k, C) => {
3111
- S.appendOrSelect(p, `rect.highlight-${C}`).attr("height", r - 2 * this.highlightStrokeWidth).attr("y", this.highlightStrokeWidth).attr("x", this.xScale(k[L])).attr(
3122
+ i.data.forEach((R, C) => {
3123
+ S.appendOrSelect(p, `rect.highlight-${C}`).attr("height", r - 2 * this.highlightStrokeWidth).attr("y", this.highlightStrokeWidth).attr("x", this.xScale(R[L])).attr(
3112
3124
  "width",
3113
- this.xScale(k[I]) - this.xScale(k[L])
3125
+ this.xScale(R[I]) - this.xScale(R[L])
3114
3126
  ).style(
3115
3127
  "fill",
3116
- N && N.scale[k[W]] ? N.scale[k[W]] : null
3128
+ N && N.scale[R[W]] ? N.scale[R[W]] : null
3117
3129
  ).style("fill-opacity", 0.1).style(
3118
3130
  "stroke",
3119
- N && N.scale[k[W]] ? N.scale[k[W]] : null
3131
+ N && N.scale[R[W]] ? N.scale[R[W]] : null
3120
3132
  ).style("stroke-dasharray", "2, 2").attr("stroke-width", "1px");
3121
3133
  });
3122
3134
  }
3123
3135
  this.addBrushEventListener(A, c, l);
3124
- const M = S.appendOrSelect(t, this.brushSelector).call(this.brush);
3136
+ const w = S.appendOrSelect(t, this.brushSelector).call(this.brush);
3125
3137
  if (A !== void 0)
3126
3138
  if (A[0].valueOf() === A[1].valueOf())
3127
- M.call(this.brush.move, this.xScale.range()), this.updateBrushHandle(this.getComponentContainer(), this.xScale.range());
3139
+ w.call(this.brush.move, this.xScale.range()), this.updateBrushHandle(this.getComponentContainer(), this.xScale.range());
3128
3140
  else {
3129
3141
  const L = A.map((I) => this.xScale(I));
3130
- L[1] - L[0] < this.MIN_SELECTION_DIFF || (M.call(this.brush.move, L), this.updateBrushHandle(this.getComponentContainer(), L));
3142
+ L[1] - L[0] < this.MIN_SELECTION_DIFF || (w.call(this.brush.move, L), this.updateBrushHandle(this.getComponentContainer(), L));
3131
3143
  }
3132
- s && (this.brush.filter(() => !1), M.selectAll("rect").attr("cursor", "auto"));
3144
+ s && (this.brush.filter(() => !1), w.selectAll("rect").attr("cursor", "auto"));
3133
3145
  }
3134
3146
  }
3135
3147
  addBrushEventListener(e, t, n) {
3136
3148
  const s = (r) => {
3137
3149
  const l = r.selection;
3138
3150
  l === null ? this.handleBrushedEvent(r, e, this.xScale, this.xScale.range()) : l[0] === l[1] || this.handleBrushedEvent(r, e, this.xScale, l);
3139
- }, a = v(this.getOptions(), "zoomBar", G.TOP, "type"), i = Me.height[a];
3151
+ }, a = v(this.getOptions(), "zoomBar", G.TOP, "type"), i = we.height[a];
3140
3152
  this.brush.extent([
3141
3153
  [t, 0],
3142
3154
  [n, i]
@@ -3159,7 +3171,7 @@ class ph extends q {
3159
3171
  }
3160
3172
  }
3161
3173
  updateBrushHandle(e, t) {
3162
- const n = this, s = Me.handleWidth, a = v(this.getOptions(), "zoomBar", G.TOP, "type"), i = Me.height[a], r = -s / 2, l = Me.handleBarWidth, c = a === nt.GRAPH_VIEW ? Me.handleBarHeight : 6, d = -l / 2, p = (i - c) / 2;
3174
+ const n = this, s = we.handleWidth, a = v(this.getOptions(), "zoomBar", G.TOP, "type"), i = we.height[a], r = -s / 2, l = we.handleBarWidth, c = a === nt.GRAPH_VIEW ? we.handleBarHeight : 6, d = -l / 2, p = (i - c) / 2;
3163
3175
  e.select(this.brushSelector).selectAll("rect.handle").data([{ type: "w" }, { type: "e" }]).attr("x", function(u) {
3164
3176
  if (u.type === "w")
3165
3177
  return Math.max(t[0] + r, n.maxSelectionRange[0]);
@@ -3190,11 +3202,11 @@ class ph extends q {
3190
3202
  );
3191
3203
  }
3192
3204
  updateSliderSelectedArea(e) {
3193
- const t = v(this.getOptions(), "zoomBar", G.TOP, "type"), n = Me.height[t], a = this.getComponentContainer().select("svg.zoom-container");
3205
+ const t = v(this.getOptions(), "zoomBar", G.TOP, "type"), n = we.height[t], a = this.getComponentContainer().select("svg.zoom-container");
3194
3206
  S.appendOrSelect(a, "rect.zoom-slider-selected-area").attr("x", e[0]).attr("y", n / 2 - 1).attr("width", e[1] - e[0]).attr("height", 2);
3195
3207
  }
3196
3208
  renderZoomBarArea(e, t, n, s) {
3197
- const { cartesianScales: a } = this.services, i = a.getMainXAxisPosition(), r = a.getMainYAxisPosition(), l = a.getMainXScaleType(), c = a.getMainYScaleType(), d = (O, T, y) => (A) => a.getValueFromScale(O, T, y, A), p = d(this.xScale, l, i), h = d(this.yScale, c, r), u = v(this.getOptions(), "zoomBar", G.TOP, "type"), g = Me.height[u], m = Nn().x((O) => p(O)).y0(g).y1((O) => g - h(O)), E = S.appendOrSelect(e, t).datum(n).attr("d", m);
3209
+ const { cartesianScales: a } = this.services, i = a.getMainXAxisPosition(), r = a.getMainYAxisPosition(), l = a.getMainXScaleType(), c = a.getMainYScaleType(), d = (O, T, y) => (A) => a.getValueFromScale(O, T, y, A), p = d(this.xScale, l, i), h = d(this.yScale, c, r), u = v(this.getOptions(), "zoomBar", G.TOP, "type"), g = we.height[u], m = Nn().x((O) => p(O)).y0(g).y1((O) => g - h(O)), E = S.appendOrSelect(e, t).datum(n).attr("d", m);
3198
3210
  s && E.attr("clip-path", `url(#${s})`);
3199
3211
  }
3200
3212
  updateClipPath(e, t, n, s, a, i) {
@@ -3205,7 +3217,7 @@ class ph extends q {
3205
3217
  compensateDataForDefaultDomain(e, t) {
3206
3218
  if (!e || e.length < 2)
3207
3219
  return;
3208
- const n = ja(e), s = this.services.cartesianScales.getDomainIdentifier(), a = this.services.cartesianScales.getRangeIdentifier();
3220
+ const n = Xa(e), s = this.services.cartesianScales.getDomainIdentifier(), a = this.services.cartesianScales.getRangeIdentifier();
3209
3221
  if (Number(t[0]) < Number(n[0][s])) {
3210
3222
  const i = {};
3211
3223
  i[s] = t[0], i[a] = 0, n.unshift(i);
@@ -3222,7 +3234,7 @@ class ph extends q {
3222
3234
  "zoomBar",
3223
3235
  G.TOP,
3224
3236
  "type"
3225
- ), i = Me.height[a], r = Pn()([
3237
+ ), i = we.height[a], r = Pn()([
3226
3238
  [t, i],
3227
3239
  [n, i]
3228
3240
  ]);
@@ -3238,9 +3250,9 @@ class ph extends q {
3238
3250
  this.brush.on("start brush end", null), this.services.events.removeEventListener(f.ZoomBar.UPDATE, this.render.bind(this));
3239
3251
  }
3240
3252
  }
3241
- class gh extends q {
3253
+ class Eh extends q {
3242
3254
  constructor(e, t) {
3243
- super(e, t), this.type = "threshold", this.renderType = j.SVG, this.positionService = new jt();
3255
+ super(e, t), this.type = "threshold", this.renderType = j.SVG, this.positionService = new Xt();
3244
3256
  }
3245
3257
  render(e = !1) {
3246
3258
  const t = v(this.getOptions(), "axes"), n = [];
@@ -3272,7 +3284,7 @@ class gh extends q {
3272
3284
  ), g = p.services.cartesianScales.getScaleTypeByPosition(h);
3273
3285
  let m = null, E = null;
3274
3286
  h === G.LEFT || h === G.RIGHT ? (E = u, m = p.services.cartesianScales.getMainXScale()) : (m = u, E = p.services.cartesianScales.getMainYScale());
3275
- const O = g === ue.LABELS, [T, y] = m.range(), [A, M] = E.range(), { cartesianScales: L } = p.services, I = L.getOrientation(), N = (F) => L.getDomainValue(F), W = (F) => L.getRangeValue(F), [k, C] = He(
3287
+ const O = g === ue.LABELS, [T, y] = m.range(), [A, w] = E.range(), { cartesianScales: L } = p.services, I = L.getOrientation(), N = (F) => L.getDomainValue(F), W = (F) => L.getRangeValue(F), [R, C] = He(
3276
3288
  N,
3277
3289
  W,
3278
3290
  I
@@ -3283,13 +3295,13 @@ class gh extends q {
3283
3295
  name: "threshold-line-update",
3284
3296
  animate: e
3285
3297
  })
3286
- ).attr("y1", M).attr("y2", A).attr(
3298
+ ).attr("y1", w).attr("y2", A).attr(
3287
3299
  "x1",
3288
- ({ datum: F }) => k(F) + (O ? u.step() / 2 : 0)
3300
+ ({ datum: F }) => R(F) + (O ? u.step() / 2 : 0)
3289
3301
  ).attr(
3290
3302
  "x2",
3291
- ({ datum: F }) => k(F) + (O ? u.step() / 2 : 0)
3292
- ).style("stroke", ({ fillColor: F }) => F), V.selectAll("rect.threshold-hoverable-area").attr("x", 0).attr("y", ({ datum: F }) => -k(F)).attr("width", Math.abs(A - M)).classed("rotate", !0)) : (V.selectAll("line.threshold-line").transition().call(
3303
+ ({ datum: F }) => R(F) + (O ? u.step() / 2 : 0)
3304
+ ).style("stroke", ({ fillColor: F }) => F), V.selectAll("rect.threshold-hoverable-area").attr("x", 0).attr("y", ({ datum: F }) => -R(F)).attr("width", Math.abs(A - w)).classed("rotate", !0)) : (V.selectAll("line.threshold-line").transition().call(
3293
3305
  (F) => p.services.transitions.setupTransition({
3294
3306
  transition: F,
3295
3307
  name: "threshold-line-update",
@@ -3323,11 +3335,11 @@ class gh extends q {
3323
3335
  const e = x(this.services.domUtils.getHolder()), t = v(this.getOptions(), "style", "prefix");
3324
3336
  this.label = S.appendOrSelect(
3325
3337
  e,
3326
- `div.${we}--${t}--threshold--label`
3338
+ `div.${Me}--${t}--threshold--label`
3327
3339
  ).classed("hidden", !0);
3328
3340
  }
3329
3341
  setThresholdLabelPosition({ event: e, datum: t }) {
3330
- const n = this.services.domUtils.getHolder(), s = zt(e, n), a = t.valueFormatter ? t.valueFormatter(t.value) : this.getFormattedValue(t);
3342
+ const n = this.services.domUtils.getHolder(), s = Wt(e, n), a = t.valueFormatter ? t.valueFormatter(t.value) : this.getFormattedValue(t);
3331
3343
  this.label.html(De(`${t.label || "Threshold"}: ${a}`)).style("background-color", t.fillColor);
3332
3344
  const i = this.label.node(), r = this.positionService.findBestPlacementAt(
3333
3345
  {
@@ -3376,9 +3388,9 @@ class gh extends q {
3376
3388
  });
3377
3389
  }
3378
3390
  }
3379
- class mh extends q {
3391
+ class bh extends q {
3380
3392
  constructor(e, t) {
3381
- super(e, t), this.type = "highlight", this.renderType = j.SVG, this.positionService = new jt(), this.highlightStrokeWidth = 1;
3393
+ super(e, t), this.type = "highlight", this.renderType = j.SVG, this.positionService = new Xt(), this.highlightStrokeWidth = 1;
3382
3394
  }
3383
3395
  render(e = !1) {
3384
3396
  const t = v(this.getOptions(), "axes"), n = [];
@@ -3407,34 +3419,34 @@ class mh extends q {
3407
3419
  c.append("rect").attr("class", "highlight-bar"), c.append("line").attr("class", "highlight-line"), c.merge(l).attr("class", "highlight-group");
3408
3420
  const p = this;
3409
3421
  r.each(function({ axisPosition: h }) {
3410
- const u = p.services.cartesianScales.getMainXScale(), g = p.services.cartesianScales.getMainYScale(), [m, E] = u.range(), [O, T] = g.range(), { cartesianScales: y } = p.services, A = y.getOrientation(), M = (k) => y.getDomainValue(k), L = (k) => y.getRangeValue(k), [I, N] = He(
3411
- M,
3422
+ const u = p.services.cartesianScales.getMainXScale(), g = p.services.cartesianScales.getMainYScale(), [m, E] = u.range(), [O, T] = g.range(), { cartesianScales: y } = p.services, A = y.getOrientation(), w = (R) => y.getDomainValue(R), L = (R) => y.getRangeValue(R), [I, N] = He(
3423
+ w,
3412
3424
  L,
3413
3425
  A
3414
3426
  ), W = x(this);
3415
3427
  h === G.TOP || h === G.BOTTOM ? W.selectAll("rect.highlight-bar").transition().call(
3416
- (k) => p.services.transitions.setupTransition({
3417
- transition: k,
3428
+ (R) => p.services.transitions.setupTransition({
3429
+ transition: R,
3418
3430
  name: "highlight-bar-update",
3419
3431
  animate: e
3420
3432
  })
3421
- ).attr("y", Math.max(T + p.highlightStrokeWidth, 0)).attr("height", Math.max(O - 2 * p.highlightStrokeWidth, 0)).attr("x", ({ highlightStartMapsTo: k, ...C }) => I(C[k])).attr(
3433
+ ).attr("y", Math.max(T + p.highlightStrokeWidth, 0)).attr("height", Math.max(O - 2 * p.highlightStrokeWidth, 0)).attr("x", ({ highlightStartMapsTo: R, ...C }) => I(C[R])).attr(
3422
3434
  "width",
3423
- ({ highlightStartMapsTo: k, highlightEndMapsTo: C, ...V }) => Math.max(I(V[C]) - I(V[k]), 0)
3424
- ).style("stroke", ({ color: k, labelMapsTo: C, ...V }) => k && k.scale[V[C]] ? k.scale[V[C]] : null).style("stroke-dasharray", "2, 2").attr("stroke-width", p.highlightStrokeWidth + "px").style("fill-opacity", 0.1).style("fill", ({ color: k, labelMapsTo: C, ...V }) => k && k.scale[V[C]] ? k.scale[V[C]] : null) : W.selectAll("rect.highlight-bar").transition().call(
3425
- (k) => p.services.transitions.setupTransition({
3426
- transition: k,
3435
+ ({ highlightStartMapsTo: R, highlightEndMapsTo: C, ...V }) => Math.max(I(V[C]) - I(V[R]), 0)
3436
+ ).style("stroke", ({ color: R, labelMapsTo: C, ...V }) => R && R.scale[V[C]] ? R.scale[V[C]] : null).style("stroke-dasharray", "2, 2").attr("stroke-width", p.highlightStrokeWidth + "px").style("fill-opacity", 0.1).style("fill", ({ color: R, labelMapsTo: C, ...V }) => R && R.scale[V[C]] ? R.scale[V[C]] : null) : W.selectAll("rect.highlight-bar").transition().call(
3437
+ (R) => p.services.transitions.setupTransition({
3438
+ transition: R,
3427
3439
  name: "highlight-bar-update",
3428
3440
  animate: e
3429
3441
  })
3430
- ).attr("x", m).attr("width", Math.max(E - m, 0)).attr("y", ({ highlightEndMapsTo: k, ...C }) => N(C[k])).attr(
3442
+ ).attr("x", m).attr("width", Math.max(E - m, 0)).attr("y", ({ highlightEndMapsTo: R, ...C }) => N(C[R])).attr(
3431
3443
  "height",
3432
- ({ highlightStartMapsTo: k, highlightEndMapsTo: C, ...V }) => Math.max(N(V[k]) - N(V[C]), 0)
3433
- ).style("stroke", ({ color: k, labelMapsTo: C, ...V }) => k && k.scale[V[C]] ? k.scale[V[C]] : null).style("stroke-dasharray", "2, 2").attr("stroke-width", p.highlightStrokeWidth + "px").style("fill-opacity", 0.1).style("fill", ({ color: k, labelMapsTo: C, ...V }) => k && k.scale[V[C]] ? k.scale[V[C]] : null);
3444
+ ({ highlightStartMapsTo: R, highlightEndMapsTo: C, ...V }) => Math.max(N(V[R]) - N(V[C]), 0)
3445
+ ).style("stroke", ({ color: R, labelMapsTo: C, ...V }) => R && R.scale[V[C]] ? R.scale[V[C]] : null).style("stroke-dasharray", "2, 2").attr("stroke-width", p.highlightStrokeWidth + "px").style("fill-opacity", 0.1).style("fill", ({ color: R, labelMapsTo: C, ...V }) => R && R.scale[V[C]] ? R.scale[V[C]] : null);
3434
3446
  });
3435
3447
  }
3436
3448
  }
3437
- class fh extends pl {
3449
+ class Sh extends yl {
3438
3450
  getItems(e) {
3439
3451
  if (e.detail.items)
3440
3452
  return e.detail.items;
@@ -3521,7 +3533,7 @@ class fh extends pl {
3521
3533
  return p;
3522
3534
  }
3523
3535
  }
3524
- class vh extends q {
3536
+ class Oh extends q {
3525
3537
  constructor() {
3526
3538
  super(...arguments), this.type = "alluvial", this.renderType = j.SVG, this.gradient_id = "gradient-id-" + Math.floor(Math.random() * 99999999999);
3527
3539
  }
@@ -3542,12 +3554,12 @@ class vh extends q {
3542
3554
  "gradient",
3543
3555
  "enabled"
3544
3556
  );
3545
- let l = ke.minNodePadding;
3546
- a.alluvial.nodePadding > ke.minNodePadding && (l = a.alluvial.nodePadding);
3557
+ let l = Re.minNodePadding;
3558
+ a.alluvial.nodePadding > Re.minNodePadding && (l = a.alluvial.nodePadding);
3547
3559
  const c = v(a, "alluvial", "nodeAlignment");
3548
- let d = wi;
3549
- c === Ce.LEFT ? d = Ci : c === Ce.RIGHT && (d = _i);
3550
- const p = Ai().nodeId((y) => y.name).nodeWidth(ke.nodeWidth).nodePadding(l).nodeAlign(d).extent([
3560
+ let d = Ci;
3561
+ c === Ce.LEFT ? d = _i : c === Ce.RIGHT && (d = Ii);
3562
+ const p = wi().nodeId((y) => y.name).nodeWidth(Re.nodeWidth).nodePadding(l).nodeAlign(d).extent([
3551
3563
  [2, 30],
3552
3564
  [n - 2, s]
3553
3565
  ]);
@@ -3563,9 +3575,9 @@ class vh extends q {
3563
3575
  "id",
3564
3576
  (y, A) => this.services.domUtils.generateElementIDString(`alluvial-category-${A}`)
3565
3577
  ).style("font-size", "14px").text((y) => h[y] ? h[y] : "").attr("y", 20).attr("x", (y, A) => {
3566
- const M = this.services.domUtils.generateElementIDString(
3578
+ const w = this.services.domUtils.generateElementIDString(
3567
3579
  `alluvial-category-${A}`
3568
- ), { width: L } = S.getSVGElementSize(x(`text#${M}`), {
3580
+ ), { width: L } = S.getSVGElementSize(x(`text#${w}`), {
3569
3581
  useBBox: !0
3570
3582
  });
3571
3583
  let I = 0;
@@ -3575,9 +3587,9 @@ class vh extends q {
3575
3587
  if (g.exit().remove(), r) {
3576
3588
  const y = v(this.getOptions(), "color", "scale");
3577
3589
  y && g.enter().append("linearGradient").attr("id", (A) => `${this.gradient_id}-link-${A.index}`).attr("gradientUnits", "userSpaceOnUse").call(
3578
- (A) => A.append("stop").attr("offset", "0%").attr("stop-color", (M) => y[M.source.name])
3590
+ (A) => A.append("stop").attr("offset", "0%").attr("stop-color", (w) => y[w.source.name])
3579
3591
  ).call(
3580
- (A) => A.append("stop").attr("offset", "100%").attr("stop-color", (M) => y[M.target.name])
3592
+ (A) => A.append("stop").attr("offset", "100%").attr("stop-color", (w) => y[w.target.name])
3581
3593
  ), g.exit().remove();
3582
3594
  }
3583
3595
  g.enter().append("path").classed("link", !0).attr("d", Mi()).attr(
@@ -3595,7 +3607,7 @@ class vh extends q {
3595
3607
  ...y,
3596
3608
  source: y.source.name,
3597
3609
  target: y.target.name
3598
- })).attr("stroke-width", (y) => Math.max(1, y.width)).style("stroke-opacity", ke.opacity.default).attr(
3610
+ })).attr("stroke-width", (y) => Math.max(1, y.width)).style("stroke-opacity", Re.opacity.default).attr(
3599
3611
  "aria-label",
3600
3612
  (y) => `${y.source.name} → ${y.target.name} (${y.value}${a.alluvial.units ? " " + a.alluvial.units : ""})`
3601
3613
  );
@@ -3612,16 +3624,16 @@ class vh extends q {
3612
3624
  "id",
3613
3625
  (y) => this.services.domUtils.generateElementIDString(`alluvial-node-text-${y.index}`)
3614
3626
  ).attr("class", "node-text").style("font-size", "12px").attr("text-anchor", "start").attr("fill", "white").attr("x", 4).attr("dy", 13).text((y) => `${y.name} (${T(y.value, O)})`).attr("aria-label", (y) => `${y.name} (${y.value})`), E.append("rect").classed("node-text-bg", !0).attr("width", (y, A) => {
3615
- const M = this.services.domUtils.generateElementIDString(
3627
+ const w = this.services.domUtils.generateElementIDString(
3616
3628
  `alluvial-node-text-${A}`
3617
- ), { width: L } = S.getSVGElementSize(x(`text#${M}`), {
3629
+ ), { width: L } = S.getSVGElementSize(x(`text#${w}`), {
3618
3630
  useBBox: !0
3619
3631
  });
3620
3632
  return L + 8;
3621
3633
  }).attr("height", 18).attr("stroke-width", 2).lower(), E.attr("transform", (y, A) => {
3622
- const M = this.services.domUtils.generateElementIDString(
3634
+ const w = this.services.domUtils.generateElementIDString(
3623
3635
  `alluvial-node-text-${A}`
3624
- ), { width: L } = S.getSVGElementSize(x(`text#${M}`), {
3636
+ ), { width: L } = S.getSVGElementSize(x(`text#${w}`), {
3625
3637
  useBBox: !0
3626
3638
  }), I = (y.y1 - y.y0) / 2 - 9;
3627
3639
  let N = y.x1 - y.x0;
@@ -3636,8 +3648,8 @@ class vh extends q {
3636
3648
  name: "alluvial-links-mouse-highlight"
3637
3649
  })
3638
3650
  );
3639
- r === "mouseout" ? (x(i).lower(), l.style("stroke-opacity", ke.opacity.default)) : l.style("stroke-opacity", function() {
3640
- return i === this ? (x(this).raise(), ke.opacity.selected) : ke.opacity.unfocus;
3651
+ r === "mouseout" ? (x(i).lower(), l.style("stroke-opacity", Re.opacity.default)) : l.style("stroke-opacity", function() {
3652
+ return i === this ? (x(this).raise(), Re.opacity.selected) : Re.opacity.unfocus;
3641
3653
  });
3642
3654
  }, 33);
3643
3655
  this.parent.selectAll("path.link").on("mouseover", function(i, r) {
@@ -3689,7 +3701,7 @@ class vh extends q {
3689
3701
  addNodeEventListener() {
3690
3702
  const e = this, t = vn((n = [], s = "mouseover") => {
3691
3703
  if (s === "mouseout" || n.length === 0) {
3692
- e.parent.selectAll("path.link").classed("link-hovered", !1).data(this.graph.links, (i) => i.index).order().style("stroke-opacity", ke.opacity.default);
3704
+ e.parent.selectAll("path.link").classed("link-hovered", !1).data(this.graph.links, (i) => i.index).order().style("stroke-opacity", Re.opacity.default);
3693
3705
  return;
3694
3706
  }
3695
3707
  e.parent.selectAll("path.link").transition().call(
@@ -3698,7 +3710,7 @@ class vh extends q {
3698
3710
  name: "alluvial-link-mouse-highlight"
3699
3711
  })
3700
3712
  ).style("stroke-opacity", function(i) {
3701
- return n.some((r) => r === i.index) ? (x(this).classed("link-hovered", !0).raise(), ke.opacity.selected) : ke.opacity.unfocus;
3713
+ return n.some((r) => r === i.index) ? (x(this).classed("link-hovered", !0).raise(), Re.opacity.selected) : Re.opacity.unfocus;
3702
3714
  });
3703
3715
  }, 66);
3704
3716
  e.parent.selectAll(".node-group").on("mouseover", function(n, s) {
@@ -3736,7 +3748,7 @@ class vh extends q {
3736
3748
  });
3737
3749
  }).on("mouseout", function(n, s) {
3738
3750
  const a = x(this), i = bt(a.attr("transform"));
3739
- if (a.classed("node-hovered", !1).attr("transform", `translate(${i.x + 2}, ${i.y})`).select("rect.node").attr("width", ke.nodeWidth), s.x0 - 2 === 0) {
3751
+ if (a.classed("node-hovered", !1).attr("transform", `translate(${i.x + 2}, ${i.y})`).select("rect.node").attr("width", Re.nodeWidth), s.x0 - 2 === 0) {
3740
3752
  const l = e.services.domUtils.generateElementIDString(
3741
3753
  `alluvial-node-title-${s.index}`
3742
3754
  ), c = e.parent.select(`g#${l}`), d = bt(c.attr("transform"));
@@ -3770,7 +3782,7 @@ class vh extends q {
3770
3782
  this.parent.selectAll("path.line,.node-group").on("mouseover", null).on("mousemove", null).on("click", null).on("mouseout", null);
3771
3783
  }
3772
3784
  }
3773
- class yh extends q {
3785
+ class xh extends q {
3774
3786
  constructor() {
3775
3787
  super(...arguments), this.type = "grid", this.renderType = j.SVG;
3776
3788
  }
@@ -3866,7 +3878,7 @@ class yh extends q {
3866
3878
  e.selectAll("text").remove(), e.select(".domain").remove();
3867
3879
  }
3868
3880
  }
3869
- class Eh extends q {
3881
+ class Th extends q {
3870
3882
  constructor() {
3871
3883
  super(...arguments), this.type = "area", this.renderType = j.SVG, this.gradient_id = "gradient-id-" + Math.floor(Math.random() * 99999999999), this.handleLegendOnHover = (e) => {
3872
3884
  const { hoveredElement: t } = e.detail;
@@ -3892,33 +3904,33 @@ class Eh extends q {
3892
3904
  render(e = !0) {
3893
3905
  const t = this.getComponentContainer({ withinChartClip: !0 }), n = this.getOptions();
3894
3906
  let s = [0, 0];
3895
- const { cartesianScales: a } = this.services, i = a.getOrientation(), r = Nn().curve(this.services.curves.getD3Curve()).defined((M) => {
3896
- const L = a.getRangeIdentifier(), I = M[L];
3907
+ const { cartesianScales: a } = this.services, i = a.getOrientation(), r = Nn().curve(this.services.curves.getD3Curve()).defined((w) => {
3908
+ const L = a.getRangeIdentifier(), I = w[L];
3897
3909
  return I != null;
3898
3910
  }), l = this.model.getGroupedData(this.configs.groups), c = v(n, "bounds"), d = c && l && l.length === 1;
3899
3911
  !d && c && console.warn(
3900
3912
  `Bounds can only be shown when having 1 single datagroup, you've supplied ${l.length}`
3901
3913
  );
3902
3914
  let p = 0;
3903
- const h = (M, L) => {
3904
- v(n, "axes", M, "includeZero") === !1 && L[0] > 0 && L[1] > 0 && (p = L[0]);
3905
- }, u = (M) => d ? a.getBoundedScaledValues(M)[0] : a.getRangeValue(p), g = (M) => d ? a.getBoundedScaledValues(M)[1] : a.getRangeValue(M);
3906
- i === xe.VERTICAL ? (s = a.getMainYScale().domain(), h(a.getMainYAxisPosition(), s), r.x((M) => a.getDomainValue(M)).y0((M) => u(M)).y1((M) => g(M))) : (s = a.getMainXScale().domain(), h(a.getMainXAxisPosition(), s), r.x0((M) => u(M)).x1((M) => g(M)).y((M) => a.getDomainValue(M)));
3915
+ const h = (w, L) => {
3916
+ v(n, "axes", w, "includeZero") === !1 && L[0] > 0 && L[1] > 0 && (p = L[0]);
3917
+ }, u = (w) => d ? a.getBoundedScaledValues(w)[0] : a.getRangeValue(p), g = (w) => d ? a.getBoundedScaledValues(w)[1] : a.getRangeValue(w);
3918
+ i === xe.VERTICAL ? (s = a.getMainYScale().domain(), h(a.getMainYAxisPosition(), s), r.x((w) => a.getDomainValue(w)).y0((w) => u(w)).y1((w) => g(w))) : (s = a.getMainXScale().domain(), h(a.getMainXAxisPosition(), s), r.x0((w) => u(w)).x1((w) => g(w)).y((w) => a.getDomainValue(w)));
3907
3919
  const m = v(n, "color", "gradient", "enabled"), E = l && l.length === 1 && m;
3908
3920
  l.length > 1 && m && console.error("Gradients can only be enabled when having 1 single dataset");
3909
- const O = t.selectAll("path.area").data(l, (M) => M.name), T = x(this.services.domUtils.getMainContainer());
3921
+ const O = t.selectAll("path.area").data(l, (w) => w.name), T = x(this.services.domUtils.getMainContainer());
3910
3922
  if (O.exit().attr("opacity", 0).remove(), !l.length)
3911
3923
  return;
3912
3924
  if (E) {
3913
- const M = T.select(
3925
+ const w = T.select(
3914
3926
  `path.${this.model.getColorClassName({
3915
3927
  classNameTypes: [z.STROKE],
3916
3928
  dataGroupName: l[0].name
3917
3929
  })}`
3918
3930
  ).node();
3919
3931
  let L;
3920
- if (M)
3921
- L = getComputedStyle(M, null).getPropertyValue(
3932
+ if (w)
3933
+ L = getComputedStyle(w, null).getPropertyValue(
3922
3934
  "stroke"
3923
3935
  );
3924
3936
  else {
@@ -3946,43 +3958,43 @@ class Eh extends q {
3946
3958
  const y = this, A = O.enter().append("path");
3947
3959
  E ? A.merge(O).style(
3948
3960
  "fill",
3949
- (M) => `url(#${this.services.domUtils.generateElementIDString(
3950
- `${M.name.replace(" ", "")}_${this.gradient_id}`
3961
+ (w) => `url(#${this.services.domUtils.generateElementIDString(
3962
+ `${w.name.replace(" ", "")}_${this.gradient_id}`
3951
3963
  )})`
3952
3964
  ).attr("class", "area").attr(
3953
3965
  "class",
3954
- (M) => this.model.getColorClassName({
3966
+ (w) => this.model.getColorClassName({
3955
3967
  classNameTypes: [z.FILL],
3956
- dataGroupName: M.name,
3968
+ dataGroupName: w.name,
3957
3969
  originalClassName: "area"
3958
3970
  })
3959
- ).attr("d", (M) => {
3960
- const { data: L } = M;
3971
+ ).attr("d", (w) => {
3972
+ const { data: L } = w;
3961
3973
  return r(L);
3962
3974
  }) : (A.attr("opacity", 0).merge(O).attr("class", "area").attr(
3963
3975
  "class",
3964
- (M) => this.model.getColorClassName({
3976
+ (w) => this.model.getColorClassName({
3965
3977
  classNameTypes: [z.FILL, z.STROKE],
3966
- dataGroupName: M.name,
3978
+ dataGroupName: w.name,
3967
3979
  originalClassName: "area"
3968
3980
  })
3969
- ).style("fill", (M) => y.model.getFillColor(M.name, null, M.data)).transition().call(
3970
- (M) => this.services.transitions.setupTransition({
3971
- transition: M,
3981
+ ).style("fill", (w) => y.model.getFillColor(w.name, null, w.data)).transition().call(
3982
+ (w) => this.services.transitions.setupTransition({
3983
+ transition: w,
3972
3984
  name: "area-update-enter",
3973
3985
  animate: e
3974
3986
  })
3975
- ).attr("opacity", d ? 1 : Be.opacity.selected).attr("d", (M) => {
3976
- const { data: L } = M;
3987
+ ).attr("opacity", d ? 1 : Be.opacity.selected).attr("d", (w) => {
3988
+ const { data: L } = w;
3977
3989
  return r(L);
3978
- }), d && A.attr("fill-opacity", Be.opacity.selected).style("stroke", (M) => y.model.getStrokeColor(M.name, null, M.data)).style("stroke-dasharray", "2, 2").attr("stroke-width", 0.7 + "px"));
3990
+ }), d && A.attr("fill-opacity", Be.opacity.selected).style("stroke", (w) => y.model.getStrokeColor(w.name, null, w.data)).style("stroke-dasharray", "2, 2").attr("stroke-width", 0.7 + "px"));
3979
3991
  }
3980
3992
  destroy() {
3981
3993
  const e = this.services.events;
3982
3994
  e.removeEventListener(f.Legend.ITEM_HOVER, this.handleLegendOnHover), e.removeEventListener(f.Legend.ITEM_MOUSEOUT, this.handleLegendMouseOut);
3983
3995
  }
3984
3996
  }
3985
- class bh extends q {
3997
+ class Lh extends q {
3986
3998
  constructor() {
3987
3999
  super(...arguments), this.type = "line", this.renderType = j.SVG, this.handleLegendOnHover = (e) => {
3988
4000
  const { hoveredElement: t } = e.detail;
@@ -4029,7 +4041,7 @@ class bh extends q {
4029
4041
  [m]: A[m],
4030
4042
  [y]: A[1]
4031
4043
  })),
4032
- hidden: !Cr(O, (A) => A[0] !== A[1])
4044
+ hidden: !Dr(O, (A) => A[0] !== A[1])
4033
4045
  };
4034
4046
  });
4035
4047
  } else
@@ -4065,10 +4077,10 @@ class bh extends q {
4065
4077
  }
4066
4078
  }
4067
4079
  const Fs = 5;
4068
- function gl(o, e) {
4080
+ function El(o, e) {
4069
4081
  return o > e - Fs && o < e + Fs;
4070
4082
  }
4071
- class wa extends q {
4083
+ class Ma extends q {
4072
4084
  constructor() {
4073
4085
  super(...arguments), this.type = "ruler", this.renderType = j.SVG, this.isXGridEnabled = v(this.getOptions(), "grid", "x", "enabled"), this.isYGridEnabled = v(this.getOptions(), "grid", "y", "enabled"), this.isEventListenerAdded = !1;
4074
4086
  }
@@ -4092,7 +4104,7 @@ class wa extends q {
4092
4104
  const s = this.parent, a = this.services.cartesianScales.getOrientation(), i = this.model.getDisplayData(), r = this.services.cartesianScales.getRangeScale(), [l, c] = r.range(), d = a === xe.HORIZONTAL ? n : t, p = S.appendOrSelect(s, "g.ruler").attr("aria-label", "ruler"), h = S.appendOrSelect(p, "line.ruler-line"), u = s.selectAll("[role=graphics-symbol]"), g = i.map((E) => ({
4093
4105
  domainValue: this.services.cartesianScales.getDomainValue(E),
4094
4106
  originalData: E
4095
- })).filter((E) => gl(E.domainValue, d));
4107
+ })).filter((E) => El(E.domainValue, d));
4096
4108
  if (this.pointsWithinLine && g.length === this.pointsWithinLine.length && g.map((E) => E.domainValue).join() === this.pointsWithinLine.map((E) => E.domainValue).join())
4097
4109
  return this.pointsWithinLine = g, this.services.events.dispatchEvent(f.Tooltip.MOVE, {
4098
4110
  mousePosition: [t, n]
@@ -4106,13 +4118,13 @@ class wa extends q {
4106
4118
  }, []);
4107
4119
  if (m.length > 0) {
4108
4120
  const E = m.map((A) => A.originalData).filter((A) => {
4109
- const M = this.services.cartesianScales.getRangeIdentifier(A), L = A[M];
4121
+ const w = this.services.cartesianScales.getRangeIdentifier(A), L = A[w];
4110
4122
  return L != null;
4111
4123
  }), O = m.map(
4112
4124
  (A) => A.domainValue
4113
4125
  ), T = u.filter((A) => {
4114
- const M = this.services.cartesianScales.getDomainValue(A);
4115
- return O.includes(M);
4126
+ const w = this.services.cartesianScales.getDomainValue(A);
4127
+ return O.includes(w);
4116
4128
  });
4117
4129
  this.elementsToHighlight && this.elementsToHighlight.size() > 0 && !Ea(this.elementsToHighlight, T) && this.hideRuler(), T.dispatch("mouseover"), this.elementsToHighlight = T, this.services.events.dispatchEvent(f.Tooltip.SHOW, {
4118
4130
  mousePosition: [t, n],
@@ -4135,12 +4147,12 @@ class wa extends q {
4135
4147
  this.isEventListenerAdded = !0;
4136
4148
  const e = this, t = this.services.domUtils.getHolder(), n = this.model.getDisplayData();
4137
4149
  let s = function(a) {
4138
- const i = zt(a, e.parent.node());
4150
+ const i = Wt(a, e.parent.node());
4139
4151
  e.showRuler(a, i);
4140
4152
  };
4141
4153
  if (n.length > 100) {
4142
4154
  const a = n.length % 50 * 12.5;
4143
- s = Xa(
4155
+ s = Za(
4144
4156
  function(i) {
4145
4157
  const { mousePosition: r } = this;
4146
4158
  e.showRuler(i, r);
@@ -4437,10 +4449,10 @@ class Ca extends q {
4437
4449
  h = Vn;
4438
4450
  break;
4439
4451
  case G.RIGHT:
4440
- h = ei;
4452
+ h = ti;
4441
4453
  break;
4442
4454
  case G.TOP:
4443
- h = Qa;
4455
+ h = ei;
4444
4456
  break;
4445
4457
  }
4446
4458
  l.attr("aria-label", `${t} axis`);
@@ -4452,7 +4464,7 @@ class Ca extends q {
4452
4464
  g.attr("aria-hidden", !0);
4453
4465
  return;
4454
4466
  }
4455
- const A = v(E, "scaleType"), M = v(n, "data", "loading"), L = v(E, "ticks", "number"), I = v(E, "ticks", "values"), N = v(E, "truncation", "type"), W = v(E, "truncation", "threshold"), k = v(E, "truncation", "numCharacter"), C = L !== null, V = v(n, "timeScale"), F = S.appendOrSelect(m, "g.tick"), w = S.appendOrSelect(F, "text").text("0"), Q = S.getSVGElementSize(w.node(), {
4467
+ const A = v(E, "scaleType"), w = v(n, "data", "loading"), L = v(E, "ticks", "number"), I = v(E, "ticks", "values"), N = v(E, "truncation", "type"), W = v(E, "truncation", "threshold"), R = v(E, "truncation", "numCharacter"), C = L !== null, V = v(n, "timeScale"), F = S.appendOrSelect(m, "g.tick"), M = S.appendOrSelect(F, "text").text("0"), Q = S.getSVGElementSize(M.node(), {
4456
4468
  useBBox: !0
4457
4469
  }).height;
4458
4470
  F.remove();
@@ -4530,7 +4542,7 @@ class Ca extends q {
4530
4542
  const qe = this.model.isDataEmpty();
4531
4543
  if (E.title) {
4532
4544
  const U = S.appendOrSelect(l, "text.axis-title").html(
4533
- qe || M ? "" : De(E.title)
4545
+ qe || w ? "" : De(E.title)
4534
4546
  ), J = v(E, "titleOrientation");
4535
4547
  let ae;
4536
4548
  switch (t) {
@@ -4567,7 +4579,7 @@ class Ca extends q {
4567
4579
  name: "axis-update",
4568
4580
  animate: e
4569
4581
  })
4570
- )), g = g.call(K), ae.selectAll(".tick").data(K.tickValues(), p).order().select("text").style("font-weight", (ce, Te) => Za(ce, Te, K.tickValues(), U, J) ? "bold" : "normal");
4582
+ )), g = g.call(K), ae.selectAll(".tick").data(K.tickValues(), p).order().select("text").style("font-weight", (ce, Te) => Ya(ce, Te, K.tickValues(), U, J) ? "bold" : "normal");
4571
4583
  } else
4572
4584
  !e || !u ? g = g.call(K) : g = g.transition().call(
4573
4585
  (U) => this.services.transitions.setupTransition({
@@ -4605,16 +4617,16 @@ class Ca extends q {
4605
4617
  this.getNumberOfFittingTicks(i, Q, ot.ticks.horizontalSpaceRatio)
4606
4618
  ), m.call(K), g.call(K)), l.selectAll("g.ticks g.tick text").attr("transform", "rotate(-45)").attr("text-anchor", t === G.TOP ? "start" : "end")) : l.selectAll("g.ticks g.tick text").attr("transform", null).attr("text-anchor", null);
4607
4619
  }
4608
- if (M ? l.attr("opacity", 0) : l.attr("opacity", 1), g.selectAll("g.tick").attr("aria-label", (U) => U), m.selectAll("g.tick").attr("aria-label", (U) => U), N !== lt.NONE && A === ue.LABELS && !I) {
4620
+ if (w ? l.attr("opacity", 0) : l.attr("opacity", 1), g.selectAll("g.tick").attr("aria-label", (U) => U), m.selectAll("g.tick").attr("aria-label", (U) => U), N !== lt.NONE && A === ue.LABELS && !I) {
4609
4621
  const U = this.services.cartesianScales.getScaleDomain(t);
4610
4622
  if (U.length > 0) {
4611
4623
  const J = a.select(`g.axis.${t} g.ticks g.tick`).html();
4612
4624
  l.selectAll("g.ticks g.tick").html(J);
4613
4625
  const ae = this;
4614
4626
  l.selectAll("g.tick text").data(U).text(function(re) {
4615
- return re.length > W ? (ae.truncation[t] = !0, Ot(re, N, k)) : re;
4627
+ return re.length > W ? (ae.truncation[t] = !0, Ot(re, N, R)) : re;
4616
4628
  }), this.getInvisibleAxisRef().selectAll("g.tick text").data(U).text(function(re) {
4617
- return re.length > W ? Ot(re, N, k) : re;
4629
+ return re.length > W ? Ot(re, N, R) : re;
4618
4630
  }), l.selectAll("g.ticks").html(this.getInvisibleAxisRef().html()), l.selectAll("g.tick text").data(U);
4619
4631
  }
4620
4632
  }
@@ -4671,7 +4683,7 @@ class Ca extends q {
4671
4683
  S.appendOrSelect(e, `g.axis.${t}`).selectAll("g.tick text").on("mouseover", null).on("mousemove", null).on("mouseout", null);
4672
4684
  }
4673
4685
  }
4674
- class ml extends Ca {
4686
+ class bl extends Ca {
4675
4687
  constructor(e, t, n) {
4676
4688
  super(e, t, n);
4677
4689
  }
@@ -4775,7 +4787,7 @@ class ml extends Ca {
4775
4787
  S.appendOrSelect(e, `g.axis.${t}`).selectAll("g.tick.tick-hover").on("mouseover", null).on("mousemove", null).on("mouseout", null).on("focus", null).on("blur", null);
4776
4788
  }
4777
4789
  }
4778
- class Sh extends q {
4790
+ class Ah extends q {
4779
4791
  constructor() {
4780
4792
  super(...arguments), this.type = "2D-axes", this.renderType = j.SVG, this.children = {}, this.thresholds = [], this.margins = {
4781
4793
  top: 0,
@@ -4795,7 +4807,7 @@ class Sh extends q {
4795
4807
  position: l,
4796
4808
  axes: this.configs.axes,
4797
4809
  margins: this.margins
4798
- }, d = this.model.axisFlavor === Ti.DEFAULT ? new Ca(this.model, this.services, c) : new ml(this.model, this.services, c);
4810
+ }, d = this.model.axisFlavor === Li.DEFAULT ? new Ca(this.model, this.services, c) : new bl(this.model, this.services, c);
4799
4811
  d.setModel(this.model), d.setServices(this.services), d.setParent(this.parent), this.children[l] = d;
4800
4812
  }
4801
4813
  }), Object.keys(this.children).forEach((r) => {
@@ -4829,7 +4841,7 @@ class Sh extends q {
4829
4841
  }), this.render(!0));
4830
4842
  }
4831
4843
  }
4832
- class fl extends q {
4844
+ class Sl extends q {
4833
4845
  constructor() {
4834
4846
  super(...arguments), this.type = "skeleton";
4835
4847
  }
@@ -4841,13 +4853,13 @@ class fl extends q {
4841
4853
  t ? this.renderSkeleton(t) : this.removeSkeleton();
4842
4854
  }
4843
4855
  renderSkeleton(e) {
4844
- if (this.configs.skeleton === wt.GRID)
4856
+ if (this.configs.skeleton === Mt.GRID)
4845
4857
  this.renderGridSkeleton(e);
4846
- else if (this.configs.skeleton === wt.VERT_OR_HORIZ)
4858
+ else if (this.configs.skeleton === Mt.VERT_OR_HORIZ)
4847
4859
  this.renderVertOrHorizSkeleton(e);
4848
- else if (this.configs.skeleton === wt.PIE)
4860
+ else if (this.configs.skeleton === Mt.PIE)
4849
4861
  this.renderPieSkeleton(e);
4850
- else if (this.configs.skeleton === wt.DONUT)
4862
+ else if (this.configs.skeleton === Mt.DONUT)
4851
4863
  this.renderDonutSkeleton(e);
4852
4864
  else
4853
4865
  throw new Error(`"${this.configs.skeleton}" is not a valid Skeleton type.`);
@@ -4933,14 +4945,14 @@ class fl extends q {
4933
4945
  `;
4934
4946
  h.html(u), g();
4935
4947
  function g() {
4936
- h.attr("gradientTransform", `translate(${c - 3 * 0.2 * l}, 0)`).transition().duration(2e3).delay(1e3).ease(ti).attr("gradientTransform", `translate(${d + 3 * 0.2 * l}, 0)`).on("end", g);
4948
+ h.attr("gradientTransform", `translate(${c - 3 * 0.2 * l}, 0)`).transition().duration(2e3).delay(1e3).ease(ni).attr("gradientTransform", `translate(${d + 3 * 0.2 * l}, 0)`).on("end", g);
4937
4949
  }
4938
4950
  }
4939
4951
  removeSkeleton() {
4940
4952
  this.parent.select(".chart-skeleton").remove();
4941
4953
  }
4942
4954
  }
4943
- class Oh extends q {
4955
+ class wh extends q {
4944
4956
  constructor() {
4945
4957
  super(...arguments), this.type = "boxplot", this.renderType = j.SVG;
4946
4958
  }
@@ -4952,7 +4964,7 @@ class Oh extends q {
4952
4964
  (C) => this.services.cartesianScales.getDomainValue(C),
4953
4965
  (C) => this.services.cartesianScales.getRangeValue(C),
4954
4966
  m
4955
- ), y = Math.floor((E ? h : u) / a.length), A = Math.min(y / 2, 16), M = this.model.getBoxplotData(), L = t.selectAll(".box-group").data(M);
4967
+ ), y = Math.floor((E ? h : u) / a.length), A = Math.min(y / 2, 16), w = this.model.getBoxplotData(), L = t.selectAll(".box-group").data(w);
4956
4968
  L.exit().remove();
4957
4969
  const I = L.enter().append("g").attr("class", "box-group"), N = L.merge(I);
4958
4970
  I.append("path").merge(L.select("path.vertical-line.start")).attr(
@@ -4968,8 +4980,8 @@ class Oh extends q {
4968
4980
  animate: e
4969
4981
  })
4970
4982
  ).attr("d", (C) => {
4971
- const V = g.getDomainValue(C[s]), F = V, w = g.getRangeValue(C.whiskers.min), Q = g.getRangeValue(C.quartiles.q_25);
4972
- return ye({ x0: V, x1: F, y0: w, y1: Q }, m);
4983
+ const V = g.getDomainValue(C[s]), F = V, M = g.getRangeValue(C.whiskers.min), Q = g.getRangeValue(C.quartiles.q_25);
4984
+ return ye({ x0: V, x1: F, y0: M, y1: Q }, m);
4973
4985
  }), I.append("path").merge(L.select("path.vertical-line.end")).attr(
4974
4986
  "class",
4975
4987
  () => this.model.getColorClassName({
@@ -4983,8 +4995,8 @@ class Oh extends q {
4983
4995
  animate: e
4984
4996
  })
4985
4997
  ).attr("d", (C) => {
4986
- const V = g.getDomainValue(C[s]), F = V, w = g.getRangeValue(C.whiskers.max), Q = g.getRangeValue(C.quartiles.q_75);
4987
- return ye({ x0: V, x1: F, y0: w, y1: Q }, m);
4998
+ const V = g.getDomainValue(C[s]), F = V, M = g.getRangeValue(C.whiskers.max), Q = g.getRangeValue(C.quartiles.q_75);
4999
+ return ye({ x0: V, x1: F, y0: M, y1: Q }, m);
4988
5000
  }), I.append("path").merge(L.select("path.box")).attr(
4989
5001
  "class",
4990
5002
  () => this.model.getColorClassName({
@@ -4998,15 +5010,15 @@ class Oh extends q {
4998
5010
  animate: e
4999
5011
  })
5000
5012
  ).attr("d", (C) => {
5001
- const V = g.getDomainValue(C[s]) - A / 2, F = V + A, w = g.getRangeValue(
5013
+ const V = g.getDomainValue(C[s]) - A / 2, F = V + A, M = g.getRangeValue(
5002
5014
  Math[E ? "max" : "min"](C.quartiles.q_75, C.quartiles.q_25)
5003
- ), Q = w + Math.abs(
5015
+ ), Q = M + Math.abs(
5004
5016
  g.getRangeValue(C.quartiles.q_75) - g.getRangeValue(C.quartiles.q_25)
5005
5017
  );
5006
- return ye({ x0: V, x1: F, y0: w, y1: Q }, m);
5018
+ return ye({ x0: V, x1: F, y0: M, y1: Q }, m);
5007
5019
  }), I.append("path").merge(L.select("path.highlight-area")).attr("class", "highlight-area").attr("opacity", 0).attr("d", (C) => {
5008
- const V = g.getDomainValue(C[s]) - A / 2, F = V + A, w = g.getRangeValue(C.whiskers.min), Q = g.getRangeValue(C.whiskers.max);
5009
- return ye({ x0: V, x1: F, y0: w, y1: Q }, m);
5020
+ const V = g.getDomainValue(C[s]) - A / 2, F = V + A, M = g.getRangeValue(C.whiskers.min), Q = g.getRangeValue(C.whiskers.max);
5021
+ return ye({ x0: V, x1: F, y0: M, y1: Q }, m);
5010
5022
  }), I.append("path").merge(L.select("path.whisker.start")).attr(
5011
5023
  "class",
5012
5024
  () => this.model.getColorClassName({
@@ -5020,8 +5032,8 @@ class Oh extends q {
5020
5032
  animate: e
5021
5033
  })
5022
5034
  ).attr("d", (C) => {
5023
- const V = g.getDomainValue(C[s]) - A / 4, F = V + A / 2, w = g.getRangeValue(C.whiskers.min), Q = g.getRangeValue(C.whiskers.min);
5024
- return ye({ x0: V, x1: F, y0: w, y1: Q }, m);
5035
+ const V = g.getDomainValue(C[s]) - A / 4, F = V + A / 2, M = g.getRangeValue(C.whiskers.min), Q = g.getRangeValue(C.whiskers.min);
5036
+ return ye({ x0: V, x1: F, y0: M, y1: Q }, m);
5025
5037
  }), I.append("path").merge(L.select("path.median")).attr("fill", "none").attr(
5026
5038
  "class",
5027
5039
  () => this.model.getColorClassName({
@@ -5035,8 +5047,8 @@ class Oh extends q {
5035
5047
  animate: e
5036
5048
  })
5037
5049
  ).attr("d", (C) => {
5038
- const V = g.getDomainValue(C[s]) - A / 2, F = V + A, w = g.getRangeValue(C.quartiles.q_50);
5039
- return ye({ x0: V, x1: F, y0: w, y1: w }, m);
5050
+ const V = g.getDomainValue(C[s]) - A / 2, F = V + A, M = g.getRangeValue(C.quartiles.q_50);
5051
+ return ye({ x0: V, x1: F, y0: M, y1: M }, m);
5040
5052
  }), I.append("path").merge(L.select("path.whisker.end")).attr(
5041
5053
  "class",
5042
5054
  () => this.model.getColorClassName({
@@ -5050,8 +5062,8 @@ class Oh extends q {
5050
5062
  animate: e
5051
5063
  })
5052
5064
  ).attr("d", (C) => {
5053
- const V = g.getDomainValue(C[s]) - A / 4, F = V + A / 2, w = g.getRangeValue(C.whiskers.max), Q = g.getRangeValue(C.whiskers.max);
5054
- return ye({ x0: V, x1: F, y0: w, y1: Q }, m);
5065
+ const V = g.getDomainValue(C[s]) - A / 4, F = V + A / 2, M = g.getRangeValue(C.whiskers.max), Q = g.getRangeValue(C.whiskers.max);
5066
+ return ye({ x0: V, x1: F, y0: M, y1: Q }, m);
5055
5067
  });
5056
5068
  const W = N.selectAll("circle.outlier").data(
5057
5069
  (C) => C.outliers.map((V) => ({
@@ -5062,8 +5074,8 @@ class Oh extends q {
5062
5074
  }))
5063
5075
  );
5064
5076
  W.exit().remove();
5065
- const k = W.enter().append("circle");
5066
- W.merge(k).attr("r", Ae.circle.radius).attr(
5077
+ const R = W.enter().append("circle");
5078
+ W.merge(R).attr("r", Ae.circle.radius).attr(
5067
5079
  "class",
5068
5080
  () => this.model.getColorClassName({
5069
5081
  classNameTypes: [z.FILL, z.STROKE],
@@ -5200,7 +5212,7 @@ class Oh extends q {
5200
5212
  });
5201
5213
  }
5202
5214
  }
5203
- class xh extends q {
5215
+ class Mh extends q {
5204
5216
  constructor() {
5205
5217
  super(...arguments), this.type = "zero-line", this.renderType = j.SVG;
5206
5218
  }
@@ -5215,7 +5227,7 @@ class xh extends q {
5215
5227
  const [l, c] = this.services.cartesianScales.getDomainScale().range();
5216
5228
  let d = +n(0) + 0.5;
5217
5229
  d || (d = n.range()[0]);
5218
- const p = Ya(
5230
+ const p = qa(
5219
5231
  {
5220
5232
  x0: l,
5221
5233
  x1: c,
@@ -5233,12 +5245,12 @@ class xh extends q {
5233
5245
  ).attr("y1", p.y0).attr("y2", p.y1).attr("x1", p.x0).attr("x2", p.x1);
5234
5246
  }
5235
5247
  }
5236
- class Th extends Fn {
5248
+ class Ch extends Fn {
5237
5249
  constructor() {
5238
5250
  super(...arguments), this.type = "bubble", this.renderType = j.SVG;
5239
5251
  }
5240
5252
  getRadiusScale(e) {
5241
- const t = this.getOptions(), { radiusMapsTo: n } = t.bubble, s = e.data(), a = s.map((c) => c[n]).filter((c) => c), i = S.getHTMLElementSize(this.services.domUtils.getMainContainer()), r = a.length > 0, l = r ? Wt(a) : [1, 1];
5253
+ const t = this.getOptions(), { radiusMapsTo: n } = t.bubble, s = e.data(), a = s.map((c) => c[n]).filter((c) => c), i = S.getHTMLElementSize(this.services.domUtils.getMainContainer()), r = a.length > 0, l = r ? jt(a) : [1, 1];
5242
5254
  return Ze().domain(l).range(r ? t.bubble.radiusRange(i, s) : [4, 4]);
5243
5255
  }
5244
5256
  styleCircles(e, t) {
@@ -5281,7 +5293,7 @@ class Th extends Fn {
5281
5293
  ];
5282
5294
  }
5283
5295
  }
5284
- class Lh extends q {
5296
+ class _h extends q {
5285
5297
  constructor() {
5286
5298
  super(...arguments), this.type = "bullet", this.renderType = j.SVG, this.handleLegendOnHover = (e) => {
5287
5299
  const { hoveredElement: t } = e.detail, { groupMapsTo: n } = this.getOptions().data;
@@ -5327,9 +5339,9 @@ class Lh extends q {
5327
5339
  animate: e
5328
5340
  })
5329
5341
  ).attr("d", (T) => {
5330
- let A, M, L, I;
5331
- return T.order === 1 ? (A = this.services.cartesianScales.getDomainValue(T.datum) - 16 / 2, M = A + 16, L = c - 2, I = l + 1) : (A = this.services.cartesianScales.getDomainValue(T.datum) - 16 / 2, M = A + 16, L = this.services.cartesianScales.getRangeValue(T.value), I = c), ye(
5332
- { x0: A, x1: M, y0: L, y1: I },
5342
+ let A, w, L, I;
5343
+ return T.order === 1 ? (A = this.services.cartesianScales.getDomainValue(T.datum) - 16 / 2, w = A + 16, L = c - 2, I = l + 1) : (A = this.services.cartesianScales.getDomainValue(T.datum) - 16 / 2, w = A + 16, L = this.services.cartesianScales.getRangeValue(T.value), I = c), ye(
5344
+ { x0: A, x1: w, y0: L, y1: I },
5333
5345
  this.services.cartesianScales.getOrientation()
5334
5346
  );
5335
5347
  }).attr("opacity", 1);
@@ -5352,9 +5364,9 @@ class Lh extends q {
5352
5364
  const T = this.services.cartesianScales.getDomainIdentifier(O);
5353
5365
  return this.model.getFillColor(O[n], O[T], O);
5354
5366
  }).attr("d", (O) => {
5355
- const y = this.services.cartesianScales.getDomainValue(O) - 4, A = y + 8, M = this.services.cartesianScales.getRangeValue(0) + 1, L = this.services.cartesianScales.getRangeValue(O);
5367
+ const y = this.services.cartesianScales.getDomainValue(O) - 4, A = y + 8, w = this.services.cartesianScales.getRangeValue(0) + 1, L = this.services.cartesianScales.getRangeValue(O);
5356
5368
  return ye(
5357
- { x0: y, x1: A, y0: M, y1: L },
5369
+ { x0: y, x1: A, y0: w, y1: L },
5358
5370
  this.services.cartesianScales.getOrientation()
5359
5371
  );
5360
5372
  }).attr("opacity", 1).attr("role", X.GRAPHICS_SYMBOL).attr("aria-roledescription", "bar").attr("aria-label", (O) => O.value);
@@ -5370,9 +5382,9 @@ class Lh extends q {
5370
5382
  animate: e
5371
5383
  })
5372
5384
  ).attr("d", (O) => {
5373
- const y = this.services.cartesianScales.getDomainValue(O) - 12, A = y + 24, M = this.services.cartesianScales.getRangeValue(O.marker);
5385
+ const y = this.services.cartesianScales.getDomainValue(O) - 12, A = y + 24, w = this.services.cartesianScales.getRangeValue(O.marker);
5374
5386
  return ye(
5375
- { x0: y, x1: A, y0: M, y1: M },
5387
+ { x0: y, x1: A, y0: w, y1: w },
5376
5388
  this.services.cartesianScales.getOrientation()
5377
5389
  );
5378
5390
  }).attr("opacity", 1);
@@ -5396,9 +5408,9 @@ class Lh extends q {
5396
5408
  ).attr("d", ({ datum: T, value: y }) => {
5397
5409
  let A = 4;
5398
5410
  T.ranges && T.ranges.indexOf(y) !== -1 && (A = 8);
5399
- const M = this.services.cartesianScales.getDomainValue(T) - A / 2, L = M + A, I = this.services.cartesianScales.getRangeValue(y);
5411
+ const w = this.services.cartesianScales.getDomainValue(T) - A / 2, L = w + A, I = this.services.cartesianScales.getRangeValue(y);
5400
5412
  return ye(
5401
- { x0: M, x1: L, y0: I, y1: I },
5413
+ { x0: w, x1: L, y0: I, y1: I },
5402
5414
  this.services.cartesianScales.getOrientation()
5403
5415
  );
5404
5416
  }).attr("opacity", 1);
@@ -5476,12 +5488,12 @@ class Lh extends q {
5476
5488
  e.removeEventListener(f.Legend.ITEM_HOVER, this.handleLegendOnHover), e.removeEventListener(f.Legend.ITEM_MOUSEOUT, this.handleLegendMouseOut);
5477
5489
  }
5478
5490
  }
5479
- function vl(o) {
5491
+ function Ol(o) {
5480
5492
  return o;
5481
5493
  }
5482
- function yl(o) {
5494
+ function xl(o) {
5483
5495
  if (o == null)
5484
- return vl;
5496
+ return Ol;
5485
5497
  var e, t, n = o.scale[0], s = o.scale[1], a = o.translate[0], i = o.translate[1];
5486
5498
  return function(r, l) {
5487
5499
  l || (e = t = 0);
@@ -5491,11 +5503,11 @@ function yl(o) {
5491
5503
  return p;
5492
5504
  };
5493
5505
  }
5494
- function El(o, e) {
5506
+ function Tl(o, e) {
5495
5507
  for (var t, n = o.length, s = n - e; s < --n; )
5496
5508
  t = o[s], o[s++] = o[n], o[n] = t;
5497
5509
  }
5498
- function bl(o, e) {
5510
+ function Ll(o, e) {
5499
5511
  return typeof e == "string" && (e = o.objects[e]), e.type === "GeometryCollection" ? { type: "FeatureCollection", features: e.geometries.map(function(t) {
5500
5512
  return zs(o, t);
5501
5513
  }) } : zs(o, e);
@@ -5505,12 +5517,12 @@ function zs(o, e) {
5505
5517
  return t == null && n == null ? { type: "Feature", properties: s, geometry: a } : n == null ? { type: "Feature", id: t, properties: s, geometry: a } : { type: "Feature", id: t, bbox: n, properties: s, geometry: a };
5506
5518
  }
5507
5519
  function zn(o, e) {
5508
- var t = yl(o.transform), n = o.arcs;
5520
+ var t = xl(o.transform), n = o.arcs;
5509
5521
  function s(d, p) {
5510
5522
  p.length && p.pop();
5511
5523
  for (var h = n[d < 0 ? ~d : d], u = 0, g = h.length; u < g; ++u)
5512
5524
  p.push(t(h[u], u));
5513
- d < 0 && El(p, g);
5525
+ d < 0 && Tl(p, g);
5514
5526
  }
5515
5527
  function a(d) {
5516
5528
  return t(d);
@@ -5558,7 +5570,7 @@ function zn(o, e) {
5558
5570
  }
5559
5571
  return c(e);
5560
5572
  }
5561
- function Sl(o, e) {
5573
+ function Al(o, e) {
5562
5574
  var t = {}, n = {}, s = {}, a = [], i = -1;
5563
5575
  e.forEach(function(c, d) {
5564
5576
  var p = o.arcs[c < 0 ? ~c : c], h;
@@ -5600,15 +5612,15 @@ function Sl(o, e) {
5600
5612
  t[c < 0 ? ~c : c] || a.push([c]);
5601
5613
  }), a;
5602
5614
  }
5603
- function Ol(o) {
5615
+ function wl(o) {
5604
5616
  for (var e = -1, t = o.length, n, s = o[t - 1], a = 0; ++e < t; )
5605
5617
  n = s, s = o[e], a += n[0] * s[1] - n[1] * s[0];
5606
5618
  return Math.abs(a);
5607
5619
  }
5608
- function xl(o) {
5609
- return zn(o, Tl.apply(this, arguments));
5620
+ function Ml(o) {
5621
+ return zn(o, Cl.apply(this, arguments));
5610
5622
  }
5611
- function Tl(o, e) {
5623
+ function Cl(o, e) {
5612
5624
  var t = {}, n = [], s = [];
5613
5625
  e.forEach(a);
5614
5626
  function a(l) {
@@ -5632,7 +5644,7 @@ function Tl(o, e) {
5632
5644
  }), n.push(l);
5633
5645
  }
5634
5646
  function r(l) {
5635
- return Ol(zn(o, { type: "Polygon", arcs: [l] }).coordinates[0]);
5647
+ return wl(zn(o, { type: "Polygon", arcs: [l] }).coordinates[0]);
5636
5648
  }
5637
5649
  return n.forEach(function(l) {
5638
5650
  if (!l._) {
@@ -5658,7 +5670,7 @@ function Tl(o, e) {
5658
5670
  t[O < 0 ? ~O : O].length < 2 && c.push(O);
5659
5671
  });
5660
5672
  });
5661
- }), c = Sl(o, c), (d = c.length) > 1)
5673
+ }), c = Al(o, c), (d = c.length) > 1)
5662
5674
  for (var p = 1, h = r(c[0]), u, g; p < d; ++p)
5663
5675
  (u = r(c[p])) > h && (g = c[0], c[0] = c[p], c[p] = g, h = u);
5664
5676
  return c;
@@ -5667,7 +5679,7 @@ function Tl(o, e) {
5667
5679
  })
5668
5680
  };
5669
5681
  }
5670
- class Ah extends wa {
5682
+ class Ih extends Ma {
5671
5683
  constructor() {
5672
5684
  super(...arguments), this.type = "ruler-binned", this.renderType = j.SVG;
5673
5685
  }
@@ -5683,7 +5695,7 @@ class Ah extends wa {
5683
5695
  });
5684
5696
  if (E.size() > 0) {
5685
5697
  this.elementsToHighlight && this.elementsToHighlight.size() > 0 && !Ea(this.elementsToHighlight, E) && this.hideRuler(), E.dispatch("mouseover"), this.elementsToHighlight = E;
5686
- const O = x(E.nodes()[0]).datum(), T = parseFloat(ne(O, "data.x0")), y = parseFloat(ne(O, "data.x1")), A = this.model.getActiveDataGroupNames(), M = A.reverse().map((I) => ({
5698
+ const O = x(E.nodes()[0]).datum(), T = parseFloat(ne(O, "data.x0")), y = parseFloat(ne(O, "data.x1")), A = this.model.getActiveDataGroupNames(), w = A.reverse().map((I) => ({
5687
5699
  label: I,
5688
5700
  value: ne(O, `data.${I}`),
5689
5701
  class: this.model.getColorClassName({
@@ -5691,7 +5703,7 @@ class Ah extends wa {
5691
5703
  dataGroupName: I
5692
5704
  })
5693
5705
  })).filter((I) => I.value !== 0);
5694
- if (M.length > 0) {
5706
+ if (w.length > 0) {
5695
5707
  this.services.events.dispatchEvent(f.Tooltip.SHOW, {
5696
5708
  mousePosition: [t, n],
5697
5709
  hoveredElement: g,
@@ -5700,7 +5712,7 @@ class Ah extends wa {
5700
5712
  label: ne(a, "bins.rangeLabel") || "Range",
5701
5713
  value: `${T} – ${y}`
5702
5714
  },
5703
- ...M,
5715
+ ...w,
5704
5716
  ...v(a, "tooltip", "showTotal") === !0 ? [
5705
5717
  {
5706
5718
  label: ne(a, "locale.translations.total") || ne(a, "tooltip.totalLabel") || "Total",
@@ -5720,52 +5732,52 @@ class Ah extends wa {
5720
5732
  this.hideRuler();
5721
5733
  }
5722
5734
  }
5723
- class Mh extends wa {
5735
+ class Rh extends Ma {
5724
5736
  formatTooltipData(e) {
5725
5737
  return e.reverse();
5726
5738
  }
5727
5739
  }
5728
- const wh = (o, e) => {
5740
+ const kh = (o, e) => {
5729
5741
  const t = o.x, n = o.y, s = e.x, a = e.y, i = Gn();
5730
5742
  return i.moveTo(t, n), i.lineTo(s, a), i.toString();
5731
- }, Ch = (o, e, t = 0.5) => {
5743
+ }, Dh = (o, e, t = 0.5) => {
5732
5744
  const n = o.x, s = o.y, a = e.x, i = e.y, r = Gn();
5733
5745
  return r.moveTo(n, s), r.lineTo(n + (a - n) * t, s), r.lineTo(n + (a - n) * t, i), r.lineTo(a, i), r.toString();
5734
- }, _h = (o, e, t, n, s, a) => {
5746
+ }, Nh = (o, e, t, n, s, a) => {
5735
5747
  const i = o.x, r = o.y, l = e.x, c = e.y, d = Gn();
5736
5748
  return d.moveTo(i, r), d.bezierCurveTo(t, n, s, a, l, c), d.toString();
5737
- }, Ih = {
5749
+ }, Ph = {
5738
5750
  d: "M7 0v8L0 4z",
5739
5751
  height: 8,
5740
5752
  width: 7.5,
5741
5753
  id: "arrowLeft"
5742
- }, kh = {
5754
+ }, Vh = {
5743
5755
  d: "M0 0v8l7-4z",
5744
5756
  height: 8,
5745
5757
  width: 7.5,
5746
5758
  id: "arrowRight"
5747
- }, Rh = {
5759
+ }, Gh = {
5748
5760
  d: "M5.32 9.513a4.75 4.75 0 100-9.5 4.75 4.75 0 000 9.5z",
5749
5761
  height: 10,
5750
5762
  width: 10,
5751
5763
  id: "circle"
5752
- }, Dh = {
5764
+ }, Bh = {
5753
5765
  d: "M5.03517654-1e-7l4.99999996 5-4.99999996 5-5-5L2.4517844 2.58339204z",
5754
5766
  height: 10,
5755
5767
  width: 10,
5756
5768
  id: "diamond"
5757
- }, Nh = {
5769
+ }, Hh = {
5758
5770
  d: "M0 .44974747h8v8H0v-3.6830331z",
5759
5771
  height: 9,
5760
5772
  width: 8,
5761
5773
  id: "square"
5762
- }, Ph = {
5774
+ }, $h = {
5763
5775
  d: "M0 0h1.5v8H0z",
5764
5776
  height: 8,
5765
5777
  width: 2,
5766
5778
  id: "tee"
5767
5779
  };
5768
- class Vh extends hl {
5780
+ class Uh extends fl {
5769
5781
  constructor(e, t, n) {
5770
5782
  super(e, t, n), this.type = "color-legend", this.renderType = j.SVG, this.gradient_id = `gradient-id-${Math.floor(Math.random() * 99999999999)}`, this.handleAxisCompleteEvent = () => {
5771
5783
  const s = this.getComponentContainer(), { width: a } = S.getSVGElementSize(s, {
@@ -5800,10 +5812,10 @@ class Vh extends hl {
5800
5812
  n.html("");
5801
5813
  return;
5802
5814
  }
5803
- const d = !Js(a), p = qa(this.model.getDisplayData()), h = !(s <= de.color.barWidth), u = h ? de.color.barWidth : s, g = S.appendOrSelect(n, "g.legend"), m = S.appendOrSelect(g, "g.legend-axis");
5815
+ const d = !Js(a), p = Ka(this.model.getDisplayData()), h = !(s <= de.color.barWidth), u = h ? de.color.barWidth : s, g = S.appendOrSelect(n, "g.legend"), m = S.appendOrSelect(g, "g.legend-axis");
5804
5816
  if (l) {
5805
- const k = S.appendOrSelect(n, "g.legend-title");
5806
- S.appendOrSelect(k, "text").text(l).attr("dy", "0.7em"), g.attr("transform", "translate(0, 16)");
5817
+ const R = S.appendOrSelect(n, "g.legend-title");
5818
+ S.appendOrSelect(R, "text").text(l).attr("dy", "0.7em"), g.attr("transform", "translate(0, 16)");
5807
5819
  }
5808
5820
  const E = p[0] < 0 && p[1] > 0 ? "diverge" : "mono";
5809
5821
  (r < 1 && r > 4 && E === "mono" || r < 1 && r > 2 && E === "diverge") && (r = 1);
@@ -5812,12 +5824,12 @@ class Vh extends hl {
5812
5824
  if (d)
5813
5825
  O = a;
5814
5826
  else
5815
- for (let k = 1; k < T + 1; k++)
5827
+ for (let R = 1; R < T + 1; R++)
5816
5828
  O.push(
5817
- i === nn.LINEAR ? `stop-color-${E}-${r}-${k}` : `fill-${E}-${r}-${k}`
5829
+ i === nn.LINEAR ? `stop-color-${E}-${r}-${R}` : `fill-${E}-${r}-${R}`
5818
5830
  );
5819
- const y = ta(p[0], p[1]), A = ni(y, 3), M = Ze().domain(p).range([0, u]), L = Vn(M).tickSize(0).tickValues(A), { code: I, number: N } = v(t, "locale");
5820
- L.tickFormat((k) => N(k, I));
5831
+ const y = ta(p[0], p[1]), A = si(y, 3), w = Ze().domain(p).range([0, u]), L = Vn(w).tickSize(0).tickValues(A), { code: I, number: N } = v(t, "locale");
5832
+ L.tickFormat((R) => N(R, I));
5821
5833
  let W;
5822
5834
  switch (i) {
5823
5835
  case nn.LINEAR:
@@ -5830,7 +5842,7 @@ class Vh extends hl {
5830
5842
  d,
5831
5843
  g,
5832
5844
  u
5833
- ), M.range([W, u]);
5845
+ ), w.range([W, u]);
5834
5846
  break;
5835
5847
  default:
5836
5848
  throw Error("Entered color legend type is not supported.");
@@ -5858,7 +5870,7 @@ class Vh extends hl {
5858
5870
  this.chartType === "heatmap" && this.services.events.removeEventListener(f.Axis.RENDER_COMPLETE, this.handleAxisCompleteEvent);
5859
5871
  }
5860
5872
  }
5861
- class Gh extends dl {
5873
+ class Fh extends ml {
5862
5874
  constructor() {
5863
5875
  super(...arguments), this.type = "meter-title", this.renderType = j.SVG;
5864
5876
  }
@@ -5988,7 +6000,7 @@ class Wn extends q {
5988
6000
  return !1;
5989
6001
  }
5990
6002
  }
5991
- class Bh extends q {
6003
+ class zh extends q {
5992
6004
  constructor() {
5993
6005
  super(...arguments), this.type = "circle-pack", this.renderType = j.SVG, this.handleLegendOnHover = (e) => {
5994
6006
  const { hoveredElement: t } = e.detail;
@@ -6019,7 +6031,7 @@ class Bh extends q {
6019
6031
  let a = this.model.getDisplayData();
6020
6032
  const i = this.model.hasParentNode(), r = this.model.getHierarchyLevel(), l = this.getOptions(), c = v(l, "canvasZoom", "enabled");
6021
6033
  i && v(a, 0, "children") && (a = v(a, 0, "children"));
6022
- const d = Hn({ children: a }).sum((m) => m.value).sort((m, E) => E.value - m.value), h = si().size([n, s]).padding((m) => m.depth >= 1 ? ft.padding.children + 3 : ft.padding.mainGroup + 3)(d).descendants().splice(1).filter((m) => m.depth <= r), u = t.selectAll("circle.node").data(h);
6034
+ const d = Hn({ children: a }).sum((m) => m.value).sort((m, E) => E.value - m.value), h = ai().size([n, s]).padding((m) => m.depth >= 1 ? ft.padding.children + 3 : ft.padding.mainGroup + 3)(d).descendants().splice(1).filter((m) => m.depth <= r), u = t.selectAll("circle.node").data(h);
6023
6035
  u.exit().attr("width", 0).attr("height", 0).remove();
6024
6036
  const g = u.enter().append("circle").classed("node", !0);
6025
6037
  g.merge(u).attr("class", (m) => {
@@ -6034,7 +6046,7 @@ class Bh extends q {
6034
6046
  transition: m,
6035
6047
  name: "circlepack-leaf-update-enter"
6036
6048
  })
6037
- ).attr("r", (m) => m.r).attr("opacity", 1).attr("fill-opacity", ft.circles.fillOpacity), c === !0 && this.focal && (this.services.canvasZoom.zoomIn(this.focal, g, Mt), this.setBackgroundListeners()), i || this.addLegendListeners(), this.addEventListeners();
6049
+ ).attr("r", (m) => m.r).attr("opacity", 1).attr("fill-opacity", ft.circles.fillOpacity), c === !0 && this.focal && (this.services.canvasZoom.zoomIn(this.focal, g, wt), this.setBackgroundListeners()), i || this.addLegendListeners(), this.addEventListeners();
6038
6050
  }
6039
6051
  // turn off the highlight class on children circles
6040
6052
  unhighlightChildren(e) {
@@ -6059,7 +6071,7 @@ class Bh extends q {
6059
6071
  setBackgroundListeners() {
6060
6072
  const e = x(this.services.domUtils.getMainContainer()), t = this, n = this.parent.selectAll("circle.node");
6061
6073
  e.on("click", () => {
6062
- t.focal = null, t.model.updateHierarchyLevel(2), e.classed("zoomed-in", !1), t.services.canvasZoom.zoomOut(n, Mt);
6074
+ t.focal = null, t.model.updateHierarchyLevel(2), e.classed("zoomed-in", !1), t.services.canvasZoom.zoomOut(n, wt);
6063
6075
  });
6064
6076
  }
6065
6077
  // Zoom icon to be appended to the label in the tooltip
@@ -6145,10 +6157,10 @@ class Bh extends q {
6145
6157
  const s = x(this), a = s.classed("non-focal"), i = v(e.model.getOptions(), "canvasZoom", "enabled");
6146
6158
  if (i && e.model.getHierarchyLevel() > 2) {
6147
6159
  const r = e.parent.selectAll("circle.node");
6148
- x(e.services.domUtils.getMainContainer()).classed("zoomed-in", !1), e.focal = null, e.model.updateHierarchyLevel(2), e.services.canvasZoom.zoomOut(r, Mt);
6160
+ x(e.services.domUtils.getMainContainer()).classed("zoomed-in", !1), e.focal = null, e.model.updateHierarchyLevel(2), e.services.canvasZoom.zoomOut(r, wt);
6149
6161
  } else if (n.depth === 2 && n.children && !a && i) {
6150
6162
  const r = e.parent.selectAll("circle.node");
6151
- x(e.services.domUtils.getMainContainer()).classed("zoomed-in", !0), e.focal = n, e.model.updateHierarchyLevel(3), e.services.canvasZoom.zoomIn(n, r, Mt), t.stopPropagation();
6163
+ x(e.services.domUtils.getMainContainer()).classed("zoomed-in", !0), e.focal = n, e.model.updateHierarchyLevel(3), e.services.canvasZoom.zoomIn(n, r, wt), t.stopPropagation();
6152
6164
  }
6153
6165
  e.services.events.dispatchEvent(f.CirclePack.CIRCLE_CLICK, {
6154
6166
  event: t,
@@ -6163,13 +6175,13 @@ class Bh extends q {
6163
6175
  e.removeEventListener(f.Legend.ITEM_HOVER, this.handleLegendOnHover), e.removeEventListener(f.Legend.ITEM_MOUSEOUT, this.handleLegendMouseOut), this.removeBackgroundListeners();
6164
6176
  }
6165
6177
  }
6166
- function Ll(o, e) {
6167
- const t = ii(this._current, o);
6178
+ function _l(o, e) {
6179
+ const t = ri(this._current, o);
6168
6180
  return (n) => (this._current = t(n), e(this._current));
6169
6181
  }
6170
- class Al extends q {
6182
+ class Il extends q {
6171
6183
  constructor() {
6172
- super(...arguments), this.type = "pie", this.renderType = j.SVG, this.handleLegendOnHover = (e) => {
6184
+ super(...arguments), this.type = "pie", this.renderType = j.SVG, this.isRendering = !1, this.handleLegendOnHover = (e) => {
6173
6185
  const { hoveredElement: t } = e.detail, { groupMapsTo: n } = this.getOptions().data;
6174
6186
  this.parent.selectAll("path.slice").transition("legend-hover-bar").call(
6175
6187
  (s) => this.services.transitions.setupTransition({
@@ -6197,57 +6209,61 @@ class Al extends q {
6197
6209
  return te.innerRadius;
6198
6210
  }
6199
6211
  render(e = !0) {
6200
- const t = this, n = this.getComponentContainer(), s = this.getOptions(), { groupMapsTo: a } = s.data, { valueMapsTo: i } = s.pie, r = this.model.getDisplayData().filter((w) => w[i] > 0), l = this.computeRadius();
6212
+ const t = this, n = this.getComponentContainer(), s = this.getOptions(), { groupMapsTo: a } = s.data, { valueMapsTo: i } = s.pie;
6213
+ this.isRendering = !0;
6214
+ const r = this.model.getDisplayData().filter((M) => M[i] > 0), l = this.computeRadius();
6201
6215
  this.arc = xt().innerRadius(this.getInnerRadius()).outerRadius(l), this.hoverArc = xt().innerRadius(this.getInnerRadius()).outerRadius(l + te.hoverArc.outerRadiusOffset);
6202
- const d = ai().value((w) => w[i]).sort(v(s, "pie", "sortFunction")).padAngle(te.padAngle)(r), h = S.appendOrSelect(n, "g.slices").attr("role", X.GROUP).attr("data-name", "slices").selectAll("path.slice").data(d, (w) => w.data[a]);
6216
+ const d = ii().value((M) => M[i]).sort(v(s, "pie", "sortFunction")).padAngle(te.padAngle)(r), h = S.appendOrSelect(n, "g.slices").attr("role", X.GROUP).attr("data-name", "slices").selectAll("path.slice").data(d, (M) => M.data[a]);
6203
6217
  h.exit().attr("opacity", 0).remove(), h.enter().append("path").classed("slice", !0).attr("opacity", 0).merge(h).attr(
6204
6218
  "class",
6205
- (w) => this.model.getColorClassName({
6219
+ (M) => this.model.getColorClassName({
6206
6220
  classNameTypes: [z.FILL],
6207
- dataGroupName: w.data[a],
6221
+ dataGroupName: M.data[a],
6208
6222
  originalClassName: "slice"
6209
6223
  })
6210
- ).style("fill", (w) => t.model.getFillColor(w.data[a], null, w.data)).attr("d", this.arc).transition().call(
6211
- (w) => this.services.transitions.setupTransition({
6212
- transition: w,
6224
+ ).style("fill", (M) => t.model.getFillColor(M.data[a], null, M.data)).attr("d", this.arc).transition().call(
6225
+ (M) => this.services.transitions.setupTransition({
6226
+ transition: M,
6213
6227
  name: "pie_slice_enter_update",
6214
6228
  animate: e
6215
6229
  })
6216
6230
  ).attr("opacity", 1).attr("role", X.GRAPHICS_SYMBOL).attr("aria-roledescription", "slice").attr(
6217
6231
  "aria-label",
6218
- (w) => `${w[i]}, ${Qt(w.data[i], r, i) + "%"}`
6219
- ).attrTween("d", function(w) {
6220
- return Ll.bind(this)(w, t.arc);
6232
+ (M) => `${M[i]}, ${en(M.data[i], r, i) + "%"}`
6233
+ ).attrTween("d", function(M) {
6234
+ return _l.bind(this)(M, t.arc);
6235
+ }).end().finally(() => {
6236
+ t.isRendering = !1;
6221
6237
  });
6222
- const { code: m, number: E } = v(s, "locale"), O = s.pie.labels.enabled, T = O ? d.filter((w) => w.data[i] > 0) : [], A = S.appendOrSelect(n, "g.labels").attr("role", X.GROUP).attr("data-name", "labels").selectAll("text.pie-label").data(T, (w) => w.data[a]);
6238
+ const { code: m, number: E } = v(s, "locale"), O = s.pie.labels.enabled, T = O ? d.filter((M) => M.data[i] > 0) : [], A = S.appendOrSelect(n, "g.labels").attr("role", X.GROUP).attr("data-name", "labels").selectAll("text.pie-label").data(T, (M) => M.data[a]);
6223
6239
  A.exit().attr("opacity", 0).remove();
6224
- const M = A.enter().append("text").classed("pie-label", !0), L = [];
6225
- M.merge(A).style("text-anchor", "middle").text((w) => s.pie.labels.formatter ? s.pie.labels.formatter({
6226
- ...w,
6227
- percentageValue: Qt(
6228
- w.data[i],
6240
+ const w = A.enter().append("text").classed("pie-label", !0), L = [];
6241
+ w.merge(A).style("text-anchor", "middle").text((M) => s.pie.labels.formatter ? s.pie.labels.formatter({
6242
+ ...M,
6243
+ percentageValue: en(
6244
+ M.data[i],
6229
6245
  r,
6230
6246
  i,
6231
6247
  !0
6232
6248
  )
6233
6249
  }) : E(
6234
- Qt(w.data[i], r, i),
6250
+ en(M.data[i], r, i),
6235
6251
  m
6236
- ) + "%").datum(function(w) {
6237
- const Q = l + 7, me = (w.endAngle - w.startAngle) / 2 + w.startAngle, K = me / Math.PI * 180, H = this.getComputedTextLength();
6238
- return w.textOffsetX = H / 2, w.textOffsetY = K > 90 && K < 270 ? 10 : 0, w.xPosition = (w.textOffsetX + Q) * Math.sin(me), w.yPosition = (w.textOffsetY + Q) * -Math.cos(me), w;
6239
- }).attr("transform", function(w, Q) {
6240
- const me = T.length, K = (w.endAngle - w.startAngle) * (180 / Math.PI);
6252
+ ) + "%").datum(function(M) {
6253
+ const Q = l + 7, me = (M.endAngle - M.startAngle) / 2 + M.startAngle, K = me / Math.PI * 180, H = this.getComputedTextLength();
6254
+ return M.textOffsetX = H / 2, M.textOffsetY = K > 90 && K < 270 ? 10 : 0, M.xPosition = (M.textOffsetX + Q) * Math.sin(me), M.yPosition = (M.textOffsetY + Q) * -Math.cos(me), M;
6255
+ }).attr("transform", function(M, Q) {
6256
+ const me = T.length, K = (M.endAngle - M.startAngle) * (180 / Math.PI);
6241
6257
  if (Q >= me - 2 && K < te.callout.minSliceDegree) {
6242
6258
  let H, Z;
6243
- return w.index === me - 1 ? (H = w.xPosition + te.callout.offsetX + te.callout.textMargin + w.textOffsetX, Z = w.yPosition - te.callout.offsetY, w.direction = an.RIGHT, L.push(w)) : (H = w.xPosition - te.callout.offsetX - w.textOffsetX - te.callout.textMargin, Z = w.yPosition - te.callout.offsetY, w.direction = an.LEFT, L.push(w)), `translate(${H}, ${Z})`;
6259
+ return M.index === me - 1 ? (H = M.xPosition + te.callout.offsetX + te.callout.textMargin + M.textOffsetX, Z = M.yPosition - te.callout.offsetY, M.direction = an.RIGHT, L.push(M)) : (H = M.xPosition - te.callout.offsetX - M.textOffsetX - te.callout.textMargin, Z = M.yPosition - te.callout.offsetY, M.direction = an.LEFT, L.push(M)), `translate(${H}, ${Z})`;
6244
6260
  }
6245
- return `translate(${w.xPosition}, ${w.yPosition})`;
6261
+ return `translate(${M.xPosition}, ${M.yPosition})`;
6246
6262
  }), this.renderCallouts(L);
6247
6263
  const I = v(s, "donut") ? "donut" : "pie", N = v(s, I, "alignment"), { width: W } = S.getSVGElementSize(this.getParent(), {
6248
6264
  useAttrs: !0
6249
- }), k = O ? te.xOffset : 0, C = O ? te.yOffset : 0;
6250
- let V = l + k;
6265
+ }), R = O ? te.xOffset : 0, C = O ? te.yOffset : 0;
6266
+ let V = l + R;
6251
6267
  N === Ce.CENTER ? V = W / 2 : N === Ce.RIGHT && (V = W - l - te.xOffset);
6252
6268
  let F = l + C;
6253
6269
  L.length > 0 && (F += te.yOffsetCallout), n.attr("x", V + 7).attr("y", F), this.addEventListeners();
@@ -6281,7 +6297,7 @@ class Al extends q {
6281
6297
  const e = this;
6282
6298
  this.parent.selectAll("path.slice").on("mouseover", function(t, n) {
6283
6299
  const s = x(this);
6284
- s.classed("hovered", !0).transition("pie_slice_mouseover").call(
6300
+ e.isRendering || s.classed("hovered", !0).transition("pie_slice_mouseover").call(
6285
6301
  (r) => e.services.transitions.setupTransition({
6286
6302
  transition: r,
6287
6303
  name: "pie_slice_mouseover"
@@ -6319,12 +6335,14 @@ class Al extends q {
6319
6335
  });
6320
6336
  }).on("mouseout", function(t, n) {
6321
6337
  const s = x(this);
6322
- s.classed("hovered", !1).transition("pie_slice_mouseout").call(
6323
- (a) => e.services.transitions.setupTransition({
6324
- transition: a,
6325
- name: "pie_slice_mouseout"
6326
- })
6327
- ).attr("d", e.arc), e.services.events.dispatchEvent(f.Pie.SLICE_MOUSEOUT, {
6338
+ wr(() => {
6339
+ e.isRendering || s.classed("hovered", !1).transition("pie_slice_mouseout").call(
6340
+ (a) => e.services.transitions.setupTransition({
6341
+ transition: a,
6342
+ name: "pie_slice_mouseout"
6343
+ })
6344
+ ).attr("d", e.arc);
6345
+ }, 100), e.services.events.dispatchEvent(f.Pie.SLICE_MOUSEOUT, {
6328
6346
  event: t,
6329
6347
  element: s,
6330
6348
  datum: n
@@ -6341,7 +6359,7 @@ class Al extends q {
6341
6359
  return n.pie.labels.enabled ? s + te.radiusOffset : s;
6342
6360
  }
6343
6361
  }
6344
- class Hh extends Al {
6362
+ class Wh extends Il {
6345
6363
  constructor() {
6346
6364
  super(...arguments), this.type = "donut", this.renderType = j.SVG;
6347
6365
  }
@@ -6372,7 +6390,7 @@ class Hh extends Al {
6372
6390
  n === null && (n = this.model.getDisplayData().reduce((r, l) => r + l[t.pie.valueMapsTo], 0));
6373
6391
  const s = parseInt(e.text().replace(/[, ]+/g, ""), 10) || 0;
6374
6392
  let a;
6375
- s % 1 === 0 && n % 1 === 0 ? a = ri : a = ta;
6393
+ s % 1 === 0 && n % 1 === 0 ? a = oi : a = ta;
6376
6394
  const i = a(s, n);
6377
6395
  return (r) => {
6378
6396
  const { numberFormatter: l } = t.donut.center;
@@ -6386,7 +6404,7 @@ class Hh extends Al {
6386
6404
  }
6387
6405
  }
6388
6406
  const Ws = "4,10 8,6 12,10", js = "12,6 8,10 4,6";
6389
- class $h extends q {
6407
+ class jh extends q {
6390
6408
  constructor() {
6391
6409
  super(...arguments), this.type = "gauge", this.renderType = j.SVG;
6392
6410
  }
@@ -6457,13 +6475,13 @@ class $h extends q {
6457
6475
  `translate(0, ${p})`
6458
6476
  ), u = r(i), g = S.appendOrSelect(h, "g.gauge-value-number"), { code: m, number: E } = v(t, "locale"), O = v(t, "gauge", "numberFormatter"), T = g.selectAll("text.gauge-value-number").data([s]);
6459
6477
  T.enter().append("text").attr("class", "gauge-value-number").merge(T).style("font-size", `${u}px`).attr("text-anchor", "middle").text((W) => {
6460
- let k;
6461
- return W != null ? k = Number(W.toFixed(2)) % 1 !== 0 ? W.toFixed(2) : W.toFixed() : k = 0, O ? O(k) : E(Number(k), m);
6478
+ let R;
6479
+ return W != null ? R = Number(W.toFixed(2)) % 1 !== 0 ? W.toFixed(2) : W.toFixed() : R = 0, O ? O(R) : E(Number(R), m);
6462
6480
  });
6463
6481
  const { width: y } = S.getSVGElementSize(
6464
6482
  S.appendOrSelect(e, "text.gauge-value-number"),
6465
6483
  { useBBox: !0 }
6466
- ), A = u / 2, M = d ? "%" : "", L = S.appendOrSelect(g, "text.gauge-value-symbol").style("font-size", `${A}px`).attr("x", y / 2).text(M), { width: I, height: N } = S.getSVGElementSize(L, {
6484
+ ), A = u / 2, w = d ? "%" : "", L = S.appendOrSelect(g, "text.gauge-value-symbol").style("font-size", `${A}px`).attr("x", y / 2).text(w), { width: I, height: N } = S.getSVGElementSize(L, {
6467
6485
  useBBox: !0
6468
6486
  });
6469
6487
  L.attr("y", `-${N / 2}px`), g.attr("transform", `translate(-${I / 2}, 0)`);
@@ -6479,8 +6497,8 @@ class $h extends q {
6479
6497
  `translate(0, ${l(r) + p})`
6480
6498
  ), m = S.appendOrSelect(g, "text.gauge-delta-number"), E = h ? "%" : "";
6481
6499
  m.data(s === null ? [] : [s]), m.enter().append("text").classed("gauge-delta-number", !0).merge(m).attr("text-anchor", "middle").style("font-size", `${l(r)}px`).text((A) => {
6482
- let M;
6483
- return A != null ? M = Number(A.toFixed(2)) % 1 !== 0 ? A.toFixed(2) : A.toFixed() : M = 0, c ? `${c(M)}${E}` : `${i(Number(M), a)}${E}`;
6500
+ let w;
6501
+ return A != null ? w = Number(A.toFixed(2)) % 1 !== 0 ? A.toFixed(2) : A.toFixed() : w = 0, c ? `${c(w)}${E}` : `${i(Number(w), a)}${E}`;
6484
6502
  });
6485
6503
  const { width: O } = S.getSVGElementSize(
6486
6504
  S.appendOrSelect(t, ".gauge-delta-number"),
@@ -6489,8 +6507,8 @@ class $h extends q {
6489
6507
  y.enter().append("svg").merge(y).attr("class", "gauge-delta-arrow").attr("x", -d(r) - O / 2).attr("y", -d(r) / 2 - l(r) * 0.35).attr("width", d(r)).attr("height", d(r)).attr("viewBox", "0 0 16 16").each(function() {
6490
6508
  const A = x(this);
6491
6509
  S.appendOrSelect(A, "rect.gauge-delta-arrow-backdrop").attr("width", "16").attr("height", "16").attr("fill", "none");
6492
- const M = v(n, "gauge", "status");
6493
- S.appendOrSelect(A, "polygon.gauge-delta-arrow").attr("class", M !== null ? `gauge-delta-arrow status--${M}` : "").attr("points", e.getArrow(s));
6510
+ const w = v(n, "gauge", "status");
6511
+ S.appendOrSelect(A, "polygon.gauge-delta-arrow").attr("class", w !== null ? `gauge-delta-arrow status--${w}` : "").attr("points", e.getArrow(s));
6494
6512
  }), y.exit().remove(), m.exit().remove();
6495
6513
  } else {
6496
6514
  const r = t.select("g.gauge-delta");
@@ -6539,7 +6557,7 @@ class $h extends q {
6539
6557
  return t === Ct.SEMI ? Math.min(n / 2, s) : Math.min(n / 2, s / 2);
6540
6558
  }
6541
6559
  }
6542
- class Uh extends Wn {
6560
+ class Xh extends Wn {
6543
6561
  constructor() {
6544
6562
  super(...arguments), this.type = "grouped-bar", this.renderType = j.SVG, this.padding = 5, this.defaultStepFactor = 70, this.handleLegendOnHover = (e) => {
6545
6563
  const { hoveredElement: t } = e.detail, { groupMapsTo: n } = this.getOptions().data;
@@ -6565,7 +6583,7 @@ class Uh extends Wn {
6565
6583
  render(e) {
6566
6584
  const t = this.model.getDisplayData(this.configs.groups), n = this.getOptions(), { groupMapsTo: s } = n.data;
6567
6585
  this.setGroupScale();
6568
- const a = this.getComponentContainer({ withinChartClip: !0 }), i = Ka(
6586
+ const a = this.getComponentContainer({ withinChartClip: !0 }), i = Ja(
6569
6587
  t.map((h) => {
6570
6588
  const u = this.services.cartesianScales.getDomainIdentifier(h);
6571
6589
  return h[u] && typeof h[u].toString == "function" ? h[u].toString() : h[u];
@@ -6604,8 +6622,8 @@ class Uh extends Wn {
6604
6622
  const u = this.services.cartesianScales.getDomainIdentifier(h);
6605
6623
  return this.model.getFillColor(h[s], h[u], h);
6606
6624
  }).attr("d", (h) => {
6607
- const u = this.groupScale(h[s]), g = this.getBarWidth(), m = u, E = u + g, O = this.services.cartesianScales.getRangeAxisPosition({ datum: h }), T = this.services.cartesianScales.getValueThroughAxisPosition(O, 0), y = this.services.cartesianScales.getRangeValue(h), A = this.services.cartesianScales.getDomainValue(h) - g / 2, M = A + g;
6608
- if (!this.isOutsideZoomedDomain(A, M))
6625
+ const u = this.groupScale(h[s]), g = this.getBarWidth(), m = u, E = u + g, O = this.services.cartesianScales.getRangeAxisPosition({ datum: h }), T = this.services.cartesianScales.getValueThroughAxisPosition(O, 0), y = this.services.cartesianScales.getRangeValue(h), A = this.services.cartesianScales.getDomainValue(h) - g / 2, w = A + g;
6626
+ if (!this.isOutsideZoomedDomain(A, w))
6609
6627
  return ye(
6610
6628
  { x0: m, x1: E, y0: T, y1: y },
6611
6629
  this.services.cartesianScales.getOrientation()
@@ -6705,7 +6723,7 @@ class Uh extends Wn {
6705
6723
  this.groupScale = Bn().domain(e).rangeRound([0, this.getGroupWidth()]);
6706
6724
  }
6707
6725
  }
6708
- class Fh extends q {
6726
+ class Zh extends q {
6709
6727
  constructor() {
6710
6728
  super(...arguments), this.type = "heatmap", this.renderType = j.SVG, this.matrix = {}, this.xBandwidth = 0, this.yBandwidth = 0, this.translationUnits = {
6711
6729
  x: 0,
@@ -6880,7 +6898,7 @@ class Fh extends q {
6880
6898
  e.removeEventListener(f.Legend.ITEM_HOVER, this.handleAxisOnHover), e.removeEventListener(f.Legend.ITEM_MOUSEOUT, this.handleAxisMouseOut);
6881
6899
  }
6882
6900
  }
6883
- class zh extends q {
6901
+ class Yh extends q {
6884
6902
  constructor() {
6885
6903
  super(...arguments), this.type = "histogram", this.renderType = j.SVG, this.handleLegendOnHover = (e) => {
6886
6904
  const { hoveredElement: t } = e.detail, n = this.getOptions(), { groupMapsTo: s } = n.data;
@@ -6974,7 +6992,7 @@ class zh extends q {
6974
6992
  e.removeEventListener(f.Legend.ITEM_HOVER, this.handleLegendOnHover), e.removeEventListener(f.Legend.ITEM_MOUSEOUT, this.handleLegendMouseOut);
6975
6993
  }
6976
6994
  }
6977
- class Wh extends Fn {
6995
+ class qh extends Fn {
6978
6996
  constructor() {
6979
6997
  super(...arguments), this.type = "lollipop", this.renderType = j.SVG, this.handleScatterOnHover = (e) => {
6980
6998
  const t = e.detail, n = this.getOptions(), { groupMapsTo: s } = n.data;
@@ -7046,7 +7064,7 @@ class Wh extends Fn {
7046
7064
  );
7047
7065
  }
7048
7066
  }
7049
- class jh extends q {
7067
+ class Kh extends q {
7050
7068
  constructor() {
7051
7069
  super(...arguments), this.type = "meter", this.renderType = j.SVG;
7052
7070
  }
@@ -7157,13 +7175,13 @@ class jh extends q {
7157
7175
  this.parent.selectAll("rect.value").on("mouseover", null).on("mousemove", null).on("mouseout", null).on("click", null);
7158
7176
  }
7159
7177
  }
7160
- class Xh extends q {
7178
+ class Jh extends q {
7161
7179
  constructor() {
7162
7180
  super(...arguments), this.type = "radar", this.renderType = j.SVG, this.getLabelDimensions = (e) => {
7163
7181
  const t = S.appendOrSelect(this.getComponentContainer(), "g.tmp-tick"), n = S.appendOrSelect(t, "text").text(e), { width: s, height: a } = S.getSVGElementSize(n.node(), { useBBox: !0 });
7164
7182
  return t.remove(), { width: s, height: a };
7165
7183
  }, this.normalizeFlatData = (e) => {
7166
- const t = this.getOptions(), { angle: n, value: s } = v(t, "radar", "axes"), a = v(t, "data", "groupMapsTo"), i = Ar(
7184
+ const t = this.getOptions(), { angle: n, value: s } = v(t, "radar", "axes"), a = v(t, "data", "groupMapsTo"), i = Ir(
7167
7185
  this.uniqueKeys.map((r) => this.uniqueGroups.map((l) => ({
7168
7186
  [n]: r,
7169
7187
  [a]: l,
@@ -7207,24 +7225,24 @@ class Xh extends q {
7207
7225
  useAttrs: !0
7208
7226
  }), a = this.model.getData(), i = this.model.getGroupedData(), r = this.getOptions(), l = v(r, "data", "groupMapsTo"), c = v(r, "radar", "axes", "value"), { angle: d, value: p } = v(r, "radar", "axes"), { xLabelPadding: h, yLabelPadding: u, yTicksNumber: g, minRange: m, xAxisRectHeight: E } = ze;
7209
7227
  this.uniqueKeys = Array.from(new Set(a.map((_) => _[d]))), this.uniqueGroups = Array.from(new Set(a.map((_) => _[l]))), this.fullDataNormalized = this.normalizeFlatData(a), this.groupedDataNormalized = this.normalizeGroupedData(i);
7210
- const T = 2 * (this.getLabelDimensions(this.uniqueKeys[0]).height + u), M = (Math.min(n, s) - T) / 2;
7211
- if (M <= 0)
7228
+ const T = 2 * (this.getLabelDimensions(this.uniqueKeys[0]).height + u), w = (Math.min(n, s) - T) / 2;
7229
+ if (w <= 0)
7212
7230
  return;
7213
7231
  const L = Bn().domain(this.fullDataNormalized.map((_) => _[d])).range([0, 2 * Math.PI].map((_) => _ - Math.PI / 2)), I = fn(this.fullDataNormalized.map((_) => _[p])), N = Ze().domain([
7214
7232
  I >= 0 ? 0 : I,
7215
7233
  gs(this.fullDataNormalized.map((_) => _[p]))
7216
- ]).range([m, M]).nice(g), W = N.ticks(g), k = (_, D, P) => this.model.getFillColor(_, D, P), C = oi().angle((_) => L(_[d]) + Math.PI / 2).radius((_) => N(_[p])).curve(li), V = this.uniqueKeys.map((_) => {
7217
- const D = this.getLabelDimensions(_).width, P = Si(
7234
+ ]).range([m, w]).nice(g), W = N.ticks(g), R = (_, D, P) => this.model.getFillColor(_, D, P), C = li().angle((_) => L(_[d]) + Math.PI / 2).radius((_) => N(_[p])).curve(ci), V = this.uniqueKeys.map((_) => {
7235
+ const D = this.getLabelDimensions(_).width, P = Oi(
7218
7236
  L(_),
7219
- M
7237
+ w
7220
7238
  );
7221
7239
  return D + P;
7222
- }), w = {
7240
+ }), M = {
7223
7241
  x: gs(V) + h,
7224
7242
  y: s / 2
7225
7243
  }, me = S.appendOrSelect(t, "g.y-axes").attr("role", X.GROUP).selectAll("path").data(W, (_) => _), K = (_) => this.uniqueKeys.map((D) => ({ [d]: D, [p]: _ }));
7226
7244
  me.join(
7227
- (_) => _.append("path").attr("opacity", 0).attr("transform", `translate(${w.x}, ${w.y})`).attr("fill", "none").call(
7245
+ (_) => _.append("path").attr("opacity", 0).attr("transform", `translate(${M.x}, ${M.y})`).attr("fill", "none").call(
7228
7246
  (D) => D.transition().call(
7229
7247
  (P) => this.services.transitions.setupTransition({
7230
7248
  transition: P,
@@ -7240,7 +7258,7 @@ class Xh extends q {
7240
7258
  name: "radar_y_axes_update",
7241
7259
  animate: e
7242
7260
  })
7243
- ).attr("opacity", 1).attr("transform", `translate(${w.x}, ${w.y})`).attr("d", (P) => C(K(P)))
7261
+ ).attr("opacity", 1).attr("transform", `translate(${M.x}, ${M.y})`).attr("d", (P) => C(K(P)))
7244
7262
  ),
7245
7263
  (_) => _.call(
7246
7264
  (D) => D.transition().call(
@@ -7252,14 +7270,14 @@ class Xh extends q {
7252
7270
  ).attr("d", (P) => C(K(P))).attr("opacity", 0).remove()
7253
7271
  )
7254
7272
  ), S.appendOrSelect(t, "g.x-axes").attr("role", X.GROUP).selectAll("line").data(this.uniqueKeys, (_) => _).join(
7255
- (_) => _.append("line").attr("opacity", 0).attr("class", (D) => `x-axis-${st(D)}`).attr("stroke-dasharray", "0").attr("x1", (D) => oe(L(D), 0, w).x).attr("y1", (D) => oe(L(D), 0, w).y).attr("x2", (D) => oe(L(D), 0, w).x).attr("y2", (D) => oe(L(D), 0, w).y).call(
7273
+ (_) => _.append("line").attr("opacity", 0).attr("class", (D) => `x-axis-${st(D)}`).attr("stroke-dasharray", "0").attr("x1", (D) => oe(L(D), 0, M).x).attr("y1", (D) => oe(L(D), 0, M).y).attr("x2", (D) => oe(L(D), 0, M).x).attr("y2", (D) => oe(L(D), 0, M).y).call(
7256
7274
  (D) => D.transition().call(
7257
7275
  (P) => this.services.transitions.setupTransition({
7258
7276
  transition: P,
7259
7277
  name: "radar_x_axes_enter",
7260
7278
  animate: e
7261
7279
  })
7262
- ).attr("opacity", 1).attr("x1", (P) => oe(L(P), N.range()[0], w).x).attr("y1", (P) => oe(L(P), N.range()[0], w).y).attr("x2", (P) => oe(L(P), N.range()[1], w).x).attr("y2", (P) => oe(L(P), N.range()[1], w).y)
7280
+ ).attr("opacity", 1).attr("x1", (P) => oe(L(P), N.range()[0], M).x).attr("y1", (P) => oe(L(P), N.range()[0], M).y).attr("x2", (P) => oe(L(P), N.range()[1], M).x).attr("y2", (P) => oe(L(P), N.range()[1], M).y)
7263
7281
  ),
7264
7282
  (_) => _.call(
7265
7283
  (D) => D.transition().call(
@@ -7268,7 +7286,7 @@ class Xh extends q {
7268
7286
  name: "radar_x_axes_update",
7269
7287
  animate: e
7270
7288
  })
7271
- ).attr("opacity", 1).attr("x1", (P) => oe(L(P), N.range()[0], w).x).attr("y1", (P) => oe(L(P), N.range()[0], w).y).attr("x2", (P) => oe(L(P), N.range()[1], w).x).attr("y2", (P) => oe(L(P), N.range()[1], w).y)
7289
+ ).attr("opacity", 1).attr("x1", (P) => oe(L(P), N.range()[0], M).x).attr("y1", (P) => oe(L(P), N.range()[0], M).y).attr("x2", (P) => oe(L(P), N.range()[1], M).x).attr("y2", (P) => oe(L(P), N.range()[1], M).y)
7272
7290
  ),
7273
7291
  (_) => _.call(
7274
7292
  (D) => D.transition().call(
@@ -7282,10 +7300,10 @@ class Xh extends q {
7282
7300
  ), S.appendOrSelect(t, "g.x-labels").attr("role", X.GROUP).selectAll("text").data(this.uniqueKeys).join(
7283
7301
  (_) => _.append("text").text((D) => D).attr("opacity", 0).attr(
7284
7302
  "x",
7285
- (D) => oe(L(D), N.range()[1] + h, w).x
7303
+ (D) => oe(L(D), N.range()[1] + h, M).x
7286
7304
  ).attr(
7287
7305
  "y",
7288
- (D) => oe(L(D), N.range()[1] + h, w).y
7306
+ (D) => oe(L(D), N.range()[1] + h, M).y
7289
7307
  ).style("text-anchor", (D) => fs(L(D)).textAnchor).style(
7290
7308
  "dominant-baseline",
7291
7309
  (D) => fs(L(D)).dominantBaseline
@@ -7307,10 +7325,10 @@ class Xh extends q {
7307
7325
  })
7308
7326
  ).attr("opacity", 1).attr(
7309
7327
  "x",
7310
- (P) => oe(L(P), N.range()[1] + h, w).x
7328
+ (P) => oe(L(P), N.range()[1] + h, M).x
7311
7329
  ).attr(
7312
7330
  "y",
7313
- (P) => oe(L(P), N.range()[1] + h, w).y
7331
+ (P) => oe(L(P), N.range()[1] + h, M).y
7314
7332
  ).end().finally(() => {
7315
7333
  const P = v(r, "radar", "alignment"), Le = this.getAlignmentXOffset(P, t, this.getParent());
7316
7334
  t.attr("x", Le);
@@ -7335,8 +7353,8 @@ class Xh extends q {
7335
7353
  })
7336
7354
  ).attr("role", X.GRAPHICS_SYMBOL).attr("aria-label", (D) => D.name).attr("opacity", 0).attr(
7337
7355
  "transform",
7338
- e ? () => `translate(${w.x}, ${w.y}) scale(${1 + Math.random() * 0.35})` : `translate(${w.x}, ${w.y})`
7339
- ).style("fill", (D) => k(D.name, null, D.data)).style("fill-opacity", ze.opacity.selected).style("stroke", (D) => k(D.name, null, D.data)).call((D) => {
7356
+ e ? () => `translate(${M.x}, ${M.y}) scale(${1 + Math.random() * 0.35})` : `translate(${M.x}, ${M.y})`
7357
+ ).style("fill", (D) => R(D.name, null, D.data)).style("fill-opacity", ze.opacity.selected).style("stroke", (D) => R(D.name, null, D.data)).call((D) => {
7340
7358
  const P = D.transition().call(
7341
7359
  (Le) => this.services.transitions.setupTransition({
7342
7360
  transition: Le,
@@ -7344,7 +7362,7 @@ class Xh extends q {
7344
7362
  animate: e
7345
7363
  })
7346
7364
  );
7347
- e && P.delay(() => Math.random() * 30).attr("transform", `translate(${w.x}, ${w.y})`), P.attr("opacity", 1).attr("d", (Le) => C(Le.data));
7365
+ e && P.delay(() => Math.random() * 30).attr("transform", `translate(${M.x}, ${M.y})`), P.attr("opacity", 1).attr("d", (Le) => C(Le.data));
7348
7366
  }),
7349
7367
  (_) => (_.attr(
7350
7368
  "class",
@@ -7353,14 +7371,14 @@ class Xh extends q {
7353
7371
  dataGroupName: D.name,
7354
7372
  originalClassName: "blob"
7355
7373
  })
7356
- ).style("fill", (D) => k(D.name, null, D.data)).style("stroke", (D) => k(D.name, null, D.data)), _.call(
7374
+ ).style("fill", (D) => R(D.name, null, D.data)).style("stroke", (D) => R(D.name, null, D.data)), _.call(
7357
7375
  (D) => D.transition().call(
7358
7376
  (P) => this.services.transitions.setupTransition({
7359
7377
  transition: P,
7360
7378
  name: "radar_blobs_update",
7361
7379
  animate: e
7362
7380
  })
7363
- ).attr("opacity", 1).attr("transform", `translate(${w.x}, ${w.y})`).attr("d", (P) => C(P.data))
7381
+ ).attr("opacity", 1).attr("transform", `translate(${M.x}, ${M.y})`).attr("d", (P) => C(P.data))
7364
7382
  ), _),
7365
7383
  (_) => _.call((D) => {
7366
7384
  const P = D.transition().call(
@@ -7372,7 +7390,7 @@ class Xh extends q {
7372
7390
  );
7373
7391
  e && P.delay(() => Math.random() * 30).attr(
7374
7392
  "transform",
7375
- () => `translate(${w.x}, ${w.y}) scale(${1 + Math.random() * 0.35})`
7393
+ () => `translate(${M.x}, ${M.y}) scale(${1 + Math.random() * 0.35})`
7376
7394
  ), P.attr("opacity", 0).remove();
7377
7395
  })
7378
7396
  ), S.appendOrSelect(t, "g.dots").attr("role", X.GROUP).selectAll("circle").data(this.fullDataNormalized.filter((_) => v(_, p) !== null)).join(
@@ -7386,17 +7404,17 @@ class Xh extends q {
7386
7404
  dataGroupName: _[l],
7387
7405
  originalClassName: st(_[d])
7388
7406
  })
7389
- ).attr("cx", (_) => oe(L(_[d]), N(_[p]), w).x).attr("cy", (_) => oe(L(_[d]), N(_[p]), w).y).attr("r", 0).attr("opacity", 0).style("fill", (_) => k(_[l])), S.appendOrSelect(t, "g.x-axes-rect").attr("role", X.GROUP).selectAll("rect").data(this.uniqueKeys).join(
7407
+ ).attr("cx", (_) => oe(L(_[d]), N(_[p]), M).x).attr("cy", (_) => oe(L(_[d]), N(_[p]), M).y).attr("r", 0).attr("opacity", 0).style("fill", (_) => R(_[l])), S.appendOrSelect(t, "g.x-axes-rect").attr("role", X.GROUP).selectAll("rect").data(this.uniqueKeys).join(
7390
7408
  (_) => _.append("rect"),
7391
7409
  (_) => _,
7392
7410
  (_) => _.remove()
7393
- ).attr("x", w.x).attr("y", w.y - E / 2).attr("width", N.range()[1]).attr("height", E).style("fill", "red").style("fill-opacity", 0).attr("transform", (_) => `rotate(${Oi(L(_))}, ${w.x}, ${w.y})`);
7411
+ ).attr("x", M.x).attr("y", M.y - E / 2).attr("width", N.range()[1]).attr("height", E).style("fill", "red").style("fill-opacity", 0).attr("transform", (_) => `rotate(${xi(L(_))}, ${M.x}, ${M.y})`);
7394
7412
  const { code: ae, number: re } = v(r, "locale");
7395
- S.appendOrSelect(t, "g.y-labels").attr("role", X.GROUP).selectAll("text").data(Wt(W)).join(
7413
+ S.appendOrSelect(t, "g.y-labels").attr("role", X.GROUP).selectAll("text").data(jt(W)).join(
7396
7414
  (_) => _.append("text").attr("opacity", 0).text((D) => re(D, ae)).attr(
7397
7415
  "x",
7398
- (D) => oe(-Math.PI / 2, N(D), w).x + u
7399
- ).attr("y", (D) => oe(-Math.PI / 2, N(D), w).y).style("text-anchor", "start").style("dominant-baseline", "middle").call(
7416
+ (D) => oe(-Math.PI / 2, N(D), M).x + u
7417
+ ).attr("y", (D) => oe(-Math.PI / 2, N(D), M).y).style("text-anchor", "start").style("dominant-baseline", "middle").call(
7400
7418
  (D) => D.transition().call(
7401
7419
  (P) => this.services.transitions.setupTransition({
7402
7420
  transition: P,
@@ -7414,8 +7432,8 @@ class Xh extends q {
7414
7432
  })
7415
7433
  ).text((P) => P).attr("opacity", 1).attr(
7416
7434
  "x",
7417
- (P) => oe(-Math.PI / 2, N(P), w).x + u
7418
- ).attr("y", (P) => oe(-Math.PI / 2, N(P), w).y)
7435
+ (P) => oe(-Math.PI / 2, N(P), M).x + u
7436
+ ).attr("y", (P) => oe(-Math.PI / 2, N(P), M).y)
7419
7437
  ),
7420
7438
  (_) => _.call(
7421
7439
  (D) => D.transition().call(
@@ -7499,7 +7517,7 @@ class Xh extends q {
7499
7517
  });
7500
7518
  }
7501
7519
  }
7502
- class Zh extends Wn {
7520
+ class Qh extends Wn {
7503
7521
  constructor() {
7504
7522
  super(...arguments), this.type = "simple-bar", this.renderType = j.SVG, this.handleLegendOnHover = (e) => {
7505
7523
  const { hoveredElement: t } = e.detail, { groupMapsTo: n } = this.getOptions().data;
@@ -7598,7 +7616,7 @@ class Zh extends Wn {
7598
7616
  e.removeEventListener(f.Legend.ITEM_HOVER, this.handleLegendOnHover), e.removeEventListener(f.Legend.ITEM_MOUSEOUT, this.handleLegendMouseOut);
7599
7617
  }
7600
7618
  }
7601
- class Yh extends fl {
7619
+ class eu extends Sl {
7602
7620
  constructor() {
7603
7621
  super(...arguments), this.type = "skeleton-lines";
7604
7622
  }
@@ -7624,7 +7642,7 @@ class Yh extends fl {
7624
7642
  this.backdrop = S.appendOrSelect(e, "svg.chart-skeleton.DAII"), S.appendOrSelect(this.backdrop, "rect.chart-skeleton-backdrop").classed("shimmer-effect-lines", !1).classed("shimmer-effect-sparkline", !0).style("stroke", null);
7625
7643
  }
7626
7644
  }
7627
- class qh extends q {
7645
+ class tu extends q {
7628
7646
  constructor() {
7629
7647
  super(...arguments), this.type = "area-stacked", this.renderType = j.SVG, this.handleLegendOnHover = (e) => {
7630
7648
  const { hoveredElement: t } = e.detail, n = this.getOptions(), { groupMapsTo: s } = n.data;
@@ -7673,7 +7691,7 @@ class qh extends q {
7673
7691
  ).attr("opacity", Be.opacity.selected).attr("d", this.areaGenerator);
7674
7692
  }
7675
7693
  }
7676
- class Kh extends Wn {
7694
+ class nu extends Wn {
7677
7695
  constructor() {
7678
7696
  super(...arguments), this.type = "stacked-bar", this.renderType = j.SVG, this.handleLegendOnHover = (e) => {
7679
7697
  const { hoveredElement: t } = e.detail, { groupMapsTo: n } = this.model.getOptions().data;
@@ -7804,7 +7822,7 @@ class Kh extends Wn {
7804
7822
  e.removeEventListener(f.Legend.ITEM_HOVER, this.handleLegendOnHover), e.removeEventListener(f.Legend.ITEM_MOUSEOUT, this.handleLegendMouseOut);
7805
7823
  }
7806
7824
  }
7807
- class Jh extends Fn {
7825
+ class su extends Fn {
7808
7826
  constructor() {
7809
7827
  super(...arguments), this.type = "scatter-stacked", this.renderType = j.SVG;
7810
7828
  }
@@ -7853,7 +7871,7 @@ class Jh extends Fn {
7853
7871
  }
7854
7872
  }
7855
7873
  const it = 6;
7856
- class Qh extends q {
7874
+ class au extends q {
7857
7875
  constructor() {
7858
7876
  super(...arguments), this.type = "tree", this.renderType = j.SVG;
7859
7877
  }
@@ -7891,33 +7909,33 @@ class Qh extends q {
7891
7909
  children: i
7892
7910
  }), u = 10, g = n / 6, m = (L) => {
7893
7911
  const I = h.descendants().reverse(), N = h.links();
7894
- let W = h, k = h;
7912
+ let W = h, R = h;
7895
7913
  h.eachBefore((H) => {
7896
- H.x < W.x && (W = H), H.x > k.x && (k = H);
7914
+ H.x < W.x && (W = H), H.x > R.x && (R = H);
7897
7915
  });
7898
- const C = k.x - W.x, V = t.transition().call(
7916
+ const C = R.x - W.x, V = t.transition().call(
7899
7917
  (H) => this.services.transitions.setupTransition({
7900
7918
  transition: H,
7901
7919
  name: "tree-update-viewbox",
7902
7920
  animate: !0
7903
7921
  })
7904
- ).attr("viewBox", [-p.left, W.x, n, C].join(" ")), F = M.selectAll("g").data(I, (H) => H.id), w = this, Q = F.enter().append("g").attr("transform", () => `translate(${L.y0},${L.x0})`).attr(
7922
+ ).attr("viewBox", [-p.left, W.x, n, C].join(" ")), F = w.selectAll("g").data(I, (H) => H.id), M = this, Q = F.enter().append("g").attr("transform", () => `translate(${L.y0},${L.x0})`).attr(
7905
7923
  "class",
7906
7924
  (H) => H.depth !== 0 && H.children && H.children.length > 0 ? "clickable" : null
7907
7925
  ).on("mouseover", function(H, Z) {
7908
- w.services.events.dispatchEvent(f.Tree.NODE_MOUSEOVER, {
7926
+ M.services.events.dispatchEvent(f.Tree.NODE_MOUSEOVER, {
7909
7927
  event: H,
7910
7928
  element: x(this),
7911
7929
  datum: Z
7912
7930
  });
7913
7931
  }).on("click", function(H, Z) {
7914
- Z.depth !== 0 && (Z.children = Z.children ? null : Z._children, m(Z)), w.services.events.dispatchEvent(f.Tree.NODE_CLICK, {
7932
+ Z.depth !== 0 && (Z.children = Z.children ? null : Z._children, m(Z)), M.services.events.dispatchEvent(f.Tree.NODE_CLICK, {
7915
7933
  event: H,
7916
7934
  element: x(this),
7917
7935
  datum: Z
7918
7936
  });
7919
7937
  }).on("mouseout", function(H, Z) {
7920
- w.services.events.dispatchEvent(f.Tree.NODE_MOUSEOUT, {
7938
+ M.services.events.dispatchEvent(f.Tree.NODE_MOUSEOUT, {
7921
7939
  event: H,
7922
7940
  element: x(this),
7923
7941
  datum: Z
@@ -7934,173 +7952,173 @@ class Qh extends q {
7934
7952
  }), h.eachBefore((H) => {
7935
7953
  H.x0 = H.x, H.y0 = H.y;
7936
7954
  });
7937
- }, E = h.descendants(), O = E[E.length - 1].depth, T = v(a, "tree", "type") === Li.DENDROGRAM ? ci().size([
7955
+ }, E = h.descendants(), O = E[E.length - 1].depth, T = v(a, "tree", "type") === Ai.DENDROGRAM ? di().size([
7938
7956
  s,
7939
7957
  n - d - O * it - l
7940
- ]) : di().nodeSize([u, g]).size([
7958
+ ]) : hi().nodeSize([u, g]).size([
7941
7959
  s,
7942
7960
  n - d - O * it - l
7943
- ]), y = hi().x((L) => L.y).y((L) => L.x);
7961
+ ]), y = ui().x((L) => L.y).y((L) => L.x);
7944
7962
  h.x0 = g / 2, h.y0 = 0, h.descendants().forEach((L, I) => {
7945
7963
  L.id = I, L._children = L.children;
7946
7964
  }), T(h), t.attr("viewBox", [-p.left, -p.top, n, u]).style("user-select", "none");
7947
- const A = t.append("g").attr("class", "links"), M = t.append("g").attr("class", "nodes");
7965
+ const A = t.append("g").attr("class", "links"), w = t.append("g").attr("class", "nodes");
7948
7966
  m(h);
7949
7967
  }
7950
7968
  }
7951
- var Ml = "#000000", wl = "#ffffff", Cl = "#fcf4d6", _l = "#fddc69", Il = "#f1c21b", kl = "#d2a106", Rl = "#b28600", Dl = "#8e6a00", Nl = "#684e00", Pl = "#483700", Vl = "#302400", Gl = "#1c1500", Bl = {
7952
- 10: Cl,
7953
- 20: _l,
7954
- 30: Il,
7955
- 40: kl,
7956
- 50: Rl,
7957
- 60: Dl,
7958
- 70: Nl,
7959
- 80: Pl,
7960
- 90: Vl,
7961
- 100: Gl
7962
- }, Hl = "#fff2e8", $l = "#ffd9be", Ul = "#ffb784", Fl = "#ff832b", zl = "#eb6200", Wl = "#ba4e00", jl = "#8a3800", Xl = "#5e2900", Zl = "#3e1a00", Yl = "#231000", ql = {
7963
- 10: Hl,
7964
- 20: $l,
7965
- 30: Ul,
7966
- 40: Fl,
7967
- 50: zl,
7968
- 60: Wl,
7969
- 70: jl,
7970
- 80: Xl,
7971
- 90: Zl,
7972
- 100: Yl
7973
- }, Kl = "#fff1f1", Jl = "#ffd7d9", Ql = "#ffb3b8", ec = "#ff8389", tc = "#fa4d56", nc = "#da1e28", sc = "#a2191f", ac = "#750e13", ic = "#520408", rc = "#2d0709", oc = {
7974
- 10: Kl,
7975
- 20: Jl,
7976
- 30: Ql,
7977
- 40: ec,
7978
- 50: tc,
7979
- 60: nc,
7980
- 70: sc,
7981
- 80: ac,
7982
- 90: ic,
7983
- 100: rc
7984
- }, lc = "#fff0f7", cc = "#ffd6e8", dc = "#ffafd2", hc = "#ff7eb6", uc = "#ee5396", pc = "#d02670", gc = "#9f1853", mc = "#740937", fc = "#510224", vc = "#2a0a18", yc = {
7985
- 10: lc,
7986
- 20: cc,
7987
- 30: dc,
7988
- 40: hc,
7989
- 50: uc,
7990
- 60: pc,
7991
- 70: gc,
7992
- 80: mc,
7993
- 90: fc,
7994
- 100: vc
7995
- }, Ec = "#f6f2ff", bc = "#e8daff", Sc = "#d4bbff", Oc = "#be95ff", xc = "#a56eff", Tc = "#8a3ffc", Lc = "#6929c4", Ac = "#491d8b", Mc = "#31135e", wc = "#1c0f30", Cc = {
7996
- 10: Ec,
7997
- 20: bc,
7998
- 30: Sc,
7999
- 40: Oc,
8000
- 50: xc,
8001
- 60: Tc,
8002
- 70: Lc,
8003
- 80: Ac,
8004
- 90: Mc,
8005
- 100: wc
8006
- }, _c = "#edf5ff", Ic = "#d0e2ff", kc = "#a6c8ff", Rc = "#78a9ff", Dc = "#4589ff", Nc = "#0f62fe", Pc = "#0043ce", Vc = "#002d9c", Gc = "#001d6c", Bc = "#001141", Hc = {
8007
- 10: _c,
8008
- 20: Ic,
8009
- 30: kc,
8010
- 40: Rc,
8011
- 50: Dc,
8012
- 60: Nc,
8013
- 70: Pc,
8014
- 80: Vc,
8015
- 90: Gc,
8016
- 100: Bc
8017
- }, $c = "#e5f6ff", Uc = "#bae6ff", Fc = "#82cfff", zc = "#33b1ff", Wc = "#1192e8", jc = "#0072c3", Xc = "#00539a", Zc = "#003a6d", Yc = "#012749", qc = "#061727", Kc = {
8018
- 10: $c,
8019
- 20: Uc,
8020
- 30: Fc,
8021
- 40: zc,
8022
- 50: Wc,
8023
- 60: jc,
8024
- 70: Xc,
8025
- 80: Zc,
8026
- 90: Yc,
8027
- 100: qc
8028
- }, Jc = "#d9fbfb", Qc = "#9ef0f0", ed = "#3ddbd9", td = "#08bdba", nd = "#009d9a", sd = "#007d79", ad = "#005d5d", id = "#004144", rd = "#022b30", od = "#081a1c", ld = {
8029
- 10: Jc,
8030
- 20: Qc,
8031
- 30: ed,
8032
- 40: td,
8033
- 50: nd,
8034
- 60: sd,
8035
- 70: ad,
8036
- 80: id,
8037
- 90: rd,
8038
- 100: od
8039
- }, cd = "#defbe6", dd = "#a7f0ba", hd = "#6fdc8c", ud = "#42be65", pd = "#24a148", gd = "#198038", md = "#0e6027", fd = "#044317", vd = "#022d0d", yd = "#071908", Ed = {
8040
- 10: cd,
8041
- 20: dd,
8042
- 30: hd,
8043
- 40: ud,
8044
- 50: pd,
8045
- 60: gd,
8046
- 70: md,
8047
- 80: fd,
8048
- 90: vd,
8049
- 100: yd
8050
- }, bd = "#f2f4f8", Sd = "#dde1e6", Od = "#c1c7cd", xd = "#a2a9b0", Td = "#878d96", Ld = "#697077", Ad = "#4d5358", Md = "#343a3f", wd = "#21272a", Cd = "#121619", _d = {
8051
- 10: bd,
8052
- 20: Sd,
8053
- 30: Od,
8054
- 40: xd,
8055
- 50: Td,
8056
- 60: Ld,
8057
- 70: Ad,
8058
- 80: Md,
8059
- 90: wd,
8060
- 100: Cd
8061
- }, Id = "#f4f4f4", kd = "#e0e0e0", Rd = "#c6c6c6", Dd = "#a8a8a8", Nd = "#8d8d8d", Pd = "#6f6f6f", Vd = "#525252", Gd = "#393939", Bd = "#262626", Hd = "#161616", $d = {
8062
- 10: Id,
8063
- 20: kd,
8064
- 30: Rd,
8065
- 40: Dd,
8066
- 50: Nd,
8067
- 60: Pd,
8068
- 70: Vd,
8069
- 80: Gd,
8070
- 90: Bd,
8071
- 100: Hd
8072
- }, Ud = "#f7f3f2", Fd = "#e5e0df", zd = "#cac5c4", Wd = "#ada8a8", jd = "#8f8b8b", Xd = "#726e6e", Zd = "#565151", Yd = "#3c3838", qd = "#272525", Kd = "#171414", Jd = {
8073
- 10: Ud,
8074
- 20: Fd,
8075
- 30: zd,
8076
- 40: Wd,
8077
- 50: jd,
8078
- 60: Xd,
8079
- 70: Zd,
8080
- 80: Yd,
8081
- 90: qd,
8082
- 100: Kd
7969
+ var Rl = "#000000", kl = "#ffffff", Dl = "#fcf4d6", Nl = "#fddc69", Pl = "#f1c21b", Vl = "#d2a106", Gl = "#b28600", Bl = "#8e6a00", Hl = "#684e00", $l = "#483700", Ul = "#302400", Fl = "#1c1500", zl = {
7970
+ 10: Dl,
7971
+ 20: Nl,
7972
+ 30: Pl,
7973
+ 40: Vl,
7974
+ 50: Gl,
7975
+ 60: Bl,
7976
+ 70: Hl,
7977
+ 80: $l,
7978
+ 90: Ul,
7979
+ 100: Fl
7980
+ }, Wl = "#fff2e8", jl = "#ffd9be", Xl = "#ffb784", Zl = "#ff832b", Yl = "#eb6200", ql = "#ba4e00", Kl = "#8a3800", Jl = "#5e2900", Ql = "#3e1a00", ec = "#231000", tc = {
7981
+ 10: Wl,
7982
+ 20: jl,
7983
+ 30: Xl,
7984
+ 40: Zl,
7985
+ 50: Yl,
7986
+ 60: ql,
7987
+ 70: Kl,
7988
+ 80: Jl,
7989
+ 90: Ql,
7990
+ 100: ec
7991
+ }, nc = "#fff1f1", sc = "#ffd7d9", ac = "#ffb3b8", ic = "#ff8389", rc = "#fa4d56", oc = "#da1e28", lc = "#a2191f", cc = "#750e13", dc = "#520408", hc = "#2d0709", uc = {
7992
+ 10: nc,
7993
+ 20: sc,
7994
+ 30: ac,
7995
+ 40: ic,
7996
+ 50: rc,
7997
+ 60: oc,
7998
+ 70: lc,
7999
+ 80: cc,
8000
+ 90: dc,
8001
+ 100: hc
8002
+ }, pc = "#fff0f7", gc = "#ffd6e8", mc = "#ffafd2", fc = "#ff7eb6", vc = "#ee5396", yc = "#d02670", Ec = "#9f1853", bc = "#740937", Sc = "#510224", Oc = "#2a0a18", xc = {
8003
+ 10: pc,
8004
+ 20: gc,
8005
+ 30: mc,
8006
+ 40: fc,
8007
+ 50: vc,
8008
+ 60: yc,
8009
+ 70: Ec,
8010
+ 80: bc,
8011
+ 90: Sc,
8012
+ 100: Oc
8013
+ }, Tc = "#f6f2ff", Lc = "#e8daff", Ac = "#d4bbff", wc = "#be95ff", Mc = "#a56eff", Cc = "#8a3ffc", _c = "#6929c4", Ic = "#491d8b", Rc = "#31135e", kc = "#1c0f30", Dc = {
8014
+ 10: Tc,
8015
+ 20: Lc,
8016
+ 30: Ac,
8017
+ 40: wc,
8018
+ 50: Mc,
8019
+ 60: Cc,
8020
+ 70: _c,
8021
+ 80: Ic,
8022
+ 90: Rc,
8023
+ 100: kc
8024
+ }, Nc = "#edf5ff", Pc = "#d0e2ff", Vc = "#a6c8ff", Gc = "#78a9ff", Bc = "#4589ff", Hc = "#0f62fe", $c = "#0043ce", Uc = "#002d9c", Fc = "#001d6c", zc = "#001141", Wc = {
8025
+ 10: Nc,
8026
+ 20: Pc,
8027
+ 30: Vc,
8028
+ 40: Gc,
8029
+ 50: Bc,
8030
+ 60: Hc,
8031
+ 70: $c,
8032
+ 80: Uc,
8033
+ 90: Fc,
8034
+ 100: zc
8035
+ }, jc = "#e5f6ff", Xc = "#bae6ff", Zc = "#82cfff", Yc = "#33b1ff", qc = "#1192e8", Kc = "#0072c3", Jc = "#00539a", Qc = "#003a6d", ed = "#012749", td = "#061727", nd = {
8036
+ 10: jc,
8037
+ 20: Xc,
8038
+ 30: Zc,
8039
+ 40: Yc,
8040
+ 50: qc,
8041
+ 60: Kc,
8042
+ 70: Jc,
8043
+ 80: Qc,
8044
+ 90: ed,
8045
+ 100: td
8046
+ }, sd = "#d9fbfb", ad = "#9ef0f0", id = "#3ddbd9", rd = "#08bdba", od = "#009d9a", ld = "#007d79", cd = "#005d5d", dd = "#004144", hd = "#022b30", ud = "#081a1c", pd = {
8047
+ 10: sd,
8048
+ 20: ad,
8049
+ 30: id,
8050
+ 40: rd,
8051
+ 50: od,
8052
+ 60: ld,
8053
+ 70: cd,
8054
+ 80: dd,
8055
+ 90: hd,
8056
+ 100: ud
8057
+ }, gd = "#defbe6", md = "#a7f0ba", fd = "#6fdc8c", vd = "#42be65", yd = "#24a148", Ed = "#198038", bd = "#0e6027", Sd = "#044317", Od = "#022d0d", xd = "#071908", Td = {
8058
+ 10: gd,
8059
+ 20: md,
8060
+ 30: fd,
8061
+ 40: vd,
8062
+ 50: yd,
8063
+ 60: Ed,
8064
+ 70: bd,
8065
+ 80: Sd,
8066
+ 90: Od,
8067
+ 100: xd
8068
+ }, Ld = "#f2f4f8", Ad = "#dde1e6", wd = "#c1c7cd", Md = "#a2a9b0", Cd = "#878d96", _d = "#697077", Id = "#4d5358", Rd = "#343a3f", kd = "#21272a", Dd = "#121619", Nd = {
8069
+ 10: Ld,
8070
+ 20: Ad,
8071
+ 30: wd,
8072
+ 40: Md,
8073
+ 50: Cd,
8074
+ 60: _d,
8075
+ 70: Id,
8076
+ 80: Rd,
8077
+ 90: kd,
8078
+ 100: Dd
8079
+ }, Pd = "#f4f4f4", Vd = "#e0e0e0", Gd = "#c6c6c6", Bd = "#a8a8a8", Hd = "#8d8d8d", $d = "#6f6f6f", Ud = "#525252", Fd = "#393939", zd = "#262626", Wd = "#161616", jd = {
8080
+ 10: Pd,
8081
+ 20: Vd,
8082
+ 30: Gd,
8083
+ 40: Bd,
8084
+ 50: Hd,
8085
+ 60: $d,
8086
+ 70: Ud,
8087
+ 80: Fd,
8088
+ 90: zd,
8089
+ 100: Wd
8090
+ }, Xd = "#f7f3f2", Zd = "#e5e0df", Yd = "#cac5c4", qd = "#ada8a8", Kd = "#8f8b8b", Jd = "#726e6e", Qd = "#565151", eh = "#3c3838", th = "#272525", nh = "#171414", sh = {
8091
+ 10: Xd,
8092
+ 20: Zd,
8093
+ 30: Yd,
8094
+ 40: qd,
8095
+ 50: Kd,
8096
+ 60: Jd,
8097
+ 70: Qd,
8098
+ 80: eh,
8099
+ 90: th,
8100
+ 100: nh
8083
8101
  }, Xs = {
8084
8102
  black: {
8085
- 100: Ml
8103
+ 100: Rl
8086
8104
  },
8087
- blue: Hc,
8088
- coolGray: _d,
8089
- cyan: Kc,
8090
- gray: $d,
8091
- green: Ed,
8092
- magenta: yc,
8093
- orange: ql,
8094
- purple: Cc,
8095
- red: oc,
8096
- teal: ld,
8097
- warmGray: Jd,
8105
+ blue: Wc,
8106
+ coolGray: Nd,
8107
+ cyan: nd,
8108
+ gray: jd,
8109
+ green: Td,
8110
+ magenta: xc,
8111
+ orange: tc,
8112
+ purple: Dc,
8113
+ red: uc,
8114
+ teal: pd,
8115
+ warmGray: sh,
8098
8116
  white: {
8099
- 0: wl
8117
+ 0: kl
8100
8118
  },
8101
- yellow: Bl
8119
+ yellow: zl
8102
8120
  };
8103
- const Qd = (o) => {
8121
+ const ah = (o) => {
8104
8122
  if (!o)
8105
8123
  return null;
8106
8124
  for (const e of Object.keys(Xs)) {
@@ -8115,14 +8133,14 @@ const Qd = (o) => {
8115
8133
  "fill"
8116
8134
  ), t = sa(e);
8117
8135
  let n;
8118
- if (t && (n = Qd(t ? t.hex() : null)), n == null) {
8136
+ if (t && (n = ah(t ? t.hex() : null)), n == null) {
8119
8137
  const s = na(t).l;
8120
8138
  n = Math.abs(s * 100 - 100);
8121
8139
  }
8122
8140
  return n > 50 ? "white" : "black";
8123
8141
  };
8124
- let eh = 0;
8125
- class eu extends q {
8142
+ let ih = 0;
8143
+ class iu extends q {
8126
8144
  constructor() {
8127
8145
  super(...arguments), this.type = "treemap", this.renderType = j.SVG, this.handleLegendOnHover = (e) => {
8128
8146
  const { hoveredElement: t } = e.detail;
@@ -8156,11 +8174,11 @@ class eu extends q {
8156
8174
  }), l = Hn({
8157
8175
  name: s.title || "Treemap",
8158
8176
  children: n
8159
- }).sum((m) => m.value).sort((m, E) => E.value - m.value), c = ui().size([i, r]).paddingInner(1).paddingOuter(0).round(!0)(
8177
+ }).sum((m) => m.value).sort((m, E) => E.value - m.value), c = pi().size([i, r]).paddingInner(1).paddingOuter(0).round(!0)(
8160
8178
  l
8161
8179
  ), d = t.selectAll("g[data-name='leaf']").data(c.leaves(), (m) => m.data.name);
8162
8180
  d.exit().attr("opacity", 0).remove();
8163
- const h = d.enter().append("g").attr("data-name", "leaf").attr("data-uid", () => eh++).merge(d);
8181
+ const h = d.enter().append("g").attr("data-name", "leaf").attr("data-uid", () => ih++).merge(d);
8164
8182
  h.attr("data-name", "leaf").transition().call(
8165
8183
  (m) => this.services.transitions.setupTransition({
8166
8184
  transition: m,
@@ -8304,7 +8322,7 @@ class eu extends q {
8304
8322
  });
8305
8323
  }
8306
8324
  }
8307
- class tu extends q {
8325
+ class ru extends q {
8308
8326
  constructor() {
8309
8327
  super(...arguments), this.type = "wordcloud", this.renderType = j.SVG, this.handleLegendOnHover = (e) => {
8310
8328
  const { hoveredElement: t } = e.detail, { groupMapsTo: n } = this.getOptions().data;
@@ -8333,7 +8351,7 @@ class tu extends q {
8333
8351
  });
8334
8352
  if (d === 0 || p === 0)
8335
8353
  return;
8336
- const h = Ii().size([d, p]).words(
8354
+ const h = Ri().size([d, p]).words(
8337
8355
  s.map(function(g) {
8338
8356
  const m = g[r];
8339
8357
  if (typeof g[r] != "number")
@@ -8373,7 +8391,7 @@ class tu extends q {
8373
8391
  this.addEventListeners();
8374
8392
  }
8375
8393
  getFontSizeScale(e) {
8376
- const t = this.getOptions(), { fontSizeMapsTo: n } = t.wordCloud, s = e.map((l) => l[n]).filter((l) => l), a = S.getHTMLElementSize(this.services.domUtils.getMainContainer()), i = s.length > 0, r = i ? Wt(s) : [1, 1];
8394
+ const t = this.getOptions(), { fontSizeMapsTo: n } = t.wordCloud, s = e.map((l) => l[n]).filter((l) => l), a = S.getHTMLElementSize(this.services.domUtils.getMainContainer()), i = s.length > 0, r = i ? jt(s) : [1, 1];
8377
8395
  return Ze().domain(r).range(i ? t.wordCloud.fontSizeRange(a, e) : [4, 4]);
8378
8396
  }
8379
8397
  addEventListeners() {
@@ -8442,7 +8460,7 @@ class tu extends q {
8442
8460
  });
8443
8461
  }
8444
8462
  }
8445
- class th extends q {
8463
+ class rh extends q {
8446
8464
  constructor() {
8447
8465
  super(...arguments), this.type = "geo", this.renderType = j.SVG;
8448
8466
  }
@@ -8456,11 +8474,11 @@ class th extends q {
8456
8474
  Object.keys(i).forEach((O) => {
8457
8475
  typeof i[O].value == "number" ? r[O] = i[O] : l[O] = i[O];
8458
8476
  });
8459
- const c = xl(a, Object.values(l)), d = bl(a, {
8477
+ const c = Ml(a, Object.values(l)), d = Ll(a, {
8460
8478
  // We need to specify that we are converting geometry collections
8461
8479
  type: "GeometryCollection",
8462
8480
  geometries: Object.values(r)
8463
- }), p = s.fitSize([t, n], d), h = pi().projection(p);
8481
+ }), p = s.fitSize([t, n], d), h = gi().projection(p);
8464
8482
  S.appendOrSelect(e, "g.geo").selectAll("path").data(d.features).join("path").attr("d", h);
8465
8483
  const g = this.services.domUtils.generateElementIDString("geo-pattern-stripes"), m = S.appendOrSelect(e, "defs");
8466
8484
  S.appendOrSelect(m, "pattern").attr("id", g).attr("width", 5).attr("height", 10).attr("patternUnits", "userSpaceOnUse").attr("patternTransform", "rotate(45)").append("path").classed("pattern-fill", !0).attr(
@@ -8485,25 +8503,25 @@ class th extends q {
8485
8503
  let e = null;
8486
8504
  switch (v(this.getOptions(), "thematic", "projection")) {
8487
8505
  case je.geoEqualEarth:
8488
- e = bi();
8506
+ e = Si();
8489
8507
  break;
8490
8508
  case je.geoAlbers:
8491
- e = Ei();
8509
+ e = bi();
8492
8510
  break;
8493
8511
  case je.geoConicEqualArea:
8494
- e = yi();
8512
+ e = Ei();
8495
8513
  break;
8496
8514
  case je.geoConicEquidistant:
8497
- e = vi();
8515
+ e = yi();
8498
8516
  break;
8499
8517
  case je.geoEquirectangular:
8500
- e = fi();
8518
+ e = vi();
8501
8519
  break;
8502
8520
  case je.geoMercator:
8503
- e = mi();
8521
+ e = fi();
8504
8522
  break;
8505
8523
  case je.geoNaturalEarth1:
8506
- e = gi();
8524
+ e = mi();
8507
8525
  break;
8508
8526
  default:
8509
8527
  throw new Error("Projection is not supported.");
@@ -8511,7 +8529,7 @@ class th extends q {
8511
8529
  return e;
8512
8530
  }
8513
8531
  }
8514
- class nu extends th {
8532
+ class ou extends rh {
8515
8533
  constructor() {
8516
8534
  super(...arguments), this.type = "choropleth";
8517
8535
  }
@@ -8572,69 +8590,69 @@ class nu extends th {
8572
8590
  }
8573
8591
  }
8574
8592
  export {
8575
- Yh as $,
8593
+ eu as $,
8576
8594
  Ca as A,
8577
- Ah as B,
8578
- ul as C,
8579
- Lh as D,
8580
- nu as E,
8581
- Bh as F,
8582
- yh as G,
8583
- ml as H,
8584
- Hh as I,
8585
- $h as J,
8586
- Uh as K,
8587
- hl as L,
8588
- Gh as M,
8589
- Fh as N,
8590
- zh as O,
8591
- bh as P,
8592
- Wh as Q,
8593
- wa as R,
8594
- Mh as S,
8595
+ Ih as B,
8596
+ vl as C,
8597
+ _h as D,
8598
+ ou as E,
8599
+ zh as F,
8600
+ xh as G,
8601
+ bl as H,
8602
+ Wh as I,
8603
+ jh as J,
8604
+ Xh as K,
8605
+ fl as L,
8606
+ Fh as M,
8607
+ Zh as N,
8608
+ Yh as O,
8609
+ Lh as P,
8610
+ qh as Q,
8611
+ Ma as R,
8612
+ Rh as S,
8595
8613
  _s as T,
8596
- jh as U,
8597
- Al as V,
8598
- Xh as W,
8614
+ Kh as U,
8615
+ Il as V,
8616
+ Jh as W,
8599
8617
  Fn as X,
8600
- Zh as Y,
8601
- xh as Z,
8602
- fl as _,
8618
+ Qh as Y,
8619
+ Mh as Z,
8620
+ Sl as _,
8603
8621
  Us as a,
8604
- qh as a0,
8605
- Kh as a1,
8606
- Jh as a2,
8607
- Qh as a3,
8608
- eu as a4,
8609
- tu as a5,
8622
+ tu as a0,
8623
+ nu as a1,
8624
+ su as a2,
8625
+ au as a3,
8626
+ iu as a4,
8627
+ ru as a5,
8610
8628
  Is as a6,
8611
- dh as a7,
8629
+ mh as a7,
8612
8630
  q as a8,
8613
- Sr as a9,
8614
- Sh as b,
8615
- ph as c,
8616
- Ih as d,
8617
- kh as e,
8618
- _h as f,
8619
- Ch as g,
8620
- wh as h,
8621
- Rh as i,
8622
- Dh as j,
8623
- fh as k,
8624
- uh as l,
8625
- Vh as m,
8626
- th as n,
8627
- mh as o,
8628
- hh as p,
8629
- gh as q,
8630
- dl as r,
8631
- Nh as s,
8632
- Ph as t,
8633
- pl as u,
8634
- vh as v,
8635
- Eh as w,
8631
+ Or as a9,
8632
+ Ah as b,
8633
+ yh as c,
8634
+ Ph as d,
8635
+ Vh as e,
8636
+ Nh as f,
8637
+ Dh as g,
8638
+ kh as h,
8639
+ Gh as i,
8640
+ Bh as j,
8641
+ Sh as k,
8642
+ vh as l,
8643
+ Uh as m,
8644
+ rh as n,
8645
+ bh as o,
8646
+ fh as p,
8647
+ Eh as q,
8648
+ ml as r,
8649
+ Hh as s,
8650
+ $h as t,
8651
+ yl as u,
8652
+ Oh as v,
8653
+ Th as w,
8636
8654
  Wn as x,
8637
- Oh as y,
8638
- Th as z
8655
+ wh as y,
8656
+ Ch as z
8639
8657
  };
8640
- //# sourceMappingURL=choropleth-3h8ShsdZ.mjs.map
8658
+ //# sourceMappingURL=choropleth-UL_Hkrzw.mjs.map