@dpuse/dpuse-tool-highcharts-visualiser 0.0.80 → 0.0.83

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/dist/{AnimationUtilities-Bby2idBR.js → AnimationUtilities-HCzBkGkl.js} +122 -131
  2. package/dist/AnimationUtilities-HCzBkGkl.js.map +1 -0
  3. package/dist/BorderRadius-DsUUgNnR.js +135 -0
  4. package/dist/BorderRadius-DsUUgNnR.js.map +1 -0
  5. package/dist/CenteredUtilities-CBtdKzw5.js +1312 -0
  6. package/dist/CenteredUtilities-CBtdKzw5.js.map +1 -0
  7. package/dist/{SVGElement-BmvC_qu3.js → SVGElement-DQ_bI6Wv.js} +106 -108
  8. package/dist/SVGElement-DQ_bI6Wv.js.map +1 -0
  9. package/dist/SeriesRegistry-BO6tW97M.js +376 -0
  10. package/dist/SeriesRegistry-BO6tW97M.js.map +1 -0
  11. package/dist/{TextPath-DK4Jkzd7.js → TextPath-D9gJwxEx.js} +32 -34
  12. package/dist/{TextPath-DK4Jkzd7.js.map → TextPath-D9gJwxEx.js.map} +1 -1
  13. package/dist/{dependency-wheel.src-BHmwx9rW.js → dependency-wheel.src-CzVxcqBs.js} +26 -27
  14. package/dist/dependency-wheel.src-CzVxcqBs.js.map +1 -0
  15. package/dist/dpuse-tool-highcharts-visualiser.es.js +2495 -2463
  16. package/dist/dpuse-tool-highcharts-visualiser.es.js.map +1 -1
  17. package/dist/highchartsMoreCustom-C4nqraZj.js +1206 -0
  18. package/dist/highchartsMoreCustom-C4nqraZj.js.map +1 -0
  19. package/dist/{pattern-fill.src-BPmr3DQg.js → pattern-fill.src-B5NNMA8k.js} +53 -55
  20. package/dist/pattern-fill.src-B5NNMA8k.js.map +1 -0
  21. package/dist/sankey.src-CwyzwAVp.js +522 -0
  22. package/dist/sankey.src-CwyzwAVp.js.map +1 -0
  23. package/dist/{streamgraph.src-Bn6PY8Fd.js → streamgraph.src-BxwGr88G.js} +4 -6
  24. package/dist/streamgraph.src-BxwGr88G.js.map +1 -0
  25. package/package.json +14 -14
  26. package/dist/AnimationUtilities-Bby2idBR.js.map +0 -1
  27. package/dist/BorderRadius-2zMZW_aK.js +0 -1445
  28. package/dist/BorderRadius-2zMZW_aK.js.map +0 -1
  29. package/dist/SVGElement-BmvC_qu3.js.map +0 -1
  30. package/dist/SeriesRegistry-0cj0ZJqn.js +0 -374
  31. package/dist/SeriesRegistry-0cj0ZJqn.js.map +0 -1
  32. package/dist/dependency-wheel.src-BHmwx9rW.js.map +0 -1
  33. package/dist/highchartsMoreCustom-CcpfmVny.js +0 -1110
  34. package/dist/highchartsMoreCustom-CcpfmVny.js.map +0 -1
  35. package/dist/pattern-fill.src-BPmr3DQg.js.map +0 -1
  36. package/dist/sankey.src-DocCurOx.js +0 -524
  37. package/dist/sankey.src-DocCurOx.js.map +0 -1
  38. package/dist/streamgraph.src-Bn6PY8Fd.js.map +0 -1
@@ -1,7 +1,7 @@
1
1
  //#region node_modules/highcharts/es-modules/Core/Globals.js
2
2
  var e;
