@orbcharts/core 3.0.0-beta.10 → 3.0.0-beta.11

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.
@@ -14,7 +14,19 @@ const Ae = {
14
14
  colorScheme: "light",
15
15
  colors: {
16
16
  light: {
17
- label: ["#67B7DC", "#6794DC", "#6771DC", "#8067DC", "#A367DC", "#C767DC", "#DC67CE", "#DC67AB", "#DC6788", "#DC6967", "#DC8C67", "#DCAF67"],
17
+ label: [
18
+ "#6CBAFF",
19
+ "#FF6C6C",
20
+ "#F9B052",
21
+ "#7DD3C4",
22
+ "#AA93D2",
23
+ "#0088FF",
24
+ "#FFBABA",
25
+ "#86DC72",
26
+ "#EF76FF",
27
+ "#C4C4C4"
28
+ ],
29
+ // label: ['#67B7DC', '#6794DC', '#6771DC', '#8067DC', '#A367DC', '#C767DC', '#DC67CE', '#DC67AB', '#DC6788', '#DC6967', '#DC8C67', '#DCAF67'],
18
30
  // label: ['#F3A356', '#7A60F0', '#38B1AF', '#60A2F0', '#F06062', '#FF383C', '#6580EA', '#079F9C', '#9F65EA', '#EA7465', '#EA7465', '#8657D2', '#59B757', '#2797FF', '#D25786', '#F54BA6', '#4BECF5', '#74FD72', '#CA4BF5', '#EFE26E'],
19
31
  // label: ['#60A2F0', '#F3A356', '#7A60F0', '#38B1AF', '#F06062', '#FF383C', '#6580EA', '#079F9C', '#9F65EA', '#EA7465', '#EA7465', '#8657D2', '#59B757', '#2797FF', '#D25786', '#F54BA6', '#4BECF5', '#74FD72', '#CA4BF5', '#EFE26E'],
20
32
  // primary: '#454545',
@@ -25,7 +37,19 @@ const Ae = {
25
37
  background: "#ffffff"
26
38
  },
27
39
  dark: {
28
- label: ["#67B7DC", "#6794DC", "#6771DC", "#8067DC", "#A367DC", "#C767DC", "#DC67CE", "#DC67AB", "#DC6788", "#DC6967", "#DC8C67", "#DCAF67"],
40
+ label: [
41
+ "#6CBAFF",
42
+ "#FF6C6C",
43
+ "#F9B052",
44
+ "#7DD3C4",
45
+ "#AA93D2",
46
+ "#0088FF",
47
+ "#FFBABA",
48
+ "#86DC72",
49
+ "#EF76FF",
50
+ "#C4C4C4"
51
+ ],
52
+ // label: ['#67B7DC', '#6794DC', '#6771DC', '#8067DC', '#A367DC', '#C767DC', '#DC67CE', '#DC67AB', '#DC6788', '#DC6967', '#DC8C67', '#DCAF67'],
29
53
  // label: ['#67B7DC', '#6794DC', '#38B1AF', '#6771DC', '#8067DC', '#A367DC', '#C767DC', '#DC67CE', '#DC67AB', '#DC6788', '#DC6967', '#DC8C67', '#DCAF67'],
30
54
  // label: ['#60A2F0', '#F3A356', '#7A60F0', '#38B1AF', '#F06062', '#FF383C', '#6580EA', '#079F9C', '#9F65EA', '#EA7465', '#EA7465', '#8657D2', '#59B757', '#2797FF', '#D25786', '#F54BA6', '#4BECF5', '#74FD72', '#CA4BF5', '#EFE26E'],
31
55
  primary: "#f0f0f0",
@@ -42,7 +66,7 @@ const Ae = {
42
66
  },
43
67
  transitionDuration: 800,
44
68
  transitionEase: "easeCubic"
45
- }, Mi = 800, Ti = 500, jc = [], Wc = [], Jc = [], Kc = [], Zc = [], Qc = {
69
+ }, Ti = 800, Ci = 500, jc = [], Wc = [], Jc = [], Kc = [], Zc = [], Qc = {
46
70
  nodes: [],
47
71
  edges: []
48
72
  }, Y = {
@@ -611,10 +635,10 @@ function ba(t, e) {
611
635
  for (var a = i.length, o = new Array(a), s = new Array(a), u = new Array(a), l = 0; l < a; ++l) {
612
636
  var c = r[l], f = i[l], h = f.length, p = xa(t.call(c, c && c.__data__, l, r)), m = p.length, d = s[l] = new Array(m), v = o[l] = new Array(m), D = u[l] = new Array(h);
613
637
  n(c, f, d, v, D, p, e);
614
- for (var A = 0, $ = 0, T, _; A < m; ++A)
615
- if (T = d[A]) {
638
+ for (var A = 0, $ = 0, C, _; A < m; ++A)
639
+ if (C = d[A]) {
616
640
  for (A >= $ && ($ = A + 1); !(_ = v[$]) && ++$ < m; ) ;
617
- T._next = _ || null;
641
+ C._next = _ || null;
618
642
  }
619
643
  }
620
644
  return o = new H(o, r), o._enter = s, o._exit = u, o;
@@ -658,14 +682,14 @@ function Aa(t) {
658
682
  function Sa(t, e) {
659
683
  return t < e ? -1 : t > e ? 1 : t >= e ? 0 : NaN;
660
684
  }
661
- function Ca() {
685
+ function Ma() {
662
686
  var t = arguments[0];
663
687
  return arguments[0] = this, t.apply(null, arguments), this;
664
688
  }
665
- function Ma() {
689
+ function Ta() {
666
690
  return Array.from(this);
667
691
  }
668
- function Ta() {
692
+ function Ca() {
669
693
  for (var t = this._groups, e = 0, n = t.length; e < n; ++e)
670
694
  for (var r = t[e], i = 0, a = r.length; i < a; ++i) {
671
695
  var o = r[i];
@@ -967,10 +991,10 @@ function So(t, e) {
967
991
  return gr(this, t, e.apply(this, arguments));
968
992
  };
969
993
  }
970
- function Co(t, e) {
994
+ function Mo(t, e) {
971
995
  return this.each((typeof e == "function" ? So : Ao)(t, e));
972
996
  }
973
- function* Mo() {
997
+ function* To() {
974
998
  for (var t = this._groups, e = 0, n = t.length; e < n; ++e)
975
999
  for (var r = t[e], i = 0, a = r.length, o; i < a; ++i)
976
1000
  (o = r[i]) && (yield o);
@@ -982,7 +1006,7 @@ function H(t, e) {
982
1006
  function Ht() {
983
1007
  return new H([[document.documentElement]], yr);
984
1008
  }
985
- function To() {
1009
+ function Co() {
986
1010
  return this;
987
1011
  }
988
1012
  H.prototype = Ht.prototype = {
@@ -997,12 +1021,12 @@ H.prototype = Ht.prototype = {
997
1021
  exit: wa,
998
1022
  join: Da,
999
1023
  merge: $a,
1000
- selection: To,
1024
+ selection: Co,
1001
1025
  order: _a,
1002
1026
  sort: Aa,
1003
- call: Ca,
1004
- nodes: Ma,
1005
- node: Ta,
1027
+ call: Ma,
1028
+ nodes: Ta,
1029
+ node: Ca,
1006
1030
  size: Fa,
1007
1031
  empty: La,
1008
1032
  each: Ea,
@@ -1020,8 +1044,8 @@ H.prototype = Ht.prototype = {
1020
1044
  clone: vo,
1021
1045
  datum: bo,
1022
1046
  on: _o,
1023
- dispatch: Co,
1024
- [Symbol.iterator]: Mo
1047
+ dispatch: Mo,
1048
+ [Symbol.iterator]: To
1025
1049
  };
1026
1050
  function Wt(t) {
1027
1051
  return typeof t == "string" ? new H([[document.querySelector(t)]], [document.documentElement]) : new H([[t]], yr);
@@ -1398,7 +1422,7 @@ function Wo(t, e) {
1398
1422
  return r;
1399
1423
  };
1400
1424
  }
1401
- var ke = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, Ce = new RegExp(ke.source, "g");
1425
+ var ke = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, Me = new RegExp(ke.source, "g");
1402
1426
  function Jo(t) {
1403
1427
  return function() {
1404
1428
  return t;
@@ -1410,9 +1434,9 @@ function Ko(t) {
1410
1434
  };
1411
1435
  }
1412
1436
  function wr(t, e) {
1413
- var n = ke.lastIndex = Ce.lastIndex = 0, r, i, a, o = -1, s = [], u = [];
1414
- for (t = t + "", e = e + ""; (r = ke.exec(t)) && (i = Ce.exec(e)); )
1415
- (a = i.index) > n && (a = e.slice(n, a), s[o] ? s[o] += a : s[++o] = a), (r = r[0]) === (i = i[0]) ? s[o] ? s[o] += i : s[++o] = i : (s[++o] = null, u.push({ i: o, x: W(r, i) })), n = Ce.lastIndex;
1437
+ var n = ke.lastIndex = Me.lastIndex = 0, r, i, a, o = -1, s = [], u = [];
1438
+ for (t = t + "", e = e + ""; (r = ke.exec(t)) && (i = Me.exec(e)); )
1439
+ (a = i.index) > n && (a = e.slice(n, a), s[o] ? s[o] += a : s[++o] = a), (r = r[0]) === (i = i[0]) ? s[o] ? s[o] += i : s[++o] = i : (s[++o] = null, u.push({ i: o, x: W(r, i) })), n = Me.lastIndex;
1416
1440
  return n < e.length && (a = e.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? u[0] ? Ko(u[0].x) : Jo(e) : (e = u.length, function(l) {
1417
1441
  for (var c = 0, f; c < e; ++c) s[(f = u[c]).i] = f.x(l);
1418
1442
  return s.join("");
@@ -1484,7 +1508,7 @@ function $r(t, e, n, r) {
1484
1508
  };
1485
1509
  };
1486
1510
  }
1487
- var es = $r(Qo, "px, ", "px)", "deg)"), ns = $r(ts, ", ", ")", ")"), Ct = 0, Nt = 0, kt = 0, _r = 1e3, fe, Rt, he = 0, yt = 0, we = 0, Xt = typeof performance == "object" && performance.now ? performance : Date, Ar = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(t) {
1511
+ var es = $r(Qo, "px, ", "px)", "deg)"), ns = $r(ts, ", ", ")", ")"), Mt = 0, Nt = 0, kt = 0, _r = 1e3, fe, Rt, he = 0, yt = 0, we = 0, Xt = typeof performance == "object" && performance.now ? performance : Date, Ar = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(t) {
1488
1512
  setTimeout(t, 17);
1489
1513
  };
1490
1514
  function Je() {
@@ -1511,17 +1535,17 @@ function Sr(t, e, n) {
1511
1535
  return r.restart(t, e, n), r;
1512
1536
  }
1513
1537
  function is() {
1514
- Je(), ++Ct;
1538
+ Je(), ++Mt;
1515
1539
  for (var t = fe, e; t; )
1516
1540
  (e = yt - t._time) >= 0 && t._call.call(void 0, e), t = t._next;
1517
- --Ct;
1541
+ --Mt;
1518
1542
  }
1519
- function Cn() {
1520
- yt = (he = Xt.now()) + we, Ct = Nt = 0;
1543
+ function Mn() {
1544
+ yt = (he = Xt.now()) + we, Mt = Nt = 0;
1521
1545
  try {
1522
1546
  is();
1523
1547
  } finally {
1524
- Ct = 0, os(), yt = 0;
1548
+ Mt = 0, os(), yt = 0;
1525
1549
  }
1526
1550
  }
1527
1551
  function as() {
@@ -1534,19 +1558,19 @@ function os() {
1534
1558
  Rt = t, Re(r);
1535
1559
  }
1536
1560
  function Re(t) {
1537
- if (!Ct) {
1561
+ if (!Mt) {
1538
1562
  Nt && (Nt = clearTimeout(Nt));
1539
1563
  var e = t - yt;
1540
- e > 24 ? (t < 1 / 0 && (Nt = setTimeout(Cn, t - Xt.now() - we)), kt && (kt = clearInterval(kt))) : (kt || (he = Xt.now(), kt = setInterval(as, _r)), Ct = 1, Ar(Cn));
1564
+ e > 24 ? (t < 1 / 0 && (Nt = setTimeout(Mn, t - Xt.now() - we)), kt && (kt = clearInterval(kt))) : (kt || (he = Xt.now(), kt = setInterval(as, _r)), Mt = 1, Ar(Mn));
1541
1565
  }
1542
1566
  }
1543
- function Mn(t, e, n) {
1567
+ function Tn(t, e, n) {
1544
1568
  var r = new pe();
1545
1569
  return e = e == null ? 0 : +e, r.restart((i) => {
1546
1570
  r.stop(), t(i + e);
1547
1571
  }, e, n), r;
1548
1572
  }
1549
- var ss = ar("start", "end", "cancel", "interrupt"), us = [], Cr = 0, Tn = 1, Be = 2, re = 3, Fn = 4, Ie = 5, ie = 6;
1573
+ var ss = ar("start", "end", "cancel", "interrupt"), us = [], Mr = 0, Cn = 1, Be = 2, re = 3, Fn = 4, Ie = 5, ie = 6;
1550
1574
  function De(t, e, n, r, i, a) {
1551
1575
  var o = t.__transition;
1552
1576
  if (!o) t.__transition = {};
@@ -1564,12 +1588,12 @@ function De(t, e, n, r, i, a) {
1564
1588
  duration: a.duration,
1565
1589
  ease: a.ease,
1566
1590
  timer: null,
1567
- state: Cr
1591
+ state: Mr
1568
1592
  });
1569
1593
  }
1570
1594
  function Ke(t, e) {
1571
1595
  var n = K(t, e);
1572
- if (n.state > Cr) throw new Error("too late; already scheduled");
1596
+ if (n.state > Mr) throw new Error("too late; already scheduled");
1573
1597
  return n;
1574
1598
  }
1575
1599
  function Q(t, e) {
@@ -1586,17 +1610,17 @@ function ls(t, e, n) {
1586
1610
  var r = t.__transition, i;
1587
1611
  r[e] = n, n.timer = Sr(a, 0, n.time);
1588
1612
  function a(l) {
1589
- n.state = Tn, n.timer.restart(o, n.delay, n.time), n.delay <= l && o(l - n.delay);
1613
+ n.state = Cn, n.timer.restart(o, n.delay, n.time), n.delay <= l && o(l - n.delay);
1590
1614
  }
1591
1615
  function o(l) {
1592
1616
  var c, f, h, p;
1593
- if (n.state !== Tn) return u();
1617
+ if (n.state !== Cn) return u();
1594
1618
  for (c in r)
1595
1619
  if (p = r[c], p.name === n.name) {
1596
- if (p.state === re) return Mn(o);
1620
+ if (p.state === re) return Tn(o);
1597
1621
  p.state === Fn ? (p.state = ie, p.timer.stop(), p.on.call("interrupt", t, t.__data__, p.index, p.group), delete r[c]) : +c < e && (p.state = ie, p.timer.stop(), p.on.call("cancel", t, t.__data__, p.index, p.group), delete r[c]);
1598
1622
  }
1599
- if (Mn(function() {
1623
+ if (Tn(function() {
1600
1624
  n.state === re && (n.state = Fn, n.timer.restart(s, n.delay, n.time), s(l));
1601
1625
  }), n.state = Be, n.on.call("start", t, t.__data__, n.index, n.group), n.state === Be) {
1602
1626
  for (n.state = re, i = new Array(h = n.tween.length), c = 0, f = -1; c < h; ++c)
@@ -1685,7 +1709,7 @@ function Ze(t, e, n) {
1685
1709
  return K(i, r).value[e];
1686
1710
  };
1687
1711
  }
1688
- function Mr(t, e) {
1712
+ function Tr(t, e) {
1689
1713
  var n;
1690
1714
  return (typeof e == "number" ? W : e instanceof gt ? ce : (n = gt(e)) ? (e = n, ce) : wr)(t, e);
1691
1715
  }
@@ -1728,7 +1752,7 @@ function xs(t, e, n) {
1728
1752
  };
1729
1753
  }
1730
1754
  function ws(t, e) {
1731
- var n = xe(t), r = n === "transform" ? ns : Mr;
1755
+ var n = xe(t), r = n === "transform" ? ns : Tr;
1732
1756
  return this.attrTween(t, typeof e == "function" ? (n.local ? xs : bs)(n, r, Ze(this, "attr." + t, e)) : e == null ? (n.local ? gs : ds)(n) : (n.local ? vs : ys)(n, r, e));
1733
1757
  }
1734
1758
  function Ds(t, e) {
@@ -1765,19 +1789,19 @@ function Ss(t, e) {
1765
1789
  var r = xe(t);
1766
1790
  return this.tween(n, (r.local ? _s : As)(r, e));
1767
1791
  }
1768
- function Cs(t, e) {
1792
+ function Ms(t, e) {
1769
1793
  return function() {
1770
1794
  Ke(this, t).delay = +e.apply(this, arguments);
1771
1795
  };
1772
1796
  }
1773
- function Ms(t, e) {
1797
+ function Ts(t, e) {
1774
1798
  return e = +e, function() {
1775
1799
  Ke(this, t).delay = e;
1776
1800
  };
1777
1801
  }
1778
- function Ts(t) {
1802
+ function Cs(t) {
1779
1803
  var e = this._id;
1780
- return arguments.length ? this.each((typeof t == "function" ? Cs : Ms)(e, t)) : K(this.node(), e).delay;
1804
+ return arguments.length ? this.each((typeof t == "function" ? Ms : Ts)(e, t)) : K(this.node(), e).delay;
1781
1805
  }
1782
1806
  function Fs(t, e) {
1783
1807
  return function() {
@@ -1888,7 +1912,7 @@ function js(t, e) {
1888
1912
  return a === o ? null : a === n && o === r ? i : i = e(n = a, r = o);
1889
1913
  };
1890
1914
  }
1891
- function Tr(t) {
1915
+ function Cr(t) {
1892
1916
  return function() {
1893
1917
  this.style.removeProperty(t);
1894
1918
  };
@@ -1910,13 +1934,13 @@ function Js(t, e, n) {
1910
1934
  function Ks(t, e) {
1911
1935
  var n, r, i, a = "style." + e, o = "end." + a, s;
1912
1936
  return function() {
1913
- var u = Q(this, t), l = u.on, c = u.value[a] == null ? s || (s = Tr(e)) : void 0;
1937
+ var u = Q(this, t), l = u.on, c = u.value[a] == null ? s || (s = Cr(e)) : void 0;
1914
1938
  (l !== n || i !== c) && (r = (n = l).copy()).on(o, i = c), u.on = r;
1915
1939
  };
1916
1940
  }
1917
1941
  function Zs(t, e, n) {
1918
- var r = (t += "") == "transform" ? es : Mr;
1919
- return e == null ? this.styleTween(t, js(t, r)).on("end.style." + t, Tr(t)) : typeof e == "function" ? this.styleTween(t, Js(t, r, Ze(this, "style." + t, e))).each(Ks(this._id, t)) : this.styleTween(t, Ws(t, r, e), n).on("end.style." + t, null);
1942
+ var r = (t += "") == "transform" ? es : Tr;
1943
+ return e == null ? this.styleTween(t, js(t, r)).on("end.style." + t, Cr(t)) : typeof e == "function" ? this.styleTween(t, Js(t, r, Ze(this, "style." + t, e))).each(Ks(this._id, t)) : this.styleTween(t, Ws(t, r, e), n).on("end.style." + t, null);
1920
1944
  }
1921
1945
  function Qs(t, e, n) {
1922
1946
  return function(r) {
@@ -2031,7 +2055,7 @@ rt.prototype = {
2031
2055
  textTween: su,
2032
2056
  remove: Ys,
2033
2057
  tween: ms,
2034
- delay: Ts,
2058
+ delay: Cs,
2035
2059
  duration: Es,
2036
2060
  ease: Os,
2037
2061
  easeVarying: Ns,
@@ -2075,7 +2099,7 @@ function me(t, e) {
2075
2099
  +t.slice(n + 1)
2076
2100
  ];
2077
2101
  }
2078
- function Mt(t) {
2102
+ function Tt(t) {
2079
2103
  return t = me(Math.abs(t)), t ? t[1] : NaN;
2080
2104
  }
2081
2105
  function gu(t, e) {
@@ -2168,39 +2192,39 @@ function wu(t) {
2168
2192
  var e = t.grouping === void 0 || t.thousands === void 0 ? Pn : gu(On.call(t.grouping, Number), t.thousands + ""), n = t.currency === void 0 ? "" : t.currency[0] + "", r = t.currency === void 0 ? "" : t.currency[1] + "", i = t.decimal === void 0 ? "." : t.decimal + "", a = t.numerals === void 0 ? Pn : yu(On.call(t.numerals, String)), o = t.percent === void 0 ? "%" : t.percent + "", s = t.minus === void 0 ? "−" : t.minus + "", u = t.nan === void 0 ? "NaN" : t.nan + "";
2169
2193
  function l(f) {
2170
2194
  f = de(f);
2171
- var h = f.fill, p = f.align, m = f.sign, d = f.symbol, v = f.zero, D = f.width, A = f.comma, $ = f.precision, T = f.trim, _ = f.type;
2172
- _ === "n" ? (A = !0, _ = "g") : En[_] || ($ === void 0 && ($ = 12), T = !0, _ = "g"), (v || h === "0" && p === "=") && (v = !0, h = "0", p = "=");
2195
+ var h = f.fill, p = f.align, m = f.sign, d = f.symbol, v = f.zero, D = f.width, A = f.comma, $ = f.precision, C = f.trim, _ = f.type;
2196
+ _ === "n" ? (A = !0, _ = "g") : En[_] || ($ === void 0 && ($ = 12), C = !0, _ = "g"), (v || h === "0" && p === "=") && (v = !0, h = "0", p = "=");
2173
2197
  var R = d === "$" ? n : d === "#" && /[boxX]/.test(_) ? "0" + _.toLowerCase() : "", I = d === "$" ? r : /[%p]/.test(_) ? o : "", k = En[_], b = /[defgprs%]/.test(_);
2174
2198
  $ = $ === void 0 ? 6 : /[gprs]/.test(_) ? Math.max(1, Math.min(21, $)) : Math.max(0, Math.min(20, $));
2175
2199
  function w(g) {
2176
- var S = R, M = I, B, it, lt;
2200
+ var S = R, T = I, B, it, lt;
2177
2201
  if (_ === "c")
2178
- M = k(g) + M, g = "";
2202
+ T = k(g) + T, g = "";
2179
2203
  else {
2180
2204
  g = +g;
2181
2205
  var j = g < 0 || 1 / g < 0;
2182
- if (g = isNaN(g) ? u : k(Math.abs(g), $), T && (g = bu(g)), j && +g == 0 && m !== "+" && (j = !1), S = (j ? m === "(" ? m : s : m === "-" || m === "(" ? "" : m) + S, M = (_ === "s" ? kn[8 + Lr / 3] : "") + M + (j && m === "(" ? ")" : ""), b) {
2206
+ if (g = isNaN(g) ? u : k(Math.abs(g), $), C && (g = bu(g)), j && +g == 0 && m !== "+" && (j = !1), S = (j ? m === "(" ? m : s : m === "-" || m === "(" ? "" : m) + S, T = (_ === "s" ? kn[8 + Lr / 3] : "") + T + (j && m === "(" ? ")" : ""), b) {
2183
2207
  for (B = -1, it = g.length; ++B < it; )
2184
2208
  if (lt = g.charCodeAt(B), 48 > lt || lt > 57) {
2185
- M = (lt === 46 ? i + g.slice(B + 1) : g.slice(B)) + M, g = g.slice(0, B);
2209
+ T = (lt === 46 ? i + g.slice(B + 1) : g.slice(B)) + T, g = g.slice(0, B);
2186
2210
  break;
2187
2211
  }
2188
2212
  }
2189
2213
  }
2190
2214
  A && !v && (g = e(g, 1 / 0));
2191
- var jt = S.length + g.length + M.length, et = jt < D ? new Array(D - jt + 1).join(h) : "";
2192
- switch (A && v && (g = e(et + g, et.length ? D - M.length : 1 / 0), et = ""), p) {
2215
+ var jt = S.length + g.length + T.length, et = jt < D ? new Array(D - jt + 1).join(h) : "";
2216
+ switch (A && v && (g = e(et + g, et.length ? D - T.length : 1 / 0), et = ""), p) {
2193
2217
  case "<":
2194
- g = S + g + M + et;
2218
+ g = S + g + T + et;
2195
2219
  break;
2196
2220
  case "=":
2197
- g = S + et + g + M;
2221
+ g = S + et + g + T;
2198
2222
  break;
2199
2223
  case "^":
2200
- g = et.slice(0, jt = et.length >> 1) + S + g + M + et.slice(jt);
2224
+ g = et.slice(0, jt = et.length >> 1) + S + g + T + et.slice(jt);
2201
2225
  break;
2202
2226
  default:
2203
- g = et + S + g + M;
2227
+ g = et + S + g + T;
2204
2228
  break;
2205
2229
  }
2206
2230
  return a(g);
@@ -2210,7 +2234,7 @@ function wu(t) {
2210
2234
  }, w;
2211
2235
  }
2212
2236
  function c(f, h) {
2213
- var p = l((f = de(f), f.type = "f", f)), m = Math.max(-8, Math.min(8, Math.floor(Mt(h) / 3))) * 3, d = Math.pow(10, -m), v = kn[8 + m / 3];
2237
+ var p = l((f = de(f), f.type = "f", f)), m = Math.max(-8, Math.min(8, Math.floor(Tt(h) / 3))) * 3, d = Math.pow(10, -m), v = kn[8 + m / 3];
2214
2238
  return function(D) {
2215
2239
  return p(d * D) + v;
2216
2240
  };
@@ -2230,13 +2254,13 @@ function Du(t) {
2230
2254
  return Qt = wu(t), tn = Qt.format, Er = Qt.formatPrefix, Qt;
2231
2255
  }
2232
2256
  function $u(t) {
2233
- return Math.max(0, -Mt(Math.abs(t)));
2257
+ return Math.max(0, -Tt(Math.abs(t)));
2234
2258
  }
2235
2259
  function _u(t, e) {
2236
- return Math.max(0, Math.max(-8, Math.min(8, Math.floor(Mt(e) / 3))) * 3 - Mt(Math.abs(t)));
2260
+ return Math.max(0, Math.max(-8, Math.min(8, Math.floor(Tt(e) / 3))) * 3 - Tt(Math.abs(t)));
2237
2261
  }
2238
2262
  function Au(t, e) {
2239
- return t = Math.abs(t), e = Math.abs(e) - t, Math.max(0, Mt(e) - Mt(t)) + 1;
2263
+ return t = Math.abs(t), e = Math.abs(e) - t, Math.max(0, Tt(e) - Tt(t)) + 1;
2240
2264
  }
2241
2265
  function $e(t, e) {
2242
2266
  switch (arguments.length) {
@@ -2320,12 +2344,12 @@ function kr(t) {
2320
2344
  function Su() {
2321
2345
  return kr(Or.apply(null, arguments).paddingInner(1));
2322
2346
  }
2323
- function Cu(t) {
2347
+ function Mu(t) {
2324
2348
  return function() {
2325
2349
  return t;
2326
2350
  };
2327
2351
  }
2328
- function Mu(t) {
2352
+ function Tu(t) {
2329
2353
  return +t;
2330
2354
  }
2331
2355
  var Rn = [0, 1];
@@ -2335,9 +2359,9 @@ function Dt(t) {
2335
2359
  function Ve(t, e) {
2336
2360
  return (e -= t = +t) ? function(n) {
2337
2361
  return (n - t) / e;
2338
- } : Cu(isNaN(e) ? NaN : 0.5);
2362
+ } : Mu(isNaN(e) ? NaN : 0.5);
2339
2363
  }
2340
- function Tu(t, e) {
2364
+ function Cu(t, e) {
2341
2365
  var n;
2342
2366
  return t > e && (n = t, t = e, e = n), function(r) {
2343
2367
  return Math.max(t, Math.min(e, r));
@@ -2365,7 +2389,7 @@ function Pu() {
2365
2389
  var t = Rn, e = Rn, n = We, r, i, a, o = Dt, s, u, l;
2366
2390
  function c() {
2367
2391
  var h = Math.min(t.length, e.length);
2368
- return o !== Dt && (o = Tu(t[0], t[h - 1])), s = h > 2 ? Lu : Fu, u = l = null, f;
2392
+ return o !== Dt && (o = Cu(t[0], t[h - 1])), s = h > 2 ? Lu : Fu, u = l = null, f;
2369
2393
  }
2370
2394
  function f(h) {
2371
2395
  return h == null || isNaN(h = +h) ? a : (u || (u = s(t.map(r), e, n)))(r(o(h)));
@@ -2373,7 +2397,7 @@ function Pu() {
2373
2397
  return f.invert = function(h) {
2374
2398
  return o(i((l || (l = s(e, t.map(r), W)))(h)));
2375
2399
  }, f.domain = function(h) {
2376
- return arguments.length ? (t = Array.from(h, Mu), c()) : t.slice();
2400
+ return arguments.length ? (t = Array.from(h, Tu), c()) : t.slice();
2377
2401
  }, f.range = function(h) {
2378
2402
  return arguments.length ? (e = Array.from(h), c()) : e.slice();
2379
2403
  }, f.rangeRound = function(h) {
@@ -2790,7 +2814,7 @@ function Gr(t, e) {
2790
2814
  return { value: l[0] ? l[1] : void 0, done: !0 };
2791
2815
  }
2792
2816
  }
2793
- function Tt(t) {
2817
+ function Ct(t) {
2794
2818
  var e = typeof Symbol == "function" && Symbol.iterator, n = e && t[e], r = 0;
2795
2819
  if (n) return n.call(t);
2796
2820
  if (t && typeof t.length == "number") return {
@@ -2866,7 +2890,7 @@ function Uu(t, e, n) {
2866
2890
  function Hu(t) {
2867
2891
  if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
2868
2892
  var e = t[Symbol.asyncIterator], n;
2869
- return e ? e.call(t) : (t = typeof Tt == "function" ? Tt(t) : t[Symbol.iterator](), n = {}, r("next"), r("throw"), r("return"), n[Symbol.asyncIterator] = function() {
2893
+ return e ? e.call(t) : (t = typeof Ct == "function" ? Ct(t) : t[Symbol.iterator](), n = {}, r("next"), r("throw"), r("return"), n[Symbol.asyncIterator] = function() {
2870
2894
  return this;
2871
2895
  }, n);
2872
2896
  function r(a) {
@@ -2891,7 +2915,7 @@ function rn(t) {
2891
2915
  }, n = t(e);
2892
2916
  return n.prototype = Object.create(Error.prototype), n.prototype.constructor = n, n;
2893
2917
  }
2894
- var Me = rn(function(t) {
2918
+ var Te = rn(function(t) {
2895
2919
  return function(n) {
2896
2920
  t(this), this.message = n ? n.length + ` errors occurred during unsubscription:
2897
2921
  ` + n.map(function(r, i) {
@@ -2918,7 +2942,7 @@ var qt = function() {
2918
2942
  if (o)
2919
2943
  if (this._parentage = null, Array.isArray(o))
2920
2944
  try {
2921
- for (var s = Tt(o), u = s.next(); !u.done; u = s.next()) {
2945
+ for (var s = Ct(o), u = s.next(); !u.done; u = s.next()) {
2922
2946
  var l = u.value;
2923
2947
  l.remove(this);
2924
2948
  }
@@ -2938,18 +2962,18 @@ var qt = function() {
2938
2962
  try {
2939
2963
  c();
2940
2964
  } catch (d) {
2941
- a = d instanceof Me ? d.errors : [d];
2965
+ a = d instanceof Te ? d.errors : [d];
2942
2966
  }
2943
2967
  var f = this._finalizers;
2944
2968
  if (f) {
2945
2969
  this._finalizers = null;
2946
2970
  try {
2947
- for (var h = Tt(f), p = h.next(); !p.done; p = h.next()) {
2971
+ for (var h = Ct(f), p = h.next(); !p.done; p = h.next()) {
2948
2972
  var m = p.value;
2949
2973
  try {
2950
2974
  In(m);
2951
2975
  } catch (d) {
2952
- a = a ?? [], d instanceof Me ? a = st(st([], ot(a)), ot(d.errors)) : a.push(d);
2976
+ a = a ?? [], d instanceof Te ? a = st(st([], ot(a)), ot(d.errors)) : a.push(d);
2953
2977
  }
2954
2978
  }
2955
2979
  } catch (d) {
@@ -2963,7 +2987,7 @@ var qt = function() {
2963
2987
  }
2964
2988
  }
2965
2989
  if (a)
2966
- throw new Me(a);
2990
+ throw new Te(a);
2967
2991
  }
2968
2992
  }, t.prototype.add = function(e) {
2969
2993
  var n;
@@ -3061,7 +3085,7 @@ var an = function(t) {
3061
3085
  }
3062
3086
  }, e;
3063
3087
  }(qt), zu = Function.prototype.bind;
3064
- function Te(t, e) {
3088
+ function Ce(t, e) {
3065
3089
  return zu.call(t, e);
3066
3090
  }
3067
3091
  var qu = function() {
@@ -3110,9 +3134,9 @@ var qu = function() {
3110
3134
  a && Hr.useDeprecatedNextContext ? (s = Object.create(n), s.unsubscribe = function() {
3111
3135
  return a.unsubscribe();
3112
3136
  }, o = {
3113
- next: n.next && Te(n.next, s),
3114
- error: n.error && Te(n.error, s),
3115
- complete: n.complete && Te(n.complete, s)
3137
+ next: n.next && Ce(n.next, s),
3138
+ error: n.error && Ce(n.error, s),
3139
+ complete: n.complete && Ce(n.complete, s)
3116
3140
  }) : o = n;
3117
3141
  }
3118
3142
  return a.destination = new qu(o), a;
@@ -3290,7 +3314,7 @@ var tl = function(t) {
3290
3314
  if (r._throwIfClosed(), !r.isStopped) {
3291
3315
  r.currentObservers || (r.currentObservers = Array.from(r.observers));
3292
3316
  try {
3293
- for (var o = Tt(r.currentObservers), s = o.next(); !s.done; s = o.next()) {
3317
+ for (var o = Ct(r.currentObservers), s = o.next(); !s.done; s = o.next()) {
3294
3318
  var u = s.value;
3295
3319
  u.next(n);
3296
3320
  }
@@ -3634,7 +3658,7 @@ function hl(t) {
3634
3658
  return new O(function(e) {
3635
3659
  var n, r;
3636
3660
  try {
3637
- for (var i = Tt(t), a = i.next(); !a.done; a = i.next()) {
3661
+ for (var i = Ct(t), a = i.next(); !a.done; a = i.next()) {
3638
3662
  var o = a.value;
3639
3663
  if (e.next(o), e.closed)
3640
3664
  return;
@@ -3832,14 +3856,14 @@ function _l(t) {
3832
3856
  return $l(t, e);
3833
3857
  });
3834
3858
  }
3835
- var Al = Array.isArray, Sl = Object.getPrototypeOf, Cl = Object.prototype, Ml = Object.keys;
3836
- function Tl(t) {
3859
+ var Al = Array.isArray, Sl = Object.getPrototypeOf, Ml = Object.prototype, Tl = Object.keys;
3860
+ function Cl(t) {
3837
3861
  if (t.length === 1) {
3838
3862
  var e = t[0];
3839
3863
  if (Al(e))
3840
3864
  return { args: e, keys: null };
3841
3865
  if (Fl(e)) {
3842
- var n = Ml(e);
3866
+ var n = Tl(e);
3843
3867
  return {
3844
3868
  args: n.map(function(r) {
3845
3869
  return e[r];
@@ -3851,7 +3875,7 @@ function Tl(t) {
3851
3875
  return { args: t, keys: null };
3852
3876
  }
3853
3877
  function Fl(t) {
3854
- return t && typeof t == "object" && Sl(t) === Cl;
3878
+ return t && typeof t == "object" && Sl(t) === Ml;
3855
3879
  }
3856
3880
  function Ll(t, e) {
3857
3881
  return t.reduce(function(n, r, i) {
@@ -3861,7 +3885,7 @@ function Ll(t, e) {
3861
3885
  function E() {
3862
3886
  for (var t = [], e = 0; e < arguments.length; e++)
3863
3887
  t[e] = arguments[e];
3864
- var n = Lt(t), r = sl(t), i = Tl(t), a = i.args, o = i.keys;
3888
+ var n = Lt(t), r = sl(t), i = Cl(t), a = i.args, o = i.keys;
3865
3889
  if (a.length === 0)
3866
3890
  return Et([], n);
3867
3891
  var s = new O(El(a, n, o ? function(u) {
@@ -4087,12 +4111,12 @@ function Ue(t) {
4087
4111
  var $ = c;
4088
4112
  D(), $ == null || $.unsubscribe();
4089
4113
  };
4090
- return X(function($, T) {
4114
+ return X(function($, C) {
4091
4115
  p++, !d && !m && v();
4092
4116
  var _ = h = h ?? n();
4093
- T.add(function() {
4117
+ C.add(function() {
4094
4118
  p--, p === 0 && !d && !m && (f = Fe(A, u));
4095
- }), _.subscribe(T), !c && p > 0 && (c = new Ut({
4119
+ }), _.subscribe(C), !c && p > 0 && (c = new Ut({
4096
4120
  next: function(R) {
4097
4121
  return _.next(R);
4098
4122
  },
@@ -4159,7 +4183,7 @@ function L(t, e) {
4159
4183
  }));
4160
4184
  });
4161
4185
  }
4162
- function C(t) {
4186
+ function M(t) {
4163
4187
  return X(function(e, n) {
4164
4188
  z(t).subscribe(V(n, function() {
4165
4189
  return n.complete();
@@ -4208,7 +4232,7 @@ function Kl(t) {
4208
4232
  }
4209
4233
  const xt = ({ datumList$: t, fullChartParams$: e, event$: n }) => {
4210
4234
  const r = new P(), i = e.pipe(
4211
- C(r),
4235
+ M(r),
4212
4236
  x((f) => ({
4213
4237
  id: null,
4214
4238
  label: null,
@@ -4219,7 +4243,7 @@ const xt = ({ datumList$: t, fullChartParams$: e, event$: n }) => {
4219
4243
  })),
4220
4244
  q()
4221
4245
  ), a = n.pipe(
4222
- C(r),
4246
+ M(r),
4223
4247
  // filter(d => d.eventName === 'mouseover' || d.eventName === 'mousemove'),
4224
4248
  zn((f) => f.eventName === "mouseover"),
4225
4249
  // distinctUntilChanged((prev, current) => prev.eventName === current.eventName)
@@ -4242,7 +4266,7 @@ const xt = ({ datumList$: t, fullChartParams$: e, event$: n }) => {
4242
4266
  };
4243
4267
  })
4244
4268
  ), o = n.pipe(
4245
- C(r),
4269
+ M(r),
4246
4270
  zn((f) => f.eventName === "mouseout"),
4247
4271
  // distinctUntilChanged((prev, current) => prev.eventName === current.eventName)
4248
4272
  // map(d => {
@@ -4267,7 +4291,7 @@ const xt = ({ datumList$: t, fullChartParams$: e, event$: n }) => {
4267
4291
  datumList: t,
4268
4292
  fullChartParams: e
4269
4293
  }).pipe(
4270
- C(r),
4294
+ M(r),
4271
4295
  L(async (h) => h)
4272
4296
  ).subscribe((h) => {
4273
4297
  let p = [];
@@ -4501,7 +4525,7 @@ const xt = ({ datumList$: t, fullChartParams$: e, event$: n }) => {
4501
4525
  fullDataFormatter: t,
4502
4526
  layout: e
4503
4527
  }).pipe(
4504
- C(n),
4528
+ M(n),
4505
4529
  L(async (a) => a)
4506
4530
  ).subscribe((a) => {
4507
4531
  const o = r({
@@ -4599,7 +4623,7 @@ const xt = ({ datumList$: t, fullChartParams$: e, event$: n }) => {
4599
4623
  fullDataFormatter: t,
4600
4624
  layout: e
4601
4625
  }).pipe(
4602
- C(n),
4626
+ M(n),
4603
4627
  L(async (a) => a)
4604
4628
  ).subscribe((a) => {
4605
4629
  const o = r({
@@ -4628,15 +4652,15 @@ const xt = ({ datumList$: t, fullChartParams$: e, event$: n }) => {
4628
4652
  const a = new P();
4629
4653
  function o({ data: s, groupAxis: u, valueAxis: l, groupScaleDomainValue: c, filteredMinMaxValue: f, width: h, height: p }) {
4630
4654
  let m = 0, d = 0, v = 0, D = 0;
4631
- const A = u.position === "top" || u.position === "bottom" ? h : p, $ = 0, T = s[0] ? s[0].length - 1 : 0, _ = ut({
4632
- maxValue: T,
4655
+ const A = u.position === "top" || u.position === "bottom" ? h : p, $ = 0, C = s[0] ? s[0].length - 1 : 0, _ = ut({
4656
+ maxValue: C,
4633
4657
  minValue: $,
4634
4658
  axisWidth: A,
4635
4659
  // scaleDomain: groupAxis.scaleDomain,
4636
4660
  scaleDomain: c,
4637
4661
  scaleRange: [0, 1]
4638
- }), R = _($), I = _(T);
4639
- $ == T ? (m = 0, v = 1) : (m = R, v = (I - R) / A), f[0] === f[1] && f[1] === 0 && (f[1] = 1);
4662
+ }), R = _($), I = _(C);
4663
+ $ == C ? (m = 0, v = 1) : (m = R, v = (I - R) / A), f[0] === f[1] && f[1] === 0 && (f[1] = 1);
4640
4664
  const k = l.position === "left" || l.position === "right" ? p : h, b = ut({
4641
4665
  maxValue: f[1],
4642
4666
  minValue: f[0],
@@ -4662,7 +4686,7 @@ const xt = ({ datumList$: t, fullChartParams$: e, event$: n }) => {
4662
4686
  fullDataFormatter: r,
4663
4687
  layout: i
4664
4688
  }).pipe(
4665
- C(a),
4689
+ M(a),
4666
4690
  L(async (u) => u)
4667
4691
  ).subscribe((u) => {
4668
4692
  const l = o({
@@ -4732,60 +4756,60 @@ const xt = ({ datumList$: t, fullChartParams$: e, event$: n }) => {
4732
4756
  ...u.fullDataFormatter.container
4733
4757
  }
4734
4758
  }, m = pt(p).pipe(
4735
- C(a),
4759
+ M(a),
4736
4760
  y(1)
4737
4761
  ), d = pt(c).pipe(
4738
- C(a),
4762
+ M(a),
4739
4763
  y(1)
4740
4764
  ), v = m.pipe(
4741
4765
  x((j) => j.separateSeries),
4742
4766
  q(),
4743
4767
  y(1)
4744
4768
  ), D = pt(u.multiGridContainer[f]).pipe(
4745
- C(a),
4769
+ M(a),
4746
4770
  y(1)
4747
4771
  ), A = di({
4748
4772
  fullDataFormatter$: m,
4749
4773
  layout$: n
4750
4774
  }).pipe(
4751
- C(a),
4775
+ M(a),
4752
4776
  y(1)
4753
4777
  ), $ = d.pipe(
4754
4778
  x((j) => j.flat())
4755
4779
  ).pipe(
4756
- C(a),
4780
+ M(a),
4757
4781
  y(1)
4758
- ), T = gi({
4782
+ ), C = gi({
4759
4783
  computedData$: d
4760
4784
  }).pipe(
4761
- C(a),
4785
+ M(a),
4762
4786
  y(1)
4763
4787
  ), _ = fn({
4764
4788
  datumList$: $
4765
4789
  }).pipe(
4766
- C(a),
4790
+ M(a),
4767
4791
  y(1)
4768
4792
  ), R = pi({
4769
4793
  datumList$: $
4770
4794
  }).pipe(
4771
- C(a),
4795
+ M(a),
4772
4796
  y(1)
4773
4797
  ), I = yi({
4774
4798
  computedData$: d
4775
4799
  }).pipe(
4776
- C(a),
4800
+ M(a),
4777
4801
  y(1)
4778
4802
  ), k = mi({
4779
4803
  computedData$: d,
4780
4804
  fullDataFormatter$: m,
4781
4805
  layout$: n
4782
4806
  }).pipe(
4783
- C(a),
4807
+ M(a),
4784
4808
  y(1)
4785
4809
  ), b = vi({
4786
4810
  computedLayoutData$: k
4787
4811
  }).pipe(
4788
- C(a),
4812
+ M(a),
4789
4813
  y(1)
4790
4814
  ), w = bi({
4791
4815
  computedData$: d,
@@ -4796,24 +4820,24 @@ const xt = ({ datumList$: t, fullChartParams$: e, event$: n }) => {
4796
4820
  computedData$: d,
4797
4821
  fullDataFormatter$: m
4798
4822
  }).pipe(
4799
- C(a),
4823
+ M(a),
4800
4824
  y(1)
4801
4825
  ), S = wi({
4802
4826
  computedData$: d,
4803
4827
  groupScaleDomainValue$: g
4804
4828
  }).pipe(
4805
- C(a),
4829
+ M(a),
4806
4830
  y(1)
4807
- ), M = Di({
4831
+ ), T = Di({
4808
4832
  fullDataFormatter$: m,
4809
4833
  layout$: n
4810
4834
  }).pipe(
4811
- C(a),
4835
+ M(a),
4812
4836
  y(1)
4813
4837
  ), B = $i({
4814
- gridAxesTransform$: M
4838
+ gridAxesTransform$: T
4815
4839
  }).pipe(
4816
- C(a),
4840
+ M(a),
4817
4841
  y(1)
4818
4842
  ), it = _i({
4819
4843
  computedData$: d,
@@ -4822,11 +4846,11 @@ const xt = ({ datumList$: t, fullChartParams$: e, event$: n }) => {
4822
4846
  fullDataFormatter$: m,
4823
4847
  layout$: n
4824
4848
  }).pipe(
4825
- C(a),
4849
+ M(a),
4826
4850
  y(1)
4827
4851
  ), lt = Ai({
4828
4852
  gridContainerPosition$: D,
4829
- gridAxesTransform$: M,
4853
+ gridAxesTransform$: T,
4830
4854
  gridGraphicTransform$: it
4831
4855
  });
4832
4856
  return {
@@ -4834,7 +4858,7 @@ const xt = ({ datumList$: t, fullChartParams$: e, event$: n }) => {
4834
4858
  gridContainerPosition$: D,
4835
4859
  gridAxesSize$: A,
4836
4860
  gridHighlight$: o,
4837
- seriesLabels$: T,
4861
+ seriesLabels$: C,
4838
4862
  SeriesDataMap$: _,
4839
4863
  GroupDataMap$: R,
4840
4864
  dataFormatter$: m,
@@ -4845,7 +4869,7 @@ const xt = ({ datumList$: t, fullChartParams$: e, event$: n }) => {
4845
4869
  computedStackedData$: w,
4846
4870
  groupScaleDomainValue$: g,
4847
4871
  filteredMinMaxValue$: S,
4848
- gridAxesTransform$: M,
4872
+ gridAxesTransform$: T,
4849
4873
  gridAxesReverseTransform$: B,
4850
4874
  gridGraphicTransform$: it,
4851
4875
  gridGraphicReverseScale$: lt
@@ -5080,15 +5104,15 @@ const pc = ({
5080
5104
  from: "Chart.constructor"
5081
5105
  }));
5082
5106
  else {
5083
- const { status: S, columnName: M, expectToBe: B } = cc(u);
5107
+ const { status: S, columnName: T, expectToBe: B } = cc(u);
5084
5108
  if (S === "error")
5085
5109
  throw new Error(ct({
5086
- columnName: M,
5110
+ columnName: T,
5087
5111
  expectToBe: B,
5088
5112
  from: "Chart.constructor"
5089
5113
  }));
5090
5114
  S === "warning" && console.warn(ft({
5091
- columnName: M,
5115
+ columnName: T,
5092
5116
  expectToBe: B,
5093
5117
  from: "Chart.constructor"
5094
5118
  }));
@@ -5119,7 +5143,7 @@ const pc = ({
5119
5143
  allPluginParams: g.allPluginParams ? g.allPluginParams : {}
5120
5144
  };
5121
5145
  })(l), d = p.data$.pipe(y(1)), v = p.dataFormatter$.pipe(
5122
- C(a),
5146
+ M(a),
5123
5147
  Le({}),
5124
5148
  x((b) => {
5125
5149
  try {
@@ -5146,7 +5170,7 @@ const pc = ({
5146
5170
  // }),
5147
5171
  y(1)
5148
5172
  ), D = p.chartParams$.pipe(
5149
- C(a),
5173
+ M(a),
5150
5174
  Le({}),
5151
5175
  x((b) => {
5152
5176
  try {
@@ -5173,12 +5197,12 @@ const pc = ({
5173
5197
  // }),
5174
5198
  y(1)
5175
5199
  ), A = D.pipe(
5176
- C(a),
5200
+ M(a),
5177
5201
  Le({}),
5178
5202
  x((b) => mt(b.padding ?? {}, Wn))
5179
5203
  );
5180
5204
  A.pipe(
5181
- C(a),
5205
+ M(a),
5182
5206
  zl()
5183
5207
  ).subscribe((b) => {
5184
5208
  f.attr("transform", `translate(${b.left}, ${b.top})`);
@@ -5200,9 +5224,9 @@ const pc = ({
5200
5224
  ),
5201
5225
  pt(b)
5202
5226
  )),
5203
- C(a),
5227
+ M(a),
5204
5228
  Ue()
5205
- ), T = pt().pipe(
5229
+ ), C = pt().pipe(
5206
5230
  jl(
5207
5231
  $.pipe(
5208
5232
  Vl(250)
@@ -5213,13 +5237,13 @@ const pc = ({
5213
5237
  ),
5214
5238
  q((b, w) => JSON.stringify(b) === JSON.stringify(w)),
5215
5239
  Ue()
5216
- ), _ = T.subscribe(), R = E({
5217
- rootSize: T,
5240
+ ), _ = C.subscribe(), R = E({
5241
+ rootSize: C,
5218
5242
  mergedPadding: A
5219
5243
  }).pipe(
5220
- C(a),
5244
+ M(a),
5221
5245
  L(async (b) => {
5222
- const w = b.rootSize.width > 0 ? b.rootSize.width : Mi, g = b.rootSize.height > 0 ? b.rootSize.height : Ti;
5246
+ const w = b.rootSize.width > 0 ? b.rootSize.width : Ti, g = b.rootSize.height > 0 ? b.rootSize.height : Ci;
5223
5247
  return {
5224
5248
  width: w - b.mergedPadding.left - b.mergedPadding.right,
5225
5249
  height: g - b.mergedPadding.top - b.mergedPadding.bottom,
@@ -5242,21 +5266,21 @@ const pc = ({
5242
5266
  chartParams: D
5243
5267
  // layout: iif(() => isAxesTypeMap[chartType] === true, layout$, of(undefined))
5244
5268
  }).pipe(
5245
- C(a),
5269
+ M(a),
5246
5270
  L(async (b) => b),
5247
5271
  L((b) => pt(b).pipe(
5248
5272
  x((w) => {
5249
5273
  try {
5250
- const { status: g, columnName: S, expectToBe: M } = r(w.data);
5274
+ const { status: g, columnName: S, expectToBe: T } = r(w.data);
5251
5275
  if (g === "error")
5252
5276
  throw new Error(ct({
5253
5277
  columnName: S,
5254
- expectToBe: M,
5278
+ expectToBe: T,
5255
5279
  from: "Chart.data$"
5256
5280
  }));
5257
5281
  g === "warning" && console.warn(ft({
5258
5282
  columnName: S,
5259
- expectToBe: M,
5283
+ expectToBe: T,
5260
5284
  from: "Chart.data$"
5261
5285
  }));
5262
5286
  } catch (g) {
@@ -5292,7 +5316,7 @@ const pc = ({
5292
5316
  return;
5293
5317
  }
5294
5318
  h.selectAll("g.orbcharts__plugin").data(b, (w) => w.name).join(
5295
- (w) => w.append("g").attr("class", (g) => `orbcharts__plugin orbcharts__${g.name}`).each((g, S, M) => {
5319
+ (w) => w.append("g").attr("class", (g) => `orbcharts__plugin orbcharts__${g.name}`).each((g, S, T) => {
5296
5320
  const B = {
5297
5321
  fullParams$: new O(),
5298
5322
  fullChartParams$: D,
@@ -5303,7 +5327,7 @@ const pc = ({
5303
5327
  observer: B,
5304
5328
  subject: p
5305
5329
  }), j = {
5306
- selection: Wt(M[S]),
5330
+ selection: Wt(T[S]),
5307
5331
  rootSelection: c,
5308
5332
  name: g.name,
5309
5333
  chartType: o,
@@ -5313,7 +5337,7 @@ const pc = ({
5313
5337
  g.setPresetParams(m.allPluginParams[g.name] ?? {}), g.setContext(j), k[j.name] = g, g.init();
5314
5338
  }),
5315
5339
  (w) => w,
5316
- (w) => w.each((g, S, M) => {
5340
+ (w) => w.each((g, S, T) => {
5317
5341
  k[g.name] && (k[g.name].destroy(), k[g.name] = void 0);
5318
5342
  }).remove()
5319
5343
  ).sort((w, g) => w.layerIndex - g.layerIndex);
@@ -5444,7 +5468,7 @@ const mc = (t) => {
5444
5468
  }
5445
5469
  return e;
5446
5470
  };
5447
- function Ci(t, e) {
5471
+ function Mi(t, e) {
5448
5472
  if (!t.length)
5449
5473
  return [];
5450
5474
  try {
@@ -5482,7 +5506,7 @@ const dc = (t) => {
5482
5506
  return [];
5483
5507
  let i;
5484
5508
  try {
5485
- const a = Ci(e, n), o = Ir({
5509
+ const a = Mi(e, n), o = Ir({
5486
5510
  transposedDataGrid: a,
5487
5511
  dataFormatterGrid: n,
5488
5512
  chartType: "grid"
@@ -5603,7 +5627,7 @@ const dc = (t) => {
5603
5627
  layout$: e.layout$
5604
5628
  }).pipe(
5605
5629
  y(1)
5606
- ), T = Ai({
5630
+ ), C = Ai({
5607
5631
  gridContainerPosition$: i,
5608
5632
  gridAxesTransform$: D,
5609
5633
  gridGraphicTransform$: $
@@ -5631,7 +5655,7 @@ const dc = (t) => {
5631
5655
  gridAxesTransform$: D,
5632
5656
  gridAxesReverseTransform$: A,
5633
5657
  gridGraphicTransform$: $,
5634
- gridGraphicReverseScale$: T
5658
+ gridGraphicReverseScale$: C
5635
5659
  };
5636
5660
  };
5637
5661
  class ff extends Ot {
@@ -5760,7 +5784,7 @@ const vc = (t) => {
5760
5784
  return [];
5761
5785
  let i = [];
5762
5786
  try {
5763
- const a = n.gridList[0] || be, o = e.map((f, h) => n.gridList[h] || a), s = e.map((f, h) => Ci(f, o[h])), u = n.separateGrid ? s.map((f, h) => Ir({
5787
+ const a = n.gridList[0] || be, o = e.map((f, h) => n.gridList[h] || a), s = e.map((f, h) => Mi(f, o[h])), u = n.separateGrid ? s.map((f, h) => Ir({
5764
5788
  transposedDataGrid: f,
5765
5789
  dataFormatterGrid: o[h],
5766
5790
  chartType: "multiGrid"
@@ -5784,8 +5808,8 @@ const vc = (t) => {
5784
5808
  gridIndex: h
5785
5809
  });
5786
5810
  let d = 0;
5787
- return f.map((D, A) => D.map(($, T) => {
5788
- const _ = _e("multiGrid", h, A, T), R = m[T], I = p[A], k = {
5811
+ return f.map((D, A) => D.map(($, C) => {
5812
+ const _ = _e("multiGrid", h, A, C), R = m[C], I = p[A], k = {
5789
5813
  id: $.id ? $.id : _,
5790
5814
  index: d,
5791
5815
  label: $.label ? $.label : _,
@@ -5796,7 +5820,7 @@ const vc = (t) => {
5796
5820
  // accSeriesIndex: seriesIndex, // 預設為seriesIndex
5797
5821
  seriesIndex: A,
5798
5822
  seriesLabel: I,
5799
- groupIndex: T,
5823
+ groupIndex: C,
5800
5824
  groupLabel: R,
5801
5825
  color: l.get(I),
5802
5826
  visible: !0
@@ -5983,12 +6007,12 @@ const Dc = (t) => ({
5983
6007
  })));
5984
6008
  })
5985
6009
  );
5986
- }, Cc = ({ computedData$: t, fullDataFormatter$: e }) => t.pipe(
6010
+ }, Mc = ({ computedData$: t, fullDataFormatter$: e }) => t.pipe(
5987
6011
  x((n) => n.map((r) => r[0] ? r[0].categoryLabel : "")),
5988
6012
  q((n, r) => JSON.stringify(n).length === JSON.stringify(r).length)
5989
- ), Mc = ({ computedData$: t }) => t.pipe(
6013
+ ), Tc = ({ computedData$: t }) => t.pipe(
5990
6014
  x((e) => e.map((n) => n.filter((r) => r.visible == !0)).filter((n) => n.length > 0))
5991
- ), Tc = ({ computedLayoutData$: t }) => t.pipe(
6015
+ ), Cc = ({ computedLayoutData$: t }) => t.pipe(
5992
6016
  x((e) => e.map((n) => n.filter((r) => r.visible == !0)).filter((n) => n.length > 0))
5993
6017
  ), Fc = ({ computedData$: t, fullDataFormatter$: e, layout$: n }) => E({
5994
6018
  computedData: t,
@@ -6029,11 +6053,11 @@ const Dc = (t) => ({
6029
6053
  ), Ec = ({ minMaxXY$: t, filteredMinMaxXYData$: e, fullDataFormatter$: n, layout$: r }) => {
6030
6054
  const i = new P();
6031
6055
  function a({ minMaxXY: o, filteredMinMaxXYData: s, xAxis: u, yAxis: l, width: c, height: f }) {
6032
- let h = 0, p = 0, m = 0, d = 0, { minX: v, maxX: D, minY: A, maxY: $ } = o, T = s.minXDatum.value[0] ?? 0, _ = s.maxXDatum.value[0] ?? 0, R = s.minYDatum.value[1] ?? 0, I = s.maxYDatum.value[1] ?? 0;
6033
- T === _ && _ === 0 && (_ = 1), R === I && I === 0 && (I = 1), v === D && D === 0 && (D = 1), A === $ && $ === 0 && ($ = 1);
6056
+ let h = 0, p = 0, m = 0, d = 0, { minX: v, maxX: D, minY: A, maxY: $ } = o, C = s.minXDatum.value[0] ?? 0, _ = s.maxXDatum.value[0] ?? 0, R = s.minYDatum.value[1] ?? 0, I = s.maxYDatum.value[1] ?? 0;
6057
+ C === _ && _ === 0 && (_ = 1), R === I && I === 0 && (I = 1), v === D && D === 0 && (D = 1), A === $ && $ === 0 && ($ = 1);
6034
6058
  const k = ut({
6035
6059
  maxValue: _,
6036
- minValue: T,
6060
+ minValue: C,
6037
6061
  axisWidth: c,
6038
6062
  scaleDomain: u.scaleDomain,
6039
6063
  scaleRange: u.scaleRange
@@ -6046,8 +6070,8 @@ const Dc = (t) => ({
6046
6070
  scaleDomain: l.scaleDomain,
6047
6071
  scaleRange: l.scaleRange,
6048
6072
  reverse: !0
6049
- }), M = S(A > 0 ? 0 : A), B = S($ < 0 ? 0 : $);
6050
- return p = B, d = (M - B) / f, {
6073
+ }), T = S(A > 0 ? 0 : A), B = S($ < 0 ? 0 : $);
6074
+ return p = B, d = (T - B) / f, {
6051
6075
  translate: [h, p],
6052
6076
  scale: [m, d],
6053
6077
  rotate: 0,
@@ -6062,7 +6086,7 @@ const Dc = (t) => ({
6062
6086
  fullDataFormatter: n,
6063
6087
  layout: r
6064
6088
  }).pipe(
6065
- C(i),
6089
+ M(i),
6066
6090
  L(async (s) => s)
6067
6091
  ).subscribe((s) => {
6068
6092
  if (!s.filteredMinMaxXYData.minXDatum || !s.filteredMinMaxXYData.maxXDatum || s.filteredMinMaxXYData.minXDatum.value[0] == null || s.filteredMinMaxXYData.maxXDatum.value[0] == null || !s.filteredMinMaxXYData.minYDatum || !s.filteredMinMaxXYData.maxYDatum || s.filteredMinMaxXYData.minYDatum.value[1] == null || s.filteredMinMaxXYData.maxYDatum.value[1] == null)
@@ -6110,7 +6134,7 @@ const Dc = (t) => ({
6110
6134
  event$: t.event$
6111
6135
  }).pipe(
6112
6136
  y(1)
6113
- ), s = Cc({
6137
+ ), s = Mc({
6114
6138
  computedData$: e.computedData$,
6115
6139
  fullDataFormatter$: e.fullDataFormatter$
6116
6140
  }), u = ye({
@@ -6128,11 +6152,11 @@ const Dc = (t) => ({
6128
6152
  layout$: e.layout$
6129
6153
  }).pipe(
6130
6154
  y(1)
6131
- ), f = Mc({
6155
+ ), f = Tc({
6132
6156
  computedData$: e.computedData$
6133
6157
  }).pipe(
6134
6158
  y(1)
6135
- ), h = Tc({
6159
+ ), h = Cc({
6136
6160
  computedLayoutData$: c
6137
6161
  }).pipe(
6138
6162
  y(1)
@@ -6535,7 +6559,7 @@ function qc({ chartType: t, config: e, initFn: n }) {
6535
6559
  }, o;
6536
6560
  const s = new Gn(e.defaultParams), u = new Gn({}), l = s.pipe(
6537
6561
  L((c) => u.pipe(
6538
- C(r),
6562
+ M(r),
6539
6563
  x((f) => {
6540
6564
  try {
6541
6565
  const { status: h, columnName: p, expectToBe: m } = e.validator(f, {
@@ -6601,10 +6625,10 @@ const wt = (t) => function(n) {
6601
6625
  }, yf = wt("series"), vf = wt("grid"), bf = wt("multiGrid"), xf = wt("multiValue"), wf = wt("noneData"), Df = wt("relationship"), $f = wt("tree");
6602
6626
  export {
6603
6627
  Qc as DEFAULTL_DATA_RELATIONA,
6604
- Ti as DEFAULT_CHART_HEIGHT,
6628
+ Ci as DEFAULT_CHART_HEIGHT,
6605
6629
  Ae as DEFAULT_CHART_OPTIONS,
6606
6630
  hn as DEFAULT_CHART_PARAMS,
6607
- Mi as DEFAULT_CHART_WIDTH,
6631
+ Ti as DEFAULT_CHART_WIDTH,
6608
6632
  pn as DEFAULT_DATA_FORMATTER_AXIS,
6609
6633
  ve as DEFAULT_DATA_FORMATTER_CONTAINER,
6610
6634
  Zn as DEFAULT_DATA_FORMATTER_GRID,