3
3
  (function(e) {
4
- e.SVG_NS = "http://www.w3.org/2000/svg", e.product = "Highcharts", e.version = "13.0.0", e.win = typeof window < "u" ? window : {}, e.doc = e.win.document, e.svg = !!e.doc?.createElementNS?.(e.SVG_NS, "svg")?.createSVGRect, e.pageLang = e.doc?.documentElement?.closest("[lang]")?.lang, e.userAgent = e.win.navigator?.userAgent || "", e.isChrome = e.win.chrome, e.isFirefox = e.userAgent.indexOf("Firefox") !== -1, e.isMS = /(edge|msie|trident)/i.test(e.userAgent) && !e.win.opera, e.isSafari = !e.isChrome && e.userAgent.indexOf("Safari") !== -1, e.isTouchDevice = /(Mobile|Android|Windows Phone)/.test(e.userAgent), e.isWebKit = e.userAgent.indexOf("AppleWebKit") !== -1, e.deg2rad = Math.PI * 2 / 360, e.marginNames = [
4
+ e.SVG_NS = "http://www.w3.org/2000/svg", e.product = "Highcharts", e.version = "13.1.0", e.win = typeof window < "u" ? window : {}, e.doc = e.win.document, e.svg = !!e.doc?.createElementNS?.(e.SVG_NS, "svg")?.createSVGRect, e.pageLang = e.doc?.documentElement?.closest("[lang]")?.lang, e.userAgent = e.win.navigator?.userAgent || "", e.isChrome = e.win.chrome, e.isFirefox = e.userAgent.indexOf("Firefox") !== -1, e.isMS = /(edge|msie|trident)/i.test(e.userAgent) && !e.win.opera, e.isSafari = !e.isChrome && e.userAgent.indexOf("Safari") !== -1, e.isTouchDevice = /(Mobile|Android|Windows Phone)/.test(e.userAgent), e.isWebKit = e.userAgent.indexOf("AppleWebKit") !== -1, e.deg2rad = Math.PI * 2 / 360, e.marginNames = [
5
5
  "plotTop",
6
6
  "marginRight",
7
7
  "marginBottom",
@@ -9,9 +9,9 @@ var e;
9
9
  ], e.noop = function() {}, e.supportsPassiveEvents = function() {
10
10
  let t = !1;
11
11
  if (!e.isMS) {
12
- let n = Object.defineProperty({}, "passive", { get: function() {
13
- t = !0;
14
- } });
12
+ let n = { get passive() {
13
+ return t = !0;
14
+ } };
15
15
  e.win.addEventListener && e.win.removeEventListener && (e.win.addEventListener("testPassive", e.noop, n), e.win.removeEventListener("testPassive", e.noop, n));
16
16
  }
17
17
  return t;
@@ -39,7 +39,7 @@ var t = e, n = {
39
39
  position: {}
40
40
  },
41
41
  reflow: !0,
42
- selectionMarkerFill: "color-mix(var(--highcharts-highlight-color-80) 25%, transparent)",
42
+ selectionMarkerFill: "color-mix(in srgb, var(--highcharts-highlight-color-80) 25%, transparent)",
43
43
  type: "line",
44
44
  zooming: {
45
45
  singleTouch: !1,
@@ -86,7 +86,7 @@ function o(e, n, r, i = {}) {
86
86
  order: typeof i.order == "number" ? i.order : Infinity
87
87
  };
88
88
  return o[n].push(c), o[n].sort((e, t) => e.order - t.order), function() {
89
- I(e, n, r);
89
+ F(e, n, r);
90
90
  };
91
91
  }
92
92
  function s(e) {
@@ -100,10 +100,10 @@ function c(e) {
100
100
  return n;
101
101
  }
102
102
  function l(e, t, n) {
103
- let r = D(t) && !h(n), i, a = (t, n) => {
103
+ let r = O(t) && !h(n), i, a = (t, n) => {
104
104
  h(t) ? e.setAttribute(n, t) : r ? (i = e.getAttribute(n), !i && n === "class" && (i = e.getAttribute(n + "Name"))) : e.removeAttribute(n);
105
105
  };
106
- return D(t) ? a(n, t) : j(t, a), i;
106
+ return O(t) ? a(n, t) : M(t, a), i;
107
107
  }
108
108
  function u(e, t, n) {
109
109
  return e > t ? e < n ? e : n : t;
@@ -130,7 +130,7 @@ function h(e) {
130
130
  return e != null;
131
131
  }
132
132
  function g(e, t, n) {
133
- j(e, function(r, i) {
133
+ M(e, function(r, i) {
134
134
  r !== t && r?.destroy && r.destroy(), (r?.destroy || !n) && delete e[i];
135
135
  });
136
136
  }
@@ -141,11 +141,11 @@ function v(e, t, n, r) {
141
141
  let i = {};
142
142
  function a(e, t, i, o) {
143
143
  let s = n ? t : e;
144
- j(e, function(n, c) {
144
+ M(e, function(n, c) {
145
145
  if (!o && r && r.indexOf(c) > -1 && t[c]) {
146
- n = L(n), i[c] = [];
146
+ n = I(n), i[c] = [];
147
147
  for (let e = 0; e < Math.max(n.length, t[c].length); e++) t[c][e] && (n[e] === void 0 ? i[c][e] = t[c][e] : (i[c][e] = {}, a(n[e], t[c][e], i[c][e], o + 1)));
148
- } else k(n, !0) && !n.nodeType ? (i[c] = O(n) ? [] : {}, a(n, t[c] || {}, i[c], o + 1), Object.keys(i[c]).length === 0 && (c !== "colorAxis" || o !== 0) && delete i[c]) : (e[c] !== t[c] || c in e && !(c in t)) && c !== "__proto__" && c !== "constructor" && (i[c] = s[c]);
148
+ } else A(n, !0) && !n.nodeType ? (i[c] = k(n) ? [] : {}, a(n, t[c] || {}, i[c], o + 1), Object.keys(i[c]).length === 0 && (c !== "colorAxis" || o !== 0) && delete i[c]) : (e[c] !== t[c] || c in e && !(c in t)) && c !== "__proto__" && c !== "constructor" && (i[c] = s[c]);
149
149
  });
150
150
  }
151
151
  return a(e, t, i, 0), i;
@@ -159,7 +159,7 @@ function y(e, t) {
159
159
  }
160
160
  function b(e, t) {
161
161
  let n;
162
- for (n in e ||= {}, t) e[n] = t[n];
162
+ for (n in e ||= {}, t) n !== "__proto__" && n !== "constructor" && (e[n] = t[n]);
163
163
  return e;
164
164
  }
165
165
  function ee(e, t) {
@@ -208,7 +208,7 @@ function re(e, t) {
208
208
  if (e === void 0 || e === "__proto__") return;
209
209
  if (e === "this") {
210
210
  let e;
211
- return k(t) && (e = t["@this"]), e ?? t;
211
+ return A(t) && (e = t["@this"]), e ?? t;
212
212
  }
213
213
  let r = t[e.replace(/[\\'"]/g, "")];
214
214
  if (!h(r) || typeof r == "function" || typeof r.nodeType == "number" || r === a) return;
@@ -224,44 +224,44 @@ function C(e, t, n) {
224
224
  }
225
225
  if (t === "height") return Math.max(0, Math.min(e.offsetHeight, e.scrollHeight) - (C(e, "padding-top", !0) || 0) - (C(e, "padding-bottom", !0) || 0));
226
226
  let i = a.getComputedStyle(e, void 0);
227
- return i && (r = i.getPropertyValue(t), P(n, t !== "opacity") && (r = F(r))), r;
227
+ return i && (r = i.getPropertyValue(t), (n ?? t !== "opacity") && (r = P(r))), r;
228
228
  }
229
- var ie = Array.prototype.find ? function(e, t) {
229
+ var w = Array.prototype.find ? function(e, t) {
230
230
  return e.find(t);
231
231
  } : function(e, t) {
232
232
  let n, r = e.length;
233
233
  for (n = 0; n < r; n++) if (t(e[n], n)) return e[n];
234
234
  };
235
- function ae(e) {
235
+ function ie(e) {
236
236
  h(e) && clearTimeout(e);
237
237
  }
238
- function w(e) {
239
- return k(e) && typeof e.nodeType == "number";
240
- }
241
238
  function T(e) {
242
- let t = e?.constructor;
243
- return !!(k(e, !0) && !w(e) && t?.name && t.name !== "Object");
239
+ return A(e) && typeof e.nodeType == "number";
244
240
  }
245
241
  function E(e) {
246
- return typeof e == "number" && !isNaN(e) && e < Infinity && e > -Infinity;
242
+ let t = e?.constructor;
243
+ return !!(A(e, !0) && !T(e) && t?.name && t.name !== "Object");
247
244
  }
248
245
  function D(e) {
249
- return typeof e == "string";
246
+ return typeof e == "number" && !isNaN(e) && e < Infinity && e > -Infinity;
250
247
  }
251
248
  function O(e) {
249
+ return typeof e == "string";
250
+ }
251
+ function k(e) {
252
252
  let t = Object.prototype.toString.call(e);
253
253
  return t === "[object Array]" || t === "[object Array Iterator]";
254
254
  }
255
- function oe(e) {
255
+ function ae(e) {
256
256
  return typeof e == "function";
257
257
  }
258
- function k(e, t) {
259
- return !!e && typeof e == "object" && (!t || !O(e));
258
+ function A(e, t) {
259
+ return !!e && typeof e == "object" && (!t || !k(e));
260
260
  }
261
- function A(e, ...t) {
261
+ function j(e, ...t) {
262
262
  let n, r = [e, ...t], i = {}, a = function(e, t) {
263
- return typeof e != "object" && (e = {}), j(t, function(n, r) {
264
- r !== "__proto__" && r !== "constructor" && (k(n, !0) && !T(n) && !w(n) ? e[r] = a(e[r] || {}, n) : e[r] = t[r]);
263
+ return typeof e != "object" && (e = {}), M(t, function(n, r) {
264
+ r !== "__proto__" && r !== "constructor" && (A(n, !0) && !E(n) && !T(n) ? e[r] = a(e[r] || {}, n) : e[r] = t[r]);
265
265
  }), e;
266
266
  };
267
267
  e === !0 && (i = r[1], r = Array.prototype.slice.call(r, 2));
@@ -269,9 +269,9 @@ function A(e, ...t) {
269
269
  for (n = 0; n < o; n++) i = a(i, r[n]);
270
270
  return i;
271
271
  }
272
- function se(e, t, n, r, i) {
272
+ function oe(e, t, n, r, i) {
273
273
  let a, o = e;
274
- n = P(n, S(e));
274
+ n ??= S(e);
275
275
  let s = e / n;
276
276
  for (t || (t = i ? [
277
277
  1,
@@ -296,10 +296,10 @@ function se(e, t, n, r, i) {
296
296
  }) : n <= .1 && (t = [1 / n]))), a = 0; a < t.length && (o = t[a], !(i && o * n >= e || !i && s <= (t[a] + (t[a + 1] || t[a])) / 2)); a++);
297
297
  return o = d(o * n, -Math.round(Math.log(.001) / Math.LN10)), o;
298
298
  }
299
- function j(e, t, n) {
299
+ function M(e, t, n) {
300
300
  for (let r in e) Object.hasOwnProperty.call(e, r) && t.call(n || e[r], e[r], r, e);
301
301
  }
302
- function M(e) {
302
+ function se(e) {
303
303
  let t = i.documentElement, n = e.parentElement || e.parentNode ? e.getBoundingClientRect() : {
304
304
  top: 0,
305
305
  left: 0,
@@ -316,23 +316,23 @@ function M(e) {
316
316
  function N(e, t, n) {
317
317
  return Array((t || 2) + 1 - String(e).replace("-", "").length).join(n || "0") + e;
318
318
  }
319
- function P() {
320
- let e = arguments, t = e.length;
319
+ function ce(...e) {
320
+ let t = e.length;
321
321
  for (let n = 0; n < t; n++) {
322
322
  let t = e[n];
323
323
  if (t != null) return t;
324
324
  }
325
325
  }
326
- function F(e, t) {
326
+ function P(e, t) {
327
327
  return parseInt(e, t || 10);
328
328
  }
329
- function ce(e, t) {
329
+ function le(e, t) {
330
330
  return e.indexOf(t) < 0 && !!e.push(t);
331
331
  }
332
- function le(e, t, n) {
332
+ function ue(e, t, n) {
333
333
  return /%$/.test(e) ? t * parseFloat(e) / 100 + (n || 0) : parseFloat(e);
334
334
  }
335
- function ue(e, ...t) {
335
+ function de(e, ...t) {
336
336
  let n, r;
337
337
  do {
338
338
  n = e;
@@ -340,14 +340,14 @@ function ue(e, ...t) {
340
340
  } while (e !== n);
341
341
  return e;
342
342
  }
343
- function I(e, t, n) {
343
+ function F(e, t, n) {
344
344
  function r(t, n) {
345
345
  let r = e.removeEventListener;
346
346
  r && r.call(e, t, n, !1);
347
347
  }
348
348
  function i(n) {
349
349
  let i, a;
350
- e.nodeName && (t ? (i = {}, i[t] = !0) : i = n, j(i, function(e, t) {
350
+ e.nodeName && (t ? (i = {}, i[t] = !0) : i = n, M(i, function(e, t) {
351
351
  if (n[t]) for (a = n[t].length; a--;) r(t, n[t][a].fn);
352
352
  }));
353
353
  }
@@ -362,23 +362,23 @@ function I(e, t, n) {
362
362
  } else i(e), delete a.hcEvents;
363
363
  }
364
364
  }
365
- function L(e) {
366
- return O(e) ? e : [e];
365
+ function I(e) {
366
+ return k(e) ? e : [e];
367
367
  }
368
- function de(e, t) {
369
- let n = e.length, r, i;
370
- for (i = 0; i < n; i++) e[i].safeI = i;
368
+ function fe(e, t) {
369
+ let n = e.length, r, i = 0;
370
+ for (; i < n; i++) e[i].safeI = i;
371
371
  for (e.sort(function(e, n) {
372
372
  return r = t(e, n), r === 0 ? e.safeI - n.safeI : r;
373
373
  }), i = 0; i < n; i++) delete e[i].safeI;
374
374
  }
375
- function fe(e, t, n) {
375
+ function pe(e, t, n) {
376
376
  return t > 0 ? setTimeout(e, t, n) : (e.call(0, n), -1);
377
377
  }
378
- function R(e) {
379
- return D(e) ? e.substring(0, 1).toUpperCase() + e.substring(1) : String(e);
378
+ function L(e) {
379
+ return O(e) ? e.substring(0, 1).toUpperCase() + e.substring(1) : String(e);
380
380
  }
381
- function pe(e, t, n) {
381
+ function me(e, t, n) {
382
382
  let r = e[t];
383
383
  e[t] = function() {
384
384
  let e = arguments, t = this;
@@ -389,17 +389,17 @@ function pe(e, t, n) {
389
389
  }
390
390
  //#endregion
391
391
  //#region node_modules/highcharts/es-modules/Core/Utilities.js
392
- var { charts: me, win: z } = t;
392
+ var { charts: R, win: z } = t;
393
393
  function B(e, n, r, i) {
394
394
  let a = n ? "Highcharts error" : "Highcharts warning";
395
395
  e === 32 && (e = `${a}: Deprecated member`);
396
- let o = E(e), s = o ? `${a} #${e}: www.highcharts.com/errors/${e}/` : e.toString(), c = function() {
396
+ let o = D(e), s = o ? `${a} #${e}: www.highcharts.com/errors/${e}/` : e.toString(), c = function() {
397
397
  if (n) throw Error(s);
398
398
  z.console && B.messages.indexOf(s) === -1 && console.warn(s);
399
399
  };
400
400
  if (i !== void 0) {
401
401
  let e = "";
402
- o && (s += "?"), j(i, function(t, n) {
402
+ o && (s += "?"), M(i, function(t, n) {
403
403
  e += `\n - ${n}: ${t}`, o && (s += encodeURI(n) + "=" + encodeURI(t));
404
404
  }), s += e;
405
405
  }
@@ -415,7 +415,7 @@ function B(e, n, r, i) {
415
415
  })(B ||= {});
416
416
  function he(e, t) {
417
417
  let n = e.options.index, r = t.length, i;
418
- for (i = e.options.isInternal ? r : 0; i < r + 1; i++) if (!t[i] || E(n) && n < P(t[i].options.index, t[i]._i) || t[i].options.isInternal) {
418
+ for (i = e.options.isInternal ? r : 0; i < r + 1; i++) if (!t[i] || D(n) && n < (t[i].options.index ?? t[i]._i) || t[i].options.isInternal) {
419
419
  t.splice(i, 0, e);
420
420
  break;
421
421
  }
@@ -441,20 +441,20 @@ var H, ge = function() {
441
441
  };
442
442
  }();
443
443
  function _e(e) {
444
- return H = P(e, H);
444
+ return H = e ?? H;
445
445
  }
446
446
  z.jQuery && (z.jQuery.fn.highcharts = function() {
447
447
  let e = [].slice.call(arguments);
448
- if (this[0]) return e[0] ? (new t[D(e[0]) ? e.shift() : "Chart"](this[0], e[0], e[1]), this) : me[l(this[0], "data-highcharts-chart")];
448
+ if (this[0]) return e[0] ? (new t[O(e[0]) ? e.shift() : "Chart"](this[0], e[0], e[1]), this) : R[l(this[0], "data-highcharts-chart")];
449
449
  });
450
450
  //#endregion
451
451
  //#region node_modules/highcharts/es-modules/Shared/TimeBase.js
452
452
  var { pageLang: ve, win: U } = t, ye = t.isSafari && U.Intl && !U.Intl.DateTimeFormat.prototype.formatRange, be = (e) => e.main === void 0, xe = class {
453
453
  constructor(e, t) {
454
- this.options = { timezone: "UTC" }, this.variableTimezone = !1, this.Date = U.Date, this.update(e), this.lang = t;
454
+ this.options = { timezone: "UTC" }, this.variableTimezone = !1, this.Date = U.Date, this.lang = t, this.update(e);
455
455
  }
456
456
  update(e = {}) {
457
- this.dTLCache = {}, this.options = e = A(!0, this.options, e);
457
+ this.dTLCache = {}, this.options = e = j(!0, this.options, e);
458
458
  let { timezoneOffset: t, useUTC: n, locale: r } = e;
459
459
  this.Date = e.Date || U.Date || Date;
460
460
  let i = e.timezone;
@@ -510,9 +510,9 @@ var { pageLang: ve, win: U } = t, ye = t.isSafari && U.Intl && !U.Intl.DateTimeF
510
510
  "DLMXJVS".indexOf(t)
511
511
  ];
512
512
  }
513
- dateTimeFormat(e, t, n = this.options.locale || ve) {
513
+ dateTimeFormat(e, t, n = this.options.locale || this.lang?.locale || ve) {
514
514
  let r = JSON.stringify(e) + n;
515
- D(e) && (e = this.str2dtf(e));
515
+ O(e) && (e = this.str2dtf(e));
516
516
  let i = this.dTLCache[r];
517
517
  if (!i) {
518
518
  e.timeZone ?? (e.timeZone = this.timezone);
@@ -550,7 +550,7 @@ var { pageLang: ve, win: U } = t, ye = t.isSafari && U.Intl && !U.Intl.DateTimeF
550
550
  makeTime(e, t, n = 1, r = 0, i, a, o) {
551
551
  let s = this.Date.UTC(e, t, n, r, i || 0, a || 0, o || 0);
552
552
  if (this.timezone !== "UTC") {
553
- let e = this.getTimezoneOffset(s);
553
+ let e = this.getTimezoneOffset(s), n = (r - e / V.hour + 24) % 24;
554
554
  if (s += e, [
555
555
  2,
556
556
  3,
@@ -558,7 +558,7 @@ var { pageLang: ve, win: U } = t, ye = t.isSafari && U.Intl && !U.Intl.DateTimeF
558
558
  9,
559
559
  10,
560
560
  11
561
- ].indexOf(t) !== -1 && (r < 5 || r > 20)) {
561
+ ].indexOf(t) !== -1 && (n < 5 || n > 20)) {
562
562
  let t = this.getTimezoneOffset(s);
563
563
  e === t ? e - 36e5 === this.getTimezoneOffset(s - 36e5) && !ye && (s -= 36e5) : s += t - e;
564
564
  }
@@ -566,30 +566,30 @@ var { pageLang: ve, win: U } = t, ye = t.isSafari && U.Intl && !U.Intl.DateTimeF
566
566
  return s;
567
567
  }
568
568
  parse(e) {
569
- if (!D(e)) return e ?? void 0;
569
+ if (!O(e)) return e ?? void 0;
570
570
  e = e.replace(/\//g, "-").replace(/(GMT|UTC)/, "");
571
571
  let t = e.indexOf("Z") > -1 || /([+-][0-9]{2}):?[0-9]{2}$/.test(e), n = /^[0-9]{4}-[0-9]{2}(-[0-9]{2}|)$/.test(e);
572
572
  !t && !n && (e += "Z");
573
573
  let r = Date.parse(e);
574
- if (E(r)) return r + (!t || n ? this.getTimezoneOffset(r) : 0);
574
+ if (D(r)) return r + (!t || n ? this.getTimezoneOffset(r) : 0);
575
575
  }
576
576
  getTimezoneOffset(e) {
577
577
  if (this.timezone !== "UTC") {
578
578
  let [t, n, r, i, a = 0] = this.dateTimeFormat({ timeZoneName: "shortOffset" }, e, "en").split(/(GMT|:)/).map(Number), o = -(r + a / 60) * 60 * 6e4;
579
- if (E(o)) return o;
579
+ if (D(o)) return o;
580
580
  }
581
581
  return 0;
582
582
  }
583
583
  dateFormat(e, n, r) {
584
584
  let i = this.lang;
585
585
  if (!h(n) || isNaN(n)) return i?.invalidDate || "";
586
- if (e ??= "%Y-%m-%d %H:%M:%S", D(e)) {
586
+ if (e ??= "%Y-%m-%d %H:%M:%S", O(e)) {
587
587
  let t = /%\[([a-zA-Z]+)\]/g, r;
588
588
  for (; r = t.exec(e);) e = e.replace(r[0], this.dateTimeFormat(r[1], n, i?.locale));
589
589
  }
590
- if (D(e) && e.indexOf("%") !== -1) {
590
+ if (O(e) && e.indexOf("%") !== -1) {
591
591
  let r = this, [a, o, s, c, l, u, d, f] = this.toParts(n), p = i?.weekdays || this.weekdays, m = i?.shortWeekdays || this.shortWeekdays, h = i?.months || this.months, g = i?.shortMonths || this.shortMonths;
592
- j(b({
592
+ M(b({
593
593
  a: m ? m[f] : p[f].substr(0, 3),
594
594
  A: p[f],
595
595
  d: N(s),
@@ -612,16 +612,16 @@ var { pageLang: ve, win: U } = t, ye = t.isSafari && U.Intl && !U.Intl.DateTimeF
612
612
  S: N(u),
613
613
  L: N(d, 3)
614
614
  }, t.dateFormats), function(t, i) {
615
- if (D(e)) for (; e.indexOf("%" + i) !== -1;) e = e.replace("%" + i, typeof t == "function" ? t.call(r, n, r) : t);
615
+ if (O(e)) for (; e.indexOf("%" + i) !== -1;) e = e.replace("%" + i, typeof t == "function" ? t.call(r, n, r) : t);
616
616
  });
617
- } else if (k(e)) {
617
+ } else if (A(e)) {
618
618
  let t = (this.getTimezoneOffset(n) || 0) / 36e5, r = this.timezone || "Etc/GMT" + (t >= 0 ? "+" : "") + t, { prefix: i = "", suffix: a = "" } = e;
619
619
  e = i + this.dateTimeFormat(b({ timeZone: r }, e), n) + a;
620
620
  }
621
- return r ? R(e) : e;
621
+ return r ? L(e) : e;
622
622
  }
623
623
  resolveDTLFormat(e) {
624
- return k(e, !0) ? k(e, !0) && be(e) ? { main: e } : e : (e = L(e), {
624
+ return A(e, !0) ? A(e, !0) && be(e) ? { main: e } : e : (e = I(e), {
625
625
  main: e[0],
626
626
  from: e[1],
627
627
  to: e[2]
@@ -920,7 +920,7 @@ function Ce() {
920
920
  return G;
921
921
  }
922
922
  function we(e) {
923
- return x(t, "setOptions", { options: e }), A(!0, G, e), e.time && K.update(G.time), e.lang && "locale" in e.lang && K.update({ locale: e.lang.locale }), e.lang?.chartTitle && (G.title = {
923
+ return x(t, "setOptions", { options: e }), j(!0, G, e), e.time && K.update(G.time), e.lang && "locale" in e.lang && K.update({ locale: e.lang.locale }), e.lang?.chartTitle && (G.title = {
924
924
  ...G.title,
925
925
  text: e.lang.chartTitle
926
926
  }), G;
@@ -930,7 +930,7 @@ var Te = {
930
930
  defaultTime: K,
931
931
  getOptions: Ce,
932
932
  setOptions: we
933
- }, { win: Ee } = t, q = (e, t, n) => n === 0 ? e : n === 1 ? t : `color-mix(in srgb,${e},${t} ${n * 100}%)`, J = (e) => D(e) && !!e && e !== "none", Y = class e {
933
+ }, { win: Ee } = t, q = (e, t, n) => n === 0 ? e : n === 1 ? t : `color-mix(in srgb,${e},${t} ${n * 100}%)`, J = (e) => O(e) && !!e && e !== "none", Y = class e {
934
934
  static parse(t) {
935
935
  return t ? new e(t) : e.None;
936
936
  }
@@ -952,28 +952,30 @@ var Te = {
952
952
  let t = this.input, n = this.rgba;
953
953
  if (this.output) return this.output;
954
954
  if (typeof t == "object" && this.stops !== void 0) {
955
- let n = A(t);
955
+ let n = j(t);
956
956
  return n.stops = [].slice.call(n.stops), this.stops.forEach((t, r) => {
957
957
  n.stops[r] = [n.stops[r][0], t.get(e)];
958
958
  }), n;
959
959
  }
960
- return n && E(n[0]) ? e === "rgb" || !e && n[3] === 1 ? "rgb(" + n[0] + "," + n[1] + "," + n[2] + ")" : e === "a" ? `${n[3]}` : "rgba(" + n.join(",") + ")" : t;
960
+ return n && D(n[0]) ? e === "rgb" || !e && n[3] === 1 ? "rgb(" + n[0] + "," + n[1] + "," + n[2] + ")" : e === "a" ? `${n[3]}` : "rgba(" + n.join(",") + ")" : t;
961
961
  }
962
962
  brighten(t) {
963
963
  let n = this.rgba;
964
964
  if (this.stops) this.stops.forEach(function(e) {
965
965
  e.brighten(t);
966
966
  });
967
- else if (E(t) && t !== 0) if (E(n[0])) for (let e = 0; e < 3; e++) n[e] += F(t * 255), n[e] < 0 && (n[e] = 0), n[e] > 255 && (n[e] = 255);
968
- else e.useColorMix && J(this.input) && (this.output = q(this.input, t > 0 ? "white" : "black", Math.abs(t)));
967
+ else if (D(t) && t !== 0) {
968
+ if (D(n[0])) for (let e = 0; e < 3; e++) n[e] += P(t * 255), n[e] < 0 && (n[e] = 0), n[e] > 255 && (n[e] = 255);
969
+ else e.useColorMix && J(this.input) && (this.output = q(this.input, t > 0 ? "white" : "black", Math.abs(t)));
970
+ }
969
971
  return this;
970
972
  }
971
973
  setOpacity(t) {
972
- return E(this.rgba[0]) ? this.rgba[3] = t : e.useColorMix && J(this.input) && (this.output = q(this.input, "#0000", 1 - t)), this;
974
+ return D(this.rgba[0]) ? this.rgba[3] = t : e.useColorMix && J(this.input) && (this.output = q(this.input, "#0000", 1 - t)), this;
973
975
  }
974
976
  tweenTo(t, n) {
975
977
  let r = this.rgba, i = t.rgba;
976
- if (!E(r[0]) || !E(i[0])) return e.useColorMix && J(this.input) && J(t.input) && n < .99 ? q(this.input, t.input, n) : t.input || "none";
978
+ if (!D(r[0]) || !D(i[0])) return e.useColorMix && J(this.input) && J(t.input) && n < .99 ? q(this.input, t.input, n) : t.input || "none";
977
979
  let a = i[3] !== 1 || r[3] !== 1, o = (e, t) => e + (r[t] - e) * (1 - n), s = i.slice(0, 3).map(o).map(Math.round);
978
980
  return a && s.push(o(i[3], 3)), (a ? "rgba(" : "rgb(") + s.join(",") + ")";
979
981
  }
@@ -986,9 +988,9 @@ Y.names = {
986
988
  regex: /rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d?(?:\.\d+)?)\s*\)/,
987
989
  parse: function(e) {
988
990
  return [
989
- F(e[1]),
990
- F(e[2]),
991
- F(e[3]),
991
+ P(e[1]),
992
+ P(e[2]),
993
+ P(e[3]),
992
994
  parseFloat(e[4], 10)
993
995
  ];
994
996
  }
@@ -997,9 +999,9 @@ Y.names = {
997
999
  regex: /rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/,
998
1000
  parse: function(e) {
999
1001
  return [
1000
- F(e[1]),
1001
- F(e[2]),
1002
- F(e[3]),
1002
+ P(e[1]),
1003
+ P(e[2]),
1004
+ P(e[3]),
1003
1005
  1
1004
1006
  ];
1005
1007
  }
@@ -1008,10 +1010,10 @@ Y.names = {
1008
1010
  regex: /^#([a-f0-9])([a-f0-9])([a-f0-9])([a-f0-9])?$/i,
1009
1011
  parse: function(e) {
1010
1012
  return [
1011
- F(e[1] + e[1], 16),
1012
- F(e[2] + e[2], 16),
1013
- F(e[3] + e[3], 16),
1014
- h(e[4]) ? F(e[4] + e[4], 16) / 255 : 1
1013
+ P(e[1] + e[1], 16),
1014
+ P(e[2] + e[2], 16),
1015
+ P(e[3] + e[3], 16),
1016
+ h(e[4]) ? P(e[4] + e[4], 16) / 255 : 1
1015
1017
  ];
1016
1018
  }
1017
1019
  },
@@ -1019,10 +1021,10 @@ Y.names = {
1019
1021
  regex: /^#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})?$/i,
1020
1022
  parse: function(e) {
1021
1023
  return [
1022
- F(e[1], 16),
1023
- F(e[2], 16),
1024
- F(e[3], 16),
1025
- h(e[4]) ? F(e[4], 16) / 255 : 1
1024
+ P(e[1], 16),
1025
+ P(e[2], 16),
1026
+ P(e[3], 16),
1027
+ h(e[4]) ? P(e[4], 16) / 255 : 1
1026
1028
  ];
1027
1029
  }
1028
1030
  }
@@ -1040,7 +1042,7 @@ var { parse: X } = Y, { win: De } = t, Z = class e {
1040
1042
  let a = t[e], o = n[e], s = [];
1041
1043
  for (let e = 0; e < o.length; e++) {
1042
1044
  let t = a[e], n = o[e];
1043
- E(t) && E(n) && (o[0] !== "A" || e !== 4 && e !== 5) ? s[e] = t + r * (n - t) : s[e] = n;
1045
+ D(t) && D(n) && (o[0] !== "A" || e !== 4 && e !== 5) ? s[e] = t + r * (n - t) : s[e] = n;
1044
1046
  }
1045
1047
  i.push(s);
1046
1048
  }
@@ -1048,23 +1050,21 @@ var { parse: X } = Y, { win: De } = t, Z = class e {
1048
1050
  this.elem.attr("d", i, void 0, !0);
1049
1051
  }
1050
1052
  update() {
1051
- let e = this.elem, t = this.prop, n = this.now, r = this.options.step;
1052
- this[t + "Setter"] ? this[t + "Setter"]() : e.attr ? e.element && e.attr(t, n, null, !0) : e.style[t] = n + this.unit, r && r.call(e, n, this);
1053
+ let e = this.elem, t = this.prop, n = this.now ?? 1, r = this.options.step;
1054
+ this[t + "Setter"] ? this[t + "Setter"]() : e && e.attr ? e.element && e.attr(t, n, void 0, !0) : e && (e.style[t] = n + (this.unit || "")), r?.call(e, n, this);
1053
1055
  }
1054
1056
  run(t, n, r) {
1055
- let i = this, a = i.options, o = function(e) {
1056
- return !o.stopped && i.step(e);
1057
- }, s = De.requestAnimationFrame || function(e) {
1057
+ let { elem: i, options: a } = this, { complete: o, curAnim: s = {} } = a, c = (e) => !c.stopped && this.step(e), l = De.requestAnimationFrame || function(e) {
1058
1058
  setTimeout(e, 13);
1059
- }, c = function() {
1059
+ }, u = () => {
1060
1060
  for (let t = 0; t < e.timers.length; t++) e.timers[t]() || e.timers.splice(t--, 1);
1061
- e.timers.length && s(c);
1061
+ e.timers.length && l(u);
1062
1062
  };
1063
- t === n && !this.elem["forceAnimate:" + this.prop] ? (delete a.curAnim[this.prop], a.complete && Object.keys(a.curAnim).length === 0 && a.complete.call(this.elem)) : (this.startTime = +/* @__PURE__ */ new Date(), this.start = t, this.end = n, this.unit = r, this.now = this.start, this.pos = 0, o.elem = this.elem, o.prop = this.prop, o() && e.timers.push(o) === 1 && s(c));
1063
+ t === n && !i["forceAnimate:" + this.prop] ? (delete s[this.prop], o && Object.keys(s).length === 0 && o.call(i)) : (this.startTime = +/* @__PURE__ */ new Date(), this.start = t, this.end = n, this.unit = r, this.now = this.start, this.pos = 0, c.elem = i, c.prop = this.prop, c() && e.timers.push(c) === 1 && l(u));
1064
1064
  }
1065
1065
  step(e) {
1066
1066
  let t = +/* @__PURE__ */ new Date(), n = this.options, r = this.elem, i = n.complete, a = n.duration, o = n.curAnim, s, c;
1067
- return r.attr && !r.element ? s = !1 : e || t >= a + this.startTime ? (this.now = this.end, this.pos = 1, this.update(), o[this.prop] = !0, c = !0, j(o, function(e) {
1067
+ return r?.attr && !r.element ? s = !1 : e || t >= a + this.startTime ? (this.now = this.end, this.pos = 1, this.update(), o[this.prop] = !0, c = !0, M(o, function(e) {
1068
1068
  e !== !0 && (c = !1);
1069
1069
  }), c && i && i.call(r), s = !1) : (this.pos = n.easing((t - this.startTime) / a), this.now = this.start + (this.end - this.start) * this.pos, this.update(), s = !0), s;
1070
1070
  }
@@ -1115,7 +1115,7 @@ var { parse: X } = Y, { win: De } = t, Z = class e {
1115
1115
  }
1116
1116
  l === void 0 && (p = []);
1117
1117
  }
1118
- return p.length && E(l) && (u = a.length + l * s, f ? (m(p, a), h(a)) : (m(a, p), h(p))), [p, a];
1118
+ return p.length && D(l) && (u = a.length + l * s, f ? (m(p, a), h(a)) : (m(a, p), h(p))), [p, a];
1119
1119
  }
1120
1120
  fillSetter() {
1121
1121
  e.prototype.strokeSetter.apply(this, arguments);
@@ -1128,10 +1128,10 @@ Z.timers = [];
1128
1128
  //#endregion
1129
1129
  //#region node_modules/highcharts/es-modules/Core/Animation/AnimationUtilities.js
1130
1130
  function Oe(e, t) {
1131
- t.renderer.globalAnimation = P(e, t.options.chart.animation, !0);
1131
+ t.renderer.globalAnimation = e ?? t.options.chart.animation ?? !0;
1132
1132
  }
1133
1133
  function Q(e) {
1134
- return k(e) ? A({
1134
+ return A(e) ? j({
1135
1135
  duration: 500,
1136
1136
  defer: 0
1137
1137
  }, e) : {
@@ -1143,34 +1143,25 @@ function ke(e, t, n) {
1143
1143
  let r = Q(t), i = n ? [n] : e.series, a = 0, o = 0;
1144
1144
  return i.forEach((e) => {
1145
1145
  let n = Q(e.options.animation);
1146
- a = k(t) && h(t.defer) ? r.defer : Math.max(a, n.duration + n.defer), o = Math.min(r.duration, n.duration);
1146
+ a = A(t) && h(t.defer) ? r.defer : Math.max(a, n.duration + n.defer), o = Math.min(r.duration, n.duration);
1147
1147
  }), e.renderer.forExport && (a = 0), {
1148
1148
  defer: Math.max(0, a - o),
1149
1149
  duration: Math.min(a, o)
1150
1150
  };
1151
1151
  }
1152
- function Ae(e, t, n) {
1153
- let r, i = "", a, o, s;
1154
- k(n) || (s = arguments, n = {
1155
- duration: s[2],
1156
- easing: s[3],
1157
- complete: s[4]
1158
- }), E(n.duration) || (n.duration = 400), n.easing = typeof n.easing == "function" ? n.easing : Math[n.easing] || Math.easeInOutSine, n.curAnim = A(t), j(t, function(s, c) {
1159
- $(e, c), o = new Z(e, n, c), a = void 0, c === "d" && O(t.d) ? (o.paths = o.initPath(e, e.pathArray, t.d), o.toD = t.d, r = 0, a = 1) : e.attr ? r = e.attr(c) : (r = parseFloat(C(e, c)) || 0, c !== "opacity" && (i = "px")), a ||= s, typeof a == "string" && a.match("px") && (a = a.replace(/px/g, "")), o.run(r, a, i);
1152
+ function Ae(e, t = { pos: 1 }, n) {
1153
+ A(n) || (n = {
1154
+ duration: arguments[2],
1155
+ easing: arguments[3],
1156
+ complete: arguments[4]
1157
+ }), D(n.duration) || (n.duration = 400), n.easing = typeof n.easing == "function" ? n.easing : Math[n.easing] || Math.easeInOutSine, n.curAnim = j(t), M(t, (r, i) => {
1158
+ e && $(e, i);
1159
+ let a = new Z(e, n, i), o = t.d, s = i === "dashstyle", c = 0, l, u = "";
1160
+ i === "d" && k(o) ? (a.paths = a.initPath(e, e.pathArray, o), a.toD = o, l = 1) : e?.attr ? (c = e.attr(i), s && e.attr(i, r)) : e && (c = +(C(e, i) || 0), i !== "opacity" && (u = "px")), l ||= r, typeof l == "string" && l.match("px") && (l = l.replace(/px/g, "")), h(l) && !s && a.run(c, l, u);
1160
1161
  });
1161
1162
  }
1162
- function $(e, t) {
1163
- let n = Z.timers.length;
1164
- for (; n--;) Z.timers[n].elem === e && (!t || t === Z.timers[n].prop) && (Z.timers[n].stopped = !0);
1165
- }
1166
- var je = {
1167
- animate: Ae,
1168
- animObject: Q,
1169
- getDeferredAnimation: ke,
1170
- setAnimation: Oe,
1171
- stop: $
1172
- };
1163
+ var $ = (e, t) => Z.timers.forEach((n) => {
1164
+ n.elem === e && (!t || t === n.prop) && (n.stopped = !0);
1165
+ });
1173
1166
  //#endregion
1174
- export { ue as $, te as A, E as B, v as C, ee as D, b as E, ae as F, j as G, D as H, O as I, N as J, M as K, T as L, S as M, re as N, ie as O, C as P, I as Q, w as R, g as S, y as T, A as U, k as V, se as W, ce as X, P as Y, le as Z, d as _, Te as a, r as at, m as b, he as c, _e as d, L as et, o as f, u as g, l as h, Y as i, pe as it, ne as j, x as k, V as l, s as m, je as n, fe as nt, W as o, t as ot, c as p, F as q, Z as r, R as rt, B as s, Q as t, de as tt, ge as u, f as v, _ as w, h as x, p as y, oe as z };
1175
-
1176
- //# sourceMappingURL=AnimationUtilities-Bby2idBR.js.map
1167
+ export { le as $, ee as A, E as B, m as C, _ as D, v as E, S as F, O as G, ae as H, re as I, M as J, j as K, C as L, x as M, te as N, y as O, ne as P, ce as Q, ie as R, p as S, g as T, D as U, T as V, A as W, P as X, se as Y, N as Z, s as _, $ as a, pe as at, d as b, Te as c, r as ct, he as d, ue as et, V as f, c as g, o as h, Oe as i, fe as it, w as j, b as k, W as l, t as lt, _e as m, Ae as n, de as nt, Z as o, L as ot, ge as p, oe as q, ke as r, I as rt, Y as s, me as st, Q as t, F as tt, B as u, l as v, h as w, f as x, u as y, k as z };